From 1ff7ef760f3c3dd9213360f7dc8e7d0d6eda01ee Mon Sep 17 00:00:00 2001 From: autosubmit Date: Fri, 6 Mar 2026 18:16:13 +0800 Subject: [PATCH] Auto Submit --- 5911.84a8d8dc.async.js | 2 - 8384.fd5ea828.async.js | 2 + ...ttendance__Detail__index.f01bc7ef.async.js | 2 +- ...Lists__Attendance__index.33563bde.async.js | 2 +- ...Homework__Comment__index.160d7c98.async.js | 2 +- ..._Exercise__Export__index.00c5cfc4.async.js | 2 +- ..._Exercise__Review__index.95d41a24.async.js | 2 +- ...__Exercise__Sumup__index.7a116bbe.async.js | 2 +- ...ts__Polls__Detail__index.d96711d2.async.js | 2 +- ...Homework__Comment__index.76f762c9.async.js | 2 +- ...omeworks__Comment__index.8346f17a.async.js | 2 +- ..._Template__detail__index.0dd131fc.async.js | 2 +- ...js => p__Colleges__index.278cdf18.async.js | 40 +- ...etitions__Exports__index.3cef892c.async.js | 2 +- ....js => p__Message__index.c1f4c5f7.async.js | 2 +- ...Paperlibrary__See__index.22abe635.async.js | 2 +- ...ents__AddAndEdit__index.0d53a521.chunk.css | 1 + ...nents__AddAndEdit__index.cdc8805f.async.js | 1272 +++++++++++++++++ ... => p__Paths__Detail__id.db09e90c.async.js | 2 +- ..._Shixuns__Exports__index.e21df49f.async.js | 2 +- ...ct__AiStreamIndex__index.2cd6754e.async.js | 418 +++--- ...tail__Certificate__index.07d0c636.async.js | 2 +- umi.bd49c654.js => umi.ab50b40b.js | 104 +- 23 files changed, 1572 insertions(+), 299 deletions(-) delete mode 100644 5911.84a8d8dc.async.js create mode 100644 8384.fd5ea828.async.js rename p__Classrooms__Lists__Attendance__Detail__index.f43ca636.async.js => p__Classrooms__Lists__Attendance__Detail__index.f01bc7ef.async.js (99%) rename p__Classrooms__Lists__Attendance__index.4f0ed2ec.async.js => p__Classrooms__Lists__Attendance__index.33563bde.async.js (99%) rename p__Classrooms__Lists__CommonHomework__Comment__index.ea50fc7c.async.js => p__Classrooms__Lists__CommonHomework__Comment__index.160d7c98.async.js (99%) rename p__Classrooms__Lists__Exercise__Export__index.aa4e26b5.async.js => p__Classrooms__Lists__Exercise__Export__index.00c5cfc4.async.js (99%) rename p__Classrooms__Lists__Exercise__Review__index.852e592b.async.js => p__Classrooms__Lists__Exercise__Review__index.95d41a24.async.js (99%) rename p__Classrooms__Lists__Exercise__Sumup__index.83fad75c.async.js => p__Classrooms__Lists__Exercise__Sumup__index.7a116bbe.async.js (99%) rename p__Classrooms__Lists__Polls__Detail__index.50f43241.async.js => p__Classrooms__Lists__Polls__Detail__index.d96711d2.async.js (99%) rename p__Classrooms__Lists__ProgramHomework__Comment__index.2693b0f7.async.js => p__Classrooms__Lists__ProgramHomework__Comment__index.76f762c9.async.js (99%) rename p__Classrooms__Lists__ShixunHomeworks__Comment__index.fb6dfa88.async.js => p__Classrooms__Lists__ShixunHomeworks__Comment__index.8346f17a.async.js (99%) rename p__Classrooms__Lists__Template__detail__index.8e37b0da.async.js => p__Classrooms__Lists__Template__detail__index.0dd131fc.async.js (99%) rename p__Colleges__index.bb4a73b6.async.js => p__Colleges__index.278cdf18.async.js (92%) rename p__Competitions__Exports__index.0f7a3d9c.async.js => p__Competitions__Exports__index.3cef892c.async.js (99%) rename p__Message__index.f0629d02.async.js => p__Message__index.c1f4c5f7.async.js (99%) rename p__Paperlibrary__See__index.8108ab62.async.js => p__Paperlibrary__See__index.22abe635.async.js (99%) create mode 100644 p__Paths__Detail__components__AddAndEdit__index.0d53a521.chunk.css create mode 100644 p__Paths__Detail__components__AddAndEdit__index.cdc8805f.async.js rename p__Paths__Detail__id.9b5b73ec.async.js => p__Paths__Detail__id.db09e90c.async.js (99%) rename p__Shixuns__Exports__index.be0ba919.async.js => p__Shixuns__Exports__index.e21df49f.async.js (99%) rename p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index.d2f3096b.async.js => p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index.2cd6754e.async.js (56%) rename p__User__Detail__Certificate__index.dc8d58eb.async.js => p__User__Detail__Certificate__index.07d0c636.async.js (99%) rename umi.bd49c654.js => umi.ab50b40b.js (86%) diff --git a/5911.84a8d8dc.async.js b/5911.84a8d8dc.async.js deleted file mode 100644 index 56a819e7e3..0000000000 --- a/5911.84a8d8dc.async.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5911],{85911:function(Tn,Fe,He){He.r(Fe),He.d(Fe,{default:function(){return Yt}});const{entries:ze,setPrototypeOf:Ge,isFrozen:Ot,getPrototypeOf:Dt,getOwnPropertyDescriptor:yt}=Object;let{freeze:g,seal:y,create:me}=Object,{apply:pe,construct:de}=typeof Reflect!="undefined"&&Reflect;g||(g=function(o){return o}),y||(y=function(o){return o}),pe||(pe=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),O=2;O1?l-1:0),c=1;c1?l-1:0),c=1;c2&&arguments[2]!==void 0?arguments[2]:te;Ge&&Ge(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){const O=l(c);O!==c&&(Ot(o)||(o[a]=O),c=O)}s[c]=!0}return s}function Mt(s){for(let o=0;o/gm),vt=y(/\$\{[\w\W]*/gm),Ut=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ft=y(/^aria-[\-\w]+$/),Ve=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ht=y(/^(?:\w+script|data):/i),zt=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$e=y(/^html$/i),Gt=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var qe=Object.freeze({__proto__:null,ARIA_ATTR:Ft,ATTR_WHITESPACE:zt,CUSTOM_ELEMENT:Gt,DATA_ATTR:Ut,DOCTYPE_NAME:$e,ERB_EXPR:kt,IS_ALLOWED_URI:Ve,IS_SCRIPT_OR_DATA:Ht,MUSTACHE_EXPR:Pt,TMPLIT_EXPR:vt});const V={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Wt=function(){return typeof window=="undefined"?null:window},Bt=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const O="dompurify"+(a?"#"+a:"");try{return o.createPolicy(O,{createHTML(k){return k},createScriptURL(k){return k}})}catch(k){return console.warn("TrustedTypes policy "+O+" could not be created."),null}},Ke=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ze(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wt();const o=i=>Ze(i);if(o.version="3.3.1",o.removed=[],!s||!s.document||s.document.nodeType!==V.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:O,HTMLTemplateElement:k,Node:Se,Element:Je,NodeFilter:$,NamedNodeMap:Xt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:jt,DOMParser:Vt,trustedTypes:oe}=s,q=Je.prototype,$t=j(q,"cloneNode"),qt=j(q,"remove"),Kt=j(q,"nextSibling"),Zt=j(q,"childNodes"),ie=j(q,"parentNode");if(typeof k=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let S,K="";const{implementation:Re,createNodeIterator:Jt,createDocumentFragment:Qt,getElementsByTagName:en}=l,{importNode:tn}=a;let R=Ke();o.isSupported=typeof ze=="function"&&typeof ie=="function"&&Re&&Re.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Oe,ERB_EXPR:De,TMPLIT_EXPR:ye,DATA_ATTR:nn,ARIA_ATTR:on,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:Qe,CUSTOM_ELEMENT:rn}=qe;let{IS_ALLOWED_URI:et}=qe,d=null;const tt=r({},[...Be,..._e,...ge,...he,...Ye]);let T=null;const nt=r({},[...Xe,...Ae,...je,...ne]);let u=Object.seal(me(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,be=null;const v=Object.seal(me(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ot=!0,Le=!0,it=!1,at=!0,U=!1,ae=!0,x=!1,Ne=!1,Ce=!1,F=!1,re=!1,se=!1,rt=!0,st=!1;const sn="user-content-";let Ie=!0,J=!1,H={},N=null;const Me=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lt=null;const ct=r({},["audio","video","img","source","image","track"]);let we=null;const ft=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),le="http://www.w3.org/1998/Math/MathML",ce="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let z=I,xe=!1,Pe=null;const ln=r({},[le,ce,I],Te);let fe=r({},["mi","mo","mn","ms","mtext"]),ue=r({},["annotation-xml"]);const cn=r({},["title","style","font","a","script"]);let Q=null;const fn=["application/xhtml+xml","text/html"],un="text/html";let p=null,G=null;const mn=l.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},ke=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=L(e),Q=fn.indexOf(e.PARSER_MEDIA_TYPE)===-1?un:e.PARSER_MEDIA_TYPE,p=Q==="application/xhtml+xml"?Te:te,d=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):tt,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):nt,Pe=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Te):ln,we=b(e,"ADD_URI_SAFE_ATTR")?r(L(ft),e.ADD_URI_SAFE_ATTR,p):ft,lt=b(e,"ADD_DATA_URI_TAGS")?r(L(ct),e.ADD_DATA_URI_TAGS,p):ct,N=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Me,Z=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):L({}),be=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):L({}),H=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,ot=e.ALLOW_ARIA_ATTR!==!1,Le=e.ALLOW_DATA_ATTR!==!1,it=e.ALLOW_UNKNOWN_PROTOCOLS||!1,at=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=e.SAFE_FOR_TEMPLATES||!1,ae=e.SAFE_FOR_XML!==!1,x=e.WHOLE_DOCUMENT||!1,F=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,se=e.RETURN_TRUSTED_TYPE||!1,Ce=e.FORCE_BODY||!1,rt=e.SANITIZE_DOM!==!1,st=e.SANITIZE_NAMED_PROPS||!1,Ie=e.KEEP_CONTENT!==!1,J=e.IN_PLACE||!1,et=e.ALLOWED_URI_REGEXP||Ve,z=e.NAMESPACE||I,fe=e.MATHML_TEXT_INTEGRATION_POINTS||fe,ue=e.HTML_INTEGRATION_POINTS||ue,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),U&&(Le=!1),re&&(F=!0),H&&(d=r({},Ye),T=[],H.html===!0&&(r(d,Be),r(T,Xe)),H.svg===!0&&(r(d,_e),r(T,Ae),r(T,ne)),H.svgFilters===!0&&(r(d,ge),r(T,Ae),r(T,ne)),H.mathMl===!0&&(r(d,he),r(T,je),r(T,ne))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?v.tagCheck=e.ADD_TAGS:(d===tt&&(d=L(d)),r(d,e.ADD_TAGS,p))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?v.attributeCheck=e.ADD_ATTR:(T===nt&&(T=L(T)),r(T,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(we,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(N===Me&&(N=L(N)),r(N,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(N===Me&&(N=L(N)),r(N,e.ADD_FORBID_CONTENTS,p)),Ie&&(d["#text"]=!0),x&&r(d,["html","head","body"]),d.table&&(r(d,["tbody"]),delete Z.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,K=S.createHTML("")}else S===void 0&&(S=Bt(oe,c)),S!==null&&typeof K=="string"&&(K=S.createHTML(""));g&&g(e),G=e}},mt=r({},[..._e,...ge,...wt]),pt=r({},[...he,...xt]),pn=function(e){let t=ie(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const n=te(e.tagName),f=te(t.tagName);return Pe[e.namespaceURI]?e.namespaceURI===ce?t.namespaceURI===I?n==="svg":t.namespaceURI===le?n==="svg"&&(f==="annotation-xml"||fe[f]):!!mt[n]:e.namespaceURI===le?t.namespaceURI===I?n==="math":t.namespaceURI===ce?n==="math"&&ue[f]:!!pt[n]:e.namespaceURI===I?t.namespaceURI===ce&&!ue[f]||t.namespaceURI===le&&!fe[f]?!1:!pt[n]&&(cn[n]||!mt[n]):!!(Q==="application/xhtml+xml"&&Pe[e.namespaceURI]):!1},C=function(e){B(o.removed,{element:e});try{ie(e).removeChild(e)}catch(t){qt(e)}},P=function(e,t){try{B(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){B(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(F||re)try{C(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},dt=function(e){let t=null,n=null;if(Ce)e=""+e;else{const m=Ee(e,/^[\r\n\t ]+/);n=m&&m[0]}Q==="application/xhtml+xml"&&z===I&&(e=''+e+"");const f=S?S.createHTML(e):e;if(z===I)try{t=new Vt().parseFromString(f,Q)}catch(m){}if(!t||!t.documentElement){t=Re.createDocument(z,"template",null);try{t.documentElement.innerHTML=xe?K:f}catch(m){}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===I?en.call(t,x?"html":"body")[0]:x?t.documentElement:_},Tt=function(e){return Jt.call(e.ownerDocument||e,e,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT|$.SHOW_PROCESSING_INSTRUCTION|$.SHOW_CDATA_SECTION,null)},ve=function(e){return e instanceof jt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Xt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Et=function(e){return typeof Se=="function"&&e instanceof Se};function M(i,e,t){ee(i,n=>{n.call(o,e,t,G)})}const _t=function(e){let t=null;if(M(R.beforeSanitizeElements,e,null),ve(e))return C(e),!0;const n=p(e.nodeName);if(M(R.uponSanitizeElement,e,{tagName:n,allowedTags:d}),ae&&e.hasChildNodes()&&!Et(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===V.progressingInstruction||ae&&e.nodeType===V.comment&&h(/<[/\w]/g,e.data))return C(e),!0;if(!(v.tagCheck instanceof Function&&v.tagCheck(n))&&(!d[n]||Z[n])){if(!Z[n]&&ht(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Ie&&!N[n]){const f=ie(e)||e.parentNode,_=Zt(e)||e.childNodes;if(_&&f){const m=_.length;for(let D=m-1;D>=0;--D){const w=$t(_[D],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,Kt(e))}}}return C(e),!0}return e instanceof Je&&!pn(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(C(e),!0):(U&&e.nodeType===V.text&&(t=e.textContent,ee([Oe,De,ye],f=>{t=Y(t,f," ")}),e.textContent!==t&&(B(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(R.afterSanitizeElements,e,null),!1)},gt=function(e,t,n){if(rt&&(t==="id"||t==="name")&&(n in l||n in mn))return!1;if(!(Le&&!be[t]&&h(nn,t))){if(!(ot&&h(on,t))){if(!(v.attributeCheck instanceof Function&&v.attributeCheck(t,e))){if(!T[t]||be[t]){if(!(ht(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!we[t]){if(!h(et,Y(n,Qe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Nt(n,"data:")===0&<[e])){if(!(it&&!h(an,Y(n,Qe,"")))){if(n)return!1}}}}}}}return!0},ht=function(e){return e!=="annotation-xml"&&Ee(e,rn)},At=function(e){M(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ve(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:D,value:w}=_,W=p(m),Ue=w;let E=m==="value"?Ue:Ct(Ue);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(R.uponSanitizeAttribute,e,n),E=n.attrValue,st&&(W==="id"||W==="name")&&(P(m,e),E=sn+E),ae&&h(/((--!?|])>)|<\/(style|title|textarea)/i,E)){P(m,e);continue}if(W==="attributename"&&Ee(E,"href")){P(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){P(m,e);continue}if(!at&&h(/\/>/i,E)){P(m,e);continue}U&&ee([Oe,De,ye],Rt=>{E=Y(E,Rt," ")});const St=p(e.nodeName);if(!gt(St,W,E)){P(m,e);continue}if(S&&typeof oe=="object"&&typeof oe.getAttributeType=="function"&&!D)switch(oe.getAttributeType(St,W)){case"TrustedHTML":{E=S.createHTML(E);break}case"TrustedScriptURL":{E=S.createScriptURL(E);break}}if(E!==Ue)try{D?e.setAttributeNS(D,m,E):e.setAttribute(m,E),ve(e)?C(e):We(o.removed)}catch(Rt){P(m,e)}}M(R.afterSanitizeAttributes,e,null)},dn=function i(e){let t=null;const n=Tt(e);for(M(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(R.uponSanitizeShadowNode,t,null),_t(t),At(t),t.content instanceof O&&i(t.content);M(R.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(xe=!i,xe&&(i=""),typeof i!="string"&&!Et(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw X("dirty is not a string, aborting")}else throw X("toString is not a function");if(!o.isSupported)return i;if(Ne||ke(e),o.removed=[],typeof i=="string"&&(J=!1),J){if(i.nodeName){const w=p(i.nodeName);if(!d[w]||Z[w])throw X("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof Se)t=dt(""),n=t.ownerDocument.importNode(i,!0),n.nodeType===V.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!F&&!U&&!x&&i.indexOf("<")===-1)return S&&se?S.createHTML(i):i;if(t=dt(i),!t)return F?null:se?K:""}t&&Ce&&C(t.firstChild);const m=Tt(J?i:t);for(;f=m.nextNode();)_t(f),At(f),f.content instanceof O&&dn(f.content);if(J)return i;if(F){if(re)for(_=Qt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=tn.call(a,_,!0)),_}let D=x?t.outerHTML:t.innerHTML;return x&&d["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h($e,t.ownerDocument.doctype.name)&&(D=" -`+D),U&&ee([Oe,De,ye],w=>{D=Y(D,w," ")}),S&&se?S.createHTML(D):D},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ke(i),Ne=!0},o.clearConfig=function(){G=null,Ne=!1},o.isValidAttribute=function(i,e,t){G||ke({});const n=p(i),f=p(e);return gt(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&B(R[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=bt(R[i],e);return t===-1?void 0:Lt(R[i],t,1)[0]}return We(R[i])},o.removeHooks=function(i){R[i]=[]},o.removeAllHooks=function(){R=Ke()},o}var Yt=Ze()}}]); diff --git a/8384.fd5ea828.async.js b/8384.fd5ea828.async.js new file mode 100644 index 0000000000..3beb578ea3 --- /dev/null +++ b/8384.fd5ea828.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8384],{78384:function(Tn,Fe,He){He.r(Fe),He.d(Fe,{default:function(){return Yt}});const{entries:ze,setPrototypeOf:Ge,isFrozen:Dt,getPrototypeOf:Ot,getOwnPropertyDescriptor:bt}=Object;let{freeze:g,seal:y,create:ee}=Object,{apply:de,construct:Te}=typeof Reflect!="undefined"&&Reflect;g||(g=function(o){return o}),y||(y=function(o){return o}),de||(de=function(o,l){for(var a=arguments.length,c=new Array(a>2?a-2:0),D=2;D1?l-1:0),c=1;c1?l-1:0),c=1;c2&&arguments[2]!==void 0?arguments[2]:ne;Ge&&Ge(s,null);let a=o.length;for(;a--;){let c=o[a];if(typeof c=="string"){const D=l(c);D!==c&&(Dt(o)||(o[a]=D),c=D)}s[c]=!0}return s}function Mt(s){for(let o=0;o/gm),vt=y(/\$\{[\w\W]*/gm),Ut=y(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ft=y(/^aria-[\-\w]+$/),Ve=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ht=y(/^(?:\w+script|data):/i),zt=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$e=y(/^html$/i),Gt=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var qe=Object.freeze({__proto__:null,ARIA_ATTR:Ft,ATTR_WHITESPACE:zt,CUSTOM_ELEMENT:Gt,DATA_ATTR:Ut,DOCTYPE_NAME:$e,ERB_EXPR:kt,IS_ALLOWED_URI:Ve,IS_SCRIPT_OR_DATA:Ht,MUSTACHE_EXPR:Pt,TMPLIT_EXPR:vt});const V={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Wt=function(){return typeof window=="undefined"?null:window},Bt=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const c="data-tt-policy-suffix";l&&l.hasAttribute(c)&&(a=l.getAttribute(c));const D="dompurify"+(a?"#"+a:"");try{return o.createPolicy(D,{createHTML(v){return v},createScriptURL(v){return v}})}catch(v){return console.warn("TrustedTypes policy "+D+" could not be created."),null}},Ke=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ze(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wt();const o=i=>Ze(i);if(o.version="3.3.2",o.removed=[],!s||!s.document||s.document.nodeType!==V.document||!s.Element)return o.isSupported=!1,o;let{document:l}=s;const a=l,c=a.currentScript,{DocumentFragment:D,HTMLTemplateElement:v,Node:Re,Element:Je,NodeFilter:$,NamedNodeMap:Xt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:jt,DOMParser:Vt,trustedTypes:ie}=s,q=Je.prototype,$t=j(q,"cloneNode"),qt=j(q,"remove"),Kt=j(q,"nextSibling"),Zt=j(q,"childNodes"),ae=j(q,"parentNode");if(typeof v=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let S,K="";const{implementation:De,createNodeIterator:Jt,createDocumentFragment:Qt,getElementsByTagName:en}=l,{importNode:tn}=a;let R=Ke();o.isSupported=typeof ze=="function"&&typeof ae=="function"&&De&&De.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Oe,ERB_EXPR:be,TMPLIT_EXPR:ye,DATA_ATTR:nn,ARIA_ATTR:on,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:Qe,CUSTOM_ELEMENT:rn}=qe;let{IS_ALLOWED_URI:et}=qe,d=null;const tt=r({},[...Be,...ge,...he,...Ae,...Ye]);let T=null;const nt=r({},[...Xe,...Se,...je,...oe]);let u=Object.seal(ee(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,re=null;const x=Object.seal(ee(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ot=!0,Le=!0,it=!1,at=!0,U=!1,se=!0,P=!1,Ne=!1,Ce=!1,F=!1,le=!1,ce=!1,rt=!0,st=!1;const sn="user-content-";let Ie=!0,J=!1,H={},N=null;const Me=r({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lt=null;const ct=r({},["audio","video","img","source","image","track"]);let we=null;const ft=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",ue="http://www.w3.org/2000/svg",I="http://www.w3.org/1999/xhtml";let z=I,xe=!1,Pe=null;const ln=r({},[fe,ue,I],Ee);let me=r({},["mi","mo","mn","ms","mtext"]),pe=r({},["annotation-xml"]);const cn=r({},["title","style","font","a","script"]);let Q=null;const fn=["application/xhtml+xml","text/html"],un="text/html";let p=null,G=null;const mn=l.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},ke=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(G&&G===e)){if((!e||typeof e!="object")&&(e={}),e=L(e),Q=fn.indexOf(e.PARSER_MEDIA_TYPE)===-1?un:e.PARSER_MEDIA_TYPE,p=Q==="application/xhtml+xml"?Ee:ne,d=b(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):tt,T=b(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):nt,Pe=b(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,Ee):ln,we=b(e,"ADD_URI_SAFE_ATTR")?r(L(ft),e.ADD_URI_SAFE_ATTR,p):ft,lt=b(e,"ADD_DATA_URI_TAGS")?r(L(ct),e.ADD_DATA_URI_TAGS,p):ct,N=b(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):Me,Z=b(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):L({}),re=b(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):L({}),H=b(e,"USE_PROFILES")?e.USE_PROFILES:!1,ot=e.ALLOW_ARIA_ATTR!==!1,Le=e.ALLOW_DATA_ATTR!==!1,it=e.ALLOW_UNKNOWN_PROTOCOLS||!1,at=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,U=e.SAFE_FOR_TEMPLATES||!1,se=e.SAFE_FOR_XML!==!1,P=e.WHOLE_DOCUMENT||!1,F=e.RETURN_DOM||!1,le=e.RETURN_DOM_FRAGMENT||!1,ce=e.RETURN_TRUSTED_TYPE||!1,Ce=e.FORCE_BODY||!1,rt=e.SANITIZE_DOM!==!1,st=e.SANITIZE_NAMED_PROPS||!1,Ie=e.KEEP_CONTENT!==!1,J=e.IN_PLACE||!1,et=e.ALLOWED_URI_REGEXP||Ve,z=e.NAMESPACE||I,me=e.MATHML_TEXT_INTEGRATION_POINTS||me,pe=e.HTML_INTEGRATION_POINTS||pe,u=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(u.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(u.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(u.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),U&&(Le=!1),le&&(F=!0),H&&(d=r({},Ye),T=ee(null),H.html===!0&&(r(d,Be),r(T,Xe)),H.svg===!0&&(r(d,ge),r(T,Se),r(T,oe)),H.svgFilters===!0&&(r(d,he),r(T,Se),r(T,oe)),H.mathMl===!0&&(r(d,Ae),r(T,je),r(T,oe))),b(e,"ADD_TAGS")||(x.tagCheck=null),b(e,"ADD_ATTR")||(x.attributeCheck=null),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?x.tagCheck=e.ADD_TAGS:(d===tt&&(d=L(d)),r(d,e.ADD_TAGS,p))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?x.attributeCheck=e.ADD_ATTR:(T===nt&&(T=L(T)),r(T,e.ADD_ATTR,p))),e.ADD_URI_SAFE_ATTR&&r(we,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(N===Me&&(N=L(N)),r(N,e.FORBID_CONTENTS,p)),e.ADD_FORBID_CONTENTS&&(N===Me&&(N=L(N)),r(N,e.ADD_FORBID_CONTENTS,p)),Ie&&(d["#text"]=!0),P&&r(d,["html","head","body"]),d.table&&(r(d,["tbody"]),delete Z.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw X('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');S=e.TRUSTED_TYPES_POLICY,K=S.createHTML("")}else S===void 0&&(S=Bt(ie,c)),S!==null&&typeof K=="string"&&(K=S.createHTML(""));g&&g(e),G=e}},mt=r({},[...ge,...he,...wt]),pt=r({},[...Ae,...xt]),pn=function(e){let t=ae(e);(!t||!t.tagName)&&(t={namespaceURI:z,tagName:"template"});const n=ne(e.tagName),f=ne(t.tagName);return Pe[e.namespaceURI]?e.namespaceURI===ue?t.namespaceURI===I?n==="svg":t.namespaceURI===fe?n==="svg"&&(f==="annotation-xml"||me[f]):!!mt[n]:e.namespaceURI===fe?t.namespaceURI===I?n==="math":t.namespaceURI===ue?n==="math"&&pe[f]:!!pt[n]:e.namespaceURI===I?t.namespaceURI===ue&&!pe[f]||t.namespaceURI===fe&&!me[f]?!1:!pt[n]&&(cn[n]||!mt[n]):!!(Q==="application/xhtml+xml"&&Pe[e.namespaceURI]):!1},C=function(e){B(o.removed,{element:e});try{ae(e).removeChild(e)}catch(t){qt(e)}},k=function(e,t){try{B(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(n){B(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is")if(F||le)try{C(t)}catch(n){}else try{t.setAttribute(e,"")}catch(n){}},dt=function(e){let t=null,n=null;if(Ce)e=""+e;else{const m=_e(e,/^[\r\n\t ]+/);n=m&&m[0]}Q==="application/xhtml+xml"&&z===I&&(e=''+e+"");const f=S?S.createHTML(e):e;if(z===I)try{t=new Vt().parseFromString(f,Q)}catch(m){}if(!t||!t.documentElement){t=De.createDocument(z,"template",null);try{t.documentElement.innerHTML=xe?K:f}catch(m){}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),z===I?en.call(t,P?"html":"body")[0]:P?t.documentElement:_},Tt=function(e){return Jt.call(e.ownerDocument||e,e,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT|$.SHOW_PROCESSING_INSTRUCTION|$.SHOW_CDATA_SECTION,null)},ve=function(e){return e instanceof jt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Xt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},Et=function(e){return typeof Re=="function"&&e instanceof Re};function M(i,e,t){te(i,n=>{n.call(o,e,t,G)})}const _t=function(e){let t=null;if(M(R.beforeSanitizeElements,e,null),ve(e))return C(e),!0;const n=p(e.nodeName);if(M(R.uponSanitizeElement,e,{tagName:n,allowedTags:d}),se&&e.hasChildNodes()&&!Et(e.firstElementChild)&&h(/<[/\w!]/g,e.innerHTML)&&h(/<[/\w!]/g,e.textContent)||e.nodeType===V.progressingInstruction||se&&e.nodeType===V.comment&&h(/<[/\w]/g,e.data))return C(e),!0;if(!(x.tagCheck instanceof Function&&x.tagCheck(n))&&(!d[n]||Z[n])){if(!Z[n]&&ht(n)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n)))return!1;if(Ie&&!N[n]){const f=ae(e)||e.parentNode,_=Zt(e)||e.childNodes;if(_&&f){const m=_.length;for(let O=m-1;O>=0;--O){const w=$t(_[O],!0);w.__removalCount=(e.__removalCount||0)+1,f.insertBefore(w,Kt(e))}}}return C(e),!0}return e instanceof Je&&!pn(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&h(/<\/no(script|embed|frames)/i,e.innerHTML)?(C(e),!0):(U&&e.nodeType===V.text&&(t=e.textContent,te([Oe,be,ye],f=>{t=Y(t,f," ")}),e.textContent!==t&&(B(o.removed,{element:e.cloneNode()}),e.textContent=t)),M(R.afterSanitizeElements,e,null),!1)},gt=function(e,t,n){if(re[t]||rt&&(t==="id"||t==="name")&&(n in l||n in mn))return!1;if(!(Le&&!re[t]&&h(nn,t))){if(!(ot&&h(on,t))){if(!(x.attributeCheck instanceof Function&&x.attributeCheck(t,e))){if(!T[t]||re[t]){if(!(ht(e)&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,e)||u.tagNameCheck instanceof Function&&u.tagNameCheck(e))&&(u.attributeNameCheck instanceof RegExp&&h(u.attributeNameCheck,t)||u.attributeNameCheck instanceof Function&&u.attributeNameCheck(t,e))||t==="is"&&u.allowCustomizedBuiltInElements&&(u.tagNameCheck instanceof RegExp&&h(u.tagNameCheck,n)||u.tagNameCheck instanceof Function&&u.tagNameCheck(n))))return!1}else if(!we[t]){if(!h(et,Y(n,Qe,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Nt(n,"data:")===0&<[e])){if(!(it&&!h(an,Y(n,Qe,"")))){if(n)return!1}}}}}}}return!0},ht=function(e){return e!=="annotation-xml"&&_e(e,rn)},At=function(e){M(R.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ve(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:T,forceKeepAttr:void 0};let f=t.length;for(;f--;){const _=t[f],{name:m,namespaceURI:O,value:w}=_,W=p(m),Ue=w;let E=m==="value"?Ue:Ct(Ue);if(n.attrName=W,n.attrValue=E,n.keepAttr=!0,n.forceKeepAttr=void 0,M(R.uponSanitizeAttribute,e,n),E=n.attrValue,st&&(W==="id"||W==="name")&&(k(m,e),E=sn+E),se&&h(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,E)){k(m,e);continue}if(W==="attributename"&&_e(E,"href")){k(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){k(m,e);continue}if(!at&&h(/\/>/i,E)){k(m,e);continue}U&&te([Oe,be,ye],Rt=>{E=Y(E,Rt," ")});const St=p(e.nodeName);if(!gt(St,W,E)){k(m,e);continue}if(S&&typeof ie=="object"&&typeof ie.getAttributeType=="function"&&!O)switch(ie.getAttributeType(St,W)){case"TrustedHTML":{E=S.createHTML(E);break}case"TrustedScriptURL":{E=S.createScriptURL(E);break}}if(E!==Ue)try{O?e.setAttributeNS(O,m,E):e.setAttribute(m,E),ve(e)?C(e):We(o.removed)}catch(Rt){k(m,e)}}M(R.afterSanitizeAttributes,e,null)},dn=function i(e){let t=null;const n=Tt(e);for(M(R.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)M(R.uponSanitizeShadowNode,t,null),_t(t),At(t),t.content instanceof D&&i(t.content);M(R.afterSanitizeShadowDOM,e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,f=null,_=null;if(xe=!i,xe&&(i=""),typeof i!="string"&&!Et(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw X("dirty is not a string, aborting")}else throw X("toString is not a function");if(!o.isSupported)return i;if(Ne||ke(e),o.removed=[],typeof i=="string"&&(J=!1),J){if(i.nodeName){const w=p(i.nodeName);if(!d[w]||Z[w])throw X("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof Re)t=dt(""),n=t.ownerDocument.importNode(i,!0),n.nodeType===V.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!F&&!U&&!P&&i.indexOf("<")===-1)return S&&ce?S.createHTML(i):i;if(t=dt(i),!t)return F?null:ce?K:""}t&&Ce&&C(t.firstChild);const m=Tt(J?i:t);for(;f=m.nextNode();)_t(f),At(f),f.content instanceof D&&dn(f.content);if(J)return i;if(F){if(le)for(_=Qt.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(T.shadowroot||T.shadowrootmode)&&(_=tn.call(a,_,!0)),_}let O=P?t.outerHTML:t.innerHTML;return P&&d["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&h($e,t.ownerDocument.doctype.name)&&(O=" +`+O),U&&te([Oe,be,ye],w=>{O=Y(O,w," ")}),S&&ce?S.createHTML(O):O},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ke(i),Ne=!0},o.clearConfig=function(){G=null,Ne=!1},o.isValidAttribute=function(i,e,t){G||ke({});const n=p(i),f=p(e);return gt(n,f,t)},o.addHook=function(i,e){typeof e=="function"&&B(R[i],e)},o.removeHook=function(i,e){if(e!==void 0){const t=yt(R[i],e);return t===-1?void 0:Lt(R[i],t,1)[0]}return We(R[i])},o.removeHooks=function(i){R[i]=[]},o.removeAllHooks=function(){R=Ke()},o}var Yt=Ze()}}]); diff --git a/p__Classrooms__Lists__Attendance__Detail__index.f43ca636.async.js b/p__Classrooms__Lists__Attendance__Detail__index.f01bc7ef.async.js similarity index 99% rename from p__Classrooms__Lists__Attendance__Detail__index.f43ca636.async.js rename to p__Classrooms__Lists__Attendance__Detail__index.f01bc7ef.async.js index 7a35245912..984182f86b 100644 --- a/p__Classrooms__Lists__Attendance__Detail__index.f43ca636.async.js +++ b/p__Classrooms__Lists__Attendance__Detail__index.f01bc7ef.async.js @@ -206,7 +206,7 @@ T* `):p.join(` Tj `),n}},Cross:{createAppearanceStream:function(e){var n={D:{Off:Kr.RadioButton.Cross.OffPushDown},N:{}};return n.N[e]=Kr.RadioButton.Cross.YesNormal,n.D[e]=Kr.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(e){var n=ic(e);n.scope=e.scope;var t=[],r=Kr.internal.calculateCross(e);return t.push("q"),t.push("1 1 "+Ma(Kr.internal.getWidth(e)-2)+" "+Ma(Kr.internal.getHeight(e)-2)+" re"),t.push("W"),t.push("n"),t.push(Ma(r.x1.x)+" "+Ma(r.x1.y)+" m"),t.push(Ma(r.x2.x)+" "+Ma(r.x2.y)+" l"),t.push(Ma(r.x4.x)+" "+Ma(r.x4.y)+" m"),t.push(Ma(r.x3.x)+" "+Ma(r.x3.y)+" l"),t.push("s"),t.push("Q"),n.stream=t.join(` `),n},YesPushDown:function(e){var n=ic(e);n.scope=e.scope;var t=Kr.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Ma(Kr.internal.getWidth(e))+" "+Ma(Kr.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Ma(Kr.internal.getWidth(e)-2)+" "+Ma(Kr.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Ma(t.x1.x)+" "+Ma(t.x1.y)+" m"),r.push(Ma(t.x2.x)+" "+Ma(t.x2.y)+" l"),r.push(Ma(t.x4.x)+" "+Ma(t.x4.y)+" m"),r.push(Ma(t.x3.x)+" "+Ma(t.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join(` `),n},OffPushDown:function(e){var n=ic(e);n.scope=e.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+Ma(Kr.internal.getWidth(e))+" "+Ma(Kr.internal.getHeight(e))+" re"),t.push("f"),n.stream=t.join(` -`),n}}},createDefaultAppearanceStream:function(e){var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,t=e.scope.__private__.encodeColorString(e.color);return"/"+n+" "+e.fontSize+" Tf "+t}};Kr.internal={Bezier_C:.551915024494,calculateCross:function(e){var n=Kr.internal.getWidth(e),t=Kr.internal.getHeight(e),r=Math.min(n,t);return{x1:{x:(n-r)/2,y:(t-r)/2+r},x2:{x:(n-r)/2+r,y:(t-r)/2},x3:{x:(n-r)/2,y:(t-r)/2},x4:{x:(n-r)/2+r,y:(t-r)/2+r}}}},Kr.internal.getWidth=function(e){var n=0;return(0,o.Z)(e)==="object"&&(n=$0(e.Rect[2])),n},Kr.internal.getHeight=function(e){var n=0;return(0,o.Z)(e)==="object"&&(n=$0(e.Rect[3])),n};var wl=GA.addField=function(e){if(tt(this,e),!(e instanceof br))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=e).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};GA.AcroFormChoiceField=zr,GA.AcroFormListBox=Ua,GA.AcroFormComboBox=Uo,GA.AcroFormEditBox=Oo,GA.AcroFormButton=va,GA.AcroFormPushButton=Ta,GA.AcroFormRadioButton=Aa,GA.AcroFormCheckBox=di,GA.AcroFormTextField=Va,GA.AcroFormPasswordField=ma,GA.AcroFormAppearance=Kr,GA.AcroForm={ChoiceField:zr,ListBox:Ua,ComboBox:Uo,EditBox:Oo,Button:va,PushButton:Ta,RadioButton:Aa,CheckBox:di,TextField:Va,PasswordField:ma,Appearance:Kr},Zo.AcroForm={ChoiceField:zr,ListBox:Ua,ComboBox:Uo,EditBox:Oo,Button:va,PushButton:Ta,RadioButton:Aa,CheckBox:di,TextField:Va,PasswordField:ma,Appearance:Kr};var Fl=Zo.AcroForm;function sA(e){return e.reduce(function(n,t,r){return n[t]=r,n},{})}(function(e){var n="addImage_";e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},a=e.__addimage__.getImageFileTypeByImageData=function(Me,lt){var _t,Mt,On,Tn,Hn,xn=t;if((lt=lt||t)==="RGBA"||Me.data!==void 0&&Me.data instanceof Uint8ClampedArray&&"height"in Me&&"width"in Me)return"RGBA";if(Xn(Me))for(Hn in r)for(On=r[Hn],_t=0;_t>"}),"transparency"in lt&&Array.isArray(lt.transparency)&<.transparency.length>0){for(var Hn="",xn=0,Zn=lt.transparency.length;xn>",et.content=A;var Rt=et.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length>=3};var O=e.__arabicParser__.arabicLetterHasMedialForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length==4},ie=e.__arabicParser__.resolveLigatures=function(et){var it=0,Te=t,Kt="",Rt=0;for(it=0;it>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(g){a=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(Zo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var m=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return m},set:function(et){m=et}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(et){y=et}});var O=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return O},set:function(et){O=et}});var ie=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return ie},set:function(et){ie=et}});var Be=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Be},set:function(et){Be=et}});var S=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return S},set:function(et){S=et}});var at=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return at},set:function(et){at=et}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(m){return r.call(this),this.internal.__cell__.headerFunction=typeof m=="function"?m:void 0,this},e.getTextDimensions=function(m,y){r.call(this);var O=(y=y||{}).fontSize||this.getFontSize(),ie=y.font||this.getFont(),Be=y.scaleFactor||this.internal.scaleFactor,S=0,at=0,et=0,it=this;if(!Array.isArray(m)&&typeof m!="string"){if(typeof m!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");m=String(m)}var Te=y.maxWidth;Te>0?typeof m=="string"?m=this.splitTextToSize(m,Te):Object.prototype.toString.call(m)==="[object Array]"&&(m=m.reduce(function(Rt,St){return Rt.concat(it.splitTextToSize(St,Te))},[])):m=Array.isArray(m)?m:[m];for(var Kt=0;Ktthis.getPageHeight()?(this.cellAddPage(),m.y=ie.top,S&&Be&&(this.printHeaderRow(m.lineNumber,!0),m.y+=Be[0].height)):m.y=y.y+y.height||m.y),m.text[0]!==void 0&&(this.rect(m.x,m.y,m.width,m.height,t===!0?"FD":void 0),m.align==="right"?this.text(m.text,m.x+m.width-O,m.y+O,{align:"right",baseline:"top"}):m.align==="center"?this.text(m.text,m.x+m.width/2,m.y+O,{align:"center",baseline:"top",maxWidth:m.width-O-O}):this.text(m.text,m.x+O,m.y+O,{align:"left",baseline:"top",maxWidth:m.width-O-O})),this.internal.__cell__.lastCell=m,this};e.table=function(m,y,O,ie,Be){if(r.call(this),!O)throw new Error("No data for PDF table.");var S,at,et,it,Te=[],Kt=[],Rt=[],St={},Sn={},Xn=[],jn=[],Xt=(Be=Be||{}).autoSize||!1,It=Be.printHeaders!==!1,gn=Be.css&&Be.css["font-size"]!==void 0?16*Be.css["font-size"]:Be.fontSize||12,Me=Be.margins||Object.assign({width:this.getPageWidth()},n),lt=typeof Be.padding=="number"?Be.padding:3,_t=Be.headerBackgroundColor||"#c8c8c8",Mt=Be.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=It,this.internal.__cell__.margins=Me,this.internal.__cell__.table_font_size=gn,this.internal.__cell__.padding=lt,this.internal.__cell__.headerBackgroundColor=_t,this.internal.__cell__.headerTextColor=Mt,this.setFontSize(gn),ie==null)Kt=Te=Object.keys(O[0]),Rt=Te.map(function(){return"left"});else if(Array.isArray(ie)&&(0,o.Z)(ie[0])==="object")for(Te=ie.map(function(_r){return _r.name}),Kt=ie.map(function(_r){return _r.prompt||_r.name||""}),Rt=ie.map(function(_r){return _r.align||"left"}),S=0;S0&&this.setTableHeaderRow(Be),this.setFont(void 0,"normal"),t=!1}}(Zo.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Qc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Js=sA(Qc),rl=[100,200,300,400,500,600,700,800,900],Ru=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),a=function(A){return typeof Js[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function Rc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function Hv(e,n,t){var r=e.length,a=[];a[0]=4;for(var A=0;A>A&v}function Kv(e,n,t,r){var a=t*r,A=Math.floor(a/8),v=16-(a-8*A+r),g=(1<>8&255;y.setUint8(O,Be)}})(e,A,$v(e,A)&~(g<>7,v=1<<1+(7&a);e[n++],e[n++];var g=null,m=null;A&&(g=n,m=v,n+=3*v);var y=!0,O=[],ie=0,Be=null,S=0,at=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Me===0)break;n+=Me}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var et=e[n++];ie=e[n++]|e[n++]<<8,Be=e[n++],1&et||(Be=null),S=et>>2&7,n++;break;case 254:for(;;){if(!((Me=e[n++])>=0))throw Error("Invalid block size");if(Me===0)break;n+=Me}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var it=e[n++]|e[n++]<<8,Te=e[n++]|e[n++]<<8,Kt=e[n++]|e[n++]<<8,Rt=e[n++]|e[n++]<<8,St=e[n++],Sn=St>>6&1,Xn=1<<1+(7&St),jn=g,Xt=m,It=!1;St>>7&&(It=!0,jn=n,Xt=Xn,n+=3*Xn);var gn=n;for(n++;;){var Me;if(!((Me=e[n++])>=0))throw Error("Invalid block size");if(Me===0)break;n+=Me}O.push({x:it,y:Te,width:Kt,height:Rt,has_local_palette:It,palette_offset:jn,palette_size:Xt,data_offset:gn,data_length:n-gn,transparent_index:Be,interlaced:!!Sn,delay:ie,disposal:S});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return O.length},this.loopCount=function(){return at},this.frameInfo=function(lt){if(lt<0||lt>=O.length)throw new Error("Frame index out of range.");return O[lt]},this.decodeAndBlitFrameBGRA=function(lt,_t){var Mt=this.frameInfo(lt),On=Mt.width*Mt.height,Tn=new Uint8Array(On);Zv(e,Mt.data_offset,Tn,On);var Hn=Mt.palette_offset,xn=Mt.transparent_index;xn===null&&(xn=256);var Zn=Mt.width,_r=t-Zn,cr=Zn,Qe=4*(Mt.y*t+Mt.x),xt=4*((Mt.y+Mt.height)*t+Mt.x),Pt=Qe,kt=4*_r;Mt.interlaced===!0&&(kt+=4*t*7);for(var rn=8,bn=0,_n=Tn.length;bn<_n;++bn){var Kn=Tn[bn];if(cr===0&&(cr=Zn,(Pt+=kt)>=xt&&(kt=4*_r+4*t*(rn-1),Pt=Qe+(Zn+_r)*(rn<<1),rn>>=1)),Kn===xn)Pt+=4;else{var or=e[Hn+3*Kn],Nr=e[Hn+3*Kn+1],mo=e[Hn+3*Kn+2];_t[Pt++]=mo,_t[Pt++]=Nr,_t[Pt++]=or,_t[Pt++]=255}--cr}},this.decodeAndBlitFrameRGBA=function(lt,_t){var Mt=this.frameInfo(lt),On=Mt.width*Mt.height,Tn=new Uint8Array(On);Zv(e,Mt.data_offset,Tn,On);var Hn=Mt.palette_offset,xn=Mt.transparent_index;xn===null&&(xn=256);var Zn=Mt.width,_r=t-Zn,cr=Zn,Qe=4*(Mt.y*t+Mt.x),xt=4*((Mt.y+Mt.height)*t+Mt.x),Pt=Qe,kt=4*_r;Mt.interlaced===!0&&(kt+=4*t*7);for(var rn=8,bn=0,_n=Tn.length;bn<_n;++bn){var Kn=Tn[bn];if(cr===0&&(cr=Zn,(Pt+=kt)>=xt&&(kt=4*_r+4*t*(rn-1),Pt=Qe+(Zn+_r)*(rn<<1),rn>>=1)),Kn===xn)Pt+=4;else{var or=e[Hn+3*Kn],Nr=e[Hn+3*Kn+1],mo=e[Hn+3*Kn+2];_t[Pt++]=or,_t[Pt++]=Nr,_t[Pt++]=mo,_t[Pt++]=255}--cr}}}function Zv(e,n,t,r){for(var a=e[n++],A=1<>=m,O-=m,it!==A){if(it===v)break;for(var Te=itA;)Rt=at[Rt]>>8,++Kt;var St=Rt;if(Be+Kt+(Te!==it?1:0)>r)return void wA.log("Warning, gif stream longer than expected.");t[Be++]=St;var Sn=Be+=Kt;for(Te!==it&&(t[Be++]=St),Rt=Te;Kt--;)Rt=at[Rt],t[--Sn]=255&Rt,Rt>>=8;et!==null&&g<4096&&(at[g++]=et<<8|St,g>=y+1&&m<12&&(++m,y=y<<1|1)),et=it}else g=v+1,y=(1<<(m=a+1))-1,et=null}return Be!==r&&wA.log("Warning, gif stream shorter than expected."),t}function Vg(e){var n,t,r,a,A,v=Math.floor,g=new Array(64),m=new Array(64),y=new Array(64),O=new Array(64),ie=new Array(65535),Be=new Array(65535),S=new Array(64),at=new Array(64),et=[],it=0,Te=7,Kt=new Array(64),Rt=new Array(64),St=new Array(64),Sn=new Array(256),Xn=new Array(2048),jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Xt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],It=[0,1,2,3,4,5,6,7,8,9,10,11],gn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Me=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],lt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],_t=[0,1,2,3,4,5,6,7,8,9,10,11],Mt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],On=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tn(Qe,xt){for(var Pt=0,kt=0,rn=new Array,bn=1;bn<=16;bn++){for(var _n=1;_n<=Qe[bn];_n++)rn[xt[kt]]=[],rn[xt[kt]][0]=Pt,rn[xt[kt]][1]=bn,kt++,Pt++;Pt*=2}return rn}function Hn(Qe){for(var xt=Qe[0],Pt=Qe[1]-1;Pt>=0;)xt&1<>8&255),xn(255&Qe)}function _r(Qe,xt,Pt,kt,rn){for(var bn,_n=rn[0],Kn=rn[240],or=function(wr,xa){var jo,pa,ua,dA,Li,Wa,Ti,Ni,Xo,ni,na=0;for(Xo=0;Xo<8;++Xo){jo=wr[na],pa=wr[na+1],ua=wr[na+2],dA=wr[na+3],Li=wr[na+4],Wa=wr[na+5],Ti=wr[na+6];var Bs=jo+(Ni=wr[na+7]),Gi=jo-Ni,pi=pa+Ti,yi=pa-Ti,XA=ua+Wa,ha=ua-Wa,RA=dA+Li,La=dA-Li,Ga=Bs+RA,YA=Bs-RA,xi=pi+XA,Sa=pi-XA;wr[na]=Ga+xi,wr[na+4]=Ga-xi;var fA=.707106781*(Sa+YA);wr[na+2]=YA+fA,wr[na+6]=YA-fA;var of=.382683433*((Ga=La+ha)-(Sa=yi+Gi)),Cl=.5411961*Ga+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Ia=Gi+du,Tu=Gi-du;wr[na+5]=Tu+Cl,wr[na+3]=Tu-Cl,wr[na+1]=Ia+Mu,wr[na+7]=Ia-Mu,na+=8}for(na=0,Xo=0;Xo<8;++Xo){jo=wr[na],pa=wr[na+8],ua=wr[na+16],dA=wr[na+24],Li=wr[na+32],Wa=wr[na+40],Ti=wr[na+48];var ju=jo+(Ni=wr[na+56]),sc=jo-Ni,lc=pa+Ti,us=pa-Ti,qs=ua+Wa,ol=ua-Wa,af=dA+Li,bd=dA-Li,jc=ju+af,fu=ju-af,_c=lc+qs,Hc=lc-qs;wr[na]=jc+_c,wr[na+32]=jc-_c;var cc=.707106781*(Hc+fu);wr[na+16]=fu+cc,wr[na+48]=fu-cc;var Af=.382683433*((jc=bd+ol)-(Hc=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*Hc+Af,kf=.707106781*(_c=ol+us),zf=sc+kf,Vf=sc-kf;wr[na+40]=Vf+hu,wr[na+24]=Vf-hu,wr[na+8]=zf+sf,wr[na+56]=zf-sf,na++}for(Xo=0;Xo<64;++Xo)ni=wr[Xo]*xa[Xo],S[Xo]=ni>0?ni+.5|0:ni-.5|0;return S}(Qe,xt),Nr=0;Nr<64;++Nr)at[jn[Nr]]=or[Nr];var mo=at[0]-Pt;Pt=at[0],mo==0?Hn(kt[0]):(Hn(kt[Be[bn=32767+mo]]),Hn(ie[bn]));for(var ho=63;ho>0&&at[ho]==0;)ho--;if(ho==0)return Hn(_n),Pt;for(var sa,ct=1;ct<=ho;){for(var po=ct;at[ct]==0&&ct<=ho;)++ct;var fi=ct-po;if(fi>=16){sa=fi>>4;for(var Ba=1;Ba<=sa;++Ba)Hn(Kn);fi&=15}bn=32767+at[ct],Hn(rn[(fi<<4)+Be[bn]]),Hn(ie[bn]),ct++}return ho!=63&&Hn(_n),Pt}function cr(Qe){Qe=Math.min(Math.max(Qe,1),100),A!=Qe&&(function(xt){for(var Pt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],kt=0;kt<64;kt++){var rn=v((Pt[kt]*xt+50)/100);rn=Math.min(Math.max(rn,1),255),g[jn[kt]]=rn}for(var bn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],_n=0;_n<64;_n++){var Kn=v((bn[_n]*xt+50)/100);Kn=Math.min(Math.max(Kn,1),255),m[jn[_n]]=Kn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Nr=0,mo=0;mo<8;mo++)for(var ho=0;ho<8;ho++)y[Nr]=1/(g[jn[Nr]]*or[mo]*or[ho]*8),O[Nr]=1/(m[jn[Nr]]*or[mo]*or[ho]*8),Nr++}(Qe<50?Math.floor(5e3/Qe):Math.floor(200-2*Qe)),A=Qe)}this.encode=function(Qe,xt){xt&&cr(xt),et=new Array,it=0,Te=7,Zn(65496),Zn(65504),Zn(16),xn(74),xn(70),xn(73),xn(70),xn(0),xn(1),xn(1),xn(0),Zn(1),Zn(1),xn(0),xn(0),function(){Zn(65499),Zn(132),xn(0);for(var pa=0;pa<64;pa++)xn(g[pa]);xn(1);for(var ua=0;ua<64;ua++)xn(m[ua])}(),function(pa,ua){Zn(65472),Zn(17),xn(8),Zn(ua),Zn(pa),xn(3),xn(1),xn(17),xn(0),xn(2),xn(17),xn(1),xn(3),xn(17),xn(1)}(Qe.width,Qe.height),function(){Zn(65476),Zn(418),xn(0);for(var pa=0;pa<16;pa++)xn(Xt[pa+1]);for(var ua=0;ua<=11;ua++)xn(It[ua]);xn(16);for(var dA=0;dA<16;dA++)xn(gn[dA+1]);for(var Li=0;Li<=161;Li++)xn(Me[Li]);xn(1);for(var Wa=0;Wa<16;Wa++)xn(lt[Wa+1]);for(var Ti=0;Ti<=11;Ti++)xn(_t[Ti]);xn(17);for(var Ni=0;Ni<16;Ni++)xn(Mt[Ni+1]);for(var Xo=0;Xo<=161;Xo++)xn(On[Xo])}(),Zn(65498),Zn(12),xn(3),xn(1),xn(0),xn(2),xn(17),xn(3),xn(17),xn(0),xn(63),xn(0);var Pt=0,kt=0,rn=0;it=0,Te=7,this.encode.displayName="_encode_";for(var bn,_n,Kn,or,Nr,mo,ho,sa,ct,po=Qe.data,fi=Qe.width,Ba=Qe.height,wr=4*fi,xa=0;xa>3)*wr+(ho=4*(7&ct)),xa+sa>=Ba&&(mo-=wr*(xa+1+sa-Ba)),bn+ho>=wr&&(mo-=bn+ho-wr+4),_n=po[mo++],Kn=po[mo++],or=po[mo++],Kt[ct]=(Xn[_n]+Xn[Kn+256|0]+Xn[or+512|0]>>16)-128,Rt[ct]=(Xn[_n+768|0]+Xn[Kn+1024|0]+Xn[or+1280|0]>>16)-128,St[ct]=(Xn[_n+1280|0]+Xn[Kn+1536|0]+Xn[or+1792|0]>>16)-128;Pt=_r(Kt,y,Pt,n,r),kt=_r(Rt,O,kt,t,a),rn=_r(St,O,rn,t,a),bn+=32}xa+=8}if(Te>=0){var jo=[];jo[1]=Te+1,jo[0]=(1<lt;lt++)if(It[gn+lt]!=Me.charCodeAt(lt))return!0;return!1}function r(It,gn,Me,lt,_t){for(var Mt=0;Mt<_t;Mt++)It[gn+Mt]=Me[lt+Mt]}function a(It,gn,Me,lt){for(var _t=0;_tMt+1?[]:new gn),!(On.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Me(s,h,B,D,de){n(!(D%B));do s[h+(D-=B)]=de;while(0=de),512>=de)var xe=A(512);else if((xe=A(de))==null)return 0;return function(Ne,Ke,qe,ht,Gt,En){var gt,tn,vn=Ke,Wn=1<gt;++gt){if(wn[gt]>1<(si-=wn[gt]))return 0;for(;0=gt;++gt,Gt<<=1){if(Mo+=si<<=1,0>(si-=wn[gt]))return 0;for(;0Ir&&!(0>=(rr-=wn[Ir]));)++Ir,rr<<=1;Wn+=ko=1<<(rr=Ir-qe),Ne[Ke+(Ir=ea&fr)].g=rr+qe,Ne[Ke+Ir].value=vn-Ke-Ir}ht.g=gt-qe,ht.value=En[tn++],Me(Ne,vn+(ea>>qe),Gt,ko,ht),ea=gn(ea,gt)}}return Mo!=2*Jn[15]-1?0:Wn}(s,h,B,D,de,xe)}function _t(){this.value=this.g=0}function Mt(){this.value=this.g=0}function On(){this.G=v(5,_t),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Mt)}function Tn(s,h,B,D){n(s!=null),n(h!=null),n(2147483648>D),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+D,s.Zc=4<=D?B+D-4+1:B,_n(s)}function Hn(s,h){for(var B=0;0D),s.Sb=D,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;kt(s)&&(s.h=1,s.u=0)}function cr(s,h){if(n(0<=h),!s.h&&h<=Vl){var B=Pt(s)&zl[h];return s.u+=h,_r(s),B}return s.h=1,s.u=0}function Qe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function xt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Pt(s){return s.Ra>>>(s.u&xd-1)>>>0}function kt(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function rn(s,h){s.u=h,s.h=kt(s)}function bn(s){s.u>=Xu&&(n(s.u>=Xu),_r(s))}function _n(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&_n(s);var D=s.b,de=B*h>>>8,xe=(s.I>>>D>de)+0;for(xe?(B-=de,s.I-=de+1<>>0):B=de+1,D=B,de=0;256<=D;)de+=8,D>>=8;return D=7^de+Ed[D],s.b-=D,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function mo(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return mo(s,h)|s[h+2]<<16}function sa(s,h){return mo(s,h)|mo(s,h+2)<<16}function ct(s,h){var B=1<=de||0>=xe?0:(B[0]=de,D[0]=xe,1)}function wr(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){It[h]=function(B,D,de,xe,Ne,Ke,qe){var ht;for(ht=0;ht>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Wa(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,D,de,xe,Ne){for(D=xe[Ne-1],B=0;B>8&255,qe=16711935&(qe=(qe=16711935&Ne)+((Ke<<16)+Ke));D[de+xe]=(4278255360&Ne)+qe>>>0}}function Xo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,D,de,xe){var Ne;for(Ne=0;Ne>>8,ht=Ke,Gt=255&(Gt=(Gt=Ke>>>16)+((s.jd<<24>>24)*(qe<<24>>24)>>>5));ht=255&(ht=(ht+=(s.hd<<24>>24)*(qe<<24>>24)>>>5)+((s.ud<<24>>24)*(Gt<<24>>24)>>>5)),de[xe+Ne]=(4278255360&Ke)+(Gt<<16)+ht}}function na(s,h,B,D,de){It[h]=function(xe,Ne,Ke,qe,ht,Gt,En,gt,tn){for(qe=En;qe>xe.b,tn=xe.Ea,vn=xe.K[0],Wn=xe.w;if(8>gt)for(xe=(1<>=gt}else It["VP8LMapColor"+B](qe,ht,vn,Wn,Gt,En,Ne,Ke,tn)}}function Bs(s,h,B,D,de){for(B=h+B;h>16&255,D[de++]=xe>>8&255,D[de++]=255&xe}}function Gi(s,h,B,D,de){for(B=h+B;h>16&255,D[de++]=xe>>8&255,D[de++]=255&xe,D[de++]=xe>>24&255}}function pi(s,h,B,D,de){for(B=h+B;h>16&240|Ne>>12&15,Ne=240&Ne|Ne>>28&15;D[de++]=xe,D[de++]=Ne}}function yi(s,h,B,D,de){for(B=h+B;h>16&248|Ne>>13&7,Ne=Ne>>5&224|Ne>>3&31;D[de++]=xe,D[de++]=Ne}}function XA(s,h,B,D,de){for(B=h+B;h>8&255,D[de++]=xe>>16&255}}function ha(s,h,B,D,de,xe){if(xe==0)for(B=h+B;h>24|xe[1]>>8&65280|xe[2]<<8&16711680|xe[3]<<24)>>>0),de+=32;else r(D,de,s,h,B)}function RA(s,h){It[h][0]=It[s+"0"],It[h][1]=It[s+"1"],It[h][2]=It[s+"2"],It[h][3]=It[s+"3"],It[h][4]=It[s+"4"],It[h][5]=It[s+"5"],It[h][6]=It[s+"6"],It[h][7]=It[s+"7"],It[h][8]=It[s+"8"],It[h][9]=It[s+"9"],It[h][10]=It[s+"10"],It[h][11]=It[s+"11"],It[h][12]=It[s+"12"],It[h][13]=It[s+"13"],It[h][14]=It[s+"0"],It[h][15]=It[s+"0"]}function La(s){return s==dv||s==fv||s==vg||s==hv}function Ga(){this.eb=[],this.size=this.A=this.fb=0}function YA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ga,this.f.kb=new YA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Cl(s,h){var B=s.T,D=h.ba.f.RGBA,de=D.eb,xe=D.fb+s.ka*D.A,Ne=vc[h.ba.S],Ke=s.y,qe=s.O,ht=s.f,Gt=s.N,En=s.ea,gt=s.W,tn=h.cc,vn=h.dc,Wn=h.Mc,wn=h.Nc,Jn=s.ka,rr=s.ka+s.T,Ir=s.U,fr=Ir+1>>1;for(Jn==0?Ne(Ke,qe,null,null,ht,Gt,En,gt,ht,Gt,En,gt,de,xe,null,null,Ir):(Ne(h.ec,h.fc,Ke,qe,tn,vn,Wn,wn,ht,Gt,En,gt,de,xe-D.A,de,xe,Ir),++B);Jn+2B,de=B==fg||B==hg||B==gg||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!e0(h.Oa,s,de?11:12))return 0;if(de&&La(B)&&Yh(),s.da)alert("todo:use_scaling");else{if(D){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Cl,Yh()}}else alert("todo:EmitYUV");de&&(h.Jb=Mu,D&&$c())}if(D&&!ym){for(s=0;256>s;++s)mp[s]=89858*(s-128)+pg>>mg,bp[s]=-22014*(s-128)+pg,yp[s]=-45773*(s-128),pp[s]=113618*(s-128)+pg>>mg;for(s=c0;s>mg,wp[s-c0]=gu(h,255),Cp[s-c0]=gu(h+8>>4,15);ym=1}return 1}function Ia(s){var h=s.ma,B=s.U,D=s.T;return n(!(1&s.ka)),0>=B||0>=D?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,D){return cr(s,8)!=47?0:(h[0]=cr(s,14)+1,B[0]=cr(s,14)+1,D[0]=cr(s,1),cr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var D=Pt(B),de=s[h+=255&D].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var D=s.xc;return n((h=D==0?0:s.vc[s.md*(B>>D)+(h>>D)])>ko.b)*Mo;WnIr&&(zo=Ir),(0,o0[ji[Ks++]>>8&15])(gt,tn+ +li,Jn,rr+li-Ir,zo-li,Jn,rr+li),li=zo}tn+=Ir,rr+=Ir,++Wn&ea||(ko+=Mo)}En!=ht.nc&&r(qe,Ke-vn,qe,Ke+(En-Gt-1)*vn,vn);break;case 1:for(vn=gt,wn=tn,Ir=(gt=ht.Ea)-(rr=gt&~(Jn=(tn=1<>ht.b)*Wn;Gt=de),0xe.o&&(D=xe.o),B=D?B=0:(de[0]+=4*xe.v,xe.ka=B-xe.j,xe.U=xe.va-xe.v,xe.T=D-B,B=1),B){if(Ke=Ke[0],11>(B=s.ca).S){var Gt=B.f.RGBA,En=(D=B.S,de=xe.U,xe=xe.T,ht=Gt.eb,Gt.A),gt=xe;for(Gt=Gt.fb+s.Ma*Gt.A;0D){var de=s.l.width,xe=B.ca,Ne=B.tb+de*D,Ke=s.V,qe=s.Ba+s.c*D,ht=s.gc;n(s.ab==1),n(ht[0].hc==3),yu(ht[0],D,h,Ke,qe,xe,Ne),fu(B,D,h,xe,Ne,de)}s.C=s.Ma=h}function Hc(s,h,B,D,de,xe,Ne){var Ke=s.$/D,qe=s.$%D,ht=s.m,Gt=s.s,En=B+s.$,gt=En;de=B+D*de;var tn=B+D*xe,vn=280+Gt.ua,Wn=s.Pb?Ke:16777216,wn=0=Wn){var ea=En-B;n((Wn=s).Pb),Wn.wd=Wn.m,Wn.xd=ea,0si.g?(rn(fr,fr.u+si.g),ea[Mo]=si.value,fr=0):(rn(fr,fr.u+si.g-256),n(256<=si.value),fr=si.value),fr==0&&(Ir=!0)}else fr=us(rr.G[0],rr.H[0],ht);if(ht.h)break;if(Ir||256>fr){if(!Ir)if(rr.nd)h[En]=(rr.qb|fr<<8)>>>0;else{if(bn(ht),Ir=us(rr.G[1],rr.H[1],ht),bn(ht),ea=us(rr.G[2],rr.H[2],ht),Mo=us(rr.G[3],rr.H[3],ht),ht.h)break;h[En]=(Mo<<24|Ir<<16|fr<<8|ea)>>>0}if(Ir=!1,++En,++qe>=D&&(qe=0,++Ke,Ne!=null&&Ke<=xe&&!(Ke%16)&&Ne(s,Ke),wn!=null))for(;gt>>wn.Mb]=fr}else if(280>fr){if(fr=sc(fr-256,ht),ea=us(rr.G[4],rr.H[4],ht),bn(ht),ea=lc(D,ea=sc(ea,ht)),ht.h)break;if(En-B=D;)qe-=D,++Ke,Ne!=null&&Ke<=xe&&!(Ke%16)&&Ne(s,Ke);if(n(En<=de),qe&Jn&&(rr=ol(Gt,qe,Ke)),wn!=null)for(;gt>>wn.Mb]=fr}else{if(!(fr>>wn.Mb]=fr;fr=En,n(!(Ir>>>(ea=wn).Xa)),h[fr]=ea.X[Ir],Ir=!0}Ir||n(ht.h==kt(ht))}if(s.Pb&&ht.h&&Enxe?xe:Ke),s.a=0,s.$=En-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fm,RA("Predictor","VP8LPredictors"),RA("Predictor","VP8LPredictors_C"),RA("PredictorAdd","VP8LPredictorsAdd"),RA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,a0=ni,i0=Bs,Sd=Gi,Id=pi,Fd=yi,bf=XA,It.VP8LMapColor32b=pu,It.VP8LMapColor8b=r0,s)}function hu(s,h,B,D,de){var xe=1,Ne=[s],Ke=[h],qe=D.m,ht=D.s,Gt=null,En=0;e:for(;;){if(B)for(;xe&&cr(qe,1);){var gt=Ne,tn=Ke,vn=D,Wn=1,wn=vn.m,Jn=vn.gc[vn.ab],rr=cr(wn,2);if(vn.Oc&1<=vn.ab),rr){case 0:case 1:Jn.b=cr(wn,3)+2,Wn=hu(wr(Jn.Ea,Jn.b),wr(Jn.nc,Jn.b),0,vn,Jn.K),Jn.K=Jn.K[0];break;case 3:var Ir,fr=cr(wn,8)+1,ea=16>ko.b),Ks=A(ji);if(Ks==null)Ir=0;else{var li=ko.K[0],zo=ko.w;for(Ks[0]=ko.K[0][0],Mo=1;Mo<1*si;++Mo)Ks[Mo]=xa(li[zo+Mo],Ks[Mo-1]);for(;Mo<4*ji;++Mo)Ks[Mo]=0;ko.K[0]=null,ko.K[0]=Ks,Ir=1}}Wn=Ir;break;case 2:break;default:n(0)}xe=Wn}}if(Ne=Ne[0],Ke=Ke[0],xe&&cr(qe,1)&&!(xe=1<=(En=cr(qe,4))&&11>=En)){D.a=3;break e}var Ao;if(Ao=xe)t:{var Ss,Xa,Zi,ZA=D,Al=Ne,Ul=Ke,ds=En,Bl=B,Ll=ZA.m,$s=ZA.s,Yi=[null],CA=1,fs=0,BA=op[ds];n:for(;;){if(Bl&&cr(Ll,1)){var sl=cr(Ll,3)+2,kc=wr(Al,sl),Is=wr(Ul,sl),jl=kc*Is;if(!hu(kc,Is,0,ZA,Yi))break n;for(Yi=Yi[0],$s.xc=sl,Ss=0;Ss>8&65535;Yi[Ss]=UA,UA>=CA&&(CA=UA+1)}}if(Ll.h)break n;for(Xa=0;5>Xa;++Xa){var Zs=um[Xa];!Xa&&0=Nl),Yl=Xl;var _l=A(fs);if(Yl==null||_l==null||Gl==null){ZA.a=1;break n}var Jl=Gl;for(Ss=Zi=0;SsXa;++Xa){Zs=um[Xa],ql[Xa]=Jl,zc[Xa]=Zi,!Xa&&0xg)break r}else bv=xg;for(d0=0;d0rh)Sm[d0++]=rh,rh!=0&&(Im=rh);else{var Np=rh==16,Um=rh-16,Pp=ep[Um],Lm=cr(Pd,qm[Um])+Pp;if(d0+Lm>xg)break r;for(var Qp=Np?Im:0;0=Xa){var f0,Cv=_l[0];for(f0=1;f0Cv&&(Cv=_l[f0]);ll+=Cv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][zc[3]+0].value<<24|ql[1][zc[1]+0].value<<16|ql[2][zc[2]+0].value)>>>0,Cf==0&&256>ql[0][zc[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][zc[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var Eg,ed=MA;for(Eg=0;Eg>=qs(Sg,8,Rd),Qd>>=qs(ed.G[1][ed.H[1]+Qd],16,Rd),Qd>>=qs(ed.G[2][ed.H[2]+Qd],0,Rd),qs(ed.G[3][ed.H[3]+Qd],24,Rd))}}}$s.vc=Yi,$s.Wb=CA,$s.Ya=Yl,$s.yc=Gl,Ao=1;break t}Ao=0}if(!(xe=Ao)){D.a=3;break e}if(0D+1?[]:0),!(de.lengths?0:s>h?h:s}function Wf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Gg(){var s=new X0;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,l0||(l0=Gf)),s}function Ps(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function Y0(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Ps(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,D=h.w,de=h.ha;if(4>de)return Ps(s,7,"Truncated header.");var xe=B[D+0]|B[D+1]<<8|B[D+2]<<16,Ne=s.Od;if(Ne.Rb=!(1&xe),Ne.td=xe>>1&7,Ne.yd=xe>>4&1,Ne.ub=xe>>5,3de)return Ps(s,7,"cannot parse picture header");if(!Y0(B,D,de))return Ps(s,3,"Bad code word");Ke.c=16383&(B[D+4]<<8|B[D+3]),Ke.Td=B[D+4]>>6,Ke.i=16383&(B[D+6]<<8|B[D+5]),Ke.Ud=B[D+6]>>6,D+=7,de-=7,s.za=Ke.c+15>>4,s.Ub=Ke.i+15>>4,h.width=Ke.c,h.height=Ke.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,a((xe=s.Pa).jb,0,255,xe.jb.length),n((xe=s.Qa)!=null),xe.Cb=0,xe.Bb=0,xe.Fb=1,a(xe.Zb,0,0,xe.Zb.length),a(xe.Lb,0,0,xe.Lb)}if(Ne.ub>de)return Ps(s,7,"bad partition length");Tn(xe=s.m,B,D,Ne.ub),D+=Ne.ub,de-=Ne.ub,Ne.Rb&&(Ke.Ld=Kn(xe),Ke.Kd=Kn(xe)),Ke=s.Qa;var qe,ht=s.Pa;if(n(xe!=null),n(Ke!=null),Ke.Cb=Kn(xe),Ke.Cb){if(Ke.Bb=Kn(xe),Kn(xe)){for(Ke.Fb=Kn(xe),qe=0;4>qe;++qe)Ke.Zb[qe]=Kn(xe)?xn(xe,7):0;for(qe=0;4>qe;++qe)Ke.Lb[qe]=Kn(xe)?xn(xe,6):0}if(Ke.Bb)for(qe=0;3>qe;++qe)ht.jb[qe]=Kn(xe)?Hn(xe,8):255}else Ke.Bb=0;if(xe.Ka)return Ps(s,3,"cannot parse segment header");if((Ke=s.ed).zd=Kn(xe),Ke.Tb=Hn(xe,6),Ke.wb=Hn(xe,3),Ke.Pc=Kn(xe),Ke.Pc&&Kn(xe)){for(ht=0;4>ht;++ht)Kn(xe)&&(Ke.vd[ht]=xn(xe,6));for(ht=0;4>ht;++ht)Kn(xe)&&(Ke.od[ht]=xn(xe,6))}if(s.L=Ke.Tb==0?0:Ke.zd?1:2,xe.Ka)return Ps(s,3,"cannot parse filter header");var Gt=de;if(de=qe=D,D=qe+Gt,Ke=Gt,s.Xb=(1<Ke&&(En=Ke),Tn(s.Jc[+Gt],B,qe,En),qe+=En,Ke-=En,de+=3}Tn(s.Jc[+ht],B,qe,Ke),B=qeEn;++En){if(Gt.Cb){var gt=Gt.Zb[En];Gt.Fb||(gt+=B)}else{if(0>16,8>tn.Eb[1]&&(tn.Eb[1]=8),tn.Qc[0]=gv[gu(gt+ht,117)],tn.Qc[1]=vv[gu(gt+qe,127)],tn.lc=gt+qe}if(!Ne.Rb)return Ps(s,4,"Not a key frame.");for(Kn(xe),Ne=s.Pa,B=0;4>B;++B){for(de=0;8>de;++de)for(D=0;3>D;++D)for(Ke=0;11>Ke;++Ke)ht=or(xe,cp[B][de][D][Ke])?Hn(xe,8):sp[B][de][D][Ke],Ne.Wc[B][de].Yb[D][Ke]=ht;for(de=0;17>de;++de)Ne.Xc[B][de]=Ne.Wc[B][up[de]]}return s.kc=Kn(xe),s.kc&&(s.Bd=Hn(xe,8)),s.cb=1}function Gf(s,h,B,D,de,xe,Ne){var Ke=h[de].Yb[B];for(B=0;16>de;++de){if(!or(s,Ke[B+0]))return de;for(;!or(s,Ke[B+1]);)if(Ke=h[++de].Yb[0],B=0,de==16)return 16;var qe=h[de+1].Yb;if(or(s,Ke[B+2])){var ht=s,Gt=0;if(or(ht,(gt=Ke)[(En=B)+3]))if(or(ht,gt[En+6])){for(Ke=0,En=2*(Gt=or(ht,gt[En+8]))+(gt=or(ht,gt[En+9+Gt])),Gt=0,gt=ip[En];gt[Ke];++Ke)Gt+=Gt+or(ht,gt[Ke]);Gt+=3+(8<(ht=s).b&&_n(ht);var En,gt=ht.b,tn=(En=ht.Ca>>1)-(ht.I>>gt)>>31;--ht.b,ht.Ca+=tn,ht.Ca|=1,ht.I-=(En+1&tn)<>3),s[h+B+32*D]=-256&de?0>de?0:255:de}function js(s,h,B,D,de,xe){dc(s,h,0,B,D+de),dc(s,h,1,B,D+xe),dc(s,h,2,B,D-xe),dc(s,h,3,B,D-de)}function _u(s){return(20091*s>>16)+s}function q0(s,h,B,D){var de,xe=0,Ne=A(16);for(de=0;4>de;++de){var Ke=s[h+0]+s[h+8],qe=s[h+0]-s[h+8],ht=(35468*s[h+4]>>16)-_u(s[h+12]),Gt=_u(s[h+4])+(35468*s[h+12]>>16);Ne[xe+0]=Ke+Gt,Ne[xe+1]=qe+ht,Ne[xe+2]=qe-ht,Ne[xe+3]=Ke-Gt,xe+=4,h++}for(de=xe=0;4>de;++de)Ke=(s=Ne[xe+0]+4)+Ne[xe+8],qe=s-Ne[xe+8],ht=(35468*Ne[xe+4]>>16)-_u(Ne[xe+12]),dc(B,D,0,0,Ke+(Gt=_u(Ne[xe+4])+(35468*Ne[xe+12]>>16))),dc(B,D,1,0,qe+ht),dc(B,D,2,0,qe-ht),dc(B,D,3,0,Ke-Gt),xe++,D+=32}function Xg(s,h,B,D){var de=s[h+0]+4,xe=35468*s[h+4]>>16,Ne=_u(s[h+4]),Ke=35468*s[h+1]>>16;js(B,D,0,de+Ne,s=_u(s[h+1]),Ke),js(B,D,1,de+xe,s,Ke),js(B,D,2,de-xe,s,Ke),js(B,D,3,de-Ne,s,Ke)}function Yg(s,h,B,D,de){q0(s,h,B,D),de&&q0(s,h+16,B,D+4)}function mu(s,h,B,D){wf(s,h+0,B,D,1),wf(s,h+32,B,D+128,1)}function eg(s,h,B,D){var de;for(s=s[h+0]+4,de=0;4>de;++de)for(h=0;4>h;++h)dc(B,D,h,de,s)}function tg(s,h,B,D){s[h+0]&&hA(s,h+0,B,D),s[h+16]&&hA(s,h+16,B,D+4),s[h+32]&&hA(s,h+32,B,D+128),s[h+48]&&hA(s,h+48,B,D+128+4)}function Xf(s,h,B,D){var de,xe=A(16);for(de=0;4>de;++de){var Ne=s[h+0+de]+s[h+12+de],Ke=s[h+4+de]+s[h+8+de],qe=s[h+4+de]-s[h+8+de],ht=s[h+0+de]-s[h+12+de];xe[0+de]=Ne+Ke,xe[8+de]=Ne-Ke,xe[4+de]=ht+qe,xe[12+de]=ht-qe}for(de=0;4>de;++de)Ne=(s=xe[0+4*de]+3)+xe[3+4*de],Ke=xe[1+4*de]+xe[2+4*de],qe=xe[1+4*de]-xe[2+4*de],ht=s-xe[3+4*de],B[D+0]=Ne+Ke>>3,B[D+16]=ht+qe>>3,B[D+32]=Ne-Ke>>3,B[D+48]=ht-qe>>3,D+=64}function lf(s,h,B){var D,de=h-32,xe=Wl,Ne=255-s[de-1];for(D=0;DB;++B)r(s,h+32*B,s,h-32,16)}function ng(s,h){var B;for(B=16;0D;++D)a(h,B+32*D,s,16)}function tv(s,h){var B,D=16;for(B=0;16>B;++B)D+=s[h-1+32*B]+s[h+B-32];Kc(D>>5,s,h)}function cf(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h-1+32*B];Kc(D>>4,s,h)}function Zh(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h+B-32];Kc(D>>4,s,h)}function nv(s,h){Kc(128,s,h)}function Ha(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,D=h-32;for(D=new Uint8Array([Ha(s[D-1],s[D+0],s[D+1]),Ha(s[D+0],s[D+1],s[D+2]),Ha(s[D+1],s[D+2],s[D+3]),Ha(s[D+2],s[D+3],s[D+4])]),B=0;4>B;++B)r(s,h+32*B,D,0,D.length)}function ov(s,h){var B=s[h-1],D=s[h-1+32],de=s[h-1+64],xe=s[h-1+96];Nr(s,h+0,16843009*Ha(s[h-1-32],B,D)),Nr(s,h+32,16843009*Ha(B,D,de)),Nr(s,h+64,16843009*Ha(D,de,xe)),Nr(s,h+96,16843009*Ha(de,xe,xe))}function av(s,h){var B,D=4;for(B=0;4>B;++B)D+=s[h+B-32]+s[h-1+32*B];for(D>>=3,B=0;4>B;++B)a(s,h+32*B,D,4)}function Hu(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1-32],Ne=s[h+0-32],Ke=s[h+1-32],qe=s[h+2-32],ht=s[h+3-32];s[h+0+96]=Ha(D,de,s[h-1+96]),s[h+1+96]=s[h+0+64]=Ha(B,D,de),s[h+2+96]=s[h+1+64]=s[h+0+32]=Ha(xe,B,D),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=Ha(Ne,xe,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=Ha(Ke,Ne,xe),s[h+3+32]=s[h+2+0]=Ha(qe,Ke,Ne),s[h+3+0]=Ha(ht,qe,Ke)}function Ku(s,h){var B=s[h+1-32],D=s[h+2-32],de=s[h+3-32],xe=s[h+4-32],Ne=s[h+5-32],Ke=s[h+6-32],qe=s[h+7-32];s[h+0+0]=Ha(s[h+0-32],B,D),s[h+1+0]=s[h+0+32]=Ha(B,D,de),s[h+2+0]=s[h+1+32]=s[h+0+64]=Ha(D,de,xe),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=Ha(de,xe,Ne),s[h+3+32]=s[h+2+64]=s[h+1+96]=Ha(xe,Ne,Ke),s[h+3+64]=s[h+2+96]=Ha(Ne,Ke,qe),s[h+3+96]=Ha(Ke,qe,qe)}function iv(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1-32],Ne=s[h+0-32],Ke=s[h+1-32],qe=s[h+2-32],ht=s[h+3-32];s[h+0+0]=s[h+1+64]=xe+Ne+1>>1,s[h+1+0]=s[h+2+64]=Ne+Ke+1>>1,s[h+2+0]=s[h+3+64]=Ke+qe+1>>1,s[h+3+0]=qe+ht+1>>1,s[h+0+96]=Ha(de,D,B),s[h+0+64]=Ha(D,B,xe),s[h+0+32]=s[h+1+96]=Ha(B,xe,Ne),s[h+1+32]=s[h+2+96]=Ha(xe,Ne,Ke),s[h+2+32]=s[h+3+96]=Ha(Ne,Ke,qe),s[h+3+32]=Ha(Ke,qe,ht)}function Av(s,h){var B=s[h+0-32],D=s[h+1-32],de=s[h+2-32],xe=s[h+3-32],Ne=s[h+4-32],Ke=s[h+5-32],qe=s[h+6-32],ht=s[h+7-32];s[h+0+0]=B+D+1>>1,s[h+1+0]=s[h+0+64]=D+de+1>>1,s[h+2+0]=s[h+1+64]=de+xe+1>>1,s[h+3+0]=s[h+2+64]=xe+Ne+1>>1,s[h+0+32]=Ha(B,D,de),s[h+1+32]=s[h+0+96]=Ha(D,de,xe),s[h+2+32]=s[h+1+96]=Ha(de,xe,Ne),s[h+3+32]=s[h+2+96]=Ha(xe,Ne,Ke),s[h+3+64]=Ha(Ne,Ke,qe),s[h+3+96]=Ha(Ke,qe,ht)}function Yf(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1+96];s[h+0+0]=B+D+1>>1,s[h+2+0]=s[h+0+32]=D+de+1>>1,s[h+2+32]=s[h+0+64]=de+xe+1>>1,s[h+1+0]=Ha(B,D,de),s[h+3+0]=s[h+1+32]=Ha(D,de,xe),s[h+3+32]=s[h+1+64]=Ha(de,xe,xe),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=xe}function kh(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1+96],Ne=s[h-1-32],Ke=s[h+0-32],qe=s[h+1-32],ht=s[h+2-32];s[h+0+0]=s[h+2+32]=B+Ne+1>>1,s[h+0+32]=s[h+2+64]=D+B+1>>1,s[h+0+64]=s[h+2+96]=de+D+1>>1,s[h+0+96]=xe+de+1>>1,s[h+3+0]=Ha(Ke,qe,ht),s[h+2+0]=Ha(Ne,Ke,qe),s[h+1+0]=s[h+3+32]=Ha(B,Ne,Ke),s[h+1+32]=s[h+3+64]=Ha(D,B,Ne),s[h+1+64]=s[h+3+96]=Ha(de,D,B),s[h+1+96]=Ha(xe,de,D)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)a(s,h,s[h-1],8),h+=32}function $u(s,h,B){var D;for(D=0;8>D;++D)a(h,B+32*D,s,8)}function lv(s,h){var B,D=8;for(B=0;8>B;++B)D+=s[h+B-32]+s[h-1+32*B];$u(D>>4,s,h)}function zh(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h+B-32];$u(D>>3,s,h)}function Vh(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h-1+32*B];$u(D>>3,s,h)}function rg(s,h){$u(128,s,h)}function Zu(s,h,B){var D=s[h-B],de=s[h+0],xe=3*(de-D)+cv[1020+s[h-2*B]-s[h+B]],Ne=ug[112+(xe+4>>3)];s[h-B]=Wl[255+D+ug[112+(xe+3>>3)]],s[h+0]=Wl[255+de-Ne]}function Wh(s,h,B,D){var de=s[h+0],xe=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>D||gc[255+xe-de]>D}function Jf(s,h,B,D){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=D}function Gh(s,h,B,D,de){var xe=s[h-3*B],Ne=s[h-2*B],Ke=s[h-B],qe=s[h+0],ht=s[h+B],Gt=s[h+2*B],En=s[h+3*B];return 4*gc[255+Ke-qe]+gc[255+Ne-ht]>D?0:gc[255+s[h-4*B]-xe]<=de&&gc[255+xe-Ne]<=de&&gc[255+Ne-Ke]<=de&&gc[255+En-Gt]<=de&&gc[255+Gt-ht]<=de&&gc[255+ht-qe]<=de}function df(s,h,B,D){var de=2*D+1;for(D=0;16>D;++D)Jf(s,h+D,B,de)&&Zu(s,h+D,B)}function Xh(s,h,B,D){var de=2*D+1;for(D=0;16>D;++D)Jf(s,h+D*B,1,de)&&Zu(s,h+D*B,1)}function og(s,h,B,D){var de;for(de=3;0>7,Jn=18*rr+63>>7,rr=9*rr+63>>7;qe[ht-3*Gt]=Wl[255+qe[ht-3*Gt]+rr],qe[ht-2*Gt]=Wl[255+En+Jn],qe[ht-Gt]=Wl[255+gt+wn],qe[ht+0]=Wl[255+tn-wn],qe[ht+Gt]=Wl[255+vn-Jn],qe[ht+2*Gt]=Wl[255+Wn-rr]}h+=D}}function zu(s,h,B,D,de,xe,Ne,Ke){for(xe=2*xe+1;0>3)],Wn=ug[112+(Wn+3>>3)],wn=vn+1>>1;qe[ht-2*Gt]=Wl[255+qe[ht-2*Gt]+wn],qe[ht-Gt]=Wl[255+En+Wn],qe[ht+0]=Wl[255+gt-vn],qe[ht+Gt]=Wl[255+tn-wn]}h+=D}}function ig(s,h,B,D,de,xe){ku(s,h,B,1,16,D,de,xe)}function ff(s,h,B,D,de,xe){ku(s,h,1,B,16,D,de,xe)}function Ag(s,h,B,D,de,xe){var Ne;for(Ne=3;0ht?0:255:ht)&255,ht=qe,de[xe+Ke]=Gt}}function DA(s,h,B,D){var de=h.width,xe=h.o;if(n(s!=null&&h!=null),0>B||0>=D||B+D>xe)return null;if(!s.Cc){if(s.ga==null){var Ne;if(s.ga=new ri,(Ne=s.ga==null)||(Ne=h.width*h.o,n(s.Gb.length==0),s.Gb=A(Ne),s.Uc=0,s.Gb==null?Ne=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,Ne=1),Ne=!Ne),!Ne){Ne=s.ga;var Ke=s.Fa,qe=s.P,ht=s.qc,Gt=s.mb,En=s.nb,gt=qe+1,tn=ht-1,vn=Ne.l;if(n(Ke!=null&&Gt!=null&&h!=null),Ld[0]=null,Ld[1]=Xi,Ld[2]=ns,Ld[3]=Qs,Ne.ca=Gt,Ne.tb=En,Ne.c=h.width,Ne.i=h.height,n(0=ht)h=0;else if(Ne.$a=3&Ke[qe+0],Ne.Z=Ke[qe+0]>>2&3,Ne.Lc=Ke[qe+0]>>4&3,qe=Ke[qe+0]>>6&3,0>Ne.$a||1=Ne.c*Ne.i;Ne=!h}if(Ne)return null;s.ga.Lc!=1?s.Ga=0:D=xe-B}n(s.ga!=null),n(B+D<=xe);e:{if(h=(Ke=s.ga).c,xe=Ke.l.o,Ke.$a==0){if(gt=s.rc,tn=s.Vc,vn=s.Fa,qe=s.P+1+B*h,ht=s.mb,Gt=s.nb+B*h,n(qe<=s.P+s.qc),Ke.Z!=0)for(n(Ld[Ke.Z]!=null),Ne=0;Ne=h)h=1;else if(Ke.ic||$c(),Ke.ic){Ke=Ne.V,gt=Ne.Ba,tn=Ne.c;var Wn=Ne.i,wn=(vn=1,qe=Ne.$/tn,ht=Ne.$%tn,Gt=Ne.m,En=Ne.s,Ne.$),Jn=tn*Wn,rr=tn*h,Ir=En.wc,fr=wn(Wn=us(fr.G[0],fr.H[0],Gt)))Ke[gt+wn]=Wn,++wn,++ht>=tn&&(ht=0,++qe<=h&&!(qe%16)&&_c(Ne,qe));else{if(!(280>Wn)){vn=0;break t}Wn=sc(Wn-256,Gt);var ea,Mo=us(fr.G[4],fr.H[4],Gt);if(bn(Gt),!(wn>=(Mo=lc(tn,Mo=sc(Mo,Gt)))&&Jn-wn>=Wn)){vn=0;break t}for(ea=0;ea=tn;)ht-=tn,++qe<=h&&!(qe%16)&&_c(Ne,qe);wnh?h:qe);break t}!vn||Gt.h&&wn=xe&&(s.Cc=1),D=1}if(!D)return null;if(s.Cc&&((D=s.ga)!=null&&(D.mc=null),s.ga=null,0>23,Ke[qe+4*Ne+1]=Ke[qe+4*Ne+1]*En>>23,Ke[qe+4*Ne+2]=Ke[qe+4*Ne+2]*En>>23)}h+=xe}}function Rs(s,h,B,D,de){for(;0>4)*qe>>16;s[h+2*xe+0]=(240&Ne|Ne>>4)*qe>>16&240|(15&Ne|Ne<<4)*qe>>16>>4&15,s[h+2*xe+1]=240&ht|Ke}h+=de}}function al(s,h,B,D,de,xe,Ne,Ke){var qe,ht,Gt=255;for(ht=0;ht>8}function $c(){s0=_s,tm=Rs,nm=al,rm=Vu}function Wu(s,h,B){It[s]=function(D,de,xe,Ne,Ke,qe,ht,Gt,En,gt,tn,vn,Wn,wn,Jn,rr,Ir){var fr,ea=Ir-1>>1,Mo=Ke[qe+0]|ht[Gt+0]<<16,si=En[gt+0]|tn[vn+0]<<16;n(D!=null);var ko=3*Mo+si+131074>>2;for(h(D[de+0],255&ko,ko>>16,Wn,wn),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Ne+0],255&ko,ko>>16,Jn,rr)),fr=1;fr<=ea;++fr){var ji=Ke[qe+fr]|ht[Gt+fr]<<16,Ks=En[gt+fr]|tn[vn+fr]<<16,li=Mo+ji+si+Ks+524296,zo=li+2*(ji+si)>>3;ko=zo+Mo>>1,Mo=(li=li+2*(Mo+Ks)>>3)+ji>>1,h(D[de+2*fr-1],255&ko,ko>>16,Wn,wn+(2*fr-1)*B),h(D[de+2*fr-0],255&Mo,Mo>>16,Wn,wn+(2*fr-0)*B),xe!=null&&(ko=li+si>>1,Mo=zo+Ks>>1,h(xe[Ne+2*fr-1],255&ko,ko>>16,Jn,rr+(2*fr-1)*B),h(xe[Ne+2*fr+0],255&Mo,Mo>>16,Jn,rr+(2*fr+0)*B)),Mo=ji,si=Ks}1&Ir||(ko=3*Mo+si+131074>>2,h(D[de+Ir-1],255&ko,ko>>16,Wn,wn+(Ir-1)*B),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Ne+Ir-1],255&ko,ko>>16,Jn,rr+(Ir-1)*B)))}}function Yh(){vc[dg]=fp,vc[fg]=hm,vc[lm]=hp,vc[hg]=gm,vc[gg]=vm,vc[uv]=mm,vc[cm]=gp,vc[dv]=hm,vc[fv]=gm,vc[vg]=vm,vc[hv]=mm}function qf(s){return s&~vp?0>s?0:255:s>>pm}function wd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Cd(s,h,B,D,de){D[de+0]=wd(s,B),D[de+1]=hf(s,h,B),D[de+2]=gf(s,h)}function il(s,h,B,D,de){D[de+0]=gf(s,h),D[de+1]=hf(s,h,B),D[de+2]=wd(s,B)}function vf(s,h,B,D,de){var xe=hf(s,h,B);h=xe<<3&224|gf(s,h)>>3,D[de+0]=248&wd(s,B)|xe>>5,D[de+1]=h}function mf(s,h,B,D,de){var xe=240&gf(s,h)|15;D[de+0]=240&wd(s,B)|hf(s,h,B)>>4,D[de+1]=xe}function Jh(s,h,B,D,de){D[de+0]=255,Cd(s,h,B,D,de+1)}function qh(s,h,B,D,de){il(s,h,B,D,de),D[de+3]=255}function Ol(s,h,B,D,de){Cd(s,h,B,D,de),D[de+3]=255}function Gu(s,h,B){It[s]=function(D,de,xe,Ne,Ke,qe,ht,Gt,En){for(var gt=Gt+(-2&En)*B;Gt!=gt;)h(D[de+0],xe[Ne+0],Ke[qe+0],ht,Gt),h(D[de+1],xe[Ne+0],Ke[qe+0],ht,Gt+B),de+=2,++Ne,++qe,Gt+=2*B;1&En&&h(D[de+0],xe[Ne+0],Ke[qe+0],ht,Gt)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function sg(s,h,B,D,de){switch(s>>>30){case 3:wf(h,B,D,de,0);break;case 2:hc(h,B,D,de);break;case 1:hA(h,B,D,de)}}function fc(s,h){var B,D,de=h.M,xe=h.Nb,Ne=s.oc,Ke=s.pc+40,qe=s.oc,ht=s.pc+584,Gt=s.oc,En=s.pc+600;for(B=0;16>B;++B)Ne[Ke+32*B-1]=129;for(B=0;8>B;++B)qe[ht+32*B-1]=129,Gt[En+32*B-1]=129;for(0B;++B)r(Ne,Ke+32*B-4,Ne,Ke+32*B+12,4);for(B=-1;8>B;++B)r(qe,ht+32*B-4,qe,ht+32*B+4,4),r(Gt,En+32*B-4,Gt,En+32*B+4,4)}var tn=s.Gd,vn=s.Hd+D,Wn=gt.ad,wn=gt.Hc;if(0=s.za-1?a(Jn,rr,tn[vn].y[15],4):r(Jn,rr,tn[vn+1].y,0,4)),B=0;4>B;B++)Jn[rr+128+B]=Jn[rr+256+B]=Jn[rr+384+B]=Jn[rr+0+B];for(B=0;16>B;++B,wn<<=2)Jn=Ne,rr=Ke+bm[B],Zc[gt.Ob[B]](Jn,rr),sg(wn,Wn,16*+B,Jn,rr)}else if(Jn=eh(D,de,gt.Ob[0]),Ud[Jn](Ne,Ke),wn!=0)for(B=0;16>B;++B,wn<<=2)sg(wn,Wn,16*+B,Ne,Ke+bm[B]);for(B=gt.Gc,Jn=eh(D,de,gt.Dd),Ju[Jn](qe,ht),Ju[Jn](Gt,En),wn=Wn,Jn=qe,rr=ht,255&(gt=0|B)&&(170>?bu(wn,256,Jn,rr):OA(wn,256,Jn,rr)),gt=Gt,wn=En,255&(B>>=8)&&(170&B?bu(Wn,320,gt,wn):OA(Wn,320,gt,wn)),deB;++B)r(tn,vn+B*s.R,Ne,Ke+32*B,16);for(B=0;8>B;++B)r(Wn,gt+B*s.B,qe,ht+32*B,8),r(wn,Jn+B*s.B,Gt,En+32*B,8)}}function pf(s,h,B,D,de,xe,Ne,Ke,qe){var ht=[0],Gt=[0],En=0,gt=qe!=null?qe.kd:0,tn=qe!=null?qe:new dr;if(s==null||12>B)return 7;tn.data=s,tn.w=h,tn.ha=B,h=[h],B=[B],tn.gb=[tn.gb];e:{var vn=h,Wn=B,wn=tn.gb;if(n(s!=null),n(Wn!=null),n(wn!=null),wn[0]=0,12<=Wn[0]&&!t(s,vn[0],"RIFF")){if(t(s,vn[0]+8,"WEBP")){wn=3;break e}var Jn=sa(s,vn[0]+4);if(12>Jn||4294967286Wn[0]-8){wn=7;break e}wn[0]=Jn,vn[0]+=12,Wn[0]-=12}wn=0}if(wn!=0)return wn;for(Jn=0wn[0])wn=7;else{if(!t(rr,Wn[0],"VP8X")){if(sa(rr,Wn[0]+4)!=10){wn=3;break e}if(18>wn[0]){wn=7;break e}var Mo=sa(rr,Wn[0]+8),si=1+ho(rr,Wn[0]+12);if(2147483648<=si*(rr=1+ho(rr,Wn[0]+15))){wn=3;break e}ea!=null&&(ea[0]=Mo),Ir!=null&&(Ir[0]=si),fr!=null&&(fr[0]=rr),Wn[0]+=18,wn[0]-=18,ko[0]=1}wn=0}}if(En=En[0],vn=vn[0],wn!=0)return wn;if(Wn=!!(2&vn),!Jn&&En)return 3;if(xe!=null&&(xe[0]=!!(16&vn)),Ne!=null&&(Ne[0]=Wn),Ke!=null&&(Ke[0]=0),Ne=ht[0],vn=Gt[0],En&&Wn&&qe==null){wn=0;break}if(4>B){wn=7;break}if(Jn&&En||!Jn&&!En&&!t(s,h[0],"ALPH")){B=[B],tn.na=[tn.na],tn.P=[tn.P],tn.Sa=[tn.Sa];e:{Mo=s,wn=h,Jn=B;var ko=tn.gb;Ir=tn.na,fr=tn.P,ea=tn.Sa,si=22,n(Mo!=null),n(Jn!=null),rr=wn[0];var ji=Jn[0];for(n(Ir!=null),n(ea!=null),Ir[0]=null,fr[0]=null,ea[0]=0;;){if(wn[0]=rr,Jn[0]=ji,8>ji){wn=7;break e}var Ks=sa(Mo,rr+4);if(4294967286ko){wn=3;break e}if(!t(Mo,rr,"VP8 ")||!t(Mo,rr,"VP8L")){wn=0;break e}if(ji[0]Jn[0])wn=7;else{if(rr||si){if(ko=sa(ko,Mo+4),12<=Ir&&ko>Ir-12){wn=3;break e}if(gt&&ko>Jn[0]-8){wn=7;break e}fr[0]=ko,wn[0]+=8,Jn[0]-=8,ea[0]=si}else ea[0]=5<=Jn[0]&&ko[Mo+0]==47&&!(ko[Mo+4]>>5),fr[0]=Jn[0];wn=0}if(B=B[0],tn.Ja=tn.Ja[0],tn.xa=tn.xa[0],h=h[0],wn!=0)break;if(4294967286B){wn=7;break}Ke=Ne,gt=vn,Wn=xe,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?(Jn=[0],ko=[0],Ir=[0],Zn(fr=new xt,s,h,B),ju(fr,Jn,ko,Ir)?(Ke!=null&&(Ke[0]=Jn[0]),gt!=null&&(gt[0]=ko[0]),Wn!=null&&(Wn[0]=Ir[0]),s=1):s=0):s=0}else{if(10>B){wn=7;break}Ke=vn,s==null||10>B||!Y0(s,h+3,B-3)?s=0:(gt=s[h+0]|s[h+1]<<8|s[h+2]<<16,Wn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1>||3<(gt>>1&7)||!(gt>>4&1)||gt>>5>=tn.Ja||!Wn||!s?s=0:(Ne&&(Ne[0]=Wn),Ke&&(Ke[0]=s),s=1))}if(!s||(Ne=Ne[0],vn=vn[0],En&&(ht[0]!=Ne||Gt[0]!=vn)))return 3;qe!=null&&(qe[0]=tn,qe.offset=h-qe.w,n(4294967286>h-qe.w),n(qe.offset==qe.ha-B));break}return wn==0||wn==7&&En&&qe==null?(xe!=null&&(xe[0]|=tn.na!=null&&0B||(xe&=-2,Ne&=-2),0>xe||0>Ne||0>=Ke||0>=qe||xe+Ke>D||Ne+qe>de))return 0;if(h.v=xe,h.j=Ne,h.va=xe+Ke,h.o=Ne+qe,h.U=Ke,h.T=qe,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Bd(s,h,B,D){if(D==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var de=B.cd,xe=B.bd,Ne=-2&B.v,Ke=-2&B.j;if(0>Ne||0>Ke||0>=de||0>=xe||Ne+de>s||Ke+xe>h)return 2;s=de,h=xe}if(B.da){if(!Ba(s,h,de=[B.ib],xe=[B.hb]))return 2;s=de[0],h=xe[0]}}D.width=s,D.height=h;e:{var qe=D.width,ht=D.height;if(s=D.S,0>=qe||0>=ht||!(s>=dg&&13>s))s=2;else{if(0>=D.Rd&&D.sd==null){Ne=xe=de=h=0;var Gt=(Ke=qe*wm[s])*ht;if(11>s||(xe=(ht+1)/2*(h=(qe+1)/2),s==12&&(Ne=(de=qe)*ht)),(ht=A(Gt+2*xe+Ne))==null){s=1;break e}D.sd=ht,11>s?((qe=D.f.RGBA).eb=ht,qe.fb=0,qe.A=Ke,qe.size=Gt):((qe=D.f.kb).y=ht,qe.O=0,qe.fa=Ke,qe.Fd=Gt,qe.f=ht,qe.N=0+Gt,qe.Ab=h,qe.Cd=xe,qe.ea=ht,qe.W=0+Gt+xe,qe.Db=h,qe.Ed=xe,s==12&&(qe.F=ht,qe.J=0+Gt+2*xe),qe.Tc=Ne,qe.lb=de)}if(h=1,de=D.S,xe=D.width,Ne=D.height,de>=dg&&13>de)if(11>de)s=D.f.RGBA,h&=(Ke=Math.abs(s.A))*(Ne-1)+xe<=s.size,h&=Ke>=xe*wm[de],h&=s.eb!=null;else{s=D.f.kb,Ke=(xe+1)/2,Gt=(Ne+1)/2,qe=Math.abs(s.fa),ht=Math.abs(s.Ab);var En=Math.abs(s.Db),gt=Math.abs(s.lb),tn=gt*(Ne-1)+xe;h&=qe*(Ne-1)+xe<=s.Fd,h&=ht*(Gt-1)+Ke<=s.Cd,h=(h&=En*(Gt-1)+Ke<=s.Ed)&qe>=xe&ht>=Ke&En>=Ke,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,de==12&&(h&=gt>=xe,h&=tn<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=t0(D)),s}var yf=64,zl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Vl=24,xd=32,Xu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),It.Predictor0=function(){return 4278190080},It.Predictor1=function(s){return s},It.Predictor2=function(s,h,B){return h[B+0]},It.Predictor3=function(s,h,B){return h[B+1]},It.Predictor4=function(s,h,B){return h[B-1]},It.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},It.Predictor6=function(s,h,B){return ua(s,h[B-1])},It.Predictor7=function(s,h,B){return ua(s,h[B+0])},It.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},It.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},It.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},It.Predictor11=function(s,h,B){var D=h[B+0];return 0>=Wa(D>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Wa(D>>16&255,s>>16&255,h>>16&255)+Wa(D>>8&255,s>>8&255,h>>8&255)+Wa(255&D,255&s,255&h)?D:s},It.Predictor12=function(s,h,B){var D=h[B+0];return(dA((s>>24&255)+(D>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(D>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(D>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&D)-(255&h)))>>>0},It.Predictor13=function(s,h,B){var D=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,D>>24&255)<<24|Li(s>>16&255,D>>16&255)<<16|Li(s>>8&255,D>>8&255)<<8|Li(255&s,255&D))>>>0};var n0=It.PredictorAdd0;It.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=It.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,lg=It.ColorIndexInverseTransform,pu=It.MapARGB,yu=It.VP8LColorIndexInverseTransformAlpha,r0=It.MapAlpha,o0=It.VP8LPredictorsAdd=[];o0.length=16,(It.VP8LPredictors=[]).length=16,(It.VP8LPredictorsAdd_C=[]).length=16,(It.VP8LPredictors_C=[]).length=16;var a0,i0,Sd,Id,Fd,bf,Od,wf,hc,bu,hA,OA,Es,Hs,Yu,A0,nh,cg,Gv,Xv,Yv,Jv,qv,em,s0,tm,nm,rm,om=A(511),am=A(2041),im=A(225),Am=A(767),sm=0,cv=am,ug=im,Wl=Am,gc=om,dg=0,fg=1,lm=2,hg=3,gg=4,uv=5,cm=6,dv=7,fv=8,vg=9,hv=10,qm=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],op=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ap=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,ip=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ap=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],Zc=[],Ju=[],dp=1,fm=2,Ld=[],vc=[];Wu("UpsampleRgbLinePair",Cd,3),Wu("UpsampleBgrLinePair",il,3),Wu("UpsampleRgbaLinePair",Ol,4),Wu("UpsampleBgraLinePair",qh,4),Wu("UpsampleArgbLinePair",Jh,4),Wu("UpsampleRgba4444LinePair",mf,2),Wu("UpsampleRgb565LinePair",vf,2);var fp=It.UpsampleRgbLinePair,hp=It.UpsampleBgrLinePair,hm=It.UpsampleRgbaLinePair,gm=It.UpsampleBgraLinePair,vm=It.UpsampleArgbLinePair,mm=It.UpsampleRgba4444LinePair,gp=It.UpsampleRgb565LinePair,mg=16,pg=1<D.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),D.ca.f.kb.F!=null&&$c()),D.Pb&&0(qe=B.Md)?0:100ht;++ht)12>(En=de.pb[ht]).lc&&(En.ia=qe*Bp[0>En.lc?0:En.lc]>>3),Gt|=En.ia;Gt&&(alert("todo:VP8InitRandom"),de.ia=1)}de.Ga=B.Id,100de.Ga&&(de.Ga=0)}(function(gt,tn){if(gt==null)return 0;if(tn==null)return Ps(gt,2,"NULL VP8Io parameter in VP8Decode().");if(!gt.cb&&!vu(gt,tn))return 0;if(n(gt.cb),tn.ac==null||tn.ac(tn)){tn.ob&&(gt.L=0);var vn=yg[gt.L];if(gt.L==2?(gt.yb=0,gt.zb=0):(gt.yb=tn.v-vn>>4,gt.zb=tn.j-vn>>4,0>gt.yb&&(gt.yb=0),0>gt.zb&&(gt.zb=0)),gt.Va=tn.o+15+vn>>4,gt.Hb=tn.va+15+vn>>4,gt.Hb>gt.za&&(gt.Hb=gt.za),gt.Va>gt.Ub&&(gt.Va=gt.Ub),0vn;++vn){var wn;if(gt.Qa.Cb){var Jn=gt.Qa.Lb[vn];gt.Qa.Fb||(Jn+=Wn.Tb)}else Jn=Wn.Tb;for(wn=0;1>=wn;++wn){var rr=gt.gd[vn][wn],Ir=Jn;if(Wn.Pc&&(Ir+=Wn.vd[0],wn&&(Ir+=Wn.od[0])),0<(Ir=0>Ir?0:63>2:fr>>1)>9-Wn.wb&&(fr=9-Wn.wb),1>fr&&(fr=1),rr.dd=fr,rr.tc=2*Ir+fr,rr.ld=40<=Ir?2:15<=Ir?1:0}else rr.tc=0;rr.La=wn}}}vn=0}else Ps(gt,6,"Frame setup failed"),vn=gt.a;if(vn=vn==0){if(vn){gt.$c=0,0gt.Vb){if(gt.Vb=0,gt.Ec=A(rr),gt.Fc=0,gt.Ec==null){vn=Ps(gt,1,"no memory during frame initialization.");break t}gt.Vb=rr}rr=gt.Ec,Ir=gt.Fc,gt.Ac=rr,gt.Bc=Ir,Ir+=Wn,gt.Gd=v(ea,G0),gt.Hd=0,gt.rb=v(Mo+1,Hh),gt.sb=1,gt.wa=si?v(si,uc):null,gt.Y=0,gt.D.Nb=0,gt.D.wa=gt.wa,gt.D.Y=gt.Y,0=vn;++vn)om[255+vn]=0>vn?-vn:vn;for(vn=-1020;1020>=vn;++vn)am[1020+vn]=-128>vn?-128:127=vn;++vn)im[112+vn]=-16>vn?-16:15=vn;++vn)Am[255+vn]=0>vn?0:255Zi;++Zi){var $s,Yi=Ul[0+Zi];for($s=0;4>$s;++$s){Yi=lp[ZA[Al+$s]][Yi];for(var CA=dm[or(Xa,Yi[0])];0>3;for(CA=0;256>CA;CA+=16)Zi[Bl+CA]=jl}sl=1,kc=Al[0]}var UA=15&Xa.la,Zs=15&Ll.la;for(CA=0;4>CA;++CA){var Gl=1&Zs;for(jl=BA=0;4>jl;++jl)UA=UA>>1|(Gl=(Is=l0(ZA,kc,Is=Gl+(1&UA),ds.Sc,sl,Zi,Bl))>sl)<<7,BA=BA<<2|(3>=4,Zs=Zs>>1|Gl<<7,$s=($s<<8|BA)>>>0}for(kc=UA,sl=Zs>>4,fs=0;4>fs;fs+=2){for(BA=0,UA=Xa.la>>4+fs,Zs=Ll.la>>4+fs,CA=0;2>CA;++CA){for(Gl=1&Zs,jl=0;2>jl;++jl)Is=Gl+(1&UA),UA=UA>>1|(Gl=0<(Is=l0(ZA,Al[2],Is,ds.Qc,0,Zi,Bl)))<<3,BA=BA<<2|(3>=2,Zs=Zs>>1|Gl<<5}Yi|=BA<<4*fs,kc|=UA<<4<=zo.zb&&zo.M<=zo.Va,zo.Aa==0)t:{if(li.M=zo.M,li.uc=Xa,fc(zo,li),Ss=1,li=(BA=zo.D).Nb,Xa=(Yi=yg[zo.L])*zo.R,ZA=Yi/2*zo.B,CA=16*li*zo.R,jl=8*li*zo.B,Al=zo.sa,Ul=zo.ta-Xa+CA,ds=zo.qa,Zi=zo.ra-ZA+jl,Bl=zo.Ha,Ll=zo.Ia-ZA+jl,Zs=(UA=BA.M)==0,$s=UA>=zo.Va-1,zo.Aa==2&&fc(zo,BA),BA.uc)for(Gl=(Is=zo).D.M,n(Is.D.uc),BA=Is.yb;BAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,zo.Fa!=null&&0>1),Ao.W+=zo.B*(Yi>>1),Ao.F!=null&&(Ao.J+=Ao.width*Yi)),BA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=BA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-BA,Ss=Ao.put(Ao))}li+1!=zo.Ic||$s||(r(zo.sa,zo.ta-Xa,Al,Ul+16*zo.R,Xa),r(zo.qa,zo.ra-ZA,ds,Zi+8*zo.B,ZA),r(zo.Ha,zo.Ia-ZA,Bl,Ll+8*zo.B,ZA))}if(!Ss)return Ps(ji,6,"Output aborted.")}return 1}(gt,tn)),tn.bc!=null&&tn.bc(tn),vn&=1}return vn?(gt.cb=0,vn):0})(s,D)||(h=s.a)}}else h=s.a}h==0&&Ne.Oa!=null&&Ne.Oa.fd&&(h=t0(Ne.ba))}Ne=h}xe=Ne!=0?null:11>xe?Ke.f.RGBA.eb:Ke.f.kb.y}else xe=null;return xe};var wm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(It,gn){for(var Me="",lt=0;lt<4;lt++)Me+=String.fromCharCode(It[gn++]);return Me}function O(It,gn){return It[gn+0]|It[gn+1]<<8}function ie(It,gn){return(It[gn+0]|It[gn+1]<<8|It[gn+2]<<16)>>>0}function Be(It,gn){return(It[gn+0]|It[gn+1]<<8|It[gn+2]<<16|It[gn+3]<<24)>>>0}new m;var S=[0],at=[0],et=[],it=new m,Te=e,Kt=function(It,gn){var Me={},lt=0,_t=!1,Mt=0,On=0;if(Me.frames=[],!function(Qe,xt){for(var Pt=0;Pt<4;Pt++)if(Qe[xt+Pt]!="RIFF".charCodeAt(Pt))return!0;return!1}(It,gn)){for(Be(It,gn+=4),gn+=8;gn>1&1}Tn!="ANMF"&&(gn+=xn)}return Me}}(Te,0);Kt.response=Te,Kt.rgbaoutput=!0,Kt.dataurl=!1;var Rt=Kt.header?Kt.header:null,St=Kt.frames?Kt.frames:null;if(Rt){Rt.loop_counter=Rt.loop_count,S=[Rt.canvas_height],at=[Rt.canvas_width];for(var Sn=0;Sn=2?ct[1]:po[0],po[2]=ct.length>=3?ct[2]:po[0],po[3]=ct.length>=4?ct[3]:po[1]),y.margin=po}});var _n=!1;Object.defineProperty(this,"autoPaging",{get:function(){return _n},set:function(ct){_n=ct}});var Kn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Kn},set:function(ct){Kn=ct}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(ct){or=ct}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(ct){ct instanceof O&&(y=ct)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(ct){y.path=ct}});var Nr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Nr},set:function(ct){Nr=ct}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ct){var po;po=Be(ct),this.ctx.fillStyle=po.style,this.ctx.isFillTransparent=po.a===0,this.ctx.fillOpacity=po.a,this.pdf.setFillColor(po.r,po.g,po.b,{a:po.a}),this.pdf.setTextColor(po.r,po.g,po.b,{a:po.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ct){var po=Be(ct);this.ctx.strokeStyle=po.style,this.ctx.isStrokeTransparent=po.a===0,this.ctx.strokeOpacity=po.a,po.a===0?this.pdf.setDrawColor(255,255,255):(po.a,this.pdf.setDrawColor(po.r,po.g,po.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ct){["butt","round","square"].indexOf(ct)!==-1&&(this.ctx.lineCap=ct,this.pdf.setLineCap(ct))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ct){isNaN(ct)||(this.ctx.lineWidth=ct,this.pdf.setLineWidth(ct))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ct){["bevel","round","miter"].indexOf(ct)!==-1&&(this.ctx.lineJoin=ct,this.pdf.setLineJoin(ct))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ct){isNaN(ct)||(this.ctx.miterLimit=ct,this.pdf.setMiterLimit(ct))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ct){this.ctx.textBaseline=ct}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ct){["right","end","center","left","start"].indexOf(ct)!==-1&&(this.ctx.textAlign=ct)}});var mo=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(ct){mo=null,ho=null,sa=ct}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(ct){var po;if(this.ctx.font=ct,(po=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(ct))!==null){var fi=po[1];po[2];var Ba=po[3],wr=po[4];po[5];var xa=po[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(wr)[2];wr=Math.floor(jo==="px"?parseFloat(wr)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(wr)*this.pdf.getFontSize():parseFloat(wr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(wr);var pa=function(na){var Bs,Gi,pi=[],yi=na.trim();if(yi==="")return kg;if(yi in su)return[su[yi]];for(;yi!=="";){switch(Gi=null,Bs=(yi=lu(yi)).charAt(0)){case'"':case"'":Gi=Dc(yi.substring(1),Bs);break;default:Gi=pd(yi)}if(Gi===null||(pi.push(Gi[0]),(yi=lu(Gi[1]))!==""&&yi.charAt(0)!==","))return kg;yi=yi.replace(/^,/,"")}return pi}(xa);if(this.fontFaces){var ua=function(na,Bs){var Gi=na.getFontList(),pi=JSON.stringify(Gi);if(mo===null||ho!==pi){var yi=function(XA){var ha=[];return Object.keys(XA).forEach(function(RA){XA[RA].forEach(function(La){var Ga=null;switch(La){case"bold":Ga={family:RA,weight:"bold"};break;case"italic":Ga={family:RA,style:"italic"};break;case"bolditalic":Ga={family:RA,weight:"bold",style:"italic"};break;case"":case"normal":Ga={family:RA}}Ga!==null&&(Ga.ref={name:RA,style:La},ha.push(Ga))})}),ha}(Gi);mo=function(XA){for(var ha={},RA=0;RA=700||fi==="bold")&&(Wa="bold"),fi==="italic"&&(Wa+="italic"),Wa.length===0&&(Wa="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(kt=0,rn=2*Math.PI),this.path.push({type:"arc",x:Qe,y:xt,radius:Pt,startAngle:kt,endAngle:rn,counterclockwise:bn})},ie.prototype.arcTo=function(Qe,xt,Pt,kt,rn){throw new Error("arcTo not implemented.")},ie.prototype.rect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Qe,xt),this.lineTo(Qe+Pt,xt),this.lineTo(Qe+Pt,xt+kt),this.lineTo(Qe,xt+kt),this.lineTo(Qe,xt),this.lineTo(Qe+Pt,xt),this.lineTo(Qe,xt)},ie.prototype.fillRect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!S.call(this)){var rn={};this.lineCap!=="butt"&&(rn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(rn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Qe,xt,Pt,kt),this.fill(),rn.hasOwnProperty("lineCap")&&(this.lineCap=rn.lineCap),rn.hasOwnProperty("lineJoin")&&(this.lineJoin=rn.lineJoin)}},ie.prototype.strokeRect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");at.call(this)||(this.beginPath(),this.rect(Qe,xt,Pt,kt),this.stroke())},ie.prototype.clearRect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Qe,xt,Pt,kt))},ie.prototype.save=function(Qe){Qe=typeof Qe!="boolean"||Qe;for(var xt=this.pdf.internal.getCurrentPageInfo().pageNumber,Pt=0;Pt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};ie.prototype.drawImage=function(Qe,xt,Pt,kt,rn,bn,_n,Kn,or){var Nr=this.pdf.getImageProperties(Qe),mo=1,ho=1,sa=1,ct=1;kt!==void 0&&Kn!==void 0&&(sa=Kn/kt,ct=or/rn,mo=Nr.width/kt*Kn/kt,ho=Nr.height/rn*or/rn),bn===void 0&&(bn=xt,_n=Pt,xt=0,Pt=0),kt!==void 0&&Kn===void 0&&(Kn=kt,or=rn),kt===void 0&&Kn===void 0&&(Kn=Nr.width,or=Nr.height);var po=this.ctx.transform.decompose(),fi=xn(po.rotate.shx),Ba=new m,wr=(Ba=(Ba=(Ba=Ba.multiply(po.translate)).multiply(po.skew)).multiply(po.scale)).applyToRectangle(new g(bn-xt*sa,_n-Pt*ct,kt*mo,rn*ho));if(this.autoPaging){for(var xa,jo=it.call(this,wr),pa=[],ua=0;uadA||Wawr||jo0)){for(;or>=0;or--)if(rn[or-1].close!==!0&&rn[or-1].begin!==!0){rn[or-1].deltas.push(Pt),rn[or-1].abs.push(Kn);break}}break;case"bct":Pt=[Kn.x1-bn[_n-1].x,Kn.y1-bn[_n-1].y,Kn.x2-bn[_n-1].x,Kn.y2-bn[_n-1].y,Kn.x-bn[_n-1].x,Kn.y-bn[_n-1].y],rn[rn.length-1].deltas.push(Pt);break;case"qct":var Nr=bn[_n-1].x+2/3*(Kn.x1-bn[_n-1].x),mo=bn[_n-1].y+2/3*(Kn.y1-bn[_n-1].y),ho=Kn.x+2/3*(Kn.x1-Kn.x),sa=Kn.y+2/3*(Kn.y1-Kn.y),ct=Kn.x,po=Kn.y;Pt=[Nr-bn[_n-1].x,mo-bn[_n-1].y,ho-bn[_n-1].x,sa-bn[_n-1].y,ct-bn[_n-1].x,po-bn[_n-1].y],rn[rn.length-1].deltas.push(Pt);break;case"arc":rn.push({deltas:[],abs:[],arc:!0}),Array.isArray(rn[rn.length-1].abs)&&rn[rn.length-1].abs.push(Kn)}}kt=xt?null:Qe==="stroke"?"stroke":"fill";for(var fi=!1,Ba=0;Ba=.01&&(kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(kt*Qe.scale),rn=this.lineWidth,this.lineWidth=rn*Qe.scale);var ni=this.autoPaging!=="text";if(ni||Xo.y+Xo.h<=ua){if(ni||Xo.y>=jo&&Xo.x<=Li){var na=ni?Qe.text:this.pdf.splitTextToSize(Qe.text,Qe.maxWidth||Li-Xo.x)[0],Bs=Kt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],Gi=ni&&(xa>Ba||xa=.01&&(this.pdf.setFontSize(kt),this.lineWidth=rn)}}else Qe.scale>=.01&&(kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(kt*Qe.scale),rn=this.lineWidth,this.lineWidth=rn*Qe.scale),this.pdf.text(Qe.text,or.x+this.posX,or.y+this.posY,{angle:Qe.angle,align:xt,renderingMode:Qe.renderingMode,maxWidth:Qe.maxWidth}),Qe.scale>=.01&&(this.pdf.setFontSize(kt),this.lineWidth=rn)},_t=function(Qe,xt,Pt,kt){Pt=Pt||0,kt=kt||0,this.pdf.internal.out(t(Qe+Pt)+" "+r(xt+kt)+" l")},Mt=function(Qe,xt,Pt){return this.pdf.lines(Qe,xt,Pt,null,null)},On=function(Qe,xt,Pt,kt,rn,bn,_n,Kn){this.pdf.internal.out([n(a(Pt+Qe)),n(A(kt+xt)),n(a(rn+Qe)),n(A(bn+xt)),n(a(_n+Qe)),n(A(Kn+xt)),"c"].join(" "))},Tn=function(Qe,xt,Pt,kt){for(var rn=2*Math.PI,bn=Math.PI/2;xt>Pt;)xt-=rn;var _n=Math.abs(Pt-xt);_n1e-5;){var mo=Nr+or*Math.min(_n,bn);Kn.push(Hn.call(this,Qe,Nr,mo)),_n-=Math.abs(mo-Nr),Nr=mo}return Kn},Hn=function(Qe,xt,Pt){var kt=(Pt-xt)/2,rn=Qe*Math.cos(kt),bn=Qe*Math.sin(kt),_n=rn,Kn=-bn,or=_n*_n+Kn*Kn,Nr=or+_n*rn+Kn*bn,mo=4/3*(Math.sqrt(2*or*Nr)-Nr)/(_n*bn-Kn*rn),ho=_n-mo*Kn,sa=Kn+mo*_n,ct=ho,po=-sa,fi=kt+xt,Ba=Math.cos(fi),wr=Math.sin(fi);return{x1:Qe*Math.cos(xt),y1:Qe*Math.sin(xt),x2:ho*Ba-sa*wr,y2:ho*wr+sa*Ba,x3:ct*Ba-po*wr,y3:ct*wr+po*Ba,x4:Qe*Math.cos(Pt),y4:Qe*Math.sin(Pt)}},xn=function(Qe){return 180*Qe/Math.PI},Zn=function(Qe,xt,Pt,kt,rn,bn){var _n=Qe+.5*(Pt-Qe),Kn=xt+.5*(kt-xt),or=rn+.5*(Pt-rn),Nr=bn+.5*(kt-bn),mo=Math.min(Qe,rn,_n,or),ho=Math.max(Qe,rn,_n,or),sa=Math.min(xt,bn,Kn,Nr),ct=Math.max(xt,bn,Kn,Nr);return new g(mo,sa,ho-mo,ct-sa)},_r=function(Qe,xt,Pt,kt,rn,bn,_n,Kn){var or,Nr,mo,ho,sa,ct,po,fi,Ba,wr,xa,jo,pa,ua,dA=Pt-Qe,Li=kt-xt,Wa=rn-Pt,Ti=bn-kt,Ni=_n-rn,Xo=Kn-bn;for(Nr=0;Nr<41;Nr++)Ba=(po=(mo=Qe+(or=Nr/40)*dA)+or*((sa=Pt+or*Wa)-mo))+or*(sa+or*(rn+or*Ni-sa)-po),wr=(fi=(ho=xt+or*Li)+or*((ct=kt+or*Ti)-ho))+or*(ct+or*(bn+or*Xo-ct)-fi),Nr==0?(xa=Ba,jo=wr,pa=Ba,ua=wr):(xa=Math.min(xa,Ba),jo=Math.min(jo,wr),pa=Math.max(pa,Ba),ua=Math.max(ua,wr));return new g(Math.round(xa),Math.round(jo),Math.round(pa-xa),Math.round(ua-jo))},cr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Qe,xt,Pt=(Qe=this.ctx.lineDash,xt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Qe,lineDashOffset:xt}));this.prevLineDash!==Pt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Pt)}}})(Zo.API),function(e){var n=function(v){var g,m,y,O,ie,Be,S,at,et,it;for(/[^\x00-\xFF]/.test(v),m=[],y=0,O=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;O>y;y+=4)(ie=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(Be=(ie=((ie=((ie=((ie=(ie-(it=ie%85))/85)-(et=ie%85))/85)-(at=ie%85))/85)-(S=ie%85))/85)%85,m.push(Be+33,S+33,at+33,et+33,it+33)):m.push(122);return function(Te,Kt){for(var Rt=Kt;Rt>0;Rt--)Te.pop()}(m,g.length),String.fromCharCode.apply(String,m)+"~>"},t=function(v){var g,m,y,O,ie,Be=String,S="length",at=255,et="charCodeAt",it="slice",Te="replace";for(v[it](-2),v=v[it](0,-2)[Te](/\s/g,"")[Te]("z","!!!!!"),y=[],O=0,ie=(v+=g="uuuuu"[it](v[S]%5||5))[S];ie>O;O+=5)m=52200625*(v[et](O)-33)+614125*(v[et](O+1)-33)+7225*(v[et](O+2)-33)+85*(v[et](O+3)-33)+(v[et](O+4)-33),y.push(at&m>>24,at&m>>16,at&m>>8,at&m);return function(Kt,Rt){for(var St=Rt;St>0;St--)Kt.pop()}(y,g[S]),Be.fromCharCode.apply(Be,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var m="",y=0;yet&&(at=it,it=et,et=at);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",et>it&&(at=it,it=et,et=at)}return{width:it,height:et,unit:m,k:ie,orientation:g}},e.html=function(g,m){(m=m||{}).callback=m.callback||function(){},m.html2canvas=m.html2canvas||{},m.html2canvas.canvas=m.html2canvas.canvas||this.canvas,m.jsPDF=m.jsPDF||this,m.fontFaces=m.fontFaces?m.fontFaces.map(Tl):null;var y=new v(m);return m.worker?y:y.from(g).doCallback()}}(Zo.API),Zo.API.addJS=function(e){return Pv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Pv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),A=0;A> endobj")}var S=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+S+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,A){var v={title:a,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var m=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+m.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var y=0;y>"}),"transparency"in lt&&Array.isArray(lt.transparency)&<.transparency.length>0){for(var Hn="",xn=0,Zn=lt.transparency.length;xn>",et.content=A;var Rt=et.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length>=3};var O=e.__arabicParser__.arabicLetterHasMedialForm=function(et){return v(et)&&A(et)&&n[et.charCodeAt(0)].length==4},ie=e.__arabicParser__.resolveLigatures=function(et){var it=0,Te=t,Kt="",Rt=0;for(it=0;it>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(g){a=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(Zo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var m=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return m},set:function(et){m=et}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(et){y=et}});var O=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return O},set:function(et){O=et}});var ie=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return ie},set:function(et){ie=et}});var Be=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Be},set:function(et){Be=et}});var S=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return S},set:function(et){S=et}});var at=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return at},set:function(et){at=et}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(m){return r.call(this),this.internal.__cell__.headerFunction=typeof m=="function"?m:void 0,this},e.getTextDimensions=function(m,y){r.call(this);var O=(y=y||{}).fontSize||this.getFontSize(),ie=y.font||this.getFont(),Be=y.scaleFactor||this.internal.scaleFactor,S=0,at=0,et=0,it=this;if(!Array.isArray(m)&&typeof m!="string"){if(typeof m!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");m=String(m)}var Te=y.maxWidth;Te>0?typeof m=="string"?m=this.splitTextToSize(m,Te):Object.prototype.toString.call(m)==="[object Array]"&&(m=m.reduce(function(Rt,St){return Rt.concat(it.splitTextToSize(St,Te))},[])):m=Array.isArray(m)?m:[m];for(var Kt=0;Ktthis.getPageHeight()?(this.cellAddPage(),m.y=ie.top,S&&Be&&(this.printHeaderRow(m.lineNumber,!0),m.y+=Be[0].height)):m.y=y.y+y.height||m.y),m.text[0]!==void 0&&(this.rect(m.x,m.y,m.width,m.height,t===!0?"FD":void 0),m.align==="right"?this.text(m.text,m.x+m.width-O,m.y+O,{align:"right",baseline:"top"}):m.align==="center"?this.text(m.text,m.x+m.width/2,m.y+O,{align:"center",baseline:"top",maxWidth:m.width-O-O}):this.text(m.text,m.x+O,m.y+O,{align:"left",baseline:"top",maxWidth:m.width-O-O})),this.internal.__cell__.lastCell=m,this};e.table=function(m,y,O,ie,Be){if(r.call(this),!O)throw new Error("No data for PDF table.");var S,at,et,it,Te=[],Kt=[],Rt=[],St={},Sn={},Xn=[],jn=[],Xt=(Be=Be||{}).autoSize||!1,It=Be.printHeaders!==!1,gn=Be.css&&Be.css["font-size"]!==void 0?16*Be.css["font-size"]:Be.fontSize||12,Me=Be.margins||Object.assign({width:this.getPageWidth()},n),lt=typeof Be.padding=="number"?Be.padding:3,_t=Be.headerBackgroundColor||"#c8c8c8",Mt=Be.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=It,this.internal.__cell__.margins=Me,this.internal.__cell__.table_font_size=gn,this.internal.__cell__.padding=lt,this.internal.__cell__.headerBackgroundColor=_t,this.internal.__cell__.headerTextColor=Mt,this.setFontSize(gn),ie==null)Kt=Te=Object.keys(O[0]),Rt=Te.map(function(){return"left"});else if(Array.isArray(ie)&&(0,o.Z)(ie[0])==="object")for(Te=ie.map(function(_r){return _r.name}),Kt=ie.map(function(_r){return _r.prompt||_r.name||""}),Rt=ie.map(function(_r){return _r.align||"left"}),S=0;S0&&this.setTableHeaderRow(Be),this.setFont(void 0,"normal"),t=!1}}(Zo.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Qc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Js=sA(Qc),rl=[100,200,300,400,500,600,700,800,900],Ru=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),a=function(A){return typeof Js[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function Rc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function Hv(e,n,t){var r=e.length,a=[];a[0]=4;for(var A=0;A>A&v}function Kv(e,n,t,r){var a=t*r,A=Math.floor(a/8),v=16-(a-8*A+r),g=(1<>8&255;y.setUint8(O,Be)}})(e,A,$v(e,A)&~(g<>7,v=1<<1+(7&a);e[n++],e[n++];var g=null,m=null;A&&(g=n,m=v,n+=3*v);var y=!0,O=[],ie=0,Be=null,S=0,at=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Me===0)break;n+=Me}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var et=e[n++];ie=e[n++]|e[n++]<<8,Be=e[n++],1&et||(Be=null),S=et>>2&7,n++;break;case 254:for(;;){if(!((Me=e[n++])>=0))throw Error("Invalid block size");if(Me===0)break;n+=Me}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var it=e[n++]|e[n++]<<8,Te=e[n++]|e[n++]<<8,Kt=e[n++]|e[n++]<<8,Rt=e[n++]|e[n++]<<8,St=e[n++],Sn=St>>6&1,Xn=1<<1+(7&St),jn=g,Xt=m,It=!1;St>>7&&(It=!0,jn=n,Xt=Xn,n+=3*Xn);var gn=n;for(n++;;){var Me;if(!((Me=e[n++])>=0))throw Error("Invalid block size");if(Me===0)break;n+=Me}O.push({x:it,y:Te,width:Kt,height:Rt,has_local_palette:It,palette_offset:jn,palette_size:Xt,data_offset:gn,data_length:n-gn,transparent_index:Be,interlaced:!!Sn,delay:ie,disposal:S});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return O.length},this.loopCount=function(){return at},this.frameInfo=function(lt){if(lt<0||lt>=O.length)throw new Error("Frame index out of range.");return O[lt]},this.decodeAndBlitFrameBGRA=function(lt,_t){var Mt=this.frameInfo(lt),On=Mt.width*Mt.height,Tn=new Uint8Array(On);Zv(e,Mt.data_offset,Tn,On);var Hn=Mt.palette_offset,xn=Mt.transparent_index;xn===null&&(xn=256);var Zn=Mt.width,_r=t-Zn,cr=Zn,Qe=4*(Mt.y*t+Mt.x),xt=4*((Mt.y+Mt.height)*t+Mt.x),Pt=Qe,kt=4*_r;Mt.interlaced===!0&&(kt+=4*t*7);for(var rn=8,bn=0,_n=Tn.length;bn<_n;++bn){var Kn=Tn[bn];if(cr===0&&(cr=Zn,(Pt+=kt)>=xt&&(kt=4*_r+4*t*(rn-1),Pt=Qe+(Zn+_r)*(rn<<1),rn>>=1)),Kn===xn)Pt+=4;else{var or=e[Hn+3*Kn],Nr=e[Hn+3*Kn+1],mo=e[Hn+3*Kn+2];_t[Pt++]=mo,_t[Pt++]=Nr,_t[Pt++]=or,_t[Pt++]=255}--cr}},this.decodeAndBlitFrameRGBA=function(lt,_t){var Mt=this.frameInfo(lt),On=Mt.width*Mt.height,Tn=new Uint8Array(On);Zv(e,Mt.data_offset,Tn,On);var Hn=Mt.palette_offset,xn=Mt.transparent_index;xn===null&&(xn=256);var Zn=Mt.width,_r=t-Zn,cr=Zn,Qe=4*(Mt.y*t+Mt.x),xt=4*((Mt.y+Mt.height)*t+Mt.x),Pt=Qe,kt=4*_r;Mt.interlaced===!0&&(kt+=4*t*7);for(var rn=8,bn=0,_n=Tn.length;bn<_n;++bn){var Kn=Tn[bn];if(cr===0&&(cr=Zn,(Pt+=kt)>=xt&&(kt=4*_r+4*t*(rn-1),Pt=Qe+(Zn+_r)*(rn<<1),rn>>=1)),Kn===xn)Pt+=4;else{var or=e[Hn+3*Kn],Nr=e[Hn+3*Kn+1],mo=e[Hn+3*Kn+2];_t[Pt++]=or,_t[Pt++]=Nr,_t[Pt++]=mo,_t[Pt++]=255}--cr}}}function Zv(e,n,t,r){for(var a=e[n++],A=1<>=m,O-=m,it!==A){if(it===v)break;for(var Te=itA;)Rt=at[Rt]>>8,++Kt;var St=Rt;if(Be+Kt+(Te!==it?1:0)>r)return void wA.log("Warning, gif stream longer than expected.");t[Be++]=St;var Sn=Be+=Kt;for(Te!==it&&(t[Be++]=St),Rt=Te;Kt--;)Rt=at[Rt],t[--Sn]=255&Rt,Rt>>=8;et!==null&&g<4096&&(at[g++]=et<<8|St,g>=y+1&&m<12&&(++m,y=y<<1|1)),et=it}else g=v+1,y=(1<<(m=a+1))-1,et=null}return Be!==r&&wA.log("Warning, gif stream shorter than expected."),t}function Vg(e){var n,t,r,a,A,v=Math.floor,g=new Array(64),m=new Array(64),y=new Array(64),O=new Array(64),ie=new Array(65535),Be=new Array(65535),S=new Array(64),at=new Array(64),et=[],it=0,Te=7,Kt=new Array(64),Rt=new Array(64),St=new Array(64),Sn=new Array(256),Xn=new Array(2048),jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Xt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],It=[0,1,2,3,4,5,6,7,8,9,10,11],gn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Me=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],lt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],_t=[0,1,2,3,4,5,6,7,8,9,10,11],Mt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],On=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tn(Qe,xt){for(var Pt=0,kt=0,rn=new Array,bn=1;bn<=16;bn++){for(var _n=1;_n<=Qe[bn];_n++)rn[xt[kt]]=[],rn[xt[kt]][0]=Pt,rn[xt[kt]][1]=bn,kt++,Pt++;Pt*=2}return rn}function Hn(Qe){for(var xt=Qe[0],Pt=Qe[1]-1;Pt>=0;)xt&1<>8&255),xn(255&Qe)}function _r(Qe,xt,Pt,kt,rn){for(var bn,_n=rn[0],Kn=rn[240],or=function(wr,xa){var jo,pa,ua,dA,Li,Wa,Ti,Ni,Xo,ni,na=0;for(Xo=0;Xo<8;++Xo){jo=wr[na],pa=wr[na+1],ua=wr[na+2],dA=wr[na+3],Li=wr[na+4],Wa=wr[na+5],Ti=wr[na+6];var Bs=jo+(Ni=wr[na+7]),Gi=jo-Ni,pi=pa+Ti,yi=pa-Ti,XA=ua+Wa,ha=ua-Wa,RA=dA+Li,La=dA-Li,Ga=Bs+RA,YA=Bs-RA,xi=pi+XA,Sa=pi-XA;wr[na]=Ga+xi,wr[na+4]=Ga-xi;var fA=.707106781*(Sa+YA);wr[na+2]=YA+fA,wr[na+6]=YA-fA;var of=.382683433*((Ga=La+ha)-(Sa=yi+Gi)),Cl=.5411961*Ga+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Ia=Gi+du,Tu=Gi-du;wr[na+5]=Tu+Cl,wr[na+3]=Tu-Cl,wr[na+1]=Ia+Mu,wr[na+7]=Ia-Mu,na+=8}for(na=0,Xo=0;Xo<8;++Xo){jo=wr[na],pa=wr[na+8],ua=wr[na+16],dA=wr[na+24],Li=wr[na+32],Wa=wr[na+40],Ti=wr[na+48];var ju=jo+(Ni=wr[na+56]),sc=jo-Ni,lc=pa+Ti,us=pa-Ti,qs=ua+Wa,ol=ua-Wa,af=dA+Li,bd=dA-Li,jc=ju+af,fu=ju-af,_c=lc+qs,Hc=lc-qs;wr[na]=jc+_c,wr[na+32]=jc-_c;var cc=.707106781*(Hc+fu);wr[na+16]=fu+cc,wr[na+48]=fu-cc;var Af=.382683433*((jc=bd+ol)-(Hc=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*Hc+Af,kf=.707106781*(_c=ol+us),zf=sc+kf,Vf=sc-kf;wr[na+40]=Vf+hu,wr[na+24]=Vf-hu,wr[na+8]=zf+sf,wr[na+56]=zf-sf,na++}for(Xo=0;Xo<64;++Xo)ni=wr[Xo]*xa[Xo],S[Xo]=ni>0?ni+.5|0:ni-.5|0;return S}(Qe,xt),Nr=0;Nr<64;++Nr)at[jn[Nr]]=or[Nr];var mo=at[0]-Pt;Pt=at[0],mo==0?Hn(kt[0]):(Hn(kt[Be[bn=32767+mo]]),Hn(ie[bn]));for(var ho=63;ho>0&&at[ho]==0;)ho--;if(ho==0)return Hn(_n),Pt;for(var sa,ct=1;ct<=ho;){for(var po=ct;at[ct]==0&&ct<=ho;)++ct;var fi=ct-po;if(fi>=16){sa=fi>>4;for(var Ba=1;Ba<=sa;++Ba)Hn(Kn);fi&=15}bn=32767+at[ct],Hn(rn[(fi<<4)+Be[bn]]),Hn(ie[bn]),ct++}return ho!=63&&Hn(_n),Pt}function cr(Qe){Qe=Math.min(Math.max(Qe,1),100),A!=Qe&&(function(xt){for(var Pt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],kt=0;kt<64;kt++){var rn=v((Pt[kt]*xt+50)/100);rn=Math.min(Math.max(rn,1),255),g[jn[kt]]=rn}for(var bn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],_n=0;_n<64;_n++){var Kn=v((bn[_n]*xt+50)/100);Kn=Math.min(Math.max(Kn,1),255),m[jn[_n]]=Kn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Nr=0,mo=0;mo<8;mo++)for(var ho=0;ho<8;ho++)y[Nr]=1/(g[jn[Nr]]*or[mo]*or[ho]*8),O[Nr]=1/(m[jn[Nr]]*or[mo]*or[ho]*8),Nr++}(Qe<50?Math.floor(5e3/Qe):Math.floor(200-2*Qe)),A=Qe)}this.encode=function(Qe,xt){xt&&cr(xt),et=new Array,it=0,Te=7,Zn(65496),Zn(65504),Zn(16),xn(74),xn(70),xn(73),xn(70),xn(0),xn(1),xn(1),xn(0),Zn(1),Zn(1),xn(0),xn(0),function(){Zn(65499),Zn(132),xn(0);for(var pa=0;pa<64;pa++)xn(g[pa]);xn(1);for(var ua=0;ua<64;ua++)xn(m[ua])}(),function(pa,ua){Zn(65472),Zn(17),xn(8),Zn(ua),Zn(pa),xn(3),xn(1),xn(17),xn(0),xn(2),xn(17),xn(1),xn(3),xn(17),xn(1)}(Qe.width,Qe.height),function(){Zn(65476),Zn(418),xn(0);for(var pa=0;pa<16;pa++)xn(Xt[pa+1]);for(var ua=0;ua<=11;ua++)xn(It[ua]);xn(16);for(var dA=0;dA<16;dA++)xn(gn[dA+1]);for(var Li=0;Li<=161;Li++)xn(Me[Li]);xn(1);for(var Wa=0;Wa<16;Wa++)xn(lt[Wa+1]);for(var Ti=0;Ti<=11;Ti++)xn(_t[Ti]);xn(17);for(var Ni=0;Ni<16;Ni++)xn(Mt[Ni+1]);for(var Xo=0;Xo<=161;Xo++)xn(On[Xo])}(),Zn(65498),Zn(12),xn(3),xn(1),xn(0),xn(2),xn(17),xn(3),xn(17),xn(0),xn(63),xn(0);var Pt=0,kt=0,rn=0;it=0,Te=7,this.encode.displayName="_encode_";for(var bn,_n,Kn,or,Nr,mo,ho,sa,ct,po=Qe.data,fi=Qe.width,Ba=Qe.height,wr=4*fi,xa=0;xa>3)*wr+(ho=4*(7&ct)),xa+sa>=Ba&&(mo-=wr*(xa+1+sa-Ba)),bn+ho>=wr&&(mo-=bn+ho-wr+4),_n=po[mo++],Kn=po[mo++],or=po[mo++],Kt[ct]=(Xn[_n]+Xn[Kn+256|0]+Xn[or+512|0]>>16)-128,Rt[ct]=(Xn[_n+768|0]+Xn[Kn+1024|0]+Xn[or+1280|0]>>16)-128,St[ct]=(Xn[_n+1280|0]+Xn[Kn+1536|0]+Xn[or+1792|0]>>16)-128;Pt=_r(Kt,y,Pt,n,r),kt=_r(Rt,O,kt,t,a),rn=_r(St,O,rn,t,a),bn+=32}xa+=8}if(Te>=0){var jo=[];jo[1]=Te+1,jo[0]=(1<lt;lt++)if(It[gn+lt]!=Me.charCodeAt(lt))return!0;return!1}function r(It,gn,Me,lt,_t){for(var Mt=0;Mt<_t;Mt++)It[gn+Mt]=Me[lt+Mt]}function a(It,gn,Me,lt){for(var _t=0;_tMt+1?[]:new gn),!(On.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Me(s,h,B,D,de){n(!(D%B));do s[h+(D-=B)]=de;while(0=de),512>=de)var xe=A(512);else if((xe=A(de))==null)return 0;return function(Ne,Ke,qe,ht,Gt,En){var gt,tn,vn=Ke,Wn=1<gt;++gt){if(wn[gt]>1<(si-=wn[gt]))return 0;for(;0=gt;++gt,Gt<<=1){if(Mo+=si<<=1,0>(si-=wn[gt]))return 0;for(;0Ir&&!(0>=(rr-=wn[Ir]));)++Ir,rr<<=1;Wn+=ko=1<<(rr=Ir-qe),Ne[Ke+(Ir=ea&fr)].g=rr+qe,Ne[Ke+Ir].value=vn-Ke-Ir}ht.g=gt-qe,ht.value=En[tn++],Me(Ne,vn+(ea>>qe),Gt,ko,ht),ea=gn(ea,gt)}}return Mo!=2*Jn[15]-1?0:Wn}(s,h,B,D,de,xe)}function _t(){this.value=this.g=0}function Mt(){this.value=this.g=0}function On(){this.G=v(5,_t),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Mt)}function Tn(s,h,B,D){n(s!=null),n(h!=null),n(2147483648>D),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+D,s.Zc=4<=D?B+D-4+1:B,_n(s)}function Hn(s,h){for(var B=0;0D),s.Sb=D,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;kt(s)&&(s.h=1,s.u=0)}function cr(s,h){if(n(0<=h),!s.h&&h<=Vl){var B=Pt(s)&zl[h];return s.u+=h,_r(s),B}return s.h=1,s.u=0}function Qe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function xt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Pt(s){return s.Ra>>>(s.u&xd-1)>>>0}function kt(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function rn(s,h){s.u=h,s.h=kt(s)}function bn(s){s.u>=Xu&&(n(s.u>=Xu),_r(s))}function _n(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&_n(s);var D=s.b,de=B*h>>>8,xe=(s.I>>>D>de)+0;for(xe?(B-=de,s.I-=de+1<>>0):B=de+1,D=B,de=0;256<=D;)de+=8,D>>=8;return D=7^de+Ed[D],s.b-=D,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function mo(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return mo(s,h)|s[h+2]<<16}function sa(s,h){return mo(s,h)|mo(s,h+2)<<16}function ct(s,h){var B=1<=de||0>=xe?0:(B[0]=de,D[0]=xe,1)}function wr(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){It[h]=function(B,D,de,xe,Ne,Ke,qe){var ht;for(ht=0;ht>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Wa(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,D,de,xe,Ne){for(D=xe[Ne-1],B=0;B>8&255,qe=16711935&(qe=(qe=16711935&Ne)+((Ke<<16)+Ke));D[de+xe]=(4278255360&Ne)+qe>>>0}}function Xo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,D,de,xe){var Ne;for(Ne=0;Ne>>8,ht=Ke,Gt=255&(Gt=(Gt=Ke>>>16)+((s.jd<<24>>24)*(qe<<24>>24)>>>5));ht=255&(ht=(ht+=(s.hd<<24>>24)*(qe<<24>>24)>>>5)+((s.ud<<24>>24)*(Gt<<24>>24)>>>5)),de[xe+Ne]=(4278255360&Ke)+(Gt<<16)+ht}}function na(s,h,B,D,de){It[h]=function(xe,Ne,Ke,qe,ht,Gt,En,gt,tn){for(qe=En;qe>xe.b,tn=xe.Ea,vn=xe.K[0],Wn=xe.w;if(8>gt)for(xe=(1<>=gt}else It["VP8LMapColor"+B](qe,ht,vn,Wn,Gt,En,Ne,Ke,tn)}}function Bs(s,h,B,D,de){for(B=h+B;h>16&255,D[de++]=xe>>8&255,D[de++]=255&xe}}function Gi(s,h,B,D,de){for(B=h+B;h>16&255,D[de++]=xe>>8&255,D[de++]=255&xe,D[de++]=xe>>24&255}}function pi(s,h,B,D,de){for(B=h+B;h>16&240|Ne>>12&15,Ne=240&Ne|Ne>>28&15;D[de++]=xe,D[de++]=Ne}}function yi(s,h,B,D,de){for(B=h+B;h>16&248|Ne>>13&7,Ne=Ne>>5&224|Ne>>3&31;D[de++]=xe,D[de++]=Ne}}function XA(s,h,B,D,de){for(B=h+B;h>8&255,D[de++]=xe>>16&255}}function ha(s,h,B,D,de,xe){if(xe==0)for(B=h+B;h>24|xe[1]>>8&65280|xe[2]<<8&16711680|xe[3]<<24)>>>0),de+=32;else r(D,de,s,h,B)}function RA(s,h){It[h][0]=It[s+"0"],It[h][1]=It[s+"1"],It[h][2]=It[s+"2"],It[h][3]=It[s+"3"],It[h][4]=It[s+"4"],It[h][5]=It[s+"5"],It[h][6]=It[s+"6"],It[h][7]=It[s+"7"],It[h][8]=It[s+"8"],It[h][9]=It[s+"9"],It[h][10]=It[s+"10"],It[h][11]=It[s+"11"],It[h][12]=It[s+"12"],It[h][13]=It[s+"13"],It[h][14]=It[s+"0"],It[h][15]=It[s+"0"]}function La(s){return s==dv||s==fv||s==vg||s==hv}function Ga(){this.eb=[],this.size=this.A=this.fb=0}function YA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ga,this.f.kb=new YA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Cl(s,h){var B=s.T,D=h.ba.f.RGBA,de=D.eb,xe=D.fb+s.ka*D.A,Ne=vc[h.ba.S],Ke=s.y,qe=s.O,ht=s.f,Gt=s.N,En=s.ea,gt=s.W,tn=h.cc,vn=h.dc,Wn=h.Mc,wn=h.Nc,Jn=s.ka,rr=s.ka+s.T,Ir=s.U,fr=Ir+1>>1;for(Jn==0?Ne(Ke,qe,null,null,ht,Gt,En,gt,ht,Gt,En,gt,de,xe,null,null,Ir):(Ne(h.ec,h.fc,Ke,qe,tn,vn,Wn,wn,ht,Gt,En,gt,de,xe-D.A,de,xe,Ir),++B);Jn+2B,de=B==fg||B==hg||B==gg||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!e0(h.Oa,s,de?11:12))return 0;if(de&&La(B)&&Yh(),s.da)alert("todo:use_scaling");else{if(D){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Cl,Yh()}}else alert("todo:EmitYUV");de&&(h.Jb=Mu,D&&$c())}if(D&&!ym){for(s=0;256>s;++s)mp[s]=89858*(s-128)+pg>>mg,bp[s]=-22014*(s-128)+pg,yp[s]=-45773*(s-128),pp[s]=113618*(s-128)+pg>>mg;for(s=c0;s>mg,wp[s-c0]=gu(h,255),Cp[s-c0]=gu(h+8>>4,15);ym=1}return 1}function Ia(s){var h=s.ma,B=s.U,D=s.T;return n(!(1&s.ka)),0>=B||0>=D?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,D){return cr(s,8)!=47?0:(h[0]=cr(s,14)+1,B[0]=cr(s,14)+1,D[0]=cr(s,1),cr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var D=Pt(B),de=s[h+=255&D].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var D=s.xc;return n((h=D==0?0:s.vc[s.md*(B>>D)+(h>>D)])>ko.b)*Mo;WnIr&&(zo=Ir),(0,o0[ji[Ks++]>>8&15])(gt,tn+ +li,Jn,rr+li-Ir,zo-li,Jn,rr+li),li=zo}tn+=Ir,rr+=Ir,++Wn&ea||(ko+=Mo)}En!=ht.nc&&r(qe,Ke-vn,qe,Ke+(En-Gt-1)*vn,vn);break;case 1:for(vn=gt,wn=tn,Ir=(gt=ht.Ea)-(rr=gt&~(Jn=(tn=1<>ht.b)*Wn;Gt=de),0xe.o&&(D=xe.o),B=D?B=0:(de[0]+=4*xe.v,xe.ka=B-xe.j,xe.U=xe.va-xe.v,xe.T=D-B,B=1),B){if(Ke=Ke[0],11>(B=s.ca).S){var Gt=B.f.RGBA,En=(D=B.S,de=xe.U,xe=xe.T,ht=Gt.eb,Gt.A),gt=xe;for(Gt=Gt.fb+s.Ma*Gt.A;0D){var de=s.l.width,xe=B.ca,Ne=B.tb+de*D,Ke=s.V,qe=s.Ba+s.c*D,ht=s.gc;n(s.ab==1),n(ht[0].hc==3),yu(ht[0],D,h,Ke,qe,xe,Ne),fu(B,D,h,xe,Ne,de)}s.C=s.Ma=h}function Hc(s,h,B,D,de,xe,Ne){var Ke=s.$/D,qe=s.$%D,ht=s.m,Gt=s.s,En=B+s.$,gt=En;de=B+D*de;var tn=B+D*xe,vn=280+Gt.ua,Wn=s.Pb?Ke:16777216,wn=0=Wn){var ea=En-B;n((Wn=s).Pb),Wn.wd=Wn.m,Wn.xd=ea,0si.g?(rn(fr,fr.u+si.g),ea[Mo]=si.value,fr=0):(rn(fr,fr.u+si.g-256),n(256<=si.value),fr=si.value),fr==0&&(Ir=!0)}else fr=us(rr.G[0],rr.H[0],ht);if(ht.h)break;if(Ir||256>fr){if(!Ir)if(rr.nd)h[En]=(rr.qb|fr<<8)>>>0;else{if(bn(ht),Ir=us(rr.G[1],rr.H[1],ht),bn(ht),ea=us(rr.G[2],rr.H[2],ht),Mo=us(rr.G[3],rr.H[3],ht),ht.h)break;h[En]=(Mo<<24|Ir<<16|fr<<8|ea)>>>0}if(Ir=!1,++En,++qe>=D&&(qe=0,++Ke,Ne!=null&&Ke<=xe&&!(Ke%16)&&Ne(s,Ke),wn!=null))for(;gt>>wn.Mb]=fr}else if(280>fr){if(fr=sc(fr-256,ht),ea=us(rr.G[4],rr.H[4],ht),bn(ht),ea=lc(D,ea=sc(ea,ht)),ht.h)break;if(En-B=D;)qe-=D,++Ke,Ne!=null&&Ke<=xe&&!(Ke%16)&&Ne(s,Ke);if(n(En<=de),qe&Jn&&(rr=ol(Gt,qe,Ke)),wn!=null)for(;gt>>wn.Mb]=fr}else{if(!(fr>>wn.Mb]=fr;fr=En,n(!(Ir>>>(ea=wn).Xa)),h[fr]=ea.X[Ir],Ir=!0}Ir||n(ht.h==kt(ht))}if(s.Pb&&ht.h&&Enxe?xe:Ke),s.a=0,s.$=En-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fm,RA("Predictor","VP8LPredictors"),RA("Predictor","VP8LPredictors_C"),RA("PredictorAdd","VP8LPredictorsAdd"),RA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,a0=ni,i0=Bs,Sd=Gi,Id=pi,Fd=yi,bf=XA,It.VP8LMapColor32b=pu,It.VP8LMapColor8b=r0,s)}function hu(s,h,B,D,de){var xe=1,Ne=[s],Ke=[h],qe=D.m,ht=D.s,Gt=null,En=0;e:for(;;){if(B)for(;xe&&cr(qe,1);){var gt=Ne,tn=Ke,vn=D,Wn=1,wn=vn.m,Jn=vn.gc[vn.ab],rr=cr(wn,2);if(vn.Oc&1<=vn.ab),rr){case 0:case 1:Jn.b=cr(wn,3)+2,Wn=hu(wr(Jn.Ea,Jn.b),wr(Jn.nc,Jn.b),0,vn,Jn.K),Jn.K=Jn.K[0];break;case 3:var Ir,fr=cr(wn,8)+1,ea=16>ko.b),Ks=A(ji);if(Ks==null)Ir=0;else{var li=ko.K[0],zo=ko.w;for(Ks[0]=ko.K[0][0],Mo=1;Mo<1*si;++Mo)Ks[Mo]=xa(li[zo+Mo],Ks[Mo-1]);for(;Mo<4*ji;++Mo)Ks[Mo]=0;ko.K[0]=null,ko.K[0]=Ks,Ir=1}}Wn=Ir;break;case 2:break;default:n(0)}xe=Wn}}if(Ne=Ne[0],Ke=Ke[0],xe&&cr(qe,1)&&!(xe=1<=(En=cr(qe,4))&&11>=En)){D.a=3;break e}var Ao;if(Ao=xe)t:{var Ss,Xa,Zi,ZA=D,Al=Ne,Ul=Ke,ds=En,Bl=B,Ll=ZA.m,$s=ZA.s,Yi=[null],CA=1,fs=0,BA=op[ds];n:for(;;){if(Bl&&cr(Ll,1)){var sl=cr(Ll,3)+2,kc=wr(Al,sl),Is=wr(Ul,sl),jl=kc*Is;if(!hu(kc,Is,0,ZA,Yi))break n;for(Yi=Yi[0],$s.xc=sl,Ss=0;Ss>8&65535;Yi[Ss]=UA,UA>=CA&&(CA=UA+1)}}if(Ll.h)break n;for(Xa=0;5>Xa;++Xa){var Zs=um[Xa];!Xa&&0=Nl),Yl=Xl;var _l=A(fs);if(Yl==null||_l==null||Gl==null){ZA.a=1;break n}var Jl=Gl;for(Ss=Zi=0;SsXa;++Xa){Zs=um[Xa],ql[Xa]=Jl,zc[Xa]=Zi,!Xa&&0xg)break r}else bv=xg;for(d0=0;d0rh)Sm[d0++]=rh,rh!=0&&(Im=rh);else{var Np=rh==16,Um=rh-16,Pp=ep[Um],Lm=cr(Pd,qm[Um])+Pp;if(d0+Lm>xg)break r;for(var Qp=Np?Im:0;0=Xa){var f0,Cv=_l[0];for(f0=1;f0Cv&&(Cv=_l[f0]);ll+=Cv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][zc[3]+0].value<<24|ql[1][zc[1]+0].value<<16|ql[2][zc[2]+0].value)>>>0,Cf==0&&256>ql[0][zc[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][zc[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var Eg,ed=MA;for(Eg=0;Eg>=qs(Sg,8,Rd),Qd>>=qs(ed.G[1][ed.H[1]+Qd],16,Rd),Qd>>=qs(ed.G[2][ed.H[2]+Qd],0,Rd),qs(ed.G[3][ed.H[3]+Qd],24,Rd))}}}$s.vc=Yi,$s.Wb=CA,$s.Ya=Yl,$s.yc=Gl,Ao=1;break t}Ao=0}if(!(xe=Ao)){D.a=3;break e}if(0D+1?[]:0),!(de.lengths?0:s>h?h:s}function Wf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Gg(){var s=new X0;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,l0||(l0=Gf)),s}function Ps(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function Y0(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Ps(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,D=h.w,de=h.ha;if(4>de)return Ps(s,7,"Truncated header.");var xe=B[D+0]|B[D+1]<<8|B[D+2]<<16,Ne=s.Od;if(Ne.Rb=!(1&xe),Ne.td=xe>>1&7,Ne.yd=xe>>4&1,Ne.ub=xe>>5,3de)return Ps(s,7,"cannot parse picture header");if(!Y0(B,D,de))return Ps(s,3,"Bad code word");Ke.c=16383&(B[D+4]<<8|B[D+3]),Ke.Td=B[D+4]>>6,Ke.i=16383&(B[D+6]<<8|B[D+5]),Ke.Ud=B[D+6]>>6,D+=7,de-=7,s.za=Ke.c+15>>4,s.Ub=Ke.i+15>>4,h.width=Ke.c,h.height=Ke.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,a((xe=s.Pa).jb,0,255,xe.jb.length),n((xe=s.Qa)!=null),xe.Cb=0,xe.Bb=0,xe.Fb=1,a(xe.Zb,0,0,xe.Zb.length),a(xe.Lb,0,0,xe.Lb)}if(Ne.ub>de)return Ps(s,7,"bad partition length");Tn(xe=s.m,B,D,Ne.ub),D+=Ne.ub,de-=Ne.ub,Ne.Rb&&(Ke.Ld=Kn(xe),Ke.Kd=Kn(xe)),Ke=s.Qa;var qe,ht=s.Pa;if(n(xe!=null),n(Ke!=null),Ke.Cb=Kn(xe),Ke.Cb){if(Ke.Bb=Kn(xe),Kn(xe)){for(Ke.Fb=Kn(xe),qe=0;4>qe;++qe)Ke.Zb[qe]=Kn(xe)?xn(xe,7):0;for(qe=0;4>qe;++qe)Ke.Lb[qe]=Kn(xe)?xn(xe,6):0}if(Ke.Bb)for(qe=0;3>qe;++qe)ht.jb[qe]=Kn(xe)?Hn(xe,8):255}else Ke.Bb=0;if(xe.Ka)return Ps(s,3,"cannot parse segment header");if((Ke=s.ed).zd=Kn(xe),Ke.Tb=Hn(xe,6),Ke.wb=Hn(xe,3),Ke.Pc=Kn(xe),Ke.Pc&&Kn(xe)){for(ht=0;4>ht;++ht)Kn(xe)&&(Ke.vd[ht]=xn(xe,6));for(ht=0;4>ht;++ht)Kn(xe)&&(Ke.od[ht]=xn(xe,6))}if(s.L=Ke.Tb==0?0:Ke.zd?1:2,xe.Ka)return Ps(s,3,"cannot parse filter header");var Gt=de;if(de=qe=D,D=qe+Gt,Ke=Gt,s.Xb=(1<Ke&&(En=Ke),Tn(s.Jc[+Gt],B,qe,En),qe+=En,Ke-=En,de+=3}Tn(s.Jc[+ht],B,qe,Ke),B=qeEn;++En){if(Gt.Cb){var gt=Gt.Zb[En];Gt.Fb||(gt+=B)}else{if(0>16,8>tn.Eb[1]&&(tn.Eb[1]=8),tn.Qc[0]=gv[gu(gt+ht,117)],tn.Qc[1]=vv[gu(gt+qe,127)],tn.lc=gt+qe}if(!Ne.Rb)return Ps(s,4,"Not a key frame.");for(Kn(xe),Ne=s.Pa,B=0;4>B;++B){for(de=0;8>de;++de)for(D=0;3>D;++D)for(Ke=0;11>Ke;++Ke)ht=or(xe,cp[B][de][D][Ke])?Hn(xe,8):sp[B][de][D][Ke],Ne.Wc[B][de].Yb[D][Ke]=ht;for(de=0;17>de;++de)Ne.Xc[B][de]=Ne.Wc[B][up[de]]}return s.kc=Kn(xe),s.kc&&(s.Bd=Hn(xe,8)),s.cb=1}function Gf(s,h,B,D,de,xe,Ne){var Ke=h[de].Yb[B];for(B=0;16>de;++de){if(!or(s,Ke[B+0]))return de;for(;!or(s,Ke[B+1]);)if(Ke=h[++de].Yb[0],B=0,de==16)return 16;var qe=h[de+1].Yb;if(or(s,Ke[B+2])){var ht=s,Gt=0;if(or(ht,(gt=Ke)[(En=B)+3]))if(or(ht,gt[En+6])){for(Ke=0,En=2*(Gt=or(ht,gt[En+8]))+(gt=or(ht,gt[En+9+Gt])),Gt=0,gt=ip[En];gt[Ke];++Ke)Gt+=Gt+or(ht,gt[Ke]);Gt+=3+(8<(ht=s).b&&_n(ht);var En,gt=ht.b,tn=(En=ht.Ca>>1)-(ht.I>>gt)>>31;--ht.b,ht.Ca+=tn,ht.Ca|=1,ht.I-=(En+1&tn)<>3),s[h+B+32*D]=-256&de?0>de?0:255:de}function js(s,h,B,D,de,xe){dc(s,h,0,B,D+de),dc(s,h,1,B,D+xe),dc(s,h,2,B,D-xe),dc(s,h,3,B,D-de)}function _u(s){return(20091*s>>16)+s}function q0(s,h,B,D){var de,xe=0,Ne=A(16);for(de=0;4>de;++de){var Ke=s[h+0]+s[h+8],qe=s[h+0]-s[h+8],ht=(35468*s[h+4]>>16)-_u(s[h+12]),Gt=_u(s[h+4])+(35468*s[h+12]>>16);Ne[xe+0]=Ke+Gt,Ne[xe+1]=qe+ht,Ne[xe+2]=qe-ht,Ne[xe+3]=Ke-Gt,xe+=4,h++}for(de=xe=0;4>de;++de)Ke=(s=Ne[xe+0]+4)+Ne[xe+8],qe=s-Ne[xe+8],ht=(35468*Ne[xe+4]>>16)-_u(Ne[xe+12]),dc(B,D,0,0,Ke+(Gt=_u(Ne[xe+4])+(35468*Ne[xe+12]>>16))),dc(B,D,1,0,qe+ht),dc(B,D,2,0,qe-ht),dc(B,D,3,0,Ke-Gt),xe++,D+=32}function Xg(s,h,B,D){var de=s[h+0]+4,xe=35468*s[h+4]>>16,Ne=_u(s[h+4]),Ke=35468*s[h+1]>>16;js(B,D,0,de+Ne,s=_u(s[h+1]),Ke),js(B,D,1,de+xe,s,Ke),js(B,D,2,de-xe,s,Ke),js(B,D,3,de-Ne,s,Ke)}function Yg(s,h,B,D,de){q0(s,h,B,D),de&&q0(s,h+16,B,D+4)}function mu(s,h,B,D){wf(s,h+0,B,D,1),wf(s,h+32,B,D+128,1)}function eg(s,h,B,D){var de;for(s=s[h+0]+4,de=0;4>de;++de)for(h=0;4>h;++h)dc(B,D,h,de,s)}function tg(s,h,B,D){s[h+0]&&hA(s,h+0,B,D),s[h+16]&&hA(s,h+16,B,D+4),s[h+32]&&hA(s,h+32,B,D+128),s[h+48]&&hA(s,h+48,B,D+128+4)}function Xf(s,h,B,D){var de,xe=A(16);for(de=0;4>de;++de){var Ne=s[h+0+de]+s[h+12+de],Ke=s[h+4+de]+s[h+8+de],qe=s[h+4+de]-s[h+8+de],ht=s[h+0+de]-s[h+12+de];xe[0+de]=Ne+Ke,xe[8+de]=Ne-Ke,xe[4+de]=ht+qe,xe[12+de]=ht-qe}for(de=0;4>de;++de)Ne=(s=xe[0+4*de]+3)+xe[3+4*de],Ke=xe[1+4*de]+xe[2+4*de],qe=xe[1+4*de]-xe[2+4*de],ht=s-xe[3+4*de],B[D+0]=Ne+Ke>>3,B[D+16]=ht+qe>>3,B[D+32]=Ne-Ke>>3,B[D+48]=ht-qe>>3,D+=64}function lf(s,h,B){var D,de=h-32,xe=Wl,Ne=255-s[de-1];for(D=0;DB;++B)r(s,h+32*B,s,h-32,16)}function ng(s,h){var B;for(B=16;0D;++D)a(h,B+32*D,s,16)}function tv(s,h){var B,D=16;for(B=0;16>B;++B)D+=s[h-1+32*B]+s[h+B-32];Kc(D>>5,s,h)}function cf(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h-1+32*B];Kc(D>>4,s,h)}function Zh(s,h){var B,D=8;for(B=0;16>B;++B)D+=s[h+B-32];Kc(D>>4,s,h)}function nv(s,h){Kc(128,s,h)}function Ha(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,D=h-32;for(D=new Uint8Array([Ha(s[D-1],s[D+0],s[D+1]),Ha(s[D+0],s[D+1],s[D+2]),Ha(s[D+1],s[D+2],s[D+3]),Ha(s[D+2],s[D+3],s[D+4])]),B=0;4>B;++B)r(s,h+32*B,D,0,D.length)}function ov(s,h){var B=s[h-1],D=s[h-1+32],de=s[h-1+64],xe=s[h-1+96];Nr(s,h+0,16843009*Ha(s[h-1-32],B,D)),Nr(s,h+32,16843009*Ha(B,D,de)),Nr(s,h+64,16843009*Ha(D,de,xe)),Nr(s,h+96,16843009*Ha(de,xe,xe))}function av(s,h){var B,D=4;for(B=0;4>B;++B)D+=s[h+B-32]+s[h-1+32*B];for(D>>=3,B=0;4>B;++B)a(s,h+32*B,D,4)}function Hu(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1-32],Ne=s[h+0-32],Ke=s[h+1-32],qe=s[h+2-32],ht=s[h+3-32];s[h+0+96]=Ha(D,de,s[h-1+96]),s[h+1+96]=s[h+0+64]=Ha(B,D,de),s[h+2+96]=s[h+1+64]=s[h+0+32]=Ha(xe,B,D),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=Ha(Ne,xe,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=Ha(Ke,Ne,xe),s[h+3+32]=s[h+2+0]=Ha(qe,Ke,Ne),s[h+3+0]=Ha(ht,qe,Ke)}function Ku(s,h){var B=s[h+1-32],D=s[h+2-32],de=s[h+3-32],xe=s[h+4-32],Ne=s[h+5-32],Ke=s[h+6-32],qe=s[h+7-32];s[h+0+0]=Ha(s[h+0-32],B,D),s[h+1+0]=s[h+0+32]=Ha(B,D,de),s[h+2+0]=s[h+1+32]=s[h+0+64]=Ha(D,de,xe),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=Ha(de,xe,Ne),s[h+3+32]=s[h+2+64]=s[h+1+96]=Ha(xe,Ne,Ke),s[h+3+64]=s[h+2+96]=Ha(Ne,Ke,qe),s[h+3+96]=Ha(Ke,qe,qe)}function iv(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1-32],Ne=s[h+0-32],Ke=s[h+1-32],qe=s[h+2-32],ht=s[h+3-32];s[h+0+0]=s[h+1+64]=xe+Ne+1>>1,s[h+1+0]=s[h+2+64]=Ne+Ke+1>>1,s[h+2+0]=s[h+3+64]=Ke+qe+1>>1,s[h+3+0]=qe+ht+1>>1,s[h+0+96]=Ha(de,D,B),s[h+0+64]=Ha(D,B,xe),s[h+0+32]=s[h+1+96]=Ha(B,xe,Ne),s[h+1+32]=s[h+2+96]=Ha(xe,Ne,Ke),s[h+2+32]=s[h+3+96]=Ha(Ne,Ke,qe),s[h+3+32]=Ha(Ke,qe,ht)}function Av(s,h){var B=s[h+0-32],D=s[h+1-32],de=s[h+2-32],xe=s[h+3-32],Ne=s[h+4-32],Ke=s[h+5-32],qe=s[h+6-32],ht=s[h+7-32];s[h+0+0]=B+D+1>>1,s[h+1+0]=s[h+0+64]=D+de+1>>1,s[h+2+0]=s[h+1+64]=de+xe+1>>1,s[h+3+0]=s[h+2+64]=xe+Ne+1>>1,s[h+0+32]=Ha(B,D,de),s[h+1+32]=s[h+0+96]=Ha(D,de,xe),s[h+2+32]=s[h+1+96]=Ha(de,xe,Ne),s[h+3+32]=s[h+2+96]=Ha(xe,Ne,Ke),s[h+3+64]=Ha(Ne,Ke,qe),s[h+3+96]=Ha(Ke,qe,ht)}function Yf(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1+96];s[h+0+0]=B+D+1>>1,s[h+2+0]=s[h+0+32]=D+de+1>>1,s[h+2+32]=s[h+0+64]=de+xe+1>>1,s[h+1+0]=Ha(B,D,de),s[h+3+0]=s[h+1+32]=Ha(D,de,xe),s[h+3+32]=s[h+1+64]=Ha(de,xe,xe),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=xe}function kh(s,h){var B=s[h-1+0],D=s[h-1+32],de=s[h-1+64],xe=s[h-1+96],Ne=s[h-1-32],Ke=s[h+0-32],qe=s[h+1-32],ht=s[h+2-32];s[h+0+0]=s[h+2+32]=B+Ne+1>>1,s[h+0+32]=s[h+2+64]=D+B+1>>1,s[h+0+64]=s[h+2+96]=de+D+1>>1,s[h+0+96]=xe+de+1>>1,s[h+3+0]=Ha(Ke,qe,ht),s[h+2+0]=Ha(Ne,Ke,qe),s[h+1+0]=s[h+3+32]=Ha(B,Ne,Ke),s[h+1+32]=s[h+3+64]=Ha(D,B,Ne),s[h+1+64]=s[h+3+96]=Ha(de,D,B),s[h+1+96]=Ha(xe,de,D)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)a(s,h,s[h-1],8),h+=32}function $u(s,h,B){var D;for(D=0;8>D;++D)a(h,B+32*D,s,8)}function lv(s,h){var B,D=8;for(B=0;8>B;++B)D+=s[h+B-32]+s[h-1+32*B];$u(D>>4,s,h)}function zh(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h+B-32];$u(D>>3,s,h)}function Vh(s,h){var B,D=4;for(B=0;8>B;++B)D+=s[h-1+32*B];$u(D>>3,s,h)}function rg(s,h){$u(128,s,h)}function Zu(s,h,B){var D=s[h-B],de=s[h+0],xe=3*(de-D)+cv[1020+s[h-2*B]-s[h+B]],Ne=ug[112+(xe+4>>3)];s[h-B]=Wl[255+D+ug[112+(xe+3>>3)]],s[h+0]=Wl[255+de-Ne]}function Wh(s,h,B,D){var de=s[h+0],xe=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>D||gc[255+xe-de]>D}function Jf(s,h,B,D){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=D}function Gh(s,h,B,D,de){var xe=s[h-3*B],Ne=s[h-2*B],Ke=s[h-B],qe=s[h+0],ht=s[h+B],Gt=s[h+2*B],En=s[h+3*B];return 4*gc[255+Ke-qe]+gc[255+Ne-ht]>D?0:gc[255+s[h-4*B]-xe]<=de&&gc[255+xe-Ne]<=de&&gc[255+Ne-Ke]<=de&&gc[255+En-Gt]<=de&&gc[255+Gt-ht]<=de&&gc[255+ht-qe]<=de}function df(s,h,B,D){var de=2*D+1;for(D=0;16>D;++D)Jf(s,h+D,B,de)&&Zu(s,h+D,B)}function Xh(s,h,B,D){var de=2*D+1;for(D=0;16>D;++D)Jf(s,h+D*B,1,de)&&Zu(s,h+D*B,1)}function og(s,h,B,D){var de;for(de=3;0>7,Jn=18*rr+63>>7,rr=9*rr+63>>7;qe[ht-3*Gt]=Wl[255+qe[ht-3*Gt]+rr],qe[ht-2*Gt]=Wl[255+En+Jn],qe[ht-Gt]=Wl[255+gt+wn],qe[ht+0]=Wl[255+tn-wn],qe[ht+Gt]=Wl[255+vn-Jn],qe[ht+2*Gt]=Wl[255+Wn-rr]}h+=D}}function zu(s,h,B,D,de,xe,Ne,Ke){for(xe=2*xe+1;0>3)],Wn=ug[112+(Wn+3>>3)],wn=vn+1>>1;qe[ht-2*Gt]=Wl[255+qe[ht-2*Gt]+wn],qe[ht-Gt]=Wl[255+En+Wn],qe[ht+0]=Wl[255+gt-vn],qe[ht+Gt]=Wl[255+tn-wn]}h+=D}}function ig(s,h,B,D,de,xe){ku(s,h,B,1,16,D,de,xe)}function ff(s,h,B,D,de,xe){ku(s,h,1,B,16,D,de,xe)}function Ag(s,h,B,D,de,xe){var Ne;for(Ne=3;0ht?0:255:ht)&255,ht=qe,de[xe+Ke]=Gt}}function DA(s,h,B,D){var de=h.width,xe=h.o;if(n(s!=null&&h!=null),0>B||0>=D||B+D>xe)return null;if(!s.Cc){if(s.ga==null){var Ne;if(s.ga=new ri,(Ne=s.ga==null)||(Ne=h.width*h.o,n(s.Gb.length==0),s.Gb=A(Ne),s.Uc=0,s.Gb==null?Ne=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,Ne=1),Ne=!Ne),!Ne){Ne=s.ga;var Ke=s.Fa,qe=s.P,ht=s.qc,Gt=s.mb,En=s.nb,gt=qe+1,tn=ht-1,vn=Ne.l;if(n(Ke!=null&&Gt!=null&&h!=null),Ld[0]=null,Ld[1]=Xi,Ld[2]=ns,Ld[3]=Qs,Ne.ca=Gt,Ne.tb=En,Ne.c=h.width,Ne.i=h.height,n(0=ht)h=0;else if(Ne.$a=3&Ke[qe+0],Ne.Z=Ke[qe+0]>>2&3,Ne.Lc=Ke[qe+0]>>4&3,qe=Ke[qe+0]>>6&3,0>Ne.$a||1=Ne.c*Ne.i;Ne=!h}if(Ne)return null;s.ga.Lc!=1?s.Ga=0:D=xe-B}n(s.ga!=null),n(B+D<=xe);e:{if(h=(Ke=s.ga).c,xe=Ke.l.o,Ke.$a==0){if(gt=s.rc,tn=s.Vc,vn=s.Fa,qe=s.P+1+B*h,ht=s.mb,Gt=s.nb+B*h,n(qe<=s.P+s.qc),Ke.Z!=0)for(n(Ld[Ke.Z]!=null),Ne=0;Ne=h)h=1;else if(Ke.ic||$c(),Ke.ic){Ke=Ne.V,gt=Ne.Ba,tn=Ne.c;var Wn=Ne.i,wn=(vn=1,qe=Ne.$/tn,ht=Ne.$%tn,Gt=Ne.m,En=Ne.s,Ne.$),Jn=tn*Wn,rr=tn*h,Ir=En.wc,fr=wn(Wn=us(fr.G[0],fr.H[0],Gt)))Ke[gt+wn]=Wn,++wn,++ht>=tn&&(ht=0,++qe<=h&&!(qe%16)&&_c(Ne,qe));else{if(!(280>Wn)){vn=0;break t}Wn=sc(Wn-256,Gt);var ea,Mo=us(fr.G[4],fr.H[4],Gt);if(bn(Gt),!(wn>=(Mo=lc(tn,Mo=sc(Mo,Gt)))&&Jn-wn>=Wn)){vn=0;break t}for(ea=0;ea=tn;)ht-=tn,++qe<=h&&!(qe%16)&&_c(Ne,qe);wnh?h:qe);break t}!vn||Gt.h&&wn=xe&&(s.Cc=1),D=1}if(!D)return null;if(s.Cc&&((D=s.ga)!=null&&(D.mc=null),s.ga=null,0>23,Ke[qe+4*Ne+1]=Ke[qe+4*Ne+1]*En>>23,Ke[qe+4*Ne+2]=Ke[qe+4*Ne+2]*En>>23)}h+=xe}}function Rs(s,h,B,D,de){for(;0>4)*qe>>16;s[h+2*xe+0]=(240&Ne|Ne>>4)*qe>>16&240|(15&Ne|Ne<<4)*qe>>16>>4&15,s[h+2*xe+1]=240&ht|Ke}h+=de}}function al(s,h,B,D,de,xe,Ne,Ke){var qe,ht,Gt=255;for(ht=0;ht>8}function $c(){s0=_s,tm=Rs,nm=al,rm=Vu}function Wu(s,h,B){It[s]=function(D,de,xe,Ne,Ke,qe,ht,Gt,En,gt,tn,vn,Wn,wn,Jn,rr,Ir){var fr,ea=Ir-1>>1,Mo=Ke[qe+0]|ht[Gt+0]<<16,si=En[gt+0]|tn[vn+0]<<16;n(D!=null);var ko=3*Mo+si+131074>>2;for(h(D[de+0],255&ko,ko>>16,Wn,wn),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Ne+0],255&ko,ko>>16,Jn,rr)),fr=1;fr<=ea;++fr){var ji=Ke[qe+fr]|ht[Gt+fr]<<16,Ks=En[gt+fr]|tn[vn+fr]<<16,li=Mo+ji+si+Ks+524296,zo=li+2*(ji+si)>>3;ko=zo+Mo>>1,Mo=(li=li+2*(Mo+Ks)>>3)+ji>>1,h(D[de+2*fr-1],255&ko,ko>>16,Wn,wn+(2*fr-1)*B),h(D[de+2*fr-0],255&Mo,Mo>>16,Wn,wn+(2*fr-0)*B),xe!=null&&(ko=li+si>>1,Mo=zo+Ks>>1,h(xe[Ne+2*fr-1],255&ko,ko>>16,Jn,rr+(2*fr-1)*B),h(xe[Ne+2*fr+0],255&Mo,Mo>>16,Jn,rr+(2*fr+0)*B)),Mo=ji,si=Ks}1&Ir||(ko=3*Mo+si+131074>>2,h(D[de+Ir-1],255&ko,ko>>16,Wn,wn+(Ir-1)*B),xe!=null&&(ko=3*si+Mo+131074>>2,h(xe[Ne+Ir-1],255&ko,ko>>16,Jn,rr+(Ir-1)*B)))}}function Yh(){vc[dg]=fp,vc[fg]=hm,vc[lm]=hp,vc[hg]=gm,vc[gg]=vm,vc[uv]=mm,vc[cm]=gp,vc[dv]=hm,vc[fv]=gm,vc[vg]=vm,vc[hv]=mm}function qf(s){return s&~vp?0>s?0:255:s>>pm}function wd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Cd(s,h,B,D,de){D[de+0]=wd(s,B),D[de+1]=hf(s,h,B),D[de+2]=gf(s,h)}function il(s,h,B,D,de){D[de+0]=gf(s,h),D[de+1]=hf(s,h,B),D[de+2]=wd(s,B)}function vf(s,h,B,D,de){var xe=hf(s,h,B);h=xe<<3&224|gf(s,h)>>3,D[de+0]=248&wd(s,B)|xe>>5,D[de+1]=h}function mf(s,h,B,D,de){var xe=240&gf(s,h)|15;D[de+0]=240&wd(s,B)|hf(s,h,B)>>4,D[de+1]=xe}function Jh(s,h,B,D,de){D[de+0]=255,Cd(s,h,B,D,de+1)}function qh(s,h,B,D,de){il(s,h,B,D,de),D[de+3]=255}function Ol(s,h,B,D,de){Cd(s,h,B,D,de),D[de+3]=255}function Gu(s,h,B){It[s]=function(D,de,xe,Ne,Ke,qe,ht,Gt,En){for(var gt=Gt+(-2&En)*B;Gt!=gt;)h(D[de+0],xe[Ne+0],Ke[qe+0],ht,Gt),h(D[de+1],xe[Ne+0],Ke[qe+0],ht,Gt+B),de+=2,++Ne,++qe,Gt+=2*B;1&En&&h(D[de+0],xe[Ne+0],Ke[qe+0],ht,Gt)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function sg(s,h,B,D,de){switch(s>>>30){case 3:wf(h,B,D,de,0);break;case 2:hc(h,B,D,de);break;case 1:hA(h,B,D,de)}}function fc(s,h){var B,D,de=h.M,xe=h.Nb,Ne=s.oc,Ke=s.pc+40,qe=s.oc,ht=s.pc+584,Gt=s.oc,En=s.pc+600;for(B=0;16>B;++B)Ne[Ke+32*B-1]=129;for(B=0;8>B;++B)qe[ht+32*B-1]=129,Gt[En+32*B-1]=129;for(0B;++B)r(Ne,Ke+32*B-4,Ne,Ke+32*B+12,4);for(B=-1;8>B;++B)r(qe,ht+32*B-4,qe,ht+32*B+4,4),r(Gt,En+32*B-4,Gt,En+32*B+4,4)}var tn=s.Gd,vn=s.Hd+D,Wn=gt.ad,wn=gt.Hc;if(0=s.za-1?a(Jn,rr,tn[vn].y[15],4):r(Jn,rr,tn[vn+1].y,0,4)),B=0;4>B;B++)Jn[rr+128+B]=Jn[rr+256+B]=Jn[rr+384+B]=Jn[rr+0+B];for(B=0;16>B;++B,wn<<=2)Jn=Ne,rr=Ke+bm[B],Zc[gt.Ob[B]](Jn,rr),sg(wn,Wn,16*+B,Jn,rr)}else if(Jn=eh(D,de,gt.Ob[0]),Ud[Jn](Ne,Ke),wn!=0)for(B=0;16>B;++B,wn<<=2)sg(wn,Wn,16*+B,Ne,Ke+bm[B]);for(B=gt.Gc,Jn=eh(D,de,gt.Dd),Ju[Jn](qe,ht),Ju[Jn](Gt,En),wn=Wn,Jn=qe,rr=ht,255&(gt=0|B)&&(170>?bu(wn,256,Jn,rr):OA(wn,256,Jn,rr)),gt=Gt,wn=En,255&(B>>=8)&&(170&B?bu(Wn,320,gt,wn):OA(Wn,320,gt,wn)),deB;++B)r(tn,vn+B*s.R,Ne,Ke+32*B,16);for(B=0;8>B;++B)r(Wn,gt+B*s.B,qe,ht+32*B,8),r(wn,Jn+B*s.B,Gt,En+32*B,8)}}function pf(s,h,B,D,de,xe,Ne,Ke,qe){var ht=[0],Gt=[0],En=0,gt=qe!=null?qe.kd:0,tn=qe!=null?qe:new dr;if(s==null||12>B)return 7;tn.data=s,tn.w=h,tn.ha=B,h=[h],B=[B],tn.gb=[tn.gb];e:{var vn=h,Wn=B,wn=tn.gb;if(n(s!=null),n(Wn!=null),n(wn!=null),wn[0]=0,12<=Wn[0]&&!t(s,vn[0],"RIFF")){if(t(s,vn[0]+8,"WEBP")){wn=3;break e}var Jn=sa(s,vn[0]+4);if(12>Jn||4294967286Wn[0]-8){wn=7;break e}wn[0]=Jn,vn[0]+=12,Wn[0]-=12}wn=0}if(wn!=0)return wn;for(Jn=0wn[0])wn=7;else{if(!t(rr,Wn[0],"VP8X")){if(sa(rr,Wn[0]+4)!=10){wn=3;break e}if(18>wn[0]){wn=7;break e}var Mo=sa(rr,Wn[0]+8),si=1+ho(rr,Wn[0]+12);if(2147483648<=si*(rr=1+ho(rr,Wn[0]+15))){wn=3;break e}ea!=null&&(ea[0]=Mo),Ir!=null&&(Ir[0]=si),fr!=null&&(fr[0]=rr),Wn[0]+=18,wn[0]-=18,ko[0]=1}wn=0}}if(En=En[0],vn=vn[0],wn!=0)return wn;if(Wn=!!(2&vn),!Jn&&En)return 3;if(xe!=null&&(xe[0]=!!(16&vn)),Ne!=null&&(Ne[0]=Wn),Ke!=null&&(Ke[0]=0),Ne=ht[0],vn=Gt[0],En&&Wn&&qe==null){wn=0;break}if(4>B){wn=7;break}if(Jn&&En||!Jn&&!En&&!t(s,h[0],"ALPH")){B=[B],tn.na=[tn.na],tn.P=[tn.P],tn.Sa=[tn.Sa];e:{Mo=s,wn=h,Jn=B;var ko=tn.gb;Ir=tn.na,fr=tn.P,ea=tn.Sa,si=22,n(Mo!=null),n(Jn!=null),rr=wn[0];var ji=Jn[0];for(n(Ir!=null),n(ea!=null),Ir[0]=null,fr[0]=null,ea[0]=0;;){if(wn[0]=rr,Jn[0]=ji,8>ji){wn=7;break e}var Ks=sa(Mo,rr+4);if(4294967286ko){wn=3;break e}if(!t(Mo,rr,"VP8 ")||!t(Mo,rr,"VP8L")){wn=0;break e}if(ji[0]Jn[0])wn=7;else{if(rr||si){if(ko=sa(ko,Mo+4),12<=Ir&&ko>Ir-12){wn=3;break e}if(gt&&ko>Jn[0]-8){wn=7;break e}fr[0]=ko,wn[0]+=8,Jn[0]-=8,ea[0]=si}else ea[0]=5<=Jn[0]&&ko[Mo+0]==47&&!(ko[Mo+4]>>5),fr[0]=Jn[0];wn=0}if(B=B[0],tn.Ja=tn.Ja[0],tn.xa=tn.xa[0],h=h[0],wn!=0)break;if(4294967286B){wn=7;break}Ke=Ne,gt=vn,Wn=xe,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?(Jn=[0],ko=[0],Ir=[0],Zn(fr=new xt,s,h,B),ju(fr,Jn,ko,Ir)?(Ke!=null&&(Ke[0]=Jn[0]),gt!=null&&(gt[0]=ko[0]),Wn!=null&&(Wn[0]=Ir[0]),s=1):s=0):s=0}else{if(10>B){wn=7;break}Ke=vn,s==null||10>B||!Y0(s,h+3,B-3)?s=0:(gt=s[h+0]|s[h+1]<<8|s[h+2]<<16,Wn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1>||3<(gt>>1&7)||!(gt>>4&1)||gt>>5>=tn.Ja||!Wn||!s?s=0:(Ne&&(Ne[0]=Wn),Ke&&(Ke[0]=s),s=1))}if(!s||(Ne=Ne[0],vn=vn[0],En&&(ht[0]!=Ne||Gt[0]!=vn)))return 3;qe!=null&&(qe[0]=tn,qe.offset=h-qe.w,n(4294967286>h-qe.w),n(qe.offset==qe.ha-B));break}return wn==0||wn==7&&En&&qe==null?(xe!=null&&(xe[0]|=tn.na!=null&&0B||(xe&=-2,Ne&=-2),0>xe||0>Ne||0>=Ke||0>=qe||xe+Ke>D||Ne+qe>de))return 0;if(h.v=xe,h.j=Ne,h.va=xe+Ke,h.o=Ne+qe,h.U=Ke,h.T=qe,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Bd(s,h,B,D){if(D==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var de=B.cd,xe=B.bd,Ne=-2&B.v,Ke=-2&B.j;if(0>Ne||0>Ke||0>=de||0>=xe||Ne+de>s||Ke+xe>h)return 2;s=de,h=xe}if(B.da){if(!Ba(s,h,de=[B.ib],xe=[B.hb]))return 2;s=de[0],h=xe[0]}}D.width=s,D.height=h;e:{var qe=D.width,ht=D.height;if(s=D.S,0>=qe||0>=ht||!(s>=dg&&13>s))s=2;else{if(0>=D.Rd&&D.sd==null){Ne=xe=de=h=0;var Gt=(Ke=qe*wm[s])*ht;if(11>s||(xe=(ht+1)/2*(h=(qe+1)/2),s==12&&(Ne=(de=qe)*ht)),(ht=A(Gt+2*xe+Ne))==null){s=1;break e}D.sd=ht,11>s?((qe=D.f.RGBA).eb=ht,qe.fb=0,qe.A=Ke,qe.size=Gt):((qe=D.f.kb).y=ht,qe.O=0,qe.fa=Ke,qe.Fd=Gt,qe.f=ht,qe.N=0+Gt,qe.Ab=h,qe.Cd=xe,qe.ea=ht,qe.W=0+Gt+xe,qe.Db=h,qe.Ed=xe,s==12&&(qe.F=ht,qe.J=0+Gt+2*xe),qe.Tc=Ne,qe.lb=de)}if(h=1,de=D.S,xe=D.width,Ne=D.height,de>=dg&&13>de)if(11>de)s=D.f.RGBA,h&=(Ke=Math.abs(s.A))*(Ne-1)+xe<=s.size,h&=Ke>=xe*wm[de],h&=s.eb!=null;else{s=D.f.kb,Ke=(xe+1)/2,Gt=(Ne+1)/2,qe=Math.abs(s.fa),ht=Math.abs(s.Ab);var En=Math.abs(s.Db),gt=Math.abs(s.lb),tn=gt*(Ne-1)+xe;h&=qe*(Ne-1)+xe<=s.Fd,h&=ht*(Gt-1)+Ke<=s.Cd,h=(h&=En*(Gt-1)+Ke<=s.Ed)&qe>=xe&ht>=Ke&En>=Ke,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,de==12&&(h&=gt>=xe,h&=tn<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=t0(D)),s}var yf=64,zl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Vl=24,xd=32,Xu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),It.Predictor0=function(){return 4278190080},It.Predictor1=function(s){return s},It.Predictor2=function(s,h,B){return h[B+0]},It.Predictor3=function(s,h,B){return h[B+1]},It.Predictor4=function(s,h,B){return h[B-1]},It.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},It.Predictor6=function(s,h,B){return ua(s,h[B-1])},It.Predictor7=function(s,h,B){return ua(s,h[B+0])},It.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},It.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},It.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},It.Predictor11=function(s,h,B){var D=h[B+0];return 0>=Wa(D>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Wa(D>>16&255,s>>16&255,h>>16&255)+Wa(D>>8&255,s>>8&255,h>>8&255)+Wa(255&D,255&s,255&h)?D:s},It.Predictor12=function(s,h,B){var D=h[B+0];return(dA((s>>24&255)+(D>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(D>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(D>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&D)-(255&h)))>>>0},It.Predictor13=function(s,h,B){var D=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,D>>24&255)<<24|Li(s>>16&255,D>>16&255)<<16|Li(s>>8&255,D>>8&255)<<8|Li(255&s,255&D))>>>0};var n0=It.PredictorAdd0;It.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=It.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,lg=It.ColorIndexInverseTransform,pu=It.MapARGB,yu=It.VP8LColorIndexInverseTransformAlpha,r0=It.MapAlpha,o0=It.VP8LPredictorsAdd=[];o0.length=16,(It.VP8LPredictors=[]).length=16,(It.VP8LPredictorsAdd_C=[]).length=16,(It.VP8LPredictors_C=[]).length=16;var a0,i0,Sd,Id,Fd,bf,Od,wf,hc,bu,hA,OA,Es,Hs,Yu,A0,nh,cg,Gv,Xv,Yv,Jv,qv,em,s0,tm,nm,rm,om=A(511),am=A(2041),im=A(225),Am=A(767),sm=0,cv=am,ug=im,Wl=Am,gc=om,dg=0,fg=1,lm=2,hg=3,gg=4,uv=5,cm=6,dv=7,fv=8,vg=9,hv=10,qm=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],op=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ap=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,ip=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Ap=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],Zc=[],Ju=[],dp=1,fm=2,Ld=[],vc=[];Wu("UpsampleRgbLinePair",Cd,3),Wu("UpsampleBgrLinePair",il,3),Wu("UpsampleRgbaLinePair",Ol,4),Wu("UpsampleBgraLinePair",qh,4),Wu("UpsampleArgbLinePair",Jh,4),Wu("UpsampleRgba4444LinePair",mf,2),Wu("UpsampleRgb565LinePair",vf,2);var fp=It.UpsampleRgbLinePair,hp=It.UpsampleBgrLinePair,hm=It.UpsampleRgbaLinePair,gm=It.UpsampleBgraLinePair,vm=It.UpsampleArgbLinePair,mm=It.UpsampleRgba4444LinePair,gp=It.UpsampleRgb565LinePair,mg=16,pg=1<D.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),D.ca.f.kb.F!=null&&$c()),D.Pb&&0(qe=B.Md)?0:100ht;++ht)12>(En=de.pb[ht]).lc&&(En.ia=qe*Bp[0>En.lc?0:En.lc]>>3),Gt|=En.ia;Gt&&(alert("todo:VP8InitRandom"),de.ia=1)}de.Ga=B.Id,100de.Ga&&(de.Ga=0)}(function(gt,tn){if(gt==null)return 0;if(tn==null)return Ps(gt,2,"NULL VP8Io parameter in VP8Decode().");if(!gt.cb&&!vu(gt,tn))return 0;if(n(gt.cb),tn.ac==null||tn.ac(tn)){tn.ob&&(gt.L=0);var vn=yg[gt.L];if(gt.L==2?(gt.yb=0,gt.zb=0):(gt.yb=tn.v-vn>>4,gt.zb=tn.j-vn>>4,0>gt.yb&&(gt.yb=0),0>gt.zb&&(gt.zb=0)),gt.Va=tn.o+15+vn>>4,gt.Hb=tn.va+15+vn>>4,gt.Hb>gt.za&&(gt.Hb=gt.za),gt.Va>gt.Ub&&(gt.Va=gt.Ub),0vn;++vn){var wn;if(gt.Qa.Cb){var Jn=gt.Qa.Lb[vn];gt.Qa.Fb||(Jn+=Wn.Tb)}else Jn=Wn.Tb;for(wn=0;1>=wn;++wn){var rr=gt.gd[vn][wn],Ir=Jn;if(Wn.Pc&&(Ir+=Wn.vd[0],wn&&(Ir+=Wn.od[0])),0<(Ir=0>Ir?0:63>2:fr>>1)>9-Wn.wb&&(fr=9-Wn.wb),1>fr&&(fr=1),rr.dd=fr,rr.tc=2*Ir+fr,rr.ld=40<=Ir?2:15<=Ir?1:0}else rr.tc=0;rr.La=wn}}}vn=0}else Ps(gt,6,"Frame setup failed"),vn=gt.a;if(vn=vn==0){if(vn){gt.$c=0,0gt.Vb){if(gt.Vb=0,gt.Ec=A(rr),gt.Fc=0,gt.Ec==null){vn=Ps(gt,1,"no memory during frame initialization.");break t}gt.Vb=rr}rr=gt.Ec,Ir=gt.Fc,gt.Ac=rr,gt.Bc=Ir,Ir+=Wn,gt.Gd=v(ea,G0),gt.Hd=0,gt.rb=v(Mo+1,Hh),gt.sb=1,gt.wa=si?v(si,uc):null,gt.Y=0,gt.D.Nb=0,gt.D.wa=gt.wa,gt.D.Y=gt.Y,0=vn;++vn)om[255+vn]=0>vn?-vn:vn;for(vn=-1020;1020>=vn;++vn)am[1020+vn]=-128>vn?-128:127=vn;++vn)im[112+vn]=-16>vn?-16:15=vn;++vn)Am[255+vn]=0>vn?0:255Zi;++Zi){var $s,Yi=Ul[0+Zi];for($s=0;4>$s;++$s){Yi=lp[ZA[Al+$s]][Yi];for(var CA=dm[or(Xa,Yi[0])];0>3;for(CA=0;256>CA;CA+=16)Zi[Bl+CA]=jl}sl=1,kc=Al[0]}var UA=15&Xa.la,Zs=15&Ll.la;for(CA=0;4>CA;++CA){var Gl=1&Zs;for(jl=BA=0;4>jl;++jl)UA=UA>>1|(Gl=(Is=l0(ZA,kc,Is=Gl+(1&UA),ds.Sc,sl,Zi,Bl))>sl)<<7,BA=BA<<2|(3>=4,Zs=Zs>>1|Gl<<7,$s=($s<<8|BA)>>>0}for(kc=UA,sl=Zs>>4,fs=0;4>fs;fs+=2){for(BA=0,UA=Xa.la>>4+fs,Zs=Ll.la>>4+fs,CA=0;2>CA;++CA){for(Gl=1&Zs,jl=0;2>jl;++jl)Is=Gl+(1&UA),UA=UA>>1|(Gl=0<(Is=l0(ZA,Al[2],Is,ds.Qc,0,Zi,Bl)))<<3,BA=BA<<2|(3>=2,Zs=Zs>>1|Gl<<5}Yi|=BA<<4*fs,kc|=UA<<4<=zo.zb&&zo.M<=zo.Va,zo.Aa==0)t:{if(li.M=zo.M,li.uc=Xa,fc(zo,li),Ss=1,li=(BA=zo.D).Nb,Xa=(Yi=yg[zo.L])*zo.R,ZA=Yi/2*zo.B,CA=16*li*zo.R,jl=8*li*zo.B,Al=zo.sa,Ul=zo.ta-Xa+CA,ds=zo.qa,Zi=zo.ra-ZA+jl,Bl=zo.Ha,Ll=zo.Ia-ZA+jl,Zs=(UA=BA.M)==0,$s=UA>=zo.Va-1,zo.Aa==2&&fc(zo,BA),BA.uc)for(Gl=(Is=zo).D.M,n(Is.D.uc),BA=Is.yb;BAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,zo.Fa!=null&&0>1),Ao.W+=zo.B*(Yi>>1),Ao.F!=null&&(Ao.J+=Ao.width*Yi)),BA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=BA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-BA,Ss=Ao.put(Ao))}li+1!=zo.Ic||$s||(r(zo.sa,zo.ta-Xa,Al,Ul+16*zo.R,Xa),r(zo.qa,zo.ra-ZA,ds,Zi+8*zo.B,ZA),r(zo.Ha,zo.Ia-ZA,Bl,Ll+8*zo.B,ZA))}if(!Ss)return Ps(ji,6,"Output aborted.")}return 1}(gt,tn)),tn.bc!=null&&tn.bc(tn),vn&=1}return vn?(gt.cb=0,vn):0})(s,D)||(h=s.a)}}else h=s.a}h==0&&Ne.Oa!=null&&Ne.Oa.fd&&(h=t0(Ne.ba))}Ne=h}xe=Ne!=0?null:11>xe?Ke.f.RGBA.eb:Ke.f.kb.y}else xe=null;return xe};var wm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(It,gn){for(var Me="",lt=0;lt<4;lt++)Me+=String.fromCharCode(It[gn++]);return Me}function O(It,gn){return It[gn+0]|It[gn+1]<<8}function ie(It,gn){return(It[gn+0]|It[gn+1]<<8|It[gn+2]<<16)>>>0}function Be(It,gn){return(It[gn+0]|It[gn+1]<<8|It[gn+2]<<16|It[gn+3]<<24)>>>0}new m;var S=[0],at=[0],et=[],it=new m,Te=e,Kt=function(It,gn){var Me={},lt=0,_t=!1,Mt=0,On=0;if(Me.frames=[],!function(Qe,xt){for(var Pt=0;Pt<4;Pt++)if(Qe[xt+Pt]!="RIFF".charCodeAt(Pt))return!0;return!1}(It,gn)){for(Be(It,gn+=4),gn+=8;gn>1&1}Tn!="ANMF"&&(gn+=xn)}return Me}}(Te,0);Kt.response=Te,Kt.rgbaoutput=!0,Kt.dataurl=!1;var Rt=Kt.header?Kt.header:null,St=Kt.frames?Kt.frames:null;if(Rt){Rt.loop_counter=Rt.loop_count,S=[Rt.canvas_height],at=[Rt.canvas_width];for(var Sn=0;Sn=2?ct[1]:po[0],po[2]=ct.length>=3?ct[2]:po[0],po[3]=ct.length>=4?ct[3]:po[1]),y.margin=po}});var _n=!1;Object.defineProperty(this,"autoPaging",{get:function(){return _n},set:function(ct){_n=ct}});var Kn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Kn},set:function(ct){Kn=ct}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(ct){or=ct}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(ct){ct instanceof O&&(y=ct)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(ct){y.path=ct}});var Nr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Nr},set:function(ct){Nr=ct}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ct){var po;po=Be(ct),this.ctx.fillStyle=po.style,this.ctx.isFillTransparent=po.a===0,this.ctx.fillOpacity=po.a,this.pdf.setFillColor(po.r,po.g,po.b,{a:po.a}),this.pdf.setTextColor(po.r,po.g,po.b,{a:po.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ct){var po=Be(ct);this.ctx.strokeStyle=po.style,this.ctx.isStrokeTransparent=po.a===0,this.ctx.strokeOpacity=po.a,po.a===0?this.pdf.setDrawColor(255,255,255):(po.a,this.pdf.setDrawColor(po.r,po.g,po.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ct){["butt","round","square"].indexOf(ct)!==-1&&(this.ctx.lineCap=ct,this.pdf.setLineCap(ct))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ct){isNaN(ct)||(this.ctx.lineWidth=ct,this.pdf.setLineWidth(ct))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ct){["bevel","round","miter"].indexOf(ct)!==-1&&(this.ctx.lineJoin=ct,this.pdf.setLineJoin(ct))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ct){isNaN(ct)||(this.ctx.miterLimit=ct,this.pdf.setMiterLimit(ct))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ct){this.ctx.textBaseline=ct}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ct){["right","end","center","left","start"].indexOf(ct)!==-1&&(this.ctx.textAlign=ct)}});var mo=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(ct){mo=null,ho=null,sa=ct}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(ct){var po;if(this.ctx.font=ct,(po=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(ct))!==null){var fi=po[1];po[2];var Ba=po[3],wr=po[4];po[5];var xa=po[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(wr)[2];wr=Math.floor(jo==="px"?parseFloat(wr)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(wr)*this.pdf.getFontSize():parseFloat(wr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(wr);var pa=function(na){var Bs,Gi,pi=[],yi=na.trim();if(yi==="")return kg;if(yi in su)return[su[yi]];for(;yi!=="";){switch(Gi=null,Bs=(yi=lu(yi)).charAt(0)){case'"':case"'":Gi=Dc(yi.substring(1),Bs);break;default:Gi=pd(yi)}if(Gi===null||(pi.push(Gi[0]),(yi=lu(Gi[1]))!==""&&yi.charAt(0)!==","))return kg;yi=yi.replace(/^,/,"")}return pi}(xa);if(this.fontFaces){var ua=function(na,Bs){var Gi=na.getFontList(),pi=JSON.stringify(Gi);if(mo===null||ho!==pi){var yi=function(XA){var ha=[];return Object.keys(XA).forEach(function(RA){XA[RA].forEach(function(La){var Ga=null;switch(La){case"bold":Ga={family:RA,weight:"bold"};break;case"italic":Ga={family:RA,style:"italic"};break;case"bolditalic":Ga={family:RA,weight:"bold",style:"italic"};break;case"":case"normal":Ga={family:RA}}Ga!==null&&(Ga.ref={name:RA,style:La},ha.push(Ga))})}),ha}(Gi);mo=function(XA){for(var ha={},RA=0;RA=700||fi==="bold")&&(Wa="bold"),fi==="italic"&&(Wa+="italic"),Wa.length===0&&(Wa="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(kt=0,rn=2*Math.PI),this.path.push({type:"arc",x:Qe,y:xt,radius:Pt,startAngle:kt,endAngle:rn,counterclockwise:bn})},ie.prototype.arcTo=function(Qe,xt,Pt,kt,rn){throw new Error("arcTo not implemented.")},ie.prototype.rect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Qe,xt),this.lineTo(Qe+Pt,xt),this.lineTo(Qe+Pt,xt+kt),this.lineTo(Qe,xt+kt),this.lineTo(Qe,xt),this.lineTo(Qe+Pt,xt),this.lineTo(Qe,xt)},ie.prototype.fillRect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!S.call(this)){var rn={};this.lineCap!=="butt"&&(rn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(rn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Qe,xt,Pt,kt),this.fill(),rn.hasOwnProperty("lineCap")&&(this.lineCap=rn.lineCap),rn.hasOwnProperty("lineJoin")&&(this.lineJoin=rn.lineJoin)}},ie.prototype.strokeRect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");at.call(this)||(this.beginPath(),this.rect(Qe,xt,Pt,kt),this.stroke())},ie.prototype.clearRect=function(Qe,xt,Pt,kt){if(isNaN(Qe)||isNaN(xt)||isNaN(Pt)||isNaN(kt))throw wA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Qe,xt,Pt,kt))},ie.prototype.save=function(Qe){Qe=typeof Qe!="boolean"||Qe;for(var xt=this.pdf.internal.getCurrentPageInfo().pageNumber,Pt=0;Pt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};ie.prototype.drawImage=function(Qe,xt,Pt,kt,rn,bn,_n,Kn,or){var Nr=this.pdf.getImageProperties(Qe),mo=1,ho=1,sa=1,ct=1;kt!==void 0&&Kn!==void 0&&(sa=Kn/kt,ct=or/rn,mo=Nr.width/kt*Kn/kt,ho=Nr.height/rn*or/rn),bn===void 0&&(bn=xt,_n=Pt,xt=0,Pt=0),kt!==void 0&&Kn===void 0&&(Kn=kt,or=rn),kt===void 0&&Kn===void 0&&(Kn=Nr.width,or=Nr.height);var po=this.ctx.transform.decompose(),fi=xn(po.rotate.shx),Ba=new m,wr=(Ba=(Ba=(Ba=Ba.multiply(po.translate)).multiply(po.skew)).multiply(po.scale)).applyToRectangle(new g(bn-xt*sa,_n-Pt*ct,kt*mo,rn*ho));if(this.autoPaging){for(var xa,jo=it.call(this,wr),pa=[],ua=0;uadA||Wawr||jo0)){for(;or>=0;or--)if(rn[or-1].close!==!0&&rn[or-1].begin!==!0){rn[or-1].deltas.push(Pt),rn[or-1].abs.push(Kn);break}}break;case"bct":Pt=[Kn.x1-bn[_n-1].x,Kn.y1-bn[_n-1].y,Kn.x2-bn[_n-1].x,Kn.y2-bn[_n-1].y,Kn.x-bn[_n-1].x,Kn.y-bn[_n-1].y],rn[rn.length-1].deltas.push(Pt);break;case"qct":var Nr=bn[_n-1].x+2/3*(Kn.x1-bn[_n-1].x),mo=bn[_n-1].y+2/3*(Kn.y1-bn[_n-1].y),ho=Kn.x+2/3*(Kn.x1-Kn.x),sa=Kn.y+2/3*(Kn.y1-Kn.y),ct=Kn.x,po=Kn.y;Pt=[Nr-bn[_n-1].x,mo-bn[_n-1].y,ho-bn[_n-1].x,sa-bn[_n-1].y,ct-bn[_n-1].x,po-bn[_n-1].y],rn[rn.length-1].deltas.push(Pt);break;case"arc":rn.push({deltas:[],abs:[],arc:!0}),Array.isArray(rn[rn.length-1].abs)&&rn[rn.length-1].abs.push(Kn)}}kt=xt?null:Qe==="stroke"?"stroke":"fill";for(var fi=!1,Ba=0;Ba=.01&&(kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(kt*Qe.scale),rn=this.lineWidth,this.lineWidth=rn*Qe.scale);var ni=this.autoPaging!=="text";if(ni||Xo.y+Xo.h<=ua){if(ni||Xo.y>=jo&&Xo.x<=Li){var na=ni?Qe.text:this.pdf.splitTextToSize(Qe.text,Qe.maxWidth||Li-Xo.x)[0],Bs=Kt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],Gi=ni&&(xa>Ba||xa=.01&&(this.pdf.setFontSize(kt),this.lineWidth=rn)}}else Qe.scale>=.01&&(kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(kt*Qe.scale),rn=this.lineWidth,this.lineWidth=rn*Qe.scale),this.pdf.text(Qe.text,or.x+this.posX,or.y+this.posY,{angle:Qe.angle,align:xt,renderingMode:Qe.renderingMode,maxWidth:Qe.maxWidth}),Qe.scale>=.01&&(this.pdf.setFontSize(kt),this.lineWidth=rn)},_t=function(Qe,xt,Pt,kt){Pt=Pt||0,kt=kt||0,this.pdf.internal.out(t(Qe+Pt)+" "+r(xt+kt)+" l")},Mt=function(Qe,xt,Pt){return this.pdf.lines(Qe,xt,Pt,null,null)},On=function(Qe,xt,Pt,kt,rn,bn,_n,Kn){this.pdf.internal.out([n(a(Pt+Qe)),n(A(kt+xt)),n(a(rn+Qe)),n(A(bn+xt)),n(a(_n+Qe)),n(A(Kn+xt)),"c"].join(" "))},Tn=function(Qe,xt,Pt,kt){for(var rn=2*Math.PI,bn=Math.PI/2;xt>Pt;)xt-=rn;var _n=Math.abs(Pt-xt);_n1e-5;){var mo=Nr+or*Math.min(_n,bn);Kn.push(Hn.call(this,Qe,Nr,mo)),_n-=Math.abs(mo-Nr),Nr=mo}return Kn},Hn=function(Qe,xt,Pt){var kt=(Pt-xt)/2,rn=Qe*Math.cos(kt),bn=Qe*Math.sin(kt),_n=rn,Kn=-bn,or=_n*_n+Kn*Kn,Nr=or+_n*rn+Kn*bn,mo=4/3*(Math.sqrt(2*or*Nr)-Nr)/(_n*bn-Kn*rn),ho=_n-mo*Kn,sa=Kn+mo*_n,ct=ho,po=-sa,fi=kt+xt,Ba=Math.cos(fi),wr=Math.sin(fi);return{x1:Qe*Math.cos(xt),y1:Qe*Math.sin(xt),x2:ho*Ba-sa*wr,y2:ho*wr+sa*Ba,x3:ct*Ba-po*wr,y3:ct*wr+po*Ba,x4:Qe*Math.cos(Pt),y4:Qe*Math.sin(Pt)}},xn=function(Qe){return 180*Qe/Math.PI},Zn=function(Qe,xt,Pt,kt,rn,bn){var _n=Qe+.5*(Pt-Qe),Kn=xt+.5*(kt-xt),or=rn+.5*(Pt-rn),Nr=bn+.5*(kt-bn),mo=Math.min(Qe,rn,_n,or),ho=Math.max(Qe,rn,_n,or),sa=Math.min(xt,bn,Kn,Nr),ct=Math.max(xt,bn,Kn,Nr);return new g(mo,sa,ho-mo,ct-sa)},_r=function(Qe,xt,Pt,kt,rn,bn,_n,Kn){var or,Nr,mo,ho,sa,ct,po,fi,Ba,wr,xa,jo,pa,ua,dA=Pt-Qe,Li=kt-xt,Wa=rn-Pt,Ti=bn-kt,Ni=_n-rn,Xo=Kn-bn;for(Nr=0;Nr<41;Nr++)Ba=(po=(mo=Qe+(or=Nr/40)*dA)+or*((sa=Pt+or*Wa)-mo))+or*(sa+or*(rn+or*Ni-sa)-po),wr=(fi=(ho=xt+or*Li)+or*((ct=kt+or*Ti)-ho))+or*(ct+or*(bn+or*Xo-ct)-fi),Nr==0?(xa=Ba,jo=wr,pa=Ba,ua=wr):(xa=Math.min(xa,Ba),jo=Math.min(jo,wr),pa=Math.max(pa,Ba),ua=Math.max(ua,wr));return new g(Math.round(xa),Math.round(jo),Math.round(pa-xa),Math.round(ua-jo))},cr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Qe,xt,Pt=(Qe=this.ctx.lineDash,xt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Qe,lineDashOffset:xt}));this.prevLineDash!==Pt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Pt)}}})(Zo.API),function(e){var n=function(v){var g,m,y,O,ie,Be,S,at,et,it;for(/[^\x00-\xFF]/.test(v),m=[],y=0,O=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;O>y;y+=4)(ie=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(Be=(ie=((ie=((ie=((ie=(ie-(it=ie%85))/85)-(et=ie%85))/85)-(at=ie%85))/85)-(S=ie%85))/85)%85,m.push(Be+33,S+33,at+33,et+33,it+33)):m.push(122);return function(Te,Kt){for(var Rt=Kt;Rt>0;Rt--)Te.pop()}(m,g.length),String.fromCharCode.apply(String,m)+"~>"},t=function(v){var g,m,y,O,ie,Be=String,S="length",at=255,et="charCodeAt",it="slice",Te="replace";for(v[it](-2),v=v[it](0,-2)[Te](/\s/g,"")[Te]("z","!!!!!"),y=[],O=0,ie=(v+=g="uuuuu"[it](v[S]%5||5))[S];ie>O;O+=5)m=52200625*(v[et](O)-33)+614125*(v[et](O+1)-33)+7225*(v[et](O+2)-33)+85*(v[et](O+3)-33)+(v[et](O+4)-33),y.push(at&m>>24,at&m>>16,at&m>>8,at&m);return function(Kt,Rt){for(var St=Rt;St>0;St--)Kt.pop()}(y,g[S]),Be.fromCharCode.apply(Be,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var m="",y=0;yet&&(at=it,it=et,et=at);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",et>it&&(at=it,it=et,et=at)}return{width:it,height:et,unit:m,k:ie,orientation:g}},e.html=function(g,m){(m=m||{}).callback=m.callback||function(){},m.html2canvas=m.html2canvas||{},m.html2canvas.canvas=m.html2canvas.canvas||this.canvas,m.jsPDF=m.jsPDF||this,m.fontFaces=m.fontFaces?m.fontFaces.map(Tl):null;var y=new v(m);return m.worker?y:y.from(g).doCallback()}}(Zo.API),Zo.API.addJS=function(e){return Pv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Pv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),A=0;A> endobj")}var S=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+S+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,A){var v={title:a,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var m=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+m.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var y=0;y>"}),"transparency"in Bt&&Array.isArray(Bt.transparency)&&Bt.transparency.length>0){for(var Cr="",Yn=0,wr=Bt.transparency.length;Yn>",At.content=l;var Xt=At.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length>=1};var D=e.__arabicParser__.arabicLetterHasFinalForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length>=3};var q=e.__arabicParser__.arabicLetterHasMedialForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length==4},Be=e.__arabicParser__.resolveLigatures=function(At){var pt=0,et=t,ln="",Xt=0;for(pt=0;pt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(p){t=p}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(p){r=isNaN(p)||Number.isInteger(p)===!1||p<0?150:p,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(p){A=isNaN(p)||Number.isInteger(p)===!1||p<0?300:p,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(p){l=p}});var I={};Object.defineProperty(this,"style",{get:function(){return I},set:function(p){I=p}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var A;if((t=t||"2d")!=="2d")return null;for(A in r)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=r[A]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(xo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),A.call(this))},A=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var x=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return x},set:function(At){x=At}});var D=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return D},set:function(At){D=At}});var q=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return q},set:function(At){q=At}});var Be=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Be},set:function(At){Be=At}});var je=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return je},set:function(At){je=At}});var G=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return G},set:function(At){G=At}});var gt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return gt},set:function(At){gt=At}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(x){return r.call(this),this.internal.__cell__.headerFunction=typeof x=="function"?x:void 0,this},e.getTextDimensions=function(x,D){r.call(this);var q=(D=D||{}).fontSize||this.getFontSize(),Be=D.font||this.getFont(),je=D.scaleFactor||this.internal.scaleFactor,G=0,gt=0,At=0,pt=this;if(!Array.isArray(x)&&typeof x!="string"){if(typeof x!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");x=String(x)}var et=D.maxWidth;et>0?typeof x=="string"?x=this.splitTextToSize(x,et):Object.prototype.toString.call(x)==="[object Array]"&&(x=x.reduce(function(Xt,Mt){return Xt.concat(pt.splitTextToSize(Mt,et))},[])):x=Array.isArray(x)?x:[x];for(var ln=0;lnthis.getPageHeight()?(this.cellAddPage(),x.y=Be.top,G&&je&&(this.printHeaderRow(x.lineNumber,!0),x.y+=je[0].height)):x.y=D.y+D.height||x.y),x.text[0]!==void 0&&(this.rect(x.x,x.y,x.width,x.height,t===!0?"FD":void 0),x.align==="right"?this.text(x.text,x.x+x.width-q,x.y+q,{align:"right",baseline:"top"}):x.align==="center"?this.text(x.text,x.x+x.width/2,x.y+q,{align:"center",baseline:"top",maxWidth:x.width-q-q}):this.text(x.text,x.x+q,x.y+q,{align:"left",baseline:"top",maxWidth:x.width-q-q})),this.internal.__cell__.lastCell=x,this};e.table=function(x,D,q,Be,je){if(r.call(this),!q)throw new Error("No data for PDF table.");var G,gt,At,pt,et=[],ln=[],Xt=[],Mt={},$n={},xr=[],vr=[],gn=(je=je||{}).autoSize||!1,jt=je.printHeaders!==!1,Kn=je.css&&je.css["font-size"]!==void 0?16*je.css["font-size"]:je.fontSize||12,$e=je.margins||Object.assign({width:this.getPageWidth()},n),Bt=typeof je.padding=="number"?je.padding:3,sn=je.headerBackgroundColor||"#c8c8c8",$t=je.headerTextColor||"#000";if(A.call(this),this.internal.__cell__.printHeaders=jt,this.internal.__cell__.margins=$e,this.internal.__cell__.table_font_size=Kn,this.internal.__cell__.padding=Bt,this.internal.__cell__.headerBackgroundColor=sn,this.internal.__cell__.headerTextColor=$t,this.setFontSize(Kn),Be==null)ln=et=Object.keys(q[0]),Xt=et.map(function(){return"left"});else if(Array.isArray(Be)&&(0,o.Z)(Be[0])==="object")for(et=Be.map(function(ba){return ba.name}),ln=Be.map(function(ba){return ba.prompt||ba.name||""}),Xt=Be.map(function(ba){return ba.align||"left"}),G=0;G0&&this.setTableHeaderRow(je),this.setFont(void 0,"normal"),t=!1}}(xo.API);var Fs={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ec=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],$s=yi(Ec),nl=[100,200,300,400,500,600,700,800,900],Uu=yi(nl);function Ml(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return Fs[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),A=function(l){return typeof $s[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:A,src:e.src||[],ref:e.ref||{name:n,style:[A,t,r].join(" ")}}}function Ic(e,n,t,r){var A;for(A=t;A>=0&&A=0&&A>>1)&255}return A}function Kv(e,n,t){var r=e.length,A=[];A[0]=4;for(var l=0;l>l&I}function kv(e,n,t,r){var A=t*r,l=Math.floor(A/8),I=16-(A-8*l+r),p=(1<>8&255;D.setUint8(q,je)}})(e,l,zv(e,l)&~(p<>7,I=1<<1+(7&A);e[n++],e[n++];var p=null,x=null;l&&(p=n,x=I,n+=3*I);var D=!0,q=[],Be=0,je=null,G=0,gt=null;for(this.width=t,this.height=r;D&&n=0))throw Error("Invalid block size");if($e===0)break;n+=$e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var At=e[n++];Be=e[n++]|e[n++]<<8,je=e[n++],1&At||(je=null),G=At>>2&7,n++;break;case 254:for(;;){if(!(($e=e[n++])>=0))throw Error("Invalid block size");if($e===0)break;n+=$e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var pt=e[n++]|e[n++]<<8,et=e[n++]|e[n++]<<8,ln=e[n++]|e[n++]<<8,Xt=e[n++]|e[n++]<<8,Mt=e[n++],$n=Mt>>6&1,xr=1<<1+(7&Mt),vr=p,gn=x,jt=!1;Mt>>7&&(jt=!0,vr=n,gn=xr,n+=3*xr);var Kn=n;for(n++;;){var $e;if(!(($e=e[n++])>=0))throw Error("Invalid block size");if($e===0)break;n+=$e}q.push({x:pt,y:et,width:ln,height:Xt,has_local_palette:jt,palette_offset:vr,palette_size:gn,data_offset:Kn,data_length:n-Kn,transparent_index:je,interlaced:!!$n,delay:Be,disposal:G});break;case 59:D=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return q.length},this.loopCount=function(){return gt},this.frameInfo=function(Bt){if(Bt<0||Bt>=q.length)throw new Error("Frame index out of range.");return q[Bt]},this.decodeAndBlitFrameBGRA=function(Bt,sn){var $t=this.frameInfo(Bt),or=$t.width*$t.height,hr=new Uint8Array(or);Zv(e,$t.data_offset,hr,or);var Cr=$t.palette_offset,Yn=$t.transparent_index;Yn===null&&(Yn=256);var wr=$t.width,ba=t-wr,Gr=wr,Ge=4*($t.y*t+$t.x),Rt=4*(($t.y+$t.height)*t+$t.x),Zt=Ge,un=4*ba;$t.interlaced===!0&&(un+=4*t*7);for(var bn=8,Vn=0,mr=hr.length;Vn=Rt&&(un=4*ba+4*t*(bn-1),Zt=Ge+(wr+ba)*(bn<<1),bn>>=1)),Br===Yn)Zt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];sn[Zt++]=ro,sn[Zt++]=ma,sn[Zt++]=jr,sn[Zt++]=255}--Gr}},this.decodeAndBlitFrameRGBA=function(Bt,sn){var $t=this.frameInfo(Bt),or=$t.width*$t.height,hr=new Uint8Array(or);Zv(e,$t.data_offset,hr,or);var Cr=$t.palette_offset,Yn=$t.transparent_index;Yn===null&&(Yn=256);var wr=$t.width,ba=t-wr,Gr=wr,Ge=4*($t.y*t+$t.x),Rt=4*(($t.y+$t.height)*t+$t.x),Zt=Ge,un=4*ba;$t.interlaced===!0&&(un+=4*t*7);for(var bn=8,Vn=0,mr=hr.length;Vn=Rt&&(un=4*ba+4*t*(bn-1),Zt=Ge+(wr+ba)*(bn<<1),bn>>=1)),Br===Yn)Zt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];sn[Zt++]=jr,sn[Zt++]=ma,sn[Zt++]=ro,sn[Zt++]=255}--Gr}}}function Zv(e,n,t,r){for(var A=e[n++],l=1<>=x,q-=x,pt!==l){if(pt===I)break;for(var et=ptl;)Xt=gt[Xt]>>8,++ln;var Mt=Xt;if(je+ln+(et!==pt?1:0)>r)return void Ri.log("Warning, gif stream longer than expected.");t[je++]=Mt;var $n=je+=ln;for(et!==pt&&(t[je++]=Mt),Xt=et;ln--;)Xt=gt[Xt],t[--$n]=255&Xt,Xt>>=8;At!==null&&p<4096&&(gt[p++]=At<<8|Mt,p>=D+1&&x<12&&(++x,D=D<<1|1)),At=pt}else p=I+1,D=(1<<(x=A+1))-1,At=null}return je!==r&&Ri.log("Warning, gif stream shorter than expected."),t}function X0(e){var n,t,r,A,l,I=Math.floor,p=new Array(64),x=new Array(64),D=new Array(64),q=new Array(64),Be=new Array(65535),je=new Array(65535),G=new Array(64),gt=new Array(64),At=[],pt=0,et=7,ln=new Array(64),Xt=new Array(64),Mt=new Array(64),$n=new Array(256),xr=new Array(2048),vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],gn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Kn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],$e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Bt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],sn=[0,1,2,3,4,5,6,7,8,9,10,11],$t=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],or=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function hr(Ge,Rt){for(var Zt=0,un=0,bn=new Array,Vn=1;Vn<=16;Vn++){for(var mr=1;mr<=Ge[Vn];mr++)bn[Rt[un]]=[],bn[Rt[un]][0]=Zt,bn[Rt[un]][1]=Vn,un++,Zt++;Zt*=2}return bn}function Cr(Ge){for(var Rt=Ge[0],Zt=Ge[1]-1;Zt>=0;)Rt&1<>8&255),Yn(255&Ge)}function ba(Ge,Rt,Zt,un,bn){for(var Vn,mr=bn[0],Br=bn[240],jr=function(ia,iA){var wo,aA,Yo,Si,oi,UA,si,Ai,Do,jA,Zo=0;for(Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+1],Yo=ia[Zo+2],Si=ia[Zo+3],oi=ia[Zo+4],UA=ia[Zo+5],si=ia[Zo+6];var Cs=wo+(Ai=ia[Zo+7]),gi=wo-Ai,qA=aA+si,_A=aA-si,as=Yo+UA,eA=Yo-UA,Vi=Si+oi,vA=Si-oi,DA=Cs+Vi,os=Cs-Vi,ti=qA+as,uA=qA-as;ia[Zo]=DA+ti,ia[Zo+4]=DA-ti;var xi=.707106781*(uA+os);ia[Zo+2]=os+xi,ia[Zo+6]=os-xi;var Yf=.382683433*((DA=vA+eA)-(uA=_A+gi)),vl=.5411961*DA+Yf,Nu=1.306562965*uA+Yf,iu=.707106781*(ti=eA+_A),fA=gi+iu,Mu=gi-iu;ia[Zo+5]=Mu+vl,ia[Zo+3]=Mu-vl,ia[Zo+1]=fA+Nu,ia[Zo+7]=fA-Nu,Zo+=8}for(Zo=0,Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+8],Yo=ia[Zo+16],Si=ia[Zo+24],oi=ia[Zo+32],UA=ia[Zo+40],si=ia[Zo+48];var ju=wo+(Ai=ia[Zo+56]),ac=wo-Ai,oc=aA+si,hs=aA-si,el=Yo+UA,rl=Yo-UA,qf=Si+oi,mf=Si-oi,Pc=ju+qf,su=ju-qf,Qc=oc+el,Oc=oc-el;ia[Zo]=Pc+Qc,ia[Zo+32]=Pc-Qc;var Ac=.707106781*(Oc+su);ia[Zo+16]=su+Ac,ia[Zo+48]=su-Ac;var _f=.382683433*((Pc=mf+rl)-(Oc=hs+ac)),lu=.5411961*Pc+_f,$f=1.306562965*Oc+_f,Rd=.707106781*(Qc=rl+hs),Ud=ac+Rd,Dd=ac-Rd;ia[Zo+40]=Dd+lu,ia[Zo+24]=Dd-lu,ia[Zo+8]=Ud+$f,ia[Zo+56]=Ud-$f,Zo++}for(Do=0;Do<64;++Do)jA=ia[Do]*iA[Do],G[Do]=jA>0?jA+.5|0:jA-.5|0;return G}(Ge,Rt),ma=0;ma<64;++ma)gt[vr[ma]]=jr[ma];var ro=gt[0]-Zt;Zt=gt[0],ro==0?Cr(un[0]):(Cr(un[je[Vn=32767+ro]]),Cr(Be[Vn]));for(var to=63;to>0&>[to]==0;)to--;if(to==0)return Cr(mr),Zt;for(var Xo,wt=1;wt<=to;){for(var ao=wt;gt[wt]==0&&wt<=to;)++wt;var YA=wt-ao;if(YA>=16){Xo=YA>>4;for(var AA=1;AA<=Xo;++AA)Cr(Br);YA&=15}Vn=32767+gt[wt],Cr(bn[(YA<<4)+je[Vn]]),Cr(Be[Vn]),wt++}return to!=63&&Cr(mr),Zt}function Gr(Ge){Ge=Math.min(Math.max(Ge,1),100),l!=Ge&&(function(Rt){for(var Zt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],un=0;un<64;un++){var bn=I((Zt[un]*Rt+50)/100);bn=Math.min(Math.max(bn,1),255),p[vr[un]]=bn}for(var Vn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],mr=0;mr<64;mr++){var Br=I((Vn[mr]*Rt+50)/100);Br=Math.min(Math.max(Br,1),255),x[vr[mr]]=Br}for(var jr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ma=0,ro=0;ro<8;ro++)for(var to=0;to<8;to++)D[ma]=1/(p[vr[ma]]*jr[ro]*jr[to]*8),q[ma]=1/(x[vr[ma]]*jr[ro]*jr[to]*8),ma++}(Ge<50?Math.floor(5e3/Ge):Math.floor(200-2*Ge)),l=Ge)}this.encode=function(Ge,Rt){Rt&&Gr(Rt),At=new Array,pt=0,et=7,wr(65496),wr(65504),wr(16),Yn(74),Yn(70),Yn(73),Yn(70),Yn(0),Yn(1),Yn(1),Yn(0),wr(1),wr(1),Yn(0),Yn(0),function(){wr(65499),wr(132),Yn(0);for(var aA=0;aA<64;aA++)Yn(p[aA]);Yn(1);for(var Yo=0;Yo<64;Yo++)Yn(x[Yo])}(),function(aA,Yo){wr(65472),wr(17),Yn(8),wr(Yo),wr(aA),Yn(3),Yn(1),Yn(17),Yn(0),Yn(2),Yn(17),Yn(1),Yn(3),Yn(17),Yn(1)}(Ge.width,Ge.height),function(){wr(65476),wr(418),Yn(0);for(var aA=0;aA<16;aA++)Yn(gn[aA+1]);for(var Yo=0;Yo<=11;Yo++)Yn(jt[Yo]);Yn(16);for(var Si=0;Si<16;Si++)Yn(Kn[Si+1]);for(var oi=0;oi<=161;oi++)Yn($e[oi]);Yn(1);for(var UA=0;UA<16;UA++)Yn(Bt[UA+1]);for(var si=0;si<=11;si++)Yn(sn[si]);Yn(17);for(var Ai=0;Ai<16;Ai++)Yn($t[Ai+1]);for(var Do=0;Do<=161;Do++)Yn(or[Do])}(),wr(65498),wr(12),Yn(3),Yn(1),Yn(0),Yn(2),Yn(17),Yn(3),Yn(17),Yn(0),Yn(63),Yn(0);var Zt=0,un=0,bn=0;pt=0,et=7,this.encode.displayName="_encode_";for(var Vn,mr,Br,jr,ma,ro,to,Xo,wt,ao=Ge.data,YA=Ge.width,AA=Ge.height,ia=4*YA,iA=0;iA>3)*ia+(to=4*(7&wt)),iA+Xo>=AA&&(ro-=ia*(iA+1+Xo-AA)),Vn+to>=ia&&(ro-=Vn+to-ia+4),mr=ao[ro++],Br=ao[ro++],jr=ao[ro++],ln[wt]=(xr[mr]+xr[Br+256|0]+xr[jr+512|0]>>16)-128,Xt[wt]=(xr[mr+768|0]+xr[Br+1024|0]+xr[jr+1280|0]>>16)-128,Mt[wt]=(xr[mr+1280|0]+xr[Br+1536|0]+xr[jr+1792|0]>>16)-128;Zt=ba(ln,D,Zt,n,r),un=ba(Xt,q,un,t,A),bn=ba(Mt,q,bn,t,A),Vn+=32}iA+=8}if(et>=0){var wo=[];wo[1]=et+1,wo[0]=(1<Bt;Bt++)if(jt[Kn+Bt]!=$e.charCodeAt(Bt))return!0;return!1}function r(jt,Kn,$e,Bt,sn){for(var $t=0;$t$t+1?[]:new Kn),!(or.length<$t+1));Cr++)Bt(sn[Cr],$t+1,or)}($e,0,jt),$e}var x=function(){var jt=this;function Kn(c,m){for(var T=1<>>0;c&T;)T>>>=1;return T?(c&T-1)+T:c}function $e(c,m,T,ee,Fe){n(!(ee%T));do c[m+(ee-=T)]=Fe;while(0=Fe),512>=Fe)var Te=l(512);else if((Te=l(Fe))==null)return 0;return function(Ve,tt,ot,St,dn,qn){var xt,wn,kn=tt,Ir=1<xt;++xt){if(Xn[xt]>1<(zA-=Xn[xt]))return 0;for(;0=xt;++xt,dn<<=1){if(Bo+=zA<<=1,0>(zA-=Xn[xt]))return 0;for(;0fa&&!(0>=(Nr-=Xn[fa]));)++fa,Nr<<=1;Ir+=Fo=1<<(Nr=fa-ot),Ve[tt+(fa=To&$r)].g=Nr+ot,Ve[tt+fa].value=kn-tt-fa}St.g=xt-ot,St.value=qn[wn++],$e(Ve,kn+(To>>ot),dn,Fo,St),To=Kn(To,xt)}}return Bo!=2*Qr[15]-1?0:Ir}(c,m,T,ee,Fe,Te)}function sn(){this.value=this.g=0}function $t(){this.value=this.g=0}function or(){this.G=I(5,sn),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=I(cd,$t)}function hr(c,m,T,ee){n(c!=null),n(m!=null),n(2147483648>ee),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=m,c.pa=T,c.Jd=m,c.Yc=T+ee,c.Zc=4<=ee?T+ee-4+1:T,mr(c)}function Cr(c,m){for(var T=0;0ee),c.Sb=ee,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;un(c)&&(c.h=1,c.u=0)}function Gr(c,m){if(n(0<=m),!c.h&&m<=zl){var T=Zt(c)&kl[m];return c.u+=m,ba(c),T}return c.h=1,c.u=0}function Ge(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Rt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Zt(c){return c.Ra>>>(c.u&wf-1)>>>0}function un(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>wf}function bn(c,m){c.u=m,c.h=un(c)}function Vn(c){c.u>=Ju&&(n(c.u>=Ju),ba(c))}function mr(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&mr(c);var ee=c.b,Fe=T*m>>>8,Te=(c.I>>>ee>Fe)+0;for(Te?(T-=Fe,c.I-=Fe+1<>>0):T=Fe+1,ee=T,Fe=0;256<=ee;)Fe+=8,ee>>=8;return ee=7^Fe+yf[ee],c.b-=ee,c.Ca=(T<>24&255,c[m+1]=T>>16&255,c[m+2]=T>>8&255,c[m+3]=255&T}function ro(c,m){return c[m+0]|c[m+1]<<8}function to(c,m){return ro(c,m)|c[m+2]<<16}function Xo(c,m){return ro(c,m)|ro(c,m+2)<<16}function wt(c,m){var T=1<=Fe||0>=Te?0:(T[0]=Fe,ee[0]=Te,1)}function ia(c,m){return c+(1<>>m}function iA(c,m){return((4278255360&c)+(4278255360&m)>>>0&4278255360)+((16711935&c)+(16711935&m)>>>0&16711935)>>>0}function wo(c,m){jt[m]=function(T,ee,Fe,Te,Ve,tt,ot){var St;for(St=0;St>>1)+(c&m)>>>0}function Si(c){return 0<=c&&256>c?c:0>c?0:255>1))}function UA(c,m,T){return Math.abs(m-T)-Math.abs(c-T)}function si(c,m,T,ee,Fe,Te,Ve){for(ee=Te[Ve-1],T=0;T>8&255,ot=16711935&(ot=(ot=16711935&Ve)+((tt<<16)+tt));ee[Fe+Te]=(4278255360&Ve)+ot>>>0}}function Do(c,m){m.jd=255&c,m.hd=c>>8&255,m.ud=c>>16&255}function jA(c,m,T,ee,Fe,Te){var Ve;for(Ve=0;Ve>>8,St=tt,dn=255&(dn=(dn=tt>>>16)+((c.jd<<24>>24)*(ot<<24>>24)>>>5));St=255&(St=(St+=(c.hd<<24>>24)*(ot<<24>>24)>>>5)+((c.ud<<24>>24)*(dn<<24>>24)>>>5)),Fe[Te+Ve]=(4278255360&tt)+(dn<<16)+St}}function Zo(c,m,T,ee,Fe){jt[m]=function(Te,Ve,tt,ot,St,dn,qn,xt,wn){for(ot=qn;ot>Te.b,wn=Te.Ea,kn=Te.K[0],Ir=Te.w;if(8>xt)for(Te=(1<>=xt}else jt["VP8LMapColor"+T](ot,St,kn,Ir,dn,qn,Ve,tt,wn)}}function Cs(c,m,T,ee,Fe){for(T=m+T;m>16&255,ee[Fe++]=Te>>8&255,ee[Fe++]=255&Te}}function gi(c,m,T,ee,Fe){for(T=m+T;m>16&255,ee[Fe++]=Te>>8&255,ee[Fe++]=255&Te,ee[Fe++]=Te>>24&255}}function qA(c,m,T,ee,Fe){for(T=m+T;m>16&240|Ve>>12&15,Ve=240&Ve|Ve>>28&15;ee[Fe++]=Te,ee[Fe++]=Ve}}function _A(c,m,T,ee,Fe){for(T=m+T;m>16&248|Ve>>13&7,Ve=Ve>>5&224|Ve>>3&31;ee[Fe++]=Te,ee[Fe++]=Ve}}function as(c,m,T,ee,Fe){for(T=m+T;m>8&255,ee[Fe++]=Te>>16&255}}function eA(c,m,T,ee,Fe,Te){if(Te==0)for(T=m+T;m>24|Te[1]>>8&65280|Te[2]<<8&16711680|Te[3]<<24)>>>0),Fe+=32;else r(ee,Fe,c,m,T)}function Vi(c,m){jt[m][0]=jt[c+"0"],jt[m][1]=jt[c+"1"],jt[m][2]=jt[c+"2"],jt[m][3]=jt[c+"3"],jt[m][4]=jt[c+"4"],jt[m][5]=jt[c+"5"],jt[m][6]=jt[c+"6"],jt[m][7]=jt[c+"7"],jt[m][8]=jt[c+"8"],jt[m][9]=jt[c+"9"],jt[m][10]=jt[c+"10"],jt[m][11]=jt[c+"11"],jt[m][12]=jt[c+"12"],jt[m][13]=jt[c+"13"],jt[m][14]=jt[c+"0"],jt[m][15]=jt[c+"0"]}function vA(c){return c==fv||c==dv||c==n0||c==hv}function DA(){this.eb=[],this.size=this.A=this.fb=0}function os(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ti(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new DA,this.f.kb=new os,this.sd=null}function uA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function xi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Yf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function vl(c,m){var T=c.T,ee=m.ba.f.RGBA,Fe=ee.eb,Te=ee.fb+c.ka*ee.A,Ve=fc[m.ba.S],tt=c.y,ot=c.O,St=c.f,dn=c.N,qn=c.ea,xt=c.W,wn=m.cc,kn=m.dc,Ir=m.Mc,Xn=m.Nc,Qr=c.ka,Nr=c.ka+c.T,fa=c.U,$r=fa+1>>1;for(Qr==0?Ve(tt,ot,null,null,St,dn,qn,xt,St,dn,qn,xt,Fe,Te,null,null,fa):(Ve(m.ec,m.fc,tt,ot,wn,kn,Ir,Xn,St,dn,qn,xt,Fe,Te-ee.A,Fe,Te,fa),++T);Qr+2T,Fe=T==$g||T==e0||T==t0||T==uv||T==12||vA(T);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!Oh(m.Oa,c,Fe?11:12))return 0;if(Fe&&vA(T)&&Fh(),c.da)alert("todo:use_scaling");else{if(ee){if(m.Ib=Yf,c.Kb){if(T=c.U+1>>1,m.memory=l(c.U+2*T),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+c.U,m.Mc=m.cc,m.Nc=m.dc+T,m.Ib=vl,Fh()}}else alert("todo:EmitYUV");Fe&&(m.Jb=Nu,ee&&Rc())}if(ee&&!Cm){for(c=0;256>c;++c)mp[c]=89858*(c-128)+a0>>r0,Bp[c]=-22014*(c-128)+a0,Cp[c]=-45773*(c-128),pp[c]=113618*(c-128)+a0>>r0;for(c=Kh;c>r0,wp[c-Kh]=cu(m,255),yp[c-Kh]=cu(m+8>>4,15);Cm=1}return 1}function fA(c){var m=c.ma,T=c.U,ee=c.T;return n(!(1&c.ka)),0>=T||0>=ee?0:(T=m.Ib(c,m),m.Jb!=null&&m.Jb(c,m,T),m.Dc+=T,1)}function Mu(c){c.ma.memory=null}function ju(c,m,T,ee){return Gr(c,8)!=47?0:(m[0]=Gr(c,14)+1,T[0]=Gr(c,14)+1,ee[0]=Gr(c,1),Gr(c,3)!=0?0:!c.h)}function ac(c,m){if(4>c)return c+1;var T=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&T)))?T:1;var T}function hs(c,m,T){var ee=Zt(T),Fe=c[m+=255&ee].g-8;return 0>>0,n(8>=T.g),c.g}function rl(c,m,T){var ee=c.xc;return n((m=ee==0?0:c.vc[c.md*(T>>ee)+(m>>ee)])>Fo.b)*Bo;Irfa&&(Po=fa),(0,Dh[li[zs++]>>8&15])(xt,wn+ +ZA,Qr,Nr+ZA-fa,Po-ZA,Qr,Nr+ZA),ZA=Po}wn+=fa,Nr+=fa,++Ir&To||(Fo+=Bo)}qn!=St.nc&&r(ot,tt-kn,ot,tt+(qn-dn-1)*kn,kn);break;case 1:for(kn=xt,Xn=wn,fa=(xt=St.Ea)-(Nr=xt&~(Qr=(wn=1<>St.b)*Ir;dn=Fe),0Te.o&&(ee=Te.o),T=ee?T=0:(Fe[0]+=4*Te.v,Te.ka=T-Te.j,Te.U=Te.va-Te.v,Te.T=ee-T,T=1),T){if(tt=tt[0],11>(T=c.ca).S){var dn=T.f.RGBA,qn=(ee=T.S,Fe=Te.U,Te=Te.T,St=dn.eb,dn.A),xt=Te;for(dn=dn.fb+c.Ma*dn.A;0ee){var Fe=c.l.width,Te=T.ca,Ve=T.tb+Fe*ee,tt=c.V,ot=c.Ba+c.c*ee,St=c.gc;n(c.ab==1),n(St[0].hc==3),hu(St[0],ee,m,tt,ot,Te,Ve),su(T,ee,m,Te,Ve,Fe)}c.C=c.Ma=m}function Oc(c,m,T,ee,Fe,Te,Ve){var tt=c.$/ee,ot=c.$%ee,St=c.m,dn=c.s,qn=T+c.$,xt=qn;Fe=T+ee*Fe;var wn=T+ee*Te,kn=280+dn.ua,Ir=c.Pb?tt:16777216,Xn=0=Ir){var To=qn-T;n((Ir=c).Pb),Ir.wd=Ir.m,Ir.xd=To,0zA.g?(bn($r,$r.u+zA.g),To[Bo]=zA.value,$r=0):(bn($r,$r.u+zA.g-256),n(256<=zA.value),$r=zA.value),$r==0&&(fa=!0)}else $r=hs(Nr.G[0],Nr.H[0],St);if(St.h)break;if(fa||256>$r){if(!fa)if(Nr.nd)m[qn]=(Nr.qb|$r<<8)>>>0;else{if(Vn(St),fa=hs(Nr.G[1],Nr.H[1],St),Vn(St),To=hs(Nr.G[2],Nr.H[2],St),Bo=hs(Nr.G[3],Nr.H[3],St),St.h)break;m[qn]=(Bo<<24|fa<<16|$r<<8|To)>>>0}if(fa=!1,++qn,++ot>=ee&&(ot=0,++tt,Ve!=null&&tt<=Te&&!(tt%16)&&Ve(c,tt),Xn!=null))for(;xt>>Xn.Mb]=$r}else if(280>$r){if($r=ac($r-256,St),To=hs(Nr.G[4],Nr.H[4],St),Vn(St),To=oc(ee,To=ac(To,St)),St.h)break;if(qn-T=ee;)ot-=ee,++tt,Ve!=null&&tt<=Te&&!(tt%16)&&Ve(c,tt);if(n(qn<=Fe),ot&Qr&&(Nr=rl(dn,ot,tt)),Xn!=null)for(;xt>>Xn.Mb]=$r}else{if(!($r>>Xn.Mb]=$r;$r=qn,n(!(fa>>>(To=Xn).Xa)),m[$r]=To.X[fa],fa=!0}fa||n(St.h==un(St))}if(c.Pb&&St.h&&qnTe?Te:tt),c.a=0,c.$=qn-T}return 1}return c.a=3,0}function Ac(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var m=c.Wa;m!=null&&(m.X=null),c.vb=null,n(c!=null)}function _f(){var c=new EA;return c==null?null:(c.a=0,c.xb=dm,Vi("Predictor","VP8LPredictors"),Vi("Predictor","VP8LPredictors_C"),Vi("PredictorAdd","VP8LPredictorsAdd"),Vi("PredictorAdd","VP8LPredictorsAdd_C"),Bs=Ai,Nh=jA,Mh=Cs,bf=gi,Ef=qA,If=_A,ud=as,jt.VP8LMapColor32b=du,jt.VP8LMapColor8b=Uh,c)}function lu(c,m,T,ee,Fe){var Te=1,Ve=[c],tt=[m],ot=ee.m,St=ee.s,dn=null,qn=0;e:for(;;){if(T)for(;Te&&Gr(ot,1);){var xt=Ve,wn=tt,kn=ee,Ir=1,Xn=kn.m,Qr=kn.gc[kn.ab],Nr=Gr(Xn,2);if(kn.Oc&1<=kn.ab),Nr){case 0:case 1:Qr.b=Gr(Xn,3)+2,Ir=lu(ia(Qr.Ea,Qr.b),ia(Qr.nc,Qr.b),0,kn,Qr.K),Qr.K=Qr.K[0];break;case 3:var fa,$r=Gr(Xn,8)+1,To=16<$r?0:4<$r?1:2<$r?2:3;if(xt[0]=ia(Qr.Ea,To),Qr.b=To,fa=Ir=lu($r,1,0,kn,Qr.K)){var Bo,zA=$r,Fo=Qr,li=1<<(8>>Fo.b),zs=l(li);if(zs==null)fa=0;else{var ZA=Fo.K[0],Po=Fo.w;for(zs[0]=Fo.K[0][0],Bo=1;Bo<1*zA;++Bo)zs[Bo]=iA(ZA[Po+Bo],zs[Bo-1]);for(;Bo<4*li;++Bo)zs[Bo]=0;Fo.K[0]=null,Fo.K[0]=zs,fa=1}}Ir=fa;break;case 2:break;default:n(0)}Te=Ir}}if(Ve=Ve[0],tt=tt[0],Te&&Gr(ot,1)&&!(Te=1<=(qn=Gr(ot,4))&&11>=qn)){ee.a=3;break e}var Xa;if(Xa=Te)t:{var ys,NA,di,qi=ee,Al=Ve,Sl=tt,gs=qn,ml=T,xl=qi.m,Zs=qi.s,mi=[null],Ui=1,vs=0,Di=ap[gs];n:for(;;){if(ml&&Gr(xl,1)){var il=Gr(xl,3)+2,Dc=ia(Al,il),bs=ia(Sl,il),jl=Dc*bs;if(!lu(Dc,bs,0,qi,mi))break n;for(mi=mi[0],Zs.xc=il,ys=0;ys>8&65535;mi[ys]=Ki,Ki>=Ui&&(Ui=Ki+1)}}if(xl.h)break n;for(NA=0;5>NA;++NA){var Vs=um[NA];!NA&&0=Fl),Xl=Wl;var Hl=l(vs);if(Xl==null||Hl==null||Vl==null){qi.a=1;break n}var Gl=Vl;for(ys=di=0;ysNA;++NA){Vs=um[NA],Jl[NA]=Gl,Nc[NA]=di,!NA&&0c0)break r}else Bv=c0;for(zh=0;zhVd)Sm[zh++]=Vd,Vd!=0&&(xm=Vd);else{var Lp=Vd==16,Qm=Vd-16,Rp=ep[Qm],Om=Gr(Qf,$m[Qm])+Rp;if(zh+Om>c0)break r;for(var Up=Lp?xm:0;0=NA){var Zh,yv=Hl[0];for(Zh=1;Zhyv&&(yv=Hl[Zh]);sl+=yv}}if(Xi.nd=_u,Xi.Qb=0,_u&&(Xi.qb=(Jl[3][Nc[3]+0].value<<24|Jl[1][Nc[1]+0].value<<16|Jl[2][Nc[2]+0].value)>>>0,dd==0&&256>Jl[0][Nc[0]+0].value&&(Xi.Qb=1,Xi.qb+=Jl[0][Nc[0]+0].value<<8)),Xi.jc=!Xi.Qb&&6>sl,Xi.jc){var u0,$u=Xi;for(u0=0;u0>=el(f0,8,Lf),Of>>=el($u.G[1][$u.H[1]+Of],16,Lf),Of>>=el($u.G[2][$u.H[2]+Of],0,Lf),el($u.G[3][$u.H[3]+Of],24,Lf))}}}Zs.vc=mi,Zs.Wb=Ui,Zs.Ya=Xl,Zs.yc=Vl,Xa=1;break t}Xa=0}if(!(Te=Xa)){ee.a=3;break e}if(0ee+1?[]:0),!(Fe.lengthc?0:c>m?m:c}function Nd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Ng;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,Th||(Th=Md)),c}function Ps(c,m,T){return c.a==0&&(c.a=m,c.sc=T,c.cb=0),0}function Mg(c,m,T){return 3<=T&&c[m+0]==157&&c[m+1]==1&&c[m+2]==42}function uu(c,m){if(c==null)return 0;if(c.a=0,c.sc="OK",m==null)return Ps(c,2,"null VP8Io passed to VP8GetHeaders()");var T=m.data,ee=m.w,Fe=m.ha;if(4>Fe)return Ps(c,7,"Truncated header.");var Te=T[ee+0]|T[ee+1]<<8|T[ee+2]<<16,Ve=c.Od;if(Ve.Rb=!(1&Te),Ve.td=Te>>1&7,Ve.yd=Te>>4&1,Ve.ub=Te>>5,3Fe)return Ps(c,7,"cannot parse picture header");if(!Mg(T,ee,Fe))return Ps(c,3,"Bad code word");tt.c=16383&(T[ee+4]<<8|T[ee+3]),tt.Td=T[ee+4]>>6,tt.i=16383&(T[ee+6]<<8|T[ee+5]),tt.Ud=T[ee+6]>>6,ee+=7,Fe-=7,c.za=tt.c+15>>4,c.Ub=tt.i+15>>4,m.width=tt.c,m.height=tt.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,A((Te=c.Pa).jb,0,255,Te.jb.length),n((Te=c.Qa)!=null),Te.Cb=0,Te.Bb=0,Te.Fb=1,A(Te.Zb,0,0,Te.Zb.length),A(Te.Lb,0,0,Te.Lb)}if(Ve.ub>Fe)return Ps(c,7,"bad partition length");hr(Te=c.m,T,ee,Ve.ub),ee+=Ve.ub,Fe-=Ve.ub,Ve.Rb&&(tt.Ld=Br(Te),tt.Kd=Br(Te)),tt=c.Qa;var ot,St=c.Pa;if(n(Te!=null),n(tt!=null),tt.Cb=Br(Te),tt.Cb){if(tt.Bb=Br(Te),Br(Te)){for(tt.Fb=Br(Te),ot=0;4>ot;++ot)tt.Zb[ot]=Br(Te)?Yn(Te,7):0;for(ot=0;4>ot;++ot)tt.Lb[ot]=Br(Te)?Yn(Te,6):0}if(tt.Bb)for(ot=0;3>ot;++ot)St.jb[ot]=Br(Te)?Cr(Te,8):255}else tt.Bb=0;if(Te.Ka)return Ps(c,3,"cannot parse segment header");if((tt=c.ed).zd=Br(Te),tt.Tb=Cr(Te,6),tt.wb=Cr(Te,3),tt.Pc=Br(Te),tt.Pc&&Br(Te)){for(St=0;4>St;++St)Br(Te)&&(tt.vd[St]=Yn(Te,6));for(St=0;4>St;++St)Br(Te)&&(tt.od[St]=Yn(Te,6))}if(c.L=tt.Tb==0?0:tt.zd?1:2,Te.Ka)return Ps(c,3,"cannot parse filter header");var dn=Fe;if(Fe=ot=ee,ee=ot+dn,tt=dn,c.Xb=(1<tt&&(qn=tt),hr(c.Jc[+dn],T,ot,qn),ot+=qn,tt-=qn,Fe+=3}hr(c.Jc[+St],T,ot,tt),T=otqn;++qn){if(dn.Cb){var xt=dn.Zb[qn];dn.Fb||(xt+=T)}else{if(0>16,8>wn.Eb[1]&&(wn.Eb[1]=8),wn.Qc[0]=gv[cu(xt+St,117)],wn.Qc[1]=vv[cu(xt+ot,127)],wn.lc=xt+ot}if(!Ve.Rb)return Ps(c,4,"Not a key frame.");for(Br(Te),Ve=c.Pa,T=0;4>T;++T){for(Fe=0;8>Fe;++Fe)for(ee=0;3>ee;++ee)for(tt=0;11>tt;++tt)St=jr(Te,cp[T][Fe][ee][tt])?Cr(Te,8):sp[T][Fe][ee][tt],Ve.Wc[T][Fe].Yb[ee][tt]=St;for(Fe=0;17>Fe;++Fe)Ve.Xc[T][Fe]=Ve.Wc[T][up[Fe]]}return c.kc=Br(Te),c.kc&&(c.Bd=Cr(Te,8)),c.cb=1}function Md(c,m,T,ee,Fe,Te,Ve){var tt=m[Fe].Yb[T];for(T=0;16>Fe;++Fe){if(!jr(c,tt[T+0]))return Fe;for(;!jr(c,tt[T+1]);)if(tt=m[++Fe].Yb[0],T=0,Fe==16)return 16;var ot=m[Fe+1].Yb;if(jr(c,tt[T+2])){var St=c,dn=0;if(jr(St,(xt=tt)[(qn=T)+3]))if(jr(St,xt[qn+6])){for(tt=0,qn=2*(dn=jr(St,xt[qn+8]))+(xt=jr(St,xt[qn+9+dn])),dn=0,xt=Ap[qn];xt[tt];++tt)dn+=dn+jr(St,xt[tt]);dn+=3+(8<(St=c).b&&mr(St);var qn,xt=St.b,wn=(qn=St.Ca>>1)-(St.I>>xt)>>31;--St.b,St.Ca+=wn,St.Ca|=1,St.I-=(qn+1&wn)<>3),c[m+T+32*ee]=-256&Fe?0>Fe?0:255:Fe}function Ts(c,m,T,ee,Fe,Te){sc(c,m,0,T,ee+Fe),sc(c,m,1,T,ee+Te),sc(c,m,2,T,ee-Te),sc(c,m,3,T,ee-Fe)}function Hu(c){return(20091*c>>16)+c}function Hg(c,m,T,ee){var Fe,Te=0,Ve=l(16);for(Fe=0;4>Fe;++Fe){var tt=c[m+0]+c[m+8],ot=c[m+0]-c[m+8],St=(35468*c[m+4]>>16)-Hu(c[m+12]),dn=Hu(c[m+4])+(35468*c[m+12]>>16);Ve[Te+0]=tt+dn,Ve[Te+1]=ot+St,Ve[Te+2]=ot-St,Ve[Te+3]=tt-dn,Te+=4,m++}for(Fe=Te=0;4>Fe;++Fe)tt=(c=Ve[Te+0]+4)+Ve[Te+8],ot=c-Ve[Te+8],St=(35468*Ve[Te+4]>>16)-Hu(Ve[Te+12]),sc(T,ee,0,0,tt+(dn=Hu(Ve[Te+4])+(35468*Ve[Te+12]>>16))),sc(T,ee,1,0,ot+St),sc(T,ee,2,0,ot-St),sc(T,ee,3,0,tt-dn),Te++,ee+=32}function Y0(c,m,T,ee){var Fe=c[m+0]+4,Te=35468*c[m+4]>>16,Ve=Hu(c[m+4]),tt=35468*c[m+1]>>16;Ts(T,ee,0,Fe+Ve,c=Hu(c[m+1]),tt),Ts(T,ee,1,Fe+Te,c,tt),Ts(T,ee,2,Fe-Te,c,tt),Ts(T,ee,3,Fe-Ve,c,tt)}function q0(c,m,T,ee,Fe){Hg(c,m,T,ee),Fe&&Hg(c,m+16,T,ee+4)}function fu(c,m,T,ee){fd(c,m+0,T,ee,1),fd(c,m+32,T,ee+128,1)}function Tg(c,m,T,ee){var Fe;for(c=c[m+0]+4,Fe=0;4>Fe;++Fe)for(m=0;4>m;++m)sc(T,ee,m,Fe,c)}function Kg(c,m,T,ee){c[m+0]&&Fi(c,m+0,T,ee),c[m+16]&&Fi(c,m+16,T,ee+4),c[m+32]&&Fi(c,m+32,T,ee+128),c[m+48]&&Fi(c,m+48,T,ee+128+4)}function jd(c,m,T,ee){var Fe,Te=l(16);for(Fe=0;4>Fe;++Fe){var Ve=c[m+0+Fe]+c[m+12+Fe],tt=c[m+4+Fe]+c[m+8+Fe],ot=c[m+4+Fe]-c[m+8+Fe],St=c[m+0+Fe]-c[m+12+Fe];Te[0+Fe]=Ve+tt,Te[8+Fe]=Ve-tt,Te[4+Fe]=St+ot,Te[12+Fe]=St-ot}for(Fe=0;4>Fe;++Fe)Ve=(c=Te[0+4*Fe]+3)+Te[3+4*Fe],tt=Te[1+4*Fe]+Te[2+4*Fe],ot=Te[1+4*Fe]-Te[2+4*Fe],St=c-Te[3+4*Fe],T[ee+0]=Ve+tt>>3,T[ee+16]=St+ot>>3,T[ee+32]=Ve-tt>>3,T[ee+48]=St-ot>>3,ee+=64}function ed(c,m,T){var ee,Fe=m-32,Te=Zl,Ve=255-c[Fe-1];for(ee=0;eeT;++T)r(c,m+32*T,c,m-32,16)}function kg(c,m){var T;for(T=16;0ee;++ee)A(m,T+32*ee,c,16)}function tv(c,m){var T,ee=16;for(T=0;16>T;++T)ee+=c[m-1+32*T]+c[m+T-32];Lc(ee>>5,c,m)}function td(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m-1+32*T];Lc(ee>>4,c,m)}function wh(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m+T-32];Lc(ee>>4,c,m)}function nv(c,m){Lc(128,c,m)}function FA(c,m,T){return c+2*m+T+2>>2}function rv(c,m){var T,ee=m-32;for(ee=new Uint8Array([FA(c[ee-1],c[ee+0],c[ee+1]),FA(c[ee+0],c[ee+1],c[ee+2]),FA(c[ee+1],c[ee+2],c[ee+3]),FA(c[ee+2],c[ee+3],c[ee+4])]),T=0;4>T;++T)r(c,m+32*T,ee,0,ee.length)}function av(c,m){var T=c[m-1],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1+96];ma(c,m+0,16843009*FA(c[m-1-32],T,ee)),ma(c,m+32,16843009*FA(T,ee,Fe)),ma(c,m+64,16843009*FA(ee,Fe,Te)),ma(c,m+96,16843009*FA(Fe,Te,Te))}function ov(c,m){var T,ee=4;for(T=0;4>T;++T)ee+=c[m+T-32]+c[m-1+32*T];for(ee>>=3,T=0;4>T;++T)A(c,m+32*T,ee,4)}function Tu(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1-32],Ve=c[m+0-32],tt=c[m+1-32],ot=c[m+2-32],St=c[m+3-32];c[m+0+96]=FA(ee,Fe,c[m-1+96]),c[m+1+96]=c[m+0+64]=FA(T,ee,Fe),c[m+2+96]=c[m+1+64]=c[m+0+32]=FA(Te,T,ee),c[m+3+96]=c[m+2+64]=c[m+1+32]=c[m+0+0]=FA(Ve,Te,T),c[m+3+64]=c[m+2+32]=c[m+1+0]=FA(tt,Ve,Te),c[m+3+32]=c[m+2+0]=FA(ot,tt,Ve),c[m+3+0]=FA(St,ot,tt)}function Ku(c,m){var T=c[m+1-32],ee=c[m+2-32],Fe=c[m+3-32],Te=c[m+4-32],Ve=c[m+5-32],tt=c[m+6-32],ot=c[m+7-32];c[m+0+0]=FA(c[m+0-32],T,ee),c[m+1+0]=c[m+0+32]=FA(T,ee,Fe),c[m+2+0]=c[m+1+32]=c[m+0+64]=FA(ee,Fe,Te),c[m+3+0]=c[m+2+32]=c[m+1+64]=c[m+0+96]=FA(Fe,Te,Ve),c[m+3+32]=c[m+2+64]=c[m+1+96]=FA(Te,Ve,tt),c[m+3+64]=c[m+2+96]=FA(Ve,tt,ot),c[m+3+96]=FA(tt,ot,ot)}function Av(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1-32],Ve=c[m+0-32],tt=c[m+1-32],ot=c[m+2-32],St=c[m+3-32];c[m+0+0]=c[m+1+64]=Te+Ve+1>>1,c[m+1+0]=c[m+2+64]=Ve+tt+1>>1,c[m+2+0]=c[m+3+64]=tt+ot+1>>1,c[m+3+0]=ot+St+1>>1,c[m+0+96]=FA(Fe,ee,T),c[m+0+64]=FA(ee,T,Te),c[m+0+32]=c[m+1+96]=FA(T,Te,Ve),c[m+1+32]=c[m+2+96]=FA(Te,Ve,tt),c[m+2+32]=c[m+3+96]=FA(Ve,tt,ot),c[m+3+32]=FA(tt,ot,St)}function iv(c,m){var T=c[m+0-32],ee=c[m+1-32],Fe=c[m+2-32],Te=c[m+3-32],Ve=c[m+4-32],tt=c[m+5-32],ot=c[m+6-32],St=c[m+7-32];c[m+0+0]=T+ee+1>>1,c[m+1+0]=c[m+0+64]=ee+Fe+1>>1,c[m+2+0]=c[m+1+64]=Fe+Te+1>>1,c[m+3+0]=c[m+2+64]=Te+Ve+1>>1,c[m+0+32]=FA(T,ee,Fe),c[m+1+32]=c[m+0+96]=FA(ee,Fe,Te),c[m+2+32]=c[m+1+96]=FA(Fe,Te,Ve),c[m+3+32]=c[m+2+96]=FA(Te,Ve,tt),c[m+3+64]=FA(Ve,tt,ot),c[m+3+96]=FA(tt,ot,St)}function Hd(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1+96];c[m+0+0]=T+ee+1>>1,c[m+2+0]=c[m+0+32]=ee+Fe+1>>1,c[m+2+32]=c[m+0+64]=Fe+Te+1>>1,c[m+1+0]=FA(T,ee,Fe),c[m+3+0]=c[m+1+32]=FA(ee,Fe,Te),c[m+3+32]=c[m+1+64]=FA(Fe,Te,Te),c[m+3+64]=c[m+2+64]=c[m+0+96]=c[m+1+96]=c[m+2+96]=c[m+3+96]=Te}function yh(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1+96],Ve=c[m-1-32],tt=c[m+0-32],ot=c[m+1-32],St=c[m+2-32];c[m+0+0]=c[m+2+32]=T+Ve+1>>1,c[m+0+32]=c[m+2+64]=ee+T+1>>1,c[m+0+64]=c[m+2+96]=Fe+ee+1>>1,c[m+0+96]=Te+Fe+1>>1,c[m+3+0]=FA(tt,ot,St),c[m+2+0]=FA(Ve,tt,ot),c[m+1+0]=c[m+3+32]=FA(T,Ve,tt),c[m+1+32]=c[m+3+64]=FA(ee,T,Ve),c[m+1+64]=c[m+3+96]=FA(Fe,ee,T),c[m+1+96]=FA(Te,Fe,ee)}function nd(c,m){var T;for(T=0;8>T;++T)r(c,m+32*T,c,m-32,8)}function sv(c,m){var T;for(T=0;8>T;++T)A(c,m,c[m-1],8),m+=32}function ku(c,m,T){var ee;for(ee=0;8>ee;++ee)A(m,T+32*ee,c,8)}function lv(c,m){var T,ee=8;for(T=0;8>T;++T)ee+=c[m+T-32]+c[m-1+32*T];ku(ee>>4,c,m)}function bh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m+T-32];ku(ee>>3,c,m)}function Eh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m-1+32*T];ku(ee>>3,c,m)}function zg(c,m){ku(128,c,m)}function zu(c,m,T){var ee=c[m-T],Fe=c[m+0],Te=3*(Fe-ee)+cv[1020+c[m-2*T]-c[m+T]],Ve=qg[112+(Te+4>>3)];c[m-T]=Zl[255+ee+qg[112+(Te+3>>3)]],c[m+0]=Zl[255+Fe-Ve]}function Ih(c,m,T,ee){var Fe=c[m+0],Te=c[m+T];return uc[255+c[m-2*T]-c[m-T]]>ee||uc[255+Te-Fe]>ee}function Td(c,m,T,ee){return 4*uc[255+c[m-T]-c[m+0]]+uc[255+c[m-2*T]-c[m+T]]<=ee}function Sh(c,m,T,ee,Fe){var Te=c[m-3*T],Ve=c[m-2*T],tt=c[m-T],ot=c[m+0],St=c[m+T],dn=c[m+2*T],qn=c[m+3*T];return 4*uc[255+tt-ot]+uc[255+Ve-St]>ee?0:uc[255+c[m-4*T]-Te]<=Fe&&uc[255+Te-Ve]<=Fe&&uc[255+Ve-tt]<=Fe&&uc[255+qn-dn]<=Fe&&uc[255+dn-St]<=Fe&&uc[255+St-ot]<=Fe}function rd(c,m,T,ee){var Fe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee,T,Fe)&&zu(c,m+ee,T)}function xh(c,m,T,ee){var Fe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee*T,1,Fe)&&zu(c,m+ee*T,1)}function Zg(c,m,T,ee){var Fe;for(Fe=3;0>7,Qr=18*Nr+63>>7,Nr=9*Nr+63>>7;ot[St-3*dn]=Zl[255+ot[St-3*dn]+Nr],ot[St-2*dn]=Zl[255+qn+Qr],ot[St-dn]=Zl[255+xt+Xn],ot[St+0]=Zl[255+wn-Xn],ot[St+dn]=Zl[255+kn-Qr],ot[St+2*dn]=Zl[255+Ir-Nr]}m+=ee}}function Vu(c,m,T,ee,Fe,Te,Ve,tt){for(Te=2*Te+1;0>3)],Ir=qg[112+(Ir+3>>3)],Xn=kn+1>>1;ot[St-2*dn]=Zl[255+ot[St-2*dn]+Xn],ot[St-dn]=Zl[255+qn+Ir],ot[St+0]=Zl[255+xt-kn],ot[St+dn]=Zl[255+wn-Xn]}m+=ee}}function Wg(c,m,T,ee,Fe,Te){Zu(c,m,T,1,16,ee,Fe,Te)}function ad(c,m,T,ee,Fe,Te){Zu(c,m,1,T,16,ee,Fe,Te)}function Xg(c,m,T,ee,Fe,Te){var Ve;for(Ve=3;0St?0:255:St)&255,St=ot,Fe[Te+tt]=dn}}function Wi(c,m,T,ee){var Fe=m.width,Te=m.o;if(n(c!=null&&m!=null),0>T||0>=ee||T+ee>Te)return null;if(!c.Cc){if(c.ga==null){var Ve;if(c.ga=new HA,(Ve=c.ga==null)||(Ve=m.width*m.o,n(c.Gb.length==0),c.Gb=l(Ve),c.Uc=0,c.Gb==null?Ve=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Ve=1),Ve=!Ve),!Ve){Ve=c.ga;var tt=c.Fa,ot=c.P,St=c.qc,dn=c.mb,qn=c.nb,xt=ot+1,wn=St-1,kn=Ve.l;if(n(tt!=null&&dn!=null&&m!=null),Ff[0]=null,Ff[1]=vi,Ff[2]=ls,Ff[3]=Qs,Ve.ca=dn,Ve.tb=qn,Ve.c=m.width,Ve.i=m.height,n(0=St)m=0;else if(Ve.$a=3&tt[ot+0],Ve.Z=tt[ot+0]>>2&3,Ve.Lc=tt[ot+0]>>4&3,ot=tt[ot+0]>>6&3,0>Ve.$a||1=Ve.c*Ve.i;Ve=!m}if(Ve)return null;c.ga.Lc!=1?c.Ga=0:ee=Te-T}n(c.ga!=null),n(T+ee<=Te);e:{if(m=(tt=c.ga).c,Te=tt.l.o,tt.$a==0){if(xt=c.rc,wn=c.Vc,kn=c.Fa,ot=c.P+1+T*m,St=c.mb,dn=c.nb+T*m,n(ot<=c.P+c.qc),tt.Z!=0)for(n(Ff[tt.Z]!=null),Ve=0;Ve=m)m=1;else if(tt.ic||Rc(),tt.ic){tt=Ve.V,xt=Ve.Ba,wn=Ve.c;var Ir=Ve.i,Xn=(kn=1,ot=Ve.$/wn,St=Ve.$%wn,dn=Ve.m,qn=Ve.s,Ve.$),Qr=wn*Ir,Nr=wn*m,fa=qn.wc,$r=Xn(Ir=hs($r.G[0],$r.H[0],dn)))tt[xt+Xn]=Ir,++Xn,++St>=wn&&(St=0,++ot<=m&&!(ot%16)&&Qc(Ve,ot));else{if(!(280>Ir)){kn=0;break t}Ir=ac(Ir-256,dn);var To,Bo=hs($r.G[4],$r.H[4],dn);if(Vn(dn),!(Xn>=(Bo=oc(wn,Bo=ac(Bo,dn)))&&Qr-Xn>=Ir)){kn=0;break t}for(To=0;To=wn;)St-=wn,++ot<=m&&!(ot%16)&&Qc(Ve,ot);Xnm?m:ot);break t}!kn||dn.h&&Xn=Te&&(c.Cc=1),ee=1}if(!ee)return null;if(c.Cc&&((ee=c.ga)!=null&&(ee.mc=null),c.ga=null,0>23,tt[ot+4*Ve+1]=tt[ot+4*Ve+1]*qn>>23,tt[ot+4*Ve+2]=tt[ot+4*Ve+2]*qn>>23)}m+=Te}}function Os(c,m,T,ee,Fe){for(;0>4)*ot>>16;c[m+2*Te+0]=(240&Ve|Ve>>4)*ot>>16&240|(15&Ve|Ve<<4)*ot>>16>>4&15,c[m+2*Te+1]=240&St|tt}m+=Fe}}function al(c,m,T,ee,Fe,Te,Ve,tt){var ot,St,dn=255;for(St=0;St>8}function Rc(){Hh=Ks,tm=Os,nm=al,rm=Wu}function Xu(c,m,T){jt[c]=function(ee,Fe,Te,Ve,tt,ot,St,dn,qn,xt,wn,kn,Ir,Xn,Qr,Nr,fa){var $r,To=fa-1>>1,Bo=tt[ot+0]|St[dn+0]<<16,zA=qn[xt+0]|wn[kn+0]<<16;n(ee!=null);var Fo=3*Bo+zA+131074>>2;for(m(ee[Fe+0],255&Fo,Fo>>16,Ir,Xn),Te!=null&&(Fo=3*zA+Bo+131074>>2,m(Te[Ve+0],255&Fo,Fo>>16,Qr,Nr)),$r=1;$r<=To;++$r){var li=tt[ot+$r]|St[dn+$r]<<16,zs=qn[xt+$r]|wn[kn+$r]<<16,ZA=Bo+li+zA+zs+524296,Po=ZA+2*(li+zA)>>3;Fo=Po+Bo>>1,Bo=(ZA=ZA+2*(Bo+zs)>>3)+li>>1,m(ee[Fe+2*$r-1],255&Fo,Fo>>16,Ir,Xn+(2*$r-1)*T),m(ee[Fe+2*$r-0],255&Bo,Bo>>16,Ir,Xn+(2*$r-0)*T),Te!=null&&(Fo=ZA+zA>>1,Bo=Po+zs>>1,m(Te[Ve+2*$r-1],255&Fo,Fo>>16,Qr,Nr+(2*$r-1)*T),m(Te[Ve+2*$r+0],255&Bo,Bo>>16,Qr,Nr+(2*$r+0)*T)),Bo=li,zA=zs}1&fa||(Fo=3*Bo+zA+131074>>2,m(ee[Fe+fa-1],255&Fo,Fo>>16,Ir,Xn+(fa-1)*T),Te!=null&&(Fo=3*zA+Bo+131074>>2,m(Te[Ve+fa-1],255&Fo,Fo>>16,Qr,Nr+(fa-1)*T)))}}function Fh(){fc[_g]=dp,fc[$g]=hm,fc[lm]=hp,fc[e0]=gm,fc[t0]=vm,fc[uv]=mm,fc[cm]=gp,fc[fv]=hm,fc[dv]=gm,fc[n0]=vm,fc[hv]=mm}function Kd(c){return c&~vp?0>c?0:255:c>>pm}function pf(c,m){return Kd((19077*c>>8)+(26149*m>>8)-14234)}function od(c,m,T){return Kd((19077*c>>8)-(6419*m>>8)-(13320*T>>8)+8708)}function Ad(c,m){return Kd((19077*c>>8)+(33050*m>>8)-17685)}function Cf(c,m,T,ee,Fe){ee[Fe+0]=pf(c,T),ee[Fe+1]=od(c,m,T),ee[Fe+2]=Ad(c,m)}function ol(c,m,T,ee,Fe){ee[Fe+0]=Ad(c,m),ee[Fe+1]=od(c,m,T),ee[Fe+2]=pf(c,T)}function id(c,m,T,ee,Fe){var Te=od(c,m,T);m=Te<<3&224|Ad(c,m)>>3,ee[Fe+0]=248&pf(c,T)|Te>>5,ee[Fe+1]=m}function sd(c,m,T,ee,Fe){var Te=240&Ad(c,m)|15;ee[Fe+0]=240&pf(c,T)|od(c,m,T)>>4,ee[Fe+1]=Te}function Ph(c,m,T,ee,Fe){ee[Fe+0]=255,Cf(c,m,T,ee,Fe+1)}function Qh(c,m,T,ee,Fe){ol(c,m,T,ee,Fe),ee[Fe+3]=255}function Il(c,m,T,ee,Fe){Cf(c,m,T,ee,Fe),ee[Fe+3]=255}function Gu(c,m,T){jt[c]=function(ee,Fe,Te,Ve,tt,ot,St,dn,qn){for(var xt=dn+(-2&qn)*T;dn!=xt;)m(ee[Fe+0],Te[Ve+0],tt[ot+0],St,dn),m(ee[Fe+1],Te[Ve+0],tt[ot+0],St,dn+T),Fe+=2,++Ve,++ot,dn+=2*T;1&qn&&m(ee[Fe+0],Te[Ve+0],tt[ot+0],St,dn)}}function kd(c,m,T){return T==0?c==0?m==0?6:5:m==0?4:0:T}function Gg(c,m,T,ee,Fe){switch(c>>>30){case 3:fd(m,T,ee,Fe,0);break;case 2:cc(m,T,ee,Fe);break;case 1:Fi(m,T,ee,Fe)}}function lc(c,m){var T,ee,Fe=m.M,Te=m.Nb,Ve=c.oc,tt=c.pc+40,ot=c.oc,St=c.pc+584,dn=c.oc,qn=c.pc+600;for(T=0;16>T;++T)Ve[tt+32*T-1]=129;for(T=0;8>T;++T)ot[St+32*T-1]=129,dn[qn+32*T-1]=129;for(0T;++T)r(Ve,tt+32*T-4,Ve,tt+32*T+12,4);for(T=-1;8>T;++T)r(ot,St+32*T-4,ot,St+32*T+4,4),r(dn,qn+32*T-4,dn,qn+32*T+4,4)}var wn=c.Gd,kn=c.Hd+ee,Ir=xt.ad,Xn=xt.Hc;if(0=c.za-1?A(Qr,Nr,wn[kn].y[15],4):r(Qr,Nr,wn[kn+1].y,0,4)),T=0;4>T;T++)Qr[Nr+128+T]=Qr[Nr+256+T]=Qr[Nr+384+T]=Qr[Nr+0+T];for(T=0;16>T;++T,Xn<<=2)Qr=Ve,Nr=tt+Bm[T],Uc[xt.Ob[T]](Qr,Nr),Gg(Xn,Ir,16*+T,Qr,Nr)}else if(Qr=kd(ee,Fe,xt.Ob[0]),xf[Qr](Ve,tt),Xn!=0)for(T=0;16>T;++T,Xn<<=2)Gg(Xn,Ir,16*+T,Ve,tt+Bm[T]);for(T=xt.Gc,Qr=kd(ee,Fe,xt.Dd),qu[Qr](ot,St),qu[Qr](dn,qn),Xn=Ir,Qr=ot,Nr=St,255&(xt=0|T)&&(170&xt?gu(Xn,256,Qr,Nr):Ti(Xn,256,Qr,Nr)),xt=dn,Xn=qn,255&(T>>=8)&&(170&T?gu(Ir,320,xt,Xn):Ti(Ir,320,xt,Xn)),FeT;++T)r(wn,kn+T*c.R,Ve,tt+32*T,16);for(T=0;8>T;++T)r(Ir,xt+T*c.B,ot,St+32*T,8),r(Xn,Qr+T*c.B,dn,qn+32*T,8)}}function ld(c,m,T,ee,Fe,Te,Ve,tt,ot){var St=[0],dn=[0],qn=0,xt=ot!=null?ot.kd:0,wn=ot!=null?ot:new _r;if(c==null||12>T)return 7;wn.data=c,wn.w=m,wn.ha=T,m=[m],T=[T],wn.gb=[wn.gb];e:{var kn=m,Ir=T,Xn=wn.gb;if(n(c!=null),n(Ir!=null),n(Xn!=null),Xn[0]=0,12<=Ir[0]&&!t(c,kn[0],"RIFF")){if(t(c,kn[0]+8,"WEBP")){Xn=3;break e}var Qr=Xo(c,kn[0]+4);if(12>Qr||4294967286Ir[0]-8){Xn=7;break e}Xn[0]=Qr,kn[0]+=12,Ir[0]-=12}Xn=0}if(Xn!=0)return Xn;for(Qr=0Xn[0])Xn=7;else{if(!t(Nr,Ir[0],"VP8X")){if(Xo(Nr,Ir[0]+4)!=10){Xn=3;break e}if(18>Xn[0]){Xn=7;break e}var Bo=Xo(Nr,Ir[0]+8),zA=1+to(Nr,Ir[0]+12);if(2147483648<=zA*(Nr=1+to(Nr,Ir[0]+15))){Xn=3;break e}To!=null&&(To[0]=Bo),fa!=null&&(fa[0]=zA),$r!=null&&($r[0]=Nr),Ir[0]+=18,Xn[0]-=18,Fo[0]=1}Xn=0}}if(qn=qn[0],kn=kn[0],Xn!=0)return Xn;if(Ir=!!(2&kn),!Qr&&qn)return 3;if(Te!=null&&(Te[0]=!!(16&kn)),Ve!=null&&(Ve[0]=Ir),tt!=null&&(tt[0]=0),Ve=St[0],kn=dn[0],qn&&Ir&&ot==null){Xn=0;break}if(4>T){Xn=7;break}if(Qr&&qn||!Qr&&!qn&&!t(c,m[0],"ALPH")){T=[T],wn.na=[wn.na],wn.P=[wn.P],wn.Sa=[wn.Sa];e:{Bo=c,Xn=m,Qr=T;var Fo=wn.gb;fa=wn.na,$r=wn.P,To=wn.Sa,zA=22,n(Bo!=null),n(Qr!=null),Nr=Xn[0];var li=Qr[0];for(n(fa!=null),n(To!=null),fa[0]=null,$r[0]=null,To[0]=0;;){if(Xn[0]=Nr,Qr[0]=li,8>li){Xn=7;break e}var zs=Xo(Bo,Nr+4);if(4294967286Fo){Xn=3;break e}if(!t(Bo,Nr,"VP8 ")||!t(Bo,Nr,"VP8L")){Xn=0;break e}if(li[0]Qr[0])Xn=7;else{if(Nr||zA){if(Fo=Xo(Fo,Bo+4),12<=fa&&Fo>fa-12){Xn=3;break e}if(xt&&Fo>Qr[0]-8){Xn=7;break e}$r[0]=Fo,Xn[0]+=8,Qr[0]-=8,To[0]=zA}else To[0]=5<=Qr[0]&&Fo[Bo+0]==47&&!(Fo[Bo+4]>>5),$r[0]=Qr[0];Xn=0}if(T=T[0],wn.Ja=wn.Ja[0],wn.xa=wn.xa[0],m=m[0],Xn!=0)break;if(4294967286T){Xn=7;break}tt=Ve,xt=kn,Ir=Te,c==null||5>T?c=0:5<=T&&c[m+0]==47&&!(c[m+4]>>5)?(Qr=[0],Fo=[0],fa=[0],wr($r=new Rt,c,m,T),ju($r,Qr,Fo,fa)?(tt!=null&&(tt[0]=Qr[0]),xt!=null&&(xt[0]=Fo[0]),Ir!=null&&(Ir[0]=fa[0]),c=1):c=0):c=0}else{if(10>T){Xn=7;break}tt=kn,c==null||10>T||!Mg(c,m+3,T-3)?c=0:(xt=c[m+0]|c[m+1]<<8|c[m+2]<<16,Ir=16383&(c[m+7]<<8|c[m+6]),c=16383&(c[m+9]<<8|c[m+8]),1&xt||3<(xt>>1&7)||!(xt>>4&1)||xt>>5>=wn.Ja||!Ir||!c?c=0:(Ve&&(Ve[0]=Ir),tt&&(tt[0]=c),c=1))}if(!c||(Ve=Ve[0],kn=kn[0],qn&&(St[0]!=Ve||dn[0]!=kn)))return 3;ot!=null&&(ot[0]=wn,ot.offset=m-ot.w,n(4294967286>m-ot.w),n(ot.offset==ot.ha-T));break}return Xn==0||Xn==7&&qn&&ot==null?(Te!=null&&(Te[0]|=wn.na!=null&&0T||(Te&=-2,Ve&=-2),0>Te||0>Ve||0>=tt||0>=ot||Te+tt>ee||Ve+ot>Fe))return 0;if(m.v=Te,m.j=Ve,m.va=Te+tt,m.o=Ve+ot,m.U=tt,m.T=ot,m.da=c!=null&&0c.S){var m=c.f.RGBA;m.fb+=(c.height-1)*m.A,m.A=-m.A}else m=c.f.kb,c=c.height,m.O+=(c-1)*m.fa,m.fa=-m.fa,m.N+=(c-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(c-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(c-1)*m.lb,m.lb=-m.lb);return 0}function Bf(c,m,T,ee){if(ee==null||0>=c||0>=m)return 2;if(T!=null){if(T.Da){var Fe=T.cd,Te=T.bd,Ve=-2&T.v,tt=-2&T.j;if(0>Ve||0>tt||0>=Fe||0>=Te||Ve+Fe>c||tt+Te>m)return 2;c=Fe,m=Te}if(T.da){if(!AA(c,m,Fe=[T.ib],Te=[T.hb]))return 2;c=Fe[0],m=Te[0]}}ee.width=c,ee.height=m;e:{var ot=ee.width,St=ee.height;if(c=ee.S,0>=ot||0>=St||!(c>=_g&&13>c))c=2;else{if(0>=ee.Rd&&ee.sd==null){Ve=Te=Fe=m=0;var dn=(tt=ot*wm[c])*St;if(11>c||(Te=(St+1)/2*(m=(ot+1)/2),c==12&&(Ve=(Fe=ot)*St)),(St=l(dn+2*Te+Ve))==null){c=1;break e}ee.sd=St,11>c?((ot=ee.f.RGBA).eb=St,ot.fb=0,ot.A=tt,ot.size=dn):((ot=ee.f.kb).y=St,ot.O=0,ot.fa=tt,ot.Fd=dn,ot.f=St,ot.N=0+dn,ot.Ab=m,ot.Cd=Te,ot.ea=St,ot.W=0+dn+Te,ot.Db=m,ot.Ed=Te,c==12&&(ot.F=St,ot.J=0+dn+2*Te),ot.Tc=Ve,ot.lb=Fe)}if(m=1,Fe=ee.S,Te=ee.width,Ve=ee.height,Fe>=_g&&13>Fe)if(11>Fe)c=ee.f.RGBA,m&=(tt=Math.abs(c.A))*(Ve-1)+Te<=c.size,m&=tt>=Te*wm[Fe],m&=c.eb!=null;else{c=ee.f.kb,tt=(Te+1)/2,dn=(Ve+1)/2,ot=Math.abs(c.fa),St=Math.abs(c.Ab);var qn=Math.abs(c.Db),xt=Math.abs(c.lb),wn=xt*(Ve-1)+Te;m&=ot*(Ve-1)+Te<=c.Fd,m&=St*(dn-1)+tt<=c.Cd,m=(m&=qn*(dn-1)+tt<=c.Ed)&ot>=Te&St>=tt&qn>=tt,m&=c.y!=null,m&=c.f!=null,m&=c.ea!=null,Fe==12&&(m&=xt>=Te,m&=wn<=c.Tc,m&=c.F!=null)}else m=0;c=m?0:2}}return c!=0||T!=null&&T.fd&&(c=Lh(ee)),c}var cd=64,kl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],zl=24,wf=32,Ju=8,yf=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];wo("Predictor0","PredictorAdd0"),jt.Predictor0=function(){return 4278190080},jt.Predictor1=function(c){return c},jt.Predictor2=function(c,m,T){return m[T+0]},jt.Predictor3=function(c,m,T){return m[T+1]},jt.Predictor4=function(c,m,T){return m[T-1]},jt.Predictor5=function(c,m,T){return Yo(Yo(c,m[T+1]),m[T+0])},jt.Predictor6=function(c,m,T){return Yo(c,m[T-1])},jt.Predictor7=function(c,m,T){return Yo(c,m[T+0])},jt.Predictor8=function(c,m,T){return Yo(m[T-1],m[T+0])},jt.Predictor9=function(c,m,T){return Yo(m[T+0],m[T+1])},jt.Predictor10=function(c,m,T){return Yo(Yo(c,m[T-1]),Yo(m[T+0],m[T+1]))},jt.Predictor11=function(c,m,T){var ee=m[T+0];return 0>=UA(ee>>24&255,c>>24&255,(m=m[T-1])>>24&255)+UA(ee>>16&255,c>>16&255,m>>16&255)+UA(ee>>8&255,c>>8&255,m>>8&255)+UA(255&ee,255&c,255&m)?ee:c},jt.Predictor12=function(c,m,T){var ee=m[T+0];return(Si((c>>24&255)+(ee>>24&255)-((m=m[T-1])>>24&255))<<24|Si((c>>16&255)+(ee>>16&255)-(m>>16&255))<<16|Si((c>>8&255)+(ee>>8&255)-(m>>8&255))<<8|Si((255&c)+(255&ee)-(255&m)))>>>0},jt.Predictor13=function(c,m,T){var ee=m[T-1];return(oi((c=Yo(c,m[T+0]))>>24&255,ee>>24&255)<<24|oi(c>>16&255,ee>>16&255)<<16|oi(c>>8&255,ee>>8&255)<<8|oi(255&c,255&ee))>>>0};var Rh=jt.PredictorAdd0;jt.PredictorAdd1=si,wo("Predictor2","PredictorAdd2"),wo("Predictor3","PredictorAdd3"),wo("Predictor4","PredictorAdd4"),wo("Predictor5","PredictorAdd5"),wo("Predictor6","PredictorAdd6"),wo("Predictor7","PredictorAdd7"),wo("Predictor8","PredictorAdd8"),wo("Predictor9","PredictorAdd9"),wo("Predictor10","PredictorAdd10"),wo("Predictor11","PredictorAdd11"),wo("Predictor12","PredictorAdd12"),wo("Predictor13","PredictorAdd13");var zd=jt.PredictorAdd2;Zo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),Zo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var Bs,Jg=jt.ColorIndexInverseTransform,du=jt.MapARGB,hu=jt.VP8LColorIndexInverseTransformAlpha,Uh=jt.MapAlpha,Dh=jt.VP8LPredictorsAdd=[];Dh.length=16,(jt.VP8LPredictors=[]).length=16,(jt.VP8LPredictorsAdd_C=[]).length=16,(jt.VP8LPredictors_C=[]).length=16;var Nh,Mh,bf,Ef,If,ud,Sf,fd,cc,gu,Fi,Ti,ws,ks,Yu,jh,Zd,Yg,Jv,Yv,qv,_v,$v,em,Hh,tm,nm,rm,am=l(511),om=l(2041),Am=l(225),im=l(767),sm=0,cv=om,qg=Am,Zl=im,uc=am,_g=0,$g=1,lm=2,e0=3,t0=4,uv=5,cm=6,fv=7,dv=8,n0=9,hv=10,$m=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ap=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],op=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Th=null,Ap=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ip=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],xf=[],Uc=[],qu=[],fp=1,dm=2,Ff=[],fc=[];Xu("UpsampleRgbLinePair",Cf,3),Xu("UpsampleBgrLinePair",ol,3),Xu("UpsampleRgbaLinePair",Il,4),Xu("UpsampleBgraLinePair",Qh,4),Xu("UpsampleArgbLinePair",Ph,4),Xu("UpsampleRgba4444LinePair",sd,2),Xu("UpsampleRgb565LinePair",id,2);var dp=jt.UpsampleRgbLinePair,hp=jt.UpsampleBgrLinePair,hm=jt.UpsampleRgbaLinePair,gm=jt.UpsampleBgraLinePair,vm=jt.UpsampleArgbLinePair,mm=jt.UpsampleRgba4444LinePair,gp=jt.UpsampleRgb565LinePair,r0=16,a0=1<ee.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ee.ca.f.kb.F!=null&&Rc()),ee.Pb&&0(ot=T.Md)?0:100St;++St)12>(qn=Fe.pb[St]).lc&&(qn.ia=ot*bp[0>qn.lc?0:qn.lc]>>3),dn|=qn.ia;dn&&(alert("todo:VP8InitRandom"),Fe.ia=1)}Fe.Ga=T.Id,100Fe.Ga&&(Fe.Ga=0)}(function(xt,wn){if(xt==null)return 0;if(wn==null)return Ps(xt,2,"NULL VP8Io parameter in VP8Decode().");if(!xt.cb&&!uu(xt,wn))return 0;if(n(xt.cb),wn.ac==null||wn.ac(wn)){wn.ob&&(xt.L=0);var kn=o0[xt.L];if(xt.L==2?(xt.yb=0,xt.zb=0):(xt.yb=wn.v-kn>>4,xt.zb=wn.j-kn>>4,0>xt.yb&&(xt.yb=0),0>xt.zb&&(xt.zb=0)),xt.Va=wn.o+15+kn>>4,xt.Hb=wn.va+15+kn>>4,xt.Hb>xt.za&&(xt.Hb=xt.za),xt.Va>xt.Ub&&(xt.Va=xt.Ub),0kn;++kn){var Xn;if(xt.Qa.Cb){var Qr=xt.Qa.Lb[kn];xt.Qa.Fb||(Qr+=Ir.Tb)}else Qr=Ir.Tb;for(Xn=0;1>=Xn;++Xn){var Nr=xt.gd[kn][Xn],fa=Qr;if(Ir.Pc&&(fa+=Ir.vd[0],Xn&&(fa+=Ir.od[0])),0<(fa=0>fa?0:63>2:$r>>1)>9-Ir.wb&&($r=9-Ir.wb),1>$r&&($r=1),Nr.dd=$r,Nr.tc=2*fa+$r,Nr.ld=40<=fa?2:15<=fa?1:0}else Nr.tc=0;Nr.La=Xn}}}kn=0}else Ps(xt,6,"Frame setup failed"),kn=xt.a;if(kn=kn==0){if(kn){xt.$c=0,0xt.Vb){if(xt.Vb=0,xt.Ec=l(Nr),xt.Fc=0,xt.Ec==null){kn=Ps(xt,1,"no memory during frame initialization.");break t}xt.Vb=Nr}Nr=xt.Ec,fa=xt.Fc,xt.Ac=Nr,xt.Bc=fa,fa+=Ir,xt.Gd=I(To,Dg),xt.Hd=0,xt.rb=I(Bo+1,ph),xt.sb=1,xt.wa=zA?I(zA,ic):null,xt.Y=0,xt.D.Nb=0,xt.D.wa=xt.wa,xt.D.Y=xt.Y,0=kn;++kn)am[255+kn]=0>kn?-kn:kn;for(kn=-1020;1020>=kn;++kn)om[1020+kn]=-128>kn?-128:127=kn;++kn)Am[112+kn]=-16>kn?-16:15=kn;++kn)im[255+kn]=0>kn?0:255di;++di){var Zs,mi=Sl[0+di];for(Zs=0;4>Zs;++Zs){mi=lp[qi[Al+Zs]][mi];for(var Ui=fm[jr(NA,mi[0])];0>3;for(Ui=0;256>Ui;Ui+=16)di[ml+Ui]=jl}il=1,Dc=Al[0]}var Ki=15&NA.la,Vs=15&xl.la;for(Ui=0;4>Ui;++Ui){var Vl=1&Vs;for(jl=Di=0;4>jl;++jl)Ki=Ki>>1|(Vl=(bs=Th(qi,Dc,bs=Vl+(1&Ki),gs.Sc,il,di,ml))>il)<<7,Di=Di<<2|(3>=4,Vs=Vs>>1|Vl<<7,Zs=(Zs<<8|Di)>>>0}for(Dc=Ki,il=Vs>>4,vs=0;4>vs;vs+=2){for(Di=0,Ki=NA.la>>4+vs,Vs=xl.la>>4+vs,Ui=0;2>Ui;++Ui){for(Vl=1&Vs,jl=0;2>jl;++jl)bs=Vl+(1&Ki),Ki=Ki>>1|(Vl=0<(bs=Th(qi,Al[2],bs,gs.Qc,0,di,ml)))<<3,Di=Di<<2|(3>=2,Vs=Vs>>1|Vl<<5}mi|=Di<<4*vs,Dc|=Ki<<4<=Po.zb&&Po.M<=Po.Va,Po.Aa==0)t:{if(ZA.M=Po.M,ZA.uc=NA,lc(Po,ZA),ys=1,ZA=(Di=Po.D).Nb,NA=(mi=o0[Po.L])*Po.R,qi=mi/2*Po.B,Ui=16*ZA*Po.R,jl=8*ZA*Po.B,Al=Po.sa,Sl=Po.ta-NA+Ui,gs=Po.qa,di=Po.ra-qi+jl,ml=Po.Ha,xl=Po.Ia-qi+jl,Vs=(Ki=Di.M)==0,Zs=Ki>=Po.Va-1,Po.Aa==2&&lc(Po,Di),Di.uc)for(Vl=(bs=Po).D.M,n(bs.D.uc),Di=bs.yb;DiXa.o&&(Ki=Xa.o),Xa.F=null,Xa.J=null,Po.Fa!=null&&0>1),Xa.W+=Po.B*(mi>>1),Xa.F!=null&&(Xa.J+=Xa.width*mi)),Di>1,Xa.W+=Xa.v>>1,Xa.F!=null&&(Xa.J+=Xa.v),Xa.ka=Di-Xa.j,Xa.U=Xa.va-Xa.v,Xa.T=Ki-Di,ys=Xa.put(Xa))}ZA+1!=Po.Ic||Zs||(r(Po.sa,Po.ta-NA,Al,Sl+16*Po.R,NA),r(Po.qa,Po.ra-qi,gs,di+8*Po.B,qi),r(Po.Ha,Po.Ia-qi,ml,xl+8*Po.B,qi))}if(!ys)return Ps(li,6,"Output aborted.")}return 1}(xt,wn)),wn.bc!=null&&wn.bc(wn),kn&=1}return kn?(xt.cb=0,kn):0})(c,ee)||(m=c.a)}}else m=c.a}m==0&&Ve.Oa!=null&&Ve.Oa.fd&&(m=Lh(Ve.ba))}Ve=m}Te=Ve!=0?null:11>Te?tt.f.RGBA.eb:tt.f.kb.y}else Te=null;return Te};var wm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function D(jt,Kn){for(var $e="",Bt=0;Bt<4;Bt++)$e+=String.fromCharCode(jt[Kn++]);return $e}function q(jt,Kn){return jt[Kn+0]|jt[Kn+1]<<8}function Be(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16)>>>0}function je(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16|jt[Kn+3]<<24)>>>0}new x;var G=[0],gt=[0],At=[],pt=new x,et=e,ln=function(jt,Kn){var $e={},Bt=0,sn=!1,$t=0,or=0;if($e.frames=[],!function(Ge,Rt){for(var Zt=0;Zt<4;Zt++)if(Ge[Rt+Zt]!="RIFF".charCodeAt(Zt))return!0;return!1}(jt,Kn)){for(je(jt,Kn+=4),Kn+=8;Kn>1&1}hr!="ANMF"&&(Kn+=Yn)}return $e}}(et,0);ln.response=et,ln.rgbaoutput=!0,ln.dataurl=!1;var Xt=ln.header?ln.header:null,Mt=ln.frames?ln.frames:null;if(Xt){Xt.loop_counter=Xt.loop_count,G=[Xt.canvas_height],gt=[Xt.canvas_width];for(var $n=0;$n=2?wt[1]:ao[0],ao[2]=wt.length>=3?wt[2]:ao[0],ao[3]=wt.length>=4?wt[3]:ao[1]),D.margin=ao}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(wt){mr=wt}});var Br=0;Object.defineProperty(this,"lastBreak",{get:function(){return Br},set:function(wt){Br=wt}});var jr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return jr},set:function(wt){jr=wt}}),Object.defineProperty(this,"ctx",{get:function(){return D},set:function(wt){wt instanceof q&&(D=wt)}}),Object.defineProperty(this,"path",{get:function(){return D.path},set:function(wt){D.path=wt}});var ma=[];Object.defineProperty(this,"ctxStack",{get:function(){return ma},set:function(wt){ma=wt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(wt){var ao;ao=je(wt),this.ctx.fillStyle=ao.style,this.ctx.isFillTransparent=ao.a===0,this.ctx.fillOpacity=ao.a,this.pdf.setFillColor(ao.r,ao.g,ao.b,{a:ao.a}),this.pdf.setTextColor(ao.r,ao.g,ao.b,{a:ao.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(wt){var ao=je(wt);this.ctx.strokeStyle=ao.style,this.ctx.isStrokeTransparent=ao.a===0,this.ctx.strokeOpacity=ao.a,ao.a===0?this.pdf.setDrawColor(255,255,255):(ao.a,this.pdf.setDrawColor(ao.r,ao.g,ao.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(wt){["butt","round","square"].indexOf(wt)!==-1&&(this.ctx.lineCap=wt,this.pdf.setLineCap(wt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(wt){isNaN(wt)||(this.ctx.lineWidth=wt,this.pdf.setLineWidth(wt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(wt){["bevel","round","miter"].indexOf(wt)!==-1&&(this.ctx.lineJoin=wt,this.pdf.setLineJoin(wt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(wt){isNaN(wt)||(this.ctx.miterLimit=wt,this.pdf.setMiterLimit(wt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(wt){this.ctx.textBaseline=wt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(wt){["right","end","center","left","start"].indexOf(wt)!==-1&&(this.ctx.textAlign=wt)}});var ro=null,to=null,Xo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Xo},set:function(wt){ro=null,to=null,Xo=wt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(wt){var ao;if(this.ctx.font=wt,(ao=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(wt))!==null){var YA=ao[1];ao[2];var AA=ao[3],ia=ao[4];ao[5];var iA=ao[6],wo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ia)[2];ia=Math.floor(wo==="px"?parseFloat(ia)*this.pdf.internal.scaleFactor:wo==="em"?parseFloat(ia)*this.pdf.getFontSize():parseFloat(ia)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ia);var aA=function(Zo){var Cs,gi,qA=[],_A=Zo.trim();if(_A==="")return V0;if(_A in ru)return[ru[_A]];for(;_A!=="";){switch(gi=null,Cs=(_A=au(_A)).charAt(0)){case'"':case"'":gi=Sc(_A.substring(1),Cs);break;default:gi=gf(_A)}if(gi===null||(qA.push(gi[0]),(_A=au(gi[1]))!==""&&_A.charAt(0)!==","))return V0;_A=_A.replace(/^,/,"")}return qA}(iA);if(this.fontFaces){var Yo=function(Zo,Cs){var gi=Zo.getFontList(),qA=JSON.stringify(gi);if(ro===null||to!==qA){var _A=function(as){var eA=[];return Object.keys(as).forEach(function(Vi){as[Vi].forEach(function(vA){var DA=null;switch(vA){case"bold":DA={family:Vi,weight:"bold"};break;case"italic":DA={family:Vi,style:"italic"};break;case"bolditalic":DA={family:Vi,weight:"bold",style:"italic"};break;case"":case"normal":DA={family:Vi}}DA!==null&&(DA.ref={name:Vi,style:vA},eA.push(DA))})}),eA}(gi);ro=function(as){for(var eA={},Vi=0;Vi=700||YA==="bold")&&(UA="bold"),YA==="italic"&&(UA+="italic"),UA.length===0&&(UA="normal");for(var si="",Ai={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Do=0;Do=2*Math.PI&&(un=0,bn=2*Math.PI),this.path.push({type:"arc",x:Ge,y:Rt,radius:Zt,startAngle:un,endAngle:bn,counterclockwise:Vn})},Be.prototype.arcTo=function(Ge,Rt,Zt,un,bn){throw new Error("arcTo not implemented.")},Be.prototype.rect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ge,Rt),this.lineTo(Ge+Zt,Rt),this.lineTo(Ge+Zt,Rt+un),this.lineTo(Ge,Rt+un),this.lineTo(Ge,Rt),this.lineTo(Ge+Zt,Rt),this.lineTo(Ge,Rt)},Be.prototype.fillRect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!G.call(this)){var bn={};this.lineCap!=="butt"&&(bn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(bn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ge,Rt,Zt,un),this.fill(),bn.hasOwnProperty("lineCap")&&(this.lineCap=bn.lineCap),bn.hasOwnProperty("lineJoin")&&(this.lineJoin=bn.lineJoin)}},Be.prototype.strokeRect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");gt.call(this)||(this.beginPath(),this.rect(Ge,Rt,Zt,un),this.stroke())},Be.prototype.clearRect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ge,Rt,Zt,un))},Be.prototype.save=function(Ge){Ge=typeof Ge!="boolean"||Ge;for(var Rt=this.pdf.internal.getCurrentPageInfo().pageNumber,Zt=0;Zt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Be.prototype.drawImage=function(Ge,Rt,Zt,un,bn,Vn,mr,Br,jr){var ma=this.pdf.getImageProperties(Ge),ro=1,to=1,Xo=1,wt=1;un!==void 0&&Br!==void 0&&(Xo=Br/un,wt=jr/bn,ro=ma.width/un*Br/un,to=ma.height/bn*jr/bn),Vn===void 0&&(Vn=Rt,mr=Zt,Rt=0,Zt=0),un!==void 0&&Br===void 0&&(Br=un,jr=bn),un===void 0&&Br===void 0&&(Br=ma.width,jr=ma.height);var ao=this.ctx.transform.decompose(),YA=Yn(ao.rotate.shx),AA=new x,ia=(AA=(AA=(AA=AA.multiply(ao.translate)).multiply(ao.skew)).multiply(ao.scale)).applyToRectangle(new p(Vn-Rt*Xo,mr-Zt*wt,un*ro,bn*to));if(this.autoPaging){for(var iA,wo=pt.call(this,ia),aA=[],Yo=0;YoSi||UAia||wo0)){for(;jr>=0;jr--)if(bn[jr-1].close!==!0&&bn[jr-1].begin!==!0){bn[jr-1].deltas.push(Zt),bn[jr-1].abs.push(Br);break}}break;case"bct":Zt=[Br.x1-Vn[mr-1].x,Br.y1-Vn[mr-1].y,Br.x2-Vn[mr-1].x,Br.y2-Vn[mr-1].y,Br.x-Vn[mr-1].x,Br.y-Vn[mr-1].y],bn[bn.length-1].deltas.push(Zt);break;case"qct":var ma=Vn[mr-1].x+2/3*(Br.x1-Vn[mr-1].x),ro=Vn[mr-1].y+2/3*(Br.y1-Vn[mr-1].y),to=Br.x+2/3*(Br.x1-Br.x),Xo=Br.y+2/3*(Br.y1-Br.y),wt=Br.x,ao=Br.y;Zt=[ma-Vn[mr-1].x,ro-Vn[mr-1].y,to-Vn[mr-1].x,Xo-Vn[mr-1].y,wt-Vn[mr-1].x,ao-Vn[mr-1].y],bn[bn.length-1].deltas.push(Zt);break;case"arc":bn.push({deltas:[],abs:[],arc:!0}),Array.isArray(bn[bn.length-1].abs)&&bn[bn.length-1].abs.push(Br)}}un=Rt?null:Ge==="stroke"?"stroke":"fill";for(var YA=!1,AA=0;AA=.01&&(un=this.pdf.internal.getFontSize(),this.pdf.setFontSize(un*Ge.scale),bn=this.lineWidth,this.lineWidth=bn*Ge.scale);var jA=this.autoPaging!=="text";if(jA||Do.y+Do.h<=Yo){if(jA||Do.y>=wo&&Do.x<=oi){var Zo=jA?Ge.text:this.pdf.splitTextToSize(Ge.text,Ge.maxWidth||oi-Do.x)[0],Cs=ln([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-si+wo+this.ctx.prevPageLastElemOffset)[0],gi=jA&&(iA>AA||iA=.01&&(this.pdf.setFontSize(un),this.lineWidth=bn)}}else Ge.scale>=.01&&(un=this.pdf.internal.getFontSize(),this.pdf.setFontSize(un*Ge.scale),bn=this.lineWidth,this.lineWidth=bn*Ge.scale),this.pdf.text(Ge.text,jr.x+this.posX,jr.y+this.posY,{angle:Ge.angle,align:Rt,renderingMode:Ge.renderingMode,maxWidth:Ge.maxWidth}),Ge.scale>=.01&&(this.pdf.setFontSize(un),this.lineWidth=bn)},sn=function(Ge,Rt,Zt,un){Zt=Zt||0,un=un||0,this.pdf.internal.out(t(Ge+Zt)+" "+r(Rt+un)+" l")},$t=function(Ge,Rt,Zt){return this.pdf.lines(Ge,Rt,Zt,null,null)},or=function(Ge,Rt,Zt,un,bn,Vn,mr,Br){this.pdf.internal.out([n(A(Zt+Ge)),n(l(un+Rt)),n(A(bn+Ge)),n(l(Vn+Rt)),n(A(mr+Ge)),n(l(Br+Rt)),"c"].join(" "))},hr=function(Ge,Rt,Zt,un){for(var bn=2*Math.PI,Vn=Math.PI/2;Rt>Zt;)Rt-=bn;var mr=Math.abs(Zt-Rt);mr1e-5;){var ro=ma+jr*Math.min(mr,Vn);Br.push(Cr.call(this,Ge,ma,ro)),mr-=Math.abs(ro-ma),ma=ro}return Br},Cr=function(Ge,Rt,Zt){var un=(Zt-Rt)/2,bn=Ge*Math.cos(un),Vn=Ge*Math.sin(un),mr=bn,Br=-Vn,jr=mr*mr+Br*Br,ma=jr+mr*bn+Br*Vn,ro=4/3*(Math.sqrt(2*jr*ma)-ma)/(mr*Vn-Br*bn),to=mr-ro*Br,Xo=Br+ro*mr,wt=to,ao=-Xo,YA=un+Rt,AA=Math.cos(YA),ia=Math.sin(YA);return{x1:Ge*Math.cos(Rt),y1:Ge*Math.sin(Rt),x2:to*AA-Xo*ia,y2:to*ia+Xo*AA,x3:wt*AA-ao*ia,y3:wt*ia+ao*AA,x4:Ge*Math.cos(Zt),y4:Ge*Math.sin(Zt)}},Yn=function(Ge){return 180*Ge/Math.PI},wr=function(Ge,Rt,Zt,un,bn,Vn){var mr=Ge+.5*(Zt-Ge),Br=Rt+.5*(un-Rt),jr=bn+.5*(Zt-bn),ma=Vn+.5*(un-Vn),ro=Math.min(Ge,bn,mr,jr),to=Math.max(Ge,bn,mr,jr),Xo=Math.min(Rt,Vn,Br,ma),wt=Math.max(Rt,Vn,Br,ma);return new p(ro,Xo,to-ro,wt-Xo)},ba=function(Ge,Rt,Zt,un,bn,Vn,mr,Br){var jr,ma,ro,to,Xo,wt,ao,YA,AA,ia,iA,wo,aA,Yo,Si=Zt-Ge,oi=un-Rt,UA=bn-Zt,si=Vn-un,Ai=mr-bn,Do=Br-Vn;for(ma=0;ma<41;ma++)AA=(ao=(ro=Ge+(jr=ma/40)*Si)+jr*((Xo=Zt+jr*UA)-ro))+jr*(Xo+jr*(bn+jr*Ai-Xo)-ao),ia=(YA=(to=Rt+jr*oi)+jr*((wt=un+jr*si)-to))+jr*(wt+jr*(Vn+jr*Do-wt)-YA),ma==0?(iA=AA,wo=ia,aA=AA,Yo=ia):(iA=Math.min(iA,AA),wo=Math.min(wo,ia),aA=Math.max(aA,AA),Yo=Math.max(Yo,ia));return new p(Math.round(iA),Math.round(wo),Math.round(aA-iA),Math.round(Yo-wo))},Gr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ge,Rt,Zt=(Ge=this.ctx.lineDash,Rt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ge,lineDashOffset:Rt}));this.prevLineDash!==Zt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Zt)}}})(xo.API),function(e){var n=function(I){var p,x,D,q,Be,je,G,gt,At,pt;for(/[^\x00-\xFF]/.test(I),x=[],D=0,q=(I+=p="\0\0\0\0".slice(I.length%4||4)).length;q>D;D+=4)(Be=(I.charCodeAt(D)<<24)+(I.charCodeAt(D+1)<<16)+(I.charCodeAt(D+2)<<8)+I.charCodeAt(D+3))!==0?(je=(Be=((Be=((Be=((Be=(Be-(pt=Be%85))/85)-(At=Be%85))/85)-(gt=Be%85))/85)-(G=Be%85))/85)%85,x.push(je+33,G+33,gt+33,At+33,pt+33)):x.push(122);return function(et,ln){for(var Xt=ln;Xt>0;Xt--)et.pop()}(x,p.length),String.fromCharCode.apply(String,x)+"~>"},t=function(I){var p,x,D,q,Be,je=String,G="length",gt=255,At="charCodeAt",pt="slice",et="replace";for(I[pt](-2),I=I[pt](0,-2)[et](/\s/g,"")[et]("z","!!!!!"),D=[],q=0,Be=(I+=p="uuuuu"[pt](I[G]%5||5))[G];Be>q;q+=5)x=52200625*(I[At](q)-33)+614125*(I[At](q+1)-33)+7225*(I[At](q+2)-33)+85*(I[At](q+3)-33)+(I[At](q+4)-33),D.push(gt&x>>24,gt&x>>16,gt&x>>8,gt&x);return function(ln,Xt){for(var Mt=Xt;Mt>0;Mt--)ln.pop()}(D,p[G]),je.fromCharCode.apply(je,D)},r=function(I){return I.split("").map(function(p){return("0"+p.charCodeAt().toString(16)).slice(-2)}).join("")+">"},A=function(I){var p=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((I=I.replace(/\s/g,"")).indexOf(">")!==-1&&(I=I.substr(0,I.indexOf(">"))),I.length%2&&(I+="0"),p.test(I)===!1)return"";for(var x="",D=0;DAt&&(gt=pt,pt=At,At=gt);else{if(p!=="l"&&p!=="landscape")throw"Invalid orientation: "+p;p="l",At>pt&&(gt=pt,pt=At,At=gt)}return{width:pt,height:At,unit:x,k:Be,orientation:p}},e.html=function(p,x){(x=x||{}).callback=x.callback||function(){},x.html2canvas=x.html2canvas||{},x.html2canvas.canvas=x.html2canvas.canvas||this.canvas,x.jsPDF=x.jsPDF||this,x.fontFaces=x.fontFaces?x.fontFaces.map(Ml):null;var D=new I(x);return x.worker?D:D.from(p).doCallback()}}(xo.API),xo.API.addJS=function(e){return Rv=e,this.internal.events.subscribe("postPutResources",function(){ou=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ou+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Lv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Rv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ou!==void 0&&Lv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var A=t.outline.render().split(/\r\n/),l=0;l> endobj")}var G=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+G+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,A,l){var I={title:A,options:l,children:[]};return r==null&&(r=this.root),r.children.push(I),I},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var A=0;A0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var A=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(I.children[0])),this.line("/Last "+this.makeRef(I.children[I.children.length-1])));var p=this.count=this.count_r({count:0},I);if(p>0&&this.line("/Count "+p),I.options&&I.options.pageNumber){var x=t.internal.getPageInfo(I.options.pageNumber);this.line("/Dest ["+x.objId+" 0 R /XYZ 0 "+A(0)+" 0]")}this.objEnd()}for(var D=0;D>"}),"transparency"in Bt&&Array.isArray(Bt.transparency)&&Bt.transparency.length>0){for(var Cr="",Yn=0,wr=Bt.transparency.length;Yn>",At.content=l;var Xt=At.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length>=1};var D=e.__arabicParser__.arabicLetterHasFinalForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length>=3};var q=e.__arabicParser__.arabicLetterHasMedialForm=function(At){return I(At)&&l(At)&&n[At.charCodeAt(0)].length==4},Be=e.__arabicParser__.resolveLigatures=function(At){var pt=0,et=t,ln="",Xt=0;for(pt=0;pt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(p){t=p}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(p){r=isNaN(p)||Number.isInteger(p)===!1||p<0?150:p,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var A=300;Object.defineProperty(this,"height",{get:function(){return A},set:function(p){A=isNaN(p)||Number.isInteger(p)===!1||p<0?300:p,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=A+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(p){l=p}});var I={};Object.defineProperty(this,"style",{get:function(){return I},set:function(p){I=p}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var A;if((t=t||"2d")!=="2d")return null;for(A in r)this.pdf.context2d.hasOwnProperty(A)&&(this.pdf.context2d[A]=r[A]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(xo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),A.call(this))},A=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var x=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return x},set:function(At){x=At}});var D=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return D},set:function(At){D=At}});var q=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return q},set:function(At){q=At}});var Be=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Be},set:function(At){Be=At}});var je=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return je},set:function(At){je=At}});var G=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return G},set:function(At){G=At}});var gt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return gt},set:function(At){gt=At}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(x){return r.call(this),this.internal.__cell__.headerFunction=typeof x=="function"?x:void 0,this},e.getTextDimensions=function(x,D){r.call(this);var q=(D=D||{}).fontSize||this.getFontSize(),Be=D.font||this.getFont(),je=D.scaleFactor||this.internal.scaleFactor,G=0,gt=0,At=0,pt=this;if(!Array.isArray(x)&&typeof x!="string"){if(typeof x!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");x=String(x)}var et=D.maxWidth;et>0?typeof x=="string"?x=this.splitTextToSize(x,et):Object.prototype.toString.call(x)==="[object Array]"&&(x=x.reduce(function(Xt,Mt){return Xt.concat(pt.splitTextToSize(Mt,et))},[])):x=Array.isArray(x)?x:[x];for(var ln=0;lnthis.getPageHeight()?(this.cellAddPage(),x.y=Be.top,G&&je&&(this.printHeaderRow(x.lineNumber,!0),x.y+=je[0].height)):x.y=D.y+D.height||x.y),x.text[0]!==void 0&&(this.rect(x.x,x.y,x.width,x.height,t===!0?"FD":void 0),x.align==="right"?this.text(x.text,x.x+x.width-q,x.y+q,{align:"right",baseline:"top"}):x.align==="center"?this.text(x.text,x.x+x.width/2,x.y+q,{align:"center",baseline:"top",maxWidth:x.width-q-q}):this.text(x.text,x.x+q,x.y+q,{align:"left",baseline:"top",maxWidth:x.width-q-q})),this.internal.__cell__.lastCell=x,this};e.table=function(x,D,q,Be,je){if(r.call(this),!q)throw new Error("No data for PDF table.");var G,gt,At,pt,et=[],ln=[],Xt=[],Mt={},$n={},xr=[],vr=[],gn=(je=je||{}).autoSize||!1,jt=je.printHeaders!==!1,Kn=je.css&&je.css["font-size"]!==void 0?16*je.css["font-size"]:je.fontSize||12,$e=je.margins||Object.assign({width:this.getPageWidth()},n),Bt=typeof je.padding=="number"?je.padding:3,sn=je.headerBackgroundColor||"#c8c8c8",$t=je.headerTextColor||"#000";if(A.call(this),this.internal.__cell__.printHeaders=jt,this.internal.__cell__.margins=$e,this.internal.__cell__.table_font_size=Kn,this.internal.__cell__.padding=Bt,this.internal.__cell__.headerBackgroundColor=sn,this.internal.__cell__.headerTextColor=$t,this.setFontSize(Kn),Be==null)ln=et=Object.keys(q[0]),Xt=et.map(function(){return"left"});else if(Array.isArray(Be)&&(0,o.Z)(Be[0])==="object")for(et=Be.map(function(ba){return ba.name}),ln=Be.map(function(ba){return ba.prompt||ba.name||""}),Xt=Be.map(function(ba){return ba.align||"left"}),G=0;G0&&this.setTableHeaderRow(je),this.setFont(void 0,"normal"),t=!1}}(xo.API);var Fs={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Ec=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],$s=yi(Ec),nl=[100,200,300,400,500,600,700,800,900],Uu=yi(nl);function Ml(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return Fs[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),A=function(l){return typeof $s[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:A,src:e.src||[],ref:e.ref||{name:n,style:[A,t,r].join(" ")}}}function Ic(e,n,t,r){var A;for(A=t;A>=0&&A=0&&A>>1)&255}return A}function Kv(e,n,t){var r=e.length,A=[];A[0]=4;for(var l=0;l>l&I}function kv(e,n,t,r){var A=t*r,l=Math.floor(A/8),I=16-(A-8*l+r),p=(1<>8&255;D.setUint8(q,je)}})(e,l,zv(e,l)&~(p<>7,I=1<<1+(7&A);e[n++],e[n++];var p=null,x=null;l&&(p=n,x=I,n+=3*I);var D=!0,q=[],Be=0,je=null,G=0,gt=null;for(this.width=t,this.height=r;D&&n=0))throw Error("Invalid block size");if($e===0)break;n+=$e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var At=e[n++];Be=e[n++]|e[n++]<<8,je=e[n++],1&At||(je=null),G=At>>2&7,n++;break;case 254:for(;;){if(!(($e=e[n++])>=0))throw Error("Invalid block size");if($e===0)break;n+=$e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var pt=e[n++]|e[n++]<<8,et=e[n++]|e[n++]<<8,ln=e[n++]|e[n++]<<8,Xt=e[n++]|e[n++]<<8,Mt=e[n++],$n=Mt>>6&1,xr=1<<1+(7&Mt),vr=p,gn=x,jt=!1;Mt>>7&&(jt=!0,vr=n,gn=xr,n+=3*xr);var Kn=n;for(n++;;){var $e;if(!(($e=e[n++])>=0))throw Error("Invalid block size");if($e===0)break;n+=$e}q.push({x:pt,y:et,width:ln,height:Xt,has_local_palette:jt,palette_offset:vr,palette_size:gn,data_offset:Kn,data_length:n-Kn,transparent_index:je,interlaced:!!$n,delay:Be,disposal:G});break;case 59:D=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return q.length},this.loopCount=function(){return gt},this.frameInfo=function(Bt){if(Bt<0||Bt>=q.length)throw new Error("Frame index out of range.");return q[Bt]},this.decodeAndBlitFrameBGRA=function(Bt,sn){var $t=this.frameInfo(Bt),or=$t.width*$t.height,hr=new Uint8Array(or);Zv(e,$t.data_offset,hr,or);var Cr=$t.palette_offset,Yn=$t.transparent_index;Yn===null&&(Yn=256);var wr=$t.width,ba=t-wr,Gr=wr,Ge=4*($t.y*t+$t.x),Rt=4*(($t.y+$t.height)*t+$t.x),Zt=Ge,un=4*ba;$t.interlaced===!0&&(un+=4*t*7);for(var bn=8,Vn=0,mr=hr.length;Vn=Rt&&(un=4*ba+4*t*(bn-1),Zt=Ge+(wr+ba)*(bn<<1),bn>>=1)),Br===Yn)Zt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];sn[Zt++]=ro,sn[Zt++]=ma,sn[Zt++]=jr,sn[Zt++]=255}--Gr}},this.decodeAndBlitFrameRGBA=function(Bt,sn){var $t=this.frameInfo(Bt),or=$t.width*$t.height,hr=new Uint8Array(or);Zv(e,$t.data_offset,hr,or);var Cr=$t.palette_offset,Yn=$t.transparent_index;Yn===null&&(Yn=256);var wr=$t.width,ba=t-wr,Gr=wr,Ge=4*($t.y*t+$t.x),Rt=4*(($t.y+$t.height)*t+$t.x),Zt=Ge,un=4*ba;$t.interlaced===!0&&(un+=4*t*7);for(var bn=8,Vn=0,mr=hr.length;Vn=Rt&&(un=4*ba+4*t*(bn-1),Zt=Ge+(wr+ba)*(bn<<1),bn>>=1)),Br===Yn)Zt+=4;else{var jr=e[Cr+3*Br],ma=e[Cr+3*Br+1],ro=e[Cr+3*Br+2];sn[Zt++]=jr,sn[Zt++]=ma,sn[Zt++]=ro,sn[Zt++]=255}--Gr}}}function Zv(e,n,t,r){for(var A=e[n++],l=1<>=x,q-=x,pt!==l){if(pt===I)break;for(var et=ptl;)Xt=gt[Xt]>>8,++ln;var Mt=Xt;if(je+ln+(et!==pt?1:0)>r)return void Ri.log("Warning, gif stream longer than expected.");t[je++]=Mt;var $n=je+=ln;for(et!==pt&&(t[je++]=Mt),Xt=et;ln--;)Xt=gt[Xt],t[--$n]=255&Xt,Xt>>=8;At!==null&&p<4096&&(gt[p++]=At<<8|Mt,p>=D+1&&x<12&&(++x,D=D<<1|1)),At=pt}else p=I+1,D=(1<<(x=A+1))-1,At=null}return je!==r&&Ri.log("Warning, gif stream shorter than expected."),t}function X0(e){var n,t,r,A,l,I=Math.floor,p=new Array(64),x=new Array(64),D=new Array(64),q=new Array(64),Be=new Array(65535),je=new Array(65535),G=new Array(64),gt=new Array(64),At=[],pt=0,et=7,ln=new Array(64),Xt=new Array(64),Mt=new Array(64),$n=new Array(256),xr=new Array(2048),vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],gn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Kn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],$e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Bt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],sn=[0,1,2,3,4,5,6,7,8,9,10,11],$t=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],or=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function hr(Ge,Rt){for(var Zt=0,un=0,bn=new Array,Vn=1;Vn<=16;Vn++){for(var mr=1;mr<=Ge[Vn];mr++)bn[Rt[un]]=[],bn[Rt[un]][0]=Zt,bn[Rt[un]][1]=Vn,un++,Zt++;Zt*=2}return bn}function Cr(Ge){for(var Rt=Ge[0],Zt=Ge[1]-1;Zt>=0;)Rt&1<>8&255),Yn(255&Ge)}function ba(Ge,Rt,Zt,un,bn){for(var Vn,mr=bn[0],Br=bn[240],jr=function(ia,iA){var wo,aA,Yo,Si,oi,UA,si,Ai,Do,jA,Zo=0;for(Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+1],Yo=ia[Zo+2],Si=ia[Zo+3],oi=ia[Zo+4],UA=ia[Zo+5],si=ia[Zo+6];var Cs=wo+(Ai=ia[Zo+7]),gi=wo-Ai,qA=aA+si,_A=aA-si,as=Yo+UA,eA=Yo-UA,Vi=Si+oi,vA=Si-oi,DA=Cs+Vi,os=Cs-Vi,ti=qA+as,uA=qA-as;ia[Zo]=DA+ti,ia[Zo+4]=DA-ti;var xi=.707106781*(uA+os);ia[Zo+2]=os+xi,ia[Zo+6]=os-xi;var Yf=.382683433*((DA=vA+eA)-(uA=_A+gi)),vl=.5411961*DA+Yf,Nu=1.306562965*uA+Yf,iu=.707106781*(ti=eA+_A),fA=gi+iu,Mu=gi-iu;ia[Zo+5]=Mu+vl,ia[Zo+3]=Mu-vl,ia[Zo+1]=fA+Nu,ia[Zo+7]=fA-Nu,Zo+=8}for(Zo=0,Do=0;Do<8;++Do){wo=ia[Zo],aA=ia[Zo+8],Yo=ia[Zo+16],Si=ia[Zo+24],oi=ia[Zo+32],UA=ia[Zo+40],si=ia[Zo+48];var ju=wo+(Ai=ia[Zo+56]),ac=wo-Ai,oc=aA+si,hs=aA-si,el=Yo+UA,rl=Yo-UA,qf=Si+oi,mf=Si-oi,Pc=ju+qf,su=ju-qf,Qc=oc+el,Oc=oc-el;ia[Zo]=Pc+Qc,ia[Zo+32]=Pc-Qc;var Ac=.707106781*(Oc+su);ia[Zo+16]=su+Ac,ia[Zo+48]=su-Ac;var _f=.382683433*((Pc=mf+rl)-(Oc=hs+ac)),lu=.5411961*Pc+_f,$f=1.306562965*Oc+_f,Rd=.707106781*(Qc=rl+hs),Ud=ac+Rd,Dd=ac-Rd;ia[Zo+40]=Dd+lu,ia[Zo+24]=Dd-lu,ia[Zo+8]=Ud+$f,ia[Zo+56]=Ud-$f,Zo++}for(Do=0;Do<64;++Do)jA=ia[Do]*iA[Do],G[Do]=jA>0?jA+.5|0:jA-.5|0;return G}(Ge,Rt),ma=0;ma<64;++ma)gt[vr[ma]]=jr[ma];var ro=gt[0]-Zt;Zt=gt[0],ro==0?Cr(un[0]):(Cr(un[je[Vn=32767+ro]]),Cr(Be[Vn]));for(var to=63;to>0&>[to]==0;)to--;if(to==0)return Cr(mr),Zt;for(var Xo,wt=1;wt<=to;){for(var ao=wt;gt[wt]==0&&wt<=to;)++wt;var YA=wt-ao;if(YA>=16){Xo=YA>>4;for(var AA=1;AA<=Xo;++AA)Cr(Br);YA&=15}Vn=32767+gt[wt],Cr(bn[(YA<<4)+je[Vn]]),Cr(Be[Vn]),wt++}return to!=63&&Cr(mr),Zt}function Gr(Ge){Ge=Math.min(Math.max(Ge,1),100),l!=Ge&&(function(Rt){for(var Zt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],un=0;un<64;un++){var bn=I((Zt[un]*Rt+50)/100);bn=Math.min(Math.max(bn,1),255),p[vr[un]]=bn}for(var Vn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],mr=0;mr<64;mr++){var Br=I((Vn[mr]*Rt+50)/100);Br=Math.min(Math.max(Br,1),255),x[vr[mr]]=Br}for(var jr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],ma=0,ro=0;ro<8;ro++)for(var to=0;to<8;to++)D[ma]=1/(p[vr[ma]]*jr[ro]*jr[to]*8),q[ma]=1/(x[vr[ma]]*jr[ro]*jr[to]*8),ma++}(Ge<50?Math.floor(5e3/Ge):Math.floor(200-2*Ge)),l=Ge)}this.encode=function(Ge,Rt){Rt&&Gr(Rt),At=new Array,pt=0,et=7,wr(65496),wr(65504),wr(16),Yn(74),Yn(70),Yn(73),Yn(70),Yn(0),Yn(1),Yn(1),Yn(0),wr(1),wr(1),Yn(0),Yn(0),function(){wr(65499),wr(132),Yn(0);for(var aA=0;aA<64;aA++)Yn(p[aA]);Yn(1);for(var Yo=0;Yo<64;Yo++)Yn(x[Yo])}(),function(aA,Yo){wr(65472),wr(17),Yn(8),wr(Yo),wr(aA),Yn(3),Yn(1),Yn(17),Yn(0),Yn(2),Yn(17),Yn(1),Yn(3),Yn(17),Yn(1)}(Ge.width,Ge.height),function(){wr(65476),wr(418),Yn(0);for(var aA=0;aA<16;aA++)Yn(gn[aA+1]);for(var Yo=0;Yo<=11;Yo++)Yn(jt[Yo]);Yn(16);for(var Si=0;Si<16;Si++)Yn(Kn[Si+1]);for(var oi=0;oi<=161;oi++)Yn($e[oi]);Yn(1);for(var UA=0;UA<16;UA++)Yn(Bt[UA+1]);for(var si=0;si<=11;si++)Yn(sn[si]);Yn(17);for(var Ai=0;Ai<16;Ai++)Yn($t[Ai+1]);for(var Do=0;Do<=161;Do++)Yn(or[Do])}(),wr(65498),wr(12),Yn(3),Yn(1),Yn(0),Yn(2),Yn(17),Yn(3),Yn(17),Yn(0),Yn(63),Yn(0);var Zt=0,un=0,bn=0;pt=0,et=7,this.encode.displayName="_encode_";for(var Vn,mr,Br,jr,ma,ro,to,Xo,wt,ao=Ge.data,YA=Ge.width,AA=Ge.height,ia=4*YA,iA=0;iA>3)*ia+(to=4*(7&wt)),iA+Xo>=AA&&(ro-=ia*(iA+1+Xo-AA)),Vn+to>=ia&&(ro-=Vn+to-ia+4),mr=ao[ro++],Br=ao[ro++],jr=ao[ro++],ln[wt]=(xr[mr]+xr[Br+256|0]+xr[jr+512|0]>>16)-128,Xt[wt]=(xr[mr+768|0]+xr[Br+1024|0]+xr[jr+1280|0]>>16)-128,Mt[wt]=(xr[mr+1280|0]+xr[Br+1536|0]+xr[jr+1792|0]>>16)-128;Zt=ba(ln,D,Zt,n,r),un=ba(Xt,q,un,t,A),bn=ba(Mt,q,bn,t,A),Vn+=32}iA+=8}if(et>=0){var wo=[];wo[1]=et+1,wo[0]=(1<Bt;Bt++)if(jt[Kn+Bt]!=$e.charCodeAt(Bt))return!0;return!1}function r(jt,Kn,$e,Bt,sn){for(var $t=0;$t$t+1?[]:new Kn),!(or.length<$t+1));Cr++)Bt(sn[Cr],$t+1,or)}($e,0,jt),$e}var x=function(){var jt=this;function Kn(c,m){for(var T=1<>>0;c&T;)T>>>=1;return T?(c&T-1)+T:c}function $e(c,m,T,ee,Fe){n(!(ee%T));do c[m+(ee-=T)]=Fe;while(0=Fe),512>=Fe)var Te=l(512);else if((Te=l(Fe))==null)return 0;return function(Ve,tt,ot,St,dn,qn){var xt,wn,kn=tt,Ir=1<xt;++xt){if(Xn[xt]>1<(zA-=Xn[xt]))return 0;for(;0=xt;++xt,dn<<=1){if(Bo+=zA<<=1,0>(zA-=Xn[xt]))return 0;for(;0fa&&!(0>=(Nr-=Xn[fa]));)++fa,Nr<<=1;Ir+=Fo=1<<(Nr=fa-ot),Ve[tt+(fa=To&$r)].g=Nr+ot,Ve[tt+fa].value=kn-tt-fa}St.g=xt-ot,St.value=qn[wn++],$e(Ve,kn+(To>>ot),dn,Fo,St),To=Kn(To,xt)}}return Bo!=2*Qr[15]-1?0:Ir}(c,m,T,ee,Fe,Te)}function sn(){this.value=this.g=0}function $t(){this.value=this.g=0}function or(){this.G=I(5,sn),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=I(cd,$t)}function hr(c,m,T,ee){n(c!=null),n(m!=null),n(2147483648>ee),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=m,c.pa=T,c.Jd=m,c.Yc=T+ee,c.Zc=4<=ee?T+ee-4+1:T,mr(c)}function Cr(c,m){for(var T=0;0ee),c.Sb=ee,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;un(c)&&(c.h=1,c.u=0)}function Gr(c,m){if(n(0<=m),!c.h&&m<=zl){var T=Zt(c)&kl[m];return c.u+=m,ba(c),T}return c.h=1,c.u=0}function Ge(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Rt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Zt(c){return c.Ra>>>(c.u&wf-1)>>>0}function un(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>wf}function bn(c,m){c.u=m,c.h=un(c)}function Vn(c){c.u>=Ju&&(n(c.u>=Ju),ba(c))}function mr(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&mr(c);var ee=c.b,Fe=T*m>>>8,Te=(c.I>>>ee>Fe)+0;for(Te?(T-=Fe,c.I-=Fe+1<>>0):T=Fe+1,ee=T,Fe=0;256<=ee;)Fe+=8,ee>>=8;return ee=7^Fe+yf[ee],c.b-=ee,c.Ca=(T<>24&255,c[m+1]=T>>16&255,c[m+2]=T>>8&255,c[m+3]=255&T}function ro(c,m){return c[m+0]|c[m+1]<<8}function to(c,m){return ro(c,m)|c[m+2]<<16}function Xo(c,m){return ro(c,m)|ro(c,m+2)<<16}function wt(c,m){var T=1<=Fe||0>=Te?0:(T[0]=Fe,ee[0]=Te,1)}function ia(c,m){return c+(1<>>m}function iA(c,m){return((4278255360&c)+(4278255360&m)>>>0&4278255360)+((16711935&c)+(16711935&m)>>>0&16711935)>>>0}function wo(c,m){jt[m]=function(T,ee,Fe,Te,Ve,tt,ot){var St;for(St=0;St>>1)+(c&m)>>>0}function Si(c){return 0<=c&&256>c?c:0>c?0:255>1))}function UA(c,m,T){return Math.abs(m-T)-Math.abs(c-T)}function si(c,m,T,ee,Fe,Te,Ve){for(ee=Te[Ve-1],T=0;T>8&255,ot=16711935&(ot=(ot=16711935&Ve)+((tt<<16)+tt));ee[Fe+Te]=(4278255360&Ve)+ot>>>0}}function Do(c,m){m.jd=255&c,m.hd=c>>8&255,m.ud=c>>16&255}function jA(c,m,T,ee,Fe,Te){var Ve;for(Ve=0;Ve>>8,St=tt,dn=255&(dn=(dn=tt>>>16)+((c.jd<<24>>24)*(ot<<24>>24)>>>5));St=255&(St=(St+=(c.hd<<24>>24)*(ot<<24>>24)>>>5)+((c.ud<<24>>24)*(dn<<24>>24)>>>5)),Fe[Te+Ve]=(4278255360&tt)+(dn<<16)+St}}function Zo(c,m,T,ee,Fe){jt[m]=function(Te,Ve,tt,ot,St,dn,qn,xt,wn){for(ot=qn;ot>Te.b,wn=Te.Ea,kn=Te.K[0],Ir=Te.w;if(8>xt)for(Te=(1<>=xt}else jt["VP8LMapColor"+T](ot,St,kn,Ir,dn,qn,Ve,tt,wn)}}function Cs(c,m,T,ee,Fe){for(T=m+T;m>16&255,ee[Fe++]=Te>>8&255,ee[Fe++]=255&Te}}function gi(c,m,T,ee,Fe){for(T=m+T;m>16&255,ee[Fe++]=Te>>8&255,ee[Fe++]=255&Te,ee[Fe++]=Te>>24&255}}function qA(c,m,T,ee,Fe){for(T=m+T;m>16&240|Ve>>12&15,Ve=240&Ve|Ve>>28&15;ee[Fe++]=Te,ee[Fe++]=Ve}}function _A(c,m,T,ee,Fe){for(T=m+T;m>16&248|Ve>>13&7,Ve=Ve>>5&224|Ve>>3&31;ee[Fe++]=Te,ee[Fe++]=Ve}}function as(c,m,T,ee,Fe){for(T=m+T;m>8&255,ee[Fe++]=Te>>16&255}}function eA(c,m,T,ee,Fe,Te){if(Te==0)for(T=m+T;m>24|Te[1]>>8&65280|Te[2]<<8&16711680|Te[3]<<24)>>>0),Fe+=32;else r(ee,Fe,c,m,T)}function Vi(c,m){jt[m][0]=jt[c+"0"],jt[m][1]=jt[c+"1"],jt[m][2]=jt[c+"2"],jt[m][3]=jt[c+"3"],jt[m][4]=jt[c+"4"],jt[m][5]=jt[c+"5"],jt[m][6]=jt[c+"6"],jt[m][7]=jt[c+"7"],jt[m][8]=jt[c+"8"],jt[m][9]=jt[c+"9"],jt[m][10]=jt[c+"10"],jt[m][11]=jt[c+"11"],jt[m][12]=jt[c+"12"],jt[m][13]=jt[c+"13"],jt[m][14]=jt[c+"0"],jt[m][15]=jt[c+"0"]}function vA(c){return c==fv||c==dv||c==n0||c==hv}function DA(){this.eb=[],this.size=this.A=this.fb=0}function os(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ti(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new DA,this.f.kb=new os,this.sd=null}function uA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function xi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Yf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function vl(c,m){var T=c.T,ee=m.ba.f.RGBA,Fe=ee.eb,Te=ee.fb+c.ka*ee.A,Ve=fc[m.ba.S],tt=c.y,ot=c.O,St=c.f,dn=c.N,qn=c.ea,xt=c.W,wn=m.cc,kn=m.dc,Ir=m.Mc,Xn=m.Nc,Qr=c.ka,Nr=c.ka+c.T,fa=c.U,$r=fa+1>>1;for(Qr==0?Ve(tt,ot,null,null,St,dn,qn,xt,St,dn,qn,xt,Fe,Te,null,null,fa):(Ve(m.ec,m.fc,tt,ot,wn,kn,Ir,Xn,St,dn,qn,xt,Fe,Te-ee.A,Fe,Te,fa),++T);Qr+2T,Fe=T==$g||T==e0||T==t0||T==uv||T==12||vA(T);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!Oh(m.Oa,c,Fe?11:12))return 0;if(Fe&&vA(T)&&Fh(),c.da)alert("todo:use_scaling");else{if(ee){if(m.Ib=Yf,c.Kb){if(T=c.U+1>>1,m.memory=l(c.U+2*T),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+c.U,m.Mc=m.cc,m.Nc=m.dc+T,m.Ib=vl,Fh()}}else alert("todo:EmitYUV");Fe&&(m.Jb=Nu,ee&&Rc())}if(ee&&!Cm){for(c=0;256>c;++c)mp[c]=89858*(c-128)+a0>>r0,Bp[c]=-22014*(c-128)+a0,Cp[c]=-45773*(c-128),pp[c]=113618*(c-128)+a0>>r0;for(c=Kh;c>r0,wp[c-Kh]=cu(m,255),yp[c-Kh]=cu(m+8>>4,15);Cm=1}return 1}function fA(c){var m=c.ma,T=c.U,ee=c.T;return n(!(1&c.ka)),0>=T||0>=ee?0:(T=m.Ib(c,m),m.Jb!=null&&m.Jb(c,m,T),m.Dc+=T,1)}function Mu(c){c.ma.memory=null}function ju(c,m,T,ee){return Gr(c,8)!=47?0:(m[0]=Gr(c,14)+1,T[0]=Gr(c,14)+1,ee[0]=Gr(c,1),Gr(c,3)!=0?0:!c.h)}function ac(c,m){if(4>c)return c+1;var T=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&T)))?T:1;var T}function hs(c,m,T){var ee=Zt(T),Fe=c[m+=255&ee].g-8;return 0>>0,n(8>=T.g),c.g}function rl(c,m,T){var ee=c.xc;return n((m=ee==0?0:c.vc[c.md*(T>>ee)+(m>>ee)])>Fo.b)*Bo;Irfa&&(Po=fa),(0,Dh[li[zs++]>>8&15])(xt,wn+ +ZA,Qr,Nr+ZA-fa,Po-ZA,Qr,Nr+ZA),ZA=Po}wn+=fa,Nr+=fa,++Ir&To||(Fo+=Bo)}qn!=St.nc&&r(ot,tt-kn,ot,tt+(qn-dn-1)*kn,kn);break;case 1:for(kn=xt,Xn=wn,fa=(xt=St.Ea)-(Nr=xt&~(Qr=(wn=1<>St.b)*Ir;dn=Fe),0Te.o&&(ee=Te.o),T=ee?T=0:(Fe[0]+=4*Te.v,Te.ka=T-Te.j,Te.U=Te.va-Te.v,Te.T=ee-T,T=1),T){if(tt=tt[0],11>(T=c.ca).S){var dn=T.f.RGBA,qn=(ee=T.S,Fe=Te.U,Te=Te.T,St=dn.eb,dn.A),xt=Te;for(dn=dn.fb+c.Ma*dn.A;0ee){var Fe=c.l.width,Te=T.ca,Ve=T.tb+Fe*ee,tt=c.V,ot=c.Ba+c.c*ee,St=c.gc;n(c.ab==1),n(St[0].hc==3),hu(St[0],ee,m,tt,ot,Te,Ve),su(T,ee,m,Te,Ve,Fe)}c.C=c.Ma=m}function Oc(c,m,T,ee,Fe,Te,Ve){var tt=c.$/ee,ot=c.$%ee,St=c.m,dn=c.s,qn=T+c.$,xt=qn;Fe=T+ee*Fe;var wn=T+ee*Te,kn=280+dn.ua,Ir=c.Pb?tt:16777216,Xn=0=Ir){var To=qn-T;n((Ir=c).Pb),Ir.wd=Ir.m,Ir.xd=To,0zA.g?(bn($r,$r.u+zA.g),To[Bo]=zA.value,$r=0):(bn($r,$r.u+zA.g-256),n(256<=zA.value),$r=zA.value),$r==0&&(fa=!0)}else $r=hs(Nr.G[0],Nr.H[0],St);if(St.h)break;if(fa||256>$r){if(!fa)if(Nr.nd)m[qn]=(Nr.qb|$r<<8)>>>0;else{if(Vn(St),fa=hs(Nr.G[1],Nr.H[1],St),Vn(St),To=hs(Nr.G[2],Nr.H[2],St),Bo=hs(Nr.G[3],Nr.H[3],St),St.h)break;m[qn]=(Bo<<24|fa<<16|$r<<8|To)>>>0}if(fa=!1,++qn,++ot>=ee&&(ot=0,++tt,Ve!=null&&tt<=Te&&!(tt%16)&&Ve(c,tt),Xn!=null))for(;xt>>Xn.Mb]=$r}else if(280>$r){if($r=ac($r-256,St),To=hs(Nr.G[4],Nr.H[4],St),Vn(St),To=oc(ee,To=ac(To,St)),St.h)break;if(qn-T=ee;)ot-=ee,++tt,Ve!=null&&tt<=Te&&!(tt%16)&&Ve(c,tt);if(n(qn<=Fe),ot&Qr&&(Nr=rl(dn,ot,tt)),Xn!=null)for(;xt>>Xn.Mb]=$r}else{if(!($r>>Xn.Mb]=$r;$r=qn,n(!(fa>>>(To=Xn).Xa)),m[$r]=To.X[fa],fa=!0}fa||n(St.h==un(St))}if(c.Pb&&St.h&&qnTe?Te:tt),c.a=0,c.$=qn-T}return 1}return c.a=3,0}function Ac(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var m=c.Wa;m!=null&&(m.X=null),c.vb=null,n(c!=null)}function _f(){var c=new EA;return c==null?null:(c.a=0,c.xb=dm,Vi("Predictor","VP8LPredictors"),Vi("Predictor","VP8LPredictors_C"),Vi("PredictorAdd","VP8LPredictorsAdd"),Vi("PredictorAdd","VP8LPredictorsAdd_C"),Bs=Ai,Nh=jA,Mh=Cs,bf=gi,Ef=qA,If=_A,ud=as,jt.VP8LMapColor32b=du,jt.VP8LMapColor8b=Uh,c)}function lu(c,m,T,ee,Fe){var Te=1,Ve=[c],tt=[m],ot=ee.m,St=ee.s,dn=null,qn=0;e:for(;;){if(T)for(;Te&&Gr(ot,1);){var xt=Ve,wn=tt,kn=ee,Ir=1,Xn=kn.m,Qr=kn.gc[kn.ab],Nr=Gr(Xn,2);if(kn.Oc&1<=kn.ab),Nr){case 0:case 1:Qr.b=Gr(Xn,3)+2,Ir=lu(ia(Qr.Ea,Qr.b),ia(Qr.nc,Qr.b),0,kn,Qr.K),Qr.K=Qr.K[0];break;case 3:var fa,$r=Gr(Xn,8)+1,To=16<$r?0:4<$r?1:2<$r?2:3;if(xt[0]=ia(Qr.Ea,To),Qr.b=To,fa=Ir=lu($r,1,0,kn,Qr.K)){var Bo,zA=$r,Fo=Qr,li=1<<(8>>Fo.b),zs=l(li);if(zs==null)fa=0;else{var ZA=Fo.K[0],Po=Fo.w;for(zs[0]=Fo.K[0][0],Bo=1;Bo<1*zA;++Bo)zs[Bo]=iA(ZA[Po+Bo],zs[Bo-1]);for(;Bo<4*li;++Bo)zs[Bo]=0;Fo.K[0]=null,Fo.K[0]=zs,fa=1}}Ir=fa;break;case 2:break;default:n(0)}Te=Ir}}if(Ve=Ve[0],tt=tt[0],Te&&Gr(ot,1)&&!(Te=1<=(qn=Gr(ot,4))&&11>=qn)){ee.a=3;break e}var Xa;if(Xa=Te)t:{var ys,NA,di,qi=ee,Al=Ve,Sl=tt,gs=qn,ml=T,xl=qi.m,Zs=qi.s,mi=[null],Ui=1,vs=0,Di=ap[gs];n:for(;;){if(ml&&Gr(xl,1)){var il=Gr(xl,3)+2,Dc=ia(Al,il),bs=ia(Sl,il),jl=Dc*bs;if(!lu(Dc,bs,0,qi,mi))break n;for(mi=mi[0],Zs.xc=il,ys=0;ys>8&65535;mi[ys]=Ki,Ki>=Ui&&(Ui=Ki+1)}}if(xl.h)break n;for(NA=0;5>NA;++NA){var Vs=um[NA];!NA&&0=Fl),Xl=Wl;var Hl=l(vs);if(Xl==null||Hl==null||Vl==null){qi.a=1;break n}var Gl=Vl;for(ys=di=0;ysNA;++NA){Vs=um[NA],Jl[NA]=Gl,Nc[NA]=di,!NA&&0c0)break r}else Bv=c0;for(zh=0;zhVd)Sm[zh++]=Vd,Vd!=0&&(xm=Vd);else{var Lp=Vd==16,Qm=Vd-16,Rp=ep[Qm],Om=Gr(Qf,$m[Qm])+Rp;if(zh+Om>c0)break r;for(var Up=Lp?xm:0;0=NA){var Zh,yv=Hl[0];for(Zh=1;Zhyv&&(yv=Hl[Zh]);sl+=yv}}if(Xi.nd=_u,Xi.Qb=0,_u&&(Xi.qb=(Jl[3][Nc[3]+0].value<<24|Jl[1][Nc[1]+0].value<<16|Jl[2][Nc[2]+0].value)>>>0,dd==0&&256>Jl[0][Nc[0]+0].value&&(Xi.Qb=1,Xi.qb+=Jl[0][Nc[0]+0].value<<8)),Xi.jc=!Xi.Qb&&6>sl,Xi.jc){var u0,$u=Xi;for(u0=0;u0>=el(f0,8,Lf),Of>>=el($u.G[1][$u.H[1]+Of],16,Lf),Of>>=el($u.G[2][$u.H[2]+Of],0,Lf),el($u.G[3][$u.H[3]+Of],24,Lf))}}}Zs.vc=mi,Zs.Wb=Ui,Zs.Ya=Xl,Zs.yc=Vl,Xa=1;break t}Xa=0}if(!(Te=Xa)){ee.a=3;break e}if(0ee+1?[]:0),!(Fe.lengthc?0:c>m?m:c}function Nd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Ng;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,Th||(Th=Md)),c}function Ps(c,m,T){return c.a==0&&(c.a=m,c.sc=T,c.cb=0),0}function Mg(c,m,T){return 3<=T&&c[m+0]==157&&c[m+1]==1&&c[m+2]==42}function uu(c,m){if(c==null)return 0;if(c.a=0,c.sc="OK",m==null)return Ps(c,2,"null VP8Io passed to VP8GetHeaders()");var T=m.data,ee=m.w,Fe=m.ha;if(4>Fe)return Ps(c,7,"Truncated header.");var Te=T[ee+0]|T[ee+1]<<8|T[ee+2]<<16,Ve=c.Od;if(Ve.Rb=!(1&Te),Ve.td=Te>>1&7,Ve.yd=Te>>4&1,Ve.ub=Te>>5,3Fe)return Ps(c,7,"cannot parse picture header");if(!Mg(T,ee,Fe))return Ps(c,3,"Bad code word");tt.c=16383&(T[ee+4]<<8|T[ee+3]),tt.Td=T[ee+4]>>6,tt.i=16383&(T[ee+6]<<8|T[ee+5]),tt.Ud=T[ee+6]>>6,ee+=7,Fe-=7,c.za=tt.c+15>>4,c.Ub=tt.i+15>>4,m.width=tt.c,m.height=tt.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,A((Te=c.Pa).jb,0,255,Te.jb.length),n((Te=c.Qa)!=null),Te.Cb=0,Te.Bb=0,Te.Fb=1,A(Te.Zb,0,0,Te.Zb.length),A(Te.Lb,0,0,Te.Lb)}if(Ve.ub>Fe)return Ps(c,7,"bad partition length");hr(Te=c.m,T,ee,Ve.ub),ee+=Ve.ub,Fe-=Ve.ub,Ve.Rb&&(tt.Ld=Br(Te),tt.Kd=Br(Te)),tt=c.Qa;var ot,St=c.Pa;if(n(Te!=null),n(tt!=null),tt.Cb=Br(Te),tt.Cb){if(tt.Bb=Br(Te),Br(Te)){for(tt.Fb=Br(Te),ot=0;4>ot;++ot)tt.Zb[ot]=Br(Te)?Yn(Te,7):0;for(ot=0;4>ot;++ot)tt.Lb[ot]=Br(Te)?Yn(Te,6):0}if(tt.Bb)for(ot=0;3>ot;++ot)St.jb[ot]=Br(Te)?Cr(Te,8):255}else tt.Bb=0;if(Te.Ka)return Ps(c,3,"cannot parse segment header");if((tt=c.ed).zd=Br(Te),tt.Tb=Cr(Te,6),tt.wb=Cr(Te,3),tt.Pc=Br(Te),tt.Pc&&Br(Te)){for(St=0;4>St;++St)Br(Te)&&(tt.vd[St]=Yn(Te,6));for(St=0;4>St;++St)Br(Te)&&(tt.od[St]=Yn(Te,6))}if(c.L=tt.Tb==0?0:tt.zd?1:2,Te.Ka)return Ps(c,3,"cannot parse filter header");var dn=Fe;if(Fe=ot=ee,ee=ot+dn,tt=dn,c.Xb=(1<tt&&(qn=tt),hr(c.Jc[+dn],T,ot,qn),ot+=qn,tt-=qn,Fe+=3}hr(c.Jc[+St],T,ot,tt),T=otqn;++qn){if(dn.Cb){var xt=dn.Zb[qn];dn.Fb||(xt+=T)}else{if(0>16,8>wn.Eb[1]&&(wn.Eb[1]=8),wn.Qc[0]=gv[cu(xt+St,117)],wn.Qc[1]=vv[cu(xt+ot,127)],wn.lc=xt+ot}if(!Ve.Rb)return Ps(c,4,"Not a key frame.");for(Br(Te),Ve=c.Pa,T=0;4>T;++T){for(Fe=0;8>Fe;++Fe)for(ee=0;3>ee;++ee)for(tt=0;11>tt;++tt)St=jr(Te,cp[T][Fe][ee][tt])?Cr(Te,8):sp[T][Fe][ee][tt],Ve.Wc[T][Fe].Yb[ee][tt]=St;for(Fe=0;17>Fe;++Fe)Ve.Xc[T][Fe]=Ve.Wc[T][up[Fe]]}return c.kc=Br(Te),c.kc&&(c.Bd=Cr(Te,8)),c.cb=1}function Md(c,m,T,ee,Fe,Te,Ve){var tt=m[Fe].Yb[T];for(T=0;16>Fe;++Fe){if(!jr(c,tt[T+0]))return Fe;for(;!jr(c,tt[T+1]);)if(tt=m[++Fe].Yb[0],T=0,Fe==16)return 16;var ot=m[Fe+1].Yb;if(jr(c,tt[T+2])){var St=c,dn=0;if(jr(St,(xt=tt)[(qn=T)+3]))if(jr(St,xt[qn+6])){for(tt=0,qn=2*(dn=jr(St,xt[qn+8]))+(xt=jr(St,xt[qn+9+dn])),dn=0,xt=Ap[qn];xt[tt];++tt)dn+=dn+jr(St,xt[tt]);dn+=3+(8<(St=c).b&&mr(St);var qn,xt=St.b,wn=(qn=St.Ca>>1)-(St.I>>xt)>>31;--St.b,St.Ca+=wn,St.Ca|=1,St.I-=(qn+1&wn)<>3),c[m+T+32*ee]=-256&Fe?0>Fe?0:255:Fe}function Ts(c,m,T,ee,Fe,Te){sc(c,m,0,T,ee+Fe),sc(c,m,1,T,ee+Te),sc(c,m,2,T,ee-Te),sc(c,m,3,T,ee-Fe)}function Hu(c){return(20091*c>>16)+c}function Hg(c,m,T,ee){var Fe,Te=0,Ve=l(16);for(Fe=0;4>Fe;++Fe){var tt=c[m+0]+c[m+8],ot=c[m+0]-c[m+8],St=(35468*c[m+4]>>16)-Hu(c[m+12]),dn=Hu(c[m+4])+(35468*c[m+12]>>16);Ve[Te+0]=tt+dn,Ve[Te+1]=ot+St,Ve[Te+2]=ot-St,Ve[Te+3]=tt-dn,Te+=4,m++}for(Fe=Te=0;4>Fe;++Fe)tt=(c=Ve[Te+0]+4)+Ve[Te+8],ot=c-Ve[Te+8],St=(35468*Ve[Te+4]>>16)-Hu(Ve[Te+12]),sc(T,ee,0,0,tt+(dn=Hu(Ve[Te+4])+(35468*Ve[Te+12]>>16))),sc(T,ee,1,0,ot+St),sc(T,ee,2,0,ot-St),sc(T,ee,3,0,tt-dn),Te++,ee+=32}function Y0(c,m,T,ee){var Fe=c[m+0]+4,Te=35468*c[m+4]>>16,Ve=Hu(c[m+4]),tt=35468*c[m+1]>>16;Ts(T,ee,0,Fe+Ve,c=Hu(c[m+1]),tt),Ts(T,ee,1,Fe+Te,c,tt),Ts(T,ee,2,Fe-Te,c,tt),Ts(T,ee,3,Fe-Ve,c,tt)}function q0(c,m,T,ee,Fe){Hg(c,m,T,ee),Fe&&Hg(c,m+16,T,ee+4)}function fu(c,m,T,ee){fd(c,m+0,T,ee,1),fd(c,m+32,T,ee+128,1)}function Tg(c,m,T,ee){var Fe;for(c=c[m+0]+4,Fe=0;4>Fe;++Fe)for(m=0;4>m;++m)sc(T,ee,m,Fe,c)}function Kg(c,m,T,ee){c[m+0]&&Fi(c,m+0,T,ee),c[m+16]&&Fi(c,m+16,T,ee+4),c[m+32]&&Fi(c,m+32,T,ee+128),c[m+48]&&Fi(c,m+48,T,ee+128+4)}function jd(c,m,T,ee){var Fe,Te=l(16);for(Fe=0;4>Fe;++Fe){var Ve=c[m+0+Fe]+c[m+12+Fe],tt=c[m+4+Fe]+c[m+8+Fe],ot=c[m+4+Fe]-c[m+8+Fe],St=c[m+0+Fe]-c[m+12+Fe];Te[0+Fe]=Ve+tt,Te[8+Fe]=Ve-tt,Te[4+Fe]=St+ot,Te[12+Fe]=St-ot}for(Fe=0;4>Fe;++Fe)Ve=(c=Te[0+4*Fe]+3)+Te[3+4*Fe],tt=Te[1+4*Fe]+Te[2+4*Fe],ot=Te[1+4*Fe]-Te[2+4*Fe],St=c-Te[3+4*Fe],T[ee+0]=Ve+tt>>3,T[ee+16]=St+ot>>3,T[ee+32]=Ve-tt>>3,T[ee+48]=St-ot>>3,ee+=64}function ed(c,m,T){var ee,Fe=m-32,Te=Zl,Ve=255-c[Fe-1];for(ee=0;eeT;++T)r(c,m+32*T,c,m-32,16)}function kg(c,m){var T;for(T=16;0ee;++ee)A(m,T+32*ee,c,16)}function tv(c,m){var T,ee=16;for(T=0;16>T;++T)ee+=c[m-1+32*T]+c[m+T-32];Lc(ee>>5,c,m)}function td(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m-1+32*T];Lc(ee>>4,c,m)}function wh(c,m){var T,ee=8;for(T=0;16>T;++T)ee+=c[m+T-32];Lc(ee>>4,c,m)}function nv(c,m){Lc(128,c,m)}function FA(c,m,T){return c+2*m+T+2>>2}function rv(c,m){var T,ee=m-32;for(ee=new Uint8Array([FA(c[ee-1],c[ee+0],c[ee+1]),FA(c[ee+0],c[ee+1],c[ee+2]),FA(c[ee+1],c[ee+2],c[ee+3]),FA(c[ee+2],c[ee+3],c[ee+4])]),T=0;4>T;++T)r(c,m+32*T,ee,0,ee.length)}function av(c,m){var T=c[m-1],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1+96];ma(c,m+0,16843009*FA(c[m-1-32],T,ee)),ma(c,m+32,16843009*FA(T,ee,Fe)),ma(c,m+64,16843009*FA(ee,Fe,Te)),ma(c,m+96,16843009*FA(Fe,Te,Te))}function ov(c,m){var T,ee=4;for(T=0;4>T;++T)ee+=c[m+T-32]+c[m-1+32*T];for(ee>>=3,T=0;4>T;++T)A(c,m+32*T,ee,4)}function Tu(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1-32],Ve=c[m+0-32],tt=c[m+1-32],ot=c[m+2-32],St=c[m+3-32];c[m+0+96]=FA(ee,Fe,c[m-1+96]),c[m+1+96]=c[m+0+64]=FA(T,ee,Fe),c[m+2+96]=c[m+1+64]=c[m+0+32]=FA(Te,T,ee),c[m+3+96]=c[m+2+64]=c[m+1+32]=c[m+0+0]=FA(Ve,Te,T),c[m+3+64]=c[m+2+32]=c[m+1+0]=FA(tt,Ve,Te),c[m+3+32]=c[m+2+0]=FA(ot,tt,Ve),c[m+3+0]=FA(St,ot,tt)}function Ku(c,m){var T=c[m+1-32],ee=c[m+2-32],Fe=c[m+3-32],Te=c[m+4-32],Ve=c[m+5-32],tt=c[m+6-32],ot=c[m+7-32];c[m+0+0]=FA(c[m+0-32],T,ee),c[m+1+0]=c[m+0+32]=FA(T,ee,Fe),c[m+2+0]=c[m+1+32]=c[m+0+64]=FA(ee,Fe,Te),c[m+3+0]=c[m+2+32]=c[m+1+64]=c[m+0+96]=FA(Fe,Te,Ve),c[m+3+32]=c[m+2+64]=c[m+1+96]=FA(Te,Ve,tt),c[m+3+64]=c[m+2+96]=FA(Ve,tt,ot),c[m+3+96]=FA(tt,ot,ot)}function Av(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1-32],Ve=c[m+0-32],tt=c[m+1-32],ot=c[m+2-32],St=c[m+3-32];c[m+0+0]=c[m+1+64]=Te+Ve+1>>1,c[m+1+0]=c[m+2+64]=Ve+tt+1>>1,c[m+2+0]=c[m+3+64]=tt+ot+1>>1,c[m+3+0]=ot+St+1>>1,c[m+0+96]=FA(Fe,ee,T),c[m+0+64]=FA(ee,T,Te),c[m+0+32]=c[m+1+96]=FA(T,Te,Ve),c[m+1+32]=c[m+2+96]=FA(Te,Ve,tt),c[m+2+32]=c[m+3+96]=FA(Ve,tt,ot),c[m+3+32]=FA(tt,ot,St)}function iv(c,m){var T=c[m+0-32],ee=c[m+1-32],Fe=c[m+2-32],Te=c[m+3-32],Ve=c[m+4-32],tt=c[m+5-32],ot=c[m+6-32],St=c[m+7-32];c[m+0+0]=T+ee+1>>1,c[m+1+0]=c[m+0+64]=ee+Fe+1>>1,c[m+2+0]=c[m+1+64]=Fe+Te+1>>1,c[m+3+0]=c[m+2+64]=Te+Ve+1>>1,c[m+0+32]=FA(T,ee,Fe),c[m+1+32]=c[m+0+96]=FA(ee,Fe,Te),c[m+2+32]=c[m+1+96]=FA(Fe,Te,Ve),c[m+3+32]=c[m+2+96]=FA(Te,Ve,tt),c[m+3+64]=FA(Ve,tt,ot),c[m+3+96]=FA(tt,ot,St)}function Hd(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1+96];c[m+0+0]=T+ee+1>>1,c[m+2+0]=c[m+0+32]=ee+Fe+1>>1,c[m+2+32]=c[m+0+64]=Fe+Te+1>>1,c[m+1+0]=FA(T,ee,Fe),c[m+3+0]=c[m+1+32]=FA(ee,Fe,Te),c[m+3+32]=c[m+1+64]=FA(Fe,Te,Te),c[m+3+64]=c[m+2+64]=c[m+0+96]=c[m+1+96]=c[m+2+96]=c[m+3+96]=Te}function yh(c,m){var T=c[m-1+0],ee=c[m-1+32],Fe=c[m-1+64],Te=c[m-1+96],Ve=c[m-1-32],tt=c[m+0-32],ot=c[m+1-32],St=c[m+2-32];c[m+0+0]=c[m+2+32]=T+Ve+1>>1,c[m+0+32]=c[m+2+64]=ee+T+1>>1,c[m+0+64]=c[m+2+96]=Fe+ee+1>>1,c[m+0+96]=Te+Fe+1>>1,c[m+3+0]=FA(tt,ot,St),c[m+2+0]=FA(Ve,tt,ot),c[m+1+0]=c[m+3+32]=FA(T,Ve,tt),c[m+1+32]=c[m+3+64]=FA(ee,T,Ve),c[m+1+64]=c[m+3+96]=FA(Fe,ee,T),c[m+1+96]=FA(Te,Fe,ee)}function nd(c,m){var T;for(T=0;8>T;++T)r(c,m+32*T,c,m-32,8)}function sv(c,m){var T;for(T=0;8>T;++T)A(c,m,c[m-1],8),m+=32}function ku(c,m,T){var ee;for(ee=0;8>ee;++ee)A(m,T+32*ee,c,8)}function lv(c,m){var T,ee=8;for(T=0;8>T;++T)ee+=c[m+T-32]+c[m-1+32*T];ku(ee>>4,c,m)}function bh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m+T-32];ku(ee>>3,c,m)}function Eh(c,m){var T,ee=4;for(T=0;8>T;++T)ee+=c[m-1+32*T];ku(ee>>3,c,m)}function zg(c,m){ku(128,c,m)}function zu(c,m,T){var ee=c[m-T],Fe=c[m+0],Te=3*(Fe-ee)+cv[1020+c[m-2*T]-c[m+T]],Ve=qg[112+(Te+4>>3)];c[m-T]=Zl[255+ee+qg[112+(Te+3>>3)]],c[m+0]=Zl[255+Fe-Ve]}function Ih(c,m,T,ee){var Fe=c[m+0],Te=c[m+T];return uc[255+c[m-2*T]-c[m-T]]>ee||uc[255+Te-Fe]>ee}function Td(c,m,T,ee){return 4*uc[255+c[m-T]-c[m+0]]+uc[255+c[m-2*T]-c[m+T]]<=ee}function Sh(c,m,T,ee,Fe){var Te=c[m-3*T],Ve=c[m-2*T],tt=c[m-T],ot=c[m+0],St=c[m+T],dn=c[m+2*T],qn=c[m+3*T];return 4*uc[255+tt-ot]+uc[255+Ve-St]>ee?0:uc[255+c[m-4*T]-Te]<=Fe&&uc[255+Te-Ve]<=Fe&&uc[255+Ve-tt]<=Fe&&uc[255+qn-dn]<=Fe&&uc[255+dn-St]<=Fe&&uc[255+St-ot]<=Fe}function rd(c,m,T,ee){var Fe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee,T,Fe)&&zu(c,m+ee,T)}function xh(c,m,T,ee){var Fe=2*ee+1;for(ee=0;16>ee;++ee)Td(c,m+ee*T,1,Fe)&&zu(c,m+ee*T,1)}function Zg(c,m,T,ee){var Fe;for(Fe=3;0>7,Qr=18*Nr+63>>7,Nr=9*Nr+63>>7;ot[St-3*dn]=Zl[255+ot[St-3*dn]+Nr],ot[St-2*dn]=Zl[255+qn+Qr],ot[St-dn]=Zl[255+xt+Xn],ot[St+0]=Zl[255+wn-Xn],ot[St+dn]=Zl[255+kn-Qr],ot[St+2*dn]=Zl[255+Ir-Nr]}m+=ee}}function Vu(c,m,T,ee,Fe,Te,Ve,tt){for(Te=2*Te+1;0>3)],Ir=qg[112+(Ir+3>>3)],Xn=kn+1>>1;ot[St-2*dn]=Zl[255+ot[St-2*dn]+Xn],ot[St-dn]=Zl[255+qn+Ir],ot[St+0]=Zl[255+xt-kn],ot[St+dn]=Zl[255+wn-Xn]}m+=ee}}function Wg(c,m,T,ee,Fe,Te){Zu(c,m,T,1,16,ee,Fe,Te)}function ad(c,m,T,ee,Fe,Te){Zu(c,m,1,T,16,ee,Fe,Te)}function Xg(c,m,T,ee,Fe,Te){var Ve;for(Ve=3;0St?0:255:St)&255,St=ot,Fe[Te+tt]=dn}}function Wi(c,m,T,ee){var Fe=m.width,Te=m.o;if(n(c!=null&&m!=null),0>T||0>=ee||T+ee>Te)return null;if(!c.Cc){if(c.ga==null){var Ve;if(c.ga=new HA,(Ve=c.ga==null)||(Ve=m.width*m.o,n(c.Gb.length==0),c.Gb=l(Ve),c.Uc=0,c.Gb==null?Ve=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Ve=1),Ve=!Ve),!Ve){Ve=c.ga;var tt=c.Fa,ot=c.P,St=c.qc,dn=c.mb,qn=c.nb,xt=ot+1,wn=St-1,kn=Ve.l;if(n(tt!=null&&dn!=null&&m!=null),Ff[0]=null,Ff[1]=vi,Ff[2]=ls,Ff[3]=Qs,Ve.ca=dn,Ve.tb=qn,Ve.c=m.width,Ve.i=m.height,n(0=St)m=0;else if(Ve.$a=3&tt[ot+0],Ve.Z=tt[ot+0]>>2&3,Ve.Lc=tt[ot+0]>>4&3,ot=tt[ot+0]>>6&3,0>Ve.$a||1=Ve.c*Ve.i;Ve=!m}if(Ve)return null;c.ga.Lc!=1?c.Ga=0:ee=Te-T}n(c.ga!=null),n(T+ee<=Te);e:{if(m=(tt=c.ga).c,Te=tt.l.o,tt.$a==0){if(xt=c.rc,wn=c.Vc,kn=c.Fa,ot=c.P+1+T*m,St=c.mb,dn=c.nb+T*m,n(ot<=c.P+c.qc),tt.Z!=0)for(n(Ff[tt.Z]!=null),Ve=0;Ve=m)m=1;else if(tt.ic||Rc(),tt.ic){tt=Ve.V,xt=Ve.Ba,wn=Ve.c;var Ir=Ve.i,Xn=(kn=1,ot=Ve.$/wn,St=Ve.$%wn,dn=Ve.m,qn=Ve.s,Ve.$),Qr=wn*Ir,Nr=wn*m,fa=qn.wc,$r=Xn(Ir=hs($r.G[0],$r.H[0],dn)))tt[xt+Xn]=Ir,++Xn,++St>=wn&&(St=0,++ot<=m&&!(ot%16)&&Qc(Ve,ot));else{if(!(280>Ir)){kn=0;break t}Ir=ac(Ir-256,dn);var To,Bo=hs($r.G[4],$r.H[4],dn);if(Vn(dn),!(Xn>=(Bo=oc(wn,Bo=ac(Bo,dn)))&&Qr-Xn>=Ir)){kn=0;break t}for(To=0;To=wn;)St-=wn,++ot<=m&&!(ot%16)&&Qc(Ve,ot);Xnm?m:ot);break t}!kn||dn.h&&Xn=Te&&(c.Cc=1),ee=1}if(!ee)return null;if(c.Cc&&((ee=c.ga)!=null&&(ee.mc=null),c.ga=null,0>23,tt[ot+4*Ve+1]=tt[ot+4*Ve+1]*qn>>23,tt[ot+4*Ve+2]=tt[ot+4*Ve+2]*qn>>23)}m+=Te}}function Os(c,m,T,ee,Fe){for(;0>4)*ot>>16;c[m+2*Te+0]=(240&Ve|Ve>>4)*ot>>16&240|(15&Ve|Ve<<4)*ot>>16>>4&15,c[m+2*Te+1]=240&St|tt}m+=Fe}}function al(c,m,T,ee,Fe,Te,Ve,tt){var ot,St,dn=255;for(St=0;St>8}function Rc(){Hh=Ks,tm=Os,nm=al,rm=Wu}function Xu(c,m,T){jt[c]=function(ee,Fe,Te,Ve,tt,ot,St,dn,qn,xt,wn,kn,Ir,Xn,Qr,Nr,fa){var $r,To=fa-1>>1,Bo=tt[ot+0]|St[dn+0]<<16,zA=qn[xt+0]|wn[kn+0]<<16;n(ee!=null);var Fo=3*Bo+zA+131074>>2;for(m(ee[Fe+0],255&Fo,Fo>>16,Ir,Xn),Te!=null&&(Fo=3*zA+Bo+131074>>2,m(Te[Ve+0],255&Fo,Fo>>16,Qr,Nr)),$r=1;$r<=To;++$r){var li=tt[ot+$r]|St[dn+$r]<<16,zs=qn[xt+$r]|wn[kn+$r]<<16,ZA=Bo+li+zA+zs+524296,Po=ZA+2*(li+zA)>>3;Fo=Po+Bo>>1,Bo=(ZA=ZA+2*(Bo+zs)>>3)+li>>1,m(ee[Fe+2*$r-1],255&Fo,Fo>>16,Ir,Xn+(2*$r-1)*T),m(ee[Fe+2*$r-0],255&Bo,Bo>>16,Ir,Xn+(2*$r-0)*T),Te!=null&&(Fo=ZA+zA>>1,Bo=Po+zs>>1,m(Te[Ve+2*$r-1],255&Fo,Fo>>16,Qr,Nr+(2*$r-1)*T),m(Te[Ve+2*$r+0],255&Bo,Bo>>16,Qr,Nr+(2*$r+0)*T)),Bo=li,zA=zs}1&fa||(Fo=3*Bo+zA+131074>>2,m(ee[Fe+fa-1],255&Fo,Fo>>16,Ir,Xn+(fa-1)*T),Te!=null&&(Fo=3*zA+Bo+131074>>2,m(Te[Ve+fa-1],255&Fo,Fo>>16,Qr,Nr+(fa-1)*T)))}}function Fh(){fc[_g]=dp,fc[$g]=hm,fc[lm]=hp,fc[e0]=gm,fc[t0]=vm,fc[uv]=mm,fc[cm]=gp,fc[fv]=hm,fc[dv]=gm,fc[n0]=vm,fc[hv]=mm}function Kd(c){return c&~vp?0>c?0:255:c>>pm}function pf(c,m){return Kd((19077*c>>8)+(26149*m>>8)-14234)}function od(c,m,T){return Kd((19077*c>>8)-(6419*m>>8)-(13320*T>>8)+8708)}function Ad(c,m){return Kd((19077*c>>8)+(33050*m>>8)-17685)}function Cf(c,m,T,ee,Fe){ee[Fe+0]=pf(c,T),ee[Fe+1]=od(c,m,T),ee[Fe+2]=Ad(c,m)}function ol(c,m,T,ee,Fe){ee[Fe+0]=Ad(c,m),ee[Fe+1]=od(c,m,T),ee[Fe+2]=pf(c,T)}function id(c,m,T,ee,Fe){var Te=od(c,m,T);m=Te<<3&224|Ad(c,m)>>3,ee[Fe+0]=248&pf(c,T)|Te>>5,ee[Fe+1]=m}function sd(c,m,T,ee,Fe){var Te=240&Ad(c,m)|15;ee[Fe+0]=240&pf(c,T)|od(c,m,T)>>4,ee[Fe+1]=Te}function Ph(c,m,T,ee,Fe){ee[Fe+0]=255,Cf(c,m,T,ee,Fe+1)}function Qh(c,m,T,ee,Fe){ol(c,m,T,ee,Fe),ee[Fe+3]=255}function Il(c,m,T,ee,Fe){Cf(c,m,T,ee,Fe),ee[Fe+3]=255}function Gu(c,m,T){jt[c]=function(ee,Fe,Te,Ve,tt,ot,St,dn,qn){for(var xt=dn+(-2&qn)*T;dn!=xt;)m(ee[Fe+0],Te[Ve+0],tt[ot+0],St,dn),m(ee[Fe+1],Te[Ve+0],tt[ot+0],St,dn+T),Fe+=2,++Ve,++ot,dn+=2*T;1&qn&&m(ee[Fe+0],Te[Ve+0],tt[ot+0],St,dn)}}function kd(c,m,T){return T==0?c==0?m==0?6:5:m==0?4:0:T}function Gg(c,m,T,ee,Fe){switch(c>>>30){case 3:fd(m,T,ee,Fe,0);break;case 2:cc(m,T,ee,Fe);break;case 1:Fi(m,T,ee,Fe)}}function lc(c,m){var T,ee,Fe=m.M,Te=m.Nb,Ve=c.oc,tt=c.pc+40,ot=c.oc,St=c.pc+584,dn=c.oc,qn=c.pc+600;for(T=0;16>T;++T)Ve[tt+32*T-1]=129;for(T=0;8>T;++T)ot[St+32*T-1]=129,dn[qn+32*T-1]=129;for(0T;++T)r(Ve,tt+32*T-4,Ve,tt+32*T+12,4);for(T=-1;8>T;++T)r(ot,St+32*T-4,ot,St+32*T+4,4),r(dn,qn+32*T-4,dn,qn+32*T+4,4)}var wn=c.Gd,kn=c.Hd+ee,Ir=xt.ad,Xn=xt.Hc;if(0=c.za-1?A(Qr,Nr,wn[kn].y[15],4):r(Qr,Nr,wn[kn+1].y,0,4)),T=0;4>T;T++)Qr[Nr+128+T]=Qr[Nr+256+T]=Qr[Nr+384+T]=Qr[Nr+0+T];for(T=0;16>T;++T,Xn<<=2)Qr=Ve,Nr=tt+Bm[T],Uc[xt.Ob[T]](Qr,Nr),Gg(Xn,Ir,16*+T,Qr,Nr)}else if(Qr=kd(ee,Fe,xt.Ob[0]),xf[Qr](Ve,tt),Xn!=0)for(T=0;16>T;++T,Xn<<=2)Gg(Xn,Ir,16*+T,Ve,tt+Bm[T]);for(T=xt.Gc,Qr=kd(ee,Fe,xt.Dd),qu[Qr](ot,St),qu[Qr](dn,qn),Xn=Ir,Qr=ot,Nr=St,255&(xt=0|T)&&(170&xt?gu(Xn,256,Qr,Nr):Ti(Xn,256,Qr,Nr)),xt=dn,Xn=qn,255&(T>>=8)&&(170&T?gu(Ir,320,xt,Xn):Ti(Ir,320,xt,Xn)),FeT;++T)r(wn,kn+T*c.R,Ve,tt+32*T,16);for(T=0;8>T;++T)r(Ir,xt+T*c.B,ot,St+32*T,8),r(Xn,Qr+T*c.B,dn,qn+32*T,8)}}function ld(c,m,T,ee,Fe,Te,Ve,tt,ot){var St=[0],dn=[0],qn=0,xt=ot!=null?ot.kd:0,wn=ot!=null?ot:new _r;if(c==null||12>T)return 7;wn.data=c,wn.w=m,wn.ha=T,m=[m],T=[T],wn.gb=[wn.gb];e:{var kn=m,Ir=T,Xn=wn.gb;if(n(c!=null),n(Ir!=null),n(Xn!=null),Xn[0]=0,12<=Ir[0]&&!t(c,kn[0],"RIFF")){if(t(c,kn[0]+8,"WEBP")){Xn=3;break e}var Qr=Xo(c,kn[0]+4);if(12>Qr||4294967286Ir[0]-8){Xn=7;break e}Xn[0]=Qr,kn[0]+=12,Ir[0]-=12}Xn=0}if(Xn!=0)return Xn;for(Qr=0Xn[0])Xn=7;else{if(!t(Nr,Ir[0],"VP8X")){if(Xo(Nr,Ir[0]+4)!=10){Xn=3;break e}if(18>Xn[0]){Xn=7;break e}var Bo=Xo(Nr,Ir[0]+8),zA=1+to(Nr,Ir[0]+12);if(2147483648<=zA*(Nr=1+to(Nr,Ir[0]+15))){Xn=3;break e}To!=null&&(To[0]=Bo),fa!=null&&(fa[0]=zA),$r!=null&&($r[0]=Nr),Ir[0]+=18,Xn[0]-=18,Fo[0]=1}Xn=0}}if(qn=qn[0],kn=kn[0],Xn!=0)return Xn;if(Ir=!!(2&kn),!Qr&&qn)return 3;if(Te!=null&&(Te[0]=!!(16&kn)),Ve!=null&&(Ve[0]=Ir),tt!=null&&(tt[0]=0),Ve=St[0],kn=dn[0],qn&&Ir&&ot==null){Xn=0;break}if(4>T){Xn=7;break}if(Qr&&qn||!Qr&&!qn&&!t(c,m[0],"ALPH")){T=[T],wn.na=[wn.na],wn.P=[wn.P],wn.Sa=[wn.Sa];e:{Bo=c,Xn=m,Qr=T;var Fo=wn.gb;fa=wn.na,$r=wn.P,To=wn.Sa,zA=22,n(Bo!=null),n(Qr!=null),Nr=Xn[0];var li=Qr[0];for(n(fa!=null),n(To!=null),fa[0]=null,$r[0]=null,To[0]=0;;){if(Xn[0]=Nr,Qr[0]=li,8>li){Xn=7;break e}var zs=Xo(Bo,Nr+4);if(4294967286Fo){Xn=3;break e}if(!t(Bo,Nr,"VP8 ")||!t(Bo,Nr,"VP8L")){Xn=0;break e}if(li[0]Qr[0])Xn=7;else{if(Nr||zA){if(Fo=Xo(Fo,Bo+4),12<=fa&&Fo>fa-12){Xn=3;break e}if(xt&&Fo>Qr[0]-8){Xn=7;break e}$r[0]=Fo,Xn[0]+=8,Qr[0]-=8,To[0]=zA}else To[0]=5<=Qr[0]&&Fo[Bo+0]==47&&!(Fo[Bo+4]>>5),$r[0]=Qr[0];Xn=0}if(T=T[0],wn.Ja=wn.Ja[0],wn.xa=wn.xa[0],m=m[0],Xn!=0)break;if(4294967286T){Xn=7;break}tt=Ve,xt=kn,Ir=Te,c==null||5>T?c=0:5<=T&&c[m+0]==47&&!(c[m+4]>>5)?(Qr=[0],Fo=[0],fa=[0],wr($r=new Rt,c,m,T),ju($r,Qr,Fo,fa)?(tt!=null&&(tt[0]=Qr[0]),xt!=null&&(xt[0]=Fo[0]),Ir!=null&&(Ir[0]=fa[0]),c=1):c=0):c=0}else{if(10>T){Xn=7;break}tt=kn,c==null||10>T||!Mg(c,m+3,T-3)?c=0:(xt=c[m+0]|c[m+1]<<8|c[m+2]<<16,Ir=16383&(c[m+7]<<8|c[m+6]),c=16383&(c[m+9]<<8|c[m+8]),1&xt||3<(xt>>1&7)||!(xt>>4&1)||xt>>5>=wn.Ja||!Ir||!c?c=0:(Ve&&(Ve[0]=Ir),tt&&(tt[0]=c),c=1))}if(!c||(Ve=Ve[0],kn=kn[0],qn&&(St[0]!=Ve||dn[0]!=kn)))return 3;ot!=null&&(ot[0]=wn,ot.offset=m-ot.w,n(4294967286>m-ot.w),n(ot.offset==ot.ha-T));break}return Xn==0||Xn==7&&qn&&ot==null?(Te!=null&&(Te[0]|=wn.na!=null&&0T||(Te&=-2,Ve&=-2),0>Te||0>Ve||0>=tt||0>=ot||Te+tt>ee||Ve+ot>Fe))return 0;if(m.v=Te,m.j=Ve,m.va=Te+tt,m.o=Ve+ot,m.U=tt,m.T=ot,m.da=c!=null&&0c.S){var m=c.f.RGBA;m.fb+=(c.height-1)*m.A,m.A=-m.A}else m=c.f.kb,c=c.height,m.O+=(c-1)*m.fa,m.fa=-m.fa,m.N+=(c-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(c-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(c-1)*m.lb,m.lb=-m.lb);return 0}function Bf(c,m,T,ee){if(ee==null||0>=c||0>=m)return 2;if(T!=null){if(T.Da){var Fe=T.cd,Te=T.bd,Ve=-2&T.v,tt=-2&T.j;if(0>Ve||0>tt||0>=Fe||0>=Te||Ve+Fe>c||tt+Te>m)return 2;c=Fe,m=Te}if(T.da){if(!AA(c,m,Fe=[T.ib],Te=[T.hb]))return 2;c=Fe[0],m=Te[0]}}ee.width=c,ee.height=m;e:{var ot=ee.width,St=ee.height;if(c=ee.S,0>=ot||0>=St||!(c>=_g&&13>c))c=2;else{if(0>=ee.Rd&&ee.sd==null){Ve=Te=Fe=m=0;var dn=(tt=ot*wm[c])*St;if(11>c||(Te=(St+1)/2*(m=(ot+1)/2),c==12&&(Ve=(Fe=ot)*St)),(St=l(dn+2*Te+Ve))==null){c=1;break e}ee.sd=St,11>c?((ot=ee.f.RGBA).eb=St,ot.fb=0,ot.A=tt,ot.size=dn):((ot=ee.f.kb).y=St,ot.O=0,ot.fa=tt,ot.Fd=dn,ot.f=St,ot.N=0+dn,ot.Ab=m,ot.Cd=Te,ot.ea=St,ot.W=0+dn+Te,ot.Db=m,ot.Ed=Te,c==12&&(ot.F=St,ot.J=0+dn+2*Te),ot.Tc=Ve,ot.lb=Fe)}if(m=1,Fe=ee.S,Te=ee.width,Ve=ee.height,Fe>=_g&&13>Fe)if(11>Fe)c=ee.f.RGBA,m&=(tt=Math.abs(c.A))*(Ve-1)+Te<=c.size,m&=tt>=Te*wm[Fe],m&=c.eb!=null;else{c=ee.f.kb,tt=(Te+1)/2,dn=(Ve+1)/2,ot=Math.abs(c.fa),St=Math.abs(c.Ab);var qn=Math.abs(c.Db),xt=Math.abs(c.lb),wn=xt*(Ve-1)+Te;m&=ot*(Ve-1)+Te<=c.Fd,m&=St*(dn-1)+tt<=c.Cd,m=(m&=qn*(dn-1)+tt<=c.Ed)&ot>=Te&St>=tt&qn>=tt,m&=c.y!=null,m&=c.f!=null,m&=c.ea!=null,Fe==12&&(m&=xt>=Te,m&=wn<=c.Tc,m&=c.F!=null)}else m=0;c=m?0:2}}return c!=0||T!=null&&T.fd&&(c=Lh(ee)),c}var cd=64,kl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],zl=24,wf=32,Ju=8,yf=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];wo("Predictor0","PredictorAdd0"),jt.Predictor0=function(){return 4278190080},jt.Predictor1=function(c){return c},jt.Predictor2=function(c,m,T){return m[T+0]},jt.Predictor3=function(c,m,T){return m[T+1]},jt.Predictor4=function(c,m,T){return m[T-1]},jt.Predictor5=function(c,m,T){return Yo(Yo(c,m[T+1]),m[T+0])},jt.Predictor6=function(c,m,T){return Yo(c,m[T-1])},jt.Predictor7=function(c,m,T){return Yo(c,m[T+0])},jt.Predictor8=function(c,m,T){return Yo(m[T-1],m[T+0])},jt.Predictor9=function(c,m,T){return Yo(m[T+0],m[T+1])},jt.Predictor10=function(c,m,T){return Yo(Yo(c,m[T-1]),Yo(m[T+0],m[T+1]))},jt.Predictor11=function(c,m,T){var ee=m[T+0];return 0>=UA(ee>>24&255,c>>24&255,(m=m[T-1])>>24&255)+UA(ee>>16&255,c>>16&255,m>>16&255)+UA(ee>>8&255,c>>8&255,m>>8&255)+UA(255&ee,255&c,255&m)?ee:c},jt.Predictor12=function(c,m,T){var ee=m[T+0];return(Si((c>>24&255)+(ee>>24&255)-((m=m[T-1])>>24&255))<<24|Si((c>>16&255)+(ee>>16&255)-(m>>16&255))<<16|Si((c>>8&255)+(ee>>8&255)-(m>>8&255))<<8|Si((255&c)+(255&ee)-(255&m)))>>>0},jt.Predictor13=function(c,m,T){var ee=m[T-1];return(oi((c=Yo(c,m[T+0]))>>24&255,ee>>24&255)<<24|oi(c>>16&255,ee>>16&255)<<16|oi(c>>8&255,ee>>8&255)<<8|oi(255&c,255&ee))>>>0};var Rh=jt.PredictorAdd0;jt.PredictorAdd1=si,wo("Predictor2","PredictorAdd2"),wo("Predictor3","PredictorAdd3"),wo("Predictor4","PredictorAdd4"),wo("Predictor5","PredictorAdd5"),wo("Predictor6","PredictorAdd6"),wo("Predictor7","PredictorAdd7"),wo("Predictor8","PredictorAdd8"),wo("Predictor9","PredictorAdd9"),wo("Predictor10","PredictorAdd10"),wo("Predictor11","PredictorAdd11"),wo("Predictor12","PredictorAdd12"),wo("Predictor13","PredictorAdd13");var zd=jt.PredictorAdd2;Zo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),Zo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var Bs,Jg=jt.ColorIndexInverseTransform,du=jt.MapARGB,hu=jt.VP8LColorIndexInverseTransformAlpha,Uh=jt.MapAlpha,Dh=jt.VP8LPredictorsAdd=[];Dh.length=16,(jt.VP8LPredictors=[]).length=16,(jt.VP8LPredictorsAdd_C=[]).length=16,(jt.VP8LPredictors_C=[]).length=16;var Nh,Mh,bf,Ef,If,ud,Sf,fd,cc,gu,Fi,Ti,ws,ks,Yu,jh,Zd,Yg,Jv,Yv,qv,_v,$v,em,Hh,tm,nm,rm,am=l(511),om=l(2041),Am=l(225),im=l(767),sm=0,cv=om,qg=Am,Zl=im,uc=am,_g=0,$g=1,lm=2,e0=3,t0=4,uv=5,cm=6,fv=7,dv=8,n0=9,hv=10,$m=[2,3,7],ep=[3,3,11],um=[280,256,256,256,40],tp=[0,1,1,1,0],np=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ap=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],op=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Th=null,Ap=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ip=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sp=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lp=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cp=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],up=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],xf=[],Uc=[],qu=[],fp=1,dm=2,Ff=[],fc=[];Xu("UpsampleRgbLinePair",Cf,3),Xu("UpsampleBgrLinePair",ol,3),Xu("UpsampleRgbaLinePair",Il,4),Xu("UpsampleBgraLinePair",Qh,4),Xu("UpsampleArgbLinePair",Ph,4),Xu("UpsampleRgba4444LinePair",sd,2),Xu("UpsampleRgb565LinePair",id,2);var dp=jt.UpsampleRgbLinePair,hp=jt.UpsampleBgrLinePair,hm=jt.UpsampleRgbaLinePair,gm=jt.UpsampleBgraLinePair,vm=jt.UpsampleArgbLinePair,mm=jt.UpsampleRgba4444LinePair,gp=jt.UpsampleRgb565LinePair,r0=16,a0=1<ee.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ee.ca.f.kb.F!=null&&Rc()),ee.Pb&&0(ot=T.Md)?0:100St;++St)12>(qn=Fe.pb[St]).lc&&(qn.ia=ot*bp[0>qn.lc?0:qn.lc]>>3),dn|=qn.ia;dn&&(alert("todo:VP8InitRandom"),Fe.ia=1)}Fe.Ga=T.Id,100Fe.Ga&&(Fe.Ga=0)}(function(xt,wn){if(xt==null)return 0;if(wn==null)return Ps(xt,2,"NULL VP8Io parameter in VP8Decode().");if(!xt.cb&&!uu(xt,wn))return 0;if(n(xt.cb),wn.ac==null||wn.ac(wn)){wn.ob&&(xt.L=0);var kn=o0[xt.L];if(xt.L==2?(xt.yb=0,xt.zb=0):(xt.yb=wn.v-kn>>4,xt.zb=wn.j-kn>>4,0>xt.yb&&(xt.yb=0),0>xt.zb&&(xt.zb=0)),xt.Va=wn.o+15+kn>>4,xt.Hb=wn.va+15+kn>>4,xt.Hb>xt.za&&(xt.Hb=xt.za),xt.Va>xt.Ub&&(xt.Va=xt.Ub),0kn;++kn){var Xn;if(xt.Qa.Cb){var Qr=xt.Qa.Lb[kn];xt.Qa.Fb||(Qr+=Ir.Tb)}else Qr=Ir.Tb;for(Xn=0;1>=Xn;++Xn){var Nr=xt.gd[kn][Xn],fa=Qr;if(Ir.Pc&&(fa+=Ir.vd[0],Xn&&(fa+=Ir.od[0])),0<(fa=0>fa?0:63>2:$r>>1)>9-Ir.wb&&($r=9-Ir.wb),1>$r&&($r=1),Nr.dd=$r,Nr.tc=2*fa+$r,Nr.ld=40<=fa?2:15<=fa?1:0}else Nr.tc=0;Nr.La=Xn}}}kn=0}else Ps(xt,6,"Frame setup failed"),kn=xt.a;if(kn=kn==0){if(kn){xt.$c=0,0xt.Vb){if(xt.Vb=0,xt.Ec=l(Nr),xt.Fc=0,xt.Ec==null){kn=Ps(xt,1,"no memory during frame initialization.");break t}xt.Vb=Nr}Nr=xt.Ec,fa=xt.Fc,xt.Ac=Nr,xt.Bc=fa,fa+=Ir,xt.Gd=I(To,Dg),xt.Hd=0,xt.rb=I(Bo+1,ph),xt.sb=1,xt.wa=zA?I(zA,ic):null,xt.Y=0,xt.D.Nb=0,xt.D.wa=xt.wa,xt.D.Y=xt.Y,0=kn;++kn)am[255+kn]=0>kn?-kn:kn;for(kn=-1020;1020>=kn;++kn)om[1020+kn]=-128>kn?-128:127=kn;++kn)Am[112+kn]=-16>kn?-16:15=kn;++kn)im[255+kn]=0>kn?0:255di;++di){var Zs,mi=Sl[0+di];for(Zs=0;4>Zs;++Zs){mi=lp[qi[Al+Zs]][mi];for(var Ui=fm[jr(NA,mi[0])];0>3;for(Ui=0;256>Ui;Ui+=16)di[ml+Ui]=jl}il=1,Dc=Al[0]}var Ki=15&NA.la,Vs=15&xl.la;for(Ui=0;4>Ui;++Ui){var Vl=1&Vs;for(jl=Di=0;4>jl;++jl)Ki=Ki>>1|(Vl=(bs=Th(qi,Dc,bs=Vl+(1&Ki),gs.Sc,il,di,ml))>il)<<7,Di=Di<<2|(3>=4,Vs=Vs>>1|Vl<<7,Zs=(Zs<<8|Di)>>>0}for(Dc=Ki,il=Vs>>4,vs=0;4>vs;vs+=2){for(Di=0,Ki=NA.la>>4+vs,Vs=xl.la>>4+vs,Ui=0;2>Ui;++Ui){for(Vl=1&Vs,jl=0;2>jl;++jl)bs=Vl+(1&Ki),Ki=Ki>>1|(Vl=0<(bs=Th(qi,Al[2],bs,gs.Qc,0,di,ml)))<<3,Di=Di<<2|(3>=2,Vs=Vs>>1|Vl<<5}mi|=Di<<4*vs,Dc|=Ki<<4<=Po.zb&&Po.M<=Po.Va,Po.Aa==0)t:{if(ZA.M=Po.M,ZA.uc=NA,lc(Po,ZA),ys=1,ZA=(Di=Po.D).Nb,NA=(mi=o0[Po.L])*Po.R,qi=mi/2*Po.B,Ui=16*ZA*Po.R,jl=8*ZA*Po.B,Al=Po.sa,Sl=Po.ta-NA+Ui,gs=Po.qa,di=Po.ra-qi+jl,ml=Po.Ha,xl=Po.Ia-qi+jl,Vs=(Ki=Di.M)==0,Zs=Ki>=Po.Va-1,Po.Aa==2&&lc(Po,Di),Di.uc)for(Vl=(bs=Po).D.M,n(bs.D.uc),Di=bs.yb;DiXa.o&&(Ki=Xa.o),Xa.F=null,Xa.J=null,Po.Fa!=null&&0>1),Xa.W+=Po.B*(mi>>1),Xa.F!=null&&(Xa.J+=Xa.width*mi)),Di>1,Xa.W+=Xa.v>>1,Xa.F!=null&&(Xa.J+=Xa.v),Xa.ka=Di-Xa.j,Xa.U=Xa.va-Xa.v,Xa.T=Ki-Di,ys=Xa.put(Xa))}ZA+1!=Po.Ic||Zs||(r(Po.sa,Po.ta-NA,Al,Sl+16*Po.R,NA),r(Po.qa,Po.ra-qi,gs,di+8*Po.B,qi),r(Po.Ha,Po.Ia-qi,ml,xl+8*Po.B,qi))}if(!ys)return Ps(li,6,"Output aborted.")}return 1}(xt,wn)),wn.bc!=null&&wn.bc(wn),kn&=1}return kn?(xt.cb=0,kn):0})(c,ee)||(m=c.a)}}else m=c.a}m==0&&Ve.Oa!=null&&Ve.Oa.fd&&(m=Lh(Ve.ba))}Ve=m}Te=Ve!=0?null:11>Te?tt.f.RGBA.eb:tt.f.kb.y}else Te=null;return Te};var wm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function D(jt,Kn){for(var $e="",Bt=0;Bt<4;Bt++)$e+=String.fromCharCode(jt[Kn++]);return $e}function q(jt,Kn){return jt[Kn+0]|jt[Kn+1]<<8}function Be(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16)>>>0}function je(jt,Kn){return(jt[Kn+0]|jt[Kn+1]<<8|jt[Kn+2]<<16|jt[Kn+3]<<24)>>>0}new x;var G=[0],gt=[0],At=[],pt=new x,et=e,ln=function(jt,Kn){var $e={},Bt=0,sn=!1,$t=0,or=0;if($e.frames=[],!function(Ge,Rt){for(var Zt=0;Zt<4;Zt++)if(Ge[Rt+Zt]!="RIFF".charCodeAt(Zt))return!0;return!1}(jt,Kn)){for(je(jt,Kn+=4),Kn+=8;Kn>1&1}hr!="ANMF"&&(Kn+=Yn)}return $e}}(et,0);ln.response=et,ln.rgbaoutput=!0,ln.dataurl=!1;var Xt=ln.header?ln.header:null,Mt=ln.frames?ln.frames:null;if(Xt){Xt.loop_counter=Xt.loop_count,G=[Xt.canvas_height],gt=[Xt.canvas_width];for(var $n=0;$n=2?wt[1]:ao[0],ao[2]=wt.length>=3?wt[2]:ao[0],ao[3]=wt.length>=4?wt[3]:ao[1]),D.margin=ao}});var mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mr},set:function(wt){mr=wt}});var Br=0;Object.defineProperty(this,"lastBreak",{get:function(){return Br},set:function(wt){Br=wt}});var jr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return jr},set:function(wt){jr=wt}}),Object.defineProperty(this,"ctx",{get:function(){return D},set:function(wt){wt instanceof q&&(D=wt)}}),Object.defineProperty(this,"path",{get:function(){return D.path},set:function(wt){D.path=wt}});var ma=[];Object.defineProperty(this,"ctxStack",{get:function(){return ma},set:function(wt){ma=wt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(wt){var ao;ao=je(wt),this.ctx.fillStyle=ao.style,this.ctx.isFillTransparent=ao.a===0,this.ctx.fillOpacity=ao.a,this.pdf.setFillColor(ao.r,ao.g,ao.b,{a:ao.a}),this.pdf.setTextColor(ao.r,ao.g,ao.b,{a:ao.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(wt){var ao=je(wt);this.ctx.strokeStyle=ao.style,this.ctx.isStrokeTransparent=ao.a===0,this.ctx.strokeOpacity=ao.a,ao.a===0?this.pdf.setDrawColor(255,255,255):(ao.a,this.pdf.setDrawColor(ao.r,ao.g,ao.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(wt){["butt","round","square"].indexOf(wt)!==-1&&(this.ctx.lineCap=wt,this.pdf.setLineCap(wt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(wt){isNaN(wt)||(this.ctx.lineWidth=wt,this.pdf.setLineWidth(wt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(wt){["bevel","round","miter"].indexOf(wt)!==-1&&(this.ctx.lineJoin=wt,this.pdf.setLineJoin(wt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(wt){isNaN(wt)||(this.ctx.miterLimit=wt,this.pdf.setMiterLimit(wt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(wt){this.ctx.textBaseline=wt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(wt){["right","end","center","left","start"].indexOf(wt)!==-1&&(this.ctx.textAlign=wt)}});var ro=null,to=null,Xo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Xo},set:function(wt){ro=null,to=null,Xo=wt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(wt){var ao;if(this.ctx.font=wt,(ao=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(wt))!==null){var YA=ao[1];ao[2];var AA=ao[3],ia=ao[4];ao[5];var iA=ao[6],wo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ia)[2];ia=Math.floor(wo==="px"?parseFloat(ia)*this.pdf.internal.scaleFactor:wo==="em"?parseFloat(ia)*this.pdf.getFontSize():parseFloat(ia)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ia);var aA=function(Zo){var Cs,gi,qA=[],_A=Zo.trim();if(_A==="")return V0;if(_A in ru)return[ru[_A]];for(;_A!=="";){switch(gi=null,Cs=(_A=au(_A)).charAt(0)){case'"':case"'":gi=Sc(_A.substring(1),Cs);break;default:gi=gf(_A)}if(gi===null||(qA.push(gi[0]),(_A=au(gi[1]))!==""&&_A.charAt(0)!==","))return V0;_A=_A.replace(/^,/,"")}return qA}(iA);if(this.fontFaces){var Yo=function(Zo,Cs){var gi=Zo.getFontList(),qA=JSON.stringify(gi);if(ro===null||to!==qA){var _A=function(as){var eA=[];return Object.keys(as).forEach(function(Vi){as[Vi].forEach(function(vA){var DA=null;switch(vA){case"bold":DA={family:Vi,weight:"bold"};break;case"italic":DA={family:Vi,style:"italic"};break;case"bolditalic":DA={family:Vi,weight:"bold",style:"italic"};break;case"":case"normal":DA={family:Vi}}DA!==null&&(DA.ref={name:Vi,style:vA},eA.push(DA))})}),eA}(gi);ro=function(as){for(var eA={},Vi=0;Vi=700||YA==="bold")&&(UA="bold"),YA==="italic"&&(UA+="italic"),UA.length===0&&(UA="normal");for(var si="",Ai={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Do=0;Do=2*Math.PI&&(un=0,bn=2*Math.PI),this.path.push({type:"arc",x:Ge,y:Rt,radius:Zt,startAngle:un,endAngle:bn,counterclockwise:Vn})},Be.prototype.arcTo=function(Ge,Rt,Zt,un,bn){throw new Error("arcTo not implemented.")},Be.prototype.rect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Ge,Rt),this.lineTo(Ge+Zt,Rt),this.lineTo(Ge+Zt,Rt+un),this.lineTo(Ge,Rt+un),this.lineTo(Ge,Rt),this.lineTo(Ge+Zt,Rt),this.lineTo(Ge,Rt)},Be.prototype.fillRect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!G.call(this)){var bn={};this.lineCap!=="butt"&&(bn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(bn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Ge,Rt,Zt,un),this.fill(),bn.hasOwnProperty("lineCap")&&(this.lineCap=bn.lineCap),bn.hasOwnProperty("lineJoin")&&(this.lineJoin=bn.lineJoin)}},Be.prototype.strokeRect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");gt.call(this)||(this.beginPath(),this.rect(Ge,Rt,Zt,un),this.stroke())},Be.prototype.clearRect=function(Ge,Rt,Zt,un){if(isNaN(Ge)||isNaN(Rt)||isNaN(Zt)||isNaN(un))throw Ri.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Ge,Rt,Zt,un))},Be.prototype.save=function(Ge){Ge=typeof Ge!="boolean"||Ge;for(var Rt=this.pdf.internal.getCurrentPageInfo().pageNumber,Zt=0;Zt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Be.prototype.drawImage=function(Ge,Rt,Zt,un,bn,Vn,mr,Br,jr){var ma=this.pdf.getImageProperties(Ge),ro=1,to=1,Xo=1,wt=1;un!==void 0&&Br!==void 0&&(Xo=Br/un,wt=jr/bn,ro=ma.width/un*Br/un,to=ma.height/bn*jr/bn),Vn===void 0&&(Vn=Rt,mr=Zt,Rt=0,Zt=0),un!==void 0&&Br===void 0&&(Br=un,jr=bn),un===void 0&&Br===void 0&&(Br=ma.width,jr=ma.height);var ao=this.ctx.transform.decompose(),YA=Yn(ao.rotate.shx),AA=new x,ia=(AA=(AA=(AA=AA.multiply(ao.translate)).multiply(ao.skew)).multiply(ao.scale)).applyToRectangle(new p(Vn-Rt*Xo,mr-Zt*wt,un*ro,bn*to));if(this.autoPaging){for(var iA,wo=pt.call(this,ia),aA=[],Yo=0;YoSi||UAia||wo0)){for(;jr>=0;jr--)if(bn[jr-1].close!==!0&&bn[jr-1].begin!==!0){bn[jr-1].deltas.push(Zt),bn[jr-1].abs.push(Br);break}}break;case"bct":Zt=[Br.x1-Vn[mr-1].x,Br.y1-Vn[mr-1].y,Br.x2-Vn[mr-1].x,Br.y2-Vn[mr-1].y,Br.x-Vn[mr-1].x,Br.y-Vn[mr-1].y],bn[bn.length-1].deltas.push(Zt);break;case"qct":var ma=Vn[mr-1].x+2/3*(Br.x1-Vn[mr-1].x),ro=Vn[mr-1].y+2/3*(Br.y1-Vn[mr-1].y),to=Br.x+2/3*(Br.x1-Br.x),Xo=Br.y+2/3*(Br.y1-Br.y),wt=Br.x,ao=Br.y;Zt=[ma-Vn[mr-1].x,ro-Vn[mr-1].y,to-Vn[mr-1].x,Xo-Vn[mr-1].y,wt-Vn[mr-1].x,ao-Vn[mr-1].y],bn[bn.length-1].deltas.push(Zt);break;case"arc":bn.push({deltas:[],abs:[],arc:!0}),Array.isArray(bn[bn.length-1].abs)&&bn[bn.length-1].abs.push(Br)}}un=Rt?null:Ge==="stroke"?"stroke":"fill";for(var YA=!1,AA=0;AA=.01&&(un=this.pdf.internal.getFontSize(),this.pdf.setFontSize(un*Ge.scale),bn=this.lineWidth,this.lineWidth=bn*Ge.scale);var jA=this.autoPaging!=="text";if(jA||Do.y+Do.h<=Yo){if(jA||Do.y>=wo&&Do.x<=oi){var Zo=jA?Ge.text:this.pdf.splitTextToSize(Ge.text,Ge.maxWidth||oi-Do.x)[0],Cs=ln([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-si+wo+this.ctx.prevPageLastElemOffset)[0],gi=jA&&(iA>AA||iA=.01&&(this.pdf.setFontSize(un),this.lineWidth=bn)}}else Ge.scale>=.01&&(un=this.pdf.internal.getFontSize(),this.pdf.setFontSize(un*Ge.scale),bn=this.lineWidth,this.lineWidth=bn*Ge.scale),this.pdf.text(Ge.text,jr.x+this.posX,jr.y+this.posY,{angle:Ge.angle,align:Rt,renderingMode:Ge.renderingMode,maxWidth:Ge.maxWidth}),Ge.scale>=.01&&(this.pdf.setFontSize(un),this.lineWidth=bn)},sn=function(Ge,Rt,Zt,un){Zt=Zt||0,un=un||0,this.pdf.internal.out(t(Ge+Zt)+" "+r(Rt+un)+" l")},$t=function(Ge,Rt,Zt){return this.pdf.lines(Ge,Rt,Zt,null,null)},or=function(Ge,Rt,Zt,un,bn,Vn,mr,Br){this.pdf.internal.out([n(A(Zt+Ge)),n(l(un+Rt)),n(A(bn+Ge)),n(l(Vn+Rt)),n(A(mr+Ge)),n(l(Br+Rt)),"c"].join(" "))},hr=function(Ge,Rt,Zt,un){for(var bn=2*Math.PI,Vn=Math.PI/2;Rt>Zt;)Rt-=bn;var mr=Math.abs(Zt-Rt);mr1e-5;){var ro=ma+jr*Math.min(mr,Vn);Br.push(Cr.call(this,Ge,ma,ro)),mr-=Math.abs(ro-ma),ma=ro}return Br},Cr=function(Ge,Rt,Zt){var un=(Zt-Rt)/2,bn=Ge*Math.cos(un),Vn=Ge*Math.sin(un),mr=bn,Br=-Vn,jr=mr*mr+Br*Br,ma=jr+mr*bn+Br*Vn,ro=4/3*(Math.sqrt(2*jr*ma)-ma)/(mr*Vn-Br*bn),to=mr-ro*Br,Xo=Br+ro*mr,wt=to,ao=-Xo,YA=un+Rt,AA=Math.cos(YA),ia=Math.sin(YA);return{x1:Ge*Math.cos(Rt),y1:Ge*Math.sin(Rt),x2:to*AA-Xo*ia,y2:to*ia+Xo*AA,x3:wt*AA-ao*ia,y3:wt*ia+ao*AA,x4:Ge*Math.cos(Zt),y4:Ge*Math.sin(Zt)}},Yn=function(Ge){return 180*Ge/Math.PI},wr=function(Ge,Rt,Zt,un,bn,Vn){var mr=Ge+.5*(Zt-Ge),Br=Rt+.5*(un-Rt),jr=bn+.5*(Zt-bn),ma=Vn+.5*(un-Vn),ro=Math.min(Ge,bn,mr,jr),to=Math.max(Ge,bn,mr,jr),Xo=Math.min(Rt,Vn,Br,ma),wt=Math.max(Rt,Vn,Br,ma);return new p(ro,Xo,to-ro,wt-Xo)},ba=function(Ge,Rt,Zt,un,bn,Vn,mr,Br){var jr,ma,ro,to,Xo,wt,ao,YA,AA,ia,iA,wo,aA,Yo,Si=Zt-Ge,oi=un-Rt,UA=bn-Zt,si=Vn-un,Ai=mr-bn,Do=Br-Vn;for(ma=0;ma<41;ma++)AA=(ao=(ro=Ge+(jr=ma/40)*Si)+jr*((Xo=Zt+jr*UA)-ro))+jr*(Xo+jr*(bn+jr*Ai-Xo)-ao),ia=(YA=(to=Rt+jr*oi)+jr*((wt=un+jr*si)-to))+jr*(wt+jr*(Vn+jr*Do-wt)-YA),ma==0?(iA=AA,wo=ia,aA=AA,Yo=ia):(iA=Math.min(iA,AA),wo=Math.min(wo,ia),aA=Math.max(aA,AA),Yo=Math.max(Yo,ia));return new p(Math.round(iA),Math.round(wo),Math.round(aA-iA),Math.round(Yo-wo))},Gr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Ge,Rt,Zt=(Ge=this.ctx.lineDash,Rt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Ge,lineDashOffset:Rt}));this.prevLineDash!==Zt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Zt)}}})(xo.API),function(e){var n=function(I){var p,x,D,q,Be,je,G,gt,At,pt;for(/[^\x00-\xFF]/.test(I),x=[],D=0,q=(I+=p="\0\0\0\0".slice(I.length%4||4)).length;q>D;D+=4)(Be=(I.charCodeAt(D)<<24)+(I.charCodeAt(D+1)<<16)+(I.charCodeAt(D+2)<<8)+I.charCodeAt(D+3))!==0?(je=(Be=((Be=((Be=((Be=(Be-(pt=Be%85))/85)-(At=Be%85))/85)-(gt=Be%85))/85)-(G=Be%85))/85)%85,x.push(je+33,G+33,gt+33,At+33,pt+33)):x.push(122);return function(et,ln){for(var Xt=ln;Xt>0;Xt--)et.pop()}(x,p.length),String.fromCharCode.apply(String,x)+"~>"},t=function(I){var p,x,D,q,Be,je=String,G="length",gt=255,At="charCodeAt",pt="slice",et="replace";for(I[pt](-2),I=I[pt](0,-2)[et](/\s/g,"")[et]("z","!!!!!"),D=[],q=0,Be=(I+=p="uuuuu"[pt](I[G]%5||5))[G];Be>q;q+=5)x=52200625*(I[At](q)-33)+614125*(I[At](q+1)-33)+7225*(I[At](q+2)-33)+85*(I[At](q+3)-33)+(I[At](q+4)-33),D.push(gt&x>>24,gt&x>>16,gt&x>>8,gt&x);return function(ln,Xt){for(var Mt=Xt;Mt>0;Mt--)ln.pop()}(D,p[G]),je.fromCharCode.apply(je,D)},r=function(I){return I.split("").map(function(p){return("0"+p.charCodeAt().toString(16)).slice(-2)}).join("")+">"},A=function(I){var p=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((I=I.replace(/\s/g,"")).indexOf(">")!==-1&&(I=I.substr(0,I.indexOf(">"))),I.length%2&&(I+="0"),p.test(I)===!1)return"";for(var x="",D=0;DAt&&(gt=pt,pt=At,At=gt);else{if(p!=="l"&&p!=="landscape")throw"Invalid orientation: "+p;p="l",At>pt&&(gt=pt,pt=At,At=gt)}return{width:pt,height:At,unit:x,k:Be,orientation:p}},e.html=function(p,x){(x=x||{}).callback=x.callback||function(){},x.html2canvas=x.html2canvas||{},x.html2canvas.canvas=x.html2canvas.canvas||this.canvas,x.jsPDF=x.jsPDF||this,x.fontFaces=x.fontFaces?x.fontFaces.map(Ml):null;var D=new I(x);return x.worker?D:D.from(p).doCallback()}}(xo.API),xo.API.addJS=function(e){return Rv=e,this.internal.events.subscribe("postPutResources",function(){ou=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ou+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Lv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Rv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ou!==void 0&&Lv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var A=t.outline.render().split(/\r\n/),l=0;l> endobj")}var G=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+G+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,A,l){var I={title:A,options:l,children:[]};return r==null&&(r=this.root),r.children.push(I),I},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var A=0;A0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var A=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(I.children[0])),this.line("/Last "+this.makeRef(I.children[I.children.length-1])));var p=this.count=this.count_r({count:0},I);if(p>0&&this.line("/Count "+p),I.options&&I.options.pageNumber){var x=t.internal.getPageInfo(I.options.pageNumber);this.line("/Dest ["+x.objId+" 0 R /XYZ 0 "+A(0)+" 0]")}this.objEnd()}for(var D=0;D>"}),"transparency"in Rt&&Array.isArray(Rt.transparency)&&Rt.transparency.length>0){for(var on="",Wr=0,An=Rt.transparency.length;Wr>",Bt.content=_;var sr=Bt.objId+" 0 R";_="<>";else if(c.options.pageNumber)switch(_="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length>=1};var oe=n.__arabicParser__.arabicLetterHasFinalForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length>=3};var Fe=n.__arabicParser__.arabicLetterHasMedialForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length==4},Ze=n.__arabicParser__.resolveLigatures=function(Bt){var kt=0,mt=s,cr="",sr=0;for(kt=0;kt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(Z){s=Z}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(Z){c=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?150:Z,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var g=300;Object.defineProperty(this,"height",{get:function(){return g},set:function(Z){g=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?300:Z,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=g+1)}});var _=[];Object.defineProperty(this,"childNodes",{get:function(){return _},set:function(Z){_=Z}});var q={};Object.defineProperty(this,"style",{get:function(){return q},set:function(Z){q=Z}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var g;if((s=s||"2d")!=="2d")return null;for(g in c)this.pdf.context2d.hasOwnProperty(g)&&(this.pdf.context2d[g]=c[g]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(Pi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),g.call(this))},g=function(){this.internal.__cell__.lastCell=new _,this.internal.__cell__.pages=1},_=function(){var re=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return re},set:function(Bt){re=Bt}});var oe=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return oe},set:function(Bt){oe=Bt}});var Fe=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Fe},set:function(Bt){Fe=Bt}});var Ze=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ze},set:function(Bt){Ze=Bt}});var rt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return rt},set:function(Bt){rt=Bt}});var Te=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Te},set:function(Bt){Te=Bt}});var Tt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Tt},set:function(Bt){Tt=Bt}}),this};_.prototype.clone=function(){return new _(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},_.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(re){return c.call(this),this.internal.__cell__.headerFunction=typeof re=="function"?re:void 0,this},n.getTextDimensions=function(re,oe){c.call(this);var Fe=(oe=oe||{}).fontSize||this.getFontSize(),Ze=oe.font||this.getFont(),rt=oe.scaleFactor||this.internal.scaleFactor,Te=0,Tt=0,Bt=0,kt=this;if(!Array.isArray(re)&&typeof re!="string"){if(typeof re!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");re=String(re)}var mt=oe.maxWidth;mt>0?typeof re=="string"?re=this.splitTextToSize(re,mt):Object.prototype.toString.call(re)==="[object Array]"&&(re=re.reduce(function(sr,Zt){return sr.concat(kt.splitTextToSize(Zt,mt))},[])):re=Array.isArray(re)?re:[re];for(var cr=0;crthis.getPageHeight()?(this.cellAddPage(),re.y=Ze.top,Te&&rt&&(this.printHeaderRow(re.lineNumber,!0),re.y+=rt[0].height)):re.y=oe.y+oe.height||re.y),re.text[0]!==void 0&&(this.rect(re.x,re.y,re.width,re.height,s===!0?"FD":void 0),re.align==="right"?this.text(re.text,re.x+re.width-Fe,re.y+Fe,{align:"right",baseline:"top"}):re.align==="center"?this.text(re.text,re.x+re.width/2,re.y+Fe,{align:"center",baseline:"top",maxWidth:re.width-Fe-Fe}):this.text(re.text,re.x+Fe,re.y+Fe,{align:"left",baseline:"top",maxWidth:re.width-Fe-Fe})),this.internal.__cell__.lastCell=re,this};n.table=function(re,oe,Fe,Ze,rt){if(c.call(this),!Fe)throw new Error("No data for PDF table.");var Te,Tt,Bt,kt,mt=[],cr=[],sr=[],Zt={},Yr={},mn=[],sn=[],xr=(rt=rt||{}).autoSize||!1,Xt=rt.printHeaders!==!1,Ur=rt.css&&rt.css["font-size"]!==void 0?16*rt.css["font-size"]:rt.fontSize||12,dt=rt.margins||Object.assign({width:this.getPageWidth()},a),Rt=typeof rt.padding=="number"?rt.padding:3,hr=rt.headerBackgroundColor||"#c8c8c8",lr=rt.headerTextColor||"#000";if(g.call(this),this.internal.__cell__.printHeaders=Xt,this.internal.__cell__.margins=dt,this.internal.__cell__.table_font_size=Ur,this.internal.__cell__.padding=Rt,this.internal.__cell__.headerBackgroundColor=hr,this.internal.__cell__.headerTextColor=lr,this.setFontSize(Ur),Ze==null)cr=mt=Object.keys(Fe[0]),sr=mt.map(function(){return"left"});else if(Array.isArray(Ze)&&(0,v.Z)(Ze[0])==="object")for(mt=Ze.map(function(Kn){return Kn.name}),cr=Ze.map(function(Kn){return Kn.prompt||Kn.name||""}),sr=Ze.map(function(Kn){return Kn.align||"left"}),Te=0;Te0&&this.setTableHeaderRow(rt),this.setFont(void 0,"normal"),s=!1}}(Pi.API);var vl={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},UA=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Wl=Ja(UA),ru=[100,200,300,400,500,600,700,800,900],Lc=Ja(ru);function Qu(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(_){return vl[_=_||"normal"]?_:"normal"}(n.style),c=function(_){return _?typeof _=="number"?_>=100&&_<=900&&_%100==0?_:400:/^\d00$/.test(_)?parseInt(_):_==="bold"?700:400:400}(n.weight),g=function(_){return typeof Wl[_=_||"normal"]=="number"?_:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:g,src:n.src||[],ref:n.ref||{name:a,style:[g,s,c].join(" ")}}}function $u(n,a,s,c){var g;for(g=s;g>=0&&g=0&&g>>1)&255}return g}function Ve(n,a,s){var c=n.length,g=[];g[0]=4;for(var _=0;_>_&q}function or(n,a,s,c){var g=s*c,_=Math.floor(g/8),q=16-(g-8*_+c),Z=(1<>8&255;oe.setUint8(Fe,rt)}})(n,_,wr(n,_)&~(Z<>7,q=1<<1+(7&g);n[a++],n[a++];var Z=null,re=null;_&&(Z=a,re=q,a+=3*q);var oe=!0,Fe=[],Ze=0,rt=null,Te=0,Tt=null;for(this.width=s,this.height=c;oe&&a=0))throw Error("Invalid block size");if(dt===0)break;a+=dt}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var Bt=n[a++];Ze=n[a++]|n[a++]<<8,rt=n[a++],1&Bt||(rt=null),Te=Bt>>2&7,a++;break;case 254:for(;;){if(!((dt=n[a++])>=0))throw Error("Invalid block size");if(dt===0)break;a+=dt}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var kt=n[a++]|n[a++]<<8,mt=n[a++]|n[a++]<<8,cr=n[a++]|n[a++]<<8,sr=n[a++]|n[a++]<<8,Zt=n[a++],Yr=Zt>>6&1,mn=1<<1+(7&Zt),sn=Z,xr=re,Xt=!1;Zt>>7&&(Xt=!0,sn=a,xr=mn,a+=3*mn);var Ur=a;for(a++;;){var dt;if(!((dt=n[a++])>=0))throw Error("Invalid block size");if(dt===0)break;a+=dt}Fe.push({x:kt,y:mt,width:cr,height:sr,has_local_palette:Xt,palette_offset:sn,palette_size:xr,data_offset:Ur,data_length:a-Ur,transparent_index:rt,interlaced:!!Yr,delay:Ze,disposal:Te});break;case 59:oe=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return Fe.length},this.loopCount=function(){return Tt},this.frameInfo=function(Rt){if(Rt<0||Rt>=Fe.length)throw new Error("Frame index out of range.");return Fe[Rt]},this.decodeAndBlitFrameBGRA=function(Rt,hr){var lr=this.frameInfo(Rt),qr=lr.width*lr.height,nn=new Uint8Array(qr);_r(n,lr.data_offset,nn,qr);var on=lr.palette_offset,Wr=lr.transparent_index;Wr===null&&(Wr=256);var An=lr.width,Kn=s-An,Ln=An,ft=4*(lr.y*s+lr.x),Vt=4*((lr.y+lr.height)*s+lr.x),rr=ft,vr=4*Kn;lr.interlaced===!0&&(vr+=4*s*7);for(var Fr=8,zr=0,an=nn.length;zr=Vt&&(vr=4*Kn+4*s*(Fr-1),rr=ft+(An+Kn)*(Fr<<1),Fr>>=1)),un===Wr)rr+=4;else{var Bn=n[on+3*un],Hn=n[on+3*un+1],yi=n[on+3*un+2];hr[rr++]=yi,hr[rr++]=Hn,hr[rr++]=Bn,hr[rr++]=255}--Ln}},this.decodeAndBlitFrameRGBA=function(Rt,hr){var lr=this.frameInfo(Rt),qr=lr.width*lr.height,nn=new Uint8Array(qr);_r(n,lr.data_offset,nn,qr);var on=lr.palette_offset,Wr=lr.transparent_index;Wr===null&&(Wr=256);var An=lr.width,Kn=s-An,Ln=An,ft=4*(lr.y*s+lr.x),Vt=4*((lr.y+lr.height)*s+lr.x),rr=ft,vr=4*Kn;lr.interlaced===!0&&(vr+=4*s*7);for(var Fr=8,zr=0,an=nn.length;zr=Vt&&(vr=4*Kn+4*s*(Fr-1),rr=ft+(An+Kn)*(Fr<<1),Fr>>=1)),un===Wr)rr+=4;else{var Bn=n[on+3*un],Hn=n[on+3*un+1],yi=n[on+3*un+2];hr[rr++]=Bn,hr[rr++]=Hn,hr[rr++]=yi,hr[rr++]=255}--Ln}}}function _r(n,a,s,c){for(var g=n[a++],_=1<>=re,Fe-=re,kt!==_){if(kt===q)break;for(var mt=kt_;)sr=Tt[sr]>>8,++cr;var Zt=sr;if(rt+cr+(mt!==kt?1:0)>c)return void Xa.log("Warning, gif stream longer than expected.");s[rt++]=Zt;var Yr=rt+=cr;for(mt!==kt&&(s[rt++]=Zt),sr=mt;cr--;)sr=Tt[sr],s[--Yr]=255&sr,sr>>=8;Bt!==null&&Z<4096&&(Tt[Z++]=Bt<<8|Zt,Z>=oe+1&&re<12&&(++re,oe=oe<<1|1)),Bt=kt}else Z=q+1,oe=(1<<(re=g+1))-1,Bt=null}return rt!==c&&Xa.log("Warning, gif stream shorter than expected."),s}function Gr(n){var a,s,c,g,_,q=Math.floor,Z=new Array(64),re=new Array(64),oe=new Array(64),Fe=new Array(64),Ze=new Array(65535),rt=new Array(65535),Te=new Array(64),Tt=new Array(64),Bt=[],kt=0,mt=7,cr=new Array(64),sr=new Array(64),Zt=new Array(64),Yr=new Array(256),mn=new Array(2048),sn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],xr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Xt=[0,1,2,3,4,5,6,7,8,9,10,11],Ur=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],dt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],hr=[0,1,2,3,4,5,6,7,8,9,10,11],lr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],qr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function nn(ft,Vt){for(var rr=0,vr=0,Fr=new Array,zr=1;zr<=16;zr++){for(var an=1;an<=ft[zr];an++)Fr[Vt[vr]]=[],Fr[Vt[vr]][0]=rr,Fr[Vt[vr]][1]=zr,vr++,rr++;rr*=2}return Fr}function on(ft){for(var Vt=ft[0],rr=ft[1]-1;rr>=0;)Vt&1<>8&255),Wr(255&ft)}function Kn(ft,Vt,rr,vr,Fr){for(var zr,an=Fr[0],un=Fr[240],Bn=function(Un,js){var Hi,Ds,Es,Eo,Qa,oa,Za,ja,rs,ha,os=0;for(rs=0;rs<8;++rs){Hi=Un[os],Ds=Un[os+1],Es=Un[os+2],Eo=Un[os+3],Qa=Un[os+4],oa=Un[os+5],Za=Un[os+6];var Ll=Hi+(ja=Un[os+7]),ro=Hi-ja,Fa=Ds+Za,Da=Ds-Za,cl=Es+oa,Cs=Es-oa,Wo=Eo+Qa,Zs=Eo-Qa,la=Ll+Wo,fl=Ll-Wo,Na=Fa+cl,zs=Fa-cl;Un[os]=la+Na,Un[os+4]=la-Na;var _o=.707106781*(zs+fl);Un[os+2]=fl+_o,Un[os+6]=fl-_o;var Vh=.382683433*((la=Zs+Cs)-(zs=Da+ro)),ju=.5411961*la+Vh,H0=1.306562965*zs+Vh,i0=.707106781*(Na=Cs+Da),Ks=ro+i0,z0=ro-i0;Un[os+5]=z0+ju,Un[os+3]=z0-ju,Un[os+1]=Ks+H0,Un[os+7]=Ks-H0,os+=8}for(os=0,rs=0;rs<8;++rs){Hi=Un[os],Ds=Un[os+8],Es=Un[os+16],Eo=Un[os+24],Qa=Un[os+32],oa=Un[os+40],Za=Un[os+48];var K0=Hi+(ja=Un[os+56]),lc=Hi-ja,uc=Ds+Za,xl=Ds-Za,yu=Es+oa,Su=Es-oa,Wh=Eo+Qa,Kf=Eo-Qa,kc=K0+Wh,s0=K0-Wh,Rc=uc+yu,Mc=uc-yu;Un[os]=kc+Rc,Un[os+32]=kc-Rc;var Ac=.707106781*(Mc+s0);Un[os+16]=s0+Ac,Un[os+48]=s0-Ac;var Zh=.382683433*((kc=Kf+Su)-(Mc=xl+lc)),a0=.5411961*kc+Zh,Yh=1.306562965*Mc+Zh,jd=.707106781*(Rc=Su+xl),Hd=lc+jd,zd=lc-jd;Un[os+40]=zd+a0,Un[os+24]=zd-a0,Un[os+8]=Hd+Yh,Un[os+56]=Hd-Yh,os++}for(rs=0;rs<64;++rs)ha=Un[rs]*js[rs],Te[rs]=ha>0?ha+.5|0:ha-.5|0;return Te}(ft,Vt),Hn=0;Hn<64;++Hn)Tt[sn[Hn]]=Bn[Hn];var yi=Tt[0]-rr;rr=Tt[0],yi==0?on(vr[0]):(on(vr[rt[zr=32767+yi]]),on(Ze[zr]));for(var gi=63;gi>0&&Tt[gi]==0;)gi--;if(gi==0)return on(an),rr;for(var ms,Mt=1;Mt<=gi;){for(var wi=Mt;Tt[Mt]==0&&Mt<=gi;)++Mt;var Sa=Mt-wi;if(Sa>=16){ms=Sa>>4;for(var Qs=1;Qs<=ms;++Qs)on(un);Sa&=15}zr=32767+Tt[Mt],on(Fr[(Sa<<4)+rt[zr]]),on(Ze[zr]),Mt++}return gi!=63&&on(an),rr}function Ln(ft){ft=Math.min(Math.max(ft,1),100),_!=ft&&(function(Vt){for(var rr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],vr=0;vr<64;vr++){var Fr=q((rr[vr]*Vt+50)/100);Fr=Math.min(Math.max(Fr,1),255),Z[sn[vr]]=Fr}for(var zr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],an=0;an<64;an++){var un=q((zr[an]*Vt+50)/100);un=Math.min(Math.max(un,1),255),re[sn[an]]=un}for(var Bn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Hn=0,yi=0;yi<8;yi++)for(var gi=0;gi<8;gi++)oe[Hn]=1/(Z[sn[Hn]]*Bn[yi]*Bn[gi]*8),Fe[Hn]=1/(re[sn[Hn]]*Bn[yi]*Bn[gi]*8),Hn++}(ft<50?Math.floor(5e3/ft):Math.floor(200-2*ft)),_=ft)}this.encode=function(ft,Vt){Vt&&Ln(Vt),Bt=new Array,kt=0,mt=7,An(65496),An(65504),An(16),Wr(74),Wr(70),Wr(73),Wr(70),Wr(0),Wr(1),Wr(1),Wr(0),An(1),An(1),Wr(0),Wr(0),function(){An(65499),An(132),Wr(0);for(var Ds=0;Ds<64;Ds++)Wr(Z[Ds]);Wr(1);for(var Es=0;Es<64;Es++)Wr(re[Es])}(),function(Ds,Es){An(65472),An(17),Wr(8),An(Es),An(Ds),Wr(3),Wr(1),Wr(17),Wr(0),Wr(2),Wr(17),Wr(1),Wr(3),Wr(17),Wr(1)}(ft.width,ft.height),function(){An(65476),An(418),Wr(0);for(var Ds=0;Ds<16;Ds++)Wr(xr[Ds+1]);for(var Es=0;Es<=11;Es++)Wr(Xt[Es]);Wr(16);for(var Eo=0;Eo<16;Eo++)Wr(Ur[Eo+1]);for(var Qa=0;Qa<=161;Qa++)Wr(dt[Qa]);Wr(1);for(var oa=0;oa<16;oa++)Wr(Rt[oa+1]);for(var Za=0;Za<=11;Za++)Wr(hr[Za]);Wr(17);for(var ja=0;ja<16;ja++)Wr(lr[ja+1]);for(var rs=0;rs<=161;rs++)Wr(qr[rs])}(),An(65498),An(12),Wr(3),Wr(1),Wr(0),Wr(2),Wr(17),Wr(3),Wr(17),Wr(0),Wr(63),Wr(0);var rr=0,vr=0,Fr=0;kt=0,mt=7,this.encode.displayName="_encode_";for(var zr,an,un,Bn,Hn,yi,gi,ms,Mt,wi=ft.data,Sa=ft.width,Qs=ft.height,Un=4*Sa,js=0;js>3)*Un+(gi=4*(7&Mt)),js+ms>=Qs&&(yi-=Un*(js+1+ms-Qs)),zr+gi>=Un&&(yi-=zr+gi-Un+4),an=wi[yi++],un=wi[yi++],Bn=wi[yi++],cr[Mt]=(mn[an]+mn[un+256|0]+mn[Bn+512|0]>>16)-128,sr[Mt]=(mn[an+768|0]+mn[un+1024|0]+mn[Bn+1280|0]>>16)-128,Zt[Mt]=(mn[an+1280|0]+mn[un+1536|0]+mn[Bn+1792|0]>>16)-128;rr=Kn(cr,oe,rr,a,c),vr=Kn(sr,Fe,vr,s,g),Fr=Kn(Zt,Fe,Fr,s,g),zr+=32}js+=8}if(mt>=0){var Hi=[];Hi[1]=mt+1,Hi[0]=(1<Rt;Rt++)if(Xt[Ur+Rt]!=dt.charCodeAt(Rt))return!0;return!1}function c(Xt,Ur,dt,Rt,hr){for(var lr=0;lrlr+1?[]:new Ur),!(qr.length>>0;S&ye;)ye>>>=1;return ye?(S&ye-1)+ye:S}function dt(S,W,ye,Me,qe){a(!(Me%ye));do S[W+(Me-=ye)]=qe;while(0=qe),512>=qe)var at=_(512);else if((at=_(qe))==null)return 0;return function(At,wt,xt,Qt,br,Zr){var jt,Sr,jr=wt,dn=1<jt;++jt){if(Vr[jt]>1<(wa-=Vr[jt]))return 0;for(;0=jt;++jt,br<<=1){if(Qi+=wa<<=1,0>(wa-=Vr[jt]))return 0;for(;0jn&&!(0>=(_n-=Vr[jn]));)++jn,_n<<=1;dn+=Ji=1<<(_n=jn-xt),At[wt+(jn=ss&Rn)].g=_n+xt,At[wt+jn].value=jr-wt-jn}Qt.g=jt-xt,Qt.value=Zr[Sr++],dt(At,jr+(ss>>xt),br,Ji,Qt),ss=Ur(ss,jt)}}return Qi!=2*yn[15]-1?0:dn}(S,W,ye,Me,qe,at)}function hr(){this.value=this.g=0}function lr(){this.value=this.g=0}function qr(){this.G=q(5,hr),this.H=_(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=q(ad,lr)}function nn(S,W,ye,Me){a(S!=null),a(W!=null),a(2147483648>Me),S.Ca=254,S.I=0,S.b=-8,S.Ka=0,S.oa=W,S.pa=ye,S.Jd=W,S.Yc=ye+Me,S.Zc=4<=Me?ye+Me-4+1:ye,an(S)}function on(S,W){for(var ye=0;0Me),S.Sb=Me,S.Ra=0,S.u=0,S.h=0,4>>=8,S.Ra+=S.oa[S.pa+S.bb]<>>0,++S.bb,S.u-=8;vr(S)&&(S.h=1,S.u=0)}function Ln(S,W){if(a(0<=W),!S.h&&W<=QA){var ye=rr(S)&PA[W];return S.u+=W,Kn(S),ye}return S.h=1,S.u=0}function ft(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Vt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function rr(S){return S.Ra>>>(S.u&Zf-1)>>>0}function vr(S){return a(S.bb<=S.Sb),S.h||S.bb==S.Sb&&S.u>Zf}function Fr(S,W){S.u=W,S.h=vr(S)}function zr(S){S.u>=tf&&(a(S.u>=tf),Kn(S))}function an(S){a(S!=null&&S.oa!=null),S.pa>>0,S.b+=8):(a(S!=null&&S.oa!=null),S.paS.b&&an(S);var Me=S.b,qe=ye*W>>>8,at=(S.I>>>Me>qe)+0;for(at?(ye-=qe,S.I-=qe+1<>>0):ye=qe+1,Me=ye,qe=0;256<=Me;)qe+=8,Me>>=8;return Me=7^qe+Yf[Me],S.b-=Me,S.Ca=(ye<>24&255,S[W+1]=ye>>16&255,S[W+2]=ye>>8&255,S[W+3]=255&ye}function yi(S,W){return S[W+0]|S[W+1]<<8}function gi(S,W){return yi(S,W)|S[W+2]<<16}function ms(S,W){return yi(S,W)|yi(S,W+2)<<16}function Mt(S,W){var ye=1<=qe||0>=at?0:(ye[0]=qe,Me[0]=at,1)}function Un(S,W){return S+(1<>>W}function js(S,W){return((4278255360&S)+(4278255360&W)>>>0&4278255360)+((16711935&S)+(16711935&W)>>>0&16711935)>>>0}function Hi(S,W){Xt[W]=function(ye,Me,qe,at,At,wt,xt){var Qt;for(Qt=0;Qt>>1)+(S&W)>>>0}function Eo(S){return 0<=S&&256>S?S:0>S?0:255>1))}function oa(S,W,ye){return Math.abs(W-ye)-Math.abs(S-ye)}function Za(S,W,ye,Me,qe,at,At){for(Me=at[At-1],ye=0;ye>8&255,xt=16711935&(xt=(xt=16711935&At)+((wt<<16)+wt));Me[qe+at]=(4278255360&At)+xt>>>0}}function rs(S,W){W.jd=255&S,W.hd=S>>8&255,W.ud=S>>16&255}function ha(S,W,ye,Me,qe,at){var At;for(At=0;At>>8,Qt=wt,br=255&(br=(br=wt>>>16)+((S.jd<<24>>24)*(xt<<24>>24)>>>5));Qt=255&(Qt=(Qt+=(S.hd<<24>>24)*(xt<<24>>24)>>>5)+((S.ud<<24>>24)*(br<<24>>24)>>>5)),qe[at+At]=(4278255360&wt)+(br<<16)+Qt}}function os(S,W,ye,Me,qe){Xt[W]=function(at,At,wt,xt,Qt,br,Zr,jt,Sr){for(xt=Zr;xt>at.b,Sr=at.Ea,jr=at.K[0],dn=at.w;if(8>jt)for(at=(1<>=jt}else Xt["VP8LMapColor"+ye](xt,Qt,jr,dn,br,Zr,At,wt,Sr)}}function Ll(S,W,ye,Me,qe){for(ye=W+ye;W>16&255,Me[qe++]=at>>8&255,Me[qe++]=255&at}}function ro(S,W,ye,Me,qe){for(ye=W+ye;W>16&255,Me[qe++]=at>>8&255,Me[qe++]=255&at,Me[qe++]=at>>24&255}}function Fa(S,W,ye,Me,qe){for(ye=W+ye;W>16&240|At>>12&15,At=240&At|At>>28&15;Me[qe++]=at,Me[qe++]=At}}function Da(S,W,ye,Me,qe){for(ye=W+ye;W>16&248|At>>13&7,At=At>>5&224|At>>3&31;Me[qe++]=at,Me[qe++]=At}}function cl(S,W,ye,Me,qe){for(ye=W+ye;W>8&255,Me[qe++]=at>>16&255}}function Cs(S,W,ye,Me,qe,at){if(at==0)for(ye=W+ye;W>24|at[1]>>8&65280|at[2]<<8&16711680|at[3]<<24)>>>0),qe+=32;else c(Me,qe,S,W,ye)}function Wo(S,W){Xt[W][0]=Xt[S+"0"],Xt[W][1]=Xt[S+"1"],Xt[W][2]=Xt[S+"2"],Xt[W][3]=Xt[S+"3"],Xt[W][4]=Xt[S+"4"],Xt[W][5]=Xt[S+"5"],Xt[W][6]=Xt[S+"6"],Xt[W][7]=Xt[S+"7"],Xt[W][8]=Xt[S+"8"],Xt[W][9]=Xt[S+"9"],Xt[W][10]=Xt[S+"10"],Xt[W][11]=Xt[S+"11"],Xt[W][12]=Xt[S+"12"],Xt[W][13]=Xt[S+"13"],Xt[W][14]=Xt[S+"0"],Xt[W][15]=Xt[S+"0"]}function Zs(S){return S==eg||S==tg||S==x1||S==rg}function la(){this.eb=[],this.size=this.A=this.fb=0}function fl(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Na(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new la,this.f.kb=new fl,this.sd=null}function zs(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function _o(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Vh(S){return alert("todo:WebPSamplerProcessPlane"),S.T}function ju(S,W){var ye=S.T,Me=W.ba.f.RGBA,qe=Me.eb,at=Me.fb+S.ka*Me.A,At=gc[W.ba.S],wt=S.y,xt=S.O,Qt=S.f,br=S.N,Zr=S.ea,jt=S.W,Sr=W.cc,jr=W.dc,dn=W.Mc,Vr=W.Nc,yn=S.ka,_n=S.ka+S.T,jn=S.U,Rn=jn+1>>1;for(yn==0?At(wt,xt,null,null,Qt,br,Zr,jt,Qt,br,Zr,jt,qe,at,null,null,jn):(At(W.ec,W.fc,wt,xt,Sr,jr,dn,Vr,Qt,br,Zr,jt,qe,at-Me.A,qe,at,jn),++ye);yn+2<_n;yn+=2)Sr=Qt,jr=br,dn=Zr,Vr=jt,br+=S.Rc,jt+=S.Rc,at+=2*Me.A,At(wt,(xt+=2*S.fa)-S.fa,wt,xt,Sr,jr,dn,Vr,Qt,br,Zr,jt,qe,at-Me.A,qe,at,jn);return xt+=S.fa,S.j+_nye,qe=ye==b1||ye==E1||ye==_1||ye==$1||ye==12||Zs(ye);if(W.memory=null,W.Ib=null,W.Jb=null,W.Nd=null,!Op(W.Oa,S,qe?11:12))return 0;if(qe&&Zs(ye)&&kp(),S.da)alert("todo:use_scaling");else{if(Me){if(W.Ib=Vh,S.Kb){if(ye=S.U+1>>1,W.memory=_(S.U+2*ye),W.memory==null)return 0;W.ec=W.memory,W.fc=0,W.cc=W.ec,W.dc=W.fc+S.U,W.Mc=W.cc,W.Nc=W.dc+ye,W.Ib=ju,kp()}}else alert("todo:EmitYUV");qe&&(W.Jb=H0,Me&&Nc())}if(Me&&!Qg){for(S=0;256>S;++S)xm[S]=89858*(S-128)+C1>>B1,Sm[S]=-22014*(S-128)+C1,Cm[S]=-45773*(S-128),Bm[S]=113618*(S-128)+C1>>B1;for(S=Vp;S>B1,Im[S-Vp]=o0(W,255),Tm[S-Vp]=o0(W+8>>4,15);Qg=1}return 1}function Ks(S){var W=S.ma,ye=S.U,Me=S.T;return a(!(1&S.ka)),0>=ye||0>=Me?0:(ye=W.Ib(S,W),W.Jb!=null&&W.Jb(S,W,ye),W.Dc+=ye,1)}function z0(S){S.ma.memory=null}function K0(S,W,ye,Me){return Ln(S,8)!=47?0:(W[0]=Ln(S,14)+1,ye[0]=Ln(S,14)+1,Me[0]=Ln(S,1),Ln(S,3)!=0?0:!S.h)}function lc(S,W){if(4>S)return S+1;var ye=S-2>>1;return(2+(1&S)<>4)*S+(8-(15&ye)))?ye:1;var ye}function xl(S,W,ye){var Me=rr(ye),qe=S[W+=255&Me].g-8;return 0>>0,a(8>=ye.g),S.g}function Su(S,W,ye){var Me=S.xc;return a((W=Me==0?0:S.vc[S.md*(ye>>Me)+(W>>Me)])>Ji.b)*Qi;dnjn&&(qi=jn),(0,Qp[Ya[lu++]>>8&15])(jt,Sr+ +ba,yn,_n+ba-jn,qi-ba,yn,_n+ba),ba=qi}Sr+=jn,_n+=jn,++dn&ss||(Ji+=Qi)}Zr!=Qt.nc&&c(xt,wt-jr,xt,wt+(Zr-br-1)*jr,jr);break;case 1:for(jr=jt,Vr=Sr,jn=(jt=Qt.Ea)-(_n=jt&~(yn=(Sr=1<>Qt.b)*dn;br=qe),0at.o&&(Me=at.o),ye=Me?ye=0:(qe[0]+=4*at.v,at.ka=ye-at.j,at.U=at.va-at.v,at.T=Me-ye,ye=1),ye){if(wt=wt[0],11>(ye=S.ca).S){var br=ye.f.RGBA,Zr=(Me=ye.S,qe=at.U,at=at.T,Qt=br.eb,br.A),jt=at;for(br=br.fb+S.Ma*br.A;0Me){var qe=S.l.width,at=ye.ca,At=ye.tb+qe*Me,wt=S.V,xt=S.Ba+S.c*Me,Qt=S.gc;a(S.ab==1),a(Qt[0].hc==3),c0(Qt[0],Me,W,wt,xt,at,At),s0(ye,Me,W,at,At,qe)}S.C=S.Ma=W}function Mc(S,W,ye,Me,qe,at,At){var wt=S.$/Me,xt=S.$%Me,Qt=S.m,br=S.s,Zr=ye+S.$,jt=Zr;qe=ye+Me*qe;var Sr=ye+Me*at,jr=280+br.ua,dn=S.Pb?wt:16777216,Vr=0=dn){var ss=Zr-ye;a((dn=S).Pb),dn.wd=dn.m,dn.xd=ss,0wa.g?(Fr(Rn,Rn.u+wa.g),ss[Qi]=wa.value,Rn=0):(Fr(Rn,Rn.u+wa.g-256),a(256<=wa.value),Rn=wa.value),Rn==0&&(jn=!0)}else Rn=xl(_n.G[0],_n.H[0],Qt);if(Qt.h)break;if(jn||256>Rn){if(!jn)if(_n.nd)W[Zr]=(_n.qb|Rn<<8)>>>0;else{if(zr(Qt),jn=xl(_n.G[1],_n.H[1],Qt),zr(Qt),ss=xl(_n.G[2],_n.H[2],Qt),Qi=xl(_n.G[3],_n.H[3],Qt),Qt.h)break;W[Zr]=(Qi<<24|jn<<16|Rn<<8|ss)>>>0}if(jn=!1,++Zr,++xt>=Me&&(xt=0,++wt,At!=null&&wt<=at&&!(wt%16)&&At(S,wt),Vr!=null))for(;jt>>Vr.Mb]=Rn}else if(280>Rn){if(Rn=lc(Rn-256,Qt),ss=xl(_n.G[4],_n.H[4],Qt),zr(Qt),ss=uc(Me,ss=lc(ss,Qt)),Qt.h)break;if(Zr-ye=Me;)xt-=Me,++wt,At!=null&&wt<=at&&!(wt%16)&&At(S,wt);if(a(Zr<=qe),xt&yn&&(_n=Su(br,xt,wt)),Vr!=null)for(;jt>>Vr.Mb]=Rn}else{if(!(Rn>>Vr.Mb]=Rn;Rn=Zr,a(!(jn>>>(ss=Vr).Xa)),W[Rn]=ss.X[jn],jn=!0}jn||a(Qt.h==vr(Qt))}if(S.Pb&&Qt.h&&Zrat?at:wt),S.a=0,S.$=Zr-ye}return 1}return S.a=3,0}function Ac(S){a(S!=null),S.vc=null,S.yc=null,S.Ya=null;var W=S.Wa;W!=null&&(W.X=null),S.vb=null,a(S!=null)}function Zh(){var S=new ta;return S==null?null:(S.a=0,S.xb=Rg,Wo("Predictor","VP8LPredictors"),Wo("Predictor","VP8LPredictors_C"),Wo("PredictorAdd","VP8LPredictorsAdd"),Wo("PredictorAdd","VP8LPredictorsAdd_C"),kl=ja,jp=ha,Hp=Ll,Xf=ro,Jf=Fa,qf=Da,od=cl,Xt.VP8LMapColor32b=A0,Xt.VP8LMapColor8b=Pp,S)}function a0(S,W,ye,Me,qe){var at=1,At=[S],wt=[W],xt=Me.m,Qt=Me.s,br=null,Zr=0;e:for(;;){if(ye)for(;at&&Ln(xt,1);){var jt=At,Sr=wt,jr=Me,dn=1,Vr=jr.m,yn=jr.gc[jr.ab],_n=Ln(Vr,2);if(jr.Oc&1<<_n)at=0;else{switch(jr.Oc|=1<<_n,yn.hc=_n,yn.Ea=jt[0],yn.nc=Sr[0],yn.K=[null],++jr.ab,a(4>=jr.ab),_n){case 0:case 1:yn.b=Ln(Vr,3)+2,dn=a0(Un(yn.Ea,yn.b),Un(yn.nc,yn.b),0,jr,yn.K),yn.K=yn.K[0];break;case 3:var jn,Rn=Ln(Vr,8)+1,ss=16>Ji.b),lu=_(Ya);if(lu==null)jn=0;else{var ba=Ji.K[0],qi=Ji.w;for(lu[0]=Ji.K[0][0],Qi=1;Qi<1*wa;++Qi)lu[Qi]=js(ba[qi+Qi],lu[Qi-1]);for(;Qi<4*Ya;++Qi)lu[Qi]=0;Ji.K[0]=null,Ji.K[0]=lu,jn=1}}dn=jn;break;case 2:break;default:a(0)}at=dn}}if(At=At[0],wt=wt[0],at&&Ln(xt,1)&&!(at=1<=(Zr=Ln(xt,4))&&11>=Zr)){Me.a=3;break e}var si;if(si=at)t:{var Ml,ua,qa,il=Me,Fu=At,tA=wt,Bl=Zr,Hu=ye,rA=il.m,uu=il.s,io=[null],Co=1,Cl=0,So=cm[Bl];r:for(;;){if(Hu&&Ln(rA,1)){var Du=Ln(rA,3)+2,Pc=Un(Fu,Du),Ol=Un(tA,Du),vA=Pc*Ol;if(!a0(Pc,Ol,0,il,io))break r;for(io=io[0],uu.xc=Du,Ml=0;Ml>8&65535;io[Ml]=jo,jo>=Co&&(Co=jo+1)}}if(rA.h)break r;for(ua=0;5>ua;++ua){var Au=Lg[ua];!ua&&0=nA),KA=zA;var yA=_(Cl);if(KA==null||yA==null||HA==null){il.a=1;break r}var GA=HA;for(Ml=qa=0;Mlua;++ua){Au=Lg[ua],VA[ua]=GA,Qc[ua]=qa,!ua&&0L1)break n}else lg=L1;for(Zp=0;Zp$d)Wg[Zp++]=$d,$d!=0&&(Zg=$d);else{var Pm=$d==16,Jg=$d-16,Qm=om[Jg],qg=Ln(nh,am[Jg])+Qm;if(Zp+qg>L1)break n;for(var jm=Pm?Zg:0;0=ua){var Yp,Ag=yA[0];for(Yp=1;YpAg&&(Ag=yA[Yp]);Lu+=Ag}}if(Yo.nd=sf,Yo.Qb=0,sf&&(Yo.qb=(VA[3][Qc[3]+0].value<<24|VA[1][Qc[1]+0].value<<16|VA[2][Qc[2]+0].value)>>>0,ud==0&&256>VA[0][Qc[0]+0].value&&(Yo.Qb=1,Yo.qb+=VA[0][Qc[0]+0].value<<8)),Yo.jc=!Yo.Qb&&6>Lu,Yo.jc){var k1,af=Yo;for(k1=0;k1>=yu(R1,8,sh),ih>>=yu(af.G[1][af.H[1]+ih],16,sh),ih>>=yu(af.G[2][af.H[2]+ih],0,sh),yu(af.G[3][af.H[3]+ih],24,sh))}}}uu.vc=io,uu.Wb=Co,uu.Ya=KA,uu.yc=HA,si=1;break t}si=0}if(!(at=si)){Me.a=3;break e}if(0Me+1?[]:0),!(qe.lengthS?0:S>W?W:S}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function N1(){var S=new i1;return S!=null&&(S.a=0,S.sc="OK",S.cb=0,S.Xb=0,Gp||(Gp=Gd)),S}function Zl(S,W,ye){return S.a==0&&(S.a=W,S.sc=ye,S.cb=0),0}function s1(S,W,ye){return 3<=ye&&S[W+0]==157&&S[W+1]==1&&S[W+2]==42}function l0(S,W){if(S==null)return 0;if(S.a=0,S.sc="OK",W==null)return Zl(S,2,"null VP8Io passed to VP8GetHeaders()");var ye=W.data,Me=W.w,qe=W.ha;if(4>qe)return Zl(S,7,"Truncated header.");var at=ye[Me+0]|ye[Me+1]<<8|ye[Me+2]<<16,At=S.Od;if(At.Rb=!(1&at),At.td=at>>1&7,At.yd=at>>4&1,At.ub=at>>5,3qe)return Zl(S,7,"cannot parse picture header");if(!s1(ye,Me,qe))return Zl(S,3,"Bad code word");wt.c=16383&(ye[Me+4]<<8|ye[Me+3]),wt.Td=ye[Me+4]>>6,wt.i=16383&(ye[Me+6]<<8|ye[Me+5]),wt.Ud=ye[Me+6]>>6,Me+=7,qe-=7,S.za=wt.c+15>>4,S.Ub=wt.i+15>>4,W.width=wt.c,W.height=wt.i,W.Da=0,W.j=0,W.v=0,W.va=W.width,W.o=W.height,W.da=0,W.ib=W.width,W.hb=W.height,W.U=W.width,W.T=W.height,g((at=S.Pa).jb,0,255,at.jb.length),a((at=S.Qa)!=null),at.Cb=0,at.Bb=0,at.Fb=1,g(at.Zb,0,0,at.Zb.length),g(at.Lb,0,0,at.Lb)}if(At.ub>qe)return Zl(S,7,"bad partition length");nn(at=S.m,ye,Me,At.ub),Me+=At.ub,qe-=At.ub,At.Rb&&(wt.Ld=un(at),wt.Kd=un(at)),wt=S.Qa;var xt,Qt=S.Pa;if(a(at!=null),a(wt!=null),wt.Cb=un(at),wt.Cb){if(wt.Bb=un(at),un(at)){for(wt.Fb=un(at),xt=0;4>xt;++xt)wt.Zb[xt]=un(at)?Wr(at,7):0;for(xt=0;4>xt;++xt)wt.Lb[xt]=un(at)?Wr(at,6):0}if(wt.Bb)for(xt=0;3>xt;++xt)Qt.jb[xt]=un(at)?on(at,8):255}else wt.Bb=0;if(at.Ka)return Zl(S,3,"cannot parse segment header");if((wt=S.ed).zd=un(at),wt.Tb=on(at,6),wt.wb=on(at,3),wt.Pc=un(at),wt.Pc&&un(at)){for(Qt=0;4>Qt;++Qt)un(at)&&(wt.vd[Qt]=Wr(at,6));for(Qt=0;4>Qt;++Qt)un(at)&&(wt.od[Qt]=Wr(at,6))}if(S.L=wt.Tb==0?0:wt.zd?1:2,at.Ka)return Zl(S,3,"cannot parse filter header");var br=qe;if(qe=xt=Me,Me=xt+br,wt=br,S.Xb=(1<wt&&(Zr=wt),nn(S.Jc[+br],ye,xt,Zr),xt+=Zr,wt-=Zr,qe+=3}nn(S.Jc[+Qt],ye,xt,wt),ye=xtZr;++Zr){if(br.Cb){var jt=br.Zb[Zr];br.Fb||(jt+=ye)}else{if(0>16,8>Sr.Eb[1]&&(Sr.Eb[1]=8),Sr.Qc[0]=ng[o0(jt+Qt,117)],Sr.Qc[1]=ig[o0(jt+xt,127)],Sr.lc=jt+xt}if(!At.Rb)return Zl(S,4,"Not a key frame.");for(un(at),At=S.Pa,ye=0;4>ye;++ye){for(qe=0;8>qe;++qe)for(Me=0;3>Me;++Me)for(wt=0;11>wt;++wt)Qt=Bn(at,mm[ye][qe][Me][wt])?on(at,8):pm[ye][qe][Me][wt],At.Wc[ye][qe].Yb[Me][wt]=Qt;for(qe=0;17>qe;++qe)At.Xc[ye][qe]=At.Wc[ye][vm[qe]]}return S.kc=un(at),S.kc&&(S.Bd=on(at,8)),S.cb=1}function Gd(S,W,ye,Me,qe,at,At){var wt=W[qe].Yb[ye];for(ye=0;16>qe;++qe){if(!Bn(S,wt[ye+0]))return qe;for(;!Bn(S,wt[ye+1]);)if(wt=W[++qe].Yb[0],ye=0,qe==16)return 16;var xt=W[qe+1].Yb;if(Bn(S,wt[ye+2])){var Qt=S,br=0;if(Bn(Qt,(jt=wt)[(Zr=ye)+3]))if(Bn(Qt,jt[Zr+6])){for(wt=0,Zr=2*(br=Bn(Qt,jt[Zr+8]))+(jt=Bn(Qt,jt[Zr+9+br])),br=0,jt=hm[Zr];jt[wt];++wt)br+=br+Bn(Qt,jt[wt]);br+=3+(8<(Qt=S).b&&an(Qt);var Zr,jt=Qt.b,Sr=(Zr=Qt.Ca>>1)-(Qt.I>>jt)>>31;--Qt.b,Qt.Ca+=Sr,Qt.Ca|=1,Qt.I-=(Zr+1&Sr)<>3),S[W+ye+32*Me]=-256&qe?0>qe?0:255:qe}function su(S,W,ye,Me,qe,at){fc(S,W,0,ye,Me+qe),fc(S,W,1,ye,Me+at),fc(S,W,2,ye,Me-at),fc(S,W,3,ye,Me-qe)}function G0(S){return(20091*S>>16)+S}function o1(S,W,ye,Me){var qe,at=0,At=_(16);for(qe=0;4>qe;++qe){var wt=S[W+0]+S[W+8],xt=S[W+0]-S[W+8],Qt=(35468*S[W+4]>>16)-G0(S[W+12]),br=G0(S[W+4])+(35468*S[W+12]>>16);At[at+0]=wt+br,At[at+1]=xt+Qt,At[at+2]=xt-Qt,At[at+3]=wt-br,at+=4,W++}for(qe=at=0;4>qe;++qe)wt=(S=At[at+0]+4)+At[at+8],xt=S-At[at+8],Qt=(35468*At[at+4]>>16)-G0(At[at+12]),fc(ye,Me,0,0,wt+(br=G0(At[at+4])+(35468*At[at+12]>>16))),fc(ye,Me,1,0,xt+Qt),fc(ye,Me,2,0,xt-Qt),fc(ye,Me,3,0,wt-br),at++,Me+=32}function U1(S,W,ye,Me){var qe=S[W+0]+4,at=35468*S[W+4]>>16,At=G0(S[W+4]),wt=35468*S[W+1]>>16;su(ye,Me,0,qe+At,S=G0(S[W+1]),wt),su(ye,Me,1,qe+at,S,wt),su(ye,Me,2,qe-at,S,wt),su(ye,Me,3,qe-At,S,wt)}function P1(S,W,ye,Me,qe){o1(S,W,ye,Me),qe&&o1(S,W+16,ye,Me+4)}function u0(S,W,ye,Me){ld(S,W+0,ye,Me,1),ld(S,W+32,ye,Me+128,1)}function l1(S,W,ye,Me){var qe;for(S=S[W+0]+4,qe=0;4>qe;++qe)for(W=0;4>W;++W)fc(ye,Me,W,qe,S)}function u1(S,W,ye,Me){S[W+0]&&xo(S,W+0,ye,Me),S[W+16]&&xo(S,W+16,ye,Me+4),S[W+32]&&xo(S,W+32,ye,Me+128),S[W+48]&&xo(S,W+48,ye,Me+128+4)}function Vd(S,W,ye,Me){var qe,at=_(16);for(qe=0;4>qe;++qe){var At=S[W+0+qe]+S[W+12+qe],wt=S[W+4+qe]+S[W+8+qe],xt=S[W+4+qe]-S[W+8+qe],Qt=S[W+0+qe]-S[W+12+qe];at[0+qe]=At+wt,at[8+qe]=At-wt,at[4+qe]=Qt+xt,at[12+qe]=Qt-xt}for(qe=0;4>qe;++qe)At=(S=at[0+4*qe]+3)+at[3+4*qe],wt=at[1+4*qe]+at[2+4*qe],xt=at[1+4*qe]-at[2+4*qe],Qt=S-at[3+4*qe],ye[Me+0]=At+wt>>3,ye[Me+16]=Qt+xt>>3,ye[Me+32]=At-wt>>3,ye[Me+48]=Qt-xt>>3,Me+=64}function Xh(S,W,ye){var Me,qe=W-32,at=jA,At=255-S[qe-1];for(Me=0;Meye;++ye)c(S,W+32*ye,S,W-32,16)}function A1(S,W){var ye;for(ye=16;0Me;++Me)g(W,ye+32*Me,S,16)}function z1(S,W){var ye,Me=16;for(ye=0;16>ye;++ye)Me+=S[W-1+32*ye]+S[W+ye-32];Oc(Me>>5,S,W)}function Jh(S,W){var ye,Me=8;for(ye=0;16>ye;++ye)Me+=S[W-1+32*ye];Oc(Me>>4,S,W)}function Cp(S,W){var ye,Me=8;for(ye=0;16>ye;++ye)Me+=S[W+ye-32];Oc(Me>>4,S,W)}function K1(S,W){Oc(128,S,W)}function ia(S,W,ye){return S+2*W+ye+2>>2}function G1(S,W){var ye,Me=W-32;for(Me=new Uint8Array([ia(S[Me-1],S[Me+0],S[Me+1]),ia(S[Me+0],S[Me+1],S[Me+2]),ia(S[Me+1],S[Me+2],S[Me+3]),ia(S[Me+2],S[Me+3],S[Me+4])]),ye=0;4>ye;++ye)c(S,W+32*ye,Me,0,Me.length)}function V1(S,W){var ye=S[W-1],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1+96];Hn(S,W+0,16843009*ia(S[W-1-32],ye,Me)),Hn(S,W+32,16843009*ia(ye,Me,qe)),Hn(S,W+64,16843009*ia(Me,qe,at)),Hn(S,W+96,16843009*ia(qe,at,at))}function W1(S,W){var ye,Me=4;for(ye=0;4>ye;++ye)Me+=S[W+ye-32]+S[W-1+32*ye];for(Me>>=3,ye=0;4>ye;++ye)g(S,W+32*ye,Me,4)}function V0(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1-32],At=S[W+0-32],wt=S[W+1-32],xt=S[W+2-32],Qt=S[W+3-32];S[W+0+96]=ia(Me,qe,S[W-1+96]),S[W+1+96]=S[W+0+64]=ia(ye,Me,qe),S[W+2+96]=S[W+1+64]=S[W+0+32]=ia(at,ye,Me),S[W+3+96]=S[W+2+64]=S[W+1+32]=S[W+0+0]=ia(At,at,ye),S[W+3+64]=S[W+2+32]=S[W+1+0]=ia(wt,At,at),S[W+3+32]=S[W+2+0]=ia(xt,wt,At),S[W+3+0]=ia(Qt,xt,wt)}function W0(S,W){var ye=S[W+1-32],Me=S[W+2-32],qe=S[W+3-32],at=S[W+4-32],At=S[W+5-32],wt=S[W+6-32],xt=S[W+7-32];S[W+0+0]=ia(S[W+0-32],ye,Me),S[W+1+0]=S[W+0+32]=ia(ye,Me,qe),S[W+2+0]=S[W+1+32]=S[W+0+64]=ia(Me,qe,at),S[W+3+0]=S[W+2+32]=S[W+1+64]=S[W+0+96]=ia(qe,at,At),S[W+3+32]=S[W+2+64]=S[W+1+96]=ia(at,At,wt),S[W+3+64]=S[W+2+96]=ia(At,wt,xt),S[W+3+96]=ia(wt,xt,xt)}function Z1(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1-32],At=S[W+0-32],wt=S[W+1-32],xt=S[W+2-32],Qt=S[W+3-32];S[W+0+0]=S[W+1+64]=at+At+1>>1,S[W+1+0]=S[W+2+64]=At+wt+1>>1,S[W+2+0]=S[W+3+64]=wt+xt+1>>1,S[W+3+0]=xt+Qt+1>>1,S[W+0+96]=ia(qe,Me,ye),S[W+0+64]=ia(Me,ye,at),S[W+0+32]=S[W+1+96]=ia(ye,at,At),S[W+1+32]=S[W+2+96]=ia(at,At,wt),S[W+2+32]=S[W+3+96]=ia(At,wt,xt),S[W+3+32]=ia(wt,xt,Qt)}function Y1(S,W){var ye=S[W+0-32],Me=S[W+1-32],qe=S[W+2-32],at=S[W+3-32],At=S[W+4-32],wt=S[W+5-32],xt=S[W+6-32],Qt=S[W+7-32];S[W+0+0]=ye+Me+1>>1,S[W+1+0]=S[W+0+64]=Me+qe+1>>1,S[W+2+0]=S[W+1+64]=qe+at+1>>1,S[W+3+0]=S[W+2+64]=at+At+1>>1,S[W+0+32]=ia(ye,Me,qe),S[W+1+32]=S[W+0+96]=ia(Me,qe,at),S[W+2+32]=S[W+1+96]=ia(qe,at,At),S[W+3+32]=S[W+2+96]=ia(at,At,wt),S[W+3+64]=ia(At,wt,xt),S[W+3+96]=ia(wt,xt,Qt)}function Wd(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1+96];S[W+0+0]=ye+Me+1>>1,S[W+2+0]=S[W+0+32]=Me+qe+1>>1,S[W+2+32]=S[W+0+64]=qe+at+1>>1,S[W+1+0]=ia(ye,Me,qe),S[W+3+0]=S[W+1+32]=ia(Me,qe,at),S[W+3+32]=S[W+1+64]=ia(qe,at,at),S[W+3+64]=S[W+2+64]=S[W+0+96]=S[W+1+96]=S[W+2+96]=S[W+3+96]=at}function Sp(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1+96],At=S[W-1-32],wt=S[W+0-32],xt=S[W+1-32],Qt=S[W+2-32];S[W+0+0]=S[W+2+32]=ye+At+1>>1,S[W+0+32]=S[W+2+64]=Me+ye+1>>1,S[W+0+64]=S[W+2+96]=qe+Me+1>>1,S[W+0+96]=at+qe+1>>1,S[W+3+0]=ia(wt,xt,Qt),S[W+2+0]=ia(At,wt,xt),S[W+1+0]=S[W+3+32]=ia(ye,At,wt),S[W+1+32]=S[W+3+64]=ia(Me,ye,At),S[W+1+64]=S[W+3+96]=ia(qe,Me,ye),S[W+1+96]=ia(at,qe,Me)}function qh(S,W){var ye;for(ye=0;8>ye;++ye)c(S,W+32*ye,S,W-32,8)}function X1(S,W){var ye;for(ye=0;8>ye;++ye)g(S,W,S[W-1],8),W+=32}function Z0(S,W,ye){var Me;for(Me=0;8>Me;++Me)g(W,ye+32*Me,S,8)}function J1(S,W){var ye,Me=8;for(ye=0;8>ye;++ye)Me+=S[W+ye-32]+S[W-1+32*ye];Z0(Me>>4,S,W)}function Ip(S,W){var ye,Me=4;for(ye=0;8>ye;++ye)Me+=S[W+ye-32];Z0(Me>>3,S,W)}function Tp(S,W){var ye,Me=4;for(ye=0;8>ye;++ye)Me+=S[W-1+32*ye];Z0(Me>>3,S,W)}function c1(S,W){Z0(128,S,W)}function Y0(S,W,ye){var Me=S[W-ye],qe=S[W+0],at=3*(qe-Me)+q1[1020+S[W-2*ye]-S[W+ye]],At=y1[112+(at+4>>3)];S[W-ye]=jA[255+Me+y1[112+(at+3>>3)]],S[W+0]=jA[255+qe-At]}function Fp(S,W,ye,Me){var qe=S[W+0],at=S[W+ye];return pc[255+S[W-2*ye]-S[W-ye]]>Me||pc[255+at-qe]>Me}function Zd(S,W,ye,Me){return 4*pc[255+S[W-ye]-S[W+0]]+pc[255+S[W-2*ye]-S[W+ye]]<=Me}function Dp(S,W,ye,Me,qe){var at=S[W-3*ye],At=S[W-2*ye],wt=S[W-ye],xt=S[W+0],Qt=S[W+ye],br=S[W+2*ye],Zr=S[W+3*ye];return 4*pc[255+wt-xt]+pc[255+At-Qt]>Me?0:pc[255+S[W-4*ye]-at]<=qe&&pc[255+at-At]<=qe&&pc[255+At-wt]<=qe&&pc[255+Zr-br]<=qe&&pc[255+br-Qt]<=qe&&pc[255+Qt-xt]<=qe}function $h(S,W,ye,Me){var qe=2*Me+1;for(Me=0;16>Me;++Me)Zd(S,W+Me,ye,qe)&&Y0(S,W+Me,ye)}function Lp(S,W,ye,Me){var qe=2*Me+1;for(Me=0;16>Me;++Me)Zd(S,W+Me*ye,1,qe)&&Y0(S,W+Me*ye,1)}function f1(S,W,ye,Me){var qe;for(qe=3;0>7,yn=18*_n+63>>7,_n=9*_n+63>>7;xt[Qt-3*br]=jA[255+xt[Qt-3*br]+_n],xt[Qt-2*br]=jA[255+Zr+yn],xt[Qt-br]=jA[255+jt+Vr],xt[Qt+0]=jA[255+Sr-Vr],xt[Qt+br]=jA[255+jr-yn],xt[Qt+2*br]=jA[255+dn-_n]}W+=Me}}function J0(S,W,ye,Me,qe,at,At,wt){for(at=2*at+1;0>3)],dn=y1[112+(dn+3>>3)],Vr=jr+1>>1;xt[Qt-2*br]=jA[255+xt[Qt-2*br]+Vr],xt[Qt-br]=jA[255+Zr+dn],xt[Qt+0]=jA[255+jt-jr],xt[Qt+br]=jA[255+Sr-Vr]}W+=Me}}function d1(S,W,ye,Me,qe,at){X0(S,W,ye,1,16,Me,qe,at)}function ed(S,W,ye,Me,qe,at){X0(S,W,1,ye,16,Me,qe,at)}function p1(S,W,ye,Me,qe,at){var At;for(At=3;0Qt?0:255:Qt)&255,Qt=xt,qe[at+wt]=br}}function Zo(S,W,ye,Me){var qe=W.width,at=W.o;if(a(S!=null&&W!=null),0>ye||0>=Me||ye+Me>at)return null;if(!S.Cc){if(S.ga==null){var At;if(S.ga=new da,(At=S.ga==null)||(At=W.width*W.o,a(S.Gb.length==0),S.Gb=_(At),S.Uc=0,S.Gb==null?At=0:(S.mb=S.Gb,S.nb=S.Uc,S.rc=null,At=1),At=!At),!At){At=S.ga;var wt=S.Fa,xt=S.P,Qt=S.qc,br=S.mb,Zr=S.nb,jt=xt+1,Sr=Qt-1,jr=At.l;if(a(wt!=null&&br!=null&&W!=null),th[0]=null,th[1]=no,th[2]=yl,th[3]=Yl,At.ca=br,At.tb=Zr,At.c=W.width,At.i=W.height,a(0=Qt)W=0;else if(At.$a=3&wt[xt+0],At.Z=wt[xt+0]>>2&3,At.Lc=wt[xt+0]>>4&3,xt=wt[xt+0]>>6&3,0>At.$a||1=At.c*At.i;At=!W}if(At)return null;S.ga.Lc!=1?S.Ga=0:Me=at-ye}a(S.ga!=null),a(ye+Me<=at);e:{if(W=(wt=S.ga).c,at=wt.l.o,wt.$a==0){if(jt=S.rc,Sr=S.Vc,jr=S.Fa,xt=S.P+1+ye*W,Qt=S.mb,br=S.nb+ye*W,a(xt<=S.P+S.qc),wt.Z!=0)for(a(th[wt.Z]!=null),At=0;At=W)W=1;else if(wt.ic||Nc(),wt.ic){wt=At.V,jt=At.Ba,Sr=At.c;var dn=At.i,Vr=(jr=1,xt=At.$/Sr,Qt=At.$%Sr,br=At.m,Zr=At.s,At.$),yn=Sr*dn,_n=Sr*W,jn=Zr.wc,Rn=Vr<_n?Su(Zr,Qt,xt):null;a(Vr<=yn),a(W<=dn),a(kc(Zr));t:for(;;){for(;!br.h&&Vr<_n;){if(Qt&jn||(Rn=Su(Zr,Qt,xt)),a(Rn!=null),zr(br),256>(dn=xl(Rn.G[0],Rn.H[0],br)))wt[jt+Vr]=dn,++Vr,++Qt>=Sr&&(Qt=0,++xt<=W&&!(xt%16)&&Rc(At,xt));else{if(!(280>dn)){jr=0;break t}dn=lc(dn-256,br);var ss,Qi=xl(Rn.G[4],Rn.H[4],br);if(zr(br),!(Vr>=(Qi=uc(Sr,Qi=lc(Qi,br)))&&yn-Vr>=dn)){jr=0;break t}for(ss=0;ss=Sr;)Qt-=Sr,++xt<=W&&!(xt%16)&&Rc(At,xt);Vr<_n&&Qt&jn&&(Rn=Su(Zr,Qt,xt))}a(br.h==vr(br))}Rc(At,xt>W?W:xt);break t}!jr||br.h&&Vr=at&&(S.Cc=1),Me=1}if(!Me)return null;if(S.Cc&&((Me=S.ga)!=null&&(Me.mc=null),S.ga=null,0>23,wt[xt+4*At+1]=wt[xt+4*At+1]*Zr>>23,wt[xt+4*At+2]=wt[xt+4*At+2]*Zr>>23)}W+=at}}function Xl(S,W,ye,Me,qe){for(;0>4)*xt>>16;S[W+2*at+0]=(240&At|At>>4)*xt>>16&240|(15&At|At<<4)*xt>>16>>4&15,S[W+2*at+1]=240&Qt|wt}W+=qe}}function Iu(S,W,ye,Me,qe,at,At,wt){var xt,Qt,br=255;for(Qt=0;Qt>8}function Nc(){Kp=au,Eg=Xl,_g=Iu,xg=q0}function $0(S,W,ye){Xt[S]=function(Me,qe,at,At,wt,xt,Qt,br,Zr,jt,Sr,jr,dn,Vr,yn,_n,jn){var Rn,ss=jn-1>>1,Qi=wt[xt+0]|Qt[br+0]<<16,wa=Zr[jt+0]|Sr[jr+0]<<16;a(Me!=null);var Ji=3*Qi+wa+131074>>2;for(W(Me[qe+0],255&Ji,Ji>>16,dn,Vr),at!=null&&(Ji=3*wa+Qi+131074>>2,W(at[At+0],255&Ji,Ji>>16,yn,_n)),Rn=1;Rn<=ss;++Rn){var Ya=wt[xt+Rn]|Qt[br+Rn]<<16,lu=Zr[jt+Rn]|Sr[jr+Rn]<<16,ba=Qi+Ya+wa+lu+524296,qi=ba+2*(Ya+wa)>>3;Ji=qi+Qi>>1,Qi=(ba=ba+2*(Qi+lu)>>3)+Ya>>1,W(Me[qe+2*Rn-1],255&Ji,Ji>>16,dn,Vr+(2*Rn-1)*ye),W(Me[qe+2*Rn-0],255&Qi,Qi>>16,dn,Vr+(2*Rn-0)*ye),at!=null&&(Ji=ba+wa>>1,Qi=qi+lu>>1,W(at[At+2*Rn-1],255&Ji,Ji>>16,yn,_n+(2*Rn-1)*ye),W(at[At+2*Rn+0],255&Qi,Qi>>16,yn,_n+(2*Rn+0)*ye)),Qi=Ya,wa=lu}1&jn||(Ji=3*Qi+wa+131074>>2,W(Me[qe+jn-1],255&Ji,Ji>>16,dn,Vr+(jn-1)*ye),at!=null&&(Ji=3*wa+Qi+131074>>2,W(at[At+jn-1],255&Ji,Ji>>16,yn,_n+(jn-1)*ye)))}}function kp(){gc[w1]=wm,gc[b1]=Mg,gc[Fg]=bm,gc[E1]=Og,gc[_1]=Ng,gc[$1]=Ug,gc[Dg]=Em,gc[eg]=Mg,gc[tg]=Og,gc[x1]=Ng,gc[rg]=Ug}function Yd(S){return S&~_m?0>S?0:255:S>>Pg}function Gf(S,W){return Yd((19077*S>>8)+(26149*W>>8)-14234)}function td(S,W,ye){return Yd((19077*S>>8)-(6419*W>>8)-(13320*ye>>8)+8708)}function rd(S,W){return Yd((19077*S>>8)+(33050*W>>8)-17685)}function Vf(S,W,ye,Me,qe){Me[qe+0]=Gf(S,ye),Me[qe+1]=td(S,W,ye),Me[qe+2]=rd(S,W)}function Tu(S,W,ye,Me,qe){Me[qe+0]=rd(S,W),Me[qe+1]=td(S,W,ye),Me[qe+2]=Gf(S,ye)}function nd(S,W,ye,Me,qe){var at=td(S,W,ye);W=at<<3&224|rd(S,W)>>3,Me[qe+0]=248&Gf(S,ye)|at>>5,Me[qe+1]=W}function id(S,W,ye,Me,qe){var at=240&rd(S,W)|15;Me[qe+0]=240&Gf(S,ye)|td(S,W,ye)>>4,Me[qe+1]=at}function Rp(S,W,ye,Me,qe){Me[qe+0]=255,Vf(S,W,ye,Me,qe+1)}function Mp(S,W,ye,Me,qe){Tu(S,W,ye,Me,qe),Me[qe+3]=255}function eA(S,W,ye,Me,qe){Vf(S,W,ye,Me,qe),Me[qe+3]=255}function ef(S,W,ye){Xt[S]=function(Me,qe,at,At,wt,xt,Qt,br,Zr){for(var jt=br+(-2&Zr)*ye;br!=jt;)W(Me[qe+0],at[At+0],wt[xt+0],Qt,br),W(Me[qe+1],at[At+0],wt[xt+0],Qt,br+ye),qe+=2,++At,++xt,br+=2*ye;1&Zr&&W(Me[qe+0],at[At+0],wt[xt+0],Qt,br)}}function Xd(S,W,ye){return ye==0?S==0?W==0?6:5:W==0?4:0:ye}function g1(S,W,ye,Me,qe){switch(S>>>30){case 3:ld(W,ye,Me,qe,0);break;case 2:dc(W,ye,Me,qe);break;case 1:xo(W,ye,Me,qe)}}function hc(S,W){var ye,Me,qe=W.M,at=W.Nb,At=S.oc,wt=S.pc+40,xt=S.oc,Qt=S.pc+584,br=S.oc,Zr=S.pc+600;for(ye=0;16>ye;++ye)At[wt+32*ye-1]=129;for(ye=0;8>ye;++ye)xt[Qt+32*ye-1]=129,br[Zr+32*ye-1]=129;for(0ye;++ye)c(At,wt+32*ye-4,At,wt+32*ye+12,4);for(ye=-1;8>ye;++ye)c(xt,Qt+32*ye-4,xt,Qt+32*ye+4,4),c(br,Zr+32*ye-4,br,Zr+32*ye+4,4)}var Sr=S.Gd,jr=S.Hd+Me,dn=jt.ad,Vr=jt.Hc;if(0=S.za-1?g(yn,_n,Sr[jr].y[15],4):c(yn,_n,Sr[jr+1].y,0,4)),ye=0;4>ye;ye++)yn[_n+128+ye]=yn[_n+256+ye]=yn[_n+384+ye]=yn[_n+0+ye];for(ye=0;16>ye;++ye,Vr<<=2)yn=At,_n=wt+jg[ye],Uc[jt.Ob[ye]](yn,_n),g1(Vr,dn,16*+ye,yn,_n)}else if(yn=Xd(Me,qe,jt.Ob[0]),eh[yn](At,wt),Vr!=0)for(ye=0;16>ye;++ye,Vr<<=2)g1(Vr,dn,16*+ye,At,wt+jg[ye]);for(ye=jt.Gc,yn=Xd(Me,qe,jt.Dd),nf[yn](xt,Qt),nf[yn](br,Zr),Vr=dn,yn=xt,_n=Qt,255&(jt=0|ye)&&(170&jt?f0(Vr,256,yn,_n):Qo(Vr,256,yn,_n)),jt=br,Vr=Zr,255&(ye>>=8)&&(170&ye?f0(dn,320,jt,Vr):Qo(dn,320,jt,Vr)),qeye;++ye)c(Sr,jr+ye*S.R,At,wt+32*ye,16);for(ye=0;8>ye;++ye)c(dn,jt+ye*S.B,xt,Qt+32*ye,8),c(Vr,yn+ye*S.B,br,Zr+32*ye,8)}}function sd(S,W,ye,Me,qe,at,At,wt,xt){var Qt=[0],br=[0],Zr=0,jt=xt!=null?xt.kd:0,Sr=xt!=null?xt:new kn;if(S==null||12>ye)return 7;Sr.data=S,Sr.w=W,Sr.ha=ye,W=[W],ye=[ye],Sr.gb=[Sr.gb];e:{var jr=W,dn=ye,Vr=Sr.gb;if(a(S!=null),a(dn!=null),a(Vr!=null),Vr[0]=0,12<=dn[0]&&!s(S,jr[0],"RIFF")){if(s(S,jr[0]+8,"WEBP")){Vr=3;break e}var yn=ms(S,jr[0]+4);if(12>yn||4294967286dn[0]-8){Vr=7;break e}Vr[0]=yn,jr[0]+=12,dn[0]-=12}Vr=0}if(Vr!=0)return Vr;for(yn=0Vr[0])Vr=7;else{if(!s(_n,dn[0],"VP8X")){if(ms(_n,dn[0]+4)!=10){Vr=3;break e}if(18>Vr[0]){Vr=7;break e}var Qi=ms(_n,dn[0]+8),wa=1+gi(_n,dn[0]+12);if(2147483648<=wa*(_n=1+gi(_n,dn[0]+15))){Vr=3;break e}ss!=null&&(ss[0]=Qi),jn!=null&&(jn[0]=wa),Rn!=null&&(Rn[0]=_n),dn[0]+=18,Vr[0]-=18,Ji[0]=1}Vr=0}}if(Zr=Zr[0],jr=jr[0],Vr!=0)return Vr;if(dn=!!(2&jr),!yn&&Zr)return 3;if(at!=null&&(at[0]=!!(16&jr)),At!=null&&(At[0]=dn),wt!=null&&(wt[0]=0),At=Qt[0],jr=br[0],Zr&&dn&&xt==null){Vr=0;break}if(4>ye){Vr=7;break}if(yn&&Zr||!yn&&!Zr&&!s(S,W[0],"ALPH")){ye=[ye],Sr.na=[Sr.na],Sr.P=[Sr.P],Sr.Sa=[Sr.Sa];e:{Qi=S,Vr=W,yn=ye;var Ji=Sr.gb;jn=Sr.na,Rn=Sr.P,ss=Sr.Sa,wa=22,a(Qi!=null),a(yn!=null),_n=Vr[0];var Ya=yn[0];for(a(jn!=null),a(ss!=null),jn[0]=null,Rn[0]=null,ss[0]=0;;){if(Vr[0]=_n,yn[0]=Ya,8>Ya){Vr=7;break e}var lu=ms(Qi,_n+4);if(4294967286Ji){Vr=3;break e}if(!s(Qi,_n,"VP8 ")||!s(Qi,_n,"VP8L")){Vr=0;break e}if(Ya[0]yn[0])Vr=7;else{if(_n||wa){if(Ji=ms(Ji,Qi+4),12<=jn&&Ji>jn-12){Vr=3;break e}if(jt&&Ji>yn[0]-8){Vr=7;break e}Rn[0]=Ji,Vr[0]+=8,yn[0]-=8,ss[0]=wa}else ss[0]=5<=yn[0]&&Ji[Qi+0]==47&&!(Ji[Qi+4]>>5),Rn[0]=yn[0];Vr=0}if(ye=ye[0],Sr.Ja=Sr.Ja[0],Sr.xa=Sr.xa[0],W=W[0],Vr!=0)break;if(4294967286ye){Vr=7;break}wt=At,jt=jr,dn=at,S==null||5>ye?S=0:5<=ye&&S[W+0]==47&&!(S[W+4]>>5)?(yn=[0],Ji=[0],jn=[0],An(Rn=new Vt,S,W,ye),K0(Rn,yn,Ji,jn)?(wt!=null&&(wt[0]=yn[0]),jt!=null&&(jt[0]=Ji[0]),dn!=null&&(dn[0]=jn[0]),S=1):S=0):S=0}else{if(10>ye){Vr=7;break}wt=jr,S==null||10>ye||!s1(S,W+3,ye-3)?S=0:(jt=S[W+0]|S[W+1]<<8|S[W+2]<<16,dn=16383&(S[W+7]<<8|S[W+6]),S=16383&(S[W+9]<<8|S[W+8]),1&jt||3<(jt>>1&7)||!(jt>>4&1)||jt>>5>=Sr.Ja||!dn||!S?S=0:(At&&(At[0]=dn),wt&&(wt[0]=S),S=1))}if(!S||(At=At[0],jr=jr[0],Zr&&(Qt[0]!=At||br[0]!=jr)))return 3;xt!=null&&(xt[0]=Sr,xt.offset=W-xt.w,a(4294967286>W-xt.w),a(xt.offset==xt.ha-ye));break}return Vr==0||Vr==7&&Zr&&xt==null?(at!=null&&(at[0]|=Sr.na!=null&&0ye||(at&=-2,At&=-2),0>at||0>At||0>=wt||0>=xt||at+wt>Me||At+xt>qe))return 0;if(W.v=at,W.j=At,W.va=at+wt,W.o=At+xt,W.U=wt,W.T=xt,W.da=S!=null&&0S.S){var W=S.f.RGBA;W.fb+=(S.height-1)*W.A,W.A=-W.A}else W=S.f.kb,S=S.height,W.O+=(S-1)*W.fa,W.fa=-W.fa,W.N+=(S-1>>1)*W.Ab,W.Ab=-W.Ab,W.W+=(S-1>>1)*W.Db,W.Db=-W.Db,W.F!=null&&(W.J+=(S-1)*W.lb,W.lb=-W.lb);return 0}function Wf(S,W,ye,Me){if(Me==null||0>=S||0>=W)return 2;if(ye!=null){if(ye.Da){var qe=ye.cd,at=ye.bd,At=-2&ye.v,wt=-2&ye.j;if(0>At||0>wt||0>=qe||0>=at||At+qe>S||wt+at>W)return 2;S=qe,W=at}if(ye.da){if(!Qs(S,W,qe=[ye.ib],at=[ye.hb]))return 2;S=qe[0],W=at[0]}}Me.width=S,Me.height=W;e:{var xt=Me.width,Qt=Me.height;if(S=Me.S,0>=xt||0>=Qt||!(S>=w1&&13>S))S=2;else{if(0>=Me.Rd&&Me.sd==null){At=at=qe=W=0;var br=(wt=xt*Hg[S])*Qt;if(11>S||(at=(Qt+1)/2*(W=(xt+1)/2),S==12&&(At=(qe=xt)*Qt)),(Qt=_(br+2*at+At))==null){S=1;break e}Me.sd=Qt,11>S?((xt=Me.f.RGBA).eb=Qt,xt.fb=0,xt.A=wt,xt.size=br):((xt=Me.f.kb).y=Qt,xt.O=0,xt.fa=wt,xt.Fd=br,xt.f=Qt,xt.N=0+br,xt.Ab=W,xt.Cd=at,xt.ea=Qt,xt.W=0+br+at,xt.Db=W,xt.Ed=at,S==12&&(xt.F=Qt,xt.J=0+br+2*at),xt.Tc=At,xt.lb=qe)}if(W=1,qe=Me.S,at=Me.width,At=Me.height,qe>=w1&&13>qe)if(11>qe)S=Me.f.RGBA,W&=(wt=Math.abs(S.A))*(At-1)+at<=S.size,W&=wt>=at*Hg[qe],W&=S.eb!=null;else{S=Me.f.kb,wt=(at+1)/2,br=(At+1)/2,xt=Math.abs(S.fa),Qt=Math.abs(S.Ab);var Zr=Math.abs(S.Db),jt=Math.abs(S.lb),Sr=jt*(At-1)+at;W&=xt*(At-1)+at<=S.Fd,W&=Qt*(br-1)+wt<=S.Cd,W=(W&=Zr*(br-1)+wt<=S.Ed)&xt>=at&Qt>=wt&Zr>=wt,W&=S.y!=null,W&=S.f!=null,W&=S.ea!=null,qe==12&&(W&=jt>=at,W&=Sr<=S.Tc,W&=S.F!=null)}else W=0;S=W?0:2}}return S!=0||ye!=null&&ye.fd&&(S=Np(Me)),S}var ad=64,PA=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],QA=24,Zf=32,tf=8,Yf=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Hi("Predictor0","PredictorAdd0"),Xt.Predictor0=function(){return 4278190080},Xt.Predictor1=function(S){return S},Xt.Predictor2=function(S,W,ye){return W[ye+0]},Xt.Predictor3=function(S,W,ye){return W[ye+1]},Xt.Predictor4=function(S,W,ye){return W[ye-1]},Xt.Predictor5=function(S,W,ye){return Es(Es(S,W[ye+1]),W[ye+0])},Xt.Predictor6=function(S,W,ye){return Es(S,W[ye-1])},Xt.Predictor7=function(S,W,ye){return Es(S,W[ye+0])},Xt.Predictor8=function(S,W,ye){return Es(W[ye-1],W[ye+0])},Xt.Predictor9=function(S,W,ye){return Es(W[ye+0],W[ye+1])},Xt.Predictor10=function(S,W,ye){return Es(Es(S,W[ye-1]),Es(W[ye+0],W[ye+1]))},Xt.Predictor11=function(S,W,ye){var Me=W[ye+0];return 0>=oa(Me>>24&255,S>>24&255,(W=W[ye-1])>>24&255)+oa(Me>>16&255,S>>16&255,W>>16&255)+oa(Me>>8&255,S>>8&255,W>>8&255)+oa(255&Me,255&S,255&W)?Me:S},Xt.Predictor12=function(S,W,ye){var Me=W[ye+0];return(Eo((S>>24&255)+(Me>>24&255)-((W=W[ye-1])>>24&255))<<24|Eo((S>>16&255)+(Me>>16&255)-(W>>16&255))<<16|Eo((S>>8&255)+(Me>>8&255)-(W>>8&255))<<8|Eo((255&S)+(255&Me)-(255&W)))>>>0},Xt.Predictor13=function(S,W,ye){var Me=W[ye-1];return(Qa((S=Es(S,W[ye+0]))>>24&255,Me>>24&255)<<24|Qa(S>>16&255,Me>>16&255)<<16|Qa(S>>8&255,Me>>8&255)<<8|Qa(255&S,255&Me))>>>0};var Up=Xt.PredictorAdd0;Xt.PredictorAdd1=Za,Hi("Predictor2","PredictorAdd2"),Hi("Predictor3","PredictorAdd3"),Hi("Predictor4","PredictorAdd4"),Hi("Predictor5","PredictorAdd5"),Hi("Predictor6","PredictorAdd6"),Hi("Predictor7","PredictorAdd7"),Hi("Predictor8","PredictorAdd8"),Hi("Predictor9","PredictorAdd9"),Hi("Predictor10","PredictorAdd10"),Hi("Predictor11","PredictorAdd11"),Hi("Predictor12","PredictorAdd12"),Hi("Predictor13","PredictorAdd13");var Jd=Xt.PredictorAdd2;os("ColorIndexInverseTransform","MapARGB","32b",function(S){return S>>8&255},function(S){return S}),os("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(S){return S},function(S){return S>>8&255});var kl,m1=Xt.ColorIndexInverseTransform,A0=Xt.MapARGB,c0=Xt.VP8LColorIndexInverseTransformAlpha,Pp=Xt.MapAlpha,Qp=Xt.VP8LPredictorsAdd=[];Qp.length=16,(Xt.VP8LPredictors=[]).length=16,(Xt.VP8LPredictorsAdd_C=[]).length=16,(Xt.VP8LPredictors_C=[]).length=16;var jp,Hp,Xf,Jf,qf,od,$f,ld,dc,f0,xo,Qo,Rl,ou,rf,zp,qd,v1,gg,mg,vg,yg,wg,bg,Kp,Eg,_g,xg,Bg=_(511),Cg=_(2041),Sg=_(225),Ig=_(767),Tg=0,q1=Cg,y1=Sg,jA=Ig,pc=Bg,w1=0,b1=1,Fg=2,E1=3,_1=4,$1=5,Dg=6,eg=7,tg=8,x1=9,rg=10,am=[2,3,7],om=[3,3,11],Lg=[280,256,256,256,40],lm=[0,1,1,1,0],um=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],cm=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],fm=8,ng=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ig=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Gp=null,hm=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],dm=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],kg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],pm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],gm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],mm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],vm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],eh=[],Uc=[],nf=[],ym=1,Rg=2,th=[],gc=[];$0("UpsampleRgbLinePair",Vf,3),$0("UpsampleBgrLinePair",Tu,3),$0("UpsampleRgbaLinePair",eA,4),$0("UpsampleBgraLinePair",Mp,4),$0("UpsampleArgbLinePair",Rp,4),$0("UpsampleRgba4444LinePair",id,2),$0("UpsampleRgb565LinePair",nd,2);var wm=Xt.UpsampleRgbLinePair,bm=Xt.UpsampleBgrLinePair,Mg=Xt.UpsampleRgbaLinePair,Og=Xt.UpsampleBgraLinePair,Ng=Xt.UpsampleArgbLinePair,Ug=Xt.UpsampleRgba4444LinePair,Em=Xt.UpsampleRgb565LinePair,B1=16,C1=1<Me.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Me.ca.f.kb.F!=null&&Nc()),Me.Pb&&0(xt=ye.Md)?0:100Qt;++Qt)12>(Zr=qe.pb[Qt]).lc&&(Zr.ia=xt*Fm[0>Zr.lc?0:Zr.lc]>>3),br|=Zr.ia;br&&(alert("todo:VP8InitRandom"),qe.ia=1)}qe.Ga=ye.Id,100qe.Ga&&(qe.Ga=0)}(function(jt,Sr){if(jt==null)return 0;if(Sr==null)return Zl(jt,2,"NULL VP8Io parameter in VP8Decode().");if(!jt.cb&&!l0(jt,Sr))return 0;if(a(jt.cb),Sr.ac==null||Sr.ac(Sr)){Sr.ob&&(jt.L=0);var jr=S1[jt.L];if(jt.L==2?(jt.yb=0,jt.zb=0):(jt.yb=Sr.v-jr>>4,jt.zb=Sr.j-jr>>4,0>jt.yb&&(jt.yb=0),0>jt.zb&&(jt.zb=0)),jt.Va=Sr.o+15+jr>>4,jt.Hb=Sr.va+15+jr>>4,jt.Hb>jt.za&&(jt.Hb=jt.za),jt.Va>jt.Ub&&(jt.Va=jt.Ub),0jr;++jr){var Vr;if(jt.Qa.Cb){var yn=jt.Qa.Lb[jr];jt.Qa.Fb||(yn+=dn.Tb)}else yn=dn.Tb;for(Vr=0;1>=Vr;++Vr){var _n=jt.gd[jr][Vr],jn=yn;if(dn.Pc&&(jn+=dn.vd[0],Vr&&(jn+=dn.od[0])),0<(jn=0>jn?0:63>2:Rn>>1)>9-dn.wb&&(Rn=9-dn.wb),1>Rn&&(Rn=1),_n.dd=Rn,_n.tc=2*jn+Rn,_n.ld=40<=jn?2:15<=jn?1:0}else _n.tc=0;_n.La=Vr}}}jr=0}else Zl(jt,6,"Frame setup failed"),jr=jt.a;if(jr=jr==0){if(jr){jt.$c=0,0jt.Vb){if(jt.Vb=0,jt.Ec=_(_n),jt.Fc=0,jt.Ec==null){jr=Zl(jt,1,"no memory during frame initialization.");break t}jt.Vb=_n}_n=jt.Ec,jn=jt.Fc,jt.Ac=_n,jt.Bc=jn,jn+=dn,jt.Gd=q(ss,n1),jt.Hd=0,jt.rb=q(Qi+1,_p),jt.sb=1,jt.wa=wa?q(wa,cc):null,jt.Y=0,jt.D.Nb=0,jt.D.wa=jt.wa,jt.D.Y=jt.Y,0=jr;++jr)Bg[255+jr]=0>jr?-jr:jr;for(jr=-1020;1020>=jr;++jr)Cg[1020+jr]=-128>jr?-128:127=jr;++jr)Sg[112+jr]=-16>jr?-16:15=jr;++jr)Ig[255+jr]=0>jr?0:255qa;++qa){var uu,io=tA[0+qa];for(uu=0;4>uu;++uu){io=gm[il[Fu+uu]][io];for(var Co=kg[Bn(ua,io[0])];0>3;for(Co=0;256>Co;Co+=16)qa[Hu+Co]=vA}Du=1,Pc=Fu[0]}var jo=15&ua.la,Au=15&rA.la;for(Co=0;4>Co;++Co){var HA=1&Au;for(vA=So=0;4>vA;++vA)jo=jo>>1|(HA=(Ol=Gp(il,Pc,Ol=HA+(1&jo),Bl.Sc,Du,qa,Hu))>Du)<<7,So=So<<2|(3>=4,Au=Au>>1|HA<<7,uu=(uu<<8|So)>>>0}for(Pc=jo,Du=Au>>4,Cl=0;4>Cl;Cl+=2){for(So=0,jo=ua.la>>4+Cl,Au=rA.la>>4+Cl,Co=0;2>Co;++Co){for(HA=1&Au,vA=0;2>vA;++vA)Ol=HA+(1&jo),jo=jo>>1|(HA=0<(Ol=Gp(il,Fu[2],Ol,Bl.Qc,0,qa,Hu)))<<3,So=So<<2|(3>=2,Au=Au>>1|HA<<5}io|=So<<4*Cl,Pc|=jo<<4<=qi.zb&&qi.M<=qi.Va,qi.Aa==0)t:{if(ba.M=qi.M,ba.uc=ua,hc(qi,ba),Ml=1,ba=(So=qi.D).Nb,ua=(io=S1[qi.L])*qi.R,il=io/2*qi.B,Co=16*ba*qi.R,vA=8*ba*qi.B,Fu=qi.sa,tA=qi.ta-ua+Co,Bl=qi.qa,qa=qi.ra-il+vA,Hu=qi.Ha,rA=qi.Ia-il+vA,Au=(jo=So.M)==0,uu=jo>=qi.Va-1,qi.Aa==2&&hc(qi,So),So.uc)for(HA=(Ol=qi).D.M,a(Ol.D.uc),So=Ol.yb;Sosi.o&&(jo=si.o),si.F=null,si.J=null,qi.Fa!=null&&0>1),si.W+=qi.B*(io>>1),si.F!=null&&(si.J+=si.width*io)),So>1,si.W+=si.v>>1,si.F!=null&&(si.J+=si.v),si.ka=So-si.j,si.U=si.va-si.v,si.T=jo-So,Ml=si.put(si))}ba+1!=qi.Ic||uu||(c(qi.sa,qi.ta-ua,Fu,tA+16*qi.R,ua),c(qi.qa,qi.ra-il,Bl,qa+8*qi.B,il),c(qi.Ha,qi.Ia-il,Hu,rA+8*qi.B,il))}if(!Ml)return Zl(Ya,6,"Output aborted.")}return 1}(jt,Sr)),Sr.bc!=null&&Sr.bc(Sr),jr&=1}return jr?(jt.cb=0,jr):0})(S,Me)||(W=S.a)}}else W=S.a}W==0&&At.Oa!=null&&At.Oa.fd&&(W=Np(At.ba))}At=W}at=At!=0?null:11>at?wt.f.RGBA.eb:wt.f.kb.y}else at=null;return at};var Hg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function oe(Xt,Ur){for(var dt="",Rt=0;Rt<4;Rt++)dt+=String.fromCharCode(Xt[Ur++]);return dt}function Fe(Xt,Ur){return Xt[Ur+0]|Xt[Ur+1]<<8}function Ze(Xt,Ur){return(Xt[Ur+0]|Xt[Ur+1]<<8|Xt[Ur+2]<<16)>>>0}function rt(Xt,Ur){return(Xt[Ur+0]|Xt[Ur+1]<<8|Xt[Ur+2]<<16|Xt[Ur+3]<<24)>>>0}new re;var Te=[0],Tt=[0],Bt=[],kt=new re,mt=n,cr=function(Xt,Ur){var dt={},Rt=0,hr=!1,lr=0,qr=0;if(dt.frames=[],!function(ft,Vt){for(var rr=0;rr<4;rr++)if(ft[Vt+rr]!="RIFF".charCodeAt(rr))return!0;return!1}(Xt,Ur)){for(rt(Xt,Ur+=4),Ur+=8;Ur>1&1}nn!="ANMF"&&(Ur+=Wr)}return dt}}(mt,0);cr.response=mt,cr.rgbaoutput=!0,cr.dataurl=!1;var sr=cr.header?cr.header:null,Zt=cr.frames?cr.frames:null;if(sr){sr.loop_counter=sr.loop_count,Te=[sr.canvas_height],Tt=[sr.canvas_width];for(var Yr=0;Yr=2?Mt[1]:wi[0],wi[2]=Mt.length>=3?Mt[2]:wi[0],wi[3]=Mt.length>=4?Mt[3]:wi[1]),oe.margin=wi}});var an=!1;Object.defineProperty(this,"autoPaging",{get:function(){return an},set:function(Mt){an=Mt}});var un=0;Object.defineProperty(this,"lastBreak",{get:function(){return un},set:function(Mt){un=Mt}});var Bn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Bn},set:function(Mt){Bn=Mt}}),Object.defineProperty(this,"ctx",{get:function(){return oe},set:function(Mt){Mt instanceof Fe&&(oe=Mt)}}),Object.defineProperty(this,"path",{get:function(){return oe.path},set:function(Mt){oe.path=Mt}});var Hn=[];Object.defineProperty(this,"ctxStack",{get:function(){return Hn},set:function(Mt){Hn=Mt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mt){var wi;wi=rt(Mt),this.ctx.fillStyle=wi.style,this.ctx.isFillTransparent=wi.a===0,this.ctx.fillOpacity=wi.a,this.pdf.setFillColor(wi.r,wi.g,wi.b,{a:wi.a}),this.pdf.setTextColor(wi.r,wi.g,wi.b,{a:wi.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mt){var wi=rt(Mt);this.ctx.strokeStyle=wi.style,this.ctx.isStrokeTransparent=wi.a===0,this.ctx.strokeOpacity=wi.a,wi.a===0?this.pdf.setDrawColor(255,255,255):(wi.a,this.pdf.setDrawColor(wi.r,wi.g,wi.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mt){["butt","round","square"].indexOf(Mt)!==-1&&(this.ctx.lineCap=Mt,this.pdf.setLineCap(Mt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mt){isNaN(Mt)||(this.ctx.lineWidth=Mt,this.pdf.setLineWidth(Mt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mt){["bevel","round","miter"].indexOf(Mt)!==-1&&(this.ctx.lineJoin=Mt,this.pdf.setLineJoin(Mt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mt){isNaN(Mt)||(this.ctx.miterLimit=Mt,this.pdf.setMiterLimit(Mt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mt){this.ctx.textBaseline=Mt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mt){["right","end","center","left","start"].indexOf(Mt)!==-1&&(this.ctx.textAlign=Mt)}});var yi=null,gi=null,ms=null;Object.defineProperty(this,"fontFaces",{get:function(){return ms},set:function(Mt){yi=null,gi=null,ms=Mt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mt){var wi;if(this.ctx.font=Mt,(wi=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Mt))!==null){var Sa=wi[1];wi[2];var Qs=wi[3],Un=wi[4];wi[5];var js=wi[6],Hi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Un)[2];Un=Math.floor(Hi==="px"?parseFloat(Un)*this.pdf.internal.scaleFactor:Hi==="em"?parseFloat(Un)*this.pdf.getFontSize():parseFloat(Un)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Un);var Ds=function(os){var Ll,ro,Fa=[],Da=os.trim();if(Da==="")return P;if(Da in pA)return[pA[Da]];for(;Da!=="";){switch(ro=null,Ll=(Da=nu(Da)).charAt(0)){case'"':case"'":ro=A(Da.substring(1),Ll);break;default:ro=e(Da)}if(ro===null||(Fa.push(ro[0]),(Da=nu(ro[1]))!==""&&Da.charAt(0)!==","))return P;Da=Da.replace(/^,/,"")}return Fa}(js);if(this.fontFaces){var Es=function(os,Ll){var ro=os.getFontList(),Fa=JSON.stringify(ro);if(yi===null||gi!==Fa){var Da=function(cl){var Cs=[];return Object.keys(cl).forEach(function(Wo){cl[Wo].forEach(function(Zs){var la=null;switch(Zs){case"bold":la={family:Wo,weight:"bold"};break;case"italic":la={family:Wo,style:"italic"};break;case"bolditalic":la={family:Wo,weight:"bold",style:"italic"};break;case"":case"normal":la={family:Wo}}la!==null&&(la.ref={name:Wo,style:Zs},Cs.push(la))})}),Cs}(ro);yi=function(cl){for(var Cs={},Wo=0;Wo=700||Sa==="bold")&&(oa="bold"),Sa==="italic"&&(oa+="italic"),oa.length===0&&(oa="normal");for(var Za="",ja={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},rs=0;rs=2*Math.PI&&(vr=0,Fr=2*Math.PI),this.path.push({type:"arc",x:ft,y:Vt,radius:rr,startAngle:vr,endAngle:Fr,counterclockwise:zr})},Ze.prototype.arcTo=function(ft,Vt,rr,vr,Fr){throw new Error("arcTo not implemented.")},Ze.prototype.rect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ft,Vt),this.lineTo(ft+rr,Vt),this.lineTo(ft+rr,Vt+vr),this.lineTo(ft,Vt+vr),this.lineTo(ft,Vt),this.lineTo(ft+rr,Vt),this.lineTo(ft,Vt)},Ze.prototype.fillRect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Te.call(this)){var Fr={};this.lineCap!=="butt"&&(Fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ft,Vt,rr,vr),this.fill(),Fr.hasOwnProperty("lineCap")&&(this.lineCap=Fr.lineCap),Fr.hasOwnProperty("lineJoin")&&(this.lineJoin=Fr.lineJoin)}},Ze.prototype.strokeRect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Tt.call(this)||(this.beginPath(),this.rect(ft,Vt,rr,vr),this.stroke())},Ze.prototype.clearRect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ft,Vt,rr,vr))},Ze.prototype.save=function(ft){ft=typeof ft!="boolean"||ft;for(var Vt=this.pdf.internal.getCurrentPageInfo().pageNumber,rr=0;rr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ze.prototype.drawImage=function(ft,Vt,rr,vr,Fr,zr,an,un,Bn){var Hn=this.pdf.getImageProperties(ft),yi=1,gi=1,ms=1,Mt=1;vr!==void 0&&un!==void 0&&(ms=un/vr,Mt=Bn/Fr,yi=Hn.width/vr*un/vr,gi=Hn.height/Fr*Bn/Fr),zr===void 0&&(zr=Vt,an=rr,Vt=0,rr=0),vr!==void 0&&un===void 0&&(un=vr,Bn=Fr),vr===void 0&&un===void 0&&(un=Hn.width,Bn=Hn.height);var wi=this.ctx.transform.decompose(),Sa=Wr(wi.rotate.shx),Qs=new re,Un=(Qs=(Qs=(Qs=Qs.multiply(wi.translate)).multiply(wi.skew)).multiply(wi.scale)).applyToRectangle(new Z(zr-Vt*ms,an-rr*Mt,vr*yi,Fr*gi));if(this.autoPaging){for(var js,Hi=kt.call(this,Un),Ds=[],Es=0;EsEo||oaUn||Hi0)){for(;Bn>=0;Bn--)if(Fr[Bn-1].close!==!0&&Fr[Bn-1].begin!==!0){Fr[Bn-1].deltas.push(rr),Fr[Bn-1].abs.push(un);break}}break;case"bct":rr=[un.x1-zr[an-1].x,un.y1-zr[an-1].y,un.x2-zr[an-1].x,un.y2-zr[an-1].y,un.x-zr[an-1].x,un.y-zr[an-1].y],Fr[Fr.length-1].deltas.push(rr);break;case"qct":var Hn=zr[an-1].x+2/3*(un.x1-zr[an-1].x),yi=zr[an-1].y+2/3*(un.y1-zr[an-1].y),gi=un.x+2/3*(un.x1-un.x),ms=un.y+2/3*(un.y1-un.y),Mt=un.x,wi=un.y;rr=[Hn-zr[an-1].x,yi-zr[an-1].y,gi-zr[an-1].x,ms-zr[an-1].y,Mt-zr[an-1].x,wi-zr[an-1].y],Fr[Fr.length-1].deltas.push(rr);break;case"arc":Fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Fr[Fr.length-1].abs)&&Fr[Fr.length-1].abs.push(un)}}vr=Vt?null:ft==="stroke"?"stroke":"fill";for(var Sa=!1,Qs=0;Qs=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*ft.scale),Fr=this.lineWidth,this.lineWidth=Fr*ft.scale);var ha=this.autoPaging!=="text";if(ha||rs.y+rs.h<=Es){if(ha||rs.y>=Hi&&rs.x<=Qa){var os=ha?ft.text:this.pdf.splitTextToSize(ft.text,ft.maxWidth||Qa-rs.x)[0],Ll=cr([JSON.parse(JSON.stringify(gi))],this.posX+this.margin[3],-Za+Hi+this.ctx.prevPageLastElemOffset)[0],ro=ha&&(js>Qs||js=.01&&(this.pdf.setFontSize(vr),this.lineWidth=Fr)}}else ft.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*ft.scale),Fr=this.lineWidth,this.lineWidth=Fr*ft.scale),this.pdf.text(ft.text,Bn.x+this.posX,Bn.y+this.posY,{angle:ft.angle,align:Vt,renderingMode:ft.renderingMode,maxWidth:ft.maxWidth}),ft.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=Fr)},hr=function(ft,Vt,rr,vr){rr=rr||0,vr=vr||0,this.pdf.internal.out(s(ft+rr)+" "+c(Vt+vr)+" l")},lr=function(ft,Vt,rr){return this.pdf.lines(ft,Vt,rr,null,null)},qr=function(ft,Vt,rr,vr,Fr,zr,an,un){this.pdf.internal.out([a(g(rr+ft)),a(_(vr+Vt)),a(g(Fr+ft)),a(_(zr+Vt)),a(g(an+ft)),a(_(un+Vt)),"c"].join(" "))},nn=function(ft,Vt,rr,vr){for(var Fr=2*Math.PI,zr=Math.PI/2;Vt>rr;)Vt-=Fr;var an=Math.abs(rr-Vt);an1e-5;){var yi=Hn+Bn*Math.min(an,zr);un.push(on.call(this,ft,Hn,yi)),an-=Math.abs(yi-Hn),Hn=yi}return un},on=function(ft,Vt,rr){var vr=(rr-Vt)/2,Fr=ft*Math.cos(vr),zr=ft*Math.sin(vr),an=Fr,un=-zr,Bn=an*an+un*un,Hn=Bn+an*Fr+un*zr,yi=4/3*(Math.sqrt(2*Bn*Hn)-Hn)/(an*zr-un*Fr),gi=an-yi*un,ms=un+yi*an,Mt=gi,wi=-ms,Sa=vr+Vt,Qs=Math.cos(Sa),Un=Math.sin(Sa);return{x1:ft*Math.cos(Vt),y1:ft*Math.sin(Vt),x2:gi*Qs-ms*Un,y2:gi*Un+ms*Qs,x3:Mt*Qs-wi*Un,y3:Mt*Un+wi*Qs,x4:ft*Math.cos(rr),y4:ft*Math.sin(rr)}},Wr=function(ft){return 180*ft/Math.PI},An=function(ft,Vt,rr,vr,Fr,zr){var an=ft+.5*(rr-ft),un=Vt+.5*(vr-Vt),Bn=Fr+.5*(rr-Fr),Hn=zr+.5*(vr-zr),yi=Math.min(ft,Fr,an,Bn),gi=Math.max(ft,Fr,an,Bn),ms=Math.min(Vt,zr,un,Hn),Mt=Math.max(Vt,zr,un,Hn);return new Z(yi,ms,gi-yi,Mt-ms)},Kn=function(ft,Vt,rr,vr,Fr,zr,an,un){var Bn,Hn,yi,gi,ms,Mt,wi,Sa,Qs,Un,js,Hi,Ds,Es,Eo=rr-ft,Qa=vr-Vt,oa=Fr-rr,Za=zr-vr,ja=an-Fr,rs=un-zr;for(Hn=0;Hn<41;Hn++)Qs=(wi=(yi=ft+(Bn=Hn/40)*Eo)+Bn*((ms=rr+Bn*oa)-yi))+Bn*(ms+Bn*(Fr+Bn*ja-ms)-wi),Un=(Sa=(gi=Vt+Bn*Qa)+Bn*((Mt=vr+Bn*Za)-gi))+Bn*(Mt+Bn*(zr+Bn*rs-Mt)-Sa),Hn==0?(js=Qs,Hi=Un,Ds=Qs,Es=Un):(js=Math.min(js,Qs),Hi=Math.min(Hi,Un),Ds=Math.max(Ds,Qs),Es=Math.max(Es,Un));return new Z(Math.round(js),Math.round(Hi),Math.round(Ds-js),Math.round(Es-Hi))},Ln=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ft,Vt,rr=(ft=this.ctx.lineDash,Vt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ft,lineDashOffset:Vt}));this.prevLineDash!==rr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=rr)}}})(Pi.API),function(n){var a=function(q){var Z,re,oe,Fe,Ze,rt,Te,Tt,Bt,kt;for(/[^\x00-\xFF]/.test(q),re=[],oe=0,Fe=(q+=Z="\0\0\0\0".slice(q.length%4||4)).length;Fe>oe;oe+=4)(Ze=(q.charCodeAt(oe)<<24)+(q.charCodeAt(oe+1)<<16)+(q.charCodeAt(oe+2)<<8)+q.charCodeAt(oe+3))!==0?(rt=(Ze=((Ze=((Ze=((Ze=(Ze-(kt=Ze%85))/85)-(Bt=Ze%85))/85)-(Tt=Ze%85))/85)-(Te=Ze%85))/85)%85,re.push(rt+33,Te+33,Tt+33,Bt+33,kt+33)):re.push(122);return function(mt,cr){for(var sr=cr;sr>0;sr--)mt.pop()}(re,Z.length),String.fromCharCode.apply(String,re)+"~>"},s=function(q){var Z,re,oe,Fe,Ze,rt=String,Te="length",Tt=255,Bt="charCodeAt",kt="slice",mt="replace";for(q[kt](-2),q=q[kt](0,-2)[mt](/\s/g,"")[mt]("z","!!!!!"),oe=[],Fe=0,Ze=(q+=Z="uuuuu"[kt](q[Te]%5||5))[Te];Ze>Fe;Fe+=5)re=52200625*(q[Bt](Fe)-33)+614125*(q[Bt](Fe+1)-33)+7225*(q[Bt](Fe+2)-33)+85*(q[Bt](Fe+3)-33)+(q[Bt](Fe+4)-33),oe.push(Tt&re>>24,Tt&re>>16,Tt&re>>8,Tt&re);return function(cr,sr){for(var Zt=sr;Zt>0;Zt--)cr.pop()}(oe,Z[Te]),rt.fromCharCode.apply(rt,oe)},c=function(q){return q.split("").map(function(Z){return("0"+Z.charCodeAt().toString(16)).slice(-2)}).join("")+">"},g=function(q){var Z=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((q=q.replace(/\s/g,"")).indexOf(">")!==-1&&(q=q.substr(0,q.indexOf(">"))),q.length%2&&(q+="0"),Z.test(q)===!1)return"";for(var re="",oe=0;oeBt&&(Tt=kt,kt=Bt,Bt=Tt);else{if(Z!=="l"&&Z!=="landscape")throw"Invalid orientation: "+Z;Z="l",Bt>kt&&(Tt=kt,kt=Bt,Bt=Tt)}return{width:kt,height:Bt,unit:re,k:Ze,orientation:Z}},n.html=function(Z,re){(re=re||{}).callback=re.callback||function(){},re.html2canvas=re.html2canvas||{},re.html2canvas.canvas=re.html2canvas.canvas||this.canvas,re.jsPDF=re.jsPDF||this,re.fontFaces=re.fontFaces?re.fontFaces.map(Qu):null;var oe=new q(re);return re.worker?oe:oe.from(Z).doCallback()}}(Pi.API),Pi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var g=s.outline.render().split(/\r\n/),_=0;_> endobj")}var Te=s.internal.newObject();for(s.internal.write("<< /Names [ "),_=0;_>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+Te+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,g,_){var q={title:g,options:_,children:[]};return c==null&&(c=this.root),c.children.push(q),q},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var g=0;g0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var g=this.ctx.pdf.internal.getVerticalCoordinateString,_=0;_0&&this.line("/Prev "+this.makeRef(c.children[_-1])),_0&&(this.line("/First "+this.makeRef(q.children[0])),this.line("/Last "+this.makeRef(q.children[q.children.length-1])));var Z=this.count=this.count_r({count:0},q);if(Z>0&&this.line("/Count "+Z),q.options&&q.options.pageNumber){var re=s.internal.getPageInfo(q.options.pageNumber);this.line("/Dest ["+re.objId+" 0 R /XYZ 0 "+g(0)+" 0]")}this.objEnd()}for(var oe=0;oe>"}),"transparency"in Rt&&Array.isArray(Rt.transparency)&&Rt.transparency.length>0){for(var on="",Wr=0,An=Rt.transparency.length;Wr>",Bt.content=_;var sr=Bt.objId+" 0 R";_="<>";else if(c.options.pageNumber)switch(_="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length>=1};var oe=n.__arabicParser__.arabicLetterHasFinalForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length>=3};var Fe=n.__arabicParser__.arabicLetterHasMedialForm=function(Bt){return q(Bt)&&_(Bt)&&a[Bt.charCodeAt(0)].length==4},Ze=n.__arabicParser__.resolveLigatures=function(Bt){var kt=0,mt=s,cr="",sr=0;for(kt=0;kt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(Z){s=Z}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(Z){c=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?150:Z,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var g=300;Object.defineProperty(this,"height",{get:function(){return g},set:function(Z){g=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?300:Z,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=g+1)}});var _=[];Object.defineProperty(this,"childNodes",{get:function(){return _},set:function(Z){_=Z}});var q={};Object.defineProperty(this,"style",{get:function(){return q},set:function(Z){q=Z}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var g;if((s=s||"2d")!=="2d")return null;for(g in c)this.pdf.context2d.hasOwnProperty(g)&&(this.pdf.context2d[g]=c[g]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(Pi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),g.call(this))},g=function(){this.internal.__cell__.lastCell=new _,this.internal.__cell__.pages=1},_=function(){var re=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return re},set:function(Bt){re=Bt}});var oe=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return oe},set:function(Bt){oe=Bt}});var Fe=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Fe},set:function(Bt){Fe=Bt}});var Ze=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ze},set:function(Bt){Ze=Bt}});var rt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return rt},set:function(Bt){rt=Bt}});var Te=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Te},set:function(Bt){Te=Bt}});var Tt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Tt},set:function(Bt){Tt=Bt}}),this};_.prototype.clone=function(){return new _(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},_.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(re){return c.call(this),this.internal.__cell__.headerFunction=typeof re=="function"?re:void 0,this},n.getTextDimensions=function(re,oe){c.call(this);var Fe=(oe=oe||{}).fontSize||this.getFontSize(),Ze=oe.font||this.getFont(),rt=oe.scaleFactor||this.internal.scaleFactor,Te=0,Tt=0,Bt=0,kt=this;if(!Array.isArray(re)&&typeof re!="string"){if(typeof re!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");re=String(re)}var mt=oe.maxWidth;mt>0?typeof re=="string"?re=this.splitTextToSize(re,mt):Object.prototype.toString.call(re)==="[object Array]"&&(re=re.reduce(function(sr,Zt){return sr.concat(kt.splitTextToSize(Zt,mt))},[])):re=Array.isArray(re)?re:[re];for(var cr=0;crthis.getPageHeight()?(this.cellAddPage(),re.y=Ze.top,Te&&rt&&(this.printHeaderRow(re.lineNumber,!0),re.y+=rt[0].height)):re.y=oe.y+oe.height||re.y),re.text[0]!==void 0&&(this.rect(re.x,re.y,re.width,re.height,s===!0?"FD":void 0),re.align==="right"?this.text(re.text,re.x+re.width-Fe,re.y+Fe,{align:"right",baseline:"top"}):re.align==="center"?this.text(re.text,re.x+re.width/2,re.y+Fe,{align:"center",baseline:"top",maxWidth:re.width-Fe-Fe}):this.text(re.text,re.x+Fe,re.y+Fe,{align:"left",baseline:"top",maxWidth:re.width-Fe-Fe})),this.internal.__cell__.lastCell=re,this};n.table=function(re,oe,Fe,Ze,rt){if(c.call(this),!Fe)throw new Error("No data for PDF table.");var Te,Tt,Bt,kt,mt=[],cr=[],sr=[],Zt={},Yr={},mn=[],sn=[],xr=(rt=rt||{}).autoSize||!1,Xt=rt.printHeaders!==!1,Ur=rt.css&&rt.css["font-size"]!==void 0?16*rt.css["font-size"]:rt.fontSize||12,dt=rt.margins||Object.assign({width:this.getPageWidth()},a),Rt=typeof rt.padding=="number"?rt.padding:3,hr=rt.headerBackgroundColor||"#c8c8c8",lr=rt.headerTextColor||"#000";if(g.call(this),this.internal.__cell__.printHeaders=Xt,this.internal.__cell__.margins=dt,this.internal.__cell__.table_font_size=Ur,this.internal.__cell__.padding=Rt,this.internal.__cell__.headerBackgroundColor=hr,this.internal.__cell__.headerTextColor=lr,this.setFontSize(Ur),Ze==null)cr=mt=Object.keys(Fe[0]),sr=mt.map(function(){return"left"});else if(Array.isArray(Ze)&&(0,v.Z)(Ze[0])==="object")for(mt=Ze.map(function(Kn){return Kn.name}),cr=Ze.map(function(Kn){return Kn.prompt||Kn.name||""}),sr=Ze.map(function(Kn){return Kn.align||"left"}),Te=0;Te0&&this.setTableHeaderRow(rt),this.setFont(void 0,"normal"),s=!1}}(Pi.API);var vl={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},UA=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Wl=Ja(UA),ru=[100,200,300,400,500,600,700,800,900],Lc=Ja(ru);function Qu(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(_){return vl[_=_||"normal"]?_:"normal"}(n.style),c=function(_){return _?typeof _=="number"?_>=100&&_<=900&&_%100==0?_:400:/^\d00$/.test(_)?parseInt(_):_==="bold"?700:400:400}(n.weight),g=function(_){return typeof Wl[_=_||"normal"]=="number"?_:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:g,src:n.src||[],ref:n.ref||{name:a,style:[g,s,c].join(" ")}}}function $u(n,a,s,c){var g;for(g=s;g>=0&&g=0&&g>>1)&255}return g}function Ve(n,a,s){var c=n.length,g=[];g[0]=4;for(var _=0;_>_&q}function or(n,a,s,c){var g=s*c,_=Math.floor(g/8),q=16-(g-8*_+c),Z=(1<>8&255;oe.setUint8(Fe,rt)}})(n,_,wr(n,_)&~(Z<>7,q=1<<1+(7&g);n[a++],n[a++];var Z=null,re=null;_&&(Z=a,re=q,a+=3*q);var oe=!0,Fe=[],Ze=0,rt=null,Te=0,Tt=null;for(this.width=s,this.height=c;oe&&a=0))throw Error("Invalid block size");if(dt===0)break;a+=dt}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var Bt=n[a++];Ze=n[a++]|n[a++]<<8,rt=n[a++],1&Bt||(rt=null),Te=Bt>>2&7,a++;break;case 254:for(;;){if(!((dt=n[a++])>=0))throw Error("Invalid block size");if(dt===0)break;a+=dt}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var kt=n[a++]|n[a++]<<8,mt=n[a++]|n[a++]<<8,cr=n[a++]|n[a++]<<8,sr=n[a++]|n[a++]<<8,Zt=n[a++],Yr=Zt>>6&1,mn=1<<1+(7&Zt),sn=Z,xr=re,Xt=!1;Zt>>7&&(Xt=!0,sn=a,xr=mn,a+=3*mn);var Ur=a;for(a++;;){var dt;if(!((dt=n[a++])>=0))throw Error("Invalid block size");if(dt===0)break;a+=dt}Fe.push({x:kt,y:mt,width:cr,height:sr,has_local_palette:Xt,palette_offset:sn,palette_size:xr,data_offset:Ur,data_length:a-Ur,transparent_index:rt,interlaced:!!Yr,delay:Ze,disposal:Te});break;case 59:oe=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return Fe.length},this.loopCount=function(){return Tt},this.frameInfo=function(Rt){if(Rt<0||Rt>=Fe.length)throw new Error("Frame index out of range.");return Fe[Rt]},this.decodeAndBlitFrameBGRA=function(Rt,hr){var lr=this.frameInfo(Rt),qr=lr.width*lr.height,nn=new Uint8Array(qr);_r(n,lr.data_offset,nn,qr);var on=lr.palette_offset,Wr=lr.transparent_index;Wr===null&&(Wr=256);var An=lr.width,Kn=s-An,Ln=An,ft=4*(lr.y*s+lr.x),Vt=4*((lr.y+lr.height)*s+lr.x),rr=ft,vr=4*Kn;lr.interlaced===!0&&(vr+=4*s*7);for(var Fr=8,zr=0,an=nn.length;zr=Vt&&(vr=4*Kn+4*s*(Fr-1),rr=ft+(An+Kn)*(Fr<<1),Fr>>=1)),un===Wr)rr+=4;else{var Bn=n[on+3*un],Hn=n[on+3*un+1],yi=n[on+3*un+2];hr[rr++]=yi,hr[rr++]=Hn,hr[rr++]=Bn,hr[rr++]=255}--Ln}},this.decodeAndBlitFrameRGBA=function(Rt,hr){var lr=this.frameInfo(Rt),qr=lr.width*lr.height,nn=new Uint8Array(qr);_r(n,lr.data_offset,nn,qr);var on=lr.palette_offset,Wr=lr.transparent_index;Wr===null&&(Wr=256);var An=lr.width,Kn=s-An,Ln=An,ft=4*(lr.y*s+lr.x),Vt=4*((lr.y+lr.height)*s+lr.x),rr=ft,vr=4*Kn;lr.interlaced===!0&&(vr+=4*s*7);for(var Fr=8,zr=0,an=nn.length;zr=Vt&&(vr=4*Kn+4*s*(Fr-1),rr=ft+(An+Kn)*(Fr<<1),Fr>>=1)),un===Wr)rr+=4;else{var Bn=n[on+3*un],Hn=n[on+3*un+1],yi=n[on+3*un+2];hr[rr++]=Bn,hr[rr++]=Hn,hr[rr++]=yi,hr[rr++]=255}--Ln}}}function _r(n,a,s,c){for(var g=n[a++],_=1<>=re,Fe-=re,kt!==_){if(kt===q)break;for(var mt=kt_;)sr=Tt[sr]>>8,++cr;var Zt=sr;if(rt+cr+(mt!==kt?1:0)>c)return void Xa.log("Warning, gif stream longer than expected.");s[rt++]=Zt;var Yr=rt+=cr;for(mt!==kt&&(s[rt++]=Zt),sr=mt;cr--;)sr=Tt[sr],s[--Yr]=255&sr,sr>>=8;Bt!==null&&Z<4096&&(Tt[Z++]=Bt<<8|Zt,Z>=oe+1&&re<12&&(++re,oe=oe<<1|1)),Bt=kt}else Z=q+1,oe=(1<<(re=g+1))-1,Bt=null}return rt!==c&&Xa.log("Warning, gif stream shorter than expected."),s}function Gr(n){var a,s,c,g,_,q=Math.floor,Z=new Array(64),re=new Array(64),oe=new Array(64),Fe=new Array(64),Ze=new Array(65535),rt=new Array(65535),Te=new Array(64),Tt=new Array(64),Bt=[],kt=0,mt=7,cr=new Array(64),sr=new Array(64),Zt=new Array(64),Yr=new Array(256),mn=new Array(2048),sn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],xr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Xt=[0,1,2,3,4,5,6,7,8,9,10,11],Ur=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],dt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],hr=[0,1,2,3,4,5,6,7,8,9,10,11],lr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],qr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function nn(ft,Vt){for(var rr=0,vr=0,Fr=new Array,zr=1;zr<=16;zr++){for(var an=1;an<=ft[zr];an++)Fr[Vt[vr]]=[],Fr[Vt[vr]][0]=rr,Fr[Vt[vr]][1]=zr,vr++,rr++;rr*=2}return Fr}function on(ft){for(var Vt=ft[0],rr=ft[1]-1;rr>=0;)Vt&1<>8&255),Wr(255&ft)}function Kn(ft,Vt,rr,vr,Fr){for(var zr,an=Fr[0],un=Fr[240],Bn=function(Un,js){var Hi,Ds,Es,Eo,Qa,oa,Za,ja,rs,ha,os=0;for(rs=0;rs<8;++rs){Hi=Un[os],Ds=Un[os+1],Es=Un[os+2],Eo=Un[os+3],Qa=Un[os+4],oa=Un[os+5],Za=Un[os+6];var Ll=Hi+(ja=Un[os+7]),ro=Hi-ja,Fa=Ds+Za,Da=Ds-Za,cl=Es+oa,Cs=Es-oa,Wo=Eo+Qa,Zs=Eo-Qa,la=Ll+Wo,fl=Ll-Wo,Na=Fa+cl,zs=Fa-cl;Un[os]=la+Na,Un[os+4]=la-Na;var _o=.707106781*(zs+fl);Un[os+2]=fl+_o,Un[os+6]=fl-_o;var Vh=.382683433*((la=Zs+Cs)-(zs=Da+ro)),ju=.5411961*la+Vh,H0=1.306562965*zs+Vh,i0=.707106781*(Na=Cs+Da),Ks=ro+i0,z0=ro-i0;Un[os+5]=z0+ju,Un[os+3]=z0-ju,Un[os+1]=Ks+H0,Un[os+7]=Ks-H0,os+=8}for(os=0,rs=0;rs<8;++rs){Hi=Un[os],Ds=Un[os+8],Es=Un[os+16],Eo=Un[os+24],Qa=Un[os+32],oa=Un[os+40],Za=Un[os+48];var K0=Hi+(ja=Un[os+56]),lc=Hi-ja,uc=Ds+Za,xl=Ds-Za,yu=Es+oa,Su=Es-oa,Wh=Eo+Qa,Kf=Eo-Qa,kc=K0+Wh,s0=K0-Wh,Rc=uc+yu,Mc=uc-yu;Un[os]=kc+Rc,Un[os+32]=kc-Rc;var Ac=.707106781*(Mc+s0);Un[os+16]=s0+Ac,Un[os+48]=s0-Ac;var Zh=.382683433*((kc=Kf+Su)-(Mc=xl+lc)),a0=.5411961*kc+Zh,Yh=1.306562965*Mc+Zh,jd=.707106781*(Rc=Su+xl),Hd=lc+jd,zd=lc-jd;Un[os+40]=zd+a0,Un[os+24]=zd-a0,Un[os+8]=Hd+Yh,Un[os+56]=Hd-Yh,os++}for(rs=0;rs<64;++rs)ha=Un[rs]*js[rs],Te[rs]=ha>0?ha+.5|0:ha-.5|0;return Te}(ft,Vt),Hn=0;Hn<64;++Hn)Tt[sn[Hn]]=Bn[Hn];var yi=Tt[0]-rr;rr=Tt[0],yi==0?on(vr[0]):(on(vr[rt[zr=32767+yi]]),on(Ze[zr]));for(var gi=63;gi>0&&Tt[gi]==0;)gi--;if(gi==0)return on(an),rr;for(var ms,Mt=1;Mt<=gi;){for(var wi=Mt;Tt[Mt]==0&&Mt<=gi;)++Mt;var Sa=Mt-wi;if(Sa>=16){ms=Sa>>4;for(var Qs=1;Qs<=ms;++Qs)on(un);Sa&=15}zr=32767+Tt[Mt],on(Fr[(Sa<<4)+rt[zr]]),on(Ze[zr]),Mt++}return gi!=63&&on(an),rr}function Ln(ft){ft=Math.min(Math.max(ft,1),100),_!=ft&&(function(Vt){for(var rr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],vr=0;vr<64;vr++){var Fr=q((rr[vr]*Vt+50)/100);Fr=Math.min(Math.max(Fr,1),255),Z[sn[vr]]=Fr}for(var zr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],an=0;an<64;an++){var un=q((zr[an]*Vt+50)/100);un=Math.min(Math.max(un,1),255),re[sn[an]]=un}for(var Bn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Hn=0,yi=0;yi<8;yi++)for(var gi=0;gi<8;gi++)oe[Hn]=1/(Z[sn[Hn]]*Bn[yi]*Bn[gi]*8),Fe[Hn]=1/(re[sn[Hn]]*Bn[yi]*Bn[gi]*8),Hn++}(ft<50?Math.floor(5e3/ft):Math.floor(200-2*ft)),_=ft)}this.encode=function(ft,Vt){Vt&&Ln(Vt),Bt=new Array,kt=0,mt=7,An(65496),An(65504),An(16),Wr(74),Wr(70),Wr(73),Wr(70),Wr(0),Wr(1),Wr(1),Wr(0),An(1),An(1),Wr(0),Wr(0),function(){An(65499),An(132),Wr(0);for(var Ds=0;Ds<64;Ds++)Wr(Z[Ds]);Wr(1);for(var Es=0;Es<64;Es++)Wr(re[Es])}(),function(Ds,Es){An(65472),An(17),Wr(8),An(Es),An(Ds),Wr(3),Wr(1),Wr(17),Wr(0),Wr(2),Wr(17),Wr(1),Wr(3),Wr(17),Wr(1)}(ft.width,ft.height),function(){An(65476),An(418),Wr(0);for(var Ds=0;Ds<16;Ds++)Wr(xr[Ds+1]);for(var Es=0;Es<=11;Es++)Wr(Xt[Es]);Wr(16);for(var Eo=0;Eo<16;Eo++)Wr(Ur[Eo+1]);for(var Qa=0;Qa<=161;Qa++)Wr(dt[Qa]);Wr(1);for(var oa=0;oa<16;oa++)Wr(Rt[oa+1]);for(var Za=0;Za<=11;Za++)Wr(hr[Za]);Wr(17);for(var ja=0;ja<16;ja++)Wr(lr[ja+1]);for(var rs=0;rs<=161;rs++)Wr(qr[rs])}(),An(65498),An(12),Wr(3),Wr(1),Wr(0),Wr(2),Wr(17),Wr(3),Wr(17),Wr(0),Wr(63),Wr(0);var rr=0,vr=0,Fr=0;kt=0,mt=7,this.encode.displayName="_encode_";for(var zr,an,un,Bn,Hn,yi,gi,ms,Mt,wi=ft.data,Sa=ft.width,Qs=ft.height,Un=4*Sa,js=0;js>3)*Un+(gi=4*(7&Mt)),js+ms>=Qs&&(yi-=Un*(js+1+ms-Qs)),zr+gi>=Un&&(yi-=zr+gi-Un+4),an=wi[yi++],un=wi[yi++],Bn=wi[yi++],cr[Mt]=(mn[an]+mn[un+256|0]+mn[Bn+512|0]>>16)-128,sr[Mt]=(mn[an+768|0]+mn[un+1024|0]+mn[Bn+1280|0]>>16)-128,Zt[Mt]=(mn[an+1280|0]+mn[un+1536|0]+mn[Bn+1792|0]>>16)-128;rr=Kn(cr,oe,rr,a,c),vr=Kn(sr,Fe,vr,s,g),Fr=Kn(Zt,Fe,Fr,s,g),zr+=32}js+=8}if(mt>=0){var Hi=[];Hi[1]=mt+1,Hi[0]=(1<Rt;Rt++)if(Xt[Ur+Rt]!=dt.charCodeAt(Rt))return!0;return!1}function c(Xt,Ur,dt,Rt,hr){for(var lr=0;lrlr+1?[]:new Ur),!(qr.length>>0;S&ye;)ye>>>=1;return ye?(S&ye-1)+ye:S}function dt(S,W,ye,Me,qe){a(!(Me%ye));do S[W+(Me-=ye)]=qe;while(0=qe),512>=qe)var at=_(512);else if((at=_(qe))==null)return 0;return function(At,wt,xt,Qt,br,Zr){var jt,Sr,jr=wt,dn=1<jt;++jt){if(Vr[jt]>1<(wa-=Vr[jt]))return 0;for(;0=jt;++jt,br<<=1){if(Qi+=wa<<=1,0>(wa-=Vr[jt]))return 0;for(;0jn&&!(0>=(_n-=Vr[jn]));)++jn,_n<<=1;dn+=Ji=1<<(_n=jn-xt),At[wt+(jn=ss&Rn)].g=_n+xt,At[wt+jn].value=jr-wt-jn}Qt.g=jt-xt,Qt.value=Zr[Sr++],dt(At,jr+(ss>>xt),br,Ji,Qt),ss=Ur(ss,jt)}}return Qi!=2*yn[15]-1?0:dn}(S,W,ye,Me,qe,at)}function hr(){this.value=this.g=0}function lr(){this.value=this.g=0}function qr(){this.G=q(5,hr),this.H=_(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=q(ad,lr)}function nn(S,W,ye,Me){a(S!=null),a(W!=null),a(2147483648>Me),S.Ca=254,S.I=0,S.b=-8,S.Ka=0,S.oa=W,S.pa=ye,S.Jd=W,S.Yc=ye+Me,S.Zc=4<=Me?ye+Me-4+1:ye,an(S)}function on(S,W){for(var ye=0;0Me),S.Sb=Me,S.Ra=0,S.u=0,S.h=0,4>>=8,S.Ra+=S.oa[S.pa+S.bb]<>>0,++S.bb,S.u-=8;vr(S)&&(S.h=1,S.u=0)}function Ln(S,W){if(a(0<=W),!S.h&&W<=QA){var ye=rr(S)&PA[W];return S.u+=W,Kn(S),ye}return S.h=1,S.u=0}function ft(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Vt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function rr(S){return S.Ra>>>(S.u&Zf-1)>>>0}function vr(S){return a(S.bb<=S.Sb),S.h||S.bb==S.Sb&&S.u>Zf}function Fr(S,W){S.u=W,S.h=vr(S)}function zr(S){S.u>=tf&&(a(S.u>=tf),Kn(S))}function an(S){a(S!=null&&S.oa!=null),S.pa>>0,S.b+=8):(a(S!=null&&S.oa!=null),S.paS.b&&an(S);var Me=S.b,qe=ye*W>>>8,at=(S.I>>>Me>qe)+0;for(at?(ye-=qe,S.I-=qe+1<>>0):ye=qe+1,Me=ye,qe=0;256<=Me;)qe+=8,Me>>=8;return Me=7^qe+Yf[Me],S.b-=Me,S.Ca=(ye<>24&255,S[W+1]=ye>>16&255,S[W+2]=ye>>8&255,S[W+3]=255&ye}function yi(S,W){return S[W+0]|S[W+1]<<8}function gi(S,W){return yi(S,W)|S[W+2]<<16}function ms(S,W){return yi(S,W)|yi(S,W+2)<<16}function Mt(S,W){var ye=1<=qe||0>=at?0:(ye[0]=qe,Me[0]=at,1)}function Un(S,W){return S+(1<>>W}function js(S,W){return((4278255360&S)+(4278255360&W)>>>0&4278255360)+((16711935&S)+(16711935&W)>>>0&16711935)>>>0}function Hi(S,W){Xt[W]=function(ye,Me,qe,at,At,wt,xt){var Qt;for(Qt=0;Qt>>1)+(S&W)>>>0}function Eo(S){return 0<=S&&256>S?S:0>S?0:255>1))}function oa(S,W,ye){return Math.abs(W-ye)-Math.abs(S-ye)}function Za(S,W,ye,Me,qe,at,At){for(Me=at[At-1],ye=0;ye>8&255,xt=16711935&(xt=(xt=16711935&At)+((wt<<16)+wt));Me[qe+at]=(4278255360&At)+xt>>>0}}function rs(S,W){W.jd=255&S,W.hd=S>>8&255,W.ud=S>>16&255}function ha(S,W,ye,Me,qe,at){var At;for(At=0;At>>8,Qt=wt,br=255&(br=(br=wt>>>16)+((S.jd<<24>>24)*(xt<<24>>24)>>>5));Qt=255&(Qt=(Qt+=(S.hd<<24>>24)*(xt<<24>>24)>>>5)+((S.ud<<24>>24)*(br<<24>>24)>>>5)),qe[at+At]=(4278255360&wt)+(br<<16)+Qt}}function os(S,W,ye,Me,qe){Xt[W]=function(at,At,wt,xt,Qt,br,Zr,jt,Sr){for(xt=Zr;xt>at.b,Sr=at.Ea,jr=at.K[0],dn=at.w;if(8>jt)for(at=(1<>=jt}else Xt["VP8LMapColor"+ye](xt,Qt,jr,dn,br,Zr,At,wt,Sr)}}function Ll(S,W,ye,Me,qe){for(ye=W+ye;W>16&255,Me[qe++]=at>>8&255,Me[qe++]=255&at}}function ro(S,W,ye,Me,qe){for(ye=W+ye;W>16&255,Me[qe++]=at>>8&255,Me[qe++]=255&at,Me[qe++]=at>>24&255}}function Fa(S,W,ye,Me,qe){for(ye=W+ye;W>16&240|At>>12&15,At=240&At|At>>28&15;Me[qe++]=at,Me[qe++]=At}}function Da(S,W,ye,Me,qe){for(ye=W+ye;W>16&248|At>>13&7,At=At>>5&224|At>>3&31;Me[qe++]=at,Me[qe++]=At}}function cl(S,W,ye,Me,qe){for(ye=W+ye;W>8&255,Me[qe++]=at>>16&255}}function Cs(S,W,ye,Me,qe,at){if(at==0)for(ye=W+ye;W>24|at[1]>>8&65280|at[2]<<8&16711680|at[3]<<24)>>>0),qe+=32;else c(Me,qe,S,W,ye)}function Wo(S,W){Xt[W][0]=Xt[S+"0"],Xt[W][1]=Xt[S+"1"],Xt[W][2]=Xt[S+"2"],Xt[W][3]=Xt[S+"3"],Xt[W][4]=Xt[S+"4"],Xt[W][5]=Xt[S+"5"],Xt[W][6]=Xt[S+"6"],Xt[W][7]=Xt[S+"7"],Xt[W][8]=Xt[S+"8"],Xt[W][9]=Xt[S+"9"],Xt[W][10]=Xt[S+"10"],Xt[W][11]=Xt[S+"11"],Xt[W][12]=Xt[S+"12"],Xt[W][13]=Xt[S+"13"],Xt[W][14]=Xt[S+"0"],Xt[W][15]=Xt[S+"0"]}function Zs(S){return S==eg||S==tg||S==x1||S==rg}function la(){this.eb=[],this.size=this.A=this.fb=0}function fl(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Na(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new la,this.f.kb=new fl,this.sd=null}function zs(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function _o(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Vh(S){return alert("todo:WebPSamplerProcessPlane"),S.T}function ju(S,W){var ye=S.T,Me=W.ba.f.RGBA,qe=Me.eb,at=Me.fb+S.ka*Me.A,At=gc[W.ba.S],wt=S.y,xt=S.O,Qt=S.f,br=S.N,Zr=S.ea,jt=S.W,Sr=W.cc,jr=W.dc,dn=W.Mc,Vr=W.Nc,yn=S.ka,_n=S.ka+S.T,jn=S.U,Rn=jn+1>>1;for(yn==0?At(wt,xt,null,null,Qt,br,Zr,jt,Qt,br,Zr,jt,qe,at,null,null,jn):(At(W.ec,W.fc,wt,xt,Sr,jr,dn,Vr,Qt,br,Zr,jt,qe,at-Me.A,qe,at,jn),++ye);yn+2<_n;yn+=2)Sr=Qt,jr=br,dn=Zr,Vr=jt,br+=S.Rc,jt+=S.Rc,at+=2*Me.A,At(wt,(xt+=2*S.fa)-S.fa,wt,xt,Sr,jr,dn,Vr,Qt,br,Zr,jt,qe,at-Me.A,qe,at,jn);return xt+=S.fa,S.j+_nye,qe=ye==b1||ye==E1||ye==_1||ye==$1||ye==12||Zs(ye);if(W.memory=null,W.Ib=null,W.Jb=null,W.Nd=null,!Op(W.Oa,S,qe?11:12))return 0;if(qe&&Zs(ye)&&kp(),S.da)alert("todo:use_scaling");else{if(Me){if(W.Ib=Vh,S.Kb){if(ye=S.U+1>>1,W.memory=_(S.U+2*ye),W.memory==null)return 0;W.ec=W.memory,W.fc=0,W.cc=W.ec,W.dc=W.fc+S.U,W.Mc=W.cc,W.Nc=W.dc+ye,W.Ib=ju,kp()}}else alert("todo:EmitYUV");qe&&(W.Jb=H0,Me&&Nc())}if(Me&&!Qg){for(S=0;256>S;++S)xm[S]=89858*(S-128)+C1>>B1,Sm[S]=-22014*(S-128)+C1,Cm[S]=-45773*(S-128),Bm[S]=113618*(S-128)+C1>>B1;for(S=Vp;S>B1,Im[S-Vp]=o0(W,255),Tm[S-Vp]=o0(W+8>>4,15);Qg=1}return 1}function Ks(S){var W=S.ma,ye=S.U,Me=S.T;return a(!(1&S.ka)),0>=ye||0>=Me?0:(ye=W.Ib(S,W),W.Jb!=null&&W.Jb(S,W,ye),W.Dc+=ye,1)}function z0(S){S.ma.memory=null}function K0(S,W,ye,Me){return Ln(S,8)!=47?0:(W[0]=Ln(S,14)+1,ye[0]=Ln(S,14)+1,Me[0]=Ln(S,1),Ln(S,3)!=0?0:!S.h)}function lc(S,W){if(4>S)return S+1;var ye=S-2>>1;return(2+(1&S)<>4)*S+(8-(15&ye)))?ye:1;var ye}function xl(S,W,ye){var Me=rr(ye),qe=S[W+=255&Me].g-8;return 0>>0,a(8>=ye.g),S.g}function Su(S,W,ye){var Me=S.xc;return a((W=Me==0?0:S.vc[S.md*(ye>>Me)+(W>>Me)])>Ji.b)*Qi;dnjn&&(qi=jn),(0,Qp[Ya[lu++]>>8&15])(jt,Sr+ +ba,yn,_n+ba-jn,qi-ba,yn,_n+ba),ba=qi}Sr+=jn,_n+=jn,++dn&ss||(Ji+=Qi)}Zr!=Qt.nc&&c(xt,wt-jr,xt,wt+(Zr-br-1)*jr,jr);break;case 1:for(jr=jt,Vr=Sr,jn=(jt=Qt.Ea)-(_n=jt&~(yn=(Sr=1<>Qt.b)*dn;br=qe),0at.o&&(Me=at.o),ye=Me?ye=0:(qe[0]+=4*at.v,at.ka=ye-at.j,at.U=at.va-at.v,at.T=Me-ye,ye=1),ye){if(wt=wt[0],11>(ye=S.ca).S){var br=ye.f.RGBA,Zr=(Me=ye.S,qe=at.U,at=at.T,Qt=br.eb,br.A),jt=at;for(br=br.fb+S.Ma*br.A;0Me){var qe=S.l.width,at=ye.ca,At=ye.tb+qe*Me,wt=S.V,xt=S.Ba+S.c*Me,Qt=S.gc;a(S.ab==1),a(Qt[0].hc==3),c0(Qt[0],Me,W,wt,xt,at,At),s0(ye,Me,W,at,At,qe)}S.C=S.Ma=W}function Mc(S,W,ye,Me,qe,at,At){var wt=S.$/Me,xt=S.$%Me,Qt=S.m,br=S.s,Zr=ye+S.$,jt=Zr;qe=ye+Me*qe;var Sr=ye+Me*at,jr=280+br.ua,dn=S.Pb?wt:16777216,Vr=0=dn){var ss=Zr-ye;a((dn=S).Pb),dn.wd=dn.m,dn.xd=ss,0wa.g?(Fr(Rn,Rn.u+wa.g),ss[Qi]=wa.value,Rn=0):(Fr(Rn,Rn.u+wa.g-256),a(256<=wa.value),Rn=wa.value),Rn==0&&(jn=!0)}else Rn=xl(_n.G[0],_n.H[0],Qt);if(Qt.h)break;if(jn||256>Rn){if(!jn)if(_n.nd)W[Zr]=(_n.qb|Rn<<8)>>>0;else{if(zr(Qt),jn=xl(_n.G[1],_n.H[1],Qt),zr(Qt),ss=xl(_n.G[2],_n.H[2],Qt),Qi=xl(_n.G[3],_n.H[3],Qt),Qt.h)break;W[Zr]=(Qi<<24|jn<<16|Rn<<8|ss)>>>0}if(jn=!1,++Zr,++xt>=Me&&(xt=0,++wt,At!=null&&wt<=at&&!(wt%16)&&At(S,wt),Vr!=null))for(;jt>>Vr.Mb]=Rn}else if(280>Rn){if(Rn=lc(Rn-256,Qt),ss=xl(_n.G[4],_n.H[4],Qt),zr(Qt),ss=uc(Me,ss=lc(ss,Qt)),Qt.h)break;if(Zr-ye=Me;)xt-=Me,++wt,At!=null&&wt<=at&&!(wt%16)&&At(S,wt);if(a(Zr<=qe),xt&yn&&(_n=Su(br,xt,wt)),Vr!=null)for(;jt>>Vr.Mb]=Rn}else{if(!(Rn>>Vr.Mb]=Rn;Rn=Zr,a(!(jn>>>(ss=Vr).Xa)),W[Rn]=ss.X[jn],jn=!0}jn||a(Qt.h==vr(Qt))}if(S.Pb&&Qt.h&&Zrat?at:wt),S.a=0,S.$=Zr-ye}return 1}return S.a=3,0}function Ac(S){a(S!=null),S.vc=null,S.yc=null,S.Ya=null;var W=S.Wa;W!=null&&(W.X=null),S.vb=null,a(S!=null)}function Zh(){var S=new ta;return S==null?null:(S.a=0,S.xb=Rg,Wo("Predictor","VP8LPredictors"),Wo("Predictor","VP8LPredictors_C"),Wo("PredictorAdd","VP8LPredictorsAdd"),Wo("PredictorAdd","VP8LPredictorsAdd_C"),kl=ja,jp=ha,Hp=Ll,Xf=ro,Jf=Fa,qf=Da,od=cl,Xt.VP8LMapColor32b=A0,Xt.VP8LMapColor8b=Pp,S)}function a0(S,W,ye,Me,qe){var at=1,At=[S],wt=[W],xt=Me.m,Qt=Me.s,br=null,Zr=0;e:for(;;){if(ye)for(;at&&Ln(xt,1);){var jt=At,Sr=wt,jr=Me,dn=1,Vr=jr.m,yn=jr.gc[jr.ab],_n=Ln(Vr,2);if(jr.Oc&1<<_n)at=0;else{switch(jr.Oc|=1<<_n,yn.hc=_n,yn.Ea=jt[0],yn.nc=Sr[0],yn.K=[null],++jr.ab,a(4>=jr.ab),_n){case 0:case 1:yn.b=Ln(Vr,3)+2,dn=a0(Un(yn.Ea,yn.b),Un(yn.nc,yn.b),0,jr,yn.K),yn.K=yn.K[0];break;case 3:var jn,Rn=Ln(Vr,8)+1,ss=16>Ji.b),lu=_(Ya);if(lu==null)jn=0;else{var ba=Ji.K[0],qi=Ji.w;for(lu[0]=Ji.K[0][0],Qi=1;Qi<1*wa;++Qi)lu[Qi]=js(ba[qi+Qi],lu[Qi-1]);for(;Qi<4*Ya;++Qi)lu[Qi]=0;Ji.K[0]=null,Ji.K[0]=lu,jn=1}}dn=jn;break;case 2:break;default:a(0)}at=dn}}if(At=At[0],wt=wt[0],at&&Ln(xt,1)&&!(at=1<=(Zr=Ln(xt,4))&&11>=Zr)){Me.a=3;break e}var si;if(si=at)t:{var Ml,ua,qa,il=Me,Fu=At,tA=wt,Bl=Zr,Hu=ye,rA=il.m,uu=il.s,io=[null],Co=1,Cl=0,So=cm[Bl];r:for(;;){if(Hu&&Ln(rA,1)){var Du=Ln(rA,3)+2,Pc=Un(Fu,Du),Ol=Un(tA,Du),vA=Pc*Ol;if(!a0(Pc,Ol,0,il,io))break r;for(io=io[0],uu.xc=Du,Ml=0;Ml>8&65535;io[Ml]=jo,jo>=Co&&(Co=jo+1)}}if(rA.h)break r;for(ua=0;5>ua;++ua){var Au=Lg[ua];!ua&&0=nA),KA=zA;var yA=_(Cl);if(KA==null||yA==null||HA==null){il.a=1;break r}var GA=HA;for(Ml=qa=0;Mlua;++ua){Au=Lg[ua],VA[ua]=GA,Qc[ua]=qa,!ua&&0L1)break n}else lg=L1;for(Zp=0;Zp$d)Wg[Zp++]=$d,$d!=0&&(Zg=$d);else{var Pm=$d==16,Jg=$d-16,Qm=om[Jg],qg=Ln(nh,am[Jg])+Qm;if(Zp+qg>L1)break n;for(var jm=Pm?Zg:0;0=ua){var Yp,Ag=yA[0];for(Yp=1;YpAg&&(Ag=yA[Yp]);Lu+=Ag}}if(Yo.nd=sf,Yo.Qb=0,sf&&(Yo.qb=(VA[3][Qc[3]+0].value<<24|VA[1][Qc[1]+0].value<<16|VA[2][Qc[2]+0].value)>>>0,ud==0&&256>VA[0][Qc[0]+0].value&&(Yo.Qb=1,Yo.qb+=VA[0][Qc[0]+0].value<<8)),Yo.jc=!Yo.Qb&&6>Lu,Yo.jc){var k1,af=Yo;for(k1=0;k1>=yu(R1,8,sh),ih>>=yu(af.G[1][af.H[1]+ih],16,sh),ih>>=yu(af.G[2][af.H[2]+ih],0,sh),yu(af.G[3][af.H[3]+ih],24,sh))}}}uu.vc=io,uu.Wb=Co,uu.Ya=KA,uu.yc=HA,si=1;break t}si=0}if(!(at=si)){Me.a=3;break e}if(0Me+1?[]:0),!(qe.lengthS?0:S>W?W:S}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function N1(){var S=new i1;return S!=null&&(S.a=0,S.sc="OK",S.cb=0,S.Xb=0,Gp||(Gp=Gd)),S}function Zl(S,W,ye){return S.a==0&&(S.a=W,S.sc=ye,S.cb=0),0}function s1(S,W,ye){return 3<=ye&&S[W+0]==157&&S[W+1]==1&&S[W+2]==42}function l0(S,W){if(S==null)return 0;if(S.a=0,S.sc="OK",W==null)return Zl(S,2,"null VP8Io passed to VP8GetHeaders()");var ye=W.data,Me=W.w,qe=W.ha;if(4>qe)return Zl(S,7,"Truncated header.");var at=ye[Me+0]|ye[Me+1]<<8|ye[Me+2]<<16,At=S.Od;if(At.Rb=!(1&at),At.td=at>>1&7,At.yd=at>>4&1,At.ub=at>>5,3qe)return Zl(S,7,"cannot parse picture header");if(!s1(ye,Me,qe))return Zl(S,3,"Bad code word");wt.c=16383&(ye[Me+4]<<8|ye[Me+3]),wt.Td=ye[Me+4]>>6,wt.i=16383&(ye[Me+6]<<8|ye[Me+5]),wt.Ud=ye[Me+6]>>6,Me+=7,qe-=7,S.za=wt.c+15>>4,S.Ub=wt.i+15>>4,W.width=wt.c,W.height=wt.i,W.Da=0,W.j=0,W.v=0,W.va=W.width,W.o=W.height,W.da=0,W.ib=W.width,W.hb=W.height,W.U=W.width,W.T=W.height,g((at=S.Pa).jb,0,255,at.jb.length),a((at=S.Qa)!=null),at.Cb=0,at.Bb=0,at.Fb=1,g(at.Zb,0,0,at.Zb.length),g(at.Lb,0,0,at.Lb)}if(At.ub>qe)return Zl(S,7,"bad partition length");nn(at=S.m,ye,Me,At.ub),Me+=At.ub,qe-=At.ub,At.Rb&&(wt.Ld=un(at),wt.Kd=un(at)),wt=S.Qa;var xt,Qt=S.Pa;if(a(at!=null),a(wt!=null),wt.Cb=un(at),wt.Cb){if(wt.Bb=un(at),un(at)){for(wt.Fb=un(at),xt=0;4>xt;++xt)wt.Zb[xt]=un(at)?Wr(at,7):0;for(xt=0;4>xt;++xt)wt.Lb[xt]=un(at)?Wr(at,6):0}if(wt.Bb)for(xt=0;3>xt;++xt)Qt.jb[xt]=un(at)?on(at,8):255}else wt.Bb=0;if(at.Ka)return Zl(S,3,"cannot parse segment header");if((wt=S.ed).zd=un(at),wt.Tb=on(at,6),wt.wb=on(at,3),wt.Pc=un(at),wt.Pc&&un(at)){for(Qt=0;4>Qt;++Qt)un(at)&&(wt.vd[Qt]=Wr(at,6));for(Qt=0;4>Qt;++Qt)un(at)&&(wt.od[Qt]=Wr(at,6))}if(S.L=wt.Tb==0?0:wt.zd?1:2,at.Ka)return Zl(S,3,"cannot parse filter header");var br=qe;if(qe=xt=Me,Me=xt+br,wt=br,S.Xb=(1<wt&&(Zr=wt),nn(S.Jc[+br],ye,xt,Zr),xt+=Zr,wt-=Zr,qe+=3}nn(S.Jc[+Qt],ye,xt,wt),ye=xtZr;++Zr){if(br.Cb){var jt=br.Zb[Zr];br.Fb||(jt+=ye)}else{if(0>16,8>Sr.Eb[1]&&(Sr.Eb[1]=8),Sr.Qc[0]=ng[o0(jt+Qt,117)],Sr.Qc[1]=ig[o0(jt+xt,127)],Sr.lc=jt+xt}if(!At.Rb)return Zl(S,4,"Not a key frame.");for(un(at),At=S.Pa,ye=0;4>ye;++ye){for(qe=0;8>qe;++qe)for(Me=0;3>Me;++Me)for(wt=0;11>wt;++wt)Qt=Bn(at,mm[ye][qe][Me][wt])?on(at,8):pm[ye][qe][Me][wt],At.Wc[ye][qe].Yb[Me][wt]=Qt;for(qe=0;17>qe;++qe)At.Xc[ye][qe]=At.Wc[ye][vm[qe]]}return S.kc=un(at),S.kc&&(S.Bd=on(at,8)),S.cb=1}function Gd(S,W,ye,Me,qe,at,At){var wt=W[qe].Yb[ye];for(ye=0;16>qe;++qe){if(!Bn(S,wt[ye+0]))return qe;for(;!Bn(S,wt[ye+1]);)if(wt=W[++qe].Yb[0],ye=0,qe==16)return 16;var xt=W[qe+1].Yb;if(Bn(S,wt[ye+2])){var Qt=S,br=0;if(Bn(Qt,(jt=wt)[(Zr=ye)+3]))if(Bn(Qt,jt[Zr+6])){for(wt=0,Zr=2*(br=Bn(Qt,jt[Zr+8]))+(jt=Bn(Qt,jt[Zr+9+br])),br=0,jt=hm[Zr];jt[wt];++wt)br+=br+Bn(Qt,jt[wt]);br+=3+(8<(Qt=S).b&&an(Qt);var Zr,jt=Qt.b,Sr=(Zr=Qt.Ca>>1)-(Qt.I>>jt)>>31;--Qt.b,Qt.Ca+=Sr,Qt.Ca|=1,Qt.I-=(Zr+1&Sr)<>3),S[W+ye+32*Me]=-256&qe?0>qe?0:255:qe}function su(S,W,ye,Me,qe,at){fc(S,W,0,ye,Me+qe),fc(S,W,1,ye,Me+at),fc(S,W,2,ye,Me-at),fc(S,W,3,ye,Me-qe)}function G0(S){return(20091*S>>16)+S}function o1(S,W,ye,Me){var qe,at=0,At=_(16);for(qe=0;4>qe;++qe){var wt=S[W+0]+S[W+8],xt=S[W+0]-S[W+8],Qt=(35468*S[W+4]>>16)-G0(S[W+12]),br=G0(S[W+4])+(35468*S[W+12]>>16);At[at+0]=wt+br,At[at+1]=xt+Qt,At[at+2]=xt-Qt,At[at+3]=wt-br,at+=4,W++}for(qe=at=0;4>qe;++qe)wt=(S=At[at+0]+4)+At[at+8],xt=S-At[at+8],Qt=(35468*At[at+4]>>16)-G0(At[at+12]),fc(ye,Me,0,0,wt+(br=G0(At[at+4])+(35468*At[at+12]>>16))),fc(ye,Me,1,0,xt+Qt),fc(ye,Me,2,0,xt-Qt),fc(ye,Me,3,0,wt-br),at++,Me+=32}function U1(S,W,ye,Me){var qe=S[W+0]+4,at=35468*S[W+4]>>16,At=G0(S[W+4]),wt=35468*S[W+1]>>16;su(ye,Me,0,qe+At,S=G0(S[W+1]),wt),su(ye,Me,1,qe+at,S,wt),su(ye,Me,2,qe-at,S,wt),su(ye,Me,3,qe-At,S,wt)}function P1(S,W,ye,Me,qe){o1(S,W,ye,Me),qe&&o1(S,W+16,ye,Me+4)}function u0(S,W,ye,Me){ld(S,W+0,ye,Me,1),ld(S,W+32,ye,Me+128,1)}function l1(S,W,ye,Me){var qe;for(S=S[W+0]+4,qe=0;4>qe;++qe)for(W=0;4>W;++W)fc(ye,Me,W,qe,S)}function u1(S,W,ye,Me){S[W+0]&&xo(S,W+0,ye,Me),S[W+16]&&xo(S,W+16,ye,Me+4),S[W+32]&&xo(S,W+32,ye,Me+128),S[W+48]&&xo(S,W+48,ye,Me+128+4)}function Vd(S,W,ye,Me){var qe,at=_(16);for(qe=0;4>qe;++qe){var At=S[W+0+qe]+S[W+12+qe],wt=S[W+4+qe]+S[W+8+qe],xt=S[W+4+qe]-S[W+8+qe],Qt=S[W+0+qe]-S[W+12+qe];at[0+qe]=At+wt,at[8+qe]=At-wt,at[4+qe]=Qt+xt,at[12+qe]=Qt-xt}for(qe=0;4>qe;++qe)At=(S=at[0+4*qe]+3)+at[3+4*qe],wt=at[1+4*qe]+at[2+4*qe],xt=at[1+4*qe]-at[2+4*qe],Qt=S-at[3+4*qe],ye[Me+0]=At+wt>>3,ye[Me+16]=Qt+xt>>3,ye[Me+32]=At-wt>>3,ye[Me+48]=Qt-xt>>3,Me+=64}function Xh(S,W,ye){var Me,qe=W-32,at=jA,At=255-S[qe-1];for(Me=0;Meye;++ye)c(S,W+32*ye,S,W-32,16)}function A1(S,W){var ye;for(ye=16;0Me;++Me)g(W,ye+32*Me,S,16)}function z1(S,W){var ye,Me=16;for(ye=0;16>ye;++ye)Me+=S[W-1+32*ye]+S[W+ye-32];Oc(Me>>5,S,W)}function Jh(S,W){var ye,Me=8;for(ye=0;16>ye;++ye)Me+=S[W-1+32*ye];Oc(Me>>4,S,W)}function Cp(S,W){var ye,Me=8;for(ye=0;16>ye;++ye)Me+=S[W+ye-32];Oc(Me>>4,S,W)}function K1(S,W){Oc(128,S,W)}function ia(S,W,ye){return S+2*W+ye+2>>2}function G1(S,W){var ye,Me=W-32;for(Me=new Uint8Array([ia(S[Me-1],S[Me+0],S[Me+1]),ia(S[Me+0],S[Me+1],S[Me+2]),ia(S[Me+1],S[Me+2],S[Me+3]),ia(S[Me+2],S[Me+3],S[Me+4])]),ye=0;4>ye;++ye)c(S,W+32*ye,Me,0,Me.length)}function V1(S,W){var ye=S[W-1],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1+96];Hn(S,W+0,16843009*ia(S[W-1-32],ye,Me)),Hn(S,W+32,16843009*ia(ye,Me,qe)),Hn(S,W+64,16843009*ia(Me,qe,at)),Hn(S,W+96,16843009*ia(qe,at,at))}function W1(S,W){var ye,Me=4;for(ye=0;4>ye;++ye)Me+=S[W+ye-32]+S[W-1+32*ye];for(Me>>=3,ye=0;4>ye;++ye)g(S,W+32*ye,Me,4)}function V0(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1-32],At=S[W+0-32],wt=S[W+1-32],xt=S[W+2-32],Qt=S[W+3-32];S[W+0+96]=ia(Me,qe,S[W-1+96]),S[W+1+96]=S[W+0+64]=ia(ye,Me,qe),S[W+2+96]=S[W+1+64]=S[W+0+32]=ia(at,ye,Me),S[W+3+96]=S[W+2+64]=S[W+1+32]=S[W+0+0]=ia(At,at,ye),S[W+3+64]=S[W+2+32]=S[W+1+0]=ia(wt,At,at),S[W+3+32]=S[W+2+0]=ia(xt,wt,At),S[W+3+0]=ia(Qt,xt,wt)}function W0(S,W){var ye=S[W+1-32],Me=S[W+2-32],qe=S[W+3-32],at=S[W+4-32],At=S[W+5-32],wt=S[W+6-32],xt=S[W+7-32];S[W+0+0]=ia(S[W+0-32],ye,Me),S[W+1+0]=S[W+0+32]=ia(ye,Me,qe),S[W+2+0]=S[W+1+32]=S[W+0+64]=ia(Me,qe,at),S[W+3+0]=S[W+2+32]=S[W+1+64]=S[W+0+96]=ia(qe,at,At),S[W+3+32]=S[W+2+64]=S[W+1+96]=ia(at,At,wt),S[W+3+64]=S[W+2+96]=ia(At,wt,xt),S[W+3+96]=ia(wt,xt,xt)}function Z1(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1-32],At=S[W+0-32],wt=S[W+1-32],xt=S[W+2-32],Qt=S[W+3-32];S[W+0+0]=S[W+1+64]=at+At+1>>1,S[W+1+0]=S[W+2+64]=At+wt+1>>1,S[W+2+0]=S[W+3+64]=wt+xt+1>>1,S[W+3+0]=xt+Qt+1>>1,S[W+0+96]=ia(qe,Me,ye),S[W+0+64]=ia(Me,ye,at),S[W+0+32]=S[W+1+96]=ia(ye,at,At),S[W+1+32]=S[W+2+96]=ia(at,At,wt),S[W+2+32]=S[W+3+96]=ia(At,wt,xt),S[W+3+32]=ia(wt,xt,Qt)}function Y1(S,W){var ye=S[W+0-32],Me=S[W+1-32],qe=S[W+2-32],at=S[W+3-32],At=S[W+4-32],wt=S[W+5-32],xt=S[W+6-32],Qt=S[W+7-32];S[W+0+0]=ye+Me+1>>1,S[W+1+0]=S[W+0+64]=Me+qe+1>>1,S[W+2+0]=S[W+1+64]=qe+at+1>>1,S[W+3+0]=S[W+2+64]=at+At+1>>1,S[W+0+32]=ia(ye,Me,qe),S[W+1+32]=S[W+0+96]=ia(Me,qe,at),S[W+2+32]=S[W+1+96]=ia(qe,at,At),S[W+3+32]=S[W+2+96]=ia(at,At,wt),S[W+3+64]=ia(At,wt,xt),S[W+3+96]=ia(wt,xt,Qt)}function Wd(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1+96];S[W+0+0]=ye+Me+1>>1,S[W+2+0]=S[W+0+32]=Me+qe+1>>1,S[W+2+32]=S[W+0+64]=qe+at+1>>1,S[W+1+0]=ia(ye,Me,qe),S[W+3+0]=S[W+1+32]=ia(Me,qe,at),S[W+3+32]=S[W+1+64]=ia(qe,at,at),S[W+3+64]=S[W+2+64]=S[W+0+96]=S[W+1+96]=S[W+2+96]=S[W+3+96]=at}function Sp(S,W){var ye=S[W-1+0],Me=S[W-1+32],qe=S[W-1+64],at=S[W-1+96],At=S[W-1-32],wt=S[W+0-32],xt=S[W+1-32],Qt=S[W+2-32];S[W+0+0]=S[W+2+32]=ye+At+1>>1,S[W+0+32]=S[W+2+64]=Me+ye+1>>1,S[W+0+64]=S[W+2+96]=qe+Me+1>>1,S[W+0+96]=at+qe+1>>1,S[W+3+0]=ia(wt,xt,Qt),S[W+2+0]=ia(At,wt,xt),S[W+1+0]=S[W+3+32]=ia(ye,At,wt),S[W+1+32]=S[W+3+64]=ia(Me,ye,At),S[W+1+64]=S[W+3+96]=ia(qe,Me,ye),S[W+1+96]=ia(at,qe,Me)}function qh(S,W){var ye;for(ye=0;8>ye;++ye)c(S,W+32*ye,S,W-32,8)}function X1(S,W){var ye;for(ye=0;8>ye;++ye)g(S,W,S[W-1],8),W+=32}function Z0(S,W,ye){var Me;for(Me=0;8>Me;++Me)g(W,ye+32*Me,S,8)}function J1(S,W){var ye,Me=8;for(ye=0;8>ye;++ye)Me+=S[W+ye-32]+S[W-1+32*ye];Z0(Me>>4,S,W)}function Ip(S,W){var ye,Me=4;for(ye=0;8>ye;++ye)Me+=S[W+ye-32];Z0(Me>>3,S,W)}function Tp(S,W){var ye,Me=4;for(ye=0;8>ye;++ye)Me+=S[W-1+32*ye];Z0(Me>>3,S,W)}function c1(S,W){Z0(128,S,W)}function Y0(S,W,ye){var Me=S[W-ye],qe=S[W+0],at=3*(qe-Me)+q1[1020+S[W-2*ye]-S[W+ye]],At=y1[112+(at+4>>3)];S[W-ye]=jA[255+Me+y1[112+(at+3>>3)]],S[W+0]=jA[255+qe-At]}function Fp(S,W,ye,Me){var qe=S[W+0],at=S[W+ye];return pc[255+S[W-2*ye]-S[W-ye]]>Me||pc[255+at-qe]>Me}function Zd(S,W,ye,Me){return 4*pc[255+S[W-ye]-S[W+0]]+pc[255+S[W-2*ye]-S[W+ye]]<=Me}function Dp(S,W,ye,Me,qe){var at=S[W-3*ye],At=S[W-2*ye],wt=S[W-ye],xt=S[W+0],Qt=S[W+ye],br=S[W+2*ye],Zr=S[W+3*ye];return 4*pc[255+wt-xt]+pc[255+At-Qt]>Me?0:pc[255+S[W-4*ye]-at]<=qe&&pc[255+at-At]<=qe&&pc[255+At-wt]<=qe&&pc[255+Zr-br]<=qe&&pc[255+br-Qt]<=qe&&pc[255+Qt-xt]<=qe}function $h(S,W,ye,Me){var qe=2*Me+1;for(Me=0;16>Me;++Me)Zd(S,W+Me,ye,qe)&&Y0(S,W+Me,ye)}function Lp(S,W,ye,Me){var qe=2*Me+1;for(Me=0;16>Me;++Me)Zd(S,W+Me*ye,1,qe)&&Y0(S,W+Me*ye,1)}function f1(S,W,ye,Me){var qe;for(qe=3;0>7,yn=18*_n+63>>7,_n=9*_n+63>>7;xt[Qt-3*br]=jA[255+xt[Qt-3*br]+_n],xt[Qt-2*br]=jA[255+Zr+yn],xt[Qt-br]=jA[255+jt+Vr],xt[Qt+0]=jA[255+Sr-Vr],xt[Qt+br]=jA[255+jr-yn],xt[Qt+2*br]=jA[255+dn-_n]}W+=Me}}function J0(S,W,ye,Me,qe,at,At,wt){for(at=2*at+1;0>3)],dn=y1[112+(dn+3>>3)],Vr=jr+1>>1;xt[Qt-2*br]=jA[255+xt[Qt-2*br]+Vr],xt[Qt-br]=jA[255+Zr+dn],xt[Qt+0]=jA[255+jt-jr],xt[Qt+br]=jA[255+Sr-Vr]}W+=Me}}function d1(S,W,ye,Me,qe,at){X0(S,W,ye,1,16,Me,qe,at)}function ed(S,W,ye,Me,qe,at){X0(S,W,1,ye,16,Me,qe,at)}function p1(S,W,ye,Me,qe,at){var At;for(At=3;0Qt?0:255:Qt)&255,Qt=xt,qe[at+wt]=br}}function Zo(S,W,ye,Me){var qe=W.width,at=W.o;if(a(S!=null&&W!=null),0>ye||0>=Me||ye+Me>at)return null;if(!S.Cc){if(S.ga==null){var At;if(S.ga=new da,(At=S.ga==null)||(At=W.width*W.o,a(S.Gb.length==0),S.Gb=_(At),S.Uc=0,S.Gb==null?At=0:(S.mb=S.Gb,S.nb=S.Uc,S.rc=null,At=1),At=!At),!At){At=S.ga;var wt=S.Fa,xt=S.P,Qt=S.qc,br=S.mb,Zr=S.nb,jt=xt+1,Sr=Qt-1,jr=At.l;if(a(wt!=null&&br!=null&&W!=null),th[0]=null,th[1]=no,th[2]=yl,th[3]=Yl,At.ca=br,At.tb=Zr,At.c=W.width,At.i=W.height,a(0=Qt)W=0;else if(At.$a=3&wt[xt+0],At.Z=wt[xt+0]>>2&3,At.Lc=wt[xt+0]>>4&3,xt=wt[xt+0]>>6&3,0>At.$a||1=At.c*At.i;At=!W}if(At)return null;S.ga.Lc!=1?S.Ga=0:Me=at-ye}a(S.ga!=null),a(ye+Me<=at);e:{if(W=(wt=S.ga).c,at=wt.l.o,wt.$a==0){if(jt=S.rc,Sr=S.Vc,jr=S.Fa,xt=S.P+1+ye*W,Qt=S.mb,br=S.nb+ye*W,a(xt<=S.P+S.qc),wt.Z!=0)for(a(th[wt.Z]!=null),At=0;At=W)W=1;else if(wt.ic||Nc(),wt.ic){wt=At.V,jt=At.Ba,Sr=At.c;var dn=At.i,Vr=(jr=1,xt=At.$/Sr,Qt=At.$%Sr,br=At.m,Zr=At.s,At.$),yn=Sr*dn,_n=Sr*W,jn=Zr.wc,Rn=Vr<_n?Su(Zr,Qt,xt):null;a(Vr<=yn),a(W<=dn),a(kc(Zr));t:for(;;){for(;!br.h&&Vr<_n;){if(Qt&jn||(Rn=Su(Zr,Qt,xt)),a(Rn!=null),zr(br),256>(dn=xl(Rn.G[0],Rn.H[0],br)))wt[jt+Vr]=dn,++Vr,++Qt>=Sr&&(Qt=0,++xt<=W&&!(xt%16)&&Rc(At,xt));else{if(!(280>dn)){jr=0;break t}dn=lc(dn-256,br);var ss,Qi=xl(Rn.G[4],Rn.H[4],br);if(zr(br),!(Vr>=(Qi=uc(Sr,Qi=lc(Qi,br)))&&yn-Vr>=dn)){jr=0;break t}for(ss=0;ss=Sr;)Qt-=Sr,++xt<=W&&!(xt%16)&&Rc(At,xt);Vr<_n&&Qt&jn&&(Rn=Su(Zr,Qt,xt))}a(br.h==vr(br))}Rc(At,xt>W?W:xt);break t}!jr||br.h&&Vr=at&&(S.Cc=1),Me=1}if(!Me)return null;if(S.Cc&&((Me=S.ga)!=null&&(Me.mc=null),S.ga=null,0>23,wt[xt+4*At+1]=wt[xt+4*At+1]*Zr>>23,wt[xt+4*At+2]=wt[xt+4*At+2]*Zr>>23)}W+=at}}function Xl(S,W,ye,Me,qe){for(;0>4)*xt>>16;S[W+2*at+0]=(240&At|At>>4)*xt>>16&240|(15&At|At<<4)*xt>>16>>4&15,S[W+2*at+1]=240&Qt|wt}W+=qe}}function Iu(S,W,ye,Me,qe,at,At,wt){var xt,Qt,br=255;for(Qt=0;Qt>8}function Nc(){Kp=au,Eg=Xl,_g=Iu,xg=q0}function $0(S,W,ye){Xt[S]=function(Me,qe,at,At,wt,xt,Qt,br,Zr,jt,Sr,jr,dn,Vr,yn,_n,jn){var Rn,ss=jn-1>>1,Qi=wt[xt+0]|Qt[br+0]<<16,wa=Zr[jt+0]|Sr[jr+0]<<16;a(Me!=null);var Ji=3*Qi+wa+131074>>2;for(W(Me[qe+0],255&Ji,Ji>>16,dn,Vr),at!=null&&(Ji=3*wa+Qi+131074>>2,W(at[At+0],255&Ji,Ji>>16,yn,_n)),Rn=1;Rn<=ss;++Rn){var Ya=wt[xt+Rn]|Qt[br+Rn]<<16,lu=Zr[jt+Rn]|Sr[jr+Rn]<<16,ba=Qi+Ya+wa+lu+524296,qi=ba+2*(Ya+wa)>>3;Ji=qi+Qi>>1,Qi=(ba=ba+2*(Qi+lu)>>3)+Ya>>1,W(Me[qe+2*Rn-1],255&Ji,Ji>>16,dn,Vr+(2*Rn-1)*ye),W(Me[qe+2*Rn-0],255&Qi,Qi>>16,dn,Vr+(2*Rn-0)*ye),at!=null&&(Ji=ba+wa>>1,Qi=qi+lu>>1,W(at[At+2*Rn-1],255&Ji,Ji>>16,yn,_n+(2*Rn-1)*ye),W(at[At+2*Rn+0],255&Qi,Qi>>16,yn,_n+(2*Rn+0)*ye)),Qi=Ya,wa=lu}1&jn||(Ji=3*Qi+wa+131074>>2,W(Me[qe+jn-1],255&Ji,Ji>>16,dn,Vr+(jn-1)*ye),at!=null&&(Ji=3*wa+Qi+131074>>2,W(at[At+jn-1],255&Ji,Ji>>16,yn,_n+(jn-1)*ye)))}}function kp(){gc[w1]=wm,gc[b1]=Mg,gc[Fg]=bm,gc[E1]=Og,gc[_1]=Ng,gc[$1]=Ug,gc[Dg]=Em,gc[eg]=Mg,gc[tg]=Og,gc[x1]=Ng,gc[rg]=Ug}function Yd(S){return S&~_m?0>S?0:255:S>>Pg}function Gf(S,W){return Yd((19077*S>>8)+(26149*W>>8)-14234)}function td(S,W,ye){return Yd((19077*S>>8)-(6419*W>>8)-(13320*ye>>8)+8708)}function rd(S,W){return Yd((19077*S>>8)+(33050*W>>8)-17685)}function Vf(S,W,ye,Me,qe){Me[qe+0]=Gf(S,ye),Me[qe+1]=td(S,W,ye),Me[qe+2]=rd(S,W)}function Tu(S,W,ye,Me,qe){Me[qe+0]=rd(S,W),Me[qe+1]=td(S,W,ye),Me[qe+2]=Gf(S,ye)}function nd(S,W,ye,Me,qe){var at=td(S,W,ye);W=at<<3&224|rd(S,W)>>3,Me[qe+0]=248&Gf(S,ye)|at>>5,Me[qe+1]=W}function id(S,W,ye,Me,qe){var at=240&rd(S,W)|15;Me[qe+0]=240&Gf(S,ye)|td(S,W,ye)>>4,Me[qe+1]=at}function Rp(S,W,ye,Me,qe){Me[qe+0]=255,Vf(S,W,ye,Me,qe+1)}function Mp(S,W,ye,Me,qe){Tu(S,W,ye,Me,qe),Me[qe+3]=255}function eA(S,W,ye,Me,qe){Vf(S,W,ye,Me,qe),Me[qe+3]=255}function ef(S,W,ye){Xt[S]=function(Me,qe,at,At,wt,xt,Qt,br,Zr){for(var jt=br+(-2&Zr)*ye;br!=jt;)W(Me[qe+0],at[At+0],wt[xt+0],Qt,br),W(Me[qe+1],at[At+0],wt[xt+0],Qt,br+ye),qe+=2,++At,++xt,br+=2*ye;1&Zr&&W(Me[qe+0],at[At+0],wt[xt+0],Qt,br)}}function Xd(S,W,ye){return ye==0?S==0?W==0?6:5:W==0?4:0:ye}function g1(S,W,ye,Me,qe){switch(S>>>30){case 3:ld(W,ye,Me,qe,0);break;case 2:dc(W,ye,Me,qe);break;case 1:xo(W,ye,Me,qe)}}function hc(S,W){var ye,Me,qe=W.M,at=W.Nb,At=S.oc,wt=S.pc+40,xt=S.oc,Qt=S.pc+584,br=S.oc,Zr=S.pc+600;for(ye=0;16>ye;++ye)At[wt+32*ye-1]=129;for(ye=0;8>ye;++ye)xt[Qt+32*ye-1]=129,br[Zr+32*ye-1]=129;for(0ye;++ye)c(At,wt+32*ye-4,At,wt+32*ye+12,4);for(ye=-1;8>ye;++ye)c(xt,Qt+32*ye-4,xt,Qt+32*ye+4,4),c(br,Zr+32*ye-4,br,Zr+32*ye+4,4)}var Sr=S.Gd,jr=S.Hd+Me,dn=jt.ad,Vr=jt.Hc;if(0=S.za-1?g(yn,_n,Sr[jr].y[15],4):c(yn,_n,Sr[jr+1].y,0,4)),ye=0;4>ye;ye++)yn[_n+128+ye]=yn[_n+256+ye]=yn[_n+384+ye]=yn[_n+0+ye];for(ye=0;16>ye;++ye,Vr<<=2)yn=At,_n=wt+jg[ye],Uc[jt.Ob[ye]](yn,_n),g1(Vr,dn,16*+ye,yn,_n)}else if(yn=Xd(Me,qe,jt.Ob[0]),eh[yn](At,wt),Vr!=0)for(ye=0;16>ye;++ye,Vr<<=2)g1(Vr,dn,16*+ye,At,wt+jg[ye]);for(ye=jt.Gc,yn=Xd(Me,qe,jt.Dd),nf[yn](xt,Qt),nf[yn](br,Zr),Vr=dn,yn=xt,_n=Qt,255&(jt=0|ye)&&(170&jt?f0(Vr,256,yn,_n):Qo(Vr,256,yn,_n)),jt=br,Vr=Zr,255&(ye>>=8)&&(170&ye?f0(dn,320,jt,Vr):Qo(dn,320,jt,Vr)),qeye;++ye)c(Sr,jr+ye*S.R,At,wt+32*ye,16);for(ye=0;8>ye;++ye)c(dn,jt+ye*S.B,xt,Qt+32*ye,8),c(Vr,yn+ye*S.B,br,Zr+32*ye,8)}}function sd(S,W,ye,Me,qe,at,At,wt,xt){var Qt=[0],br=[0],Zr=0,jt=xt!=null?xt.kd:0,Sr=xt!=null?xt:new kn;if(S==null||12>ye)return 7;Sr.data=S,Sr.w=W,Sr.ha=ye,W=[W],ye=[ye],Sr.gb=[Sr.gb];e:{var jr=W,dn=ye,Vr=Sr.gb;if(a(S!=null),a(dn!=null),a(Vr!=null),Vr[0]=0,12<=dn[0]&&!s(S,jr[0],"RIFF")){if(s(S,jr[0]+8,"WEBP")){Vr=3;break e}var yn=ms(S,jr[0]+4);if(12>yn||4294967286dn[0]-8){Vr=7;break e}Vr[0]=yn,jr[0]+=12,dn[0]-=12}Vr=0}if(Vr!=0)return Vr;for(yn=0Vr[0])Vr=7;else{if(!s(_n,dn[0],"VP8X")){if(ms(_n,dn[0]+4)!=10){Vr=3;break e}if(18>Vr[0]){Vr=7;break e}var Qi=ms(_n,dn[0]+8),wa=1+gi(_n,dn[0]+12);if(2147483648<=wa*(_n=1+gi(_n,dn[0]+15))){Vr=3;break e}ss!=null&&(ss[0]=Qi),jn!=null&&(jn[0]=wa),Rn!=null&&(Rn[0]=_n),dn[0]+=18,Vr[0]-=18,Ji[0]=1}Vr=0}}if(Zr=Zr[0],jr=jr[0],Vr!=0)return Vr;if(dn=!!(2&jr),!yn&&Zr)return 3;if(at!=null&&(at[0]=!!(16&jr)),At!=null&&(At[0]=dn),wt!=null&&(wt[0]=0),At=Qt[0],jr=br[0],Zr&&dn&&xt==null){Vr=0;break}if(4>ye){Vr=7;break}if(yn&&Zr||!yn&&!Zr&&!s(S,W[0],"ALPH")){ye=[ye],Sr.na=[Sr.na],Sr.P=[Sr.P],Sr.Sa=[Sr.Sa];e:{Qi=S,Vr=W,yn=ye;var Ji=Sr.gb;jn=Sr.na,Rn=Sr.P,ss=Sr.Sa,wa=22,a(Qi!=null),a(yn!=null),_n=Vr[0];var Ya=yn[0];for(a(jn!=null),a(ss!=null),jn[0]=null,Rn[0]=null,ss[0]=0;;){if(Vr[0]=_n,yn[0]=Ya,8>Ya){Vr=7;break e}var lu=ms(Qi,_n+4);if(4294967286Ji){Vr=3;break e}if(!s(Qi,_n,"VP8 ")||!s(Qi,_n,"VP8L")){Vr=0;break e}if(Ya[0]yn[0])Vr=7;else{if(_n||wa){if(Ji=ms(Ji,Qi+4),12<=jn&&Ji>jn-12){Vr=3;break e}if(jt&&Ji>yn[0]-8){Vr=7;break e}Rn[0]=Ji,Vr[0]+=8,yn[0]-=8,ss[0]=wa}else ss[0]=5<=yn[0]&&Ji[Qi+0]==47&&!(Ji[Qi+4]>>5),Rn[0]=yn[0];Vr=0}if(ye=ye[0],Sr.Ja=Sr.Ja[0],Sr.xa=Sr.xa[0],W=W[0],Vr!=0)break;if(4294967286ye){Vr=7;break}wt=At,jt=jr,dn=at,S==null||5>ye?S=0:5<=ye&&S[W+0]==47&&!(S[W+4]>>5)?(yn=[0],Ji=[0],jn=[0],An(Rn=new Vt,S,W,ye),K0(Rn,yn,Ji,jn)?(wt!=null&&(wt[0]=yn[0]),jt!=null&&(jt[0]=Ji[0]),dn!=null&&(dn[0]=jn[0]),S=1):S=0):S=0}else{if(10>ye){Vr=7;break}wt=jr,S==null||10>ye||!s1(S,W+3,ye-3)?S=0:(jt=S[W+0]|S[W+1]<<8|S[W+2]<<16,dn=16383&(S[W+7]<<8|S[W+6]),S=16383&(S[W+9]<<8|S[W+8]),1&jt||3<(jt>>1&7)||!(jt>>4&1)||jt>>5>=Sr.Ja||!dn||!S?S=0:(At&&(At[0]=dn),wt&&(wt[0]=S),S=1))}if(!S||(At=At[0],jr=jr[0],Zr&&(Qt[0]!=At||br[0]!=jr)))return 3;xt!=null&&(xt[0]=Sr,xt.offset=W-xt.w,a(4294967286>W-xt.w),a(xt.offset==xt.ha-ye));break}return Vr==0||Vr==7&&Zr&&xt==null?(at!=null&&(at[0]|=Sr.na!=null&&0ye||(at&=-2,At&=-2),0>at||0>At||0>=wt||0>=xt||at+wt>Me||At+xt>qe))return 0;if(W.v=at,W.j=At,W.va=at+wt,W.o=At+xt,W.U=wt,W.T=xt,W.da=S!=null&&0S.S){var W=S.f.RGBA;W.fb+=(S.height-1)*W.A,W.A=-W.A}else W=S.f.kb,S=S.height,W.O+=(S-1)*W.fa,W.fa=-W.fa,W.N+=(S-1>>1)*W.Ab,W.Ab=-W.Ab,W.W+=(S-1>>1)*W.Db,W.Db=-W.Db,W.F!=null&&(W.J+=(S-1)*W.lb,W.lb=-W.lb);return 0}function Wf(S,W,ye,Me){if(Me==null||0>=S||0>=W)return 2;if(ye!=null){if(ye.Da){var qe=ye.cd,at=ye.bd,At=-2&ye.v,wt=-2&ye.j;if(0>At||0>wt||0>=qe||0>=at||At+qe>S||wt+at>W)return 2;S=qe,W=at}if(ye.da){if(!Qs(S,W,qe=[ye.ib],at=[ye.hb]))return 2;S=qe[0],W=at[0]}}Me.width=S,Me.height=W;e:{var xt=Me.width,Qt=Me.height;if(S=Me.S,0>=xt||0>=Qt||!(S>=w1&&13>S))S=2;else{if(0>=Me.Rd&&Me.sd==null){At=at=qe=W=0;var br=(wt=xt*Hg[S])*Qt;if(11>S||(at=(Qt+1)/2*(W=(xt+1)/2),S==12&&(At=(qe=xt)*Qt)),(Qt=_(br+2*at+At))==null){S=1;break e}Me.sd=Qt,11>S?((xt=Me.f.RGBA).eb=Qt,xt.fb=0,xt.A=wt,xt.size=br):((xt=Me.f.kb).y=Qt,xt.O=0,xt.fa=wt,xt.Fd=br,xt.f=Qt,xt.N=0+br,xt.Ab=W,xt.Cd=at,xt.ea=Qt,xt.W=0+br+at,xt.Db=W,xt.Ed=at,S==12&&(xt.F=Qt,xt.J=0+br+2*at),xt.Tc=At,xt.lb=qe)}if(W=1,qe=Me.S,at=Me.width,At=Me.height,qe>=w1&&13>qe)if(11>qe)S=Me.f.RGBA,W&=(wt=Math.abs(S.A))*(At-1)+at<=S.size,W&=wt>=at*Hg[qe],W&=S.eb!=null;else{S=Me.f.kb,wt=(at+1)/2,br=(At+1)/2,xt=Math.abs(S.fa),Qt=Math.abs(S.Ab);var Zr=Math.abs(S.Db),jt=Math.abs(S.lb),Sr=jt*(At-1)+at;W&=xt*(At-1)+at<=S.Fd,W&=Qt*(br-1)+wt<=S.Cd,W=(W&=Zr*(br-1)+wt<=S.Ed)&xt>=at&Qt>=wt&Zr>=wt,W&=S.y!=null,W&=S.f!=null,W&=S.ea!=null,qe==12&&(W&=jt>=at,W&=Sr<=S.Tc,W&=S.F!=null)}else W=0;S=W?0:2}}return S!=0||ye!=null&&ye.fd&&(S=Np(Me)),S}var ad=64,PA=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],QA=24,Zf=32,tf=8,Yf=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Hi("Predictor0","PredictorAdd0"),Xt.Predictor0=function(){return 4278190080},Xt.Predictor1=function(S){return S},Xt.Predictor2=function(S,W,ye){return W[ye+0]},Xt.Predictor3=function(S,W,ye){return W[ye+1]},Xt.Predictor4=function(S,W,ye){return W[ye-1]},Xt.Predictor5=function(S,W,ye){return Es(Es(S,W[ye+1]),W[ye+0])},Xt.Predictor6=function(S,W,ye){return Es(S,W[ye-1])},Xt.Predictor7=function(S,W,ye){return Es(S,W[ye+0])},Xt.Predictor8=function(S,W,ye){return Es(W[ye-1],W[ye+0])},Xt.Predictor9=function(S,W,ye){return Es(W[ye+0],W[ye+1])},Xt.Predictor10=function(S,W,ye){return Es(Es(S,W[ye-1]),Es(W[ye+0],W[ye+1]))},Xt.Predictor11=function(S,W,ye){var Me=W[ye+0];return 0>=oa(Me>>24&255,S>>24&255,(W=W[ye-1])>>24&255)+oa(Me>>16&255,S>>16&255,W>>16&255)+oa(Me>>8&255,S>>8&255,W>>8&255)+oa(255&Me,255&S,255&W)?Me:S},Xt.Predictor12=function(S,W,ye){var Me=W[ye+0];return(Eo((S>>24&255)+(Me>>24&255)-((W=W[ye-1])>>24&255))<<24|Eo((S>>16&255)+(Me>>16&255)-(W>>16&255))<<16|Eo((S>>8&255)+(Me>>8&255)-(W>>8&255))<<8|Eo((255&S)+(255&Me)-(255&W)))>>>0},Xt.Predictor13=function(S,W,ye){var Me=W[ye-1];return(Qa((S=Es(S,W[ye+0]))>>24&255,Me>>24&255)<<24|Qa(S>>16&255,Me>>16&255)<<16|Qa(S>>8&255,Me>>8&255)<<8|Qa(255&S,255&Me))>>>0};var Up=Xt.PredictorAdd0;Xt.PredictorAdd1=Za,Hi("Predictor2","PredictorAdd2"),Hi("Predictor3","PredictorAdd3"),Hi("Predictor4","PredictorAdd4"),Hi("Predictor5","PredictorAdd5"),Hi("Predictor6","PredictorAdd6"),Hi("Predictor7","PredictorAdd7"),Hi("Predictor8","PredictorAdd8"),Hi("Predictor9","PredictorAdd9"),Hi("Predictor10","PredictorAdd10"),Hi("Predictor11","PredictorAdd11"),Hi("Predictor12","PredictorAdd12"),Hi("Predictor13","PredictorAdd13");var Jd=Xt.PredictorAdd2;os("ColorIndexInverseTransform","MapARGB","32b",function(S){return S>>8&255},function(S){return S}),os("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(S){return S},function(S){return S>>8&255});var kl,m1=Xt.ColorIndexInverseTransform,A0=Xt.MapARGB,c0=Xt.VP8LColorIndexInverseTransformAlpha,Pp=Xt.MapAlpha,Qp=Xt.VP8LPredictorsAdd=[];Qp.length=16,(Xt.VP8LPredictors=[]).length=16,(Xt.VP8LPredictorsAdd_C=[]).length=16,(Xt.VP8LPredictors_C=[]).length=16;var jp,Hp,Xf,Jf,qf,od,$f,ld,dc,f0,xo,Qo,Rl,ou,rf,zp,qd,v1,gg,mg,vg,yg,wg,bg,Kp,Eg,_g,xg,Bg=_(511),Cg=_(2041),Sg=_(225),Ig=_(767),Tg=0,q1=Cg,y1=Sg,jA=Ig,pc=Bg,w1=0,b1=1,Fg=2,E1=3,_1=4,$1=5,Dg=6,eg=7,tg=8,x1=9,rg=10,am=[2,3,7],om=[3,3,11],Lg=[280,256,256,256,40],lm=[0,1,1,1,0],um=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],cm=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],fm=8,ng=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ig=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Gp=null,hm=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],dm=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],kg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],pm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],gm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],mm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],vm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],eh=[],Uc=[],nf=[],ym=1,Rg=2,th=[],gc=[];$0("UpsampleRgbLinePair",Vf,3),$0("UpsampleBgrLinePair",Tu,3),$0("UpsampleRgbaLinePair",eA,4),$0("UpsampleBgraLinePair",Mp,4),$0("UpsampleArgbLinePair",Rp,4),$0("UpsampleRgba4444LinePair",id,2),$0("UpsampleRgb565LinePair",nd,2);var wm=Xt.UpsampleRgbLinePair,bm=Xt.UpsampleBgrLinePair,Mg=Xt.UpsampleRgbaLinePair,Og=Xt.UpsampleBgraLinePair,Ng=Xt.UpsampleArgbLinePair,Ug=Xt.UpsampleRgba4444LinePair,Em=Xt.UpsampleRgb565LinePair,B1=16,C1=1<Me.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Me.ca.f.kb.F!=null&&Nc()),Me.Pb&&0(xt=ye.Md)?0:100Qt;++Qt)12>(Zr=qe.pb[Qt]).lc&&(Zr.ia=xt*Fm[0>Zr.lc?0:Zr.lc]>>3),br|=Zr.ia;br&&(alert("todo:VP8InitRandom"),qe.ia=1)}qe.Ga=ye.Id,100qe.Ga&&(qe.Ga=0)}(function(jt,Sr){if(jt==null)return 0;if(Sr==null)return Zl(jt,2,"NULL VP8Io parameter in VP8Decode().");if(!jt.cb&&!l0(jt,Sr))return 0;if(a(jt.cb),Sr.ac==null||Sr.ac(Sr)){Sr.ob&&(jt.L=0);var jr=S1[jt.L];if(jt.L==2?(jt.yb=0,jt.zb=0):(jt.yb=Sr.v-jr>>4,jt.zb=Sr.j-jr>>4,0>jt.yb&&(jt.yb=0),0>jt.zb&&(jt.zb=0)),jt.Va=Sr.o+15+jr>>4,jt.Hb=Sr.va+15+jr>>4,jt.Hb>jt.za&&(jt.Hb=jt.za),jt.Va>jt.Ub&&(jt.Va=jt.Ub),0jr;++jr){var Vr;if(jt.Qa.Cb){var yn=jt.Qa.Lb[jr];jt.Qa.Fb||(yn+=dn.Tb)}else yn=dn.Tb;for(Vr=0;1>=Vr;++Vr){var _n=jt.gd[jr][Vr],jn=yn;if(dn.Pc&&(jn+=dn.vd[0],Vr&&(jn+=dn.od[0])),0<(jn=0>jn?0:63>2:Rn>>1)>9-dn.wb&&(Rn=9-dn.wb),1>Rn&&(Rn=1),_n.dd=Rn,_n.tc=2*jn+Rn,_n.ld=40<=jn?2:15<=jn?1:0}else _n.tc=0;_n.La=Vr}}}jr=0}else Zl(jt,6,"Frame setup failed"),jr=jt.a;if(jr=jr==0){if(jr){jt.$c=0,0jt.Vb){if(jt.Vb=0,jt.Ec=_(_n),jt.Fc=0,jt.Ec==null){jr=Zl(jt,1,"no memory during frame initialization.");break t}jt.Vb=_n}_n=jt.Ec,jn=jt.Fc,jt.Ac=_n,jt.Bc=jn,jn+=dn,jt.Gd=q(ss,n1),jt.Hd=0,jt.rb=q(Qi+1,_p),jt.sb=1,jt.wa=wa?q(wa,cc):null,jt.Y=0,jt.D.Nb=0,jt.D.wa=jt.wa,jt.D.Y=jt.Y,0=jr;++jr)Bg[255+jr]=0>jr?-jr:jr;for(jr=-1020;1020>=jr;++jr)Cg[1020+jr]=-128>jr?-128:127=jr;++jr)Sg[112+jr]=-16>jr?-16:15=jr;++jr)Ig[255+jr]=0>jr?0:255qa;++qa){var uu,io=tA[0+qa];for(uu=0;4>uu;++uu){io=gm[il[Fu+uu]][io];for(var Co=kg[Bn(ua,io[0])];0>3;for(Co=0;256>Co;Co+=16)qa[Hu+Co]=vA}Du=1,Pc=Fu[0]}var jo=15&ua.la,Au=15&rA.la;for(Co=0;4>Co;++Co){var HA=1&Au;for(vA=So=0;4>vA;++vA)jo=jo>>1|(HA=(Ol=Gp(il,Pc,Ol=HA+(1&jo),Bl.Sc,Du,qa,Hu))>Du)<<7,So=So<<2|(3>=4,Au=Au>>1|HA<<7,uu=(uu<<8|So)>>>0}for(Pc=jo,Du=Au>>4,Cl=0;4>Cl;Cl+=2){for(So=0,jo=ua.la>>4+Cl,Au=rA.la>>4+Cl,Co=0;2>Co;++Co){for(HA=1&Au,vA=0;2>vA;++vA)Ol=HA+(1&jo),jo=jo>>1|(HA=0<(Ol=Gp(il,Fu[2],Ol,Bl.Qc,0,qa,Hu)))<<3,So=So<<2|(3>=2,Au=Au>>1|HA<<5}io|=So<<4*Cl,Pc|=jo<<4<=qi.zb&&qi.M<=qi.Va,qi.Aa==0)t:{if(ba.M=qi.M,ba.uc=ua,hc(qi,ba),Ml=1,ba=(So=qi.D).Nb,ua=(io=S1[qi.L])*qi.R,il=io/2*qi.B,Co=16*ba*qi.R,vA=8*ba*qi.B,Fu=qi.sa,tA=qi.ta-ua+Co,Bl=qi.qa,qa=qi.ra-il+vA,Hu=qi.Ha,rA=qi.Ia-il+vA,Au=(jo=So.M)==0,uu=jo>=qi.Va-1,qi.Aa==2&&hc(qi,So),So.uc)for(HA=(Ol=qi).D.M,a(Ol.D.uc),So=Ol.yb;Sosi.o&&(jo=si.o),si.F=null,si.J=null,qi.Fa!=null&&0>1),si.W+=qi.B*(io>>1),si.F!=null&&(si.J+=si.width*io)),So>1,si.W+=si.v>>1,si.F!=null&&(si.J+=si.v),si.ka=So-si.j,si.U=si.va-si.v,si.T=jo-So,Ml=si.put(si))}ba+1!=qi.Ic||uu||(c(qi.sa,qi.ta-ua,Fu,tA+16*qi.R,ua),c(qi.qa,qi.ra-il,Bl,qa+8*qi.B,il),c(qi.Ha,qi.Ia-il,Hu,rA+8*qi.B,il))}if(!Ml)return Zl(Ya,6,"Output aborted.")}return 1}(jt,Sr)),Sr.bc!=null&&Sr.bc(Sr),jr&=1}return jr?(jt.cb=0,jr):0})(S,Me)||(W=S.a)}}else W=S.a}W==0&&At.Oa!=null&&At.Oa.fd&&(W=Np(At.ba))}At=W}at=At!=0?null:11>at?wt.f.RGBA.eb:wt.f.kb.y}else at=null;return at};var Hg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function oe(Xt,Ur){for(var dt="",Rt=0;Rt<4;Rt++)dt+=String.fromCharCode(Xt[Ur++]);return dt}function Fe(Xt,Ur){return Xt[Ur+0]|Xt[Ur+1]<<8}function Ze(Xt,Ur){return(Xt[Ur+0]|Xt[Ur+1]<<8|Xt[Ur+2]<<16)>>>0}function rt(Xt,Ur){return(Xt[Ur+0]|Xt[Ur+1]<<8|Xt[Ur+2]<<16|Xt[Ur+3]<<24)>>>0}new re;var Te=[0],Tt=[0],Bt=[],kt=new re,mt=n,cr=function(Xt,Ur){var dt={},Rt=0,hr=!1,lr=0,qr=0;if(dt.frames=[],!function(ft,Vt){for(var rr=0;rr<4;rr++)if(ft[Vt+rr]!="RIFF".charCodeAt(rr))return!0;return!1}(Xt,Ur)){for(rt(Xt,Ur+=4),Ur+=8;Ur>1&1}nn!="ANMF"&&(Ur+=Wr)}return dt}}(mt,0);cr.response=mt,cr.rgbaoutput=!0,cr.dataurl=!1;var sr=cr.header?cr.header:null,Zt=cr.frames?cr.frames:null;if(sr){sr.loop_counter=sr.loop_count,Te=[sr.canvas_height],Tt=[sr.canvas_width];for(var Yr=0;Yr=2?Mt[1]:wi[0],wi[2]=Mt.length>=3?Mt[2]:wi[0],wi[3]=Mt.length>=4?Mt[3]:wi[1]),oe.margin=wi}});var an=!1;Object.defineProperty(this,"autoPaging",{get:function(){return an},set:function(Mt){an=Mt}});var un=0;Object.defineProperty(this,"lastBreak",{get:function(){return un},set:function(Mt){un=Mt}});var Bn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Bn},set:function(Mt){Bn=Mt}}),Object.defineProperty(this,"ctx",{get:function(){return oe},set:function(Mt){Mt instanceof Fe&&(oe=Mt)}}),Object.defineProperty(this,"path",{get:function(){return oe.path},set:function(Mt){oe.path=Mt}});var Hn=[];Object.defineProperty(this,"ctxStack",{get:function(){return Hn},set:function(Mt){Hn=Mt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mt){var wi;wi=rt(Mt),this.ctx.fillStyle=wi.style,this.ctx.isFillTransparent=wi.a===0,this.ctx.fillOpacity=wi.a,this.pdf.setFillColor(wi.r,wi.g,wi.b,{a:wi.a}),this.pdf.setTextColor(wi.r,wi.g,wi.b,{a:wi.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mt){var wi=rt(Mt);this.ctx.strokeStyle=wi.style,this.ctx.isStrokeTransparent=wi.a===0,this.ctx.strokeOpacity=wi.a,wi.a===0?this.pdf.setDrawColor(255,255,255):(wi.a,this.pdf.setDrawColor(wi.r,wi.g,wi.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mt){["butt","round","square"].indexOf(Mt)!==-1&&(this.ctx.lineCap=Mt,this.pdf.setLineCap(Mt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mt){isNaN(Mt)||(this.ctx.lineWidth=Mt,this.pdf.setLineWidth(Mt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mt){["bevel","round","miter"].indexOf(Mt)!==-1&&(this.ctx.lineJoin=Mt,this.pdf.setLineJoin(Mt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mt){isNaN(Mt)||(this.ctx.miterLimit=Mt,this.pdf.setMiterLimit(Mt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mt){this.ctx.textBaseline=Mt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mt){["right","end","center","left","start"].indexOf(Mt)!==-1&&(this.ctx.textAlign=Mt)}});var yi=null,gi=null,ms=null;Object.defineProperty(this,"fontFaces",{get:function(){return ms},set:function(Mt){yi=null,gi=null,ms=Mt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mt){var wi;if(this.ctx.font=Mt,(wi=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Mt))!==null){var Sa=wi[1];wi[2];var Qs=wi[3],Un=wi[4];wi[5];var js=wi[6],Hi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Un)[2];Un=Math.floor(Hi==="px"?parseFloat(Un)*this.pdf.internal.scaleFactor:Hi==="em"?parseFloat(Un)*this.pdf.getFontSize():parseFloat(Un)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Un);var Ds=function(os){var Ll,ro,Fa=[],Da=os.trim();if(Da==="")return P;if(Da in pA)return[pA[Da]];for(;Da!=="";){switch(ro=null,Ll=(Da=nu(Da)).charAt(0)){case'"':case"'":ro=A(Da.substring(1),Ll);break;default:ro=e(Da)}if(ro===null||(Fa.push(ro[0]),(Da=nu(ro[1]))!==""&&Da.charAt(0)!==","))return P;Da=Da.replace(/^,/,"")}return Fa}(js);if(this.fontFaces){var Es=function(os,Ll){var ro=os.getFontList(),Fa=JSON.stringify(ro);if(yi===null||gi!==Fa){var Da=function(cl){var Cs=[];return Object.keys(cl).forEach(function(Wo){cl[Wo].forEach(function(Zs){var la=null;switch(Zs){case"bold":la={family:Wo,weight:"bold"};break;case"italic":la={family:Wo,style:"italic"};break;case"bolditalic":la={family:Wo,weight:"bold",style:"italic"};break;case"":case"normal":la={family:Wo}}la!==null&&(la.ref={name:Wo,style:Zs},Cs.push(la))})}),Cs}(ro);yi=function(cl){for(var Cs={},Wo=0;Wo=700||Sa==="bold")&&(oa="bold"),Sa==="italic"&&(oa+="italic"),oa.length===0&&(oa="normal");for(var Za="",ja={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},rs=0;rs=2*Math.PI&&(vr=0,Fr=2*Math.PI),this.path.push({type:"arc",x:ft,y:Vt,radius:rr,startAngle:vr,endAngle:Fr,counterclockwise:zr})},Ze.prototype.arcTo=function(ft,Vt,rr,vr,Fr){throw new Error("arcTo not implemented.")},Ze.prototype.rect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ft,Vt),this.lineTo(ft+rr,Vt),this.lineTo(ft+rr,Vt+vr),this.lineTo(ft,Vt+vr),this.lineTo(ft,Vt),this.lineTo(ft+rr,Vt),this.lineTo(ft,Vt)},Ze.prototype.fillRect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Te.call(this)){var Fr={};this.lineCap!=="butt"&&(Fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ft,Vt,rr,vr),this.fill(),Fr.hasOwnProperty("lineCap")&&(this.lineCap=Fr.lineCap),Fr.hasOwnProperty("lineJoin")&&(this.lineJoin=Fr.lineJoin)}},Ze.prototype.strokeRect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Tt.call(this)||(this.beginPath(),this.rect(ft,Vt,rr,vr),this.stroke())},Ze.prototype.clearRect=function(ft,Vt,rr,vr){if(isNaN(ft)||isNaN(Vt)||isNaN(rr)||isNaN(vr))throw Xa.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ft,Vt,rr,vr))},Ze.prototype.save=function(ft){ft=typeof ft!="boolean"||ft;for(var Vt=this.pdf.internal.getCurrentPageInfo().pageNumber,rr=0;rr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ze.prototype.drawImage=function(ft,Vt,rr,vr,Fr,zr,an,un,Bn){var Hn=this.pdf.getImageProperties(ft),yi=1,gi=1,ms=1,Mt=1;vr!==void 0&&un!==void 0&&(ms=un/vr,Mt=Bn/Fr,yi=Hn.width/vr*un/vr,gi=Hn.height/Fr*Bn/Fr),zr===void 0&&(zr=Vt,an=rr,Vt=0,rr=0),vr!==void 0&&un===void 0&&(un=vr,Bn=Fr),vr===void 0&&un===void 0&&(un=Hn.width,Bn=Hn.height);var wi=this.ctx.transform.decompose(),Sa=Wr(wi.rotate.shx),Qs=new re,Un=(Qs=(Qs=(Qs=Qs.multiply(wi.translate)).multiply(wi.skew)).multiply(wi.scale)).applyToRectangle(new Z(zr-Vt*ms,an-rr*Mt,vr*yi,Fr*gi));if(this.autoPaging){for(var js,Hi=kt.call(this,Un),Ds=[],Es=0;EsEo||oaUn||Hi0)){for(;Bn>=0;Bn--)if(Fr[Bn-1].close!==!0&&Fr[Bn-1].begin!==!0){Fr[Bn-1].deltas.push(rr),Fr[Bn-1].abs.push(un);break}}break;case"bct":rr=[un.x1-zr[an-1].x,un.y1-zr[an-1].y,un.x2-zr[an-1].x,un.y2-zr[an-1].y,un.x-zr[an-1].x,un.y-zr[an-1].y],Fr[Fr.length-1].deltas.push(rr);break;case"qct":var Hn=zr[an-1].x+2/3*(un.x1-zr[an-1].x),yi=zr[an-1].y+2/3*(un.y1-zr[an-1].y),gi=un.x+2/3*(un.x1-un.x),ms=un.y+2/3*(un.y1-un.y),Mt=un.x,wi=un.y;rr=[Hn-zr[an-1].x,yi-zr[an-1].y,gi-zr[an-1].x,ms-zr[an-1].y,Mt-zr[an-1].x,wi-zr[an-1].y],Fr[Fr.length-1].deltas.push(rr);break;case"arc":Fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Fr[Fr.length-1].abs)&&Fr[Fr.length-1].abs.push(un)}}vr=Vt?null:ft==="stroke"?"stroke":"fill";for(var Sa=!1,Qs=0;Qs=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*ft.scale),Fr=this.lineWidth,this.lineWidth=Fr*ft.scale);var ha=this.autoPaging!=="text";if(ha||rs.y+rs.h<=Es){if(ha||rs.y>=Hi&&rs.x<=Qa){var os=ha?ft.text:this.pdf.splitTextToSize(ft.text,ft.maxWidth||Qa-rs.x)[0],Ll=cr([JSON.parse(JSON.stringify(gi))],this.posX+this.margin[3],-Za+Hi+this.ctx.prevPageLastElemOffset)[0],ro=ha&&(js>Qs||js=.01&&(this.pdf.setFontSize(vr),this.lineWidth=Fr)}}else ft.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*ft.scale),Fr=this.lineWidth,this.lineWidth=Fr*ft.scale),this.pdf.text(ft.text,Bn.x+this.posX,Bn.y+this.posY,{angle:ft.angle,align:Vt,renderingMode:ft.renderingMode,maxWidth:ft.maxWidth}),ft.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=Fr)},hr=function(ft,Vt,rr,vr){rr=rr||0,vr=vr||0,this.pdf.internal.out(s(ft+rr)+" "+c(Vt+vr)+" l")},lr=function(ft,Vt,rr){return this.pdf.lines(ft,Vt,rr,null,null)},qr=function(ft,Vt,rr,vr,Fr,zr,an,un){this.pdf.internal.out([a(g(rr+ft)),a(_(vr+Vt)),a(g(Fr+ft)),a(_(zr+Vt)),a(g(an+ft)),a(_(un+Vt)),"c"].join(" "))},nn=function(ft,Vt,rr,vr){for(var Fr=2*Math.PI,zr=Math.PI/2;Vt>rr;)Vt-=Fr;var an=Math.abs(rr-Vt);an1e-5;){var yi=Hn+Bn*Math.min(an,zr);un.push(on.call(this,ft,Hn,yi)),an-=Math.abs(yi-Hn),Hn=yi}return un},on=function(ft,Vt,rr){var vr=(rr-Vt)/2,Fr=ft*Math.cos(vr),zr=ft*Math.sin(vr),an=Fr,un=-zr,Bn=an*an+un*un,Hn=Bn+an*Fr+un*zr,yi=4/3*(Math.sqrt(2*Bn*Hn)-Hn)/(an*zr-un*Fr),gi=an-yi*un,ms=un+yi*an,Mt=gi,wi=-ms,Sa=vr+Vt,Qs=Math.cos(Sa),Un=Math.sin(Sa);return{x1:ft*Math.cos(Vt),y1:ft*Math.sin(Vt),x2:gi*Qs-ms*Un,y2:gi*Un+ms*Qs,x3:Mt*Qs-wi*Un,y3:Mt*Un+wi*Qs,x4:ft*Math.cos(rr),y4:ft*Math.sin(rr)}},Wr=function(ft){return 180*ft/Math.PI},An=function(ft,Vt,rr,vr,Fr,zr){var an=ft+.5*(rr-ft),un=Vt+.5*(vr-Vt),Bn=Fr+.5*(rr-Fr),Hn=zr+.5*(vr-zr),yi=Math.min(ft,Fr,an,Bn),gi=Math.max(ft,Fr,an,Bn),ms=Math.min(Vt,zr,un,Hn),Mt=Math.max(Vt,zr,un,Hn);return new Z(yi,ms,gi-yi,Mt-ms)},Kn=function(ft,Vt,rr,vr,Fr,zr,an,un){var Bn,Hn,yi,gi,ms,Mt,wi,Sa,Qs,Un,js,Hi,Ds,Es,Eo=rr-ft,Qa=vr-Vt,oa=Fr-rr,Za=zr-vr,ja=an-Fr,rs=un-zr;for(Hn=0;Hn<41;Hn++)Qs=(wi=(yi=ft+(Bn=Hn/40)*Eo)+Bn*((ms=rr+Bn*oa)-yi))+Bn*(ms+Bn*(Fr+Bn*ja-ms)-wi),Un=(Sa=(gi=Vt+Bn*Qa)+Bn*((Mt=vr+Bn*Za)-gi))+Bn*(Mt+Bn*(zr+Bn*rs-Mt)-Sa),Hn==0?(js=Qs,Hi=Un,Ds=Qs,Es=Un):(js=Math.min(js,Qs),Hi=Math.min(Hi,Un),Ds=Math.max(Ds,Qs),Es=Math.max(Es,Un));return new Z(Math.round(js),Math.round(Hi),Math.round(Ds-js),Math.round(Es-Hi))},Ln=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ft,Vt,rr=(ft=this.ctx.lineDash,Vt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ft,lineDashOffset:Vt}));this.prevLineDash!==rr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=rr)}}})(Pi.API),function(n){var a=function(q){var Z,re,oe,Fe,Ze,rt,Te,Tt,Bt,kt;for(/[^\x00-\xFF]/.test(q),re=[],oe=0,Fe=(q+=Z="\0\0\0\0".slice(q.length%4||4)).length;Fe>oe;oe+=4)(Ze=(q.charCodeAt(oe)<<24)+(q.charCodeAt(oe+1)<<16)+(q.charCodeAt(oe+2)<<8)+q.charCodeAt(oe+3))!==0?(rt=(Ze=((Ze=((Ze=((Ze=(Ze-(kt=Ze%85))/85)-(Bt=Ze%85))/85)-(Tt=Ze%85))/85)-(Te=Ze%85))/85)%85,re.push(rt+33,Te+33,Tt+33,Bt+33,kt+33)):re.push(122);return function(mt,cr){for(var sr=cr;sr>0;sr--)mt.pop()}(re,Z.length),String.fromCharCode.apply(String,re)+"~>"},s=function(q){var Z,re,oe,Fe,Ze,rt=String,Te="length",Tt=255,Bt="charCodeAt",kt="slice",mt="replace";for(q[kt](-2),q=q[kt](0,-2)[mt](/\s/g,"")[mt]("z","!!!!!"),oe=[],Fe=0,Ze=(q+=Z="uuuuu"[kt](q[Te]%5||5))[Te];Ze>Fe;Fe+=5)re=52200625*(q[Bt](Fe)-33)+614125*(q[Bt](Fe+1)-33)+7225*(q[Bt](Fe+2)-33)+85*(q[Bt](Fe+3)-33)+(q[Bt](Fe+4)-33),oe.push(Tt&re>>24,Tt&re>>16,Tt&re>>8,Tt&re);return function(cr,sr){for(var Zt=sr;Zt>0;Zt--)cr.pop()}(oe,Z[Te]),rt.fromCharCode.apply(rt,oe)},c=function(q){return q.split("").map(function(Z){return("0"+Z.charCodeAt().toString(16)).slice(-2)}).join("")+">"},g=function(q){var Z=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((q=q.replace(/\s/g,"")).indexOf(">")!==-1&&(q=q.substr(0,q.indexOf(">"))),q.length%2&&(q+="0"),Z.test(q)===!1)return"";for(var re="",oe=0;oeBt&&(Tt=kt,kt=Bt,Bt=Tt);else{if(Z!=="l"&&Z!=="landscape")throw"Invalid orientation: "+Z;Z="l",Bt>kt&&(Tt=kt,kt=Bt,Bt=Tt)}return{width:kt,height:Bt,unit:re,k:Ze,orientation:Z}},n.html=function(Z,re){(re=re||{}).callback=re.callback||function(){},re.html2canvas=re.html2canvas||{},re.html2canvas.canvas=re.html2canvas.canvas||this.canvas,re.jsPDF=re.jsPDF||this,re.fontFaces=re.fontFaces?re.fontFaces.map(Qu):null;var oe=new q(re);return re.worker?oe:oe.from(Z).doCallback()}}(Pi.API),Pi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var g=s.outline.render().split(/\r\n/),_=0;_> endobj")}var Te=s.internal.newObject();for(s.internal.write("<< /Names [ "),_=0;_>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+Te+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,g,_){var q={title:g,options:_,children:[]};return c==null&&(c=this.root),c.children.push(q),q},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var g=0;g0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var g=this.ctx.pdf.internal.getVerticalCoordinateString,_=0;_0&&this.line("/Prev "+this.makeRef(c.children[_-1])),_0&&(this.line("/First "+this.makeRef(q.children[0])),this.line("/Last "+this.makeRef(q.children[q.children.length-1])));var Z=this.count=this.count_r({count:0},q);if(Z>0&&this.line("/Count "+Z),q.options&&q.options.pageNumber){var re=s.internal.getPageInfo(q.options.pageNumber);this.line("/Dest ["+re.objId+" 0 R /XYZ 0 "+g(0)+" 0]")}this.objEnd()}for(var oe=0;oe>"}),"transparency"in ft&&Array.isArray(ft.transparency)&&ft.transparency.length>0){for(var er="",On=0,or=ft.transparency.length;On>",tt.content=l;var kt=tt.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=1};var U=e.__arabicParser__.arabicLetterHasFinalForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=3};var G=e.__arabicParser__.arabicLetterHasMedialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length==4},be=e.__arabicParser__.resolveLigatures=function(tt){var ut=0,Ze=t,Yt="",kt=0;for(ut=0;ut>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(m){t=m}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(m){r=isNaN(m)||Number.isInteger(m)===!1||m<0?150:m,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(m){a=isNaN(m)||Number.isInteger(m)===!1||m<0?300:m,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(m){l=m}});var y={};Object.defineProperty(this,"style",{get:function(){return y},set:function(m){y=m}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(to.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var F=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return F},set:function(tt){F=tt}});var U=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(tt){U=tt}});var G=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return G},set:function(tt){G=tt}});var be=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return be},set:function(tt){be=tt}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(tt){Le=tt}});var V=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return V},set:function(tt){V=tt}});var st=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return st},set:function(tt){st=tt}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(F){return r.call(this),this.internal.__cell__.headerFunction=typeof F=="function"?F:void 0,this},e.getTextDimensions=function(F,U){r.call(this);var G=(U=U||{}).fontSize||this.getFontSize(),be=U.font||this.getFont(),Le=U.scaleFactor||this.internal.scaleFactor,V=0,st=0,tt=0,ut=this;if(!Array.isArray(F)&&typeof F!="string"){if(typeof F!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");F=String(F)}var Ze=U.maxWidth;Ze>0?typeof F=="string"?F=this.splitTextToSize(F,Ze):Object.prototype.toString.call(F)==="[object Array]"&&(F=F.reduce(function(kt,It){return kt.concat(ut.splitTextToSize(It,Ze))},[])):F=Array.isArray(F)?F:[F];for(var Yt=0;Ytthis.getPageHeight()?(this.cellAddPage(),F.y=be.top,V&&Le&&(this.printHeaderRow(F.lineNumber,!0),F.y+=Le[0].height)):F.y=U.y+U.height||F.y),F.text[0]!==void 0&&(this.rect(F.x,F.y,F.width,F.height,t===!0?"FD":void 0),F.align==="right"?this.text(F.text,F.x+F.width-G,F.y+G,{align:"right",baseline:"top"}):F.align==="center"?this.text(F.text,F.x+F.width/2,F.y+G,{align:"center",baseline:"top",maxWidth:F.width-G-G}):this.text(F.text,F.x+G,F.y+G,{align:"left",baseline:"top",maxWidth:F.width-G-G})),this.internal.__cell__.lastCell=F,this};e.table=function(F,U,G,be,Le){if(r.call(this),!G)throw new Error("No data for PDF table.");var V,st,tt,ut,Ze=[],Yt=[],kt=[],It={},Rn={},dr=[],Jn=[],An=(Le=Le||{}).autoSize||!1,Ft=Le.printHeaders!==!1,wn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,ze=Le.margins||Object.assign({width:this.getPageWidth()},n),ft=typeof Le.padding=="number"?Le.padding:3,Jt=Le.headerBackgroundColor||"#c8c8c8",Zt=Le.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=Ft,this.internal.__cell__.margins=ze,this.internal.__cell__.table_font_size=wn,this.internal.__cell__.padding=ft,this.internal.__cell__.headerBackgroundColor=Jt,this.internal.__cell__.headerTextColor=Zt,this.setFontSize(wn),be==null)Yt=Ze=Object.keys(G[0]),kt=Ze.map(function(){return"left"});else if(Array.isArray(be)&&(0,A.Z)(be[0])==="object")for(Ze=be.map(function(iA){return iA.name}),Yt=be.map(function(iA){return iA.prompt||iA.name||""}),kt=be.map(function(iA){return iA.align||"left"}),V=0;V0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(to.API);var ms={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},wc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ds=ei(wc),zs=[100,200,300,400,500,600,700,800,900],yu=ei(zs);function Sl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ms[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),a=function(l){return typeof Ds[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function yc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function kp(e,n,t){var r=e.length,a=[];a[0]=4;for(var l=0;l>l&y}function Kp(e,n,t,r){var a=t*r,l=Math.floor(a/8),y=16-(a-8*l+r),m=(1<>8&255;U.setUint8(G,Le)}})(e,l,zp(e,l)&~(m<>7,y=1<<1+(7&a);e[n++],e[n++];var m=null,F=null;l&&(m=n,F=y,n+=3*y);var U=!0,G=[],be=0,Le=null,V=0,st=null;for(this.width=t,this.height=r;U&&n=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var tt=e[n++];be=e[n++]|e[n++]<<8,Le=e[n++],1&tt||(Le=null),V=tt>>2&7,n++;break;case 254:for(;;){if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var ut=e[n++]|e[n++]<<8,Ze=e[n++]|e[n++]<<8,Yt=e[n++]|e[n++]<<8,kt=e[n++]|e[n++]<<8,It=e[n++],Rn=It>>6&1,dr=1<<1+(7&It),Jn=m,An=F,Ft=!1;It>>7&&(Ft=!0,Jn=n,An=dr,n+=3*dr);var wn=n;for(n++;;){var ze;if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}G.push({x:ut,y:Ze,width:Yt,height:kt,has_local_palette:Ft,palette_offset:Jn,palette_size:An,data_offset:wn,data_length:n-wn,transparent_index:Le,interlaced:!!Rn,delay:be,disposal:V});break;case 59:U=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return G.length},this.loopCount=function(){return st},this.frameInfo=function(ft){if(ft<0||ft>=G.length)throw new Error("Frame index out of range.");return G[ft]},this.decodeAndBlitFrameBGRA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=FA,Jt[Rt++]=Vr,Jt[Rt++]=Cr,Jt[Rt++]=255}--Fr}},this.decodeAndBlitFrameRGBA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=Cr,Jt[Rt++]=Vr,Jt[Rt++]=FA,Jt[Rt++]=255}--Fr}}}function Zp(e,n,t,r){for(var a=e[n++],l=1<>=F,G-=F,ut!==l){if(ut===y)break;for(var Ze=utl;)kt=st[kt]>>8,++Yt;var It=kt;if(Le+Yt+(Ze!==ut?1:0)>r)return void ci.log("Warning, gif stream longer than expected.");t[Le++]=It;var Rn=Le+=Yt;for(Ze!==ut&&(t[Le++]=It),kt=Ze;Yt--;)kt=st[kt],t[--Rn]=255&kt,kt>>=8;tt!==null&&m<4096&&(st[m++]=tt<<8|It,m>=U+1&&F<12&&(++F,U=U<<1|1)),tt=ut}else m=y+1,U=(1<<(F=a+1))-1,tt=null}return Le!==r&&ci.log("Warning, gif stream shorter than expected."),t}function V0(e){var n,t,r,a,l,y=Math.floor,m=new Array(64),F=new Array(64),U=new Array(64),G=new Array(64),be=new Array(65535),Le=new Array(65535),V=new Array(64),st=new Array(64),tt=[],ut=0,Ze=7,Yt=new Array(64),kt=new Array(64),It=new Array(64),Rn=new Array(256),dr=new Array(2048),Jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],An=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ft=[0,1,2,3,4,5,6,7,8,9,10,11],wn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],ze=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ft=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Jt=[0,1,2,3,4,5,6,7,8,9,10,11],Zt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gn(ke,bt){for(var Rt=0,qt=0,un=new Array,In=1;In<=16;In++){for(var Yn=1;Yn<=ke[In];Yn++)un[bt[qt]]=[],un[bt[qt]][0]=Rt,un[bt[qt]][1]=In,qt++,Rt++;Rt*=2}return un}function er(ke){for(var bt=ke[0],Rt=ke[1]-1;Rt>=0;)bt&1<>8&255),On(255&ke)}function iA(ke,bt,Rt,qt,un){for(var In,Yn=un[0],nr=un[240],Cr=function(kr,Po){var YA,xo,Co,Ai,La,ea,ja,Ra,ao,ia,uo=0;for(ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+1],Co=kr[uo+2],Ai=kr[uo+3],La=kr[uo+4],ea=kr[uo+5],ja=kr[uo+6];var ds=YA+(Ra=kr[uo+7]),Ka=YA-Ra,Ca=xo+ja,wa=xo-ja,Hi=Co+ea,yo=Co-ea,Ei=Ai+La,To=Ai-La,ta=ds+Ei,Mi=ds-Ei,Sa=Ca+Hi,Oo=Ca-Hi;kr[uo]=ta+Sa,kr[uo+4]=ta-Sa;var oi=.707106781*(Oo+Mi);kr[uo+2]=Mi+oi,kr[uo+6]=Mi-oi;var tf=.382683433*((ta=To+yo)-(Oo=wa+Ka)),il=.5411961*ta+tf,Eu=1.306562965*Oo+tf,$c=.707106781*(Sa=yo+wa),Uo=Ka+$c,xu=Ka-$c;kr[uo+5]=xu+il,kr[uo+3]=xu-il,kr[uo+1]=Uo+Eu,kr[uo+7]=Uo-Eu,uo+=8}for(uo=0,ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+8],Co=kr[uo+16],Ai=kr[uo+24],La=kr[uo+32],ea=kr[uo+40],ja=kr[uo+48];var Iu=YA+(Ra=kr[uo+56]),_l=YA-Ra,$l=xo+ja,rs=xo-ja,js=Co+ea,Zs=Co-ea,nf=Ai+La,dd=Ai-La,Ic=Iu+nf,eu=Iu-nf,Sc=$l+js,Fc=$l-js;kr[uo]=Ic+Sc,kr[uo+32]=Ic-Sc;var ec=.707106781*(Fc+eu);kr[uo+16]=eu+ec,kr[uo+48]=eu-ec;var rf=.382683433*((Ic=dd+Zs)-(Fc=rs+_l)),tu=.5411961*Ic+rf,Af=1.306562965*Fc+rf,Zf=.707106781*(Sc=Zs+rs),Wf=_l+Zf,Xf=_l-Zf;kr[uo+40]=Xf+tu,kr[uo+24]=Xf-tu,kr[uo+8]=Wf+Af,kr[uo+56]=Wf-Af,uo++}for(ao=0;ao<64;++ao)ia=kr[ao]*Po[ao],V[ao]=ia>0?ia+.5|0:ia-.5|0;return V}(ke,bt),Vr=0;Vr<64;++Vr)st[Jn[Vr]]=Cr[Vr];var FA=st[0]-Rt;Rt=st[0],FA==0?er(qt[0]):(er(qt[Le[In=32767+FA]]),er(be[In]));for(var SA=63;SA>0&&st[SA]==0;)SA--;if(SA==0)return er(Yn),Rt;for(var go,ht=1;ht<=SA;){for(var QA=ht;st[ht]==0&&ht<=SA;)++ht;var va=ht-QA;if(va>=16){go=va>>4;for(var Qo=1;Qo<=go;++Qo)er(nr);va&=15}In=32767+st[ht],er(un[(va<<4)+Le[In]]),er(be[In]),ht++}return SA!=63&&er(Yn),Rt}function Fr(ke){ke=Math.min(Math.max(ke,1),100),l!=ke&&(function(bt){for(var Rt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],qt=0;qt<64;qt++){var un=y((Rt[qt]*bt+50)/100);un=Math.min(Math.max(un,1),255),m[Jn[qt]]=un}for(var In=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Yn=0;Yn<64;Yn++){var nr=y((In[Yn]*bt+50)/100);nr=Math.min(Math.max(nr,1),255),F[Jn[Yn]]=nr}for(var Cr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Vr=0,FA=0;FA<8;FA++)for(var SA=0;SA<8;SA++)U[Vr]=1/(m[Jn[Vr]]*Cr[FA]*Cr[SA]*8),G[Vr]=1/(F[Jn[Vr]]*Cr[FA]*Cr[SA]*8),Vr++}(ke<50?Math.floor(5e3/ke):Math.floor(200-2*ke)),l=ke)}this.encode=function(ke,bt){bt&&Fr(bt),tt=new Array,ut=0,Ze=7,or(65496),or(65504),or(16),On(74),On(70),On(73),On(70),On(0),On(1),On(1),On(0),or(1),or(1),On(0),On(0),function(){or(65499),or(132),On(0);for(var xo=0;xo<64;xo++)On(m[xo]);On(1);for(var Co=0;Co<64;Co++)On(F[Co])}(),function(xo,Co){or(65472),or(17),On(8),or(Co),or(xo),On(3),On(1),On(17),On(0),On(2),On(17),On(1),On(3),On(17),On(1)}(ke.width,ke.height),function(){or(65476),or(418),On(0);for(var xo=0;xo<16;xo++)On(An[xo+1]);for(var Co=0;Co<=11;Co++)On(Ft[Co]);On(16);for(var Ai=0;Ai<16;Ai++)On(wn[Ai+1]);for(var La=0;La<=161;La++)On(ze[La]);On(1);for(var ea=0;ea<16;ea++)On(ft[ea+1]);for(var ja=0;ja<=11;ja++)On(Jt[ja]);On(17);for(var Ra=0;Ra<16;Ra++)On(Zt[Ra+1]);for(var ao=0;ao<=161;ao++)On(Mn[ao])}(),or(65498),or(12),On(3),On(1),On(0),On(2),On(17),On(3),On(17),On(0),On(63),On(0);var Rt=0,qt=0,un=0;ut=0,Ze=7,this.encode.displayName="_encode_";for(var In,Yn,nr,Cr,Vr,FA,SA,go,ht,QA=ke.data,va=ke.width,Qo=ke.height,kr=4*va,Po=0;Po>3)*kr+(SA=4*(7&ht)),Po+go>=Qo&&(FA-=kr*(Po+1+go-Qo)),In+SA>=kr&&(FA-=In+SA-kr+4),Yn=QA[FA++],nr=QA[FA++],Cr=QA[FA++],Yt[ht]=(dr[Yn]+dr[nr+256|0]+dr[Cr+512|0]>>16)-128,kt[ht]=(dr[Yn+768|0]+dr[nr+1024|0]+dr[Cr+1280|0]>>16)-128,It[ht]=(dr[Yn+1280|0]+dr[nr+1536|0]+dr[Cr+1792|0]>>16)-128;Rt=iA(Yt,U,Rt,n,r),qt=iA(kt,G,qt,t,a),un=iA(It,G,un,t,a),In+=32}Po+=8}if(Ze>=0){var YA=[];YA[1]=Ze+1,YA[0]=(1<ft;ft++)if(Ft[wn+ft]!=ze.charCodeAt(ft))return!0;return!1}function r(Ft,wn,ze,ft,Jt){for(var Zt=0;ZtZt+1?[]:new wn),!(Mn.length>>0;c&z;)z>>>=1;return z?(c&z-1)+z:c}function ze(c,v,z,Ae,Ie){n(!(Ae%z));do c[v+(Ae-=z)]=Ie;while(0=Ie),512>=Ie)var Ne=l(512);else if((Ne=l(Ie))==null)return 0;return function(Te,Ge,$e,gt,tn,Ln){var pt,ln,yn=Ge,ur=1<<$e,Qn=l(16),fr=l(16);for(n(tn!=0),n(gt!=null),n(Te!=null),n(0<$e),ln=0;lnpt;++pt){if(Qn[pt]>1<(da-=Qn[pt]))return 0;for(;0=pt;++pt,tn<<=1){if(XA+=da<<=1,0>(da-=Qn[pt]))return 0;for(;0Zr&&!(0>=(mr-=Qn[Zr]));)++Zr,mr<<=1;ur+=no=1<<(mr=Zr-$e),Te[Ge+(Zr=lo&Ur)].g=mr+$e,Te[Ge+Zr].value=yn-Ge-Zr}gt.g=pt-$e,gt.value=Ln[ln++],ze(Te,yn+(lo>>$e),tn,no,gt),lo=wn(lo,pt)}}return XA!=2*fr[15]-1?0:ur}(c,v,z,Ae,Ie,Ne)}function Jt(){this.value=this.g=0}function Zt(){this.value=this.g=0}function Mn(){this.G=y(5,Jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=y(pf,Zt)}function Gn(c,v,z,Ae){n(c!=null),n(v!=null),n(2147483648>Ae),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=v,c.pa=z,c.Jd=v,c.Yc=z+Ae,c.Zc=4<=Ae?z+Ae-4+1:z,Yn(c)}function er(c,v){for(var z=0;0Ae),c.Sb=Ae,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;qt(c)&&(c.h=1,c.u=0)}function Fr(c,v){if(n(0<=v),!c.h&&v<=Tl){var z=Rt(c)&jl[v];return c.u+=v,iA(c),z}return c.h=1,c.u=0}function ke(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Rt(c){return c.Ra>>>(c.u&pd-1)>>>0}function qt(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>pd}function un(c,v){c.u=v,c.h=qt(c)}function In(c){c.u>=ju&&(n(c.u>=ju),iA(c))}function Yn(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&Yn(c);var Ae=c.b,Ie=z*v>>>8,Ne=(c.I>>>Ae>Ie)+0;for(Ne?(z-=Ie,c.I-=Ie+1<>>0):z=Ie+1,Ae=z,Ie=0;256<=Ae;)Ie+=8,Ae>>=8;return Ae=7^Ie+vd[Ae],c.b-=Ae,c.Ca=(z<>24&255,c[v+1]=z>>16&255,c[v+2]=z>>8&255,c[v+3]=255&z}function FA(c,v){return c[v+0]|c[v+1]<<8}function SA(c,v){return FA(c,v)|c[v+2]<<16}function go(c,v){return FA(c,v)|FA(c,v+2)<<16}function ht(c,v){var z=1<=Ie||0>=Ne?0:(z[0]=Ie,Ae[0]=Ne,1)}function kr(c,v){return c+(1<>>v}function Po(c,v){return((4278255360&c)+(4278255360&v)>>>0&4278255360)+((16711935&c)+(16711935&v)>>>0&16711935)>>>0}function YA(c,v){Ft[v]=function(z,Ae,Ie,Ne,Te,Ge,$e){var gt;for(gt=0;gt>>1)+(c&v)>>>0}function Ai(c){return 0<=c&&256>c?c:0>c?0:255>1))}function ea(c,v,z){return Math.abs(v-z)-Math.abs(c-z)}function ja(c,v,z,Ae,Ie,Ne,Te){for(Ae=Ne[Te-1],z=0;z>8&255,$e=16711935&($e=($e=16711935&Te)+((Ge<<16)+Ge));Ae[Ie+Ne]=(4278255360&Te)+$e>>>0}}function ao(c,v){v.jd=255&c,v.hd=c>>8&255,v.ud=c>>16&255}function ia(c,v,z,Ae,Ie,Ne){var Te;for(Te=0;Te>>8,gt=Ge,tn=255&(tn=(tn=Ge>>>16)+((c.jd<<24>>24)*($e<<24>>24)>>>5));gt=255&(gt=(gt+=(c.hd<<24>>24)*($e<<24>>24)>>>5)+((c.ud<<24>>24)*(tn<<24>>24)>>>5)),Ie[Ne+Te]=(4278255360&Ge)+(tn<<16)+gt}}function uo(c,v,z,Ae,Ie){Ft[v]=function(Ne,Te,Ge,$e,gt,tn,Ln,pt,ln){for($e=Ln;$e>Ne.b,ln=Ne.Ea,yn=Ne.K[0],ur=Ne.w;if(8>pt)for(Ne=(1<>=pt}else Ft["VP8LMapColor"+z]($e,gt,yn,ur,tn,Ln,Te,Ge,ln)}}function ds(c,v,z,Ae,Ie){for(z=v+z;v>16&255,Ae[Ie++]=Ne>>8&255,Ae[Ie++]=255&Ne}}function Ka(c,v,z,Ae,Ie){for(z=v+z;v>16&255,Ae[Ie++]=Ne>>8&255,Ae[Ie++]=255&Ne,Ae[Ie++]=Ne>>24&255}}function Ca(c,v,z,Ae,Ie){for(z=v+z;v>16&240|Te>>12&15,Te=240&Te|Te>>28&15;Ae[Ie++]=Ne,Ae[Ie++]=Te}}function wa(c,v,z,Ae,Ie){for(z=v+z;v>16&248|Te>>13&7,Te=Te>>5&224|Te>>3&31;Ae[Ie++]=Ne,Ae[Ie++]=Te}}function Hi(c,v,z,Ae,Ie){for(z=v+z;v>8&255,Ae[Ie++]=Ne>>16&255}}function yo(c,v,z,Ae,Ie,Ne){if(Ne==0)for(z=v+z;v>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Ie+=32;else r(Ae,Ie,c,v,z)}function Ei(c,v){Ft[v][0]=Ft[c+"0"],Ft[v][1]=Ft[c+"1"],Ft[v][2]=Ft[c+"2"],Ft[v][3]=Ft[c+"3"],Ft[v][4]=Ft[c+"4"],Ft[v][5]=Ft[c+"5"],Ft[v][6]=Ft[c+"6"],Ft[v][7]=Ft[c+"7"],Ft[v][8]=Ft[c+"8"],Ft[v][9]=Ft[c+"9"],Ft[v][10]=Ft[c+"10"],Ft[v][11]=Ft[c+"11"],Ft[v][12]=Ft[c+"12"],Ft[v][13]=Ft[c+"13"],Ft[v][14]=Ft[c+"0"],Ft[v][15]=Ft[c+"0"]}function To(c){return c==dp||c==fp||c==p0||c==hp}function ta(){this.eb=[],this.size=this.A=this.fb=0}function Mi(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Sa(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ta,this.f.kb=new Mi,this.sd=null}function Oo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function il(c,v){var z=c.T,Ae=v.ba.f.RGBA,Ie=Ae.eb,Ne=Ae.fb+c.ka*Ae.A,Te=ac[v.ba.S],Ge=c.y,$e=c.O,gt=c.f,tn=c.N,Ln=c.ea,pt=c.W,ln=v.cc,yn=v.dc,ur=v.Mc,Qn=v.Nc,fr=c.ka,mr=c.ka+c.T,Zr=c.U,Ur=Zr+1>>1;for(fr==0?Te(Ge,$e,null,null,gt,tn,Ln,pt,gt,tn,Ln,pt,Ie,Ne,null,null,Zr):(Te(v.ec,v.fc,Ge,$e,ln,yn,ur,Qn,gt,tn,Ln,pt,Ie,Ne-Ae.A,Ie,Ne,Zr),++z);fr+2z,Ie=z==f0||z==h0||z==g0||z==up||z==12||To(z);if(v.memory=null,v.Ib=null,v.Jb=null,v.Nd=null,!eg(v.Oa,c,Ie?11:12))return 0;if(Ie&&To(z)&&qh(),c.da)alert("todo:use_scaling");else{if(Ae){if(v.Ib=tf,c.Kb){if(z=c.U+1>>1,v.memory=l(c.U+2*z),v.memory==null)return 0;v.ec=v.memory,v.fc=0,v.cc=v.ec,v.dc=v.fc+c.U,v.Mc=v.cc,v.Nc=v.dc+z,v.Ib=il,qh()}}else alert("todo:EmitYUV");Ie&&(v.Jb=Eu,Ae&&Pc())}if(Ae&&!Bv){for(c=0;256>c;++c)mm[c]=89858*(c-128)+m0>>v0,wm[c]=-22014*(c-128)+m0,Cm[c]=-45773*(c-128),Bm[c]=113618*(c-128)+m0>>v0;for(c=cg;c>v0,ym[c-cg]=nu(v,255),bm[c-cg]=nu(v+8>>4,15);Bv=1}return 1}function Uo(c){var v=c.ma,z=c.U,Ae=c.T;return n(!(1&c.ka)),0>=z||0>=Ae?0:(z=v.Ib(c,v),v.Jb!=null&&v.Jb(c,v,z),v.Dc+=z,1)}function xu(c){c.ma.memory=null}function Iu(c,v,z,Ae){return Fr(c,8)!=47?0:(v[0]=Fr(c,14)+1,z[0]=Fr(c,14)+1,Ae[0]=Fr(c,1),Fr(c,3)!=0?0:!c.h)}function _l(c,v){if(4>c)return c+1;var z=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&z)))?z:1;var z}function rs(c,v,z){var Ae=Rt(z),Ie=c[v+=255&Ae].g-8;return 0>>0,n(8>=z.g),c.g}function Zs(c,v,z){var Ae=c.xc;return n((v=Ae==0?0:c.vc[c.md*(z>>Ae)+(v>>Ae)])>no.b)*XA;urZr&&(ro=Zr),(0,Ag[Ta[Qs++]>>8&15])(pt,ln+ +fa,fr,mr+fa-Zr,ro-fa,fr,mr+fa),fa=ro}ln+=Zr,mr+=Zr,++ur&lo||(no+=XA)}Ln!=gt.nc&&r($e,Ge-yn,$e,Ge+(Ln-tn-1)*yn,yn);break;case 1:for(yn=pt,Qn=ln,Zr=(pt=gt.Ea)-(mr=pt&~(fr=(ln=1<>gt.b)*ur;tn=Ie),0Ne.o&&(Ae=Ne.o),z=Ae?z=0:(Ie[0]+=4*Ne.v,Ne.ka=z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=Ae-z,z=1),z){if(Ge=Ge[0],11>(z=c.ca).S){var tn=z.f.RGBA,Ln=(Ae=z.S,Ie=Ne.U,Ne=Ne.T,gt=tn.eb,tn.A),pt=Ne;for(tn=tn.fb+c.Ma*tn.A;0Ae){var Ie=c.l.width,Ne=z.ca,Te=z.tb+Ie*Ae,Ge=c.V,$e=c.Ba+c.c*Ae,gt=c.gc;n(c.ab==1),n(gt[0].hc==3),au(gt[0],Ae,v,Ge,$e,Ne,Te),eu(z,Ae,v,Ne,Te,Ie)}c.C=c.Ma=v}function Fc(c,v,z,Ae,Ie,Ne,Te){var Ge=c.$/Ae,$e=c.$%Ae,gt=c.m,tn=c.s,Ln=z+c.$,pt=Ln;Ie=z+Ae*Ie;var ln=z+Ae*Ne,yn=280+tn.ua,ur=c.Pb?Ge:16777216,Qn=0=ur){var lo=Ln-z;n((ur=c).Pb),ur.wd=ur.m,ur.xd=lo,0da.g?(un(Ur,Ur.u+da.g),lo[XA]=da.value,Ur=0):(un(Ur,Ur.u+da.g-256),n(256<=da.value),Ur=da.value),Ur==0&&(Zr=!0)}else Ur=rs(mr.G[0],mr.H[0],gt);if(gt.h)break;if(Zr||256>Ur){if(!Zr)if(mr.nd)v[Ln]=(mr.qb|Ur<<8)>>>0;else{if(In(gt),Zr=rs(mr.G[1],mr.H[1],gt),In(gt),lo=rs(mr.G[2],mr.H[2],gt),XA=rs(mr.G[3],mr.H[3],gt),gt.h)break;v[Ln]=(XA<<24|Zr<<16|Ur<<8|lo)>>>0}if(Zr=!1,++Ln,++$e>=Ae&&($e=0,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge),Qn!=null))for(;pt>>Qn.Mb]=Ur}else if(280>Ur){if(Ur=_l(Ur-256,gt),lo=rs(mr.G[4],mr.H[4],gt),In(gt),lo=$l(Ae,lo=_l(lo,gt)),gt.h)break;if(Ln-z=Ae;)$e-=Ae,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge);if(n(Ln<=Ie),$e&fr&&(mr=Zs(tn,$e,Ge)),Qn!=null)for(;pt>>Qn.Mb]=Ur}else{if(!(Ur>>Qn.Mb]=Ur;Ur=Ln,n(!(Zr>>>(lo=Qn).Xa)),v[Ur]=lo.X[Zr],Zr=!0}Zr||n(gt.h==qt(gt))}if(c.Pb&>.h&&LnNe?Ne:Ge),c.a=0,c.$=Ln-z}return 1}return c.a=3,0}function ec(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var v=c.Wa;v!=null&&(v.X=null),c.vb=null,n(c!=null)}function rf(){var c=new Vo;return c==null?null:(c.a=0,c.xb=fv,Ei("Predictor","VP8LPredictors"),Ei("Predictor","VP8LPredictors_C"),Ei("PredictorAdd","VP8LPredictorsAdd"),Ei("PredictorAdd","VP8LPredictorsAdd_C"),fs=Ra,og=ia,ag=ds,md=Ka,Bd=Ca,Cd=wa,vf=Hi,Ft.VP8LMapColor32b=ou,Ft.VP8LMapColor8b=rg,c)}function tu(c,v,z,Ae,Ie){var Ne=1,Te=[c],Ge=[v],$e=Ae.m,gt=Ae.s,tn=null,Ln=0;e:for(;;){if(z)for(;Ne&&Fr($e,1);){var pt=Te,ln=Ge,yn=Ae,ur=1,Qn=yn.m,fr=yn.gc[yn.ab],mr=Fr(Qn,2);if(yn.Oc&1<=yn.ab),mr){case 0:case 1:fr.b=Fr(Qn,3)+2,ur=tu(kr(fr.Ea,fr.b),kr(fr.nc,fr.b),0,yn,fr.K),fr.K=fr.K[0];break;case 3:var Zr,Ur=Fr(Qn,8)+1,lo=16>no.b),Qs=l(Ta);if(Qs==null)Zr=0;else{var fa=no.K[0],ro=no.w;for(Qs[0]=no.K[0][0],XA=1;XA<1*da;++XA)Qs[XA]=Po(fa[ro+XA],Qs[XA-1]);for(;XA<4*Ta;++XA)Qs[XA]=0;no.K[0]=null,no.K[0]=Qs,Zr=1}}ur=Zr;break;case 2:break;default:n(0)}Ne=ur}}if(Te=Te[0],Ge=Ge[0],Ne&&Fr($e,1)&&!(Ne=1<=(Ln=Fr($e,4))&&11>=Ln)){Ae.a=3;break e}var bA;if(bA=Ne)t:{var gs,na,ka,Li=Ae,Vs=Te,gl=Ge,As=Ln,sl=z,pl=Li.m,Ps=Li.s,Za=[null],ui=1,os=0,di=om[As];n:for(;;){if(sl&&Fr(pl,1)){var Gs=Fr(pl,3)+2,Uc=kr(Vs,Gs),ps=kr(gl,Gs),Fl=Uc*ps;if(!tu(Uc,ps,0,Li,Za))break n;for(Za=Za[0],Ps.xc=Gs,gs=0;gs>8&65535;Za[gs]=Bi,Bi>=ui&&(ui=Bi+1)}}if(pl.h)break n;for(na=0;5>na;++na){var Os=uv[na];!na&&0=vl),Kl=kl;var Ql=l(os);if(Kl==null||Ql==null||Ml==null){Li.a=1;break n}var zl=Ml;for(gs=ka=0;gsna;++na){Os=uv[na],Zl[na]=zl,Lc[na]=ka,!na&&0E0)break r}else Cp=E0;for(dg=0;dgnh)Iv[dg++]=nh,nh!=0&&(Sv=nh);else{var Lm=nh==16,Pv=nh-16,Rm=tm[Pv],Ov=Fr(xd,em[Pv])+Rm;if(dg+Ov>E0)break r;for(var Nm=Lm?Sv:0;0=na){var fg,yp=Ql[0];for(fg=1;fgyp&&(yp=Ql[fg]);Js+=yp}}if(Ii.nd=Mu,Ii.Qb=0,Mu&&(Ii.qb=(Zl[3][Lc[3]+0].value<<24|Zl[1][Lc[1]+0].value<<16|Zl[2][Lc[2]+0].value)>>>0,Bf==0&&256>Zl[0][Lc[0]+0].value&&(Ii.Qb=1,Ii.qb+=Zl[0][Lc[0]+0].value<<8)),Ii.jc=!Ii.Qb&&6>Js,Ii.jc){var x0,ku=Ii;for(x0=0;x0>=js(I0,8,Sd),Id>>=js(ku.G[1][ku.H[1]+Id],16,Sd),Id>>=js(ku.G[2][ku.H[2]+Id],0,Sd),js(ku.G[3][ku.H[3]+Id],24,Sd))}}}Ps.vc=Za,Ps.Wb=ui,Ps.Ya=Kl,Ps.yc=Ml,bA=1;break t}bA=0}if(!(Ne=bA)){Ae.a=3;break e}if(0Ae+1?[]:0),!(Ie.lengthc?0:c>v?v:c}function Vf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Yg;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,lg||(lg=Gf)),c}function Bs(c,v,z){return c.a==0&&(c.a=v,c.sc=z,c.cb=0),0}function qg(c,v,z){return 3<=z&&c[v+0]==157&&c[v+1]==1&&c[v+2]==42}function ru(c,v){if(c==null)return 0;if(c.a=0,c.sc="OK",v==null)return Bs(c,2,"null VP8Io passed to VP8GetHeaders()");var z=v.data,Ae=v.w,Ie=v.ha;if(4>Ie)return Bs(c,7,"Truncated header.");var Ne=z[Ae+0]|z[Ae+1]<<8|z[Ae+2]<<16,Te=c.Od;if(Te.Rb=!(1&Ne),Te.td=Ne>>1&7,Te.yd=Ne>>4&1,Te.ub=Ne>>5,3Ie)return Bs(c,7,"cannot parse picture header");if(!qg(z,Ae,Ie))return Bs(c,3,"Bad code word");Ge.c=16383&(z[Ae+4]<<8|z[Ae+3]),Ge.Td=z[Ae+4]>>6,Ge.i=16383&(z[Ae+6]<<8|z[Ae+5]),Ge.Ud=z[Ae+6]>>6,Ae+=7,Ie-=7,c.za=Ge.c+15>>4,c.Ub=Ge.i+15>>4,v.width=Ge.c,v.height=Ge.i,v.Da=0,v.j=0,v.v=0,v.va=v.width,v.o=v.height,v.da=0,v.ib=v.width,v.hb=v.height,v.U=v.width,v.T=v.height,a((Ne=c.Pa).jb,0,255,Ne.jb.length),n((Ne=c.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,a(Ne.Zb,0,0,Ne.Zb.length),a(Ne.Lb,0,0,Ne.Lb)}if(Te.ub>Ie)return Bs(c,7,"bad partition length");Gn(Ne=c.m,z,Ae,Te.ub),Ae+=Te.ub,Ie-=Te.ub,Te.Rb&&(Ge.Ld=nr(Ne),Ge.Kd=nr(Ne)),Ge=c.Qa;var $e,gt=c.Pa;if(n(Ne!=null),n(Ge!=null),Ge.Cb=nr(Ne),Ge.Cb){if(Ge.Bb=nr(Ne),nr(Ne)){for(Ge.Fb=nr(Ne),$e=0;4>$e;++$e)Ge.Zb[$e]=nr(Ne)?On(Ne,7):0;for($e=0;4>$e;++$e)Ge.Lb[$e]=nr(Ne)?On(Ne,6):0}if(Ge.Bb)for($e=0;3>$e;++$e)gt.jb[$e]=nr(Ne)?er(Ne,8):255}else Ge.Bb=0;if(Ne.Ka)return Bs(c,3,"cannot parse segment header");if((Ge=c.ed).zd=nr(Ne),Ge.Tb=er(Ne,6),Ge.wb=er(Ne,3),Ge.Pc=nr(Ne),Ge.Pc&&nr(Ne)){for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.vd[gt]=On(Ne,6));for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.od[gt]=On(Ne,6))}if(c.L=Ge.Tb==0?0:Ge.zd?1:2,Ne.Ka)return Bs(c,3,"cannot parse filter header");var tn=Ie;if(Ie=$e=Ae,Ae=$e+tn,Ge=tn,c.Xb=(1<Ge&&(Ln=Ge),Gn(c.Jc[+tn],z,$e,Ln),$e+=Ln,Ge-=Ln,Ie+=3}Gn(c.Jc[+gt],z,$e,Ge),z=$eLn;++Ln){if(tn.Cb){var pt=tn.Zb[Ln];tn.Fb||(pt+=z)}else{if(0>16,8>ln.Eb[1]&&(ln.Eb[1]=8),ln.Qc[0]=gp[nu(pt+gt,117)],ln.Qc[1]=pp[nu(pt+$e,127)],ln.lc=pt+$e}if(!Te.Rb)return Bs(c,4,"Not a key frame.");for(nr(Ne),Te=c.Pa,z=0;4>z;++z){for(Ie=0;8>Ie;++Ie)for(Ae=0;3>Ae;++Ae)for(Ge=0;11>Ge;++Ge)gt=Cr(Ne,um[z][Ie][Ae][Ge])?er(Ne,8):lm[z][Ie][Ae][Ge],Te.Wc[z][Ie].Yb[Ae][Ge]=gt;for(Ie=0;17>Ie;++Ie)Te.Xc[z][Ie]=Te.Wc[z][dm[Ie]]}return c.kc=nr(Ne),c.kc&&(c.Bd=er(Ne,8)),c.cb=1}function Gf(c,v,z,Ae,Ie,Ne,Te){var Ge=v[Ie].Yb[z];for(z=0;16>Ie;++Ie){if(!Cr(c,Ge[z+0]))return Ie;for(;!Cr(c,Ge[z+1]);)if(Ge=v[++Ie].Yb[0],z=0,Ie==16)return 16;var $e=v[Ie+1].Yb;if(Cr(c,Ge[z+2])){var gt=c,tn=0;if(Cr(gt,(pt=Ge)[(Ln=z)+3]))if(Cr(gt,pt[Ln+6])){for(Ge=0,Ln=2*(tn=Cr(gt,pt[Ln+8]))+(pt=Cr(gt,pt[Ln+9+tn])),tn=0,pt=im[Ln];pt[Ge];++Ge)tn+=tn+Cr(gt,pt[Ge]);tn+=3+(8<(gt=c).b&&Yn(gt);var Ln,pt=gt.b,ln=(Ln=gt.Ca>>1)-(gt.I>>pt)>>31;--gt.b,gt.Ca+=ln,gt.Ca|=1,gt.I-=(Ln+1&ln)<>3),c[v+z+32*Ae]=-256&Ie?0>Ie?0:255:Ie}function Is(c,v,z,Ae,Ie,Ne){nc(c,v,0,z,Ae+Ie),nc(c,v,1,z,Ae+Ne),nc(c,v,2,z,Ae-Ne),nc(c,v,3,z,Ae-Ie)}function Su(c){return(20091*c>>16)+c}function $g(c,v,z,Ae){var Ie,Ne=0,Te=l(16);for(Ie=0;4>Ie;++Ie){var Ge=c[v+0]+c[v+8],$e=c[v+0]-c[v+8],gt=(35468*c[v+4]>>16)-Su(c[v+12]),tn=Su(c[v+4])+(35468*c[v+12]>>16);Te[Ne+0]=Ge+tn,Te[Ne+1]=$e+gt,Te[Ne+2]=$e-gt,Te[Ne+3]=Ge-tn,Ne+=4,v++}for(Ie=Ne=0;4>Ie;++Ie)Ge=(c=Te[Ne+0]+4)+Te[Ne+8],$e=c-Te[Ne+8],gt=(35468*Te[Ne+4]>>16)-Su(Te[Ne+12]),nc(z,Ae,0,0,Ge+(tn=Su(Te[Ne+4])+(35468*Te[Ne+12]>>16))),nc(z,Ae,1,0,$e+gt),nc(z,Ae,2,0,$e-gt),nc(z,Ae,3,0,Ge-tn),Ne++,Ae+=32}function Y0(c,v,z,Ae){var Ie=c[v+0]+4,Ne=35468*c[v+4]>>16,Te=Su(c[v+4]),Ge=35468*c[v+1]>>16;Is(z,Ae,0,Ie+Te,c=Su(c[v+1]),Ge),Is(z,Ae,1,Ie+Ne,c,Ge),Is(z,Ae,2,Ie-Ne,c,Ge),Is(z,Ae,3,Ie-Te,c,Ge)}function q0(c,v,z,Ae,Ie){$g(c,v,z,Ae),Ie&&$g(c,v+16,z,Ae+4)}function Au(c,v,z,Ae){mf(c,v+0,z,Ae,1),mf(c,v+32,z,Ae+128,1)}function e0(c,v,z,Ae){var Ie;for(c=c[v+0]+4,Ie=0;4>Ie;++Ie)for(v=0;4>v;++v)nc(z,Ae,v,Ie,c)}function t0(c,v,z,Ae){c[v+0]&&ai(c,v+0,z,Ae),c[v+16]&&ai(c,v+16,z,Ae+4),c[v+32]&&ai(c,v+32,z,Ae+128),c[v+48]&&ai(c,v+48,z,Ae+128+4)}function Jf(c,v,z,Ae){var Ie,Ne=l(16);for(Ie=0;4>Ie;++Ie){var Te=c[v+0+Ie]+c[v+12+Ie],Ge=c[v+4+Ie]+c[v+8+Ie],$e=c[v+4+Ie]-c[v+8+Ie],gt=c[v+0+Ie]-c[v+12+Ie];Ne[0+Ie]=Te+Ge,Ne[8+Ie]=Te-Ge,Ne[4+Ie]=gt+$e,Ne[12+Ie]=gt-$e}for(Ie=0;4>Ie;++Ie)Te=(c=Ne[0+4*Ie]+3)+Ne[3+4*Ie],Ge=Ne[1+4*Ie]+Ne[2+4*Ie],$e=Ne[1+4*Ie]-Ne[2+4*Ie],gt=c-Ne[3+4*Ie],z[Ae+0]=Te+Ge>>3,z[Ae+16]=gt+$e>>3,z[Ae+32]=Te-Ge>>3,z[Ae+48]=gt-$e>>3,Ae+=64}function of(c,v,z){var Ae,Ie=v-32,Ne=Hl,Te=255-c[Ie-1];for(Ae=0;Aez;++z)r(c,v+32*z,c,v-32,16)}function n0(c,v){var z;for(z=16;0Ae;++Ae)a(v,z+32*Ae,c,16)}function tp(c,v){var z,Ae=16;for(z=0;16>z;++z)Ae+=c[v-1+32*z]+c[v+z-32];Qc(Ae>>5,c,v)}function af(c,v){var z,Ae=8;for(z=0;16>z;++z)Ae+=c[v-1+32*z];Qc(Ae>>4,c,v)}function Zh(c,v){var z,Ae=8;for(z=0;16>z;++z)Ae+=c[v+z-32];Qc(Ae>>4,c,v)}function np(c,v){Qc(128,c,v)}function Jo(c,v,z){return c+2*v+z+2>>2}function rp(c,v){var z,Ae=v-32;for(Ae=new Uint8Array([Jo(c[Ae-1],c[Ae+0],c[Ae+1]),Jo(c[Ae+0],c[Ae+1],c[Ae+2]),Jo(c[Ae+1],c[Ae+2],c[Ae+3]),Jo(c[Ae+2],c[Ae+3],c[Ae+4])]),z=0;4>z;++z)r(c,v+32*z,Ae,0,Ae.length)}function Ap(c,v){var z=c[v-1],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];Vr(c,v+0,16843009*Jo(c[v-1-32],z,Ae)),Vr(c,v+32,16843009*Jo(z,Ae,Ie)),Vr(c,v+64,16843009*Jo(Ae,Ie,Ne)),Vr(c,v+96,16843009*Jo(Ie,Ne,Ne))}function op(c,v){var z,Ae=4;for(z=0;4>z;++z)Ae+=c[v+z-32]+c[v-1+32*z];for(Ae>>=3,z=0;4>z;++z)a(c,v+32*z,Ae,4)}function Fu(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+96]=Jo(Ae,Ie,c[v-1+96]),c[v+1+96]=c[v+0+64]=Jo(z,Ae,Ie),c[v+2+96]=c[v+1+64]=c[v+0+32]=Jo(Ne,z,Ae),c[v+3+96]=c[v+2+64]=c[v+1+32]=c[v+0+0]=Jo(Te,Ne,z),c[v+3+64]=c[v+2+32]=c[v+1+0]=Jo(Ge,Te,Ne),c[v+3+32]=c[v+2+0]=Jo($e,Ge,Te),c[v+3+0]=Jo(gt,$e,Ge)}function Qu(c,v){var z=c[v+1-32],Ae=c[v+2-32],Ie=c[v+3-32],Ne=c[v+4-32],Te=c[v+5-32],Ge=c[v+6-32],$e=c[v+7-32];c[v+0+0]=Jo(c[v+0-32],z,Ae),c[v+1+0]=c[v+0+32]=Jo(z,Ae,Ie),c[v+2+0]=c[v+1+32]=c[v+0+64]=Jo(Ae,Ie,Ne),c[v+3+0]=c[v+2+32]=c[v+1+64]=c[v+0+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+64]=c[v+1+96]=Jo(Ne,Te,Ge),c[v+3+64]=c[v+2+96]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,$e)}function ap(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+0]=c[v+1+64]=Ne+Te+1>>1,c[v+1+0]=c[v+2+64]=Te+Ge+1>>1,c[v+2+0]=c[v+3+64]=Ge+$e+1>>1,c[v+3+0]=$e+gt+1>>1,c[v+0+96]=Jo(Ie,Ae,z),c[v+0+64]=Jo(Ae,z,Ne),c[v+0+32]=c[v+1+96]=Jo(z,Ne,Te),c[v+1+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+2+32]=c[v+3+96]=Jo(Te,Ge,$e),c[v+3+32]=Jo(Ge,$e,gt)}function ip(c,v){var z=c[v+0-32],Ae=c[v+1-32],Ie=c[v+2-32],Ne=c[v+3-32],Te=c[v+4-32],Ge=c[v+5-32],$e=c[v+6-32],gt=c[v+7-32];c[v+0+0]=z+Ae+1>>1,c[v+1+0]=c[v+0+64]=Ae+Ie+1>>1,c[v+2+0]=c[v+1+64]=Ie+Ne+1>>1,c[v+3+0]=c[v+2+64]=Ne+Te+1>>1,c[v+0+32]=Jo(z,Ae,Ie),c[v+1+32]=c[v+0+96]=Jo(Ae,Ie,Ne),c[v+2+32]=c[v+1+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+3+64]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,gt)}function Yf(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];c[v+0+0]=z+Ae+1>>1,c[v+2+0]=c[v+0+32]=Ae+Ie+1>>1,c[v+2+32]=c[v+0+64]=Ie+Ne+1>>1,c[v+1+0]=Jo(z,Ae,Ie),c[v+3+0]=c[v+1+32]=Jo(Ae,Ie,Ne),c[v+3+32]=c[v+1+64]=Jo(Ie,Ne,Ne),c[v+3+64]=c[v+2+64]=c[v+0+96]=c[v+1+96]=c[v+2+96]=c[v+3+96]=Ne}function Wh(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96],Te=c[v-1-32],Ge=c[v+0-32],$e=c[v+1-32],gt=c[v+2-32];c[v+0+0]=c[v+2+32]=z+Te+1>>1,c[v+0+32]=c[v+2+64]=Ae+z+1>>1,c[v+0+64]=c[v+2+96]=Ie+Ae+1>>1,c[v+0+96]=Ne+Ie+1>>1,c[v+3+0]=Jo(Ge,$e,gt),c[v+2+0]=Jo(Te,Ge,$e),c[v+1+0]=c[v+3+32]=Jo(z,Te,Ge),c[v+1+32]=c[v+3+64]=Jo(Ae,z,Te),c[v+1+64]=c[v+3+96]=Jo(Ie,Ae,z),c[v+1+96]=Jo(Ne,Ie,Ae)}function sf(c,v){var z;for(z=0;8>z;++z)r(c,v+32*z,c,v-32,8)}function sp(c,v){var z;for(z=0;8>z;++z)a(c,v,c[v-1],8),v+=32}function Pu(c,v,z){var Ae;for(Ae=0;8>Ae;++Ae)a(v,z+32*Ae,c,8)}function lp(c,v){var z,Ae=8;for(z=0;8>z;++z)Ae+=c[v+z-32]+c[v-1+32*z];Pu(Ae>>4,c,v)}function Xh(c,v){var z,Ae=4;for(z=0;8>z;++z)Ae+=c[v+z-32];Pu(Ae>>3,c,v)}function Vh(c,v){var z,Ae=4;for(z=0;8>z;++z)Ae+=c[v-1+32*z];Pu(Ae>>3,c,v)}function r0(c,v){Pu(128,c,v)}function Ou(c,v,z){var Ae=c[v-z],Ie=c[v+0],Ne=3*(Ie-Ae)+cp[1020+c[v-2*z]-c[v+z]],Te=u0[112+(Ne+4>>3)];c[v-z]=Hl[255+Ae+u0[112+(Ne+3>>3)]],c[v+0]=Hl[255+Ie-Te]}function Gh(c,v,z,Ae){var Ie=c[v+0],Ne=c[v+z];return oc[255+c[v-2*z]-c[v-z]]>Ae||oc[255+Ne-Ie]>Ae}function qf(c,v,z,Ae){return 4*oc[255+c[v-z]-c[v+0]]+oc[255+c[v-2*z]-c[v+z]]<=Ae}function Jh(c,v,z,Ae,Ie){var Ne=c[v-3*z],Te=c[v-2*z],Ge=c[v-z],$e=c[v+0],gt=c[v+z],tn=c[v+2*z],Ln=c[v+3*z];return 4*oc[255+Ge-$e]+oc[255+Te-gt]>Ae?0:oc[255+c[v-4*z]-Ne]<=Ie&&oc[255+Ne-Te]<=Ie&&oc[255+Te-Ge]<=Ie&&oc[255+Ln-tn]<=Ie&&oc[255+tn-gt]<=Ie&&oc[255+gt-$e]<=Ie}function lf(c,v,z,Ae){var Ie=2*Ae+1;for(Ae=0;16>Ae;++Ae)qf(c,v+Ae,z,Ie)&&Ou(c,v+Ae,z)}function Yh(c,v,z,Ae){var Ie=2*Ae+1;for(Ae=0;16>Ae;++Ae)qf(c,v+Ae*z,1,Ie)&&Ou(c,v+Ae*z,1)}function A0(c,v,z,Ae){var Ie;for(Ie=3;0>7,fr=18*mr+63>>7,mr=9*mr+63>>7;$e[gt-3*tn]=Hl[255+$e[gt-3*tn]+mr],$e[gt-2*tn]=Hl[255+Ln+fr],$e[gt-tn]=Hl[255+pt+Qn],$e[gt+0]=Hl[255+ln-Qn],$e[gt+tn]=Hl[255+yn-fr],$e[gt+2*tn]=Hl[255+ur-mr]}v+=Ae}}function Lu(c,v,z,Ae,Ie,Ne,Te,Ge){for(Ne=2*Ne+1;0>3)],ur=u0[112+(ur+3>>3)],Qn=yn+1>>1;$e[gt-2*tn]=Hl[255+$e[gt-2*tn]+Qn],$e[gt-tn]=Hl[255+Ln+ur],$e[gt+0]=Hl[255+pt-yn],$e[gt+tn]=Hl[255+ln-Qn]}v+=Ae}}function a0(c,v,z,Ae,Ie,Ne){Uu(c,v,z,1,16,Ae,Ie,Ne)}function cf(c,v,z,Ae,Ie,Ne){Uu(c,v,1,z,16,Ae,Ie,Ne)}function i0(c,v,z,Ae,Ie,Ne){var Te;for(Te=3;0gt?0:255:gt)&255,gt=$e,Ie[Ne+Ge]=tn}}function xi(c,v,z,Ae){var Ie=v.width,Ne=v.o;if(n(c!=null&&v!=null),0>z||0>=Ae||z+Ae>Ne)return null;if(!c.Cc){if(c.ga==null){var Te;if(c.ga=new sa,(Te=c.ga==null)||(Te=v.width*v.o,n(c.Gb.length==0),c.Gb=l(Te),c.Uc=0,c.Gb==null?Te=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Te=1),Te=!Te),!Te){Te=c.ga;var Ge=c.Fa,$e=c.P,gt=c.qc,tn=c.mb,Ln=c.nb,pt=$e+1,ln=gt-1,yn=Te.l;if(n(Ge!=null&&tn!=null&&v!=null),bd[0]=null,bd[1]=za,bd[2]=Xi,bd[3]=Cs,Te.ca=tn,Te.tb=Ln,Te.c=v.width,Te.i=v.height,n(0=gt)v=0;else if(Te.$a=3&Ge[$e+0],Te.Z=Ge[$e+0]>>2&3,Te.Lc=Ge[$e+0]>>4&3,$e=Ge[$e+0]>>6&3,0>Te.$a||1=Te.c*Te.i;Te=!v}if(Te)return null;c.ga.Lc!=1?c.Ga=0:Ae=Ne-z}n(c.ga!=null),n(z+Ae<=Ne);e:{if(v=(Ge=c.ga).c,Ne=Ge.l.o,Ge.$a==0){if(pt=c.rc,ln=c.Vc,yn=c.Fa,$e=c.P+1+z*v,gt=c.mb,tn=c.nb+z*v,n($e<=c.P+c.qc),Ge.Z!=0)for(n(bd[Ge.Z]!=null),Te=0;Te=v)v=1;else if(Ge.ic||Pc(),Ge.ic){Ge=Te.V,pt=Te.Ba,ln=Te.c;var ur=Te.i,Qn=(yn=1,$e=Te.$/ln,gt=Te.$%ln,tn=Te.m,Ln=Te.s,Te.$),fr=ln*ur,mr=ln*v,Zr=Ln.wc,Ur=Qn(ur=rs(Ur.G[0],Ur.H[0],tn)))Ge[pt+Qn]=ur,++Qn,++gt>=ln&&(gt=0,++$e<=v&&!($e%16)&&Sc(Te,$e));else{if(!(280>ur)){yn=0;break t}ur=_l(ur-256,tn);var lo,XA=rs(Ur.G[4],Ur.H[4],tn);if(In(tn),!(Qn>=(XA=$l(ln,XA=_l(XA,tn)))&&fr-Qn>=ur)){yn=0;break t}for(lo=0;lo=ln;)gt-=ln,++$e<=v&&!($e%16)&&Sc(Te,$e);Qnv?v:$e);break t}!yn||tn.h&&Qn=Ne&&(c.Cc=1),Ae=1}if(!Ae)return null;if(c.Cc&&((Ae=c.ga)!=null&&(Ae.mc=null),c.ga=null,0>23,Ge[$e+4*Te+1]=Ge[$e+4*Te+1]*Ln>>23,Ge[$e+4*Te+2]=Ge[$e+4*Te+2]*Ln>>23)}v+=Ne}}function ws(c,v,z,Ae,Ie){for(;0>4)*$e>>16;c[v+2*Ne+0]=(240&Te|Te>>4)*$e>>16&240|(15&Te|Te<<4)*$e>>16>>4&15,c[v+2*Ne+1]=240>|Ge}v+=Ie}}function Ws(c,v,z,Ae,Ie,Ne,Te,Ge){var $e,gt,tn=255;for(gt=0;gt>8}function Pc(){sg=Ss,tv=ws,nv=Ws,rv=Ru}function Nu(c,v,z){Ft[c]=function(Ae,Ie,Ne,Te,Ge,$e,gt,tn,Ln,pt,ln,yn,ur,Qn,fr,mr,Zr){var Ur,lo=Zr-1>>1,XA=Ge[$e+0]|gt[tn+0]<<16,da=Ln[pt+0]|ln[yn+0]<<16;n(Ae!=null);var no=3*XA+da+131074>>2;for(v(Ae[Ie+0],255&no,no>>16,ur,Qn),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+0],255&no,no>>16,fr,mr)),Ur=1;Ur<=lo;++Ur){var Ta=Ge[$e+Ur]|gt[tn+Ur]<<16,Qs=Ln[pt+Ur]|ln[yn+Ur]<<16,fa=XA+Ta+da+Qs+524296,ro=fa+2*(Ta+da)>>3;no=ro+XA>>1,XA=(fa=fa+2*(XA+Qs)>>3)+Ta>>1,v(Ae[Ie+2*Ur-1],255&no,no>>16,ur,Qn+(2*Ur-1)*z),v(Ae[Ie+2*Ur-0],255&XA,XA>>16,ur,Qn+(2*Ur-0)*z),Ne!=null&&(no=fa+da>>1,XA=ro+Qs>>1,v(Ne[Te+2*Ur-1],255&no,no>>16,fr,mr+(2*Ur-1)*z),v(Ne[Te+2*Ur+0],255&XA,XA>>16,fr,mr+(2*Ur+0)*z)),XA=Ta,da=Qs}1&Zr||(no=3*XA+da+131074>>2,v(Ae[Ie+Zr-1],255&no,no>>16,ur,Qn+(Zr-1)*z),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+Zr-1],255&no,no>>16,fr,mr+(Zr-1)*z)))}}function qh(){ac[d0]=hm,ac[f0]=hv,ac[lv]=gm,ac[h0]=gv,ac[g0]=pv,ac[up]=vv,ac[cv]=pm,ac[dp]=hv,ac[fp]=gv,ac[p0]=pv,ac[hp]=vv}function _f(c){return c&~vm?0>c?0:255:c>>mv}function fd(c,v){return _f((19077*c>>8)+(26149*v>>8)-14234)}function uf(c,v,z){return _f((19077*c>>8)-(6419*v>>8)-(13320*z>>8)+8708)}function df(c,v){return _f((19077*c>>8)+(33050*v>>8)-17685)}function hd(c,v,z,Ae,Ie){Ae[Ie+0]=fd(c,z),Ae[Ie+1]=uf(c,v,z),Ae[Ie+2]=df(c,v)}function Xs(c,v,z,Ae,Ie){Ae[Ie+0]=df(c,v),Ae[Ie+1]=uf(c,v,z),Ae[Ie+2]=fd(c,z)}function ff(c,v,z,Ae,Ie){var Ne=uf(c,v,z);v=Ne<<3&224|df(c,v)>>3,Ae[Ie+0]=248&fd(c,z)|Ne>>5,Ae[Ie+1]=v}function hf(c,v,z,Ae,Ie){var Ne=240&df(c,v)|15;Ae[Ie+0]=240&fd(c,z)|uf(c,v,z)>>4,Ae[Ie+1]=Ne}function _h(c,v,z,Ae,Ie){Ae[Ie+0]=255,hd(c,v,z,Ae,Ie+1)}function $h(c,v,z,Ae,Ie){Xs(c,v,z,Ae,Ie),Ae[Ie+3]=255}function hl(c,v,z,Ae,Ie){hd(c,v,z,Ae,Ie),Ae[Ie+3]=255}function Du(c,v,z){Ft[c]=function(Ae,Ie,Ne,Te,Ge,$e,gt,tn,Ln){for(var pt=tn+(-2&Ln)*z;tn!=pt;)v(Ae[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn),v(Ae[Ie+1],Ne[Te+0],Ge[$e+0],gt,tn+z),Ie+=2,++Te,++$e,tn+=2*z;1&Ln&&v(Ae[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn)}}function $f(c,v,z){return z==0?c==0?v==0?6:5:v==0?4:0:z}function s0(c,v,z,Ae,Ie){switch(c>>>30){case 3:mf(v,z,Ae,Ie,0);break;case 2:Ac(v,z,Ae,Ie);break;case 1:ai(v,z,Ae,Ie)}}function rc(c,v){var z,Ae,Ie=v.M,Ne=v.Nb,Te=c.oc,Ge=c.pc+40,$e=c.oc,gt=c.pc+584,tn=c.oc,Ln=c.pc+600;for(z=0;16>z;++z)Te[Ge+32*z-1]=129;for(z=0;8>z;++z)$e[gt+32*z-1]=129,tn[Ln+32*z-1]=129;for(0z;++z)r(Te,Ge+32*z-4,Te,Ge+32*z+12,4);for(z=-1;8>z;++z)r($e,gt+32*z-4,$e,gt+32*z+4,4),r(tn,Ln+32*z-4,tn,Ln+32*z+4,4)}var ln=c.Gd,yn=c.Hd+Ae,ur=pt.ad,Qn=pt.Hc;if(0=c.za-1?a(fr,mr,ln[yn].y[15],4):r(fr,mr,ln[yn+1].y,0,4)),z=0;4>z;z++)fr[mr+128+z]=fr[mr+256+z]=fr[mr+384+z]=fr[mr+0+z];for(z=0;16>z;++z,Qn<<=2)fr=Te,mr=Ge+Cv[z],Oc[pt.Ob[z]](fr,mr),s0(Qn,ur,16*+z,fr,mr)}else if(fr=$f(Ae,Ie,pt.Ob[0]),yd[fr](Te,Ge),Qn!=0)for(z=0;16>z;++z,Qn<<=2)s0(Qn,ur,16*+z,Te,Ge+Cv[z]);for(z=pt.Gc,fr=$f(Ae,Ie,pt.Dd),Hu[fr]($e,gt),Hu[fr](tn,Ln),Qn=ur,fr=$e,mr=gt,255&(pt=0|z)&&(170&pt?iu(Qn,256,fr,mr):mi(Qn,256,fr,mr)),pt=tn,Qn=Ln,255&(z>>=8)&&(170&z?iu(ur,320,pt,Qn):mi(ur,320,pt,Qn)),Iez;++z)r(ln,yn+z*c.R,Te,Ge+32*z,16);for(z=0;8>z;++z)r(ur,pt+z*c.B,$e,gt+32*z,8),r(Qn,fr+z*c.B,tn,Ln+32*z,8)}}function gf(c,v,z,Ae,Ie,Ne,Te,Ge,$e){var gt=[0],tn=[0],Ln=0,pt=$e!=null?$e.kd:0,ln=$e!=null?$e:new Or;if(c==null||12>z)return 7;ln.data=c,ln.w=v,ln.ha=z,v=[v],z=[z],ln.gb=[ln.gb];e:{var yn=v,ur=z,Qn=ln.gb;if(n(c!=null),n(ur!=null),n(Qn!=null),Qn[0]=0,12<=ur[0]&&!t(c,yn[0],"RIFF")){if(t(c,yn[0]+8,"WEBP")){Qn=3;break e}var fr=go(c,yn[0]+4);if(12>fr||4294967286ur[0]-8){Qn=7;break e}Qn[0]=fr,yn[0]+=12,ur[0]-=12}Qn=0}if(Qn!=0)return Qn;for(fr=0Qn[0])Qn=7;else{if(!t(mr,ur[0],"VP8X")){if(go(mr,ur[0]+4)!=10){Qn=3;break e}if(18>Qn[0]){Qn=7;break e}var XA=go(mr,ur[0]+8),da=1+SA(mr,ur[0]+12);if(2147483648<=da*(mr=1+SA(mr,ur[0]+15))){Qn=3;break e}lo!=null&&(lo[0]=XA),Zr!=null&&(Zr[0]=da),Ur!=null&&(Ur[0]=mr),ur[0]+=18,Qn[0]-=18,no[0]=1}Qn=0}}if(Ln=Ln[0],yn=yn[0],Qn!=0)return Qn;if(ur=!!(2&yn),!fr&&Ln)return 3;if(Ne!=null&&(Ne[0]=!!(16&yn)),Te!=null&&(Te[0]=ur),Ge!=null&&(Ge[0]=0),Te=gt[0],yn=tn[0],Ln&&ur&&$e==null){Qn=0;break}if(4>z){Qn=7;break}if(fr&&Ln||!fr&&!Ln&&!t(c,v[0],"ALPH")){z=[z],ln.na=[ln.na],ln.P=[ln.P],ln.Sa=[ln.Sa];e:{XA=c,Qn=v,fr=z;var no=ln.gb;Zr=ln.na,Ur=ln.P,lo=ln.Sa,da=22,n(XA!=null),n(fr!=null),mr=Qn[0];var Ta=fr[0];for(n(Zr!=null),n(lo!=null),Zr[0]=null,Ur[0]=null,lo[0]=0;;){if(Qn[0]=mr,fr[0]=Ta,8>Ta){Qn=7;break e}var Qs=go(XA,mr+4);if(4294967286no){Qn=3;break e}if(!t(XA,mr,"VP8 ")||!t(XA,mr,"VP8L")){Qn=0;break e}if(Ta[0]fr[0])Qn=7;else{if(mr||da){if(no=go(no,XA+4),12<=Zr&&no>Zr-12){Qn=3;break e}if(pt&&no>fr[0]-8){Qn=7;break e}Ur[0]=no,Qn[0]+=8,fr[0]-=8,lo[0]=da}else lo[0]=5<=fr[0]&&no[XA+0]==47&&!(no[XA+4]>>5),Ur[0]=fr[0];Qn=0}if(z=z[0],ln.Ja=ln.Ja[0],ln.xa=ln.xa[0],v=v[0],Qn!=0)break;if(4294967286z){Qn=7;break}Ge=Te,pt=yn,ur=Ne,c==null||5>z?c=0:5<=z&&c[v+0]==47&&!(c[v+4]>>5)?(fr=[0],no=[0],Zr=[0],or(Ur=new bt,c,v,z),Iu(Ur,fr,no,Zr)?(Ge!=null&&(Ge[0]=fr[0]),pt!=null&&(pt[0]=no[0]),ur!=null&&(ur[0]=Zr[0]),c=1):c=0):c=0}else{if(10>z){Qn=7;break}Ge=yn,c==null||10>z||!qg(c,v+3,z-3)?c=0:(pt=c[v+0]|c[v+1]<<8|c[v+2]<<16,ur=16383&(c[v+7]<<8|c[v+6]),c=16383&(c[v+9]<<8|c[v+8]),1&pt||3<(pt>>1&7)||!(pt>>4&1)||pt>>5>=ln.Ja||!ur||!c?c=0:(Te&&(Te[0]=ur),Ge&&(Ge[0]=c),c=1))}if(!c||(Te=Te[0],yn=yn[0],Ln&&(gt[0]!=Te||tn[0]!=yn)))return 3;$e!=null&&($e[0]=ln,$e.offset=v-$e.w,n(4294967286>v-$e.w),n($e.offset==$e.ha-z));break}return Qn==0||Qn==7&&Ln&&$e==null?(Ne!=null&&(Ne[0]|=ln.na!=null&&0z||(Ne&=-2,Te&=-2),0>Ne||0>Te||0>=Ge||0>=$e||Ne+Ge>Ae||Te+$e>Ie))return 0;if(v.v=Ne,v.j=Te,v.va=Ne+Ge,v.o=Te+$e,v.U=Ge,v.T=$e,v.da=c!=null&&0c.S){var v=c.f.RGBA;v.fb+=(c.height-1)*v.A,v.A=-v.A}else v=c.f.kb,c=c.height,v.O+=(c-1)*v.fa,v.fa=-v.fa,v.N+=(c-1>>1)*v.Ab,v.Ab=-v.Ab,v.W+=(c-1>>1)*v.Db,v.Db=-v.Db,v.F!=null&&(v.J+=(c-1)*v.lb,v.lb=-v.lb);return 0}function gd(c,v,z,Ae){if(Ae==null||0>=c||0>=v)return 2;if(z!=null){if(z.Da){var Ie=z.cd,Ne=z.bd,Te=-2&z.v,Ge=-2&z.j;if(0>Te||0>Ge||0>=Ie||0>=Ne||Te+Ie>c||Ge+Ne>v)return 2;c=Ie,v=Ne}if(z.da){if(!Qo(c,v,Ie=[z.ib],Ne=[z.hb]))return 2;c=Ie[0],v=Ne[0]}}Ae.width=c,Ae.height=v;e:{var $e=Ae.width,gt=Ae.height;if(c=Ae.S,0>=$e||0>=gt||!(c>=d0&&13>c))c=2;else{if(0>=Ae.Rd&&Ae.sd==null){Te=Ne=Ie=v=0;var tn=(Ge=$e*wv[c])*gt;if(11>c||(Ne=(gt+1)/2*(v=($e+1)/2),c==12&&(Te=(Ie=$e)*gt)),(gt=l(tn+2*Ne+Te))==null){c=1;break e}Ae.sd=gt,11>c?(($e=Ae.f.RGBA).eb=gt,$e.fb=0,$e.A=Ge,$e.size=tn):(($e=Ae.f.kb).y=gt,$e.O=0,$e.fa=Ge,$e.Fd=tn,$e.f=gt,$e.N=0+tn,$e.Ab=v,$e.Cd=Ne,$e.ea=gt,$e.W=0+tn+Ne,$e.Db=v,$e.Ed=Ne,c==12&&($e.F=gt,$e.J=0+tn+2*Ne),$e.Tc=Te,$e.lb=Ie)}if(v=1,Ie=Ae.S,Ne=Ae.width,Te=Ae.height,Ie>=d0&&13>Ie)if(11>Ie)c=Ae.f.RGBA,v&=(Ge=Math.abs(c.A))*(Te-1)+Ne<=c.size,v&=Ge>=Ne*wv[Ie],v&=c.eb!=null;else{c=Ae.f.kb,Ge=(Ne+1)/2,tn=(Te+1)/2,$e=Math.abs(c.fa),gt=Math.abs(c.Ab);var Ln=Math.abs(c.Db),pt=Math.abs(c.lb),ln=pt*(Te-1)+Ne;v&=$e*(Te-1)+Ne<=c.Fd,v&=gt*(tn-1)+Ge<=c.Cd,v=(v&=Ln*(tn-1)+Ge<=c.Ed)&$e>=Ne>>=Ge&Ln>=Ge,v&=c.y!=null,v&=c.f!=null,v&=c.ea!=null,Ie==12&&(v&=pt>=Ne,v&=ln<=c.Tc,v&=c.F!=null)}else v=0;c=v?0:2}}return c!=0||z!=null&&z.fd&&(c=tg(Ae)),c}var pf=64,jl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Tl=24,pd=32,ju=8,vd=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];YA("Predictor0","PredictorAdd0"),Ft.Predictor0=function(){return 4278190080},Ft.Predictor1=function(c){return c},Ft.Predictor2=function(c,v,z){return v[z+0]},Ft.Predictor3=function(c,v,z){return v[z+1]},Ft.Predictor4=function(c,v,z){return v[z-1]},Ft.Predictor5=function(c,v,z){return Co(Co(c,v[z+1]),v[z+0])},Ft.Predictor6=function(c,v,z){return Co(c,v[z-1])},Ft.Predictor7=function(c,v,z){return Co(c,v[z+0])},Ft.Predictor8=function(c,v,z){return Co(v[z-1],v[z+0])},Ft.Predictor9=function(c,v,z){return Co(v[z+0],v[z+1])},Ft.Predictor10=function(c,v,z){return Co(Co(c,v[z-1]),Co(v[z+0],v[z+1]))},Ft.Predictor11=function(c,v,z){var Ae=v[z+0];return 0>=ea(Ae>>24&255,c>>24&255,(v=v[z-1])>>24&255)+ea(Ae>>16&255,c>>16&255,v>>16&255)+ea(Ae>>8&255,c>>8&255,v>>8&255)+ea(255&Ae,255&c,255&v)?Ae:c},Ft.Predictor12=function(c,v,z){var Ae=v[z+0];return(Ai((c>>24&255)+(Ae>>24&255)-((v=v[z-1])>>24&255))<<24|Ai((c>>16&255)+(Ae>>16&255)-(v>>16&255))<<16|Ai((c>>8&255)+(Ae>>8&255)-(v>>8&255))<<8|Ai((255&c)+(255&Ae)-(255&v)))>>>0},Ft.Predictor13=function(c,v,z){var Ae=v[z-1];return(La((c=Co(c,v[z+0]))>>24&255,Ae>>24&255)<<24|La(c>>16&255,Ae>>16&255)<<16|La(c>>8&255,Ae>>8&255)<<8|La(255&c,255&Ae))>>>0};var ng=Ft.PredictorAdd0;Ft.PredictorAdd1=ja,YA("Predictor2","PredictorAdd2"),YA("Predictor3","PredictorAdd3"),YA("Predictor4","PredictorAdd4"),YA("Predictor5","PredictorAdd5"),YA("Predictor6","PredictorAdd6"),YA("Predictor7","PredictorAdd7"),YA("Predictor8","PredictorAdd8"),YA("Predictor9","PredictorAdd9"),YA("Predictor10","PredictorAdd10"),YA("Predictor11","PredictorAdd11"),YA("Predictor12","PredictorAdd12"),YA("Predictor13","PredictorAdd13");var eh=Ft.PredictorAdd2;uo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var fs,l0=Ft.ColorIndexInverseTransform,ou=Ft.MapARGB,au=Ft.VP8LColorIndexInverseTransformAlpha,rg=Ft.MapAlpha,Ag=Ft.VP8LPredictorsAdd=[];Ag.length=16,(Ft.VP8LPredictors=[]).length=16,(Ft.VP8LPredictorsAdd_C=[]).length=16,(Ft.VP8LPredictors_C=[]).length=16;var og,ag,md,Bd,Cd,vf,wd,mf,Ac,iu,ai,mi,hs,Fs,Tu,ig,th,c0,Jp,Yp,qp,_p,$p,ev,sg,tv,nv,rv,Av=l(511),ov=l(2041),av=l(225),iv=l(767),sv=0,cp=ov,u0=av,Hl=iv,oc=Av,d0=0,f0=1,lv=2,h0=3,g0=4,up=5,cv=6,dp=7,fp=8,p0=9,hp=10,em=[2,3,7],tm=[3,3,11],uv=[280,256,256,256,40],nm=[0,1,1,1,0],rm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gp=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],pp=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],lg=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sm=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],cm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],um=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],yd=[],Oc=[],Hu=[],fm=1,fv=2,bd=[],ac=[];Nu("UpsampleRgbLinePair",hd,3),Nu("UpsampleBgrLinePair",Xs,3),Nu("UpsampleRgbaLinePair",hl,4),Nu("UpsampleBgraLinePair",$h,4),Nu("UpsampleArgbLinePair",_h,4),Nu("UpsampleRgba4444LinePair",hf,2),Nu("UpsampleRgb565LinePair",ff,2);var hm=Ft.UpsampleRgbLinePair,gm=Ft.UpsampleBgrLinePair,hv=Ft.UpsampleRgbaLinePair,gv=Ft.UpsampleBgraLinePair,pv=Ft.UpsampleArgbLinePair,vv=Ft.UpsampleRgba4444LinePair,pm=Ft.UpsampleRgb565LinePair,v0=16,m0=1<Ae.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ae.ca.f.kb.F!=null&&Pc()),Ae.Pb&&0($e=z.Md)?0:100<$e?255:255*$e/100)){for(gt=tn=0;4>gt;++gt)12>(Ln=Ie.pb[gt]).lc&&(Ln.ia=$e*Em[0>Ln.lc?0:Ln.lc]>>3),tn|=Ln.ia;tn&&(alert("todo:VP8InitRandom"),Ie.ia=1)}Ie.Ga=z.Id,100Ie.Ga&&(Ie.Ga=0)}(function(pt,ln){if(pt==null)return 0;if(ln==null)return Bs(pt,2,"NULL VP8Io parameter in VP8Decode().");if(!pt.cb&&!ru(pt,ln))return 0;if(n(pt.cb),ln.ac==null||ln.ac(ln)){ln.ob&&(pt.L=0);var yn=B0[pt.L];if(pt.L==2?(pt.yb=0,pt.zb=0):(pt.yb=ln.v-yn>>4,pt.zb=ln.j-yn>>4,0>pt.yb&&(pt.yb=0),0>pt.zb&&(pt.zb=0)),pt.Va=ln.o+15+yn>>4,pt.Hb=ln.va+15+yn>>4,pt.Hb>pt.za&&(pt.Hb=pt.za),pt.Va>pt.Ub&&(pt.Va=pt.Ub),0yn;++yn){var Qn;if(pt.Qa.Cb){var fr=pt.Qa.Lb[yn];pt.Qa.Fb||(fr+=ur.Tb)}else fr=ur.Tb;for(Qn=0;1>=Qn;++Qn){var mr=pt.gd[yn][Qn],Zr=fr;if(ur.Pc&&(Zr+=ur.vd[0],Qn&&(Zr+=ur.od[0])),0<(Zr=0>Zr?0:63>2:Ur>>1)>9-ur.wb&&(Ur=9-ur.wb),1>Ur&&(Ur=1),mr.dd=Ur,mr.tc=2*Zr+Ur,mr.ld=40<=Zr?2:15<=Zr?1:0}else mr.tc=0;mr.La=Qn}}}yn=0}else Bs(pt,6,"Frame setup failed"),yn=pt.a;if(yn=yn==0){if(yn){pt.$c=0,0pt.Vb){if(pt.Vb=0,pt.Ec=l(mr),pt.Fc=0,pt.Ec==null){yn=Bs(pt,1,"no memory during frame initialization.");break t}pt.Vb=mr}mr=pt.Ec,Zr=pt.Fc,pt.Ac=mr,pt.Bc=Zr,Zr+=ur,pt.Gd=y(lo,Jg),pt.Hd=0,pt.rb=y(XA+1,kh),pt.sb=1,pt.wa=da?y(da,tc):null,pt.Y=0,pt.D.Nb=0,pt.D.wa=pt.wa,pt.D.Y=pt.Y,0=yn;++yn)Av[255+yn]=0>yn?-yn:yn;for(yn=-1020;1020>=yn;++yn)ov[1020+yn]=-128>yn?-128:127=yn;++yn)av[112+yn]=-16>yn?-16:15=yn;++yn)iv[255+yn]=0>yn?0:255ka;++ka){var Ps,Za=gl[0+ka];for(Ps=0;4>Ps;++Ps){Za=cm[Li[Vs+Ps]][Za];for(var ui=dv[Cr(na,Za[0])];0>3;for(ui=0;256>ui;ui+=16)ka[sl+ui]=Fl}Gs=1,Uc=Vs[0]}var Bi=15&na.la,Os=15&pl.la;for(ui=0;4>ui;++ui){var Ml=1&Os;for(Fl=di=0;4>Fl;++Fl)Bi=Bi>>1|(Ml=(ps=lg(Li,Uc,ps=Ml+(1&Bi),As.Sc,Gs,ka,sl))>Gs)<<7,di=di<<2|(3>=4,Os=Os>>1|Ml<<7,Ps=(Ps<<8|di)>>>0}for(Uc=Bi,Gs=Os>>4,os=0;4>os;os+=2){for(di=0,Bi=na.la>>4+os,Os=pl.la>>4+os,ui=0;2>ui;++ui){for(Ml=1&Os,Fl=0;2>Fl;++Fl)ps=Ml+(1&Bi),Bi=Bi>>1|(Ml=0<(ps=lg(Li,Vs[2],ps,As.Qc,0,ka,sl)))<<3,di=di<<2|(3>=2,Os=Os>>1|Ml<<5}Za|=di<<4*os,Uc|=Bi<<4<=ro.zb&&ro.M<=ro.Va,ro.Aa==0)t:{if(fa.M=ro.M,fa.uc=na,rc(ro,fa),gs=1,fa=(di=ro.D).Nb,na=(Za=B0[ro.L])*ro.R,Li=Za/2*ro.B,ui=16*fa*ro.R,Fl=8*fa*ro.B,Vs=ro.sa,gl=ro.ta-na+ui,As=ro.qa,ka=ro.ra-Li+Fl,sl=ro.Ha,pl=ro.Ia-Li+Fl,Os=(Bi=di.M)==0,Ps=Bi>=ro.Va-1,ro.Aa==2&&rc(ro,di),di.uc)for(Ml=(ps=ro).D.M,n(ps.D.uc),di=ps.yb;dibA.o&&(Bi=bA.o),bA.F=null,bA.J=null,ro.Fa!=null&&0>1),bA.W+=ro.B*(Za>>1),bA.F!=null&&(bA.J+=bA.width*Za)),di>1,bA.W+=bA.v>>1,bA.F!=null&&(bA.J+=bA.v),bA.ka=di-bA.j,bA.U=bA.va-bA.v,bA.T=Bi-di,gs=bA.put(bA))}fa+1!=ro.Ic||Ps||(r(ro.sa,ro.ta-na,Vs,gl+16*ro.R,na),r(ro.qa,ro.ra-Li,As,ka+8*ro.B,Li),r(ro.Ha,ro.Ia-Li,sl,pl+8*ro.B,Li))}if(!gs)return Bs(Ta,6,"Output aborted.")}return 1}(pt,ln)),ln.bc!=null&&ln.bc(ln),yn&=1}return yn?(pt.cb=0,yn):0})(c,Ae)||(v=c.a)}}else v=c.a}v==0&&Te.Oa!=null&&Te.Oa.fd&&(v=tg(Te.ba))}Te=v}Ne=Te!=0?null:11>Ne?Ge.f.RGBA.eb:Ge.f.kb.y}else Ne=null;return Ne};var wv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function U(Ft,wn){for(var ze="",ft=0;ft<4;ft++)ze+=String.fromCharCode(Ft[wn++]);return ze}function G(Ft,wn){return Ft[wn+0]|Ft[wn+1]<<8}function be(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16)>>>0}function Le(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16|Ft[wn+3]<<24)>>>0}new F;var V=[0],st=[0],tt=[],ut=new F,Ze=e,Yt=function(Ft,wn){var ze={},ft=0,Jt=!1,Zt=0,Mn=0;if(ze.frames=[],!function(ke,bt){for(var Rt=0;Rt<4;Rt++)if(ke[bt+Rt]!="RIFF".charCodeAt(Rt))return!0;return!1}(Ft,wn)){for(Le(Ft,wn+=4),wn+=8;wn>1&1}Gn!="ANMF"&&(wn+=On)}return ze}}(Ze,0);Yt.response=Ze,Yt.rgbaoutput=!0,Yt.dataurl=!1;var kt=Yt.header?Yt.header:null,It=Yt.frames?Yt.frames:null;if(kt){kt.loop_counter=kt.loop_count,V=[kt.canvas_height],st=[kt.canvas_width];for(var Rn=0;Rn=2?ht[1]:QA[0],QA[2]=ht.length>=3?ht[2]:QA[0],QA[3]=ht.length>=4?ht[3]:QA[1]),U.margin=QA}});var Yn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Yn},set:function(ht){Yn=ht}});var nr=0;Object.defineProperty(this,"lastBreak",{get:function(){return nr},set:function(ht){nr=ht}});var Cr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Cr},set:function(ht){Cr=ht}}),Object.defineProperty(this,"ctx",{get:function(){return U},set:function(ht){ht instanceof G&&(U=ht)}}),Object.defineProperty(this,"path",{get:function(){return U.path},set:function(ht){U.path=ht}});var Vr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Vr},set:function(ht){Vr=ht}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ht){var QA;QA=Le(ht),this.ctx.fillStyle=QA.style,this.ctx.isFillTransparent=QA.a===0,this.ctx.fillOpacity=QA.a,this.pdf.setFillColor(QA.r,QA.g,QA.b,{a:QA.a}),this.pdf.setTextColor(QA.r,QA.g,QA.b,{a:QA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ht){var QA=Le(ht);this.ctx.strokeStyle=QA.style,this.ctx.isStrokeTransparent=QA.a===0,this.ctx.strokeOpacity=QA.a,QA.a===0?this.pdf.setDrawColor(255,255,255):(QA.a,this.pdf.setDrawColor(QA.r,QA.g,QA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ht){["butt","round","square"].indexOf(ht)!==-1&&(this.ctx.lineCap=ht,this.pdf.setLineCap(ht))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ht){isNaN(ht)||(this.ctx.lineWidth=ht,this.pdf.setLineWidth(ht))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ht){["bevel","round","miter"].indexOf(ht)!==-1&&(this.ctx.lineJoin=ht,this.pdf.setLineJoin(ht))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ht){isNaN(ht)||(this.ctx.miterLimit=ht,this.pdf.setMiterLimit(ht))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ht){this.ctx.textBaseline=ht}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ht){["right","end","center","left","start"].indexOf(ht)!==-1&&(this.ctx.textAlign=ht)}});var FA=null,SA=null,go=null;Object.defineProperty(this,"fontFaces",{get:function(){return go},set:function(ht){FA=null,SA=null,go=ht}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(ht){var QA;if(this.ctx.font=ht,(QA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(ht))!==null){var va=QA[1];QA[2];var Qo=QA[3],kr=QA[4];QA[5];var Po=QA[6],YA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(kr)[2];kr=Math.floor(YA==="px"?parseFloat(kr)*this.pdf.internal.scaleFactor:YA==="em"?parseFloat(kr)*this.pdf.getFontSize():parseFloat(kr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(kr);var xo=function(uo){var ds,Ka,Ca=[],wa=uo.trim();if(wa==="")return W0;if(wa in Jc)return[Jc[wa]];for(;wa!=="";){switch(Ka=null,ds=(wa=Yc(wa)).charAt(0)){case'"':case"'":Ka=bc(wa.substring(1),ds);break;default:Ka=cd(wa)}if(Ka===null||(Ca.push(Ka[0]),(wa=Yc(Ka[1]))!==""&&wa.charAt(0)!==","))return W0;wa=wa.replace(/^,/,"")}return Ca}(Po);if(this.fontFaces){var Co=function(uo,ds){var Ka=uo.getFontList(),Ca=JSON.stringify(Ka);if(FA===null||SA!==Ca){var wa=function(Hi){var yo=[];return Object.keys(Hi).forEach(function(Ei){Hi[Ei].forEach(function(To){var ta=null;switch(To){case"bold":ta={family:Ei,weight:"bold"};break;case"italic":ta={family:Ei,style:"italic"};break;case"bolditalic":ta={family:Ei,weight:"bold",style:"italic"};break;case"":case"normal":ta={family:Ei}}ta!==null&&(ta.ref={name:Ei,style:To},yo.push(ta))})}),yo}(Ka);FA=function(Hi){for(var yo={},Ei=0;Ei=700||va==="bold")&&(ea="bold"),va==="italic"&&(ea+="italic"),ea.length===0&&(ea="normal");for(var ja="",Ra={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ao=0;ao=2*Math.PI&&(qt=0,un=2*Math.PI),this.path.push({type:"arc",x:ke,y:bt,radius:Rt,startAngle:qt,endAngle:un,counterclockwise:In})},be.prototype.arcTo=function(ke,bt,Rt,qt,un){throw new Error("arcTo not implemented.")},be.prototype.rect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke+Rt,bt+qt),this.lineTo(ke,bt+qt),this.lineTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke,bt)},be.prototype.fillRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!V.call(this)){var un={};this.lineCap!=="butt"&&(un.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(un.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ke,bt,Rt,qt),this.fill(),un.hasOwnProperty("lineCap")&&(this.lineCap=un.lineCap),un.hasOwnProperty("lineJoin")&&(this.lineJoin=un.lineJoin)}},be.prototype.strokeRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");st.call(this)||(this.beginPath(),this.rect(ke,bt,Rt,qt),this.stroke())},be.prototype.clearRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ke,bt,Rt,qt))},be.prototype.save=function(ke){ke=typeof ke!="boolean"||ke;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Rt=0;Rt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};be.prototype.drawImage=function(ke,bt,Rt,qt,un,In,Yn,nr,Cr){var Vr=this.pdf.getImageProperties(ke),FA=1,SA=1,go=1,ht=1;qt!==void 0&&nr!==void 0&&(go=nr/qt,ht=Cr/un,FA=Vr.width/qt*nr/qt,SA=Vr.height/un*Cr/un),In===void 0&&(In=bt,Yn=Rt,bt=0,Rt=0),qt!==void 0&&nr===void 0&&(nr=qt,Cr=un),qt===void 0&&nr===void 0&&(nr=Vr.width,Cr=Vr.height);var QA=this.ctx.transform.decompose(),va=On(QA.rotate.shx),Qo=new F,kr=(Qo=(Qo=(Qo=Qo.multiply(QA.translate)).multiply(QA.skew)).multiply(QA.scale)).applyToRectangle(new m(In-bt*go,Yn-Rt*ht,qt*FA,un*SA));if(this.autoPaging){for(var Po,YA=ut.call(this,kr),xo=[],Co=0;CoAi||eakr||YA0)){for(;Cr>=0;Cr--)if(un[Cr-1].close!==!0&&un[Cr-1].begin!==!0){un[Cr-1].deltas.push(Rt),un[Cr-1].abs.push(nr);break}}break;case"bct":Rt=[nr.x1-In[Yn-1].x,nr.y1-In[Yn-1].y,nr.x2-In[Yn-1].x,nr.y2-In[Yn-1].y,nr.x-In[Yn-1].x,nr.y-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"qct":var Vr=In[Yn-1].x+2/3*(nr.x1-In[Yn-1].x),FA=In[Yn-1].y+2/3*(nr.y1-In[Yn-1].y),SA=nr.x+2/3*(nr.x1-nr.x),go=nr.y+2/3*(nr.y1-nr.y),ht=nr.x,QA=nr.y;Rt=[Vr-In[Yn-1].x,FA-In[Yn-1].y,SA-In[Yn-1].x,go-In[Yn-1].y,ht-In[Yn-1].x,QA-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"arc":un.push({deltas:[],abs:[],arc:!0}),Array.isArray(un[un.length-1].abs)&&un[un.length-1].abs.push(nr)}}qt=bt?null:ke==="stroke"?"stroke":"fill";for(var va=!1,Qo=0;Qo=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale);var ia=this.autoPaging!=="text";if(ia||ao.y+ao.h<=Co){if(ia||ao.y>=YA&&ao.x<=La){var uo=ia?ke.text:this.pdf.splitTextToSize(ke.text,ke.maxWidth||La-ao.x)[0],ds=Yt([JSON.parse(JSON.stringify(SA))],this.posX+this.margin[3],-ja+YA+this.ctx.prevPageLastElemOffset)[0],Ka=ia&&(Po>Qo||Po=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)}}else ke.scale>=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale),this.pdf.text(ke.text,Cr.x+this.posX,Cr.y+this.posY,{angle:ke.angle,align:bt,renderingMode:ke.renderingMode,maxWidth:ke.maxWidth}),ke.scale>=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)},Jt=function(ke,bt,Rt,qt){Rt=Rt||0,qt=qt||0,this.pdf.internal.out(t(ke+Rt)+" "+r(bt+qt)+" l")},Zt=function(ke,bt,Rt){return this.pdf.lines(ke,bt,Rt,null,null)},Mn=function(ke,bt,Rt,qt,un,In,Yn,nr){this.pdf.internal.out([n(a(Rt+ke)),n(l(qt+bt)),n(a(un+ke)),n(l(In+bt)),n(a(Yn+ke)),n(l(nr+bt)),"c"].join(" "))},Gn=function(ke,bt,Rt,qt){for(var un=2*Math.PI,In=Math.PI/2;bt>Rt;)bt-=un;var Yn=Math.abs(Rt-bt);Yn1e-5;){var FA=Vr+Cr*Math.min(Yn,In);nr.push(er.call(this,ke,Vr,FA)),Yn-=Math.abs(FA-Vr),Vr=FA}return nr},er=function(ke,bt,Rt){var qt=(Rt-bt)/2,un=ke*Math.cos(qt),In=ke*Math.sin(qt),Yn=un,nr=-In,Cr=Yn*Yn+nr*nr,Vr=Cr+Yn*un+nr*In,FA=4/3*(Math.sqrt(2*Cr*Vr)-Vr)/(Yn*In-nr*un),SA=Yn-FA*nr,go=nr+FA*Yn,ht=SA,QA=-go,va=qt+bt,Qo=Math.cos(va),kr=Math.sin(va);return{x1:ke*Math.cos(bt),y1:ke*Math.sin(bt),x2:SA*Qo-go*kr,y2:SA*kr+go*Qo,x3:ht*Qo-QA*kr,y3:ht*kr+QA*Qo,x4:ke*Math.cos(Rt),y4:ke*Math.sin(Rt)}},On=function(ke){return 180*ke/Math.PI},or=function(ke,bt,Rt,qt,un,In){var Yn=ke+.5*(Rt-ke),nr=bt+.5*(qt-bt),Cr=un+.5*(Rt-un),Vr=In+.5*(qt-In),FA=Math.min(ke,un,Yn,Cr),SA=Math.max(ke,un,Yn,Cr),go=Math.min(bt,In,nr,Vr),ht=Math.max(bt,In,nr,Vr);return new m(FA,go,SA-FA,ht-go)},iA=function(ke,bt,Rt,qt,un,In,Yn,nr){var Cr,Vr,FA,SA,go,ht,QA,va,Qo,kr,Po,YA,xo,Co,Ai=Rt-ke,La=qt-bt,ea=un-Rt,ja=In-qt,Ra=Yn-un,ao=nr-In;for(Vr=0;Vr<41;Vr++)Qo=(QA=(FA=ke+(Cr=Vr/40)*Ai)+Cr*((go=Rt+Cr*ea)-FA))+Cr*(go+Cr*(un+Cr*Ra-go)-QA),kr=(va=(SA=bt+Cr*La)+Cr*((ht=qt+Cr*ja)-SA))+Cr*(ht+Cr*(In+Cr*ao-ht)-va),Vr==0?(Po=Qo,YA=kr,xo=Qo,Co=kr):(Po=Math.min(Po,Qo),YA=Math.min(YA,kr),xo=Math.max(xo,Qo),Co=Math.max(Co,kr));return new m(Math.round(Po),Math.round(YA),Math.round(xo-Po),Math.round(Co-YA))},Fr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ke,bt,Rt=(ke=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ke,lineDashOffset:bt}));this.prevLineDash!==Rt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Rt)}}})(to.API),function(e){var n=function(y){var m,F,U,G,be,Le,V,st,tt,ut;for(/[^\x00-\xFF]/.test(y),F=[],U=0,G=(y+=m="\0\0\0\0".slice(y.length%4||4)).length;G>U;U+=4)(be=(y.charCodeAt(U)<<24)+(y.charCodeAt(U+1)<<16)+(y.charCodeAt(U+2)<<8)+y.charCodeAt(U+3))!==0?(Le=(be=((be=((be=((be=(be-(ut=be%85))/85)-(tt=be%85))/85)-(st=be%85))/85)-(V=be%85))/85)%85,F.push(Le+33,V+33,st+33,tt+33,ut+33)):F.push(122);return function(Ze,Yt){for(var kt=Yt;kt>0;kt--)Ze.pop()}(F,m.length),String.fromCharCode.apply(String,F)+"~>"},t=function(y){var m,F,U,G,be,Le=String,V="length",st=255,tt="charCodeAt",ut="slice",Ze="replace";for(y[ut](-2),y=y[ut](0,-2)[Ze](/\s/g,"")[Ze]("z","!!!!!"),U=[],G=0,be=(y+=m="uuuuu"[ut](y[V]%5||5))[V];be>G;G+=5)F=52200625*(y[tt](G)-33)+614125*(y[tt](G+1)-33)+7225*(y[tt](G+2)-33)+85*(y[tt](G+3)-33)+(y[tt](G+4)-33),U.push(st&F>>24,st&F>>16,st&F>>8,st&F);return function(Yt,kt){for(var It=kt;It>0;It--)Yt.pop()}(U,m[V]),Le.fromCharCode.apply(Le,U)},r=function(y){return y.split("").map(function(m){return("0"+m.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(y){var m=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((y=y.replace(/\s/g,"")).indexOf(">")!==-1&&(y=y.substr(0,y.indexOf(">"))),y.length%2&&(y+="0"),m.test(y)===!1)return"";for(var F="",U=0;Utt&&(st=ut,ut=tt,tt=st);else{if(m!=="l"&&m!=="landscape")throw"Invalid orientation: "+m;m="l",tt>ut&&(st=ut,ut=tt,tt=st)}return{width:ut,height:tt,unit:F,k:be,orientation:m}},e.html=function(m,F){(F=F||{}).callback=F.callback||function(){},F.html2canvas=F.html2canvas||{},F.html2canvas.canvas=F.html2canvas.canvas||this.canvas,F.jsPDF=F.jsPDF||this,F.fontFaces=F.fontFaces?F.fontFaces.map(Sl):null;var U=new y(F);return F.worker?U:U.from(m).doCallback()}}(to.API),to.API.addJS=function(e){return Lp=e,this.internal.events.subscribe("postPutResources",function(){qc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(qc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Up=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Lp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){qc!==void 0&&Up!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),l=0;l> endobj")}var V=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+V+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,l){var y={title:a,options:l,children:[]};return r==null&&(r=this.root),r.children.push(y),y},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(y.children[0])),this.line("/Last "+this.makeRef(y.children[y.children.length-1])));var m=this.count=this.count_r({count:0},y);if(m>0&&this.line("/Count "+m),y.options&&y.options.pageNumber){var F=t.internal.getPageInfo(y.options.pageNumber);this.line("/Dest ["+F.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var U=0;U>"}),"transparency"in ft&&Array.isArray(ft.transparency)&&ft.transparency.length>0){for(var er="",On=0,or=ft.transparency.length;On>",tt.content=l;var kt=tt.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=1};var U=e.__arabicParser__.arabicLetterHasFinalForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length>=3};var G=e.__arabicParser__.arabicLetterHasMedialForm=function(tt){return y(tt)&&l(tt)&&n[tt.charCodeAt(0)].length==4},be=e.__arabicParser__.resolveLigatures=function(tt){var ut=0,Ze=t,Yt="",kt=0;for(ut=0;ut>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(m){t=m}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(m){r=isNaN(m)||Number.isInteger(m)===!1||m<0?150:m,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a},set:function(m){a=isNaN(m)||Number.isInteger(m)===!1||m<0?300:m,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(m){l=m}});var y={};Object.defineProperty(this,"style",{get:function(){return y},set:function(m){y=m}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(to.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var F=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return F},set:function(tt){F=tt}});var U=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(tt){U=tt}});var G=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return G},set:function(tt){G=tt}});var be=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return be},set:function(tt){be=tt}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(tt){Le=tt}});var V=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return V},set:function(tt){V=tt}});var st=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return st},set:function(tt){st=tt}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(F){return r.call(this),this.internal.__cell__.headerFunction=typeof F=="function"?F:void 0,this},e.getTextDimensions=function(F,U){r.call(this);var G=(U=U||{}).fontSize||this.getFontSize(),be=U.font||this.getFont(),Le=U.scaleFactor||this.internal.scaleFactor,V=0,st=0,tt=0,ut=this;if(!Array.isArray(F)&&typeof F!="string"){if(typeof F!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");F=String(F)}var Ze=U.maxWidth;Ze>0?typeof F=="string"?F=this.splitTextToSize(F,Ze):Object.prototype.toString.call(F)==="[object Array]"&&(F=F.reduce(function(kt,It){return kt.concat(ut.splitTextToSize(It,Ze))},[])):F=Array.isArray(F)?F:[F];for(var Yt=0;Ytthis.getPageHeight()?(this.cellAddPage(),F.y=be.top,V&&Le&&(this.printHeaderRow(F.lineNumber,!0),F.y+=Le[0].height)):F.y=U.y+U.height||F.y),F.text[0]!==void 0&&(this.rect(F.x,F.y,F.width,F.height,t===!0?"FD":void 0),F.align==="right"?this.text(F.text,F.x+F.width-G,F.y+G,{align:"right",baseline:"top"}):F.align==="center"?this.text(F.text,F.x+F.width/2,F.y+G,{align:"center",baseline:"top",maxWidth:F.width-G-G}):this.text(F.text,F.x+G,F.y+G,{align:"left",baseline:"top",maxWidth:F.width-G-G})),this.internal.__cell__.lastCell=F,this};e.table=function(F,U,G,be,Le){if(r.call(this),!G)throw new Error("No data for PDF table.");var V,st,tt,ut,Ze=[],Yt=[],kt=[],It={},Rn={},dr=[],Jn=[],An=(Le=Le||{}).autoSize||!1,Ft=Le.printHeaders!==!1,wn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,ze=Le.margins||Object.assign({width:this.getPageWidth()},n),ft=typeof Le.padding=="number"?Le.padding:3,Jt=Le.headerBackgroundColor||"#c8c8c8",Zt=Le.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=Ft,this.internal.__cell__.margins=ze,this.internal.__cell__.table_font_size=wn,this.internal.__cell__.padding=ft,this.internal.__cell__.headerBackgroundColor=Jt,this.internal.__cell__.headerTextColor=Zt,this.setFontSize(wn),be==null)Yt=Ze=Object.keys(G[0]),kt=Ze.map(function(){return"left"});else if(Array.isArray(be)&&(0,A.Z)(be[0])==="object")for(Ze=be.map(function(iA){return iA.name}),Yt=be.map(function(iA){return iA.prompt||iA.name||""}),kt=be.map(function(iA){return iA.align||"left"}),V=0;V0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(to.API);var ms={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},wc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ds=ei(wc),zs=[100,200,300,400,500,600,700,800,900],yu=ei(zs);function Sl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ms[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),a=function(l){return typeof Ds[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:a,src:e.src||[],ref:e.ref||{name:n,style:[a,t,r].join(" ")}}}function yc(e,n,t,r){var a;for(a=t;a>=0&&a=0&&a>>1)&255}return a}function kp(e,n,t){var r=e.length,a=[];a[0]=4;for(var l=0;l>l&y}function Kp(e,n,t,r){var a=t*r,l=Math.floor(a/8),y=16-(a-8*l+r),m=(1<>8&255;U.setUint8(G,Le)}})(e,l,zp(e,l)&~(m<>7,y=1<<1+(7&a);e[n++],e[n++];var m=null,F=null;l&&(m=n,F=y,n+=3*y);var U=!0,G=[],be=0,Le=null,V=0,st=null;for(this.width=t,this.height=r;U&&n=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var tt=e[n++];be=e[n++]|e[n++]<<8,Le=e[n++],1&tt||(Le=null),V=tt>>2&7,n++;break;case 254:for(;;){if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var ut=e[n++]|e[n++]<<8,Ze=e[n++]|e[n++]<<8,Yt=e[n++]|e[n++]<<8,kt=e[n++]|e[n++]<<8,It=e[n++],Rn=It>>6&1,dr=1<<1+(7&It),Jn=m,An=F,Ft=!1;It>>7&&(Ft=!0,Jn=n,An=dr,n+=3*dr);var wn=n;for(n++;;){var ze;if(!((ze=e[n++])>=0))throw Error("Invalid block size");if(ze===0)break;n+=ze}G.push({x:ut,y:Ze,width:Yt,height:kt,has_local_palette:Ft,palette_offset:Jn,palette_size:An,data_offset:wn,data_length:n-wn,transparent_index:Le,interlaced:!!Rn,delay:be,disposal:V});break;case 59:U=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return G.length},this.loopCount=function(){return st},this.frameInfo=function(ft){if(ft<0||ft>=G.length)throw new Error("Frame index out of range.");return G[ft]},this.decodeAndBlitFrameBGRA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=FA,Jt[Rt++]=Vr,Jt[Rt++]=Cr,Jt[Rt++]=255}--Fr}},this.decodeAndBlitFrameRGBA=function(ft,Jt){var Zt=this.frameInfo(ft),Mn=Zt.width*Zt.height,Gn=new Uint8Array(Mn);Zp(e,Zt.data_offset,Gn,Mn);var er=Zt.palette_offset,On=Zt.transparent_index;On===null&&(On=256);var or=Zt.width,iA=t-or,Fr=or,ke=4*(Zt.y*t+Zt.x),bt=4*((Zt.y+Zt.height)*t+Zt.x),Rt=ke,qt=4*iA;Zt.interlaced===!0&&(qt+=4*t*7);for(var un=8,In=0,Yn=Gn.length;In=bt&&(qt=4*iA+4*t*(un-1),Rt=ke+(or+iA)*(un<<1),un>>=1)),nr===On)Rt+=4;else{var Cr=e[er+3*nr],Vr=e[er+3*nr+1],FA=e[er+3*nr+2];Jt[Rt++]=Cr,Jt[Rt++]=Vr,Jt[Rt++]=FA,Jt[Rt++]=255}--Fr}}}function Zp(e,n,t,r){for(var a=e[n++],l=1<>=F,G-=F,ut!==l){if(ut===y)break;for(var Ze=utl;)kt=st[kt]>>8,++Yt;var It=kt;if(Le+Yt+(Ze!==ut?1:0)>r)return void ci.log("Warning, gif stream longer than expected.");t[Le++]=It;var Rn=Le+=Yt;for(Ze!==ut&&(t[Le++]=It),kt=Ze;Yt--;)kt=st[kt],t[--Rn]=255&kt,kt>>=8;tt!==null&&m<4096&&(st[m++]=tt<<8|It,m>=U+1&&F<12&&(++F,U=U<<1|1)),tt=ut}else m=y+1,U=(1<<(F=a+1))-1,tt=null}return Le!==r&&ci.log("Warning, gif stream shorter than expected."),t}function V0(e){var n,t,r,a,l,y=Math.floor,m=new Array(64),F=new Array(64),U=new Array(64),G=new Array(64),be=new Array(65535),Le=new Array(65535),V=new Array(64),st=new Array(64),tt=[],ut=0,Ze=7,Yt=new Array(64),kt=new Array(64),It=new Array(64),Rn=new Array(256),dr=new Array(2048),Jn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],An=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ft=[0,1,2,3,4,5,6,7,8,9,10,11],wn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],ze=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ft=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Jt=[0,1,2,3,4,5,6,7,8,9,10,11],Zt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gn(ke,bt){for(var Rt=0,qt=0,un=new Array,In=1;In<=16;In++){for(var Yn=1;Yn<=ke[In];Yn++)un[bt[qt]]=[],un[bt[qt]][0]=Rt,un[bt[qt]][1]=In,qt++,Rt++;Rt*=2}return un}function er(ke){for(var bt=ke[0],Rt=ke[1]-1;Rt>=0;)bt&1<>8&255),On(255&ke)}function iA(ke,bt,Rt,qt,un){for(var In,Yn=un[0],nr=un[240],Cr=function(kr,Po){var YA,xo,Co,Ai,La,ea,ja,Ra,ao,ia,uo=0;for(ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+1],Co=kr[uo+2],Ai=kr[uo+3],La=kr[uo+4],ea=kr[uo+5],ja=kr[uo+6];var ds=YA+(Ra=kr[uo+7]),Ka=YA-Ra,Ca=xo+ja,wa=xo-ja,Hi=Co+ea,yo=Co-ea,Ei=Ai+La,To=Ai-La,ta=ds+Ei,Mi=ds-Ei,Sa=Ca+Hi,Oo=Ca-Hi;kr[uo]=ta+Sa,kr[uo+4]=ta-Sa;var oi=.707106781*(Oo+Mi);kr[uo+2]=Mi+oi,kr[uo+6]=Mi-oi;var tf=.382683433*((ta=To+yo)-(Oo=wa+Ka)),il=.5411961*ta+tf,Eu=1.306562965*Oo+tf,$c=.707106781*(Sa=yo+wa),Uo=Ka+$c,xu=Ka-$c;kr[uo+5]=xu+il,kr[uo+3]=xu-il,kr[uo+1]=Uo+Eu,kr[uo+7]=Uo-Eu,uo+=8}for(uo=0,ao=0;ao<8;++ao){YA=kr[uo],xo=kr[uo+8],Co=kr[uo+16],Ai=kr[uo+24],La=kr[uo+32],ea=kr[uo+40],ja=kr[uo+48];var Iu=YA+(Ra=kr[uo+56]),_l=YA-Ra,$l=xo+ja,rs=xo-ja,js=Co+ea,Zs=Co-ea,nf=Ai+La,dd=Ai-La,Ic=Iu+nf,eu=Iu-nf,Sc=$l+js,Fc=$l-js;kr[uo]=Ic+Sc,kr[uo+32]=Ic-Sc;var ec=.707106781*(Fc+eu);kr[uo+16]=eu+ec,kr[uo+48]=eu-ec;var rf=.382683433*((Ic=dd+Zs)-(Fc=rs+_l)),tu=.5411961*Ic+rf,Af=1.306562965*Fc+rf,Zf=.707106781*(Sc=Zs+rs),Wf=_l+Zf,Xf=_l-Zf;kr[uo+40]=Xf+tu,kr[uo+24]=Xf-tu,kr[uo+8]=Wf+Af,kr[uo+56]=Wf-Af,uo++}for(ao=0;ao<64;++ao)ia=kr[ao]*Po[ao],V[ao]=ia>0?ia+.5|0:ia-.5|0;return V}(ke,bt),Vr=0;Vr<64;++Vr)st[Jn[Vr]]=Cr[Vr];var FA=st[0]-Rt;Rt=st[0],FA==0?er(qt[0]):(er(qt[Le[In=32767+FA]]),er(be[In]));for(var SA=63;SA>0&&st[SA]==0;)SA--;if(SA==0)return er(Yn),Rt;for(var go,ht=1;ht<=SA;){for(var QA=ht;st[ht]==0&&ht<=SA;)++ht;var va=ht-QA;if(va>=16){go=va>>4;for(var Qo=1;Qo<=go;++Qo)er(nr);va&=15}In=32767+st[ht],er(un[(va<<4)+Le[In]]),er(be[In]),ht++}return SA!=63&&er(Yn),Rt}function Fr(ke){ke=Math.min(Math.max(ke,1),100),l!=ke&&(function(bt){for(var Rt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],qt=0;qt<64;qt++){var un=y((Rt[qt]*bt+50)/100);un=Math.min(Math.max(un,1),255),m[Jn[qt]]=un}for(var In=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Yn=0;Yn<64;Yn++){var nr=y((In[Yn]*bt+50)/100);nr=Math.min(Math.max(nr,1),255),F[Jn[Yn]]=nr}for(var Cr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Vr=0,FA=0;FA<8;FA++)for(var SA=0;SA<8;SA++)U[Vr]=1/(m[Jn[Vr]]*Cr[FA]*Cr[SA]*8),G[Vr]=1/(F[Jn[Vr]]*Cr[FA]*Cr[SA]*8),Vr++}(ke<50?Math.floor(5e3/ke):Math.floor(200-2*ke)),l=ke)}this.encode=function(ke,bt){bt&&Fr(bt),tt=new Array,ut=0,Ze=7,or(65496),or(65504),or(16),On(74),On(70),On(73),On(70),On(0),On(1),On(1),On(0),or(1),or(1),On(0),On(0),function(){or(65499),or(132),On(0);for(var xo=0;xo<64;xo++)On(m[xo]);On(1);for(var Co=0;Co<64;Co++)On(F[Co])}(),function(xo,Co){or(65472),or(17),On(8),or(Co),or(xo),On(3),On(1),On(17),On(0),On(2),On(17),On(1),On(3),On(17),On(1)}(ke.width,ke.height),function(){or(65476),or(418),On(0);for(var xo=0;xo<16;xo++)On(An[xo+1]);for(var Co=0;Co<=11;Co++)On(Ft[Co]);On(16);for(var Ai=0;Ai<16;Ai++)On(wn[Ai+1]);for(var La=0;La<=161;La++)On(ze[La]);On(1);for(var ea=0;ea<16;ea++)On(ft[ea+1]);for(var ja=0;ja<=11;ja++)On(Jt[ja]);On(17);for(var Ra=0;Ra<16;Ra++)On(Zt[Ra+1]);for(var ao=0;ao<=161;ao++)On(Mn[ao])}(),or(65498),or(12),On(3),On(1),On(0),On(2),On(17),On(3),On(17),On(0),On(63),On(0);var Rt=0,qt=0,un=0;ut=0,Ze=7,this.encode.displayName="_encode_";for(var In,Yn,nr,Cr,Vr,FA,SA,go,ht,QA=ke.data,va=ke.width,Qo=ke.height,kr=4*va,Po=0;Po>3)*kr+(SA=4*(7&ht)),Po+go>=Qo&&(FA-=kr*(Po+1+go-Qo)),In+SA>=kr&&(FA-=In+SA-kr+4),Yn=QA[FA++],nr=QA[FA++],Cr=QA[FA++],Yt[ht]=(dr[Yn]+dr[nr+256|0]+dr[Cr+512|0]>>16)-128,kt[ht]=(dr[Yn+768|0]+dr[nr+1024|0]+dr[Cr+1280|0]>>16)-128,It[ht]=(dr[Yn+1280|0]+dr[nr+1536|0]+dr[Cr+1792|0]>>16)-128;Rt=iA(Yt,U,Rt,n,r),qt=iA(kt,G,qt,t,a),un=iA(It,G,un,t,a),In+=32}Po+=8}if(Ze>=0){var YA=[];YA[1]=Ze+1,YA[0]=(1<ft;ft++)if(Ft[wn+ft]!=ze.charCodeAt(ft))return!0;return!1}function r(Ft,wn,ze,ft,Jt){for(var Zt=0;ZtZt+1?[]:new wn),!(Mn.length>>0;c&z;)z>>>=1;return z?(c&z-1)+z:c}function ze(c,v,z,Ae,Ie){n(!(Ae%z));do c[v+(Ae-=z)]=Ie;while(0=Ie),512>=Ie)var Ne=l(512);else if((Ne=l(Ie))==null)return 0;return function(Te,Ge,$e,gt,tn,Ln){var pt,ln,yn=Ge,ur=1<<$e,Qn=l(16),fr=l(16);for(n(tn!=0),n(gt!=null),n(Te!=null),n(0<$e),ln=0;lnpt;++pt){if(Qn[pt]>1<(da-=Qn[pt]))return 0;for(;0=pt;++pt,tn<<=1){if(XA+=da<<=1,0>(da-=Qn[pt]))return 0;for(;0Zr&&!(0>=(mr-=Qn[Zr]));)++Zr,mr<<=1;ur+=no=1<<(mr=Zr-$e),Te[Ge+(Zr=lo&Ur)].g=mr+$e,Te[Ge+Zr].value=yn-Ge-Zr}gt.g=pt-$e,gt.value=Ln[ln++],ze(Te,yn+(lo>>$e),tn,no,gt),lo=wn(lo,pt)}}return XA!=2*fr[15]-1?0:ur}(c,v,z,Ae,Ie,Ne)}function Jt(){this.value=this.g=0}function Zt(){this.value=this.g=0}function Mn(){this.G=y(5,Jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=y(pf,Zt)}function Gn(c,v,z,Ae){n(c!=null),n(v!=null),n(2147483648>Ae),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=v,c.pa=z,c.Jd=v,c.Yc=z+Ae,c.Zc=4<=Ae?z+Ae-4+1:z,Yn(c)}function er(c,v){for(var z=0;0Ae),c.Sb=Ae,c.Ra=0,c.u=0,c.h=0,4>>=8,c.Ra+=c.oa[c.pa+c.bb]<>>0,++c.bb,c.u-=8;qt(c)&&(c.h=1,c.u=0)}function Fr(c,v){if(n(0<=v),!c.h&&v<=Tl){var z=Rt(c)&jl[v];return c.u+=v,iA(c),z}return c.h=1,c.u=0}function ke(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Rt(c){return c.Ra>>>(c.u&pd-1)>>>0}function qt(c){return n(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>pd}function un(c,v){c.u=v,c.h=qt(c)}function In(c){c.u>=ju&&(n(c.u>=ju),iA(c))}function Yn(c){n(c!=null&&c.oa!=null),c.pa>>0,c.b+=8):(n(c!=null&&c.oa!=null),c.pac.b&&Yn(c);var Ae=c.b,Ie=z*v>>>8,Ne=(c.I>>>Ae>Ie)+0;for(Ne?(z-=Ie,c.I-=Ie+1<>>0):z=Ie+1,Ae=z,Ie=0;256<=Ae;)Ie+=8,Ae>>=8;return Ae=7^Ie+vd[Ae],c.b-=Ae,c.Ca=(z<>24&255,c[v+1]=z>>16&255,c[v+2]=z>>8&255,c[v+3]=255&z}function FA(c,v){return c[v+0]|c[v+1]<<8}function SA(c,v){return FA(c,v)|c[v+2]<<16}function go(c,v){return FA(c,v)|FA(c,v+2)<<16}function ht(c,v){var z=1<=Ie||0>=Ne?0:(z[0]=Ie,Ae[0]=Ne,1)}function kr(c,v){return c+(1<>>v}function Po(c,v){return((4278255360&c)+(4278255360&v)>>>0&4278255360)+((16711935&c)+(16711935&v)>>>0&16711935)>>>0}function YA(c,v){Ft[v]=function(z,Ae,Ie,Ne,Te,Ge,$e){var gt;for(gt=0;gt>>1)+(c&v)>>>0}function Ai(c){return 0<=c&&256>c?c:0>c?0:255>1))}function ea(c,v,z){return Math.abs(v-z)-Math.abs(c-z)}function ja(c,v,z,Ae,Ie,Ne,Te){for(Ae=Ne[Te-1],z=0;z>8&255,$e=16711935&($e=($e=16711935&Te)+((Ge<<16)+Ge));Ae[Ie+Ne]=(4278255360&Te)+$e>>>0}}function ao(c,v){v.jd=255&c,v.hd=c>>8&255,v.ud=c>>16&255}function ia(c,v,z,Ae,Ie,Ne){var Te;for(Te=0;Te>>8,gt=Ge,tn=255&(tn=(tn=Ge>>>16)+((c.jd<<24>>24)*($e<<24>>24)>>>5));gt=255&(gt=(gt+=(c.hd<<24>>24)*($e<<24>>24)>>>5)+((c.ud<<24>>24)*(tn<<24>>24)>>>5)),Ie[Ne+Te]=(4278255360&Ge)+(tn<<16)+gt}}function uo(c,v,z,Ae,Ie){Ft[v]=function(Ne,Te,Ge,$e,gt,tn,Ln,pt,ln){for($e=Ln;$e>Ne.b,ln=Ne.Ea,yn=Ne.K[0],ur=Ne.w;if(8>pt)for(Ne=(1<>=pt}else Ft["VP8LMapColor"+z]($e,gt,yn,ur,tn,Ln,Te,Ge,ln)}}function ds(c,v,z,Ae,Ie){for(z=v+z;v>16&255,Ae[Ie++]=Ne>>8&255,Ae[Ie++]=255&Ne}}function Ka(c,v,z,Ae,Ie){for(z=v+z;v>16&255,Ae[Ie++]=Ne>>8&255,Ae[Ie++]=255&Ne,Ae[Ie++]=Ne>>24&255}}function Ca(c,v,z,Ae,Ie){for(z=v+z;v>16&240|Te>>12&15,Te=240&Te|Te>>28&15;Ae[Ie++]=Ne,Ae[Ie++]=Te}}function wa(c,v,z,Ae,Ie){for(z=v+z;v>16&248|Te>>13&7,Te=Te>>5&224|Te>>3&31;Ae[Ie++]=Ne,Ae[Ie++]=Te}}function Hi(c,v,z,Ae,Ie){for(z=v+z;v>8&255,Ae[Ie++]=Ne>>16&255}}function yo(c,v,z,Ae,Ie,Ne){if(Ne==0)for(z=v+z;v>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Ie+=32;else r(Ae,Ie,c,v,z)}function Ei(c,v){Ft[v][0]=Ft[c+"0"],Ft[v][1]=Ft[c+"1"],Ft[v][2]=Ft[c+"2"],Ft[v][3]=Ft[c+"3"],Ft[v][4]=Ft[c+"4"],Ft[v][5]=Ft[c+"5"],Ft[v][6]=Ft[c+"6"],Ft[v][7]=Ft[c+"7"],Ft[v][8]=Ft[c+"8"],Ft[v][9]=Ft[c+"9"],Ft[v][10]=Ft[c+"10"],Ft[v][11]=Ft[c+"11"],Ft[v][12]=Ft[c+"12"],Ft[v][13]=Ft[c+"13"],Ft[v][14]=Ft[c+"0"],Ft[v][15]=Ft[c+"0"]}function To(c){return c==dp||c==fp||c==p0||c==hp}function ta(){this.eb=[],this.size=this.A=this.fb=0}function Mi(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Sa(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ta,this.f.kb=new Mi,this.sd=null}function Oo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function oi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function il(c,v){var z=c.T,Ae=v.ba.f.RGBA,Ie=Ae.eb,Ne=Ae.fb+c.ka*Ae.A,Te=ac[v.ba.S],Ge=c.y,$e=c.O,gt=c.f,tn=c.N,Ln=c.ea,pt=c.W,ln=v.cc,yn=v.dc,ur=v.Mc,Qn=v.Nc,fr=c.ka,mr=c.ka+c.T,Zr=c.U,Ur=Zr+1>>1;for(fr==0?Te(Ge,$e,null,null,gt,tn,Ln,pt,gt,tn,Ln,pt,Ie,Ne,null,null,Zr):(Te(v.ec,v.fc,Ge,$e,ln,yn,ur,Qn,gt,tn,Ln,pt,Ie,Ne-Ae.A,Ie,Ne,Zr),++z);fr+2z,Ie=z==f0||z==h0||z==g0||z==up||z==12||To(z);if(v.memory=null,v.Ib=null,v.Jb=null,v.Nd=null,!eg(v.Oa,c,Ie?11:12))return 0;if(Ie&&To(z)&&qh(),c.da)alert("todo:use_scaling");else{if(Ae){if(v.Ib=tf,c.Kb){if(z=c.U+1>>1,v.memory=l(c.U+2*z),v.memory==null)return 0;v.ec=v.memory,v.fc=0,v.cc=v.ec,v.dc=v.fc+c.U,v.Mc=v.cc,v.Nc=v.dc+z,v.Ib=il,qh()}}else alert("todo:EmitYUV");Ie&&(v.Jb=Eu,Ae&&Pc())}if(Ae&&!Bv){for(c=0;256>c;++c)mm[c]=89858*(c-128)+m0>>v0,wm[c]=-22014*(c-128)+m0,Cm[c]=-45773*(c-128),Bm[c]=113618*(c-128)+m0>>v0;for(c=cg;c>v0,ym[c-cg]=nu(v,255),bm[c-cg]=nu(v+8>>4,15);Bv=1}return 1}function Uo(c){var v=c.ma,z=c.U,Ae=c.T;return n(!(1&c.ka)),0>=z||0>=Ae?0:(z=v.Ib(c,v),v.Jb!=null&&v.Jb(c,v,z),v.Dc+=z,1)}function xu(c){c.ma.memory=null}function Iu(c,v,z,Ae){return Fr(c,8)!=47?0:(v[0]=Fr(c,14)+1,z[0]=Fr(c,14)+1,Ae[0]=Fr(c,1),Fr(c,3)!=0?0:!c.h)}function _l(c,v){if(4>c)return c+1;var z=c-2>>1;return(2+(1&c)<>4)*c+(8-(15&z)))?z:1;var z}function rs(c,v,z){var Ae=Rt(z),Ie=c[v+=255&Ae].g-8;return 0>>0,n(8>=z.g),c.g}function Zs(c,v,z){var Ae=c.xc;return n((v=Ae==0?0:c.vc[c.md*(z>>Ae)+(v>>Ae)])>no.b)*XA;urZr&&(ro=Zr),(0,Ag[Ta[Qs++]>>8&15])(pt,ln+ +fa,fr,mr+fa-Zr,ro-fa,fr,mr+fa),fa=ro}ln+=Zr,mr+=Zr,++ur&lo||(no+=XA)}Ln!=gt.nc&&r($e,Ge-yn,$e,Ge+(Ln-tn-1)*yn,yn);break;case 1:for(yn=pt,Qn=ln,Zr=(pt=gt.Ea)-(mr=pt&~(fr=(ln=1<>gt.b)*ur;tn=Ie),0Ne.o&&(Ae=Ne.o),z=Ae?z=0:(Ie[0]+=4*Ne.v,Ne.ka=z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=Ae-z,z=1),z){if(Ge=Ge[0],11>(z=c.ca).S){var tn=z.f.RGBA,Ln=(Ae=z.S,Ie=Ne.U,Ne=Ne.T,gt=tn.eb,tn.A),pt=Ne;for(tn=tn.fb+c.Ma*tn.A;0Ae){var Ie=c.l.width,Ne=z.ca,Te=z.tb+Ie*Ae,Ge=c.V,$e=c.Ba+c.c*Ae,gt=c.gc;n(c.ab==1),n(gt[0].hc==3),au(gt[0],Ae,v,Ge,$e,Ne,Te),eu(z,Ae,v,Ne,Te,Ie)}c.C=c.Ma=v}function Fc(c,v,z,Ae,Ie,Ne,Te){var Ge=c.$/Ae,$e=c.$%Ae,gt=c.m,tn=c.s,Ln=z+c.$,pt=Ln;Ie=z+Ae*Ie;var ln=z+Ae*Ne,yn=280+tn.ua,ur=c.Pb?Ge:16777216,Qn=0=ur){var lo=Ln-z;n((ur=c).Pb),ur.wd=ur.m,ur.xd=lo,0da.g?(un(Ur,Ur.u+da.g),lo[XA]=da.value,Ur=0):(un(Ur,Ur.u+da.g-256),n(256<=da.value),Ur=da.value),Ur==0&&(Zr=!0)}else Ur=rs(mr.G[0],mr.H[0],gt);if(gt.h)break;if(Zr||256>Ur){if(!Zr)if(mr.nd)v[Ln]=(mr.qb|Ur<<8)>>>0;else{if(In(gt),Zr=rs(mr.G[1],mr.H[1],gt),In(gt),lo=rs(mr.G[2],mr.H[2],gt),XA=rs(mr.G[3],mr.H[3],gt),gt.h)break;v[Ln]=(XA<<24|Zr<<16|Ur<<8|lo)>>>0}if(Zr=!1,++Ln,++$e>=Ae&&($e=0,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge),Qn!=null))for(;pt>>Qn.Mb]=Ur}else if(280>Ur){if(Ur=_l(Ur-256,gt),lo=rs(mr.G[4],mr.H[4],gt),In(gt),lo=$l(Ae,lo=_l(lo,gt)),gt.h)break;if(Ln-z=Ae;)$e-=Ae,++Ge,Te!=null&&Ge<=Ne&&!(Ge%16)&&Te(c,Ge);if(n(Ln<=Ie),$e&fr&&(mr=Zs(tn,$e,Ge)),Qn!=null)for(;pt>>Qn.Mb]=Ur}else{if(!(Ur>>Qn.Mb]=Ur;Ur=Ln,n(!(Zr>>>(lo=Qn).Xa)),v[Ur]=lo.X[Zr],Zr=!0}Zr||n(gt.h==qt(gt))}if(c.Pb&>.h&&LnNe?Ne:Ge),c.a=0,c.$=Ln-z}return 1}return c.a=3,0}function ec(c){n(c!=null),c.vc=null,c.yc=null,c.Ya=null;var v=c.Wa;v!=null&&(v.X=null),c.vb=null,n(c!=null)}function rf(){var c=new Vo;return c==null?null:(c.a=0,c.xb=fv,Ei("Predictor","VP8LPredictors"),Ei("Predictor","VP8LPredictors_C"),Ei("PredictorAdd","VP8LPredictorsAdd"),Ei("PredictorAdd","VP8LPredictorsAdd_C"),fs=Ra,og=ia,ag=ds,md=Ka,Bd=Ca,Cd=wa,vf=Hi,Ft.VP8LMapColor32b=ou,Ft.VP8LMapColor8b=rg,c)}function tu(c,v,z,Ae,Ie){var Ne=1,Te=[c],Ge=[v],$e=Ae.m,gt=Ae.s,tn=null,Ln=0;e:for(;;){if(z)for(;Ne&&Fr($e,1);){var pt=Te,ln=Ge,yn=Ae,ur=1,Qn=yn.m,fr=yn.gc[yn.ab],mr=Fr(Qn,2);if(yn.Oc&1<=yn.ab),mr){case 0:case 1:fr.b=Fr(Qn,3)+2,ur=tu(kr(fr.Ea,fr.b),kr(fr.nc,fr.b),0,yn,fr.K),fr.K=fr.K[0];break;case 3:var Zr,Ur=Fr(Qn,8)+1,lo=16>no.b),Qs=l(Ta);if(Qs==null)Zr=0;else{var fa=no.K[0],ro=no.w;for(Qs[0]=no.K[0][0],XA=1;XA<1*da;++XA)Qs[XA]=Po(fa[ro+XA],Qs[XA-1]);for(;XA<4*Ta;++XA)Qs[XA]=0;no.K[0]=null,no.K[0]=Qs,Zr=1}}ur=Zr;break;case 2:break;default:n(0)}Ne=ur}}if(Te=Te[0],Ge=Ge[0],Ne&&Fr($e,1)&&!(Ne=1<=(Ln=Fr($e,4))&&11>=Ln)){Ae.a=3;break e}var bA;if(bA=Ne)t:{var gs,na,ka,Li=Ae,Vs=Te,gl=Ge,As=Ln,sl=z,pl=Li.m,Ps=Li.s,Za=[null],ui=1,os=0,di=om[As];n:for(;;){if(sl&&Fr(pl,1)){var Gs=Fr(pl,3)+2,Uc=kr(Vs,Gs),ps=kr(gl,Gs),Fl=Uc*ps;if(!tu(Uc,ps,0,Li,Za))break n;for(Za=Za[0],Ps.xc=Gs,gs=0;gs>8&65535;Za[gs]=Bi,Bi>=ui&&(ui=Bi+1)}}if(pl.h)break n;for(na=0;5>na;++na){var Os=uv[na];!na&&0=vl),Kl=kl;var Ql=l(os);if(Kl==null||Ql==null||Ml==null){Li.a=1;break n}var zl=Ml;for(gs=ka=0;gsna;++na){Os=uv[na],Zl[na]=zl,Lc[na]=ka,!na&&0E0)break r}else Cp=E0;for(dg=0;dgnh)Iv[dg++]=nh,nh!=0&&(Sv=nh);else{var Lm=nh==16,Pv=nh-16,Rm=tm[Pv],Ov=Fr(xd,em[Pv])+Rm;if(dg+Ov>E0)break r;for(var Nm=Lm?Sv:0;0=na){var fg,yp=Ql[0];for(fg=1;fgyp&&(yp=Ql[fg]);Js+=yp}}if(Ii.nd=Mu,Ii.Qb=0,Mu&&(Ii.qb=(Zl[3][Lc[3]+0].value<<24|Zl[1][Lc[1]+0].value<<16|Zl[2][Lc[2]+0].value)>>>0,Bf==0&&256>Zl[0][Lc[0]+0].value&&(Ii.Qb=1,Ii.qb+=Zl[0][Lc[0]+0].value<<8)),Ii.jc=!Ii.Qb&&6>Js,Ii.jc){var x0,ku=Ii;for(x0=0;x0>=js(I0,8,Sd),Id>>=js(ku.G[1][ku.H[1]+Id],16,Sd),Id>>=js(ku.G[2][ku.H[2]+Id],0,Sd),js(ku.G[3][ku.H[3]+Id],24,Sd))}}}Ps.vc=Za,Ps.Wb=ui,Ps.Ya=Kl,Ps.yc=Ml,bA=1;break t}bA=0}if(!(Ne=bA)){Ae.a=3;break e}if(0Ae+1?[]:0),!(Ie.lengthc?0:c>v?v:c}function Vf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function J0(){var c=new Yg;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,lg||(lg=Gf)),c}function Bs(c,v,z){return c.a==0&&(c.a=v,c.sc=z,c.cb=0),0}function qg(c,v,z){return 3<=z&&c[v+0]==157&&c[v+1]==1&&c[v+2]==42}function ru(c,v){if(c==null)return 0;if(c.a=0,c.sc="OK",v==null)return Bs(c,2,"null VP8Io passed to VP8GetHeaders()");var z=v.data,Ae=v.w,Ie=v.ha;if(4>Ie)return Bs(c,7,"Truncated header.");var Ne=z[Ae+0]|z[Ae+1]<<8|z[Ae+2]<<16,Te=c.Od;if(Te.Rb=!(1&Ne),Te.td=Ne>>1&7,Te.yd=Ne>>4&1,Te.ub=Ne>>5,3Ie)return Bs(c,7,"cannot parse picture header");if(!qg(z,Ae,Ie))return Bs(c,3,"Bad code word");Ge.c=16383&(z[Ae+4]<<8|z[Ae+3]),Ge.Td=z[Ae+4]>>6,Ge.i=16383&(z[Ae+6]<<8|z[Ae+5]),Ge.Ud=z[Ae+6]>>6,Ae+=7,Ie-=7,c.za=Ge.c+15>>4,c.Ub=Ge.i+15>>4,v.width=Ge.c,v.height=Ge.i,v.Da=0,v.j=0,v.v=0,v.va=v.width,v.o=v.height,v.da=0,v.ib=v.width,v.hb=v.height,v.U=v.width,v.T=v.height,a((Ne=c.Pa).jb,0,255,Ne.jb.length),n((Ne=c.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,a(Ne.Zb,0,0,Ne.Zb.length),a(Ne.Lb,0,0,Ne.Lb)}if(Te.ub>Ie)return Bs(c,7,"bad partition length");Gn(Ne=c.m,z,Ae,Te.ub),Ae+=Te.ub,Ie-=Te.ub,Te.Rb&&(Ge.Ld=nr(Ne),Ge.Kd=nr(Ne)),Ge=c.Qa;var $e,gt=c.Pa;if(n(Ne!=null),n(Ge!=null),Ge.Cb=nr(Ne),Ge.Cb){if(Ge.Bb=nr(Ne),nr(Ne)){for(Ge.Fb=nr(Ne),$e=0;4>$e;++$e)Ge.Zb[$e]=nr(Ne)?On(Ne,7):0;for($e=0;4>$e;++$e)Ge.Lb[$e]=nr(Ne)?On(Ne,6):0}if(Ge.Bb)for($e=0;3>$e;++$e)gt.jb[$e]=nr(Ne)?er(Ne,8):255}else Ge.Bb=0;if(Ne.Ka)return Bs(c,3,"cannot parse segment header");if((Ge=c.ed).zd=nr(Ne),Ge.Tb=er(Ne,6),Ge.wb=er(Ne,3),Ge.Pc=nr(Ne),Ge.Pc&&nr(Ne)){for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.vd[gt]=On(Ne,6));for(gt=0;4>gt;++gt)nr(Ne)&&(Ge.od[gt]=On(Ne,6))}if(c.L=Ge.Tb==0?0:Ge.zd?1:2,Ne.Ka)return Bs(c,3,"cannot parse filter header");var tn=Ie;if(Ie=$e=Ae,Ae=$e+tn,Ge=tn,c.Xb=(1<Ge&&(Ln=Ge),Gn(c.Jc[+tn],z,$e,Ln),$e+=Ln,Ge-=Ln,Ie+=3}Gn(c.Jc[+gt],z,$e,Ge),z=$eLn;++Ln){if(tn.Cb){var pt=tn.Zb[Ln];tn.Fb||(pt+=z)}else{if(0>16,8>ln.Eb[1]&&(ln.Eb[1]=8),ln.Qc[0]=gp[nu(pt+gt,117)],ln.Qc[1]=pp[nu(pt+$e,127)],ln.lc=pt+$e}if(!Te.Rb)return Bs(c,4,"Not a key frame.");for(nr(Ne),Te=c.Pa,z=0;4>z;++z){for(Ie=0;8>Ie;++Ie)for(Ae=0;3>Ae;++Ae)for(Ge=0;11>Ge;++Ge)gt=Cr(Ne,um[z][Ie][Ae][Ge])?er(Ne,8):lm[z][Ie][Ae][Ge],Te.Wc[z][Ie].Yb[Ae][Ge]=gt;for(Ie=0;17>Ie;++Ie)Te.Xc[z][Ie]=Te.Wc[z][dm[Ie]]}return c.kc=nr(Ne),c.kc&&(c.Bd=er(Ne,8)),c.cb=1}function Gf(c,v,z,Ae,Ie,Ne,Te){var Ge=v[Ie].Yb[z];for(z=0;16>Ie;++Ie){if(!Cr(c,Ge[z+0]))return Ie;for(;!Cr(c,Ge[z+1]);)if(Ge=v[++Ie].Yb[0],z=0,Ie==16)return 16;var $e=v[Ie+1].Yb;if(Cr(c,Ge[z+2])){var gt=c,tn=0;if(Cr(gt,(pt=Ge)[(Ln=z)+3]))if(Cr(gt,pt[Ln+6])){for(Ge=0,Ln=2*(tn=Cr(gt,pt[Ln+8]))+(pt=Cr(gt,pt[Ln+9+tn])),tn=0,pt=im[Ln];pt[Ge];++Ge)tn+=tn+Cr(gt,pt[Ge]);tn+=3+(8<(gt=c).b&&Yn(gt);var Ln,pt=gt.b,ln=(Ln=gt.Ca>>1)-(gt.I>>pt)>>31;--gt.b,gt.Ca+=ln,gt.Ca|=1,gt.I-=(Ln+1&ln)<>3),c[v+z+32*Ae]=-256&Ie?0>Ie?0:255:Ie}function Is(c,v,z,Ae,Ie,Ne){nc(c,v,0,z,Ae+Ie),nc(c,v,1,z,Ae+Ne),nc(c,v,2,z,Ae-Ne),nc(c,v,3,z,Ae-Ie)}function Su(c){return(20091*c>>16)+c}function $g(c,v,z,Ae){var Ie,Ne=0,Te=l(16);for(Ie=0;4>Ie;++Ie){var Ge=c[v+0]+c[v+8],$e=c[v+0]-c[v+8],gt=(35468*c[v+4]>>16)-Su(c[v+12]),tn=Su(c[v+4])+(35468*c[v+12]>>16);Te[Ne+0]=Ge+tn,Te[Ne+1]=$e+gt,Te[Ne+2]=$e-gt,Te[Ne+3]=Ge-tn,Ne+=4,v++}for(Ie=Ne=0;4>Ie;++Ie)Ge=(c=Te[Ne+0]+4)+Te[Ne+8],$e=c-Te[Ne+8],gt=(35468*Te[Ne+4]>>16)-Su(Te[Ne+12]),nc(z,Ae,0,0,Ge+(tn=Su(Te[Ne+4])+(35468*Te[Ne+12]>>16))),nc(z,Ae,1,0,$e+gt),nc(z,Ae,2,0,$e-gt),nc(z,Ae,3,0,Ge-tn),Ne++,Ae+=32}function Y0(c,v,z,Ae){var Ie=c[v+0]+4,Ne=35468*c[v+4]>>16,Te=Su(c[v+4]),Ge=35468*c[v+1]>>16;Is(z,Ae,0,Ie+Te,c=Su(c[v+1]),Ge),Is(z,Ae,1,Ie+Ne,c,Ge),Is(z,Ae,2,Ie-Ne,c,Ge),Is(z,Ae,3,Ie-Te,c,Ge)}function q0(c,v,z,Ae,Ie){$g(c,v,z,Ae),Ie&&$g(c,v+16,z,Ae+4)}function Au(c,v,z,Ae){mf(c,v+0,z,Ae,1),mf(c,v+32,z,Ae+128,1)}function e0(c,v,z,Ae){var Ie;for(c=c[v+0]+4,Ie=0;4>Ie;++Ie)for(v=0;4>v;++v)nc(z,Ae,v,Ie,c)}function t0(c,v,z,Ae){c[v+0]&&ai(c,v+0,z,Ae),c[v+16]&&ai(c,v+16,z,Ae+4),c[v+32]&&ai(c,v+32,z,Ae+128),c[v+48]&&ai(c,v+48,z,Ae+128+4)}function Jf(c,v,z,Ae){var Ie,Ne=l(16);for(Ie=0;4>Ie;++Ie){var Te=c[v+0+Ie]+c[v+12+Ie],Ge=c[v+4+Ie]+c[v+8+Ie],$e=c[v+4+Ie]-c[v+8+Ie],gt=c[v+0+Ie]-c[v+12+Ie];Ne[0+Ie]=Te+Ge,Ne[8+Ie]=Te-Ge,Ne[4+Ie]=gt+$e,Ne[12+Ie]=gt-$e}for(Ie=0;4>Ie;++Ie)Te=(c=Ne[0+4*Ie]+3)+Ne[3+4*Ie],Ge=Ne[1+4*Ie]+Ne[2+4*Ie],$e=Ne[1+4*Ie]-Ne[2+4*Ie],gt=c-Ne[3+4*Ie],z[Ae+0]=Te+Ge>>3,z[Ae+16]=gt+$e>>3,z[Ae+32]=Te-Ge>>3,z[Ae+48]=gt-$e>>3,Ae+=64}function of(c,v,z){var Ae,Ie=v-32,Ne=Hl,Te=255-c[Ie-1];for(Ae=0;Aez;++z)r(c,v+32*z,c,v-32,16)}function n0(c,v){var z;for(z=16;0Ae;++Ae)a(v,z+32*Ae,c,16)}function tp(c,v){var z,Ae=16;for(z=0;16>z;++z)Ae+=c[v-1+32*z]+c[v+z-32];Qc(Ae>>5,c,v)}function af(c,v){var z,Ae=8;for(z=0;16>z;++z)Ae+=c[v-1+32*z];Qc(Ae>>4,c,v)}function Zh(c,v){var z,Ae=8;for(z=0;16>z;++z)Ae+=c[v+z-32];Qc(Ae>>4,c,v)}function np(c,v){Qc(128,c,v)}function Jo(c,v,z){return c+2*v+z+2>>2}function rp(c,v){var z,Ae=v-32;for(Ae=new Uint8Array([Jo(c[Ae-1],c[Ae+0],c[Ae+1]),Jo(c[Ae+0],c[Ae+1],c[Ae+2]),Jo(c[Ae+1],c[Ae+2],c[Ae+3]),Jo(c[Ae+2],c[Ae+3],c[Ae+4])]),z=0;4>z;++z)r(c,v+32*z,Ae,0,Ae.length)}function Ap(c,v){var z=c[v-1],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];Vr(c,v+0,16843009*Jo(c[v-1-32],z,Ae)),Vr(c,v+32,16843009*Jo(z,Ae,Ie)),Vr(c,v+64,16843009*Jo(Ae,Ie,Ne)),Vr(c,v+96,16843009*Jo(Ie,Ne,Ne))}function op(c,v){var z,Ae=4;for(z=0;4>z;++z)Ae+=c[v+z-32]+c[v-1+32*z];for(Ae>>=3,z=0;4>z;++z)a(c,v+32*z,Ae,4)}function Fu(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+96]=Jo(Ae,Ie,c[v-1+96]),c[v+1+96]=c[v+0+64]=Jo(z,Ae,Ie),c[v+2+96]=c[v+1+64]=c[v+0+32]=Jo(Ne,z,Ae),c[v+3+96]=c[v+2+64]=c[v+1+32]=c[v+0+0]=Jo(Te,Ne,z),c[v+3+64]=c[v+2+32]=c[v+1+0]=Jo(Ge,Te,Ne),c[v+3+32]=c[v+2+0]=Jo($e,Ge,Te),c[v+3+0]=Jo(gt,$e,Ge)}function Qu(c,v){var z=c[v+1-32],Ae=c[v+2-32],Ie=c[v+3-32],Ne=c[v+4-32],Te=c[v+5-32],Ge=c[v+6-32],$e=c[v+7-32];c[v+0+0]=Jo(c[v+0-32],z,Ae),c[v+1+0]=c[v+0+32]=Jo(z,Ae,Ie),c[v+2+0]=c[v+1+32]=c[v+0+64]=Jo(Ae,Ie,Ne),c[v+3+0]=c[v+2+32]=c[v+1+64]=c[v+0+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+64]=c[v+1+96]=Jo(Ne,Te,Ge),c[v+3+64]=c[v+2+96]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,$e)}function ap(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1-32],Te=c[v+0-32],Ge=c[v+1-32],$e=c[v+2-32],gt=c[v+3-32];c[v+0+0]=c[v+1+64]=Ne+Te+1>>1,c[v+1+0]=c[v+2+64]=Te+Ge+1>>1,c[v+2+0]=c[v+3+64]=Ge+$e+1>>1,c[v+3+0]=$e+gt+1>>1,c[v+0+96]=Jo(Ie,Ae,z),c[v+0+64]=Jo(Ae,z,Ne),c[v+0+32]=c[v+1+96]=Jo(z,Ne,Te),c[v+1+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+2+32]=c[v+3+96]=Jo(Te,Ge,$e),c[v+3+32]=Jo(Ge,$e,gt)}function ip(c,v){var z=c[v+0-32],Ae=c[v+1-32],Ie=c[v+2-32],Ne=c[v+3-32],Te=c[v+4-32],Ge=c[v+5-32],$e=c[v+6-32],gt=c[v+7-32];c[v+0+0]=z+Ae+1>>1,c[v+1+0]=c[v+0+64]=Ae+Ie+1>>1,c[v+2+0]=c[v+1+64]=Ie+Ne+1>>1,c[v+3+0]=c[v+2+64]=Ne+Te+1>>1,c[v+0+32]=Jo(z,Ae,Ie),c[v+1+32]=c[v+0+96]=Jo(Ae,Ie,Ne),c[v+2+32]=c[v+1+96]=Jo(Ie,Ne,Te),c[v+3+32]=c[v+2+96]=Jo(Ne,Te,Ge),c[v+3+64]=Jo(Te,Ge,$e),c[v+3+96]=Jo(Ge,$e,gt)}function Yf(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96];c[v+0+0]=z+Ae+1>>1,c[v+2+0]=c[v+0+32]=Ae+Ie+1>>1,c[v+2+32]=c[v+0+64]=Ie+Ne+1>>1,c[v+1+0]=Jo(z,Ae,Ie),c[v+3+0]=c[v+1+32]=Jo(Ae,Ie,Ne),c[v+3+32]=c[v+1+64]=Jo(Ie,Ne,Ne),c[v+3+64]=c[v+2+64]=c[v+0+96]=c[v+1+96]=c[v+2+96]=c[v+3+96]=Ne}function Wh(c,v){var z=c[v-1+0],Ae=c[v-1+32],Ie=c[v-1+64],Ne=c[v-1+96],Te=c[v-1-32],Ge=c[v+0-32],$e=c[v+1-32],gt=c[v+2-32];c[v+0+0]=c[v+2+32]=z+Te+1>>1,c[v+0+32]=c[v+2+64]=Ae+z+1>>1,c[v+0+64]=c[v+2+96]=Ie+Ae+1>>1,c[v+0+96]=Ne+Ie+1>>1,c[v+3+0]=Jo(Ge,$e,gt),c[v+2+0]=Jo(Te,Ge,$e),c[v+1+0]=c[v+3+32]=Jo(z,Te,Ge),c[v+1+32]=c[v+3+64]=Jo(Ae,z,Te),c[v+1+64]=c[v+3+96]=Jo(Ie,Ae,z),c[v+1+96]=Jo(Ne,Ie,Ae)}function sf(c,v){var z;for(z=0;8>z;++z)r(c,v+32*z,c,v-32,8)}function sp(c,v){var z;for(z=0;8>z;++z)a(c,v,c[v-1],8),v+=32}function Pu(c,v,z){var Ae;for(Ae=0;8>Ae;++Ae)a(v,z+32*Ae,c,8)}function lp(c,v){var z,Ae=8;for(z=0;8>z;++z)Ae+=c[v+z-32]+c[v-1+32*z];Pu(Ae>>4,c,v)}function Xh(c,v){var z,Ae=4;for(z=0;8>z;++z)Ae+=c[v+z-32];Pu(Ae>>3,c,v)}function Vh(c,v){var z,Ae=4;for(z=0;8>z;++z)Ae+=c[v-1+32*z];Pu(Ae>>3,c,v)}function r0(c,v){Pu(128,c,v)}function Ou(c,v,z){var Ae=c[v-z],Ie=c[v+0],Ne=3*(Ie-Ae)+cp[1020+c[v-2*z]-c[v+z]],Te=u0[112+(Ne+4>>3)];c[v-z]=Hl[255+Ae+u0[112+(Ne+3>>3)]],c[v+0]=Hl[255+Ie-Te]}function Gh(c,v,z,Ae){var Ie=c[v+0],Ne=c[v+z];return oc[255+c[v-2*z]-c[v-z]]>Ae||oc[255+Ne-Ie]>Ae}function qf(c,v,z,Ae){return 4*oc[255+c[v-z]-c[v+0]]+oc[255+c[v-2*z]-c[v+z]]<=Ae}function Jh(c,v,z,Ae,Ie){var Ne=c[v-3*z],Te=c[v-2*z],Ge=c[v-z],$e=c[v+0],gt=c[v+z],tn=c[v+2*z],Ln=c[v+3*z];return 4*oc[255+Ge-$e]+oc[255+Te-gt]>Ae?0:oc[255+c[v-4*z]-Ne]<=Ie&&oc[255+Ne-Te]<=Ie&&oc[255+Te-Ge]<=Ie&&oc[255+Ln-tn]<=Ie&&oc[255+tn-gt]<=Ie&&oc[255+gt-$e]<=Ie}function lf(c,v,z,Ae){var Ie=2*Ae+1;for(Ae=0;16>Ae;++Ae)qf(c,v+Ae,z,Ie)&&Ou(c,v+Ae,z)}function Yh(c,v,z,Ae){var Ie=2*Ae+1;for(Ae=0;16>Ae;++Ae)qf(c,v+Ae*z,1,Ie)&&Ou(c,v+Ae*z,1)}function A0(c,v,z,Ae){var Ie;for(Ie=3;0>7,fr=18*mr+63>>7,mr=9*mr+63>>7;$e[gt-3*tn]=Hl[255+$e[gt-3*tn]+mr],$e[gt-2*tn]=Hl[255+Ln+fr],$e[gt-tn]=Hl[255+pt+Qn],$e[gt+0]=Hl[255+ln-Qn],$e[gt+tn]=Hl[255+yn-fr],$e[gt+2*tn]=Hl[255+ur-mr]}v+=Ae}}function Lu(c,v,z,Ae,Ie,Ne,Te,Ge){for(Ne=2*Ne+1;0>3)],ur=u0[112+(ur+3>>3)],Qn=yn+1>>1;$e[gt-2*tn]=Hl[255+$e[gt-2*tn]+Qn],$e[gt-tn]=Hl[255+Ln+ur],$e[gt+0]=Hl[255+pt-yn],$e[gt+tn]=Hl[255+ln-Qn]}v+=Ae}}function a0(c,v,z,Ae,Ie,Ne){Uu(c,v,z,1,16,Ae,Ie,Ne)}function cf(c,v,z,Ae,Ie,Ne){Uu(c,v,1,z,16,Ae,Ie,Ne)}function i0(c,v,z,Ae,Ie,Ne){var Te;for(Te=3;0gt?0:255:gt)&255,gt=$e,Ie[Ne+Ge]=tn}}function xi(c,v,z,Ae){var Ie=v.width,Ne=v.o;if(n(c!=null&&v!=null),0>z||0>=Ae||z+Ae>Ne)return null;if(!c.Cc){if(c.ga==null){var Te;if(c.ga=new sa,(Te=c.ga==null)||(Te=v.width*v.o,n(c.Gb.length==0),c.Gb=l(Te),c.Uc=0,c.Gb==null?Te=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,Te=1),Te=!Te),!Te){Te=c.ga;var Ge=c.Fa,$e=c.P,gt=c.qc,tn=c.mb,Ln=c.nb,pt=$e+1,ln=gt-1,yn=Te.l;if(n(Ge!=null&&tn!=null&&v!=null),bd[0]=null,bd[1]=za,bd[2]=Xi,bd[3]=Cs,Te.ca=tn,Te.tb=Ln,Te.c=v.width,Te.i=v.height,n(0=gt)v=0;else if(Te.$a=3&Ge[$e+0],Te.Z=Ge[$e+0]>>2&3,Te.Lc=Ge[$e+0]>>4&3,$e=Ge[$e+0]>>6&3,0>Te.$a||1=Te.c*Te.i;Te=!v}if(Te)return null;c.ga.Lc!=1?c.Ga=0:Ae=Ne-z}n(c.ga!=null),n(z+Ae<=Ne);e:{if(v=(Ge=c.ga).c,Ne=Ge.l.o,Ge.$a==0){if(pt=c.rc,ln=c.Vc,yn=c.Fa,$e=c.P+1+z*v,gt=c.mb,tn=c.nb+z*v,n($e<=c.P+c.qc),Ge.Z!=0)for(n(bd[Ge.Z]!=null),Te=0;Te=v)v=1;else if(Ge.ic||Pc(),Ge.ic){Ge=Te.V,pt=Te.Ba,ln=Te.c;var ur=Te.i,Qn=(yn=1,$e=Te.$/ln,gt=Te.$%ln,tn=Te.m,Ln=Te.s,Te.$),fr=ln*ur,mr=ln*v,Zr=Ln.wc,Ur=Qn(ur=rs(Ur.G[0],Ur.H[0],tn)))Ge[pt+Qn]=ur,++Qn,++gt>=ln&&(gt=0,++$e<=v&&!($e%16)&&Sc(Te,$e));else{if(!(280>ur)){yn=0;break t}ur=_l(ur-256,tn);var lo,XA=rs(Ur.G[4],Ur.H[4],tn);if(In(tn),!(Qn>=(XA=$l(ln,XA=_l(XA,tn)))&&fr-Qn>=ur)){yn=0;break t}for(lo=0;lo=ln;)gt-=ln,++$e<=v&&!($e%16)&&Sc(Te,$e);Qnv?v:$e);break t}!yn||tn.h&&Qn=Ne&&(c.Cc=1),Ae=1}if(!Ae)return null;if(c.Cc&&((Ae=c.ga)!=null&&(Ae.mc=null),c.ga=null,0>23,Ge[$e+4*Te+1]=Ge[$e+4*Te+1]*Ln>>23,Ge[$e+4*Te+2]=Ge[$e+4*Te+2]*Ln>>23)}v+=Ne}}function ws(c,v,z,Ae,Ie){for(;0>4)*$e>>16;c[v+2*Ne+0]=(240&Te|Te>>4)*$e>>16&240|(15&Te|Te<<4)*$e>>16>>4&15,c[v+2*Ne+1]=240>|Ge}v+=Ie}}function Ws(c,v,z,Ae,Ie,Ne,Te,Ge){var $e,gt,tn=255;for(gt=0;gt>8}function Pc(){sg=Ss,tv=ws,nv=Ws,rv=Ru}function Nu(c,v,z){Ft[c]=function(Ae,Ie,Ne,Te,Ge,$e,gt,tn,Ln,pt,ln,yn,ur,Qn,fr,mr,Zr){var Ur,lo=Zr-1>>1,XA=Ge[$e+0]|gt[tn+0]<<16,da=Ln[pt+0]|ln[yn+0]<<16;n(Ae!=null);var no=3*XA+da+131074>>2;for(v(Ae[Ie+0],255&no,no>>16,ur,Qn),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+0],255&no,no>>16,fr,mr)),Ur=1;Ur<=lo;++Ur){var Ta=Ge[$e+Ur]|gt[tn+Ur]<<16,Qs=Ln[pt+Ur]|ln[yn+Ur]<<16,fa=XA+Ta+da+Qs+524296,ro=fa+2*(Ta+da)>>3;no=ro+XA>>1,XA=(fa=fa+2*(XA+Qs)>>3)+Ta>>1,v(Ae[Ie+2*Ur-1],255&no,no>>16,ur,Qn+(2*Ur-1)*z),v(Ae[Ie+2*Ur-0],255&XA,XA>>16,ur,Qn+(2*Ur-0)*z),Ne!=null&&(no=fa+da>>1,XA=ro+Qs>>1,v(Ne[Te+2*Ur-1],255&no,no>>16,fr,mr+(2*Ur-1)*z),v(Ne[Te+2*Ur+0],255&XA,XA>>16,fr,mr+(2*Ur+0)*z)),XA=Ta,da=Qs}1&Zr||(no=3*XA+da+131074>>2,v(Ae[Ie+Zr-1],255&no,no>>16,ur,Qn+(Zr-1)*z),Ne!=null&&(no=3*da+XA+131074>>2,v(Ne[Te+Zr-1],255&no,no>>16,fr,mr+(Zr-1)*z)))}}function qh(){ac[d0]=hm,ac[f0]=hv,ac[lv]=gm,ac[h0]=gv,ac[g0]=pv,ac[up]=vv,ac[cv]=pm,ac[dp]=hv,ac[fp]=gv,ac[p0]=pv,ac[hp]=vv}function _f(c){return c&~vm?0>c?0:255:c>>mv}function fd(c,v){return _f((19077*c>>8)+(26149*v>>8)-14234)}function uf(c,v,z){return _f((19077*c>>8)-(6419*v>>8)-(13320*z>>8)+8708)}function df(c,v){return _f((19077*c>>8)+(33050*v>>8)-17685)}function hd(c,v,z,Ae,Ie){Ae[Ie+0]=fd(c,z),Ae[Ie+1]=uf(c,v,z),Ae[Ie+2]=df(c,v)}function Xs(c,v,z,Ae,Ie){Ae[Ie+0]=df(c,v),Ae[Ie+1]=uf(c,v,z),Ae[Ie+2]=fd(c,z)}function ff(c,v,z,Ae,Ie){var Ne=uf(c,v,z);v=Ne<<3&224|df(c,v)>>3,Ae[Ie+0]=248&fd(c,z)|Ne>>5,Ae[Ie+1]=v}function hf(c,v,z,Ae,Ie){var Ne=240&df(c,v)|15;Ae[Ie+0]=240&fd(c,z)|uf(c,v,z)>>4,Ae[Ie+1]=Ne}function _h(c,v,z,Ae,Ie){Ae[Ie+0]=255,hd(c,v,z,Ae,Ie+1)}function $h(c,v,z,Ae,Ie){Xs(c,v,z,Ae,Ie),Ae[Ie+3]=255}function hl(c,v,z,Ae,Ie){hd(c,v,z,Ae,Ie),Ae[Ie+3]=255}function Du(c,v,z){Ft[c]=function(Ae,Ie,Ne,Te,Ge,$e,gt,tn,Ln){for(var pt=tn+(-2&Ln)*z;tn!=pt;)v(Ae[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn),v(Ae[Ie+1],Ne[Te+0],Ge[$e+0],gt,tn+z),Ie+=2,++Te,++$e,tn+=2*z;1&Ln&&v(Ae[Ie+0],Ne[Te+0],Ge[$e+0],gt,tn)}}function $f(c,v,z){return z==0?c==0?v==0?6:5:v==0?4:0:z}function s0(c,v,z,Ae,Ie){switch(c>>>30){case 3:mf(v,z,Ae,Ie,0);break;case 2:Ac(v,z,Ae,Ie);break;case 1:ai(v,z,Ae,Ie)}}function rc(c,v){var z,Ae,Ie=v.M,Ne=v.Nb,Te=c.oc,Ge=c.pc+40,$e=c.oc,gt=c.pc+584,tn=c.oc,Ln=c.pc+600;for(z=0;16>z;++z)Te[Ge+32*z-1]=129;for(z=0;8>z;++z)$e[gt+32*z-1]=129,tn[Ln+32*z-1]=129;for(0z;++z)r(Te,Ge+32*z-4,Te,Ge+32*z+12,4);for(z=-1;8>z;++z)r($e,gt+32*z-4,$e,gt+32*z+4,4),r(tn,Ln+32*z-4,tn,Ln+32*z+4,4)}var ln=c.Gd,yn=c.Hd+Ae,ur=pt.ad,Qn=pt.Hc;if(0=c.za-1?a(fr,mr,ln[yn].y[15],4):r(fr,mr,ln[yn+1].y,0,4)),z=0;4>z;z++)fr[mr+128+z]=fr[mr+256+z]=fr[mr+384+z]=fr[mr+0+z];for(z=0;16>z;++z,Qn<<=2)fr=Te,mr=Ge+Cv[z],Oc[pt.Ob[z]](fr,mr),s0(Qn,ur,16*+z,fr,mr)}else if(fr=$f(Ae,Ie,pt.Ob[0]),yd[fr](Te,Ge),Qn!=0)for(z=0;16>z;++z,Qn<<=2)s0(Qn,ur,16*+z,Te,Ge+Cv[z]);for(z=pt.Gc,fr=$f(Ae,Ie,pt.Dd),Hu[fr]($e,gt),Hu[fr](tn,Ln),Qn=ur,fr=$e,mr=gt,255&(pt=0|z)&&(170&pt?iu(Qn,256,fr,mr):mi(Qn,256,fr,mr)),pt=tn,Qn=Ln,255&(z>>=8)&&(170&z?iu(ur,320,pt,Qn):mi(ur,320,pt,Qn)),Iez;++z)r(ln,yn+z*c.R,Te,Ge+32*z,16);for(z=0;8>z;++z)r(ur,pt+z*c.B,$e,gt+32*z,8),r(Qn,fr+z*c.B,tn,Ln+32*z,8)}}function gf(c,v,z,Ae,Ie,Ne,Te,Ge,$e){var gt=[0],tn=[0],Ln=0,pt=$e!=null?$e.kd:0,ln=$e!=null?$e:new Or;if(c==null||12>z)return 7;ln.data=c,ln.w=v,ln.ha=z,v=[v],z=[z],ln.gb=[ln.gb];e:{var yn=v,ur=z,Qn=ln.gb;if(n(c!=null),n(ur!=null),n(Qn!=null),Qn[0]=0,12<=ur[0]&&!t(c,yn[0],"RIFF")){if(t(c,yn[0]+8,"WEBP")){Qn=3;break e}var fr=go(c,yn[0]+4);if(12>fr||4294967286ur[0]-8){Qn=7;break e}Qn[0]=fr,yn[0]+=12,ur[0]-=12}Qn=0}if(Qn!=0)return Qn;for(fr=0Qn[0])Qn=7;else{if(!t(mr,ur[0],"VP8X")){if(go(mr,ur[0]+4)!=10){Qn=3;break e}if(18>Qn[0]){Qn=7;break e}var XA=go(mr,ur[0]+8),da=1+SA(mr,ur[0]+12);if(2147483648<=da*(mr=1+SA(mr,ur[0]+15))){Qn=3;break e}lo!=null&&(lo[0]=XA),Zr!=null&&(Zr[0]=da),Ur!=null&&(Ur[0]=mr),ur[0]+=18,Qn[0]-=18,no[0]=1}Qn=0}}if(Ln=Ln[0],yn=yn[0],Qn!=0)return Qn;if(ur=!!(2&yn),!fr&&Ln)return 3;if(Ne!=null&&(Ne[0]=!!(16&yn)),Te!=null&&(Te[0]=ur),Ge!=null&&(Ge[0]=0),Te=gt[0],yn=tn[0],Ln&&ur&&$e==null){Qn=0;break}if(4>z){Qn=7;break}if(fr&&Ln||!fr&&!Ln&&!t(c,v[0],"ALPH")){z=[z],ln.na=[ln.na],ln.P=[ln.P],ln.Sa=[ln.Sa];e:{XA=c,Qn=v,fr=z;var no=ln.gb;Zr=ln.na,Ur=ln.P,lo=ln.Sa,da=22,n(XA!=null),n(fr!=null),mr=Qn[0];var Ta=fr[0];for(n(Zr!=null),n(lo!=null),Zr[0]=null,Ur[0]=null,lo[0]=0;;){if(Qn[0]=mr,fr[0]=Ta,8>Ta){Qn=7;break e}var Qs=go(XA,mr+4);if(4294967286no){Qn=3;break e}if(!t(XA,mr,"VP8 ")||!t(XA,mr,"VP8L")){Qn=0;break e}if(Ta[0]fr[0])Qn=7;else{if(mr||da){if(no=go(no,XA+4),12<=Zr&&no>Zr-12){Qn=3;break e}if(pt&&no>fr[0]-8){Qn=7;break e}Ur[0]=no,Qn[0]+=8,fr[0]-=8,lo[0]=da}else lo[0]=5<=fr[0]&&no[XA+0]==47&&!(no[XA+4]>>5),Ur[0]=fr[0];Qn=0}if(z=z[0],ln.Ja=ln.Ja[0],ln.xa=ln.xa[0],v=v[0],Qn!=0)break;if(4294967286z){Qn=7;break}Ge=Te,pt=yn,ur=Ne,c==null||5>z?c=0:5<=z&&c[v+0]==47&&!(c[v+4]>>5)?(fr=[0],no=[0],Zr=[0],or(Ur=new bt,c,v,z),Iu(Ur,fr,no,Zr)?(Ge!=null&&(Ge[0]=fr[0]),pt!=null&&(pt[0]=no[0]),ur!=null&&(ur[0]=Zr[0]),c=1):c=0):c=0}else{if(10>z){Qn=7;break}Ge=yn,c==null||10>z||!qg(c,v+3,z-3)?c=0:(pt=c[v+0]|c[v+1]<<8|c[v+2]<<16,ur=16383&(c[v+7]<<8|c[v+6]),c=16383&(c[v+9]<<8|c[v+8]),1&pt||3<(pt>>1&7)||!(pt>>4&1)||pt>>5>=ln.Ja||!ur||!c?c=0:(Te&&(Te[0]=ur),Ge&&(Ge[0]=c),c=1))}if(!c||(Te=Te[0],yn=yn[0],Ln&&(gt[0]!=Te||tn[0]!=yn)))return 3;$e!=null&&($e[0]=ln,$e.offset=v-$e.w,n(4294967286>v-$e.w),n($e.offset==$e.ha-z));break}return Qn==0||Qn==7&&Ln&&$e==null?(Ne!=null&&(Ne[0]|=ln.na!=null&&0z||(Ne&=-2,Te&=-2),0>Ne||0>Te||0>=Ge||0>=$e||Ne+Ge>Ae||Te+$e>Ie))return 0;if(v.v=Ne,v.j=Te,v.va=Ne+Ge,v.o=Te+$e,v.U=Ge,v.T=$e,v.da=c!=null&&0c.S){var v=c.f.RGBA;v.fb+=(c.height-1)*v.A,v.A=-v.A}else v=c.f.kb,c=c.height,v.O+=(c-1)*v.fa,v.fa=-v.fa,v.N+=(c-1>>1)*v.Ab,v.Ab=-v.Ab,v.W+=(c-1>>1)*v.Db,v.Db=-v.Db,v.F!=null&&(v.J+=(c-1)*v.lb,v.lb=-v.lb);return 0}function gd(c,v,z,Ae){if(Ae==null||0>=c||0>=v)return 2;if(z!=null){if(z.Da){var Ie=z.cd,Ne=z.bd,Te=-2&z.v,Ge=-2&z.j;if(0>Te||0>Ge||0>=Ie||0>=Ne||Te+Ie>c||Ge+Ne>v)return 2;c=Ie,v=Ne}if(z.da){if(!Qo(c,v,Ie=[z.ib],Ne=[z.hb]))return 2;c=Ie[0],v=Ne[0]}}Ae.width=c,Ae.height=v;e:{var $e=Ae.width,gt=Ae.height;if(c=Ae.S,0>=$e||0>=gt||!(c>=d0&&13>c))c=2;else{if(0>=Ae.Rd&&Ae.sd==null){Te=Ne=Ie=v=0;var tn=(Ge=$e*wv[c])*gt;if(11>c||(Ne=(gt+1)/2*(v=($e+1)/2),c==12&&(Te=(Ie=$e)*gt)),(gt=l(tn+2*Ne+Te))==null){c=1;break e}Ae.sd=gt,11>c?(($e=Ae.f.RGBA).eb=gt,$e.fb=0,$e.A=Ge,$e.size=tn):(($e=Ae.f.kb).y=gt,$e.O=0,$e.fa=Ge,$e.Fd=tn,$e.f=gt,$e.N=0+tn,$e.Ab=v,$e.Cd=Ne,$e.ea=gt,$e.W=0+tn+Ne,$e.Db=v,$e.Ed=Ne,c==12&&($e.F=gt,$e.J=0+tn+2*Ne),$e.Tc=Te,$e.lb=Ie)}if(v=1,Ie=Ae.S,Ne=Ae.width,Te=Ae.height,Ie>=d0&&13>Ie)if(11>Ie)c=Ae.f.RGBA,v&=(Ge=Math.abs(c.A))*(Te-1)+Ne<=c.size,v&=Ge>=Ne*wv[Ie],v&=c.eb!=null;else{c=Ae.f.kb,Ge=(Ne+1)/2,tn=(Te+1)/2,$e=Math.abs(c.fa),gt=Math.abs(c.Ab);var Ln=Math.abs(c.Db),pt=Math.abs(c.lb),ln=pt*(Te-1)+Ne;v&=$e*(Te-1)+Ne<=c.Fd,v&=gt*(tn-1)+Ge<=c.Cd,v=(v&=Ln*(tn-1)+Ge<=c.Ed)&$e>=Ne>>=Ge&Ln>=Ge,v&=c.y!=null,v&=c.f!=null,v&=c.ea!=null,Ie==12&&(v&=pt>=Ne,v&=ln<=c.Tc,v&=c.F!=null)}else v=0;c=v?0:2}}return c!=0||z!=null&&z.fd&&(c=tg(Ae)),c}var pf=64,jl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Tl=24,pd=32,ju=8,vd=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];YA("Predictor0","PredictorAdd0"),Ft.Predictor0=function(){return 4278190080},Ft.Predictor1=function(c){return c},Ft.Predictor2=function(c,v,z){return v[z+0]},Ft.Predictor3=function(c,v,z){return v[z+1]},Ft.Predictor4=function(c,v,z){return v[z-1]},Ft.Predictor5=function(c,v,z){return Co(Co(c,v[z+1]),v[z+0])},Ft.Predictor6=function(c,v,z){return Co(c,v[z-1])},Ft.Predictor7=function(c,v,z){return Co(c,v[z+0])},Ft.Predictor8=function(c,v,z){return Co(v[z-1],v[z+0])},Ft.Predictor9=function(c,v,z){return Co(v[z+0],v[z+1])},Ft.Predictor10=function(c,v,z){return Co(Co(c,v[z-1]),Co(v[z+0],v[z+1]))},Ft.Predictor11=function(c,v,z){var Ae=v[z+0];return 0>=ea(Ae>>24&255,c>>24&255,(v=v[z-1])>>24&255)+ea(Ae>>16&255,c>>16&255,v>>16&255)+ea(Ae>>8&255,c>>8&255,v>>8&255)+ea(255&Ae,255&c,255&v)?Ae:c},Ft.Predictor12=function(c,v,z){var Ae=v[z+0];return(Ai((c>>24&255)+(Ae>>24&255)-((v=v[z-1])>>24&255))<<24|Ai((c>>16&255)+(Ae>>16&255)-(v>>16&255))<<16|Ai((c>>8&255)+(Ae>>8&255)-(v>>8&255))<<8|Ai((255&c)+(255&Ae)-(255&v)))>>>0},Ft.Predictor13=function(c,v,z){var Ae=v[z-1];return(La((c=Co(c,v[z+0]))>>24&255,Ae>>24&255)<<24|La(c>>16&255,Ae>>16&255)<<16|La(c>>8&255,Ae>>8&255)<<8|La(255&c,255&Ae))>>>0};var ng=Ft.PredictorAdd0;Ft.PredictorAdd1=ja,YA("Predictor2","PredictorAdd2"),YA("Predictor3","PredictorAdd3"),YA("Predictor4","PredictorAdd4"),YA("Predictor5","PredictorAdd5"),YA("Predictor6","PredictorAdd6"),YA("Predictor7","PredictorAdd7"),YA("Predictor8","PredictorAdd8"),YA("Predictor9","PredictorAdd9"),YA("Predictor10","PredictorAdd10"),YA("Predictor11","PredictorAdd11"),YA("Predictor12","PredictorAdd12"),YA("Predictor13","PredictorAdd13");var eh=Ft.PredictorAdd2;uo("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var fs,l0=Ft.ColorIndexInverseTransform,ou=Ft.MapARGB,au=Ft.VP8LColorIndexInverseTransformAlpha,rg=Ft.MapAlpha,Ag=Ft.VP8LPredictorsAdd=[];Ag.length=16,(Ft.VP8LPredictors=[]).length=16,(Ft.VP8LPredictorsAdd_C=[]).length=16,(Ft.VP8LPredictors_C=[]).length=16;var og,ag,md,Bd,Cd,vf,wd,mf,Ac,iu,ai,mi,hs,Fs,Tu,ig,th,c0,Jp,Yp,qp,_p,$p,ev,sg,tv,nv,rv,Av=l(511),ov=l(2041),av=l(225),iv=l(767),sv=0,cp=ov,u0=av,Hl=iv,oc=Av,d0=0,f0=1,lv=2,h0=3,g0=4,up=5,cv=6,dp=7,fp=8,p0=9,hp=10,em=[2,3,7],tm=[3,3,11],uv=[280,256,256,256,40],nm=[0,1,1,1,0],rm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gp=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],pp=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],lg=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sm=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],cm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],um=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],yd=[],Oc=[],Hu=[],fm=1,fv=2,bd=[],ac=[];Nu("UpsampleRgbLinePair",hd,3),Nu("UpsampleBgrLinePair",Xs,3),Nu("UpsampleRgbaLinePair",hl,4),Nu("UpsampleBgraLinePair",$h,4),Nu("UpsampleArgbLinePair",_h,4),Nu("UpsampleRgba4444LinePair",hf,2),Nu("UpsampleRgb565LinePair",ff,2);var hm=Ft.UpsampleRgbLinePair,gm=Ft.UpsampleBgrLinePair,hv=Ft.UpsampleRgbaLinePair,gv=Ft.UpsampleBgraLinePair,pv=Ft.UpsampleArgbLinePair,vv=Ft.UpsampleRgba4444LinePair,pm=Ft.UpsampleRgb565LinePair,v0=16,m0=1<Ae.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Ae.ca.f.kb.F!=null&&Pc()),Ae.Pb&&0($e=z.Md)?0:100<$e?255:255*$e/100)){for(gt=tn=0;4>gt;++gt)12>(Ln=Ie.pb[gt]).lc&&(Ln.ia=$e*Em[0>Ln.lc?0:Ln.lc]>>3),tn|=Ln.ia;tn&&(alert("todo:VP8InitRandom"),Ie.ia=1)}Ie.Ga=z.Id,100Ie.Ga&&(Ie.Ga=0)}(function(pt,ln){if(pt==null)return 0;if(ln==null)return Bs(pt,2,"NULL VP8Io parameter in VP8Decode().");if(!pt.cb&&!ru(pt,ln))return 0;if(n(pt.cb),ln.ac==null||ln.ac(ln)){ln.ob&&(pt.L=0);var yn=B0[pt.L];if(pt.L==2?(pt.yb=0,pt.zb=0):(pt.yb=ln.v-yn>>4,pt.zb=ln.j-yn>>4,0>pt.yb&&(pt.yb=0),0>pt.zb&&(pt.zb=0)),pt.Va=ln.o+15+yn>>4,pt.Hb=ln.va+15+yn>>4,pt.Hb>pt.za&&(pt.Hb=pt.za),pt.Va>pt.Ub&&(pt.Va=pt.Ub),0yn;++yn){var Qn;if(pt.Qa.Cb){var fr=pt.Qa.Lb[yn];pt.Qa.Fb||(fr+=ur.Tb)}else fr=ur.Tb;for(Qn=0;1>=Qn;++Qn){var mr=pt.gd[yn][Qn],Zr=fr;if(ur.Pc&&(Zr+=ur.vd[0],Qn&&(Zr+=ur.od[0])),0<(Zr=0>Zr?0:63>2:Ur>>1)>9-ur.wb&&(Ur=9-ur.wb),1>Ur&&(Ur=1),mr.dd=Ur,mr.tc=2*Zr+Ur,mr.ld=40<=Zr?2:15<=Zr?1:0}else mr.tc=0;mr.La=Qn}}}yn=0}else Bs(pt,6,"Frame setup failed"),yn=pt.a;if(yn=yn==0){if(yn){pt.$c=0,0pt.Vb){if(pt.Vb=0,pt.Ec=l(mr),pt.Fc=0,pt.Ec==null){yn=Bs(pt,1,"no memory during frame initialization.");break t}pt.Vb=mr}mr=pt.Ec,Zr=pt.Fc,pt.Ac=mr,pt.Bc=Zr,Zr+=ur,pt.Gd=y(lo,Jg),pt.Hd=0,pt.rb=y(XA+1,kh),pt.sb=1,pt.wa=da?y(da,tc):null,pt.Y=0,pt.D.Nb=0,pt.D.wa=pt.wa,pt.D.Y=pt.Y,0=yn;++yn)Av[255+yn]=0>yn?-yn:yn;for(yn=-1020;1020>=yn;++yn)ov[1020+yn]=-128>yn?-128:127=yn;++yn)av[112+yn]=-16>yn?-16:15=yn;++yn)iv[255+yn]=0>yn?0:255ka;++ka){var Ps,Za=gl[0+ka];for(Ps=0;4>Ps;++Ps){Za=cm[Li[Vs+Ps]][Za];for(var ui=dv[Cr(na,Za[0])];0>3;for(ui=0;256>ui;ui+=16)ka[sl+ui]=Fl}Gs=1,Uc=Vs[0]}var Bi=15&na.la,Os=15&pl.la;for(ui=0;4>ui;++ui){var Ml=1&Os;for(Fl=di=0;4>Fl;++Fl)Bi=Bi>>1|(Ml=(ps=lg(Li,Uc,ps=Ml+(1&Bi),As.Sc,Gs,ka,sl))>Gs)<<7,di=di<<2|(3>=4,Os=Os>>1|Ml<<7,Ps=(Ps<<8|di)>>>0}for(Uc=Bi,Gs=Os>>4,os=0;4>os;os+=2){for(di=0,Bi=na.la>>4+os,Os=pl.la>>4+os,ui=0;2>ui;++ui){for(Ml=1&Os,Fl=0;2>Fl;++Fl)ps=Ml+(1&Bi),Bi=Bi>>1|(Ml=0<(ps=lg(Li,Vs[2],ps,As.Qc,0,ka,sl)))<<3,di=di<<2|(3>=2,Os=Os>>1|Ml<<5}Za|=di<<4*os,Uc|=Bi<<4<=ro.zb&&ro.M<=ro.Va,ro.Aa==0)t:{if(fa.M=ro.M,fa.uc=na,rc(ro,fa),gs=1,fa=(di=ro.D).Nb,na=(Za=B0[ro.L])*ro.R,Li=Za/2*ro.B,ui=16*fa*ro.R,Fl=8*fa*ro.B,Vs=ro.sa,gl=ro.ta-na+ui,As=ro.qa,ka=ro.ra-Li+Fl,sl=ro.Ha,pl=ro.Ia-Li+Fl,Os=(Bi=di.M)==0,Ps=Bi>=ro.Va-1,ro.Aa==2&&rc(ro,di),di.uc)for(Ml=(ps=ro).D.M,n(ps.D.uc),di=ps.yb;dibA.o&&(Bi=bA.o),bA.F=null,bA.J=null,ro.Fa!=null&&0>1),bA.W+=ro.B*(Za>>1),bA.F!=null&&(bA.J+=bA.width*Za)),di>1,bA.W+=bA.v>>1,bA.F!=null&&(bA.J+=bA.v),bA.ka=di-bA.j,bA.U=bA.va-bA.v,bA.T=Bi-di,gs=bA.put(bA))}fa+1!=ro.Ic||Ps||(r(ro.sa,ro.ta-na,Vs,gl+16*ro.R,na),r(ro.qa,ro.ra-Li,As,ka+8*ro.B,Li),r(ro.Ha,ro.Ia-Li,sl,pl+8*ro.B,Li))}if(!gs)return Bs(Ta,6,"Output aborted.")}return 1}(pt,ln)),ln.bc!=null&&ln.bc(ln),yn&=1}return yn?(pt.cb=0,yn):0})(c,Ae)||(v=c.a)}}else v=c.a}v==0&&Te.Oa!=null&&Te.Oa.fd&&(v=tg(Te.ba))}Te=v}Ne=Te!=0?null:11>Ne?Ge.f.RGBA.eb:Ge.f.kb.y}else Ne=null;return Ne};var wv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function U(Ft,wn){for(var ze="",ft=0;ft<4;ft++)ze+=String.fromCharCode(Ft[wn++]);return ze}function G(Ft,wn){return Ft[wn+0]|Ft[wn+1]<<8}function be(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16)>>>0}function Le(Ft,wn){return(Ft[wn+0]|Ft[wn+1]<<8|Ft[wn+2]<<16|Ft[wn+3]<<24)>>>0}new F;var V=[0],st=[0],tt=[],ut=new F,Ze=e,Yt=function(Ft,wn){var ze={},ft=0,Jt=!1,Zt=0,Mn=0;if(ze.frames=[],!function(ke,bt){for(var Rt=0;Rt<4;Rt++)if(ke[bt+Rt]!="RIFF".charCodeAt(Rt))return!0;return!1}(Ft,wn)){for(Le(Ft,wn+=4),wn+=8;wn>1&1}Gn!="ANMF"&&(wn+=On)}return ze}}(Ze,0);Yt.response=Ze,Yt.rgbaoutput=!0,Yt.dataurl=!1;var kt=Yt.header?Yt.header:null,It=Yt.frames?Yt.frames:null;if(kt){kt.loop_counter=kt.loop_count,V=[kt.canvas_height],st=[kt.canvas_width];for(var Rn=0;Rn=2?ht[1]:QA[0],QA[2]=ht.length>=3?ht[2]:QA[0],QA[3]=ht.length>=4?ht[3]:QA[1]),U.margin=QA}});var Yn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Yn},set:function(ht){Yn=ht}});var nr=0;Object.defineProperty(this,"lastBreak",{get:function(){return nr},set:function(ht){nr=ht}});var Cr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Cr},set:function(ht){Cr=ht}}),Object.defineProperty(this,"ctx",{get:function(){return U},set:function(ht){ht instanceof G&&(U=ht)}}),Object.defineProperty(this,"path",{get:function(){return U.path},set:function(ht){U.path=ht}});var Vr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Vr},set:function(ht){Vr=ht}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(ht){var QA;QA=Le(ht),this.ctx.fillStyle=QA.style,this.ctx.isFillTransparent=QA.a===0,this.ctx.fillOpacity=QA.a,this.pdf.setFillColor(QA.r,QA.g,QA.b,{a:QA.a}),this.pdf.setTextColor(QA.r,QA.g,QA.b,{a:QA.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(ht){var QA=Le(ht);this.ctx.strokeStyle=QA.style,this.ctx.isStrokeTransparent=QA.a===0,this.ctx.strokeOpacity=QA.a,QA.a===0?this.pdf.setDrawColor(255,255,255):(QA.a,this.pdf.setDrawColor(QA.r,QA.g,QA.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(ht){["butt","round","square"].indexOf(ht)!==-1&&(this.ctx.lineCap=ht,this.pdf.setLineCap(ht))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(ht){isNaN(ht)||(this.ctx.lineWidth=ht,this.pdf.setLineWidth(ht))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(ht){["bevel","round","miter"].indexOf(ht)!==-1&&(this.ctx.lineJoin=ht,this.pdf.setLineJoin(ht))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(ht){isNaN(ht)||(this.ctx.miterLimit=ht,this.pdf.setMiterLimit(ht))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(ht){this.ctx.textBaseline=ht}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(ht){["right","end","center","left","start"].indexOf(ht)!==-1&&(this.ctx.textAlign=ht)}});var FA=null,SA=null,go=null;Object.defineProperty(this,"fontFaces",{get:function(){return go},set:function(ht){FA=null,SA=null,go=ht}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(ht){var QA;if(this.ctx.font=ht,(QA=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(ht))!==null){var va=QA[1];QA[2];var Qo=QA[3],kr=QA[4];QA[5];var Po=QA[6],YA=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(kr)[2];kr=Math.floor(YA==="px"?parseFloat(kr)*this.pdf.internal.scaleFactor:YA==="em"?parseFloat(kr)*this.pdf.getFontSize():parseFloat(kr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(kr);var xo=function(uo){var ds,Ka,Ca=[],wa=uo.trim();if(wa==="")return W0;if(wa in Jc)return[Jc[wa]];for(;wa!=="";){switch(Ka=null,ds=(wa=Yc(wa)).charAt(0)){case'"':case"'":Ka=bc(wa.substring(1),ds);break;default:Ka=cd(wa)}if(Ka===null||(Ca.push(Ka[0]),(wa=Yc(Ka[1]))!==""&&wa.charAt(0)!==","))return W0;wa=wa.replace(/^,/,"")}return Ca}(Po);if(this.fontFaces){var Co=function(uo,ds){var Ka=uo.getFontList(),Ca=JSON.stringify(Ka);if(FA===null||SA!==Ca){var wa=function(Hi){var yo=[];return Object.keys(Hi).forEach(function(Ei){Hi[Ei].forEach(function(To){var ta=null;switch(To){case"bold":ta={family:Ei,weight:"bold"};break;case"italic":ta={family:Ei,style:"italic"};break;case"bolditalic":ta={family:Ei,weight:"bold",style:"italic"};break;case"":case"normal":ta={family:Ei}}ta!==null&&(ta.ref={name:Ei,style:To},yo.push(ta))})}),yo}(Ka);FA=function(Hi){for(var yo={},Ei=0;Ei=700||va==="bold")&&(ea="bold"),va==="italic"&&(ea+="italic"),ea.length===0&&(ea="normal");for(var ja="",Ra={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ao=0;ao=2*Math.PI&&(qt=0,un=2*Math.PI),this.path.push({type:"arc",x:ke,y:bt,radius:Rt,startAngle:qt,endAngle:un,counterclockwise:In})},be.prototype.arcTo=function(ke,bt,Rt,qt,un){throw new Error("arcTo not implemented.")},be.prototype.rect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke+Rt,bt+qt),this.lineTo(ke,bt+qt),this.lineTo(ke,bt),this.lineTo(ke+Rt,bt),this.lineTo(ke,bt)},be.prototype.fillRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!V.call(this)){var un={};this.lineCap!=="butt"&&(un.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(un.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(ke,bt,Rt,qt),this.fill(),un.hasOwnProperty("lineCap")&&(this.lineCap=un.lineCap),un.hasOwnProperty("lineJoin")&&(this.lineJoin=un.lineJoin)}},be.prototype.strokeRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");st.call(this)||(this.beginPath(),this.rect(ke,bt,Rt,qt),this.stroke())},be.prototype.clearRect=function(ke,bt,Rt,qt){if(isNaN(ke)||isNaN(bt)||isNaN(Rt)||isNaN(qt))throw ci.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(ke,bt,Rt,qt))},be.prototype.save=function(ke){ke=typeof ke!="boolean"||ke;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Rt=0;Rt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};be.prototype.drawImage=function(ke,bt,Rt,qt,un,In,Yn,nr,Cr){var Vr=this.pdf.getImageProperties(ke),FA=1,SA=1,go=1,ht=1;qt!==void 0&&nr!==void 0&&(go=nr/qt,ht=Cr/un,FA=Vr.width/qt*nr/qt,SA=Vr.height/un*Cr/un),In===void 0&&(In=bt,Yn=Rt,bt=0,Rt=0),qt!==void 0&&nr===void 0&&(nr=qt,Cr=un),qt===void 0&&nr===void 0&&(nr=Vr.width,Cr=Vr.height);var QA=this.ctx.transform.decompose(),va=On(QA.rotate.shx),Qo=new F,kr=(Qo=(Qo=(Qo=Qo.multiply(QA.translate)).multiply(QA.skew)).multiply(QA.scale)).applyToRectangle(new m(In-bt*go,Yn-Rt*ht,qt*FA,un*SA));if(this.autoPaging){for(var Po,YA=ut.call(this,kr),xo=[],Co=0;CoAi||eakr||YA0)){for(;Cr>=0;Cr--)if(un[Cr-1].close!==!0&&un[Cr-1].begin!==!0){un[Cr-1].deltas.push(Rt),un[Cr-1].abs.push(nr);break}}break;case"bct":Rt=[nr.x1-In[Yn-1].x,nr.y1-In[Yn-1].y,nr.x2-In[Yn-1].x,nr.y2-In[Yn-1].y,nr.x-In[Yn-1].x,nr.y-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"qct":var Vr=In[Yn-1].x+2/3*(nr.x1-In[Yn-1].x),FA=In[Yn-1].y+2/3*(nr.y1-In[Yn-1].y),SA=nr.x+2/3*(nr.x1-nr.x),go=nr.y+2/3*(nr.y1-nr.y),ht=nr.x,QA=nr.y;Rt=[Vr-In[Yn-1].x,FA-In[Yn-1].y,SA-In[Yn-1].x,go-In[Yn-1].y,ht-In[Yn-1].x,QA-In[Yn-1].y],un[un.length-1].deltas.push(Rt);break;case"arc":un.push({deltas:[],abs:[],arc:!0}),Array.isArray(un[un.length-1].abs)&&un[un.length-1].abs.push(nr)}}qt=bt?null:ke==="stroke"?"stroke":"fill";for(var va=!1,Qo=0;Qo=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale);var ia=this.autoPaging!=="text";if(ia||ao.y+ao.h<=Co){if(ia||ao.y>=YA&&ao.x<=La){var uo=ia?ke.text:this.pdf.splitTextToSize(ke.text,ke.maxWidth||La-ao.x)[0],ds=Yt([JSON.parse(JSON.stringify(SA))],this.posX+this.margin[3],-ja+YA+this.ctx.prevPageLastElemOffset)[0],Ka=ia&&(Po>Qo||Po=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)}}else ke.scale>=.01&&(qt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(qt*ke.scale),un=this.lineWidth,this.lineWidth=un*ke.scale),this.pdf.text(ke.text,Cr.x+this.posX,Cr.y+this.posY,{angle:ke.angle,align:bt,renderingMode:ke.renderingMode,maxWidth:ke.maxWidth}),ke.scale>=.01&&(this.pdf.setFontSize(qt),this.lineWidth=un)},Jt=function(ke,bt,Rt,qt){Rt=Rt||0,qt=qt||0,this.pdf.internal.out(t(ke+Rt)+" "+r(bt+qt)+" l")},Zt=function(ke,bt,Rt){return this.pdf.lines(ke,bt,Rt,null,null)},Mn=function(ke,bt,Rt,qt,un,In,Yn,nr){this.pdf.internal.out([n(a(Rt+ke)),n(l(qt+bt)),n(a(un+ke)),n(l(In+bt)),n(a(Yn+ke)),n(l(nr+bt)),"c"].join(" "))},Gn=function(ke,bt,Rt,qt){for(var un=2*Math.PI,In=Math.PI/2;bt>Rt;)bt-=un;var Yn=Math.abs(Rt-bt);Yn1e-5;){var FA=Vr+Cr*Math.min(Yn,In);nr.push(er.call(this,ke,Vr,FA)),Yn-=Math.abs(FA-Vr),Vr=FA}return nr},er=function(ke,bt,Rt){var qt=(Rt-bt)/2,un=ke*Math.cos(qt),In=ke*Math.sin(qt),Yn=un,nr=-In,Cr=Yn*Yn+nr*nr,Vr=Cr+Yn*un+nr*In,FA=4/3*(Math.sqrt(2*Cr*Vr)-Vr)/(Yn*In-nr*un),SA=Yn-FA*nr,go=nr+FA*Yn,ht=SA,QA=-go,va=qt+bt,Qo=Math.cos(va),kr=Math.sin(va);return{x1:ke*Math.cos(bt),y1:ke*Math.sin(bt),x2:SA*Qo-go*kr,y2:SA*kr+go*Qo,x3:ht*Qo-QA*kr,y3:ht*kr+QA*Qo,x4:ke*Math.cos(Rt),y4:ke*Math.sin(Rt)}},On=function(ke){return 180*ke/Math.PI},or=function(ke,bt,Rt,qt,un,In){var Yn=ke+.5*(Rt-ke),nr=bt+.5*(qt-bt),Cr=un+.5*(Rt-un),Vr=In+.5*(qt-In),FA=Math.min(ke,un,Yn,Cr),SA=Math.max(ke,un,Yn,Cr),go=Math.min(bt,In,nr,Vr),ht=Math.max(bt,In,nr,Vr);return new m(FA,go,SA-FA,ht-go)},iA=function(ke,bt,Rt,qt,un,In,Yn,nr){var Cr,Vr,FA,SA,go,ht,QA,va,Qo,kr,Po,YA,xo,Co,Ai=Rt-ke,La=qt-bt,ea=un-Rt,ja=In-qt,Ra=Yn-un,ao=nr-In;for(Vr=0;Vr<41;Vr++)Qo=(QA=(FA=ke+(Cr=Vr/40)*Ai)+Cr*((go=Rt+Cr*ea)-FA))+Cr*(go+Cr*(un+Cr*Ra-go)-QA),kr=(va=(SA=bt+Cr*La)+Cr*((ht=qt+Cr*ja)-SA))+Cr*(ht+Cr*(In+Cr*ao-ht)-va),Vr==0?(Po=Qo,YA=kr,xo=Qo,Co=kr):(Po=Math.min(Po,Qo),YA=Math.min(YA,kr),xo=Math.max(xo,Qo),Co=Math.max(Co,kr));return new m(Math.round(Po),Math.round(YA),Math.round(xo-Po),Math.round(Co-YA))},Fr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var ke,bt,Rt=(ke=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:ke,lineDashOffset:bt}));this.prevLineDash!==Rt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Rt)}}})(to.API),function(e){var n=function(y){var m,F,U,G,be,Le,V,st,tt,ut;for(/[^\x00-\xFF]/.test(y),F=[],U=0,G=(y+=m="\0\0\0\0".slice(y.length%4||4)).length;G>U;U+=4)(be=(y.charCodeAt(U)<<24)+(y.charCodeAt(U+1)<<16)+(y.charCodeAt(U+2)<<8)+y.charCodeAt(U+3))!==0?(Le=(be=((be=((be=((be=(be-(ut=be%85))/85)-(tt=be%85))/85)-(st=be%85))/85)-(V=be%85))/85)%85,F.push(Le+33,V+33,st+33,tt+33,ut+33)):F.push(122);return function(Ze,Yt){for(var kt=Yt;kt>0;kt--)Ze.pop()}(F,m.length),String.fromCharCode.apply(String,F)+"~>"},t=function(y){var m,F,U,G,be,Le=String,V="length",st=255,tt="charCodeAt",ut="slice",Ze="replace";for(y[ut](-2),y=y[ut](0,-2)[Ze](/\s/g,"")[Ze]("z","!!!!!"),U=[],G=0,be=(y+=m="uuuuu"[ut](y[V]%5||5))[V];be>G;G+=5)F=52200625*(y[tt](G)-33)+614125*(y[tt](G+1)-33)+7225*(y[tt](G+2)-33)+85*(y[tt](G+3)-33)+(y[tt](G+4)-33),U.push(st&F>>24,st&F>>16,st&F>>8,st&F);return function(Yt,kt){for(var It=kt;It>0;It--)Yt.pop()}(U,m[V]),Le.fromCharCode.apply(Le,U)},r=function(y){return y.split("").map(function(m){return("0"+m.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(y){var m=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((y=y.replace(/\s/g,"")).indexOf(">")!==-1&&(y=y.substr(0,y.indexOf(">"))),y.length%2&&(y+="0"),m.test(y)===!1)return"";for(var F="",U=0;Utt&&(st=ut,ut=tt,tt=st);else{if(m!=="l"&&m!=="landscape")throw"Invalid orientation: "+m;m="l",tt>ut&&(st=ut,ut=tt,tt=st)}return{width:ut,height:tt,unit:F,k:be,orientation:m}},e.html=function(m,F){(F=F||{}).callback=F.callback||function(){},F.html2canvas=F.html2canvas||{},F.html2canvas.canvas=F.html2canvas.canvas||this.canvas,F.jsPDF=F.jsPDF||this,F.fontFaces=F.fontFaces?F.fontFaces.map(Sl):null;var U=new y(F);return F.worker?U:U.from(m).doCallback()}}(to.API),to.API.addJS=function(e){return Lp=e,this.internal.events.subscribe("postPutResources",function(){qc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(qc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Up=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Lp+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){qc!==void 0&&Up!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),l=0;l> endobj")}var V=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+V+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,l){var y={title:a,options:l,children:[]};return r==null&&(r=this.root),r.children.push(y),y},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(y.children[0])),this.line("/Last "+this.makeRef(y.children[y.children.length-1])));var m=this.count=this.count_r({count:0},y);if(m>0&&this.line("/Count "+m),y.options&&y.options.pageNumber){var F=t.internal.getPageInfo(y.options.pageNumber);this.line("/Dest ["+F.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var U=0;U>"}),"transparency"in Ft&&Array.isArray(Ft.transparency)&&Ft.transparency.length>0){for(var $n="",kn=0,rr=Ft.transparency.length;kn>",Ct.content=te;var _t=Ct.objId+" 0 R";te="<>";else if(x.options.pageNumber)switch(te="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=1};var de=a.__arabicParser__.arabicLetterHasFinalForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=3};var Ee=a.__arabicParser__.arabicLetterHasMedialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length==4},He=a.__arabicParser__.resolveLigatures=function(Ct){var It=0,dt=E,sn="",_t=0;for(It=0;It>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+y+" 0 R")})),this},function(a){var y=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(oe){E=oe}});var x=150;Object.defineProperty(this,"width",{get:function(){return x},set:function(oe){x=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?150:oe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=x+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(oe){z=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?300:oe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var te=[];Object.defineProperty(this,"childNodes",{get:function(){return te},set:function(oe){te=oe}});var ie={};Object.defineProperty(this,"style",{get:function(){return ie},set:function(oe){ie=oe}}),Object.defineProperty(this,"parentNode",{})};y.prototype.getContext=function(E,x){var z;if((E=E||"2d")!=="2d")return null;for(z in x)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=x[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},y.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new y,this.canvas.pdf=this}])}(Wa.API),function(a){var y={left:0,top:0,bottom:0,right:0},E=!1,x=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},y),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new te,this.internal.__cell__.pages=1},te=function(){var ue=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ue},set:function(Ct){ue=Ct}});var de=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return de},set:function(Ct){de=Ct}});var Ee=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ee},set:function(Ct){Ee=Ct}});var He=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return He},set:function(Ct){He=Ct}});var _e=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return _e},set:function(Ct){_e=Ct}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(Ct){ve=Ct}});var xt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return xt},set:function(Ct){xt=Ct}}),this};te.prototype.clone=function(){return new te(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},te.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(ue){return x.call(this),this.internal.__cell__.headerFunction=typeof ue=="function"?ue:void 0,this},a.getTextDimensions=function(ue,de){x.call(this);var Ee=(de=de||{}).fontSize||this.getFontSize(),He=de.font||this.getFont(),_e=de.scaleFactor||this.internal.scaleFactor,ve=0,xt=0,Ct=0,It=this;if(!Array.isArray(ue)&&typeof ue!="string"){if(typeof ue!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ue=String(ue)}var dt=de.maxWidth;dt>0?typeof ue=="string"?ue=this.splitTextToSize(ue,dt):Object.prototype.toString.call(ue)==="[object Array]"&&(ue=ue.reduce(function(_t,zt){return _t.concat(It.splitTextToSize(zt,dt))},[])):ue=Array.isArray(ue)?ue:[ue];for(var sn=0;snthis.getPageHeight()?(this.cellAddPage(),ue.y=He.top,ve&&_e&&(this.printHeaderRow(ue.lineNumber,!0),ue.y+=_e[0].height)):ue.y=de.y+de.height||ue.y),ue.text[0]!==void 0&&(this.rect(ue.x,ue.y,ue.width,ue.height,E===!0?"FD":void 0),ue.align==="right"?this.text(ue.text,ue.x+ue.width-Ee,ue.y+Ee,{align:"right",baseline:"top"}):ue.align==="center"?this.text(ue.text,ue.x+ue.width/2,ue.y+Ee,{align:"center",baseline:"top",maxWidth:ue.width-Ee-Ee}):this.text(ue.text,ue.x+Ee,ue.y+Ee,{align:"left",baseline:"top",maxWidth:ue.width-Ee-Ee})),this.internal.__cell__.lastCell=ue,this};a.table=function(ue,de,Ee,He,_e){if(x.call(this),!Ee)throw new Error("No data for PDF table.");var ve,xt,Ct,It,dt=[],sn=[],_t=[],zt={},Un={},ir=[],Kn=[],hn=(_e=_e||{}).autoSize||!1,Ut=_e.printHeaders!==!1,Pn=_e.css&&_e.css["font-size"]!==void 0?16*_e.css["font-size"]:_e.fontSize||12,lt=_e.margins||Object.assign({width:this.getPageWidth()},y),Ft=typeof _e.padding=="number"?_e.padding:3,on=_e.headerBackgroundColor||"#c8c8c8",en=_e.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=Ut,this.internal.__cell__.margins=lt,this.internal.__cell__.table_font_size=Pn,this.internal.__cell__.padding=Ft,this.internal.__cell__.headerBackgroundColor=on,this.internal.__cell__.headerTextColor=en,this.setFontSize(Pn),He==null)sn=dt=Object.keys(Ee[0]),_t=dt.map(function(){return"left"});else if(Array.isArray(He)&&(0,b.Z)(He[0])==="object")for(dt=He.map(function(qr){return qr.name}),sn=He.map(function(qr){return qr.prompt||qr.name||""}),_t=He.map(function(qr){return qr.align||"left"}),ve=0;ve0&&this.setTableHeaderRow(_e),this.setFont(void 0,"normal"),E=!1}}(Wa.API);var og={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},ig=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],km=ag(ig),sg=[100,200,300,400,500,600,700,800,900],yv=ag(sg);function Tm(a){var y=a.family.replace(/"|'/g,"").toLowerCase(),E=function(te){return og[te=te||"normal"]?te:"normal"}(a.style),x=function(te){return te?typeof te=="number"?te>=100&&te<=900&&te%100==0?te:400:/^\d00$/.test(te)?parseInt(te):te==="bold"?700:400:400}(a.weight),z=function(te){return typeof km[te=te||"normal"]=="number"?te:"normal"}(a.stretch);return{family:y,style:E,weight:x,stretch:z,src:a.src||[],ref:a.ref||{name:y,style:[z,E,x].join(" ")}}}function lg(a,y,E,x){var z;for(z=E;z>=0&&z=0&&z>>1)&255}return z}function Cg(a,y,E){var x=a.length,z=[];z[0]=4;for(var te=0;te>te&ie}function wg(a,y,E,x){var z=E*x,te=Math.floor(z/8),ie=16-(z-8*te+x),oe=(1<>8&255;de.setUint8(Ee,_e)}})(a,te,bg(a,te)&~(oe<>7,ie=1<<1+(7&z);a[y++],a[y++];var oe=null,ue=null;te&&(oe=y,ue=ie,y+=3*ie);var de=!0,Ee=[],He=0,_e=null,ve=0,xt=null;for(this.width=E,this.height=x;de&&y=0))throw Error("Invalid block size");if(lt===0)break;y+=lt}break;case 249:if(a[y++]!==4||a[y+4]!==0)throw new Error("Invalid graphics extension block.");var Ct=a[y++];He=a[y++]|a[y++]<<8,_e=a[y++],1&Ct||(_e=null),ve=Ct>>2&7,y++;break;case 254:for(;;){if(!((lt=a[y++])>=0))throw Error("Invalid block size");if(lt===0)break;y+=lt}break;default:throw new Error("Unknown graphic control label: 0x"+a[y-1].toString(16))}break;case 44:var It=a[y++]|a[y++]<<8,dt=a[y++]|a[y++]<<8,sn=a[y++]|a[y++]<<8,_t=a[y++]|a[y++]<<8,zt=a[y++],Un=zt>>6&1,ir=1<<1+(7&zt),Kn=oe,hn=ue,Ut=!1;zt>>7&&(Ut=!0,Kn=y,hn=ir,y+=3*ir);var Pn=y;for(y++;;){var lt;if(!((lt=a[y++])>=0))throw Error("Invalid block size");if(lt===0)break;y+=lt}Ee.push({x:It,y:dt,width:sn,height:_t,has_local_palette:Ut,palette_offset:Kn,palette_size:hn,data_offset:Pn,data_length:y-Pn,transparent_index:_e,interlaced:!!Un,delay:He,disposal:ve});break;case 59:de=!1;break;default:throw new Error("Unknown gif block: 0x"+a[y-1].toString(16))}this.numFrames=function(){return Ee.length},this.loopCount=function(){return xt},this.frameInfo=function(Ft){if(Ft<0||Ft>=Ee.length)throw new Error("Frame index out of range.");return Ee[Ft]},this.decodeAndBlitFrameBGRA=function(Ft,on){var en=this.frameInfo(Ft),Wn=en.width*en.height,Yn=new Uint8Array(Wn);Bg(a,en.data_offset,Yn,Wn);var $n=en.palette_offset,kn=en.transparent_index;kn===null&&(kn=256);var rr=en.width,qr=E-rr,xr=rr,it=4*(en.y*E+en.x),kt=4*((en.y+en.height)*E+en.x),Jt=it,cn=4*qr;en.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Sn=0,Jn=Yn.length;Sn=kt&&(cn=4*qr+4*E*(Cn-1),Jt=it+(rr+qr)*(Cn<<1),Cn>>=1)),tr===kn)Jt+=4;else{var Er=a[$n+3*tr],Ur=a[$n+3*tr+1],ma=a[$n+3*tr+2];on[Jt++]=ma,on[Jt++]=Ur,on[Jt++]=Er,on[Jt++]=255}--xr}},this.decodeAndBlitFrameRGBA=function(Ft,on){var en=this.frameInfo(Ft),Wn=en.width*en.height,Yn=new Uint8Array(Wn);Bg(a,en.data_offset,Yn,Wn);var $n=en.palette_offset,kn=en.transparent_index;kn===null&&(kn=256);var rr=en.width,qr=E-rr,xr=rr,it=4*(en.y*E+en.x),kt=4*((en.y+en.height)*E+en.x),Jt=it,cn=4*qr;en.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Sn=0,Jn=Yn.length;Sn=kt&&(cn=4*qr+4*E*(Cn-1),Jt=it+(rr+qr)*(Cn<<1),Cn>>=1)),tr===kn)Jt+=4;else{var Er=a[$n+3*tr],Ur=a[$n+3*tr+1],ma=a[$n+3*tr+2];on[Jt++]=Er,on[Jt++]=Ur,on[Jt++]=ma,on[Jt++]=255}--xr}}}function Bg(a,y,E,x){for(var z=a[y++],te=1<>=ue,Ee-=ue,It!==te){if(It===ie)break;for(var dt=Itte;)_t=xt[_t]>>8,++sn;var zt=_t;if(_e+sn+(dt!==It?1:0)>x)return void as.log("Warning, gif stream longer than expected.");E[_e++]=zt;var Un=_e+=sn;for(dt!==It&&(E[_e++]=zt),_t=dt;sn--;)_t=xt[_t],E[--Un]=255&_t,_t>>=8;Ct!==null&&oe<4096&&(xt[oe++]=Ct<<8|zt,oe>=de+1&&ue<12&&(++ue,de=de<<1|1)),Ct=It}else oe=ie+1,de=(1<<(ue=z+1))-1,Ct=null}return _e!==x&&as.log("Warning, gif stream shorter than expected."),E}function Um(a){var y,E,x,z,te,ie=Math.floor,oe=new Array(64),ue=new Array(64),de=new Array(64),Ee=new Array(64),He=new Array(65535),_e=new Array(65535),ve=new Array(64),xt=new Array(64),Ct=[],It=0,dt=7,sn=new Array(64),_t=new Array(64),zt=new Array(64),Un=new Array(256),ir=new Array(2048),Kn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],hn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ut=[0,1,2,3,4,5,6,7,8,9,10,11],Pn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],lt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ft=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],on=[0,1,2,3,4,5,6,7,8,9,10,11],en=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Wn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Yn(it,kt){for(var Jt=0,cn=0,Cn=new Array,Sn=1;Sn<=16;Sn++){for(var Jn=1;Jn<=it[Sn];Jn++)Cn[kt[cn]]=[],Cn[kt[cn]][0]=Jt,Cn[kt[cn]][1]=Sn,cn++,Jt++;Jt*=2}return Cn}function $n(it){for(var kt=it[0],Jt=it[1]-1;Jt>=0;)kt&1<>8&255),kn(255&it)}function qr(it,kt,Jt,cn,Cn){for(var Sn,Jn=Cn[0],tr=Cn[240],Er=function(Mr,Fo){var La,Bo,po,Ki,wi,Vo,Fi,bi,Ga,_o,ro=0;for(Ga=0;Ga<8;++Ga){La=Mr[ro],Bo=Mr[ro+1],po=Mr[ro+2],Ki=Mr[ro+3],wi=Mr[ro+4],Vo=Mr[ro+5],Fi=Mr[ro+6];var Qs=La+(bi=Mr[ro+7]),Ri=La-bi,Ai=Bo+Fi,mi=Bo-Fi,ys=po+Vo,Co=po-Vo,As=Ki+wi,Oo=Ki-wi,Xo=Qs+As,Cs=Qs-As,vi=Ai+ys,So=Ai-ys;Mr[ro]=Xo+vi,Mr[ro+4]=Xo-vi;var Ji=.707106781*(So+Cs);Mr[ro+2]=Cs+Ji,Mr[ro+6]=Cs-Ji;var dd=.382683433*((Xo=Oo+Co)-(So=mi+Ri)),Fl=.5411961*Xo+dd,_u=1.306562965*So+dd,Mu=.707106781*(vi=Co+mi),No=Ri+Mu,$u=Ri-Mu;Mr[ro+5]=$u+Fl,Mr[ro+3]=$u-Fl,Mr[ro+1]=No+_u,Mr[ro+7]=No-_u,ro+=8}for(ro=0,Ga=0;Ga<8;++Ga){La=Mr[ro],Bo=Mr[ro+8],po=Mr[ro+16],Ki=Mr[ro+24],wi=Mr[ro+32],Vo=Mr[ro+40],Fi=Mr[ro+48];var ec=La+(bi=Mr[ro+56]),_l=La-bi,$l=Bo+Fi,Ns=Bo-Fi,ul=po+Vo,dl=po-Vo,fd=Ki+wi,Oc=Ki-wi,mu=ec+fd,Ou=ec-fd,hu=$l+ul,gu=$l-ul;Mr[ro]=mu+hu,Mr[ro+32]=mu-hu;var eu=.707106781*(gu+Ou);Mr[ro+16]=Ou+eu,Mr[ro+48]=Ou-eu;var Ad=.382683433*((mu=Oc+dl)-(gu=Ns+_l)),Ru=.5411961*mu+Ad,md=1.306562965*gu+Ad,tf=.707106781*(hu=dl+Ns),nf=_l+tf,rf=_l-tf;Mr[ro+40]=rf+Ru,Mr[ro+24]=rf-Ru,Mr[ro+8]=nf+md,Mr[ro+56]=nf-md,ro++}for(Ga=0;Ga<64;++Ga)_o=Mr[Ga]*Fo[Ga],ve[Ga]=_o>0?_o+.5|0:_o-.5|0;return ve}(it,kt),Ur=0;Ur<64;++Ur)xt[Kn[Ur]]=Er[Ur];var ma=xt[0]-Jt;Jt=xt[0],ma==0?$n(cn[0]):($n(cn[_e[Sn=32767+ma]]),$n(He[Sn]));for(var Aa=63;Aa>0&&xt[Aa]==0;)Aa--;if(Aa==0)return $n(Jn),Jt;for(var mo,Pt=1;Pt<=Aa;){for(var ha=Pt;xt[Pt]==0&&Pt<=Aa;)++Pt;var ci=Pt-ha;if(ci>=16){mo=ci>>4;for(var Io=1;Io<=mo;++Io)$n(tr);ci&=15}Sn=32767+xt[Pt],$n(Cn[(ci<<4)+_e[Sn]]),$n(He[Sn]),Pt++}return Aa!=63&&$n(Jn),Jt}function xr(it){it=Math.min(Math.max(it,1),100),te!=it&&(function(kt){for(var Jt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],cn=0;cn<64;cn++){var Cn=ie((Jt[cn]*kt+50)/100);Cn=Math.min(Math.max(Cn,1),255),oe[Kn[cn]]=Cn}for(var Sn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Jn=0;Jn<64;Jn++){var tr=ie((Sn[Jn]*kt+50)/100);tr=Math.min(Math.max(tr,1),255),ue[Kn[Jn]]=tr}for(var Er=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ur=0,ma=0;ma<8;ma++)for(var Aa=0;Aa<8;Aa++)de[Ur]=1/(oe[Kn[Ur]]*Er[ma]*Er[Aa]*8),Ee[Ur]=1/(ue[Kn[Ur]]*Er[ma]*Er[Aa]*8),Ur++}(it<50?Math.floor(5e3/it):Math.floor(200-2*it)),te=it)}this.encode=function(it,kt){kt&&xr(kt),Ct=new Array,It=0,dt=7,rr(65496),rr(65504),rr(16),kn(74),kn(70),kn(73),kn(70),kn(0),kn(1),kn(1),kn(0),rr(1),rr(1),kn(0),kn(0),function(){rr(65499),rr(132),kn(0);for(var Bo=0;Bo<64;Bo++)kn(oe[Bo]);kn(1);for(var po=0;po<64;po++)kn(ue[po])}(),function(Bo,po){rr(65472),rr(17),kn(8),rr(po),rr(Bo),kn(3),kn(1),kn(17),kn(0),kn(2),kn(17),kn(1),kn(3),kn(17),kn(1)}(it.width,it.height),function(){rr(65476),rr(418),kn(0);for(var Bo=0;Bo<16;Bo++)kn(hn[Bo+1]);for(var po=0;po<=11;po++)kn(Ut[po]);kn(16);for(var Ki=0;Ki<16;Ki++)kn(Pn[Ki+1]);for(var wi=0;wi<=161;wi++)kn(lt[wi]);kn(1);for(var Vo=0;Vo<16;Vo++)kn(Ft[Vo+1]);for(var Fi=0;Fi<=11;Fi++)kn(on[Fi]);kn(17);for(var bi=0;bi<16;bi++)kn(en[bi+1]);for(var Ga=0;Ga<=161;Ga++)kn(Wn[Ga])}(),rr(65498),rr(12),kn(3),kn(1),kn(0),kn(2),kn(17),kn(3),kn(17),kn(0),kn(63),kn(0);var Jt=0,cn=0,Cn=0;It=0,dt=7,this.encode.displayName="_encode_";for(var Sn,Jn,tr,Er,Ur,ma,Aa,mo,Pt,ha=it.data,ci=it.width,Io=it.height,Mr=4*ci,Fo=0;Fo>3)*Mr+(Aa=4*(7&Pt)),Fo+mo>=Io&&(ma-=Mr*(Fo+1+mo-Io)),Sn+Aa>=Mr&&(ma-=Sn+Aa-Mr+4),Jn=ha[ma++],tr=ha[ma++],Er=ha[ma++],sn[Pt]=(ir[Jn]+ir[tr+256|0]+ir[Er+512|0]>>16)-128,_t[Pt]=(ir[Jn+768|0]+ir[tr+1024|0]+ir[Er+1280|0]>>16)-128,zt[Pt]=(ir[Jn+1280|0]+ir[tr+1536|0]+ir[Er+1792|0]>>16)-128;Jt=qr(sn,de,Jt,y,x),cn=qr(_t,Ee,cn,E,z),Cn=qr(zt,Ee,Cn,E,z),Sn+=32}Fo+=8}if(dt>=0){var La=[];La[1]=dt+1,La[0]=(1<Ft;Ft++)if(Ut[Pn+Ft]!=lt.charCodeAt(Ft))return!0;return!1}function x(Ut,Pn,lt,Ft,on){for(var en=0;enen+1?[]:new Pn),!(Wn.length>>0;ne≥)ge>>>=1;return ge?(ne&ge-1)+ge:ne}function lt(ne,ae,ge,Fe,Ge){y(!(Fe%ge));do ne[ae+(Fe-=ge)]=Ge;while(0=Ge),512>=Ge)var tt=te(512);else if((tt=te(Ge))==null)return 0;return function(at,At,Et,St,An,Qn){var Nt,vn,Dn=At,or=1<Nt;++Nt){if(On[Nt]>1<(ni-=On[Nt]))return 0;for(;0=Nt;++Nt,An<<=1){if(Sa+=ni<<=1,0>(ni-=On[Nt]))return 0;for(;0kr&&!(0>=(hr-=On[kr]));)++kr,hr<<=1;or+=Qa=1<<(hr=kr-Et),at[At+(kr=qa&Dr)].g=hr+Et,at[At+kr].value=Dn-At-kr}St.g=Nt-Et,St.value=Qn[vn++],lt(at,Dn+(qa>>Et),An,Qa,St),qa=Pn(qa,Nt)}}return Sa!=2*lr[15]-1?0:or}(ne,ae,ge,Fe,Ge,tt)}function on(){this.value=this.g=0}function en(){this.value=this.g=0}function Wn(){this.G=ie(5,on),this.H=te(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ie(xd,en)}function Yn(ne,ae,ge,Fe){y(ne!=null),y(ae!=null),y(2147483648>Fe),ne.Ca=254,ne.I=0,ne.b=-8,ne.Ka=0,ne.oa=ae,ne.pa=ge,ne.Jd=ae,ne.Yc=ge+Fe,ne.Zc=4<=Fe?ge+Fe-4+1:ge,Jn(ne)}function $n(ne,ae){for(var ge=0;0Fe),ne.Sb=Fe,ne.Ra=0,ne.u=0,ne.h=0,4>>=8,ne.Ra+=ne.oa[ne.pa+ne.bb]<>>0,++ne.bb,ne.u-=8;cn(ne)&&(ne.h=1,ne.u=0)}function xr(ne,ae){if(y(0<=ae),!ne.h&&ae<=Zl){var ge=Jt(ne)&Hl[ae];return ne.u+=ae,qr(ne),ge}return ne.h=1,ne.u=0}function it(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function kt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Jt(ne){return ne.Ra>>>(ne.u&Qc-1)>>>0}function cn(ne){return y(ne.bb<=ne.Sb),ne.h||ne.bb==ne.Sb&&ne.u>Qc}function Cn(ne,ae){ne.u=ae,ne.h=cn(ne)}function Sn(ne){ne.u>=dc&&(y(ne.u>=dc),qr(ne))}function Jn(ne){y(ne!=null&&ne.oa!=null),ne.pa>>0,ne.b+=8):(y(ne!=null&&ne.oa!=null),ne.pane.b&&Jn(ne);var Fe=ne.b,Ge=ge*ae>>>8,tt=(ne.I>>>Fe>Ge)+0;for(tt?(ge-=Ge,ne.I-=Ge+1<>>0):ge=Ge+1,Fe=ge,Ge=0;256<=Fe;)Ge+=8,Fe>>=8;return Fe=7^Ge+zc[Fe],ne.b-=Fe,ne.Ca=(ge<>24&255,ne[ae+1]=ge>>16&255,ne[ae+2]=ge>>8&255,ne[ae+3]=255&ge}function ma(ne,ae){return ne[ae+0]|ne[ae+1]<<8}function Aa(ne,ae){return ma(ne,ae)|ne[ae+2]<<16}function mo(ne,ae){return ma(ne,ae)|ma(ne,ae+2)<<16}function Pt(ne,ae){var ge=1<=Ge||0>=tt?0:(ge[0]=Ge,Fe[0]=tt,1)}function Mr(ne,ae){return ne+(1<>>ae}function Fo(ne,ae){return((4278255360&ne)+(4278255360&ae)>>>0&4278255360)+((16711935&ne)+(16711935&ae)>>>0&16711935)>>>0}function La(ne,ae){Ut[ae]=function(ge,Fe,Ge,tt,at,At,Et){var St;for(St=0;St>>1)+(ne&ae)>>>0}function Ki(ne){return 0<=ne&&256>ne?ne:0>ne?0:255>1))}function Vo(ne,ae,ge){return Math.abs(ae-ge)-Math.abs(ne-ge)}function Fi(ne,ae,ge,Fe,Ge,tt,at){for(Fe=tt[at-1],ge=0;ge>8&255,Et=16711935&(Et=(Et=16711935&at)+((At<<16)+At));Fe[Ge+tt]=(4278255360&at)+Et>>>0}}function Ga(ne,ae){ae.jd=255&ne,ae.hd=ne>>8&255,ae.ud=ne>>16&255}function _o(ne,ae,ge,Fe,Ge,tt){var at;for(at=0;at>>8,St=At,An=255&(An=(An=At>>>16)+((ne.jd<<24>>24)*(Et<<24>>24)>>>5));St=255&(St=(St+=(ne.hd<<24>>24)*(Et<<24>>24)>>>5)+((ne.ud<<24>>24)*(An<<24>>24)>>>5)),Ge[tt+at]=(4278255360&At)+(An<<16)+St}}function ro(ne,ae,ge,Fe,Ge){Ut[ae]=function(tt,at,At,Et,St,An,Qn,Nt,vn){for(Et=Qn;Et>tt.b,vn=tt.Ea,Dn=tt.K[0],or=tt.w;if(8>Nt)for(tt=(1<>=Nt}else Ut["VP8LMapColor"+ge](Et,St,Dn,or,An,Qn,at,At,vn)}}function Qs(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&255,Fe[Ge++]=tt>>8&255,Fe[Ge++]=255&tt}}function Ri(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&255,Fe[Ge++]=tt>>8&255,Fe[Ge++]=255&tt,Fe[Ge++]=tt>>24&255}}function Ai(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&240|at>>12&15,at=240&at|at>>28&15;Fe[Ge++]=tt,Fe[Ge++]=at}}function mi(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&248|at>>13&7,at=at>>5&224|at>>3&31;Fe[Ge++]=tt,Fe[Ge++]=at}}function ys(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>8&255,Fe[Ge++]=tt>>16&255}}function Co(ne,ae,ge,Fe,Ge,tt){if(tt==0)for(ge=ae+ge;ae>24|tt[1]>>8&65280|tt[2]<<8&16711680|tt[3]<<24)>>>0),Ge+=32;else x(Fe,Ge,ne,ae,ge)}function As(ne,ae){Ut[ae][0]=Ut[ne+"0"],Ut[ae][1]=Ut[ne+"1"],Ut[ae][2]=Ut[ne+"2"],Ut[ae][3]=Ut[ne+"3"],Ut[ae][4]=Ut[ne+"4"],Ut[ae][5]=Ut[ne+"5"],Ut[ae][6]=Ut[ne+"6"],Ut[ae][7]=Ut[ne+"7"],Ut[ae][8]=Ut[ne+"8"],Ut[ae][9]=Ut[ne+"9"],Ut[ae][10]=Ut[ne+"10"],Ut[ae][11]=Ut[ne+"11"],Ut[ae][12]=Ut[ne+"12"],Ut[ae][13]=Ut[ne+"13"],Ut[ae][14]=Ut[ne+"0"],Ut[ae][15]=Ut[ne+"0"]}function Oo(ne){return ne==ih||ne==sh||ne==X0||ne==lh}function Xo(){this.eb=[],this.size=this.A=this.fb=0}function Cs(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function vi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Xo,this.f.kb=new Cs,this.sd=null}function So(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ji(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function dd(ne){return alert("todo:WebPSamplerProcessPlane"),ne.T}function Fl(ne,ae){var ge=ne.T,Fe=ae.ba.f.RGBA,Ge=Fe.eb,tt=Fe.fb+ne.ka*Fe.A,at=iu[ae.ba.S],At=ne.y,Et=ne.O,St=ne.f,An=ne.N,Qn=ne.ea,Nt=ne.W,vn=ae.cc,Dn=ae.dc,or=ae.Mc,On=ae.Nc,lr=ne.ka,hr=ne.ka+ne.T,kr=ne.U,Dr=kr+1>>1;for(lr==0?at(At,Et,null,null,St,An,Qn,Nt,St,An,Qn,Nt,Ge,tt,null,null,kr):(at(ae.ec,ae.fc,At,Et,vn,Dn,or,On,St,An,Qn,Nt,Ge,tt-Fe.A,Ge,tt,kr),++ge);lr+2ge,Ge=ge==W0||ge==G0||ge==V0||ge==oh||ge==12||Oo(ge);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!iA(ae.Oa,ne,Ge?11:12))return 0;if(Ge&&Oo(ge)&&rA(),ne.da)alert("todo:use_scaling");else{if(Fe){if(ae.Ib=dd,ne.Kb){if(ge=ne.U+1>>1,ae.memory=te(ne.U+2*ge),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+ne.U,ae.Mc=ae.cc,ae.Nc=ae.dc+ge,ae.Ib=Fl,rA()}}else alert("todo:EmitYUV");Ge&&(ae.Jb=_u,Fe&&vu())}if(Fe&&!$g){for(ne=0;256>ne;++ne)s1[ne]=89858*(ne-128)+K0>>Y0,c1[ne]=-22014*(ne-128)+K0,u1[ne]=-45773*(ne-128),l1[ne]=113618*(ne-128)+K0>>Y0;for(ne=gA;ne>Y0,d1[ne-gA]=ku(ae,255),f1[ne-gA]=ku(ae+8>>4,15);$g=1}return 1}function No(ne){var ae=ne.ma,ge=ne.U,Fe=ne.T;return y(!(1&ne.ka)),0>=ge||0>=Fe?0:(ge=ae.Ib(ne,ae),ae.Jb!=null&&ae.Jb(ne,ae,ge),ae.Dc+=ge,1)}function $u(ne){ne.ma.memory=null}function ec(ne,ae,ge,Fe){return xr(ne,8)!=47?0:(ae[0]=xr(ne,14)+1,ge[0]=xr(ne,14)+1,Fe[0]=xr(ne,1),xr(ne,3)!=0?0:!ne.h)}function _l(ne,ae){if(4>ne)return ne+1;var ge=ne-2>>1;return(2+(1&ne)<>4)*ne+(8-(15&ge)))?ge:1;var ge}function Ns(ne,ae,ge){var Fe=Jt(ge),Ge=ne[ae+=255&Fe].g-8;return 0>>0,y(8>=ge.g),ne.g}function dl(ne,ae,ge){var Fe=ne.xc;return y((ae=Fe==0?0:ne.vc[ne.md*(ge>>Fe)+(ae>>Fe)])>Qa.b)*Sa;orkr&&(za=kr),(0,cA[Pi[al++]>>8&15])(Nt,vn+ +ri,lr,hr+ri-kr,za-ri,lr,hr+ri),ri=za}vn+=kr,hr+=kr,++or&qa||(Qa+=Sa)}Qn!=St.nc&&x(Et,At-Dn,Et,At+(Qn-An-1)*Dn,Dn);break;case 1:for(Dn=Nt,On=vn,kr=(Nt=St.Ea)-(hr=Nt&~(lr=(vn=1<>St.b)*or;An=Ge),0tt.o&&(Fe=tt.o),ge=Fe?ge=0:(Ge[0]+=4*tt.v,tt.ka=ge-tt.j,tt.U=tt.va-tt.v,tt.T=Fe-ge,ge=1),ge){if(At=At[0],11>(ge=ne.ca).S){var An=ge.f.RGBA,Qn=(Fe=ge.S,Ge=tt.U,tt=tt.T,St=An.eb,An.A),Nt=tt;for(An=An.fb+ne.Ma*An.A;0Fe){var Ge=ne.l.width,tt=ge.ca,at=ge.tb+Ge*Fe,At=ne.V,Et=ne.Ba+ne.c*Fe,St=ne.gc;y(ne.ab==1),y(St[0].hc==3),Uu(St[0],Fe,ae,At,Et,tt,at),Ou(ge,Fe,ae,tt,at,Ge)}ne.C=ne.Ma=ae}function gu(ne,ae,ge,Fe,Ge,tt,at){var At=ne.$/Fe,Et=ne.$%Fe,St=ne.m,An=ne.s,Qn=ge+ne.$,Nt=Qn;Ge=ge+Fe*Ge;var vn=ge+Fe*tt,Dn=280+An.ua,or=ne.Pb?At:16777216,On=0=or){var qa=Qn-ge;y((or=ne).Pb),or.wd=or.m,or.xd=qa,0ni.g?(Cn(Dr,Dr.u+ni.g),qa[Sa]=ni.value,Dr=0):(Cn(Dr,Dr.u+ni.g-256),y(256<=ni.value),Dr=ni.value),Dr==0&&(kr=!0)}else Dr=Ns(hr.G[0],hr.H[0],St);if(St.h)break;if(kr||256>Dr){if(!kr)if(hr.nd)ae[Qn]=(hr.qb|Dr<<8)>>>0;else{if(Sn(St),kr=Ns(hr.G[1],hr.H[1],St),Sn(St),qa=Ns(hr.G[2],hr.H[2],St),Sa=Ns(hr.G[3],hr.H[3],St),St.h)break;ae[Qn]=(Sa<<24|kr<<16|Dr<<8|qa)>>>0}if(kr=!1,++Qn,++Et>=Fe&&(Et=0,++At,at!=null&&At<=tt&&!(At%16)&&at(ne,At),On!=null))for(;Nt>>On.Mb]=Dr}else if(280>Dr){if(Dr=_l(Dr-256,St),qa=Ns(hr.G[4],hr.H[4],St),Sn(St),qa=$l(Fe,qa=_l(qa,St)),St.h)break;if(Qn-ge=Fe;)Et-=Fe,++At,at!=null&&At<=tt&&!(At%16)&&at(ne,At);if(y(Qn<=Ge),Et&lr&&(hr=dl(An,Et,At)),On!=null)for(;Nt>>On.Mb]=Dr}else{if(!(Dr>>On.Mb]=Dr;Dr=Qn,y(!(kr>>>(qa=On).Xa)),ae[Dr]=qa.X[kr],kr=!0}kr||y(St.h==cn(St))}if(ne.Pb&&St.h&&Qntt?tt:At),ne.a=0,ne.$=Qn-ge}return 1}return ne.a=3,0}function eu(ne){y(ne!=null),ne.vc=null,ne.yc=null,ne.Ya=null;var ae=ne.Wa;ae!=null&&(ae.X=null),ne.vb=null,y(ne!=null)}function Ad(){var ne=new Uo;return ne==null?null:(ne.a=0,ne.xb=Xg,As("Predictor","VP8LPredictors"),As("Predictor","VP8LPredictors_C"),As("PredictorAdd","VP8LPredictorsAdd"),As("PredictorAdd","VP8LPredictorsAdd_C"),zs=bi,dA=_o,fA=Qs,Uc=Ri,Hc=Ai,Zc=mi,Id=ys,Ut.VP8LMapColor32b=zu,Ut.VP8LMapColor8b=uA,ne)}function Ru(ne,ae,ge,Fe,Ge){var tt=1,at=[ne],At=[ae],Et=Fe.m,St=Fe.s,An=null,Qn=0;e:for(;;){if(ge)for(;tt&&xr(Et,1);){var Nt=at,vn=At,Dn=Fe,or=1,On=Dn.m,lr=Dn.gc[Dn.ab],hr=xr(On,2);if(Dn.Oc&1<=Dn.ab),hr){case 0:case 1:lr.b=xr(On,3)+2,or=Ru(Mr(lr.Ea,lr.b),Mr(lr.nc,lr.b),0,Dn,lr.K),lr.K=lr.K[0];break;case 3:var kr,Dr=xr(On,8)+1,qa=16>Qa.b),al=te(Pi);if(al==null)kr=0;else{var ri=Qa.K[0],za=Qa.w;for(al[0]=Qa.K[0][0],Sa=1;Sa<1*ni;++Sa)al[Sa]=Fo(ri[za+Sa],al[Sa-1]);for(;Sa<4*Pi;++Sa)al[Sa]=0;Qa.K[0]=null,Qa.K[0]=al,kr=1}}or=kr;break;case 2:break;default:y(0)}tt=or}}if(at=at[0],At=At[0],tt&&xr(Et,1)&&!(tt=1<=(Qn=xr(Et,4))&&11>=Qn)){Fe.a=3;break e}var ca;if(ca=tt)t:{var Hs,Yo,Ni,vs=Fe,ml=at,Nl=At,js=Qn,Pl=ge,jl=vs.m,ol=vs.s,Ti=[null],_i=1,Ls=0,$i=Yv[js];n:for(;;){if(Pl&&xr(jl,1)){var hl=xr(jl,3)+2,yu=Mr(ml,hl),Zs=Mr(Nl,hl),kl=yu*Zs;if(!Ru(yu,Zs,0,vs,Ti))break n;for(Ti=Ti[0],ol.xc=hl,Hs=0;Hs>8&65535;Ti[Hs]=is,is>=_i&&(_i=is+1)}}if(jl.h)break n;for(Yo=0;5>Yo;++Yo){var il=Gg[Yo];!Yo&&0=Ll),Xl=Vl;var Tl=te(Ls);if(Xl==null||Tl==null||Gl==null){vs.a=1;break n}var Yl=Gl;for(Hs=Ni=0;Hs<_i;++Hs){var hs=Xl[Hs],Kl=hs.G,Cu=hs.H,Pd=0,mc=1,gl=0;for(Yo=0;5>Yo;++Yo){il=Gg[Yo],Kl[Yo]=Yl,Cu[Yo]=Ni,!Yo&&0tm)break r}else mh=tm;for(vA=0;vAmf)ip[vA++]=mf,mf!=0&&(sp=mf);else{var w1=mf==16,cp=mf-16,b1=Wv[cp],dp=xr(Yc,Zv[cp])+b1;if(vA+dp>tm)break r;for(var B1=w1?sp:0;0=Yo){var EA,gh=Tl[0];for(EA=1;EAgh&&(gh=Tl[EA]);gl+=gh}}if(hs.nd=mc,hs.Qb=0,mc&&(hs.qb=(Kl[3][Cu[3]+0].value<<24|Kl[1][Cu[1]+0].value<<16|Kl[2][Cu[2]+0].value)>>>0,Pd==0&&256>Kl[0][Cu[0]+0].value&&(hs.Qb=1,hs.qb+=Kl[0][Cu[0]+0].value<<8)),hs.jc=!hs.Qb&&6>gl,hs.jc){var nm,hc=hs;for(nm=0;nm>=ul(rm,8,Jc),Kc>>=ul(hc.G[1][hc.H[1]+Kc],16,Jc),Kc>>=ul(hc.G[2][hc.H[2]+Kc],0,Jc),ul(hc.G[3][hc.H[3]+Kc],24,Jc))}}}ol.vc=Ti,ol.Wb=_i,ol.Ya=Xl,ol.yc=Gl,ca=1;break t}ca=0}if(!(tt=ca)){Fe.a=3;break e}if(0Fe+1?[]:0),!(Ge.lengthne?0:ne>ae?ae:ne}function af(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Zm(){var ne=new F0;return ne!=null&&(ne.a=0,ne.sc="OK",ne.cb=0,ne.Xb=0,hA||(hA=of)),ne}function Ys(ne,ae,ge){return ne.a==0&&(ne.a=ae,ne.sc=ge,ne.cb=0),0}function P0(ne,ae,ge){return 3<=ge&&ne[ae+0]==157&&ne[ae+1]==1&&ne[ae+2]==42}function Tu(ne,ae){if(ne==null)return 0;if(ne.a=0,ne.sc="OK",ae==null)return Ys(ne,2,"null VP8Io passed to VP8GetHeaders()");var ge=ae.data,Fe=ae.w,Ge=ae.ha;if(4>Ge)return Ys(ne,7,"Truncated header.");var tt=ge[Fe+0]|ge[Fe+1]<<8|ge[Fe+2]<<16,at=ne.Od;if(at.Rb=!(1&tt),at.td=tt>>1&7,at.yd=tt>>4&1,at.ub=tt>>5,3Ge)return Ys(ne,7,"cannot parse picture header");if(!P0(ge,Fe,Ge))return Ys(ne,3,"Bad code word");At.c=16383&(ge[Fe+4]<<8|ge[Fe+3]),At.Td=ge[Fe+4]>>6,At.i=16383&(ge[Fe+6]<<8|ge[Fe+5]),At.Ud=ge[Fe+6]>>6,Fe+=7,Ge-=7,ne.za=At.c+15>>4,ne.Ub=At.i+15>>4,ae.width=At.c,ae.height=At.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,z((tt=ne.Pa).jb,0,255,tt.jb.length),y((tt=ne.Qa)!=null),tt.Cb=0,tt.Bb=0,tt.Fb=1,z(tt.Zb,0,0,tt.Zb.length),z(tt.Lb,0,0,tt.Lb)}if(at.ub>Ge)return Ys(ne,7,"bad partition length");Yn(tt=ne.m,ge,Fe,at.ub),Fe+=at.ub,Ge-=at.ub,at.Rb&&(At.Ld=tr(tt),At.Kd=tr(tt)),At=ne.Qa;var Et,St=ne.Pa;if(y(tt!=null),y(At!=null),At.Cb=tr(tt),At.Cb){if(At.Bb=tr(tt),tr(tt)){for(At.Fb=tr(tt),Et=0;4>Et;++Et)At.Zb[Et]=tr(tt)?kn(tt,7):0;for(Et=0;4>Et;++Et)At.Lb[Et]=tr(tt)?kn(tt,6):0}if(At.Bb)for(Et=0;3>Et;++Et)St.jb[Et]=tr(tt)?$n(tt,8):255}else At.Bb=0;if(tt.Ka)return Ys(ne,3,"cannot parse segment header");if((At=ne.ed).zd=tr(tt),At.Tb=$n(tt,6),At.wb=$n(tt,3),At.Pc=tr(tt),At.Pc&&tr(tt)){for(St=0;4>St;++St)tr(tt)&&(At.vd[St]=kn(tt,6));for(St=0;4>St;++St)tr(tt)&&(At.od[St]=kn(tt,6))}if(ne.L=At.Tb==0?0:At.zd?1:2,tt.Ka)return Ys(ne,3,"cannot parse filter header");var An=Ge;if(Ge=Et=Fe,Fe=Et+An,At=An,ne.Xb=(1<<$n(ne.m,2))-1,An<3*(St=ne.Xb))ge=7;else{for(Et+=3*St,At-=3*St,An=0;AnAt&&(Qn=At),Yn(ne.Jc[+An],ge,Et,Qn),Et+=Qn,At-=Qn,Ge+=3}Yn(ne.Jc[+St],ge,Et,At),ge=EtQn;++Qn){if(An.Cb){var Nt=An.Zb[Qn];An.Fb||(Nt+=ge)}else{if(0>16,8>vn.Eb[1]&&(vn.Eb[1]=8),vn.Qc[0]=uh[ku(Nt+St,117)],vn.Qc[1]=ch[ku(Nt+Et,127)],vn.lc=Nt+Et}if(!at.Rb)return Ys(ne,4,"Not a key frame.");for(tr(tt),at=ne.Pa,ge=0;4>ge;++ge){for(Ge=0;8>Ge;++Ge)for(Fe=0;3>Fe;++Fe)for(At=0;11>At;++At)St=Er(tt,e1[ge][Ge][Fe][At])?$n(tt,8):_v[ge][Ge][Fe][At],at.Wc[ge][Ge].Yb[Fe][At]=St;for(Ge=0;17>Ge;++Ge)at.Xc[ge][Ge]=at.Wc[ge][t1[Ge]]}return ne.kc=tr(tt),ne.kc&&(ne.Bd=$n(tt,8)),ne.cb=1}function of(ne,ae,ge,Fe,Ge,tt,at){var At=ae[Ge].Yb[ge];for(ge=0;16>Ge;++Ge){if(!Er(ne,At[ge+0]))return Ge;for(;!Er(ne,At[ge+1]);)if(At=ae[++Ge].Yb[0],ge=0,Ge==16)return 16;var Et=ae[Ge+1].Yb;if(Er(ne,At[ge+2])){var St=ne,An=0;if(Er(St,(Nt=At)[(Qn=ge)+3]))if(Er(St,Nt[Qn+6])){for(At=0,Qn=2*(An=Er(St,Nt[Qn+8]))+(Nt=Er(St,Nt[Qn+9+An])),An=0,Nt=Jv[Qn];Nt[At];++At)An+=An+Er(St,Nt[At]);An+=3+(8<(St=ne).b&&Jn(St);var Qn,Nt=St.b,vn=(Qn=St.Ca>>1)-(St.I>>Nt)>>31;--St.b,St.Ca+=vn,St.Ca|=1,St.I-=(Qn+1&vn)<>3),ne[ae+ge+32*Fe]=-256&Ge?0>Ge?0:255:Ge}function tl(ne,ae,ge,Fe,Ge,tt){nu(ne,ae,0,ge,Fe+Ge),nu(ne,ae,1,ge,Fe+tt),nu(ne,ae,2,ge,Fe-tt),nu(ne,ae,3,ge,Fe-Ge)}function tc(ne){return(20091*ne>>16)+ne}function S0(ne,ae,ge,Fe){var Ge,tt=0,at=te(16);for(Ge=0;4>Ge;++Ge){var At=ne[ae+0]+ne[ae+8],Et=ne[ae+0]-ne[ae+8],St=(35468*ne[ae+4]>>16)-tc(ne[ae+12]),An=tc(ne[ae+4])+(35468*ne[ae+12]>>16);at[tt+0]=At+An,at[tt+1]=Et+St,at[tt+2]=Et-St,at[tt+3]=At-An,tt+=4,ae++}for(Ge=tt=0;4>Ge;++Ge)At=(ne=at[tt+0]+4)+at[tt+8],Et=ne-at[tt+8],St=(35468*at[tt+4]>>16)-tc(at[tt+12]),nu(ge,Fe,0,0,At+(An=tc(at[tt+4])+(35468*at[tt+12]>>16))),nu(ge,Fe,1,0,Et+St),nu(ge,Fe,2,0,Et-St),nu(ge,Fe,3,0,At-An),tt++,Fe+=32}function Wm(ne,ae,ge,Fe){var Ge=ne[ae+0]+4,tt=35468*ne[ae+4]>>16,at=tc(ne[ae+4]),At=35468*ne[ae+1]>>16;tl(ge,Fe,0,Ge+at,ne=tc(ne[ae+1]),At),tl(ge,Fe,1,Ge+tt,ne,At),tl(ge,Fe,2,Ge-tt,ne,At),tl(ge,Fe,3,Ge-at,ne,At)}function Gm(ne,ae,ge,Fe,Ge){S0(ne,ae,ge,Fe),Ge&&S0(ne,ae+16,ge,Fe+4)}function Qu(ne,ae,ge,Fe){Fd(ne,ae+0,ge,Fe,1),Fd(ne,ae+32,ge,Fe+128,1)}function N0(ne,ae,ge,Fe){var Ge;for(ne=ne[ae+0]+4,Ge=0;4>Ge;++Ge)for(ae=0;4>ae;++ae)nu(ge,Fe,ae,Ge,ne)}function j0(ne,ae,ge,Fe){ne[ae+0]&&qi(ne,ae+0,ge,Fe),ne[ae+16]&&qi(ne,ae+16,ge,Fe+4),ne[ae+32]&&qi(ne,ae+32,ge,Fe+128),ne[ae+48]&&qi(ne,ae+48,ge,Fe+128+4)}function sf(ne,ae,ge,Fe){var Ge,tt=te(16);for(Ge=0;4>Ge;++Ge){var at=ne[ae+0+Ge]+ne[ae+12+Ge],At=ne[ae+4+Ge]+ne[ae+8+Ge],Et=ne[ae+4+Ge]-ne[ae+8+Ge],St=ne[ae+0+Ge]-ne[ae+12+Ge];tt[0+Ge]=at+At,tt[8+Ge]=at-At,tt[4+Ge]=St+Et,tt[12+Ge]=St-Et}for(Ge=0;4>Ge;++Ge)at=(ne=tt[0+4*Ge]+3)+tt[3+4*Ge],At=tt[1+4*Ge]+tt[2+4*Ge],Et=tt[1+4*Ge]-tt[2+4*Ge],St=ne-tt[3+4*Ge],ge[Fe+0]=at+At>>3,ge[Fe+16]=St+Et>>3,ge[Fe+32]=at-At>>3,ge[Fe+48]=St-Et>>3,Fe+=64}function hd(ne,ae,ge){var Fe,Ge=ae-32,tt=Wl,at=255-ne[Ge-1];for(Fe=0;Fege;++ge)x(ne,ae+32*ge,ne,ae-32,16)}function L0(ne,ae){var ge;for(ge=16;0Fe;++Fe)z(ae,ge+32*Fe,ne,16)}function Km(ne,ae){var ge,Fe=16;for(ge=0;16>ge;++ge)Fe+=ne[ae-1+32*ge]+ne[ae+ge-32];pu(Fe>>5,ne,ae)}function gd(ne,ae){var ge,Fe=8;for(ge=0;16>ge;++ge)Fe+=ne[ae-1+32*ge];pu(Fe>>4,ne,ae)}function Jf(ne,ae){var ge,Fe=8;for(ge=0;16>ge;++ge)Fe+=ne[ae+ge-32];pu(Fe>>4,ne,ae)}function Jm(ne,ae){pu(128,ne,ae)}function Zo(ne,ae,ge){return ne+2*ae+ge+2>>2}function qm(ne,ae){var ge,Fe=ae-32;for(Fe=new Uint8Array([Zo(ne[Fe-1],ne[Fe+0],ne[Fe+1]),Zo(ne[Fe+0],ne[Fe+1],ne[Fe+2]),Zo(ne[Fe+1],ne[Fe+2],ne[Fe+3]),Zo(ne[Fe+2],ne[Fe+3],ne[Fe+4])]),ge=0;4>ge;++ge)x(ne,ae+32*ge,Fe,0,Fe.length)}function _m(ne,ae){var ge=ne[ae-1],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1+96];Ur(ne,ae+0,16843009*Zo(ne[ae-1-32],ge,Fe)),Ur(ne,ae+32,16843009*Zo(ge,Fe,Ge)),Ur(ne,ae+64,16843009*Zo(Fe,Ge,tt)),Ur(ne,ae+96,16843009*Zo(Ge,tt,tt))}function $m(ne,ae){var ge,Fe=4;for(ge=0;4>ge;++ge)Fe+=ne[ae+ge-32]+ne[ae-1+32*ge];for(Fe>>=3,ge=0;4>ge;++ge)z(ne,ae+32*ge,Fe,4)}function nc(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+96]=Zo(Fe,Ge,ne[ae-1+96]),ne[ae+1+96]=ne[ae+0+64]=Zo(ge,Fe,Ge),ne[ae+2+96]=ne[ae+1+64]=ne[ae+0+32]=Zo(tt,ge,Fe),ne[ae+3+96]=ne[ae+2+64]=ne[ae+1+32]=ne[ae+0+0]=Zo(at,tt,ge),ne[ae+3+64]=ne[ae+2+32]=ne[ae+1+0]=Zo(At,at,tt),ne[ae+3+32]=ne[ae+2+0]=Zo(Et,At,at),ne[ae+3+0]=Zo(St,Et,At)}function rc(ne,ae){var ge=ne[ae+1-32],Fe=ne[ae+2-32],Ge=ne[ae+3-32],tt=ne[ae+4-32],at=ne[ae+5-32],At=ne[ae+6-32],Et=ne[ae+7-32];ne[ae+0+0]=Zo(ne[ae+0-32],ge,Fe),ne[ae+1+0]=ne[ae+0+32]=Zo(ge,Fe,Ge),ne[ae+2+0]=ne[ae+1+32]=ne[ae+0+64]=Zo(Fe,Ge,tt),ne[ae+3+0]=ne[ae+2+32]=ne[ae+1+64]=ne[ae+0+96]=Zo(Ge,tt,at),ne[ae+3+32]=ne[ae+2+64]=ne[ae+1+96]=Zo(tt,at,At),ne[ae+3+64]=ne[ae+2+96]=Zo(at,At,Et),ne[ae+3+96]=Zo(At,Et,Et)}function eh(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+0]=ne[ae+1+64]=tt+at+1>>1,ne[ae+1+0]=ne[ae+2+64]=at+At+1>>1,ne[ae+2+0]=ne[ae+3+64]=At+Et+1>>1,ne[ae+3+0]=Et+St+1>>1,ne[ae+0+96]=Zo(Ge,Fe,ge),ne[ae+0+64]=Zo(Fe,ge,tt),ne[ae+0+32]=ne[ae+1+96]=Zo(ge,tt,at),ne[ae+1+32]=ne[ae+2+96]=Zo(tt,at,At),ne[ae+2+32]=ne[ae+3+96]=Zo(at,At,Et),ne[ae+3+32]=Zo(At,Et,St)}function th(ne,ae){var ge=ne[ae+0-32],Fe=ne[ae+1-32],Ge=ne[ae+2-32],tt=ne[ae+3-32],at=ne[ae+4-32],At=ne[ae+5-32],Et=ne[ae+6-32],St=ne[ae+7-32];ne[ae+0+0]=ge+Fe+1>>1,ne[ae+1+0]=ne[ae+0+64]=Fe+Ge+1>>1,ne[ae+2+0]=ne[ae+1+64]=Ge+tt+1>>1,ne[ae+3+0]=ne[ae+2+64]=tt+at+1>>1,ne[ae+0+32]=Zo(ge,Fe,Ge),ne[ae+1+32]=ne[ae+0+96]=Zo(Fe,Ge,tt),ne[ae+2+32]=ne[ae+1+96]=Zo(Ge,tt,at),ne[ae+3+32]=ne[ae+2+96]=Zo(tt,at,At),ne[ae+3+64]=Zo(at,At,Et),ne[ae+3+96]=Zo(At,Et,St)}function lf(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1+96];ne[ae+0+0]=ge+Fe+1>>1,ne[ae+2+0]=ne[ae+0+32]=Fe+Ge+1>>1,ne[ae+2+32]=ne[ae+0+64]=Ge+tt+1>>1,ne[ae+1+0]=Zo(ge,Fe,Ge),ne[ae+3+0]=ne[ae+1+32]=Zo(Fe,Ge,tt),ne[ae+3+32]=ne[ae+1+64]=Zo(Ge,tt,tt),ne[ae+3+64]=ne[ae+2+64]=ne[ae+0+96]=ne[ae+1+96]=ne[ae+2+96]=ne[ae+3+96]=tt}function qf(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1+96],at=ne[ae-1-32],At=ne[ae+0-32],Et=ne[ae+1-32],St=ne[ae+2-32];ne[ae+0+0]=ne[ae+2+32]=ge+at+1>>1,ne[ae+0+32]=ne[ae+2+64]=Fe+ge+1>>1,ne[ae+0+64]=ne[ae+2+96]=Ge+Fe+1>>1,ne[ae+0+96]=tt+Ge+1>>1,ne[ae+3+0]=Zo(At,Et,St),ne[ae+2+0]=Zo(at,At,Et),ne[ae+1+0]=ne[ae+3+32]=Zo(ge,at,At),ne[ae+1+32]=ne[ae+3+64]=Zo(Fe,ge,at),ne[ae+1+64]=ne[ae+3+96]=Zo(Ge,Fe,ge),ne[ae+1+96]=Zo(tt,Ge,Fe)}function pd(ne,ae){var ge;for(ge=0;8>ge;++ge)x(ne,ae+32*ge,ne,ae-32,8)}function nh(ne,ae){var ge;for(ge=0;8>ge;++ge)z(ne,ae,ne[ae-1],8),ae+=32}function ac(ne,ae,ge){var Fe;for(Fe=0;8>Fe;++Fe)z(ae,ge+32*Fe,ne,8)}function rh(ne,ae){var ge,Fe=8;for(ge=0;8>ge;++ge)Fe+=ne[ae+ge-32]+ne[ae-1+32*ge];ac(Fe>>4,ne,ae)}function _f(ne,ae){var ge,Fe=4;for(ge=0;8>ge;++ge)Fe+=ne[ae+ge-32];ac(Fe>>3,ne,ae)}function $f(ne,ae){var ge,Fe=4;for(ge=0;8>ge;++ge)Fe+=ne[ae-1+32*ge];ac(Fe>>3,ne,ae)}function M0(ne,ae){ac(128,ne,ae)}function oc(ne,ae,ge){var Fe=ne[ae-ge],Ge=ne[ae+0],tt=3*(Ge-Fe)+ah[1020+ne[ae-2*ge]-ne[ae+ge]],at=H0[112+(tt+4>>3)];ne[ae-ge]=Wl[255+Fe+H0[112+(tt+3>>3)]],ne[ae+0]=Wl[255+Ge-at]}function eA(ne,ae,ge,Fe){var Ge=ne[ae+0],tt=ne[ae+ge];return ou[255+ne[ae-2*ge]-ne[ae-ge]]>Fe||ou[255+tt-Ge]>Fe}function uf(ne,ae,ge,Fe){return 4*ou[255+ne[ae-ge]-ne[ae+0]]+ou[255+ne[ae-2*ge]-ne[ae+ge]]<=Fe}function tA(ne,ae,ge,Fe,Ge){var tt=ne[ae-3*ge],at=ne[ae-2*ge],At=ne[ae-ge],Et=ne[ae+0],St=ne[ae+ge],An=ne[ae+2*ge],Qn=ne[ae+3*ge];return 4*ou[255+At-Et]+ou[255+at-St]>Fe?0:ou[255+ne[ae-4*ge]-tt]<=Ge&&ou[255+tt-at]<=Ge&&ou[255+at-At]<=Ge&&ou[255+Qn-An]<=Ge&&ou[255+An-St]<=Ge&&ou[255+St-Et]<=Ge}function vd(ne,ae,ge,Fe){var Ge=2*Fe+1;for(Fe=0;16>Fe;++Fe)uf(ne,ae+Fe,ge,Ge)&&oc(ne,ae+Fe,ge)}function nA(ne,ae,ge,Fe){var Ge=2*Fe+1;for(Fe=0;16>Fe;++Fe)uf(ne,ae+Fe*ge,1,Ge)&&oc(ne,ae+Fe*ge,1)}function O0(ne,ae,ge,Fe){var Ge;for(Ge=3;0>7,lr=18*hr+63>>7,hr=9*hr+63>>7;Et[St-3*An]=Wl[255+Et[St-3*An]+hr],Et[St-2*An]=Wl[255+Qn+lr],Et[St-An]=Wl[255+Nt+On],Et[St+0]=Wl[255+vn-On],Et[St+An]=Wl[255+Dn-lr],Et[St+2*An]=Wl[255+or-hr]}ae+=Fe}}function sc(ne,ae,ge,Fe,Ge,tt,at,At){for(tt=2*tt+1;0>3)],or=H0[112+(or+3>>3)],On=Dn+1>>1;Et[St-2*An]=Wl[255+Et[St-2*An]+On],Et[St-An]=Wl[255+Qn+or],Et[St+0]=Wl[255+Nt-Dn],Et[St+An]=Wl[255+vn-On]}ae+=Fe}}function k0(ne,ae,ge,Fe,Ge,tt){ic(ne,ae,ge,1,16,Fe,Ge,tt)}function Ed(ne,ae,ge,Fe,Ge,tt){ic(ne,ae,1,ge,16,Fe,Ge,tt)}function T0(ne,ae,ge,Fe,Ge,tt){var at;for(at=3;0St?0:255:St)&255,St=Et,Ge[tt+At]=An}}function ms(ne,ae,ge,Fe){var Ge=ae.width,tt=ae.o;if(y(ne!=null&&ae!=null),0>ge||0>=Fe||ge+Fe>tt)return null;if(!ne.Cc){if(ne.ga==null){var at;if(ne.ga=new $o,(at=ne.ga==null)||(at=ae.width*ae.o,y(ne.Gb.length==0),ne.Gb=te(at),ne.Uc=0,ne.Gb==null?at=0:(ne.mb=ne.Gb,ne.nb=ne.Uc,ne.rc=null,at=1),at=!at),!at){at=ne.ga;var At=ne.Fa,Et=ne.P,St=ne.qc,An=ne.mb,Qn=ne.nb,Nt=Et+1,vn=St-1,Dn=at.l;if(y(At!=null&&An!=null&&ae!=null),Vc[0]=null,Vc[1]=ki,Vc[2]=bs,Vc[3]=Ks,at.ca=An,at.tb=Qn,at.c=ae.width,at.i=ae.height,y(0=St)ae=0;else if(at.$a=3&At[Et+0],at.Z=At[Et+0]>>2&3,at.Lc=At[Et+0]>>4&3,Et=At[Et+0]>>6&3,0>at.$a||1=at.c*at.i;at=!ae}if(at)return null;ne.ga.Lc!=1?ne.Ga=0:Fe=tt-ge}y(ne.ga!=null),y(ge+Fe<=tt);e:{if(ae=(At=ne.ga).c,tt=At.l.o,At.$a==0){if(Nt=ne.rc,vn=ne.Vc,Dn=ne.Fa,Et=ne.P+1+ge*ae,St=ne.mb,An=ne.nb+ge*ae,y(Et<=ne.P+ne.qc),At.Z!=0)for(y(Vc[At.Z]!=null),at=0;at=ae)ae=1;else if(At.ic||vu(),At.ic){At=at.V,Nt=at.Ba,vn=at.c;var or=at.i,On=(Dn=1,Et=at.$/vn,St=at.$%vn,An=at.m,Qn=at.s,at.$),lr=vn*or,hr=vn*ae,kr=Qn.wc,Dr=On(or=Ns(Dr.G[0],Dr.H[0],An)))At[Nt+On]=or,++On,++St>=vn&&(St=0,++Et<=ae&&!(Et%16)&&hu(at,Et));else{if(!(280>or)){Dn=0;break t}or=_l(or-256,An);var qa,Sa=Ns(Dr.G[4],Dr.H[4],An);if(Sn(An),!(On>=(Sa=$l(vn,Sa=_l(Sa,An)))&&lr-On>=or)){Dn=0;break t}for(qa=0;qa=vn;)St-=vn,++Et<=ae&&!(Et%16)&&hu(at,Et);Onae?ae:Et);break t}!Dn||An.h&&On=tt&&(ne.Cc=1),Fe=1}if(!Fe)return null;if(ne.Cc&&((Fe=ne.ga)!=null&&(Fe.mc=null),ne.ga=null,0>23,At[Et+4*at+1]=At[Et+4*at+1]*Qn>>23,At[Et+4*at+2]=At[Et+4*at+2]*Qn>>23)}ae+=tt}}function Js(ne,ae,ge,Fe,Ge){for(;0>4)*Et>>16;ne[ae+2*tt+0]=(240&at|at>>4)*Et>>16&240|(15&at|at<<4)*Et>>16>>4&15,ne[ae+2*tt+1]=240&St|At}ae+=Ge}}function fl(ne,ae,ge,Fe,Ge,tt,at,At){var Et,St,An=255;for(St=0;St>8}function vu(){mA=nl,Og=Js,Rg=fl,kg=lc}function uc(ne,ae,ge){Ut[ne]=function(Fe,Ge,tt,at,At,Et,St,An,Qn,Nt,vn,Dn,or,On,lr,hr,kr){var Dr,qa=kr-1>>1,Sa=At[Et+0]|St[An+0]<<16,ni=Qn[Nt+0]|vn[Dn+0]<<16;y(Fe!=null);var Qa=3*Sa+ni+131074>>2;for(ae(Fe[Ge+0],255&Qa,Qa>>16,or,On),tt!=null&&(Qa=3*ni+Sa+131074>>2,ae(tt[at+0],255&Qa,Qa>>16,lr,hr)),Dr=1;Dr<=qa;++Dr){var Pi=At[Et+Dr]|St[An+Dr]<<16,al=Qn[Nt+Dr]|vn[Dn+Dr]<<16,ri=Sa+Pi+ni+al+524296,za=ri+2*(Pi+ni)>>3;Qa=za+Sa>>1,Sa=(ri=ri+2*(Sa+al)>>3)+Pi>>1,ae(Fe[Ge+2*Dr-1],255&Qa,Qa>>16,or,On+(2*Dr-1)*ge),ae(Fe[Ge+2*Dr-0],255&Sa,Sa>>16,or,On+(2*Dr-0)*ge),tt!=null&&(Qa=ri+ni>>1,Sa=za+al>>1,ae(tt[at+2*Dr-1],255&Qa,Qa>>16,lr,hr+(2*Dr-1)*ge),ae(tt[at+2*Dr+0],255&Sa,Sa>>16,lr,hr+(2*Dr+0)*ge)),Sa=Pi,ni=al}1&kr||(Qa=3*Sa+ni+131074>>2,ae(Fe[Ge+kr-1],255&Qa,Qa>>16,or,On+(kr-1)*ge),tt!=null&&(Qa=3*ni+Sa+131074>>2,ae(tt[at+kr-1],255&Qa,Qa>>16,lr,hr+(kr-1)*ge)))}}function rA(){iu[Z0]=r1,iu[W0]=Yg,iu[Zg]=a1,iu[G0]=Kg,iu[V0]=Jg,iu[oh]=qg,iu[Wg]=o1,iu[ih]=Yg,iu[sh]=Kg,iu[X0]=Jg,iu[lh]=qg}function cf(ne){return ne&~i1?0>ne?0:255:ne>>_g}function Rc(ne,ae){return cf((19077*ne>>8)+(26149*ae>>8)-14234)}function yd(ne,ae,ge){return cf((19077*ne>>8)-(6419*ae>>8)-(13320*ge>>8)+8708)}function Cd(ne,ae){return cf((19077*ne>>8)+(33050*ae>>8)-17685)}function kc(ne,ae,ge,Fe,Ge){Fe[Ge+0]=Rc(ne,ge),Fe[Ge+1]=yd(ne,ae,ge),Fe[Ge+2]=Cd(ne,ae)}function Al(ne,ae,ge,Fe,Ge){Fe[Ge+0]=Cd(ne,ae),Fe[Ge+1]=yd(ne,ae,ge),Fe[Ge+2]=Rc(ne,ge)}function wd(ne,ae,ge,Fe,Ge){var tt=yd(ne,ae,ge);ae=tt<<3&224|Cd(ne,ae)>>3,Fe[Ge+0]=248&Rc(ne,ge)|tt>>5,Fe[Ge+1]=ae}function bd(ne,ae,ge,Fe,Ge){var tt=240&Cd(ne,ae)|15;Fe[Ge+0]=240&Rc(ne,ge)|yd(ne,ae,ge)>>4,Fe[Ge+1]=tt}function aA(ne,ae,ge,Fe,Ge){Fe[Ge+0]=255,kc(ne,ae,ge,Fe,Ge+1)}function oA(ne,ae,ge,Fe,Ge){Al(ne,ae,ge,Fe,Ge),Fe[Ge+3]=255}function Sl(ne,ae,ge,Fe,Ge){kc(ne,ae,ge,Fe,Ge),Fe[Ge+3]=255}function cc(ne,ae,ge){Ut[ne]=function(Fe,Ge,tt,at,At,Et,St,An,Qn){for(var Nt=An+(-2&Qn)*ge;An!=Nt;)ae(Fe[Ge+0],tt[at+0],At[Et+0],St,An),ae(Fe[Ge+1],tt[at+0],At[Et+0],St,An+ge),Ge+=2,++at,++Et,An+=2*ge;1&Qn&&ae(Fe[Ge+0],tt[at+0],At[Et+0],St,An)}}function df(ne,ae,ge){return ge==0?ne==0?ae==0?6:5:ae==0?4:0:ge}function Q0(ne,ae,ge,Fe,Ge){switch(ne>>>30){case 3:Fd(ae,ge,Fe,Ge,0);break;case 2:au(ae,ge,Fe,Ge);break;case 1:qi(ae,ge,Fe,Ge)}}function ru(ne,ae){var ge,Fe,Ge=ae.M,tt=ae.Nb,at=ne.oc,At=ne.pc+40,Et=ne.oc,St=ne.pc+584,An=ne.oc,Qn=ne.pc+600;for(ge=0;16>ge;++ge)at[At+32*ge-1]=129;for(ge=0;8>ge;++ge)Et[St+32*ge-1]=129,An[Qn+32*ge-1]=129;for(0ge;++ge)x(at,At+32*ge-4,at,At+32*ge+12,4);for(ge=-1;8>ge;++ge)x(Et,St+32*ge-4,Et,St+32*ge+4,4),x(An,Qn+32*ge-4,An,Qn+32*ge+4,4)}var vn=ne.Gd,Dn=ne.Hd+Fe,or=Nt.ad,On=Nt.Hc;if(0=ne.za-1?z(lr,hr,vn[Dn].y[15],4):x(lr,hr,vn[Dn+1].y,0,4)),ge=0;4>ge;ge++)lr[hr+128+ge]=lr[hr+256+ge]=lr[hr+384+ge]=lr[hr+0+ge];for(ge=0;16>ge;++ge,On<<=2)lr=at,hr=At+ep[ge],Eu[Nt.Ob[ge]](lr,hr),Q0(On,or,16*+ge,lr,hr)}else if(lr=df(Fe,Ge,Nt.Ob[0]),Gc[lr](at,At),On!=0)for(ge=0;16>ge;++ge,On<<=2)Q0(On,or,16*+ge,at,At+ep[ge]);for(ge=Nt.Gc,lr=df(Fe,Ge,Nt.Dd),Ac[lr](Et,St),Ac[lr](An,Qn),On=or,lr=Et,hr=St,255&(Nt=0|ge)&&(170&Nt?Hu(On,256,lr,hr):os(On,256,lr,hr)),Nt=An,On=Qn,255&(ge>>=8)&&(170&ge?Hu(or,320,Nt,On):os(or,320,Nt,On)),Gege;++ge)x(vn,Dn+ge*ne.R,at,At+32*ge,16);for(ge=0;8>ge;++ge)x(or,Nt+ge*ne.B,Et,St+32*ge,8),x(On,lr+ge*ne.B,An,Qn+32*ge,8)}}function Bd(ne,ae,ge,Fe,Ge,tt,at,At,Et){var St=[0],An=[0],Qn=0,Nt=Et!=null?Et.kd:0,vn=Et!=null?Et:new Pr;if(ne==null||12>ge)return 7;vn.data=ne,vn.w=ae,vn.ha=ge,ae=[ae],ge=[ge],vn.gb=[vn.gb];e:{var Dn=ae,or=ge,On=vn.gb;if(y(ne!=null),y(or!=null),y(On!=null),On[0]=0,12<=or[0]&&!E(ne,Dn[0],"RIFF")){if(E(ne,Dn[0]+8,"WEBP")){On=3;break e}var lr=mo(ne,Dn[0]+4);if(12>lr||4294967286or[0]-8){On=7;break e}On[0]=lr,Dn[0]+=12,or[0]-=12}On=0}if(On!=0)return On;for(lr=0On[0])On=7;else{if(!E(hr,or[0],"VP8X")){if(mo(hr,or[0]+4)!=10){On=3;break e}if(18>On[0]){On=7;break e}var Sa=mo(hr,or[0]+8),ni=1+Aa(hr,or[0]+12);if(2147483648<=ni*(hr=1+Aa(hr,or[0]+15))){On=3;break e}qa!=null&&(qa[0]=Sa),kr!=null&&(kr[0]=ni),Dr!=null&&(Dr[0]=hr),or[0]+=18,On[0]-=18,Qa[0]=1}On=0}}if(Qn=Qn[0],Dn=Dn[0],On!=0)return On;if(or=!!(2&Dn),!lr&&Qn)return 3;if(tt!=null&&(tt[0]=!!(16&Dn)),at!=null&&(at[0]=or),At!=null&&(At[0]=0),at=St[0],Dn=An[0],Qn&&or&&Et==null){On=0;break}if(4>ge){On=7;break}if(lr&&Qn||!lr&&!Qn&&!E(ne,ae[0],"ALPH")){ge=[ge],vn.na=[vn.na],vn.P=[vn.P],vn.Sa=[vn.Sa];e:{Sa=ne,On=ae,lr=ge;var Qa=vn.gb;kr=vn.na,Dr=vn.P,qa=vn.Sa,ni=22,y(Sa!=null),y(lr!=null),hr=On[0];var Pi=lr[0];for(y(kr!=null),y(qa!=null),kr[0]=null,Dr[0]=null,qa[0]=0;;){if(On[0]=hr,lr[0]=Pi,8>Pi){On=7;break e}var al=mo(Sa,hr+4);if(4294967286Qa){On=3;break e}if(!E(Sa,hr,"VP8 ")||!E(Sa,hr,"VP8L")){On=0;break e}if(Pi[0]lr[0])On=7;else{if(hr||ni){if(Qa=mo(Qa,Sa+4),12<=kr&&Qa>kr-12){On=3;break e}if(Nt&&Qa>lr[0]-8){On=7;break e}Dr[0]=Qa,On[0]+=8,lr[0]-=8,qa[0]=ni}else qa[0]=5<=lr[0]&&Qa[Sa+0]==47&&!(Qa[Sa+4]>>5),Dr[0]=lr[0];On=0}if(ge=ge[0],vn.Ja=vn.Ja[0],vn.xa=vn.xa[0],ae=ae[0],On!=0)break;if(4294967286ge){On=7;break}At=at,Nt=Dn,or=tt,ne==null||5>ge?ne=0:5<=ge&&ne[ae+0]==47&&!(ne[ae+4]>>5)?(lr=[0],Qa=[0],kr=[0],rr(Dr=new kt,ne,ae,ge),ec(Dr,lr,Qa,kr)?(At!=null&&(At[0]=lr[0]),Nt!=null&&(Nt[0]=Qa[0]),or!=null&&(or[0]=kr[0]),ne=1):ne=0):ne=0}else{if(10>ge){On=7;break}At=Dn,ne==null||10>ge||!P0(ne,ae+3,ge-3)?ne=0:(Nt=ne[ae+0]|ne[ae+1]<<8|ne[ae+2]<<16,or=16383&(ne[ae+7]<<8|ne[ae+6]),ne=16383&(ne[ae+9]<<8|ne[ae+8]),1&Nt||3<(Nt>>1&7)||!(Nt>>4&1)||Nt>>5>=vn.Ja||!or||!ne?ne=0:(at&&(at[0]=or),At&&(At[0]=ne),ne=1))}if(!ne||(at=at[0],Dn=Dn[0],Qn&&(St[0]!=at||An[0]!=Dn)))return 3;Et!=null&&(Et[0]=vn,Et.offset=ae-Et.w,y(4294967286>ae-Et.w),y(Et.offset==Et.ha-ge));break}return On==0||On==7&&Qn&&Et==null?(tt!=null&&(tt[0]|=vn.na!=null&&0ge||(tt&=-2,at&=-2),0>tt||0>at||0>=At||0>=Et||tt+At>Fe||at+Et>Ge))return 0;if(ae.v=tt,ae.j=at,ae.va=tt+At,ae.o=at+Et,ae.U=At,ae.T=Et,ae.da=ne!=null&&0ne.S){var ae=ne.f.RGBA;ae.fb+=(ne.height-1)*ae.A,ae.A=-ae.A}else ae=ne.f.kb,ne=ne.height,ae.O+=(ne-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(ne-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(ne-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(ne-1)*ae.lb,ae.lb=-ae.lb);return 0}function Tc(ne,ae,ge,Fe){if(Fe==null||0>=ne||0>=ae)return 2;if(ge!=null){if(ge.Da){var Ge=ge.cd,tt=ge.bd,at=-2&ge.v,At=-2&ge.j;if(0>at||0>At||0>=Ge||0>=tt||at+Ge>ne||At+tt>ae)return 2;ne=Ge,ae=tt}if(ge.da){if(!Io(ne,ae,Ge=[ge.ib],tt=[ge.hb]))return 2;ne=Ge[0],ae=tt[0]}}Fe.width=ne,Fe.height=ae;e:{var Et=Fe.width,St=Fe.height;if(ne=Fe.S,0>=Et||0>=St||!(ne>=Z0&&13>ne))ne=2;else{if(0>=Fe.Rd&&Fe.sd==null){at=tt=Ge=ae=0;var An=(At=Et*tp[ne])*St;if(11>ne||(tt=(St+1)/2*(ae=(Et+1)/2),ne==12&&(at=(Ge=Et)*St)),(St=te(An+2*tt+at))==null){ne=1;break e}Fe.sd=St,11>ne?((Et=Fe.f.RGBA).eb=St,Et.fb=0,Et.A=At,Et.size=An):((Et=Fe.f.kb).y=St,Et.O=0,Et.fa=At,Et.Fd=An,Et.f=St,Et.N=0+An,Et.Ab=ae,Et.Cd=tt,Et.ea=St,Et.W=0+An+tt,Et.Db=ae,Et.Ed=tt,ne==12&&(Et.F=St,Et.J=0+An+2*tt),Et.Tc=at,Et.lb=Ge)}if(ae=1,Ge=Fe.S,tt=Fe.width,at=Fe.height,Ge>=Z0&&13>Ge)if(11>Ge)ne=Fe.f.RGBA,ae&=(At=Math.abs(ne.A))*(at-1)+tt<=ne.size,ae&=At>=tt*tp[Ge],ae&=ne.eb!=null;else{ne=Fe.f.kb,At=(tt+1)/2,An=(at+1)/2,Et=Math.abs(ne.fa),St=Math.abs(ne.Ab);var Qn=Math.abs(ne.Db),Nt=Math.abs(ne.lb),vn=Nt*(at-1)+tt;ae&=Et*(at-1)+tt<=ne.Fd,ae&=St*(An-1)+At<=ne.Cd,ae=(ae&=Qn*(An-1)+At<=ne.Ed)&Et>=tt&St>=At&Qn>=At,ae&=ne.y!=null,ae&=ne.f!=null,ae&=ne.ea!=null,Ge==12&&(ae&=Nt>=tt,ae&=vn<=ne.Tc,ae&=ne.F!=null)}else ae=0;ne=ae?0:2}}return ne!=0||ge!=null&&ge.fd&&(ne=sA(Fe)),ne}var xd=64,Hl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Zl=24,Qc=32,dc=8,zc=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];La("Predictor0","PredictorAdd0"),Ut.Predictor0=function(){return 4278190080},Ut.Predictor1=function(ne){return ne},Ut.Predictor2=function(ne,ae,ge){return ae[ge+0]},Ut.Predictor3=function(ne,ae,ge){return ae[ge+1]},Ut.Predictor4=function(ne,ae,ge){return ae[ge-1]},Ut.Predictor5=function(ne,ae,ge){return po(po(ne,ae[ge+1]),ae[ge+0])},Ut.Predictor6=function(ne,ae,ge){return po(ne,ae[ge-1])},Ut.Predictor7=function(ne,ae,ge){return po(ne,ae[ge+0])},Ut.Predictor8=function(ne,ae,ge){return po(ae[ge-1],ae[ge+0])},Ut.Predictor9=function(ne,ae,ge){return po(ae[ge+0],ae[ge+1])},Ut.Predictor10=function(ne,ae,ge){return po(po(ne,ae[ge-1]),po(ae[ge+0],ae[ge+1]))},Ut.Predictor11=function(ne,ae,ge){var Fe=ae[ge+0];return 0>=Vo(Fe>>24&255,ne>>24&255,(ae=ae[ge-1])>>24&255)+Vo(Fe>>16&255,ne>>16&255,ae>>16&255)+Vo(Fe>>8&255,ne>>8&255,ae>>8&255)+Vo(255&Fe,255&ne,255&ae)?Fe:ne},Ut.Predictor12=function(ne,ae,ge){var Fe=ae[ge+0];return(Ki((ne>>24&255)+(Fe>>24&255)-((ae=ae[ge-1])>>24&255))<<24|Ki((ne>>16&255)+(Fe>>16&255)-(ae>>16&255))<<16|Ki((ne>>8&255)+(Fe>>8&255)-(ae>>8&255))<<8|Ki((255&ne)+(255&Fe)-(255&ae)))>>>0},Ut.Predictor13=function(ne,ae,ge){var Fe=ae[ge-1];return(wi((ne=po(ne,ae[ge+0]))>>24&255,Fe>>24&255)<<24|wi(ne>>16&255,Fe>>16&255)<<16|wi(ne>>8&255,Fe>>8&255)<<8|wi(255&ne,255&Fe))>>>0};var lA=Ut.PredictorAdd0;Ut.PredictorAdd1=Fi,La("Predictor2","PredictorAdd2"),La("Predictor3","PredictorAdd3"),La("Predictor4","PredictorAdd4"),La("Predictor5","PredictorAdd5"),La("Predictor6","PredictorAdd6"),La("Predictor7","PredictorAdd7"),La("Predictor8","PredictorAdd8"),La("Predictor9","PredictorAdd9"),La("Predictor10","PredictorAdd10"),La("Predictor11","PredictorAdd11"),La("Predictor12","PredictorAdd12"),La("Predictor13","PredictorAdd13");var ff=Ut.PredictorAdd2;ro("ColorIndexInverseTransform","MapARGB","32b",function(ne){return ne>>8&255},function(ne){return ne}),ro("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(ne){return ne},function(ne){return ne>>8&255});var zs,z0=Ut.ColorIndexInverseTransform,zu=Ut.MapARGB,Uu=Ut.VP8LColorIndexInverseTransformAlpha,uA=Ut.MapAlpha,cA=Ut.VP8LPredictorsAdd=[];cA.length=16,(Ut.VP8LPredictors=[]).length=16,(Ut.VP8LPredictorsAdd_C=[]).length=16,(Ut.VP8LPredictors_C=[]).length=16;var dA,fA,Uc,Hc,Zc,Id,Wc,Fd,au,Hu,qi,os,Us,rl,fc,AA,Af,U0,Dg,Sg,Ng,jg,Lg,Mg,mA,Og,Rg,kg,Tg=te(511),Qg=te(2041),zg=te(225),Ug=te(767),Hg=0,ah=Qg,H0=zg,Wl=Ug,ou=Tg,Z0=0,W0=1,Zg=2,G0=3,V0=4,oh=5,Wg=6,ih=7,sh=8,X0=9,lh=10,Zv=[2,3,7],Wv=[3,3,11],Gg=[280,256,256,256,40],Gv=[0,1,1,1,0],Vv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Yv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Kv=8,uh=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ch=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],hA=null,Jv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],qv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Vg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],_v=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],$v=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],e1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],t1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Gc=[],Eu=[],Ac=[],n1=1,Xg=2,Vc=[],iu=[];uc("UpsampleRgbLinePair",kc,3),uc("UpsampleBgrLinePair",Al,3),uc("UpsampleRgbaLinePair",Sl,4),uc("UpsampleBgraLinePair",oA,4),uc("UpsampleArgbLinePair",aA,4),uc("UpsampleRgba4444LinePair",bd,2),uc("UpsampleRgb565LinePair",wd,2);var r1=Ut.UpsampleRgbLinePair,a1=Ut.UpsampleBgrLinePair,Yg=Ut.UpsampleRgbaLinePair,Kg=Ut.UpsampleBgraLinePair,Jg=Ut.UpsampleArgbLinePair,qg=Ut.UpsampleRgba4444LinePair,o1=Ut.UpsampleRgb565LinePair,Y0=16,K0=1<Fe.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Fe.ca.f.kb.F!=null&&vu()),Fe.Pb&&0(Et=ge.Md)?0:100St;++St)12>(Qn=Ge.pb[St]).lc&&(Qn.ia=Et*A1[0>Qn.lc?0:Qn.lc]>>3),An|=Qn.ia;An&&(alert("todo:VP8InitRandom"),Ge.ia=1)}Ge.Ga=ge.Id,100Ge.Ga&&(Ge.Ga=0)}(function(Nt,vn){if(Nt==null)return 0;if(vn==null)return Ys(Nt,2,"NULL VP8Io parameter in VP8Decode().");if(!Nt.cb&&!Tu(Nt,vn))return 0;if(y(Nt.cb),vn.ac==null||vn.ac(vn)){vn.ob&&(Nt.L=0);var Dn=J0[Nt.L];if(Nt.L==2?(Nt.yb=0,Nt.zb=0):(Nt.yb=vn.v-Dn>>4,Nt.zb=vn.j-Dn>>4,0>Nt.yb&&(Nt.yb=0),0>Nt.zb&&(Nt.zb=0)),Nt.Va=vn.o+15+Dn>>4,Nt.Hb=vn.va+15+Dn>>4,Nt.Hb>Nt.za&&(Nt.Hb=Nt.za),Nt.Va>Nt.Ub&&(Nt.Va=Nt.Ub),0Dn;++Dn){var On;if(Nt.Qa.Cb){var lr=Nt.Qa.Lb[Dn];Nt.Qa.Fb||(lr+=or.Tb)}else lr=or.Tb;for(On=0;1>=On;++On){var hr=Nt.gd[Dn][On],kr=lr;if(or.Pc&&(kr+=or.vd[0],On&&(kr+=or.od[0])),0<(kr=0>kr?0:63>2:Dr>>1)>9-or.wb&&(Dr=9-or.wb),1>Dr&&(Dr=1),hr.dd=Dr,hr.tc=2*kr+Dr,hr.ld=40<=kr?2:15<=kr?1:0}else hr.tc=0;hr.La=On}}}Dn=0}else Ys(Nt,6,"Frame setup failed"),Dn=Nt.a;if(Dn=Dn==0){if(Dn){Nt.$c=0,0Nt.Vb){if(Nt.Vb=0,Nt.Ec=te(hr),Nt.Fc=0,Nt.Ec==null){Dn=Ys(Nt,1,"no memory during frame initialization.");break t}Nt.Vb=hr}hr=Nt.Ec,kr=Nt.Fc,Nt.Ac=hr,Nt.Bc=kr,kr+=or,Nt.Gd=ie(qa,I0),Nt.Hd=0,Nt.rb=ie(Sa+1,Xf),Nt.sb=1,Nt.wa=ni?ie(ni,tu):null,Nt.Y=0,Nt.D.Nb=0,Nt.D.wa=Nt.wa,Nt.D.Y=Nt.Y,0=Dn;++Dn)Tg[255+Dn]=0>Dn?-Dn:Dn;for(Dn=-1020;1020>=Dn;++Dn)Qg[1020+Dn]=-128>Dn?-128:127=Dn;++Dn)zg[112+Dn]=-16>Dn?-16:15=Dn;++Dn)Ug[255+Dn]=0>Dn?0:255Ni;++Ni){var ol,Ti=Nl[0+Ni];for(ol=0;4>ol;++ol){Ti=$v[vs[ml+ol]][Ti];for(var _i=Vg[Er(Yo,Ti[0])];0<_i;)_i=Vg[2*_i+Er(Yo,Ti[_i])];Ti=-_i,vs[ml+ol]=Ti}x(Pl,jl,vs,ml,4),jl+=4,Nl[0+Ni]=Ti}}else Ti=Er(Yo,156)?Er(Yo,128)?1:3:Er(Yo,163)?2:0,js.Ob[0]=Ti,z(vs,ml,Ti,4),z(Nl,0,Ti,4);js.Dd=Er(Yo,142)?Er(Yo,114)?Er(Yo,183)?1:3:2:0}if(Hs.m.Ka)return Ys(Pi,7,"Premature end-of-partition0 encountered.");for(;Pi.ja>3;for(_i=0;256>_i;_i+=16)Ni[Pl+_i]=kl}hl=1,yu=ml[0]}var is=15&Yo.la,il=15&jl.la;for(_i=0;4>_i;++_i){var Gl=1&il;for(kl=$i=0;4>kl;++kl)is=is>>1|(Gl=(Zs=hA(vs,yu,Zs=Gl+(1&is),js.Sc,hl,Ni,Pl))>hl)<<7,$i=$i<<2|(3>=4,il=il>>1|Gl<<7,ol=(ol<<8|$i)>>>0}for(yu=is,hl=il>>4,Ls=0;4>Ls;Ls+=2){for($i=0,is=Yo.la>>4+Ls,il=jl.la>>4+Ls,_i=0;2>_i;++_i){for(Gl=1&il,kl=0;2>kl;++kl)Zs=Gl+(1&is),is=is>>1|(Gl=0<(Zs=hA(vs,ml[2],Zs,js.Qc,0,Ni,Pl)))<<3,$i=$i<<2|(3>=2,il=il>>1|Gl<<5}Ti|=$i<<4*Ls,yu|=is<<4<=za.zb&&za.M<=za.Va,za.Aa==0)t:{if(ri.M=za.M,ri.uc=Yo,ru(za,ri),Hs=1,ri=($i=za.D).Nb,Yo=(Ti=J0[za.L])*za.R,vs=Ti/2*za.B,_i=16*ri*za.R,kl=8*ri*za.B,ml=za.sa,Nl=za.ta-Yo+_i,js=za.qa,Ni=za.ra-vs+kl,Pl=za.Ha,jl=za.Ia-vs+kl,il=(is=$i.M)==0,ol=is>=za.Va-1,za.Aa==2&&ru(za,$i),$i.uc)for(Gl=(Zs=za).D.M,y(Zs.D.uc),$i=Zs.yb;$ica.o&&(is=ca.o),ca.F=null,ca.J=null,za.Fa!=null&&0>1),ca.W+=za.B*(Ti>>1),ca.F!=null&&(ca.J+=ca.width*Ti)),$i>1,ca.W+=ca.v>>1,ca.F!=null&&(ca.J+=ca.v),ca.ka=$i-ca.j,ca.U=ca.va-ca.v,ca.T=is-$i,Hs=ca.put(ca))}ri+1!=za.Ic||ol||(x(za.sa,za.ta-Yo,ml,Nl+16*za.R,Yo),x(za.qa,za.ra-vs,js,Ni+8*za.B,vs),x(za.Ha,za.Ia-vs,Pl,jl+8*za.B,vs))}if(!Hs)return Ys(Pi,6,"Output aborted.")}return 1}(Nt,vn)),vn.bc!=null&&vn.bc(vn),Dn&=1}return Dn?(Nt.cb=0,Dn):0})(ne,Fe)||(ae=ne.a)}}else ae=ne.a}ae==0&&at.Oa!=null&&at.Oa.fd&&(ae=sA(at.ba))}at=ae}tt=at!=0?null:11>tt?At.f.RGBA.eb:At.f.kb.y}else tt=null;return tt};var tp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function de(Ut,Pn){for(var lt="",Ft=0;Ft<4;Ft++)lt+=String.fromCharCode(Ut[Pn++]);return lt}function Ee(Ut,Pn){return Ut[Pn+0]|Ut[Pn+1]<<8}function He(Ut,Pn){return(Ut[Pn+0]|Ut[Pn+1]<<8|Ut[Pn+2]<<16)>>>0}function _e(Ut,Pn){return(Ut[Pn+0]|Ut[Pn+1]<<8|Ut[Pn+2]<<16|Ut[Pn+3]<<24)>>>0}new ue;var ve=[0],xt=[0],Ct=[],It=new ue,dt=a,sn=function(Ut,Pn){var lt={},Ft=0,on=!1,en=0,Wn=0;if(lt.frames=[],!function(it,kt){for(var Jt=0;Jt<4;Jt++)if(it[kt+Jt]!="RIFF".charCodeAt(Jt))return!0;return!1}(Ut,Pn)){for(_e(Ut,Pn+=4),Pn+=8;Pn>1&1}Yn!="ANMF"&&(Pn+=kn)}return lt}}(dt,0);sn.response=dt,sn.rgbaoutput=!0,sn.dataurl=!1;var _t=sn.header?sn.header:null,zt=sn.frames?sn.frames:null;if(_t){_t.loop_counter=_t.loop_count,ve=[_t.canvas_height],xt=[_t.canvas_width];for(var Un=0;Un=2?Pt[1]:ha[0],ha[2]=Pt.length>=3?Pt[2]:ha[0],ha[3]=Pt.length>=4?Pt[3]:ha[1]),de.margin=ha}});var Jn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Jn},set:function(Pt){Jn=Pt}});var tr=0;Object.defineProperty(this,"lastBreak",{get:function(){return tr},set:function(Pt){tr=Pt}});var Er=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Er},set:function(Pt){Er=Pt}}),Object.defineProperty(this,"ctx",{get:function(){return de},set:function(Pt){Pt instanceof Ee&&(de=Pt)}}),Object.defineProperty(this,"path",{get:function(){return de.path},set:function(Pt){de.path=Pt}});var Ur=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ur},set:function(Pt){Ur=Pt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Pt){var ha;ha=_e(Pt),this.ctx.fillStyle=ha.style,this.ctx.isFillTransparent=ha.a===0,this.ctx.fillOpacity=ha.a,this.pdf.setFillColor(ha.r,ha.g,ha.b,{a:ha.a}),this.pdf.setTextColor(ha.r,ha.g,ha.b,{a:ha.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Pt){var ha=_e(Pt);this.ctx.strokeStyle=ha.style,this.ctx.isStrokeTransparent=ha.a===0,this.ctx.strokeOpacity=ha.a,ha.a===0?this.pdf.setDrawColor(255,255,255):(ha.a,this.pdf.setDrawColor(ha.r,ha.g,ha.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Pt){["butt","round","square"].indexOf(Pt)!==-1&&(this.ctx.lineCap=Pt,this.pdf.setLineCap(Pt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Pt){isNaN(Pt)||(this.ctx.lineWidth=Pt,this.pdf.setLineWidth(Pt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Pt){["bevel","round","miter"].indexOf(Pt)!==-1&&(this.ctx.lineJoin=Pt,this.pdf.setLineJoin(Pt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Pt){isNaN(Pt)||(this.ctx.miterLimit=Pt,this.pdf.setMiterLimit(Pt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Pt){this.ctx.textBaseline=Pt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Pt){["right","end","center","left","start"].indexOf(Pt)!==-1&&(this.ctx.textAlign=Pt)}});var ma=null,Aa=null,mo=null;Object.defineProperty(this,"fontFaces",{get:function(){return mo},set:function(Pt){ma=null,Aa=null,mo=Pt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Pt){var ha;if(this.ctx.font=Pt,(ha=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Pt))!==null){var ci=ha[1];ha[2];var Io=ha[3],Mr=ha[4];ha[5];var Fo=ha[6],La=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Mr)[2];Mr=Math.floor(La==="px"?parseFloat(Mr)*this.pdf.internal.scaleFactor:La==="em"?parseFloat(Mr)*this.pdf.getFontSize():parseFloat(Mr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Mr);var Bo=function(ro){var Qs,Ri,Ai=[],mi=ro.trim();if(mi==="")return Qm;if(mi in ug)return[ug[mi]];for(;mi!=="";){switch(Ri=null,Qs=(mi=dg(mi)).charAt(0)){case'"':case"'":Ri=wv(mi.substring(1),Qs);break;default:Ri=bv(mi)}if(Ri===null||(Ai.push(Ri[0]),(mi=dg(Ri[1]))!==""&&mi.charAt(0)!==","))return Qm;mi=mi.replace(/^,/,"")}return Ai}(Fo);if(this.fontFaces){var po=function(ro,Qs){var Ri=ro.getFontList(),Ai=JSON.stringify(Ri);if(ma===null||Aa!==Ai){var mi=function(ys){var Co=[];return Object.keys(ys).forEach(function(As){ys[As].forEach(function(Oo){var Xo=null;switch(Oo){case"bold":Xo={family:As,weight:"bold"};break;case"italic":Xo={family:As,style:"italic"};break;case"bolditalic":Xo={family:As,weight:"bold",style:"italic"};break;case"":case"normal":Xo={family:As}}Xo!==null&&(Xo.ref={name:As,style:Oo},Co.push(Xo))})}),Co}(Ri);ma=function(ys){for(var Co={},As=0;As=700||ci==="bold")&&(Vo="bold"),ci==="italic"&&(Vo+="italic"),Vo.length===0&&(Vo="normal");for(var Fi="",bi={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ga=0;Ga=2*Math.PI&&(cn=0,Cn=2*Math.PI),this.path.push({type:"arc",x:it,y:kt,radius:Jt,startAngle:cn,endAngle:Cn,counterclockwise:Sn})},He.prototype.arcTo=function(it,kt,Jt,cn,Cn){throw new Error("arcTo not implemented.")},He.prototype.rect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(it,kt),this.lineTo(it+Jt,kt),this.lineTo(it+Jt,kt+cn),this.lineTo(it,kt+cn),this.lineTo(it,kt),this.lineTo(it+Jt,kt),this.lineTo(it,kt)},He.prototype.fillRect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var Cn={};this.lineCap!=="butt"&&(Cn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Cn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(it,kt,Jt,cn),this.fill(),Cn.hasOwnProperty("lineCap")&&(this.lineCap=Cn.lineCap),Cn.hasOwnProperty("lineJoin")&&(this.lineJoin=Cn.lineJoin)}},He.prototype.strokeRect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");xt.call(this)||(this.beginPath(),this.rect(it,kt,Jt,cn),this.stroke())},He.prototype.clearRect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(it,kt,Jt,cn))},He.prototype.save=function(it){it=typeof it!="boolean"||it;for(var kt=this.pdf.internal.getCurrentPageInfo().pageNumber,Jt=0;Jt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};He.prototype.drawImage=function(it,kt,Jt,cn,Cn,Sn,Jn,tr,Er){var Ur=this.pdf.getImageProperties(it),ma=1,Aa=1,mo=1,Pt=1;cn!==void 0&&tr!==void 0&&(mo=tr/cn,Pt=Er/Cn,ma=Ur.width/cn*tr/cn,Aa=Ur.height/Cn*Er/Cn),Sn===void 0&&(Sn=kt,Jn=Jt,kt=0,Jt=0),cn!==void 0&&tr===void 0&&(tr=cn,Er=Cn),cn===void 0&&tr===void 0&&(tr=Ur.width,Er=Ur.height);var ha=this.ctx.transform.decompose(),ci=kn(ha.rotate.shx),Io=new ue,Mr=(Io=(Io=(Io=Io.multiply(ha.translate)).multiply(ha.skew)).multiply(ha.scale)).applyToRectangle(new oe(Sn-kt*mo,Jn-Jt*Pt,cn*ma,Cn*Aa));if(this.autoPaging){for(var Fo,La=It.call(this,Mr),Bo=[],po=0;poKi||VoMr||La0)){for(;Er>=0;Er--)if(Cn[Er-1].close!==!0&&Cn[Er-1].begin!==!0){Cn[Er-1].deltas.push(Jt),Cn[Er-1].abs.push(tr);break}}break;case"bct":Jt=[tr.x1-Sn[Jn-1].x,tr.y1-Sn[Jn-1].y,tr.x2-Sn[Jn-1].x,tr.y2-Sn[Jn-1].y,tr.x-Sn[Jn-1].x,tr.y-Sn[Jn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"qct":var Ur=Sn[Jn-1].x+2/3*(tr.x1-Sn[Jn-1].x),ma=Sn[Jn-1].y+2/3*(tr.y1-Sn[Jn-1].y),Aa=tr.x+2/3*(tr.x1-tr.x),mo=tr.y+2/3*(tr.y1-tr.y),Pt=tr.x,ha=tr.y;Jt=[Ur-Sn[Jn-1].x,ma-Sn[Jn-1].y,Aa-Sn[Jn-1].x,mo-Sn[Jn-1].y,Pt-Sn[Jn-1].x,ha-Sn[Jn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"arc":Cn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Cn[Cn.length-1].abs)&&Cn[Cn.length-1].abs.push(tr)}}cn=kt?null:it==="stroke"?"stroke":"fill";for(var ci=!1,Io=0;Io=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*it.scale),Cn=this.lineWidth,this.lineWidth=Cn*it.scale);var _o=this.autoPaging!=="text";if(_o||Ga.y+Ga.h<=po){if(_o||Ga.y>=La&&Ga.x<=wi){var ro=_o?it.text:this.pdf.splitTextToSize(it.text,it.maxWidth||wi-Ga.x)[0],Qs=sn([JSON.parse(JSON.stringify(Aa))],this.posX+this.margin[3],-Fi+La+this.ctx.prevPageLastElemOffset)[0],Ri=_o&&(Fo>Io||Fo=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)}}else it.scale>=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*it.scale),Cn=this.lineWidth,this.lineWidth=Cn*it.scale),this.pdf.text(it.text,Er.x+this.posX,Er.y+this.posY,{angle:it.angle,align:kt,renderingMode:it.renderingMode,maxWidth:it.maxWidth}),it.scale>=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)},on=function(it,kt,Jt,cn){Jt=Jt||0,cn=cn||0,this.pdf.internal.out(E(it+Jt)+" "+x(kt+cn)+" l")},en=function(it,kt,Jt){return this.pdf.lines(it,kt,Jt,null,null)},Wn=function(it,kt,Jt,cn,Cn,Sn,Jn,tr){this.pdf.internal.out([y(z(Jt+it)),y(te(cn+kt)),y(z(Cn+it)),y(te(Sn+kt)),y(z(Jn+it)),y(te(tr+kt)),"c"].join(" "))},Yn=function(it,kt,Jt,cn){for(var Cn=2*Math.PI,Sn=Math.PI/2;kt>Jt;)kt-=Cn;var Jn=Math.abs(Jt-kt);Jn1e-5;){var ma=Ur+Er*Math.min(Jn,Sn);tr.push($n.call(this,it,Ur,ma)),Jn-=Math.abs(ma-Ur),Ur=ma}return tr},$n=function(it,kt,Jt){var cn=(Jt-kt)/2,Cn=it*Math.cos(cn),Sn=it*Math.sin(cn),Jn=Cn,tr=-Sn,Er=Jn*Jn+tr*tr,Ur=Er+Jn*Cn+tr*Sn,ma=4/3*(Math.sqrt(2*Er*Ur)-Ur)/(Jn*Sn-tr*Cn),Aa=Jn-ma*tr,mo=tr+ma*Jn,Pt=Aa,ha=-mo,ci=cn+kt,Io=Math.cos(ci),Mr=Math.sin(ci);return{x1:it*Math.cos(kt),y1:it*Math.sin(kt),x2:Aa*Io-mo*Mr,y2:Aa*Mr+mo*Io,x3:Pt*Io-ha*Mr,y3:Pt*Mr+ha*Io,x4:it*Math.cos(Jt),y4:it*Math.sin(Jt)}},kn=function(it){return 180*it/Math.PI},rr=function(it,kt,Jt,cn,Cn,Sn){var Jn=it+.5*(Jt-it),tr=kt+.5*(cn-kt),Er=Cn+.5*(Jt-Cn),Ur=Sn+.5*(cn-Sn),ma=Math.min(it,Cn,Jn,Er),Aa=Math.max(it,Cn,Jn,Er),mo=Math.min(kt,Sn,tr,Ur),Pt=Math.max(kt,Sn,tr,Ur);return new oe(ma,mo,Aa-ma,Pt-mo)},qr=function(it,kt,Jt,cn,Cn,Sn,Jn,tr){var Er,Ur,ma,Aa,mo,Pt,ha,ci,Io,Mr,Fo,La,Bo,po,Ki=Jt-it,wi=cn-kt,Vo=Cn-Jt,Fi=Sn-cn,bi=Jn-Cn,Ga=tr-Sn;for(Ur=0;Ur<41;Ur++)Io=(ha=(ma=it+(Er=Ur/40)*Ki)+Er*((mo=Jt+Er*Vo)-ma))+Er*(mo+Er*(Cn+Er*bi-mo)-ha),Mr=(ci=(Aa=kt+Er*wi)+Er*((Pt=cn+Er*Fi)-Aa))+Er*(Pt+Er*(Sn+Er*Ga-Pt)-ci),Ur==0?(Fo=Io,La=Mr,Bo=Io,po=Mr):(Fo=Math.min(Fo,Io),La=Math.min(La,Mr),Bo=Math.max(Bo,Io),po=Math.max(po,Mr));return new oe(Math.round(Fo),Math.round(La),Math.round(Bo-Fo),Math.round(po-La))},xr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var it,kt,Jt=(it=this.ctx.lineDash,kt=this.ctx.lineDashOffset,JSON.stringify({lineDash:it,lineDashOffset:kt}));this.prevLineDash!==Jt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Jt)}}})(Wa.API),function(a){var y=function(ie){var oe,ue,de,Ee,He,_e,ve,xt,Ct,It;for(/[^\x00-\xFF]/.test(ie),ue=[],de=0,Ee=(ie+=oe="\0\0\0\0".slice(ie.length%4||4)).length;Ee>de;de+=4)(He=(ie.charCodeAt(de)<<24)+(ie.charCodeAt(de+1)<<16)+(ie.charCodeAt(de+2)<<8)+ie.charCodeAt(de+3))!==0?(_e=(He=((He=((He=((He=(He-(It=He%85))/85)-(Ct=He%85))/85)-(xt=He%85))/85)-(ve=He%85))/85)%85,ue.push(_e+33,ve+33,xt+33,Ct+33,It+33)):ue.push(122);return function(dt,sn){for(var _t=sn;_t>0;_t--)dt.pop()}(ue,oe.length),String.fromCharCode.apply(String,ue)+"~>"},E=function(ie){var oe,ue,de,Ee,He,_e=String,ve="length",xt=255,Ct="charCodeAt",It="slice",dt="replace";for(ie[It](-2),ie=ie[It](0,-2)[dt](/\s/g,"")[dt]("z","!!!!!"),de=[],Ee=0,He=(ie+=oe="uuuuu"[It](ie[ve]%5||5))[ve];He>Ee;Ee+=5)ue=52200625*(ie[Ct](Ee)-33)+614125*(ie[Ct](Ee+1)-33)+7225*(ie[Ct](Ee+2)-33)+85*(ie[Ct](Ee+3)-33)+(ie[Ct](Ee+4)-33),de.push(xt&ue>>24,xt&ue>>16,xt&ue>>8,xt&ue);return function(sn,_t){for(var zt=_t;zt>0;zt--)sn.pop()}(de,oe[ve]),_e.fromCharCode.apply(_e,de)},x=function(ie){return ie.split("").map(function(oe){return("0"+oe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(ie){var oe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ie=ie.replace(/\s/g,"")).indexOf(">")!==-1&&(ie=ie.substr(0,ie.indexOf(">"))),ie.length%2&&(ie+="0"),oe.test(ie)===!1)return"";for(var ue="",de=0;deCt&&(xt=It,It=Ct,Ct=xt);else{if(oe!=="l"&&oe!=="landscape")throw"Invalid orientation: "+oe;oe="l",Ct>It&&(xt=It,It=Ct,Ct=xt)}return{width:It,height:Ct,unit:ue,k:He,orientation:oe}},a.html=function(oe,ue){(ue=ue||{}).callback=ue.callback||function(){},ue.html2canvas=ue.html2canvas||{},ue.html2canvas.canvas=ue.html2canvas.canvas||this.canvas,ue.jsPDF=ue.jsPDF||this,ue.fontFaces=ue.fontFaces?ue.fontFaces.map(Tm):null;var de=new ie(ue);return ue.worker?de:de.from(oe).doCallback()}}(Wa.API),Wa.API.addJS=function(a){return Ag=a,this.internal.events.subscribe("postPutResources",function(){y0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(y0+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),fg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ag+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){y0!==void 0&&fg!==void 0&&this.internal.out("/Names <>")}),this},function(a){var y;a.events.push(["postPutResources",function(){var E=this,x=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=E.outline.render().split(/\r\n/),te=0;te> endobj")}var ve=E.internal.newObject();for(E.internal.write("<< /Names [ "),te=0;te>","endobj"),y=E.internal.newObject(),E.internal.write("<< /Dests "+ve+" 0 R"),E.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+y+" 0 R"))}]),a.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(x,z,te){var ie={title:z,options:te,children:[]};return x==null&&(x=this.root),x.children.push(ie),ie},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(x){x.id=E.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(x.children[0])),this.line("/Last "+this.makeRef(x.children[x.children.length-1]))),this.line("/Count "+this.count_r({count:0},x)),this.objEnd()},E.outline.renderItems=function(x){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,te=0;te0&&this.line("/Prev "+this.makeRef(x.children[te-1])),te0&&(this.line("/First "+this.makeRef(ie.children[0])),this.line("/Last "+this.makeRef(ie.children[ie.children.length-1])));var oe=this.count=this.count_r({count:0},ie);if(oe>0&&this.line("/Count "+oe),ie.options&&ie.options.pageNumber){var ue=E.internal.getPageInfo(ie.options.pageNumber);this.line("/Dest ["+ue.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var de=0;de>"}),"transparency"in Ft&&Array.isArray(Ft.transparency)&&Ft.transparency.length>0){for(var $n="",kn=0,rr=Ft.transparency.length;kn>",Ct.content=te;var _t=Ct.objId+" 0 R";te="<>";else if(x.options.pageNumber)switch(te="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=1};var de=a.__arabicParser__.arabicLetterHasFinalForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length>=3};var Ee=a.__arabicParser__.arabicLetterHasMedialForm=function(Ct){return ie(Ct)&&te(Ct)&&y[Ct.charCodeAt(0)].length==4},He=a.__arabicParser__.resolveLigatures=function(Ct){var It=0,dt=E,sn="",_t=0;for(It=0;It>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+y+" 0 R")})),this},function(a){var y=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(oe){E=oe}});var x=150;Object.defineProperty(this,"width",{get:function(){return x},set:function(oe){x=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?150:oe,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=x+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(oe){z=isNaN(oe)||Number.isInteger(oe)===!1||oe<0?300:oe,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var te=[];Object.defineProperty(this,"childNodes",{get:function(){return te},set:function(oe){te=oe}});var ie={};Object.defineProperty(this,"style",{get:function(){return ie},set:function(oe){ie=oe}}),Object.defineProperty(this,"parentNode",{})};y.prototype.getContext=function(E,x){var z;if((E=E||"2d")!=="2d")return null;for(z in x)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=x[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},y.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new y,this.canvas.pdf=this}])}(Wa.API),function(a){var y={left:0,top:0,bottom:0,right:0},E=!1,x=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},y),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new te,this.internal.__cell__.pages=1},te=function(){var ue=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ue},set:function(Ct){ue=Ct}});var de=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return de},set:function(Ct){de=Ct}});var Ee=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ee},set:function(Ct){Ee=Ct}});var He=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return He},set:function(Ct){He=Ct}});var _e=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return _e},set:function(Ct){_e=Ct}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(Ct){ve=Ct}});var xt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return xt},set:function(Ct){xt=Ct}}),this};te.prototype.clone=function(){return new te(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},te.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(ue){return x.call(this),this.internal.__cell__.headerFunction=typeof ue=="function"?ue:void 0,this},a.getTextDimensions=function(ue,de){x.call(this);var Ee=(de=de||{}).fontSize||this.getFontSize(),He=de.font||this.getFont(),_e=de.scaleFactor||this.internal.scaleFactor,ve=0,xt=0,Ct=0,It=this;if(!Array.isArray(ue)&&typeof ue!="string"){if(typeof ue!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ue=String(ue)}var dt=de.maxWidth;dt>0?typeof ue=="string"?ue=this.splitTextToSize(ue,dt):Object.prototype.toString.call(ue)==="[object Array]"&&(ue=ue.reduce(function(_t,zt){return _t.concat(It.splitTextToSize(zt,dt))},[])):ue=Array.isArray(ue)?ue:[ue];for(var sn=0;snthis.getPageHeight()?(this.cellAddPage(),ue.y=He.top,ve&&_e&&(this.printHeaderRow(ue.lineNumber,!0),ue.y+=_e[0].height)):ue.y=de.y+de.height||ue.y),ue.text[0]!==void 0&&(this.rect(ue.x,ue.y,ue.width,ue.height,E===!0?"FD":void 0),ue.align==="right"?this.text(ue.text,ue.x+ue.width-Ee,ue.y+Ee,{align:"right",baseline:"top"}):ue.align==="center"?this.text(ue.text,ue.x+ue.width/2,ue.y+Ee,{align:"center",baseline:"top",maxWidth:ue.width-Ee-Ee}):this.text(ue.text,ue.x+Ee,ue.y+Ee,{align:"left",baseline:"top",maxWidth:ue.width-Ee-Ee})),this.internal.__cell__.lastCell=ue,this};a.table=function(ue,de,Ee,He,_e){if(x.call(this),!Ee)throw new Error("No data for PDF table.");var ve,xt,Ct,It,dt=[],sn=[],_t=[],zt={},Un={},ir=[],Kn=[],hn=(_e=_e||{}).autoSize||!1,Ut=_e.printHeaders!==!1,Pn=_e.css&&_e.css["font-size"]!==void 0?16*_e.css["font-size"]:_e.fontSize||12,lt=_e.margins||Object.assign({width:this.getPageWidth()},y),Ft=typeof _e.padding=="number"?_e.padding:3,on=_e.headerBackgroundColor||"#c8c8c8",en=_e.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=Ut,this.internal.__cell__.margins=lt,this.internal.__cell__.table_font_size=Pn,this.internal.__cell__.padding=Ft,this.internal.__cell__.headerBackgroundColor=on,this.internal.__cell__.headerTextColor=en,this.setFontSize(Pn),He==null)sn=dt=Object.keys(Ee[0]),_t=dt.map(function(){return"left"});else if(Array.isArray(He)&&(0,b.Z)(He[0])==="object")for(dt=He.map(function(qr){return qr.name}),sn=He.map(function(qr){return qr.prompt||qr.name||""}),_t=He.map(function(qr){return qr.align||"left"}),ve=0;ve0&&this.setTableHeaderRow(_e),this.setFont(void 0,"normal"),E=!1}}(Wa.API);var og={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},ig=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],km=ag(ig),sg=[100,200,300,400,500,600,700,800,900],yv=ag(sg);function Tm(a){var y=a.family.replace(/"|'/g,"").toLowerCase(),E=function(te){return og[te=te||"normal"]?te:"normal"}(a.style),x=function(te){return te?typeof te=="number"?te>=100&&te<=900&&te%100==0?te:400:/^\d00$/.test(te)?parseInt(te):te==="bold"?700:400:400}(a.weight),z=function(te){return typeof km[te=te||"normal"]=="number"?te:"normal"}(a.stretch);return{family:y,style:E,weight:x,stretch:z,src:a.src||[],ref:a.ref||{name:y,style:[z,E,x].join(" ")}}}function lg(a,y,E,x){var z;for(z=E;z>=0&&z=0&&z>>1)&255}return z}function Cg(a,y,E){var x=a.length,z=[];z[0]=4;for(var te=0;te>te&ie}function wg(a,y,E,x){var z=E*x,te=Math.floor(z/8),ie=16-(z-8*te+x),oe=(1<>8&255;de.setUint8(Ee,_e)}})(a,te,bg(a,te)&~(oe<>7,ie=1<<1+(7&z);a[y++],a[y++];var oe=null,ue=null;te&&(oe=y,ue=ie,y+=3*ie);var de=!0,Ee=[],He=0,_e=null,ve=0,xt=null;for(this.width=E,this.height=x;de&&y=0))throw Error("Invalid block size");if(lt===0)break;y+=lt}break;case 249:if(a[y++]!==4||a[y+4]!==0)throw new Error("Invalid graphics extension block.");var Ct=a[y++];He=a[y++]|a[y++]<<8,_e=a[y++],1&Ct||(_e=null),ve=Ct>>2&7,y++;break;case 254:for(;;){if(!((lt=a[y++])>=0))throw Error("Invalid block size");if(lt===0)break;y+=lt}break;default:throw new Error("Unknown graphic control label: 0x"+a[y-1].toString(16))}break;case 44:var It=a[y++]|a[y++]<<8,dt=a[y++]|a[y++]<<8,sn=a[y++]|a[y++]<<8,_t=a[y++]|a[y++]<<8,zt=a[y++],Un=zt>>6&1,ir=1<<1+(7&zt),Kn=oe,hn=ue,Ut=!1;zt>>7&&(Ut=!0,Kn=y,hn=ir,y+=3*ir);var Pn=y;for(y++;;){var lt;if(!((lt=a[y++])>=0))throw Error("Invalid block size");if(lt===0)break;y+=lt}Ee.push({x:It,y:dt,width:sn,height:_t,has_local_palette:Ut,palette_offset:Kn,palette_size:hn,data_offset:Pn,data_length:y-Pn,transparent_index:_e,interlaced:!!Un,delay:He,disposal:ve});break;case 59:de=!1;break;default:throw new Error("Unknown gif block: 0x"+a[y-1].toString(16))}this.numFrames=function(){return Ee.length},this.loopCount=function(){return xt},this.frameInfo=function(Ft){if(Ft<0||Ft>=Ee.length)throw new Error("Frame index out of range.");return Ee[Ft]},this.decodeAndBlitFrameBGRA=function(Ft,on){var en=this.frameInfo(Ft),Wn=en.width*en.height,Yn=new Uint8Array(Wn);Bg(a,en.data_offset,Yn,Wn);var $n=en.palette_offset,kn=en.transparent_index;kn===null&&(kn=256);var rr=en.width,qr=E-rr,xr=rr,it=4*(en.y*E+en.x),kt=4*((en.y+en.height)*E+en.x),Jt=it,cn=4*qr;en.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Sn=0,Jn=Yn.length;Sn=kt&&(cn=4*qr+4*E*(Cn-1),Jt=it+(rr+qr)*(Cn<<1),Cn>>=1)),tr===kn)Jt+=4;else{var Er=a[$n+3*tr],Ur=a[$n+3*tr+1],ma=a[$n+3*tr+2];on[Jt++]=ma,on[Jt++]=Ur,on[Jt++]=Er,on[Jt++]=255}--xr}},this.decodeAndBlitFrameRGBA=function(Ft,on){var en=this.frameInfo(Ft),Wn=en.width*en.height,Yn=new Uint8Array(Wn);Bg(a,en.data_offset,Yn,Wn);var $n=en.palette_offset,kn=en.transparent_index;kn===null&&(kn=256);var rr=en.width,qr=E-rr,xr=rr,it=4*(en.y*E+en.x),kt=4*((en.y+en.height)*E+en.x),Jt=it,cn=4*qr;en.interlaced===!0&&(cn+=4*E*7);for(var Cn=8,Sn=0,Jn=Yn.length;Sn=kt&&(cn=4*qr+4*E*(Cn-1),Jt=it+(rr+qr)*(Cn<<1),Cn>>=1)),tr===kn)Jt+=4;else{var Er=a[$n+3*tr],Ur=a[$n+3*tr+1],ma=a[$n+3*tr+2];on[Jt++]=Er,on[Jt++]=Ur,on[Jt++]=ma,on[Jt++]=255}--xr}}}function Bg(a,y,E,x){for(var z=a[y++],te=1<>=ue,Ee-=ue,It!==te){if(It===ie)break;for(var dt=Itte;)_t=xt[_t]>>8,++sn;var zt=_t;if(_e+sn+(dt!==It?1:0)>x)return void as.log("Warning, gif stream longer than expected.");E[_e++]=zt;var Un=_e+=sn;for(dt!==It&&(E[_e++]=zt),_t=dt;sn--;)_t=xt[_t],E[--Un]=255&_t,_t>>=8;Ct!==null&&oe<4096&&(xt[oe++]=Ct<<8|zt,oe>=de+1&&ue<12&&(++ue,de=de<<1|1)),Ct=It}else oe=ie+1,de=(1<<(ue=z+1))-1,Ct=null}return _e!==x&&as.log("Warning, gif stream shorter than expected."),E}function Um(a){var y,E,x,z,te,ie=Math.floor,oe=new Array(64),ue=new Array(64),de=new Array(64),Ee=new Array(64),He=new Array(65535),_e=new Array(65535),ve=new Array(64),xt=new Array(64),Ct=[],It=0,dt=7,sn=new Array(64),_t=new Array(64),zt=new Array(64),Un=new Array(256),ir=new Array(2048),Kn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],hn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ut=[0,1,2,3,4,5,6,7,8,9,10,11],Pn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],lt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ft=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],on=[0,1,2,3,4,5,6,7,8,9,10,11],en=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Wn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Yn(it,kt){for(var Jt=0,cn=0,Cn=new Array,Sn=1;Sn<=16;Sn++){for(var Jn=1;Jn<=it[Sn];Jn++)Cn[kt[cn]]=[],Cn[kt[cn]][0]=Jt,Cn[kt[cn]][1]=Sn,cn++,Jt++;Jt*=2}return Cn}function $n(it){for(var kt=it[0],Jt=it[1]-1;Jt>=0;)kt&1<>8&255),kn(255&it)}function qr(it,kt,Jt,cn,Cn){for(var Sn,Jn=Cn[0],tr=Cn[240],Er=function(Mr,Fo){var La,Bo,po,Ki,wi,Vo,Fi,bi,Ga,_o,ro=0;for(Ga=0;Ga<8;++Ga){La=Mr[ro],Bo=Mr[ro+1],po=Mr[ro+2],Ki=Mr[ro+3],wi=Mr[ro+4],Vo=Mr[ro+5],Fi=Mr[ro+6];var Qs=La+(bi=Mr[ro+7]),Ri=La-bi,Ai=Bo+Fi,mi=Bo-Fi,ys=po+Vo,Co=po-Vo,As=Ki+wi,Oo=Ki-wi,Xo=Qs+As,Cs=Qs-As,vi=Ai+ys,So=Ai-ys;Mr[ro]=Xo+vi,Mr[ro+4]=Xo-vi;var Ji=.707106781*(So+Cs);Mr[ro+2]=Cs+Ji,Mr[ro+6]=Cs-Ji;var dd=.382683433*((Xo=Oo+Co)-(So=mi+Ri)),Fl=.5411961*Xo+dd,_u=1.306562965*So+dd,Mu=.707106781*(vi=Co+mi),No=Ri+Mu,$u=Ri-Mu;Mr[ro+5]=$u+Fl,Mr[ro+3]=$u-Fl,Mr[ro+1]=No+_u,Mr[ro+7]=No-_u,ro+=8}for(ro=0,Ga=0;Ga<8;++Ga){La=Mr[ro],Bo=Mr[ro+8],po=Mr[ro+16],Ki=Mr[ro+24],wi=Mr[ro+32],Vo=Mr[ro+40],Fi=Mr[ro+48];var ec=La+(bi=Mr[ro+56]),_l=La-bi,$l=Bo+Fi,Ns=Bo-Fi,ul=po+Vo,dl=po-Vo,fd=Ki+wi,Oc=Ki-wi,mu=ec+fd,Ou=ec-fd,hu=$l+ul,gu=$l-ul;Mr[ro]=mu+hu,Mr[ro+32]=mu-hu;var eu=.707106781*(gu+Ou);Mr[ro+16]=Ou+eu,Mr[ro+48]=Ou-eu;var Ad=.382683433*((mu=Oc+dl)-(gu=Ns+_l)),Ru=.5411961*mu+Ad,md=1.306562965*gu+Ad,tf=.707106781*(hu=dl+Ns),nf=_l+tf,rf=_l-tf;Mr[ro+40]=rf+Ru,Mr[ro+24]=rf-Ru,Mr[ro+8]=nf+md,Mr[ro+56]=nf-md,ro++}for(Ga=0;Ga<64;++Ga)_o=Mr[Ga]*Fo[Ga],ve[Ga]=_o>0?_o+.5|0:_o-.5|0;return ve}(it,kt),Ur=0;Ur<64;++Ur)xt[Kn[Ur]]=Er[Ur];var ma=xt[0]-Jt;Jt=xt[0],ma==0?$n(cn[0]):($n(cn[_e[Sn=32767+ma]]),$n(He[Sn]));for(var Aa=63;Aa>0&&xt[Aa]==0;)Aa--;if(Aa==0)return $n(Jn),Jt;for(var mo,Pt=1;Pt<=Aa;){for(var ha=Pt;xt[Pt]==0&&Pt<=Aa;)++Pt;var ci=Pt-ha;if(ci>=16){mo=ci>>4;for(var Io=1;Io<=mo;++Io)$n(tr);ci&=15}Sn=32767+xt[Pt],$n(Cn[(ci<<4)+_e[Sn]]),$n(He[Sn]),Pt++}return Aa!=63&&$n(Jn),Jt}function xr(it){it=Math.min(Math.max(it,1),100),te!=it&&(function(kt){for(var Jt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],cn=0;cn<64;cn++){var Cn=ie((Jt[cn]*kt+50)/100);Cn=Math.min(Math.max(Cn,1),255),oe[Kn[cn]]=Cn}for(var Sn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Jn=0;Jn<64;Jn++){var tr=ie((Sn[Jn]*kt+50)/100);tr=Math.min(Math.max(tr,1),255),ue[Kn[Jn]]=tr}for(var Er=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ur=0,ma=0;ma<8;ma++)for(var Aa=0;Aa<8;Aa++)de[Ur]=1/(oe[Kn[Ur]]*Er[ma]*Er[Aa]*8),Ee[Ur]=1/(ue[Kn[Ur]]*Er[ma]*Er[Aa]*8),Ur++}(it<50?Math.floor(5e3/it):Math.floor(200-2*it)),te=it)}this.encode=function(it,kt){kt&&xr(kt),Ct=new Array,It=0,dt=7,rr(65496),rr(65504),rr(16),kn(74),kn(70),kn(73),kn(70),kn(0),kn(1),kn(1),kn(0),rr(1),rr(1),kn(0),kn(0),function(){rr(65499),rr(132),kn(0);for(var Bo=0;Bo<64;Bo++)kn(oe[Bo]);kn(1);for(var po=0;po<64;po++)kn(ue[po])}(),function(Bo,po){rr(65472),rr(17),kn(8),rr(po),rr(Bo),kn(3),kn(1),kn(17),kn(0),kn(2),kn(17),kn(1),kn(3),kn(17),kn(1)}(it.width,it.height),function(){rr(65476),rr(418),kn(0);for(var Bo=0;Bo<16;Bo++)kn(hn[Bo+1]);for(var po=0;po<=11;po++)kn(Ut[po]);kn(16);for(var Ki=0;Ki<16;Ki++)kn(Pn[Ki+1]);for(var wi=0;wi<=161;wi++)kn(lt[wi]);kn(1);for(var Vo=0;Vo<16;Vo++)kn(Ft[Vo+1]);for(var Fi=0;Fi<=11;Fi++)kn(on[Fi]);kn(17);for(var bi=0;bi<16;bi++)kn(en[bi+1]);for(var Ga=0;Ga<=161;Ga++)kn(Wn[Ga])}(),rr(65498),rr(12),kn(3),kn(1),kn(0),kn(2),kn(17),kn(3),kn(17),kn(0),kn(63),kn(0);var Jt=0,cn=0,Cn=0;It=0,dt=7,this.encode.displayName="_encode_";for(var Sn,Jn,tr,Er,Ur,ma,Aa,mo,Pt,ha=it.data,ci=it.width,Io=it.height,Mr=4*ci,Fo=0;Fo>3)*Mr+(Aa=4*(7&Pt)),Fo+mo>=Io&&(ma-=Mr*(Fo+1+mo-Io)),Sn+Aa>=Mr&&(ma-=Sn+Aa-Mr+4),Jn=ha[ma++],tr=ha[ma++],Er=ha[ma++],sn[Pt]=(ir[Jn]+ir[tr+256|0]+ir[Er+512|0]>>16)-128,_t[Pt]=(ir[Jn+768|0]+ir[tr+1024|0]+ir[Er+1280|0]>>16)-128,zt[Pt]=(ir[Jn+1280|0]+ir[tr+1536|0]+ir[Er+1792|0]>>16)-128;Jt=qr(sn,de,Jt,y,x),cn=qr(_t,Ee,cn,E,z),Cn=qr(zt,Ee,Cn,E,z),Sn+=32}Fo+=8}if(dt>=0){var La=[];La[1]=dt+1,La[0]=(1<Ft;Ft++)if(Ut[Pn+Ft]!=lt.charCodeAt(Ft))return!0;return!1}function x(Ut,Pn,lt,Ft,on){for(var en=0;enen+1?[]:new Pn),!(Wn.length>>0;ne≥)ge>>>=1;return ge?(ne&ge-1)+ge:ne}function lt(ne,ae,ge,Fe,Ge){y(!(Fe%ge));do ne[ae+(Fe-=ge)]=Ge;while(0=Ge),512>=Ge)var tt=te(512);else if((tt=te(Ge))==null)return 0;return function(at,At,Et,St,An,Qn){var Nt,vn,Dn=At,or=1<Nt;++Nt){if(On[Nt]>1<(ni-=On[Nt]))return 0;for(;0=Nt;++Nt,An<<=1){if(Sa+=ni<<=1,0>(ni-=On[Nt]))return 0;for(;0kr&&!(0>=(hr-=On[kr]));)++kr,hr<<=1;or+=Qa=1<<(hr=kr-Et),at[At+(kr=qa&Dr)].g=hr+Et,at[At+kr].value=Dn-At-kr}St.g=Nt-Et,St.value=Qn[vn++],lt(at,Dn+(qa>>Et),An,Qa,St),qa=Pn(qa,Nt)}}return Sa!=2*lr[15]-1?0:or}(ne,ae,ge,Fe,Ge,tt)}function on(){this.value=this.g=0}function en(){this.value=this.g=0}function Wn(){this.G=ie(5,on),this.H=te(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ie(xd,en)}function Yn(ne,ae,ge,Fe){y(ne!=null),y(ae!=null),y(2147483648>Fe),ne.Ca=254,ne.I=0,ne.b=-8,ne.Ka=0,ne.oa=ae,ne.pa=ge,ne.Jd=ae,ne.Yc=ge+Fe,ne.Zc=4<=Fe?ge+Fe-4+1:ge,Jn(ne)}function $n(ne,ae){for(var ge=0;0Fe),ne.Sb=Fe,ne.Ra=0,ne.u=0,ne.h=0,4>>=8,ne.Ra+=ne.oa[ne.pa+ne.bb]<>>0,++ne.bb,ne.u-=8;cn(ne)&&(ne.h=1,ne.u=0)}function xr(ne,ae){if(y(0<=ae),!ne.h&&ae<=Zl){var ge=Jt(ne)&Hl[ae];return ne.u+=ae,qr(ne),ge}return ne.h=1,ne.u=0}function it(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function kt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Jt(ne){return ne.Ra>>>(ne.u&Qc-1)>>>0}function cn(ne){return y(ne.bb<=ne.Sb),ne.h||ne.bb==ne.Sb&&ne.u>Qc}function Cn(ne,ae){ne.u=ae,ne.h=cn(ne)}function Sn(ne){ne.u>=dc&&(y(ne.u>=dc),qr(ne))}function Jn(ne){y(ne!=null&&ne.oa!=null),ne.pa>>0,ne.b+=8):(y(ne!=null&&ne.oa!=null),ne.pane.b&&Jn(ne);var Fe=ne.b,Ge=ge*ae>>>8,tt=(ne.I>>>Fe>Ge)+0;for(tt?(ge-=Ge,ne.I-=Ge+1<>>0):ge=Ge+1,Fe=ge,Ge=0;256<=Fe;)Ge+=8,Fe>>=8;return Fe=7^Ge+zc[Fe],ne.b-=Fe,ne.Ca=(ge<>24&255,ne[ae+1]=ge>>16&255,ne[ae+2]=ge>>8&255,ne[ae+3]=255&ge}function ma(ne,ae){return ne[ae+0]|ne[ae+1]<<8}function Aa(ne,ae){return ma(ne,ae)|ne[ae+2]<<16}function mo(ne,ae){return ma(ne,ae)|ma(ne,ae+2)<<16}function Pt(ne,ae){var ge=1<=Ge||0>=tt?0:(ge[0]=Ge,Fe[0]=tt,1)}function Mr(ne,ae){return ne+(1<>>ae}function Fo(ne,ae){return((4278255360&ne)+(4278255360&ae)>>>0&4278255360)+((16711935&ne)+(16711935&ae)>>>0&16711935)>>>0}function La(ne,ae){Ut[ae]=function(ge,Fe,Ge,tt,at,At,Et){var St;for(St=0;St>>1)+(ne&ae)>>>0}function Ki(ne){return 0<=ne&&256>ne?ne:0>ne?0:255>1))}function Vo(ne,ae,ge){return Math.abs(ae-ge)-Math.abs(ne-ge)}function Fi(ne,ae,ge,Fe,Ge,tt,at){for(Fe=tt[at-1],ge=0;ge>8&255,Et=16711935&(Et=(Et=16711935&at)+((At<<16)+At));Fe[Ge+tt]=(4278255360&at)+Et>>>0}}function Ga(ne,ae){ae.jd=255&ne,ae.hd=ne>>8&255,ae.ud=ne>>16&255}function _o(ne,ae,ge,Fe,Ge,tt){var at;for(at=0;at>>8,St=At,An=255&(An=(An=At>>>16)+((ne.jd<<24>>24)*(Et<<24>>24)>>>5));St=255&(St=(St+=(ne.hd<<24>>24)*(Et<<24>>24)>>>5)+((ne.ud<<24>>24)*(An<<24>>24)>>>5)),Ge[tt+at]=(4278255360&At)+(An<<16)+St}}function ro(ne,ae,ge,Fe,Ge){Ut[ae]=function(tt,at,At,Et,St,An,Qn,Nt,vn){for(Et=Qn;Et>tt.b,vn=tt.Ea,Dn=tt.K[0],or=tt.w;if(8>Nt)for(tt=(1<>=Nt}else Ut["VP8LMapColor"+ge](Et,St,Dn,or,An,Qn,at,At,vn)}}function Qs(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&255,Fe[Ge++]=tt>>8&255,Fe[Ge++]=255&tt}}function Ri(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&255,Fe[Ge++]=tt>>8&255,Fe[Ge++]=255&tt,Fe[Ge++]=tt>>24&255}}function Ai(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&240|at>>12&15,at=240&at|at>>28&15;Fe[Ge++]=tt,Fe[Ge++]=at}}function mi(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>16&248|at>>13&7,at=at>>5&224|at>>3&31;Fe[Ge++]=tt,Fe[Ge++]=at}}function ys(ne,ae,ge,Fe,Ge){for(ge=ae+ge;ae>8&255,Fe[Ge++]=tt>>16&255}}function Co(ne,ae,ge,Fe,Ge,tt){if(tt==0)for(ge=ae+ge;ae>24|tt[1]>>8&65280|tt[2]<<8&16711680|tt[3]<<24)>>>0),Ge+=32;else x(Fe,Ge,ne,ae,ge)}function As(ne,ae){Ut[ae][0]=Ut[ne+"0"],Ut[ae][1]=Ut[ne+"1"],Ut[ae][2]=Ut[ne+"2"],Ut[ae][3]=Ut[ne+"3"],Ut[ae][4]=Ut[ne+"4"],Ut[ae][5]=Ut[ne+"5"],Ut[ae][6]=Ut[ne+"6"],Ut[ae][7]=Ut[ne+"7"],Ut[ae][8]=Ut[ne+"8"],Ut[ae][9]=Ut[ne+"9"],Ut[ae][10]=Ut[ne+"10"],Ut[ae][11]=Ut[ne+"11"],Ut[ae][12]=Ut[ne+"12"],Ut[ae][13]=Ut[ne+"13"],Ut[ae][14]=Ut[ne+"0"],Ut[ae][15]=Ut[ne+"0"]}function Oo(ne){return ne==ih||ne==sh||ne==X0||ne==lh}function Xo(){this.eb=[],this.size=this.A=this.fb=0}function Cs(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function vi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Xo,this.f.kb=new Cs,this.sd=null}function So(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ji(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function dd(ne){return alert("todo:WebPSamplerProcessPlane"),ne.T}function Fl(ne,ae){var ge=ne.T,Fe=ae.ba.f.RGBA,Ge=Fe.eb,tt=Fe.fb+ne.ka*Fe.A,at=iu[ae.ba.S],At=ne.y,Et=ne.O,St=ne.f,An=ne.N,Qn=ne.ea,Nt=ne.W,vn=ae.cc,Dn=ae.dc,or=ae.Mc,On=ae.Nc,lr=ne.ka,hr=ne.ka+ne.T,kr=ne.U,Dr=kr+1>>1;for(lr==0?at(At,Et,null,null,St,An,Qn,Nt,St,An,Qn,Nt,Ge,tt,null,null,kr):(at(ae.ec,ae.fc,At,Et,vn,Dn,or,On,St,An,Qn,Nt,Ge,tt-Fe.A,Ge,tt,kr),++ge);lr+2ge,Ge=ge==W0||ge==G0||ge==V0||ge==oh||ge==12||Oo(ge);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!iA(ae.Oa,ne,Ge?11:12))return 0;if(Ge&&Oo(ge)&&rA(),ne.da)alert("todo:use_scaling");else{if(Fe){if(ae.Ib=dd,ne.Kb){if(ge=ne.U+1>>1,ae.memory=te(ne.U+2*ge),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+ne.U,ae.Mc=ae.cc,ae.Nc=ae.dc+ge,ae.Ib=Fl,rA()}}else alert("todo:EmitYUV");Ge&&(ae.Jb=_u,Fe&&vu())}if(Fe&&!$g){for(ne=0;256>ne;++ne)s1[ne]=89858*(ne-128)+K0>>Y0,c1[ne]=-22014*(ne-128)+K0,u1[ne]=-45773*(ne-128),l1[ne]=113618*(ne-128)+K0>>Y0;for(ne=gA;ne>Y0,d1[ne-gA]=ku(ae,255),f1[ne-gA]=ku(ae+8>>4,15);$g=1}return 1}function No(ne){var ae=ne.ma,ge=ne.U,Fe=ne.T;return y(!(1&ne.ka)),0>=ge||0>=Fe?0:(ge=ae.Ib(ne,ae),ae.Jb!=null&&ae.Jb(ne,ae,ge),ae.Dc+=ge,1)}function $u(ne){ne.ma.memory=null}function ec(ne,ae,ge,Fe){return xr(ne,8)!=47?0:(ae[0]=xr(ne,14)+1,ge[0]=xr(ne,14)+1,Fe[0]=xr(ne,1),xr(ne,3)!=0?0:!ne.h)}function _l(ne,ae){if(4>ne)return ne+1;var ge=ne-2>>1;return(2+(1&ne)<>4)*ne+(8-(15&ge)))?ge:1;var ge}function Ns(ne,ae,ge){var Fe=Jt(ge),Ge=ne[ae+=255&Fe].g-8;return 0>>0,y(8>=ge.g),ne.g}function dl(ne,ae,ge){var Fe=ne.xc;return y((ae=Fe==0?0:ne.vc[ne.md*(ge>>Fe)+(ae>>Fe)])>Qa.b)*Sa;orkr&&(za=kr),(0,cA[Pi[al++]>>8&15])(Nt,vn+ +ri,lr,hr+ri-kr,za-ri,lr,hr+ri),ri=za}vn+=kr,hr+=kr,++or&qa||(Qa+=Sa)}Qn!=St.nc&&x(Et,At-Dn,Et,At+(Qn-An-1)*Dn,Dn);break;case 1:for(Dn=Nt,On=vn,kr=(Nt=St.Ea)-(hr=Nt&~(lr=(vn=1<>St.b)*or;An=Ge),0tt.o&&(Fe=tt.o),ge=Fe?ge=0:(Ge[0]+=4*tt.v,tt.ka=ge-tt.j,tt.U=tt.va-tt.v,tt.T=Fe-ge,ge=1),ge){if(At=At[0],11>(ge=ne.ca).S){var An=ge.f.RGBA,Qn=(Fe=ge.S,Ge=tt.U,tt=tt.T,St=An.eb,An.A),Nt=tt;for(An=An.fb+ne.Ma*An.A;0Fe){var Ge=ne.l.width,tt=ge.ca,at=ge.tb+Ge*Fe,At=ne.V,Et=ne.Ba+ne.c*Fe,St=ne.gc;y(ne.ab==1),y(St[0].hc==3),Uu(St[0],Fe,ae,At,Et,tt,at),Ou(ge,Fe,ae,tt,at,Ge)}ne.C=ne.Ma=ae}function gu(ne,ae,ge,Fe,Ge,tt,at){var At=ne.$/Fe,Et=ne.$%Fe,St=ne.m,An=ne.s,Qn=ge+ne.$,Nt=Qn;Ge=ge+Fe*Ge;var vn=ge+Fe*tt,Dn=280+An.ua,or=ne.Pb?At:16777216,On=0=or){var qa=Qn-ge;y((or=ne).Pb),or.wd=or.m,or.xd=qa,0ni.g?(Cn(Dr,Dr.u+ni.g),qa[Sa]=ni.value,Dr=0):(Cn(Dr,Dr.u+ni.g-256),y(256<=ni.value),Dr=ni.value),Dr==0&&(kr=!0)}else Dr=Ns(hr.G[0],hr.H[0],St);if(St.h)break;if(kr||256>Dr){if(!kr)if(hr.nd)ae[Qn]=(hr.qb|Dr<<8)>>>0;else{if(Sn(St),kr=Ns(hr.G[1],hr.H[1],St),Sn(St),qa=Ns(hr.G[2],hr.H[2],St),Sa=Ns(hr.G[3],hr.H[3],St),St.h)break;ae[Qn]=(Sa<<24|kr<<16|Dr<<8|qa)>>>0}if(kr=!1,++Qn,++Et>=Fe&&(Et=0,++At,at!=null&&At<=tt&&!(At%16)&&at(ne,At),On!=null))for(;Nt>>On.Mb]=Dr}else if(280>Dr){if(Dr=_l(Dr-256,St),qa=Ns(hr.G[4],hr.H[4],St),Sn(St),qa=$l(Fe,qa=_l(qa,St)),St.h)break;if(Qn-ge=Fe;)Et-=Fe,++At,at!=null&&At<=tt&&!(At%16)&&at(ne,At);if(y(Qn<=Ge),Et&lr&&(hr=dl(An,Et,At)),On!=null)for(;Nt>>On.Mb]=Dr}else{if(!(Dr>>On.Mb]=Dr;Dr=Qn,y(!(kr>>>(qa=On).Xa)),ae[Dr]=qa.X[kr],kr=!0}kr||y(St.h==cn(St))}if(ne.Pb&&St.h&&Qntt?tt:At),ne.a=0,ne.$=Qn-ge}return 1}return ne.a=3,0}function eu(ne){y(ne!=null),ne.vc=null,ne.yc=null,ne.Ya=null;var ae=ne.Wa;ae!=null&&(ae.X=null),ne.vb=null,y(ne!=null)}function Ad(){var ne=new Uo;return ne==null?null:(ne.a=0,ne.xb=Xg,As("Predictor","VP8LPredictors"),As("Predictor","VP8LPredictors_C"),As("PredictorAdd","VP8LPredictorsAdd"),As("PredictorAdd","VP8LPredictorsAdd_C"),zs=bi,dA=_o,fA=Qs,Uc=Ri,Hc=Ai,Zc=mi,Id=ys,Ut.VP8LMapColor32b=zu,Ut.VP8LMapColor8b=uA,ne)}function Ru(ne,ae,ge,Fe,Ge){var tt=1,at=[ne],At=[ae],Et=Fe.m,St=Fe.s,An=null,Qn=0;e:for(;;){if(ge)for(;tt&&xr(Et,1);){var Nt=at,vn=At,Dn=Fe,or=1,On=Dn.m,lr=Dn.gc[Dn.ab],hr=xr(On,2);if(Dn.Oc&1<=Dn.ab),hr){case 0:case 1:lr.b=xr(On,3)+2,or=Ru(Mr(lr.Ea,lr.b),Mr(lr.nc,lr.b),0,Dn,lr.K),lr.K=lr.K[0];break;case 3:var kr,Dr=xr(On,8)+1,qa=16>Qa.b),al=te(Pi);if(al==null)kr=0;else{var ri=Qa.K[0],za=Qa.w;for(al[0]=Qa.K[0][0],Sa=1;Sa<1*ni;++Sa)al[Sa]=Fo(ri[za+Sa],al[Sa-1]);for(;Sa<4*Pi;++Sa)al[Sa]=0;Qa.K[0]=null,Qa.K[0]=al,kr=1}}or=kr;break;case 2:break;default:y(0)}tt=or}}if(at=at[0],At=At[0],tt&&xr(Et,1)&&!(tt=1<=(Qn=xr(Et,4))&&11>=Qn)){Fe.a=3;break e}var ca;if(ca=tt)t:{var Hs,Yo,Ni,vs=Fe,ml=at,Nl=At,js=Qn,Pl=ge,jl=vs.m,ol=vs.s,Ti=[null],_i=1,Ls=0,$i=Yv[js];n:for(;;){if(Pl&&xr(jl,1)){var hl=xr(jl,3)+2,yu=Mr(ml,hl),Zs=Mr(Nl,hl),kl=yu*Zs;if(!Ru(yu,Zs,0,vs,Ti))break n;for(Ti=Ti[0],ol.xc=hl,Hs=0;Hs>8&65535;Ti[Hs]=is,is>=_i&&(_i=is+1)}}if(jl.h)break n;for(Yo=0;5>Yo;++Yo){var il=Gg[Yo];!Yo&&0=Ll),Xl=Vl;var Tl=te(Ls);if(Xl==null||Tl==null||Gl==null){vs.a=1;break n}var Yl=Gl;for(Hs=Ni=0;Hs<_i;++Hs){var hs=Xl[Hs],Kl=hs.G,Cu=hs.H,Pd=0,mc=1,gl=0;for(Yo=0;5>Yo;++Yo){il=Gg[Yo],Kl[Yo]=Yl,Cu[Yo]=Ni,!Yo&&0tm)break r}else mh=tm;for(vA=0;vAmf)ip[vA++]=mf,mf!=0&&(sp=mf);else{var w1=mf==16,cp=mf-16,b1=Wv[cp],dp=xr(Yc,Zv[cp])+b1;if(vA+dp>tm)break r;for(var B1=w1?sp:0;0=Yo){var EA,gh=Tl[0];for(EA=1;EAgh&&(gh=Tl[EA]);gl+=gh}}if(hs.nd=mc,hs.Qb=0,mc&&(hs.qb=(Kl[3][Cu[3]+0].value<<24|Kl[1][Cu[1]+0].value<<16|Kl[2][Cu[2]+0].value)>>>0,Pd==0&&256>Kl[0][Cu[0]+0].value&&(hs.Qb=1,hs.qb+=Kl[0][Cu[0]+0].value<<8)),hs.jc=!hs.Qb&&6>gl,hs.jc){var nm,hc=hs;for(nm=0;nm>=ul(rm,8,Jc),Kc>>=ul(hc.G[1][hc.H[1]+Kc],16,Jc),Kc>>=ul(hc.G[2][hc.H[2]+Kc],0,Jc),ul(hc.G[3][hc.H[3]+Kc],24,Jc))}}}ol.vc=Ti,ol.Wb=_i,ol.Ya=Xl,ol.yc=Gl,ca=1;break t}ca=0}if(!(tt=ca)){Fe.a=3;break e}if(0Fe+1?[]:0),!(Ge.lengthne?0:ne>ae?ae:ne}function af(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Zm(){var ne=new F0;return ne!=null&&(ne.a=0,ne.sc="OK",ne.cb=0,ne.Xb=0,hA||(hA=of)),ne}function Ys(ne,ae,ge){return ne.a==0&&(ne.a=ae,ne.sc=ge,ne.cb=0),0}function P0(ne,ae,ge){return 3<=ge&&ne[ae+0]==157&&ne[ae+1]==1&&ne[ae+2]==42}function Tu(ne,ae){if(ne==null)return 0;if(ne.a=0,ne.sc="OK",ae==null)return Ys(ne,2,"null VP8Io passed to VP8GetHeaders()");var ge=ae.data,Fe=ae.w,Ge=ae.ha;if(4>Ge)return Ys(ne,7,"Truncated header.");var tt=ge[Fe+0]|ge[Fe+1]<<8|ge[Fe+2]<<16,at=ne.Od;if(at.Rb=!(1&tt),at.td=tt>>1&7,at.yd=tt>>4&1,at.ub=tt>>5,3Ge)return Ys(ne,7,"cannot parse picture header");if(!P0(ge,Fe,Ge))return Ys(ne,3,"Bad code word");At.c=16383&(ge[Fe+4]<<8|ge[Fe+3]),At.Td=ge[Fe+4]>>6,At.i=16383&(ge[Fe+6]<<8|ge[Fe+5]),At.Ud=ge[Fe+6]>>6,Fe+=7,Ge-=7,ne.za=At.c+15>>4,ne.Ub=At.i+15>>4,ae.width=At.c,ae.height=At.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,z((tt=ne.Pa).jb,0,255,tt.jb.length),y((tt=ne.Qa)!=null),tt.Cb=0,tt.Bb=0,tt.Fb=1,z(tt.Zb,0,0,tt.Zb.length),z(tt.Lb,0,0,tt.Lb)}if(at.ub>Ge)return Ys(ne,7,"bad partition length");Yn(tt=ne.m,ge,Fe,at.ub),Fe+=at.ub,Ge-=at.ub,at.Rb&&(At.Ld=tr(tt),At.Kd=tr(tt)),At=ne.Qa;var Et,St=ne.Pa;if(y(tt!=null),y(At!=null),At.Cb=tr(tt),At.Cb){if(At.Bb=tr(tt),tr(tt)){for(At.Fb=tr(tt),Et=0;4>Et;++Et)At.Zb[Et]=tr(tt)?kn(tt,7):0;for(Et=0;4>Et;++Et)At.Lb[Et]=tr(tt)?kn(tt,6):0}if(At.Bb)for(Et=0;3>Et;++Et)St.jb[Et]=tr(tt)?$n(tt,8):255}else At.Bb=0;if(tt.Ka)return Ys(ne,3,"cannot parse segment header");if((At=ne.ed).zd=tr(tt),At.Tb=$n(tt,6),At.wb=$n(tt,3),At.Pc=tr(tt),At.Pc&&tr(tt)){for(St=0;4>St;++St)tr(tt)&&(At.vd[St]=kn(tt,6));for(St=0;4>St;++St)tr(tt)&&(At.od[St]=kn(tt,6))}if(ne.L=At.Tb==0?0:At.zd?1:2,tt.Ka)return Ys(ne,3,"cannot parse filter header");var An=Ge;if(Ge=Et=Fe,Fe=Et+An,At=An,ne.Xb=(1<<$n(ne.m,2))-1,An<3*(St=ne.Xb))ge=7;else{for(Et+=3*St,At-=3*St,An=0;AnAt&&(Qn=At),Yn(ne.Jc[+An],ge,Et,Qn),Et+=Qn,At-=Qn,Ge+=3}Yn(ne.Jc[+St],ge,Et,At),ge=EtQn;++Qn){if(An.Cb){var Nt=An.Zb[Qn];An.Fb||(Nt+=ge)}else{if(0>16,8>vn.Eb[1]&&(vn.Eb[1]=8),vn.Qc[0]=uh[ku(Nt+St,117)],vn.Qc[1]=ch[ku(Nt+Et,127)],vn.lc=Nt+Et}if(!at.Rb)return Ys(ne,4,"Not a key frame.");for(tr(tt),at=ne.Pa,ge=0;4>ge;++ge){for(Ge=0;8>Ge;++Ge)for(Fe=0;3>Fe;++Fe)for(At=0;11>At;++At)St=Er(tt,e1[ge][Ge][Fe][At])?$n(tt,8):_v[ge][Ge][Fe][At],at.Wc[ge][Ge].Yb[Fe][At]=St;for(Ge=0;17>Ge;++Ge)at.Xc[ge][Ge]=at.Wc[ge][t1[Ge]]}return ne.kc=tr(tt),ne.kc&&(ne.Bd=$n(tt,8)),ne.cb=1}function of(ne,ae,ge,Fe,Ge,tt,at){var At=ae[Ge].Yb[ge];for(ge=0;16>Ge;++Ge){if(!Er(ne,At[ge+0]))return Ge;for(;!Er(ne,At[ge+1]);)if(At=ae[++Ge].Yb[0],ge=0,Ge==16)return 16;var Et=ae[Ge+1].Yb;if(Er(ne,At[ge+2])){var St=ne,An=0;if(Er(St,(Nt=At)[(Qn=ge)+3]))if(Er(St,Nt[Qn+6])){for(At=0,Qn=2*(An=Er(St,Nt[Qn+8]))+(Nt=Er(St,Nt[Qn+9+An])),An=0,Nt=Jv[Qn];Nt[At];++At)An+=An+Er(St,Nt[At]);An+=3+(8<(St=ne).b&&Jn(St);var Qn,Nt=St.b,vn=(Qn=St.Ca>>1)-(St.I>>Nt)>>31;--St.b,St.Ca+=vn,St.Ca|=1,St.I-=(Qn+1&vn)<>3),ne[ae+ge+32*Fe]=-256&Ge?0>Ge?0:255:Ge}function tl(ne,ae,ge,Fe,Ge,tt){nu(ne,ae,0,ge,Fe+Ge),nu(ne,ae,1,ge,Fe+tt),nu(ne,ae,2,ge,Fe-tt),nu(ne,ae,3,ge,Fe-Ge)}function tc(ne){return(20091*ne>>16)+ne}function S0(ne,ae,ge,Fe){var Ge,tt=0,at=te(16);for(Ge=0;4>Ge;++Ge){var At=ne[ae+0]+ne[ae+8],Et=ne[ae+0]-ne[ae+8],St=(35468*ne[ae+4]>>16)-tc(ne[ae+12]),An=tc(ne[ae+4])+(35468*ne[ae+12]>>16);at[tt+0]=At+An,at[tt+1]=Et+St,at[tt+2]=Et-St,at[tt+3]=At-An,tt+=4,ae++}for(Ge=tt=0;4>Ge;++Ge)At=(ne=at[tt+0]+4)+at[tt+8],Et=ne-at[tt+8],St=(35468*at[tt+4]>>16)-tc(at[tt+12]),nu(ge,Fe,0,0,At+(An=tc(at[tt+4])+(35468*at[tt+12]>>16))),nu(ge,Fe,1,0,Et+St),nu(ge,Fe,2,0,Et-St),nu(ge,Fe,3,0,At-An),tt++,Fe+=32}function Wm(ne,ae,ge,Fe){var Ge=ne[ae+0]+4,tt=35468*ne[ae+4]>>16,at=tc(ne[ae+4]),At=35468*ne[ae+1]>>16;tl(ge,Fe,0,Ge+at,ne=tc(ne[ae+1]),At),tl(ge,Fe,1,Ge+tt,ne,At),tl(ge,Fe,2,Ge-tt,ne,At),tl(ge,Fe,3,Ge-at,ne,At)}function Gm(ne,ae,ge,Fe,Ge){S0(ne,ae,ge,Fe),Ge&&S0(ne,ae+16,ge,Fe+4)}function Qu(ne,ae,ge,Fe){Fd(ne,ae+0,ge,Fe,1),Fd(ne,ae+32,ge,Fe+128,1)}function N0(ne,ae,ge,Fe){var Ge;for(ne=ne[ae+0]+4,Ge=0;4>Ge;++Ge)for(ae=0;4>ae;++ae)nu(ge,Fe,ae,Ge,ne)}function j0(ne,ae,ge,Fe){ne[ae+0]&&qi(ne,ae+0,ge,Fe),ne[ae+16]&&qi(ne,ae+16,ge,Fe+4),ne[ae+32]&&qi(ne,ae+32,ge,Fe+128),ne[ae+48]&&qi(ne,ae+48,ge,Fe+128+4)}function sf(ne,ae,ge,Fe){var Ge,tt=te(16);for(Ge=0;4>Ge;++Ge){var at=ne[ae+0+Ge]+ne[ae+12+Ge],At=ne[ae+4+Ge]+ne[ae+8+Ge],Et=ne[ae+4+Ge]-ne[ae+8+Ge],St=ne[ae+0+Ge]-ne[ae+12+Ge];tt[0+Ge]=at+At,tt[8+Ge]=at-At,tt[4+Ge]=St+Et,tt[12+Ge]=St-Et}for(Ge=0;4>Ge;++Ge)at=(ne=tt[0+4*Ge]+3)+tt[3+4*Ge],At=tt[1+4*Ge]+tt[2+4*Ge],Et=tt[1+4*Ge]-tt[2+4*Ge],St=ne-tt[3+4*Ge],ge[Fe+0]=at+At>>3,ge[Fe+16]=St+Et>>3,ge[Fe+32]=at-At>>3,ge[Fe+48]=St-Et>>3,Fe+=64}function hd(ne,ae,ge){var Fe,Ge=ae-32,tt=Wl,at=255-ne[Ge-1];for(Fe=0;Fege;++ge)x(ne,ae+32*ge,ne,ae-32,16)}function L0(ne,ae){var ge;for(ge=16;0Fe;++Fe)z(ae,ge+32*Fe,ne,16)}function Km(ne,ae){var ge,Fe=16;for(ge=0;16>ge;++ge)Fe+=ne[ae-1+32*ge]+ne[ae+ge-32];pu(Fe>>5,ne,ae)}function gd(ne,ae){var ge,Fe=8;for(ge=0;16>ge;++ge)Fe+=ne[ae-1+32*ge];pu(Fe>>4,ne,ae)}function Jf(ne,ae){var ge,Fe=8;for(ge=0;16>ge;++ge)Fe+=ne[ae+ge-32];pu(Fe>>4,ne,ae)}function Jm(ne,ae){pu(128,ne,ae)}function Zo(ne,ae,ge){return ne+2*ae+ge+2>>2}function qm(ne,ae){var ge,Fe=ae-32;for(Fe=new Uint8Array([Zo(ne[Fe-1],ne[Fe+0],ne[Fe+1]),Zo(ne[Fe+0],ne[Fe+1],ne[Fe+2]),Zo(ne[Fe+1],ne[Fe+2],ne[Fe+3]),Zo(ne[Fe+2],ne[Fe+3],ne[Fe+4])]),ge=0;4>ge;++ge)x(ne,ae+32*ge,Fe,0,Fe.length)}function _m(ne,ae){var ge=ne[ae-1],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1+96];Ur(ne,ae+0,16843009*Zo(ne[ae-1-32],ge,Fe)),Ur(ne,ae+32,16843009*Zo(ge,Fe,Ge)),Ur(ne,ae+64,16843009*Zo(Fe,Ge,tt)),Ur(ne,ae+96,16843009*Zo(Ge,tt,tt))}function $m(ne,ae){var ge,Fe=4;for(ge=0;4>ge;++ge)Fe+=ne[ae+ge-32]+ne[ae-1+32*ge];for(Fe>>=3,ge=0;4>ge;++ge)z(ne,ae+32*ge,Fe,4)}function nc(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+96]=Zo(Fe,Ge,ne[ae-1+96]),ne[ae+1+96]=ne[ae+0+64]=Zo(ge,Fe,Ge),ne[ae+2+96]=ne[ae+1+64]=ne[ae+0+32]=Zo(tt,ge,Fe),ne[ae+3+96]=ne[ae+2+64]=ne[ae+1+32]=ne[ae+0+0]=Zo(at,tt,ge),ne[ae+3+64]=ne[ae+2+32]=ne[ae+1+0]=Zo(At,at,tt),ne[ae+3+32]=ne[ae+2+0]=Zo(Et,At,at),ne[ae+3+0]=Zo(St,Et,At)}function rc(ne,ae){var ge=ne[ae+1-32],Fe=ne[ae+2-32],Ge=ne[ae+3-32],tt=ne[ae+4-32],at=ne[ae+5-32],At=ne[ae+6-32],Et=ne[ae+7-32];ne[ae+0+0]=Zo(ne[ae+0-32],ge,Fe),ne[ae+1+0]=ne[ae+0+32]=Zo(ge,Fe,Ge),ne[ae+2+0]=ne[ae+1+32]=ne[ae+0+64]=Zo(Fe,Ge,tt),ne[ae+3+0]=ne[ae+2+32]=ne[ae+1+64]=ne[ae+0+96]=Zo(Ge,tt,at),ne[ae+3+32]=ne[ae+2+64]=ne[ae+1+96]=Zo(tt,at,At),ne[ae+3+64]=ne[ae+2+96]=Zo(at,At,Et),ne[ae+3+96]=Zo(At,Et,Et)}function eh(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1-32],at=ne[ae+0-32],At=ne[ae+1-32],Et=ne[ae+2-32],St=ne[ae+3-32];ne[ae+0+0]=ne[ae+1+64]=tt+at+1>>1,ne[ae+1+0]=ne[ae+2+64]=at+At+1>>1,ne[ae+2+0]=ne[ae+3+64]=At+Et+1>>1,ne[ae+3+0]=Et+St+1>>1,ne[ae+0+96]=Zo(Ge,Fe,ge),ne[ae+0+64]=Zo(Fe,ge,tt),ne[ae+0+32]=ne[ae+1+96]=Zo(ge,tt,at),ne[ae+1+32]=ne[ae+2+96]=Zo(tt,at,At),ne[ae+2+32]=ne[ae+3+96]=Zo(at,At,Et),ne[ae+3+32]=Zo(At,Et,St)}function th(ne,ae){var ge=ne[ae+0-32],Fe=ne[ae+1-32],Ge=ne[ae+2-32],tt=ne[ae+3-32],at=ne[ae+4-32],At=ne[ae+5-32],Et=ne[ae+6-32],St=ne[ae+7-32];ne[ae+0+0]=ge+Fe+1>>1,ne[ae+1+0]=ne[ae+0+64]=Fe+Ge+1>>1,ne[ae+2+0]=ne[ae+1+64]=Ge+tt+1>>1,ne[ae+3+0]=ne[ae+2+64]=tt+at+1>>1,ne[ae+0+32]=Zo(ge,Fe,Ge),ne[ae+1+32]=ne[ae+0+96]=Zo(Fe,Ge,tt),ne[ae+2+32]=ne[ae+1+96]=Zo(Ge,tt,at),ne[ae+3+32]=ne[ae+2+96]=Zo(tt,at,At),ne[ae+3+64]=Zo(at,At,Et),ne[ae+3+96]=Zo(At,Et,St)}function lf(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1+96];ne[ae+0+0]=ge+Fe+1>>1,ne[ae+2+0]=ne[ae+0+32]=Fe+Ge+1>>1,ne[ae+2+32]=ne[ae+0+64]=Ge+tt+1>>1,ne[ae+1+0]=Zo(ge,Fe,Ge),ne[ae+3+0]=ne[ae+1+32]=Zo(Fe,Ge,tt),ne[ae+3+32]=ne[ae+1+64]=Zo(Ge,tt,tt),ne[ae+3+64]=ne[ae+2+64]=ne[ae+0+96]=ne[ae+1+96]=ne[ae+2+96]=ne[ae+3+96]=tt}function qf(ne,ae){var ge=ne[ae-1+0],Fe=ne[ae-1+32],Ge=ne[ae-1+64],tt=ne[ae-1+96],at=ne[ae-1-32],At=ne[ae+0-32],Et=ne[ae+1-32],St=ne[ae+2-32];ne[ae+0+0]=ne[ae+2+32]=ge+at+1>>1,ne[ae+0+32]=ne[ae+2+64]=Fe+ge+1>>1,ne[ae+0+64]=ne[ae+2+96]=Ge+Fe+1>>1,ne[ae+0+96]=tt+Ge+1>>1,ne[ae+3+0]=Zo(At,Et,St),ne[ae+2+0]=Zo(at,At,Et),ne[ae+1+0]=ne[ae+3+32]=Zo(ge,at,At),ne[ae+1+32]=ne[ae+3+64]=Zo(Fe,ge,at),ne[ae+1+64]=ne[ae+3+96]=Zo(Ge,Fe,ge),ne[ae+1+96]=Zo(tt,Ge,Fe)}function pd(ne,ae){var ge;for(ge=0;8>ge;++ge)x(ne,ae+32*ge,ne,ae-32,8)}function nh(ne,ae){var ge;for(ge=0;8>ge;++ge)z(ne,ae,ne[ae-1],8),ae+=32}function ac(ne,ae,ge){var Fe;for(Fe=0;8>Fe;++Fe)z(ae,ge+32*Fe,ne,8)}function rh(ne,ae){var ge,Fe=8;for(ge=0;8>ge;++ge)Fe+=ne[ae+ge-32]+ne[ae-1+32*ge];ac(Fe>>4,ne,ae)}function _f(ne,ae){var ge,Fe=4;for(ge=0;8>ge;++ge)Fe+=ne[ae+ge-32];ac(Fe>>3,ne,ae)}function $f(ne,ae){var ge,Fe=4;for(ge=0;8>ge;++ge)Fe+=ne[ae-1+32*ge];ac(Fe>>3,ne,ae)}function M0(ne,ae){ac(128,ne,ae)}function oc(ne,ae,ge){var Fe=ne[ae-ge],Ge=ne[ae+0],tt=3*(Ge-Fe)+ah[1020+ne[ae-2*ge]-ne[ae+ge]],at=H0[112+(tt+4>>3)];ne[ae-ge]=Wl[255+Fe+H0[112+(tt+3>>3)]],ne[ae+0]=Wl[255+Ge-at]}function eA(ne,ae,ge,Fe){var Ge=ne[ae+0],tt=ne[ae+ge];return ou[255+ne[ae-2*ge]-ne[ae-ge]]>Fe||ou[255+tt-Ge]>Fe}function uf(ne,ae,ge,Fe){return 4*ou[255+ne[ae-ge]-ne[ae+0]]+ou[255+ne[ae-2*ge]-ne[ae+ge]]<=Fe}function tA(ne,ae,ge,Fe,Ge){var tt=ne[ae-3*ge],at=ne[ae-2*ge],At=ne[ae-ge],Et=ne[ae+0],St=ne[ae+ge],An=ne[ae+2*ge],Qn=ne[ae+3*ge];return 4*ou[255+At-Et]+ou[255+at-St]>Fe?0:ou[255+ne[ae-4*ge]-tt]<=Ge&&ou[255+tt-at]<=Ge&&ou[255+at-At]<=Ge&&ou[255+Qn-An]<=Ge&&ou[255+An-St]<=Ge&&ou[255+St-Et]<=Ge}function vd(ne,ae,ge,Fe){var Ge=2*Fe+1;for(Fe=0;16>Fe;++Fe)uf(ne,ae+Fe,ge,Ge)&&oc(ne,ae+Fe,ge)}function nA(ne,ae,ge,Fe){var Ge=2*Fe+1;for(Fe=0;16>Fe;++Fe)uf(ne,ae+Fe*ge,1,Ge)&&oc(ne,ae+Fe*ge,1)}function O0(ne,ae,ge,Fe){var Ge;for(Ge=3;0>7,lr=18*hr+63>>7,hr=9*hr+63>>7;Et[St-3*An]=Wl[255+Et[St-3*An]+hr],Et[St-2*An]=Wl[255+Qn+lr],Et[St-An]=Wl[255+Nt+On],Et[St+0]=Wl[255+vn-On],Et[St+An]=Wl[255+Dn-lr],Et[St+2*An]=Wl[255+or-hr]}ae+=Fe}}function sc(ne,ae,ge,Fe,Ge,tt,at,At){for(tt=2*tt+1;0>3)],or=H0[112+(or+3>>3)],On=Dn+1>>1;Et[St-2*An]=Wl[255+Et[St-2*An]+On],Et[St-An]=Wl[255+Qn+or],Et[St+0]=Wl[255+Nt-Dn],Et[St+An]=Wl[255+vn-On]}ae+=Fe}}function k0(ne,ae,ge,Fe,Ge,tt){ic(ne,ae,ge,1,16,Fe,Ge,tt)}function Ed(ne,ae,ge,Fe,Ge,tt){ic(ne,ae,1,ge,16,Fe,Ge,tt)}function T0(ne,ae,ge,Fe,Ge,tt){var at;for(at=3;0St?0:255:St)&255,St=Et,Ge[tt+At]=An}}function ms(ne,ae,ge,Fe){var Ge=ae.width,tt=ae.o;if(y(ne!=null&&ae!=null),0>ge||0>=Fe||ge+Fe>tt)return null;if(!ne.Cc){if(ne.ga==null){var at;if(ne.ga=new $o,(at=ne.ga==null)||(at=ae.width*ae.o,y(ne.Gb.length==0),ne.Gb=te(at),ne.Uc=0,ne.Gb==null?at=0:(ne.mb=ne.Gb,ne.nb=ne.Uc,ne.rc=null,at=1),at=!at),!at){at=ne.ga;var At=ne.Fa,Et=ne.P,St=ne.qc,An=ne.mb,Qn=ne.nb,Nt=Et+1,vn=St-1,Dn=at.l;if(y(At!=null&&An!=null&&ae!=null),Vc[0]=null,Vc[1]=ki,Vc[2]=bs,Vc[3]=Ks,at.ca=An,at.tb=Qn,at.c=ae.width,at.i=ae.height,y(0=St)ae=0;else if(at.$a=3&At[Et+0],at.Z=At[Et+0]>>2&3,at.Lc=At[Et+0]>>4&3,Et=At[Et+0]>>6&3,0>at.$a||1=at.c*at.i;at=!ae}if(at)return null;ne.ga.Lc!=1?ne.Ga=0:Fe=tt-ge}y(ne.ga!=null),y(ge+Fe<=tt);e:{if(ae=(At=ne.ga).c,tt=At.l.o,At.$a==0){if(Nt=ne.rc,vn=ne.Vc,Dn=ne.Fa,Et=ne.P+1+ge*ae,St=ne.mb,An=ne.nb+ge*ae,y(Et<=ne.P+ne.qc),At.Z!=0)for(y(Vc[At.Z]!=null),at=0;at=ae)ae=1;else if(At.ic||vu(),At.ic){At=at.V,Nt=at.Ba,vn=at.c;var or=at.i,On=(Dn=1,Et=at.$/vn,St=at.$%vn,An=at.m,Qn=at.s,at.$),lr=vn*or,hr=vn*ae,kr=Qn.wc,Dr=On(or=Ns(Dr.G[0],Dr.H[0],An)))At[Nt+On]=or,++On,++St>=vn&&(St=0,++Et<=ae&&!(Et%16)&&hu(at,Et));else{if(!(280>or)){Dn=0;break t}or=_l(or-256,An);var qa,Sa=Ns(Dr.G[4],Dr.H[4],An);if(Sn(An),!(On>=(Sa=$l(vn,Sa=_l(Sa,An)))&&lr-On>=or)){Dn=0;break t}for(qa=0;qa=vn;)St-=vn,++Et<=ae&&!(Et%16)&&hu(at,Et);Onae?ae:Et);break t}!Dn||An.h&&On=tt&&(ne.Cc=1),Fe=1}if(!Fe)return null;if(ne.Cc&&((Fe=ne.ga)!=null&&(Fe.mc=null),ne.ga=null,0>23,At[Et+4*at+1]=At[Et+4*at+1]*Qn>>23,At[Et+4*at+2]=At[Et+4*at+2]*Qn>>23)}ae+=tt}}function Js(ne,ae,ge,Fe,Ge){for(;0>4)*Et>>16;ne[ae+2*tt+0]=(240&at|at>>4)*Et>>16&240|(15&at|at<<4)*Et>>16>>4&15,ne[ae+2*tt+1]=240&St|At}ae+=Ge}}function fl(ne,ae,ge,Fe,Ge,tt,at,At){var Et,St,An=255;for(St=0;St>8}function vu(){mA=nl,Og=Js,Rg=fl,kg=lc}function uc(ne,ae,ge){Ut[ne]=function(Fe,Ge,tt,at,At,Et,St,An,Qn,Nt,vn,Dn,or,On,lr,hr,kr){var Dr,qa=kr-1>>1,Sa=At[Et+0]|St[An+0]<<16,ni=Qn[Nt+0]|vn[Dn+0]<<16;y(Fe!=null);var Qa=3*Sa+ni+131074>>2;for(ae(Fe[Ge+0],255&Qa,Qa>>16,or,On),tt!=null&&(Qa=3*ni+Sa+131074>>2,ae(tt[at+0],255&Qa,Qa>>16,lr,hr)),Dr=1;Dr<=qa;++Dr){var Pi=At[Et+Dr]|St[An+Dr]<<16,al=Qn[Nt+Dr]|vn[Dn+Dr]<<16,ri=Sa+Pi+ni+al+524296,za=ri+2*(Pi+ni)>>3;Qa=za+Sa>>1,Sa=(ri=ri+2*(Sa+al)>>3)+Pi>>1,ae(Fe[Ge+2*Dr-1],255&Qa,Qa>>16,or,On+(2*Dr-1)*ge),ae(Fe[Ge+2*Dr-0],255&Sa,Sa>>16,or,On+(2*Dr-0)*ge),tt!=null&&(Qa=ri+ni>>1,Sa=za+al>>1,ae(tt[at+2*Dr-1],255&Qa,Qa>>16,lr,hr+(2*Dr-1)*ge),ae(tt[at+2*Dr+0],255&Sa,Sa>>16,lr,hr+(2*Dr+0)*ge)),Sa=Pi,ni=al}1&kr||(Qa=3*Sa+ni+131074>>2,ae(Fe[Ge+kr-1],255&Qa,Qa>>16,or,On+(kr-1)*ge),tt!=null&&(Qa=3*ni+Sa+131074>>2,ae(tt[at+kr-1],255&Qa,Qa>>16,lr,hr+(kr-1)*ge)))}}function rA(){iu[Z0]=r1,iu[W0]=Yg,iu[Zg]=a1,iu[G0]=Kg,iu[V0]=Jg,iu[oh]=qg,iu[Wg]=o1,iu[ih]=Yg,iu[sh]=Kg,iu[X0]=Jg,iu[lh]=qg}function cf(ne){return ne&~i1?0>ne?0:255:ne>>_g}function Rc(ne,ae){return cf((19077*ne>>8)+(26149*ae>>8)-14234)}function yd(ne,ae,ge){return cf((19077*ne>>8)-(6419*ae>>8)-(13320*ge>>8)+8708)}function Cd(ne,ae){return cf((19077*ne>>8)+(33050*ae>>8)-17685)}function kc(ne,ae,ge,Fe,Ge){Fe[Ge+0]=Rc(ne,ge),Fe[Ge+1]=yd(ne,ae,ge),Fe[Ge+2]=Cd(ne,ae)}function Al(ne,ae,ge,Fe,Ge){Fe[Ge+0]=Cd(ne,ae),Fe[Ge+1]=yd(ne,ae,ge),Fe[Ge+2]=Rc(ne,ge)}function wd(ne,ae,ge,Fe,Ge){var tt=yd(ne,ae,ge);ae=tt<<3&224|Cd(ne,ae)>>3,Fe[Ge+0]=248&Rc(ne,ge)|tt>>5,Fe[Ge+1]=ae}function bd(ne,ae,ge,Fe,Ge){var tt=240&Cd(ne,ae)|15;Fe[Ge+0]=240&Rc(ne,ge)|yd(ne,ae,ge)>>4,Fe[Ge+1]=tt}function aA(ne,ae,ge,Fe,Ge){Fe[Ge+0]=255,kc(ne,ae,ge,Fe,Ge+1)}function oA(ne,ae,ge,Fe,Ge){Al(ne,ae,ge,Fe,Ge),Fe[Ge+3]=255}function Sl(ne,ae,ge,Fe,Ge){kc(ne,ae,ge,Fe,Ge),Fe[Ge+3]=255}function cc(ne,ae,ge){Ut[ne]=function(Fe,Ge,tt,at,At,Et,St,An,Qn){for(var Nt=An+(-2&Qn)*ge;An!=Nt;)ae(Fe[Ge+0],tt[at+0],At[Et+0],St,An),ae(Fe[Ge+1],tt[at+0],At[Et+0],St,An+ge),Ge+=2,++at,++Et,An+=2*ge;1&Qn&&ae(Fe[Ge+0],tt[at+0],At[Et+0],St,An)}}function df(ne,ae,ge){return ge==0?ne==0?ae==0?6:5:ae==0?4:0:ge}function Q0(ne,ae,ge,Fe,Ge){switch(ne>>>30){case 3:Fd(ae,ge,Fe,Ge,0);break;case 2:au(ae,ge,Fe,Ge);break;case 1:qi(ae,ge,Fe,Ge)}}function ru(ne,ae){var ge,Fe,Ge=ae.M,tt=ae.Nb,at=ne.oc,At=ne.pc+40,Et=ne.oc,St=ne.pc+584,An=ne.oc,Qn=ne.pc+600;for(ge=0;16>ge;++ge)at[At+32*ge-1]=129;for(ge=0;8>ge;++ge)Et[St+32*ge-1]=129,An[Qn+32*ge-1]=129;for(0ge;++ge)x(at,At+32*ge-4,at,At+32*ge+12,4);for(ge=-1;8>ge;++ge)x(Et,St+32*ge-4,Et,St+32*ge+4,4),x(An,Qn+32*ge-4,An,Qn+32*ge+4,4)}var vn=ne.Gd,Dn=ne.Hd+Fe,or=Nt.ad,On=Nt.Hc;if(0=ne.za-1?z(lr,hr,vn[Dn].y[15],4):x(lr,hr,vn[Dn+1].y,0,4)),ge=0;4>ge;ge++)lr[hr+128+ge]=lr[hr+256+ge]=lr[hr+384+ge]=lr[hr+0+ge];for(ge=0;16>ge;++ge,On<<=2)lr=at,hr=At+ep[ge],Eu[Nt.Ob[ge]](lr,hr),Q0(On,or,16*+ge,lr,hr)}else if(lr=df(Fe,Ge,Nt.Ob[0]),Gc[lr](at,At),On!=0)for(ge=0;16>ge;++ge,On<<=2)Q0(On,or,16*+ge,at,At+ep[ge]);for(ge=Nt.Gc,lr=df(Fe,Ge,Nt.Dd),Ac[lr](Et,St),Ac[lr](An,Qn),On=or,lr=Et,hr=St,255&(Nt=0|ge)&&(170&Nt?Hu(On,256,lr,hr):os(On,256,lr,hr)),Nt=An,On=Qn,255&(ge>>=8)&&(170&ge?Hu(or,320,Nt,On):os(or,320,Nt,On)),Gege;++ge)x(vn,Dn+ge*ne.R,at,At+32*ge,16);for(ge=0;8>ge;++ge)x(or,Nt+ge*ne.B,Et,St+32*ge,8),x(On,lr+ge*ne.B,An,Qn+32*ge,8)}}function Bd(ne,ae,ge,Fe,Ge,tt,at,At,Et){var St=[0],An=[0],Qn=0,Nt=Et!=null?Et.kd:0,vn=Et!=null?Et:new Pr;if(ne==null||12>ge)return 7;vn.data=ne,vn.w=ae,vn.ha=ge,ae=[ae],ge=[ge],vn.gb=[vn.gb];e:{var Dn=ae,or=ge,On=vn.gb;if(y(ne!=null),y(or!=null),y(On!=null),On[0]=0,12<=or[0]&&!E(ne,Dn[0],"RIFF")){if(E(ne,Dn[0]+8,"WEBP")){On=3;break e}var lr=mo(ne,Dn[0]+4);if(12>lr||4294967286or[0]-8){On=7;break e}On[0]=lr,Dn[0]+=12,or[0]-=12}On=0}if(On!=0)return On;for(lr=0On[0])On=7;else{if(!E(hr,or[0],"VP8X")){if(mo(hr,or[0]+4)!=10){On=3;break e}if(18>On[0]){On=7;break e}var Sa=mo(hr,or[0]+8),ni=1+Aa(hr,or[0]+12);if(2147483648<=ni*(hr=1+Aa(hr,or[0]+15))){On=3;break e}qa!=null&&(qa[0]=Sa),kr!=null&&(kr[0]=ni),Dr!=null&&(Dr[0]=hr),or[0]+=18,On[0]-=18,Qa[0]=1}On=0}}if(Qn=Qn[0],Dn=Dn[0],On!=0)return On;if(or=!!(2&Dn),!lr&&Qn)return 3;if(tt!=null&&(tt[0]=!!(16&Dn)),at!=null&&(at[0]=or),At!=null&&(At[0]=0),at=St[0],Dn=An[0],Qn&&or&&Et==null){On=0;break}if(4>ge){On=7;break}if(lr&&Qn||!lr&&!Qn&&!E(ne,ae[0],"ALPH")){ge=[ge],vn.na=[vn.na],vn.P=[vn.P],vn.Sa=[vn.Sa];e:{Sa=ne,On=ae,lr=ge;var Qa=vn.gb;kr=vn.na,Dr=vn.P,qa=vn.Sa,ni=22,y(Sa!=null),y(lr!=null),hr=On[0];var Pi=lr[0];for(y(kr!=null),y(qa!=null),kr[0]=null,Dr[0]=null,qa[0]=0;;){if(On[0]=hr,lr[0]=Pi,8>Pi){On=7;break e}var al=mo(Sa,hr+4);if(4294967286Qa){On=3;break e}if(!E(Sa,hr,"VP8 ")||!E(Sa,hr,"VP8L")){On=0;break e}if(Pi[0]lr[0])On=7;else{if(hr||ni){if(Qa=mo(Qa,Sa+4),12<=kr&&Qa>kr-12){On=3;break e}if(Nt&&Qa>lr[0]-8){On=7;break e}Dr[0]=Qa,On[0]+=8,lr[0]-=8,qa[0]=ni}else qa[0]=5<=lr[0]&&Qa[Sa+0]==47&&!(Qa[Sa+4]>>5),Dr[0]=lr[0];On=0}if(ge=ge[0],vn.Ja=vn.Ja[0],vn.xa=vn.xa[0],ae=ae[0],On!=0)break;if(4294967286ge){On=7;break}At=at,Nt=Dn,or=tt,ne==null||5>ge?ne=0:5<=ge&&ne[ae+0]==47&&!(ne[ae+4]>>5)?(lr=[0],Qa=[0],kr=[0],rr(Dr=new kt,ne,ae,ge),ec(Dr,lr,Qa,kr)?(At!=null&&(At[0]=lr[0]),Nt!=null&&(Nt[0]=Qa[0]),or!=null&&(or[0]=kr[0]),ne=1):ne=0):ne=0}else{if(10>ge){On=7;break}At=Dn,ne==null||10>ge||!P0(ne,ae+3,ge-3)?ne=0:(Nt=ne[ae+0]|ne[ae+1]<<8|ne[ae+2]<<16,or=16383&(ne[ae+7]<<8|ne[ae+6]),ne=16383&(ne[ae+9]<<8|ne[ae+8]),1&Nt||3<(Nt>>1&7)||!(Nt>>4&1)||Nt>>5>=vn.Ja||!or||!ne?ne=0:(at&&(at[0]=or),At&&(At[0]=ne),ne=1))}if(!ne||(at=at[0],Dn=Dn[0],Qn&&(St[0]!=at||An[0]!=Dn)))return 3;Et!=null&&(Et[0]=vn,Et.offset=ae-Et.w,y(4294967286>ae-Et.w),y(Et.offset==Et.ha-ge));break}return On==0||On==7&&Qn&&Et==null?(tt!=null&&(tt[0]|=vn.na!=null&&0ge||(tt&=-2,at&=-2),0>tt||0>at||0>=At||0>=Et||tt+At>Fe||at+Et>Ge))return 0;if(ae.v=tt,ae.j=at,ae.va=tt+At,ae.o=at+Et,ae.U=At,ae.T=Et,ae.da=ne!=null&&0ne.S){var ae=ne.f.RGBA;ae.fb+=(ne.height-1)*ae.A,ae.A=-ae.A}else ae=ne.f.kb,ne=ne.height,ae.O+=(ne-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(ne-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(ne-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(ne-1)*ae.lb,ae.lb=-ae.lb);return 0}function Tc(ne,ae,ge,Fe){if(Fe==null||0>=ne||0>=ae)return 2;if(ge!=null){if(ge.Da){var Ge=ge.cd,tt=ge.bd,at=-2&ge.v,At=-2&ge.j;if(0>at||0>At||0>=Ge||0>=tt||at+Ge>ne||At+tt>ae)return 2;ne=Ge,ae=tt}if(ge.da){if(!Io(ne,ae,Ge=[ge.ib],tt=[ge.hb]))return 2;ne=Ge[0],ae=tt[0]}}Fe.width=ne,Fe.height=ae;e:{var Et=Fe.width,St=Fe.height;if(ne=Fe.S,0>=Et||0>=St||!(ne>=Z0&&13>ne))ne=2;else{if(0>=Fe.Rd&&Fe.sd==null){at=tt=Ge=ae=0;var An=(At=Et*tp[ne])*St;if(11>ne||(tt=(St+1)/2*(ae=(Et+1)/2),ne==12&&(at=(Ge=Et)*St)),(St=te(An+2*tt+at))==null){ne=1;break e}Fe.sd=St,11>ne?((Et=Fe.f.RGBA).eb=St,Et.fb=0,Et.A=At,Et.size=An):((Et=Fe.f.kb).y=St,Et.O=0,Et.fa=At,Et.Fd=An,Et.f=St,Et.N=0+An,Et.Ab=ae,Et.Cd=tt,Et.ea=St,Et.W=0+An+tt,Et.Db=ae,Et.Ed=tt,ne==12&&(Et.F=St,Et.J=0+An+2*tt),Et.Tc=at,Et.lb=Ge)}if(ae=1,Ge=Fe.S,tt=Fe.width,at=Fe.height,Ge>=Z0&&13>Ge)if(11>Ge)ne=Fe.f.RGBA,ae&=(At=Math.abs(ne.A))*(at-1)+tt<=ne.size,ae&=At>=tt*tp[Ge],ae&=ne.eb!=null;else{ne=Fe.f.kb,At=(tt+1)/2,An=(at+1)/2,Et=Math.abs(ne.fa),St=Math.abs(ne.Ab);var Qn=Math.abs(ne.Db),Nt=Math.abs(ne.lb),vn=Nt*(at-1)+tt;ae&=Et*(at-1)+tt<=ne.Fd,ae&=St*(An-1)+At<=ne.Cd,ae=(ae&=Qn*(An-1)+At<=ne.Ed)&Et>=tt&St>=At&Qn>=At,ae&=ne.y!=null,ae&=ne.f!=null,ae&=ne.ea!=null,Ge==12&&(ae&=Nt>=tt,ae&=vn<=ne.Tc,ae&=ne.F!=null)}else ae=0;ne=ae?0:2}}return ne!=0||ge!=null&&ge.fd&&(ne=sA(Fe)),ne}var xd=64,Hl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Zl=24,Qc=32,dc=8,zc=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];La("Predictor0","PredictorAdd0"),Ut.Predictor0=function(){return 4278190080},Ut.Predictor1=function(ne){return ne},Ut.Predictor2=function(ne,ae,ge){return ae[ge+0]},Ut.Predictor3=function(ne,ae,ge){return ae[ge+1]},Ut.Predictor4=function(ne,ae,ge){return ae[ge-1]},Ut.Predictor5=function(ne,ae,ge){return po(po(ne,ae[ge+1]),ae[ge+0])},Ut.Predictor6=function(ne,ae,ge){return po(ne,ae[ge-1])},Ut.Predictor7=function(ne,ae,ge){return po(ne,ae[ge+0])},Ut.Predictor8=function(ne,ae,ge){return po(ae[ge-1],ae[ge+0])},Ut.Predictor9=function(ne,ae,ge){return po(ae[ge+0],ae[ge+1])},Ut.Predictor10=function(ne,ae,ge){return po(po(ne,ae[ge-1]),po(ae[ge+0],ae[ge+1]))},Ut.Predictor11=function(ne,ae,ge){var Fe=ae[ge+0];return 0>=Vo(Fe>>24&255,ne>>24&255,(ae=ae[ge-1])>>24&255)+Vo(Fe>>16&255,ne>>16&255,ae>>16&255)+Vo(Fe>>8&255,ne>>8&255,ae>>8&255)+Vo(255&Fe,255&ne,255&ae)?Fe:ne},Ut.Predictor12=function(ne,ae,ge){var Fe=ae[ge+0];return(Ki((ne>>24&255)+(Fe>>24&255)-((ae=ae[ge-1])>>24&255))<<24|Ki((ne>>16&255)+(Fe>>16&255)-(ae>>16&255))<<16|Ki((ne>>8&255)+(Fe>>8&255)-(ae>>8&255))<<8|Ki((255&ne)+(255&Fe)-(255&ae)))>>>0},Ut.Predictor13=function(ne,ae,ge){var Fe=ae[ge-1];return(wi((ne=po(ne,ae[ge+0]))>>24&255,Fe>>24&255)<<24|wi(ne>>16&255,Fe>>16&255)<<16|wi(ne>>8&255,Fe>>8&255)<<8|wi(255&ne,255&Fe))>>>0};var lA=Ut.PredictorAdd0;Ut.PredictorAdd1=Fi,La("Predictor2","PredictorAdd2"),La("Predictor3","PredictorAdd3"),La("Predictor4","PredictorAdd4"),La("Predictor5","PredictorAdd5"),La("Predictor6","PredictorAdd6"),La("Predictor7","PredictorAdd7"),La("Predictor8","PredictorAdd8"),La("Predictor9","PredictorAdd9"),La("Predictor10","PredictorAdd10"),La("Predictor11","PredictorAdd11"),La("Predictor12","PredictorAdd12"),La("Predictor13","PredictorAdd13");var ff=Ut.PredictorAdd2;ro("ColorIndexInverseTransform","MapARGB","32b",function(ne){return ne>>8&255},function(ne){return ne}),ro("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(ne){return ne},function(ne){return ne>>8&255});var zs,z0=Ut.ColorIndexInverseTransform,zu=Ut.MapARGB,Uu=Ut.VP8LColorIndexInverseTransformAlpha,uA=Ut.MapAlpha,cA=Ut.VP8LPredictorsAdd=[];cA.length=16,(Ut.VP8LPredictors=[]).length=16,(Ut.VP8LPredictorsAdd_C=[]).length=16,(Ut.VP8LPredictors_C=[]).length=16;var dA,fA,Uc,Hc,Zc,Id,Wc,Fd,au,Hu,qi,os,Us,rl,fc,AA,Af,U0,Dg,Sg,Ng,jg,Lg,Mg,mA,Og,Rg,kg,Tg=te(511),Qg=te(2041),zg=te(225),Ug=te(767),Hg=0,ah=Qg,H0=zg,Wl=Ug,ou=Tg,Z0=0,W0=1,Zg=2,G0=3,V0=4,oh=5,Wg=6,ih=7,sh=8,X0=9,lh=10,Zv=[2,3,7],Wv=[3,3,11],Gg=[280,256,256,256,40],Gv=[0,1,1,1,0],Vv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Xv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Yv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Kv=8,uh=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ch=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],hA=null,Jv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],qv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Vg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],_v=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],$v=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],e1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],t1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Gc=[],Eu=[],Ac=[],n1=1,Xg=2,Vc=[],iu=[];uc("UpsampleRgbLinePair",kc,3),uc("UpsampleBgrLinePair",Al,3),uc("UpsampleRgbaLinePair",Sl,4),uc("UpsampleBgraLinePair",oA,4),uc("UpsampleArgbLinePair",aA,4),uc("UpsampleRgba4444LinePair",bd,2),uc("UpsampleRgb565LinePair",wd,2);var r1=Ut.UpsampleRgbLinePair,a1=Ut.UpsampleBgrLinePair,Yg=Ut.UpsampleRgbaLinePair,Kg=Ut.UpsampleBgraLinePair,Jg=Ut.UpsampleArgbLinePair,qg=Ut.UpsampleRgba4444LinePair,o1=Ut.UpsampleRgb565LinePair,Y0=16,K0=1<Fe.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Fe.ca.f.kb.F!=null&&vu()),Fe.Pb&&0(Et=ge.Md)?0:100St;++St)12>(Qn=Ge.pb[St]).lc&&(Qn.ia=Et*A1[0>Qn.lc?0:Qn.lc]>>3),An|=Qn.ia;An&&(alert("todo:VP8InitRandom"),Ge.ia=1)}Ge.Ga=ge.Id,100Ge.Ga&&(Ge.Ga=0)}(function(Nt,vn){if(Nt==null)return 0;if(vn==null)return Ys(Nt,2,"NULL VP8Io parameter in VP8Decode().");if(!Nt.cb&&!Tu(Nt,vn))return 0;if(y(Nt.cb),vn.ac==null||vn.ac(vn)){vn.ob&&(Nt.L=0);var Dn=J0[Nt.L];if(Nt.L==2?(Nt.yb=0,Nt.zb=0):(Nt.yb=vn.v-Dn>>4,Nt.zb=vn.j-Dn>>4,0>Nt.yb&&(Nt.yb=0),0>Nt.zb&&(Nt.zb=0)),Nt.Va=vn.o+15+Dn>>4,Nt.Hb=vn.va+15+Dn>>4,Nt.Hb>Nt.za&&(Nt.Hb=Nt.za),Nt.Va>Nt.Ub&&(Nt.Va=Nt.Ub),0Dn;++Dn){var On;if(Nt.Qa.Cb){var lr=Nt.Qa.Lb[Dn];Nt.Qa.Fb||(lr+=or.Tb)}else lr=or.Tb;for(On=0;1>=On;++On){var hr=Nt.gd[Dn][On],kr=lr;if(or.Pc&&(kr+=or.vd[0],On&&(kr+=or.od[0])),0<(kr=0>kr?0:63>2:Dr>>1)>9-or.wb&&(Dr=9-or.wb),1>Dr&&(Dr=1),hr.dd=Dr,hr.tc=2*kr+Dr,hr.ld=40<=kr?2:15<=kr?1:0}else hr.tc=0;hr.La=On}}}Dn=0}else Ys(Nt,6,"Frame setup failed"),Dn=Nt.a;if(Dn=Dn==0){if(Dn){Nt.$c=0,0Nt.Vb){if(Nt.Vb=0,Nt.Ec=te(hr),Nt.Fc=0,Nt.Ec==null){Dn=Ys(Nt,1,"no memory during frame initialization.");break t}Nt.Vb=hr}hr=Nt.Ec,kr=Nt.Fc,Nt.Ac=hr,Nt.Bc=kr,kr+=or,Nt.Gd=ie(qa,I0),Nt.Hd=0,Nt.rb=ie(Sa+1,Xf),Nt.sb=1,Nt.wa=ni?ie(ni,tu):null,Nt.Y=0,Nt.D.Nb=0,Nt.D.wa=Nt.wa,Nt.D.Y=Nt.Y,0=Dn;++Dn)Tg[255+Dn]=0>Dn?-Dn:Dn;for(Dn=-1020;1020>=Dn;++Dn)Qg[1020+Dn]=-128>Dn?-128:127=Dn;++Dn)zg[112+Dn]=-16>Dn?-16:15=Dn;++Dn)Ug[255+Dn]=0>Dn?0:255Ni;++Ni){var ol,Ti=Nl[0+Ni];for(ol=0;4>ol;++ol){Ti=$v[vs[ml+ol]][Ti];for(var _i=Vg[Er(Yo,Ti[0])];0<_i;)_i=Vg[2*_i+Er(Yo,Ti[_i])];Ti=-_i,vs[ml+ol]=Ti}x(Pl,jl,vs,ml,4),jl+=4,Nl[0+Ni]=Ti}}else Ti=Er(Yo,156)?Er(Yo,128)?1:3:Er(Yo,163)?2:0,js.Ob[0]=Ti,z(vs,ml,Ti,4),z(Nl,0,Ti,4);js.Dd=Er(Yo,142)?Er(Yo,114)?Er(Yo,183)?1:3:2:0}if(Hs.m.Ka)return Ys(Pi,7,"Premature end-of-partition0 encountered.");for(;Pi.ja>3;for(_i=0;256>_i;_i+=16)Ni[Pl+_i]=kl}hl=1,yu=ml[0]}var is=15&Yo.la,il=15&jl.la;for(_i=0;4>_i;++_i){var Gl=1&il;for(kl=$i=0;4>kl;++kl)is=is>>1|(Gl=(Zs=hA(vs,yu,Zs=Gl+(1&is),js.Sc,hl,Ni,Pl))>hl)<<7,$i=$i<<2|(3>=4,il=il>>1|Gl<<7,ol=(ol<<8|$i)>>>0}for(yu=is,hl=il>>4,Ls=0;4>Ls;Ls+=2){for($i=0,is=Yo.la>>4+Ls,il=jl.la>>4+Ls,_i=0;2>_i;++_i){for(Gl=1&il,kl=0;2>kl;++kl)Zs=Gl+(1&is),is=is>>1|(Gl=0<(Zs=hA(vs,ml[2],Zs,js.Qc,0,Ni,Pl)))<<3,$i=$i<<2|(3>=2,il=il>>1|Gl<<5}Ti|=$i<<4*Ls,yu|=is<<4<=za.zb&&za.M<=za.Va,za.Aa==0)t:{if(ri.M=za.M,ri.uc=Yo,ru(za,ri),Hs=1,ri=($i=za.D).Nb,Yo=(Ti=J0[za.L])*za.R,vs=Ti/2*za.B,_i=16*ri*za.R,kl=8*ri*za.B,ml=za.sa,Nl=za.ta-Yo+_i,js=za.qa,Ni=za.ra-vs+kl,Pl=za.Ha,jl=za.Ia-vs+kl,il=(is=$i.M)==0,ol=is>=za.Va-1,za.Aa==2&&ru(za,$i),$i.uc)for(Gl=(Zs=za).D.M,y(Zs.D.uc),$i=Zs.yb;$ica.o&&(is=ca.o),ca.F=null,ca.J=null,za.Fa!=null&&0>1),ca.W+=za.B*(Ti>>1),ca.F!=null&&(ca.J+=ca.width*Ti)),$i>1,ca.W+=ca.v>>1,ca.F!=null&&(ca.J+=ca.v),ca.ka=$i-ca.j,ca.U=ca.va-ca.v,ca.T=is-$i,Hs=ca.put(ca))}ri+1!=za.Ic||ol||(x(za.sa,za.ta-Yo,ml,Nl+16*za.R,Yo),x(za.qa,za.ra-vs,js,Ni+8*za.B,vs),x(za.Ha,za.Ia-vs,Pl,jl+8*za.B,vs))}if(!Hs)return Ys(Pi,6,"Output aborted.")}return 1}(Nt,vn)),vn.bc!=null&&vn.bc(vn),Dn&=1}return Dn?(Nt.cb=0,Dn):0})(ne,Fe)||(ae=ne.a)}}else ae=ne.a}ae==0&&at.Oa!=null&&at.Oa.fd&&(ae=sA(at.ba))}at=ae}tt=at!=0?null:11>tt?At.f.RGBA.eb:At.f.kb.y}else tt=null;return tt};var tp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function de(Ut,Pn){for(var lt="",Ft=0;Ft<4;Ft++)lt+=String.fromCharCode(Ut[Pn++]);return lt}function Ee(Ut,Pn){return Ut[Pn+0]|Ut[Pn+1]<<8}function He(Ut,Pn){return(Ut[Pn+0]|Ut[Pn+1]<<8|Ut[Pn+2]<<16)>>>0}function _e(Ut,Pn){return(Ut[Pn+0]|Ut[Pn+1]<<8|Ut[Pn+2]<<16|Ut[Pn+3]<<24)>>>0}new ue;var ve=[0],xt=[0],Ct=[],It=new ue,dt=a,sn=function(Ut,Pn){var lt={},Ft=0,on=!1,en=0,Wn=0;if(lt.frames=[],!function(it,kt){for(var Jt=0;Jt<4;Jt++)if(it[kt+Jt]!="RIFF".charCodeAt(Jt))return!0;return!1}(Ut,Pn)){for(_e(Ut,Pn+=4),Pn+=8;Pn>1&1}Yn!="ANMF"&&(Pn+=kn)}return lt}}(dt,0);sn.response=dt,sn.rgbaoutput=!0,sn.dataurl=!1;var _t=sn.header?sn.header:null,zt=sn.frames?sn.frames:null;if(_t){_t.loop_counter=_t.loop_count,ve=[_t.canvas_height],xt=[_t.canvas_width];for(var Un=0;Un=2?Pt[1]:ha[0],ha[2]=Pt.length>=3?Pt[2]:ha[0],ha[3]=Pt.length>=4?Pt[3]:ha[1]),de.margin=ha}});var Jn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Jn},set:function(Pt){Jn=Pt}});var tr=0;Object.defineProperty(this,"lastBreak",{get:function(){return tr},set:function(Pt){tr=Pt}});var Er=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Er},set:function(Pt){Er=Pt}}),Object.defineProperty(this,"ctx",{get:function(){return de},set:function(Pt){Pt instanceof Ee&&(de=Pt)}}),Object.defineProperty(this,"path",{get:function(){return de.path},set:function(Pt){de.path=Pt}});var Ur=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ur},set:function(Pt){Ur=Pt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Pt){var ha;ha=_e(Pt),this.ctx.fillStyle=ha.style,this.ctx.isFillTransparent=ha.a===0,this.ctx.fillOpacity=ha.a,this.pdf.setFillColor(ha.r,ha.g,ha.b,{a:ha.a}),this.pdf.setTextColor(ha.r,ha.g,ha.b,{a:ha.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Pt){var ha=_e(Pt);this.ctx.strokeStyle=ha.style,this.ctx.isStrokeTransparent=ha.a===0,this.ctx.strokeOpacity=ha.a,ha.a===0?this.pdf.setDrawColor(255,255,255):(ha.a,this.pdf.setDrawColor(ha.r,ha.g,ha.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Pt){["butt","round","square"].indexOf(Pt)!==-1&&(this.ctx.lineCap=Pt,this.pdf.setLineCap(Pt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Pt){isNaN(Pt)||(this.ctx.lineWidth=Pt,this.pdf.setLineWidth(Pt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Pt){["bevel","round","miter"].indexOf(Pt)!==-1&&(this.ctx.lineJoin=Pt,this.pdf.setLineJoin(Pt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Pt){isNaN(Pt)||(this.ctx.miterLimit=Pt,this.pdf.setMiterLimit(Pt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Pt){this.ctx.textBaseline=Pt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Pt){["right","end","center","left","start"].indexOf(Pt)!==-1&&(this.ctx.textAlign=Pt)}});var ma=null,Aa=null,mo=null;Object.defineProperty(this,"fontFaces",{get:function(){return mo},set:function(Pt){ma=null,Aa=null,mo=Pt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Pt){var ha;if(this.ctx.font=Pt,(ha=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Pt))!==null){var ci=ha[1];ha[2];var Io=ha[3],Mr=ha[4];ha[5];var Fo=ha[6],La=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Mr)[2];Mr=Math.floor(La==="px"?parseFloat(Mr)*this.pdf.internal.scaleFactor:La==="em"?parseFloat(Mr)*this.pdf.getFontSize():parseFloat(Mr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Mr);var Bo=function(ro){var Qs,Ri,Ai=[],mi=ro.trim();if(mi==="")return Qm;if(mi in ug)return[ug[mi]];for(;mi!=="";){switch(Ri=null,Qs=(mi=dg(mi)).charAt(0)){case'"':case"'":Ri=wv(mi.substring(1),Qs);break;default:Ri=bv(mi)}if(Ri===null||(Ai.push(Ri[0]),(mi=dg(Ri[1]))!==""&&mi.charAt(0)!==","))return Qm;mi=mi.replace(/^,/,"")}return Ai}(Fo);if(this.fontFaces){var po=function(ro,Qs){var Ri=ro.getFontList(),Ai=JSON.stringify(Ri);if(ma===null||Aa!==Ai){var mi=function(ys){var Co=[];return Object.keys(ys).forEach(function(As){ys[As].forEach(function(Oo){var Xo=null;switch(Oo){case"bold":Xo={family:As,weight:"bold"};break;case"italic":Xo={family:As,style:"italic"};break;case"bolditalic":Xo={family:As,weight:"bold",style:"italic"};break;case"":case"normal":Xo={family:As}}Xo!==null&&(Xo.ref={name:As,style:Oo},Co.push(Xo))})}),Co}(Ri);ma=function(ys){for(var Co={},As=0;As=700||ci==="bold")&&(Vo="bold"),ci==="italic"&&(Vo+="italic"),Vo.length===0&&(Vo="normal");for(var Fi="",bi={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ga=0;Ga=2*Math.PI&&(cn=0,Cn=2*Math.PI),this.path.push({type:"arc",x:it,y:kt,radius:Jt,startAngle:cn,endAngle:Cn,counterclockwise:Sn})},He.prototype.arcTo=function(it,kt,Jt,cn,Cn){throw new Error("arcTo not implemented.")},He.prototype.rect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(it,kt),this.lineTo(it+Jt,kt),this.lineTo(it+Jt,kt+cn),this.lineTo(it,kt+cn),this.lineTo(it,kt),this.lineTo(it+Jt,kt),this.lineTo(it,kt)},He.prototype.fillRect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var Cn={};this.lineCap!=="butt"&&(Cn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Cn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(it,kt,Jt,cn),this.fill(),Cn.hasOwnProperty("lineCap")&&(this.lineCap=Cn.lineCap),Cn.hasOwnProperty("lineJoin")&&(this.lineJoin=Cn.lineJoin)}},He.prototype.strokeRect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");xt.call(this)||(this.beginPath(),this.rect(it,kt,Jt,cn),this.stroke())},He.prototype.clearRect=function(it,kt,Jt,cn){if(isNaN(it)||isNaN(kt)||isNaN(Jt)||isNaN(cn))throw as.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(it,kt,Jt,cn))},He.prototype.save=function(it){it=typeof it!="boolean"||it;for(var kt=this.pdf.internal.getCurrentPageInfo().pageNumber,Jt=0;Jt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};He.prototype.drawImage=function(it,kt,Jt,cn,Cn,Sn,Jn,tr,Er){var Ur=this.pdf.getImageProperties(it),ma=1,Aa=1,mo=1,Pt=1;cn!==void 0&&tr!==void 0&&(mo=tr/cn,Pt=Er/Cn,ma=Ur.width/cn*tr/cn,Aa=Ur.height/Cn*Er/Cn),Sn===void 0&&(Sn=kt,Jn=Jt,kt=0,Jt=0),cn!==void 0&&tr===void 0&&(tr=cn,Er=Cn),cn===void 0&&tr===void 0&&(tr=Ur.width,Er=Ur.height);var ha=this.ctx.transform.decompose(),ci=kn(ha.rotate.shx),Io=new ue,Mr=(Io=(Io=(Io=Io.multiply(ha.translate)).multiply(ha.skew)).multiply(ha.scale)).applyToRectangle(new oe(Sn-kt*mo,Jn-Jt*Pt,cn*ma,Cn*Aa));if(this.autoPaging){for(var Fo,La=It.call(this,Mr),Bo=[],po=0;poKi||VoMr||La0)){for(;Er>=0;Er--)if(Cn[Er-1].close!==!0&&Cn[Er-1].begin!==!0){Cn[Er-1].deltas.push(Jt),Cn[Er-1].abs.push(tr);break}}break;case"bct":Jt=[tr.x1-Sn[Jn-1].x,tr.y1-Sn[Jn-1].y,tr.x2-Sn[Jn-1].x,tr.y2-Sn[Jn-1].y,tr.x-Sn[Jn-1].x,tr.y-Sn[Jn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"qct":var Ur=Sn[Jn-1].x+2/3*(tr.x1-Sn[Jn-1].x),ma=Sn[Jn-1].y+2/3*(tr.y1-Sn[Jn-1].y),Aa=tr.x+2/3*(tr.x1-tr.x),mo=tr.y+2/3*(tr.y1-tr.y),Pt=tr.x,ha=tr.y;Jt=[Ur-Sn[Jn-1].x,ma-Sn[Jn-1].y,Aa-Sn[Jn-1].x,mo-Sn[Jn-1].y,Pt-Sn[Jn-1].x,ha-Sn[Jn-1].y],Cn[Cn.length-1].deltas.push(Jt);break;case"arc":Cn.push({deltas:[],abs:[],arc:!0}),Array.isArray(Cn[Cn.length-1].abs)&&Cn[Cn.length-1].abs.push(tr)}}cn=kt?null:it==="stroke"?"stroke":"fill";for(var ci=!1,Io=0;Io=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*it.scale),Cn=this.lineWidth,this.lineWidth=Cn*it.scale);var _o=this.autoPaging!=="text";if(_o||Ga.y+Ga.h<=po){if(_o||Ga.y>=La&&Ga.x<=wi){var ro=_o?it.text:this.pdf.splitTextToSize(it.text,it.maxWidth||wi-Ga.x)[0],Qs=sn([JSON.parse(JSON.stringify(Aa))],this.posX+this.margin[3],-Fi+La+this.ctx.prevPageLastElemOffset)[0],Ri=_o&&(Fo>Io||Fo=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)}}else it.scale>=.01&&(cn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(cn*it.scale),Cn=this.lineWidth,this.lineWidth=Cn*it.scale),this.pdf.text(it.text,Er.x+this.posX,Er.y+this.posY,{angle:it.angle,align:kt,renderingMode:it.renderingMode,maxWidth:it.maxWidth}),it.scale>=.01&&(this.pdf.setFontSize(cn),this.lineWidth=Cn)},on=function(it,kt,Jt,cn){Jt=Jt||0,cn=cn||0,this.pdf.internal.out(E(it+Jt)+" "+x(kt+cn)+" l")},en=function(it,kt,Jt){return this.pdf.lines(it,kt,Jt,null,null)},Wn=function(it,kt,Jt,cn,Cn,Sn,Jn,tr){this.pdf.internal.out([y(z(Jt+it)),y(te(cn+kt)),y(z(Cn+it)),y(te(Sn+kt)),y(z(Jn+it)),y(te(tr+kt)),"c"].join(" "))},Yn=function(it,kt,Jt,cn){for(var Cn=2*Math.PI,Sn=Math.PI/2;kt>Jt;)kt-=Cn;var Jn=Math.abs(Jt-kt);Jn1e-5;){var ma=Ur+Er*Math.min(Jn,Sn);tr.push($n.call(this,it,Ur,ma)),Jn-=Math.abs(ma-Ur),Ur=ma}return tr},$n=function(it,kt,Jt){var cn=(Jt-kt)/2,Cn=it*Math.cos(cn),Sn=it*Math.sin(cn),Jn=Cn,tr=-Sn,Er=Jn*Jn+tr*tr,Ur=Er+Jn*Cn+tr*Sn,ma=4/3*(Math.sqrt(2*Er*Ur)-Ur)/(Jn*Sn-tr*Cn),Aa=Jn-ma*tr,mo=tr+ma*Jn,Pt=Aa,ha=-mo,ci=cn+kt,Io=Math.cos(ci),Mr=Math.sin(ci);return{x1:it*Math.cos(kt),y1:it*Math.sin(kt),x2:Aa*Io-mo*Mr,y2:Aa*Mr+mo*Io,x3:Pt*Io-ha*Mr,y3:Pt*Mr+ha*Io,x4:it*Math.cos(Jt),y4:it*Math.sin(Jt)}},kn=function(it){return 180*it/Math.PI},rr=function(it,kt,Jt,cn,Cn,Sn){var Jn=it+.5*(Jt-it),tr=kt+.5*(cn-kt),Er=Cn+.5*(Jt-Cn),Ur=Sn+.5*(cn-Sn),ma=Math.min(it,Cn,Jn,Er),Aa=Math.max(it,Cn,Jn,Er),mo=Math.min(kt,Sn,tr,Ur),Pt=Math.max(kt,Sn,tr,Ur);return new oe(ma,mo,Aa-ma,Pt-mo)},qr=function(it,kt,Jt,cn,Cn,Sn,Jn,tr){var Er,Ur,ma,Aa,mo,Pt,ha,ci,Io,Mr,Fo,La,Bo,po,Ki=Jt-it,wi=cn-kt,Vo=Cn-Jt,Fi=Sn-cn,bi=Jn-Cn,Ga=tr-Sn;for(Ur=0;Ur<41;Ur++)Io=(ha=(ma=it+(Er=Ur/40)*Ki)+Er*((mo=Jt+Er*Vo)-ma))+Er*(mo+Er*(Cn+Er*bi-mo)-ha),Mr=(ci=(Aa=kt+Er*wi)+Er*((Pt=cn+Er*Fi)-Aa))+Er*(Pt+Er*(Sn+Er*Ga-Pt)-ci),Ur==0?(Fo=Io,La=Mr,Bo=Io,po=Mr):(Fo=Math.min(Fo,Io),La=Math.min(La,Mr),Bo=Math.max(Bo,Io),po=Math.max(po,Mr));return new oe(Math.round(Fo),Math.round(La),Math.round(Bo-Fo),Math.round(po-La))},xr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var it,kt,Jt=(it=this.ctx.lineDash,kt=this.ctx.lineDashOffset,JSON.stringify({lineDash:it,lineDashOffset:kt}));this.prevLineDash!==Jt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Jt)}}})(Wa.API),function(a){var y=function(ie){var oe,ue,de,Ee,He,_e,ve,xt,Ct,It;for(/[^\x00-\xFF]/.test(ie),ue=[],de=0,Ee=(ie+=oe="\0\0\0\0".slice(ie.length%4||4)).length;Ee>de;de+=4)(He=(ie.charCodeAt(de)<<24)+(ie.charCodeAt(de+1)<<16)+(ie.charCodeAt(de+2)<<8)+ie.charCodeAt(de+3))!==0?(_e=(He=((He=((He=((He=(He-(It=He%85))/85)-(Ct=He%85))/85)-(xt=He%85))/85)-(ve=He%85))/85)%85,ue.push(_e+33,ve+33,xt+33,Ct+33,It+33)):ue.push(122);return function(dt,sn){for(var _t=sn;_t>0;_t--)dt.pop()}(ue,oe.length),String.fromCharCode.apply(String,ue)+"~>"},E=function(ie){var oe,ue,de,Ee,He,_e=String,ve="length",xt=255,Ct="charCodeAt",It="slice",dt="replace";for(ie[It](-2),ie=ie[It](0,-2)[dt](/\s/g,"")[dt]("z","!!!!!"),de=[],Ee=0,He=(ie+=oe="uuuuu"[It](ie[ve]%5||5))[ve];He>Ee;Ee+=5)ue=52200625*(ie[Ct](Ee)-33)+614125*(ie[Ct](Ee+1)-33)+7225*(ie[Ct](Ee+2)-33)+85*(ie[Ct](Ee+3)-33)+(ie[Ct](Ee+4)-33),de.push(xt&ue>>24,xt&ue>>16,xt&ue>>8,xt&ue);return function(sn,_t){for(var zt=_t;zt>0;zt--)sn.pop()}(de,oe[ve]),_e.fromCharCode.apply(_e,de)},x=function(ie){return ie.split("").map(function(oe){return("0"+oe.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(ie){var oe=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ie=ie.replace(/\s/g,"")).indexOf(">")!==-1&&(ie=ie.substr(0,ie.indexOf(">"))),ie.length%2&&(ie+="0"),oe.test(ie)===!1)return"";for(var ue="",de=0;deCt&&(xt=It,It=Ct,Ct=xt);else{if(oe!=="l"&&oe!=="landscape")throw"Invalid orientation: "+oe;oe="l",Ct>It&&(xt=It,It=Ct,Ct=xt)}return{width:It,height:Ct,unit:ue,k:He,orientation:oe}},a.html=function(oe,ue){(ue=ue||{}).callback=ue.callback||function(){},ue.html2canvas=ue.html2canvas||{},ue.html2canvas.canvas=ue.html2canvas.canvas||this.canvas,ue.jsPDF=ue.jsPDF||this,ue.fontFaces=ue.fontFaces?ue.fontFaces.map(Tm):null;var de=new ie(ue);return ue.worker?de:de.from(oe).doCallback()}}(Wa.API),Wa.API.addJS=function(a){return Ag=a,this.internal.events.subscribe("postPutResources",function(){y0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(y0+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),fg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ag+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){y0!==void 0&&fg!==void 0&&this.internal.out("/Names <>")}),this},function(a){var y;a.events.push(["postPutResources",function(){var E=this,x=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=E.outline.render().split(/\r\n/),te=0;te> endobj")}var ve=E.internal.newObject();for(E.internal.write("<< /Names [ "),te=0;te>","endobj"),y=E.internal.newObject(),E.internal.write("<< /Dests "+ve+" 0 R"),E.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+y+" 0 R"))}]),a.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(x,z,te){var ie={title:z,options:te,children:[]};return x==null&&(x=this.root),x.children.push(ie),ie},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(x){x.id=E.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(x.children[0])),this.line("/Last "+this.makeRef(x.children[x.children.length-1]))),this.line("/Count "+this.count_r({count:0},x)),this.objEnd()},E.outline.renderItems=function(x){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,te=0;te0&&this.line("/Prev "+this.makeRef(x.children[te-1])),te0&&(this.line("/First "+this.makeRef(ie.children[0])),this.line("/Last "+this.makeRef(ie.children[ie.children.length-1])));var oe=this.count=this.count_r({count:0},ie);if(oe>0&&this.line("/Count "+oe),ie.options&&ie.options.pageNumber){var ue=E.internal.getPageInfo(ie.options.pageNumber);this.line("/Dest ["+ue.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var de=0;de>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var PA="",_A=0,RA=R.transparency.length;_A>",D.content=s;var eA=D.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=3};var m=A.__arabicParser__.arabicLetterHasMedialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length==4},F=A.__arabicParser__.resolveLigatures=function(D){var M=0,N=e,iA="",eA=0;for(M=0;M>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(ze.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var d=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return d},set:function(D){d=D}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(D){g=D}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(D){m=D}});var F=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return F},set:function(D){F=D}});var _=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return _},set:function(D){_=D}});var w=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return w},set:function(D){w=D}});var P=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return P},set:function(D){P=D}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(d){return r.call(this),this.internal.__cell__.headerFunction=typeof d=="function"?d:void 0,this},A.getTextDimensions=function(d,g){r.call(this);var m=(g=g||{}).fontSize||this.getFontSize(),F=g.font||this.getFont(),_=g.scaleFactor||this.internal.scaleFactor,w=0,P=0,D=0,M=this;if(!Array.isArray(d)&&typeof d!="string"){if(typeof d!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");d=String(d)}var N=g.maxWidth;N>0?typeof d=="string"?d=this.splitTextToSize(d,N):Object.prototype.toString.call(d)==="[object Array]"&&(d=d.reduce(function(eA,W){return eA.concat(M.splitTextToSize(W,N))},[])):d=Array.isArray(d)?d:[d];for(var iA=0;iAthis.getPageHeight()?(this.cellAddPage(),d.y=F.top,w&&_&&(this.printHeaderRow(d.lineNumber,!0),d.y+=_[0].height)):d.y=g.y+g.height||d.y),d.text[0]!==void 0&&(this.rect(d.x,d.y,d.width,d.height,e===!0?"FD":void 0),d.align==="right"?this.text(d.text,d.x+d.width-m,d.y+m,{align:"right",baseline:"top"}):d.align==="center"?this.text(d.text,d.x+d.width/2,d.y+m,{align:"center",baseline:"top",maxWidth:d.width-m-m}):this.text(d.text,d.x+m,d.y+m,{align:"left",baseline:"top",maxWidth:d.width-m-m})),this.internal.__cell__.lastCell=d,this};A.table=function(d,g,m,F,_){if(r.call(this),!m)throw new Error("No data for PDF table.");var w,P,D,M,N=[],iA=[],eA=[],W={},IA={},zA=[],DA=[],cA=(_=_||{}).autoSize||!1,J=_.printHeaders!==!1,CA=_.css&&_.css["font-size"]!==void 0?16*_.css["font-size"]:_.fontSize||12,S=_.margins||Object.assign({width:this.getPageWidth()},t),R=typeof _.padding=="number"?_.padding:3,nA=_.headerBackgroundColor||"#c8c8c8",tA=_.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=J,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=CA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=nA,this.internal.__cell__.headerTextColor=tA,this.setFontSize(CA),F==null)iA=N=Object.keys(m[0]),eA=N.map(function(){return"left"});else if(Array.isArray(F)&&(0,mt.Z)(F[0])==="object")for(N=F.map(function(de){return de.name}),iA=F.map(function(de){return de.prompt||de.name||""}),eA=F.map(function(de){return de.align||"left"}),w=0;w0&&this.setTableHeaderRow(_),this.setFont(void 0,"normal"),e=!1}}(ze.API);var Bn={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bs=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Hn=gr(bs),Pn=[100,200,300,400,500,600,700,800,900],Sa=gr(Pn);function Ci(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return Bn[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Hn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Cs(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function Rg(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function kg(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(m,_)}})(A,s,Kg(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,d=null;s&&(f=t,d=h,t+=3*h);var g=!0,m=[],F=0,_=null,w=0,P=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var D=A[t++];F=A[t++]|A[t++]<<8,_=A[t++],1&D||(_=null),w=D>>2&7,t++;break;case 254:for(;;){if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var M=A[t++]|A[t++]<<8,N=A[t++]|A[t++]<<8,iA=A[t++]|A[t++]<<8,eA=A[t++]|A[t++]<<8,W=A[t++],IA=W>>6&1,zA=1<<1+(7&W),DA=f,cA=d,J=!1;W>>7&&(J=!0,DA=t,cA=zA,t+=3*zA);var CA=t;for(t++;;){var S;if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}m.push({x:M,y:N,width:iA,height:eA,has_local_palette:J,palette_offset:DA,palette_size:cA,data_offset:CA,data_length:t-CA,transparent_index:_,interlaced:!!IA,delay:F,disposal:w});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return m.length},this.loopCount=function(){return P},this.frameInfo=function(R){if(R<0||R>=m.length)throw new Error("Frame index out of range.");return m[R]},this.decodeAndBlitFrameBGRA=function(R,nA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var RA=tA.width,de=e-RA,te=RA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*de;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,OA=jA.length;EA=z&&(aA=4*de+4*e*(vA-1),AA=L+(RA+de)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],he=A[PA+3*MA+1],_e=A[PA+3*MA+2];nA[AA++]=_e,nA[AA++]=he,nA[AA++]=qA,nA[AA++]=255}--te}},this.decodeAndBlitFrameRGBA=function(R,nA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var RA=tA.width,de=e-RA,te=RA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*de;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,OA=jA.length;EA=z&&(aA=4*de+4*e*(vA-1),AA=L+(RA+de)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],he=A[PA+3*MA+1],_e=A[PA+3*MA+2];nA[AA++]=qA,nA[AA++]=he,nA[AA++]=_e,nA[AA++]=255}--te}}}function Gg(A,t,e,r){for(var n=A[t++],s=1<>=d,m-=d,M!==s){if(M===h)break;for(var N=Ms;)eA=P[eA]>>8,++iA;var W=eA;if(_+iA+(N!==M?1:0)>r)return void Cr.log("Warning, gif stream longer than expected.");e[_++]=W;var IA=_+=iA;for(N!==M&&(e[_++]=W),eA=N;iA--;)eA=P[eA],e[--IA]=255&eA,eA>>=8;D!==null&&f<4096&&(P[f++]=D<<8|W,f>=g+1&&d<12&&(++d,g=g<<1|1)),D=M}else f=h+1,g=(1<<(d=n+1))-1,D=null}return _!==r&&Cr.log("Warning, gif stream shorter than expected."),e}function Vp(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),d=new Array(64),g=new Array(64),m=new Array(64),F=new Array(65535),_=new Array(65535),w=new Array(64),P=new Array(64),D=[],M=0,N=7,iA=new Array(64),eA=new Array(64),W=new Array(64),IA=new Array(256),zA=new Array(2048),DA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],cA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],J=[0,1,2,3,4,5,6,7,8,9,10,11],CA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],nA=[0,1,2,3,4,5,6,7,8,9,10,11],tA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],SA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function jA(L,z){for(var AA=0,aA=0,vA=new Array,EA=1;EA<=16;EA++){for(var OA=1;OA<=L[EA];OA++)vA[z[aA]]=[],vA[z[aA]][0]=AA,vA[z[aA]][1]=EA,aA++,AA++;AA*=2}return vA}function PA(L){for(var z=L[0],AA=L[1]-1;AA>=0;)z&1<>8&255),_A(255&L)}function de(L,z,AA,aA,vA){for(var EA,OA=vA[0],MA=vA[240],qA=function(ce,ct){var ke,ot,nt,wr,Zt,St,qt,Yt,Ze,Ht,$e=0;for(Ze=0;Ze<8;++Ze){ke=ce[$e],ot=ce[$e+1],nt=ce[$e+2],wr=ce[$e+3],Zt=ce[$e+4],St=ce[$e+5],qt=ce[$e+6];var an=ke+(Yt=ce[$e+7]),ar=ke-Yt,Gt=ot+qt,Vt=ot-qt,Rr=nt+St,it=nt-St,Nr=wr+Zt,wt=wr-Zt,Nt=an+Nr,kr=an-Nr,zt=Gt+Rr,ft=Gt-Rr;ce[$e]=Nt+zt,ce[$e+4]=Nt-zt;var mr=.707106781*(ft+kr);ce[$e+2]=kr+mr,ce[$e+6]=kr-mr;var _l=.382683433*((Nt=wt+it)-(ft=Vt+ar)),$n=.5411961*Nt+_l,ja=1.306562965*ft+_l,ia=.707106781*(zt=it+Vt),ht=ar+ia,Ha=ar-ia;ce[$e+5]=Ha+$n,ce[$e+3]=Ha-$n,ce[$e+1]=ht+ja,ce[$e+7]=ht-ja,$e+=8}for($e=0,Ze=0;Ze<8;++Ze){ke=ce[$e],ot=ce[$e+8],nt=ce[$e+16],wr=ce[$e+24],Zt=ce[$e+32],St=ce[$e+40],qt=ce[$e+48];var Da=ke+(Yt=ce[$e+56]),es=ke-Yt,ts=ot+qt,An=ot-qt,Dn=nt+St,Mn=nt-St,xl=wr+Zt,Ho=wr-Zt,Qs=Da+xl,sa=Da-xl,_s=ts+Dn,xs=ts-Dn;ce[$e]=Qs+_s,ce[$e+32]=Qs-_s;var rs=.707106781*(xs+sa);ce[$e+16]=sa+rs,ce[$e+48]=sa-rs;var Il=.382683433*((Qs=Ho+Mn)-(xs=An+es)),aa=.5411961*Qs+Il,Ll=1.306562965*xs+Il,Su=.707106781*(_s=Mn+An),Nu=es+Su,ju=es-Su;ce[$e+40]=ju+aa,ce[$e+24]=ju-aa,ce[$e+8]=Nu+Ll,ce[$e+56]=Nu-Ll,$e++}for(Ze=0;Ze<64;++Ze)Ht=ce[Ze]*ct[Ze],w[Ze]=Ht>0?Ht+.5|0:Ht-.5|0;return w}(L,z),he=0;he<64;++he)P[DA[he]]=qA[he];var _e=P[0]-AA;AA=P[0],_e==0?PA(aA[0]):(PA(aA[_[EA=32767+_e]]),PA(F[EA]));for(var Ue=63;Ue>0&&P[Ue]==0;)Ue--;if(Ue==0)return PA(OA),AA;for(var tt,k=1;k<=Ue;){for(var xe=k;P[k]==0&&k<=Ue;)++k;var Rt=k-xe;if(Rt>=16){tt=Rt>>4;for(var ut=1;ut<=tt;++ut)PA(MA);Rt&=15}EA=32767+P[k],PA(vA[(Rt<<4)+_[EA]]),PA(F[EA]),k++}return Ue!=63&&PA(OA),AA}function te(L){L=Math.min(Math.max(L,1),100),s!=L&&(function(z){for(var AA=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],aA=0;aA<64;aA++){var vA=h((AA[aA]*z+50)/100);vA=Math.min(Math.max(vA,1),255),f[DA[aA]]=vA}for(var EA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],OA=0;OA<64;OA++){var MA=h((EA[OA]*z+50)/100);MA=Math.min(Math.max(MA,1),255),d[DA[OA]]=MA}for(var qA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],he=0,_e=0;_e<8;_e++)for(var Ue=0;Ue<8;Ue++)g[he]=1/(f[DA[he]]*qA[_e]*qA[Ue]*8),m[he]=1/(d[DA[he]]*qA[_e]*qA[Ue]*8),he++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),s=L)}this.encode=function(L,z){z&&te(z),D=new Array,M=0,N=7,RA(65496),RA(65504),RA(16),_A(74),_A(70),_A(73),_A(70),_A(0),_A(1),_A(1),_A(0),RA(1),RA(1),_A(0),_A(0),function(){RA(65499),RA(132),_A(0);for(var ot=0;ot<64;ot++)_A(f[ot]);_A(1);for(var nt=0;nt<64;nt++)_A(d[nt])}(),function(ot,nt){RA(65472),RA(17),_A(8),RA(nt),RA(ot),_A(3),_A(1),_A(17),_A(0),_A(2),_A(17),_A(1),_A(3),_A(17),_A(1)}(L.width,L.height),function(){RA(65476),RA(418),_A(0);for(var ot=0;ot<16;ot++)_A(cA[ot+1]);for(var nt=0;nt<=11;nt++)_A(J[nt]);_A(16);for(var wr=0;wr<16;wr++)_A(CA[wr+1]);for(var Zt=0;Zt<=161;Zt++)_A(S[Zt]);_A(1);for(var St=0;St<16;St++)_A(R[St+1]);for(var qt=0;qt<=11;qt++)_A(nA[qt]);_A(17);for(var Yt=0;Yt<16;Yt++)_A(tA[Yt+1]);for(var Ze=0;Ze<=161;Ze++)_A(SA[Ze])}(),RA(65498),RA(12),_A(3),_A(1),_A(0),_A(2),_A(17),_A(3),_A(17),_A(0),_A(63),_A(0);var AA=0,aA=0,vA=0;M=0,N=7,this.encode.displayName="_encode_";for(var EA,OA,MA,qA,he,_e,Ue,tt,k,xe=L.data,Rt=L.width,ut=L.height,ce=4*Rt,ct=0;ct>3)*ce+(Ue=4*(7&k)),ct+tt>=ut&&(_e-=ce*(ct+1+tt-ut)),EA+Ue>=ce&&(_e-=EA+Ue-ce+4),OA=xe[_e++],MA=xe[_e++],qA=xe[_e++],iA[k]=(zA[OA]+zA[MA+256|0]+zA[qA+512|0]>>16)-128,eA[k]=(zA[OA+768|0]+zA[MA+1024|0]+zA[qA+1280|0]>>16)-128,W[k]=(zA[OA+1280|0]+zA[MA+1536|0]+zA[qA+1792|0]>>16)-128;AA=de(iA,g,AA,t,r),aA=de(eA,m,aA,e,n),vA=de(W,m,vA,e,n),EA+=32}ct+=8}if(N>=0){var ke=[];ke[1]=N+1,ke[0]=(1<R;R++)if(J[CA+R]!=S.charCodeAt(R))return!0;return!1}function r(J,CA,S,R,nA){for(var tA=0;tAtA+1?[]:new CA),!(SA.length>>0;a&v;)v>>>=1;return v?(a&v-1)+v:a}function S(a,c,v,b,U){t(!(b%v));do a[c+(b-=v)]=U;while(0=U),512>=U)var x=s(512);else if((x=s(U))==null)return 0;return function(I,j,H,K,uA,xA){var G,gA,FA=j,GA=1<G;++G){if(QA[G]>1<(Ot-=QA[G]))return 0;for(;0=G;++G,uA<<=1){if(Me+=Ot<<=1,0>(Ot-=QA[G]))return 0;for(;0fe&&!(0>=(YA-=QA[fe]));)++fe,YA<<=1;GA+=We=1<<(YA=fe-H),I[j+(fe=qe&ne)].g=YA+H,I[j+fe].value=FA-j-fe}K.g=G-H,K.value=xA[gA++],S(I,FA+(qe>>H),uA,We,K),qe=CA(qe,G)}}return Me!=2*WA[15]-1?0:GA}(a,c,v,b,U,x)}function nA(){this.value=this.g=0}function tA(){this.value=this.g=0}function SA(){this.G=h(5,nA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(kl,tA)}function jA(a,c,v,b){t(a!=null),t(c!=null),t(2147483648>b),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=c,a.pa=v,a.Jd=c,a.Yc=v+b,a.Zc=4<=b?v+b-4+1:v,OA(a)}function PA(a,c){for(var v=0;0b),a.Sb=b,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;aA(a)&&(a.h=1,a.u=0)}function te(a,c){if(t(0<=c),!a.h&&c<=Hi){var v=AA(a)&ji[c];return a.u+=c,de(a),v}return a.h=1,a.u=0}function L(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function AA(a){return a.Ra>>>(a.u&Po-1)>>>0}function aA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Po}function vA(a,c){a.u=c,a.h=aA(a)}function EA(a){a.u>=Wa&&(t(a.u>=Wa),de(a))}function OA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&OA(a);var b=a.b,U=v*c>>>8,x=(a.I>>>b>U)+0;for(x?(v-=U,a.I-=U+1<>>0):v=U+1,b=v,U=0;256<=b;)U+=8,b>>=8;return b=7^U+Mo[b],a.b-=b,a.Ca=(v<>24&255,a[c+1]=v>>16&255,a[c+2]=v>>8&255,a[c+3]=255&v}function _e(a,c){return a[c+0]|a[c+1]<<8}function Ue(a,c){return _e(a,c)|a[c+2]<<16}function tt(a,c){return _e(a,c)|_e(a,c+2)<<16}function k(a,c){var v=1<=U||0>=x?0:(v[0]=U,b[0]=x,1)}function ce(a,c){return a+(1<>>c}function ct(a,c){return((4278255360&a)+(4278255360&c)>>>0&4278255360)+((16711935&a)+(16711935&c)>>>0&16711935)>>>0}function ke(a,c){J[c]=function(v,b,U,x,I,j,H){var K;for(K=0;K>>1)+(a&c)>>>0}function wr(a){return 0<=a&&256>a?a:0>a?0:255>1))}function St(a,c,v){return Math.abs(c-v)-Math.abs(a-v)}function qt(a,c,v,b,U,x,I){for(b=x[I-1],v=0;v>8&255,H=16711935&(H=(H=16711935&I)+((j<<16)+j));b[U+x]=(4278255360&I)+H>>>0}}function Ze(a,c){c.jd=255&a,c.hd=a>>8&255,c.ud=a>>16&255}function Ht(a,c,v,b,U,x){var I;for(I=0;I>>8,K=j,uA=255&(uA=(uA=j>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));K=255&(K=(K+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(uA<<24>>24)>>>5)),U[x+I]=(4278255360&j)+(uA<<16)+K}}function $e(a,c,v,b,U){J[c]=function(x,I,j,H,K,uA,xA,G,gA){for(H=xA;H>x.b,gA=x.Ea,FA=x.K[0],GA=x.w;if(8>G)for(x=(1<>=G}else J["VP8LMapColor"+v](H,K,FA,GA,uA,xA,I,j,gA)}}function an(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x}}function ar(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x,b[U++]=x>>24&255}}function Gt(a,c,v,b,U){for(v=c+v;c>16&240|I>>12&15,I=240&I|I>>28&15;b[U++]=x,b[U++]=I}}function Vt(a,c,v,b,U){for(v=c+v;c>16&248|I>>13&7,I=I>>5&224|I>>3&31;b[U++]=x,b[U++]=I}}function Rr(a,c,v,b,U){for(v=c+v;c>8&255,b[U++]=x>>16&255}}function it(a,c,v,b,U,x){if(x==0)for(v=c+v;c>24|x[1]>>8&65280|x[2]<<8&16711680|x[3]<<24)>>>0),U+=32;else r(b,U,a,c,v)}function Nr(a,c){J[c][0]=J[a+"0"],J[c][1]=J[a+"1"],J[c][2]=J[a+"2"],J[c][3]=J[a+"3"],J[c][4]=J[a+"4"],J[c][5]=J[a+"5"],J[c][6]=J[a+"6"],J[c][7]=J[a+"7"],J[c][8]=J[a+"8"],J[c][9]=J[a+"9"],J[c][10]=J[a+"10"],J[c][11]=J[a+"11"],J[c][12]=J[a+"12"],J[c][13]=J[a+"13"],J[c][14]=J[a+"0"],J[c][15]=J[a+"0"]}function wt(a){return a==ug||a==cg||a==Wd||a==fg}function Nt(){this.eb=[],this.size=this.A=this.fb=0}function kr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function zt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Nt,this.f.kb=new kr,this.sd=null}function ft(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function mr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function _l(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function $n(a,c){var v=a.T,b=c.ba.f.RGBA,U=b.eb,x=b.fb+a.ka*b.A,I=ls[c.ba.S],j=a.y,H=a.O,K=a.f,uA=a.N,xA=a.ea,G=a.W,gA=c.cc,FA=c.dc,GA=c.Mc,QA=c.Nc,WA=a.ka,YA=a.ka+a.T,fe=a.U,ne=fe+1>>1;for(WA==0?I(j,H,null,null,K,uA,xA,G,K,uA,xA,G,U,x,null,null,fe):(I(c.ec,c.fc,j,H,gA,FA,GA,QA,K,uA,xA,G,U,x-b.A,U,x,fe),++v);WA+2v,U=v==Gd||v==Vd||v==zd||v==lg||v==12||wt(v);if(c.memory=null,c.Ib=null,c.Jb=null,c.Nd=null,!df(c.Oa,a,U?11:12))return 0;if(U&&wt(v)&&cf(),a.da)alert("todo:use_scaling");else{if(b){if(c.Ib=_l,a.Kb){if(v=a.U+1>>1,c.memory=s(a.U+2*v),c.memory==null)return 0;c.ec=c.memory,c.fc=0,c.cc=c.ec,c.dc=c.fc+a.U,c.Mc=c.cc,c.Nc=c.dc+v,c.Ib=$n,cf()}}else alert("todo:EmitYUV");U&&(c.Jb=ja,b&&Ls())}if(b&&!w1){for(a=0;256>a;++a)BB[a]=89858*(a-128)+Jd>>Xd,mB[a]=-22014*(a-128)+Jd,wB[a]=-45773*(a-128),vB[a]=113618*(a-128)+Jd>>Xd;for(a=Ff;a>Xd,yB[a-Ff]=oa(c,255),bB[a-Ff]=oa(c+8>>4,15);w1=1}return 1}function ht(a){var c=a.ma,v=a.U,b=a.T;return t(!(1&a.ka)),0>=v||0>=b?0:(v=c.Ib(a,c),c.Jb!=null&&c.Jb(a,c,v),c.Dc+=v,1)}function Ha(a){a.ma.memory=null}function Da(a,c,v,b){return te(a,8)!=47?0:(c[0]=te(a,14)+1,v[0]=te(a,14)+1,b[0]=te(a,1),te(a,3)!=0?0:!a.h)}function es(a,c){if(4>a)return a+1;var v=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&v)))?v:1;var v}function An(a,c,v){var b=AA(v),U=a[c+=255&b].g-8;return 0>>0,t(8>=v.g),a.g}function Mn(a,c,v){var b=a.xc;return t((c=b==0?0:a.vc[a.md*(v>>b)+(c>>b)])>We.b)*Me;GAfe&&(Xe=fe),(0,vf[$t[Qn++]>>8&15])(G,gA+ +Tt,WA,YA+Tt-fe,Xe-Tt,WA,YA+Tt),Tt=Xe}gA+=fe,YA+=fe,++GA&qe||(We+=Me)}xA!=K.nc&&r(H,j-FA,H,j+(xA-uA-1)*FA,FA);break;case 1:for(FA=G,QA=gA,fe=(G=K.Ea)-(YA=G&~(WA=(gA=1<>K.b)*GA;uA=U),0x.o&&(b=x.o),v=b?v=0:(U[0]+=4*x.v,x.ka=v-x.j,x.U=x.va-x.v,x.T=b-v,v=1),v){if(j=j[0],11>(v=a.ca).S){var uA=v.f.RGBA,xA=(b=v.S,U=x.U,x=x.T,K=uA.eb,uA.A),G=x;for(uA=uA.fb+a.Ma*uA.A;0b){var U=a.l.width,x=v.ca,I=v.tb+U*b,j=a.V,H=a.Ba+a.c*b,K=a.gc;t(a.ab==1),t(K[0].hc==3),fa(K[0],b,c,j,H,x,I),sa(v,b,c,x,I,U)}a.C=a.Ma=c}function xs(a,c,v,b,U,x,I){var j=a.$/b,H=a.$%b,K=a.m,uA=a.s,xA=v+a.$,G=xA;U=v+b*U;var gA=v+b*x,FA=280+uA.ua,GA=a.Pb?j:16777216,QA=0=GA){var qe=xA-v;t((GA=a).Pb),GA.wd=GA.m,GA.xd=qe,0Ot.g?(vA(ne,ne.u+Ot.g),qe[Me]=Ot.value,ne=0):(vA(ne,ne.u+Ot.g-256),t(256<=Ot.value),ne=Ot.value),ne==0&&(fe=!0)}else ne=An(YA.G[0],YA.H[0],K);if(K.h)break;if(fe||256>ne){if(!fe)if(YA.nd)c[xA]=(YA.qb|ne<<8)>>>0;else{if(EA(K),fe=An(YA.G[1],YA.H[1],K),EA(K),qe=An(YA.G[2],YA.H[2],K),Me=An(YA.G[3],YA.H[3],K),K.h)break;c[xA]=(Me<<24|fe<<16|ne<<8|qe)>>>0}if(fe=!1,++xA,++H>=b&&(H=0,++j,I!=null&&j<=x&&!(j%16)&&I(a,j),QA!=null))for(;G>>QA.Mb]=ne}else if(280>ne){if(ne=es(ne-256,K),qe=An(YA.G[4],YA.H[4],K),EA(K),qe=ts(b,qe=es(qe,K)),K.h)break;if(xA-v=b;)H-=b,++j,I!=null&&j<=x&&!(j%16)&&I(a,j);if(t(xA<=U),H&WA&&(YA=Mn(uA,H,j)),QA!=null)for(;G>>QA.Mb]=ne}else{if(!(ne>>QA.Mb]=ne;ne=xA,t(!(fe>>>(qe=QA).Xa)),c[ne]=qe.X[fe],fe=!0}fe||t(K.h==aA(K))}if(a.Pb&&K.h&&xAx?x:j),a.a=0,a.$=xA-v}return 1}return a.a=3,0}function rs(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var c=a.Wa;c!=null&&(c.X=null),a.vb=null,t(a!=null)}function Il(){var a=new Et;return a==null?null:(a.a=0,a.xb=h1,Nr("Predictor","VP8LPredictors"),Nr("Predictor","VP8LPredictors_C"),Nr("PredictorAdd","VP8LPredictorsAdd"),Nr("PredictorAdd","VP8LPredictorsAdd_C"),on=Yt,wf=Ht,mf=an,Ro=ar,ko=Gt,Ko=Vt,Kl=Rr,J.VP8LMapColor32b=ca,J.VP8LMapColor8b=Bf,a)}function aa(a,c,v,b,U){var x=1,I=[a],j=[c],H=b.m,K=b.s,uA=null,xA=0;A:for(;;){if(v)for(;x&&te(H,1);){var G=I,gA=j,FA=b,GA=1,QA=FA.m,WA=FA.gc[FA.ab],YA=te(QA,2);if(FA.Oc&1<=FA.ab),YA){case 0:case 1:WA.b=te(QA,3)+2,GA=aa(ce(WA.Ea,WA.b),ce(WA.nc,WA.b),0,FA,WA.K),WA.K=WA.K[0];break;case 3:var fe,ne=te(QA,8)+1,qe=16>We.b),Qn=s($t);if(Qn==null)fe=0;else{var Tt=We.K[0],Xe=We.w;for(Qn[0]=We.K[0][0],Me=1;Me<1*Ot;++Me)Qn[Me]=ct(Tt[Xe+Me],Qn[Me-1]);for(;Me<4*$t;++Me)Qn[Me]=0;We.K[0]=null,We.K[0]=Qn,fe=1}}GA=fe;break;case 2:break;default:t(0)}x=GA}}if(I=I[0],j=j[0],x&&te(H,1)&&!(x=1<=(xA=te(H,4))&&11>=xA)){b.a=3;break A}var ye;if(ye=x)e:{var un,jt,tr,Or=b,Kn=I,ci=j,en=xA,Ai=v,fi=Or.m,_n=Or.s,lr=[null],Fr=1,tn=0,Er=nB[en];t:for(;;){if(Ai&&te(fi,1)){var Gn=te(fi,3)+2,Ns=ce(Kn,Gn),cn=ce(ci,Gn),Fi=Ns*cn;if(!aa(Ns,cn,0,Or,lr))break t;for(lr=lr[0],_n.xc=Gn,un=0;un>8&65535;lr[un]=Ir,Ir>=Fr&&(Fr=Ir+1)}}if(fi.h)break t;for(jt=0;5>jt;++jt){var xn=c1[jt];!jt&&0=hi),Pi=Ti;var Ei=s(tn);if(Pi==null||Ei==null||Oi==null){Or.a=1;break t}var Mi=Oi;for(un=tr=0;unjt;++jt){xn=c1[jt],Ri[jt]=Mi,js[jt]=tr,!jt&&0e0)break r}else vg=e0;for(Uf=0;UfGu)U1[Uf++]=Gu,Gu!=0&&(Q1=Gu);else{var SB=Gu==16,I1=Gu-16,NB=AB[I1],L1=te(Xo,$1[I1])+NB;if(Uf+L1>e0)break r;for(var jB=SB?Q1:0;0=jt){var Qf,mg=Ei[0];for(Qf=1;Qfmg&&(mg=Ei[Qf]);Vn+=mg}}if(Hr.nd=Za,Hr.Qb=0,Za&&(Hr.qb=(Ri[3][js[3]+0].value<<24|Ri[1][js[1]+0].value<<16|Ri[2][js[2]+0].value)>>>0,Vl==0&&256>Ri[0][js[0]+0].value&&(Hr.Qb=1,Hr.qb+=Ri[0][js[0]+0].value<<8)),Hr.jc=!Hr.Qb&&6>Vn,Hr.jc){var t0,Ya=Hr;for(t0=0;t0>=Dn(r0,8,Zo),Jo>>=Dn(Ya.G[1][Ya.H[1]+Jo],16,Zo),Jo>>=Dn(Ya.G[2][Ya.H[2]+Jo],0,Zo),Dn(Ya.G[3][Ya.H[3]+Jo],24,Zo))}}}_n.vc=lr,_n.Wb=Fr,_n.Ya=Pi,_n.yc=Oi,ye=1;break e}ye=0}if(!(x=ye)){b.a=3;break A}if(0b+1?[]:0),!(U.lengtha?0:a>c?c:a}function Hu(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Wp(){var a=new Qd;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,Cf||(Cf=Du)),a}function vn(a,c,v){return a.a==0&&(a.a=c,a.sc=v,a.cb=0),0}function _d(a,c,v){return 3<=v&&a[c+0]==157&&a[c+1]==1&&a[c+2]==42}function la(a,c){if(a==null)return 0;if(a.a=0,a.sc="OK",c==null)return vn(a,2,"null VP8Io passed to VP8GetHeaders()");var v=c.data,b=c.w,U=c.ha;if(4>U)return vn(a,7,"Truncated header.");var x=v[b+0]|v[b+1]<<8|v[b+2]<<16,I=a.Od;if(I.Rb=!(1&x),I.td=x>>1&7,I.yd=x>>4&1,I.ub=x>>5,3U)return vn(a,7,"cannot parse picture header");if(!_d(v,b,U))return vn(a,3,"Bad code word");j.c=16383&(v[b+4]<<8|v[b+3]),j.Td=v[b+4]>>6,j.i=16383&(v[b+6]<<8|v[b+5]),j.Ud=v[b+6]>>6,b+=7,U-=7,a.za=j.c+15>>4,a.Ub=j.i+15>>4,c.width=j.c,c.height=j.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,n((x=a.Pa).jb,0,255,x.jb.length),t((x=a.Qa)!=null),x.Cb=0,x.Bb=0,x.Fb=1,n(x.Zb,0,0,x.Zb.length),n(x.Lb,0,0,x.Lb)}if(I.ub>U)return vn(a,7,"bad partition length");jA(x=a.m,v,b,I.ub),b+=I.ub,U-=I.ub,I.Rb&&(j.Ld=MA(x),j.Kd=MA(x)),j=a.Qa;var H,K=a.Pa;if(t(x!=null),t(j!=null),j.Cb=MA(x),j.Cb){if(j.Bb=MA(x),MA(x)){for(j.Fb=MA(x),H=0;4>H;++H)j.Zb[H]=MA(x)?_A(x,7):0;for(H=0;4>H;++H)j.Lb[H]=MA(x)?_A(x,6):0}if(j.Bb)for(H=0;3>H;++H)K.jb[H]=MA(x)?PA(x,8):255}else j.Bb=0;if(x.Ka)return vn(a,3,"cannot parse segment header");if((j=a.ed).zd=MA(x),j.Tb=PA(x,6),j.wb=PA(x,3),j.Pc=MA(x),j.Pc&&MA(x)){for(K=0;4>K;++K)MA(x)&&(j.vd[K]=_A(x,6));for(K=0;4>K;++K)MA(x)&&(j.od[K]=_A(x,6))}if(a.L=j.Tb==0?0:j.zd?1:2,x.Ka)return vn(a,3,"cannot parse filter header");var uA=U;if(U=H=b,b=H+uA,j=uA,a.Xb=(1<j&&(xA=j),jA(a.Jc[+uA],v,H,xA),H+=xA,j-=xA,U+=3}jA(a.Jc[+K],v,H,j),v=HxA;++xA){if(uA.Cb){var G=uA.Zb[xA];uA.Fb||(G+=v)}else{if(0>16,8>gA.Eb[1]&&(gA.Eb[1]=8),gA.Qc[0]=hg[oa(G+K,117)],gA.Qc[1]=dg[oa(G+H,127)],gA.lc=G+H}if(!I.Rb)return vn(a,4,"Not a key frame.");for(MA(x),I=a.Pa,v=0;4>v;++v){for(U=0;8>U;++U)for(b=0;3>b;++b)for(j=0;11>j;++j)K=qA(x,uB[v][U][b][j])?PA(x,8):oB[v][U][b][j],I.Wc[v][U].Yb[b][j]=K;for(U=0;17>U;++U)I.Xc[v][U]=I.Wc[v][cB[U]]}return a.kc=MA(x),a.kc&&(a.Bd=PA(x,8)),a.cb=1}function Du(a,c,v,b,U,x,I){var j=c[U].Yb[v];for(v=0;16>U;++U){if(!qA(a,j[v+0]))return U;for(;!qA(a,j[v+1]);)if(j=c[++U].Yb[0],v=0,U==16)return 16;var H=c[U+1].Yb;if(qA(a,j[v+2])){var K=a,uA=0;if(qA(K,(G=j)[(xA=v)+3]))if(qA(K,G[xA+6])){for(j=0,xA=2*(uA=qA(K,G[xA+8]))+(G=qA(K,G[xA+9+uA])),uA=0,G=sB[xA];G[j];++j)uA+=uA+qA(K,G[j]);uA+=3+(8<(K=a).b&&OA(K);var xA,G=K.b,gA=(xA=K.Ca>>1)-(K.I>>G)>>31;--K.b,K.Ca+=gA,K.Ca|=1,K.I-=(xA+1&gA)<>3),a[c+v+32*b]=-256&U?0>U?0:255:U}function Fn(a,c,v,b,U,x){is(a,c,0,v,b+U),is(a,c,1,v,b+x),is(a,c,2,v,b-x),is(a,c,3,v,b-U)}function Oa(a){return(20091*a>>16)+a}function Id(a,c,v,b){var U,x=0,I=s(16);for(U=0;4>U;++U){var j=a[c+0]+a[c+8],H=a[c+0]-a[c+8],K=(35468*a[c+4]>>16)-Oa(a[c+12]),uA=Oa(a[c+4])+(35468*a[c+12]>>16);I[x+0]=j+uA,I[x+1]=H+K,I[x+2]=H-K,I[x+3]=j-uA,x+=4,c++}for(U=x=0;4>U;++U)j=(a=I[x+0]+4)+I[x+8],H=a-I[x+8],K=(35468*I[x+4]>>16)-Oa(I[x+12]),is(v,b,0,0,j+(uA=Oa(I[x+4])+(35468*I[x+12]>>16))),is(v,b,1,0,H+K),is(v,b,2,0,H-K),is(v,b,3,0,j-uA),x++,b+=32}function Xp(a,c,v,b){var U=a[c+0]+4,x=35468*a[c+4]>>16,I=Oa(a[c+4]),j=35468*a[c+1]>>16;Fn(v,b,0,U+I,a=Oa(a[c+1]),j),Fn(v,b,1,U+x,a,j),Fn(v,b,2,U-x,a,j),Fn(v,b,3,U-I,a,j)}function Jp(a,c,v,b,U){Id(a,c,v,b),U&&Id(a,c+16,v,b+4)}function ua(a,c,v,b){Gl(a,c+0,v,b,1),Gl(a,c+32,v,b+128,1)}function Ld(a,c,v,b){var U;for(a=a[c+0]+4,U=0;4>U;++U)for(c=0;4>c;++c)is(v,b,c,U,a)}function Sd(a,c,v,b){a[c+0]&&yr(a,c+0,v,b),a[c+16]&&yr(a,c+16,v,b+4),a[c+32]&&yr(a,c+32,v,b+128),a[c+48]&&yr(a,c+48,v,b+128+4)}function Ou(a,c,v,b){var U,x=s(16);for(U=0;4>U;++U){var I=a[c+0+U]+a[c+12+U],j=a[c+4+U]+a[c+8+U],H=a[c+4+U]-a[c+8+U],K=a[c+0+U]-a[c+12+U];x[0+U]=I+j,x[8+U]=I-j,x[4+U]=K+H,x[12+U]=K-H}for(U=0;4>U;++U)I=(a=x[0+4*U]+3)+x[3+4*U],j=x[1+4*U]+x[2+4*U],H=x[1+4*U]-x[2+4*U],K=a-x[3+4*U],v[b+0]=I+j>>3,v[b+16]=K+H>>3,v[b+32]=I-j>>3,v[b+48]=K-H>>3,b+=64}function Sl(a,c,v){var b,U=c-32,x=Di,I=255-a[U-1];for(b=0;bv;++v)r(a,c+32*v,a,c-32,16)}function Nd(a,c){var v;for(v=16;0b;++b)n(c,v+32*b,a,16)}function $p(a,c){var v,b=16;for(v=0;16>v;++v)b+=a[c-1+32*v]+a[c+v-32];Is(b>>5,a,c)}function Nl(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c-1+32*v];Is(b>>4,a,c)}function rf(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c+v-32];Is(b>>4,a,c)}function Ag(a,c){Is(128,a,c)}function Qt(a,c,v){return a+2*c+v+2>>2}function eg(a,c){var v,b=c-32;for(b=new Uint8Array([Qt(a[b-1],a[b+0],a[b+1]),Qt(a[b+0],a[b+1],a[b+2]),Qt(a[b+1],a[b+2],a[b+3]),Qt(a[b+2],a[b+3],a[b+4])]),v=0;4>v;++v)r(a,c+32*v,b,0,b.length)}function tg(a,c){var v=a[c-1],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];he(a,c+0,16843009*Qt(a[c-1-32],v,b)),he(a,c+32,16843009*Qt(v,b,U)),he(a,c+64,16843009*Qt(b,U,x)),he(a,c+96,16843009*Qt(U,x,x))}function rg(a,c){var v,b=4;for(v=0;4>v;++v)b+=a[c+v-32]+a[c-1+32*v];for(b>>=3,v=0;4>v;++v)n(a,c+32*v,b,4)}function Ta(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+96]=Qt(b,U,a[c-1+96]),a[c+1+96]=a[c+0+64]=Qt(v,b,U),a[c+2+96]=a[c+1+64]=a[c+0+32]=Qt(x,v,b),a[c+3+96]=a[c+2+64]=a[c+1+32]=a[c+0+0]=Qt(I,x,v),a[c+3+64]=a[c+2+32]=a[c+1+0]=Qt(j,I,x),a[c+3+32]=a[c+2+0]=Qt(H,j,I),a[c+3+0]=Qt(K,H,j)}function Pa(a,c){var v=a[c+1-32],b=a[c+2-32],U=a[c+3-32],x=a[c+4-32],I=a[c+5-32],j=a[c+6-32],H=a[c+7-32];a[c+0+0]=Qt(a[c+0-32],v,b),a[c+1+0]=a[c+0+32]=Qt(v,b,U),a[c+2+0]=a[c+1+32]=a[c+0+64]=Qt(b,U,x),a[c+3+0]=a[c+2+32]=a[c+1+64]=a[c+0+96]=Qt(U,x,I),a[c+3+32]=a[c+2+64]=a[c+1+96]=Qt(x,I,j),a[c+3+64]=a[c+2+96]=Qt(I,j,H),a[c+3+96]=Qt(j,H,H)}function ng(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+0]=a[c+1+64]=x+I+1>>1,a[c+1+0]=a[c+2+64]=I+j+1>>1,a[c+2+0]=a[c+3+64]=j+H+1>>1,a[c+3+0]=H+K+1>>1,a[c+0+96]=Qt(U,b,v),a[c+0+64]=Qt(b,v,x),a[c+0+32]=a[c+1+96]=Qt(v,x,I),a[c+1+32]=a[c+2+96]=Qt(x,I,j),a[c+2+32]=a[c+3+96]=Qt(I,j,H),a[c+3+32]=Qt(j,H,K)}function ig(a,c){var v=a[c+0-32],b=a[c+1-32],U=a[c+2-32],x=a[c+3-32],I=a[c+4-32],j=a[c+5-32],H=a[c+6-32],K=a[c+7-32];a[c+0+0]=v+b+1>>1,a[c+1+0]=a[c+0+64]=b+U+1>>1,a[c+2+0]=a[c+1+64]=U+x+1>>1,a[c+3+0]=a[c+2+64]=x+I+1>>1,a[c+0+32]=Qt(v,b,U),a[c+1+32]=a[c+0+96]=Qt(b,U,x),a[c+2+32]=a[c+1+96]=Qt(U,x,I),a[c+3+32]=a[c+2+96]=Qt(x,I,j),a[c+3+64]=Qt(I,j,H),a[c+3+96]=Qt(j,H,K)}function Tu(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];a[c+0+0]=v+b+1>>1,a[c+2+0]=a[c+0+32]=b+U+1>>1,a[c+2+32]=a[c+0+64]=U+x+1>>1,a[c+1+0]=Qt(v,b,U),a[c+3+0]=a[c+1+32]=Qt(b,U,x),a[c+3+32]=a[c+1+64]=Qt(U,x,x),a[c+3+64]=a[c+2+64]=a[c+0+96]=a[c+1+96]=a[c+2+96]=a[c+3+96]=x}function nf(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96],I=a[c-1-32],j=a[c+0-32],H=a[c+1-32],K=a[c+2-32];a[c+0+0]=a[c+2+32]=v+I+1>>1,a[c+0+32]=a[c+2+64]=b+v+1>>1,a[c+0+64]=a[c+2+96]=U+b+1>>1,a[c+0+96]=x+U+1>>1,a[c+3+0]=Qt(j,H,K),a[c+2+0]=Qt(I,j,H),a[c+1+0]=a[c+3+32]=Qt(v,I,j),a[c+1+32]=a[c+3+64]=Qt(b,v,I),a[c+1+64]=a[c+3+96]=Qt(U,b,v),a[c+1+96]=Qt(x,U,b)}function jl(a,c){var v;for(v=0;8>v;++v)r(a,c+32*v,a,c-32,8)}function sg(a,c){var v;for(v=0;8>v;++v)n(a,c,a[c-1],8),c+=32}function Ma(a,c,v){var b;for(b=0;8>b;++b)n(c,v+32*b,a,8)}function ag(a,c){var v,b=8;for(v=0;8>v;++v)b+=a[c+v-32]+a[c-1+32*v];Ma(b>>4,a,c)}function sf(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c+v-32];Ma(b>>3,a,c)}function af(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c-1+32*v];Ma(b>>3,a,c)}function jd(a,c){Ma(128,a,c)}function Ra(a,c,v){var b=a[c-v],U=a[c+0],x=3*(U-b)+og[1020+a[c-2*v]-a[c+v]],I=kd[112+(x+4>>3)];a[c-v]=Di[255+b+kd[112+(x+3>>3)]],a[c+0]=Di[255+U-I]}function of(a,c,v,b){var U=a[c+0],x=a[c+v];return os[255+a[c-2*v]-a[c-v]]>b||os[255+x-U]>b}function Pu(a,c,v,b){return 4*os[255+a[c-v]-a[c+0]]+os[255+a[c-2*v]-a[c+v]]<=b}function lf(a,c,v,b,U){var x=a[c-3*v],I=a[c-2*v],j=a[c-v],H=a[c+0],K=a[c+v],uA=a[c+2*v],xA=a[c+3*v];return 4*os[255+j-H]+os[255+I-K]>b?0:os[255+a[c-4*v]-x]<=U&&os[255+x-I]<=U&&os[255+I-j]<=U&&os[255+xA-uA]<=U&&os[255+uA-K]<=U&&os[255+K-H]<=U}function Hl(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b,v,U)&&Ra(a,c+b,v)}function uf(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b*v,1,U)&&Ra(a,c+b*v,1)}function Hd(a,c,v,b){var U;for(U=3;0>7,WA=18*YA+63>>7,YA=9*YA+63>>7;H[K-3*uA]=Di[255+H[K-3*uA]+YA],H[K-2*uA]=Di[255+xA+WA],H[K-uA]=Di[255+G+QA],H[K+0]=Di[255+gA-QA],H[K+uA]=Di[255+FA-WA],H[K+2*uA]=Di[255+GA-YA]}c+=b}}function Ka(a,c,v,b,U,x,I,j){for(x=2*x+1;0>3)],GA=kd[112+(GA+3>>3)],QA=FA+1>>1;H[K-2*uA]=Di[255+H[K-2*uA]+QA],H[K-uA]=Di[255+xA+GA],H[K+0]=Di[255+G-FA],H[K+uA]=Di[255+gA-QA]}c+=b}}function Od(a,c,v,b,U,x){ka(a,c,v,1,16,b,U,x)}function Dl(a,c,v,b,U,x){ka(a,c,1,v,16,b,U,x)}function Td(a,c,v,b,U,x){var I;for(I=3;0K?0:255:K)&255,K=H,U[x+j]=uA}}function jr(a,c,v,b){var U=c.width,x=c.o;if(t(a!=null&&c!=null),0>v||0>=b||v+b>x)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Dt,(I=a.ga==null)||(I=c.width*c.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var j=a.Fa,H=a.P,K=a.qc,uA=a.mb,xA=a.nb,G=H+1,gA=K-1,FA=I.l;if(t(j!=null&&uA!=null&&c!=null),zo[0]=null,zo[1]=or,zo[2]=Xr,zo[3]=wn,I.ca=uA,I.tb=xA,I.c=c.width,I.i=c.height,t(0=K)c=0;else if(I.$a=3&j[H+0],I.Z=j[H+0]>>2&3,I.Lc=j[H+0]>>4&3,H=j[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!c}if(I)return null;a.ga.Lc!=1?a.Ga=0:b=x-v}t(a.ga!=null),t(v+b<=x);A:{if(c=(j=a.ga).c,x=j.l.o,j.$a==0){if(G=a.rc,gA=a.Vc,FA=a.Fa,H=a.P+1+v*c,K=a.mb,uA=a.nb+v*c,t(H<=a.P+a.qc),j.Z!=0)for(t(zo[j.Z]!=null),I=0;I=c)c=1;else if(j.ic||Ls(),j.ic){j=I.V,G=I.Ba,gA=I.c;var GA=I.i,QA=(FA=1,H=I.$/gA,K=I.$%gA,uA=I.m,xA=I.s,I.$),WA=gA*GA,YA=gA*c,fe=xA.wc,ne=QA(GA=An(ne.G[0],ne.H[0],uA)))j[G+QA]=GA,++QA,++K>=gA&&(K=0,++H<=c&&!(H%16)&&_s(I,H));else{if(!(280>GA)){FA=0;break e}GA=es(GA-256,uA);var qe,Me=An(ne.G[4],ne.H[4],uA);if(EA(uA),!(QA>=(Me=ts(gA,Me=es(Me,uA)))&&WA-QA>=GA)){FA=0;break e}for(qe=0;qe=gA;)K-=gA,++H<=c&&!(H%16)&&_s(I,H);QAc?c:H);break e}!FA||uA.h&&QA=x&&(a.Cc=1),b=1}if(!b)return null;if(a.Cc&&((b=a.ga)!=null&&(b.mc=null),a.ga=null,0>23,j[H+4*I+1]=j[H+4*I+1]*xA>>23,j[H+4*I+2]=j[H+4*I+2]*xA>>23)}c+=x}}function mn(a,c,v,b,U){for(;0>4)*H>>16;a[c+2*x+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[c+2*x+1]=240&K|j}c+=U}}function Rn(a,c,v,b,U,x,I,j){var H,K,uA=255;for(K=0;K>8}function Ls(){bf=En,e1=mn,t1=Rn,r1=Ga}function Va(a,c,v){J[a]=function(b,U,x,I,j,H,K,uA,xA,G,gA,FA,GA,QA,WA,YA,fe){var ne,qe=fe-1>>1,Me=j[H+0]|K[uA+0]<<16,Ot=xA[G+0]|gA[FA+0]<<16;t(b!=null);var We=3*Me+Ot+131074>>2;for(c(b[U+0],255&We,We>>16,GA,QA),x!=null&&(We=3*Ot+Me+131074>>2,c(x[I+0],255&We,We>>16,WA,YA)),ne=1;ne<=qe;++ne){var $t=j[H+ne]|K[uA+ne]<<16,Qn=xA[G+ne]|gA[FA+ne]<<16,Tt=Me+$t+Ot+Qn+524296,Xe=Tt+2*($t+Ot)>>3;We=Xe+Me>>1,Me=(Tt=Tt+2*(Me+Qn)>>3)+$t>>1,c(b[U+2*ne-1],255&We,We>>16,GA,QA+(2*ne-1)*v),c(b[U+2*ne-0],255&Me,Me>>16,GA,QA+(2*ne-0)*v),x!=null&&(We=Tt+Ot>>1,Me=Xe+Qn>>1,c(x[I+2*ne-1],255&We,We>>16,WA,YA+(2*ne-1)*v),c(x[I+2*ne+0],255&Me,Me>>16,WA,YA+(2*ne+0)*v)),Me=$t,Ot=Qn}1&fe||(We=3*Me+Ot+131074>>2,c(b[U+fe-1],255&We,We>>16,GA,QA+(fe-1)*v),x!=null&&(We=3*Ot+Me+131074>>2,c(x[I+fe-1],255&We,We>>16,WA,YA+(fe-1)*v)))}}function cf(){ls[Kd]=hB,ls[Gd]=d1,ls[l1]=dB,ls[Vd]=p1,ls[zd]=g1,ls[lg]=B1,ls[u1]=pB,ls[ug]=d1,ls[cg]=p1,ls[Wd]=g1,ls[fg]=B1}function Mu(a){return a&~gB?0>a?0:255:a>>v1}function Do(a,c){return Mu((19077*a>>8)+(26149*c>>8)-14234)}function Ol(a,c,v){return Mu((19077*a>>8)-(6419*c>>8)-(13320*v>>8)+8708)}function Tl(a,c){return Mu((19077*a>>8)+(33050*c>>8)-17685)}function Oo(a,c,v,b,U){b[U+0]=Do(a,v),b[U+1]=Ol(a,c,v),b[U+2]=Tl(a,c)}function kn(a,c,v,b,U){b[U+0]=Tl(a,c),b[U+1]=Ol(a,c,v),b[U+2]=Do(a,v)}function Pl(a,c,v,b,U){var x=Ol(a,c,v);c=x<<3&224|Tl(a,c)>>3,b[U+0]=248&Do(a,v)|x>>5,b[U+1]=c}function Ml(a,c,v,b,U){var x=240&Tl(a,c)|15;b[U+0]=240&Do(a,v)|Ol(a,c,v)>>4,b[U+1]=x}function ff(a,c,v,b,U){b[U+0]=255,Oo(a,c,v,b,U+1)}function hf(a,c,v,b,U){kn(a,c,v,b,U),b[U+3]=255}function ui(a,c,v,b,U){Oo(a,c,v,b,U),b[U+3]=255}function za(a,c,v){J[a]=function(b,U,x,I,j,H,K,uA,xA){for(var G=uA+(-2&xA)*v;uA!=G;)c(b[U+0],x[I+0],j[H+0],K,uA),c(b[U+1],x[I+0],j[H+0],K,uA+v),U+=2,++I,++H,uA+=2*v;1&xA&&c(b[U+0],x[I+0],j[H+0],K,uA)}}function Ru(a,c,v){return v==0?a==0?c==0?6:5:c==0?4:0:v}function Pd(a,c,v,b,U){switch(a>>>30){case 3:Gl(c,v,b,U,0);break;case 2:as(c,v,b,U);break;case 1:yr(c,v,b,U)}}function ss(a,c){var v,b,U=c.M,x=c.Nb,I=a.oc,j=a.pc+40,H=a.oc,K=a.pc+584,uA=a.oc,xA=a.pc+600;for(v=0;16>v;++v)I[j+32*v-1]=129;for(v=0;8>v;++v)H[K+32*v-1]=129,uA[xA+32*v-1]=129;for(0v;++v)r(I,j+32*v-4,I,j+32*v+12,4);for(v=-1;8>v;++v)r(H,K+32*v-4,H,K+32*v+4,4),r(uA,xA+32*v-4,uA,xA+32*v+4,4)}var gA=a.Gd,FA=a.Hd+b,GA=G.ad,QA=G.Hc;if(0=a.za-1?n(WA,YA,gA[FA].y[15],4):r(WA,YA,gA[FA+1].y,0,4)),v=0;4>v;v++)WA[YA+128+v]=WA[YA+256+v]=WA[YA+384+v]=WA[YA+0+v];for(v=0;16>v;++v,QA<<=2)WA=I,YA=j+m1[v],Ss[G.Ob[v]](WA,YA),Pd(QA,GA,16*+v,WA,YA)}else if(WA=Ru(b,U,G.Ob[0]),Vo[WA](I,j),QA!=0)for(v=0;16>v;++v,QA<<=2)Pd(QA,GA,16*+v,I,j+m1[v]);for(v=G.Gc,WA=Ru(b,U,G.Dd),Ja[WA](H,K),Ja[WA](uA,xA),QA=GA,WA=H,YA=K,255&(G=0|v)&&(170&G?ha(QA,256,WA,YA):xr(QA,256,WA,YA)),G=uA,QA=xA,255&(v>>=8)&&(170&v?ha(GA,320,G,QA):xr(GA,320,G,QA)),Uv;++v)r(gA,FA+v*a.R,I,j+32*v,16);for(v=0;8>v;++v)r(GA,G+v*a.B,H,K+32*v,8),r(QA,WA+v*a.B,uA,xA+32*v,8)}}function Rl(a,c,v,b,U,x,I,j,H){var K=[0],uA=[0],xA=0,G=H!=null?H.kd:0,gA=H!=null?H:new re;if(a==null||12>v)return 7;gA.data=a,gA.w=c,gA.ha=v,c=[c],v=[v],gA.gb=[gA.gb];A:{var FA=c,GA=v,QA=gA.gb;if(t(a!=null),t(GA!=null),t(QA!=null),QA[0]=0,12<=GA[0]&&!e(a,FA[0],"RIFF")){if(e(a,FA[0]+8,"WEBP")){QA=3;break A}var WA=tt(a,FA[0]+4);if(12>WA||4294967286GA[0]-8){QA=7;break A}QA[0]=WA,FA[0]+=12,GA[0]-=12}QA=0}if(QA!=0)return QA;for(WA=0QA[0])QA=7;else{if(!e(YA,GA[0],"VP8X")){if(tt(YA,GA[0]+4)!=10){QA=3;break A}if(18>QA[0]){QA=7;break A}var Me=tt(YA,GA[0]+8),Ot=1+Ue(YA,GA[0]+12);if(2147483648<=Ot*(YA=1+Ue(YA,GA[0]+15))){QA=3;break A}qe!=null&&(qe[0]=Me),fe!=null&&(fe[0]=Ot),ne!=null&&(ne[0]=YA),GA[0]+=18,QA[0]-=18,We[0]=1}QA=0}}if(xA=xA[0],FA=FA[0],QA!=0)return QA;if(GA=!!(2&FA),!WA&&xA)return 3;if(x!=null&&(x[0]=!!(16&FA)),I!=null&&(I[0]=GA),j!=null&&(j[0]=0),I=K[0],FA=uA[0],xA&&GA&&H==null){QA=0;break}if(4>v){QA=7;break}if(WA&&xA||!WA&&!xA&&!e(a,c[0],"ALPH")){v=[v],gA.na=[gA.na],gA.P=[gA.P],gA.Sa=[gA.Sa];A:{Me=a,QA=c,WA=v;var We=gA.gb;fe=gA.na,ne=gA.P,qe=gA.Sa,Ot=22,t(Me!=null),t(WA!=null),YA=QA[0];var $t=WA[0];for(t(fe!=null),t(qe!=null),fe[0]=null,ne[0]=null,qe[0]=0;;){if(QA[0]=YA,WA[0]=$t,8>$t){QA=7;break A}var Qn=tt(Me,YA+4);if(4294967286We){QA=3;break A}if(!e(Me,YA,"VP8 ")||!e(Me,YA,"VP8L")){QA=0;break A}if($t[0]WA[0])QA=7;else{if(YA||Ot){if(We=tt(We,Me+4),12<=fe&&We>fe-12){QA=3;break A}if(G&&We>WA[0]-8){QA=7;break A}ne[0]=We,QA[0]+=8,WA[0]-=8,qe[0]=Ot}else qe[0]=5<=WA[0]&&We[Me+0]==47&&!(We[Me+4]>>5),ne[0]=WA[0];QA=0}if(v=v[0],gA.Ja=gA.Ja[0],gA.xa=gA.xa[0],c=c[0],QA!=0)break;if(4294967286v){QA=7;break}j=I,G=FA,GA=x,a==null||5>v?a=0:5<=v&&a[c+0]==47&&!(a[c+4]>>5)?(WA=[0],We=[0],fe=[0],RA(ne=new z,a,c,v),Da(ne,WA,We,fe)?(j!=null&&(j[0]=WA[0]),G!=null&&(G[0]=We[0]),GA!=null&&(GA[0]=fe[0]),a=1):a=0):a=0}else{if(10>v){QA=7;break}j=FA,a==null||10>v||!_d(a,c+3,v-3)?a=0:(G=a[c+0]|a[c+1]<<8|a[c+2]<<16,GA=16383&(a[c+7]<<8|a[c+6]),a=16383&(a[c+9]<<8|a[c+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=gA.Ja||!GA||!a?a=0:(I&&(I[0]=GA),j&&(j[0]=a),a=1))}if(!a||(I=I[0],FA=FA[0],xA&&(K[0]!=I||uA[0]!=FA)))return 3;H!=null&&(H[0]=gA,H.offset=c-H.w,t(4294967286>c-H.w),t(H.offset==H.ha-v));break}return QA==0||QA==7&&xA&&H==null?(x!=null&&(x[0]|=gA.na!=null&&0v||(x&=-2,I&=-2),0>x||0>I||0>=j||0>=H||x+j>b||I+H>U))return 0;if(c.v=x,c.j=I,c.va=x+j,c.o=I+H,c.U=j,c.T=H,c.da=a!=null&&0a.S){var c=a.f.RGBA;c.fb+=(a.height-1)*c.A,c.A=-c.A}else c=a.f.kb,a=a.height,c.O+=(a-1)*c.fa,c.fa=-c.fa,c.N+=(a-1>>1)*c.Ab,c.Ab=-c.Ab,c.W+=(a-1>>1)*c.Db,c.Db=-c.Db,c.F!=null&&(c.J+=(a-1)*c.lb,c.lb=-c.lb);return 0}function To(a,c,v,b){if(b==null||0>=a||0>=c)return 2;if(v!=null){if(v.Da){var U=v.cd,x=v.bd,I=-2&v.v,j=-2&v.j;if(0>I||0>j||0>=U||0>=x||I+U>a||j+x>c)return 2;a=U,c=x}if(v.da){if(!ut(a,c,U=[v.ib],x=[v.hb]))return 2;a=U[0],c=x[0]}}b.width=a,b.height=c;A:{var H=b.width,K=b.height;if(a=b.S,0>=H||0>=K||!(a>=Kd&&13>a))a=2;else{if(0>=b.Rd&&b.sd==null){I=x=U=c=0;var uA=(j=H*y1[a])*K;if(11>a||(x=(K+1)/2*(c=(H+1)/2),a==12&&(I=(U=H)*K)),(K=s(uA+2*x+I))==null){a=1;break A}b.sd=K,11>a?((H=b.f.RGBA).eb=K,H.fb=0,H.A=j,H.size=uA):((H=b.f.kb).y=K,H.O=0,H.fa=j,H.Fd=uA,H.f=K,H.N=0+uA,H.Ab=c,H.Cd=x,H.ea=K,H.W=0+uA+x,H.Db=c,H.Ed=x,a==12&&(H.F=K,H.J=0+uA+2*x),H.Tc=I,H.lb=U)}if(c=1,U=b.S,x=b.width,I=b.height,U>=Kd&&13>U)if(11>U)a=b.f.RGBA,c&=(j=Math.abs(a.A))*(I-1)+x<=a.size,c&=j>=x*y1[U],c&=a.eb!=null;else{a=b.f.kb,j=(x+1)/2,uA=(I+1)/2,H=Math.abs(a.fa),K=Math.abs(a.Ab);var xA=Math.abs(a.Db),G=Math.abs(a.lb),gA=G*(I-1)+x;c&=H*(I-1)+x<=a.Fd,c&=K*(uA-1)+j<=a.Cd,c=(c&=xA*(uA-1)+j<=a.Ed)&H>=x&K>=j&xA>=j,c&=a.y!=null,c&=a.f!=null,c&=a.ea!=null,U==12&&(c&=G>=x,c&=gA<=a.Tc,c&=a.F!=null)}else c=0;a=c?0:2}}return a!=0||v!=null&&v.fd&&(a=pf(b)),a}var kl=64,ji=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Hi=24,Po=32,Wa=8,Mo=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ke("Predictor0","PredictorAdd0"),J.Predictor0=function(){return 4278190080},J.Predictor1=function(a){return a},J.Predictor2=function(a,c,v){return c[v+0]},J.Predictor3=function(a,c,v){return c[v+1]},J.Predictor4=function(a,c,v){return c[v-1]},J.Predictor5=function(a,c,v){return nt(nt(a,c[v+1]),c[v+0])},J.Predictor6=function(a,c,v){return nt(a,c[v-1])},J.Predictor7=function(a,c,v){return nt(a,c[v+0])},J.Predictor8=function(a,c,v){return nt(c[v-1],c[v+0])},J.Predictor9=function(a,c,v){return nt(c[v+0],c[v+1])},J.Predictor10=function(a,c,v){return nt(nt(a,c[v-1]),nt(c[v+0],c[v+1]))},J.Predictor11=function(a,c,v){var b=c[v+0];return 0>=St(b>>24&255,a>>24&255,(c=c[v-1])>>24&255)+St(b>>16&255,a>>16&255,c>>16&255)+St(b>>8&255,a>>8&255,c>>8&255)+St(255&b,255&a,255&c)?b:a},J.Predictor12=function(a,c,v){var b=c[v+0];return(wr((a>>24&255)+(b>>24&255)-((c=c[v-1])>>24&255))<<24|wr((a>>16&255)+(b>>16&255)-(c>>16&255))<<16|wr((a>>8&255)+(b>>8&255)-(c>>8&255))<<8|wr((255&a)+(255&b)-(255&c)))>>>0},J.Predictor13=function(a,c,v){var b=c[v-1];return(Zt((a=nt(a,c[v+0]))>>24&255,b>>24&255)<<24|Zt(a>>16&255,b>>16&255)<<16|Zt(a>>8&255,b>>8&255)<<8|Zt(255&a,255&b))>>>0};var gf=J.PredictorAdd0;J.PredictorAdd1=qt,ke("Predictor2","PredictorAdd2"),ke("Predictor3","PredictorAdd3"),ke("Predictor4","PredictorAdd4"),ke("Predictor5","PredictorAdd5"),ke("Predictor6","PredictorAdd6"),ke("Predictor7","PredictorAdd7"),ke("Predictor8","PredictorAdd8"),ke("Predictor9","PredictorAdd9"),ke("Predictor10","PredictorAdd10"),ke("Predictor11","PredictorAdd11"),ke("Predictor12","PredictorAdd12"),ke("Predictor13","PredictorAdd13");var ku=J.PredictorAdd2;$e("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),$e("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var on,Md=J.ColorIndexInverseTransform,ca=J.MapARGB,fa=J.VP8LColorIndexInverseTransformAlpha,Bf=J.MapAlpha,vf=J.VP8LPredictorsAdd=[];vf.length=16,(J.VP8LPredictors=[]).length=16,(J.VP8LPredictorsAdd_C=[]).length=16,(J.VP8LPredictors_C=[]).length=16;var wf,mf,Ro,ko,Ko,Kl,Go,Gl,as,ha,yr,xr,ln,Un,Xa,yf,Ku,Rd,Jg,Zg,Yg,qg,$g,A1,bf,e1,t1,r1,n1=s(511),i1=s(2041),s1=s(225),a1=s(767),o1=0,og=i1,kd=s1,Di=a1,os=n1,Kd=0,Gd=1,l1=2,Vd=3,zd=4,lg=5,u1=6,ug=7,cg=8,Wd=9,fg=10,$1=[2,3,7],AB=[3,3,11],c1=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,hg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],dg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Cf=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],f1=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],uB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],cB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Vo=[],Ss=[],Ja=[],fB=1,h1=2,zo=[],ls=[];Va("UpsampleRgbLinePair",Oo,3),Va("UpsampleBgrLinePair",kn,3),Va("UpsampleRgbaLinePair",ui,4),Va("UpsampleBgraLinePair",hf,4),Va("UpsampleArgbLinePair",ff,4),Va("UpsampleRgba4444LinePair",Ml,2),Va("UpsampleRgb565LinePair",Pl,2);var hB=J.UpsampleRgbLinePair,dB=J.UpsampleBgrLinePair,d1=J.UpsampleRgbaLinePair,p1=J.UpsampleBgraLinePair,g1=J.UpsampleArgbLinePair,B1=J.UpsampleRgba4444LinePair,pB=J.UpsampleRgb565LinePair,Xd=16,Jd=1<b.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),b.ca.f.kb.F!=null&&Ls()),b.Pb&&0(H=v.Md)?0:100K;++K)12>(xA=U.pb[K]).lc&&(xA.ia=H*CB[0>xA.lc?0:xA.lc]>>3),uA|=xA.ia;uA&&(alert("todo:VP8InitRandom"),U.ia=1)}U.Ga=v.Id,100U.Ga&&(U.Ga=0)}(function(G,gA){if(G==null)return 0;if(gA==null)return vn(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!la(G,gA))return 0;if(t(G.cb),gA.ac==null||gA.ac(gA)){gA.ob&&(G.L=0);var FA=Zd[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=gA.v-FA>>4,G.zb=gA.j-FA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=gA.o+15+FA>>4,G.Hb=gA.va+15+FA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0FA;++FA){var QA;if(G.Qa.Cb){var WA=G.Qa.Lb[FA];G.Qa.Fb||(WA+=GA.Tb)}else WA=GA.Tb;for(QA=0;1>=QA;++QA){var YA=G.gd[FA][QA],fe=WA;if(GA.Pc&&(fe+=GA.vd[0],QA&&(fe+=GA.od[0])),0<(fe=0>fe?0:63>2:ne>>1)>9-GA.wb&&(ne=9-GA.wb),1>ne&&(ne=1),YA.dd=ne,YA.tc=2*fe+ne,YA.ld=40<=fe?2:15<=fe?1:0}else YA.tc=0;YA.La=QA}}}FA=0}else vn(G,6,"Frame setup failed"),FA=G.a;if(FA=FA==0){if(FA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){FA=vn(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,fe=G.Fc,G.Ac=YA,G.Bc=fe,fe+=GA,G.Gd=h(qe,Ud),G.Hd=0,G.rb=h(Me+1,Af),G.sb=1,G.wa=Ot?h(Ot,ns):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=FA;++FA)n1[255+FA]=0>FA?-FA:FA;for(FA=-1020;1020>=FA;++FA)i1[1020+FA]=-128>FA?-128:127=FA;++FA)s1[112+FA]=-16>FA?-16:15=FA;++FA)a1[255+FA]=0>FA?0:255tr;++tr){var _n,lr=ci[0+tr];for(_n=0;4>_n;++_n){lr=lB[Or[Kn+_n]][lr];for(var Fr=f1[qA(jt,lr[0])];0>3;for(Fr=0;256>Fr;Fr+=16)tr[Ai+Fr]=Fi}Gn=1,Ns=Kn[0]}var Ir=15&jt.la,xn=15&fi.la;for(Fr=0;4>Fr;++Fr){var Oi=1&xn;for(Fi=Er=0;4>Fi;++Fi)Ir=Ir>>1|(Oi=(cn=Cf(Or,Ns,cn=Oi+(1&Ir),en.Sc,Gn,tr,Ai))>Gn)<<7,Er=Er<<2|(3>=4,xn=xn>>1|Oi<<7,_n=(_n<<8|Er)>>>0}for(Ns=Ir,Gn=xn>>4,tn=0;4>tn;tn+=2){for(Er=0,Ir=jt.la>>4+tn,xn=fi.la>>4+tn,Fr=0;2>Fr;++Fr){for(Oi=1&xn,Fi=0;2>Fi;++Fi)cn=Oi+(1&Ir),Ir=Ir>>1|(Oi=0<(cn=Cf(Or,Kn[2],cn,en.Qc,0,tr,Ai)))<<3,Er=Er<<2|(3>=2,xn=xn>>1|Oi<<5}lr|=Er<<4*tn,Ns|=Ir<<4<=Xe.zb&&Xe.M<=Xe.Va,Xe.Aa==0)e:{if(Tt.M=Xe.M,Tt.uc=jt,ss(Xe,Tt),un=1,Tt=(Er=Xe.D).Nb,jt=(lr=Zd[Xe.L])*Xe.R,Or=lr/2*Xe.B,Fr=16*Tt*Xe.R,Fi=8*Tt*Xe.B,Kn=Xe.sa,ci=Xe.ta-jt+Fr,en=Xe.qa,tr=Xe.ra-Or+Fi,Ai=Xe.Ha,fi=Xe.Ia-Or+Fi,xn=(Ir=Er.M)==0,_n=Ir>=Xe.Va-1,Xe.Aa==2&&ss(Xe,Er),Er.uc)for(Oi=(cn=Xe).D.M,t(cn.D.uc),Er=cn.yb;Erye.o&&(Ir=ye.o),ye.F=null,ye.J=null,Xe.Fa!=null&&0>1),ye.W+=Xe.B*(lr>>1),ye.F!=null&&(ye.J+=ye.width*lr)),Er>1,ye.W+=ye.v>>1,ye.F!=null&&(ye.J+=ye.v),ye.ka=Er-ye.j,ye.U=ye.va-ye.v,ye.T=Ir-Er,un=ye.put(ye))}Tt+1!=Xe.Ic||_n||(r(Xe.sa,Xe.ta-jt,Kn,ci+16*Xe.R,jt),r(Xe.qa,Xe.ra-Or,en,tr+8*Xe.B,Or),r(Xe.Ha,Xe.Ia-Or,Ai,fi+8*Xe.B,Or))}if(!un)return vn($t,6,"Output aborted.")}return 1}(G,gA)),gA.bc!=null&&gA.bc(gA),FA&=1}return FA?(G.cb=0,FA):0})(a,b)||(c=a.a)}}else c=a.a}c==0&&I.Oa!=null&&I.Oa.fd&&(c=pf(I.ba))}I=c}x=I!=0?null:11>x?j.f.RGBA.eb:j.f.kb.y}else x=null;return x};var y1=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(J,CA){for(var S="",R=0;R<4;R++)S+=String.fromCharCode(J[CA++]);return S}function m(J,CA){return J[CA+0]|J[CA+1]<<8}function F(J,CA){return(J[CA+0]|J[CA+1]<<8|J[CA+2]<<16)>>>0}function _(J,CA){return(J[CA+0]|J[CA+1]<<8|J[CA+2]<<16|J[CA+3]<<24)>>>0}new d;var w=[0],P=[0],D=[],M=new d,N=A,iA=function(J,CA){var S={},R=0,nA=!1,tA=0,SA=0;if(S.frames=[],!function(L,z){for(var AA=0;AA<4;AA++)if(L[z+AA]!="RIFF".charCodeAt(AA))return!0;return!1}(J,CA)){for(_(J,CA+=4),CA+=8;CA>1&1}jA!="ANMF"&&(CA+=_A)}return S}}(N,0);iA.response=N,iA.rgbaoutput=!0,iA.dataurl=!1;var eA=iA.header?iA.header:null,W=iA.frames?iA.frames:null;if(eA){eA.loop_counter=eA.loop_count,w=[eA.canvas_height],P=[eA.canvas_width];for(var IA=0;IA=2?k[1]:xe[0],xe[2]=k.length>=3?k[2]:xe[0],xe[3]=k.length>=4?k[3]:xe[1]),g.margin=xe}});var OA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return OA},set:function(k){OA=k}});var MA=0;Object.defineProperty(this,"lastBreak",{get:function(){return MA},set:function(k){MA=k}});var qA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return qA},set:function(k){qA=k}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(k){k instanceof m&&(g=k)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(k){g.path=k}});var he=[];Object.defineProperty(this,"ctxStack",{get:function(){return he},set:function(k){he=k}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(k){var xe;xe=_(k),this.ctx.fillStyle=xe.style,this.ctx.isFillTransparent=xe.a===0,this.ctx.fillOpacity=xe.a,this.pdf.setFillColor(xe.r,xe.g,xe.b,{a:xe.a}),this.pdf.setTextColor(xe.r,xe.g,xe.b,{a:xe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(k){var xe=_(k);this.ctx.strokeStyle=xe.style,this.ctx.isStrokeTransparent=xe.a===0,this.ctx.strokeOpacity=xe.a,xe.a===0?this.pdf.setDrawColor(255,255,255):(xe.a,this.pdf.setDrawColor(xe.r,xe.g,xe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(k){["butt","round","square"].indexOf(k)!==-1&&(this.ctx.lineCap=k,this.pdf.setLineCap(k))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(k){isNaN(k)||(this.ctx.lineWidth=k,this.pdf.setLineWidth(k))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(k){["bevel","round","miter"].indexOf(k)!==-1&&(this.ctx.lineJoin=k,this.pdf.setLineJoin(k))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(k){isNaN(k)||(this.ctx.miterLimit=k,this.pdf.setMiterLimit(k))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(k){this.ctx.textBaseline=k}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(k){["right","end","center","left","start"].indexOf(k)!==-1&&(this.ctx.textAlign=k)}});var _e=null,Ue=null,tt=null;Object.defineProperty(this,"fontFaces",{get:function(){return tt},set:function(k){_e=null,Ue=null,tt=k}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(k){var xe;if(this.ctx.font=k,(xe=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(k))!==null){var Rt=xe[1];xe[2];var ut=xe[3],ce=xe[4];xe[5];var ct=xe[6],ke=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ce)[2];ce=Math.floor(ke==="px"?parseFloat(ce)*this.pdf.internal.scaleFactor:ke==="em"?parseFloat(ce)*this.pdf.getFontSize():parseFloat(ce)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ce);var ot=function($e){var an,ar,Gt=[],Vt=$e.trim();if(Vt==="")return Kp;if(Vt in ea)return[ea[Vt]];for(;Vt!=="";){switch(ar=null,an=(Vt=ta(Vt)).charAt(0)){case'"':case"'":ar=Fs(Vt.substring(1),an);break;default:ar=No(Vt)}if(ar===null||(Gt.push(ar[0]),(Vt=ta(ar[1]))!==""&&Vt.charAt(0)!==","))return Kp;Vt=Vt.replace(/^,/,"")}return Gt}(ct);if(this.fontFaces){var nt=function($e,an){var ar=$e.getFontList(),Gt=JSON.stringify(ar);if(_e===null||Ue!==Gt){var Vt=function(Rr){var it=[];return Object.keys(Rr).forEach(function(Nr){Rr[Nr].forEach(function(wt){var Nt=null;switch(wt){case"bold":Nt={family:Nr,weight:"bold"};break;case"italic":Nt={family:Nr,style:"italic"};break;case"bolditalic":Nt={family:Nr,weight:"bold",style:"italic"};break;case"":case"normal":Nt={family:Nr}}Nt!==null&&(Nt.ref={name:Nr,style:wt},it.push(Nt))})}),it}(ar);_e=function(Rr){for(var it={},Nr=0;Nr=700||Rt==="bold")&&(St="bold"),Rt==="italic"&&(St+="italic"),St.length===0&&(St="normal");for(var qt="",Yt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ze=0;Ze=2*Math.PI&&(aA=0,vA=2*Math.PI),this.path.push({type:"arc",x:L,y:z,radius:AA,startAngle:aA,endAngle:vA,counterclockwise:EA})},F.prototype.arcTo=function(L,z,AA,aA,vA){throw new Error("arcTo not implemented.")},F.prototype.rect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,z),this.lineTo(L+AA,z),this.lineTo(L+AA,z+aA),this.lineTo(L,z+aA),this.lineTo(L,z),this.lineTo(L+AA,z),this.lineTo(L,z)},F.prototype.fillRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!w.call(this)){var vA={};this.lineCap!=="butt"&&(vA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(vA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,z,AA,aA),this.fill(),vA.hasOwnProperty("lineCap")&&(this.lineCap=vA.lineCap),vA.hasOwnProperty("lineJoin")&&(this.lineJoin=vA.lineJoin)}},F.prototype.strokeRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");P.call(this)||(this.beginPath(),this.rect(L,z,AA,aA),this.stroke())},F.prototype.clearRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,z,AA,aA))},F.prototype.save=function(L){L=typeof L!="boolean"||L;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,AA=0;AA0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};F.prototype.drawImage=function(L,z,AA,aA,vA,EA,OA,MA,qA){var he=this.pdf.getImageProperties(L),_e=1,Ue=1,tt=1,k=1;aA!==void 0&&MA!==void 0&&(tt=MA/aA,k=qA/vA,_e=he.width/aA*MA/aA,Ue=he.height/vA*qA/vA),EA===void 0&&(EA=z,OA=AA,z=0,AA=0),aA!==void 0&&MA===void 0&&(MA=aA,qA=vA),aA===void 0&&MA===void 0&&(MA=he.width,qA=he.height);var xe=this.ctx.transform.decompose(),Rt=_A(xe.rotate.shx),ut=new d,ce=(ut=(ut=(ut=ut.multiply(xe.translate)).multiply(xe.skew)).multiply(xe.scale)).applyToRectangle(new f(EA-z*tt,OA-AA*k,aA*_e,vA*Ue));if(this.autoPaging){for(var ct,ke=M.call(this,ce),ot=[],nt=0;ntwr||Stce||ke0)){for(;qA>=0;qA--)if(vA[qA-1].close!==!0&&vA[qA-1].begin!==!0){vA[qA-1].deltas.push(AA),vA[qA-1].abs.push(MA);break}}break;case"bct":AA=[MA.x1-EA[OA-1].x,MA.y1-EA[OA-1].y,MA.x2-EA[OA-1].x,MA.y2-EA[OA-1].y,MA.x-EA[OA-1].x,MA.y-EA[OA-1].y],vA[vA.length-1].deltas.push(AA);break;case"qct":var he=EA[OA-1].x+2/3*(MA.x1-EA[OA-1].x),_e=EA[OA-1].y+2/3*(MA.y1-EA[OA-1].y),Ue=MA.x+2/3*(MA.x1-MA.x),tt=MA.y+2/3*(MA.y1-MA.y),k=MA.x,xe=MA.y;AA=[he-EA[OA-1].x,_e-EA[OA-1].y,Ue-EA[OA-1].x,tt-EA[OA-1].y,k-EA[OA-1].x,xe-EA[OA-1].y],vA[vA.length-1].deltas.push(AA);break;case"arc":vA.push({deltas:[],abs:[],arc:!0}),Array.isArray(vA[vA.length-1].abs)&&vA[vA.length-1].abs.push(MA)}}aA=z?null:L==="stroke"?"stroke":"fill";for(var Rt=!1,ut=0;ut=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale);var Ht=this.autoPaging!=="text";if(Ht||Ze.y+Ze.h<=nt){if(Ht||Ze.y>=ke&&Ze.x<=Zt){var $e=Ht?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||Zt-Ze.x)[0],an=iA([JSON.parse(JSON.stringify(Ue))],this.posX+this.margin[3],-qt+ke+this.ctx.prevPageLastElemOffset)[0],ar=Ht&&(ct>ut||ct=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)}}else L.scale>=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale),this.pdf.text(L.text,qA.x+this.posX,qA.y+this.posY,{angle:L.angle,align:z,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)},nA=function(L,z,AA,aA){AA=AA||0,aA=aA||0,this.pdf.internal.out(e(L+AA)+" "+r(z+aA)+" l")},tA=function(L,z,AA){return this.pdf.lines(L,z,AA,null,null)},SA=function(L,z,AA,aA,vA,EA,OA,MA){this.pdf.internal.out([t(n(AA+L)),t(s(aA+z)),t(n(vA+L)),t(s(EA+z)),t(n(OA+L)),t(s(MA+z)),"c"].join(" "))},jA=function(L,z,AA,aA){for(var vA=2*Math.PI,EA=Math.PI/2;z>AA;)z-=vA;var OA=Math.abs(AA-z);OA1e-5;){var _e=he+qA*Math.min(OA,EA);MA.push(PA.call(this,L,he,_e)),OA-=Math.abs(_e-he),he=_e}return MA},PA=function(L,z,AA){var aA=(AA-z)/2,vA=L*Math.cos(aA),EA=L*Math.sin(aA),OA=vA,MA=-EA,qA=OA*OA+MA*MA,he=qA+OA*vA+MA*EA,_e=4/3*(Math.sqrt(2*qA*he)-he)/(OA*EA-MA*vA),Ue=OA-_e*MA,tt=MA+_e*OA,k=Ue,xe=-tt,Rt=aA+z,ut=Math.cos(Rt),ce=Math.sin(Rt);return{x1:L*Math.cos(z),y1:L*Math.sin(z),x2:Ue*ut-tt*ce,y2:Ue*ce+tt*ut,x3:k*ut-xe*ce,y3:k*ce+xe*ut,x4:L*Math.cos(AA),y4:L*Math.sin(AA)}},_A=function(L){return 180*L/Math.PI},RA=function(L,z,AA,aA,vA,EA){var OA=L+.5*(AA-L),MA=z+.5*(aA-z),qA=vA+.5*(AA-vA),he=EA+.5*(aA-EA),_e=Math.min(L,vA,OA,qA),Ue=Math.max(L,vA,OA,qA),tt=Math.min(z,EA,MA,he),k=Math.max(z,EA,MA,he);return new f(_e,tt,Ue-_e,k-tt)},de=function(L,z,AA,aA,vA,EA,OA,MA){var qA,he,_e,Ue,tt,k,xe,Rt,ut,ce,ct,ke,ot,nt,wr=AA-L,Zt=aA-z,St=vA-AA,qt=EA-aA,Yt=OA-vA,Ze=MA-EA;for(he=0;he<41;he++)ut=(xe=(_e=L+(qA=he/40)*wr)+qA*((tt=AA+qA*St)-_e))+qA*(tt+qA*(vA+qA*Yt-tt)-xe),ce=(Rt=(Ue=z+qA*Zt)+qA*((k=aA+qA*qt)-Ue))+qA*(k+qA*(EA+qA*Ze-k)-Rt),he==0?(ct=ut,ke=ce,ot=ut,nt=ce):(ct=Math.min(ct,ut),ke=Math.min(ke,ce),ot=Math.max(ot,ut),nt=Math.max(nt,ce));return new f(Math.round(ct),Math.round(ke),Math.round(ot-ct),Math.round(nt-ke))},te=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,z,AA=(L=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:z}));this.prevLineDash!==AA&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=AA)}}})(ze.API),function(A){var t=function(h){var f,d,g,m,F,_,w,P,D,M;for(/[^\x00-\xFF]/.test(h),d=[],g=0,m=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;m>g;g+=4)(F=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(_=(F=((F=((F=((F=(F-(M=F%85))/85)-(D=F%85))/85)-(P=F%85))/85)-(w=F%85))/85)%85,d.push(_+33,w+33,P+33,D+33,M+33)):d.push(122);return function(N,iA){for(var eA=iA;eA>0;eA--)N.pop()}(d,f.length),String.fromCharCode.apply(String,d)+"~>"},e=function(h){var f,d,g,m,F,_=String,w="length",P=255,D="charCodeAt",M="slice",N="replace";for(h[M](-2),h=h[M](0,-2)[N](/\s/g,"")[N]("z","!!!!!"),g=[],m=0,F=(h+=f="uuuuu"[M](h[w]%5||5))[w];F>m;m+=5)d=52200625*(h[D](m)-33)+614125*(h[D](m+1)-33)+7225*(h[D](m+2)-33)+85*(h[D](m+3)-33)+(h[D](m+4)-33),g.push(P&d>>24,P&d>>16,P&d>>8,P&d);return function(iA,eA){for(var W=eA;W>0;W--)iA.pop()}(g,f[w]),_.fromCharCode.apply(_,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var d="",g=0;gD&&(P=M,M=D,D=P);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",D>M&&(P=M,M=D,D=P)}return{width:M,height:D,unit:d,k:F,orientation:f}},A.html=function(f,d){(d=d||{}).callback=d.callback||function(){},d.html2canvas=d.html2canvas||{},d.html2canvas.canvas=d.html2canvas.canvas||this.canvas,d.jsPDF=d.jsPDF||this,d.fontFaces=d.fontFaces?d.fontFaces.map(Ci):null;var g=new h(d);return d.worker?g:g.from(f).doCallback()}}(ze.API),ze.API.addJS=function(A){return Ng=A,this.internal.events.subscribe("postPutResources",function(){ra=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ra+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Sg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ng+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ra!==void 0&&Sg!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var w=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+w+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var d=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+d.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var PA="",_A=0,RA=R.transparency.length;_A>",D.content=s;var eA=D.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length>=3};var m=A.__arabicParser__.arabicLetterHasMedialForm=function(D){return h(D)&&s(D)&&t[D.charCodeAt(0)].length==4},F=A.__arabicParser__.resolveLigatures=function(D){var M=0,N=e,iA="",eA=0;for(M=0;M>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(ze.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var d=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return d},set:function(D){d=D}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(D){g=D}});var m=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return m},set:function(D){m=D}});var F=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return F},set:function(D){F=D}});var _=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return _},set:function(D){_=D}});var w=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return w},set:function(D){w=D}});var P=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return P},set:function(D){P=D}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(d){return r.call(this),this.internal.__cell__.headerFunction=typeof d=="function"?d:void 0,this},A.getTextDimensions=function(d,g){r.call(this);var m=(g=g||{}).fontSize||this.getFontSize(),F=g.font||this.getFont(),_=g.scaleFactor||this.internal.scaleFactor,w=0,P=0,D=0,M=this;if(!Array.isArray(d)&&typeof d!="string"){if(typeof d!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");d=String(d)}var N=g.maxWidth;N>0?typeof d=="string"?d=this.splitTextToSize(d,N):Object.prototype.toString.call(d)==="[object Array]"&&(d=d.reduce(function(eA,W){return eA.concat(M.splitTextToSize(W,N))},[])):d=Array.isArray(d)?d:[d];for(var iA=0;iAthis.getPageHeight()?(this.cellAddPage(),d.y=F.top,w&&_&&(this.printHeaderRow(d.lineNumber,!0),d.y+=_[0].height)):d.y=g.y+g.height||d.y),d.text[0]!==void 0&&(this.rect(d.x,d.y,d.width,d.height,e===!0?"FD":void 0),d.align==="right"?this.text(d.text,d.x+d.width-m,d.y+m,{align:"right",baseline:"top"}):d.align==="center"?this.text(d.text,d.x+d.width/2,d.y+m,{align:"center",baseline:"top",maxWidth:d.width-m-m}):this.text(d.text,d.x+m,d.y+m,{align:"left",baseline:"top",maxWidth:d.width-m-m})),this.internal.__cell__.lastCell=d,this};A.table=function(d,g,m,F,_){if(r.call(this),!m)throw new Error("No data for PDF table.");var w,P,D,M,N=[],iA=[],eA=[],W={},IA={},zA=[],DA=[],cA=(_=_||{}).autoSize||!1,J=_.printHeaders!==!1,CA=_.css&&_.css["font-size"]!==void 0?16*_.css["font-size"]:_.fontSize||12,S=_.margins||Object.assign({width:this.getPageWidth()},t),R=typeof _.padding=="number"?_.padding:3,nA=_.headerBackgroundColor||"#c8c8c8",tA=_.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=J,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=CA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=nA,this.internal.__cell__.headerTextColor=tA,this.setFontSize(CA),F==null)iA=N=Object.keys(m[0]),eA=N.map(function(){return"left"});else if(Array.isArray(F)&&(0,mt.Z)(F[0])==="object")for(N=F.map(function(de){return de.name}),iA=F.map(function(de){return de.prompt||de.name||""}),eA=F.map(function(de){return de.align||"left"}),w=0;w0&&this.setTableHeaderRow(_),this.setFont(void 0,"normal"),e=!1}}(ze.API);var Bn={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bs=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Hn=gr(bs),Pn=[100,200,300,400,500,600,700,800,900],Sa=gr(Pn);function Ci(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return Bn[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Hn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Cs(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function Rg(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function kg(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(m,_)}})(A,s,Kg(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,d=null;s&&(f=t,d=h,t+=3*h);var g=!0,m=[],F=0,_=null,w=0,P=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var D=A[t++];F=A[t++]|A[t++]<<8,_=A[t++],1&D||(_=null),w=D>>2&7,t++;break;case 254:for(;;){if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var M=A[t++]|A[t++]<<8,N=A[t++]|A[t++]<<8,iA=A[t++]|A[t++]<<8,eA=A[t++]|A[t++]<<8,W=A[t++],IA=W>>6&1,zA=1<<1+(7&W),DA=f,cA=d,J=!1;W>>7&&(J=!0,DA=t,cA=zA,t+=3*zA);var CA=t;for(t++;;){var S;if(!((S=A[t++])>=0))throw Error("Invalid block size");if(S===0)break;t+=S}m.push({x:M,y:N,width:iA,height:eA,has_local_palette:J,palette_offset:DA,palette_size:cA,data_offset:CA,data_length:t-CA,transparent_index:_,interlaced:!!IA,delay:F,disposal:w});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return m.length},this.loopCount=function(){return P},this.frameInfo=function(R){if(R<0||R>=m.length)throw new Error("Frame index out of range.");return m[R]},this.decodeAndBlitFrameBGRA=function(R,nA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var RA=tA.width,de=e-RA,te=RA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*de;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,OA=jA.length;EA=z&&(aA=4*de+4*e*(vA-1),AA=L+(RA+de)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],he=A[PA+3*MA+1],_e=A[PA+3*MA+2];nA[AA++]=_e,nA[AA++]=he,nA[AA++]=qA,nA[AA++]=255}--te}},this.decodeAndBlitFrameRGBA=function(R,nA){var tA=this.frameInfo(R),SA=tA.width*tA.height,jA=new Uint8Array(SA);Gg(A,tA.data_offset,jA,SA);var PA=tA.palette_offset,_A=tA.transparent_index;_A===null&&(_A=256);var RA=tA.width,de=e-RA,te=RA,L=4*(tA.y*e+tA.x),z=4*((tA.y+tA.height)*e+tA.x),AA=L,aA=4*de;tA.interlaced===!0&&(aA+=4*e*7);for(var vA=8,EA=0,OA=jA.length;EA=z&&(aA=4*de+4*e*(vA-1),AA=L+(RA+de)*(vA<<1),vA>>=1)),MA===_A)AA+=4;else{var qA=A[PA+3*MA],he=A[PA+3*MA+1],_e=A[PA+3*MA+2];nA[AA++]=qA,nA[AA++]=he,nA[AA++]=_e,nA[AA++]=255}--te}}}function Gg(A,t,e,r){for(var n=A[t++],s=1<>=d,m-=d,M!==s){if(M===h)break;for(var N=Ms;)eA=P[eA]>>8,++iA;var W=eA;if(_+iA+(N!==M?1:0)>r)return void Cr.log("Warning, gif stream longer than expected.");e[_++]=W;var IA=_+=iA;for(N!==M&&(e[_++]=W),eA=N;iA--;)eA=P[eA],e[--IA]=255&eA,eA>>=8;D!==null&&f<4096&&(P[f++]=D<<8|W,f>=g+1&&d<12&&(++d,g=g<<1|1)),D=M}else f=h+1,g=(1<<(d=n+1))-1,D=null}return _!==r&&Cr.log("Warning, gif stream shorter than expected."),e}function Vp(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),d=new Array(64),g=new Array(64),m=new Array(64),F=new Array(65535),_=new Array(65535),w=new Array(64),P=new Array(64),D=[],M=0,N=7,iA=new Array(64),eA=new Array(64),W=new Array(64),IA=new Array(256),zA=new Array(2048),DA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],cA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],J=[0,1,2,3,4,5,6,7,8,9,10,11],CA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],S=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],nA=[0,1,2,3,4,5,6,7,8,9,10,11],tA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],SA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function jA(L,z){for(var AA=0,aA=0,vA=new Array,EA=1;EA<=16;EA++){for(var OA=1;OA<=L[EA];OA++)vA[z[aA]]=[],vA[z[aA]][0]=AA,vA[z[aA]][1]=EA,aA++,AA++;AA*=2}return vA}function PA(L){for(var z=L[0],AA=L[1]-1;AA>=0;)z&1<>8&255),_A(255&L)}function de(L,z,AA,aA,vA){for(var EA,OA=vA[0],MA=vA[240],qA=function(ce,ct){var ke,ot,nt,wr,Zt,St,qt,Yt,Ze,Ht,$e=0;for(Ze=0;Ze<8;++Ze){ke=ce[$e],ot=ce[$e+1],nt=ce[$e+2],wr=ce[$e+3],Zt=ce[$e+4],St=ce[$e+5],qt=ce[$e+6];var an=ke+(Yt=ce[$e+7]),ar=ke-Yt,Gt=ot+qt,Vt=ot-qt,Rr=nt+St,it=nt-St,Nr=wr+Zt,wt=wr-Zt,Nt=an+Nr,kr=an-Nr,zt=Gt+Rr,ft=Gt-Rr;ce[$e]=Nt+zt,ce[$e+4]=Nt-zt;var mr=.707106781*(ft+kr);ce[$e+2]=kr+mr,ce[$e+6]=kr-mr;var _l=.382683433*((Nt=wt+it)-(ft=Vt+ar)),$n=.5411961*Nt+_l,ja=1.306562965*ft+_l,ia=.707106781*(zt=it+Vt),ht=ar+ia,Ha=ar-ia;ce[$e+5]=Ha+$n,ce[$e+3]=Ha-$n,ce[$e+1]=ht+ja,ce[$e+7]=ht-ja,$e+=8}for($e=0,Ze=0;Ze<8;++Ze){ke=ce[$e],ot=ce[$e+8],nt=ce[$e+16],wr=ce[$e+24],Zt=ce[$e+32],St=ce[$e+40],qt=ce[$e+48];var Da=ke+(Yt=ce[$e+56]),es=ke-Yt,ts=ot+qt,An=ot-qt,Dn=nt+St,Mn=nt-St,xl=wr+Zt,Ho=wr-Zt,Qs=Da+xl,sa=Da-xl,_s=ts+Dn,xs=ts-Dn;ce[$e]=Qs+_s,ce[$e+32]=Qs-_s;var rs=.707106781*(xs+sa);ce[$e+16]=sa+rs,ce[$e+48]=sa-rs;var Il=.382683433*((Qs=Ho+Mn)-(xs=An+es)),aa=.5411961*Qs+Il,Ll=1.306562965*xs+Il,Su=.707106781*(_s=Mn+An),Nu=es+Su,ju=es-Su;ce[$e+40]=ju+aa,ce[$e+24]=ju-aa,ce[$e+8]=Nu+Ll,ce[$e+56]=Nu-Ll,$e++}for(Ze=0;Ze<64;++Ze)Ht=ce[Ze]*ct[Ze],w[Ze]=Ht>0?Ht+.5|0:Ht-.5|0;return w}(L,z),he=0;he<64;++he)P[DA[he]]=qA[he];var _e=P[0]-AA;AA=P[0],_e==0?PA(aA[0]):(PA(aA[_[EA=32767+_e]]),PA(F[EA]));for(var Ue=63;Ue>0&&P[Ue]==0;)Ue--;if(Ue==0)return PA(OA),AA;for(var tt,k=1;k<=Ue;){for(var xe=k;P[k]==0&&k<=Ue;)++k;var Rt=k-xe;if(Rt>=16){tt=Rt>>4;for(var ut=1;ut<=tt;++ut)PA(MA);Rt&=15}EA=32767+P[k],PA(vA[(Rt<<4)+_[EA]]),PA(F[EA]),k++}return Ue!=63&&PA(OA),AA}function te(L){L=Math.min(Math.max(L,1),100),s!=L&&(function(z){for(var AA=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],aA=0;aA<64;aA++){var vA=h((AA[aA]*z+50)/100);vA=Math.min(Math.max(vA,1),255),f[DA[aA]]=vA}for(var EA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],OA=0;OA<64;OA++){var MA=h((EA[OA]*z+50)/100);MA=Math.min(Math.max(MA,1),255),d[DA[OA]]=MA}for(var qA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],he=0,_e=0;_e<8;_e++)for(var Ue=0;Ue<8;Ue++)g[he]=1/(f[DA[he]]*qA[_e]*qA[Ue]*8),m[he]=1/(d[DA[he]]*qA[_e]*qA[Ue]*8),he++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),s=L)}this.encode=function(L,z){z&&te(z),D=new Array,M=0,N=7,RA(65496),RA(65504),RA(16),_A(74),_A(70),_A(73),_A(70),_A(0),_A(1),_A(1),_A(0),RA(1),RA(1),_A(0),_A(0),function(){RA(65499),RA(132),_A(0);for(var ot=0;ot<64;ot++)_A(f[ot]);_A(1);for(var nt=0;nt<64;nt++)_A(d[nt])}(),function(ot,nt){RA(65472),RA(17),_A(8),RA(nt),RA(ot),_A(3),_A(1),_A(17),_A(0),_A(2),_A(17),_A(1),_A(3),_A(17),_A(1)}(L.width,L.height),function(){RA(65476),RA(418),_A(0);for(var ot=0;ot<16;ot++)_A(cA[ot+1]);for(var nt=0;nt<=11;nt++)_A(J[nt]);_A(16);for(var wr=0;wr<16;wr++)_A(CA[wr+1]);for(var Zt=0;Zt<=161;Zt++)_A(S[Zt]);_A(1);for(var St=0;St<16;St++)_A(R[St+1]);for(var qt=0;qt<=11;qt++)_A(nA[qt]);_A(17);for(var Yt=0;Yt<16;Yt++)_A(tA[Yt+1]);for(var Ze=0;Ze<=161;Ze++)_A(SA[Ze])}(),RA(65498),RA(12),_A(3),_A(1),_A(0),_A(2),_A(17),_A(3),_A(17),_A(0),_A(63),_A(0);var AA=0,aA=0,vA=0;M=0,N=7,this.encode.displayName="_encode_";for(var EA,OA,MA,qA,he,_e,Ue,tt,k,xe=L.data,Rt=L.width,ut=L.height,ce=4*Rt,ct=0;ct>3)*ce+(Ue=4*(7&k)),ct+tt>=ut&&(_e-=ce*(ct+1+tt-ut)),EA+Ue>=ce&&(_e-=EA+Ue-ce+4),OA=xe[_e++],MA=xe[_e++],qA=xe[_e++],iA[k]=(zA[OA]+zA[MA+256|0]+zA[qA+512|0]>>16)-128,eA[k]=(zA[OA+768|0]+zA[MA+1024|0]+zA[qA+1280|0]>>16)-128,W[k]=(zA[OA+1280|0]+zA[MA+1536|0]+zA[qA+1792|0]>>16)-128;AA=de(iA,g,AA,t,r),aA=de(eA,m,aA,e,n),vA=de(W,m,vA,e,n),EA+=32}ct+=8}if(N>=0){var ke=[];ke[1]=N+1,ke[0]=(1<R;R++)if(J[CA+R]!=S.charCodeAt(R))return!0;return!1}function r(J,CA,S,R,nA){for(var tA=0;tAtA+1?[]:new CA),!(SA.length>>0;a&v;)v>>>=1;return v?(a&v-1)+v:a}function S(a,c,v,b,U){t(!(b%v));do a[c+(b-=v)]=U;while(0=U),512>=U)var x=s(512);else if((x=s(U))==null)return 0;return function(I,j,H,K,uA,xA){var G,gA,FA=j,GA=1<G;++G){if(QA[G]>1<(Ot-=QA[G]))return 0;for(;0=G;++G,uA<<=1){if(Me+=Ot<<=1,0>(Ot-=QA[G]))return 0;for(;0fe&&!(0>=(YA-=QA[fe]));)++fe,YA<<=1;GA+=We=1<<(YA=fe-H),I[j+(fe=qe&ne)].g=YA+H,I[j+fe].value=FA-j-fe}K.g=G-H,K.value=xA[gA++],S(I,FA+(qe>>H),uA,We,K),qe=CA(qe,G)}}return Me!=2*WA[15]-1?0:GA}(a,c,v,b,U,x)}function nA(){this.value=this.g=0}function tA(){this.value=this.g=0}function SA(){this.G=h(5,nA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(kl,tA)}function jA(a,c,v,b){t(a!=null),t(c!=null),t(2147483648>b),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=c,a.pa=v,a.Jd=c,a.Yc=v+b,a.Zc=4<=b?v+b-4+1:v,OA(a)}function PA(a,c){for(var v=0;0b),a.Sb=b,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;aA(a)&&(a.h=1,a.u=0)}function te(a,c){if(t(0<=c),!a.h&&c<=Hi){var v=AA(a)&ji[c];return a.u+=c,de(a),v}return a.h=1,a.u=0}function L(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function AA(a){return a.Ra>>>(a.u&Po-1)>>>0}function aA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Po}function vA(a,c){a.u=c,a.h=aA(a)}function EA(a){a.u>=Wa&&(t(a.u>=Wa),de(a))}function OA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&OA(a);var b=a.b,U=v*c>>>8,x=(a.I>>>b>U)+0;for(x?(v-=U,a.I-=U+1<>>0):v=U+1,b=v,U=0;256<=b;)U+=8,b>>=8;return b=7^U+Mo[b],a.b-=b,a.Ca=(v<>24&255,a[c+1]=v>>16&255,a[c+2]=v>>8&255,a[c+3]=255&v}function _e(a,c){return a[c+0]|a[c+1]<<8}function Ue(a,c){return _e(a,c)|a[c+2]<<16}function tt(a,c){return _e(a,c)|_e(a,c+2)<<16}function k(a,c){var v=1<=U||0>=x?0:(v[0]=U,b[0]=x,1)}function ce(a,c){return a+(1<>>c}function ct(a,c){return((4278255360&a)+(4278255360&c)>>>0&4278255360)+((16711935&a)+(16711935&c)>>>0&16711935)>>>0}function ke(a,c){J[c]=function(v,b,U,x,I,j,H){var K;for(K=0;K>>1)+(a&c)>>>0}function wr(a){return 0<=a&&256>a?a:0>a?0:255>1))}function St(a,c,v){return Math.abs(c-v)-Math.abs(a-v)}function qt(a,c,v,b,U,x,I){for(b=x[I-1],v=0;v>8&255,H=16711935&(H=(H=16711935&I)+((j<<16)+j));b[U+x]=(4278255360&I)+H>>>0}}function Ze(a,c){c.jd=255&a,c.hd=a>>8&255,c.ud=a>>16&255}function Ht(a,c,v,b,U,x){var I;for(I=0;I>>8,K=j,uA=255&(uA=(uA=j>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));K=255&(K=(K+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(uA<<24>>24)>>>5)),U[x+I]=(4278255360&j)+(uA<<16)+K}}function $e(a,c,v,b,U){J[c]=function(x,I,j,H,K,uA,xA,G,gA){for(H=xA;H>x.b,gA=x.Ea,FA=x.K[0],GA=x.w;if(8>G)for(x=(1<>=G}else J["VP8LMapColor"+v](H,K,FA,GA,uA,xA,I,j,gA)}}function an(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x}}function ar(a,c,v,b,U){for(v=c+v;c>16&255,b[U++]=x>>8&255,b[U++]=255&x,b[U++]=x>>24&255}}function Gt(a,c,v,b,U){for(v=c+v;c>16&240|I>>12&15,I=240&I|I>>28&15;b[U++]=x,b[U++]=I}}function Vt(a,c,v,b,U){for(v=c+v;c>16&248|I>>13&7,I=I>>5&224|I>>3&31;b[U++]=x,b[U++]=I}}function Rr(a,c,v,b,U){for(v=c+v;c>8&255,b[U++]=x>>16&255}}function it(a,c,v,b,U,x){if(x==0)for(v=c+v;c>24|x[1]>>8&65280|x[2]<<8&16711680|x[3]<<24)>>>0),U+=32;else r(b,U,a,c,v)}function Nr(a,c){J[c][0]=J[a+"0"],J[c][1]=J[a+"1"],J[c][2]=J[a+"2"],J[c][3]=J[a+"3"],J[c][4]=J[a+"4"],J[c][5]=J[a+"5"],J[c][6]=J[a+"6"],J[c][7]=J[a+"7"],J[c][8]=J[a+"8"],J[c][9]=J[a+"9"],J[c][10]=J[a+"10"],J[c][11]=J[a+"11"],J[c][12]=J[a+"12"],J[c][13]=J[a+"13"],J[c][14]=J[a+"0"],J[c][15]=J[a+"0"]}function wt(a){return a==ug||a==cg||a==Wd||a==fg}function Nt(){this.eb=[],this.size=this.A=this.fb=0}function kr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function zt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Nt,this.f.kb=new kr,this.sd=null}function ft(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function mr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function _l(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function $n(a,c){var v=a.T,b=c.ba.f.RGBA,U=b.eb,x=b.fb+a.ka*b.A,I=ls[c.ba.S],j=a.y,H=a.O,K=a.f,uA=a.N,xA=a.ea,G=a.W,gA=c.cc,FA=c.dc,GA=c.Mc,QA=c.Nc,WA=a.ka,YA=a.ka+a.T,fe=a.U,ne=fe+1>>1;for(WA==0?I(j,H,null,null,K,uA,xA,G,K,uA,xA,G,U,x,null,null,fe):(I(c.ec,c.fc,j,H,gA,FA,GA,QA,K,uA,xA,G,U,x-b.A,U,x,fe),++v);WA+2v,U=v==Gd||v==Vd||v==zd||v==lg||v==12||wt(v);if(c.memory=null,c.Ib=null,c.Jb=null,c.Nd=null,!df(c.Oa,a,U?11:12))return 0;if(U&&wt(v)&&cf(),a.da)alert("todo:use_scaling");else{if(b){if(c.Ib=_l,a.Kb){if(v=a.U+1>>1,c.memory=s(a.U+2*v),c.memory==null)return 0;c.ec=c.memory,c.fc=0,c.cc=c.ec,c.dc=c.fc+a.U,c.Mc=c.cc,c.Nc=c.dc+v,c.Ib=$n,cf()}}else alert("todo:EmitYUV");U&&(c.Jb=ja,b&&Ls())}if(b&&!w1){for(a=0;256>a;++a)BB[a]=89858*(a-128)+Jd>>Xd,mB[a]=-22014*(a-128)+Jd,wB[a]=-45773*(a-128),vB[a]=113618*(a-128)+Jd>>Xd;for(a=Ff;a>Xd,yB[a-Ff]=oa(c,255),bB[a-Ff]=oa(c+8>>4,15);w1=1}return 1}function ht(a){var c=a.ma,v=a.U,b=a.T;return t(!(1&a.ka)),0>=v||0>=b?0:(v=c.Ib(a,c),c.Jb!=null&&c.Jb(a,c,v),c.Dc+=v,1)}function Ha(a){a.ma.memory=null}function Da(a,c,v,b){return te(a,8)!=47?0:(c[0]=te(a,14)+1,v[0]=te(a,14)+1,b[0]=te(a,1),te(a,3)!=0?0:!a.h)}function es(a,c){if(4>a)return a+1;var v=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&v)))?v:1;var v}function An(a,c,v){var b=AA(v),U=a[c+=255&b].g-8;return 0>>0,t(8>=v.g),a.g}function Mn(a,c,v){var b=a.xc;return t((c=b==0?0:a.vc[a.md*(v>>b)+(c>>b)])>We.b)*Me;GAfe&&(Xe=fe),(0,vf[$t[Qn++]>>8&15])(G,gA+ +Tt,WA,YA+Tt-fe,Xe-Tt,WA,YA+Tt),Tt=Xe}gA+=fe,YA+=fe,++GA&qe||(We+=Me)}xA!=K.nc&&r(H,j-FA,H,j+(xA-uA-1)*FA,FA);break;case 1:for(FA=G,QA=gA,fe=(G=K.Ea)-(YA=G&~(WA=(gA=1<>K.b)*GA;uA=U),0x.o&&(b=x.o),v=b?v=0:(U[0]+=4*x.v,x.ka=v-x.j,x.U=x.va-x.v,x.T=b-v,v=1),v){if(j=j[0],11>(v=a.ca).S){var uA=v.f.RGBA,xA=(b=v.S,U=x.U,x=x.T,K=uA.eb,uA.A),G=x;for(uA=uA.fb+a.Ma*uA.A;0b){var U=a.l.width,x=v.ca,I=v.tb+U*b,j=a.V,H=a.Ba+a.c*b,K=a.gc;t(a.ab==1),t(K[0].hc==3),fa(K[0],b,c,j,H,x,I),sa(v,b,c,x,I,U)}a.C=a.Ma=c}function xs(a,c,v,b,U,x,I){var j=a.$/b,H=a.$%b,K=a.m,uA=a.s,xA=v+a.$,G=xA;U=v+b*U;var gA=v+b*x,FA=280+uA.ua,GA=a.Pb?j:16777216,QA=0=GA){var qe=xA-v;t((GA=a).Pb),GA.wd=GA.m,GA.xd=qe,0Ot.g?(vA(ne,ne.u+Ot.g),qe[Me]=Ot.value,ne=0):(vA(ne,ne.u+Ot.g-256),t(256<=Ot.value),ne=Ot.value),ne==0&&(fe=!0)}else ne=An(YA.G[0],YA.H[0],K);if(K.h)break;if(fe||256>ne){if(!fe)if(YA.nd)c[xA]=(YA.qb|ne<<8)>>>0;else{if(EA(K),fe=An(YA.G[1],YA.H[1],K),EA(K),qe=An(YA.G[2],YA.H[2],K),Me=An(YA.G[3],YA.H[3],K),K.h)break;c[xA]=(Me<<24|fe<<16|ne<<8|qe)>>>0}if(fe=!1,++xA,++H>=b&&(H=0,++j,I!=null&&j<=x&&!(j%16)&&I(a,j),QA!=null))for(;G>>QA.Mb]=ne}else if(280>ne){if(ne=es(ne-256,K),qe=An(YA.G[4],YA.H[4],K),EA(K),qe=ts(b,qe=es(qe,K)),K.h)break;if(xA-v=b;)H-=b,++j,I!=null&&j<=x&&!(j%16)&&I(a,j);if(t(xA<=U),H&WA&&(YA=Mn(uA,H,j)),QA!=null)for(;G>>QA.Mb]=ne}else{if(!(ne>>QA.Mb]=ne;ne=xA,t(!(fe>>>(qe=QA).Xa)),c[ne]=qe.X[fe],fe=!0}fe||t(K.h==aA(K))}if(a.Pb&&K.h&&xAx?x:j),a.a=0,a.$=xA-v}return 1}return a.a=3,0}function rs(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var c=a.Wa;c!=null&&(c.X=null),a.vb=null,t(a!=null)}function Il(){var a=new Et;return a==null?null:(a.a=0,a.xb=h1,Nr("Predictor","VP8LPredictors"),Nr("Predictor","VP8LPredictors_C"),Nr("PredictorAdd","VP8LPredictorsAdd"),Nr("PredictorAdd","VP8LPredictorsAdd_C"),on=Yt,wf=Ht,mf=an,Ro=ar,ko=Gt,Ko=Vt,Kl=Rr,J.VP8LMapColor32b=ca,J.VP8LMapColor8b=Bf,a)}function aa(a,c,v,b,U){var x=1,I=[a],j=[c],H=b.m,K=b.s,uA=null,xA=0;A:for(;;){if(v)for(;x&&te(H,1);){var G=I,gA=j,FA=b,GA=1,QA=FA.m,WA=FA.gc[FA.ab],YA=te(QA,2);if(FA.Oc&1<=FA.ab),YA){case 0:case 1:WA.b=te(QA,3)+2,GA=aa(ce(WA.Ea,WA.b),ce(WA.nc,WA.b),0,FA,WA.K),WA.K=WA.K[0];break;case 3:var fe,ne=te(QA,8)+1,qe=16>We.b),Qn=s($t);if(Qn==null)fe=0;else{var Tt=We.K[0],Xe=We.w;for(Qn[0]=We.K[0][0],Me=1;Me<1*Ot;++Me)Qn[Me]=ct(Tt[Xe+Me],Qn[Me-1]);for(;Me<4*$t;++Me)Qn[Me]=0;We.K[0]=null,We.K[0]=Qn,fe=1}}GA=fe;break;case 2:break;default:t(0)}x=GA}}if(I=I[0],j=j[0],x&&te(H,1)&&!(x=1<=(xA=te(H,4))&&11>=xA)){b.a=3;break A}var ye;if(ye=x)e:{var un,jt,tr,Or=b,Kn=I,ci=j,en=xA,Ai=v,fi=Or.m,_n=Or.s,lr=[null],Fr=1,tn=0,Er=nB[en];t:for(;;){if(Ai&&te(fi,1)){var Gn=te(fi,3)+2,Ns=ce(Kn,Gn),cn=ce(ci,Gn),Fi=Ns*cn;if(!aa(Ns,cn,0,Or,lr))break t;for(lr=lr[0],_n.xc=Gn,un=0;un>8&65535;lr[un]=Ir,Ir>=Fr&&(Fr=Ir+1)}}if(fi.h)break t;for(jt=0;5>jt;++jt){var xn=c1[jt];!jt&&0=hi),Pi=Ti;var Ei=s(tn);if(Pi==null||Ei==null||Oi==null){Or.a=1;break t}var Mi=Oi;for(un=tr=0;unjt;++jt){xn=c1[jt],Ri[jt]=Mi,js[jt]=tr,!jt&&0e0)break r}else vg=e0;for(Uf=0;UfGu)U1[Uf++]=Gu,Gu!=0&&(Q1=Gu);else{var SB=Gu==16,I1=Gu-16,NB=AB[I1],L1=te(Xo,$1[I1])+NB;if(Uf+L1>e0)break r;for(var jB=SB?Q1:0;0=jt){var Qf,mg=Ei[0];for(Qf=1;Qfmg&&(mg=Ei[Qf]);Vn+=mg}}if(Hr.nd=Za,Hr.Qb=0,Za&&(Hr.qb=(Ri[3][js[3]+0].value<<24|Ri[1][js[1]+0].value<<16|Ri[2][js[2]+0].value)>>>0,Vl==0&&256>Ri[0][js[0]+0].value&&(Hr.Qb=1,Hr.qb+=Ri[0][js[0]+0].value<<8)),Hr.jc=!Hr.Qb&&6>Vn,Hr.jc){var t0,Ya=Hr;for(t0=0;t0>=Dn(r0,8,Zo),Jo>>=Dn(Ya.G[1][Ya.H[1]+Jo],16,Zo),Jo>>=Dn(Ya.G[2][Ya.H[2]+Jo],0,Zo),Dn(Ya.G[3][Ya.H[3]+Jo],24,Zo))}}}_n.vc=lr,_n.Wb=Fr,_n.Ya=Pi,_n.yc=Oi,ye=1;break e}ye=0}if(!(x=ye)){b.a=3;break A}if(0b+1?[]:0),!(U.lengtha?0:a>c?c:a}function Hu(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Wp(){var a=new Qd;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,Cf||(Cf=Du)),a}function vn(a,c,v){return a.a==0&&(a.a=c,a.sc=v,a.cb=0),0}function _d(a,c,v){return 3<=v&&a[c+0]==157&&a[c+1]==1&&a[c+2]==42}function la(a,c){if(a==null)return 0;if(a.a=0,a.sc="OK",c==null)return vn(a,2,"null VP8Io passed to VP8GetHeaders()");var v=c.data,b=c.w,U=c.ha;if(4>U)return vn(a,7,"Truncated header.");var x=v[b+0]|v[b+1]<<8|v[b+2]<<16,I=a.Od;if(I.Rb=!(1&x),I.td=x>>1&7,I.yd=x>>4&1,I.ub=x>>5,3U)return vn(a,7,"cannot parse picture header");if(!_d(v,b,U))return vn(a,3,"Bad code word");j.c=16383&(v[b+4]<<8|v[b+3]),j.Td=v[b+4]>>6,j.i=16383&(v[b+6]<<8|v[b+5]),j.Ud=v[b+6]>>6,b+=7,U-=7,a.za=j.c+15>>4,a.Ub=j.i+15>>4,c.width=j.c,c.height=j.i,c.Da=0,c.j=0,c.v=0,c.va=c.width,c.o=c.height,c.da=0,c.ib=c.width,c.hb=c.height,c.U=c.width,c.T=c.height,n((x=a.Pa).jb,0,255,x.jb.length),t((x=a.Qa)!=null),x.Cb=0,x.Bb=0,x.Fb=1,n(x.Zb,0,0,x.Zb.length),n(x.Lb,0,0,x.Lb)}if(I.ub>U)return vn(a,7,"bad partition length");jA(x=a.m,v,b,I.ub),b+=I.ub,U-=I.ub,I.Rb&&(j.Ld=MA(x),j.Kd=MA(x)),j=a.Qa;var H,K=a.Pa;if(t(x!=null),t(j!=null),j.Cb=MA(x),j.Cb){if(j.Bb=MA(x),MA(x)){for(j.Fb=MA(x),H=0;4>H;++H)j.Zb[H]=MA(x)?_A(x,7):0;for(H=0;4>H;++H)j.Lb[H]=MA(x)?_A(x,6):0}if(j.Bb)for(H=0;3>H;++H)K.jb[H]=MA(x)?PA(x,8):255}else j.Bb=0;if(x.Ka)return vn(a,3,"cannot parse segment header");if((j=a.ed).zd=MA(x),j.Tb=PA(x,6),j.wb=PA(x,3),j.Pc=MA(x),j.Pc&&MA(x)){for(K=0;4>K;++K)MA(x)&&(j.vd[K]=_A(x,6));for(K=0;4>K;++K)MA(x)&&(j.od[K]=_A(x,6))}if(a.L=j.Tb==0?0:j.zd?1:2,x.Ka)return vn(a,3,"cannot parse filter header");var uA=U;if(U=H=b,b=H+uA,j=uA,a.Xb=(1<j&&(xA=j),jA(a.Jc[+uA],v,H,xA),H+=xA,j-=xA,U+=3}jA(a.Jc[+K],v,H,j),v=HxA;++xA){if(uA.Cb){var G=uA.Zb[xA];uA.Fb||(G+=v)}else{if(0>16,8>gA.Eb[1]&&(gA.Eb[1]=8),gA.Qc[0]=hg[oa(G+K,117)],gA.Qc[1]=dg[oa(G+H,127)],gA.lc=G+H}if(!I.Rb)return vn(a,4,"Not a key frame.");for(MA(x),I=a.Pa,v=0;4>v;++v){for(U=0;8>U;++U)for(b=0;3>b;++b)for(j=0;11>j;++j)K=qA(x,uB[v][U][b][j])?PA(x,8):oB[v][U][b][j],I.Wc[v][U].Yb[b][j]=K;for(U=0;17>U;++U)I.Xc[v][U]=I.Wc[v][cB[U]]}return a.kc=MA(x),a.kc&&(a.Bd=PA(x,8)),a.cb=1}function Du(a,c,v,b,U,x,I){var j=c[U].Yb[v];for(v=0;16>U;++U){if(!qA(a,j[v+0]))return U;for(;!qA(a,j[v+1]);)if(j=c[++U].Yb[0],v=0,U==16)return 16;var H=c[U+1].Yb;if(qA(a,j[v+2])){var K=a,uA=0;if(qA(K,(G=j)[(xA=v)+3]))if(qA(K,G[xA+6])){for(j=0,xA=2*(uA=qA(K,G[xA+8]))+(G=qA(K,G[xA+9+uA])),uA=0,G=sB[xA];G[j];++j)uA+=uA+qA(K,G[j]);uA+=3+(8<(K=a).b&&OA(K);var xA,G=K.b,gA=(xA=K.Ca>>1)-(K.I>>G)>>31;--K.b,K.Ca+=gA,K.Ca|=1,K.I-=(xA+1&gA)<>3),a[c+v+32*b]=-256&U?0>U?0:255:U}function Fn(a,c,v,b,U,x){is(a,c,0,v,b+U),is(a,c,1,v,b+x),is(a,c,2,v,b-x),is(a,c,3,v,b-U)}function Oa(a){return(20091*a>>16)+a}function Id(a,c,v,b){var U,x=0,I=s(16);for(U=0;4>U;++U){var j=a[c+0]+a[c+8],H=a[c+0]-a[c+8],K=(35468*a[c+4]>>16)-Oa(a[c+12]),uA=Oa(a[c+4])+(35468*a[c+12]>>16);I[x+0]=j+uA,I[x+1]=H+K,I[x+2]=H-K,I[x+3]=j-uA,x+=4,c++}for(U=x=0;4>U;++U)j=(a=I[x+0]+4)+I[x+8],H=a-I[x+8],K=(35468*I[x+4]>>16)-Oa(I[x+12]),is(v,b,0,0,j+(uA=Oa(I[x+4])+(35468*I[x+12]>>16))),is(v,b,1,0,H+K),is(v,b,2,0,H-K),is(v,b,3,0,j-uA),x++,b+=32}function Xp(a,c,v,b){var U=a[c+0]+4,x=35468*a[c+4]>>16,I=Oa(a[c+4]),j=35468*a[c+1]>>16;Fn(v,b,0,U+I,a=Oa(a[c+1]),j),Fn(v,b,1,U+x,a,j),Fn(v,b,2,U-x,a,j),Fn(v,b,3,U-I,a,j)}function Jp(a,c,v,b,U){Id(a,c,v,b),U&&Id(a,c+16,v,b+4)}function ua(a,c,v,b){Gl(a,c+0,v,b,1),Gl(a,c+32,v,b+128,1)}function Ld(a,c,v,b){var U;for(a=a[c+0]+4,U=0;4>U;++U)for(c=0;4>c;++c)is(v,b,c,U,a)}function Sd(a,c,v,b){a[c+0]&&yr(a,c+0,v,b),a[c+16]&&yr(a,c+16,v,b+4),a[c+32]&&yr(a,c+32,v,b+128),a[c+48]&&yr(a,c+48,v,b+128+4)}function Ou(a,c,v,b){var U,x=s(16);for(U=0;4>U;++U){var I=a[c+0+U]+a[c+12+U],j=a[c+4+U]+a[c+8+U],H=a[c+4+U]-a[c+8+U],K=a[c+0+U]-a[c+12+U];x[0+U]=I+j,x[8+U]=I-j,x[4+U]=K+H,x[12+U]=K-H}for(U=0;4>U;++U)I=(a=x[0+4*U]+3)+x[3+4*U],j=x[1+4*U]+x[2+4*U],H=x[1+4*U]-x[2+4*U],K=a-x[3+4*U],v[b+0]=I+j>>3,v[b+16]=K+H>>3,v[b+32]=I-j>>3,v[b+48]=K-H>>3,b+=64}function Sl(a,c,v){var b,U=c-32,x=Di,I=255-a[U-1];for(b=0;bv;++v)r(a,c+32*v,a,c-32,16)}function Nd(a,c){var v;for(v=16;0b;++b)n(c,v+32*b,a,16)}function $p(a,c){var v,b=16;for(v=0;16>v;++v)b+=a[c-1+32*v]+a[c+v-32];Is(b>>5,a,c)}function Nl(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c-1+32*v];Is(b>>4,a,c)}function rf(a,c){var v,b=8;for(v=0;16>v;++v)b+=a[c+v-32];Is(b>>4,a,c)}function Ag(a,c){Is(128,a,c)}function Qt(a,c,v){return a+2*c+v+2>>2}function eg(a,c){var v,b=c-32;for(b=new Uint8Array([Qt(a[b-1],a[b+0],a[b+1]),Qt(a[b+0],a[b+1],a[b+2]),Qt(a[b+1],a[b+2],a[b+3]),Qt(a[b+2],a[b+3],a[b+4])]),v=0;4>v;++v)r(a,c+32*v,b,0,b.length)}function tg(a,c){var v=a[c-1],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];he(a,c+0,16843009*Qt(a[c-1-32],v,b)),he(a,c+32,16843009*Qt(v,b,U)),he(a,c+64,16843009*Qt(b,U,x)),he(a,c+96,16843009*Qt(U,x,x))}function rg(a,c){var v,b=4;for(v=0;4>v;++v)b+=a[c+v-32]+a[c-1+32*v];for(b>>=3,v=0;4>v;++v)n(a,c+32*v,b,4)}function Ta(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+96]=Qt(b,U,a[c-1+96]),a[c+1+96]=a[c+0+64]=Qt(v,b,U),a[c+2+96]=a[c+1+64]=a[c+0+32]=Qt(x,v,b),a[c+3+96]=a[c+2+64]=a[c+1+32]=a[c+0+0]=Qt(I,x,v),a[c+3+64]=a[c+2+32]=a[c+1+0]=Qt(j,I,x),a[c+3+32]=a[c+2+0]=Qt(H,j,I),a[c+3+0]=Qt(K,H,j)}function Pa(a,c){var v=a[c+1-32],b=a[c+2-32],U=a[c+3-32],x=a[c+4-32],I=a[c+5-32],j=a[c+6-32],H=a[c+7-32];a[c+0+0]=Qt(a[c+0-32],v,b),a[c+1+0]=a[c+0+32]=Qt(v,b,U),a[c+2+0]=a[c+1+32]=a[c+0+64]=Qt(b,U,x),a[c+3+0]=a[c+2+32]=a[c+1+64]=a[c+0+96]=Qt(U,x,I),a[c+3+32]=a[c+2+64]=a[c+1+96]=Qt(x,I,j),a[c+3+64]=a[c+2+96]=Qt(I,j,H),a[c+3+96]=Qt(j,H,H)}function ng(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1-32],I=a[c+0-32],j=a[c+1-32],H=a[c+2-32],K=a[c+3-32];a[c+0+0]=a[c+1+64]=x+I+1>>1,a[c+1+0]=a[c+2+64]=I+j+1>>1,a[c+2+0]=a[c+3+64]=j+H+1>>1,a[c+3+0]=H+K+1>>1,a[c+0+96]=Qt(U,b,v),a[c+0+64]=Qt(b,v,x),a[c+0+32]=a[c+1+96]=Qt(v,x,I),a[c+1+32]=a[c+2+96]=Qt(x,I,j),a[c+2+32]=a[c+3+96]=Qt(I,j,H),a[c+3+32]=Qt(j,H,K)}function ig(a,c){var v=a[c+0-32],b=a[c+1-32],U=a[c+2-32],x=a[c+3-32],I=a[c+4-32],j=a[c+5-32],H=a[c+6-32],K=a[c+7-32];a[c+0+0]=v+b+1>>1,a[c+1+0]=a[c+0+64]=b+U+1>>1,a[c+2+0]=a[c+1+64]=U+x+1>>1,a[c+3+0]=a[c+2+64]=x+I+1>>1,a[c+0+32]=Qt(v,b,U),a[c+1+32]=a[c+0+96]=Qt(b,U,x),a[c+2+32]=a[c+1+96]=Qt(U,x,I),a[c+3+32]=a[c+2+96]=Qt(x,I,j),a[c+3+64]=Qt(I,j,H),a[c+3+96]=Qt(j,H,K)}function Tu(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96];a[c+0+0]=v+b+1>>1,a[c+2+0]=a[c+0+32]=b+U+1>>1,a[c+2+32]=a[c+0+64]=U+x+1>>1,a[c+1+0]=Qt(v,b,U),a[c+3+0]=a[c+1+32]=Qt(b,U,x),a[c+3+32]=a[c+1+64]=Qt(U,x,x),a[c+3+64]=a[c+2+64]=a[c+0+96]=a[c+1+96]=a[c+2+96]=a[c+3+96]=x}function nf(a,c){var v=a[c-1+0],b=a[c-1+32],U=a[c-1+64],x=a[c-1+96],I=a[c-1-32],j=a[c+0-32],H=a[c+1-32],K=a[c+2-32];a[c+0+0]=a[c+2+32]=v+I+1>>1,a[c+0+32]=a[c+2+64]=b+v+1>>1,a[c+0+64]=a[c+2+96]=U+b+1>>1,a[c+0+96]=x+U+1>>1,a[c+3+0]=Qt(j,H,K),a[c+2+0]=Qt(I,j,H),a[c+1+0]=a[c+3+32]=Qt(v,I,j),a[c+1+32]=a[c+3+64]=Qt(b,v,I),a[c+1+64]=a[c+3+96]=Qt(U,b,v),a[c+1+96]=Qt(x,U,b)}function jl(a,c){var v;for(v=0;8>v;++v)r(a,c+32*v,a,c-32,8)}function sg(a,c){var v;for(v=0;8>v;++v)n(a,c,a[c-1],8),c+=32}function Ma(a,c,v){var b;for(b=0;8>b;++b)n(c,v+32*b,a,8)}function ag(a,c){var v,b=8;for(v=0;8>v;++v)b+=a[c+v-32]+a[c-1+32*v];Ma(b>>4,a,c)}function sf(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c+v-32];Ma(b>>3,a,c)}function af(a,c){var v,b=4;for(v=0;8>v;++v)b+=a[c-1+32*v];Ma(b>>3,a,c)}function jd(a,c){Ma(128,a,c)}function Ra(a,c,v){var b=a[c-v],U=a[c+0],x=3*(U-b)+og[1020+a[c-2*v]-a[c+v]],I=kd[112+(x+4>>3)];a[c-v]=Di[255+b+kd[112+(x+3>>3)]],a[c+0]=Di[255+U-I]}function of(a,c,v,b){var U=a[c+0],x=a[c+v];return os[255+a[c-2*v]-a[c-v]]>b||os[255+x-U]>b}function Pu(a,c,v,b){return 4*os[255+a[c-v]-a[c+0]]+os[255+a[c-2*v]-a[c+v]]<=b}function lf(a,c,v,b,U){var x=a[c-3*v],I=a[c-2*v],j=a[c-v],H=a[c+0],K=a[c+v],uA=a[c+2*v],xA=a[c+3*v];return 4*os[255+j-H]+os[255+I-K]>b?0:os[255+a[c-4*v]-x]<=U&&os[255+x-I]<=U&&os[255+I-j]<=U&&os[255+xA-uA]<=U&&os[255+uA-K]<=U&&os[255+K-H]<=U}function Hl(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b,v,U)&&Ra(a,c+b,v)}function uf(a,c,v,b){var U=2*b+1;for(b=0;16>b;++b)Pu(a,c+b*v,1,U)&&Ra(a,c+b*v,1)}function Hd(a,c,v,b){var U;for(U=3;0>7,WA=18*YA+63>>7,YA=9*YA+63>>7;H[K-3*uA]=Di[255+H[K-3*uA]+YA],H[K-2*uA]=Di[255+xA+WA],H[K-uA]=Di[255+G+QA],H[K+0]=Di[255+gA-QA],H[K+uA]=Di[255+FA-WA],H[K+2*uA]=Di[255+GA-YA]}c+=b}}function Ka(a,c,v,b,U,x,I,j){for(x=2*x+1;0>3)],GA=kd[112+(GA+3>>3)],QA=FA+1>>1;H[K-2*uA]=Di[255+H[K-2*uA]+QA],H[K-uA]=Di[255+xA+GA],H[K+0]=Di[255+G-FA],H[K+uA]=Di[255+gA-QA]}c+=b}}function Od(a,c,v,b,U,x){ka(a,c,v,1,16,b,U,x)}function Dl(a,c,v,b,U,x){ka(a,c,1,v,16,b,U,x)}function Td(a,c,v,b,U,x){var I;for(I=3;0K?0:255:K)&255,K=H,U[x+j]=uA}}function jr(a,c,v,b){var U=c.width,x=c.o;if(t(a!=null&&c!=null),0>v||0>=b||v+b>x)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Dt,(I=a.ga==null)||(I=c.width*c.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var j=a.Fa,H=a.P,K=a.qc,uA=a.mb,xA=a.nb,G=H+1,gA=K-1,FA=I.l;if(t(j!=null&&uA!=null&&c!=null),zo[0]=null,zo[1]=or,zo[2]=Xr,zo[3]=wn,I.ca=uA,I.tb=xA,I.c=c.width,I.i=c.height,t(0=K)c=0;else if(I.$a=3&j[H+0],I.Z=j[H+0]>>2&3,I.Lc=j[H+0]>>4&3,H=j[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!c}if(I)return null;a.ga.Lc!=1?a.Ga=0:b=x-v}t(a.ga!=null),t(v+b<=x);A:{if(c=(j=a.ga).c,x=j.l.o,j.$a==0){if(G=a.rc,gA=a.Vc,FA=a.Fa,H=a.P+1+v*c,K=a.mb,uA=a.nb+v*c,t(H<=a.P+a.qc),j.Z!=0)for(t(zo[j.Z]!=null),I=0;I=c)c=1;else if(j.ic||Ls(),j.ic){j=I.V,G=I.Ba,gA=I.c;var GA=I.i,QA=(FA=1,H=I.$/gA,K=I.$%gA,uA=I.m,xA=I.s,I.$),WA=gA*GA,YA=gA*c,fe=xA.wc,ne=QA(GA=An(ne.G[0],ne.H[0],uA)))j[G+QA]=GA,++QA,++K>=gA&&(K=0,++H<=c&&!(H%16)&&_s(I,H));else{if(!(280>GA)){FA=0;break e}GA=es(GA-256,uA);var qe,Me=An(ne.G[4],ne.H[4],uA);if(EA(uA),!(QA>=(Me=ts(gA,Me=es(Me,uA)))&&WA-QA>=GA)){FA=0;break e}for(qe=0;qe=gA;)K-=gA,++H<=c&&!(H%16)&&_s(I,H);QAc?c:H);break e}!FA||uA.h&&QA=x&&(a.Cc=1),b=1}if(!b)return null;if(a.Cc&&((b=a.ga)!=null&&(b.mc=null),a.ga=null,0>23,j[H+4*I+1]=j[H+4*I+1]*xA>>23,j[H+4*I+2]=j[H+4*I+2]*xA>>23)}c+=x}}function mn(a,c,v,b,U){for(;0>4)*H>>16;a[c+2*x+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[c+2*x+1]=240&K|j}c+=U}}function Rn(a,c,v,b,U,x,I,j){var H,K,uA=255;for(K=0;K>8}function Ls(){bf=En,e1=mn,t1=Rn,r1=Ga}function Va(a,c,v){J[a]=function(b,U,x,I,j,H,K,uA,xA,G,gA,FA,GA,QA,WA,YA,fe){var ne,qe=fe-1>>1,Me=j[H+0]|K[uA+0]<<16,Ot=xA[G+0]|gA[FA+0]<<16;t(b!=null);var We=3*Me+Ot+131074>>2;for(c(b[U+0],255&We,We>>16,GA,QA),x!=null&&(We=3*Ot+Me+131074>>2,c(x[I+0],255&We,We>>16,WA,YA)),ne=1;ne<=qe;++ne){var $t=j[H+ne]|K[uA+ne]<<16,Qn=xA[G+ne]|gA[FA+ne]<<16,Tt=Me+$t+Ot+Qn+524296,Xe=Tt+2*($t+Ot)>>3;We=Xe+Me>>1,Me=(Tt=Tt+2*(Me+Qn)>>3)+$t>>1,c(b[U+2*ne-1],255&We,We>>16,GA,QA+(2*ne-1)*v),c(b[U+2*ne-0],255&Me,Me>>16,GA,QA+(2*ne-0)*v),x!=null&&(We=Tt+Ot>>1,Me=Xe+Qn>>1,c(x[I+2*ne-1],255&We,We>>16,WA,YA+(2*ne-1)*v),c(x[I+2*ne+0],255&Me,Me>>16,WA,YA+(2*ne+0)*v)),Me=$t,Ot=Qn}1&fe||(We=3*Me+Ot+131074>>2,c(b[U+fe-1],255&We,We>>16,GA,QA+(fe-1)*v),x!=null&&(We=3*Ot+Me+131074>>2,c(x[I+fe-1],255&We,We>>16,WA,YA+(fe-1)*v)))}}function cf(){ls[Kd]=hB,ls[Gd]=d1,ls[l1]=dB,ls[Vd]=p1,ls[zd]=g1,ls[lg]=B1,ls[u1]=pB,ls[ug]=d1,ls[cg]=p1,ls[Wd]=g1,ls[fg]=B1}function Mu(a){return a&~gB?0>a?0:255:a>>v1}function Do(a,c){return Mu((19077*a>>8)+(26149*c>>8)-14234)}function Ol(a,c,v){return Mu((19077*a>>8)-(6419*c>>8)-(13320*v>>8)+8708)}function Tl(a,c){return Mu((19077*a>>8)+(33050*c>>8)-17685)}function Oo(a,c,v,b,U){b[U+0]=Do(a,v),b[U+1]=Ol(a,c,v),b[U+2]=Tl(a,c)}function kn(a,c,v,b,U){b[U+0]=Tl(a,c),b[U+1]=Ol(a,c,v),b[U+2]=Do(a,v)}function Pl(a,c,v,b,U){var x=Ol(a,c,v);c=x<<3&224|Tl(a,c)>>3,b[U+0]=248&Do(a,v)|x>>5,b[U+1]=c}function Ml(a,c,v,b,U){var x=240&Tl(a,c)|15;b[U+0]=240&Do(a,v)|Ol(a,c,v)>>4,b[U+1]=x}function ff(a,c,v,b,U){b[U+0]=255,Oo(a,c,v,b,U+1)}function hf(a,c,v,b,U){kn(a,c,v,b,U),b[U+3]=255}function ui(a,c,v,b,U){Oo(a,c,v,b,U),b[U+3]=255}function za(a,c,v){J[a]=function(b,U,x,I,j,H,K,uA,xA){for(var G=uA+(-2&xA)*v;uA!=G;)c(b[U+0],x[I+0],j[H+0],K,uA),c(b[U+1],x[I+0],j[H+0],K,uA+v),U+=2,++I,++H,uA+=2*v;1&xA&&c(b[U+0],x[I+0],j[H+0],K,uA)}}function Ru(a,c,v){return v==0?a==0?c==0?6:5:c==0?4:0:v}function Pd(a,c,v,b,U){switch(a>>>30){case 3:Gl(c,v,b,U,0);break;case 2:as(c,v,b,U);break;case 1:yr(c,v,b,U)}}function ss(a,c){var v,b,U=c.M,x=c.Nb,I=a.oc,j=a.pc+40,H=a.oc,K=a.pc+584,uA=a.oc,xA=a.pc+600;for(v=0;16>v;++v)I[j+32*v-1]=129;for(v=0;8>v;++v)H[K+32*v-1]=129,uA[xA+32*v-1]=129;for(0v;++v)r(I,j+32*v-4,I,j+32*v+12,4);for(v=-1;8>v;++v)r(H,K+32*v-4,H,K+32*v+4,4),r(uA,xA+32*v-4,uA,xA+32*v+4,4)}var gA=a.Gd,FA=a.Hd+b,GA=G.ad,QA=G.Hc;if(0=a.za-1?n(WA,YA,gA[FA].y[15],4):r(WA,YA,gA[FA+1].y,0,4)),v=0;4>v;v++)WA[YA+128+v]=WA[YA+256+v]=WA[YA+384+v]=WA[YA+0+v];for(v=0;16>v;++v,QA<<=2)WA=I,YA=j+m1[v],Ss[G.Ob[v]](WA,YA),Pd(QA,GA,16*+v,WA,YA)}else if(WA=Ru(b,U,G.Ob[0]),Vo[WA](I,j),QA!=0)for(v=0;16>v;++v,QA<<=2)Pd(QA,GA,16*+v,I,j+m1[v]);for(v=G.Gc,WA=Ru(b,U,G.Dd),Ja[WA](H,K),Ja[WA](uA,xA),QA=GA,WA=H,YA=K,255&(G=0|v)&&(170&G?ha(QA,256,WA,YA):xr(QA,256,WA,YA)),G=uA,QA=xA,255&(v>>=8)&&(170&v?ha(GA,320,G,QA):xr(GA,320,G,QA)),Uv;++v)r(gA,FA+v*a.R,I,j+32*v,16);for(v=0;8>v;++v)r(GA,G+v*a.B,H,K+32*v,8),r(QA,WA+v*a.B,uA,xA+32*v,8)}}function Rl(a,c,v,b,U,x,I,j,H){var K=[0],uA=[0],xA=0,G=H!=null?H.kd:0,gA=H!=null?H:new re;if(a==null||12>v)return 7;gA.data=a,gA.w=c,gA.ha=v,c=[c],v=[v],gA.gb=[gA.gb];A:{var FA=c,GA=v,QA=gA.gb;if(t(a!=null),t(GA!=null),t(QA!=null),QA[0]=0,12<=GA[0]&&!e(a,FA[0],"RIFF")){if(e(a,FA[0]+8,"WEBP")){QA=3;break A}var WA=tt(a,FA[0]+4);if(12>WA||4294967286GA[0]-8){QA=7;break A}QA[0]=WA,FA[0]+=12,GA[0]-=12}QA=0}if(QA!=0)return QA;for(WA=0QA[0])QA=7;else{if(!e(YA,GA[0],"VP8X")){if(tt(YA,GA[0]+4)!=10){QA=3;break A}if(18>QA[0]){QA=7;break A}var Me=tt(YA,GA[0]+8),Ot=1+Ue(YA,GA[0]+12);if(2147483648<=Ot*(YA=1+Ue(YA,GA[0]+15))){QA=3;break A}qe!=null&&(qe[0]=Me),fe!=null&&(fe[0]=Ot),ne!=null&&(ne[0]=YA),GA[0]+=18,QA[0]-=18,We[0]=1}QA=0}}if(xA=xA[0],FA=FA[0],QA!=0)return QA;if(GA=!!(2&FA),!WA&&xA)return 3;if(x!=null&&(x[0]=!!(16&FA)),I!=null&&(I[0]=GA),j!=null&&(j[0]=0),I=K[0],FA=uA[0],xA&&GA&&H==null){QA=0;break}if(4>v){QA=7;break}if(WA&&xA||!WA&&!xA&&!e(a,c[0],"ALPH")){v=[v],gA.na=[gA.na],gA.P=[gA.P],gA.Sa=[gA.Sa];A:{Me=a,QA=c,WA=v;var We=gA.gb;fe=gA.na,ne=gA.P,qe=gA.Sa,Ot=22,t(Me!=null),t(WA!=null),YA=QA[0];var $t=WA[0];for(t(fe!=null),t(qe!=null),fe[0]=null,ne[0]=null,qe[0]=0;;){if(QA[0]=YA,WA[0]=$t,8>$t){QA=7;break A}var Qn=tt(Me,YA+4);if(4294967286We){QA=3;break A}if(!e(Me,YA,"VP8 ")||!e(Me,YA,"VP8L")){QA=0;break A}if($t[0]WA[0])QA=7;else{if(YA||Ot){if(We=tt(We,Me+4),12<=fe&&We>fe-12){QA=3;break A}if(G&&We>WA[0]-8){QA=7;break A}ne[0]=We,QA[0]+=8,WA[0]-=8,qe[0]=Ot}else qe[0]=5<=WA[0]&&We[Me+0]==47&&!(We[Me+4]>>5),ne[0]=WA[0];QA=0}if(v=v[0],gA.Ja=gA.Ja[0],gA.xa=gA.xa[0],c=c[0],QA!=0)break;if(4294967286v){QA=7;break}j=I,G=FA,GA=x,a==null||5>v?a=0:5<=v&&a[c+0]==47&&!(a[c+4]>>5)?(WA=[0],We=[0],fe=[0],RA(ne=new z,a,c,v),Da(ne,WA,We,fe)?(j!=null&&(j[0]=WA[0]),G!=null&&(G[0]=We[0]),GA!=null&&(GA[0]=fe[0]),a=1):a=0):a=0}else{if(10>v){QA=7;break}j=FA,a==null||10>v||!_d(a,c+3,v-3)?a=0:(G=a[c+0]|a[c+1]<<8|a[c+2]<<16,GA=16383&(a[c+7]<<8|a[c+6]),a=16383&(a[c+9]<<8|a[c+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=gA.Ja||!GA||!a?a=0:(I&&(I[0]=GA),j&&(j[0]=a),a=1))}if(!a||(I=I[0],FA=FA[0],xA&&(K[0]!=I||uA[0]!=FA)))return 3;H!=null&&(H[0]=gA,H.offset=c-H.w,t(4294967286>c-H.w),t(H.offset==H.ha-v));break}return QA==0||QA==7&&xA&&H==null?(x!=null&&(x[0]|=gA.na!=null&&0v||(x&=-2,I&=-2),0>x||0>I||0>=j||0>=H||x+j>b||I+H>U))return 0;if(c.v=x,c.j=I,c.va=x+j,c.o=I+H,c.U=j,c.T=H,c.da=a!=null&&0a.S){var c=a.f.RGBA;c.fb+=(a.height-1)*c.A,c.A=-c.A}else c=a.f.kb,a=a.height,c.O+=(a-1)*c.fa,c.fa=-c.fa,c.N+=(a-1>>1)*c.Ab,c.Ab=-c.Ab,c.W+=(a-1>>1)*c.Db,c.Db=-c.Db,c.F!=null&&(c.J+=(a-1)*c.lb,c.lb=-c.lb);return 0}function To(a,c,v,b){if(b==null||0>=a||0>=c)return 2;if(v!=null){if(v.Da){var U=v.cd,x=v.bd,I=-2&v.v,j=-2&v.j;if(0>I||0>j||0>=U||0>=x||I+U>a||j+x>c)return 2;a=U,c=x}if(v.da){if(!ut(a,c,U=[v.ib],x=[v.hb]))return 2;a=U[0],c=x[0]}}b.width=a,b.height=c;A:{var H=b.width,K=b.height;if(a=b.S,0>=H||0>=K||!(a>=Kd&&13>a))a=2;else{if(0>=b.Rd&&b.sd==null){I=x=U=c=0;var uA=(j=H*y1[a])*K;if(11>a||(x=(K+1)/2*(c=(H+1)/2),a==12&&(I=(U=H)*K)),(K=s(uA+2*x+I))==null){a=1;break A}b.sd=K,11>a?((H=b.f.RGBA).eb=K,H.fb=0,H.A=j,H.size=uA):((H=b.f.kb).y=K,H.O=0,H.fa=j,H.Fd=uA,H.f=K,H.N=0+uA,H.Ab=c,H.Cd=x,H.ea=K,H.W=0+uA+x,H.Db=c,H.Ed=x,a==12&&(H.F=K,H.J=0+uA+2*x),H.Tc=I,H.lb=U)}if(c=1,U=b.S,x=b.width,I=b.height,U>=Kd&&13>U)if(11>U)a=b.f.RGBA,c&=(j=Math.abs(a.A))*(I-1)+x<=a.size,c&=j>=x*y1[U],c&=a.eb!=null;else{a=b.f.kb,j=(x+1)/2,uA=(I+1)/2,H=Math.abs(a.fa),K=Math.abs(a.Ab);var xA=Math.abs(a.Db),G=Math.abs(a.lb),gA=G*(I-1)+x;c&=H*(I-1)+x<=a.Fd,c&=K*(uA-1)+j<=a.Cd,c=(c&=xA*(uA-1)+j<=a.Ed)&H>=x&K>=j&xA>=j,c&=a.y!=null,c&=a.f!=null,c&=a.ea!=null,U==12&&(c&=G>=x,c&=gA<=a.Tc,c&=a.F!=null)}else c=0;a=c?0:2}}return a!=0||v!=null&&v.fd&&(a=pf(b)),a}var kl=64,ji=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Hi=24,Po=32,Wa=8,Mo=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ke("Predictor0","PredictorAdd0"),J.Predictor0=function(){return 4278190080},J.Predictor1=function(a){return a},J.Predictor2=function(a,c,v){return c[v+0]},J.Predictor3=function(a,c,v){return c[v+1]},J.Predictor4=function(a,c,v){return c[v-1]},J.Predictor5=function(a,c,v){return nt(nt(a,c[v+1]),c[v+0])},J.Predictor6=function(a,c,v){return nt(a,c[v-1])},J.Predictor7=function(a,c,v){return nt(a,c[v+0])},J.Predictor8=function(a,c,v){return nt(c[v-1],c[v+0])},J.Predictor9=function(a,c,v){return nt(c[v+0],c[v+1])},J.Predictor10=function(a,c,v){return nt(nt(a,c[v-1]),nt(c[v+0],c[v+1]))},J.Predictor11=function(a,c,v){var b=c[v+0];return 0>=St(b>>24&255,a>>24&255,(c=c[v-1])>>24&255)+St(b>>16&255,a>>16&255,c>>16&255)+St(b>>8&255,a>>8&255,c>>8&255)+St(255&b,255&a,255&c)?b:a},J.Predictor12=function(a,c,v){var b=c[v+0];return(wr((a>>24&255)+(b>>24&255)-((c=c[v-1])>>24&255))<<24|wr((a>>16&255)+(b>>16&255)-(c>>16&255))<<16|wr((a>>8&255)+(b>>8&255)-(c>>8&255))<<8|wr((255&a)+(255&b)-(255&c)))>>>0},J.Predictor13=function(a,c,v){var b=c[v-1];return(Zt((a=nt(a,c[v+0]))>>24&255,b>>24&255)<<24|Zt(a>>16&255,b>>16&255)<<16|Zt(a>>8&255,b>>8&255)<<8|Zt(255&a,255&b))>>>0};var gf=J.PredictorAdd0;J.PredictorAdd1=qt,ke("Predictor2","PredictorAdd2"),ke("Predictor3","PredictorAdd3"),ke("Predictor4","PredictorAdd4"),ke("Predictor5","PredictorAdd5"),ke("Predictor6","PredictorAdd6"),ke("Predictor7","PredictorAdd7"),ke("Predictor8","PredictorAdd8"),ke("Predictor9","PredictorAdd9"),ke("Predictor10","PredictorAdd10"),ke("Predictor11","PredictorAdd11"),ke("Predictor12","PredictorAdd12"),ke("Predictor13","PredictorAdd13");var ku=J.PredictorAdd2;$e("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),$e("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var on,Md=J.ColorIndexInverseTransform,ca=J.MapARGB,fa=J.VP8LColorIndexInverseTransformAlpha,Bf=J.MapAlpha,vf=J.VP8LPredictorsAdd=[];vf.length=16,(J.VP8LPredictors=[]).length=16,(J.VP8LPredictorsAdd_C=[]).length=16,(J.VP8LPredictors_C=[]).length=16;var wf,mf,Ro,ko,Ko,Kl,Go,Gl,as,ha,yr,xr,ln,Un,Xa,yf,Ku,Rd,Jg,Zg,Yg,qg,$g,A1,bf,e1,t1,r1,n1=s(511),i1=s(2041),s1=s(225),a1=s(767),o1=0,og=i1,kd=s1,Di=a1,os=n1,Kd=0,Gd=1,l1=2,Vd=3,zd=4,lg=5,u1=6,ug=7,cg=8,Wd=9,fg=10,$1=[2,3,7],AB=[3,3,11],c1=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,hg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],dg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Cf=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],f1=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],uB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],cB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Vo=[],Ss=[],Ja=[],fB=1,h1=2,zo=[],ls=[];Va("UpsampleRgbLinePair",Oo,3),Va("UpsampleBgrLinePair",kn,3),Va("UpsampleRgbaLinePair",ui,4),Va("UpsampleBgraLinePair",hf,4),Va("UpsampleArgbLinePair",ff,4),Va("UpsampleRgba4444LinePair",Ml,2),Va("UpsampleRgb565LinePair",Pl,2);var hB=J.UpsampleRgbLinePair,dB=J.UpsampleBgrLinePair,d1=J.UpsampleRgbaLinePair,p1=J.UpsampleBgraLinePair,g1=J.UpsampleArgbLinePair,B1=J.UpsampleRgba4444LinePair,pB=J.UpsampleRgb565LinePair,Xd=16,Jd=1<b.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),b.ca.f.kb.F!=null&&Ls()),b.Pb&&0(H=v.Md)?0:100K;++K)12>(xA=U.pb[K]).lc&&(xA.ia=H*CB[0>xA.lc?0:xA.lc]>>3),uA|=xA.ia;uA&&(alert("todo:VP8InitRandom"),U.ia=1)}U.Ga=v.Id,100U.Ga&&(U.Ga=0)}(function(G,gA){if(G==null)return 0;if(gA==null)return vn(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!la(G,gA))return 0;if(t(G.cb),gA.ac==null||gA.ac(gA)){gA.ob&&(G.L=0);var FA=Zd[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=gA.v-FA>>4,G.zb=gA.j-FA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=gA.o+15+FA>>4,G.Hb=gA.va+15+FA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0FA;++FA){var QA;if(G.Qa.Cb){var WA=G.Qa.Lb[FA];G.Qa.Fb||(WA+=GA.Tb)}else WA=GA.Tb;for(QA=0;1>=QA;++QA){var YA=G.gd[FA][QA],fe=WA;if(GA.Pc&&(fe+=GA.vd[0],QA&&(fe+=GA.od[0])),0<(fe=0>fe?0:63>2:ne>>1)>9-GA.wb&&(ne=9-GA.wb),1>ne&&(ne=1),YA.dd=ne,YA.tc=2*fe+ne,YA.ld=40<=fe?2:15<=fe?1:0}else YA.tc=0;YA.La=QA}}}FA=0}else vn(G,6,"Frame setup failed"),FA=G.a;if(FA=FA==0){if(FA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){FA=vn(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,fe=G.Fc,G.Ac=YA,G.Bc=fe,fe+=GA,G.Gd=h(qe,Ud),G.Hd=0,G.rb=h(Me+1,Af),G.sb=1,G.wa=Ot?h(Ot,ns):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=FA;++FA)n1[255+FA]=0>FA?-FA:FA;for(FA=-1020;1020>=FA;++FA)i1[1020+FA]=-128>FA?-128:127=FA;++FA)s1[112+FA]=-16>FA?-16:15=FA;++FA)a1[255+FA]=0>FA?0:255tr;++tr){var _n,lr=ci[0+tr];for(_n=0;4>_n;++_n){lr=lB[Or[Kn+_n]][lr];for(var Fr=f1[qA(jt,lr[0])];0>3;for(Fr=0;256>Fr;Fr+=16)tr[Ai+Fr]=Fi}Gn=1,Ns=Kn[0]}var Ir=15&jt.la,xn=15&fi.la;for(Fr=0;4>Fr;++Fr){var Oi=1&xn;for(Fi=Er=0;4>Fi;++Fi)Ir=Ir>>1|(Oi=(cn=Cf(Or,Ns,cn=Oi+(1&Ir),en.Sc,Gn,tr,Ai))>Gn)<<7,Er=Er<<2|(3>=4,xn=xn>>1|Oi<<7,_n=(_n<<8|Er)>>>0}for(Ns=Ir,Gn=xn>>4,tn=0;4>tn;tn+=2){for(Er=0,Ir=jt.la>>4+tn,xn=fi.la>>4+tn,Fr=0;2>Fr;++Fr){for(Oi=1&xn,Fi=0;2>Fi;++Fi)cn=Oi+(1&Ir),Ir=Ir>>1|(Oi=0<(cn=Cf(Or,Kn[2],cn,en.Qc,0,tr,Ai)))<<3,Er=Er<<2|(3>=2,xn=xn>>1|Oi<<5}lr|=Er<<4*tn,Ns|=Ir<<4<=Xe.zb&&Xe.M<=Xe.Va,Xe.Aa==0)e:{if(Tt.M=Xe.M,Tt.uc=jt,ss(Xe,Tt),un=1,Tt=(Er=Xe.D).Nb,jt=(lr=Zd[Xe.L])*Xe.R,Or=lr/2*Xe.B,Fr=16*Tt*Xe.R,Fi=8*Tt*Xe.B,Kn=Xe.sa,ci=Xe.ta-jt+Fr,en=Xe.qa,tr=Xe.ra-Or+Fi,Ai=Xe.Ha,fi=Xe.Ia-Or+Fi,xn=(Ir=Er.M)==0,_n=Ir>=Xe.Va-1,Xe.Aa==2&&ss(Xe,Er),Er.uc)for(Oi=(cn=Xe).D.M,t(cn.D.uc),Er=cn.yb;Erye.o&&(Ir=ye.o),ye.F=null,ye.J=null,Xe.Fa!=null&&0>1),ye.W+=Xe.B*(lr>>1),ye.F!=null&&(ye.J+=ye.width*lr)),Er>1,ye.W+=ye.v>>1,ye.F!=null&&(ye.J+=ye.v),ye.ka=Er-ye.j,ye.U=ye.va-ye.v,ye.T=Ir-Er,un=ye.put(ye))}Tt+1!=Xe.Ic||_n||(r(Xe.sa,Xe.ta-jt,Kn,ci+16*Xe.R,jt),r(Xe.qa,Xe.ra-Or,en,tr+8*Xe.B,Or),r(Xe.Ha,Xe.Ia-Or,Ai,fi+8*Xe.B,Or))}if(!un)return vn($t,6,"Output aborted.")}return 1}(G,gA)),gA.bc!=null&&gA.bc(gA),FA&=1}return FA?(G.cb=0,FA):0})(a,b)||(c=a.a)}}else c=a.a}c==0&&I.Oa!=null&&I.Oa.fd&&(c=pf(I.ba))}I=c}x=I!=0?null:11>x?j.f.RGBA.eb:j.f.kb.y}else x=null;return x};var y1=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(J,CA){for(var S="",R=0;R<4;R++)S+=String.fromCharCode(J[CA++]);return S}function m(J,CA){return J[CA+0]|J[CA+1]<<8}function F(J,CA){return(J[CA+0]|J[CA+1]<<8|J[CA+2]<<16)>>>0}function _(J,CA){return(J[CA+0]|J[CA+1]<<8|J[CA+2]<<16|J[CA+3]<<24)>>>0}new d;var w=[0],P=[0],D=[],M=new d,N=A,iA=function(J,CA){var S={},R=0,nA=!1,tA=0,SA=0;if(S.frames=[],!function(L,z){for(var AA=0;AA<4;AA++)if(L[z+AA]!="RIFF".charCodeAt(AA))return!0;return!1}(J,CA)){for(_(J,CA+=4),CA+=8;CA>1&1}jA!="ANMF"&&(CA+=_A)}return S}}(N,0);iA.response=N,iA.rgbaoutput=!0,iA.dataurl=!1;var eA=iA.header?iA.header:null,W=iA.frames?iA.frames:null;if(eA){eA.loop_counter=eA.loop_count,w=[eA.canvas_height],P=[eA.canvas_width];for(var IA=0;IA=2?k[1]:xe[0],xe[2]=k.length>=3?k[2]:xe[0],xe[3]=k.length>=4?k[3]:xe[1]),g.margin=xe}});var OA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return OA},set:function(k){OA=k}});var MA=0;Object.defineProperty(this,"lastBreak",{get:function(){return MA},set:function(k){MA=k}});var qA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return qA},set:function(k){qA=k}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(k){k instanceof m&&(g=k)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(k){g.path=k}});var he=[];Object.defineProperty(this,"ctxStack",{get:function(){return he},set:function(k){he=k}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(k){var xe;xe=_(k),this.ctx.fillStyle=xe.style,this.ctx.isFillTransparent=xe.a===0,this.ctx.fillOpacity=xe.a,this.pdf.setFillColor(xe.r,xe.g,xe.b,{a:xe.a}),this.pdf.setTextColor(xe.r,xe.g,xe.b,{a:xe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(k){var xe=_(k);this.ctx.strokeStyle=xe.style,this.ctx.isStrokeTransparent=xe.a===0,this.ctx.strokeOpacity=xe.a,xe.a===0?this.pdf.setDrawColor(255,255,255):(xe.a,this.pdf.setDrawColor(xe.r,xe.g,xe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(k){["butt","round","square"].indexOf(k)!==-1&&(this.ctx.lineCap=k,this.pdf.setLineCap(k))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(k){isNaN(k)||(this.ctx.lineWidth=k,this.pdf.setLineWidth(k))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(k){["bevel","round","miter"].indexOf(k)!==-1&&(this.ctx.lineJoin=k,this.pdf.setLineJoin(k))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(k){isNaN(k)||(this.ctx.miterLimit=k,this.pdf.setMiterLimit(k))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(k){this.ctx.textBaseline=k}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(k){["right","end","center","left","start"].indexOf(k)!==-1&&(this.ctx.textAlign=k)}});var _e=null,Ue=null,tt=null;Object.defineProperty(this,"fontFaces",{get:function(){return tt},set:function(k){_e=null,Ue=null,tt=k}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(k){var xe;if(this.ctx.font=k,(xe=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(k))!==null){var Rt=xe[1];xe[2];var ut=xe[3],ce=xe[4];xe[5];var ct=xe[6],ke=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ce)[2];ce=Math.floor(ke==="px"?parseFloat(ce)*this.pdf.internal.scaleFactor:ke==="em"?parseFloat(ce)*this.pdf.getFontSize():parseFloat(ce)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ce);var ot=function($e){var an,ar,Gt=[],Vt=$e.trim();if(Vt==="")return Kp;if(Vt in ea)return[ea[Vt]];for(;Vt!=="";){switch(ar=null,an=(Vt=ta(Vt)).charAt(0)){case'"':case"'":ar=Fs(Vt.substring(1),an);break;default:ar=No(Vt)}if(ar===null||(Gt.push(ar[0]),(Vt=ta(ar[1]))!==""&&Vt.charAt(0)!==","))return Kp;Vt=Vt.replace(/^,/,"")}return Gt}(ct);if(this.fontFaces){var nt=function($e,an){var ar=$e.getFontList(),Gt=JSON.stringify(ar);if(_e===null||Ue!==Gt){var Vt=function(Rr){var it=[];return Object.keys(Rr).forEach(function(Nr){Rr[Nr].forEach(function(wt){var Nt=null;switch(wt){case"bold":Nt={family:Nr,weight:"bold"};break;case"italic":Nt={family:Nr,style:"italic"};break;case"bolditalic":Nt={family:Nr,weight:"bold",style:"italic"};break;case"":case"normal":Nt={family:Nr}}Nt!==null&&(Nt.ref={name:Nr,style:wt},it.push(Nt))})}),it}(ar);_e=function(Rr){for(var it={},Nr=0;Nr=700||Rt==="bold")&&(St="bold"),Rt==="italic"&&(St+="italic"),St.length===0&&(St="normal");for(var qt="",Yt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ze=0;Ze=2*Math.PI&&(aA=0,vA=2*Math.PI),this.path.push({type:"arc",x:L,y:z,radius:AA,startAngle:aA,endAngle:vA,counterclockwise:EA})},F.prototype.arcTo=function(L,z,AA,aA,vA){throw new Error("arcTo not implemented.")},F.prototype.rect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,z),this.lineTo(L+AA,z),this.lineTo(L+AA,z+aA),this.lineTo(L,z+aA),this.lineTo(L,z),this.lineTo(L+AA,z),this.lineTo(L,z)},F.prototype.fillRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!w.call(this)){var vA={};this.lineCap!=="butt"&&(vA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(vA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,z,AA,aA),this.fill(),vA.hasOwnProperty("lineCap")&&(this.lineCap=vA.lineCap),vA.hasOwnProperty("lineJoin")&&(this.lineJoin=vA.lineJoin)}},F.prototype.strokeRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");P.call(this)||(this.beginPath(),this.rect(L,z,AA,aA),this.stroke())},F.prototype.clearRect=function(L,z,AA,aA){if(isNaN(L)||isNaN(z)||isNaN(AA)||isNaN(aA))throw Cr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,z,AA,aA))},F.prototype.save=function(L){L=typeof L!="boolean"||L;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,AA=0;AA0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};F.prototype.drawImage=function(L,z,AA,aA,vA,EA,OA,MA,qA){var he=this.pdf.getImageProperties(L),_e=1,Ue=1,tt=1,k=1;aA!==void 0&&MA!==void 0&&(tt=MA/aA,k=qA/vA,_e=he.width/aA*MA/aA,Ue=he.height/vA*qA/vA),EA===void 0&&(EA=z,OA=AA,z=0,AA=0),aA!==void 0&&MA===void 0&&(MA=aA,qA=vA),aA===void 0&&MA===void 0&&(MA=he.width,qA=he.height);var xe=this.ctx.transform.decompose(),Rt=_A(xe.rotate.shx),ut=new d,ce=(ut=(ut=(ut=ut.multiply(xe.translate)).multiply(xe.skew)).multiply(xe.scale)).applyToRectangle(new f(EA-z*tt,OA-AA*k,aA*_e,vA*Ue));if(this.autoPaging){for(var ct,ke=M.call(this,ce),ot=[],nt=0;ntwr||Stce||ke0)){for(;qA>=0;qA--)if(vA[qA-1].close!==!0&&vA[qA-1].begin!==!0){vA[qA-1].deltas.push(AA),vA[qA-1].abs.push(MA);break}}break;case"bct":AA=[MA.x1-EA[OA-1].x,MA.y1-EA[OA-1].y,MA.x2-EA[OA-1].x,MA.y2-EA[OA-1].y,MA.x-EA[OA-1].x,MA.y-EA[OA-1].y],vA[vA.length-1].deltas.push(AA);break;case"qct":var he=EA[OA-1].x+2/3*(MA.x1-EA[OA-1].x),_e=EA[OA-1].y+2/3*(MA.y1-EA[OA-1].y),Ue=MA.x+2/3*(MA.x1-MA.x),tt=MA.y+2/3*(MA.y1-MA.y),k=MA.x,xe=MA.y;AA=[he-EA[OA-1].x,_e-EA[OA-1].y,Ue-EA[OA-1].x,tt-EA[OA-1].y,k-EA[OA-1].x,xe-EA[OA-1].y],vA[vA.length-1].deltas.push(AA);break;case"arc":vA.push({deltas:[],abs:[],arc:!0}),Array.isArray(vA[vA.length-1].abs)&&vA[vA.length-1].abs.push(MA)}}aA=z?null:L==="stroke"?"stroke":"fill";for(var Rt=!1,ut=0;ut=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale);var Ht=this.autoPaging!=="text";if(Ht||Ze.y+Ze.h<=nt){if(Ht||Ze.y>=ke&&Ze.x<=Zt){var $e=Ht?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||Zt-Ze.x)[0],an=iA([JSON.parse(JSON.stringify(Ue))],this.posX+this.margin[3],-qt+ke+this.ctx.prevPageLastElemOffset)[0],ar=Ht&&(ct>ut||ct=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)}}else L.scale>=.01&&(aA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(aA*L.scale),vA=this.lineWidth,this.lineWidth=vA*L.scale),this.pdf.text(L.text,qA.x+this.posX,qA.y+this.posY,{angle:L.angle,align:z,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(aA),this.lineWidth=vA)},nA=function(L,z,AA,aA){AA=AA||0,aA=aA||0,this.pdf.internal.out(e(L+AA)+" "+r(z+aA)+" l")},tA=function(L,z,AA){return this.pdf.lines(L,z,AA,null,null)},SA=function(L,z,AA,aA,vA,EA,OA,MA){this.pdf.internal.out([t(n(AA+L)),t(s(aA+z)),t(n(vA+L)),t(s(EA+z)),t(n(OA+L)),t(s(MA+z)),"c"].join(" "))},jA=function(L,z,AA,aA){for(var vA=2*Math.PI,EA=Math.PI/2;z>AA;)z-=vA;var OA=Math.abs(AA-z);OA1e-5;){var _e=he+qA*Math.min(OA,EA);MA.push(PA.call(this,L,he,_e)),OA-=Math.abs(_e-he),he=_e}return MA},PA=function(L,z,AA){var aA=(AA-z)/2,vA=L*Math.cos(aA),EA=L*Math.sin(aA),OA=vA,MA=-EA,qA=OA*OA+MA*MA,he=qA+OA*vA+MA*EA,_e=4/3*(Math.sqrt(2*qA*he)-he)/(OA*EA-MA*vA),Ue=OA-_e*MA,tt=MA+_e*OA,k=Ue,xe=-tt,Rt=aA+z,ut=Math.cos(Rt),ce=Math.sin(Rt);return{x1:L*Math.cos(z),y1:L*Math.sin(z),x2:Ue*ut-tt*ce,y2:Ue*ce+tt*ut,x3:k*ut-xe*ce,y3:k*ce+xe*ut,x4:L*Math.cos(AA),y4:L*Math.sin(AA)}},_A=function(L){return 180*L/Math.PI},RA=function(L,z,AA,aA,vA,EA){var OA=L+.5*(AA-L),MA=z+.5*(aA-z),qA=vA+.5*(AA-vA),he=EA+.5*(aA-EA),_e=Math.min(L,vA,OA,qA),Ue=Math.max(L,vA,OA,qA),tt=Math.min(z,EA,MA,he),k=Math.max(z,EA,MA,he);return new f(_e,tt,Ue-_e,k-tt)},de=function(L,z,AA,aA,vA,EA,OA,MA){var qA,he,_e,Ue,tt,k,xe,Rt,ut,ce,ct,ke,ot,nt,wr=AA-L,Zt=aA-z,St=vA-AA,qt=EA-aA,Yt=OA-vA,Ze=MA-EA;for(he=0;he<41;he++)ut=(xe=(_e=L+(qA=he/40)*wr)+qA*((tt=AA+qA*St)-_e))+qA*(tt+qA*(vA+qA*Yt-tt)-xe),ce=(Rt=(Ue=z+qA*Zt)+qA*((k=aA+qA*qt)-Ue))+qA*(k+qA*(EA+qA*Ze-k)-Rt),he==0?(ct=ut,ke=ce,ot=ut,nt=ce):(ct=Math.min(ct,ut),ke=Math.min(ke,ce),ot=Math.max(ot,ut),nt=Math.max(nt,ce));return new f(Math.round(ct),Math.round(ke),Math.round(ot-ct),Math.round(nt-ke))},te=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,z,AA=(L=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:z}));this.prevLineDash!==AA&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=AA)}}})(ze.API),function(A){var t=function(h){var f,d,g,m,F,_,w,P,D,M;for(/[^\x00-\xFF]/.test(h),d=[],g=0,m=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;m>g;g+=4)(F=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(_=(F=((F=((F=((F=(F-(M=F%85))/85)-(D=F%85))/85)-(P=F%85))/85)-(w=F%85))/85)%85,d.push(_+33,w+33,P+33,D+33,M+33)):d.push(122);return function(N,iA){for(var eA=iA;eA>0;eA--)N.pop()}(d,f.length),String.fromCharCode.apply(String,d)+"~>"},e=function(h){var f,d,g,m,F,_=String,w="length",P=255,D="charCodeAt",M="slice",N="replace";for(h[M](-2),h=h[M](0,-2)[N](/\s/g,"")[N]("z","!!!!!"),g=[],m=0,F=(h+=f="uuuuu"[M](h[w]%5||5))[w];F>m;m+=5)d=52200625*(h[D](m)-33)+614125*(h[D](m+1)-33)+7225*(h[D](m+2)-33)+85*(h[D](m+3)-33)+(h[D](m+4)-33),g.push(P&d>>24,P&d>>16,P&d>>8,P&d);return function(iA,eA){for(var W=eA;W>0;W--)iA.pop()}(g,f[w]),_.fromCharCode.apply(_,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var d="",g=0;gD&&(P=M,M=D,D=P);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",D>M&&(P=M,M=D,D=P)}return{width:M,height:D,unit:d,k:F,orientation:f}},A.html=function(f,d){(d=d||{}).callback=d.callback||function(){},d.html2canvas=d.html2canvas||{},d.html2canvas.canvas=d.html2canvas.canvas||this.canvas,d.jsPDF=d.jsPDF||this,d.fontFaces=d.fontFaces?d.fontFaces.map(Ci):null;var g=new h(d);return d.worker?g:g.from(f).doCallback()}}(ze.API),ze.API.addJS=function(A){return Ng=A,this.internal.events.subscribe("postPutResources",function(){ra=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ra+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Sg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ng+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ra!==void 0&&Sg!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var w=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+w+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var d=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+d.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in Ln&&Array.isArray(Ln.transparency)&&Ln.transparency.length>0){for(var Wi="",vi=0,Ji=Ln.transparency.length;vi>",Cn.content=M;var ar=Cn.objId+" 0 R";M="<>";else if(p.options.pageNumber)switch(M="<=0};r.__arabicParser__.arabicLetterHasIsolatedForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length>=1};var Re=r.__arabicParser__.arabicLetterHasFinalForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length>=2};r.__arabicParser__.arabicLetterHasInitialForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length>=3};var et=r.__arabicParser__.arabicLetterHasMedialForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length==4},Nt=r.__arabicParser__.resolveLigatures=function(Cn){var Pn=0,dn=s,yr="",ar=0;for(Pn=0;Pn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+l+" 0 R")})),this},function(r){var l=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(le){s=le}});var p=150;Object.defineProperty(this,"width",{get:function(){return p},set:function(le){p=isNaN(le)||Number.isInteger(le)===!1||le<0?150:le,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=p+1)}});var I=300;Object.defineProperty(this,"height",{get:function(){return I},set:function(le){I=isNaN(le)||Number.isInteger(le)===!1||le<0?300:le,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=I+1)}});var M=[];Object.defineProperty(this,"childNodes",{get:function(){return M},set:function(le){M=le}});var ve={};Object.defineProperty(this,"style",{get:function(){return ve},set:function(le){ve=le}}),Object.defineProperty(this,"parentNode",{})};l.prototype.getContext=function(s,p){var I;if((s=s||"2d")!=="2d")return null;for(I in p)this.pdf.context2d.hasOwnProperty(I)&&(this.pdf.context2d[I]=p[I]);return this.pdf.context2d._canvas=this,this.pdf.context2d},l.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},r.events.push(["initialized",function(){this.canvas=new l,this.canvas.pdf=this}])}(To.API),function(r){var l={left:0,top:0,bottom:0,right:0},s=!1,p=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},l),this.internal.__cell__.margins.width=this.getPageWidth(),I.call(this))},I=function(){this.internal.__cell__.lastCell=new M,this.internal.__cell__.pages=1},M=function(){var xe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return xe},set:function(Cn){xe=Cn}});var Re=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Re},set:function(Cn){Re=Cn}});var et=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return et},set:function(Cn){et=Cn}});var Nt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Nt},set:function(Cn){Nt=Cn}});var en=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return en},set:function(Cn){en=Cn}});var $e=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return $e},set:function(Cn){$e=Cn}});var Fn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Fn},set:function(Cn){Fn=Cn}}),this};M.prototype.clone=function(){return new M(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},M.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},r.setHeaderFunction=function(xe){return p.call(this),this.internal.__cell__.headerFunction=typeof xe=="function"?xe:void 0,this},r.getTextDimensions=function(xe,Re){p.call(this);var et=(Re=Re||{}).fontSize||this.getFontSize(),Nt=Re.font||this.getFont(),en=Re.scaleFactor||this.internal.scaleFactor,$e=0,Fn=0,Cn=0,Pn=this;if(!Array.isArray(xe)&&typeof xe!="string"){if(typeof xe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");xe=String(xe)}var dn=Re.maxWidth;dn>0?typeof xe=="string"?xe=this.splitTextToSize(xe,dn):Object.prototype.toString.call(xe)==="[object Array]"&&(xe=xe.reduce(function(ar,Wn){return ar.concat(Pn.splitTextToSize(Wn,dn))},[])):xe=Array.isArray(xe)?xe:[xe];for(var yr=0;yrthis.getPageHeight()?(this.cellAddPage(),xe.y=Nt.top,$e&&en&&(this.printHeaderRow(xe.lineNumber,!0),xe.y+=en[0].height)):xe.y=Re.y+Re.height||xe.y),xe.text[0]!==void 0&&(this.rect(xe.x,xe.y,xe.width,xe.height,s===!0?"FD":void 0),xe.align==="right"?this.text(xe.text,xe.x+xe.width-et,xe.y+et,{align:"right",baseline:"top"}):xe.align==="center"?this.text(xe.text,xe.x+xe.width/2,xe.y+et,{align:"center",baseline:"top",maxWidth:xe.width-et-et}):this.text(xe.text,xe.x+et,xe.y+et,{align:"left",baseline:"top",maxWidth:xe.width-et-et})),this.internal.__cell__.lastCell=xe,this};r.table=function(xe,Re,et,Nt,en){if(p.call(this),!et)throw new Error("No data for PDF table.");var $e,Fn,Cn,Pn,dn=[],yr=[],ar=[],Wn={},Ei={},sa=[],Ki=[],Ur=(en=en||{}).autoSize||!1,Xn=en.printHeaders!==!1,si=en.css&&en.css["font-size"]!==void 0?16*en.css["font-size"]:en.fontSize||12,An=en.margins||Object.assign({width:this.getPageWidth()},l),Ln=typeof en.padding=="number"?en.padding:3,wr=en.headerBackgroundColor||"#c8c8c8",hr=en.headerTextColor||"#000";if(I.call(this),this.internal.__cell__.printHeaders=Xn,this.internal.__cell__.margins=An,this.internal.__cell__.table_font_size=si,this.internal.__cell__.padding=Ln,this.internal.__cell__.headerBackgroundColor=wr,this.internal.__cell__.headerTextColor=hr,this.setFontSize(si),Nt==null)yr=dn=Object.keys(et[0]),ar=dn.map(function(){return"left"});else if(Array.isArray(Nt)&&(0,a.Z)(Nt[0])==="object")for(dn=Nt.map(function(As){return As.name}),yr=Nt.map(function(As){return As.prompt||As.name||""}),ar=Nt.map(function(As){return As.align||"left"}),$e=0;$e0&&this.setTableHeaderRow(en),this.setFont(void 0,"normal"),s=!1}}(To.API);var Hc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},md=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],nA=Ku(md),uA=[100,200,300,400,500,600,700,800,900],rf=Ku(uA);function UA(r){var l=r.family.replace(/"|'/g,"").toLowerCase(),s=function(M){return Hc[M=M||"normal"]?M:"normal"}(r.style),p=function(M){return M?typeof M=="number"?M>=100&&M<=900&&M%100==0?M:400:/^\d00$/.test(M)?parseInt(M):M==="bold"?700:400:400}(r.weight),I=function(M){return typeof nA[M=M||"normal"]=="number"?M:"normal"}(r.stretch);return{family:l,style:s,weight:p,stretch:I,src:r.src||[],ref:r.ref||{name:l,style:[I,s,p].join(" ")}}}function GA(r,l,s,p){var I;for(I=s;I>=0&&I=0&&I>>1)&255}return I}function Pt(r,l,s){var p=r.length,I=[];I[0]=4;for(var M=0;M>M&ve}function Ar(r,l,s,p){var I=s*p,M=Math.floor(I/8),ve=16-(I-8*M+p),le=(1<>8&255;Re.setUint8(et,en)}})(r,M,Or(r,M)&~(le<>7,ve=1<<1+(7&I);r[l++],r[l++];var le=null,xe=null;M&&(le=l,xe=ve,l+=3*ve);var Re=!0,et=[],Nt=0,en=null,$e=0,Fn=null;for(this.width=s,this.height=p;Re&&l=0))throw Error("Invalid block size");if(An===0)break;l+=An}break;case 249:if(r[l++]!==4||r[l+4]!==0)throw new Error("Invalid graphics extension block.");var Cn=r[l++];Nt=r[l++]|r[l++]<<8,en=r[l++],1&Cn||(en=null),$e=Cn>>2&7,l++;break;case 254:for(;;){if(!((An=r[l++])>=0))throw Error("Invalid block size");if(An===0)break;l+=An}break;default:throw new Error("Unknown graphic control label: 0x"+r[l-1].toString(16))}break;case 44:var Pn=r[l++]|r[l++]<<8,dn=r[l++]|r[l++]<<8,yr=r[l++]|r[l++]<<8,ar=r[l++]|r[l++]<<8,Wn=r[l++],Ei=Wn>>6&1,sa=1<<1+(7&Wn),Ki=le,Ur=xe,Xn=!1;Wn>>7&&(Xn=!0,Ki=l,Ur=sa,l+=3*sa);var si=l;for(l++;;){var An;if(!((An=r[l++])>=0))throw Error("Invalid block size");if(An===0)break;l+=An}et.push({x:Pn,y:dn,width:yr,height:ar,has_local_palette:Xn,palette_offset:Ki,palette_size:Ur,data_offset:si,data_length:l-si,transparent_index:en,interlaced:!!Ei,delay:Nt,disposal:$e});break;case 59:Re=!1;break;default:throw new Error("Unknown gif block: 0x"+r[l-1].toString(16))}this.numFrames=function(){return et.length},this.loopCount=function(){return Fn},this.frameInfo=function(Ln){if(Ln<0||Ln>=et.length)throw new Error("Frame index out of range.");return et[Ln]},this.decodeAndBlitFrameBGRA=function(Ln,wr){var hr=this.frameInfo(Ln),Bi=hr.width*hr.height,Hi=new Uint8Array(Bi);kr(r,hr.data_offset,Hi,Bi);var Wi=hr.palette_offset,vi=hr.transparent_index;vi===null&&(vi=256);var Ji=hr.width,As=s-Ji,Fa=Ji,on=4*(hr.y*s+hr.x),zn=4*((hr.y+hr.height)*s+hr.x),rr=on,Ir=4*As;hr.interlaced===!0&&(Ir+=4*s*7);for(var Zr=8,hi=0,Zi=Hi.length;hi=zn&&(Ir=4*As+4*s*(Zr-1),rr=on+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===vi)rr+=4;else{var ya=r[Wi+3*Yi],Ya=r[Wi+3*Yi+1],so=r[Wi+3*Yi+2];wr[rr++]=so,wr[rr++]=Ya,wr[rr++]=ya,wr[rr++]=255}--Fa}},this.decodeAndBlitFrameRGBA=function(Ln,wr){var hr=this.frameInfo(Ln),Bi=hr.width*hr.height,Hi=new Uint8Array(Bi);kr(r,hr.data_offset,Hi,Bi);var Wi=hr.palette_offset,vi=hr.transparent_index;vi===null&&(vi=256);var Ji=hr.width,As=s-Ji,Fa=Ji,on=4*(hr.y*s+hr.x),zn=4*((hr.y+hr.height)*s+hr.x),rr=on,Ir=4*As;hr.interlaced===!0&&(Ir+=4*s*7);for(var Zr=8,hi=0,Zi=Hi.length;hi=zn&&(Ir=4*As+4*s*(Zr-1),rr=on+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===vi)rr+=4;else{var ya=r[Wi+3*Yi],Ya=r[Wi+3*Yi+1],so=r[Wi+3*Yi+2];wr[rr++]=ya,wr[rr++]=Ya,wr[rr++]=so,wr[rr++]=255}--Fa}}}function kr(r,l,s,p){for(var I=r[l++],M=1<>=xe,et-=xe,Pn!==M){if(Pn===ve)break;for(var dn=PnM;)ar=Fn[ar]>>8,++yr;var Wn=ar;if(en+yr+(dn!==Pn?1:0)>p)return void zu.log("Warning, gif stream longer than expected.");s[en++]=Wn;var Ei=en+=yr;for(dn!==Pn&&(s[en++]=Wn),ar=dn;yr--;)ar=Fn[ar],s[--Ei]=255&ar,ar>>=8;Cn!==null&&le<4096&&(Fn[le++]=Cn<<8|Wn,le>=Re+1&&xe<12&&(++xe,Re=Re<<1|1)),Cn=Pn}else le=ve+1,Re=(1<<(xe=I+1))-1,Cn=null}return en!==p&&zu.log("Warning, gif stream shorter than expected."),s}function gi(r){var l,s,p,I,M,ve=Math.floor,le=new Array(64),xe=new Array(64),Re=new Array(64),et=new Array(64),Nt=new Array(65535),en=new Array(65535),$e=new Array(64),Fn=new Array(64),Cn=[],Pn=0,dn=7,yr=new Array(64),ar=new Array(64),Wn=new Array(64),Ei=new Array(256),sa=new Array(2048),Ki=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ur=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Xn=[0,1,2,3,4,5,6,7,8,9,10,11],si=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],An=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ln=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],wr=[0,1,2,3,4,5,6,7,8,9,10,11],hr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Bi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Hi(on,zn){for(var rr=0,Ir=0,Zr=new Array,hi=1;hi<=16;hi++){for(var Zi=1;Zi<=on[hi];Zi++)Zr[zn[Ir]]=[],Zr[zn[Ir]][0]=rr,Zr[zn[Ir]][1]=hi,Ir++,rr++;rr*=2}return Zr}function Wi(on){for(var zn=on[0],rr=on[1]-1;rr>=0;)zn&1<>8&255),vi(255&on)}function As(on,zn,rr,Ir,Zr){for(var hi,Zi=Zr[0],Yi=Zr[240],ya=function(ja,Il){var No,El,gl,rc,Mu,Au,ju,ku,Xo,mu,nl=0;for(Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+1],gl=ja[nl+2],rc=ja[nl+3],Mu=ja[nl+4],Au=ja[nl+5],ju=ja[nl+6];var Xc=No+(ku=ja[nl+7]),Vu=No-ku,Bu=El+ju,Su=El-ju,kc=gl+Au,vl=gl-Au,Bc=rc+Mu,kl=rc-Mu,du=Xc+Bc,Uc=Xc-Bc,Du=Bu+kc,Ll=Bu-kc;ja[nl]=du+Du,ja[nl+4]=du-Du;var ic=.707106781*(Ll+Uc);ja[nl+2]=Uc+ic,ja[nl+6]=Uc-ic;var yh=.382683433*((du=kl+vl)-(Ll=Su+Vu)),QA=.5411961*du+yh,$f=1.306562965*Ll+yh,Sf=.707106781*(Du=vl+Su),Rl=Vu+Sf,e0=Vu-Sf;ja[nl+5]=e0+QA,ja[nl+3]=e0-QA,ja[nl+1]=Rl+$f,ja[nl+7]=Rl-$f,nl+=8}for(nl=0,Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+8],gl=ja[nl+16],rc=ja[nl+24],Mu=ja[nl+32],Au=ja[nl+40],ju=ja[nl+48];var t0=No+(ku=ja[nl+56]),Ud=No-ku,Qd=El+ju,Zc=El-ju,CA=gl+Au,SA=gl-Au,bh=rc+Mu,k0=rc-Mu,af=t0+bh,If=t0-bh,sf=Qd+CA,of=Qd-CA;ja[nl]=af+sf,ja[nl+32]=af-sf;var jd=.707106781*(of+If);ja[nl+16]=If+jd,ja[nl+48]=If-jd;var Eh=.382683433*((af=k0+SA)-(of=Zc+Ud)),Ff=.5411961*af+Eh,wh=1.306562965*of+Eh,_h=.707106781*(sf=SA+Zc),$h=Ud+_h,eg=Ud-_h;ja[nl+40]=eg+Ff,ja[nl+24]=eg-Ff,ja[nl+8]=$h+wh,ja[nl+56]=$h-wh,nl++}for(Xo=0;Xo<64;++Xo)mu=ja[Xo]*Il[Xo],$e[Xo]=mu>0?mu+.5|0:mu-.5|0;return $e}(on,zn),Ya=0;Ya<64;++Ya)Fn[Ki[Ya]]=ya[Ya];var so=Fn[0]-rr;rr=Fn[0],so==0?Wi(Ir[0]):(Wi(Ir[en[hi=32767+so]]),Wi(Nt[hi]));for(var to=63;to>0&&Fn[to]==0;)to--;if(to==0)return Wi(Zi),rr;for(var Al,Rn=1;Rn<=to;){for(var oo=Rn;Fn[Rn]==0&&Rn<=to;)++Rn;var xu=Rn-oo;if(xu>=16){Al=xu>>4;for(var Sl=1;Sl<=Al;++Sl)Wi(Yi);xu&=15}hi=32767+Fn[Rn],Wi(Zr[(xu<<4)+en[hi]]),Wi(Nt[hi]),Rn++}return to!=63&&Wi(Zi),rr}function Fa(on){on=Math.min(Math.max(on,1),100),M!=on&&(function(zn){for(var rr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ir=0;Ir<64;Ir++){var Zr=ve((rr[Ir]*zn+50)/100);Zr=Math.min(Math.max(Zr,1),255),le[Ki[Ir]]=Zr}for(var hi=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Zi=0;Zi<64;Zi++){var Yi=ve((hi[Zi]*zn+50)/100);Yi=Math.min(Math.max(Yi,1),255),xe[Ki[Zi]]=Yi}for(var ya=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ya=0,so=0;so<8;so++)for(var to=0;to<8;to++)Re[Ya]=1/(le[Ki[Ya]]*ya[so]*ya[to]*8),et[Ya]=1/(xe[Ki[Ya]]*ya[so]*ya[to]*8),Ya++}(on<50?Math.floor(5e3/on):Math.floor(200-2*on)),M=on)}this.encode=function(on,zn){zn&&Fa(zn),Cn=new Array,Pn=0,dn=7,Ji(65496),Ji(65504),Ji(16),vi(74),vi(70),vi(73),vi(70),vi(0),vi(1),vi(1),vi(0),Ji(1),Ji(1),vi(0),vi(0),function(){Ji(65499),Ji(132),vi(0);for(var El=0;El<64;El++)vi(le[El]);vi(1);for(var gl=0;gl<64;gl++)vi(xe[gl])}(),function(El,gl){Ji(65472),Ji(17),vi(8),Ji(gl),Ji(El),vi(3),vi(1),vi(17),vi(0),vi(2),vi(17),vi(1),vi(3),vi(17),vi(1)}(on.width,on.height),function(){Ji(65476),Ji(418),vi(0);for(var El=0;El<16;El++)vi(Ur[El+1]);for(var gl=0;gl<=11;gl++)vi(Xn[gl]);vi(16);for(var rc=0;rc<16;rc++)vi(si[rc+1]);for(var Mu=0;Mu<=161;Mu++)vi(An[Mu]);vi(1);for(var Au=0;Au<16;Au++)vi(Ln[Au+1]);for(var ju=0;ju<=11;ju++)vi(wr[ju]);vi(17);for(var ku=0;ku<16;ku++)vi(hr[ku+1]);for(var Xo=0;Xo<=161;Xo++)vi(Bi[Xo])}(),Ji(65498),Ji(12),vi(3),vi(1),vi(0),vi(2),vi(17),vi(3),vi(17),vi(0),vi(63),vi(0);var rr=0,Ir=0,Zr=0;Pn=0,dn=7,this.encode.displayName="_encode_";for(var hi,Zi,Yi,ya,Ya,so,to,Al,Rn,oo=on.data,xu=on.width,Sl=on.height,ja=4*xu,Il=0;Il>3)*ja+(to=4*(7&Rn)),Il+Al>=Sl&&(so-=ja*(Il+1+Al-Sl)),hi+to>=ja&&(so-=hi+to-ja+4),Zi=oo[so++],Yi=oo[so++],ya=oo[so++],yr[Rn]=(sa[Zi]+sa[Yi+256|0]+sa[ya+512|0]>>16)-128,ar[Rn]=(sa[Zi+768|0]+sa[Yi+1024|0]+sa[ya+1280|0]>>16)-128,Wn[Rn]=(sa[Zi+1280|0]+sa[Yi+1536|0]+sa[ya+1792|0]>>16)-128;rr=As(yr,Re,rr,l,p),Ir=As(ar,et,Ir,s,I),Zr=As(Wn,et,Zr,s,I),hi+=32}Il+=8}if(dn>=0){var No=[];No[1]=dn+1,No[0]=(1<Ln;Ln++)if(Xn[si+Ln]!=An.charCodeAt(Ln))return!0;return!1}function p(Xn,si,An,Ln,wr){for(var hr=0;hrhr+1?[]:new si),!(Bi.length>>0;j&Ze;)Ze>>>=1;return Ze?(j&Ze-1)+Ze:j}function An(j,ae,Ze,lt,Kt){l(!(lt%Ze));do j[ae+(lt-=Ze)]=Kt;while(0=Kt),512>=Kt)var an=M(512);else if((an=M(Kt))==null)return 0;return function(sn,pn,wn,Mn,Nr,bi){var kn,Hr,li=pn,ia=1<kn;++kn){if(mi[kn]>1<(bu-=mi[kn]))return 0;for(;0=kn;++kn,Nr<<=1){if(Po+=bu<<=1,0>(bu-=mi[kn]))return 0;for(;0Ka&&!(0>=(ha-=mi[Ka]));)++Ka,ha<<=1;ia+=zo=1<<(ha=Ka-wn),sn[pn+(Ka=qo&La)].g=ha+wn,sn[pn+Ka].value=li-pn-Ka}Mn.g=kn-wn,Mn.value=bi[Hr++],An(sn,li+(qo>>wn),Nr,zo,Mn),qo=si(qo,kn)}}return Po!=2*ua[15]-1?0:ia}(j,ae,Ze,lt,Kt,an)}function wr(){this.value=this.g=0}function hr(){this.value=this.g=0}function Bi(){this.G=ve(5,wr),this.H=M(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ve(Rh,hr)}function Hi(j,ae,Ze,lt){l(j!=null),l(ae!=null),l(2147483648>lt),j.Ca=254,j.I=0,j.b=-8,j.Ka=0,j.oa=ae,j.pa=Ze,j.Jd=ae,j.Yc=Ze+lt,j.Zc=4<=lt?Ze+lt-4+1:Ze,Zi(j)}function Wi(j,ae){for(var Ze=0;0lt),j.Sb=lt,j.Ra=0,j.u=0,j.h=0,4>>=8,j.Ra+=j.oa[j.pa+j.bb]<>>0,++j.bb,j.u-=8;Ir(j)&&(j.h=1,j.u=0)}function Fa(j,ae){if(l(0<=ae),!j.h&&ae<=yd){var Ze=rr(j)&vd[ae];return j.u+=ae,As(j),Ze}return j.h=1,j.u=0}function on(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function zn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function rr(j){return j.Ra>>>(j.u&H0-1)>>>0}function Ir(j){return l(j.bb<=j.Sb),j.h||j.bb==j.Sb&&j.u>H0}function Zr(j,ae){j.u=ae,j.h=Ir(j)}function hi(j){j.u>=d0&&(l(j.u>=d0),As(j))}function Zi(j){l(j!=null&&j.oa!=null),j.pa>>0,j.b+=8):(l(j!=null&&j.oa!=null),j.paj.b&&Zi(j);var lt=j.b,Kt=Ze*ae>>>8,an=(j.I>>>lt>Kt)+0;for(an?(Ze-=Kt,j.I-=Kt+1<>>0):Ze=Kt+1,lt=Ze,Kt=0;256<=lt;)Kt+=8,lt>>=8;return lt=7^Kt+z0[lt],j.b-=lt,j.Ca=(Ze<>24&255,j[ae+1]=Ze>>16&255,j[ae+2]=Ze>>8&255,j[ae+3]=255&Ze}function so(j,ae){return j[ae+0]|j[ae+1]<<8}function to(j,ae){return so(j,ae)|j[ae+2]<<16}function Al(j,ae){return so(j,ae)|so(j,ae+2)<<16}function Rn(j,ae){var Ze=1<=Kt||0>=an?0:(Ze[0]=Kt,lt[0]=an,1)}function ja(j,ae){return j+(1<>>ae}function Il(j,ae){return((4278255360&j)+(4278255360&ae)>>>0&4278255360)+((16711935&j)+(16711935&ae)>>>0&16711935)>>>0}function No(j,ae){Xn[ae]=function(Ze,lt,Kt,an,sn,pn,wn){var Mn;for(Mn=0;Mn>>1)+(j&ae)>>>0}function rc(j){return 0<=j&&256>j?j:0>j?0:255>1))}function Au(j,ae,Ze){return Math.abs(ae-Ze)-Math.abs(j-Ze)}function ju(j,ae,Ze,lt,Kt,an,sn){for(lt=an[sn-1],Ze=0;Ze>8&255,wn=16711935&(wn=(wn=16711935&sn)+((pn<<16)+pn));lt[Kt+an]=(4278255360&sn)+wn>>>0}}function Xo(j,ae){ae.jd=255&j,ae.hd=j>>8&255,ae.ud=j>>16&255}function mu(j,ae,Ze,lt,Kt,an){var sn;for(sn=0;sn>>8,Mn=pn,Nr=255&(Nr=(Nr=pn>>>16)+((j.jd<<24>>24)*(wn<<24>>24)>>>5));Mn=255&(Mn=(Mn+=(j.hd<<24>>24)*(wn<<24>>24)>>>5)+((j.ud<<24>>24)*(Nr<<24>>24)>>>5)),Kt[an+sn]=(4278255360&pn)+(Nr<<16)+Mn}}function nl(j,ae,Ze,lt,Kt){Xn[ae]=function(an,sn,pn,wn,Mn,Nr,bi,kn,Hr){for(wn=bi;wn>an.b,Hr=an.Ea,li=an.K[0],ia=an.w;if(8>kn)for(an=(1<>=kn}else Xn["VP8LMapColor"+Ze](wn,Mn,li,ia,Nr,bi,sn,pn,Hr)}}function Xc(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&255,lt[Kt++]=an>>8&255,lt[Kt++]=255&an}}function Vu(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&255,lt[Kt++]=an>>8&255,lt[Kt++]=255&an,lt[Kt++]=an>>24&255}}function Bu(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&240|sn>>12&15,sn=240&sn|sn>>28&15;lt[Kt++]=an,lt[Kt++]=sn}}function Su(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&248|sn>>13&7,sn=sn>>5&224|sn>>3&31;lt[Kt++]=an,lt[Kt++]=sn}}function kc(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>8&255,lt[Kt++]=an>>16&255}}function vl(j,ae,Ze,lt,Kt,an){if(an==0)for(Ze=ae+Ze;ae>24|an[1]>>8&65280|an[2]<<8&16711680|an[3]<<24)>>>0),Kt+=32;else p(lt,Kt,j,ae,Ze)}function Bc(j,ae){Xn[ae][0]=Xn[j+"0"],Xn[ae][1]=Xn[j+"1"],Xn[ae][2]=Xn[j+"2"],Xn[ae][3]=Xn[j+"3"],Xn[ae][4]=Xn[j+"4"],Xn[ae][5]=Xn[j+"5"],Xn[ae][6]=Xn[j+"6"],Xn[ae][7]=Xn[j+"7"],Xn[ae][8]=Xn[j+"8"],Xn[ae][9]=Xn[j+"9"],Xn[ae][10]=Xn[j+"10"],Xn[ae][11]=Xn[j+"11"],Xn[ae][12]=Xn[j+"12"],Xn[ae][13]=Xn[j+"13"],Xn[ae][14]=Xn[j+"0"],Xn[ae][15]=Xn[j+"0"]}function kl(j){return j==_p||j==$p||j==Cp||j==em}function du(){this.eb=[],this.size=this.A=this.fb=0}function Uc(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Du(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new du,this.f.kb=new Uc,this.sd=null}function Ll(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ic(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function yh(j){return alert("todo:WebPSamplerProcessPlane"),j.T}function QA(j,ae){var Ze=j.T,lt=ae.ba.f.RGBA,Kt=lt.eb,an=lt.fb+j.ka*lt.A,sn=Vd[ae.ba.S],pn=j.y,wn=j.O,Mn=j.f,Nr=j.N,bi=j.ea,kn=j.W,Hr=ae.cc,li=ae.dc,ia=ae.Mc,mi=ae.Nc,ua=j.ka,ha=j.ka+j.T,Ka=j.U,La=Ka+1>>1;for(ua==0?sn(pn,wn,null,null,Mn,Nr,bi,kn,Mn,Nr,bi,kn,Kt,an,null,null,Ka):(sn(ae.ec,ae.fc,pn,wn,Hr,li,ia,mi,Mn,Nr,bi,kn,Kt,an-lt.A,Kt,an,Ka),++Ze);ua+2Ze,Kt=Ze==bp||Ze==Ep||Ze==wp||Ze==qp||Ze==12||kl(Ze);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!Ng(ae.Oa,j,Kt?11:12))return 0;if(Kt&&kl(Ze)&&Lg(),j.da)alert("todo:use_scaling");else{if(lt){if(ae.Ib=yh,j.Kb){if(Ze=j.U+1>>1,ae.memory=M(j.U+2*Ze),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+j.U,ae.Mc=ae.cc,ae.Nc=ae.dc+Ze,ae.Ib=QA,Lg()}}else alert("todo:EmitYUV");Kt&&(ae.Jb=$f,lt&&uf())}if(lt&&!Um){for(j=0;256>j;++j)bv[j]=89858*(j-128)+Bp>>xp,Cv[j]=-22014*(j-128)+Bp,wv[j]=-45773*(j-128),Ev[j]=113618*(j-128)+Bp>>xp;for(j=Wg;j>xp,xv[j-Wg]=Df(ae,255),Bv[j-Wg]=Df(ae+8>>4,15);Um=1}return 1}function Rl(j){var ae=j.ma,Ze=j.U,lt=j.T;return l(!(1&j.ka)),0>=Ze||0>=lt?0:(Ze=ae.Ib(j,ae),ae.Jb!=null&&ae.Jb(j,ae,Ze),ae.Dc+=Ze,1)}function e0(j){j.ma.memory=null}function t0(j,ae,Ze,lt){return Fa(j,8)!=47?0:(ae[0]=Fa(j,14)+1,Ze[0]=Fa(j,14)+1,lt[0]=Fa(j,1),Fa(j,3)!=0?0:!j.h)}function Ud(j,ae){if(4>j)return j+1;var Ze=j-2>>1;return(2+(1&j)<>4)*j+(8-(15&Ze)))?Ze:1;var Ze}function Zc(j,ae,Ze){var lt=rr(Ze),Kt=j[ae+=255<].g-8;return 0>>0,l(8>=Ze.g),j.g}function SA(j,ae,Ze){var lt=j.xc;return l((ae=lt==0?0:j.vc[j.md*(Ze>>lt)+(ae>>lt)])>zo.b)*Po;iaKa&&(Ko=Ka),(0,Qg[Hu[gA++]>>8&15])(kn,Hr+ +Eu,ua,ha+Eu-Ka,Ko-Eu,ua,ha+Eu),Eu=Ko}Hr+=Ka,ha+=Ka,++ia&qo||(zo+=Po)}bi!=Mn.nc&&p(wn,pn-li,wn,pn+(bi-Nr-1)*li,li);break;case 1:for(li=kn,mi=Hr,Ka=(kn=Mn.Ea)-(ha=kn&~(ua=(Hr=1<>Mn.b)*ia;Nr=Kt),0an.o&&(lt=an.o),Ze=lt?Ze=0:(Kt[0]+=4*an.v,an.ka=Ze-an.j,an.U=an.va-an.v,an.T=lt-Ze,Ze=1),Ze){if(pn=pn[0],11>(Ze=j.ca).S){var Nr=Ze.f.RGBA,bi=(lt=Ze.S,Kt=an.U,an=an.T,Mn=Nr.eb,Nr.A),kn=an;for(Nr=Nr.fb+j.Ma*Nr.A;0lt){var Kt=j.l.width,an=Ze.ca,sn=Ze.tb+Kt*lt,pn=j.V,wn=j.Ba+j.c*lt,Mn=j.gc;l(j.ab==1),l(Mn[0].hc==3),Rf(Mn[0],lt,ae,pn,wn,an,sn),If(Ze,lt,ae,an,sn,Kt)}j.C=j.Ma=ae}function of(j,ae,Ze,lt,Kt,an,sn){var pn=j.$/lt,wn=j.$%lt,Mn=j.m,Nr=j.s,bi=Ze+j.$,kn=bi;Kt=Ze+lt*Kt;var Hr=Ze+lt*an,li=280+Nr.ua,ia=j.Pb?pn:16777216,mi=0=ia){var qo=bi-Ze;l((ia=j).Pb),ia.wd=ia.m,ia.xd=qo,0bu.g?(Zr(La,La.u+bu.g),qo[Po]=bu.value,La=0):(Zr(La,La.u+bu.g-256),l(256<=bu.value),La=bu.value),La==0&&(Ka=!0)}else La=Zc(ha.G[0],ha.H[0],Mn);if(Mn.h)break;if(Ka||256>La){if(!Ka)if(ha.nd)ae[bi]=(ha.qb|La<<8)>>>0;else{if(hi(Mn),Ka=Zc(ha.G[1],ha.H[1],Mn),hi(Mn),qo=Zc(ha.G[2],ha.H[2],Mn),Po=Zc(ha.G[3],ha.H[3],Mn),Mn.h)break;ae[bi]=(Po<<24|Ka<<16|La<<8|qo)>>>0}if(Ka=!1,++bi,++wn>=lt&&(wn=0,++pn,sn!=null&&pn<=an&&!(pn%16)&&sn(j,pn),mi!=null))for(;kn>>mi.Mb]=La}else if(280>La){if(La=Ud(La-256,Mn),qo=Zc(ha.G[4],ha.H[4],Mn),hi(Mn),qo=Qd(lt,qo=Ud(qo,Mn)),Mn.h)break;if(bi-Ze=lt;)wn-=lt,++pn,sn!=null&&pn<=an&&!(pn%16)&&sn(j,pn);if(l(bi<=Kt),wn&ua&&(ha=SA(Nr,wn,pn)),mi!=null)for(;kn>>mi.Mb]=La}else{if(!(La>>mi.Mb]=La;La=bi,l(!(Ka>>>(qo=mi).Xa)),ae[La]=qo.X[Ka],Ka=!0}Ka||l(Mn.h==Ir(Mn))}if(j.Pb&&Mn.h&&bian?an:pn),j.a=0,j.$=bi-Ze}return 1}return j.a=3,0}function jd(j){l(j!=null),j.vc=null,j.yc=null,j.Ya=null;var ae=j.Wa;ae!=null&&(ae.X=null),j.vb=null,l(j!=null)}function Eh(){var j=new $l;return j==null?null:(j.a=0,j.xb=Lm,Bc("Predictor","VP8LPredictors"),Bc("Predictor","VP8LPredictors_C"),Bc("PredictorAdd","VP8LPredictorsAdd"),Bc("PredictorAdd","VP8LPredictorsAdd_C"),Yc=ku,jg=mu,Hg=Xc,K0=Vu,Z0=Bu,W0=Su,Oh=kc,Xn.VP8LMapColor32b=Lf,Xn.VP8LMapColor8b=Ug,j)}function Ff(j,ae,Ze,lt,Kt){var an=1,sn=[j],pn=[ae],wn=lt.m,Mn=lt.s,Nr=null,bi=0;e:for(;;){if(Ze)for(;an&&Fa(wn,1);){var kn=sn,Hr=pn,li=lt,ia=1,mi=li.m,ua=li.gc[li.ab],ha=Fa(mi,2);if(li.Oc&1<=li.ab),ha){case 0:case 1:ua.b=Fa(mi,3)+2,ia=Ff(ja(ua.Ea,ua.b),ja(ua.nc,ua.b),0,li,ua.K),ua.K=ua.K[0];break;case 3:var Ka,La=Fa(mi,8)+1,qo=16>zo.b),gA=M(Hu);if(gA==null)Ka=0;else{var Eu=zo.K[0],Ko=zo.w;for(gA[0]=zo.K[0][0],Po=1;Po<1*bu;++Po)gA[Po]=Il(Eu[Ko+Po],gA[Po-1]);for(;Po<4*Hu;++Po)gA[Po]=0;zo.K[0]=null,zo.K[0]=gA,Ka=1}}ia=Ka;break;case 2:break;default:l(0)}an=ia}}if(sn=sn[0],pn=pn[0],an&&Fa(wn,1)&&!(an=1<=(bi=Fa(wn,4))&&11>=bi)){lt.a=3;break e}var Zs;if(Zs=an)t:{var qc,fu,Zu,Oc=lt,DA=sn,YA=pn,Wc=bi,jA=Ze,JA=Oc.m,pA=Oc.s,Xu=[null],Ac=1,Vc=0,dc=ov[Wc];n:for(;;){if(jA&&Fa(JA,1)){var TA=Fa(JA,3)+2,Af=ja(DA,TA),_c=ja(YA,TA),ud=Af*_c;if(!Ff(Af,_c,0,Oc,Xu))break n;for(Xu=Xu[0],pA.xc=TA,qc=0;qc>8&65535;Xu[qc]=yc,yc>=Ac&&(Ac=yc+1)}}if(JA.h)break n;for(fu=0;5>fu;++fu){var mA=Tm[fu];!fu&&0=qA),Cd=wd;var cd=M(Vc);if(Cd==null||cd==null||Ed==null){Oc.a=1;break n}var xd=Ed;for(qc=Zu=0;qcfu;++fu){mA=Tm[fu],Bd[fu]=xd,df[fu]=Zu,!fu&&0Pp)break r}else sm=Pp;for(Gg=0;Ggcg)Wm[Gg++]=cg,cg!=0&&(Vm=cg);else{var Nv=cg==16,Ym=cg-16,Mv=rv[Ym],Jm=Fa(J0,nv[Ym])+Mv;if(Gg+Jm>Pp)break r;for(var kv=Nv?Vm:0;0=fu){var Xg,lm=cd[0];for(Xg=1;Xglm&&(lm=cd[Xg]);PA+=lm}}if(Ic.nd=g0,Ic.Qb=0,g0&&(Ic.qb=(Bd[3][df[3]+0].value<<24|Bd[1][df[1]+0].value<<16|Bd[2][df[2]+0].value)>>>0,Mh==0&&256>Bd[0][df[0]+0].value&&(Ic.Qb=1,Ic.qb+=Bd[0][df[0]+0].value<<8)),Ic.jc=!Ic.Qb&&6>PA,Ic.jc){var Lp,p0=Ic;for(Lp=0;Lp>=CA(Rp,8,_0),q0>>=CA(p0.G[1][p0.H[1]+q0],16,_0),q0>>=CA(p0.G[2][p0.H[2]+q0],0,_0),CA(p0.G[3][p0.H[3]+q0],24,_0))}}}pA.vc=Xu,pA.Wb=Ac,pA.Ya=Cd,pA.yc=Ed,Zs=1;break t}Zs=0}if(!(an=Zs)){lt.a=3;break e}if(0lt+1?[]:0),!(Kt.lengthj?0:j>ae?ae:j}function tg(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Np(){var j=new rp;return j!=null&&(j.a=0,j.sc="OK",j.cb=0,j.Xb=0,Zg||(Zg=ng)),j}function rA(j,ae,Ze){return j.a==0&&(j.a=ae,j.sc=Ze,j.cb=0),0}function ip(j,ae,Ze){return 3<=Ze&&j[ae+0]==157&&j[ae+1]==1&&j[ae+2]==42}function Tf(j,ae){if(j==null)return 0;if(j.a=0,j.sc="OK",ae==null)return rA(j,2,"null VP8Io passed to VP8GetHeaders()");var Ze=ae.data,lt=ae.w,Kt=ae.ha;if(4>Kt)return rA(j,7,"Truncated header.");var an=Ze[lt+0]|Ze[lt+1]<<8|Ze[lt+2]<<16,sn=j.Od;if(sn.Rb=!(1&an),sn.td=an>>1&7,sn.yd=an>>4&1,sn.ub=an>>5,3Kt)return rA(j,7,"cannot parse picture header");if(!ip(Ze,lt,Kt))return rA(j,3,"Bad code word");pn.c=16383&(Ze[lt+4]<<8|Ze[lt+3]),pn.Td=Ze[lt+4]>>6,pn.i=16383&(Ze[lt+6]<<8|Ze[lt+5]),pn.Ud=Ze[lt+6]>>6,lt+=7,Kt-=7,j.za=pn.c+15>>4,j.Ub=pn.i+15>>4,ae.width=pn.c,ae.height=pn.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,I((an=j.Pa).jb,0,255,an.jb.length),l((an=j.Qa)!=null),an.Cb=0,an.Bb=0,an.Fb=1,I(an.Zb,0,0,an.Zb.length),I(an.Lb,0,0,an.Lb)}if(sn.ub>Kt)return rA(j,7,"bad partition length");Hi(an=j.m,Ze,lt,sn.ub),lt+=sn.ub,Kt-=sn.ub,sn.Rb&&(pn.Ld=Yi(an),pn.Kd=Yi(an)),pn=j.Qa;var wn,Mn=j.Pa;if(l(an!=null),l(pn!=null),pn.Cb=Yi(an),pn.Cb){if(pn.Bb=Yi(an),Yi(an)){for(pn.Fb=Yi(an),wn=0;4>wn;++wn)pn.Zb[wn]=Yi(an)?vi(an,7):0;for(wn=0;4>wn;++wn)pn.Lb[wn]=Yi(an)?vi(an,6):0}if(pn.Bb)for(wn=0;3>wn;++wn)Mn.jb[wn]=Yi(an)?Wi(an,8):255}else pn.Bb=0;if(an.Ka)return rA(j,3,"cannot parse segment header");if((pn=j.ed).zd=Yi(an),pn.Tb=Wi(an,6),pn.wb=Wi(an,3),pn.Pc=Yi(an),pn.Pc&&Yi(an)){for(Mn=0;4>Mn;++Mn)Yi(an)&&(pn.vd[Mn]=vi(an,6));for(Mn=0;4>Mn;++Mn)Yi(an)&&(pn.od[Mn]=vi(an,6))}if(j.L=pn.Tb==0?0:pn.zd?1:2,an.Ka)return rA(j,3,"cannot parse filter header");var Nr=Kt;if(Kt=wn=lt,lt=wn+Nr,pn=Nr,j.Xb=(1<pn&&(bi=pn),Hi(j.Jc[+Nr],Ze,wn,bi),wn+=bi,pn-=bi,Kt+=3}Hi(j.Jc[+Mn],Ze,wn,pn),Ze=wnbi;++bi){if(Nr.Cb){var kn=Nr.Zb[bi];Nr.Fb||(kn+=Ze)}else{if(0>16,8>Hr.Eb[1]&&(Hr.Eb[1]=8),Hr.Qc[0]=tm[Df(kn+Mn,117)],Hr.Qc[1]=nm[Df(kn+wn,127)],Hr.lc=kn+wn}if(!sn.Rb)return rA(j,4,"Not a key frame.");for(Yi(an),sn=j.Pa,Ze=0;4>Ze;++Ze){for(Kt=0;8>Kt;++Kt)for(lt=0;3>lt;++lt)for(pn=0;11>pn;++pn)Mn=ya(an,fv[Ze][Kt][lt][pn])?Wi(an,8):Av[Ze][Kt][lt][pn],sn.Wc[Ze][Kt].Yb[lt][pn]=Mn;for(Kt=0;17>Kt;++Kt)sn.Xc[Ze][Kt]=sn.Wc[Ze][hv[Kt]]}return j.kc=Yi(an),j.kc&&(j.Bd=Wi(an,8)),j.cb=1}function ng(j,ae,Ze,lt,Kt,an,sn){var pn=ae[Kt].Yb[Ze];for(Ze=0;16>Kt;++Kt){if(!ya(j,pn[Ze+0]))return Kt;for(;!ya(j,pn[Ze+1]);)if(pn=ae[++Kt].Yb[0],Ze=0,Kt==16)return 16;var wn=ae[Kt+1].Yb;if(ya(j,pn[Ze+2])){var Mn=j,Nr=0;if(ya(Mn,(kn=pn)[(bi=Ze)+3]))if(ya(Mn,kn[bi+6])){for(pn=0,bi=2*(Nr=ya(Mn,kn[bi+8]))+(kn=ya(Mn,kn[bi+9+Nr])),Nr=0,kn=uv[bi];kn[pn];++pn)Nr+=Nr+ya(Mn,kn[pn]);Nr+=3+(8<(Mn=j).b&&Zi(Mn);var bi,kn=Mn.b,Hr=(bi=Mn.Ca>>1)-(Mn.I>>kn)>>31;--Mn.b,Mn.Ca+=Hr,Mn.Ca|=1,Mn.I-=(bi+1&Hr)<>3),j[ae+Ze+32*lt]=-256&Kt?0>Kt?0:255:Kt}function dA(j,ae,Ze,lt,Kt,an){zd(j,ae,0,Ze,lt+Kt),zd(j,ae,1,Ze,lt+an),zd(j,ae,2,Ze,lt-an),zd(j,ae,3,Ze,lt-Kt)}function n0(j){return(20091*j>>16)+j}function sp(j,ae,Ze,lt){var Kt,an=0,sn=M(16);for(Kt=0;4>Kt;++Kt){var pn=j[ae+0]+j[ae+8],wn=j[ae+0]-j[ae+8],Mn=(35468*j[ae+4]>>16)-n0(j[ae+12]),Nr=n0(j[ae+4])+(35468*j[ae+12]>>16);sn[an+0]=pn+Nr,sn[an+1]=wn+Mn,sn[an+2]=wn-Mn,sn[an+3]=pn-Nr,an+=4,ae++}for(Kt=an=0;4>Kt;++Kt)pn=(j=sn[an+0]+4)+sn[an+8],wn=j-sn[an+8],Mn=(35468*sn[an+4]>>16)-n0(sn[an+12]),zd(Ze,lt,0,0,pn+(Nr=n0(sn[an+4])+(35468*sn[an+12]>>16))),zd(Ze,lt,1,0,wn+Mn),zd(Ze,lt,2,0,wn-Mn),zd(Ze,lt,3,0,pn-Nr),an++,lt+=32}function Mp(j,ae,Ze,lt){var Kt=j[ae+0]+4,an=35468*j[ae+4]>>16,sn=n0(j[ae+4]),pn=35468*j[ae+1]>>16;dA(Ze,lt,0,Kt+sn,j=n0(j[ae+1]),pn),dA(Ze,lt,1,Kt+an,j,pn),dA(Ze,lt,2,Kt-an,j,pn),dA(Ze,lt,3,Kt-sn,j,pn)}function kp(j,ae,Ze,lt,Kt){sp(j,ae,Ze,lt),Kt&&sp(j,ae+16,Ze,lt+4)}function Pf(j,ae,Ze,lt){Nh(j,ae+0,Ze,lt,1),Nh(j,ae+32,Ze,lt+128,1)}function op(j,ae,Ze,lt){var Kt;for(j=j[ae+0]+4,Kt=0;4>Kt;++Kt)for(ae=0;4>ae;++ae)zd(Ze,lt,ae,Kt,j)}function lp(j,ae,Ze,lt){j[ae+0]&&ac(j,ae+0,Ze,lt),j[ae+16]&&ac(j,ae+16,Ze,lt+4),j[ae+32]&&ac(j,ae+32,Ze,lt+128),j[ae+48]&&ac(j,ae+48,Ze,lt+128+4)}function rg(j,ae,Ze,lt){var Kt,an=M(16);for(Kt=0;4>Kt;++Kt){var sn=j[ae+0+Kt]+j[ae+12+Kt],pn=j[ae+4+Kt]+j[ae+8+Kt],wn=j[ae+4+Kt]-j[ae+8+Kt],Mn=j[ae+0+Kt]-j[ae+12+Kt];an[0+Kt]=sn+pn,an[8+Kt]=sn-pn,an[4+Kt]=Mn+wn,an[12+Kt]=Mn-wn}for(Kt=0;4>Kt;++Kt)sn=(j=an[0+4*Kt]+3)+an[3+4*Kt],pn=an[1+4*Kt]+an[2+4*Kt],wn=an[1+4*Kt]-an[2+4*Kt],Mn=j-an[3+4*Kt],Ze[lt+0]=sn+pn>>3,Ze[lt+16]=Mn+wn>>3,Ze[lt+32]=sn-pn>>3,Ze[lt+48]=Mn-wn>>3,lt+=64}function Ch(j,ae,Ze){var lt,Kt=ae-32,an=bd,sn=255-j[Kt-1];for(lt=0;ltZe;++Ze)p(j,ae+32*Ze,j,ae-32,16)}function up(j,ae){var Ze;for(Ze=16;0lt;++lt)I(ae,Ze+32*lt,j,16)}function Hp(j,ae){var Ze,lt=16;for(Ze=0;16>Ze;++Ze)lt+=j[ae-1+32*Ze]+j[ae+Ze-32];lf(lt>>5,j,ae)}function xh(j,ae){var Ze,lt=8;for(Ze=0;16>Ze;++Ze)lt+=j[ae-1+32*Ze];lf(lt>>4,j,ae)}function Bg(j,ae){var Ze,lt=8;for(Ze=0;16>Ze;++Ze)lt+=j[ae+Ze-32];lf(lt>>4,j,ae)}function zp(j,ae){lf(128,j,ae)}function ru(j,ae,Ze){return j+2*ae+Ze+2>>2}function Kp(j,ae){var Ze,lt=ae-32;for(lt=new Uint8Array([ru(j[lt-1],j[lt+0],j[lt+1]),ru(j[lt+0],j[lt+1],j[lt+2]),ru(j[lt+1],j[lt+2],j[lt+3]),ru(j[lt+2],j[lt+3],j[lt+4])]),Ze=0;4>Ze;++Ze)p(j,ae+32*Ze,lt,0,lt.length)}function Zp(j,ae){var Ze=j[ae-1],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1+96];Ya(j,ae+0,16843009*ru(j[ae-1-32],Ze,lt)),Ya(j,ae+32,16843009*ru(Ze,lt,Kt)),Ya(j,ae+64,16843009*ru(lt,Kt,an)),Ya(j,ae+96,16843009*ru(Kt,an,an))}function Wp(j,ae){var Ze,lt=4;for(Ze=0;4>Ze;++Ze)lt+=j[ae+Ze-32]+j[ae-1+32*Ze];for(lt>>=3,Ze=0;4>Ze;++Ze)I(j,ae+32*Ze,lt,4)}function r0(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1-32],sn=j[ae+0-32],pn=j[ae+1-32],wn=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+96]=ru(lt,Kt,j[ae-1+96]),j[ae+1+96]=j[ae+0+64]=ru(Ze,lt,Kt),j[ae+2+96]=j[ae+1+64]=j[ae+0+32]=ru(an,Ze,lt),j[ae+3+96]=j[ae+2+64]=j[ae+1+32]=j[ae+0+0]=ru(sn,an,Ze),j[ae+3+64]=j[ae+2+32]=j[ae+1+0]=ru(pn,sn,an),j[ae+3+32]=j[ae+2+0]=ru(wn,pn,sn),j[ae+3+0]=ru(Mn,wn,pn)}function i0(j,ae){var Ze=j[ae+1-32],lt=j[ae+2-32],Kt=j[ae+3-32],an=j[ae+4-32],sn=j[ae+5-32],pn=j[ae+6-32],wn=j[ae+7-32];j[ae+0+0]=ru(j[ae+0-32],Ze,lt),j[ae+1+0]=j[ae+0+32]=ru(Ze,lt,Kt),j[ae+2+0]=j[ae+1+32]=j[ae+0+64]=ru(lt,Kt,an),j[ae+3+0]=j[ae+2+32]=j[ae+1+64]=j[ae+0+96]=ru(Kt,an,sn),j[ae+3+32]=j[ae+2+64]=j[ae+1+96]=ru(an,sn,pn),j[ae+3+64]=j[ae+2+96]=ru(sn,pn,wn),j[ae+3+96]=ru(pn,wn,wn)}function Vp(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1-32],sn=j[ae+0-32],pn=j[ae+1-32],wn=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+0]=j[ae+1+64]=an+sn+1>>1,j[ae+1+0]=j[ae+2+64]=sn+pn+1>>1,j[ae+2+0]=j[ae+3+64]=pn+wn+1>>1,j[ae+3+0]=wn+Mn+1>>1,j[ae+0+96]=ru(Kt,lt,Ze),j[ae+0+64]=ru(lt,Ze,an),j[ae+0+32]=j[ae+1+96]=ru(Ze,an,sn),j[ae+1+32]=j[ae+2+96]=ru(an,sn,pn),j[ae+2+32]=j[ae+3+96]=ru(sn,pn,wn),j[ae+3+32]=ru(pn,wn,Mn)}function Gp(j,ae){var Ze=j[ae+0-32],lt=j[ae+1-32],Kt=j[ae+2-32],an=j[ae+3-32],sn=j[ae+4-32],pn=j[ae+5-32],wn=j[ae+6-32],Mn=j[ae+7-32];j[ae+0+0]=Ze+lt+1>>1,j[ae+1+0]=j[ae+0+64]=lt+Kt+1>>1,j[ae+2+0]=j[ae+1+64]=Kt+an+1>>1,j[ae+3+0]=j[ae+2+64]=an+sn+1>>1,j[ae+0+32]=ru(Ze,lt,Kt),j[ae+1+32]=j[ae+0+96]=ru(lt,Kt,an),j[ae+2+32]=j[ae+1+96]=ru(Kt,an,sn),j[ae+3+32]=j[ae+2+96]=ru(an,sn,pn),j[ae+3+64]=ru(sn,pn,wn),j[ae+3+96]=ru(pn,wn,Mn)}function ig(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1+96];j[ae+0+0]=Ze+lt+1>>1,j[ae+2+0]=j[ae+0+32]=lt+Kt+1>>1,j[ae+2+32]=j[ae+0+64]=Kt+an+1>>1,j[ae+1+0]=ru(Ze,lt,Kt),j[ae+3+0]=j[ae+1+32]=ru(lt,Kt,an),j[ae+3+32]=j[ae+1+64]=ru(Kt,an,an),j[ae+3+64]=j[ae+2+64]=j[ae+0+96]=j[ae+1+96]=j[ae+2+96]=j[ae+3+96]=an}function Sg(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1+96],sn=j[ae-1-32],pn=j[ae+0-32],wn=j[ae+1-32],Mn=j[ae+2-32];j[ae+0+0]=j[ae+2+32]=Ze+sn+1>>1,j[ae+0+32]=j[ae+2+64]=lt+Ze+1>>1,j[ae+0+64]=j[ae+2+96]=Kt+lt+1>>1,j[ae+0+96]=an+Kt+1>>1,j[ae+3+0]=ru(pn,wn,Mn),j[ae+2+0]=ru(sn,pn,wn),j[ae+1+0]=j[ae+3+32]=ru(Ze,sn,pn),j[ae+1+32]=j[ae+3+64]=ru(lt,Ze,sn),j[ae+1+64]=j[ae+3+96]=ru(Kt,lt,Ze),j[ae+1+96]=ru(an,Kt,lt)}function Bh(j,ae){var Ze;for(Ze=0;8>Ze;++Ze)p(j,ae+32*Ze,j,ae-32,8)}function Xp(j,ae){var Ze;for(Ze=0;8>Ze;++Ze)I(j,ae,j[ae-1],8),ae+=32}function a0(j,ae,Ze){var lt;for(lt=0;8>lt;++lt)I(ae,Ze+32*lt,j,8)}function Yp(j,ae){var Ze,lt=8;for(Ze=0;8>Ze;++Ze)lt+=j[ae+Ze-32]+j[ae-1+32*Ze];a0(lt>>4,j,ae)}function Ig(j,ae){var Ze,lt=4;for(Ze=0;8>Ze;++Ze)lt+=j[ae+Ze-32];a0(lt>>3,j,ae)}function Fg(j,ae){var Ze,lt=4;for(Ze=0;8>Ze;++Ze)lt+=j[ae-1+32*Ze];a0(lt>>3,j,ae)}function cp(j,ae){a0(128,j,ae)}function s0(j,ae,Ze){var lt=j[ae-Ze],Kt=j[ae+0],an=3*(Kt-lt)+Jp[1020+j[ae-2*Ze]-j[ae+Ze]],sn=vp[112+(an+4>>3)];j[ae-Ze]=bd[255+lt+vp[112+(an+3>>3)]],j[ae+0]=bd[255+Kt-sn]}function Dg(j,ae,Ze,lt){var Kt=j[ae+0],an=j[ae+Ze];return Wd[255+j[ae-2*Ze]-j[ae-Ze]]>lt||Wd[255+an-Kt]>lt}function ag(j,ae,Ze,lt){return 4*Wd[255+j[ae-Ze]-j[ae+0]]+Wd[255+j[ae-2*Ze]-j[ae+Ze]]<=lt}function Tg(j,ae,Ze,lt,Kt){var an=j[ae-3*Ze],sn=j[ae-2*Ze],pn=j[ae-Ze],wn=j[ae+0],Mn=j[ae+Ze],Nr=j[ae+2*Ze],bi=j[ae+3*Ze];return 4*Wd[255+pn-wn]+Wd[255+sn-Mn]>lt?0:Wd[255+j[ae-4*Ze]-an]<=Kt&&Wd[255+an-sn]<=Kt&&Wd[255+sn-pn]<=Kt&&Wd[255+bi-Nr]<=Kt&&Wd[255+Nr-Mn]<=Kt&&Wd[255+Mn-wn]<=Kt}function Sh(j,ae,Ze,lt){var Kt=2*lt+1;for(lt=0;16>lt;++lt)ag(j,ae+lt,Ze,Kt)&&s0(j,ae+lt,Ze)}function Pg(j,ae,Ze,lt){var Kt=2*lt+1;for(lt=0;16>lt;++lt)ag(j,ae+lt*Ze,1,Kt)&&s0(j,ae+lt*Ze,1)}function Ap(j,ae,Ze,lt){var Kt;for(Kt=3;0>7,ua=18*ha+63>>7,ha=9*ha+63>>7;wn[Mn-3*Nr]=bd[255+wn[Mn-3*Nr]+ha],wn[Mn-2*Nr]=bd[255+bi+ua],wn[Mn-Nr]=bd[255+kn+mi],wn[Mn+0]=bd[255+Hr-mi],wn[Mn+Nr]=bd[255+li-ua],wn[Mn+2*Nr]=bd[255+ia-ha]}ae+=lt}}function l0(j,ae,Ze,lt,Kt,an,sn,pn){for(an=2*an+1;0>3)],ia=vp[112+(ia+3>>3)],mi=li+1>>1;wn[Mn-2*Nr]=bd[255+wn[Mn-2*Nr]+mi],wn[Mn-Nr]=bd[255+bi+ia],wn[Mn+0]=bd[255+kn-li],wn[Mn+Nr]=bd[255+Hr-mi]}ae+=lt}}function fp(j,ae,Ze,lt,Kt,an){o0(j,ae,Ze,1,16,lt,Kt,an)}function Ih(j,ae,Ze,lt,Kt,an){o0(j,ae,1,Ze,16,lt,Kt,an)}function hp(j,ae,Ze,lt,Kt,an){var sn;for(sn=3;0Mn?0:255:Mn)&255,Mn=wn,Kt[an+pn]=Nr}}function Sc(j,ae,Ze,lt){var Kt=ae.width,an=ae.o;if(l(j!=null&&ae!=null),0>Ze||0>=lt||Ze+lt>an)return null;if(!j.Cc){if(j.ga==null){var sn;if(j.ga=new vu,(sn=j.ga==null)||(sn=ae.width*ae.o,l(j.Gb.length==0),j.Gb=M(sn),j.Uc=0,j.Gb==null?sn=0:(j.mb=j.Gb,j.nb=j.Uc,j.rc=null,sn=1),sn=!sn),!sn){sn=j.ga;var pn=j.Fa,wn=j.P,Mn=j.qc,Nr=j.mb,bi=j.nb,kn=wn+1,Hr=Mn-1,li=sn.l;if(l(pn!=null&&Nr!=null&&ae!=null),X0[0]=null,X0[1]=Gu,X0[2]=zc,X0[3]=iA,sn.ca=Nr,sn.tb=bi,sn.c=ae.width,sn.i=ae.height,l(0=Mn)ae=0;else if(sn.$a=3&pn[wn+0],sn.Z=pn[wn+0]>>2&3,sn.Lc=pn[wn+0]>>4&3,wn=pn[wn+0]>>6&3,0>sn.$a||1=sn.c*sn.i;sn=!ae}if(sn)return null;j.ga.Lc!=1?j.Ga=0:lt=an-Ze}l(j.ga!=null),l(Ze+lt<=an);e:{if(ae=(pn=j.ga).c,an=pn.l.o,pn.$a==0){if(kn=j.rc,Hr=j.Vc,li=j.Fa,wn=j.P+1+Ze*ae,Mn=j.mb,Nr=j.nb+Ze*ae,l(wn<=j.P+j.qc),pn.Z!=0)for(l(X0[pn.Z]!=null),sn=0;sn=ae)ae=1;else if(pn.ic||uf(),pn.ic){pn=sn.V,kn=sn.Ba,Hr=sn.c;var ia=sn.i,mi=(li=1,wn=sn.$/Hr,Mn=sn.$%Hr,Nr=sn.m,bi=sn.s,sn.$),ua=Hr*ia,ha=Hr*ae,Ka=bi.wc,La=mi(ia=Zc(La.G[0],La.H[0],Nr)))pn[kn+mi]=ia,++mi,++Mn>=Hr&&(Mn=0,++wn<=ae&&!(wn%16)&&sf(sn,wn));else{if(!(280>ia)){li=0;break t}ia=Ud(ia-256,Nr);var qo,Po=Zc(La.G[4],La.H[4],Nr);if(hi(Nr),!(mi>=(Po=Qd(Hr,Po=Ud(Po,Nr)))&&ua-mi>=ia)){li=0;break t}for(qo=0;qo=Hr;)Mn-=Hr,++wn<=ae&&!(wn%16)&&sf(sn,wn);miae?ae:wn);break t}!li||Nr.h&&mi=an&&(j.Cc=1),lt=1}if(!lt)return null;if(j.Cc&&((lt=j.ga)!=null&&(lt.mc=null),j.ga=null,0>23,pn[wn+4*sn+1]=pn[wn+4*sn+1]*bi>>23,pn[wn+4*sn+2]=pn[wn+4*sn+2]*bi>>23)}ae+=an}}function aA(j,ae,Ze,lt,Kt){for(;0>4)*wn>>16;j[ae+2*an+0]=(240&sn|sn>>4)*wn>>16&240|(15&sn|sn<<4)*wn>>16>>4&15,j[ae+2*an+1]=240&Mn|pn}ae+=Kt}}function IA(j,ae,Ze,lt,Kt,an,sn,pn){var wn,Mn,Nr=255;for(Mn=0;Mn>8}function uf(){Kg=fA,bm=aA,Em=IA,wm=u0}function c0(j,ae,Ze){Xn[j]=function(lt,Kt,an,sn,pn,wn,Mn,Nr,bi,kn,Hr,li,ia,mi,ua,ha,Ka){var La,qo=Ka-1>>1,Po=pn[wn+0]|Mn[Nr+0]<<16,bu=bi[kn+0]|Hr[li+0]<<16;l(lt!=null);var zo=3*Po+bu+131074>>2;for(ae(lt[Kt+0],255&zo,zo>>16,ia,mi),an!=null&&(zo=3*bu+Po+131074>>2,ae(an[sn+0],255&zo,zo>>16,ua,ha)),La=1;La<=qo;++La){var Hu=pn[wn+La]|Mn[Nr+La]<<16,gA=bi[kn+La]|Hr[li+La]<<16,Eu=Po+Hu+bu+gA+524296,Ko=Eu+2*(Hu+bu)>>3;zo=Ko+Po>>1,Po=(Eu=Eu+2*(Po+gA)>>3)+Hu>>1,ae(lt[Kt+2*La-1],255&zo,zo>>16,ia,mi+(2*La-1)*Ze),ae(lt[Kt+2*La-0],255&Po,Po>>16,ia,mi+(2*La-0)*Ze),an!=null&&(zo=Eu+bu>>1,Po=Ko+gA>>1,ae(an[sn+2*La-1],255&zo,zo>>16,ua,ha+(2*La-1)*Ze),ae(an[sn+2*La+0],255&Po,Po>>16,ua,ha+(2*La+0)*Ze)),Po=Hu,bu=gA}1&Ka||(zo=3*Po+bu+131074>>2,ae(lt[Kt+Ka-1],255&zo,zo>>16,ia,mi+(Ka-1)*Ze),an!=null&&(zo=3*bu+Po+131074>>2,ae(an[sn+Ka-1],255&zo,zo>>16,ua,ha+(Ka-1)*Ze)))}}function Lg(){Vd[yp]=pv,Vd[bp]=Rm,Vd[Fm]=mv,Vd[Ep]=Om,Vd[wp]=Nm,Vd[qp]=Mm,Vd[Dm]=vv,Vd[_p]=Rm,Vd[$p]=Om,Vd[Cp]=Nm,Vd[em]=Mm}function sg(j){return j&~yv?0>j?0:255:j>>km}function U0(j,ae){return sg((19077*j>>8)+(26149*ae>>8)-14234)}function Fh(j,ae,Ze){return sg((19077*j>>8)-(6419*ae>>8)-(13320*Ze>>8)+8708)}function Dh(j,ae){return sg((19077*j>>8)+(33050*ae>>8)-17685)}function Q0(j,ae,Ze,lt,Kt){lt[Kt+0]=U0(j,Ze),lt[Kt+1]=Fh(j,ae,Ze),lt[Kt+2]=Dh(j,ae)}function FA(j,ae,Ze,lt,Kt){lt[Kt+0]=Dh(j,ae),lt[Kt+1]=Fh(j,ae,Ze),lt[Kt+2]=U0(j,Ze)}function Th(j,ae,Ze,lt,Kt){var an=Fh(j,ae,Ze);ae=an<<3&224|Dh(j,ae)>>3,lt[Kt+0]=248&U0(j,Ze)|an>>5,lt[Kt+1]=ae}function Ph(j,ae,Ze,lt,Kt){var an=240&Dh(j,ae)|15;lt[Kt+0]=240&U0(j,Ze)|Fh(j,ae,Ze)>>4,lt[Kt+1]=an}function Rg(j,ae,Ze,lt,Kt){lt[Kt+0]=255,Q0(j,ae,Ze,lt,Kt+1)}function Og(j,ae,Ze,lt,Kt){FA(j,ae,Ze,lt,Kt),lt[Kt+3]=255}function XA(j,ae,Ze,lt,Kt){Q0(j,ae,Ze,lt,Kt),lt[Kt+3]=255}function A0(j,ae,Ze){Xn[j]=function(lt,Kt,an,sn,pn,wn,Mn,Nr,bi){for(var kn=Nr+(-2&bi)*Ze;Nr!=kn;)ae(lt[Kt+0],an[sn+0],pn[wn+0],Mn,Nr),ae(lt[Kt+1],an[sn+0],pn[wn+0],Mn,Nr+Ze),Kt+=2,++sn,++wn,Nr+=2*Ze;1&bi&&ae(lt[Kt+0],an[sn+0],pn[wn+0],Mn,Nr)}}function og(j,ae,Ze){return Ze==0?j==0?ae==0?6:5:ae==0?4:0:Ze}function gp(j,ae,Ze,lt,Kt){switch(j>>>30){case 3:Nh(ae,Ze,lt,Kt,0);break;case 2:Zd(ae,Ze,lt,Kt);break;case 1:ac(ae,Ze,lt,Kt)}}function Kd(j,ae){var Ze,lt,Kt=ae.M,an=ae.Nb,sn=j.oc,pn=j.pc+40,wn=j.oc,Mn=j.pc+584,Nr=j.oc,bi=j.pc+600;for(Ze=0;16>Ze;++Ze)sn[pn+32*Ze-1]=129;for(Ze=0;8>Ze;++Ze)wn[Mn+32*Ze-1]=129,Nr[bi+32*Ze-1]=129;for(0Ze;++Ze)p(sn,pn+32*Ze-4,sn,pn+32*Ze+12,4);for(Ze=-1;8>Ze;++Ze)p(wn,Mn+32*Ze-4,wn,Mn+32*Ze+4,4),p(Nr,bi+32*Ze-4,Nr,bi+32*Ze+4,4)}var Hr=j.Gd,li=j.Hd+lt,ia=kn.ad,mi=kn.Hc;if(0=j.za-1?I(ua,ha,Hr[li].y[15],4):p(ua,ha,Hr[li+1].y,0,4)),Ze=0;4>Ze;Ze++)ua[ha+128+Ze]=ua[ha+256+Ze]=ua[ha+384+Ze]=ua[ha+0+Ze];for(Ze=0;16>Ze;++Ze,mi<<=2)ua=sn,ha=pn+Qm[Ze],cf[kn.Ob[Ze]](ua,ha),gp(mi,ia,16*+Ze,ua,ha)}else if(ua=og(lt,Kt,kn.Ob[0]),G0[ua](sn,pn),mi!=0)for(Ze=0;16>Ze;++Ze,mi<<=2)gp(mi,ia,16*+Ze,sn,pn+Qm[Ze]);for(Ze=kn.Gc,ua=og(lt,Kt,kn.Dd),h0[ua](wn,Mn),h0[ua](Nr,bi),mi=ia,ua=wn,ha=Mn,255&(kn=0|Ze)&&(170&kn?Of(mi,256,ua,ha):vc(mi,256,ua,ha)),kn=Nr,mi=bi,255&(Ze>>=8)&&(170&Ze?Of(ia,320,kn,mi):vc(ia,320,kn,mi)),KtZe;++Ze)p(Hr,li+Ze*j.R,sn,pn+32*Ze,16);for(Ze=0;8>Ze;++Ze)p(ia,kn+Ze*j.B,wn,Mn+32*Ze,8),p(mi,ua+Ze*j.B,Nr,bi+32*Ze,8)}}function Lh(j,ae,Ze,lt,Kt,an,sn,pn,wn){var Mn=[0],Nr=[0],bi=0,kn=wn!=null?wn.kd:0,Hr=wn!=null?wn:new Pa;if(j==null||12>Ze)return 7;Hr.data=j,Hr.w=ae,Hr.ha=Ze,ae=[ae],Ze=[Ze],Hr.gb=[Hr.gb];e:{var li=ae,ia=Ze,mi=Hr.gb;if(l(j!=null),l(ia!=null),l(mi!=null),mi[0]=0,12<=ia[0]&&!s(j,li[0],"RIFF")){if(s(j,li[0]+8,"WEBP")){mi=3;break e}var ua=Al(j,li[0]+4);if(12>ua||4294967286ia[0]-8){mi=7;break e}mi[0]=ua,li[0]+=12,ia[0]-=12}mi=0}if(mi!=0)return mi;for(ua=0mi[0])mi=7;else{if(!s(ha,ia[0],"VP8X")){if(Al(ha,ia[0]+4)!=10){mi=3;break e}if(18>mi[0]){mi=7;break e}var Po=Al(ha,ia[0]+8),bu=1+to(ha,ia[0]+12);if(2147483648<=bu*(ha=1+to(ha,ia[0]+15))){mi=3;break e}qo!=null&&(qo[0]=Po),Ka!=null&&(Ka[0]=bu),La!=null&&(La[0]=ha),ia[0]+=18,mi[0]-=18,zo[0]=1}mi=0}}if(bi=bi[0],li=li[0],mi!=0)return mi;if(ia=!!(2&li),!ua&&bi)return 3;if(an!=null&&(an[0]=!!(16&li)),sn!=null&&(sn[0]=ia),pn!=null&&(pn[0]=0),sn=Mn[0],li=Nr[0],bi&&ia&&wn==null){mi=0;break}if(4>Ze){mi=7;break}if(ua&&bi||!ua&&!bi&&!s(j,ae[0],"ALPH")){Ze=[Ze],Hr.na=[Hr.na],Hr.P=[Hr.P],Hr.Sa=[Hr.Sa];e:{Po=j,mi=ae,ua=Ze;var zo=Hr.gb;Ka=Hr.na,La=Hr.P,qo=Hr.Sa,bu=22,l(Po!=null),l(ua!=null),ha=mi[0];var Hu=ua[0];for(l(Ka!=null),l(qo!=null),Ka[0]=null,La[0]=null,qo[0]=0;;){if(mi[0]=ha,ua[0]=Hu,8>Hu){mi=7;break e}var gA=Al(Po,ha+4);if(4294967286zo){mi=3;break e}if(!s(Po,ha,"VP8 ")||!s(Po,ha,"VP8L")){mi=0;break e}if(Hu[0]ua[0])mi=7;else{if(ha||bu){if(zo=Al(zo,Po+4),12<=Ka&&zo>Ka-12){mi=3;break e}if(kn&&zo>ua[0]-8){mi=7;break e}La[0]=zo,mi[0]+=8,ua[0]-=8,qo[0]=bu}else qo[0]=5<=ua[0]&&zo[Po+0]==47&&!(zo[Po+4]>>5),La[0]=ua[0];mi=0}if(Ze=Ze[0],Hr.Ja=Hr.Ja[0],Hr.xa=Hr.xa[0],ae=ae[0],mi!=0)break;if(4294967286Ze){mi=7;break}pn=sn,kn=li,ia=an,j==null||5>Ze?j=0:5<=Ze&&j[ae+0]==47&&!(j[ae+4]>>5)?(ua=[0],zo=[0],Ka=[0],Ji(La=new zn,j,ae,Ze),t0(La,ua,zo,Ka)?(pn!=null&&(pn[0]=ua[0]),kn!=null&&(kn[0]=zo[0]),ia!=null&&(ia[0]=Ka[0]),j=1):j=0):j=0}else{if(10>Ze){mi=7;break}pn=li,j==null||10>Ze||!ip(j,ae+3,Ze-3)?j=0:(kn=j[ae+0]|j[ae+1]<<8|j[ae+2]<<16,ia=16383&(j[ae+7]<<8|j[ae+6]),j=16383&(j[ae+9]<<8|j[ae+8]),1&kn||3<(kn>>1&7)||!(kn>>4&1)||kn>>5>=Hr.Ja||!ia||!j?j=0:(sn&&(sn[0]=ia),pn&&(pn[0]=j),j=1))}if(!j||(sn=sn[0],li=li[0],bi&&(Mn[0]!=sn||Nr[0]!=li)))return 3;wn!=null&&(wn[0]=Hr,wn.offset=ae-wn.w,l(4294967286>ae-wn.w),l(wn.offset==wn.ha-Ze));break}return mi==0||mi==7&&bi&&wn==null?(an!=null&&(an[0]|=Hr.na!=null&&0Ze||(an&=-2,sn&=-2),0>an||0>sn||0>=pn||0>=wn||an+pn>lt||sn+wn>Kt))return 0;if(ae.v=an,ae.j=sn,ae.va=an+pn,ae.o=sn+wn,ae.U=pn,ae.T=wn,ae.da=j!=null&&0j.S){var ae=j.f.RGBA;ae.fb+=(j.height-1)*ae.A,ae.A=-ae.A}else ae=j.f.kb,j=j.height,ae.O+=(j-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(j-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(j-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(j-1)*ae.lb,ae.lb=-ae.lb);return 0}function j0(j,ae,Ze,lt){if(lt==null||0>=j||0>=ae)return 2;if(Ze!=null){if(Ze.Da){var Kt=Ze.cd,an=Ze.bd,sn=-2&Ze.v,pn=-2&Ze.j;if(0>sn||0>pn||0>=Kt||0>=an||sn+Kt>j||pn+an>ae)return 2;j=Kt,ae=an}if(Ze.da){if(!Sl(j,ae,Kt=[Ze.ib],an=[Ze.hb]))return 2;j=Kt[0],ae=an[0]}}lt.width=j,lt.height=ae;e:{var wn=lt.width,Mn=lt.height;if(j=lt.S,0>=wn||0>=Mn||!(j>=yp&&13>j))j=2;else{if(0>=lt.Rd&<.sd==null){sn=an=Kt=ae=0;var Nr=(pn=wn*jm[j])*Mn;if(11>j||(an=(Mn+1)/2*(ae=(wn+1)/2),j==12&&(sn=(Kt=wn)*Mn)),(Mn=M(Nr+2*an+sn))==null){j=1;break e}lt.sd=Mn,11>j?((wn=lt.f.RGBA).eb=Mn,wn.fb=0,wn.A=pn,wn.size=Nr):((wn=lt.f.kb).y=Mn,wn.O=0,wn.fa=pn,wn.Fd=Nr,wn.f=Mn,wn.N=0+Nr,wn.Ab=ae,wn.Cd=an,wn.ea=Mn,wn.W=0+Nr+an,wn.Db=ae,wn.Ed=an,j==12&&(wn.F=Mn,wn.J=0+Nr+2*an),wn.Tc=sn,wn.lb=Kt)}if(ae=1,Kt=lt.S,an=lt.width,sn=lt.height,Kt>=yp&&13>Kt)if(11>Kt)j=lt.f.RGBA,ae&=(pn=Math.abs(j.A))*(sn-1)+an<=j.size,ae&=pn>=an*jm[Kt],ae&=j.eb!=null;else{j=lt.f.kb,pn=(an+1)/2,Nr=(sn+1)/2,wn=Math.abs(j.fa),Mn=Math.abs(j.Ab);var bi=Math.abs(j.Db),kn=Math.abs(j.lb),Hr=kn*(sn-1)+an;ae&=wn*(sn-1)+an<=j.Fd,ae&=Mn*(Nr-1)+pn<=j.Cd,ae=(ae&=bi*(Nr-1)+pn<=j.Ed)&wn>=an&Mn>=pn&bi>=pn,ae&=j.y!=null,ae&=j.f!=null,ae&=j.ea!=null,Kt==12&&(ae&=kn>=an,ae&=Hr<=j.Tc,ae&=j.F!=null)}else ae=0;j=ae?0:2}}return j!=0||Ze!=null&&Ze.fd&&(j=Mg(lt)),j}var Rh=64,vd=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yd=24,H0=32,d0=8,z0=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];No("Predictor0","PredictorAdd0"),Xn.Predictor0=function(){return 4278190080},Xn.Predictor1=function(j){return j},Xn.Predictor2=function(j,ae,Ze){return ae[Ze+0]},Xn.Predictor3=function(j,ae,Ze){return ae[Ze+1]},Xn.Predictor4=function(j,ae,Ze){return ae[Ze-1]},Xn.Predictor5=function(j,ae,Ze){return gl(gl(j,ae[Ze+1]),ae[Ze+0])},Xn.Predictor6=function(j,ae,Ze){return gl(j,ae[Ze-1])},Xn.Predictor7=function(j,ae,Ze){return gl(j,ae[Ze+0])},Xn.Predictor8=function(j,ae,Ze){return gl(ae[Ze-1],ae[Ze+0])},Xn.Predictor9=function(j,ae,Ze){return gl(ae[Ze+0],ae[Ze+1])},Xn.Predictor10=function(j,ae,Ze){return gl(gl(j,ae[Ze-1]),gl(ae[Ze+0],ae[Ze+1]))},Xn.Predictor11=function(j,ae,Ze){var lt=ae[Ze+0];return 0>=Au(lt>>24&255,j>>24&255,(ae=ae[Ze-1])>>24&255)+Au(lt>>16&255,j>>16&255,ae>>16&255)+Au(lt>>8&255,j>>8&255,ae>>8&255)+Au(255<,255&j,255&ae)?lt:j},Xn.Predictor12=function(j,ae,Ze){var lt=ae[Ze+0];return(rc((j>>24&255)+(lt>>24&255)-((ae=ae[Ze-1])>>24&255))<<24|rc((j>>16&255)+(lt>>16&255)-(ae>>16&255))<<16|rc((j>>8&255)+(lt>>8&255)-(ae>>8&255))<<8|rc((255&j)+(255<)-(255&ae)))>>>0},Xn.Predictor13=function(j,ae,Ze){var lt=ae[Ze-1];return(Mu((j=gl(j,ae[Ze+0]))>>24&255,lt>>24&255)<<24|Mu(j>>16&255,lt>>16&255)<<16|Mu(j>>8&255,lt>>8&255)<<8|Mu(255&j,255<))>>>0};var kg=Xn.PredictorAdd0;Xn.PredictorAdd1=ju,No("Predictor2","PredictorAdd2"),No("Predictor3","PredictorAdd3"),No("Predictor4","PredictorAdd4"),No("Predictor5","PredictorAdd5"),No("Predictor6","PredictorAdd6"),No("Predictor7","PredictorAdd7"),No("Predictor8","PredictorAdd8"),No("Predictor9","PredictorAdd9"),No("Predictor10","PredictorAdd10"),No("Predictor11","PredictorAdd11"),No("Predictor12","PredictorAdd12"),No("Predictor13","PredictorAdd13");var lg=Xn.PredictorAdd2;nl("ColorIndexInverseTransform","MapARGB","32b",function(j){return j>>8&255},function(j){return j}),nl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(j){return j},function(j){return j>>8&255});var Yc,pp=Xn.ColorIndexInverseTransform,Lf=Xn.MapARGB,Rf=Xn.VP8LColorIndexInverseTransformAlpha,Ug=Xn.MapAlpha,Qg=Xn.VP8LPredictorsAdd=[];Qg.length=16,(Xn.VP8LPredictors=[]).length=16,(Xn.VP8LPredictorsAdd_C=[]).length=16,(Xn.VP8LPredictors_C=[]).length=16;var jg,Hg,K0,Z0,W0,Oh,V0,Nh,Zd,Of,ac,vc,Jc,hA,f0,zg,ug,mp,hm,gm,pm,mm,vm,ym,Kg,bm,Em,wm,Cm=M(511),xm=M(2041),Bm=M(225),Sm=M(767),Im=0,Jp=xm,vp=Bm,bd=Sm,Wd=Cm,yp=0,bp=1,Fm=2,Ep=3,wp=4,qp=5,Dm=6,_p=7,$p=8,Cp=9,em=10,nv=[2,3,7],rv=[3,3,11],Tm=[280,256,256,256,40],iv=[0,1,1,1,0],av=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],sv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ov=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lv=8,tm=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],nm=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Zg=null,uv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],cv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Pm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Av=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],dv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],hv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],G0=[],cf=[],h0=[],gv=1,Lm=2,X0=[],Vd=[];c0("UpsampleRgbLinePair",Q0,3),c0("UpsampleBgrLinePair",FA,3),c0("UpsampleRgbaLinePair",XA,4),c0("UpsampleBgraLinePair",Og,4),c0("UpsampleArgbLinePair",Rg,4),c0("UpsampleRgba4444LinePair",Ph,2),c0("UpsampleRgb565LinePair",Th,2);var pv=Xn.UpsampleRgbLinePair,mv=Xn.UpsampleBgrLinePair,Rm=Xn.UpsampleRgbaLinePair,Om=Xn.UpsampleBgraLinePair,Nm=Xn.UpsampleArgbLinePair,Mm=Xn.UpsampleRgba4444LinePair,vv=Xn.UpsampleRgb565LinePair,xp=16,Bp=1<lt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),lt.ca.f.kb.F!=null&&uf()),lt.Pb&&0(wn=Ze.Md)?0:100Mn;++Mn)12>(bi=Kt.pb[Mn]).lc&&(bi.ia=wn*Sv[0>bi.lc?0:bi.lc]>>3),Nr|=bi.ia;Nr&&(alert("todo:VP8InitRandom"),Kt.ia=1)}Kt.Ga=Ze.Id,100Kt.Ga&&(Kt.Ga=0)}(function(kn,Hr){if(kn==null)return 0;if(Hr==null)return rA(kn,2,"NULL VP8Io parameter in VP8Decode().");if(!kn.cb&&!Tf(kn,Hr))return 0;if(l(kn.cb),Hr.ac==null||Hr.ac(Hr)){Hr.ob&&(kn.L=0);var li=Sp[kn.L];if(kn.L==2?(kn.yb=0,kn.zb=0):(kn.yb=Hr.v-li>>4,kn.zb=Hr.j-li>>4,0>kn.yb&&(kn.yb=0),0>kn.zb&&(kn.zb=0)),kn.Va=Hr.o+15+li>>4,kn.Hb=Hr.va+15+li>>4,kn.Hb>kn.za&&(kn.Hb=kn.za),kn.Va>kn.Ub&&(kn.Va=kn.Ub),0li;++li){var mi;if(kn.Qa.Cb){var ua=kn.Qa.Lb[li];kn.Qa.Fb||(ua+=ia.Tb)}else ua=ia.Tb;for(mi=0;1>=mi;++mi){var ha=kn.gd[li][mi],Ka=ua;if(ia.Pc&&(Ka+=ia.vd[0],mi&&(Ka+=ia.od[0])),0<(Ka=0>Ka?0:63>2:La>>1)>9-ia.wb&&(La=9-ia.wb),1>La&&(La=1),ha.dd=La,ha.tc=2*Ka+La,ha.ld=40<=Ka?2:15<=Ka?1:0}else ha.tc=0;ha.La=mi}}}li=0}else rA(kn,6,"Frame setup failed"),li=kn.a;if(li=li==0){if(li){kn.$c=0,0kn.Vb){if(kn.Vb=0,kn.Ec=M(ha),kn.Fc=0,kn.Ec==null){li=rA(kn,1,"no memory during frame initialization.");break t}kn.Vb=ha}ha=kn.Ec,Ka=kn.Fc,kn.Ac=ha,kn.Bc=Ka,Ka+=ia,kn.Gd=ve(qo,np),kn.Hd=0,kn.rb=ve(Po+1,wg),kn.sb=1,kn.wa=bu?ve(bu,Hd):null,kn.Y=0,kn.D.Nb=0,kn.D.wa=kn.wa,kn.D.Y=kn.Y,0=li;++li)Cm[255+li]=0>li?-li:li;for(li=-1020;1020>=li;++li)xm[1020+li]=-128>li?-128:127=li;++li)Bm[112+li]=-16>li?-16:15=li;++li)Sm[255+li]=0>li?0:255Zu;++Zu){var pA,Xu=YA[0+Zu];for(pA=0;4>pA;++pA){Xu=dv[Oc[DA+pA]][Xu];for(var Ac=Pm[ya(fu,Xu[0])];0>3;for(Ac=0;256>Ac;Ac+=16)Zu[jA+Ac]=ud}TA=1,Af=DA[0]}var yc=15&fu.la,mA=15&JA.la;for(Ac=0;4>Ac;++Ac){var Ed=1&mA;for(ud=dc=0;4>ud;++ud)yc=yc>>1|(Ed=(_c=Zg(Oc,Af,_c=Ed+(1&yc),Wc.Sc,TA,Zu,jA))>TA)<<7,dc=dc<<2|(3<_c?3:1<_c?2:Zu[jA+0]!=0),jA+=16;yc>>=4,mA=mA>>1|Ed<<7,pA=(pA<<8|dc)>>>0}for(Af=yc,TA=mA>>4,Vc=0;4>Vc;Vc+=2){for(dc=0,yc=fu.la>>4+Vc,mA=JA.la>>4+Vc,Ac=0;2>Ac;++Ac){for(Ed=1&mA,ud=0;2>ud;++ud)_c=Ed+(1&yc),yc=yc>>1|(Ed=0<(_c=Zg(Oc,DA[2],_c,Wc.Qc,0,Zu,jA)))<<3,dc=dc<<2|(3<_c?3:1<_c?2:Zu[jA+0]!=0),jA+=16;yc>>=2,mA=mA>>1|Ed<<5}Xu|=dc<<4*Vc,Af|=yc<<4<=Ko.zb&&Ko.M<=Ko.Va,Ko.Aa==0)t:{if(Eu.M=Ko.M,Eu.uc=fu,Kd(Ko,Eu),qc=1,Eu=(dc=Ko.D).Nb,fu=(Xu=Sp[Ko.L])*Ko.R,Oc=Xu/2*Ko.B,Ac=16*Eu*Ko.R,ud=8*Eu*Ko.B,DA=Ko.sa,YA=Ko.ta-fu+Ac,Wc=Ko.qa,Zu=Ko.ra-Oc+ud,jA=Ko.Ha,JA=Ko.Ia-Oc+ud,mA=(yc=dc.M)==0,pA=yc>=Ko.Va-1,Ko.Aa==2&&Kd(Ko,dc),dc.uc)for(Ed=(_c=Ko).D.M,l(_c.D.uc),dc=_c.yb;dc<_c.Hb;++dc){TA=dc,Af=Ed;var qA=(wd=(PA=_c).D).Nb;Vc=PA.R;var wd=wd.wa[wd.Y+TA],Cd=PA.sa,cd=PA.ta+16*qA*Vc+16*TA,xd=wd.dd,Ic=wd.tc;if(Ic!=0)if(l(3<=Ic),PA.L==1)0Zs.o&&(yc=Zs.o),Zs.F=null,Zs.J=null,Ko.Fa!=null&&0>1),Zs.W+=Ko.B*(Xu>>1),Zs.F!=null&&(Zs.J+=Zs.width*Xu)),dc>1,Zs.W+=Zs.v>>1,Zs.F!=null&&(Zs.J+=Zs.v),Zs.ka=dc-Zs.j,Zs.U=Zs.va-Zs.v,Zs.T=yc-dc,qc=Zs.put(Zs))}Eu+1!=Ko.Ic||pA||(p(Ko.sa,Ko.ta-fu,DA,YA+16*Ko.R,fu),p(Ko.qa,Ko.ra-Oc,Wc,Zu+8*Ko.B,Oc),p(Ko.Ha,Ko.Ia-Oc,jA,JA+8*Ko.B,Oc))}if(!qc)return rA(Hu,6,"Output aborted.")}return 1}(kn,Hr)),Hr.bc!=null&&Hr.bc(Hr),li&=1}return li?(kn.cb=0,li):0})(j,lt)||(ae=j.a)}}else ae=j.a}ae==0&&sn.Oa!=null&&sn.Oa.fd&&(ae=Mg(sn.ba))}sn=ae}an=sn!=0?null:11>an?pn.f.RGBA.eb:pn.f.kb.y}else an=null;return an};var jm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Re(Xn,si){for(var An="",Ln=0;Ln<4;Ln++)An+=String.fromCharCode(Xn[si++]);return An}function et(Xn,si){return Xn[si+0]|Xn[si+1]<<8}function Nt(Xn,si){return(Xn[si+0]|Xn[si+1]<<8|Xn[si+2]<<16)>>>0}function en(Xn,si){return(Xn[si+0]|Xn[si+1]<<8|Xn[si+2]<<16|Xn[si+3]<<24)>>>0}new xe;var $e=[0],Fn=[0],Cn=[],Pn=new xe,dn=r,yr=function(Xn,si){var An={},Ln=0,wr=!1,hr=0,Bi=0;if(An.frames=[],!function(on,zn){for(var rr=0;rr<4;rr++)if(on[zn+rr]!="RIFF".charCodeAt(rr))return!0;return!1}(Xn,si)){for(en(Xn,si+=4),si+=8;si>1&1}Hi!="ANMF"&&(si+=vi)}return An}}(dn,0);yr.response=dn,yr.rgbaoutput=!0,yr.dataurl=!1;var ar=yr.header?yr.header:null,Wn=yr.frames?yr.frames:null;if(ar){ar.loop_counter=ar.loop_count,$e=[ar.canvas_height],Fn=[ar.canvas_width];for(var Ei=0;Ei=2?Rn[1]:oo[0],oo[2]=Rn.length>=3?Rn[2]:oo[0],oo[3]=Rn.length>=4?Rn[3]:oo[1]),Re.margin=oo}});var Zi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Zi},set:function(Rn){Zi=Rn}});var Yi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Yi},set:function(Rn){Yi=Rn}});var ya=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ya},set:function(Rn){ya=Rn}}),Object.defineProperty(this,"ctx",{get:function(){return Re},set:function(Rn){Rn instanceof et&&(Re=Rn)}}),Object.defineProperty(this,"path",{get:function(){return Re.path},set:function(Rn){Re.path=Rn}});var Ya=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ya},set:function(Rn){Ya=Rn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Rn){var oo;oo=en(Rn),this.ctx.fillStyle=oo.style,this.ctx.isFillTransparent=oo.a===0,this.ctx.fillOpacity=oo.a,this.pdf.setFillColor(oo.r,oo.g,oo.b,{a:oo.a}),this.pdf.setTextColor(oo.r,oo.g,oo.b,{a:oo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Rn){var oo=en(Rn);this.ctx.strokeStyle=oo.style,this.ctx.isStrokeTransparent=oo.a===0,this.ctx.strokeOpacity=oo.a,oo.a===0?this.pdf.setDrawColor(255,255,255):(oo.a,this.pdf.setDrawColor(oo.r,oo.g,oo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Rn){["butt","round","square"].indexOf(Rn)!==-1&&(this.ctx.lineCap=Rn,this.pdf.setLineCap(Rn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Rn){isNaN(Rn)||(this.ctx.lineWidth=Rn,this.pdf.setLineWidth(Rn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Rn){["bevel","round","miter"].indexOf(Rn)!==-1&&(this.ctx.lineJoin=Rn,this.pdf.setLineJoin(Rn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Rn){isNaN(Rn)||(this.ctx.miterLimit=Rn,this.pdf.setMiterLimit(Rn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Rn){this.ctx.textBaseline=Rn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Rn){["right","end","center","left","start"].indexOf(Rn)!==-1&&(this.ctx.textAlign=Rn)}});var so=null,to=null,Al=null;Object.defineProperty(this,"fontFaces",{get:function(){return Al},set:function(Rn){so=null,to=null,Al=Rn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Rn){var oo;if(this.ctx.font=Rn,(oo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Rn))!==null){var xu=oo[1];oo[2];var Sl=oo[3],ja=oo[4];oo[5];var Il=oo[6],No=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ja)[2];ja=Math.floor(No==="px"?parseFloat(ja)*this.pdf.internal.scaleFactor:No==="em"?parseFloat(ja)*this.pdf.getFontSize():parseFloat(ja)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ja);var El=function(nl){var Xc,Vu,Bu=[],Su=nl.trim();if(Su==="")return Y;if(Su in sd)return[sd[Su]];for(;Su!=="";){switch(Vu=null,Xc=(Su=cA(Su)).charAt(0)){case'"':case"'":Vu=f(Su.substring(1),Xc);break;default:Vu=e(Su)}if(Vu===null||(Bu.push(Vu[0]),(Su=cA(Vu[1]))!==""&&Su.charAt(0)!==","))return Y;Su=Su.replace(/^,/,"")}return Bu}(Il);if(this.fontFaces){var gl=function(nl,Xc){var Vu=nl.getFontList(),Bu=JSON.stringify(Vu);if(so===null||to!==Bu){var Su=function(kc){var vl=[];return Object.keys(kc).forEach(function(Bc){kc[Bc].forEach(function(kl){var du=null;switch(kl){case"bold":du={family:Bc,weight:"bold"};break;case"italic":du={family:Bc,style:"italic"};break;case"bolditalic":du={family:Bc,weight:"bold",style:"italic"};break;case"":case"normal":du={family:Bc}}du!==null&&(du.ref={name:Bc,style:kl},vl.push(du))})}),vl}(Vu);so=function(kc){for(var vl={},Bc=0;Bc=700||xu==="bold")&&(Au="bold"),xu==="italic"&&(Au+="italic"),Au.length===0&&(Au="normal");for(var ju="",ku={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Ir=0,Zr=2*Math.PI),this.path.push({type:"arc",x:on,y:zn,radius:rr,startAngle:Ir,endAngle:Zr,counterclockwise:hi})},Nt.prototype.arcTo=function(on,zn,rr,Ir,Zr){throw new Error("arcTo not implemented.")},Nt.prototype.rect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(on,zn),this.lineTo(on+rr,zn),this.lineTo(on+rr,zn+Ir),this.lineTo(on,zn+Ir),this.lineTo(on,zn),this.lineTo(on+rr,zn),this.lineTo(on,zn)},Nt.prototype.fillRect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!$e.call(this)){var Zr={};this.lineCap!=="butt"&&(Zr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Zr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(on,zn,rr,Ir),this.fill(),Zr.hasOwnProperty("lineCap")&&(this.lineCap=Zr.lineCap),Zr.hasOwnProperty("lineJoin")&&(this.lineJoin=Zr.lineJoin)}},Nt.prototype.strokeRect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Fn.call(this)||(this.beginPath(),this.rect(on,zn,rr,Ir),this.stroke())},Nt.prototype.clearRect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(on,zn,rr,Ir))},Nt.prototype.save=function(on){on=typeof on!="boolean"||on;for(var zn=this.pdf.internal.getCurrentPageInfo().pageNumber,rr=0;rr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Nt.prototype.drawImage=function(on,zn,rr,Ir,Zr,hi,Zi,Yi,ya){var Ya=this.pdf.getImageProperties(on),so=1,to=1,Al=1,Rn=1;Ir!==void 0&&Yi!==void 0&&(Al=Yi/Ir,Rn=ya/Zr,so=Ya.width/Ir*Yi/Ir,to=Ya.height/Zr*ya/Zr),hi===void 0&&(hi=zn,Zi=rr,zn=0,rr=0),Ir!==void 0&&Yi===void 0&&(Yi=Ir,ya=Zr),Ir===void 0&&Yi===void 0&&(Yi=Ya.width,ya=Ya.height);var oo=this.ctx.transform.decompose(),xu=vi(oo.rotate.shx),Sl=new xe,ja=(Sl=(Sl=(Sl=Sl.multiply(oo.translate)).multiply(oo.skew)).multiply(oo.scale)).applyToRectangle(new le(hi-zn*Al,Zi-rr*Rn,Ir*so,Zr*to));if(this.autoPaging){for(var Il,No=Pn.call(this,ja),El=[],gl=0;glrc||Auja||No0)){for(;ya>=0;ya--)if(Zr[ya-1].close!==!0&&Zr[ya-1].begin!==!0){Zr[ya-1].deltas.push(rr),Zr[ya-1].abs.push(Yi);break}}break;case"bct":rr=[Yi.x1-hi[Zi-1].x,Yi.y1-hi[Zi-1].y,Yi.x2-hi[Zi-1].x,Yi.y2-hi[Zi-1].y,Yi.x-hi[Zi-1].x,Yi.y-hi[Zi-1].y],Zr[Zr.length-1].deltas.push(rr);break;case"qct":var Ya=hi[Zi-1].x+2/3*(Yi.x1-hi[Zi-1].x),so=hi[Zi-1].y+2/3*(Yi.y1-hi[Zi-1].y),to=Yi.x+2/3*(Yi.x1-Yi.x),Al=Yi.y+2/3*(Yi.y1-Yi.y),Rn=Yi.x,oo=Yi.y;rr=[Ya-hi[Zi-1].x,so-hi[Zi-1].y,to-hi[Zi-1].x,Al-hi[Zi-1].y,Rn-hi[Zi-1].x,oo-hi[Zi-1].y],Zr[Zr.length-1].deltas.push(rr);break;case"arc":Zr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Zr[Zr.length-1].abs)&&Zr[Zr.length-1].abs.push(Yi)}}Ir=zn?null:on==="stroke"?"stroke":"fill";for(var xu=!1,Sl=0;Sl=.01&&(Ir=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ir*on.scale),Zr=this.lineWidth,this.lineWidth=Zr*on.scale);var mu=this.autoPaging!=="text";if(mu||Xo.y+Xo.h<=gl){if(mu||Xo.y>=No&&Xo.x<=Mu){var nl=mu?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||Mu-Xo.x)[0],Xc=yr([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-ju+No+this.ctx.prevPageLastElemOffset)[0],Vu=mu&&(Il>Sl||Il=.01&&(this.pdf.setFontSize(Ir),this.lineWidth=Zr)}}else on.scale>=.01&&(Ir=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ir*on.scale),Zr=this.lineWidth,this.lineWidth=Zr*on.scale),this.pdf.text(on.text,ya.x+this.posX,ya.y+this.posY,{angle:on.angle,align:zn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(Ir),this.lineWidth=Zr)},wr=function(on,zn,rr,Ir){rr=rr||0,Ir=Ir||0,this.pdf.internal.out(s(on+rr)+" "+p(zn+Ir)+" l")},hr=function(on,zn,rr){return this.pdf.lines(on,zn,rr,null,null)},Bi=function(on,zn,rr,Ir,Zr,hi,Zi,Yi){this.pdf.internal.out([l(I(rr+on)),l(M(Ir+zn)),l(I(Zr+on)),l(M(hi+zn)),l(I(Zi+on)),l(M(Yi+zn)),"c"].join(" "))},Hi=function(on,zn,rr,Ir){for(var Zr=2*Math.PI,hi=Math.PI/2;zn>rr;)zn-=Zr;var Zi=Math.abs(rr-zn);Zi1e-5;){var so=Ya+ya*Math.min(Zi,hi);Yi.push(Wi.call(this,on,Ya,so)),Zi-=Math.abs(so-Ya),Ya=so}return Yi},Wi=function(on,zn,rr){var Ir=(rr-zn)/2,Zr=on*Math.cos(Ir),hi=on*Math.sin(Ir),Zi=Zr,Yi=-hi,ya=Zi*Zi+Yi*Yi,Ya=ya+Zi*Zr+Yi*hi,so=4/3*(Math.sqrt(2*ya*Ya)-Ya)/(Zi*hi-Yi*Zr),to=Zi-so*Yi,Al=Yi+so*Zi,Rn=to,oo=-Al,xu=Ir+zn,Sl=Math.cos(xu),ja=Math.sin(xu);return{x1:on*Math.cos(zn),y1:on*Math.sin(zn),x2:to*Sl-Al*ja,y2:to*ja+Al*Sl,x3:Rn*Sl-oo*ja,y3:Rn*ja+oo*Sl,x4:on*Math.cos(rr),y4:on*Math.sin(rr)}},vi=function(on){return 180*on/Math.PI},Ji=function(on,zn,rr,Ir,Zr,hi){var Zi=on+.5*(rr-on),Yi=zn+.5*(Ir-zn),ya=Zr+.5*(rr-Zr),Ya=hi+.5*(Ir-hi),so=Math.min(on,Zr,Zi,ya),to=Math.max(on,Zr,Zi,ya),Al=Math.min(zn,hi,Yi,Ya),Rn=Math.max(zn,hi,Yi,Ya);return new le(so,Al,to-so,Rn-Al)},As=function(on,zn,rr,Ir,Zr,hi,Zi,Yi){var ya,Ya,so,to,Al,Rn,oo,xu,Sl,ja,Il,No,El,gl,rc=rr-on,Mu=Ir-zn,Au=Zr-rr,ju=hi-Ir,ku=Zi-Zr,Xo=Yi-hi;for(Ya=0;Ya<41;Ya++)Sl=(oo=(so=on+(ya=Ya/40)*rc)+ya*((Al=rr+ya*Au)-so))+ya*(Al+ya*(Zr+ya*ku-Al)-oo),ja=(xu=(to=zn+ya*Mu)+ya*((Rn=Ir+ya*ju)-to))+ya*(Rn+ya*(hi+ya*Xo-Rn)-xu),Ya==0?(Il=Sl,No=ja,El=Sl,gl=ja):(Il=Math.min(Il,Sl),No=Math.min(No,ja),El=Math.max(El,Sl),gl=Math.max(gl,ja));return new le(Math.round(Il),Math.round(No),Math.round(El-Il),Math.round(gl-No))},Fa=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,zn,rr=(on=this.ctx.lineDash,zn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:zn}));this.prevLineDash!==rr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=rr)}}})(To.API),function(r){var l=function(ve){var le,xe,Re,et,Nt,en,$e,Fn,Cn,Pn;for(/[^\x00-\xFF]/.test(ve),xe=[],Re=0,et=(ve+=le="\0\0\0\0".slice(ve.length%4||4)).length;et>Re;Re+=4)(Nt=(ve.charCodeAt(Re)<<24)+(ve.charCodeAt(Re+1)<<16)+(ve.charCodeAt(Re+2)<<8)+ve.charCodeAt(Re+3))!==0?(en=(Nt=((Nt=((Nt=((Nt=(Nt-(Pn=Nt%85))/85)-(Cn=Nt%85))/85)-(Fn=Nt%85))/85)-($e=Nt%85))/85)%85,xe.push(en+33,$e+33,Fn+33,Cn+33,Pn+33)):xe.push(122);return function(dn,yr){for(var ar=yr;ar>0;ar--)dn.pop()}(xe,le.length),String.fromCharCode.apply(String,xe)+"~>"},s=function(ve){var le,xe,Re,et,Nt,en=String,$e="length",Fn=255,Cn="charCodeAt",Pn="slice",dn="replace";for(ve[Pn](-2),ve=ve[Pn](0,-2)[dn](/\s/g,"")[dn]("z","!!!!!"),Re=[],et=0,Nt=(ve+=le="uuuuu"[Pn](ve[$e]%5||5))[$e];Nt>et;et+=5)xe=52200625*(ve[Cn](et)-33)+614125*(ve[Cn](et+1)-33)+7225*(ve[Cn](et+2)-33)+85*(ve[Cn](et+3)-33)+(ve[Cn](et+4)-33),Re.push(Fn&xe>>24,Fn&xe>>16,Fn&xe>>8,Fn&xe);return function(yr,ar){for(var Wn=ar;Wn>0;Wn--)yr.pop()}(Re,le[$e]),en.fromCharCode.apply(en,Re)},p=function(ve){return ve.split("").map(function(le){return("0"+le.charCodeAt().toString(16)).slice(-2)}).join("")+">"},I=function(ve){var le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ve=ve.replace(/\s/g,"")).indexOf(">")!==-1&&(ve=ve.substr(0,ve.indexOf(">"))),ve.length%2&&(ve+="0"),le.test(ve)===!1)return"";for(var xe="",Re=0;ReCn&&(Fn=Pn,Pn=Cn,Cn=Fn);else{if(le!=="l"&&le!=="landscape")throw"Invalid orientation: "+le;le="l",Cn>Pn&&(Fn=Pn,Pn=Cn,Cn=Fn)}return{width:Pn,height:Cn,unit:xe,k:Nt,orientation:le}},r.html=function(le,xe){(xe=xe||{}).callback=xe.callback||function(){},xe.html2canvas=xe.html2canvas||{},xe.html2canvas.canvas=xe.html2canvas.canvas||this.canvas,xe.jsPDF=xe.jsPDF||this,xe.fontFaces=xe.fontFaces?xe.fontFaces.map(UA):null;var Re=new ve(xe);return xe.worker?Re:Re.from(le).doCallback()}}(To.API),To.API.addJS=function(r){return i=r,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&n!==void 0&&this.internal.out("/Names <>")}),this},function(r){var l;r.events.push(["postPutResources",function(){var s=this,p=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var I=s.outline.render().split(/\r\n/),M=0;M> endobj")}var $e=s.internal.newObject();for(s.internal.write("<< /Names [ "),M=0;M>","endobj"),l=s.internal.newObject(),s.internal.write("<< /Dests "+$e+" 0 R"),s.internal.write(">>","endobj")}}]),r.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+l+" 0 R"))}]),r.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(p,I,M){var ve={title:I,options:M,children:[]};return p==null&&(p=this.root),p.children.push(ve),ve},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(p){p.id=s.internal.newObjectDeferred();for(var I=0;I0&&(this.line("/First "+this.makeRef(p.children[0])),this.line("/Last "+this.makeRef(p.children[p.children.length-1]))),this.line("/Count "+this.count_r({count:0},p)),this.objEnd()},s.outline.renderItems=function(p){for(var I=this.ctx.pdf.internal.getVerticalCoordinateString,M=0;M0&&this.line("/Prev "+this.makeRef(p.children[M-1])),M0&&(this.line("/First "+this.makeRef(ve.children[0])),this.line("/Last "+this.makeRef(ve.children[ve.children.length-1])));var le=this.count=this.count_r({count:0},ve);if(le>0&&this.line("/Count "+le),ve.options&&ve.options.pageNumber){var xe=s.internal.getPageInfo(ve.options.pageNumber);this.line("/Dest ["+xe.objId+" 0 R /XYZ 0 "+I(0)+" 0]")}this.objEnd()}for(var Re=0;Re>"}),"transparency"in Ln&&Array.isArray(Ln.transparency)&&Ln.transparency.length>0){for(var Wi="",vi=0,Ji=Ln.transparency.length;vi>",Cn.content=M;var ar=Cn.objId+" 0 R";M="<>";else if(p.options.pageNumber)switch(M="<=0};r.__arabicParser__.arabicLetterHasIsolatedForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length>=1};var Re=r.__arabicParser__.arabicLetterHasFinalForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length>=2};r.__arabicParser__.arabicLetterHasInitialForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length>=3};var et=r.__arabicParser__.arabicLetterHasMedialForm=function(Cn){return ve(Cn)&&M(Cn)&&l[Cn.charCodeAt(0)].length==4},Nt=r.__arabicParser__.resolveLigatures=function(Cn){var Pn=0,dn=s,yr="",ar=0;for(Pn=0;Pn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+l+" 0 R")})),this},function(r){var l=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(le){s=le}});var p=150;Object.defineProperty(this,"width",{get:function(){return p},set:function(le){p=isNaN(le)||Number.isInteger(le)===!1||le<0?150:le,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=p+1)}});var I=300;Object.defineProperty(this,"height",{get:function(){return I},set:function(le){I=isNaN(le)||Number.isInteger(le)===!1||le<0?300:le,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=I+1)}});var M=[];Object.defineProperty(this,"childNodes",{get:function(){return M},set:function(le){M=le}});var ve={};Object.defineProperty(this,"style",{get:function(){return ve},set:function(le){ve=le}}),Object.defineProperty(this,"parentNode",{})};l.prototype.getContext=function(s,p){var I;if((s=s||"2d")!=="2d")return null;for(I in p)this.pdf.context2d.hasOwnProperty(I)&&(this.pdf.context2d[I]=p[I]);return this.pdf.context2d._canvas=this,this.pdf.context2d},l.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},r.events.push(["initialized",function(){this.canvas=new l,this.canvas.pdf=this}])}(To.API),function(r){var l={left:0,top:0,bottom:0,right:0},s=!1,p=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},l),this.internal.__cell__.margins.width=this.getPageWidth(),I.call(this))},I=function(){this.internal.__cell__.lastCell=new M,this.internal.__cell__.pages=1},M=function(){var xe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return xe},set:function(Cn){xe=Cn}});var Re=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Re},set:function(Cn){Re=Cn}});var et=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return et},set:function(Cn){et=Cn}});var Nt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Nt},set:function(Cn){Nt=Cn}});var en=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return en},set:function(Cn){en=Cn}});var $e=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return $e},set:function(Cn){$e=Cn}});var Fn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Fn},set:function(Cn){Fn=Cn}}),this};M.prototype.clone=function(){return new M(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},M.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},r.setHeaderFunction=function(xe){return p.call(this),this.internal.__cell__.headerFunction=typeof xe=="function"?xe:void 0,this},r.getTextDimensions=function(xe,Re){p.call(this);var et=(Re=Re||{}).fontSize||this.getFontSize(),Nt=Re.font||this.getFont(),en=Re.scaleFactor||this.internal.scaleFactor,$e=0,Fn=0,Cn=0,Pn=this;if(!Array.isArray(xe)&&typeof xe!="string"){if(typeof xe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");xe=String(xe)}var dn=Re.maxWidth;dn>0?typeof xe=="string"?xe=this.splitTextToSize(xe,dn):Object.prototype.toString.call(xe)==="[object Array]"&&(xe=xe.reduce(function(ar,Wn){return ar.concat(Pn.splitTextToSize(Wn,dn))},[])):xe=Array.isArray(xe)?xe:[xe];for(var yr=0;yrthis.getPageHeight()?(this.cellAddPage(),xe.y=Nt.top,$e&&en&&(this.printHeaderRow(xe.lineNumber,!0),xe.y+=en[0].height)):xe.y=Re.y+Re.height||xe.y),xe.text[0]!==void 0&&(this.rect(xe.x,xe.y,xe.width,xe.height,s===!0?"FD":void 0),xe.align==="right"?this.text(xe.text,xe.x+xe.width-et,xe.y+et,{align:"right",baseline:"top"}):xe.align==="center"?this.text(xe.text,xe.x+xe.width/2,xe.y+et,{align:"center",baseline:"top",maxWidth:xe.width-et-et}):this.text(xe.text,xe.x+et,xe.y+et,{align:"left",baseline:"top",maxWidth:xe.width-et-et})),this.internal.__cell__.lastCell=xe,this};r.table=function(xe,Re,et,Nt,en){if(p.call(this),!et)throw new Error("No data for PDF table.");var $e,Fn,Cn,Pn,dn=[],yr=[],ar=[],Wn={},Ei={},sa=[],Ki=[],Ur=(en=en||{}).autoSize||!1,Xn=en.printHeaders!==!1,si=en.css&&en.css["font-size"]!==void 0?16*en.css["font-size"]:en.fontSize||12,An=en.margins||Object.assign({width:this.getPageWidth()},l),Ln=typeof en.padding=="number"?en.padding:3,wr=en.headerBackgroundColor||"#c8c8c8",hr=en.headerTextColor||"#000";if(I.call(this),this.internal.__cell__.printHeaders=Xn,this.internal.__cell__.margins=An,this.internal.__cell__.table_font_size=si,this.internal.__cell__.padding=Ln,this.internal.__cell__.headerBackgroundColor=wr,this.internal.__cell__.headerTextColor=hr,this.setFontSize(si),Nt==null)yr=dn=Object.keys(et[0]),ar=dn.map(function(){return"left"});else if(Array.isArray(Nt)&&(0,a.Z)(Nt[0])==="object")for(dn=Nt.map(function(As){return As.name}),yr=Nt.map(function(As){return As.prompt||As.name||""}),ar=Nt.map(function(As){return As.align||"left"}),$e=0;$e0&&this.setTableHeaderRow(en),this.setFont(void 0,"normal"),s=!1}}(To.API);var Hc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},md=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],nA=Ku(md),uA=[100,200,300,400,500,600,700,800,900],rf=Ku(uA);function UA(r){var l=r.family.replace(/"|'/g,"").toLowerCase(),s=function(M){return Hc[M=M||"normal"]?M:"normal"}(r.style),p=function(M){return M?typeof M=="number"?M>=100&&M<=900&&M%100==0?M:400:/^\d00$/.test(M)?parseInt(M):M==="bold"?700:400:400}(r.weight),I=function(M){return typeof nA[M=M||"normal"]=="number"?M:"normal"}(r.stretch);return{family:l,style:s,weight:p,stretch:I,src:r.src||[],ref:r.ref||{name:l,style:[I,s,p].join(" ")}}}function GA(r,l,s,p){var I;for(I=s;I>=0&&I=0&&I>>1)&255}return I}function Pt(r,l,s){var p=r.length,I=[];I[0]=4;for(var M=0;M>M&ve}function Ar(r,l,s,p){var I=s*p,M=Math.floor(I/8),ve=16-(I-8*M+p),le=(1<>8&255;Re.setUint8(et,en)}})(r,M,Or(r,M)&~(le<>7,ve=1<<1+(7&I);r[l++],r[l++];var le=null,xe=null;M&&(le=l,xe=ve,l+=3*ve);var Re=!0,et=[],Nt=0,en=null,$e=0,Fn=null;for(this.width=s,this.height=p;Re&&l=0))throw Error("Invalid block size");if(An===0)break;l+=An}break;case 249:if(r[l++]!==4||r[l+4]!==0)throw new Error("Invalid graphics extension block.");var Cn=r[l++];Nt=r[l++]|r[l++]<<8,en=r[l++],1&Cn||(en=null),$e=Cn>>2&7,l++;break;case 254:for(;;){if(!((An=r[l++])>=0))throw Error("Invalid block size");if(An===0)break;l+=An}break;default:throw new Error("Unknown graphic control label: 0x"+r[l-1].toString(16))}break;case 44:var Pn=r[l++]|r[l++]<<8,dn=r[l++]|r[l++]<<8,yr=r[l++]|r[l++]<<8,ar=r[l++]|r[l++]<<8,Wn=r[l++],Ei=Wn>>6&1,sa=1<<1+(7&Wn),Ki=le,Ur=xe,Xn=!1;Wn>>7&&(Xn=!0,Ki=l,Ur=sa,l+=3*sa);var si=l;for(l++;;){var An;if(!((An=r[l++])>=0))throw Error("Invalid block size");if(An===0)break;l+=An}et.push({x:Pn,y:dn,width:yr,height:ar,has_local_palette:Xn,palette_offset:Ki,palette_size:Ur,data_offset:si,data_length:l-si,transparent_index:en,interlaced:!!Ei,delay:Nt,disposal:$e});break;case 59:Re=!1;break;default:throw new Error("Unknown gif block: 0x"+r[l-1].toString(16))}this.numFrames=function(){return et.length},this.loopCount=function(){return Fn},this.frameInfo=function(Ln){if(Ln<0||Ln>=et.length)throw new Error("Frame index out of range.");return et[Ln]},this.decodeAndBlitFrameBGRA=function(Ln,wr){var hr=this.frameInfo(Ln),Bi=hr.width*hr.height,Hi=new Uint8Array(Bi);kr(r,hr.data_offset,Hi,Bi);var Wi=hr.palette_offset,vi=hr.transparent_index;vi===null&&(vi=256);var Ji=hr.width,As=s-Ji,Fa=Ji,on=4*(hr.y*s+hr.x),zn=4*((hr.y+hr.height)*s+hr.x),rr=on,Ir=4*As;hr.interlaced===!0&&(Ir+=4*s*7);for(var Zr=8,hi=0,Zi=Hi.length;hi=zn&&(Ir=4*As+4*s*(Zr-1),rr=on+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===vi)rr+=4;else{var ya=r[Wi+3*Yi],Ya=r[Wi+3*Yi+1],so=r[Wi+3*Yi+2];wr[rr++]=so,wr[rr++]=Ya,wr[rr++]=ya,wr[rr++]=255}--Fa}},this.decodeAndBlitFrameRGBA=function(Ln,wr){var hr=this.frameInfo(Ln),Bi=hr.width*hr.height,Hi=new Uint8Array(Bi);kr(r,hr.data_offset,Hi,Bi);var Wi=hr.palette_offset,vi=hr.transparent_index;vi===null&&(vi=256);var Ji=hr.width,As=s-Ji,Fa=Ji,on=4*(hr.y*s+hr.x),zn=4*((hr.y+hr.height)*s+hr.x),rr=on,Ir=4*As;hr.interlaced===!0&&(Ir+=4*s*7);for(var Zr=8,hi=0,Zi=Hi.length;hi=zn&&(Ir=4*As+4*s*(Zr-1),rr=on+(Ji+As)*(Zr<<1),Zr>>=1)),Yi===vi)rr+=4;else{var ya=r[Wi+3*Yi],Ya=r[Wi+3*Yi+1],so=r[Wi+3*Yi+2];wr[rr++]=ya,wr[rr++]=Ya,wr[rr++]=so,wr[rr++]=255}--Fa}}}function kr(r,l,s,p){for(var I=r[l++],M=1<>=xe,et-=xe,Pn!==M){if(Pn===ve)break;for(var dn=PnM;)ar=Fn[ar]>>8,++yr;var Wn=ar;if(en+yr+(dn!==Pn?1:0)>p)return void zu.log("Warning, gif stream longer than expected.");s[en++]=Wn;var Ei=en+=yr;for(dn!==Pn&&(s[en++]=Wn),ar=dn;yr--;)ar=Fn[ar],s[--Ei]=255&ar,ar>>=8;Cn!==null&&le<4096&&(Fn[le++]=Cn<<8|Wn,le>=Re+1&&xe<12&&(++xe,Re=Re<<1|1)),Cn=Pn}else le=ve+1,Re=(1<<(xe=I+1))-1,Cn=null}return en!==p&&zu.log("Warning, gif stream shorter than expected."),s}function gi(r){var l,s,p,I,M,ve=Math.floor,le=new Array(64),xe=new Array(64),Re=new Array(64),et=new Array(64),Nt=new Array(65535),en=new Array(65535),$e=new Array(64),Fn=new Array(64),Cn=[],Pn=0,dn=7,yr=new Array(64),ar=new Array(64),Wn=new Array(64),Ei=new Array(256),sa=new Array(2048),Ki=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ur=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Xn=[0,1,2,3,4,5,6,7,8,9,10,11],si=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],An=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ln=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],wr=[0,1,2,3,4,5,6,7,8,9,10,11],hr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Bi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Hi(on,zn){for(var rr=0,Ir=0,Zr=new Array,hi=1;hi<=16;hi++){for(var Zi=1;Zi<=on[hi];Zi++)Zr[zn[Ir]]=[],Zr[zn[Ir]][0]=rr,Zr[zn[Ir]][1]=hi,Ir++,rr++;rr*=2}return Zr}function Wi(on){for(var zn=on[0],rr=on[1]-1;rr>=0;)zn&1<>8&255),vi(255&on)}function As(on,zn,rr,Ir,Zr){for(var hi,Zi=Zr[0],Yi=Zr[240],ya=function(ja,Il){var No,El,gl,rc,Mu,Au,ju,ku,Xo,mu,nl=0;for(Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+1],gl=ja[nl+2],rc=ja[nl+3],Mu=ja[nl+4],Au=ja[nl+5],ju=ja[nl+6];var Xc=No+(ku=ja[nl+7]),Vu=No-ku,Bu=El+ju,Su=El-ju,kc=gl+Au,vl=gl-Au,Bc=rc+Mu,kl=rc-Mu,du=Xc+Bc,Uc=Xc-Bc,Du=Bu+kc,Ll=Bu-kc;ja[nl]=du+Du,ja[nl+4]=du-Du;var ic=.707106781*(Ll+Uc);ja[nl+2]=Uc+ic,ja[nl+6]=Uc-ic;var yh=.382683433*((du=kl+vl)-(Ll=Su+Vu)),QA=.5411961*du+yh,$f=1.306562965*Ll+yh,Sf=.707106781*(Du=vl+Su),Rl=Vu+Sf,e0=Vu-Sf;ja[nl+5]=e0+QA,ja[nl+3]=e0-QA,ja[nl+1]=Rl+$f,ja[nl+7]=Rl-$f,nl+=8}for(nl=0,Xo=0;Xo<8;++Xo){No=ja[nl],El=ja[nl+8],gl=ja[nl+16],rc=ja[nl+24],Mu=ja[nl+32],Au=ja[nl+40],ju=ja[nl+48];var t0=No+(ku=ja[nl+56]),Ud=No-ku,Qd=El+ju,Zc=El-ju,CA=gl+Au,SA=gl-Au,bh=rc+Mu,k0=rc-Mu,af=t0+bh,If=t0-bh,sf=Qd+CA,of=Qd-CA;ja[nl]=af+sf,ja[nl+32]=af-sf;var jd=.707106781*(of+If);ja[nl+16]=If+jd,ja[nl+48]=If-jd;var Eh=.382683433*((af=k0+SA)-(of=Zc+Ud)),Ff=.5411961*af+Eh,wh=1.306562965*of+Eh,_h=.707106781*(sf=SA+Zc),$h=Ud+_h,eg=Ud-_h;ja[nl+40]=eg+Ff,ja[nl+24]=eg-Ff,ja[nl+8]=$h+wh,ja[nl+56]=$h-wh,nl++}for(Xo=0;Xo<64;++Xo)mu=ja[Xo]*Il[Xo],$e[Xo]=mu>0?mu+.5|0:mu-.5|0;return $e}(on,zn),Ya=0;Ya<64;++Ya)Fn[Ki[Ya]]=ya[Ya];var so=Fn[0]-rr;rr=Fn[0],so==0?Wi(Ir[0]):(Wi(Ir[en[hi=32767+so]]),Wi(Nt[hi]));for(var to=63;to>0&&Fn[to]==0;)to--;if(to==0)return Wi(Zi),rr;for(var Al,Rn=1;Rn<=to;){for(var oo=Rn;Fn[Rn]==0&&Rn<=to;)++Rn;var xu=Rn-oo;if(xu>=16){Al=xu>>4;for(var Sl=1;Sl<=Al;++Sl)Wi(Yi);xu&=15}hi=32767+Fn[Rn],Wi(Zr[(xu<<4)+en[hi]]),Wi(Nt[hi]),Rn++}return to!=63&&Wi(Zi),rr}function Fa(on){on=Math.min(Math.max(on,1),100),M!=on&&(function(zn){for(var rr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ir=0;Ir<64;Ir++){var Zr=ve((rr[Ir]*zn+50)/100);Zr=Math.min(Math.max(Zr,1),255),le[Ki[Ir]]=Zr}for(var hi=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Zi=0;Zi<64;Zi++){var Yi=ve((hi[Zi]*zn+50)/100);Yi=Math.min(Math.max(Yi,1),255),xe[Ki[Zi]]=Yi}for(var ya=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ya=0,so=0;so<8;so++)for(var to=0;to<8;to++)Re[Ya]=1/(le[Ki[Ya]]*ya[so]*ya[to]*8),et[Ya]=1/(xe[Ki[Ya]]*ya[so]*ya[to]*8),Ya++}(on<50?Math.floor(5e3/on):Math.floor(200-2*on)),M=on)}this.encode=function(on,zn){zn&&Fa(zn),Cn=new Array,Pn=0,dn=7,Ji(65496),Ji(65504),Ji(16),vi(74),vi(70),vi(73),vi(70),vi(0),vi(1),vi(1),vi(0),Ji(1),Ji(1),vi(0),vi(0),function(){Ji(65499),Ji(132),vi(0);for(var El=0;El<64;El++)vi(le[El]);vi(1);for(var gl=0;gl<64;gl++)vi(xe[gl])}(),function(El,gl){Ji(65472),Ji(17),vi(8),Ji(gl),Ji(El),vi(3),vi(1),vi(17),vi(0),vi(2),vi(17),vi(1),vi(3),vi(17),vi(1)}(on.width,on.height),function(){Ji(65476),Ji(418),vi(0);for(var El=0;El<16;El++)vi(Ur[El+1]);for(var gl=0;gl<=11;gl++)vi(Xn[gl]);vi(16);for(var rc=0;rc<16;rc++)vi(si[rc+1]);for(var Mu=0;Mu<=161;Mu++)vi(An[Mu]);vi(1);for(var Au=0;Au<16;Au++)vi(Ln[Au+1]);for(var ju=0;ju<=11;ju++)vi(wr[ju]);vi(17);for(var ku=0;ku<16;ku++)vi(hr[ku+1]);for(var Xo=0;Xo<=161;Xo++)vi(Bi[Xo])}(),Ji(65498),Ji(12),vi(3),vi(1),vi(0),vi(2),vi(17),vi(3),vi(17),vi(0),vi(63),vi(0);var rr=0,Ir=0,Zr=0;Pn=0,dn=7,this.encode.displayName="_encode_";for(var hi,Zi,Yi,ya,Ya,so,to,Al,Rn,oo=on.data,xu=on.width,Sl=on.height,ja=4*xu,Il=0;Il>3)*ja+(to=4*(7&Rn)),Il+Al>=Sl&&(so-=ja*(Il+1+Al-Sl)),hi+to>=ja&&(so-=hi+to-ja+4),Zi=oo[so++],Yi=oo[so++],ya=oo[so++],yr[Rn]=(sa[Zi]+sa[Yi+256|0]+sa[ya+512|0]>>16)-128,ar[Rn]=(sa[Zi+768|0]+sa[Yi+1024|0]+sa[ya+1280|0]>>16)-128,Wn[Rn]=(sa[Zi+1280|0]+sa[Yi+1536|0]+sa[ya+1792|0]>>16)-128;rr=As(yr,Re,rr,l,p),Ir=As(ar,et,Ir,s,I),Zr=As(Wn,et,Zr,s,I),hi+=32}Il+=8}if(dn>=0){var No=[];No[1]=dn+1,No[0]=(1<Ln;Ln++)if(Xn[si+Ln]!=An.charCodeAt(Ln))return!0;return!1}function p(Xn,si,An,Ln,wr){for(var hr=0;hrhr+1?[]:new si),!(Bi.length>>0;j&Ze;)Ze>>>=1;return Ze?(j&Ze-1)+Ze:j}function An(j,ae,Ze,lt,Kt){l(!(lt%Ze));do j[ae+(lt-=Ze)]=Kt;while(0=Kt),512>=Kt)var an=M(512);else if((an=M(Kt))==null)return 0;return function(sn,pn,wn,Mn,Nr,bi){var kn,Hr,li=pn,ia=1<kn;++kn){if(mi[kn]>1<(bu-=mi[kn]))return 0;for(;0=kn;++kn,Nr<<=1){if(Po+=bu<<=1,0>(bu-=mi[kn]))return 0;for(;0Ka&&!(0>=(ha-=mi[Ka]));)++Ka,ha<<=1;ia+=zo=1<<(ha=Ka-wn),sn[pn+(Ka=qo&La)].g=ha+wn,sn[pn+Ka].value=li-pn-Ka}Mn.g=kn-wn,Mn.value=bi[Hr++],An(sn,li+(qo>>wn),Nr,zo,Mn),qo=si(qo,kn)}}return Po!=2*ua[15]-1?0:ia}(j,ae,Ze,lt,Kt,an)}function wr(){this.value=this.g=0}function hr(){this.value=this.g=0}function Bi(){this.G=ve(5,wr),this.H=M(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ve(Rh,hr)}function Hi(j,ae,Ze,lt){l(j!=null),l(ae!=null),l(2147483648>lt),j.Ca=254,j.I=0,j.b=-8,j.Ka=0,j.oa=ae,j.pa=Ze,j.Jd=ae,j.Yc=Ze+lt,j.Zc=4<=lt?Ze+lt-4+1:Ze,Zi(j)}function Wi(j,ae){for(var Ze=0;0lt),j.Sb=lt,j.Ra=0,j.u=0,j.h=0,4>>=8,j.Ra+=j.oa[j.pa+j.bb]<>>0,++j.bb,j.u-=8;Ir(j)&&(j.h=1,j.u=0)}function Fa(j,ae){if(l(0<=ae),!j.h&&ae<=yd){var Ze=rr(j)&vd[ae];return j.u+=ae,As(j),Ze}return j.h=1,j.u=0}function on(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function zn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function rr(j){return j.Ra>>>(j.u&H0-1)>>>0}function Ir(j){return l(j.bb<=j.Sb),j.h||j.bb==j.Sb&&j.u>H0}function Zr(j,ae){j.u=ae,j.h=Ir(j)}function hi(j){j.u>=d0&&(l(j.u>=d0),As(j))}function Zi(j){l(j!=null&&j.oa!=null),j.pa>>0,j.b+=8):(l(j!=null&&j.oa!=null),j.paj.b&&Zi(j);var lt=j.b,Kt=Ze*ae>>>8,an=(j.I>>>lt>Kt)+0;for(an?(Ze-=Kt,j.I-=Kt+1<>>0):Ze=Kt+1,lt=Ze,Kt=0;256<=lt;)Kt+=8,lt>>=8;return lt=7^Kt+z0[lt],j.b-=lt,j.Ca=(Ze<>24&255,j[ae+1]=Ze>>16&255,j[ae+2]=Ze>>8&255,j[ae+3]=255&Ze}function so(j,ae){return j[ae+0]|j[ae+1]<<8}function to(j,ae){return so(j,ae)|j[ae+2]<<16}function Al(j,ae){return so(j,ae)|so(j,ae+2)<<16}function Rn(j,ae){var Ze=1<=Kt||0>=an?0:(Ze[0]=Kt,lt[0]=an,1)}function ja(j,ae){return j+(1<>>ae}function Il(j,ae){return((4278255360&j)+(4278255360&ae)>>>0&4278255360)+((16711935&j)+(16711935&ae)>>>0&16711935)>>>0}function No(j,ae){Xn[ae]=function(Ze,lt,Kt,an,sn,pn,wn){var Mn;for(Mn=0;Mn>>1)+(j&ae)>>>0}function rc(j){return 0<=j&&256>j?j:0>j?0:255>1))}function Au(j,ae,Ze){return Math.abs(ae-Ze)-Math.abs(j-Ze)}function ju(j,ae,Ze,lt,Kt,an,sn){for(lt=an[sn-1],Ze=0;Ze>8&255,wn=16711935&(wn=(wn=16711935&sn)+((pn<<16)+pn));lt[Kt+an]=(4278255360&sn)+wn>>>0}}function Xo(j,ae){ae.jd=255&j,ae.hd=j>>8&255,ae.ud=j>>16&255}function mu(j,ae,Ze,lt,Kt,an){var sn;for(sn=0;sn>>8,Mn=pn,Nr=255&(Nr=(Nr=pn>>>16)+((j.jd<<24>>24)*(wn<<24>>24)>>>5));Mn=255&(Mn=(Mn+=(j.hd<<24>>24)*(wn<<24>>24)>>>5)+((j.ud<<24>>24)*(Nr<<24>>24)>>>5)),Kt[an+sn]=(4278255360&pn)+(Nr<<16)+Mn}}function nl(j,ae,Ze,lt,Kt){Xn[ae]=function(an,sn,pn,wn,Mn,Nr,bi,kn,Hr){for(wn=bi;wn>an.b,Hr=an.Ea,li=an.K[0],ia=an.w;if(8>kn)for(an=(1<>=kn}else Xn["VP8LMapColor"+Ze](wn,Mn,li,ia,Nr,bi,sn,pn,Hr)}}function Xc(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&255,lt[Kt++]=an>>8&255,lt[Kt++]=255&an}}function Vu(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&255,lt[Kt++]=an>>8&255,lt[Kt++]=255&an,lt[Kt++]=an>>24&255}}function Bu(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&240|sn>>12&15,sn=240&sn|sn>>28&15;lt[Kt++]=an,lt[Kt++]=sn}}function Su(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>16&248|sn>>13&7,sn=sn>>5&224|sn>>3&31;lt[Kt++]=an,lt[Kt++]=sn}}function kc(j,ae,Ze,lt,Kt){for(Ze=ae+Ze;ae>8&255,lt[Kt++]=an>>16&255}}function vl(j,ae,Ze,lt,Kt,an){if(an==0)for(Ze=ae+Ze;ae>24|an[1]>>8&65280|an[2]<<8&16711680|an[3]<<24)>>>0),Kt+=32;else p(lt,Kt,j,ae,Ze)}function Bc(j,ae){Xn[ae][0]=Xn[j+"0"],Xn[ae][1]=Xn[j+"1"],Xn[ae][2]=Xn[j+"2"],Xn[ae][3]=Xn[j+"3"],Xn[ae][4]=Xn[j+"4"],Xn[ae][5]=Xn[j+"5"],Xn[ae][6]=Xn[j+"6"],Xn[ae][7]=Xn[j+"7"],Xn[ae][8]=Xn[j+"8"],Xn[ae][9]=Xn[j+"9"],Xn[ae][10]=Xn[j+"10"],Xn[ae][11]=Xn[j+"11"],Xn[ae][12]=Xn[j+"12"],Xn[ae][13]=Xn[j+"13"],Xn[ae][14]=Xn[j+"0"],Xn[ae][15]=Xn[j+"0"]}function kl(j){return j==_p||j==$p||j==Cp||j==em}function du(){this.eb=[],this.size=this.A=this.fb=0}function Uc(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Du(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new du,this.f.kb=new Uc,this.sd=null}function Ll(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ic(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function yh(j){return alert("todo:WebPSamplerProcessPlane"),j.T}function QA(j,ae){var Ze=j.T,lt=ae.ba.f.RGBA,Kt=lt.eb,an=lt.fb+j.ka*lt.A,sn=Vd[ae.ba.S],pn=j.y,wn=j.O,Mn=j.f,Nr=j.N,bi=j.ea,kn=j.W,Hr=ae.cc,li=ae.dc,ia=ae.Mc,mi=ae.Nc,ua=j.ka,ha=j.ka+j.T,Ka=j.U,La=Ka+1>>1;for(ua==0?sn(pn,wn,null,null,Mn,Nr,bi,kn,Mn,Nr,bi,kn,Kt,an,null,null,Ka):(sn(ae.ec,ae.fc,pn,wn,Hr,li,ia,mi,Mn,Nr,bi,kn,Kt,an-lt.A,Kt,an,Ka),++Ze);ua+2Ze,Kt=Ze==bp||Ze==Ep||Ze==wp||Ze==qp||Ze==12||kl(Ze);if(ae.memory=null,ae.Ib=null,ae.Jb=null,ae.Nd=null,!Ng(ae.Oa,j,Kt?11:12))return 0;if(Kt&&kl(Ze)&&Lg(),j.da)alert("todo:use_scaling");else{if(lt){if(ae.Ib=yh,j.Kb){if(Ze=j.U+1>>1,ae.memory=M(j.U+2*Ze),ae.memory==null)return 0;ae.ec=ae.memory,ae.fc=0,ae.cc=ae.ec,ae.dc=ae.fc+j.U,ae.Mc=ae.cc,ae.Nc=ae.dc+Ze,ae.Ib=QA,Lg()}}else alert("todo:EmitYUV");Kt&&(ae.Jb=$f,lt&&uf())}if(lt&&!Um){for(j=0;256>j;++j)bv[j]=89858*(j-128)+Bp>>xp,Cv[j]=-22014*(j-128)+Bp,wv[j]=-45773*(j-128),Ev[j]=113618*(j-128)+Bp>>xp;for(j=Wg;j>xp,xv[j-Wg]=Df(ae,255),Bv[j-Wg]=Df(ae+8>>4,15);Um=1}return 1}function Rl(j){var ae=j.ma,Ze=j.U,lt=j.T;return l(!(1&j.ka)),0>=Ze||0>=lt?0:(Ze=ae.Ib(j,ae),ae.Jb!=null&&ae.Jb(j,ae,Ze),ae.Dc+=Ze,1)}function e0(j){j.ma.memory=null}function t0(j,ae,Ze,lt){return Fa(j,8)!=47?0:(ae[0]=Fa(j,14)+1,Ze[0]=Fa(j,14)+1,lt[0]=Fa(j,1),Fa(j,3)!=0?0:!j.h)}function Ud(j,ae){if(4>j)return j+1;var Ze=j-2>>1;return(2+(1&j)<>4)*j+(8-(15&Ze)))?Ze:1;var Ze}function Zc(j,ae,Ze){var lt=rr(Ze),Kt=j[ae+=255<].g-8;return 0>>0,l(8>=Ze.g),j.g}function SA(j,ae,Ze){var lt=j.xc;return l((ae=lt==0?0:j.vc[j.md*(Ze>>lt)+(ae>>lt)])>zo.b)*Po;iaKa&&(Ko=Ka),(0,Qg[Hu[gA++]>>8&15])(kn,Hr+ +Eu,ua,ha+Eu-Ka,Ko-Eu,ua,ha+Eu),Eu=Ko}Hr+=Ka,ha+=Ka,++ia&qo||(zo+=Po)}bi!=Mn.nc&&p(wn,pn-li,wn,pn+(bi-Nr-1)*li,li);break;case 1:for(li=kn,mi=Hr,Ka=(kn=Mn.Ea)-(ha=kn&~(ua=(Hr=1<>Mn.b)*ia;Nr=Kt),0an.o&&(lt=an.o),Ze=lt?Ze=0:(Kt[0]+=4*an.v,an.ka=Ze-an.j,an.U=an.va-an.v,an.T=lt-Ze,Ze=1),Ze){if(pn=pn[0],11>(Ze=j.ca).S){var Nr=Ze.f.RGBA,bi=(lt=Ze.S,Kt=an.U,an=an.T,Mn=Nr.eb,Nr.A),kn=an;for(Nr=Nr.fb+j.Ma*Nr.A;0lt){var Kt=j.l.width,an=Ze.ca,sn=Ze.tb+Kt*lt,pn=j.V,wn=j.Ba+j.c*lt,Mn=j.gc;l(j.ab==1),l(Mn[0].hc==3),Rf(Mn[0],lt,ae,pn,wn,an,sn),If(Ze,lt,ae,an,sn,Kt)}j.C=j.Ma=ae}function of(j,ae,Ze,lt,Kt,an,sn){var pn=j.$/lt,wn=j.$%lt,Mn=j.m,Nr=j.s,bi=Ze+j.$,kn=bi;Kt=Ze+lt*Kt;var Hr=Ze+lt*an,li=280+Nr.ua,ia=j.Pb?pn:16777216,mi=0=ia){var qo=bi-Ze;l((ia=j).Pb),ia.wd=ia.m,ia.xd=qo,0bu.g?(Zr(La,La.u+bu.g),qo[Po]=bu.value,La=0):(Zr(La,La.u+bu.g-256),l(256<=bu.value),La=bu.value),La==0&&(Ka=!0)}else La=Zc(ha.G[0],ha.H[0],Mn);if(Mn.h)break;if(Ka||256>La){if(!Ka)if(ha.nd)ae[bi]=(ha.qb|La<<8)>>>0;else{if(hi(Mn),Ka=Zc(ha.G[1],ha.H[1],Mn),hi(Mn),qo=Zc(ha.G[2],ha.H[2],Mn),Po=Zc(ha.G[3],ha.H[3],Mn),Mn.h)break;ae[bi]=(Po<<24|Ka<<16|La<<8|qo)>>>0}if(Ka=!1,++bi,++wn>=lt&&(wn=0,++pn,sn!=null&&pn<=an&&!(pn%16)&&sn(j,pn),mi!=null))for(;kn>>mi.Mb]=La}else if(280>La){if(La=Ud(La-256,Mn),qo=Zc(ha.G[4],ha.H[4],Mn),hi(Mn),qo=Qd(lt,qo=Ud(qo,Mn)),Mn.h)break;if(bi-Ze=lt;)wn-=lt,++pn,sn!=null&&pn<=an&&!(pn%16)&&sn(j,pn);if(l(bi<=Kt),wn&ua&&(ha=SA(Nr,wn,pn)),mi!=null)for(;kn>>mi.Mb]=La}else{if(!(La>>mi.Mb]=La;La=bi,l(!(Ka>>>(qo=mi).Xa)),ae[La]=qo.X[Ka],Ka=!0}Ka||l(Mn.h==Ir(Mn))}if(j.Pb&&Mn.h&&bian?an:pn),j.a=0,j.$=bi-Ze}return 1}return j.a=3,0}function jd(j){l(j!=null),j.vc=null,j.yc=null,j.Ya=null;var ae=j.Wa;ae!=null&&(ae.X=null),j.vb=null,l(j!=null)}function Eh(){var j=new $l;return j==null?null:(j.a=0,j.xb=Lm,Bc("Predictor","VP8LPredictors"),Bc("Predictor","VP8LPredictors_C"),Bc("PredictorAdd","VP8LPredictorsAdd"),Bc("PredictorAdd","VP8LPredictorsAdd_C"),Yc=ku,jg=mu,Hg=Xc,K0=Vu,Z0=Bu,W0=Su,Oh=kc,Xn.VP8LMapColor32b=Lf,Xn.VP8LMapColor8b=Ug,j)}function Ff(j,ae,Ze,lt,Kt){var an=1,sn=[j],pn=[ae],wn=lt.m,Mn=lt.s,Nr=null,bi=0;e:for(;;){if(Ze)for(;an&&Fa(wn,1);){var kn=sn,Hr=pn,li=lt,ia=1,mi=li.m,ua=li.gc[li.ab],ha=Fa(mi,2);if(li.Oc&1<=li.ab),ha){case 0:case 1:ua.b=Fa(mi,3)+2,ia=Ff(ja(ua.Ea,ua.b),ja(ua.nc,ua.b),0,li,ua.K),ua.K=ua.K[0];break;case 3:var Ka,La=Fa(mi,8)+1,qo=16>zo.b),gA=M(Hu);if(gA==null)Ka=0;else{var Eu=zo.K[0],Ko=zo.w;for(gA[0]=zo.K[0][0],Po=1;Po<1*bu;++Po)gA[Po]=Il(Eu[Ko+Po],gA[Po-1]);for(;Po<4*Hu;++Po)gA[Po]=0;zo.K[0]=null,zo.K[0]=gA,Ka=1}}ia=Ka;break;case 2:break;default:l(0)}an=ia}}if(sn=sn[0],pn=pn[0],an&&Fa(wn,1)&&!(an=1<=(bi=Fa(wn,4))&&11>=bi)){lt.a=3;break e}var Zs;if(Zs=an)t:{var qc,fu,Zu,Oc=lt,DA=sn,YA=pn,Wc=bi,jA=Ze,JA=Oc.m,pA=Oc.s,Xu=[null],Ac=1,Vc=0,dc=ov[Wc];n:for(;;){if(jA&&Fa(JA,1)){var TA=Fa(JA,3)+2,Af=ja(DA,TA),_c=ja(YA,TA),ud=Af*_c;if(!Ff(Af,_c,0,Oc,Xu))break n;for(Xu=Xu[0],pA.xc=TA,qc=0;qc>8&65535;Xu[qc]=yc,yc>=Ac&&(Ac=yc+1)}}if(JA.h)break n;for(fu=0;5>fu;++fu){var mA=Tm[fu];!fu&&0=qA),Cd=wd;var cd=M(Vc);if(Cd==null||cd==null||Ed==null){Oc.a=1;break n}var xd=Ed;for(qc=Zu=0;qcfu;++fu){mA=Tm[fu],Bd[fu]=xd,df[fu]=Zu,!fu&&0Pp)break r}else sm=Pp;for(Gg=0;Ggcg)Wm[Gg++]=cg,cg!=0&&(Vm=cg);else{var Nv=cg==16,Ym=cg-16,Mv=rv[Ym],Jm=Fa(J0,nv[Ym])+Mv;if(Gg+Jm>Pp)break r;for(var kv=Nv?Vm:0;0=fu){var Xg,lm=cd[0];for(Xg=1;Xglm&&(lm=cd[Xg]);PA+=lm}}if(Ic.nd=g0,Ic.Qb=0,g0&&(Ic.qb=(Bd[3][df[3]+0].value<<24|Bd[1][df[1]+0].value<<16|Bd[2][df[2]+0].value)>>>0,Mh==0&&256>Bd[0][df[0]+0].value&&(Ic.Qb=1,Ic.qb+=Bd[0][df[0]+0].value<<8)),Ic.jc=!Ic.Qb&&6>PA,Ic.jc){var Lp,p0=Ic;for(Lp=0;Lp>=CA(Rp,8,_0),q0>>=CA(p0.G[1][p0.H[1]+q0],16,_0),q0>>=CA(p0.G[2][p0.H[2]+q0],0,_0),CA(p0.G[3][p0.H[3]+q0],24,_0))}}}pA.vc=Xu,pA.Wb=Ac,pA.Ya=Cd,pA.yc=Ed,Zs=1;break t}Zs=0}if(!(an=Zs)){lt.a=3;break e}if(0lt+1?[]:0),!(Kt.lengthj?0:j>ae?ae:j}function tg(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Np(){var j=new rp;return j!=null&&(j.a=0,j.sc="OK",j.cb=0,j.Xb=0,Zg||(Zg=ng)),j}function rA(j,ae,Ze){return j.a==0&&(j.a=ae,j.sc=Ze,j.cb=0),0}function ip(j,ae,Ze){return 3<=Ze&&j[ae+0]==157&&j[ae+1]==1&&j[ae+2]==42}function Tf(j,ae){if(j==null)return 0;if(j.a=0,j.sc="OK",ae==null)return rA(j,2,"null VP8Io passed to VP8GetHeaders()");var Ze=ae.data,lt=ae.w,Kt=ae.ha;if(4>Kt)return rA(j,7,"Truncated header.");var an=Ze[lt+0]|Ze[lt+1]<<8|Ze[lt+2]<<16,sn=j.Od;if(sn.Rb=!(1&an),sn.td=an>>1&7,sn.yd=an>>4&1,sn.ub=an>>5,3Kt)return rA(j,7,"cannot parse picture header");if(!ip(Ze,lt,Kt))return rA(j,3,"Bad code word");pn.c=16383&(Ze[lt+4]<<8|Ze[lt+3]),pn.Td=Ze[lt+4]>>6,pn.i=16383&(Ze[lt+6]<<8|Ze[lt+5]),pn.Ud=Ze[lt+6]>>6,lt+=7,Kt-=7,j.za=pn.c+15>>4,j.Ub=pn.i+15>>4,ae.width=pn.c,ae.height=pn.i,ae.Da=0,ae.j=0,ae.v=0,ae.va=ae.width,ae.o=ae.height,ae.da=0,ae.ib=ae.width,ae.hb=ae.height,ae.U=ae.width,ae.T=ae.height,I((an=j.Pa).jb,0,255,an.jb.length),l((an=j.Qa)!=null),an.Cb=0,an.Bb=0,an.Fb=1,I(an.Zb,0,0,an.Zb.length),I(an.Lb,0,0,an.Lb)}if(sn.ub>Kt)return rA(j,7,"bad partition length");Hi(an=j.m,Ze,lt,sn.ub),lt+=sn.ub,Kt-=sn.ub,sn.Rb&&(pn.Ld=Yi(an),pn.Kd=Yi(an)),pn=j.Qa;var wn,Mn=j.Pa;if(l(an!=null),l(pn!=null),pn.Cb=Yi(an),pn.Cb){if(pn.Bb=Yi(an),Yi(an)){for(pn.Fb=Yi(an),wn=0;4>wn;++wn)pn.Zb[wn]=Yi(an)?vi(an,7):0;for(wn=0;4>wn;++wn)pn.Lb[wn]=Yi(an)?vi(an,6):0}if(pn.Bb)for(wn=0;3>wn;++wn)Mn.jb[wn]=Yi(an)?Wi(an,8):255}else pn.Bb=0;if(an.Ka)return rA(j,3,"cannot parse segment header");if((pn=j.ed).zd=Yi(an),pn.Tb=Wi(an,6),pn.wb=Wi(an,3),pn.Pc=Yi(an),pn.Pc&&Yi(an)){for(Mn=0;4>Mn;++Mn)Yi(an)&&(pn.vd[Mn]=vi(an,6));for(Mn=0;4>Mn;++Mn)Yi(an)&&(pn.od[Mn]=vi(an,6))}if(j.L=pn.Tb==0?0:pn.zd?1:2,an.Ka)return rA(j,3,"cannot parse filter header");var Nr=Kt;if(Kt=wn=lt,lt=wn+Nr,pn=Nr,j.Xb=(1<pn&&(bi=pn),Hi(j.Jc[+Nr],Ze,wn,bi),wn+=bi,pn-=bi,Kt+=3}Hi(j.Jc[+Mn],Ze,wn,pn),Ze=wnbi;++bi){if(Nr.Cb){var kn=Nr.Zb[bi];Nr.Fb||(kn+=Ze)}else{if(0>16,8>Hr.Eb[1]&&(Hr.Eb[1]=8),Hr.Qc[0]=tm[Df(kn+Mn,117)],Hr.Qc[1]=nm[Df(kn+wn,127)],Hr.lc=kn+wn}if(!sn.Rb)return rA(j,4,"Not a key frame.");for(Yi(an),sn=j.Pa,Ze=0;4>Ze;++Ze){for(Kt=0;8>Kt;++Kt)for(lt=0;3>lt;++lt)for(pn=0;11>pn;++pn)Mn=ya(an,fv[Ze][Kt][lt][pn])?Wi(an,8):Av[Ze][Kt][lt][pn],sn.Wc[Ze][Kt].Yb[lt][pn]=Mn;for(Kt=0;17>Kt;++Kt)sn.Xc[Ze][Kt]=sn.Wc[Ze][hv[Kt]]}return j.kc=Yi(an),j.kc&&(j.Bd=Wi(an,8)),j.cb=1}function ng(j,ae,Ze,lt,Kt,an,sn){var pn=ae[Kt].Yb[Ze];for(Ze=0;16>Kt;++Kt){if(!ya(j,pn[Ze+0]))return Kt;for(;!ya(j,pn[Ze+1]);)if(pn=ae[++Kt].Yb[0],Ze=0,Kt==16)return 16;var wn=ae[Kt+1].Yb;if(ya(j,pn[Ze+2])){var Mn=j,Nr=0;if(ya(Mn,(kn=pn)[(bi=Ze)+3]))if(ya(Mn,kn[bi+6])){for(pn=0,bi=2*(Nr=ya(Mn,kn[bi+8]))+(kn=ya(Mn,kn[bi+9+Nr])),Nr=0,kn=uv[bi];kn[pn];++pn)Nr+=Nr+ya(Mn,kn[pn]);Nr+=3+(8<(Mn=j).b&&Zi(Mn);var bi,kn=Mn.b,Hr=(bi=Mn.Ca>>1)-(Mn.I>>kn)>>31;--Mn.b,Mn.Ca+=Hr,Mn.Ca|=1,Mn.I-=(bi+1&Hr)<>3),j[ae+Ze+32*lt]=-256&Kt?0>Kt?0:255:Kt}function dA(j,ae,Ze,lt,Kt,an){zd(j,ae,0,Ze,lt+Kt),zd(j,ae,1,Ze,lt+an),zd(j,ae,2,Ze,lt-an),zd(j,ae,3,Ze,lt-Kt)}function n0(j){return(20091*j>>16)+j}function sp(j,ae,Ze,lt){var Kt,an=0,sn=M(16);for(Kt=0;4>Kt;++Kt){var pn=j[ae+0]+j[ae+8],wn=j[ae+0]-j[ae+8],Mn=(35468*j[ae+4]>>16)-n0(j[ae+12]),Nr=n0(j[ae+4])+(35468*j[ae+12]>>16);sn[an+0]=pn+Nr,sn[an+1]=wn+Mn,sn[an+2]=wn-Mn,sn[an+3]=pn-Nr,an+=4,ae++}for(Kt=an=0;4>Kt;++Kt)pn=(j=sn[an+0]+4)+sn[an+8],wn=j-sn[an+8],Mn=(35468*sn[an+4]>>16)-n0(sn[an+12]),zd(Ze,lt,0,0,pn+(Nr=n0(sn[an+4])+(35468*sn[an+12]>>16))),zd(Ze,lt,1,0,wn+Mn),zd(Ze,lt,2,0,wn-Mn),zd(Ze,lt,3,0,pn-Nr),an++,lt+=32}function Mp(j,ae,Ze,lt){var Kt=j[ae+0]+4,an=35468*j[ae+4]>>16,sn=n0(j[ae+4]),pn=35468*j[ae+1]>>16;dA(Ze,lt,0,Kt+sn,j=n0(j[ae+1]),pn),dA(Ze,lt,1,Kt+an,j,pn),dA(Ze,lt,2,Kt-an,j,pn),dA(Ze,lt,3,Kt-sn,j,pn)}function kp(j,ae,Ze,lt,Kt){sp(j,ae,Ze,lt),Kt&&sp(j,ae+16,Ze,lt+4)}function Pf(j,ae,Ze,lt){Nh(j,ae+0,Ze,lt,1),Nh(j,ae+32,Ze,lt+128,1)}function op(j,ae,Ze,lt){var Kt;for(j=j[ae+0]+4,Kt=0;4>Kt;++Kt)for(ae=0;4>ae;++ae)zd(Ze,lt,ae,Kt,j)}function lp(j,ae,Ze,lt){j[ae+0]&&ac(j,ae+0,Ze,lt),j[ae+16]&&ac(j,ae+16,Ze,lt+4),j[ae+32]&&ac(j,ae+32,Ze,lt+128),j[ae+48]&&ac(j,ae+48,Ze,lt+128+4)}function rg(j,ae,Ze,lt){var Kt,an=M(16);for(Kt=0;4>Kt;++Kt){var sn=j[ae+0+Kt]+j[ae+12+Kt],pn=j[ae+4+Kt]+j[ae+8+Kt],wn=j[ae+4+Kt]-j[ae+8+Kt],Mn=j[ae+0+Kt]-j[ae+12+Kt];an[0+Kt]=sn+pn,an[8+Kt]=sn-pn,an[4+Kt]=Mn+wn,an[12+Kt]=Mn-wn}for(Kt=0;4>Kt;++Kt)sn=(j=an[0+4*Kt]+3)+an[3+4*Kt],pn=an[1+4*Kt]+an[2+4*Kt],wn=an[1+4*Kt]-an[2+4*Kt],Mn=j-an[3+4*Kt],Ze[lt+0]=sn+pn>>3,Ze[lt+16]=Mn+wn>>3,Ze[lt+32]=sn-pn>>3,Ze[lt+48]=Mn-wn>>3,lt+=64}function Ch(j,ae,Ze){var lt,Kt=ae-32,an=bd,sn=255-j[Kt-1];for(lt=0;ltZe;++Ze)p(j,ae+32*Ze,j,ae-32,16)}function up(j,ae){var Ze;for(Ze=16;0lt;++lt)I(ae,Ze+32*lt,j,16)}function Hp(j,ae){var Ze,lt=16;for(Ze=0;16>Ze;++Ze)lt+=j[ae-1+32*Ze]+j[ae+Ze-32];lf(lt>>5,j,ae)}function xh(j,ae){var Ze,lt=8;for(Ze=0;16>Ze;++Ze)lt+=j[ae-1+32*Ze];lf(lt>>4,j,ae)}function Bg(j,ae){var Ze,lt=8;for(Ze=0;16>Ze;++Ze)lt+=j[ae+Ze-32];lf(lt>>4,j,ae)}function zp(j,ae){lf(128,j,ae)}function ru(j,ae,Ze){return j+2*ae+Ze+2>>2}function Kp(j,ae){var Ze,lt=ae-32;for(lt=new Uint8Array([ru(j[lt-1],j[lt+0],j[lt+1]),ru(j[lt+0],j[lt+1],j[lt+2]),ru(j[lt+1],j[lt+2],j[lt+3]),ru(j[lt+2],j[lt+3],j[lt+4])]),Ze=0;4>Ze;++Ze)p(j,ae+32*Ze,lt,0,lt.length)}function Zp(j,ae){var Ze=j[ae-1],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1+96];Ya(j,ae+0,16843009*ru(j[ae-1-32],Ze,lt)),Ya(j,ae+32,16843009*ru(Ze,lt,Kt)),Ya(j,ae+64,16843009*ru(lt,Kt,an)),Ya(j,ae+96,16843009*ru(Kt,an,an))}function Wp(j,ae){var Ze,lt=4;for(Ze=0;4>Ze;++Ze)lt+=j[ae+Ze-32]+j[ae-1+32*Ze];for(lt>>=3,Ze=0;4>Ze;++Ze)I(j,ae+32*Ze,lt,4)}function r0(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1-32],sn=j[ae+0-32],pn=j[ae+1-32],wn=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+96]=ru(lt,Kt,j[ae-1+96]),j[ae+1+96]=j[ae+0+64]=ru(Ze,lt,Kt),j[ae+2+96]=j[ae+1+64]=j[ae+0+32]=ru(an,Ze,lt),j[ae+3+96]=j[ae+2+64]=j[ae+1+32]=j[ae+0+0]=ru(sn,an,Ze),j[ae+3+64]=j[ae+2+32]=j[ae+1+0]=ru(pn,sn,an),j[ae+3+32]=j[ae+2+0]=ru(wn,pn,sn),j[ae+3+0]=ru(Mn,wn,pn)}function i0(j,ae){var Ze=j[ae+1-32],lt=j[ae+2-32],Kt=j[ae+3-32],an=j[ae+4-32],sn=j[ae+5-32],pn=j[ae+6-32],wn=j[ae+7-32];j[ae+0+0]=ru(j[ae+0-32],Ze,lt),j[ae+1+0]=j[ae+0+32]=ru(Ze,lt,Kt),j[ae+2+0]=j[ae+1+32]=j[ae+0+64]=ru(lt,Kt,an),j[ae+3+0]=j[ae+2+32]=j[ae+1+64]=j[ae+0+96]=ru(Kt,an,sn),j[ae+3+32]=j[ae+2+64]=j[ae+1+96]=ru(an,sn,pn),j[ae+3+64]=j[ae+2+96]=ru(sn,pn,wn),j[ae+3+96]=ru(pn,wn,wn)}function Vp(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1-32],sn=j[ae+0-32],pn=j[ae+1-32],wn=j[ae+2-32],Mn=j[ae+3-32];j[ae+0+0]=j[ae+1+64]=an+sn+1>>1,j[ae+1+0]=j[ae+2+64]=sn+pn+1>>1,j[ae+2+0]=j[ae+3+64]=pn+wn+1>>1,j[ae+3+0]=wn+Mn+1>>1,j[ae+0+96]=ru(Kt,lt,Ze),j[ae+0+64]=ru(lt,Ze,an),j[ae+0+32]=j[ae+1+96]=ru(Ze,an,sn),j[ae+1+32]=j[ae+2+96]=ru(an,sn,pn),j[ae+2+32]=j[ae+3+96]=ru(sn,pn,wn),j[ae+3+32]=ru(pn,wn,Mn)}function Gp(j,ae){var Ze=j[ae+0-32],lt=j[ae+1-32],Kt=j[ae+2-32],an=j[ae+3-32],sn=j[ae+4-32],pn=j[ae+5-32],wn=j[ae+6-32],Mn=j[ae+7-32];j[ae+0+0]=Ze+lt+1>>1,j[ae+1+0]=j[ae+0+64]=lt+Kt+1>>1,j[ae+2+0]=j[ae+1+64]=Kt+an+1>>1,j[ae+3+0]=j[ae+2+64]=an+sn+1>>1,j[ae+0+32]=ru(Ze,lt,Kt),j[ae+1+32]=j[ae+0+96]=ru(lt,Kt,an),j[ae+2+32]=j[ae+1+96]=ru(Kt,an,sn),j[ae+3+32]=j[ae+2+96]=ru(an,sn,pn),j[ae+3+64]=ru(sn,pn,wn),j[ae+3+96]=ru(pn,wn,Mn)}function ig(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1+96];j[ae+0+0]=Ze+lt+1>>1,j[ae+2+0]=j[ae+0+32]=lt+Kt+1>>1,j[ae+2+32]=j[ae+0+64]=Kt+an+1>>1,j[ae+1+0]=ru(Ze,lt,Kt),j[ae+3+0]=j[ae+1+32]=ru(lt,Kt,an),j[ae+3+32]=j[ae+1+64]=ru(Kt,an,an),j[ae+3+64]=j[ae+2+64]=j[ae+0+96]=j[ae+1+96]=j[ae+2+96]=j[ae+3+96]=an}function Sg(j,ae){var Ze=j[ae-1+0],lt=j[ae-1+32],Kt=j[ae-1+64],an=j[ae-1+96],sn=j[ae-1-32],pn=j[ae+0-32],wn=j[ae+1-32],Mn=j[ae+2-32];j[ae+0+0]=j[ae+2+32]=Ze+sn+1>>1,j[ae+0+32]=j[ae+2+64]=lt+Ze+1>>1,j[ae+0+64]=j[ae+2+96]=Kt+lt+1>>1,j[ae+0+96]=an+Kt+1>>1,j[ae+3+0]=ru(pn,wn,Mn),j[ae+2+0]=ru(sn,pn,wn),j[ae+1+0]=j[ae+3+32]=ru(Ze,sn,pn),j[ae+1+32]=j[ae+3+64]=ru(lt,Ze,sn),j[ae+1+64]=j[ae+3+96]=ru(Kt,lt,Ze),j[ae+1+96]=ru(an,Kt,lt)}function Bh(j,ae){var Ze;for(Ze=0;8>Ze;++Ze)p(j,ae+32*Ze,j,ae-32,8)}function Xp(j,ae){var Ze;for(Ze=0;8>Ze;++Ze)I(j,ae,j[ae-1],8),ae+=32}function a0(j,ae,Ze){var lt;for(lt=0;8>lt;++lt)I(ae,Ze+32*lt,j,8)}function Yp(j,ae){var Ze,lt=8;for(Ze=0;8>Ze;++Ze)lt+=j[ae+Ze-32]+j[ae-1+32*Ze];a0(lt>>4,j,ae)}function Ig(j,ae){var Ze,lt=4;for(Ze=0;8>Ze;++Ze)lt+=j[ae+Ze-32];a0(lt>>3,j,ae)}function Fg(j,ae){var Ze,lt=4;for(Ze=0;8>Ze;++Ze)lt+=j[ae-1+32*Ze];a0(lt>>3,j,ae)}function cp(j,ae){a0(128,j,ae)}function s0(j,ae,Ze){var lt=j[ae-Ze],Kt=j[ae+0],an=3*(Kt-lt)+Jp[1020+j[ae-2*Ze]-j[ae+Ze]],sn=vp[112+(an+4>>3)];j[ae-Ze]=bd[255+lt+vp[112+(an+3>>3)]],j[ae+0]=bd[255+Kt-sn]}function Dg(j,ae,Ze,lt){var Kt=j[ae+0],an=j[ae+Ze];return Wd[255+j[ae-2*Ze]-j[ae-Ze]]>lt||Wd[255+an-Kt]>lt}function ag(j,ae,Ze,lt){return 4*Wd[255+j[ae-Ze]-j[ae+0]]+Wd[255+j[ae-2*Ze]-j[ae+Ze]]<=lt}function Tg(j,ae,Ze,lt,Kt){var an=j[ae-3*Ze],sn=j[ae-2*Ze],pn=j[ae-Ze],wn=j[ae+0],Mn=j[ae+Ze],Nr=j[ae+2*Ze],bi=j[ae+3*Ze];return 4*Wd[255+pn-wn]+Wd[255+sn-Mn]>lt?0:Wd[255+j[ae-4*Ze]-an]<=Kt&&Wd[255+an-sn]<=Kt&&Wd[255+sn-pn]<=Kt&&Wd[255+bi-Nr]<=Kt&&Wd[255+Nr-Mn]<=Kt&&Wd[255+Mn-wn]<=Kt}function Sh(j,ae,Ze,lt){var Kt=2*lt+1;for(lt=0;16>lt;++lt)ag(j,ae+lt,Ze,Kt)&&s0(j,ae+lt,Ze)}function Pg(j,ae,Ze,lt){var Kt=2*lt+1;for(lt=0;16>lt;++lt)ag(j,ae+lt*Ze,1,Kt)&&s0(j,ae+lt*Ze,1)}function Ap(j,ae,Ze,lt){var Kt;for(Kt=3;0>7,ua=18*ha+63>>7,ha=9*ha+63>>7;wn[Mn-3*Nr]=bd[255+wn[Mn-3*Nr]+ha],wn[Mn-2*Nr]=bd[255+bi+ua],wn[Mn-Nr]=bd[255+kn+mi],wn[Mn+0]=bd[255+Hr-mi],wn[Mn+Nr]=bd[255+li-ua],wn[Mn+2*Nr]=bd[255+ia-ha]}ae+=lt}}function l0(j,ae,Ze,lt,Kt,an,sn,pn){for(an=2*an+1;0>3)],ia=vp[112+(ia+3>>3)],mi=li+1>>1;wn[Mn-2*Nr]=bd[255+wn[Mn-2*Nr]+mi],wn[Mn-Nr]=bd[255+bi+ia],wn[Mn+0]=bd[255+kn-li],wn[Mn+Nr]=bd[255+Hr-mi]}ae+=lt}}function fp(j,ae,Ze,lt,Kt,an){o0(j,ae,Ze,1,16,lt,Kt,an)}function Ih(j,ae,Ze,lt,Kt,an){o0(j,ae,1,Ze,16,lt,Kt,an)}function hp(j,ae,Ze,lt,Kt,an){var sn;for(sn=3;0Mn?0:255:Mn)&255,Mn=wn,Kt[an+pn]=Nr}}function Sc(j,ae,Ze,lt){var Kt=ae.width,an=ae.o;if(l(j!=null&&ae!=null),0>Ze||0>=lt||Ze+lt>an)return null;if(!j.Cc){if(j.ga==null){var sn;if(j.ga=new vu,(sn=j.ga==null)||(sn=ae.width*ae.o,l(j.Gb.length==0),j.Gb=M(sn),j.Uc=0,j.Gb==null?sn=0:(j.mb=j.Gb,j.nb=j.Uc,j.rc=null,sn=1),sn=!sn),!sn){sn=j.ga;var pn=j.Fa,wn=j.P,Mn=j.qc,Nr=j.mb,bi=j.nb,kn=wn+1,Hr=Mn-1,li=sn.l;if(l(pn!=null&&Nr!=null&&ae!=null),X0[0]=null,X0[1]=Gu,X0[2]=zc,X0[3]=iA,sn.ca=Nr,sn.tb=bi,sn.c=ae.width,sn.i=ae.height,l(0=Mn)ae=0;else if(sn.$a=3&pn[wn+0],sn.Z=pn[wn+0]>>2&3,sn.Lc=pn[wn+0]>>4&3,wn=pn[wn+0]>>6&3,0>sn.$a||1=sn.c*sn.i;sn=!ae}if(sn)return null;j.ga.Lc!=1?j.Ga=0:lt=an-Ze}l(j.ga!=null),l(Ze+lt<=an);e:{if(ae=(pn=j.ga).c,an=pn.l.o,pn.$a==0){if(kn=j.rc,Hr=j.Vc,li=j.Fa,wn=j.P+1+Ze*ae,Mn=j.mb,Nr=j.nb+Ze*ae,l(wn<=j.P+j.qc),pn.Z!=0)for(l(X0[pn.Z]!=null),sn=0;sn=ae)ae=1;else if(pn.ic||uf(),pn.ic){pn=sn.V,kn=sn.Ba,Hr=sn.c;var ia=sn.i,mi=(li=1,wn=sn.$/Hr,Mn=sn.$%Hr,Nr=sn.m,bi=sn.s,sn.$),ua=Hr*ia,ha=Hr*ae,Ka=bi.wc,La=mi(ia=Zc(La.G[0],La.H[0],Nr)))pn[kn+mi]=ia,++mi,++Mn>=Hr&&(Mn=0,++wn<=ae&&!(wn%16)&&sf(sn,wn));else{if(!(280>ia)){li=0;break t}ia=Ud(ia-256,Nr);var qo,Po=Zc(La.G[4],La.H[4],Nr);if(hi(Nr),!(mi>=(Po=Qd(Hr,Po=Ud(Po,Nr)))&&ua-mi>=ia)){li=0;break t}for(qo=0;qo=Hr;)Mn-=Hr,++wn<=ae&&!(wn%16)&&sf(sn,wn);miae?ae:wn);break t}!li||Nr.h&&mi=an&&(j.Cc=1),lt=1}if(!lt)return null;if(j.Cc&&((lt=j.ga)!=null&&(lt.mc=null),j.ga=null,0>23,pn[wn+4*sn+1]=pn[wn+4*sn+1]*bi>>23,pn[wn+4*sn+2]=pn[wn+4*sn+2]*bi>>23)}ae+=an}}function aA(j,ae,Ze,lt,Kt){for(;0>4)*wn>>16;j[ae+2*an+0]=(240&sn|sn>>4)*wn>>16&240|(15&sn|sn<<4)*wn>>16>>4&15,j[ae+2*an+1]=240&Mn|pn}ae+=Kt}}function IA(j,ae,Ze,lt,Kt,an,sn,pn){var wn,Mn,Nr=255;for(Mn=0;Mn>8}function uf(){Kg=fA,bm=aA,Em=IA,wm=u0}function c0(j,ae,Ze){Xn[j]=function(lt,Kt,an,sn,pn,wn,Mn,Nr,bi,kn,Hr,li,ia,mi,ua,ha,Ka){var La,qo=Ka-1>>1,Po=pn[wn+0]|Mn[Nr+0]<<16,bu=bi[kn+0]|Hr[li+0]<<16;l(lt!=null);var zo=3*Po+bu+131074>>2;for(ae(lt[Kt+0],255&zo,zo>>16,ia,mi),an!=null&&(zo=3*bu+Po+131074>>2,ae(an[sn+0],255&zo,zo>>16,ua,ha)),La=1;La<=qo;++La){var Hu=pn[wn+La]|Mn[Nr+La]<<16,gA=bi[kn+La]|Hr[li+La]<<16,Eu=Po+Hu+bu+gA+524296,Ko=Eu+2*(Hu+bu)>>3;zo=Ko+Po>>1,Po=(Eu=Eu+2*(Po+gA)>>3)+Hu>>1,ae(lt[Kt+2*La-1],255&zo,zo>>16,ia,mi+(2*La-1)*Ze),ae(lt[Kt+2*La-0],255&Po,Po>>16,ia,mi+(2*La-0)*Ze),an!=null&&(zo=Eu+bu>>1,Po=Ko+gA>>1,ae(an[sn+2*La-1],255&zo,zo>>16,ua,ha+(2*La-1)*Ze),ae(an[sn+2*La+0],255&Po,Po>>16,ua,ha+(2*La+0)*Ze)),Po=Hu,bu=gA}1&Ka||(zo=3*Po+bu+131074>>2,ae(lt[Kt+Ka-1],255&zo,zo>>16,ia,mi+(Ka-1)*Ze),an!=null&&(zo=3*bu+Po+131074>>2,ae(an[sn+Ka-1],255&zo,zo>>16,ua,ha+(Ka-1)*Ze)))}}function Lg(){Vd[yp]=pv,Vd[bp]=Rm,Vd[Fm]=mv,Vd[Ep]=Om,Vd[wp]=Nm,Vd[qp]=Mm,Vd[Dm]=vv,Vd[_p]=Rm,Vd[$p]=Om,Vd[Cp]=Nm,Vd[em]=Mm}function sg(j){return j&~yv?0>j?0:255:j>>km}function U0(j,ae){return sg((19077*j>>8)+(26149*ae>>8)-14234)}function Fh(j,ae,Ze){return sg((19077*j>>8)-(6419*ae>>8)-(13320*Ze>>8)+8708)}function Dh(j,ae){return sg((19077*j>>8)+(33050*ae>>8)-17685)}function Q0(j,ae,Ze,lt,Kt){lt[Kt+0]=U0(j,Ze),lt[Kt+1]=Fh(j,ae,Ze),lt[Kt+2]=Dh(j,ae)}function FA(j,ae,Ze,lt,Kt){lt[Kt+0]=Dh(j,ae),lt[Kt+1]=Fh(j,ae,Ze),lt[Kt+2]=U0(j,Ze)}function Th(j,ae,Ze,lt,Kt){var an=Fh(j,ae,Ze);ae=an<<3&224|Dh(j,ae)>>3,lt[Kt+0]=248&U0(j,Ze)|an>>5,lt[Kt+1]=ae}function Ph(j,ae,Ze,lt,Kt){var an=240&Dh(j,ae)|15;lt[Kt+0]=240&U0(j,Ze)|Fh(j,ae,Ze)>>4,lt[Kt+1]=an}function Rg(j,ae,Ze,lt,Kt){lt[Kt+0]=255,Q0(j,ae,Ze,lt,Kt+1)}function Og(j,ae,Ze,lt,Kt){FA(j,ae,Ze,lt,Kt),lt[Kt+3]=255}function XA(j,ae,Ze,lt,Kt){Q0(j,ae,Ze,lt,Kt),lt[Kt+3]=255}function A0(j,ae,Ze){Xn[j]=function(lt,Kt,an,sn,pn,wn,Mn,Nr,bi){for(var kn=Nr+(-2&bi)*Ze;Nr!=kn;)ae(lt[Kt+0],an[sn+0],pn[wn+0],Mn,Nr),ae(lt[Kt+1],an[sn+0],pn[wn+0],Mn,Nr+Ze),Kt+=2,++sn,++wn,Nr+=2*Ze;1&bi&&ae(lt[Kt+0],an[sn+0],pn[wn+0],Mn,Nr)}}function og(j,ae,Ze){return Ze==0?j==0?ae==0?6:5:ae==0?4:0:Ze}function gp(j,ae,Ze,lt,Kt){switch(j>>>30){case 3:Nh(ae,Ze,lt,Kt,0);break;case 2:Zd(ae,Ze,lt,Kt);break;case 1:ac(ae,Ze,lt,Kt)}}function Kd(j,ae){var Ze,lt,Kt=ae.M,an=ae.Nb,sn=j.oc,pn=j.pc+40,wn=j.oc,Mn=j.pc+584,Nr=j.oc,bi=j.pc+600;for(Ze=0;16>Ze;++Ze)sn[pn+32*Ze-1]=129;for(Ze=0;8>Ze;++Ze)wn[Mn+32*Ze-1]=129,Nr[bi+32*Ze-1]=129;for(0Ze;++Ze)p(sn,pn+32*Ze-4,sn,pn+32*Ze+12,4);for(Ze=-1;8>Ze;++Ze)p(wn,Mn+32*Ze-4,wn,Mn+32*Ze+4,4),p(Nr,bi+32*Ze-4,Nr,bi+32*Ze+4,4)}var Hr=j.Gd,li=j.Hd+lt,ia=kn.ad,mi=kn.Hc;if(0=j.za-1?I(ua,ha,Hr[li].y[15],4):p(ua,ha,Hr[li+1].y,0,4)),Ze=0;4>Ze;Ze++)ua[ha+128+Ze]=ua[ha+256+Ze]=ua[ha+384+Ze]=ua[ha+0+Ze];for(Ze=0;16>Ze;++Ze,mi<<=2)ua=sn,ha=pn+Qm[Ze],cf[kn.Ob[Ze]](ua,ha),gp(mi,ia,16*+Ze,ua,ha)}else if(ua=og(lt,Kt,kn.Ob[0]),G0[ua](sn,pn),mi!=0)for(Ze=0;16>Ze;++Ze,mi<<=2)gp(mi,ia,16*+Ze,sn,pn+Qm[Ze]);for(Ze=kn.Gc,ua=og(lt,Kt,kn.Dd),h0[ua](wn,Mn),h0[ua](Nr,bi),mi=ia,ua=wn,ha=Mn,255&(kn=0|Ze)&&(170&kn?Of(mi,256,ua,ha):vc(mi,256,ua,ha)),kn=Nr,mi=bi,255&(Ze>>=8)&&(170&Ze?Of(ia,320,kn,mi):vc(ia,320,kn,mi)),KtZe;++Ze)p(Hr,li+Ze*j.R,sn,pn+32*Ze,16);for(Ze=0;8>Ze;++Ze)p(ia,kn+Ze*j.B,wn,Mn+32*Ze,8),p(mi,ua+Ze*j.B,Nr,bi+32*Ze,8)}}function Lh(j,ae,Ze,lt,Kt,an,sn,pn,wn){var Mn=[0],Nr=[0],bi=0,kn=wn!=null?wn.kd:0,Hr=wn!=null?wn:new Pa;if(j==null||12>Ze)return 7;Hr.data=j,Hr.w=ae,Hr.ha=Ze,ae=[ae],Ze=[Ze],Hr.gb=[Hr.gb];e:{var li=ae,ia=Ze,mi=Hr.gb;if(l(j!=null),l(ia!=null),l(mi!=null),mi[0]=0,12<=ia[0]&&!s(j,li[0],"RIFF")){if(s(j,li[0]+8,"WEBP")){mi=3;break e}var ua=Al(j,li[0]+4);if(12>ua||4294967286ia[0]-8){mi=7;break e}mi[0]=ua,li[0]+=12,ia[0]-=12}mi=0}if(mi!=0)return mi;for(ua=0mi[0])mi=7;else{if(!s(ha,ia[0],"VP8X")){if(Al(ha,ia[0]+4)!=10){mi=3;break e}if(18>mi[0]){mi=7;break e}var Po=Al(ha,ia[0]+8),bu=1+to(ha,ia[0]+12);if(2147483648<=bu*(ha=1+to(ha,ia[0]+15))){mi=3;break e}qo!=null&&(qo[0]=Po),Ka!=null&&(Ka[0]=bu),La!=null&&(La[0]=ha),ia[0]+=18,mi[0]-=18,zo[0]=1}mi=0}}if(bi=bi[0],li=li[0],mi!=0)return mi;if(ia=!!(2&li),!ua&&bi)return 3;if(an!=null&&(an[0]=!!(16&li)),sn!=null&&(sn[0]=ia),pn!=null&&(pn[0]=0),sn=Mn[0],li=Nr[0],bi&&ia&&wn==null){mi=0;break}if(4>Ze){mi=7;break}if(ua&&bi||!ua&&!bi&&!s(j,ae[0],"ALPH")){Ze=[Ze],Hr.na=[Hr.na],Hr.P=[Hr.P],Hr.Sa=[Hr.Sa];e:{Po=j,mi=ae,ua=Ze;var zo=Hr.gb;Ka=Hr.na,La=Hr.P,qo=Hr.Sa,bu=22,l(Po!=null),l(ua!=null),ha=mi[0];var Hu=ua[0];for(l(Ka!=null),l(qo!=null),Ka[0]=null,La[0]=null,qo[0]=0;;){if(mi[0]=ha,ua[0]=Hu,8>Hu){mi=7;break e}var gA=Al(Po,ha+4);if(4294967286zo){mi=3;break e}if(!s(Po,ha,"VP8 ")||!s(Po,ha,"VP8L")){mi=0;break e}if(Hu[0]ua[0])mi=7;else{if(ha||bu){if(zo=Al(zo,Po+4),12<=Ka&&zo>Ka-12){mi=3;break e}if(kn&&zo>ua[0]-8){mi=7;break e}La[0]=zo,mi[0]+=8,ua[0]-=8,qo[0]=bu}else qo[0]=5<=ua[0]&&zo[Po+0]==47&&!(zo[Po+4]>>5),La[0]=ua[0];mi=0}if(Ze=Ze[0],Hr.Ja=Hr.Ja[0],Hr.xa=Hr.xa[0],ae=ae[0],mi!=0)break;if(4294967286Ze){mi=7;break}pn=sn,kn=li,ia=an,j==null||5>Ze?j=0:5<=Ze&&j[ae+0]==47&&!(j[ae+4]>>5)?(ua=[0],zo=[0],Ka=[0],Ji(La=new zn,j,ae,Ze),t0(La,ua,zo,Ka)?(pn!=null&&(pn[0]=ua[0]),kn!=null&&(kn[0]=zo[0]),ia!=null&&(ia[0]=Ka[0]),j=1):j=0):j=0}else{if(10>Ze){mi=7;break}pn=li,j==null||10>Ze||!ip(j,ae+3,Ze-3)?j=0:(kn=j[ae+0]|j[ae+1]<<8|j[ae+2]<<16,ia=16383&(j[ae+7]<<8|j[ae+6]),j=16383&(j[ae+9]<<8|j[ae+8]),1&kn||3<(kn>>1&7)||!(kn>>4&1)||kn>>5>=Hr.Ja||!ia||!j?j=0:(sn&&(sn[0]=ia),pn&&(pn[0]=j),j=1))}if(!j||(sn=sn[0],li=li[0],bi&&(Mn[0]!=sn||Nr[0]!=li)))return 3;wn!=null&&(wn[0]=Hr,wn.offset=ae-wn.w,l(4294967286>ae-wn.w),l(wn.offset==wn.ha-Ze));break}return mi==0||mi==7&&bi&&wn==null?(an!=null&&(an[0]|=Hr.na!=null&&0Ze||(an&=-2,sn&=-2),0>an||0>sn||0>=pn||0>=wn||an+pn>lt||sn+wn>Kt))return 0;if(ae.v=an,ae.j=sn,ae.va=an+pn,ae.o=sn+wn,ae.U=pn,ae.T=wn,ae.da=j!=null&&0j.S){var ae=j.f.RGBA;ae.fb+=(j.height-1)*ae.A,ae.A=-ae.A}else ae=j.f.kb,j=j.height,ae.O+=(j-1)*ae.fa,ae.fa=-ae.fa,ae.N+=(j-1>>1)*ae.Ab,ae.Ab=-ae.Ab,ae.W+=(j-1>>1)*ae.Db,ae.Db=-ae.Db,ae.F!=null&&(ae.J+=(j-1)*ae.lb,ae.lb=-ae.lb);return 0}function j0(j,ae,Ze,lt){if(lt==null||0>=j||0>=ae)return 2;if(Ze!=null){if(Ze.Da){var Kt=Ze.cd,an=Ze.bd,sn=-2&Ze.v,pn=-2&Ze.j;if(0>sn||0>pn||0>=Kt||0>=an||sn+Kt>j||pn+an>ae)return 2;j=Kt,ae=an}if(Ze.da){if(!Sl(j,ae,Kt=[Ze.ib],an=[Ze.hb]))return 2;j=Kt[0],ae=an[0]}}lt.width=j,lt.height=ae;e:{var wn=lt.width,Mn=lt.height;if(j=lt.S,0>=wn||0>=Mn||!(j>=yp&&13>j))j=2;else{if(0>=lt.Rd&<.sd==null){sn=an=Kt=ae=0;var Nr=(pn=wn*jm[j])*Mn;if(11>j||(an=(Mn+1)/2*(ae=(wn+1)/2),j==12&&(sn=(Kt=wn)*Mn)),(Mn=M(Nr+2*an+sn))==null){j=1;break e}lt.sd=Mn,11>j?((wn=lt.f.RGBA).eb=Mn,wn.fb=0,wn.A=pn,wn.size=Nr):((wn=lt.f.kb).y=Mn,wn.O=0,wn.fa=pn,wn.Fd=Nr,wn.f=Mn,wn.N=0+Nr,wn.Ab=ae,wn.Cd=an,wn.ea=Mn,wn.W=0+Nr+an,wn.Db=ae,wn.Ed=an,j==12&&(wn.F=Mn,wn.J=0+Nr+2*an),wn.Tc=sn,wn.lb=Kt)}if(ae=1,Kt=lt.S,an=lt.width,sn=lt.height,Kt>=yp&&13>Kt)if(11>Kt)j=lt.f.RGBA,ae&=(pn=Math.abs(j.A))*(sn-1)+an<=j.size,ae&=pn>=an*jm[Kt],ae&=j.eb!=null;else{j=lt.f.kb,pn=(an+1)/2,Nr=(sn+1)/2,wn=Math.abs(j.fa),Mn=Math.abs(j.Ab);var bi=Math.abs(j.Db),kn=Math.abs(j.lb),Hr=kn*(sn-1)+an;ae&=wn*(sn-1)+an<=j.Fd,ae&=Mn*(Nr-1)+pn<=j.Cd,ae=(ae&=bi*(Nr-1)+pn<=j.Ed)&wn>=an&Mn>=pn&bi>=pn,ae&=j.y!=null,ae&=j.f!=null,ae&=j.ea!=null,Kt==12&&(ae&=kn>=an,ae&=Hr<=j.Tc,ae&=j.F!=null)}else ae=0;j=ae?0:2}}return j!=0||Ze!=null&&Ze.fd&&(j=Mg(lt)),j}var Rh=64,vd=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yd=24,H0=32,d0=8,z0=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];No("Predictor0","PredictorAdd0"),Xn.Predictor0=function(){return 4278190080},Xn.Predictor1=function(j){return j},Xn.Predictor2=function(j,ae,Ze){return ae[Ze+0]},Xn.Predictor3=function(j,ae,Ze){return ae[Ze+1]},Xn.Predictor4=function(j,ae,Ze){return ae[Ze-1]},Xn.Predictor5=function(j,ae,Ze){return gl(gl(j,ae[Ze+1]),ae[Ze+0])},Xn.Predictor6=function(j,ae,Ze){return gl(j,ae[Ze-1])},Xn.Predictor7=function(j,ae,Ze){return gl(j,ae[Ze+0])},Xn.Predictor8=function(j,ae,Ze){return gl(ae[Ze-1],ae[Ze+0])},Xn.Predictor9=function(j,ae,Ze){return gl(ae[Ze+0],ae[Ze+1])},Xn.Predictor10=function(j,ae,Ze){return gl(gl(j,ae[Ze-1]),gl(ae[Ze+0],ae[Ze+1]))},Xn.Predictor11=function(j,ae,Ze){var lt=ae[Ze+0];return 0>=Au(lt>>24&255,j>>24&255,(ae=ae[Ze-1])>>24&255)+Au(lt>>16&255,j>>16&255,ae>>16&255)+Au(lt>>8&255,j>>8&255,ae>>8&255)+Au(255<,255&j,255&ae)?lt:j},Xn.Predictor12=function(j,ae,Ze){var lt=ae[Ze+0];return(rc((j>>24&255)+(lt>>24&255)-((ae=ae[Ze-1])>>24&255))<<24|rc((j>>16&255)+(lt>>16&255)-(ae>>16&255))<<16|rc((j>>8&255)+(lt>>8&255)-(ae>>8&255))<<8|rc((255&j)+(255<)-(255&ae)))>>>0},Xn.Predictor13=function(j,ae,Ze){var lt=ae[Ze-1];return(Mu((j=gl(j,ae[Ze+0]))>>24&255,lt>>24&255)<<24|Mu(j>>16&255,lt>>16&255)<<16|Mu(j>>8&255,lt>>8&255)<<8|Mu(255&j,255<))>>>0};var kg=Xn.PredictorAdd0;Xn.PredictorAdd1=ju,No("Predictor2","PredictorAdd2"),No("Predictor3","PredictorAdd3"),No("Predictor4","PredictorAdd4"),No("Predictor5","PredictorAdd5"),No("Predictor6","PredictorAdd6"),No("Predictor7","PredictorAdd7"),No("Predictor8","PredictorAdd8"),No("Predictor9","PredictorAdd9"),No("Predictor10","PredictorAdd10"),No("Predictor11","PredictorAdd11"),No("Predictor12","PredictorAdd12"),No("Predictor13","PredictorAdd13");var lg=Xn.PredictorAdd2;nl("ColorIndexInverseTransform","MapARGB","32b",function(j){return j>>8&255},function(j){return j}),nl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(j){return j},function(j){return j>>8&255});var Yc,pp=Xn.ColorIndexInverseTransform,Lf=Xn.MapARGB,Rf=Xn.VP8LColorIndexInverseTransformAlpha,Ug=Xn.MapAlpha,Qg=Xn.VP8LPredictorsAdd=[];Qg.length=16,(Xn.VP8LPredictors=[]).length=16,(Xn.VP8LPredictorsAdd_C=[]).length=16,(Xn.VP8LPredictors_C=[]).length=16;var jg,Hg,K0,Z0,W0,Oh,V0,Nh,Zd,Of,ac,vc,Jc,hA,f0,zg,ug,mp,hm,gm,pm,mm,vm,ym,Kg,bm,Em,wm,Cm=M(511),xm=M(2041),Bm=M(225),Sm=M(767),Im=0,Jp=xm,vp=Bm,bd=Sm,Wd=Cm,yp=0,bp=1,Fm=2,Ep=3,wp=4,qp=5,Dm=6,_p=7,$p=8,Cp=9,em=10,nv=[2,3,7],rv=[3,3,11],Tm=[280,256,256,256,40],iv=[0,1,1,1,0],av=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],sv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],ov=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lv=8,tm=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],nm=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Zg=null,uv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],cv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Pm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Av=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],dv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],hv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],G0=[],cf=[],h0=[],gv=1,Lm=2,X0=[],Vd=[];c0("UpsampleRgbLinePair",Q0,3),c0("UpsampleBgrLinePair",FA,3),c0("UpsampleRgbaLinePair",XA,4),c0("UpsampleBgraLinePair",Og,4),c0("UpsampleArgbLinePair",Rg,4),c0("UpsampleRgba4444LinePair",Ph,2),c0("UpsampleRgb565LinePair",Th,2);var pv=Xn.UpsampleRgbLinePair,mv=Xn.UpsampleBgrLinePair,Rm=Xn.UpsampleRgbaLinePair,Om=Xn.UpsampleBgraLinePair,Nm=Xn.UpsampleArgbLinePair,Mm=Xn.UpsampleRgba4444LinePair,vv=Xn.UpsampleRgb565LinePair,xp=16,Bp=1<lt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),lt.ca.f.kb.F!=null&&uf()),lt.Pb&&0(wn=Ze.Md)?0:100Mn;++Mn)12>(bi=Kt.pb[Mn]).lc&&(bi.ia=wn*Sv[0>bi.lc?0:bi.lc]>>3),Nr|=bi.ia;Nr&&(alert("todo:VP8InitRandom"),Kt.ia=1)}Kt.Ga=Ze.Id,100Kt.Ga&&(Kt.Ga=0)}(function(kn,Hr){if(kn==null)return 0;if(Hr==null)return rA(kn,2,"NULL VP8Io parameter in VP8Decode().");if(!kn.cb&&!Tf(kn,Hr))return 0;if(l(kn.cb),Hr.ac==null||Hr.ac(Hr)){Hr.ob&&(kn.L=0);var li=Sp[kn.L];if(kn.L==2?(kn.yb=0,kn.zb=0):(kn.yb=Hr.v-li>>4,kn.zb=Hr.j-li>>4,0>kn.yb&&(kn.yb=0),0>kn.zb&&(kn.zb=0)),kn.Va=Hr.o+15+li>>4,kn.Hb=Hr.va+15+li>>4,kn.Hb>kn.za&&(kn.Hb=kn.za),kn.Va>kn.Ub&&(kn.Va=kn.Ub),0li;++li){var mi;if(kn.Qa.Cb){var ua=kn.Qa.Lb[li];kn.Qa.Fb||(ua+=ia.Tb)}else ua=ia.Tb;for(mi=0;1>=mi;++mi){var ha=kn.gd[li][mi],Ka=ua;if(ia.Pc&&(Ka+=ia.vd[0],mi&&(Ka+=ia.od[0])),0<(Ka=0>Ka?0:63>2:La>>1)>9-ia.wb&&(La=9-ia.wb),1>La&&(La=1),ha.dd=La,ha.tc=2*Ka+La,ha.ld=40<=Ka?2:15<=Ka?1:0}else ha.tc=0;ha.La=mi}}}li=0}else rA(kn,6,"Frame setup failed"),li=kn.a;if(li=li==0){if(li){kn.$c=0,0kn.Vb){if(kn.Vb=0,kn.Ec=M(ha),kn.Fc=0,kn.Ec==null){li=rA(kn,1,"no memory during frame initialization.");break t}kn.Vb=ha}ha=kn.Ec,Ka=kn.Fc,kn.Ac=ha,kn.Bc=Ka,Ka+=ia,kn.Gd=ve(qo,np),kn.Hd=0,kn.rb=ve(Po+1,wg),kn.sb=1,kn.wa=bu?ve(bu,Hd):null,kn.Y=0,kn.D.Nb=0,kn.D.wa=kn.wa,kn.D.Y=kn.Y,0=li;++li)Cm[255+li]=0>li?-li:li;for(li=-1020;1020>=li;++li)xm[1020+li]=-128>li?-128:127=li;++li)Bm[112+li]=-16>li?-16:15=li;++li)Sm[255+li]=0>li?0:255Zu;++Zu){var pA,Xu=YA[0+Zu];for(pA=0;4>pA;++pA){Xu=dv[Oc[DA+pA]][Xu];for(var Ac=Pm[ya(fu,Xu[0])];0>3;for(Ac=0;256>Ac;Ac+=16)Zu[jA+Ac]=ud}TA=1,Af=DA[0]}var yc=15&fu.la,mA=15&JA.la;for(Ac=0;4>Ac;++Ac){var Ed=1&mA;for(ud=dc=0;4>ud;++ud)yc=yc>>1|(Ed=(_c=Zg(Oc,Af,_c=Ed+(1&yc),Wc.Sc,TA,Zu,jA))>TA)<<7,dc=dc<<2|(3<_c?3:1<_c?2:Zu[jA+0]!=0),jA+=16;yc>>=4,mA=mA>>1|Ed<<7,pA=(pA<<8|dc)>>>0}for(Af=yc,TA=mA>>4,Vc=0;4>Vc;Vc+=2){for(dc=0,yc=fu.la>>4+Vc,mA=JA.la>>4+Vc,Ac=0;2>Ac;++Ac){for(Ed=1&mA,ud=0;2>ud;++ud)_c=Ed+(1&yc),yc=yc>>1|(Ed=0<(_c=Zg(Oc,DA[2],_c,Wc.Qc,0,Zu,jA)))<<3,dc=dc<<2|(3<_c?3:1<_c?2:Zu[jA+0]!=0),jA+=16;yc>>=2,mA=mA>>1|Ed<<5}Xu|=dc<<4*Vc,Af|=yc<<4<=Ko.zb&&Ko.M<=Ko.Va,Ko.Aa==0)t:{if(Eu.M=Ko.M,Eu.uc=fu,Kd(Ko,Eu),qc=1,Eu=(dc=Ko.D).Nb,fu=(Xu=Sp[Ko.L])*Ko.R,Oc=Xu/2*Ko.B,Ac=16*Eu*Ko.R,ud=8*Eu*Ko.B,DA=Ko.sa,YA=Ko.ta-fu+Ac,Wc=Ko.qa,Zu=Ko.ra-Oc+ud,jA=Ko.Ha,JA=Ko.Ia-Oc+ud,mA=(yc=dc.M)==0,pA=yc>=Ko.Va-1,Ko.Aa==2&&Kd(Ko,dc),dc.uc)for(Ed=(_c=Ko).D.M,l(_c.D.uc),dc=_c.yb;dc<_c.Hb;++dc){TA=dc,Af=Ed;var qA=(wd=(PA=_c).D).Nb;Vc=PA.R;var wd=wd.wa[wd.Y+TA],Cd=PA.sa,cd=PA.ta+16*qA*Vc+16*TA,xd=wd.dd,Ic=wd.tc;if(Ic!=0)if(l(3<=Ic),PA.L==1)0Zs.o&&(yc=Zs.o),Zs.F=null,Zs.J=null,Ko.Fa!=null&&0>1),Zs.W+=Ko.B*(Xu>>1),Zs.F!=null&&(Zs.J+=Zs.width*Xu)),dc>1,Zs.W+=Zs.v>>1,Zs.F!=null&&(Zs.J+=Zs.v),Zs.ka=dc-Zs.j,Zs.U=Zs.va-Zs.v,Zs.T=yc-dc,qc=Zs.put(Zs))}Eu+1!=Ko.Ic||pA||(p(Ko.sa,Ko.ta-fu,DA,YA+16*Ko.R,fu),p(Ko.qa,Ko.ra-Oc,Wc,Zu+8*Ko.B,Oc),p(Ko.Ha,Ko.Ia-Oc,jA,JA+8*Ko.B,Oc))}if(!qc)return rA(Hu,6,"Output aborted.")}return 1}(kn,Hr)),Hr.bc!=null&&Hr.bc(Hr),li&=1}return li?(kn.cb=0,li):0})(j,lt)||(ae=j.a)}}else ae=j.a}ae==0&&sn.Oa!=null&&sn.Oa.fd&&(ae=Mg(sn.ba))}sn=ae}an=sn!=0?null:11>an?pn.f.RGBA.eb:pn.f.kb.y}else an=null;return an};var jm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Re(Xn,si){for(var An="",Ln=0;Ln<4;Ln++)An+=String.fromCharCode(Xn[si++]);return An}function et(Xn,si){return Xn[si+0]|Xn[si+1]<<8}function Nt(Xn,si){return(Xn[si+0]|Xn[si+1]<<8|Xn[si+2]<<16)>>>0}function en(Xn,si){return(Xn[si+0]|Xn[si+1]<<8|Xn[si+2]<<16|Xn[si+3]<<24)>>>0}new xe;var $e=[0],Fn=[0],Cn=[],Pn=new xe,dn=r,yr=function(Xn,si){var An={},Ln=0,wr=!1,hr=0,Bi=0;if(An.frames=[],!function(on,zn){for(var rr=0;rr<4;rr++)if(on[zn+rr]!="RIFF".charCodeAt(rr))return!0;return!1}(Xn,si)){for(en(Xn,si+=4),si+=8;si>1&1}Hi!="ANMF"&&(si+=vi)}return An}}(dn,0);yr.response=dn,yr.rgbaoutput=!0,yr.dataurl=!1;var ar=yr.header?yr.header:null,Wn=yr.frames?yr.frames:null;if(ar){ar.loop_counter=ar.loop_count,$e=[ar.canvas_height],Fn=[ar.canvas_width];for(var Ei=0;Ei=2?Rn[1]:oo[0],oo[2]=Rn.length>=3?Rn[2]:oo[0],oo[3]=Rn.length>=4?Rn[3]:oo[1]),Re.margin=oo}});var Zi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Zi},set:function(Rn){Zi=Rn}});var Yi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Yi},set:function(Rn){Yi=Rn}});var ya=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ya},set:function(Rn){ya=Rn}}),Object.defineProperty(this,"ctx",{get:function(){return Re},set:function(Rn){Rn instanceof et&&(Re=Rn)}}),Object.defineProperty(this,"path",{get:function(){return Re.path},set:function(Rn){Re.path=Rn}});var Ya=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ya},set:function(Rn){Ya=Rn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Rn){var oo;oo=en(Rn),this.ctx.fillStyle=oo.style,this.ctx.isFillTransparent=oo.a===0,this.ctx.fillOpacity=oo.a,this.pdf.setFillColor(oo.r,oo.g,oo.b,{a:oo.a}),this.pdf.setTextColor(oo.r,oo.g,oo.b,{a:oo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Rn){var oo=en(Rn);this.ctx.strokeStyle=oo.style,this.ctx.isStrokeTransparent=oo.a===0,this.ctx.strokeOpacity=oo.a,oo.a===0?this.pdf.setDrawColor(255,255,255):(oo.a,this.pdf.setDrawColor(oo.r,oo.g,oo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Rn){["butt","round","square"].indexOf(Rn)!==-1&&(this.ctx.lineCap=Rn,this.pdf.setLineCap(Rn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Rn){isNaN(Rn)||(this.ctx.lineWidth=Rn,this.pdf.setLineWidth(Rn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Rn){["bevel","round","miter"].indexOf(Rn)!==-1&&(this.ctx.lineJoin=Rn,this.pdf.setLineJoin(Rn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Rn){isNaN(Rn)||(this.ctx.miterLimit=Rn,this.pdf.setMiterLimit(Rn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Rn){this.ctx.textBaseline=Rn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Rn){["right","end","center","left","start"].indexOf(Rn)!==-1&&(this.ctx.textAlign=Rn)}});var so=null,to=null,Al=null;Object.defineProperty(this,"fontFaces",{get:function(){return Al},set:function(Rn){so=null,to=null,Al=Rn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Rn){var oo;if(this.ctx.font=Rn,(oo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Rn))!==null){var xu=oo[1];oo[2];var Sl=oo[3],ja=oo[4];oo[5];var Il=oo[6],No=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ja)[2];ja=Math.floor(No==="px"?parseFloat(ja)*this.pdf.internal.scaleFactor:No==="em"?parseFloat(ja)*this.pdf.getFontSize():parseFloat(ja)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ja);var El=function(nl){var Xc,Vu,Bu=[],Su=nl.trim();if(Su==="")return Y;if(Su in sd)return[sd[Su]];for(;Su!=="";){switch(Vu=null,Xc=(Su=cA(Su)).charAt(0)){case'"':case"'":Vu=f(Su.substring(1),Xc);break;default:Vu=e(Su)}if(Vu===null||(Bu.push(Vu[0]),(Su=cA(Vu[1]))!==""&&Su.charAt(0)!==","))return Y;Su=Su.replace(/^,/,"")}return Bu}(Il);if(this.fontFaces){var gl=function(nl,Xc){var Vu=nl.getFontList(),Bu=JSON.stringify(Vu);if(so===null||to!==Bu){var Su=function(kc){var vl=[];return Object.keys(kc).forEach(function(Bc){kc[Bc].forEach(function(kl){var du=null;switch(kl){case"bold":du={family:Bc,weight:"bold"};break;case"italic":du={family:Bc,style:"italic"};break;case"bolditalic":du={family:Bc,weight:"bold",style:"italic"};break;case"":case"normal":du={family:Bc}}du!==null&&(du.ref={name:Bc,style:kl},vl.push(du))})}),vl}(Vu);so=function(kc){for(var vl={},Bc=0;Bc=700||xu==="bold")&&(Au="bold"),xu==="italic"&&(Au+="italic"),Au.length===0&&(Au="normal");for(var ju="",ku={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Ir=0,Zr=2*Math.PI),this.path.push({type:"arc",x:on,y:zn,radius:rr,startAngle:Ir,endAngle:Zr,counterclockwise:hi})},Nt.prototype.arcTo=function(on,zn,rr,Ir,Zr){throw new Error("arcTo not implemented.")},Nt.prototype.rect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(on,zn),this.lineTo(on+rr,zn),this.lineTo(on+rr,zn+Ir),this.lineTo(on,zn+Ir),this.lineTo(on,zn),this.lineTo(on+rr,zn),this.lineTo(on,zn)},Nt.prototype.fillRect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!$e.call(this)){var Zr={};this.lineCap!=="butt"&&(Zr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Zr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(on,zn,rr,Ir),this.fill(),Zr.hasOwnProperty("lineCap")&&(this.lineCap=Zr.lineCap),Zr.hasOwnProperty("lineJoin")&&(this.lineJoin=Zr.lineJoin)}},Nt.prototype.strokeRect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Fn.call(this)||(this.beginPath(),this.rect(on,zn,rr,Ir),this.stroke())},Nt.prototype.clearRect=function(on,zn,rr,Ir){if(isNaN(on)||isNaN(zn)||isNaN(rr)||isNaN(Ir))throw zu.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(on,zn,rr,Ir))},Nt.prototype.save=function(on){on=typeof on!="boolean"||on;for(var zn=this.pdf.internal.getCurrentPageInfo().pageNumber,rr=0;rr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Nt.prototype.drawImage=function(on,zn,rr,Ir,Zr,hi,Zi,Yi,ya){var Ya=this.pdf.getImageProperties(on),so=1,to=1,Al=1,Rn=1;Ir!==void 0&&Yi!==void 0&&(Al=Yi/Ir,Rn=ya/Zr,so=Ya.width/Ir*Yi/Ir,to=Ya.height/Zr*ya/Zr),hi===void 0&&(hi=zn,Zi=rr,zn=0,rr=0),Ir!==void 0&&Yi===void 0&&(Yi=Ir,ya=Zr),Ir===void 0&&Yi===void 0&&(Yi=Ya.width,ya=Ya.height);var oo=this.ctx.transform.decompose(),xu=vi(oo.rotate.shx),Sl=new xe,ja=(Sl=(Sl=(Sl=Sl.multiply(oo.translate)).multiply(oo.skew)).multiply(oo.scale)).applyToRectangle(new le(hi-zn*Al,Zi-rr*Rn,Ir*so,Zr*to));if(this.autoPaging){for(var Il,No=Pn.call(this,ja),El=[],gl=0;glrc||Auja||No0)){for(;ya>=0;ya--)if(Zr[ya-1].close!==!0&&Zr[ya-1].begin!==!0){Zr[ya-1].deltas.push(rr),Zr[ya-1].abs.push(Yi);break}}break;case"bct":rr=[Yi.x1-hi[Zi-1].x,Yi.y1-hi[Zi-1].y,Yi.x2-hi[Zi-1].x,Yi.y2-hi[Zi-1].y,Yi.x-hi[Zi-1].x,Yi.y-hi[Zi-1].y],Zr[Zr.length-1].deltas.push(rr);break;case"qct":var Ya=hi[Zi-1].x+2/3*(Yi.x1-hi[Zi-1].x),so=hi[Zi-1].y+2/3*(Yi.y1-hi[Zi-1].y),to=Yi.x+2/3*(Yi.x1-Yi.x),Al=Yi.y+2/3*(Yi.y1-Yi.y),Rn=Yi.x,oo=Yi.y;rr=[Ya-hi[Zi-1].x,so-hi[Zi-1].y,to-hi[Zi-1].x,Al-hi[Zi-1].y,Rn-hi[Zi-1].x,oo-hi[Zi-1].y],Zr[Zr.length-1].deltas.push(rr);break;case"arc":Zr.push({deltas:[],abs:[],arc:!0}),Array.isArray(Zr[Zr.length-1].abs)&&Zr[Zr.length-1].abs.push(Yi)}}Ir=zn?null:on==="stroke"?"stroke":"fill";for(var xu=!1,Sl=0;Sl=.01&&(Ir=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ir*on.scale),Zr=this.lineWidth,this.lineWidth=Zr*on.scale);var mu=this.autoPaging!=="text";if(mu||Xo.y+Xo.h<=gl){if(mu||Xo.y>=No&&Xo.x<=Mu){var nl=mu?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||Mu-Xo.x)[0],Xc=yr([JSON.parse(JSON.stringify(to))],this.posX+this.margin[3],-ju+No+this.ctx.prevPageLastElemOffset)[0],Vu=mu&&(Il>Sl||Il=.01&&(this.pdf.setFontSize(Ir),this.lineWidth=Zr)}}else on.scale>=.01&&(Ir=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ir*on.scale),Zr=this.lineWidth,this.lineWidth=Zr*on.scale),this.pdf.text(on.text,ya.x+this.posX,ya.y+this.posY,{angle:on.angle,align:zn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(Ir),this.lineWidth=Zr)},wr=function(on,zn,rr,Ir){rr=rr||0,Ir=Ir||0,this.pdf.internal.out(s(on+rr)+" "+p(zn+Ir)+" l")},hr=function(on,zn,rr){return this.pdf.lines(on,zn,rr,null,null)},Bi=function(on,zn,rr,Ir,Zr,hi,Zi,Yi){this.pdf.internal.out([l(I(rr+on)),l(M(Ir+zn)),l(I(Zr+on)),l(M(hi+zn)),l(I(Zi+on)),l(M(Yi+zn)),"c"].join(" "))},Hi=function(on,zn,rr,Ir){for(var Zr=2*Math.PI,hi=Math.PI/2;zn>rr;)zn-=Zr;var Zi=Math.abs(rr-zn);Zi1e-5;){var so=Ya+ya*Math.min(Zi,hi);Yi.push(Wi.call(this,on,Ya,so)),Zi-=Math.abs(so-Ya),Ya=so}return Yi},Wi=function(on,zn,rr){var Ir=(rr-zn)/2,Zr=on*Math.cos(Ir),hi=on*Math.sin(Ir),Zi=Zr,Yi=-hi,ya=Zi*Zi+Yi*Yi,Ya=ya+Zi*Zr+Yi*hi,so=4/3*(Math.sqrt(2*ya*Ya)-Ya)/(Zi*hi-Yi*Zr),to=Zi-so*Yi,Al=Yi+so*Zi,Rn=to,oo=-Al,xu=Ir+zn,Sl=Math.cos(xu),ja=Math.sin(xu);return{x1:on*Math.cos(zn),y1:on*Math.sin(zn),x2:to*Sl-Al*ja,y2:to*ja+Al*Sl,x3:Rn*Sl-oo*ja,y3:Rn*ja+oo*Sl,x4:on*Math.cos(rr),y4:on*Math.sin(rr)}},vi=function(on){return 180*on/Math.PI},Ji=function(on,zn,rr,Ir,Zr,hi){var Zi=on+.5*(rr-on),Yi=zn+.5*(Ir-zn),ya=Zr+.5*(rr-Zr),Ya=hi+.5*(Ir-hi),so=Math.min(on,Zr,Zi,ya),to=Math.max(on,Zr,Zi,ya),Al=Math.min(zn,hi,Yi,Ya),Rn=Math.max(zn,hi,Yi,Ya);return new le(so,Al,to-so,Rn-Al)},As=function(on,zn,rr,Ir,Zr,hi,Zi,Yi){var ya,Ya,so,to,Al,Rn,oo,xu,Sl,ja,Il,No,El,gl,rc=rr-on,Mu=Ir-zn,Au=Zr-rr,ju=hi-Ir,ku=Zi-Zr,Xo=Yi-hi;for(Ya=0;Ya<41;Ya++)Sl=(oo=(so=on+(ya=Ya/40)*rc)+ya*((Al=rr+ya*Au)-so))+ya*(Al+ya*(Zr+ya*ku-Al)-oo),ja=(xu=(to=zn+ya*Mu)+ya*((Rn=Ir+ya*ju)-to))+ya*(Rn+ya*(hi+ya*Xo-Rn)-xu),Ya==0?(Il=Sl,No=ja,El=Sl,gl=ja):(Il=Math.min(Il,Sl),No=Math.min(No,ja),El=Math.max(El,Sl),gl=Math.max(gl,ja));return new le(Math.round(Il),Math.round(No),Math.round(El-Il),Math.round(gl-No))},Fa=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,zn,rr=(on=this.ctx.lineDash,zn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:zn}));this.prevLineDash!==rr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=rr)}}})(To.API),function(r){var l=function(ve){var le,xe,Re,et,Nt,en,$e,Fn,Cn,Pn;for(/[^\x00-\xFF]/.test(ve),xe=[],Re=0,et=(ve+=le="\0\0\0\0".slice(ve.length%4||4)).length;et>Re;Re+=4)(Nt=(ve.charCodeAt(Re)<<24)+(ve.charCodeAt(Re+1)<<16)+(ve.charCodeAt(Re+2)<<8)+ve.charCodeAt(Re+3))!==0?(en=(Nt=((Nt=((Nt=((Nt=(Nt-(Pn=Nt%85))/85)-(Cn=Nt%85))/85)-(Fn=Nt%85))/85)-($e=Nt%85))/85)%85,xe.push(en+33,$e+33,Fn+33,Cn+33,Pn+33)):xe.push(122);return function(dn,yr){for(var ar=yr;ar>0;ar--)dn.pop()}(xe,le.length),String.fromCharCode.apply(String,xe)+"~>"},s=function(ve){var le,xe,Re,et,Nt,en=String,$e="length",Fn=255,Cn="charCodeAt",Pn="slice",dn="replace";for(ve[Pn](-2),ve=ve[Pn](0,-2)[dn](/\s/g,"")[dn]("z","!!!!!"),Re=[],et=0,Nt=(ve+=le="uuuuu"[Pn](ve[$e]%5||5))[$e];Nt>et;et+=5)xe=52200625*(ve[Cn](et)-33)+614125*(ve[Cn](et+1)-33)+7225*(ve[Cn](et+2)-33)+85*(ve[Cn](et+3)-33)+(ve[Cn](et+4)-33),Re.push(Fn&xe>>24,Fn&xe>>16,Fn&xe>>8,Fn&xe);return function(yr,ar){for(var Wn=ar;Wn>0;Wn--)yr.pop()}(Re,le[$e]),en.fromCharCode.apply(en,Re)},p=function(ve){return ve.split("").map(function(le){return("0"+le.charCodeAt().toString(16)).slice(-2)}).join("")+">"},I=function(ve){var le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ve=ve.replace(/\s/g,"")).indexOf(">")!==-1&&(ve=ve.substr(0,ve.indexOf(">"))),ve.length%2&&(ve+="0"),le.test(ve)===!1)return"";for(var xe="",Re=0;ReCn&&(Fn=Pn,Pn=Cn,Cn=Fn);else{if(le!=="l"&&le!=="landscape")throw"Invalid orientation: "+le;le="l",Cn>Pn&&(Fn=Pn,Pn=Cn,Cn=Fn)}return{width:Pn,height:Cn,unit:xe,k:Nt,orientation:le}},r.html=function(le,xe){(xe=xe||{}).callback=xe.callback||function(){},xe.html2canvas=xe.html2canvas||{},xe.html2canvas.canvas=xe.html2canvas.canvas||this.canvas,xe.jsPDF=xe.jsPDF||this,xe.fontFaces=xe.fontFaces?xe.fontFaces.map(UA):null;var Re=new ve(xe);return xe.worker?Re:Re.from(le).doCallback()}}(To.API),To.API.addJS=function(r){return i=r,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&n!==void 0&&this.internal.out("/Names <>")}),this},function(r){var l;r.events.push(["postPutResources",function(){var s=this,p=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var I=s.outline.render().split(/\r\n/),M=0;M> endobj")}var $e=s.internal.newObject();for(s.internal.write("<< /Names [ "),M=0;M>","endobj"),l=s.internal.newObject(),s.internal.write("<< /Dests "+$e+" 0 R"),s.internal.write(">>","endobj")}}]),r.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+l+" 0 R"))}]),r.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(p,I,M){var ve={title:I,options:M,children:[]};return p==null&&(p=this.root),p.children.push(ve),ve},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(p){p.id=s.internal.newObjectDeferred();for(var I=0;I0&&(this.line("/First "+this.makeRef(p.children[0])),this.line("/Last "+this.makeRef(p.children[p.children.length-1]))),this.line("/Count "+this.count_r({count:0},p)),this.objEnd()},s.outline.renderItems=function(p){for(var I=this.ctx.pdf.internal.getVerticalCoordinateString,M=0;M0&&this.line("/Prev "+this.makeRef(p.children[M-1])),M0&&(this.line("/First "+this.makeRef(ve.children[0])),this.line("/Last "+this.makeRef(ve.children[ve.children.length-1])));var le=this.count=this.count_r({count:0},ve);if(le>0&&this.line("/Count "+le),ve.options&&ve.options.pageNumber){var xe=s.internal.getPageInfo(ve.options.pageNumber);this.line("/Dest ["+xe.objId+" 0 R /XYZ 0 "+I(0)+" 0]")}this.objEnd()}for(var Re=0;Re>"}),"transparency"in Dt&&Array.isArray(Dt.transparency)&&Dt.transparency.length>0){for(var Wn="",Nn=0,Hn=Dt.transparency.length;Nn>",bt.content=ee;var Qt=bt.objId+" 0 R";ee="<>";else if(b.options.pageNumber)switch(ee="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length>=1};var ye=a.__arabicParser__.arabicLetterHasFinalForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length>=3};var Le=a.__arabicParser__.arabicLetterHasMedialForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length==4},Ke=a.__arabicParser__.resolveLigatures=function(bt){var Bt=0,ft=y,$t="",Qt=0;for(Bt=0;Bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(a){var E=function(){var y=void 0;Object.defineProperty(this,"pdf",{get:function(){return y},set:function(le){y=le}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(le){b=isNaN(le)||Number.isInteger(le)===!1||le<0?150:le,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(le){z=isNaN(le)||Number.isInteger(le)===!1||le<0?300:le,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var ee=[];Object.defineProperty(this,"childNodes",{get:function(){return ee},set:function(le){ee=le}});var de={};Object.defineProperty(this,"style",{get:function(){return de},set:function(le){de=le}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(y,b){var z;if((y=y||"2d")!=="2d")return null;for(z in b)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=b[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ha.API),function(a){var E={left:0,top:0,bottom:0,right:0},y=!1,b=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new ee,this.internal.__cell__.pages=1},ee=function(){var pe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return pe},set:function(bt){pe=bt}});var ye=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ye},set:function(bt){ye=bt}});var Le=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Le},set:function(bt){Le=bt}});var Ke=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ke},set:function(bt){Ke=bt}});var nt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return nt},set:function(bt){nt=bt}});var Se=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Se},set:function(bt){Se=bt}});var Ft=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Ft},set:function(bt){Ft=bt}}),this};ee.prototype.clone=function(){return new ee(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ee.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(pe){return b.call(this),this.internal.__cell__.headerFunction=typeof pe=="function"?pe:void 0,this},a.getTextDimensions=function(pe,ye){b.call(this);var Le=(ye=ye||{}).fontSize||this.getFontSize(),Ke=ye.font||this.getFont(),nt=ye.scaleFactor||this.internal.scaleFactor,Se=0,Ft=0,bt=0,Bt=this;if(!Array.isArray(pe)&&typeof pe!="string"){if(typeof pe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");pe=String(pe)}var ft=ye.maxWidth;ft>0?typeof pe=="string"?pe=this.splitTextToSize(pe,ft):Object.prototype.toString.call(pe)==="[object Array]"&&(pe=pe.reduce(function(Qt,_t){return Qt.concat(Bt.splitTextToSize(_t,ft))},[])):pe=Array.isArray(pe)?pe:[pe];for(var $t=0;$tthis.getPageHeight()?(this.cellAddPage(),pe.y=Ke.top,Se&&nt&&(this.printHeaderRow(pe.lineNumber,!0),pe.y+=nt[0].height)):pe.y=ye.y+ye.height||pe.y),pe.text[0]!==void 0&&(this.rect(pe.x,pe.y,pe.width,pe.height,y===!0?"FD":void 0),pe.align==="right"?this.text(pe.text,pe.x+pe.width-Le,pe.y+Le,{align:"right",baseline:"top"}):pe.align==="center"?this.text(pe.text,pe.x+pe.width/2,pe.y+Le,{align:"center",baseline:"top",maxWidth:pe.width-Le-Le}):this.text(pe.text,pe.x+Le,pe.y+Le,{align:"left",baseline:"top",maxWidth:pe.width-Le-Le})),this.internal.__cell__.lastCell=pe,this};a.table=function(pe,ye,Le,Ke,nt){if(b.call(this),!Le)throw new Error("No data for PDF table.");var Se,Ft,bt,Bt,ft=[],$t=[],Qt=[],_t={},Pn={},$n=[],Rn=[],ln=(nt=nt||{}).autoSize||!1,Wt=nt.printHeaders!==!1,En=nt.css&&nt.css["font-size"]!==void 0?16*nt.css["font-size"]:nt.fontSize||12,ct=nt.margins||Object.assign({width:this.getPageWidth()},E),Dt=typeof nt.padding=="number"?nt.padding:3,qt=nt.headerBackgroundColor||"#c8c8c8",Jt=nt.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=Wt,this.internal.__cell__.margins=ct,this.internal.__cell__.table_font_size=En,this.internal.__cell__.padding=Dt,this.internal.__cell__.headerBackgroundColor=qt,this.internal.__cell__.headerTextColor=Jt,this.setFontSize(En),Ke==null)$t=ft=Object.keys(Le[0]),Qt=ft.map(function(){return"left"});else if(Array.isArray(Ke)&&(0,x.Z)(Ke[0])==="object")for(ft=Ke.map(function(Sr){return Sr.name}),$t=Ke.map(function(Sr){return Sr.prompt||Sr.name||""}),Qt=Ke.map(function(Sr){return Sr.align||"left"}),Se=0;Se0&&this.setTableHeaderRow(nt),this.setFont(void 0,"normal"),y=!1}}(ha.API);var Cm={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Fm=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],l0=xm(Fm),Bm=[100,200,300,400,500,600,700,800,900],hv=xm(Bm);function u0(a){var E=a.family.replace(/"|'/g,"").toLowerCase(),y=function(ee){return Cm[ee=ee||"normal"]?ee:"normal"}(a.style),b=function(ee){return ee?typeof ee=="number"?ee>=100&&ee<=900&&ee%100==0?ee:400:/^\d00$/.test(ee)?parseInt(ee):ee==="bold"?700:400:400}(a.weight),z=function(ee){return typeof l0[ee=ee||"normal"]=="number"?ee:"normal"}(a.stretch);return{family:E,style:y,weight:b,stretch:z,src:a.src||[],ref:a.ref||{name:E,style:[z,y,b].join(" ")}}}function Dm(a,E,y,b){var z;for(z=y;z>=0&&z=0&&z>>1)&255}return z}function zm(a,E,y){var b=a.length,z=[];z[0]=4;for(var ee=0;ee>ee&de}function Um(a,E,y,b){var z=y*b,ee=Math.floor(z/8),de=16-(z-8*ee+b),le=(1<>8&255;ye.setUint8(Le,nt)}})(a,ee,Wm(a,ee)&~(le<>7,de=1<<1+(7&z);a[E++],a[E++];var le=null,pe=null;ee&&(le=E,pe=de,E+=3*de);var ye=!0,Le=[],Ke=0,nt=null,Se=0,Ft=null;for(this.width=y,this.height=b;ye&&E=0))throw Error("Invalid block size");if(ct===0)break;E+=ct}break;case 249:if(a[E++]!==4||a[E+4]!==0)throw new Error("Invalid graphics extension block.");var bt=a[E++];Ke=a[E++]|a[E++]<<8,nt=a[E++],1&bt||(nt=null),Se=bt>>2&7,E++;break;case 254:for(;;){if(!((ct=a[E++])>=0))throw Error("Invalid block size");if(ct===0)break;E+=ct}break;default:throw new Error("Unknown graphic control label: 0x"+a[E-1].toString(16))}break;case 44:var Bt=a[E++]|a[E++]<<8,ft=a[E++]|a[E++]<<8,$t=a[E++]|a[E++]<<8,Qt=a[E++]|a[E++]<<8,_t=a[E++],Pn=_t>>6&1,$n=1<<1+(7&_t),Rn=le,ln=pe,Wt=!1;_t>>7&&(Wt=!0,Rn=E,ln=$n,E+=3*$n);var En=E;for(E++;;){var ct;if(!((ct=a[E++])>=0))throw Error("Invalid block size");if(ct===0)break;E+=ct}Le.push({x:Bt,y:ft,width:$t,height:Qt,has_local_palette:Wt,palette_offset:Rn,palette_size:ln,data_offset:En,data_length:E-En,transparent_index:nt,interlaced:!!Pn,delay:Ke,disposal:Se});break;case 59:ye=!1;break;default:throw new Error("Unknown gif block: 0x"+a[E-1].toString(16))}this.numFrames=function(){return Le.length},this.loopCount=function(){return Ft},this.frameInfo=function(Dt){if(Dt<0||Dt>=Le.length)throw new Error("Frame index out of range.");return Le[Dt]},this.decodeAndBlitFrameBGRA=function(Dt,qt){var Jt=this.frameInfo(Dt),Mn=Jt.width*Jt.height,_n=new Uint8Array(Mn);Zm(a,Jt.data_offset,_n,Mn);var Wn=Jt.palette_offset,Nn=Jt.transparent_index;Nn===null&&(Nn=256);var Hn=Jt.width,Sr=y-Hn,cr=Hn,st=4*(Jt.y*y+Jt.x),Tt=4*((Jt.y+Jt.height)*y+Jt.x),Ht=st,tn=4*Sr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,xn=0,zn=_n.length;xn=Tt&&(tn=4*Sr+4*y*(mn-1),Ht=st+(Hn+Sr)*(mn<<1),mn>>=1)),Zn===Nn)Ht+=4;else{var or=a[Wn+3*Zn],br=a[Wn+3*Zn+1],Zr=a[Wn+3*Zn+2];qt[Ht++]=Zr,qt[Ht++]=br,qt[Ht++]=or,qt[Ht++]=255}--cr}},this.decodeAndBlitFrameRGBA=function(Dt,qt){var Jt=this.frameInfo(Dt),Mn=Jt.width*Jt.height,_n=new Uint8Array(Mn);Zm(a,Jt.data_offset,_n,Mn);var Wn=Jt.palette_offset,Nn=Jt.transparent_index;Nn===null&&(Nn=256);var Hn=Jt.width,Sr=y-Hn,cr=Hn,st=4*(Jt.y*y+Jt.x),Tt=4*((Jt.y+Jt.height)*y+Jt.x),Ht=st,tn=4*Sr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,xn=0,zn=_n.length;xn=Tt&&(tn=4*Sr+4*y*(mn-1),Ht=st+(Hn+Sr)*(mn<<1),mn>>=1)),Zn===Nn)Ht+=4;else{var or=a[Wn+3*Zn],br=a[Wn+3*Zn+1],Zr=a[Wn+3*Zn+2];qt[Ht++]=or,qt[Ht++]=br,qt[Ht++]=Zr,qt[Ht++]=255}--cr}}}function Zm(a,E,y,b){for(var z=a[E++],ee=1<>=pe,Le-=pe,Bt!==ee){if(Bt===de)break;for(var ft=Btee;)Qt=Ft[Qt]>>8,++$t;var _t=Qt;if(nt+$t+(ft!==Bt?1:0)>b)return void Qi.log("Warning, gif stream longer than expected.");y[nt++]=_t;var Pn=nt+=$t;for(ft!==Bt&&(y[nt++]=_t),Qt=ft;$t--;)Qt=Ft[Qt],y[--Pn]=255&Qt,Qt>>=8;bt!==null&&le<4096&&(Ft[le++]=bt<<8|_t,le>=ye+1&&pe<12&&(++pe,ye=ye<<1|1)),bt=Bt}else le=de+1,ye=(1<<(pe=z+1))-1,bt=null}return nt!==b&&Qi.log("Warning, gif stream shorter than expected."),y}function f0(a){var E,y,b,z,ee,de=Math.floor,le=new Array(64),pe=new Array(64),ye=new Array(64),Le=new Array(64),Ke=new Array(65535),nt=new Array(65535),Se=new Array(64),Ft=new Array(64),bt=[],Bt=0,ft=7,$t=new Array(64),Qt=new Array(64),_t=new Array(64),Pn=new Array(256),$n=new Array(2048),Rn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],ln=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Wt=[0,1,2,3,4,5,6,7,8,9,10,11],En=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],ct=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Dt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],qt=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function _n(st,Tt){for(var Ht=0,tn=0,mn=new Array,xn=1;xn<=16;xn++){for(var zn=1;zn<=st[xn];zn++)mn[Tt[tn]]=[],mn[Tt[tn]][0]=Ht,mn[Tt[tn]][1]=xn,tn++,Ht++;Ht*=2}return mn}function Wn(st){for(var Tt=st[0],Ht=st[1]-1;Ht>=0;)Tt&1<>8&255),Nn(255&st)}function Sr(st,Tt,Ht,tn,mn){for(var xn,zn=mn[0],Zn=mn[240],or=function(vr,Oa){var ra,Pa,xa,Ri,bi,qa,Fi,wi,ma,ni,Aa=0;for(ma=0;ma<8;++ma){ra=vr[Aa],Pa=vr[Aa+1],xa=vr[Aa+2],Ri=vr[Aa+3],bi=vr[Aa+4],qa=vr[Aa+5],Fi=vr[Aa+6];var To=ra+(wi=vr[Aa+7]),Pi=ra-wi,di=Pa+Fi,fi=Pa-Fi,go=xa+qa,Ba=xa-qa,no=Ri+bi,Za=Ri-bi,$a=To+no,yo=To-no,pi=di+go,_a=di-go;vr[Aa]=$a+pi,vr[Aa+4]=$a-pi;var zi=.707106781*(_a+yo);vr[Aa+2]=yo+zi,vr[Aa+6]=yo-zi;var Qu=.382683433*(($a=Za+Ba)-(_a=fi+Pi)),ys=.5411961*$a+Qu,Zl=1.306562965*_a+Qu,Nl=.707106781*(pi=Ba+fi),Ra=Pi+Nl,Yl=Pi-Nl;vr[Aa+5]=Yl+ys,vr[Aa+3]=Yl-ys,vr[Aa+1]=Ra+Zl,vr[Aa+7]=Ra-Zl,Aa+=8}for(Aa=0,ma=0;ma<8;++ma){ra=vr[Aa],Pa=vr[Aa+8],xa=vr[Aa+16],Ri=vr[Aa+24],bi=vr[Aa+32],qa=vr[Aa+40],Fi=vr[Aa+48];var Vl=ra+(wi=vr[Aa+56]),qs=ra-wi,$s=Pa+Fi,So=Pa-Fi,is=xa+qa,os=xa-qa,Ju=Ri+bi,vu=Ri-bi,hl=Vl+Ju,Ll=Vl-Ju,ml=$s+is,pl=$s-is;vr[Aa]=hl+ml,vr[Aa+32]=hl-ml;var el=.707106781*(pl+Ll);vr[Aa+16]=Ll+el,vr[Aa+48]=Ll-el;var Xu=.382683433*((hl=vu+os)-(pl=So+qs)),Pl=.5411961*hl+Xu,qu=1.306562965*pl+Xu,Dc=.707106781*(ml=os+So),Sc=qs+Dc,Nc=qs-Dc;vr[Aa+40]=Nc+Pl,vr[Aa+24]=Nc-Pl,vr[Aa+8]=Sc+qu,vr[Aa+56]=Sc-qu,Aa++}for(ma=0;ma<64;++ma)ni=vr[ma]*Oa[ma],Se[ma]=ni>0?ni+.5|0:ni-.5|0;return Se}(st,Tt),br=0;br<64;++br)Ft[Rn[br]]=or[br];var Zr=Ft[0]-Ht;Ht=Ft[0],Zr==0?Wn(tn[0]):(Wn(tn[nt[xn=32767+Zr]]),Wn(Ke[xn]));for(var Wr=63;Wr>0&&Ft[Wr]==0;)Wr--;if(Wr==0)return Wn(zn),Ht;for(var Ea,St=1;St<=Wr;){for(var Yr=St;Ft[St]==0&&St<=Wr;)++St;var li=St-Yr;if(li>=16){Ea=li>>4;for(var Ma=1;Ma<=Ea;++Ma)Wn(Zn);li&=15}xn=32767+Ft[St],Wn(mn[(li<<4)+nt[xn]]),Wn(Ke[xn]),St++}return Wr!=63&&Wn(zn),Ht}function cr(st){st=Math.min(Math.max(st,1),100),ee!=st&&(function(Tt){for(var Ht=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tn=0;tn<64;tn++){var mn=de((Ht[tn]*Tt+50)/100);mn=Math.min(Math.max(mn,1),255),le[Rn[tn]]=mn}for(var xn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],zn=0;zn<64;zn++){var Zn=de((xn[zn]*Tt+50)/100);Zn=Math.min(Math.max(Zn,1),255),pe[Rn[zn]]=Zn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],br=0,Zr=0;Zr<8;Zr++)for(var Wr=0;Wr<8;Wr++)ye[br]=1/(le[Rn[br]]*or[Zr]*or[Wr]*8),Le[br]=1/(pe[Rn[br]]*or[Zr]*or[Wr]*8),br++}(st<50?Math.floor(5e3/st):Math.floor(200-2*st)),ee=st)}this.encode=function(st,Tt){Tt&&cr(Tt),bt=new Array,Bt=0,ft=7,Hn(65496),Hn(65504),Hn(16),Nn(74),Nn(70),Nn(73),Nn(70),Nn(0),Nn(1),Nn(1),Nn(0),Hn(1),Hn(1),Nn(0),Nn(0),function(){Hn(65499),Hn(132),Nn(0);for(var Pa=0;Pa<64;Pa++)Nn(le[Pa]);Nn(1);for(var xa=0;xa<64;xa++)Nn(pe[xa])}(),function(Pa,xa){Hn(65472),Hn(17),Nn(8),Hn(xa),Hn(Pa),Nn(3),Nn(1),Nn(17),Nn(0),Nn(2),Nn(17),Nn(1),Nn(3),Nn(17),Nn(1)}(st.width,st.height),function(){Hn(65476),Hn(418),Nn(0);for(var Pa=0;Pa<16;Pa++)Nn(ln[Pa+1]);for(var xa=0;xa<=11;xa++)Nn(Wt[xa]);Nn(16);for(var Ri=0;Ri<16;Ri++)Nn(En[Ri+1]);for(var bi=0;bi<=161;bi++)Nn(ct[bi]);Nn(1);for(var qa=0;qa<16;qa++)Nn(Dt[qa+1]);for(var Fi=0;Fi<=11;Fi++)Nn(qt[Fi]);Nn(17);for(var wi=0;wi<16;wi++)Nn(Jt[wi+1]);for(var ma=0;ma<=161;ma++)Nn(Mn[ma])}(),Hn(65498),Hn(12),Nn(3),Nn(1),Nn(0),Nn(2),Nn(17),Nn(3),Nn(17),Nn(0),Nn(63),Nn(0);var Ht=0,tn=0,mn=0;Bt=0,ft=7,this.encode.displayName="_encode_";for(var xn,zn,Zn,or,br,Zr,Wr,Ea,St,Yr=st.data,li=st.width,Ma=st.height,vr=4*li,Oa=0;Oa>3)*vr+(Wr=4*(7&St)),Oa+Ea>=Ma&&(Zr-=vr*(Oa+1+Ea-Ma)),xn+Wr>=vr&&(Zr-=xn+Wr-vr+4),zn=Yr[Zr++],Zn=Yr[Zr++],or=Yr[Zr++],$t[St]=($n[zn]+$n[Zn+256|0]+$n[or+512|0]>>16)-128,Qt[St]=($n[zn+768|0]+$n[Zn+1024|0]+$n[or+1280|0]>>16)-128,_t[St]=($n[zn+1280|0]+$n[Zn+1536|0]+$n[or+1792|0]>>16)-128;Ht=Sr($t,ye,Ht,E,b),tn=Sr(Qt,Le,tn,y,z),mn=Sr(_t,Le,mn,y,z),xn+=32}Oa+=8}if(ft>=0){var ra=[];ra[1]=ft+1,ra[0]=(1<Dt;Dt++)if(Wt[En+Dt]!=ct.charCodeAt(Dt))return!0;return!1}function b(Wt,En,ct,Dt,qt){for(var Jt=0;JtJt+1?[]:new En),!(Mn.length>>0;te&xe;)xe>>>=1;return xe?(te&xe-1)+xe:te}function ct(te,oe,xe,ke,Xe){E(!(ke%xe));do te[oe+(ke-=xe)]=Xe;while(0=Xe),512>=Xe)var rt=ee(512);else if((rt=ee(Xe))==null)return 0;return function(ot,vt,At,jt,an,Ln){var Mt,hn,bn=vt,Xn=1<Mt;++Mt){if(Sn[Mt]>1<(ii-=Sn[Mt]))return 0;for(;0=Mt;++Mt,an<<=1){if(ea+=ii<<=1,0>(ii-=Sn[Mt]))return 0;for(;0Ar&&!(0>=(ir-=Sn[Ar]));)++Ar,ir<<=1;Xn+=da=1<<(ir=Ar-At),ot[vt+(Ar=ga&mr)].g=ir+At,ot[vt+Ar].value=bn-vt-Ar}jt.g=Mt-At,jt.value=Ln[hn++],ct(ot,bn+(ga>>At),an,da,jt),ga=En(ga,Mt)}}return ea!=2*tr[15]-1?0:Xn}(te,oe,xe,ke,Xe,rt)}function qt(){this.value=this.g=0}function Jt(){this.value=this.g=0}function Mn(){this.G=de(5,qt),this.H=ee(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=de(uc,Jt)}function _n(te,oe,xe,ke){E(te!=null),E(oe!=null),E(2147483648>ke),te.Ca=254,te.I=0,te.b=-8,te.Ka=0,te.oa=oe,te.pa=xe,te.Jd=oe,te.Yc=xe+ke,te.Zc=4<=ke?xe+ke-4+1:xe,zn(te)}function Wn(te,oe){for(var xe=0;0ke),te.Sb=ke,te.Ra=0,te.u=0,te.h=0,4>>=8,te.Ra+=te.oa[te.pa+te.bb]<>>0,++te.bb,te.u-=8;tn(te)&&(te.h=1,te.u=0)}function cr(te,oe){if(E(0<=oe),!te.h&&oe<=Ws){var xe=Ht(te)&Us[oe];return te.u+=oe,Sr(te),xe}return te.h=1,te.u=0}function st(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Tt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ht(te){return te.Ra>>>(te.u&Eu-1)>>>0}function tn(te){return E(te.bb<=te.Sb),te.h||te.bb==te.Sb&&te.u>Eu}function mn(te,oe){te.u=oe,te.h=tn(te)}function xn(te){te.u>=nu&&(E(te.u>=nu),Sr(te))}function zn(te){E(te!=null&&te.oa!=null),te.pa>>0,te.b+=8):(E(te!=null&&te.oa!=null),te.pate.b&&zn(te);var ke=te.b,Xe=xe*oe>>>8,rt=(te.I>>>ke>Xe)+0;for(rt?(xe-=Xe,te.I-=Xe+1<>>0):xe=Xe+1,ke=xe,Xe=0;256<=ke;)Xe+=8,ke>>=8;return ke=7^Xe+bu[ke],te.b-=ke,te.Ca=(xe<>24&255,te[oe+1]=xe>>16&255,te[oe+2]=xe>>8&255,te[oe+3]=255&xe}function Zr(te,oe){return te[oe+0]|te[oe+1]<<8}function Wr(te,oe){return Zr(te,oe)|te[oe+2]<<16}function Ea(te,oe){return Zr(te,oe)|Zr(te,oe+2)<<16}function St(te,oe){var xe=1<=Xe||0>=rt?0:(xe[0]=Xe,ke[0]=rt,1)}function vr(te,oe){return te+(1<>>oe}function Oa(te,oe){return((4278255360&te)+(4278255360&oe)>>>0&4278255360)+((16711935&te)+(16711935&oe)>>>0&16711935)>>>0}function ra(te,oe){Wt[oe]=function(xe,ke,Xe,rt,ot,vt,At){var jt;for(jt=0;jt>>1)+(te&oe)>>>0}function Ri(te){return 0<=te&&256>te?te:0>te?0:255>1))}function qa(te,oe,xe){return Math.abs(oe-xe)-Math.abs(te-xe)}function Fi(te,oe,xe,ke,Xe,rt,ot){for(ke=rt[ot-1],xe=0;xe>8&255,At=16711935&(At=(At=16711935&ot)+((vt<<16)+vt));ke[Xe+rt]=(4278255360&ot)+At>>>0}}function ma(te,oe){oe.jd=255&te,oe.hd=te>>8&255,oe.ud=te>>16&255}function ni(te,oe,xe,ke,Xe,rt){var ot;for(ot=0;ot>>8,jt=vt,an=255&(an=(an=vt>>>16)+((te.jd<<24>>24)*(At<<24>>24)>>>5));jt=255&(jt=(jt+=(te.hd<<24>>24)*(At<<24>>24)>>>5)+((te.ud<<24>>24)*(an<<24>>24)>>>5)),Xe[rt+ot]=(4278255360&vt)+(an<<16)+jt}}function Aa(te,oe,xe,ke,Xe){Wt[oe]=function(rt,ot,vt,At,jt,an,Ln,Mt,hn){for(At=Ln;At>rt.b,hn=rt.Ea,bn=rt.K[0],Xn=rt.w;if(8>Mt)for(rt=(1<>=Mt}else Wt["VP8LMapColor"+xe](At,jt,bn,Xn,an,Ln,ot,vt,hn)}}function To(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=rt>>8&255,ke[Xe++]=255&rt}}function Pi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=rt>>8&255,ke[Xe++]=255&rt,ke[Xe++]=rt>>24&255}}function di(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&240|ot>>12&15,ot=240&ot|ot>>28&15;ke[Xe++]=rt,ke[Xe++]=ot}}function fi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&248|ot>>13&7,ot=ot>>5&224|ot>>3&31;ke[Xe++]=rt,ke[Xe++]=ot}}function go(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>8&255,ke[Xe++]=rt>>16&255}}function Ba(te,oe,xe,ke,Xe,rt){if(rt==0)for(xe=oe+xe;oe>24|rt[1]>>8&65280|rt[2]<<8&16711680|rt[3]<<24)>>>0),Xe+=32;else b(ke,Xe,te,oe,xe)}function no(te,oe){Wt[oe][0]=Wt[te+"0"],Wt[oe][1]=Wt[te+"1"],Wt[oe][2]=Wt[te+"2"],Wt[oe][3]=Wt[te+"3"],Wt[oe][4]=Wt[te+"4"],Wt[oe][5]=Wt[te+"5"],Wt[oe][6]=Wt[te+"6"],Wt[oe][7]=Wt[te+"7"],Wt[oe][8]=Wt[te+"8"],Wt[oe][9]=Wt[te+"9"],Wt[oe][10]=Wt[te+"10"],Wt[oe][11]=Wt[te+"11"],Wt[oe][12]=Wt[te+"12"],Wt[oe][13]=Wt[te+"13"],Wt[oe][14]=Wt[te+"0"],Wt[oe][15]=Wt[te+"0"]}function Za(te){return te==P0||te==I0||te==bf||te==j0}function $a(){this.eb=[],this.size=this.A=this.fb=0}function yo(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function pi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new $a,this.f.kb=new yo,this.sd=null}function _a(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function zi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Qu(te){return alert("todo:WebPSamplerProcessPlane"),te.T}function ys(te,oe){var xe=te.T,ke=oe.ba.f.RGBA,Xe=ke.eb,rt=ke.fb+te.ka*ke.A,ot=ol[oe.ba.S],vt=te.y,At=te.O,jt=te.f,an=te.N,Ln=te.ea,Mt=te.W,hn=oe.cc,bn=oe.dc,Xn=oe.Mc,Sn=oe.Nc,tr=te.ka,ir=te.ka+te.T,Ar=te.U,mr=Ar+1>>1;for(tr==0?ot(vt,At,null,null,jt,an,Ln,Mt,jt,an,Ln,Mt,Xe,rt,null,null,Ar):(ot(oe.ec,oe.fc,vt,At,hn,bn,Xn,Sn,jt,an,Ln,Mt,Xe,rt-ke.A,Xe,rt,Ar),++xe);tr+2xe,Xe=xe==yf||xe==Af||xe==Ef||xe==L0||xe==12||Za(xe);if(oe.memory=null,oe.Ib=null,oe.Jb=null,oe.Nd=null,!yd(oe.Oa,te,Xe?11:12))return 0;if(Xe&&Za(xe)&&pd(),te.da)alert("todo:use_scaling");else{if(ke){if(oe.Ib=Qu,te.Kb){if(xe=te.U+1>>1,oe.memory=ee(te.U+2*xe),oe.memory==null)return 0;oe.ec=oe.memory,oe.fc=0,oe.cc=oe.ec,oe.dc=oe.fc+te.U,oe.Mc=oe.cc,oe.Nc=oe.dc+xe,oe.Ib=ys,pd()}}else alert("todo:EmitYUV");Xe&&(oe.Jb=Zl,ke&&gl())}if(ke&&!yp){for(te=0;256>te;++te)eg[te]=89858*(te-128)+xf>>wf,rg[te]=-22014*(te-128)+xf,ng[te]=-45773*(te-128),tg[te]=113618*(te-128)+xf>>wf;for(te=Sd;te>wf,ag[te-Sd]=Il(oe,255),ig[te-Sd]=Il(oe+8>>4,15);yp=1}return 1}function Ra(te){var oe=te.ma,xe=te.U,ke=te.T;return E(!(1&te.ka)),0>=xe||0>=ke?0:(xe=oe.Ib(te,oe),oe.Jb!=null&&oe.Jb(te,oe,xe),oe.Dc+=xe,1)}function Yl(te){te.ma.memory=null}function Vl(te,oe,xe,ke){return cr(te,8)!=47?0:(oe[0]=cr(te,14)+1,xe[0]=cr(te,14)+1,ke[0]=cr(te,1),cr(te,3)!=0?0:!te.h)}function qs(te,oe){if(4>te)return te+1;var xe=te-2>>1;return(2+(1&te)<>4)*te+(8-(15&xe)))?xe:1;var xe}function So(te,oe,xe){var ke=Ht(xe),Xe=te[oe+=255&ke].g-8;return 0>>0,E(8>=xe.g),te.g}function os(te,oe,xe){var ke=te.xc;return E((oe=ke==0?0:te.vc[te.md*(xe>>ke)+(oe>>ke)])>da.b)*ea;XnAr&&(fa=Ar),(0,wd[Bi[es++]>>8&15])(Mt,hn+ +oi,tr,ir+oi-Ar,fa-oi,tr,ir+oi),oi=fa}hn+=Ar,ir+=Ar,++Xn&ga||(da+=ea)}Ln!=jt.nc&&b(At,vt-bn,At,vt+(Ln-an-1)*bn,bn);break;case 1:for(bn=Mt,Sn=hn,Ar=(Mt=jt.Ea)-(ir=Mt&~(tr=(hn=1<>jt.b)*Xn;an=Xe),0rt.o&&(ke=rt.o),xe=ke?xe=0:(Xe[0]+=4*rt.v,rt.ka=xe-rt.j,rt.U=rt.va-rt.v,rt.T=ke-xe,xe=1),xe){if(vt=vt[0],11>(xe=te.ca).S){var an=xe.f.RGBA,Ln=(ke=xe.S,Xe=rt.U,rt=rt.T,jt=an.eb,an.A),Mt=rt;for(an=an.fb+te.Ma*an.A;0ke){var Xe=te.l.width,rt=xe.ca,ot=xe.tb+Xe*ke,vt=te.V,At=te.Ba+te.c*ke,jt=te.gc;E(te.ab==1),E(jt[0].hc==3),kl(jt[0],ke,oe,vt,At,rt,ot),Ll(xe,ke,oe,rt,ot,Xe)}te.C=te.Ma=oe}function pl(te,oe,xe,ke,Xe,rt,ot){var vt=te.$/ke,At=te.$%ke,jt=te.m,an=te.s,Ln=xe+te.$,Mt=Ln;Xe=xe+ke*Xe;var hn=xe+ke*rt,bn=280+an.ua,Xn=te.Pb?vt:16777216,Sn=0=Xn){var ga=Ln-xe;E((Xn=te).Pb),Xn.wd=Xn.m,Xn.xd=ga,0ii.g?(mn(mr,mr.u+ii.g),ga[ea]=ii.value,mr=0):(mn(mr,mr.u+ii.g-256),E(256<=ii.value),mr=ii.value),mr==0&&(Ar=!0)}else mr=So(ir.G[0],ir.H[0],jt);if(jt.h)break;if(Ar||256>mr){if(!Ar)if(ir.nd)oe[Ln]=(ir.qb|mr<<8)>>>0;else{if(xn(jt),Ar=So(ir.G[1],ir.H[1],jt),xn(jt),ga=So(ir.G[2],ir.H[2],jt),ea=So(ir.G[3],ir.H[3],jt),jt.h)break;oe[Ln]=(ea<<24|Ar<<16|mr<<8|ga)>>>0}if(Ar=!1,++Ln,++At>=ke&&(At=0,++vt,ot!=null&&vt<=rt&&!(vt%16)&&ot(te,vt),Sn!=null))for(;Mt>>Sn.Mb]=mr}else if(280>mr){if(mr=qs(mr-256,jt),ga=So(ir.G[4],ir.H[4],jt),xn(jt),ga=$s(ke,ga=qs(ga,jt)),jt.h)break;if(Ln-xe=ke;)At-=ke,++vt,ot!=null&&vt<=rt&&!(vt%16)&&ot(te,vt);if(E(Ln<=Xe),At&tr&&(ir=os(an,At,vt)),Sn!=null)for(;Mt>>Sn.Mb]=mr}else{if(!(mr>>Sn.Mb]=mr;mr=Ln,E(!(Ar>>>(ga=Sn).Xa)),oe[mr]=ga.X[Ar],Ar=!0}Ar||E(jt.h==tn(jt))}if(te.Pb&&jt.h&&Lnrt?rt:vt),te.a=0,te.$=Ln-xe}return 1}return te.a=3,0}function el(te){E(te!=null),te.vc=null,te.yc=null,te.Ya=null;var oe=te.Wa;oe!=null&&(oe.X=null),te.vb=null,E(te!=null)}function Xu(){var te=new Ga;return te==null?null:(te.a=0,te.xb=fp,no("Predictor","VP8LPredictors"),no("Predictor","VP8LPredictors_C"),no("PredictorAdd","VP8LPredictorsAdd"),no("PredictorAdd","VP8LPredictorsAdd_C"),_o=wi,xd=ni,Cd=To,wu=Pi,xu=di,Cu=fi,cc=go,Wt.VP8LMapColor32b=Ol,Wt.VP8LMapColor8b=bd,te)}function Pl(te,oe,xe,ke,Xe){var rt=1,ot=[te],vt=[oe],At=ke.m,jt=ke.s,an=null,Ln=0;e:for(;;){if(xe)for(;rt&&cr(At,1);){var Mt=ot,hn=vt,bn=ke,Xn=1,Sn=bn.m,tr=bn.gc[bn.ab],ir=cr(Sn,2);if(bn.Oc&1<=bn.ab),ir){case 0:case 1:tr.b=cr(Sn,3)+2,Xn=Pl(vr(tr.Ea,tr.b),vr(tr.nc,tr.b),0,bn,tr.K),tr.K=tr.K[0];break;case 3:var Ar,mr=cr(Sn,8)+1,ga=16>da.b),es=ee(Bi);if(es==null)Ar=0;else{var oi=da.K[0],fa=da.w;for(es[0]=da.K[0][0],ea=1;ea<1*ii;++ea)es[ea]=Oa(oi[fa+ea],es[ea-1]);for(;ea<4*Bi;++ea)es[ea]=0;da.K[0]=null,da.K[0]=es,Ar=1}}Xn=Ar;break;case 2:break;default:E(0)}rt=Xn}}if(ot=ot[0],vt=vt[0],rt&&cr(At,1)&&!(rt=1<=(Ln=cr(At,4))&&11>=Ln)){ke.a=3;break e}var _r;if(_r=rt)t:{var zo,ei,Li,so=ke,us=ot,Fs=vt,No=Ln,As=xe,Bs=so.m,ts=so.s,ji=[null],Yi=1,Lo=0,Vi=Uv[No];n:for(;;){if(As&&cr(Bs,1)){var cs=cr(Bs,3)+2,Al=vr(us,cs),Uo=vr(Fs,cs),js=Al*Uo;if(!Pl(Al,Uo,0,so,ji))break n;for(ji=ji[0],ts.xc=cs,zo=0;zo>8&65535;ji[zo]=Xi,Xi>=Yi&&(Yi=Xi+1)}}if(Bs.h)break n;for(ei=0;5>ei;++ei){var ns=cp[ei];!ei&&0=Ds),Hs=Vs;var Ms=ee(Lo);if(Hs==null||Ms==null||Ys==null){so.a=1;break n}var Gs=Ys;for(zo=Li=0;zoei;++ei){ns=cp[ei],Ks[ei]=Gs,El[ei]=Li,!ei&&0Nf)break r}else R0=Nf;for(Ld=0;LdRc)Fp[Ld++]=Rc,Rc!=0&&(Bp=Rc);else{var pg=Rc==16,Np=Rc-16,vg=Tv[Np],Lp=cr(Nu,kv[Np])+vg;if(Ld+Lp>Nf)break r;for(var gg=pg?Bp:0;0=ei){var Pd,U0=Ms[0];for(Pd=1;PdU0&&(U0=Ms[Pd]);ds+=U0}}if(ao.nd=iu,ao.Qb=0,iu&&(ao.qb=(Ks[3][El[3]+0].value<<24|Ks[1][El[1]+0].value<<16|Ks[2][El[2]+0].value)>>>0,fc==0&&256>Ks[0][El[0]+0].value&&(ao.Qb=1,ao.qb+=Ks[0][El[0]+0].value<<8)),ao.jc=!ao.Qb&&6>ds,ao.jc){var Lf,ou=ao;for(Lf=0;Lf>=is(Pf,8,Pu),Lu>>=is(ou.G[1][ou.H[1]+Lu],16,Pu),Lu>>=is(ou.G[2][ou.H[2]+Lu],0,Pu),is(ou.G[3][ou.H[3]+Lu],24,Pu))}}}ts.vc=ji,ts.Wb=Yi,ts.Ya=Hs,ts.yc=Ys,_r=1;break t}_r=0}if(!(rt=_r)){ke.a=3;break e}if(0ke+1?[]:0),!(Xe.lengthte?0:te>oe?oe:te}function Lc(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function m0(){var te=new ef;return te!=null&&(te.a=0,te.sc="OK",te.cb=0,te.Xb=0,Dd||(Dd=Pc)),te}function Vo(te,oe,xe){return te.a==0&&(te.a=oe,te.sc=xe,te.cb=0),0}function tf(te,oe,xe){return 3<=xe&&te[oe+0]==157&&te[oe+1]==1&&te[oe+2]==42}function jl(te,oe){if(te==null)return 0;if(te.a=0,te.sc="OK",oe==null)return Vo(te,2,"null VP8Io passed to VP8GetHeaders()");var xe=oe.data,ke=oe.w,Xe=oe.ha;if(4>Xe)return Vo(te,7,"Truncated header.");var rt=xe[ke+0]|xe[ke+1]<<8|xe[ke+2]<<16,ot=te.Od;if(ot.Rb=!(1&rt),ot.td=rt>>1&7,ot.yd=rt>>4&1,ot.ub=rt>>5,3Xe)return Vo(te,7,"cannot parse picture header");if(!tf(xe,ke,Xe))return Vo(te,3,"Bad code word");vt.c=16383&(xe[ke+4]<<8|xe[ke+3]),vt.Td=xe[ke+4]>>6,vt.i=16383&(xe[ke+6]<<8|xe[ke+5]),vt.Ud=xe[ke+6]>>6,ke+=7,Xe-=7,te.za=vt.c+15>>4,te.Ub=vt.i+15>>4,oe.width=vt.c,oe.height=vt.i,oe.Da=0,oe.j=0,oe.v=0,oe.va=oe.width,oe.o=oe.height,oe.da=0,oe.ib=oe.width,oe.hb=oe.height,oe.U=oe.width,oe.T=oe.height,z((rt=te.Pa).jb,0,255,rt.jb.length),E((rt=te.Qa)!=null),rt.Cb=0,rt.Bb=0,rt.Fb=1,z(rt.Zb,0,0,rt.Zb.length),z(rt.Lb,0,0,rt.Lb)}if(ot.ub>Xe)return Vo(te,7,"bad partition length");_n(rt=te.m,xe,ke,ot.ub),ke+=ot.ub,Xe-=ot.ub,ot.Rb&&(vt.Ld=Zn(rt),vt.Kd=Zn(rt)),vt=te.Qa;var At,jt=te.Pa;if(E(rt!=null),E(vt!=null),vt.Cb=Zn(rt),vt.Cb){if(vt.Bb=Zn(rt),Zn(rt)){for(vt.Fb=Zn(rt),At=0;4>At;++At)vt.Zb[At]=Zn(rt)?Nn(rt,7):0;for(At=0;4>At;++At)vt.Lb[At]=Zn(rt)?Nn(rt,6):0}if(vt.Bb)for(At=0;3>At;++At)jt.jb[At]=Zn(rt)?Wn(rt,8):255}else vt.Bb=0;if(rt.Ka)return Vo(te,3,"cannot parse segment header");if((vt=te.ed).zd=Zn(rt),vt.Tb=Wn(rt,6),vt.wb=Wn(rt,3),vt.Pc=Zn(rt),vt.Pc&&Zn(rt)){for(jt=0;4>jt;++jt)Zn(rt)&&(vt.vd[jt]=Nn(rt,6));for(jt=0;4>jt;++jt)Zn(rt)&&(vt.od[jt]=Nn(rt,6))}if(te.L=vt.Tb==0?0:vt.zd?1:2,rt.Ka)return Vo(te,3,"cannot parse filter header");var an=Xe;if(Xe=At=ke,ke=At+an,vt=an,te.Xb=(1<vt&&(Ln=vt),_n(te.Jc[+an],xe,At,Ln),At+=Ln,vt-=Ln,Xe+=3}_n(te.Jc[+jt],xe,At,vt),xe=AtLn;++Ln){if(an.Cb){var Mt=an.Zb[Ln];an.Fb||(Mt+=xe)}else{if(0>16,8>hn.Eb[1]&&(hn.Eb[1]=8),hn.Qc[0]=M0[Il(Mt+jt,117)],hn.Qc[1]=O0[Il(Mt+At,127)],hn.lc=Mt+At}if(!ot.Rb)return Vo(te,4,"Not a key frame.");for(Zn(rt),ot=te.Pa,xe=0;4>xe;++xe){for(Xe=0;8>Xe;++Xe)for(ke=0;3>ke;++ke)for(vt=0;11>vt;++vt)jt=or(rt,Gv[xe][Xe][ke][vt])?Wn(rt,8):Vv[xe][Xe][ke][vt],ot.Wc[xe][Xe].Yb[ke][vt]=jt;for(Xe=0;17>Xe;++Xe)ot.Xc[xe][Xe]=ot.Wc[xe][Kv[Xe]]}return te.kc=Zn(rt),te.kc&&(te.Bd=Wn(rt,8)),te.cb=1}function Pc(te,oe,xe,ke,Xe,rt,ot){var vt=oe[Xe].Yb[xe];for(xe=0;16>Xe;++Xe){if(!or(te,vt[xe+0]))return Xe;for(;!or(te,vt[xe+1]);)if(vt=oe[++Xe].Yb[0],xe=0,Xe==16)return 16;var At=oe[Xe+1].Yb;if(or(te,vt[xe+2])){var jt=te,an=0;if(or(jt,(Mt=vt)[(Ln=xe)+3]))if(or(jt,Mt[Ln+6])){for(vt=0,Ln=2*(an=or(jt,Mt[Ln+8]))+(Mt=or(jt,Mt[Ln+9+an])),an=0,Mt=Zv[Ln];Mt[vt];++vt)an+=an+or(jt,Mt[vt]);an+=3+(8<(jt=te).b&&zn(jt);var Ln,Mt=jt.b,hn=(Ln=jt.Ca>>1)-(jt.I>>Mt)>>31;--jt.b,jt.Ca+=hn,jt.Ca|=1,jt.I-=(Ln+1&hn)<>3),te[oe+xe+32*ke]=-256&Xe?0>Xe?0:255:Xe}function Xo(te,oe,xe,ke,Xe,rt){nl(te,oe,0,xe,ke+Xe),nl(te,oe,1,xe,ke+rt),nl(te,oe,2,xe,ke-rt),nl(te,oe,3,xe,ke-Xe)}function Hl(te){return(20091*te>>16)+te}function rf(te,oe,xe,ke){var Xe,rt=0,ot=ee(16);for(Xe=0;4>Xe;++Xe){var vt=te[oe+0]+te[oe+8],At=te[oe+0]-te[oe+8],jt=(35468*te[oe+4]>>16)-Hl(te[oe+12]),an=Hl(te[oe+4])+(35468*te[oe+12]>>16);ot[rt+0]=vt+an,ot[rt+1]=At+jt,ot[rt+2]=At-jt,ot[rt+3]=vt-an,rt+=4,oe++}for(Xe=rt=0;4>Xe;++Xe)vt=(te=ot[rt+0]+4)+ot[rt+8],At=te-ot[rt+8],jt=(35468*ot[rt+4]>>16)-Hl(ot[rt+12]),nl(xe,ke,0,0,vt+(an=Hl(ot[rt+4])+(35468*ot[rt+12]>>16))),nl(xe,ke,1,0,At+jt),nl(xe,ke,2,0,At-jt),nl(xe,ke,3,0,vt-an),rt++,ke+=32}function p0(te,oe,xe,ke){var Xe=te[oe+0]+4,rt=35468*te[oe+4]>>16,ot=Hl(te[oe+4]),vt=35468*te[oe+1]>>16;Xo(xe,ke,0,Xe+ot,te=Hl(te[oe+1]),vt),Xo(xe,ke,1,Xe+rt,te,vt),Xo(xe,ke,2,Xe-rt,te,vt),Xo(xe,ke,3,Xe-ot,te,vt)}function v0(te,oe,xe,ke,Xe){rf(te,oe,xe,ke),Xe&&rf(te,oe+16,xe,ke+4)}function Ml(te,oe,xe,ke){dc(te,oe+0,xe,ke,1),dc(te,oe+32,xe,ke+128,1)}function af(te,oe,xe,ke){var Xe;for(te=te[oe+0]+4,Xe=0;4>Xe;++Xe)for(oe=0;4>oe;++oe)nl(xe,ke,oe,Xe,te)}function of(te,oe,xe,ke){te[oe+0]&&Ui(te,oe+0,xe,ke),te[oe+16]&&Ui(te,oe+16,xe,ke+4),te[oe+32]&&Ui(te,oe+32,xe,ke+128),te[oe+48]&&Ui(te,oe+48,xe,ke+128+4)}function Ic(te,oe,xe,ke){var Xe,rt=ee(16);for(Xe=0;4>Xe;++Xe){var ot=te[oe+0+Xe]+te[oe+12+Xe],vt=te[oe+4+Xe]+te[oe+8+Xe],At=te[oe+4+Xe]-te[oe+8+Xe],jt=te[oe+0+Xe]-te[oe+12+Xe];rt[0+Xe]=ot+vt,rt[8+Xe]=ot-vt,rt[4+Xe]=jt+At,rt[12+Xe]=jt-At}for(Xe=0;4>Xe;++Xe)ot=(te=rt[0+4*Xe]+3)+rt[3+4*Xe],vt=rt[1+4*Xe]+rt[2+4*Xe],At=rt[1+4*Xe]-rt[2+4*Xe],jt=te-rt[3+4*Xe],xe[ke+0]=ot+vt>>3,xe[ke+16]=jt+At>>3,xe[ke+32]=ot-vt>>3,xe[ke+48]=jt-At>>3,ke+=64}function $u(te,oe,xe){var ke,Xe=oe-32,rt=Zs,ot=255-te[Xe-1];for(ke=0;kexe;++xe)b(te,oe+32*xe,te,oe-32,16)}function sf(te,oe){var xe;for(xe=16;0ke;++ke)z(oe,xe+32*ke,te,16)}function E0(te,oe){var xe,ke=16;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe]+te[oe+xe-32];vl(ke>>5,te,oe)}function ec(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe];vl(ke>>4,te,oe)}function ld(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe+xe-32];vl(ke>>4,te,oe)}function b0(te,oe){vl(128,te,oe)}function Ka(te,oe,xe){return te+2*oe+xe+2>>2}function w0(te,oe){var xe,ke=oe-32;for(ke=new Uint8Array([Ka(te[ke-1],te[ke+0],te[ke+1]),Ka(te[ke+0],te[ke+1],te[ke+2]),Ka(te[ke+1],te[ke+2],te[ke+3]),Ka(te[ke+2],te[ke+3],te[ke+4])]),xe=0;4>xe;++xe)b(te,oe+32*xe,ke,0,ke.length)}function x0(te,oe){var xe=te[oe-1],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1+96];br(te,oe+0,16843009*Ka(te[oe-1-32],xe,ke)),br(te,oe+32,16843009*Ka(xe,ke,Xe)),br(te,oe+64,16843009*Ka(ke,Xe,rt)),br(te,oe+96,16843009*Ka(Xe,rt,rt))}function C0(te,oe){var xe,ke=4;for(xe=0;4>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];for(ke>>=3,xe=0;4>xe;++xe)z(te,oe+32*xe,ke,4)}function Gl(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],At=te[oe+2-32],jt=te[oe+3-32];te[oe+0+96]=Ka(ke,Xe,te[oe-1+96]),te[oe+1+96]=te[oe+0+64]=Ka(xe,ke,Xe),te[oe+2+96]=te[oe+1+64]=te[oe+0+32]=Ka(rt,xe,ke),te[oe+3+96]=te[oe+2+64]=te[oe+1+32]=te[oe+0+0]=Ka(ot,rt,xe),te[oe+3+64]=te[oe+2+32]=te[oe+1+0]=Ka(vt,ot,rt),te[oe+3+32]=te[oe+2+0]=Ka(At,vt,ot),te[oe+3+0]=Ka(jt,At,vt)}function Kl(te,oe){var xe=te[oe+1-32],ke=te[oe+2-32],Xe=te[oe+3-32],rt=te[oe+4-32],ot=te[oe+5-32],vt=te[oe+6-32],At=te[oe+7-32];te[oe+0+0]=Ka(te[oe+0-32],xe,ke),te[oe+1+0]=te[oe+0+32]=Ka(xe,ke,Xe),te[oe+2+0]=te[oe+1+32]=te[oe+0+64]=Ka(ke,Xe,rt),te[oe+3+0]=te[oe+2+32]=te[oe+1+64]=te[oe+0+96]=Ka(Xe,rt,ot),te[oe+3+32]=te[oe+2+64]=te[oe+1+96]=Ka(rt,ot,vt),te[oe+3+64]=te[oe+2+96]=Ka(ot,vt,At),te[oe+3+96]=Ka(vt,At,At)}function F0(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],At=te[oe+2-32],jt=te[oe+3-32];te[oe+0+0]=te[oe+1+64]=rt+ot+1>>1,te[oe+1+0]=te[oe+2+64]=ot+vt+1>>1,te[oe+2+0]=te[oe+3+64]=vt+At+1>>1,te[oe+3+0]=At+jt+1>>1,te[oe+0+96]=Ka(Xe,ke,xe),te[oe+0+64]=Ka(ke,xe,rt),te[oe+0+32]=te[oe+1+96]=Ka(xe,rt,ot),te[oe+1+32]=te[oe+2+96]=Ka(rt,ot,vt),te[oe+2+32]=te[oe+3+96]=Ka(ot,vt,At),te[oe+3+32]=Ka(vt,At,jt)}function B0(te,oe){var xe=te[oe+0-32],ke=te[oe+1-32],Xe=te[oe+2-32],rt=te[oe+3-32],ot=te[oe+4-32],vt=te[oe+5-32],At=te[oe+6-32],jt=te[oe+7-32];te[oe+0+0]=xe+ke+1>>1,te[oe+1+0]=te[oe+0+64]=ke+Xe+1>>1,te[oe+2+0]=te[oe+1+64]=Xe+rt+1>>1,te[oe+3+0]=te[oe+2+64]=rt+ot+1>>1,te[oe+0+32]=Ka(xe,ke,Xe),te[oe+1+32]=te[oe+0+96]=Ka(ke,Xe,rt),te[oe+2+32]=te[oe+1+96]=Ka(Xe,rt,ot),te[oe+3+32]=te[oe+2+96]=Ka(rt,ot,vt),te[oe+3+64]=Ka(ot,vt,At),te[oe+3+96]=Ka(vt,At,jt)}function jc(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1+96];te[oe+0+0]=xe+ke+1>>1,te[oe+2+0]=te[oe+0+32]=ke+Xe+1>>1,te[oe+2+32]=te[oe+0+64]=Xe+rt+1>>1,te[oe+1+0]=Ka(xe,ke,Xe),te[oe+3+0]=te[oe+1+32]=Ka(ke,Xe,rt),te[oe+3+32]=te[oe+1+64]=Ka(Xe,rt,rt),te[oe+3+64]=te[oe+2+64]=te[oe+0+96]=te[oe+1+96]=te[oe+2+96]=te[oe+3+96]=rt}function ud(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1+96],ot=te[oe-1-32],vt=te[oe+0-32],At=te[oe+1-32],jt=te[oe+2-32];te[oe+0+0]=te[oe+2+32]=xe+ot+1>>1,te[oe+0+32]=te[oe+2+64]=ke+xe+1>>1,te[oe+0+64]=te[oe+2+96]=Xe+ke+1>>1,te[oe+0+96]=rt+Xe+1>>1,te[oe+3+0]=Ka(vt,At,jt),te[oe+2+0]=Ka(ot,vt,At),te[oe+1+0]=te[oe+3+32]=Ka(xe,ot,vt),te[oe+1+32]=te[oe+3+64]=Ka(ke,xe,ot),te[oe+1+64]=te[oe+3+96]=Ka(Xe,ke,xe),te[oe+1+96]=Ka(rt,Xe,ke)}function tc(te,oe){var xe;for(xe=0;8>xe;++xe)b(te,oe+32*xe,te,oe-32,8)}function D0(te,oe){var xe;for(xe=0;8>xe;++xe)z(te,oe,te[oe-1],8),oe+=32}function Ql(te,oe,xe){var ke;for(ke=0;8>ke;++ke)z(oe,xe+32*ke,te,8)}function S0(te,oe){var xe,ke=8;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];Ql(ke>>4,te,oe)}function cd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32];Ql(ke>>3,te,oe)}function dd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe-1+32*xe];Ql(ke>>3,te,oe)}function lf(te,oe){Ql(128,te,oe)}function Jl(te,oe,xe){var ke=te[oe-xe],Xe=te[oe+0],rt=3*(Xe-ke)+N0[1020+te[oe-2*xe]-te[oe+xe]],ot=vf[112+(rt+4>>3)];te[oe-xe]=Zs[255+ke+vf[112+(rt+3>>3)]],te[oe+0]=Zs[255+Xe-ot]}function fd(te,oe,xe,ke){var Xe=te[oe+0],rt=te[oe+xe];return il[255+te[oe-2*xe]-te[oe-xe]]>ke||il[255+rt-Xe]>ke}function Mc(te,oe,xe,ke){return 4*il[255+te[oe-xe]-te[oe+0]]+il[255+te[oe-2*xe]-te[oe+xe]]<=ke}function hd(te,oe,xe,ke,Xe){var rt=te[oe-3*xe],ot=te[oe-2*xe],vt=te[oe-xe],At=te[oe+0],jt=te[oe+xe],an=te[oe+2*xe],Ln=te[oe+3*xe];return 4*il[255+vt-At]+il[255+ot-jt]>ke?0:il[255+te[oe-4*xe]-rt]<=Xe&&il[255+rt-ot]<=Xe&&il[255+ot-vt]<=Xe&&il[255+Ln-an]<=Xe&&il[255+an-jt]<=Xe&&il[255+jt-At]<=Xe}function nc(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Mc(te,oe+ke,xe,Xe)&&Jl(te,oe+ke,xe)}function md(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Mc(te,oe+ke*xe,1,Xe)&&Jl(te,oe+ke*xe,1)}function uf(te,oe,xe,ke){var Xe;for(Xe=3;0>7,tr=18*ir+63>>7,ir=9*ir+63>>7;At[jt-3*an]=Zs[255+At[jt-3*an]+ir],At[jt-2*an]=Zs[255+Ln+tr],At[jt-an]=Zs[255+Mt+Sn],At[jt+0]=Zs[255+hn-Sn],At[jt+an]=Zs[255+bn-tr],At[jt+2*an]=Zs[255+Xn-ir]}oe+=ke}}function ql(te,oe,xe,ke,Xe,rt,ot,vt){for(rt=2*rt+1;0>3)],Xn=vf[112+(Xn+3>>3)],Sn=bn+1>>1;At[jt-2*an]=Zs[255+At[jt-2*an]+Sn],At[jt-an]=Zs[255+Ln+Xn],At[jt+0]=Zs[255+Mt-bn],At[jt+an]=Zs[255+hn-Sn]}oe+=ke}}function df(te,oe,xe,ke,Xe,rt){Xl(te,oe,xe,1,16,ke,Xe,rt)}function rc(te,oe,xe,ke,Xe,rt){Xl(te,oe,1,xe,16,ke,Xe,rt)}function ff(te,oe,xe,ke,Xe,rt){var ot;for(ot=3;0jt?0:255:jt)&255,jt=At,Xe[rt+vt]=an}}function ro(te,oe,xe,ke){var Xe=oe.width,rt=oe.o;if(E(te!=null&&oe!=null),0>xe||0>=ke||xe+ke>rt)return null;if(!te.Cc){if(te.ga==null){var ot;if(te.ga=new ri,(ot=te.ga==null)||(ot=oe.width*oe.o,E(te.Gb.length==0),te.Gb=ee(ot),te.Uc=0,te.Gb==null?ot=0:(te.mb=te.Gb,te.nb=te.Uc,te.rc=null,ot=1),ot=!ot),!ot){ot=te.ga;var vt=te.Fa,At=te.P,jt=te.qc,an=te.mb,Ln=te.nb,Mt=At+1,hn=jt-1,bn=ot.l;if(E(vt!=null&&an!=null&&oe!=null),Du[0]=null,Du[1]=Ii,Du[2]=wo,Du[3]=Ho,ot.ca=an,ot.tb=Ln,ot.c=oe.width,ot.i=oe.height,E(0=jt)oe=0;else if(ot.$a=3&vt[At+0],ot.Z=vt[At+0]>>2&3,ot.Lc=vt[At+0]>>4&3,At=vt[At+0]>>6&3,0>ot.$a||1=ot.c*ot.i;ot=!oe}if(ot)return null;te.ga.Lc!=1?te.Ga=0:ke=rt-xe}E(te.ga!=null),E(xe+ke<=rt);e:{if(oe=(vt=te.ga).c,rt=vt.l.o,vt.$a==0){if(Mt=te.rc,hn=te.Vc,bn=te.Fa,At=te.P+1+xe*oe,jt=te.mb,an=te.nb+xe*oe,E(At<=te.P+te.qc),vt.Z!=0)for(E(Du[vt.Z]!=null),ot=0;ot=oe)oe=1;else if(vt.ic||gl(),vt.ic){vt=ot.V,Mt=ot.Ba,hn=ot.c;var Xn=ot.i,Sn=(bn=1,At=ot.$/hn,jt=ot.$%hn,an=ot.m,Ln=ot.s,ot.$),tr=hn*Xn,ir=hn*oe,Ar=Ln.wc,mr=Sn(Xn=So(mr.G[0],mr.H[0],an)))vt[Mt+Sn]=Xn,++Sn,++jt>=hn&&(jt=0,++At<=oe&&!(At%16)&&ml(ot,At));else{if(!(280>Xn)){bn=0;break t}Xn=qs(Xn-256,an);var ga,ea=So(mr.G[4],mr.H[4],an);if(xn(an),!(Sn>=(ea=$s(hn,ea=qs(ea,an)))&&tr-Sn>=Xn)){bn=0;break t}for(ga=0;ga=hn;)jt-=hn,++At<=oe&&!(At%16)&&ml(ot,At);Snoe?oe:At);break t}!bn||an.h&&Sn=rt&&(te.Cc=1),ke=1}if(!ke)return null;if(te.Cc&&((ke=te.ga)!=null&&(ke.mc=null),te.ga=null,0>23,vt[At+4*ot+1]=vt[At+4*ot+1]*Ln>>23,vt[At+4*ot+2]=vt[At+4*ot+2]*Ln>>23)}oe+=rt}}function Go(te,oe,xe,ke,Xe){for(;0>4)*At>>16;te[oe+2*rt+0]=(240&ot|ot>>4)*At>>16&240|(15&ot|ot<<4)*At>>16>>4&15,te[oe+2*rt+1]=240&jt|vt}oe+=Xe}}function ss(te,oe,xe,ke,Xe,rt,ot,vt){var At,jt,an=255;for(jt=0;jt>8}function gl(){Bd=qo,ep=Go,tp=ss,np=$l}function eu(te,oe,xe){Wt[te]=function(ke,Xe,rt,ot,vt,At,jt,an,Ln,Mt,hn,bn,Xn,Sn,tr,ir,Ar){var mr,ga=Ar-1>>1,ea=vt[At+0]|jt[an+0]<<16,ii=Ln[Mt+0]|hn[bn+0]<<16;E(ke!=null);var da=3*ea+ii+131074>>2;for(oe(ke[Xe+0],255&da,da>>16,Xn,Sn),rt!=null&&(da=3*ii+ea+131074>>2,oe(rt[ot+0],255&da,da>>16,tr,ir)),mr=1;mr<=ga;++mr){var Bi=vt[At+mr]|jt[an+mr]<<16,es=Ln[Mt+mr]|hn[bn+mr]<<16,oi=ea+Bi+ii+es+524296,fa=oi+2*(Bi+ii)>>3;da=fa+ea>>1,ea=(oi=oi+2*(ea+es)>>3)+Bi>>1,oe(ke[Xe+2*mr-1],255&da,da>>16,Xn,Sn+(2*mr-1)*xe),oe(ke[Xe+2*mr-0],255&ea,ea>>16,Xn,Sn+(2*mr-0)*xe),rt!=null&&(da=oi+ii>>1,ea=fa+es>>1,oe(rt[ot+2*mr-1],255&da,da>>16,tr,ir+(2*mr-1)*xe),oe(rt[ot+2*mr+0],255&ea,ea>>16,tr,ir+(2*mr+0)*xe)),ea=Bi,ii=es}1&Ar||(da=3*ea+ii+131074>>2,oe(ke[Xe+Ar-1],255&da,da>>16,Xn,Sn+(Ar-1)*xe),rt!=null&&(da=3*ii+ea+131074>>2,oe(rt[ot+Ar-1],255&da,da>>16,tr,ir+(Ar-1)*xe)))}}function pd(){ol[gf]=Jv,ol[yf]=hp,ol[lp]=Xv,ol[Af]=mp,ol[Ef]=pp,ol[L0]=vp,ol[up]=qv,ol[P0]=hp,ol[I0]=mp,ol[bf]=pp,ol[j0]=vp}function Oc(te){return te&~$v?0>te?0:255:te>>gp}function gu(te,oe){return Oc((19077*te>>8)+(26149*oe>>8)-14234)}function ac(te,oe,xe){return Oc((19077*te>>8)-(6419*oe>>8)-(13320*xe>>8)+8708)}function ic(te,oe){return Oc((19077*te>>8)+(33050*oe>>8)-17685)}function yu(te,oe,xe,ke,Xe){ke[Xe+0]=gu(te,xe),ke[Xe+1]=ac(te,oe,xe),ke[Xe+2]=ic(te,oe)}function ls(te,oe,xe,ke,Xe){ke[Xe+0]=ic(te,oe),ke[Xe+1]=ac(te,oe,xe),ke[Xe+2]=gu(te,xe)}function oc(te,oe,xe,ke,Xe){var rt=ac(te,oe,xe);oe=rt<<3&224|ic(te,oe)>>3,ke[Xe+0]=248&gu(te,xe)|rt>>5,ke[Xe+1]=oe}function sc(te,oe,xe,ke,Xe){var rt=240&ic(te,oe)|15;ke[Xe+0]=240&gu(te,xe)|ac(te,oe,xe)>>4,ke[Xe+1]=rt}function vd(te,oe,xe,ke,Xe){ke[Xe+0]=255,yu(te,oe,xe,ke,Xe+1)}function gd(te,oe,xe,ke,Xe){ls(te,oe,xe,ke,Xe),ke[Xe+3]=255}function Cs(te,oe,xe,ke,Xe){yu(te,oe,xe,ke,Xe),ke[Xe+3]=255}function tu(te,oe,xe){Wt[te]=function(ke,Xe,rt,ot,vt,At,jt,an,Ln){for(var Mt=an+(-2&Ln)*xe;an!=Mt;)oe(ke[Xe+0],rt[ot+0],vt[At+0],jt,an),oe(ke[Xe+1],rt[ot+0],vt[At+0],jt,an+xe),Xe+=2,++ot,++At,an+=2*xe;1&Ln&&oe(ke[Xe+0],rt[ot+0],vt[At+0],jt,an)}}function kc(te,oe,xe){return xe==0?te==0?oe==0?6:5:oe==0?4:0:xe}function hf(te,oe,xe,ke,Xe){switch(te>>>30){case 3:dc(oe,xe,ke,Xe,0);break;case 2:al(oe,xe,ke,Xe);break;case 1:Ui(oe,xe,ke,Xe)}}function rl(te,oe){var xe,ke,Xe=oe.M,rt=oe.Nb,ot=te.oc,vt=te.pc+40,At=te.oc,jt=te.pc+584,an=te.oc,Ln=te.pc+600;for(xe=0;16>xe;++xe)ot[vt+32*xe-1]=129;for(xe=0;8>xe;++xe)At[jt+32*xe-1]=129,an[Ln+32*xe-1]=129;for(0xe;++xe)b(ot,vt+32*xe-4,ot,vt+32*xe+12,4);for(xe=-1;8>xe;++xe)b(At,jt+32*xe-4,At,jt+32*xe+4,4),b(an,Ln+32*xe-4,an,Ln+32*xe+4,4)}var hn=te.Gd,bn=te.Hd+ke,Xn=Mt.ad,Sn=Mt.Hc;if(0=te.za-1?z(tr,ir,hn[bn].y[15],4):b(tr,ir,hn[bn+1].y,0,4)),xe=0;4>xe;xe++)tr[ir+128+xe]=tr[ir+256+xe]=tr[ir+384+xe]=tr[ir+0+xe];for(xe=0;16>xe;++xe,Sn<<=2)tr=ot,ir=vt+Ap[xe],yl[Mt.Ob[xe]](tr,ir),hf(Sn,Xn,16*+xe,tr,ir)}else if(tr=kc(ke,Xe,Mt.Ob[0]),Bu[tr](ot,vt),Sn!=0)for(xe=0;16>xe;++xe,Sn<<=2)hf(Sn,Xn,16*+xe,ot,vt+Ap[xe]);for(xe=Mt.Gc,tr=kc(ke,Xe,Mt.Dd),au[tr](At,jt),au[tr](an,Ln),Sn=Xn,tr=At,ir=jt,255&(Mt=0|xe)&&(170&Mt?Tl(Sn,256,tr,ir):Ji(Sn,256,tr,ir)),Mt=an,Sn=Ln,255&(xe>>=8)&&(170&xe?Tl(Xn,320,Mt,Sn):Ji(Xn,320,Mt,Sn)),Xexe;++xe)b(hn,bn+xe*te.R,ot,vt+32*xe,16);for(xe=0;8>xe;++xe)b(Xn,Mt+xe*te.B,At,jt+32*xe,8),b(Sn,tr+xe*te.B,an,Ln+32*xe,8)}}function lc(te,oe,xe,ke,Xe,rt,ot,vt,At){var jt=[0],an=[0],Ln=0,Mt=At!=null?At.kd:0,hn=At!=null?At:new hr;if(te==null||12>xe)return 7;hn.data=te,hn.w=oe,hn.ha=xe,oe=[oe],xe=[xe],hn.gb=[hn.gb];e:{var bn=oe,Xn=xe,Sn=hn.gb;if(E(te!=null),E(Xn!=null),E(Sn!=null),Sn[0]=0,12<=Xn[0]&&!y(te,bn[0],"RIFF")){if(y(te,bn[0]+8,"WEBP")){Sn=3;break e}var tr=Ea(te,bn[0]+4);if(12>tr||4294967286Xn[0]-8){Sn=7;break e}Sn[0]=tr,bn[0]+=12,Xn[0]-=12}Sn=0}if(Sn!=0)return Sn;for(tr=0Sn[0])Sn=7;else{if(!y(ir,Xn[0],"VP8X")){if(Ea(ir,Xn[0]+4)!=10){Sn=3;break e}if(18>Sn[0]){Sn=7;break e}var ea=Ea(ir,Xn[0]+8),ii=1+Wr(ir,Xn[0]+12);if(2147483648<=ii*(ir=1+Wr(ir,Xn[0]+15))){Sn=3;break e}ga!=null&&(ga[0]=ea),Ar!=null&&(Ar[0]=ii),mr!=null&&(mr[0]=ir),Xn[0]+=18,Sn[0]-=18,da[0]=1}Sn=0}}if(Ln=Ln[0],bn=bn[0],Sn!=0)return Sn;if(Xn=!!(2&bn),!tr&&Ln)return 3;if(rt!=null&&(rt[0]=!!(16&bn)),ot!=null&&(ot[0]=Xn),vt!=null&&(vt[0]=0),ot=jt[0],bn=an[0],Ln&&Xn&&At==null){Sn=0;break}if(4>xe){Sn=7;break}if(tr&&Ln||!tr&&!Ln&&!y(te,oe[0],"ALPH")){xe=[xe],hn.na=[hn.na],hn.P=[hn.P],hn.Sa=[hn.Sa];e:{ea=te,Sn=oe,tr=xe;var da=hn.gb;Ar=hn.na,mr=hn.P,ga=hn.Sa,ii=22,E(ea!=null),E(tr!=null),ir=Sn[0];var Bi=tr[0];for(E(Ar!=null),E(ga!=null),Ar[0]=null,mr[0]=null,ga[0]=0;;){if(Sn[0]=ir,tr[0]=Bi,8>Bi){Sn=7;break e}var es=Ea(ea,ir+4);if(4294967286da){Sn=3;break e}if(!y(ea,ir,"VP8 ")||!y(ea,ir,"VP8L")){Sn=0;break e}if(Bi[0]tr[0])Sn=7;else{if(ir||ii){if(da=Ea(da,ea+4),12<=Ar&&da>Ar-12){Sn=3;break e}if(Mt&&da>tr[0]-8){Sn=7;break e}mr[0]=da,Sn[0]+=8,tr[0]-=8,ga[0]=ii}else ga[0]=5<=tr[0]&&da[ea+0]==47&&!(da[ea+4]>>5),mr[0]=tr[0];Sn=0}if(xe=xe[0],hn.Ja=hn.Ja[0],hn.xa=hn.xa[0],oe=oe[0],Sn!=0)break;if(4294967286xe){Sn=7;break}vt=ot,Mt=bn,Xn=rt,te==null||5>xe?te=0:5<=xe&&te[oe+0]==47&&!(te[oe+4]>>5)?(tr=[0],da=[0],Ar=[0],Hn(mr=new Tt,te,oe,xe),Vl(mr,tr,da,Ar)?(vt!=null&&(vt[0]=tr[0]),Mt!=null&&(Mt[0]=da[0]),Xn!=null&&(Xn[0]=Ar[0]),te=1):te=0):te=0}else{if(10>xe){Sn=7;break}vt=bn,te==null||10>xe||!tf(te,oe+3,xe-3)?te=0:(Mt=te[oe+0]|te[oe+1]<<8|te[oe+2]<<16,Xn=16383&(te[oe+7]<<8|te[oe+6]),te=16383&(te[oe+9]<<8|te[oe+8]),1&Mt||3<(Mt>>1&7)||!(Mt>>4&1)||Mt>>5>=hn.Ja||!Xn||!te?te=0:(ot&&(ot[0]=Xn),vt&&(vt[0]=te),te=1))}if(!te||(ot=ot[0],bn=bn[0],Ln&&(jt[0]!=ot||an[0]!=bn)))return 3;At!=null&&(At[0]=hn,At.offset=oe-At.w,E(4294967286>oe-At.w),E(At.offset==At.ha-xe));break}return Sn==0||Sn==7&&Ln&&At==null?(rt!=null&&(rt[0]|=hn.na!=null&&0xe||(rt&=-2,ot&=-2),0>rt||0>ot||0>=vt||0>=At||rt+vt>ke||ot+At>Xe))return 0;if(oe.v=rt,oe.j=ot,oe.va=rt+vt,oe.o=ot+At,oe.U=vt,oe.T=At,oe.da=te!=null&&0te.S){var oe=te.f.RGBA;oe.fb+=(te.height-1)*oe.A,oe.A=-oe.A}else oe=te.f.kb,te=te.height,oe.O+=(te-1)*oe.fa,oe.fa=-oe.fa,oe.N+=(te-1>>1)*oe.Ab,oe.Ab=-oe.Ab,oe.W+=(te-1>>1)*oe.Db,oe.Db=-oe.Db,oe.F!=null&&(oe.J+=(te-1)*oe.lb,oe.lb=-oe.lb);return 0}function Au(te,oe,xe,ke){if(ke==null||0>=te||0>=oe)return 2;if(xe!=null){if(xe.Da){var Xe=xe.cd,rt=xe.bd,ot=-2&xe.v,vt=-2&xe.j;if(0>ot||0>vt||0>=Xe||0>=rt||ot+Xe>te||vt+rt>oe)return 2;te=Xe,oe=rt}if(xe.da){if(!Ma(te,oe,Xe=[xe.ib],rt=[xe.hb]))return 2;te=Xe[0],oe=rt[0]}}ke.width=te,ke.height=oe;e:{var At=ke.width,jt=ke.height;if(te=ke.S,0>=At||0>=jt||!(te>=gf&&13>te))te=2;else{if(0>=ke.Rd&&ke.sd==null){ot=rt=Xe=oe=0;var an=(vt=At*Ep[te])*jt;if(11>te||(rt=(jt+1)/2*(oe=(At+1)/2),te==12&&(ot=(Xe=At)*jt)),(jt=ee(an+2*rt+ot))==null){te=1;break e}ke.sd=jt,11>te?((At=ke.f.RGBA).eb=jt,At.fb=0,At.A=vt,At.size=an):((At=ke.f.kb).y=jt,At.O=0,At.fa=vt,At.Fd=an,At.f=jt,At.N=0+an,At.Ab=oe,At.Cd=rt,At.ea=jt,At.W=0+an+rt,At.Db=oe,At.Ed=rt,te==12&&(At.F=jt,At.J=0+an+2*rt),At.Tc=ot,At.lb=Xe)}if(oe=1,Xe=ke.S,rt=ke.width,ot=ke.height,Xe>=gf&&13>Xe)if(11>Xe)te=ke.f.RGBA,oe&=(vt=Math.abs(te.A))*(ot-1)+rt<=te.size,oe&=vt>=rt*Ep[Xe],oe&=te.eb!=null;else{te=ke.f.kb,vt=(rt+1)/2,an=(ot+1)/2,At=Math.abs(te.fa),jt=Math.abs(te.Ab);var Ln=Math.abs(te.Db),Mt=Math.abs(te.lb),hn=Mt*(ot-1)+rt;oe&=At*(ot-1)+rt<=te.Fd,oe&=jt*(an-1)+vt<=te.Cd,oe=(oe&=Ln*(an-1)+vt<=te.Ed)&At>=rt&jt>=vt&Ln>=vt,oe&=te.y!=null,oe&=te.f!=null,oe&=te.ea!=null,Xe==12&&(oe&=Mt>=rt,oe&=hn<=te.Tc,oe&=te.F!=null)}else oe=0;te=oe?0:2}}return te!=0||xe!=null&&xe.fd&&(te=Ad(ke)),te}var uc=64,Us=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Ws=24,Eu=32,nu=8,bu=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ra("Predictor0","PredictorAdd0"),Wt.Predictor0=function(){return 4278190080},Wt.Predictor1=function(te){return te},Wt.Predictor2=function(te,oe,xe){return oe[xe+0]},Wt.Predictor3=function(te,oe,xe){return oe[xe+1]},Wt.Predictor4=function(te,oe,xe){return oe[xe-1]},Wt.Predictor5=function(te,oe,xe){return xa(xa(te,oe[xe+1]),oe[xe+0])},Wt.Predictor6=function(te,oe,xe){return xa(te,oe[xe-1])},Wt.Predictor7=function(te,oe,xe){return xa(te,oe[xe+0])},Wt.Predictor8=function(te,oe,xe){return xa(oe[xe-1],oe[xe+0])},Wt.Predictor9=function(te,oe,xe){return xa(oe[xe+0],oe[xe+1])},Wt.Predictor10=function(te,oe,xe){return xa(xa(te,oe[xe-1]),xa(oe[xe+0],oe[xe+1]))},Wt.Predictor11=function(te,oe,xe){var ke=oe[xe+0];return 0>=qa(ke>>24&255,te>>24&255,(oe=oe[xe-1])>>24&255)+qa(ke>>16&255,te>>16&255,oe>>16&255)+qa(ke>>8&255,te>>8&255,oe>>8&255)+qa(255&ke,255&te,255&oe)?ke:te},Wt.Predictor12=function(te,oe,xe){var ke=oe[xe+0];return(Ri((te>>24&255)+(ke>>24&255)-((oe=oe[xe-1])>>24&255))<<24|Ri((te>>16&255)+(ke>>16&255)-(oe>>16&255))<<16|Ri((te>>8&255)+(ke>>8&255)-(oe>>8&255))<<8|Ri((255&te)+(255&ke)-(255&oe)))>>>0},Wt.Predictor13=function(te,oe,xe){var ke=oe[xe-1];return(bi((te=xa(te,oe[xe+0]))>>24&255,ke>>24&255)<<24|bi(te>>16&255,ke>>16&255)<<16|bi(te>>8&255,ke>>8&255)<<8|bi(255&te,255&ke))>>>0};var Ed=Wt.PredictorAdd0;Wt.PredictorAdd1=Fi,ra("Predictor2","PredictorAdd2"),ra("Predictor3","PredictorAdd3"),ra("Predictor4","PredictorAdd4"),ra("Predictor5","PredictorAdd5"),ra("Predictor6","PredictorAdd6"),ra("Predictor7","PredictorAdd7"),ra("Predictor8","PredictorAdd8"),ra("Predictor9","PredictorAdd9"),ra("Predictor10","PredictorAdd10"),ra("Predictor11","PredictorAdd11"),ra("Predictor12","PredictorAdd12"),ra("Predictor13","PredictorAdd13");var Tc=Wt.PredictorAdd2;Aa("ColorIndexInverseTransform","MapARGB","32b",function(te){return te>>8&255},function(te){return te}),Aa("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(te){return te},function(te){return te>>8&255});var _o,mf=Wt.ColorIndexInverseTransform,Ol=Wt.MapARGB,kl=Wt.VP8LColorIndexInverseTransformAlpha,bd=Wt.MapAlpha,wd=Wt.VP8LPredictorsAdd=[];wd.length=16,(Wt.VP8LPredictors=[]).length=16,(Wt.VP8LPredictorsAdd_C=[]).length=16,(Wt.VP8LPredictors_C=[]).length=16;var xd,Cd,wu,xu,Cu,cc,Fu,dc,al,Tl,Ui,Ji,Ro,$o,ru,Fd,_c,pf,Km,Qm,Jm,Xm,qm,$m,Bd,ep,tp,np,rp=ee(511),ap=ee(2041),ip=ee(225),op=ee(767),sp=0,N0=ap,vf=ip,Zs=op,il=rp,gf=0,yf=1,lp=2,Af=3,Ef=4,L0=5,up=6,P0=7,I0=8,bf=9,j0=10,kv=[2,3,7],Tv=[3,3,11],cp=[280,256,256,256,40],_v=[0,1,1,1,0],Rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],zv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Uv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Wv=8,M0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],O0=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Dd=null,Zv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Yv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Vv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Hv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Gv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Kv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Bu=[],yl=[],au=[],Qv=1,fp=2,Du=[],ol=[];eu("UpsampleRgbLinePair",yu,3),eu("UpsampleBgrLinePair",ls,3),eu("UpsampleRgbaLinePair",Cs,4),eu("UpsampleBgraLinePair",gd,4),eu("UpsampleArgbLinePair",vd,4),eu("UpsampleRgba4444LinePair",sc,2),eu("UpsampleRgb565LinePair",oc,2);var Jv=Wt.UpsampleRgbLinePair,Xv=Wt.UpsampleBgrLinePair,hp=Wt.UpsampleRgbaLinePair,mp=Wt.UpsampleBgraLinePair,pp=Wt.UpsampleArgbLinePair,vp=Wt.UpsampleRgba4444LinePair,qv=Wt.UpsampleRgb565LinePair,wf=16,xf=1<ke.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ke.ca.f.kb.F!=null&&gl()),ke.Pb&&0(At=xe.Md)?0:100jt;++jt)12>(Ln=Xe.pb[jt]).lc&&(Ln.ia=At*og[0>Ln.lc?0:Ln.lc]>>3),an|=Ln.ia;an&&(alert("todo:VP8InitRandom"),Xe.ia=1)}Xe.Ga=xe.Id,100Xe.Ga&&(Xe.Ga=0)}(function(Mt,hn){if(Mt==null)return 0;if(hn==null)return Vo(Mt,2,"NULL VP8Io parameter in VP8Decode().");if(!Mt.cb&&!jl(Mt,hn))return 0;if(E(Mt.cb),hn.ac==null||hn.ac(hn)){hn.ob&&(Mt.L=0);var bn=Cf[Mt.L];if(Mt.L==2?(Mt.yb=0,Mt.zb=0):(Mt.yb=hn.v-bn>>4,Mt.zb=hn.j-bn>>4,0>Mt.yb&&(Mt.yb=0),0>Mt.zb&&(Mt.zb=0)),Mt.Va=hn.o+15+bn>>4,Mt.Hb=hn.va+15+bn>>4,Mt.Hb>Mt.za&&(Mt.Hb=Mt.za),Mt.Va>Mt.Ub&&(Mt.Va=Mt.Ub),0bn;++bn){var Sn;if(Mt.Qa.Cb){var tr=Mt.Qa.Lb[bn];Mt.Qa.Fb||(tr+=Xn.Tb)}else tr=Xn.Tb;for(Sn=0;1>=Sn;++Sn){var ir=Mt.gd[bn][Sn],Ar=tr;if(Xn.Pc&&(Ar+=Xn.vd[0],Sn&&(Ar+=Xn.od[0])),0<(Ar=0>Ar?0:63>2:mr>>1)>9-Xn.wb&&(mr=9-Xn.wb),1>mr&&(mr=1),ir.dd=mr,ir.tc=2*Ar+mr,ir.ld=40<=Ar?2:15<=Ar?1:0}else ir.tc=0;ir.La=Sn}}}bn=0}else Vo(Mt,6,"Frame setup failed"),bn=Mt.a;if(bn=bn==0){if(bn){Mt.$c=0,0Mt.Vb){if(Mt.Vb=0,Mt.Ec=ee(ir),Mt.Fc=0,Mt.Ec==null){bn=Vo(Mt,1,"no memory during frame initialization.");break t}Mt.Vb=ir}ir=Mt.Ec,Ar=Mt.Fc,Mt.Ac=ir,Mt.Bc=Ar,Ar+=Xn,Mt.Gd=de(ga,$d),Mt.Hd=0,Mt.rb=de(ea+1,id),Mt.sb=1,Mt.wa=ii?de(ii,tl):null,Mt.Y=0,Mt.D.Nb=0,Mt.D.wa=Mt.wa,Mt.D.Y=Mt.Y,0=bn;++bn)rp[255+bn]=0>bn?-bn:bn;for(bn=-1020;1020>=bn;++bn)ap[1020+bn]=-128>bn?-128:127=bn;++bn)ip[112+bn]=-16>bn?-16:15=bn;++bn)op[255+bn]=0>bn?0:255Li;++Li){var ts,ji=Fs[0+Li];for(ts=0;4>ts;++ts){ji=Hv[so[us+ts]][ji];for(var Yi=dp[or(ei,ji[0])];0>3;for(Yi=0;256>Yi;Yi+=16)Li[As+Yi]=js}cs=1,Al=us[0]}var Xi=15&ei.la,ns=15&Bs.la;for(Yi=0;4>Yi;++Yi){var Ys=1&ns;for(js=Vi=0;4>js;++js)Xi=Xi>>1|(Ys=(Uo=Dd(so,Al,Uo=Ys+(1&Xi),No.Sc,cs,Li,As))>cs)<<7,Vi=Vi<<2|(3>=4,ns=ns>>1|Ys<<7,ts=(ts<<8|Vi)>>>0}for(Al=Xi,cs=ns>>4,Lo=0;4>Lo;Lo+=2){for(Vi=0,Xi=ei.la>>4+Lo,ns=Bs.la>>4+Lo,Yi=0;2>Yi;++Yi){for(Ys=1&ns,js=0;2>js;++js)Uo=Ys+(1&Xi),Xi=Xi>>1|(Ys=0<(Uo=Dd(so,us[2],Uo,No.Qc,0,Li,As)))<<3,Vi=Vi<<2|(3>=2,ns=ns>>1|Ys<<5}ji|=Vi<<4*Lo,Al|=Xi<<4<=fa.zb&&fa.M<=fa.Va,fa.Aa==0)t:{if(oi.M=fa.M,oi.uc=ei,rl(fa,oi),zo=1,oi=(Vi=fa.D).Nb,ei=(ji=Cf[fa.L])*fa.R,so=ji/2*fa.B,Yi=16*oi*fa.R,js=8*oi*fa.B,us=fa.sa,Fs=fa.ta-ei+Yi,No=fa.qa,Li=fa.ra-so+js,As=fa.Ha,Bs=fa.Ia-so+js,ns=(Xi=Vi.M)==0,ts=Xi>=fa.Va-1,fa.Aa==2&&rl(fa,Vi),Vi.uc)for(Ys=(Uo=fa).D.M,E(Uo.D.uc),Vi=Uo.yb;Vi_r.o&&(Xi=_r.o),_r.F=null,_r.J=null,fa.Fa!=null&&0>1),_r.W+=fa.B*(ji>>1),_r.F!=null&&(_r.J+=_r.width*ji)),Vi>1,_r.W+=_r.v>>1,_r.F!=null&&(_r.J+=_r.v),_r.ka=Vi-_r.j,_r.U=_r.va-_r.v,_r.T=Xi-Vi,zo=_r.put(_r))}oi+1!=fa.Ic||ts||(b(fa.sa,fa.ta-ei,us,Fs+16*fa.R,ei),b(fa.qa,fa.ra-so,No,Li+8*fa.B,so),b(fa.Ha,fa.Ia-so,As,Bs+8*fa.B,so))}if(!zo)return Vo(Bi,6,"Output aborted.")}return 1}(Mt,hn)),hn.bc!=null&&hn.bc(hn),bn&=1}return bn?(Mt.cb=0,bn):0})(te,ke)||(oe=te.a)}}else oe=te.a}oe==0&&ot.Oa!=null&&ot.Oa.fd&&(oe=Ad(ot.ba))}ot=oe}rt=ot!=0?null:11>rt?vt.f.RGBA.eb:vt.f.kb.y}else rt=null;return rt};var Ep=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function ye(Wt,En){for(var ct="",Dt=0;Dt<4;Dt++)ct+=String.fromCharCode(Wt[En++]);return ct}function Le(Wt,En){return Wt[En+0]|Wt[En+1]<<8}function Ke(Wt,En){return(Wt[En+0]|Wt[En+1]<<8|Wt[En+2]<<16)>>>0}function nt(Wt,En){return(Wt[En+0]|Wt[En+1]<<8|Wt[En+2]<<16|Wt[En+3]<<24)>>>0}new pe;var Se=[0],Ft=[0],bt=[],Bt=new pe,ft=a,$t=function(Wt,En){var ct={},Dt=0,qt=!1,Jt=0,Mn=0;if(ct.frames=[],!function(st,Tt){for(var Ht=0;Ht<4;Ht++)if(st[Tt+Ht]!="RIFF".charCodeAt(Ht))return!0;return!1}(Wt,En)){for(nt(Wt,En+=4),En+=8;En>1&1}_n!="ANMF"&&(En+=Nn)}return ct}}(ft,0);$t.response=ft,$t.rgbaoutput=!0,$t.dataurl=!1;var Qt=$t.header?$t.header:null,_t=$t.frames?$t.frames:null;if(Qt){Qt.loop_counter=Qt.loop_count,Se=[Qt.canvas_height],Ft=[Qt.canvas_width];for(var Pn=0;Pn<_t.length&&_t[Pn].blend!=0;Pn++);}var $n=_t[0],Rn=Bt.WebPDecodeRGBA(ft,$n.src_off,$n.src_size,Ft,Se);$n.rgba=Rn,$n.imgwidth=Ft[0],$n.imgheight=Se[0];for(var ln=0;ln=2?St[1]:Yr[0],Yr[2]=St.length>=3?St[2]:Yr[0],Yr[3]=St.length>=4?St[3]:Yr[1]),ye.margin=Yr}});var zn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return zn},set:function(St){zn=St}});var Zn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Zn},set:function(St){Zn=St}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(St){or=St}}),Object.defineProperty(this,"ctx",{get:function(){return ye},set:function(St){St instanceof Le&&(ye=St)}}),Object.defineProperty(this,"path",{get:function(){return ye.path},set:function(St){ye.path=St}});var br=[];Object.defineProperty(this,"ctxStack",{get:function(){return br},set:function(St){br=St}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(St){var Yr;Yr=nt(St),this.ctx.fillStyle=Yr.style,this.ctx.isFillTransparent=Yr.a===0,this.ctx.fillOpacity=Yr.a,this.pdf.setFillColor(Yr.r,Yr.g,Yr.b,{a:Yr.a}),this.pdf.setTextColor(Yr.r,Yr.g,Yr.b,{a:Yr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(St){var Yr=nt(St);this.ctx.strokeStyle=Yr.style,this.ctx.isStrokeTransparent=Yr.a===0,this.ctx.strokeOpacity=Yr.a,Yr.a===0?this.pdf.setDrawColor(255,255,255):(Yr.a,this.pdf.setDrawColor(Yr.r,Yr.g,Yr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(St){["butt","round","square"].indexOf(St)!==-1&&(this.ctx.lineCap=St,this.pdf.setLineCap(St))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(St){isNaN(St)||(this.ctx.lineWidth=St,this.pdf.setLineWidth(St))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(St){["bevel","round","miter"].indexOf(St)!==-1&&(this.ctx.lineJoin=St,this.pdf.setLineJoin(St))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(St){isNaN(St)||(this.ctx.miterLimit=St,this.pdf.setMiterLimit(St))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(St){this.ctx.textBaseline=St}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(St){["right","end","center","left","start"].indexOf(St)!==-1&&(this.ctx.textAlign=St)}});var Zr=null,Wr=null,Ea=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ea},set:function(St){Zr=null,Wr=null,Ea=St}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(St){var Yr;if(this.ctx.font=St,(Yr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(St))!==null){var li=Yr[1];Yr[2];var Ma=Yr[3],vr=Yr[4];Yr[5];var Oa=Yr[6],ra=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(vr)[2];vr=Math.floor(ra==="px"?parseFloat(vr)*this.pdf.internal.scaleFactor:ra==="em"?parseFloat(vr)*this.pdf.getFontSize():parseFloat(vr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(vr);var Pa=function(Aa){var To,Pi,di=[],fi=Aa.trim();if(fi==="")return c0;if(fi in Sm)return[Sm[fi]];for(;fi!=="";){switch(Pi=null,To=(fi=Lm(fi)).charAt(0)){case'"':case"'":Pi=pv(fi.substring(1),To);break;default:Pi=vv(fi)}if(Pi===null||(di.push(Pi[0]),(fi=Lm(Pi[1]))!==""&&fi.charAt(0)!==","))return c0;fi=fi.replace(/^,/,"")}return di}(Oa);if(this.fontFaces){var xa=function(Aa,To){var Pi=Aa.getFontList(),di=JSON.stringify(Pi);if(Zr===null||Wr!==di){var fi=function(go){var Ba=[];return Object.keys(go).forEach(function(no){go[no].forEach(function(Za){var $a=null;switch(Za){case"bold":$a={family:no,weight:"bold"};break;case"italic":$a={family:no,style:"italic"};break;case"bolditalic":$a={family:no,weight:"bold",style:"italic"};break;case"":case"normal":$a={family:no}}$a!==null&&($a.ref={name:no,style:Za},Ba.push($a))})}),Ba}(Pi);Zr=function(go){for(var Ba={},no=0;no=700||li==="bold")&&(qa="bold"),li==="italic"&&(qa+="italic"),qa.length===0&&(qa="normal");for(var Fi="",wi={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ma=0;ma=2*Math.PI&&(tn=0,mn=2*Math.PI),this.path.push({type:"arc",x:st,y:Tt,radius:Ht,startAngle:tn,endAngle:mn,counterclockwise:xn})},Ke.prototype.arcTo=function(st,Tt,Ht,tn,mn){throw new Error("arcTo not implemented.")},Ke.prototype.rect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(st,Tt),this.lineTo(st+Ht,Tt),this.lineTo(st+Ht,Tt+tn),this.lineTo(st,Tt+tn),this.lineTo(st,Tt),this.lineTo(st+Ht,Tt),this.lineTo(st,Tt)},Ke.prototype.fillRect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Se.call(this)){var mn={};this.lineCap!=="butt"&&(mn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(mn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(st,Tt,Ht,tn),this.fill(),mn.hasOwnProperty("lineCap")&&(this.lineCap=mn.lineCap),mn.hasOwnProperty("lineJoin")&&(this.lineJoin=mn.lineJoin)}},Ke.prototype.strokeRect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ft.call(this)||(this.beginPath(),this.rect(st,Tt,Ht,tn),this.stroke())},Ke.prototype.clearRect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(st,Tt,Ht,tn))},Ke.prototype.save=function(st){st=typeof st!="boolean"||st;for(var Tt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ke.prototype.drawImage=function(st,Tt,Ht,tn,mn,xn,zn,Zn,or){var br=this.pdf.getImageProperties(st),Zr=1,Wr=1,Ea=1,St=1;tn!==void 0&&Zn!==void 0&&(Ea=Zn/tn,St=or/mn,Zr=br.width/tn*Zn/tn,Wr=br.height/mn*or/mn),xn===void 0&&(xn=Tt,zn=Ht,Tt=0,Ht=0),tn!==void 0&&Zn===void 0&&(Zn=tn,or=mn),tn===void 0&&Zn===void 0&&(Zn=br.width,or=br.height);var Yr=this.ctx.transform.decompose(),li=Nn(Yr.rotate.shx),Ma=new pe,vr=(Ma=(Ma=(Ma=Ma.multiply(Yr.translate)).multiply(Yr.skew)).multiply(Yr.scale)).applyToRectangle(new le(xn-Tt*Ea,zn-Ht*St,tn*Zr,mn*Wr));if(this.autoPaging){for(var Oa,ra=Bt.call(this,vr),Pa=[],xa=0;xaRi||qavr||ra0)){for(;or>=0;or--)if(mn[or-1].close!==!0&&mn[or-1].begin!==!0){mn[or-1].deltas.push(Ht),mn[or-1].abs.push(Zn);break}}break;case"bct":Ht=[Zn.x1-xn[zn-1].x,Zn.y1-xn[zn-1].y,Zn.x2-xn[zn-1].x,Zn.y2-xn[zn-1].y,Zn.x-xn[zn-1].x,Zn.y-xn[zn-1].y],mn[mn.length-1].deltas.push(Ht);break;case"qct":var br=xn[zn-1].x+2/3*(Zn.x1-xn[zn-1].x),Zr=xn[zn-1].y+2/3*(Zn.y1-xn[zn-1].y),Wr=Zn.x+2/3*(Zn.x1-Zn.x),Ea=Zn.y+2/3*(Zn.y1-Zn.y),St=Zn.x,Yr=Zn.y;Ht=[br-xn[zn-1].x,Zr-xn[zn-1].y,Wr-xn[zn-1].x,Ea-xn[zn-1].y,St-xn[zn-1].x,Yr-xn[zn-1].y],mn[mn.length-1].deltas.push(Ht);break;case"arc":mn.push({deltas:[],abs:[],arc:!0}),Array.isArray(mn[mn.length-1].abs)&&mn[mn.length-1].abs.push(Zn)}}tn=Tt?null:st==="stroke"?"stroke":"fill";for(var li=!1,Ma=0;Ma=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale);var ni=this.autoPaging!=="text";if(ni||ma.y+ma.h<=xa){if(ni||ma.y>=ra&&ma.x<=bi){var Aa=ni?st.text:this.pdf.splitTextToSize(st.text,st.maxWidth||bi-ma.x)[0],To=$t([JSON.parse(JSON.stringify(Wr))],this.posX+this.margin[3],-Fi+ra+this.ctx.prevPageLastElemOffset)[0],Pi=ni&&(Oa>Ma||Oa=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)}}else st.scale>=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale),this.pdf.text(st.text,or.x+this.posX,or.y+this.posY,{angle:st.angle,align:Tt,renderingMode:st.renderingMode,maxWidth:st.maxWidth}),st.scale>=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)},qt=function(st,Tt,Ht,tn){Ht=Ht||0,tn=tn||0,this.pdf.internal.out(y(st+Ht)+" "+b(Tt+tn)+" l")},Jt=function(st,Tt,Ht){return this.pdf.lines(st,Tt,Ht,null,null)},Mn=function(st,Tt,Ht,tn,mn,xn,zn,Zn){this.pdf.internal.out([E(z(Ht+st)),E(ee(tn+Tt)),E(z(mn+st)),E(ee(xn+Tt)),E(z(zn+st)),E(ee(Zn+Tt)),"c"].join(" "))},_n=function(st,Tt,Ht,tn){for(var mn=2*Math.PI,xn=Math.PI/2;Tt>Ht;)Tt-=mn;var zn=Math.abs(Ht-Tt);zn1e-5;){var Zr=br+or*Math.min(zn,xn);Zn.push(Wn.call(this,st,br,Zr)),zn-=Math.abs(Zr-br),br=Zr}return Zn},Wn=function(st,Tt,Ht){var tn=(Ht-Tt)/2,mn=st*Math.cos(tn),xn=st*Math.sin(tn),zn=mn,Zn=-xn,or=zn*zn+Zn*Zn,br=or+zn*mn+Zn*xn,Zr=4/3*(Math.sqrt(2*or*br)-br)/(zn*xn-Zn*mn),Wr=zn-Zr*Zn,Ea=Zn+Zr*zn,St=Wr,Yr=-Ea,li=tn+Tt,Ma=Math.cos(li),vr=Math.sin(li);return{x1:st*Math.cos(Tt),y1:st*Math.sin(Tt),x2:Wr*Ma-Ea*vr,y2:Wr*vr+Ea*Ma,x3:St*Ma-Yr*vr,y3:St*vr+Yr*Ma,x4:st*Math.cos(Ht),y4:st*Math.sin(Ht)}},Nn=function(st){return 180*st/Math.PI},Hn=function(st,Tt,Ht,tn,mn,xn){var zn=st+.5*(Ht-st),Zn=Tt+.5*(tn-Tt),or=mn+.5*(Ht-mn),br=xn+.5*(tn-xn),Zr=Math.min(st,mn,zn,or),Wr=Math.max(st,mn,zn,or),Ea=Math.min(Tt,xn,Zn,br),St=Math.max(Tt,xn,Zn,br);return new le(Zr,Ea,Wr-Zr,St-Ea)},Sr=function(st,Tt,Ht,tn,mn,xn,zn,Zn){var or,br,Zr,Wr,Ea,St,Yr,li,Ma,vr,Oa,ra,Pa,xa,Ri=Ht-st,bi=tn-Tt,qa=mn-Ht,Fi=xn-tn,wi=zn-mn,ma=Zn-xn;for(br=0;br<41;br++)Ma=(Yr=(Zr=st+(or=br/40)*Ri)+or*((Ea=Ht+or*qa)-Zr))+or*(Ea+or*(mn+or*wi-Ea)-Yr),vr=(li=(Wr=Tt+or*bi)+or*((St=tn+or*Fi)-Wr))+or*(St+or*(xn+or*ma-St)-li),br==0?(Oa=Ma,ra=vr,Pa=Ma,xa=vr):(Oa=Math.min(Oa,Ma),ra=Math.min(ra,vr),Pa=Math.max(Pa,Ma),xa=Math.max(xa,vr));return new le(Math.round(Oa),Math.round(ra),Math.round(Pa-Oa),Math.round(xa-ra))},cr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var st,Tt,Ht=(st=this.ctx.lineDash,Tt=this.ctx.lineDashOffset,JSON.stringify({lineDash:st,lineDashOffset:Tt}));this.prevLineDash!==Ht&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ht)}}})(ha.API),function(a){var E=function(de){var le,pe,ye,Le,Ke,nt,Se,Ft,bt,Bt;for(/[^\x00-\xFF]/.test(de),pe=[],ye=0,Le=(de+=le="\0\0\0\0".slice(de.length%4||4)).length;Le>ye;ye+=4)(Ke=(de.charCodeAt(ye)<<24)+(de.charCodeAt(ye+1)<<16)+(de.charCodeAt(ye+2)<<8)+de.charCodeAt(ye+3))!==0?(nt=(Ke=((Ke=((Ke=((Ke=(Ke-(Bt=Ke%85))/85)-(bt=Ke%85))/85)-(Ft=Ke%85))/85)-(Se=Ke%85))/85)%85,pe.push(nt+33,Se+33,Ft+33,bt+33,Bt+33)):pe.push(122);return function(ft,$t){for(var Qt=$t;Qt>0;Qt--)ft.pop()}(pe,le.length),String.fromCharCode.apply(String,pe)+"~>"},y=function(de){var le,pe,ye,Le,Ke,nt=String,Se="length",Ft=255,bt="charCodeAt",Bt="slice",ft="replace";for(de[Bt](-2),de=de[Bt](0,-2)[ft](/\s/g,"")[ft]("z","!!!!!"),ye=[],Le=0,Ke=(de+=le="uuuuu"[Bt](de[Se]%5||5))[Se];Ke>Le;Le+=5)pe=52200625*(de[bt](Le)-33)+614125*(de[bt](Le+1)-33)+7225*(de[bt](Le+2)-33)+85*(de[bt](Le+3)-33)+(de[bt](Le+4)-33),ye.push(Ft&pe>>24,Ft&pe>>16,Ft&pe>>8,Ft&pe);return function($t,Qt){for(var _t=Qt;_t>0;_t--)$t.pop()}(ye,le[Se]),nt.fromCharCode.apply(nt,ye)},b=function(de){return de.split("").map(function(le){return("0"+le.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(de){var le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((de=de.replace(/\s/g,"")).indexOf(">")!==-1&&(de=de.substr(0,de.indexOf(">"))),de.length%2&&(de+="0"),le.test(de)===!1)return"";for(var pe="",ye=0;yebt&&(Ft=Bt,Bt=bt,bt=Ft);else{if(le!=="l"&&le!=="landscape")throw"Invalid orientation: "+le;le="l",bt>Bt&&(Ft=Bt,Bt=bt,bt=Ft)}return{width:Bt,height:bt,unit:pe,k:Ke,orientation:le}},a.html=function(le,pe){(pe=pe||{}).callback=pe.callback||function(){},pe.html2canvas=pe.html2canvas||{},pe.html2canvas.canvas=pe.html2canvas.canvas||this.canvas,pe.jsPDF=pe.jsPDF||this,pe.fontFaces=pe.fontFaces?pe.fontFaces.map(u0):null;var ye=new de(pe);return pe.worker?ye:ye.from(le).doCallback()}}(ha.API),ha.API.addJS=function(a){return Im=a,this.internal.events.subscribe("postPutResources",function(){Gd=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Gd+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Pm=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Im+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Gd!==void 0&&Pm!==void 0&&this.internal.out("/Names <>")}),this},function(a){var E;a.events.push(["postPutResources",function(){var y=this,b=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=y.outline.render().split(/\r\n/),ee=0;ee> endobj")}var Se=y.internal.newObject();for(y.internal.write("<< /Names [ "),ee=0;ee>","endobj"),E=y.internal.newObject(),y.internal.write("<< /Dests "+Se+" 0 R"),y.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var y=this;y.outline.root.children.length>0&&(y.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&y.internal.write("/Names "+E+" 0 R"))}]),a.events.push(["initialized",function(){var y=this;y.outline={createNamedDestinations:!1,root:{children:[]}},y.outline.add=function(b,z,ee){var de={title:z,options:ee,children:[]};return b==null&&(b=this.root),b.children.push(de),de},y.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=y,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},y.outline.genIds_r=function(b){b.id=y.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1]))),this.line("/Count "+this.count_r({count:0},b)),this.objEnd()},y.outline.renderItems=function(b){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,ee=0;ee0&&this.line("/Prev "+this.makeRef(b.children[ee-1])),ee0&&(this.line("/First "+this.makeRef(de.children[0])),this.line("/Last "+this.makeRef(de.children[de.children.length-1])));var le=this.count=this.count_r({count:0},de);if(le>0&&this.line("/Count "+le),de.options&&de.options.pageNumber){var pe=y.internal.getPageInfo(de.options.pageNumber);this.line("/Dest ["+pe.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var ye=0;ye>"}),"transparency"in Dt&&Array.isArray(Dt.transparency)&&Dt.transparency.length>0){for(var Wn="",Nn=0,Hn=Dt.transparency.length;Nn>",bt.content=ee;var Qt=bt.objId+" 0 R";ee="<>";else if(b.options.pageNumber)switch(ee="<=0};a.__arabicParser__.arabicLetterHasIsolatedForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length>=1};var ye=a.__arabicParser__.arabicLetterHasFinalForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length>=2};a.__arabicParser__.arabicLetterHasInitialForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length>=3};var Le=a.__arabicParser__.arabicLetterHasMedialForm=function(bt){return de(bt)&&ee(bt)&&E[bt.charCodeAt(0)].length==4},Ke=a.__arabicParser__.resolveLigatures=function(bt){var Bt=0,ft=y,$t="",Qt=0;for(Bt=0;Bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(a){var E=function(){var y=void 0;Object.defineProperty(this,"pdf",{get:function(){return y},set:function(le){y=le}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(le){b=isNaN(le)||Number.isInteger(le)===!1||le<0?150:le,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var z=300;Object.defineProperty(this,"height",{get:function(){return z},set:function(le){z=isNaN(le)||Number.isInteger(le)===!1||le<0?300:le,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=z+1)}});var ee=[];Object.defineProperty(this,"childNodes",{get:function(){return ee},set:function(le){ee=le}});var de={};Object.defineProperty(this,"style",{get:function(){return de},set:function(le){de=le}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(y,b){var z;if((y=y||"2d")!=="2d")return null;for(z in b)this.pdf.context2d.hasOwnProperty(z)&&(this.pdf.context2d[z]=b[z]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},a.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ha.API),function(a){var E={left:0,top:0,bottom:0,right:0},y=!1,b=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),z.call(this))},z=function(){this.internal.__cell__.lastCell=new ee,this.internal.__cell__.pages=1},ee=function(){var pe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return pe},set:function(bt){pe=bt}});var ye=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return ye},set:function(bt){ye=bt}});var Le=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Le},set:function(bt){Le=bt}});var Ke=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ke},set:function(bt){Ke=bt}});var nt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return nt},set:function(bt){nt=bt}});var Se=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Se},set:function(bt){Se=bt}});var Ft=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Ft},set:function(bt){Ft=bt}}),this};ee.prototype.clone=function(){return new ee(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ee.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},a.setHeaderFunction=function(pe){return b.call(this),this.internal.__cell__.headerFunction=typeof pe=="function"?pe:void 0,this},a.getTextDimensions=function(pe,ye){b.call(this);var Le=(ye=ye||{}).fontSize||this.getFontSize(),Ke=ye.font||this.getFont(),nt=ye.scaleFactor||this.internal.scaleFactor,Se=0,Ft=0,bt=0,Bt=this;if(!Array.isArray(pe)&&typeof pe!="string"){if(typeof pe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");pe=String(pe)}var ft=ye.maxWidth;ft>0?typeof pe=="string"?pe=this.splitTextToSize(pe,ft):Object.prototype.toString.call(pe)==="[object Array]"&&(pe=pe.reduce(function(Qt,_t){return Qt.concat(Bt.splitTextToSize(_t,ft))},[])):pe=Array.isArray(pe)?pe:[pe];for(var $t=0;$tthis.getPageHeight()?(this.cellAddPage(),pe.y=Ke.top,Se&&nt&&(this.printHeaderRow(pe.lineNumber,!0),pe.y+=nt[0].height)):pe.y=ye.y+ye.height||pe.y),pe.text[0]!==void 0&&(this.rect(pe.x,pe.y,pe.width,pe.height,y===!0?"FD":void 0),pe.align==="right"?this.text(pe.text,pe.x+pe.width-Le,pe.y+Le,{align:"right",baseline:"top"}):pe.align==="center"?this.text(pe.text,pe.x+pe.width/2,pe.y+Le,{align:"center",baseline:"top",maxWidth:pe.width-Le-Le}):this.text(pe.text,pe.x+Le,pe.y+Le,{align:"left",baseline:"top",maxWidth:pe.width-Le-Le})),this.internal.__cell__.lastCell=pe,this};a.table=function(pe,ye,Le,Ke,nt){if(b.call(this),!Le)throw new Error("No data for PDF table.");var Se,Ft,bt,Bt,ft=[],$t=[],Qt=[],_t={},Pn={},$n=[],Rn=[],ln=(nt=nt||{}).autoSize||!1,Wt=nt.printHeaders!==!1,En=nt.css&&nt.css["font-size"]!==void 0?16*nt.css["font-size"]:nt.fontSize||12,ct=nt.margins||Object.assign({width:this.getPageWidth()},E),Dt=typeof nt.padding=="number"?nt.padding:3,qt=nt.headerBackgroundColor||"#c8c8c8",Jt=nt.headerTextColor||"#000";if(z.call(this),this.internal.__cell__.printHeaders=Wt,this.internal.__cell__.margins=ct,this.internal.__cell__.table_font_size=En,this.internal.__cell__.padding=Dt,this.internal.__cell__.headerBackgroundColor=qt,this.internal.__cell__.headerTextColor=Jt,this.setFontSize(En),Ke==null)$t=ft=Object.keys(Le[0]),Qt=ft.map(function(){return"left"});else if(Array.isArray(Ke)&&(0,x.Z)(Ke[0])==="object")for(ft=Ke.map(function(Sr){return Sr.name}),$t=Ke.map(function(Sr){return Sr.prompt||Sr.name||""}),Qt=Ke.map(function(Sr){return Sr.align||"left"}),Se=0;Se0&&this.setTableHeaderRow(nt),this.setFont(void 0,"normal"),y=!1}}(ha.API);var Cm={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Fm=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],l0=xm(Fm),Bm=[100,200,300,400,500,600,700,800,900],hv=xm(Bm);function u0(a){var E=a.family.replace(/"|'/g,"").toLowerCase(),y=function(ee){return Cm[ee=ee||"normal"]?ee:"normal"}(a.style),b=function(ee){return ee?typeof ee=="number"?ee>=100&&ee<=900&&ee%100==0?ee:400:/^\d00$/.test(ee)?parseInt(ee):ee==="bold"?700:400:400}(a.weight),z=function(ee){return typeof l0[ee=ee||"normal"]=="number"?ee:"normal"}(a.stretch);return{family:E,style:y,weight:b,stretch:z,src:a.src||[],ref:a.ref||{name:E,style:[z,y,b].join(" ")}}}function Dm(a,E,y,b){var z;for(z=y;z>=0&&z=0&&z>>1)&255}return z}function zm(a,E,y){var b=a.length,z=[];z[0]=4;for(var ee=0;ee>ee&de}function Um(a,E,y,b){var z=y*b,ee=Math.floor(z/8),de=16-(z-8*ee+b),le=(1<>8&255;ye.setUint8(Le,nt)}})(a,ee,Wm(a,ee)&~(le<>7,de=1<<1+(7&z);a[E++],a[E++];var le=null,pe=null;ee&&(le=E,pe=de,E+=3*de);var ye=!0,Le=[],Ke=0,nt=null,Se=0,Ft=null;for(this.width=y,this.height=b;ye&&E=0))throw Error("Invalid block size");if(ct===0)break;E+=ct}break;case 249:if(a[E++]!==4||a[E+4]!==0)throw new Error("Invalid graphics extension block.");var bt=a[E++];Ke=a[E++]|a[E++]<<8,nt=a[E++],1&bt||(nt=null),Se=bt>>2&7,E++;break;case 254:for(;;){if(!((ct=a[E++])>=0))throw Error("Invalid block size");if(ct===0)break;E+=ct}break;default:throw new Error("Unknown graphic control label: 0x"+a[E-1].toString(16))}break;case 44:var Bt=a[E++]|a[E++]<<8,ft=a[E++]|a[E++]<<8,$t=a[E++]|a[E++]<<8,Qt=a[E++]|a[E++]<<8,_t=a[E++],Pn=_t>>6&1,$n=1<<1+(7&_t),Rn=le,ln=pe,Wt=!1;_t>>7&&(Wt=!0,Rn=E,ln=$n,E+=3*$n);var En=E;for(E++;;){var ct;if(!((ct=a[E++])>=0))throw Error("Invalid block size");if(ct===0)break;E+=ct}Le.push({x:Bt,y:ft,width:$t,height:Qt,has_local_palette:Wt,palette_offset:Rn,palette_size:ln,data_offset:En,data_length:E-En,transparent_index:nt,interlaced:!!Pn,delay:Ke,disposal:Se});break;case 59:ye=!1;break;default:throw new Error("Unknown gif block: 0x"+a[E-1].toString(16))}this.numFrames=function(){return Le.length},this.loopCount=function(){return Ft},this.frameInfo=function(Dt){if(Dt<0||Dt>=Le.length)throw new Error("Frame index out of range.");return Le[Dt]},this.decodeAndBlitFrameBGRA=function(Dt,qt){var Jt=this.frameInfo(Dt),Mn=Jt.width*Jt.height,_n=new Uint8Array(Mn);Zm(a,Jt.data_offset,_n,Mn);var Wn=Jt.palette_offset,Nn=Jt.transparent_index;Nn===null&&(Nn=256);var Hn=Jt.width,Sr=y-Hn,cr=Hn,st=4*(Jt.y*y+Jt.x),Tt=4*((Jt.y+Jt.height)*y+Jt.x),Ht=st,tn=4*Sr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,xn=0,zn=_n.length;xn=Tt&&(tn=4*Sr+4*y*(mn-1),Ht=st+(Hn+Sr)*(mn<<1),mn>>=1)),Zn===Nn)Ht+=4;else{var or=a[Wn+3*Zn],br=a[Wn+3*Zn+1],Zr=a[Wn+3*Zn+2];qt[Ht++]=Zr,qt[Ht++]=br,qt[Ht++]=or,qt[Ht++]=255}--cr}},this.decodeAndBlitFrameRGBA=function(Dt,qt){var Jt=this.frameInfo(Dt),Mn=Jt.width*Jt.height,_n=new Uint8Array(Mn);Zm(a,Jt.data_offset,_n,Mn);var Wn=Jt.palette_offset,Nn=Jt.transparent_index;Nn===null&&(Nn=256);var Hn=Jt.width,Sr=y-Hn,cr=Hn,st=4*(Jt.y*y+Jt.x),Tt=4*((Jt.y+Jt.height)*y+Jt.x),Ht=st,tn=4*Sr;Jt.interlaced===!0&&(tn+=4*y*7);for(var mn=8,xn=0,zn=_n.length;xn=Tt&&(tn=4*Sr+4*y*(mn-1),Ht=st+(Hn+Sr)*(mn<<1),mn>>=1)),Zn===Nn)Ht+=4;else{var or=a[Wn+3*Zn],br=a[Wn+3*Zn+1],Zr=a[Wn+3*Zn+2];qt[Ht++]=or,qt[Ht++]=br,qt[Ht++]=Zr,qt[Ht++]=255}--cr}}}function Zm(a,E,y,b){for(var z=a[E++],ee=1<>=pe,Le-=pe,Bt!==ee){if(Bt===de)break;for(var ft=Btee;)Qt=Ft[Qt]>>8,++$t;var _t=Qt;if(nt+$t+(ft!==Bt?1:0)>b)return void Qi.log("Warning, gif stream longer than expected.");y[nt++]=_t;var Pn=nt+=$t;for(ft!==Bt&&(y[nt++]=_t),Qt=ft;$t--;)Qt=Ft[Qt],y[--Pn]=255&Qt,Qt>>=8;bt!==null&&le<4096&&(Ft[le++]=bt<<8|_t,le>=ye+1&&pe<12&&(++pe,ye=ye<<1|1)),bt=Bt}else le=de+1,ye=(1<<(pe=z+1))-1,bt=null}return nt!==b&&Qi.log("Warning, gif stream shorter than expected."),y}function f0(a){var E,y,b,z,ee,de=Math.floor,le=new Array(64),pe=new Array(64),ye=new Array(64),Le=new Array(64),Ke=new Array(65535),nt=new Array(65535),Se=new Array(64),Ft=new Array(64),bt=[],Bt=0,ft=7,$t=new Array(64),Qt=new Array(64),_t=new Array(64),Pn=new Array(256),$n=new Array(2048),Rn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],ln=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Wt=[0,1,2,3,4,5,6,7,8,9,10,11],En=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],ct=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Dt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],qt=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Mn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function _n(st,Tt){for(var Ht=0,tn=0,mn=new Array,xn=1;xn<=16;xn++){for(var zn=1;zn<=st[xn];zn++)mn[Tt[tn]]=[],mn[Tt[tn]][0]=Ht,mn[Tt[tn]][1]=xn,tn++,Ht++;Ht*=2}return mn}function Wn(st){for(var Tt=st[0],Ht=st[1]-1;Ht>=0;)Tt&1<>8&255),Nn(255&st)}function Sr(st,Tt,Ht,tn,mn){for(var xn,zn=mn[0],Zn=mn[240],or=function(vr,Oa){var ra,Pa,xa,Ri,bi,qa,Fi,wi,ma,ni,Aa=0;for(ma=0;ma<8;++ma){ra=vr[Aa],Pa=vr[Aa+1],xa=vr[Aa+2],Ri=vr[Aa+3],bi=vr[Aa+4],qa=vr[Aa+5],Fi=vr[Aa+6];var To=ra+(wi=vr[Aa+7]),Pi=ra-wi,di=Pa+Fi,fi=Pa-Fi,go=xa+qa,Ba=xa-qa,no=Ri+bi,Za=Ri-bi,$a=To+no,yo=To-no,pi=di+go,_a=di-go;vr[Aa]=$a+pi,vr[Aa+4]=$a-pi;var zi=.707106781*(_a+yo);vr[Aa+2]=yo+zi,vr[Aa+6]=yo-zi;var Qu=.382683433*(($a=Za+Ba)-(_a=fi+Pi)),ys=.5411961*$a+Qu,Zl=1.306562965*_a+Qu,Nl=.707106781*(pi=Ba+fi),Ra=Pi+Nl,Yl=Pi-Nl;vr[Aa+5]=Yl+ys,vr[Aa+3]=Yl-ys,vr[Aa+1]=Ra+Zl,vr[Aa+7]=Ra-Zl,Aa+=8}for(Aa=0,ma=0;ma<8;++ma){ra=vr[Aa],Pa=vr[Aa+8],xa=vr[Aa+16],Ri=vr[Aa+24],bi=vr[Aa+32],qa=vr[Aa+40],Fi=vr[Aa+48];var Vl=ra+(wi=vr[Aa+56]),qs=ra-wi,$s=Pa+Fi,So=Pa-Fi,is=xa+qa,os=xa-qa,Ju=Ri+bi,vu=Ri-bi,hl=Vl+Ju,Ll=Vl-Ju,ml=$s+is,pl=$s-is;vr[Aa]=hl+ml,vr[Aa+32]=hl-ml;var el=.707106781*(pl+Ll);vr[Aa+16]=Ll+el,vr[Aa+48]=Ll-el;var Xu=.382683433*((hl=vu+os)-(pl=So+qs)),Pl=.5411961*hl+Xu,qu=1.306562965*pl+Xu,Dc=.707106781*(ml=os+So),Sc=qs+Dc,Nc=qs-Dc;vr[Aa+40]=Nc+Pl,vr[Aa+24]=Nc-Pl,vr[Aa+8]=Sc+qu,vr[Aa+56]=Sc-qu,Aa++}for(ma=0;ma<64;++ma)ni=vr[ma]*Oa[ma],Se[ma]=ni>0?ni+.5|0:ni-.5|0;return Se}(st,Tt),br=0;br<64;++br)Ft[Rn[br]]=or[br];var Zr=Ft[0]-Ht;Ht=Ft[0],Zr==0?Wn(tn[0]):(Wn(tn[nt[xn=32767+Zr]]),Wn(Ke[xn]));for(var Wr=63;Wr>0&&Ft[Wr]==0;)Wr--;if(Wr==0)return Wn(zn),Ht;for(var Ea,St=1;St<=Wr;){for(var Yr=St;Ft[St]==0&&St<=Wr;)++St;var li=St-Yr;if(li>=16){Ea=li>>4;for(var Ma=1;Ma<=Ea;++Ma)Wn(Zn);li&=15}xn=32767+Ft[St],Wn(mn[(li<<4)+nt[xn]]),Wn(Ke[xn]),St++}return Wr!=63&&Wn(zn),Ht}function cr(st){st=Math.min(Math.max(st,1),100),ee!=st&&(function(Tt){for(var Ht=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tn=0;tn<64;tn++){var mn=de((Ht[tn]*Tt+50)/100);mn=Math.min(Math.max(mn,1),255),le[Rn[tn]]=mn}for(var xn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],zn=0;zn<64;zn++){var Zn=de((xn[zn]*Tt+50)/100);Zn=Math.min(Math.max(Zn,1),255),pe[Rn[zn]]=Zn}for(var or=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],br=0,Zr=0;Zr<8;Zr++)for(var Wr=0;Wr<8;Wr++)ye[br]=1/(le[Rn[br]]*or[Zr]*or[Wr]*8),Le[br]=1/(pe[Rn[br]]*or[Zr]*or[Wr]*8),br++}(st<50?Math.floor(5e3/st):Math.floor(200-2*st)),ee=st)}this.encode=function(st,Tt){Tt&&cr(Tt),bt=new Array,Bt=0,ft=7,Hn(65496),Hn(65504),Hn(16),Nn(74),Nn(70),Nn(73),Nn(70),Nn(0),Nn(1),Nn(1),Nn(0),Hn(1),Hn(1),Nn(0),Nn(0),function(){Hn(65499),Hn(132),Nn(0);for(var Pa=0;Pa<64;Pa++)Nn(le[Pa]);Nn(1);for(var xa=0;xa<64;xa++)Nn(pe[xa])}(),function(Pa,xa){Hn(65472),Hn(17),Nn(8),Hn(xa),Hn(Pa),Nn(3),Nn(1),Nn(17),Nn(0),Nn(2),Nn(17),Nn(1),Nn(3),Nn(17),Nn(1)}(st.width,st.height),function(){Hn(65476),Hn(418),Nn(0);for(var Pa=0;Pa<16;Pa++)Nn(ln[Pa+1]);for(var xa=0;xa<=11;xa++)Nn(Wt[xa]);Nn(16);for(var Ri=0;Ri<16;Ri++)Nn(En[Ri+1]);for(var bi=0;bi<=161;bi++)Nn(ct[bi]);Nn(1);for(var qa=0;qa<16;qa++)Nn(Dt[qa+1]);for(var Fi=0;Fi<=11;Fi++)Nn(qt[Fi]);Nn(17);for(var wi=0;wi<16;wi++)Nn(Jt[wi+1]);for(var ma=0;ma<=161;ma++)Nn(Mn[ma])}(),Hn(65498),Hn(12),Nn(3),Nn(1),Nn(0),Nn(2),Nn(17),Nn(3),Nn(17),Nn(0),Nn(63),Nn(0);var Ht=0,tn=0,mn=0;Bt=0,ft=7,this.encode.displayName="_encode_";for(var xn,zn,Zn,or,br,Zr,Wr,Ea,St,Yr=st.data,li=st.width,Ma=st.height,vr=4*li,Oa=0;Oa>3)*vr+(Wr=4*(7&St)),Oa+Ea>=Ma&&(Zr-=vr*(Oa+1+Ea-Ma)),xn+Wr>=vr&&(Zr-=xn+Wr-vr+4),zn=Yr[Zr++],Zn=Yr[Zr++],or=Yr[Zr++],$t[St]=($n[zn]+$n[Zn+256|0]+$n[or+512|0]>>16)-128,Qt[St]=($n[zn+768|0]+$n[Zn+1024|0]+$n[or+1280|0]>>16)-128,_t[St]=($n[zn+1280|0]+$n[Zn+1536|0]+$n[or+1792|0]>>16)-128;Ht=Sr($t,ye,Ht,E,b),tn=Sr(Qt,Le,tn,y,z),mn=Sr(_t,Le,mn,y,z),xn+=32}Oa+=8}if(ft>=0){var ra=[];ra[1]=ft+1,ra[0]=(1<Dt;Dt++)if(Wt[En+Dt]!=ct.charCodeAt(Dt))return!0;return!1}function b(Wt,En,ct,Dt,qt){for(var Jt=0;JtJt+1?[]:new En),!(Mn.length>>0;te&xe;)xe>>>=1;return xe?(te&xe-1)+xe:te}function ct(te,oe,xe,ke,Xe){E(!(ke%xe));do te[oe+(ke-=xe)]=Xe;while(0=Xe),512>=Xe)var rt=ee(512);else if((rt=ee(Xe))==null)return 0;return function(ot,vt,At,jt,an,Ln){var Mt,hn,bn=vt,Xn=1<Mt;++Mt){if(Sn[Mt]>1<(ii-=Sn[Mt]))return 0;for(;0=Mt;++Mt,an<<=1){if(ea+=ii<<=1,0>(ii-=Sn[Mt]))return 0;for(;0Ar&&!(0>=(ir-=Sn[Ar]));)++Ar,ir<<=1;Xn+=da=1<<(ir=Ar-At),ot[vt+(Ar=ga&mr)].g=ir+At,ot[vt+Ar].value=bn-vt-Ar}jt.g=Mt-At,jt.value=Ln[hn++],ct(ot,bn+(ga>>At),an,da,jt),ga=En(ga,Mt)}}return ea!=2*tr[15]-1?0:Xn}(te,oe,xe,ke,Xe,rt)}function qt(){this.value=this.g=0}function Jt(){this.value=this.g=0}function Mn(){this.G=de(5,qt),this.H=ee(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=de(uc,Jt)}function _n(te,oe,xe,ke){E(te!=null),E(oe!=null),E(2147483648>ke),te.Ca=254,te.I=0,te.b=-8,te.Ka=0,te.oa=oe,te.pa=xe,te.Jd=oe,te.Yc=xe+ke,te.Zc=4<=ke?xe+ke-4+1:xe,zn(te)}function Wn(te,oe){for(var xe=0;0ke),te.Sb=ke,te.Ra=0,te.u=0,te.h=0,4>>=8,te.Ra+=te.oa[te.pa+te.bb]<>>0,++te.bb,te.u-=8;tn(te)&&(te.h=1,te.u=0)}function cr(te,oe){if(E(0<=oe),!te.h&&oe<=Ws){var xe=Ht(te)&Us[oe];return te.u+=oe,Sr(te),xe}return te.h=1,te.u=0}function st(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Tt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ht(te){return te.Ra>>>(te.u&Eu-1)>>>0}function tn(te){return E(te.bb<=te.Sb),te.h||te.bb==te.Sb&&te.u>Eu}function mn(te,oe){te.u=oe,te.h=tn(te)}function xn(te){te.u>=nu&&(E(te.u>=nu),Sr(te))}function zn(te){E(te!=null&&te.oa!=null),te.pa>>0,te.b+=8):(E(te!=null&&te.oa!=null),te.pate.b&&zn(te);var ke=te.b,Xe=xe*oe>>>8,rt=(te.I>>>ke>Xe)+0;for(rt?(xe-=Xe,te.I-=Xe+1<>>0):xe=Xe+1,ke=xe,Xe=0;256<=ke;)Xe+=8,ke>>=8;return ke=7^Xe+bu[ke],te.b-=ke,te.Ca=(xe<>24&255,te[oe+1]=xe>>16&255,te[oe+2]=xe>>8&255,te[oe+3]=255&xe}function Zr(te,oe){return te[oe+0]|te[oe+1]<<8}function Wr(te,oe){return Zr(te,oe)|te[oe+2]<<16}function Ea(te,oe){return Zr(te,oe)|Zr(te,oe+2)<<16}function St(te,oe){var xe=1<=Xe||0>=rt?0:(xe[0]=Xe,ke[0]=rt,1)}function vr(te,oe){return te+(1<>>oe}function Oa(te,oe){return((4278255360&te)+(4278255360&oe)>>>0&4278255360)+((16711935&te)+(16711935&oe)>>>0&16711935)>>>0}function ra(te,oe){Wt[oe]=function(xe,ke,Xe,rt,ot,vt,At){var jt;for(jt=0;jt>>1)+(te&oe)>>>0}function Ri(te){return 0<=te&&256>te?te:0>te?0:255>1))}function qa(te,oe,xe){return Math.abs(oe-xe)-Math.abs(te-xe)}function Fi(te,oe,xe,ke,Xe,rt,ot){for(ke=rt[ot-1],xe=0;xe>8&255,At=16711935&(At=(At=16711935&ot)+((vt<<16)+vt));ke[Xe+rt]=(4278255360&ot)+At>>>0}}function ma(te,oe){oe.jd=255&te,oe.hd=te>>8&255,oe.ud=te>>16&255}function ni(te,oe,xe,ke,Xe,rt){var ot;for(ot=0;ot>>8,jt=vt,an=255&(an=(an=vt>>>16)+((te.jd<<24>>24)*(At<<24>>24)>>>5));jt=255&(jt=(jt+=(te.hd<<24>>24)*(At<<24>>24)>>>5)+((te.ud<<24>>24)*(an<<24>>24)>>>5)),Xe[rt+ot]=(4278255360&vt)+(an<<16)+jt}}function Aa(te,oe,xe,ke,Xe){Wt[oe]=function(rt,ot,vt,At,jt,an,Ln,Mt,hn){for(At=Ln;At>rt.b,hn=rt.Ea,bn=rt.K[0],Xn=rt.w;if(8>Mt)for(rt=(1<>=Mt}else Wt["VP8LMapColor"+xe](At,jt,bn,Xn,an,Ln,ot,vt,hn)}}function To(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=rt>>8&255,ke[Xe++]=255&rt}}function Pi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&255,ke[Xe++]=rt>>8&255,ke[Xe++]=255&rt,ke[Xe++]=rt>>24&255}}function di(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&240|ot>>12&15,ot=240&ot|ot>>28&15;ke[Xe++]=rt,ke[Xe++]=ot}}function fi(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>16&248|ot>>13&7,ot=ot>>5&224|ot>>3&31;ke[Xe++]=rt,ke[Xe++]=ot}}function go(te,oe,xe,ke,Xe){for(xe=oe+xe;oe>8&255,ke[Xe++]=rt>>16&255}}function Ba(te,oe,xe,ke,Xe,rt){if(rt==0)for(xe=oe+xe;oe>24|rt[1]>>8&65280|rt[2]<<8&16711680|rt[3]<<24)>>>0),Xe+=32;else b(ke,Xe,te,oe,xe)}function no(te,oe){Wt[oe][0]=Wt[te+"0"],Wt[oe][1]=Wt[te+"1"],Wt[oe][2]=Wt[te+"2"],Wt[oe][3]=Wt[te+"3"],Wt[oe][4]=Wt[te+"4"],Wt[oe][5]=Wt[te+"5"],Wt[oe][6]=Wt[te+"6"],Wt[oe][7]=Wt[te+"7"],Wt[oe][8]=Wt[te+"8"],Wt[oe][9]=Wt[te+"9"],Wt[oe][10]=Wt[te+"10"],Wt[oe][11]=Wt[te+"11"],Wt[oe][12]=Wt[te+"12"],Wt[oe][13]=Wt[te+"13"],Wt[oe][14]=Wt[te+"0"],Wt[oe][15]=Wt[te+"0"]}function Za(te){return te==P0||te==I0||te==bf||te==j0}function $a(){this.eb=[],this.size=this.A=this.fb=0}function yo(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function pi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new $a,this.f.kb=new yo,this.sd=null}function _a(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function zi(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Qu(te){return alert("todo:WebPSamplerProcessPlane"),te.T}function ys(te,oe){var xe=te.T,ke=oe.ba.f.RGBA,Xe=ke.eb,rt=ke.fb+te.ka*ke.A,ot=ol[oe.ba.S],vt=te.y,At=te.O,jt=te.f,an=te.N,Ln=te.ea,Mt=te.W,hn=oe.cc,bn=oe.dc,Xn=oe.Mc,Sn=oe.Nc,tr=te.ka,ir=te.ka+te.T,Ar=te.U,mr=Ar+1>>1;for(tr==0?ot(vt,At,null,null,jt,an,Ln,Mt,jt,an,Ln,Mt,Xe,rt,null,null,Ar):(ot(oe.ec,oe.fc,vt,At,hn,bn,Xn,Sn,jt,an,Ln,Mt,Xe,rt-ke.A,Xe,rt,Ar),++xe);tr+2xe,Xe=xe==yf||xe==Af||xe==Ef||xe==L0||xe==12||Za(xe);if(oe.memory=null,oe.Ib=null,oe.Jb=null,oe.Nd=null,!yd(oe.Oa,te,Xe?11:12))return 0;if(Xe&&Za(xe)&&pd(),te.da)alert("todo:use_scaling");else{if(ke){if(oe.Ib=Qu,te.Kb){if(xe=te.U+1>>1,oe.memory=ee(te.U+2*xe),oe.memory==null)return 0;oe.ec=oe.memory,oe.fc=0,oe.cc=oe.ec,oe.dc=oe.fc+te.U,oe.Mc=oe.cc,oe.Nc=oe.dc+xe,oe.Ib=ys,pd()}}else alert("todo:EmitYUV");Xe&&(oe.Jb=Zl,ke&&gl())}if(ke&&!yp){for(te=0;256>te;++te)eg[te]=89858*(te-128)+xf>>wf,rg[te]=-22014*(te-128)+xf,ng[te]=-45773*(te-128),tg[te]=113618*(te-128)+xf>>wf;for(te=Sd;te>wf,ag[te-Sd]=Il(oe,255),ig[te-Sd]=Il(oe+8>>4,15);yp=1}return 1}function Ra(te){var oe=te.ma,xe=te.U,ke=te.T;return E(!(1&te.ka)),0>=xe||0>=ke?0:(xe=oe.Ib(te,oe),oe.Jb!=null&&oe.Jb(te,oe,xe),oe.Dc+=xe,1)}function Yl(te){te.ma.memory=null}function Vl(te,oe,xe,ke){return cr(te,8)!=47?0:(oe[0]=cr(te,14)+1,xe[0]=cr(te,14)+1,ke[0]=cr(te,1),cr(te,3)!=0?0:!te.h)}function qs(te,oe){if(4>te)return te+1;var xe=te-2>>1;return(2+(1&te)<>4)*te+(8-(15&xe)))?xe:1;var xe}function So(te,oe,xe){var ke=Ht(xe),Xe=te[oe+=255&ke].g-8;return 0>>0,E(8>=xe.g),te.g}function os(te,oe,xe){var ke=te.xc;return E((oe=ke==0?0:te.vc[te.md*(xe>>ke)+(oe>>ke)])>da.b)*ea;XnAr&&(fa=Ar),(0,wd[Bi[es++]>>8&15])(Mt,hn+ +oi,tr,ir+oi-Ar,fa-oi,tr,ir+oi),oi=fa}hn+=Ar,ir+=Ar,++Xn&ga||(da+=ea)}Ln!=jt.nc&&b(At,vt-bn,At,vt+(Ln-an-1)*bn,bn);break;case 1:for(bn=Mt,Sn=hn,Ar=(Mt=jt.Ea)-(ir=Mt&~(tr=(hn=1<>jt.b)*Xn;an=Xe),0rt.o&&(ke=rt.o),xe=ke?xe=0:(Xe[0]+=4*rt.v,rt.ka=xe-rt.j,rt.U=rt.va-rt.v,rt.T=ke-xe,xe=1),xe){if(vt=vt[0],11>(xe=te.ca).S){var an=xe.f.RGBA,Ln=(ke=xe.S,Xe=rt.U,rt=rt.T,jt=an.eb,an.A),Mt=rt;for(an=an.fb+te.Ma*an.A;0ke){var Xe=te.l.width,rt=xe.ca,ot=xe.tb+Xe*ke,vt=te.V,At=te.Ba+te.c*ke,jt=te.gc;E(te.ab==1),E(jt[0].hc==3),kl(jt[0],ke,oe,vt,At,rt,ot),Ll(xe,ke,oe,rt,ot,Xe)}te.C=te.Ma=oe}function pl(te,oe,xe,ke,Xe,rt,ot){var vt=te.$/ke,At=te.$%ke,jt=te.m,an=te.s,Ln=xe+te.$,Mt=Ln;Xe=xe+ke*Xe;var hn=xe+ke*rt,bn=280+an.ua,Xn=te.Pb?vt:16777216,Sn=0=Xn){var ga=Ln-xe;E((Xn=te).Pb),Xn.wd=Xn.m,Xn.xd=ga,0ii.g?(mn(mr,mr.u+ii.g),ga[ea]=ii.value,mr=0):(mn(mr,mr.u+ii.g-256),E(256<=ii.value),mr=ii.value),mr==0&&(Ar=!0)}else mr=So(ir.G[0],ir.H[0],jt);if(jt.h)break;if(Ar||256>mr){if(!Ar)if(ir.nd)oe[Ln]=(ir.qb|mr<<8)>>>0;else{if(xn(jt),Ar=So(ir.G[1],ir.H[1],jt),xn(jt),ga=So(ir.G[2],ir.H[2],jt),ea=So(ir.G[3],ir.H[3],jt),jt.h)break;oe[Ln]=(ea<<24|Ar<<16|mr<<8|ga)>>>0}if(Ar=!1,++Ln,++At>=ke&&(At=0,++vt,ot!=null&&vt<=rt&&!(vt%16)&&ot(te,vt),Sn!=null))for(;Mt>>Sn.Mb]=mr}else if(280>mr){if(mr=qs(mr-256,jt),ga=So(ir.G[4],ir.H[4],jt),xn(jt),ga=$s(ke,ga=qs(ga,jt)),jt.h)break;if(Ln-xe=ke;)At-=ke,++vt,ot!=null&&vt<=rt&&!(vt%16)&&ot(te,vt);if(E(Ln<=Xe),At&tr&&(ir=os(an,At,vt)),Sn!=null)for(;Mt>>Sn.Mb]=mr}else{if(!(mr>>Sn.Mb]=mr;mr=Ln,E(!(Ar>>>(ga=Sn).Xa)),oe[mr]=ga.X[Ar],Ar=!0}Ar||E(jt.h==tn(jt))}if(te.Pb&&jt.h&&Lnrt?rt:vt),te.a=0,te.$=Ln-xe}return 1}return te.a=3,0}function el(te){E(te!=null),te.vc=null,te.yc=null,te.Ya=null;var oe=te.Wa;oe!=null&&(oe.X=null),te.vb=null,E(te!=null)}function Xu(){var te=new Ga;return te==null?null:(te.a=0,te.xb=fp,no("Predictor","VP8LPredictors"),no("Predictor","VP8LPredictors_C"),no("PredictorAdd","VP8LPredictorsAdd"),no("PredictorAdd","VP8LPredictorsAdd_C"),_o=wi,xd=ni,Cd=To,wu=Pi,xu=di,Cu=fi,cc=go,Wt.VP8LMapColor32b=Ol,Wt.VP8LMapColor8b=bd,te)}function Pl(te,oe,xe,ke,Xe){var rt=1,ot=[te],vt=[oe],At=ke.m,jt=ke.s,an=null,Ln=0;e:for(;;){if(xe)for(;rt&&cr(At,1);){var Mt=ot,hn=vt,bn=ke,Xn=1,Sn=bn.m,tr=bn.gc[bn.ab],ir=cr(Sn,2);if(bn.Oc&1<=bn.ab),ir){case 0:case 1:tr.b=cr(Sn,3)+2,Xn=Pl(vr(tr.Ea,tr.b),vr(tr.nc,tr.b),0,bn,tr.K),tr.K=tr.K[0];break;case 3:var Ar,mr=cr(Sn,8)+1,ga=16>da.b),es=ee(Bi);if(es==null)Ar=0;else{var oi=da.K[0],fa=da.w;for(es[0]=da.K[0][0],ea=1;ea<1*ii;++ea)es[ea]=Oa(oi[fa+ea],es[ea-1]);for(;ea<4*Bi;++ea)es[ea]=0;da.K[0]=null,da.K[0]=es,Ar=1}}Xn=Ar;break;case 2:break;default:E(0)}rt=Xn}}if(ot=ot[0],vt=vt[0],rt&&cr(At,1)&&!(rt=1<=(Ln=cr(At,4))&&11>=Ln)){ke.a=3;break e}var _r;if(_r=rt)t:{var zo,ei,Li,so=ke,us=ot,Fs=vt,No=Ln,As=xe,Bs=so.m,ts=so.s,ji=[null],Yi=1,Lo=0,Vi=Uv[No];n:for(;;){if(As&&cr(Bs,1)){var cs=cr(Bs,3)+2,Al=vr(us,cs),Uo=vr(Fs,cs),js=Al*Uo;if(!Pl(Al,Uo,0,so,ji))break n;for(ji=ji[0],ts.xc=cs,zo=0;zo>8&65535;ji[zo]=Xi,Xi>=Yi&&(Yi=Xi+1)}}if(Bs.h)break n;for(ei=0;5>ei;++ei){var ns=cp[ei];!ei&&0=Ds),Hs=Vs;var Ms=ee(Lo);if(Hs==null||Ms==null||Ys==null){so.a=1;break n}var Gs=Ys;for(zo=Li=0;zoei;++ei){ns=cp[ei],Ks[ei]=Gs,El[ei]=Li,!ei&&0Nf)break r}else R0=Nf;for(Ld=0;LdRc)Fp[Ld++]=Rc,Rc!=0&&(Bp=Rc);else{var pg=Rc==16,Np=Rc-16,vg=Tv[Np],Lp=cr(Nu,kv[Np])+vg;if(Ld+Lp>Nf)break r;for(var gg=pg?Bp:0;0=ei){var Pd,U0=Ms[0];for(Pd=1;PdU0&&(U0=Ms[Pd]);ds+=U0}}if(ao.nd=iu,ao.Qb=0,iu&&(ao.qb=(Ks[3][El[3]+0].value<<24|Ks[1][El[1]+0].value<<16|Ks[2][El[2]+0].value)>>>0,fc==0&&256>Ks[0][El[0]+0].value&&(ao.Qb=1,ao.qb+=Ks[0][El[0]+0].value<<8)),ao.jc=!ao.Qb&&6>ds,ao.jc){var Lf,ou=ao;for(Lf=0;Lf>=is(Pf,8,Pu),Lu>>=is(ou.G[1][ou.H[1]+Lu],16,Pu),Lu>>=is(ou.G[2][ou.H[2]+Lu],0,Pu),is(ou.G[3][ou.H[3]+Lu],24,Pu))}}}ts.vc=ji,ts.Wb=Yi,ts.Ya=Hs,ts.yc=Ys,_r=1;break t}_r=0}if(!(rt=_r)){ke.a=3;break e}if(0ke+1?[]:0),!(Xe.lengthte?0:te>oe?oe:te}function Lc(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function m0(){var te=new ef;return te!=null&&(te.a=0,te.sc="OK",te.cb=0,te.Xb=0,Dd||(Dd=Pc)),te}function Vo(te,oe,xe){return te.a==0&&(te.a=oe,te.sc=xe,te.cb=0),0}function tf(te,oe,xe){return 3<=xe&&te[oe+0]==157&&te[oe+1]==1&&te[oe+2]==42}function jl(te,oe){if(te==null)return 0;if(te.a=0,te.sc="OK",oe==null)return Vo(te,2,"null VP8Io passed to VP8GetHeaders()");var xe=oe.data,ke=oe.w,Xe=oe.ha;if(4>Xe)return Vo(te,7,"Truncated header.");var rt=xe[ke+0]|xe[ke+1]<<8|xe[ke+2]<<16,ot=te.Od;if(ot.Rb=!(1&rt),ot.td=rt>>1&7,ot.yd=rt>>4&1,ot.ub=rt>>5,3Xe)return Vo(te,7,"cannot parse picture header");if(!tf(xe,ke,Xe))return Vo(te,3,"Bad code word");vt.c=16383&(xe[ke+4]<<8|xe[ke+3]),vt.Td=xe[ke+4]>>6,vt.i=16383&(xe[ke+6]<<8|xe[ke+5]),vt.Ud=xe[ke+6]>>6,ke+=7,Xe-=7,te.za=vt.c+15>>4,te.Ub=vt.i+15>>4,oe.width=vt.c,oe.height=vt.i,oe.Da=0,oe.j=0,oe.v=0,oe.va=oe.width,oe.o=oe.height,oe.da=0,oe.ib=oe.width,oe.hb=oe.height,oe.U=oe.width,oe.T=oe.height,z((rt=te.Pa).jb,0,255,rt.jb.length),E((rt=te.Qa)!=null),rt.Cb=0,rt.Bb=0,rt.Fb=1,z(rt.Zb,0,0,rt.Zb.length),z(rt.Lb,0,0,rt.Lb)}if(ot.ub>Xe)return Vo(te,7,"bad partition length");_n(rt=te.m,xe,ke,ot.ub),ke+=ot.ub,Xe-=ot.ub,ot.Rb&&(vt.Ld=Zn(rt),vt.Kd=Zn(rt)),vt=te.Qa;var At,jt=te.Pa;if(E(rt!=null),E(vt!=null),vt.Cb=Zn(rt),vt.Cb){if(vt.Bb=Zn(rt),Zn(rt)){for(vt.Fb=Zn(rt),At=0;4>At;++At)vt.Zb[At]=Zn(rt)?Nn(rt,7):0;for(At=0;4>At;++At)vt.Lb[At]=Zn(rt)?Nn(rt,6):0}if(vt.Bb)for(At=0;3>At;++At)jt.jb[At]=Zn(rt)?Wn(rt,8):255}else vt.Bb=0;if(rt.Ka)return Vo(te,3,"cannot parse segment header");if((vt=te.ed).zd=Zn(rt),vt.Tb=Wn(rt,6),vt.wb=Wn(rt,3),vt.Pc=Zn(rt),vt.Pc&&Zn(rt)){for(jt=0;4>jt;++jt)Zn(rt)&&(vt.vd[jt]=Nn(rt,6));for(jt=0;4>jt;++jt)Zn(rt)&&(vt.od[jt]=Nn(rt,6))}if(te.L=vt.Tb==0?0:vt.zd?1:2,rt.Ka)return Vo(te,3,"cannot parse filter header");var an=Xe;if(Xe=At=ke,ke=At+an,vt=an,te.Xb=(1<vt&&(Ln=vt),_n(te.Jc[+an],xe,At,Ln),At+=Ln,vt-=Ln,Xe+=3}_n(te.Jc[+jt],xe,At,vt),xe=AtLn;++Ln){if(an.Cb){var Mt=an.Zb[Ln];an.Fb||(Mt+=xe)}else{if(0>16,8>hn.Eb[1]&&(hn.Eb[1]=8),hn.Qc[0]=M0[Il(Mt+jt,117)],hn.Qc[1]=O0[Il(Mt+At,127)],hn.lc=Mt+At}if(!ot.Rb)return Vo(te,4,"Not a key frame.");for(Zn(rt),ot=te.Pa,xe=0;4>xe;++xe){for(Xe=0;8>Xe;++Xe)for(ke=0;3>ke;++ke)for(vt=0;11>vt;++vt)jt=or(rt,Gv[xe][Xe][ke][vt])?Wn(rt,8):Vv[xe][Xe][ke][vt],ot.Wc[xe][Xe].Yb[ke][vt]=jt;for(Xe=0;17>Xe;++Xe)ot.Xc[xe][Xe]=ot.Wc[xe][Kv[Xe]]}return te.kc=Zn(rt),te.kc&&(te.Bd=Wn(rt,8)),te.cb=1}function Pc(te,oe,xe,ke,Xe,rt,ot){var vt=oe[Xe].Yb[xe];for(xe=0;16>Xe;++Xe){if(!or(te,vt[xe+0]))return Xe;for(;!or(te,vt[xe+1]);)if(vt=oe[++Xe].Yb[0],xe=0,Xe==16)return 16;var At=oe[Xe+1].Yb;if(or(te,vt[xe+2])){var jt=te,an=0;if(or(jt,(Mt=vt)[(Ln=xe)+3]))if(or(jt,Mt[Ln+6])){for(vt=0,Ln=2*(an=or(jt,Mt[Ln+8]))+(Mt=or(jt,Mt[Ln+9+an])),an=0,Mt=Zv[Ln];Mt[vt];++vt)an+=an+or(jt,Mt[vt]);an+=3+(8<(jt=te).b&&zn(jt);var Ln,Mt=jt.b,hn=(Ln=jt.Ca>>1)-(jt.I>>Mt)>>31;--jt.b,jt.Ca+=hn,jt.Ca|=1,jt.I-=(Ln+1&hn)<>3),te[oe+xe+32*ke]=-256&Xe?0>Xe?0:255:Xe}function Xo(te,oe,xe,ke,Xe,rt){nl(te,oe,0,xe,ke+Xe),nl(te,oe,1,xe,ke+rt),nl(te,oe,2,xe,ke-rt),nl(te,oe,3,xe,ke-Xe)}function Hl(te){return(20091*te>>16)+te}function rf(te,oe,xe,ke){var Xe,rt=0,ot=ee(16);for(Xe=0;4>Xe;++Xe){var vt=te[oe+0]+te[oe+8],At=te[oe+0]-te[oe+8],jt=(35468*te[oe+4]>>16)-Hl(te[oe+12]),an=Hl(te[oe+4])+(35468*te[oe+12]>>16);ot[rt+0]=vt+an,ot[rt+1]=At+jt,ot[rt+2]=At-jt,ot[rt+3]=vt-an,rt+=4,oe++}for(Xe=rt=0;4>Xe;++Xe)vt=(te=ot[rt+0]+4)+ot[rt+8],At=te-ot[rt+8],jt=(35468*ot[rt+4]>>16)-Hl(ot[rt+12]),nl(xe,ke,0,0,vt+(an=Hl(ot[rt+4])+(35468*ot[rt+12]>>16))),nl(xe,ke,1,0,At+jt),nl(xe,ke,2,0,At-jt),nl(xe,ke,3,0,vt-an),rt++,ke+=32}function p0(te,oe,xe,ke){var Xe=te[oe+0]+4,rt=35468*te[oe+4]>>16,ot=Hl(te[oe+4]),vt=35468*te[oe+1]>>16;Xo(xe,ke,0,Xe+ot,te=Hl(te[oe+1]),vt),Xo(xe,ke,1,Xe+rt,te,vt),Xo(xe,ke,2,Xe-rt,te,vt),Xo(xe,ke,3,Xe-ot,te,vt)}function v0(te,oe,xe,ke,Xe){rf(te,oe,xe,ke),Xe&&rf(te,oe+16,xe,ke+4)}function Ml(te,oe,xe,ke){dc(te,oe+0,xe,ke,1),dc(te,oe+32,xe,ke+128,1)}function af(te,oe,xe,ke){var Xe;for(te=te[oe+0]+4,Xe=0;4>Xe;++Xe)for(oe=0;4>oe;++oe)nl(xe,ke,oe,Xe,te)}function of(te,oe,xe,ke){te[oe+0]&&Ui(te,oe+0,xe,ke),te[oe+16]&&Ui(te,oe+16,xe,ke+4),te[oe+32]&&Ui(te,oe+32,xe,ke+128),te[oe+48]&&Ui(te,oe+48,xe,ke+128+4)}function Ic(te,oe,xe,ke){var Xe,rt=ee(16);for(Xe=0;4>Xe;++Xe){var ot=te[oe+0+Xe]+te[oe+12+Xe],vt=te[oe+4+Xe]+te[oe+8+Xe],At=te[oe+4+Xe]-te[oe+8+Xe],jt=te[oe+0+Xe]-te[oe+12+Xe];rt[0+Xe]=ot+vt,rt[8+Xe]=ot-vt,rt[4+Xe]=jt+At,rt[12+Xe]=jt-At}for(Xe=0;4>Xe;++Xe)ot=(te=rt[0+4*Xe]+3)+rt[3+4*Xe],vt=rt[1+4*Xe]+rt[2+4*Xe],At=rt[1+4*Xe]-rt[2+4*Xe],jt=te-rt[3+4*Xe],xe[ke+0]=ot+vt>>3,xe[ke+16]=jt+At>>3,xe[ke+32]=ot-vt>>3,xe[ke+48]=jt-At>>3,ke+=64}function $u(te,oe,xe){var ke,Xe=oe-32,rt=Zs,ot=255-te[Xe-1];for(ke=0;kexe;++xe)b(te,oe+32*xe,te,oe-32,16)}function sf(te,oe){var xe;for(xe=16;0ke;++ke)z(oe,xe+32*ke,te,16)}function E0(te,oe){var xe,ke=16;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe]+te[oe+xe-32];vl(ke>>5,te,oe)}function ec(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe-1+32*xe];vl(ke>>4,te,oe)}function ld(te,oe){var xe,ke=8;for(xe=0;16>xe;++xe)ke+=te[oe+xe-32];vl(ke>>4,te,oe)}function b0(te,oe){vl(128,te,oe)}function Ka(te,oe,xe){return te+2*oe+xe+2>>2}function w0(te,oe){var xe,ke=oe-32;for(ke=new Uint8Array([Ka(te[ke-1],te[ke+0],te[ke+1]),Ka(te[ke+0],te[ke+1],te[ke+2]),Ka(te[ke+1],te[ke+2],te[ke+3]),Ka(te[ke+2],te[ke+3],te[ke+4])]),xe=0;4>xe;++xe)b(te,oe+32*xe,ke,0,ke.length)}function x0(te,oe){var xe=te[oe-1],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1+96];br(te,oe+0,16843009*Ka(te[oe-1-32],xe,ke)),br(te,oe+32,16843009*Ka(xe,ke,Xe)),br(te,oe+64,16843009*Ka(ke,Xe,rt)),br(te,oe+96,16843009*Ka(Xe,rt,rt))}function C0(te,oe){var xe,ke=4;for(xe=0;4>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];for(ke>>=3,xe=0;4>xe;++xe)z(te,oe+32*xe,ke,4)}function Gl(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],At=te[oe+2-32],jt=te[oe+3-32];te[oe+0+96]=Ka(ke,Xe,te[oe-1+96]),te[oe+1+96]=te[oe+0+64]=Ka(xe,ke,Xe),te[oe+2+96]=te[oe+1+64]=te[oe+0+32]=Ka(rt,xe,ke),te[oe+3+96]=te[oe+2+64]=te[oe+1+32]=te[oe+0+0]=Ka(ot,rt,xe),te[oe+3+64]=te[oe+2+32]=te[oe+1+0]=Ka(vt,ot,rt),te[oe+3+32]=te[oe+2+0]=Ka(At,vt,ot),te[oe+3+0]=Ka(jt,At,vt)}function Kl(te,oe){var xe=te[oe+1-32],ke=te[oe+2-32],Xe=te[oe+3-32],rt=te[oe+4-32],ot=te[oe+5-32],vt=te[oe+6-32],At=te[oe+7-32];te[oe+0+0]=Ka(te[oe+0-32],xe,ke),te[oe+1+0]=te[oe+0+32]=Ka(xe,ke,Xe),te[oe+2+0]=te[oe+1+32]=te[oe+0+64]=Ka(ke,Xe,rt),te[oe+3+0]=te[oe+2+32]=te[oe+1+64]=te[oe+0+96]=Ka(Xe,rt,ot),te[oe+3+32]=te[oe+2+64]=te[oe+1+96]=Ka(rt,ot,vt),te[oe+3+64]=te[oe+2+96]=Ka(ot,vt,At),te[oe+3+96]=Ka(vt,At,At)}function F0(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1-32],ot=te[oe+0-32],vt=te[oe+1-32],At=te[oe+2-32],jt=te[oe+3-32];te[oe+0+0]=te[oe+1+64]=rt+ot+1>>1,te[oe+1+0]=te[oe+2+64]=ot+vt+1>>1,te[oe+2+0]=te[oe+3+64]=vt+At+1>>1,te[oe+3+0]=At+jt+1>>1,te[oe+0+96]=Ka(Xe,ke,xe),te[oe+0+64]=Ka(ke,xe,rt),te[oe+0+32]=te[oe+1+96]=Ka(xe,rt,ot),te[oe+1+32]=te[oe+2+96]=Ka(rt,ot,vt),te[oe+2+32]=te[oe+3+96]=Ka(ot,vt,At),te[oe+3+32]=Ka(vt,At,jt)}function B0(te,oe){var xe=te[oe+0-32],ke=te[oe+1-32],Xe=te[oe+2-32],rt=te[oe+3-32],ot=te[oe+4-32],vt=te[oe+5-32],At=te[oe+6-32],jt=te[oe+7-32];te[oe+0+0]=xe+ke+1>>1,te[oe+1+0]=te[oe+0+64]=ke+Xe+1>>1,te[oe+2+0]=te[oe+1+64]=Xe+rt+1>>1,te[oe+3+0]=te[oe+2+64]=rt+ot+1>>1,te[oe+0+32]=Ka(xe,ke,Xe),te[oe+1+32]=te[oe+0+96]=Ka(ke,Xe,rt),te[oe+2+32]=te[oe+1+96]=Ka(Xe,rt,ot),te[oe+3+32]=te[oe+2+96]=Ka(rt,ot,vt),te[oe+3+64]=Ka(ot,vt,At),te[oe+3+96]=Ka(vt,At,jt)}function jc(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1+96];te[oe+0+0]=xe+ke+1>>1,te[oe+2+0]=te[oe+0+32]=ke+Xe+1>>1,te[oe+2+32]=te[oe+0+64]=Xe+rt+1>>1,te[oe+1+0]=Ka(xe,ke,Xe),te[oe+3+0]=te[oe+1+32]=Ka(ke,Xe,rt),te[oe+3+32]=te[oe+1+64]=Ka(Xe,rt,rt),te[oe+3+64]=te[oe+2+64]=te[oe+0+96]=te[oe+1+96]=te[oe+2+96]=te[oe+3+96]=rt}function ud(te,oe){var xe=te[oe-1+0],ke=te[oe-1+32],Xe=te[oe-1+64],rt=te[oe-1+96],ot=te[oe-1-32],vt=te[oe+0-32],At=te[oe+1-32],jt=te[oe+2-32];te[oe+0+0]=te[oe+2+32]=xe+ot+1>>1,te[oe+0+32]=te[oe+2+64]=ke+xe+1>>1,te[oe+0+64]=te[oe+2+96]=Xe+ke+1>>1,te[oe+0+96]=rt+Xe+1>>1,te[oe+3+0]=Ka(vt,At,jt),te[oe+2+0]=Ka(ot,vt,At),te[oe+1+0]=te[oe+3+32]=Ka(xe,ot,vt),te[oe+1+32]=te[oe+3+64]=Ka(ke,xe,ot),te[oe+1+64]=te[oe+3+96]=Ka(Xe,ke,xe),te[oe+1+96]=Ka(rt,Xe,ke)}function tc(te,oe){var xe;for(xe=0;8>xe;++xe)b(te,oe+32*xe,te,oe-32,8)}function D0(te,oe){var xe;for(xe=0;8>xe;++xe)z(te,oe,te[oe-1],8),oe+=32}function Ql(te,oe,xe){var ke;for(ke=0;8>ke;++ke)z(oe,xe+32*ke,te,8)}function S0(te,oe){var xe,ke=8;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32]+te[oe-1+32*xe];Ql(ke>>4,te,oe)}function cd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe+xe-32];Ql(ke>>3,te,oe)}function dd(te,oe){var xe,ke=4;for(xe=0;8>xe;++xe)ke+=te[oe-1+32*xe];Ql(ke>>3,te,oe)}function lf(te,oe){Ql(128,te,oe)}function Jl(te,oe,xe){var ke=te[oe-xe],Xe=te[oe+0],rt=3*(Xe-ke)+N0[1020+te[oe-2*xe]-te[oe+xe]],ot=vf[112+(rt+4>>3)];te[oe-xe]=Zs[255+ke+vf[112+(rt+3>>3)]],te[oe+0]=Zs[255+Xe-ot]}function fd(te,oe,xe,ke){var Xe=te[oe+0],rt=te[oe+xe];return il[255+te[oe-2*xe]-te[oe-xe]]>ke||il[255+rt-Xe]>ke}function Mc(te,oe,xe,ke){return 4*il[255+te[oe-xe]-te[oe+0]]+il[255+te[oe-2*xe]-te[oe+xe]]<=ke}function hd(te,oe,xe,ke,Xe){var rt=te[oe-3*xe],ot=te[oe-2*xe],vt=te[oe-xe],At=te[oe+0],jt=te[oe+xe],an=te[oe+2*xe],Ln=te[oe+3*xe];return 4*il[255+vt-At]+il[255+ot-jt]>ke?0:il[255+te[oe-4*xe]-rt]<=Xe&&il[255+rt-ot]<=Xe&&il[255+ot-vt]<=Xe&&il[255+Ln-an]<=Xe&&il[255+an-jt]<=Xe&&il[255+jt-At]<=Xe}function nc(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Mc(te,oe+ke,xe,Xe)&&Jl(te,oe+ke,xe)}function md(te,oe,xe,ke){var Xe=2*ke+1;for(ke=0;16>ke;++ke)Mc(te,oe+ke*xe,1,Xe)&&Jl(te,oe+ke*xe,1)}function uf(te,oe,xe,ke){var Xe;for(Xe=3;0>7,tr=18*ir+63>>7,ir=9*ir+63>>7;At[jt-3*an]=Zs[255+At[jt-3*an]+ir],At[jt-2*an]=Zs[255+Ln+tr],At[jt-an]=Zs[255+Mt+Sn],At[jt+0]=Zs[255+hn-Sn],At[jt+an]=Zs[255+bn-tr],At[jt+2*an]=Zs[255+Xn-ir]}oe+=ke}}function ql(te,oe,xe,ke,Xe,rt,ot,vt){for(rt=2*rt+1;0>3)],Xn=vf[112+(Xn+3>>3)],Sn=bn+1>>1;At[jt-2*an]=Zs[255+At[jt-2*an]+Sn],At[jt-an]=Zs[255+Ln+Xn],At[jt+0]=Zs[255+Mt-bn],At[jt+an]=Zs[255+hn-Sn]}oe+=ke}}function df(te,oe,xe,ke,Xe,rt){Xl(te,oe,xe,1,16,ke,Xe,rt)}function rc(te,oe,xe,ke,Xe,rt){Xl(te,oe,1,xe,16,ke,Xe,rt)}function ff(te,oe,xe,ke,Xe,rt){var ot;for(ot=3;0jt?0:255:jt)&255,jt=At,Xe[rt+vt]=an}}function ro(te,oe,xe,ke){var Xe=oe.width,rt=oe.o;if(E(te!=null&&oe!=null),0>xe||0>=ke||xe+ke>rt)return null;if(!te.Cc){if(te.ga==null){var ot;if(te.ga=new ri,(ot=te.ga==null)||(ot=oe.width*oe.o,E(te.Gb.length==0),te.Gb=ee(ot),te.Uc=0,te.Gb==null?ot=0:(te.mb=te.Gb,te.nb=te.Uc,te.rc=null,ot=1),ot=!ot),!ot){ot=te.ga;var vt=te.Fa,At=te.P,jt=te.qc,an=te.mb,Ln=te.nb,Mt=At+1,hn=jt-1,bn=ot.l;if(E(vt!=null&&an!=null&&oe!=null),Du[0]=null,Du[1]=Ii,Du[2]=wo,Du[3]=Ho,ot.ca=an,ot.tb=Ln,ot.c=oe.width,ot.i=oe.height,E(0=jt)oe=0;else if(ot.$a=3&vt[At+0],ot.Z=vt[At+0]>>2&3,ot.Lc=vt[At+0]>>4&3,At=vt[At+0]>>6&3,0>ot.$a||1=ot.c*ot.i;ot=!oe}if(ot)return null;te.ga.Lc!=1?te.Ga=0:ke=rt-xe}E(te.ga!=null),E(xe+ke<=rt);e:{if(oe=(vt=te.ga).c,rt=vt.l.o,vt.$a==0){if(Mt=te.rc,hn=te.Vc,bn=te.Fa,At=te.P+1+xe*oe,jt=te.mb,an=te.nb+xe*oe,E(At<=te.P+te.qc),vt.Z!=0)for(E(Du[vt.Z]!=null),ot=0;ot=oe)oe=1;else if(vt.ic||gl(),vt.ic){vt=ot.V,Mt=ot.Ba,hn=ot.c;var Xn=ot.i,Sn=(bn=1,At=ot.$/hn,jt=ot.$%hn,an=ot.m,Ln=ot.s,ot.$),tr=hn*Xn,ir=hn*oe,Ar=Ln.wc,mr=Sn(Xn=So(mr.G[0],mr.H[0],an)))vt[Mt+Sn]=Xn,++Sn,++jt>=hn&&(jt=0,++At<=oe&&!(At%16)&&ml(ot,At));else{if(!(280>Xn)){bn=0;break t}Xn=qs(Xn-256,an);var ga,ea=So(mr.G[4],mr.H[4],an);if(xn(an),!(Sn>=(ea=$s(hn,ea=qs(ea,an)))&&tr-Sn>=Xn)){bn=0;break t}for(ga=0;ga=hn;)jt-=hn,++At<=oe&&!(At%16)&&ml(ot,At);Snoe?oe:At);break t}!bn||an.h&&Sn=rt&&(te.Cc=1),ke=1}if(!ke)return null;if(te.Cc&&((ke=te.ga)!=null&&(ke.mc=null),te.ga=null,0>23,vt[At+4*ot+1]=vt[At+4*ot+1]*Ln>>23,vt[At+4*ot+2]=vt[At+4*ot+2]*Ln>>23)}oe+=rt}}function Go(te,oe,xe,ke,Xe){for(;0>4)*At>>16;te[oe+2*rt+0]=(240&ot|ot>>4)*At>>16&240|(15&ot|ot<<4)*At>>16>>4&15,te[oe+2*rt+1]=240&jt|vt}oe+=Xe}}function ss(te,oe,xe,ke,Xe,rt,ot,vt){var At,jt,an=255;for(jt=0;jt>8}function gl(){Bd=qo,ep=Go,tp=ss,np=$l}function eu(te,oe,xe){Wt[te]=function(ke,Xe,rt,ot,vt,At,jt,an,Ln,Mt,hn,bn,Xn,Sn,tr,ir,Ar){var mr,ga=Ar-1>>1,ea=vt[At+0]|jt[an+0]<<16,ii=Ln[Mt+0]|hn[bn+0]<<16;E(ke!=null);var da=3*ea+ii+131074>>2;for(oe(ke[Xe+0],255&da,da>>16,Xn,Sn),rt!=null&&(da=3*ii+ea+131074>>2,oe(rt[ot+0],255&da,da>>16,tr,ir)),mr=1;mr<=ga;++mr){var Bi=vt[At+mr]|jt[an+mr]<<16,es=Ln[Mt+mr]|hn[bn+mr]<<16,oi=ea+Bi+ii+es+524296,fa=oi+2*(Bi+ii)>>3;da=fa+ea>>1,ea=(oi=oi+2*(ea+es)>>3)+Bi>>1,oe(ke[Xe+2*mr-1],255&da,da>>16,Xn,Sn+(2*mr-1)*xe),oe(ke[Xe+2*mr-0],255&ea,ea>>16,Xn,Sn+(2*mr-0)*xe),rt!=null&&(da=oi+ii>>1,ea=fa+es>>1,oe(rt[ot+2*mr-1],255&da,da>>16,tr,ir+(2*mr-1)*xe),oe(rt[ot+2*mr+0],255&ea,ea>>16,tr,ir+(2*mr+0)*xe)),ea=Bi,ii=es}1&Ar||(da=3*ea+ii+131074>>2,oe(ke[Xe+Ar-1],255&da,da>>16,Xn,Sn+(Ar-1)*xe),rt!=null&&(da=3*ii+ea+131074>>2,oe(rt[ot+Ar-1],255&da,da>>16,tr,ir+(Ar-1)*xe)))}}function pd(){ol[gf]=Jv,ol[yf]=hp,ol[lp]=Xv,ol[Af]=mp,ol[Ef]=pp,ol[L0]=vp,ol[up]=qv,ol[P0]=hp,ol[I0]=mp,ol[bf]=pp,ol[j0]=vp}function Oc(te){return te&~$v?0>te?0:255:te>>gp}function gu(te,oe){return Oc((19077*te>>8)+(26149*oe>>8)-14234)}function ac(te,oe,xe){return Oc((19077*te>>8)-(6419*oe>>8)-(13320*xe>>8)+8708)}function ic(te,oe){return Oc((19077*te>>8)+(33050*oe>>8)-17685)}function yu(te,oe,xe,ke,Xe){ke[Xe+0]=gu(te,xe),ke[Xe+1]=ac(te,oe,xe),ke[Xe+2]=ic(te,oe)}function ls(te,oe,xe,ke,Xe){ke[Xe+0]=ic(te,oe),ke[Xe+1]=ac(te,oe,xe),ke[Xe+2]=gu(te,xe)}function oc(te,oe,xe,ke,Xe){var rt=ac(te,oe,xe);oe=rt<<3&224|ic(te,oe)>>3,ke[Xe+0]=248&gu(te,xe)|rt>>5,ke[Xe+1]=oe}function sc(te,oe,xe,ke,Xe){var rt=240&ic(te,oe)|15;ke[Xe+0]=240&gu(te,xe)|ac(te,oe,xe)>>4,ke[Xe+1]=rt}function vd(te,oe,xe,ke,Xe){ke[Xe+0]=255,yu(te,oe,xe,ke,Xe+1)}function gd(te,oe,xe,ke,Xe){ls(te,oe,xe,ke,Xe),ke[Xe+3]=255}function Cs(te,oe,xe,ke,Xe){yu(te,oe,xe,ke,Xe),ke[Xe+3]=255}function tu(te,oe,xe){Wt[te]=function(ke,Xe,rt,ot,vt,At,jt,an,Ln){for(var Mt=an+(-2&Ln)*xe;an!=Mt;)oe(ke[Xe+0],rt[ot+0],vt[At+0],jt,an),oe(ke[Xe+1],rt[ot+0],vt[At+0],jt,an+xe),Xe+=2,++ot,++At,an+=2*xe;1&Ln&&oe(ke[Xe+0],rt[ot+0],vt[At+0],jt,an)}}function kc(te,oe,xe){return xe==0?te==0?oe==0?6:5:oe==0?4:0:xe}function hf(te,oe,xe,ke,Xe){switch(te>>>30){case 3:dc(oe,xe,ke,Xe,0);break;case 2:al(oe,xe,ke,Xe);break;case 1:Ui(oe,xe,ke,Xe)}}function rl(te,oe){var xe,ke,Xe=oe.M,rt=oe.Nb,ot=te.oc,vt=te.pc+40,At=te.oc,jt=te.pc+584,an=te.oc,Ln=te.pc+600;for(xe=0;16>xe;++xe)ot[vt+32*xe-1]=129;for(xe=0;8>xe;++xe)At[jt+32*xe-1]=129,an[Ln+32*xe-1]=129;for(0xe;++xe)b(ot,vt+32*xe-4,ot,vt+32*xe+12,4);for(xe=-1;8>xe;++xe)b(At,jt+32*xe-4,At,jt+32*xe+4,4),b(an,Ln+32*xe-4,an,Ln+32*xe+4,4)}var hn=te.Gd,bn=te.Hd+ke,Xn=Mt.ad,Sn=Mt.Hc;if(0=te.za-1?z(tr,ir,hn[bn].y[15],4):b(tr,ir,hn[bn+1].y,0,4)),xe=0;4>xe;xe++)tr[ir+128+xe]=tr[ir+256+xe]=tr[ir+384+xe]=tr[ir+0+xe];for(xe=0;16>xe;++xe,Sn<<=2)tr=ot,ir=vt+Ap[xe],yl[Mt.Ob[xe]](tr,ir),hf(Sn,Xn,16*+xe,tr,ir)}else if(tr=kc(ke,Xe,Mt.Ob[0]),Bu[tr](ot,vt),Sn!=0)for(xe=0;16>xe;++xe,Sn<<=2)hf(Sn,Xn,16*+xe,ot,vt+Ap[xe]);for(xe=Mt.Gc,tr=kc(ke,Xe,Mt.Dd),au[tr](At,jt),au[tr](an,Ln),Sn=Xn,tr=At,ir=jt,255&(Mt=0|xe)&&(170&Mt?Tl(Sn,256,tr,ir):Ji(Sn,256,tr,ir)),Mt=an,Sn=Ln,255&(xe>>=8)&&(170&xe?Tl(Xn,320,Mt,Sn):Ji(Xn,320,Mt,Sn)),Xexe;++xe)b(hn,bn+xe*te.R,ot,vt+32*xe,16);for(xe=0;8>xe;++xe)b(Xn,Mt+xe*te.B,At,jt+32*xe,8),b(Sn,tr+xe*te.B,an,Ln+32*xe,8)}}function lc(te,oe,xe,ke,Xe,rt,ot,vt,At){var jt=[0],an=[0],Ln=0,Mt=At!=null?At.kd:0,hn=At!=null?At:new hr;if(te==null||12>xe)return 7;hn.data=te,hn.w=oe,hn.ha=xe,oe=[oe],xe=[xe],hn.gb=[hn.gb];e:{var bn=oe,Xn=xe,Sn=hn.gb;if(E(te!=null),E(Xn!=null),E(Sn!=null),Sn[0]=0,12<=Xn[0]&&!y(te,bn[0],"RIFF")){if(y(te,bn[0]+8,"WEBP")){Sn=3;break e}var tr=Ea(te,bn[0]+4);if(12>tr||4294967286Xn[0]-8){Sn=7;break e}Sn[0]=tr,bn[0]+=12,Xn[0]-=12}Sn=0}if(Sn!=0)return Sn;for(tr=0Sn[0])Sn=7;else{if(!y(ir,Xn[0],"VP8X")){if(Ea(ir,Xn[0]+4)!=10){Sn=3;break e}if(18>Sn[0]){Sn=7;break e}var ea=Ea(ir,Xn[0]+8),ii=1+Wr(ir,Xn[0]+12);if(2147483648<=ii*(ir=1+Wr(ir,Xn[0]+15))){Sn=3;break e}ga!=null&&(ga[0]=ea),Ar!=null&&(Ar[0]=ii),mr!=null&&(mr[0]=ir),Xn[0]+=18,Sn[0]-=18,da[0]=1}Sn=0}}if(Ln=Ln[0],bn=bn[0],Sn!=0)return Sn;if(Xn=!!(2&bn),!tr&&Ln)return 3;if(rt!=null&&(rt[0]=!!(16&bn)),ot!=null&&(ot[0]=Xn),vt!=null&&(vt[0]=0),ot=jt[0],bn=an[0],Ln&&Xn&&At==null){Sn=0;break}if(4>xe){Sn=7;break}if(tr&&Ln||!tr&&!Ln&&!y(te,oe[0],"ALPH")){xe=[xe],hn.na=[hn.na],hn.P=[hn.P],hn.Sa=[hn.Sa];e:{ea=te,Sn=oe,tr=xe;var da=hn.gb;Ar=hn.na,mr=hn.P,ga=hn.Sa,ii=22,E(ea!=null),E(tr!=null),ir=Sn[0];var Bi=tr[0];for(E(Ar!=null),E(ga!=null),Ar[0]=null,mr[0]=null,ga[0]=0;;){if(Sn[0]=ir,tr[0]=Bi,8>Bi){Sn=7;break e}var es=Ea(ea,ir+4);if(4294967286da){Sn=3;break e}if(!y(ea,ir,"VP8 ")||!y(ea,ir,"VP8L")){Sn=0;break e}if(Bi[0]tr[0])Sn=7;else{if(ir||ii){if(da=Ea(da,ea+4),12<=Ar&&da>Ar-12){Sn=3;break e}if(Mt&&da>tr[0]-8){Sn=7;break e}mr[0]=da,Sn[0]+=8,tr[0]-=8,ga[0]=ii}else ga[0]=5<=tr[0]&&da[ea+0]==47&&!(da[ea+4]>>5),mr[0]=tr[0];Sn=0}if(xe=xe[0],hn.Ja=hn.Ja[0],hn.xa=hn.xa[0],oe=oe[0],Sn!=0)break;if(4294967286xe){Sn=7;break}vt=ot,Mt=bn,Xn=rt,te==null||5>xe?te=0:5<=xe&&te[oe+0]==47&&!(te[oe+4]>>5)?(tr=[0],da=[0],Ar=[0],Hn(mr=new Tt,te,oe,xe),Vl(mr,tr,da,Ar)?(vt!=null&&(vt[0]=tr[0]),Mt!=null&&(Mt[0]=da[0]),Xn!=null&&(Xn[0]=Ar[0]),te=1):te=0):te=0}else{if(10>xe){Sn=7;break}vt=bn,te==null||10>xe||!tf(te,oe+3,xe-3)?te=0:(Mt=te[oe+0]|te[oe+1]<<8|te[oe+2]<<16,Xn=16383&(te[oe+7]<<8|te[oe+6]),te=16383&(te[oe+9]<<8|te[oe+8]),1&Mt||3<(Mt>>1&7)||!(Mt>>4&1)||Mt>>5>=hn.Ja||!Xn||!te?te=0:(ot&&(ot[0]=Xn),vt&&(vt[0]=te),te=1))}if(!te||(ot=ot[0],bn=bn[0],Ln&&(jt[0]!=ot||an[0]!=bn)))return 3;At!=null&&(At[0]=hn,At.offset=oe-At.w,E(4294967286>oe-At.w),E(At.offset==At.ha-xe));break}return Sn==0||Sn==7&&Ln&&At==null?(rt!=null&&(rt[0]|=hn.na!=null&&0xe||(rt&=-2,ot&=-2),0>rt||0>ot||0>=vt||0>=At||rt+vt>ke||ot+At>Xe))return 0;if(oe.v=rt,oe.j=ot,oe.va=rt+vt,oe.o=ot+At,oe.U=vt,oe.T=At,oe.da=te!=null&&0te.S){var oe=te.f.RGBA;oe.fb+=(te.height-1)*oe.A,oe.A=-oe.A}else oe=te.f.kb,te=te.height,oe.O+=(te-1)*oe.fa,oe.fa=-oe.fa,oe.N+=(te-1>>1)*oe.Ab,oe.Ab=-oe.Ab,oe.W+=(te-1>>1)*oe.Db,oe.Db=-oe.Db,oe.F!=null&&(oe.J+=(te-1)*oe.lb,oe.lb=-oe.lb);return 0}function Au(te,oe,xe,ke){if(ke==null||0>=te||0>=oe)return 2;if(xe!=null){if(xe.Da){var Xe=xe.cd,rt=xe.bd,ot=-2&xe.v,vt=-2&xe.j;if(0>ot||0>vt||0>=Xe||0>=rt||ot+Xe>te||vt+rt>oe)return 2;te=Xe,oe=rt}if(xe.da){if(!Ma(te,oe,Xe=[xe.ib],rt=[xe.hb]))return 2;te=Xe[0],oe=rt[0]}}ke.width=te,ke.height=oe;e:{var At=ke.width,jt=ke.height;if(te=ke.S,0>=At||0>=jt||!(te>=gf&&13>te))te=2;else{if(0>=ke.Rd&&ke.sd==null){ot=rt=Xe=oe=0;var an=(vt=At*Ep[te])*jt;if(11>te||(rt=(jt+1)/2*(oe=(At+1)/2),te==12&&(ot=(Xe=At)*jt)),(jt=ee(an+2*rt+ot))==null){te=1;break e}ke.sd=jt,11>te?((At=ke.f.RGBA).eb=jt,At.fb=0,At.A=vt,At.size=an):((At=ke.f.kb).y=jt,At.O=0,At.fa=vt,At.Fd=an,At.f=jt,At.N=0+an,At.Ab=oe,At.Cd=rt,At.ea=jt,At.W=0+an+rt,At.Db=oe,At.Ed=rt,te==12&&(At.F=jt,At.J=0+an+2*rt),At.Tc=ot,At.lb=Xe)}if(oe=1,Xe=ke.S,rt=ke.width,ot=ke.height,Xe>=gf&&13>Xe)if(11>Xe)te=ke.f.RGBA,oe&=(vt=Math.abs(te.A))*(ot-1)+rt<=te.size,oe&=vt>=rt*Ep[Xe],oe&=te.eb!=null;else{te=ke.f.kb,vt=(rt+1)/2,an=(ot+1)/2,At=Math.abs(te.fa),jt=Math.abs(te.Ab);var Ln=Math.abs(te.Db),Mt=Math.abs(te.lb),hn=Mt*(ot-1)+rt;oe&=At*(ot-1)+rt<=te.Fd,oe&=jt*(an-1)+vt<=te.Cd,oe=(oe&=Ln*(an-1)+vt<=te.Ed)&At>=rt&jt>=vt&Ln>=vt,oe&=te.y!=null,oe&=te.f!=null,oe&=te.ea!=null,Xe==12&&(oe&=Mt>=rt,oe&=hn<=te.Tc,oe&=te.F!=null)}else oe=0;te=oe?0:2}}return te!=0||xe!=null&&xe.fd&&(te=Ad(ke)),te}var uc=64,Us=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Ws=24,Eu=32,nu=8,bu=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ra("Predictor0","PredictorAdd0"),Wt.Predictor0=function(){return 4278190080},Wt.Predictor1=function(te){return te},Wt.Predictor2=function(te,oe,xe){return oe[xe+0]},Wt.Predictor3=function(te,oe,xe){return oe[xe+1]},Wt.Predictor4=function(te,oe,xe){return oe[xe-1]},Wt.Predictor5=function(te,oe,xe){return xa(xa(te,oe[xe+1]),oe[xe+0])},Wt.Predictor6=function(te,oe,xe){return xa(te,oe[xe-1])},Wt.Predictor7=function(te,oe,xe){return xa(te,oe[xe+0])},Wt.Predictor8=function(te,oe,xe){return xa(oe[xe-1],oe[xe+0])},Wt.Predictor9=function(te,oe,xe){return xa(oe[xe+0],oe[xe+1])},Wt.Predictor10=function(te,oe,xe){return xa(xa(te,oe[xe-1]),xa(oe[xe+0],oe[xe+1]))},Wt.Predictor11=function(te,oe,xe){var ke=oe[xe+0];return 0>=qa(ke>>24&255,te>>24&255,(oe=oe[xe-1])>>24&255)+qa(ke>>16&255,te>>16&255,oe>>16&255)+qa(ke>>8&255,te>>8&255,oe>>8&255)+qa(255&ke,255&te,255&oe)?ke:te},Wt.Predictor12=function(te,oe,xe){var ke=oe[xe+0];return(Ri((te>>24&255)+(ke>>24&255)-((oe=oe[xe-1])>>24&255))<<24|Ri((te>>16&255)+(ke>>16&255)-(oe>>16&255))<<16|Ri((te>>8&255)+(ke>>8&255)-(oe>>8&255))<<8|Ri((255&te)+(255&ke)-(255&oe)))>>>0},Wt.Predictor13=function(te,oe,xe){var ke=oe[xe-1];return(bi((te=xa(te,oe[xe+0]))>>24&255,ke>>24&255)<<24|bi(te>>16&255,ke>>16&255)<<16|bi(te>>8&255,ke>>8&255)<<8|bi(255&te,255&ke))>>>0};var Ed=Wt.PredictorAdd0;Wt.PredictorAdd1=Fi,ra("Predictor2","PredictorAdd2"),ra("Predictor3","PredictorAdd3"),ra("Predictor4","PredictorAdd4"),ra("Predictor5","PredictorAdd5"),ra("Predictor6","PredictorAdd6"),ra("Predictor7","PredictorAdd7"),ra("Predictor8","PredictorAdd8"),ra("Predictor9","PredictorAdd9"),ra("Predictor10","PredictorAdd10"),ra("Predictor11","PredictorAdd11"),ra("Predictor12","PredictorAdd12"),ra("Predictor13","PredictorAdd13");var Tc=Wt.PredictorAdd2;Aa("ColorIndexInverseTransform","MapARGB","32b",function(te){return te>>8&255},function(te){return te}),Aa("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(te){return te},function(te){return te>>8&255});var _o,mf=Wt.ColorIndexInverseTransform,Ol=Wt.MapARGB,kl=Wt.VP8LColorIndexInverseTransformAlpha,bd=Wt.MapAlpha,wd=Wt.VP8LPredictorsAdd=[];wd.length=16,(Wt.VP8LPredictors=[]).length=16,(Wt.VP8LPredictorsAdd_C=[]).length=16,(Wt.VP8LPredictors_C=[]).length=16;var xd,Cd,wu,xu,Cu,cc,Fu,dc,al,Tl,Ui,Ji,Ro,$o,ru,Fd,_c,pf,Km,Qm,Jm,Xm,qm,$m,Bd,ep,tp,np,rp=ee(511),ap=ee(2041),ip=ee(225),op=ee(767),sp=0,N0=ap,vf=ip,Zs=op,il=rp,gf=0,yf=1,lp=2,Af=3,Ef=4,L0=5,up=6,P0=7,I0=8,bf=9,j0=10,kv=[2,3,7],Tv=[3,3,11],cp=[280,256,256,256,40],_v=[0,1,1,1,0],Rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],zv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Uv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Wv=8,M0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],O0=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Dd=null,Zv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Yv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Vv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Hv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Gv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Kv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Bu=[],yl=[],au=[],Qv=1,fp=2,Du=[],ol=[];eu("UpsampleRgbLinePair",yu,3),eu("UpsampleBgrLinePair",ls,3),eu("UpsampleRgbaLinePair",Cs,4),eu("UpsampleBgraLinePair",gd,4),eu("UpsampleArgbLinePair",vd,4),eu("UpsampleRgba4444LinePair",sc,2),eu("UpsampleRgb565LinePair",oc,2);var Jv=Wt.UpsampleRgbLinePair,Xv=Wt.UpsampleBgrLinePair,hp=Wt.UpsampleRgbaLinePair,mp=Wt.UpsampleBgraLinePair,pp=Wt.UpsampleArgbLinePair,vp=Wt.UpsampleRgba4444LinePair,qv=Wt.UpsampleRgb565LinePair,wf=16,xf=1<ke.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ke.ca.f.kb.F!=null&&gl()),ke.Pb&&0(At=xe.Md)?0:100jt;++jt)12>(Ln=Xe.pb[jt]).lc&&(Ln.ia=At*og[0>Ln.lc?0:Ln.lc]>>3),an|=Ln.ia;an&&(alert("todo:VP8InitRandom"),Xe.ia=1)}Xe.Ga=xe.Id,100Xe.Ga&&(Xe.Ga=0)}(function(Mt,hn){if(Mt==null)return 0;if(hn==null)return Vo(Mt,2,"NULL VP8Io parameter in VP8Decode().");if(!Mt.cb&&!jl(Mt,hn))return 0;if(E(Mt.cb),hn.ac==null||hn.ac(hn)){hn.ob&&(Mt.L=0);var bn=Cf[Mt.L];if(Mt.L==2?(Mt.yb=0,Mt.zb=0):(Mt.yb=hn.v-bn>>4,Mt.zb=hn.j-bn>>4,0>Mt.yb&&(Mt.yb=0),0>Mt.zb&&(Mt.zb=0)),Mt.Va=hn.o+15+bn>>4,Mt.Hb=hn.va+15+bn>>4,Mt.Hb>Mt.za&&(Mt.Hb=Mt.za),Mt.Va>Mt.Ub&&(Mt.Va=Mt.Ub),0bn;++bn){var Sn;if(Mt.Qa.Cb){var tr=Mt.Qa.Lb[bn];Mt.Qa.Fb||(tr+=Xn.Tb)}else tr=Xn.Tb;for(Sn=0;1>=Sn;++Sn){var ir=Mt.gd[bn][Sn],Ar=tr;if(Xn.Pc&&(Ar+=Xn.vd[0],Sn&&(Ar+=Xn.od[0])),0<(Ar=0>Ar?0:63>2:mr>>1)>9-Xn.wb&&(mr=9-Xn.wb),1>mr&&(mr=1),ir.dd=mr,ir.tc=2*Ar+mr,ir.ld=40<=Ar?2:15<=Ar?1:0}else ir.tc=0;ir.La=Sn}}}bn=0}else Vo(Mt,6,"Frame setup failed"),bn=Mt.a;if(bn=bn==0){if(bn){Mt.$c=0,0Mt.Vb){if(Mt.Vb=0,Mt.Ec=ee(ir),Mt.Fc=0,Mt.Ec==null){bn=Vo(Mt,1,"no memory during frame initialization.");break t}Mt.Vb=ir}ir=Mt.Ec,Ar=Mt.Fc,Mt.Ac=ir,Mt.Bc=Ar,Ar+=Xn,Mt.Gd=de(ga,$d),Mt.Hd=0,Mt.rb=de(ea+1,id),Mt.sb=1,Mt.wa=ii?de(ii,tl):null,Mt.Y=0,Mt.D.Nb=0,Mt.D.wa=Mt.wa,Mt.D.Y=Mt.Y,0=bn;++bn)rp[255+bn]=0>bn?-bn:bn;for(bn=-1020;1020>=bn;++bn)ap[1020+bn]=-128>bn?-128:127=bn;++bn)ip[112+bn]=-16>bn?-16:15=bn;++bn)op[255+bn]=0>bn?0:255Li;++Li){var ts,ji=Fs[0+Li];for(ts=0;4>ts;++ts){ji=Hv[so[us+ts]][ji];for(var Yi=dp[or(ei,ji[0])];0>3;for(Yi=0;256>Yi;Yi+=16)Li[As+Yi]=js}cs=1,Al=us[0]}var Xi=15&ei.la,ns=15&Bs.la;for(Yi=0;4>Yi;++Yi){var Ys=1&ns;for(js=Vi=0;4>js;++js)Xi=Xi>>1|(Ys=(Uo=Dd(so,Al,Uo=Ys+(1&Xi),No.Sc,cs,Li,As))>cs)<<7,Vi=Vi<<2|(3>=4,ns=ns>>1|Ys<<7,ts=(ts<<8|Vi)>>>0}for(Al=Xi,cs=ns>>4,Lo=0;4>Lo;Lo+=2){for(Vi=0,Xi=ei.la>>4+Lo,ns=Bs.la>>4+Lo,Yi=0;2>Yi;++Yi){for(Ys=1&ns,js=0;2>js;++js)Uo=Ys+(1&Xi),Xi=Xi>>1|(Ys=0<(Uo=Dd(so,us[2],Uo,No.Qc,0,Li,As)))<<3,Vi=Vi<<2|(3>=2,ns=ns>>1|Ys<<5}ji|=Vi<<4*Lo,Al|=Xi<<4<=fa.zb&&fa.M<=fa.Va,fa.Aa==0)t:{if(oi.M=fa.M,oi.uc=ei,rl(fa,oi),zo=1,oi=(Vi=fa.D).Nb,ei=(ji=Cf[fa.L])*fa.R,so=ji/2*fa.B,Yi=16*oi*fa.R,js=8*oi*fa.B,us=fa.sa,Fs=fa.ta-ei+Yi,No=fa.qa,Li=fa.ra-so+js,As=fa.Ha,Bs=fa.Ia-so+js,ns=(Xi=Vi.M)==0,ts=Xi>=fa.Va-1,fa.Aa==2&&rl(fa,Vi),Vi.uc)for(Ys=(Uo=fa).D.M,E(Uo.D.uc),Vi=Uo.yb;Vi_r.o&&(Xi=_r.o),_r.F=null,_r.J=null,fa.Fa!=null&&0>1),_r.W+=fa.B*(ji>>1),_r.F!=null&&(_r.J+=_r.width*ji)),Vi>1,_r.W+=_r.v>>1,_r.F!=null&&(_r.J+=_r.v),_r.ka=Vi-_r.j,_r.U=_r.va-_r.v,_r.T=Xi-Vi,zo=_r.put(_r))}oi+1!=fa.Ic||ts||(b(fa.sa,fa.ta-ei,us,Fs+16*fa.R,ei),b(fa.qa,fa.ra-so,No,Li+8*fa.B,so),b(fa.Ha,fa.Ia-so,As,Bs+8*fa.B,so))}if(!zo)return Vo(Bi,6,"Output aborted.")}return 1}(Mt,hn)),hn.bc!=null&&hn.bc(hn),bn&=1}return bn?(Mt.cb=0,bn):0})(te,ke)||(oe=te.a)}}else oe=te.a}oe==0&&ot.Oa!=null&&ot.Oa.fd&&(oe=Ad(ot.ba))}ot=oe}rt=ot!=0?null:11>rt?vt.f.RGBA.eb:vt.f.kb.y}else rt=null;return rt};var Ep=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function ye(Wt,En){for(var ct="",Dt=0;Dt<4;Dt++)ct+=String.fromCharCode(Wt[En++]);return ct}function Le(Wt,En){return Wt[En+0]|Wt[En+1]<<8}function Ke(Wt,En){return(Wt[En+0]|Wt[En+1]<<8|Wt[En+2]<<16)>>>0}function nt(Wt,En){return(Wt[En+0]|Wt[En+1]<<8|Wt[En+2]<<16|Wt[En+3]<<24)>>>0}new pe;var Se=[0],Ft=[0],bt=[],Bt=new pe,ft=a,$t=function(Wt,En){var ct={},Dt=0,qt=!1,Jt=0,Mn=0;if(ct.frames=[],!function(st,Tt){for(var Ht=0;Ht<4;Ht++)if(st[Tt+Ht]!="RIFF".charCodeAt(Ht))return!0;return!1}(Wt,En)){for(nt(Wt,En+=4),En+=8;En>1&1}_n!="ANMF"&&(En+=Nn)}return ct}}(ft,0);$t.response=ft,$t.rgbaoutput=!0,$t.dataurl=!1;var Qt=$t.header?$t.header:null,_t=$t.frames?$t.frames:null;if(Qt){Qt.loop_counter=Qt.loop_count,Se=[Qt.canvas_height],Ft=[Qt.canvas_width];for(var Pn=0;Pn<_t.length&&_t[Pn].blend!=0;Pn++);}var $n=_t[0],Rn=Bt.WebPDecodeRGBA(ft,$n.src_off,$n.src_size,Ft,Se);$n.rgba=Rn,$n.imgwidth=Ft[0],$n.imgheight=Se[0];for(var ln=0;ln=2?St[1]:Yr[0],Yr[2]=St.length>=3?St[2]:Yr[0],Yr[3]=St.length>=4?St[3]:Yr[1]),ye.margin=Yr}});var zn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return zn},set:function(St){zn=St}});var Zn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Zn},set:function(St){Zn=St}});var or=[];Object.defineProperty(this,"pageBreaks",{get:function(){return or},set:function(St){or=St}}),Object.defineProperty(this,"ctx",{get:function(){return ye},set:function(St){St instanceof Le&&(ye=St)}}),Object.defineProperty(this,"path",{get:function(){return ye.path},set:function(St){ye.path=St}});var br=[];Object.defineProperty(this,"ctxStack",{get:function(){return br},set:function(St){br=St}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(St){var Yr;Yr=nt(St),this.ctx.fillStyle=Yr.style,this.ctx.isFillTransparent=Yr.a===0,this.ctx.fillOpacity=Yr.a,this.pdf.setFillColor(Yr.r,Yr.g,Yr.b,{a:Yr.a}),this.pdf.setTextColor(Yr.r,Yr.g,Yr.b,{a:Yr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(St){var Yr=nt(St);this.ctx.strokeStyle=Yr.style,this.ctx.isStrokeTransparent=Yr.a===0,this.ctx.strokeOpacity=Yr.a,Yr.a===0?this.pdf.setDrawColor(255,255,255):(Yr.a,this.pdf.setDrawColor(Yr.r,Yr.g,Yr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(St){["butt","round","square"].indexOf(St)!==-1&&(this.ctx.lineCap=St,this.pdf.setLineCap(St))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(St){isNaN(St)||(this.ctx.lineWidth=St,this.pdf.setLineWidth(St))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(St){["bevel","round","miter"].indexOf(St)!==-1&&(this.ctx.lineJoin=St,this.pdf.setLineJoin(St))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(St){isNaN(St)||(this.ctx.miterLimit=St,this.pdf.setMiterLimit(St))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(St){this.ctx.textBaseline=St}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(St){["right","end","center","left","start"].indexOf(St)!==-1&&(this.ctx.textAlign=St)}});var Zr=null,Wr=null,Ea=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ea},set:function(St){Zr=null,Wr=null,Ea=St}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(St){var Yr;if(this.ctx.font=St,(Yr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(St))!==null){var li=Yr[1];Yr[2];var Ma=Yr[3],vr=Yr[4];Yr[5];var Oa=Yr[6],ra=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(vr)[2];vr=Math.floor(ra==="px"?parseFloat(vr)*this.pdf.internal.scaleFactor:ra==="em"?parseFloat(vr)*this.pdf.getFontSize():parseFloat(vr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(vr);var Pa=function(Aa){var To,Pi,di=[],fi=Aa.trim();if(fi==="")return c0;if(fi in Sm)return[Sm[fi]];for(;fi!=="";){switch(Pi=null,To=(fi=Lm(fi)).charAt(0)){case'"':case"'":Pi=pv(fi.substring(1),To);break;default:Pi=vv(fi)}if(Pi===null||(di.push(Pi[0]),(fi=Lm(Pi[1]))!==""&&fi.charAt(0)!==","))return c0;fi=fi.replace(/^,/,"")}return di}(Oa);if(this.fontFaces){var xa=function(Aa,To){var Pi=Aa.getFontList(),di=JSON.stringify(Pi);if(Zr===null||Wr!==di){var fi=function(go){var Ba=[];return Object.keys(go).forEach(function(no){go[no].forEach(function(Za){var $a=null;switch(Za){case"bold":$a={family:no,weight:"bold"};break;case"italic":$a={family:no,style:"italic"};break;case"bolditalic":$a={family:no,weight:"bold",style:"italic"};break;case"":case"normal":$a={family:no}}$a!==null&&($a.ref={name:no,style:Za},Ba.push($a))})}),Ba}(Pi);Zr=function(go){for(var Ba={},no=0;no=700||li==="bold")&&(qa="bold"),li==="italic"&&(qa+="italic"),qa.length===0&&(qa="normal");for(var Fi="",wi={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ma=0;ma=2*Math.PI&&(tn=0,mn=2*Math.PI),this.path.push({type:"arc",x:st,y:Tt,radius:Ht,startAngle:tn,endAngle:mn,counterclockwise:xn})},Ke.prototype.arcTo=function(st,Tt,Ht,tn,mn){throw new Error("arcTo not implemented.")},Ke.prototype.rect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(st,Tt),this.lineTo(st+Ht,Tt),this.lineTo(st+Ht,Tt+tn),this.lineTo(st,Tt+tn),this.lineTo(st,Tt),this.lineTo(st+Ht,Tt),this.lineTo(st,Tt)},Ke.prototype.fillRect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Se.call(this)){var mn={};this.lineCap!=="butt"&&(mn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(mn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(st,Tt,Ht,tn),this.fill(),mn.hasOwnProperty("lineCap")&&(this.lineCap=mn.lineCap),mn.hasOwnProperty("lineJoin")&&(this.lineJoin=mn.lineJoin)}},Ke.prototype.strokeRect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Ft.call(this)||(this.beginPath(),this.rect(st,Tt,Ht,tn),this.stroke())},Ke.prototype.clearRect=function(st,Tt,Ht,tn){if(isNaN(st)||isNaN(Tt)||isNaN(Ht)||isNaN(tn))throw Qi.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(st,Tt,Ht,tn))},Ke.prototype.save=function(st){st=typeof st!="boolean"||st;for(var Tt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ke.prototype.drawImage=function(st,Tt,Ht,tn,mn,xn,zn,Zn,or){var br=this.pdf.getImageProperties(st),Zr=1,Wr=1,Ea=1,St=1;tn!==void 0&&Zn!==void 0&&(Ea=Zn/tn,St=or/mn,Zr=br.width/tn*Zn/tn,Wr=br.height/mn*or/mn),xn===void 0&&(xn=Tt,zn=Ht,Tt=0,Ht=0),tn!==void 0&&Zn===void 0&&(Zn=tn,or=mn),tn===void 0&&Zn===void 0&&(Zn=br.width,or=br.height);var Yr=this.ctx.transform.decompose(),li=Nn(Yr.rotate.shx),Ma=new pe,vr=(Ma=(Ma=(Ma=Ma.multiply(Yr.translate)).multiply(Yr.skew)).multiply(Yr.scale)).applyToRectangle(new le(xn-Tt*Ea,zn-Ht*St,tn*Zr,mn*Wr));if(this.autoPaging){for(var Oa,ra=Bt.call(this,vr),Pa=[],xa=0;xaRi||qavr||ra0)){for(;or>=0;or--)if(mn[or-1].close!==!0&&mn[or-1].begin!==!0){mn[or-1].deltas.push(Ht),mn[or-1].abs.push(Zn);break}}break;case"bct":Ht=[Zn.x1-xn[zn-1].x,Zn.y1-xn[zn-1].y,Zn.x2-xn[zn-1].x,Zn.y2-xn[zn-1].y,Zn.x-xn[zn-1].x,Zn.y-xn[zn-1].y],mn[mn.length-1].deltas.push(Ht);break;case"qct":var br=xn[zn-1].x+2/3*(Zn.x1-xn[zn-1].x),Zr=xn[zn-1].y+2/3*(Zn.y1-xn[zn-1].y),Wr=Zn.x+2/3*(Zn.x1-Zn.x),Ea=Zn.y+2/3*(Zn.y1-Zn.y),St=Zn.x,Yr=Zn.y;Ht=[br-xn[zn-1].x,Zr-xn[zn-1].y,Wr-xn[zn-1].x,Ea-xn[zn-1].y,St-xn[zn-1].x,Yr-xn[zn-1].y],mn[mn.length-1].deltas.push(Ht);break;case"arc":mn.push({deltas:[],abs:[],arc:!0}),Array.isArray(mn[mn.length-1].abs)&&mn[mn.length-1].abs.push(Zn)}}tn=Tt?null:st==="stroke"?"stroke":"fill";for(var li=!1,Ma=0;Ma=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale);var ni=this.autoPaging!=="text";if(ni||ma.y+ma.h<=xa){if(ni||ma.y>=ra&&ma.x<=bi){var Aa=ni?st.text:this.pdf.splitTextToSize(st.text,st.maxWidth||bi-ma.x)[0],To=$t([JSON.parse(JSON.stringify(Wr))],this.posX+this.margin[3],-Fi+ra+this.ctx.prevPageLastElemOffset)[0],Pi=ni&&(Oa>Ma||Oa=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)}}else st.scale>=.01&&(tn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tn*st.scale),mn=this.lineWidth,this.lineWidth=mn*st.scale),this.pdf.text(st.text,or.x+this.posX,or.y+this.posY,{angle:st.angle,align:Tt,renderingMode:st.renderingMode,maxWidth:st.maxWidth}),st.scale>=.01&&(this.pdf.setFontSize(tn),this.lineWidth=mn)},qt=function(st,Tt,Ht,tn){Ht=Ht||0,tn=tn||0,this.pdf.internal.out(y(st+Ht)+" "+b(Tt+tn)+" l")},Jt=function(st,Tt,Ht){return this.pdf.lines(st,Tt,Ht,null,null)},Mn=function(st,Tt,Ht,tn,mn,xn,zn,Zn){this.pdf.internal.out([E(z(Ht+st)),E(ee(tn+Tt)),E(z(mn+st)),E(ee(xn+Tt)),E(z(zn+st)),E(ee(Zn+Tt)),"c"].join(" "))},_n=function(st,Tt,Ht,tn){for(var mn=2*Math.PI,xn=Math.PI/2;Tt>Ht;)Tt-=mn;var zn=Math.abs(Ht-Tt);zn1e-5;){var Zr=br+or*Math.min(zn,xn);Zn.push(Wn.call(this,st,br,Zr)),zn-=Math.abs(Zr-br),br=Zr}return Zn},Wn=function(st,Tt,Ht){var tn=(Ht-Tt)/2,mn=st*Math.cos(tn),xn=st*Math.sin(tn),zn=mn,Zn=-xn,or=zn*zn+Zn*Zn,br=or+zn*mn+Zn*xn,Zr=4/3*(Math.sqrt(2*or*br)-br)/(zn*xn-Zn*mn),Wr=zn-Zr*Zn,Ea=Zn+Zr*zn,St=Wr,Yr=-Ea,li=tn+Tt,Ma=Math.cos(li),vr=Math.sin(li);return{x1:st*Math.cos(Tt),y1:st*Math.sin(Tt),x2:Wr*Ma-Ea*vr,y2:Wr*vr+Ea*Ma,x3:St*Ma-Yr*vr,y3:St*vr+Yr*Ma,x4:st*Math.cos(Ht),y4:st*Math.sin(Ht)}},Nn=function(st){return 180*st/Math.PI},Hn=function(st,Tt,Ht,tn,mn,xn){var zn=st+.5*(Ht-st),Zn=Tt+.5*(tn-Tt),or=mn+.5*(Ht-mn),br=xn+.5*(tn-xn),Zr=Math.min(st,mn,zn,or),Wr=Math.max(st,mn,zn,or),Ea=Math.min(Tt,xn,Zn,br),St=Math.max(Tt,xn,Zn,br);return new le(Zr,Ea,Wr-Zr,St-Ea)},Sr=function(st,Tt,Ht,tn,mn,xn,zn,Zn){var or,br,Zr,Wr,Ea,St,Yr,li,Ma,vr,Oa,ra,Pa,xa,Ri=Ht-st,bi=tn-Tt,qa=mn-Ht,Fi=xn-tn,wi=zn-mn,ma=Zn-xn;for(br=0;br<41;br++)Ma=(Yr=(Zr=st+(or=br/40)*Ri)+or*((Ea=Ht+or*qa)-Zr))+or*(Ea+or*(mn+or*wi-Ea)-Yr),vr=(li=(Wr=Tt+or*bi)+or*((St=tn+or*Fi)-Wr))+or*(St+or*(xn+or*ma-St)-li),br==0?(Oa=Ma,ra=vr,Pa=Ma,xa=vr):(Oa=Math.min(Oa,Ma),ra=Math.min(ra,vr),Pa=Math.max(Pa,Ma),xa=Math.max(xa,vr));return new le(Math.round(Oa),Math.round(ra),Math.round(Pa-Oa),Math.round(xa-ra))},cr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var st,Tt,Ht=(st=this.ctx.lineDash,Tt=this.ctx.lineDashOffset,JSON.stringify({lineDash:st,lineDashOffset:Tt}));this.prevLineDash!==Ht&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ht)}}})(ha.API),function(a){var E=function(de){var le,pe,ye,Le,Ke,nt,Se,Ft,bt,Bt;for(/[^\x00-\xFF]/.test(de),pe=[],ye=0,Le=(de+=le="\0\0\0\0".slice(de.length%4||4)).length;Le>ye;ye+=4)(Ke=(de.charCodeAt(ye)<<24)+(de.charCodeAt(ye+1)<<16)+(de.charCodeAt(ye+2)<<8)+de.charCodeAt(ye+3))!==0?(nt=(Ke=((Ke=((Ke=((Ke=(Ke-(Bt=Ke%85))/85)-(bt=Ke%85))/85)-(Ft=Ke%85))/85)-(Se=Ke%85))/85)%85,pe.push(nt+33,Se+33,Ft+33,bt+33,Bt+33)):pe.push(122);return function(ft,$t){for(var Qt=$t;Qt>0;Qt--)ft.pop()}(pe,le.length),String.fromCharCode.apply(String,pe)+"~>"},y=function(de){var le,pe,ye,Le,Ke,nt=String,Se="length",Ft=255,bt="charCodeAt",Bt="slice",ft="replace";for(de[Bt](-2),de=de[Bt](0,-2)[ft](/\s/g,"")[ft]("z","!!!!!"),ye=[],Le=0,Ke=(de+=le="uuuuu"[Bt](de[Se]%5||5))[Se];Ke>Le;Le+=5)pe=52200625*(de[bt](Le)-33)+614125*(de[bt](Le+1)-33)+7225*(de[bt](Le+2)-33)+85*(de[bt](Le+3)-33)+(de[bt](Le+4)-33),ye.push(Ft&pe>>24,Ft&pe>>16,Ft&pe>>8,Ft&pe);return function($t,Qt){for(var _t=Qt;_t>0;_t--)$t.pop()}(ye,le[Se]),nt.fromCharCode.apply(nt,ye)},b=function(de){return de.split("").map(function(le){return("0"+le.charCodeAt().toString(16)).slice(-2)}).join("")+">"},z=function(de){var le=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((de=de.replace(/\s/g,"")).indexOf(">")!==-1&&(de=de.substr(0,de.indexOf(">"))),de.length%2&&(de+="0"),le.test(de)===!1)return"";for(var pe="",ye=0;yebt&&(Ft=Bt,Bt=bt,bt=Ft);else{if(le!=="l"&&le!=="landscape")throw"Invalid orientation: "+le;le="l",bt>Bt&&(Ft=Bt,Bt=bt,bt=Ft)}return{width:Bt,height:bt,unit:pe,k:Ke,orientation:le}},a.html=function(le,pe){(pe=pe||{}).callback=pe.callback||function(){},pe.html2canvas=pe.html2canvas||{},pe.html2canvas.canvas=pe.html2canvas.canvas||this.canvas,pe.jsPDF=pe.jsPDF||this,pe.fontFaces=pe.fontFaces?pe.fontFaces.map(u0):null;var ye=new de(pe);return pe.worker?ye:ye.from(le).doCallback()}}(ha.API),ha.API.addJS=function(a){return Im=a,this.internal.events.subscribe("postPutResources",function(){Gd=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Gd+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Pm=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Im+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Gd!==void 0&&Pm!==void 0&&this.internal.out("/Names <>")}),this},function(a){var E;a.events.push(["postPutResources",function(){var y=this,b=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var z=y.outline.render().split(/\r\n/),ee=0;ee> endobj")}var Se=y.internal.newObject();for(y.internal.write("<< /Names [ "),ee=0;ee>","endobj"),E=y.internal.newObject(),y.internal.write("<< /Dests "+Se+" 0 R"),y.internal.write(">>","endobj")}}]),a.events.push(["putCatalog",function(){var y=this;y.outline.root.children.length>0&&(y.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&y.internal.write("/Names "+E+" 0 R"))}]),a.events.push(["initialized",function(){var y=this;y.outline={createNamedDestinations:!1,root:{children:[]}},y.outline.add=function(b,z,ee){var de={title:z,options:ee,children:[]};return b==null&&(b=this.root),b.children.push(de),de},y.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=y,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},y.outline.genIds_r=function(b){b.id=y.internal.newObjectDeferred();for(var z=0;z0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1]))),this.line("/Count "+this.count_r({count:0},b)),this.objEnd()},y.outline.renderItems=function(b){for(var z=this.ctx.pdf.internal.getVerticalCoordinateString,ee=0;ee0&&this.line("/Prev "+this.makeRef(b.children[ee-1])),ee0&&(this.line("/First "+this.makeRef(de.children[0])),this.line("/Last "+this.makeRef(de.children[de.children.length-1])));var le=this.count=this.count_r({count:0},de);if(le>0&&this.line("/Count "+le),de.options&&de.options.pageNumber){var pe=y.internal.getPageInfo(de.options.pageNumber);this.line("/Dest ["+pe.objId+" 0 R /XYZ 0 "+z(0)+" 0]")}this.objEnd()}for(var ye=0;ye>"}),"transparency"in kn&&Array.isArray(kn.transparency)&&kn.transparency.length>0){for(var Fi="",ei=0,Ni=kn.transparency.length;ei>",Bn.content=he;var ir=Bn.objId+" 0 R";he="<>";else if(re.options.pageNumber)switch(he="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=1};var $e=y.__arabicParser__.arabicLetterHasFinalForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=3};var gt=y.__arabicParser__.arabicLetterHasMedialForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length==4},Ut=y.__arabicParser__.resolveLigatures=function(Bn){var Tn=0,fn=E,hr="",ir=0;for(Tn=0;Tn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+z+" 0 R")})),this},function(y){var z=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(Ue){E=Ue}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Ue){re=isNaN(Ue)||Number.isInteger(Ue)===!1||Ue<0?150:Ue,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var ce=300;Object.defineProperty(this,"height",{get:function(){return ce},set:function(Ue){ce=isNaN(Ue)||Number.isInteger(Ue)===!1||Ue<0?300:Ue,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ce+1)}});var he=[];Object.defineProperty(this,"childNodes",{get:function(){return he},set:function(Ue){he=Ue}});var Ze={};Object.defineProperty(this,"style",{get:function(){return Ze},set:function(Ue){Ze=Ue}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(E,re){var ce;if((E=E||"2d")!=="2d")return null;for(ce in re)this.pdf.context2d.hasOwnProperty(ce)&&(this.pdf.context2d[ce]=re[ce]);return this.pdf.context2d._canvas=this,this.pdf.context2d},z.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new z,this.canvas.pdf=this}])}(Na.API),function(y){var z={left:0,top:0,bottom:0,right:0},E=!1,re=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},z),this.internal.__cell__.margins.width=this.getPageWidth(),ce.call(this))},ce=function(){this.internal.__cell__.lastCell=new he,this.internal.__cell__.pages=1},he=function(){var Xe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Xe},set:function(Bn){Xe=Bn}});var $e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return $e},set:function(Bn){$e=Bn}});var gt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return gt},set:function(Bn){gt=Bn}});var Ut=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ut},set:function(Bn){Ut=Bn}});var qt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return qt},set:function(Bn){qt=Bn}});var ft=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ft},set:function(Bn){ft=Bn}});var Dn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Dn},set:function(Bn){Dn=Bn}}),this};he.prototype.clone=function(){return new he(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},he.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(Xe){return re.call(this),this.internal.__cell__.headerFunction=typeof Xe=="function"?Xe:void 0,this},y.getTextDimensions=function(Xe,$e){re.call(this);var gt=($e=$e||{}).fontSize||this.getFontSize(),Ut=$e.font||this.getFont(),qt=$e.scaleFactor||this.internal.scaleFactor,ft=0,Dn=0,Bn=0,Tn=this;if(!Array.isArray(Xe)&&typeof Xe!="string"){if(typeof Xe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Xe=String(Xe)}var fn=$e.maxWidth;fn>0?typeof Xe=="string"?Xe=this.splitTextToSize(Xe,fn):Object.prototype.toString.call(Xe)==="[object Array]"&&(Xe=Xe.reduce(function(ir,Wn){return ir.concat(Tn.splitTextToSize(Wn,fn))},[])):Xe=Array.isArray(Xe)?Xe:[Xe];for(var hr=0;hrthis.getPageHeight()?(this.cellAddPage(),Xe.y=Ut.top,ft&&qt&&(this.printHeaderRow(Xe.lineNumber,!0),Xe.y+=qt[0].height)):Xe.y=$e.y+$e.height||Xe.y),Xe.text[0]!==void 0&&(this.rect(Xe.x,Xe.y,Xe.width,Xe.height,E===!0?"FD":void 0),Xe.align==="right"?this.text(Xe.text,Xe.x+Xe.width-gt,Xe.y+gt,{align:"right",baseline:"top"}):Xe.align==="center"?this.text(Xe.text,Xe.x+Xe.width/2,Xe.y+gt,{align:"center",baseline:"top",maxWidth:Xe.width-gt-gt}):this.text(Xe.text,Xe.x+gt,Xe.y+gt,{align:"left",baseline:"top",maxWidth:Xe.width-gt-gt})),this.internal.__cell__.lastCell=Xe,this};y.table=function(Xe,$e,gt,Ut,qt){if(re.call(this),!gt)throw new Error("No data for PDF table.");var ft,Dn,Bn,Tn,fn=[],hr=[],ir=[],Wn={},oi={},Ui=[],Ei=[],Fr=(qt=qt||{}).autoSize||!1,Gn=qt.printHeaders!==!1,Vr=qt.css&&qt.css["font-size"]!==void 0?16*qt.css["font-size"]:qt.fontSize||12,cn=qt.margins||Object.assign({width:this.getPageWidth()},z),kn=typeof qt.padding=="number"?qt.padding:3,fr=qt.headerBackgroundColor||"#c8c8c8",sr=qt.headerTextColor||"#000";if(ce.call(this),this.internal.__cell__.printHeaders=Gn,this.internal.__cell__.margins=cn,this.internal.__cell__.table_font_size=Vr,this.internal.__cell__.padding=kn,this.internal.__cell__.headerBackgroundColor=fr,this.internal.__cell__.headerTextColor=sr,this.setFontSize(Vr),Ut==null)hr=fn=Object.keys(gt[0]),ir=fn.map(function(){return"left"});else if(Array.isArray(Ut)&&(0,x.Z)(Ut[0])==="object")for(fn=Ut.map(function(ko){return ko.name}),hr=Ut.map(function(ko){return ko.prompt||ko.name||""}),ir=Ut.map(function(ko){return ko.align||"left"}),ft=0;ft0&&this.setTableHeaderRow(qt),this.setFont(void 0,"normal"),E=!1}}(Na.API);var Nc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},sf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],nA=zl(sf),lA=[100,200,300,400,500,600,700,800,900],hh=zl(lA);function JA(y){var z=y.family.replace(/"|'/g,"").toLowerCase(),E=function(he){return Nc[he=he||"normal"]?he:"normal"}(y.style),re=function(he){return he?typeof he=="number"?he>=100&&he<=900&&he%100==0?he:400:/^\d00$/.test(he)?parseInt(he):he==="bold"?700:400:400}(y.weight),ce=function(he){return typeof nA[he=he||"normal"]=="number"?he:"normal"}(y.stretch);return{family:z,style:E,weight:re,stretch:ce,src:y.src||[],ref:y.ref||{name:z,style:[ce,E,re].join(" ")}}}function lf(y,z,E,re){var ce;for(ce=E;ce>=0&&ce=0&&ce>>1)&255}return ce}function U0(y,z,E){var re=y.length,ce=[];ce[0]=4;for(var he=0;he>he&Ze}function R0(y,z,E,re){var ce=E*re,he=Math.floor(ce/8),Ze=16-(ce-8*he+re),Ue=(1<>8&255;$e.setUint8(gt,qt)}})(y,he,_0(y,he)&~(Ue<>7,Ze=1<<1+(7&ce);y[z++],y[z++];var Ue=null,Xe=null;he&&(Ue=z,Xe=Ze,z+=3*Ze);var $e=!0,gt=[],Ut=0,qt=null,ft=0,Dn=null;for(this.width=E,this.height=re;$e&&z=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}break;case 249:if(y[z++]!==4||y[z+4]!==0)throw new Error("Invalid graphics extension block.");var Bn=y[z++];Ut=y[z++]|y[z++]<<8,qt=y[z++],1&Bn||(qt=null),ft=Bn>>2&7,z++;break;case 254:for(;;){if(!((cn=y[z++])>=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}break;default:throw new Error("Unknown graphic control label: 0x"+y[z-1].toString(16))}break;case 44:var Tn=y[z++]|y[z++]<<8,fn=y[z++]|y[z++]<<8,hr=y[z++]|y[z++]<<8,ir=y[z++]|y[z++]<<8,Wn=y[z++],oi=Wn>>6&1,Ui=1<<1+(7&Wn),Ei=Ue,Fr=Xe,Gn=!1;Wn>>7&&(Gn=!0,Ei=z,Fr=Ui,z+=3*Ui);var Vr=z;for(z++;;){var cn;if(!((cn=y[z++])>=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}gt.push({x:Tn,y:fn,width:hr,height:ir,has_local_palette:Gn,palette_offset:Ei,palette_size:Fr,data_offset:Vr,data_length:z-Vr,transparent_index:qt,interlaced:!!oi,delay:Ut,disposal:ft});break;case 59:$e=!1;break;default:throw new Error("Unknown gif block: 0x"+y[z-1].toString(16))}this.numFrames=function(){return gt.length},this.loopCount=function(){return Dn},this.frameInfo=function(kn){if(kn<0||kn>=gt.length)throw new Error("Frame index out of range.");return gt[kn]},this.decodeAndBlitFrameBGRA=function(kn,fr){var sr=this.frameInfo(kn),fi=sr.width*sr.height,wi=new Uint8Array(fi);Q0(y,sr.data_offset,wi,fi);var Fi=sr.palette_offset,ei=sr.transparent_index;ei===null&&(ei=256);var Ni=sr.width,ko=E-Ni,io=Ni,on=4*(sr.y*E+sr.x),Kn=4*((sr.y+sr.height)*E+sr.x),qn=on,vr=4*ko;sr.interlaced===!0&&(vr+=4*E*7);for(var kr=8,Jr=0,Si=wi.length;Jr=Kn&&(vr=4*ko+4*E*(kr-1),qn=on+(Ni+ko)*(kr<<1),kr>>=1)),Li===ei)qn+=4;else{var Yi=y[Fi+3*Li],Eo=y[Fi+3*Li+1],ua=y[Fi+3*Li+2];fr[qn++]=ua,fr[qn++]=Eo,fr[qn++]=Yi,fr[qn++]=255}--io}},this.decodeAndBlitFrameRGBA=function(kn,fr){var sr=this.frameInfo(kn),fi=sr.width*sr.height,wi=new Uint8Array(fi);Q0(y,sr.data_offset,wi,fi);var Fi=sr.palette_offset,ei=sr.transparent_index;ei===null&&(ei=256);var Ni=sr.width,ko=E-Ni,io=Ni,on=4*(sr.y*E+sr.x),Kn=4*((sr.y+sr.height)*E+sr.x),qn=on,vr=4*ko;sr.interlaced===!0&&(vr+=4*E*7);for(var kr=8,Jr=0,Si=wi.length;Jr=Kn&&(vr=4*ko+4*E*(kr-1),qn=on+(Ni+ko)*(kr<<1),kr>>=1)),Li===ei)qn+=4;else{var Yi=y[Fi+3*Li],Eo=y[Fi+3*Li+1],ua=y[Fi+3*Li+2];fr[qn++]=Yi,fr[qn++]=Eo,fr[qn++]=ua,fr[qn++]=255}--io}}}function Q0(y,z,E,re){for(var ce=y[z++],he=1<>=Xe,gt-=Xe,Tn!==he){if(Tn===Ze)break;for(var fn=Tnhe;)ir=Dn[ir]>>8,++hr;var Wn=ir;if(qt+hr+(fn!==Tn?1:0)>re)return void dl.log("Warning, gif stream longer than expected.");E[qt++]=Wn;var oi=qt+=hr;for(fn!==Tn&&(E[qt++]=Wn),ir=fn;hr--;)ir=Dn[ir],E[--oi]=255&ir,ir>>=8;Bn!==null&&Ue<4096&&(Dn[Ue++]=Bn<<8|Wn,Ue>=$e+1&&Xe<12&&(++Xe,$e=$e<<1|1)),Bn=Tn}else Ue=Ze+1,$e=(1<<(Xe=ce+1))-1,Bn=null}return qt!==re&&dl.log("Warning, gif stream shorter than expected."),E}function Vm(y){var z,E,re,ce,he,Ze=Math.floor,Ue=new Array(64),Xe=new Array(64),$e=new Array(64),gt=new Array(64),Ut=new Array(65535),qt=new Array(65535),ft=new Array(64),Dn=new Array(64),Bn=[],Tn=0,fn=7,hr=new Array(64),ir=new Array(64),Wn=new Array(64),oi=new Array(256),Ui=new Array(2048),Ei=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Fr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gn=[0,1,2,3,4,5,6,7,8,9,10,11],Vr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],cn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],kn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],fr=[0,1,2,3,4,5,6,7,8,9,10,11],sr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],fi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function wi(on,Kn){for(var qn=0,vr=0,kr=new Array,Jr=1;Jr<=16;Jr++){for(var Si=1;Si<=on[Jr];Si++)kr[Kn[vr]]=[],kr[Kn[vr]][0]=qn,kr[Kn[vr]][1]=Jr,vr++,qn++;qn*=2}return kr}function Fi(on){for(var Kn=on[0],qn=on[1]-1;qn>=0;)Kn&1<>8&255),ei(255&on)}function ko(on,Kn,qn,vr,kr){for(var Jr,Si=kr[0],Li=kr[240],Yi=function(mo,As){var Sa,ss,ts,Jl,pl,Rs,bl,gl,_a,js,Ka=0;for(_a=0;_a<8;++_a){Sa=mo[Ka],ss=mo[Ka+1],ts=mo[Ka+2],Jl=mo[Ka+3],pl=mo[Ka+4],Rs=mo[Ka+5],bl=mo[Ka+6];var Ec=Sa+(gl=mo[Ka+7]),Il=Sa-gl,qs=ss+bl,el=ss-bl,Wu=ts+Rs,is=ts-Rs,Su=Jl+pl,ms=Jl-pl,_s=Ec+Su,Vu=Ec-Su,rl=qs+Wu,fs=qs-Wu;mo[Ka]=_s+rl,mo[Ka+4]=_s-rl;var ql=.707106781*(fs+Vu);mo[Ka+2]=Vu+ql,mo[Ka+6]=Vu-ql;var Sp=.382683433*((_s=ms+is)-(fs=el+Il)),NA=.5411961*_s+Sp,gh=1.306562965*fs+Sp,zf=.707106781*(rl=is+el),hs=Il+zf,mh=Il-zf;mo[Ka+5]=mh+NA,mo[Ka+3]=mh-NA,mo[Ka+1]=hs+gh,mo[Ka+7]=hs-gh,Ka+=8}for(Ka=0,_a=0;_a<8;++_a){Sa=mo[Ka],ss=mo[Ka+8],ts=mo[Ka+16],Jl=mo[Ka+24],pl=mo[Ka+32],Rs=mo[Ka+40],bl=mo[Ka+48];var vh=Sa+(gl=mo[Ka+56]),Qd=Sa-gl,jd=ss+bl,pc=ss-bl,rA=ts+Rs,uA=ts-Rs,Fp=Jl+pl,Vh=Jl-pl,df=vh+Fp,Kf=vh-Fp,ff=jd+rA,hf=jd-rA;mo[Ka]=df+ff,mo[Ka+32]=df-ff;var Hd=.707106781*(hf+Kf);mo[Ka+16]=Kf+Hd,mo[Ka+48]=Kf-Hd;var Ip=.382683433*((df=Vh+uA)-(hf=pc+Qd)),Zf=.5411961*df+Ip,Lp=1.306562965*hf+Ip,rg=.707106781*(ff=uA+pc),ig=Qd+rg,og=Qd-rg;mo[Ka+40]=og+Zf,mo[Ka+24]=og-Zf,mo[Ka+8]=ig+Lp,mo[Ka+56]=ig-Lp,Ka++}for(_a=0;_a<64;++_a)js=mo[_a]*As[_a],ft[_a]=js>0?js+.5|0:js-.5|0;return ft}(on,Kn),Eo=0;Eo<64;++Eo)Dn[Ei[Eo]]=Yi[Eo];var ua=Dn[0]-qn;qn=Dn[0],ua==0?Fi(vr[0]):(Fi(vr[qt[Jr=32767+ua]]),Fi(Ut[Jr]));for(var sa=63;sa>0&&Dn[sa]==0;)sa--;if(sa==0)return Fi(Si),qn;for(var qa,Mn=1;Mn<=sa;){for(var ca=Mn;Dn[Mn]==0&&Mn<=sa;)++Mn;var $s=Mn-ca;if($s>=16){qa=$s>>4;for(var cs=1;cs<=qa;++cs)Fi(Li);$s&=15}Jr=32767+Dn[Mn],Fi(kr[($s<<4)+qt[Jr]]),Fi(Ut[Jr]),Mn++}return sa!=63&&Fi(Si),qn}function io(on){on=Math.min(Math.max(on,1),100),he!=on&&(function(Kn){for(var qn=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],vr=0;vr<64;vr++){var kr=Ze((qn[vr]*Kn+50)/100);kr=Math.min(Math.max(kr,1),255),Ue[Ei[vr]]=kr}for(var Jr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Si=0;Si<64;Si++){var Li=Ze((Jr[Si]*Kn+50)/100);Li=Math.min(Math.max(Li,1),255),Xe[Ei[Si]]=Li}for(var Yi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Eo=0,ua=0;ua<8;ua++)for(var sa=0;sa<8;sa++)$e[Eo]=1/(Ue[Ei[Eo]]*Yi[ua]*Yi[sa]*8),gt[Eo]=1/(Xe[Ei[Eo]]*Yi[ua]*Yi[sa]*8),Eo++}(on<50?Math.floor(5e3/on):Math.floor(200-2*on)),he=on)}this.encode=function(on,Kn){Kn&&io(Kn),Bn=new Array,Tn=0,fn=7,Ni(65496),Ni(65504),Ni(16),ei(74),ei(70),ei(73),ei(70),ei(0),ei(1),ei(1),ei(0),Ni(1),Ni(1),ei(0),ei(0),function(){Ni(65499),Ni(132),ei(0);for(var ss=0;ss<64;ss++)ei(Ue[ss]);ei(1);for(var ts=0;ts<64;ts++)ei(Xe[ts])}(),function(ss,ts){Ni(65472),Ni(17),ei(8),Ni(ts),Ni(ss),ei(3),ei(1),ei(17),ei(0),ei(2),ei(17),ei(1),ei(3),ei(17),ei(1)}(on.width,on.height),function(){Ni(65476),Ni(418),ei(0);for(var ss=0;ss<16;ss++)ei(Fr[ss+1]);for(var ts=0;ts<=11;ts++)ei(Gn[ts]);ei(16);for(var Jl=0;Jl<16;Jl++)ei(Vr[Jl+1]);for(var pl=0;pl<=161;pl++)ei(cn[pl]);ei(1);for(var Rs=0;Rs<16;Rs++)ei(kn[Rs+1]);for(var bl=0;bl<=11;bl++)ei(fr[bl]);ei(17);for(var gl=0;gl<16;gl++)ei(sr[gl+1]);for(var _a=0;_a<=161;_a++)ei(fi[_a])}(),Ni(65498),Ni(12),ei(3),ei(1),ei(0),ei(2),ei(17),ei(3),ei(17),ei(0),ei(63),ei(0);var qn=0,vr=0,kr=0;Tn=0,fn=7,this.encode.displayName="_encode_";for(var Jr,Si,Li,Yi,Eo,ua,sa,qa,Mn,ca=on.data,$s=on.width,cs=on.height,mo=4*$s,As=0;As>3)*mo+(sa=4*(7&Mn)),As+qa>=cs&&(ua-=mo*(As+1+qa-cs)),Jr+sa>=mo&&(ua-=Jr+sa-mo+4),Si=ca[ua++],Li=ca[ua++],Yi=ca[ua++],hr[Mn]=(Ui[Si]+Ui[Li+256|0]+Ui[Yi+512|0]>>16)-128,ir[Mn]=(Ui[Si+768|0]+Ui[Li+1024|0]+Ui[Yi+1280|0]>>16)-128,Wn[Mn]=(Ui[Si+1280|0]+Ui[Li+1536|0]+Ui[Yi+1792|0]>>16)-128;qn=ko(hr,$e,qn,z,re),vr=ko(ir,gt,vr,E,ce),kr=ko(Wn,gt,kr,E,ce),Jr+=32}As+=8}if(fn>=0){var Sa=[];Sa[1]=fn+1,Sa[0]=(1<kn;kn++)if(Gn[Vr+kn]!=cn.charCodeAt(kn))return!0;return!1}function re(Gn,Vr,cn,kn,fr){for(var sr=0;srsr+1?[]:new Vr),!(fi.length>>0;pe⁢)it>>>=1;return it?(pe&it-1)+it:pe}function cn(pe,De,it,Et,zt){z(!(Et%it));do pe[De+(Et-=it)]=zt;while(0=zt),512>=zt)var en=he(512);else if((en=he(zt))==null)return 0;return function(rn,gn,xn,Rn,xr,ri){var _n,Tr,Gr=gn,Mi=1<_n;++_n){if(qr[_n]>1<<_n)return 0;ji[_n+1]=ji[_n]+qr[_n]}for(Tr=0;Tr(Ws-=qr[_n]))return 0;for(;0=_n;++_n,xr<<=1){if(Ba+=Ws<<=1,0>(Ws-=qr[_n]))return 0;for(;0wo&&!(0>=(Vi-=qr[wo]));)++wo,Vi<<=1;Mi+=Oa=1<<(Vi=wo-xn),rn[gn+(wo=za&lo)].g=Vi+xn,rn[gn+wo].value=Gr-gn-wo}Rn.g=_n-xn,Rn.value=ri[Tr++],cn(rn,Gr+(za>>xn),xr,Oa,Rn),za=Vr(za,_n)}}return Ba!=2*ji[15]-1?0:Mi}(pe,De,it,Et,zt,en)}function fr(){this.value=this.g=0}function sr(){this.value=this.g=0}function fi(){this.G=Ze(5,fr),this.H=he(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ze(Qp,sr)}function wi(pe,De,it,Et){z(pe!=null),z(De!=null),z(2147483648>Et),pe.Ca=254,pe.I=0,pe.b=-8,pe.Ka=0,pe.oa=De,pe.pa=it,pe.Jd=De,pe.Yc=it+Et,pe.Zc=4<=Et?it+Et-4+1:it,Si(pe)}function Fi(pe,De){for(var it=0;0Et),pe.Sb=Et,pe.Ra=0,pe.u=0,pe.h=0,4>>=8,pe.Ra+=pe.oa[pe.pa+pe.bb]<<$h-8>>>0,++pe.bb,pe.u-=8;vr(pe)&&(pe.h=1,pe.u=0)}function io(pe,De){if(z(0<=De),!pe.h&&De<=vd){var it=qn(pe)&md[De];return pe.u+=De,ko(pe),it}return pe.h=1,pe.u=0}function on(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Kn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function qn(pe){return pe.Ra>>>(pe.u&$h-1)>>>0}function vr(pe){return z(pe.bb<=pe.Sb),pe.h||pe.bb==pe.Sb&&pe.u>$h}function kr(pe,De){pe.u=De,pe.h=vr(pe)}function Jr(pe){pe.u>=Lh&&(z(pe.u>=Lh),ko(pe))}function Si(pe){z(pe!=null&&pe.oa!=null),pe.pa>>0,pe.b+=8):(z(pe!=null&&pe.oa!=null),pe.pape.b&&Si(pe);var Et=pe.b,zt=it*De>>>8,en=(pe.I>>>Et>zt)+0;for(en?(it-=zt,pe.I-=zt+1<>>0):it=zt+1,Et=it,zt=0;256<=Et;)zt+=8,Et>>=8;return Et=7^zt+Jh[Et],pe.b-=Et,pe.Ca=(it<>24&255,pe[De+1]=it>>16&255,pe[De+2]=it>>8&255,pe[De+3]=255&it}function ua(pe,De){return pe[De+0]|pe[De+1]<<8}function sa(pe,De){return ua(pe,De)|pe[De+2]<<16}function qa(pe,De){return ua(pe,De)|ua(pe,De+2)<<16}function Mn(pe,De){var it=1<=zt||0>=en?0:(it[0]=zt,Et[0]=en,1)}function mo(pe,De){return pe+(1<>>De}function As(pe,De){return((4278255360&pe)+(4278255360&De)>>>0&4278255360)+((16711935&pe)+(16711935&De)>>>0&16711935)>>>0}function Sa(pe,De){Gn[De]=function(it,Et,zt,en,rn,gn,xn){var Rn;for(Rn=0;Rn>>1)+(pe&De)>>>0}function Jl(pe){return 0<=pe&&256>pe?pe:0>pe?0:255>1))}function Rs(pe,De,it){return Math.abs(De-it)-Math.abs(pe-it)}function bl(pe,De,it,Et,zt,en,rn){for(Et=en[rn-1],it=0;it>8&255,xn=16711935&(xn=(xn=16711935&rn)+((gn<<16)+gn));Et[zt+en]=(4278255360&rn)+xn>>>0}}function _a(pe,De){De.jd=255&pe,De.hd=pe>>8&255,De.ud=pe>>16&255}function js(pe,De,it,Et,zt,en){var rn;for(rn=0;rn>>8,Rn=gn,xr=255&(xr=(xr=gn>>>16)+((pe.jd<<24>>24)*(xn<<24>>24)>>>5));Rn=255&(Rn=(Rn+=(pe.hd<<24>>24)*(xn<<24>>24)>>>5)+((pe.ud<<24>>24)*(xr<<24>>24)>>>5)),zt[en+rn]=(4278255360&gn)+(xr<<16)+Rn}}function Ka(pe,De,it,Et,zt){Gn[De]=function(en,rn,gn,xn,Rn,xr,ri,_n,Tr){for(xn=ri;xn<_n;++xn)for(ri=0;ri>en.b,Tr=en.Ea,Gr=en.K[0],Mi=en.w;if(8>_n)for(en=(1<>=_n}else Gn["VP8LMapColor"+it](xn,Rn,Gr,Mi,xr,ri,rn,gn,Tr)}}function Ec(pe,De,it,Et,zt){for(it=De+it;De>16&255,Et[zt++]=en>>8&255,Et[zt++]=255&en}}function Il(pe,De,it,Et,zt){for(it=De+it;De>16&255,Et[zt++]=en>>8&255,Et[zt++]=255&en,Et[zt++]=en>>24&255}}function qs(pe,De,it,Et,zt){for(it=De+it;De>16&240|rn>>12&15,rn=240&rn|rn>>28&15;Et[zt++]=en,Et[zt++]=rn}}function el(pe,De,it,Et,zt){for(it=De+it;De>16&248|rn>>13&7,rn=rn>>5&224|rn>>3&31;Et[zt++]=en,Et[zt++]=rn}}function Wu(pe,De,it,Et,zt){for(it=De+it;De>8&255,Et[zt++]=en>>16&255}}function is(pe,De,it,Et,zt,en){if(en==0)for(it=De+it;De>24|en[1]>>8&65280|en[2]<<8&16711680|en[3]<<24)>>>0),zt+=32;else re(Et,zt,pe,De,it)}function Su(pe,De){Gn[De][0]=Gn[pe+"0"],Gn[De][1]=Gn[pe+"1"],Gn[De][2]=Gn[pe+"2"],Gn[De][3]=Gn[pe+"3"],Gn[De][4]=Gn[pe+"4"],Gn[De][5]=Gn[pe+"5"],Gn[De][6]=Gn[pe+"6"],Gn[De][7]=Gn[pe+"7"],Gn[De][8]=Gn[pe+"8"],Gn[De][9]=Gn[pe+"9"],Gn[De][10]=Gn[pe+"10"],Gn[De][11]=Gn[pe+"11"],Gn[De][12]=Gn[pe+"12"],Gn[De][13]=Gn[pe+"13"],Gn[De][14]=Gn[pe+"0"],Gn[De][15]=Gn[pe+"0"]}function ms(pe){return pe==d0||pe==f0||pe==Lm||pe==h0}function _s(){this.eb=[],this.size=this.A=this.fb=0}function Vu(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function rl(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new _s,this.f.kb=new Vu,this.sd=null}function fs(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ql(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Sp(pe){return alert("todo:WebPSamplerProcessPlane"),pe.T}function NA(pe,De){var it=pe.T,Et=De.ba.f.RGBA,zt=Et.eb,en=Et.fb+pe.ka*Et.A,rn=Gd[De.ba.S],gn=pe.y,xn=pe.O,Rn=pe.f,xr=pe.N,ri=pe.ea,_n=pe.W,Tr=De.cc,Gr=De.dc,Mi=De.Mc,qr=De.Nc,ji=pe.ka,Vi=pe.ka+pe.T,wo=pe.U,lo=wo+1>>1;for(ji==0?rn(gn,xn,null,null,Rn,xr,ri,_n,Rn,xr,ri,_n,zt,en,null,null,wo):(rn(De.ec,De.fc,gn,xn,Tr,Gr,Mi,qr,Rn,xr,ri,_n,zt,en-Et.A,zt,en,wo),++it);ji+2it,zt=it==Sm||it==Fm||it==Im||it==A0||it==12||ms(it);if(De.memory=null,De.Ib=null,De.Jb=null,De.Nd=null,!Rg(De.Oa,pe,zt?11:12))return 0;if(zt&&ms(it)&&kg(),pe.da)alert("todo:use_scaling");else{if(Et){if(De.Ib=Sp,pe.Kb){if(it=pe.U+1>>1,De.memory=he(pe.U+2*it),De.memory==null)return 0;De.ec=De.memory,De.fc=0,De.cc=De.ec,De.dc=De.fc+pe.U,De.Mc=De.cc,De.Nc=De.dc+it,De.Ib=NA,kg()}}else alert("todo:EmitYUV");zt&&(De.Jb=gh,Et&&gf())}if(Et&&!pv){for(pe=0;256>pe;++pe)g1[pe]=89858*(pe-128)+Nm>>Dm,y1[pe]=-22014*(pe-128)+Nm,v1[pe]=-45773*(pe-128),m1[pe]=113618*(pe-128)+Nm>>Dm;for(pe=Gg;pe>Dm,w1[pe-Gg]=Wf(De,255),b1[pe-Gg]=Wf(De+8>>4,15);pv=1}return 1}function hs(pe){var De=pe.ma,it=pe.U,Et=pe.T;return z(!(1&pe.ka)),0>=it||0>=Et?0:(it=De.Ib(pe,De),De.Jb!=null&&De.Jb(pe,De,it),De.Dc+=it,1)}function mh(pe){pe.ma.memory=null}function vh(pe,De,it,Et){return io(pe,8)!=47?0:(De[0]=io(pe,14)+1,it[0]=io(pe,14)+1,Et[0]=io(pe,1),io(pe,3)!=0?0:!pe.h)}function Qd(pe,De){if(4>pe)return pe+1;var it=pe-2>>1;return(2+(1&pe)<>4)*pe+(8-(15&it)))?it:1;var it}function pc(pe,De,it){var Et=qn(it),zt=pe[De+=255&Et].g-8;return 0>>0,z(8>=it.g),pe.g}function uA(pe,De,it){var Et=pe.xc;return z((De=Et==0?0:pe.vc[pe.md*(it>>Et)+(De>>Et)])>Oa.b)*Ba;Miwo&&(Pa=wo),(0,Hg[Cl[Kc++]>>8&15])(_n,Tr+ +Vs,ji,Vi+Vs-wo,Pa-Vs,ji,Vi+Vs),Vs=Pa}Tr+=wo,Vi+=wo,++Mi&za||(Oa+=Ba)}ri!=Rn.nc&&re(xn,gn-Gr,xn,gn+(ri-xr-1)*Gr,Gr);break;case 1:for(Gr=_n,qr=Tr,wo=(_n=Rn.Ea)-(Vi=_n&~(ji=(Tr=1<>Rn.b)*Mi;xr=zt),0en.o&&(Et=en.o),it=Et?it=0:(zt[0]+=4*en.v,en.ka=it-en.j,en.U=en.va-en.v,en.T=Et-it,it=1),it){if(gn=gn[0],11>(it=pe.ca).S){var xr=it.f.RGBA,ri=(Et=it.S,zt=en.U,en=en.T,Rn=xr.eb,xr.A),_n=en;for(xr=xr.fb+pe.Ma*xr.A;0<_n--;){var Tr=rn,Gr=gn,Mi=zt,qr=Rn,ji=xr;switch(Et){case Em:Kg(Tr,Gr,Mi,qr,ji);break;case Sm:qh(Tr,Gr,Mi,qr,ji);break;case d0:qh(Tr,Gr,Mi,qr,ji),Wg(qr,ji,0,Mi,1,0);break;case ov:jp(Tr,Gr,Mi,qr,ji);break;case Fm:is(Tr,Gr,Mi,qr,ji,1);break;case f0:is(Tr,Gr,Mi,qr,ji,1),Wg(qr,ji,0,Mi,1,0);break;case Im:is(Tr,Gr,Mi,qr,ji,0);break;case Lm:is(Tr,Gr,Mi,qr,ji,0),Wg(qr,ji,1,Mi,1,0);break;case A0:ep(Tr,Gr,Mi,qr,ji);break;case h0:ep(Tr,Gr,Mi,qr,ji),$0(qr,ji,Mi,1,0);break;case av:tp(Tr,Gr,Mi,qr,ji);break;default:z(0)}gn+=xn,xr+=ri}pe.Ma+=en}else alert("todo:EmitRescaledRowsYUVA");z(pe.Ma<=it.height)}}pe.C=De,z(pe.C<=pe.i)}function df(pe){var De;if(0Et){var zt=pe.l.width,en=it.ca,rn=it.tb+zt*Et,gn=pe.V,xn=pe.Ba+pe.c*Et,Rn=pe.gc;z(pe.ab==1),z(Rn[0].hc==3),Yf(Rn[0],Et,De,gn,xn,en,rn),Kf(it,Et,De,en,rn,zt)}pe.C=pe.Ma=De}function hf(pe,De,it,Et,zt,en,rn){var gn=pe.$/Et,xn=pe.$%Et,Rn=pe.m,xr=pe.s,ri=it+pe.$,_n=ri;zt=it+Et*zt;var Tr=it+Et*en,Gr=280+xr.ua,Mi=pe.Pb?gn:16777216,qr=0=Mi){var za=ri-it;z((Mi=pe).Pb),Mi.wd=Mi.m,Mi.xd=za,0Ws.g?(kr(lo,lo.u+Ws.g),za[Ba]=Ws.value,lo=0):(kr(lo,lo.u+Ws.g-256),z(256<=Ws.value),lo=Ws.value),lo==0&&(wo=!0)}else lo=pc(Vi.G[0],Vi.H[0],Rn);if(Rn.h)break;if(wo||256>lo){if(!wo)if(Vi.nd)De[ri]=(Vi.qb|lo<<8)>>>0;else{if(Jr(Rn),wo=pc(Vi.G[1],Vi.H[1],Rn),Jr(Rn),za=pc(Vi.G[2],Vi.H[2],Rn),Ba=pc(Vi.G[3],Vi.H[3],Rn),Rn.h)break;De[ri]=(Ba<<24|wo<<16|lo<<8|za)>>>0}if(wo=!1,++ri,++xn>=Et&&(xn=0,++gn,rn!=null&&gn<=en&&!(gn%16)&&rn(pe,gn),qr!=null))for(;_n>>qr.Mb]=lo}else if(280>lo){if(lo=Qd(lo-256,Rn),za=pc(Vi.G[4],Vi.H[4],Rn),Jr(Rn),za=jd(Et,za=Qd(za,Rn)),Rn.h)break;if(ri-it=Et;)xn-=Et,++gn,rn!=null&&gn<=en&&!(gn%16)&&rn(pe,gn);if(z(ri<=zt),xn&ji&&(Vi=uA(xr,xn,gn)),qr!=null)for(;_n>>qr.Mb]=lo}else{if(!(lo>>qr.Mb]=lo;lo=ri,z(!(wo>>>(za=qr).Xa)),De[lo]=za.X[wo],wo=!0}wo||z(Rn.h==vr(Rn))}if(pe.Pb&&Rn.h&&rien?en:gn),pe.a=0,pe.$=ri-it}return 1}return pe.a=3,0}function Hd(pe){z(pe!=null),pe.vc=null,pe.yc=null,pe.Ya=null;var De=pe.Wa;De!=null&&(De.X=null),pe.vb=null,z(pe!=null)}function Ip(){var pe=new Ss;return pe==null?null:(pe.a=0,pe.xb=uv,Su("Predictor","VP8LPredictors"),Su("Predictor","VP8LPredictors_C"),Su("PredictorAdd","VP8LPredictorsAdd"),Su("PredictorAdd","VP8LPredictorsAdd_C"),Sc=gl,zg=js,Kg=Ec,qh=Il,ep=qs,tp=el,jp=Wu,Gn.VP8LMapColor32b=Xf,Gn.VP8LMapColor8b=jg,pe)}function Zf(pe,De,it,Et,zt){var en=1,rn=[pe],gn=[De],xn=Et.m,Rn=Et.s,xr=null,ri=0;e:for(;;){if(it)for(;en&&io(xn,1);){var _n=rn,Tr=gn,Gr=Et,Mi=1,qr=Gr.m,ji=Gr.gc[Gr.ab],Vi=io(qr,2);if(Gr.Oc&1<=Gr.ab),Vi){case 0:case 1:ji.b=io(qr,3)+2,Mi=Zf(mo(ji.Ea,ji.b),mo(ji.nc,ji.b),0,Gr,ji.K),ji.K=ji.K[0];break;case 3:var wo,lo=io(qr,8)+1,za=16>Oa.b),Kc=he(Cl);if(Kc==null)wo=0;else{var Vs=Oa.K[0],Pa=Oa.w;for(Kc[0]=Oa.K[0][0],Ba=1;Ba<1*Ws;++Ba)Kc[Ba]=As(Vs[Pa+Ba],Kc[Ba-1]);for(;Ba<4*Cl;++Ba)Kc[Ba]=0;Oa.K[0]=null,Oa.K[0]=Kc,wo=1}}Mi=wo;break;case 2:break;default:z(0)}en=Mi}}if(rn=rn[0],gn=gn[0],en&&io(xn,1)&&!(en=1<=(ri=io(xn,4))&&11>=ri)){Et.a=3;break e}var Jo;if(Jo=en)t:{var Ic,Qs,Fl,Ru=Et,dA=rn,HA=gn,gc=ri,OA=it,zA=Ru.m,Zc=Ru.s,Dl=[null],ou=1,mc=0,au=r1[gc];n:for(;;){if(OA&&io(zA,1)){var fA=io(zA,3)+2,vf=mo(dA,fA),Lc=mo(HA,fA),qA=vf*Lc;if(!Zf(vf,Lc,0,Ru,Dl))break n;for(Dl=Dl[0],Zc.xc=fA,Ic=0;Ic>8&65535;Dl[Ic]=yu,yu>=ou&&(ou=yu+1)}}if(zA.h)break n;for(Qs=0;5>Qs;++Qs){var Wc=sv[Qs];!Qs&&0=KA),Cd=bd;var ed=he(mc);if(Cd==null||ed==null||wd==null){Ru.a=1;break n}var xd=wd;for(Ic=Fl=0;IcQs;++Qs){Wc=sv[Qs],Bd[Qs]=xd,yf[Qs]=Fl,!Qs&&0Um)break r}else w0=Um;for(Yg=0;Ygpg)Cv[Yg++]=pg,pg!=0&&(xv=pg);else{var N1=pg==16,Sv=pg-16,O1=qv[Sv],Fv=io(ap,Jv[Sv])+O1;if(Yg+Fv>Um)break r;for(var P1=N1?xv:0;0=Qs){var $g,C0=ed[0];for($g=1;$gC0&&(C0=ed[$g]);hA+=C0}}if(Iu.nd=Oh,Iu.Qb=0,Oh&&(Iu.qb=(Bd[3][yf[3]+0].value<<24|Bd[1][yf[1]+0].value<<16|Bd[2][yf[2]+0].value)>>>0,zp==0&&256>Bd[0][yf[0]+0].value&&(Iu.Qb=1,Iu.qb+=Bd[0][yf[0]+0].value<<8)),Iu.jc=!Iu.Qb&&6>hA,Iu.jc){var Rm,Ph=Iu;for(Rm=0;Rm>=rA(_m,8,lp),sp>>=rA(Ph.G[1][Ph.H[1]+sp],16,lp),sp>>=rA(Ph.G[2][Ph.H[2]+sp],0,lp),rA(Ph.G[3][Ph.H[3]+sp],24,lp))}}}Zc.vc=Dl,Zc.Wb=ou,Zc.Ya=Cd,Zc.yc=wd,Jo=1;break t}Jo=0}if(!(en=Jo)){Et.a=3;break e}if(0Et+1?[]:0),!(zt.lengthpe?0:pe>De?De:pe}function ag(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xm(){var pe=new um;return pe!=null&&(pe.a=0,pe.sc="OK",pe.cb=0,pe.Xb=0,Vg||(Vg=sg)),pe}function Oc(pe,De,it){return pe.a==0&&(pe.a=De,pe.sc=it,pe.cb=0),0}function cm(pe,De,it){return 3<=it&&pe[De+0]==157&&pe[De+1]==1&&pe[De+2]==42}function Vf(pe,De){if(pe==null)return 0;if(pe.a=0,pe.sc="OK",De==null)return Oc(pe,2,"null VP8Io passed to VP8GetHeaders()");var it=De.data,Et=De.w,zt=De.ha;if(4>zt)return Oc(pe,7,"Truncated header.");var en=it[Et+0]|it[Et+1]<<8|it[Et+2]<<16,rn=pe.Od;if(rn.Rb=!(1&en),rn.td=en>>1&7,rn.yd=en>>4&1,rn.ub=en>>5,3zt)return Oc(pe,7,"cannot parse picture header");if(!cm(it,Et,zt))return Oc(pe,3,"Bad code word");gn.c=16383&(it[Et+4]<<8|it[Et+3]),gn.Td=it[Et+4]>>6,gn.i=16383&(it[Et+6]<<8|it[Et+5]),gn.Ud=it[Et+6]>>6,Et+=7,zt-=7,pe.za=gn.c+15>>4,pe.Ub=gn.i+15>>4,De.width=gn.c,De.height=gn.i,De.Da=0,De.j=0,De.v=0,De.va=De.width,De.o=De.height,De.da=0,De.ib=De.width,De.hb=De.height,De.U=De.width,De.T=De.height,ce((en=pe.Pa).jb,0,255,en.jb.length),z((en=pe.Qa)!=null),en.Cb=0,en.Bb=0,en.Fb=1,ce(en.Zb,0,0,en.Zb.length),ce(en.Lb,0,0,en.Lb)}if(rn.ub>zt)return Oc(pe,7,"bad partition length");wi(en=pe.m,it,Et,rn.ub),Et+=rn.ub,zt-=rn.ub,rn.Rb&&(gn.Ld=Li(en),gn.Kd=Li(en)),gn=pe.Qa;var xn,Rn=pe.Pa;if(z(en!=null),z(gn!=null),gn.Cb=Li(en),gn.Cb){if(gn.Bb=Li(en),Li(en)){for(gn.Fb=Li(en),xn=0;4>xn;++xn)gn.Zb[xn]=Li(en)?ei(en,7):0;for(xn=0;4>xn;++xn)gn.Lb[xn]=Li(en)?ei(en,6):0}if(gn.Bb)for(xn=0;3>xn;++xn)Rn.jb[xn]=Li(en)?Fi(en,8):255}else gn.Bb=0;if(en.Ka)return Oc(pe,3,"cannot parse segment header");if((gn=pe.ed).zd=Li(en),gn.Tb=Fi(en,6),gn.wb=Fi(en,3),gn.Pc=Li(en),gn.Pc&&Li(en)){for(Rn=0;4>Rn;++Rn)Li(en)&&(gn.vd[Rn]=ei(en,6));for(Rn=0;4>Rn;++Rn)Li(en)&&(gn.od[Rn]=ei(en,6))}if(pe.L=gn.Tb==0?0:gn.zd?1:2,en.Ka)return Oc(pe,3,"cannot parse filter header");var xr=zt;if(zt=xn=Et,Et=xn+xr,gn=xr,pe.Xb=(1<gn&&(ri=gn),wi(pe.Jc[+xr],it,xn,ri),xn+=ri,gn-=ri,zt+=3}wi(pe.Jc[+Rn],it,xn,gn),it=xnri;++ri){if(xr.Cb){var _n=xr.Zb[ri];xr.Fb||(_n+=it)}else{if(0>16,8>Tr.Eb[1]&&(Tr.Eb[1]=8),Tr.Qc[0]=p0[Wf(_n+Rn,117)],Tr.Qc[1]=g0[Wf(_n+xn,127)],Tr.lc=_n+xn}if(!rn.Rb)return Oc(pe,4,"Not a key frame.");for(Li(en),rn=pe.Pa,it=0;4>it;++it){for(zt=0;8>zt;++zt)for(Et=0;3>Et;++Et)for(gn=0;11>gn;++gn)Rn=Yi(en,u1[it][zt][Et][gn])?Fi(en,8):s1[it][zt][Et][gn],rn.Wc[it][zt].Yb[Et][gn]=Rn;for(zt=0;17>zt;++zt)rn.Xc[it][zt]=rn.Wc[it][c1[zt]]}return pe.kc=Li(en),pe.kc&&(pe.Bd=Fi(en,8)),pe.cb=1}function sg(pe,De,it,Et,zt,en,rn){var gn=De[zt].Yb[it];for(it=0;16>zt;++zt){if(!Yi(pe,gn[it+0]))return zt;for(;!Yi(pe,gn[it+1]);)if(gn=De[++zt].Yb[0],it=0,zt==16)return 16;var xn=De[zt+1].Yb;if(Yi(pe,gn[it+2])){var Rn=pe,xr=0;if(Yi(Rn,(_n=gn)[(ri=it)+3]))if(Yi(Rn,_n[ri+6])){for(gn=0,ri=2*(xr=Yi(Rn,_n[ri+8]))+(_n=Yi(Rn,_n[ri+9+xr])),xr=0,_n=o1[ri];_n[gn];++gn)xr+=xr+Yi(Rn,_n[gn]);xr+=3+(8<(Rn=pe).b&&Si(Rn);var ri,_n=Rn.b,Tr=(ri=Rn.Ca>>1)-(Rn.I>>_n)>>31;--Rn.b,Rn.Ca+=Tr,Rn.Ca|=1,Rn.I-=(ri+1&Tr)<<_n,en[xn]=((xr^Tr)-Tr)*Et[(0>3),pe[De+it+32*Et]=-256&zt?0>zt?0:255:zt}function jc(pe,De,it,Et,zt,en){Kd(pe,De,0,it,Et+zt),Kd(pe,De,1,it,Et+en),Kd(pe,De,2,it,Et-en),Kd(pe,De,3,it,Et-zt)}function yh(pe){return(20091*pe>>16)+pe}function dm(pe,De,it,Et){var zt,en=0,rn=he(16);for(zt=0;4>zt;++zt){var gn=pe[De+0]+pe[De+8],xn=pe[De+0]-pe[De+8],Rn=(35468*pe[De+4]>>16)-yh(pe[De+12]),xr=yh(pe[De+4])+(35468*pe[De+12]>>16);rn[en+0]=gn+xr,rn[en+1]=xn+Rn,rn[en+2]=xn-Rn,rn[en+3]=gn-xr,en+=4,De++}for(zt=en=0;4>zt;++zt)gn=(pe=rn[en+0]+4)+rn[en+8],xn=pe-rn[en+8],Rn=(35468*rn[en+4]>>16)-yh(rn[en+12]),Kd(it,Et,0,0,gn+(xr=yh(rn[en+4])+(35468*rn[en+12]>>16))),Kd(it,Et,1,0,xn+Rn),Kd(it,Et,2,0,xn-Rn),Kd(it,Et,3,0,gn-xr),en++,Et+=32}function Ym(pe,De,it,Et){var zt=pe[De+0]+4,en=35468*pe[De+4]>>16,rn=yh(pe[De+4]),gn=35468*pe[De+1]>>16;jc(it,Et,0,zt+rn,pe=yh(pe[De+1]),gn),jc(it,Et,1,zt+en,pe,gn),jc(it,Et,2,zt-en,pe,gn),jc(it,Et,3,zt-rn,pe,gn)}function $m(pe,De,it,Et,zt){dm(pe,De,it,Et),zt&&dm(pe,De+16,it,Et+4)}function Gf(pe,De,it,Et){Hp(pe,De+0,it,Et,1),Hp(pe,De+32,it,Et+128,1)}function fm(pe,De,it,Et){var zt;for(pe=pe[De+0]+4,zt=0;4>zt;++zt)for(De=0;4>De;++De)Kd(it,Et,De,zt,pe)}function hm(pe,De,it,Et){pe[De+0]&&eu(pe,De+0,it,Et),pe[De+16]&&eu(pe,De+16,it,Et+4),pe[De+32]&&eu(pe,De+32,it,Et+128),pe[De+48]&&eu(pe,De+48,it,Et+128+4)}function lg(pe,De,it,Et){var zt,en=he(16);for(zt=0;4>zt;++zt){var rn=pe[De+0+zt]+pe[De+12+zt],gn=pe[De+4+zt]+pe[De+8+zt],xn=pe[De+4+zt]-pe[De+8+zt],Rn=pe[De+0+zt]-pe[De+12+zt];en[0+zt]=rn+gn,en[8+zt]=rn-gn,en[4+zt]=Rn+xn,en[12+zt]=Rn-xn}for(zt=0;4>zt;++zt)rn=(pe=en[0+4*zt]+3)+en[3+4*zt],gn=en[1+4*zt]+en[2+4*zt],xn=en[1+4*zt]-en[2+4*zt],Rn=pe-en[3+4*zt],it[Et+0]=rn+gn>>3,it[Et+16]=Rn+xn>>3,it[Et+32]=rn-gn>>3,it[Et+48]=Rn-xn>>3,Et+=64}function Dp(pe,De,it){var Et,zt=De-32,en=yd,rn=255-pe[zt-1];for(Et=0;Etit;++it)re(pe,De+32*it,pe,De-32,16)}function pm(pe,De){var it;for(it=16;0Et;++Et)ce(De,it+32*Et,pe,16)}function t0(pe,De){var it,Et=16;for(it=0;16>it;++it)Et+=pe[De-1+32*it]+pe[De+it-32];pf(Et>>5,pe,De)}function Np(pe,De){var it,Et=8;for(it=0;16>it;++it)Et+=pe[De-1+32*it];pf(Et>>4,pe,De)}function Ig(pe,De){var it,Et=8;for(it=0;16>it;++it)Et+=pe[De+it-32];pf(Et>>4,pe,De)}function n0(pe,De){pf(128,pe,De)}function Ds(pe,De,it){return pe+2*De+it+2>>2}function r0(pe,De){var it,Et=De-32;for(Et=new Uint8Array([Ds(pe[Et-1],pe[Et+0],pe[Et+1]),Ds(pe[Et+0],pe[Et+1],pe[Et+2]),Ds(pe[Et+1],pe[Et+2],pe[Et+3]),Ds(pe[Et+2],pe[Et+3],pe[Et+4])]),it=0;4>it;++it)re(pe,De+32*it,Et,0,Et.length)}function i0(pe,De){var it=pe[De-1],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96];Eo(pe,De+0,16843009*Ds(pe[De-1-32],it,Et)),Eo(pe,De+32,16843009*Ds(it,Et,zt)),Eo(pe,De+64,16843009*Ds(Et,zt,en)),Eo(pe,De+96,16843009*Ds(zt,en,en))}function o0(pe,De){var it,Et=4;for(it=0;4>it;++it)Et+=pe[De+it-32]+pe[De-1+32*it];for(Et>>=3,it=0;4>it;++it)ce(pe,De+32*it,Et,4)}function wh(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1-32],rn=pe[De+0-32],gn=pe[De+1-32],xn=pe[De+2-32],Rn=pe[De+3-32];pe[De+0+96]=Ds(Et,zt,pe[De-1+96]),pe[De+1+96]=pe[De+0+64]=Ds(it,Et,zt),pe[De+2+96]=pe[De+1+64]=pe[De+0+32]=Ds(en,it,Et),pe[De+3+96]=pe[De+2+64]=pe[De+1+32]=pe[De+0+0]=Ds(rn,en,it),pe[De+3+64]=pe[De+2+32]=pe[De+1+0]=Ds(gn,rn,en),pe[De+3+32]=pe[De+2+0]=Ds(xn,gn,rn),pe[De+3+0]=Ds(Rn,xn,gn)}function bh(pe,De){var it=pe[De+1-32],Et=pe[De+2-32],zt=pe[De+3-32],en=pe[De+4-32],rn=pe[De+5-32],gn=pe[De+6-32],xn=pe[De+7-32];pe[De+0+0]=Ds(pe[De+0-32],it,Et),pe[De+1+0]=pe[De+0+32]=Ds(it,Et,zt),pe[De+2+0]=pe[De+1+32]=pe[De+0+64]=Ds(Et,zt,en),pe[De+3+0]=pe[De+2+32]=pe[De+1+64]=pe[De+0+96]=Ds(zt,en,rn),pe[De+3+32]=pe[De+2+64]=pe[De+1+96]=Ds(en,rn,gn),pe[De+3+64]=pe[De+2+96]=Ds(rn,gn,xn),pe[De+3+96]=Ds(gn,xn,xn)}function a0(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1-32],rn=pe[De+0-32],gn=pe[De+1-32],xn=pe[De+2-32],Rn=pe[De+3-32];pe[De+0+0]=pe[De+1+64]=en+rn+1>>1,pe[De+1+0]=pe[De+2+64]=rn+gn+1>>1,pe[De+2+0]=pe[De+3+64]=gn+xn+1>>1,pe[De+3+0]=xn+Rn+1>>1,pe[De+0+96]=Ds(zt,Et,it),pe[De+0+64]=Ds(Et,it,en),pe[De+0+32]=pe[De+1+96]=Ds(it,en,rn),pe[De+1+32]=pe[De+2+96]=Ds(en,rn,gn),pe[De+2+32]=pe[De+3+96]=Ds(rn,gn,xn),pe[De+3+32]=Ds(gn,xn,Rn)}function s0(pe,De){var it=pe[De+0-32],Et=pe[De+1-32],zt=pe[De+2-32],en=pe[De+3-32],rn=pe[De+4-32],gn=pe[De+5-32],xn=pe[De+6-32],Rn=pe[De+7-32];pe[De+0+0]=it+Et+1>>1,pe[De+1+0]=pe[De+0+64]=Et+zt+1>>1,pe[De+2+0]=pe[De+1+64]=zt+en+1>>1,pe[De+3+0]=pe[De+2+64]=en+rn+1>>1,pe[De+0+32]=Ds(it,Et,zt),pe[De+1+32]=pe[De+0+96]=Ds(Et,zt,en),pe[De+2+32]=pe[De+1+96]=Ds(zt,en,rn),pe[De+3+32]=pe[De+2+96]=Ds(en,rn,gn),pe[De+3+64]=Ds(rn,gn,xn),pe[De+3+96]=Ds(gn,xn,Rn)}function ug(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96];pe[De+0+0]=it+Et+1>>1,pe[De+2+0]=pe[De+0+32]=Et+zt+1>>1,pe[De+2+32]=pe[De+0+64]=zt+en+1>>1,pe[De+1+0]=Ds(it,Et,zt),pe[De+3+0]=pe[De+1+32]=Ds(Et,zt,en),pe[De+3+32]=pe[De+1+64]=Ds(zt,en,en),pe[De+3+64]=pe[De+2+64]=pe[De+0+96]=pe[De+1+96]=pe[De+2+96]=pe[De+3+96]=en}function Lg(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96],rn=pe[De-1-32],gn=pe[De+0-32],xn=pe[De+1-32],Rn=pe[De+2-32];pe[De+0+0]=pe[De+2+32]=it+rn+1>>1,pe[De+0+32]=pe[De+2+64]=Et+it+1>>1,pe[De+0+64]=pe[De+2+96]=zt+Et+1>>1,pe[De+0+96]=en+zt+1>>1,pe[De+3+0]=Ds(gn,xn,Rn),pe[De+2+0]=Ds(rn,gn,xn),pe[De+1+0]=pe[De+3+32]=Ds(it,rn,gn),pe[De+1+32]=pe[De+3+64]=Ds(Et,it,rn),pe[De+1+64]=pe[De+3+96]=Ds(zt,Et,it),pe[De+1+96]=Ds(en,zt,Et)}function Op(pe,De){var it;for(it=0;8>it;++it)re(pe,De+32*it,pe,De-32,8)}function l0(pe,De){var it;for(it=0;8>it;++it)ce(pe,De,pe[De-1],8),De+=32}function Ch(pe,De,it){var Et;for(Et=0;8>Et;++Et)ce(De,it+32*Et,pe,8)}function u0(pe,De){var it,Et=8;for(it=0;8>it;++it)Et+=pe[De+it-32]+pe[De-1+32*it];Ch(Et>>4,pe,De)}function Dg(pe,De){var it,Et=4;for(it=0;8>it;++it)Et+=pe[De+it-32];Ch(Et>>3,pe,De)}function Ng(pe,De){var it,Et=4;for(it=0;8>it;++it)Et+=pe[De-1+32*it];Ch(Et>>3,pe,De)}function gm(pe,De){Ch(128,pe,De)}function xh(pe,De,it){var Et=pe[De-it],zt=pe[De+0],en=3*(zt-Et)+c0[1020+pe[De-2*it]-pe[De+it]],rn=Bm[112+(en+4>>3)];pe[De-it]=yd[255+Et+Bm[112+(en+3>>3)]],pe[De+0]=yd[255+zt-rn]}function Og(pe,De,it,Et){var zt=pe[De+0],en=pe[De+it];return Vd[255+pe[De-2*it]-pe[De-it]]>Et||Vd[255+en-zt]>Et}function cg(pe,De,it,Et){return 4*Vd[255+pe[De-it]-pe[De+0]]+Vd[255+pe[De-2*it]-pe[De+it]]<=Et}function Pg(pe,De,it,Et,zt){var en=pe[De-3*it],rn=pe[De-2*it],gn=pe[De-it],xn=pe[De+0],Rn=pe[De+it],xr=pe[De+2*it],ri=pe[De+3*it];return 4*Vd[255+gn-xn]+Vd[255+rn-Rn]>Et?0:Vd[255+pe[De-4*it]-en]<=zt&&Vd[255+en-rn]<=zt&&Vd[255+rn-gn]<=zt&&Vd[255+ri-xr]<=zt&&Vd[255+xr-Rn]<=zt&&Vd[255+Rn-xn]<=zt}function Pp(pe,De,it,Et){var zt=2*Et+1;for(Et=0;16>Et;++Et)cg(pe,De+Et,it,zt)&&xh(pe,De+Et,it)}function Tg(pe,De,it,Et){var zt=2*Et+1;for(Et=0;16>Et;++Et)cg(pe,De+Et*it,1,zt)&&xh(pe,De+Et*it,1)}function mm(pe,De,it,Et){var zt;for(zt=3;0>7,ji=18*Vi+63>>7,Vi=9*Vi+63>>7;xn[Rn-3*xr]=yd[255+xn[Rn-3*xr]+Vi],xn[Rn-2*xr]=yd[255+ri+ji],xn[Rn-xr]=yd[255+_n+qr],xn[Rn+0]=yd[255+Tr-qr],xn[Rn+xr]=yd[255+Gr-ji],xn[Rn+2*xr]=yd[255+Mi-Vi]}De+=Et}}function Eh(pe,De,it,Et,zt,en,rn,gn){for(en=2*en+1;0>3)],Mi=Bm[112+(Mi+3>>3)],qr=Gr+1>>1;xn[Rn-2*xr]=yd[255+xn[Rn-2*xr]+qr],xn[Rn-xr]=yd[255+ri+Mi],xn[Rn+0]=yd[255+_n-Gr],xn[Rn+xr]=yd[255+Tr-qr]}De+=Et}}function ym(pe,De,it,Et,zt,en){Bh(pe,De,it,1,16,Et,zt,en)}function Tp(pe,De,it,Et,zt,en){Bh(pe,De,1,it,16,Et,zt,en)}function wm(pe,De,it,Et,zt,en){var rn;for(rn=3;0Rn?0:255:Rn)&255,Rn=xn,zt[en+gn]=xr}}function Fu(pe,De,it,Et){var zt=De.width,en=De.o;if(z(pe!=null&&De!=null),0>it||0>=Et||it+Et>en)return null;if(!pe.Cc){if(pe.ga==null){var rn;if(pe.ga=new Hs,(rn=pe.ga==null)||(rn=De.width*De.o,z(pe.Gb.length==0),pe.Gb=he(rn),pe.Uc=0,pe.Gb==null?rn=0:(pe.mb=pe.Gb,pe.nb=pe.Uc,pe.rc=null,rn=1),rn=!rn),!rn){rn=pe.ga;var gn=pe.Fa,xn=pe.P,Rn=pe.qc,xr=pe.mb,ri=pe.nb,_n=xn+1,Tr=Rn-1,Gr=rn.l;if(z(gn!=null&&xr!=null&&De!=null),ip[0]=null,ip[1]=Ll,ip[2]=ic,ip[3]=Pc,rn.ca=xr,rn.tb=ri,rn.c=De.width,rn.i=De.height,z(0=Rn)De=0;else if(rn.$a=3&gn[xn+0],rn.Z=gn[xn+0]>>2&3,rn.Lc=gn[xn+0]>>4&3,xn=gn[xn+0]>>6&3,0>rn.$a||1=rn.c*rn.i;rn=!De}if(rn)return null;pe.ga.Lc!=1?pe.Ga=0:Et=en-it}z(pe.ga!=null),z(it+Et<=en);e:{if(De=(gn=pe.ga).c,en=gn.l.o,gn.$a==0){if(_n=pe.rc,Tr=pe.Vc,Gr=pe.Fa,xn=pe.P+1+it*De,Rn=pe.mb,xr=pe.nb+it*De,z(xn<=pe.P+pe.qc),gn.Z!=0)for(z(ip[gn.Z]!=null),rn=0;rn=De)De=1;else if(gn.ic||gf(),gn.ic){gn=rn.V,_n=rn.Ba,Tr=rn.c;var Mi=rn.i,qr=(Gr=1,xn=rn.$/Tr,Rn=rn.$%Tr,xr=rn.m,ri=rn.s,rn.$),ji=Tr*Mi,Vi=Tr*De,wo=ri.wc,lo=qr(Mi=pc(lo.G[0],lo.H[0],xr)))gn[_n+qr]=Mi,++qr,++Rn>=Tr&&(Rn=0,++xn<=De&&!(xn%16)&&ff(rn,xn));else{if(!(280>Mi)){Gr=0;break t}Mi=Qd(Mi-256,xr);var za,Ba=pc(lo.G[4],lo.H[4],xr);if(Jr(xr),!(qr>=(Ba=jd(Tr,Ba=Qd(Ba,xr)))&&ji-qr>=Mi)){Gr=0;break t}for(za=0;za=Tr;)Rn-=Tr,++xn<=De&&!(xn%16)&&ff(rn,xn);qrDe?De:xn);break t}!Gr||xr.h&&qr=en&&(pe.Cc=1),Et=1}if(!Et)return null;if(pe.Cc&&((Et=pe.ga)!=null&&(Et.mc=null),pe.ga=null,0>23,gn[xn+4*rn+1]=gn[xn+4*rn+1]*ri>>23,gn[xn+4*rn+2]=gn[xn+4*rn+2]*ri>>23)}De+=en}}function Tc(pe,De,it,Et,zt){for(;0>4)*xn>>16;pe[De+2*en+0]=(240&rn|rn>>4)*xn>>16&240|(15&rn|rn<<4)*xn>>16>>4&15,pe[De+2*en+1]=240&Rn|gn}De+=zt}}function cA(pe,De,it,Et,zt,en,rn,gn){var xn,Rn,xr=255;for(Rn=0;Rn>8}function gf(){Wg=Hc,$0=Tc,J0=cA,q0=Sh}function Fh(pe,De,it){Gn[pe]=function(Et,zt,en,rn,gn,xn,Rn,xr,ri,_n,Tr,Gr,Mi,qr,ji,Vi,wo){var lo,za=wo-1>>1,Ba=gn[xn+0]|Rn[xr+0]<<16,Ws=ri[_n+0]|Tr[Gr+0]<<16;z(Et!=null);var Oa=3*Ba+Ws+131074>>2;for(De(Et[zt+0],255&Oa,Oa>>16,Mi,qr),en!=null&&(Oa=3*Ws+Ba+131074>>2,De(en[rn+0],255&Oa,Oa>>16,ji,Vi)),lo=1;lo<=za;++lo){var Cl=gn[xn+lo]|Rn[xr+lo]<<16,Kc=ri[_n+lo]|Tr[Gr+lo]<<16,Vs=Ba+Cl+Ws+Kc+524296,Pa=Vs+2*(Cl+Ws)>>3;Oa=Pa+Ba>>1,Ba=(Vs=Vs+2*(Ba+Kc)>>3)+Cl>>1,De(Et[zt+2*lo-1],255&Oa,Oa>>16,Mi,qr+(2*lo-1)*it),De(Et[zt+2*lo-0],255&Ba,Ba>>16,Mi,qr+(2*lo-0)*it),en!=null&&(Oa=Vs+Ws>>1,Ba=Pa+Kc>>1,De(en[rn+2*lo-1],255&Oa,Oa>>16,ji,Vi+(2*lo-1)*it),De(en[rn+2*lo+0],255&Ba,Ba>>16,ji,Vi+(2*lo+0)*it)),Ba=Cl,Ws=Kc}1&wo||(Oa=3*Ba+Ws+131074>>2,De(Et[zt+wo-1],255&Oa,Oa>>16,Mi,qr+(wo-1)*it),en!=null&&(Oa=3*Ws+Ba+131074>>2,De(en[rn+wo-1],255&Oa,Oa>>16,ji,Vi+(wo-1)*it)))}}function kg(){Gd[Em]=d1,Gd[Sm]=cv,Gd[ov]=f1,Gd[Fm]=Av,Gd[Im]=dv,Gd[A0]=fv,Gd[av]=h1,Gd[d0]=cv,Gd[f0]=Av,Gd[Lm]=dv,Gd[h0]=fv}function Ag(pe){return pe&~p1?0>pe?0:255:pe>>hv}function Gh(pe,De){return Ag((19077*pe>>8)+(26149*De>>8)-14234)}function kp(pe,De,it){return Ag((19077*pe>>8)-(6419*De>>8)-(13320*it>>8)+8708)}function Mp(pe,De){return Ag((19077*pe>>8)+(33050*De>>8)-17685)}function Xh(pe,De,it,Et,zt){Et[zt+0]=Gh(pe,it),Et[zt+1]=kp(pe,De,it),Et[zt+2]=Mp(pe,De)}function AA(pe,De,it,Et,zt){Et[zt+0]=Mp(pe,De),Et[zt+1]=kp(pe,De,it),Et[zt+2]=Gh(pe,it)}function Up(pe,De,it,Et,zt){var en=kp(pe,De,it);De=en<<3&224|Mp(pe,De)>>3,Et[zt+0]=248&Gh(pe,it)|en>>5,Et[zt+1]=De}function Rp(pe,De,it,Et,zt){var en=240&Mp(pe,De)|15;Et[zt+0]=240&Gh(pe,it)|kp(pe,De,it)>>4,Et[zt+1]=en}function Mg(pe,De,it,Et,zt){Et[zt+0]=255,Xh(pe,De,it,Et,zt+1)}function Ug(pe,De,it,Et,zt){AA(pe,De,it,Et,zt),Et[zt+3]=255}function jA(pe,De,it,Et,zt){Xh(pe,De,it,Et,zt),Et[zt+3]=255}function Ih(pe,De,it){Gn[pe]=function(Et,zt,en,rn,gn,xn,Rn,xr,ri){for(var _n=xr+(-2&ri)*it;xr!=_n;)De(Et[zt+0],en[rn+0],gn[xn+0],Rn,xr),De(Et[zt+1],en[rn+0],gn[xn+0],Rn,xr+it),zt+=2,++rn,++xn,xr+=2*it;1&ri&&De(Et[zt+0],en[rn+0],gn[xn+0],Rn,xr)}}function dg(pe,De,it){return it==0?pe==0?De==0?6:5:De==0?4:0:it}function bm(pe,De,it,Et,zt){switch(pe>>>30){case 3:Hp(De,it,Et,zt,0);break;case 2:Wd(De,it,Et,zt);break;case 1:eu(De,it,Et,zt)}}function Zd(pe,De){var it,Et,zt=De.M,en=De.Nb,rn=pe.oc,gn=pe.pc+40,xn=pe.oc,Rn=pe.pc+584,xr=pe.oc,ri=pe.pc+600;for(it=0;16>it;++it)rn[gn+32*it-1]=129;for(it=0;8>it;++it)xn[Rn+32*it-1]=129,xr[ri+32*it-1]=129;for(0it;++it)re(rn,gn+32*it-4,rn,gn+32*it+12,4);for(it=-1;8>it;++it)re(xn,Rn+32*it-4,xn,Rn+32*it+4,4),re(xr,ri+32*it-4,xr,ri+32*it+4,4)}var Tr=pe.Gd,Gr=pe.Hd+Et,Mi=_n.ad,qr=_n.Hc;if(0=pe.za-1?ce(ji,Vi,Tr[Gr].y[15],4):re(ji,Vi,Tr[Gr+1].y,0,4)),it=0;4>it;it++)ji[Vi+128+it]=ji[Vi+256+it]=ji[Vi+384+it]=ji[Vi+0+it];for(it=0;16>it;++it,qr<<=2)ji=rn,Vi=gn+gv[it],mf[_n.Ob[it]](ji,Vi),bm(qr,Mi,16*+it,ji,Vi)}else if(ji=dg(Et,zt,_n.Ob[0]),rp[ji](rn,gn),qr!=0)for(it=0;16>it;++it,qr<<=2)bm(qr,Mi,16*+it,rn,gn+gv[it]);for(it=_n.Gc,ji=dg(Et,zt,_n.Dd),Nh[ji](xn,Rn),Nh[ji](xr,ri),qr=Mi,ji=xn,Vi=Rn,255&(_n=0|it)&&(170&_n?$f(qr,256,ji,Vi):vu(qr,256,ji,Vi)),_n=xr,qr=ri,255&(it>>=8)&&(170&it?$f(Mi,320,_n,qr):vu(Mi,320,_n,qr)),ztit;++it)re(Tr,Gr+it*pe.R,rn,gn+32*it,16);for(it=0;8>it;++it)re(Mi,_n+it*pe.B,xn,Rn+32*it,8),re(qr,ji+it*pe.B,xr,ri+32*it,8)}}function _p(pe,De,it,Et,zt,en,rn,gn,xn){var Rn=[0],xr=[0],ri=0,_n=xn!=null?xn.kd:0,Tr=xn!=null?xn:new so;if(pe==null||12>it)return 7;Tr.data=pe,Tr.w=De,Tr.ha=it,De=[De],it=[it],Tr.gb=[Tr.gb];e:{var Gr=De,Mi=it,qr=Tr.gb;if(z(pe!=null),z(Mi!=null),z(qr!=null),qr[0]=0,12<=Mi[0]&&!E(pe,Gr[0],"RIFF")){if(E(pe,Gr[0]+8,"WEBP")){qr=3;break e}var ji=qa(pe,Gr[0]+4);if(12>ji||4294967286Mi[0]-8){qr=7;break e}qr[0]=ji,Gr[0]+=12,Mi[0]-=12}qr=0}if(qr!=0)return qr;for(ji=0qr[0])qr=7;else{if(!E(Vi,Mi[0],"VP8X")){if(qa(Vi,Mi[0]+4)!=10){qr=3;break e}if(18>qr[0]){qr=7;break e}var Ba=qa(Vi,Mi[0]+8),Ws=1+sa(Vi,Mi[0]+12);if(2147483648<=Ws*(Vi=1+sa(Vi,Mi[0]+15))){qr=3;break e}za!=null&&(za[0]=Ba),wo!=null&&(wo[0]=Ws),lo!=null&&(lo[0]=Vi),Mi[0]+=18,qr[0]-=18,Oa[0]=1}qr=0}}if(ri=ri[0],Gr=Gr[0],qr!=0)return qr;if(Mi=!!(2&Gr),!ji&&ri)return 3;if(en!=null&&(en[0]=!!(16&Gr)),rn!=null&&(rn[0]=Mi),gn!=null&&(gn[0]=0),rn=Rn[0],Gr=xr[0],ri&&Mi&&xn==null){qr=0;break}if(4>it){qr=7;break}if(ji&&ri||!ji&&!ri&&!E(pe,De[0],"ALPH")){it=[it],Tr.na=[Tr.na],Tr.P=[Tr.P],Tr.Sa=[Tr.Sa];e:{Ba=pe,qr=De,ji=it;var Oa=Tr.gb;wo=Tr.na,lo=Tr.P,za=Tr.Sa,Ws=22,z(Ba!=null),z(ji!=null),Vi=qr[0];var Cl=ji[0];for(z(wo!=null),z(za!=null),wo[0]=null,lo[0]=null,za[0]=0;;){if(qr[0]=Vi,ji[0]=Cl,8>Cl){qr=7;break e}var Kc=qa(Ba,Vi+4);if(4294967286Oa){qr=3;break e}if(!E(Ba,Vi,"VP8 ")||!E(Ba,Vi,"VP8L")){qr=0;break e}if(Cl[0]ji[0])qr=7;else{if(Vi||Ws){if(Oa=qa(Oa,Ba+4),12<=wo&&Oa>wo-12){qr=3;break e}if(_n&&Oa>ji[0]-8){qr=7;break e}lo[0]=Oa,qr[0]+=8,ji[0]-=8,za[0]=Ws}else za[0]=5<=ji[0]&&Oa[Ba+0]==47&&!(Oa[Ba+4]>>5),lo[0]=ji[0];qr=0}if(it=it[0],Tr.Ja=Tr.Ja[0],Tr.xa=Tr.xa[0],De=De[0],qr!=0)break;if(4294967286it){qr=7;break}gn=rn,_n=Gr,Mi=en,pe==null||5>it?pe=0:5<=it&&pe[De+0]==47&&!(pe[De+4]>>5)?(ji=[0],Oa=[0],wo=[0],Ni(lo=new Kn,pe,De,it),vh(lo,ji,Oa,wo)?(gn!=null&&(gn[0]=ji[0]),_n!=null&&(_n[0]=Oa[0]),Mi!=null&&(Mi[0]=wo[0]),pe=1):pe=0):pe=0}else{if(10>it){qr=7;break}gn=Gr,pe==null||10>it||!cm(pe,De+3,it-3)?pe=0:(_n=pe[De+0]|pe[De+1]<<8|pe[De+2]<<16,Mi=16383&(pe[De+7]<<8|pe[De+6]),pe=16383&(pe[De+9]<<8|pe[De+8]),1&_n||3<(_n>>1&7)||!(_n>>4&1)||_n>>5>=Tr.Ja||!Mi||!pe?pe=0:(rn&&(rn[0]=Mi),gn&&(gn[0]=pe),pe=1))}if(!pe||(rn=rn[0],Gr=Gr[0],ri&&(Rn[0]!=rn||xr[0]!=Gr)))return 3;xn!=null&&(xn[0]=Tr,xn.offset=De-xn.w,z(4294967286>De-xn.w),z(xn.offset==xn.ha-it));break}return qr==0||qr==7&&ri&&xn==null?(en!=null&&(en[0]|=Tr.na!=null&&0it||(en&=-2,rn&=-2),0>en||0>rn||0>=gn||0>=xn||en+gn>Et||rn+xn>zt))return 0;if(De.v=en,De.j=rn,De.va=en+gn,De.o=rn+xn,De.U=gn,De.T=xn,De.da=pe!=null&&0pe.S){var De=pe.f.RGBA;De.fb+=(pe.height-1)*De.A,De.A=-De.A}else De=pe.f.kb,pe=pe.height,De.O+=(pe-1)*De.fa,De.fa=-De.fa,De.N+=(pe-1>>1)*De.Ab,De.Ab=-De.Ab,De.W+=(pe-1>>1)*De.Db,De.Db=-De.Db,De.F!=null&&(De.J+=(pe-1)*De.lb,De.lb=-De.lb);return 0}function Yh(pe,De,it,Et){if(Et==null||0>=pe||0>=De)return 2;if(it!=null){if(it.Da){var zt=it.cd,en=it.bd,rn=-2&it.v,gn=-2&it.j;if(0>rn||0>gn||0>=zt||0>=en||rn+zt>pe||gn+en>De)return 2;pe=zt,De=en}if(it.da){if(!cs(pe,De,zt=[it.ib],en=[it.hb]))return 2;pe=zt[0],De=en[0]}}Et.width=pe,Et.height=De;e:{var xn=Et.width,Rn=Et.height;if(pe=Et.S,0>=xn||0>=Rn||!(pe>=Em&&13>pe))pe=2;else{if(0>=Et.Rd&&Et.sd==null){rn=en=zt=De=0;var xr=(gn=xn*mv[pe])*Rn;if(11>pe||(en=(Rn+1)/2*(De=(xn+1)/2),pe==12&&(rn=(zt=xn)*Rn)),(Rn=he(xr+2*en+rn))==null){pe=1;break e}Et.sd=Rn,11>pe?((xn=Et.f.RGBA).eb=Rn,xn.fb=0,xn.A=gn,xn.size=xr):((xn=Et.f.kb).y=Rn,xn.O=0,xn.fa=gn,xn.Fd=xr,xn.f=Rn,xn.N=0+xr,xn.Ab=De,xn.Cd=en,xn.ea=Rn,xn.W=0+xr+en,xn.Db=De,xn.Ed=en,pe==12&&(xn.F=Rn,xn.J=0+xr+2*en),xn.Tc=rn,xn.lb=zt)}if(De=1,zt=Et.S,en=Et.width,rn=Et.height,zt>=Em&&13>zt)if(11>zt)pe=Et.f.RGBA,De&=(gn=Math.abs(pe.A))*(rn-1)+en<=pe.size,De&=gn>=en*mv[zt],De&=pe.eb!=null;else{pe=Et.f.kb,gn=(en+1)/2,xr=(rn+1)/2,xn=Math.abs(pe.fa),Rn=Math.abs(pe.Ab);var ri=Math.abs(pe.Db),_n=Math.abs(pe.lb),Tr=_n*(rn-1)+en;De&=xn*(rn-1)+en<=pe.Fd,De&=Rn*(xr-1)+gn<=pe.Cd,De=(De&=ri*(xr-1)+gn<=pe.Ed)&xn>=en&Rn>=gn&ri>=gn,De&=pe.y!=null,De&=pe.f!=null,De&=pe.ea!=null,zt==12&&(De&=_n>=en,De&=Tr<=pe.Tc,De&=pe.F!=null)}else De=0;pe=De?0:2}}return pe!=0||it!=null&&it.fd&&(pe=_g(Et)),pe}var Qp=64,md=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],vd=24,$h=32,Lh=8,Jh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Sa("Predictor0","PredictorAdd0"),Gn.Predictor0=function(){return 4278190080},Gn.Predictor1=function(pe){return pe},Gn.Predictor2=function(pe,De,it){return De[it+0]},Gn.Predictor3=function(pe,De,it){return De[it+1]},Gn.Predictor4=function(pe,De,it){return De[it-1]},Gn.Predictor5=function(pe,De,it){return ts(ts(pe,De[it+1]),De[it+0])},Gn.Predictor6=function(pe,De,it){return ts(pe,De[it-1])},Gn.Predictor7=function(pe,De,it){return ts(pe,De[it+0])},Gn.Predictor8=function(pe,De,it){return ts(De[it-1],De[it+0])},Gn.Predictor9=function(pe,De,it){return ts(De[it+0],De[it+1])},Gn.Predictor10=function(pe,De,it){return ts(ts(pe,De[it-1]),ts(De[it+0],De[it+1]))},Gn.Predictor11=function(pe,De,it){var Et=De[it+0];return 0>=Rs(Et>>24&255,pe>>24&255,(De=De[it-1])>>24&255)+Rs(Et>>16&255,pe>>16&255,De>>16&255)+Rs(Et>>8&255,pe>>8&255,De>>8&255)+Rs(255&Et,255&pe,255&De)?Et:pe},Gn.Predictor12=function(pe,De,it){var Et=De[it+0];return(Jl((pe>>24&255)+(Et>>24&255)-((De=De[it-1])>>24&255))<<24|Jl((pe>>16&255)+(Et>>16&255)-(De>>16&255))<<16|Jl((pe>>8&255)+(Et>>8&255)-(De>>8&255))<<8|Jl((255&pe)+(255&Et)-(255&De)))>>>0},Gn.Predictor13=function(pe,De,it){var Et=De[it-1];return(pl((pe=ts(pe,De[it+0]))>>24&255,Et>>24&255)<<24|pl(pe>>16&255,Et>>16&255)<<16|pl(pe>>8&255,Et>>8&255)<<8|pl(255&pe,255&Et))>>>0};var Qg=Gn.PredictorAdd0;Gn.PredictorAdd1=bl,Sa("Predictor2","PredictorAdd2"),Sa("Predictor3","PredictorAdd3"),Sa("Predictor4","PredictorAdd4"),Sa("Predictor5","PredictorAdd5"),Sa("Predictor6","PredictorAdd6"),Sa("Predictor7","PredictorAdd7"),Sa("Predictor8","PredictorAdd8"),Sa("Predictor9","PredictorAdd9"),Sa("Predictor10","PredictorAdd10"),Sa("Predictor11","PredictorAdd11"),Sa("Predictor12","PredictorAdd12"),Sa("Predictor13","PredictorAdd13");var fg=Gn.PredictorAdd2;Ka("ColorIndexInverseTransform","MapARGB","32b",function(pe){return pe>>8&255},function(pe){return pe}),Ka("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(pe){return pe},function(pe){return pe>>8&255});var Sc,Cm=Gn.ColorIndexInverseTransform,Xf=Gn.MapARGB,Yf=Gn.VP8LColorIndexInverseTransformAlpha,jg=Gn.MapAlpha,Hg=Gn.VP8LPredictorsAdd=[];Hg.length=16,(Gn.VP8LPredictors=[]).length=16,(Gn.VP8LPredictorsAdd_C=[]).length=16,(Gn.VP8LPredictors_C=[]).length=16;var zg,Kg,qh,ep,tp,jp,np,Hp,Wd,$f,eu,vu,Fc,zc,Dh,Zg,hg,xm,Z0,W0,V0,G0,X0,Y0,Wg,$0,J0,q0,ev=he(511),tv=he(2041),nv=he(225),rv=he(767),iv=0,c0=tv,Bm=nv,yd=rv,Vd=ev,Em=0,Sm=1,ov=2,Fm=3,Im=4,A0=5,av=6,d0=7,f0=8,Lm=9,h0=10,Jv=[2,3,7],qv=[3,3,11],sv=[280,256,256,256,40],e1=[0,1,1,1,0],t1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],i1=8,p0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],g0=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Vg=null,o1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],a1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],s1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],l1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],u1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],c1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],rp=[],mf=[],Nh=[],A1=1,uv=2,ip=[],Gd=[];Fh("UpsampleRgbLinePair",Xh,3),Fh("UpsampleBgrLinePair",AA,3),Fh("UpsampleRgbaLinePair",jA,4),Fh("UpsampleBgraLinePair",Ug,4),Fh("UpsampleArgbLinePair",Mg,4),Fh("UpsampleRgba4444LinePair",Rp,2),Fh("UpsampleRgb565LinePair",Up,2);var d1=Gn.UpsampleRgbLinePair,f1=Gn.UpsampleBgrLinePair,cv=Gn.UpsampleRgbaLinePair,Av=Gn.UpsampleBgraLinePair,dv=Gn.UpsampleArgbLinePair,fv=Gn.UpsampleRgba4444LinePair,h1=Gn.UpsampleRgb565LinePair,Dm=16,Nm=1<Et.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Et.ca.f.kb.F!=null&&gf()),Et.Pb&&0(xn=it.Md)?0:100Rn;++Rn)12>(ri=zt.pb[Rn]).lc&&(ri.ia=xn*C1[0>ri.lc?0:ri.lc]>>3),xr|=ri.ia;xr&&(alert("todo:VP8InitRandom"),zt.ia=1)}zt.Ga=it.Id,100zt.Ga&&(zt.Ga=0)}(function(_n,Tr){if(_n==null)return 0;if(Tr==null)return Oc(_n,2,"NULL VP8Io parameter in VP8Decode().");if(!_n.cb&&!Vf(_n,Tr))return 0;if(z(_n.cb),Tr.ac==null||Tr.ac(Tr)){Tr.ob&&(_n.L=0);var Gr=Om[_n.L];if(_n.L==2?(_n.yb=0,_n.zb=0):(_n.yb=Tr.v-Gr>>4,_n.zb=Tr.j-Gr>>4,0>_n.yb&&(_n.yb=0),0>_n.zb&&(_n.zb=0)),_n.Va=Tr.o+15+Gr>>4,_n.Hb=Tr.va+15+Gr>>4,_n.Hb>_n.za&&(_n.Hb=_n.za),_n.Va>_n.Ub&&(_n.Va=_n.Ub),0<_n.L){var Mi=_n.ed;for(Gr=0;4>Gr;++Gr){var qr;if(_n.Qa.Cb){var ji=_n.Qa.Lb[Gr];_n.Qa.Fb||(ji+=Mi.Tb)}else ji=Mi.Tb;for(qr=0;1>=qr;++qr){var Vi=_n.gd[Gr][qr],wo=ji;if(Mi.Pc&&(wo+=Mi.vd[0],qr&&(wo+=Mi.od[0])),0<(wo=0>wo?0:63>2:lo>>1)>9-Mi.wb&&(lo=9-Mi.wb),1>lo&&(lo=1),Vi.dd=lo,Vi.tc=2*wo+lo,Vi.ld=40<=wo?2:15<=wo?1:0}else Vi.tc=0;Vi.La=qr}}}Gr=0}else Oc(_n,6,"Frame setup failed"),Gr=_n.a;if(Gr=Gr==0){if(Gr){_n.$c=0,0<_n.Aa||(_n.Ic=x1);t:{Gr=_n.Ic,Mi=4*(lo=_n.za);var za=32*lo,Ba=lo+1,Ws=0<_n.L?lo*(0<_n.Aa?2:1):0,Oa=(_n.Aa==2?2:1)*lo;if((Vi=Mi+832+(qr=3*(16*Gr+Om[_n.L])/2*za)+(ji=_n.Fa!=null&&0<_n.Fa.length?_n.Kc.c*_n.Kc.i:0))!=Vi)Gr=0;else{if(Vi>_n.Vb){if(_n.Vb=0,_n.Ec=he(Vi),_n.Fc=0,_n.Ec==null){Gr=Oc(_n,1,"no memory during frame initialization.");break t}_n.Vb=Vi}Vi=_n.Ec,wo=_n.Fc,_n.Ac=Vi,_n.Bc=wo,wo+=Mi,_n.Gd=Ze(za,lm),_n.Hd=0,_n.rb=Ze(Ba+1,Eg),_n.sb=1,_n.wa=Ws?Ze(Ws,zd):null,_n.Y=0,_n.D.Nb=0,_n.D.wa=_n.wa,_n.D.Y=_n.Y,0<_n.Aa&&(_n.D.Y+=lo),z(!0),_n.oc=Vi,_n.pc=wo,wo+=832,_n.ya=Ze(Oa,Sg),_n.aa=0,_n.D.ya=_n.ya,_n.D.aa=_n.aa,_n.Aa==2&&(_n.D.aa+=lo),_n.R=16*lo,_n.B=8*lo,lo=(za=Om[_n.L])*_n.R,za=za/2*_n.B,_n.sa=Vi,_n.ta=wo+lo,_n.qa=_n.sa,_n.ra=_n.ta+16*Gr*_n.R+za,_n.Ha=_n.qa,_n.Ia=_n.ra+8*Gr*_n.B+za,_n.$c=0,wo+=qr,_n.mb=ji?Vi:null,_n.nb=ji?wo:null,z(wo+ji<=_n.Fc+_n.Vb),Am(_n),ce(_n.Ac,_n.Bc,0,Mi),Gr=1}}if(Gr){if(Tr.ka=0,Tr.y=_n.sa,Tr.O=_n.ta,Tr.f=_n.qa,Tr.N=_n.ra,Tr.ea=_n.Ha,Tr.Vd=_n.Ia,Tr.fa=_n.R,Tr.Rc=_n.B,Tr.F=null,Tr.J=0,!iv){for(Gr=-255;255>=Gr;++Gr)ev[255+Gr]=0>Gr?-Gr:Gr;for(Gr=-1020;1020>=Gr;++Gr)tv[1020+Gr]=-128>Gr?-128:127=Gr;++Gr)nv[112+Gr]=-16>Gr?-16:15=Gr;++Gr)rv[255+Gr]=0>Gr?0:255Fl;++Fl){var Zc,Dl=HA[0+Fl];for(Zc=0;4>Zc;++Zc){Dl=l1[Ru[dA+Zc]][Dl];for(var ou=lv[Yi(Qs,Dl[0])];0>3;for(ou=0;256>ou;ou+=16)Fl[OA+ou]=qA}fA=1,vf=dA[0]}var yu=15&Qs.la,Wc=15&zA.la;for(ou=0;4>ou;++ou){var wd=1&Wc;for(qA=au=0;4>qA;++qA)yu=yu>>1|(wd=(Lc=Vg(Ru,vf,Lc=wd+(1&yu),gc.Sc,fA,Fl,OA))>fA)<<7,au=au<<2|(3>=4,Wc=Wc>>1|wd<<7,Zc=(Zc<<8|au)>>>0}for(vf=yu,fA=Wc>>4,mc=0;4>mc;mc+=2){for(au=0,yu=Qs.la>>4+mc,Wc=zA.la>>4+mc,ou=0;2>ou;++ou){for(wd=1&Wc,qA=0;2>qA;++qA)Lc=wd+(1&yu),yu=yu>>1|(wd=0<(Lc=Vg(Ru,dA[2],Lc,gc.Qc,0,Fl,OA)))<<3,au=au<<2|(3>=2,Wc=Wc>>1|wd<<5}Dl|=au<<4*mc,vf|=yu<<4<=Pa.zb&&Pa.M<=Pa.Va,Pa.Aa==0)t:{if(Vs.M=Pa.M,Vs.uc=Qs,Zd(Pa,Vs),Ic=1,Vs=(au=Pa.D).Nb,Qs=(Dl=Om[Pa.L])*Pa.R,Ru=Dl/2*Pa.B,ou=16*Vs*Pa.R,qA=8*Vs*Pa.B,dA=Pa.sa,HA=Pa.ta-Qs+ou,gc=Pa.qa,Fl=Pa.ra-Ru+qA,OA=Pa.Ha,zA=Pa.Ia-Ru+qA,Wc=(yu=au.M)==0,Zc=yu>=Pa.Va-1,Pa.Aa==2&&Zd(Pa,au),au.uc)for(wd=(Lc=Pa).D.M,z(Lc.D.uc),au=Lc.yb;auJo.o&&(yu=Jo.o),Jo.F=null,Jo.J=null,Pa.Fa!=null&&0>1),Jo.W+=Pa.B*(Dl>>1),Jo.F!=null&&(Jo.J+=Jo.width*Dl)),au>1,Jo.W+=Jo.v>>1,Jo.F!=null&&(Jo.J+=Jo.v),Jo.ka=au-Jo.j,Jo.U=Jo.va-Jo.v,Jo.T=yu-au,Ic=Jo.put(Jo))}Vs+1!=Pa.Ic||Zc||(re(Pa.sa,Pa.ta-Qs,dA,HA+16*Pa.R,Qs),re(Pa.qa,Pa.ra-Ru,gc,Fl+8*Pa.B,Ru),re(Pa.Ha,Pa.Ia-Ru,OA,zA+8*Pa.B,Ru))}if(!Ic)return Oc(Cl,6,"Output aborted.")}return 1}(_n,Tr)),Tr.bc!=null&&Tr.bc(Tr),Gr&=1}return Gr?(_n.cb=0,Gr):0})(pe,Et)||(De=pe.a)}}else De=pe.a}De==0&&rn.Oa!=null&&rn.Oa.fd&&(De=_g(rn.ba))}rn=De}en=rn!=0?null:11>en?gn.f.RGBA.eb:gn.f.kb.y}else en=null;return en};var mv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function $e(Gn,Vr){for(var cn="",kn=0;kn<4;kn++)cn+=String.fromCharCode(Gn[Vr++]);return cn}function gt(Gn,Vr){return Gn[Vr+0]|Gn[Vr+1]<<8}function Ut(Gn,Vr){return(Gn[Vr+0]|Gn[Vr+1]<<8|Gn[Vr+2]<<16)>>>0}function qt(Gn,Vr){return(Gn[Vr+0]|Gn[Vr+1]<<8|Gn[Vr+2]<<16|Gn[Vr+3]<<24)>>>0}new Xe;var ft=[0],Dn=[0],Bn=[],Tn=new Xe,fn=y,hr=function(Gn,Vr){var cn={},kn=0,fr=!1,sr=0,fi=0;if(cn.frames=[],!function(on,Kn){for(var qn=0;qn<4;qn++)if(on[Kn+qn]!="RIFF".charCodeAt(qn))return!0;return!1}(Gn,Vr)){for(qt(Gn,Vr+=4),Vr+=8;Vr>1&1}wi!="ANMF"&&(Vr+=ei)}return cn}}(fn,0);hr.response=fn,hr.rgbaoutput=!0,hr.dataurl=!1;var ir=hr.header?hr.header:null,Wn=hr.frames?hr.frames:null;if(ir){ir.loop_counter=ir.loop_count,ft=[ir.canvas_height],Dn=[ir.canvas_width];for(var oi=0;oi=2?Mn[1]:ca[0],ca[2]=Mn.length>=3?Mn[2]:ca[0],ca[3]=Mn.length>=4?Mn[3]:ca[1]),$e.margin=ca}});var Si=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Si},set:function(Mn){Si=Mn}});var Li=0;Object.defineProperty(this,"lastBreak",{get:function(){return Li},set:function(Mn){Li=Mn}});var Yi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Yi},set:function(Mn){Yi=Mn}}),Object.defineProperty(this,"ctx",{get:function(){return $e},set:function(Mn){Mn instanceof gt&&($e=Mn)}}),Object.defineProperty(this,"path",{get:function(){return $e.path},set:function(Mn){$e.path=Mn}});var Eo=[];Object.defineProperty(this,"ctxStack",{get:function(){return Eo},set:function(Mn){Eo=Mn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mn){var ca;ca=qt(Mn),this.ctx.fillStyle=ca.style,this.ctx.isFillTransparent=ca.a===0,this.ctx.fillOpacity=ca.a,this.pdf.setFillColor(ca.r,ca.g,ca.b,{a:ca.a}),this.pdf.setTextColor(ca.r,ca.g,ca.b,{a:ca.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mn){var ca=qt(Mn);this.ctx.strokeStyle=ca.style,this.ctx.isStrokeTransparent=ca.a===0,this.ctx.strokeOpacity=ca.a,ca.a===0?this.pdf.setDrawColor(255,255,255):(ca.a,this.pdf.setDrawColor(ca.r,ca.g,ca.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mn){["butt","round","square"].indexOf(Mn)!==-1&&(this.ctx.lineCap=Mn,this.pdf.setLineCap(Mn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mn){isNaN(Mn)||(this.ctx.lineWidth=Mn,this.pdf.setLineWidth(Mn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mn){["bevel","round","miter"].indexOf(Mn)!==-1&&(this.ctx.lineJoin=Mn,this.pdf.setLineJoin(Mn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mn){isNaN(Mn)||(this.ctx.miterLimit=Mn,this.pdf.setMiterLimit(Mn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mn){this.ctx.textBaseline=Mn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mn){["right","end","center","left","start"].indexOf(Mn)!==-1&&(this.ctx.textAlign=Mn)}});var ua=null,sa=null,qa=null;Object.defineProperty(this,"fontFaces",{get:function(){return qa},set:function(Mn){ua=null,sa=null,qa=Mn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mn){var ca;if(this.ctx.font=Mn,(ca=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Mn))!==null){var $s=ca[1];ca[2];var cs=ca[3],mo=ca[4];ca[5];var As=ca[6],Sa=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mo)[2];mo=Math.floor(Sa==="px"?parseFloat(mo)*this.pdf.internal.scaleFactor:Sa==="em"?parseFloat(mo)*this.pdf.getFontSize():parseFloat(mo)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mo);var ss=function(Ka){var Ec,Il,qs=[],el=Ka.trim();if(el==="")return Zm;if(el in _f)return[_f[el]];for(;el!=="";){switch(Il=null,Ec=(el=Qf(el)).charAt(0)){case'"':case"'":Il=uf(el.substring(1),Ec);break;default:Il=Zh(el)}if(Il===null||(qs.push(Il[0]),(el=Qf(Il[1]))!==""&&el.charAt(0)!==","))return Zm;el=el.replace(/^,/,"")}return qs}(As);if(this.fontFaces){var ts=function(Ka,Ec){var Il=Ka.getFontList(),qs=JSON.stringify(Il);if(ua===null||sa!==qs){var el=function(Wu){var is=[];return Object.keys(Wu).forEach(function(Su){Wu[Su].forEach(function(ms){var _s=null;switch(ms){case"bold":_s={family:Su,weight:"bold"};break;case"italic":_s={family:Su,style:"italic"};break;case"bolditalic":_s={family:Su,weight:"bold",style:"italic"};break;case"":case"normal":_s={family:Su}}_s!==null&&(_s.ref={name:Su,style:ms},is.push(_s))})}),is}(Il);ua=function(Wu){for(var is={},Su=0;Su=700||$s==="bold")&&(Rs="bold"),$s==="italic"&&(Rs+="italic"),Rs.length===0&&(Rs="normal");for(var bl="",gl={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},_a=0;_a=2*Math.PI&&(vr=0,kr=2*Math.PI),this.path.push({type:"arc",x:on,y:Kn,radius:qn,startAngle:vr,endAngle:kr,counterclockwise:Jr})},Ut.prototype.arcTo=function(on,Kn,qn,vr,kr){throw new Error("arcTo not implemented.")},Ut.prototype.rect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(on,Kn),this.lineTo(on+qn,Kn),this.lineTo(on+qn,Kn+vr),this.lineTo(on,Kn+vr),this.lineTo(on,Kn),this.lineTo(on+qn,Kn),this.lineTo(on,Kn)},Ut.prototype.fillRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ft.call(this)){var kr={};this.lineCap!=="butt"&&(kr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(kr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(on,Kn,qn,vr),this.fill(),kr.hasOwnProperty("lineCap")&&(this.lineCap=kr.lineCap),kr.hasOwnProperty("lineJoin")&&(this.lineJoin=kr.lineJoin)}},Ut.prototype.strokeRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Dn.call(this)||(this.beginPath(),this.rect(on,Kn,qn,vr),this.stroke())},Ut.prototype.clearRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(on,Kn,qn,vr))},Ut.prototype.save=function(on){on=typeof on!="boolean"||on;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,qn=0;qn0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ut.prototype.drawImage=function(on,Kn,qn,vr,kr,Jr,Si,Li,Yi){var Eo=this.pdf.getImageProperties(on),ua=1,sa=1,qa=1,Mn=1;vr!==void 0&&Li!==void 0&&(qa=Li/vr,Mn=Yi/kr,ua=Eo.width/vr*Li/vr,sa=Eo.height/kr*Yi/kr),Jr===void 0&&(Jr=Kn,Si=qn,Kn=0,qn=0),vr!==void 0&&Li===void 0&&(Li=vr,Yi=kr),vr===void 0&&Li===void 0&&(Li=Eo.width,Yi=Eo.height);var ca=this.ctx.transform.decompose(),$s=ei(ca.rotate.shx),cs=new Xe,mo=(cs=(cs=(cs=cs.multiply(ca.translate)).multiply(ca.skew)).multiply(ca.scale)).applyToRectangle(new Ue(Jr-Kn*qa,Si-qn*Mn,vr*ua,kr*sa));if(this.autoPaging){for(var As,Sa=Tn.call(this,mo),ss=[],ts=0;tsJl||Rsmo||Sa0)){for(;Yi>=0;Yi--)if(kr[Yi-1].close!==!0&&kr[Yi-1].begin!==!0){kr[Yi-1].deltas.push(qn),kr[Yi-1].abs.push(Li);break}}break;case"bct":qn=[Li.x1-Jr[Si-1].x,Li.y1-Jr[Si-1].y,Li.x2-Jr[Si-1].x,Li.y2-Jr[Si-1].y,Li.x-Jr[Si-1].x,Li.y-Jr[Si-1].y],kr[kr.length-1].deltas.push(qn);break;case"qct":var Eo=Jr[Si-1].x+2/3*(Li.x1-Jr[Si-1].x),ua=Jr[Si-1].y+2/3*(Li.y1-Jr[Si-1].y),sa=Li.x+2/3*(Li.x1-Li.x),qa=Li.y+2/3*(Li.y1-Li.y),Mn=Li.x,ca=Li.y;qn=[Eo-Jr[Si-1].x,ua-Jr[Si-1].y,sa-Jr[Si-1].x,qa-Jr[Si-1].y,Mn-Jr[Si-1].x,ca-Jr[Si-1].y],kr[kr.length-1].deltas.push(qn);break;case"arc":kr.push({deltas:[],abs:[],arc:!0}),Array.isArray(kr[kr.length-1].abs)&&kr[kr.length-1].abs.push(Li)}}vr=Kn?null:on==="stroke"?"stroke":"fill";for(var $s=!1,cs=0;cs=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*on.scale),kr=this.lineWidth,this.lineWidth=kr*on.scale);var js=this.autoPaging!=="text";if(js||_a.y+_a.h<=ts){if(js||_a.y>=Sa&&_a.x<=pl){var Ka=js?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||pl-_a.x)[0],Ec=hr([JSON.parse(JSON.stringify(sa))],this.posX+this.margin[3],-bl+Sa+this.ctx.prevPageLastElemOffset)[0],Il=js&&(As>cs||As=.01&&(this.pdf.setFontSize(vr),this.lineWidth=kr)}}else on.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*on.scale),kr=this.lineWidth,this.lineWidth=kr*on.scale),this.pdf.text(on.text,Yi.x+this.posX,Yi.y+this.posY,{angle:on.angle,align:Kn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=kr)},fr=function(on,Kn,qn,vr){qn=qn||0,vr=vr||0,this.pdf.internal.out(E(on+qn)+" "+re(Kn+vr)+" l")},sr=function(on,Kn,qn){return this.pdf.lines(on,Kn,qn,null,null)},fi=function(on,Kn,qn,vr,kr,Jr,Si,Li){this.pdf.internal.out([z(ce(qn+on)),z(he(vr+Kn)),z(ce(kr+on)),z(he(Jr+Kn)),z(ce(Si+on)),z(he(Li+Kn)),"c"].join(" "))},wi=function(on,Kn,qn,vr){for(var kr=2*Math.PI,Jr=Math.PI/2;Kn>qn;)Kn-=kr;var Si=Math.abs(qn-Kn);Si1e-5;){var ua=Eo+Yi*Math.min(Si,Jr);Li.push(Fi.call(this,on,Eo,ua)),Si-=Math.abs(ua-Eo),Eo=ua}return Li},Fi=function(on,Kn,qn){var vr=(qn-Kn)/2,kr=on*Math.cos(vr),Jr=on*Math.sin(vr),Si=kr,Li=-Jr,Yi=Si*Si+Li*Li,Eo=Yi+Si*kr+Li*Jr,ua=4/3*(Math.sqrt(2*Yi*Eo)-Eo)/(Si*Jr-Li*kr),sa=Si-ua*Li,qa=Li+ua*Si,Mn=sa,ca=-qa,$s=vr+Kn,cs=Math.cos($s),mo=Math.sin($s);return{x1:on*Math.cos(Kn),y1:on*Math.sin(Kn),x2:sa*cs-qa*mo,y2:sa*mo+qa*cs,x3:Mn*cs-ca*mo,y3:Mn*mo+ca*cs,x4:on*Math.cos(qn),y4:on*Math.sin(qn)}},ei=function(on){return 180*on/Math.PI},Ni=function(on,Kn,qn,vr,kr,Jr){var Si=on+.5*(qn-on),Li=Kn+.5*(vr-Kn),Yi=kr+.5*(qn-kr),Eo=Jr+.5*(vr-Jr),ua=Math.min(on,kr,Si,Yi),sa=Math.max(on,kr,Si,Yi),qa=Math.min(Kn,Jr,Li,Eo),Mn=Math.max(Kn,Jr,Li,Eo);return new Ue(ua,qa,sa-ua,Mn-qa)},ko=function(on,Kn,qn,vr,kr,Jr,Si,Li){var Yi,Eo,ua,sa,qa,Mn,ca,$s,cs,mo,As,Sa,ss,ts,Jl=qn-on,pl=vr-Kn,Rs=kr-qn,bl=Jr-vr,gl=Si-kr,_a=Li-Jr;for(Eo=0;Eo<41;Eo++)cs=(ca=(ua=on+(Yi=Eo/40)*Jl)+Yi*((qa=qn+Yi*Rs)-ua))+Yi*(qa+Yi*(kr+Yi*gl-qa)-ca),mo=($s=(sa=Kn+Yi*pl)+Yi*((Mn=vr+Yi*bl)-sa))+Yi*(Mn+Yi*(Jr+Yi*_a-Mn)-$s),Eo==0?(As=cs,Sa=mo,ss=cs,ts=mo):(As=Math.min(As,cs),Sa=Math.min(Sa,mo),ss=Math.max(ss,cs),ts=Math.max(ts,mo));return new Ue(Math.round(As),Math.round(Sa),Math.round(ss-As),Math.round(ts-Sa))},io=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,Kn,qn=(on=this.ctx.lineDash,Kn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:Kn}));this.prevLineDash!==qn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=qn)}}})(Na.API),function(y){var z=function(Ze){var Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn;for(/[^\x00-\xFF]/.test(Ze),Xe=[],$e=0,gt=(Ze+=Ue="\0\0\0\0".slice(Ze.length%4||4)).length;gt>$e;$e+=4)(Ut=(Ze.charCodeAt($e)<<24)+(Ze.charCodeAt($e+1)<<16)+(Ze.charCodeAt($e+2)<<8)+Ze.charCodeAt($e+3))!==0?(qt=(Ut=((Ut=((Ut=((Ut=(Ut-(Tn=Ut%85))/85)-(Bn=Ut%85))/85)-(Dn=Ut%85))/85)-(ft=Ut%85))/85)%85,Xe.push(qt+33,ft+33,Dn+33,Bn+33,Tn+33)):Xe.push(122);return function(fn,hr){for(var ir=hr;ir>0;ir--)fn.pop()}(Xe,Ue.length),String.fromCharCode.apply(String,Xe)+"~>"},E=function(Ze){var Ue,Xe,$e,gt,Ut,qt=String,ft="length",Dn=255,Bn="charCodeAt",Tn="slice",fn="replace";for(Ze[Tn](-2),Ze=Ze[Tn](0,-2)[fn](/\s/g,"")[fn]("z","!!!!!"),$e=[],gt=0,Ut=(Ze+=Ue="uuuuu"[Tn](Ze[ft]%5||5))[ft];Ut>gt;gt+=5)Xe=52200625*(Ze[Bn](gt)-33)+614125*(Ze[Bn](gt+1)-33)+7225*(Ze[Bn](gt+2)-33)+85*(Ze[Bn](gt+3)-33)+(Ze[Bn](gt+4)-33),$e.push(Dn&Xe>>24,Dn&Xe>>16,Dn&Xe>>8,Dn&Xe);return function(hr,ir){for(var Wn=ir;Wn>0;Wn--)hr.pop()}($e,Ue[ft]),qt.fromCharCode.apply(qt,$e)},re=function(Ze){return Ze.split("").map(function(Ue){return("0"+Ue.charCodeAt().toString(16)).slice(-2)}).join("")+">"},ce=function(Ze){var Ue=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ze=Ze.replace(/\s/g,"")).indexOf(">")!==-1&&(Ze=Ze.substr(0,Ze.indexOf(">"))),Ze.length%2&&(Ze+="0"),Ue.test(Ze)===!1)return"";for(var Xe="",$e=0;$eBn&&(Dn=Tn,Tn=Bn,Bn=Dn);else{if(Ue!=="l"&&Ue!=="landscape")throw"Invalid orientation: "+Ue;Ue="l",Bn>Tn&&(Dn=Tn,Tn=Bn,Bn=Dn)}return{width:Tn,height:Bn,unit:Xe,k:Ut,orientation:Ue}},y.html=function(Ue,Xe){(Xe=Xe||{}).callback=Xe.callback||function(){},Xe.html2canvas=Xe.html2canvas||{},Xe.html2canvas.canvas=Xe.html2canvas.canvas||this.canvas,Xe.jsPDF=Xe.jsPDF||this,Xe.fontFaces=Xe.fontFaces?Xe.fontFaces.map(JA):null;var $e=new Ze(Xe);return Xe.worker?$e:$e.from(Ue).doCallback()}}(Na.API),Na.API.addJS=function(y){return L0=y,this.internal.events.subscribe("postPutResources",function(){jf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(jf+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),I0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+L0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){jf!==void 0&&I0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var z;y.events.push(["postPutResources",function(){var E=this,re=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var ce=E.outline.render().split(/\r\n/),he=0;he> endobj")}var ft=E.internal.newObject();for(E.internal.write("<< /Names [ "),he=0;he>","endobj"),z=E.internal.newObject(),E.internal.write("<< /Dests "+ft+" 0 R"),E.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+z+" 0 R"))}]),y.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(re,ce,he){var Ze={title:ce,options:he,children:[]};return re==null&&(re=this.root),re.children.push(Ze),Ze},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(re){re.id=E.internal.newObjectDeferred();for(var ce=0;ce0&&(this.line("/First "+this.makeRef(re.children[0])),this.line("/Last "+this.makeRef(re.children[re.children.length-1]))),this.line("/Count "+this.count_r({count:0},re)),this.objEnd()},E.outline.renderItems=function(re){for(var ce=this.ctx.pdf.internal.getVerticalCoordinateString,he=0;he0&&this.line("/Prev "+this.makeRef(re.children[he-1])),he0&&(this.line("/First "+this.makeRef(Ze.children[0])),this.line("/Last "+this.makeRef(Ze.children[Ze.children.length-1])));var Ue=this.count=this.count_r({count:0},Ze);if(Ue>0&&this.line("/Count "+Ue),Ze.options&&Ze.options.pageNumber){var Xe=E.internal.getPageInfo(Ze.options.pageNumber);this.line("/Dest ["+Xe.objId+" 0 R /XYZ 0 "+ce(0)+" 0]")}this.objEnd()}for(var $e=0;$e>"}),"transparency"in kn&&Array.isArray(kn.transparency)&&kn.transparency.length>0){for(var Fi="",ei=0,Ni=kn.transparency.length;ei>",Bn.content=he;var ir=Bn.objId+" 0 R";he="<>";else if(re.options.pageNumber)switch(he="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=1};var $e=y.__arabicParser__.arabicLetterHasFinalForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length>=3};var gt=y.__arabicParser__.arabicLetterHasMedialForm=function(Bn){return Ze(Bn)&&he(Bn)&&z[Bn.charCodeAt(0)].length==4},Ut=y.__arabicParser__.resolveLigatures=function(Bn){var Tn=0,fn=E,hr="",ir=0;for(Tn=0;Tn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+z+" 0 R")})),this},function(y){var z=function(){var E=void 0;Object.defineProperty(this,"pdf",{get:function(){return E},set:function(Ue){E=Ue}});var re=150;Object.defineProperty(this,"width",{get:function(){return re},set:function(Ue){re=isNaN(Ue)||Number.isInteger(Ue)===!1||Ue<0?150:Ue,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=re+1)}});var ce=300;Object.defineProperty(this,"height",{get:function(){return ce},set:function(Ue){ce=isNaN(Ue)||Number.isInteger(Ue)===!1||Ue<0?300:Ue,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=ce+1)}});var he=[];Object.defineProperty(this,"childNodes",{get:function(){return he},set:function(Ue){he=Ue}});var Ze={};Object.defineProperty(this,"style",{get:function(){return Ze},set:function(Ue){Ze=Ue}}),Object.defineProperty(this,"parentNode",{})};z.prototype.getContext=function(E,re){var ce;if((E=E||"2d")!=="2d")return null;for(ce in re)this.pdf.context2d.hasOwnProperty(ce)&&(this.pdf.context2d[ce]=re[ce]);return this.pdf.context2d._canvas=this,this.pdf.context2d},z.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new z,this.canvas.pdf=this}])}(Na.API),function(y){var z={left:0,top:0,bottom:0,right:0},E=!1,re=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},z),this.internal.__cell__.margins.width=this.getPageWidth(),ce.call(this))},ce=function(){this.internal.__cell__.lastCell=new he,this.internal.__cell__.pages=1},he=function(){var Xe=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Xe},set:function(Bn){Xe=Bn}});var $e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return $e},set:function(Bn){$e=Bn}});var gt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return gt},set:function(Bn){gt=Bn}});var Ut=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ut},set:function(Bn){Ut=Bn}});var qt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return qt},set:function(Bn){qt=Bn}});var ft=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ft},set:function(Bn){ft=Bn}});var Dn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return Dn},set:function(Bn){Dn=Bn}}),this};he.prototype.clone=function(){return new he(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},he.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(Xe){return re.call(this),this.internal.__cell__.headerFunction=typeof Xe=="function"?Xe:void 0,this},y.getTextDimensions=function(Xe,$e){re.call(this);var gt=($e=$e||{}).fontSize||this.getFontSize(),Ut=$e.font||this.getFont(),qt=$e.scaleFactor||this.internal.scaleFactor,ft=0,Dn=0,Bn=0,Tn=this;if(!Array.isArray(Xe)&&typeof Xe!="string"){if(typeof Xe!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Xe=String(Xe)}var fn=$e.maxWidth;fn>0?typeof Xe=="string"?Xe=this.splitTextToSize(Xe,fn):Object.prototype.toString.call(Xe)==="[object Array]"&&(Xe=Xe.reduce(function(ir,Wn){return ir.concat(Tn.splitTextToSize(Wn,fn))},[])):Xe=Array.isArray(Xe)?Xe:[Xe];for(var hr=0;hrthis.getPageHeight()?(this.cellAddPage(),Xe.y=Ut.top,ft&&qt&&(this.printHeaderRow(Xe.lineNumber,!0),Xe.y+=qt[0].height)):Xe.y=$e.y+$e.height||Xe.y),Xe.text[0]!==void 0&&(this.rect(Xe.x,Xe.y,Xe.width,Xe.height,E===!0?"FD":void 0),Xe.align==="right"?this.text(Xe.text,Xe.x+Xe.width-gt,Xe.y+gt,{align:"right",baseline:"top"}):Xe.align==="center"?this.text(Xe.text,Xe.x+Xe.width/2,Xe.y+gt,{align:"center",baseline:"top",maxWidth:Xe.width-gt-gt}):this.text(Xe.text,Xe.x+gt,Xe.y+gt,{align:"left",baseline:"top",maxWidth:Xe.width-gt-gt})),this.internal.__cell__.lastCell=Xe,this};y.table=function(Xe,$e,gt,Ut,qt){if(re.call(this),!gt)throw new Error("No data for PDF table.");var ft,Dn,Bn,Tn,fn=[],hr=[],ir=[],Wn={},oi={},Ui=[],Ei=[],Fr=(qt=qt||{}).autoSize||!1,Gn=qt.printHeaders!==!1,Vr=qt.css&&qt.css["font-size"]!==void 0?16*qt.css["font-size"]:qt.fontSize||12,cn=qt.margins||Object.assign({width:this.getPageWidth()},z),kn=typeof qt.padding=="number"?qt.padding:3,fr=qt.headerBackgroundColor||"#c8c8c8",sr=qt.headerTextColor||"#000";if(ce.call(this),this.internal.__cell__.printHeaders=Gn,this.internal.__cell__.margins=cn,this.internal.__cell__.table_font_size=Vr,this.internal.__cell__.padding=kn,this.internal.__cell__.headerBackgroundColor=fr,this.internal.__cell__.headerTextColor=sr,this.setFontSize(Vr),Ut==null)hr=fn=Object.keys(gt[0]),ir=fn.map(function(){return"left"});else if(Array.isArray(Ut)&&(0,x.Z)(Ut[0])==="object")for(fn=Ut.map(function(ko){return ko.name}),hr=Ut.map(function(ko){return ko.prompt||ko.name||""}),ir=Ut.map(function(ko){return ko.align||"left"}),ft=0;ft0&&this.setTableHeaderRow(qt),this.setFont(void 0,"normal"),E=!1}}(Na.API);var Nc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},sf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],nA=zl(sf),lA=[100,200,300,400,500,600,700,800,900],hh=zl(lA);function JA(y){var z=y.family.replace(/"|'/g,"").toLowerCase(),E=function(he){return Nc[he=he||"normal"]?he:"normal"}(y.style),re=function(he){return he?typeof he=="number"?he>=100&&he<=900&&he%100==0?he:400:/^\d00$/.test(he)?parseInt(he):he==="bold"?700:400:400}(y.weight),ce=function(he){return typeof nA[he=he||"normal"]=="number"?he:"normal"}(y.stretch);return{family:z,style:E,weight:re,stretch:ce,src:y.src||[],ref:y.ref||{name:z,style:[ce,E,re].join(" ")}}}function lf(y,z,E,re){var ce;for(ce=E;ce>=0&&ce=0&&ce>>1)&255}return ce}function U0(y,z,E){var re=y.length,ce=[];ce[0]=4;for(var he=0;he>he&Ze}function R0(y,z,E,re){var ce=E*re,he=Math.floor(ce/8),Ze=16-(ce-8*he+re),Ue=(1<>8&255;$e.setUint8(gt,qt)}})(y,he,_0(y,he)&~(Ue<>7,Ze=1<<1+(7&ce);y[z++],y[z++];var Ue=null,Xe=null;he&&(Ue=z,Xe=Ze,z+=3*Ze);var $e=!0,gt=[],Ut=0,qt=null,ft=0,Dn=null;for(this.width=E,this.height=re;$e&&z=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}break;case 249:if(y[z++]!==4||y[z+4]!==0)throw new Error("Invalid graphics extension block.");var Bn=y[z++];Ut=y[z++]|y[z++]<<8,qt=y[z++],1&Bn||(qt=null),ft=Bn>>2&7,z++;break;case 254:for(;;){if(!((cn=y[z++])>=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}break;default:throw new Error("Unknown graphic control label: 0x"+y[z-1].toString(16))}break;case 44:var Tn=y[z++]|y[z++]<<8,fn=y[z++]|y[z++]<<8,hr=y[z++]|y[z++]<<8,ir=y[z++]|y[z++]<<8,Wn=y[z++],oi=Wn>>6&1,Ui=1<<1+(7&Wn),Ei=Ue,Fr=Xe,Gn=!1;Wn>>7&&(Gn=!0,Ei=z,Fr=Ui,z+=3*Ui);var Vr=z;for(z++;;){var cn;if(!((cn=y[z++])>=0))throw Error("Invalid block size");if(cn===0)break;z+=cn}gt.push({x:Tn,y:fn,width:hr,height:ir,has_local_palette:Gn,palette_offset:Ei,palette_size:Fr,data_offset:Vr,data_length:z-Vr,transparent_index:qt,interlaced:!!oi,delay:Ut,disposal:ft});break;case 59:$e=!1;break;default:throw new Error("Unknown gif block: 0x"+y[z-1].toString(16))}this.numFrames=function(){return gt.length},this.loopCount=function(){return Dn},this.frameInfo=function(kn){if(kn<0||kn>=gt.length)throw new Error("Frame index out of range.");return gt[kn]},this.decodeAndBlitFrameBGRA=function(kn,fr){var sr=this.frameInfo(kn),fi=sr.width*sr.height,wi=new Uint8Array(fi);Q0(y,sr.data_offset,wi,fi);var Fi=sr.palette_offset,ei=sr.transparent_index;ei===null&&(ei=256);var Ni=sr.width,ko=E-Ni,io=Ni,on=4*(sr.y*E+sr.x),Kn=4*((sr.y+sr.height)*E+sr.x),qn=on,vr=4*ko;sr.interlaced===!0&&(vr+=4*E*7);for(var kr=8,Jr=0,Si=wi.length;Jr=Kn&&(vr=4*ko+4*E*(kr-1),qn=on+(Ni+ko)*(kr<<1),kr>>=1)),Li===ei)qn+=4;else{var Yi=y[Fi+3*Li],Eo=y[Fi+3*Li+1],ua=y[Fi+3*Li+2];fr[qn++]=ua,fr[qn++]=Eo,fr[qn++]=Yi,fr[qn++]=255}--io}},this.decodeAndBlitFrameRGBA=function(kn,fr){var sr=this.frameInfo(kn),fi=sr.width*sr.height,wi=new Uint8Array(fi);Q0(y,sr.data_offset,wi,fi);var Fi=sr.palette_offset,ei=sr.transparent_index;ei===null&&(ei=256);var Ni=sr.width,ko=E-Ni,io=Ni,on=4*(sr.y*E+sr.x),Kn=4*((sr.y+sr.height)*E+sr.x),qn=on,vr=4*ko;sr.interlaced===!0&&(vr+=4*E*7);for(var kr=8,Jr=0,Si=wi.length;Jr=Kn&&(vr=4*ko+4*E*(kr-1),qn=on+(Ni+ko)*(kr<<1),kr>>=1)),Li===ei)qn+=4;else{var Yi=y[Fi+3*Li],Eo=y[Fi+3*Li+1],ua=y[Fi+3*Li+2];fr[qn++]=Yi,fr[qn++]=Eo,fr[qn++]=ua,fr[qn++]=255}--io}}}function Q0(y,z,E,re){for(var ce=y[z++],he=1<>=Xe,gt-=Xe,Tn!==he){if(Tn===Ze)break;for(var fn=Tnhe;)ir=Dn[ir]>>8,++hr;var Wn=ir;if(qt+hr+(fn!==Tn?1:0)>re)return void dl.log("Warning, gif stream longer than expected.");E[qt++]=Wn;var oi=qt+=hr;for(fn!==Tn&&(E[qt++]=Wn),ir=fn;hr--;)ir=Dn[ir],E[--oi]=255&ir,ir>>=8;Bn!==null&&Ue<4096&&(Dn[Ue++]=Bn<<8|Wn,Ue>=$e+1&&Xe<12&&(++Xe,$e=$e<<1|1)),Bn=Tn}else Ue=Ze+1,$e=(1<<(Xe=ce+1))-1,Bn=null}return qt!==re&&dl.log("Warning, gif stream shorter than expected."),E}function Vm(y){var z,E,re,ce,he,Ze=Math.floor,Ue=new Array(64),Xe=new Array(64),$e=new Array(64),gt=new Array(64),Ut=new Array(65535),qt=new Array(65535),ft=new Array(64),Dn=new Array(64),Bn=[],Tn=0,fn=7,hr=new Array(64),ir=new Array(64),Wn=new Array(64),oi=new Array(256),Ui=new Array(2048),Ei=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Fr=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Gn=[0,1,2,3,4,5,6,7,8,9,10,11],Vr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],cn=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],kn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],fr=[0,1,2,3,4,5,6,7,8,9,10,11],sr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],fi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function wi(on,Kn){for(var qn=0,vr=0,kr=new Array,Jr=1;Jr<=16;Jr++){for(var Si=1;Si<=on[Jr];Si++)kr[Kn[vr]]=[],kr[Kn[vr]][0]=qn,kr[Kn[vr]][1]=Jr,vr++,qn++;qn*=2}return kr}function Fi(on){for(var Kn=on[0],qn=on[1]-1;qn>=0;)Kn&1<>8&255),ei(255&on)}function ko(on,Kn,qn,vr,kr){for(var Jr,Si=kr[0],Li=kr[240],Yi=function(mo,As){var Sa,ss,ts,Jl,pl,Rs,bl,gl,_a,js,Ka=0;for(_a=0;_a<8;++_a){Sa=mo[Ka],ss=mo[Ka+1],ts=mo[Ka+2],Jl=mo[Ka+3],pl=mo[Ka+4],Rs=mo[Ka+5],bl=mo[Ka+6];var Ec=Sa+(gl=mo[Ka+7]),Il=Sa-gl,qs=ss+bl,el=ss-bl,Wu=ts+Rs,is=ts-Rs,Su=Jl+pl,ms=Jl-pl,_s=Ec+Su,Vu=Ec-Su,rl=qs+Wu,fs=qs-Wu;mo[Ka]=_s+rl,mo[Ka+4]=_s-rl;var ql=.707106781*(fs+Vu);mo[Ka+2]=Vu+ql,mo[Ka+6]=Vu-ql;var Sp=.382683433*((_s=ms+is)-(fs=el+Il)),NA=.5411961*_s+Sp,gh=1.306562965*fs+Sp,zf=.707106781*(rl=is+el),hs=Il+zf,mh=Il-zf;mo[Ka+5]=mh+NA,mo[Ka+3]=mh-NA,mo[Ka+1]=hs+gh,mo[Ka+7]=hs-gh,Ka+=8}for(Ka=0,_a=0;_a<8;++_a){Sa=mo[Ka],ss=mo[Ka+8],ts=mo[Ka+16],Jl=mo[Ka+24],pl=mo[Ka+32],Rs=mo[Ka+40],bl=mo[Ka+48];var vh=Sa+(gl=mo[Ka+56]),Qd=Sa-gl,jd=ss+bl,pc=ss-bl,rA=ts+Rs,uA=ts-Rs,Fp=Jl+pl,Vh=Jl-pl,df=vh+Fp,Kf=vh-Fp,ff=jd+rA,hf=jd-rA;mo[Ka]=df+ff,mo[Ka+32]=df-ff;var Hd=.707106781*(hf+Kf);mo[Ka+16]=Kf+Hd,mo[Ka+48]=Kf-Hd;var Ip=.382683433*((df=Vh+uA)-(hf=pc+Qd)),Zf=.5411961*df+Ip,Lp=1.306562965*hf+Ip,rg=.707106781*(ff=uA+pc),ig=Qd+rg,og=Qd-rg;mo[Ka+40]=og+Zf,mo[Ka+24]=og-Zf,mo[Ka+8]=ig+Lp,mo[Ka+56]=ig-Lp,Ka++}for(_a=0;_a<64;++_a)js=mo[_a]*As[_a],ft[_a]=js>0?js+.5|0:js-.5|0;return ft}(on,Kn),Eo=0;Eo<64;++Eo)Dn[Ei[Eo]]=Yi[Eo];var ua=Dn[0]-qn;qn=Dn[0],ua==0?Fi(vr[0]):(Fi(vr[qt[Jr=32767+ua]]),Fi(Ut[Jr]));for(var sa=63;sa>0&&Dn[sa]==0;)sa--;if(sa==0)return Fi(Si),qn;for(var qa,Mn=1;Mn<=sa;){for(var ca=Mn;Dn[Mn]==0&&Mn<=sa;)++Mn;var $s=Mn-ca;if($s>=16){qa=$s>>4;for(var cs=1;cs<=qa;++cs)Fi(Li);$s&=15}Jr=32767+Dn[Mn],Fi(kr[($s<<4)+qt[Jr]]),Fi(Ut[Jr]),Mn++}return sa!=63&&Fi(Si),qn}function io(on){on=Math.min(Math.max(on,1),100),he!=on&&(function(Kn){for(var qn=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],vr=0;vr<64;vr++){var kr=Ze((qn[vr]*Kn+50)/100);kr=Math.min(Math.max(kr,1),255),Ue[Ei[vr]]=kr}for(var Jr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Si=0;Si<64;Si++){var Li=Ze((Jr[Si]*Kn+50)/100);Li=Math.min(Math.max(Li,1),255),Xe[Ei[Si]]=Li}for(var Yi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Eo=0,ua=0;ua<8;ua++)for(var sa=0;sa<8;sa++)$e[Eo]=1/(Ue[Ei[Eo]]*Yi[ua]*Yi[sa]*8),gt[Eo]=1/(Xe[Ei[Eo]]*Yi[ua]*Yi[sa]*8),Eo++}(on<50?Math.floor(5e3/on):Math.floor(200-2*on)),he=on)}this.encode=function(on,Kn){Kn&&io(Kn),Bn=new Array,Tn=0,fn=7,Ni(65496),Ni(65504),Ni(16),ei(74),ei(70),ei(73),ei(70),ei(0),ei(1),ei(1),ei(0),Ni(1),Ni(1),ei(0),ei(0),function(){Ni(65499),Ni(132),ei(0);for(var ss=0;ss<64;ss++)ei(Ue[ss]);ei(1);for(var ts=0;ts<64;ts++)ei(Xe[ts])}(),function(ss,ts){Ni(65472),Ni(17),ei(8),Ni(ts),Ni(ss),ei(3),ei(1),ei(17),ei(0),ei(2),ei(17),ei(1),ei(3),ei(17),ei(1)}(on.width,on.height),function(){Ni(65476),Ni(418),ei(0);for(var ss=0;ss<16;ss++)ei(Fr[ss+1]);for(var ts=0;ts<=11;ts++)ei(Gn[ts]);ei(16);for(var Jl=0;Jl<16;Jl++)ei(Vr[Jl+1]);for(var pl=0;pl<=161;pl++)ei(cn[pl]);ei(1);for(var Rs=0;Rs<16;Rs++)ei(kn[Rs+1]);for(var bl=0;bl<=11;bl++)ei(fr[bl]);ei(17);for(var gl=0;gl<16;gl++)ei(sr[gl+1]);for(var _a=0;_a<=161;_a++)ei(fi[_a])}(),Ni(65498),Ni(12),ei(3),ei(1),ei(0),ei(2),ei(17),ei(3),ei(17),ei(0),ei(63),ei(0);var qn=0,vr=0,kr=0;Tn=0,fn=7,this.encode.displayName="_encode_";for(var Jr,Si,Li,Yi,Eo,ua,sa,qa,Mn,ca=on.data,$s=on.width,cs=on.height,mo=4*$s,As=0;As>3)*mo+(sa=4*(7&Mn)),As+qa>=cs&&(ua-=mo*(As+1+qa-cs)),Jr+sa>=mo&&(ua-=Jr+sa-mo+4),Si=ca[ua++],Li=ca[ua++],Yi=ca[ua++],hr[Mn]=(Ui[Si]+Ui[Li+256|0]+Ui[Yi+512|0]>>16)-128,ir[Mn]=(Ui[Si+768|0]+Ui[Li+1024|0]+Ui[Yi+1280|0]>>16)-128,Wn[Mn]=(Ui[Si+1280|0]+Ui[Li+1536|0]+Ui[Yi+1792|0]>>16)-128;qn=ko(hr,$e,qn,z,re),vr=ko(ir,gt,vr,E,ce),kr=ko(Wn,gt,kr,E,ce),Jr+=32}As+=8}if(fn>=0){var Sa=[];Sa[1]=fn+1,Sa[0]=(1<kn;kn++)if(Gn[Vr+kn]!=cn.charCodeAt(kn))return!0;return!1}function re(Gn,Vr,cn,kn,fr){for(var sr=0;srsr+1?[]:new Vr),!(fi.length>>0;pe⁢)it>>>=1;return it?(pe&it-1)+it:pe}function cn(pe,De,it,Et,zt){z(!(Et%it));do pe[De+(Et-=it)]=zt;while(0=zt),512>=zt)var en=he(512);else if((en=he(zt))==null)return 0;return function(rn,gn,xn,Rn,xr,ri){var _n,Tr,Gr=gn,Mi=1<_n;++_n){if(qr[_n]>1<<_n)return 0;ji[_n+1]=ji[_n]+qr[_n]}for(Tr=0;Tr(Ws-=qr[_n]))return 0;for(;0=_n;++_n,xr<<=1){if(Ba+=Ws<<=1,0>(Ws-=qr[_n]))return 0;for(;0wo&&!(0>=(Vi-=qr[wo]));)++wo,Vi<<=1;Mi+=Oa=1<<(Vi=wo-xn),rn[gn+(wo=za&lo)].g=Vi+xn,rn[gn+wo].value=Gr-gn-wo}Rn.g=_n-xn,Rn.value=ri[Tr++],cn(rn,Gr+(za>>xn),xr,Oa,Rn),za=Vr(za,_n)}}return Ba!=2*ji[15]-1?0:Mi}(pe,De,it,Et,zt,en)}function fr(){this.value=this.g=0}function sr(){this.value=this.g=0}function fi(){this.G=Ze(5,fr),this.H=he(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Ze(Qp,sr)}function wi(pe,De,it,Et){z(pe!=null),z(De!=null),z(2147483648>Et),pe.Ca=254,pe.I=0,pe.b=-8,pe.Ka=0,pe.oa=De,pe.pa=it,pe.Jd=De,pe.Yc=it+Et,pe.Zc=4<=Et?it+Et-4+1:it,Si(pe)}function Fi(pe,De){for(var it=0;0Et),pe.Sb=Et,pe.Ra=0,pe.u=0,pe.h=0,4>>=8,pe.Ra+=pe.oa[pe.pa+pe.bb]<<$h-8>>>0,++pe.bb,pe.u-=8;vr(pe)&&(pe.h=1,pe.u=0)}function io(pe,De){if(z(0<=De),!pe.h&&De<=vd){var it=qn(pe)&md[De];return pe.u+=De,ko(pe),it}return pe.h=1,pe.u=0}function on(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Kn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function qn(pe){return pe.Ra>>>(pe.u&$h-1)>>>0}function vr(pe){return z(pe.bb<=pe.Sb),pe.h||pe.bb==pe.Sb&&pe.u>$h}function kr(pe,De){pe.u=De,pe.h=vr(pe)}function Jr(pe){pe.u>=Lh&&(z(pe.u>=Lh),ko(pe))}function Si(pe){z(pe!=null&&pe.oa!=null),pe.pa>>0,pe.b+=8):(z(pe!=null&&pe.oa!=null),pe.pape.b&&Si(pe);var Et=pe.b,zt=it*De>>>8,en=(pe.I>>>Et>zt)+0;for(en?(it-=zt,pe.I-=zt+1<>>0):it=zt+1,Et=it,zt=0;256<=Et;)zt+=8,Et>>=8;return Et=7^zt+Jh[Et],pe.b-=Et,pe.Ca=(it<>24&255,pe[De+1]=it>>16&255,pe[De+2]=it>>8&255,pe[De+3]=255&it}function ua(pe,De){return pe[De+0]|pe[De+1]<<8}function sa(pe,De){return ua(pe,De)|pe[De+2]<<16}function qa(pe,De){return ua(pe,De)|ua(pe,De+2)<<16}function Mn(pe,De){var it=1<=zt||0>=en?0:(it[0]=zt,Et[0]=en,1)}function mo(pe,De){return pe+(1<>>De}function As(pe,De){return((4278255360&pe)+(4278255360&De)>>>0&4278255360)+((16711935&pe)+(16711935&De)>>>0&16711935)>>>0}function Sa(pe,De){Gn[De]=function(it,Et,zt,en,rn,gn,xn){var Rn;for(Rn=0;Rn>>1)+(pe&De)>>>0}function Jl(pe){return 0<=pe&&256>pe?pe:0>pe?0:255>1))}function Rs(pe,De,it){return Math.abs(De-it)-Math.abs(pe-it)}function bl(pe,De,it,Et,zt,en,rn){for(Et=en[rn-1],it=0;it>8&255,xn=16711935&(xn=(xn=16711935&rn)+((gn<<16)+gn));Et[zt+en]=(4278255360&rn)+xn>>>0}}function _a(pe,De){De.jd=255&pe,De.hd=pe>>8&255,De.ud=pe>>16&255}function js(pe,De,it,Et,zt,en){var rn;for(rn=0;rn>>8,Rn=gn,xr=255&(xr=(xr=gn>>>16)+((pe.jd<<24>>24)*(xn<<24>>24)>>>5));Rn=255&(Rn=(Rn+=(pe.hd<<24>>24)*(xn<<24>>24)>>>5)+((pe.ud<<24>>24)*(xr<<24>>24)>>>5)),zt[en+rn]=(4278255360&gn)+(xr<<16)+Rn}}function Ka(pe,De,it,Et,zt){Gn[De]=function(en,rn,gn,xn,Rn,xr,ri,_n,Tr){for(xn=ri;xn<_n;++xn)for(ri=0;ri>en.b,Tr=en.Ea,Gr=en.K[0],Mi=en.w;if(8>_n)for(en=(1<>=_n}else Gn["VP8LMapColor"+it](xn,Rn,Gr,Mi,xr,ri,rn,gn,Tr)}}function Ec(pe,De,it,Et,zt){for(it=De+it;De>16&255,Et[zt++]=en>>8&255,Et[zt++]=255&en}}function Il(pe,De,it,Et,zt){for(it=De+it;De>16&255,Et[zt++]=en>>8&255,Et[zt++]=255&en,Et[zt++]=en>>24&255}}function qs(pe,De,it,Et,zt){for(it=De+it;De>16&240|rn>>12&15,rn=240&rn|rn>>28&15;Et[zt++]=en,Et[zt++]=rn}}function el(pe,De,it,Et,zt){for(it=De+it;De>16&248|rn>>13&7,rn=rn>>5&224|rn>>3&31;Et[zt++]=en,Et[zt++]=rn}}function Wu(pe,De,it,Et,zt){for(it=De+it;De>8&255,Et[zt++]=en>>16&255}}function is(pe,De,it,Et,zt,en){if(en==0)for(it=De+it;De>24|en[1]>>8&65280|en[2]<<8&16711680|en[3]<<24)>>>0),zt+=32;else re(Et,zt,pe,De,it)}function Su(pe,De){Gn[De][0]=Gn[pe+"0"],Gn[De][1]=Gn[pe+"1"],Gn[De][2]=Gn[pe+"2"],Gn[De][3]=Gn[pe+"3"],Gn[De][4]=Gn[pe+"4"],Gn[De][5]=Gn[pe+"5"],Gn[De][6]=Gn[pe+"6"],Gn[De][7]=Gn[pe+"7"],Gn[De][8]=Gn[pe+"8"],Gn[De][9]=Gn[pe+"9"],Gn[De][10]=Gn[pe+"10"],Gn[De][11]=Gn[pe+"11"],Gn[De][12]=Gn[pe+"12"],Gn[De][13]=Gn[pe+"13"],Gn[De][14]=Gn[pe+"0"],Gn[De][15]=Gn[pe+"0"]}function ms(pe){return pe==d0||pe==f0||pe==Lm||pe==h0}function _s(){this.eb=[],this.size=this.A=this.fb=0}function Vu(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function rl(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new _s,this.f.kb=new Vu,this.sd=null}function fs(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ql(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Sp(pe){return alert("todo:WebPSamplerProcessPlane"),pe.T}function NA(pe,De){var it=pe.T,Et=De.ba.f.RGBA,zt=Et.eb,en=Et.fb+pe.ka*Et.A,rn=Gd[De.ba.S],gn=pe.y,xn=pe.O,Rn=pe.f,xr=pe.N,ri=pe.ea,_n=pe.W,Tr=De.cc,Gr=De.dc,Mi=De.Mc,qr=De.Nc,ji=pe.ka,Vi=pe.ka+pe.T,wo=pe.U,lo=wo+1>>1;for(ji==0?rn(gn,xn,null,null,Rn,xr,ri,_n,Rn,xr,ri,_n,zt,en,null,null,wo):(rn(De.ec,De.fc,gn,xn,Tr,Gr,Mi,qr,Rn,xr,ri,_n,zt,en-Et.A,zt,en,wo),++it);ji+2it,zt=it==Sm||it==Fm||it==Im||it==A0||it==12||ms(it);if(De.memory=null,De.Ib=null,De.Jb=null,De.Nd=null,!Rg(De.Oa,pe,zt?11:12))return 0;if(zt&&ms(it)&&kg(),pe.da)alert("todo:use_scaling");else{if(Et){if(De.Ib=Sp,pe.Kb){if(it=pe.U+1>>1,De.memory=he(pe.U+2*it),De.memory==null)return 0;De.ec=De.memory,De.fc=0,De.cc=De.ec,De.dc=De.fc+pe.U,De.Mc=De.cc,De.Nc=De.dc+it,De.Ib=NA,kg()}}else alert("todo:EmitYUV");zt&&(De.Jb=gh,Et&&gf())}if(Et&&!pv){for(pe=0;256>pe;++pe)g1[pe]=89858*(pe-128)+Nm>>Dm,y1[pe]=-22014*(pe-128)+Nm,v1[pe]=-45773*(pe-128),m1[pe]=113618*(pe-128)+Nm>>Dm;for(pe=Gg;pe>Dm,w1[pe-Gg]=Wf(De,255),b1[pe-Gg]=Wf(De+8>>4,15);pv=1}return 1}function hs(pe){var De=pe.ma,it=pe.U,Et=pe.T;return z(!(1&pe.ka)),0>=it||0>=Et?0:(it=De.Ib(pe,De),De.Jb!=null&&De.Jb(pe,De,it),De.Dc+=it,1)}function mh(pe){pe.ma.memory=null}function vh(pe,De,it,Et){return io(pe,8)!=47?0:(De[0]=io(pe,14)+1,it[0]=io(pe,14)+1,Et[0]=io(pe,1),io(pe,3)!=0?0:!pe.h)}function Qd(pe,De){if(4>pe)return pe+1;var it=pe-2>>1;return(2+(1&pe)<>4)*pe+(8-(15&it)))?it:1;var it}function pc(pe,De,it){var Et=qn(it),zt=pe[De+=255&Et].g-8;return 0>>0,z(8>=it.g),pe.g}function uA(pe,De,it){var Et=pe.xc;return z((De=Et==0?0:pe.vc[pe.md*(it>>Et)+(De>>Et)])>Oa.b)*Ba;Miwo&&(Pa=wo),(0,Hg[Cl[Kc++]>>8&15])(_n,Tr+ +Vs,ji,Vi+Vs-wo,Pa-Vs,ji,Vi+Vs),Vs=Pa}Tr+=wo,Vi+=wo,++Mi&za||(Oa+=Ba)}ri!=Rn.nc&&re(xn,gn-Gr,xn,gn+(ri-xr-1)*Gr,Gr);break;case 1:for(Gr=_n,qr=Tr,wo=(_n=Rn.Ea)-(Vi=_n&~(ji=(Tr=1<>Rn.b)*Mi;xr=zt),0en.o&&(Et=en.o),it=Et?it=0:(zt[0]+=4*en.v,en.ka=it-en.j,en.U=en.va-en.v,en.T=Et-it,it=1),it){if(gn=gn[0],11>(it=pe.ca).S){var xr=it.f.RGBA,ri=(Et=it.S,zt=en.U,en=en.T,Rn=xr.eb,xr.A),_n=en;for(xr=xr.fb+pe.Ma*xr.A;0<_n--;){var Tr=rn,Gr=gn,Mi=zt,qr=Rn,ji=xr;switch(Et){case Em:Kg(Tr,Gr,Mi,qr,ji);break;case Sm:qh(Tr,Gr,Mi,qr,ji);break;case d0:qh(Tr,Gr,Mi,qr,ji),Wg(qr,ji,0,Mi,1,0);break;case ov:jp(Tr,Gr,Mi,qr,ji);break;case Fm:is(Tr,Gr,Mi,qr,ji,1);break;case f0:is(Tr,Gr,Mi,qr,ji,1),Wg(qr,ji,0,Mi,1,0);break;case Im:is(Tr,Gr,Mi,qr,ji,0);break;case Lm:is(Tr,Gr,Mi,qr,ji,0),Wg(qr,ji,1,Mi,1,0);break;case A0:ep(Tr,Gr,Mi,qr,ji);break;case h0:ep(Tr,Gr,Mi,qr,ji),$0(qr,ji,Mi,1,0);break;case av:tp(Tr,Gr,Mi,qr,ji);break;default:z(0)}gn+=xn,xr+=ri}pe.Ma+=en}else alert("todo:EmitRescaledRowsYUVA");z(pe.Ma<=it.height)}}pe.C=De,z(pe.C<=pe.i)}function df(pe){var De;if(0Et){var zt=pe.l.width,en=it.ca,rn=it.tb+zt*Et,gn=pe.V,xn=pe.Ba+pe.c*Et,Rn=pe.gc;z(pe.ab==1),z(Rn[0].hc==3),Yf(Rn[0],Et,De,gn,xn,en,rn),Kf(it,Et,De,en,rn,zt)}pe.C=pe.Ma=De}function hf(pe,De,it,Et,zt,en,rn){var gn=pe.$/Et,xn=pe.$%Et,Rn=pe.m,xr=pe.s,ri=it+pe.$,_n=ri;zt=it+Et*zt;var Tr=it+Et*en,Gr=280+xr.ua,Mi=pe.Pb?gn:16777216,qr=0=Mi){var za=ri-it;z((Mi=pe).Pb),Mi.wd=Mi.m,Mi.xd=za,0Ws.g?(kr(lo,lo.u+Ws.g),za[Ba]=Ws.value,lo=0):(kr(lo,lo.u+Ws.g-256),z(256<=Ws.value),lo=Ws.value),lo==0&&(wo=!0)}else lo=pc(Vi.G[0],Vi.H[0],Rn);if(Rn.h)break;if(wo||256>lo){if(!wo)if(Vi.nd)De[ri]=(Vi.qb|lo<<8)>>>0;else{if(Jr(Rn),wo=pc(Vi.G[1],Vi.H[1],Rn),Jr(Rn),za=pc(Vi.G[2],Vi.H[2],Rn),Ba=pc(Vi.G[3],Vi.H[3],Rn),Rn.h)break;De[ri]=(Ba<<24|wo<<16|lo<<8|za)>>>0}if(wo=!1,++ri,++xn>=Et&&(xn=0,++gn,rn!=null&&gn<=en&&!(gn%16)&&rn(pe,gn),qr!=null))for(;_n>>qr.Mb]=lo}else if(280>lo){if(lo=Qd(lo-256,Rn),za=pc(Vi.G[4],Vi.H[4],Rn),Jr(Rn),za=jd(Et,za=Qd(za,Rn)),Rn.h)break;if(ri-it=Et;)xn-=Et,++gn,rn!=null&&gn<=en&&!(gn%16)&&rn(pe,gn);if(z(ri<=zt),xn&ji&&(Vi=uA(xr,xn,gn)),qr!=null)for(;_n>>qr.Mb]=lo}else{if(!(lo>>qr.Mb]=lo;lo=ri,z(!(wo>>>(za=qr).Xa)),De[lo]=za.X[wo],wo=!0}wo||z(Rn.h==vr(Rn))}if(pe.Pb&&Rn.h&&rien?en:gn),pe.a=0,pe.$=ri-it}return 1}return pe.a=3,0}function Hd(pe){z(pe!=null),pe.vc=null,pe.yc=null,pe.Ya=null;var De=pe.Wa;De!=null&&(De.X=null),pe.vb=null,z(pe!=null)}function Ip(){var pe=new Ss;return pe==null?null:(pe.a=0,pe.xb=uv,Su("Predictor","VP8LPredictors"),Su("Predictor","VP8LPredictors_C"),Su("PredictorAdd","VP8LPredictorsAdd"),Su("PredictorAdd","VP8LPredictorsAdd_C"),Sc=gl,zg=js,Kg=Ec,qh=Il,ep=qs,tp=el,jp=Wu,Gn.VP8LMapColor32b=Xf,Gn.VP8LMapColor8b=jg,pe)}function Zf(pe,De,it,Et,zt){var en=1,rn=[pe],gn=[De],xn=Et.m,Rn=Et.s,xr=null,ri=0;e:for(;;){if(it)for(;en&&io(xn,1);){var _n=rn,Tr=gn,Gr=Et,Mi=1,qr=Gr.m,ji=Gr.gc[Gr.ab],Vi=io(qr,2);if(Gr.Oc&1<=Gr.ab),Vi){case 0:case 1:ji.b=io(qr,3)+2,Mi=Zf(mo(ji.Ea,ji.b),mo(ji.nc,ji.b),0,Gr,ji.K),ji.K=ji.K[0];break;case 3:var wo,lo=io(qr,8)+1,za=16>Oa.b),Kc=he(Cl);if(Kc==null)wo=0;else{var Vs=Oa.K[0],Pa=Oa.w;for(Kc[0]=Oa.K[0][0],Ba=1;Ba<1*Ws;++Ba)Kc[Ba]=As(Vs[Pa+Ba],Kc[Ba-1]);for(;Ba<4*Cl;++Ba)Kc[Ba]=0;Oa.K[0]=null,Oa.K[0]=Kc,wo=1}}Mi=wo;break;case 2:break;default:z(0)}en=Mi}}if(rn=rn[0],gn=gn[0],en&&io(xn,1)&&!(en=1<=(ri=io(xn,4))&&11>=ri)){Et.a=3;break e}var Jo;if(Jo=en)t:{var Ic,Qs,Fl,Ru=Et,dA=rn,HA=gn,gc=ri,OA=it,zA=Ru.m,Zc=Ru.s,Dl=[null],ou=1,mc=0,au=r1[gc];n:for(;;){if(OA&&io(zA,1)){var fA=io(zA,3)+2,vf=mo(dA,fA),Lc=mo(HA,fA),qA=vf*Lc;if(!Zf(vf,Lc,0,Ru,Dl))break n;for(Dl=Dl[0],Zc.xc=fA,Ic=0;Ic>8&65535;Dl[Ic]=yu,yu>=ou&&(ou=yu+1)}}if(zA.h)break n;for(Qs=0;5>Qs;++Qs){var Wc=sv[Qs];!Qs&&0=KA),Cd=bd;var ed=he(mc);if(Cd==null||ed==null||wd==null){Ru.a=1;break n}var xd=wd;for(Ic=Fl=0;IcQs;++Qs){Wc=sv[Qs],Bd[Qs]=xd,yf[Qs]=Fl,!Qs&&0Um)break r}else w0=Um;for(Yg=0;Ygpg)Cv[Yg++]=pg,pg!=0&&(xv=pg);else{var N1=pg==16,Sv=pg-16,O1=qv[Sv],Fv=io(ap,Jv[Sv])+O1;if(Yg+Fv>Um)break r;for(var P1=N1?xv:0;0=Qs){var $g,C0=ed[0];for($g=1;$gC0&&(C0=ed[$g]);hA+=C0}}if(Iu.nd=Oh,Iu.Qb=0,Oh&&(Iu.qb=(Bd[3][yf[3]+0].value<<24|Bd[1][yf[1]+0].value<<16|Bd[2][yf[2]+0].value)>>>0,zp==0&&256>Bd[0][yf[0]+0].value&&(Iu.Qb=1,Iu.qb+=Bd[0][yf[0]+0].value<<8)),Iu.jc=!Iu.Qb&&6>hA,Iu.jc){var Rm,Ph=Iu;for(Rm=0;Rm>=rA(_m,8,lp),sp>>=rA(Ph.G[1][Ph.H[1]+sp],16,lp),sp>>=rA(Ph.G[2][Ph.H[2]+sp],0,lp),rA(Ph.G[3][Ph.H[3]+sp],24,lp))}}}Zc.vc=Dl,Zc.Wb=ou,Zc.Ya=Cd,Zc.yc=wd,Jo=1;break t}Jo=0}if(!(en=Jo)){Et.a=3;break e}if(0Et+1?[]:0),!(zt.lengthpe?0:pe>De?De:pe}function ag(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Xm(){var pe=new um;return pe!=null&&(pe.a=0,pe.sc="OK",pe.cb=0,pe.Xb=0,Vg||(Vg=sg)),pe}function Oc(pe,De,it){return pe.a==0&&(pe.a=De,pe.sc=it,pe.cb=0),0}function cm(pe,De,it){return 3<=it&&pe[De+0]==157&&pe[De+1]==1&&pe[De+2]==42}function Vf(pe,De){if(pe==null)return 0;if(pe.a=0,pe.sc="OK",De==null)return Oc(pe,2,"null VP8Io passed to VP8GetHeaders()");var it=De.data,Et=De.w,zt=De.ha;if(4>zt)return Oc(pe,7,"Truncated header.");var en=it[Et+0]|it[Et+1]<<8|it[Et+2]<<16,rn=pe.Od;if(rn.Rb=!(1&en),rn.td=en>>1&7,rn.yd=en>>4&1,rn.ub=en>>5,3zt)return Oc(pe,7,"cannot parse picture header");if(!cm(it,Et,zt))return Oc(pe,3,"Bad code word");gn.c=16383&(it[Et+4]<<8|it[Et+3]),gn.Td=it[Et+4]>>6,gn.i=16383&(it[Et+6]<<8|it[Et+5]),gn.Ud=it[Et+6]>>6,Et+=7,zt-=7,pe.za=gn.c+15>>4,pe.Ub=gn.i+15>>4,De.width=gn.c,De.height=gn.i,De.Da=0,De.j=0,De.v=0,De.va=De.width,De.o=De.height,De.da=0,De.ib=De.width,De.hb=De.height,De.U=De.width,De.T=De.height,ce((en=pe.Pa).jb,0,255,en.jb.length),z((en=pe.Qa)!=null),en.Cb=0,en.Bb=0,en.Fb=1,ce(en.Zb,0,0,en.Zb.length),ce(en.Lb,0,0,en.Lb)}if(rn.ub>zt)return Oc(pe,7,"bad partition length");wi(en=pe.m,it,Et,rn.ub),Et+=rn.ub,zt-=rn.ub,rn.Rb&&(gn.Ld=Li(en),gn.Kd=Li(en)),gn=pe.Qa;var xn,Rn=pe.Pa;if(z(en!=null),z(gn!=null),gn.Cb=Li(en),gn.Cb){if(gn.Bb=Li(en),Li(en)){for(gn.Fb=Li(en),xn=0;4>xn;++xn)gn.Zb[xn]=Li(en)?ei(en,7):0;for(xn=0;4>xn;++xn)gn.Lb[xn]=Li(en)?ei(en,6):0}if(gn.Bb)for(xn=0;3>xn;++xn)Rn.jb[xn]=Li(en)?Fi(en,8):255}else gn.Bb=0;if(en.Ka)return Oc(pe,3,"cannot parse segment header");if((gn=pe.ed).zd=Li(en),gn.Tb=Fi(en,6),gn.wb=Fi(en,3),gn.Pc=Li(en),gn.Pc&&Li(en)){for(Rn=0;4>Rn;++Rn)Li(en)&&(gn.vd[Rn]=ei(en,6));for(Rn=0;4>Rn;++Rn)Li(en)&&(gn.od[Rn]=ei(en,6))}if(pe.L=gn.Tb==0?0:gn.zd?1:2,en.Ka)return Oc(pe,3,"cannot parse filter header");var xr=zt;if(zt=xn=Et,Et=xn+xr,gn=xr,pe.Xb=(1<gn&&(ri=gn),wi(pe.Jc[+xr],it,xn,ri),xn+=ri,gn-=ri,zt+=3}wi(pe.Jc[+Rn],it,xn,gn),it=xnri;++ri){if(xr.Cb){var _n=xr.Zb[ri];xr.Fb||(_n+=it)}else{if(0>16,8>Tr.Eb[1]&&(Tr.Eb[1]=8),Tr.Qc[0]=p0[Wf(_n+Rn,117)],Tr.Qc[1]=g0[Wf(_n+xn,127)],Tr.lc=_n+xn}if(!rn.Rb)return Oc(pe,4,"Not a key frame.");for(Li(en),rn=pe.Pa,it=0;4>it;++it){for(zt=0;8>zt;++zt)for(Et=0;3>Et;++Et)for(gn=0;11>gn;++gn)Rn=Yi(en,u1[it][zt][Et][gn])?Fi(en,8):s1[it][zt][Et][gn],rn.Wc[it][zt].Yb[Et][gn]=Rn;for(zt=0;17>zt;++zt)rn.Xc[it][zt]=rn.Wc[it][c1[zt]]}return pe.kc=Li(en),pe.kc&&(pe.Bd=Fi(en,8)),pe.cb=1}function sg(pe,De,it,Et,zt,en,rn){var gn=De[zt].Yb[it];for(it=0;16>zt;++zt){if(!Yi(pe,gn[it+0]))return zt;for(;!Yi(pe,gn[it+1]);)if(gn=De[++zt].Yb[0],it=0,zt==16)return 16;var xn=De[zt+1].Yb;if(Yi(pe,gn[it+2])){var Rn=pe,xr=0;if(Yi(Rn,(_n=gn)[(ri=it)+3]))if(Yi(Rn,_n[ri+6])){for(gn=0,ri=2*(xr=Yi(Rn,_n[ri+8]))+(_n=Yi(Rn,_n[ri+9+xr])),xr=0,_n=o1[ri];_n[gn];++gn)xr+=xr+Yi(Rn,_n[gn]);xr+=3+(8<(Rn=pe).b&&Si(Rn);var ri,_n=Rn.b,Tr=(ri=Rn.Ca>>1)-(Rn.I>>_n)>>31;--Rn.b,Rn.Ca+=Tr,Rn.Ca|=1,Rn.I-=(ri+1&Tr)<<_n,en[xn]=((xr^Tr)-Tr)*Et[(0>3),pe[De+it+32*Et]=-256&zt?0>zt?0:255:zt}function jc(pe,De,it,Et,zt,en){Kd(pe,De,0,it,Et+zt),Kd(pe,De,1,it,Et+en),Kd(pe,De,2,it,Et-en),Kd(pe,De,3,it,Et-zt)}function yh(pe){return(20091*pe>>16)+pe}function dm(pe,De,it,Et){var zt,en=0,rn=he(16);for(zt=0;4>zt;++zt){var gn=pe[De+0]+pe[De+8],xn=pe[De+0]-pe[De+8],Rn=(35468*pe[De+4]>>16)-yh(pe[De+12]),xr=yh(pe[De+4])+(35468*pe[De+12]>>16);rn[en+0]=gn+xr,rn[en+1]=xn+Rn,rn[en+2]=xn-Rn,rn[en+3]=gn-xr,en+=4,De++}for(zt=en=0;4>zt;++zt)gn=(pe=rn[en+0]+4)+rn[en+8],xn=pe-rn[en+8],Rn=(35468*rn[en+4]>>16)-yh(rn[en+12]),Kd(it,Et,0,0,gn+(xr=yh(rn[en+4])+(35468*rn[en+12]>>16))),Kd(it,Et,1,0,xn+Rn),Kd(it,Et,2,0,xn-Rn),Kd(it,Et,3,0,gn-xr),en++,Et+=32}function Ym(pe,De,it,Et){var zt=pe[De+0]+4,en=35468*pe[De+4]>>16,rn=yh(pe[De+4]),gn=35468*pe[De+1]>>16;jc(it,Et,0,zt+rn,pe=yh(pe[De+1]),gn),jc(it,Et,1,zt+en,pe,gn),jc(it,Et,2,zt-en,pe,gn),jc(it,Et,3,zt-rn,pe,gn)}function $m(pe,De,it,Et,zt){dm(pe,De,it,Et),zt&&dm(pe,De+16,it,Et+4)}function Gf(pe,De,it,Et){Hp(pe,De+0,it,Et,1),Hp(pe,De+32,it,Et+128,1)}function fm(pe,De,it,Et){var zt;for(pe=pe[De+0]+4,zt=0;4>zt;++zt)for(De=0;4>De;++De)Kd(it,Et,De,zt,pe)}function hm(pe,De,it,Et){pe[De+0]&&eu(pe,De+0,it,Et),pe[De+16]&&eu(pe,De+16,it,Et+4),pe[De+32]&&eu(pe,De+32,it,Et+128),pe[De+48]&&eu(pe,De+48,it,Et+128+4)}function lg(pe,De,it,Et){var zt,en=he(16);for(zt=0;4>zt;++zt){var rn=pe[De+0+zt]+pe[De+12+zt],gn=pe[De+4+zt]+pe[De+8+zt],xn=pe[De+4+zt]-pe[De+8+zt],Rn=pe[De+0+zt]-pe[De+12+zt];en[0+zt]=rn+gn,en[8+zt]=rn-gn,en[4+zt]=Rn+xn,en[12+zt]=Rn-xn}for(zt=0;4>zt;++zt)rn=(pe=en[0+4*zt]+3)+en[3+4*zt],gn=en[1+4*zt]+en[2+4*zt],xn=en[1+4*zt]-en[2+4*zt],Rn=pe-en[3+4*zt],it[Et+0]=rn+gn>>3,it[Et+16]=Rn+xn>>3,it[Et+32]=rn-gn>>3,it[Et+48]=Rn-xn>>3,Et+=64}function Dp(pe,De,it){var Et,zt=De-32,en=yd,rn=255-pe[zt-1];for(Et=0;Etit;++it)re(pe,De+32*it,pe,De-32,16)}function pm(pe,De){var it;for(it=16;0Et;++Et)ce(De,it+32*Et,pe,16)}function t0(pe,De){var it,Et=16;for(it=0;16>it;++it)Et+=pe[De-1+32*it]+pe[De+it-32];pf(Et>>5,pe,De)}function Np(pe,De){var it,Et=8;for(it=0;16>it;++it)Et+=pe[De-1+32*it];pf(Et>>4,pe,De)}function Ig(pe,De){var it,Et=8;for(it=0;16>it;++it)Et+=pe[De+it-32];pf(Et>>4,pe,De)}function n0(pe,De){pf(128,pe,De)}function Ds(pe,De,it){return pe+2*De+it+2>>2}function r0(pe,De){var it,Et=De-32;for(Et=new Uint8Array([Ds(pe[Et-1],pe[Et+0],pe[Et+1]),Ds(pe[Et+0],pe[Et+1],pe[Et+2]),Ds(pe[Et+1],pe[Et+2],pe[Et+3]),Ds(pe[Et+2],pe[Et+3],pe[Et+4])]),it=0;4>it;++it)re(pe,De+32*it,Et,0,Et.length)}function i0(pe,De){var it=pe[De-1],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96];Eo(pe,De+0,16843009*Ds(pe[De-1-32],it,Et)),Eo(pe,De+32,16843009*Ds(it,Et,zt)),Eo(pe,De+64,16843009*Ds(Et,zt,en)),Eo(pe,De+96,16843009*Ds(zt,en,en))}function o0(pe,De){var it,Et=4;for(it=0;4>it;++it)Et+=pe[De+it-32]+pe[De-1+32*it];for(Et>>=3,it=0;4>it;++it)ce(pe,De+32*it,Et,4)}function wh(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1-32],rn=pe[De+0-32],gn=pe[De+1-32],xn=pe[De+2-32],Rn=pe[De+3-32];pe[De+0+96]=Ds(Et,zt,pe[De-1+96]),pe[De+1+96]=pe[De+0+64]=Ds(it,Et,zt),pe[De+2+96]=pe[De+1+64]=pe[De+0+32]=Ds(en,it,Et),pe[De+3+96]=pe[De+2+64]=pe[De+1+32]=pe[De+0+0]=Ds(rn,en,it),pe[De+3+64]=pe[De+2+32]=pe[De+1+0]=Ds(gn,rn,en),pe[De+3+32]=pe[De+2+0]=Ds(xn,gn,rn),pe[De+3+0]=Ds(Rn,xn,gn)}function bh(pe,De){var it=pe[De+1-32],Et=pe[De+2-32],zt=pe[De+3-32],en=pe[De+4-32],rn=pe[De+5-32],gn=pe[De+6-32],xn=pe[De+7-32];pe[De+0+0]=Ds(pe[De+0-32],it,Et),pe[De+1+0]=pe[De+0+32]=Ds(it,Et,zt),pe[De+2+0]=pe[De+1+32]=pe[De+0+64]=Ds(Et,zt,en),pe[De+3+0]=pe[De+2+32]=pe[De+1+64]=pe[De+0+96]=Ds(zt,en,rn),pe[De+3+32]=pe[De+2+64]=pe[De+1+96]=Ds(en,rn,gn),pe[De+3+64]=pe[De+2+96]=Ds(rn,gn,xn),pe[De+3+96]=Ds(gn,xn,xn)}function a0(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1-32],rn=pe[De+0-32],gn=pe[De+1-32],xn=pe[De+2-32],Rn=pe[De+3-32];pe[De+0+0]=pe[De+1+64]=en+rn+1>>1,pe[De+1+0]=pe[De+2+64]=rn+gn+1>>1,pe[De+2+0]=pe[De+3+64]=gn+xn+1>>1,pe[De+3+0]=xn+Rn+1>>1,pe[De+0+96]=Ds(zt,Et,it),pe[De+0+64]=Ds(Et,it,en),pe[De+0+32]=pe[De+1+96]=Ds(it,en,rn),pe[De+1+32]=pe[De+2+96]=Ds(en,rn,gn),pe[De+2+32]=pe[De+3+96]=Ds(rn,gn,xn),pe[De+3+32]=Ds(gn,xn,Rn)}function s0(pe,De){var it=pe[De+0-32],Et=pe[De+1-32],zt=pe[De+2-32],en=pe[De+3-32],rn=pe[De+4-32],gn=pe[De+5-32],xn=pe[De+6-32],Rn=pe[De+7-32];pe[De+0+0]=it+Et+1>>1,pe[De+1+0]=pe[De+0+64]=Et+zt+1>>1,pe[De+2+0]=pe[De+1+64]=zt+en+1>>1,pe[De+3+0]=pe[De+2+64]=en+rn+1>>1,pe[De+0+32]=Ds(it,Et,zt),pe[De+1+32]=pe[De+0+96]=Ds(Et,zt,en),pe[De+2+32]=pe[De+1+96]=Ds(zt,en,rn),pe[De+3+32]=pe[De+2+96]=Ds(en,rn,gn),pe[De+3+64]=Ds(rn,gn,xn),pe[De+3+96]=Ds(gn,xn,Rn)}function ug(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96];pe[De+0+0]=it+Et+1>>1,pe[De+2+0]=pe[De+0+32]=Et+zt+1>>1,pe[De+2+32]=pe[De+0+64]=zt+en+1>>1,pe[De+1+0]=Ds(it,Et,zt),pe[De+3+0]=pe[De+1+32]=Ds(Et,zt,en),pe[De+3+32]=pe[De+1+64]=Ds(zt,en,en),pe[De+3+64]=pe[De+2+64]=pe[De+0+96]=pe[De+1+96]=pe[De+2+96]=pe[De+3+96]=en}function Lg(pe,De){var it=pe[De-1+0],Et=pe[De-1+32],zt=pe[De-1+64],en=pe[De-1+96],rn=pe[De-1-32],gn=pe[De+0-32],xn=pe[De+1-32],Rn=pe[De+2-32];pe[De+0+0]=pe[De+2+32]=it+rn+1>>1,pe[De+0+32]=pe[De+2+64]=Et+it+1>>1,pe[De+0+64]=pe[De+2+96]=zt+Et+1>>1,pe[De+0+96]=en+zt+1>>1,pe[De+3+0]=Ds(gn,xn,Rn),pe[De+2+0]=Ds(rn,gn,xn),pe[De+1+0]=pe[De+3+32]=Ds(it,rn,gn),pe[De+1+32]=pe[De+3+64]=Ds(Et,it,rn),pe[De+1+64]=pe[De+3+96]=Ds(zt,Et,it),pe[De+1+96]=Ds(en,zt,Et)}function Op(pe,De){var it;for(it=0;8>it;++it)re(pe,De+32*it,pe,De-32,8)}function l0(pe,De){var it;for(it=0;8>it;++it)ce(pe,De,pe[De-1],8),De+=32}function Ch(pe,De,it){var Et;for(Et=0;8>Et;++Et)ce(De,it+32*Et,pe,8)}function u0(pe,De){var it,Et=8;for(it=0;8>it;++it)Et+=pe[De+it-32]+pe[De-1+32*it];Ch(Et>>4,pe,De)}function Dg(pe,De){var it,Et=4;for(it=0;8>it;++it)Et+=pe[De+it-32];Ch(Et>>3,pe,De)}function Ng(pe,De){var it,Et=4;for(it=0;8>it;++it)Et+=pe[De-1+32*it];Ch(Et>>3,pe,De)}function gm(pe,De){Ch(128,pe,De)}function xh(pe,De,it){var Et=pe[De-it],zt=pe[De+0],en=3*(zt-Et)+c0[1020+pe[De-2*it]-pe[De+it]],rn=Bm[112+(en+4>>3)];pe[De-it]=yd[255+Et+Bm[112+(en+3>>3)]],pe[De+0]=yd[255+zt-rn]}function Og(pe,De,it,Et){var zt=pe[De+0],en=pe[De+it];return Vd[255+pe[De-2*it]-pe[De-it]]>Et||Vd[255+en-zt]>Et}function cg(pe,De,it,Et){return 4*Vd[255+pe[De-it]-pe[De+0]]+Vd[255+pe[De-2*it]-pe[De+it]]<=Et}function Pg(pe,De,it,Et,zt){var en=pe[De-3*it],rn=pe[De-2*it],gn=pe[De-it],xn=pe[De+0],Rn=pe[De+it],xr=pe[De+2*it],ri=pe[De+3*it];return 4*Vd[255+gn-xn]+Vd[255+rn-Rn]>Et?0:Vd[255+pe[De-4*it]-en]<=zt&&Vd[255+en-rn]<=zt&&Vd[255+rn-gn]<=zt&&Vd[255+ri-xr]<=zt&&Vd[255+xr-Rn]<=zt&&Vd[255+Rn-xn]<=zt}function Pp(pe,De,it,Et){var zt=2*Et+1;for(Et=0;16>Et;++Et)cg(pe,De+Et,it,zt)&&xh(pe,De+Et,it)}function Tg(pe,De,it,Et){var zt=2*Et+1;for(Et=0;16>Et;++Et)cg(pe,De+Et*it,1,zt)&&xh(pe,De+Et*it,1)}function mm(pe,De,it,Et){var zt;for(zt=3;0>7,ji=18*Vi+63>>7,Vi=9*Vi+63>>7;xn[Rn-3*xr]=yd[255+xn[Rn-3*xr]+Vi],xn[Rn-2*xr]=yd[255+ri+ji],xn[Rn-xr]=yd[255+_n+qr],xn[Rn+0]=yd[255+Tr-qr],xn[Rn+xr]=yd[255+Gr-ji],xn[Rn+2*xr]=yd[255+Mi-Vi]}De+=Et}}function Eh(pe,De,it,Et,zt,en,rn,gn){for(en=2*en+1;0>3)],Mi=Bm[112+(Mi+3>>3)],qr=Gr+1>>1;xn[Rn-2*xr]=yd[255+xn[Rn-2*xr]+qr],xn[Rn-xr]=yd[255+ri+Mi],xn[Rn+0]=yd[255+_n-Gr],xn[Rn+xr]=yd[255+Tr-qr]}De+=Et}}function ym(pe,De,it,Et,zt,en){Bh(pe,De,it,1,16,Et,zt,en)}function Tp(pe,De,it,Et,zt,en){Bh(pe,De,1,it,16,Et,zt,en)}function wm(pe,De,it,Et,zt,en){var rn;for(rn=3;0Rn?0:255:Rn)&255,Rn=xn,zt[en+gn]=xr}}function Fu(pe,De,it,Et){var zt=De.width,en=De.o;if(z(pe!=null&&De!=null),0>it||0>=Et||it+Et>en)return null;if(!pe.Cc){if(pe.ga==null){var rn;if(pe.ga=new Hs,(rn=pe.ga==null)||(rn=De.width*De.o,z(pe.Gb.length==0),pe.Gb=he(rn),pe.Uc=0,pe.Gb==null?rn=0:(pe.mb=pe.Gb,pe.nb=pe.Uc,pe.rc=null,rn=1),rn=!rn),!rn){rn=pe.ga;var gn=pe.Fa,xn=pe.P,Rn=pe.qc,xr=pe.mb,ri=pe.nb,_n=xn+1,Tr=Rn-1,Gr=rn.l;if(z(gn!=null&&xr!=null&&De!=null),ip[0]=null,ip[1]=Ll,ip[2]=ic,ip[3]=Pc,rn.ca=xr,rn.tb=ri,rn.c=De.width,rn.i=De.height,z(0=Rn)De=0;else if(rn.$a=3&gn[xn+0],rn.Z=gn[xn+0]>>2&3,rn.Lc=gn[xn+0]>>4&3,xn=gn[xn+0]>>6&3,0>rn.$a||1=rn.c*rn.i;rn=!De}if(rn)return null;pe.ga.Lc!=1?pe.Ga=0:Et=en-it}z(pe.ga!=null),z(it+Et<=en);e:{if(De=(gn=pe.ga).c,en=gn.l.o,gn.$a==0){if(_n=pe.rc,Tr=pe.Vc,Gr=pe.Fa,xn=pe.P+1+it*De,Rn=pe.mb,xr=pe.nb+it*De,z(xn<=pe.P+pe.qc),gn.Z!=0)for(z(ip[gn.Z]!=null),rn=0;rn=De)De=1;else if(gn.ic||gf(),gn.ic){gn=rn.V,_n=rn.Ba,Tr=rn.c;var Mi=rn.i,qr=(Gr=1,xn=rn.$/Tr,Rn=rn.$%Tr,xr=rn.m,ri=rn.s,rn.$),ji=Tr*Mi,Vi=Tr*De,wo=ri.wc,lo=qr(Mi=pc(lo.G[0],lo.H[0],xr)))gn[_n+qr]=Mi,++qr,++Rn>=Tr&&(Rn=0,++xn<=De&&!(xn%16)&&ff(rn,xn));else{if(!(280>Mi)){Gr=0;break t}Mi=Qd(Mi-256,xr);var za,Ba=pc(lo.G[4],lo.H[4],xr);if(Jr(xr),!(qr>=(Ba=jd(Tr,Ba=Qd(Ba,xr)))&&ji-qr>=Mi)){Gr=0;break t}for(za=0;za=Tr;)Rn-=Tr,++xn<=De&&!(xn%16)&&ff(rn,xn);qrDe?De:xn);break t}!Gr||xr.h&&qr=en&&(pe.Cc=1),Et=1}if(!Et)return null;if(pe.Cc&&((Et=pe.ga)!=null&&(Et.mc=null),pe.ga=null,0>23,gn[xn+4*rn+1]=gn[xn+4*rn+1]*ri>>23,gn[xn+4*rn+2]=gn[xn+4*rn+2]*ri>>23)}De+=en}}function Tc(pe,De,it,Et,zt){for(;0>4)*xn>>16;pe[De+2*en+0]=(240&rn|rn>>4)*xn>>16&240|(15&rn|rn<<4)*xn>>16>>4&15,pe[De+2*en+1]=240&Rn|gn}De+=zt}}function cA(pe,De,it,Et,zt,en,rn,gn){var xn,Rn,xr=255;for(Rn=0;Rn>8}function gf(){Wg=Hc,$0=Tc,J0=cA,q0=Sh}function Fh(pe,De,it){Gn[pe]=function(Et,zt,en,rn,gn,xn,Rn,xr,ri,_n,Tr,Gr,Mi,qr,ji,Vi,wo){var lo,za=wo-1>>1,Ba=gn[xn+0]|Rn[xr+0]<<16,Ws=ri[_n+0]|Tr[Gr+0]<<16;z(Et!=null);var Oa=3*Ba+Ws+131074>>2;for(De(Et[zt+0],255&Oa,Oa>>16,Mi,qr),en!=null&&(Oa=3*Ws+Ba+131074>>2,De(en[rn+0],255&Oa,Oa>>16,ji,Vi)),lo=1;lo<=za;++lo){var Cl=gn[xn+lo]|Rn[xr+lo]<<16,Kc=ri[_n+lo]|Tr[Gr+lo]<<16,Vs=Ba+Cl+Ws+Kc+524296,Pa=Vs+2*(Cl+Ws)>>3;Oa=Pa+Ba>>1,Ba=(Vs=Vs+2*(Ba+Kc)>>3)+Cl>>1,De(Et[zt+2*lo-1],255&Oa,Oa>>16,Mi,qr+(2*lo-1)*it),De(Et[zt+2*lo-0],255&Ba,Ba>>16,Mi,qr+(2*lo-0)*it),en!=null&&(Oa=Vs+Ws>>1,Ba=Pa+Kc>>1,De(en[rn+2*lo-1],255&Oa,Oa>>16,ji,Vi+(2*lo-1)*it),De(en[rn+2*lo+0],255&Ba,Ba>>16,ji,Vi+(2*lo+0)*it)),Ba=Cl,Ws=Kc}1&wo||(Oa=3*Ba+Ws+131074>>2,De(Et[zt+wo-1],255&Oa,Oa>>16,Mi,qr+(wo-1)*it),en!=null&&(Oa=3*Ws+Ba+131074>>2,De(en[rn+wo-1],255&Oa,Oa>>16,ji,Vi+(wo-1)*it)))}}function kg(){Gd[Em]=d1,Gd[Sm]=cv,Gd[ov]=f1,Gd[Fm]=Av,Gd[Im]=dv,Gd[A0]=fv,Gd[av]=h1,Gd[d0]=cv,Gd[f0]=Av,Gd[Lm]=dv,Gd[h0]=fv}function Ag(pe){return pe&~p1?0>pe?0:255:pe>>hv}function Gh(pe,De){return Ag((19077*pe>>8)+(26149*De>>8)-14234)}function kp(pe,De,it){return Ag((19077*pe>>8)-(6419*De>>8)-(13320*it>>8)+8708)}function Mp(pe,De){return Ag((19077*pe>>8)+(33050*De>>8)-17685)}function Xh(pe,De,it,Et,zt){Et[zt+0]=Gh(pe,it),Et[zt+1]=kp(pe,De,it),Et[zt+2]=Mp(pe,De)}function AA(pe,De,it,Et,zt){Et[zt+0]=Mp(pe,De),Et[zt+1]=kp(pe,De,it),Et[zt+2]=Gh(pe,it)}function Up(pe,De,it,Et,zt){var en=kp(pe,De,it);De=en<<3&224|Mp(pe,De)>>3,Et[zt+0]=248&Gh(pe,it)|en>>5,Et[zt+1]=De}function Rp(pe,De,it,Et,zt){var en=240&Mp(pe,De)|15;Et[zt+0]=240&Gh(pe,it)|kp(pe,De,it)>>4,Et[zt+1]=en}function Mg(pe,De,it,Et,zt){Et[zt+0]=255,Xh(pe,De,it,Et,zt+1)}function Ug(pe,De,it,Et,zt){AA(pe,De,it,Et,zt),Et[zt+3]=255}function jA(pe,De,it,Et,zt){Xh(pe,De,it,Et,zt),Et[zt+3]=255}function Ih(pe,De,it){Gn[pe]=function(Et,zt,en,rn,gn,xn,Rn,xr,ri){for(var _n=xr+(-2&ri)*it;xr!=_n;)De(Et[zt+0],en[rn+0],gn[xn+0],Rn,xr),De(Et[zt+1],en[rn+0],gn[xn+0],Rn,xr+it),zt+=2,++rn,++xn,xr+=2*it;1&ri&&De(Et[zt+0],en[rn+0],gn[xn+0],Rn,xr)}}function dg(pe,De,it){return it==0?pe==0?De==0?6:5:De==0?4:0:it}function bm(pe,De,it,Et,zt){switch(pe>>>30){case 3:Hp(De,it,Et,zt,0);break;case 2:Wd(De,it,Et,zt);break;case 1:eu(De,it,Et,zt)}}function Zd(pe,De){var it,Et,zt=De.M,en=De.Nb,rn=pe.oc,gn=pe.pc+40,xn=pe.oc,Rn=pe.pc+584,xr=pe.oc,ri=pe.pc+600;for(it=0;16>it;++it)rn[gn+32*it-1]=129;for(it=0;8>it;++it)xn[Rn+32*it-1]=129,xr[ri+32*it-1]=129;for(0it;++it)re(rn,gn+32*it-4,rn,gn+32*it+12,4);for(it=-1;8>it;++it)re(xn,Rn+32*it-4,xn,Rn+32*it+4,4),re(xr,ri+32*it-4,xr,ri+32*it+4,4)}var Tr=pe.Gd,Gr=pe.Hd+Et,Mi=_n.ad,qr=_n.Hc;if(0=pe.za-1?ce(ji,Vi,Tr[Gr].y[15],4):re(ji,Vi,Tr[Gr+1].y,0,4)),it=0;4>it;it++)ji[Vi+128+it]=ji[Vi+256+it]=ji[Vi+384+it]=ji[Vi+0+it];for(it=0;16>it;++it,qr<<=2)ji=rn,Vi=gn+gv[it],mf[_n.Ob[it]](ji,Vi),bm(qr,Mi,16*+it,ji,Vi)}else if(ji=dg(Et,zt,_n.Ob[0]),rp[ji](rn,gn),qr!=0)for(it=0;16>it;++it,qr<<=2)bm(qr,Mi,16*+it,rn,gn+gv[it]);for(it=_n.Gc,ji=dg(Et,zt,_n.Dd),Nh[ji](xn,Rn),Nh[ji](xr,ri),qr=Mi,ji=xn,Vi=Rn,255&(_n=0|it)&&(170&_n?$f(qr,256,ji,Vi):vu(qr,256,ji,Vi)),_n=xr,qr=ri,255&(it>>=8)&&(170&it?$f(Mi,320,_n,qr):vu(Mi,320,_n,qr)),ztit;++it)re(Tr,Gr+it*pe.R,rn,gn+32*it,16);for(it=0;8>it;++it)re(Mi,_n+it*pe.B,xn,Rn+32*it,8),re(qr,ji+it*pe.B,xr,ri+32*it,8)}}function _p(pe,De,it,Et,zt,en,rn,gn,xn){var Rn=[0],xr=[0],ri=0,_n=xn!=null?xn.kd:0,Tr=xn!=null?xn:new so;if(pe==null||12>it)return 7;Tr.data=pe,Tr.w=De,Tr.ha=it,De=[De],it=[it],Tr.gb=[Tr.gb];e:{var Gr=De,Mi=it,qr=Tr.gb;if(z(pe!=null),z(Mi!=null),z(qr!=null),qr[0]=0,12<=Mi[0]&&!E(pe,Gr[0],"RIFF")){if(E(pe,Gr[0]+8,"WEBP")){qr=3;break e}var ji=qa(pe,Gr[0]+4);if(12>ji||4294967286Mi[0]-8){qr=7;break e}qr[0]=ji,Gr[0]+=12,Mi[0]-=12}qr=0}if(qr!=0)return qr;for(ji=0qr[0])qr=7;else{if(!E(Vi,Mi[0],"VP8X")){if(qa(Vi,Mi[0]+4)!=10){qr=3;break e}if(18>qr[0]){qr=7;break e}var Ba=qa(Vi,Mi[0]+8),Ws=1+sa(Vi,Mi[0]+12);if(2147483648<=Ws*(Vi=1+sa(Vi,Mi[0]+15))){qr=3;break e}za!=null&&(za[0]=Ba),wo!=null&&(wo[0]=Ws),lo!=null&&(lo[0]=Vi),Mi[0]+=18,qr[0]-=18,Oa[0]=1}qr=0}}if(ri=ri[0],Gr=Gr[0],qr!=0)return qr;if(Mi=!!(2&Gr),!ji&&ri)return 3;if(en!=null&&(en[0]=!!(16&Gr)),rn!=null&&(rn[0]=Mi),gn!=null&&(gn[0]=0),rn=Rn[0],Gr=xr[0],ri&&Mi&&xn==null){qr=0;break}if(4>it){qr=7;break}if(ji&&ri||!ji&&!ri&&!E(pe,De[0],"ALPH")){it=[it],Tr.na=[Tr.na],Tr.P=[Tr.P],Tr.Sa=[Tr.Sa];e:{Ba=pe,qr=De,ji=it;var Oa=Tr.gb;wo=Tr.na,lo=Tr.P,za=Tr.Sa,Ws=22,z(Ba!=null),z(ji!=null),Vi=qr[0];var Cl=ji[0];for(z(wo!=null),z(za!=null),wo[0]=null,lo[0]=null,za[0]=0;;){if(qr[0]=Vi,ji[0]=Cl,8>Cl){qr=7;break e}var Kc=qa(Ba,Vi+4);if(4294967286Oa){qr=3;break e}if(!E(Ba,Vi,"VP8 ")||!E(Ba,Vi,"VP8L")){qr=0;break e}if(Cl[0]ji[0])qr=7;else{if(Vi||Ws){if(Oa=qa(Oa,Ba+4),12<=wo&&Oa>wo-12){qr=3;break e}if(_n&&Oa>ji[0]-8){qr=7;break e}lo[0]=Oa,qr[0]+=8,ji[0]-=8,za[0]=Ws}else za[0]=5<=ji[0]&&Oa[Ba+0]==47&&!(Oa[Ba+4]>>5),lo[0]=ji[0];qr=0}if(it=it[0],Tr.Ja=Tr.Ja[0],Tr.xa=Tr.xa[0],De=De[0],qr!=0)break;if(4294967286it){qr=7;break}gn=rn,_n=Gr,Mi=en,pe==null||5>it?pe=0:5<=it&&pe[De+0]==47&&!(pe[De+4]>>5)?(ji=[0],Oa=[0],wo=[0],Ni(lo=new Kn,pe,De,it),vh(lo,ji,Oa,wo)?(gn!=null&&(gn[0]=ji[0]),_n!=null&&(_n[0]=Oa[0]),Mi!=null&&(Mi[0]=wo[0]),pe=1):pe=0):pe=0}else{if(10>it){qr=7;break}gn=Gr,pe==null||10>it||!cm(pe,De+3,it-3)?pe=0:(_n=pe[De+0]|pe[De+1]<<8|pe[De+2]<<16,Mi=16383&(pe[De+7]<<8|pe[De+6]),pe=16383&(pe[De+9]<<8|pe[De+8]),1&_n||3<(_n>>1&7)||!(_n>>4&1)||_n>>5>=Tr.Ja||!Mi||!pe?pe=0:(rn&&(rn[0]=Mi),gn&&(gn[0]=pe),pe=1))}if(!pe||(rn=rn[0],Gr=Gr[0],ri&&(Rn[0]!=rn||xr[0]!=Gr)))return 3;xn!=null&&(xn[0]=Tr,xn.offset=De-xn.w,z(4294967286>De-xn.w),z(xn.offset==xn.ha-it));break}return qr==0||qr==7&&ri&&xn==null?(en!=null&&(en[0]|=Tr.na!=null&&0it||(en&=-2,rn&=-2),0>en||0>rn||0>=gn||0>=xn||en+gn>Et||rn+xn>zt))return 0;if(De.v=en,De.j=rn,De.va=en+gn,De.o=rn+xn,De.U=gn,De.T=xn,De.da=pe!=null&&0pe.S){var De=pe.f.RGBA;De.fb+=(pe.height-1)*De.A,De.A=-De.A}else De=pe.f.kb,pe=pe.height,De.O+=(pe-1)*De.fa,De.fa=-De.fa,De.N+=(pe-1>>1)*De.Ab,De.Ab=-De.Ab,De.W+=(pe-1>>1)*De.Db,De.Db=-De.Db,De.F!=null&&(De.J+=(pe-1)*De.lb,De.lb=-De.lb);return 0}function Yh(pe,De,it,Et){if(Et==null||0>=pe||0>=De)return 2;if(it!=null){if(it.Da){var zt=it.cd,en=it.bd,rn=-2&it.v,gn=-2&it.j;if(0>rn||0>gn||0>=zt||0>=en||rn+zt>pe||gn+en>De)return 2;pe=zt,De=en}if(it.da){if(!cs(pe,De,zt=[it.ib],en=[it.hb]))return 2;pe=zt[0],De=en[0]}}Et.width=pe,Et.height=De;e:{var xn=Et.width,Rn=Et.height;if(pe=Et.S,0>=xn||0>=Rn||!(pe>=Em&&13>pe))pe=2;else{if(0>=Et.Rd&&Et.sd==null){rn=en=zt=De=0;var xr=(gn=xn*mv[pe])*Rn;if(11>pe||(en=(Rn+1)/2*(De=(xn+1)/2),pe==12&&(rn=(zt=xn)*Rn)),(Rn=he(xr+2*en+rn))==null){pe=1;break e}Et.sd=Rn,11>pe?((xn=Et.f.RGBA).eb=Rn,xn.fb=0,xn.A=gn,xn.size=xr):((xn=Et.f.kb).y=Rn,xn.O=0,xn.fa=gn,xn.Fd=xr,xn.f=Rn,xn.N=0+xr,xn.Ab=De,xn.Cd=en,xn.ea=Rn,xn.W=0+xr+en,xn.Db=De,xn.Ed=en,pe==12&&(xn.F=Rn,xn.J=0+xr+2*en),xn.Tc=rn,xn.lb=zt)}if(De=1,zt=Et.S,en=Et.width,rn=Et.height,zt>=Em&&13>zt)if(11>zt)pe=Et.f.RGBA,De&=(gn=Math.abs(pe.A))*(rn-1)+en<=pe.size,De&=gn>=en*mv[zt],De&=pe.eb!=null;else{pe=Et.f.kb,gn=(en+1)/2,xr=(rn+1)/2,xn=Math.abs(pe.fa),Rn=Math.abs(pe.Ab);var ri=Math.abs(pe.Db),_n=Math.abs(pe.lb),Tr=_n*(rn-1)+en;De&=xn*(rn-1)+en<=pe.Fd,De&=Rn*(xr-1)+gn<=pe.Cd,De=(De&=ri*(xr-1)+gn<=pe.Ed)&xn>=en&Rn>=gn&ri>=gn,De&=pe.y!=null,De&=pe.f!=null,De&=pe.ea!=null,zt==12&&(De&=_n>=en,De&=Tr<=pe.Tc,De&=pe.F!=null)}else De=0;pe=De?0:2}}return pe!=0||it!=null&&it.fd&&(pe=_g(Et)),pe}var Qp=64,md=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],vd=24,$h=32,Lh=8,Jh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Sa("Predictor0","PredictorAdd0"),Gn.Predictor0=function(){return 4278190080},Gn.Predictor1=function(pe){return pe},Gn.Predictor2=function(pe,De,it){return De[it+0]},Gn.Predictor3=function(pe,De,it){return De[it+1]},Gn.Predictor4=function(pe,De,it){return De[it-1]},Gn.Predictor5=function(pe,De,it){return ts(ts(pe,De[it+1]),De[it+0])},Gn.Predictor6=function(pe,De,it){return ts(pe,De[it-1])},Gn.Predictor7=function(pe,De,it){return ts(pe,De[it+0])},Gn.Predictor8=function(pe,De,it){return ts(De[it-1],De[it+0])},Gn.Predictor9=function(pe,De,it){return ts(De[it+0],De[it+1])},Gn.Predictor10=function(pe,De,it){return ts(ts(pe,De[it-1]),ts(De[it+0],De[it+1]))},Gn.Predictor11=function(pe,De,it){var Et=De[it+0];return 0>=Rs(Et>>24&255,pe>>24&255,(De=De[it-1])>>24&255)+Rs(Et>>16&255,pe>>16&255,De>>16&255)+Rs(Et>>8&255,pe>>8&255,De>>8&255)+Rs(255&Et,255&pe,255&De)?Et:pe},Gn.Predictor12=function(pe,De,it){var Et=De[it+0];return(Jl((pe>>24&255)+(Et>>24&255)-((De=De[it-1])>>24&255))<<24|Jl((pe>>16&255)+(Et>>16&255)-(De>>16&255))<<16|Jl((pe>>8&255)+(Et>>8&255)-(De>>8&255))<<8|Jl((255&pe)+(255&Et)-(255&De)))>>>0},Gn.Predictor13=function(pe,De,it){var Et=De[it-1];return(pl((pe=ts(pe,De[it+0]))>>24&255,Et>>24&255)<<24|pl(pe>>16&255,Et>>16&255)<<16|pl(pe>>8&255,Et>>8&255)<<8|pl(255&pe,255&Et))>>>0};var Qg=Gn.PredictorAdd0;Gn.PredictorAdd1=bl,Sa("Predictor2","PredictorAdd2"),Sa("Predictor3","PredictorAdd3"),Sa("Predictor4","PredictorAdd4"),Sa("Predictor5","PredictorAdd5"),Sa("Predictor6","PredictorAdd6"),Sa("Predictor7","PredictorAdd7"),Sa("Predictor8","PredictorAdd8"),Sa("Predictor9","PredictorAdd9"),Sa("Predictor10","PredictorAdd10"),Sa("Predictor11","PredictorAdd11"),Sa("Predictor12","PredictorAdd12"),Sa("Predictor13","PredictorAdd13");var fg=Gn.PredictorAdd2;Ka("ColorIndexInverseTransform","MapARGB","32b",function(pe){return pe>>8&255},function(pe){return pe}),Ka("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(pe){return pe},function(pe){return pe>>8&255});var Sc,Cm=Gn.ColorIndexInverseTransform,Xf=Gn.MapARGB,Yf=Gn.VP8LColorIndexInverseTransformAlpha,jg=Gn.MapAlpha,Hg=Gn.VP8LPredictorsAdd=[];Hg.length=16,(Gn.VP8LPredictors=[]).length=16,(Gn.VP8LPredictorsAdd_C=[]).length=16,(Gn.VP8LPredictors_C=[]).length=16;var zg,Kg,qh,ep,tp,jp,np,Hp,Wd,$f,eu,vu,Fc,zc,Dh,Zg,hg,xm,Z0,W0,V0,G0,X0,Y0,Wg,$0,J0,q0,ev=he(511),tv=he(2041),nv=he(225),rv=he(767),iv=0,c0=tv,Bm=nv,yd=rv,Vd=ev,Em=0,Sm=1,ov=2,Fm=3,Im=4,A0=5,av=6,d0=7,f0=8,Lm=9,h0=10,Jv=[2,3,7],qv=[3,3,11],sv=[280,256,256,256,40],e1=[0,1,1,1,0],t1=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],n1=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],r1=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],i1=8,p0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],g0=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Vg=null,o1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],a1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lv=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],s1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],l1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],u1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],c1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],rp=[],mf=[],Nh=[],A1=1,uv=2,ip=[],Gd=[];Fh("UpsampleRgbLinePair",Xh,3),Fh("UpsampleBgrLinePair",AA,3),Fh("UpsampleRgbaLinePair",jA,4),Fh("UpsampleBgraLinePair",Ug,4),Fh("UpsampleArgbLinePair",Mg,4),Fh("UpsampleRgba4444LinePair",Rp,2),Fh("UpsampleRgb565LinePair",Up,2);var d1=Gn.UpsampleRgbLinePair,f1=Gn.UpsampleBgrLinePair,cv=Gn.UpsampleRgbaLinePair,Av=Gn.UpsampleBgraLinePair,dv=Gn.UpsampleArgbLinePair,fv=Gn.UpsampleRgba4444LinePair,h1=Gn.UpsampleRgb565LinePair,Dm=16,Nm=1<Et.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Et.ca.f.kb.F!=null&&gf()),Et.Pb&&0(xn=it.Md)?0:100Rn;++Rn)12>(ri=zt.pb[Rn]).lc&&(ri.ia=xn*C1[0>ri.lc?0:ri.lc]>>3),xr|=ri.ia;xr&&(alert("todo:VP8InitRandom"),zt.ia=1)}zt.Ga=it.Id,100zt.Ga&&(zt.Ga=0)}(function(_n,Tr){if(_n==null)return 0;if(Tr==null)return Oc(_n,2,"NULL VP8Io parameter in VP8Decode().");if(!_n.cb&&!Vf(_n,Tr))return 0;if(z(_n.cb),Tr.ac==null||Tr.ac(Tr)){Tr.ob&&(_n.L=0);var Gr=Om[_n.L];if(_n.L==2?(_n.yb=0,_n.zb=0):(_n.yb=Tr.v-Gr>>4,_n.zb=Tr.j-Gr>>4,0>_n.yb&&(_n.yb=0),0>_n.zb&&(_n.zb=0)),_n.Va=Tr.o+15+Gr>>4,_n.Hb=Tr.va+15+Gr>>4,_n.Hb>_n.za&&(_n.Hb=_n.za),_n.Va>_n.Ub&&(_n.Va=_n.Ub),0<_n.L){var Mi=_n.ed;for(Gr=0;4>Gr;++Gr){var qr;if(_n.Qa.Cb){var ji=_n.Qa.Lb[Gr];_n.Qa.Fb||(ji+=Mi.Tb)}else ji=Mi.Tb;for(qr=0;1>=qr;++qr){var Vi=_n.gd[Gr][qr],wo=ji;if(Mi.Pc&&(wo+=Mi.vd[0],qr&&(wo+=Mi.od[0])),0<(wo=0>wo?0:63>2:lo>>1)>9-Mi.wb&&(lo=9-Mi.wb),1>lo&&(lo=1),Vi.dd=lo,Vi.tc=2*wo+lo,Vi.ld=40<=wo?2:15<=wo?1:0}else Vi.tc=0;Vi.La=qr}}}Gr=0}else Oc(_n,6,"Frame setup failed"),Gr=_n.a;if(Gr=Gr==0){if(Gr){_n.$c=0,0<_n.Aa||(_n.Ic=x1);t:{Gr=_n.Ic,Mi=4*(lo=_n.za);var za=32*lo,Ba=lo+1,Ws=0<_n.L?lo*(0<_n.Aa?2:1):0,Oa=(_n.Aa==2?2:1)*lo;if((Vi=Mi+832+(qr=3*(16*Gr+Om[_n.L])/2*za)+(ji=_n.Fa!=null&&0<_n.Fa.length?_n.Kc.c*_n.Kc.i:0))!=Vi)Gr=0;else{if(Vi>_n.Vb){if(_n.Vb=0,_n.Ec=he(Vi),_n.Fc=0,_n.Ec==null){Gr=Oc(_n,1,"no memory during frame initialization.");break t}_n.Vb=Vi}Vi=_n.Ec,wo=_n.Fc,_n.Ac=Vi,_n.Bc=wo,wo+=Mi,_n.Gd=Ze(za,lm),_n.Hd=0,_n.rb=Ze(Ba+1,Eg),_n.sb=1,_n.wa=Ws?Ze(Ws,zd):null,_n.Y=0,_n.D.Nb=0,_n.D.wa=_n.wa,_n.D.Y=_n.Y,0<_n.Aa&&(_n.D.Y+=lo),z(!0),_n.oc=Vi,_n.pc=wo,wo+=832,_n.ya=Ze(Oa,Sg),_n.aa=0,_n.D.ya=_n.ya,_n.D.aa=_n.aa,_n.Aa==2&&(_n.D.aa+=lo),_n.R=16*lo,_n.B=8*lo,lo=(za=Om[_n.L])*_n.R,za=za/2*_n.B,_n.sa=Vi,_n.ta=wo+lo,_n.qa=_n.sa,_n.ra=_n.ta+16*Gr*_n.R+za,_n.Ha=_n.qa,_n.Ia=_n.ra+8*Gr*_n.B+za,_n.$c=0,wo+=qr,_n.mb=ji?Vi:null,_n.nb=ji?wo:null,z(wo+ji<=_n.Fc+_n.Vb),Am(_n),ce(_n.Ac,_n.Bc,0,Mi),Gr=1}}if(Gr){if(Tr.ka=0,Tr.y=_n.sa,Tr.O=_n.ta,Tr.f=_n.qa,Tr.N=_n.ra,Tr.ea=_n.Ha,Tr.Vd=_n.Ia,Tr.fa=_n.R,Tr.Rc=_n.B,Tr.F=null,Tr.J=0,!iv){for(Gr=-255;255>=Gr;++Gr)ev[255+Gr]=0>Gr?-Gr:Gr;for(Gr=-1020;1020>=Gr;++Gr)tv[1020+Gr]=-128>Gr?-128:127=Gr;++Gr)nv[112+Gr]=-16>Gr?-16:15=Gr;++Gr)rv[255+Gr]=0>Gr?0:255Fl;++Fl){var Zc,Dl=HA[0+Fl];for(Zc=0;4>Zc;++Zc){Dl=l1[Ru[dA+Zc]][Dl];for(var ou=lv[Yi(Qs,Dl[0])];0>3;for(ou=0;256>ou;ou+=16)Fl[OA+ou]=qA}fA=1,vf=dA[0]}var yu=15&Qs.la,Wc=15&zA.la;for(ou=0;4>ou;++ou){var wd=1&Wc;for(qA=au=0;4>qA;++qA)yu=yu>>1|(wd=(Lc=Vg(Ru,vf,Lc=wd+(1&yu),gc.Sc,fA,Fl,OA))>fA)<<7,au=au<<2|(3>=4,Wc=Wc>>1|wd<<7,Zc=(Zc<<8|au)>>>0}for(vf=yu,fA=Wc>>4,mc=0;4>mc;mc+=2){for(au=0,yu=Qs.la>>4+mc,Wc=zA.la>>4+mc,ou=0;2>ou;++ou){for(wd=1&Wc,qA=0;2>qA;++qA)Lc=wd+(1&yu),yu=yu>>1|(wd=0<(Lc=Vg(Ru,dA[2],Lc,gc.Qc,0,Fl,OA)))<<3,au=au<<2|(3>=2,Wc=Wc>>1|wd<<5}Dl|=au<<4*mc,vf|=yu<<4<=Pa.zb&&Pa.M<=Pa.Va,Pa.Aa==0)t:{if(Vs.M=Pa.M,Vs.uc=Qs,Zd(Pa,Vs),Ic=1,Vs=(au=Pa.D).Nb,Qs=(Dl=Om[Pa.L])*Pa.R,Ru=Dl/2*Pa.B,ou=16*Vs*Pa.R,qA=8*Vs*Pa.B,dA=Pa.sa,HA=Pa.ta-Qs+ou,gc=Pa.qa,Fl=Pa.ra-Ru+qA,OA=Pa.Ha,zA=Pa.Ia-Ru+qA,Wc=(yu=au.M)==0,Zc=yu>=Pa.Va-1,Pa.Aa==2&&Zd(Pa,au),au.uc)for(wd=(Lc=Pa).D.M,z(Lc.D.uc),au=Lc.yb;auJo.o&&(yu=Jo.o),Jo.F=null,Jo.J=null,Pa.Fa!=null&&0>1),Jo.W+=Pa.B*(Dl>>1),Jo.F!=null&&(Jo.J+=Jo.width*Dl)),au>1,Jo.W+=Jo.v>>1,Jo.F!=null&&(Jo.J+=Jo.v),Jo.ka=au-Jo.j,Jo.U=Jo.va-Jo.v,Jo.T=yu-au,Ic=Jo.put(Jo))}Vs+1!=Pa.Ic||Zc||(re(Pa.sa,Pa.ta-Qs,dA,HA+16*Pa.R,Qs),re(Pa.qa,Pa.ra-Ru,gc,Fl+8*Pa.B,Ru),re(Pa.Ha,Pa.Ia-Ru,OA,zA+8*Pa.B,Ru))}if(!Ic)return Oc(Cl,6,"Output aborted.")}return 1}(_n,Tr)),Tr.bc!=null&&Tr.bc(Tr),Gr&=1}return Gr?(_n.cb=0,Gr):0})(pe,Et)||(De=pe.a)}}else De=pe.a}De==0&&rn.Oa!=null&&rn.Oa.fd&&(De=_g(rn.ba))}rn=De}en=rn!=0?null:11>en?gn.f.RGBA.eb:gn.f.kb.y}else en=null;return en};var mv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function $e(Gn,Vr){for(var cn="",kn=0;kn<4;kn++)cn+=String.fromCharCode(Gn[Vr++]);return cn}function gt(Gn,Vr){return Gn[Vr+0]|Gn[Vr+1]<<8}function Ut(Gn,Vr){return(Gn[Vr+0]|Gn[Vr+1]<<8|Gn[Vr+2]<<16)>>>0}function qt(Gn,Vr){return(Gn[Vr+0]|Gn[Vr+1]<<8|Gn[Vr+2]<<16|Gn[Vr+3]<<24)>>>0}new Xe;var ft=[0],Dn=[0],Bn=[],Tn=new Xe,fn=y,hr=function(Gn,Vr){var cn={},kn=0,fr=!1,sr=0,fi=0;if(cn.frames=[],!function(on,Kn){for(var qn=0;qn<4;qn++)if(on[Kn+qn]!="RIFF".charCodeAt(qn))return!0;return!1}(Gn,Vr)){for(qt(Gn,Vr+=4),Vr+=8;Vr>1&1}wi!="ANMF"&&(Vr+=ei)}return cn}}(fn,0);hr.response=fn,hr.rgbaoutput=!0,hr.dataurl=!1;var ir=hr.header?hr.header:null,Wn=hr.frames?hr.frames:null;if(ir){ir.loop_counter=ir.loop_count,ft=[ir.canvas_height],Dn=[ir.canvas_width];for(var oi=0;oi=2?Mn[1]:ca[0],ca[2]=Mn.length>=3?Mn[2]:ca[0],ca[3]=Mn.length>=4?Mn[3]:ca[1]),$e.margin=ca}});var Si=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Si},set:function(Mn){Si=Mn}});var Li=0;Object.defineProperty(this,"lastBreak",{get:function(){return Li},set:function(Mn){Li=Mn}});var Yi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Yi},set:function(Mn){Yi=Mn}}),Object.defineProperty(this,"ctx",{get:function(){return $e},set:function(Mn){Mn instanceof gt&&($e=Mn)}}),Object.defineProperty(this,"path",{get:function(){return $e.path},set:function(Mn){$e.path=Mn}});var Eo=[];Object.defineProperty(this,"ctxStack",{get:function(){return Eo},set:function(Mn){Eo=Mn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mn){var ca;ca=qt(Mn),this.ctx.fillStyle=ca.style,this.ctx.isFillTransparent=ca.a===0,this.ctx.fillOpacity=ca.a,this.pdf.setFillColor(ca.r,ca.g,ca.b,{a:ca.a}),this.pdf.setTextColor(ca.r,ca.g,ca.b,{a:ca.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mn){var ca=qt(Mn);this.ctx.strokeStyle=ca.style,this.ctx.isStrokeTransparent=ca.a===0,this.ctx.strokeOpacity=ca.a,ca.a===0?this.pdf.setDrawColor(255,255,255):(ca.a,this.pdf.setDrawColor(ca.r,ca.g,ca.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mn){["butt","round","square"].indexOf(Mn)!==-1&&(this.ctx.lineCap=Mn,this.pdf.setLineCap(Mn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mn){isNaN(Mn)||(this.ctx.lineWidth=Mn,this.pdf.setLineWidth(Mn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mn){["bevel","round","miter"].indexOf(Mn)!==-1&&(this.ctx.lineJoin=Mn,this.pdf.setLineJoin(Mn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mn){isNaN(Mn)||(this.ctx.miterLimit=Mn,this.pdf.setMiterLimit(Mn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mn){this.ctx.textBaseline=Mn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mn){["right","end","center","left","start"].indexOf(Mn)!==-1&&(this.ctx.textAlign=Mn)}});var ua=null,sa=null,qa=null;Object.defineProperty(this,"fontFaces",{get:function(){return qa},set:function(Mn){ua=null,sa=null,qa=Mn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mn){var ca;if(this.ctx.font=Mn,(ca=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Mn))!==null){var $s=ca[1];ca[2];var cs=ca[3],mo=ca[4];ca[5];var As=ca[6],Sa=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mo)[2];mo=Math.floor(Sa==="px"?parseFloat(mo)*this.pdf.internal.scaleFactor:Sa==="em"?parseFloat(mo)*this.pdf.getFontSize():parseFloat(mo)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mo);var ss=function(Ka){var Ec,Il,qs=[],el=Ka.trim();if(el==="")return Zm;if(el in _f)return[_f[el]];for(;el!=="";){switch(Il=null,Ec=(el=Qf(el)).charAt(0)){case'"':case"'":Il=uf(el.substring(1),Ec);break;default:Il=Zh(el)}if(Il===null||(qs.push(Il[0]),(el=Qf(Il[1]))!==""&&el.charAt(0)!==","))return Zm;el=el.replace(/^,/,"")}return qs}(As);if(this.fontFaces){var ts=function(Ka,Ec){var Il=Ka.getFontList(),qs=JSON.stringify(Il);if(ua===null||sa!==qs){var el=function(Wu){var is=[];return Object.keys(Wu).forEach(function(Su){Wu[Su].forEach(function(ms){var _s=null;switch(ms){case"bold":_s={family:Su,weight:"bold"};break;case"italic":_s={family:Su,style:"italic"};break;case"bolditalic":_s={family:Su,weight:"bold",style:"italic"};break;case"":case"normal":_s={family:Su}}_s!==null&&(_s.ref={name:Su,style:ms},is.push(_s))})}),is}(Il);ua=function(Wu){for(var is={},Su=0;Su=700||$s==="bold")&&(Rs="bold"),$s==="italic"&&(Rs+="italic"),Rs.length===0&&(Rs="normal");for(var bl="",gl={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},_a=0;_a=2*Math.PI&&(vr=0,kr=2*Math.PI),this.path.push({type:"arc",x:on,y:Kn,radius:qn,startAngle:vr,endAngle:kr,counterclockwise:Jr})},Ut.prototype.arcTo=function(on,Kn,qn,vr,kr){throw new Error("arcTo not implemented.")},Ut.prototype.rect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(on,Kn),this.lineTo(on+qn,Kn),this.lineTo(on+qn,Kn+vr),this.lineTo(on,Kn+vr),this.lineTo(on,Kn),this.lineTo(on+qn,Kn),this.lineTo(on,Kn)},Ut.prototype.fillRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ft.call(this)){var kr={};this.lineCap!=="butt"&&(kr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(kr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(on,Kn,qn,vr),this.fill(),kr.hasOwnProperty("lineCap")&&(this.lineCap=kr.lineCap),kr.hasOwnProperty("lineJoin")&&(this.lineJoin=kr.lineJoin)}},Ut.prototype.strokeRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");Dn.call(this)||(this.beginPath(),this.rect(on,Kn,qn,vr),this.stroke())},Ut.prototype.clearRect=function(on,Kn,qn,vr){if(isNaN(on)||isNaN(Kn)||isNaN(qn)||isNaN(vr))throw dl.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(on,Kn,qn,vr))},Ut.prototype.save=function(on){on=typeof on!="boolean"||on;for(var Kn=this.pdf.internal.getCurrentPageInfo().pageNumber,qn=0;qn0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ut.prototype.drawImage=function(on,Kn,qn,vr,kr,Jr,Si,Li,Yi){var Eo=this.pdf.getImageProperties(on),ua=1,sa=1,qa=1,Mn=1;vr!==void 0&&Li!==void 0&&(qa=Li/vr,Mn=Yi/kr,ua=Eo.width/vr*Li/vr,sa=Eo.height/kr*Yi/kr),Jr===void 0&&(Jr=Kn,Si=qn,Kn=0,qn=0),vr!==void 0&&Li===void 0&&(Li=vr,Yi=kr),vr===void 0&&Li===void 0&&(Li=Eo.width,Yi=Eo.height);var ca=this.ctx.transform.decompose(),$s=ei(ca.rotate.shx),cs=new Xe,mo=(cs=(cs=(cs=cs.multiply(ca.translate)).multiply(ca.skew)).multiply(ca.scale)).applyToRectangle(new Ue(Jr-Kn*qa,Si-qn*Mn,vr*ua,kr*sa));if(this.autoPaging){for(var As,Sa=Tn.call(this,mo),ss=[],ts=0;tsJl||Rsmo||Sa0)){for(;Yi>=0;Yi--)if(kr[Yi-1].close!==!0&&kr[Yi-1].begin!==!0){kr[Yi-1].deltas.push(qn),kr[Yi-1].abs.push(Li);break}}break;case"bct":qn=[Li.x1-Jr[Si-1].x,Li.y1-Jr[Si-1].y,Li.x2-Jr[Si-1].x,Li.y2-Jr[Si-1].y,Li.x-Jr[Si-1].x,Li.y-Jr[Si-1].y],kr[kr.length-1].deltas.push(qn);break;case"qct":var Eo=Jr[Si-1].x+2/3*(Li.x1-Jr[Si-1].x),ua=Jr[Si-1].y+2/3*(Li.y1-Jr[Si-1].y),sa=Li.x+2/3*(Li.x1-Li.x),qa=Li.y+2/3*(Li.y1-Li.y),Mn=Li.x,ca=Li.y;qn=[Eo-Jr[Si-1].x,ua-Jr[Si-1].y,sa-Jr[Si-1].x,qa-Jr[Si-1].y,Mn-Jr[Si-1].x,ca-Jr[Si-1].y],kr[kr.length-1].deltas.push(qn);break;case"arc":kr.push({deltas:[],abs:[],arc:!0}),Array.isArray(kr[kr.length-1].abs)&&kr[kr.length-1].abs.push(Li)}}vr=Kn?null:on==="stroke"?"stroke":"fill";for(var $s=!1,cs=0;cs=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*on.scale),kr=this.lineWidth,this.lineWidth=kr*on.scale);var js=this.autoPaging!=="text";if(js||_a.y+_a.h<=ts){if(js||_a.y>=Sa&&_a.x<=pl){var Ka=js?on.text:this.pdf.splitTextToSize(on.text,on.maxWidth||pl-_a.x)[0],Ec=hr([JSON.parse(JSON.stringify(sa))],this.posX+this.margin[3],-bl+Sa+this.ctx.prevPageLastElemOffset)[0],Il=js&&(As>cs||As=.01&&(this.pdf.setFontSize(vr),this.lineWidth=kr)}}else on.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*on.scale),kr=this.lineWidth,this.lineWidth=kr*on.scale),this.pdf.text(on.text,Yi.x+this.posX,Yi.y+this.posY,{angle:on.angle,align:Kn,renderingMode:on.renderingMode,maxWidth:on.maxWidth}),on.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=kr)},fr=function(on,Kn,qn,vr){qn=qn||0,vr=vr||0,this.pdf.internal.out(E(on+qn)+" "+re(Kn+vr)+" l")},sr=function(on,Kn,qn){return this.pdf.lines(on,Kn,qn,null,null)},fi=function(on,Kn,qn,vr,kr,Jr,Si,Li){this.pdf.internal.out([z(ce(qn+on)),z(he(vr+Kn)),z(ce(kr+on)),z(he(Jr+Kn)),z(ce(Si+on)),z(he(Li+Kn)),"c"].join(" "))},wi=function(on,Kn,qn,vr){for(var kr=2*Math.PI,Jr=Math.PI/2;Kn>qn;)Kn-=kr;var Si=Math.abs(qn-Kn);Si1e-5;){var ua=Eo+Yi*Math.min(Si,Jr);Li.push(Fi.call(this,on,Eo,ua)),Si-=Math.abs(ua-Eo),Eo=ua}return Li},Fi=function(on,Kn,qn){var vr=(qn-Kn)/2,kr=on*Math.cos(vr),Jr=on*Math.sin(vr),Si=kr,Li=-Jr,Yi=Si*Si+Li*Li,Eo=Yi+Si*kr+Li*Jr,ua=4/3*(Math.sqrt(2*Yi*Eo)-Eo)/(Si*Jr-Li*kr),sa=Si-ua*Li,qa=Li+ua*Si,Mn=sa,ca=-qa,$s=vr+Kn,cs=Math.cos($s),mo=Math.sin($s);return{x1:on*Math.cos(Kn),y1:on*Math.sin(Kn),x2:sa*cs-qa*mo,y2:sa*mo+qa*cs,x3:Mn*cs-ca*mo,y3:Mn*mo+ca*cs,x4:on*Math.cos(qn),y4:on*Math.sin(qn)}},ei=function(on){return 180*on/Math.PI},Ni=function(on,Kn,qn,vr,kr,Jr){var Si=on+.5*(qn-on),Li=Kn+.5*(vr-Kn),Yi=kr+.5*(qn-kr),Eo=Jr+.5*(vr-Jr),ua=Math.min(on,kr,Si,Yi),sa=Math.max(on,kr,Si,Yi),qa=Math.min(Kn,Jr,Li,Eo),Mn=Math.max(Kn,Jr,Li,Eo);return new Ue(ua,qa,sa-ua,Mn-qa)},ko=function(on,Kn,qn,vr,kr,Jr,Si,Li){var Yi,Eo,ua,sa,qa,Mn,ca,$s,cs,mo,As,Sa,ss,ts,Jl=qn-on,pl=vr-Kn,Rs=kr-qn,bl=Jr-vr,gl=Si-kr,_a=Li-Jr;for(Eo=0;Eo<41;Eo++)cs=(ca=(ua=on+(Yi=Eo/40)*Jl)+Yi*((qa=qn+Yi*Rs)-ua))+Yi*(qa+Yi*(kr+Yi*gl-qa)-ca),mo=($s=(sa=Kn+Yi*pl)+Yi*((Mn=vr+Yi*bl)-sa))+Yi*(Mn+Yi*(Jr+Yi*_a-Mn)-$s),Eo==0?(As=cs,Sa=mo,ss=cs,ts=mo):(As=Math.min(As,cs),Sa=Math.min(Sa,mo),ss=Math.max(ss,cs),ts=Math.max(ts,mo));return new Ue(Math.round(As),Math.round(Sa),Math.round(ss-As),Math.round(ts-Sa))},io=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var on,Kn,qn=(on=this.ctx.lineDash,Kn=this.ctx.lineDashOffset,JSON.stringify({lineDash:on,lineDashOffset:Kn}));this.prevLineDash!==qn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=qn)}}})(Na.API),function(y){var z=function(Ze){var Ue,Xe,$e,gt,Ut,qt,ft,Dn,Bn,Tn;for(/[^\x00-\xFF]/.test(Ze),Xe=[],$e=0,gt=(Ze+=Ue="\0\0\0\0".slice(Ze.length%4||4)).length;gt>$e;$e+=4)(Ut=(Ze.charCodeAt($e)<<24)+(Ze.charCodeAt($e+1)<<16)+(Ze.charCodeAt($e+2)<<8)+Ze.charCodeAt($e+3))!==0?(qt=(Ut=((Ut=((Ut=((Ut=(Ut-(Tn=Ut%85))/85)-(Bn=Ut%85))/85)-(Dn=Ut%85))/85)-(ft=Ut%85))/85)%85,Xe.push(qt+33,ft+33,Dn+33,Bn+33,Tn+33)):Xe.push(122);return function(fn,hr){for(var ir=hr;ir>0;ir--)fn.pop()}(Xe,Ue.length),String.fromCharCode.apply(String,Xe)+"~>"},E=function(Ze){var Ue,Xe,$e,gt,Ut,qt=String,ft="length",Dn=255,Bn="charCodeAt",Tn="slice",fn="replace";for(Ze[Tn](-2),Ze=Ze[Tn](0,-2)[fn](/\s/g,"")[fn]("z","!!!!!"),$e=[],gt=0,Ut=(Ze+=Ue="uuuuu"[Tn](Ze[ft]%5||5))[ft];Ut>gt;gt+=5)Xe=52200625*(Ze[Bn](gt)-33)+614125*(Ze[Bn](gt+1)-33)+7225*(Ze[Bn](gt+2)-33)+85*(Ze[Bn](gt+3)-33)+(Ze[Bn](gt+4)-33),$e.push(Dn&Xe>>24,Dn&Xe>>16,Dn&Xe>>8,Dn&Xe);return function(hr,ir){for(var Wn=ir;Wn>0;Wn--)hr.pop()}($e,Ue[ft]),qt.fromCharCode.apply(qt,$e)},re=function(Ze){return Ze.split("").map(function(Ue){return("0"+Ue.charCodeAt().toString(16)).slice(-2)}).join("")+">"},ce=function(Ze){var Ue=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Ze=Ze.replace(/\s/g,"")).indexOf(">")!==-1&&(Ze=Ze.substr(0,Ze.indexOf(">"))),Ze.length%2&&(Ze+="0"),Ue.test(Ze)===!1)return"";for(var Xe="",$e=0;$eBn&&(Dn=Tn,Tn=Bn,Bn=Dn);else{if(Ue!=="l"&&Ue!=="landscape")throw"Invalid orientation: "+Ue;Ue="l",Bn>Tn&&(Dn=Tn,Tn=Bn,Bn=Dn)}return{width:Tn,height:Bn,unit:Xe,k:Ut,orientation:Ue}},y.html=function(Ue,Xe){(Xe=Xe||{}).callback=Xe.callback||function(){},Xe.html2canvas=Xe.html2canvas||{},Xe.html2canvas.canvas=Xe.html2canvas.canvas||this.canvas,Xe.jsPDF=Xe.jsPDF||this,Xe.fontFaces=Xe.fontFaces?Xe.fontFaces.map(JA):null;var $e=new Ze(Xe);return Xe.worker?$e:$e.from(Ue).doCallback()}}(Na.API),Na.API.addJS=function(y){return L0=y,this.internal.events.subscribe("postPutResources",function(){jf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(jf+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),I0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+L0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){jf!==void 0&&I0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var z;y.events.push(["postPutResources",function(){var E=this,re=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var ce=E.outline.render().split(/\r\n/),he=0;he> endobj")}var ft=E.internal.newObject();for(E.internal.write("<< /Names [ "),he=0;he>","endobj"),z=E.internal.newObject(),E.internal.write("<< /Dests "+ft+" 0 R"),E.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var E=this;E.outline.root.children.length>0&&(E.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&E.internal.write("/Names "+z+" 0 R"))}]),y.events.push(["initialized",function(){var E=this;E.outline={createNamedDestinations:!1,root:{children:[]}},E.outline.add=function(re,ce,he){var Ze={title:ce,options:he,children:[]};return re==null&&(re=this.root),re.children.push(Ze),Ze},E.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=E,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},E.outline.genIds_r=function(re){re.id=E.internal.newObjectDeferred();for(var ce=0;ce0&&(this.line("/First "+this.makeRef(re.children[0])),this.line("/Last "+this.makeRef(re.children[re.children.length-1]))),this.line("/Count "+this.count_r({count:0},re)),this.objEnd()},E.outline.renderItems=function(re){for(var ce=this.ctx.pdf.internal.getVerticalCoordinateString,he=0;he0&&this.line("/Prev "+this.makeRef(re.children[he-1])),he0&&(this.line("/First "+this.makeRef(Ze.children[0])),this.line("/Last "+this.makeRef(Ze.children[Ze.children.length-1])));var Ue=this.count=this.count_r({count:0},Ze);if(Ue>0&&this.line("/Count "+Ue),Ze.options&&Ze.options.pageNumber){var Xe=E.internal.getPageInfo(Ze.options.pageNumber);this.line("/Dest ["+Xe.objId+" 0 R /XYZ 0 "+ce(0)+" 0]")}this.objEnd()}for(var $e=0;$e>"}),"transparency"in gt&&Array.isArray(gt.transparency)&>.transparency.length>0){for(var $r="",Ur=0,qr=gt.transparency.length;Ur>",st.content=m;var jt=st.objId+" 0 R";m="<>";else if(u.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=1};var z=n.__arabicParser__.arabicLetterHasFinalForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=3};var te=n.__arabicParser__.arabicLetterHasMedialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length==4},Se=n.__arabicParser__.resolveLigatures=function(st){var dt=0,ze=s,$t="",jt=0;for(dt=0;dt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(L){s=L}});var u=150;Object.defineProperty(this,"width",{get:function(){return u},set:function(L){u=isNaN(L)||Number.isInteger(L)===!1||L<0?150:L,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=u+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(L){d=isNaN(L)||Number.isInteger(L)===!1||L<0?300:L,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(L){m=L}});var O={};Object.defineProperty(this,"style",{get:function(){return O},set:function(L){O=L}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,u){var d;if((s=s||"2d")!=="2d")return null;for(d in u)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=u[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(hi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,u=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var M=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return M},set:function(st){M=st}});var z=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return z},set:function(st){z=st}});var te=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return te},set:function(st){te=st}});var Se=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Se},set:function(st){Se=st}});var Ue=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ue},set:function(st){Ue=st}});var ee=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ee},set:function(st){ee=st}});var ut=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ut},set:function(st){ut=st}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(M){return u.call(this),this.internal.__cell__.headerFunction=typeof M=="function"?M:void 0,this},n.getTextDimensions=function(M,z){u.call(this);var te=(z=z||{}).fontSize||this.getFontSize(),Se=z.font||this.getFont(),Ue=z.scaleFactor||this.internal.scaleFactor,ee=0,ut=0,st=0,dt=this;if(!Array.isArray(M)&&typeof M!="string"){if(typeof M!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");M=String(M)}var ze=z.maxWidth;ze>0?typeof M=="string"?M=this.splitTextToSize(M,ze):Object.prototype.toString.call(M)==="[object Array]"&&(M=M.reduce(function(jt,Dt){return jt.concat(dt.splitTextToSize(Dt,ze))},[])):M=Array.isArray(M)?M:[M];for(var $t=0;$tthis.getPageHeight()?(this.cellAddPage(),M.y=Se.top,ee&&Ue&&(this.printHeaderRow(M.lineNumber,!0),M.y+=Ue[0].height)):M.y=z.y+z.height||M.y),M.text[0]!==void 0&&(this.rect(M.x,M.y,M.width,M.height,s===!0?"FD":void 0),M.align==="right"?this.text(M.text,M.x+M.width-te,M.y+te,{align:"right",baseline:"top"}):M.align==="center"?this.text(M.text,M.x+M.width/2,M.y+te,{align:"center",baseline:"top",maxWidth:M.width-te-te}):this.text(M.text,M.x+te,M.y+te,{align:"left",baseline:"top",maxWidth:M.width-te-te})),this.internal.__cell__.lastCell=M,this};n.table=function(M,z,te,Se,Ue){if(u.call(this),!te)throw new Error("No data for PDF table.");var ee,ut,st,dt,ze=[],$t=[],jt=[],Dt={},Or={},on=[],Vr=[],Ar=(Ue=Ue||{}).autoSize||!1,Rt=Ue.printHeaders!==!1,Tr=Ue.css&&Ue.css["font-size"]!==void 0?16*Ue.css["font-size"]:Ue.fontSize||12,Ke=Ue.margins||Object.assign({width:this.getPageWidth()},a),gt=typeof Ue.padding=="number"?Ue.padding:3,Yt=Ue.headerBackgroundColor||"#c8c8c8",Gt=Ue.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Rt,this.internal.__cell__.margins=Ke,this.internal.__cell__.table_font_size=Tr,this.internal.__cell__.padding=gt,this.internal.__cell__.headerBackgroundColor=Yt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Tr),Se==null)$t=ze=Object.keys(te[0]),jt=ze.map(function(){return"left"});else if(Array.isArray(Se)&&(0,V.Z)(Se[0])==="object")for(ze=Se.map(function(Rn){return Rn.name}),$t=Se.map(function(Rn){return Rn.prompt||Rn.name||""}),jt=Se.map(function(Rn){return Rn.align||"left"}),ee=0;ee0&&this.setTableHeaderRow(Ue),this.setFont(void 0,"normal"),s=!1}}(hi.API);var qo={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Lu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tl=ya(Lu),jl=[100,200,300,400,500,600,700,800,900],Ic=ya(jl);function IA(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return qo[m=m||"normal"]?m:"normal"}(n.style),u=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Tl[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:u,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,u].join(" ")}}}function zA(n,a,s,u){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function _e(n,a,s){var u=n.length,d=[];d[0]=4;for(var m=0;m>m&O}function zt(n,a,s,u){var d=s*u,m=Math.floor(d/8),O=16-(d-8*m+u),L=(1<>8&255;z.setUint8(te,Ue)}})(n,m,ir(n,m)&~(L<>7,O=1<<1+(7&d);n[a++],n[a++];var L=null,M=null;m&&(L=a,M=O,a+=3*O);var z=!0,te=[],Se=0,Ue=null,ee=0,ut=null;for(this.width=s,this.height=u;z&&a=0))throw Error("Invalid block size");if(Ke===0)break;a+=Ke}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var st=n[a++];Se=n[a++]|n[a++]<<8,Ue=n[a++],1&st||(Ue=null),ee=st>>2&7,a++;break;case 254:for(;;){if(!((Ke=n[a++])>=0))throw Error("Invalid block size");if(Ke===0)break;a+=Ke}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var dt=n[a++]|n[a++]<<8,ze=n[a++]|n[a++]<<8,$t=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Dt=n[a++],Or=Dt>>6&1,on=1<<1+(7&Dt),Vr=L,Ar=M,Rt=!1;Dt>>7&&(Rt=!0,Vr=a,Ar=on,a+=3*on);var Tr=a;for(a++;;){var Ke;if(!((Ke=n[a++])>=0))throw Error("Invalid block size");if(Ke===0)break;a+=Ke}te.push({x:dt,y:ze,width:$t,height:jt,has_local_palette:Rt,palette_offset:Vr,palette_size:Ar,data_offset:Tr,data_length:a-Tr,transparent_index:Ue,interlaced:!!Or,delay:Se,disposal:ee});break;case 59:z=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return te.length},this.loopCount=function(){return ut},this.frameInfo=function(gt){if(gt<0||gt>=te.length)throw new Error("Frame index out of range.");return te[gt]},this.decodeAndBlitFrameBGRA=function(gt,Yt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,rr=4*Rn;Gt.interlaced===!0&&(rr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(rr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Yt[Nt++]=Xn,Yt[Nt++]=In,Yt[Nt++]=dn,Yt[Nt++]=255}--wn}},this.decodeAndBlitFrameRGBA=function(gt,Yt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,rr=4*Rn;Gt.interlaced===!0&&(rr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(rr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Yt[Nt++]=dn,Yt[Nt++]=In,Yt[Nt++]=Xn,Yt[Nt++]=255}--wn}}}function lr(n,a,s,u){for(var d=n[a++],m=1<>=M,te-=M,dt!==m){if(dt===O)break;for(var ze=dtm;)jt=ut[jt]>>8,++$t;var Dt=jt;if(Ue+$t+(ze!==dt?1:0)>u)return void va.log("Warning, gif stream longer than expected.");s[Ue++]=Dt;var Or=Ue+=$t;for(ze!==dt&&(s[Ue++]=Dt),jt=ze;$t--;)jt=ut[jt],s[--Or]=255&jt,jt>>=8;st!==null&&L<4096&&(ut[L++]=st<<8|Dt,L>=z+1&&M<12&&(++M,z=z<<1|1)),st=dt}else L=O+1,z=(1<<(M=d+1))-1,st=null}return Ue!==u&&va.log("Warning, gif stream shorter than expected."),s}function Rr(n){var a,s,u,d,m,O=Math.floor,L=new Array(64),M=new Array(64),z=new Array(64),te=new Array(64),Se=new Array(65535),Ue=new Array(65535),ee=new Array(64),ut=new Array(64),st=[],dt=0,ze=7,$t=new Array(64),jt=new Array(64),Dt=new Array(64),Or=new Array(256),on=new Array(2048),Vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Rt=[0,1,2,3,4,5,6,7,8,9,10,11],Tr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ke=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],gt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Yt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Qr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gr(Qe,Tt){for(var Nt=0,rr=0,fr=new Array,Dr=1;Dr<=16;Dr++){for(var Wr=1;Wr<=Qe[Dr];Wr++)fr[Tt[rr]]=[],fr[Tt[rr]][0]=Nt,fr[Tt[rr]][1]=Dr,rr++,Nt++;Nt*=2}return fr}function $r(Qe){for(var Tt=Qe[0],Nt=Qe[1]-1;Nt>=0;)Tt&1<>8&255),Ur(255&Qe)}function Rn(Qe,Tt,Nt,rr,fr){for(var Dr,Wr=fr[0],Xr=fr[240],dn=function(xn,rs){var mi,Yi,Hi,$a,la,Ds,da,Aa,Ci,Ns,Ri=0;for(Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+1],Hi=xn[Ri+2],$a=xn[Ri+3],la=xn[Ri+4],Ds=xn[Ri+5],da=xn[Ri+6];var cl=mi+(Aa=xn[Ri+7]),Ta=mi-Aa,Xs=Yi+da,qs=Yi-da,Oo=Hi+Ds,Gi=Hi-Ds,Bo=$a+la,ls=$a-la,Fs=cl+Bo,No=cl-Bo,ra=Xs+Oo,ns=Xs-Oo;xn[Ri]=Fs+ra,xn[Ri+4]=Fs-ra;var Za=.707106781*(ns+No);xn[Ri+2]=No+Za,xn[Ri+6]=No-Za;var Gf=.382683433*((Fs=ls+Gi)-(ns=qs+Ta)),LA=.5411961*Fs+Gf,j0=1.306562965*ns+Gf,n0=.707106781*(ra=Gi+qs),is=Ta+n0,H0=Ta-n0;xn[Ri+5]=H0+LA,xn[Ri+3]=H0-LA,xn[Ri+1]=is+j0,xn[Ri+7]=is-j0,Ri+=8}for(Ri=0,Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+8],Hi=xn[Ri+16],$a=xn[Ri+24],la=xn[Ri+32],Ds=xn[Ri+40],da=xn[Ri+48];var K0=mi+(Aa=xn[Ri+56]),tc=mi-Aa,rc=Yi+da,ol=Yi-da,nA=Hi+Ds,pA=Hi-Ds,Vf=$a+la,Hh=$a-la,Lc=K0+Vf,i0=K0-Vf,Dc=rc+nA,Fc=rc-nA;xn[Ri]=Lc+Dc,xn[Ri+32]=Lc-Dc;var nc=.707106781*(Fc+i0);xn[Ri+16]=i0+nc,xn[Ri+48]=i0-nc;var Wf=.382683433*((Lc=Hh+pA)-(Fc=ol+tc)),s0=.5411961*Lc+Wf,$f=1.306562965*Fc+Wf,Qd=.707106781*(Dc=pA+ol),jd=tc+Qd,Hd=tc-Qd;xn[Ri+40]=Hd+s0,xn[Ri+24]=Hd-s0,xn[Ri+8]=jd+$f,xn[Ri+56]=jd-$f,Ri++}for(Ci=0;Ci<64;++Ci)Ns=xn[Ci]*rs[Ci],ee[Ci]=Ns>0?Ns+.5|0:Ns-.5|0;return ee}(Qe,Tt),In=0;In<64;++In)ut[Vr[In]]=dn[In];var Xn=ut[0]-Nt;Nt=ut[0],Xn==0?$r(rr[0]):($r(rr[Ue[Dr=32767+Xn]]),$r(Se[Dr]));for(var Yn=63;Yn>0&&ut[Yn]==0;)Yn--;if(Yn==0)return $r(Wr),Nt;for(var Ni,mt=1;mt<=Yn;){for(var qn=mt;ut[mt]==0&&mt<=Yn;)++mt;var Ws=mt-qn;if(Ws>=16){Ni=Ws>>4;for(var ts=1;ts<=Ni;++ts)$r(Xr);Ws&=15}Dr=32767+ut[mt],$r(fr[(Ws<<4)+Ue[Dr]]),$r(Se[Dr]),mt++}return Yn!=63&&$r(Wr),Nt}function wn(Qe){Qe=Math.min(Math.max(Qe,1),100),m!=Qe&&(function(Tt){for(var Nt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],rr=0;rr<64;rr++){var fr=O((Nt[rr]*Tt+50)/100);fr=Math.min(Math.max(fr,1),255),L[Vr[rr]]=fr}for(var Dr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Wr=0;Wr<64;Wr++){var Xr=O((Dr[Wr]*Tt+50)/100);Xr=Math.min(Math.max(Xr,1),255),M[Vr[Wr]]=Xr}for(var dn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],In=0,Xn=0;Xn<8;Xn++)for(var Yn=0;Yn<8;Yn++)z[In]=1/(L[Vr[In]]*dn[Xn]*dn[Yn]*8),te[In]=1/(M[Vr[In]]*dn[Xn]*dn[Yn]*8),In++}(Qe<50?Math.floor(5e3/Qe):Math.floor(200-2*Qe)),m=Qe)}this.encode=function(Qe,Tt){Tt&&wn(Tt),st=new Array,dt=0,ze=7,qr(65496),qr(65504),qr(16),Ur(74),Ur(70),Ur(73),Ur(70),Ur(0),Ur(1),Ur(1),Ur(0),qr(1),qr(1),Ur(0),Ur(0),function(){qr(65499),qr(132),Ur(0);for(var Yi=0;Yi<64;Yi++)Ur(L[Yi]);Ur(1);for(var Hi=0;Hi<64;Hi++)Ur(M[Hi])}(),function(Yi,Hi){qr(65472),qr(17),Ur(8),qr(Hi),qr(Yi),Ur(3),Ur(1),Ur(17),Ur(0),Ur(2),Ur(17),Ur(1),Ur(3),Ur(17),Ur(1)}(Qe.width,Qe.height),function(){qr(65476),qr(418),Ur(0);for(var Yi=0;Yi<16;Yi++)Ur(Ar[Yi+1]);for(var Hi=0;Hi<=11;Hi++)Ur(Rt[Hi]);Ur(16);for(var $a=0;$a<16;$a++)Ur(Tr[$a+1]);for(var la=0;la<=161;la++)Ur(Ke[la]);Ur(1);for(var Ds=0;Ds<16;Ds++)Ur(gt[Ds+1]);for(var da=0;da<=11;da++)Ur(Yt[da]);Ur(17);for(var Aa=0;Aa<16;Aa++)Ur(Gt[Aa+1]);for(var Ci=0;Ci<=161;Ci++)Ur(Qr[Ci])}(),qr(65498),qr(12),Ur(3),Ur(1),Ur(0),Ur(2),Ur(17),Ur(3),Ur(17),Ur(0),Ur(63),Ur(0);var Nt=0,rr=0,fr=0;dt=0,ze=7,this.encode.displayName="_encode_";for(var Dr,Wr,Xr,dn,In,Xn,Yn,Ni,mt,qn=Qe.data,Ws=Qe.width,ts=Qe.height,xn=4*Ws,rs=0;rs>3)*xn+(Yn=4*(7&mt)),rs+Ni>=ts&&(Xn-=xn*(rs+1+Ni-ts)),Dr+Yn>=xn&&(Xn-=Dr+Yn-xn+4),Wr=qn[Xn++],Xr=qn[Xn++],dn=qn[Xn++],$t[mt]=(on[Wr]+on[Xr+256|0]+on[dn+512|0]>>16)-128,jt[mt]=(on[Wr+768|0]+on[Xr+1024|0]+on[dn+1280|0]>>16)-128,Dt[mt]=(on[Wr+1280|0]+on[Xr+1536|0]+on[dn+1792|0]>>16)-128;Nt=Rn($t,z,Nt,a,u),rr=Rn(jt,te,rr,s,d),fr=Rn(Dt,te,fr,s,d),Dr+=32}rs+=8}if(ze>=0){var mi=[];mi[1]=ze+1,mi[0]=(1<gt;gt++)if(Rt[Tr+gt]!=Ke.charCodeAt(gt))return!0;return!1}function u(Rt,Tr,Ke,gt,Yt){for(var Gt=0;GtGt+1?[]:new Tr),!(Qr.length>>0;w&Z;)Z>>>=1;return Z?(w&Z-1)+Z:w}function Ke(w,T,Z,ue,Le){a(!(ue%Z));do w[T+(ue-=Z)]=Le;while(0=Le),512>=Le)var Ne=m(512);else if((Ne=m(Le))==null)return 0;return function(Me,Ye,it,bt,sr,Pr){var _t,hr,Ir=Ye,an=1<_t;++_t){if(kr[_t]>1<<_t)return 0;An[_t+1]=An[_t]+kr[_t]}for(hr=0;hr(Ks-=kr[_t]))return 0;for(;0=_t;++_t,sr<<=1){if(fi+=Ks<<=1,0>(Ks-=kr[_t]))return 0;for(;0Sn&&!(0>=(hn-=kr[Sn]));)++Sn,hn<<=1;an+=Ei=1<<(hn=Sn-it),Me[Ye+(Sn=Di&_n)].g=hn+it,Me[Ye+Sn].value=Ir-Ye-Sn}bt.g=_t-it,bt.value=Pr[hr++],Ke(Me,Ir+(Di>>it),sr,Ei,bt),Di=Tr(Di,_t)}}return fi!=2*An[15]-1?0:an}(w,T,Z,ue,Le,Ne)}function Yt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Qr(){this.G=O(5,Yt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=O(sd,Gt)}function Gr(w,T,Z,ue){a(w!=null),a(T!=null),a(2147483648>ue),w.Ca=254,w.I=0,w.b=-8,w.Ka=0,w.oa=T,w.pa=Z,w.Jd=T,w.Yc=Z+ue,w.Zc=4<=ue?Z+ue-4+1:Z,Wr(w)}function $r(w,T){for(var Z=0;0ue),w.Sb=ue,w.Ra=0,w.u=0,w.h=0,4>>=8,w.Ra+=w.oa[w.pa+w.bb]<>>0,++w.bb,w.u-=8;rr(w)&&(w.h=1,w.u=0)}function wn(w,T){if(a(0<=T),!w.h&&T<=Fu){var Z=Nt(w)&Du[T];return w.u+=T,Rn(w),Z}return w.h=1,w.u=0}function Qe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Tt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Nt(w){return w.Ra>>>(w.u&Vh-1)>>>0}function rr(w){return a(w.bb<=w.Sb),w.h||w.bb==w.Sb&&w.u>Vh}function fr(w,T){w.u=T,w.h=rr(w)}function Dr(w){w.u>=eh&&(a(w.u>=eh),Rn(w))}function Wr(w){a(w!=null&&w.oa!=null),w.pa>>0,w.b+=8):(a(w!=null&&w.oa!=null),w.paw.b&&Wr(w);var ue=w.b,Le=Z*T>>>8,Ne=(w.I>>>ue>Le)+0;for(Ne?(Z-=Le,w.I-=Le+1<>>0):Z=Le+1,ue=Z,Le=0;256<=ue;)Le+=8,ue>>=8;return ue=7^Le+Wh[ue],w.b-=ue,w.Ca=(Z<>24&255,w[T+1]=Z>>16&255,w[T+2]=Z>>8&255,w[T+3]=255&Z}function Xn(w,T){return w[T+0]|w[T+1]<<8}function Yn(w,T){return Xn(w,T)|w[T+2]<<16}function Ni(w,T){return Xn(w,T)|Xn(w,T+2)<<16}function mt(w,T){var Z=1<=Le||0>=Ne?0:(Z[0]=Le,ue[0]=Ne,1)}function xn(w,T){return w+(1<>>T}function rs(w,T){return((4278255360&w)+(4278255360&T)>>>0&4278255360)+((16711935&w)+(16711935&T)>>>0&16711935)>>>0}function mi(w,T){Rt[T]=function(Z,ue,Le,Ne,Me,Ye,it){var bt;for(bt=0;bt>>1)+(w&T)>>>0}function $a(w){return 0<=w&&256>w?w:0>w?0:255>1))}function Ds(w,T,Z){return Math.abs(T-Z)-Math.abs(w-Z)}function da(w,T,Z,ue,Le,Ne,Me){for(ue=Ne[Me-1],Z=0;Z>8&255,it=16711935&(it=(it=16711935&Me)+((Ye<<16)+Ye));ue[Le+Ne]=(4278255360&Me)+it>>>0}}function Ci(w,T){T.jd=255&w,T.hd=w>>8&255,T.ud=w>>16&255}function Ns(w,T,Z,ue,Le,Ne){var Me;for(Me=0;Me>>8,bt=Ye,sr=255&(sr=(sr=Ye>>>16)+((w.jd<<24>>24)*(it<<24>>24)>>>5));bt=255&(bt=(bt+=(w.hd<<24>>24)*(it<<24>>24)>>>5)+((w.ud<<24>>24)*(sr<<24>>24)>>>5)),Le[Ne+Me]=(4278255360&Ye)+(sr<<16)+bt}}function Ri(w,T,Z,ue,Le){Rt[T]=function(Ne,Me,Ye,it,bt,sr,Pr,_t,hr){for(it=Pr;it<_t;++it)for(Pr=0;Pr>Ne.b,hr=Ne.Ea,Ir=Ne.K[0],an=Ne.w;if(8>_t)for(Ne=(1<>=_t}else Rt["VP8LMapColor"+Z](it,bt,Ir,an,sr,Pr,Me,Ye,hr)}}function cl(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne}}function Ta(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne,ue[Le++]=Ne>>24&255}}function Xs(w,T,Z,ue,Le){for(Z=T+Z;T>16&240|Me>>12&15,Me=240&Me|Me>>28&15;ue[Le++]=Ne,ue[Le++]=Me}}function qs(w,T,Z,ue,Le){for(Z=T+Z;T>16&248|Me>>13&7,Me=Me>>5&224|Me>>3&31;ue[Le++]=Ne,ue[Le++]=Me}}function Oo(w,T,Z,ue,Le){for(Z=T+Z;T>8&255,ue[Le++]=Ne>>16&255}}function Gi(w,T,Z,ue,Le,Ne){if(Ne==0)for(Z=T+Z;T>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Le+=32;else u(ue,Le,w,T,Z)}function Bo(w,T){Rt[T][0]=Rt[w+"0"],Rt[T][1]=Rt[w+"1"],Rt[T][2]=Rt[w+"2"],Rt[T][3]=Rt[w+"3"],Rt[T][4]=Rt[w+"4"],Rt[T][5]=Rt[w+"5"],Rt[T][6]=Rt[w+"6"],Rt[T][7]=Rt[w+"7"],Rt[T][8]=Rt[w+"8"],Rt[T][9]=Rt[w+"9"],Rt[T][10]=Rt[w+"10"],Rt[T][11]=Rt[w+"11"],Rt[T][12]=Rt[w+"12"],Rt[T][13]=Rt[w+"13"],Rt[T][14]=Rt[w+"0"],Rt[T][15]=Rt[w+"0"]}function ls(w){return w==q1||w==J1||w==E1||w==eg}function Fs(){this.eb=[],this.size=this.A=this.fb=0}function No(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ra(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Fs,this.f.kb=new No,this.sd=null}function ns(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Za(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(w){return alert("todo:WebPSamplerProcessPlane"),w.T}function LA(w,T){var Z=w.T,ue=T.ba.f.RGBA,Le=ue.eb,Ne=ue.fb+w.ka*ue.A,Me=Ac[T.ba.S],Ye=w.y,it=w.O,bt=w.f,sr=w.N,Pr=w.ea,_t=w.W,hr=T.cc,Ir=T.dc,an=T.Mc,kr=T.Nc,An=w.ka,hn=w.ka+w.T,Sn=w.U,_n=Sn+1>>1;for(An==0?Me(Ye,it,null,null,bt,sr,Pr,_t,bt,sr,Pr,_t,Le,Ne,null,null,Sn):(Me(T.ec,T.fc,Ye,it,hr,Ir,an,kr,bt,sr,Pr,_t,Le,Ne-ue.A,Le,Ne,Sn),++Z);An+2Z,Le=Z==w1||Z==b1||Z==_1||Z==X1||Z==12||ls(Z);if(T.memory=null,T.Ib=null,T.Jb=null,T.Nd=null,!Up(T.Oa,w,Le?11:12))return 0;if(Le&&ls(Z)&&Fp(),w.da)alert("todo:use_scaling");else{if(ue){if(T.Ib=Gf,w.Kb){if(Z=w.U+1>>1,T.memory=m(w.U+2*Z),T.memory==null)return 0;T.ec=T.memory,T.fc=0,T.cc=T.ec,T.dc=T.fc+w.U,T.Mc=T.cc,T.Nc=T.dc+Z,T.Ib=LA,Fp()}}else alert("todo:EmitYUV");Le&&(T.Jb=j0,ue&&kc())}if(ue&&!Ng){for(w=0;256>w;++w)wm[w]=89858*(w-128)+x1>>B1,Em[w]=-22014*(w-128)+x1,_m[w]=-45773*(w-128),bm[w]=113618*(w-128)+x1>>B1;for(w=Gp;w>B1,Bm[w-Gp]=a0(T,255),xm[w-Gp]=a0(T+8>>4,15);Ng=1}return 1}function is(w){var T=w.ma,Z=w.U,ue=w.T;return a(!(1&w.ka)),0>=Z||0>=ue?0:(Z=T.Ib(w,T),T.Jb!=null&&T.Jb(w,T,Z),T.Dc+=Z,1)}function H0(w){w.ma.memory=null}function K0(w,T,Z,ue){return wn(w,8)!=47?0:(T[0]=wn(w,14)+1,Z[0]=wn(w,14)+1,ue[0]=wn(w,1),wn(w,3)!=0?0:!w.h)}function tc(w,T){if(4>w)return w+1;var Z=w-2>>1;return(2+(1&w)<>4)*w+(8-(15&Z)))?Z:1;var Z}function ol(w,T,Z){var ue=Nt(Z),Le=w[T+=255&ue].g-8;return 0>>0,a(8>=Z.g),w.g}function pA(w,T,Z){var ue=w.xc;return a((T=ue==0?0:w.vc[w.md*(Z>>ue)+(T>>ue)])>Ei.b)*fi;anSn&&(Bi=Sn),(0,Mp[pa[Wl++]>>8&15])(_t,hr+ +zs,An,hn+zs-Sn,Bi-zs,An,hn+zs),zs=Bi}hr+=Sn,hn+=Sn,++an&Di||(Ei+=fi)}Pr!=bt.nc&&u(it,Ye-Ir,it,Ye+(Pr-sr-1)*Ir,Ir);break;case 1:for(Ir=_t,kr=hr,Sn=(_t=bt.Ea)-(hn=_t&~(An=(hr=1<>bt.b)*an;sr=Le),0Ne.o&&(ue=Ne.o),Z=ue?Z=0:(Le[0]+=4*Ne.v,Ne.ka=Z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=ue-Z,Z=1),Z){if(Ye=Ye[0],11>(Z=w.ca).S){var sr=Z.f.RGBA,Pr=(ue=Z.S,Le=Ne.U,Ne=Ne.T,bt=sr.eb,sr.A),_t=Ne;for(sr=sr.fb+w.Ma*sr.A;0<_t--;){var hr=Me,Ir=Ye,an=Le,kr=bt,An=sr;switch(ue){case y1:jp(hr,Ir,an,kr,An);break;case w1:$h(hr,Ir,an,kr,An);break;case q1:$h(hr,Ir,an,kr,An),Kp(kr,An,0,an,1,0);break;case Tg:ad(hr,Ir,an,kr,An);break;case b1:Gi(hr,Ir,an,kr,An,1);break;case J1:Gi(hr,Ir,an,kr,An,1),Kp(kr,An,0,an,1,0);break;case _1:Gi(hr,Ir,an,kr,An,0);break;case E1:Gi(hr,Ir,an,kr,An,0),Kp(kr,An,1,an,1,0);break;case X1:Zh(hr,Ir,an,kr,An);break;case eg:Zh(hr,Ir,an,kr,An),wg(kr,An,an,1,0);break;case Ig:Yh(hr,Ir,an,kr,An);break;default:a(0)}Ye+=it,sr+=Pr}w.Ma+=Ne}else alert("todo:EmitRescaledRowsYUVA");a(w.Ma<=Z.height)}}w.C=T,a(w.C<=w.i)}function Lc(w){var T;if(0ue){var Le=w.l.width,Ne=Z.ca,Me=Z.tb+Le*ue,Ye=w.V,it=w.Ba+w.c*ue,bt=w.gc;a(w.ab==1),a(bt[0].hc==3),u0(bt[0],ue,T,Ye,it,Ne,Me),i0(Z,ue,T,Ne,Me,Le)}w.C=w.Ma=T}function Fc(w,T,Z,ue,Le,Ne,Me){var Ye=w.$/ue,it=w.$%ue,bt=w.m,sr=w.s,Pr=Z+w.$,_t=Pr;Le=Z+ue*Le;var hr=Z+ue*Ne,Ir=280+sr.ua,an=w.Pb?Ye:16777216,kr=0=an){var Di=Pr-Z;a((an=w).Pb),an.wd=an.m,an.xd=Di,0Ks.g?(fr(_n,_n.u+Ks.g),Di[fi]=Ks.value,_n=0):(fr(_n,_n.u+Ks.g-256),a(256<=Ks.value),_n=Ks.value),_n==0&&(Sn=!0)}else _n=ol(hn.G[0],hn.H[0],bt);if(bt.h)break;if(Sn||256>_n){if(!Sn)if(hn.nd)T[Pr]=(hn.qb|_n<<8)>>>0;else{if(Dr(bt),Sn=ol(hn.G[1],hn.H[1],bt),Dr(bt),Di=ol(hn.G[2],hn.H[2],bt),fi=ol(hn.G[3],hn.H[3],bt),bt.h)break;T[Pr]=(fi<<24|Sn<<16|_n<<8|Di)>>>0}if(Sn=!1,++Pr,++it>=ue&&(it=0,++Ye,Me!=null&&Ye<=Ne&&!(Ye%16)&&Me(w,Ye),kr!=null))for(;_t>>kr.Mb]=_n}else if(280>_n){if(_n=tc(_n-256,bt),Di=ol(hn.G[4],hn.H[4],bt),Dr(bt),Di=rc(ue,Di=tc(Di,bt)),bt.h)break;if(Pr-Z=ue;)it-=ue,++Ye,Me!=null&&Ye<=Ne&&!(Ye%16)&&Me(w,Ye);if(a(Pr<=Le),it&An&&(hn=pA(sr,it,Ye)),kr!=null)for(;_t>>kr.Mb]=_n}else{if(!(_n>>kr.Mb]=_n;_n=Pr,a(!(Sn>>>(Di=kr).Xa)),T[_n]=Di.X[Sn],Sn=!0}Sn||a(bt.h==rr(bt))}if(w.Pb&&bt.h&&PrNe?Ne:Ye),w.a=0,w.$=Pr-Z}return 1}return w.a=3,0}function nc(w){a(w!=null),w.vc=null,w.yc=null,w.Ya=null;var T=w.Wa;T!=null&&(T.X=null),w.vb=null,a(w!=null)}function Wf(){var w=new Es;return w==null?null:(w.a=0,w.xb=Fg,Bo("Predictor","VP8LPredictors"),Bo("Predictor","VP8LPredictors_C"),Bo("PredictorAdd","VP8LPredictorsAdd"),Bo("PredictorAdd","VP8LPredictorsAdd_C"),hl=Aa,Qp=Ns,jp=cl,$h=Ta,Zh=Xs,Yh=qs,ad=Oo,Rt.VP8LMapColor32b=A0,Rt.VP8LMapColor8b=Np,w)}function s0(w,T,Z,ue,Le){var Ne=1,Me=[w],Ye=[T],it=ue.m,bt=ue.s,sr=null,Pr=0;e:for(;;){if(Z)for(;Ne&&wn(it,1);){var _t=Me,hr=Ye,Ir=ue,an=1,kr=Ir.m,An=Ir.gc[Ir.ab],hn=wn(kr,2);if(Ir.Oc&1<=Ir.ab),hn){case 0:case 1:An.b=wn(kr,3)+2,an=s0(xn(An.Ea,An.b),xn(An.nc,An.b),0,Ir,An.K),An.K=An.K[0];break;case 3:var Sn,_n=wn(kr,8)+1,Di=16<_n?0:4<_n?1:2<_n?2:3;if(_t[0]=xn(An.Ea,Di),An.b=Di,Sn=an=s0(_n,1,0,Ir,An.K)){var fi,Ks=_n,Ei=An,pa=1<<(8>>Ei.b),Wl=m(pa);if(Wl==null)Sn=0;else{var zs=Ei.K[0],Bi=Ei.w;for(Wl[0]=Ei.K[0][0],fi=1;fi<1*Ks;++fi)Wl[fi]=rs(zs[Bi+fi],Wl[fi-1]);for(;fi<4*pa;++fi)Wl[fi]=0;Ei.K[0]=null,Ei.K[0]=Wl,Sn=1}}an=Sn;break;case 2:break;default:a(0)}Ne=an}}if(Me=Me[0],Ye=Ye[0],Ne&&wn(it,1)&&!(Ne=1<=(Pr=wn(it,4))&&11>=Pr)){ue.a=3;break e}var Kn;if(Kn=Ne)t:{var dl,Rs,wa,Fo=ue,vA=Me,VA=Ye,ll=Pr,DA=Z,WA=Fo.m,$l=Fo.s,La=[null],eo=1,Al=0,to=om[ll];r:for(;;){if(DA&&wn(WA,1)){var yA=wn(WA,3)+2,Pc=xn(vA,yA),pl=xn(VA,yA),hu=Pc*pl;if(!s0(Pc,pl,0,Fo,La))break r;for(La=La[0],$l.xc=yA,dl=0;dl>8&65535;La[dl]=mo,mo>=eo&&(eo=mo+1)}}if(WA.h)break r;for(Rs=0;5>Rs;++Rs){var Zl=Lg[Rs];!Rs&&0=$A),Pu=Uu;var fu=m(Al);if(Pu==null||fu==null||ku==null){Fo.a=1;break r}var Ou=ku;for(dl=wa=0;dlRs;++Rs){Zl=Lg[Rs],Nu[Rs]=Ou,Oc[Rs]=wa,!Rs&&0D1)break n}else ag=D1;for(Wp=0;Wpqd)Gg[Wp++]=qd,qd!=0&&(Vg=qd);else{var Um=qd==16,Zg=qd-16,Pm=nm[Zg],Yg=wn(tf,rm[Zg])+Pm;if(Wp+Yg>D1)break n;for(var Om=Um?Vg:0;0=Rs){var $p,lg=fu[0];for($p=1;$plg&&(lg=fu[$p]);wA+=lg}}if(Co.nd=nh,Co.Qb=0,nh&&(Co.qb=(Nu[3][Oc[3]+0].value<<24|Nu[1][Oc[1]+0].value<<16|Nu[2][Oc[2]+0].value)>>>0,ld==0&&256>Nu[0][Oc[0]+0].value&&(Co.Qb=1,Co.qb+=Nu[0][Oc[0]+0].value<<8)),Co.jc=!Co.Qb&&6>wA,Co.jc){var F1,ih=Co;for(F1=0;F1>=nA(R1,8,nf),rf>>=nA(ih.G[1][ih.H[1]+rf],16,nf),rf>>=nA(ih.G[2][ih.H[2]+rf],0,nf),nA(ih.G[3][ih.H[3]+rf],24,nf))}}}$l.vc=La,$l.Wb=eo,$l.Ya=Pu,$l.yc=ku,Kn=1;break t}Kn=0}if(!(Ne=Kn)){ue.a=3;break e}if(0ue+1?[]:0),!(Le.lengthw?0:w>T?T:w}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var w=new n1;return w!=null&&(w.a=0,w.sc="OK",w.cb=0,w.Xb=0,zp||(zp=zd)),w}function Il(w,T,Z){return w.a==0&&(w.a=T,w.sc=Z,w.cb=0),0}function i1(w,T,Z){return 3<=Z&&w[T+0]==157&&w[T+1]==1&&w[T+2]==42}function o0(w,T){if(w==null)return 0;if(w.a=0,w.sc="OK",T==null)return Il(w,2,"null VP8Io passed to VP8GetHeaders()");var Z=T.data,ue=T.w,Le=T.ha;if(4>Le)return Il(w,7,"Truncated header.");var Ne=Z[ue+0]|Z[ue+1]<<8|Z[ue+2]<<16,Me=w.Od;if(Me.Rb=!(1&Ne),Me.td=Ne>>1&7,Me.yd=Ne>>4&1,Me.ub=Ne>>5,3Le)return Il(w,7,"cannot parse picture header");if(!i1(Z,ue,Le))return Il(w,3,"Bad code word");Ye.c=16383&(Z[ue+4]<<8|Z[ue+3]),Ye.Td=Z[ue+4]>>6,Ye.i=16383&(Z[ue+6]<<8|Z[ue+5]),Ye.Ud=Z[ue+6]>>6,ue+=7,Le-=7,w.za=Ye.c+15>>4,w.Ub=Ye.i+15>>4,T.width=Ye.c,T.height=Ye.i,T.Da=0,T.j=0,T.v=0,T.va=T.width,T.o=T.height,T.da=0,T.ib=T.width,T.hb=T.height,T.U=T.width,T.T=T.height,d((Ne=w.Pa).jb,0,255,Ne.jb.length),a((Ne=w.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,d(Ne.Zb,0,0,Ne.Zb.length),d(Ne.Lb,0,0,Ne.Lb)}if(Me.ub>Le)return Il(w,7,"bad partition length");Gr(Ne=w.m,Z,ue,Me.ub),ue+=Me.ub,Le-=Me.ub,Me.Rb&&(Ye.Ld=Xr(Ne),Ye.Kd=Xr(Ne)),Ye=w.Qa;var it,bt=w.Pa;if(a(Ne!=null),a(Ye!=null),Ye.Cb=Xr(Ne),Ye.Cb){if(Ye.Bb=Xr(Ne),Xr(Ne)){for(Ye.Fb=Xr(Ne),it=0;4>it;++it)Ye.Zb[it]=Xr(Ne)?Ur(Ne,7):0;for(it=0;4>it;++it)Ye.Lb[it]=Xr(Ne)?Ur(Ne,6):0}if(Ye.Bb)for(it=0;3>it;++it)bt.jb[it]=Xr(Ne)?$r(Ne,8):255}else Ye.Bb=0;if(Ne.Ka)return Il(w,3,"cannot parse segment header");if((Ye=w.ed).zd=Xr(Ne),Ye.Tb=$r(Ne,6),Ye.wb=$r(Ne,3),Ye.Pc=Xr(Ne),Ye.Pc&&Xr(Ne)){for(bt=0;4>bt;++bt)Xr(Ne)&&(Ye.vd[bt]=Ur(Ne,6));for(bt=0;4>bt;++bt)Xr(Ne)&&(Ye.od[bt]=Ur(Ne,6))}if(w.L=Ye.Tb==0?0:Ye.zd?1:2,Ne.Ka)return Il(w,3,"cannot parse filter header");var sr=Le;if(Le=it=ue,ue=it+sr,Ye=sr,w.Xb=(1<<$r(w.m,2))-1,sr<3*(bt=w.Xb))Z=7;else{for(it+=3*bt,Ye-=3*bt,sr=0;srYe&&(Pr=Ye),Gr(w.Jc[+sr],Z,it,Pr),it+=Pr,Ye-=Pr,Le+=3}Gr(w.Jc[+bt],Z,it,Ye),Z=itPr;++Pr){if(sr.Cb){var _t=sr.Zb[Pr];sr.Fb||(_t+=Z)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[a0(_t+bt,117)],hr.Qc[1]=rg[a0(_t+it,127)],hr.lc=_t+it}if(!Me.Rb)return Il(w,4,"Not a key frame.");for(Xr(Ne),Me=w.Pa,Z=0;4>Z;++Z){for(Le=0;8>Le;++Le)for(ue=0;3>ue;++ue)for(Ye=0;11>Ye;++Ye)bt=dn(Ne,fm[Z][Le][ue][Ye])?$r(Ne,8):cm[Z][Le][ue][Ye],Me.Wc[Z][Le].Yb[ue][Ye]=bt;for(Le=0;17>Le;++Le)Me.Xc[Z][Le]=Me.Wc[Z][dm[Le]]}return w.kc=Xr(Ne),w.kc&&(w.Bd=$r(Ne,8)),w.cb=1}function zd(w,T,Z,ue,Le,Ne,Me){var Ye=T[Le].Yb[Z];for(Z=0;16>Le;++Le){if(!dn(w,Ye[Z+0]))return Le;for(;!dn(w,Ye[Z+1]);)if(Ye=T[++Le].Yb[0],Z=0,Le==16)return 16;var it=T[Le+1].Yb;if(dn(w,Ye[Z+2])){var bt=w,sr=0;if(dn(bt,(_t=Ye)[(Pr=Z)+3]))if(dn(bt,_t[Pr+6])){for(Ye=0,Pr=2*(sr=dn(bt,_t[Pr+8]))+(_t=dn(bt,_t[Pr+9+sr])),sr=0,_t=Am[Pr];_t[Ye];++Ye)sr+=sr+dn(bt,_t[Ye]);sr+=3+(8<(bt=w).b&&Wr(bt);var Pr,_t=bt.b,hr=(Pr=bt.Ca>>1)-(bt.I>>_t)>>31;--bt.b,bt.Ca+=hr,bt.Ca|=1,bt.I-=(Pr+1&hr)<<_t,Ne[it]=((sr^hr)-hr)*ue[(0>3),w[T+Z+32*ue]=-256&Le?0>Le?0:255:Le}function zl(w,T,Z,ue,Le,Ne){sc(w,T,0,Z,ue+Le),sc(w,T,1,Z,ue+Ne),sc(w,T,2,Z,ue-Ne),sc(w,T,3,Z,ue-Le)}function z0(w){return(20091*w>>16)+w}function a1(w,T,Z,ue){var Le,Ne=0,Me=m(16);for(Le=0;4>Le;++Le){var Ye=w[T+0]+w[T+8],it=w[T+0]-w[T+8],bt=(35468*w[T+4]>>16)-z0(w[T+12]),sr=z0(w[T+4])+(35468*w[T+12]>>16);Me[Ne+0]=Ye+sr,Me[Ne+1]=it+bt,Me[Ne+2]=it-bt,Me[Ne+3]=Ye-sr,Ne+=4,T++}for(Le=Ne=0;4>Le;++Le)Ye=(w=Me[Ne+0]+4)+Me[Ne+8],it=w-Me[Ne+8],bt=(35468*Me[Ne+4]>>16)-z0(Me[Ne+12]),sc(Z,ue,0,0,Ye+(sr=z0(Me[Ne+4])+(35468*Me[Ne+12]>>16))),sc(Z,ue,1,0,it+bt),sc(Z,ue,2,0,it-bt),sc(Z,ue,3,0,Ye-sr),Ne++,ue+=32}function P1(w,T,Z,ue){var Le=w[T+0]+4,Ne=35468*w[T+4]>>16,Me=z0(w[T+4]),Ye=35468*w[T+1]>>16;zl(Z,ue,0,Le+Me,w=z0(w[T+1]),Ye),zl(Z,ue,1,Le+Ne,w,Ye),zl(Z,ue,2,Le-Ne,w,Ye),zl(Z,ue,3,Le-Me,w,Ye)}function O1(w,T,Z,ue,Le){a1(w,T,Z,ue),Le&&a1(w,T+16,Z,ue+4)}function l0(w,T,Z,ue){od(w,T+0,Z,ue,1),od(w,T+32,Z,ue+128,1)}function o1(w,T,Z,ue){var Le;for(w=w[T+0]+4,Le=0;4>Le;++Le)for(T=0;4>T;++T)sc(Z,ue,T,Le,w)}function l1(w,T,Z,ue){w[T+0]&&Ya(w,T+0,Z,ue),w[T+16]&&Ya(w,T+16,Z,ue+4),w[T+32]&&Ya(w,T+32,Z,ue+128),w[T+48]&&Ya(w,T+48,Z,ue+128+4)}function Gd(w,T,Z,ue){var Le,Ne=m(16);for(Le=0;4>Le;++Le){var Me=w[T+0+Le]+w[T+12+Le],Ye=w[T+4+Le]+w[T+8+Le],it=w[T+4+Le]-w[T+8+Le],bt=w[T+0+Le]-w[T+12+Le];Ne[0+Le]=Me+Ye,Ne[8+Le]=Me-Ye,Ne[4+Le]=bt+it,Ne[12+Le]=bt-it}for(Le=0;4>Le;++Le)Me=(w=Ne[0+4*Le]+3)+Ne[3+4*Le],Ye=Ne[1+4*Le]+Ne[2+4*Le],it=Ne[1+4*Le]-Ne[2+4*Le],bt=w-Ne[3+4*Le],Z[ue+0]=Me+Ye>>3,Z[ue+16]=bt+it>>3,Z[ue+32]=Me-Ye>>3,Z[ue+48]=bt-it>>3,ue+=64}function Zf(w,T,Z){var ue,Le=T-32,Ne=Ru,Me=255-w[Le-1];for(ue=0;ueZ;++Z)u(w,T+32*Z,w,T-32,16)}function A1(w,T){var Z;for(Z=16;0ue;++ue)d(T,Z+32*ue,w,16)}function j1(w,T){var Z,ue=16;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z]+w[T+Z-32];Rc(ue>>5,w,T)}function Yf(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z];Rc(ue>>4,w,T)}function xp(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T+Z-32];Rc(ue>>4,w,T)}function H1(w,T){Rc(128,w,T)}function Ss(w,T,Z){return w+2*T+Z+2>>2}function K1(w,T){var Z,ue=T-32;for(ue=new Uint8Array([Ss(w[ue-1],w[ue+0],w[ue+1]),Ss(w[ue+0],w[ue+1],w[ue+2]),Ss(w[ue+1],w[ue+2],w[ue+3]),Ss(w[ue+2],w[ue+3],w[ue+4])]),Z=0;4>Z;++Z)u(w,T+32*Z,ue,0,ue.length)}function z1(w,T){var Z=w[T-1],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];In(w,T+0,16843009*Ss(w[T-1-32],Z,ue)),In(w,T+32,16843009*Ss(Z,ue,Le)),In(w,T+64,16843009*Ss(ue,Le,Ne)),In(w,T+96,16843009*Ss(Le,Ne,Ne))}function G1(w,T){var Z,ue=4;for(Z=0;4>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];for(ue>>=3,Z=0;4>Z;++Z)d(w,T+32*Z,ue,4)}function G0(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Ye=w[T+1-32],it=w[T+2-32],bt=w[T+3-32];w[T+0+96]=Ss(ue,Le,w[T-1+96]),w[T+1+96]=w[T+0+64]=Ss(Z,ue,Le),w[T+2+96]=w[T+1+64]=w[T+0+32]=Ss(Ne,Z,ue),w[T+3+96]=w[T+2+64]=w[T+1+32]=w[T+0+0]=Ss(Me,Ne,Z),w[T+3+64]=w[T+2+32]=w[T+1+0]=Ss(Ye,Me,Ne),w[T+3+32]=w[T+2+0]=Ss(it,Ye,Me),w[T+3+0]=Ss(bt,it,Ye)}function V0(w,T){var Z=w[T+1-32],ue=w[T+2-32],Le=w[T+3-32],Ne=w[T+4-32],Me=w[T+5-32],Ye=w[T+6-32],it=w[T+7-32];w[T+0+0]=Ss(w[T+0-32],Z,ue),w[T+1+0]=w[T+0+32]=Ss(Z,ue,Le),w[T+2+0]=w[T+1+32]=w[T+0+64]=Ss(ue,Le,Ne),w[T+3+0]=w[T+2+32]=w[T+1+64]=w[T+0+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+64]=w[T+1+96]=Ss(Ne,Me,Ye),w[T+3+64]=w[T+2+96]=Ss(Me,Ye,it),w[T+3+96]=Ss(Ye,it,it)}function V1(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Ye=w[T+1-32],it=w[T+2-32],bt=w[T+3-32];w[T+0+0]=w[T+1+64]=Ne+Me+1>>1,w[T+1+0]=w[T+2+64]=Me+Ye+1>>1,w[T+2+0]=w[T+3+64]=Ye+it+1>>1,w[T+3+0]=it+bt+1>>1,w[T+0+96]=Ss(Le,ue,Z),w[T+0+64]=Ss(ue,Z,Ne),w[T+0+32]=w[T+1+96]=Ss(Z,Ne,Me),w[T+1+32]=w[T+2+96]=Ss(Ne,Me,Ye),w[T+2+32]=w[T+3+96]=Ss(Me,Ye,it),w[T+3+32]=Ss(Ye,it,bt)}function W1(w,T){var Z=w[T+0-32],ue=w[T+1-32],Le=w[T+2-32],Ne=w[T+3-32],Me=w[T+4-32],Ye=w[T+5-32],it=w[T+6-32],bt=w[T+7-32];w[T+0+0]=Z+ue+1>>1,w[T+1+0]=w[T+0+64]=ue+Le+1>>1,w[T+2+0]=w[T+1+64]=Le+Ne+1>>1,w[T+3+0]=w[T+2+64]=Ne+Me+1>>1,w[T+0+32]=Ss(Z,ue,Le),w[T+1+32]=w[T+0+96]=Ss(ue,Le,Ne),w[T+2+32]=w[T+1+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+96]=Ss(Ne,Me,Ye),w[T+3+64]=Ss(Me,Ye,it),w[T+3+96]=Ss(Ye,it,bt)}function Vd(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];w[T+0+0]=Z+ue+1>>1,w[T+2+0]=w[T+0+32]=ue+Le+1>>1,w[T+2+32]=w[T+0+64]=Le+Ne+1>>1,w[T+1+0]=Ss(Z,ue,Le),w[T+3+0]=w[T+1+32]=Ss(ue,Le,Ne),w[T+3+32]=w[T+1+64]=Ss(Le,Ne,Ne),w[T+3+64]=w[T+2+64]=w[T+0+96]=w[T+1+96]=w[T+2+96]=w[T+3+96]=Ne}function Cp(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96],Me=w[T-1-32],Ye=w[T+0-32],it=w[T+1-32],bt=w[T+2-32];w[T+0+0]=w[T+2+32]=Z+Me+1>>1,w[T+0+32]=w[T+2+64]=ue+Z+1>>1,w[T+0+64]=w[T+2+96]=Le+ue+1>>1,w[T+0+96]=Ne+Le+1>>1,w[T+3+0]=Ss(Ye,it,bt),w[T+2+0]=Ss(Me,Ye,it),w[T+1+0]=w[T+3+32]=Ss(Z,Me,Ye),w[T+1+32]=w[T+3+64]=Ss(ue,Z,Me),w[T+1+64]=w[T+3+96]=Ss(Le,ue,Z),w[T+1+96]=Ss(Ne,Le,ue)}function Xf(w,T){var Z;for(Z=0;8>Z;++Z)u(w,T+32*Z,w,T-32,8)}function $1(w,T){var Z;for(Z=0;8>Z;++Z)d(w,T,w[T-1],8),T+=32}function W0(w,T,Z){var ue;for(ue=0;8>ue;++ue)d(T,Z+32*ue,w,8)}function Z1(w,T){var Z,ue=8;for(Z=0;8>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];W0(ue>>4,w,T)}function Sp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T+Z-32];W0(ue>>3,w,T)}function Tp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T-1+32*Z];W0(ue>>3,w,T)}function u1(w,T){W0(128,w,T)}function $0(w,T,Z){var ue=w[T-Z],Le=w[T+0],Ne=3*(Le-ue)+Y1[1020+w[T-2*Z]-w[T+Z]],Me=v1[112+(Ne+4>>3)];w[T-Z]=Ru[255+ue+v1[112+(Ne+3>>3)]],w[T+0]=Ru[255+Le-Me]}function Ip(w,T,Z,ue){var Le=w[T+0],Ne=w[T+Z];return lc[255+w[T-2*Z]-w[T-Z]]>ue||lc[255+Ne-Le]>ue}function Wd(w,T,Z,ue){return 4*lc[255+w[T-Z]-w[T+0]]+lc[255+w[T-2*Z]-w[T+Z]]<=ue}function Lp(w,T,Z,ue,Le){var Ne=w[T-3*Z],Me=w[T-2*Z],Ye=w[T-Z],it=w[T+0],bt=w[T+Z],sr=w[T+2*Z],Pr=w[T+3*Z];return 4*lc[255+Ye-it]+lc[255+Me-bt]>ue?0:lc[255+w[T-4*Z]-Ne]<=Le&&lc[255+Ne-Me]<=Le&&lc[255+Me-Ye]<=Le&&lc[255+Pr-sr]<=Le&&lc[255+sr-bt]<=Le&&lc[255+bt-it]<=Le}function qf(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue,Z,Le)&&$0(w,T+ue,Z)}function Dp(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue*Z,1,Le)&&$0(w,T+ue*Z,1)}function c1(w,T,Z,ue){var Le;for(Le=3;0>7,An=18*hn+63>>7,hn=9*hn+63>>7;it[bt-3*sr]=Ru[255+it[bt-3*sr]+hn],it[bt-2*sr]=Ru[255+Pr+An],it[bt-sr]=Ru[255+_t+kr],it[bt+0]=Ru[255+hr-kr],it[bt+sr]=Ru[255+Ir-An],it[bt+2*sr]=Ru[255+an-hn]}T+=ue}}function Y0(w,T,Z,ue,Le,Ne,Me,Ye){for(Ne=2*Ne+1;0>3)],an=v1[112+(an+3>>3)],kr=Ir+1>>1;it[bt-2*sr]=Ru[255+it[bt-2*sr]+kr],it[bt-sr]=Ru[255+Pr+an],it[bt+0]=Ru[255+_t-Ir],it[bt+sr]=Ru[255+hr-kr]}T+=ue}}function f1(w,T,Z,ue,Le,Ne){Z0(w,T,Z,1,16,ue,Le,Ne)}function Jf(w,T,Z,ue,Le,Ne){Z0(w,T,1,Z,16,ue,Le,Ne)}function d1(w,T,Z,ue,Le,Ne){var Me;for(Me=3;0bt?0:255:bt)&255,bt=it,Le[Ne+Ye]=sr}}function xo(w,T,Z,ue){var Le=T.width,Ne=T.o;if(a(w!=null&&T!=null),0>Z||0>=ue||Z+ue>Ne)return null;if(!w.Cc){if(w.ga==null){var Me;if(w.ga=new Ms,(Me=w.ga==null)||(Me=T.width*T.o,a(w.Gb.length==0),w.Gb=m(Me),w.Uc=0,w.Gb==null?Me=0:(w.mb=w.Gb,w.nb=w.Uc,w.rc=null,Me=1),Me=!Me),!Me){Me=w.ga;var Ye=w.Fa,it=w.P,bt=w.qc,sr=w.mb,Pr=w.nb,_t=it+1,hr=bt-1,Ir=Me.l;if(a(Ye!=null&&sr!=null&&T!=null),Jh[0]=null,Jh[1]=Ia,Jh[2]=Jo,Jh[3]=Ll,Me.ca=sr,Me.tb=Pr,Me.c=T.width,Me.i=T.height,a(0=bt)T=0;else if(Me.$a=3&Ye[it+0],Me.Z=Ye[it+0]>>2&3,Me.Lc=Ye[it+0]>>4&3,it=Ye[it+0]>>6&3,0>Me.$a||1=Me.c*Me.i;Me=!T}if(Me)return null;w.ga.Lc!=1?w.Ga=0:ue=Ne-Z}a(w.ga!=null),a(Z+ue<=Ne);e:{if(T=(Ye=w.ga).c,Ne=Ye.l.o,Ye.$a==0){if(_t=w.rc,hr=w.Vc,Ir=w.Fa,it=w.P+1+Z*T,bt=w.mb,sr=w.nb+Z*T,a(it<=w.P+w.qc),Ye.Z!=0)for(a(Jh[Ye.Z]!=null),Me=0;Me=T)T=1;else if(Ye.ic||kc(),Ye.ic){Ye=Me.V,_t=Me.Ba,hr=Me.c;var an=Me.i,kr=(Ir=1,it=Me.$/hr,bt=Me.$%hr,sr=Me.m,Pr=Me.s,Me.$),An=hr*an,hn=hr*T,Sn=Pr.wc,_n=kr(an=ol(_n.G[0],_n.H[0],sr)))Ye[_t+kr]=an,++kr,++bt>=hr&&(bt=0,++it<=T&&!(it%16)&&Dc(Me,it));else{if(!(280>an)){Ir=0;break t}an=tc(an-256,sr);var Di,fi=ol(_n.G[4],_n.H[4],sr);if(Dr(sr),!(kr>=(fi=rc(hr,fi=tc(fi,sr)))&&An-kr>=an)){Ir=0;break t}for(Di=0;Di=hr;)bt-=hr,++it<=T&&!(it%16)&&Dc(Me,it);krT?T:it);break t}!Ir||sr.h&&kr=Ne&&(w.Cc=1),ue=1}if(!ue)return null;if(w.Cc&&((ue=w.ga)!=null&&(ue.mc=null),w.ga=null,0>23,Ye[it+4*Me+1]=Ye[it+4*Me+1]*Pr>>23,Ye[it+4*Me+2]=Ye[it+4*Me+2]*Pr>>23)}T+=Ne}}function Dl(w,T,Z,ue,Le){for(;0>4)*it>>16;w[T+2*Ne+0]=(240&Me|Me>>4)*it>>16&240|(15&Me|Me<<4)*it>>16>>4&15,w[T+2*Ne+1]=240&bt|Ye}T+=Le}}function gA(w,T,Z,ue,Le,Ne,Me,Ye){var it,bt,sr=255;for(bt=0;bt>8}function kc(){Kp=Gl,wg=Dl,bg=gA,_g=X0}function q0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Ye,it,bt,sr,Pr,_t,hr,Ir,an,kr,An,hn,Sn){var _n,Di=Sn-1>>1,fi=Ye[it+0]|bt[sr+0]<<16,Ks=Pr[_t+0]|hr[Ir+0]<<16;a(ue!=null);var Ei=3*fi+Ks+131074>>2;for(T(ue[Le+0],255&Ei,Ei>>16,an,kr),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+0],255&Ei,Ei>>16,An,hn)),_n=1;_n<=Di;++_n){var pa=Ye[it+_n]|bt[sr+_n]<<16,Wl=Pr[_t+_n]|hr[Ir+_n]<<16,zs=fi+pa+Ks+Wl+524296,Bi=zs+2*(pa+Ks)>>3;Ei=Bi+fi>>1,fi=(zs=zs+2*(fi+Wl)>>3)+pa>>1,T(ue[Le+2*_n-1],255&Ei,Ei>>16,an,kr+(2*_n-1)*Z),T(ue[Le+2*_n-0],255&fi,fi>>16,an,kr+(2*_n-0)*Z),Ne!=null&&(Ei=zs+Ks>>1,fi=Bi+Wl>>1,T(Ne[Me+2*_n-1],255&Ei,Ei>>16,An,hn+(2*_n-1)*Z),T(Ne[Me+2*_n+0],255&fi,fi>>16,An,hn+(2*_n+0)*Z)),fi=pa,Ks=Wl}1&Sn||(Ei=3*fi+Ks+131074>>2,T(ue[Le+Sn-1],255&Ei,Ei>>16,an,kr+(Sn-1)*Z),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+Sn-1],255&Ei,Ei>>16,An,hn+(Sn-1)*Z)))}}function Fp(){Ac[y1]=gm,Ac[w1]=Rg,Ac[Tg]=mm,Ac[b1]=kg,Ac[_1]=Ug,Ac[X1]=Pg,Ac[Ig]=vm,Ac[q1]=Rg,Ac[J1]=kg,Ac[E1]=Ug,Ac[eg]=Pg}function $d(w){return w&~ym?0>w?0:255:w>>Og}function Kh(w,T){return $d((19077*w>>8)+(26149*T>>8)-14234)}function ed(w,T,Z){return $d((19077*w>>8)-(6419*T>>8)-(13320*Z>>8)+8708)}function td(w,T){return $d((19077*w>>8)+(33050*T>>8)-17685)}function zh(w,T,Z,ue,Le){ue[Le+0]=Kh(w,Z),ue[Le+1]=ed(w,T,Z),ue[Le+2]=td(w,T)}function mA(w,T,Z,ue,Le){ue[Le+0]=td(w,T),ue[Le+1]=ed(w,T,Z),ue[Le+2]=Kh(w,Z)}function rd(w,T,Z,ue,Le){var Ne=ed(w,T,Z);T=Ne<<3&224|td(w,T)>>3,ue[Le+0]=248&Kh(w,Z)|Ne>>5,ue[Le+1]=T}function nd(w,T,Z,ue,Le){var Ne=240&td(w,T)|15;ue[Le+0]=240&Kh(w,Z)|ed(w,T,Z)>>4,ue[Le+1]=Ne}function Rp(w,T,Z,ue,Le){ue[Le+0]=255,zh(w,T,Z,ue,Le+1)}function kp(w,T,Z,ue,Le){mA(w,T,Z,ue,Le),ue[Le+3]=255}function GA(w,T,Z,ue,Le){zh(w,T,Z,ue,Le),ue[Le+3]=255}function J0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Ye,it,bt,sr,Pr){for(var _t=sr+(-2&Pr)*Z;sr!=_t;)T(ue[Le+0],Ne[Me+0],Ye[it+0],bt,sr),T(ue[Le+1],Ne[Me+0],Ye[it+0],bt,sr+Z),Le+=2,++Me,++it,sr+=2*Z;1&Pr&&T(ue[Le+0],Ne[Me+0],Ye[it+0],bt,sr)}}function Zd(w,T,Z){return Z==0?w==0?T==0?6:5:T==0?4:0:Z}function p1(w,T,Z,ue,Le){switch(w>>>30){case 3:od(T,Z,ue,Le,0);break;case 2:oc(T,Z,ue,Le);break;case 1:Ya(T,Z,ue,Le)}}function ac(w,T){var Z,ue,Le=T.M,Ne=T.Nb,Me=w.oc,Ye=w.pc+40,it=w.oc,bt=w.pc+584,sr=w.oc,Pr=w.pc+600;for(Z=0;16>Z;++Z)Me[Ye+32*Z-1]=129;for(Z=0;8>Z;++Z)it[bt+32*Z-1]=129,sr[Pr+32*Z-1]=129;for(0Z;++Z)u(Me,Ye+32*Z-4,Me,Ye+32*Z+12,4);for(Z=-1;8>Z;++Z)u(it,bt+32*Z-4,it,bt+32*Z+4,4),u(sr,Pr+32*Z-4,sr,Pr+32*Z+4,4)}var hr=w.Gd,Ir=w.Hd+ue,an=_t.ad,kr=_t.Hc;if(0=w.za-1?d(An,hn,hr[Ir].y[15],4):u(An,hn,hr[Ir+1].y,0,4)),Z=0;4>Z;Z++)An[hn+128+Z]=An[hn+256+Z]=An[hn+384+Z]=An[hn+0+Z];for(Z=0;16>Z;++Z,kr<<=2)An=Me,hn=Ye+Mg[Z],Uc[_t.Ob[Z]](An,hn),p1(kr,an,16*+Z,An,hn)}else if(An=Zd(ue,Le,_t.Ob[0]),qh[An](Me,Ye),kr!=0)for(Z=0;16>Z;++Z,kr<<=2)p1(kr,an,16*+Z,Me,Ye+Mg[Z]);for(Z=_t.Gc,An=Zd(ue,Le,_t.Dd),rh[An](it,bt),rh[An](sr,Pr),kr=an,An=it,hn=bt,255&(_t=0|Z)&&(170&_t?c0(kr,256,An,hn):go(kr,256,An,hn)),_t=sr,kr=Pr,255&(Z>>=8)&&(170&Z?c0(an,320,_t,kr):go(an,320,_t,kr)),LeZ;++Z)u(hr,Ir+Z*w.R,Me,Ye+32*Z,16);for(Z=0;8>Z;++Z)u(an,_t+Z*w.B,it,bt+32*Z,8),u(kr,An+Z*w.B,sr,Pr+32*Z,8)}}function id(w,T,Z,ue,Le,Ne,Me,Ye,it){var bt=[0],sr=[0],Pr=0,_t=it!=null?it.kd:0,hr=it!=null?it:new bn;if(w==null||12>Z)return 7;hr.data=w,hr.w=T,hr.ha=Z,T=[T],Z=[Z],hr.gb=[hr.gb];e:{var Ir=T,an=Z,kr=hr.gb;if(a(w!=null),a(an!=null),a(kr!=null),kr[0]=0,12<=an[0]&&!s(w,Ir[0],"RIFF")){if(s(w,Ir[0]+8,"WEBP")){kr=3;break e}var An=Ni(w,Ir[0]+4);if(12>An||4294967286an[0]-8){kr=7;break e}kr[0]=An,Ir[0]+=12,an[0]-=12}kr=0}if(kr!=0)return kr;for(An=0kr[0])kr=7;else{if(!s(hn,an[0],"VP8X")){if(Ni(hn,an[0]+4)!=10){kr=3;break e}if(18>kr[0]){kr=7;break e}var fi=Ni(hn,an[0]+8),Ks=1+Yn(hn,an[0]+12);if(2147483648<=Ks*(hn=1+Yn(hn,an[0]+15))){kr=3;break e}Di!=null&&(Di[0]=fi),Sn!=null&&(Sn[0]=Ks),_n!=null&&(_n[0]=hn),an[0]+=18,kr[0]-=18,Ei[0]=1}kr=0}}if(Pr=Pr[0],Ir=Ir[0],kr!=0)return kr;if(an=!!(2&Ir),!An&&Pr)return 3;if(Ne!=null&&(Ne[0]=!!(16&Ir)),Me!=null&&(Me[0]=an),Ye!=null&&(Ye[0]=0),Me=bt[0],Ir=sr[0],Pr&&an&&it==null){kr=0;break}if(4>Z){kr=7;break}if(An&&Pr||!An&&!Pr&&!s(w,T[0],"ALPH")){Z=[Z],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{fi=w,kr=T,An=Z;var Ei=hr.gb;Sn=hr.na,_n=hr.P,Di=hr.Sa,Ks=22,a(fi!=null),a(An!=null),hn=kr[0];var pa=An[0];for(a(Sn!=null),a(Di!=null),Sn[0]=null,_n[0]=null,Di[0]=0;;){if(kr[0]=hn,An[0]=pa,8>pa){kr=7;break e}var Wl=Ni(fi,hn+4);if(4294967286Ei){kr=3;break e}if(!s(fi,hn,"VP8 ")||!s(fi,hn,"VP8L")){kr=0;break e}if(pa[0]An[0])kr=7;else{if(hn||Ks){if(Ei=Ni(Ei,fi+4),12<=Sn&&Ei>Sn-12){kr=3;break e}if(_t&&Ei>An[0]-8){kr=7;break e}_n[0]=Ei,kr[0]+=8,An[0]-=8,Di[0]=Ks}else Di[0]=5<=An[0]&&Ei[fi+0]==47&&!(Ei[fi+4]>>5),_n[0]=An[0];kr=0}if(Z=Z[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],T=T[0],kr!=0)break;if(4294967286Z){kr=7;break}Ye=Me,_t=Ir,an=Ne,w==null||5>Z?w=0:5<=Z&&w[T+0]==47&&!(w[T+4]>>5)?(An=[0],Ei=[0],Sn=[0],qr(_n=new Tt,w,T,Z),K0(_n,An,Ei,Sn)?(Ye!=null&&(Ye[0]=An[0]),_t!=null&&(_t[0]=Ei[0]),an!=null&&(an[0]=Sn[0]),w=1):w=0):w=0}else{if(10>Z){kr=7;break}Ye=Ir,w==null||10>Z||!i1(w,T+3,Z-3)?w=0:(_t=w[T+0]|w[T+1]<<8|w[T+2]<<16,an=16383&(w[T+7]<<8|w[T+6]),w=16383&(w[T+9]<<8|w[T+8]),1&_t||3<(_t>>1&7)||!(_t>>4&1)||_t>>5>=hr.Ja||!an||!w?w=0:(Me&&(Me[0]=an),Ye&&(Ye[0]=w),w=1))}if(!w||(Me=Me[0],Ir=Ir[0],Pr&&(bt[0]!=Me||sr[0]!=Ir)))return 3;it!=null&&(it[0]=hr,it.offset=T-it.w,a(4294967286>T-it.w),a(it.offset==it.ha-Z));break}return kr==0||kr==7&&Pr&&it==null?(Ne!=null&&(Ne[0]|=hr.na!=null&&0Z||(Ne&=-2,Me&=-2),0>Ne||0>Me||0>=Ye||0>=it||Ne+Ye>ue||Me+it>Le))return 0;if(T.v=Ne,T.j=Me,T.va=Ne+Ye,T.o=Me+it,T.U=Ye,T.T=it,T.da=w!=null&&0w.S){var T=w.f.RGBA;T.fb+=(w.height-1)*T.A,T.A=-T.A}else T=w.f.kb,w=w.height,T.O+=(w-1)*T.fa,T.fa=-T.fa,T.N+=(w-1>>1)*T.Ab,T.Ab=-T.Ab,T.W+=(w-1>>1)*T.Db,T.Db=-T.Db,T.F!=null&&(T.J+=(w-1)*T.lb,T.lb=-T.lb);return 0}function Gh(w,T,Z,ue){if(ue==null||0>=w||0>=T)return 2;if(Z!=null){if(Z.Da){var Le=Z.cd,Ne=Z.bd,Me=-2&Z.v,Ye=-2&Z.j;if(0>Me||0>Ye||0>=Le||0>=Ne||Me+Le>w||Ye+Ne>T)return 2;w=Le,T=Ne}if(Z.da){if(!ts(w,T,Le=[Z.ib],Ne=[Z.hb]))return 2;w=Le[0],T=Ne[0]}}ue.width=w,ue.height=T;e:{var it=ue.width,bt=ue.height;if(w=ue.S,0>=it||0>=bt||!(w>=y1&&13>w))w=2;else{if(0>=ue.Rd&&ue.sd==null){Me=Ne=Le=T=0;var sr=(Ye=it*Qg[w])*bt;if(11>w||(Ne=(bt+1)/2*(T=(it+1)/2),w==12&&(Me=(Le=it)*bt)),(bt=m(sr+2*Ne+Me))==null){w=1;break e}ue.sd=bt,11>w?((it=ue.f.RGBA).eb=bt,it.fb=0,it.A=Ye,it.size=sr):((it=ue.f.kb).y=bt,it.O=0,it.fa=Ye,it.Fd=sr,it.f=bt,it.N=0+sr,it.Ab=T,it.Cd=Ne,it.ea=bt,it.W=0+sr+Ne,it.Db=T,it.Ed=Ne,w==12&&(it.F=bt,it.J=0+sr+2*Ne),it.Tc=Me,it.lb=Le)}if(T=1,Le=ue.S,Ne=ue.width,Me=ue.height,Le>=y1&&13>Le)if(11>Le)w=ue.f.RGBA,T&=(Ye=Math.abs(w.A))*(Me-1)+Ne<=w.size,T&=Ye>=Ne*Qg[Le],T&=w.eb!=null;else{w=ue.f.kb,Ye=(Ne+1)/2,sr=(Me+1)/2,it=Math.abs(w.fa),bt=Math.abs(w.Ab);var Pr=Math.abs(w.Db),_t=Math.abs(w.lb),hr=_t*(Me-1)+Ne;T&=it*(Me-1)+Ne<=w.Fd,T&=bt*(sr-1)+Ye<=w.Cd,T=(T&=Pr*(sr-1)+Ye<=w.Ed)&it>=Ne&bt>=Ye&Pr>=Ye,T&=w.y!=null,T&=w.f!=null,T&=w.ea!=null,Le==12&&(T&=_t>=Ne,T&=hr<=w.Tc,T&=w.F!=null)}else T=0;w=T?0:2}}return w!=0||Z!=null&&Z.fd&&(w=Pp(ue)),w}var sd=64,Du=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Fu=24,Vh=32,eh=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];mi("Predictor0","PredictorAdd0"),Rt.Predictor0=function(){return 4278190080},Rt.Predictor1=function(w){return w},Rt.Predictor2=function(w,T,Z){return T[Z+0]},Rt.Predictor3=function(w,T,Z){return T[Z+1]},Rt.Predictor4=function(w,T,Z){return T[Z-1]},Rt.Predictor5=function(w,T,Z){return Hi(Hi(w,T[Z+1]),T[Z+0])},Rt.Predictor6=function(w,T,Z){return Hi(w,T[Z-1])},Rt.Predictor7=function(w,T,Z){return Hi(w,T[Z+0])},Rt.Predictor8=function(w,T,Z){return Hi(T[Z-1],T[Z+0])},Rt.Predictor9=function(w,T,Z){return Hi(T[Z+0],T[Z+1])},Rt.Predictor10=function(w,T,Z){return Hi(Hi(w,T[Z-1]),Hi(T[Z+0],T[Z+1]))},Rt.Predictor11=function(w,T,Z){var ue=T[Z+0];return 0>=Ds(ue>>24&255,w>>24&255,(T=T[Z-1])>>24&255)+Ds(ue>>16&255,w>>16&255,T>>16&255)+Ds(ue>>8&255,w>>8&255,T>>8&255)+Ds(255&ue,255&w,255&T)?ue:w},Rt.Predictor12=function(w,T,Z){var ue=T[Z+0];return($a((w>>24&255)+(ue>>24&255)-((T=T[Z-1])>>24&255))<<24|$a((w>>16&255)+(ue>>16&255)-(T>>16&255))<<16|$a((w>>8&255)+(ue>>8&255)-(T>>8&255))<<8|$a((255&w)+(255&ue)-(255&T)))>>>0},Rt.Predictor13=function(w,T,Z){var ue=T[Z-1];return(la((w=Hi(w,T[Z+0]))>>24&255,ue>>24&255)<<24|la(w>>16&255,ue>>16&255)<<16|la(w>>8&255,ue>>8&255)<<8|la(255&w,255&ue))>>>0};var Op=Rt.PredictorAdd0;Rt.PredictorAdd1=da,mi("Predictor2","PredictorAdd2"),mi("Predictor3","PredictorAdd3"),mi("Predictor4","PredictorAdd4"),mi("Predictor5","PredictorAdd5"),mi("Predictor6","PredictorAdd6"),mi("Predictor7","PredictorAdd7"),mi("Predictor8","PredictorAdd8"),mi("Predictor9","PredictorAdd9"),mi("Predictor10","PredictorAdd10"),mi("Predictor11","PredictorAdd11"),mi("Predictor12","PredictorAdd12"),mi("Predictor13","PredictorAdd13");var Yd=Rt.PredictorAdd2;Ri("ColorIndexInverseTransform","MapARGB","32b",function(w){return w>>8&255},function(w){return w}),Ri("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(w){return w},function(w){return w>>8&255});var hl,g1=Rt.ColorIndexInverseTransform,A0=Rt.MapARGB,u0=Rt.VP8LColorIndexInverseTransformAlpha,Np=Rt.MapAlpha,Mp=Rt.VP8LPredictorsAdd=[];Mp.length=16,(Rt.VP8LPredictors=[]).length=16,(Rt.VP8LPredictorsAdd_C=[]).length=16,(Rt.VP8LPredictors_C=[]).length=16;var Qp,jp,$h,Zh,Yh,ad,Xh,od,oc,c0,Ya,go,fl,Vl,th,Hp,Xd,m1,dg,pg,gg,mg,vg,yg,Kp,wg,bg,_g,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Y1=Bg,v1=xg,Ru=Cg,lc=Eg,y1=0,w1=1,Tg=2,b1=3,_1=4,X1=5,Ig=6,q1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Lg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lm=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,Am=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Dg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],qh=[],Uc=[],rh=[],pm=1,Fg=2,Jh=[],Ac=[];q0("UpsampleRgbLinePair",zh,3),q0("UpsampleBgrLinePair",mA,3),q0("UpsampleRgbaLinePair",GA,4),q0("UpsampleBgraLinePair",kp,4),q0("UpsampleArgbLinePair",Rp,4),q0("UpsampleRgba4444LinePair",nd,2),q0("UpsampleRgb565LinePair",rd,2);var gm=Rt.UpsampleRgbLinePair,mm=Rt.UpsampleBgrLinePair,Rg=Rt.UpsampleRgbaLinePair,kg=Rt.UpsampleBgraLinePair,Ug=Rt.UpsampleArgbLinePair,Pg=Rt.UpsampleRgba4444LinePair,vm=Rt.UpsampleRgb565LinePair,B1=16,x1=1<ue.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ue.ca.f.kb.F!=null&&kc()),ue.Pb&&0(it=Z.Md)?0:100bt;++bt)12>(Pr=Le.pb[bt]).lc&&(Pr.ia=it*Cm[0>Pr.lc?0:Pr.lc]>>3),sr|=Pr.ia;sr&&(alert("todo:VP8InitRandom"),Le.ia=1)}Le.Ga=Z.Id,100Le.Ga&&(Le.Ga=0)}(function(_t,hr){if(_t==null)return 0;if(hr==null)return Il(_t,2,"NULL VP8Io parameter in VP8Decode().");if(!_t.cb&&!o0(_t,hr))return 0;if(a(_t.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(_t.L=0);var Ir=C1[_t.L];if(_t.L==2?(_t.yb=0,_t.zb=0):(_t.yb=hr.v-Ir>>4,_t.zb=hr.j-Ir>>4,0>_t.yb&&(_t.yb=0),0>_t.zb&&(_t.zb=0)),_t.Va=hr.o+15+Ir>>4,_t.Hb=hr.va+15+Ir>>4,_t.Hb>_t.za&&(_t.Hb=_t.za),_t.Va>_t.Ub&&(_t.Va=_t.Ub),0<_t.L){var an=_t.ed;for(Ir=0;4>Ir;++Ir){var kr;if(_t.Qa.Cb){var An=_t.Qa.Lb[Ir];_t.Qa.Fb||(An+=an.Tb)}else An=an.Tb;for(kr=0;1>=kr;++kr){var hn=_t.gd[Ir][kr],Sn=An;if(an.Pc&&(Sn+=an.vd[0],kr&&(Sn+=an.od[0])),0<(Sn=0>Sn?0:63>2:_n>>1)>9-an.wb&&(_n=9-an.wb),1>_n&&(_n=1),hn.dd=_n,hn.tc=2*Sn+_n,hn.ld=40<=Sn?2:15<=Sn?1:0}else hn.tc=0;hn.La=kr}}}Ir=0}else Il(_t,6,"Frame setup failed"),Ir=_t.a;if(Ir=Ir==0){if(Ir){_t.$c=0,0<_t.Aa||(_t.Ic=Sm);t:{Ir=_t.Ic,an=4*(_n=_t.za);var Di=32*_n,fi=_n+1,Ks=0<_t.L?_n*(0<_t.Aa?2:1):0,Ei=(_t.Aa==2?2:1)*_n;if((hn=an+832+(kr=3*(16*Ir+C1[_t.L])/2*Di)+(An=_t.Fa!=null&&0<_t.Fa.length?_t.Kc.c*_t.Kc.i:0))!=hn)Ir=0;else{if(hn>_t.Vb){if(_t.Vb=0,_t.Ec=m(hn),_t.Fc=0,_t.Ec==null){Ir=Il(_t,1,"no memory during frame initialization.");break t}_t.Vb=hn}hn=_t.Ec,Sn=_t.Fc,_t.Ac=hn,_t.Bc=Sn,Sn+=an,_t.Gd=O(Di,r1),_t.Hd=0,_t.rb=O(fi+1,_p),_t.sb=1,_t.wa=Ks?O(Ks,ic):null,_t.Y=0,_t.D.Nb=0,_t.D.wa=_t.wa,_t.D.Y=_t.Y,0<_t.Aa&&(_t.D.Y+=_n),a(!0),_t.oc=hn,_t.pc=Sn,Sn+=832,_t.ya=O(Ei,Ep),_t.aa=0,_t.D.ya=_t.ya,_t.D.aa=_t.aa,_t.Aa==2&&(_t.D.aa+=_n),_t.R=16*_n,_t.B=8*_n,_n=(Di=C1[_t.L])*_t.R,Di=Di/2*_t.B,_t.sa=hn,_t.ta=Sn+_n,_t.qa=_t.sa,_t.ra=_t.ta+16*Ir*_t.R+Di,_t.Ha=_t.qa,_t.Ia=_t.ra+8*Ir*_t.B+Di,_t.$c=0,Sn+=kr,_t.mb=An?hn:null,_t.nb=An?Sn:null,a(Sn+An<=_t.Fc+_t.Vb),s1(_t),d(_t.Ac,_t.Bc,0,an),Ir=1}}if(Ir){if(hr.ka=0,hr.y=_t.sa,hr.O=_t.ta,hr.f=_t.qa,hr.N=_t.ra,hr.ea=_t.Ha,hr.Vd=_t.Ia,hr.fa=_t.R,hr.Rc=_t.B,hr.F=null,hr.J=0,!Sg){for(Ir=-255;255>=Ir;++Ir)Eg[255+Ir]=0>Ir?-Ir:Ir;for(Ir=-1020;1020>=Ir;++Ir)Bg[1020+Ir]=-128>Ir?-128:127=Ir;++Ir)xg[112+Ir]=-16>Ir?-16:15=Ir;++Ir)Cg[255+Ir]=0>Ir?0:255wa;++wa){var $l,La=VA[0+wa];for($l=0;4>$l;++$l){La=hm[Fo[vA+$l]][La];for(var eo=Dg[dn(Rs,La[0])];0>3;for(eo=0;256>eo;eo+=16)wa[DA+eo]=hu}yA=1,Pc=vA[0]}var mo=15&Rs.la,Zl=15&WA.la;for(eo=0;4>eo;++eo){var ku=1&Zl;for(hu=to=0;4>hu;++hu)mo=mo>>1|(ku=(pl=zp(Fo,Pc,pl=ku+(1&mo),ll.Sc,yA,wa,DA))>yA)<<7,to=to<<2|(3>=4,Zl=Zl>>1|ku<<7,$l=($l<<8|to)>>>0}for(Pc=mo,yA=Zl>>4,Al=0;4>Al;Al+=2){for(to=0,mo=Rs.la>>4+Al,Zl=WA.la>>4+Al,eo=0;2>eo;++eo){for(ku=1&Zl,hu=0;2>hu;++hu)pl=ku+(1&mo),mo=mo>>1|(ku=0<(pl=zp(Fo,vA[2],pl,ll.Qc,0,wa,DA)))<<3,to=to<<2|(3>=2,Zl=Zl>>1|ku<<5}La|=to<<4*Al,Pc|=mo<<4<=Bi.zb&&Bi.M<=Bi.Va,Bi.Aa==0)t:{if(zs.M=Bi.M,zs.uc=Rs,ac(Bi,zs),dl=1,zs=(to=Bi.D).Nb,Rs=(La=C1[Bi.L])*Bi.R,Fo=La/2*Bi.B,eo=16*zs*Bi.R,hu=8*zs*Bi.B,vA=Bi.sa,VA=Bi.ta-Rs+eo,ll=Bi.qa,wa=Bi.ra-Fo+hu,DA=Bi.Ha,WA=Bi.Ia-Fo+hu,Zl=(mo=to.M)==0,$l=mo>=Bi.Va-1,Bi.Aa==2&&ac(Bi,to),to.uc)for(ku=(pl=Bi).D.M,a(pl.D.uc),to=pl.yb;toKn.o&&(mo=Kn.o),Kn.F=null,Kn.J=null,Bi.Fa!=null&&0>1),Kn.W+=Bi.B*(La>>1),Kn.F!=null&&(Kn.J+=Kn.width*La)),to>1,Kn.W+=Kn.v>>1,Kn.F!=null&&(Kn.J+=Kn.v),Kn.ka=to-Kn.j,Kn.U=Kn.va-Kn.v,Kn.T=mo-to,dl=Kn.put(Kn))}zs+1!=Bi.Ic||$l||(u(Bi.sa,Bi.ta-Rs,vA,VA+16*Bi.R,Rs),u(Bi.qa,Bi.ra-Fo,ll,wa+8*Bi.B,Fo),u(Bi.Ha,Bi.Ia-Fo,DA,WA+8*Bi.B,Fo))}if(!dl)return Il(pa,6,"Output aborted.")}return 1}(_t,hr)),hr.bc!=null&&hr.bc(hr),Ir&=1}return Ir?(_t.cb=0,Ir):0})(w,ue)||(T=w.a)}}else T=w.a}T==0&&Me.Oa!=null&&Me.Oa.fd&&(T=Pp(Me.ba))}Me=T}Ne=Me!=0?null:11>Ne?Ye.f.RGBA.eb:Ye.f.kb.y}else Ne=null;return Ne};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function z(Rt,Tr){for(var Ke="",gt=0;gt<4;gt++)Ke+=String.fromCharCode(Rt[Tr++]);return Ke}function te(Rt,Tr){return Rt[Tr+0]|Rt[Tr+1]<<8}function Se(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16)>>>0}function Ue(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16|Rt[Tr+3]<<24)>>>0}new M;var ee=[0],ut=[0],st=[],dt=new M,ze=n,$t=function(Rt,Tr){var Ke={},gt=0,Yt=!1,Gt=0,Qr=0;if(Ke.frames=[],!function(Qe,Tt){for(var Nt=0;Nt<4;Nt++)if(Qe[Tt+Nt]!="RIFF".charCodeAt(Nt))return!0;return!1}(Rt,Tr)){for(Ue(Rt,Tr+=4),Tr+=8;Tr>1&1}Gr!="ANMF"&&(Tr+=Ur)}return Ke}}(ze,0);$t.response=ze,$t.rgbaoutput=!0,$t.dataurl=!1;var jt=$t.header?$t.header:null,Dt=$t.frames?$t.frames:null;if(jt){jt.loop_counter=jt.loop_count,ee=[jt.canvas_height],ut=[jt.canvas_width];for(var Or=0;Or=2?mt[1]:qn[0],qn[2]=mt.length>=3?mt[2]:qn[0],qn[3]=mt.length>=4?mt[3]:qn[1]),z.margin=qn}});var Wr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Wr},set:function(mt){Wr=mt}});var Xr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Xr},set:function(mt){Xr=mt}});var dn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return dn},set:function(mt){dn=mt}}),Object.defineProperty(this,"ctx",{get:function(){return z},set:function(mt){mt instanceof te&&(z=mt)}}),Object.defineProperty(this,"path",{get:function(){return z.path},set:function(mt){z.path=mt}});var In=[];Object.defineProperty(this,"ctxStack",{get:function(){return In},set:function(mt){In=mt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(mt){var qn;qn=Ue(mt),this.ctx.fillStyle=qn.style,this.ctx.isFillTransparent=qn.a===0,this.ctx.fillOpacity=qn.a,this.pdf.setFillColor(qn.r,qn.g,qn.b,{a:qn.a}),this.pdf.setTextColor(qn.r,qn.g,qn.b,{a:qn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(mt){var qn=Ue(mt);this.ctx.strokeStyle=qn.style,this.ctx.isStrokeTransparent=qn.a===0,this.ctx.strokeOpacity=qn.a,qn.a===0?this.pdf.setDrawColor(255,255,255):(qn.a,this.pdf.setDrawColor(qn.r,qn.g,qn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(mt){["butt","round","square"].indexOf(mt)!==-1&&(this.ctx.lineCap=mt,this.pdf.setLineCap(mt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(mt){isNaN(mt)||(this.ctx.lineWidth=mt,this.pdf.setLineWidth(mt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(mt){["bevel","round","miter"].indexOf(mt)!==-1&&(this.ctx.lineJoin=mt,this.pdf.setLineJoin(mt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(mt){isNaN(mt)||(this.ctx.miterLimit=mt,this.pdf.setMiterLimit(mt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(mt){this.ctx.textBaseline=mt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(mt){["right","end","center","left","start"].indexOf(mt)!==-1&&(this.ctx.textAlign=mt)}});var Xn=null,Yn=null,Ni=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ni},set:function(mt){Xn=null,Yn=null,Ni=mt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(mt){var qn;if(this.ctx.font=mt,(qn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(mt))!==null){var Ws=qn[1];qn[2];var ts=qn[3],xn=qn[4];qn[5];var rs=qn[6],mi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(xn)[2];xn=Math.floor(mi==="px"?parseFloat(xn)*this.pdf.internal.scaleFactor:mi==="em"?parseFloat(xn)*this.pdf.getFontSize():parseFloat(xn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(xn);var Yi=function(Ri){var cl,Ta,Xs=[],qs=Ri.trim();if(qs==="")return x;if(qs in Au)return[Au[qs]];for(;qs!=="";){switch(Ta=null,cl=(qs=Hl(qs)).charAt(0)){case'"':case"'":Ta=A(qs.substring(1),cl);break;default:Ta=e(qs)}if(Ta===null||(Xs.push(Ta[0]),(qs=Hl(Ta[1]))!==""&&qs.charAt(0)!==","))return x;qs=qs.replace(/^,/,"")}return Xs}(rs);if(this.fontFaces){var Hi=function(Ri,cl){var Ta=Ri.getFontList(),Xs=JSON.stringify(Ta);if(Xn===null||Yn!==Xs){var qs=function(Oo){var Gi=[];return Object.keys(Oo).forEach(function(Bo){Oo[Bo].forEach(function(ls){var Fs=null;switch(ls){case"bold":Fs={family:Bo,weight:"bold"};break;case"italic":Fs={family:Bo,style:"italic"};break;case"bolditalic":Fs={family:Bo,weight:"bold",style:"italic"};break;case"":case"normal":Fs={family:Bo}}Fs!==null&&(Fs.ref={name:Bo,style:ls},Gi.push(Fs))})}),Gi}(Ta);Xn=function(Oo){for(var Gi={},Bo=0;Bo=700||Ws==="bold")&&(Ds="bold"),Ws==="italic"&&(Ds+="italic"),Ds.length===0&&(Ds="normal");for(var da="",Aa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ci=0;Ci=2*Math.PI&&(rr=0,fr=2*Math.PI),this.path.push({type:"arc",x:Qe,y:Tt,radius:Nt,startAngle:rr,endAngle:fr,counterclockwise:Dr})},Se.prototype.arcTo=function(Qe,Tt,Nt,rr,fr){throw new Error("arcTo not implemented.")},Se.prototype.rect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe+Nt,Tt+rr),this.lineTo(Qe,Tt+rr),this.lineTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe,Tt)},Se.prototype.fillRect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ee.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Qe,Tt,Nt,rr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Se.prototype.strokeRect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ut.call(this)||(this.beginPath(),this.rect(Qe,Tt,Nt,rr),this.stroke())},Se.prototype.clearRect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Qe,Tt,Nt,rr))},Se.prototype.save=function(Qe){Qe=typeof Qe!="boolean"||Qe;for(var Tt=this.pdf.internal.getCurrentPageInfo().pageNumber,Nt=0;Nt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Se.prototype.drawImage=function(Qe,Tt,Nt,rr,fr,Dr,Wr,Xr,dn){var In=this.pdf.getImageProperties(Qe),Xn=1,Yn=1,Ni=1,mt=1;rr!==void 0&&Xr!==void 0&&(Ni=Xr/rr,mt=dn/fr,Xn=In.width/rr*Xr/rr,Yn=In.height/fr*dn/fr),Dr===void 0&&(Dr=Tt,Wr=Nt,Tt=0,Nt=0),rr!==void 0&&Xr===void 0&&(Xr=rr,dn=fr),rr===void 0&&Xr===void 0&&(Xr=In.width,dn=In.height);var qn=this.ctx.transform.decompose(),Ws=Ur(qn.rotate.shx),ts=new M,xn=(ts=(ts=(ts=ts.multiply(qn.translate)).multiply(qn.skew)).multiply(qn.scale)).applyToRectangle(new L(Dr-Tt*Ni,Wr-Nt*mt,rr*Xn,fr*Yn));if(this.autoPaging){for(var rs,mi=dt.call(this,xn),Yi=[],Hi=0;Hi$a||Dsxn||mi0)){for(;dn>=0;dn--)if(fr[dn-1].close!==!0&&fr[dn-1].begin!==!0){fr[dn-1].deltas.push(Nt),fr[dn-1].abs.push(Xr);break}}break;case"bct":Nt=[Xr.x1-Dr[Wr-1].x,Xr.y1-Dr[Wr-1].y,Xr.x2-Dr[Wr-1].x,Xr.y2-Dr[Wr-1].y,Xr.x-Dr[Wr-1].x,Xr.y-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"qct":var In=Dr[Wr-1].x+2/3*(Xr.x1-Dr[Wr-1].x),Xn=Dr[Wr-1].y+2/3*(Xr.y1-Dr[Wr-1].y),Yn=Xr.x+2/3*(Xr.x1-Xr.x),Ni=Xr.y+2/3*(Xr.y1-Xr.y),mt=Xr.x,qn=Xr.y;Nt=[In-Dr[Wr-1].x,Xn-Dr[Wr-1].y,Yn-Dr[Wr-1].x,Ni-Dr[Wr-1].y,mt-Dr[Wr-1].x,qn-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Xr)}}rr=Tt?null:Qe==="stroke"?"stroke":"fill";for(var Ws=!1,ts=0;ts=.01&&(rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale);var Ns=this.autoPaging!=="text";if(Ns||Ci.y+Ci.h<=Hi){if(Ns||Ci.y>=mi&&Ci.x<=la){var Ri=Ns?Qe.text:this.pdf.splitTextToSize(Qe.text,Qe.maxWidth||la-Ci.x)[0],cl=$t([JSON.parse(JSON.stringify(Yn))],this.posX+this.margin[3],-da+mi+this.ctx.prevPageLastElemOffset)[0],Ta=Ns&&(rs>ts||rs=.01&&(this.pdf.setFontSize(rr),this.lineWidth=fr)}}else Qe.scale>=.01&&(rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale),this.pdf.text(Qe.text,dn.x+this.posX,dn.y+this.posY,{angle:Qe.angle,align:Tt,renderingMode:Qe.renderingMode,maxWidth:Qe.maxWidth}),Qe.scale>=.01&&(this.pdf.setFontSize(rr),this.lineWidth=fr)},Yt=function(Qe,Tt,Nt,rr){Nt=Nt||0,rr=rr||0,this.pdf.internal.out(s(Qe+Nt)+" "+u(Tt+rr)+" l")},Gt=function(Qe,Tt,Nt){return this.pdf.lines(Qe,Tt,Nt,null,null)},Qr=function(Qe,Tt,Nt,rr,fr,Dr,Wr,Xr){this.pdf.internal.out([a(d(Nt+Qe)),a(m(rr+Tt)),a(d(fr+Qe)),a(m(Dr+Tt)),a(d(Wr+Qe)),a(m(Xr+Tt)),"c"].join(" "))},Gr=function(Qe,Tt,Nt,rr){for(var fr=2*Math.PI,Dr=Math.PI/2;Tt>Nt;)Tt-=fr;var Wr=Math.abs(Nt-Tt);Wr1e-5;){var Xn=In+dn*Math.min(Wr,Dr);Xr.push($r.call(this,Qe,In,Xn)),Wr-=Math.abs(Xn-In),In=Xn}return Xr},$r=function(Qe,Tt,Nt){var rr=(Nt-Tt)/2,fr=Qe*Math.cos(rr),Dr=Qe*Math.sin(rr),Wr=fr,Xr=-Dr,dn=Wr*Wr+Xr*Xr,In=dn+Wr*fr+Xr*Dr,Xn=4/3*(Math.sqrt(2*dn*In)-In)/(Wr*Dr-Xr*fr),Yn=Wr-Xn*Xr,Ni=Xr+Xn*Wr,mt=Yn,qn=-Ni,Ws=rr+Tt,ts=Math.cos(Ws),xn=Math.sin(Ws);return{x1:Qe*Math.cos(Tt),y1:Qe*Math.sin(Tt),x2:Yn*ts-Ni*xn,y2:Yn*xn+Ni*ts,x3:mt*ts-qn*xn,y3:mt*xn+qn*ts,x4:Qe*Math.cos(Nt),y4:Qe*Math.sin(Nt)}},Ur=function(Qe){return 180*Qe/Math.PI},qr=function(Qe,Tt,Nt,rr,fr,Dr){var Wr=Qe+.5*(Nt-Qe),Xr=Tt+.5*(rr-Tt),dn=fr+.5*(Nt-fr),In=Dr+.5*(rr-Dr),Xn=Math.min(Qe,fr,Wr,dn),Yn=Math.max(Qe,fr,Wr,dn),Ni=Math.min(Tt,Dr,Xr,In),mt=Math.max(Tt,Dr,Xr,In);return new L(Xn,Ni,Yn-Xn,mt-Ni)},Rn=function(Qe,Tt,Nt,rr,fr,Dr,Wr,Xr){var dn,In,Xn,Yn,Ni,mt,qn,Ws,ts,xn,rs,mi,Yi,Hi,$a=Nt-Qe,la=rr-Tt,Ds=fr-Nt,da=Dr-rr,Aa=Wr-fr,Ci=Xr-Dr;for(In=0;In<41;In++)ts=(qn=(Xn=Qe+(dn=In/40)*$a)+dn*((Ni=Nt+dn*Ds)-Xn))+dn*(Ni+dn*(fr+dn*Aa-Ni)-qn),xn=(Ws=(Yn=Tt+dn*la)+dn*((mt=rr+dn*da)-Yn))+dn*(mt+dn*(Dr+dn*Ci-mt)-Ws),In==0?(rs=ts,mi=xn,Yi=ts,Hi=xn):(rs=Math.min(rs,ts),mi=Math.min(mi,xn),Yi=Math.max(Yi,ts),Hi=Math.max(Hi,xn));return new L(Math.round(rs),Math.round(mi),Math.round(Yi-rs),Math.round(Hi-mi))},wn=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Qe,Tt,Nt=(Qe=this.ctx.lineDash,Tt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Qe,lineDashOffset:Tt}));this.prevLineDash!==Nt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Nt)}}})(hi.API),function(n){var a=function(O){var L,M,z,te,Se,Ue,ee,ut,st,dt;for(/[^\x00-\xFF]/.test(O),M=[],z=0,te=(O+=L="\0\0\0\0".slice(O.length%4||4)).length;te>z;z+=4)(Se=(O.charCodeAt(z)<<24)+(O.charCodeAt(z+1)<<16)+(O.charCodeAt(z+2)<<8)+O.charCodeAt(z+3))!==0?(Ue=(Se=((Se=((Se=((Se=(Se-(dt=Se%85))/85)-(st=Se%85))/85)-(ut=Se%85))/85)-(ee=Se%85))/85)%85,M.push(Ue+33,ee+33,ut+33,st+33,dt+33)):M.push(122);return function(ze,$t){for(var jt=$t;jt>0;jt--)ze.pop()}(M,L.length),String.fromCharCode.apply(String,M)+"~>"},s=function(O){var L,M,z,te,Se,Ue=String,ee="length",ut=255,st="charCodeAt",dt="slice",ze="replace";for(O[dt](-2),O=O[dt](0,-2)[ze](/\s/g,"")[ze]("z","!!!!!"),z=[],te=0,Se=(O+=L="uuuuu"[dt](O[ee]%5||5))[ee];Se>te;te+=5)M=52200625*(O[st](te)-33)+614125*(O[st](te+1)-33)+7225*(O[st](te+2)-33)+85*(O[st](te+3)-33)+(O[st](te+4)-33),z.push(ut&M>>24,ut&M>>16,ut&M>>8,ut&M);return function($t,jt){for(var Dt=jt;Dt>0;Dt--)$t.pop()}(z,L[ee]),Ue.fromCharCode.apply(Ue,z)},u=function(O){return O.split("").map(function(L){return("0"+L.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(O){var L=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((O=O.replace(/\s/g,"")).indexOf(">")!==-1&&(O=O.substr(0,O.indexOf(">"))),O.length%2&&(O+="0"),L.test(O)===!1)return"";for(var M="",z=0;zst&&(ut=dt,dt=st,st=ut);else{if(L!=="l"&&L!=="landscape")throw"Invalid orientation: "+L;L="l",st>dt&&(ut=dt,dt=st,st=ut)}return{width:dt,height:st,unit:M,k:Se,orientation:L}},n.html=function(L,M){(M=M||{}).callback=M.callback||function(){},M.html2canvas=M.html2canvas||{},M.html2canvas.canvas=M.html2canvas.canvas||this.canvas,M.jsPDF=M.jsPDF||this,M.fontFaces=M.fontFaces?M.fontFaces.map(IA):null;var z=new O(M);return M.worker?z:z.from(L).doCallback()}}(hi.API),hi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,u=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ee=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ee+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(u,d,m){var O={title:d,options:m,children:[]};return u==null&&(u=this.root),u.children.push(O),O},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(u){u.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(u.children[0])),this.line("/Last "+this.makeRef(u.children[u.children.length-1]))),this.line("/Count "+this.count_r({count:0},u)),this.objEnd()},s.outline.renderItems=function(u){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(u.children[m-1])),m0&&(this.line("/First "+this.makeRef(O.children[0])),this.line("/Last "+this.makeRef(O.children[O.children.length-1])));var L=this.count=this.count_r({count:0},O);if(L>0&&this.line("/Count "+L),O.options&&O.options.pageNumber){var M=s.internal.getPageInfo(O.options.pageNumber);this.line("/Dest ["+M.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var z=0;z>"}),"transparency"in gt&&Array.isArray(gt.transparency)&>.transparency.length>0){for(var $r="",Ur=0,qr=gt.transparency.length;Ur>",st.content=m;var jt=st.objId+" 0 R";m="<>";else if(u.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=1};var z=n.__arabicParser__.arabicLetterHasFinalForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length>=3};var te=n.__arabicParser__.arabicLetterHasMedialForm=function(st){return O(st)&&m(st)&&a[st.charCodeAt(0)].length==4},Se=n.__arabicParser__.resolveLigatures=function(st){var dt=0,ze=s,$t="",jt=0;for(dt=0;dt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(L){s=L}});var u=150;Object.defineProperty(this,"width",{get:function(){return u},set:function(L){u=isNaN(L)||Number.isInteger(L)===!1||L<0?150:L,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=u+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(L){d=isNaN(L)||Number.isInteger(L)===!1||L<0?300:L,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(L){m=L}});var O={};Object.defineProperty(this,"style",{get:function(){return O},set:function(L){O=L}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,u){var d;if((s=s||"2d")!=="2d")return null;for(d in u)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=u[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(hi.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,u=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var M=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return M},set:function(st){M=st}});var z=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return z},set:function(st){z=st}});var te=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return te},set:function(st){te=st}});var Se=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Se},set:function(st){Se=st}});var Ue=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ue},set:function(st){Ue=st}});var ee=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ee},set:function(st){ee=st}});var ut=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ut},set:function(st){ut=st}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(M){return u.call(this),this.internal.__cell__.headerFunction=typeof M=="function"?M:void 0,this},n.getTextDimensions=function(M,z){u.call(this);var te=(z=z||{}).fontSize||this.getFontSize(),Se=z.font||this.getFont(),Ue=z.scaleFactor||this.internal.scaleFactor,ee=0,ut=0,st=0,dt=this;if(!Array.isArray(M)&&typeof M!="string"){if(typeof M!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");M=String(M)}var ze=z.maxWidth;ze>0?typeof M=="string"?M=this.splitTextToSize(M,ze):Object.prototype.toString.call(M)==="[object Array]"&&(M=M.reduce(function(jt,Dt){return jt.concat(dt.splitTextToSize(Dt,ze))},[])):M=Array.isArray(M)?M:[M];for(var $t=0;$tthis.getPageHeight()?(this.cellAddPage(),M.y=Se.top,ee&&Ue&&(this.printHeaderRow(M.lineNumber,!0),M.y+=Ue[0].height)):M.y=z.y+z.height||M.y),M.text[0]!==void 0&&(this.rect(M.x,M.y,M.width,M.height,s===!0?"FD":void 0),M.align==="right"?this.text(M.text,M.x+M.width-te,M.y+te,{align:"right",baseline:"top"}):M.align==="center"?this.text(M.text,M.x+M.width/2,M.y+te,{align:"center",baseline:"top",maxWidth:M.width-te-te}):this.text(M.text,M.x+te,M.y+te,{align:"left",baseline:"top",maxWidth:M.width-te-te})),this.internal.__cell__.lastCell=M,this};n.table=function(M,z,te,Se,Ue){if(u.call(this),!te)throw new Error("No data for PDF table.");var ee,ut,st,dt,ze=[],$t=[],jt=[],Dt={},Or={},on=[],Vr=[],Ar=(Ue=Ue||{}).autoSize||!1,Rt=Ue.printHeaders!==!1,Tr=Ue.css&&Ue.css["font-size"]!==void 0?16*Ue.css["font-size"]:Ue.fontSize||12,Ke=Ue.margins||Object.assign({width:this.getPageWidth()},a),gt=typeof Ue.padding=="number"?Ue.padding:3,Yt=Ue.headerBackgroundColor||"#c8c8c8",Gt=Ue.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Rt,this.internal.__cell__.margins=Ke,this.internal.__cell__.table_font_size=Tr,this.internal.__cell__.padding=gt,this.internal.__cell__.headerBackgroundColor=Yt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Tr),Se==null)$t=ze=Object.keys(te[0]),jt=ze.map(function(){return"left"});else if(Array.isArray(Se)&&(0,V.Z)(Se[0])==="object")for(ze=Se.map(function(Rn){return Rn.name}),$t=Se.map(function(Rn){return Rn.prompt||Rn.name||""}),jt=Se.map(function(Rn){return Rn.align||"left"}),ee=0;ee0&&this.setTableHeaderRow(Ue),this.setFont(void 0,"normal"),s=!1}}(hi.API);var qo={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Lu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tl=ya(Lu),jl=[100,200,300,400,500,600,700,800,900],Ic=ya(jl);function IA(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return qo[m=m||"normal"]?m:"normal"}(n.style),u=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Tl[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:u,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,u].join(" ")}}}function zA(n,a,s,u){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function _e(n,a,s){var u=n.length,d=[];d[0]=4;for(var m=0;m>m&O}function zt(n,a,s,u){var d=s*u,m=Math.floor(d/8),O=16-(d-8*m+u),L=(1<>8&255;z.setUint8(te,Ue)}})(n,m,ir(n,m)&~(L<>7,O=1<<1+(7&d);n[a++],n[a++];var L=null,M=null;m&&(L=a,M=O,a+=3*O);var z=!0,te=[],Se=0,Ue=null,ee=0,ut=null;for(this.width=s,this.height=u;z&&a=0))throw Error("Invalid block size");if(Ke===0)break;a+=Ke}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var st=n[a++];Se=n[a++]|n[a++]<<8,Ue=n[a++],1&st||(Ue=null),ee=st>>2&7,a++;break;case 254:for(;;){if(!((Ke=n[a++])>=0))throw Error("Invalid block size");if(Ke===0)break;a+=Ke}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var dt=n[a++]|n[a++]<<8,ze=n[a++]|n[a++]<<8,$t=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Dt=n[a++],Or=Dt>>6&1,on=1<<1+(7&Dt),Vr=L,Ar=M,Rt=!1;Dt>>7&&(Rt=!0,Vr=a,Ar=on,a+=3*on);var Tr=a;for(a++;;){var Ke;if(!((Ke=n[a++])>=0))throw Error("Invalid block size");if(Ke===0)break;a+=Ke}te.push({x:dt,y:ze,width:$t,height:jt,has_local_palette:Rt,palette_offset:Vr,palette_size:Ar,data_offset:Tr,data_length:a-Tr,transparent_index:Ue,interlaced:!!Or,delay:Se,disposal:ee});break;case 59:z=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return te.length},this.loopCount=function(){return ut},this.frameInfo=function(gt){if(gt<0||gt>=te.length)throw new Error("Frame index out of range.");return te[gt]},this.decodeAndBlitFrameBGRA=function(gt,Yt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,rr=4*Rn;Gt.interlaced===!0&&(rr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(rr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Yt[Nt++]=Xn,Yt[Nt++]=In,Yt[Nt++]=dn,Yt[Nt++]=255}--wn}},this.decodeAndBlitFrameRGBA=function(gt,Yt){var Gt=this.frameInfo(gt),Qr=Gt.width*Gt.height,Gr=new Uint8Array(Qr);lr(n,Gt.data_offset,Gr,Qr);var $r=Gt.palette_offset,Ur=Gt.transparent_index;Ur===null&&(Ur=256);var qr=Gt.width,Rn=s-qr,wn=qr,Qe=4*(Gt.y*s+Gt.x),Tt=4*((Gt.y+Gt.height)*s+Gt.x),Nt=Qe,rr=4*Rn;Gt.interlaced===!0&&(rr+=4*s*7);for(var fr=8,Dr=0,Wr=Gr.length;Dr=Tt&&(rr=4*Rn+4*s*(fr-1),Nt=Qe+(qr+Rn)*(fr<<1),fr>>=1)),Xr===Ur)Nt+=4;else{var dn=n[$r+3*Xr],In=n[$r+3*Xr+1],Xn=n[$r+3*Xr+2];Yt[Nt++]=dn,Yt[Nt++]=In,Yt[Nt++]=Xn,Yt[Nt++]=255}--wn}}}function lr(n,a,s,u){for(var d=n[a++],m=1<>=M,te-=M,dt!==m){if(dt===O)break;for(var ze=dtm;)jt=ut[jt]>>8,++$t;var Dt=jt;if(Ue+$t+(ze!==dt?1:0)>u)return void va.log("Warning, gif stream longer than expected.");s[Ue++]=Dt;var Or=Ue+=$t;for(ze!==dt&&(s[Ue++]=Dt),jt=ze;$t--;)jt=ut[jt],s[--Or]=255&jt,jt>>=8;st!==null&&L<4096&&(ut[L++]=st<<8|Dt,L>=z+1&&M<12&&(++M,z=z<<1|1)),st=dt}else L=O+1,z=(1<<(M=d+1))-1,st=null}return Ue!==u&&va.log("Warning, gif stream shorter than expected."),s}function Rr(n){var a,s,u,d,m,O=Math.floor,L=new Array(64),M=new Array(64),z=new Array(64),te=new Array(64),Se=new Array(65535),Ue=new Array(65535),ee=new Array(64),ut=new Array(64),st=[],dt=0,ze=7,$t=new Array(64),jt=new Array(64),Dt=new Array(64),Or=new Array(256),on=new Array(2048),Vr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Rt=[0,1,2,3,4,5,6,7,8,9,10,11],Tr=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ke=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],gt=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Yt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Qr=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Gr(Qe,Tt){for(var Nt=0,rr=0,fr=new Array,Dr=1;Dr<=16;Dr++){for(var Wr=1;Wr<=Qe[Dr];Wr++)fr[Tt[rr]]=[],fr[Tt[rr]][0]=Nt,fr[Tt[rr]][1]=Dr,rr++,Nt++;Nt*=2}return fr}function $r(Qe){for(var Tt=Qe[0],Nt=Qe[1]-1;Nt>=0;)Tt&1<>8&255),Ur(255&Qe)}function Rn(Qe,Tt,Nt,rr,fr){for(var Dr,Wr=fr[0],Xr=fr[240],dn=function(xn,rs){var mi,Yi,Hi,$a,la,Ds,da,Aa,Ci,Ns,Ri=0;for(Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+1],Hi=xn[Ri+2],$a=xn[Ri+3],la=xn[Ri+4],Ds=xn[Ri+5],da=xn[Ri+6];var cl=mi+(Aa=xn[Ri+7]),Ta=mi-Aa,Xs=Yi+da,qs=Yi-da,Oo=Hi+Ds,Gi=Hi-Ds,Bo=$a+la,ls=$a-la,Fs=cl+Bo,No=cl-Bo,ra=Xs+Oo,ns=Xs-Oo;xn[Ri]=Fs+ra,xn[Ri+4]=Fs-ra;var Za=.707106781*(ns+No);xn[Ri+2]=No+Za,xn[Ri+6]=No-Za;var Gf=.382683433*((Fs=ls+Gi)-(ns=qs+Ta)),LA=.5411961*Fs+Gf,j0=1.306562965*ns+Gf,n0=.707106781*(ra=Gi+qs),is=Ta+n0,H0=Ta-n0;xn[Ri+5]=H0+LA,xn[Ri+3]=H0-LA,xn[Ri+1]=is+j0,xn[Ri+7]=is-j0,Ri+=8}for(Ri=0,Ci=0;Ci<8;++Ci){mi=xn[Ri],Yi=xn[Ri+8],Hi=xn[Ri+16],$a=xn[Ri+24],la=xn[Ri+32],Ds=xn[Ri+40],da=xn[Ri+48];var K0=mi+(Aa=xn[Ri+56]),tc=mi-Aa,rc=Yi+da,ol=Yi-da,nA=Hi+Ds,pA=Hi-Ds,Vf=$a+la,Hh=$a-la,Lc=K0+Vf,i0=K0-Vf,Dc=rc+nA,Fc=rc-nA;xn[Ri]=Lc+Dc,xn[Ri+32]=Lc-Dc;var nc=.707106781*(Fc+i0);xn[Ri+16]=i0+nc,xn[Ri+48]=i0-nc;var Wf=.382683433*((Lc=Hh+pA)-(Fc=ol+tc)),s0=.5411961*Lc+Wf,$f=1.306562965*Fc+Wf,Qd=.707106781*(Dc=pA+ol),jd=tc+Qd,Hd=tc-Qd;xn[Ri+40]=Hd+s0,xn[Ri+24]=Hd-s0,xn[Ri+8]=jd+$f,xn[Ri+56]=jd-$f,Ri++}for(Ci=0;Ci<64;++Ci)Ns=xn[Ci]*rs[Ci],ee[Ci]=Ns>0?Ns+.5|0:Ns-.5|0;return ee}(Qe,Tt),In=0;In<64;++In)ut[Vr[In]]=dn[In];var Xn=ut[0]-Nt;Nt=ut[0],Xn==0?$r(rr[0]):($r(rr[Ue[Dr=32767+Xn]]),$r(Se[Dr]));for(var Yn=63;Yn>0&&ut[Yn]==0;)Yn--;if(Yn==0)return $r(Wr),Nt;for(var Ni,mt=1;mt<=Yn;){for(var qn=mt;ut[mt]==0&&mt<=Yn;)++mt;var Ws=mt-qn;if(Ws>=16){Ni=Ws>>4;for(var ts=1;ts<=Ni;++ts)$r(Xr);Ws&=15}Dr=32767+ut[mt],$r(fr[(Ws<<4)+Ue[Dr]]),$r(Se[Dr]),mt++}return Yn!=63&&$r(Wr),Nt}function wn(Qe){Qe=Math.min(Math.max(Qe,1),100),m!=Qe&&(function(Tt){for(var Nt=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],rr=0;rr<64;rr++){var fr=O((Nt[rr]*Tt+50)/100);fr=Math.min(Math.max(fr,1),255),L[Vr[rr]]=fr}for(var Dr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Wr=0;Wr<64;Wr++){var Xr=O((Dr[Wr]*Tt+50)/100);Xr=Math.min(Math.max(Xr,1),255),M[Vr[Wr]]=Xr}for(var dn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],In=0,Xn=0;Xn<8;Xn++)for(var Yn=0;Yn<8;Yn++)z[In]=1/(L[Vr[In]]*dn[Xn]*dn[Yn]*8),te[In]=1/(M[Vr[In]]*dn[Xn]*dn[Yn]*8),In++}(Qe<50?Math.floor(5e3/Qe):Math.floor(200-2*Qe)),m=Qe)}this.encode=function(Qe,Tt){Tt&&wn(Tt),st=new Array,dt=0,ze=7,qr(65496),qr(65504),qr(16),Ur(74),Ur(70),Ur(73),Ur(70),Ur(0),Ur(1),Ur(1),Ur(0),qr(1),qr(1),Ur(0),Ur(0),function(){qr(65499),qr(132),Ur(0);for(var Yi=0;Yi<64;Yi++)Ur(L[Yi]);Ur(1);for(var Hi=0;Hi<64;Hi++)Ur(M[Hi])}(),function(Yi,Hi){qr(65472),qr(17),Ur(8),qr(Hi),qr(Yi),Ur(3),Ur(1),Ur(17),Ur(0),Ur(2),Ur(17),Ur(1),Ur(3),Ur(17),Ur(1)}(Qe.width,Qe.height),function(){qr(65476),qr(418),Ur(0);for(var Yi=0;Yi<16;Yi++)Ur(Ar[Yi+1]);for(var Hi=0;Hi<=11;Hi++)Ur(Rt[Hi]);Ur(16);for(var $a=0;$a<16;$a++)Ur(Tr[$a+1]);for(var la=0;la<=161;la++)Ur(Ke[la]);Ur(1);for(var Ds=0;Ds<16;Ds++)Ur(gt[Ds+1]);for(var da=0;da<=11;da++)Ur(Yt[da]);Ur(17);for(var Aa=0;Aa<16;Aa++)Ur(Gt[Aa+1]);for(var Ci=0;Ci<=161;Ci++)Ur(Qr[Ci])}(),qr(65498),qr(12),Ur(3),Ur(1),Ur(0),Ur(2),Ur(17),Ur(3),Ur(17),Ur(0),Ur(63),Ur(0);var Nt=0,rr=0,fr=0;dt=0,ze=7,this.encode.displayName="_encode_";for(var Dr,Wr,Xr,dn,In,Xn,Yn,Ni,mt,qn=Qe.data,Ws=Qe.width,ts=Qe.height,xn=4*Ws,rs=0;rs>3)*xn+(Yn=4*(7&mt)),rs+Ni>=ts&&(Xn-=xn*(rs+1+Ni-ts)),Dr+Yn>=xn&&(Xn-=Dr+Yn-xn+4),Wr=qn[Xn++],Xr=qn[Xn++],dn=qn[Xn++],$t[mt]=(on[Wr]+on[Xr+256|0]+on[dn+512|0]>>16)-128,jt[mt]=(on[Wr+768|0]+on[Xr+1024|0]+on[dn+1280|0]>>16)-128,Dt[mt]=(on[Wr+1280|0]+on[Xr+1536|0]+on[dn+1792|0]>>16)-128;Nt=Rn($t,z,Nt,a,u),rr=Rn(jt,te,rr,s,d),fr=Rn(Dt,te,fr,s,d),Dr+=32}rs+=8}if(ze>=0){var mi=[];mi[1]=ze+1,mi[0]=(1<gt;gt++)if(Rt[Tr+gt]!=Ke.charCodeAt(gt))return!0;return!1}function u(Rt,Tr,Ke,gt,Yt){for(var Gt=0;GtGt+1?[]:new Tr),!(Qr.length>>0;w&Z;)Z>>>=1;return Z?(w&Z-1)+Z:w}function Ke(w,T,Z,ue,Le){a(!(ue%Z));do w[T+(ue-=Z)]=Le;while(0=Le),512>=Le)var Ne=m(512);else if((Ne=m(Le))==null)return 0;return function(Me,Ye,it,bt,sr,Pr){var _t,hr,Ir=Ye,an=1<_t;++_t){if(kr[_t]>1<<_t)return 0;An[_t+1]=An[_t]+kr[_t]}for(hr=0;hr(Ks-=kr[_t]))return 0;for(;0=_t;++_t,sr<<=1){if(fi+=Ks<<=1,0>(Ks-=kr[_t]))return 0;for(;0Sn&&!(0>=(hn-=kr[Sn]));)++Sn,hn<<=1;an+=Ei=1<<(hn=Sn-it),Me[Ye+(Sn=Di&_n)].g=hn+it,Me[Ye+Sn].value=Ir-Ye-Sn}bt.g=_t-it,bt.value=Pr[hr++],Ke(Me,Ir+(Di>>it),sr,Ei,bt),Di=Tr(Di,_t)}}return fi!=2*An[15]-1?0:an}(w,T,Z,ue,Le,Ne)}function Yt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Qr(){this.G=O(5,Yt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=O(sd,Gt)}function Gr(w,T,Z,ue){a(w!=null),a(T!=null),a(2147483648>ue),w.Ca=254,w.I=0,w.b=-8,w.Ka=0,w.oa=T,w.pa=Z,w.Jd=T,w.Yc=Z+ue,w.Zc=4<=ue?Z+ue-4+1:Z,Wr(w)}function $r(w,T){for(var Z=0;0ue),w.Sb=ue,w.Ra=0,w.u=0,w.h=0,4>>=8,w.Ra+=w.oa[w.pa+w.bb]<>>0,++w.bb,w.u-=8;rr(w)&&(w.h=1,w.u=0)}function wn(w,T){if(a(0<=T),!w.h&&T<=Fu){var Z=Nt(w)&Du[T];return w.u+=T,Rn(w),Z}return w.h=1,w.u=0}function Qe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Tt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Nt(w){return w.Ra>>>(w.u&Vh-1)>>>0}function rr(w){return a(w.bb<=w.Sb),w.h||w.bb==w.Sb&&w.u>Vh}function fr(w,T){w.u=T,w.h=rr(w)}function Dr(w){w.u>=eh&&(a(w.u>=eh),Rn(w))}function Wr(w){a(w!=null&&w.oa!=null),w.pa>>0,w.b+=8):(a(w!=null&&w.oa!=null),w.paw.b&&Wr(w);var ue=w.b,Le=Z*T>>>8,Ne=(w.I>>>ue>Le)+0;for(Ne?(Z-=Le,w.I-=Le+1<>>0):Z=Le+1,ue=Z,Le=0;256<=ue;)Le+=8,ue>>=8;return ue=7^Le+Wh[ue],w.b-=ue,w.Ca=(Z<>24&255,w[T+1]=Z>>16&255,w[T+2]=Z>>8&255,w[T+3]=255&Z}function Xn(w,T){return w[T+0]|w[T+1]<<8}function Yn(w,T){return Xn(w,T)|w[T+2]<<16}function Ni(w,T){return Xn(w,T)|Xn(w,T+2)<<16}function mt(w,T){var Z=1<=Le||0>=Ne?0:(Z[0]=Le,ue[0]=Ne,1)}function xn(w,T){return w+(1<>>T}function rs(w,T){return((4278255360&w)+(4278255360&T)>>>0&4278255360)+((16711935&w)+(16711935&T)>>>0&16711935)>>>0}function mi(w,T){Rt[T]=function(Z,ue,Le,Ne,Me,Ye,it){var bt;for(bt=0;bt>>1)+(w&T)>>>0}function $a(w){return 0<=w&&256>w?w:0>w?0:255>1))}function Ds(w,T,Z){return Math.abs(T-Z)-Math.abs(w-Z)}function da(w,T,Z,ue,Le,Ne,Me){for(ue=Ne[Me-1],Z=0;Z>8&255,it=16711935&(it=(it=16711935&Me)+((Ye<<16)+Ye));ue[Le+Ne]=(4278255360&Me)+it>>>0}}function Ci(w,T){T.jd=255&w,T.hd=w>>8&255,T.ud=w>>16&255}function Ns(w,T,Z,ue,Le,Ne){var Me;for(Me=0;Me>>8,bt=Ye,sr=255&(sr=(sr=Ye>>>16)+((w.jd<<24>>24)*(it<<24>>24)>>>5));bt=255&(bt=(bt+=(w.hd<<24>>24)*(it<<24>>24)>>>5)+((w.ud<<24>>24)*(sr<<24>>24)>>>5)),Le[Ne+Me]=(4278255360&Ye)+(sr<<16)+bt}}function Ri(w,T,Z,ue,Le){Rt[T]=function(Ne,Me,Ye,it,bt,sr,Pr,_t,hr){for(it=Pr;it<_t;++it)for(Pr=0;Pr>Ne.b,hr=Ne.Ea,Ir=Ne.K[0],an=Ne.w;if(8>_t)for(Ne=(1<>=_t}else Rt["VP8LMapColor"+Z](it,bt,Ir,an,sr,Pr,Me,Ye,hr)}}function cl(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne}}function Ta(w,T,Z,ue,Le){for(Z=T+Z;T>16&255,ue[Le++]=Ne>>8&255,ue[Le++]=255&Ne,ue[Le++]=Ne>>24&255}}function Xs(w,T,Z,ue,Le){for(Z=T+Z;T>16&240|Me>>12&15,Me=240&Me|Me>>28&15;ue[Le++]=Ne,ue[Le++]=Me}}function qs(w,T,Z,ue,Le){for(Z=T+Z;T>16&248|Me>>13&7,Me=Me>>5&224|Me>>3&31;ue[Le++]=Ne,ue[Le++]=Me}}function Oo(w,T,Z,ue,Le){for(Z=T+Z;T>8&255,ue[Le++]=Ne>>16&255}}function Gi(w,T,Z,ue,Le,Ne){if(Ne==0)for(Z=T+Z;T>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Le+=32;else u(ue,Le,w,T,Z)}function Bo(w,T){Rt[T][0]=Rt[w+"0"],Rt[T][1]=Rt[w+"1"],Rt[T][2]=Rt[w+"2"],Rt[T][3]=Rt[w+"3"],Rt[T][4]=Rt[w+"4"],Rt[T][5]=Rt[w+"5"],Rt[T][6]=Rt[w+"6"],Rt[T][7]=Rt[w+"7"],Rt[T][8]=Rt[w+"8"],Rt[T][9]=Rt[w+"9"],Rt[T][10]=Rt[w+"10"],Rt[T][11]=Rt[w+"11"],Rt[T][12]=Rt[w+"12"],Rt[T][13]=Rt[w+"13"],Rt[T][14]=Rt[w+"0"],Rt[T][15]=Rt[w+"0"]}function ls(w){return w==q1||w==J1||w==E1||w==eg}function Fs(){this.eb=[],this.size=this.A=this.fb=0}function No(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ra(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Fs,this.f.kb=new No,this.sd=null}function ns(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Za(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(w){return alert("todo:WebPSamplerProcessPlane"),w.T}function LA(w,T){var Z=w.T,ue=T.ba.f.RGBA,Le=ue.eb,Ne=ue.fb+w.ka*ue.A,Me=Ac[T.ba.S],Ye=w.y,it=w.O,bt=w.f,sr=w.N,Pr=w.ea,_t=w.W,hr=T.cc,Ir=T.dc,an=T.Mc,kr=T.Nc,An=w.ka,hn=w.ka+w.T,Sn=w.U,_n=Sn+1>>1;for(An==0?Me(Ye,it,null,null,bt,sr,Pr,_t,bt,sr,Pr,_t,Le,Ne,null,null,Sn):(Me(T.ec,T.fc,Ye,it,hr,Ir,an,kr,bt,sr,Pr,_t,Le,Ne-ue.A,Le,Ne,Sn),++Z);An+2Z,Le=Z==w1||Z==b1||Z==_1||Z==X1||Z==12||ls(Z);if(T.memory=null,T.Ib=null,T.Jb=null,T.Nd=null,!Up(T.Oa,w,Le?11:12))return 0;if(Le&&ls(Z)&&Fp(),w.da)alert("todo:use_scaling");else{if(ue){if(T.Ib=Gf,w.Kb){if(Z=w.U+1>>1,T.memory=m(w.U+2*Z),T.memory==null)return 0;T.ec=T.memory,T.fc=0,T.cc=T.ec,T.dc=T.fc+w.U,T.Mc=T.cc,T.Nc=T.dc+Z,T.Ib=LA,Fp()}}else alert("todo:EmitYUV");Le&&(T.Jb=j0,ue&&kc())}if(ue&&!Ng){for(w=0;256>w;++w)wm[w]=89858*(w-128)+x1>>B1,Em[w]=-22014*(w-128)+x1,_m[w]=-45773*(w-128),bm[w]=113618*(w-128)+x1>>B1;for(w=Gp;w>B1,Bm[w-Gp]=a0(T,255),xm[w-Gp]=a0(T+8>>4,15);Ng=1}return 1}function is(w){var T=w.ma,Z=w.U,ue=w.T;return a(!(1&w.ka)),0>=Z||0>=ue?0:(Z=T.Ib(w,T),T.Jb!=null&&T.Jb(w,T,Z),T.Dc+=Z,1)}function H0(w){w.ma.memory=null}function K0(w,T,Z,ue){return wn(w,8)!=47?0:(T[0]=wn(w,14)+1,Z[0]=wn(w,14)+1,ue[0]=wn(w,1),wn(w,3)!=0?0:!w.h)}function tc(w,T){if(4>w)return w+1;var Z=w-2>>1;return(2+(1&w)<>4)*w+(8-(15&Z)))?Z:1;var Z}function ol(w,T,Z){var ue=Nt(Z),Le=w[T+=255&ue].g-8;return 0>>0,a(8>=Z.g),w.g}function pA(w,T,Z){var ue=w.xc;return a((T=ue==0?0:w.vc[w.md*(Z>>ue)+(T>>ue)])>Ei.b)*fi;anSn&&(Bi=Sn),(0,Mp[pa[Wl++]>>8&15])(_t,hr+ +zs,An,hn+zs-Sn,Bi-zs,An,hn+zs),zs=Bi}hr+=Sn,hn+=Sn,++an&Di||(Ei+=fi)}Pr!=bt.nc&&u(it,Ye-Ir,it,Ye+(Pr-sr-1)*Ir,Ir);break;case 1:for(Ir=_t,kr=hr,Sn=(_t=bt.Ea)-(hn=_t&~(An=(hr=1<>bt.b)*an;sr=Le),0Ne.o&&(ue=Ne.o),Z=ue?Z=0:(Le[0]+=4*Ne.v,Ne.ka=Z-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=ue-Z,Z=1),Z){if(Ye=Ye[0],11>(Z=w.ca).S){var sr=Z.f.RGBA,Pr=(ue=Z.S,Le=Ne.U,Ne=Ne.T,bt=sr.eb,sr.A),_t=Ne;for(sr=sr.fb+w.Ma*sr.A;0<_t--;){var hr=Me,Ir=Ye,an=Le,kr=bt,An=sr;switch(ue){case y1:jp(hr,Ir,an,kr,An);break;case w1:$h(hr,Ir,an,kr,An);break;case q1:$h(hr,Ir,an,kr,An),Kp(kr,An,0,an,1,0);break;case Tg:ad(hr,Ir,an,kr,An);break;case b1:Gi(hr,Ir,an,kr,An,1);break;case J1:Gi(hr,Ir,an,kr,An,1),Kp(kr,An,0,an,1,0);break;case _1:Gi(hr,Ir,an,kr,An,0);break;case E1:Gi(hr,Ir,an,kr,An,0),Kp(kr,An,1,an,1,0);break;case X1:Zh(hr,Ir,an,kr,An);break;case eg:Zh(hr,Ir,an,kr,An),wg(kr,An,an,1,0);break;case Ig:Yh(hr,Ir,an,kr,An);break;default:a(0)}Ye+=it,sr+=Pr}w.Ma+=Ne}else alert("todo:EmitRescaledRowsYUVA");a(w.Ma<=Z.height)}}w.C=T,a(w.C<=w.i)}function Lc(w){var T;if(0ue){var Le=w.l.width,Ne=Z.ca,Me=Z.tb+Le*ue,Ye=w.V,it=w.Ba+w.c*ue,bt=w.gc;a(w.ab==1),a(bt[0].hc==3),u0(bt[0],ue,T,Ye,it,Ne,Me),i0(Z,ue,T,Ne,Me,Le)}w.C=w.Ma=T}function Fc(w,T,Z,ue,Le,Ne,Me){var Ye=w.$/ue,it=w.$%ue,bt=w.m,sr=w.s,Pr=Z+w.$,_t=Pr;Le=Z+ue*Le;var hr=Z+ue*Ne,Ir=280+sr.ua,an=w.Pb?Ye:16777216,kr=0=an){var Di=Pr-Z;a((an=w).Pb),an.wd=an.m,an.xd=Di,0Ks.g?(fr(_n,_n.u+Ks.g),Di[fi]=Ks.value,_n=0):(fr(_n,_n.u+Ks.g-256),a(256<=Ks.value),_n=Ks.value),_n==0&&(Sn=!0)}else _n=ol(hn.G[0],hn.H[0],bt);if(bt.h)break;if(Sn||256>_n){if(!Sn)if(hn.nd)T[Pr]=(hn.qb|_n<<8)>>>0;else{if(Dr(bt),Sn=ol(hn.G[1],hn.H[1],bt),Dr(bt),Di=ol(hn.G[2],hn.H[2],bt),fi=ol(hn.G[3],hn.H[3],bt),bt.h)break;T[Pr]=(fi<<24|Sn<<16|_n<<8|Di)>>>0}if(Sn=!1,++Pr,++it>=ue&&(it=0,++Ye,Me!=null&&Ye<=Ne&&!(Ye%16)&&Me(w,Ye),kr!=null))for(;_t>>kr.Mb]=_n}else if(280>_n){if(_n=tc(_n-256,bt),Di=ol(hn.G[4],hn.H[4],bt),Dr(bt),Di=rc(ue,Di=tc(Di,bt)),bt.h)break;if(Pr-Z=ue;)it-=ue,++Ye,Me!=null&&Ye<=Ne&&!(Ye%16)&&Me(w,Ye);if(a(Pr<=Le),it&An&&(hn=pA(sr,it,Ye)),kr!=null)for(;_t>>kr.Mb]=_n}else{if(!(_n>>kr.Mb]=_n;_n=Pr,a(!(Sn>>>(Di=kr).Xa)),T[_n]=Di.X[Sn],Sn=!0}Sn||a(bt.h==rr(bt))}if(w.Pb&&bt.h&&PrNe?Ne:Ye),w.a=0,w.$=Pr-Z}return 1}return w.a=3,0}function nc(w){a(w!=null),w.vc=null,w.yc=null,w.Ya=null;var T=w.Wa;T!=null&&(T.X=null),w.vb=null,a(w!=null)}function Wf(){var w=new Es;return w==null?null:(w.a=0,w.xb=Fg,Bo("Predictor","VP8LPredictors"),Bo("Predictor","VP8LPredictors_C"),Bo("PredictorAdd","VP8LPredictorsAdd"),Bo("PredictorAdd","VP8LPredictorsAdd_C"),hl=Aa,Qp=Ns,jp=cl,$h=Ta,Zh=Xs,Yh=qs,ad=Oo,Rt.VP8LMapColor32b=A0,Rt.VP8LMapColor8b=Np,w)}function s0(w,T,Z,ue,Le){var Ne=1,Me=[w],Ye=[T],it=ue.m,bt=ue.s,sr=null,Pr=0;e:for(;;){if(Z)for(;Ne&&wn(it,1);){var _t=Me,hr=Ye,Ir=ue,an=1,kr=Ir.m,An=Ir.gc[Ir.ab],hn=wn(kr,2);if(Ir.Oc&1<=Ir.ab),hn){case 0:case 1:An.b=wn(kr,3)+2,an=s0(xn(An.Ea,An.b),xn(An.nc,An.b),0,Ir,An.K),An.K=An.K[0];break;case 3:var Sn,_n=wn(kr,8)+1,Di=16<_n?0:4<_n?1:2<_n?2:3;if(_t[0]=xn(An.Ea,Di),An.b=Di,Sn=an=s0(_n,1,0,Ir,An.K)){var fi,Ks=_n,Ei=An,pa=1<<(8>>Ei.b),Wl=m(pa);if(Wl==null)Sn=0;else{var zs=Ei.K[0],Bi=Ei.w;for(Wl[0]=Ei.K[0][0],fi=1;fi<1*Ks;++fi)Wl[fi]=rs(zs[Bi+fi],Wl[fi-1]);for(;fi<4*pa;++fi)Wl[fi]=0;Ei.K[0]=null,Ei.K[0]=Wl,Sn=1}}an=Sn;break;case 2:break;default:a(0)}Ne=an}}if(Me=Me[0],Ye=Ye[0],Ne&&wn(it,1)&&!(Ne=1<=(Pr=wn(it,4))&&11>=Pr)){ue.a=3;break e}var Kn;if(Kn=Ne)t:{var dl,Rs,wa,Fo=ue,vA=Me,VA=Ye,ll=Pr,DA=Z,WA=Fo.m,$l=Fo.s,La=[null],eo=1,Al=0,to=om[ll];r:for(;;){if(DA&&wn(WA,1)){var yA=wn(WA,3)+2,Pc=xn(vA,yA),pl=xn(VA,yA),hu=Pc*pl;if(!s0(Pc,pl,0,Fo,La))break r;for(La=La[0],$l.xc=yA,dl=0;dl>8&65535;La[dl]=mo,mo>=eo&&(eo=mo+1)}}if(WA.h)break r;for(Rs=0;5>Rs;++Rs){var Zl=Lg[Rs];!Rs&&0=$A),Pu=Uu;var fu=m(Al);if(Pu==null||fu==null||ku==null){Fo.a=1;break r}var Ou=ku;for(dl=wa=0;dlRs;++Rs){Zl=Lg[Rs],Nu[Rs]=Ou,Oc[Rs]=wa,!Rs&&0D1)break n}else ag=D1;for(Wp=0;Wpqd)Gg[Wp++]=qd,qd!=0&&(Vg=qd);else{var Um=qd==16,Zg=qd-16,Pm=nm[Zg],Yg=wn(tf,rm[Zg])+Pm;if(Wp+Yg>D1)break n;for(var Om=Um?Vg:0;0=Rs){var $p,lg=fu[0];for($p=1;$plg&&(lg=fu[$p]);wA+=lg}}if(Co.nd=nh,Co.Qb=0,nh&&(Co.qb=(Nu[3][Oc[3]+0].value<<24|Nu[1][Oc[1]+0].value<<16|Nu[2][Oc[2]+0].value)>>>0,ld==0&&256>Nu[0][Oc[0]+0].value&&(Co.Qb=1,Co.qb+=Nu[0][Oc[0]+0].value<<8)),Co.jc=!Co.Qb&&6>wA,Co.jc){var F1,ih=Co;for(F1=0;F1>=nA(R1,8,nf),rf>>=nA(ih.G[1][ih.H[1]+rf],16,nf),rf>>=nA(ih.G[2][ih.H[2]+rf],0,nf),nA(ih.G[3][ih.H[3]+rf],24,nf))}}}$l.vc=La,$l.Wb=eo,$l.Ya=Pu,$l.yc=ku,Kn=1;break t}Kn=0}if(!(Ne=Kn)){ue.a=3;break e}if(0ue+1?[]:0),!(Le.lengthw?0:w>T?T:w}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var w=new n1;return w!=null&&(w.a=0,w.sc="OK",w.cb=0,w.Xb=0,zp||(zp=zd)),w}function Il(w,T,Z){return w.a==0&&(w.a=T,w.sc=Z,w.cb=0),0}function i1(w,T,Z){return 3<=Z&&w[T+0]==157&&w[T+1]==1&&w[T+2]==42}function o0(w,T){if(w==null)return 0;if(w.a=0,w.sc="OK",T==null)return Il(w,2,"null VP8Io passed to VP8GetHeaders()");var Z=T.data,ue=T.w,Le=T.ha;if(4>Le)return Il(w,7,"Truncated header.");var Ne=Z[ue+0]|Z[ue+1]<<8|Z[ue+2]<<16,Me=w.Od;if(Me.Rb=!(1&Ne),Me.td=Ne>>1&7,Me.yd=Ne>>4&1,Me.ub=Ne>>5,3Le)return Il(w,7,"cannot parse picture header");if(!i1(Z,ue,Le))return Il(w,3,"Bad code word");Ye.c=16383&(Z[ue+4]<<8|Z[ue+3]),Ye.Td=Z[ue+4]>>6,Ye.i=16383&(Z[ue+6]<<8|Z[ue+5]),Ye.Ud=Z[ue+6]>>6,ue+=7,Le-=7,w.za=Ye.c+15>>4,w.Ub=Ye.i+15>>4,T.width=Ye.c,T.height=Ye.i,T.Da=0,T.j=0,T.v=0,T.va=T.width,T.o=T.height,T.da=0,T.ib=T.width,T.hb=T.height,T.U=T.width,T.T=T.height,d((Ne=w.Pa).jb,0,255,Ne.jb.length),a((Ne=w.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,d(Ne.Zb,0,0,Ne.Zb.length),d(Ne.Lb,0,0,Ne.Lb)}if(Me.ub>Le)return Il(w,7,"bad partition length");Gr(Ne=w.m,Z,ue,Me.ub),ue+=Me.ub,Le-=Me.ub,Me.Rb&&(Ye.Ld=Xr(Ne),Ye.Kd=Xr(Ne)),Ye=w.Qa;var it,bt=w.Pa;if(a(Ne!=null),a(Ye!=null),Ye.Cb=Xr(Ne),Ye.Cb){if(Ye.Bb=Xr(Ne),Xr(Ne)){for(Ye.Fb=Xr(Ne),it=0;4>it;++it)Ye.Zb[it]=Xr(Ne)?Ur(Ne,7):0;for(it=0;4>it;++it)Ye.Lb[it]=Xr(Ne)?Ur(Ne,6):0}if(Ye.Bb)for(it=0;3>it;++it)bt.jb[it]=Xr(Ne)?$r(Ne,8):255}else Ye.Bb=0;if(Ne.Ka)return Il(w,3,"cannot parse segment header");if((Ye=w.ed).zd=Xr(Ne),Ye.Tb=$r(Ne,6),Ye.wb=$r(Ne,3),Ye.Pc=Xr(Ne),Ye.Pc&&Xr(Ne)){for(bt=0;4>bt;++bt)Xr(Ne)&&(Ye.vd[bt]=Ur(Ne,6));for(bt=0;4>bt;++bt)Xr(Ne)&&(Ye.od[bt]=Ur(Ne,6))}if(w.L=Ye.Tb==0?0:Ye.zd?1:2,Ne.Ka)return Il(w,3,"cannot parse filter header");var sr=Le;if(Le=it=ue,ue=it+sr,Ye=sr,w.Xb=(1<<$r(w.m,2))-1,sr<3*(bt=w.Xb))Z=7;else{for(it+=3*bt,Ye-=3*bt,sr=0;srYe&&(Pr=Ye),Gr(w.Jc[+sr],Z,it,Pr),it+=Pr,Ye-=Pr,Le+=3}Gr(w.Jc[+bt],Z,it,Ye),Z=itPr;++Pr){if(sr.Cb){var _t=sr.Zb[Pr];sr.Fb||(_t+=Z)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[a0(_t+bt,117)],hr.Qc[1]=rg[a0(_t+it,127)],hr.lc=_t+it}if(!Me.Rb)return Il(w,4,"Not a key frame.");for(Xr(Ne),Me=w.Pa,Z=0;4>Z;++Z){for(Le=0;8>Le;++Le)for(ue=0;3>ue;++ue)for(Ye=0;11>Ye;++Ye)bt=dn(Ne,fm[Z][Le][ue][Ye])?$r(Ne,8):cm[Z][Le][ue][Ye],Me.Wc[Z][Le].Yb[ue][Ye]=bt;for(Le=0;17>Le;++Le)Me.Xc[Z][Le]=Me.Wc[Z][dm[Le]]}return w.kc=Xr(Ne),w.kc&&(w.Bd=$r(Ne,8)),w.cb=1}function zd(w,T,Z,ue,Le,Ne,Me){var Ye=T[Le].Yb[Z];for(Z=0;16>Le;++Le){if(!dn(w,Ye[Z+0]))return Le;for(;!dn(w,Ye[Z+1]);)if(Ye=T[++Le].Yb[0],Z=0,Le==16)return 16;var it=T[Le+1].Yb;if(dn(w,Ye[Z+2])){var bt=w,sr=0;if(dn(bt,(_t=Ye)[(Pr=Z)+3]))if(dn(bt,_t[Pr+6])){for(Ye=0,Pr=2*(sr=dn(bt,_t[Pr+8]))+(_t=dn(bt,_t[Pr+9+sr])),sr=0,_t=Am[Pr];_t[Ye];++Ye)sr+=sr+dn(bt,_t[Ye]);sr+=3+(8<(bt=w).b&&Wr(bt);var Pr,_t=bt.b,hr=(Pr=bt.Ca>>1)-(bt.I>>_t)>>31;--bt.b,bt.Ca+=hr,bt.Ca|=1,bt.I-=(Pr+1&hr)<<_t,Ne[it]=((sr^hr)-hr)*ue[(0>3),w[T+Z+32*ue]=-256&Le?0>Le?0:255:Le}function zl(w,T,Z,ue,Le,Ne){sc(w,T,0,Z,ue+Le),sc(w,T,1,Z,ue+Ne),sc(w,T,2,Z,ue-Ne),sc(w,T,3,Z,ue-Le)}function z0(w){return(20091*w>>16)+w}function a1(w,T,Z,ue){var Le,Ne=0,Me=m(16);for(Le=0;4>Le;++Le){var Ye=w[T+0]+w[T+8],it=w[T+0]-w[T+8],bt=(35468*w[T+4]>>16)-z0(w[T+12]),sr=z0(w[T+4])+(35468*w[T+12]>>16);Me[Ne+0]=Ye+sr,Me[Ne+1]=it+bt,Me[Ne+2]=it-bt,Me[Ne+3]=Ye-sr,Ne+=4,T++}for(Le=Ne=0;4>Le;++Le)Ye=(w=Me[Ne+0]+4)+Me[Ne+8],it=w-Me[Ne+8],bt=(35468*Me[Ne+4]>>16)-z0(Me[Ne+12]),sc(Z,ue,0,0,Ye+(sr=z0(Me[Ne+4])+(35468*Me[Ne+12]>>16))),sc(Z,ue,1,0,it+bt),sc(Z,ue,2,0,it-bt),sc(Z,ue,3,0,Ye-sr),Ne++,ue+=32}function P1(w,T,Z,ue){var Le=w[T+0]+4,Ne=35468*w[T+4]>>16,Me=z0(w[T+4]),Ye=35468*w[T+1]>>16;zl(Z,ue,0,Le+Me,w=z0(w[T+1]),Ye),zl(Z,ue,1,Le+Ne,w,Ye),zl(Z,ue,2,Le-Ne,w,Ye),zl(Z,ue,3,Le-Me,w,Ye)}function O1(w,T,Z,ue,Le){a1(w,T,Z,ue),Le&&a1(w,T+16,Z,ue+4)}function l0(w,T,Z,ue){od(w,T+0,Z,ue,1),od(w,T+32,Z,ue+128,1)}function o1(w,T,Z,ue){var Le;for(w=w[T+0]+4,Le=0;4>Le;++Le)for(T=0;4>T;++T)sc(Z,ue,T,Le,w)}function l1(w,T,Z,ue){w[T+0]&&Ya(w,T+0,Z,ue),w[T+16]&&Ya(w,T+16,Z,ue+4),w[T+32]&&Ya(w,T+32,Z,ue+128),w[T+48]&&Ya(w,T+48,Z,ue+128+4)}function Gd(w,T,Z,ue){var Le,Ne=m(16);for(Le=0;4>Le;++Le){var Me=w[T+0+Le]+w[T+12+Le],Ye=w[T+4+Le]+w[T+8+Le],it=w[T+4+Le]-w[T+8+Le],bt=w[T+0+Le]-w[T+12+Le];Ne[0+Le]=Me+Ye,Ne[8+Le]=Me-Ye,Ne[4+Le]=bt+it,Ne[12+Le]=bt-it}for(Le=0;4>Le;++Le)Me=(w=Ne[0+4*Le]+3)+Ne[3+4*Le],Ye=Ne[1+4*Le]+Ne[2+4*Le],it=Ne[1+4*Le]-Ne[2+4*Le],bt=w-Ne[3+4*Le],Z[ue+0]=Me+Ye>>3,Z[ue+16]=bt+it>>3,Z[ue+32]=Me-Ye>>3,Z[ue+48]=bt-it>>3,ue+=64}function Zf(w,T,Z){var ue,Le=T-32,Ne=Ru,Me=255-w[Le-1];for(ue=0;ueZ;++Z)u(w,T+32*Z,w,T-32,16)}function A1(w,T){var Z;for(Z=16;0ue;++ue)d(T,Z+32*ue,w,16)}function j1(w,T){var Z,ue=16;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z]+w[T+Z-32];Rc(ue>>5,w,T)}function Yf(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T-1+32*Z];Rc(ue>>4,w,T)}function xp(w,T){var Z,ue=8;for(Z=0;16>Z;++Z)ue+=w[T+Z-32];Rc(ue>>4,w,T)}function H1(w,T){Rc(128,w,T)}function Ss(w,T,Z){return w+2*T+Z+2>>2}function K1(w,T){var Z,ue=T-32;for(ue=new Uint8Array([Ss(w[ue-1],w[ue+0],w[ue+1]),Ss(w[ue+0],w[ue+1],w[ue+2]),Ss(w[ue+1],w[ue+2],w[ue+3]),Ss(w[ue+2],w[ue+3],w[ue+4])]),Z=0;4>Z;++Z)u(w,T+32*Z,ue,0,ue.length)}function z1(w,T){var Z=w[T-1],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];In(w,T+0,16843009*Ss(w[T-1-32],Z,ue)),In(w,T+32,16843009*Ss(Z,ue,Le)),In(w,T+64,16843009*Ss(ue,Le,Ne)),In(w,T+96,16843009*Ss(Le,Ne,Ne))}function G1(w,T){var Z,ue=4;for(Z=0;4>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];for(ue>>=3,Z=0;4>Z;++Z)d(w,T+32*Z,ue,4)}function G0(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Ye=w[T+1-32],it=w[T+2-32],bt=w[T+3-32];w[T+0+96]=Ss(ue,Le,w[T-1+96]),w[T+1+96]=w[T+0+64]=Ss(Z,ue,Le),w[T+2+96]=w[T+1+64]=w[T+0+32]=Ss(Ne,Z,ue),w[T+3+96]=w[T+2+64]=w[T+1+32]=w[T+0+0]=Ss(Me,Ne,Z),w[T+3+64]=w[T+2+32]=w[T+1+0]=Ss(Ye,Me,Ne),w[T+3+32]=w[T+2+0]=Ss(it,Ye,Me),w[T+3+0]=Ss(bt,it,Ye)}function V0(w,T){var Z=w[T+1-32],ue=w[T+2-32],Le=w[T+3-32],Ne=w[T+4-32],Me=w[T+5-32],Ye=w[T+6-32],it=w[T+7-32];w[T+0+0]=Ss(w[T+0-32],Z,ue),w[T+1+0]=w[T+0+32]=Ss(Z,ue,Le),w[T+2+0]=w[T+1+32]=w[T+0+64]=Ss(ue,Le,Ne),w[T+3+0]=w[T+2+32]=w[T+1+64]=w[T+0+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+64]=w[T+1+96]=Ss(Ne,Me,Ye),w[T+3+64]=w[T+2+96]=Ss(Me,Ye,it),w[T+3+96]=Ss(Ye,it,it)}function V1(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1-32],Me=w[T+0-32],Ye=w[T+1-32],it=w[T+2-32],bt=w[T+3-32];w[T+0+0]=w[T+1+64]=Ne+Me+1>>1,w[T+1+0]=w[T+2+64]=Me+Ye+1>>1,w[T+2+0]=w[T+3+64]=Ye+it+1>>1,w[T+3+0]=it+bt+1>>1,w[T+0+96]=Ss(Le,ue,Z),w[T+0+64]=Ss(ue,Z,Ne),w[T+0+32]=w[T+1+96]=Ss(Z,Ne,Me),w[T+1+32]=w[T+2+96]=Ss(Ne,Me,Ye),w[T+2+32]=w[T+3+96]=Ss(Me,Ye,it),w[T+3+32]=Ss(Ye,it,bt)}function W1(w,T){var Z=w[T+0-32],ue=w[T+1-32],Le=w[T+2-32],Ne=w[T+3-32],Me=w[T+4-32],Ye=w[T+5-32],it=w[T+6-32],bt=w[T+7-32];w[T+0+0]=Z+ue+1>>1,w[T+1+0]=w[T+0+64]=ue+Le+1>>1,w[T+2+0]=w[T+1+64]=Le+Ne+1>>1,w[T+3+0]=w[T+2+64]=Ne+Me+1>>1,w[T+0+32]=Ss(Z,ue,Le),w[T+1+32]=w[T+0+96]=Ss(ue,Le,Ne),w[T+2+32]=w[T+1+96]=Ss(Le,Ne,Me),w[T+3+32]=w[T+2+96]=Ss(Ne,Me,Ye),w[T+3+64]=Ss(Me,Ye,it),w[T+3+96]=Ss(Ye,it,bt)}function Vd(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96];w[T+0+0]=Z+ue+1>>1,w[T+2+0]=w[T+0+32]=ue+Le+1>>1,w[T+2+32]=w[T+0+64]=Le+Ne+1>>1,w[T+1+0]=Ss(Z,ue,Le),w[T+3+0]=w[T+1+32]=Ss(ue,Le,Ne),w[T+3+32]=w[T+1+64]=Ss(Le,Ne,Ne),w[T+3+64]=w[T+2+64]=w[T+0+96]=w[T+1+96]=w[T+2+96]=w[T+3+96]=Ne}function Cp(w,T){var Z=w[T-1+0],ue=w[T-1+32],Le=w[T-1+64],Ne=w[T-1+96],Me=w[T-1-32],Ye=w[T+0-32],it=w[T+1-32],bt=w[T+2-32];w[T+0+0]=w[T+2+32]=Z+Me+1>>1,w[T+0+32]=w[T+2+64]=ue+Z+1>>1,w[T+0+64]=w[T+2+96]=Le+ue+1>>1,w[T+0+96]=Ne+Le+1>>1,w[T+3+0]=Ss(Ye,it,bt),w[T+2+0]=Ss(Me,Ye,it),w[T+1+0]=w[T+3+32]=Ss(Z,Me,Ye),w[T+1+32]=w[T+3+64]=Ss(ue,Z,Me),w[T+1+64]=w[T+3+96]=Ss(Le,ue,Z),w[T+1+96]=Ss(Ne,Le,ue)}function Xf(w,T){var Z;for(Z=0;8>Z;++Z)u(w,T+32*Z,w,T-32,8)}function $1(w,T){var Z;for(Z=0;8>Z;++Z)d(w,T,w[T-1],8),T+=32}function W0(w,T,Z){var ue;for(ue=0;8>ue;++ue)d(T,Z+32*ue,w,8)}function Z1(w,T){var Z,ue=8;for(Z=0;8>Z;++Z)ue+=w[T+Z-32]+w[T-1+32*Z];W0(ue>>4,w,T)}function Sp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T+Z-32];W0(ue>>3,w,T)}function Tp(w,T){var Z,ue=4;for(Z=0;8>Z;++Z)ue+=w[T-1+32*Z];W0(ue>>3,w,T)}function u1(w,T){W0(128,w,T)}function $0(w,T,Z){var ue=w[T-Z],Le=w[T+0],Ne=3*(Le-ue)+Y1[1020+w[T-2*Z]-w[T+Z]],Me=v1[112+(Ne+4>>3)];w[T-Z]=Ru[255+ue+v1[112+(Ne+3>>3)]],w[T+0]=Ru[255+Le-Me]}function Ip(w,T,Z,ue){var Le=w[T+0],Ne=w[T+Z];return lc[255+w[T-2*Z]-w[T-Z]]>ue||lc[255+Ne-Le]>ue}function Wd(w,T,Z,ue){return 4*lc[255+w[T-Z]-w[T+0]]+lc[255+w[T-2*Z]-w[T+Z]]<=ue}function Lp(w,T,Z,ue,Le){var Ne=w[T-3*Z],Me=w[T-2*Z],Ye=w[T-Z],it=w[T+0],bt=w[T+Z],sr=w[T+2*Z],Pr=w[T+3*Z];return 4*lc[255+Ye-it]+lc[255+Me-bt]>ue?0:lc[255+w[T-4*Z]-Ne]<=Le&&lc[255+Ne-Me]<=Le&&lc[255+Me-Ye]<=Le&&lc[255+Pr-sr]<=Le&&lc[255+sr-bt]<=Le&&lc[255+bt-it]<=Le}function qf(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue,Z,Le)&&$0(w,T+ue,Z)}function Dp(w,T,Z,ue){var Le=2*ue+1;for(ue=0;16>ue;++ue)Wd(w,T+ue*Z,1,Le)&&$0(w,T+ue*Z,1)}function c1(w,T,Z,ue){var Le;for(Le=3;0>7,An=18*hn+63>>7,hn=9*hn+63>>7;it[bt-3*sr]=Ru[255+it[bt-3*sr]+hn],it[bt-2*sr]=Ru[255+Pr+An],it[bt-sr]=Ru[255+_t+kr],it[bt+0]=Ru[255+hr-kr],it[bt+sr]=Ru[255+Ir-An],it[bt+2*sr]=Ru[255+an-hn]}T+=ue}}function Y0(w,T,Z,ue,Le,Ne,Me,Ye){for(Ne=2*Ne+1;0>3)],an=v1[112+(an+3>>3)],kr=Ir+1>>1;it[bt-2*sr]=Ru[255+it[bt-2*sr]+kr],it[bt-sr]=Ru[255+Pr+an],it[bt+0]=Ru[255+_t-Ir],it[bt+sr]=Ru[255+hr-kr]}T+=ue}}function f1(w,T,Z,ue,Le,Ne){Z0(w,T,Z,1,16,ue,Le,Ne)}function Jf(w,T,Z,ue,Le,Ne){Z0(w,T,1,Z,16,ue,Le,Ne)}function d1(w,T,Z,ue,Le,Ne){var Me;for(Me=3;0bt?0:255:bt)&255,bt=it,Le[Ne+Ye]=sr}}function xo(w,T,Z,ue){var Le=T.width,Ne=T.o;if(a(w!=null&&T!=null),0>Z||0>=ue||Z+ue>Ne)return null;if(!w.Cc){if(w.ga==null){var Me;if(w.ga=new Ms,(Me=w.ga==null)||(Me=T.width*T.o,a(w.Gb.length==0),w.Gb=m(Me),w.Uc=0,w.Gb==null?Me=0:(w.mb=w.Gb,w.nb=w.Uc,w.rc=null,Me=1),Me=!Me),!Me){Me=w.ga;var Ye=w.Fa,it=w.P,bt=w.qc,sr=w.mb,Pr=w.nb,_t=it+1,hr=bt-1,Ir=Me.l;if(a(Ye!=null&&sr!=null&&T!=null),Jh[0]=null,Jh[1]=Ia,Jh[2]=Jo,Jh[3]=Ll,Me.ca=sr,Me.tb=Pr,Me.c=T.width,Me.i=T.height,a(0=bt)T=0;else if(Me.$a=3&Ye[it+0],Me.Z=Ye[it+0]>>2&3,Me.Lc=Ye[it+0]>>4&3,it=Ye[it+0]>>6&3,0>Me.$a||1=Me.c*Me.i;Me=!T}if(Me)return null;w.ga.Lc!=1?w.Ga=0:ue=Ne-Z}a(w.ga!=null),a(Z+ue<=Ne);e:{if(T=(Ye=w.ga).c,Ne=Ye.l.o,Ye.$a==0){if(_t=w.rc,hr=w.Vc,Ir=w.Fa,it=w.P+1+Z*T,bt=w.mb,sr=w.nb+Z*T,a(it<=w.P+w.qc),Ye.Z!=0)for(a(Jh[Ye.Z]!=null),Me=0;Me=T)T=1;else if(Ye.ic||kc(),Ye.ic){Ye=Me.V,_t=Me.Ba,hr=Me.c;var an=Me.i,kr=(Ir=1,it=Me.$/hr,bt=Me.$%hr,sr=Me.m,Pr=Me.s,Me.$),An=hr*an,hn=hr*T,Sn=Pr.wc,_n=kr(an=ol(_n.G[0],_n.H[0],sr)))Ye[_t+kr]=an,++kr,++bt>=hr&&(bt=0,++it<=T&&!(it%16)&&Dc(Me,it));else{if(!(280>an)){Ir=0;break t}an=tc(an-256,sr);var Di,fi=ol(_n.G[4],_n.H[4],sr);if(Dr(sr),!(kr>=(fi=rc(hr,fi=tc(fi,sr)))&&An-kr>=an)){Ir=0;break t}for(Di=0;Di=hr;)bt-=hr,++it<=T&&!(it%16)&&Dc(Me,it);krT?T:it);break t}!Ir||sr.h&&kr=Ne&&(w.Cc=1),ue=1}if(!ue)return null;if(w.Cc&&((ue=w.ga)!=null&&(ue.mc=null),w.ga=null,0>23,Ye[it+4*Me+1]=Ye[it+4*Me+1]*Pr>>23,Ye[it+4*Me+2]=Ye[it+4*Me+2]*Pr>>23)}T+=Ne}}function Dl(w,T,Z,ue,Le){for(;0>4)*it>>16;w[T+2*Ne+0]=(240&Me|Me>>4)*it>>16&240|(15&Me|Me<<4)*it>>16>>4&15,w[T+2*Ne+1]=240&bt|Ye}T+=Le}}function gA(w,T,Z,ue,Le,Ne,Me,Ye){var it,bt,sr=255;for(bt=0;bt>8}function kc(){Kp=Gl,wg=Dl,bg=gA,_g=X0}function q0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Ye,it,bt,sr,Pr,_t,hr,Ir,an,kr,An,hn,Sn){var _n,Di=Sn-1>>1,fi=Ye[it+0]|bt[sr+0]<<16,Ks=Pr[_t+0]|hr[Ir+0]<<16;a(ue!=null);var Ei=3*fi+Ks+131074>>2;for(T(ue[Le+0],255&Ei,Ei>>16,an,kr),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+0],255&Ei,Ei>>16,An,hn)),_n=1;_n<=Di;++_n){var pa=Ye[it+_n]|bt[sr+_n]<<16,Wl=Pr[_t+_n]|hr[Ir+_n]<<16,zs=fi+pa+Ks+Wl+524296,Bi=zs+2*(pa+Ks)>>3;Ei=Bi+fi>>1,fi=(zs=zs+2*(fi+Wl)>>3)+pa>>1,T(ue[Le+2*_n-1],255&Ei,Ei>>16,an,kr+(2*_n-1)*Z),T(ue[Le+2*_n-0],255&fi,fi>>16,an,kr+(2*_n-0)*Z),Ne!=null&&(Ei=zs+Ks>>1,fi=Bi+Wl>>1,T(Ne[Me+2*_n-1],255&Ei,Ei>>16,An,hn+(2*_n-1)*Z),T(Ne[Me+2*_n+0],255&fi,fi>>16,An,hn+(2*_n+0)*Z)),fi=pa,Ks=Wl}1&Sn||(Ei=3*fi+Ks+131074>>2,T(ue[Le+Sn-1],255&Ei,Ei>>16,an,kr+(Sn-1)*Z),Ne!=null&&(Ei=3*Ks+fi+131074>>2,T(Ne[Me+Sn-1],255&Ei,Ei>>16,An,hn+(Sn-1)*Z)))}}function Fp(){Ac[y1]=gm,Ac[w1]=Rg,Ac[Tg]=mm,Ac[b1]=kg,Ac[_1]=Ug,Ac[X1]=Pg,Ac[Ig]=vm,Ac[q1]=Rg,Ac[J1]=kg,Ac[E1]=Ug,Ac[eg]=Pg}function $d(w){return w&~ym?0>w?0:255:w>>Og}function Kh(w,T){return $d((19077*w>>8)+(26149*T>>8)-14234)}function ed(w,T,Z){return $d((19077*w>>8)-(6419*T>>8)-(13320*Z>>8)+8708)}function td(w,T){return $d((19077*w>>8)+(33050*T>>8)-17685)}function zh(w,T,Z,ue,Le){ue[Le+0]=Kh(w,Z),ue[Le+1]=ed(w,T,Z),ue[Le+2]=td(w,T)}function mA(w,T,Z,ue,Le){ue[Le+0]=td(w,T),ue[Le+1]=ed(w,T,Z),ue[Le+2]=Kh(w,Z)}function rd(w,T,Z,ue,Le){var Ne=ed(w,T,Z);T=Ne<<3&224|td(w,T)>>3,ue[Le+0]=248&Kh(w,Z)|Ne>>5,ue[Le+1]=T}function nd(w,T,Z,ue,Le){var Ne=240&td(w,T)|15;ue[Le+0]=240&Kh(w,Z)|ed(w,T,Z)>>4,ue[Le+1]=Ne}function Rp(w,T,Z,ue,Le){ue[Le+0]=255,zh(w,T,Z,ue,Le+1)}function kp(w,T,Z,ue,Le){mA(w,T,Z,ue,Le),ue[Le+3]=255}function GA(w,T,Z,ue,Le){zh(w,T,Z,ue,Le),ue[Le+3]=255}function J0(w,T,Z){Rt[w]=function(ue,Le,Ne,Me,Ye,it,bt,sr,Pr){for(var _t=sr+(-2&Pr)*Z;sr!=_t;)T(ue[Le+0],Ne[Me+0],Ye[it+0],bt,sr),T(ue[Le+1],Ne[Me+0],Ye[it+0],bt,sr+Z),Le+=2,++Me,++it,sr+=2*Z;1&Pr&&T(ue[Le+0],Ne[Me+0],Ye[it+0],bt,sr)}}function Zd(w,T,Z){return Z==0?w==0?T==0?6:5:T==0?4:0:Z}function p1(w,T,Z,ue,Le){switch(w>>>30){case 3:od(T,Z,ue,Le,0);break;case 2:oc(T,Z,ue,Le);break;case 1:Ya(T,Z,ue,Le)}}function ac(w,T){var Z,ue,Le=T.M,Ne=T.Nb,Me=w.oc,Ye=w.pc+40,it=w.oc,bt=w.pc+584,sr=w.oc,Pr=w.pc+600;for(Z=0;16>Z;++Z)Me[Ye+32*Z-1]=129;for(Z=0;8>Z;++Z)it[bt+32*Z-1]=129,sr[Pr+32*Z-1]=129;for(0Z;++Z)u(Me,Ye+32*Z-4,Me,Ye+32*Z+12,4);for(Z=-1;8>Z;++Z)u(it,bt+32*Z-4,it,bt+32*Z+4,4),u(sr,Pr+32*Z-4,sr,Pr+32*Z+4,4)}var hr=w.Gd,Ir=w.Hd+ue,an=_t.ad,kr=_t.Hc;if(0=w.za-1?d(An,hn,hr[Ir].y[15],4):u(An,hn,hr[Ir+1].y,0,4)),Z=0;4>Z;Z++)An[hn+128+Z]=An[hn+256+Z]=An[hn+384+Z]=An[hn+0+Z];for(Z=0;16>Z;++Z,kr<<=2)An=Me,hn=Ye+Mg[Z],Uc[_t.Ob[Z]](An,hn),p1(kr,an,16*+Z,An,hn)}else if(An=Zd(ue,Le,_t.Ob[0]),qh[An](Me,Ye),kr!=0)for(Z=0;16>Z;++Z,kr<<=2)p1(kr,an,16*+Z,Me,Ye+Mg[Z]);for(Z=_t.Gc,An=Zd(ue,Le,_t.Dd),rh[An](it,bt),rh[An](sr,Pr),kr=an,An=it,hn=bt,255&(_t=0|Z)&&(170&_t?c0(kr,256,An,hn):go(kr,256,An,hn)),_t=sr,kr=Pr,255&(Z>>=8)&&(170&Z?c0(an,320,_t,kr):go(an,320,_t,kr)),LeZ;++Z)u(hr,Ir+Z*w.R,Me,Ye+32*Z,16);for(Z=0;8>Z;++Z)u(an,_t+Z*w.B,it,bt+32*Z,8),u(kr,An+Z*w.B,sr,Pr+32*Z,8)}}function id(w,T,Z,ue,Le,Ne,Me,Ye,it){var bt=[0],sr=[0],Pr=0,_t=it!=null?it.kd:0,hr=it!=null?it:new bn;if(w==null||12>Z)return 7;hr.data=w,hr.w=T,hr.ha=Z,T=[T],Z=[Z],hr.gb=[hr.gb];e:{var Ir=T,an=Z,kr=hr.gb;if(a(w!=null),a(an!=null),a(kr!=null),kr[0]=0,12<=an[0]&&!s(w,Ir[0],"RIFF")){if(s(w,Ir[0]+8,"WEBP")){kr=3;break e}var An=Ni(w,Ir[0]+4);if(12>An||4294967286an[0]-8){kr=7;break e}kr[0]=An,Ir[0]+=12,an[0]-=12}kr=0}if(kr!=0)return kr;for(An=0kr[0])kr=7;else{if(!s(hn,an[0],"VP8X")){if(Ni(hn,an[0]+4)!=10){kr=3;break e}if(18>kr[0]){kr=7;break e}var fi=Ni(hn,an[0]+8),Ks=1+Yn(hn,an[0]+12);if(2147483648<=Ks*(hn=1+Yn(hn,an[0]+15))){kr=3;break e}Di!=null&&(Di[0]=fi),Sn!=null&&(Sn[0]=Ks),_n!=null&&(_n[0]=hn),an[0]+=18,kr[0]-=18,Ei[0]=1}kr=0}}if(Pr=Pr[0],Ir=Ir[0],kr!=0)return kr;if(an=!!(2&Ir),!An&&Pr)return 3;if(Ne!=null&&(Ne[0]=!!(16&Ir)),Me!=null&&(Me[0]=an),Ye!=null&&(Ye[0]=0),Me=bt[0],Ir=sr[0],Pr&&an&&it==null){kr=0;break}if(4>Z){kr=7;break}if(An&&Pr||!An&&!Pr&&!s(w,T[0],"ALPH")){Z=[Z],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{fi=w,kr=T,An=Z;var Ei=hr.gb;Sn=hr.na,_n=hr.P,Di=hr.Sa,Ks=22,a(fi!=null),a(An!=null),hn=kr[0];var pa=An[0];for(a(Sn!=null),a(Di!=null),Sn[0]=null,_n[0]=null,Di[0]=0;;){if(kr[0]=hn,An[0]=pa,8>pa){kr=7;break e}var Wl=Ni(fi,hn+4);if(4294967286Ei){kr=3;break e}if(!s(fi,hn,"VP8 ")||!s(fi,hn,"VP8L")){kr=0;break e}if(pa[0]An[0])kr=7;else{if(hn||Ks){if(Ei=Ni(Ei,fi+4),12<=Sn&&Ei>Sn-12){kr=3;break e}if(_t&&Ei>An[0]-8){kr=7;break e}_n[0]=Ei,kr[0]+=8,An[0]-=8,Di[0]=Ks}else Di[0]=5<=An[0]&&Ei[fi+0]==47&&!(Ei[fi+4]>>5),_n[0]=An[0];kr=0}if(Z=Z[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],T=T[0],kr!=0)break;if(4294967286Z){kr=7;break}Ye=Me,_t=Ir,an=Ne,w==null||5>Z?w=0:5<=Z&&w[T+0]==47&&!(w[T+4]>>5)?(An=[0],Ei=[0],Sn=[0],qr(_n=new Tt,w,T,Z),K0(_n,An,Ei,Sn)?(Ye!=null&&(Ye[0]=An[0]),_t!=null&&(_t[0]=Ei[0]),an!=null&&(an[0]=Sn[0]),w=1):w=0):w=0}else{if(10>Z){kr=7;break}Ye=Ir,w==null||10>Z||!i1(w,T+3,Z-3)?w=0:(_t=w[T+0]|w[T+1]<<8|w[T+2]<<16,an=16383&(w[T+7]<<8|w[T+6]),w=16383&(w[T+9]<<8|w[T+8]),1&_t||3<(_t>>1&7)||!(_t>>4&1)||_t>>5>=hr.Ja||!an||!w?w=0:(Me&&(Me[0]=an),Ye&&(Ye[0]=w),w=1))}if(!w||(Me=Me[0],Ir=Ir[0],Pr&&(bt[0]!=Me||sr[0]!=Ir)))return 3;it!=null&&(it[0]=hr,it.offset=T-it.w,a(4294967286>T-it.w),a(it.offset==it.ha-Z));break}return kr==0||kr==7&&Pr&&it==null?(Ne!=null&&(Ne[0]|=hr.na!=null&&0Z||(Ne&=-2,Me&=-2),0>Ne||0>Me||0>=Ye||0>=it||Ne+Ye>ue||Me+it>Le))return 0;if(T.v=Ne,T.j=Me,T.va=Ne+Ye,T.o=Me+it,T.U=Ye,T.T=it,T.da=w!=null&&0w.S){var T=w.f.RGBA;T.fb+=(w.height-1)*T.A,T.A=-T.A}else T=w.f.kb,w=w.height,T.O+=(w-1)*T.fa,T.fa=-T.fa,T.N+=(w-1>>1)*T.Ab,T.Ab=-T.Ab,T.W+=(w-1>>1)*T.Db,T.Db=-T.Db,T.F!=null&&(T.J+=(w-1)*T.lb,T.lb=-T.lb);return 0}function Gh(w,T,Z,ue){if(ue==null||0>=w||0>=T)return 2;if(Z!=null){if(Z.Da){var Le=Z.cd,Ne=Z.bd,Me=-2&Z.v,Ye=-2&Z.j;if(0>Me||0>Ye||0>=Le||0>=Ne||Me+Le>w||Ye+Ne>T)return 2;w=Le,T=Ne}if(Z.da){if(!ts(w,T,Le=[Z.ib],Ne=[Z.hb]))return 2;w=Le[0],T=Ne[0]}}ue.width=w,ue.height=T;e:{var it=ue.width,bt=ue.height;if(w=ue.S,0>=it||0>=bt||!(w>=y1&&13>w))w=2;else{if(0>=ue.Rd&&ue.sd==null){Me=Ne=Le=T=0;var sr=(Ye=it*Qg[w])*bt;if(11>w||(Ne=(bt+1)/2*(T=(it+1)/2),w==12&&(Me=(Le=it)*bt)),(bt=m(sr+2*Ne+Me))==null){w=1;break e}ue.sd=bt,11>w?((it=ue.f.RGBA).eb=bt,it.fb=0,it.A=Ye,it.size=sr):((it=ue.f.kb).y=bt,it.O=0,it.fa=Ye,it.Fd=sr,it.f=bt,it.N=0+sr,it.Ab=T,it.Cd=Ne,it.ea=bt,it.W=0+sr+Ne,it.Db=T,it.Ed=Ne,w==12&&(it.F=bt,it.J=0+sr+2*Ne),it.Tc=Me,it.lb=Le)}if(T=1,Le=ue.S,Ne=ue.width,Me=ue.height,Le>=y1&&13>Le)if(11>Le)w=ue.f.RGBA,T&=(Ye=Math.abs(w.A))*(Me-1)+Ne<=w.size,T&=Ye>=Ne*Qg[Le],T&=w.eb!=null;else{w=ue.f.kb,Ye=(Ne+1)/2,sr=(Me+1)/2,it=Math.abs(w.fa),bt=Math.abs(w.Ab);var Pr=Math.abs(w.Db),_t=Math.abs(w.lb),hr=_t*(Me-1)+Ne;T&=it*(Me-1)+Ne<=w.Fd,T&=bt*(sr-1)+Ye<=w.Cd,T=(T&=Pr*(sr-1)+Ye<=w.Ed)&it>=Ne&bt>=Ye&Pr>=Ye,T&=w.y!=null,T&=w.f!=null,T&=w.ea!=null,Le==12&&(T&=_t>=Ne,T&=hr<=w.Tc,T&=w.F!=null)}else T=0;w=T?0:2}}return w!=0||Z!=null&&Z.fd&&(w=Pp(ue)),w}var sd=64,Du=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Fu=24,Vh=32,eh=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];mi("Predictor0","PredictorAdd0"),Rt.Predictor0=function(){return 4278190080},Rt.Predictor1=function(w){return w},Rt.Predictor2=function(w,T,Z){return T[Z+0]},Rt.Predictor3=function(w,T,Z){return T[Z+1]},Rt.Predictor4=function(w,T,Z){return T[Z-1]},Rt.Predictor5=function(w,T,Z){return Hi(Hi(w,T[Z+1]),T[Z+0])},Rt.Predictor6=function(w,T,Z){return Hi(w,T[Z-1])},Rt.Predictor7=function(w,T,Z){return Hi(w,T[Z+0])},Rt.Predictor8=function(w,T,Z){return Hi(T[Z-1],T[Z+0])},Rt.Predictor9=function(w,T,Z){return Hi(T[Z+0],T[Z+1])},Rt.Predictor10=function(w,T,Z){return Hi(Hi(w,T[Z-1]),Hi(T[Z+0],T[Z+1]))},Rt.Predictor11=function(w,T,Z){var ue=T[Z+0];return 0>=Ds(ue>>24&255,w>>24&255,(T=T[Z-1])>>24&255)+Ds(ue>>16&255,w>>16&255,T>>16&255)+Ds(ue>>8&255,w>>8&255,T>>8&255)+Ds(255&ue,255&w,255&T)?ue:w},Rt.Predictor12=function(w,T,Z){var ue=T[Z+0];return($a((w>>24&255)+(ue>>24&255)-((T=T[Z-1])>>24&255))<<24|$a((w>>16&255)+(ue>>16&255)-(T>>16&255))<<16|$a((w>>8&255)+(ue>>8&255)-(T>>8&255))<<8|$a((255&w)+(255&ue)-(255&T)))>>>0},Rt.Predictor13=function(w,T,Z){var ue=T[Z-1];return(la((w=Hi(w,T[Z+0]))>>24&255,ue>>24&255)<<24|la(w>>16&255,ue>>16&255)<<16|la(w>>8&255,ue>>8&255)<<8|la(255&w,255&ue))>>>0};var Op=Rt.PredictorAdd0;Rt.PredictorAdd1=da,mi("Predictor2","PredictorAdd2"),mi("Predictor3","PredictorAdd3"),mi("Predictor4","PredictorAdd4"),mi("Predictor5","PredictorAdd5"),mi("Predictor6","PredictorAdd6"),mi("Predictor7","PredictorAdd7"),mi("Predictor8","PredictorAdd8"),mi("Predictor9","PredictorAdd9"),mi("Predictor10","PredictorAdd10"),mi("Predictor11","PredictorAdd11"),mi("Predictor12","PredictorAdd12"),mi("Predictor13","PredictorAdd13");var Yd=Rt.PredictorAdd2;Ri("ColorIndexInverseTransform","MapARGB","32b",function(w){return w>>8&255},function(w){return w}),Ri("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(w){return w},function(w){return w>>8&255});var hl,g1=Rt.ColorIndexInverseTransform,A0=Rt.MapARGB,u0=Rt.VP8LColorIndexInverseTransformAlpha,Np=Rt.MapAlpha,Mp=Rt.VP8LPredictorsAdd=[];Mp.length=16,(Rt.VP8LPredictors=[]).length=16,(Rt.VP8LPredictorsAdd_C=[]).length=16,(Rt.VP8LPredictors_C=[]).length=16;var Qp,jp,$h,Zh,Yh,ad,Xh,od,oc,c0,Ya,go,fl,Vl,th,Hp,Xd,m1,dg,pg,gg,mg,vg,yg,Kp,wg,bg,_g,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Y1=Bg,v1=xg,Ru=Cg,lc=Eg,y1=0,w1=1,Tg=2,b1=3,_1=4,X1=5,Ig=6,q1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Lg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],lm=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,Am=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Dg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],qh=[],Uc=[],rh=[],pm=1,Fg=2,Jh=[],Ac=[];q0("UpsampleRgbLinePair",zh,3),q0("UpsampleBgrLinePair",mA,3),q0("UpsampleRgbaLinePair",GA,4),q0("UpsampleBgraLinePair",kp,4),q0("UpsampleArgbLinePair",Rp,4),q0("UpsampleRgba4444LinePair",nd,2),q0("UpsampleRgb565LinePair",rd,2);var gm=Rt.UpsampleRgbLinePair,mm=Rt.UpsampleBgrLinePair,Rg=Rt.UpsampleRgbaLinePair,kg=Rt.UpsampleBgraLinePair,Ug=Rt.UpsampleArgbLinePair,Pg=Rt.UpsampleRgba4444LinePair,vm=Rt.UpsampleRgb565LinePair,B1=16,x1=1<ue.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ue.ca.f.kb.F!=null&&kc()),ue.Pb&&0(it=Z.Md)?0:100bt;++bt)12>(Pr=Le.pb[bt]).lc&&(Pr.ia=it*Cm[0>Pr.lc?0:Pr.lc]>>3),sr|=Pr.ia;sr&&(alert("todo:VP8InitRandom"),Le.ia=1)}Le.Ga=Z.Id,100Le.Ga&&(Le.Ga=0)}(function(_t,hr){if(_t==null)return 0;if(hr==null)return Il(_t,2,"NULL VP8Io parameter in VP8Decode().");if(!_t.cb&&!o0(_t,hr))return 0;if(a(_t.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(_t.L=0);var Ir=C1[_t.L];if(_t.L==2?(_t.yb=0,_t.zb=0):(_t.yb=hr.v-Ir>>4,_t.zb=hr.j-Ir>>4,0>_t.yb&&(_t.yb=0),0>_t.zb&&(_t.zb=0)),_t.Va=hr.o+15+Ir>>4,_t.Hb=hr.va+15+Ir>>4,_t.Hb>_t.za&&(_t.Hb=_t.za),_t.Va>_t.Ub&&(_t.Va=_t.Ub),0<_t.L){var an=_t.ed;for(Ir=0;4>Ir;++Ir){var kr;if(_t.Qa.Cb){var An=_t.Qa.Lb[Ir];_t.Qa.Fb||(An+=an.Tb)}else An=an.Tb;for(kr=0;1>=kr;++kr){var hn=_t.gd[Ir][kr],Sn=An;if(an.Pc&&(Sn+=an.vd[0],kr&&(Sn+=an.od[0])),0<(Sn=0>Sn?0:63>2:_n>>1)>9-an.wb&&(_n=9-an.wb),1>_n&&(_n=1),hn.dd=_n,hn.tc=2*Sn+_n,hn.ld=40<=Sn?2:15<=Sn?1:0}else hn.tc=0;hn.La=kr}}}Ir=0}else Il(_t,6,"Frame setup failed"),Ir=_t.a;if(Ir=Ir==0){if(Ir){_t.$c=0,0<_t.Aa||(_t.Ic=Sm);t:{Ir=_t.Ic,an=4*(_n=_t.za);var Di=32*_n,fi=_n+1,Ks=0<_t.L?_n*(0<_t.Aa?2:1):0,Ei=(_t.Aa==2?2:1)*_n;if((hn=an+832+(kr=3*(16*Ir+C1[_t.L])/2*Di)+(An=_t.Fa!=null&&0<_t.Fa.length?_t.Kc.c*_t.Kc.i:0))!=hn)Ir=0;else{if(hn>_t.Vb){if(_t.Vb=0,_t.Ec=m(hn),_t.Fc=0,_t.Ec==null){Ir=Il(_t,1,"no memory during frame initialization.");break t}_t.Vb=hn}hn=_t.Ec,Sn=_t.Fc,_t.Ac=hn,_t.Bc=Sn,Sn+=an,_t.Gd=O(Di,r1),_t.Hd=0,_t.rb=O(fi+1,_p),_t.sb=1,_t.wa=Ks?O(Ks,ic):null,_t.Y=0,_t.D.Nb=0,_t.D.wa=_t.wa,_t.D.Y=_t.Y,0<_t.Aa&&(_t.D.Y+=_n),a(!0),_t.oc=hn,_t.pc=Sn,Sn+=832,_t.ya=O(Ei,Ep),_t.aa=0,_t.D.ya=_t.ya,_t.D.aa=_t.aa,_t.Aa==2&&(_t.D.aa+=_n),_t.R=16*_n,_t.B=8*_n,_n=(Di=C1[_t.L])*_t.R,Di=Di/2*_t.B,_t.sa=hn,_t.ta=Sn+_n,_t.qa=_t.sa,_t.ra=_t.ta+16*Ir*_t.R+Di,_t.Ha=_t.qa,_t.Ia=_t.ra+8*Ir*_t.B+Di,_t.$c=0,Sn+=kr,_t.mb=An?hn:null,_t.nb=An?Sn:null,a(Sn+An<=_t.Fc+_t.Vb),s1(_t),d(_t.Ac,_t.Bc,0,an),Ir=1}}if(Ir){if(hr.ka=0,hr.y=_t.sa,hr.O=_t.ta,hr.f=_t.qa,hr.N=_t.ra,hr.ea=_t.Ha,hr.Vd=_t.Ia,hr.fa=_t.R,hr.Rc=_t.B,hr.F=null,hr.J=0,!Sg){for(Ir=-255;255>=Ir;++Ir)Eg[255+Ir]=0>Ir?-Ir:Ir;for(Ir=-1020;1020>=Ir;++Ir)Bg[1020+Ir]=-128>Ir?-128:127=Ir;++Ir)xg[112+Ir]=-16>Ir?-16:15=Ir;++Ir)Cg[255+Ir]=0>Ir?0:255wa;++wa){var $l,La=VA[0+wa];for($l=0;4>$l;++$l){La=hm[Fo[vA+$l]][La];for(var eo=Dg[dn(Rs,La[0])];0>3;for(eo=0;256>eo;eo+=16)wa[DA+eo]=hu}yA=1,Pc=vA[0]}var mo=15&Rs.la,Zl=15&WA.la;for(eo=0;4>eo;++eo){var ku=1&Zl;for(hu=to=0;4>hu;++hu)mo=mo>>1|(ku=(pl=zp(Fo,Pc,pl=ku+(1&mo),ll.Sc,yA,wa,DA))>yA)<<7,to=to<<2|(3>=4,Zl=Zl>>1|ku<<7,$l=($l<<8|to)>>>0}for(Pc=mo,yA=Zl>>4,Al=0;4>Al;Al+=2){for(to=0,mo=Rs.la>>4+Al,Zl=WA.la>>4+Al,eo=0;2>eo;++eo){for(ku=1&Zl,hu=0;2>hu;++hu)pl=ku+(1&mo),mo=mo>>1|(ku=0<(pl=zp(Fo,vA[2],pl,ll.Qc,0,wa,DA)))<<3,to=to<<2|(3>=2,Zl=Zl>>1|ku<<5}La|=to<<4*Al,Pc|=mo<<4<=Bi.zb&&Bi.M<=Bi.Va,Bi.Aa==0)t:{if(zs.M=Bi.M,zs.uc=Rs,ac(Bi,zs),dl=1,zs=(to=Bi.D).Nb,Rs=(La=C1[Bi.L])*Bi.R,Fo=La/2*Bi.B,eo=16*zs*Bi.R,hu=8*zs*Bi.B,vA=Bi.sa,VA=Bi.ta-Rs+eo,ll=Bi.qa,wa=Bi.ra-Fo+hu,DA=Bi.Ha,WA=Bi.Ia-Fo+hu,Zl=(mo=to.M)==0,$l=mo>=Bi.Va-1,Bi.Aa==2&&ac(Bi,to),to.uc)for(ku=(pl=Bi).D.M,a(pl.D.uc),to=pl.yb;toKn.o&&(mo=Kn.o),Kn.F=null,Kn.J=null,Bi.Fa!=null&&0>1),Kn.W+=Bi.B*(La>>1),Kn.F!=null&&(Kn.J+=Kn.width*La)),to>1,Kn.W+=Kn.v>>1,Kn.F!=null&&(Kn.J+=Kn.v),Kn.ka=to-Kn.j,Kn.U=Kn.va-Kn.v,Kn.T=mo-to,dl=Kn.put(Kn))}zs+1!=Bi.Ic||$l||(u(Bi.sa,Bi.ta-Rs,vA,VA+16*Bi.R,Rs),u(Bi.qa,Bi.ra-Fo,ll,wa+8*Bi.B,Fo),u(Bi.Ha,Bi.Ia-Fo,DA,WA+8*Bi.B,Fo))}if(!dl)return Il(pa,6,"Output aborted.")}return 1}(_t,hr)),hr.bc!=null&&hr.bc(hr),Ir&=1}return Ir?(_t.cb=0,Ir):0})(w,ue)||(T=w.a)}}else T=w.a}T==0&&Me.Oa!=null&&Me.Oa.fd&&(T=Pp(Me.ba))}Me=T}Ne=Me!=0?null:11>Ne?Ye.f.RGBA.eb:Ye.f.kb.y}else Ne=null;return Ne};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function z(Rt,Tr){for(var Ke="",gt=0;gt<4;gt++)Ke+=String.fromCharCode(Rt[Tr++]);return Ke}function te(Rt,Tr){return Rt[Tr+0]|Rt[Tr+1]<<8}function Se(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16)>>>0}function Ue(Rt,Tr){return(Rt[Tr+0]|Rt[Tr+1]<<8|Rt[Tr+2]<<16|Rt[Tr+3]<<24)>>>0}new M;var ee=[0],ut=[0],st=[],dt=new M,ze=n,$t=function(Rt,Tr){var Ke={},gt=0,Yt=!1,Gt=0,Qr=0;if(Ke.frames=[],!function(Qe,Tt){for(var Nt=0;Nt<4;Nt++)if(Qe[Tt+Nt]!="RIFF".charCodeAt(Nt))return!0;return!1}(Rt,Tr)){for(Ue(Rt,Tr+=4),Tr+=8;Tr>1&1}Gr!="ANMF"&&(Tr+=Ur)}return Ke}}(ze,0);$t.response=ze,$t.rgbaoutput=!0,$t.dataurl=!1;var jt=$t.header?$t.header:null,Dt=$t.frames?$t.frames:null;if(jt){jt.loop_counter=jt.loop_count,ee=[jt.canvas_height],ut=[jt.canvas_width];for(var Or=0;Or=2?mt[1]:qn[0],qn[2]=mt.length>=3?mt[2]:qn[0],qn[3]=mt.length>=4?mt[3]:qn[1]),z.margin=qn}});var Wr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Wr},set:function(mt){Wr=mt}});var Xr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Xr},set:function(mt){Xr=mt}});var dn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return dn},set:function(mt){dn=mt}}),Object.defineProperty(this,"ctx",{get:function(){return z},set:function(mt){mt instanceof te&&(z=mt)}}),Object.defineProperty(this,"path",{get:function(){return z.path},set:function(mt){z.path=mt}});var In=[];Object.defineProperty(this,"ctxStack",{get:function(){return In},set:function(mt){In=mt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(mt){var qn;qn=Ue(mt),this.ctx.fillStyle=qn.style,this.ctx.isFillTransparent=qn.a===0,this.ctx.fillOpacity=qn.a,this.pdf.setFillColor(qn.r,qn.g,qn.b,{a:qn.a}),this.pdf.setTextColor(qn.r,qn.g,qn.b,{a:qn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(mt){var qn=Ue(mt);this.ctx.strokeStyle=qn.style,this.ctx.isStrokeTransparent=qn.a===0,this.ctx.strokeOpacity=qn.a,qn.a===0?this.pdf.setDrawColor(255,255,255):(qn.a,this.pdf.setDrawColor(qn.r,qn.g,qn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(mt){["butt","round","square"].indexOf(mt)!==-1&&(this.ctx.lineCap=mt,this.pdf.setLineCap(mt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(mt){isNaN(mt)||(this.ctx.lineWidth=mt,this.pdf.setLineWidth(mt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(mt){["bevel","round","miter"].indexOf(mt)!==-1&&(this.ctx.lineJoin=mt,this.pdf.setLineJoin(mt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(mt){isNaN(mt)||(this.ctx.miterLimit=mt,this.pdf.setMiterLimit(mt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(mt){this.ctx.textBaseline=mt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(mt){["right","end","center","left","start"].indexOf(mt)!==-1&&(this.ctx.textAlign=mt)}});var Xn=null,Yn=null,Ni=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ni},set:function(mt){Xn=null,Yn=null,Ni=mt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(mt){var qn;if(this.ctx.font=mt,(qn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(mt))!==null){var Ws=qn[1];qn[2];var ts=qn[3],xn=qn[4];qn[5];var rs=qn[6],mi=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(xn)[2];xn=Math.floor(mi==="px"?parseFloat(xn)*this.pdf.internal.scaleFactor:mi==="em"?parseFloat(xn)*this.pdf.getFontSize():parseFloat(xn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(xn);var Yi=function(Ri){var cl,Ta,Xs=[],qs=Ri.trim();if(qs==="")return x;if(qs in Au)return[Au[qs]];for(;qs!=="";){switch(Ta=null,cl=(qs=Hl(qs)).charAt(0)){case'"':case"'":Ta=A(qs.substring(1),cl);break;default:Ta=e(qs)}if(Ta===null||(Xs.push(Ta[0]),(qs=Hl(Ta[1]))!==""&&qs.charAt(0)!==","))return x;qs=qs.replace(/^,/,"")}return Xs}(rs);if(this.fontFaces){var Hi=function(Ri,cl){var Ta=Ri.getFontList(),Xs=JSON.stringify(Ta);if(Xn===null||Yn!==Xs){var qs=function(Oo){var Gi=[];return Object.keys(Oo).forEach(function(Bo){Oo[Bo].forEach(function(ls){var Fs=null;switch(ls){case"bold":Fs={family:Bo,weight:"bold"};break;case"italic":Fs={family:Bo,style:"italic"};break;case"bolditalic":Fs={family:Bo,weight:"bold",style:"italic"};break;case"":case"normal":Fs={family:Bo}}Fs!==null&&(Fs.ref={name:Bo,style:ls},Gi.push(Fs))})}),Gi}(Ta);Xn=function(Oo){for(var Gi={},Bo=0;Bo=700||Ws==="bold")&&(Ds="bold"),Ws==="italic"&&(Ds+="italic"),Ds.length===0&&(Ds="normal");for(var da="",Aa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ci=0;Ci=2*Math.PI&&(rr=0,fr=2*Math.PI),this.path.push({type:"arc",x:Qe,y:Tt,radius:Nt,startAngle:rr,endAngle:fr,counterclockwise:Dr})},Se.prototype.arcTo=function(Qe,Tt,Nt,rr,fr){throw new Error("arcTo not implemented.")},Se.prototype.rect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe+Nt,Tt+rr),this.lineTo(Qe,Tt+rr),this.lineTo(Qe,Tt),this.lineTo(Qe+Nt,Tt),this.lineTo(Qe,Tt)},Se.prototype.fillRect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ee.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Qe,Tt,Nt,rr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Se.prototype.strokeRect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");ut.call(this)||(this.beginPath(),this.rect(Qe,Tt,Nt,rr),this.stroke())},Se.prototype.clearRect=function(Qe,Tt,Nt,rr){if(isNaN(Qe)||isNaN(Tt)||isNaN(Nt)||isNaN(rr))throw va.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Qe,Tt,Nt,rr))},Se.prototype.save=function(Qe){Qe=typeof Qe!="boolean"||Qe;for(var Tt=this.pdf.internal.getCurrentPageInfo().pageNumber,Nt=0;Nt0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Se.prototype.drawImage=function(Qe,Tt,Nt,rr,fr,Dr,Wr,Xr,dn){var In=this.pdf.getImageProperties(Qe),Xn=1,Yn=1,Ni=1,mt=1;rr!==void 0&&Xr!==void 0&&(Ni=Xr/rr,mt=dn/fr,Xn=In.width/rr*Xr/rr,Yn=In.height/fr*dn/fr),Dr===void 0&&(Dr=Tt,Wr=Nt,Tt=0,Nt=0),rr!==void 0&&Xr===void 0&&(Xr=rr,dn=fr),rr===void 0&&Xr===void 0&&(Xr=In.width,dn=In.height);var qn=this.ctx.transform.decompose(),Ws=Ur(qn.rotate.shx),ts=new M,xn=(ts=(ts=(ts=ts.multiply(qn.translate)).multiply(qn.skew)).multiply(qn.scale)).applyToRectangle(new L(Dr-Tt*Ni,Wr-Nt*mt,rr*Xn,fr*Yn));if(this.autoPaging){for(var rs,mi=dt.call(this,xn),Yi=[],Hi=0;Hi$a||Dsxn||mi0)){for(;dn>=0;dn--)if(fr[dn-1].close!==!0&&fr[dn-1].begin!==!0){fr[dn-1].deltas.push(Nt),fr[dn-1].abs.push(Xr);break}}break;case"bct":Nt=[Xr.x1-Dr[Wr-1].x,Xr.y1-Dr[Wr-1].y,Xr.x2-Dr[Wr-1].x,Xr.y2-Dr[Wr-1].y,Xr.x-Dr[Wr-1].x,Xr.y-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"qct":var In=Dr[Wr-1].x+2/3*(Xr.x1-Dr[Wr-1].x),Xn=Dr[Wr-1].y+2/3*(Xr.y1-Dr[Wr-1].y),Yn=Xr.x+2/3*(Xr.x1-Xr.x),Ni=Xr.y+2/3*(Xr.y1-Xr.y),mt=Xr.x,qn=Xr.y;Nt=[In-Dr[Wr-1].x,Xn-Dr[Wr-1].y,Yn-Dr[Wr-1].x,Ni-Dr[Wr-1].y,mt-Dr[Wr-1].x,qn-Dr[Wr-1].y],fr[fr.length-1].deltas.push(Nt);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Xr)}}rr=Tt?null:Qe==="stroke"?"stroke":"fill";for(var Ws=!1,ts=0;ts=.01&&(rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale);var Ns=this.autoPaging!=="text";if(Ns||Ci.y+Ci.h<=Hi){if(Ns||Ci.y>=mi&&Ci.x<=la){var Ri=Ns?Qe.text:this.pdf.splitTextToSize(Qe.text,Qe.maxWidth||la-Ci.x)[0],cl=$t([JSON.parse(JSON.stringify(Yn))],this.posX+this.margin[3],-da+mi+this.ctx.prevPageLastElemOffset)[0],Ta=Ns&&(rs>ts||rs=.01&&(this.pdf.setFontSize(rr),this.lineWidth=fr)}}else Qe.scale>=.01&&(rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(rr*Qe.scale),fr=this.lineWidth,this.lineWidth=fr*Qe.scale),this.pdf.text(Qe.text,dn.x+this.posX,dn.y+this.posY,{angle:Qe.angle,align:Tt,renderingMode:Qe.renderingMode,maxWidth:Qe.maxWidth}),Qe.scale>=.01&&(this.pdf.setFontSize(rr),this.lineWidth=fr)},Yt=function(Qe,Tt,Nt,rr){Nt=Nt||0,rr=rr||0,this.pdf.internal.out(s(Qe+Nt)+" "+u(Tt+rr)+" l")},Gt=function(Qe,Tt,Nt){return this.pdf.lines(Qe,Tt,Nt,null,null)},Qr=function(Qe,Tt,Nt,rr,fr,Dr,Wr,Xr){this.pdf.internal.out([a(d(Nt+Qe)),a(m(rr+Tt)),a(d(fr+Qe)),a(m(Dr+Tt)),a(d(Wr+Qe)),a(m(Xr+Tt)),"c"].join(" "))},Gr=function(Qe,Tt,Nt,rr){for(var fr=2*Math.PI,Dr=Math.PI/2;Tt>Nt;)Tt-=fr;var Wr=Math.abs(Nt-Tt);Wr1e-5;){var Xn=In+dn*Math.min(Wr,Dr);Xr.push($r.call(this,Qe,In,Xn)),Wr-=Math.abs(Xn-In),In=Xn}return Xr},$r=function(Qe,Tt,Nt){var rr=(Nt-Tt)/2,fr=Qe*Math.cos(rr),Dr=Qe*Math.sin(rr),Wr=fr,Xr=-Dr,dn=Wr*Wr+Xr*Xr,In=dn+Wr*fr+Xr*Dr,Xn=4/3*(Math.sqrt(2*dn*In)-In)/(Wr*Dr-Xr*fr),Yn=Wr-Xn*Xr,Ni=Xr+Xn*Wr,mt=Yn,qn=-Ni,Ws=rr+Tt,ts=Math.cos(Ws),xn=Math.sin(Ws);return{x1:Qe*Math.cos(Tt),y1:Qe*Math.sin(Tt),x2:Yn*ts-Ni*xn,y2:Yn*xn+Ni*ts,x3:mt*ts-qn*xn,y3:mt*xn+qn*ts,x4:Qe*Math.cos(Nt),y4:Qe*Math.sin(Nt)}},Ur=function(Qe){return 180*Qe/Math.PI},qr=function(Qe,Tt,Nt,rr,fr,Dr){var Wr=Qe+.5*(Nt-Qe),Xr=Tt+.5*(rr-Tt),dn=fr+.5*(Nt-fr),In=Dr+.5*(rr-Dr),Xn=Math.min(Qe,fr,Wr,dn),Yn=Math.max(Qe,fr,Wr,dn),Ni=Math.min(Tt,Dr,Xr,In),mt=Math.max(Tt,Dr,Xr,In);return new L(Xn,Ni,Yn-Xn,mt-Ni)},Rn=function(Qe,Tt,Nt,rr,fr,Dr,Wr,Xr){var dn,In,Xn,Yn,Ni,mt,qn,Ws,ts,xn,rs,mi,Yi,Hi,$a=Nt-Qe,la=rr-Tt,Ds=fr-Nt,da=Dr-rr,Aa=Wr-fr,Ci=Xr-Dr;for(In=0;In<41;In++)ts=(qn=(Xn=Qe+(dn=In/40)*$a)+dn*((Ni=Nt+dn*Ds)-Xn))+dn*(Ni+dn*(fr+dn*Aa-Ni)-qn),xn=(Ws=(Yn=Tt+dn*la)+dn*((mt=rr+dn*da)-Yn))+dn*(mt+dn*(Dr+dn*Ci-mt)-Ws),In==0?(rs=ts,mi=xn,Yi=ts,Hi=xn):(rs=Math.min(rs,ts),mi=Math.min(mi,xn),Yi=Math.max(Yi,ts),Hi=Math.max(Hi,xn));return new L(Math.round(rs),Math.round(mi),Math.round(Yi-rs),Math.round(Hi-mi))},wn=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Qe,Tt,Nt=(Qe=this.ctx.lineDash,Tt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Qe,lineDashOffset:Tt}));this.prevLineDash!==Nt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Nt)}}})(hi.API),function(n){var a=function(O){var L,M,z,te,Se,Ue,ee,ut,st,dt;for(/[^\x00-\xFF]/.test(O),M=[],z=0,te=(O+=L="\0\0\0\0".slice(O.length%4||4)).length;te>z;z+=4)(Se=(O.charCodeAt(z)<<24)+(O.charCodeAt(z+1)<<16)+(O.charCodeAt(z+2)<<8)+O.charCodeAt(z+3))!==0?(Ue=(Se=((Se=((Se=((Se=(Se-(dt=Se%85))/85)-(st=Se%85))/85)-(ut=Se%85))/85)-(ee=Se%85))/85)%85,M.push(Ue+33,ee+33,ut+33,st+33,dt+33)):M.push(122);return function(ze,$t){for(var jt=$t;jt>0;jt--)ze.pop()}(M,L.length),String.fromCharCode.apply(String,M)+"~>"},s=function(O){var L,M,z,te,Se,Ue=String,ee="length",ut=255,st="charCodeAt",dt="slice",ze="replace";for(O[dt](-2),O=O[dt](0,-2)[ze](/\s/g,"")[ze]("z","!!!!!"),z=[],te=0,Se=(O+=L="uuuuu"[dt](O[ee]%5||5))[ee];Se>te;te+=5)M=52200625*(O[st](te)-33)+614125*(O[st](te+1)-33)+7225*(O[st](te+2)-33)+85*(O[st](te+3)-33)+(O[st](te+4)-33),z.push(ut&M>>24,ut&M>>16,ut&M>>8,ut&M);return function($t,jt){for(var Dt=jt;Dt>0;Dt--)$t.pop()}(z,L[ee]),Ue.fromCharCode.apply(Ue,z)},u=function(O){return O.split("").map(function(L){return("0"+L.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(O){var L=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((O=O.replace(/\s/g,"")).indexOf(">")!==-1&&(O=O.substr(0,O.indexOf(">"))),O.length%2&&(O+="0"),L.test(O)===!1)return"";for(var M="",z=0;zst&&(ut=dt,dt=st,st=ut);else{if(L!=="l"&&L!=="landscape")throw"Invalid orientation: "+L;L="l",st>dt&&(ut=dt,dt=st,st=ut)}return{width:dt,height:st,unit:M,k:Se,orientation:L}},n.html=function(L,M){(M=M||{}).callback=M.callback||function(){},M.html2canvas=M.html2canvas||{},M.html2canvas.canvas=M.html2canvas.canvas||this.canvas,M.jsPDF=M.jsPDF||this,M.fontFaces=M.fontFaces?M.fontFaces.map(IA):null;var z=new O(M);return M.worker?z:z.from(L).doCallback()}}(hi.API),hi.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,u=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ee=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ee+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(u,d,m){var O={title:d,options:m,children:[]};return u==null&&(u=this.root),u.children.push(O),O},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(u){u.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(u.children[0])),this.line("/Last "+this.makeRef(u.children[u.children.length-1]))),this.line("/Count "+this.count_r({count:0},u)),this.objEnd()},s.outline.renderItems=function(u){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(u.children[m-1])),m0&&(this.line("/First "+this.makeRef(O.children[0])),this.line("/Last "+this.makeRef(O.children[O.children.length-1])));var L=this.count=this.count_r({count:0},O);if(L>0&&this.line("/Count "+L),O.options&&O.options.pageNumber){var M=s.internal.getPageInfo(O.options.pageNumber);this.line("/Dest ["+M.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var z=0;z0,wt=J.useState(!Ze||!Tt),Xt=(0,p.Z)(wt,2),pn=Xt[0],zn=Xt[1];if((0,S.Z)(function(){!pn&&Tt&&u&&zn(!0)},[pn,Tt,u]),!pn)return null;var Hn="auto",ir={left:"-1000vw",top:"-1000vh",right:Hn,bottom:Hn};if(tn||!A){var tr,nr=xe.points,bn=xe.dynamicInset||((tr=xe._experimental)===null||tr===void 0?void 0:tr.dynamicInset),Vn=bn&&nr[0][1]==="r",Un=bn&&nr[0][0]==="b";Vn?(ir.right=Lt,ir.left=Hn):(ir.left=dt,ir.right=Hn),Un?(ir.bottom=vt,ir.top=Hn):(ir.top=rt,ir.bottom=Hn)}var Yn={};return Et&&(Et.includes("height")&&mt?Yn.height=mt:Et.includes("minHeight")&&mt&&(Yn.minHeight=mt),Et.includes("width")&&cn?Yn.width=cn:Et.includes("minWidth")&&cn&&(Yn.minWidth=cn)),A||(Yn.pointerEvents="none"),J.createElement(Ne,{open:Ce||zt,getContainer:Ze&&function(){return Ze(u)},autoDestroy:Be},J.createElement(v,{prefixCls:T,open:A,zIndex:Le,mask:W,motion:ge}),J.createElement(f.Z,{onResize:Mt,disabled:!A},function(x){return J.createElement(Y.default,(0,Ae.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ce,leavedClassName:"".concat(T,"-hidden")},te,{onAppearPrepare:_t,onEnterPrepare:_t,visible:A,onVisibleChanged:function(tt){var E;te==null||(E=te.onVisibleChanged)===null||E===void 0||E.call(te,tt),H(tt)}}),function($,tt){var E=$.className,C=$.style,$e=g()(T,E,ue);return J.createElement("div",{ref:(0,q.sQ)(x,oe,tt),className:$e,style:(0,e.Z)((0,e.Z)((0,e.Z)((0,e.Z)({"--arrow-x":"".concat(d.x||0,"px"),"--arrow-y":"".concat(d.y||0,"px")},ir),Yn),C),{},{boxSizing:"border-box",zIndex:Le},a),onMouseEnter:gt,onMouseLeave:it,onPointerEnter:bt,onClick:P,onPointerDownCapture:yt},l&&J.createElement(ye,{prefixCls:T,arrow:l,arrowPos:d,align:xe}),J.createElement(i,{cache:!A&&!B},ht))})}))}),V=c,ie=J.forwardRef(function(K,oe){var b=K.children,ue=K.getTriggerDOMNode,T=(0,q.Yr)(b),a=J.useCallback(function(H){(0,q.mH)(oe,ue?ue(H):H)},[ue]),u=(0,q.x1)(a,(0,q.C4)(b));return T?J.cloneElement(b,{ref:u}):b}),de=ie,ke=J.createContext(null),Re=ke;function ee(K){return K?Array.isArray(K)?K:[K]:[]}function be(K,oe,b,ue){return J.useMemo(function(){var T=ee(b!=null?b:oe),a=ee(ue!=null?ue:oe),u=new Set(T),H=new Set(a);return K&&(u.has("hover")&&(u.delete("hover"),u.add("click")),H.has("hover")&&(H.delete("hover"),H.add("click"))),[u,H]},[K,oe,b,ue])}var Q=t(29194);function M(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],b=arguments.length>2?arguments[2]:void 0;return b?K[0]===oe[0]:K[0]===oe[0]&&K[1]===oe[1]}function s(K,oe,b,ue){for(var T=b.points,a=Object.keys(K),u=0;u1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(K)?oe:K}function je(K){return se(parseFloat(K),0)}function et(K,oe){var b=(0,e.Z)({},K);return(oe||[]).forEach(function(ue){if(!(ue instanceof HTMLBodyElement||ue instanceof HTMLHtmlElement)){var T=j(ue).getComputedStyle(ue),a=T.overflow,u=T.overflowClipMargin,H=T.borderTopWidth,A=T.borderBottomWidth,w=T.borderLeftWidth,B=T.borderRightWidth,P=ue.getBoundingClientRect(),W=ue.offsetHeight,l=ue.clientHeight,d=ue.offsetWidth,xe=ue.clientWidth,te=je(H),ge=je(A),Ce=je(w),Ze=je(B),Be=se(Math.round(P.width/d*1e3)/1e3),Ne=se(Math.round(P.height/W*1e3)/1e3),Le=(d-xe-Ce-Ze)*Be,gt=(W-l-te-ge)*Ne,it=te*Ne,bt=ge*Ne,yt=Ce*Be,tn=Ze*Be,dt=0,rt=0;if(a==="clip"){var Lt=je(u);dt=Lt*Be,rt=Lt*Ne}var vt=P.x+yt-dt,Mt=P.y+it-rt,_t=vt+P.width+2*dt-yt-tn-Le,Et=Mt+P.height+2*rt-it-bt-gt;b.left=Math.max(b.left,vt),b.top=Math.max(b.top,Mt),b.right=Math.min(b.right,_t),b.bottom=Math.min(b.bottom,Et)}}),b}function fe(K){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b="".concat(oe),ue=b.match(/^(.*)\%$/);return ue?K*(parseFloat(ue[1])/100):parseFloat(b)}function ce(K,oe){var b=oe||[],ue=(0,p.Z)(b,2),T=ue[0],a=ue[1];return[fe(K.width,T),fe(K.height,a)]}function Ge(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[K[0],K[1]]}function U(K,oe){var b=oe[0],ue=oe[1],T,a;return b==="t"?a=K.y:b==="b"?a=K.y+K.height:a=K.y+K.height/2,ue==="l"?T=K.x:ue==="r"?T=K.x+K.width:T=K.x+K.width/2,{x:T,y:a}}function ve(K,oe){var b={t:"b",b:"t",l:"r",r:"l"};return K.map(function(ue,T){return T===oe?b[ue]||"c":ue}).join("")}function ae(K,oe,b,ue,T,a,u){var H=J.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:T[ue]||{}}),A=(0,p.Z)(H,2),w=A[0],B=A[1],P=J.useRef(0),W=J.useMemo(function(){return oe?De(oe):[]},[oe]),l=J.useRef({}),d=function(){l.current={}};K||d();var xe=(0,n.Z)(function(){if(oe&&b&&K){let or=function(Wr,gn){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Me,mn=zt.x+Wr,Pn=zt.y+gn,fr=mn+Un,Or=Pn+Vn,$o=Math.max(mn,Tn.left),nn=Math.max(Pn,Tn.top),En=Math.min(fr,Tn.right),_n=Math.min(Or,Tn.bottom);return Math.max(0,(En-$o)*(_n-nn))},zr=function(){ur=zt.y+Pt,dr=ur+Vn,Xn=zt.x+ut,xt=Xn+Un};var Ce,Ze,Be,Ne,Le=oe,gt=Le.ownerDocument,it=j(Le),bt=it.getComputedStyle(Le),yt=bt.position,tn=Le.style.left,dt=Le.style.top,rt=Le.style.right,Lt=Le.style.bottom,vt=Le.style.overflow,Mt=(0,e.Z)((0,e.Z)({},T[ue]),a),_t=gt.createElement("div");(Ce=Le.parentElement)===null||Ce===void 0||Ce.appendChild(_t),_t.style.left="".concat(Le.offsetLeft,"px"),_t.style.top="".concat(Le.offsetTop,"px"),_t.style.position=yt,_t.style.height="".concat(Le.offsetHeight,"px"),_t.style.width="".concat(Le.offsetWidth,"px"),Le.style.left="0",Le.style.top="0",Le.style.right="auto",Le.style.bottom="auto",Le.style.overflow="hidden";var Et;if(Array.isArray(b))Et={x:b[0],y:b[1],width:0,height:0};else{var cn,mt,ht=b.getBoundingClientRect();ht.x=(cn=ht.x)!==null&&cn!==void 0?cn:ht.left,ht.y=(mt=ht.y)!==null&&mt!==void 0?mt:ht.top,Et={x:ht.x,y:ht.y,width:ht.width,height:ht.height}}var zt=Le.getBoundingClientRect(),Tt=it.getComputedStyle(Le),wt=Tt.height,Xt=Tt.width;zt.x=(Ze=zt.x)!==null&&Ze!==void 0?Ze:zt.left,zt.y=(Be=zt.y)!==null&&Be!==void 0?Be:zt.top;var pn=gt.documentElement,zn=pn.clientWidth,Hn=pn.clientHeight,ir=pn.scrollWidth,tr=pn.scrollHeight,nr=pn.scrollTop,bn=pn.scrollLeft,Vn=zt.height,Un=zt.width,Yn=Et.height,x=Et.width,$={left:0,top:0,right:zn,bottom:Hn},tt={left:-bn,top:-nr,right:ir-bn,bottom:tr-nr},E=Mt.htmlRegion,C="visible",$e="visibleFirst";E!=="scroll"&&E!==$e&&(E=C);var he=E===$e,Se=et(tt,W),He=et($,W),Me=E===C?He:Se,Qe=he?He:Me;Le.style.left="auto",Le.style.top="auto",Le.style.right="0",Le.style.bottom="0";var lt=Le.getBoundingClientRect();Le.style.left=tn,Le.style.top=dt,Le.style.right=rt,Le.style.bottom=Lt,Le.style.overflow=vt,(Ne=Le.parentElement)===null||Ne===void 0||Ne.removeChild(_t);var ot=se(Math.round(Un/parseFloat(Xt)*1e3)/1e3),qe=se(Math.round(Vn/parseFloat(wt)*1e3)/1e3);if(ot===0||qe===0||(0,y.Sh)(b)&&!(0,Q.Z)(b))return;var Nt=Mt.offset,Kt=Mt.targetOffset,pt=ce(zt,Nt),F=(0,p.Z)(pt,2),le=F[0],Ee=F[1],Ie=ce(Et,Kt),Pe=(0,p.Z)(Ie,2),Ke=Pe[0],Ue=Pe[1];Et.x-=Ke,Et.y-=Ue;var at=Mt.points||[],ft=(0,p.Z)(at,2),$t=ft[0],Dt=ft[1],Ct=Ge(Dt),St=Ge($t),It=U(Et,Ct),Ft=U(zt,St),qt=(0,e.Z)({},Mt),ut=It.x-Ft.x+le,Pt=It.y-Ft.y+Ee,vn=or(ut,Pt),en=or(ut,Pt,He),Yt=U(Et,["t","l"]),un=U(zt,["t","l"]),Ot=U(Et,["b","r"]),jt=U(zt,["b","r"]),Sn=Mt.overflow||{},In=Sn.adjustX,Wn=Sn.adjustY,On=Sn.shiftX,An=Sn.shiftY,kn=function(gn){return typeof gn=="boolean"?gn:gn>=0},ur,dr,Xn,xt;zr();var Je=kn(Wn),nt=St[0]===Ct[0];if(Je&&St[0]==="t"&&(dr>Qe.bottom||l.current.bt)){var Ut=Pt;nt?Ut-=Vn-Yn:Ut=Yt.y-jt.y-Ee;var Gt=or(ut,Ut),fn=or(ut,Ut,He);Gt>vn||Gt===vn&&(!he||fn>=en)?(l.current.bt=!0,Pt=Ut,Ee=-Ee,qt.points=[ve(St,0),ve(Ct,0)]):l.current.bt=!1}if(Je&&St[0]==="b"&&(urvn||Fn===vn&&(!he||Nn>=en)?(l.current.tb=!0,Pt=Dn,Ee=-Ee,qt.points=[ve(St,0),ve(Ct,0)]):l.current.tb=!1}var Jn=kn(In),Cr=St[1]===Ct[1];if(Jn&&St[1]==="l"&&(xt>Qe.right||l.current.rl)){var Sr=ut;Cr?Sr-=Un-x:Sr=Yt.x-jt.x-le;var pr=or(Sr,Pt),Qn=or(Sr,Pt,He);pr>vn||pr===vn&&(!he||Qn>=en)?(l.current.rl=!0,ut=Sr,le=-le,qt.points=[ve(St,1),ve(Ct,1)]):l.current.rl=!1}if(Jn&&St[1]==="r"&&(Xnvn||Er===vn&&(!he||Nr>=en)?(l.current.lr=!0,ut=xr,le=-le,qt.points=[ve(St,1),ve(Ct,1)]):l.current.lr=!1}zr();var lr=On===!0?0:On;typeof lr=="number"&&(XnHe.right&&(ut-=xt-He.right-le,Et.x>He.right-lr&&(ut+=Et.x-He.right+lr)));var Ir=An===!0?0:An;typeof Ir=="number"&&(urHe.bottom&&(Pt-=dr-He.bottom-Ee,Et.y>He.bottom-Ir&&(Pt+=Et.y-He.bottom+Ir)));var rr=zt.x+ut,Br=rr+Un,Xr=zt.y+Pt,jr=Xr+Vn,Hr=Et.x,Gr=Hr+x,xn=Et.y,Kn=xn+Yn,br=Math.max(rr,Hr),vr=Math.min(Br,Gr),xo=(br+vr)/2,zo=xo-rr,vo=Math.max(Xr,xn),Eo=Math.min(jr,Kn),Zo=(vo+Eo)/2,wo=Zo-Xr;u==null||u(oe,qt);var kr=lt.right-zt.x-(ut+zt.width),co=lt.bottom-zt.y-(Pt+zt.height);ot===1&&(ut=Math.floor(ut),kr=Math.floor(kr)),qe===1&&(Pt=Math.floor(Pt),co=Math.floor(co));var to={ready:!0,offsetX:ut/ot,offsetY:Pt/qe,offsetR:kr/ot,offsetB:co/qe,arrowX:zo/ot,arrowY:wo/qe,scaleX:ot,scaleY:qe,align:qt};B(to)}}),te=function(){P.current+=1;var Ze=P.current;Promise.resolve().then(function(){P.current===Ze&&xe()})},ge=function(){B(function(Ze){return(0,e.Z)((0,e.Z)({},Ze),{},{ready:!1})})};return(0,S.Z)(ge,[ue]),(0,S.Z)(function(){K||ge()},[K]),[w.ready,w.offsetX,w.offsetY,w.offsetR,w.offsetB,w.arrowX,w.arrowY,w.scaleX,w.scaleY,w.align,te]}var ze=t(77654);function L(K,oe,b,ue,T){(0,S.Z)(function(){if(K&&oe&&b){let P=function(){ue(),T()};var a=oe,u=b,H=De(a),A=De(u),w=j(u),B=new Set([w].concat((0,ze.Z)(H),(0,ze.Z)(A)));return B.forEach(function(W){W.addEventListener("scroll",P,{passive:!0})}),w.addEventListener("resize",P,{passive:!0}),ue(),function(){B.forEach(function(W){W.removeEventListener("scroll",P),w.removeEventListener("resize",P)})}}},[K,oe,b])}var pe=t(48736);function Te(K,oe,b,ue,T,a,u,H){var A=J.useRef(K);A.current=K;var w=J.useRef(!1);J.useEffect(function(){if(oe&&ue&&(!T||a)){var P=function(){w.current=!1},W=function(Be){var Ne;A.current&&!u(((Ne=Be.composedPath)===null||Ne===void 0||(Ne=Ne.call(Be))===null||Ne===void 0?void 0:Ne[0])||Be.target)&&!w.current&&H(!1)},l=j(ue);l.addEventListener("pointerdown",P,!0),l.addEventListener("mousedown",W,!0),l.addEventListener("contextmenu",W,!0);var d=(0,N.A)(b);if(d&&(d.addEventListener("mousedown",W,!0),d.addEventListener("contextmenu",W,!0)),0)var xe,te,ge,Ce;return function(){l.removeEventListener("pointerdown",P,!0),l.removeEventListener("mousedown",W,!0),l.removeEventListener("contextmenu",W,!0),d&&(d.removeEventListener("mousedown",W,!0),d.removeEventListener("contextmenu",W,!0))}}},[oe,b,ue,T,a]);function B(){w.current=!0}return B}var ct=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Xe(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Z.Z,oe=J.forwardRef(function(b,ue){var T=b.prefixCls,a=T===void 0?"rc-trigger-popup":T,u=b.children,H=b.action,A=H===void 0?"hover":H,w=b.showAction,B=b.hideAction,P=b.popupVisible,W=b.defaultPopupVisible,l=b.onPopupVisibleChange,d=b.afterPopupVisibleChange,xe=b.mouseEnterDelay,te=b.mouseLeaveDelay,ge=te===void 0?.1:te,Ce=b.focusDelay,Ze=b.blurDelay,Be=b.mask,Ne=b.maskClosable,Le=Ne===void 0?!0:Ne,gt=b.getPopupContainer,it=b.forceRender,bt=b.autoDestroy,yt=b.destroyPopupOnHide,tn=b.popup,dt=b.popupClassName,rt=b.popupStyle,Lt=b.popupPlacement,vt=b.builtinPlacements,Mt=vt===void 0?{}:vt,_t=b.popupAlign,Et=b.zIndex,cn=b.stretch,mt=b.getPopupClassNameFromAlign,ht=b.fresh,zt=b.alignPoint,Tt=b.onPopupClick,wt=b.onPopupAlign,Xt=b.arrow,pn=b.popupMotion,zn=b.maskMotion,Hn=b.popupTransitionName,ir=b.popupAnimation,tr=b.maskTransitionName,nr=b.maskAnimation,bn=b.className,Vn=b.getTriggerDOMNode,Un=(0,m.Z)(b,ct),Yn=bt||yt||!1,x=J.useState(!1),$=(0,p.Z)(x,2),tt=$[0],E=$[1];(0,S.Z)(function(){E((0,O.Z)())},[]);var C=J.useRef({}),$e=J.useContext(Re),he=J.useMemo(function(){return{registerSubPopup:function(En,_n){C.current[En]=_n,$e==null||$e.registerSubPopup(En,_n)}}},[$e]),Se=(0,D.Z)(),He=J.useState(null),Me=(0,p.Z)(He,2),Qe=Me[0],lt=Me[1],ot=J.useRef(null),qe=(0,n.Z)(function(nn){ot.current=nn,(0,y.Sh)(nn)&&Qe!==nn&<(nn),$e==null||$e.registerSubPopup(Se,nn)}),Nt=J.useState(null),Kt=(0,p.Z)(Nt,2),pt=Kt[0],F=Kt[1],le=J.useRef(null),Ee=(0,n.Z)(function(nn){(0,y.Sh)(nn)&&pt!==nn&&(F(nn),le.current=nn)}),Ie=J.Children.only(u),Pe=(Ie==null?void 0:Ie.props)||{},Ke={},Ue=(0,n.Z)(function(nn){var En,_n,wr=pt;return(wr==null?void 0:wr.contains(nn))||((En=(0,N.A)(wr))===null||En===void 0?void 0:En.host)===nn||nn===wr||(Qe==null?void 0:Qe.contains(nn))||((_n=(0,N.A)(Qe))===null||_n===void 0?void 0:_n.host)===nn||nn===Qe||Object.values(C.current).some(function(Rr){return(Rr==null?void 0:Rr.contains(nn))||nn===Rr})}),at=_(a,pn,ir,Hn),ft=_(a,zn,nr,tr),$t=J.useState(W||!1),Dt=(0,p.Z)($t,2),Ct=Dt[0],St=Dt[1],It=P!=null?P:Ct,Ft=(0,n.Z)(function(nn){P===void 0&&St(nn)});(0,S.Z)(function(){St(P||!1)},[P]);var qt=J.useRef(It);qt.current=It;var ut=J.useRef([]);ut.current=[];var Pt=(0,n.Z)(function(nn){var En;Ft(nn),((En=ut.current[ut.current.length-1])!==null&&En!==void 0?En:It)!==nn&&(ut.current.push(nn),l==null||l(nn))}),vn=J.useRef(),en=function(){clearTimeout(vn.current)},Yt=function(En){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;en(),_n===0?Pt(En):vn.current=setTimeout(function(){Pt(En)},_n*1e3)};J.useEffect(function(){return en},[]);var un=J.useState(!1),Ot=(0,p.Z)(un,2),jt=Ot[0],Sn=Ot[1];(0,S.Z)(function(nn){(!nn||It)&&Sn(!0)},[It]);var In=J.useState(null),Wn=(0,p.Z)(In,2),On=Wn[0],An=Wn[1],kn=J.useState(null),ur=(0,p.Z)(kn,2),dr=ur[0],Xn=ur[1],xt=function(En){Xn([En.clientX,En.clientY])},Je=ae(It,Qe,zt&&dr!==null?dr:pt,Lt,Mt,_t,wt),nt=(0,p.Z)(Je,11),Ut=nt[0],Gt=nt[1],fn=nt[2],Dn=nt[3],Fn=nt[4],Nn=nt[5],Jn=nt[6],Cr=nt[7],Sr=nt[8],pr=nt[9],Qn=nt[10],xr=be(tt,A,w,B),Er=(0,p.Z)(xr,2),Nr=Er[0],lr=Er[1],Ir=Nr.has("click"),rr=lr.has("click")||lr.has("contextMenu"),Br=(0,n.Z)(function(){jt||Qn()}),Xr=function(){qt.current&&zt&&rr&&Yt(!1)};L(It,pt,Qe,Br,Xr),(0,S.Z)(function(){Br()},[dr,Lt]),(0,S.Z)(function(){It&&!(Mt!=null&&Mt[Lt])&&Br()},[JSON.stringify(_t)]);var jr=J.useMemo(function(){var nn=s(Mt,a,pr,zt);return g()(nn,mt==null?void 0:mt(pr))},[pr,mt,Mt,a,zt]);J.useImperativeHandle(ue,function(){return{nativeElement:le.current,popupElement:ot.current,forceAlign:Br}});var Hr=J.useState(0),Gr=(0,p.Z)(Hr,2),xn=Gr[0],Kn=Gr[1],br=J.useState(0),vr=(0,p.Z)(br,2),xo=vr[0],zo=vr[1],vo=function(){if(cn&&pt){var En=pt.getBoundingClientRect();Kn(En.width),zo(En.height)}},Eo=function(){vo(),Br()},Zo=function(En){Sn(!1),Qn(),d==null||d(En)},wo=function(){return new Promise(function(En){vo(),An(function(){return En})})};(0,S.Z)(function(){On&&(Qn(),On(),An(null))},[On]);function kr(nn,En,_n,wr){Ke[nn]=function(Rr){var Do;wr==null||wr(Rr),Yt(En,_n);for(var Io=arguments.length,ko=new Array(Io>1?Io-1:0),ar=1;ar1?_n-1:0),Rr=1;Rr<_n;Rr++)wr[Rr-1]=arguments[Rr];(En=Pe.onClick)===null||En===void 0||En.call.apply(En,[Pe,nn].concat(wr))});var co=Te(It,rr,pt,Qe,Be,Le,Ue,Yt),to=Nr.has("hover"),or=lr.has("hover"),zr,Wr;to&&(kr("onMouseEnter",!0,xe,function(nn){xt(nn)}),kr("onPointerEnter",!0,xe,function(nn){xt(nn)}),zr=function(En){(It||jt)&&Qe!==null&&Qe!==void 0&&Qe.contains(En.target)&&Yt(!0,xe)},zt&&(Ke.onMouseMove=function(nn){var En;(En=Pe.onMouseMove)===null||En===void 0||En.call(Pe,nn)})),or&&(kr("onMouseLeave",!1,ge),kr("onPointerLeave",!1,ge),Wr=function(){Yt(!1,ge)}),Nr.has("focus")&&kr("onFocus",!0,Ce),lr.has("focus")&&kr("onBlur",!1,Ze),Nr.has("contextMenu")&&(Ke.onContextMenu=function(nn){var En;qt.current&&lr.has("contextMenu")?Yt(!1):(xt(nn),Yt(!0)),nn.preventDefault();for(var _n=arguments.length,wr=new Array(_n>1?_n-1:0),Rr=1;Rr<_n;Rr++)wr[Rr-1]=arguments[Rr];(En=Pe.onContextMenu)===null||En===void 0||En.call.apply(En,[Pe,nn].concat(wr))}),bn&&(Ke.className=g()(Pe.className,bn));var gn=J.useRef(!1);gn.current||(gn.current=it||It||jt);var Tn=(0,e.Z)((0,e.Z)({},Pe),Ke),mn={},Pn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Pn.forEach(function(nn){Un[nn]&&(mn[nn]=function(){for(var En,_n=arguments.length,wr=new Array(_n),Rr=0;Rr<_n;Rr++)wr[Rr]=arguments[Rr];(En=Tn[nn])===null||En===void 0||En.call.apply(En,[Tn].concat(wr)),Un[nn].apply(Un,wr)})});var fr=J.cloneElement(Ie,(0,e.Z)((0,e.Z)({},Tn),mn)),Or={x:Nn,y:Jn},$o=Xt?(0,e.Z)({},Xt!==!0?Xt:{}):null;return J.createElement(J.Fragment,null,J.createElement(f.Z,{disabled:!It,ref:Ee,onResize:Eo},J.createElement(de,{getTriggerDOMNode:Vn},fr)),gn.current&&J.createElement(Re.Provider,{value:he},J.createElement(V,{portal:K,ref:qe,prefixCls:a,popup:tn,className:g()(dt,jr),style:rt,target:pt,onMouseEnter:zr,onMouseLeave:Wr,onPointerEnter:zr,zIndex:Et,open:It,keepDom:jt,fresh:ht,onClick:Tt,onPointerDownCapture:co,mask:Be,motion:at,maskMotion:ft,onVisibleChanged:Zo,onPrepare:wo,forceRender:it,autoDestroy:Yn,getPopupContainer:gt,align:pr,arrow:$o,arrowPos:Or,ready:Ut,offsetX:Gt,offsetY:fn,offsetR:Dn,offsetB:Fn,onAlign:Br,stretch:cn,targetWidth:xn/Cr,targetHeight:xo/Sr})))});return oe}var k=Xe(Z.Z)},90736:function(Zt,re,t){var e=t(59301),p=t(4977),m=t(7939),Z=Object.defineProperty,R=Object.defineProperties,g=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,n=(J,Ae,Y)=>Ae in J?Z(J,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Y}):J[Ae]=Y,D=(J,Ae)=>{for(var Y in Ae||(Ae={}))y.call(Ae,Y)&&n(J,Y,Ae[Y]);if(f)for(var Y of f(Ae))N.call(Ae,Y)&&n(J,Y,Ae[Y]);return J},S=(J,Ae)=>R(J,g(Ae));const O=({img:J,buttonProps:Ae={},styles:Y={},customText:q,ButtonText:ye,ButtonClick:v,Buttonclass:X,ButtonTwo:i,imgStyles:c,loading:V=!1,className:ie=""})=>e.createElement("section",{className:`tc animated fadeIn ${ie}`,style:D({color:"#999",margin:"100px auto",visibility:V?"hidden":"visible"},Y)},e.createElement("img",{src:J||p,style:S(D({},c),{pointerEvents:"none",userSelect:"none"})}),e.createElement("p",{className:"mt20 font14"},q||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),ye&&e.createElement(m.ZP,D({className:X,onClick:v},Ae),ye),i&&i);re.Z=O},12570:function(Zt,re,t){t.r(re),t.d(re,{default:function(){return et}});var e=t(59301),p=t(44283),m=t(70858),Z=t(77019),R=t(5269),g=t(29787),f=t(31691),y=t(31709),N=t(90736),n=t(49317),D=(fe,ce,Ge)=>new Promise((U,ve)=>{var ae=pe=>{try{L(Ge.next(pe))}catch(Te){ve(Te)}},ze=pe=>{try{L(Ge.throw(pe))}catch(Te){ve(Te)}},L=pe=>pe.done?U(pe.value):Promise.resolve(pe.value).then(ae,ze);L((Ge=Ge.apply(fe,ce)).next())});function S(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/statistics.json`,{method:"Get",params:fe})})}function O(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/shixun_report_count.json`,{method:"Get",params:fe})})}function J(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/shixun_time.json`,{method:"Get",params:fe})})}function Ae(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/course_statistics.json`,{method:"Get",params:fe})})}function Y(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/teachers.json`,{method:"Get",params:fe})})}function q(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/student_shixun.json`,{method:"Get",params:fe})})}function ye(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/shixun_chart_data.json`,{method:"Get",params:fe})})}function v(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/student_hot_evaluations.json`,{method:"Get",params:fe})})}var X=t(14185),i={flex_box_center:"flex_box_center___y89i6",flex_space_between:"flex_space_between___pS5dL",flex_box_vertical_center:"flex_box_vertical_center____2LVE",flex_box_center_end:"flex_box_center_end___PQwfE",flex_box_column:"flex_box_column___mcqTs",bg:"bg___KoleD",header:"header___a40Js",headerContent:"headerContent___GdspA",headTitle:"headTitle___VDwhX",headItemTitle:"headItemTitle___ZIs1u",headItemValue:"headItemValue___EdBZX",wrap:"wrap___NLrQO",basicTitle:"basicTitle___iT0WG",basicHead:"basicHead___CrVZt",basicContent:"basicContent___TWAWX",basicItem:"basicItem___eumHg",basicItemText:"basicItemText____G4DY",courseLoading:"courseLoading___gfXHB",maxWidth220:"maxWidth220___Nmptq",maxWidth340:"maxWidth340___oAjgs",maxWidth175:"maxWidth175___o7CAE",maxWidth225:"maxWidth225___DF_oe",maxWidth255:"maxWidth255___tv5lt",maxWidth105:"maxWidth105___YPLXN",colorFFC:"colorFFC___FHqyu",colorBlack:"colorBlack___rQLh9",colorGreen:"colorGreen___NGxX3",color4CA:"color4CA___y9vkS",rankLeft:"rankLeft___ykcxN",rankRight:"rankRight___KX7ZN",flexRow:"flexRow___zvz21",tabSty:"tabSty___qsNqt"};const c=[{title:"\u6392\u540D",dataIndex:"ranking",key:"ranking",align:"center",render:(fe,ce,Ge)=>Ge+1},{title:"\u59D3\u540D",dataIndex:"name",key:"name",align:"center",className:i.maxWidth105,render:(fe,ce)=>e.createElement("a",{href:`/users/${ce.login}`,title:ce.name,target:"_blank"},ce.name)},{title:"\u7BA1\u7406\u8BFE\u5802",dataIndex:"classroom",key:"classroom",align:"center",className:i.maxWidth175,render:(fe,ce)=>e.createElement("span",null,ce.course_count)},{title:"\u5DF2\u53D1\u5E03\u5B9E\u8BAD\u4F5C\u4E1A",key:"assignment",dataIndex:"assignment",align:"center",className:i.maxWidth255,render:(fe,ce)=>e.createElement("span",null,ce.shixun_work_count)},{title:"\u672A\u53D1\u5E03\u5B9E\u8BAD\u4F5C\u4E1A",dataIndex:"released",key:"released",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.un_shixun_work_count)},{title:"\u5B66\u751F\u6570",dataIndex:"studentnumber",key:"studentnumber",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.student_count)},{title:"\u5B8C\u6210\u7387",dataIndex:"completionrate",key:"completionrate",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.complete_rate+"%")},{title:"\u53D1\u5E03\u5B9E\u8BAD",dataIndex:"releasetraining",key:"releasetraining",align:"center",render:(fe,ce)=>e.createElement("span",{className:i.color4CA},ce.publish_shixun_count)}],V=fe=>{const ce=`${X.Z.IMG_SERVER}/images/educoder/competition/${fe}.png`;return{1:e.createElement("img",{width:"18px",height:"22px",className:"mt5",src:ce}),2:e.createElement("img",{width:"18px",height:"22px",className:"mt5",src:ce}),3:e.createElement("img",{width:"18px",height:"22px",className:"mt5",src:ce})}[fe]||fe},ie=[{title:"\u6392\u540D",dataIndex:"ranking",key:"ranking",align:"center",className:"edu-txt-center font-14",width:"100px",render:(fe,ce,Ge)=>e.createElement("span",null,V(Ge+1))},{title:"\u59D3\u540D",dataIndex:"name",key:"name",align:"center",className:i.maxWidth105,render:(fe,ce)=>e.createElement("a",{href:`/users/${ce.login}`,title:ce.name,target:"_blank"},ce.name)},{title:"\u5B66\u53F7",dataIndex:"studentid",key:"studentid",align:"center",className:i.maxWidth175,render:(fe,ce)=>e.createElement("span",null,ce.student_id)},{title:"\u5B8C\u6210\u5B9E\u8BAD",key:"training",dataIndex:"training",align:"center",className:i.maxWidth225,render:(fe,ce)=>e.createElement("span",null,ce.shixun_count)},{title:"\u5728\u5B66\u5B9E\u8BAD",dataIndex:"learning",key:"learning",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.study_shixun_count)},{title:"\u91D1\u5E01",dataIndex:"goldcoin",key:"goldcoin",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.grade)},{title:"\u7ECF\u9A8C\u503C",dataIndex:"empirical",key:"empirical",align:"center",render:(fe,ce)=>e.createElement("span",{className:i.colorGreen},ce.experience)}],de=(fe=[],ce=[])=>({tooltip:{trigger:"item",formatter:"{d}%
"},legend:{bottom:50,left:"center",data:ce},series:[{type:"pie",radius:"65%",center:["50%","35%"],selectedMode:"single",data:fe,itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}),ke=(fe=[],ce=[])=>{const Ge=["#962e66","#623363","#CCCCCC","#9A9A9A","#FF8080","#FF80C2","#B980FF","#80B9FF","#6FE9FF","#4DE8B4","#F8EF63","#FFB967"];return{backgroundColor:"#fff",grid:{left:"3%",right:"8%",bottom:"15%",containLabel:!0},tooltip:{show:"true",trigger:"item",formatter:"{c0}",backgroundColor:"rgba(0,0,0,0.7)",padding:[8,10],extraCssText:"box-shadow: 0 0 3px rgba(255, 255, 255, 0.4);",axisPointer:{type:"shadow"}},xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#CCCCCC"}},splitLine:{show:!1,lineStyle:{color:"#CCCCCC"}},axisLabel:{textStyle:{color:"#656565",fontWeight:"normal",fontSize:"12"},formatter:"{value}"}},yAxis:{type:"category",axisLine:{lineStyle:{color:"#cccccc"}},splitLine:{show:!1},axisTick:{show:!1},splitArea:{show:!1},axisLabel:{inside:!1,textStyle:{color:"#656565",fontWeight:"normal",fontSize:"12"}},data:fe},series:[{name:"",type:"bar",itemStyle:{normal:{show:!0,color:function(U){return Ge[U.dataIndex]},barBorderRadius:50,borderWidth:0,borderColor:"#333"}},barGap:"0%",barCategoryGap:"50%",data:ce}]}};var Re=t(42441),ee=t(76406),be=Object.defineProperty,Q=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,_=(fe,ce,Ge)=>ce in fe?be(fe,ce,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):fe[ce]=Ge,j=(fe,ce)=>{for(var Ge in ce||(ce={}))M.call(ce,Ge)&&_(fe,Ge,ce[Ge]);if(Q)for(var Ge of Q(ce))s.call(ce,Ge)&&_(fe,Ge,ce[Ge]);return fe},De=(fe,ce)=>{var Ge={};for(var U in fe)M.call(fe,U)&&ce.indexOf(U)<0&&(Ge[U]=fe[U]);if(fe!=null&&Q)for(var U of Q(fe))ce.indexOf(U)<0&&s.call(fe,U)&&(Ge[U]=fe[U]);return Ge},se=(fe,ce,Ge)=>new Promise((U,ve)=>{var ae=pe=>{try{L(Ge.next(pe))}catch(Te){ve(Te)}},ze=pe=>{try{L(Ge.throw(pe))}catch(Te){ve(Te)}},L=pe=>pe.done?U(pe.value):Promise.resolve(pe.value).then(ae,ze);L((Ge=Ge.apply(fe,ce)).next())});const je=fe=>{var ce=fe,{shixunsDetail:Ge,globalSetting:U,loading:ve,dispatch:ae}=ce,ze=De(ce,["shixunsDetail","globalSetting","loading","dispatch"]),L,pe,Te,ct;const Xe=(0,p.useParams)(),[k,K]=(0,e.useState)({}),[oe,b]=(0,e.useState)(),[ue,T]=(0,e.useState)(),[a,u]=(0,e.useState)(),[H,A]=(0,e.useState)(),[w,B]=(0,e.useState)(),[P,W]=(0,e.useState)(),[l,d]=(0,e.useState)(),[xe,te]=(0,e.useState)(),[ge,Ce]=(0,e.useState)(),[Ze,Be]=(0,e.useState)(1),[Ne,Le]=(0,e.useState)(!1),[gt,it]=(0,e.useState)(!1),[bt,yt]=(0,e.useState)(!1),[tn,dt]=(0,e.useState)("1");(0,e.useEffect)(()=>{(0,ee.Dk)("\u5B66\u9662\u7EDF\u8BA1"),Xe.id&&(rt(),Lt(),vt(),_t(1,10),Et(1,10),cn(),mt(),Mt(1,10))},[Xe.id]);const rt=()=>se(void 0,null,function*(){const Tt=yield S({id:Xe.id});(0,ee.Dk)((Tt==null?void 0:Tt.school)||"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0"),K(Tt||{})}),Lt=()=>se(void 0,null,function*(){const Tt=yield O({id:Xe.id});b((Tt==null?void 0:Tt.shixun_report_count)||0)}),vt=()=>se(void 0,null,function*(){const Tt=yield J({id:Xe.id});T((Tt==null?void 0:Tt.shixun_time)||0)}),Mt=(Tt,wt,Xt="1")=>se(void 0,null,function*(){Le(!0);const pn=yield Ae(j({id:Xe.id,page:Tt,per_page:wt,type:Xt},Xe)).catch(zn=>Le(!1));Le(!1),u(pn||[])}),_t=(Tt,wt)=>se(void 0,null,function*(){it(!0);const Xt=yield Y({id:Xe.id,page:Tt,per_page:wt}).catch(pn=>it(!1));it(!1),A(Xt||[])}),Et=(Tt,wt)=>se(void 0,null,function*(){yt(!0);const Xt=yield q({id:Xe.id,page:Tt,per_page:wt}).catch(pn=>yt(!1));yt(!1),B(Xt||[])}),cn=()=>se(void 0,null,function*(){const Tt=yield ye({id:Xe.id});W((Tt==null?void 0:Tt.data)||[]),d((Tt==null?void 0:Tt.names)||[])}),mt=()=>se(void 0,null,function*(){const Tt=yield v({id:Xe.id});te((Tt==null?void 0:Tt.values)||[]),Ce((Tt==null?void 0:Tt.names)||[])}),ht=[{title:"\u540D\u79F0",dataIndex:"name",key:"name",align:"center",className:i.maxWidth220,render:(Tt,wt)=>e.createElement("a",{href:`/classrooms/${wt.id}/students`,title:wt.name,target:"_blank"},wt.name)},{title:"\u7BA1\u7406\u6559\u5E08",dataIndex:"teachers",key:"teachers",align:"center",className:i.maxWidth340,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack,title:wt.teachers},wt.teachers)},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"times",key:"evaluating_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Xe.sort_name==="evaluating_count"?Xe.sort===2?"descend":"ascend":null,className:i.maxWidth175,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack},wt.evaluating_count)},{title:"\u5B66\u751F",key:"student_count",dataIndex:"student",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Xe.sort_name==="student_count"?Xe.sort===2?"descend":"ascend":null,className:i.maxWidth225,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack},wt.student_count)},{title:"\u5B9E\u8BAD\u4F5C\u4E1A",dataIndex:"training",key:"shixun_work_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Xe.sort_name==="shixun_work_count"?Xe.sort===2?"descend":"ascend":null,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack},wt.shixun_work_count)},{title:"\u8D44\u6E90",dataIndex:"resources",key:"attachments_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Xe.sort_name==="attachments_count"?Xe.sort===2?"descend":"ascend":null,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack},wt==null?void 0:wt.attachments_count)},{title:"\u5E16\u5B50",dataIndex:"posts",key:"message_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Xe.sort_name==="message_count"?Xe.sort===2?"descend":"ascend":null,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack},wt.message_count)},{title:"\u5176\u5B83\u4EFB\u52A1",dataIndex:"othertasks",key:"other_work_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Xe.sort_name==="other_work_count"?Xe.sort===2?"descend":"ascend":null,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack},wt.other_work_count)},{title:"\u72B6\u6001",dataIndex:"states",key:"states",align:"center",render:(Tt,wt)=>e.createElement("span",{className:wt.is_end?i.colorBlack:i.colorFFC},wt.is_end?"\u5DF2\u7ED3\u675F":"\u6B63\u5728\u8FDB\u884C")},{title:"\u6700\u65B0\u6D3B\u8DC3\u65F6\u95F4",dataIndex:"timemy",key:"activity_time",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Xe.sort_name==="activity_time"?Xe.sort===2?"descend":"ascend":null,render:(Tt,wt)=>e.createElement("span",{className:i.colorBlack},wt.activity_time)}],zt=[{key:"1",label:"\u6D3B\u8DC3\u8BFE\u5802",children:(L=a==null?void 0:a.courses)!=null&&L.length?e.createElement(m.default,{columns:ht,dataSource:a==null?void 0:a.courses,loading:Ne,onChange:(Tt,wt,Xt)=>{Xe.sort_name=Xt==null?void 0:Xt.columnKey,Xt.order==="ascend"&&(Xe.sort=1),Xt.order==="descend"&&(Xe.sort=2),Xt.order||(Xe.sort=1),Be(1),Mt(1,10,"1")},pagination:!1}):e.createElement(N.Z,null)},{key:"2",label:"\u975E\u6D3B\u8DC3\u8BFE\u5802",children:(pe=a==null?void 0:a.courses)!=null&&pe.length?e.createElement(m.default,{columns:ht,dataSource:a==null?void 0:a.courses,loading:Ne,onChange:(Tt,wt,Xt)=>{Xe.sort_name=Xt==null?void 0:Xt.columnKey,Xt.order==="ascend"&&(Xe.sort=1),Xt.order==="descend"&&(Xe.sort=2),Xt.order||(Xe.sort=1),Be(1),Mt(1,10,"2")},pagination:!1}):e.createElement(N.Z,null)}];return e.createElement("section",{className:i.bg},e.createElement("header",{className:i.header},e.createElement("div",{className:i.headerContent},e.createElement("div",{className:i.headTitle},k==null?void 0:k.school),e.createElement(Z.Z,{justify:"space-around",gutter:[40,0]},e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u6559\u5E08"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.teachers_count)||0)),e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u5B66\u751F"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.students_count)||0)),e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u8BFE\u5802"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.courses_count)||0)),e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u5171\u5EFA\u5B9E\u8BAD"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.shixuns_count)||0))))),e.createElement("div",{className:i.wrap},e.createElement("div",{className:i.basicTitle},"\u57FA\u672C\u4F7F\u7528\u60C5\u51B5"),e.createElement("div",{className:i.basicHead},e.createElement("p",null,"\u6559\u5E08"),e.createElement("p",null,"\u5B66\u751F"),e.createElement("p",null,"\u8BFE\u5802"),e.createElement("p",null,"\u5171\u5EFA\u5B9E\u8BAD"),e.createElement("p",null,"\u5B9E\u8BAD\u62A5\u544A"),e.createElement("p",null,"\u5B66\u5458\u5B9E\u6218\u65F6\u95F4")),e.createElement("div",{className:i.basicContent},e.createElement("div",{className:i.basicItem},k!=null&&k.teachers_count||(k==null?void 0:k.teachers_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.teachers_count,e.createElement("span",{className:i.basicItemText},"\u4EBA")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},k!=null&&k.students_count||(k==null?void 0:k.students_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.students_count,e.createElement("span",{className:i.basicItemText},"\u4EBA")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},k!=null&&k.courses_count||(k==null?void 0:k.courses_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.courses_count,e.createElement("span",{className:i.basicItemText},"\u4E2A")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},k!=null&&k.shixuns_count||(k==null?void 0:k.shixuns_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.shixuns_count,e.createElement("span",{className:i.basicItemText},"\u4E2A")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},oe||oe===0?e.createElement(e.Fragment,null,oe,e.createElement("span",{className:i.basicItemText},"\u4E2A")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},ue||ue===0?e.createElement(e.Fragment,null,ue,e.createElement("span",{className:i.basicItemText},"\u5206\u949F")):e.createElement(g.Z,null)))),e.createElement("div",{className:i.wrap},!a&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),a&&e.createElement("div",{className:i.tabSty},e.createElement(f.default,{defaultActiveKey:"1",items:zt,size:"large",onChange:Tt=>{dt(Tt),Xe.sort_name=void 0,Xe.sort=void 0,Mt(Ze,10,Tt)}})),e.createElement(y.Z,{current:Ze,style:{marginTop:"20px"},pageSize:10,showQuickJumper:!0,showSizeChanger:!1,total:a==null?void 0:a.course_count,onChange:(Tt,wt)=>{Be(Tt),Mt(Tt,10,tn)}})),e.createElement("div",{className:`${i.wrap} ${i.flexRow}`},e.createElement("div",{className:i.rankLeft},e.createElement("div",{className:i.basicTitle},"\u6559\u5E08\u6392\u540D"),!H&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),H&&((Te=H==null?void 0:H.teachers)!=null&&Te.length?e.createElement(m.default,{columns:c,dataSource:H==null?void 0:H.teachers,loading:gt,pagination:!1}):e.createElement(N.Z,null))),e.createElement("div",{className:i.rankRight},e.createElement("div",{className:i.basicTitle},"\u5728\u7EBF\u5B9E\u8BAD\u60C5\u51B5"),!P&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),P&&(P!=null&&P.length?e.createElement(Re.Z,{option:de(P,l),style:{height:600},opts:{renderer:"svg"}}):e.createElement(N.Z,null)))),e.createElement("div",{className:`${i.wrap} ${i.flexRow}`},e.createElement("div",{className:i.rankLeft},e.createElement("div",{className:i.basicTitle},"\u5B66\u751F\u6392\u540D"),!w&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),w&&((ct=w==null?void 0:w.teachers)!=null&&ct.length?e.createElement(m.default,{columns:ie,dataSource:w==null?void 0:w.teachers,loading:bt,pagination:!1}):e.createElement(N.Z,null))),e.createElement("div",{className:i.rankRight},e.createElement("div",{className:i.basicTitle},"\u6700\u70ED\u8BC4\u6D4B"),!ge&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),ge&&(ge!=null&&ge.length?e.createElement(Re.Z,{option:ke(ge,xe),style:{height:600},opts:{renderer:"svg"}}):e.createElement(N.Z,null)))))};var et=(0,p.connect)(({shixunsDetail:fe,loading:ce,globalSetting:Ge})=>({shixunsDetail:fe,globalSetting:Ge,loading:ce.models.index}))(je)},29509:function(Zt,re,t){t.d(re,{o2:function(){return R},yT:function(){return g}});var e=t(77654),p=t(34998);const m=p.i.map(f=>`${f}-inverse`),Z=["success","processing","error","default","warning"];function R(f){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,e.Z)(m),(0,e.Z)(p.i)).includes(f):p.i.includes(f)}function g(f){return Z.includes(f)}},9981:function(Zt,re){const t=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let p=1;p{const R=m[Z];R!==void 0&&(e[Z]=R)})}return e};re.Z=t},99402:function(Zt,re,t){t.d(re,{T:function(){return p},n:function(){return e}});function e(m){return["small","middle","large"].includes(m)}function p(m){return m?typeof m=="number"&&!Number.isNaN(m):!1}},86013:function(Zt,re,t){var e=t(59301),p=t(19248);const m=Z=>{let R;return typeof Z=="object"&&(Z!=null&&Z.clearIcon)?R=Z:Z&&(R={clearIcon:e.createElement(p.Z,null)}),R};re.Z=m},97224:function(Zt,re,t){t.d(re,{F:function(){return e}});function e(m){return m!=null&&m===m.window}const p=m=>{var Z,R;if(typeof window=="undefined")return 0;let g=0;return e(m)?g=m.pageYOffset:m instanceof Document?g=m.documentElement.scrollTop:(m instanceof HTMLElement||m)&&(g=m.scrollTop),m&&!e(m)&&typeof g!="number"&&(g=(R=((Z=m.ownerDocument)!==null&&Z!==void 0?Z:m).documentElement)===null||R===void 0?void 0:R.scrollTop),g};re.Z=p},52838:function(Zt,re,t){t.d(re,{Z:function(){return g}});var e=t(37645);function p(f,y,N,n){if(n===!1)return{adjustX:!1,adjustY:!1};const D=n&&typeof n=="object"?n:{},S={};switch(f){case"top":case"bottom":S.shiftX=y.arrowOffsetHorizontal*2+N,S.shiftY=!0,S.adjustY=!0;break;case"left":case"right":S.shiftY=y.arrowOffsetVertical*2+N,S.shiftX=!0,S.adjustX=!0;break}const O=Object.assign(Object.assign({},S),D);return O.shiftX||(O.adjustX=!0),O.shiftY||(O.adjustY=!0),O}const m={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Z={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},R=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function g(f){const{arrowWidth:y,autoAdjustOverflow:N,arrowPointAtCenter:n,offset:D,borderRadius:S,visibleFirst:O}=f,J=y/2,Ae={};return Object.keys(m).forEach(Y=>{const q=n&&Z[Y]||m[Y],ye=Object.assign(Object.assign({},q),{offset:[0,0],dynamicInset:!0});switch(Ae[Y]=ye,R.has(Y)&&(ye.autoArrow=!1),Y){case"top":case"topLeft":case"topRight":ye.offset[1]=-J-D;break;case"bottom":case"bottomLeft":case"bottomRight":ye.offset[1]=J+D;break;case"left":case"leftTop":case"leftBottom":ye.offset[0]=-J-D;break;case"right":case"rightTop":case"rightBottom":ye.offset[0]=J+D;break}const v=(0,e.wZ)({contentRadius:S,limitVerticalRadius:!0});if(n)switch(Y){case"topLeft":case"bottomLeft":ye.offset[0]=-v.arrowOffsetHorizontal-J;break;case"topRight":case"bottomRight":ye.offset[0]=v.arrowOffsetHorizontal+J;break;case"leftTop":case"rightTop":ye.offset[1]=-v.arrowOffsetHorizontal*2+J;break;case"leftBottom":case"rightBottom":ye.offset[1]=v.arrowOffsetHorizontal*2-J;break}ye.overflow=p(Y,v,y,N),O&&(ye.htmlRegion="visibleFirst")}),Ae}},83010:function(Zt,re,t){t.d(re,{Z:function(){return Z}});var e=t(16089);function p(R,g,f,y){const N=f-g;return R/=y/2,R<1?N/2*R*R*R+g:N/2*((R-=2)*R*R+2)+g}var m=t(97224);function Z(R){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:f=()=>window,callback:y,duration:N=450}=g,n=f(),D=(0,m.Z)(n),S=Date.now(),O=()=>{const Ae=Date.now()-S,Y=p(Ae>N?N:Ae,D,R,N);(0,m.F)(n)?n.scrollTo(window.pageXOffset,Y):n instanceof Document||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=Y:n.scrollTop=Y,Aef||g},62673:function(Zt,re,t){t.d(re,{default:function(){return ke}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(16632),R=t(8654),g=t(12919),f=t(63872),y=t(48755),N=t(2171),n=t(83397),D=t(56553),O=e.createContext(null),J=t(36170),Ae=t(74632),Y=function(Re,ee){var be={};for(var Q in Re)Object.prototype.hasOwnProperty.call(Re,Q)&&ee.indexOf(Q)<0&&(be[Q]=Re[Q]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,Q=Object.getOwnPropertySymbols(Re);M{var be;const{prefixCls:Q,className:M,rootClassName:s,children:_,indeterminate:j=!1,style:De,onMouseEnter:se,onMouseLeave:je,skipGroup:et=!1,disabled:fe}=Re,ce=Y(Re,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ge,direction:U,checkbox:ve}=e.useContext(y.E_),ae=e.useContext(O),{isFormItemInput:ze}=e.useContext(D.aM),L=e.useContext(N.Z),pe=(be=(ae==null?void 0:ae.disabled)||fe)!==null&&be!==void 0?be:L,Te=e.useRef(ce.value),ct=e.useRef(null),Xe=(0,R.sQ)(ee,ct);e.useEffect(()=>{ae==null||ae.registerValue(ce.value)},[]),e.useEffect(()=>{if(!et)return ce.value!==Te.current&&(ae==null||ae.cancelValue(Te.current),ae==null||ae.registerValue(ce.value),Te.current=ce.value),()=>ae==null?void 0:ae.cancelValue(ce.value)},[ce.value]),e.useEffect(()=>{var w;!((w=ct.current)===null||w===void 0)&&w.input&&(ct.current.input.indeterminate=j)},[j]);const k=Ge("checkbox",Q),K=(0,n.Z)(k),[oe,b,ue]=(0,J.ZP)(k,K),T=Object.assign({},ce);ae&&!et&&(T.onChange=function(){ce.onChange&&ce.onChange.apply(ce,arguments),ae.toggleOption&&ae.toggleOption({label:_,value:ce.value})},T.name=ae.name,T.checked=ae.value.includes(ce.value));const a=m()(`${k}-wrapper`,{[`${k}-rtl`]:U==="rtl",[`${k}-wrapper-checked`]:T.checked,[`${k}-wrapper-disabled`]:pe,[`${k}-wrapper-in-form-item`]:ze},ve==null?void 0:ve.className,M,s,ue,K,b),u=m()({[`${k}-indeterminate`]:j},f.A,b),[H,A]=(0,Ae.Z)(T.onClick);return oe(e.createElement(g.Z,{component:"Checkbox",disabled:pe},e.createElement("label",{className:a,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),De),onMouseEnter:se,onMouseLeave:je,onClick:H},e.createElement(Z.Z,Object.assign({},T,{onClick:A,prefixCls:k,className:u,disabled:pe,ref:Xe})),_!==void 0&&e.createElement("span",{className:`${k}-label`},_))))};var v=e.forwardRef(q),X=t(77654),i=t(2738),c=function(Re,ee){var be={};for(var Q in Re)Object.prototype.hasOwnProperty.call(Re,Q)&&ee.indexOf(Q)<0&&(be[Q]=Re[Q]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,Q=Object.getOwnPropertySymbols(Re);M{const{defaultValue:be,children:Q,options:M=[],prefixCls:s,className:_,rootClassName:j,style:De,onChange:se}=Re,je=c(Re,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:et,direction:fe}=e.useContext(y.E_),[ce,Ge]=e.useState(je.value||be||[]),[U,ve]=e.useState([]);e.useEffect(()=>{"value"in je&&Ge(je.value||[])},[je.value]);const ae=e.useMemo(()=>M.map(u=>typeof u=="string"||typeof u=="number"?{label:u,value:u}:u),[M]),ze=u=>{ve(H=>H.filter(A=>A!==u))},L=u=>{ve(H=>[].concat((0,X.Z)(H),[u]))},pe=u=>{const H=ce.indexOf(u.value),A=(0,X.Z)(ce);H===-1?A.push(u.value):A.splice(H,1),"value"in je||Ge(A),se==null||se(A.filter(w=>U.includes(w)).sort((w,B)=>{const P=ae.findIndex(l=>l.value===w),W=ae.findIndex(l=>l.value===B);return P-W}))},Te=et("checkbox",s),ct=`${Te}-group`,Xe=(0,n.Z)(Te),[k,K,oe]=(0,J.ZP)(Te,Xe),b=(0,i.Z)(je,["value","disabled"]),ue=M.length?ae.map(u=>e.createElement(v,{prefixCls:Te,key:u.value.toString(),disabled:"disabled"in u?u.disabled:je.disabled,value:u.value,checked:ce.includes(u.value),onChange:u.onChange,className:`${ct}-item`,style:u.style,title:u.title,id:u.id,required:u.required},u.label)):Q,T={toggleOption:pe,value:ce,disabled:je.disabled,name:je.name,registerValue:L,cancelValue:ze},a=m()(ct,{[`${ct}-rtl`]:fe==="rtl"},_,j,oe,Xe,K);return k(e.createElement("div",Object.assign({className:a,style:De},b,{ref:ee}),e.createElement(O.Provider,{value:T},ue)))});const de=v;de.Group=ie,de.__ANT_CHECKBOX=!0;var ke=de},36170:function(Zt,re,t){t.d(re,{C2:function(){return g}});var e=t(36237),p=t(63356),m=t(51636),Z=t(16931);const R=f=>{const{checkboxCls:y}=f,N=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,p.Wf)(f)),{display:"inline-flex",flexWrap:"wrap",columnGap:f.marginXS,[`> ${f.antCls}-row`]:{flex:1}}),[N]:Object.assign(Object.assign({},(0,p.Wf)(f)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${N}`]:{marginInlineStart:0},[`&${N}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,p.Wf)(f)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:f.borderRadiusSM,alignSelf:"center",[`${y}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${y}-inner`]:Object.assign({},(0,p.oN)(f))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:f.checkboxSize,height:f.checkboxSize,direction:"ltr",backgroundColor:f.colorBgContainer,border:`${(0,e.unit)(f.lineWidth)} ${f.lineType} ${f.colorBorder}`,borderRadius:f.borderRadiusSM,borderCollapse:"separate",transition:`all ${f.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:f.calc(f.checkboxSize).div(14).mul(5).equal(),height:f.calc(f.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(f.lineWidthBold)} solid ${f.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${f.motionDurationFast} ${f.motionEaseInBack}, opacity ${f.motionDurationFast}`}},"& + span":{paddingInlineStart:f.paddingXS,paddingInlineEnd:f.paddingXS}})},{[` +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[2476],{89489:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},59477:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},40001:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},49198:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},84105:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},18785:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},52671:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},8657:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},56082:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},33853:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},15075:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},62772:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},43531:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},47472:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(60499),p=t(59301),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Z=m,R=t(7657),g=function(n,D){return p.createElement(R.Z,(0,e.Z)({},n,{ref:D,icon:Z}))},f=p.forwardRef(g),y=f},68196:function(Tt,re,t){t.d(re,{Z:function(){return k}});var e=t(85899),p=t(72190),m=t(42244),Z=t(43403),R=t(92310),g=t.n(R),f=t(29301),y=t(76846),N=t(96452),n=t(6089),D=t(80402),S=t(34280),O=t(49658),J=t(59301),Ae=t(60499),Y=t(77900),q=t(8654);function ye(K){var oe=K.prefixCls,b=K.align,ue=K.arrow,T=K.arrowPos,a=ue||{},u=a.className,H=a.content,A=T.x,w=A===void 0?0:A,B=T.y,P=B===void 0?0:B,W=J.useRef();if(!b||!b.points)return null;var l={position:"absolute"};if(b.autoArrow!==!1){var d=b.points[0],xe=b.points[1],te=d[0],ge=d[1],Ce=xe[0],Ze=xe[1];te===Ce||!["t","b"].includes(te)?l.top=P:te==="t"?l.top=0:l.bottom=0,ge===Ze||!["l","r"].includes(ge)?l.left=w:ge==="l"?l.left=0:l.right=0}return J.createElement("div",{ref:W,className:g()("".concat(oe,"-arrow"),u),style:l},H)}function v(K){var oe=K.prefixCls,b=K.open,ue=K.zIndex,T=K.mask,a=K.motion;return T?J.createElement(Y.default,(0,Ae.Z)({},a,{motionAppear:!0,visible:b,removeOnLeave:!0}),function(u){var H=u.className;return J.createElement("div",{style:{zIndex:ue},className:g()("".concat(oe,"-mask"),H)})}):null}var X=J.memo(function(K){var oe=K.children;return oe},function(K,oe){return oe.cache}),i=X,c=J.forwardRef(function(K,oe){var b=K.popup,ue=K.className,T=K.prefixCls,a=K.style,u=K.target,H=K.onVisibleChanged,A=K.open,w=K.keepDom,B=K.fresh,P=K.onClick,W=K.mask,l=K.arrow,d=K.arrowPos,xe=K.align,te=K.motion,ge=K.maskMotion,Ce=K.forceRender,Ze=K.getPopupContainer,Be=K.autoDestroy,Ne=K.portal,Le=K.zIndex,gt=K.onMouseEnter,it=K.onMouseLeave,bt=K.onPointerEnter,yt=K.onPointerDownCapture,tn=K.ready,dt=K.offsetX,rt=K.offsetY,Lt=K.offsetR,vt=K.offsetB,Mt=K.onAlign,_t=K.onPrepare,Et=K.stretch,cn=K.targetWidth,mt=K.targetHeight,ht=typeof b=="function"?b():b,zt=A||w,Zt=(Ze==null?void 0:Ze.length)>0,wt=J.useState(!Ze||!Zt),Xt=(0,p.Z)(wt,2),pn=Xt[0],zn=Xt[1];if((0,S.Z)(function(){!pn&&Zt&&u&&zn(!0)},[pn,Zt,u]),!pn)return null;var Hn="auto",ir={left:"-1000vw",top:"-1000vh",right:Hn,bottom:Hn};if(tn||!A){var tr,nr=xe.points,bn=xe.dynamicInset||((tr=xe._experimental)===null||tr===void 0?void 0:tr.dynamicInset),Vn=bn&&nr[0][1]==="r",Un=bn&&nr[0][0]==="b";Vn?(ir.right=Lt,ir.left=Hn):(ir.left=dt,ir.right=Hn),Un?(ir.bottom=vt,ir.top=Hn):(ir.top=rt,ir.bottom=Hn)}var Yn={};return Et&&(Et.includes("height")&&mt?Yn.height=mt:Et.includes("minHeight")&&mt&&(Yn.minHeight=mt),Et.includes("width")&&cn?Yn.width=cn:Et.includes("minWidth")&&cn&&(Yn.minWidth=cn)),A||(Yn.pointerEvents="none"),J.createElement(Ne,{open:Ce||zt,getContainer:Ze&&function(){return Ze(u)},autoDestroy:Be},J.createElement(v,{prefixCls:T,open:A,zIndex:Le,mask:W,motion:ge}),J.createElement(f.Z,{onResize:Mt,disabled:!A},function(x){return J.createElement(Y.default,(0,Ae.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ce,leavedClassName:"".concat(T,"-hidden")},te,{onAppearPrepare:_t,onEnterPrepare:_t,visible:A,onVisibleChanged:function(tt){var E;te==null||(E=te.onVisibleChanged)===null||E===void 0||E.call(te,tt),H(tt)}}),function($,tt){var E=$.className,C=$.style,$e=g()(T,E,ue);return J.createElement("div",{ref:(0,q.sQ)(x,oe,tt),className:$e,style:(0,e.Z)((0,e.Z)((0,e.Z)((0,e.Z)({"--arrow-x":"".concat(d.x||0,"px"),"--arrow-y":"".concat(d.y||0,"px")},ir),Yn),C),{},{boxSizing:"border-box",zIndex:Le},a),onMouseEnter:gt,onMouseLeave:it,onPointerEnter:bt,onClick:P,onPointerDownCapture:yt},l&&J.createElement(ye,{prefixCls:T,arrow:l,arrowPos:d,align:xe}),J.createElement(i,{cache:!A&&!B},ht))})}))}),V=c,ie=J.forwardRef(function(K,oe){var b=K.children,ue=K.getTriggerDOMNode,T=(0,q.Yr)(b),a=J.useCallback(function(H){(0,q.mH)(oe,ue?ue(H):H)},[ue]),u=(0,q.x1)(a,(0,q.C4)(b));return T?J.cloneElement(b,{ref:u}):b}),de=ie,ke=J.createContext(null),Re=ke;function ee(K){return K?Array.isArray(K)?K:[K]:[]}function be(K,oe,b,ue){return J.useMemo(function(){var T=ee(b!=null?b:oe),a=ee(ue!=null?ue:oe),u=new Set(T),H=new Set(a);return K&&(u.has("hover")&&(u.delete("hover"),u.add("click")),H.has("hover")&&(H.delete("hover"),H.add("click"))),[u,H]},[K,oe,b,ue])}var Q=t(29194);function M(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],b=arguments.length>2?arguments[2]:void 0;return b?K[0]===oe[0]:K[0]===oe[0]&&K[1]===oe[1]}function s(K,oe,b,ue){for(var T=b.points,a=Object.keys(K),u=0;u1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(K)?oe:K}function je(K){return se(parseFloat(K),0)}function et(K,oe){var b=(0,e.Z)({},K);return(oe||[]).forEach(function(ue){if(!(ue instanceof HTMLBodyElement||ue instanceof HTMLHtmlElement)){var T=j(ue).getComputedStyle(ue),a=T.overflow,u=T.overflowClipMargin,H=T.borderTopWidth,A=T.borderBottomWidth,w=T.borderLeftWidth,B=T.borderRightWidth,P=ue.getBoundingClientRect(),W=ue.offsetHeight,l=ue.clientHeight,d=ue.offsetWidth,xe=ue.clientWidth,te=je(H),ge=je(A),Ce=je(w),Ze=je(B),Be=se(Math.round(P.width/d*1e3)/1e3),Ne=se(Math.round(P.height/W*1e3)/1e3),Le=(d-xe-Ce-Ze)*Be,gt=(W-l-te-ge)*Ne,it=te*Ne,bt=ge*Ne,yt=Ce*Be,tn=Ze*Be,dt=0,rt=0;if(a==="clip"){var Lt=je(u);dt=Lt*Be,rt=Lt*Ne}var vt=P.x+yt-dt,Mt=P.y+it-rt,_t=vt+P.width+2*dt-yt-tn-Le,Et=Mt+P.height+2*rt-it-bt-gt;b.left=Math.max(b.left,vt),b.top=Math.max(b.top,Mt),b.right=Math.min(b.right,_t),b.bottom=Math.min(b.bottom,Et)}}),b}function fe(K){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b="".concat(oe),ue=b.match(/^(.*)\%$/);return ue?K*(parseFloat(ue[1])/100):parseFloat(b)}function ce(K,oe){var b=oe||[],ue=(0,p.Z)(b,2),T=ue[0],a=ue[1];return[fe(K.width,T),fe(K.height,a)]}function Ge(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[K[0],K[1]]}function U(K,oe){var b=oe[0],ue=oe[1],T,a;return b==="t"?a=K.y:b==="b"?a=K.y+K.height:a=K.y+K.height/2,ue==="l"?T=K.x:ue==="r"?T=K.x+K.width:T=K.x+K.width/2,{x:T,y:a}}function ve(K,oe){var b={t:"b",b:"t",l:"r",r:"l"};return K.map(function(ue,T){return T===oe?b[ue]||"c":ue}).join("")}function ae(K,oe,b,ue,T,a,u){var H=J.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:T[ue]||{}}),A=(0,p.Z)(H,2),w=A[0],B=A[1],P=J.useRef(0),W=J.useMemo(function(){return oe?De(oe):[]},[oe]),l=J.useRef({}),d=function(){l.current={}};K||d();var xe=(0,n.Z)(function(){if(oe&&b&&K){let or=function(Wr,gn){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Me,mn=zt.x+Wr,Pn=zt.y+gn,fr=mn+Un,Or=Pn+Vn,$o=Math.max(mn,Tn.left),nn=Math.max(Pn,Tn.top),En=Math.min(fr,Tn.right),_n=Math.min(Or,Tn.bottom);return Math.max(0,(En-$o)*(_n-nn))},zr=function(){ur=zt.y+Pt,dr=ur+Vn,Xn=zt.x+ut,xt=Xn+Un};var Ce,Ze,Be,Ne,Le=oe,gt=Le.ownerDocument,it=j(Le),bt=it.getComputedStyle(Le),yt=bt.position,tn=Le.style.left,dt=Le.style.top,rt=Le.style.right,Lt=Le.style.bottom,vt=Le.style.overflow,Mt=(0,e.Z)((0,e.Z)({},T[ue]),a),_t=gt.createElement("div");(Ce=Le.parentElement)===null||Ce===void 0||Ce.appendChild(_t),_t.style.left="".concat(Le.offsetLeft,"px"),_t.style.top="".concat(Le.offsetTop,"px"),_t.style.position=yt,_t.style.height="".concat(Le.offsetHeight,"px"),_t.style.width="".concat(Le.offsetWidth,"px"),Le.style.left="0",Le.style.top="0",Le.style.right="auto",Le.style.bottom="auto",Le.style.overflow="hidden";var Et;if(Array.isArray(b))Et={x:b[0],y:b[1],width:0,height:0};else{var cn,mt,ht=b.getBoundingClientRect();ht.x=(cn=ht.x)!==null&&cn!==void 0?cn:ht.left,ht.y=(mt=ht.y)!==null&&mt!==void 0?mt:ht.top,Et={x:ht.x,y:ht.y,width:ht.width,height:ht.height}}var zt=Le.getBoundingClientRect(),Zt=it.getComputedStyle(Le),wt=Zt.height,Xt=Zt.width;zt.x=(Ze=zt.x)!==null&&Ze!==void 0?Ze:zt.left,zt.y=(Be=zt.y)!==null&&Be!==void 0?Be:zt.top;var pn=gt.documentElement,zn=pn.clientWidth,Hn=pn.clientHeight,ir=pn.scrollWidth,tr=pn.scrollHeight,nr=pn.scrollTop,bn=pn.scrollLeft,Vn=zt.height,Un=zt.width,Yn=Et.height,x=Et.width,$={left:0,top:0,right:zn,bottom:Hn},tt={left:-bn,top:-nr,right:ir-bn,bottom:tr-nr},E=Mt.htmlRegion,C="visible",$e="visibleFirst";E!=="scroll"&&E!==$e&&(E=C);var he=E===$e,Se=et(tt,W),He=et($,W),Me=E===C?He:Se,Qe=he?He:Me;Le.style.left="auto",Le.style.top="auto",Le.style.right="0",Le.style.bottom="0";var lt=Le.getBoundingClientRect();Le.style.left=tn,Le.style.top=dt,Le.style.right=rt,Le.style.bottom=Lt,Le.style.overflow=vt,(Ne=Le.parentElement)===null||Ne===void 0||Ne.removeChild(_t);var ot=se(Math.round(Un/parseFloat(Xt)*1e3)/1e3),qe=se(Math.round(Vn/parseFloat(wt)*1e3)/1e3);if(ot===0||qe===0||(0,y.Sh)(b)&&!(0,Q.Z)(b))return;var Nt=Mt.offset,Kt=Mt.targetOffset,pt=ce(zt,Nt),F=(0,p.Z)(pt,2),le=F[0],Ee=F[1],Ie=ce(Et,Kt),Pe=(0,p.Z)(Ie,2),Ke=Pe[0],Ue=Pe[1];Et.x-=Ke,Et.y-=Ue;var at=Mt.points||[],ft=(0,p.Z)(at,2),$t=ft[0],Dt=ft[1],Ct=Ge(Dt),St=Ge($t),It=U(Et,Ct),Ft=U(zt,St),qt=(0,e.Z)({},Mt),ut=It.x-Ft.x+le,Pt=It.y-Ft.y+Ee,vn=or(ut,Pt),en=or(ut,Pt,He),Yt=U(Et,["t","l"]),un=U(zt,["t","l"]),Ot=U(Et,["b","r"]),jt=U(zt,["b","r"]),Sn=Mt.overflow||{},In=Sn.adjustX,Wn=Sn.adjustY,On=Sn.shiftX,An=Sn.shiftY,kn=function(gn){return typeof gn=="boolean"?gn:gn>=0},ur,dr,Xn,xt;zr();var Je=kn(Wn),nt=St[0]===Ct[0];if(Je&&St[0]==="t"&&(dr>Qe.bottom||l.current.bt)){var Ut=Pt;nt?Ut-=Vn-Yn:Ut=Yt.y-jt.y-Ee;var Gt=or(ut,Ut),fn=or(ut,Ut,He);Gt>vn||Gt===vn&&(!he||fn>=en)?(l.current.bt=!0,Pt=Ut,Ee=-Ee,qt.points=[ve(St,0),ve(Ct,0)]):l.current.bt=!1}if(Je&&St[0]==="b"&&(urvn||Fn===vn&&(!he||Nn>=en)?(l.current.tb=!0,Pt=Dn,Ee=-Ee,qt.points=[ve(St,0),ve(Ct,0)]):l.current.tb=!1}var Jn=kn(In),Cr=St[1]===Ct[1];if(Jn&&St[1]==="l"&&(xt>Qe.right||l.current.rl)){var Sr=ut;Cr?Sr-=Un-x:Sr=Yt.x-jt.x-le;var pr=or(Sr,Pt),Qn=or(Sr,Pt,He);pr>vn||pr===vn&&(!he||Qn>=en)?(l.current.rl=!0,ut=Sr,le=-le,qt.points=[ve(St,1),ve(Ct,1)]):l.current.rl=!1}if(Jn&&St[1]==="r"&&(Xnvn||Er===vn&&(!he||Nr>=en)?(l.current.lr=!0,ut=xr,le=-le,qt.points=[ve(St,1),ve(Ct,1)]):l.current.lr=!1}zr();var lr=On===!0?0:On;typeof lr=="number"&&(XnHe.right&&(ut-=xt-He.right-le,Et.x>He.right-lr&&(ut+=Et.x-He.right+lr)));var Ir=An===!0?0:An;typeof Ir=="number"&&(urHe.bottom&&(Pt-=dr-He.bottom-Ee,Et.y>He.bottom-Ir&&(Pt+=Et.y-He.bottom+Ir)));var rr=zt.x+ut,Br=rr+Un,Xr=zt.y+Pt,jr=Xr+Vn,Hr=Et.x,Gr=Hr+x,xn=Et.y,Kn=xn+Yn,br=Math.max(rr,Hr),vr=Math.min(Br,Gr),xo=(br+vr)/2,zo=xo-rr,vo=Math.max(Xr,xn),Eo=Math.min(jr,Kn),Zo=(vo+Eo)/2,wo=Zo-Xr;u==null||u(oe,qt);var kr=lt.right-zt.x-(ut+zt.width),co=lt.bottom-zt.y-(Pt+zt.height);ot===1&&(ut=Math.floor(ut),kr=Math.floor(kr)),qe===1&&(Pt=Math.floor(Pt),co=Math.floor(co));var to={ready:!0,offsetX:ut/ot,offsetY:Pt/qe,offsetR:kr/ot,offsetB:co/qe,arrowX:zo/ot,arrowY:wo/qe,scaleX:ot,scaleY:qe,align:qt};B(to)}}),te=function(){P.current+=1;var Ze=P.current;Promise.resolve().then(function(){P.current===Ze&&xe()})},ge=function(){B(function(Ze){return(0,e.Z)((0,e.Z)({},Ze),{},{ready:!1})})};return(0,S.Z)(ge,[ue]),(0,S.Z)(function(){K||ge()},[K]),[w.ready,w.offsetX,w.offsetY,w.offsetR,w.offsetB,w.arrowX,w.arrowY,w.scaleX,w.scaleY,w.align,te]}var ze=t(77654);function L(K,oe,b,ue,T){(0,S.Z)(function(){if(K&&oe&&b){let P=function(){ue(),T()};var a=oe,u=b,H=De(a),A=De(u),w=j(u),B=new Set([w].concat((0,ze.Z)(H),(0,ze.Z)(A)));return B.forEach(function(W){W.addEventListener("scroll",P,{passive:!0})}),w.addEventListener("resize",P,{passive:!0}),ue(),function(){B.forEach(function(W){W.removeEventListener("scroll",P),w.removeEventListener("resize",P)})}}},[K,oe,b])}var pe=t(48736);function Te(K,oe,b,ue,T,a,u,H){var A=J.useRef(K);A.current=K;var w=J.useRef(!1);J.useEffect(function(){if(oe&&ue&&(!T||a)){var P=function(){w.current=!1},W=function(Be){var Ne;A.current&&!u(((Ne=Be.composedPath)===null||Ne===void 0||(Ne=Ne.call(Be))===null||Ne===void 0?void 0:Ne[0])||Be.target)&&!w.current&&H(!1)},l=j(ue);l.addEventListener("pointerdown",P,!0),l.addEventListener("mousedown",W,!0),l.addEventListener("contextmenu",W,!0);var d=(0,N.A)(b);if(d&&(d.addEventListener("mousedown",W,!0),d.addEventListener("contextmenu",W,!0)),0)var xe,te,ge,Ce;return function(){l.removeEventListener("pointerdown",P,!0),l.removeEventListener("mousedown",W,!0),l.removeEventListener("contextmenu",W,!0),d&&(d.removeEventListener("mousedown",W,!0),d.removeEventListener("contextmenu",W,!0))}}},[oe,b,ue,T,a]);function B(){w.current=!0}return B}var ct=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Ye(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Z.Z,oe=J.forwardRef(function(b,ue){var T=b.prefixCls,a=T===void 0?"rc-trigger-popup":T,u=b.children,H=b.action,A=H===void 0?"hover":H,w=b.showAction,B=b.hideAction,P=b.popupVisible,W=b.defaultPopupVisible,l=b.onPopupVisibleChange,d=b.afterPopupVisibleChange,xe=b.mouseEnterDelay,te=b.mouseLeaveDelay,ge=te===void 0?.1:te,Ce=b.focusDelay,Ze=b.blurDelay,Be=b.mask,Ne=b.maskClosable,Le=Ne===void 0?!0:Ne,gt=b.getPopupContainer,it=b.forceRender,bt=b.autoDestroy,yt=b.destroyPopupOnHide,tn=b.popup,dt=b.popupClassName,rt=b.popupStyle,Lt=b.popupPlacement,vt=b.builtinPlacements,Mt=vt===void 0?{}:vt,_t=b.popupAlign,Et=b.zIndex,cn=b.stretch,mt=b.getPopupClassNameFromAlign,ht=b.fresh,zt=b.alignPoint,Zt=b.onPopupClick,wt=b.onPopupAlign,Xt=b.arrow,pn=b.popupMotion,zn=b.maskMotion,Hn=b.popupTransitionName,ir=b.popupAnimation,tr=b.maskTransitionName,nr=b.maskAnimation,bn=b.className,Vn=b.getTriggerDOMNode,Un=(0,m.Z)(b,ct),Yn=bt||yt||!1,x=J.useState(!1),$=(0,p.Z)(x,2),tt=$[0],E=$[1];(0,S.Z)(function(){E((0,O.Z)())},[]);var C=J.useRef({}),$e=J.useContext(Re),he=J.useMemo(function(){return{registerSubPopup:function(En,_n){C.current[En]=_n,$e==null||$e.registerSubPopup(En,_n)}}},[$e]),Se=(0,D.Z)(),He=J.useState(null),Me=(0,p.Z)(He,2),Qe=Me[0],lt=Me[1],ot=J.useRef(null),qe=(0,n.Z)(function(nn){ot.current=nn,(0,y.Sh)(nn)&&Qe!==nn&<(nn),$e==null||$e.registerSubPopup(Se,nn)}),Nt=J.useState(null),Kt=(0,p.Z)(Nt,2),pt=Kt[0],F=Kt[1],le=J.useRef(null),Ee=(0,n.Z)(function(nn){(0,y.Sh)(nn)&&pt!==nn&&(F(nn),le.current=nn)}),Ie=J.Children.only(u),Pe=(Ie==null?void 0:Ie.props)||{},Ke={},Ue=(0,n.Z)(function(nn){var En,_n,wr=pt;return(wr==null?void 0:wr.contains(nn))||((En=(0,N.A)(wr))===null||En===void 0?void 0:En.host)===nn||nn===wr||(Qe==null?void 0:Qe.contains(nn))||((_n=(0,N.A)(Qe))===null||_n===void 0?void 0:_n.host)===nn||nn===Qe||Object.values(C.current).some(function(Rr){return(Rr==null?void 0:Rr.contains(nn))||nn===Rr})}),at=_(a,pn,ir,Hn),ft=_(a,zn,nr,tr),$t=J.useState(W||!1),Dt=(0,p.Z)($t,2),Ct=Dt[0],St=Dt[1],It=P!=null?P:Ct,Ft=(0,n.Z)(function(nn){P===void 0&&St(nn)});(0,S.Z)(function(){St(P||!1)},[P]);var qt=J.useRef(It);qt.current=It;var ut=J.useRef([]);ut.current=[];var Pt=(0,n.Z)(function(nn){var En;Ft(nn),((En=ut.current[ut.current.length-1])!==null&&En!==void 0?En:It)!==nn&&(ut.current.push(nn),l==null||l(nn))}),vn=J.useRef(),en=function(){clearTimeout(vn.current)},Yt=function(En){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;en(),_n===0?Pt(En):vn.current=setTimeout(function(){Pt(En)},_n*1e3)};J.useEffect(function(){return en},[]);var un=J.useState(!1),Ot=(0,p.Z)(un,2),jt=Ot[0],Sn=Ot[1];(0,S.Z)(function(nn){(!nn||It)&&Sn(!0)},[It]);var In=J.useState(null),Wn=(0,p.Z)(In,2),On=Wn[0],An=Wn[1],kn=J.useState(null),ur=(0,p.Z)(kn,2),dr=ur[0],Xn=ur[1],xt=function(En){Xn([En.clientX,En.clientY])},Je=ae(It,Qe,zt&&dr!==null?dr:pt,Lt,Mt,_t,wt),nt=(0,p.Z)(Je,11),Ut=nt[0],Gt=nt[1],fn=nt[2],Dn=nt[3],Fn=nt[4],Nn=nt[5],Jn=nt[6],Cr=nt[7],Sr=nt[8],pr=nt[9],Qn=nt[10],xr=be(tt,A,w,B),Er=(0,p.Z)(xr,2),Nr=Er[0],lr=Er[1],Ir=Nr.has("click"),rr=lr.has("click")||lr.has("contextMenu"),Br=(0,n.Z)(function(){jt||Qn()}),Xr=function(){qt.current&&zt&&rr&&Yt(!1)};L(It,pt,Qe,Br,Xr),(0,S.Z)(function(){Br()},[dr,Lt]),(0,S.Z)(function(){It&&!(Mt!=null&&Mt[Lt])&&Br()},[JSON.stringify(_t)]);var jr=J.useMemo(function(){var nn=s(Mt,a,pr,zt);return g()(nn,mt==null?void 0:mt(pr))},[pr,mt,Mt,a,zt]);J.useImperativeHandle(ue,function(){return{nativeElement:le.current,popupElement:ot.current,forceAlign:Br}});var Hr=J.useState(0),Gr=(0,p.Z)(Hr,2),xn=Gr[0],Kn=Gr[1],br=J.useState(0),vr=(0,p.Z)(br,2),xo=vr[0],zo=vr[1],vo=function(){if(cn&&pt){var En=pt.getBoundingClientRect();Kn(En.width),zo(En.height)}},Eo=function(){vo(),Br()},Zo=function(En){Sn(!1),Qn(),d==null||d(En)},wo=function(){return new Promise(function(En){vo(),An(function(){return En})})};(0,S.Z)(function(){On&&(Qn(),On(),An(null))},[On]);function kr(nn,En,_n,wr){Ke[nn]=function(Rr){var Do;wr==null||wr(Rr),Yt(En,_n);for(var Io=arguments.length,ko=new Array(Io>1?Io-1:0),ar=1;ar1?_n-1:0),Rr=1;Rr<_n;Rr++)wr[Rr-1]=arguments[Rr];(En=Pe.onClick)===null||En===void 0||En.call.apply(En,[Pe,nn].concat(wr))});var co=Te(It,rr,pt,Qe,Be,Le,Ue,Yt),to=Nr.has("hover"),or=lr.has("hover"),zr,Wr;to&&(kr("onMouseEnter",!0,xe,function(nn){xt(nn)}),kr("onPointerEnter",!0,xe,function(nn){xt(nn)}),zr=function(En){(It||jt)&&Qe!==null&&Qe!==void 0&&Qe.contains(En.target)&&Yt(!0,xe)},zt&&(Ke.onMouseMove=function(nn){var En;(En=Pe.onMouseMove)===null||En===void 0||En.call(Pe,nn)})),or&&(kr("onMouseLeave",!1,ge),kr("onPointerLeave",!1,ge),Wr=function(){Yt(!1,ge)}),Nr.has("focus")&&kr("onFocus",!0,Ce),lr.has("focus")&&kr("onBlur",!1,Ze),Nr.has("contextMenu")&&(Ke.onContextMenu=function(nn){var En;qt.current&&lr.has("contextMenu")?Yt(!1):(xt(nn),Yt(!0)),nn.preventDefault();for(var _n=arguments.length,wr=new Array(_n>1?_n-1:0),Rr=1;Rr<_n;Rr++)wr[Rr-1]=arguments[Rr];(En=Pe.onContextMenu)===null||En===void 0||En.call.apply(En,[Pe,nn].concat(wr))}),bn&&(Ke.className=g()(Pe.className,bn));var gn=J.useRef(!1);gn.current||(gn.current=it||It||jt);var Tn=(0,e.Z)((0,e.Z)({},Pe),Ke),mn={},Pn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Pn.forEach(function(nn){Un[nn]&&(mn[nn]=function(){for(var En,_n=arguments.length,wr=new Array(_n),Rr=0;Rr<_n;Rr++)wr[Rr]=arguments[Rr];(En=Tn[nn])===null||En===void 0||En.call.apply(En,[Tn].concat(wr)),Un[nn].apply(Un,wr)})});var fr=J.cloneElement(Ie,(0,e.Z)((0,e.Z)({},Tn),mn)),Or={x:Nn,y:Jn},$o=Xt?(0,e.Z)({},Xt!==!0?Xt:{}):null;return J.createElement(J.Fragment,null,J.createElement(f.Z,{disabled:!It,ref:Ee,onResize:Eo},J.createElement(de,{getTriggerDOMNode:Vn},fr)),gn.current&&J.createElement(Re.Provider,{value:he},J.createElement(V,{portal:K,ref:qe,prefixCls:a,popup:tn,className:g()(dt,jr),style:rt,target:pt,onMouseEnter:zr,onMouseLeave:Wr,onPointerEnter:zr,zIndex:Et,open:It,keepDom:jt,fresh:ht,onClick:Zt,onPointerDownCapture:co,mask:Be,motion:at,maskMotion:ft,onVisibleChanged:Zo,onPrepare:wo,forceRender:it,autoDestroy:Yn,getPopupContainer:gt,align:pr,arrow:$o,arrowPos:Or,ready:Ut,offsetX:Gt,offsetY:fn,offsetR:Dn,offsetB:Fn,onAlign:Br,stretch:cn,targetWidth:xn/Cr,targetHeight:xo/Sr})))});return oe}var k=Ye(Z.Z)},90736:function(Tt,re,t){var e=t(59301),p=t(4977),m=t(7939),Z=Object.defineProperty,R=Object.defineProperties,g=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,n=(J,Ae,Y)=>Ae in J?Z(J,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Y}):J[Ae]=Y,D=(J,Ae)=>{for(var Y in Ae||(Ae={}))y.call(Ae,Y)&&n(J,Y,Ae[Y]);if(f)for(var Y of f(Ae))N.call(Ae,Y)&&n(J,Y,Ae[Y]);return J},S=(J,Ae)=>R(J,g(Ae));const O=({img:J,buttonProps:Ae={},styles:Y={},customText:q,ButtonText:ye,ButtonClick:v,Buttonclass:X,ButtonTwo:i,imgStyles:c,loading:V=!1,className:ie=""})=>e.createElement("section",{className:`tc animated fadeIn ${ie}`,style:D({color:"#999",margin:"100px auto",visibility:V?"hidden":"visible"},Y)},e.createElement("img",{src:J||p,style:S(D({},c),{pointerEvents:"none",userSelect:"none"})}),e.createElement("p",{className:"mt20 font14"},q||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),ye&&e.createElement(m.ZP,D({className:X,onClick:v},Ae),ye),i&&i);re.Z=O},12570:function(Tt,re,t){t.r(re),t.d(re,{default:function(){return et}});var e=t(59301),p=t(44283),m=t(70858),Z=t(77019),R=t(5269),g=t(29787),f=t(31691),y=t(31709),N=t(90736),n=t(49317),D=(fe,ce,Ge)=>new Promise((U,ve)=>{var ae=pe=>{try{L(Ge.next(pe))}catch(Te){ve(Te)}},ze=pe=>{try{L(Ge.throw(pe))}catch(Te){ve(Te)}},L=pe=>pe.done?U(pe.value):Promise.resolve(pe.value).then(ae,ze);L((Ge=Ge.apply(fe,ce)).next())});function S(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/statistics.json`,{method:"Get",params:fe})})}function O(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/shixun_report_count.json`,{method:"Get",params:fe})})}function J(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/shixun_time.json`,{method:"Get",params:fe})})}function Ae(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/course_statistics.json`,{method:"Get",params:fe})})}function Y(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/teachers.json`,{method:"Get",params:fe})})}function q(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/student_shixun.json`,{method:"Get",params:fe})})}function ye(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/shixun_chart_data.json`,{method:"Get",params:fe})})}function v(fe){return D(this,null,function*(){return(0,n.ZP)(`/api/colleges/${fe.id}/student_hot_evaluations.json`,{method:"Get",params:fe})})}var X=t(14185),i={flex_box_center:"flex_box_center___y89i6",flex_space_between:"flex_space_between___pS5dL",flex_box_vertical_center:"flex_box_vertical_center____2LVE",flex_box_center_end:"flex_box_center_end___PQwfE",flex_box_column:"flex_box_column___mcqTs",bg:"bg___KoleD",header:"header___a40Js",headerContent:"headerContent___GdspA",headTitle:"headTitle___VDwhX",headItemTitle:"headItemTitle___ZIs1u",headItemValue:"headItemValue___EdBZX",wrap:"wrap___NLrQO",basicTitle:"basicTitle___iT0WG",basicHead:"basicHead___CrVZt",basicContent:"basicContent___TWAWX",basicItem:"basicItem___eumHg",basicItemText:"basicItemText____G4DY",courseLoading:"courseLoading___gfXHB",maxWidth220:"maxWidth220___Nmptq",maxWidth340:"maxWidth340___oAjgs",maxWidth175:"maxWidth175___o7CAE",maxWidth225:"maxWidth225___DF_oe",maxWidth255:"maxWidth255___tv5lt",maxWidth105:"maxWidth105___YPLXN",colorFFC:"colorFFC___FHqyu",colorBlack:"colorBlack___rQLh9",colorGreen:"colorGreen___NGxX3",color4CA:"color4CA___y9vkS",rankLeft:"rankLeft___ykcxN",rankRight:"rankRight___KX7ZN",flexRow:"flexRow___zvz21",tabSty:"tabSty___qsNqt"};const c=[{title:"\u6392\u540D",dataIndex:"ranking",key:"ranking",align:"center",render:(fe,ce,Ge)=>Ge+1},{title:"\u59D3\u540D",dataIndex:"name",key:"name",align:"center",className:i.maxWidth105,render:(fe,ce)=>e.createElement("a",{href:`/users/${ce.login}`,title:ce.name,target:"_blank"},ce.name)},{title:"\u7BA1\u7406\u8BFE\u5802",dataIndex:"classroom",key:"classroom",align:"center",className:i.maxWidth175,render:(fe,ce)=>e.createElement("span",null,ce.course_count)},{title:"\u5DF2\u53D1\u5E03\u5B9E\u8BAD\u4F5C\u4E1A",key:"assignment",dataIndex:"assignment",align:"center",className:i.maxWidth255,render:(fe,ce)=>e.createElement("span",null,ce.shixun_work_count)},{title:"\u672A\u53D1\u5E03\u5B9E\u8BAD\u4F5C\u4E1A",dataIndex:"released",key:"released",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.un_shixun_work_count)},{title:"\u5B66\u751F\u6570",dataIndex:"studentnumber",key:"studentnumber",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.student_count)},{title:"\u5B8C\u6210\u7387",dataIndex:"completionrate",key:"completionrate",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.complete_rate+"%")},{title:"\u53D1\u5E03\u5B9E\u8BAD",dataIndex:"releasetraining",key:"releasetraining",align:"center",render:(fe,ce)=>e.createElement("span",{className:i.color4CA},ce.publish_shixun_count)}],V=fe=>{const ce=`${X.Z.IMG_SERVER}/images/educoder/competition/${fe}.png`;return{1:e.createElement("img",{width:"18px",height:"22px",className:"mt5",src:ce}),2:e.createElement("img",{width:"18px",height:"22px",className:"mt5",src:ce}),3:e.createElement("img",{width:"18px",height:"22px",className:"mt5",src:ce})}[fe]||fe},ie=[{title:"\u6392\u540D",dataIndex:"ranking",key:"ranking",align:"center",className:"edu-txt-center font-14",width:"100px",render:(fe,ce,Ge)=>e.createElement("span",null,V(Ge+1))},{title:"\u59D3\u540D",dataIndex:"name",key:"name",align:"center",className:i.maxWidth105,render:(fe,ce)=>e.createElement("a",{href:`/users/${ce.login}`,title:ce.name,target:"_blank"},ce.name)},{title:"\u5B66\u53F7",dataIndex:"studentid",key:"studentid",align:"center",className:i.maxWidth175,render:(fe,ce)=>e.createElement("span",null,ce.student_id)},{title:"\u5B8C\u6210\u5B9E\u8BAD",key:"training",dataIndex:"training",align:"center",className:i.maxWidth225,render:(fe,ce)=>e.createElement("span",null,ce.shixun_count)},{title:"\u5728\u5B66\u5B9E\u8BAD",dataIndex:"learning",key:"learning",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.study_shixun_count)},{title:"\u91D1\u5E01",dataIndex:"goldcoin",key:"goldcoin",align:"center",render:(fe,ce)=>e.createElement("span",null,ce.grade)},{title:"\u7ECF\u9A8C\u503C",dataIndex:"empirical",key:"empirical",align:"center",render:(fe,ce)=>e.createElement("span",{className:i.colorGreen},ce.experience)}],de=(fe=[],ce=[])=>({tooltip:{trigger:"item",formatter:"{d}%
"},legend:{bottom:50,left:"center",data:ce},series:[{type:"pie",radius:"65%",center:["50%","35%"],selectedMode:"single",data:fe,itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}),ke=(fe=[],ce=[])=>{const Ge=["#962e66","#623363","#CCCCCC","#9A9A9A","#FF8080","#FF80C2","#B980FF","#80B9FF","#6FE9FF","#4DE8B4","#F8EF63","#FFB967"];return{backgroundColor:"#fff",grid:{left:"3%",right:"8%",bottom:"15%",containLabel:!0},tooltip:{show:"true",trigger:"item",formatter:"{c0}",backgroundColor:"rgba(0,0,0,0.7)",padding:[8,10],extraCssText:"box-shadow: 0 0 3px rgba(255, 255, 255, 0.4);",axisPointer:{type:"shadow"}},xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!0,lineStyle:{color:"#CCCCCC"}},splitLine:{show:!1,lineStyle:{color:"#CCCCCC"}},axisLabel:{textStyle:{color:"#656565",fontWeight:"normal",fontSize:"12"},formatter:"{value}"}},yAxis:{type:"category",axisLine:{lineStyle:{color:"#cccccc"}},splitLine:{show:!1},axisTick:{show:!1},splitArea:{show:!1},axisLabel:{inside:!1,textStyle:{color:"#656565",fontWeight:"normal",fontSize:"12"}},data:fe},series:[{name:"",type:"bar",itemStyle:{normal:{show:!0,color:function(U){return Ge[U.dataIndex]},barBorderRadius:50,borderWidth:0,borderColor:"#333"}},barGap:"0%",barCategoryGap:"50%",data:ce}]}};var Re=t(42441),ee=t(76406),be=Object.defineProperty,Q=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,_=(fe,ce,Ge)=>ce in fe?be(fe,ce,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):fe[ce]=Ge,j=(fe,ce)=>{for(var Ge in ce||(ce={}))M.call(ce,Ge)&&_(fe,Ge,ce[Ge]);if(Q)for(var Ge of Q(ce))s.call(ce,Ge)&&_(fe,Ge,ce[Ge]);return fe},De=(fe,ce)=>{var Ge={};for(var U in fe)M.call(fe,U)&&ce.indexOf(U)<0&&(Ge[U]=fe[U]);if(fe!=null&&Q)for(var U of Q(fe))ce.indexOf(U)<0&&s.call(fe,U)&&(Ge[U]=fe[U]);return Ge},se=(fe,ce,Ge)=>new Promise((U,ve)=>{var ae=pe=>{try{L(Ge.next(pe))}catch(Te){ve(Te)}},ze=pe=>{try{L(Ge.throw(pe))}catch(Te){ve(Te)}},L=pe=>pe.done?U(pe.value):Promise.resolve(pe.value).then(ae,ze);L((Ge=Ge.apply(fe,ce)).next())});const je=fe=>{var ce=fe,{shixunsDetail:Ge,globalSetting:U,loading:ve,dispatch:ae}=ce,ze=De(ce,["shixunsDetail","globalSetting","loading","dispatch"]),L,pe,Te,ct;const Ye=(0,p.useParams)(),[k,K]=(0,e.useState)({}),[oe,b]=(0,e.useState)(),[ue,T]=(0,e.useState)(),[a,u]=(0,e.useState)(),[H,A]=(0,e.useState)(),[w,B]=(0,e.useState)(),[P,W]=(0,e.useState)(),[l,d]=(0,e.useState)(),[xe,te]=(0,e.useState)(),[ge,Ce]=(0,e.useState)(),[Ze,Be]=(0,e.useState)(1),[Ne,Le]=(0,e.useState)(!1),[gt,it]=(0,e.useState)(!1),[bt,yt]=(0,e.useState)(!1),[tn,dt]=(0,e.useState)("1");(0,e.useEffect)(()=>{(0,ee.Dk)("\u5B66\u9662\u7EDF\u8BA1"),Ye.id&&(rt(),Lt(),vt(),_t(1,10),Et(1,10),cn(),mt(),Mt(1,10))},[Ye.id]);const rt=()=>se(void 0,null,function*(){const Zt=yield S({id:Ye.id});(0,ee.Dk)((Zt==null?void 0:Zt.school)||"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0"),K(Zt||{})}),Lt=()=>se(void 0,null,function*(){const Zt=yield O({id:Ye.id});b((Zt==null?void 0:Zt.shixun_report_count)||0)}),vt=()=>se(void 0,null,function*(){const Zt=yield J({id:Ye.id});T((Zt==null?void 0:Zt.shixun_time)||0)}),Mt=(Zt,wt,Xt="1")=>se(void 0,null,function*(){Le(!0);const pn=yield Ae(j({id:Ye.id,page:Zt,per_page:wt,type:Xt},Ye)).catch(zn=>Le(!1));Le(!1),u(pn||[])}),_t=(Zt,wt)=>se(void 0,null,function*(){it(!0);const Xt=yield Y({id:Ye.id,page:Zt,per_page:wt}).catch(pn=>it(!1));it(!1),A(Xt||[])}),Et=(Zt,wt)=>se(void 0,null,function*(){yt(!0);const Xt=yield q({id:Ye.id,page:Zt,per_page:wt}).catch(pn=>yt(!1));yt(!1),B(Xt||[])}),cn=()=>se(void 0,null,function*(){const Zt=yield ye({id:Ye.id});W((Zt==null?void 0:Zt.data)||[]),d((Zt==null?void 0:Zt.names)||[])}),mt=()=>se(void 0,null,function*(){const Zt=yield v({id:Ye.id});te((Zt==null?void 0:Zt.values)||[]),Ce((Zt==null?void 0:Zt.names)||[])}),ht=[{title:"\u540D\u79F0",dataIndex:"name",key:"name",align:"center",className:i.maxWidth220,render:(Zt,wt)=>e.createElement("a",{href:`/classrooms/${wt.id}/students`,title:wt.name,target:"_blank"},wt.name)},{title:"\u7BA1\u7406\u6559\u5E08",dataIndex:"teachers",key:"teachers",align:"center",className:i.maxWidth340,render:(Zt,wt)=>e.createElement("span",{className:i.colorBlack,title:wt.teachers},wt.teachers)},{title:"\u5B66\u751F",key:"student_count",dataIndex:"student",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Ye.sort_name==="student_count"?Ye.sort===2?"descend":"ascend":null,className:i.maxWidth225,render:(Zt,wt)=>e.createElement("span",{className:i.colorBlack},wt.student_count)},{title:"\u5B9E\u8BAD\u4F5C\u4E1A",dataIndex:"training",key:"shixun_work_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Ye.sort_name==="shixun_work_count"?Ye.sort===2?"descend":"ascend":null,render:(Zt,wt)=>e.createElement("span",{className:i.colorBlack},wt.shixun_work_count)},{title:"\u8D44\u6E90",dataIndex:"resources",key:"attachments_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Ye.sort_name==="attachments_count"?Ye.sort===2?"descend":"ascend":null,render:(Zt,wt)=>e.createElement("span",{className:i.colorBlack},wt==null?void 0:wt.attachments_count)},{title:"\u5E16\u5B50",dataIndex:"posts",key:"message_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Ye.sort_name==="message_count"?Ye.sort===2?"descend":"ascend":null,render:(Zt,wt)=>e.createElement("span",{className:i.colorBlack},wt.message_count)},{title:"\u5176\u5B83\u4EFB\u52A1",dataIndex:"othertasks",key:"other_work_count",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Ye.sort_name==="other_work_count"?Ye.sort===2?"descend":"ascend":null,render:(Zt,wt)=>e.createElement("span",{className:i.colorBlack},wt.other_work_count)},{title:"\u72B6\u6001",dataIndex:"states",key:"states",align:"center",render:(Zt,wt)=>e.createElement("span",{className:wt.is_end?i.colorBlack:i.colorFFC},wt.is_end?"\u5DF2\u7ED3\u675F":"\u6B63\u5728\u8FDB\u884C")},{title:"\u6700\u65B0\u6D3B\u8DC3\u65F6\u95F4",dataIndex:"timemy",key:"activity_time",align:"center",sorter:!0,showSorterTooltip:!1,sortOrder:Ye.sort_name==="activity_time"?Ye.sort===2?"descend":"ascend":null,render:(Zt,wt)=>e.createElement("span",{className:i.colorBlack},wt.activity_time)}],zt=[{key:"1",label:"\u6D3B\u8DC3\u8BFE\u5802",children:(L=a==null?void 0:a.courses)!=null&&L.length?e.createElement(m.default,{columns:ht,dataSource:a==null?void 0:a.courses,loading:Ne,onChange:(Zt,wt,Xt)=>{Ye.sort_name=Xt==null?void 0:Xt.columnKey,Xt.order==="ascend"&&(Ye.sort=1),Xt.order==="descend"&&(Ye.sort=2),Xt.order||(Ye.sort=1),Be(1),Mt(1,10,"1")},pagination:!1}):e.createElement(N.Z,null)},{key:"2",label:"\u975E\u6D3B\u8DC3\u8BFE\u5802",children:(pe=a==null?void 0:a.courses)!=null&&pe.length?e.createElement(m.default,{columns:ht,dataSource:a==null?void 0:a.courses,loading:Ne,onChange:(Zt,wt,Xt)=>{Ye.sort_name=Xt==null?void 0:Xt.columnKey,Xt.order==="ascend"&&(Ye.sort=1),Xt.order==="descend"&&(Ye.sort=2),Xt.order||(Ye.sort=1),Be(1),Mt(1,10,"2")},pagination:!1}):e.createElement(N.Z,null)}];return e.createElement("section",{className:i.bg},e.createElement("header",{className:i.header},e.createElement("div",{className:i.headerContent},e.createElement("div",{className:i.headTitle},k==null?void 0:k.school),e.createElement(Z.Z,{justify:"space-around",gutter:[40,0]},e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u6559\u5E08"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.teachers_count)||0)),e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u5B66\u751F"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.students_count)||0)),e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u8BFE\u5802"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.courses_count)||0)),e.createElement(R.Z,{span:4,className:"tc"},e.createElement("p",{className:i.headItemTitle},"\u5171\u5EFA\u5B9E\u8BAD"),e.createElement("p",{className:i.headItemValue},(k==null?void 0:k.shixuns_count)||0))))),e.createElement("div",{className:i.wrap},e.createElement("div",{className:i.basicTitle},"\u57FA\u672C\u4F7F\u7528\u60C5\u51B5"),e.createElement("div",{className:i.basicHead},e.createElement("p",null,"\u6559\u5E08"),e.createElement("p",null,"\u5B66\u751F"),e.createElement("p",null,"\u8BFE\u5802"),e.createElement("p",null,"\u5171\u5EFA\u5B9E\u8BAD"),e.createElement("p",null,"\u5B9E\u8BAD\u62A5\u544A"),e.createElement("p",null,"\u5B66\u5458\u5B9E\u6218\u65F6\u95F4")),e.createElement("div",{className:i.basicContent},e.createElement("div",{className:i.basicItem},k!=null&&k.teachers_count||(k==null?void 0:k.teachers_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.teachers_count,e.createElement("span",{className:i.basicItemText},"\u4EBA")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},k!=null&&k.students_count||(k==null?void 0:k.students_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.students_count,e.createElement("span",{className:i.basicItemText},"\u4EBA")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},k!=null&&k.courses_count||(k==null?void 0:k.courses_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.courses_count,e.createElement("span",{className:i.basicItemText},"\u4E2A")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},k!=null&&k.shixuns_count||(k==null?void 0:k.shixuns_count)===0?e.createElement(e.Fragment,null,k==null?void 0:k.shixuns_count,e.createElement("span",{className:i.basicItemText},"\u4E2A")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},oe||oe===0?e.createElement(e.Fragment,null,oe,e.createElement("span",{className:i.basicItemText},"\u4E2A")):e.createElement(g.Z,null)),e.createElement("div",{className:i.basicItem},ue||ue===0?e.createElement(e.Fragment,null,ue,e.createElement("span",{className:i.basicItemText},"\u5206\u949F")):e.createElement(g.Z,null)))),e.createElement("div",{className:i.wrap},!a&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),a&&e.createElement("div",{className:i.tabSty},e.createElement(f.default,{defaultActiveKey:"1",items:zt,size:"large",onChange:Zt=>{dt(Zt),Ye.sort_name=void 0,Ye.sort=void 0,Mt(Ze,10,Zt)}})),e.createElement(y.Z,{current:Ze,style:{marginTop:"20px"},pageSize:10,showQuickJumper:!0,showSizeChanger:!1,total:a==null?void 0:a.course_count,onChange:(Zt,wt)=>{Be(Zt),Mt(Zt,10,tn)}})),e.createElement("div",{className:`${i.wrap} ${i.flexRow}`},e.createElement("div",{className:i.rankLeft},e.createElement("div",{className:i.basicTitle},"\u6559\u5E08\u6392\u540D"),!H&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),H&&((Te=H==null?void 0:H.teachers)!=null&&Te.length?e.createElement(m.default,{columns:c,dataSource:H==null?void 0:H.teachers,loading:gt,pagination:!1}):e.createElement(N.Z,null))),e.createElement("div",{className:i.rankRight},e.createElement("div",{className:i.basicTitle},"\u5728\u7EBF\u5B9E\u8BAD\u60C5\u51B5"),!P&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),P&&(P!=null&&P.length?e.createElement(Re.Z,{option:de(P,l),style:{height:600},opts:{renderer:"svg"}}):e.createElement(N.Z,null)))),e.createElement("div",{className:`${i.wrap} ${i.flexRow}`},e.createElement("div",{className:i.rankLeft},e.createElement("div",{className:i.basicTitle},"\u5B66\u751F\u6392\u540D"),!w&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),w&&((ct=w==null?void 0:w.teachers)!=null&&ct.length?e.createElement(m.default,{columns:ie,dataSource:w==null?void 0:w.teachers,loading:bt,pagination:!1}):e.createElement(N.Z,null))),e.createElement("div",{className:i.rankRight},e.createElement("div",{className:i.basicTitle},"\u6700\u70ED\u8BC4\u6D4B"),!ge&&e.createElement("div",{className:i.courseLoading},e.createElement(g.Z,{tip:"\u6B63\u5728\u52A0\u8F7D..."})),ge&&(ge!=null&&ge.length?e.createElement(Re.Z,{option:ke(ge,xe),style:{height:600},opts:{renderer:"svg"}}):e.createElement(N.Z,null)))))};var et=(0,p.connect)(({shixunsDetail:fe,loading:ce,globalSetting:Ge})=>({shixunsDetail:fe,globalSetting:Ge,loading:ce.models.index}))(je)},29509:function(Tt,re,t){t.d(re,{o2:function(){return R},yT:function(){return g}});var e=t(77654),p=t(34998);const m=p.i.map(f=>`${f}-inverse`),Z=["success","processing","error","default","warning"];function R(f){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,e.Z)(m),(0,e.Z)(p.i)).includes(f):p.i.includes(f)}function g(f){return Z.includes(f)}},9981:function(Tt,re){const t=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let p=1;p{const R=m[Z];R!==void 0&&(e[Z]=R)})}return e};re.Z=t},99402:function(Tt,re,t){t.d(re,{T:function(){return p},n:function(){return e}});function e(m){return["small","middle","large"].includes(m)}function p(m){return m?typeof m=="number"&&!Number.isNaN(m):!1}},86013:function(Tt,re,t){var e=t(59301),p=t(19248);const m=Z=>{let R;return typeof Z=="object"&&(Z!=null&&Z.clearIcon)?R=Z:Z&&(R={clearIcon:e.createElement(p.Z,null)}),R};re.Z=m},97224:function(Tt,re,t){t.d(re,{F:function(){return e}});function e(m){return m!=null&&m===m.window}const p=m=>{var Z,R;if(typeof window=="undefined")return 0;let g=0;return e(m)?g=m.pageYOffset:m instanceof Document?g=m.documentElement.scrollTop:(m instanceof HTMLElement||m)&&(g=m.scrollTop),m&&!e(m)&&typeof g!="number"&&(g=(R=((Z=m.ownerDocument)!==null&&Z!==void 0?Z:m).documentElement)===null||R===void 0?void 0:R.scrollTop),g};re.Z=p},52838:function(Tt,re,t){t.d(re,{Z:function(){return g}});var e=t(37645);function p(f,y,N,n){if(n===!1)return{adjustX:!1,adjustY:!1};const D=n&&typeof n=="object"?n:{},S={};switch(f){case"top":case"bottom":S.shiftX=y.arrowOffsetHorizontal*2+N,S.shiftY=!0,S.adjustY=!0;break;case"left":case"right":S.shiftY=y.arrowOffsetVertical*2+N,S.shiftX=!0,S.adjustX=!0;break}const O=Object.assign(Object.assign({},S),D);return O.shiftX||(O.adjustX=!0),O.shiftY||(O.adjustY=!0),O}const m={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Z={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},R=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function g(f){const{arrowWidth:y,autoAdjustOverflow:N,arrowPointAtCenter:n,offset:D,borderRadius:S,visibleFirst:O}=f,J=y/2,Ae={};return Object.keys(m).forEach(Y=>{const q=n&&Z[Y]||m[Y],ye=Object.assign(Object.assign({},q),{offset:[0,0],dynamicInset:!0});switch(Ae[Y]=ye,R.has(Y)&&(ye.autoArrow=!1),Y){case"top":case"topLeft":case"topRight":ye.offset[1]=-J-D;break;case"bottom":case"bottomLeft":case"bottomRight":ye.offset[1]=J+D;break;case"left":case"leftTop":case"leftBottom":ye.offset[0]=-J-D;break;case"right":case"rightTop":case"rightBottom":ye.offset[0]=J+D;break}const v=(0,e.wZ)({contentRadius:S,limitVerticalRadius:!0});if(n)switch(Y){case"topLeft":case"bottomLeft":ye.offset[0]=-v.arrowOffsetHorizontal-J;break;case"topRight":case"bottomRight":ye.offset[0]=v.arrowOffsetHorizontal+J;break;case"leftTop":case"rightTop":ye.offset[1]=-v.arrowOffsetHorizontal*2+J;break;case"leftBottom":case"rightBottom":ye.offset[1]=v.arrowOffsetHorizontal*2-J;break}ye.overflow=p(Y,v,y,N),O&&(ye.htmlRegion="visibleFirst")}),Ae}},83010:function(Tt,re,t){t.d(re,{Z:function(){return Z}});var e=t(16089);function p(R,g,f,y){const N=f-g;return R/=y/2,R<1?N/2*R*R*R+g:N/2*((R-=2)*R*R+2)+g}var m=t(97224);function Z(R){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:f=()=>window,callback:y,duration:N=450}=g,n=f(),D=(0,m.Z)(n),S=Date.now(),O=()=>{const Ae=Date.now()-S,Y=p(Ae>N?N:Ae,D,R,N);(0,m.F)(n)?n.scrollTo(window.pageXOffset,Y):n instanceof Document||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=Y:n.scrollTop=Y,Aef||g},62673:function(Tt,re,t){t.d(re,{default:function(){return ke}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(16632),R=t(8654),g=t(12919),f=t(63872),y=t(48755),N=t(2171),n=t(83397),D=t(56553),O=e.createContext(null),J=t(36170),Ae=t(74632),Y=function(Re,ee){var be={};for(var Q in Re)Object.prototype.hasOwnProperty.call(Re,Q)&&ee.indexOf(Q)<0&&(be[Q]=Re[Q]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,Q=Object.getOwnPropertySymbols(Re);M{var be;const{prefixCls:Q,className:M,rootClassName:s,children:_,indeterminate:j=!1,style:De,onMouseEnter:se,onMouseLeave:je,skipGroup:et=!1,disabled:fe}=Re,ce=Y(Re,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ge,direction:U,checkbox:ve}=e.useContext(y.E_),ae=e.useContext(O),{isFormItemInput:ze}=e.useContext(D.aM),L=e.useContext(N.Z),pe=(be=(ae==null?void 0:ae.disabled)||fe)!==null&&be!==void 0?be:L,Te=e.useRef(ce.value),ct=e.useRef(null),Ye=(0,R.sQ)(ee,ct);e.useEffect(()=>{ae==null||ae.registerValue(ce.value)},[]),e.useEffect(()=>{if(!et)return ce.value!==Te.current&&(ae==null||ae.cancelValue(Te.current),ae==null||ae.registerValue(ce.value),Te.current=ce.value),()=>ae==null?void 0:ae.cancelValue(ce.value)},[ce.value]),e.useEffect(()=>{var w;!((w=ct.current)===null||w===void 0)&&w.input&&(ct.current.input.indeterminate=j)},[j]);const k=Ge("checkbox",Q),K=(0,n.Z)(k),[oe,b,ue]=(0,J.ZP)(k,K),T=Object.assign({},ce);ae&&!et&&(T.onChange=function(){ce.onChange&&ce.onChange.apply(ce,arguments),ae.toggleOption&&ae.toggleOption({label:_,value:ce.value})},T.name=ae.name,T.checked=ae.value.includes(ce.value));const a=m()(`${k}-wrapper`,{[`${k}-rtl`]:U==="rtl",[`${k}-wrapper-checked`]:T.checked,[`${k}-wrapper-disabled`]:pe,[`${k}-wrapper-in-form-item`]:ze},ve==null?void 0:ve.className,M,s,ue,K,b),u=m()({[`${k}-indeterminate`]:j},f.A,b),[H,A]=(0,Ae.Z)(T.onClick);return oe(e.createElement(g.Z,{component:"Checkbox",disabled:pe},e.createElement("label",{className:a,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),De),onMouseEnter:se,onMouseLeave:je,onClick:H},e.createElement(Z.Z,Object.assign({},T,{onClick:A,prefixCls:k,className:u,disabled:pe,ref:Ye})),_!==void 0&&e.createElement("span",{className:`${k}-label`},_))))};var v=e.forwardRef(q),X=t(77654),i=t(2738),c=function(Re,ee){var be={};for(var Q in Re)Object.prototype.hasOwnProperty.call(Re,Q)&&ee.indexOf(Q)<0&&(be[Q]=Re[Q]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,Q=Object.getOwnPropertySymbols(Re);M{const{defaultValue:be,children:Q,options:M=[],prefixCls:s,className:_,rootClassName:j,style:De,onChange:se}=Re,je=c(Re,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:et,direction:fe}=e.useContext(y.E_),[ce,Ge]=e.useState(je.value||be||[]),[U,ve]=e.useState([]);e.useEffect(()=>{"value"in je&&Ge(je.value||[])},[je.value]);const ae=e.useMemo(()=>M.map(u=>typeof u=="string"||typeof u=="number"?{label:u,value:u}:u),[M]),ze=u=>{ve(H=>H.filter(A=>A!==u))},L=u=>{ve(H=>[].concat((0,X.Z)(H),[u]))},pe=u=>{const H=ce.indexOf(u.value),A=(0,X.Z)(ce);H===-1?A.push(u.value):A.splice(H,1),"value"in je||Ge(A),se==null||se(A.filter(w=>U.includes(w)).sort((w,B)=>{const P=ae.findIndex(l=>l.value===w),W=ae.findIndex(l=>l.value===B);return P-W}))},Te=et("checkbox",s),ct=`${Te}-group`,Ye=(0,n.Z)(Te),[k,K,oe]=(0,J.ZP)(Te,Ye),b=(0,i.Z)(je,["value","disabled"]),ue=M.length?ae.map(u=>e.createElement(v,{prefixCls:Te,key:u.value.toString(),disabled:"disabled"in u?u.disabled:je.disabled,value:u.value,checked:ce.includes(u.value),onChange:u.onChange,className:`${ct}-item`,style:u.style,title:u.title,id:u.id,required:u.required},u.label)):Q,T={toggleOption:pe,value:ce,disabled:je.disabled,name:je.name,registerValue:L,cancelValue:ze},a=m()(ct,{[`${ct}-rtl`]:fe==="rtl"},_,j,oe,Ye,K);return k(e.createElement("div",Object.assign({className:a,style:De},b,{ref:ee}),e.createElement(O.Provider,{value:T},ue)))});const de=v;de.Group=ie,de.__ANT_CHECKBOX=!0;var ke=de},36170:function(Tt,re,t){t.d(re,{C2:function(){return g}});var e=t(36237),p=t(63356),m=t(51636),Z=t(16931);const R=f=>{const{checkboxCls:y}=f,N=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,p.Wf)(f)),{display:"inline-flex",flexWrap:"wrap",columnGap:f.marginXS,[`> ${f.antCls}-row`]:{flex:1}}),[N]:Object.assign(Object.assign({},(0,p.Wf)(f)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${N}`]:{marginInlineStart:0},[`&${N}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,p.Wf)(f)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:f.borderRadiusSM,alignSelf:"center",[`${y}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${y}-inner`]:Object.assign({},(0,p.oN)(f))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:f.checkboxSize,height:f.checkboxSize,direction:"ltr",backgroundColor:f.colorBgContainer,border:`${(0,e.unit)(f.lineWidth)} ${f.lineType} ${f.colorBorder}`,borderRadius:f.borderRadiusSM,borderCollapse:"separate",transition:`all ${f.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:f.calc(f.checkboxSize).div(14).mul(5).equal(),height:f.calc(f.checkboxSize).div(14).mul(8).equal(),border:`${(0,e.unit)(f.lineWidthBold)} solid ${f.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${f.motionDurationFast} ${f.motionEaseInBack}, opacity ${f.motionDurationFast}`}},"& + span":{paddingInlineStart:f.paddingXS,paddingInlineEnd:f.paddingXS}})},{[` ${N}:not(${N}-disabled), ${y}:not(${y}-disabled) `]:{[`&:hover ${y}-inner`]:{borderColor:f.colorPrimary}},[`${N}:not(${N}-disabled)`]:{[`&:hover ${y}-checked:not(${y}-disabled) ${y}-inner`]:{backgroundColor:f.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${y}-checked:not(${y}-disabled):after`]:{borderColor:f.colorPrimaryHover}}},{[`${y}-checked`]:{[`${y}-inner`]:{backgroundColor:f.colorPrimary,borderColor:f.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${f.motionDurationMid} ${f.motionEaseOutBack} ${f.motionDurationFast}`}}},[` ${N}-checked:not(${N}-disabled), ${y}-checked:not(${y}-disabled) - `]:{[`&:hover ${y}-inner`]:{backgroundColor:f.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${f.colorBgContainer} !important`,borderColor:`${f.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:f.calc(f.fontSizeLG).div(2).equal(),height:f.calc(f.fontSizeLG).div(2).equal(),backgroundColor:f.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${f.colorBgContainer} !important`,borderColor:`${f.colorPrimary} !important`}}}},{[`${N}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:f.colorBgContainerDisabled,borderColor:f.colorBorder,"&:after":{borderColor:f.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:f.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:f.colorTextDisabled}}}]};function g(f,y){const N=(0,m.mergeToken)(y,{checkboxCls:`.${f}`,checkboxSize:y.controlInteractiveSize});return[R(N)]}re.ZP=(0,Z.I$)("Checkbox",(f,y)=>{let{prefixCls:N}=y;return[g(N,f)]})},74632:function(Zt,re,t){t.d(re,{Z:function(){return m}});var e=t(59301),p=t(16089);function m(Z){const R=e.useRef(null),g=()=>{p.Z.cancel(R.current),R.current=null};return[()=>{g(),R.current=(0,p.Z)(()=>{R.current=null})},N=>{R.current&&(N.stopPropagation(),g()),Z==null||Z(N)}]}},38406:function(Zt,re,t){var e=t(59301),p=t(48755),m=t(584);const Z=R=>{const{componentName:g}=R,{getPrefixCls:f}=(0,e.useContext)(p.E_),y=f("empty");switch(g){case"Table":case"List":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return e.createElement(m.Z,null)}};re.Z=Z},19563:function(Zt,re,t){t.d(re,{Z:function(){return Ge}});var e=t(59301),p=t(33853),m=t(38819),Z=t(92310),R=t.n(Z),g=t(96478),f=t(6089),y=t(18929),N=t(2738),n=t(75030),S=U=>typeof U!="object"&&typeof U!="function"||U===null,O=t(52838),J=t(45915),Ae=t(22703),Y=t(32383),q=t(55743),ye=t(48755),v=t(83397),X=t(93041),i=t(78857),c=t(57700),V=t(36237),ie=t(63356),de=t(46e3),ke=t(93873),Re=t(34925),ee=t(37645),be=t(36305),Q=t(16931),M=t(51636),_=U=>{const{componentCls:ve,menuCls:ae,colorError:ze,colorTextLightSolid:L}=U,pe=`${ae}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${ae} ${pe}`]:{[`&${pe}-danger:not(${pe}-disabled)`]:{color:ze,"&:hover":{color:L,backgroundColor:ze}}}}}};const j=U=>{const{componentCls:ve,menuCls:ae,zIndexPopup:ze,dropdownArrowDistance:L,sizePopupArrow:pe,antCls:Te,iconCls:ct,motionDurationMid:Xe,paddingBlock:k,fontSize:K,dropdownEdgeChildPadding:oe,colorTextDisabled:b,fontSizeIcon:ue,controlPaddingHorizontal:T,colorBgElevated:a}=U;return[{[ve]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ze,display:"block","&::before":{position:"absolute",insetBlock:U.calc(pe).div(2).sub(L).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Te}-btn`]:{[`& > ${ct}-down, & > ${Te}-btn-icon > ${ct}-down`]:{fontSize:ue}},[`${ve}-wrap`]:{position:"relative",[`${Te}-btn > ${ct}-down`]:{fontSize:ue},[`${ct}-down::before`]:{transition:`transform ${Xe}`}},[`${ve}-wrap-open`]:{[`${ct}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Te}-slide-down-enter${Te}-slide-down-enter-active${ve}-placement-bottomLeft, + `]:{[`&:hover ${y}-inner`]:{backgroundColor:f.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${f.colorBgContainer} !important`,borderColor:`${f.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:f.calc(f.fontSizeLG).div(2).equal(),height:f.calc(f.fontSizeLG).div(2).equal(),backgroundColor:f.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${f.colorBgContainer} !important`,borderColor:`${f.colorPrimary} !important`}}}},{[`${N}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:f.colorBgContainerDisabled,borderColor:f.colorBorder,"&:after":{borderColor:f.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:f.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:f.colorTextDisabled}}}]};function g(f,y){const N=(0,m.mergeToken)(y,{checkboxCls:`.${f}`,checkboxSize:y.controlInteractiveSize});return[R(N)]}re.ZP=(0,Z.I$)("Checkbox",(f,y)=>{let{prefixCls:N}=y;return[g(N,f)]})},74632:function(Tt,re,t){t.d(re,{Z:function(){return m}});var e=t(59301),p=t(16089);function m(Z){const R=e.useRef(null),g=()=>{p.Z.cancel(R.current),R.current=null};return[()=>{g(),R.current=(0,p.Z)(()=>{R.current=null})},N=>{R.current&&(N.stopPropagation(),g()),Z==null||Z(N)}]}},38406:function(Tt,re,t){var e=t(59301),p=t(48755),m=t(584);const Z=R=>{const{componentName:g}=R,{getPrefixCls:f}=(0,e.useContext)(p.E_),y=f("empty");switch(g){case"Table":case"List":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return e.createElement(m.Z,{image:m.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return e.createElement(m.Z,null)}};re.Z=Z},19563:function(Tt,re,t){t.d(re,{Z:function(){return Ge}});var e=t(59301),p=t(33853),m=t(38819),Z=t(92310),R=t.n(Z),g=t(96478),f=t(6089),y=t(18929),N=t(2738),n=t(75030),S=U=>typeof U!="object"&&typeof U!="function"||U===null,O=t(52838),J=t(45915),Ae=t(22703),Y=t(32383),q=t(55743),ye=t(48755),v=t(83397),X=t(93041),i=t(78857),c=t(57700),V=t(36237),ie=t(63356),de=t(46e3),ke=t(93873),Re=t(34925),ee=t(37645),be=t(36305),Q=t(16931),M=t(51636),_=U=>{const{componentCls:ve,menuCls:ae,colorError:ze,colorTextLightSolid:L}=U,pe=`${ae}-item`;return{[`${ve}, ${ve}-menu-submenu`]:{[`${ae} ${pe}`]:{[`&${pe}-danger:not(${pe}-disabled)`]:{color:ze,"&:hover":{color:L,backgroundColor:ze}}}}}};const j=U=>{const{componentCls:ve,menuCls:ae,zIndexPopup:ze,dropdownArrowDistance:L,sizePopupArrow:pe,antCls:Te,iconCls:ct,motionDurationMid:Ye,paddingBlock:k,fontSize:K,dropdownEdgeChildPadding:oe,colorTextDisabled:b,fontSizeIcon:ue,controlPaddingHorizontal:T,colorBgElevated:a}=U;return[{[ve]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ze,display:"block","&::before":{position:"absolute",insetBlock:U.calc(pe).div(2).sub(L).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Te}-btn`]:{[`& > ${ct}-down, & > ${Te}-btn-icon > ${ct}-down`]:{fontSize:ue}},[`${ve}-wrap`]:{position:"relative",[`${Te}-btn > ${ct}-down`]:{fontSize:ue},[`${ct}-down::before`]:{transition:`transform ${Ye}`}},[`${ve}-wrap-open`]:{[`${ct}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Te}-slide-down-enter${Te}-slide-down-enter-active${ve}-placement-bottomLeft, &${Te}-slide-down-appear${Te}-slide-down-appear-active${ve}-placement-bottomLeft, &${Te}-slide-down-enter${Te}-slide-down-enter-active${ve}-placement-bottom, &${Te}-slide-down-appear${Te}-slide-down-appear-active${ve}-placement-bottom, @@ -18,7 +18,7 @@ &${Te}-slide-down-leave${Te}-slide-down-leave-active${ve}-placement-bottom, &${Te}-slide-down-leave${Te}-slide-down-leave-active${ve}-placement-bottomRight`]:{animationName:de.Uw},[`&${Te}-slide-up-leave${Te}-slide-up-leave-active${ve}-placement-topLeft, &${Te}-slide-up-leave${Te}-slide-up-leave-active${ve}-placement-top, - &${Te}-slide-up-leave${Te}-slide-up-leave-active${ve}-placement-topRight`]:{animationName:de.ly}}},(0,ee.ZP)(U,a,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ve} ${ae}`]:{position:"relative",margin:0},[`${ae}-submenu-popup`]:{position:"absolute",zIndex:ze,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ve}, ${ve}-menu-submenu`]:Object.assign(Object.assign({},(0,ie.Wf)(U)),{[ae]:Object.assign(Object.assign({padding:oe,listStyleType:"none",backgroundColor:a,backgroundClip:"padding-box",borderRadius:U.borderRadiusLG,outline:"none",boxShadow:U.boxShadowSecondary},(0,ie.Qy)(U)),{"&:empty":{padding:0,boxShadow:"none"},[`${ae}-item-group-title`]:{padding:`${(0,V.unit)(k)} ${(0,V.unit)(T)}`,color:U.colorTextDescription,transition:`all ${Xe}`},[`${ae}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ae}-item-icon`]:{minWidth:K,marginInlineEnd:U.marginXS,fontSize:U.fontSizeSM},[`${ae}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Xe}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ae}-item-extra`]:{paddingInlineStart:U.padding,marginInlineStart:"auto",fontSize:U.fontSizeSM,color:U.colorTextDescription}},[`${ae}-item, ${ae}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,V.unit)(k)} ${(0,V.unit)(T)}`,color:U.colorText,fontWeight:"normal",fontSize:K,lineHeight:U.lineHeight,cursor:"pointer",transition:`all ${Xe}`,borderRadius:U.borderRadiusSM,"&:hover, &-active":{backgroundColor:U.controlItemBgHover}},(0,ie.Qy)(U)),{"&-selected":{color:U.colorPrimary,backgroundColor:U.controlItemBgActive,"&:hover, &-active":{backgroundColor:U.controlItemBgActiveHover}},"&-disabled":{color:b,cursor:"not-allowed","&:hover":{color:b,backgroundColor:a,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,V.unit)(U.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:U.colorSplit},[`${ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:U.paddingXS,[`${ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:U.colorTextDescription,fontSize:ue,fontStyle:"normal"}}}),[`${ae}-item-group-list`]:{margin:`0 ${(0,V.unit)(U.marginXS)}`,padding:0,listStyle:"none"},[`${ae}-submenu-title`]:{paddingInlineEnd:U.calc(T).add(U.fontSizeSM).equal()},[`${ae}-submenu-vertical`]:{position:"relative"},[`${ae}-submenu${ae}-submenu-disabled ${ve}-menu-submenu-title`]:{[`&, ${ve}-menu-submenu-arrow-icon`]:{color:b,backgroundColor:a,cursor:"not-allowed"}},[`${ae}-submenu-selected ${ve}-menu-submenu-title`]:{color:U.colorPrimary}})})},[(0,de.oN)(U,"slide-up"),(0,de.oN)(U,"slide-down"),(0,ke.Fm)(U,"move-up"),(0,ke.Fm)(U,"move-down"),(0,Re._y)(U,"zoom-big")]]},De=U=>Object.assign(Object.assign({zIndexPopup:U.zIndexPopupBase+50,paddingBlock:(U.controlHeight-U.fontSize*U.lineHeight)/2},(0,ee.wZ)({contentRadius:U.borderRadiusLG,limitVerticalRadius:!0})),(0,be.w)(U));var se=(0,Q.I$)("Dropdown",U=>{const{marginXXS:ve,sizePopupArrow:ae,paddingXXS:ze,componentCls:L}=U,pe=(0,M.mergeToken)(U,{menuCls:`${L}-menu`,dropdownArrowDistance:U.calc(ae).div(2).add(ve).equal(),dropdownEdgeChildPadding:ze});return[j(pe),_(pe)]},De,{resetStyle:!1});const je=null,et=U=>{var ve;const{menu:ae,arrow:ze,prefixCls:L,children:pe,trigger:Te,disabled:ct,dropdownRender:Xe,getPopupContainer:k,overlayClassName:K,rootClassName:oe,overlayStyle:b,open:ue,onOpenChange:T,visible:a,onVisibleChange:u,mouseEnterDelay:H=.15,mouseLeaveDelay:A=.1,autoAdjustOverflow:w=!0,placement:B="",overlay:P,transitionName:W}=U,{getPopupContainer:l,getPrefixCls:d,direction:xe,dropdown:te}=e.useContext(ye.E_),ge=(0,Y.ln)("Dropdown"),Ce=e.useMemo(()=>{const wt=d();return W!==void 0?W:B.includes("top")?`${wt}-slide-down`:`${wt}-slide-up`},[d,B,W]),Ze=e.useMemo(()=>B?B.includes("Center")?B.slice(0,B.indexOf("Center")):B:xe==="rtl"?"bottomRight":"bottomLeft",[B,xe]),Be=d("dropdown",L),Ne=(0,v.Z)(Be),[Le,gt,it]=se(Be,Ne),[,bt]=(0,c.ZP)(),yt=e.Children.only(S(pe)?e.createElement("span",null,pe):pe),tn=(0,Ae.Tm)(yt,{className:R()(`${Be}-trigger`,{[`${Be}-rtl`]:xe==="rtl"},yt.props.className),disabled:(ve=yt.props.disabled)!==null&&ve!==void 0?ve:ct}),dt=ct?[]:Te,rt=!!(dt!=null&&dt.includes("contextMenu")),[Lt,vt]=(0,y.Z)(!1,{value:ue!=null?ue:a}),Mt=(0,f.Z)(wt=>{T==null||T(wt,{source:"trigger"}),u==null||u(wt),vt(wt)}),_t=R()(K,oe,gt,it,Ne,te==null?void 0:te.className,{[`${Be}-rtl`]:xe==="rtl"}),Et=(0,O.Z)({arrowPointAtCenter:typeof ze=="object"&&ze.pointAtCenter,autoAdjustOverflow:w,offset:bt.marginXXS,arrowWidth:ze?bt.sizePopupArrow:0,borderRadius:bt.borderRadius}),cn=e.useCallback(()=>{ae!=null&&ae.selectable&&(ae!=null&&ae.multiple)||(T==null||T(!1,{source:"menu"}),vt(!1))},[ae==null?void 0:ae.selectable,ae==null?void 0:ae.multiple]),mt=()=>{let wt;return ae!=null&&ae.items?wt=e.createElement(X.default,Object.assign({},ae)):typeof P=="function"?wt=P():wt=P,Xe&&(wt=Xe(wt)),wt=e.Children.only(typeof wt=="string"?e.createElement("span",null,wt):wt),e.createElement(i.J,{prefixCls:`${Be}-menu`,rootClassName:R()(it,Ne),expandIcon:e.createElement("span",{className:`${Be}-menu-submenu-arrow`},xe==="rtl"?e.createElement(p.Z,{className:`${Be}-menu-submenu-arrow-icon`}):e.createElement(m.Z,{className:`${Be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:cn,validator:Xt=>{let{mode:pn}=Xt}},wt)},[ht,zt]=(0,n.Cn)("Dropdown",b==null?void 0:b.zIndex);let Tt=e.createElement(g.Z,Object.assign({alignPoint:rt},(0,N.Z)(U,["rootClassName"]),{mouseEnterDelay:H,mouseLeaveDelay:A,visible:Lt,builtinPlacements:Et,arrow:!!ze,overlayClassName:_t,prefixCls:Be,getPopupContainer:k||l,transitionName:Ce,trigger:dt,overlay:mt,placement:Ze,onVisibleChange:Mt,overlayStyle:Object.assign(Object.assign(Object.assign({},te==null?void 0:te.style),b),{zIndex:ht})}),tn);return ht&&(Tt=e.createElement(q.Z.Provider,{value:zt},Tt)),Le(Tt)},fe=(0,J.Z)(et,"align",void 0,"dropdown",U=>U),ce=U=>e.createElement(fe,Object.assign({},U),e.createElement("span",null));et._InternalPanelDoNotUseOrYouWillBeFired=ce;var Ge=et},75727:function(Zt,re,t){t.d(re,{Z:function(){return J}});var e=t(19563),p=t(59301),m=t(18785),Z=t(92310),R=t.n(Z),g=t(7939),f=t(48755),y=t(44104),N=t(70045),n=function(Ae,Y){var q={};for(var ye in Ae)Object.prototype.hasOwnProperty.call(Ae,ye)&&Y.indexOf(ye)<0&&(q[ye]=Ae[ye]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,ye=Object.getOwnPropertySymbols(Ae);v{const{getPopupContainer:Y,getPrefixCls:q,direction:ye}=p.useContext(f.E_),{prefixCls:v,type:X="default",danger:i,disabled:c,loading:V,onClick:ie,htmlType:de,children:ke,className:Re,menu:ee,arrow:be,autoFocus:Q,overlay:M,trigger:s,align:_,open:j,onOpenChange:De,placement:se,getPopupContainer:je,href:et,icon:fe=p.createElement(m.Z,null),title:ce,buttonsRender:Ge=H=>H,mouseEnterDelay:U,mouseLeaveDelay:ve,overlayClassName:ae,overlayStyle:ze,destroyPopupOnHide:L,dropdownRender:pe}=Ae,Te=n(Ae,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),ct=q("dropdown",v),Xe=`${ct}-button`,k={menu:ee,arrow:be,autoFocus:Q,align:_,disabled:c,trigger:c?[]:s,onOpenChange:De,getPopupContainer:je||Y,mouseEnterDelay:U,mouseLeaveDelay:ve,overlayClassName:ae,overlayStyle:ze,destroyPopupOnHide:L,dropdownRender:pe},{compactSize:K,compactItemClassnames:oe}=(0,N.ri)(ct,ye),b=R()(Xe,oe,Re);"overlay"in Ae&&(k.overlay=M),"open"in Ae&&(k.open=j),"placement"in Ae?k.placement=se:k.placement=ye==="rtl"?"bottomLeft":"bottomRight";const ue=p.createElement(g.ZP,{type:X,danger:i,disabled:c,loading:V,onClick:ie,htmlType:de,href:et,title:ce},ke),T=p.createElement(g.ZP,{type:X,danger:i,icon:fe}),[a,u]=Ge([ue,T]);return p.createElement(y.Z.Compact,Object.assign({className:b,size:K,block:!0},Te),a,p.createElement(e.Z,Object.assign({},k),u))};D.__ANT_BUTTON=!0;var S=D;const O=e.Z;O.Button=S;var J=O},584:function(Zt,re,t){t.d(re,{Z:function(){return X}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(9017),R=t(17835),g=t(57700),y=()=>{const[,i]=(0,g.ZP)(),[c]=(0,Z.Z)("Empty"),ie=new R.FastColor(i.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:ie,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(c==null?void 0:c.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},n=()=>{const[,i]=(0,g.ZP)(),[c]=(0,Z.Z)("Empty"),{colorFill:V,colorFillTertiary:ie,colorFillQuaternary:de,colorBgContainer:ke}=i,{borderColor:Re,shadowColor:ee,contentColor:be}=(0,e.useMemo)(()=>({borderColor:new R.FastColor(V).onBackground(ke).toHexString(),shadowColor:new R.FastColor(ie).onBackground(ke).toHexString(),contentColor:new R.FastColor(de).onBackground(ke).toHexString()}),[V,ie,de,ke]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(c==null?void 0:c.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:ee,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:Re},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:be}))))},D=t(16931),S=t(51636);const O=i=>{const{componentCls:c,margin:V,marginXS:ie,marginXL:de,fontSize:ke,lineHeight:Re}=i;return{[c]:{marginInline:ie,fontSize:ke,lineHeight:Re,textAlign:"center",[`${c}-image`]:{height:i.emptyImgHeight,marginBottom:ie,opacity:i.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${c}-description`]:{color:i.colorTextDescription},[`${c}-footer`]:{marginTop:V},"&-normal":{marginBlock:de,color:i.colorTextDescription,[`${c}-description`]:{color:i.colorTextDescription},[`${c}-image`]:{height:i.emptyImgHeightMD}},"&-small":{marginBlock:ie,color:i.colorTextDescription,[`${c}-image`]:{height:i.emptyImgHeightSM}}}}};var J=(0,D.I$)("Empty",i=>{const{componentCls:c,controlHeightLG:V,calc:ie}=i,de=(0,S.mergeToken)(i,{emptyImgCls:`${c}-img`,emptyImgHeight:ie(V).mul(2.5).equal(),emptyImgHeightMD:V,emptyImgHeightSM:ie(V).mul(.875).equal()});return[O(de)]}),Ae=t(48755),Y=function(i,c){var V={};for(var ie in i)Object.prototype.hasOwnProperty.call(i,ie)&&c.indexOf(ie)<0&&(V[ie]=i[ie]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ie=Object.getOwnPropertySymbols(i);de{const{className:c,rootClassName:V,prefixCls:ie,image:de=q,description:ke,children:Re,imageStyle:ee,style:be,classNames:Q,styles:M}=i,s=Y(i,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:_,direction:j,className:De,style:se,classNames:je,styles:et}=(0,Ae.dj)("empty"),fe=_("empty",ie),[ce,Ge,U]=J(fe),[ve]=(0,Z.Z)("Empty"),ae=typeof ke!="undefined"?ke:ve==null?void 0:ve.description,ze=typeof ae=="string"?ae:"empty";let L=null;return typeof de=="string"?L=e.createElement("img",{alt:ze,src:de}):L=de,ce(e.createElement("div",Object.assign({className:m()(Ge,U,fe,De,{[`${fe}-normal`]:de===ye,[`${fe}-rtl`]:j==="rtl"},c,V,je.root,Q==null?void 0:Q.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},et.root),se),M==null?void 0:M.root),be)},s),e.createElement("div",{className:m()(`${fe}-image`,je.image,Q==null?void 0:Q.image),style:Object.assign(Object.assign(Object.assign({},ee),et.image),M==null?void 0:M.image)},L),ae&&e.createElement("div",{className:m()(`${fe}-description`,je.description,Q==null?void 0:Q.description),style:Object.assign(Object.assign({},et.description),M==null?void 0:M.description)},ae),Re&&e.createElement("div",{className:m()(`${fe}-footer`,je.footer,Q==null?void 0:Q.footer),style:Object.assign(Object.assign({},et.footer),M==null?void 0:M.footer)},Re)))};v.PRESENTED_IMAGE_DEFAULT=q,v.PRESENTED_IMAGE_SIMPLE=ye;var X=v},24971:function(Zt,re,t){var e=t(59301),p=t(56553),m=t(48755);const Z=function(R,g){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,N;const{variant:n,[R]:D}=e.useContext(m.E_),S=e.useContext(p.pg),O=D==null?void 0:D.variant;let J;typeof g!="undefined"?J=g:f===!1?J="borderless":J=(N=(y=S!=null?S:O)!==null&&y!==void 0?y:n)!==null&&N!==void 0?N:"outlined";const Ae=m.tr.includes(J);return[J,Ae]};re.Z=Z},49397:function(Zt,re,t){t.d(re,{Z:function(){return i}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(36901),R=t(8654),g=t(62487),f=t(86013),y=t(82855),N=t(48755),n=t(2171),D=t(83397),S=t(31756),O=t(56553),J=t(24971),Ae=t(70045),Y=t(23826),q=t(53075);function ye(c){return!!(c.prefix||c.suffix||c.allowClear||c.showCount)}var v=function(c,V){var ie={};for(var de in c)Object.prototype.hasOwnProperty.call(c,de)&&V.indexOf(de)<0&&(ie[de]=c[de]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,de=Object.getOwnPropertySymbols(c);ke{const{prefixCls:ie,bordered:de=!0,status:ke,size:Re,disabled:ee,onBlur:be,onFocus:Q,suffix:M,allowClear:s,addonAfter:_,addonBefore:j,className:De,style:se,styles:je,rootClassName:et,onChange:fe,classNames:ce,variant:Ge}=c,U=v(c,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ve,direction:ae,allowClear:ze,autoComplete:L,className:pe,style:Te,classNames:ct,styles:Xe}=(0,N.dj)("input"),k=ve("input",ie),K=(0,e.useRef)(null),oe=(0,D.Z)(k),[b,ue,T]=(0,q.TI)(k,et),[a]=(0,q.ZP)(k,oe),{compactSize:u,compactItemClassnames:H}=(0,Ae.ri)(k,ae),A=(0,S.Z)(bt=>{var yt;return(yt=Re!=null?Re:u)!==null&&yt!==void 0?yt:bt}),w=e.useContext(n.Z),B=ee!=null?ee:w,{status:P,hasFeedback:W,feedbackIcon:l}=(0,e.useContext)(O.aM),d=(0,y.F)(P,ke),xe=ye(c)||!!W,te=(0,e.useRef)(xe),ge=(0,Y.Z)(K,!0),Ce=bt=>{ge(),be==null||be(bt)},Ze=bt=>{ge(),Q==null||Q(bt)},Be=bt=>{ge(),fe==null||fe(bt)},Ne=(W||M)&&e.createElement(e.Fragment,null,M,W&&l),Le=(0,f.Z)(s!=null?s:ze),[gt,it]=(0,J.Z)("input",Ge,de);return b(a(e.createElement(Z.default,Object.assign({ref:(0,R.sQ)(V,K),prefixCls:k,autoComplete:L},U,{disabled:B,onBlur:Ce,onFocus:Ze,style:Object.assign(Object.assign({},Te),se),styles:Object.assign(Object.assign({},Xe),je),suffix:Ne,allowClear:Le,className:m()(De,et,T,oe,H,pe),onChange:Be,addonBefore:j&&e.createElement(g.Z,{form:!0,space:!0},j),addonAfter:_&&e.createElement(g.Z,{form:!0,space:!0},_),classNames:Object.assign(Object.assign(Object.assign({},ce),ct),{input:m()({[`${k}-sm`]:A==="small",[`${k}-lg`]:A==="large",[`${k}-rtl`]:ae==="rtl"},ce==null?void 0:ce.input,ct.input,ue),variant:m()({[`${k}-${gt}`]:it},(0,y.Z)(k,d)),affixWrapper:m()({[`${k}-affix-wrapper-sm`]:A==="small",[`${k}-affix-wrapper-lg`]:A==="large",[`${k}-affix-wrapper-rtl`]:ae==="rtl"},ue),wrapper:m()({[`${k}-group-rtl`]:ae==="rtl"},ue),groupWrapper:m()({[`${k}-group-wrapper-sm`]:A==="small",[`${k}-group-wrapper-lg`]:A==="large",[`${k}-group-wrapper-rtl`]:ae==="rtl",[`${k}-group-wrapper-${gt}`]:it},(0,y.Z)(`${k}-group-wrapper`,d,W),ue)})}))))})},23826:function(Zt,re,t){t.d(re,{Z:function(){return p}});var e=t(59301);function p(m,Z){const R=(0,e.useRef)([]),g=()=>{R.current.push(setTimeout(()=>{var f,y,N,n;!((f=m.current)===null||f===void 0)&&f.input&&((y=m.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((N=m.current)===null||N===void 0)&&N.input.hasAttribute("value"))&&((n=m.current)===null||n===void 0||n.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(Z&&g(),()=>R.current.forEach(f=>{f&&clearTimeout(f)})),[]),g}},53075:function(Zt,re,t){t.d(re,{TI:function(){return X},ik:function(){return S},nz:function(){return y},s7:function(){return O},x0:function(){return D}});var e=t(36237),p=t(63356),m=t(56119),Z=t(16931),R=t(51636),g=t(64910),f=t(39082);const y=i=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:i,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),N=i=>({borderColor:i.activeBorderColor,boxShadow:i.activeShadow,outline:0,backgroundColor:i.activeBg}),n=i=>{const{paddingBlockLG:c,lineHeightLG:V,borderRadiusLG:ie,paddingInlineLG:de}=i;return{padding:`${(0,e.unit)(c)} ${(0,e.unit)(de)}`,fontSize:i.inputFontSizeLG,lineHeight:V,borderRadius:ie}},D=i=>({padding:`${(0,e.unit)(i.paddingBlockSM)} ${(0,e.unit)(i.paddingInlineSM)}`,fontSize:i.inputFontSizeSM,borderRadius:i.borderRadiusSM}),S=i=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,e.unit)(i.paddingBlock)} ${(0,e.unit)(i.paddingInline)}`,color:i.colorText,fontSize:i.inputFontSize,lineHeight:i.lineHeight,borderRadius:i.borderRadius,transition:`all ${i.motionDurationMid}`},y(i.colorTextPlaceholder)),{"&-lg":Object.assign({},n(i)),"&-sm":Object.assign({},D(i)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),O=i=>{const{componentCls:c,antCls:V}=i;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:i.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${c}, &-lg > ${c}-group-addon`]:Object.assign({},n(i)),[`&-sm ${c}, &-sm > ${c}-group-addon`]:Object.assign({},D(i)),[`&-lg ${V}-select-single ${V}-select-selector`]:{height:i.controlHeightLG},[`&-sm ${V}-select-single ${V}-select-selector`]:{height:i.controlHeightSM},[`> ${c}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${c}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,e.unit)(i.paddingInline)}`,color:i.colorText,fontWeight:"normal",fontSize:i.inputFontSize,textAlign:"center",borderRadius:i.borderRadius,transition:`all ${i.motionDurationSlow}`,lineHeight:1,[`${V}-select`]:{margin:`${(0,e.unit)(i.calc(i.paddingBlock).add(1).mul(-1).equal())} ${(0,e.unit)(i.calc(i.paddingInline).mul(-1).equal())}`,[`&${V}-select-single:not(${V}-select-customize-input):not(${V}-pagination-size-changer)`]:{[`${V}-select-selector`]:{backgroundColor:"inherit",border:`${(0,e.unit)(i.lineWidth)} ${i.lineType} transparent`,boxShadow:"none"}}},[`${V}-cascader-picker`]:{margin:`-9px ${(0,e.unit)(i.calc(i.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${V}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[c]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${c}-search-with-button &`]:{zIndex:0}}},[`> ${c}:first-child, ${c}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${V}-select ${V}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${c}-affix-wrapper`]:{[`&:not(:first-child) ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${c}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${c}:last-child, ${c}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${V}-select ${V}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${c}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${c}-search &`]:{borderStartStartRadius:i.borderRadius,borderEndStartRadius:i.borderRadius}},[`&:not(:first-child), ${c}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${c}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,p.dF)()),{[`${c}-group-addon, ${c}-group-wrap, > ${c}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:i.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + &${Te}-slide-up-leave${Te}-slide-up-leave-active${ve}-placement-topRight`]:{animationName:de.ly}}},(0,ee.ZP)(U,a,{arrowPlacement:{top:!0,bottom:!0}}),{[`${ve} ${ae}`]:{position:"relative",margin:0},[`${ae}-submenu-popup`]:{position:"absolute",zIndex:ze,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${ve}, ${ve}-menu-submenu`]:Object.assign(Object.assign({},(0,ie.Wf)(U)),{[ae]:Object.assign(Object.assign({padding:oe,listStyleType:"none",backgroundColor:a,backgroundClip:"padding-box",borderRadius:U.borderRadiusLG,outline:"none",boxShadow:U.boxShadowSecondary},(0,ie.Qy)(U)),{"&:empty":{padding:0,boxShadow:"none"},[`${ae}-item-group-title`]:{padding:`${(0,V.unit)(k)} ${(0,V.unit)(T)}`,color:U.colorTextDescription,transition:`all ${Ye}`},[`${ae}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ae}-item-icon`]:{minWidth:K,marginInlineEnd:U.marginXS,fontSize:U.fontSizeSM},[`${ae}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Ye}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ae}-item-extra`]:{paddingInlineStart:U.padding,marginInlineStart:"auto",fontSize:U.fontSizeSM,color:U.colorTextDescription}},[`${ae}-item, ${ae}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,V.unit)(k)} ${(0,V.unit)(T)}`,color:U.colorText,fontWeight:"normal",fontSize:K,lineHeight:U.lineHeight,cursor:"pointer",transition:`all ${Ye}`,borderRadius:U.borderRadiusSM,"&:hover, &-active":{backgroundColor:U.controlItemBgHover}},(0,ie.Qy)(U)),{"&-selected":{color:U.colorPrimary,backgroundColor:U.controlItemBgActive,"&:hover, &-active":{backgroundColor:U.controlItemBgActiveHover}},"&-disabled":{color:b,cursor:"not-allowed","&:hover":{color:b,backgroundColor:a,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,V.unit)(U.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:U.colorSplit},[`${ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:U.paddingXS,[`${ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:U.colorTextDescription,fontSize:ue,fontStyle:"normal"}}}),[`${ae}-item-group-list`]:{margin:`0 ${(0,V.unit)(U.marginXS)}`,padding:0,listStyle:"none"},[`${ae}-submenu-title`]:{paddingInlineEnd:U.calc(T).add(U.fontSizeSM).equal()},[`${ae}-submenu-vertical`]:{position:"relative"},[`${ae}-submenu${ae}-submenu-disabled ${ve}-menu-submenu-title`]:{[`&, ${ve}-menu-submenu-arrow-icon`]:{color:b,backgroundColor:a,cursor:"not-allowed"}},[`${ae}-submenu-selected ${ve}-menu-submenu-title`]:{color:U.colorPrimary}})})},[(0,de.oN)(U,"slide-up"),(0,de.oN)(U,"slide-down"),(0,ke.Fm)(U,"move-up"),(0,ke.Fm)(U,"move-down"),(0,Re._y)(U,"zoom-big")]]},De=U=>Object.assign(Object.assign({zIndexPopup:U.zIndexPopupBase+50,paddingBlock:(U.controlHeight-U.fontSize*U.lineHeight)/2},(0,ee.wZ)({contentRadius:U.borderRadiusLG,limitVerticalRadius:!0})),(0,be.w)(U));var se=(0,Q.I$)("Dropdown",U=>{const{marginXXS:ve,sizePopupArrow:ae,paddingXXS:ze,componentCls:L}=U,pe=(0,M.mergeToken)(U,{menuCls:`${L}-menu`,dropdownArrowDistance:U.calc(ae).div(2).add(ve).equal(),dropdownEdgeChildPadding:ze});return[j(pe),_(pe)]},De,{resetStyle:!1});const je=null,et=U=>{var ve;const{menu:ae,arrow:ze,prefixCls:L,children:pe,trigger:Te,disabled:ct,dropdownRender:Ye,getPopupContainer:k,overlayClassName:K,rootClassName:oe,overlayStyle:b,open:ue,onOpenChange:T,visible:a,onVisibleChange:u,mouseEnterDelay:H=.15,mouseLeaveDelay:A=.1,autoAdjustOverflow:w=!0,placement:B="",overlay:P,transitionName:W}=U,{getPopupContainer:l,getPrefixCls:d,direction:xe,dropdown:te}=e.useContext(ye.E_),ge=(0,Y.ln)("Dropdown"),Ce=e.useMemo(()=>{const wt=d();return W!==void 0?W:B.includes("top")?`${wt}-slide-down`:`${wt}-slide-up`},[d,B,W]),Ze=e.useMemo(()=>B?B.includes("Center")?B.slice(0,B.indexOf("Center")):B:xe==="rtl"?"bottomRight":"bottomLeft",[B,xe]),Be=d("dropdown",L),Ne=(0,v.Z)(Be),[Le,gt,it]=se(Be,Ne),[,bt]=(0,c.ZP)(),yt=e.Children.only(S(pe)?e.createElement("span",null,pe):pe),tn=(0,Ae.Tm)(yt,{className:R()(`${Be}-trigger`,{[`${Be}-rtl`]:xe==="rtl"},yt.props.className),disabled:(ve=yt.props.disabled)!==null&&ve!==void 0?ve:ct}),dt=ct?[]:Te,rt=!!(dt!=null&&dt.includes("contextMenu")),[Lt,vt]=(0,y.Z)(!1,{value:ue!=null?ue:a}),Mt=(0,f.Z)(wt=>{T==null||T(wt,{source:"trigger"}),u==null||u(wt),vt(wt)}),_t=R()(K,oe,gt,it,Ne,te==null?void 0:te.className,{[`${Be}-rtl`]:xe==="rtl"}),Et=(0,O.Z)({arrowPointAtCenter:typeof ze=="object"&&ze.pointAtCenter,autoAdjustOverflow:w,offset:bt.marginXXS,arrowWidth:ze?bt.sizePopupArrow:0,borderRadius:bt.borderRadius}),cn=e.useCallback(()=>{ae!=null&&ae.selectable&&(ae!=null&&ae.multiple)||(T==null||T(!1,{source:"menu"}),vt(!1))},[ae==null?void 0:ae.selectable,ae==null?void 0:ae.multiple]),mt=()=>{let wt;return ae!=null&&ae.items?wt=e.createElement(X.default,Object.assign({},ae)):typeof P=="function"?wt=P():wt=P,Ye&&(wt=Ye(wt)),wt=e.Children.only(typeof wt=="string"?e.createElement("span",null,wt):wt),e.createElement(i.J,{prefixCls:`${Be}-menu`,rootClassName:R()(it,Ne),expandIcon:e.createElement("span",{className:`${Be}-menu-submenu-arrow`},xe==="rtl"?e.createElement(p.Z,{className:`${Be}-menu-submenu-arrow-icon`}):e.createElement(m.Z,{className:`${Be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:cn,validator:Xt=>{let{mode:pn}=Xt}},wt)},[ht,zt]=(0,n.Cn)("Dropdown",b==null?void 0:b.zIndex);let Zt=e.createElement(g.Z,Object.assign({alignPoint:rt},(0,N.Z)(U,["rootClassName"]),{mouseEnterDelay:H,mouseLeaveDelay:A,visible:Lt,builtinPlacements:Et,arrow:!!ze,overlayClassName:_t,prefixCls:Be,getPopupContainer:k||l,transitionName:Ce,trigger:dt,overlay:mt,placement:Ze,onVisibleChange:Mt,overlayStyle:Object.assign(Object.assign(Object.assign({},te==null?void 0:te.style),b),{zIndex:ht})}),tn);return ht&&(Zt=e.createElement(q.Z.Provider,{value:zt},Zt)),Le(Zt)},fe=(0,J.Z)(et,"align",void 0,"dropdown",U=>U),ce=U=>e.createElement(fe,Object.assign({},U),e.createElement("span",null));et._InternalPanelDoNotUseOrYouWillBeFired=ce;var Ge=et},75727:function(Tt,re,t){t.d(re,{Z:function(){return J}});var e=t(19563),p=t(59301),m=t(18785),Z=t(92310),R=t.n(Z),g=t(7939),f=t(48755),y=t(44104),N=t(70045),n=function(Ae,Y){var q={};for(var ye in Ae)Object.prototype.hasOwnProperty.call(Ae,ye)&&Y.indexOf(ye)<0&&(q[ye]=Ae[ye]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,ye=Object.getOwnPropertySymbols(Ae);v{const{getPopupContainer:Y,getPrefixCls:q,direction:ye}=p.useContext(f.E_),{prefixCls:v,type:X="default",danger:i,disabled:c,loading:V,onClick:ie,htmlType:de,children:ke,className:Re,menu:ee,arrow:be,autoFocus:Q,overlay:M,trigger:s,align:_,open:j,onOpenChange:De,placement:se,getPopupContainer:je,href:et,icon:fe=p.createElement(m.Z,null),title:ce,buttonsRender:Ge=H=>H,mouseEnterDelay:U,mouseLeaveDelay:ve,overlayClassName:ae,overlayStyle:ze,destroyPopupOnHide:L,dropdownRender:pe}=Ae,Te=n(Ae,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),ct=q("dropdown",v),Ye=`${ct}-button`,k={menu:ee,arrow:be,autoFocus:Q,align:_,disabled:c,trigger:c?[]:s,onOpenChange:De,getPopupContainer:je||Y,mouseEnterDelay:U,mouseLeaveDelay:ve,overlayClassName:ae,overlayStyle:ze,destroyPopupOnHide:L,dropdownRender:pe},{compactSize:K,compactItemClassnames:oe}=(0,N.ri)(ct,ye),b=R()(Ye,oe,Re);"overlay"in Ae&&(k.overlay=M),"open"in Ae&&(k.open=j),"placement"in Ae?k.placement=se:k.placement=ye==="rtl"?"bottomLeft":"bottomRight";const ue=p.createElement(g.ZP,{type:X,danger:i,disabled:c,loading:V,onClick:ie,htmlType:de,href:et,title:ce},ke),T=p.createElement(g.ZP,{type:X,danger:i,icon:fe}),[a,u]=Ge([ue,T]);return p.createElement(y.Z.Compact,Object.assign({className:b,size:K,block:!0},Te),a,p.createElement(e.Z,Object.assign({},k),u))};D.__ANT_BUTTON=!0;var S=D;const O=e.Z;O.Button=S;var J=O},584:function(Tt,re,t){t.d(re,{Z:function(){return X}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(9017),R=t(17835),g=t(57700),y=()=>{const[,i]=(0,g.ZP)(),[c]=(0,Z.Z)("Empty"),ie=new R.FastColor(i.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return e.createElement("svg",{style:ie,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(c==null?void 0:c.description)||"Empty"),e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("g",{transform:"translate(24 31.67)"},e.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),e.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),e.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),e.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),e.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),e.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),e.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},e.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),e.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},n=()=>{const[,i]=(0,g.ZP)(),[c]=(0,Z.Z)("Empty"),{colorFill:V,colorFillTertiary:ie,colorFillQuaternary:de,colorBgContainer:ke}=i,{borderColor:Re,shadowColor:ee,contentColor:be}=(0,e.useMemo)(()=>({borderColor:new R.FastColor(V).onBackground(ke).toHexString(),shadowColor:new R.FastColor(ie).onBackground(ke).toHexString(),contentColor:new R.FastColor(de).onBackground(ke).toHexString()}),[V,ie,de,ke]);return e.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},e.createElement("title",null,(c==null?void 0:c.description)||"Empty"),e.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},e.createElement("ellipse",{fill:ee,cx:"32",cy:"33",rx:"32",ry:"7"}),e.createElement("g",{fillRule:"nonzero",stroke:Re},e.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),e.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:be}))))},D=t(16931),S=t(51636);const O=i=>{const{componentCls:c,margin:V,marginXS:ie,marginXL:de,fontSize:ke,lineHeight:Re}=i;return{[c]:{marginInline:ie,fontSize:ke,lineHeight:Re,textAlign:"center",[`${c}-image`]:{height:i.emptyImgHeight,marginBottom:ie,opacity:i.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${c}-description`]:{color:i.colorTextDescription},[`${c}-footer`]:{marginTop:V},"&-normal":{marginBlock:de,color:i.colorTextDescription,[`${c}-description`]:{color:i.colorTextDescription},[`${c}-image`]:{height:i.emptyImgHeightMD}},"&-small":{marginBlock:ie,color:i.colorTextDescription,[`${c}-image`]:{height:i.emptyImgHeightSM}}}}};var J=(0,D.I$)("Empty",i=>{const{componentCls:c,controlHeightLG:V,calc:ie}=i,de=(0,S.mergeToken)(i,{emptyImgCls:`${c}-img`,emptyImgHeight:ie(V).mul(2.5).equal(),emptyImgHeightMD:V,emptyImgHeightSM:ie(V).mul(.875).equal()});return[O(de)]}),Ae=t(48755),Y=function(i,c){var V={};for(var ie in i)Object.prototype.hasOwnProperty.call(i,ie)&&c.indexOf(ie)<0&&(V[ie]=i[ie]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ie=Object.getOwnPropertySymbols(i);de{const{className:c,rootClassName:V,prefixCls:ie,image:de=q,description:ke,children:Re,imageStyle:ee,style:be,classNames:Q,styles:M}=i,s=Y(i,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:_,direction:j,className:De,style:se,classNames:je,styles:et}=(0,Ae.dj)("empty"),fe=_("empty",ie),[ce,Ge,U]=J(fe),[ve]=(0,Z.Z)("Empty"),ae=typeof ke!="undefined"?ke:ve==null?void 0:ve.description,ze=typeof ae=="string"?ae:"empty";let L=null;return typeof de=="string"?L=e.createElement("img",{alt:ze,src:de}):L=de,ce(e.createElement("div",Object.assign({className:m()(Ge,U,fe,De,{[`${fe}-normal`]:de===ye,[`${fe}-rtl`]:j==="rtl"},c,V,je.root,Q==null?void 0:Q.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},et.root),se),M==null?void 0:M.root),be)},s),e.createElement("div",{className:m()(`${fe}-image`,je.image,Q==null?void 0:Q.image),style:Object.assign(Object.assign(Object.assign({},ee),et.image),M==null?void 0:M.image)},L),ae&&e.createElement("div",{className:m()(`${fe}-description`,je.description,Q==null?void 0:Q.description),style:Object.assign(Object.assign({},et.description),M==null?void 0:M.description)},ae),Re&&e.createElement("div",{className:m()(`${fe}-footer`,je.footer,Q==null?void 0:Q.footer),style:Object.assign(Object.assign({},et.footer),M==null?void 0:M.footer)},Re)))};v.PRESENTED_IMAGE_DEFAULT=q,v.PRESENTED_IMAGE_SIMPLE=ye;var X=v},24971:function(Tt,re,t){var e=t(59301),p=t(56553),m=t(48755);const Z=function(R,g){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,N;const{variant:n,[R]:D}=e.useContext(m.E_),S=e.useContext(p.pg),O=D==null?void 0:D.variant;let J;typeof g!="undefined"?J=g:f===!1?J="borderless":J=(N=(y=S!=null?S:O)!==null&&y!==void 0?y:n)!==null&&N!==void 0?N:"outlined";const Ae=m.tr.includes(J);return[J,Ae]};re.Z=Z},49397:function(Tt,re,t){t.d(re,{Z:function(){return i}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(36901),R=t(8654),g=t(62487),f=t(86013),y=t(82855),N=t(48755),n=t(2171),D=t(83397),S=t(31756),O=t(56553),J=t(24971),Ae=t(70045),Y=t(23826),q=t(53075);function ye(c){return!!(c.prefix||c.suffix||c.allowClear||c.showCount)}var v=function(c,V){var ie={};for(var de in c)Object.prototype.hasOwnProperty.call(c,de)&&V.indexOf(de)<0&&(ie[de]=c[de]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,de=Object.getOwnPropertySymbols(c);ke{const{prefixCls:ie,bordered:de=!0,status:ke,size:Re,disabled:ee,onBlur:be,onFocus:Q,suffix:M,allowClear:s,addonAfter:_,addonBefore:j,className:De,style:se,styles:je,rootClassName:et,onChange:fe,classNames:ce,variant:Ge}=c,U=v(c,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:ve,direction:ae,allowClear:ze,autoComplete:L,className:pe,style:Te,classNames:ct,styles:Ye}=(0,N.dj)("input"),k=ve("input",ie),K=(0,e.useRef)(null),oe=(0,D.Z)(k),[b,ue,T]=(0,q.TI)(k,et),[a]=(0,q.ZP)(k,oe),{compactSize:u,compactItemClassnames:H}=(0,Ae.ri)(k,ae),A=(0,S.Z)(bt=>{var yt;return(yt=Re!=null?Re:u)!==null&&yt!==void 0?yt:bt}),w=e.useContext(n.Z),B=ee!=null?ee:w,{status:P,hasFeedback:W,feedbackIcon:l}=(0,e.useContext)(O.aM),d=(0,y.F)(P,ke),xe=ye(c)||!!W,te=(0,e.useRef)(xe),ge=(0,Y.Z)(K,!0),Ce=bt=>{ge(),be==null||be(bt)},Ze=bt=>{ge(),Q==null||Q(bt)},Be=bt=>{ge(),fe==null||fe(bt)},Ne=(W||M)&&e.createElement(e.Fragment,null,M,W&&l),Le=(0,f.Z)(s!=null?s:ze),[gt,it]=(0,J.Z)("input",Ge,de);return b(a(e.createElement(Z.default,Object.assign({ref:(0,R.sQ)(V,K),prefixCls:k,autoComplete:L},U,{disabled:B,onBlur:Ce,onFocus:Ze,style:Object.assign(Object.assign({},Te),se),styles:Object.assign(Object.assign({},Ye),je),suffix:Ne,allowClear:Le,className:m()(De,et,T,oe,H,pe),onChange:Be,addonBefore:j&&e.createElement(g.Z,{form:!0,space:!0},j),addonAfter:_&&e.createElement(g.Z,{form:!0,space:!0},_),classNames:Object.assign(Object.assign(Object.assign({},ce),ct),{input:m()({[`${k}-sm`]:A==="small",[`${k}-lg`]:A==="large",[`${k}-rtl`]:ae==="rtl"},ce==null?void 0:ce.input,ct.input,ue),variant:m()({[`${k}-${gt}`]:it},(0,y.Z)(k,d)),affixWrapper:m()({[`${k}-affix-wrapper-sm`]:A==="small",[`${k}-affix-wrapper-lg`]:A==="large",[`${k}-affix-wrapper-rtl`]:ae==="rtl"},ue),wrapper:m()({[`${k}-group-rtl`]:ae==="rtl"},ue),groupWrapper:m()({[`${k}-group-wrapper-sm`]:A==="small",[`${k}-group-wrapper-lg`]:A==="large",[`${k}-group-wrapper-rtl`]:ae==="rtl",[`${k}-group-wrapper-${gt}`]:it},(0,y.Z)(`${k}-group-wrapper`,d,W),ue)})}))))})},23826:function(Tt,re,t){t.d(re,{Z:function(){return p}});var e=t(59301);function p(m,Z){const R=(0,e.useRef)([]),g=()=>{R.current.push(setTimeout(()=>{var f,y,N,n;!((f=m.current)===null||f===void 0)&&f.input&&((y=m.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((N=m.current)===null||N===void 0)&&N.input.hasAttribute("value"))&&((n=m.current)===null||n===void 0||n.input.removeAttribute("value"))}))};return(0,e.useEffect)(()=>(Z&&g(),()=>R.current.forEach(f=>{f&&clearTimeout(f)})),[]),g}},53075:function(Tt,re,t){t.d(re,{TI:function(){return X},ik:function(){return S},nz:function(){return y},s7:function(){return O},x0:function(){return D}});var e=t(36237),p=t(63356),m=t(56119),Z=t(16931),R=t(51636),g=t(64910),f=t(39082);const y=i=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:i,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),N=i=>({borderColor:i.activeBorderColor,boxShadow:i.activeShadow,outline:0,backgroundColor:i.activeBg}),n=i=>{const{paddingBlockLG:c,lineHeightLG:V,borderRadiusLG:ie,paddingInlineLG:de}=i;return{padding:`${(0,e.unit)(c)} ${(0,e.unit)(de)}`,fontSize:i.inputFontSizeLG,lineHeight:V,borderRadius:ie}},D=i=>({padding:`${(0,e.unit)(i.paddingBlockSM)} ${(0,e.unit)(i.paddingInlineSM)}`,fontSize:i.inputFontSizeSM,borderRadius:i.borderRadiusSM}),S=i=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,e.unit)(i.paddingBlock)} ${(0,e.unit)(i.paddingInline)}`,color:i.colorText,fontSize:i.inputFontSize,lineHeight:i.lineHeight,borderRadius:i.borderRadius,transition:`all ${i.motionDurationMid}`},y(i.colorTextPlaceholder)),{"&-lg":Object.assign({},n(i)),"&-sm":Object.assign({},D(i)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),O=i=>{const{componentCls:c,antCls:V}=i;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:i.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${c}, &-lg > ${c}-group-addon`]:Object.assign({},n(i)),[`&-sm ${c}, &-sm > ${c}-group-addon`]:Object.assign({},D(i)),[`&-lg ${V}-select-single ${V}-select-selector`]:{height:i.controlHeightLG},[`&-sm ${V}-select-single ${V}-select-selector`]:{height:i.controlHeightSM},[`> ${c}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${c}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,e.unit)(i.paddingInline)}`,color:i.colorText,fontWeight:"normal",fontSize:i.inputFontSize,textAlign:"center",borderRadius:i.borderRadius,transition:`all ${i.motionDurationSlow}`,lineHeight:1,[`${V}-select`]:{margin:`${(0,e.unit)(i.calc(i.paddingBlock).add(1).mul(-1).equal())} ${(0,e.unit)(i.calc(i.paddingInline).mul(-1).equal())}`,[`&${V}-select-single:not(${V}-select-customize-input):not(${V}-pagination-size-changer)`]:{[`${V}-select-selector`]:{backgroundColor:"inherit",border:`${(0,e.unit)(i.lineWidth)} ${i.lineType} transparent`,boxShadow:"none"}}},[`${V}-cascader-picker`]:{margin:`-9px ${(0,e.unit)(i.calc(i.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${V}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[c]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${c}-search-with-button &`]:{zIndex:0}}},[`> ${c}:first-child, ${c}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${V}-select ${V}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${c}-affix-wrapper`]:{[`&:not(:first-child) ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${c}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${c}:last-child, ${c}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${V}-select ${V}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${c}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${c}-search &`]:{borderStartStartRadius:i.borderRadius,borderEndStartRadius:i.borderRadius}},[`&:not(:first-child), ${c}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${c}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,p.dF)()),{[`${c}-group-addon, ${c}-group-wrap, > ${c}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:i.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${c}-affix-wrapper, & > ${c}-number-affix-wrapper, & > ${V}-picker-range @@ -33,7 +33,7 @@ & > ${V}-cascader-picker:last-child ${c}, & > ${V}-cascader-picker-focused:last-child ${c}`]:{borderInlineEndWidth:i.lineWidth,borderStartEndRadius:i.borderRadius,borderEndEndRadius:i.borderRadius},[`& > ${V}-select-auto-complete ${c}`]:{verticalAlign:"top"},[`${c}-group-wrapper + ${c}-group-wrapper`]:{marginInlineStart:i.calc(i.lineWidth).mul(-1).equal(),[`${c}-affix-wrapper`]:{borderRadius:0}},[`${c}-group-wrapper:not(:last-child)`]:{[`&${c}-search > ${c}-group`]:{[`& > ${c}-group-addon > ${c}-search-button`]:{borderRadius:0},[`& > ${c}`]:{borderStartStartRadius:i.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:i.borderRadius}}}})}},J=i=>{const{componentCls:c,controlHeightSM:V,lineWidth:ie,calc:de}=i,Re=de(V).sub(de(ie).mul(2)).sub(16).div(2).equal();return{[c]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,p.Wf)(i)),S(i)),(0,f.qG)(i)),(0,f.H8)(i)),(0,f.Mu)(i)),(0,f.vc)(i)),{'&[type="color"]':{height:i.controlHeight,[`&${c}-lg`]:{height:i.controlHeightLG},[`&${c}-sm`]:{height:V,paddingTop:Re,paddingBottom:Re}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},Ae=i=>{const{componentCls:c}=i;return{[`${c}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:i.colorTextQuaternary,fontSize:i.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${i.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:i.colorTextTertiary},"&:active":{color:i.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,e.unit)(i.inputAffixPadding)}`}}}},Y=i=>{const{componentCls:c,inputAffixPadding:V,colorTextDescription:ie,motionDurationSlow:de,colorIcon:ke,colorIconHover:Re,iconCls:ee}=i,be=`${c}-affix-wrapper`,Q=`${c}-affix-wrapper-disabled`;return{[be]:Object.assign(Object.assign(Object.assign(Object.assign({},S(i)),{display:"inline-flex",[`&:not(${c}-disabled):hover`]:{zIndex:1,[`${c}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${c}`]:{padding:0},[`> input${c}, > textarea${c}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[c]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:i.paddingXS}},"&-show-count-suffix":{color:ie},"&-show-count-has-suffix":{marginInlineEnd:i.paddingXXS},"&-prefix":{marginInlineEnd:V},"&-suffix":{marginInlineStart:V}}}),Ae(i)),{[`${ee}${c}-password-icon`]:{color:ke,cursor:"pointer",transition:`all ${de}`,"&:hover":{color:Re}}}),[`${c}-underlined`]:{borderRadius:0},[Q]:{[`${ee}${c}-password-icon`]:{color:ke,cursor:"not-allowed","&:hover":{color:ke}}}}},q=i=>{const{componentCls:c,borderRadiusLG:V,borderRadiusSM:ie}=i;return{[`${c}-group`]:Object.assign(Object.assign(Object.assign({},(0,p.Wf)(i)),O(i)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${c}-group-addon`]:{borderRadius:V,fontSize:i.inputFontSizeLG}},"&-sm":{[`${c}-group-addon`]:{borderRadius:ie}}},(0,f.ir)(i)),(0,f.S5)(i)),{[`&:not(${c}-compact-first-item):not(${c}-compact-last-item)${c}-compact-item`]:{[`${c}, ${c}-group-addon`]:{borderRadius:0}},[`&:not(${c}-compact-last-item)${c}-compact-first-item`]:{[`${c}, ${c}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${c}-compact-first-item)${c}-compact-last-item`]:{[`${c}, ${c}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${c}-compact-last-item)${c}-compact-item`]:{[`${c}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${c}-compact-first-item)${c}-compact-item`]:{[`${c}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},ye=i=>{const{componentCls:c,antCls:V}=i,ie=`${c}-search`;return{[ie]:{[c]:{"&:hover, &:focus":{[`+ ${c}-group-addon ${ie}-button:not(${V}-btn-primary)`]:{borderInlineStartColor:i.colorPrimaryHover}}},[`${c}-affix-wrapper`]:{height:i.controlHeight,borderRadius:0},[`${c}-lg`]:{lineHeight:i.calc(i.lineHeightLG).sub(2e-4).equal()},[`> ${c}-group`]:{[`> ${c}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${ie}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${ie}-button:not(${V}-btn-primary)`]:{color:i.colorTextDescription,"&:hover":{color:i.colorPrimaryHover},"&:active":{color:i.colorPrimaryActive},[`&${V}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${ie}-button`]:{height:i.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${c}-affix-wrapper, ${ie}-button`]:{height:i.controlHeightLG}},"&-small":{[`${c}-affix-wrapper, ${ie}-button`]:{height:i.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${c}-compact-item`]:{[`&:not(${c}-compact-last-item)`]:{[`${c}-group-addon`]:{[`${c}-search-button`]:{marginInlineEnd:i.calc(i.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${c}-compact-first-item)`]:{[`${c},${c}-affix-wrapper`]:{borderRadius:0}},[`> ${c}-group-addon ${c}-search-button, > ${c}, - ${c}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${c}-affix-wrapper-focused`]:{zIndex:2}}}}},v=i=>{const{componentCls:c}=i;return{[`${c}-out-of-range`]:{[`&, & input, & textarea, ${c}-show-count-suffix, ${c}-data-count`]:{color:i.colorError}}}},X=(0,Z.I$)(["Input","Shared"],i=>{const c=(0,R.mergeToken)(i,(0,g.e)(i));return[J(c),Y(c)]},g.T,{resetFont:!1});re.ZP=(0,Z.I$)(["Input","Component"],i=>{const c=(0,R.mergeToken)(i,(0,g.e)(i));return[q(c),ye(c),v(c),(0,m.c)(c)]},g.T,{resetFont:!1})},64910:function(Zt,re,t){t.d(re,{T:function(){return m},e:function(){return p}});var e=t(51636);function p(Z){return(0,e.mergeToken)(Z,{inputAffixPadding:Z.paddingXXS})}const m=Z=>{const{controlHeight:R,fontSize:g,lineHeight:f,lineWidth:y,controlHeightSM:N,controlHeightLG:n,fontSizeLG:D,lineHeightLG:S,paddingSM:O,controlPaddingHorizontalSM:J,controlPaddingHorizontal:Ae,colorFillAlter:Y,colorPrimaryHover:q,colorPrimary:ye,controlOutlineWidth:v,controlOutline:X,colorErrorOutline:i,colorWarningOutline:c,colorBgContainer:V,inputFontSize:ie,inputFontSizeLG:de,inputFontSizeSM:ke}=Z,Re=ie||g,ee=ke||Re,be=de||D,Q=Math.round((R-Re*f)/2*10)/10-y,M=Math.round((N-ee*f)/2*10)/10-y,s=Math.ceil((n-be*S)/2*10)/10-y;return{paddingBlock:Math.max(Q,0),paddingBlockSM:Math.max(M,0),paddingBlockLG:Math.max(s,0),paddingInline:O-y,paddingInlineSM:J-y,paddingInlineLG:Ae-y,addonBg:Y,activeBorderColor:ye,hoverBorderColor:q,activeShadow:`0 0 0 ${v}px ${X}`,errorActiveShadow:`0 0 0 ${v}px ${i}`,warningActiveShadow:`0 0 0 ${v}px ${c}`,hoverBg:V,activeBg:V,inputFontSize:Re,inputFontSizeLG:be,inputFontSizeSM:ee}}},39082:function(Zt,re,t){t.d(re,{$U:function(){return R},H8:function(){return O},Mu:function(){return n},S5:function(){return Ae},Xy:function(){return Z},ir:function(){return N},qG:function(){return f},vc:function(){return ye}});var e=t(36237),p=t(51636);const m=v=>({borderColor:v.hoverBorderColor,backgroundColor:v.hoverBg}),Z=v=>({color:v.colorTextDisabled,backgroundColor:v.colorBgContainerDisabled,borderColor:v.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},m((0,p.mergeToken)(v,{hoverBorderColor:v.colorBorder,hoverBg:v.colorBgContainerDisabled})))}),R=(v,X)=>({background:v.colorBgContainer,borderWidth:v.lineWidth,borderStyle:v.lineType,borderColor:X.borderColor,"&:hover":{borderColor:X.hoverBorderColor,backgroundColor:v.hoverBg},"&:focus, &:focus-within":{borderColor:X.activeBorderColor,boxShadow:X.activeShadow,outline:0,backgroundColor:v.activeBg}}),g=(v,X)=>({[`&${v.componentCls}-status-${X.status}:not(${v.componentCls}-disabled)`]:Object.assign(Object.assign({},R(v,X)),{[`${v.componentCls}-prefix, ${v.componentCls}-suffix`]:{color:X.affixColor}}),[`&${v.componentCls}-status-${X.status}${v.componentCls}-disabled`]:{borderColor:X.borderColor}}),f=(v,X)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},R(v,{borderColor:v.colorBorder,hoverBorderColor:v.hoverBorderColor,activeBorderColor:v.activeBorderColor,activeShadow:v.activeShadow})),{[`&${v.componentCls}-disabled, &[disabled]`]:Object.assign({},Z(v))}),g(v,{status:"error",borderColor:v.colorError,hoverBorderColor:v.colorErrorBorderHover,activeBorderColor:v.colorError,activeShadow:v.errorActiveShadow,affixColor:v.colorError})),g(v,{status:"warning",borderColor:v.colorWarning,hoverBorderColor:v.colorWarningBorderHover,activeBorderColor:v.colorWarning,activeShadow:v.warningActiveShadow,affixColor:v.colorWarning})),X)}),y=(v,X)=>({[`&${v.componentCls}-group-wrapper-status-${X.status}`]:{[`${v.componentCls}-group-addon`]:{borderColor:X.addonBorderColor,color:X.addonColor}}}),N=v=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${v.componentCls}-group`]:{"&-addon":{background:v.addonBg,border:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},y(v,{status:"error",addonBorderColor:v.colorError,addonColor:v.colorErrorText})),y(v,{status:"warning",addonBorderColor:v.colorWarning,addonColor:v.colorWarningText})),{[`&${v.componentCls}-group-wrapper-disabled`]:{[`${v.componentCls}-group-addon`]:Object.assign({},Z(v))}})}),n=(v,X)=>{const{componentCls:i}=v;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${i}-disabled, &[disabled]`]:{color:v.colorTextDisabled,cursor:"not-allowed"},[`&${i}-status-error`]:{"&, & input, & textarea":{color:v.colorError}},[`&${i}-status-warning`]:{"&, & input, & textarea":{color:v.colorWarning}}},X)}},D=(v,X)=>{var i;return{background:X.bg,borderWidth:v.lineWidth,borderStyle:v.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(i=X==null?void 0:X.inputColor)!==null&&i!==void 0?i:"unset"},"&:hover":{background:X.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:X.activeBorderColor,backgroundColor:v.activeBg}}},S=(v,X)=>({[`&${v.componentCls}-status-${X.status}:not(${v.componentCls}-disabled)`]:Object.assign(Object.assign({},D(v,X)),{[`${v.componentCls}-prefix, ${v.componentCls}-suffix`]:{color:X.affixColor}})}),O=(v,X)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},D(v,{bg:v.colorFillTertiary,hoverBg:v.colorFillSecondary,activeBorderColor:v.activeBorderColor})),{[`&${v.componentCls}-disabled, &[disabled]`]:Object.assign({},Z(v))}),S(v,{status:"error",bg:v.colorErrorBg,hoverBg:v.colorErrorBgHover,activeBorderColor:v.colorError,inputColor:v.colorErrorText,affixColor:v.colorError})),S(v,{status:"warning",bg:v.colorWarningBg,hoverBg:v.colorWarningBgHover,activeBorderColor:v.colorWarning,inputColor:v.colorWarningText,affixColor:v.colorWarning})),X)}),J=(v,X)=>({[`&${v.componentCls}-group-wrapper-status-${X.status}`]:{[`${v.componentCls}-group-addon`]:{background:X.addonBg,color:X.addonColor}}}),Ae=v=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${v.componentCls}-group`]:{"&-addon":{background:v.colorFillTertiary},[`${v.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorSplit}`}}}},J(v,{status:"error",addonBg:v.colorErrorBg,addonColor:v.colorErrorText})),J(v,{status:"warning",addonBg:v.colorWarningBg,addonColor:v.colorWarningText})),{[`&${v.componentCls}-group-wrapper-disabled`]:{[`${v.componentCls}-group`]:{"&-addon":{background:v.colorFillTertiary,color:v.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderTop:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderBottom:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderTop:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderBottom:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`}}}})}),Y=(v,X)=>({background:v.colorBgContainer,borderWidth:`${(0,e.unit)(v.lineWidth)} 0`,borderStyle:`${v.lineType} none`,borderColor:`transparent transparent ${X.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${X.borderColor} transparent`,backgroundColor:v.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${X.borderColor} transparent`,outline:0,backgroundColor:v.activeBg}}),q=(v,X)=>({[`&${v.componentCls}-status-${X.status}:not(${v.componentCls}-disabled)`]:Object.assign(Object.assign({},Y(v,X)),{[`${v.componentCls}-prefix, ${v.componentCls}-suffix`]:{color:X.affixColor}}),[`&${v.componentCls}-status-${X.status}${v.componentCls}-disabled`]:{borderColor:`transparent transparent ${X.borderColor} transparent`}}),ye=(v,X)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Y(v,{borderColor:v.colorBorder,hoverBorderColor:v.hoverBorderColor,activeBorderColor:v.activeBorderColor,activeShadow:v.activeShadow})),{[`&${v.componentCls}-disabled, &[disabled]`]:{color:v.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${v.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),q(v,{status:"error",borderColor:v.colorError,hoverBorderColor:v.colorErrorBorderHover,activeBorderColor:v.colorError,activeShadow:v.errorActiveShadow,affixColor:v.colorError})),q(v,{status:"warning",borderColor:v.colorWarning,hoverBorderColor:v.colorWarningBorderHover,activeBorderColor:v.colorWarning,activeShadow:v.warningActiveShadow,affixColor:v.colorWarning})),X)})},24303:function(Zt,re,t){t.d(re,{D:function(){return ie},Z:function(){return Re}});var e=t(59301),p=t(60499),m={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Z=m,R=t(7657),g=function(be,Q){return e.createElement(R.Z,(0,p.Z)({},be,{ref:Q,icon:Z}))},f=e.forwardRef(g),y=f,N=t(33853),n=t(38819),D=t(92310),S=t.n(D),O=t(2738),J=t(48755),Ae=t(6989),Y=t(36237),q=t(48923),ye=t(16931);const v=ee=>{const{componentCls:be,siderBg:Q,motionDurationMid:M,motionDurationSlow:s,antCls:_,triggerHeight:j,triggerColor:De,triggerBg:se,headerHeight:je,zeroTriggerWidth:et,zeroTriggerHeight:fe,borderRadiusLG:ce,lightSiderBg:Ge,lightTriggerColor:U,lightTriggerBg:ve,bodyBg:ae}=ee;return{[be]:{position:"relative",minWidth:0,background:Q,transition:`all ${M}, background 0s`,"&-has-trigger":{paddingBottom:j},"&-right":{order:1},[`${be}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${_}-menu${_}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${be}-children`]:{overflow:"hidden"},[`${be}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:j,color:De,lineHeight:(0,Y.unit)(j),textAlign:"center",background:se,cursor:"pointer",transition:`all ${M}`},[`${be}-zero-width-trigger`]:{position:"absolute",top:je,insetInlineEnd:ee.calc(et).mul(-1).equal(),zIndex:1,width:et,height:fe,color:De,fontSize:ee.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Q,borderRadius:`0 ${(0,Y.unit)(ce)} ${(0,Y.unit)(ce)} 0`,cursor:"pointer",transition:`background ${s} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${s}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ee.calc(et).mul(-1).equal(),borderRadius:`${(0,Y.unit)(ce)} 0 0 ${(0,Y.unit)(ce)}`}},"&-light":{background:Ge,[`${be}-trigger`]:{color:U,background:ve},[`${be}-zero-width-trigger`]:{color:U,background:ve,border:`1px solid ${ae}`,borderInlineStart:0}}}}};var X=(0,ye.I$)(["Layout","Sider"],ee=>[v(ee)],q.eh,{deprecatedTokens:q.jn}),i=function(ee,be){var Q={};for(var M in ee)Object.prototype.hasOwnProperty.call(ee,M)&&be.indexOf(M)<0&&(Q[M]=ee[M]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,M=Object.getOwnPropertySymbols(ee);s!Number.isNaN(Number.parseFloat(ee))&&isFinite(ee),ie=e.createContext({}),de=(()=>{let ee=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ee+=1,`${be}${ee}`}})();var Re=e.forwardRef((ee,be)=>{const{prefixCls:Q,className:M,trigger:s,children:_,defaultCollapsed:j=!1,theme:De="dark",style:se={},collapsible:je=!1,reverseArrow:et=!1,width:fe=200,collapsedWidth:ce=80,zeroWidthTriggerStyle:Ge,breakpoint:U,onCollapse:ve,onBreakpoint:ae}=ee,ze=i(ee,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:L}=(0,e.useContext)(Ae.V),[pe,Te]=(0,e.useState)("collapsed"in ee?ee.collapsed:j),[ct,Xe]=(0,e.useState)(!1);(0,e.useEffect)(()=>{"collapsed"in ee&&Te(ee.collapsed)},[ee.collapsed]);const k=(Be,Ne)=>{"collapsed"in ee||Te(Be),ve==null||ve(Be,Ne)},{getPrefixCls:K,direction:oe}=(0,e.useContext)(J.E_),b=K("layout-sider",Q),[ue,T,a]=X(b),u=(0,e.useRef)(null);u.current=Be=>{Xe(Be.matches),ae==null||ae(Be.matches),pe!==Be.matches&&k(Be.matches,"responsive")},(0,e.useEffect)(()=>{function Be(Le){return u.current(Le)}let Ne;if(typeof window!="undefined"){const{matchMedia:Le}=window;if(Le&&U&&U in c){Ne=Le(`screen and (max-width: ${c[U]})`);try{Ne.addEventListener("change",Be)}catch(gt){Ne.addListener(Be)}Be(Ne)}}return()=>{try{Ne==null||Ne.removeEventListener("change",Be)}catch(Le){Ne==null||Ne.removeListener(Be)}}},[U]),(0,e.useEffect)(()=>{const Be=de("ant-sider-");return L.addSider(Be),()=>L.removeSider(Be)},[]);const H=()=>{k(!pe,"clickTrigger")},A=(0,O.Z)(ze,["collapsed"]),w=pe?ce:fe,B=V(w)?`${w}px`:String(w),P=parseFloat(String(ce||0))===0?e.createElement("span",{onClick:H,className:S()(`${b}-zero-width-trigger`,`${b}-zero-width-trigger-${et?"right":"left"}`),style:Ge},s||e.createElement(y,null)):null,W=oe==="rtl"==!et,xe={expanded:W?e.createElement(n.Z,null):e.createElement(N.Z,null),collapsed:W?e.createElement(N.Z,null):e.createElement(n.Z,null)}[pe?"collapsed":"expanded"],te=s!==null?P||e.createElement("div",{className:`${b}-trigger`,onClick:H,style:{width:B}},s||xe):null,ge=Object.assign(Object.assign({},se),{flex:`0 0 ${B}`,maxWidth:B,minWidth:B,width:B}),Ce=S()(b,`${b}-${De}`,{[`${b}-collapsed`]:!!pe,[`${b}-has-trigger`]:je&&s!==null&&!P,[`${b}-below`]:!!ct,[`${b}-zero-width`]:parseFloat(B)===0},M,T,a),Ze=e.useMemo(()=>({siderCollapsed:pe}),[pe]);return ue(e.createElement(ie.Provider,{value:Ze},e.createElement("aside",Object.assign({className:Ce},A,{style:ge,ref:be}),e.createElement("div",{className:`${b}-children`},_),je||ct&&P?te:null)))})},6989:function(Zt,re,t){t.d(re,{V:function(){return p}});var e=t(59301);const p=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Zt,re,t){t.d(re,{eh:function(){return Z},jn:function(){return R}});var e=t(36237),p=t(16931);const m=g=>{const{antCls:f,componentCls:y,colorText:N,footerBg:n,headerHeight:D,headerPadding:S,headerColor:O,footerPadding:J,fontSize:Ae,bodyBg:Y,headerBg:q}=g;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Y,"&, *":{boxSizing:"border-box"},[`&${y}-has-sider`]:{flexDirection:"row",[`> ${y}, > ${y}-content`]:{width:0}},[`${y}-header, &${y}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${y}-header`]:{height:D,padding:S,color:O,lineHeight:(0,e.unit)(D),background:q,[`${f}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:J,color:N,fontSize:Ae,background:n},[`${y}-content`]:{flex:"auto",color:N,minHeight:0}}},Z=g=>{const{colorBgLayout:f,controlHeight:y,controlHeightLG:N,colorText:n,controlHeightSM:D,marginXXS:S,colorTextLightSolid:O,colorBgContainer:J}=g,Ae=N*1.25;return{colorBgHeader:"#001529",colorBgBody:f,colorBgTrigger:"#002140",bodyBg:f,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${Ae}px`,headerColor:n,footerPadding:`${D}px ${Ae}px`,footerBg:f,siderBg:"#001529",triggerHeight:N+S*2,triggerBg:"#002140",triggerColor:O,zeroTriggerWidth:N,zeroTriggerHeight:N,lightSiderBg:J,lightTriggerBg:J,lightTriggerColor:n}},R=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];re.ZP=(0,p.I$)("Layout",g=>[m(g)],Z,{deprecatedTokens:R})},78857:function(Zt,re,t){t.d(re,{J:function(){return g}});var e=t(59301),p=t(8654),m=t(62487),Z=function(f,y){var N={};for(var n in f)Object.prototype.hasOwnProperty.call(f,n)&&y.indexOf(n)<0&&(N[n]=f[n]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,n=Object.getOwnPropertySymbols(f);D{const{children:N}=f,n=Z(f,["children"]),D=e.useContext(R),S=e.useMemo(()=>Object.assign(Object.assign({},D),n),[D,n.prefixCls,n.mode,n.selectable,n.rootClassName]),O=(0,p.t4)(N),J=(0,p.x1)(y,O?(0,p.C4)(N):null);return e.createElement(R.Provider,{value:S},e.createElement(m.Z,{space:!0},O?e.cloneElement(N,{ref:J}):N))});re.Z=R},93041:function(Zt,re,t){t.d(re,{default:function(){return ue}});var e=t(59301),p=t(28321),m=t(24303),Z=t(18785),R=t(92310),g=t.n(R),f=t(6089),y=t(2738),N=t(86641),n=t(22703),D=t(48755),S=t(83397),J=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ae=function(T,a){var u={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&a.indexOf(H)<0&&(u[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,H=Object.getOwnPropertySymbols(T);A{const{prefixCls:a,className:u,dashed:H}=T,A=Ae(T,["prefixCls","className","dashed"]),{getPrefixCls:w}=e.useContext(D.E_),B=w("menu",a),P=g()({[`${B}-item-divider-dashed`]:!!H},u);return e.createElement(p.iz,Object.assign({className:P},A))},ye=t(11592),v=t(25399),i=T=>{var a;const{className:u,children:H,icon:A,title:w,danger:B,extra:P}=T,{prefixCls:W,firstLevel:l,direction:d,disableMenuItemTitleTooltip:xe,inlineCollapsed:te}=e.useContext(J),ge=gt=>{const it=H==null?void 0:H[0],bt=e.createElement("span",{className:g()(`${W}-title-content`,{[`${W}-title-content-with-extra`]:!!P||P===0})},H);return(!A||e.isValidElement(H)&&H.type==="span")&&H&>&&l&&typeof it=="string"?e.createElement("div",{className:`${W}-inline-collapsed-noicon`},it.charAt(0)):bt},{siderCollapsed:Ce}=e.useContext(m.D);let Ze=w;typeof w=="undefined"?Ze=l?H:"":w===!1&&(Ze="");const Be={title:Ze};!Ce&&!te&&(Be.title=null,Be.open=!1);const Ne=(0,ye.Z)(H).length;let Le=e.createElement(p.ck,Object.assign({},(0,y.Z)(T,["title","icon","danger"]),{className:g()({[`${W}-item-danger`]:B,[`${W}-item-only-child`]:(A?Ne+1:Ne)===1},u),title:typeof w=="string"?w:void 0}),(0,n.Tm)(A,{className:g()(e.isValidElement(A)?(a=A.props)===null||a===void 0?void 0:a.className:"",`${W}-item-icon`)}),ge(te));return xe||(Le=e.createElement(v.Z,Object.assign({},Be,{placement:d==="rtl"?"left":"right",classNames:{root:`${W}-inline-collapsed-tooltip`}}),Le)),Le},c=t(78857),V=t(36237),ie=t(17835),de=t(63356),ke=t(34961),Re=t(46e3),ee=t(34925),be=t(16931),Q=t(51636),s=T=>{const{componentCls:a,motionDurationSlow:u,horizontalLineHeight:H,colorSplit:A,lineWidth:w,lineType:B,itemPaddingInline:P}=T;return{[`${a}-horizontal`]:{lineHeight:H,border:0,borderBottom:`${(0,V.unit)(w)} ${B} ${A}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${a}-item, ${a}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:P},[`> ${a}-item:hover, + ${c}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${c}-affix-wrapper-focused`]:{zIndex:2}}}}},v=i=>{const{componentCls:c}=i;return{[`${c}-out-of-range`]:{[`&, & input, & textarea, ${c}-show-count-suffix, ${c}-data-count`]:{color:i.colorError}}}},X=(0,Z.I$)(["Input","Shared"],i=>{const c=(0,R.mergeToken)(i,(0,g.e)(i));return[J(c),Y(c)]},g.T,{resetFont:!1});re.ZP=(0,Z.I$)(["Input","Component"],i=>{const c=(0,R.mergeToken)(i,(0,g.e)(i));return[q(c),ye(c),v(c),(0,m.c)(c)]},g.T,{resetFont:!1})},64910:function(Tt,re,t){t.d(re,{T:function(){return m},e:function(){return p}});var e=t(51636);function p(Z){return(0,e.mergeToken)(Z,{inputAffixPadding:Z.paddingXXS})}const m=Z=>{const{controlHeight:R,fontSize:g,lineHeight:f,lineWidth:y,controlHeightSM:N,controlHeightLG:n,fontSizeLG:D,lineHeightLG:S,paddingSM:O,controlPaddingHorizontalSM:J,controlPaddingHorizontal:Ae,colorFillAlter:Y,colorPrimaryHover:q,colorPrimary:ye,controlOutlineWidth:v,controlOutline:X,colorErrorOutline:i,colorWarningOutline:c,colorBgContainer:V,inputFontSize:ie,inputFontSizeLG:de,inputFontSizeSM:ke}=Z,Re=ie||g,ee=ke||Re,be=de||D,Q=Math.round((R-Re*f)/2*10)/10-y,M=Math.round((N-ee*f)/2*10)/10-y,s=Math.ceil((n-be*S)/2*10)/10-y;return{paddingBlock:Math.max(Q,0),paddingBlockSM:Math.max(M,0),paddingBlockLG:Math.max(s,0),paddingInline:O-y,paddingInlineSM:J-y,paddingInlineLG:Ae-y,addonBg:Y,activeBorderColor:ye,hoverBorderColor:q,activeShadow:`0 0 0 ${v}px ${X}`,errorActiveShadow:`0 0 0 ${v}px ${i}`,warningActiveShadow:`0 0 0 ${v}px ${c}`,hoverBg:V,activeBg:V,inputFontSize:Re,inputFontSizeLG:be,inputFontSizeSM:ee}}},39082:function(Tt,re,t){t.d(re,{$U:function(){return R},H8:function(){return O},Mu:function(){return n},S5:function(){return Ae},Xy:function(){return Z},ir:function(){return N},qG:function(){return f},vc:function(){return ye}});var e=t(36237),p=t(51636);const m=v=>({borderColor:v.hoverBorderColor,backgroundColor:v.hoverBg}),Z=v=>({color:v.colorTextDisabled,backgroundColor:v.colorBgContainerDisabled,borderColor:v.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},m((0,p.mergeToken)(v,{hoverBorderColor:v.colorBorder,hoverBg:v.colorBgContainerDisabled})))}),R=(v,X)=>({background:v.colorBgContainer,borderWidth:v.lineWidth,borderStyle:v.lineType,borderColor:X.borderColor,"&:hover":{borderColor:X.hoverBorderColor,backgroundColor:v.hoverBg},"&:focus, &:focus-within":{borderColor:X.activeBorderColor,boxShadow:X.activeShadow,outline:0,backgroundColor:v.activeBg}}),g=(v,X)=>({[`&${v.componentCls}-status-${X.status}:not(${v.componentCls}-disabled)`]:Object.assign(Object.assign({},R(v,X)),{[`${v.componentCls}-prefix, ${v.componentCls}-suffix`]:{color:X.affixColor}}),[`&${v.componentCls}-status-${X.status}${v.componentCls}-disabled`]:{borderColor:X.borderColor}}),f=(v,X)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},R(v,{borderColor:v.colorBorder,hoverBorderColor:v.hoverBorderColor,activeBorderColor:v.activeBorderColor,activeShadow:v.activeShadow})),{[`&${v.componentCls}-disabled, &[disabled]`]:Object.assign({},Z(v))}),g(v,{status:"error",borderColor:v.colorError,hoverBorderColor:v.colorErrorBorderHover,activeBorderColor:v.colorError,activeShadow:v.errorActiveShadow,affixColor:v.colorError})),g(v,{status:"warning",borderColor:v.colorWarning,hoverBorderColor:v.colorWarningBorderHover,activeBorderColor:v.colorWarning,activeShadow:v.warningActiveShadow,affixColor:v.colorWarning})),X)}),y=(v,X)=>({[`&${v.componentCls}-group-wrapper-status-${X.status}`]:{[`${v.componentCls}-group-addon`]:{borderColor:X.addonBorderColor,color:X.addonColor}}}),N=v=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${v.componentCls}-group`]:{"&-addon":{background:v.addonBg,border:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},y(v,{status:"error",addonBorderColor:v.colorError,addonColor:v.colorErrorText})),y(v,{status:"warning",addonBorderColor:v.colorWarning,addonColor:v.colorWarningText})),{[`&${v.componentCls}-group-wrapper-disabled`]:{[`${v.componentCls}-group-addon`]:Object.assign({},Z(v))}})}),n=(v,X)=>{const{componentCls:i}=v;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${i}-disabled, &[disabled]`]:{color:v.colorTextDisabled,cursor:"not-allowed"},[`&${i}-status-error`]:{"&, & input, & textarea":{color:v.colorError}},[`&${i}-status-warning`]:{"&, & input, & textarea":{color:v.colorWarning}}},X)}},D=(v,X)=>{var i;return{background:X.bg,borderWidth:v.lineWidth,borderStyle:v.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(i=X==null?void 0:X.inputColor)!==null&&i!==void 0?i:"unset"},"&:hover":{background:X.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:X.activeBorderColor,backgroundColor:v.activeBg}}},S=(v,X)=>({[`&${v.componentCls}-status-${X.status}:not(${v.componentCls}-disabled)`]:Object.assign(Object.assign({},D(v,X)),{[`${v.componentCls}-prefix, ${v.componentCls}-suffix`]:{color:X.affixColor}})}),O=(v,X)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},D(v,{bg:v.colorFillTertiary,hoverBg:v.colorFillSecondary,activeBorderColor:v.activeBorderColor})),{[`&${v.componentCls}-disabled, &[disabled]`]:Object.assign({},Z(v))}),S(v,{status:"error",bg:v.colorErrorBg,hoverBg:v.colorErrorBgHover,activeBorderColor:v.colorError,inputColor:v.colorErrorText,affixColor:v.colorError})),S(v,{status:"warning",bg:v.colorWarningBg,hoverBg:v.colorWarningBgHover,activeBorderColor:v.colorWarning,inputColor:v.colorWarningText,affixColor:v.colorWarning})),X)}),J=(v,X)=>({[`&${v.componentCls}-group-wrapper-status-${X.status}`]:{[`${v.componentCls}-group-addon`]:{background:X.addonBg,color:X.addonColor}}}),Ae=v=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${v.componentCls}-group`]:{"&-addon":{background:v.colorFillTertiary},[`${v.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorSplit}`}}}},J(v,{status:"error",addonBg:v.colorErrorBg,addonColor:v.colorErrorText})),J(v,{status:"warning",addonBg:v.colorWarningBg,addonColor:v.colorWarningText})),{[`&${v.componentCls}-group-wrapper-disabled`]:{[`${v.componentCls}-group`]:{"&-addon":{background:v.colorFillTertiary,color:v.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderTop:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderBottom:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderTop:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`,borderBottom:`${(0,e.unit)(v.lineWidth)} ${v.lineType} ${v.colorBorder}`}}}})}),Y=(v,X)=>({background:v.colorBgContainer,borderWidth:`${(0,e.unit)(v.lineWidth)} 0`,borderStyle:`${v.lineType} none`,borderColor:`transparent transparent ${X.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${X.borderColor} transparent`,backgroundColor:v.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${X.borderColor} transparent`,outline:0,backgroundColor:v.activeBg}}),q=(v,X)=>({[`&${v.componentCls}-status-${X.status}:not(${v.componentCls}-disabled)`]:Object.assign(Object.assign({},Y(v,X)),{[`${v.componentCls}-prefix, ${v.componentCls}-suffix`]:{color:X.affixColor}}),[`&${v.componentCls}-status-${X.status}${v.componentCls}-disabled`]:{borderColor:`transparent transparent ${X.borderColor} transparent`}}),ye=(v,X)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Y(v,{borderColor:v.colorBorder,hoverBorderColor:v.hoverBorderColor,activeBorderColor:v.activeBorderColor,activeShadow:v.activeShadow})),{[`&${v.componentCls}-disabled, &[disabled]`]:{color:v.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${v.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),q(v,{status:"error",borderColor:v.colorError,hoverBorderColor:v.colorErrorBorderHover,activeBorderColor:v.colorError,activeShadow:v.errorActiveShadow,affixColor:v.colorError})),q(v,{status:"warning",borderColor:v.colorWarning,hoverBorderColor:v.colorWarningBorderHover,activeBorderColor:v.colorWarning,activeShadow:v.warningActiveShadow,affixColor:v.colorWarning})),X)})},24303:function(Tt,re,t){t.d(re,{D:function(){return ie},Z:function(){return Re}});var e=t(59301),p=t(60499),m={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Z=m,R=t(7657),g=function(be,Q){return e.createElement(R.Z,(0,p.Z)({},be,{ref:Q,icon:Z}))},f=e.forwardRef(g),y=f,N=t(33853),n=t(38819),D=t(92310),S=t.n(D),O=t(2738),J=t(48755),Ae=t(6989),Y=t(36237),q=t(48923),ye=t(16931);const v=ee=>{const{componentCls:be,siderBg:Q,motionDurationMid:M,motionDurationSlow:s,antCls:_,triggerHeight:j,triggerColor:De,triggerBg:se,headerHeight:je,zeroTriggerWidth:et,zeroTriggerHeight:fe,borderRadiusLG:ce,lightSiderBg:Ge,lightTriggerColor:U,lightTriggerBg:ve,bodyBg:ae}=ee;return{[be]:{position:"relative",minWidth:0,background:Q,transition:`all ${M}, background 0s`,"&-has-trigger":{paddingBottom:j},"&-right":{order:1},[`${be}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${_}-menu${_}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${be}-children`]:{overflow:"hidden"},[`${be}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:j,color:De,lineHeight:(0,Y.unit)(j),textAlign:"center",background:se,cursor:"pointer",transition:`all ${M}`},[`${be}-zero-width-trigger`]:{position:"absolute",top:je,insetInlineEnd:ee.calc(et).mul(-1).equal(),zIndex:1,width:et,height:fe,color:De,fontSize:ee.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Q,borderRadius:`0 ${(0,Y.unit)(ce)} ${(0,Y.unit)(ce)} 0`,cursor:"pointer",transition:`background ${s} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${s}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:ee.calc(et).mul(-1).equal(),borderRadius:`${(0,Y.unit)(ce)} 0 0 ${(0,Y.unit)(ce)}`}},"&-light":{background:Ge,[`${be}-trigger`]:{color:U,background:ve},[`${be}-zero-width-trigger`]:{color:U,background:ve,border:`1px solid ${ae}`,borderInlineStart:0}}}}};var X=(0,ye.I$)(["Layout","Sider"],ee=>[v(ee)],q.eh,{deprecatedTokens:q.jn}),i=function(ee,be){var Q={};for(var M in ee)Object.prototype.hasOwnProperty.call(ee,M)&&be.indexOf(M)<0&&(Q[M]=ee[M]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,M=Object.getOwnPropertySymbols(ee);s!Number.isNaN(Number.parseFloat(ee))&&isFinite(ee),ie=e.createContext({}),de=(()=>{let ee=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ee+=1,`${be}${ee}`}})();var Re=e.forwardRef((ee,be)=>{const{prefixCls:Q,className:M,trigger:s,children:_,defaultCollapsed:j=!1,theme:De="dark",style:se={},collapsible:je=!1,reverseArrow:et=!1,width:fe=200,collapsedWidth:ce=80,zeroWidthTriggerStyle:Ge,breakpoint:U,onCollapse:ve,onBreakpoint:ae}=ee,ze=i(ee,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:L}=(0,e.useContext)(Ae.V),[pe,Te]=(0,e.useState)("collapsed"in ee?ee.collapsed:j),[ct,Ye]=(0,e.useState)(!1);(0,e.useEffect)(()=>{"collapsed"in ee&&Te(ee.collapsed)},[ee.collapsed]);const k=(Be,Ne)=>{"collapsed"in ee||Te(Be),ve==null||ve(Be,Ne)},{getPrefixCls:K,direction:oe}=(0,e.useContext)(J.E_),b=K("layout-sider",Q),[ue,T,a]=X(b),u=(0,e.useRef)(null);u.current=Be=>{Ye(Be.matches),ae==null||ae(Be.matches),pe!==Be.matches&&k(Be.matches,"responsive")},(0,e.useEffect)(()=>{function Be(Le){return u.current(Le)}let Ne;if(typeof window!="undefined"){const{matchMedia:Le}=window;if(Le&&U&&U in c){Ne=Le(`screen and (max-width: ${c[U]})`);try{Ne.addEventListener("change",Be)}catch(gt){Ne.addListener(Be)}Be(Ne)}}return()=>{try{Ne==null||Ne.removeEventListener("change",Be)}catch(Le){Ne==null||Ne.removeListener(Be)}}},[U]),(0,e.useEffect)(()=>{const Be=de("ant-sider-");return L.addSider(Be),()=>L.removeSider(Be)},[]);const H=()=>{k(!pe,"clickTrigger")},A=(0,O.Z)(ze,["collapsed"]),w=pe?ce:fe,B=V(w)?`${w}px`:String(w),P=parseFloat(String(ce||0))===0?e.createElement("span",{onClick:H,className:S()(`${b}-zero-width-trigger`,`${b}-zero-width-trigger-${et?"right":"left"}`),style:Ge},s||e.createElement(y,null)):null,W=oe==="rtl"==!et,xe={expanded:W?e.createElement(n.Z,null):e.createElement(N.Z,null),collapsed:W?e.createElement(N.Z,null):e.createElement(n.Z,null)}[pe?"collapsed":"expanded"],te=s!==null?P||e.createElement("div",{className:`${b}-trigger`,onClick:H,style:{width:B}},s||xe):null,ge=Object.assign(Object.assign({},se),{flex:`0 0 ${B}`,maxWidth:B,minWidth:B,width:B}),Ce=S()(b,`${b}-${De}`,{[`${b}-collapsed`]:!!pe,[`${b}-has-trigger`]:je&&s!==null&&!P,[`${b}-below`]:!!ct,[`${b}-zero-width`]:parseFloat(B)===0},M,T,a),Ze=e.useMemo(()=>({siderCollapsed:pe}),[pe]);return ue(e.createElement(ie.Provider,{value:Ze},e.createElement("aside",Object.assign({className:Ce},A,{style:ge,ref:be}),e.createElement("div",{className:`${b}-children`},_),je||ct&&P?te:null)))})},6989:function(Tt,re,t){t.d(re,{V:function(){return p}});var e=t(59301);const p=e.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Tt,re,t){t.d(re,{eh:function(){return Z},jn:function(){return R}});var e=t(36237),p=t(16931);const m=g=>{const{antCls:f,componentCls:y,colorText:N,footerBg:n,headerHeight:D,headerPadding:S,headerColor:O,footerPadding:J,fontSize:Ae,bodyBg:Y,headerBg:q}=g;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Y,"&, *":{boxSizing:"border-box"},[`&${y}-has-sider`]:{flexDirection:"row",[`> ${y}, > ${y}-content`]:{width:0}},[`${y}-header, &${y}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${y}-header`]:{height:D,padding:S,color:O,lineHeight:(0,e.unit)(D),background:q,[`${f}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:J,color:N,fontSize:Ae,background:n},[`${y}-content`]:{flex:"auto",color:N,minHeight:0}}},Z=g=>{const{colorBgLayout:f,controlHeight:y,controlHeightLG:N,colorText:n,controlHeightSM:D,marginXXS:S,colorTextLightSolid:O,colorBgContainer:J}=g,Ae=N*1.25;return{colorBgHeader:"#001529",colorBgBody:f,colorBgTrigger:"#002140",bodyBg:f,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${Ae}px`,headerColor:n,footerPadding:`${D}px ${Ae}px`,footerBg:f,siderBg:"#001529",triggerHeight:N+S*2,triggerBg:"#002140",triggerColor:O,zeroTriggerWidth:N,zeroTriggerHeight:N,lightSiderBg:J,lightTriggerBg:J,lightTriggerColor:n}},R=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];re.ZP=(0,p.I$)("Layout",g=>[m(g)],Z,{deprecatedTokens:R})},78857:function(Tt,re,t){t.d(re,{J:function(){return g}});var e=t(59301),p=t(8654),m=t(62487),Z=function(f,y){var N={};for(var n in f)Object.prototype.hasOwnProperty.call(f,n)&&y.indexOf(n)<0&&(N[n]=f[n]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,n=Object.getOwnPropertySymbols(f);D{const{children:N}=f,n=Z(f,["children"]),D=e.useContext(R),S=e.useMemo(()=>Object.assign(Object.assign({},D),n),[D,n.prefixCls,n.mode,n.selectable,n.rootClassName]),O=(0,p.t4)(N),J=(0,p.x1)(y,O?(0,p.C4)(N):null);return e.createElement(R.Provider,{value:S},e.createElement(m.Z,{space:!0},O?e.cloneElement(N,{ref:J}):N))});re.Z=R},93041:function(Tt,re,t){t.d(re,{default:function(){return ue}});var e=t(59301),p=t(28321),m=t(24303),Z=t(18785),R=t(92310),g=t.n(R),f=t(6089),y=t(2738),N=t(86641),n=t(22703),D=t(48755),S=t(83397),J=(0,e.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ae=function(T,a){var u={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&a.indexOf(H)<0&&(u[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,H=Object.getOwnPropertySymbols(T);A{const{prefixCls:a,className:u,dashed:H}=T,A=Ae(T,["prefixCls","className","dashed"]),{getPrefixCls:w}=e.useContext(D.E_),B=w("menu",a),P=g()({[`${B}-item-divider-dashed`]:!!H},u);return e.createElement(p.iz,Object.assign({className:P},A))},ye=t(11592),v=t(25399),i=T=>{var a;const{className:u,children:H,icon:A,title:w,danger:B,extra:P}=T,{prefixCls:W,firstLevel:l,direction:d,disableMenuItemTitleTooltip:xe,inlineCollapsed:te}=e.useContext(J),ge=gt=>{const it=H==null?void 0:H[0],bt=e.createElement("span",{className:g()(`${W}-title-content`,{[`${W}-title-content-with-extra`]:!!P||P===0})},H);return(!A||e.isValidElement(H)&&H.type==="span")&&H&>&&l&&typeof it=="string"?e.createElement("div",{className:`${W}-inline-collapsed-noicon`},it.charAt(0)):bt},{siderCollapsed:Ce}=e.useContext(m.D);let Ze=w;typeof w=="undefined"?Ze=l?H:"":w===!1&&(Ze="");const Be={title:Ze};!Ce&&!te&&(Be.title=null,Be.open=!1);const Ne=(0,ye.Z)(H).length;let Le=e.createElement(p.ck,Object.assign({},(0,y.Z)(T,["title","icon","danger"]),{className:g()({[`${W}-item-danger`]:B,[`${W}-item-only-child`]:(A?Ne+1:Ne)===1},u),title:typeof w=="string"?w:void 0}),(0,n.Tm)(A,{className:g()(e.isValidElement(A)?(a=A.props)===null||a===void 0?void 0:a.className:"",`${W}-item-icon`)}),ge(te));return xe||(Le=e.createElement(v.Z,Object.assign({},Be,{placement:d==="rtl"?"left":"right",classNames:{root:`${W}-inline-collapsed-tooltip`}}),Le)),Le},c=t(78857),V=t(36237),ie=t(17835),de=t(63356),ke=t(34961),Re=t(46e3),ee=t(34925),be=t(16931),Q=t(51636),s=T=>{const{componentCls:a,motionDurationSlow:u,horizontalLineHeight:H,colorSplit:A,lineWidth:w,lineType:B,itemPaddingInline:P}=T;return{[`${a}-horizontal`]:{lineHeight:H,border:0,borderBottom:`${(0,V.unit)(w)} ${B} ${A}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${a}-item, ${a}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:P},[`> ${a}-item:hover, > ${a}-item-active, > ${a}-submenu ${a}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${a}-item, ${a}-submenu-title`]:{transition:[`border-color ${u}`,`background ${u}`].join(",")},[`${a}-submenu-arrow`]:{display:"none"}}}},j=T=>{let{componentCls:a,menuArrowOffset:u,calc:H}=T;return{[`${a}-rtl`]:{direction:"rtl"},[`${a}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${a}-rtl${a}-vertical, ${a}-submenu-rtl ${a}-vertical`]:{[`${a}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,V.unit)(H(u).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,V.unit)(u)})`}}}}};const De=T=>Object.assign({},(0,de.oN)(T));var je=(T,a)=>{const{componentCls:u,itemColor:H,itemSelectedColor:A,subMenuItemSelectedColor:w,groupTitleColor:B,itemBg:P,subMenuItemBg:W,itemSelectedBg:l,activeBarHeight:d,activeBarWidth:xe,activeBarBorderWidth:te,motionDurationSlow:ge,motionEaseInOut:Ce,motionEaseOut:Ze,itemPaddingInline:Be,motionDurationMid:Ne,itemHoverColor:Le,lineType:gt,colorSplit:it,itemDisabledColor:bt,dangerItemColor:yt,dangerItemHoverColor:tn,dangerItemSelectedColor:dt,dangerItemActiveBg:rt,dangerItemSelectedBg:Lt,popupBg:vt,itemHoverBg:Mt,itemActiveBg:_t,menuSubMenuBg:Et,horizontalItemSelectedColor:cn,horizontalItemSelectedBg:mt,horizontalItemBorderRadius:ht,horizontalItemHoverBg:zt}=T;return{[`${u}-${a}, ${u}-${a} > ${u}`]:{color:H,background:P,[`&${u}-root:focus-visible`]:Object.assign({},De(T)),[`${u}-item`]:{"&-group-title, &-extra":{color:B}},[`${u}-submenu-selected > ${u}-submenu-title`]:{color:w},[`${u}-item, ${u}-submenu-title`]:{color:H,[`&:not(${u}-item-disabled):focus-visible`]:Object.assign({},De(T))},[`${u}-item-disabled, ${u}-submenu-disabled`]:{color:`${bt} !important`},[`${u}-item:not(${u}-item-selected):not(${u}-submenu-selected)`]:{[`&:hover, > ${u}-submenu-title:hover`]:{color:Le}},[`&:not(${u}-horizontal)`]:{[`${u}-item:not(${u}-item-selected)`]:{"&:hover":{backgroundColor:Mt},"&:active":{backgroundColor:_t}},[`${u}-submenu-title`]:{"&:hover":{backgroundColor:Mt},"&:active":{backgroundColor:_t}}},[`${u}-item-danger`]:{color:yt,[`&${u}-item:hover`]:{[`&:not(${u}-item-selected):not(${u}-submenu-selected)`]:{color:tn}},[`&${u}-item:active`]:{background:rt}},[`${u}-item a`]:{"&, &:hover":{color:"inherit"}},[`${u}-item-selected`]:{color:A,[`&${u}-item-danger`]:{color:dt},"a, a:hover":{color:"inherit"}},[`& ${u}-item-selected`]:{backgroundColor:l,[`&${u}-item-danger`]:{backgroundColor:Lt}},[`&${u}-submenu > ${u}`]:{backgroundColor:Et},[`&${u}-popup > ${u}`]:{backgroundColor:vt},[`&${u}-submenu-popup > ${u}`]:{backgroundColor:vt},[`&${u}-horizontal`]:Object.assign(Object.assign({},a==="dark"?{borderBottom:0}:{}),{[`> ${u}-item, > ${u}-submenu`]:{top:te,marginTop:T.calc(te).mul(-1).equal(),marginBottom:0,borderRadius:ht,"&::after":{position:"absolute",insetInline:Be,bottom:0,borderBottom:`${(0,V.unit)(d)} solid transparent`,transition:`border-color ${ge} ${Ce}`,content:'""'},"&:hover, &-active, &-open":{background:zt,"&::after":{borderBottomWidth:d,borderBottomColor:cn}},"&-selected":{color:cn,backgroundColor:mt,"&:hover":{backgroundColor:mt},"&::after":{borderBottomWidth:d,borderBottomColor:cn}}}}),[`&${u}-root`]:{[`&${u}-inline, &${u}-vertical`]:{borderInlineEnd:`${(0,V.unit)(te)} ${gt} ${it}`}},[`&${u}-inline`]:{[`${u}-sub${u}-inline`]:{background:W},[`${u}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,V.unit)(xe)} solid ${A}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ne} ${Ze}`,`opacity ${Ne} ${Ze}`].join(","),content:'""'},[`&${u}-item-danger`]:{"&::after":{borderInlineEndColor:dt}}},[`${u}-selected, ${u}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ne} ${Ce}`,`opacity ${Ne} ${Ce}`].join(",")}}}}}};const et=T=>{const{componentCls:a,itemHeight:u,itemMarginInline:H,padding:A,menuArrowSize:w,marginXS:B,itemMarginBlock:P,itemWidth:W,itemPaddingInline:l}=T,d=T.calc(w).add(A).add(B).equal();return{[`${a}-item`]:{position:"relative",overflow:"hidden"},[`${a}-item, ${a}-submenu-title`]:{height:u,lineHeight:(0,V.unit)(u),paddingInline:l,overflow:"hidden",textOverflow:"ellipsis",marginInline:H,marginBlock:P,width:W},[`> ${a}-item, @@ -45,10 +45,10 @@ ${a}-submenu-arrow, ${a}-submenu-expand-icon `]:{opacity:0},[`${a}-item-icon, ${u}`]:{margin:0,fontSize:Be,lineHeight:(0,V.unit)(H),"+ span":{display:"inline-block",opacity:0}}},[`${a}-item-icon, ${u}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${a}-item-icon, ${u}`]:{display:"none"},"a, a:hover":{color:A}},[`${a}-item-group-title`]:Object.assign(Object.assign({},de.vS),{paddingInline:ge})}}]};const Ge=T=>{const{componentCls:a,motionDurationSlow:u,motionDurationMid:H,motionEaseInOut:A,motionEaseOut:w,iconCls:B,iconSize:P,iconMarginInlineEnd:W}=T;return{[`${a}-item, ${a}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${u}`,`background ${u}`,`padding calc(${u} + 0.1s) ${A}`].join(","),[`${a}-item-icon, ${B}`]:{minWidth:P,fontSize:P,transition:[`font-size ${H} ${w}`,`margin ${u} ${A}`,`color ${u}`].join(","),"+ span":{marginInlineStart:W,opacity:1,transition:[`opacity ${u} ${A}`,`margin ${u}`,`color ${u}`].join(",")}},[`${a}-item-icon`]:Object.assign({},(0,de.Ro)()),[`&${a}-item-only-child`]:{[`> ${B}, > ${a}-item-icon`]:{marginInlineEnd:0}}},[`${a}-item-disabled, ${a}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${a}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},U=T=>{const{componentCls:a,motionDurationSlow:u,motionEaseInOut:H,borderRadius:A,menuArrowSize:w,menuArrowOffset:B}=T;return{[`${a}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:T.margin,width:w,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${u} ${H}, opacity ${u}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:T.calc(w).mul(.6).equal(),height:T.calc(w).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:A,transition:[`background ${u} ${H}`,`transform ${u} ${H}`,`top ${u} ${H}`,`color ${u} ${H}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,V.unit)(T.calc(B).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,V.unit)(B)})`}}}}},ve=T=>{const{antCls:a,componentCls:u,fontSize:H,motionDurationSlow:A,motionDurationMid:w,motionEaseInOut:B,paddingXS:P,padding:W,colorSplit:l,lineWidth:d,zIndexPopup:xe,borderRadiusLG:te,subMenuItemBorderRadius:ge,menuArrowSize:Ce,menuArrowOffset:Ze,lineType:Be,groupTitleLineHeight:Ne,groupTitleFontSize:Le}=T;return[{"":{[u]:Object.assign(Object.assign({},(0,de.dF)()),{"&-hidden":{display:"none"}})},[`${u}-submenu-hidden`]:{display:"none"}},{[u]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,de.Wf)(T)),(0,de.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:H,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${A} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${u}-item`]:{flex:"none"}},[`${u}-item, ${u}-submenu, ${u}-submenu-title`]:{borderRadius:T.itemBorderRadius},[`${u}-item-group-title`]:{padding:`${(0,V.unit)(P)} ${(0,V.unit)(W)}`,fontSize:Le,lineHeight:Ne,transition:`all ${A}`},[`&-horizontal ${u}-submenu`]:{transition:[`border-color ${A} ${B}`,`background ${A} ${B}`].join(",")},[`${u}-submenu, ${u}-submenu-inline`]:{transition:[`border-color ${A} ${B}`,`background ${A} ${B}`,`padding ${w} ${B}`].join(",")},[`${u}-submenu ${u}-sub`]:{cursor:"initial",transition:[`background ${A} ${B}`,`padding ${A} ${B}`].join(",")},[`${u}-title-content`]:{transition:`color ${A}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${a}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${u}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:T.padding}},[`${u}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${u}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:l,borderStyle:Be,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ge(T)),{[`${u}-item-group`]:{[`${u}-item-group-list`]:{margin:0,padding:0,[`${u}-item, ${u}-submenu-title`]:{paddingInline:`${(0,V.unit)(T.calc(H).mul(2).equal())} ${(0,V.unit)(W)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:xe,borderRadius:te,boxShadow:"none",transformOrigin:"0 0",[`&${u}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${u}`]:Object.assign(Object.assign(Object.assign({borderRadius:te},Ge(T)),U(T)),{[`${u}-item, ${u}-submenu > ${u}-submenu-title`]:{borderRadius:ge},[`${u}-submenu-title::after`]:{transition:`transform ${A} ${B}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:T.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:T.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:T.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:T.paddingXS}}}),U(T)),{[`&-inline-collapsed ${u}-submenu-arrow, - &-inline ${u}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,V.unit)(Ze)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,V.unit)(T.calc(Ze).mul(-1).equal())})`}},[`${u}-submenu-open${u}-submenu-inline > ${u}-submenu-title > ${u}-submenu-arrow`]:{transform:`translateY(${(0,V.unit)(T.calc(Ce).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,V.unit)(T.calc(Ze).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,V.unit)(Ze)})`}}})},{[`${a}-layout-header`]:{[u]:{lineHeight:"inherit"}}}]},ae=T=>{var a,u,H;const{colorPrimary:A,colorError:w,colorTextDisabled:B,colorErrorBg:P,colorText:W,colorTextDescription:l,colorBgContainer:d,colorFillAlter:xe,colorFillContent:te,lineWidth:ge,lineWidthBold:Ce,controlItemBgActive:Ze,colorBgTextHover:Be,controlHeightLG:Ne,lineHeight:Le,colorBgElevated:gt,marginXXS:it,padding:bt,fontSize:yt,controlHeightSM:tn,fontSizeLG:dt,colorTextLightSolid:rt,colorErrorHover:Lt}=T,vt=(a=T.activeBarWidth)!==null&&a!==void 0?a:0,Mt=(u=T.activeBarBorderWidth)!==null&&u!==void 0?u:ge,_t=(H=T.itemMarginInline)!==null&&H!==void 0?H:T.marginXXS,Et=new ie.FastColor(rt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:T.zIndexPopupBase+50,radiusItem:T.borderRadiusLG,itemBorderRadius:T.borderRadiusLG,radiusSubMenuItem:T.borderRadiusSM,subMenuItemBorderRadius:T.borderRadiusSM,colorItemText:W,itemColor:W,colorItemTextHover:W,itemHoverColor:W,colorItemTextHoverHorizontal:A,horizontalItemHoverColor:A,colorGroupTitle:l,groupTitleColor:l,colorItemTextSelected:A,itemSelectedColor:A,subMenuItemSelectedColor:A,colorItemTextSelectedHorizontal:A,horizontalItemSelectedColor:A,colorItemBg:d,itemBg:d,colorItemBgHover:Be,itemHoverBg:Be,colorItemBgActive:te,itemActiveBg:Ze,colorSubItemBg:xe,subMenuItemBg:xe,colorItemBgSelected:Ze,itemSelectedBg:Ze,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:vt,colorActiveBarHeight:Ce,activeBarHeight:Ce,colorActiveBarBorderSize:ge,activeBarBorderWidth:Mt,colorItemTextDisabled:B,itemDisabledColor:B,colorDangerItemText:w,dangerItemColor:w,colorDangerItemTextHover:w,dangerItemHoverColor:w,colorDangerItemTextSelected:w,dangerItemSelectedColor:w,colorDangerItemBgActive:P,dangerItemActiveBg:P,colorDangerItemBgSelected:P,dangerItemSelectedBg:P,itemMarginInline:_t,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ne,groupTitleLineHeight:Le,collapsedWidth:Ne*2,popupBg:gt,itemMarginBlock:it,itemPaddingInline:bt,horizontalLineHeight:`${Ne*1.15}px`,iconSize:yt,iconMarginInlineEnd:tn-yt,collapsedIconSize:dt,groupTitleFontSize:yt,darkItemDisabledColor:new ie.FastColor(rt).setA(.25).toRgbString(),darkItemColor:Et,darkDangerItemColor:w,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:rt,darkItemSelectedBg:A,darkDangerItemSelectedBg:w,darkItemHoverBg:"transparent",darkGroupTitleColor:Et,darkItemHoverColor:rt,darkDangerItemHoverColor:Lt,darkDangerItemSelectedColor:rt,darkDangerItemActiveBg:w,itemWidth:vt?`calc(100% + ${Mt}px)`:`calc(100% - ${_t*2}px)`}};var ze=function(T){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,be.I$)("Menu",A=>{const{colorBgElevated:w,controlHeightLG:B,fontSize:P,darkItemColor:W,darkDangerItemColor:l,darkItemBg:d,darkSubMenuItemBg:xe,darkItemSelectedColor:te,darkItemSelectedBg:ge,darkDangerItemSelectedBg:Ce,darkItemHoverBg:Ze,darkGroupTitleColor:Be,darkItemHoverColor:Ne,darkItemDisabledColor:Le,darkDangerItemHoverColor:gt,darkDangerItemSelectedColor:it,darkDangerItemActiveBg:bt,popupBg:yt,darkPopupBg:tn}=A,dt=A.calc(P).div(7).mul(5).equal(),rt=(0,Q.mergeToken)(A,{menuArrowSize:dt,menuHorizontalHeight:A.calc(B).mul(1.15).equal(),menuArrowOffset:A.calc(dt).mul(.25).equal(),menuSubMenuBg:w,calc:A.calc,popupBg:yt}),Lt=(0,Q.mergeToken)(rt,{itemColor:W,itemHoverColor:Ne,groupTitleColor:Be,itemSelectedColor:te,subMenuItemSelectedColor:te,itemBg:d,popupBg:tn,subMenuItemBg:xe,itemActiveBg:"transparent",itemSelectedBg:ge,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ze,itemDisabledColor:Le,dangerItemColor:l,dangerItemHoverColor:gt,dangerItemSelectedColor:it,dangerItemActiveBg:bt,dangerItemSelectedBg:Ce,menuSubMenuBg:xe,horizontalItemSelectedColor:te,horizontalItemSelectedBg:ge});return[ve(rt),s(rt),ce(rt),je(rt,"light"),je(Lt,"dark"),j(rt),(0,ke.Z)(rt),(0,Re.oN)(rt,"slide-up"),(0,Re.oN)(rt,"slide-down"),(0,ee._y)(rt,"zoom-big")]},ae,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:u,unitless:{groupTitleLineHeight:!0}})(T,a)},L=t(75030),Te=T=>{var a;const{popupClassName:u,icon:H,title:A,theme:w}=T,B=e.useContext(J),{prefixCls:P,inlineCollapsed:W,theme:l}=B,d=(0,p.Xl)();let xe;if(!H)xe=W&&!d.length&&A&&typeof A=="string"?e.createElement("div",{className:`${P}-inline-collapsed-noicon`},A.charAt(0)):e.createElement("span",{className:`${P}-title-content`},A);else{const Ce=e.isValidElement(A)&&A.type==="span";xe=e.createElement(e.Fragment,null,(0,n.Tm)(H,{className:g()(e.isValidElement(H)?(a=H.props)===null||a===void 0?void 0:a.className:"",`${P}-item-icon`)}),Ce?A:e.createElement("span",{className:`${P}-title-content`},A))}const te=e.useMemo(()=>Object.assign(Object.assign({},B),{firstLevel:!1}),[B]),[ge]=(0,L.Cn)("Menu");return e.createElement(J.Provider,{value:te},e.createElement(p.Wd,Object.assign({},(0,y.Z)(T,["icon"]),{title:xe,popupClassName:g()(P,u,`${P}-${w||l}`),popupStyle:Object.assign({zIndex:ge},T.popupStyle)})))},ct=function(T,a){var u={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&a.indexOf(H)<0&&(u[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,H=Object.getOwnPropertySymbols(T);A{var u;const H=e.useContext(c.Z),A=H||{},{getPrefixCls:w,getPopupContainer:B,direction:P,menu:W}=e.useContext(D.E_),l=w(),{prefixCls:d,className:xe,style:te,theme:ge="light",expandIcon:Ce,_internalDisableMenuItemTitleTooltip:Ze,inlineCollapsed:Be,siderCollapsed:Ne,rootClassName:Le,mode:gt,selectable:it,onClick:bt,overflowedIndicatorPopupClassName:yt}=T,tn=ct(T,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dt=(0,y.Z)(tn,["collapsedWidth"]);(u=A.validator)===null||u===void 0||u.call(A,{mode:gt});const rt=(0,f.Z)(function(){var pn;bt==null||bt.apply(void 0,arguments),(pn=A.onClick)===null||pn===void 0||pn.call(A)}),Lt=A.mode||gt,vt=it!=null?it:A.selectable,Mt=Be!=null?Be:Ne,_t={horizontal:{motionName:`${l}-slide-up`},inline:(0,N.Z)(l),other:{motionName:`${l}-zoom-big`}},Et=w("menu",d||A.prefixCls),cn=(0,S.Z)(Et),[mt,ht,zt]=ze(Et,cn,!H),Tt=g()(`${Et}-${ge}`,W==null?void 0:W.className,xe),wt=e.useMemo(()=>{var pn,zn;if(typeof Ce=="function"||Xe(Ce))return Ce||null;if(typeof A.expandIcon=="function"||Xe(A.expandIcon))return A.expandIcon||null;if(typeof(W==null?void 0:W.expandIcon)=="function"||Xe(W==null?void 0:W.expandIcon))return(W==null?void 0:W.expandIcon)||null;const Hn=(pn=Ce!=null?Ce:A==null?void 0:A.expandIcon)!==null&&pn!==void 0?pn:W==null?void 0:W.expandIcon;return(0,n.Tm)(Hn,{className:g()(`${Et}-submenu-expand-icon`,e.isValidElement(Hn)?(zn=Hn.props)===null||zn===void 0?void 0:zn.className:void 0)})},[Ce,A==null?void 0:A.expandIcon,W==null?void 0:W.expandIcon,Et]),Xt=e.useMemo(()=>({prefixCls:Et,inlineCollapsed:Mt||!1,direction:P,firstLevel:!0,theme:ge,mode:Lt,disableMenuItemTitleTooltip:Ze}),[Et,Mt,P,Ze,ge]);return mt(e.createElement(c.Z.Provider,{value:null},e.createElement(J.Provider,{value:Xt},e.createElement(p.ZP,Object.assign({getPopupContainer:B,overflowedIndicator:e.createElement(Z.Z,null),overflowedIndicatorPopupClassName:g()(Et,`${Et}-${ge}`,yt),mode:Lt,selectable:vt,onClick:rt},dt,{inlineCollapsed:Mt,style:Object.assign(Object.assign({},W==null?void 0:W.style),te),className:Tt,prefixCls:Et,direction:P,defaultMotions:_t,expandIcon:wt,ref:a,rootClassName:g()(Le,ht,A.rootClassName,zt,cn),_internalComponents:k})))))});const b=(0,e.forwardRef)((T,a)=>{const u=(0,e.useRef)(null),H=e.useContext(m.D);return(0,e.useImperativeHandle)(a,()=>({menu:u.current,focus:A=>{var w;(w=u.current)===null||w===void 0||w.focus(A)}})),e.createElement(oe,Object.assign({ref:u},T,H))});b.Item=i,b.SubMenu=Te,b.Divider=q,b.ItemGroup=p.BW;var ue=b},31709:function(Zt,re,t){t.d(re,{Z:function(){return W}});var e=t(59301),p=t(60499),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Z=m,R=t(7657),g=function(d,xe){return e.createElement(R.Z,(0,p.Z)({},d,{ref:xe,icon:Z}))},f=e.forwardRef(g),y=f,N=t(49198),n=t(33853),D=t(38819),S=t(92310),O=t.n(S),J=t(18642),Ae=t(43749),Y=t(85899),q=t(72190),ye=t(18929),v=t(10228),X=t(26112),i=t(48736),c=t(17119),V=[10,20,50,100],ie=function(d){var xe=d.pageSizeOptions,te=xe===void 0?V:xe,ge=d.locale,Ce=d.changeSize,Ze=d.pageSize,Be=d.goButton,Ne=d.quickGo,Le=d.rootPrefixCls,gt=d.disabled,it=d.buildOptionText,bt=d.showSizeChanger,yt=d.sizeChangerRender,tn=e.useState(""),dt=(0,q.Z)(tn,2),rt=dt[0],Lt=dt[1],vt=function(){return!rt||Number.isNaN(rt)?void 0:Number(rt)},Mt=typeof it=="function"?it:function(Xt){return"".concat(Xt," ").concat(ge.items_per_page)},_t=function(pn){Lt(pn.target.value)},Et=function(pn){Be||rt===""||(Lt(""),!(pn.relatedTarget&&(pn.relatedTarget.className.indexOf("".concat(Le,"-item-link"))>=0||pn.relatedTarget.className.indexOf("".concat(Le,"-item"))>=0))&&(Ne==null||Ne(vt())))},cn=function(pn){rt!==""&&(pn.keyCode===v.Z.ENTER||pn.type==="click")&&(Lt(""),Ne==null||Ne(vt()))},mt=function(){return te.some(function(pn){return pn.toString()===Ze.toString()})?te:te.concat([Ze]).sort(function(pn,zn){var Hn=Number.isNaN(Number(pn))?0:Number(pn),ir=Number.isNaN(Number(zn))?0:Number(zn);return Hn-ir})},ht="".concat(Le,"-options");if(!bt&&!Ne)return null;var zt=null,Tt=null,wt=null;return bt&&yt&&(zt=yt({disabled:gt,size:Ze,onSizeChange:function(pn){Ce==null||Ce(Number(pn))},"aria-label":ge.page_size,className:"".concat(ht,"-size-changer"),options:mt().map(function(Xt){return{label:Mt(Xt),value:Xt}})})),Ne&&(Be&&(wt=typeof Be=="boolean"?e.createElement("button",{type:"button",onClick:cn,onKeyUp:cn,disabled:gt,className:"".concat(ht,"-quick-jumper-button")},ge.jump_to_confirm):e.createElement("span",{onClick:cn,onKeyUp:cn},Be)),Tt=e.createElement("div",{className:"".concat(ht,"-quick-jumper")},ge.jump_to,e.createElement("input",{disabled:gt,type:"text",value:rt,onChange:_t,onKeyUp:cn,onBlur:Et,"aria-label":ge.page}),ge.page,wt)),e.createElement("li",{className:ht},zt,Tt)},de=ie,ke=function(d){var xe=d.rootPrefixCls,te=d.page,ge=d.active,Ce=d.className,Ze=d.showTitle,Be=d.onClick,Ne=d.onKeyPress,Le=d.itemRender,gt="".concat(xe,"-item"),it=O()(gt,"".concat(gt,"-").concat(te),(0,J.Z)((0,J.Z)({},"".concat(gt,"-active"),ge),"".concat(gt,"-disabled"),!te),Ce),bt=function(){Be(te)},yt=function(rt){Ne(rt,Be,te)},tn=Le(te,"page",e.createElement("a",{rel:"nofollow"},te));return tn?e.createElement("li",{title:Ze?String(te):null,className:it,onClick:bt,onKeyDown:yt,tabIndex:0},tn):null},Re=ke,ee=function(d,xe,te){return te};function be(){}function Q(l){var d=Number(l);return typeof d=="number"&&!Number.isNaN(d)&&isFinite(d)&&Math.floor(d)===d}function M(l,d,xe){var te=typeof l=="undefined"?d:l;return Math.floor((xe-1)/te)+1}var s=function(d){var xe=d.prefixCls,te=xe===void 0?"rc-pagination":xe,ge=d.selectPrefixCls,Ce=ge===void 0?"rc-select":ge,Ze=d.className,Be=d.current,Ne=d.defaultCurrent,Le=Ne===void 0?1:Ne,gt=d.total,it=gt===void 0?0:gt,bt=d.pageSize,yt=d.defaultPageSize,tn=yt===void 0?10:yt,dt=d.onChange,rt=dt===void 0?be:dt,Lt=d.hideOnSinglePage,vt=d.align,Mt=d.showPrevNextJumpers,_t=Mt===void 0?!0:Mt,Et=d.showQuickJumper,cn=d.showLessItems,mt=d.showTitle,ht=mt===void 0?!0:mt,zt=d.onShowSizeChange,Tt=zt===void 0?be:zt,wt=d.locale,Xt=wt===void 0?c.Z:wt,pn=d.style,zn=d.totalBoundaryShowSizeChanger,Hn=zn===void 0?50:zn,ir=d.disabled,tr=d.simple,nr=d.showTotal,bn=d.showSizeChanger,Vn=bn===void 0?it>Hn:bn,Un=d.sizeChangerRender,Yn=d.pageSizeOptions,x=d.itemRender,$=x===void 0?ee:x,tt=d.jumpPrevIcon,E=d.jumpNextIcon,C=d.prevIcon,$e=d.nextIcon,he=e.useRef(null),Se=(0,ye.Z)(10,{value:bt,defaultValue:tn}),He=(0,q.Z)(Se,2),Me=He[0],Qe=He[1],lt=(0,ye.Z)(1,{value:Be,defaultValue:Le,postState:function(Kn){return Math.max(1,Math.min(Kn,M(void 0,Me,it)))}}),ot=(0,q.Z)(lt,2),qe=ot[0],Nt=ot[1],Kt=e.useState(qe),pt=(0,q.Z)(Kt,2),F=pt[0],le=pt[1];(0,e.useEffect)(function(){le(qe)},[qe]);var Ee=rt!==be,Ie="current"in d,Pe=Math.max(1,qe-(cn?3:5)),Ke=Math.min(M(void 0,Me,it),qe+(cn?3:5));function Ue(xn,Kn){var br=xn||e.createElement("button",{type:"button","aria-label":Kn,className:"".concat(te,"-item-link")});return typeof xn=="function"&&(br=e.createElement(xn,(0,Y.Z)({},d))),br}function at(xn){var Kn=xn.target.value,br=M(void 0,Me,it),vr;return Kn===""?vr=Kn:Number.isNaN(Number(Kn))?vr=F:Kn>=br?vr=br:vr=Number(Kn),vr}function ft(xn){return Q(xn)&&xn!==qe&&Q(it)&&it>0}var $t=it>Me?Et:!1;function Dt(xn){(xn.keyCode===v.Z.UP||xn.keyCode===v.Z.DOWN)&&xn.preventDefault()}function Ct(xn){var Kn=at(xn);switch(Kn!==F&&le(Kn),xn.keyCode){case v.Z.ENTER:Ft(Kn);break;case v.Z.UP:Ft(Kn-1);break;case v.Z.DOWN:Ft(Kn+1);break;default:break}}function St(xn){Ft(at(xn))}function It(xn){var Kn=M(xn,Me,it),br=qe>Kn&&Kn!==0?Kn:qe;Qe(xn),le(br),Tt==null||Tt(qe,xn),Nt(br),rt==null||rt(br,xn)}function Ft(xn){if(ft(xn)&&!ir){var Kn=M(void 0,Me,it),br=xn;return xn>Kn?br=Kn:xn<1&&(br=1),br!==F&&le(br),Nt(br),rt==null||rt(br,Me),br}return qe}var qt=qe>1,ut=qe2?br-2:0),xo=2;xoit?it:qe*Me])),Xn=null,xt=M(void 0,Me,it);if(Lt&&it<=Me)return null;var Je=[],nt={rootPrefixCls:te,onClick:Ft,onKeyPress:un,showTitle:ht,itemRender:$,page:-1},Ut=qe-1>0?qe-1:0,Gt=qe+1=Jn*2&&qe!==3&&(Je[0]=e.cloneElement(Je[0],{className:O()("".concat(te,"-item-after-jump-prev"),Je[0].props.className)}),Je.unshift(kn)),xt-qe>=Jn*2&&qe!==xt-2){var Ir=Je[Je.length-1];Je[Je.length-1]=e.cloneElement(Ir,{className:O()("".concat(te,"-item-before-jump-next"),Ir.props.className)}),Je.push(Xn)}Er!==1&&Je.unshift(e.createElement(Re,(0,p.Z)({},nt,{key:1,page:1}))),Nr!==xt&&Je.push(e.createElement(Re,(0,p.Z)({},nt,{key:xt,page:xt})))}var rr=Wn(Ut);if(rr){var Br=!qt||!xt;rr=e.createElement("li",{title:ht?Xt.prev_page:null,onClick:Pt,tabIndex:Br?null:0,onKeyDown:Ot,className:O()("".concat(te,"-prev"),(0,J.Z)({},"".concat(te,"-disabled"),Br)),"aria-disabled":Br},rr)}var Xr=On(Gt);if(Xr){var jr,Hr;tr?(jr=!ut,Hr=qt?0:null):(jr=!ut||!xt,Hr=jr?null:0),Xr=e.createElement("li",{title:ht?Xt.next_page:null,onClick:vn,tabIndex:Hr,onKeyDown:jt,className:O()("".concat(te,"-next"),(0,J.Z)({},"".concat(te,"-disabled"),jr)),"aria-disabled":jr},Xr)}var Gr=O()(te,Ze,(0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)({},"".concat(te,"-start"),vt==="start"),"".concat(te,"-center"),vt==="center"),"".concat(te,"-end"),vt==="end"),"".concat(te,"-simple"),tr),"".concat(te,"-disabled"),ir));return e.createElement("ul",(0,p.Z)({className:Gr,style:pn,ref:he},ur),dr,rr,tr?Nn:Je,Xr,e.createElement(de,{locale:Xt,rootPrefixCls:te,disabled:ir,selectPrefixCls:Ce,changeSize:It,pageSize:Me,pageSizeOptions:Yn,quickGo:$t?Ft:null,goButton:Fn,showSizeChanger:Vn,sizeChangerRender:Un}))},_=s,j=t(61852),De=t(48755),se=t(31756),je=t(13783),et=t(9017),fe=t(82326),ce=t(57700),Ge=t(36237),U=t(53075),ve=t(64910),ae=t(39082),ze=t(63356),L=t(51636),pe=t(16931);const Te=l=>{const{componentCls:d}=l;return{[`${d}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${d}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${d}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed"}}},[`&${d}-disabled`]:{cursor:"not-allowed",[`${d}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:l.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:l.colorBorder,backgroundColor:l.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:l.itemActiveBgDisabled},a:{color:l.itemActiveColorDisabled}}},[`${d}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${d}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${d}-simple-pager`]:{color:l.colorTextDisabled},[`${d}-jump-prev, ${d}-jump-next`]:{[`${d}-item-link-icon`]:{opacity:0},[`${d}-item-ellipsis`]:{opacity:1}}},[`&${d}-simple`]:{[`${d}-prev, ${d}-next`]:{[`&${d}-disabled ${d}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ct=l=>{const{componentCls:d}=l;return{[`&${d}-mini ${d}-total-text, &${d}-mini ${d}-simple-pager`]:{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM)},[`&${d}-mini ${d}-item`]:{minWidth:l.itemSizeSM,height:l.itemSizeSM,margin:0,lineHeight:(0,Ge.unit)(l.calc(l.itemSizeSM).sub(2).equal())},[`&${d}-mini ${d}-prev, &${d}-mini ${d}-next`]:{minWidth:l.itemSizeSM,height:l.itemSizeSM,margin:0,lineHeight:(0,Ge.unit)(l.itemSizeSM)},[`&${d}-mini:not(${d}-disabled)`]:{[`${d}-prev, ${d}-next`]:{[`&:hover ${d}-item-link`]:{backgroundColor:l.colorBgTextHover},[`&:active ${d}-item-link`]:{backgroundColor:l.colorBgTextActive},[`&${d}-disabled:hover ${d}-item-link`]:{backgroundColor:"transparent"}}},[` + &-inline ${u}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,V.unit)(Ze)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,V.unit)(T.calc(Ze).mul(-1).equal())})`}},[`${u}-submenu-open${u}-submenu-inline > ${u}-submenu-title > ${u}-submenu-arrow`]:{transform:`translateY(${(0,V.unit)(T.calc(Ce).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,V.unit)(T.calc(Ze).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,V.unit)(Ze)})`}}})},{[`${a}-layout-header`]:{[u]:{lineHeight:"inherit"}}}]},ae=T=>{var a,u,H;const{colorPrimary:A,colorError:w,colorTextDisabled:B,colorErrorBg:P,colorText:W,colorTextDescription:l,colorBgContainer:d,colorFillAlter:xe,colorFillContent:te,lineWidth:ge,lineWidthBold:Ce,controlItemBgActive:Ze,colorBgTextHover:Be,controlHeightLG:Ne,lineHeight:Le,colorBgElevated:gt,marginXXS:it,padding:bt,fontSize:yt,controlHeightSM:tn,fontSizeLG:dt,colorTextLightSolid:rt,colorErrorHover:Lt}=T,vt=(a=T.activeBarWidth)!==null&&a!==void 0?a:0,Mt=(u=T.activeBarBorderWidth)!==null&&u!==void 0?u:ge,_t=(H=T.itemMarginInline)!==null&&H!==void 0?H:T.marginXXS,Et=new ie.FastColor(rt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:T.zIndexPopupBase+50,radiusItem:T.borderRadiusLG,itemBorderRadius:T.borderRadiusLG,radiusSubMenuItem:T.borderRadiusSM,subMenuItemBorderRadius:T.borderRadiusSM,colorItemText:W,itemColor:W,colorItemTextHover:W,itemHoverColor:W,colorItemTextHoverHorizontal:A,horizontalItemHoverColor:A,colorGroupTitle:l,groupTitleColor:l,colorItemTextSelected:A,itemSelectedColor:A,subMenuItemSelectedColor:A,colorItemTextSelectedHorizontal:A,horizontalItemSelectedColor:A,colorItemBg:d,itemBg:d,colorItemBgHover:Be,itemHoverBg:Be,colorItemBgActive:te,itemActiveBg:Ze,colorSubItemBg:xe,subMenuItemBg:xe,colorItemBgSelected:Ze,itemSelectedBg:Ze,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:vt,colorActiveBarHeight:Ce,activeBarHeight:Ce,colorActiveBarBorderSize:ge,activeBarBorderWidth:Mt,colorItemTextDisabled:B,itemDisabledColor:B,colorDangerItemText:w,dangerItemColor:w,colorDangerItemTextHover:w,dangerItemHoverColor:w,colorDangerItemTextSelected:w,dangerItemSelectedColor:w,colorDangerItemBgActive:P,dangerItemActiveBg:P,colorDangerItemBgSelected:P,dangerItemSelectedBg:P,itemMarginInline:_t,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ne,groupTitleLineHeight:Le,collapsedWidth:Ne*2,popupBg:gt,itemMarginBlock:it,itemPaddingInline:bt,horizontalLineHeight:`${Ne*1.15}px`,iconSize:yt,iconMarginInlineEnd:tn-yt,collapsedIconSize:dt,groupTitleFontSize:yt,darkItemDisabledColor:new ie.FastColor(rt).setA(.25).toRgbString(),darkItemColor:Et,darkDangerItemColor:w,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:rt,darkItemSelectedBg:A,darkDangerItemSelectedBg:w,darkItemHoverBg:"transparent",darkGroupTitleColor:Et,darkItemHoverColor:rt,darkDangerItemHoverColor:Lt,darkDangerItemSelectedColor:rt,darkDangerItemActiveBg:w,itemWidth:vt?`calc(100% + ${Mt}px)`:`calc(100% - ${_t*2}px)`}};var ze=function(T){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,be.I$)("Menu",A=>{const{colorBgElevated:w,controlHeightLG:B,fontSize:P,darkItemColor:W,darkDangerItemColor:l,darkItemBg:d,darkSubMenuItemBg:xe,darkItemSelectedColor:te,darkItemSelectedBg:ge,darkDangerItemSelectedBg:Ce,darkItemHoverBg:Ze,darkGroupTitleColor:Be,darkItemHoverColor:Ne,darkItemDisabledColor:Le,darkDangerItemHoverColor:gt,darkDangerItemSelectedColor:it,darkDangerItemActiveBg:bt,popupBg:yt,darkPopupBg:tn}=A,dt=A.calc(P).div(7).mul(5).equal(),rt=(0,Q.mergeToken)(A,{menuArrowSize:dt,menuHorizontalHeight:A.calc(B).mul(1.15).equal(),menuArrowOffset:A.calc(dt).mul(.25).equal(),menuSubMenuBg:w,calc:A.calc,popupBg:yt}),Lt=(0,Q.mergeToken)(rt,{itemColor:W,itemHoverColor:Ne,groupTitleColor:Be,itemSelectedColor:te,subMenuItemSelectedColor:te,itemBg:d,popupBg:tn,subMenuItemBg:xe,itemActiveBg:"transparent",itemSelectedBg:ge,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ze,itemDisabledColor:Le,dangerItemColor:l,dangerItemHoverColor:gt,dangerItemSelectedColor:it,dangerItemActiveBg:bt,dangerItemSelectedBg:Ce,menuSubMenuBg:xe,horizontalItemSelectedColor:te,horizontalItemSelectedBg:ge});return[ve(rt),s(rt),ce(rt),je(rt,"light"),je(Lt,"dark"),j(rt),(0,ke.Z)(rt),(0,Re.oN)(rt,"slide-up"),(0,Re.oN)(rt,"slide-down"),(0,ee._y)(rt,"zoom-big")]},ae,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:u,unitless:{groupTitleLineHeight:!0}})(T,a)},L=t(75030),Te=T=>{var a;const{popupClassName:u,icon:H,title:A,theme:w}=T,B=e.useContext(J),{prefixCls:P,inlineCollapsed:W,theme:l}=B,d=(0,p.Xl)();let xe;if(!H)xe=W&&!d.length&&A&&typeof A=="string"?e.createElement("div",{className:`${P}-inline-collapsed-noicon`},A.charAt(0)):e.createElement("span",{className:`${P}-title-content`},A);else{const Ce=e.isValidElement(A)&&A.type==="span";xe=e.createElement(e.Fragment,null,(0,n.Tm)(H,{className:g()(e.isValidElement(H)?(a=H.props)===null||a===void 0?void 0:a.className:"",`${P}-item-icon`)}),Ce?A:e.createElement("span",{className:`${P}-title-content`},A))}const te=e.useMemo(()=>Object.assign(Object.assign({},B),{firstLevel:!1}),[B]),[ge]=(0,L.Cn)("Menu");return e.createElement(J.Provider,{value:te},e.createElement(p.Wd,Object.assign({},(0,y.Z)(T,["icon"]),{title:xe,popupClassName:g()(P,u,`${P}-${w||l}`),popupStyle:Object.assign({zIndex:ge},T.popupStyle)})))},ct=function(T,a){var u={};for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&a.indexOf(H)<0&&(u[H]=T[H]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,H=Object.getOwnPropertySymbols(T);A{var u;const H=e.useContext(c.Z),A=H||{},{getPrefixCls:w,getPopupContainer:B,direction:P,menu:W}=e.useContext(D.E_),l=w(),{prefixCls:d,className:xe,style:te,theme:ge="light",expandIcon:Ce,_internalDisableMenuItemTitleTooltip:Ze,inlineCollapsed:Be,siderCollapsed:Ne,rootClassName:Le,mode:gt,selectable:it,onClick:bt,overflowedIndicatorPopupClassName:yt}=T,tn=ct(T,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dt=(0,y.Z)(tn,["collapsedWidth"]);(u=A.validator)===null||u===void 0||u.call(A,{mode:gt});const rt=(0,f.Z)(function(){var pn;bt==null||bt.apply(void 0,arguments),(pn=A.onClick)===null||pn===void 0||pn.call(A)}),Lt=A.mode||gt,vt=it!=null?it:A.selectable,Mt=Be!=null?Be:Ne,_t={horizontal:{motionName:`${l}-slide-up`},inline:(0,N.Z)(l),other:{motionName:`${l}-zoom-big`}},Et=w("menu",d||A.prefixCls),cn=(0,S.Z)(Et),[mt,ht,zt]=ze(Et,cn,!H),Zt=g()(`${Et}-${ge}`,W==null?void 0:W.className,xe),wt=e.useMemo(()=>{var pn,zn;if(typeof Ce=="function"||Ye(Ce))return Ce||null;if(typeof A.expandIcon=="function"||Ye(A.expandIcon))return A.expandIcon||null;if(typeof(W==null?void 0:W.expandIcon)=="function"||Ye(W==null?void 0:W.expandIcon))return(W==null?void 0:W.expandIcon)||null;const Hn=(pn=Ce!=null?Ce:A==null?void 0:A.expandIcon)!==null&&pn!==void 0?pn:W==null?void 0:W.expandIcon;return(0,n.Tm)(Hn,{className:g()(`${Et}-submenu-expand-icon`,e.isValidElement(Hn)?(zn=Hn.props)===null||zn===void 0?void 0:zn.className:void 0)})},[Ce,A==null?void 0:A.expandIcon,W==null?void 0:W.expandIcon,Et]),Xt=e.useMemo(()=>({prefixCls:Et,inlineCollapsed:Mt||!1,direction:P,firstLevel:!0,theme:ge,mode:Lt,disableMenuItemTitleTooltip:Ze}),[Et,Mt,P,Ze,ge]);return mt(e.createElement(c.Z.Provider,{value:null},e.createElement(J.Provider,{value:Xt},e.createElement(p.ZP,Object.assign({getPopupContainer:B,overflowedIndicator:e.createElement(Z.Z,null),overflowedIndicatorPopupClassName:g()(Et,`${Et}-${ge}`,yt),mode:Lt,selectable:vt,onClick:rt},dt,{inlineCollapsed:Mt,style:Object.assign(Object.assign({},W==null?void 0:W.style),te),className:Zt,prefixCls:Et,direction:P,defaultMotions:_t,expandIcon:wt,ref:a,rootClassName:g()(Le,ht,A.rootClassName,zt,cn),_internalComponents:k})))))});const b=(0,e.forwardRef)((T,a)=>{const u=(0,e.useRef)(null),H=e.useContext(m.D);return(0,e.useImperativeHandle)(a,()=>({menu:u.current,focus:A=>{var w;(w=u.current)===null||w===void 0||w.focus(A)}})),e.createElement(oe,Object.assign({ref:u},T,H))});b.Item=i,b.SubMenu=Te,b.Divider=q,b.ItemGroup=p.BW;var ue=b},31709:function(Tt,re,t){t.d(re,{Z:function(){return W}});var e=t(59301),p=t(60499),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Z=m,R=t(7657),g=function(d,xe){return e.createElement(R.Z,(0,p.Z)({},d,{ref:xe,icon:Z}))},f=e.forwardRef(g),y=f,N=t(49198),n=t(33853),D=t(38819),S=t(92310),O=t.n(S),J=t(18642),Ae=t(43749),Y=t(85899),q=t(72190),ye=t(18929),v=t(10228),X=t(26112),i=t(48736),c=t(17119),V=[10,20,50,100],ie=function(d){var xe=d.pageSizeOptions,te=xe===void 0?V:xe,ge=d.locale,Ce=d.changeSize,Ze=d.pageSize,Be=d.goButton,Ne=d.quickGo,Le=d.rootPrefixCls,gt=d.disabled,it=d.buildOptionText,bt=d.showSizeChanger,yt=d.sizeChangerRender,tn=e.useState(""),dt=(0,q.Z)(tn,2),rt=dt[0],Lt=dt[1],vt=function(){return!rt||Number.isNaN(rt)?void 0:Number(rt)},Mt=typeof it=="function"?it:function(Xt){return"".concat(Xt," ").concat(ge.items_per_page)},_t=function(pn){Lt(pn.target.value)},Et=function(pn){Be||rt===""||(Lt(""),!(pn.relatedTarget&&(pn.relatedTarget.className.indexOf("".concat(Le,"-item-link"))>=0||pn.relatedTarget.className.indexOf("".concat(Le,"-item"))>=0))&&(Ne==null||Ne(vt())))},cn=function(pn){rt!==""&&(pn.keyCode===v.Z.ENTER||pn.type==="click")&&(Lt(""),Ne==null||Ne(vt()))},mt=function(){return te.some(function(pn){return pn.toString()===Ze.toString()})?te:te.concat([Ze]).sort(function(pn,zn){var Hn=Number.isNaN(Number(pn))?0:Number(pn),ir=Number.isNaN(Number(zn))?0:Number(zn);return Hn-ir})},ht="".concat(Le,"-options");if(!bt&&!Ne)return null;var zt=null,Zt=null,wt=null;return bt&&yt&&(zt=yt({disabled:gt,size:Ze,onSizeChange:function(pn){Ce==null||Ce(Number(pn))},"aria-label":ge.page_size,className:"".concat(ht,"-size-changer"),options:mt().map(function(Xt){return{label:Mt(Xt),value:Xt}})})),Ne&&(Be&&(wt=typeof Be=="boolean"?e.createElement("button",{type:"button",onClick:cn,onKeyUp:cn,disabled:gt,className:"".concat(ht,"-quick-jumper-button")},ge.jump_to_confirm):e.createElement("span",{onClick:cn,onKeyUp:cn},Be)),Zt=e.createElement("div",{className:"".concat(ht,"-quick-jumper")},ge.jump_to,e.createElement("input",{disabled:gt,type:"text",value:rt,onChange:_t,onKeyUp:cn,onBlur:Et,"aria-label":ge.page}),ge.page,wt)),e.createElement("li",{className:ht},zt,Zt)},de=ie,ke=function(d){var xe=d.rootPrefixCls,te=d.page,ge=d.active,Ce=d.className,Ze=d.showTitle,Be=d.onClick,Ne=d.onKeyPress,Le=d.itemRender,gt="".concat(xe,"-item"),it=O()(gt,"".concat(gt,"-").concat(te),(0,J.Z)((0,J.Z)({},"".concat(gt,"-active"),ge),"".concat(gt,"-disabled"),!te),Ce),bt=function(){Be(te)},yt=function(rt){Ne(rt,Be,te)},tn=Le(te,"page",e.createElement("a",{rel:"nofollow"},te));return tn?e.createElement("li",{title:Ze?String(te):null,className:it,onClick:bt,onKeyDown:yt,tabIndex:0},tn):null},Re=ke,ee=function(d,xe,te){return te};function be(){}function Q(l){var d=Number(l);return typeof d=="number"&&!Number.isNaN(d)&&isFinite(d)&&Math.floor(d)===d}function M(l,d,xe){var te=typeof l=="undefined"?d:l;return Math.floor((xe-1)/te)+1}var s=function(d){var xe=d.prefixCls,te=xe===void 0?"rc-pagination":xe,ge=d.selectPrefixCls,Ce=ge===void 0?"rc-select":ge,Ze=d.className,Be=d.current,Ne=d.defaultCurrent,Le=Ne===void 0?1:Ne,gt=d.total,it=gt===void 0?0:gt,bt=d.pageSize,yt=d.defaultPageSize,tn=yt===void 0?10:yt,dt=d.onChange,rt=dt===void 0?be:dt,Lt=d.hideOnSinglePage,vt=d.align,Mt=d.showPrevNextJumpers,_t=Mt===void 0?!0:Mt,Et=d.showQuickJumper,cn=d.showLessItems,mt=d.showTitle,ht=mt===void 0?!0:mt,zt=d.onShowSizeChange,Zt=zt===void 0?be:zt,wt=d.locale,Xt=wt===void 0?c.Z:wt,pn=d.style,zn=d.totalBoundaryShowSizeChanger,Hn=zn===void 0?50:zn,ir=d.disabled,tr=d.simple,nr=d.showTotal,bn=d.showSizeChanger,Vn=bn===void 0?it>Hn:bn,Un=d.sizeChangerRender,Yn=d.pageSizeOptions,x=d.itemRender,$=x===void 0?ee:x,tt=d.jumpPrevIcon,E=d.jumpNextIcon,C=d.prevIcon,$e=d.nextIcon,he=e.useRef(null),Se=(0,ye.Z)(10,{value:bt,defaultValue:tn}),He=(0,q.Z)(Se,2),Me=He[0],Qe=He[1],lt=(0,ye.Z)(1,{value:Be,defaultValue:Le,postState:function(Kn){return Math.max(1,Math.min(Kn,M(void 0,Me,it)))}}),ot=(0,q.Z)(lt,2),qe=ot[0],Nt=ot[1],Kt=e.useState(qe),pt=(0,q.Z)(Kt,2),F=pt[0],le=pt[1];(0,e.useEffect)(function(){le(qe)},[qe]);var Ee=rt!==be,Ie="current"in d,Pe=Math.max(1,qe-(cn?3:5)),Ke=Math.min(M(void 0,Me,it),qe+(cn?3:5));function Ue(xn,Kn){var br=xn||e.createElement("button",{type:"button","aria-label":Kn,className:"".concat(te,"-item-link")});return typeof xn=="function"&&(br=e.createElement(xn,(0,Y.Z)({},d))),br}function at(xn){var Kn=xn.target.value,br=M(void 0,Me,it),vr;return Kn===""?vr=Kn:Number.isNaN(Number(Kn))?vr=F:Kn>=br?vr=br:vr=Number(Kn),vr}function ft(xn){return Q(xn)&&xn!==qe&&Q(it)&&it>0}var $t=it>Me?Et:!1;function Dt(xn){(xn.keyCode===v.Z.UP||xn.keyCode===v.Z.DOWN)&&xn.preventDefault()}function Ct(xn){var Kn=at(xn);switch(Kn!==F&&le(Kn),xn.keyCode){case v.Z.ENTER:Ft(Kn);break;case v.Z.UP:Ft(Kn-1);break;case v.Z.DOWN:Ft(Kn+1);break;default:break}}function St(xn){Ft(at(xn))}function It(xn){var Kn=M(xn,Me,it),br=qe>Kn&&Kn!==0?Kn:qe;Qe(xn),le(br),Zt==null||Zt(qe,xn),Nt(br),rt==null||rt(br,xn)}function Ft(xn){if(ft(xn)&&!ir){var Kn=M(void 0,Me,it),br=xn;return xn>Kn?br=Kn:xn<1&&(br=1),br!==F&&le(br),Nt(br),rt==null||rt(br,Me),br}return qe}var qt=qe>1,ut=qe2?br-2:0),xo=2;xoit?it:qe*Me])),Xn=null,xt=M(void 0,Me,it);if(Lt&&it<=Me)return null;var Je=[],nt={rootPrefixCls:te,onClick:Ft,onKeyPress:un,showTitle:ht,itemRender:$,page:-1},Ut=qe-1>0?qe-1:0,Gt=qe+1=Jn*2&&qe!==3&&(Je[0]=e.cloneElement(Je[0],{className:O()("".concat(te,"-item-after-jump-prev"),Je[0].props.className)}),Je.unshift(kn)),xt-qe>=Jn*2&&qe!==xt-2){var Ir=Je[Je.length-1];Je[Je.length-1]=e.cloneElement(Ir,{className:O()("".concat(te,"-item-before-jump-next"),Ir.props.className)}),Je.push(Xn)}Er!==1&&Je.unshift(e.createElement(Re,(0,p.Z)({},nt,{key:1,page:1}))),Nr!==xt&&Je.push(e.createElement(Re,(0,p.Z)({},nt,{key:xt,page:xt})))}var rr=Wn(Ut);if(rr){var Br=!qt||!xt;rr=e.createElement("li",{title:ht?Xt.prev_page:null,onClick:Pt,tabIndex:Br?null:0,onKeyDown:Ot,className:O()("".concat(te,"-prev"),(0,J.Z)({},"".concat(te,"-disabled"),Br)),"aria-disabled":Br},rr)}var Xr=On(Gt);if(Xr){var jr,Hr;tr?(jr=!ut,Hr=qt?0:null):(jr=!ut||!xt,Hr=jr?null:0),Xr=e.createElement("li",{title:ht?Xt.next_page:null,onClick:vn,tabIndex:Hr,onKeyDown:jt,className:O()("".concat(te,"-next"),(0,J.Z)({},"".concat(te,"-disabled"),jr)),"aria-disabled":jr},Xr)}var Gr=O()(te,Ze,(0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)({},"".concat(te,"-start"),vt==="start"),"".concat(te,"-center"),vt==="center"),"".concat(te,"-end"),vt==="end"),"".concat(te,"-simple"),tr),"".concat(te,"-disabled"),ir));return e.createElement("ul",(0,p.Z)({className:Gr,style:pn,ref:he},ur),dr,rr,tr?Nn:Je,Xr,e.createElement(de,{locale:Xt,rootPrefixCls:te,disabled:ir,selectPrefixCls:Ce,changeSize:It,pageSize:Me,pageSizeOptions:Yn,quickGo:$t?Ft:null,goButton:Fn,showSizeChanger:Vn,sizeChangerRender:Un}))},_=s,j=t(61852),De=t(48755),se=t(31756),je=t(13783),et=t(9017),fe=t(82326),ce=t(57700),Ge=t(36237),U=t(53075),ve=t(64910),ae=t(39082),ze=t(63356),L=t(51636),pe=t(16931);const Te=l=>{const{componentCls:d}=l;return{[`${d}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${d}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${d}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed"}}},[`&${d}-disabled`]:{cursor:"not-allowed",[`${d}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:l.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:l.colorBorder,backgroundColor:l.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:l.itemActiveBgDisabled},a:{color:l.itemActiveColorDisabled}}},[`${d}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${d}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${d}-simple-pager`]:{color:l.colorTextDisabled},[`${d}-jump-prev, ${d}-jump-next`]:{[`${d}-item-link-icon`]:{opacity:0},[`${d}-item-ellipsis`]:{opacity:1}}},[`&${d}-simple`]:{[`${d}-prev, ${d}-next`]:{[`&${d}-disabled ${d}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ct=l=>{const{componentCls:d}=l;return{[`&${d}-mini ${d}-total-text, &${d}-mini ${d}-simple-pager`]:{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM)},[`&${d}-mini ${d}-item`]:{minWidth:l.itemSizeSM,height:l.itemSizeSM,margin:0,lineHeight:(0,Ge.unit)(l.calc(l.itemSizeSM).sub(2).equal())},[`&${d}-mini ${d}-prev, &${d}-mini ${d}-next`]:{minWidth:l.itemSizeSM,height:l.itemSizeSM,margin:0,lineHeight:(0,Ge.unit)(l.itemSizeSM)},[`&${d}-mini:not(${d}-disabled)`]:{[`${d}-prev, ${d}-next`]:{[`&:hover ${d}-item-link`]:{backgroundColor:l.colorBgTextHover},[`&:active ${d}-item-link`]:{backgroundColor:l.colorBgTextActive},[`&${d}-disabled:hover ${d}-item-link`]:{backgroundColor:"transparent"}}},[` &${d}-mini ${d}-prev ${d}-item-link, &${d}-mini ${d}-next ${d}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM)}},[`&${d}-mini ${d}-jump-prev, &${d}-mini ${d}-jump-next`]:{height:l.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Ge.unit)(l.itemSizeSM)},[`&${d}-mini ${d}-options`]:{marginInlineStart:l.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:l.miniOptionsSizeChangerTop},"&-quick-jumper":{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM),input:Object.assign(Object.assign({},(0,U.x0)(l)),{width:l.paginationMiniQuickJumperInputWidth,height:l.controlHeightSM})}}}},Xe=l=>{const{componentCls:d}=l;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM)}},[`&${d}-mini ${d}-jump-prev, &${d}-mini ${d}-jump-next`]:{height:l.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Ge.unit)(l.itemSizeSM)},[`&${d}-mini ${d}-options`]:{marginInlineStart:l.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:l.miniOptionsSizeChangerTop},"&-quick-jumper":{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM),input:Object.assign(Object.assign({},(0,U.x0)(l)),{width:l.paginationMiniQuickJumperInputWidth,height:l.controlHeightSM})}}}},Ye=l=>{const{componentCls:d}=l;return{[` &${d}-simple ${d}-prev, &${d}-simple ${d}-next `]:{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM),verticalAlign:"top",[`${d}-item-link`]:{height:l.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:l.colorBgTextHover},"&:active":{backgroundColor:l.colorBgTextActive},"&::after":{height:l.itemSizeSM,lineHeight:(0,Ge.unit)(l.itemSizeSM)}}},[`&${d}-simple ${d}-simple-pager`]:{display:"inline-block",height:l.itemSizeSM,marginInlineEnd:l.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Ge.unit)(l.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:l.itemInputBg,border:`${(0,Ge.unit)(l.lineWidth)} ${l.lineType} ${l.colorBorder}`,borderRadius:l.borderRadius,outline:"none",transition:`border-color ${l.motionDurationMid}`,color:"inherit","&:hover":{borderColor:l.colorPrimary},"&:focus":{borderColor:l.colorPrimaryHover,boxShadow:`${(0,Ge.unit)(l.inputOutlineOffset)} 0 ${(0,Ge.unit)(l.controlOutlineWidth)} ${l.controlOutline}`},"&[disabled]":{color:l.colorTextDisabled,backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,cursor:"not-allowed"}}}}},k=l=>{const{componentCls:d}=l;return{[`${d}-jump-prev, ${d}-jump-next`]:{outline:0,[`${d}-item-container`]:{position:"relative",[`${d}-item-link-icon`]:{color:l.colorPrimary,fontSize:l.fontSizeSM,opacity:0,transition:`all ${l.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${d}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:l.colorTextDisabled,letterSpacing:l.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:l.paginationEllipsisTextIndent,opacity:1,transition:`all ${l.motionDurationMid}`}},"&:hover":{[`${d}-item-link-icon`]:{opacity:1},[`${d}-item-ellipsis`]:{opacity:0}}},[` @@ -60,8 +60,8 @@ ${d}-next, ${d}-jump-prev, ${d}-jump-next - `]:{display:"inline-block",minWidth:l.itemSize,height:l.itemSize,color:l.colorText,fontFamily:l.fontFamily,lineHeight:(0,Ge.unit)(l.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:l.borderRadius,cursor:"pointer",transition:`all ${l.motionDurationMid}`},[`${d}-prev, ${d}-next`]:{outline:0,button:{color:l.colorText,cursor:"pointer",userSelect:"none"},[`${d}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:l.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Ge.unit)(l.lineWidth)} ${l.lineType} transparent`,borderRadius:l.borderRadius,outline:"none",transition:`all ${l.motionDurationMid}`},[`&:hover ${d}-item-link`]:{backgroundColor:l.colorBgTextHover},[`&:active ${d}-item-link`]:{backgroundColor:l.colorBgTextActive},[`&${d}-disabled:hover`]:{[`${d}-item-link`]:{backgroundColor:"transparent"}}},[`${d}-slash`]:{marginInlineEnd:l.paginationSlashMarginInlineEnd,marginInlineStart:l.paginationSlashMarginInlineStart},[`${d}-options`]:{display:"inline-block",marginInlineStart:l.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:l.controlHeight,marginInlineStart:l.marginXS,lineHeight:(0,Ge.unit)(l.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,U.ik)(l)),(0,ae.$U)(l,{borderColor:l.colorBorder,hoverBorderColor:l.colorPrimaryHover,activeBorderColor:l.colorPrimary,activeShadow:l.activeShadow})),{"&[disabled]":Object.assign({},(0,ae.Xy)(l)),width:l.calc(l.controlHeightLG).mul(1.25).equal(),height:l.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:l.marginXS,marginInlineEnd:l.marginXS})}}}},K=l=>{const{componentCls:d}=l;return{[`${d}-item`]:{display:"inline-block",minWidth:l.itemSize,height:l.itemSize,marginInlineEnd:l.marginXS,fontFamily:l.fontFamily,lineHeight:(0,Ge.unit)(l.calc(l.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:l.itemBg,border:`${(0,Ge.unit)(l.lineWidth)} ${l.lineType} transparent`,borderRadius:l.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Ge.unit)(l.paginationItemPaddingInline)}`,color:l.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${d}-item-active)`]:{"&:hover":{transition:`all ${l.motionDurationMid}`,backgroundColor:l.colorBgTextHover},"&:active":{backgroundColor:l.colorBgTextActive}},"&-active":{fontWeight:l.fontWeightStrong,backgroundColor:l.itemActiveBg,borderColor:l.colorPrimary,a:{color:l.colorPrimary},"&:hover":{borderColor:l.colorPrimaryHover},"&:hover a":{color:l.colorPrimaryHover}}}}},oe=l=>{const{componentCls:d}=l;return{[d]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ze.Wf)(l)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${d}-total-text`]:{display:"inline-block",height:l.itemSize,marginInlineEnd:l.marginXS,lineHeight:(0,Ge.unit)(l.calc(l.itemSize).sub(2).equal()),verticalAlign:"middle"}}),K(l)),k(l)),Xe(l)),ct(l)),Te(l)),{[`@media only screen and (max-width: ${l.screenLG}px)`]:{[`${d}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${l.screenSM}px)`]:{[`${d}-options`]:{display:"none"}}}),[`&${l.componentCls}-rtl`]:{direction:"rtl"}}},b=l=>{const{componentCls:d}=l;return{[`${d}:not(${d}-disabled)`]:{[`${d}-item`]:Object.assign({},(0,ze.Qy)(l)),[`${d}-jump-prev, ${d}-jump-next`]:{"&:focus-visible":Object.assign({[`${d}-item-link-icon`]:{opacity:1},[`${d}-item-ellipsis`]:{opacity:0}},(0,ze.oN)(l))},[`${d}-prev, ${d}-next`]:{[`&:focus-visible ${d}-item-link`]:Object.assign({},(0,ze.oN)(l))}}}},ue=l=>Object.assign({itemBg:l.colorBgContainer,itemSize:l.controlHeight,itemSizeSM:l.controlHeightSM,itemActiveBg:l.colorBgContainer,itemLinkBg:l.colorBgContainer,itemActiveColorDisabled:l.colorTextDisabled,itemActiveBgDisabled:l.controlItemBgActiveDisabled,itemInputBg:l.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ve.T)(l)),T=l=>(0,L.mergeToken)(l,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:l.calc(l.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:l.calc(l.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:l.calc(l.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:l.calc(l.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:l.marginSM,paginationSlashMarginInlineEnd:l.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ve.e)(l));var a=(0,pe.I$)("Pagination",l=>{const d=T(l);return[oe(d),b(d)]},ue);const u=l=>{const{componentCls:d}=l;return{[`${d}${d}-bordered${d}-disabled:not(${d}-mini)`]:{"&, &:hover":{[`${d}-item-link`]:{borderColor:l.colorBorder}},"&:focus-visible":{[`${d}-item-link`]:{borderColor:l.colorBorder}},[`${d}-item, ${d}-item-link`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,[`&:hover:not(${d}-item-active)`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,a:{color:l.colorTextDisabled}},[`&${d}-item-active`]:{backgroundColor:l.itemActiveBgDisabled}},[`${d}-prev, ${d}-next`]:{"&:hover button":{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,color:l.colorTextDisabled},[`${d}-item-link`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder}}},[`${d}${d}-bordered:not(${d}-mini)`]:{[`${d}-prev, ${d}-next`]:{"&:hover button":{borderColor:l.colorPrimaryHover,backgroundColor:l.itemBg},[`${d}-item-link`]:{backgroundColor:l.itemLinkBg,borderColor:l.colorBorder},[`&:hover ${d}-item-link`]:{borderColor:l.colorPrimary,backgroundColor:l.itemBg,color:l.colorPrimary},[`&${d}-disabled`]:{[`${d}-item-link`]:{borderColor:l.colorBorder,color:l.colorTextDisabled}}},[`${d}-item`]:{backgroundColor:l.itemBg,border:`${(0,Ge.unit)(l.lineWidth)} ${l.lineType} ${l.colorBorder}`,[`&:hover:not(${d}-item-active)`]:{borderColor:l.colorPrimary,backgroundColor:l.itemBg,a:{color:l.colorPrimary}},"&-active":{borderColor:l.colorPrimary}}}}};var H=(0,pe.bk)(["Pagination","bordered"],l=>{const d=T(l);return[u(d)]},ue);function A(l){return(0,e.useMemo)(()=>typeof l=="boolean"?[l,{}]:l&&typeof l=="object"?[!0,l]:[void 0,void 0],[l])}var w=function(l,d){var xe={};for(var te in l)Object.prototype.hasOwnProperty.call(l,te)&&d.indexOf(te)<0&&(xe[te]=l[te]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,te=Object.getOwnPropertySymbols(l);ge{const{align:d,prefixCls:xe,selectPrefixCls:te,className:ge,rootClassName:Ce,style:Ze,size:Be,locale:Ne,responsive:Le,showSizeChanger:gt,selectComponentClass:it,pageSizeOptions:bt}=l,yt=w(l,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:tn}=(0,je.Z)(Le),[,dt]=(0,ce.ZP)(),{getPrefixCls:rt,direction:Lt,showSizeChanger:vt,className:Mt,style:_t}=(0,De.dj)("pagination"),Et=rt("pagination",xe),[cn,mt,ht]=a(Et),zt=(0,se.Z)(Be),Tt=zt==="small"||!!(tn&&!zt&&Le),[wt]=(0,et.Z)("Pagination",j.Z),Xt=Object.assign(Object.assign({},wt),Ne),[pn,zn]=A(gt),[Hn,ir]=A(vt),tr=pn!=null?pn:Hn,nr=zn!=null?zn:ir,bn=it||fe.default,Vn=e.useMemo(()=>bt?bt.map(E=>Number(E)):void 0,[bt]),Un=E=>{var C;const{disabled:$e,size:he,onSizeChange:Se,"aria-label":He,className:Me,options:Qe}=E,{className:lt,onChange:ot}=nr||{},qe=(C=Qe.find(Nt=>String(Nt.value)===String(he)))===null||C===void 0?void 0:C.value;return e.createElement(bn,Object.assign({disabled:$e,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Nt=>Nt.parentNode,"aria-label":He,options:Qe},nr,{value:qe,onChange:(Nt,Kt)=>{Se==null||Se(Nt),ot==null||ot(Nt,Kt)},size:Tt?"small":"middle",className:O()(Me,lt)}))},Yn=e.useMemo(()=>{const E=e.createElement("span",{className:`${Et}-item-ellipsis`},"\u2022\u2022\u2022"),C=e.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},Lt==="rtl"?e.createElement(D.Z,null):e.createElement(n.Z,null)),$e=e.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},Lt==="rtl"?e.createElement(n.Z,null):e.createElement(D.Z,null)),he=e.createElement("a",{className:`${Et}-item-link`},e.createElement("div",{className:`${Et}-item-container`},Lt==="rtl"?e.createElement(N.Z,{className:`${Et}-item-link-icon`}):e.createElement(y,{className:`${Et}-item-link-icon`}),E)),Se=e.createElement("a",{className:`${Et}-item-link`},e.createElement("div",{className:`${Et}-item-container`},Lt==="rtl"?e.createElement(y,{className:`${Et}-item-link-icon`}):e.createElement(N.Z,{className:`${Et}-item-link-icon`}),E));return{prevIcon:C,nextIcon:$e,jumpPrevIcon:he,jumpNextIcon:Se}},[Lt,Et]),x=rt("select",te),$=O()({[`${Et}-${d}`]:!!d,[`${Et}-mini`]:Tt,[`${Et}-rtl`]:Lt==="rtl",[`${Et}-bordered`]:dt.wireframe},Mt,ge,Ce,mt,ht),tt=Object.assign(Object.assign({},_t),Ze);return cn(e.createElement(e.Fragment,null,dt.wireframe&&e.createElement(H,{prefixCls:Et}),e.createElement(_,Object.assign({},Yn,yt,{style:tt,prefixCls:Et,selectPrefixCls:x,className:$,locale:Xt,pageSizeOptions:Vn,showSizeChanger:tr,sizeChangerRender:Un}))))},W=P},47889:function(Zt,re,t){t.d(re,{ZP:function(){return Ge}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(18929),R=t(26112),g=t(48755),f=t(83397),y=t(31756);const N=e.createContext(null),n=N.Provider;var D=N;const S=e.createContext(null),O=S.Provider;var J=t(16632),Ae=t(8654),Y=t(12919),q=t(63872),ye=t(74632),v=t(2171),X=t(56553),i=t(36237),c=t(63356),V=t(16931),ie=t(51636);const de=U=>{const{componentCls:ve,antCls:ae}=U,ze=`${ve}-group`;return{[ze]:Object.assign(Object.assign({},(0,c.Wf)(U)),{display:"inline-block",fontSize:0,[`&${ze}-rtl`]:{direction:"rtl"},[`&${ze}-block`]:{display:"flex"},[`${ae}-badge ${ae}-badge-count`]:{zIndex:1},[`> ${ae}-badge:not(:first-child) > ${ae}-button-wrapper`]:{borderInlineStart:"none"}})}},ke=U=>{const{componentCls:ve,wrapperMarginInlineEnd:ae,colorPrimary:ze,radioSize:L,motionDurationSlow:pe,motionDurationMid:Te,motionEaseInOutCirc:ct,colorBgContainer:Xe,colorBorder:k,lineWidth:K,colorBgContainerDisabled:oe,colorTextDisabled:b,paddingXS:ue,dotColorDisabled:T,lineType:a,radioColor:u,radioBgColor:H,calc:A}=U,w=`${ve}-inner`,P=A(L).sub(A(4).mul(2)),W=A(1).mul(L).equal({unit:!0});return{[`${ve}-wrapper`]:Object.assign(Object.assign({},(0,c.Wf)(U)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ae,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${ve}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:U.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${ve}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,i.unit)(K)} ${a} ${ze}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[ve]:Object.assign(Object.assign({},(0,c.Wf)(U)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${ve}-wrapper:hover &, - &:hover ${w}`]:{borderColor:ze},[`${ve}-input:focus-visible + ${w}`]:Object.assign({},(0,c.oN)(U)),[`${ve}:hover::after, ${ve}-wrapper:hover &::after`]:{visibility:"visible"},[`${ve}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:W,height:W,marginBlockStart:A(1).mul(L).div(-2).equal({unit:!0}),marginInlineStart:A(1).mul(L).div(-2).equal({unit:!0}),backgroundColor:u,borderBlockStart:0,borderInlineStart:0,borderRadius:W,transform:"scale(0)",opacity:0,transition:`all ${pe} ${ct}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:W,height:W,backgroundColor:Xe,borderColor:k,borderStyle:"solid",borderWidth:K,borderRadius:"50%",transition:`all ${Te}`},[`${ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${ve}-checked`]:{[w]:{borderColor:ze,backgroundColor:H,"&::after":{transform:`scale(${U.calc(U.dotSize).div(L).equal()})`,opacity:1,transition:`all ${pe} ${ct}`}}},[`${ve}-disabled`]:{cursor:"not-allowed",[w]:{backgroundColor:oe,borderColor:k,cursor:"not-allowed","&::after":{backgroundColor:T}},[`${ve}-input`]:{cursor:"not-allowed"},[`${ve}-disabled + span`]:{color:b,cursor:"not-allowed"},[`&${ve}-checked`]:{[w]:{"&::after":{transform:`scale(${A(P).div(L).equal()})`}}}},[`span${ve} + *`]:{paddingInlineStart:ue,paddingInlineEnd:ue}})}},Re=U=>{const{buttonColor:ve,controlHeight:ae,componentCls:ze,lineWidth:L,lineType:pe,colorBorder:Te,motionDurationSlow:ct,motionDurationMid:Xe,buttonPaddingInline:k,fontSize:K,buttonBg:oe,fontSizeLG:b,controlHeightLG:ue,controlHeightSM:T,paddingXS:a,borderRadius:u,borderRadiusSM:H,borderRadiusLG:A,buttonCheckedBg:w,buttonSolidCheckedColor:B,colorTextDisabled:P,colorBgContainerDisabled:W,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:d,colorPrimary:xe,colorPrimaryHover:te,colorPrimaryActive:ge,buttonSolidCheckedBg:Ce,buttonSolidCheckedHoverBg:Ze,buttonSolidCheckedActiveBg:Be,calc:Ne}=U;return{[`${ze}-button-wrapper`]:{position:"relative",display:"inline-block",height:ae,margin:0,paddingInline:k,paddingBlock:0,color:ve,fontSize:K,lineHeight:(0,i.unit)(Ne(ae).sub(Ne(L).mul(2)).equal()),background:oe,border:`${(0,i.unit)(L)} ${pe} ${Te}`,borderBlockStartWidth:Ne(L).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:L,cursor:"pointer",transition:[`color ${Xe}`,`background ${Xe}`,`box-shadow ${Xe}`].join(","),a:{color:ve},[`> ${ze}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Ne(L).mul(-1).equal(),insetInlineStart:Ne(L).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:L,paddingInline:0,backgroundColor:Te,transition:`background-color ${ct}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,i.unit)(L)} ${pe} ${Te}`,borderStartStartRadius:u,borderEndStartRadius:u},"&:last-child":{borderStartEndRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u},[`${ze}-group-large &`]:{height:ue,fontSize:b,lineHeight:(0,i.unit)(Ne(ue).sub(Ne(L).mul(2)).equal()),"&:first-child":{borderStartStartRadius:A,borderEndStartRadius:A},"&:last-child":{borderStartEndRadius:A,borderEndEndRadius:A}},[`${ze}-group-small &`]:{height:T,paddingInline:Ne(a).sub(L).equal(),paddingBlock:0,lineHeight:(0,i.unit)(Ne(T).sub(Ne(L).mul(2)).equal()),"&:first-child":{borderStartStartRadius:H,borderEndStartRadius:H},"&:last-child":{borderStartEndRadius:H,borderEndEndRadius:H}},"&:hover":{position:"relative",color:xe},"&:has(:focus-visible)":Object.assign({},(0,c.oN)(U)),[`${ze}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ze}-button-wrapper-disabled)`]:{zIndex:1,color:xe,background:w,borderColor:xe,"&::before":{backgroundColor:xe},"&:first-child":{borderColor:xe},"&:hover":{color:te,borderColor:te,"&::before":{backgroundColor:te}},"&:active":{color:ge,borderColor:ge,"&::before":{backgroundColor:ge}}},[`${ze}-group-solid &-checked:not(${ze}-button-wrapper-disabled)`]:{color:B,background:Ce,borderColor:Ce,"&:hover":{color:B,background:Ze,borderColor:Ze},"&:active":{color:B,background:Be,borderColor:Be}},"&-disabled":{color:P,backgroundColor:W,borderColor:Te,cursor:"not-allowed","&:first-child, &:hover":{color:P,backgroundColor:W,borderColor:Te}},[`&-disabled${ze}-button-wrapper-checked`]:{color:d,backgroundColor:l,borderColor:Te,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ee=U=>{const{wireframe:ve,padding:ae,marginXS:ze,lineWidth:L,fontSizeLG:pe,colorText:Te,colorBgContainer:ct,colorTextDisabled:Xe,controlItemBgActiveDisabled:k,colorTextLightSolid:K,colorPrimary:oe,colorPrimaryHover:b,colorPrimaryActive:ue,colorWhite:T}=U,a=4,u=pe,H=ve?u-a*2:u-(a+L)*2;return{radioSize:u,dotSize:H,dotColorDisabled:Xe,buttonSolidCheckedColor:K,buttonSolidCheckedBg:oe,buttonSolidCheckedHoverBg:b,buttonSolidCheckedActiveBg:ue,buttonBg:ct,buttonCheckedBg:ct,buttonColor:Te,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:Xe,buttonPaddingInline:ae-L,wrapperMarginInlineEnd:ze,radioColor:ve?oe:T,radioBgColor:ve?ct:oe}};var be=(0,V.I$)("Radio",U=>{const{controlOutline:ve,controlOutlineWidth:ae}=U,ze=`0 0 0 ${(0,i.unit)(ae)} ${ve}`,L=ze,pe=(0,ie.mergeToken)(U,{radioFocusShadow:ze,radioButtonFocusShadow:L});return[de(pe),ke(pe),Re(pe)]},ee,{unitless:{radioSize:!0,dotSize:!0}}),Q=function(U,ve){var ae={};for(var ze in U)Object.prototype.hasOwnProperty.call(U,ze)&&ve.indexOf(ze)<0&&(ae[ze]=U[ze]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,ze=Object.getOwnPropertySymbols(U);L{var ae,ze;const L=e.useContext(D),pe=e.useContext(S),{getPrefixCls:Te,direction:ct,radio:Xe}=e.useContext(g.E_),k=e.useRef(null),K=(0,Ae.sQ)(ve,k),{isFormItemInput:oe}=e.useContext(X.aM),b=Le=>{var gt,it;(gt=U.onChange)===null||gt===void 0||gt.call(U,Le),(it=L==null?void 0:L.onChange)===null||it===void 0||it.call(L,Le)},{prefixCls:ue,className:T,rootClassName:a,children:u,style:H,title:A}=U,w=Q(U,["prefixCls","className","rootClassName","children","style","title"]),B=Te("radio",ue),P=((L==null?void 0:L.optionType)||pe)==="button",W=P?`${B}-button`:B,l=(0,f.Z)(B),[d,xe,te]=be(B,l),ge=Object.assign({},w),Ce=e.useContext(v.Z);L&&(ge.name=L.name,ge.onChange=b,ge.checked=U.value===L.value,ge.disabled=(ae=ge.disabled)!==null&&ae!==void 0?ae:L.disabled),ge.disabled=(ze=ge.disabled)!==null&&ze!==void 0?ze:Ce;const Ze=m()(`${W}-wrapper`,{[`${W}-wrapper-checked`]:ge.checked,[`${W}-wrapper-disabled`]:ge.disabled,[`${W}-wrapper-rtl`]:ct==="rtl",[`${W}-wrapper-in-form-item`]:oe,[`${W}-wrapper-block`]:!!(L!=null&&L.block)},Xe==null?void 0:Xe.className,T,a,xe,te,l),[Be,Ne]=(0,ye.Z)(ge.onClick);return d(e.createElement(Y.Z,{component:"Radio",disabled:ge.disabled},e.createElement("label",{className:Ze,style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),H),onMouseEnter:U.onMouseEnter,onMouseLeave:U.onMouseLeave,title:A,onClick:Be},e.createElement(J.Z,Object.assign({},ge,{className:m()(ge.className,{[q.A]:!P}),type:"radio",prefixCls:W,ref:K,onClick:Ne})),u!==void 0?e.createElement("span",{className:`${W}-label`},u):null)))};var _=e.forwardRef(M),j=t(80402);const De=e.forwardRef((U,ve)=>{const{getPrefixCls:ae,direction:ze}=e.useContext(g.E_),L=(0,j.Z)(),{prefixCls:pe,className:Te,rootClassName:ct,options:Xe,buttonStyle:k="outline",disabled:K,children:oe,size:b,style:ue,id:T,optionType:a,name:u=L,defaultValue:H,value:A,block:w=!1,onChange:B,onMouseEnter:P,onMouseLeave:W,onFocus:l,onBlur:d}=U,[xe,te]=(0,Z.Z)(H,{value:A}),ge=e.useCallback(dt=>{const rt=xe,Lt=dt.target.value;"value"in U||te(Lt),Lt!==rt&&(B==null||B(dt))},[xe,te,B]),Ce=ae("radio",pe),Ze=`${Ce}-group`,Be=(0,f.Z)(Ce),[Ne,Le,gt]=be(Ce,Be);let it=oe;Xe&&Xe.length>0&&(it=Xe.map(dt=>typeof dt=="string"||typeof dt=="number"?e.createElement(_,{key:dt.toString(),prefixCls:Ce,disabled:K,value:dt,checked:xe===dt},dt):e.createElement(_,{key:`radio-group-value-options-${dt.value}`,prefixCls:Ce,disabled:dt.disabled||K,value:dt.value,checked:xe===dt.value,title:dt.title,style:dt.style,id:dt.id,required:dt.required},dt.label)));const bt=(0,y.Z)(b),yt=m()(Ze,`${Ze}-${k}`,{[`${Ze}-${bt}`]:bt,[`${Ze}-rtl`]:ze==="rtl",[`${Ze}-block`]:w},Te,ct,Le,gt,Be),tn=e.useMemo(()=>({onChange:ge,value:xe,disabled:K,name:u,optionType:a,block:w}),[ge,xe,K,u,a,w]);return Ne(e.createElement("div",Object.assign({},(0,R.Z)(U,{aria:!0,data:!0}),{className:yt,style:ue,onMouseEnter:P,onMouseLeave:W,onFocus:l,onBlur:d,id:T,ref:ve}),e.createElement(n,{value:tn},it)))});var se=e.memo(De),je=function(U,ve){var ae={};for(var ze in U)Object.prototype.hasOwnProperty.call(U,ze)&&ve.indexOf(ze)<0&&(ae[ze]=U[ze]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,ze=Object.getOwnPropertySymbols(U);L{const{getPrefixCls:ae}=e.useContext(g.E_),{prefixCls:ze}=U,L=je(U,["prefixCls"]),pe=ae("radio",ze);return e.createElement(O,{value:"button"},e.createElement(_,Object.assign({prefixCls:pe},L,{type:"radio",ref:ve})))};var fe=e.forwardRef(et);const ce=_;ce.Button=fe,ce.Group=se,ce.__ANT_RADIO=!0;var Ge=ce},82326:function(Zt,re,t){var e=t(59301),p=t(92310),m=t.n(p),Z=t(37463),R=t(2738),g=t(75030),f=t(86641),y=t(45915),N=t(82855),n=t(48755),D=t(38406),S=t(2171),O=t(83397),J=t(31756),Ae=t(56553),Y=t(24971),q=t(70045),ye=t(57700),v=t(1722),X=t(90376),i=t(68525),c=t(90005),V=function(ee,be){var Q={};for(var M in ee)Object.prototype.hasOwnProperty.call(ee,M)&&be.indexOf(M)<0&&(Q[M]=ee[M]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,M=Object.getOwnPropertySymbols(ee);s{var Q;const{prefixCls:M,bordered:s,className:_,rootClassName:j,getPopupContainer:De,popupClassName:se,dropdownClassName:je,listHeight:et=256,placement:fe,listItemHeight:ce,size:Ge,disabled:U,notFoundContent:ve,status:ae,builtinPlacements:ze,dropdownMatchSelectWidth:L,popupMatchSelectWidth:pe,direction:Te,style:ct,allowClear:Xe,variant:k,dropdownStyle:K,transitionName:oe,tagRender:b,maxCount:ue,prefix:T}=ee,a=V(ee,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:u,getPrefixCls:H,renderEmpty:A,direction:w,virtual:B,popupMatchSelectWidth:P,popupOverflow:W}=e.useContext(n.E_),l=(0,n.dj)("select"),[,d]=(0,ye.ZP)(),xe=ce!=null?ce:d==null?void 0:d.controlHeight,te=H("select",M),ge=H(),Ce=Te!=null?Te:w,{compactSize:Ze,compactItemClassnames:Be}=(0,q.ri)(te,Ce),[Ne,Le]=(0,Y.Z)("select",k,s),gt=(0,O.Z)(te),[it,bt,yt]=(0,X.Z)(te,gt),tn=e.useMemo(()=>{const{mode:Un}=ee;if(Un!=="combobox")return Un===ie?"combobox":Un},[ee.mode]),dt=tn==="multiple"||tn==="tags",rt=(0,c.Z)(ee.suffixIcon,ee.showArrow),Lt=(Q=pe!=null?pe:L)!==null&&Q!==void 0?Q:P,{status:vt,hasFeedback:Mt,isFormItemInput:_t,feedbackIcon:Et}=e.useContext(Ae.aM),cn=(0,N.F)(vt,ae);let mt;ve!==void 0?mt=ve:tn==="combobox"?mt=null:mt=(A==null?void 0:A("Select"))||e.createElement(D.Z,{componentName:"Select"});const{suffixIcon:ht,itemIcon:zt,removeIcon:Tt,clearIcon:wt}=(0,i.Z)(Object.assign(Object.assign({},a),{multiple:dt,hasFeedback:Mt,feedbackIcon:Et,showSuffixIcon:rt,prefixCls:te,componentName:"Select"})),Xt=Xe===!0?{clearIcon:wt}:Xe,pn=(0,R.Z)(a,["suffixIcon","itemIcon"]),zn=m()(se||je,{[`${te}-dropdown-${Ce}`]:Ce==="rtl"},j,yt,gt,bt),Hn=(0,J.Z)(Un=>{var Yn;return(Yn=Ge!=null?Ge:Ze)!==null&&Yn!==void 0?Yn:Un}),ir=e.useContext(S.Z),tr=U!=null?U:ir,nr=m()({[`${te}-lg`]:Hn==="large",[`${te}-sm`]:Hn==="small",[`${te}-rtl`]:Ce==="rtl",[`${te}-${Ne}`]:Le,[`${te}-in-form-item`]:_t},(0,N.Z)(te,cn,Mt),Be,l.className,_,j,yt,gt,bt),bn=e.useMemo(()=>fe!==void 0?fe:Ce==="rtl"?"bottomRight":"bottomLeft",[fe,Ce]),[Vn]=(0,g.Cn)("SelectLike",K==null?void 0:K.zIndex);return it(e.createElement(Z.ZP,Object.assign({ref:be,virtual:B,showSearch:l.showSearch},pn,{style:Object.assign(Object.assign({},l.style),ct),dropdownMatchSelectWidth:Lt,transitionName:(0,f.m)(ge,"slide-up",oe),builtinPlacements:(0,v.Z)(ze,W),listHeight:et,listItemHeight:xe,mode:tn,prefixCls:te,placement:bn,direction:Ce,prefix:T,suffixIcon:ht,menuItemSelectedIcon:zt,removeIcon:Tt,allowClear:Xt,notFoundContent:mt,className:nr,getPopupContainer:De||u,dropdownClassName:zn,disabled:tr,dropdownStyle:Object.assign(Object.assign({},K),{zIndex:Vn}),maxCount:dt?ue:void 0,tagRender:dt?b:void 0})))},ke=e.forwardRef(de),Re=(0,y.Z)(ke,"dropdownAlign");ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=ie,ke.Option=Z.Wx,ke.OptGroup=Z.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=Re,re.default=ke},1722:function(Zt,re){const t=p=>{const Z={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:p==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Z),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Z),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Z),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Z),{points:["br","tr"],offset:[0,-4]})}};function e(p,m){return p||t(m)}re.Z=e},90376:function(Zt,re,t){t.d(re,{Z:function(){return M}});var e=t(63356),p=t(56119),m=t(16931),Z=t(51636),R=t(46e3),g=t(93873);const f=s=>{const{optionHeight:_,optionFontSize:j,optionLineHeight:De,optionPadding:se}=s;return{position:"relative",display:"block",minHeight:_,padding:se,color:s.colorText,fontWeight:"normal",fontSize:j,lineHeight:De,boxSizing:"border-box"}};var N=s=>{const{antCls:_,componentCls:j}=s,De=`${j}-item`,se=`&${_}-slide-up-enter${_}-slide-up-enter-active`,je=`&${_}-slide-up-appear${_}-slide-up-appear-active`,et=`&${_}-slide-up-leave${_}-slide-up-leave-active`,fe=`${j}-dropdown-placement-`,ce=`${De}-option-selected`;return[{[`${j}-dropdown`]:Object.assign(Object.assign({},(0,e.Wf)(s)),{position:"absolute",top:-9999,zIndex:s.zIndexPopup,boxSizing:"border-box",padding:s.paddingXXS,overflow:"hidden",fontSize:s.fontSize,fontVariant:"initial",backgroundColor:s.colorBgElevated,borderRadius:s.borderRadiusLG,outline:"none",boxShadow:s.boxShadowSecondary,[` + `]:{display:"inline-block",minWidth:l.itemSize,height:l.itemSize,color:l.colorText,fontFamily:l.fontFamily,lineHeight:(0,Ge.unit)(l.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:l.borderRadius,cursor:"pointer",transition:`all ${l.motionDurationMid}`},[`${d}-prev, ${d}-next`]:{outline:0,button:{color:l.colorText,cursor:"pointer",userSelect:"none"},[`${d}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:l.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Ge.unit)(l.lineWidth)} ${l.lineType} transparent`,borderRadius:l.borderRadius,outline:"none",transition:`all ${l.motionDurationMid}`},[`&:hover ${d}-item-link`]:{backgroundColor:l.colorBgTextHover},[`&:active ${d}-item-link`]:{backgroundColor:l.colorBgTextActive},[`&${d}-disabled:hover`]:{[`${d}-item-link`]:{backgroundColor:"transparent"}}},[`${d}-slash`]:{marginInlineEnd:l.paginationSlashMarginInlineEnd,marginInlineStart:l.paginationSlashMarginInlineStart},[`${d}-options`]:{display:"inline-block",marginInlineStart:l.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:l.controlHeight,marginInlineStart:l.marginXS,lineHeight:(0,Ge.unit)(l.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,U.ik)(l)),(0,ae.$U)(l,{borderColor:l.colorBorder,hoverBorderColor:l.colorPrimaryHover,activeBorderColor:l.colorPrimary,activeShadow:l.activeShadow})),{"&[disabled]":Object.assign({},(0,ae.Xy)(l)),width:l.calc(l.controlHeightLG).mul(1.25).equal(),height:l.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:l.marginXS,marginInlineEnd:l.marginXS})}}}},K=l=>{const{componentCls:d}=l;return{[`${d}-item`]:{display:"inline-block",minWidth:l.itemSize,height:l.itemSize,marginInlineEnd:l.marginXS,fontFamily:l.fontFamily,lineHeight:(0,Ge.unit)(l.calc(l.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:l.itemBg,border:`${(0,Ge.unit)(l.lineWidth)} ${l.lineType} transparent`,borderRadius:l.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Ge.unit)(l.paginationItemPaddingInline)}`,color:l.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${d}-item-active)`]:{"&:hover":{transition:`all ${l.motionDurationMid}`,backgroundColor:l.colorBgTextHover},"&:active":{backgroundColor:l.colorBgTextActive}},"&-active":{fontWeight:l.fontWeightStrong,backgroundColor:l.itemActiveBg,borderColor:l.colorPrimary,a:{color:l.colorPrimary},"&:hover":{borderColor:l.colorPrimaryHover},"&:hover a":{color:l.colorPrimaryHover}}}}},oe=l=>{const{componentCls:d}=l;return{[d]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ze.Wf)(l)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${d}-total-text`]:{display:"inline-block",height:l.itemSize,marginInlineEnd:l.marginXS,lineHeight:(0,Ge.unit)(l.calc(l.itemSize).sub(2).equal()),verticalAlign:"middle"}}),K(l)),k(l)),Ye(l)),ct(l)),Te(l)),{[`@media only screen and (max-width: ${l.screenLG}px)`]:{[`${d}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${l.screenSM}px)`]:{[`${d}-options`]:{display:"none"}}}),[`&${l.componentCls}-rtl`]:{direction:"rtl"}}},b=l=>{const{componentCls:d}=l;return{[`${d}:not(${d}-disabled)`]:{[`${d}-item`]:Object.assign({},(0,ze.Qy)(l)),[`${d}-jump-prev, ${d}-jump-next`]:{"&:focus-visible":Object.assign({[`${d}-item-link-icon`]:{opacity:1},[`${d}-item-ellipsis`]:{opacity:0}},(0,ze.oN)(l))},[`${d}-prev, ${d}-next`]:{[`&:focus-visible ${d}-item-link`]:Object.assign({},(0,ze.oN)(l))}}}},ue=l=>Object.assign({itemBg:l.colorBgContainer,itemSize:l.controlHeight,itemSizeSM:l.controlHeightSM,itemActiveBg:l.colorBgContainer,itemLinkBg:l.colorBgContainer,itemActiveColorDisabled:l.colorTextDisabled,itemActiveBgDisabled:l.controlItemBgActiveDisabled,itemInputBg:l.colorBgContainer,miniOptionsSizeChangerTop:0},(0,ve.T)(l)),T=l=>(0,L.mergeToken)(l,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:l.calc(l.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:l.calc(l.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:l.calc(l.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:l.calc(l.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:l.marginSM,paginationSlashMarginInlineEnd:l.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ve.e)(l));var a=(0,pe.I$)("Pagination",l=>{const d=T(l);return[oe(d),b(d)]},ue);const u=l=>{const{componentCls:d}=l;return{[`${d}${d}-bordered${d}-disabled:not(${d}-mini)`]:{"&, &:hover":{[`${d}-item-link`]:{borderColor:l.colorBorder}},"&:focus-visible":{[`${d}-item-link`]:{borderColor:l.colorBorder}},[`${d}-item, ${d}-item-link`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,[`&:hover:not(${d}-item-active)`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,a:{color:l.colorTextDisabled}},[`&${d}-item-active`]:{backgroundColor:l.itemActiveBgDisabled}},[`${d}-prev, ${d}-next`]:{"&:hover button":{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,color:l.colorTextDisabled},[`${d}-item-link`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder}}},[`${d}${d}-bordered:not(${d}-mini)`]:{[`${d}-prev, ${d}-next`]:{"&:hover button":{borderColor:l.colorPrimaryHover,backgroundColor:l.itemBg},[`${d}-item-link`]:{backgroundColor:l.itemLinkBg,borderColor:l.colorBorder},[`&:hover ${d}-item-link`]:{borderColor:l.colorPrimary,backgroundColor:l.itemBg,color:l.colorPrimary},[`&${d}-disabled`]:{[`${d}-item-link`]:{borderColor:l.colorBorder,color:l.colorTextDisabled}}},[`${d}-item`]:{backgroundColor:l.itemBg,border:`${(0,Ge.unit)(l.lineWidth)} ${l.lineType} ${l.colorBorder}`,[`&:hover:not(${d}-item-active)`]:{borderColor:l.colorPrimary,backgroundColor:l.itemBg,a:{color:l.colorPrimary}},"&-active":{borderColor:l.colorPrimary}}}}};var H=(0,pe.bk)(["Pagination","bordered"],l=>{const d=T(l);return[u(d)]},ue);function A(l){return(0,e.useMemo)(()=>typeof l=="boolean"?[l,{}]:l&&typeof l=="object"?[!0,l]:[void 0,void 0],[l])}var w=function(l,d){var xe={};for(var te in l)Object.prototype.hasOwnProperty.call(l,te)&&d.indexOf(te)<0&&(xe[te]=l[te]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,te=Object.getOwnPropertySymbols(l);ge{const{align:d,prefixCls:xe,selectPrefixCls:te,className:ge,rootClassName:Ce,style:Ze,size:Be,locale:Ne,responsive:Le,showSizeChanger:gt,selectComponentClass:it,pageSizeOptions:bt}=l,yt=w(l,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:tn}=(0,je.Z)(Le),[,dt]=(0,ce.ZP)(),{getPrefixCls:rt,direction:Lt,showSizeChanger:vt,className:Mt,style:_t}=(0,De.dj)("pagination"),Et=rt("pagination",xe),[cn,mt,ht]=a(Et),zt=(0,se.Z)(Be),Zt=zt==="small"||!!(tn&&!zt&&Le),[wt]=(0,et.Z)("Pagination",j.Z),Xt=Object.assign(Object.assign({},wt),Ne),[pn,zn]=A(gt),[Hn,ir]=A(vt),tr=pn!=null?pn:Hn,nr=zn!=null?zn:ir,bn=it||fe.default,Vn=e.useMemo(()=>bt?bt.map(E=>Number(E)):void 0,[bt]),Un=E=>{var C;const{disabled:$e,size:he,onSizeChange:Se,"aria-label":He,className:Me,options:Qe}=E,{className:lt,onChange:ot}=nr||{},qe=(C=Qe.find(Nt=>String(Nt.value)===String(he)))===null||C===void 0?void 0:C.value;return e.createElement(bn,Object.assign({disabled:$e,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Nt=>Nt.parentNode,"aria-label":He,options:Qe},nr,{value:qe,onChange:(Nt,Kt)=>{Se==null||Se(Nt),ot==null||ot(Nt,Kt)},size:Zt?"small":"middle",className:O()(Me,lt)}))},Yn=e.useMemo(()=>{const E=e.createElement("span",{className:`${Et}-item-ellipsis`},"\u2022\u2022\u2022"),C=e.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},Lt==="rtl"?e.createElement(D.Z,null):e.createElement(n.Z,null)),$e=e.createElement("button",{className:`${Et}-item-link`,type:"button",tabIndex:-1},Lt==="rtl"?e.createElement(n.Z,null):e.createElement(D.Z,null)),he=e.createElement("a",{className:`${Et}-item-link`},e.createElement("div",{className:`${Et}-item-container`},Lt==="rtl"?e.createElement(N.Z,{className:`${Et}-item-link-icon`}):e.createElement(y,{className:`${Et}-item-link-icon`}),E)),Se=e.createElement("a",{className:`${Et}-item-link`},e.createElement("div",{className:`${Et}-item-container`},Lt==="rtl"?e.createElement(y,{className:`${Et}-item-link-icon`}):e.createElement(N.Z,{className:`${Et}-item-link-icon`}),E));return{prevIcon:C,nextIcon:$e,jumpPrevIcon:he,jumpNextIcon:Se}},[Lt,Et]),x=rt("select",te),$=O()({[`${Et}-${d}`]:!!d,[`${Et}-mini`]:Zt,[`${Et}-rtl`]:Lt==="rtl",[`${Et}-bordered`]:dt.wireframe},Mt,ge,Ce,mt,ht),tt=Object.assign(Object.assign({},_t),Ze);return cn(e.createElement(e.Fragment,null,dt.wireframe&&e.createElement(H,{prefixCls:Et}),e.createElement(_,Object.assign({},Yn,yt,{style:tt,prefixCls:Et,selectPrefixCls:x,className:$,locale:Xt,pageSizeOptions:Vn,showSizeChanger:tr,sizeChangerRender:Un}))))},W=P},47889:function(Tt,re,t){t.d(re,{ZP:function(){return Ge}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(18929),R=t(26112),g=t(48755),f=t(83397),y=t(31756);const N=e.createContext(null),n=N.Provider;var D=N;const S=e.createContext(null),O=S.Provider;var J=t(16632),Ae=t(8654),Y=t(12919),q=t(63872),ye=t(74632),v=t(2171),X=t(56553),i=t(36237),c=t(63356),V=t(16931),ie=t(51636);const de=U=>{const{componentCls:ve,antCls:ae}=U,ze=`${ve}-group`;return{[ze]:Object.assign(Object.assign({},(0,c.Wf)(U)),{display:"inline-block",fontSize:0,[`&${ze}-rtl`]:{direction:"rtl"},[`&${ze}-block`]:{display:"flex"},[`${ae}-badge ${ae}-badge-count`]:{zIndex:1},[`> ${ae}-badge:not(:first-child) > ${ae}-button-wrapper`]:{borderInlineStart:"none"}})}},ke=U=>{const{componentCls:ve,wrapperMarginInlineEnd:ae,colorPrimary:ze,radioSize:L,motionDurationSlow:pe,motionDurationMid:Te,motionEaseInOutCirc:ct,colorBgContainer:Ye,colorBorder:k,lineWidth:K,colorBgContainerDisabled:oe,colorTextDisabled:b,paddingXS:ue,dotColorDisabled:T,lineType:a,radioColor:u,radioBgColor:H,calc:A}=U,w=`${ve}-inner`,P=A(L).sub(A(4).mul(2)),W=A(1).mul(L).equal({unit:!0});return{[`${ve}-wrapper`]:Object.assign(Object.assign({},(0,c.Wf)(U)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ae,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${ve}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:U.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${ve}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,i.unit)(K)} ${a} ${ze}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[ve]:Object.assign(Object.assign({},(0,c.Wf)(U)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${ve}-wrapper:hover &, + &:hover ${w}`]:{borderColor:ze},[`${ve}-input:focus-visible + ${w}`]:Object.assign({},(0,c.oN)(U)),[`${ve}:hover::after, ${ve}-wrapper:hover &::after`]:{visibility:"visible"},[`${ve}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:W,height:W,marginBlockStart:A(1).mul(L).div(-2).equal({unit:!0}),marginInlineStart:A(1).mul(L).div(-2).equal({unit:!0}),backgroundColor:u,borderBlockStart:0,borderInlineStart:0,borderRadius:W,transform:"scale(0)",opacity:0,transition:`all ${pe} ${ct}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:W,height:W,backgroundColor:Ye,borderColor:k,borderStyle:"solid",borderWidth:K,borderRadius:"50%",transition:`all ${Te}`},[`${ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${ve}-checked`]:{[w]:{borderColor:ze,backgroundColor:H,"&::after":{transform:`scale(${U.calc(U.dotSize).div(L).equal()})`,opacity:1,transition:`all ${pe} ${ct}`}}},[`${ve}-disabled`]:{cursor:"not-allowed",[w]:{backgroundColor:oe,borderColor:k,cursor:"not-allowed","&::after":{backgroundColor:T}},[`${ve}-input`]:{cursor:"not-allowed"},[`${ve}-disabled + span`]:{color:b,cursor:"not-allowed"},[`&${ve}-checked`]:{[w]:{"&::after":{transform:`scale(${A(P).div(L).equal()})`}}}},[`span${ve} + *`]:{paddingInlineStart:ue,paddingInlineEnd:ue}})}},Re=U=>{const{buttonColor:ve,controlHeight:ae,componentCls:ze,lineWidth:L,lineType:pe,colorBorder:Te,motionDurationSlow:ct,motionDurationMid:Ye,buttonPaddingInline:k,fontSize:K,buttonBg:oe,fontSizeLG:b,controlHeightLG:ue,controlHeightSM:T,paddingXS:a,borderRadius:u,borderRadiusSM:H,borderRadiusLG:A,buttonCheckedBg:w,buttonSolidCheckedColor:B,colorTextDisabled:P,colorBgContainerDisabled:W,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:d,colorPrimary:xe,colorPrimaryHover:te,colorPrimaryActive:ge,buttonSolidCheckedBg:Ce,buttonSolidCheckedHoverBg:Ze,buttonSolidCheckedActiveBg:Be,calc:Ne}=U;return{[`${ze}-button-wrapper`]:{position:"relative",display:"inline-block",height:ae,margin:0,paddingInline:k,paddingBlock:0,color:ve,fontSize:K,lineHeight:(0,i.unit)(Ne(ae).sub(Ne(L).mul(2)).equal()),background:oe,border:`${(0,i.unit)(L)} ${pe} ${Te}`,borderBlockStartWidth:Ne(L).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:L,cursor:"pointer",transition:[`color ${Ye}`,`background ${Ye}`,`box-shadow ${Ye}`].join(","),a:{color:ve},[`> ${ze}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Ne(L).mul(-1).equal(),insetInlineStart:Ne(L).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:L,paddingInline:0,backgroundColor:Te,transition:`background-color ${ct}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,i.unit)(L)} ${pe} ${Te}`,borderStartStartRadius:u,borderEndStartRadius:u},"&:last-child":{borderStartEndRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u},[`${ze}-group-large &`]:{height:ue,fontSize:b,lineHeight:(0,i.unit)(Ne(ue).sub(Ne(L).mul(2)).equal()),"&:first-child":{borderStartStartRadius:A,borderEndStartRadius:A},"&:last-child":{borderStartEndRadius:A,borderEndEndRadius:A}},[`${ze}-group-small &`]:{height:T,paddingInline:Ne(a).sub(L).equal(),paddingBlock:0,lineHeight:(0,i.unit)(Ne(T).sub(Ne(L).mul(2)).equal()),"&:first-child":{borderStartStartRadius:H,borderEndStartRadius:H},"&:last-child":{borderStartEndRadius:H,borderEndEndRadius:H}},"&:hover":{position:"relative",color:xe},"&:has(:focus-visible)":Object.assign({},(0,c.oN)(U)),[`${ze}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ze}-button-wrapper-disabled)`]:{zIndex:1,color:xe,background:w,borderColor:xe,"&::before":{backgroundColor:xe},"&:first-child":{borderColor:xe},"&:hover":{color:te,borderColor:te,"&::before":{backgroundColor:te}},"&:active":{color:ge,borderColor:ge,"&::before":{backgroundColor:ge}}},[`${ze}-group-solid &-checked:not(${ze}-button-wrapper-disabled)`]:{color:B,background:Ce,borderColor:Ce,"&:hover":{color:B,background:Ze,borderColor:Ze},"&:active":{color:B,background:Be,borderColor:Be}},"&-disabled":{color:P,backgroundColor:W,borderColor:Te,cursor:"not-allowed","&:first-child, &:hover":{color:P,backgroundColor:W,borderColor:Te}},[`&-disabled${ze}-button-wrapper-checked`]:{color:d,backgroundColor:l,borderColor:Te,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},ee=U=>{const{wireframe:ve,padding:ae,marginXS:ze,lineWidth:L,fontSizeLG:pe,colorText:Te,colorBgContainer:ct,colorTextDisabled:Ye,controlItemBgActiveDisabled:k,colorTextLightSolid:K,colorPrimary:oe,colorPrimaryHover:b,colorPrimaryActive:ue,colorWhite:T}=U,a=4,u=pe,H=ve?u-a*2:u-(a+L)*2;return{radioSize:u,dotSize:H,dotColorDisabled:Ye,buttonSolidCheckedColor:K,buttonSolidCheckedBg:oe,buttonSolidCheckedHoverBg:b,buttonSolidCheckedActiveBg:ue,buttonBg:ct,buttonCheckedBg:ct,buttonColor:Te,buttonCheckedBgDisabled:k,buttonCheckedColorDisabled:Ye,buttonPaddingInline:ae-L,wrapperMarginInlineEnd:ze,radioColor:ve?oe:T,radioBgColor:ve?ct:oe}};var be=(0,V.I$)("Radio",U=>{const{controlOutline:ve,controlOutlineWidth:ae}=U,ze=`0 0 0 ${(0,i.unit)(ae)} ${ve}`,L=ze,pe=(0,ie.mergeToken)(U,{radioFocusShadow:ze,radioButtonFocusShadow:L});return[de(pe),ke(pe),Re(pe)]},ee,{unitless:{radioSize:!0,dotSize:!0}}),Q=function(U,ve){var ae={};for(var ze in U)Object.prototype.hasOwnProperty.call(U,ze)&&ve.indexOf(ze)<0&&(ae[ze]=U[ze]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,ze=Object.getOwnPropertySymbols(U);L{var ae,ze;const L=e.useContext(D),pe=e.useContext(S),{getPrefixCls:Te,direction:ct,radio:Ye}=e.useContext(g.E_),k=e.useRef(null),K=(0,Ae.sQ)(ve,k),{isFormItemInput:oe}=e.useContext(X.aM),b=Le=>{var gt,it;(gt=U.onChange)===null||gt===void 0||gt.call(U,Le),(it=L==null?void 0:L.onChange)===null||it===void 0||it.call(L,Le)},{prefixCls:ue,className:T,rootClassName:a,children:u,style:H,title:A}=U,w=Q(U,["prefixCls","className","rootClassName","children","style","title"]),B=Te("radio",ue),P=((L==null?void 0:L.optionType)||pe)==="button",W=P?`${B}-button`:B,l=(0,f.Z)(B),[d,xe,te]=be(B,l),ge=Object.assign({},w),Ce=e.useContext(v.Z);L&&(ge.name=L.name,ge.onChange=b,ge.checked=U.value===L.value,ge.disabled=(ae=ge.disabled)!==null&&ae!==void 0?ae:L.disabled),ge.disabled=(ze=ge.disabled)!==null&&ze!==void 0?ze:Ce;const Ze=m()(`${W}-wrapper`,{[`${W}-wrapper-checked`]:ge.checked,[`${W}-wrapper-disabled`]:ge.disabled,[`${W}-wrapper-rtl`]:ct==="rtl",[`${W}-wrapper-in-form-item`]:oe,[`${W}-wrapper-block`]:!!(L!=null&&L.block)},Ye==null?void 0:Ye.className,T,a,xe,te,l),[Be,Ne]=(0,ye.Z)(ge.onClick);return d(e.createElement(Y.Z,{component:"Radio",disabled:ge.disabled},e.createElement("label",{className:Ze,style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),H),onMouseEnter:U.onMouseEnter,onMouseLeave:U.onMouseLeave,title:A,onClick:Be},e.createElement(J.Z,Object.assign({},ge,{className:m()(ge.className,{[q.A]:!P}),type:"radio",prefixCls:W,ref:K,onClick:Ne})),u!==void 0?e.createElement("span",{className:`${W}-label`},u):null)))};var _=e.forwardRef(M),j=t(80402);const De=e.forwardRef((U,ve)=>{const{getPrefixCls:ae,direction:ze}=e.useContext(g.E_),L=(0,j.Z)(),{prefixCls:pe,className:Te,rootClassName:ct,options:Ye,buttonStyle:k="outline",disabled:K,children:oe,size:b,style:ue,id:T,optionType:a,name:u=L,defaultValue:H,value:A,block:w=!1,onChange:B,onMouseEnter:P,onMouseLeave:W,onFocus:l,onBlur:d}=U,[xe,te]=(0,Z.Z)(H,{value:A}),ge=e.useCallback(dt=>{const rt=xe,Lt=dt.target.value;"value"in U||te(Lt),Lt!==rt&&(B==null||B(dt))},[xe,te,B]),Ce=ae("radio",pe),Ze=`${Ce}-group`,Be=(0,f.Z)(Ce),[Ne,Le,gt]=be(Ce,Be);let it=oe;Ye&&Ye.length>0&&(it=Ye.map(dt=>typeof dt=="string"||typeof dt=="number"?e.createElement(_,{key:dt.toString(),prefixCls:Ce,disabled:K,value:dt,checked:xe===dt},dt):e.createElement(_,{key:`radio-group-value-options-${dt.value}`,prefixCls:Ce,disabled:dt.disabled||K,value:dt.value,checked:xe===dt.value,title:dt.title,style:dt.style,id:dt.id,required:dt.required},dt.label)));const bt=(0,y.Z)(b),yt=m()(Ze,`${Ze}-${k}`,{[`${Ze}-${bt}`]:bt,[`${Ze}-rtl`]:ze==="rtl",[`${Ze}-block`]:w},Te,ct,Le,gt,Be),tn=e.useMemo(()=>({onChange:ge,value:xe,disabled:K,name:u,optionType:a,block:w}),[ge,xe,K,u,a,w]);return Ne(e.createElement("div",Object.assign({},(0,R.Z)(U,{aria:!0,data:!0}),{className:yt,style:ue,onMouseEnter:P,onMouseLeave:W,onFocus:l,onBlur:d,id:T,ref:ve}),e.createElement(n,{value:tn},it)))});var se=e.memo(De),je=function(U,ve){var ae={};for(var ze in U)Object.prototype.hasOwnProperty.call(U,ze)&&ve.indexOf(ze)<0&&(ae[ze]=U[ze]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,ze=Object.getOwnPropertySymbols(U);L{const{getPrefixCls:ae}=e.useContext(g.E_),{prefixCls:ze}=U,L=je(U,["prefixCls"]),pe=ae("radio",ze);return e.createElement(O,{value:"button"},e.createElement(_,Object.assign({prefixCls:pe},L,{type:"radio",ref:ve})))};var fe=e.forwardRef(et);const ce=_;ce.Button=fe,ce.Group=se,ce.__ANT_RADIO=!0;var Ge=ce},82326:function(Tt,re,t){var e=t(59301),p=t(92310),m=t.n(p),Z=t(37463),R=t(2738),g=t(75030),f=t(86641),y=t(45915),N=t(82855),n=t(48755),D=t(38406),S=t(2171),O=t(83397),J=t(31756),Ae=t(56553),Y=t(24971),q=t(70045),ye=t(57700),v=t(1722),X=t(90376),i=t(68525),c=t(90005),V=function(ee,be){var Q={};for(var M in ee)Object.prototype.hasOwnProperty.call(ee,M)&&be.indexOf(M)<0&&(Q[M]=ee[M]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,M=Object.getOwnPropertySymbols(ee);s{var Q;const{prefixCls:M,bordered:s,className:_,rootClassName:j,getPopupContainer:De,popupClassName:se,dropdownClassName:je,listHeight:et=256,placement:fe,listItemHeight:ce,size:Ge,disabled:U,notFoundContent:ve,status:ae,builtinPlacements:ze,dropdownMatchSelectWidth:L,popupMatchSelectWidth:pe,direction:Te,style:ct,allowClear:Ye,variant:k,dropdownStyle:K,transitionName:oe,tagRender:b,maxCount:ue,prefix:T}=ee,a=V(ee,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:u,getPrefixCls:H,renderEmpty:A,direction:w,virtual:B,popupMatchSelectWidth:P,popupOverflow:W}=e.useContext(n.E_),l=(0,n.dj)("select"),[,d]=(0,ye.ZP)(),xe=ce!=null?ce:d==null?void 0:d.controlHeight,te=H("select",M),ge=H(),Ce=Te!=null?Te:w,{compactSize:Ze,compactItemClassnames:Be}=(0,q.ri)(te,Ce),[Ne,Le]=(0,Y.Z)("select",k,s),gt=(0,O.Z)(te),[it,bt,yt]=(0,X.Z)(te,gt),tn=e.useMemo(()=>{const{mode:Un}=ee;if(Un!=="combobox")return Un===ie?"combobox":Un},[ee.mode]),dt=tn==="multiple"||tn==="tags",rt=(0,c.Z)(ee.suffixIcon,ee.showArrow),Lt=(Q=pe!=null?pe:L)!==null&&Q!==void 0?Q:P,{status:vt,hasFeedback:Mt,isFormItemInput:_t,feedbackIcon:Et}=e.useContext(Ae.aM),cn=(0,N.F)(vt,ae);let mt;ve!==void 0?mt=ve:tn==="combobox"?mt=null:mt=(A==null?void 0:A("Select"))||e.createElement(D.Z,{componentName:"Select"});const{suffixIcon:ht,itemIcon:zt,removeIcon:Zt,clearIcon:wt}=(0,i.Z)(Object.assign(Object.assign({},a),{multiple:dt,hasFeedback:Mt,feedbackIcon:Et,showSuffixIcon:rt,prefixCls:te,componentName:"Select"})),Xt=Ye===!0?{clearIcon:wt}:Ye,pn=(0,R.Z)(a,["suffixIcon","itemIcon"]),zn=m()(se||je,{[`${te}-dropdown-${Ce}`]:Ce==="rtl"},j,yt,gt,bt),Hn=(0,J.Z)(Un=>{var Yn;return(Yn=Ge!=null?Ge:Ze)!==null&&Yn!==void 0?Yn:Un}),ir=e.useContext(S.Z),tr=U!=null?U:ir,nr=m()({[`${te}-lg`]:Hn==="large",[`${te}-sm`]:Hn==="small",[`${te}-rtl`]:Ce==="rtl",[`${te}-${Ne}`]:Le,[`${te}-in-form-item`]:_t},(0,N.Z)(te,cn,Mt),Be,l.className,_,j,yt,gt,bt),bn=e.useMemo(()=>fe!==void 0?fe:Ce==="rtl"?"bottomRight":"bottomLeft",[fe,Ce]),[Vn]=(0,g.Cn)("SelectLike",K==null?void 0:K.zIndex);return it(e.createElement(Z.ZP,Object.assign({ref:be,virtual:B,showSearch:l.showSearch},pn,{style:Object.assign(Object.assign({},l.style),ct),dropdownMatchSelectWidth:Lt,transitionName:(0,f.m)(ge,"slide-up",oe),builtinPlacements:(0,v.Z)(ze,W),listHeight:et,listItemHeight:xe,mode:tn,prefixCls:te,placement:bn,direction:Ce,prefix:T,suffixIcon:ht,menuItemSelectedIcon:zt,removeIcon:Zt,allowClear:Xt,notFoundContent:mt,className:nr,getPopupContainer:De||u,dropdownClassName:zn,disabled:tr,dropdownStyle:Object.assign(Object.assign({},K),{zIndex:Vn}),maxCount:dt?ue:void 0,tagRender:dt?b:void 0})))},ke=e.forwardRef(de),Re=(0,y.Z)(ke,"dropdownAlign");ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=ie,ke.Option=Z.Wx,ke.OptGroup=Z.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=Re,re.default=ke},1722:function(Tt,re){const t=p=>{const Z={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:p==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Z),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Z),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Z),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Z),{points:["br","tr"],offset:[0,-4]})}};function e(p,m){return p||t(m)}re.Z=e},90376:function(Tt,re,t){t.d(re,{Z:function(){return M}});var e=t(63356),p=t(56119),m=t(16931),Z=t(51636),R=t(46e3),g=t(93873);const f=s=>{const{optionHeight:_,optionFontSize:j,optionLineHeight:De,optionPadding:se}=s;return{position:"relative",display:"block",minHeight:_,padding:se,color:s.colorText,fontWeight:"normal",fontSize:j,lineHeight:De,boxSizing:"border-box"}};var N=s=>{const{antCls:_,componentCls:j}=s,De=`${j}-item`,se=`&${_}-slide-up-enter${_}-slide-up-enter-active`,je=`&${_}-slide-up-appear${_}-slide-up-appear-active`,et=`&${_}-slide-up-leave${_}-slide-up-leave-active`,fe=`${j}-dropdown-placement-`,ce=`${De}-option-selected`;return[{[`${j}-dropdown`]:Object.assign(Object.assign({},(0,e.Wf)(s)),{position:"absolute",top:-9999,zIndex:s.zIndexPopup,boxSizing:"border-box",padding:s.paddingXXS,overflow:"hidden",fontSize:s.fontSize,fontVariant:"initial",backgroundColor:s.colorBgElevated,borderRadius:s.borderRadiusLG,outline:"none",boxShadow:s.boxShadowSecondary,[` ${se}${fe}bottomLeft, ${je}${fe}bottomLeft `]:{animationName:R.fJ},[` @@ -82,18 +82,18 @@ `]:{paddingInlineEnd:s.showArrowPaddingInlineEnd},[`&${j}-open ${j}-selection-item`]:{color:s.colorTextPlaceholder},[`&:not(${j}-customize-input)`]:{[`${j}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,D.unit)(De)}`,[`${j}-selection-search-input`]:{height:je,fontSize:s.fontSize},"&:after":{lineHeight:(0,D.unit)(je)}}},[`&${j}-customize-input`]:{[`${j}-selector`]:{"&:after":{display:"none"},[`${j}-selection-search`]:{position:"static",width:"100%"},[`${j}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,D.unit)(De)}`,"&:after":{display:"none"}}}}}}}function O(s){const{componentCls:_}=s,j=s.calc(s.controlPaddingHorizontalSM).sub(s.lineWidth).equal();return[S(s),S((0,Z.mergeToken)(s,{controlHeight:s.controlHeightSM,borderRadius:s.borderRadiusSM}),"sm"),{[`${_}-single${_}-sm`]:{[`&:not(${_}-customize-input)`]:{[`${_}-selector`]:{padding:`0 ${(0,D.unit)(j)}`},[`&${_}-show-arrow ${_}-selection-search`]:{insetInlineEnd:s.calc(j).add(s.calc(s.fontSize).mul(1.5)).equal()},[` &${_}-show-arrow ${_}-selection-item, &${_}-show-arrow ${_}-selection-placeholder - `]:{paddingInlineEnd:s.calc(s.fontSize).mul(1.5).equal()}}}},S((0,Z.mergeToken)(s,{controlHeight:s.singleItemHeightLG,fontSize:s.fontSizeLG,borderRadius:s.borderRadiusLG}),"lg")]}const J=s=>{const{fontSize:_,lineHeight:j,lineWidth:De,controlHeight:se,controlHeightSM:je,controlHeightLG:et,paddingXXS:fe,controlPaddingHorizontal:ce,zIndexPopupBase:Ge,colorText:U,fontWeightStrong:ve,controlItemBgActive:ae,controlItemBgHover:ze,colorBgContainer:L,colorFillSecondary:pe,colorBgContainerDisabled:Te,colorTextDisabled:ct,colorPrimaryHover:Xe,colorPrimary:k,controlOutline:K}=s,oe=fe*2,b=De*2,ue=Math.min(se-oe,se-b),T=Math.min(je-oe,je-b),a=Math.min(et-oe,et-b);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(fe/2),zIndexPopup:Ge+50,optionSelectedColor:U,optionSelectedFontWeight:ve,optionSelectedBg:ae,optionActiveBg:ze,optionPadding:`${(se-_*j)/2}px ${ce}px`,optionFontSize:_,optionLineHeight:j,optionHeight:se,selectorBg:L,clearBg:L,singleItemHeightLG:et,multipleItemBg:pe,multipleItemBorderColor:"transparent",multipleItemHeight:ue,multipleItemHeightSM:T,multipleItemHeightLG:a,multipleSelectorBgDisabled:Te,multipleItemColorDisabled:ct,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(s.fontSize*1.25),hoverBorderColor:Xe,activeBorderColor:k,activeOutlineColor:K,selectAffixPadding:fe}},Ae=(s,_)=>{const{componentCls:j,antCls:De,controlOutlineWidth:se}=s;return{[`&:not(${j}-customize-input) ${j}-selector`]:{border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${_.borderColor}`,background:s.selectorBg},[`&:not(${j}-disabled):not(${j}-customize-input):not(${De}-pagination-size-changer)`]:{[`&:hover ${j}-selector`]:{borderColor:_.hoverBorderHover},[`${j}-focused& ${j}-selector`]:{borderColor:_.activeBorderColor,boxShadow:`0 0 0 ${(0,D.unit)(se)} ${_.activeOutlineColor}`,outline:0},[`${j}-prefix`]:{color:_.color}}}},Y=(s,_)=>({[`&${s.componentCls}-status-${_.status}`]:Object.assign({},Ae(s,_))}),q=s=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ae(s,{borderColor:s.colorBorder,hoverBorderHover:s.hoverBorderColor,activeBorderColor:s.activeBorderColor,activeOutlineColor:s.activeOutlineColor,color:s.colorText})),Y(s,{status:"error",borderColor:s.colorError,hoverBorderHover:s.colorErrorHover,activeBorderColor:s.colorError,activeOutlineColor:s.colorErrorOutline,color:s.colorError})),Y(s,{status:"warning",borderColor:s.colorWarning,hoverBorderHover:s.colorWarningHover,activeBorderColor:s.colorWarning,activeOutlineColor:s.colorWarningOutline,color:s.colorWarning})),{[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{background:s.colorBgContainerDisabled,color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.multipleItemBg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.multipleItemBorderColor}`}})}),ye=(s,_)=>{const{componentCls:j,antCls:De}=s;return{[`&:not(${j}-customize-input) ${j}-selector`]:{background:_.bg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} transparent`,color:_.color},[`&:not(${j}-disabled):not(${j}-customize-input):not(${De}-pagination-size-changer)`]:{[`&:hover ${j}-selector`]:{background:_.hoverBg},[`${j}-focused& ${j}-selector`]:{background:s.selectorBg,borderColor:_.activeBorderColor,outline:0}}}},v=(s,_)=>({[`&${s.componentCls}-status-${_.status}`]:Object.assign({},ye(s,_))}),X=s=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},ye(s,{bg:s.colorFillTertiary,hoverBg:s.colorFillSecondary,activeBorderColor:s.activeBorderColor,color:s.colorText})),v(s,{status:"error",bg:s.colorErrorBg,hoverBg:s.colorErrorBgHover,activeBorderColor:s.colorError,color:s.colorError})),v(s,{status:"warning",bg:s.colorWarningBg,hoverBg:s.colorWarningBgHover,activeBorderColor:s.colorWarning,color:s.colorWarning})),{[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{borderColor:s.colorBorder,background:s.colorBgContainerDisabled,color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.colorBgContainer,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.colorSplit}`}})}),i=s=>({"&-borderless":{[`${s.componentCls}-selector`]:{background:"transparent",border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} transparent`},[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.multipleItemBg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.multipleItemBorderColor}`},[`&${s.componentCls}-status-error`]:{[`${s.componentCls}-prefix, ${s.componentCls}-selection-item`]:{color:s.colorError}},[`&${s.componentCls}-status-warning`]:{[`${s.componentCls}-prefix, ${s.componentCls}-selection-item`]:{color:s.colorWarning}}}}),c=(s,_)=>{const{componentCls:j,antCls:De}=s;return{[`&:not(${j}-customize-input) ${j}-selector`]:{borderWidth:`0 0 ${(0,D.unit)(s.lineWidth)} 0`,borderStyle:`none none ${s.lineType} none`,borderColor:_.borderColor,background:s.selectorBg,borderRadius:0},[`&:not(${j}-disabled):not(${j}-customize-input):not(${De}-pagination-size-changer)`]:{[`&:hover ${j}-selector`]:{borderColor:_.hoverBorderHover},[`${j}-focused& ${j}-selector`]:{borderColor:_.activeBorderColor,outline:0},[`${j}-prefix`]:{color:_.color}}}},V=(s,_)=>({[`&${s.componentCls}-status-${_.status}`]:Object.assign({},c(s,_))}),ie=s=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},c(s,{borderColor:s.colorBorder,hoverBorderHover:s.hoverBorderColor,activeBorderColor:s.activeBorderColor,activeOutlineColor:s.activeOutlineColor,color:s.colorText})),V(s,{status:"error",borderColor:s.colorError,hoverBorderHover:s.colorErrorHover,activeBorderColor:s.colorError,activeOutlineColor:s.colorErrorOutline,color:s.colorError})),V(s,{status:"warning",borderColor:s.colorWarning,hoverBorderHover:s.colorWarningHover,activeBorderColor:s.colorWarning,activeOutlineColor:s.colorWarningOutline,color:s.colorWarning})),{[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.multipleItemBg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.multipleItemBorderColor}`}})});var ke=s=>({[s.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},q(s)),X(s)),i(s)),ie(s))});const Re=s=>{const{componentCls:_}=s;return{position:"relative",transition:`all ${s.motionDurationMid} ${s.motionEaseInOut}`,input:{cursor:"pointer"},[`${_}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${_}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ee=s=>{const{componentCls:_}=s;return{[`${_}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},be=s=>{const{antCls:_,componentCls:j,inputPaddingHorizontalBase:De,iconCls:se}=s;return{[j]:Object.assign(Object.assign({},(0,e.Wf)(s)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${j}-customize-input) ${j}-selector`]:Object.assign(Object.assign({},Re(s)),ee(s)),[`${j}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},e.vS),{[`> ${_}-typography`]:{display:"inline"}}),[`${j}-selection-placeholder`]:Object.assign(Object.assign({},e.vS),{flex:1,color:s.colorTextPlaceholder,pointerEvents:"none"}),[`${j}-arrow`]:Object.assign(Object.assign({},(0,e.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:De,height:s.fontSizeIcon,marginTop:s.calc(s.fontSizeIcon).mul(-1).div(2).equal(),color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${s.motionDurationSlow} ease`,[se]:{verticalAlign:"top",transition:`transform ${s.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${j}-suffix)`]:{pointerEvents:"auto"}},[`${j}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${j}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${j}-prefix`]:{flex:"none",marginInlineEnd:s.selectAffixPadding},[`${j}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:De,zIndex:1,display:"inline-block",width:s.fontSizeIcon,height:s.fontSizeIcon,marginTop:s.calc(s.fontSizeIcon).mul(-1).div(2).equal(),color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${s.motionDurationMid} ease, opacity ${s.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:s.colorTextTertiary}},[`&:hover ${j}-clear`]:{opacity:1,background:s.colorBgBase,borderRadius:"50%"}}),[`${j}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${j}-has-feedback`]:{[`${j}-clear`]:{insetInlineEnd:s.calc(De).add(s.fontSize).add(s.paddingXS).equal()}}}}}},Q=s=>{const{componentCls:_}=s;return[{[_]:{[`&${_}-in-form-item`]:{width:"100%"}}},be(s),O(s),(0,n.ZP)(s),N(s),{[`${_}-rtl`]:{direction:"rtl"}},(0,p.c)(s,{borderElCls:`${_}-selector`,focusElCls:`${_}-focused`})]};var M=(0,m.I$)("Select",(s,_)=>{let{rootPrefixCls:j}=_;const De=(0,Z.mergeToken)(s,{rootPrefixCls:j,inputPaddingHorizontalBase:s.calc(s.paddingSM).sub(1).equal(),multipleSelectItemHeight:s.multipleItemHeight,selectHeight:s.controlHeight});return[Q(De),ke(De)]},J,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Zt,re,t){t.d(re,{_z:function(){return g},gp:function(){return Z}});var e=t(36237),p=t(63356),m=t(51636);const Z=n=>{const{multipleSelectItemHeight:D,paddingXXS:S,lineWidth:O,INTERNAL_FIXED_ITEM_MARGIN:J}=n,Ae=n.max(n.calc(S).sub(O).equal(),0),Y=n.max(n.calc(Ae).sub(J).equal(),0);return{basePadding:Ae,containerPadding:Y,itemHeight:(0,e.unit)(D),itemLineHeight:(0,e.unit)(n.calc(D).sub(n.calc(n.lineWidth).mul(2)).equal())}},R=n=>{const{multipleSelectItemHeight:D,selectHeight:S,lineWidth:O}=n;return n.calc(S).sub(D).div(2).sub(O).equal()},g=n=>{const{componentCls:D,iconCls:S,borderRadiusSM:O,motionDurationSlow:J,paddingXS:Ae,multipleItemColorDisabled:Y,multipleItemBorderColorDisabled:q,colorIcon:ye,colorIconHover:v,INTERNAL_FIXED_ITEM_MARGIN:X}=n;return{[`${D}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${D}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:X,borderRadius:O,cursor:"default",transition:`font-size ${J}, line-height ${J}, height ${J}`,marginInlineEnd:n.calc(X).mul(2).equal(),paddingInlineStart:Ae,paddingInlineEnd:n.calc(Ae).div(2).equal(),[`${D}-disabled&`]:{color:Y,borderColor:q,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:n.calc(Ae).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,p.Ro)()),{display:"inline-flex",alignItems:"center",color:ye,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${S}`]:{verticalAlign:"-0.2em"},"&:hover":{color:v}})}}}},f=(n,D)=>{const{componentCls:S,INTERNAL_FIXED_ITEM_MARGIN:O}=n,J=`${S}-selection-overflow`,Ae=n.multipleSelectItemHeight,Y=R(n),q=D?`${S}-${D}`:"",ye=Z(n);return{[`${S}-multiple${q}`]:Object.assign(Object.assign({},g(n)),{[`${S}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:ye.basePadding,paddingBlock:ye.containerPadding,borderRadius:n.borderRadius,[`${S}-disabled&`]:{background:n.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(O)} 0`,lineHeight:(0,e.unit)(Ae),visibility:"hidden",content:'"\\a0"'}},[`${S}-selection-item`]:{height:ye.itemHeight,lineHeight:(0,e.unit)(ye.itemLineHeight)},[`${S}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,e.unit)(Ae),marginBlock:O}},[`${S}-prefix`]:{marginInlineStart:n.calc(n.inputPaddingHorizontalBase).sub(ye.basePadding).equal()},[`${J}-item + ${J}-item, + `]:{paddingInlineEnd:s.calc(s.fontSize).mul(1.5).equal()}}}},S((0,Z.mergeToken)(s,{controlHeight:s.singleItemHeightLG,fontSize:s.fontSizeLG,borderRadius:s.borderRadiusLG}),"lg")]}const J=s=>{const{fontSize:_,lineHeight:j,lineWidth:De,controlHeight:se,controlHeightSM:je,controlHeightLG:et,paddingXXS:fe,controlPaddingHorizontal:ce,zIndexPopupBase:Ge,colorText:U,fontWeightStrong:ve,controlItemBgActive:ae,controlItemBgHover:ze,colorBgContainer:L,colorFillSecondary:pe,colorBgContainerDisabled:Te,colorTextDisabled:ct,colorPrimaryHover:Ye,colorPrimary:k,controlOutline:K}=s,oe=fe*2,b=De*2,ue=Math.min(se-oe,se-b),T=Math.min(je-oe,je-b),a=Math.min(et-oe,et-b);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(fe/2),zIndexPopup:Ge+50,optionSelectedColor:U,optionSelectedFontWeight:ve,optionSelectedBg:ae,optionActiveBg:ze,optionPadding:`${(se-_*j)/2}px ${ce}px`,optionFontSize:_,optionLineHeight:j,optionHeight:se,selectorBg:L,clearBg:L,singleItemHeightLG:et,multipleItemBg:pe,multipleItemBorderColor:"transparent",multipleItemHeight:ue,multipleItemHeightSM:T,multipleItemHeightLG:a,multipleSelectorBgDisabled:Te,multipleItemColorDisabled:ct,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(s.fontSize*1.25),hoverBorderColor:Ye,activeBorderColor:k,activeOutlineColor:K,selectAffixPadding:fe}},Ae=(s,_)=>{const{componentCls:j,antCls:De,controlOutlineWidth:se}=s;return{[`&:not(${j}-customize-input) ${j}-selector`]:{border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${_.borderColor}`,background:s.selectorBg},[`&:not(${j}-disabled):not(${j}-customize-input):not(${De}-pagination-size-changer)`]:{[`&:hover ${j}-selector`]:{borderColor:_.hoverBorderHover},[`${j}-focused& ${j}-selector`]:{borderColor:_.activeBorderColor,boxShadow:`0 0 0 ${(0,D.unit)(se)} ${_.activeOutlineColor}`,outline:0},[`${j}-prefix`]:{color:_.color}}}},Y=(s,_)=>({[`&${s.componentCls}-status-${_.status}`]:Object.assign({},Ae(s,_))}),q=s=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ae(s,{borderColor:s.colorBorder,hoverBorderHover:s.hoverBorderColor,activeBorderColor:s.activeBorderColor,activeOutlineColor:s.activeOutlineColor,color:s.colorText})),Y(s,{status:"error",borderColor:s.colorError,hoverBorderHover:s.colorErrorHover,activeBorderColor:s.colorError,activeOutlineColor:s.colorErrorOutline,color:s.colorError})),Y(s,{status:"warning",borderColor:s.colorWarning,hoverBorderHover:s.colorWarningHover,activeBorderColor:s.colorWarning,activeOutlineColor:s.colorWarningOutline,color:s.colorWarning})),{[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{background:s.colorBgContainerDisabled,color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.multipleItemBg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.multipleItemBorderColor}`}})}),ye=(s,_)=>{const{componentCls:j,antCls:De}=s;return{[`&:not(${j}-customize-input) ${j}-selector`]:{background:_.bg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} transparent`,color:_.color},[`&:not(${j}-disabled):not(${j}-customize-input):not(${De}-pagination-size-changer)`]:{[`&:hover ${j}-selector`]:{background:_.hoverBg},[`${j}-focused& ${j}-selector`]:{background:s.selectorBg,borderColor:_.activeBorderColor,outline:0}}}},v=(s,_)=>({[`&${s.componentCls}-status-${_.status}`]:Object.assign({},ye(s,_))}),X=s=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},ye(s,{bg:s.colorFillTertiary,hoverBg:s.colorFillSecondary,activeBorderColor:s.activeBorderColor,color:s.colorText})),v(s,{status:"error",bg:s.colorErrorBg,hoverBg:s.colorErrorBgHover,activeBorderColor:s.colorError,color:s.colorError})),v(s,{status:"warning",bg:s.colorWarningBg,hoverBg:s.colorWarningBgHover,activeBorderColor:s.colorWarning,color:s.colorWarning})),{[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{borderColor:s.colorBorder,background:s.colorBgContainerDisabled,color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.colorBgContainer,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.colorSplit}`}})}),i=s=>({"&-borderless":{[`${s.componentCls}-selector`]:{background:"transparent",border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} transparent`},[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.multipleItemBg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.multipleItemBorderColor}`},[`&${s.componentCls}-status-error`]:{[`${s.componentCls}-prefix, ${s.componentCls}-selection-item`]:{color:s.colorError}},[`&${s.componentCls}-status-warning`]:{[`${s.componentCls}-prefix, ${s.componentCls}-selection-item`]:{color:s.colorWarning}}}}),c=(s,_)=>{const{componentCls:j,antCls:De}=s;return{[`&:not(${j}-customize-input) ${j}-selector`]:{borderWidth:`0 0 ${(0,D.unit)(s.lineWidth)} 0`,borderStyle:`none none ${s.lineType} none`,borderColor:_.borderColor,background:s.selectorBg,borderRadius:0},[`&:not(${j}-disabled):not(${j}-customize-input):not(${De}-pagination-size-changer)`]:{[`&:hover ${j}-selector`]:{borderColor:_.hoverBorderHover},[`${j}-focused& ${j}-selector`]:{borderColor:_.activeBorderColor,outline:0},[`${j}-prefix`]:{color:_.color}}}},V=(s,_)=>({[`&${s.componentCls}-status-${_.status}`]:Object.assign({},c(s,_))}),ie=s=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},c(s,{borderColor:s.colorBorder,hoverBorderHover:s.hoverBorderColor,activeBorderColor:s.activeBorderColor,activeOutlineColor:s.activeOutlineColor,color:s.colorText})),V(s,{status:"error",borderColor:s.colorError,hoverBorderHover:s.colorErrorHover,activeBorderColor:s.colorError,activeOutlineColor:s.colorErrorOutline,color:s.colorError})),V(s,{status:"warning",borderColor:s.colorWarning,hoverBorderHover:s.colorWarningHover,activeBorderColor:s.colorWarning,activeOutlineColor:s.colorWarningOutline,color:s.colorWarning})),{[`&${s.componentCls}-disabled`]:{[`&:not(${s.componentCls}-customize-input) ${s.componentCls}-selector`]:{color:s.colorTextDisabled}},[`&${s.componentCls}-multiple ${s.componentCls}-selection-item`]:{background:s.multipleItemBg,border:`${(0,D.unit)(s.lineWidth)} ${s.lineType} ${s.multipleItemBorderColor}`}})});var ke=s=>({[s.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},q(s)),X(s)),i(s)),ie(s))});const Re=s=>{const{componentCls:_}=s;return{position:"relative",transition:`all ${s.motionDurationMid} ${s.motionEaseInOut}`,input:{cursor:"pointer"},[`${_}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${_}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ee=s=>{const{componentCls:_}=s;return{[`${_}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},be=s=>{const{antCls:_,componentCls:j,inputPaddingHorizontalBase:De,iconCls:se}=s;return{[j]:Object.assign(Object.assign({},(0,e.Wf)(s)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${j}-customize-input) ${j}-selector`]:Object.assign(Object.assign({},Re(s)),ee(s)),[`${j}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},e.vS),{[`> ${_}-typography`]:{display:"inline"}}),[`${j}-selection-placeholder`]:Object.assign(Object.assign({},e.vS),{flex:1,color:s.colorTextPlaceholder,pointerEvents:"none"}),[`${j}-arrow`]:Object.assign(Object.assign({},(0,e.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:De,height:s.fontSizeIcon,marginTop:s.calc(s.fontSizeIcon).mul(-1).div(2).equal(),color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${s.motionDurationSlow} ease`,[se]:{verticalAlign:"top",transition:`transform ${s.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${j}-suffix)`]:{pointerEvents:"auto"}},[`${j}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${j}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${j}-prefix`]:{flex:"none",marginInlineEnd:s.selectAffixPadding},[`${j}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:De,zIndex:1,display:"inline-block",width:s.fontSizeIcon,height:s.fontSizeIcon,marginTop:s.calc(s.fontSizeIcon).mul(-1).div(2).equal(),color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${s.motionDurationMid} ease, opacity ${s.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:s.colorTextTertiary}},[`&:hover ${j}-clear`]:{opacity:1,background:s.colorBgBase,borderRadius:"50%"}}),[`${j}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${j}-has-feedback`]:{[`${j}-clear`]:{insetInlineEnd:s.calc(De).add(s.fontSize).add(s.paddingXS).equal()}}}}}},Q=s=>{const{componentCls:_}=s;return[{[_]:{[`&${_}-in-form-item`]:{width:"100%"}}},be(s),O(s),(0,n.ZP)(s),N(s),{[`${_}-rtl`]:{direction:"rtl"}},(0,p.c)(s,{borderElCls:`${_}-selector`,focusElCls:`${_}-focused`})]};var M=(0,m.I$)("Select",(s,_)=>{let{rootPrefixCls:j}=_;const De=(0,Z.mergeToken)(s,{rootPrefixCls:j,inputPaddingHorizontalBase:s.calc(s.paddingSM).sub(1).equal(),multipleSelectItemHeight:s.multipleItemHeight,selectHeight:s.controlHeight});return[Q(De),ke(De)]},J,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Tt,re,t){t.d(re,{_z:function(){return g},gp:function(){return Z}});var e=t(36237),p=t(63356),m=t(51636);const Z=n=>{const{multipleSelectItemHeight:D,paddingXXS:S,lineWidth:O,INTERNAL_FIXED_ITEM_MARGIN:J}=n,Ae=n.max(n.calc(S).sub(O).equal(),0),Y=n.max(n.calc(Ae).sub(J).equal(),0);return{basePadding:Ae,containerPadding:Y,itemHeight:(0,e.unit)(D),itemLineHeight:(0,e.unit)(n.calc(D).sub(n.calc(n.lineWidth).mul(2)).equal())}},R=n=>{const{multipleSelectItemHeight:D,selectHeight:S,lineWidth:O}=n;return n.calc(S).sub(D).div(2).sub(O).equal()},g=n=>{const{componentCls:D,iconCls:S,borderRadiusSM:O,motionDurationSlow:J,paddingXS:Ae,multipleItemColorDisabled:Y,multipleItemBorderColorDisabled:q,colorIcon:ye,colorIconHover:v,INTERNAL_FIXED_ITEM_MARGIN:X}=n;return{[`${D}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${D}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:X,borderRadius:O,cursor:"default",transition:`font-size ${J}, line-height ${J}, height ${J}`,marginInlineEnd:n.calc(X).mul(2).equal(),paddingInlineStart:Ae,paddingInlineEnd:n.calc(Ae).div(2).equal(),[`${D}-disabled&`]:{color:Y,borderColor:q,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:n.calc(Ae).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,p.Ro)()),{display:"inline-flex",alignItems:"center",color:ye,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${S}`]:{verticalAlign:"-0.2em"},"&:hover":{color:v}})}}}},f=(n,D)=>{const{componentCls:S,INTERNAL_FIXED_ITEM_MARGIN:O}=n,J=`${S}-selection-overflow`,Ae=n.multipleSelectItemHeight,Y=R(n),q=D?`${S}-${D}`:"",ye=Z(n);return{[`${S}-multiple${q}`]:Object.assign(Object.assign({},g(n)),{[`${S}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:ye.basePadding,paddingBlock:ye.containerPadding,borderRadius:n.borderRadius,[`${S}-disabled&`]:{background:n.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,e.unit)(O)} 0`,lineHeight:(0,e.unit)(Ae),visibility:"hidden",content:'"\\a0"'}},[`${S}-selection-item`]:{height:ye.itemHeight,lineHeight:(0,e.unit)(ye.itemLineHeight)},[`${S}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,e.unit)(Ae),marginBlock:O}},[`${S}-prefix`]:{marginInlineStart:n.calc(n.inputPaddingHorizontalBase).sub(ye.basePadding).equal()},[`${J}-item + ${J}-item, ${S}-prefix + ${S}-selection-wrap `]:{[`${S}-selection-search`]:{marginInlineStart:0},[`${S}-selection-placeholder`]:{insetInlineStart:0}},[`${J}-item-suffix`]:{minHeight:ye.itemHeight,marginBlock:O},[`${S}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:n.calc(n.inputPaddingHorizontalBase).sub(Y).equal(),"\n &-input,\n &-mirror\n ":{height:Ae,fontFamily:n.fontFamily,lineHeight:(0,e.unit)(Ae),transition:`all ${n.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${S}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:n.calc(n.inputPaddingHorizontalBase).sub(ye.basePadding).equal(),insetInlineEnd:n.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${n.motionDurationSlow}`}})}};function y(n,D){const{componentCls:S}=n,O=D?`${S}-${D}`:"",J={[`${S}-multiple${O}`]:{fontSize:n.fontSize,[`${S}-selector`]:{[`${S}-show-search&`]:{cursor:"text"}},[` &${S}-show-arrow ${S}-selector, &${S}-allow-clear ${S}-selector - `]:{paddingInlineEnd:n.calc(n.fontSizeIcon).add(n.controlPaddingHorizontal).equal()}}};return[f(n,D),J]}const N=n=>{const{componentCls:D}=n,S=(0,m.mergeToken)(n,{selectHeight:n.controlHeightSM,multipleSelectItemHeight:n.multipleItemHeightSM,borderRadius:n.borderRadiusSM,borderRadiusSM:n.borderRadiusXS}),O=(0,m.mergeToken)(n,{fontSize:n.fontSizeLG,selectHeight:n.controlHeightLG,multipleSelectItemHeight:n.multipleItemHeightLG,borderRadius:n.borderRadiusLG,borderRadiusSM:n.borderRadius});return[y(n),y(S,"sm"),{[`${D}-multiple${D}-sm`]:{[`${D}-selection-placeholder`]:{insetInline:n.calc(n.controlPaddingHorizontalSM).sub(n.lineWidth).equal()},[`${D}-selection-search`]:{marginInlineStart:2}}},y(O,"lg")]};re.ZP=N},68525:function(Zt,re,t){t.d(re,{Z:function(){return y}});var e=t(59301),p=t(40001),m=t(19248),Z=t(99267),R=t(84105),g=t(58617),f=t(47472);function y(N){let{suffixIcon:n,clearIcon:D,menuItemSelectedIcon:S,removeIcon:O,loading:J,multiple:Ae,hasFeedback:Y,prefixCls:q,showSuffixIcon:ye,feedbackIcon:v,showArrow:X,componentName:i}=N;const c=D!=null?D:e.createElement(m.Z,null),V=Re=>n===null&&!Y&&!X?null:e.createElement(e.Fragment,null,ye!==!1&&Re,Y&&v);let ie=null;if(n!==void 0)ie=V(n);else if(J)ie=V(e.createElement(g.Z,{spin:!0}));else{const Re=`${q}-suffix`;ie=ee=>{let{open:be,showSearch:Q}=ee;return V(be&&Q?e.createElement(f.Z,{className:Re}):e.createElement(R.Z,{className:Re}))}}let de=null;S!==void 0?de=S:Ae?de=e.createElement(p.Z,null):de=null;let ke=null;return O!==void 0?ke=O:ke=e.createElement(Z.Z,null),{clearIcon:c,suffixIcon:ie,itemIcon:de,removeIcon:ke}}},90005:function(Zt,re,t){t.d(re,{Z:function(){return e}});function e(p,m){return m!==void 0?m:p!==null}},44104:function(Zt,re,t){t.d(re,{Z:function(){return Y}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(11592),R=t(99402),g=t(48755),f=t(70045);const y=e.createContext({latestIndex:0}),N=y.Provider;var D=q=>{let{className:ye,index:v,children:X,split:i,style:c}=q;const{latestIndex:V}=e.useContext(y);return X==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:ye,style:c},X),v{var v;const{getPrefixCls:X,direction:i,size:c,className:V,style:ie,classNames:de,styles:ke}=(0,g.dj)("space"),{size:Re=c!=null?c:"small",align:ee,className:be,rootClassName:Q,children:M,direction:s="horizontal",prefixCls:_,split:j,style:De,wrap:se=!1,classNames:je,styles:et}=q,fe=O(q,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[ce,Ge]=Array.isArray(Re)?Re:[Re,Re],U=(0,R.n)(Ge),ve=(0,R.n)(ce),ae=(0,R.T)(Ge),ze=(0,R.T)(ce),L=(0,Z.Z)(M,{keepEmpty:!0}),pe=ee===void 0&&s==="horizontal"?"center":ee,Te=X("space",_),[ct,Xe,k]=(0,S.Z)(Te),K=m()(Te,V,Xe,`${Te}-${s}`,{[`${Te}-rtl`]:i==="rtl",[`${Te}-align-${pe}`]:pe,[`${Te}-gap-row-${Ge}`]:U,[`${Te}-gap-col-${ce}`]:ve},be,Q,k),oe=m()(`${Te}-item`,(v=je==null?void 0:je.item)!==null&&v!==void 0?v:de.item);let b=0;const ue=L.map((u,H)=>{var A;u!=null&&(b=H);const w=(u==null?void 0:u.key)||`${oe}-${H}`;return e.createElement(D,{className:oe,key:w,index:H,split:j,style:(A=et==null?void 0:et.item)!==null&&A!==void 0?A:ke.item},u)}),T=e.useMemo(()=>({latestIndex:b}),[b]);if(L.length===0)return null;const a={};return se&&(a.flexWrap="wrap"),!ve&&ze&&(a.columnGap=ce),!U&&ae&&(a.rowGap=Ge),ct(e.createElement("div",Object.assign({ref:ye,className:K,style:Object.assign(Object.assign(Object.assign({},a),ie),De)},fe),e.createElement(N,{value:T},ue)))});Ae.Compact=f.ZP;var Y=Ae},93873:function(Zt,re,t){t.d(re,{Fm:function(){return S}});var e=t(36237),p=t(48746);const m=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Z=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),R=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),g=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),y=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),N=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),n=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),D={"move-up":{inKeyframes:N,outKeyframes:n},"move-down":{inKeyframes:m,outKeyframes:Z},"move-left":{inKeyframes:R,outKeyframes:g},"move-right":{inKeyframes:f,outKeyframes:y}},S=(O,J)=>{const{antCls:Ae}=O,Y=`${Ae}-${J}`,{inKeyframes:q,outKeyframes:ye}=D[J];return[(0,p.R)(Y,q,ye,O.motionDurationMid),{[` + `]:{paddingInlineEnd:n.calc(n.fontSizeIcon).add(n.controlPaddingHorizontal).equal()}}};return[f(n,D),J]}const N=n=>{const{componentCls:D}=n,S=(0,m.mergeToken)(n,{selectHeight:n.controlHeightSM,multipleSelectItemHeight:n.multipleItemHeightSM,borderRadius:n.borderRadiusSM,borderRadiusSM:n.borderRadiusXS}),O=(0,m.mergeToken)(n,{fontSize:n.fontSizeLG,selectHeight:n.controlHeightLG,multipleSelectItemHeight:n.multipleItemHeightLG,borderRadius:n.borderRadiusLG,borderRadiusSM:n.borderRadius});return[y(n),y(S,"sm"),{[`${D}-multiple${D}-sm`]:{[`${D}-selection-placeholder`]:{insetInline:n.calc(n.controlPaddingHorizontalSM).sub(n.lineWidth).equal()},[`${D}-selection-search`]:{marginInlineStart:2}}},y(O,"lg")]};re.ZP=N},68525:function(Tt,re,t){t.d(re,{Z:function(){return y}});var e=t(59301),p=t(40001),m=t(19248),Z=t(99267),R=t(84105),g=t(58617),f=t(47472);function y(N){let{suffixIcon:n,clearIcon:D,menuItemSelectedIcon:S,removeIcon:O,loading:J,multiple:Ae,hasFeedback:Y,prefixCls:q,showSuffixIcon:ye,feedbackIcon:v,showArrow:X,componentName:i}=N;const c=D!=null?D:e.createElement(m.Z,null),V=Re=>n===null&&!Y&&!X?null:e.createElement(e.Fragment,null,ye!==!1&&Re,Y&&v);let ie=null;if(n!==void 0)ie=V(n);else if(J)ie=V(e.createElement(g.Z,{spin:!0}));else{const Re=`${q}-suffix`;ie=ee=>{let{open:be,showSearch:Q}=ee;return V(be&&Q?e.createElement(f.Z,{className:Re}):e.createElement(R.Z,{className:Re}))}}let de=null;S!==void 0?de=S:Ae?de=e.createElement(p.Z,null):de=null;let ke=null;return O!==void 0?ke=O:ke=e.createElement(Z.Z,null),{clearIcon:c,suffixIcon:ie,itemIcon:de,removeIcon:ke}}},90005:function(Tt,re,t){t.d(re,{Z:function(){return e}});function e(p,m){return m!==void 0?m:p!==null}},44104:function(Tt,re,t){t.d(re,{Z:function(){return Y}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(11592),R=t(99402),g=t(48755),f=t(70045);const y=e.createContext({latestIndex:0}),N=y.Provider;var D=q=>{let{className:ye,index:v,children:X,split:i,style:c}=q;const{latestIndex:V}=e.useContext(y);return X==null?null:e.createElement(e.Fragment,null,e.createElement("div",{className:ye,style:c},X),v{var v;const{getPrefixCls:X,direction:i,size:c,className:V,style:ie,classNames:de,styles:ke}=(0,g.dj)("space"),{size:Re=c!=null?c:"small",align:ee,className:be,rootClassName:Q,children:M,direction:s="horizontal",prefixCls:_,split:j,style:De,wrap:se=!1,classNames:je,styles:et}=q,fe=O(q,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[ce,Ge]=Array.isArray(Re)?Re:[Re,Re],U=(0,R.n)(Ge),ve=(0,R.n)(ce),ae=(0,R.T)(Ge),ze=(0,R.T)(ce),L=(0,Z.Z)(M,{keepEmpty:!0}),pe=ee===void 0&&s==="horizontal"?"center":ee,Te=X("space",_),[ct,Ye,k]=(0,S.Z)(Te),K=m()(Te,V,Ye,`${Te}-${s}`,{[`${Te}-rtl`]:i==="rtl",[`${Te}-align-${pe}`]:pe,[`${Te}-gap-row-${Ge}`]:U,[`${Te}-gap-col-${ce}`]:ve},be,Q,k),oe=m()(`${Te}-item`,(v=je==null?void 0:je.item)!==null&&v!==void 0?v:de.item);let b=0;const ue=L.map((u,H)=>{var A;u!=null&&(b=H);const w=(u==null?void 0:u.key)||`${oe}-${H}`;return e.createElement(D,{className:oe,key:w,index:H,split:j,style:(A=et==null?void 0:et.item)!==null&&A!==void 0?A:ke.item},u)}),T=e.useMemo(()=>({latestIndex:b}),[b]);if(L.length===0)return null;const a={};return se&&(a.flexWrap="wrap"),!ve&&ze&&(a.columnGap=ce),!U&&ae&&(a.rowGap=Ge),ct(e.createElement("div",Object.assign({ref:ye,className:K,style:Object.assign(Object.assign(Object.assign({},a),ie),De)},fe),e.createElement(N,{value:T},ue)))});Ae.Compact=f.ZP;var Y=Ae},93873:function(Tt,re,t){t.d(re,{Fm:function(){return S}});var e=t(36237),p=t(48746);const m=new e.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Z=new e.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),R=new e.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),g=new e.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f=new e.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),y=new e.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),N=new e.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),n=new e.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),D={"move-up":{inKeyframes:N,outKeyframes:n},"move-down":{inKeyframes:m,outKeyframes:Z},"move-left":{inKeyframes:R,outKeyframes:g},"move-right":{inKeyframes:f,outKeyframes:y}},S=(O,J)=>{const{antCls:Ae}=O,Y=`${Ae}-${J}`,{inKeyframes:q,outKeyframes:ye}=D[J];return[(0,p.R)(Y,q,ye,O.motionDurationMid),{[` ${Y}-enter, ${Y}-appear - `]:{opacity:0,animationTimingFunction:O.motionEaseOutCirc},[`${Y}-leave`]:{animationTimingFunction:O.motionEaseInOutCirc}}]}},46e3:function(Zt,re,t){t.d(re,{Qt:function(){return R},Uw:function(){return Z},fJ:function(){return m},ly:function(){return g},oN:function(){return S}});var e=t(36237),p=t(48746);const m=new e.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Z=new e.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),R=new e.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),g=new e.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),f=new e.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),y=new e.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),N=new e.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),n=new e.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),D={"slide-up":{inKeyframes:m,outKeyframes:Z},"slide-down":{inKeyframes:R,outKeyframes:g},"slide-left":{inKeyframes:f,outKeyframes:y},"slide-right":{inKeyframes:N,outKeyframes:n}},S=(O,J)=>{const{antCls:Ae}=O,Y=`${Ae}-${J}`,{inKeyframes:q,outKeyframes:ye}=D[J];return[(0,p.R)(Y,q,ye,O.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:O.motionEaseOutCirc},[`${Y}-leave`]:{animationTimingFunction:O.motionEaseInOutCirc}}]}},46e3:function(Tt,re,t){t.d(re,{Qt:function(){return R},Uw:function(){return Z},fJ:function(){return m},ly:function(){return g},oN:function(){return S}});var e=t(36237),p=t(48746);const m=new e.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Z=new e.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),R=new e.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),g=new e.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),f=new e.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),y=new e.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),N=new e.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),n=new e.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),D={"slide-up":{inKeyframes:m,outKeyframes:Z},"slide-down":{inKeyframes:R,outKeyframes:g},"slide-left":{inKeyframes:f,outKeyframes:y},"slide-right":{inKeyframes:N,outKeyframes:n}},S=(O,J)=>{const{antCls:Ae}=O,Y=`${Ae}-${J}`,{inKeyframes:q,outKeyframes:ye}=D[J];return[(0,p.R)(Y,q,ye,O.motionDurationMid),{[` ${Y}-enter, ${Y}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:O.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Y}-leave`]:{animationTimingFunction:O.motionEaseInQuint}}]}},37645:function(Zt,re,t){t.d(re,{ZP:function(){return g},qN:function(){return m},wZ:function(){return Z}});var e=t(36237),p=t(36305);const m=8;function Z(f){const{contentRadius:y,limitVerticalRadius:N}=f,n=y>12?y+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:N?m:n}}function R(f,y){return f?y:{}}function g(f,y,N){const{componentCls:n,boxShadowPopoverArrow:D,arrowOffsetVertical:S,arrowOffsetHorizontal:O}=f,{arrowDistance:J=0,arrowPlacement:Ae={left:!0,right:!0,top:!0,bottom:!0}}=N||{};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,p.W)(f,y,D)),{"&:before":{background:y}})]},R(!!Ae.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:J,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":O,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:O}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(O)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:O}}}})),R(!!Ae.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:J,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":O,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:O}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(O)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:O}}}})),R(!!Ae.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:J},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:S},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:S}})),R(!!Ae.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:J},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:S},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:S}}))}}},36305:function(Zt,re,t){t.d(re,{W:function(){return m},w:function(){return p}});var e=t(36237);function p(Z){const{sizePopupArrow:R,borderRadiusXS:g,borderRadiusOuter:f}=Z,y=R/2,N=0,n=y,D=f*1/Math.sqrt(2),S=y-f*(1-1/Math.sqrt(2)),O=y-g*(1/Math.sqrt(2)),J=f*(Math.sqrt(2)-1)+g*(1/Math.sqrt(2)),Ae=2*y-O,Y=J,q=2*y-D,ye=S,v=2*y-N,X=n,i=y*Math.sqrt(2)+f*(Math.sqrt(2)-2),c=f*(Math.sqrt(2)-1),V=`polygon(${c}px 100%, 50% ${c}px, ${2*y-c}px 100%, ${c}px 100%)`,ie=`path('M ${N} ${n} A ${f} ${f} 0 0 0 ${D} ${S} L ${O} ${J} A ${g} ${g} 0 0 1 ${Ae} ${Y} L ${q} ${ye} A ${f} ${f} 0 0 0 ${v} ${X} Z')`;return{arrowShadowWidth:i,arrowPath:ie,arrowPolygon:V}}const m=(Z,R,g)=>{const{sizePopupArrow:f,arrowPolygon:y,arrowPath:N,arrowShadowWidth:n,borderRadiusXS:D,calc:S}=Z;return{pointerEvents:"none",width:f,height:f,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:f,height:S(f).div(2).equal(),background:R,clipPath:{_multi_value_:!0,value:[y,N]},content:'""'},"&::after":{content:'""',position:"absolute",width:n,height:n,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(D)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:g,zIndex:0,background:"transparent"}}}},70858:function(Zt,re,t){t.d(re,{default:function(){return tl}});var e=t(59301),p={},m="rc-table-internal-hook",Z=t(72190),R=t(6089),g=t(34280),f=t(13697),y=t(4676);function N(o){var r=e.createContext(void 0),h=function(z){var G=z.value,me=z.children,ne=e.useRef(G);ne.current=G;var Oe=e.useState(function(){return{getValue:function(){return ne.current},listeners:new Set}}),we=(0,Z.Z)(Oe,1),_e=we[0];return(0,g.Z)(function(){(0,y.unstable_batchedUpdates)(function(){_e.listeners.forEach(function(Ve){Ve(G)})})},[G]),e.createElement(r.Provider,{value:_e},me)};return{Context:r,Provider:h,defaultValue:o}}function n(o,r){var h=(0,R.Z)(typeof r=="function"?r:function(Ve){if(r===void 0)return Ve;if(!Array.isArray(r))return Ve[r];var Fe={};return r.forEach(function(We){Fe[We]=Ve[We]}),Fe}),I=e.useContext(o==null?void 0:o.Context),z=I||{},G=z.listeners,me=z.getValue,ne=e.useRef();ne.current=h(I?me():o==null?void 0:o.defaultValue);var Oe=e.useState({}),we=(0,Z.Z)(Oe,2),_e=we[1];return(0,g.Z)(function(){if(!I)return;function Ve(Fe){var We=h(Fe);(0,f.Z)(ne.current,We,!0)||_e({})}return G.add(Ve),function(){G.delete(Ve)}},[I]),ne.current}var D=t(60499),S=t(8654);function O(){var o=e.createContext(null);function r(){return e.useContext(o)}function h(z,G){var me=(0,S.Yr)(z),ne=function(we,_e){var Ve=me?{ref:_e}:{},Fe=e.useRef(0),We=e.useRef(we),Ye=r();return Ye!==null?e.createElement(z,(0,D.Z)({},we,Ve)):((!G||G(We.current,we))&&(Fe.current+=1),We.current=we,e.createElement(o.Provider,{value:Fe.current},e.createElement(z,(0,D.Z)({},we,Ve))))};return me?e.forwardRef(ne):ne}function I(z,G){var me=(0,S.Yr)(z),ne=function(we,_e){var Ve=me?{ref:_e}:{};return r(),e.createElement(z,(0,D.Z)({},we,Ve))};return me?e.memo(e.forwardRef(ne),G):e.memo(ne,G)}return{makeImmutable:h,responseImmutable:I,useImmutableMark:r}}var J=O(),Ae=J.makeImmutable,Y=J.responseImmutable,q=J.useImmutableMark,ye=O(),v=ye.makeImmutable,X=ye.responseImmutable,i=ye.useImmutableMark,c=N(),V=c;function ie(o,r){var h=React.useRef(0);h.current+=1;var I=React.useRef(o),z=[];Object.keys(o||{}).map(function(me){var ne;(o==null?void 0:o[me])!==((ne=I.current)===null||ne===void 0?void 0:ne[me])&&z.push(me)}),I.current=o;var G=React.useRef([]);return z.length&&(G.current=z),React.useDebugValue(h.current),React.useDebugValue(G.current.join(", ")),r&&console.log("".concat(r,":"),h.current,G.current),h.current}var de=null,ke=null,Re=t(43749),ee=t(85899),be=t(18642),Q=t(92310),M=t.n(Q),s=t(80547),_=t(97938),j=t(48736),De=e.createContext({renderWithProps:!1}),se=De,je="RC_TABLE_KEY";function et(o){return o==null?[]:Array.isArray(o)?o:[o]}function fe(o){var r=[],h={};return o.forEach(function(I){for(var z=I||{},G=z.key,me=z.dataIndex,ne=G||et(me).join("-")||je;h[ne];)ne="".concat(ne,"_next");h[ne]=!0,r.push(ne)}),r}function ce(o){return o!=null}function Ge(o){return typeof o=="number"&&!Number.isNaN(o)}function U(o){return o&&(0,Re.Z)(o)==="object"&&!Array.isArray(o)&&!e.isValidElement(o)}function ve(o,r,h,I,z,G){var me=e.useContext(se),ne=i(),Oe=(0,s.Z)(function(){if(ce(I))return[I];var we=r==null||r===""?[]:Array.isArray(r)?r:[r],_e=(0,_.Z)(o,we),Ve=_e,Fe=void 0;if(z){var We=z(_e,o,h);U(We)?(Ve=We.children,Fe=We.props,me.renderWithProps=!0):Ve=We}return[Ve,Fe]},[ne,o,I,r,z,h],function(we,_e){if(G){var Ve=(0,Z.Z)(we,2),Fe=Ve[1],We=(0,Z.Z)(_e,2),Ye=We[1];return G(Ye,Fe)}return me.renderWithProps?!0:!(0,f.Z)(we,_e,!0)});return Oe}function ae(o,r,h,I){var z=o+r-1;return o<=I&&z>=h}function ze(o,r){return n(V,function(h){var I=ae(o,r||1,h.hoverStartRow,h.hoverEndRow);return[I,h.onHover]})}var L=t(70425),pe=function(r){var h=r.ellipsis,I=r.rowType,z=r.children,G,me=h===!0?{showTitle:!0}:h;return me&&(me.showTitle||I==="header")&&(typeof z=="string"||typeof z=="number"?G=z.toString():e.isValidElement(z)&&typeof z.props.children=="string"&&(G=z.props.children)),G};function Te(o){var r,h,I,z,G,me,ne,Oe,we=o.component,_e=o.children,Ve=o.ellipsis,Fe=o.scope,We=o.prefixCls,Ye=o.className,Bt=o.align,st=o.record,At=o.render,Ht=o.dataIndex,Rt=o.renderIndex,Vt=o.shouldCellUpdate,Jt=o.index,sn=o.rowType,on=o.colSpan,qn=o.rowSpan,Rn=o.fixLeft,Mn=o.fixRight,Bn=o.firstFixLeft,an=o.lastFixLeft,ln=o.firstFixRight,Qt=o.lastFixRight,Wt=o.appendNode,rn=o.additionalProps,dn=rn===void 0?{}:rn,wn=o.isSticky,kt="".concat(We,"-cell"),cr=n(V,["supportSticky","allColumnsFixedLeft","rowHoverable"]),mr=cr.supportSticky,fo=cr.allColumnsFixedLeft,ro=cr.rowHoverable,Jr=ve(st,Ht,Rt,_e,At,Vt),lo=(0,Z.Z)(Jr,2),Bo=lo[0],gr=lo[1],yr={},po=typeof Rn=="number"&&mr,Oo=typeof Mn=="number"&&mr;po&&(yr.position="sticky",yr.left=Rn),Oo&&(yr.position="sticky",yr.right=Mn);var yn=(r=(h=(I=gr==null?void 0:gr.colSpan)!==null&&I!==void 0?I:dn.colSpan)!==null&&h!==void 0?h:on)!==null&&r!==void 0?r:1,Gn=(z=(G=(me=gr==null?void 0:gr.rowSpan)!==null&&me!==void 0?me:dn.rowSpan)!==null&&G!==void 0?G:qn)!==null&&z!==void 0?z:1,hn=ze(Jt,Gn),$n=(0,Z.Z)(hn,2),Pr=$n[0],Tr=$n[1],oo=(0,L.zX)(function(ao){var Kr;st&&Tr(Jt,Jt+Gn-1),dn==null||(Kr=dn.onMouseEnter)===null||Kr===void 0||Kr.call(dn,ao)}),Qr=(0,L.zX)(function(ao){var Kr;st&&Tr(-1,-1),dn==null||(Kr=dn.onMouseLeave)===null||Kr===void 0||Kr.call(dn,ao)});if(yn===0||Gn===0)return null;var Ao=(ne=dn.title)!==null&&ne!==void 0?ne:pe({rowType:sn,ellipsis:Ve,children:Bo}),Lo=M()(kt,Ye,(Oe={},(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)(Oe,"".concat(kt,"-fix-left"),po&&mr),"".concat(kt,"-fix-left-first"),Bn&&mr),"".concat(kt,"-fix-left-last"),an&&mr),"".concat(kt,"-fix-left-all"),an&&fo&&mr),"".concat(kt,"-fix-right"),Oo&&mr),"".concat(kt,"-fix-right-first"),ln&&mr),"".concat(kt,"-fix-right-last"),Qt&&mr),"".concat(kt,"-ellipsis"),Ve),"".concat(kt,"-with-append"),Wt),"".concat(kt,"-fix-sticky"),(po||Oo)&&wn&&mr),(0,be.Z)(Oe,"".concat(kt,"-row-hover"),!gr&&Pr)),dn.className,gr==null?void 0:gr.className),Cn={};Bt&&(Cn.textAlign=Bt);var Zn=(0,ee.Z)((0,ee.Z)((0,ee.Z)((0,ee.Z)({},gr==null?void 0:gr.style),yr),Cn),dn.style),Zr=Bo;return(0,Re.Z)(Zr)==="object"&&!Array.isArray(Zr)&&!e.isValidElement(Zr)&&(Zr=null),Ve&&(an||ln)&&(Zr=e.createElement("span",{className:"".concat(kt,"-content")},Zr)),e.createElement(we,(0,D.Z)({},gr,dn,{className:Lo,style:Zn,title:Ao,scope:Fe,onMouseEnter:ro?oo:void 0,onMouseLeave:ro?Qr:void 0,colSpan:yn!==1?yn:null,rowSpan:Gn!==1?Gn:null}),Wt,Zr)}var ct=e.memo(Te);function Xe(o,r,h,I,z){var G=h[o]||{},me=h[r]||{},ne,Oe;G.fixed==="left"?ne=I.left[z==="rtl"?r:o]:me.fixed==="right"&&(Oe=I.right[z==="rtl"?o:r]);var we=!1,_e=!1,Ve=!1,Fe=!1,We=h[r+1],Ye=h[o-1],Bt=We&&!We.fixed||Ye&&!Ye.fixed||h.every(function(Vt){return Vt.fixed==="left"});if(z==="rtl"){if(ne!==void 0){var st=Ye&&Ye.fixed==="left";Fe=!st&&Bt}else if(Oe!==void 0){var At=We&&We.fixed==="right";Ve=!At&&Bt}}else if(ne!==void 0){var Ht=We&&We.fixed==="left";we=!Ht&&Bt}else if(Oe!==void 0){var Rt=Ye&&Ye.fixed==="right";_e=!Rt&&Bt}return{fixLeft:ne,fixRight:Oe,lastFixLeft:we,firstFixRight:_e,lastFixRight:Ve,firstFixLeft:Fe,isSticky:I.isSticky}}var k=e.createContext({}),K=k;function oe(o){var r=o.className,h=o.index,I=o.children,z=o.colSpan,G=z===void 0?1:z,me=o.rowSpan,ne=o.align,Oe=n(V,["prefixCls","direction"]),we=Oe.prefixCls,_e=Oe.direction,Ve=e.useContext(K),Fe=Ve.scrollColumnIndex,We=Ve.stickyOffsets,Ye=Ve.flattenColumns,Bt=h+G-1,st=Bt+1===Fe?G+1:G,At=Xe(h,h+st-1,Ye,We,_e);return e.createElement(ct,(0,D.Z)({className:r,index:h,component:"td",prefixCls:we,record:null,dataIndex:null,align:ne,colSpan:st,rowSpan:me,render:function(){return I}},At))}var b=t(42244),ue=["children"];function T(o){var r=o.children,h=(0,b.Z)(o,ue);return e.createElement("tr",h,r)}function a(o){var r=o.children;return r}a.Row=T,a.Cell=oe;var u=a;function H(o){var r=o.children,h=o.stickyOffsets,I=o.flattenColumns,z=n(V,"prefixCls"),G=I.length-1,me=I[G],ne=e.useMemo(function(){return{stickyOffsets:h,flattenColumns:I,scrollColumnIndex:me!=null&&me.scrollbar?G:null}},[me,I,G,h]);return e.createElement(K.Provider,{value:ne},e.createElement("tfoot",{className:"".concat(z,"-summary")},r))}var A=X(H),w=u,B=t(29301),P=t(24514),W=t(75152),l=t(26112);function d(o,r,h,I,z,G,me){o.push({record:r,indent:h,index:me});var ne=G(r),Oe=z==null?void 0:z.has(ne);if(r&&Array.isArray(r[I])&&Oe)for(var we=0;we1?Bn-1:0),ln=1;ln=1)),style:(0,ee.Z)((0,ee.Z)({},h),At==null?void 0:At.style)}),Ye.map(function(Rn,Mn){var Bn=Rn.render,an=Rn.dataIndex,ln=Rn.className,Qt=Le(Fe,Rn,Mn,Oe,z),Wt=Qt.key,rn=Qt.fixedInfo,dn=Qt.appendCellNode,wn=Qt.additionalCellProps;return e.createElement(ct,(0,D.Z)({className:ln,ellipsis:Rn.ellipsis,align:Rn.align,scope:Rn.rowScope,component:Rn.rowScope?Ve:_e,prefixCls:We,key:Wt,record:I,index:z,renderIndex:G,dataIndex:an,render:Bn,shouldCellUpdate:Rn.shouldCellUpdate},rn,{appendNode:dn,additionalProps:wn}))})),on;if(Rt&&(Vt.current||Ht)){var qn=st(I,z,Oe+1,Ht);on=e.createElement(Ce,{expanded:Ht,className:M()("".concat(We,"-expanded-row"),"".concat(We,"-expanded-row-level-").concat(Oe+1),Jt),prefixCls:We,component:we,cellComponent:_e,colSpan:Ye.length,isEmpty:!1},qn)}return e.createElement(e.Fragment,null,sn,on)}var it=X(gt);function bt(o){var r=o.columnKey,h=o.onColumnResize,I=e.useRef();return(0,g.Z)(function(){I.current&&h(r,I.current.offsetWidth)},[]),e.createElement(B.Z,{data:r},e.createElement("td",{ref:I,style:{padding:0,border:0,height:0}},e.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var yt=t(29194);function tn(o){var r=o.prefixCls,h=o.columnsKey,I=o.onColumnResize,z=e.useRef(null);return e.createElement("tr",{"aria-hidden":"true",className:"".concat(r,"-measure-row"),style:{height:0,fontSize:0},ref:z},e.createElement(B.Z.Collection,{onBatchResize:function(me){(0,yt.Z)(z.current)&&me.forEach(function(ne){var Oe=ne.data,we=ne.size;I(Oe,we.offsetWidth)})}},h.map(function(G){return e.createElement(bt,{key:G,columnKey:G,onColumnResize:I})})))}function dt(o){var r=o.data,h=o.measureColumnWidth,I=n(V,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),z=I.prefixCls,G=I.getComponent,me=I.onColumnResize,ne=I.flattenColumns,Oe=I.getRowKey,we=I.expandedKeys,_e=I.childrenColumnName,Ve=I.emptyNode,Fe=xe(r,_e,we,Oe),We=e.useRef({renderWithProps:!1}),Ye=G(["body","wrapper"],"tbody"),Bt=G(["body","row"],"tr"),st=G(["body","cell"],"td"),At=G(["body","cell"],"th"),Ht;r.length?Ht=Fe.map(function(Vt,Jt){var sn=Vt.record,on=Vt.indent,qn=Vt.index,Rn=Oe(sn,Jt);return e.createElement(it,{key:Rn,rowKey:Rn,record:sn,index:Jt,renderIndex:qn,rowComponent:Bt,cellComponent:st,scopeCellComponent:At,indent:on})}):Ht=e.createElement(Ce,{expanded:!0,className:"".concat(z,"-placeholder"),prefixCls:z,component:Bt,cellComponent:st,colSpan:ne.length,isEmpty:!0},Ve);var Rt=fe(ne);return e.createElement(se.Provider,{value:We.current},e.createElement(Ye,{className:"".concat(z,"-tbody")},h&&e.createElement(tn,{prefixCls:z,columnsKey:Rt,onColumnResize:me}),Ht))}var rt=X(dt),Lt=["expandable"],vt="RC_TABLE_INTERNAL_COL_DEFINE";function Mt(o){var r=o.expandable,h=(0,b.Z)(o,Lt),I;return"expandable"in o?I=(0,ee.Z)((0,ee.Z)({},h),r):I=h,I.showExpandColumn===!1&&(I.expandIconColumnIndex=-1),I}var _t=["columnType"];function Et(o){for(var r=o.colWidths,h=o.columns,I=o.columCount,z=n(V,["tableLayout"]),G=z.tableLayout,me=[],ne=I||h.length,Oe=!1,we=ne-1;we>=0;we-=1){var _e=r[we],Ve=h&&h[we],Fe=void 0,We=void 0;if(Ve&&(Fe=Ve[vt],G==="auto"&&(We=Ve.minWidth)),_e||We||Fe||Oe){var Ye=Fe||{},Bt=Ye.columnType,st=(0,b.Z)(Ye,_t);me.unshift(e.createElement("col",(0,D.Z)({key:we,style:{width:_e,minWidth:We}},st))),Oe=!0}}return e.createElement("colgroup",null,me)}var cn=Et,mt=t(77654),ht=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function zt(o,r){return(0,e.useMemo)(function(){for(var h=[],I=0;I1?"colgroup":"col":null,ellipsis:st.ellipsis,align:st.align,component:me,prefixCls:_e,key:We[Bt]},At,{additionalProps:Ht,rowType:"header"}))}))},pn=Xt;function zn(o){var r=[];function h(me,ne){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;r[Oe]=r[Oe]||[];var we=ne,_e=me.filter(Boolean).map(function(Ve){var Fe={key:Ve.key,className:Ve.className||"",children:Ve.title,column:Ve,colStart:we},We=1,Ye=Ve.children;return Ye&&Ye.length>0&&(We=h(Ye,we,Oe+1).reduce(function(Bt,st){return Bt+st},0),Fe.hasSubColumns=!0),"colSpan"in Ve&&(We=Ve.colSpan),"rowSpan"in Ve&&(Fe.rowSpan=Ve.rowSpan),Fe.colSpan=We,Fe.colEnd=Fe.colStart+We-1,r[Oe].push(Fe),we+=We,We});return _e}h(o,0);for(var I=r.length,z=function(ne){r[ne].forEach(function(Oe){!("rowSpan"in Oe)&&!Oe.hasSubColumns&&(Oe.rowSpan=I-ne)})},G=0;G1&&arguments[1]!==void 0?arguments[1]:"";return typeof r=="number"?r:r.endsWith("%")?o*parseFloat(r)/100:null}function bn(o,r,h){return e.useMemo(function(){if(r&&r>0){var I=0,z=0;o.forEach(function(Fe){var We=nr(r,Fe.width);We?I+=We:z+=1});var G=Math.max(r,h),me=Math.max(G-I,z),ne=z,Oe=me/z,we=0,_e=o.map(function(Fe){var We=(0,ee.Z)({},Fe),Ye=nr(r,We.width);if(Ye)We.width=Ye;else{var Bt=Math.floor(Oe);We.width=ne===1?me:Bt,me-=Bt,ne-=1}return we+=We.width,We});if(we0?(0,ee.Z)((0,ee.Z)({},r),{},{children:x(h)}):r})}function $(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return o.filter(function(h){return h&&(0,Re.Z)(h)==="object"}).reduce(function(h,I,z){var G=I.fixed,me=G===!0?"left":G,ne="".concat(r,"-").concat(z),Oe=I.children;return Oe&&Oe.length>0?[].concat((0,mt.Z)(h),(0,mt.Z)($(Oe,ne).map(function(we){return(0,ee.Z)({fixed:me},we)}))):[].concat((0,mt.Z)(h),[(0,ee.Z)((0,ee.Z)({key:ne},I),{},{fixed:me})])},[])}function tt(o){return o.map(function(r){var h=r.fixed,I=(0,b.Z)(r,Un),z=h;return h==="left"?z="right":h==="right"&&(z="left"),(0,ee.Z)({fixed:z},I)})}function E(o,r){var h=o.prefixCls,I=o.columns,z=o.children,G=o.expandable,me=o.expandedKeys,ne=o.columnTitle,Oe=o.getRowKey,we=o.onTriggerExpand,_e=o.expandIcon,Ve=o.rowExpandable,Fe=o.expandIconColumnIndex,We=o.direction,Ye=o.expandRowByClick,Bt=o.columnWidth,st=o.fixed,At=o.scrollWidth,Ht=o.clientWidth,Rt=e.useMemo(function(){var an=I||Yn(z)||[];return x(an.slice())},[I,z]),Vt=e.useMemo(function(){if(G){var an=Rt.slice();if(!an.includes(p)){var ln=Fe||0;ln>=0&&(ln||st==="left"||!st)&&an.splice(ln,0,p),st==="right"&&an.splice(Rt.length,0,p)}var Qt=an.indexOf(p);an=an.filter(function(wn,kt){return wn!==p||kt===Qt});var Wt=Rt[Qt],rn;st?rn=st:rn=Wt?Wt.fixed:null;var dn=(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({},vt,{className:"".concat(h,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ne),"fixed",rn),"className","".concat(h,"-row-expand-icon-cell")),"width",Bt),"render",function(kt,cr,mr){var fo=Oe(cr,mr),ro=me.has(fo),Jr=Ve?Ve(cr):!0,lo=_e({prefixCls:h,expanded:ro,expandable:Jr,record:cr,onExpand:we});return Ye?e.createElement("span",{onClick:function(gr){return gr.stopPropagation()}},lo):lo});return an.map(function(wn){return wn===p?dn:wn})}return Rt.filter(function(wn){return wn!==p})},[G,Rt,Oe,me,_e,We]),Jt=e.useMemo(function(){var an=Vt;return r&&(an=r(an)),an.length||(an=[{render:function(){return null}}]),an},[r,Vt,We]),sn=e.useMemo(function(){return We==="rtl"?tt($(Jt)):$(Jt)},[Jt,We,At]),on=e.useMemo(function(){for(var an=-1,ln=sn.length-1;ln>=0;ln-=1){var Qt=sn[ln].fixed;if(Qt==="left"||Qt===!0){an=ln;break}}if(an>=0)for(var Wt=0;Wt<=an;Wt+=1){var rn=sn[Wt].fixed;if(rn!=="left"&&rn!==!0)return!0}var dn=sn.findIndex(function(cr){var mr=cr.fixed;return mr==="right"});if(dn>=0)for(var wn=dn;wn=dn-ne?Ht(function(wn){return(0,ee.Z)((0,ee.Z)({},wn),{},{isHiddenScrollBar:!0})}):Ht(function(wn){return(0,ee.Z)((0,ee.Z)({},wn),{},{isHiddenScrollBar:!1})})}})},ln=function(Wt){Ht(function(rn){return(0,ee.Z)((0,ee.Z)({},rn),{},{scrollLeft:Wt/Ve*Fe||0})})};return e.useImperativeHandle(h,function(){return{setScrollLeft:ln,checkScrollBarVisible:an}}),e.useEffect(function(){var Qt=(0,F.Z)(document.body,"mouseup",Rn,!1),Wt=(0,F.Z)(document.body,"mousemove",Bn,!1);return an(),function(){Qt.remove(),Wt.remove()}},[We,sn]),e.useEffect(function(){if(G.current){for(var Qt=[],Wt=(0,Ee.bn)(G.current);Wt;)Qt.push(Wt),Wt=Wt.parentElement;return Qt.forEach(function(rn){return rn.addEventListener("scroll",an,!1)}),window.addEventListener("resize",an,!1),window.addEventListener("scroll",an,!1),Oe.addEventListener("scroll",an,!1),function(){Qt.forEach(function(rn){return rn.removeEventListener("scroll",an)}),window.removeEventListener("resize",an),window.removeEventListener("scroll",an),Oe.removeEventListener("scroll",an)}}},[Oe]),e.useEffect(function(){At.isHiddenScrollBar||Ht(function(Qt){var Wt=G.current;return Wt?(0,ee.Z)((0,ee.Z)({},Qt),{},{scrollLeft:Wt.scrollLeft/Wt.scrollWidth*Wt.clientWidth}):Qt})},[At.isHiddenScrollBar]),Ve<=Fe||!We||At.isHiddenScrollBar?null:e.createElement("div",{style:{height:(0,W.Z)(),width:Fe,bottom:ne},className:"".concat(_e,"-sticky-scroll")},e.createElement("div",{onMouseDown:Mn,ref:Ye,className:M()("".concat(_e,"-sticky-scroll-bar"),(0,be.Z)({},"".concat(_e,"-sticky-scroll-bar-active"),sn)),style:{width:"".concat(We,"px"),transform:"translate3d(".concat(At.scrollLeft,"px, 0, 0)")}}))},Ke=e.forwardRef(Pe);function Ue(o){return null}var at=Ue;function ft(o){return null}var $t=ft,Dt="rc-table",Ct=[],St={};function It(){return"No Data"}function Ft(o,r){var h=(0,ee.Z)({rowKey:"key",prefixCls:Dt,emptyText:It},o),I=h.prefixCls,z=h.className,G=h.rowClassName,me=h.style,ne=h.data,Oe=h.rowKey,we=h.scroll,_e=h.tableLayout,Ve=h.direction,Fe=h.title,We=h.footer,Ye=h.summary,Bt=h.caption,st=h.id,At=h.showHeader,Ht=h.components,Rt=h.emptyText,Vt=h.onRow,Jt=h.onHeaderRow,sn=h.onScroll,on=h.internalHooks,qn=h.transformColumns,Rn=h.internalRefs,Mn=h.tailor,Bn=h.getContainerWidth,an=h.sticky,ln=h.rowHoverable,Qt=ln===void 0?!0:ln,Wt=ne||Ct,rn=!!Wt.length,dn=on===m,wn=e.useCallback(function($r,Mr){return(0,_.Z)(Ht,$r)||Mr},[Ht]),kt=e.useMemo(function(){return typeof Oe=="function"?Oe:function($r){var Mr=$r&&$r[Oe];return Mr}},[Oe]),cr=wn(["body"]),mr=Me(),fo=(0,Z.Z)(mr,3),ro=fo[0],Jr=fo[1],lo=fo[2],Bo=$e(h,Wt,kt),gr=(0,Z.Z)(Bo,6),yr=gr[0],po=gr[1],Oo=gr[2],yn=gr[3],Gn=gr[4],hn=gr[5],$n=we==null?void 0:we.x,Pr=e.useState(0),Tr=(0,Z.Z)(Pr,2),oo=Tr[0],Qr=Tr[1],Ao=C((0,ee.Z)((0,ee.Z)((0,ee.Z)({},h),yr),{},{expandable:!!yr.expandedRowRender,columnTitle:yr.columnTitle,expandedKeys:Oo,getRowKey:kt,onTriggerExpand:hn,expandIcon:yn,expandIconColumnIndex:yr.expandIconColumnIndex,direction:Ve,scrollWidth:dn&&Mn&&typeof $n=="number"?$n:null,clientWidth:oo}),dn?qn:null),Lo=(0,Z.Z)(Ao,4),Cn=Lo[0],Zn=Lo[1],Zr=Lo[2],ao=Lo[3],Kr=Zr!=null?Zr:$n,Ho=e.useMemo(function(){return{columns:Cn,flattenColumns:Zn}},[Cn,Zn]),bo=e.useRef(),ma=e.useRef(),io=e.useRef(),Ar=e.useRef();e.useImperativeHandle(r,function(){return{nativeElement:bo.current,scrollTo:function(Mr){var Vo;if(io.current instanceof HTMLElement){var da=Mr.index,Uo=Mr.top,La=Mr.key;if(Ge(Uo)){var Ma;(Ma=io.current)===null||Ma===void 0||Ma.scrollTo({top:Uo})}else{var Na,Ga=La!=null?La:kt(Wt[da]);(Na=io.current.querySelector('[data-row-key="'.concat(Ga,'"]')))===null||Na===void 0||Na.scrollIntoView()}}else(Vo=io.current)!==null&&Vo!==void 0&&Vo.scrollTo&&io.current.scrollTo(Mr)}}});var _r=e.useRef(),eo=e.useState(!1),Ro=(0,Z.Z)(eo,2),So=Ro[0],Dr=Ro[1],mo=e.useState(!1),Ur=(0,Z.Z)(mo,2),Wo=Ur[0],yo=Ur[1],Jo=e.useState(new Map),Ia=(0,Z.Z)(Jo,2),Va=Ia[0],so=Ia[1],Ua=fe(Zn),Qo=Ua.map(function($r){return Va.get($r)}),sa=e.useMemo(function(){return Qo},[Qo.join("_")]),oa=Nt(sa,Zn,Ve),_o=we&&ce(we.y),qo=we&&ce(Kr)||!!yr.fixed,ca=qo&&Zn.some(function($r){var Mr=$r.fixed;return Mr}),Oa=e.useRef(),ha=ot(an,I),pa=ha.isSticky,ni=ha.offsetHeader,ri=ha.offsetSummary,oi=ha.offsetScroll,Qa=ha.stickyClassName,ai=ha.container,er=e.useMemo(function(){return Ye==null?void 0:Ye(Wt)},[Ye,Wt]),Lr=(_o||pa)&&e.isValidElement(er)&&er.type===u&&er.props.fixed,Co,Po,ea;_o&&(Po={overflowY:rn?"scroll":"auto",maxHeight:we.y}),qo&&(Co={overflowX:"auto"},_o||(Po={overflowY:"hidden"}),ea={width:Kr===!0?"auto":Kr,minWidth:"100%"});var ua=e.useCallback(function($r,Mr){so(function(Vo){if(Vo.get($r)!==Mr){var da=new Map(Vo);return da.set($r,Mr),da}return Vo})},[]),ga=He(null),Fo=(0,Z.Z)(ga,2),nl=Fo[0],vi=Fo[1];function _a($r,Mr){Mr&&(typeof Mr=="function"?Mr($r):Mr.scrollLeft!==$r&&(Mr.scrollLeft=$r,Mr.scrollLeft!==$r&&setTimeout(function(){Mr.scrollLeft=$r},0)))}var Aa=(0,R.Z)(function($r){var Mr=$r.currentTarget,Vo=$r.scrollLeft,da=Ve==="rtl",Uo=typeof Vo=="number"?Vo:Mr.scrollLeft,La=Mr||St;if(!vi()||vi()===La){var Ma;nl(La),_a(Uo,ma.current),_a(Uo,io.current),_a(Uo,_r.current),_a(Uo,(Ma=Oa.current)===null||Ma===void 0?void 0:Ma.setScrollLeft)}var Na=Mr||ma.current;if(Na){var Ga=dn&&Mn&&typeof Kr=="number"?Kr:Na.scrollWidth,ui=Na.clientWidth;if(Ga===ui){Dr(!1),yo(!1);return}da?(Dr(-Uo0)):(Dr(Uo>0),yo(Uo1?st-Qt:0,rn=(0,ee.Z)((0,ee.Z)((0,ee.Z)({},qn),we),{},{flex:"0 0 ".concat(Qt,"px"),width:"".concat(Qt,"px"),marginRight:Wt,pointerEvents:"auto"}),dn=e.useMemo(function(){return Ve?an<=1:Mn===0||an===0||an>1},[an,Mn,Ve]);dn?rn.visibility="hidden":Ve&&(rn.height=Fe==null?void 0:Fe(an));var wn=dn?function(){return null}:We,kt={};return(an===0||Mn===0)&&(kt.rowSpan=1,kt.colSpan=1),e.createElement(ct,(0,D.Z)({className:M()(Bt,_e),ellipsis:h.ellipsis,align:h.align,scope:h.rowScope,component:me,prefixCls:r.prefixCls,key:Vt,record:Oe,index:G,renderIndex:ne,dataIndex:Ye,render:wn,shouldCellUpdate:h.shouldCellUpdate},Jt,{appendNode:sn,additionalProps:(0,ee.Z)((0,ee.Z)({},on),{},{style:rn},kt)}))}var Sn=jt,In=["data","index","className","rowKey","style","extra","getHeight"],Wn=e.forwardRef(function(o,r){var h=o.data,I=o.index,z=o.className,G=o.rowKey,me=o.style,ne=o.extra,Oe=o.getHeight,we=(0,b.Z)(o,In),_e=h.record,Ve=h.indent,Fe=h.index,We=n(V,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ye=We.scrollX,Bt=We.flattenColumns,st=We.prefixCls,At=We.fixColumn,Ht=We.componentWidth,Rt=n(Yt,["getComponent"]),Vt=Rt.getComponent,Jt=te(_e,G,I,Ve),sn=Vt(["body","row"],"div"),on=Vt(["body","cell"],"div"),qn=Jt.rowSupportExpand,Rn=Jt.expanded,Mn=Jt.rowProps,Bn=Jt.expandedRowRender,an=Jt.expandedRowClassName,ln;if(qn&&Rn){var Qt=Bn(_e,I,Ve+1,Rn),Wt=Ne(an,_e,I,Ve),rn={};At&&(rn={style:(0,be.Z)({},"--virtual-width","".concat(Ht,"px"))});var dn="".concat(st,"-expanded-row-cell");ln=e.createElement(sn,{className:M()("".concat(st,"-expanded-row"),"".concat(st,"-expanded-row-level-").concat(Ve+1),Wt)},e.createElement(ct,{component:on,prefixCls:st,className:M()(dn,(0,be.Z)({},"".concat(dn,"-fixed"),At)),additionalProps:rn},Qt))}var wn=(0,ee.Z)((0,ee.Z)({},me),{},{width:Ye});ne&&(wn.position="absolute",wn.pointerEvents="none");var kt=e.createElement(sn,(0,D.Z)({},Mn,we,{"data-row-key":G,ref:qn?null:r,className:M()(z,"".concat(st,"-row"),Mn==null?void 0:Mn.className,(0,be.Z)({},"".concat(st,"-row-extra"),ne)),style:(0,ee.Z)((0,ee.Z)({},wn),Mn==null?void 0:Mn.style)}),Bt.map(function(cr,mr){return e.createElement(Sn,{key:mr,component:on,rowInfo:Jt,column:cr,colIndex:mr,indent:Ve,index:I,renderIndex:Fe,record:_e,inverse:ne,getHeight:Oe})}));return qn?e.createElement("div",{ref:r},kt,ln):kt}),On=X(Wn),An=On,kn=e.forwardRef(function(o,r){var h=o.data,I=o.onScroll,z=n(V,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),G=z.flattenColumns,me=z.onColumnResize,ne=z.getRowKey,Oe=z.expandedKeys,we=z.prefixCls,_e=z.childrenColumnName,Ve=z.scrollX,Fe=z.direction,We=n(Yt),Ye=We.sticky,Bt=We.scrollY,st=We.listItemHeight,At=We.getComponent,Ht=We.onScroll,Rt=e.useRef(),Vt=xe(h,_e,Oe,ne),Jt=e.useMemo(function(){var ln=0;return G.map(function(Qt){var Wt=Qt.width,rn=Qt.key;return ln+=Wt,[rn,Wt,ln]})},[G]),sn=e.useMemo(function(){return Jt.map(function(ln){return ln[2]})},[Jt]);e.useEffect(function(){Jt.forEach(function(ln){var Qt=(0,Z.Z)(ln,2),Wt=Qt[0],rn=Qt[1];me(Wt,rn)})},[Jt]),e.useImperativeHandle(r,function(){var ln,Qt={scrollTo:function(rn){var dn;(dn=Rt.current)===null||dn===void 0||dn.scrollTo(rn)},nativeElement:(ln=Rt.current)===null||ln===void 0?void 0:ln.nativeElement};return Object.defineProperty(Qt,"scrollLeft",{get:function(){var rn;return((rn=Rt.current)===null||rn===void 0?void 0:rn.getScrollInfo().x)||0},set:function(rn){var dn;(dn=Rt.current)===null||dn===void 0||dn.scrollTo({left:rn})}}),Qt});var on=function(Qt,Wt){var rn,dn=(rn=Vt[Wt])===null||rn===void 0?void 0:rn.record,wn=Qt.onCell;if(wn){var kt,cr=wn(dn,Wt);return(kt=cr==null?void 0:cr.rowSpan)!==null&&kt!==void 0?kt:1}return 1},qn=function(Qt){var Wt=Qt.start,rn=Qt.end,dn=Qt.getSize,wn=Qt.offsetY;if(rn<0)return null;for(var kt=G.filter(function(yn){return on(yn,Wt)===0}),cr=Wt,mr=function(Gn){if(kt=kt.filter(function(hn){return on(hn,Gn)===0}),!kt.length)return cr=Gn,1},fo=Wt;fo>=0&&!mr(fo);fo-=1);for(var ro=G.filter(function(yn){return on(yn,rn)!==1}),Jr=rn,lo=function(Gn){if(ro=ro.filter(function(hn){return on(hn,Gn)!==1}),!ro.length)return Jr=Math.max(Gn-1,rn),1},Bo=rn;Bo1})&&gr.push(Gn)},po=cr;po<=Jr;po+=1)yr(po);var Oo=gr.map(function(yn){var Gn=Vt[yn],hn=ne(Gn.record,yn),$n=function(oo){var Qr=yn+oo-1,Ao=ne(Vt[Qr].record,Qr),Lo=dn(hn,Ao);return Lo.bottom-Lo.top},Pr=dn(hn);return e.createElement(An,{key:yn,data:Gn,rowKey:hn,index:yn,style:{top:-wn+Pr.top},extra:!0,getHeight:$n})});return Oo},Rn=e.useMemo(function(){return{columnsOffset:sn}},[sn]),Mn="".concat(we,"-tbody"),Bn=At(["body","wrapper"]),an={};return Ye&&(an.position="sticky",an.bottom=0,(0,Re.Z)(Ye)==="object"&&Ye.offsetScroll&&(an.bottom=Ye.offsetScroll)),e.createElement(un.Provider,{value:Rn},e.createElement(en.Z,{fullHeight:!1,ref:Rt,prefixCls:"".concat(Mn,"-virtual"),styles:{horizontalScrollBar:an},className:Mn,height:Bt,itemHeight:st||24,data:Vt,itemKey:function(Qt){return ne(Qt.record)},component:Bn,scrollWidth:Ve,direction:Fe,onVirtualScroll:function(Qt){var Wt,rn=Qt.x;I({currentTarget:(Wt=Rt.current)===null||Wt===void 0?void 0:Wt.nativeElement,scrollLeft:rn})},onScroll:Ht,extraRender:qn},function(ln,Qt,Wt){var rn=ne(ln.record,Qt);return e.createElement(An,{data:ln,rowKey:rn,index:Qt,style:Wt.style})}))}),ur=X(kn),dr=ur,Xn=function(r,h){var I=h.ref,z=h.onScroll;return e.createElement(dr,{ref:I,data:r,onScroll:z})};function xt(o,r){var h=o.data,I=o.columns,z=o.scroll,G=o.sticky,me=o.prefixCls,ne=me===void 0?Dt:me,Oe=o.className,we=o.listItemHeight,_e=o.components,Ve=o.onScroll,Fe=z||{},We=Fe.x,Ye=Fe.y;typeof We!="number"&&(We=1),typeof Ye!="number"&&(Ye=500);var Bt=(0,L.zX)(function(Ht,Rt){return(0,_.Z)(_e,Ht)||Rt}),st=(0,L.zX)(Ve),At=e.useMemo(function(){return{sticky:G,scrollY:Ye,listItemHeight:we,getComponent:Bt,onScroll:st}},[G,Ye,we,Bt,st]);return e.createElement(Yt.Provider,{value:At},e.createElement(vn,(0,D.Z)({},o,{className:M()(Oe,"".concat(ne,"-virtual")),scroll:(0,ee.Z)((0,ee.Z)({},z),{},{x:We}),components:(0,ee.Z)((0,ee.Z)({},_e),{},{body:h!=null&&h.length?Xn:void 0}),columns:I,internalHooks:m,tailor:!0,ref:r})))}var Je=e.forwardRef(xt);function nt(o){return v(Je,o)}var Ut=nt(),Gt=null,Dn=o=>null,Nn=o=>null,Jn=t(84105),Cr=t(82661),Sr=t(34643),pr=t(34061),Qn=t(18929);function xr(o){const[r,h]=(0,e.useState)(null);return[(0,e.useCallback)((G,me,ne)=>{const Oe=r!=null?r:G,we=Math.min(Oe||0,G),_e=Math.max(Oe||0,G),Ve=me.slice(we,_e+1).map(Ye=>o(Ye)),Fe=Ve.some(Ye=>!ne.has(Ye)),We=[];return Ve.forEach(Ye=>{Fe?(ne.has(Ye)||We.push(Ye),ne.add(Ye)):(ne.delete(Ye),We.push(Ye))}),h(Fe?_e:null),We},[r]),G=>{h(G)}]}var Er=t(32383),Nr=t(62673),lr=t(75727),Ir=t(47889);const rr={},Br="SELECT_ALL",Xr="SELECT_INVERT",jr="SELECT_NONE",Hr=[],Gr=(o,r)=>{let h=[];return(r||[]).forEach(I=>{h.push(I),I&&typeof I=="object"&&o in I&&(h=[].concat((0,mt.Z)(h),(0,mt.Z)(Gr(o,I[o]))))}),h};var Kn=(o,r)=>{const{preserveSelectedRowKeys:h,selectedRowKeys:I,defaultSelectedRowKeys:z,getCheckboxProps:G,onChange:me,onSelect:ne,onSelectAll:Oe,onSelectInvert:we,onSelectNone:_e,onSelectMultiple:Ve,columnWidth:Fe,type:We,selections:Ye,fixed:Bt,renderCell:st,hideSelectAll:At,checkStrictly:Ht=!0}=r||{},{prefixCls:Rt,data:Vt,pageData:Jt,getRecordByKey:sn,getRowKey:on,expandType:qn,childrenColumnName:Rn,locale:Mn,getPopupContainer:Bn}=o,an=(0,Er.ln)("Table"),[ln,Qt]=xr(yn=>yn),[Wt,rn]=(0,Qn.Z)(I||z||Hr,{value:I}),dn=e.useRef(new Map),wn=(0,e.useCallback)(yn=>{if(h){const Gn=new Map;yn.forEach(hn=>{let $n=sn(hn);!$n&&dn.current.has(hn)&&($n=dn.current.get(hn)),Gn.set(hn,$n)}),dn.current=Gn}},[sn,h]);e.useEffect(()=>{wn(Wt)},[Wt]);const kt=(0,e.useMemo)(()=>Gr(Rn,Jt),[Rn,Jt]),{keyEntities:cr}=(0,e.useMemo)(()=>{if(Ht)return{keyEntities:null};let yn=Vt;if(h){const Gn=new Set(kt.map(($n,Pr)=>on($n,Pr))),hn=Array.from(dn.current).reduce(($n,Pr)=>{let[Tr,oo]=Pr;return Gn.has(Tr)?$n:$n.concat(oo)},[]);yn=[].concat((0,mt.Z)(yn),(0,mt.Z)(hn))}return(0,pr.I8)(yn,{externalGetKey:on,childrenPropName:Rn})},[Vt,on,Ht,Rn,h,kt]),mr=(0,e.useMemo)(()=>{const yn=new Map;return kt.forEach((Gn,hn)=>{const $n=on(Gn,hn),Pr=(G?G(Gn):null)||{};yn.set($n,Pr)}),yn},[kt,on,G]),fo=(0,e.useCallback)(yn=>{const Gn=on(yn);let hn;return mr.has(Gn)?hn=mr.get(on(yn)):hn=G?G(yn):void 0,!!(hn!=null&&hn.disabled)},[mr,on]),[ro,Jr]=(0,e.useMemo)(()=>{if(Ht)return[Wt||[],[]];const{checkedKeys:yn,halfCheckedKeys:Gn}=(0,Sr.S)(Wt,!0,cr,fo);return[yn||[],Gn]},[Wt,Ht,cr,fo]),lo=(0,e.useMemo)(()=>{const yn=We==="radio"?ro.slice(0,1):ro;return new Set(yn)},[ro,We]),Bo=(0,e.useMemo)(()=>We==="radio"?new Set:new Set(Jr),[Jr,We]);e.useEffect(()=>{r||rn(Hr)},[!!r]);const gr=(0,e.useCallback)((yn,Gn)=>{let hn,$n;wn(yn),h?(hn=yn,$n=yn.map(Pr=>dn.current.get(Pr))):(hn=[],$n=[],yn.forEach(Pr=>{const Tr=sn(Pr);Tr!==void 0&&(hn.push(Pr),$n.push(Tr))})),rn(hn),me==null||me(hn,$n,{type:Gn})},[rn,sn,me,h]),yr=(0,e.useCallback)((yn,Gn,hn,$n)=>{if(ne){const Pr=hn.map(Tr=>sn(Tr));ne(sn(yn),Gn,Pr,$n)}gr(hn,"single")},[ne,sn,gr]),po=(0,e.useMemo)(()=>!Ye||At?null:(Ye===!0?[Br,Xr,jr]:Ye).map(Gn=>Gn===Br?{key:"all",text:Mn.selectionAll,onSelect(){gr(Vt.map((hn,$n)=>on(hn,$n)).filter(hn=>{const $n=mr.get(hn);return!($n!=null&&$n.disabled)||lo.has(hn)}),"all")}}:Gn===Xr?{key:"invert",text:Mn.selectInvert,onSelect(){const hn=new Set(lo);Jt.forEach((Pr,Tr)=>{const oo=on(Pr,Tr),Qr=mr.get(oo);Qr!=null&&Qr.disabled||(hn.has(oo)?hn.delete(oo):hn.add(oo))});const $n=Array.from(hn);we&&(an.deprecated(!1,"onSelectInvert","onChange"),we($n)),gr($n,"invert")}}:Gn===jr?{key:"none",text:Mn.selectNone,onSelect(){_e==null||_e(),gr(Array.from(lo).filter(hn=>{const $n=mr.get(hn);return $n==null?void 0:$n.disabled}),"none")}}:Gn).map(Gn=>Object.assign(Object.assign({},Gn),{onSelect:function(){for(var hn,$n,Pr=arguments.length,Tr=new Array(Pr),oo=0;oo{var Gn;if(!r)return yn.filter(Ar=>Ar!==rr);let hn=(0,mt.Z)(yn);const $n=new Set(lo),Pr=kt.map(on).filter(Ar=>!mr.get(Ar).disabled),Tr=Pr.every(Ar=>$n.has(Ar)),oo=Pr.some(Ar=>$n.has(Ar)),Qr=()=>{const Ar=[];Tr?Pr.forEach(eo=>{$n.delete(eo),Ar.push(eo)}):Pr.forEach(eo=>{$n.has(eo)||($n.add(eo),Ar.push(eo))});const _r=Array.from($n);Oe==null||Oe(!Tr,_r.map(eo=>sn(eo)),Ar.map(eo=>sn(eo))),gr(_r,"all"),Qt(null)};let Ao,Lo;if(We!=="radio"){let Ar;if(po){const Dr={getPopupContainer:Bn,items:po.map((mo,Ur)=>{const{key:Wo,text:yo,onSelect:Jo}=mo;return{key:Wo!=null?Wo:Ur,onClick:()=>{Jo==null||Jo(Pr)},label:yo}})};Ar=e.createElement("div",{className:`${Rt}-selection-extra`},e.createElement(lr.Z,{menu:Dr,getPopupContainer:Bn},e.createElement("span",null,e.createElement(Jn.Z,null))))}const _r=kt.map((Dr,mo)=>{const Ur=on(Dr,mo),Wo=mr.get(Ur)||{};return Object.assign({checked:$n.has(Ur)},Wo)}).filter(Dr=>{let{disabled:mo}=Dr;return mo}),eo=!!_r.length&&_r.length===kt.length,Ro=eo&&_r.every(Dr=>{let{checked:mo}=Dr;return mo}),So=eo&&_r.some(Dr=>{let{checked:mo}=Dr;return mo});Lo=e.createElement(Nr.default,{checked:eo?Ro:!!kt.length&&Tr,indeterminate:eo?!Ro&&So:!Tr&&oo,onChange:Qr,disabled:kt.length===0||eo,"aria-label":Ar?"Custom selection":"Select all",skipGroup:!0}),Ao=!At&&e.createElement("div",{className:`${Rt}-selection`},Lo,Ar)}let Cn;We==="radio"?Cn=(Ar,_r,eo)=>{const Ro=on(_r,eo),So=$n.has(Ro),Dr=mr.get(Ro);return{node:e.createElement(Ir.ZP,Object.assign({},Dr,{checked:So,onClick:mo=>{var Ur;mo.stopPropagation(),(Ur=Dr==null?void 0:Dr.onClick)===null||Ur===void 0||Ur.call(Dr,mo)},onChange:mo=>{var Ur;$n.has(Ro)||yr(Ro,!0,[Ro],mo.nativeEvent),(Ur=Dr==null?void 0:Dr.onChange)===null||Ur===void 0||Ur.call(Dr,mo)}})),checked:So}}:Cn=(Ar,_r,eo)=>{var Ro;const So=on(_r,eo),Dr=$n.has(So),mo=Bo.has(So),Ur=mr.get(So);let Wo;return qn==="nest"?Wo=mo:Wo=(Ro=Ur==null?void 0:Ur.indeterminate)!==null&&Ro!==void 0?Ro:mo,{node:e.createElement(Nr.default,Object.assign({},Ur,{indeterminate:Wo,checked:Dr,skipGroup:!0,onClick:yo=>{var Jo;yo.stopPropagation(),(Jo=Ur==null?void 0:Ur.onClick)===null||Jo===void 0||Jo.call(Ur,yo)},onChange:yo=>{var Jo;const{nativeEvent:Ia}=yo,{shiftKey:Va}=Ia,so=Pr.findIndex(Qo=>Qo===So),Ua=ro.some(Qo=>Pr.includes(Qo));if(Va&&Ht&&Ua){const Qo=ln(so,Pr,$n),sa=Array.from($n);Ve==null||Ve(!Dr,sa.map(oa=>sn(oa)),Qo.map(oa=>sn(oa))),gr(sa,"multiple")}else{const Qo=ro;if(Ht){const sa=Dr?(0,Cr._5)(Qo,So):(0,Cr.L0)(Qo,So);yr(So,!Dr,sa,Ia)}else{const sa=(0,Sr.S)([].concat((0,mt.Z)(Qo),[So]),!0,cr,fo),{checkedKeys:oa,halfCheckedKeys:_o}=sa;let qo=oa;if(Dr){const ca=new Set(oa);ca.delete(So),qo=(0,Sr.S)(Array.from(ca),{checked:!1,halfCheckedKeys:_o},cr,fo).checkedKeys}yr(So,!Dr,qo,Ia)}}Qt(Dr?null:so),(Jo=Ur==null?void 0:Ur.onChange)===null||Jo===void 0||Jo.call(Ur,yo)}})),checked:Dr}};const Zn=(Ar,_r,eo)=>{const{node:Ro,checked:So}=Cn(Ar,_r,eo);return st?st(So,_r,eo,Ro):Ro};if(!hn.includes(rr))if(hn.findIndex(Ar=>{var _r;return((_r=Ar[vt])===null||_r===void 0?void 0:_r.columnType)==="EXPAND_COLUMN"})===0){const[Ar,..._r]=hn;hn=[Ar,rr].concat((0,mt.Z)(_r))}else hn=[rr].concat((0,mt.Z)(hn));const Zr=hn.indexOf(rr);hn=hn.filter((Ar,_r)=>Ar!==rr||_r===Zr);const ao=hn[Zr-1],Kr=hn[Zr+1];let Ho=Bt;Ho===void 0&&((Kr==null?void 0:Kr.fixed)!==void 0?Ho=Kr.fixed:(ao==null?void 0:ao.fixed)!==void 0&&(Ho=ao.fixed)),Ho&&ao&&((Gn=ao[vt])===null||Gn===void 0?void 0:Gn.columnType)==="EXPAND_COLUMN"&&ao.fixed===void 0&&(ao.fixed=Ho);const bo=M()(`${Rt}-selection-col`,{[`${Rt}-selection-col-with-dropdown`]:Ye&&We==="checkbox"}),ma=()=>r!=null&&r.columnTitle?typeof r.columnTitle=="function"?r.columnTitle(Lo):r.columnTitle:Ao,io={fixed:Ho,width:Fe,className:`${Rt}-selection-column`,title:ma(),render:Zn,onCell:r.onCell,[vt]:{className:bo}};return hn.map(Ar=>Ar===rr?io:Ar)},[on,kt,r,ro,lo,Bo,Fe,po,qn,mr,Ve,yr,fo]),lo]},br=t(2738);function vr(o,r){return o._antProxy=o._antProxy||{},Object.keys(r).forEach(h=>{if(!(h in o._antProxy)){const I=o[h];o._antProxy[h]=I,o[h]=r[h]}}),o}function xo(o,r){return(0,e.useImperativeHandle)(o,()=>{const h=r(),{nativeElement:I}=h;return typeof Proxy!="undefined"?new Proxy(I,{get(z,G){return h[G]?h[G]:Reflect.get(z,G)}}):vr(I,h)})}var zo=t(83010),vo=t(48755),Eo=t(38406),Zo=t(83397),wo=t(31756),kr=t(13783),co=t(85981),to=t(31709),or=t(29787),zr=t(57700);function Wr(o){return r=>{const{prefixCls:h,onExpand:I,record:z,expanded:G,expandable:me}=r,ne=`${h}-row-expand-icon`;return e.createElement("button",{type:"button",onClick:Oe=>{I(z,Oe),Oe.stopPropagation()},className:M()(ne,{[`${ne}-spaced`]:!me,[`${ne}-expanded`]:me&&G,[`${ne}-collapsed`]:me&&!G}),"aria-label":G?o.collapse:o.expand,"aria-expanded":G})}}var gn=Wr;function Tn(o){return(h,I)=>{const z=h.querySelector(`.${o}-container`);let G=I;if(z){const me=getComputedStyle(z),ne=parseInt(me.borderLeftWidth,10),Oe=parseInt(me.borderRightWidth,10);G=I-ne-Oe}return G}}const mn=(o,r)=>"key"in o&&o.key!==void 0&&o.key!==null?o.key:o.dataIndex?Array.isArray(o.dataIndex)?o.dataIndex.join("."):o.dataIndex:r;function Pn(o,r){return r?`${r}-${o}`:`${o}`}const fr=(o,r)=>typeof o=="function"?o(r):o,Or=(o,r)=>{const h=fr(o,r);return Object.prototype.toString.call(h)==="[object Object]"?"":h};var $o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},nn=$o,En=t(7657),_n=function(r,h){return e.createElement(En.Z,(0,D.Z)({},r,{ref:h,icon:nn}))},wr=e.forwardRef(_n),Rr=wr,Do=t(9981),Io=t(40192);function ko(o){const r=e.useRef(o),h=(0,Io.Z)();return[()=>r.current,I=>{r.current=I,h()}]}var ar=t(7939),Ln=t(584),Vr=t(93041),qr=t(78857),go=t(18287),Mo=t(47472),Xo=t(49397),aa=o=>{const{value:r,filterSearch:h,tablePrefixCls:I,locale:z,onChange:G}=o;return h?e.createElement("div",{className:`${I}-filter-dropdown-search`},e.createElement(Xo.Z,{prefix:e.createElement(Mo.Z,null),placeholder:z.filterSearchPlaceholder,onChange:G,value:r,htmlSize:1,className:`${I}-filter-dropdown-search-input`})):null},No=t(10228);const ba=o=>{const{keyCode:r}=o;r===No.Z.ENTER&&o.stopPropagation()};var Sa=e.forwardRef((o,r)=>e.createElement("div",{className:o.className,onClick:h=>h.stopPropagation(),onKeyDown:ba,ref:r},o.children));function ta(o){let r=[];return(o||[]).forEach(h=>{let{value:I,children:z}=h;r.push(I),z&&(r=[].concat((0,mt.Z)(r),(0,mt.Z)(ta(z))))}),r}function za(o){return o.some(r=>{let{children:h}=r;return h})}function xa(o,r){return typeof r=="string"||typeof r=="number"?r==null?void 0:r.toString().toLowerCase().includes(o.trim().toLowerCase()):!1}function Ta(o){let{filters:r,prefixCls:h,filteredKeys:I,filterMultiple:z,searchValue:G,filterSearch:me}=o;return r.map((ne,Oe)=>{const we=String(ne.value);if(ne.children)return{key:we||Oe,label:ne.text,popupClassName:`${h}-dropdown-submenu`,children:Ta({filters:ne.children,prefixCls:h,filteredKeys:I,filterMultiple:z,searchValue:G,filterSearch:me})};const _e=z?Nr.default:Ir.ZP,Ve={key:ne.value!==void 0?we:Oe,label:e.createElement(e.Fragment,null,e.createElement(_e,{checked:I.includes(we)}),e.createElement("span",null,ne.text))};return G.trim()?typeof me=="function"?me(G,ne)?Ve:null:xa(G,ne.text)?Ve:null:Ve})}function Pa(o){return o||[]}var Ka=o=>{var r,h,I,z;const{tablePrefixCls:G,prefixCls:me,column:ne,dropdownPrefixCls:Oe,columnKey:we,filterOnClose:_e,filterMultiple:Ve,filterMode:Fe="menu",filterSearch:We=!1,filterState:Ye,triggerFilter:Bt,locale:st,children:At,getPopupContainer:Ht,rootClassName:Rt}=o,{filterResetToDefaultFilteredValue:Vt,defaultFilteredValue:Jt,filterDropdownProps:sn={},filterDropdownOpen:on,filterDropdownVisible:qn,onFilterDropdownVisibleChange:Rn,onFilterDropdownOpenChange:Mn}=ne,[Bn,an]=e.useState(!1),ln=!!(Ye&&(!((r=Ye.filteredKeys)===null||r===void 0)&&r.length||Ye.forceFiltered)),Qt=Cn=>{var Zn;an(Cn),(Zn=sn.onOpenChange)===null||Zn===void 0||Zn.call(sn,Cn),Mn==null||Mn(Cn),Rn==null||Rn(Cn)},Wt=(z=(I=(h=sn.open)!==null&&h!==void 0?h:on)!==null&&I!==void 0?I:qn)!==null&&z!==void 0?z:Bn,rn=Ye==null?void 0:Ye.filteredKeys,[dn,wn]=ko(Pa(rn)),kt=Cn=>{let{selectedKeys:Zn}=Cn;wn(Zn)},cr=(Cn,Zn)=>{let{node:Zr,checked:ao}=Zn;kt(Ve?{selectedKeys:Cn}:{selectedKeys:ao&&Zr.key?[Zr.key]:[]})};e.useEffect(()=>{Bn&&kt({selectedKeys:Pa(rn)})},[rn]);const[mr,fo]=e.useState([]),ro=Cn=>{fo(Cn)},[Jr,lo]=e.useState(""),Bo=Cn=>{const{value:Zn}=Cn.target;lo(Zn)};e.useEffect(()=>{Bn||lo("")},[Bn]);const gr=Cn=>{const Zn=Cn!=null&&Cn.length?Cn:null;if(Zn===null&&(!Ye||!Ye.filteredKeys)||(0,f.Z)(Zn,Ye==null?void 0:Ye.filteredKeys,!0))return null;Bt({column:ne,key:we,filteredKeys:Zn})},yr=()=>{Qt(!1),gr(dn())},po=function(){let{confirm:Cn,closeDropdown:Zn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Cn&&gr([]),Zn&&Qt(!1),lo(""),wn(Vt?(Jt||[]).map(Zr=>String(Zr)):[])},Oo=function(){let{closeDropdown:Cn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Cn&&Qt(!1),gr(dn())},yn=(Cn,Zn)=>{Zn.source==="trigger"&&(Cn&&rn!==void 0&&wn(Pa(rn)),Qt(Cn),!Cn&&!ne.filterDropdown&&_e&&yr())},Gn=M()({[`${Oe}-menu-without-submenu`]:!za(ne.filters||[])}),hn=Cn=>{if(Cn.target.checked){const Zn=ta(ne==null?void 0:ne.filters).map(Zr=>String(Zr));wn(Zn)}else wn([])},$n=Cn=>{let{filters:Zn}=Cn;return(Zn||[]).map((Zr,ao)=>{const Kr=String(Zr.value),Ho={title:Zr.text,key:Zr.value!==void 0?Kr:String(ao)};return Zr.children&&(Ho.children=$n({filters:Zr.children})),Ho})},Pr=Cn=>{var Zn;return Object.assign(Object.assign({},Cn),{text:Cn.title,value:Cn.key,children:((Zn=Cn.children)===null||Zn===void 0?void 0:Zn.map(Zr=>Pr(Zr)))||[]})};let Tr;const{direction:oo,renderEmpty:Qr}=e.useContext(vo.E_);if(typeof ne.filterDropdown=="function")Tr=ne.filterDropdown({prefixCls:`${Oe}-custom`,setSelectedKeys:Cn=>kt({selectedKeys:Cn}),selectedKeys:dn(),confirm:Oo,clearFilters:po,filters:ne.filters,visible:Wt,close:()=>{Qt(!1)}});else if(ne.filterDropdown)Tr=ne.filterDropdown;else{const Cn=dn()||[],Zn=()=>{var ao,Kr;const Ho=(ao=Qr==null?void 0:Qr("Table.filter"))!==null&&ao!==void 0?ao:e.createElement(Ln.Z,{image:Ln.Z.PRESENTED_IMAGE_SIMPLE,description:st.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((ne.filters||[]).length===0)return Ho;if(Fe==="tree")return e.createElement(e.Fragment,null,e.createElement(aa,{filterSearch:We,value:Jr,onChange:Bo,tablePrefixCls:G,locale:st}),e.createElement("div",{className:`${G}-filter-dropdown-tree`},Ve?e.createElement(Nr.default,{checked:Cn.length===ta(ne.filters).length,indeterminate:Cn.length>0&&Cn.lengthtypeof We=="function"?We(Jr,Pr(io)):xa(Jr,io.title):void 0})));const bo=Ta({filters:ne.filters||[],filterSearch:We,prefixCls:me,filteredKeys:dn(),filterMultiple:Ve,searchValue:Jr}),ma=bo.every(io=>io===null);return e.createElement(e.Fragment,null,e.createElement(aa,{filterSearch:We,value:Jr,onChange:Bo,tablePrefixCls:G,locale:st}),ma?Ho:e.createElement(Vr.default,{selectable:!0,multiple:Ve,prefixCls:`${Oe}-menu`,className:Gn,onSelect:kt,onDeselect:kt,selectedKeys:Cn,getPopupContainer:Ht,openKeys:mr,onOpenChange:ro,items:bo}))},Zr=()=>Vt?(0,f.Z)((Jt||[]).map(ao=>String(ao)),Cn,!0):Cn.length===0;Tr=e.createElement(e.Fragment,null,Zn(),e.createElement("div",{className:`${me}-dropdown-btns`},e.createElement(ar.ZP,{type:"link",size:"small",disabled:Zr(),onClick:()=>po()},st.filterReset),e.createElement(ar.ZP,{type:"primary",size:"small",onClick:yr},st.filterConfirm)))}ne.filterDropdown&&(Tr=e.createElement(qr.J,{selectable:void 0},Tr)),Tr=e.createElement(Sa,{className:`${me}-dropdown`},Tr);const Ao=()=>{let Cn;return typeof ne.filterIcon=="function"?Cn=ne.filterIcon(ln):ne.filterIcon?Cn=ne.filterIcon:Cn=e.createElement(Rr,null),e.createElement("span",{role:"button",tabIndex:-1,className:M()(`${me}-trigger`,{active:ln}),onClick:Zn=>{Zn.stopPropagation()}},Cn)},Lo=(0,Do.Z)({trigger:["click"],placement:oo==="rtl"?"bottomLeft":"bottomRight",children:Ao(),getPopupContainer:Ht},Object.assign(Object.assign({},sn),{rootClassName:M()(Rt,sn.rootClassName),open:Wt,onOpenChange:yn,dropdownRender:()=>typeof(sn==null?void 0:sn.dropdownRender)=="function"?sn.dropdownRender(Tr):Tr}));return e.createElement("div",{className:`${me}-column`},e.createElement("span",{className:`${G}-column-title`},At),e.createElement(lr.Z,Object.assign({},Lo)))};const ya=(o,r,h)=>{let I=[];return(o||[]).forEach((z,G)=>{var me;const ne=Pn(G,h);if(z.filters||"filterDropdown"in z||"onFilter"in z)if("filteredValue"in z){let Oe=z.filteredValue;"filterDropdown"in z||(Oe=(me=Oe==null?void 0:Oe.map(String))!==null&&me!==void 0?me:Oe),I.push({column:z,key:mn(z,ne),filteredKeys:Oe,forceFiltered:z.filtered})}else I.push({column:z,key:mn(z,ne),filteredKeys:r&&z.defaultFilteredValue?z.defaultFilteredValue:void 0,forceFiltered:z.filtered});"children"in z&&(I=[].concat((0,mt.Z)(I),(0,mt.Z)(ya(z.children,r,ne))))}),I};function ia(o,r,h,I,z,G,me,ne,Oe){return h.map((we,_e)=>{const Ve=Pn(_e,ne),{filterOnClose:Fe=!0,filterMultiple:We=!0,filterMode:Ye,filterSearch:Bt}=we;let st=we;if(st.filters||st.filterDropdown){const At=mn(st,Ve),Ht=I.find(Rt=>{let{key:Vt}=Rt;return At===Vt});st=Object.assign(Object.assign({},st),{title:Rt=>e.createElement(Ka,{tablePrefixCls:o,prefixCls:`${o}-filter`,dropdownPrefixCls:r,column:st,columnKey:At,filterState:Ht,filterOnClose:Fe,filterMultiple:We,filterMode:Ye,filterSearch:Bt,triggerFilter:G,locale:z,getPopupContainer:me,rootClassName:Oe},fr(we.title,Rt))})}return"children"in st&&(st=Object.assign(Object.assign({},st),{children:ia(o,r,st.children,I,z,G,me,Ve,Oe)})),st})}const hr=o=>{const r={};return o.forEach(h=>{let{key:I,filteredKeys:z,column:G}=h;const me=I,{filters:ne,filterDropdown:Oe}=G;if(Oe)r[me]=z||null;else if(Array.isArray(z)){const we=ta(ne);r[me]=we.filter(_e=>z.includes(String(_e)))}else r[me]=null}),r},sr=(o,r,h)=>r.reduce((z,G)=>{const{column:{onFilter:me,filters:ne},filteredKeys:Oe}=G;return me&&Oe&&Oe.length?z.map(we=>Object.assign({},we)).filter(we=>Oe.some(_e=>{const Ve=ta(ne),Fe=Ve.findIndex(Ye=>String(Ye)===String(_e)),We=Fe!==-1?Ve[Fe]:_e;return we[h]&&(we[h]=sr(we[h],r,h)),me(We,we)})):z},o),To=o=>o.flatMap(r=>"children"in r?[r].concat((0,mt.Z)(To(r.children||[]))):[r]);var uo=o=>{const{prefixCls:r,dropdownPrefixCls:h,mergedColumns:I,onFilterChange:z,getPopupContainer:G,locale:me,rootClassName:ne}=o,Oe=(0,Er.ln)("Table"),we=e.useMemo(()=>To(I||[]),[I]),[_e,Ve]=e.useState(()=>ya(we,!0)),Fe=e.useMemo(()=>{const st=ya(we,!1);if(st.length===0)return st;let At=!0,Ht=!0;if(st.forEach(Rt=>{let{filteredKeys:Vt}=Rt;Vt!==void 0?At=!1:Ht=!1}),At){const Rt=(we||[]).map((Vt,Jt)=>mn(Vt,Pn(Jt)));return _e.filter(Vt=>{let{key:Jt}=Vt;return Rt.includes(Jt)}).map(Vt=>{const Jt=we[Rt.findIndex(sn=>sn===Vt.key)];return Object.assign(Object.assign({},Vt),{column:Object.assign(Object.assign({},Vt.column),Jt),forceFiltered:Jt.filtered})})}return st},[we,_e]),We=e.useMemo(()=>hr(Fe),[Fe]),Ye=st=>{const At=Fe.filter(Ht=>{let{key:Rt}=Ht;return Rt!==st.key});At.push(st),Ve(At),z(hr(At),At)};return[st=>ia(r,h,st,Fe,me,Ye,G,void 0,ne),Fe,We]},ra=(o,r,h)=>{const I=e.useRef({});function z(G){var me;if(!I.current||I.current.data!==o||I.current.childrenColumnName!==r||I.current.getRowKey!==h){let Oe=function(we){we.forEach((_e,Ve)=>{const Fe=h(_e,Ve);ne.set(Fe,_e),_e&&typeof _e=="object"&&r in _e&&Oe(_e[r]||[])})};const ne=new Map;Oe(o),I.current={data:o,childrenColumnName:r,kvMap:ne,getRowKey:h}}return(me=I.current.kvMap)===null||me===void 0?void 0:me.get(G)}return[z]},na=function(o,r){var h={};for(var I in o)Object.prototype.hasOwnProperty.call(o,I)&&r.indexOf(I)<0&&(h[I]=o[I]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,I=Object.getOwnPropertySymbols(o);z{const G=o[z];typeof G!="function"&&(h[z]=G)}),h}function va(o,r,h){const I=h&&typeof h=="object"?h:{},{total:z=0}=I,G=na(I,["total"]),[me,ne]=(0,e.useState)(()=>({current:"defaultCurrent"in G?G.defaultCurrent:1,pageSize:"defaultPageSize"in G?G.defaultPageSize:la})),Oe=(0,Do.Z)(me,G,{total:z>0?z:o}),we=Math.ceil((z||o)/Oe.pageSize);Oe.current>we&&(Oe.current=we||1);const _e=(Fe,We)=>{ne({current:Fe!=null?Fe:1,pageSize:We||Oe.pageSize})},Ve=(Fe,We)=>{var Ye;h&&((Ye=h.onChange)===null||Ye===void 0||Ye.call(h,Fe,We)),_e(Fe,We),r(Fe,We||(Oe==null?void 0:Oe.pageSize))};return h===!1?[{},()=>{}]:[Object.assign(Object.assign({},Oe),{onChange:Ve}),_e]}var Ea=va,wa=t(89489),ti=t(59477),Xa=t(25399);const no="ascend",Fr="descend",Yr=o=>typeof o.sorter=="object"&&typeof o.sorter.multiple=="number"?o.sorter.multiple:!1,Go=o=>typeof o=="function"?o:o&&typeof o=="object"&&o.compare?o.compare:!1,Yo=(o,r)=>r?o[o.indexOf(r)+1]:o[0],$a=(o,r,h)=>{let I=[];const z=(G,me)=>{I.push({column:G,key:mn(G,me),multiplePriority:Yr(G),sortOrder:G.sortOrder})};return(o||[]).forEach((G,me)=>{const ne=Pn(me,h);G.children?("sortOrder"in G&&z(G,ne),I=[].concat((0,mt.Z)(I),(0,mt.Z)($a(G.children,r,ne)))):G.sorter&&("sortOrder"in G?z(G,ne):r&&G.defaultSortOrder&&I.push({column:G,key:mn(G,ne),multiplePriority:Yr(G),sortOrder:G.defaultSortOrder}))}),I},Za=(o,r,h,I,z,G,me,ne)=>(r||[]).map((we,_e)=>{const Ve=Pn(_e,ne);let Fe=we;if(Fe.sorter){const We=Fe.sortDirections||z,Ye=Fe.showSorterTooltip===void 0?me:Fe.showSorterTooltip,Bt=mn(Fe,Ve),st=h.find(Rn=>{let{key:Mn}=Rn;return Mn===Bt}),At=st?st.sortOrder:null,Ht=Yo(We,At);let Rt;if(we.sortIcon)Rt=we.sortIcon({sortOrder:At});else{const Rn=We.includes(no)&&e.createElement(ti.Z,{className:M()(`${o}-column-sorter-up`,{active:At===no})}),Mn=We.includes(Fr)&&e.createElement(wa.Z,{className:M()(`${o}-column-sorter-down`,{active:At===Fr})});Rt=e.createElement("span",{className:M()(`${o}-column-sorter`,{[`${o}-column-sorter-full`]:!!(Rn&&Mn)})},e.createElement("span",{className:`${o}-column-sorter-inner`,"aria-hidden":"true"},Rn,Mn))}const{cancelSort:Vt,triggerAsc:Jt,triggerDesc:sn}=G||{};let on=Vt;Ht===Fr?on=sn:Ht===no&&(on=Jt);const qn=typeof Ye=="object"?Object.assign({title:on},Ye):{title:on};Fe=Object.assign(Object.assign({},Fe),{className:M()(Fe.className,{[`${o}-column-sort`]:At}),title:Rn=>{const Mn=`${o}-column-sorters`,Bn=e.createElement("span",{className:`${o}-column-title`},fr(we.title,Rn)),an=e.createElement("div",{className:Mn},Bn,Rt);return Ye?typeof Ye!="boolean"&&(Ye==null?void 0:Ye.target)==="sorter-icon"?e.createElement("div",{className:`${Mn} ${o}-column-sorters-tooltip-target-sorter`},Bn,e.createElement(Xa.Z,Object.assign({},qn),Rt)):e.createElement(Xa.Z,Object.assign({},qn),an):an},onHeaderCell:Rn=>{var Mn;const Bn=((Mn=we.onHeaderCell)===null||Mn===void 0?void 0:Mn.call(we,Rn))||{},an=Bn.onClick,ln=Bn.onKeyDown;Bn.onClick=rn=>{I({column:we,key:Bt,sortOrder:Ht,multiplePriority:Yr(we)}),an==null||an(rn)},Bn.onKeyDown=rn=>{rn.keyCode===No.Z.ENTER&&(I({column:we,key:Bt,sortOrder:Ht,multiplePriority:Yr(we)}),ln==null||ln(rn))};const Qt=Or(we.title,{}),Wt=Qt==null?void 0:Qt.toString();return At&&(Bn["aria-sort"]=At==="ascend"?"ascending":"descending"),Bn["aria-label"]=Wt||"",Bn.className=M()(Bn.className,`${o}-column-has-sorters`),Bn.tabIndex=0,we.ellipsis&&(Bn.title=(Qt!=null?Qt:"").toString()),Bn}})}return"children"in Fe&&(Fe=Object.assign(Object.assign({},Fe),{children:Za(o,Fe.children,h,I,z,G,me,Ve)})),Fe}),Ya=o=>{const{column:r,sortOrder:h}=o;return{column:r,order:h,field:r.dataIndex,columnKey:r.key}},ja=o=>{const r=o.filter(h=>{let{sortOrder:I}=h;return I}).map(Ya);if(r.length===0&&o.length){const h=o.length-1;return Object.assign(Object.assign({},Ya(o[h])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return r.length<=1?r[0]||{}:r},Da=(o,r,h)=>{const I=r.slice().sort((me,ne)=>ne.multiplePriority-me.multiplePriority),z=o.slice(),G=I.filter(me=>{let{column:{sorter:ne},sortOrder:Oe}=me;return Go(ne)&&Oe});return G.length?z.sort((me,ne)=>{for(let Oe=0;Oe{const ne=me[h];return ne?Object.assign(Object.assign({},me),{[h]:Da(ne,r,h)}):me}):z};var Ha=o=>{const{prefixCls:r,mergedColumns:h,sortDirections:I,tableLocale:z,showSorterTooltip:G,onSorterChange:me}=o,[ne,Oe]=e.useState($a(h,!0)),we=(Bt,st)=>{const At=[];return Bt.forEach((Ht,Rt)=>{const Vt=Pn(Rt,st);if(At.push(mn(Ht,Vt)),Array.isArray(Ht.children)){const Jt=we(Ht.children,Vt);At.push.apply(At,(0,mt.Z)(Jt))}}),At},_e=e.useMemo(()=>{let Bt=!0;const st=$a(h,!1);if(!st.length){const Vt=we(h);return ne.filter(Jt=>{let{key:sn}=Jt;return Vt.includes(sn)})}const At=[];function Ht(Vt){Bt?At.push(Vt):At.push(Object.assign(Object.assign({},Vt),{sortOrder:null}))}let Rt=null;return st.forEach(Vt=>{Rt===null?(Ht(Vt),Vt.sortOrder&&(Vt.multiplePriority===!1?Bt=!1:Rt=!0)):(Rt&&Vt.multiplePriority!==!1||(Bt=!1),Ht(Vt))}),At},[h,ne]),Ve=e.useMemo(()=>{var Bt,st;const At=_e.map(Ht=>{let{column:Rt,sortOrder:Vt}=Ht;return{column:Rt,order:Vt}});return{sortColumns:At,sortColumn:(Bt=At[0])===null||Bt===void 0?void 0:Bt.column,sortOrder:(st=At[0])===null||st===void 0?void 0:st.order}},[_e]),Fe=Bt=>{let st;Bt.multiplePriority===!1||!_e.length||_e[0].multiplePriority===!1?st=[Bt]:st=[].concat((0,mt.Z)(_e.filter(At=>{let{key:Ht}=At;return Ht!==Bt.key})),[Bt]),Oe(st),me(ja(st),st)};return[Bt=>Za(r,Bt,_e,Fe,I,z,G),_e,Ve,()=>ja(_e)]};const Ja=(o,r)=>o.map(I=>{const z=Object.assign({},I);return z.title=fr(I.title,r),"children"in z&&(z.children=Ja(z.children,r)),z});var Ri=o=>[e.useCallback(h=>Ja(h,o),[o])],Pi=ut((o,r)=>{const{_renderTimes:h}=o,{_renderTimes:I}=r;return h!==I}),Mi=nt((o,r)=>{const{_renderTimes:h}=o,{_renderTimes:I}=r;return h!==I}),jn=t(36237),Wa=t(17835),Fa=t(63356),Ni=t(16931),Ti=t(51636),Zi=o=>{const{componentCls:r,lineWidth:h,lineType:I,tableBorderColor:z,tableHeaderBg:G,tablePaddingVertical:me,tablePaddingHorizontal:ne,calc:Oe}=o,we=`${(0,jn.unit)(h)} ${I} ${z}`,_e=(Ve,Fe,We)=>({[`&${r}-${Ve}`]:{[`> ${r}-container`]:{[`> ${r}-content, > ${r}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${r}-expanded-row-fixed`]:{margin:`${(0,jn.unit)(Oe(Fe).mul(-1).equal())} + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:O.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Y}-leave`]:{animationTimingFunction:O.motionEaseInQuint}}]}},37645:function(Tt,re,t){t.d(re,{ZP:function(){return g},qN:function(){return m},wZ:function(){return Z}});var e=t(36237),p=t(36305);const m=8;function Z(f){const{contentRadius:y,limitVerticalRadius:N}=f,n=y>12?y+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:N?m:n}}function R(f,y){return f?y:{}}function g(f,y,N){const{componentCls:n,boxShadowPopoverArrow:D,arrowOffsetVertical:S,arrowOffsetHorizontal:O}=f,{arrowDistance:J=0,arrowPlacement:Ae={left:!0,right:!0,top:!0,bottom:!0}}=N||{};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,p.W)(f,y,D)),{"&:before":{background:y}})]},R(!!Ae.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:J,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":O,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:O}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(O)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:O}}}})),R(!!Ae.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:J,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":O,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:O}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,e.unit)(O)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:O}}}})),R(!!Ae.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:J},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:S},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:S}})),R(!!Ae.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:J},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:S},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:S}}))}}},36305:function(Tt,re,t){t.d(re,{W:function(){return m},w:function(){return p}});var e=t(36237);function p(Z){const{sizePopupArrow:R,borderRadiusXS:g,borderRadiusOuter:f}=Z,y=R/2,N=0,n=y,D=f*1/Math.sqrt(2),S=y-f*(1-1/Math.sqrt(2)),O=y-g*(1/Math.sqrt(2)),J=f*(Math.sqrt(2)-1)+g*(1/Math.sqrt(2)),Ae=2*y-O,Y=J,q=2*y-D,ye=S,v=2*y-N,X=n,i=y*Math.sqrt(2)+f*(Math.sqrt(2)-2),c=f*(Math.sqrt(2)-1),V=`polygon(${c}px 100%, 50% ${c}px, ${2*y-c}px 100%, ${c}px 100%)`,ie=`path('M ${N} ${n} A ${f} ${f} 0 0 0 ${D} ${S} L ${O} ${J} A ${g} ${g} 0 0 1 ${Ae} ${Y} L ${q} ${ye} A ${f} ${f} 0 0 0 ${v} ${X} Z')`;return{arrowShadowWidth:i,arrowPath:ie,arrowPolygon:V}}const m=(Z,R,g)=>{const{sizePopupArrow:f,arrowPolygon:y,arrowPath:N,arrowShadowWidth:n,borderRadiusXS:D,calc:S}=Z;return{pointerEvents:"none",width:f,height:f,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:f,height:S(f).div(2).equal(),background:R,clipPath:{_multi_value_:!0,value:[y,N]},content:'""'},"&::after":{content:'""',position:"absolute",width:n,height:n,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,e.unit)(D)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:g,zIndex:0,background:"transparent"}}}},70858:function(Tt,re,t){t.d(re,{default:function(){return tl}});var e=t(59301),p={},m="rc-table-internal-hook",Z=t(72190),R=t(6089),g=t(34280),f=t(13697),y=t(4676);function N(o){var r=e.createContext(void 0),h=function(z){var G=z.value,me=z.children,ne=e.useRef(G);ne.current=G;var Oe=e.useState(function(){return{getValue:function(){return ne.current},listeners:new Set}}),we=(0,Z.Z)(Oe,1),_e=we[0];return(0,g.Z)(function(){(0,y.unstable_batchedUpdates)(function(){_e.listeners.forEach(function(Ve){Ve(G)})})},[G]),e.createElement(r.Provider,{value:_e},me)};return{Context:r,Provider:h,defaultValue:o}}function n(o,r){var h=(0,R.Z)(typeof r=="function"?r:function(Ve){if(r===void 0)return Ve;if(!Array.isArray(r))return Ve[r];var Fe={};return r.forEach(function(We){Fe[We]=Ve[We]}),Fe}),I=e.useContext(o==null?void 0:o.Context),z=I||{},G=z.listeners,me=z.getValue,ne=e.useRef();ne.current=h(I?me():o==null?void 0:o.defaultValue);var Oe=e.useState({}),we=(0,Z.Z)(Oe,2),_e=we[1];return(0,g.Z)(function(){if(!I)return;function Ve(Fe){var We=h(Fe);(0,f.Z)(ne.current,We,!0)||_e({})}return G.add(Ve),function(){G.delete(Ve)}},[I]),ne.current}var D=t(60499),S=t(8654);function O(){var o=e.createContext(null);function r(){return e.useContext(o)}function h(z,G){var me=(0,S.Yr)(z),ne=function(we,_e){var Ve=me?{ref:_e}:{},Fe=e.useRef(0),We=e.useRef(we),Xe=r();return Xe!==null?e.createElement(z,(0,D.Z)({},we,Ve)):((!G||G(We.current,we))&&(Fe.current+=1),We.current=we,e.createElement(o.Provider,{value:Fe.current},e.createElement(z,(0,D.Z)({},we,Ve))))};return me?e.forwardRef(ne):ne}function I(z,G){var me=(0,S.Yr)(z),ne=function(we,_e){var Ve=me?{ref:_e}:{};return r(),e.createElement(z,(0,D.Z)({},we,Ve))};return me?e.memo(e.forwardRef(ne),G):e.memo(ne,G)}return{makeImmutable:h,responseImmutable:I,useImmutableMark:r}}var J=O(),Ae=J.makeImmutable,Y=J.responseImmutable,q=J.useImmutableMark,ye=O(),v=ye.makeImmutable,X=ye.responseImmutable,i=ye.useImmutableMark,c=N(),V=c;function ie(o,r){var h=React.useRef(0);h.current+=1;var I=React.useRef(o),z=[];Object.keys(o||{}).map(function(me){var ne;(o==null?void 0:o[me])!==((ne=I.current)===null||ne===void 0?void 0:ne[me])&&z.push(me)}),I.current=o;var G=React.useRef([]);return z.length&&(G.current=z),React.useDebugValue(h.current),React.useDebugValue(G.current.join(", ")),r&&console.log("".concat(r,":"),h.current,G.current),h.current}var de=null,ke=null,Re=t(43749),ee=t(85899),be=t(18642),Q=t(92310),M=t.n(Q),s=t(80547),_=t(97938),j=t(48736),De=e.createContext({renderWithProps:!1}),se=De,je="RC_TABLE_KEY";function et(o){return o==null?[]:Array.isArray(o)?o:[o]}function fe(o){var r=[],h={};return o.forEach(function(I){for(var z=I||{},G=z.key,me=z.dataIndex,ne=G||et(me).join("-")||je;h[ne];)ne="".concat(ne,"_next");h[ne]=!0,r.push(ne)}),r}function ce(o){return o!=null}function Ge(o){return typeof o=="number"&&!Number.isNaN(o)}function U(o){return o&&(0,Re.Z)(o)==="object"&&!Array.isArray(o)&&!e.isValidElement(o)}function ve(o,r,h,I,z,G){var me=e.useContext(se),ne=i(),Oe=(0,s.Z)(function(){if(ce(I))return[I];var we=r==null||r===""?[]:Array.isArray(r)?r:[r],_e=(0,_.Z)(o,we),Ve=_e,Fe=void 0;if(z){var We=z(_e,o,h);U(We)?(Ve=We.children,Fe=We.props,me.renderWithProps=!0):Ve=We}return[Ve,Fe]},[ne,o,I,r,z,h],function(we,_e){if(G){var Ve=(0,Z.Z)(we,2),Fe=Ve[1],We=(0,Z.Z)(_e,2),Xe=We[1];return G(Xe,Fe)}return me.renderWithProps?!0:!(0,f.Z)(we,_e,!0)});return Oe}function ae(o,r,h,I){var z=o+r-1;return o<=I&&z>=h}function ze(o,r){return n(V,function(h){var I=ae(o,r||1,h.hoverStartRow,h.hoverEndRow);return[I,h.onHover]})}var L=t(70425),pe=function(r){var h=r.ellipsis,I=r.rowType,z=r.children,G,me=h===!0?{showTitle:!0}:h;return me&&(me.showTitle||I==="header")&&(typeof z=="string"||typeof z=="number"?G=z.toString():e.isValidElement(z)&&typeof z.props.children=="string"&&(G=z.props.children)),G};function Te(o){var r,h,I,z,G,me,ne,Oe,we=o.component,_e=o.children,Ve=o.ellipsis,Fe=o.scope,We=o.prefixCls,Xe=o.className,Bt=o.align,st=o.record,At=o.render,Ht=o.dataIndex,Rt=o.renderIndex,Vt=o.shouldCellUpdate,Jt=o.index,sn=o.rowType,on=o.colSpan,qn=o.rowSpan,Rn=o.fixLeft,Mn=o.fixRight,Bn=o.firstFixLeft,an=o.lastFixLeft,ln=o.firstFixRight,Qt=o.lastFixRight,Wt=o.appendNode,rn=o.additionalProps,dn=rn===void 0?{}:rn,wn=o.isSticky,kt="".concat(We,"-cell"),cr=n(V,["supportSticky","allColumnsFixedLeft","rowHoverable"]),mr=cr.supportSticky,fo=cr.allColumnsFixedLeft,ro=cr.rowHoverable,Jr=ve(st,Ht,Rt,_e,At,Vt),lo=(0,Z.Z)(Jr,2),Bo=lo[0],gr=lo[1],yr={},po=typeof Rn=="number"&&mr,Oo=typeof Mn=="number"&&mr;po&&(yr.position="sticky",yr.left=Rn),Oo&&(yr.position="sticky",yr.right=Mn);var yn=(r=(h=(I=gr==null?void 0:gr.colSpan)!==null&&I!==void 0?I:dn.colSpan)!==null&&h!==void 0?h:on)!==null&&r!==void 0?r:1,Gn=(z=(G=(me=gr==null?void 0:gr.rowSpan)!==null&&me!==void 0?me:dn.rowSpan)!==null&&G!==void 0?G:qn)!==null&&z!==void 0?z:1,hn=ze(Jt,Gn),$n=(0,Z.Z)(hn,2),Pr=$n[0],Tr=$n[1],oo=(0,L.zX)(function(ao){var Kr;st&&Tr(Jt,Jt+Gn-1),dn==null||(Kr=dn.onMouseEnter)===null||Kr===void 0||Kr.call(dn,ao)}),Qr=(0,L.zX)(function(ao){var Kr;st&&Tr(-1,-1),dn==null||(Kr=dn.onMouseLeave)===null||Kr===void 0||Kr.call(dn,ao)});if(yn===0||Gn===0)return null;var Ao=(ne=dn.title)!==null&&ne!==void 0?ne:pe({rowType:sn,ellipsis:Ve,children:Bo}),Lo=M()(kt,Xe,(Oe={},(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)(Oe,"".concat(kt,"-fix-left"),po&&mr),"".concat(kt,"-fix-left-first"),Bn&&mr),"".concat(kt,"-fix-left-last"),an&&mr),"".concat(kt,"-fix-left-all"),an&&fo&&mr),"".concat(kt,"-fix-right"),Oo&&mr),"".concat(kt,"-fix-right-first"),ln&&mr),"".concat(kt,"-fix-right-last"),Qt&&mr),"".concat(kt,"-ellipsis"),Ve),"".concat(kt,"-with-append"),Wt),"".concat(kt,"-fix-sticky"),(po||Oo)&&wn&&mr),(0,be.Z)(Oe,"".concat(kt,"-row-hover"),!gr&&Pr)),dn.className,gr==null?void 0:gr.className),Cn={};Bt&&(Cn.textAlign=Bt);var Zn=(0,ee.Z)((0,ee.Z)((0,ee.Z)((0,ee.Z)({},gr==null?void 0:gr.style),yr),Cn),dn.style),Zr=Bo;return(0,Re.Z)(Zr)==="object"&&!Array.isArray(Zr)&&!e.isValidElement(Zr)&&(Zr=null),Ve&&(an||ln)&&(Zr=e.createElement("span",{className:"".concat(kt,"-content")},Zr)),e.createElement(we,(0,D.Z)({},gr,dn,{className:Lo,style:Zn,title:Ao,scope:Fe,onMouseEnter:ro?oo:void 0,onMouseLeave:ro?Qr:void 0,colSpan:yn!==1?yn:null,rowSpan:Gn!==1?Gn:null}),Wt,Zr)}var ct=e.memo(Te);function Ye(o,r,h,I,z){var G=h[o]||{},me=h[r]||{},ne,Oe;G.fixed==="left"?ne=I.left[z==="rtl"?r:o]:me.fixed==="right"&&(Oe=I.right[z==="rtl"?o:r]);var we=!1,_e=!1,Ve=!1,Fe=!1,We=h[r+1],Xe=h[o-1],Bt=We&&!We.fixed||Xe&&!Xe.fixed||h.every(function(Vt){return Vt.fixed==="left"});if(z==="rtl"){if(ne!==void 0){var st=Xe&&Xe.fixed==="left";Fe=!st&&Bt}else if(Oe!==void 0){var At=We&&We.fixed==="right";Ve=!At&&Bt}}else if(ne!==void 0){var Ht=We&&We.fixed==="left";we=!Ht&&Bt}else if(Oe!==void 0){var Rt=Xe&&Xe.fixed==="right";_e=!Rt&&Bt}return{fixLeft:ne,fixRight:Oe,lastFixLeft:we,firstFixRight:_e,lastFixRight:Ve,firstFixLeft:Fe,isSticky:I.isSticky}}var k=e.createContext({}),K=k;function oe(o){var r=o.className,h=o.index,I=o.children,z=o.colSpan,G=z===void 0?1:z,me=o.rowSpan,ne=o.align,Oe=n(V,["prefixCls","direction"]),we=Oe.prefixCls,_e=Oe.direction,Ve=e.useContext(K),Fe=Ve.scrollColumnIndex,We=Ve.stickyOffsets,Xe=Ve.flattenColumns,Bt=h+G-1,st=Bt+1===Fe?G+1:G,At=Ye(h,h+st-1,Xe,We,_e);return e.createElement(ct,(0,D.Z)({className:r,index:h,component:"td",prefixCls:we,record:null,dataIndex:null,align:ne,colSpan:st,rowSpan:me,render:function(){return I}},At))}var b=t(42244),ue=["children"];function T(o){var r=o.children,h=(0,b.Z)(o,ue);return e.createElement("tr",h,r)}function a(o){var r=o.children;return r}a.Row=T,a.Cell=oe;var u=a;function H(o){var r=o.children,h=o.stickyOffsets,I=o.flattenColumns,z=n(V,"prefixCls"),G=I.length-1,me=I[G],ne=e.useMemo(function(){return{stickyOffsets:h,flattenColumns:I,scrollColumnIndex:me!=null&&me.scrollbar?G:null}},[me,I,G,h]);return e.createElement(K.Provider,{value:ne},e.createElement("tfoot",{className:"".concat(z,"-summary")},r))}var A=X(H),w=u,B=t(29301),P=t(24514),W=t(75152),l=t(26112);function d(o,r,h,I,z,G,me){o.push({record:r,indent:h,index:me});var ne=G(r),Oe=z==null?void 0:z.has(ne);if(r&&Array.isArray(r[I])&&Oe)for(var we=0;we1?Bn-1:0),ln=1;ln=1)),style:(0,ee.Z)((0,ee.Z)({},h),At==null?void 0:At.style)}),Xe.map(function(Rn,Mn){var Bn=Rn.render,an=Rn.dataIndex,ln=Rn.className,Qt=Le(Fe,Rn,Mn,Oe,z),Wt=Qt.key,rn=Qt.fixedInfo,dn=Qt.appendCellNode,wn=Qt.additionalCellProps;return e.createElement(ct,(0,D.Z)({className:ln,ellipsis:Rn.ellipsis,align:Rn.align,scope:Rn.rowScope,component:Rn.rowScope?Ve:_e,prefixCls:We,key:Wt,record:I,index:z,renderIndex:G,dataIndex:an,render:Bn,shouldCellUpdate:Rn.shouldCellUpdate},rn,{appendNode:dn,additionalProps:wn}))})),on;if(Rt&&(Vt.current||Ht)){var qn=st(I,z,Oe+1,Ht);on=e.createElement(Ce,{expanded:Ht,className:M()("".concat(We,"-expanded-row"),"".concat(We,"-expanded-row-level-").concat(Oe+1),Jt),prefixCls:We,component:we,cellComponent:_e,colSpan:Xe.length,isEmpty:!1},qn)}return e.createElement(e.Fragment,null,sn,on)}var it=X(gt);function bt(o){var r=o.columnKey,h=o.onColumnResize,I=e.useRef();return(0,g.Z)(function(){I.current&&h(r,I.current.offsetWidth)},[]),e.createElement(B.Z,{data:r},e.createElement("td",{ref:I,style:{padding:0,border:0,height:0}},e.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var yt=t(29194);function tn(o){var r=o.prefixCls,h=o.columnsKey,I=o.onColumnResize,z=e.useRef(null);return e.createElement("tr",{"aria-hidden":"true",className:"".concat(r,"-measure-row"),style:{height:0,fontSize:0},ref:z},e.createElement(B.Z.Collection,{onBatchResize:function(me){(0,yt.Z)(z.current)&&me.forEach(function(ne){var Oe=ne.data,we=ne.size;I(Oe,we.offsetWidth)})}},h.map(function(G){return e.createElement(bt,{key:G,columnKey:G,onColumnResize:I})})))}function dt(o){var r=o.data,h=o.measureColumnWidth,I=n(V,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),z=I.prefixCls,G=I.getComponent,me=I.onColumnResize,ne=I.flattenColumns,Oe=I.getRowKey,we=I.expandedKeys,_e=I.childrenColumnName,Ve=I.emptyNode,Fe=xe(r,_e,we,Oe),We=e.useRef({renderWithProps:!1}),Xe=G(["body","wrapper"],"tbody"),Bt=G(["body","row"],"tr"),st=G(["body","cell"],"td"),At=G(["body","cell"],"th"),Ht;r.length?Ht=Fe.map(function(Vt,Jt){var sn=Vt.record,on=Vt.indent,qn=Vt.index,Rn=Oe(sn,Jt);return e.createElement(it,{key:Rn,rowKey:Rn,record:sn,index:Jt,renderIndex:qn,rowComponent:Bt,cellComponent:st,scopeCellComponent:At,indent:on})}):Ht=e.createElement(Ce,{expanded:!0,className:"".concat(z,"-placeholder"),prefixCls:z,component:Bt,cellComponent:st,colSpan:ne.length,isEmpty:!0},Ve);var Rt=fe(ne);return e.createElement(se.Provider,{value:We.current},e.createElement(Xe,{className:"".concat(z,"-tbody")},h&&e.createElement(tn,{prefixCls:z,columnsKey:Rt,onColumnResize:me}),Ht))}var rt=X(dt),Lt=["expandable"],vt="RC_TABLE_INTERNAL_COL_DEFINE";function Mt(o){var r=o.expandable,h=(0,b.Z)(o,Lt),I;return"expandable"in o?I=(0,ee.Z)((0,ee.Z)({},h),r):I=h,I.showExpandColumn===!1&&(I.expandIconColumnIndex=-1),I}var _t=["columnType"];function Et(o){for(var r=o.colWidths,h=o.columns,I=o.columCount,z=n(V,["tableLayout"]),G=z.tableLayout,me=[],ne=I||h.length,Oe=!1,we=ne-1;we>=0;we-=1){var _e=r[we],Ve=h&&h[we],Fe=void 0,We=void 0;if(Ve&&(Fe=Ve[vt],G==="auto"&&(We=Ve.minWidth)),_e||We||Fe||Oe){var Xe=Fe||{},Bt=Xe.columnType,st=(0,b.Z)(Xe,_t);me.unshift(e.createElement("col",(0,D.Z)({key:we,style:{width:_e,minWidth:We}},st))),Oe=!0}}return e.createElement("colgroup",null,me)}var cn=Et,mt=t(77654),ht=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function zt(o,r){return(0,e.useMemo)(function(){for(var h=[],I=0;I1?"colgroup":"col":null,ellipsis:st.ellipsis,align:st.align,component:me,prefixCls:_e,key:We[Bt]},At,{additionalProps:Ht,rowType:"header"}))}))},pn=Xt;function zn(o){var r=[];function h(me,ne){var Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;r[Oe]=r[Oe]||[];var we=ne,_e=me.filter(Boolean).map(function(Ve){var Fe={key:Ve.key,className:Ve.className||"",children:Ve.title,column:Ve,colStart:we},We=1,Xe=Ve.children;return Xe&&Xe.length>0&&(We=h(Xe,we,Oe+1).reduce(function(Bt,st){return Bt+st},0),Fe.hasSubColumns=!0),"colSpan"in Ve&&(We=Ve.colSpan),"rowSpan"in Ve&&(Fe.rowSpan=Ve.rowSpan),Fe.colSpan=We,Fe.colEnd=Fe.colStart+We-1,r[Oe].push(Fe),we+=We,We});return _e}h(o,0);for(var I=r.length,z=function(ne){r[ne].forEach(function(Oe){!("rowSpan"in Oe)&&!Oe.hasSubColumns&&(Oe.rowSpan=I-ne)})},G=0;G1&&arguments[1]!==void 0?arguments[1]:"";return typeof r=="number"?r:r.endsWith("%")?o*parseFloat(r)/100:null}function bn(o,r,h){return e.useMemo(function(){if(r&&r>0){var I=0,z=0;o.forEach(function(Fe){var We=nr(r,Fe.width);We?I+=We:z+=1});var G=Math.max(r,h),me=Math.max(G-I,z),ne=z,Oe=me/z,we=0,_e=o.map(function(Fe){var We=(0,ee.Z)({},Fe),Xe=nr(r,We.width);if(Xe)We.width=Xe;else{var Bt=Math.floor(Oe);We.width=ne===1?me:Bt,me-=Bt,ne-=1}return we+=We.width,We});if(we0?(0,ee.Z)((0,ee.Z)({},r),{},{children:x(h)}):r})}function $(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return o.filter(function(h){return h&&(0,Re.Z)(h)==="object"}).reduce(function(h,I,z){var G=I.fixed,me=G===!0?"left":G,ne="".concat(r,"-").concat(z),Oe=I.children;return Oe&&Oe.length>0?[].concat((0,mt.Z)(h),(0,mt.Z)($(Oe,ne).map(function(we){return(0,ee.Z)({fixed:me},we)}))):[].concat((0,mt.Z)(h),[(0,ee.Z)((0,ee.Z)({key:ne},I),{},{fixed:me})])},[])}function tt(o){return o.map(function(r){var h=r.fixed,I=(0,b.Z)(r,Un),z=h;return h==="left"?z="right":h==="right"&&(z="left"),(0,ee.Z)({fixed:z},I)})}function E(o,r){var h=o.prefixCls,I=o.columns,z=o.children,G=o.expandable,me=o.expandedKeys,ne=o.columnTitle,Oe=o.getRowKey,we=o.onTriggerExpand,_e=o.expandIcon,Ve=o.rowExpandable,Fe=o.expandIconColumnIndex,We=o.direction,Xe=o.expandRowByClick,Bt=o.columnWidth,st=o.fixed,At=o.scrollWidth,Ht=o.clientWidth,Rt=e.useMemo(function(){var an=I||Yn(z)||[];return x(an.slice())},[I,z]),Vt=e.useMemo(function(){if(G){var an=Rt.slice();if(!an.includes(p)){var ln=Fe||0;ln>=0&&(ln||st==="left"||!st)&&an.splice(ln,0,p),st==="right"&&an.splice(Rt.length,0,p)}var Qt=an.indexOf(p);an=an.filter(function(wn,kt){return wn!==p||kt===Qt});var Wt=Rt[Qt],rn;st?rn=st:rn=Wt?Wt.fixed:null;var dn=(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({},vt,{className:"".concat(h,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ne),"fixed",rn),"className","".concat(h,"-row-expand-icon-cell")),"width",Bt),"render",function(kt,cr,mr){var fo=Oe(cr,mr),ro=me.has(fo),Jr=Ve?Ve(cr):!0,lo=_e({prefixCls:h,expanded:ro,expandable:Jr,record:cr,onExpand:we});return Xe?e.createElement("span",{onClick:function(gr){return gr.stopPropagation()}},lo):lo});return an.map(function(wn){return wn===p?dn:wn})}return Rt.filter(function(wn){return wn!==p})},[G,Rt,Oe,me,_e,We]),Jt=e.useMemo(function(){var an=Vt;return r&&(an=r(an)),an.length||(an=[{render:function(){return null}}]),an},[r,Vt,We]),sn=e.useMemo(function(){return We==="rtl"?tt($(Jt)):$(Jt)},[Jt,We,At]),on=e.useMemo(function(){for(var an=-1,ln=sn.length-1;ln>=0;ln-=1){var Qt=sn[ln].fixed;if(Qt==="left"||Qt===!0){an=ln;break}}if(an>=0)for(var Wt=0;Wt<=an;Wt+=1){var rn=sn[Wt].fixed;if(rn!=="left"&&rn!==!0)return!0}var dn=sn.findIndex(function(cr){var mr=cr.fixed;return mr==="right"});if(dn>=0)for(var wn=dn;wn=dn-ne?Ht(function(wn){return(0,ee.Z)((0,ee.Z)({},wn),{},{isHiddenScrollBar:!0})}):Ht(function(wn){return(0,ee.Z)((0,ee.Z)({},wn),{},{isHiddenScrollBar:!1})})}})},ln=function(Wt){Ht(function(rn){return(0,ee.Z)((0,ee.Z)({},rn),{},{scrollLeft:Wt/Ve*Fe||0})})};return e.useImperativeHandle(h,function(){return{setScrollLeft:ln,checkScrollBarVisible:an}}),e.useEffect(function(){var Qt=(0,F.Z)(document.body,"mouseup",Rn,!1),Wt=(0,F.Z)(document.body,"mousemove",Bn,!1);return an(),function(){Qt.remove(),Wt.remove()}},[We,sn]),e.useEffect(function(){if(G.current){for(var Qt=[],Wt=(0,Ee.bn)(G.current);Wt;)Qt.push(Wt),Wt=Wt.parentElement;return Qt.forEach(function(rn){return rn.addEventListener("scroll",an,!1)}),window.addEventListener("resize",an,!1),window.addEventListener("scroll",an,!1),Oe.addEventListener("scroll",an,!1),function(){Qt.forEach(function(rn){return rn.removeEventListener("scroll",an)}),window.removeEventListener("resize",an),window.removeEventListener("scroll",an),Oe.removeEventListener("scroll",an)}}},[Oe]),e.useEffect(function(){At.isHiddenScrollBar||Ht(function(Qt){var Wt=G.current;return Wt?(0,ee.Z)((0,ee.Z)({},Qt),{},{scrollLeft:Wt.scrollLeft/Wt.scrollWidth*Wt.clientWidth}):Qt})},[At.isHiddenScrollBar]),Ve<=Fe||!We||At.isHiddenScrollBar?null:e.createElement("div",{style:{height:(0,W.Z)(),width:Fe,bottom:ne},className:"".concat(_e,"-sticky-scroll")},e.createElement("div",{onMouseDown:Mn,ref:Xe,className:M()("".concat(_e,"-sticky-scroll-bar"),(0,be.Z)({},"".concat(_e,"-sticky-scroll-bar-active"),sn)),style:{width:"".concat(We,"px"),transform:"translate3d(".concat(At.scrollLeft,"px, 0, 0)")}}))},Ke=e.forwardRef(Pe);function Ue(o){return null}var at=Ue;function ft(o){return null}var $t=ft,Dt="rc-table",Ct=[],St={};function It(){return"No Data"}function Ft(o,r){var h=(0,ee.Z)({rowKey:"key",prefixCls:Dt,emptyText:It},o),I=h.prefixCls,z=h.className,G=h.rowClassName,me=h.style,ne=h.data,Oe=h.rowKey,we=h.scroll,_e=h.tableLayout,Ve=h.direction,Fe=h.title,We=h.footer,Xe=h.summary,Bt=h.caption,st=h.id,At=h.showHeader,Ht=h.components,Rt=h.emptyText,Vt=h.onRow,Jt=h.onHeaderRow,sn=h.onScroll,on=h.internalHooks,qn=h.transformColumns,Rn=h.internalRefs,Mn=h.tailor,Bn=h.getContainerWidth,an=h.sticky,ln=h.rowHoverable,Qt=ln===void 0?!0:ln,Wt=ne||Ct,rn=!!Wt.length,dn=on===m,wn=e.useCallback(function($r,Mr){return(0,_.Z)(Ht,$r)||Mr},[Ht]),kt=e.useMemo(function(){return typeof Oe=="function"?Oe:function($r){var Mr=$r&&$r[Oe];return Mr}},[Oe]),cr=wn(["body"]),mr=Me(),fo=(0,Z.Z)(mr,3),ro=fo[0],Jr=fo[1],lo=fo[2],Bo=$e(h,Wt,kt),gr=(0,Z.Z)(Bo,6),yr=gr[0],po=gr[1],Oo=gr[2],yn=gr[3],Gn=gr[4],hn=gr[5],$n=we==null?void 0:we.x,Pr=e.useState(0),Tr=(0,Z.Z)(Pr,2),oo=Tr[0],Qr=Tr[1],Ao=C((0,ee.Z)((0,ee.Z)((0,ee.Z)({},h),yr),{},{expandable:!!yr.expandedRowRender,columnTitle:yr.columnTitle,expandedKeys:Oo,getRowKey:kt,onTriggerExpand:hn,expandIcon:yn,expandIconColumnIndex:yr.expandIconColumnIndex,direction:Ve,scrollWidth:dn&&Mn&&typeof $n=="number"?$n:null,clientWidth:oo}),dn?qn:null),Lo=(0,Z.Z)(Ao,4),Cn=Lo[0],Zn=Lo[1],Zr=Lo[2],ao=Lo[3],Kr=Zr!=null?Zr:$n,Ho=e.useMemo(function(){return{columns:Cn,flattenColumns:Zn}},[Cn,Zn]),bo=e.useRef(),ma=e.useRef(),io=e.useRef(),Ar=e.useRef();e.useImperativeHandle(r,function(){return{nativeElement:bo.current,scrollTo:function(Mr){var Vo;if(io.current instanceof HTMLElement){var da=Mr.index,Uo=Mr.top,La=Mr.key;if(Ge(Uo)){var Ma;(Ma=io.current)===null||Ma===void 0||Ma.scrollTo({top:Uo})}else{var Na,Ga=La!=null?La:kt(Wt[da]);(Na=io.current.querySelector('[data-row-key="'.concat(Ga,'"]')))===null||Na===void 0||Na.scrollIntoView()}}else(Vo=io.current)!==null&&Vo!==void 0&&Vo.scrollTo&&io.current.scrollTo(Mr)}}});var _r=e.useRef(),eo=e.useState(!1),Ro=(0,Z.Z)(eo,2),So=Ro[0],Dr=Ro[1],mo=e.useState(!1),Ur=(0,Z.Z)(mo,2),Wo=Ur[0],yo=Ur[1],Jo=e.useState(new Map),Ia=(0,Z.Z)(Jo,2),Va=Ia[0],so=Ia[1],Ua=fe(Zn),Qo=Ua.map(function($r){return Va.get($r)}),sa=e.useMemo(function(){return Qo},[Qo.join("_")]),oa=Nt(sa,Zn,Ve),_o=we&&ce(we.y),qo=we&&ce(Kr)||!!yr.fixed,ca=qo&&Zn.some(function($r){var Mr=$r.fixed;return Mr}),Oa=e.useRef(),ha=ot(an,I),pa=ha.isSticky,ni=ha.offsetHeader,ri=ha.offsetSummary,oi=ha.offsetScroll,Qa=ha.stickyClassName,ai=ha.container,er=e.useMemo(function(){return Xe==null?void 0:Xe(Wt)},[Xe,Wt]),Lr=(_o||pa)&&e.isValidElement(er)&&er.type===u&&er.props.fixed,Co,Po,ea;_o&&(Po={overflowY:rn?"scroll":"auto",maxHeight:we.y}),qo&&(Co={overflowX:"auto"},_o||(Po={overflowY:"hidden"}),ea={width:Kr===!0?"auto":Kr,minWidth:"100%"});var ua=e.useCallback(function($r,Mr){so(function(Vo){if(Vo.get($r)!==Mr){var da=new Map(Vo);return da.set($r,Mr),da}return Vo})},[]),ga=He(null),Fo=(0,Z.Z)(ga,2),nl=Fo[0],vi=Fo[1];function _a($r,Mr){Mr&&(typeof Mr=="function"?Mr($r):Mr.scrollLeft!==$r&&(Mr.scrollLeft=$r,Mr.scrollLeft!==$r&&setTimeout(function(){Mr.scrollLeft=$r},0)))}var Aa=(0,R.Z)(function($r){var Mr=$r.currentTarget,Vo=$r.scrollLeft,da=Ve==="rtl",Uo=typeof Vo=="number"?Vo:Mr.scrollLeft,La=Mr||St;if(!vi()||vi()===La){var Ma;nl(La),_a(Uo,ma.current),_a(Uo,io.current),_a(Uo,_r.current),_a(Uo,(Ma=Oa.current)===null||Ma===void 0?void 0:Ma.setScrollLeft)}var Na=Mr||ma.current;if(Na){var Ga=dn&&Mn&&typeof Kr=="number"?Kr:Na.scrollWidth,ui=Na.clientWidth;if(Ga===ui){Dr(!1),yo(!1);return}da?(Dr(-Uo0)):(Dr(Uo>0),yo(Uo1?st-Qt:0,rn=(0,ee.Z)((0,ee.Z)((0,ee.Z)({},qn),we),{},{flex:"0 0 ".concat(Qt,"px"),width:"".concat(Qt,"px"),marginRight:Wt,pointerEvents:"auto"}),dn=e.useMemo(function(){return Ve?an<=1:Mn===0||an===0||an>1},[an,Mn,Ve]);dn?rn.visibility="hidden":Ve&&(rn.height=Fe==null?void 0:Fe(an));var wn=dn?function(){return null}:We,kt={};return(an===0||Mn===0)&&(kt.rowSpan=1,kt.colSpan=1),e.createElement(ct,(0,D.Z)({className:M()(Bt,_e),ellipsis:h.ellipsis,align:h.align,scope:h.rowScope,component:me,prefixCls:r.prefixCls,key:Vt,record:Oe,index:G,renderIndex:ne,dataIndex:Xe,render:wn,shouldCellUpdate:h.shouldCellUpdate},Jt,{appendNode:sn,additionalProps:(0,ee.Z)((0,ee.Z)({},on),{},{style:rn},kt)}))}var Sn=jt,In=["data","index","className","rowKey","style","extra","getHeight"],Wn=e.forwardRef(function(o,r){var h=o.data,I=o.index,z=o.className,G=o.rowKey,me=o.style,ne=o.extra,Oe=o.getHeight,we=(0,b.Z)(o,In),_e=h.record,Ve=h.indent,Fe=h.index,We=n(V,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Xe=We.scrollX,Bt=We.flattenColumns,st=We.prefixCls,At=We.fixColumn,Ht=We.componentWidth,Rt=n(Yt,["getComponent"]),Vt=Rt.getComponent,Jt=te(_e,G,I,Ve),sn=Vt(["body","row"],"div"),on=Vt(["body","cell"],"div"),qn=Jt.rowSupportExpand,Rn=Jt.expanded,Mn=Jt.rowProps,Bn=Jt.expandedRowRender,an=Jt.expandedRowClassName,ln;if(qn&&Rn){var Qt=Bn(_e,I,Ve+1,Rn),Wt=Ne(an,_e,I,Ve),rn={};At&&(rn={style:(0,be.Z)({},"--virtual-width","".concat(Ht,"px"))});var dn="".concat(st,"-expanded-row-cell");ln=e.createElement(sn,{className:M()("".concat(st,"-expanded-row"),"".concat(st,"-expanded-row-level-").concat(Ve+1),Wt)},e.createElement(ct,{component:on,prefixCls:st,className:M()(dn,(0,be.Z)({},"".concat(dn,"-fixed"),At)),additionalProps:rn},Qt))}var wn=(0,ee.Z)((0,ee.Z)({},me),{},{width:Xe});ne&&(wn.position="absolute",wn.pointerEvents="none");var kt=e.createElement(sn,(0,D.Z)({},Mn,we,{"data-row-key":G,ref:qn?null:r,className:M()(z,"".concat(st,"-row"),Mn==null?void 0:Mn.className,(0,be.Z)({},"".concat(st,"-row-extra"),ne)),style:(0,ee.Z)((0,ee.Z)({},wn),Mn==null?void 0:Mn.style)}),Bt.map(function(cr,mr){return e.createElement(Sn,{key:mr,component:on,rowInfo:Jt,column:cr,colIndex:mr,indent:Ve,index:I,renderIndex:Fe,record:_e,inverse:ne,getHeight:Oe})}));return qn?e.createElement("div",{ref:r},kt,ln):kt}),On=X(Wn),An=On,kn=e.forwardRef(function(o,r){var h=o.data,I=o.onScroll,z=n(V,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),G=z.flattenColumns,me=z.onColumnResize,ne=z.getRowKey,Oe=z.expandedKeys,we=z.prefixCls,_e=z.childrenColumnName,Ve=z.scrollX,Fe=z.direction,We=n(Yt),Xe=We.sticky,Bt=We.scrollY,st=We.listItemHeight,At=We.getComponent,Ht=We.onScroll,Rt=e.useRef(),Vt=xe(h,_e,Oe,ne),Jt=e.useMemo(function(){var ln=0;return G.map(function(Qt){var Wt=Qt.width,rn=Qt.key;return ln+=Wt,[rn,Wt,ln]})},[G]),sn=e.useMemo(function(){return Jt.map(function(ln){return ln[2]})},[Jt]);e.useEffect(function(){Jt.forEach(function(ln){var Qt=(0,Z.Z)(ln,2),Wt=Qt[0],rn=Qt[1];me(Wt,rn)})},[Jt]),e.useImperativeHandle(r,function(){var ln,Qt={scrollTo:function(rn){var dn;(dn=Rt.current)===null||dn===void 0||dn.scrollTo(rn)},nativeElement:(ln=Rt.current)===null||ln===void 0?void 0:ln.nativeElement};return Object.defineProperty(Qt,"scrollLeft",{get:function(){var rn;return((rn=Rt.current)===null||rn===void 0?void 0:rn.getScrollInfo().x)||0},set:function(rn){var dn;(dn=Rt.current)===null||dn===void 0||dn.scrollTo({left:rn})}}),Qt});var on=function(Qt,Wt){var rn,dn=(rn=Vt[Wt])===null||rn===void 0?void 0:rn.record,wn=Qt.onCell;if(wn){var kt,cr=wn(dn,Wt);return(kt=cr==null?void 0:cr.rowSpan)!==null&&kt!==void 0?kt:1}return 1},qn=function(Qt){var Wt=Qt.start,rn=Qt.end,dn=Qt.getSize,wn=Qt.offsetY;if(rn<0)return null;for(var kt=G.filter(function(yn){return on(yn,Wt)===0}),cr=Wt,mr=function(Gn){if(kt=kt.filter(function(hn){return on(hn,Gn)===0}),!kt.length)return cr=Gn,1},fo=Wt;fo>=0&&!mr(fo);fo-=1);for(var ro=G.filter(function(yn){return on(yn,rn)!==1}),Jr=rn,lo=function(Gn){if(ro=ro.filter(function(hn){return on(hn,Gn)!==1}),!ro.length)return Jr=Math.max(Gn-1,rn),1},Bo=rn;Bo1})&&gr.push(Gn)},po=cr;po<=Jr;po+=1)yr(po);var Oo=gr.map(function(yn){var Gn=Vt[yn],hn=ne(Gn.record,yn),$n=function(oo){var Qr=yn+oo-1,Ao=ne(Vt[Qr].record,Qr),Lo=dn(hn,Ao);return Lo.bottom-Lo.top},Pr=dn(hn);return e.createElement(An,{key:yn,data:Gn,rowKey:hn,index:yn,style:{top:-wn+Pr.top},extra:!0,getHeight:$n})});return Oo},Rn=e.useMemo(function(){return{columnsOffset:sn}},[sn]),Mn="".concat(we,"-tbody"),Bn=At(["body","wrapper"]),an={};return Xe&&(an.position="sticky",an.bottom=0,(0,Re.Z)(Xe)==="object"&&Xe.offsetScroll&&(an.bottom=Xe.offsetScroll)),e.createElement(un.Provider,{value:Rn},e.createElement(en.Z,{fullHeight:!1,ref:Rt,prefixCls:"".concat(Mn,"-virtual"),styles:{horizontalScrollBar:an},className:Mn,height:Bt,itemHeight:st||24,data:Vt,itemKey:function(Qt){return ne(Qt.record)},component:Bn,scrollWidth:Ve,direction:Fe,onVirtualScroll:function(Qt){var Wt,rn=Qt.x;I({currentTarget:(Wt=Rt.current)===null||Wt===void 0?void 0:Wt.nativeElement,scrollLeft:rn})},onScroll:Ht,extraRender:qn},function(ln,Qt,Wt){var rn=ne(ln.record,Qt);return e.createElement(An,{data:ln,rowKey:rn,index:Qt,style:Wt.style})}))}),ur=X(kn),dr=ur,Xn=function(r,h){var I=h.ref,z=h.onScroll;return e.createElement(dr,{ref:I,data:r,onScroll:z})};function xt(o,r){var h=o.data,I=o.columns,z=o.scroll,G=o.sticky,me=o.prefixCls,ne=me===void 0?Dt:me,Oe=o.className,we=o.listItemHeight,_e=o.components,Ve=o.onScroll,Fe=z||{},We=Fe.x,Xe=Fe.y;typeof We!="number"&&(We=1),typeof Xe!="number"&&(Xe=500);var Bt=(0,L.zX)(function(Ht,Rt){return(0,_.Z)(_e,Ht)||Rt}),st=(0,L.zX)(Ve),At=e.useMemo(function(){return{sticky:G,scrollY:Xe,listItemHeight:we,getComponent:Bt,onScroll:st}},[G,Xe,we,Bt,st]);return e.createElement(Yt.Provider,{value:At},e.createElement(vn,(0,D.Z)({},o,{className:M()(Oe,"".concat(ne,"-virtual")),scroll:(0,ee.Z)((0,ee.Z)({},z),{},{x:We}),components:(0,ee.Z)((0,ee.Z)({},_e),{},{body:h!=null&&h.length?Xn:void 0}),columns:I,internalHooks:m,tailor:!0,ref:r})))}var Je=e.forwardRef(xt);function nt(o){return v(Je,o)}var Ut=nt(),Gt=null,Dn=o=>null,Nn=o=>null,Jn=t(84105),Cr=t(82661),Sr=t(34643),pr=t(34061),Qn=t(18929);function xr(o){const[r,h]=(0,e.useState)(null);return[(0,e.useCallback)((G,me,ne)=>{const Oe=r!=null?r:G,we=Math.min(Oe||0,G),_e=Math.max(Oe||0,G),Ve=me.slice(we,_e+1).map(Xe=>o(Xe)),Fe=Ve.some(Xe=>!ne.has(Xe)),We=[];return Ve.forEach(Xe=>{Fe?(ne.has(Xe)||We.push(Xe),ne.add(Xe)):(ne.delete(Xe),We.push(Xe))}),h(Fe?_e:null),We},[r]),G=>{h(G)}]}var Er=t(32383),Nr=t(62673),lr=t(75727),Ir=t(47889);const rr={},Br="SELECT_ALL",Xr="SELECT_INVERT",jr="SELECT_NONE",Hr=[],Gr=(o,r)=>{let h=[];return(r||[]).forEach(I=>{h.push(I),I&&typeof I=="object"&&o in I&&(h=[].concat((0,mt.Z)(h),(0,mt.Z)(Gr(o,I[o]))))}),h};var Kn=(o,r)=>{const{preserveSelectedRowKeys:h,selectedRowKeys:I,defaultSelectedRowKeys:z,getCheckboxProps:G,onChange:me,onSelect:ne,onSelectAll:Oe,onSelectInvert:we,onSelectNone:_e,onSelectMultiple:Ve,columnWidth:Fe,type:We,selections:Xe,fixed:Bt,renderCell:st,hideSelectAll:At,checkStrictly:Ht=!0}=r||{},{prefixCls:Rt,data:Vt,pageData:Jt,getRecordByKey:sn,getRowKey:on,expandType:qn,childrenColumnName:Rn,locale:Mn,getPopupContainer:Bn}=o,an=(0,Er.ln)("Table"),[ln,Qt]=xr(yn=>yn),[Wt,rn]=(0,Qn.Z)(I||z||Hr,{value:I}),dn=e.useRef(new Map),wn=(0,e.useCallback)(yn=>{if(h){const Gn=new Map;yn.forEach(hn=>{let $n=sn(hn);!$n&&dn.current.has(hn)&&($n=dn.current.get(hn)),Gn.set(hn,$n)}),dn.current=Gn}},[sn,h]);e.useEffect(()=>{wn(Wt)},[Wt]);const kt=(0,e.useMemo)(()=>Gr(Rn,Jt),[Rn,Jt]),{keyEntities:cr}=(0,e.useMemo)(()=>{if(Ht)return{keyEntities:null};let yn=Vt;if(h){const Gn=new Set(kt.map(($n,Pr)=>on($n,Pr))),hn=Array.from(dn.current).reduce(($n,Pr)=>{let[Tr,oo]=Pr;return Gn.has(Tr)?$n:$n.concat(oo)},[]);yn=[].concat((0,mt.Z)(yn),(0,mt.Z)(hn))}return(0,pr.I8)(yn,{externalGetKey:on,childrenPropName:Rn})},[Vt,on,Ht,Rn,h,kt]),mr=(0,e.useMemo)(()=>{const yn=new Map;return kt.forEach((Gn,hn)=>{const $n=on(Gn,hn),Pr=(G?G(Gn):null)||{};yn.set($n,Pr)}),yn},[kt,on,G]),fo=(0,e.useCallback)(yn=>{const Gn=on(yn);let hn;return mr.has(Gn)?hn=mr.get(on(yn)):hn=G?G(yn):void 0,!!(hn!=null&&hn.disabled)},[mr,on]),[ro,Jr]=(0,e.useMemo)(()=>{if(Ht)return[Wt||[],[]];const{checkedKeys:yn,halfCheckedKeys:Gn}=(0,Sr.S)(Wt,!0,cr,fo);return[yn||[],Gn]},[Wt,Ht,cr,fo]),lo=(0,e.useMemo)(()=>{const yn=We==="radio"?ro.slice(0,1):ro;return new Set(yn)},[ro,We]),Bo=(0,e.useMemo)(()=>We==="radio"?new Set:new Set(Jr),[Jr,We]);e.useEffect(()=>{r||rn(Hr)},[!!r]);const gr=(0,e.useCallback)((yn,Gn)=>{let hn,$n;wn(yn),h?(hn=yn,$n=yn.map(Pr=>dn.current.get(Pr))):(hn=[],$n=[],yn.forEach(Pr=>{const Tr=sn(Pr);Tr!==void 0&&(hn.push(Pr),$n.push(Tr))})),rn(hn),me==null||me(hn,$n,{type:Gn})},[rn,sn,me,h]),yr=(0,e.useCallback)((yn,Gn,hn,$n)=>{if(ne){const Pr=hn.map(Tr=>sn(Tr));ne(sn(yn),Gn,Pr,$n)}gr(hn,"single")},[ne,sn,gr]),po=(0,e.useMemo)(()=>!Xe||At?null:(Xe===!0?[Br,Xr,jr]:Xe).map(Gn=>Gn===Br?{key:"all",text:Mn.selectionAll,onSelect(){gr(Vt.map((hn,$n)=>on(hn,$n)).filter(hn=>{const $n=mr.get(hn);return!($n!=null&&$n.disabled)||lo.has(hn)}),"all")}}:Gn===Xr?{key:"invert",text:Mn.selectInvert,onSelect(){const hn=new Set(lo);Jt.forEach((Pr,Tr)=>{const oo=on(Pr,Tr),Qr=mr.get(oo);Qr!=null&&Qr.disabled||(hn.has(oo)?hn.delete(oo):hn.add(oo))});const $n=Array.from(hn);we&&(an.deprecated(!1,"onSelectInvert","onChange"),we($n)),gr($n,"invert")}}:Gn===jr?{key:"none",text:Mn.selectNone,onSelect(){_e==null||_e(),gr(Array.from(lo).filter(hn=>{const $n=mr.get(hn);return $n==null?void 0:$n.disabled}),"none")}}:Gn).map(Gn=>Object.assign(Object.assign({},Gn),{onSelect:function(){for(var hn,$n,Pr=arguments.length,Tr=new Array(Pr),oo=0;oo{var Gn;if(!r)return yn.filter(Ar=>Ar!==rr);let hn=(0,mt.Z)(yn);const $n=new Set(lo),Pr=kt.map(on).filter(Ar=>!mr.get(Ar).disabled),Tr=Pr.every(Ar=>$n.has(Ar)),oo=Pr.some(Ar=>$n.has(Ar)),Qr=()=>{const Ar=[];Tr?Pr.forEach(eo=>{$n.delete(eo),Ar.push(eo)}):Pr.forEach(eo=>{$n.has(eo)||($n.add(eo),Ar.push(eo))});const _r=Array.from($n);Oe==null||Oe(!Tr,_r.map(eo=>sn(eo)),Ar.map(eo=>sn(eo))),gr(_r,"all"),Qt(null)};let Ao,Lo;if(We!=="radio"){let Ar;if(po){const Dr={getPopupContainer:Bn,items:po.map((mo,Ur)=>{const{key:Wo,text:yo,onSelect:Jo}=mo;return{key:Wo!=null?Wo:Ur,onClick:()=>{Jo==null||Jo(Pr)},label:yo}})};Ar=e.createElement("div",{className:`${Rt}-selection-extra`},e.createElement(lr.Z,{menu:Dr,getPopupContainer:Bn},e.createElement("span",null,e.createElement(Jn.Z,null))))}const _r=kt.map((Dr,mo)=>{const Ur=on(Dr,mo),Wo=mr.get(Ur)||{};return Object.assign({checked:$n.has(Ur)},Wo)}).filter(Dr=>{let{disabled:mo}=Dr;return mo}),eo=!!_r.length&&_r.length===kt.length,Ro=eo&&_r.every(Dr=>{let{checked:mo}=Dr;return mo}),So=eo&&_r.some(Dr=>{let{checked:mo}=Dr;return mo});Lo=e.createElement(Nr.default,{checked:eo?Ro:!!kt.length&&Tr,indeterminate:eo?!Ro&&So:!Tr&&oo,onChange:Qr,disabled:kt.length===0||eo,"aria-label":Ar?"Custom selection":"Select all",skipGroup:!0}),Ao=!At&&e.createElement("div",{className:`${Rt}-selection`},Lo,Ar)}let Cn;We==="radio"?Cn=(Ar,_r,eo)=>{const Ro=on(_r,eo),So=$n.has(Ro),Dr=mr.get(Ro);return{node:e.createElement(Ir.ZP,Object.assign({},Dr,{checked:So,onClick:mo=>{var Ur;mo.stopPropagation(),(Ur=Dr==null?void 0:Dr.onClick)===null||Ur===void 0||Ur.call(Dr,mo)},onChange:mo=>{var Ur;$n.has(Ro)||yr(Ro,!0,[Ro],mo.nativeEvent),(Ur=Dr==null?void 0:Dr.onChange)===null||Ur===void 0||Ur.call(Dr,mo)}})),checked:So}}:Cn=(Ar,_r,eo)=>{var Ro;const So=on(_r,eo),Dr=$n.has(So),mo=Bo.has(So),Ur=mr.get(So);let Wo;return qn==="nest"?Wo=mo:Wo=(Ro=Ur==null?void 0:Ur.indeterminate)!==null&&Ro!==void 0?Ro:mo,{node:e.createElement(Nr.default,Object.assign({},Ur,{indeterminate:Wo,checked:Dr,skipGroup:!0,onClick:yo=>{var Jo;yo.stopPropagation(),(Jo=Ur==null?void 0:Ur.onClick)===null||Jo===void 0||Jo.call(Ur,yo)},onChange:yo=>{var Jo;const{nativeEvent:Ia}=yo,{shiftKey:Va}=Ia,so=Pr.findIndex(Qo=>Qo===So),Ua=ro.some(Qo=>Pr.includes(Qo));if(Va&&Ht&&Ua){const Qo=ln(so,Pr,$n),sa=Array.from($n);Ve==null||Ve(!Dr,sa.map(oa=>sn(oa)),Qo.map(oa=>sn(oa))),gr(sa,"multiple")}else{const Qo=ro;if(Ht){const sa=Dr?(0,Cr._5)(Qo,So):(0,Cr.L0)(Qo,So);yr(So,!Dr,sa,Ia)}else{const sa=(0,Sr.S)([].concat((0,mt.Z)(Qo),[So]),!0,cr,fo),{checkedKeys:oa,halfCheckedKeys:_o}=sa;let qo=oa;if(Dr){const ca=new Set(oa);ca.delete(So),qo=(0,Sr.S)(Array.from(ca),{checked:!1,halfCheckedKeys:_o},cr,fo).checkedKeys}yr(So,!Dr,qo,Ia)}}Qt(Dr?null:so),(Jo=Ur==null?void 0:Ur.onChange)===null||Jo===void 0||Jo.call(Ur,yo)}})),checked:Dr}};const Zn=(Ar,_r,eo)=>{const{node:Ro,checked:So}=Cn(Ar,_r,eo);return st?st(So,_r,eo,Ro):Ro};if(!hn.includes(rr))if(hn.findIndex(Ar=>{var _r;return((_r=Ar[vt])===null||_r===void 0?void 0:_r.columnType)==="EXPAND_COLUMN"})===0){const[Ar,..._r]=hn;hn=[Ar,rr].concat((0,mt.Z)(_r))}else hn=[rr].concat((0,mt.Z)(hn));const Zr=hn.indexOf(rr);hn=hn.filter((Ar,_r)=>Ar!==rr||_r===Zr);const ao=hn[Zr-1],Kr=hn[Zr+1];let Ho=Bt;Ho===void 0&&((Kr==null?void 0:Kr.fixed)!==void 0?Ho=Kr.fixed:(ao==null?void 0:ao.fixed)!==void 0&&(Ho=ao.fixed)),Ho&&ao&&((Gn=ao[vt])===null||Gn===void 0?void 0:Gn.columnType)==="EXPAND_COLUMN"&&ao.fixed===void 0&&(ao.fixed=Ho);const bo=M()(`${Rt}-selection-col`,{[`${Rt}-selection-col-with-dropdown`]:Xe&&We==="checkbox"}),ma=()=>r!=null&&r.columnTitle?typeof r.columnTitle=="function"?r.columnTitle(Lo):r.columnTitle:Ao,io={fixed:Ho,width:Fe,className:`${Rt}-selection-column`,title:ma(),render:Zn,onCell:r.onCell,[vt]:{className:bo}};return hn.map(Ar=>Ar===rr?io:Ar)},[on,kt,r,ro,lo,Bo,Fe,po,qn,mr,Ve,yr,fo]),lo]},br=t(2738);function vr(o,r){return o._antProxy=o._antProxy||{},Object.keys(r).forEach(h=>{if(!(h in o._antProxy)){const I=o[h];o._antProxy[h]=I,o[h]=r[h]}}),o}function xo(o,r){return(0,e.useImperativeHandle)(o,()=>{const h=r(),{nativeElement:I}=h;return typeof Proxy!="undefined"?new Proxy(I,{get(z,G){return h[G]?h[G]:Reflect.get(z,G)}}):vr(I,h)})}var zo=t(83010),vo=t(48755),Eo=t(38406),Zo=t(83397),wo=t(31756),kr=t(13783),co=t(85981),to=t(31709),or=t(29787),zr=t(57700);function Wr(o){return r=>{const{prefixCls:h,onExpand:I,record:z,expanded:G,expandable:me}=r,ne=`${h}-row-expand-icon`;return e.createElement("button",{type:"button",onClick:Oe=>{I(z,Oe),Oe.stopPropagation()},className:M()(ne,{[`${ne}-spaced`]:!me,[`${ne}-expanded`]:me&&G,[`${ne}-collapsed`]:me&&!G}),"aria-label":G?o.collapse:o.expand,"aria-expanded":G})}}var gn=Wr;function Tn(o){return(h,I)=>{const z=h.querySelector(`.${o}-container`);let G=I;if(z){const me=getComputedStyle(z),ne=parseInt(me.borderLeftWidth,10),Oe=parseInt(me.borderRightWidth,10);G=I-ne-Oe}return G}}const mn=(o,r)=>"key"in o&&o.key!==void 0&&o.key!==null?o.key:o.dataIndex?Array.isArray(o.dataIndex)?o.dataIndex.join("."):o.dataIndex:r;function Pn(o,r){return r?`${r}-${o}`:`${o}`}const fr=(o,r)=>typeof o=="function"?o(r):o,Or=(o,r)=>{const h=fr(o,r);return Object.prototype.toString.call(h)==="[object Object]"?"":h};var $o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},nn=$o,En=t(7657),_n=function(r,h){return e.createElement(En.Z,(0,D.Z)({},r,{ref:h,icon:nn}))},wr=e.forwardRef(_n),Rr=wr,Do=t(9981),Io=t(40192);function ko(o){const r=e.useRef(o),h=(0,Io.Z)();return[()=>r.current,I=>{r.current=I,h()}]}var ar=t(7939),Ln=t(584),Vr=t(93041),qr=t(78857),go=t(18287),Mo=t(47472),Xo=t(49397),aa=o=>{const{value:r,filterSearch:h,tablePrefixCls:I,locale:z,onChange:G}=o;return h?e.createElement("div",{className:`${I}-filter-dropdown-search`},e.createElement(Xo.Z,{prefix:e.createElement(Mo.Z,null),placeholder:z.filterSearchPlaceholder,onChange:G,value:r,htmlSize:1,className:`${I}-filter-dropdown-search-input`})):null},No=t(10228);const ba=o=>{const{keyCode:r}=o;r===No.Z.ENTER&&o.stopPropagation()};var Sa=e.forwardRef((o,r)=>e.createElement("div",{className:o.className,onClick:h=>h.stopPropagation(),onKeyDown:ba,ref:r},o.children));function ta(o){let r=[];return(o||[]).forEach(h=>{let{value:I,children:z}=h;r.push(I),z&&(r=[].concat((0,mt.Z)(r),(0,mt.Z)(ta(z))))}),r}function za(o){return o.some(r=>{let{children:h}=r;return h})}function xa(o,r){return typeof r=="string"||typeof r=="number"?r==null?void 0:r.toString().toLowerCase().includes(o.trim().toLowerCase()):!1}function Ta(o){let{filters:r,prefixCls:h,filteredKeys:I,filterMultiple:z,searchValue:G,filterSearch:me}=o;return r.map((ne,Oe)=>{const we=String(ne.value);if(ne.children)return{key:we||Oe,label:ne.text,popupClassName:`${h}-dropdown-submenu`,children:Ta({filters:ne.children,prefixCls:h,filteredKeys:I,filterMultiple:z,searchValue:G,filterSearch:me})};const _e=z?Nr.default:Ir.ZP,Ve={key:ne.value!==void 0?we:Oe,label:e.createElement(e.Fragment,null,e.createElement(_e,{checked:I.includes(we)}),e.createElement("span",null,ne.text))};return G.trim()?typeof me=="function"?me(G,ne)?Ve:null:xa(G,ne.text)?Ve:null:Ve})}function Pa(o){return o||[]}var Ka=o=>{var r,h,I,z;const{tablePrefixCls:G,prefixCls:me,column:ne,dropdownPrefixCls:Oe,columnKey:we,filterOnClose:_e,filterMultiple:Ve,filterMode:Fe="menu",filterSearch:We=!1,filterState:Xe,triggerFilter:Bt,locale:st,children:At,getPopupContainer:Ht,rootClassName:Rt}=o,{filterResetToDefaultFilteredValue:Vt,defaultFilteredValue:Jt,filterDropdownProps:sn={},filterDropdownOpen:on,filterDropdownVisible:qn,onFilterDropdownVisibleChange:Rn,onFilterDropdownOpenChange:Mn}=ne,[Bn,an]=e.useState(!1),ln=!!(Xe&&(!((r=Xe.filteredKeys)===null||r===void 0)&&r.length||Xe.forceFiltered)),Qt=Cn=>{var Zn;an(Cn),(Zn=sn.onOpenChange)===null||Zn===void 0||Zn.call(sn,Cn),Mn==null||Mn(Cn),Rn==null||Rn(Cn)},Wt=(z=(I=(h=sn.open)!==null&&h!==void 0?h:on)!==null&&I!==void 0?I:qn)!==null&&z!==void 0?z:Bn,rn=Xe==null?void 0:Xe.filteredKeys,[dn,wn]=ko(Pa(rn)),kt=Cn=>{let{selectedKeys:Zn}=Cn;wn(Zn)},cr=(Cn,Zn)=>{let{node:Zr,checked:ao}=Zn;kt(Ve?{selectedKeys:Cn}:{selectedKeys:ao&&Zr.key?[Zr.key]:[]})};e.useEffect(()=>{Bn&&kt({selectedKeys:Pa(rn)})},[rn]);const[mr,fo]=e.useState([]),ro=Cn=>{fo(Cn)},[Jr,lo]=e.useState(""),Bo=Cn=>{const{value:Zn}=Cn.target;lo(Zn)};e.useEffect(()=>{Bn||lo("")},[Bn]);const gr=Cn=>{const Zn=Cn!=null&&Cn.length?Cn:null;if(Zn===null&&(!Xe||!Xe.filteredKeys)||(0,f.Z)(Zn,Xe==null?void 0:Xe.filteredKeys,!0))return null;Bt({column:ne,key:we,filteredKeys:Zn})},yr=()=>{Qt(!1),gr(dn())},po=function(){let{confirm:Cn,closeDropdown:Zn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Cn&&gr([]),Zn&&Qt(!1),lo(""),wn(Vt?(Jt||[]).map(Zr=>String(Zr)):[])},Oo=function(){let{closeDropdown:Cn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Cn&&Qt(!1),gr(dn())},yn=(Cn,Zn)=>{Zn.source==="trigger"&&(Cn&&rn!==void 0&&wn(Pa(rn)),Qt(Cn),!Cn&&!ne.filterDropdown&&_e&&yr())},Gn=M()({[`${Oe}-menu-without-submenu`]:!za(ne.filters||[])}),hn=Cn=>{if(Cn.target.checked){const Zn=ta(ne==null?void 0:ne.filters).map(Zr=>String(Zr));wn(Zn)}else wn([])},$n=Cn=>{let{filters:Zn}=Cn;return(Zn||[]).map((Zr,ao)=>{const Kr=String(Zr.value),Ho={title:Zr.text,key:Zr.value!==void 0?Kr:String(ao)};return Zr.children&&(Ho.children=$n({filters:Zr.children})),Ho})},Pr=Cn=>{var Zn;return Object.assign(Object.assign({},Cn),{text:Cn.title,value:Cn.key,children:((Zn=Cn.children)===null||Zn===void 0?void 0:Zn.map(Zr=>Pr(Zr)))||[]})};let Tr;const{direction:oo,renderEmpty:Qr}=e.useContext(vo.E_);if(typeof ne.filterDropdown=="function")Tr=ne.filterDropdown({prefixCls:`${Oe}-custom`,setSelectedKeys:Cn=>kt({selectedKeys:Cn}),selectedKeys:dn(),confirm:Oo,clearFilters:po,filters:ne.filters,visible:Wt,close:()=>{Qt(!1)}});else if(ne.filterDropdown)Tr=ne.filterDropdown;else{const Cn=dn()||[],Zn=()=>{var ao,Kr;const Ho=(ao=Qr==null?void 0:Qr("Table.filter"))!==null&&ao!==void 0?ao:e.createElement(Ln.Z,{image:Ln.Z.PRESENTED_IMAGE_SIMPLE,description:st.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((ne.filters||[]).length===0)return Ho;if(Fe==="tree")return e.createElement(e.Fragment,null,e.createElement(aa,{filterSearch:We,value:Jr,onChange:Bo,tablePrefixCls:G,locale:st}),e.createElement("div",{className:`${G}-filter-dropdown-tree`},Ve?e.createElement(Nr.default,{checked:Cn.length===ta(ne.filters).length,indeterminate:Cn.length>0&&Cn.lengthtypeof We=="function"?We(Jr,Pr(io)):xa(Jr,io.title):void 0})));const bo=Ta({filters:ne.filters||[],filterSearch:We,prefixCls:me,filteredKeys:dn(),filterMultiple:Ve,searchValue:Jr}),ma=bo.every(io=>io===null);return e.createElement(e.Fragment,null,e.createElement(aa,{filterSearch:We,value:Jr,onChange:Bo,tablePrefixCls:G,locale:st}),ma?Ho:e.createElement(Vr.default,{selectable:!0,multiple:Ve,prefixCls:`${Oe}-menu`,className:Gn,onSelect:kt,onDeselect:kt,selectedKeys:Cn,getPopupContainer:Ht,openKeys:mr,onOpenChange:ro,items:bo}))},Zr=()=>Vt?(0,f.Z)((Jt||[]).map(ao=>String(ao)),Cn,!0):Cn.length===0;Tr=e.createElement(e.Fragment,null,Zn(),e.createElement("div",{className:`${me}-dropdown-btns`},e.createElement(ar.ZP,{type:"link",size:"small",disabled:Zr(),onClick:()=>po()},st.filterReset),e.createElement(ar.ZP,{type:"primary",size:"small",onClick:yr},st.filterConfirm)))}ne.filterDropdown&&(Tr=e.createElement(qr.J,{selectable:void 0},Tr)),Tr=e.createElement(Sa,{className:`${me}-dropdown`},Tr);const Ao=()=>{let Cn;return typeof ne.filterIcon=="function"?Cn=ne.filterIcon(ln):ne.filterIcon?Cn=ne.filterIcon:Cn=e.createElement(Rr,null),e.createElement("span",{role:"button",tabIndex:-1,className:M()(`${me}-trigger`,{active:ln}),onClick:Zn=>{Zn.stopPropagation()}},Cn)},Lo=(0,Do.Z)({trigger:["click"],placement:oo==="rtl"?"bottomLeft":"bottomRight",children:Ao(),getPopupContainer:Ht},Object.assign(Object.assign({},sn),{rootClassName:M()(Rt,sn.rootClassName),open:Wt,onOpenChange:yn,dropdownRender:()=>typeof(sn==null?void 0:sn.dropdownRender)=="function"?sn.dropdownRender(Tr):Tr}));return e.createElement("div",{className:`${me}-column`},e.createElement("span",{className:`${G}-column-title`},At),e.createElement(lr.Z,Object.assign({},Lo)))};const ya=(o,r,h)=>{let I=[];return(o||[]).forEach((z,G)=>{var me;const ne=Pn(G,h);if(z.filters||"filterDropdown"in z||"onFilter"in z)if("filteredValue"in z){let Oe=z.filteredValue;"filterDropdown"in z||(Oe=(me=Oe==null?void 0:Oe.map(String))!==null&&me!==void 0?me:Oe),I.push({column:z,key:mn(z,ne),filteredKeys:Oe,forceFiltered:z.filtered})}else I.push({column:z,key:mn(z,ne),filteredKeys:r&&z.defaultFilteredValue?z.defaultFilteredValue:void 0,forceFiltered:z.filtered});"children"in z&&(I=[].concat((0,mt.Z)(I),(0,mt.Z)(ya(z.children,r,ne))))}),I};function ia(o,r,h,I,z,G,me,ne,Oe){return h.map((we,_e)=>{const Ve=Pn(_e,ne),{filterOnClose:Fe=!0,filterMultiple:We=!0,filterMode:Xe,filterSearch:Bt}=we;let st=we;if(st.filters||st.filterDropdown){const At=mn(st,Ve),Ht=I.find(Rt=>{let{key:Vt}=Rt;return At===Vt});st=Object.assign(Object.assign({},st),{title:Rt=>e.createElement(Ka,{tablePrefixCls:o,prefixCls:`${o}-filter`,dropdownPrefixCls:r,column:st,columnKey:At,filterState:Ht,filterOnClose:Fe,filterMultiple:We,filterMode:Xe,filterSearch:Bt,triggerFilter:G,locale:z,getPopupContainer:me,rootClassName:Oe},fr(we.title,Rt))})}return"children"in st&&(st=Object.assign(Object.assign({},st),{children:ia(o,r,st.children,I,z,G,me,Ve,Oe)})),st})}const hr=o=>{const r={};return o.forEach(h=>{let{key:I,filteredKeys:z,column:G}=h;const me=I,{filters:ne,filterDropdown:Oe}=G;if(Oe)r[me]=z||null;else if(Array.isArray(z)){const we=ta(ne);r[me]=we.filter(_e=>z.includes(String(_e)))}else r[me]=null}),r},sr=(o,r,h)=>r.reduce((z,G)=>{const{column:{onFilter:me,filters:ne},filteredKeys:Oe}=G;return me&&Oe&&Oe.length?z.map(we=>Object.assign({},we)).filter(we=>Oe.some(_e=>{const Ve=ta(ne),Fe=Ve.findIndex(Xe=>String(Xe)===String(_e)),We=Fe!==-1?Ve[Fe]:_e;return we[h]&&(we[h]=sr(we[h],r,h)),me(We,we)})):z},o),To=o=>o.flatMap(r=>"children"in r?[r].concat((0,mt.Z)(To(r.children||[]))):[r]);var uo=o=>{const{prefixCls:r,dropdownPrefixCls:h,mergedColumns:I,onFilterChange:z,getPopupContainer:G,locale:me,rootClassName:ne}=o,Oe=(0,Er.ln)("Table"),we=e.useMemo(()=>To(I||[]),[I]),[_e,Ve]=e.useState(()=>ya(we,!0)),Fe=e.useMemo(()=>{const st=ya(we,!1);if(st.length===0)return st;let At=!0,Ht=!0;if(st.forEach(Rt=>{let{filteredKeys:Vt}=Rt;Vt!==void 0?At=!1:Ht=!1}),At){const Rt=(we||[]).map((Vt,Jt)=>mn(Vt,Pn(Jt)));return _e.filter(Vt=>{let{key:Jt}=Vt;return Rt.includes(Jt)}).map(Vt=>{const Jt=we[Rt.findIndex(sn=>sn===Vt.key)];return Object.assign(Object.assign({},Vt),{column:Object.assign(Object.assign({},Vt.column),Jt),forceFiltered:Jt.filtered})})}return st},[we,_e]),We=e.useMemo(()=>hr(Fe),[Fe]),Xe=st=>{const At=Fe.filter(Ht=>{let{key:Rt}=Ht;return Rt!==st.key});At.push(st),Ve(At),z(hr(At),At)};return[st=>ia(r,h,st,Fe,me,Xe,G,void 0,ne),Fe,We]},ra=(o,r,h)=>{const I=e.useRef({});function z(G){var me;if(!I.current||I.current.data!==o||I.current.childrenColumnName!==r||I.current.getRowKey!==h){let Oe=function(we){we.forEach((_e,Ve)=>{const Fe=h(_e,Ve);ne.set(Fe,_e),_e&&typeof _e=="object"&&r in _e&&Oe(_e[r]||[])})};const ne=new Map;Oe(o),I.current={data:o,childrenColumnName:r,kvMap:ne,getRowKey:h}}return(me=I.current.kvMap)===null||me===void 0?void 0:me.get(G)}return[z]},na=function(o,r){var h={};for(var I in o)Object.prototype.hasOwnProperty.call(o,I)&&r.indexOf(I)<0&&(h[I]=o[I]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,I=Object.getOwnPropertySymbols(o);z{const G=o[z];typeof G!="function"&&(h[z]=G)}),h}function va(o,r,h){const I=h&&typeof h=="object"?h:{},{total:z=0}=I,G=na(I,["total"]),[me,ne]=(0,e.useState)(()=>({current:"defaultCurrent"in G?G.defaultCurrent:1,pageSize:"defaultPageSize"in G?G.defaultPageSize:la})),Oe=(0,Do.Z)(me,G,{total:z>0?z:o}),we=Math.ceil((z||o)/Oe.pageSize);Oe.current>we&&(Oe.current=we||1);const _e=(Fe,We)=>{ne({current:Fe!=null?Fe:1,pageSize:We||Oe.pageSize})},Ve=(Fe,We)=>{var Xe;h&&((Xe=h.onChange)===null||Xe===void 0||Xe.call(h,Fe,We)),_e(Fe,We),r(Fe,We||(Oe==null?void 0:Oe.pageSize))};return h===!1?[{},()=>{}]:[Object.assign(Object.assign({},Oe),{onChange:Ve}),_e]}var Ea=va,wa=t(89489),ti=t(59477),Xa=t(25399);const no="ascend",Fr="descend",Yr=o=>typeof o.sorter=="object"&&typeof o.sorter.multiple=="number"?o.sorter.multiple:!1,Go=o=>typeof o=="function"?o:o&&typeof o=="object"&&o.compare?o.compare:!1,Yo=(o,r)=>r?o[o.indexOf(r)+1]:o[0],$a=(o,r,h)=>{let I=[];const z=(G,me)=>{I.push({column:G,key:mn(G,me),multiplePriority:Yr(G),sortOrder:G.sortOrder})};return(o||[]).forEach((G,me)=>{const ne=Pn(me,h);G.children?("sortOrder"in G&&z(G,ne),I=[].concat((0,mt.Z)(I),(0,mt.Z)($a(G.children,r,ne)))):G.sorter&&("sortOrder"in G?z(G,ne):r&&G.defaultSortOrder&&I.push({column:G,key:mn(G,ne),multiplePriority:Yr(G),sortOrder:G.defaultSortOrder}))}),I},Za=(o,r,h,I,z,G,me,ne)=>(r||[]).map((we,_e)=>{const Ve=Pn(_e,ne);let Fe=we;if(Fe.sorter){const We=Fe.sortDirections||z,Xe=Fe.showSorterTooltip===void 0?me:Fe.showSorterTooltip,Bt=mn(Fe,Ve),st=h.find(Rn=>{let{key:Mn}=Rn;return Mn===Bt}),At=st?st.sortOrder:null,Ht=Yo(We,At);let Rt;if(we.sortIcon)Rt=we.sortIcon({sortOrder:At});else{const Rn=We.includes(no)&&e.createElement(ti.Z,{className:M()(`${o}-column-sorter-up`,{active:At===no})}),Mn=We.includes(Fr)&&e.createElement(wa.Z,{className:M()(`${o}-column-sorter-down`,{active:At===Fr})});Rt=e.createElement("span",{className:M()(`${o}-column-sorter`,{[`${o}-column-sorter-full`]:!!(Rn&&Mn)})},e.createElement("span",{className:`${o}-column-sorter-inner`,"aria-hidden":"true"},Rn,Mn))}const{cancelSort:Vt,triggerAsc:Jt,triggerDesc:sn}=G||{};let on=Vt;Ht===Fr?on=sn:Ht===no&&(on=Jt);const qn=typeof Xe=="object"?Object.assign({title:on},Xe):{title:on};Fe=Object.assign(Object.assign({},Fe),{className:M()(Fe.className,{[`${o}-column-sort`]:At}),title:Rn=>{const Mn=`${o}-column-sorters`,Bn=e.createElement("span",{className:`${o}-column-title`},fr(we.title,Rn)),an=e.createElement("div",{className:Mn},Bn,Rt);return Xe?typeof Xe!="boolean"&&(Xe==null?void 0:Xe.target)==="sorter-icon"?e.createElement("div",{className:`${Mn} ${o}-column-sorters-tooltip-target-sorter`},Bn,e.createElement(Xa.Z,Object.assign({},qn),Rt)):e.createElement(Xa.Z,Object.assign({},qn),an):an},onHeaderCell:Rn=>{var Mn;const Bn=((Mn=we.onHeaderCell)===null||Mn===void 0?void 0:Mn.call(we,Rn))||{},an=Bn.onClick,ln=Bn.onKeyDown;Bn.onClick=rn=>{I({column:we,key:Bt,sortOrder:Ht,multiplePriority:Yr(we)}),an==null||an(rn)},Bn.onKeyDown=rn=>{rn.keyCode===No.Z.ENTER&&(I({column:we,key:Bt,sortOrder:Ht,multiplePriority:Yr(we)}),ln==null||ln(rn))};const Qt=Or(we.title,{}),Wt=Qt==null?void 0:Qt.toString();return At&&(Bn["aria-sort"]=At==="ascend"?"ascending":"descending"),Bn["aria-label"]=Wt||"",Bn.className=M()(Bn.className,`${o}-column-has-sorters`),Bn.tabIndex=0,we.ellipsis&&(Bn.title=(Qt!=null?Qt:"").toString()),Bn}})}return"children"in Fe&&(Fe=Object.assign(Object.assign({},Fe),{children:Za(o,Fe.children,h,I,z,G,me,Ve)})),Fe}),Ya=o=>{const{column:r,sortOrder:h}=o;return{column:r,order:h,field:r.dataIndex,columnKey:r.key}},ja=o=>{const r=o.filter(h=>{let{sortOrder:I}=h;return I}).map(Ya);if(r.length===0&&o.length){const h=o.length-1;return Object.assign(Object.assign({},Ya(o[h])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return r.length<=1?r[0]||{}:r},Da=(o,r,h)=>{const I=r.slice().sort((me,ne)=>ne.multiplePriority-me.multiplePriority),z=o.slice(),G=I.filter(me=>{let{column:{sorter:ne},sortOrder:Oe}=me;return Go(ne)&&Oe});return G.length?z.sort((me,ne)=>{for(let Oe=0;Oe{const ne=me[h];return ne?Object.assign(Object.assign({},me),{[h]:Da(ne,r,h)}):me}):z};var Ha=o=>{const{prefixCls:r,mergedColumns:h,sortDirections:I,tableLocale:z,showSorterTooltip:G,onSorterChange:me}=o,[ne,Oe]=e.useState($a(h,!0)),we=(Bt,st)=>{const At=[];return Bt.forEach((Ht,Rt)=>{const Vt=Pn(Rt,st);if(At.push(mn(Ht,Vt)),Array.isArray(Ht.children)){const Jt=we(Ht.children,Vt);At.push.apply(At,(0,mt.Z)(Jt))}}),At},_e=e.useMemo(()=>{let Bt=!0;const st=$a(h,!1);if(!st.length){const Vt=we(h);return ne.filter(Jt=>{let{key:sn}=Jt;return Vt.includes(sn)})}const At=[];function Ht(Vt){Bt?At.push(Vt):At.push(Object.assign(Object.assign({},Vt),{sortOrder:null}))}let Rt=null;return st.forEach(Vt=>{Rt===null?(Ht(Vt),Vt.sortOrder&&(Vt.multiplePriority===!1?Bt=!1:Rt=!0)):(Rt&&Vt.multiplePriority!==!1||(Bt=!1),Ht(Vt))}),At},[h,ne]),Ve=e.useMemo(()=>{var Bt,st;const At=_e.map(Ht=>{let{column:Rt,sortOrder:Vt}=Ht;return{column:Rt,order:Vt}});return{sortColumns:At,sortColumn:(Bt=At[0])===null||Bt===void 0?void 0:Bt.column,sortOrder:(st=At[0])===null||st===void 0?void 0:st.order}},[_e]),Fe=Bt=>{let st;Bt.multiplePriority===!1||!_e.length||_e[0].multiplePriority===!1?st=[Bt]:st=[].concat((0,mt.Z)(_e.filter(At=>{let{key:Ht}=At;return Ht!==Bt.key})),[Bt]),Oe(st),me(ja(st),st)};return[Bt=>Za(r,Bt,_e,Fe,I,z,G),_e,Ve,()=>ja(_e)]};const Ja=(o,r)=>o.map(I=>{const z=Object.assign({},I);return z.title=fr(I.title,r),"children"in z&&(z.children=Ja(z.children,r)),z});var Ri=o=>[e.useCallback(h=>Ja(h,o),[o])],Pi=ut((o,r)=>{const{_renderTimes:h}=o,{_renderTimes:I}=r;return h!==I}),Mi=nt((o,r)=>{const{_renderTimes:h}=o,{_renderTimes:I}=r;return h!==I}),jn=t(36237),Wa=t(17835),Fa=t(63356),Ni=t(16931),Ti=t(51636),Zi=o=>{const{componentCls:r,lineWidth:h,lineType:I,tableBorderColor:z,tableHeaderBg:G,tablePaddingVertical:me,tablePaddingHorizontal:ne,calc:Oe}=o,we=`${(0,jn.unit)(h)} ${I} ${z}`,_e=(Ve,Fe,We)=>({[`&${r}-${Ve}`]:{[`> ${r}-container`]:{[`> ${r}-content, > ${r}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${r}-expanded-row-fixed`]:{margin:`${(0,jn.unit)(Oe(Fe).mul(-1).equal())} ${(0,jn.unit)(Oe(Oe(We).add(h)).mul(-1).equal())}`}}}}}});return{[`${r}-wrapper`]:{[`${r}${r}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${r}-title`]:{border:we,borderBottom:0},[`> ${r}-container`]:{borderInlineStart:we,borderTop:we,[` > ${r}-content, > ${r}-header, @@ -105,7 +105,7 @@ `]:{"> th, > td":{borderInlineEnd:0}}}}}},_e("middle",o.tablePaddingVerticalMiddle,o.tablePaddingHorizontalMiddle)),_e("small",o.tablePaddingVerticalSmall,o.tablePaddingHorizontalSmall)),{[`> ${r}-footer`]:{border:we,borderTop:0}}),[`${r}-cell`]:{[`${r}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,jn.unit)(h)} 0 ${(0,jn.unit)(h)} ${G}`}},[`${r}-bordered ${r}-cell-scrollbar`]:{borderInlineEnd:we}}}},Di=o=>{const{componentCls:r}=o;return{[`${r}-wrapper`]:{[`${r}-cell-ellipsis`]:Object.assign(Object.assign({},Fa.vS),{wordBreak:"keep-all",[` &${r}-cell-fix-left-last, &${r}-cell-fix-right-first - `]:{overflow:"visible",[`${r}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${r}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Bi=o=>{const{componentCls:r}=o;return{[`${r}-wrapper`]:{[`${r}-tbody > tr${r}-placeholder`]:{textAlign:"center",color:o.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:o.colorBgContainer}}}}},Ai=o=>{const{componentCls:r,antCls:h,motionDurationSlow:I,lineWidth:z,paddingXS:G,lineType:me,tableBorderColor:ne,tableExpandIconBg:Oe,tableExpandColumnWidth:we,borderRadius:_e,tablePaddingVertical:Ve,tablePaddingHorizontal:Fe,tableExpandedRowBg:We,paddingXXS:Ye,expandIconMarginTop:Bt,expandIconSize:st,expandIconHalfInner:At,expandIconScale:Ht,calc:Rt}=o,Vt=`${(0,jn.unit)(z)} ${me} ${ne}`,Jt=Rt(Ye).sub(z).equal();return{[`${r}-wrapper`]:{[`${r}-expand-icon-col`]:{width:we},[`${r}-row-expand-icon-cell`]:{textAlign:"center",[`${r}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${r}-row-indent`]:{height:1,float:"left"},[`${r}-row-expand-icon`]:Object.assign(Object.assign({},(0,Fa.Nd)(o)),{position:"relative",float:"left",width:st,height:st,color:"inherit",lineHeight:(0,jn.unit)(st),background:Oe,border:Vt,borderRadius:_e,transform:`scale(${Ht})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${I} ease-out`,content:'""'},"&::before":{top:At,insetInlineEnd:Jt,insetInlineStart:Jt,height:z},"&::after":{top:Jt,bottom:Jt,insetInlineStart:At,width:z,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${r}-row-indent + ${r}-row-expand-icon`]:{marginTop:Bt,marginInlineEnd:G},[`tr${r}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:We}},[`${h}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${r}-expanded-row-fixed`]:{position:"relative",margin:`${(0,jn.unit)(Rt(Ve).mul(-1).equal())} ${(0,jn.unit)(Rt(Fe).mul(-1).equal())}`,padding:`${(0,jn.unit)(Ve)} ${(0,jn.unit)(Fe)}`}}}},Li=o=>{const{componentCls:r,antCls:h,iconCls:I,tableFilterDropdownWidth:z,tableFilterDropdownSearchWidth:G,paddingXXS:me,paddingXS:ne,colorText:Oe,lineWidth:we,lineType:_e,tableBorderColor:Ve,headerIconColor:Fe,fontSizeSM:We,tablePaddingHorizontal:Ye,borderRadius:Bt,motionDurationSlow:st,colorTextDescription:At,colorPrimary:Ht,tableHeaderFilterActiveBg:Rt,colorTextDisabled:Vt,tableFilterDropdownBg:Jt,tableFilterDropdownHeight:sn,controlItemBgHover:on,controlItemBgActive:qn,boxShadowSecondary:Rn,filterDropdownMenuBg:Mn,calc:Bn}=o,an=`${h}-dropdown`,ln=`${r}-filter-dropdown`,Qt=`${h}-tree`,Wt=`${(0,jn.unit)(we)} ${_e} ${Ve}`;return[{[`${r}-wrapper`]:{[`${r}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${r}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Bn(me).mul(-1).equal(),marginInline:`${(0,jn.unit)(me)} ${(0,jn.unit)(Bn(Ye).div(2).mul(-1).equal())}`,padding:`0 ${(0,jn.unit)(me)}`,color:Fe,fontSize:We,borderRadius:Bt,cursor:"pointer",transition:`all ${st}`,"&:hover":{color:At,background:Rt},"&.active":{color:Ht}}}},{[`${h}-dropdown`]:{[ln]:Object.assign(Object.assign({},(0,Fa.Wf)(o)),{minWidth:z,backgroundColor:Jt,borderRadius:Bt,boxShadow:Rn,overflow:"hidden",[`${an}-menu`]:{maxHeight:sn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Mn,"&:empty::after":{display:"block",padding:`${(0,jn.unit)(ne)} 0`,color:Vt,fontSize:We,textAlign:"center",content:'"Not Found"'}},[`${ln}-tree`]:{paddingBlock:`${(0,jn.unit)(ne)} 0`,paddingInline:ne,[Qt]:{padding:0},[`${Qt}-treenode ${Qt}-node-content-wrapper:hover`]:{backgroundColor:on},[`${Qt}-treenode-checkbox-checked ${Qt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:qn}}},[`${ln}-search`]:{padding:ne,borderBottom:Wt,"&-input":{input:{minWidth:G},[I]:{color:Vt}}},[`${ln}-checkall`]:{width:"100%",marginBottom:me,marginInlineStart:me},[`${ln}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,jn.unit)(Bn(ne).sub(we).equal())} ${(0,jn.unit)(ne)}`,overflow:"hidden",borderTop:Wt}})}},{[`${h}-dropdown ${ln}, ${ln}-submenu`]:{[`${h}-checkbox-wrapper + span`]:{paddingInlineStart:ne,color:Oe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},zi=o=>{const{componentCls:r,lineWidth:h,colorSplit:I,motionDurationSlow:z,zIndexTableFixed:G,tableBg:me,zIndexTableSticky:ne,calc:Oe}=o,we=I;return{[`${r}-wrapper`]:{[` + `]:{overflow:"visible",[`${r}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${r}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Bi=o=>{const{componentCls:r}=o;return{[`${r}-wrapper`]:{[`${r}-tbody > tr${r}-placeholder`]:{textAlign:"center",color:o.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:o.colorBgContainer}}}}},Ai=o=>{const{componentCls:r,antCls:h,motionDurationSlow:I,lineWidth:z,paddingXS:G,lineType:me,tableBorderColor:ne,tableExpandIconBg:Oe,tableExpandColumnWidth:we,borderRadius:_e,tablePaddingVertical:Ve,tablePaddingHorizontal:Fe,tableExpandedRowBg:We,paddingXXS:Xe,expandIconMarginTop:Bt,expandIconSize:st,expandIconHalfInner:At,expandIconScale:Ht,calc:Rt}=o,Vt=`${(0,jn.unit)(z)} ${me} ${ne}`,Jt=Rt(Xe).sub(z).equal();return{[`${r}-wrapper`]:{[`${r}-expand-icon-col`]:{width:we},[`${r}-row-expand-icon-cell`]:{textAlign:"center",[`${r}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${r}-row-indent`]:{height:1,float:"left"},[`${r}-row-expand-icon`]:Object.assign(Object.assign({},(0,Fa.Nd)(o)),{position:"relative",float:"left",width:st,height:st,color:"inherit",lineHeight:(0,jn.unit)(st),background:Oe,border:Vt,borderRadius:_e,transform:`scale(${Ht})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${I} ease-out`,content:'""'},"&::before":{top:At,insetInlineEnd:Jt,insetInlineStart:Jt,height:z},"&::after":{top:Jt,bottom:Jt,insetInlineStart:At,width:z,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${r}-row-indent + ${r}-row-expand-icon`]:{marginTop:Bt,marginInlineEnd:G},[`tr${r}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:We}},[`${h}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${r}-expanded-row-fixed`]:{position:"relative",margin:`${(0,jn.unit)(Rt(Ve).mul(-1).equal())} ${(0,jn.unit)(Rt(Fe).mul(-1).equal())}`,padding:`${(0,jn.unit)(Ve)} ${(0,jn.unit)(Fe)}`}}}},Li=o=>{const{componentCls:r,antCls:h,iconCls:I,tableFilterDropdownWidth:z,tableFilterDropdownSearchWidth:G,paddingXXS:me,paddingXS:ne,colorText:Oe,lineWidth:we,lineType:_e,tableBorderColor:Ve,headerIconColor:Fe,fontSizeSM:We,tablePaddingHorizontal:Xe,borderRadius:Bt,motionDurationSlow:st,colorTextDescription:At,colorPrimary:Ht,tableHeaderFilterActiveBg:Rt,colorTextDisabled:Vt,tableFilterDropdownBg:Jt,tableFilterDropdownHeight:sn,controlItemBgHover:on,controlItemBgActive:qn,boxShadowSecondary:Rn,filterDropdownMenuBg:Mn,calc:Bn}=o,an=`${h}-dropdown`,ln=`${r}-filter-dropdown`,Qt=`${h}-tree`,Wt=`${(0,jn.unit)(we)} ${_e} ${Ve}`;return[{[`${r}-wrapper`]:{[`${r}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${r}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Bn(me).mul(-1).equal(),marginInline:`${(0,jn.unit)(me)} ${(0,jn.unit)(Bn(Xe).div(2).mul(-1).equal())}`,padding:`0 ${(0,jn.unit)(me)}`,color:Fe,fontSize:We,borderRadius:Bt,cursor:"pointer",transition:`all ${st}`,"&:hover":{color:At,background:Rt},"&.active":{color:Ht}}}},{[`${h}-dropdown`]:{[ln]:Object.assign(Object.assign({},(0,Fa.Wf)(o)),{minWidth:z,backgroundColor:Jt,borderRadius:Bt,boxShadow:Rn,overflow:"hidden",[`${an}-menu`]:{maxHeight:sn,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Mn,"&:empty::after":{display:"block",padding:`${(0,jn.unit)(ne)} 0`,color:Vt,fontSize:We,textAlign:"center",content:'"Not Found"'}},[`${ln}-tree`]:{paddingBlock:`${(0,jn.unit)(ne)} 0`,paddingInline:ne,[Qt]:{padding:0},[`${Qt}-treenode ${Qt}-node-content-wrapper:hover`]:{backgroundColor:on},[`${Qt}-treenode-checkbox-checked ${Qt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:qn}}},[`${ln}-search`]:{padding:ne,borderBottom:Wt,"&-input":{input:{minWidth:G},[I]:{color:Vt}}},[`${ln}-checkall`]:{width:"100%",marginBottom:me,marginInlineStart:me},[`${ln}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,jn.unit)(Bn(ne).sub(we).equal())} ${(0,jn.unit)(ne)}`,overflow:"hidden",borderTop:Wt}})}},{[`${h}-dropdown ${ln}, ${ln}-submenu`]:{[`${h}-checkbox-wrapper + span`]:{paddingInlineStart:ne,color:Oe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},zi=o=>{const{componentCls:r,lineWidth:h,colorSplit:I,motionDurationSlow:z,zIndexTableFixed:G,tableBg:me,zIndexTableSticky:ne,calc:Oe}=o,we=I;return{[`${r}-wrapper`]:{[` ${r}-cell-fix-left, ${r}-cell-fix-right `]:{position:"sticky !important",zIndex:G,background:me},[` @@ -125,11 +125,11 @@ ${r}-cell-fix-left-last::after, ${r}-cell-fix-right-first::after, ${r}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},Ki=o=>{const{componentCls:r,antCls:h,margin:I}=o;return{[`${r}-wrapper`]:{[`${r}-pagination${h}-pagination`]:{margin:`${(0,jn.unit)(I)} 0`},[`${r}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:o.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ji=o=>{const{componentCls:r,tableRadius:h}=o;return{[`${r}-wrapper`]:{[r]:{[`${r}-title, ${r}-header`]:{borderRadius:`${(0,jn.unit)(h)} ${(0,jn.unit)(h)} 0 0`},[`${r}-title + ${r}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${r}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:h,borderStartEndRadius:h,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:h},"> *:last-child":{borderStartEndRadius:h}}},"&-footer":{borderRadius:`0 0 ${(0,jn.unit)(h)} ${(0,jn.unit)(h)}`}}}}},Hi=o=>{const{componentCls:r}=o;return{[`${r}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${r}-pagination-left`]:{justifyContent:"flex-end"},[`${r}-pagination-right`]:{justifyContent:"flex-start"},[`${r}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${r}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${r}-row-indent`]:{float:"right"}}}}},Wi=o=>{const{componentCls:r,antCls:h,iconCls:I,fontSizeIcon:z,padding:G,paddingXS:me,headerIconColor:ne,headerIconHoverColor:Oe,tableSelectionColumnWidth:we,tableSelectedRowBg:_e,tableSelectedRowHoverBg:Ve,tableRowHoverBg:Fe,tablePaddingHorizontal:We,calc:Ye}=o;return{[`${r}-wrapper`]:{[`${r}-selection-col`]:{width:we,[`&${r}-selection-col-with-dropdown`]:{width:Ye(we).add(z).add(Ye(G).div(4)).equal()}},[`${r}-bordered ${r}-selection-col`]:{width:Ye(we).add(Ye(me).mul(2)).equal(),[`&${r}-selection-col-with-dropdown`]:{width:Ye(we).add(z).add(Ye(G).div(4)).add(Ye(me).mul(2)).equal()}},[` + `]:{boxShadow:"none"}}}}},Ki=o=>{const{componentCls:r,antCls:h,margin:I}=o;return{[`${r}-wrapper`]:{[`${r}-pagination${h}-pagination`]:{margin:`${(0,jn.unit)(I)} 0`},[`${r}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:o.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ji=o=>{const{componentCls:r,tableRadius:h}=o;return{[`${r}-wrapper`]:{[r]:{[`${r}-title, ${r}-header`]:{borderRadius:`${(0,jn.unit)(h)} ${(0,jn.unit)(h)} 0 0`},[`${r}-title + ${r}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${r}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:h,borderStartEndRadius:h,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:h},"> *:last-child":{borderStartEndRadius:h}}},"&-footer":{borderRadius:`0 0 ${(0,jn.unit)(h)} ${(0,jn.unit)(h)}`}}}}},Hi=o=>{const{componentCls:r}=o;return{[`${r}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${r}-pagination-left`]:{justifyContent:"flex-end"},[`${r}-pagination-right`]:{justifyContent:"flex-start"},[`${r}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${r}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${r}-row-indent`]:{float:"right"}}}}},Wi=o=>{const{componentCls:r,antCls:h,iconCls:I,fontSizeIcon:z,padding:G,paddingXS:me,headerIconColor:ne,headerIconHoverColor:Oe,tableSelectionColumnWidth:we,tableSelectedRowBg:_e,tableSelectedRowHoverBg:Ve,tableRowHoverBg:Fe,tablePaddingHorizontal:We,calc:Xe}=o;return{[`${r}-wrapper`]:{[`${r}-selection-col`]:{width:we,[`&${r}-selection-col-with-dropdown`]:{width:Xe(we).add(z).add(Xe(G).div(4)).equal()}},[`${r}-bordered ${r}-selection-col`]:{width:Xe(we).add(Xe(me).mul(2)).equal(),[`&${r}-selection-col-with-dropdown`]:{width:Xe(we).add(z).add(Xe(G).div(4)).add(Xe(me).mul(2)).equal()}},[` table tr th${r}-selection-column, table tr td${r}-selection-column, ${r}-selection-column - `]:{paddingInlineEnd:o.paddingXS,paddingInlineStart:o.paddingXS,textAlign:"center",[`${h}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${r}-selection-column${r}-cell-fix-left`]:{zIndex:Ye(o.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${r}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${r}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${r}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${o.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,jn.unit)(Ye(We).div(4).equal()),[I]:{color:ne,fontSize:z,verticalAlign:"baseline","&:hover":{color:Oe}}},[`${r}-tbody`]:{[`${r}-row`]:{[`&${r}-row-selected`]:{[`> ${r}-cell`]:{background:_e,"&-row-hover":{background:Ve}}},[`> ${r}-cell-row-hover`]:{background:Fe}}}}}},Fi=o=>{const{componentCls:r,tableExpandColumnWidth:h,calc:I}=o,z=(G,me,ne,Oe)=>({[`${r}${r}-${G}`]:{fontSize:Oe,[` + `]:{paddingInlineEnd:o.paddingXS,paddingInlineStart:o.paddingXS,textAlign:"center",[`${h}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${r}-selection-column${r}-cell-fix-left`]:{zIndex:Xe(o.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${r}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${r}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${r}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${o.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,jn.unit)(Xe(We).div(4).equal()),[I]:{color:ne,fontSize:z,verticalAlign:"baseline","&:hover":{color:Oe}}},[`${r}-tbody`]:{[`${r}-row`]:{[`&${r}-row-selected`]:{[`> ${r}-cell`]:{background:_e,"&-row-hover":{background:Ve}}},[`> ${r}-cell-row-hover`]:{background:Fe}}}}}},Fi=o=>{const{componentCls:r,tableExpandColumnWidth:h,calc:I}=o,z=(G,me,ne,Oe)=>({[`${r}${r}-${G}`]:{fontSize:Oe,[` ${r}-title, ${r}-footer, ${r}-cell, @@ -144,19 +144,19 @@ `]:{background:o.tableFixedHeaderSortActiveBg}},[`${r}-thead th${r}-column-sort`]:{background:o.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${r}-column-sort`]:{background:o.tableBodySortBg},[`${r}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${r}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${r}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${r}-column-sorter`]:{marginInlineStart:h,color:z,fontSize:0,transition:`color ${o.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:I,"&.active":{color:o.colorPrimary}},[`${r}-column-sorter-up + ${r}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${r}-column-sorters:hover ${r}-column-sorter`]:{color:G}}}},Ui=o=>{const{componentCls:r,opacityLoading:h,tableScrollThumbBg:I,tableScrollThumbBgHover:z,tableScrollThumbSize:G,tableScrollBg:me,zIndexTableSticky:ne,stickyScrollBarBorderRadius:Oe,lineWidth:we,lineType:_e,tableBorderColor:Ve}=o,Fe=`${(0,jn.unit)(we)} ${_e} ${Ve}`;return{[`${r}-wrapper`]:{[`${r}-sticky`]:{"&-holder":{position:"sticky",zIndex:ne,background:o.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,jn.unit)(G)} !important`,zIndex:ne,display:"flex",alignItems:"center",background:me,borderTop:Fe,opacity:h,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:G,backgroundColor:I,borderRadius:Oe,transition:`all ${o.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:z}}}}}}},di=o=>{const{componentCls:r,lineWidth:h,tableBorderColor:I,calc:z}=o,G=`${(0,jn.unit)(h)} ${o.lineType} ${I}`;return{[`${r}-wrapper`]:{[`${r}-summary`]:{position:"relative",zIndex:o.zIndexTableFixed,background:o.tableBg,"> tr":{"> th, > td":{borderBottom:G}}},[`div${r}-summary`]:{boxShadow:`0 ${(0,jn.unit)(z(h).mul(-1).equal())} 0 ${I}`}}}},Gi=o=>{const{componentCls:r,motionDurationMid:h,lineWidth:I,lineType:z,tableBorderColor:G,calc:me}=o,ne=`${(0,jn.unit)(I)} ${z} ${G}`,Oe=`${r}-expanded-row-cell`;return{[`${r}-wrapper`]:{[`${r}-tbody-virtual`]:{[`${r}-tbody-virtual-holder-inner`]:{[` & > ${r}-row, & > div:not(${r}-row) > ${r}-row - `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${r}-cell`]:{borderBottom:ne,transition:`background ${h}`},[`${r}-expanded-row`]:{[`${Oe}${Oe}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,jn.unit)(I)})`,borderInlineEnd:"none"}}},[`${r}-bordered`]:{[`${r}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ne,position:"absolute"},[`${r}-cell`]:{borderInlineEnd:ne,[`&${r}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:me(I).mul(-1).equal(),borderInlineStart:ne}}},[`&${r}-virtual`]:{[`${r}-placeholder ${r}-cell`]:{borderInlineEnd:ne,borderBottom:ne}}}}}};const ki=o=>{const{componentCls:r,fontWeightStrong:h,tablePaddingVertical:I,tablePaddingHorizontal:z,tableExpandColumnWidth:G,lineWidth:me,lineType:ne,tableBorderColor:Oe,tableFontSize:we,tableBg:_e,tableRadius:Ve,tableHeaderTextColor:Fe,motionDurationMid:We,tableHeaderBg:Ye,tableHeaderCellSplitColor:Bt,tableFooterTextColor:st,tableFooterBg:At,calc:Ht}=o,Rt=`${(0,jn.unit)(me)} ${ne} ${Oe}`;return{[`${r}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fa.dF)()),{[r]:Object.assign(Object.assign({},(0,Fa.Wf)(o)),{fontSize:we,background:_e,borderRadius:`${(0,jn.unit)(Ve)} ${(0,jn.unit)(Ve)} 0 0`,scrollbarColor:`${o.tableScrollThumbBg} ${o.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,jn.unit)(Ve)} ${(0,jn.unit)(Ve)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${r}-cell`]:{borderBottom:ne,transition:`background ${h}`},[`${r}-expanded-row`]:{[`${Oe}${Oe}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,jn.unit)(I)})`,borderInlineEnd:"none"}}},[`${r}-bordered`]:{[`${r}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:ne,position:"absolute"},[`${r}-cell`]:{borderInlineEnd:ne,[`&${r}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:me(I).mul(-1).equal(),borderInlineStart:ne}}},[`&${r}-virtual`]:{[`${r}-placeholder ${r}-cell`]:{borderInlineEnd:ne,borderBottom:ne}}}}}};const ki=o=>{const{componentCls:r,fontWeightStrong:h,tablePaddingVertical:I,tablePaddingHorizontal:z,tableExpandColumnWidth:G,lineWidth:me,lineType:ne,tableBorderColor:Oe,tableFontSize:we,tableBg:_e,tableRadius:Ve,tableHeaderTextColor:Fe,motionDurationMid:We,tableHeaderBg:Xe,tableHeaderCellSplitColor:Bt,tableFooterTextColor:st,tableFooterBg:At,calc:Ht}=o,Rt=`${(0,jn.unit)(me)} ${ne} ${Oe}`;return{[`${r}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Fa.dF)()),{[r]:Object.assign(Object.assign({},(0,Fa.Wf)(o)),{fontSize:we,background:_e,borderRadius:`${(0,jn.unit)(Ve)} ${(0,jn.unit)(Ve)} 0 0`,scrollbarColor:`${o.tableScrollThumbBg} ${o.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,jn.unit)(Ve)} ${(0,jn.unit)(Ve)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${r}-cell, ${r}-thead > tr > th, ${r}-tbody > tr > th, ${r}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${(0,jn.unit)(I)} ${(0,jn.unit)(z)}`,overflowWrap:"break-word"},[`${r}-title`]:{padding:`${(0,jn.unit)(I)} ${(0,jn.unit)(z)}`},[`${r}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Fe,fontWeight:h,textAlign:"start",background:Ye,borderBottom:Rt,transition:`background ${We} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${r}-selection-column):not(${r}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Bt,transform:"translateY(-50%)",transition:`background-color ${We}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${r}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${We}, border-color ${We}`,borderBottom:Rt,[` + `]:{position:"relative",padding:`${(0,jn.unit)(I)} ${(0,jn.unit)(z)}`,overflowWrap:"break-word"},[`${r}-title`]:{padding:`${(0,jn.unit)(I)} ${(0,jn.unit)(z)}`},[`${r}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Fe,fontWeight:h,textAlign:"start",background:Xe,borderBottom:Rt,transition:`background ${We} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${r}-selection-column):not(${r}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Bt,transform:"translateY(-50%)",transition:`background-color ${We}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${r}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${We}, border-color ${We}`,borderBottom:Rt,[` > ${r}-wrapper:only-child, > ${r}-expanded-row-fixed > ${r}-wrapper:only-child `]:{[r]:{marginBlock:(0,jn.unit)(Ht(I).mul(-1).equal()),marginInline:`${(0,jn.unit)(Ht(G).sub(z).equal())} - ${(0,jn.unit)(Ht(z).mul(-1).equal())}`,[`${r}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Fe,fontWeight:h,textAlign:"start",background:Ye,borderBottom:Rt,transition:`background ${We} ease`}}},[`${r}-footer`]:{padding:`${(0,jn.unit)(I)} ${(0,jn.unit)(z)}`,color:st,background:At}})}},Xi=o=>{const{colorFillAlter:r,colorBgContainer:h,colorTextHeading:I,colorFillSecondary:z,colorFillContent:G,controlItemBgActive:me,controlItemBgActiveHover:ne,padding:Oe,paddingSM:we,paddingXS:_e,colorBorderSecondary:Ve,borderRadiusLG:Fe,controlHeight:We,colorTextPlaceholder:Ye,fontSize:Bt,fontSizeSM:st,lineHeight:At,lineWidth:Ht,colorIcon:Rt,colorIconHover:Vt,opacityLoading:Jt,controlInteractiveSize:sn}=o,on=new Wa.FastColor(z).onBackground(h).toHexString(),qn=new Wa.FastColor(G).onBackground(h).toHexString(),Rn=new Wa.FastColor(r).onBackground(h).toHexString(),Mn=new Wa.FastColor(Rt),Bn=new Wa.FastColor(Vt),an=sn/2-Ht,ln=an*2+Ht*3;return{headerBg:Rn,headerColor:I,headerSortActiveBg:on,headerSortHoverBg:qn,bodySortBg:Rn,rowHoverBg:Rn,rowSelectedBg:me,rowSelectedHoverBg:ne,rowExpandedBg:r,cellPaddingBlock:Oe,cellPaddingInline:Oe,cellPaddingBlockMD:we,cellPaddingInlineMD:_e,cellPaddingBlockSM:_e,cellPaddingInlineSM:_e,borderColor:Ve,headerBorderRadius:Fe,footerBg:Rn,footerColor:I,cellFontSize:Bt,cellFontSizeMD:Bt,cellFontSizeSM:Bt,headerSplitColor:Ve,fixedHeaderSortActiveBg:on,headerFilterHoverBg:G,filterDropdownMenuBg:h,filterDropdownBg:h,expandIconBg:h,selectionColumnWidth:We,stickyScrollBarBg:Ye,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Bt*At-Ht*3)/2-Math.ceil((st*1.4-Ht*3)/2),headerIconColor:Mn.clone().setA(Mn.a*Jt).toRgbString(),headerIconHoverColor:Bn.clone().setA(Bn.a*Jt).toRgbString(),expandIconHalfInner:an,expandIconSize:ln,expandIconScale:sn/ln}},fi=2;var Yi=(0,Ni.I$)("Table",o=>{const{colorTextHeading:r,colorSplit:h,colorBgContainer:I,controlInteractiveSize:z,headerBg:G,headerColor:me,headerSortActiveBg:ne,headerSortHoverBg:Oe,bodySortBg:we,rowHoverBg:_e,rowSelectedBg:Ve,rowSelectedHoverBg:Fe,rowExpandedBg:We,cellPaddingBlock:Ye,cellPaddingInline:Bt,cellPaddingBlockMD:st,cellPaddingInlineMD:At,cellPaddingBlockSM:Ht,cellPaddingInlineSM:Rt,borderColor:Vt,footerBg:Jt,footerColor:sn,headerBorderRadius:on,cellFontSize:qn,cellFontSizeMD:Rn,cellFontSizeSM:Mn,headerSplitColor:Bn,fixedHeaderSortActiveBg:an,headerFilterHoverBg:ln,filterDropdownBg:Qt,expandIconBg:Wt,selectionColumnWidth:rn,stickyScrollBarBg:dn,calc:wn}=o,kt=(0,Ti.mergeToken)(o,{tableFontSize:qn,tableBg:I,tableRadius:on,tablePaddingVertical:Ye,tablePaddingHorizontal:Bt,tablePaddingVerticalMiddle:st,tablePaddingHorizontalMiddle:At,tablePaddingVerticalSmall:Ht,tablePaddingHorizontalSmall:Rt,tableBorderColor:Vt,tableHeaderTextColor:me,tableHeaderBg:G,tableFooterTextColor:sn,tableFooterBg:Jt,tableHeaderCellSplitColor:Bn,tableHeaderSortBg:ne,tableHeaderSortHoverBg:Oe,tableBodySortBg:we,tableFixedHeaderSortActiveBg:an,tableHeaderFilterActiveBg:ln,tableFilterDropdownBg:Qt,tableRowHoverBg:_e,tableSelectedRowBg:Ve,tableSelectedRowHoverBg:Fe,zIndexTableFixed:fi,zIndexTableSticky:wn(fi).add(1).equal({unit:!1}),tableFontSizeMiddle:Rn,tableFontSizeSmall:Mn,tableSelectionColumnWidth:rn,tableExpandIconBg:Wt,tableExpandColumnWidth:wn(z).add(wn(o.padding).mul(2)).equal(),tableExpandedRowBg:We,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:dn,tableScrollThumbBgHover:r,tableScrollBg:h});return[ki(kt),Ki(kt),di(kt),Vi(kt),Li(kt),Zi(kt),ji(kt),Ai(kt),di(kt),Bi(kt),Wi(kt),zi(kt),Ui(kt),Di(kt),Fi(kt),Hi(kt),Gi(kt)]},Xi,{unitless:{expandIconScale:!0}});const Ji=[],Qi=(o,r)=>{var h,I;const{prefixCls:z,className:G,rootClassName:me,style:ne,size:Oe,bordered:we,dropdownPrefixCls:_e,dataSource:Ve,pagination:Fe,rowSelection:We,rowKey:Ye="key",rowClassName:Bt,columns:st,children:At,childrenColumnName:Ht,onChange:Rt,getPopupContainer:Vt,loading:Jt,expandIcon:sn,expandable:on,expandedRowRender:qn,expandIconColumnIndex:Rn,indentSize:Mn,scroll:Bn,sortDirections:an,locale:ln,showSorterTooltip:Qt={target:"full-header"},virtual:Wt}=o,rn=(0,Er.ln)("Table"),dn=e.useMemo(()=>st||Yn(At),[st,At]),wn=e.useMemo(()=>dn.some(er=>er.responsive),[dn]),kt=(0,kr.Z)(wn),cr=e.useMemo(()=>{const er=new Set(Object.keys(kt).filter(Lr=>kt[Lr]));return dn.filter(Lr=>!Lr.responsive||Lr.responsive.some(Co=>er.has(Co)))},[dn,kt]),mr=(0,br.Z)(o,["className","style","columns"]),{locale:fo=co.Z,direction:ro,table:Jr,renderEmpty:lo,getPrefixCls:Bo,getPopupContainer:gr}=e.useContext(vo.E_),yr=(0,wo.Z)(Oe),po=Object.assign(Object.assign({},fo.Table),ln),Oo=Ve||Ji,yn=Bo("table",z),Gn=Bo("dropdown",_e),[,hn]=(0,zr.ZP)(),$n=(0,Zo.Z)(yn),[Pr,Tr,oo]=Yi(yn,$n),Qr=Object.assign(Object.assign({childrenColumnName:Ht,expandIconColumnIndex:Rn},on),{expandIcon:(h=on==null?void 0:on.expandIcon)!==null&&h!==void 0?h:(I=Jr==null?void 0:Jr.expandable)===null||I===void 0?void 0:I.expandIcon}),{childrenColumnName:Ao="children"}=Qr,Lo=e.useMemo(()=>Oo.some(er=>er==null?void 0:er[Ao])?"nest":qn||on!=null&&on.expandedRowRender?"row":null,[Oo]),Cn={body:e.useRef(null)},Zn=Tn(yn),Zr=e.useRef(null),ao=e.useRef(null);xo(r,()=>Object.assign(Object.assign({},ao.current),{nativeElement:Zr.current}));const Kr=e.useMemo(()=>typeof Ye=="function"?Ye:er=>er==null?void 0:er[Ye],[Ye]),[Ho]=ra(Oo,Ao,Kr),bo={},ma=function(er,Lr){let Co=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Po,ea,ua,ga;const Fo=Object.assign(Object.assign({},bo),er);Co&&((Po=bo.resetPagination)===null||Po===void 0||Po.call(bo),!((ea=Fo.pagination)===null||ea===void 0)&&ea.current&&(Fo.pagination.current=1),Fe&&((ua=Fe.onChange)===null||ua===void 0||ua.call(Fe,1,(ga=Fo.pagination)===null||ga===void 0?void 0:ga.pageSize))),Bn&&Bn.scrollToFirstRowOnChange!==!1&&Cn.body.current&&(0,zo.Z)(0,{getContainer:()=>Cn.body.current}),Rt==null||Rt(Fo.pagination,Fo.filters,Fo.sorter,{currentDataSource:sr(Da(Oo,Fo.sorterStates,Ao),Fo.filterStates,Ao),action:Lr})},io=(er,Lr)=>{ma({sorter:er,sorterStates:Lr},"sort",!1)},[Ar,_r,eo,Ro]=Ha({prefixCls:yn,mergedColumns:cr,onSorterChange:io,sortDirections:an||["ascend","descend"],tableLocale:po,showSorterTooltip:Qt}),So=e.useMemo(()=>Da(Oo,_r,Ao),[Oo,_r]);bo.sorter=Ro(),bo.sorterStates=_r;const Dr=(er,Lr)=>{ma({filters:er,filterStates:Lr},"filter",!0)},[mo,Ur,Wo]=uo({prefixCls:yn,locale:po,dropdownPrefixCls:Gn,mergedColumns:cr,onFilterChange:Dr,getPopupContainer:Vt||gr,rootClassName:M()(me,$n)}),yo=sr(So,Ur,Ao);bo.filters=Wo,bo.filterStates=Ur;const Jo=e.useMemo(()=>{const er={};return Object.keys(Wo).forEach(Lr=>{Wo[Lr]!==null&&(er[Lr]=Wo[Lr])}),Object.assign(Object.assign({},eo),{filters:er})},[eo,Wo]),[Ia]=Ri(Jo),Va=(er,Lr)=>{ma({pagination:Object.assign(Object.assign({},bo.pagination),{current:er,pageSize:Lr})},"paginate")},[so,Ua]=Ea(yo.length,Va,Fe);bo.pagination=Fe===!1?{}:fa(so,Fe),bo.resetPagination=Ua;const Qo=e.useMemo(()=>{if(Fe===!1||!so.pageSize)return yo;const{current:er=1,total:Lr,pageSize:Co=la}=so;return yo.lengthCo?yo.slice((er-1)*Co,er*Co):yo:yo.slice((er-1)*Co,er*Co)},[!!Fe,yo,so==null?void 0:so.current,so==null?void 0:so.pageSize,so==null?void 0:so.total]),[sa,oa]=Kn({prefixCls:yn,data:yo,pageData:Qo,getRowKey:Kr,getRecordByKey:Ho,expandType:Lo,childrenColumnName:Ao,locale:po,getPopupContainer:Vt||gr},We),_o=(er,Lr,Co)=>{let Po;return typeof Bt=="function"?Po=M()(Bt(er,Lr,Co)):Po=M()(Bt),M()({[`${yn}-row-selected`]:oa.has(Kr(er,Lr))},Po)};Qr.__PARENT_RENDER_ICON__=Qr.expandIcon,Qr.expandIcon=Qr.expandIcon||sn||gn(po),Lo==="nest"&&Qr.expandIconColumnIndex===void 0?Qr.expandIconColumnIndex=We?1:0:Qr.expandIconColumnIndex>0&&We&&(Qr.expandIconColumnIndex-=1),typeof Qr.indentSize!="number"&&(Qr.indentSize=typeof Mn=="number"?Mn:15);const qo=e.useCallback(er=>Ia(sa(mo(Ar(er)))),[Ar,mo,sa]);let ca,Oa;if(Fe!==!1&&(so!=null&&so.total)){let er;so.size?er=so.size:er=yr==="small"||yr==="middle"?"small":void 0;const Lr=ea=>e.createElement(to.Z,Object.assign({},so,{className:M()(`${yn}-pagination ${yn}-pagination-${ea}`,so.className),size:er})),Co=ro==="rtl"?"left":"right",{position:Po}=so;if(Po!==null&&Array.isArray(Po)){const ea=Po.find(Fo=>Fo.includes("top")),ua=Po.find(Fo=>Fo.includes("bottom")),ga=Po.every(Fo=>`${Fo}`=="none");!ea&&!ua&&!ga&&(Oa=Lr(Co)),ea&&(ca=Lr(ea.toLowerCase().replace("top",""))),ua&&(Oa=Lr(ua.toLowerCase().replace("bottom","")))}else Oa=Lr(Co)}let ha;typeof Jt=="boolean"?ha={spinning:Jt}:typeof Jt=="object"&&(ha=Object.assign({spinning:!0},Jt));const pa=M()(oo,$n,`${yn}-wrapper`,Jr==null?void 0:Jr.className,{[`${yn}-wrapper-rtl`]:ro==="rtl"},G,me,Tr),ni=Object.assign(Object.assign({},Jr==null?void 0:Jr.style),ne),ri=typeof(ln==null?void 0:ln.emptyText)!="undefined"?ln.emptyText:(lo==null?void 0:lo("Table"))||e.createElement(Eo.Z,{componentName:"Table"}),oi=Wt?Mi:Pi,Qa={},ai=e.useMemo(()=>{const{fontSize:er,lineHeight:Lr,lineWidth:Co,padding:Po,paddingXS:ea,paddingSM:ua}=hn,ga=Math.floor(er*Lr);switch(yr){case"middle":return ua*2+ga+Co;case"small":return ea*2+ga+Co;default:return Po*2+ga+Co}},[hn,yr]);return Wt&&(Qa.listItemHeight=ai),Pr(e.createElement("div",{ref:Zr,className:pa,style:ni},e.createElement(or.Z,Object.assign({spinning:!1},ha),ca,e.createElement(oi,Object.assign({},Qa,mr,{ref:ao,columns:cr,direction:ro,expandable:Qr,prefixCls:yn,className:M()({[`${yn}-middle`]:yr==="middle",[`${yn}-small`]:yr==="small",[`${yn}-bordered`]:we,[`${yn}-empty`]:Oo.length===0},oo,$n,Tr),data:Qo,rowKey:Kr,rowClassName:_o,emptyText:ri,internalHooks:m,internalRefs:Cn,transformColumns:qo,getContainerWidth:Zn})),Oa)))};var _i=e.forwardRef(Qi);const qi=(o,r)=>{const h=e.useRef(0);return h.current+=1,e.createElement(_i,Object.assign({},o,{ref:r,_renderTimes:h.current}))},Ca=e.forwardRef(qi);Ca.SELECTION_COLUMN=rr,Ca.EXPAND_COLUMN=p,Ca.SELECTION_ALL=Br,Ca.SELECTION_INVERT=Xr,Ca.SELECTION_NONE=jr,Ca.Column=Dn,Ca.ColumnGroup=Nn,Ca.Summary=w;var el=Ca,tl=el},31691:function(Zt,re,t){t.d(re,{default:function(){return Yn}});var e=t(59301),p=t(99267),m=t(18785),Z=t(62772),R=t(92310),g=t.n(R),f=t(60499),y=t(18642),N=t(85899),n=t(72190),D=t(43749),S=t(42244),O=t(18929),J=t(49658),Ae=(0,e.createContext)(null),Y=t(77654),q=t(29301),ye=t(6089),v=t(8654),X=t(16089),i=function($){var tt=$.activeTabOffset,E=$.horizontal,C=$.rtl,$e=$.indicator,he=$e===void 0?{}:$e,Se=he.size,He=he.align,Me=He===void 0?"center":He,Qe=(0,e.useState)(),lt=(0,n.Z)(Qe,2),ot=lt[0],qe=lt[1],Nt=(0,e.useRef)(),Kt=e.useCallback(function(F){return typeof Se=="function"?Se(F):typeof Se=="number"?Se:F},[Se]);function pt(){X.Z.cancel(Nt.current)}return(0,e.useEffect)(function(){var F={};if(tt)if(E){F.width=Kt(tt.width);var le=C?"right":"left";Me==="start"&&(F[le]=tt[le]),Me==="center"&&(F[le]=tt[le]+tt.width/2,F.transform=C?"translateX(50%)":"translateX(-50%)"),Me==="end"&&(F[le]=tt[le]+tt.width,F.transform="translateX(-100%)")}else F.height=Kt(tt.height),Me==="start"&&(F.top=tt.top),Me==="center"&&(F.top=tt.top+tt.height/2,F.transform="translateY(-50%)"),Me==="end"&&(F.top=tt.top+tt.height,F.transform="translateY(-100%)");return pt(),Nt.current=(0,X.Z)(function(){qe(F)}),pt},[tt,E,C,Me,Kt]),{style:ot}},c=i,V={width:0,height:0,left:0,top:0};function ie(x,$,tt){return(0,e.useMemo)(function(){for(var E,C=new Map,$e=$.get((E=x[0])===null||E===void 0?void 0:E.key)||V,he=$e.left+$e.width,Se=0;SeIt?(Ct=$t,Ke.current="x"):(Ct=Dt,Ke.current="y"),$(-Ct,-Ct)&&ft.preventDefault()}var at=(0,e.useRef)(null);at.current={onTouchStart:Ee,onTouchMove:Ie,onTouchEnd:Pe,onWheel:Ue},e.useEffect(function(){function ft(St){at.current.onTouchStart(St)}function $t(St){at.current.onTouchMove(St)}function Dt(St){at.current.onTouchEnd(St)}function Ct(St){at.current.onWheel(St)}return document.addEventListener("touchmove",$t,{passive:!1}),document.addEventListener("touchend",Dt,{passive:!0}),x.current.addEventListener("touchstart",ft,{passive:!0}),x.current.addEventListener("wheel",Ct,{passive:!1}),function(){document.removeEventListener("touchmove",$t),document.removeEventListener("touchend",Dt)}},[])}var M=t(34280);function s(x){var $=(0,e.useState)(0),tt=(0,n.Z)($,2),E=tt[0],C=tt[1],$e=(0,e.useRef)(0),he=(0,e.useRef)();return he.current=x,(0,M.o)(function(){var Se;(Se=he.current)===null||Se===void 0||Se.call(he)},[E]),function(){$e.current===E&&($e.current+=1,C($e.current))}}function _(x){var $=(0,e.useRef)([]),tt=(0,e.useState)({}),E=(0,n.Z)(tt,2),C=E[1],$e=(0,e.useRef)(typeof x=="function"?x():x),he=s(function(){var He=$e.current;$.current.forEach(function(Me){He=Me(He)}),$.current=[],$e.current=He,C({})});function Se(He){$.current.push(He),he()}return[$e.current,Se]}var j={width:0,height:0,left:0,top:0,right:0};function De(x,$,tt,E,C,$e,he){var Se=he.tabs,He=he.tabPosition,Me=he.rtl,Qe,lt,ot;return["top","bottom"].includes(He)?(Qe="width",lt=Me?"right":"left",ot=Math.abs(tt)):(Qe="height",lt="top",ot=-tt),(0,e.useMemo)(function(){if(!Se.length)return[0,0];for(var qe=Se.length,Nt=qe,Kt=0;KtMath.floor(ot+$)){Nt=Kt-1;break}}for(var F=0,le=qe-1;le>=0;le-=1){var Ee=x.get(Se[le].key)||j;if(Ee[lt]=Nt?[0,0]:[F,Nt]},[x,$,E,C,$e,ot,He,Se.map(function(qe){return qe.key}).join("_"),Me])}function se(x){var $;return x instanceof Map?($={},x.forEach(function(tt,E){$[E]=tt})):$=x,JSON.stringify($)}var je="TABS_DQ";function et(x){return String(x).replace(/"/g,je)}function fe(x,$,tt,E){return!(!tt||E||x===!1||x===void 0&&($===!1||$===null))}var ce=e.forwardRef(function(x,$){var tt=x.prefixCls,E=x.editable,C=x.locale,$e=x.style;return!E||E.showAdd===!1?null:e.createElement("button",{ref:$,type:"button",className:"".concat(tt,"-nav-add"),style:$e,"aria-label":(C==null?void 0:C.addAriaLabel)||"Add tab",onClick:function(Se){E.onEdit("add",{event:Se})}},E.addIcon||"+")}),Ge=ce,U=e.forwardRef(function(x,$){var tt=x.position,E=x.prefixCls,C=x.extra;if(!C)return null;var $e,he={};return(0,D.Z)(C)==="object"&&!e.isValidElement(C)?he=C:he.right=C,tt==="right"&&($e=he.right),tt==="left"&&($e=he.left),$e?e.createElement("div",{className:"".concat(E,"-extra-content"),ref:$},$e):null}),ve=U,ae=t(96478),ze=t(28321),L=t(10228),pe=e.forwardRef(function(x,$){var tt=x.prefixCls,E=x.id,C=x.tabs,$e=x.locale,he=x.mobile,Se=x.more,He=Se===void 0?{}:Se,Me=x.style,Qe=x.className,lt=x.editable,ot=x.tabBarGutter,qe=x.rtl,Nt=x.removeAriaLabel,Kt=x.onTabClick,pt=x.getPopupContainer,F=x.popupClassName,le=(0,e.useState)(!1),Ee=(0,n.Z)(le,2),Ie=Ee[0],Pe=Ee[1],Ke=(0,e.useState)(null),Ue=(0,n.Z)(Ke,2),at=Ue[0],ft=Ue[1],$t=He.icon,Dt=$t===void 0?"More":$t,Ct="".concat(E,"-more-popup"),St="".concat(tt,"-dropdown"),It=at!==null?"".concat(Ct,"-").concat(at):null,Ft=$e==null?void 0:$e.dropdownAriaLabel;function qt(Ot,jt){Ot.preventDefault(),Ot.stopPropagation(),lt.onEdit("remove",{key:jt,event:Ot})}var ut=e.createElement(ze.ZP,{onClick:function(jt){var Sn=jt.key,In=jt.domEvent;Kt(Sn,In),Pe(!1)},prefixCls:"".concat(St,"-menu"),id:Ct,tabIndex:-1,role:"listbox","aria-activedescendant":It,selectedKeys:[at],"aria-label":Ft!==void 0?Ft:"expanded dropdown"},C.map(function(Ot){var jt=Ot.closable,Sn=Ot.disabled,In=Ot.closeIcon,Wn=Ot.key,On=Ot.label,An=fe(jt,In,lt,Sn);return e.createElement(ze.sN,{key:Wn,id:"".concat(Ct,"-").concat(Wn),role:"option","aria-controls":E&&"".concat(E,"-panel-").concat(Wn),disabled:Sn},e.createElement("span",null,On),An&&e.createElement("button",{type:"button","aria-label":Nt||"remove",tabIndex:0,className:"".concat(St,"-menu-item-remove"),onClick:function(ur){ur.stopPropagation(),qt(ur,Wn)}},In||lt.removeIcon||"\xD7"))}));function Pt(Ot){for(var jt=C.filter(function(An){return!An.disabled}),Sn=jt.findIndex(function(An){return An.key===at})||0,In=jt.length,Wn=0;WnLn?"left":"right"})}),St=(0,n.Z)(Ct,2),It=St[0],Ft=St[1],qt=de(0,function(ar,Ln){!Dt&&Kt&&Kt({direction:ar>Ln?"top":"bottom"})}),ut=(0,n.Z)(qt,2),Pt=ut[0],vn=ut[1],en=(0,e.useState)([0,0]),Yt=(0,n.Z)(en,2),un=Yt[0],Ot=Yt[1],jt=(0,e.useState)([0,0]),Sn=(0,n.Z)(jt,2),In=Sn[0],Wn=Sn[1],On=(0,e.useState)([0,0]),An=(0,n.Z)(On,2),kn=An[0],ur=An[1],dr=(0,e.useState)([0,0]),Xn=(0,n.Z)(dr,2),xt=Xn[0],Je=Xn[1],nt=_(new Map),Ut=(0,n.Z)(nt,2),Gt=Ut[0],fn=Ut[1],Dn=ie(Ee,Gt,In[0]),Fn=oe(un,Dt),Nn=oe(In,Dt),Jn=oe(kn,Dt),Cr=oe(xt,Dt),Sr=Math.floor(Fn)Er?Er:ar}var lr=(0,e.useRef)(null),Ir=(0,e.useState)(),rr=(0,n.Z)(Ir,2),Br=rr[0],Xr=rr[1];function jr(){Xr(Date.now())}function Hr(){lr.current&&clearTimeout(lr.current)}Q(Ue,function(ar,Ln){function Vr(qr,go){qr(function(Mo){var Xo=Nr(Mo+go);return Xo})}return Sr?(Dt?Vr(Ft,ar):Vr(vn,Ln),Hr(),jr(),!0):!1}),(0,e.useEffect)(function(){return Hr(),Br&&(lr.current=setTimeout(function(){Xr(0)},100)),Hr},[Br]);var Gr=De(Dn,pr,Dt?It:Pt,Nn,Jn,Cr,(0,N.Z)((0,N.Z)({},x),{},{tabs:Ee})),xn=(0,n.Z)(Gr,2),Kn=xn[0],br=xn[1],vr=(0,ye.Z)(function(){var ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:he,Ln=Dn.get(ar)||{width:0,height:0,left:0,right:0,top:0};if(Dt){var Vr=It;Se?Ln.rightIt+pr&&(Vr=Ln.right+Ln.width-pr):Ln.left<-It?Vr=-Ln.left:Ln.left+Ln.width>-It+pr&&(Vr=-(Ln.left+Ln.width-pr)),vn(0),Ft(Nr(Vr))}else{var qr=Pt;Ln.top<-Pt?qr=-Ln.top:Ln.top+Ln.height>-Pt+pr&&(qr=-(Ln.top+Ln.height-pr)),Ft(0),vn(Nr(qr))}}),xo=(0,e.useState)(),zo=(0,n.Z)(xo,2),vo=zo[0],Eo=zo[1],Zo=(0,e.useState)(!1),wo=(0,n.Z)(Zo,2),kr=wo[0],co=wo[1],to=Ee.filter(function(ar){return!ar.disabled}).map(function(ar){return ar.key}),or=function(Ln){var Vr=to.indexOf(vo||he),qr=to.length,go=(Vr+Ln+qr)%qr,Mo=to[go];Eo(Mo)},zr=function(Ln){var Vr=Ln.code,qr=Se&&Dt,go=to[0],Mo=to[to.length-1];switch(Vr){case"ArrowLeft":{Dt&&or(qr?1:-1);break}case"ArrowRight":{Dt&&or(qr?-1:1);break}case"ArrowUp":{Ln.preventDefault(),Dt||or(-1);break}case"ArrowDown":{Ln.preventDefault(),Dt||or(1);break}case"Home":{Ln.preventDefault(),Eo(go);break}case"End":{Ln.preventDefault(),Eo(Mo);break}case"Enter":case"Space":{Ln.preventDefault(),Nt(he,Ln);break}case"Backspace":case"Delete":{var Xo=to.indexOf(vo),Ko=Ee.find(function(No){return No.key===vo}),aa=fe(Ko==null?void 0:Ko.closable,Ko==null?void 0:Ko.closeIcon,Me,Ko==null?void 0:Ko.disabled);aa&&(Ln.preventDefault(),Ln.stopPropagation(),Me.onEdit("remove",{key:vo,event:Ln}),Xo===to.length-1?or(-1):or(1));break}}},Wr={};Dt?Wr[Se?"marginRight":"marginLeft"]=ot:Wr.marginTop=ot;var gn=Ee.map(function(ar,Ln){var Vr=ar.key;return e.createElement(Xe,{id:C,prefixCls:le,key:Vr,tab:ar,style:Ln===0?void 0:Wr,closable:ar.closable,editable:Me,active:Vr===he,focus:Vr===vo,renderWrapper:qe,removeAriaLabel:Qe==null?void 0:Qe.removeAriaLabel,tabCount:to.length,currentPosition:Ln+1,onClick:function(go){Nt(Vr,go)},onKeyDown:zr,onFocus:function(){kr||Eo(Vr),vr(Vr),jr(),Ue.current&&(Se||(Ue.current.scrollLeft=0),Ue.current.scrollTop=0)},onBlur:function(){Eo(void 0)},onMouseDown:function(){co(!0)},onMouseUp:function(){co(!1)}})}),Tn=function(){return fn(function(){var Ln,Vr=new Map,qr=(Ln=at.current)===null||Ln===void 0?void 0:Ln.getBoundingClientRect();return Ee.forEach(function(go){var Mo,Xo=go.key,Ko=(Mo=at.current)===null||Mo===void 0?void 0:Mo.querySelector('[data-node-key="'.concat(et(Xo),'"]'));if(Ko){var aa=k(Ko,qr),No=(0,n.Z)(aa,4),ba=No[0],Ra=No[1],Sa=No[2],ta=No[3];Vr.set(Xo,{width:ba,height:Ra,left:Sa,top:ta})}}),Vr})};(0,e.useEffect)(function(){Tn()},[Ee.map(function(ar){return ar.key}).join("_")]);var mn=s(function(){var ar=K(Ie),Ln=K(Pe),Vr=K(Ke);Ot([ar[0]-Ln[0]-Vr[0],ar[1]-Ln[1]-Vr[1]]);var qr=K($t);ur(qr);var go=K(ft);Je(go);var Mo=K(at);Wn([Mo[0]-qr[0],Mo[1]-qr[1]]),Tn()}),Pn=Ee.slice(0,Kn),fr=Ee.slice(br+1),Or=[].concat((0,Y.Z)(Pn),(0,Y.Z)(fr)),$o=Dn.get(he),nn=c({activeTabOffset:$o,horizontal:Dt,indicator:pt,rtl:Se}),En=nn.style;(0,e.useEffect)(function(){vr()},[he,xr,Er,se($o),se(Dn),Dt]),(0,e.useEffect)(function(){mn()},[Se]);var _n=!!Or.length,wr="".concat(le,"-nav-wrap"),Rr,Do,Io,ko;return Dt?Se?(Do=It>0,Rr=It!==Er):(Rr=It<0,Do=It!==xr):(Io=Pt<0,ko=Pt!==xr),e.createElement(q.Z,{onResize:mn},e.createElement("div",{ref:(0,v.x1)($,Ie),role:"tablist","aria-orientation":Dt?"horizontal":"vertical",className:g()("".concat(le,"-nav"),tt),style:E,onKeyDown:function(){jr()}},e.createElement(ve,{ref:Pe,position:"left",extra:He,prefixCls:le}),e.createElement(q.Z,{onResize:mn},e.createElement("div",{className:g()(wr,(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(wr,"-ping-left"),Rr),"".concat(wr,"-ping-right"),Do),"".concat(wr,"-ping-top"),Io),"".concat(wr,"-ping-bottom"),ko)),ref:Ue},e.createElement(q.Z,{onResize:mn},e.createElement("div",{ref:at,className:"".concat(le,"-nav-list"),style:{transform:"translate(".concat(It,"px, ").concat(Pt,"px)"),transition:Br?"none":void 0}},gn,e.createElement(Ge,{ref:$t,prefixCls:le,locale:Qe,editable:Me,style:(0,N.Z)((0,N.Z)({},gn.length===0?void 0:Wr),{},{visibility:_n?"hidden":null})}),e.createElement("div",{className:g()("".concat(le,"-ink-bar"),(0,y.Z)({},"".concat(le,"-ink-bar-animated"),$e.inkBar)),style:En}))))),e.createElement(Te,(0,f.Z)({},x,{removeAriaLabel:Qe==null?void 0:Qe.removeAriaLabel,ref:ft,prefixCls:le,tabs:Or,className:!_n&&Qn,tabMoving:!!Br})),e.createElement(ve,{ref:Ke,position:"right",extra:He,prefixCls:le})))}),ue=b,T=e.forwardRef(function(x,$){var tt=x.prefixCls,E=x.className,C=x.style,$e=x.id,he=x.active,Se=x.tabKey,He=x.children;return e.createElement("div",{id:$e&&"".concat($e,"-panel-").concat(Se),role:"tabpanel",tabIndex:he?0:-1,"aria-labelledby":$e&&"".concat($e,"-tab-").concat(Se),"aria-hidden":!he,style:C,className:g()(tt,he&&"".concat(tt,"-active"),E),ref:$},He)}),a=T,u=["renderTabBar"],H=["label","key"],A=function($){var tt=$.renderTabBar,E=(0,S.Z)($,u),C=e.useContext(Ae),$e=C.tabs;if(tt){var he=(0,N.Z)((0,N.Z)({},E),{},{panes:$e.map(function(Se){var He=Se.label,Me=Se.key,Qe=(0,S.Z)(Se,H);return e.createElement(a,(0,f.Z)({tab:He,key:Me,tabKey:Me},Qe))})});return tt(he,ue)}return e.createElement(ue,E)},w=A,B=t(77900),P=["key","forceRender","style","className","destroyInactiveTabPane"],W=function($){var tt=$.id,E=$.activeKey,C=$.animated,$e=$.tabPosition,he=$.destroyInactiveTabPane,Se=e.useContext(Ae),He=Se.prefixCls,Me=Se.tabs,Qe=C.tabPane,lt="".concat(He,"-tabpane");return e.createElement("div",{className:g()("".concat(He,"-content-holder"))},e.createElement("div",{className:g()("".concat(He,"-content"),"".concat(He,"-content-").concat($e),(0,y.Z)({},"".concat(He,"-content-animated"),Qe))},Me.map(function(ot){var qe=ot.key,Nt=ot.forceRender,Kt=ot.style,pt=ot.className,F=ot.destroyInactiveTabPane,le=(0,S.Z)(ot,P),Ee=qe===E;return e.createElement(B.default,(0,f.Z)({key:qe,visible:Ee,forceRender:Nt,removeOnLeave:!!(he||F),leavedClassName:"".concat(lt,"-hidden")},C.tabPaneMotion),function(Ie,Pe){var Ke=Ie.style,Ue=Ie.className;return e.createElement(a,(0,f.Z)({},le,{prefixCls:lt,id:tt,tabKey:qe,animated:Qe,active:Ee,style:(0,N.Z)((0,N.Z)({},Kt),Ke),className:g()(pt,Ue),ref:Pe}))})})))},l=W,d=t(48736);function xe(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},$;return x===!1?$={inkBar:!1,tabPane:!1}:x===!0?$={inkBar:!0,tabPane:!1}:$=(0,N.Z)({inkBar:!0},(0,D.Z)(x)==="object"?x:{}),$.tabPaneMotion&&$.tabPane===void 0&&($.tabPane=!0),!$.tabPaneMotion&&$.tabPane&&($.tabPane=!1),$}var te=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],ge=0,Ce=e.forwardRef(function(x,$){var tt=x.id,E=x.prefixCls,C=E===void 0?"rc-tabs":E,$e=x.className,he=x.items,Se=x.direction,He=x.activeKey,Me=x.defaultActiveKey,Qe=x.editable,lt=x.animated,ot=x.tabPosition,qe=ot===void 0?"top":ot,Nt=x.tabBarGutter,Kt=x.tabBarStyle,pt=x.tabBarExtraContent,F=x.locale,le=x.more,Ee=x.destroyInactiveTabPane,Ie=x.renderTabBar,Pe=x.onChange,Ke=x.onTabClick,Ue=x.onTabScroll,at=x.getPopupContainer,ft=x.popupClassName,$t=x.indicator,Dt=(0,S.Z)(x,te),Ct=e.useMemo(function(){return(he||[]).filter(function(xt){return xt&&(0,D.Z)(xt)==="object"&&"key"in xt})},[he]),St=Se==="rtl",It=xe(lt),Ft=(0,e.useState)(!1),qt=(0,n.Z)(Ft,2),ut=qt[0],Pt=qt[1];(0,e.useEffect)(function(){Pt((0,J.Z)())},[]);var vn=(0,O.Z)(function(){var xt;return(xt=Ct[0])===null||xt===void 0?void 0:xt.key},{value:He,defaultValue:Me}),en=(0,n.Z)(vn,2),Yt=en[0],un=en[1],Ot=(0,e.useState)(function(){return Ct.findIndex(function(xt){return xt.key===Yt})}),jt=(0,n.Z)(Ot,2),Sn=jt[0],In=jt[1];(0,e.useEffect)(function(){var xt=Ct.findIndex(function(nt){return nt.key===Yt});if(xt===-1){var Je;xt=Math.max(0,Math.min(Sn,Ct.length-1)),un((Je=Ct[xt])===null||Je===void 0?void 0:Je.key)}In(xt)},[Ct.map(function(xt){return xt.key}).join("_"),Yt,Sn]);var Wn=(0,O.Z)(null,{value:tt}),On=(0,n.Z)(Wn,2),An=On[0],kn=On[1];(0,e.useEffect)(function(){tt||(kn("rc-tabs-".concat(ge)),ge+=1)},[]);function ur(xt,Je){Ke==null||Ke(xt,Je);var nt=xt!==Yt;un(xt),nt&&(Pe==null||Pe(xt))}var dr={id:An,activeKey:Yt,animated:It,tabPosition:qe,rtl:St,mobile:ut},Xn=(0,N.Z)((0,N.Z)({},dr),{},{editable:Qe,locale:F,more:le,tabBarGutter:Nt,onTabClick:ur,onTabScroll:Ue,extra:pt,style:Kt,panes:null,getPopupContainer:at,popupClassName:ft,indicator:$t});return e.createElement(Ae.Provider,{value:{tabs:Ct,prefixCls:C}},e.createElement("div",(0,f.Z)({ref:$,id:tt,className:g()(C,"".concat(C,"-").concat(qe),(0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(C,"-mobile"),ut),"".concat(C,"-editable"),Qe),"".concat(C,"-rtl"),St),$e)},Dt),e.createElement(w,(0,f.Z)({},Xn,{renderTabBar:Ie})),e.createElement(l,(0,f.Z)({destroyInactiveTabPane:Ee},dr,{animated:It}))))}),Ze=Ce,Be=Ze,Ne=t(48755),Le=t(83397),gt=t(31756),it=t(86641);const bt={motionAppear:!1,motionEnter:!0,motionLeave:!0};function yt(x){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},tt;return $===!1?tt={inkBar:!1,tabPane:!1}:$===!0?tt={inkBar:!0,tabPane:!0}:tt=Object.assign({inkBar:!0},typeof $=="object"?$:{}),tt.tabPane&&(tt.tabPaneMotion=Object.assign(Object.assign({},bt),{motionName:(0,it.m)(x,"switch")})),tt}var tn=t(11592),dt=function(x,$){var tt={};for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&$.indexOf(E)<0&&(tt[E]=x[E]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,E=Object.getOwnPropertySymbols(x);C$)}function Lt(x,$){if(x)return x;const tt=(0,tn.Z)($).map(E=>{if(e.isValidElement(E)){const{key:C,props:$e}=E,he=$e||{},{tab:Se}=he,He=dt(he,["tab"]);return Object.assign(Object.assign({key:String(C)},He),{label:Se})}return null});return rt(tt)}var vt=t(36237),Mt=t(63356),_t=t(16931),Et=t(51636),cn=t(46e3),ht=x=>{const{componentCls:$,motionDurationSlow:tt}=x;return[{[$]:{[`${$}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${tt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${tt}`}}}}},[(0,cn.oN)(x,"slide-up"),(0,cn.oN)(x,"slide-down")]]};const zt=x=>{const{componentCls:$,tabsCardPadding:tt,cardBg:E,cardGutter:C,colorBorderSecondary:$e,itemSelectedColor:he}=x;return{[`${$}-card`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{margin:0,padding:tt,background:E,border:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${$e}`,transition:`all ${x.motionDurationSlow} ${x.motionEaseInOut}`},[`${$}-tab-active`]:{color:he,background:x.colorBgContainer},[`${$}-tab-focus`]:Object.assign({},(0,Mt.oN)(x,-3)),[`${$}-ink-bar`]:{visibility:"hidden"},[`& ${$}-tab${$}-tab-focus ${$}-tab-btn`]:{outline:"none"}},[`&${$}-top, &${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab + ${$}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,vt.unit)(C)}}}},[`&${$}-top`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:`${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)} 0 0`},[`${$}-tab-active`]:{borderBottomColor:x.colorBgContainer}}},[`&${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:`0 0 ${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)}`},[`${$}-tab-active`]:{borderTopColor:x.colorBgContainer}}},[`&${$}-left, &${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab + ${$}-tab`]:{marginTop:(0,vt.unit)(C)}}},[`&${$}-left`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,vt.unit)(x.borderRadiusLG)} 0 0 ${(0,vt.unit)(x.borderRadiusLG)}`}},[`${$}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:x.colorBgContainer}}}},[`&${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)} 0`}},[`${$}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:x.colorBgContainer}}}}}}},Tt=x=>{const{componentCls:$,itemHoverColor:tt,dropdownEdgeChildVerticalPadding:E}=x;return{[`${$}-dropdown`]:Object.assign(Object.assign({},(0,Mt.Wf)(x)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:x.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${$}-dropdown-menu`]:{maxHeight:x.tabsDropdownHeight,margin:0,padding:`${(0,vt.unit)(E)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:x.colorBgContainer,backgroundClip:"padding-box",borderRadius:x.borderRadiusLG,outline:"none",boxShadow:x.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Mt.vS),{display:"flex",alignItems:"center",minWidth:x.tabsDropdownWidth,margin:0,padding:`${(0,vt.unit)(x.paddingXXS)} ${(0,vt.unit)(x.paddingSM)}`,color:x.colorText,fontWeight:"normal",fontSize:x.fontSize,lineHeight:x.lineHeight,cursor:"pointer",transition:`all ${x.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:x.marginSM},color:x.colorTextDescription,fontSize:x.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:tt}},"&:hover":{background:x.controlItemBgHover},"&-disabled":{"&, &:hover":{color:x.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},wt=x=>{const{componentCls:$,margin:tt,colorBorderSecondary:E,horizontalMargin:C,verticalItemPadding:$e,verticalItemMargin:he,calc:Se}=x;return{[`${$}-top, ${$}-bottom`]:{flexDirection:"column",[`> ${$}-nav, > div > ${$}-nav`]:{margin:C,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${E}`,content:"''"},[`${$}-ink-bar`]:{height:x.lineWidthBold,"&-animated":{transition:`width ${x.motionDurationSlow}, left ${x.motionDurationSlow}, + ${(0,jn.unit)(Ht(z).mul(-1).equal())}`,[`${r}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Fe,fontWeight:h,textAlign:"start",background:Xe,borderBottom:Rt,transition:`background ${We} ease`}}},[`${r}-footer`]:{padding:`${(0,jn.unit)(I)} ${(0,jn.unit)(z)}`,color:st,background:At}})}},Xi=o=>{const{colorFillAlter:r,colorBgContainer:h,colorTextHeading:I,colorFillSecondary:z,colorFillContent:G,controlItemBgActive:me,controlItemBgActiveHover:ne,padding:Oe,paddingSM:we,paddingXS:_e,colorBorderSecondary:Ve,borderRadiusLG:Fe,controlHeight:We,colorTextPlaceholder:Xe,fontSize:Bt,fontSizeSM:st,lineHeight:At,lineWidth:Ht,colorIcon:Rt,colorIconHover:Vt,opacityLoading:Jt,controlInteractiveSize:sn}=o,on=new Wa.FastColor(z).onBackground(h).toHexString(),qn=new Wa.FastColor(G).onBackground(h).toHexString(),Rn=new Wa.FastColor(r).onBackground(h).toHexString(),Mn=new Wa.FastColor(Rt),Bn=new Wa.FastColor(Vt),an=sn/2-Ht,ln=an*2+Ht*3;return{headerBg:Rn,headerColor:I,headerSortActiveBg:on,headerSortHoverBg:qn,bodySortBg:Rn,rowHoverBg:Rn,rowSelectedBg:me,rowSelectedHoverBg:ne,rowExpandedBg:r,cellPaddingBlock:Oe,cellPaddingInline:Oe,cellPaddingBlockMD:we,cellPaddingInlineMD:_e,cellPaddingBlockSM:_e,cellPaddingInlineSM:_e,borderColor:Ve,headerBorderRadius:Fe,footerBg:Rn,footerColor:I,cellFontSize:Bt,cellFontSizeMD:Bt,cellFontSizeSM:Bt,headerSplitColor:Ve,fixedHeaderSortActiveBg:on,headerFilterHoverBg:G,filterDropdownMenuBg:h,filterDropdownBg:h,expandIconBg:h,selectionColumnWidth:We,stickyScrollBarBg:Xe,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Bt*At-Ht*3)/2-Math.ceil((st*1.4-Ht*3)/2),headerIconColor:Mn.clone().setA(Mn.a*Jt).toRgbString(),headerIconHoverColor:Bn.clone().setA(Bn.a*Jt).toRgbString(),expandIconHalfInner:an,expandIconSize:ln,expandIconScale:sn/ln}},fi=2;var Yi=(0,Ni.I$)("Table",o=>{const{colorTextHeading:r,colorSplit:h,colorBgContainer:I,controlInteractiveSize:z,headerBg:G,headerColor:me,headerSortActiveBg:ne,headerSortHoverBg:Oe,bodySortBg:we,rowHoverBg:_e,rowSelectedBg:Ve,rowSelectedHoverBg:Fe,rowExpandedBg:We,cellPaddingBlock:Xe,cellPaddingInline:Bt,cellPaddingBlockMD:st,cellPaddingInlineMD:At,cellPaddingBlockSM:Ht,cellPaddingInlineSM:Rt,borderColor:Vt,footerBg:Jt,footerColor:sn,headerBorderRadius:on,cellFontSize:qn,cellFontSizeMD:Rn,cellFontSizeSM:Mn,headerSplitColor:Bn,fixedHeaderSortActiveBg:an,headerFilterHoverBg:ln,filterDropdownBg:Qt,expandIconBg:Wt,selectionColumnWidth:rn,stickyScrollBarBg:dn,calc:wn}=o,kt=(0,Ti.mergeToken)(o,{tableFontSize:qn,tableBg:I,tableRadius:on,tablePaddingVertical:Xe,tablePaddingHorizontal:Bt,tablePaddingVerticalMiddle:st,tablePaddingHorizontalMiddle:At,tablePaddingVerticalSmall:Ht,tablePaddingHorizontalSmall:Rt,tableBorderColor:Vt,tableHeaderTextColor:me,tableHeaderBg:G,tableFooterTextColor:sn,tableFooterBg:Jt,tableHeaderCellSplitColor:Bn,tableHeaderSortBg:ne,tableHeaderSortHoverBg:Oe,tableBodySortBg:we,tableFixedHeaderSortActiveBg:an,tableHeaderFilterActiveBg:ln,tableFilterDropdownBg:Qt,tableRowHoverBg:_e,tableSelectedRowBg:Ve,tableSelectedRowHoverBg:Fe,zIndexTableFixed:fi,zIndexTableSticky:wn(fi).add(1).equal({unit:!1}),tableFontSizeMiddle:Rn,tableFontSizeSmall:Mn,tableSelectionColumnWidth:rn,tableExpandIconBg:Wt,tableExpandColumnWidth:wn(z).add(wn(o.padding).mul(2)).equal(),tableExpandedRowBg:We,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:dn,tableScrollThumbBgHover:r,tableScrollBg:h});return[ki(kt),Ki(kt),di(kt),Vi(kt),Li(kt),Zi(kt),ji(kt),Ai(kt),di(kt),Bi(kt),Wi(kt),zi(kt),Ui(kt),Di(kt),Fi(kt),Hi(kt),Gi(kt)]},Xi,{unitless:{expandIconScale:!0}});const Ji=[],Qi=(o,r)=>{var h,I;const{prefixCls:z,className:G,rootClassName:me,style:ne,size:Oe,bordered:we,dropdownPrefixCls:_e,dataSource:Ve,pagination:Fe,rowSelection:We,rowKey:Xe="key",rowClassName:Bt,columns:st,children:At,childrenColumnName:Ht,onChange:Rt,getPopupContainer:Vt,loading:Jt,expandIcon:sn,expandable:on,expandedRowRender:qn,expandIconColumnIndex:Rn,indentSize:Mn,scroll:Bn,sortDirections:an,locale:ln,showSorterTooltip:Qt={target:"full-header"},virtual:Wt}=o,rn=(0,Er.ln)("Table"),dn=e.useMemo(()=>st||Yn(At),[st,At]),wn=e.useMemo(()=>dn.some(er=>er.responsive),[dn]),kt=(0,kr.Z)(wn),cr=e.useMemo(()=>{const er=new Set(Object.keys(kt).filter(Lr=>kt[Lr]));return dn.filter(Lr=>!Lr.responsive||Lr.responsive.some(Co=>er.has(Co)))},[dn,kt]),mr=(0,br.Z)(o,["className","style","columns"]),{locale:fo=co.Z,direction:ro,table:Jr,renderEmpty:lo,getPrefixCls:Bo,getPopupContainer:gr}=e.useContext(vo.E_),yr=(0,wo.Z)(Oe),po=Object.assign(Object.assign({},fo.Table),ln),Oo=Ve||Ji,yn=Bo("table",z),Gn=Bo("dropdown",_e),[,hn]=(0,zr.ZP)(),$n=(0,Zo.Z)(yn),[Pr,Tr,oo]=Yi(yn,$n),Qr=Object.assign(Object.assign({childrenColumnName:Ht,expandIconColumnIndex:Rn},on),{expandIcon:(h=on==null?void 0:on.expandIcon)!==null&&h!==void 0?h:(I=Jr==null?void 0:Jr.expandable)===null||I===void 0?void 0:I.expandIcon}),{childrenColumnName:Ao="children"}=Qr,Lo=e.useMemo(()=>Oo.some(er=>er==null?void 0:er[Ao])?"nest":qn||on!=null&&on.expandedRowRender?"row":null,[Oo]),Cn={body:e.useRef(null)},Zn=Tn(yn),Zr=e.useRef(null),ao=e.useRef(null);xo(r,()=>Object.assign(Object.assign({},ao.current),{nativeElement:Zr.current}));const Kr=e.useMemo(()=>typeof Xe=="function"?Xe:er=>er==null?void 0:er[Xe],[Xe]),[Ho]=ra(Oo,Ao,Kr),bo={},ma=function(er,Lr){let Co=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Po,ea,ua,ga;const Fo=Object.assign(Object.assign({},bo),er);Co&&((Po=bo.resetPagination)===null||Po===void 0||Po.call(bo),!((ea=Fo.pagination)===null||ea===void 0)&&ea.current&&(Fo.pagination.current=1),Fe&&((ua=Fe.onChange)===null||ua===void 0||ua.call(Fe,1,(ga=Fo.pagination)===null||ga===void 0?void 0:ga.pageSize))),Bn&&Bn.scrollToFirstRowOnChange!==!1&&Cn.body.current&&(0,zo.Z)(0,{getContainer:()=>Cn.body.current}),Rt==null||Rt(Fo.pagination,Fo.filters,Fo.sorter,{currentDataSource:sr(Da(Oo,Fo.sorterStates,Ao),Fo.filterStates,Ao),action:Lr})},io=(er,Lr)=>{ma({sorter:er,sorterStates:Lr},"sort",!1)},[Ar,_r,eo,Ro]=Ha({prefixCls:yn,mergedColumns:cr,onSorterChange:io,sortDirections:an||["ascend","descend"],tableLocale:po,showSorterTooltip:Qt}),So=e.useMemo(()=>Da(Oo,_r,Ao),[Oo,_r]);bo.sorter=Ro(),bo.sorterStates=_r;const Dr=(er,Lr)=>{ma({filters:er,filterStates:Lr},"filter",!0)},[mo,Ur,Wo]=uo({prefixCls:yn,locale:po,dropdownPrefixCls:Gn,mergedColumns:cr,onFilterChange:Dr,getPopupContainer:Vt||gr,rootClassName:M()(me,$n)}),yo=sr(So,Ur,Ao);bo.filters=Wo,bo.filterStates=Ur;const Jo=e.useMemo(()=>{const er={};return Object.keys(Wo).forEach(Lr=>{Wo[Lr]!==null&&(er[Lr]=Wo[Lr])}),Object.assign(Object.assign({},eo),{filters:er})},[eo,Wo]),[Ia]=Ri(Jo),Va=(er,Lr)=>{ma({pagination:Object.assign(Object.assign({},bo.pagination),{current:er,pageSize:Lr})},"paginate")},[so,Ua]=Ea(yo.length,Va,Fe);bo.pagination=Fe===!1?{}:fa(so,Fe),bo.resetPagination=Ua;const Qo=e.useMemo(()=>{if(Fe===!1||!so.pageSize)return yo;const{current:er=1,total:Lr,pageSize:Co=la}=so;return yo.lengthCo?yo.slice((er-1)*Co,er*Co):yo:yo.slice((er-1)*Co,er*Co)},[!!Fe,yo,so==null?void 0:so.current,so==null?void 0:so.pageSize,so==null?void 0:so.total]),[sa,oa]=Kn({prefixCls:yn,data:yo,pageData:Qo,getRowKey:Kr,getRecordByKey:Ho,expandType:Lo,childrenColumnName:Ao,locale:po,getPopupContainer:Vt||gr},We),_o=(er,Lr,Co)=>{let Po;return typeof Bt=="function"?Po=M()(Bt(er,Lr,Co)):Po=M()(Bt),M()({[`${yn}-row-selected`]:oa.has(Kr(er,Lr))},Po)};Qr.__PARENT_RENDER_ICON__=Qr.expandIcon,Qr.expandIcon=Qr.expandIcon||sn||gn(po),Lo==="nest"&&Qr.expandIconColumnIndex===void 0?Qr.expandIconColumnIndex=We?1:0:Qr.expandIconColumnIndex>0&&We&&(Qr.expandIconColumnIndex-=1),typeof Qr.indentSize!="number"&&(Qr.indentSize=typeof Mn=="number"?Mn:15);const qo=e.useCallback(er=>Ia(sa(mo(Ar(er)))),[Ar,mo,sa]);let ca,Oa;if(Fe!==!1&&(so!=null&&so.total)){let er;so.size?er=so.size:er=yr==="small"||yr==="middle"?"small":void 0;const Lr=ea=>e.createElement(to.Z,Object.assign({},so,{className:M()(`${yn}-pagination ${yn}-pagination-${ea}`,so.className),size:er})),Co=ro==="rtl"?"left":"right",{position:Po}=so;if(Po!==null&&Array.isArray(Po)){const ea=Po.find(Fo=>Fo.includes("top")),ua=Po.find(Fo=>Fo.includes("bottom")),ga=Po.every(Fo=>`${Fo}`=="none");!ea&&!ua&&!ga&&(Oa=Lr(Co)),ea&&(ca=Lr(ea.toLowerCase().replace("top",""))),ua&&(Oa=Lr(ua.toLowerCase().replace("bottom","")))}else Oa=Lr(Co)}let ha;typeof Jt=="boolean"?ha={spinning:Jt}:typeof Jt=="object"&&(ha=Object.assign({spinning:!0},Jt));const pa=M()(oo,$n,`${yn}-wrapper`,Jr==null?void 0:Jr.className,{[`${yn}-wrapper-rtl`]:ro==="rtl"},G,me,Tr),ni=Object.assign(Object.assign({},Jr==null?void 0:Jr.style),ne),ri=typeof(ln==null?void 0:ln.emptyText)!="undefined"?ln.emptyText:(lo==null?void 0:lo("Table"))||e.createElement(Eo.Z,{componentName:"Table"}),oi=Wt?Mi:Pi,Qa={},ai=e.useMemo(()=>{const{fontSize:er,lineHeight:Lr,lineWidth:Co,padding:Po,paddingXS:ea,paddingSM:ua}=hn,ga=Math.floor(er*Lr);switch(yr){case"middle":return ua*2+ga+Co;case"small":return ea*2+ga+Co;default:return Po*2+ga+Co}},[hn,yr]);return Wt&&(Qa.listItemHeight=ai),Pr(e.createElement("div",{ref:Zr,className:pa,style:ni},e.createElement(or.Z,Object.assign({spinning:!1},ha),ca,e.createElement(oi,Object.assign({},Qa,mr,{ref:ao,columns:cr,direction:ro,expandable:Qr,prefixCls:yn,className:M()({[`${yn}-middle`]:yr==="middle",[`${yn}-small`]:yr==="small",[`${yn}-bordered`]:we,[`${yn}-empty`]:Oo.length===0},oo,$n,Tr),data:Qo,rowKey:Kr,rowClassName:_o,emptyText:ri,internalHooks:m,internalRefs:Cn,transformColumns:qo,getContainerWidth:Zn})),Oa)))};var _i=e.forwardRef(Qi);const qi=(o,r)=>{const h=e.useRef(0);return h.current+=1,e.createElement(_i,Object.assign({},o,{ref:r,_renderTimes:h.current}))},Ca=e.forwardRef(qi);Ca.SELECTION_COLUMN=rr,Ca.EXPAND_COLUMN=p,Ca.SELECTION_ALL=Br,Ca.SELECTION_INVERT=Xr,Ca.SELECTION_NONE=jr,Ca.Column=Dn,Ca.ColumnGroup=Nn,Ca.Summary=w;var el=Ca,tl=el},31691:function(Tt,re,t){t.d(re,{default:function(){return Yn}});var e=t(59301),p=t(99267),m=t(18785),Z=t(62772),R=t(92310),g=t.n(R),f=t(60499),y=t(18642),N=t(85899),n=t(72190),D=t(43749),S=t(42244),O=t(18929),J=t(49658),Ae=(0,e.createContext)(null),Y=t(77654),q=t(29301),ye=t(6089),v=t(8654),X=t(16089),i=function($){var tt=$.activeTabOffset,E=$.horizontal,C=$.rtl,$e=$.indicator,he=$e===void 0?{}:$e,Se=he.size,He=he.align,Me=He===void 0?"center":He,Qe=(0,e.useState)(),lt=(0,n.Z)(Qe,2),ot=lt[0],qe=lt[1],Nt=(0,e.useRef)(),Kt=e.useCallback(function(F){return typeof Se=="function"?Se(F):typeof Se=="number"?Se:F},[Se]);function pt(){X.Z.cancel(Nt.current)}return(0,e.useEffect)(function(){var F={};if(tt)if(E){F.width=Kt(tt.width);var le=C?"right":"left";Me==="start"&&(F[le]=tt[le]),Me==="center"&&(F[le]=tt[le]+tt.width/2,F.transform=C?"translateX(50%)":"translateX(-50%)"),Me==="end"&&(F[le]=tt[le]+tt.width,F.transform="translateX(-100%)")}else F.height=Kt(tt.height),Me==="start"&&(F.top=tt.top),Me==="center"&&(F.top=tt.top+tt.height/2,F.transform="translateY(-50%)"),Me==="end"&&(F.top=tt.top+tt.height,F.transform="translateY(-100%)");return pt(),Nt.current=(0,X.Z)(function(){qe(F)}),pt},[tt,E,C,Me,Kt]),{style:ot}},c=i,V={width:0,height:0,left:0,top:0};function ie(x,$,tt){return(0,e.useMemo)(function(){for(var E,C=new Map,$e=$.get((E=x[0])===null||E===void 0?void 0:E.key)||V,he=$e.left+$e.width,Se=0;SeIt?(Ct=$t,Ke.current="x"):(Ct=Dt,Ke.current="y"),$(-Ct,-Ct)&&ft.preventDefault()}var at=(0,e.useRef)(null);at.current={onTouchStart:Ee,onTouchMove:Ie,onTouchEnd:Pe,onWheel:Ue},e.useEffect(function(){function ft(St){at.current.onTouchStart(St)}function $t(St){at.current.onTouchMove(St)}function Dt(St){at.current.onTouchEnd(St)}function Ct(St){at.current.onWheel(St)}return document.addEventListener("touchmove",$t,{passive:!1}),document.addEventListener("touchend",Dt,{passive:!0}),x.current.addEventListener("touchstart",ft,{passive:!0}),x.current.addEventListener("wheel",Ct,{passive:!1}),function(){document.removeEventListener("touchmove",$t),document.removeEventListener("touchend",Dt)}},[])}var M=t(34280);function s(x){var $=(0,e.useState)(0),tt=(0,n.Z)($,2),E=tt[0],C=tt[1],$e=(0,e.useRef)(0),he=(0,e.useRef)();return he.current=x,(0,M.o)(function(){var Se;(Se=he.current)===null||Se===void 0||Se.call(he)},[E]),function(){$e.current===E&&($e.current+=1,C($e.current))}}function _(x){var $=(0,e.useRef)([]),tt=(0,e.useState)({}),E=(0,n.Z)(tt,2),C=E[1],$e=(0,e.useRef)(typeof x=="function"?x():x),he=s(function(){var He=$e.current;$.current.forEach(function(Me){He=Me(He)}),$.current=[],$e.current=He,C({})});function Se(He){$.current.push(He),he()}return[$e.current,Se]}var j={width:0,height:0,left:0,top:0,right:0};function De(x,$,tt,E,C,$e,he){var Se=he.tabs,He=he.tabPosition,Me=he.rtl,Qe,lt,ot;return["top","bottom"].includes(He)?(Qe="width",lt=Me?"right":"left",ot=Math.abs(tt)):(Qe="height",lt="top",ot=-tt),(0,e.useMemo)(function(){if(!Se.length)return[0,0];for(var qe=Se.length,Nt=qe,Kt=0;KtMath.floor(ot+$)){Nt=Kt-1;break}}for(var F=0,le=qe-1;le>=0;le-=1){var Ee=x.get(Se[le].key)||j;if(Ee[lt]=Nt?[0,0]:[F,Nt]},[x,$,E,C,$e,ot,He,Se.map(function(qe){return qe.key}).join("_"),Me])}function se(x){var $;return x instanceof Map?($={},x.forEach(function(tt,E){$[E]=tt})):$=x,JSON.stringify($)}var je="TABS_DQ";function et(x){return String(x).replace(/"/g,je)}function fe(x,$,tt,E){return!(!tt||E||x===!1||x===void 0&&($===!1||$===null))}var ce=e.forwardRef(function(x,$){var tt=x.prefixCls,E=x.editable,C=x.locale,$e=x.style;return!E||E.showAdd===!1?null:e.createElement("button",{ref:$,type:"button",className:"".concat(tt,"-nav-add"),style:$e,"aria-label":(C==null?void 0:C.addAriaLabel)||"Add tab",onClick:function(Se){E.onEdit("add",{event:Se})}},E.addIcon||"+")}),Ge=ce,U=e.forwardRef(function(x,$){var tt=x.position,E=x.prefixCls,C=x.extra;if(!C)return null;var $e,he={};return(0,D.Z)(C)==="object"&&!e.isValidElement(C)?he=C:he.right=C,tt==="right"&&($e=he.right),tt==="left"&&($e=he.left),$e?e.createElement("div",{className:"".concat(E,"-extra-content"),ref:$},$e):null}),ve=U,ae=t(96478),ze=t(28321),L=t(10228),pe=e.forwardRef(function(x,$){var tt=x.prefixCls,E=x.id,C=x.tabs,$e=x.locale,he=x.mobile,Se=x.more,He=Se===void 0?{}:Se,Me=x.style,Qe=x.className,lt=x.editable,ot=x.tabBarGutter,qe=x.rtl,Nt=x.removeAriaLabel,Kt=x.onTabClick,pt=x.getPopupContainer,F=x.popupClassName,le=(0,e.useState)(!1),Ee=(0,n.Z)(le,2),Ie=Ee[0],Pe=Ee[1],Ke=(0,e.useState)(null),Ue=(0,n.Z)(Ke,2),at=Ue[0],ft=Ue[1],$t=He.icon,Dt=$t===void 0?"More":$t,Ct="".concat(E,"-more-popup"),St="".concat(tt,"-dropdown"),It=at!==null?"".concat(Ct,"-").concat(at):null,Ft=$e==null?void 0:$e.dropdownAriaLabel;function qt(Ot,jt){Ot.preventDefault(),Ot.stopPropagation(),lt.onEdit("remove",{key:jt,event:Ot})}var ut=e.createElement(ze.ZP,{onClick:function(jt){var Sn=jt.key,In=jt.domEvent;Kt(Sn,In),Pe(!1)},prefixCls:"".concat(St,"-menu"),id:Ct,tabIndex:-1,role:"listbox","aria-activedescendant":It,selectedKeys:[at],"aria-label":Ft!==void 0?Ft:"expanded dropdown"},C.map(function(Ot){var jt=Ot.closable,Sn=Ot.disabled,In=Ot.closeIcon,Wn=Ot.key,On=Ot.label,An=fe(jt,In,lt,Sn);return e.createElement(ze.sN,{key:Wn,id:"".concat(Ct,"-").concat(Wn),role:"option","aria-controls":E&&"".concat(E,"-panel-").concat(Wn),disabled:Sn},e.createElement("span",null,On),An&&e.createElement("button",{type:"button","aria-label":Nt||"remove",tabIndex:0,className:"".concat(St,"-menu-item-remove"),onClick:function(ur){ur.stopPropagation(),qt(ur,Wn)}},In||lt.removeIcon||"\xD7"))}));function Pt(Ot){for(var jt=C.filter(function(An){return!An.disabled}),Sn=jt.findIndex(function(An){return An.key===at})||0,In=jt.length,Wn=0;WnLn?"left":"right"})}),St=(0,n.Z)(Ct,2),It=St[0],Ft=St[1],qt=de(0,function(ar,Ln){!Dt&&Kt&&Kt({direction:ar>Ln?"top":"bottom"})}),ut=(0,n.Z)(qt,2),Pt=ut[0],vn=ut[1],en=(0,e.useState)([0,0]),Yt=(0,n.Z)(en,2),un=Yt[0],Ot=Yt[1],jt=(0,e.useState)([0,0]),Sn=(0,n.Z)(jt,2),In=Sn[0],Wn=Sn[1],On=(0,e.useState)([0,0]),An=(0,n.Z)(On,2),kn=An[0],ur=An[1],dr=(0,e.useState)([0,0]),Xn=(0,n.Z)(dr,2),xt=Xn[0],Je=Xn[1],nt=_(new Map),Ut=(0,n.Z)(nt,2),Gt=Ut[0],fn=Ut[1],Dn=ie(Ee,Gt,In[0]),Fn=oe(un,Dt),Nn=oe(In,Dt),Jn=oe(kn,Dt),Cr=oe(xt,Dt),Sr=Math.floor(Fn)Er?Er:ar}var lr=(0,e.useRef)(null),Ir=(0,e.useState)(),rr=(0,n.Z)(Ir,2),Br=rr[0],Xr=rr[1];function jr(){Xr(Date.now())}function Hr(){lr.current&&clearTimeout(lr.current)}Q(Ue,function(ar,Ln){function Vr(qr,go){qr(function(Mo){var Xo=Nr(Mo+go);return Xo})}return Sr?(Dt?Vr(Ft,ar):Vr(vn,Ln),Hr(),jr(),!0):!1}),(0,e.useEffect)(function(){return Hr(),Br&&(lr.current=setTimeout(function(){Xr(0)},100)),Hr},[Br]);var Gr=De(Dn,pr,Dt?It:Pt,Nn,Jn,Cr,(0,N.Z)((0,N.Z)({},x),{},{tabs:Ee})),xn=(0,n.Z)(Gr,2),Kn=xn[0],br=xn[1],vr=(0,ye.Z)(function(){var ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:he,Ln=Dn.get(ar)||{width:0,height:0,left:0,right:0,top:0};if(Dt){var Vr=It;Se?Ln.rightIt+pr&&(Vr=Ln.right+Ln.width-pr):Ln.left<-It?Vr=-Ln.left:Ln.left+Ln.width>-It+pr&&(Vr=-(Ln.left+Ln.width-pr)),vn(0),Ft(Nr(Vr))}else{var qr=Pt;Ln.top<-Pt?qr=-Ln.top:Ln.top+Ln.height>-Pt+pr&&(qr=-(Ln.top+Ln.height-pr)),Ft(0),vn(Nr(qr))}}),xo=(0,e.useState)(),zo=(0,n.Z)(xo,2),vo=zo[0],Eo=zo[1],Zo=(0,e.useState)(!1),wo=(0,n.Z)(Zo,2),kr=wo[0],co=wo[1],to=Ee.filter(function(ar){return!ar.disabled}).map(function(ar){return ar.key}),or=function(Ln){var Vr=to.indexOf(vo||he),qr=to.length,go=(Vr+Ln+qr)%qr,Mo=to[go];Eo(Mo)},zr=function(Ln){var Vr=Ln.code,qr=Se&&Dt,go=to[0],Mo=to[to.length-1];switch(Vr){case"ArrowLeft":{Dt&&or(qr?1:-1);break}case"ArrowRight":{Dt&&or(qr?-1:1);break}case"ArrowUp":{Ln.preventDefault(),Dt||or(-1);break}case"ArrowDown":{Ln.preventDefault(),Dt||or(1);break}case"Home":{Ln.preventDefault(),Eo(go);break}case"End":{Ln.preventDefault(),Eo(Mo);break}case"Enter":case"Space":{Ln.preventDefault(),Nt(he,Ln);break}case"Backspace":case"Delete":{var Xo=to.indexOf(vo),Ko=Ee.find(function(No){return No.key===vo}),aa=fe(Ko==null?void 0:Ko.closable,Ko==null?void 0:Ko.closeIcon,Me,Ko==null?void 0:Ko.disabled);aa&&(Ln.preventDefault(),Ln.stopPropagation(),Me.onEdit("remove",{key:vo,event:Ln}),Xo===to.length-1?or(-1):or(1));break}}},Wr={};Dt?Wr[Se?"marginRight":"marginLeft"]=ot:Wr.marginTop=ot;var gn=Ee.map(function(ar,Ln){var Vr=ar.key;return e.createElement(Ye,{id:C,prefixCls:le,key:Vr,tab:ar,style:Ln===0?void 0:Wr,closable:ar.closable,editable:Me,active:Vr===he,focus:Vr===vo,renderWrapper:qe,removeAriaLabel:Qe==null?void 0:Qe.removeAriaLabel,tabCount:to.length,currentPosition:Ln+1,onClick:function(go){Nt(Vr,go)},onKeyDown:zr,onFocus:function(){kr||Eo(Vr),vr(Vr),jr(),Ue.current&&(Se||(Ue.current.scrollLeft=0),Ue.current.scrollTop=0)},onBlur:function(){Eo(void 0)},onMouseDown:function(){co(!0)},onMouseUp:function(){co(!1)}})}),Tn=function(){return fn(function(){var Ln,Vr=new Map,qr=(Ln=at.current)===null||Ln===void 0?void 0:Ln.getBoundingClientRect();return Ee.forEach(function(go){var Mo,Xo=go.key,Ko=(Mo=at.current)===null||Mo===void 0?void 0:Mo.querySelector('[data-node-key="'.concat(et(Xo),'"]'));if(Ko){var aa=k(Ko,qr),No=(0,n.Z)(aa,4),ba=No[0],Ra=No[1],Sa=No[2],ta=No[3];Vr.set(Xo,{width:ba,height:Ra,left:Sa,top:ta})}}),Vr})};(0,e.useEffect)(function(){Tn()},[Ee.map(function(ar){return ar.key}).join("_")]);var mn=s(function(){var ar=K(Ie),Ln=K(Pe),Vr=K(Ke);Ot([ar[0]-Ln[0]-Vr[0],ar[1]-Ln[1]-Vr[1]]);var qr=K($t);ur(qr);var go=K(ft);Je(go);var Mo=K(at);Wn([Mo[0]-qr[0],Mo[1]-qr[1]]),Tn()}),Pn=Ee.slice(0,Kn),fr=Ee.slice(br+1),Or=[].concat((0,Y.Z)(Pn),(0,Y.Z)(fr)),$o=Dn.get(he),nn=c({activeTabOffset:$o,horizontal:Dt,indicator:pt,rtl:Se}),En=nn.style;(0,e.useEffect)(function(){vr()},[he,xr,Er,se($o),se(Dn),Dt]),(0,e.useEffect)(function(){mn()},[Se]);var _n=!!Or.length,wr="".concat(le,"-nav-wrap"),Rr,Do,Io,ko;return Dt?Se?(Do=It>0,Rr=It!==Er):(Rr=It<0,Do=It!==xr):(Io=Pt<0,ko=Pt!==xr),e.createElement(q.Z,{onResize:mn},e.createElement("div",{ref:(0,v.x1)($,Ie),role:"tablist","aria-orientation":Dt?"horizontal":"vertical",className:g()("".concat(le,"-nav"),tt),style:E,onKeyDown:function(){jr()}},e.createElement(ve,{ref:Pe,position:"left",extra:He,prefixCls:le}),e.createElement(q.Z,{onResize:mn},e.createElement("div",{className:g()(wr,(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(wr,"-ping-left"),Rr),"".concat(wr,"-ping-right"),Do),"".concat(wr,"-ping-top"),Io),"".concat(wr,"-ping-bottom"),ko)),ref:Ue},e.createElement(q.Z,{onResize:mn},e.createElement("div",{ref:at,className:"".concat(le,"-nav-list"),style:{transform:"translate(".concat(It,"px, ").concat(Pt,"px)"),transition:Br?"none":void 0}},gn,e.createElement(Ge,{ref:$t,prefixCls:le,locale:Qe,editable:Me,style:(0,N.Z)((0,N.Z)({},gn.length===0?void 0:Wr),{},{visibility:_n?"hidden":null})}),e.createElement("div",{className:g()("".concat(le,"-ink-bar"),(0,y.Z)({},"".concat(le,"-ink-bar-animated"),$e.inkBar)),style:En}))))),e.createElement(Te,(0,f.Z)({},x,{removeAriaLabel:Qe==null?void 0:Qe.removeAriaLabel,ref:ft,prefixCls:le,tabs:Or,className:!_n&&Qn,tabMoving:!!Br})),e.createElement(ve,{ref:Ke,position:"right",extra:He,prefixCls:le})))}),ue=b,T=e.forwardRef(function(x,$){var tt=x.prefixCls,E=x.className,C=x.style,$e=x.id,he=x.active,Se=x.tabKey,He=x.children;return e.createElement("div",{id:$e&&"".concat($e,"-panel-").concat(Se),role:"tabpanel",tabIndex:he?0:-1,"aria-labelledby":$e&&"".concat($e,"-tab-").concat(Se),"aria-hidden":!he,style:C,className:g()(tt,he&&"".concat(tt,"-active"),E),ref:$},He)}),a=T,u=["renderTabBar"],H=["label","key"],A=function($){var tt=$.renderTabBar,E=(0,S.Z)($,u),C=e.useContext(Ae),$e=C.tabs;if(tt){var he=(0,N.Z)((0,N.Z)({},E),{},{panes:$e.map(function(Se){var He=Se.label,Me=Se.key,Qe=(0,S.Z)(Se,H);return e.createElement(a,(0,f.Z)({tab:He,key:Me,tabKey:Me},Qe))})});return tt(he,ue)}return e.createElement(ue,E)},w=A,B=t(77900),P=["key","forceRender","style","className","destroyInactiveTabPane"],W=function($){var tt=$.id,E=$.activeKey,C=$.animated,$e=$.tabPosition,he=$.destroyInactiveTabPane,Se=e.useContext(Ae),He=Se.prefixCls,Me=Se.tabs,Qe=C.tabPane,lt="".concat(He,"-tabpane");return e.createElement("div",{className:g()("".concat(He,"-content-holder"))},e.createElement("div",{className:g()("".concat(He,"-content"),"".concat(He,"-content-").concat($e),(0,y.Z)({},"".concat(He,"-content-animated"),Qe))},Me.map(function(ot){var qe=ot.key,Nt=ot.forceRender,Kt=ot.style,pt=ot.className,F=ot.destroyInactiveTabPane,le=(0,S.Z)(ot,P),Ee=qe===E;return e.createElement(B.default,(0,f.Z)({key:qe,visible:Ee,forceRender:Nt,removeOnLeave:!!(he||F),leavedClassName:"".concat(lt,"-hidden")},C.tabPaneMotion),function(Ie,Pe){var Ke=Ie.style,Ue=Ie.className;return e.createElement(a,(0,f.Z)({},le,{prefixCls:lt,id:tt,tabKey:qe,animated:Qe,active:Ee,style:(0,N.Z)((0,N.Z)({},Kt),Ke),className:g()(pt,Ue),ref:Pe}))})})))},l=W,d=t(48736);function xe(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},$;return x===!1?$={inkBar:!1,tabPane:!1}:x===!0?$={inkBar:!0,tabPane:!1}:$=(0,N.Z)({inkBar:!0},(0,D.Z)(x)==="object"?x:{}),$.tabPaneMotion&&$.tabPane===void 0&&($.tabPane=!0),!$.tabPaneMotion&&$.tabPane&&($.tabPane=!1),$}var te=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],ge=0,Ce=e.forwardRef(function(x,$){var tt=x.id,E=x.prefixCls,C=E===void 0?"rc-tabs":E,$e=x.className,he=x.items,Se=x.direction,He=x.activeKey,Me=x.defaultActiveKey,Qe=x.editable,lt=x.animated,ot=x.tabPosition,qe=ot===void 0?"top":ot,Nt=x.tabBarGutter,Kt=x.tabBarStyle,pt=x.tabBarExtraContent,F=x.locale,le=x.more,Ee=x.destroyInactiveTabPane,Ie=x.renderTabBar,Pe=x.onChange,Ke=x.onTabClick,Ue=x.onTabScroll,at=x.getPopupContainer,ft=x.popupClassName,$t=x.indicator,Dt=(0,S.Z)(x,te),Ct=e.useMemo(function(){return(he||[]).filter(function(xt){return xt&&(0,D.Z)(xt)==="object"&&"key"in xt})},[he]),St=Se==="rtl",It=xe(lt),Ft=(0,e.useState)(!1),qt=(0,n.Z)(Ft,2),ut=qt[0],Pt=qt[1];(0,e.useEffect)(function(){Pt((0,J.Z)())},[]);var vn=(0,O.Z)(function(){var xt;return(xt=Ct[0])===null||xt===void 0?void 0:xt.key},{value:He,defaultValue:Me}),en=(0,n.Z)(vn,2),Yt=en[0],un=en[1],Ot=(0,e.useState)(function(){return Ct.findIndex(function(xt){return xt.key===Yt})}),jt=(0,n.Z)(Ot,2),Sn=jt[0],In=jt[1];(0,e.useEffect)(function(){var xt=Ct.findIndex(function(nt){return nt.key===Yt});if(xt===-1){var Je;xt=Math.max(0,Math.min(Sn,Ct.length-1)),un((Je=Ct[xt])===null||Je===void 0?void 0:Je.key)}In(xt)},[Ct.map(function(xt){return xt.key}).join("_"),Yt,Sn]);var Wn=(0,O.Z)(null,{value:tt}),On=(0,n.Z)(Wn,2),An=On[0],kn=On[1];(0,e.useEffect)(function(){tt||(kn("rc-tabs-".concat(ge)),ge+=1)},[]);function ur(xt,Je){Ke==null||Ke(xt,Je);var nt=xt!==Yt;un(xt),nt&&(Pe==null||Pe(xt))}var dr={id:An,activeKey:Yt,animated:It,tabPosition:qe,rtl:St,mobile:ut},Xn=(0,N.Z)((0,N.Z)({},dr),{},{editable:Qe,locale:F,more:le,tabBarGutter:Nt,onTabClick:ur,onTabScroll:Ue,extra:pt,style:Kt,panes:null,getPopupContainer:at,popupClassName:ft,indicator:$t});return e.createElement(Ae.Provider,{value:{tabs:Ct,prefixCls:C}},e.createElement("div",(0,f.Z)({ref:$,id:tt,className:g()(C,"".concat(C,"-").concat(qe),(0,y.Z)((0,y.Z)((0,y.Z)({},"".concat(C,"-mobile"),ut),"".concat(C,"-editable"),Qe),"".concat(C,"-rtl"),St),$e)},Dt),e.createElement(w,(0,f.Z)({},Xn,{renderTabBar:Ie})),e.createElement(l,(0,f.Z)({destroyInactiveTabPane:Ee},dr,{animated:It}))))}),Ze=Ce,Be=Ze,Ne=t(48755),Le=t(83397),gt=t(31756),it=t(86641);const bt={motionAppear:!1,motionEnter:!0,motionLeave:!0};function yt(x){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},tt;return $===!1?tt={inkBar:!1,tabPane:!1}:$===!0?tt={inkBar:!0,tabPane:!0}:tt=Object.assign({inkBar:!0},typeof $=="object"?$:{}),tt.tabPane&&(tt.tabPaneMotion=Object.assign(Object.assign({},bt),{motionName:(0,it.m)(x,"switch")})),tt}var tn=t(11592),dt=function(x,$){var tt={};for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&$.indexOf(E)<0&&(tt[E]=x[E]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,E=Object.getOwnPropertySymbols(x);C$)}function Lt(x,$){if(x)return x;const tt=(0,tn.Z)($).map(E=>{if(e.isValidElement(E)){const{key:C,props:$e}=E,he=$e||{},{tab:Se}=he,He=dt(he,["tab"]);return Object.assign(Object.assign({key:String(C)},He),{label:Se})}return null});return rt(tt)}var vt=t(36237),Mt=t(63356),_t=t(16931),Et=t(51636),cn=t(46e3),ht=x=>{const{componentCls:$,motionDurationSlow:tt}=x;return[{[$]:{[`${$}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${tt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${tt}`}}}}},[(0,cn.oN)(x,"slide-up"),(0,cn.oN)(x,"slide-down")]]};const zt=x=>{const{componentCls:$,tabsCardPadding:tt,cardBg:E,cardGutter:C,colorBorderSecondary:$e,itemSelectedColor:he}=x;return{[`${$}-card`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{margin:0,padding:tt,background:E,border:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${$e}`,transition:`all ${x.motionDurationSlow} ${x.motionEaseInOut}`},[`${$}-tab-active`]:{color:he,background:x.colorBgContainer},[`${$}-tab-focus`]:Object.assign({},(0,Mt.oN)(x,-3)),[`${$}-ink-bar`]:{visibility:"hidden"},[`& ${$}-tab${$}-tab-focus ${$}-tab-btn`]:{outline:"none"}},[`&${$}-top, &${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab + ${$}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,vt.unit)(C)}}}},[`&${$}-top`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:`${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)} 0 0`},[`${$}-tab-active`]:{borderBottomColor:x.colorBgContainer}}},[`&${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:`0 0 ${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)}`},[`${$}-tab-active`]:{borderTopColor:x.colorBgContainer}}},[`&${$}-left, &${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab + ${$}-tab`]:{marginTop:(0,vt.unit)(C)}}},[`&${$}-left`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,vt.unit)(x.borderRadiusLG)} 0 0 ${(0,vt.unit)(x.borderRadiusLG)}`}},[`${$}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:x.colorBgContainer}}}},[`&${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)} 0`}},[`${$}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:x.colorBgContainer}}}}}}},Zt=x=>{const{componentCls:$,itemHoverColor:tt,dropdownEdgeChildVerticalPadding:E}=x;return{[`${$}-dropdown`]:Object.assign(Object.assign({},(0,Mt.Wf)(x)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:x.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${$}-dropdown-menu`]:{maxHeight:x.tabsDropdownHeight,margin:0,padding:`${(0,vt.unit)(E)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:x.colorBgContainer,backgroundClip:"padding-box",borderRadius:x.borderRadiusLG,outline:"none",boxShadow:x.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Mt.vS),{display:"flex",alignItems:"center",minWidth:x.tabsDropdownWidth,margin:0,padding:`${(0,vt.unit)(x.paddingXXS)} ${(0,vt.unit)(x.paddingSM)}`,color:x.colorText,fontWeight:"normal",fontSize:x.fontSize,lineHeight:x.lineHeight,cursor:"pointer",transition:`all ${x.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:x.marginSM},color:x.colorTextDescription,fontSize:x.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:tt}},"&:hover":{background:x.controlItemBgHover},"&-disabled":{"&, &:hover":{color:x.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},wt=x=>{const{componentCls:$,margin:tt,colorBorderSecondary:E,horizontalMargin:C,verticalItemPadding:$e,verticalItemMargin:he,calc:Se}=x;return{[`${$}-top, ${$}-bottom`]:{flexDirection:"column",[`> ${$}-nav, > div > ${$}-nav`]:{margin:C,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${E}`,content:"''"},[`${$}-ink-bar`]:{height:x.lineWidthBold,"&-animated":{transition:`width ${x.motionDurationSlow}, left ${x.motionDurationSlow}, right ${x.motionDurationSlow}`}},[`${$}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:x.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:x.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:x.boxShadowTabsOverflowRight},[`&${$}-nav-wrap-ping-left::before`]:{opacity:1},[`&${$}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${$}-top`]:{[`> ${$}-nav, - > div > ${$}-nav`]:{"&::before":{bottom:0},[`${$}-ink-bar`]:{bottom:0}}},[`${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{order:1,marginTop:tt,marginBottom:0,"&::before":{top:0},[`${$}-ink-bar`]:{top:0}},[`> ${$}-content-holder, > div > ${$}-content-holder`]:{order:0}},[`${$}-left, ${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{flexDirection:"column",minWidth:Se(x.controlHeight).mul(1.25).equal(),[`${$}-tab`]:{padding:$e,textAlign:"center"},[`${$}-tab + ${$}-tab`]:{margin:he},[`${$}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:x.controlHeight},"&::before":{top:0,boxShadow:x.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:x.boxShadowTabsOverflowBottom},[`&${$}-nav-wrap-ping-top::before`]:{opacity:1},[`&${$}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${$}-ink-bar`]:{width:x.lineWidthBold,"&-animated":{transition:`height ${x.motionDurationSlow}, top ${x.motionDurationSlow}`}},[`${$}-nav-list, ${$}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${$}-left`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${$}-content-holder, > div > ${$}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,vt.unit)(Se(x.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${x.colorBorder}`},[`> ${$}-content > ${$}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:x.paddingLG}}}},[`${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{order:1,[`${$}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${$}-content-holder, > div > ${$}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:Se(x.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${x.colorBorder}`},[`> ${$}-content > ${$}-tabpane`]:{paddingRight:{_skip_check_:!0,value:x.paddingLG}}}}}},Xt=x=>{const{componentCls:$,cardPaddingSM:tt,cardPaddingLG:E,horizontalItemPaddingSM:C,horizontalItemPaddingLG:$e}=x;return{[$]:{"&-small":{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:C,fontSize:x.titleFontSizeSM}}},"&-large":{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:$e,fontSize:x.titleFontSizeLG}}}},[`${$}-card`]:{[`&${$}-small`]:{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:tt}},[`&${$}-bottom`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:`0 0 ${(0,vt.unit)(x.borderRadius)} ${(0,vt.unit)(x.borderRadius)}`}},[`&${$}-top`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:`${(0,vt.unit)(x.borderRadius)} ${(0,vt.unit)(x.borderRadius)} 0 0`}},[`&${$}-right`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,vt.unit)(x.borderRadius)} ${(0,vt.unit)(x.borderRadius)} 0`}}},[`&${$}-left`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,vt.unit)(x.borderRadius)} 0 0 ${(0,vt.unit)(x.borderRadius)}`}}}},[`&${$}-large`]:{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:E}}}}}},pn=x=>{const{componentCls:$,itemActiveColor:tt,itemHoverColor:E,iconCls:C,tabsHorizontalItemMargin:$e,horizontalItemPadding:he,itemSelectedColor:Se,itemColor:He}=x,Me=`${$}-tab`;return{[Me]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:he,fontSize:x.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:He,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:tt}},"&-btn":{outline:"none",transition:`all ${x.motionDurationSlow}`,[`${Me}-icon:not(:last-child)`]:{marginInlineEnd:x.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:x.calc(x.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:x.marginXS},color:x.colorTextDescription,fontSize:x.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${x.motionDurationSlow}`,"&:hover":{color:x.colorTextHeading}},(0,Mt.Qy)(x)),"&:hover":{color:E},[`&${Me}-active ${Me}-btn`]:{color:Se,textShadow:x.tabsActiveTextShadow},[`&${Me}-focus ${Me}-btn`]:Object.assign({},(0,Mt.oN)(x)),[`&${Me}-disabled`]:{color:x.colorTextDisabled,cursor:"not-allowed"},[`&${Me}-disabled ${Me}-btn, &${Me}-disabled ${$}-remove`]:{"&:focus, &:active":{color:x.colorTextDisabled}},[`& ${Me}-remove ${C}`]:{margin:0},[`${C}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:x.marginSM}}},[`${Me} + ${Me}`]:{margin:{_skip_check_:!0,value:$e}}}},zn=x=>{const{componentCls:$,tabsHorizontalItemMarginRTL:tt,iconCls:E,cardGutter:C,calc:$e}=x;return{[`${$}-rtl`]:{direction:"rtl",[`${$}-nav`]:{[`${$}-tab`]:{margin:{_skip_check_:!0,value:tt},[`${$}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[E]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,vt.unit)(x.marginSM)}},[`${$}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,vt.unit)(x.marginXS)},marginLeft:{_skip_check_:!0,value:(0,vt.unit)($e(x.marginXXS).mul(-1).equal())},[E]:{margin:0}}}},[`&${$}-left`]:{[`> ${$}-nav`]:{order:1},[`> ${$}-content-holder`]:{order:0}},[`&${$}-right`]:{[`> ${$}-nav`]:{order:0},[`> ${$}-content-holder`]:{order:1}},[`&${$}-card${$}-top, &${$}-card${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab + ${$}-tab`]:{marginRight:{_skip_check_:!0,value:C},marginLeft:{_skip_check_:!0,value:0}}}}},[`${$}-dropdown-rtl`]:{direction:"rtl"},[`${$}-menu-item`]:{[`${$}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Hn=x=>{const{componentCls:$,tabsCardPadding:tt,cardHeight:E,cardGutter:C,itemHoverColor:$e,itemActiveColor:he,colorBorderSecondary:Se}=x;return{[$]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Mt.Wf)(x)),{display:"flex",[`> ${$}-nav, > div > ${$}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${$}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${x.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${$}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${x.motionDurationSlow}`},[`${$}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${$}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${$}-nav-more`]:{position:"relative",padding:tt,background:"transparent",border:0,color:x.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:x.calc(x.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${$}-nav-add`]:Object.assign({minWidth:E,marginLeft:{_skip_check_:!0,value:C},padding:(0,vt.unit)(x.paddingXS),background:"transparent",border:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${Se}`,borderRadius:`${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:x.colorText,transition:`all ${x.motionDurationSlow} ${x.motionEaseInOut}`,"&:hover":{color:$e},"&:active, &:focus:not(:focus-visible)":{color:he}},(0,Mt.Qy)(x,-3))},[`${$}-extra-content`]:{flex:"none"},[`${$}-ink-bar`]:{position:"absolute",background:x.inkBarColor,pointerEvents:"none"}}),pn(x)),{[`${$}-content`]:{position:"relative",width:"100%"},[`${$}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${$}-tabpane`]:Object.assign(Object.assign({},(0,Mt.Qy)(x)),{"&-hidden":{display:"none"}})}),[`${$}-centered`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-nav-wrap`]:{[`&:not([class*='${$}-nav-wrap-ping']) > ${$}-nav-list`]:{margin:"auto"}}}}}},ir=x=>{const $=x.controlHeightLG;return{zIndexPopup:x.zIndexPopupBase+50,cardBg:x.colorFillAlter,cardHeight:$,cardPadding:`${($-Math.round(x.fontSize*x.lineHeight))/2-x.lineWidth}px ${x.padding}px`,cardPaddingSM:`${x.paddingXXS*1.5}px ${x.padding}px`,cardPaddingLG:`${x.paddingXS}px ${x.padding}px ${x.paddingXXS*1.5}px`,titleFontSize:x.fontSize,titleFontSizeLG:x.fontSizeLG,titleFontSizeSM:x.fontSize,inkBarColor:x.colorPrimary,horizontalMargin:`0 0 ${x.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${x.paddingSM}px 0`,horizontalItemPaddingSM:`${x.paddingXS}px 0`,horizontalItemPaddingLG:`${x.padding}px 0`,verticalItemPadding:`${x.paddingXS}px ${x.paddingLG}px`,verticalItemMargin:`${x.margin}px 0 0 0`,itemColor:x.colorText,itemSelectedColor:x.colorPrimary,itemHoverColor:x.colorPrimaryHover,itemActiveColor:x.colorPrimaryActive,cardGutter:x.marginXXS/2}};var tr=(0,_t.I$)("Tabs",x=>{const $=(0,Et.mergeToken)(x,{tabsCardPadding:x.cardPadding,dropdownEdgeChildVerticalPadding:x.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,vt.unit)(x.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,vt.unit)(x.horizontalItemGutter)}`});return[Xt($),zn($),wt($),Tt($),zt($),Hn($),ht($)]},ir),bn=()=>null,Vn=function(x,$){var tt={};for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&$.indexOf(E)<0&&(tt[E]=x[E]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,E=Object.getOwnPropertySymbols(x);C{var $,tt,E,C,$e,he,Se,He,Me,Qe,lt;const{type:ot,className:qe,rootClassName:Nt,size:Kt,onEdit:pt,hideAdd:F,centered:le,addIcon:Ee,removeIcon:Ie,moreIcon:Pe,more:Ke,popupClassName:Ue,children:at,items:ft,animated:$t,style:Dt,indicatorSize:Ct,indicator:St}=x,It=Vn(x,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:Ft}=It,{direction:qt,tabs:ut,getPrefixCls:Pt,getPopupContainer:vn}=e.useContext(Ne.E_),en=Pt("tabs",Ft),Yt=(0,Le.Z)(en),[un,Ot,jt]=tr(en,Yt);let Sn;ot==="editable-card"&&(Sn={onEdit:(dr,Xn)=>{let{key:xt,event:Je}=Xn;pt==null||pt(dr==="add"?Je:xt,dr)},removeIcon:($=Ie!=null?Ie:ut==null?void 0:ut.removeIcon)!==null&&$!==void 0?$:e.createElement(p.Z,null),addIcon:(Ee!=null?Ee:ut==null?void 0:ut.addIcon)||e.createElement(Z.Z,null),showAdd:F!==!0});const In=Pt(),Wn=(0,gt.Z)(Kt),On=Lt(ft,at),An=yt(en,$t),kn=Object.assign(Object.assign({},ut==null?void 0:ut.style),Dt),ur={align:(tt=St==null?void 0:St.align)!==null&&tt!==void 0?tt:(E=ut==null?void 0:ut.indicator)===null||E===void 0?void 0:E.align,size:(Se=($e=(C=St==null?void 0:St.size)!==null&&C!==void 0?C:Ct)!==null&&$e!==void 0?$e:(he=ut==null?void 0:ut.indicator)===null||he===void 0?void 0:he.size)!==null&&Se!==void 0?Se:ut==null?void 0:ut.indicatorSize};return un(e.createElement(Be,Object.assign({direction:qt,getPopupContainer:vn},It,{items:On,className:g()({[`${en}-${Wn}`]:Wn,[`${en}-card`]:["card","editable-card"].includes(ot),[`${en}-editable-card`]:ot==="editable-card",[`${en}-centered`]:le},ut==null?void 0:ut.className,qe,Nt,Ot,jt,Yt),popupClassName:g()(Ue,Ot,jt,Yt),style:kn,editable:Sn,more:Object.assign({icon:(lt=(Qe=(Me=(He=ut==null?void 0:ut.more)===null||He===void 0?void 0:He.icon)!==null&&Me!==void 0?Me:ut==null?void 0:ut.moreIcon)!==null&&Qe!==void 0?Qe:Pe)!==null&<!==void 0?lt:e.createElement(m.Z,null),transitionName:`${In}-slide-up`},Ke),prefixCls:en,animated:An,indicator:ur})))};Un.TabPane=bn;var Yn=Un},93427:function(Zt,re,t){t.d(re,{Z:function(){return p}});var e=t(34998);function p(m,Z){return e.i.reduce((R,g)=>{const f=m[`${g}1`],y=m[`${g}3`],N=m[`${g}6`],n=m[`${g}7`];return Object.assign(Object.assign({},R),Z(g,{lightColor:f,lightBorderColor:y,darkColor:N,textColor:n}))},{})}},25399:function(Zt,re,t){t.d(re,{Z:function(){return _}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(29125),R=t(18929),g=t(62487),f=t(75030),y=t(86641),N=t(52838),n=t(22703),D=t(32383),S=t(55743),O=t(57700),J=t(48755),Ae=t(36237),Y=t(63356),q=t(34925),ye=t(37645),v=t(36305),X=t(93427),i=t(51636),c=t(16931);const V=j=>{const{calc:De,componentCls:se,tooltipMaxWidth:je,tooltipColor:et,tooltipBg:fe,tooltipBorderRadius:ce,zIndexPopup:Ge,controlHeight:U,boxShadowSecondary:ve,paddingSM:ae,paddingXS:ze,arrowOffsetHorizontal:L,sizePopupArrow:pe}=j,Te=De(ce).add(pe).add(L).equal(),ct=De(ce).mul(2).add(pe).equal();return[{[se]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(j)),{position:"absolute",zIndex:Ge,display:"block",width:"max-content",maxWidth:je,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":fe,[`${se}-inner`]:{minWidth:ct,minHeight:U,padding:`${(0,Ae.unit)(j.calc(ae).div(2).equal())} ${(0,Ae.unit)(ze)}`,color:et,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:fe,borderRadius:ce,boxShadow:ve,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:Te},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${se}-inner`]:{borderRadius:j.min(ce,ye.qN)}},[`${se}-content`]:{position:"relative"}}),(0,X.Z)(j,(Xe,k)=>{let{darkColor:K}=k;return{[`&${se}-${Xe}`]:{[`${se}-inner`]:{backgroundColor:K},[`${se}-arrow`]:{"--antd-arrow-background-color":K}}}})),{"&-rtl":{direction:"rtl"}})},(0,ye.ZP)(j,"var(--antd-arrow-background-color)"),{[`${se}-pure`]:{position:"relative",maxWidth:"none",margin:j.sizePopupArrow}}]},ie=j=>Object.assign(Object.assign({zIndexPopup:j.zIndexPopupBase+70},(0,ye.wZ)({contentRadius:j.borderRadius,limitVerticalRadius:!0})),(0,v.w)((0,i.mergeToken)(j,{borderRadiusOuter:Math.min(j.borderRadiusOuter,4)})));var de=function(j){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,c.I$)("Tooltip",je=>{const{borderRadius:et,colorTextLightSolid:fe,colorBgSpotlight:ce}=je,Ge=(0,i.mergeToken)(je,{tooltipMaxWidth:250,tooltipColor:fe,tooltipBorderRadius:et,tooltipBg:ce});return[V(Ge),(0,q._y)(je,"zoom-big-fast")]},ie,{resetStyle:!1,injectStyle:De})(j)},ke=t(29509);function Re(j,De){const se=(0,ke.o2)(De),je=m()({[`${j}-${De}`]:De&&se}),et={},fe={};return De&&!se&&(et.background=De,fe["--antd-arrow-background-color"]=De),{className:je,overlayStyle:et,arrowStyle:fe}}var be=j=>{const{prefixCls:De,className:se,placement:je="top",title:et,color:fe,overlayInnerStyle:ce}=j,{getPrefixCls:Ge}=e.useContext(J.E_),U=Ge("tooltip",De),[ve,ae,ze]=de(U),L=Re(U,fe),pe=L.arrowStyle,Te=Object.assign(Object.assign({},ce),L.overlayStyle),ct=m()(ae,ze,U,`${U}-pure`,`${U}-placement-${je}`,se,L.className);return ve(e.createElement("div",{className:ct,style:pe},e.createElement("div",{className:`${U}-arrow`}),e.createElement(Z.G,Object.assign({},j,{className:ae,prefixCls:U,overlayInnerStyle:Te}),et)))},Q=function(j,De){var se={};for(var je in j)Object.prototype.hasOwnProperty.call(j,je)&&De.indexOf(je)<0&&(se[je]=j[je]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,je=Object.getOwnPropertySymbols(j);et{var se,je;const{prefixCls:et,openClassName:fe,getTooltipContainer:ce,color:Ge,overlayInnerStyle:U,children:ve,afterOpenChange:ae,afterVisibleChange:ze,destroyTooltipOnHide:L,arrow:pe=!0,title:Te,overlay:ct,builtinPlacements:Xe,arrowPointAtCenter:k=!1,autoAdjustOverflow:K=!0,motion:oe,getPopupContainer:b,placement:ue="top",mouseEnterDelay:T=.1,mouseLeaveDelay:a=.1,overlayStyle:u,rootClassName:H,overlayClassName:A,styles:w,classNames:B}=j,P=Q(j,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),W=!!pe,[,l]=(0,O.ZP)(),{getPopupContainer:d,getPrefixCls:xe,direction:te,className:ge,style:Ce,classNames:Ze,styles:Be}=(0,J.dj)("tooltip"),Ne=(0,D.ln)("Tooltip"),Le=e.useRef(null),gt=()=>{var bn;(bn=Le.current)===null||bn===void 0||bn.forceAlign()};e.useImperativeHandle(De,()=>{var bn,Vn;return{forceAlign:gt,forcePopupAlign:()=>{Ne.deprecated(!1,"forcePopupAlign","forceAlign"),gt()},nativeElement:(bn=Le.current)===null||bn===void 0?void 0:bn.nativeElement,popupElement:(Vn=Le.current)===null||Vn===void 0?void 0:Vn.popupElement}});const[it,bt]=(0,R.Z)(!1,{value:(se=j.open)!==null&&se!==void 0?se:j.visible,defaultValue:(je=j.defaultOpen)!==null&&je!==void 0?je:j.defaultVisible}),yt=!Te&&!ct&&Te!==0,tn=bn=>{var Vn,Un;bt(yt?!1:bn),yt||((Vn=j.onOpenChange)===null||Vn===void 0||Vn.call(j,bn),(Un=j.onVisibleChange)===null||Un===void 0||Un.call(j,bn))},dt=e.useMemo(()=>{var bn,Vn;let Un=k;return typeof pe=="object"&&(Un=(Vn=(bn=pe.pointAtCenter)!==null&&bn!==void 0?bn:pe.arrowPointAtCenter)!==null&&Vn!==void 0?Vn:k),Xe||(0,N.Z)({arrowPointAtCenter:Un,autoAdjustOverflow:K,arrowWidth:W?l.sizePopupArrow:0,borderRadius:l.borderRadius,offset:l.marginXXS,visibleFirst:!0})},[k,pe,Xe,l]),rt=e.useMemo(()=>Te===0?Te:ct||Te||"",[ct,Te]),Lt=e.createElement(g.Z,{space:!0},typeof rt=="function"?rt():rt),vt=xe("tooltip",et),Mt=xe(),_t=j["data-popover-inject"];let Et=it;!("open"in j)&&!("visible"in j)&&yt&&(Et=!1);const cn=e.isValidElement(ve)&&!(0,n.M2)(ve)?ve:e.createElement("span",null,ve),mt=cn.props,ht=!mt.className||typeof mt.className=="string"?m()(mt.className,fe||`${vt}-open`):mt.className,[zt,Tt,wt]=de(vt,!_t),Xt=Re(vt,Ge),pn=Xt.arrowStyle,zn=m()(A,{[`${vt}-rtl`]:te==="rtl"},Xt.className,H,Tt,wt,ge,Ze.root,B==null?void 0:B.root),Hn=m()(Ze.body,B==null?void 0:B.body),[ir,tr]=(0,f.Cn)("Tooltip",P.zIndex),nr=e.createElement(Z.Z,Object.assign({},P,{zIndex:ir,showArrow:W,placement:ue,mouseEnterDelay:T,mouseLeaveDelay:a,prefixCls:vt,classNames:{root:zn,body:Hn},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},pn),Be.root),Ce),u),w==null?void 0:w.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},Be.body),U),w==null?void 0:w.body),Xt.overlayStyle)},getTooltipContainer:b||ce||d,ref:Le,builtinPlacements:dt,overlay:Lt,visible:Et,onVisibleChange:tn,afterVisibleChange:ae!=null?ae:ze,arrowContent:e.createElement("span",{className:`${vt}-arrow-content`}),motion:{motionName:(0,y.m)(Mt,"zoom-big-fast",j.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!L}),Et?(0,n.Tm)(cn,{className:ht}):cn);return zt(e.createElement(S.Z.Provider,{value:tr},nr))});s._InternalPanelDoNotUseOrYouWillBeFired=be;var _=s},18287:function(Zt,re,t){t.d(re,{default:function(){return Ge}});var e=t(87632),p=t(77654),m=t(59301),Z=t(52671),R=t(8657),g=t(60499),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},y=f,N=t(7657),n=function(ve,ae){return m.createElement(N.Z,(0,g.Z)({},ve,{ref:ae,icon:y}))},D=m.forwardRef(n),S=D,O=t(92310),J=t.n(O),Ae=t(82661),Y=t(34061),q=t(48755),ye=t(56082),v=t(86641),X=t(57700),i=t(12425);const c=4;function V(U){const{dropPosition:ve,dropLevelOffset:ae,prefixCls:ze,indent:L,direction:pe="ltr"}=U,Te=pe==="ltr"?"left":"right",ct=pe==="ltr"?"right":"left",Xe={[Te]:-ae*L+c,[ct]:0};switch(ve){case-1:Xe.top=-3;break;case 1:Xe.bottom=-3;break;default:Xe.bottom=-3,Xe[Te]=L+c;break}return m.createElement("div",{style:Xe,className:`${ze}-drop-indicator`})}var ie=V,de=t(85278),Re=m.forwardRef((U,ve)=>{var ae;const{getPrefixCls:ze,direction:L,virtual:pe,tree:Te}=m.useContext(q.E_),{prefixCls:ct,className:Xe,showIcon:k=!1,showLine:K,switcherIcon:oe,switcherLoadingIcon:b,blockNode:ue=!1,children:T,checkable:a=!1,selectable:u=!0,draggable:H,motion:A,style:w}=U,B=ze("tree",ct),P=ze(),W=A!=null?A:Object.assign(Object.assign({},(0,v.Z)(P)),{motionAppear:!1}),l=Object.assign(Object.assign({},U),{checkable:a,selectable:u,showIcon:k,motion:W,blockNode:ue,showLine:!!K,dropIndicatorRender:ie}),[d,xe,te]=(0,i.ZP)(B),[,ge]=(0,X.ZP)(),Ce=ge.paddingXS/2+(((ae=ge.Tree)===null||ae===void 0?void 0:ae.titleHeight)||ge.controlHeightSM),Ze=m.useMemo(()=>{if(!H)return!1;let Ne={};switch(typeof H){case"function":Ne.nodeDraggable=H;break;case"object":Ne=Object.assign({},H);break;default:break}return Ne.icon!==!1&&(Ne.icon=Ne.icon||m.createElement(ye.Z,null)),Ne},[H]),Be=Ne=>m.createElement(de.Z,{prefixCls:B,switcherIcon:oe,switcherLoadingIcon:b,treeNodeProps:Ne,showLine:K});return d(m.createElement(e.ZP,Object.assign({itemHeight:Ce,ref:ve,virtual:pe},l,{style:Object.assign(Object.assign({},Te==null?void 0:Te.style),w),prefixCls:B,className:J()({[`${B}-icon-hide`]:!k,[`${B}-block-node`]:ue,[`${B}-unselectable`]:!u,[`${B}-rtl`]:L==="rtl"},Te==null?void 0:Te.className,Xe,xe,te),direction:L,checkable:a&&m.createElement("span",{className:`${B}-checkbox-inner`}),selectable:u,switcherIcon:Be,draggable:Ze}),T))});const ee=0,be=1,Q=2;function M(U,ve,ae){const{key:ze,children:L}=ae;function pe(Te){const ct=Te[ze],Xe=Te[L];ve(ct,Te)!==!1&&M(Xe||[],ve,ae)}U.forEach(pe)}function s(U){let{treeData:ve,expandedKeys:ae,startKey:ze,endKey:L,fieldNames:pe}=U;const Te=[];let ct=ee;if(ze&&ze===L)return[ze];if(!ze||!L)return[];function Xe(k){return k===ze||k===L}return M(ve,k=>{if(ct===Q)return!1;if(Xe(k)){if(Te.push(k),ct===ee)ct=be;else if(ct===be)return ct=Q,!1}else ct===be&&Te.push(k);return ae.includes(k)},(0,Y.w$)(pe)),Te}function _(U,ve,ae){const ze=(0,p.Z)(ve),L=[];return M(U,(pe,Te)=>{const ct=ze.indexOf(pe);return ct!==-1&&(L.push(Te),ze.splice(ct,1)),!!ze.length},(0,Y.w$)(ae)),L}var j=function(U,ve){var ae={};for(var ze in U)Object.prototype.hasOwnProperty.call(U,ze)&&ve.indexOf(ze)<0&&(ae[ze]=U[ze]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,ze=Object.getOwnPropertySymbols(U);L{var{defaultExpandAll:ae,defaultExpandParent:ze,defaultExpandedKeys:L}=U,pe=j(U,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Te=m.useRef(null),ct=m.useRef(null),Xe=()=>{const{keyEntities:d}=(0,Y.I8)(se(pe));let xe;return ae?xe=Object.keys(d):ze?xe=(0,Ae.r7)(pe.expandedKeys||L||[],d):xe=pe.expandedKeys||L||[],xe},[k,K]=m.useState(pe.selectedKeys||pe.defaultSelectedKeys||[]),[oe,b]=m.useState(()=>Xe());m.useEffect(()=>{"selectedKeys"in pe&&K(pe.selectedKeys)},[pe.selectedKeys]),m.useEffect(()=>{"expandedKeys"in pe&&b(pe.expandedKeys)},[pe.expandedKeys]);const ue=(d,xe)=>{var te;return"expandedKeys"in pe||b(d),(te=pe.onExpand)===null||te===void 0?void 0:te.call(pe,d,xe)},T=(d,xe)=>{var te;const{multiple:ge,fieldNames:Ce}=pe,{node:Ze,nativeEvent:Be}=xe,{key:Ne=""}=Ze,Le=se(pe),gt=Object.assign(Object.assign({},xe),{selected:!0}),it=(Be==null?void 0:Be.ctrlKey)||(Be==null?void 0:Be.metaKey),bt=Be==null?void 0:Be.shiftKey;let yt;ge&&it?(yt=d,Te.current=Ne,ct.current=yt,gt.selectedNodes=_(Le,yt,Ce)):ge&&bt?(yt=Array.from(new Set([].concat((0,p.Z)(ct.current||[]),(0,p.Z)(s({treeData:Le,expandedKeys:oe,startKey:Ne,endKey:Te.current,fieldNames:Ce}))))),gt.selectedNodes=_(Le,yt,Ce)):(yt=[Ne],Te.current=Ne,ct.current=yt,gt.selectedNodes=_(Le,yt,Ce)),(te=pe.onSelect)===null||te===void 0||te.call(pe,yt,gt),"selectedKeys"in pe||K(yt)},{getPrefixCls:a,direction:u}=m.useContext(q.E_),{prefixCls:H,className:A,showIcon:w=!0,expandAction:B="click"}=pe,P=j(pe,["prefixCls","className","showIcon","expandAction"]),W=a("tree",H),l=J()(`${W}-directory`,{[`${W}-directory-rtl`]:u==="rtl"},A);return m.createElement(Re,Object.assign({icon:De,ref:ve,blockNode:!0},P,{showIcon:w,expandAction:B,prefixCls:W,className:l,expandedKeys:oe,selectedKeys:k,onSelect:T,onExpand:ue}))};var fe=m.forwardRef(je);const ce=Re;ce.DirectoryTree=fe,ce.TreeNode=e.OF;var Ge=ce},12425:function(Zt,re,t){t.d(re,{ZP:function(){return Ae},Yk:function(){return S},TM:function(){return O}});var e=t(36237),p=t(36170),m=t(63356),Z=t(34961),R=t(51636),g=t(16931);const f=Y=>{let{treeCls:q,treeNodeCls:ye,directoryNodeSelectedBg:v,directoryNodeSelectedColor:X,motionDurationMid:i,borderRadius:c,controlItemBgHover:V}=Y;return{[`${q}${q}-directory ${ye}`]:{[`${q}-node-content-wrapper`]:{position:"static",[`> *:not(${q}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${i}`,content:'""',borderRadius:c},"&:hover:before":{background:V}},[`${q}-switcher, ${q}-checkbox, ${q}-draggable-icon`]:{zIndex:1},"&-selected":{[`${q}-switcher, ${q}-draggable-icon`]:{color:X},[`${q}-node-content-wrapper`]:{color:X,background:"transparent","&:before, &:hover:before":{background:v}}}}}},y=new e.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),N=(Y,q)=>({[`.${Y}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${q.motionDurationSlow}`}}}),n=(Y,q)=>({[`.${Y}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:q.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(q.lineWidthBold)} solid ${q.colorPrimary}`,borderRadius:"50%",content:'""'}}}),D=(Y,q)=>{const{treeCls:ye,treeNodeCls:v,treeNodePadding:X,titleHeight:i,indentSize:c,nodeSelectedBg:V,nodeHoverBg:ie,colorTextQuaternary:de,controlItemBgActiveDisabled:ke}=q;return{[ye]:Object.assign(Object.assign({},(0,m.Wf)(q)),{background:q.colorBgContainer,borderRadius:q.borderRadius,transition:`background-color ${q.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${ye}-rtl ${ye}-switcher_close ${ye}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${ye}-active-focused)`]:Object.assign({},(0,m.oN)(q)),[`${ye}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ye}-block-node`]:{[`${ye}-list-holder-inner`]:{alignItems:"stretch",[`${ye}-node-content-wrapper`]:{flex:"auto"},[`${v}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${q.colorPrimary}`,opacity:0,animationName:y,animationDuration:q.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:q.borderRadius}}},[v]:{display:"flex",alignItems:"flex-start",marginBottom:X,lineHeight:(0,e.unit)(i),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:X},[`&-disabled ${ye}-node-content-wrapper`]:{color:q.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${ye}-checkbox-disabled + ${ye}-node-selected,&${v}-disabled${v}-selected ${ye}-node-content-wrapper`]:{backgroundColor:ke},[`${ye}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${v}-disabled)`]:{[`${ye}-node-content-wrapper`]:{"&:hover":{color:q.nodeHoverColor}}},[`&-active ${ye}-node-content-wrapper`]:{background:q.controlItemBgHover},[`&:not(${v}-disabled).filter-node ${ye}-title`]:{color:q.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${ye}-draggable-icon`]:{flexShrink:0,width:i,textAlign:"center",visibility:"visible",color:de},[`&${v}-disabled ${ye}-draggable-icon`]:{visibility:"hidden"}}},[`${ye}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:c}},[`${ye}-draggable-icon`]:{visibility:"hidden"},[`${ye}-switcher, ${ye}-checkbox`]:{marginInlineEnd:q.calc(q.calc(i).sub(q.controlInteractiveSize)).div(2).equal()},[`${ye}-switcher`]:Object.assign(Object.assign({},N(Y,q)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${q.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:q.borderRadius,transition:`all ${q.motionDurationSlow}`},[`&:not(${ye}-switcher-noop):hover:before`]:{backgroundColor:q.colorBgTextHover},[`&_close ${ye}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:q.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:q.calc(i).div(2).equal(),bottom:q.calc(X).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${q.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:q.calc(q.calc(i).div(2).equal()).mul(.8).equal(),height:q.calc(i).div(2).equal(),borderBottom:`1px solid ${q.colorBorder}`,content:'""'}}}),[`${ye}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:i,paddingBlock:0,paddingInline:q.paddingXS,background:"transparent",borderRadius:q.borderRadius,cursor:"pointer",transition:`all ${q.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},n(Y,q)),{"&:hover":{backgroundColor:ie},[`&${ye}-node-selected`]:{color:q.nodeSelectedColor,backgroundColor:V},[`${ye}-iconEle`]:{display:"inline-block",width:i,height:i,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${ye}-unselectable ${ye}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${v}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${q.colorPrimary}`},"&-show-line":{[`${ye}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:q.calc(i).div(2).equal(),bottom:q.calc(X).mul(-1).equal(),borderInlineEnd:`1px solid ${q.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${ye}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${v}-leaf-last ${ye}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(q.calc(i).div(2).equal())} !important`}})}},S=function(Y,q){let ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const v=`.${Y}`,X=`${v}-treenode`,i=q.calc(q.paddingXS).div(2).equal(),c=(0,R.mergeToken)(q,{treeCls:v,treeNodeCls:X,treeNodePadding:i});return[D(Y,c),ye&&f(c)].filter(Boolean)},O=Y=>{const{controlHeightSM:q,controlItemBgHover:ye,controlItemBgActive:v}=Y,X=q;return{titleHeight:X,indentSize:X,nodeHoverBg:ye,nodeHoverColor:Y.colorText,nodeSelectedBg:v,nodeSelectedColor:Y.colorText}},J=Y=>{const{colorTextLightSolid:q,colorPrimary:ye}=Y;return Object.assign(Object.assign({},O(Y)),{directoryNodeSelectedColor:q,directoryNodeSelectedBg:ye})};var Ae=(0,g.I$)("Tree",(Y,q)=>{let{prefixCls:ye}=q;return[{[Y.componentCls]:(0,p.C2)(`${ye}-checkbox`,Y)},S(ye,Y),(0,Z.Z)(Y)]},J)},85278:function(Zt,re,t){t.d(re,{Z:function(){return q}});var e=t(59301),p=t(60499),m={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Z=m,R=t(7657),g=function(v,X){return e.createElement(R.Z,(0,p.Z)({},v,{ref:X,icon:Z}))},f=e.forwardRef(g),y=f,N=t(52671),n=t(58617),D=t(15075),S=t(43531),O=t(92310),J=t.n(O),Ae=t(22703),q=ye=>{const{prefixCls:v,switcherIcon:X,treeNodeProps:i,showLine:c,switcherLoadingIcon:V}=ye,{isLeaf:ie,expanded:de,loading:ke}=i;if(ke)return e.isValidElement(V)?V:e.createElement(n.Z,{className:`${v}-switcher-loading-icon`});let Re;if(c&&typeof c=="object"&&(Re=c.showLeafIcon),ie){if(!c)return null;if(typeof Re!="boolean"&&Re){const Q=typeof Re=="function"?Re(i):Re,M=`${v}-switcher-line-custom-icon`;return e.isValidElement(Q)?(0,Ae.Tm)(Q,{className:J()(Q.props.className||"",M)}):Q}return Re?e.createElement(N.Z,{className:`${v}-switcher-line-icon`}):e.createElement("span",{className:`${v}-switcher-leaf-line`})}const ee=`${v}-switcher-icon`,be=typeof X=="function"?X(i):X;return e.isValidElement(be)?(0,Ae.Tm)(be,{className:J()(be.props.className||"",ee)}):be!==void 0?be:c?de?e.createElement(D.Z,{className:`${v}-switcher-line-icon`}):e.createElement(S.Z,{className:`${v}-switcher-line-icon`}):e.createElement(y,{className:ee})}},97774:function(Zt,re,t){Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var e=Object.assign||function(Y){for(var q=1;qd;(0,f.useImperativeHandle)(c,function(){var dt;return{focus:ue,blur:function(){var Lt;(Lt=oe.current)===null||Lt===void 0||Lt.blur()},setSelectionRange:function(Lt,vt,Mt){var _t;(_t=oe.current)===null||_t===void 0||_t.setSelectionRange(Lt,vt,Mt)},select:function(){var Lt;(Lt=oe.current)===null||Lt===void 0||Lt.select()},input:oe.current,nativeElement:((dt=b.current)===null||dt===void 0?void 0:dt.nativeElement)||oe.current}}),(0,f.useEffect)(function(){K.current&&(K.current=!1),Xe(function(dt){return dt&&s?!1:dt})},[s]);var ge=function(rt,Lt,vt){var Mt=Lt;if(!k.current&&l.exceedFormatter&&l.max&&l.strategy(Lt)>l.max){if(Mt=l.exceedFormatter(Lt,{max:l.max}),Lt!==Mt){var _t,Et;W([((_t=oe.current)===null||_t===void 0?void 0:_t.selectionStart)||0,((Et=oe.current)===null||Et===void 0?void 0:Et.selectionEnd)||0])}}else if(vt.source==="compositionEnd")return;H(Mt),oe.current&&(0,y.rJ)(oe.current,rt,ie,Mt)};(0,f.useEffect)(function(){if(P){var dt;(dt=oe.current)===null||dt===void 0||dt.setSelectionRange.apply(dt,(0,D.Z)(P))}},[P]);var Ce=function(rt){ge(rt,rt.target.value,{source:"change"})},Ze=function(rt){k.current=!1,ge(rt,rt.currentTarget.value,{source:"compositionEnd"}),ze==null||ze(rt)},Be=function(rt){Re&&rt.key==="Enter"&&!K.current&&(K.current=!0,Re(rt)),ee==null||ee(rt)},Ne=function(rt){rt.key==="Enter"&&(K.current=!1),be==null||be(rt)},Le=function(rt){Xe(!0),de==null||de(rt)},gt=function(rt){K.current&&(K.current=!1),Xe(!1),ke==null||ke(rt)},it=function(rt){H(""),ue(),oe.current&&(0,y.rJ)(oe.current,rt,ie)},bt=te&&"".concat(M,"-out-of-range"),yt=function(){var rt=(0,Ae.Z)(i,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return f.createElement("input",(0,p.Z)({autoComplete:V},rt,{onChange:Ce,onFocus:Le,onBlur:gt,onKeyDown:Be,onKeyUp:Ne,className:g()(M,(0,m.Z)({},"".concat(M,"-disabled"),s),U==null?void 0:U.input),style:ve==null?void 0:ve.input,ref:oe,size:_,type:ce,onCompositionStart:function(vt){k.current=!0,ae==null||ae(vt)},onCompositionEnd:Ze}))},tn=function(){var rt=Number(d)>0;if(se||l.show){var Lt=l.showFormatter?l.showFormatter({value:A,count:xe,maxLength:d}):"".concat(xe).concat(rt?" / ".concat(d):"");return f.createElement(f.Fragment,null,l.show&&f.createElement("span",{className:g()("".concat(M,"-show-count-suffix"),(0,m.Z)({},"".concat(M,"-show-count-has-suffix"),!!se),U==null?void 0:U.count),style:(0,e.Z)({},ve==null?void 0:ve.count)},Lt),se)}return null};return f.createElement(n,(0,p.Z)({},L,{prefixCls:M,className:g()(j,bt),handleReset:it,value:A,focused:ct,triggerFocus:ue,suffix:tn(),disabled:s,classes:Ge,classNames:U,styles:ve}),yt())}),v=ye,X=v},30292:function(Zt,re,t){t.d(re,{He:function(){return e},X3:function(){return p},nH:function(){return R},rJ:function(){return Z}});function e(g){return!!(g.addonBefore||g.addonAfter)}function p(g){return!!(g.prefix||g.suffix||g.allowClear)}function m(g,f,y){var N=f.cloneNode(!0),n=Object.create(g,{target:{value:N},currentTarget:{value:N}});return N.value=y,typeof f.selectionStart=="number"&&typeof f.selectionEnd=="number"&&(N.selectionStart=f.selectionStart,N.selectionEnd=f.selectionEnd),N.setSelectionRange=function(){f.setSelectionRange.apply(f,arguments)},n}function Z(g,f,y,N){if(y){var n=f;if(f.type==="click"){n=m(f,g,""),y(n);return}if(g.type!=="file"&&N!==void 0){n=m(f,g,N),y(n);return}y(n)}}function R(g,f){if(g){g.focus(f);var y=f||{},N=y.cursor;if(N){var n=g.value.length;switch(N){case"start":g.setSelectionRange(0,0);break;case"end":g.setSelectionRange(n,n);break;default:g.setSelectionRange(0,n)}}}}},28321:function(Zt,re,t){t.d(re,{iz:function(){return E},ck:function(){return Mt},BW:function(){return Se},sN:function(){return Mt},Wd:function(){return $},ZP:function(){return pt},Xl:function(){return Re}});var e=t(60499),p=t(18642),m=t(85899),Z=t(77654),R=t(72190),g=t(42244),f=t(92310),y=t.n(f),N=t(83836),n=t(18929),D=t(13697),S=t(48736),O=t(59301),J=t(4676),Ae=O.createContext(null);function Y(F,le){return F===void 0?null:"".concat(F,"-").concat(le)}function q(F){var le=O.useContext(Ae);return Y(le,F)}var ye=t(80547),v=["children","locked"],X=O.createContext(null);function i(F,le){var Ee=(0,m.Z)({},F);return Object.keys(le).forEach(function(Ie){var Pe=le[Ie];Pe!==void 0&&(Ee[Ie]=Pe)}),Ee}function c(F){var le=F.children,Ee=F.locked,Ie=(0,g.Z)(F,v),Pe=O.useContext(X),Ke=(0,ye.Z)(function(){return i(Pe,Ie)},[Pe,Ie],function(Ue,at){return!Ee&&(Ue[0]!==at[0]||!(0,D.Z)(Ue[1],at[1],!0))});return O.createElement(X.Provider,{value:Ke},le)}var V=[],ie=O.createContext(null);function de(){return O.useContext(ie)}var ke=O.createContext(V);function Re(F){var le=O.useContext(ke);return O.useMemo(function(){return F!==void 0?[].concat((0,Z.Z)(le),[F]):le},[le,F])}var ee=O.createContext(null),be=O.createContext({}),Q=be,M=t(29194);function s(F){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,M.Z)(F)){var Ee=F.nodeName.toLowerCase(),Ie=["input","select","textarea","button"].includes(Ee)||F.isContentEditable||Ee==="a"&&!!F.getAttribute("href"),Pe=F.getAttribute("tabindex"),Ke=Number(Pe),Ue=null;return Pe&&!Number.isNaN(Ke)?Ue=Ke:Ie&&Ue===null&&(Ue=0),Ie&&F.disabled&&(Ue=null),Ue!==null&&(Ue>=0||le&&Ue<0)}return!1}function _(F){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ee=(0,Z.Z)(F.querySelectorAll("*")).filter(function(Ie){return s(Ie,le)});return s(F,le)&&Ee.unshift(F),Ee}var j=null;function De(){j=document.activeElement}function se(){j=null}function je(){if(j)try{j.focus()}catch(F){}}function et(F,le){if(le.keyCode===9){var Ee=_(F),Ie=Ee[le.shiftKey?0:Ee.length-1],Pe=Ie===document.activeElement||F===document.activeElement;if(Pe){var Ke=Ee[le.shiftKey?Ee.length-1:0];Ke.focus(),le.preventDefault()}}}var fe=t(10228),ce=t(16089),Ge=fe.Z.LEFT,U=fe.Z.RIGHT,ve=fe.Z.UP,ae=fe.Z.DOWN,ze=fe.Z.ENTER,L=fe.Z.ESC,pe=fe.Z.HOME,Te=fe.Z.END,ct=[ve,ae,Ge,U];function Xe(F,le,Ee,Ie){var Pe,Ke="prev",Ue="next",at="children",ft="parent";if(F==="inline"&&Ie===ze)return{inlineTrigger:!0};var $t=(0,p.Z)((0,p.Z)({},ve,Ke),ae,Ue),Dt=(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},Ge,Ee?Ue:Ke),U,Ee?Ke:Ue),ae,at),ze,at),Ct=(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},ve,Ke),ae,Ue),ze,at),L,ft),Ge,Ee?at:ft),U,Ee?ft:at),St={inline:$t,horizontal:Dt,vertical:Ct,inlineSub:$t,horizontalSub:Ct,verticalSub:Ct},It=(Pe=St["".concat(F).concat(le?"":"Sub")])===null||Pe===void 0?void 0:Pe[Ie];switch(It){case Ke:return{offset:-1,sibling:!0};case Ue:return{offset:1,sibling:!0};case ft:return{offset:-1,sibling:!1};case at:return{offset:1,sibling:!1};default:return null}}function k(F){for(var le=F;le;){if(le.getAttribute("data-menu-list"))return le;le=le.parentElement}return null}function K(F,le){for(var Ee=F||document.activeElement;Ee;){if(le.has(Ee))return Ee;Ee=Ee.parentElement}return null}function oe(F,le){var Ee=_(F,!0);return Ee.filter(function(Ie){return le.has(Ie)})}function b(F,le,Ee){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!F)return null;var Pe=oe(F,le),Ke=Pe.length,Ue=Pe.findIndex(function(at){return Ee===at});return Ie<0?Ue===-1?Ue=Ke-1:Ue-=1:Ie>0&&(Ue+=1),Ue=(Ue+Ke)%Ke,Pe[Ue]}var ue=function(le,Ee){var Ie=new Set,Pe=new Map,Ke=new Map;return le.forEach(function(Ue){var at=document.querySelector("[data-menu-id='".concat(Y(Ee,Ue),"']"));at&&(Ie.add(at),Ke.set(at,Ue),Pe.set(Ue,at))}),{elements:Ie,key2element:Pe,element2key:Ke}};function T(F,le,Ee,Ie,Pe,Ke,Ue,at,ft,$t){var Dt=O.useRef(),Ct=O.useRef();Ct.current=le;var St=function(){ce.Z.cancel(Dt.current)};return O.useEffect(function(){return function(){St()}},[]),function(It){var Ft=It.which;if([].concat(ct,[ze,L,pe,Te]).includes(Ft)){var qt=Ke(),ut=ue(qt,Ie),Pt=ut,vn=Pt.elements,en=Pt.key2element,Yt=Pt.element2key,un=en.get(le),Ot=K(un,vn),jt=Yt.get(Ot),Sn=Xe(F,Ue(jt,!0).length===1,Ee,Ft);if(!Sn&&Ft!==pe&&Ft!==Te)return;(ct.includes(Ft)||[pe,Te].includes(Ft))&&It.preventDefault();var In=function(xt){if(xt){var Je=xt,nt=xt.querySelector("a");nt!=null&&nt.getAttribute("href")&&(Je=nt);var Ut=Yt.get(xt);at(Ut),St(),Dt.current=(0,ce.Z)(function(){Ct.current===Ut&&Je.focus()})}};if([pe,Te].includes(Ft)||Sn.sibling||!Ot){var Wn;!Ot||F==="inline"?Wn=Pe.current:Wn=k(Ot);var On,An=oe(Wn,vn);Ft===pe?On=An[0]:Ft===Te?On=An[An.length-1]:On=b(Wn,vn,Ot,Sn.offset),In(On)}else if(Sn.inlineTrigger)ft(jt);else if(Sn.offset>0)ft(jt,!0),St(),Dt.current=(0,ce.Z)(function(){ut=ue(qt,Ie);var Xn=Ot.getAttribute("aria-controls"),xt=document.getElementById(Xn),Je=b(xt,ut.elements);In(Je)},5);else if(Sn.offset<0){var kn=Ue(jt,!0),ur=kn[kn.length-2],dr=en.get(ur);ft(ur,!1),In(dr)}}$t==null||$t(It)}}function a(F){Promise.resolve().then(F)}var u="__RC_UTIL_PATH_SPLIT__",H=function(le){return le.join(u)},A=function(le){return le.split(u)},w="rc-menu-more";function B(){var F=O.useState({}),le=(0,R.Z)(F,2),Ee=le[1],Ie=(0,O.useRef)(new Map),Pe=(0,O.useRef)(new Map),Ke=O.useState([]),Ue=(0,R.Z)(Ke,2),at=Ue[0],ft=Ue[1],$t=(0,O.useRef)(0),Dt=(0,O.useRef)(!1),Ct=function(){Dt.current||Ee({})},St=(0,O.useCallback)(function(en,Yt){var un=H(Yt);Pe.current.set(un,en),Ie.current.set(en,un),$t.current+=1;var Ot=$t.current;a(function(){Ot===$t.current&&Ct()})},[]),It=(0,O.useCallback)(function(en,Yt){var un=H(Yt);Pe.current.delete(un),Ie.current.delete(en)},[]),Ft=(0,O.useCallback)(function(en){ft(en)},[]),qt=(0,O.useCallback)(function(en,Yt){var un=Ie.current.get(en)||"",Ot=A(un);return Yt&&at.includes(Ot[0])&&Ot.unshift(w),Ot},[at]),ut=(0,O.useCallback)(function(en,Yt){return en.filter(function(un){return un!==void 0}).some(function(un){var Ot=qt(un,!0);return Ot.includes(Yt)})},[qt]),Pt=function(){var Yt=(0,Z.Z)(Ie.current.keys());return at.length&&Yt.push(w),Yt},vn=(0,O.useCallback)(function(en){var Yt="".concat(Ie.current.get(en)).concat(u),un=new Set;return(0,Z.Z)(Pe.current.keys()).forEach(function(Ot){Ot.startsWith(Yt)&&un.add(Pe.current.get(Ot))}),un},[]);return O.useEffect(function(){return function(){Dt.current=!0}},[]),{registerPath:St,unregisterPath:It,refreshOverflowKeys:Ft,isSubPathKey:ut,getKeyPath:qt,getKeys:Pt,getSubPathKeys:vn}}function P(F){var le=O.useRef(F);le.current=F;var Ee=O.useCallback(function(){for(var Ie,Pe=arguments.length,Ke=new Array(Pe),Ue=0;Ue1&&(vn.motionAppear=!1);var en=vn.onVisibleChanged;return vn.onVisibleChanged=function(Yt){return!St.current&&!Yt&&ut(!0),en==null?void 0:en(Yt)},qt?null:O.createElement(c,{mode:Ke,locked:!St.current},O.createElement(nr.default,(0,e.Z)({visible:Pt},vn,{forceRender:ft,removeOnLeave:!1,leavedClassName:"".concat(at,"-hidden")}),function(Yt){var un=Yt.className,Ot=Yt.style;return O.createElement(mt,{id:le,className:un,style:Ot},Pe)}))}var Vn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Un=["active"],Yn=O.forwardRef(function(F,le){var Ee=F.style,Ie=F.className,Pe=F.title,Ke=F.eventKey,Ue=F.warnKey,at=F.disabled,ft=F.internalPopupClose,$t=F.children,Dt=F.itemIcon,Ct=F.expandIcon,St=F.popupClassName,It=F.popupOffset,Ft=F.popupStyle,qt=F.onClick,ut=F.onMouseEnter,Pt=F.onMouseLeave,vn=F.onTitleClick,en=F.onTitleMouseEnter,Yt=F.onTitleMouseLeave,un=(0,g.Z)(F,Vn),Ot=q(Ke),jt=O.useContext(X),Sn=jt.prefixCls,In=jt.mode,Wn=jt.openKeys,On=jt.disabled,An=jt.overflowDisabled,kn=jt.activeKey,ur=jt.selectedKeys,dr=jt.itemIcon,Xn=jt.expandIcon,xt=jt.onItemClick,Je=jt.onOpenChange,nt=jt.onActive,Ut=O.useContext(Q),Gt=Ut._internalRenderSubMenuItem,fn=O.useContext(ee),Dn=fn.isSubPathKey,Fn=Re(),Nn="".concat(Sn,"-submenu"),Jn=On||at,Cr=O.useRef(),Sr=O.useRef(),pr=Dt!=null?Dt:dr,Qn=Ct!=null?Ct:Xn,xr=Wn.includes(Ke),Er=!An&&xr,Nr=Dn(ur,Ke),lr=Ne(Ke,Jn,en,Yt),Ir=lr.active,rr=(0,g.Z)(lr,Un),Br=O.useState(!1),Xr=(0,R.Z)(Br,2),jr=Xr[0],Hr=Xr[1],Gr=function(Wr){Jn||Hr(Wr)},xn=function(Wr){Gr(!0),ut==null||ut({key:Ke,domEvent:Wr})},Kn=function(Wr){Gr(!1),Pt==null||Pt({key:Ke,domEvent:Wr})},br=O.useMemo(function(){return Ir||(In!=="inline"?jr||Dn([kn],Ke):!1)},[In,Ir,kn,jr,Ke,Dn]),vr=Le(Fn.length),xo=function(Wr){Jn||(vn==null||vn({key:Ke,domEvent:Wr}),In==="inline"&&Je(Ke,!xr))},zo=P(function(zr){qt==null||qt(bt(zr)),xt(zr)}),vo=function(Wr){In!=="inline"&&Je(Ke,Wr)},Eo=function(){nt(Ke)},Zo=Ot&&"".concat(Ot,"-popup"),wo=O.useMemo(function(){return O.createElement(gt,{icon:In!=="horizontal"?Qn:void 0,props:(0,m.Z)((0,m.Z)({},F),{},{isOpen:Er,isSubMenu:!0})},O.createElement("i",{className:"".concat(Nn,"-arrow")}))},[In,Qn,F,Er,Nn]),kr=O.createElement("div",(0,e.Z)({role:"menuitem",style:vr,className:"".concat(Nn,"-title"),tabIndex:Jn?null:-1,ref:Cr,title:typeof Pe=="string"?Pe:null,"data-menu-id":An&&Ot?null:Ot,"aria-expanded":Er,"aria-haspopup":!0,"aria-controls":Zo,"aria-disabled":Jn,onClick:xo,onFocus:Eo},rr),Pe,wo),co=O.useRef(In);if(In!=="inline"&&Fn.length>1?co.current="vertical":co.current=In,!An){var to=co.current;kr=O.createElement(tr,{mode:to,prefixCls:Nn,visible:!ft&&Er&&In!=="inline",popupClassName:St,popupOffset:It,popupStyle:Ft,popup:O.createElement(c,{mode:to==="horizontal"?"vertical":to},O.createElement(mt,{id:Zo,ref:Sr},$t)),disabled:Jn,onVisibleChange:vo},kr)}var or=O.createElement(N.Z.Item,(0,e.Z)({ref:le,role:"none"},un,{component:"li",style:Ee,className:y()(Nn,"".concat(Nn,"-").concat(In),Ie,(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(Nn,"-open"),Er),"".concat(Nn,"-active"),br),"".concat(Nn,"-selected"),Nr),"".concat(Nn,"-disabled"),Jn)),onMouseEnter:xn,onMouseLeave:Kn}),kr,!An&&O.createElement(bn,{id:Zo,open:Er,keyPath:Fn},$t));return Gt&&(or=Gt(or,F,{selected:Nr,active:br,open:Er,disabled:Jn})),O.createElement(c,{onItemClick:zo,mode:In==="horizontal"?"vertical":In,itemIcon:pr,expandIcon:Qn},or)}),x=O.forwardRef(function(F,le){var Ee=F.eventKey,Ie=F.children,Pe=Re(Ee),Ke=zt(Ie,Pe),Ue=de();O.useEffect(function(){if(Ue)return Ue.registerPath(Ee,Pe),function(){Ue.unregisterPath(Ee,Pe)}},[Pe]);var at;return Ue?at=Ke:at=O.createElement(Yn,(0,e.Z)({ref:le},F),Ke),O.createElement(ke.Provider,{value:Pe},at)}),$=x,tt=t(43749);function E(F){var le=F.className,Ee=F.style,Ie=O.useContext(X),Pe=Ie.prefixCls,Ke=de();return Ke?null:O.createElement("li",{role:"separator",className:y()("".concat(Pe,"-item-divider"),le),style:Ee})}var C=["className","title","eventKey","children"],$e=O.forwardRef(function(F,le){var Ee=F.className,Ie=F.title,Pe=F.eventKey,Ke=F.children,Ue=(0,g.Z)(F,C),at=O.useContext(X),ft=at.prefixCls,$t="".concat(ft,"-item-group");return O.createElement("li",(0,e.Z)({ref:le,role:"presentation"},Ue,{onClick:function(Ct){return Ct.stopPropagation()},className:y()($t,Ee)}),O.createElement("div",{role:"presentation",className:"".concat($t,"-title"),title:typeof Ie=="string"?Ie:void 0},Ie),O.createElement("ul",{role:"group",className:"".concat($t,"-list")},Ke))}),he=O.forwardRef(function(F,le){var Ee=F.eventKey,Ie=F.children,Pe=Re(Ee),Ke=zt(Ie,Pe),Ue=de();return Ue?Ke:O.createElement($e,(0,e.Z)({ref:le},(0,Ze.Z)(F,["warnKey"])),Ke)}),Se=he,He=["label","children","key","type","extra"];function Me(F,le,Ee){var Ie=le.item,Pe=le.group,Ke=le.submenu,Ue=le.divider;return(F||[]).map(function(at,ft){if(at&&(0,tt.Z)(at)==="object"){var $t=at,Dt=$t.label,Ct=$t.children,St=$t.key,It=$t.type,Ft=$t.extra,qt=(0,g.Z)($t,He),ut=St!=null?St:"tmp-".concat(ft);return Ct||It==="group"?It==="group"?O.createElement(Pe,(0,e.Z)({key:ut},qt,{title:Dt}),Me(Ct,le,Ee)):O.createElement(Ke,(0,e.Z)({key:ut},qt,{title:Dt}),Me(Ct,le,Ee)):It==="divider"?O.createElement(Ue,(0,e.Z)({key:ut},qt)):O.createElement(Ie,(0,e.Z)({key:ut},qt,{extra:Ft}),Dt,(!!Ft||Ft===0)&&O.createElement("span",{className:"".concat(Ee,"-item-extra")},Ft))}return null}).filter(function(at){return at})}function Qe(F,le,Ee,Ie,Pe){var Ke=F,Ue=(0,m.Z)({divider:E,item:Mt,group:Se,submenu:$},Ie);return le&&(Ke=Me(le,Ue,Pe)),zt(Ke,Ee)}var lt=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],ot=[],qe=O.forwardRef(function(F,le){var Ee,Ie=F,Pe=Ie.prefixCls,Ke=Pe===void 0?"rc-menu":Pe,Ue=Ie.rootClassName,at=Ie.style,ft=Ie.className,$t=Ie.tabIndex,Dt=$t===void 0?0:$t,Ct=Ie.items,St=Ie.children,It=Ie.direction,Ft=Ie.id,qt=Ie.mode,ut=qt===void 0?"vertical":qt,Pt=Ie.inlineCollapsed,vn=Ie.disabled,en=Ie.disabledOverflow,Yt=Ie.subMenuOpenDelay,un=Yt===void 0?.1:Yt,Ot=Ie.subMenuCloseDelay,jt=Ot===void 0?.1:Ot,Sn=Ie.forceSubMenuRender,In=Ie.defaultOpenKeys,Wn=Ie.openKeys,On=Ie.activeKey,An=Ie.defaultActiveFirst,kn=Ie.selectable,ur=kn===void 0?!0:kn,dr=Ie.multiple,Xn=dr===void 0?!1:dr,xt=Ie.defaultSelectedKeys,Je=Ie.selectedKeys,nt=Ie.onSelect,Ut=Ie.onDeselect,Gt=Ie.inlineIndent,fn=Gt===void 0?24:Gt,Dn=Ie.motion,Fn=Ie.defaultMotions,Nn=Ie.triggerSubMenuAction,Jn=Nn===void 0?"hover":Nn,Cr=Ie.builtinPlacements,Sr=Ie.itemIcon,pr=Ie.expandIcon,Qn=Ie.overflowedIndicator,xr=Qn===void 0?"...":Qn,Er=Ie.overflowedIndicatorPopupClassName,Nr=Ie.getPopupContainer,lr=Ie.onClick,Ir=Ie.onOpenChange,rr=Ie.onKeyDown,Br=Ie.openAnimation,Xr=Ie.openTransitionName,jr=Ie._internalRenderMenuItem,Hr=Ie._internalRenderSubMenuItem,Gr=Ie._internalComponents,xn=(0,g.Z)(Ie,lt),Kn=O.useMemo(function(){return[Qe(St,Ct,ot,Gr,Ke),Qe(St,Ct,ot,{},Ke)]},[St,Ct,Gr]),br=(0,R.Z)(Kn,2),vr=br[0],xo=br[1],zo=O.useState(!1),vo=(0,R.Z)(zo,2),Eo=vo[0],Zo=vo[1],wo=O.useRef(),kr=d(Ft),co=It==="rtl",to=(0,n.Z)(In,{value:Wn,postState:function(Fr){return Fr||ot}}),or=(0,R.Z)(to,2),zr=or[0],Wr=or[1],gn=function(Fr){var Yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Go(){Wr(Fr),Ir==null||Ir(Fr)}Yr?(0,J.flushSync)(Go):Go()},Tn=O.useState(zr),mn=(0,R.Z)(Tn,2),Pn=mn[0],fr=mn[1],Or=O.useRef(!1),$o=O.useMemo(function(){return(ut==="inline"||ut==="vertical")&&Pt?["vertical",Pt]:[ut,!1]},[ut,Pt]),nn=(0,R.Z)($o,2),En=nn[0],_n=nn[1],wr=En==="inline",Rr=O.useState(En),Do=(0,R.Z)(Rr,2),Io=Do[0],ko=Do[1],ar=O.useState(_n),Ln=(0,R.Z)(ar,2),Vr=Ln[0],qr=Ln[1];O.useEffect(function(){ko(En),qr(_n),Or.current&&(wr?Wr(Pn):gn(ot))},[En,_n]);var go=O.useState(0),Mo=(0,R.Z)(go,2),Xo=Mo[0],Ko=Mo[1],aa=Xo>=vr.length-1||Io!=="horizontal"||en;O.useEffect(function(){wr&&fr(zr)},[zr]),O.useEffect(function(){return Or.current=!0,function(){Or.current=!1}},[]);var No=B(),ba=No.registerPath,Ra=No.unregisterPath,Sa=No.refreshOverflowKeys,ta=No.isSubPathKey,za=No.getKeyPath,xa=No.getKeys,Ta=No.getSubPathKeys,Pa=O.useMemo(function(){return{registerPath:ba,unregisterPath:Ra}},[ba,Ra]),ka=O.useMemo(function(){return{isSubPathKey:ta}},[ta]);O.useEffect(function(){Sa(aa?ot:vr.slice(Xo+1).map(function(no){return no.key}))},[Xo,aa]);var Ka=(0,n.Z)(On||An&&((Ee=vr[0])===null||Ee===void 0?void 0:Ee.key),{value:On}),ya=(0,R.Z)(Ka,2),ia=ya[0],hr=ya[1],sr=P(function(no){hr(no)}),To=P(function(){hr(void 0)});(0,O.useImperativeHandle)(le,function(){return{list:wo.current,focus:function(Fr){var Yr,Go=xa(),Yo=ue(Go,kr),$a=Yo.elements,Za=Yo.key2element,Ya=Yo.element2key,ja=oe(wo.current,$a),Da=ia!=null?ia:ja[0]?Ya.get(ja[0]):(Yr=vr.find(function(Ja){return!Ja.props.disabled}))===null||Yr===void 0?void 0:Yr.key,Ba=Za.get(Da);if(Da&&Ba){var Ha;Ba==null||(Ha=Ba.focus)===null||Ha===void 0||Ha.call(Ba,Fr)}}}});var jo=(0,n.Z)(xt||[],{value:Je,postState:function(Fr){return Array.isArray(Fr)?Fr:Fr==null?ot:[Fr]}}),uo=(0,R.Z)(jo,2),ho=uo[0],ra=uo[1],na=function(Fr){if(ur){var Yr=Fr.key,Go=ho.includes(Yr),Yo;Xn?Go?Yo=ho.filter(function(Za){return Za!==Yr}):Yo=[].concat((0,Z.Z)(ho),[Yr]):Yo=[Yr],ra(Yo);var $a=(0,m.Z)((0,m.Z)({},Fr),{},{selectedKeys:Yo});Go?Ut==null||Ut($a):nt==null||nt($a)}!Xn&&zr.length&&Io!=="inline"&&gn(ot)},la=P(function(no){lr==null||lr(bt(no)),na(no)}),fa=P(function(no,Fr){var Yr=zr.filter(function(Yo){return Yo!==no});if(Fr)Yr.push(no);else if(Io!=="inline"){var Go=Ta(no);Yr=Yr.filter(function(Yo){return!Go.has(Yo)})}(0,D.Z)(zr,Yr,!0)||gn(Yr,!0)}),va=function(Fr,Yr){var Go=Yr!=null?Yr:!zr.includes(Fr);fa(Fr,Go)},Ea=T(Io,ia,co,kr,wo,xa,za,hr,va,rr);O.useEffect(function(){Zo(!0)},[]);var wa=O.useMemo(function(){return{_internalRenderMenuItem:jr,_internalRenderSubMenuItem:Hr}},[jr,Hr]),ti=Io!=="horizontal"||en?vr:vr.map(function(no,Fr){return O.createElement(c,{key:no.key,overflowDisabled:Fr>Xo},no)}),Xa=O.createElement(N.Z,(0,e.Z)({id:Ft,ref:wo,prefixCls:"".concat(Ke,"-overflow"),component:"ul",itemComponent:Mt,className:y()(Ke,"".concat(Ke,"-root"),"".concat(Ke,"-").concat(Io),ft,(0,p.Z)((0,p.Z)({},"".concat(Ke,"-inline-collapsed"),Vr),"".concat(Ke,"-rtl"),co),Ue),dir:It,style:at,role:"menu",tabIndex:Dt,data:ti,renderRawItem:function(Fr){return Fr},renderRawRest:function(Fr){var Yr=Fr.length,Go=Yr?vr.slice(-Yr):null;return O.createElement($,{eventKey:w,title:xr,disabled:aa,internalPopupClose:Yr===0,popupClassName:Er},Go)},maxCount:Io!=="horizontal"||en?N.Z.INVALIDATE:N.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Fr){Ko(Fr)},onKeyDown:Ea},xn));return O.createElement(Q.Provider,{value:wa},O.createElement(Ae.Provider,{value:kr},O.createElement(c,{prefixCls:Ke,rootClassName:Ue,mode:Io,openKeys:zr,rtl:co,disabled:vn,motion:Eo?Dn:null,defaultMotions:Eo?Fn:null,activeKey:ia,onActive:sr,onInactive:To,selectedKeys:ho,inlineIndent:fn,subMenuOpenDelay:un,subMenuCloseDelay:jt,forceSubMenuRender:Sn,builtinPlacements:Cr,triggerSubMenuAction:Jn,getPopupContainer:Nr,itemIcon:Sr,expandIcon:pr,onItemClick:la,onOpenChange:fa},O.createElement(ee.Provider,{value:ka},Xa),O.createElement("div",{style:{display:"none"},"aria-hidden":!0},O.createElement(ie.Provider,{value:Pa},xo)))))}),Nt=qe,Kt=Nt;Kt.Item=Mt,Kt.SubMenu=$,Kt.ItemGroup=Se,Kt.Divider=E;var pt=Kt},83836:function(Zt,re,t){t.d(re,{Z:function(){return De}});var e=t(60499),p=t(85899),m=t(72190),Z=t(42244),R=t(59301),g=t(92310),f=t.n(g),y=t(29301),N=t(34280),n=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],D=void 0;function S(se,je){var et=se.prefixCls,fe=se.invalidate,ce=se.item,Ge=se.renderItem,U=se.responsive,ve=se.responsiveDisabled,ae=se.registerSize,ze=se.itemKey,L=se.className,pe=se.style,Te=se.children,ct=se.display,Xe=se.order,k=se.component,K=k===void 0?"div":k,oe=(0,Z.Z)(se,n),b=U&&!ct;function ue(A){ae(ze,A)}R.useEffect(function(){return function(){ue(null)}},[]);var T=Ge&&ce!==D?Ge(ce,{index:Xe}):Te,a;fe||(a={opacity:b?0:1,height:b?0:D,overflowY:b?"hidden":D,order:U?Xe:D,pointerEvents:b?"none":D,position:b?"absolute":D});var u={};b&&(u["aria-hidden"]=!0);var H=R.createElement(K,(0,e.Z)({className:f()(!fe&&et,L),style:(0,p.Z)((0,p.Z)({},a),pe)},u,oe,{ref:je}),T);return U&&(H=R.createElement(y.Z,{onResize:function(w){var B=w.offsetWidth;ue(B)},disabled:ve},H)),H}var O=R.forwardRef(S);O.displayName="Item";var J=O,Ae=t(6089),Y=t(4676),q=t(16089);function ye(se){if(typeof MessageChannel=="undefined")(0,q.Z)(se);else{var je=new MessageChannel;je.port1.onmessage=function(){return se()},je.port2.postMessage(void 0)}}function v(){var se=R.useRef(null),je=function(fe){se.current||(se.current=[],ye(function(){(0,Y.unstable_batchedUpdates)(function(){se.current.forEach(function(ce){ce()}),se.current=null})})),se.current.push(fe)};return je}function X(se,je){var et=R.useState(je),fe=(0,m.Z)(et,2),ce=fe[0],Ge=fe[1],U=(0,Ae.Z)(function(ve){se(function(){Ge(ve)})});return[ce,U]}var i=R.createContext(null),c=["component"],V=["className"],ie=["className"],de=function(je,et){var fe=R.useContext(i);if(!fe){var ce=je.component,Ge=ce===void 0?"div":ce,U=(0,Z.Z)(je,c);return R.createElement(Ge,(0,e.Z)({},U,{ref:et}))}var ve=fe.className,ae=(0,Z.Z)(fe,V),ze=je.className,L=(0,Z.Z)(je,ie);return R.createElement(i.Provider,{value:null},R.createElement(J,(0,e.Z)({ref:et,className:f()(ve,ze)},ae,L)))},ke=R.forwardRef(de);ke.displayName="RawItem";var Re=ke,ee=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],be="responsive",Q="invalidate";function M(se){return"+ ".concat(se.length," ...")}function s(se,je){var et=se.prefixCls,fe=et===void 0?"rc-overflow":et,ce=se.data,Ge=ce===void 0?[]:ce,U=se.renderItem,ve=se.renderRawItem,ae=se.itemKey,ze=se.itemWidth,L=ze===void 0?10:ze,pe=se.ssr,Te=se.style,ct=se.className,Xe=se.maxCount,k=se.renderRest,K=se.renderRawRest,oe=se.prefix,b=se.suffix,ue=se.component,T=ue===void 0?"div":ue,a=se.itemComponent,u=se.onVisibleChange,H=(0,Z.Z)(se,ee),A=pe==="full",w=v(),B=X(w,null),P=(0,m.Z)(B,2),W=P[0],l=P[1],d=W||0,xe=X(w,new Map),te=(0,m.Z)(xe,2),ge=te[0],Ce=te[1],Ze=X(w,0),Be=(0,m.Z)(Ze,2),Ne=Be[0],Le=Be[1],gt=X(w,0),it=(0,m.Z)(gt,2),bt=it[0],yt=it[1],tn=X(w,0),dt=(0,m.Z)(tn,2),rt=dt[0],Lt=dt[1],vt=X(w,0),Mt=(0,m.Z)(vt,2),_t=Mt[0],Et=Mt[1],cn=(0,R.useState)(null),mt=(0,m.Z)(cn,2),ht=mt[0],zt=mt[1],Tt=(0,R.useState)(null),wt=(0,m.Z)(Tt,2),Xt=wt[0],pn=wt[1],zn=R.useMemo(function(){return Xt===null&&A?Number.MAX_SAFE_INTEGER:Xt||0},[Xt,W]),Hn=(0,R.useState)(!1),ir=(0,m.Z)(Hn,2),tr=ir[0],nr=ir[1],bn="".concat(fe,"-item"),Vn=Math.max(Ne,bt),Un=Xe===be,Yn=Ge.length&&Un,x=Xe===Q,$=Yn||typeof Xe=="number"&&Ge.length>Xe,tt=(0,R.useMemo)(function(){var Pe=Ge;return Yn?W===null&&A?Pe=Ge:Pe=Ge.slice(0,Math.min(Ge.length,d/L)):typeof Xe=="number"&&(Pe=Ge.slice(0,Xe)),Pe},[Ge,L,W,Xe,Yn]),E=(0,R.useMemo)(function(){return Yn?Ge.slice(zn+1):Ge.slice(tt.length)},[Ge,tt,Yn,zn]),C=(0,R.useCallback)(function(Pe,Ke){var Ue;return typeof ae=="function"?ae(Pe):(Ue=ae&&(Pe==null?void 0:Pe[ae]))!==null&&Ue!==void 0?Ue:Ke},[ae]),$e=(0,R.useCallback)(U||function(Pe){return Pe},[U]);function he(Pe,Ke,Ue){Xt===Pe&&(Ke===void 0||Ke===ht)||(pn(Pe),Ue||(nr(Ped){he(at-1,Pe-ft-_t+bt);break}}b&&ot(0)+_t>d&&zt(null)}},[d,ge,bt,rt,_t,C,tt]);var qe=tr&&!!E.length,Nt={};ht!==null&&Yn&&(Nt={position:"absolute",left:ht,top:0});var Kt={prefixCls:bn,responsive:Yn,component:a,invalidate:x},pt=ve?function(Pe,Ke){var Ue=C(Pe,Ke);return R.createElement(i.Provider,{key:Ue,value:(0,p.Z)((0,p.Z)({},Kt),{},{order:Ke,item:Pe,itemKey:Ue,registerSize:He,display:Ke<=zn})},ve(Pe,Ke))}:function(Pe,Ke){var Ue=C(Pe,Ke);return R.createElement(J,(0,e.Z)({},Kt,{order:Ke,key:Ue,item:Pe,renderItem:$e,itemKey:Ue,registerSize:He,display:Ke<=zn}))},F={order:qe?zn:Number.MAX_SAFE_INTEGER,className:"".concat(bn,"-rest"),registerSize:Me,display:qe},le=k||M,Ee=K?R.createElement(i.Provider,{value:(0,p.Z)((0,p.Z)({},Kt),F)},K(E)):R.createElement(J,(0,e.Z)({},Kt,F),typeof le=="function"?le(E):le),Ie=R.createElement(T,(0,e.Z)({className:f()(!x&&fe,ct),style:Te,ref:je},H),oe&&R.createElement(J,(0,e.Z)({},Kt,{responsive:Un,responsiveDisabled:!Yn,order:-1,className:"".concat(bn,"-prefix"),registerSize:Qe,display:!0}),oe),tt.map(pt),$?Ee:null,b&&R.createElement(J,(0,e.Z)({},Kt,{responsive:Un,responsiveDisabled:!Yn,order:zn,className:"".concat(bn,"-suffix"),registerSize:lt,display:!0,style:Nt}),b));return Un?R.createElement(y.Z,{onResize:Se,disabled:!Yn},Ie):Ie}var _=R.forwardRef(s);_.displayName="Overflow",_.Item=Re,_.RESPONSIVE=be,_.INVALIDATE=Q;var j=_,De=j},29301:function(Zt,re,t){t.d(re,{Z:function(){return Q}});var e=t(60499),p=t(59301),m=t(11592),Z=t(48736),R=t(85899),g=t(43749),f=t(76846),y=t(8654),N=p.createContext(null);function n(M){var s=M.children,_=M.onBatchResize,j=p.useRef(0),De=p.useRef([]),se=p.useContext(N),je=p.useCallback(function(et,fe,ce){j.current+=1;var Ge=j.current;De.current.push({size:et,element:fe,data:ce}),Promise.resolve().then(function(){Ge===j.current&&(_==null||_(De.current),De.current=[])}),se==null||se(et,fe,ce)},[_,se]);return p.createElement(N.Provider,{value:je},s)}var D=t(76374),S=new Map;function O(M){M.forEach(function(s){var _,j=s.target;(_=S.get(j))===null||_===void 0||_.forEach(function(De){return De(j)})})}var J=new D.Z(O),Ae=null,Y=null;function q(M,s){S.has(M)||(S.set(M,new Set),J.observe(M)),S.get(M).add(s)}function ye(M,s){S.has(M)&&(S.get(M).delete(s),S.get(M).size||(J.unobserve(M),S.delete(M)))}var v=t(38705),X=t(17212),i=t(39153),c=t(55401),V=function(M){(0,i.Z)(_,M);var s=(0,c.Z)(_);function _(){return(0,v.Z)(this,_),s.apply(this,arguments)}return(0,X.Z)(_,[{key:"render",value:function(){return this.props.children}}]),_}(p.Component);function ie(M,s){var _=M.children,j=M.disabled,De=p.useRef(null),se=p.useRef(null),je=p.useContext(N),et=typeof _=="function",fe=et?_(De):_,ce=p.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ge=!et&&p.isValidElement(fe)&&(0,y.Yr)(fe),U=Ge?(0,y.C4)(fe):null,ve=(0,y.x1)(U,De),ae=function(){var Te;return(0,f.ZP)(De.current)||(De.current&&(0,g.Z)(De.current)==="object"?(0,f.ZP)((Te=De.current)===null||Te===void 0?void 0:Te.nativeElement):null)||(0,f.ZP)(se.current)};p.useImperativeHandle(s,function(){return ae()});var ze=p.useRef(M);ze.current=M;var L=p.useCallback(function(pe){var Te=ze.current,ct=Te.onResize,Xe=Te.data,k=pe.getBoundingClientRect(),K=k.width,oe=k.height,b=pe.offsetWidth,ue=pe.offsetHeight,T=Math.floor(K),a=Math.floor(oe);if(ce.current.width!==T||ce.current.height!==a||ce.current.offsetWidth!==b||ce.current.offsetHeight!==ue){var u={width:T,height:a,offsetWidth:b,offsetHeight:ue};ce.current=u;var H=b===Math.round(K)?K:b,A=ue===Math.round(oe)?oe:ue,w=(0,R.Z)((0,R.Z)({},u),{},{offsetWidth:H,offsetHeight:A});je==null||je(w,pe,Xe),ct&&Promise.resolve().then(function(){ct(w,pe)})}},[]);return p.useEffect(function(){var pe=ae();return pe&&!j&&q(pe,L),function(){return ye(pe,L)}},[De.current,j]),p.createElement(V,{ref:se},Ge?p.cloneElement(fe,{ref:ve}):fe)}var de=p.forwardRef(ie),ke=de,Re="rc-observer-key";function ee(M,s){var _=M.children,j=typeof _=="function"?[_]:(0,m.Z)(_);return j.map(function(De,se){var je=(De==null?void 0:De.key)||"".concat(Re,"-").concat(se);return p.createElement(ke,(0,e.Z)({},M,{key:je,ref:se===0?s:void 0}),De)})}var be=p.forwardRef(ee);be.Collection=n;var Q=be},6551:function(Zt,re,t){t.d(re,{ZP:function(){return f}});var e=t(72190),p=t(59301),m=t(47273),Z=0,R=(0,m.Z)();function g(){var y;return R?(y=Z,Z+=1):y="TEST_OR_SSR",y}function f(y){var N=p.useState(),n=(0,e.Z)(N,2),D=n[0],S=n[1];return p.useEffect(function(){S("rc_select_".concat(g()))},[]),y||D}},37463:function(Zt,re,t){t.d(re,{Ac:function(){return Ze},Xo:function(){return Ne},Wx:function(){return gt},ZP:function(){return tt},lk:function(){return X}});var e=t(60499),p=t(77654),m=t(18642),Z=t(85899),R=t(72190),g=t(42244),f=t(43749),y=t(18929),N=t(48736),n=t(59301),D=t(92310),S=t.n(D),O=t(34280),J=t(49658),Ae=t(8654),Y=function(C){var $e=C.className,he=C.customizeIcon,Se=C.customizeIconProps,He=C.children,Me=C.onMouseDown,Qe=C.onClick,lt=typeof he=="function"?he(Se):he;return n.createElement("span",{className:$e,onMouseDown:function(qe){qe.preventDefault(),Me==null||Me(qe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Qe,"aria-hidden":!0},lt!==void 0?lt:n.createElement("span",{className:S()($e.split(/\s+/).map(function(ot){return"".concat(ot,"-icon")}))},He))},q=Y,ye=function(C,$e,he,Se,He){var Me=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Qe=arguments.length>6?arguments[6]:void 0,lt=arguments.length>7?arguments[7]:void 0,ot=n.useMemo(function(){if((0,f.Z)(Se)==="object")return Se.clearIcon;if(He)return He},[Se,He]),qe=n.useMemo(function(){return!!(!Me&&Se&&(he.length||Qe)&&!(lt==="combobox"&&Qe===""))},[Se,Me,he.length,Qe,lt]);return{allowClear:qe,clearIcon:n.createElement(q,{className:"".concat(C,"-clear"),onMouseDown:$e,customizeIcon:ot},"\xD7")}},v=n.createContext(null);function X(){return n.useContext(v)}function i(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,C=n.useState(!1),$e=(0,R.Z)(C,2),he=$e[0],Se=$e[1],He=n.useRef(null),Me=function(){window.clearTimeout(He.current)};n.useEffect(function(){return Me},[]);var Qe=function(ot,qe){Me(),He.current=window.setTimeout(function(){Se(ot),qe&&qe()},E)};return[he,Qe,Me]}function c(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,C=n.useRef(null),$e=n.useRef(null);n.useEffect(function(){return function(){window.clearTimeout($e.current)}},[]);function he(Se){(Se||C.current===null)&&(C.current=Se),window.clearTimeout($e.current),$e.current=window.setTimeout(function(){C.current=null},E)}return[function(){return C.current},he]}function V(E,C,$e,he){var Se=n.useRef(null);Se.current={open:C,triggerOpen:$e,customizedTrigger:he},n.useEffect(function(){function He(Me){var Qe;if(!((Qe=Se.current)!==null&&Qe!==void 0&&Qe.customizedTrigger)){var lt=Me.target;lt.shadowRoot&&Me.composed&&(lt=Me.composedPath()[0]||lt),Se.current.open&&E().filter(function(ot){return ot}).every(function(ot){return!ot.contains(lt)&&ot!==lt})&&Se.current.triggerOpen(!1)}}return window.addEventListener("mousedown",He),function(){return window.removeEventListener("mousedown",He)}},[])}var ie=t(10228);function de(E){return E&&![ie.Z.ESC,ie.Z.SHIFT,ie.Z.BACKSPACE,ie.Z.TAB,ie.Z.WIN_KEY,ie.Z.ALT,ie.Z.META,ie.Z.WIN_KEY_RIGHT,ie.Z.CTRL,ie.Z.SEMICOLON,ie.Z.EQUALS,ie.Z.CAPS_LOCK,ie.Z.CONTEXT_MENU,ie.Z.F1,ie.Z.F2,ie.Z.F3,ie.Z.F4,ie.Z.F5,ie.Z.F6,ie.Z.F7,ie.Z.F8,ie.Z.F9,ie.Z.F10,ie.Z.F11,ie.Z.F12].includes(E)}var ke=t(26112),Re=t(83836);function ee(E,C,$e){var he=(0,Z.Z)((0,Z.Z)({},E),$e?C:{});return Object.keys(C).forEach(function(Se){var He=C[Se];typeof He=="function"&&(he[Se]=function(){for(var Me,Qe=arguments.length,lt=new Array(Qe),ot=0;otKe&&(Jn="".concat(Cr.slice(0,Ke),"..."))}var Sr=function(Qn){Qn&&Qn.stopPropagation(),Dt(Gt)};return typeof ft=="function"?dr(Fn,Jn,fn,Nn,Sr):ur(Gt,Jn,fn,Nn,Sr)},xt=function(Gt){if(!Se.length)return null;var fn=typeof at=="function"?at(Gt):at;return typeof ft=="function"?dr(void 0,fn,!1,!1,void 0,!0):ur({title:fn},fn,!1)},Je=n.createElement("div",{className:"".concat(On,"-search"),style:{width:un},onFocus:function(){Wn(!0)},onBlur:function(){Wn(!1)}},n.createElement(_,{ref:lt,open:He,prefixCls:he,id:$e,inputElement:null,disabled:qe,autoFocus:pt,autoComplete:F,editable:kn,activeDescendantId:le,value:An,onKeyDown:It,onMouseDown:Ft,onChange:Ct,onPaste:St,onCompositionStart:qt,onCompositionEnd:ut,onBlur:Pt,tabIndex:Ee,attrs:(0,ke.Z)(C,!0)}),n.createElement("span",{ref:vn,className:"".concat(On,"-search-mirror"),"aria-hidden":!0},An,"\xA0")),nt=n.createElement(Re.Z,{prefixCls:"".concat(On,"-overflow"),data:Se,renderItem:Xn,renderRest:xt,suffix:Je,itemKey:U,maxCount:Pe});return n.createElement("span",{className:"".concat(On,"-wrap")},nt,!Se.length&&!An&&n.createElement("span",{className:"".concat(On,"-placeholder")},ot))},ze=ae,L=function(C){var $e=C.inputElement,he=C.prefixCls,Se=C.id,He=C.inputRef,Me=C.disabled,Qe=C.autoFocus,lt=C.autoComplete,ot=C.activeDescendantId,qe=C.mode,Nt=C.open,Kt=C.values,pt=C.placeholder,F=C.tabIndex,le=C.showSearch,Ee=C.searchValue,Ie=C.activeValue,Pe=C.maxLength,Ke=C.onInputKeyDown,Ue=C.onInputMouseDown,at=C.onInputChange,ft=C.onInputPaste,$t=C.onInputCompositionStart,Dt=C.onInputCompositionEnd,Ct=C.onInputBlur,St=C.title,It=n.useState(!1),Ft=(0,R.Z)(It,2),qt=Ft[0],ut=Ft[1],Pt=qe==="combobox",vn=Pt||le,en=Kt[0],Yt=Ee||"";Pt&&Ie&&!qt&&(Yt=Ie),n.useEffect(function(){Pt&&ut(!1)},[Pt,Ie]);var un=qe!=="combobox"&&!Nt&&!le?!1:!!Yt,Ot=St===void 0?ce(en):St,jt=n.useMemo(function(){return en?null:n.createElement("span",{className:"".concat(he,"-selection-placeholder"),style:un?{visibility:"hidden"}:void 0},pt)},[en,un,pt,he]);return n.createElement("span",{className:"".concat(he,"-selection-wrap")},n.createElement("span",{className:"".concat(he,"-selection-search")},n.createElement(_,{ref:He,prefixCls:he,id:Se,open:Nt,inputElement:$e,disabled:Me,autoFocus:Qe,autoComplete:lt,editable:vn,activeDescendantId:ot,value:Yt,onKeyDown:Ke,onMouseDown:Ue,onChange:function(In){ut(!0),at(In)},onPaste:ft,onCompositionStart:$t,onCompositionEnd:Dt,onBlur:Ct,tabIndex:F,attrs:(0,ke.Z)(C,!0),maxLength:Pt?Pe:void 0})),!Pt&&en?n.createElement("span",{className:"".concat(he,"-selection-item"),title:Ot,style:un?{visibility:"hidden"}:void 0},en.label):null,jt)},pe=L,Te=function(C,$e){var he=(0,n.useRef)(null),Se=(0,n.useRef)(!1),He=C.prefixCls,Me=C.open,Qe=C.mode,lt=C.showSearch,ot=C.tokenWithEnter,qe=C.disabled,Nt=C.prefix,Kt=C.autoClearSearchValue,pt=C.onSearch,F=C.onSearchSubmit,le=C.onToggleOpen,Ee=C.onInputKeyDown,Ie=C.onInputBlur,Pe=C.domRef;n.useImperativeHandle($e,function(){return{focus:function(Ot){he.current.focus(Ot)},blur:function(){he.current.blur()}}});var Ke=c(0),Ue=(0,R.Z)(Ke,2),at=Ue[0],ft=Ue[1],$t=function(Ot){var jt=Ot.which,Sn=he.current instanceof HTMLTextAreaElement;!Sn&&Me&&(jt===ie.Z.UP||jt===ie.Z.DOWN)&&Ot.preventDefault(),Ee&&Ee(Ot),jt===ie.Z.ENTER&&Qe==="tags"&&!Se.current&&!Me&&(F==null||F(Ot.target.value)),!(Sn&&!Me&&~[ie.Z.UP,ie.Z.DOWN,ie.Z.LEFT,ie.Z.RIGHT].indexOf(jt))&&de(jt)&&le(!0)},Dt=function(){ft(!0)},Ct=(0,n.useRef)(null),St=function(Ot){pt(Ot,!0,Se.current)!==!1&&le(!0)},It=function(){Se.current=!0},Ft=function(Ot){Se.current=!1,Qe!=="combobox"&&St(Ot.target.value)},qt=function(Ot){var jt=Ot.target.value;if(ot&&Ct.current&&/[\r\n]/.test(Ct.current)){var Sn=Ct.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");jt=jt.replace(Sn,Ct.current)}Ct.current=null,St(jt)},ut=function(Ot){var jt=Ot.clipboardData,Sn=jt==null?void 0:jt.getData("text");Ct.current=Sn||""},Pt=function(Ot){var jt=Ot.target;if(jt!==he.current){var Sn=document.body.style.msTouchAction!==void 0;Sn?setTimeout(function(){he.current.focus()}):he.current.focus()}},vn=function(Ot){var jt=at();Ot.target!==he.current&&!jt&&!(Qe==="combobox"&&qe)&&Ot.preventDefault(),(Qe!=="combobox"&&(!lt||!jt)||!Me)&&(Me&&Kt!==!1&&pt("",!0,!1),le())},en={inputRef:he,onInputKeyDown:$t,onInputMouseDown:Dt,onInputChange:qt,onInputPaste:ut,onInputCompositionStart:It,onInputCompositionEnd:Ft,onInputBlur:Ie},Yt=Qe==="multiple"||Qe==="tags"?n.createElement(ze,(0,e.Z)({},C,en)):n.createElement(pe,(0,e.Z)({},C,en));return n.createElement("div",{ref:Pe,className:"".concat(He,"-selector"),onClick:Pt,onMouseDown:vn},Nt&&n.createElement("div",{className:"".concat(He,"-prefix")},Nt),Yt)},ct=n.forwardRef(Te),Xe=ct,k=t(68196),K=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],oe=function(C){var $e=C===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"}}},b=function(C,$e){var he=C.prefixCls,Se=C.disabled,He=C.visible,Me=C.children,Qe=C.popupElement,lt=C.animation,ot=C.transitionName,qe=C.dropdownStyle,Nt=C.dropdownClassName,Kt=C.direction,pt=Kt===void 0?"ltr":Kt,F=C.placement,le=C.builtinPlacements,Ee=C.dropdownMatchSelectWidth,Ie=C.dropdownRender,Pe=C.dropdownAlign,Ke=C.getPopupContainer,Ue=C.empty,at=C.getTriggerDOMNode,ft=C.onPopupVisibleChange,$t=C.onPopupMouseEnter,Dt=(0,g.Z)(C,K),Ct="".concat(he,"-dropdown"),St=Qe;Ie&&(St=Ie(Qe));var It=n.useMemo(function(){return le||oe(Ee)},[le,Ee]),Ft=lt?"".concat(Ct,"-").concat(lt):ot,qt=typeof Ee=="number",ut=n.useMemo(function(){return qt?null:Ee===!1?"minWidth":"width"},[Ee,qt]),Pt=qe;qt&&(Pt=(0,Z.Z)((0,Z.Z)({},Pt),{},{width:Ee}));var vn=n.useRef(null);return n.useImperativeHandle($e,function(){return{getPopupElement:function(){var Yt;return(Yt=vn.current)===null||Yt===void 0?void 0:Yt.popupElement}}}),n.createElement(k.Z,(0,e.Z)({},Dt,{showAction:ft?["click"]:[],hideAction:ft?["click"]:[],popupPlacement:F||(pt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:It,prefixCls:Ct,popupTransitionName:Ft,popup:n.createElement("div",{onMouseEnter:$t},St),ref:vn,stretch:ut,popupAlign:Pe,popupVisible:He,getPopupContainer:Ke,popupClassName:S()(Nt,(0,m.Z)({},"".concat(Ct,"-empty"),Ue)),popupStyle:Pt,getTriggerDOMNode:at,onPopupVisibleChange:ft}),Me)},ue=n.forwardRef(b),T=ue,a=t(48745);function u(E,C){var $e=E.key,he;return"value"in E&&(he=E.value),$e!=null?$e:he!==void 0?he:"rc-index-key-".concat(C)}function H(E){return typeof E!="undefined"&&!Number.isNaN(E)}function A(E,C){var $e=E||{},he=$e.label,Se=$e.value,He=$e.options,Me=$e.groupLabel,Qe=he||(C?"children":"label");return{label:Qe,value:Se||"value",options:He||"options",groupLabel:Me||Qe}}function w(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$e=C.fieldNames,he=C.childrenAsData,Se=[],He=A($e,!1),Me=He.label,Qe=He.value,lt=He.options,ot=He.groupLabel;function qe(Nt,Kt){Array.isArray(Nt)&&Nt.forEach(function(pt){if(Kt||!(lt in pt)){var F=pt[Qe];Se.push({key:u(pt,Se.length),groupOption:Kt,data:pt,label:pt[Me],value:F})}else{var le=pt[ot];le===void 0&&he&&(le=pt.label),Se.push({key:u(pt,Se.length),group:!0,data:pt,label:le}),qe(pt[lt],!0)}})}return qe(E,!1),Se}function B(E){var C=(0,Z.Z)({},E);return"props"in C||Object.defineProperty(C,"props",{get:function(){return(0,N.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),C}}),C}var P=function(C,$e,he){if(!$e||!$e.length)return null;var Se=!1,He=function Qe(lt,ot){var qe=(0,a.Z)(ot),Nt=qe[0],Kt=qe.slice(1);if(!Nt)return[lt];var pt=lt.split(Nt);return Se=Se||pt.length>1,pt.reduce(function(F,le){return[].concat((0,p.Z)(F),(0,p.Z)(Qe(le,Kt)))},[]).filter(Boolean)},Me=He(C,$e);return Se?typeof he!="undefined"?Me.slice(0,he):Me:null},W=n.createContext(null),l=W;function d(E){var C=E.visible,$e=E.values;if(!C)return null;var he=50;return n.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat($e.slice(0,he).map(function(Se){var He=Se.label,Me=Se.value;return["number","string"].includes((0,f.Z)(He))?He:Me}).join(", ")),$e.length>he?", ...":null)}var xe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],te=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ge=function(C){return C==="tags"||C==="multiple"},Ce=n.forwardRef(function(E,C){var $e,he=E.id,Se=E.prefixCls,He=E.className,Me=E.showSearch,Qe=E.tagRender,lt=E.direction,ot=E.omitDomProps,qe=E.displayValues,Nt=E.onDisplayValuesChange,Kt=E.emptyOptions,pt=E.notFoundContent,F=pt===void 0?"Not Found":pt,le=E.onClear,Ee=E.mode,Ie=E.disabled,Pe=E.loading,Ke=E.getInputElement,Ue=E.getRawInputElement,at=E.open,ft=E.defaultOpen,$t=E.onDropdownVisibleChange,Dt=E.activeValue,Ct=E.onActiveValueChange,St=E.activeDescendantId,It=E.searchValue,Ft=E.autoClearSearchValue,qt=E.onSearch,ut=E.onSearchSplit,Pt=E.tokenSeparators,vn=E.allowClear,en=E.prefix,Yt=E.suffixIcon,un=E.clearIcon,Ot=E.OptionList,jt=E.animation,Sn=E.transitionName,In=E.dropdownStyle,Wn=E.dropdownClassName,On=E.dropdownMatchSelectWidth,An=E.dropdownRender,kn=E.dropdownAlign,ur=E.placement,dr=E.builtinPlacements,Xn=E.getPopupContainer,xt=E.showAction,Je=xt===void 0?[]:xt,nt=E.onFocus,Ut=E.onBlur,Gt=E.onKeyUp,fn=E.onKeyDown,Dn=E.onMouseDown,Fn=(0,g.Z)(E,xe),Nn=ge(Ee),Jn=(Me!==void 0?Me:Nn)||Ee==="combobox",Cr=(0,Z.Z)({},Fn);te.forEach(function(hr){delete Cr[hr]}),ot==null||ot.forEach(function(hr){delete Cr[hr]});var Sr=n.useState(!1),pr=(0,R.Z)(Sr,2),Qn=pr[0],xr=pr[1];n.useEffect(function(){xr((0,J.Z)())},[]);var Er=n.useRef(null),Nr=n.useRef(null),lr=n.useRef(null),Ir=n.useRef(null),rr=n.useRef(null),Br=n.useRef(!1),Xr=i(),jr=(0,R.Z)(Xr,3),Hr=jr[0],Gr=jr[1],xn=jr[2];n.useImperativeHandle(C,function(){var hr,sr;return{focus:(hr=Ir.current)===null||hr===void 0?void 0:hr.focus,blur:(sr=Ir.current)===null||sr===void 0?void 0:sr.blur,scrollTo:function(jo){var uo;return(uo=rr.current)===null||uo===void 0?void 0:uo.scrollTo(jo)},nativeElement:Er.current||Nr.current}});var Kn=n.useMemo(function(){var hr;if(Ee!=="combobox")return It;var sr=(hr=qe[0])===null||hr===void 0?void 0:hr.value;return typeof sr=="string"||typeof sr=="number"?String(sr):""},[It,Ee,qe]),br=Ee==="combobox"&&typeof Ke=="function"&&Ke()||null,vr=typeof Ue=="function"&&Ue(),xo=(0,Ae.x1)(Nr,vr==null||($e=vr.props)===null||$e===void 0?void 0:$e.ref),zo=n.useState(!1),vo=(0,R.Z)(zo,2),Eo=vo[0],Zo=vo[1];(0,O.Z)(function(){Zo(!0)},[]);var wo=(0,y.Z)(!1,{defaultValue:ft,value:at}),kr=(0,R.Z)(wo,2),co=kr[0],to=kr[1],or=Eo?co:!1,zr=!F&&Kt;(Ie||zr&&or&&Ee==="combobox")&&(or=!1);var Wr=zr?!1:or,gn=n.useCallback(function(hr){var sr=hr!==void 0?hr:!or;Ie||(to(sr),or!==sr&&($t==null||$t(sr)))},[Ie,or,to,$t]),Tn=n.useMemo(function(){return(Pt||[]).some(function(hr){return[` + > div > ${$}-nav`]:{"&::before":{bottom:0},[`${$}-ink-bar`]:{bottom:0}}},[`${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{order:1,marginTop:tt,marginBottom:0,"&::before":{top:0},[`${$}-ink-bar`]:{top:0}},[`> ${$}-content-holder, > div > ${$}-content-holder`]:{order:0}},[`${$}-left, ${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{flexDirection:"column",minWidth:Se(x.controlHeight).mul(1.25).equal(),[`${$}-tab`]:{padding:$e,textAlign:"center"},[`${$}-tab + ${$}-tab`]:{margin:he},[`${$}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:x.controlHeight},"&::before":{top:0,boxShadow:x.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:x.boxShadowTabsOverflowBottom},[`&${$}-nav-wrap-ping-top::before`]:{opacity:1},[`&${$}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${$}-ink-bar`]:{width:x.lineWidthBold,"&-animated":{transition:`height ${x.motionDurationSlow}, top ${x.motionDurationSlow}`}},[`${$}-nav-list, ${$}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${$}-left`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${$}-content-holder, > div > ${$}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,vt.unit)(Se(x.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${x.colorBorder}`},[`> ${$}-content > ${$}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:x.paddingLG}}}},[`${$}-right`]:{[`> ${$}-nav, > div > ${$}-nav`]:{order:1,[`${$}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${$}-content-holder, > div > ${$}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:Se(x.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${x.colorBorder}`},[`> ${$}-content > ${$}-tabpane`]:{paddingRight:{_skip_check_:!0,value:x.paddingLG}}}}}},Xt=x=>{const{componentCls:$,cardPaddingSM:tt,cardPaddingLG:E,horizontalItemPaddingSM:C,horizontalItemPaddingLG:$e}=x;return{[$]:{"&-small":{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:C,fontSize:x.titleFontSizeSM}}},"&-large":{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:$e,fontSize:x.titleFontSizeLG}}}},[`${$}-card`]:{[`&${$}-small`]:{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:tt}},[`&${$}-bottom`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:`0 0 ${(0,vt.unit)(x.borderRadius)} ${(0,vt.unit)(x.borderRadius)}`}},[`&${$}-top`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:`${(0,vt.unit)(x.borderRadius)} ${(0,vt.unit)(x.borderRadius)} 0 0`}},[`&${$}-right`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,vt.unit)(x.borderRadius)} ${(0,vt.unit)(x.borderRadius)} 0`}}},[`&${$}-left`]:{[`> ${$}-nav ${$}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,vt.unit)(x.borderRadius)} 0 0 ${(0,vt.unit)(x.borderRadius)}`}}}},[`&${$}-large`]:{[`> ${$}-nav`]:{[`${$}-tab`]:{padding:E}}}}}},pn=x=>{const{componentCls:$,itemActiveColor:tt,itemHoverColor:E,iconCls:C,tabsHorizontalItemMargin:$e,horizontalItemPadding:he,itemSelectedColor:Se,itemColor:He}=x,Me=`${$}-tab`;return{[Me]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:he,fontSize:x.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:He,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:tt}},"&-btn":{outline:"none",transition:`all ${x.motionDurationSlow}`,[`${Me}-icon:not(:last-child)`]:{marginInlineEnd:x.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:x.calc(x.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:x.marginXS},color:x.colorTextDescription,fontSize:x.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${x.motionDurationSlow}`,"&:hover":{color:x.colorTextHeading}},(0,Mt.Qy)(x)),"&:hover":{color:E},[`&${Me}-active ${Me}-btn`]:{color:Se,textShadow:x.tabsActiveTextShadow},[`&${Me}-focus ${Me}-btn`]:Object.assign({},(0,Mt.oN)(x)),[`&${Me}-disabled`]:{color:x.colorTextDisabled,cursor:"not-allowed"},[`&${Me}-disabled ${Me}-btn, &${Me}-disabled ${$}-remove`]:{"&:focus, &:active":{color:x.colorTextDisabled}},[`& ${Me}-remove ${C}`]:{margin:0},[`${C}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:x.marginSM}}},[`${Me} + ${Me}`]:{margin:{_skip_check_:!0,value:$e}}}},zn=x=>{const{componentCls:$,tabsHorizontalItemMarginRTL:tt,iconCls:E,cardGutter:C,calc:$e}=x;return{[`${$}-rtl`]:{direction:"rtl",[`${$}-nav`]:{[`${$}-tab`]:{margin:{_skip_check_:!0,value:tt},[`${$}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[E]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,vt.unit)(x.marginSM)}},[`${$}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,vt.unit)(x.marginXS)},marginLeft:{_skip_check_:!0,value:(0,vt.unit)($e(x.marginXXS).mul(-1).equal())},[E]:{margin:0}}}},[`&${$}-left`]:{[`> ${$}-nav`]:{order:1},[`> ${$}-content-holder`]:{order:0}},[`&${$}-right`]:{[`> ${$}-nav`]:{order:0},[`> ${$}-content-holder`]:{order:1}},[`&${$}-card${$}-top, &${$}-card${$}-bottom`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-tab + ${$}-tab`]:{marginRight:{_skip_check_:!0,value:C},marginLeft:{_skip_check_:!0,value:0}}}}},[`${$}-dropdown-rtl`]:{direction:"rtl"},[`${$}-menu-item`]:{[`${$}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Hn=x=>{const{componentCls:$,tabsCardPadding:tt,cardHeight:E,cardGutter:C,itemHoverColor:$e,itemActiveColor:he,colorBorderSecondary:Se}=x;return{[$]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Mt.Wf)(x)),{display:"flex",[`> ${$}-nav, > div > ${$}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${$}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${x.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${$}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${x.motionDurationSlow}`},[`${$}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${$}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${$}-nav-more`]:{position:"relative",padding:tt,background:"transparent",border:0,color:x.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:x.calc(x.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${$}-nav-add`]:Object.assign({minWidth:E,marginLeft:{_skip_check_:!0,value:C},padding:(0,vt.unit)(x.paddingXS),background:"transparent",border:`${(0,vt.unit)(x.lineWidth)} ${x.lineType} ${Se}`,borderRadius:`${(0,vt.unit)(x.borderRadiusLG)} ${(0,vt.unit)(x.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:x.colorText,transition:`all ${x.motionDurationSlow} ${x.motionEaseInOut}`,"&:hover":{color:$e},"&:active, &:focus:not(:focus-visible)":{color:he}},(0,Mt.Qy)(x,-3))},[`${$}-extra-content`]:{flex:"none"},[`${$}-ink-bar`]:{position:"absolute",background:x.inkBarColor,pointerEvents:"none"}}),pn(x)),{[`${$}-content`]:{position:"relative",width:"100%"},[`${$}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${$}-tabpane`]:Object.assign(Object.assign({},(0,Mt.Qy)(x)),{"&-hidden":{display:"none"}})}),[`${$}-centered`]:{[`> ${$}-nav, > div > ${$}-nav`]:{[`${$}-nav-wrap`]:{[`&:not([class*='${$}-nav-wrap-ping']) > ${$}-nav-list`]:{margin:"auto"}}}}}},ir=x=>{const $=x.controlHeightLG;return{zIndexPopup:x.zIndexPopupBase+50,cardBg:x.colorFillAlter,cardHeight:$,cardPadding:`${($-Math.round(x.fontSize*x.lineHeight))/2-x.lineWidth}px ${x.padding}px`,cardPaddingSM:`${x.paddingXXS*1.5}px ${x.padding}px`,cardPaddingLG:`${x.paddingXS}px ${x.padding}px ${x.paddingXXS*1.5}px`,titleFontSize:x.fontSize,titleFontSizeLG:x.fontSizeLG,titleFontSizeSM:x.fontSize,inkBarColor:x.colorPrimary,horizontalMargin:`0 0 ${x.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${x.paddingSM}px 0`,horizontalItemPaddingSM:`${x.paddingXS}px 0`,horizontalItemPaddingLG:`${x.padding}px 0`,verticalItemPadding:`${x.paddingXS}px ${x.paddingLG}px`,verticalItemMargin:`${x.margin}px 0 0 0`,itemColor:x.colorText,itemSelectedColor:x.colorPrimary,itemHoverColor:x.colorPrimaryHover,itemActiveColor:x.colorPrimaryActive,cardGutter:x.marginXXS/2}};var tr=(0,_t.I$)("Tabs",x=>{const $=(0,Et.mergeToken)(x,{tabsCardPadding:x.cardPadding,dropdownEdgeChildVerticalPadding:x.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,vt.unit)(x.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,vt.unit)(x.horizontalItemGutter)}`});return[Xt($),zn($),wt($),Zt($),zt($),Hn($),ht($)]},ir),bn=()=>null,Vn=function(x,$){var tt={};for(var E in x)Object.prototype.hasOwnProperty.call(x,E)&&$.indexOf(E)<0&&(tt[E]=x[E]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,E=Object.getOwnPropertySymbols(x);C{var $,tt,E,C,$e,he,Se,He,Me,Qe,lt;const{type:ot,className:qe,rootClassName:Nt,size:Kt,onEdit:pt,hideAdd:F,centered:le,addIcon:Ee,removeIcon:Ie,moreIcon:Pe,more:Ke,popupClassName:Ue,children:at,items:ft,animated:$t,style:Dt,indicatorSize:Ct,indicator:St}=x,It=Vn(x,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:Ft}=It,{direction:qt,tabs:ut,getPrefixCls:Pt,getPopupContainer:vn}=e.useContext(Ne.E_),en=Pt("tabs",Ft),Yt=(0,Le.Z)(en),[un,Ot,jt]=tr(en,Yt);let Sn;ot==="editable-card"&&(Sn={onEdit:(dr,Xn)=>{let{key:xt,event:Je}=Xn;pt==null||pt(dr==="add"?Je:xt,dr)},removeIcon:($=Ie!=null?Ie:ut==null?void 0:ut.removeIcon)!==null&&$!==void 0?$:e.createElement(p.Z,null),addIcon:(Ee!=null?Ee:ut==null?void 0:ut.addIcon)||e.createElement(Z.Z,null),showAdd:F!==!0});const In=Pt(),Wn=(0,gt.Z)(Kt),On=Lt(ft,at),An=yt(en,$t),kn=Object.assign(Object.assign({},ut==null?void 0:ut.style),Dt),ur={align:(tt=St==null?void 0:St.align)!==null&&tt!==void 0?tt:(E=ut==null?void 0:ut.indicator)===null||E===void 0?void 0:E.align,size:(Se=($e=(C=St==null?void 0:St.size)!==null&&C!==void 0?C:Ct)!==null&&$e!==void 0?$e:(he=ut==null?void 0:ut.indicator)===null||he===void 0?void 0:he.size)!==null&&Se!==void 0?Se:ut==null?void 0:ut.indicatorSize};return un(e.createElement(Be,Object.assign({direction:qt,getPopupContainer:vn},It,{items:On,className:g()({[`${en}-${Wn}`]:Wn,[`${en}-card`]:["card","editable-card"].includes(ot),[`${en}-editable-card`]:ot==="editable-card",[`${en}-centered`]:le},ut==null?void 0:ut.className,qe,Nt,Ot,jt,Yt),popupClassName:g()(Ue,Ot,jt,Yt),style:kn,editable:Sn,more:Object.assign({icon:(lt=(Qe=(Me=(He=ut==null?void 0:ut.more)===null||He===void 0?void 0:He.icon)!==null&&Me!==void 0?Me:ut==null?void 0:ut.moreIcon)!==null&&Qe!==void 0?Qe:Pe)!==null&<!==void 0?lt:e.createElement(m.Z,null),transitionName:`${In}-slide-up`},Ke),prefixCls:en,animated:An,indicator:ur})))};Un.TabPane=bn;var Yn=Un},93427:function(Tt,re,t){t.d(re,{Z:function(){return p}});var e=t(34998);function p(m,Z){return e.i.reduce((R,g)=>{const f=m[`${g}1`],y=m[`${g}3`],N=m[`${g}6`],n=m[`${g}7`];return Object.assign(Object.assign({},R),Z(g,{lightColor:f,lightBorderColor:y,darkColor:N,textColor:n}))},{})}},25399:function(Tt,re,t){t.d(re,{Z:function(){return _}});var e=t(59301),p=t(92310),m=t.n(p),Z=t(29125),R=t(18929),g=t(62487),f=t(75030),y=t(86641),N=t(52838),n=t(22703),D=t(32383),S=t(55743),O=t(57700),J=t(48755),Ae=t(36237),Y=t(63356),q=t(34925),ye=t(37645),v=t(36305),X=t(93427),i=t(51636),c=t(16931);const V=j=>{const{calc:De,componentCls:se,tooltipMaxWidth:je,tooltipColor:et,tooltipBg:fe,tooltipBorderRadius:ce,zIndexPopup:Ge,controlHeight:U,boxShadowSecondary:ve,paddingSM:ae,paddingXS:ze,arrowOffsetHorizontal:L,sizePopupArrow:pe}=j,Te=De(ce).add(pe).add(L).equal(),ct=De(ce).mul(2).add(pe).equal();return[{[se]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Y.Wf)(j)),{position:"absolute",zIndex:Ge,display:"block",width:"max-content",maxWidth:je,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":fe,[`${se}-inner`]:{minWidth:ct,minHeight:U,padding:`${(0,Ae.unit)(j.calc(ae).div(2).equal())} ${(0,Ae.unit)(ze)}`,color:et,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:fe,borderRadius:ce,boxShadow:ve,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:Te},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${se}-inner`]:{borderRadius:j.min(ce,ye.qN)}},[`${se}-content`]:{position:"relative"}}),(0,X.Z)(j,(Ye,k)=>{let{darkColor:K}=k;return{[`&${se}-${Ye}`]:{[`${se}-inner`]:{backgroundColor:K},[`${se}-arrow`]:{"--antd-arrow-background-color":K}}}})),{"&-rtl":{direction:"rtl"}})},(0,ye.ZP)(j,"var(--antd-arrow-background-color)"),{[`${se}-pure`]:{position:"relative",maxWidth:"none",margin:j.sizePopupArrow}}]},ie=j=>Object.assign(Object.assign({zIndexPopup:j.zIndexPopupBase+70},(0,ye.wZ)({contentRadius:j.borderRadius,limitVerticalRadius:!0})),(0,v.w)((0,i.mergeToken)(j,{borderRadiusOuter:Math.min(j.borderRadiusOuter,4)})));var de=function(j){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,c.I$)("Tooltip",je=>{const{borderRadius:et,colorTextLightSolid:fe,colorBgSpotlight:ce}=je,Ge=(0,i.mergeToken)(je,{tooltipMaxWidth:250,tooltipColor:fe,tooltipBorderRadius:et,tooltipBg:ce});return[V(Ge),(0,q._y)(je,"zoom-big-fast")]},ie,{resetStyle:!1,injectStyle:De})(j)},ke=t(29509);function Re(j,De){const se=(0,ke.o2)(De),je=m()({[`${j}-${De}`]:De&&se}),et={},fe={};return De&&!se&&(et.background=De,fe["--antd-arrow-background-color"]=De),{className:je,overlayStyle:et,arrowStyle:fe}}var be=j=>{const{prefixCls:De,className:se,placement:je="top",title:et,color:fe,overlayInnerStyle:ce}=j,{getPrefixCls:Ge}=e.useContext(J.E_),U=Ge("tooltip",De),[ve,ae,ze]=de(U),L=Re(U,fe),pe=L.arrowStyle,Te=Object.assign(Object.assign({},ce),L.overlayStyle),ct=m()(ae,ze,U,`${U}-pure`,`${U}-placement-${je}`,se,L.className);return ve(e.createElement("div",{className:ct,style:pe},e.createElement("div",{className:`${U}-arrow`}),e.createElement(Z.G,Object.assign({},j,{className:ae,prefixCls:U,overlayInnerStyle:Te}),et)))},Q=function(j,De){var se={};for(var je in j)Object.prototype.hasOwnProperty.call(j,je)&&De.indexOf(je)<0&&(se[je]=j[je]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,je=Object.getOwnPropertySymbols(j);et{var se,je;const{prefixCls:et,openClassName:fe,getTooltipContainer:ce,color:Ge,overlayInnerStyle:U,children:ve,afterOpenChange:ae,afterVisibleChange:ze,destroyTooltipOnHide:L,arrow:pe=!0,title:Te,overlay:ct,builtinPlacements:Ye,arrowPointAtCenter:k=!1,autoAdjustOverflow:K=!0,motion:oe,getPopupContainer:b,placement:ue="top",mouseEnterDelay:T=.1,mouseLeaveDelay:a=.1,overlayStyle:u,rootClassName:H,overlayClassName:A,styles:w,classNames:B}=j,P=Q(j,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),W=!!pe,[,l]=(0,O.ZP)(),{getPopupContainer:d,getPrefixCls:xe,direction:te,className:ge,style:Ce,classNames:Ze,styles:Be}=(0,J.dj)("tooltip"),Ne=(0,D.ln)("Tooltip"),Le=e.useRef(null),gt=()=>{var bn;(bn=Le.current)===null||bn===void 0||bn.forceAlign()};e.useImperativeHandle(De,()=>{var bn,Vn;return{forceAlign:gt,forcePopupAlign:()=>{Ne.deprecated(!1,"forcePopupAlign","forceAlign"),gt()},nativeElement:(bn=Le.current)===null||bn===void 0?void 0:bn.nativeElement,popupElement:(Vn=Le.current)===null||Vn===void 0?void 0:Vn.popupElement}});const[it,bt]=(0,R.Z)(!1,{value:(se=j.open)!==null&&se!==void 0?se:j.visible,defaultValue:(je=j.defaultOpen)!==null&&je!==void 0?je:j.defaultVisible}),yt=!Te&&!ct&&Te!==0,tn=bn=>{var Vn,Un;bt(yt?!1:bn),yt||((Vn=j.onOpenChange)===null||Vn===void 0||Vn.call(j,bn),(Un=j.onVisibleChange)===null||Un===void 0||Un.call(j,bn))},dt=e.useMemo(()=>{var bn,Vn;let Un=k;return typeof pe=="object"&&(Un=(Vn=(bn=pe.pointAtCenter)!==null&&bn!==void 0?bn:pe.arrowPointAtCenter)!==null&&Vn!==void 0?Vn:k),Ye||(0,N.Z)({arrowPointAtCenter:Un,autoAdjustOverflow:K,arrowWidth:W?l.sizePopupArrow:0,borderRadius:l.borderRadius,offset:l.marginXXS,visibleFirst:!0})},[k,pe,Ye,l]),rt=e.useMemo(()=>Te===0?Te:ct||Te||"",[ct,Te]),Lt=e.createElement(g.Z,{space:!0},typeof rt=="function"?rt():rt),vt=xe("tooltip",et),Mt=xe(),_t=j["data-popover-inject"];let Et=it;!("open"in j)&&!("visible"in j)&&yt&&(Et=!1);const cn=e.isValidElement(ve)&&!(0,n.M2)(ve)?ve:e.createElement("span",null,ve),mt=cn.props,ht=!mt.className||typeof mt.className=="string"?m()(mt.className,fe||`${vt}-open`):mt.className,[zt,Zt,wt]=de(vt,!_t),Xt=Re(vt,Ge),pn=Xt.arrowStyle,zn=m()(A,{[`${vt}-rtl`]:te==="rtl"},Xt.className,H,Zt,wt,ge,Ze.root,B==null?void 0:B.root),Hn=m()(Ze.body,B==null?void 0:B.body),[ir,tr]=(0,f.Cn)("Tooltip",P.zIndex),nr=e.createElement(Z.Z,Object.assign({},P,{zIndex:ir,showArrow:W,placement:ue,mouseEnterDelay:T,mouseLeaveDelay:a,prefixCls:vt,classNames:{root:zn,body:Hn},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},pn),Be.root),Ce),u),w==null?void 0:w.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},Be.body),U),w==null?void 0:w.body),Xt.overlayStyle)},getTooltipContainer:b||ce||d,ref:Le,builtinPlacements:dt,overlay:Lt,visible:Et,onVisibleChange:tn,afterVisibleChange:ae!=null?ae:ze,arrowContent:e.createElement("span",{className:`${vt}-arrow-content`}),motion:{motionName:(0,y.m)(Mt,"zoom-big-fast",j.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!L}),Et?(0,n.Tm)(cn,{className:ht}):cn);return zt(e.createElement(S.Z.Provider,{value:tr},nr))});s._InternalPanelDoNotUseOrYouWillBeFired=be;var _=s},18287:function(Tt,re,t){t.d(re,{default:function(){return Ge}});var e=t(87632),p=t(77654),m=t(59301),Z=t(52671),R=t(8657),g=t(60499),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},y=f,N=t(7657),n=function(ve,ae){return m.createElement(N.Z,(0,g.Z)({},ve,{ref:ae,icon:y}))},D=m.forwardRef(n),S=D,O=t(92310),J=t.n(O),Ae=t(82661),Y=t(34061),q=t(48755),ye=t(56082),v=t(86641),X=t(57700),i=t(12425);const c=4;function V(U){const{dropPosition:ve,dropLevelOffset:ae,prefixCls:ze,indent:L,direction:pe="ltr"}=U,Te=pe==="ltr"?"left":"right",ct=pe==="ltr"?"right":"left",Ye={[Te]:-ae*L+c,[ct]:0};switch(ve){case-1:Ye.top=-3;break;case 1:Ye.bottom=-3;break;default:Ye.bottom=-3,Ye[Te]=L+c;break}return m.createElement("div",{style:Ye,className:`${ze}-drop-indicator`})}var ie=V,de=t(85278),Re=m.forwardRef((U,ve)=>{var ae;const{getPrefixCls:ze,direction:L,virtual:pe,tree:Te}=m.useContext(q.E_),{prefixCls:ct,className:Ye,showIcon:k=!1,showLine:K,switcherIcon:oe,switcherLoadingIcon:b,blockNode:ue=!1,children:T,checkable:a=!1,selectable:u=!0,draggable:H,motion:A,style:w}=U,B=ze("tree",ct),P=ze(),W=A!=null?A:Object.assign(Object.assign({},(0,v.Z)(P)),{motionAppear:!1}),l=Object.assign(Object.assign({},U),{checkable:a,selectable:u,showIcon:k,motion:W,blockNode:ue,showLine:!!K,dropIndicatorRender:ie}),[d,xe,te]=(0,i.ZP)(B),[,ge]=(0,X.ZP)(),Ce=ge.paddingXS/2+(((ae=ge.Tree)===null||ae===void 0?void 0:ae.titleHeight)||ge.controlHeightSM),Ze=m.useMemo(()=>{if(!H)return!1;let Ne={};switch(typeof H){case"function":Ne.nodeDraggable=H;break;case"object":Ne=Object.assign({},H);break;default:break}return Ne.icon!==!1&&(Ne.icon=Ne.icon||m.createElement(ye.Z,null)),Ne},[H]),Be=Ne=>m.createElement(de.Z,{prefixCls:B,switcherIcon:oe,switcherLoadingIcon:b,treeNodeProps:Ne,showLine:K});return d(m.createElement(e.ZP,Object.assign({itemHeight:Ce,ref:ve,virtual:pe},l,{style:Object.assign(Object.assign({},Te==null?void 0:Te.style),w),prefixCls:B,className:J()({[`${B}-icon-hide`]:!k,[`${B}-block-node`]:ue,[`${B}-unselectable`]:!u,[`${B}-rtl`]:L==="rtl"},Te==null?void 0:Te.className,Ye,xe,te),direction:L,checkable:a&&m.createElement("span",{className:`${B}-checkbox-inner`}),selectable:u,switcherIcon:Be,draggable:Ze}),T))});const ee=0,be=1,Q=2;function M(U,ve,ae){const{key:ze,children:L}=ae;function pe(Te){const ct=Te[ze],Ye=Te[L];ve(ct,Te)!==!1&&M(Ye||[],ve,ae)}U.forEach(pe)}function s(U){let{treeData:ve,expandedKeys:ae,startKey:ze,endKey:L,fieldNames:pe}=U;const Te=[];let ct=ee;if(ze&&ze===L)return[ze];if(!ze||!L)return[];function Ye(k){return k===ze||k===L}return M(ve,k=>{if(ct===Q)return!1;if(Ye(k)){if(Te.push(k),ct===ee)ct=be;else if(ct===be)return ct=Q,!1}else ct===be&&Te.push(k);return ae.includes(k)},(0,Y.w$)(pe)),Te}function _(U,ve,ae){const ze=(0,p.Z)(ve),L=[];return M(U,(pe,Te)=>{const ct=ze.indexOf(pe);return ct!==-1&&(L.push(Te),ze.splice(ct,1)),!!ze.length},(0,Y.w$)(ae)),L}var j=function(U,ve){var ae={};for(var ze in U)Object.prototype.hasOwnProperty.call(U,ze)&&ve.indexOf(ze)<0&&(ae[ze]=U[ze]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,ze=Object.getOwnPropertySymbols(U);L{var{defaultExpandAll:ae,defaultExpandParent:ze,defaultExpandedKeys:L}=U,pe=j(U,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Te=m.useRef(null),ct=m.useRef(null),Ye=()=>{const{keyEntities:d}=(0,Y.I8)(se(pe));let xe;return ae?xe=Object.keys(d):ze?xe=(0,Ae.r7)(pe.expandedKeys||L||[],d):xe=pe.expandedKeys||L||[],xe},[k,K]=m.useState(pe.selectedKeys||pe.defaultSelectedKeys||[]),[oe,b]=m.useState(()=>Ye());m.useEffect(()=>{"selectedKeys"in pe&&K(pe.selectedKeys)},[pe.selectedKeys]),m.useEffect(()=>{"expandedKeys"in pe&&b(pe.expandedKeys)},[pe.expandedKeys]);const ue=(d,xe)=>{var te;return"expandedKeys"in pe||b(d),(te=pe.onExpand)===null||te===void 0?void 0:te.call(pe,d,xe)},T=(d,xe)=>{var te;const{multiple:ge,fieldNames:Ce}=pe,{node:Ze,nativeEvent:Be}=xe,{key:Ne=""}=Ze,Le=se(pe),gt=Object.assign(Object.assign({},xe),{selected:!0}),it=(Be==null?void 0:Be.ctrlKey)||(Be==null?void 0:Be.metaKey),bt=Be==null?void 0:Be.shiftKey;let yt;ge&&it?(yt=d,Te.current=Ne,ct.current=yt,gt.selectedNodes=_(Le,yt,Ce)):ge&&bt?(yt=Array.from(new Set([].concat((0,p.Z)(ct.current||[]),(0,p.Z)(s({treeData:Le,expandedKeys:oe,startKey:Ne,endKey:Te.current,fieldNames:Ce}))))),gt.selectedNodes=_(Le,yt,Ce)):(yt=[Ne],Te.current=Ne,ct.current=yt,gt.selectedNodes=_(Le,yt,Ce)),(te=pe.onSelect)===null||te===void 0||te.call(pe,yt,gt),"selectedKeys"in pe||K(yt)},{getPrefixCls:a,direction:u}=m.useContext(q.E_),{prefixCls:H,className:A,showIcon:w=!0,expandAction:B="click"}=pe,P=j(pe,["prefixCls","className","showIcon","expandAction"]),W=a("tree",H),l=J()(`${W}-directory`,{[`${W}-directory-rtl`]:u==="rtl"},A);return m.createElement(Re,Object.assign({icon:De,ref:ve,blockNode:!0},P,{showIcon:w,expandAction:B,prefixCls:W,className:l,expandedKeys:oe,selectedKeys:k,onSelect:T,onExpand:ue}))};var fe=m.forwardRef(je);const ce=Re;ce.DirectoryTree=fe,ce.TreeNode=e.OF;var Ge=ce},12425:function(Tt,re,t){t.d(re,{ZP:function(){return Ae},Yk:function(){return S},TM:function(){return O}});var e=t(36237),p=t(36170),m=t(63356),Z=t(34961),R=t(51636),g=t(16931);const f=Y=>{let{treeCls:q,treeNodeCls:ye,directoryNodeSelectedBg:v,directoryNodeSelectedColor:X,motionDurationMid:i,borderRadius:c,controlItemBgHover:V}=Y;return{[`${q}${q}-directory ${ye}`]:{[`${q}-node-content-wrapper`]:{position:"static",[`> *:not(${q}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${i}`,content:'""',borderRadius:c},"&:hover:before":{background:V}},[`${q}-switcher, ${q}-checkbox, ${q}-draggable-icon`]:{zIndex:1},"&-selected":{[`${q}-switcher, ${q}-draggable-icon`]:{color:X},[`${q}-node-content-wrapper`]:{color:X,background:"transparent","&:before, &:hover:before":{background:v}}}}}},y=new e.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),N=(Y,q)=>({[`.${Y}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${q.motionDurationSlow}`}}}),n=(Y,q)=>({[`.${Y}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:q.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,e.unit)(q.lineWidthBold)} solid ${q.colorPrimary}`,borderRadius:"50%",content:'""'}}}),D=(Y,q)=>{const{treeCls:ye,treeNodeCls:v,treeNodePadding:X,titleHeight:i,indentSize:c,nodeSelectedBg:V,nodeHoverBg:ie,colorTextQuaternary:de,controlItemBgActiveDisabled:ke}=q;return{[ye]:Object.assign(Object.assign({},(0,m.Wf)(q)),{background:q.colorBgContainer,borderRadius:q.borderRadius,transition:`background-color ${q.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${ye}-rtl ${ye}-switcher_close ${ye}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${ye}-active-focused)`]:Object.assign({},(0,m.oN)(q)),[`${ye}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ye}-block-node`]:{[`${ye}-list-holder-inner`]:{alignItems:"stretch",[`${ye}-node-content-wrapper`]:{flex:"auto"},[`${v}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${q.colorPrimary}`,opacity:0,animationName:y,animationDuration:q.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:q.borderRadius}}},[v]:{display:"flex",alignItems:"flex-start",marginBottom:X,lineHeight:(0,e.unit)(i),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:X},[`&-disabled ${ye}-node-content-wrapper`]:{color:q.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${ye}-checkbox-disabled + ${ye}-node-selected,&${v}-disabled${v}-selected ${ye}-node-content-wrapper`]:{backgroundColor:ke},[`${ye}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${v}-disabled)`]:{[`${ye}-node-content-wrapper`]:{"&:hover":{color:q.nodeHoverColor}}},[`&-active ${ye}-node-content-wrapper`]:{background:q.controlItemBgHover},[`&:not(${v}-disabled).filter-node ${ye}-title`]:{color:q.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${ye}-draggable-icon`]:{flexShrink:0,width:i,textAlign:"center",visibility:"visible",color:de},[`&${v}-disabled ${ye}-draggable-icon`]:{visibility:"hidden"}}},[`${ye}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:c}},[`${ye}-draggable-icon`]:{visibility:"hidden"},[`${ye}-switcher, ${ye}-checkbox`]:{marginInlineEnd:q.calc(q.calc(i).sub(q.controlInteractiveSize)).div(2).equal()},[`${ye}-switcher`]:Object.assign(Object.assign({},N(Y,q)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${q.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:q.borderRadius,transition:`all ${q.motionDurationSlow}`},[`&:not(${ye}-switcher-noop):hover:before`]:{backgroundColor:q.colorBgTextHover},[`&_close ${ye}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:q.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:q.calc(i).div(2).equal(),bottom:q.calc(X).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${q.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:q.calc(q.calc(i).div(2).equal()).mul(.8).equal(),height:q.calc(i).div(2).equal(),borderBottom:`1px solid ${q.colorBorder}`,content:'""'}}}),[`${ye}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:i,paddingBlock:0,paddingInline:q.paddingXS,background:"transparent",borderRadius:q.borderRadius,cursor:"pointer",transition:`all ${q.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},n(Y,q)),{"&:hover":{backgroundColor:ie},[`&${ye}-node-selected`]:{color:q.nodeSelectedColor,backgroundColor:V},[`${ye}-iconEle`]:{display:"inline-block",width:i,height:i,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${ye}-unselectable ${ye}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${v}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${q.colorPrimary}`},"&-show-line":{[`${ye}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:q.calc(i).div(2).equal(),bottom:q.calc(X).mul(-1).equal(),borderInlineEnd:`1px solid ${q.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${ye}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${v}-leaf-last ${ye}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,e.unit)(q.calc(i).div(2).equal())} !important`}})}},S=function(Y,q){let ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const v=`.${Y}`,X=`${v}-treenode`,i=q.calc(q.paddingXS).div(2).equal(),c=(0,R.mergeToken)(q,{treeCls:v,treeNodeCls:X,treeNodePadding:i});return[D(Y,c),ye&&f(c)].filter(Boolean)},O=Y=>{const{controlHeightSM:q,controlItemBgHover:ye,controlItemBgActive:v}=Y,X=q;return{titleHeight:X,indentSize:X,nodeHoverBg:ye,nodeHoverColor:Y.colorText,nodeSelectedBg:v,nodeSelectedColor:Y.colorText}},J=Y=>{const{colorTextLightSolid:q,colorPrimary:ye}=Y;return Object.assign(Object.assign({},O(Y)),{directoryNodeSelectedColor:q,directoryNodeSelectedBg:ye})};var Ae=(0,g.I$)("Tree",(Y,q)=>{let{prefixCls:ye}=q;return[{[Y.componentCls]:(0,p.C2)(`${ye}-checkbox`,Y)},S(ye,Y),(0,Z.Z)(Y)]},J)},85278:function(Tt,re,t){t.d(re,{Z:function(){return q}});var e=t(59301),p=t(60499),m={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Z=m,R=t(7657),g=function(v,X){return e.createElement(R.Z,(0,p.Z)({},v,{ref:X,icon:Z}))},f=e.forwardRef(g),y=f,N=t(52671),n=t(58617),D=t(15075),S=t(43531),O=t(92310),J=t.n(O),Ae=t(22703),q=ye=>{const{prefixCls:v,switcherIcon:X,treeNodeProps:i,showLine:c,switcherLoadingIcon:V}=ye,{isLeaf:ie,expanded:de,loading:ke}=i;if(ke)return e.isValidElement(V)?V:e.createElement(n.Z,{className:`${v}-switcher-loading-icon`});let Re;if(c&&typeof c=="object"&&(Re=c.showLeafIcon),ie){if(!c)return null;if(typeof Re!="boolean"&&Re){const Q=typeof Re=="function"?Re(i):Re,M=`${v}-switcher-line-custom-icon`;return e.isValidElement(Q)?(0,Ae.Tm)(Q,{className:J()(Q.props.className||"",M)}):Q}return Re?e.createElement(N.Z,{className:`${v}-switcher-line-icon`}):e.createElement("span",{className:`${v}-switcher-leaf-line`})}const ee=`${v}-switcher-icon`,be=typeof X=="function"?X(i):X;return e.isValidElement(be)?(0,Ae.Tm)(be,{className:J()(be.props.className||"",ee)}):be!==void 0?be:c?de?e.createElement(D.Z,{className:`${v}-switcher-line-icon`}):e.createElement(S.Z,{className:`${v}-switcher-line-icon`}):e.createElement(y,{className:ee})}},97774:function(Tt,re,t){Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var e=Object.assign||function(Y){for(var q=1;qd;(0,f.useImperativeHandle)(c,function(){var dt;return{focus:ue,blur:function(){var Lt;(Lt=oe.current)===null||Lt===void 0||Lt.blur()},setSelectionRange:function(Lt,vt,Mt){var _t;(_t=oe.current)===null||_t===void 0||_t.setSelectionRange(Lt,vt,Mt)},select:function(){var Lt;(Lt=oe.current)===null||Lt===void 0||Lt.select()},input:oe.current,nativeElement:((dt=b.current)===null||dt===void 0?void 0:dt.nativeElement)||oe.current}}),(0,f.useEffect)(function(){K.current&&(K.current=!1),Ye(function(dt){return dt&&s?!1:dt})},[s]);var ge=function(rt,Lt,vt){var Mt=Lt;if(!k.current&&l.exceedFormatter&&l.max&&l.strategy(Lt)>l.max){if(Mt=l.exceedFormatter(Lt,{max:l.max}),Lt!==Mt){var _t,Et;W([((_t=oe.current)===null||_t===void 0?void 0:_t.selectionStart)||0,((Et=oe.current)===null||Et===void 0?void 0:Et.selectionEnd)||0])}}else if(vt.source==="compositionEnd")return;H(Mt),oe.current&&(0,y.rJ)(oe.current,rt,ie,Mt)};(0,f.useEffect)(function(){if(P){var dt;(dt=oe.current)===null||dt===void 0||dt.setSelectionRange.apply(dt,(0,D.Z)(P))}},[P]);var Ce=function(rt){ge(rt,rt.target.value,{source:"change"})},Ze=function(rt){k.current=!1,ge(rt,rt.currentTarget.value,{source:"compositionEnd"}),ze==null||ze(rt)},Be=function(rt){Re&&rt.key==="Enter"&&!K.current&&(K.current=!0,Re(rt)),ee==null||ee(rt)},Ne=function(rt){rt.key==="Enter"&&(K.current=!1),be==null||be(rt)},Le=function(rt){Ye(!0),de==null||de(rt)},gt=function(rt){K.current&&(K.current=!1),Ye(!1),ke==null||ke(rt)},it=function(rt){H(""),ue(),oe.current&&(0,y.rJ)(oe.current,rt,ie)},bt=te&&"".concat(M,"-out-of-range"),yt=function(){var rt=(0,Ae.Z)(i,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return f.createElement("input",(0,p.Z)({autoComplete:V},rt,{onChange:Ce,onFocus:Le,onBlur:gt,onKeyDown:Be,onKeyUp:Ne,className:g()(M,(0,m.Z)({},"".concat(M,"-disabled"),s),U==null?void 0:U.input),style:ve==null?void 0:ve.input,ref:oe,size:_,type:ce,onCompositionStart:function(vt){k.current=!0,ae==null||ae(vt)},onCompositionEnd:Ze}))},tn=function(){var rt=Number(d)>0;if(se||l.show){var Lt=l.showFormatter?l.showFormatter({value:A,count:xe,maxLength:d}):"".concat(xe).concat(rt?" / ".concat(d):"");return f.createElement(f.Fragment,null,l.show&&f.createElement("span",{className:g()("".concat(M,"-show-count-suffix"),(0,m.Z)({},"".concat(M,"-show-count-has-suffix"),!!se),U==null?void 0:U.count),style:(0,e.Z)({},ve==null?void 0:ve.count)},Lt),se)}return null};return f.createElement(n,(0,p.Z)({},L,{prefixCls:M,className:g()(j,bt),handleReset:it,value:A,focused:ct,triggerFocus:ue,suffix:tn(),disabled:s,classes:Ge,classNames:U,styles:ve}),yt())}),v=ye,X=v},30292:function(Tt,re,t){t.d(re,{He:function(){return e},X3:function(){return p},nH:function(){return R},rJ:function(){return Z}});function e(g){return!!(g.addonBefore||g.addonAfter)}function p(g){return!!(g.prefix||g.suffix||g.allowClear)}function m(g,f,y){var N=f.cloneNode(!0),n=Object.create(g,{target:{value:N},currentTarget:{value:N}});return N.value=y,typeof f.selectionStart=="number"&&typeof f.selectionEnd=="number"&&(N.selectionStart=f.selectionStart,N.selectionEnd=f.selectionEnd),N.setSelectionRange=function(){f.setSelectionRange.apply(f,arguments)},n}function Z(g,f,y,N){if(y){var n=f;if(f.type==="click"){n=m(f,g,""),y(n);return}if(g.type!=="file"&&N!==void 0){n=m(f,g,N),y(n);return}y(n)}}function R(g,f){if(g){g.focus(f);var y=f||{},N=y.cursor;if(N){var n=g.value.length;switch(N){case"start":g.setSelectionRange(0,0);break;case"end":g.setSelectionRange(n,n);break;default:g.setSelectionRange(0,n)}}}}},28321:function(Tt,re,t){t.d(re,{iz:function(){return E},ck:function(){return Mt},BW:function(){return Se},sN:function(){return Mt},Wd:function(){return $},ZP:function(){return pt},Xl:function(){return Re}});var e=t(60499),p=t(18642),m=t(85899),Z=t(77654),R=t(72190),g=t(42244),f=t(92310),y=t.n(f),N=t(83836),n=t(18929),D=t(13697),S=t(48736),O=t(59301),J=t(4676),Ae=O.createContext(null);function Y(F,le){return F===void 0?null:"".concat(F,"-").concat(le)}function q(F){var le=O.useContext(Ae);return Y(le,F)}var ye=t(80547),v=["children","locked"],X=O.createContext(null);function i(F,le){var Ee=(0,m.Z)({},F);return Object.keys(le).forEach(function(Ie){var Pe=le[Ie];Pe!==void 0&&(Ee[Ie]=Pe)}),Ee}function c(F){var le=F.children,Ee=F.locked,Ie=(0,g.Z)(F,v),Pe=O.useContext(X),Ke=(0,ye.Z)(function(){return i(Pe,Ie)},[Pe,Ie],function(Ue,at){return!Ee&&(Ue[0]!==at[0]||!(0,D.Z)(Ue[1],at[1],!0))});return O.createElement(X.Provider,{value:Ke},le)}var V=[],ie=O.createContext(null);function de(){return O.useContext(ie)}var ke=O.createContext(V);function Re(F){var le=O.useContext(ke);return O.useMemo(function(){return F!==void 0?[].concat((0,Z.Z)(le),[F]):le},[le,F])}var ee=O.createContext(null),be=O.createContext({}),Q=be,M=t(29194);function s(F){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,M.Z)(F)){var Ee=F.nodeName.toLowerCase(),Ie=["input","select","textarea","button"].includes(Ee)||F.isContentEditable||Ee==="a"&&!!F.getAttribute("href"),Pe=F.getAttribute("tabindex"),Ke=Number(Pe),Ue=null;return Pe&&!Number.isNaN(Ke)?Ue=Ke:Ie&&Ue===null&&(Ue=0),Ie&&F.disabled&&(Ue=null),Ue!==null&&(Ue>=0||le&&Ue<0)}return!1}function _(F){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ee=(0,Z.Z)(F.querySelectorAll("*")).filter(function(Ie){return s(Ie,le)});return s(F,le)&&Ee.unshift(F),Ee}var j=null;function De(){j=document.activeElement}function se(){j=null}function je(){if(j)try{j.focus()}catch(F){}}function et(F,le){if(le.keyCode===9){var Ee=_(F),Ie=Ee[le.shiftKey?0:Ee.length-1],Pe=Ie===document.activeElement||F===document.activeElement;if(Pe){var Ke=Ee[le.shiftKey?Ee.length-1:0];Ke.focus(),le.preventDefault()}}}var fe=t(10228),ce=t(16089),Ge=fe.Z.LEFT,U=fe.Z.RIGHT,ve=fe.Z.UP,ae=fe.Z.DOWN,ze=fe.Z.ENTER,L=fe.Z.ESC,pe=fe.Z.HOME,Te=fe.Z.END,ct=[ve,ae,Ge,U];function Ye(F,le,Ee,Ie){var Pe,Ke="prev",Ue="next",at="children",ft="parent";if(F==="inline"&&Ie===ze)return{inlineTrigger:!0};var $t=(0,p.Z)((0,p.Z)({},ve,Ke),ae,Ue),Dt=(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},Ge,Ee?Ue:Ke),U,Ee?Ke:Ue),ae,at),ze,at),Ct=(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},ve,Ke),ae,Ue),ze,at),L,ft),Ge,Ee?at:ft),U,Ee?ft:at),St={inline:$t,horizontal:Dt,vertical:Ct,inlineSub:$t,horizontalSub:Ct,verticalSub:Ct},It=(Pe=St["".concat(F).concat(le?"":"Sub")])===null||Pe===void 0?void 0:Pe[Ie];switch(It){case Ke:return{offset:-1,sibling:!0};case Ue:return{offset:1,sibling:!0};case ft:return{offset:-1,sibling:!1};case at:return{offset:1,sibling:!1};default:return null}}function k(F){for(var le=F;le;){if(le.getAttribute("data-menu-list"))return le;le=le.parentElement}return null}function K(F,le){for(var Ee=F||document.activeElement;Ee;){if(le.has(Ee))return Ee;Ee=Ee.parentElement}return null}function oe(F,le){var Ee=_(F,!0);return Ee.filter(function(Ie){return le.has(Ie)})}function b(F,le,Ee){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!F)return null;var Pe=oe(F,le),Ke=Pe.length,Ue=Pe.findIndex(function(at){return Ee===at});return Ie<0?Ue===-1?Ue=Ke-1:Ue-=1:Ie>0&&(Ue+=1),Ue=(Ue+Ke)%Ke,Pe[Ue]}var ue=function(le,Ee){var Ie=new Set,Pe=new Map,Ke=new Map;return le.forEach(function(Ue){var at=document.querySelector("[data-menu-id='".concat(Y(Ee,Ue),"']"));at&&(Ie.add(at),Ke.set(at,Ue),Pe.set(Ue,at))}),{elements:Ie,key2element:Pe,element2key:Ke}};function T(F,le,Ee,Ie,Pe,Ke,Ue,at,ft,$t){var Dt=O.useRef(),Ct=O.useRef();Ct.current=le;var St=function(){ce.Z.cancel(Dt.current)};return O.useEffect(function(){return function(){St()}},[]),function(It){var Ft=It.which;if([].concat(ct,[ze,L,pe,Te]).includes(Ft)){var qt=Ke(),ut=ue(qt,Ie),Pt=ut,vn=Pt.elements,en=Pt.key2element,Yt=Pt.element2key,un=en.get(le),Ot=K(un,vn),jt=Yt.get(Ot),Sn=Ye(F,Ue(jt,!0).length===1,Ee,Ft);if(!Sn&&Ft!==pe&&Ft!==Te)return;(ct.includes(Ft)||[pe,Te].includes(Ft))&&It.preventDefault();var In=function(xt){if(xt){var Je=xt,nt=xt.querySelector("a");nt!=null&&nt.getAttribute("href")&&(Je=nt);var Ut=Yt.get(xt);at(Ut),St(),Dt.current=(0,ce.Z)(function(){Ct.current===Ut&&Je.focus()})}};if([pe,Te].includes(Ft)||Sn.sibling||!Ot){var Wn;!Ot||F==="inline"?Wn=Pe.current:Wn=k(Ot);var On,An=oe(Wn,vn);Ft===pe?On=An[0]:Ft===Te?On=An[An.length-1]:On=b(Wn,vn,Ot,Sn.offset),In(On)}else if(Sn.inlineTrigger)ft(jt);else if(Sn.offset>0)ft(jt,!0),St(),Dt.current=(0,ce.Z)(function(){ut=ue(qt,Ie);var Xn=Ot.getAttribute("aria-controls"),xt=document.getElementById(Xn),Je=b(xt,ut.elements);In(Je)},5);else if(Sn.offset<0){var kn=Ue(jt,!0),ur=kn[kn.length-2],dr=en.get(ur);ft(ur,!1),In(dr)}}$t==null||$t(It)}}function a(F){Promise.resolve().then(F)}var u="__RC_UTIL_PATH_SPLIT__",H=function(le){return le.join(u)},A=function(le){return le.split(u)},w="rc-menu-more";function B(){var F=O.useState({}),le=(0,R.Z)(F,2),Ee=le[1],Ie=(0,O.useRef)(new Map),Pe=(0,O.useRef)(new Map),Ke=O.useState([]),Ue=(0,R.Z)(Ke,2),at=Ue[0],ft=Ue[1],$t=(0,O.useRef)(0),Dt=(0,O.useRef)(!1),Ct=function(){Dt.current||Ee({})},St=(0,O.useCallback)(function(en,Yt){var un=H(Yt);Pe.current.set(un,en),Ie.current.set(en,un),$t.current+=1;var Ot=$t.current;a(function(){Ot===$t.current&&Ct()})},[]),It=(0,O.useCallback)(function(en,Yt){var un=H(Yt);Pe.current.delete(un),Ie.current.delete(en)},[]),Ft=(0,O.useCallback)(function(en){ft(en)},[]),qt=(0,O.useCallback)(function(en,Yt){var un=Ie.current.get(en)||"",Ot=A(un);return Yt&&at.includes(Ot[0])&&Ot.unshift(w),Ot},[at]),ut=(0,O.useCallback)(function(en,Yt){return en.filter(function(un){return un!==void 0}).some(function(un){var Ot=qt(un,!0);return Ot.includes(Yt)})},[qt]),Pt=function(){var Yt=(0,Z.Z)(Ie.current.keys());return at.length&&Yt.push(w),Yt},vn=(0,O.useCallback)(function(en){var Yt="".concat(Ie.current.get(en)).concat(u),un=new Set;return(0,Z.Z)(Pe.current.keys()).forEach(function(Ot){Ot.startsWith(Yt)&&un.add(Pe.current.get(Ot))}),un},[]);return O.useEffect(function(){return function(){Dt.current=!0}},[]),{registerPath:St,unregisterPath:It,refreshOverflowKeys:Ft,isSubPathKey:ut,getKeyPath:qt,getKeys:Pt,getSubPathKeys:vn}}function P(F){var le=O.useRef(F);le.current=F;var Ee=O.useCallback(function(){for(var Ie,Pe=arguments.length,Ke=new Array(Pe),Ue=0;Ue1&&(vn.motionAppear=!1);var en=vn.onVisibleChanged;return vn.onVisibleChanged=function(Yt){return!St.current&&!Yt&&ut(!0),en==null?void 0:en(Yt)},qt?null:O.createElement(c,{mode:Ke,locked:!St.current},O.createElement(nr.default,(0,e.Z)({visible:Pt},vn,{forceRender:ft,removeOnLeave:!1,leavedClassName:"".concat(at,"-hidden")}),function(Yt){var un=Yt.className,Ot=Yt.style;return O.createElement(mt,{id:le,className:un,style:Ot},Pe)}))}var Vn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Un=["active"],Yn=O.forwardRef(function(F,le){var Ee=F.style,Ie=F.className,Pe=F.title,Ke=F.eventKey,Ue=F.warnKey,at=F.disabled,ft=F.internalPopupClose,$t=F.children,Dt=F.itemIcon,Ct=F.expandIcon,St=F.popupClassName,It=F.popupOffset,Ft=F.popupStyle,qt=F.onClick,ut=F.onMouseEnter,Pt=F.onMouseLeave,vn=F.onTitleClick,en=F.onTitleMouseEnter,Yt=F.onTitleMouseLeave,un=(0,g.Z)(F,Vn),Ot=q(Ke),jt=O.useContext(X),Sn=jt.prefixCls,In=jt.mode,Wn=jt.openKeys,On=jt.disabled,An=jt.overflowDisabled,kn=jt.activeKey,ur=jt.selectedKeys,dr=jt.itemIcon,Xn=jt.expandIcon,xt=jt.onItemClick,Je=jt.onOpenChange,nt=jt.onActive,Ut=O.useContext(Q),Gt=Ut._internalRenderSubMenuItem,fn=O.useContext(ee),Dn=fn.isSubPathKey,Fn=Re(),Nn="".concat(Sn,"-submenu"),Jn=On||at,Cr=O.useRef(),Sr=O.useRef(),pr=Dt!=null?Dt:dr,Qn=Ct!=null?Ct:Xn,xr=Wn.includes(Ke),Er=!An&&xr,Nr=Dn(ur,Ke),lr=Ne(Ke,Jn,en,Yt),Ir=lr.active,rr=(0,g.Z)(lr,Un),Br=O.useState(!1),Xr=(0,R.Z)(Br,2),jr=Xr[0],Hr=Xr[1],Gr=function(Wr){Jn||Hr(Wr)},xn=function(Wr){Gr(!0),ut==null||ut({key:Ke,domEvent:Wr})},Kn=function(Wr){Gr(!1),Pt==null||Pt({key:Ke,domEvent:Wr})},br=O.useMemo(function(){return Ir||(In!=="inline"?jr||Dn([kn],Ke):!1)},[In,Ir,kn,jr,Ke,Dn]),vr=Le(Fn.length),xo=function(Wr){Jn||(vn==null||vn({key:Ke,domEvent:Wr}),In==="inline"&&Je(Ke,!xr))},zo=P(function(zr){qt==null||qt(bt(zr)),xt(zr)}),vo=function(Wr){In!=="inline"&&Je(Ke,Wr)},Eo=function(){nt(Ke)},Zo=Ot&&"".concat(Ot,"-popup"),wo=O.useMemo(function(){return O.createElement(gt,{icon:In!=="horizontal"?Qn:void 0,props:(0,m.Z)((0,m.Z)({},F),{},{isOpen:Er,isSubMenu:!0})},O.createElement("i",{className:"".concat(Nn,"-arrow")}))},[In,Qn,F,Er,Nn]),kr=O.createElement("div",(0,e.Z)({role:"menuitem",style:vr,className:"".concat(Nn,"-title"),tabIndex:Jn?null:-1,ref:Cr,title:typeof Pe=="string"?Pe:null,"data-menu-id":An&&Ot?null:Ot,"aria-expanded":Er,"aria-haspopup":!0,"aria-controls":Zo,"aria-disabled":Jn,onClick:xo,onFocus:Eo},rr),Pe,wo),co=O.useRef(In);if(In!=="inline"&&Fn.length>1?co.current="vertical":co.current=In,!An){var to=co.current;kr=O.createElement(tr,{mode:to,prefixCls:Nn,visible:!ft&&Er&&In!=="inline",popupClassName:St,popupOffset:It,popupStyle:Ft,popup:O.createElement(c,{mode:to==="horizontal"?"vertical":to},O.createElement(mt,{id:Zo,ref:Sr},$t)),disabled:Jn,onVisibleChange:vo},kr)}var or=O.createElement(N.Z.Item,(0,e.Z)({ref:le,role:"none"},un,{component:"li",style:Ee,className:y()(Nn,"".concat(Nn,"-").concat(In),Ie,(0,p.Z)((0,p.Z)((0,p.Z)((0,p.Z)({},"".concat(Nn,"-open"),Er),"".concat(Nn,"-active"),br),"".concat(Nn,"-selected"),Nr),"".concat(Nn,"-disabled"),Jn)),onMouseEnter:xn,onMouseLeave:Kn}),kr,!An&&O.createElement(bn,{id:Zo,open:Er,keyPath:Fn},$t));return Gt&&(or=Gt(or,F,{selected:Nr,active:br,open:Er,disabled:Jn})),O.createElement(c,{onItemClick:zo,mode:In==="horizontal"?"vertical":In,itemIcon:pr,expandIcon:Qn},or)}),x=O.forwardRef(function(F,le){var Ee=F.eventKey,Ie=F.children,Pe=Re(Ee),Ke=zt(Ie,Pe),Ue=de();O.useEffect(function(){if(Ue)return Ue.registerPath(Ee,Pe),function(){Ue.unregisterPath(Ee,Pe)}},[Pe]);var at;return Ue?at=Ke:at=O.createElement(Yn,(0,e.Z)({ref:le},F),Ke),O.createElement(ke.Provider,{value:Pe},at)}),$=x,tt=t(43749);function E(F){var le=F.className,Ee=F.style,Ie=O.useContext(X),Pe=Ie.prefixCls,Ke=de();return Ke?null:O.createElement("li",{role:"separator",className:y()("".concat(Pe,"-item-divider"),le),style:Ee})}var C=["className","title","eventKey","children"],$e=O.forwardRef(function(F,le){var Ee=F.className,Ie=F.title,Pe=F.eventKey,Ke=F.children,Ue=(0,g.Z)(F,C),at=O.useContext(X),ft=at.prefixCls,$t="".concat(ft,"-item-group");return O.createElement("li",(0,e.Z)({ref:le,role:"presentation"},Ue,{onClick:function(Ct){return Ct.stopPropagation()},className:y()($t,Ee)}),O.createElement("div",{role:"presentation",className:"".concat($t,"-title"),title:typeof Ie=="string"?Ie:void 0},Ie),O.createElement("ul",{role:"group",className:"".concat($t,"-list")},Ke))}),he=O.forwardRef(function(F,le){var Ee=F.eventKey,Ie=F.children,Pe=Re(Ee),Ke=zt(Ie,Pe),Ue=de();return Ue?Ke:O.createElement($e,(0,e.Z)({ref:le},(0,Ze.Z)(F,["warnKey"])),Ke)}),Se=he,He=["label","children","key","type","extra"];function Me(F,le,Ee){var Ie=le.item,Pe=le.group,Ke=le.submenu,Ue=le.divider;return(F||[]).map(function(at,ft){if(at&&(0,tt.Z)(at)==="object"){var $t=at,Dt=$t.label,Ct=$t.children,St=$t.key,It=$t.type,Ft=$t.extra,qt=(0,g.Z)($t,He),ut=St!=null?St:"tmp-".concat(ft);return Ct||It==="group"?It==="group"?O.createElement(Pe,(0,e.Z)({key:ut},qt,{title:Dt}),Me(Ct,le,Ee)):O.createElement(Ke,(0,e.Z)({key:ut},qt,{title:Dt}),Me(Ct,le,Ee)):It==="divider"?O.createElement(Ue,(0,e.Z)({key:ut},qt)):O.createElement(Ie,(0,e.Z)({key:ut},qt,{extra:Ft}),Dt,(!!Ft||Ft===0)&&O.createElement("span",{className:"".concat(Ee,"-item-extra")},Ft))}return null}).filter(function(at){return at})}function Qe(F,le,Ee,Ie,Pe){var Ke=F,Ue=(0,m.Z)({divider:E,item:Mt,group:Se,submenu:$},Ie);return le&&(Ke=Me(le,Ue,Pe)),zt(Ke,Ee)}var lt=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],ot=[],qe=O.forwardRef(function(F,le){var Ee,Ie=F,Pe=Ie.prefixCls,Ke=Pe===void 0?"rc-menu":Pe,Ue=Ie.rootClassName,at=Ie.style,ft=Ie.className,$t=Ie.tabIndex,Dt=$t===void 0?0:$t,Ct=Ie.items,St=Ie.children,It=Ie.direction,Ft=Ie.id,qt=Ie.mode,ut=qt===void 0?"vertical":qt,Pt=Ie.inlineCollapsed,vn=Ie.disabled,en=Ie.disabledOverflow,Yt=Ie.subMenuOpenDelay,un=Yt===void 0?.1:Yt,Ot=Ie.subMenuCloseDelay,jt=Ot===void 0?.1:Ot,Sn=Ie.forceSubMenuRender,In=Ie.defaultOpenKeys,Wn=Ie.openKeys,On=Ie.activeKey,An=Ie.defaultActiveFirst,kn=Ie.selectable,ur=kn===void 0?!0:kn,dr=Ie.multiple,Xn=dr===void 0?!1:dr,xt=Ie.defaultSelectedKeys,Je=Ie.selectedKeys,nt=Ie.onSelect,Ut=Ie.onDeselect,Gt=Ie.inlineIndent,fn=Gt===void 0?24:Gt,Dn=Ie.motion,Fn=Ie.defaultMotions,Nn=Ie.triggerSubMenuAction,Jn=Nn===void 0?"hover":Nn,Cr=Ie.builtinPlacements,Sr=Ie.itemIcon,pr=Ie.expandIcon,Qn=Ie.overflowedIndicator,xr=Qn===void 0?"...":Qn,Er=Ie.overflowedIndicatorPopupClassName,Nr=Ie.getPopupContainer,lr=Ie.onClick,Ir=Ie.onOpenChange,rr=Ie.onKeyDown,Br=Ie.openAnimation,Xr=Ie.openTransitionName,jr=Ie._internalRenderMenuItem,Hr=Ie._internalRenderSubMenuItem,Gr=Ie._internalComponents,xn=(0,g.Z)(Ie,lt),Kn=O.useMemo(function(){return[Qe(St,Ct,ot,Gr,Ke),Qe(St,Ct,ot,{},Ke)]},[St,Ct,Gr]),br=(0,R.Z)(Kn,2),vr=br[0],xo=br[1],zo=O.useState(!1),vo=(0,R.Z)(zo,2),Eo=vo[0],Zo=vo[1],wo=O.useRef(),kr=d(Ft),co=It==="rtl",to=(0,n.Z)(In,{value:Wn,postState:function(Fr){return Fr||ot}}),or=(0,R.Z)(to,2),zr=or[0],Wr=or[1],gn=function(Fr){var Yr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Go(){Wr(Fr),Ir==null||Ir(Fr)}Yr?(0,J.flushSync)(Go):Go()},Tn=O.useState(zr),mn=(0,R.Z)(Tn,2),Pn=mn[0],fr=mn[1],Or=O.useRef(!1),$o=O.useMemo(function(){return(ut==="inline"||ut==="vertical")&&Pt?["vertical",Pt]:[ut,!1]},[ut,Pt]),nn=(0,R.Z)($o,2),En=nn[0],_n=nn[1],wr=En==="inline",Rr=O.useState(En),Do=(0,R.Z)(Rr,2),Io=Do[0],ko=Do[1],ar=O.useState(_n),Ln=(0,R.Z)(ar,2),Vr=Ln[0],qr=Ln[1];O.useEffect(function(){ko(En),qr(_n),Or.current&&(wr?Wr(Pn):gn(ot))},[En,_n]);var go=O.useState(0),Mo=(0,R.Z)(go,2),Xo=Mo[0],Ko=Mo[1],aa=Xo>=vr.length-1||Io!=="horizontal"||en;O.useEffect(function(){wr&&fr(zr)},[zr]),O.useEffect(function(){return Or.current=!0,function(){Or.current=!1}},[]);var No=B(),ba=No.registerPath,Ra=No.unregisterPath,Sa=No.refreshOverflowKeys,ta=No.isSubPathKey,za=No.getKeyPath,xa=No.getKeys,Ta=No.getSubPathKeys,Pa=O.useMemo(function(){return{registerPath:ba,unregisterPath:Ra}},[ba,Ra]),ka=O.useMemo(function(){return{isSubPathKey:ta}},[ta]);O.useEffect(function(){Sa(aa?ot:vr.slice(Xo+1).map(function(no){return no.key}))},[Xo,aa]);var Ka=(0,n.Z)(On||An&&((Ee=vr[0])===null||Ee===void 0?void 0:Ee.key),{value:On}),ya=(0,R.Z)(Ka,2),ia=ya[0],hr=ya[1],sr=P(function(no){hr(no)}),To=P(function(){hr(void 0)});(0,O.useImperativeHandle)(le,function(){return{list:wo.current,focus:function(Fr){var Yr,Go=xa(),Yo=ue(Go,kr),$a=Yo.elements,Za=Yo.key2element,Ya=Yo.element2key,ja=oe(wo.current,$a),Da=ia!=null?ia:ja[0]?Ya.get(ja[0]):(Yr=vr.find(function(Ja){return!Ja.props.disabled}))===null||Yr===void 0?void 0:Yr.key,Ba=Za.get(Da);if(Da&&Ba){var Ha;Ba==null||(Ha=Ba.focus)===null||Ha===void 0||Ha.call(Ba,Fr)}}}});var jo=(0,n.Z)(xt||[],{value:Je,postState:function(Fr){return Array.isArray(Fr)?Fr:Fr==null?ot:[Fr]}}),uo=(0,R.Z)(jo,2),ho=uo[0],ra=uo[1],na=function(Fr){if(ur){var Yr=Fr.key,Go=ho.includes(Yr),Yo;Xn?Go?Yo=ho.filter(function(Za){return Za!==Yr}):Yo=[].concat((0,Z.Z)(ho),[Yr]):Yo=[Yr],ra(Yo);var $a=(0,m.Z)((0,m.Z)({},Fr),{},{selectedKeys:Yo});Go?Ut==null||Ut($a):nt==null||nt($a)}!Xn&&zr.length&&Io!=="inline"&&gn(ot)},la=P(function(no){lr==null||lr(bt(no)),na(no)}),fa=P(function(no,Fr){var Yr=zr.filter(function(Yo){return Yo!==no});if(Fr)Yr.push(no);else if(Io!=="inline"){var Go=Ta(no);Yr=Yr.filter(function(Yo){return!Go.has(Yo)})}(0,D.Z)(zr,Yr,!0)||gn(Yr,!0)}),va=function(Fr,Yr){var Go=Yr!=null?Yr:!zr.includes(Fr);fa(Fr,Go)},Ea=T(Io,ia,co,kr,wo,xa,za,hr,va,rr);O.useEffect(function(){Zo(!0)},[]);var wa=O.useMemo(function(){return{_internalRenderMenuItem:jr,_internalRenderSubMenuItem:Hr}},[jr,Hr]),ti=Io!=="horizontal"||en?vr:vr.map(function(no,Fr){return O.createElement(c,{key:no.key,overflowDisabled:Fr>Xo},no)}),Xa=O.createElement(N.Z,(0,e.Z)({id:Ft,ref:wo,prefixCls:"".concat(Ke,"-overflow"),component:"ul",itemComponent:Mt,className:y()(Ke,"".concat(Ke,"-root"),"".concat(Ke,"-").concat(Io),ft,(0,p.Z)((0,p.Z)({},"".concat(Ke,"-inline-collapsed"),Vr),"".concat(Ke,"-rtl"),co),Ue),dir:It,style:at,role:"menu",tabIndex:Dt,data:ti,renderRawItem:function(Fr){return Fr},renderRawRest:function(Fr){var Yr=Fr.length,Go=Yr?vr.slice(-Yr):null;return O.createElement($,{eventKey:w,title:xr,disabled:aa,internalPopupClose:Yr===0,popupClassName:Er},Go)},maxCount:Io!=="horizontal"||en?N.Z.INVALIDATE:N.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Fr){Ko(Fr)},onKeyDown:Ea},xn));return O.createElement(Q.Provider,{value:wa},O.createElement(Ae.Provider,{value:kr},O.createElement(c,{prefixCls:Ke,rootClassName:Ue,mode:Io,openKeys:zr,rtl:co,disabled:vn,motion:Eo?Dn:null,defaultMotions:Eo?Fn:null,activeKey:ia,onActive:sr,onInactive:To,selectedKeys:ho,inlineIndent:fn,subMenuOpenDelay:un,subMenuCloseDelay:jt,forceSubMenuRender:Sn,builtinPlacements:Cr,triggerSubMenuAction:Jn,getPopupContainer:Nr,itemIcon:Sr,expandIcon:pr,onItemClick:la,onOpenChange:fa},O.createElement(ee.Provider,{value:ka},Xa),O.createElement("div",{style:{display:"none"},"aria-hidden":!0},O.createElement(ie.Provider,{value:Pa},xo)))))}),Nt=qe,Kt=Nt;Kt.Item=Mt,Kt.SubMenu=$,Kt.ItemGroup=Se,Kt.Divider=E;var pt=Kt},83836:function(Tt,re,t){t.d(re,{Z:function(){return De}});var e=t(60499),p=t(85899),m=t(72190),Z=t(42244),R=t(59301),g=t(92310),f=t.n(g),y=t(29301),N=t(34280),n=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],D=void 0;function S(se,je){var et=se.prefixCls,fe=se.invalidate,ce=se.item,Ge=se.renderItem,U=se.responsive,ve=se.responsiveDisabled,ae=se.registerSize,ze=se.itemKey,L=se.className,pe=se.style,Te=se.children,ct=se.display,Ye=se.order,k=se.component,K=k===void 0?"div":k,oe=(0,Z.Z)(se,n),b=U&&!ct;function ue(A){ae(ze,A)}R.useEffect(function(){return function(){ue(null)}},[]);var T=Ge&&ce!==D?Ge(ce,{index:Ye}):Te,a;fe||(a={opacity:b?0:1,height:b?0:D,overflowY:b?"hidden":D,order:U?Ye:D,pointerEvents:b?"none":D,position:b?"absolute":D});var u={};b&&(u["aria-hidden"]=!0);var H=R.createElement(K,(0,e.Z)({className:f()(!fe&&et,L),style:(0,p.Z)((0,p.Z)({},a),pe)},u,oe,{ref:je}),T);return U&&(H=R.createElement(y.Z,{onResize:function(w){var B=w.offsetWidth;ue(B)},disabled:ve},H)),H}var O=R.forwardRef(S);O.displayName="Item";var J=O,Ae=t(6089),Y=t(4676),q=t(16089);function ye(se){if(typeof MessageChannel=="undefined")(0,q.Z)(se);else{var je=new MessageChannel;je.port1.onmessage=function(){return se()},je.port2.postMessage(void 0)}}function v(){var se=R.useRef(null),je=function(fe){se.current||(se.current=[],ye(function(){(0,Y.unstable_batchedUpdates)(function(){se.current.forEach(function(ce){ce()}),se.current=null})})),se.current.push(fe)};return je}function X(se,je){var et=R.useState(je),fe=(0,m.Z)(et,2),ce=fe[0],Ge=fe[1],U=(0,Ae.Z)(function(ve){se(function(){Ge(ve)})});return[ce,U]}var i=R.createContext(null),c=["component"],V=["className"],ie=["className"],de=function(je,et){var fe=R.useContext(i);if(!fe){var ce=je.component,Ge=ce===void 0?"div":ce,U=(0,Z.Z)(je,c);return R.createElement(Ge,(0,e.Z)({},U,{ref:et}))}var ve=fe.className,ae=(0,Z.Z)(fe,V),ze=je.className,L=(0,Z.Z)(je,ie);return R.createElement(i.Provider,{value:null},R.createElement(J,(0,e.Z)({ref:et,className:f()(ve,ze)},ae,L)))},ke=R.forwardRef(de);ke.displayName="RawItem";var Re=ke,ee=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],be="responsive",Q="invalidate";function M(se){return"+ ".concat(se.length," ...")}function s(se,je){var et=se.prefixCls,fe=et===void 0?"rc-overflow":et,ce=se.data,Ge=ce===void 0?[]:ce,U=se.renderItem,ve=se.renderRawItem,ae=se.itemKey,ze=se.itemWidth,L=ze===void 0?10:ze,pe=se.ssr,Te=se.style,ct=se.className,Ye=se.maxCount,k=se.renderRest,K=se.renderRawRest,oe=se.prefix,b=se.suffix,ue=se.component,T=ue===void 0?"div":ue,a=se.itemComponent,u=se.onVisibleChange,H=(0,Z.Z)(se,ee),A=pe==="full",w=v(),B=X(w,null),P=(0,m.Z)(B,2),W=P[0],l=P[1],d=W||0,xe=X(w,new Map),te=(0,m.Z)(xe,2),ge=te[0],Ce=te[1],Ze=X(w,0),Be=(0,m.Z)(Ze,2),Ne=Be[0],Le=Be[1],gt=X(w,0),it=(0,m.Z)(gt,2),bt=it[0],yt=it[1],tn=X(w,0),dt=(0,m.Z)(tn,2),rt=dt[0],Lt=dt[1],vt=X(w,0),Mt=(0,m.Z)(vt,2),_t=Mt[0],Et=Mt[1],cn=(0,R.useState)(null),mt=(0,m.Z)(cn,2),ht=mt[0],zt=mt[1],Zt=(0,R.useState)(null),wt=(0,m.Z)(Zt,2),Xt=wt[0],pn=wt[1],zn=R.useMemo(function(){return Xt===null&&A?Number.MAX_SAFE_INTEGER:Xt||0},[Xt,W]),Hn=(0,R.useState)(!1),ir=(0,m.Z)(Hn,2),tr=ir[0],nr=ir[1],bn="".concat(fe,"-item"),Vn=Math.max(Ne,bt),Un=Ye===be,Yn=Ge.length&&Un,x=Ye===Q,$=Yn||typeof Ye=="number"&&Ge.length>Ye,tt=(0,R.useMemo)(function(){var Pe=Ge;return Yn?W===null&&A?Pe=Ge:Pe=Ge.slice(0,Math.min(Ge.length,d/L)):typeof Ye=="number"&&(Pe=Ge.slice(0,Ye)),Pe},[Ge,L,W,Ye,Yn]),E=(0,R.useMemo)(function(){return Yn?Ge.slice(zn+1):Ge.slice(tt.length)},[Ge,tt,Yn,zn]),C=(0,R.useCallback)(function(Pe,Ke){var Ue;return typeof ae=="function"?ae(Pe):(Ue=ae&&(Pe==null?void 0:Pe[ae]))!==null&&Ue!==void 0?Ue:Ke},[ae]),$e=(0,R.useCallback)(U||function(Pe){return Pe},[U]);function he(Pe,Ke,Ue){Xt===Pe&&(Ke===void 0||Ke===ht)||(pn(Pe),Ue||(nr(Ped){he(at-1,Pe-ft-_t+bt);break}}b&&ot(0)+_t>d&&zt(null)}},[d,ge,bt,rt,_t,C,tt]);var qe=tr&&!!E.length,Nt={};ht!==null&&Yn&&(Nt={position:"absolute",left:ht,top:0});var Kt={prefixCls:bn,responsive:Yn,component:a,invalidate:x},pt=ve?function(Pe,Ke){var Ue=C(Pe,Ke);return R.createElement(i.Provider,{key:Ue,value:(0,p.Z)((0,p.Z)({},Kt),{},{order:Ke,item:Pe,itemKey:Ue,registerSize:He,display:Ke<=zn})},ve(Pe,Ke))}:function(Pe,Ke){var Ue=C(Pe,Ke);return R.createElement(J,(0,e.Z)({},Kt,{order:Ke,key:Ue,item:Pe,renderItem:$e,itemKey:Ue,registerSize:He,display:Ke<=zn}))},F={order:qe?zn:Number.MAX_SAFE_INTEGER,className:"".concat(bn,"-rest"),registerSize:Me,display:qe},le=k||M,Ee=K?R.createElement(i.Provider,{value:(0,p.Z)((0,p.Z)({},Kt),F)},K(E)):R.createElement(J,(0,e.Z)({},Kt,F),typeof le=="function"?le(E):le),Ie=R.createElement(T,(0,e.Z)({className:f()(!x&&fe,ct),style:Te,ref:je},H),oe&&R.createElement(J,(0,e.Z)({},Kt,{responsive:Un,responsiveDisabled:!Yn,order:-1,className:"".concat(bn,"-prefix"),registerSize:Qe,display:!0}),oe),tt.map(pt),$?Ee:null,b&&R.createElement(J,(0,e.Z)({},Kt,{responsive:Un,responsiveDisabled:!Yn,order:zn,className:"".concat(bn,"-suffix"),registerSize:lt,display:!0,style:Nt}),b));return Un?R.createElement(y.Z,{onResize:Se,disabled:!Yn},Ie):Ie}var _=R.forwardRef(s);_.displayName="Overflow",_.Item=Re,_.RESPONSIVE=be,_.INVALIDATE=Q;var j=_,De=j},29301:function(Tt,re,t){t.d(re,{Z:function(){return Q}});var e=t(60499),p=t(59301),m=t(11592),Z=t(48736),R=t(85899),g=t(43749),f=t(76846),y=t(8654),N=p.createContext(null);function n(M){var s=M.children,_=M.onBatchResize,j=p.useRef(0),De=p.useRef([]),se=p.useContext(N),je=p.useCallback(function(et,fe,ce){j.current+=1;var Ge=j.current;De.current.push({size:et,element:fe,data:ce}),Promise.resolve().then(function(){Ge===j.current&&(_==null||_(De.current),De.current=[])}),se==null||se(et,fe,ce)},[_,se]);return p.createElement(N.Provider,{value:je},s)}var D=t(76374),S=new Map;function O(M){M.forEach(function(s){var _,j=s.target;(_=S.get(j))===null||_===void 0||_.forEach(function(De){return De(j)})})}var J=new D.Z(O),Ae=null,Y=null;function q(M,s){S.has(M)||(S.set(M,new Set),J.observe(M)),S.get(M).add(s)}function ye(M,s){S.has(M)&&(S.get(M).delete(s),S.get(M).size||(J.unobserve(M),S.delete(M)))}var v=t(38705),X=t(17212),i=t(39153),c=t(55401),V=function(M){(0,i.Z)(_,M);var s=(0,c.Z)(_);function _(){return(0,v.Z)(this,_),s.apply(this,arguments)}return(0,X.Z)(_,[{key:"render",value:function(){return this.props.children}}]),_}(p.Component);function ie(M,s){var _=M.children,j=M.disabled,De=p.useRef(null),se=p.useRef(null),je=p.useContext(N),et=typeof _=="function",fe=et?_(De):_,ce=p.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Ge=!et&&p.isValidElement(fe)&&(0,y.Yr)(fe),U=Ge?(0,y.C4)(fe):null,ve=(0,y.x1)(U,De),ae=function(){var Te;return(0,f.ZP)(De.current)||(De.current&&(0,g.Z)(De.current)==="object"?(0,f.ZP)((Te=De.current)===null||Te===void 0?void 0:Te.nativeElement):null)||(0,f.ZP)(se.current)};p.useImperativeHandle(s,function(){return ae()});var ze=p.useRef(M);ze.current=M;var L=p.useCallback(function(pe){var Te=ze.current,ct=Te.onResize,Ye=Te.data,k=pe.getBoundingClientRect(),K=k.width,oe=k.height,b=pe.offsetWidth,ue=pe.offsetHeight,T=Math.floor(K),a=Math.floor(oe);if(ce.current.width!==T||ce.current.height!==a||ce.current.offsetWidth!==b||ce.current.offsetHeight!==ue){var u={width:T,height:a,offsetWidth:b,offsetHeight:ue};ce.current=u;var H=b===Math.round(K)?K:b,A=ue===Math.round(oe)?oe:ue,w=(0,R.Z)((0,R.Z)({},u),{},{offsetWidth:H,offsetHeight:A});je==null||je(w,pe,Ye),ct&&Promise.resolve().then(function(){ct(w,pe)})}},[]);return p.useEffect(function(){var pe=ae();return pe&&!j&&q(pe,L),function(){return ye(pe,L)}},[De.current,j]),p.createElement(V,{ref:se},Ge?p.cloneElement(fe,{ref:ve}):fe)}var de=p.forwardRef(ie),ke=de,Re="rc-observer-key";function ee(M,s){var _=M.children,j=typeof _=="function"?[_]:(0,m.Z)(_);return j.map(function(De,se){var je=(De==null?void 0:De.key)||"".concat(Re,"-").concat(se);return p.createElement(ke,(0,e.Z)({},M,{key:je,ref:se===0?s:void 0}),De)})}var be=p.forwardRef(ee);be.Collection=n;var Q=be},6551:function(Tt,re,t){t.d(re,{ZP:function(){return f}});var e=t(72190),p=t(59301),m=t(47273),Z=0,R=(0,m.Z)();function g(){var y;return R?(y=Z,Z+=1):y="TEST_OR_SSR",y}function f(y){var N=p.useState(),n=(0,e.Z)(N,2),D=n[0],S=n[1];return p.useEffect(function(){S("rc_select_".concat(g()))},[]),y||D}},37463:function(Tt,re,t){t.d(re,{Ac:function(){return Ze},Xo:function(){return Ne},Wx:function(){return gt},ZP:function(){return tt},lk:function(){return X}});var e=t(60499),p=t(77654),m=t(18642),Z=t(85899),R=t(72190),g=t(42244),f=t(43749),y=t(18929),N=t(48736),n=t(59301),D=t(92310),S=t.n(D),O=t(34280),J=t(49658),Ae=t(8654),Y=function(C){var $e=C.className,he=C.customizeIcon,Se=C.customizeIconProps,He=C.children,Me=C.onMouseDown,Qe=C.onClick,lt=typeof he=="function"?he(Se):he;return n.createElement("span",{className:$e,onMouseDown:function(qe){qe.preventDefault(),Me==null||Me(qe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Qe,"aria-hidden":!0},lt!==void 0?lt:n.createElement("span",{className:S()($e.split(/\s+/).map(function(ot){return"".concat(ot,"-icon")}))},He))},q=Y,ye=function(C,$e,he,Se,He){var Me=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Qe=arguments.length>6?arguments[6]:void 0,lt=arguments.length>7?arguments[7]:void 0,ot=n.useMemo(function(){if((0,f.Z)(Se)==="object")return Se.clearIcon;if(He)return He},[Se,He]),qe=n.useMemo(function(){return!!(!Me&&Se&&(he.length||Qe)&&!(lt==="combobox"&&Qe===""))},[Se,Me,he.length,Qe,lt]);return{allowClear:qe,clearIcon:n.createElement(q,{className:"".concat(C,"-clear"),onMouseDown:$e,customizeIcon:ot},"\xD7")}},v=n.createContext(null);function X(){return n.useContext(v)}function i(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,C=n.useState(!1),$e=(0,R.Z)(C,2),he=$e[0],Se=$e[1],He=n.useRef(null),Me=function(){window.clearTimeout(He.current)};n.useEffect(function(){return Me},[]);var Qe=function(ot,qe){Me(),He.current=window.setTimeout(function(){Se(ot),qe&&qe()},E)};return[he,Qe,Me]}function c(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,C=n.useRef(null),$e=n.useRef(null);n.useEffect(function(){return function(){window.clearTimeout($e.current)}},[]);function he(Se){(Se||C.current===null)&&(C.current=Se),window.clearTimeout($e.current),$e.current=window.setTimeout(function(){C.current=null},E)}return[function(){return C.current},he]}function V(E,C,$e,he){var Se=n.useRef(null);Se.current={open:C,triggerOpen:$e,customizedTrigger:he},n.useEffect(function(){function He(Me){var Qe;if(!((Qe=Se.current)!==null&&Qe!==void 0&&Qe.customizedTrigger)){var lt=Me.target;lt.shadowRoot&&Me.composed&&(lt=Me.composedPath()[0]||lt),Se.current.open&&E().filter(function(ot){return ot}).every(function(ot){return!ot.contains(lt)&&ot!==lt})&&Se.current.triggerOpen(!1)}}return window.addEventListener("mousedown",He),function(){return window.removeEventListener("mousedown",He)}},[])}var ie=t(10228);function de(E){return E&&![ie.Z.ESC,ie.Z.SHIFT,ie.Z.BACKSPACE,ie.Z.TAB,ie.Z.WIN_KEY,ie.Z.ALT,ie.Z.META,ie.Z.WIN_KEY_RIGHT,ie.Z.CTRL,ie.Z.SEMICOLON,ie.Z.EQUALS,ie.Z.CAPS_LOCK,ie.Z.CONTEXT_MENU,ie.Z.F1,ie.Z.F2,ie.Z.F3,ie.Z.F4,ie.Z.F5,ie.Z.F6,ie.Z.F7,ie.Z.F8,ie.Z.F9,ie.Z.F10,ie.Z.F11,ie.Z.F12].includes(E)}var ke=t(26112),Re=t(83836);function ee(E,C,$e){var he=(0,Z.Z)((0,Z.Z)({},E),$e?C:{});return Object.keys(C).forEach(function(Se){var He=C[Se];typeof He=="function"&&(he[Se]=function(){for(var Me,Qe=arguments.length,lt=new Array(Qe),ot=0;otKe&&(Jn="".concat(Cr.slice(0,Ke),"..."))}var Sr=function(Qn){Qn&&Qn.stopPropagation(),Dt(Gt)};return typeof ft=="function"?dr(Fn,Jn,fn,Nn,Sr):ur(Gt,Jn,fn,Nn,Sr)},xt=function(Gt){if(!Se.length)return null;var fn=typeof at=="function"?at(Gt):at;return typeof ft=="function"?dr(void 0,fn,!1,!1,void 0,!0):ur({title:fn},fn,!1)},Je=n.createElement("div",{className:"".concat(On,"-search"),style:{width:un},onFocus:function(){Wn(!0)},onBlur:function(){Wn(!1)}},n.createElement(_,{ref:lt,open:He,prefixCls:he,id:$e,inputElement:null,disabled:qe,autoFocus:pt,autoComplete:F,editable:kn,activeDescendantId:le,value:An,onKeyDown:It,onMouseDown:Ft,onChange:Ct,onPaste:St,onCompositionStart:qt,onCompositionEnd:ut,onBlur:Pt,tabIndex:Ee,attrs:(0,ke.Z)(C,!0)}),n.createElement("span",{ref:vn,className:"".concat(On,"-search-mirror"),"aria-hidden":!0},An,"\xA0")),nt=n.createElement(Re.Z,{prefixCls:"".concat(On,"-overflow"),data:Se,renderItem:Xn,renderRest:xt,suffix:Je,itemKey:U,maxCount:Pe});return n.createElement("span",{className:"".concat(On,"-wrap")},nt,!Se.length&&!An&&n.createElement("span",{className:"".concat(On,"-placeholder")},ot))},ze=ae,L=function(C){var $e=C.inputElement,he=C.prefixCls,Se=C.id,He=C.inputRef,Me=C.disabled,Qe=C.autoFocus,lt=C.autoComplete,ot=C.activeDescendantId,qe=C.mode,Nt=C.open,Kt=C.values,pt=C.placeholder,F=C.tabIndex,le=C.showSearch,Ee=C.searchValue,Ie=C.activeValue,Pe=C.maxLength,Ke=C.onInputKeyDown,Ue=C.onInputMouseDown,at=C.onInputChange,ft=C.onInputPaste,$t=C.onInputCompositionStart,Dt=C.onInputCompositionEnd,Ct=C.onInputBlur,St=C.title,It=n.useState(!1),Ft=(0,R.Z)(It,2),qt=Ft[0],ut=Ft[1],Pt=qe==="combobox",vn=Pt||le,en=Kt[0],Yt=Ee||"";Pt&&Ie&&!qt&&(Yt=Ie),n.useEffect(function(){Pt&&ut(!1)},[Pt,Ie]);var un=qe!=="combobox"&&!Nt&&!le?!1:!!Yt,Ot=St===void 0?ce(en):St,jt=n.useMemo(function(){return en?null:n.createElement("span",{className:"".concat(he,"-selection-placeholder"),style:un?{visibility:"hidden"}:void 0},pt)},[en,un,pt,he]);return n.createElement("span",{className:"".concat(he,"-selection-wrap")},n.createElement("span",{className:"".concat(he,"-selection-search")},n.createElement(_,{ref:He,prefixCls:he,id:Se,open:Nt,inputElement:$e,disabled:Me,autoFocus:Qe,autoComplete:lt,editable:vn,activeDescendantId:ot,value:Yt,onKeyDown:Ke,onMouseDown:Ue,onChange:function(In){ut(!0),at(In)},onPaste:ft,onCompositionStart:$t,onCompositionEnd:Dt,onBlur:Ct,tabIndex:F,attrs:(0,ke.Z)(C,!0),maxLength:Pt?Pe:void 0})),!Pt&&en?n.createElement("span",{className:"".concat(he,"-selection-item"),title:Ot,style:un?{visibility:"hidden"}:void 0},en.label):null,jt)},pe=L,Te=function(C,$e){var he=(0,n.useRef)(null),Se=(0,n.useRef)(!1),He=C.prefixCls,Me=C.open,Qe=C.mode,lt=C.showSearch,ot=C.tokenWithEnter,qe=C.disabled,Nt=C.prefix,Kt=C.autoClearSearchValue,pt=C.onSearch,F=C.onSearchSubmit,le=C.onToggleOpen,Ee=C.onInputKeyDown,Ie=C.onInputBlur,Pe=C.domRef;n.useImperativeHandle($e,function(){return{focus:function(Ot){he.current.focus(Ot)},blur:function(){he.current.blur()}}});var Ke=c(0),Ue=(0,R.Z)(Ke,2),at=Ue[0],ft=Ue[1],$t=function(Ot){var jt=Ot.which,Sn=he.current instanceof HTMLTextAreaElement;!Sn&&Me&&(jt===ie.Z.UP||jt===ie.Z.DOWN)&&Ot.preventDefault(),Ee&&Ee(Ot),jt===ie.Z.ENTER&&Qe==="tags"&&!Se.current&&!Me&&(F==null||F(Ot.target.value)),!(Sn&&!Me&&~[ie.Z.UP,ie.Z.DOWN,ie.Z.LEFT,ie.Z.RIGHT].indexOf(jt))&&de(jt)&&le(!0)},Dt=function(){ft(!0)},Ct=(0,n.useRef)(null),St=function(Ot){pt(Ot,!0,Se.current)!==!1&&le(!0)},It=function(){Se.current=!0},Ft=function(Ot){Se.current=!1,Qe!=="combobox"&&St(Ot.target.value)},qt=function(Ot){var jt=Ot.target.value;if(ot&&Ct.current&&/[\r\n]/.test(Ct.current)){var Sn=Ct.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");jt=jt.replace(Sn,Ct.current)}Ct.current=null,St(jt)},ut=function(Ot){var jt=Ot.clipboardData,Sn=jt==null?void 0:jt.getData("text");Ct.current=Sn||""},Pt=function(Ot){var jt=Ot.target;if(jt!==he.current){var Sn=document.body.style.msTouchAction!==void 0;Sn?setTimeout(function(){he.current.focus()}):he.current.focus()}},vn=function(Ot){var jt=at();Ot.target!==he.current&&!jt&&!(Qe==="combobox"&&qe)&&Ot.preventDefault(),(Qe!=="combobox"&&(!lt||!jt)||!Me)&&(Me&&Kt!==!1&&pt("",!0,!1),le())},en={inputRef:he,onInputKeyDown:$t,onInputMouseDown:Dt,onInputChange:qt,onInputPaste:ut,onInputCompositionStart:It,onInputCompositionEnd:Ft,onInputBlur:Ie},Yt=Qe==="multiple"||Qe==="tags"?n.createElement(ze,(0,e.Z)({},C,en)):n.createElement(pe,(0,e.Z)({},C,en));return n.createElement("div",{ref:Pe,className:"".concat(He,"-selector"),onClick:Pt,onMouseDown:vn},Nt&&n.createElement("div",{className:"".concat(He,"-prefix")},Nt),Yt)},ct=n.forwardRef(Te),Ye=ct,k=t(68196),K=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],oe=function(C){var $e=C===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:$e,adjustY:1},htmlRegion:"scroll"}}},b=function(C,$e){var he=C.prefixCls,Se=C.disabled,He=C.visible,Me=C.children,Qe=C.popupElement,lt=C.animation,ot=C.transitionName,qe=C.dropdownStyle,Nt=C.dropdownClassName,Kt=C.direction,pt=Kt===void 0?"ltr":Kt,F=C.placement,le=C.builtinPlacements,Ee=C.dropdownMatchSelectWidth,Ie=C.dropdownRender,Pe=C.dropdownAlign,Ke=C.getPopupContainer,Ue=C.empty,at=C.getTriggerDOMNode,ft=C.onPopupVisibleChange,$t=C.onPopupMouseEnter,Dt=(0,g.Z)(C,K),Ct="".concat(he,"-dropdown"),St=Qe;Ie&&(St=Ie(Qe));var It=n.useMemo(function(){return le||oe(Ee)},[le,Ee]),Ft=lt?"".concat(Ct,"-").concat(lt):ot,qt=typeof Ee=="number",ut=n.useMemo(function(){return qt?null:Ee===!1?"minWidth":"width"},[Ee,qt]),Pt=qe;qt&&(Pt=(0,Z.Z)((0,Z.Z)({},Pt),{},{width:Ee}));var vn=n.useRef(null);return n.useImperativeHandle($e,function(){return{getPopupElement:function(){var Yt;return(Yt=vn.current)===null||Yt===void 0?void 0:Yt.popupElement}}}),n.createElement(k.Z,(0,e.Z)({},Dt,{showAction:ft?["click"]:[],hideAction:ft?["click"]:[],popupPlacement:F||(pt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:It,prefixCls:Ct,popupTransitionName:Ft,popup:n.createElement("div",{onMouseEnter:$t},St),ref:vn,stretch:ut,popupAlign:Pe,popupVisible:He,getPopupContainer:Ke,popupClassName:S()(Nt,(0,m.Z)({},"".concat(Ct,"-empty"),Ue)),popupStyle:Pt,getTriggerDOMNode:at,onPopupVisibleChange:ft}),Me)},ue=n.forwardRef(b),T=ue,a=t(48745);function u(E,C){var $e=E.key,he;return"value"in E&&(he=E.value),$e!=null?$e:he!==void 0?he:"rc-index-key-".concat(C)}function H(E){return typeof E!="undefined"&&!Number.isNaN(E)}function A(E,C){var $e=E||{},he=$e.label,Se=$e.value,He=$e.options,Me=$e.groupLabel,Qe=he||(C?"children":"label");return{label:Qe,value:Se||"value",options:He||"options",groupLabel:Me||Qe}}function w(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$e=C.fieldNames,he=C.childrenAsData,Se=[],He=A($e,!1),Me=He.label,Qe=He.value,lt=He.options,ot=He.groupLabel;function qe(Nt,Kt){Array.isArray(Nt)&&Nt.forEach(function(pt){if(Kt||!(lt in pt)){var F=pt[Qe];Se.push({key:u(pt,Se.length),groupOption:Kt,data:pt,label:pt[Me],value:F})}else{var le=pt[ot];le===void 0&&he&&(le=pt.label),Se.push({key:u(pt,Se.length),group:!0,data:pt,label:le}),qe(pt[lt],!0)}})}return qe(E,!1),Se}function B(E){var C=(0,Z.Z)({},E);return"props"in C||Object.defineProperty(C,"props",{get:function(){return(0,N.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),C}}),C}var P=function(C,$e,he){if(!$e||!$e.length)return null;var Se=!1,He=function Qe(lt,ot){var qe=(0,a.Z)(ot),Nt=qe[0],Kt=qe.slice(1);if(!Nt)return[lt];var pt=lt.split(Nt);return Se=Se||pt.length>1,pt.reduce(function(F,le){return[].concat((0,p.Z)(F),(0,p.Z)(Qe(le,Kt)))},[]).filter(Boolean)},Me=He(C,$e);return Se?typeof he!="undefined"?Me.slice(0,he):Me:null},W=n.createContext(null),l=W;function d(E){var C=E.visible,$e=E.values;if(!C)return null;var he=50;return n.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat($e.slice(0,he).map(function(Se){var He=Se.label,Me=Se.value;return["number","string"].includes((0,f.Z)(He))?He:Me}).join(", ")),$e.length>he?", ...":null)}var xe=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],te=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ge=function(C){return C==="tags"||C==="multiple"},Ce=n.forwardRef(function(E,C){var $e,he=E.id,Se=E.prefixCls,He=E.className,Me=E.showSearch,Qe=E.tagRender,lt=E.direction,ot=E.omitDomProps,qe=E.displayValues,Nt=E.onDisplayValuesChange,Kt=E.emptyOptions,pt=E.notFoundContent,F=pt===void 0?"Not Found":pt,le=E.onClear,Ee=E.mode,Ie=E.disabled,Pe=E.loading,Ke=E.getInputElement,Ue=E.getRawInputElement,at=E.open,ft=E.defaultOpen,$t=E.onDropdownVisibleChange,Dt=E.activeValue,Ct=E.onActiveValueChange,St=E.activeDescendantId,It=E.searchValue,Ft=E.autoClearSearchValue,qt=E.onSearch,ut=E.onSearchSplit,Pt=E.tokenSeparators,vn=E.allowClear,en=E.prefix,Yt=E.suffixIcon,un=E.clearIcon,Ot=E.OptionList,jt=E.animation,Sn=E.transitionName,In=E.dropdownStyle,Wn=E.dropdownClassName,On=E.dropdownMatchSelectWidth,An=E.dropdownRender,kn=E.dropdownAlign,ur=E.placement,dr=E.builtinPlacements,Xn=E.getPopupContainer,xt=E.showAction,Je=xt===void 0?[]:xt,nt=E.onFocus,Ut=E.onBlur,Gt=E.onKeyUp,fn=E.onKeyDown,Dn=E.onMouseDown,Fn=(0,g.Z)(E,xe),Nn=ge(Ee),Jn=(Me!==void 0?Me:Nn)||Ee==="combobox",Cr=(0,Z.Z)({},Fn);te.forEach(function(hr){delete Cr[hr]}),ot==null||ot.forEach(function(hr){delete Cr[hr]});var Sr=n.useState(!1),pr=(0,R.Z)(Sr,2),Qn=pr[0],xr=pr[1];n.useEffect(function(){xr((0,J.Z)())},[]);var Er=n.useRef(null),Nr=n.useRef(null),lr=n.useRef(null),Ir=n.useRef(null),rr=n.useRef(null),Br=n.useRef(!1),Xr=i(),jr=(0,R.Z)(Xr,3),Hr=jr[0],Gr=jr[1],xn=jr[2];n.useImperativeHandle(C,function(){var hr,sr;return{focus:(hr=Ir.current)===null||hr===void 0?void 0:hr.focus,blur:(sr=Ir.current)===null||sr===void 0?void 0:sr.blur,scrollTo:function(jo){var uo;return(uo=rr.current)===null||uo===void 0?void 0:uo.scrollTo(jo)},nativeElement:Er.current||Nr.current}});var Kn=n.useMemo(function(){var hr;if(Ee!=="combobox")return It;var sr=(hr=qe[0])===null||hr===void 0?void 0:hr.value;return typeof sr=="string"||typeof sr=="number"?String(sr):""},[It,Ee,qe]),br=Ee==="combobox"&&typeof Ke=="function"&&Ke()||null,vr=typeof Ue=="function"&&Ue(),xo=(0,Ae.x1)(Nr,vr==null||($e=vr.props)===null||$e===void 0?void 0:$e.ref),zo=n.useState(!1),vo=(0,R.Z)(zo,2),Eo=vo[0],Zo=vo[1];(0,O.Z)(function(){Zo(!0)},[]);var wo=(0,y.Z)(!1,{defaultValue:ft,value:at}),kr=(0,R.Z)(wo,2),co=kr[0],to=kr[1],or=Eo?co:!1,zr=!F&&Kt;(Ie||zr&&or&&Ee==="combobox")&&(or=!1);var Wr=zr?!1:or,gn=n.useCallback(function(hr){var sr=hr!==void 0?hr:!or;Ie||(to(sr),or!==sr&&($t==null||$t(sr)))},[Ie,or,to,$t]),Tn=n.useMemo(function(){return(Pt||[]).some(function(hr){return[` `,`\r -`].includes(hr)})},[Pt]),mn=n.useContext(l)||{},Pn=mn.maxCount,fr=mn.rawValues,Or=function(sr,To,jo){if(!(Nn&&H(Pn)&&(fr==null?void 0:fr.size)>=Pn)){var uo=!0,ho=sr;Ct==null||Ct(null);var ra=P(sr,Pt,H(Pn)?Pn-fr.size:void 0),na=jo?null:ra;return Ee!=="combobox"&&na&&(ho="",ut==null||ut(na),gn(!1),uo=!1),qt&&Kn!==ho&&qt(ho,{source:To?"typing":"effect"}),uo}},$o=function(sr){!sr||!sr.trim()||qt(sr,{source:"submit"})};n.useEffect(function(){!or&&!Nn&&Ee!=="combobox"&&Or("",!1,!1)},[or]),n.useEffect(function(){co&&Ie&&to(!1),Ie&&!Br.current&&Gr(!1)},[Ie]);var nn=c(),En=(0,R.Z)(nn,2),_n=En[0],wr=En[1],Rr=n.useRef(!1),Do=function(sr){var To=_n(),jo=sr.key,uo=jo==="Enter";if(uo&&(Ee!=="combobox"&&sr.preventDefault(),or||gn(!0)),wr(!!Kn),jo==="Backspace"&&!To&&Nn&&!Kn&&qe.length){for(var ho=(0,p.Z)(qe),ra=null,na=ho.length-1;na>=0;na-=1){var la=ho[na];if(!la.disabled){ho.splice(na,1),ra=la;break}}ra&&Nt(ho,{type:"remove",values:[ra]})}for(var fa=arguments.length,va=new Array(fa>1?fa-1:0),Ea=1;Ea1?To-1:0),uo=1;uo1?ra-1:0),la=1;la=F},[Qe,F,Ue==null?void 0:Ue.size]),Pt=function(Je){Je.preventDefault()},vn=function(Je){var nt;(nt=qt.current)===null||nt===void 0||nt.scrollTo(typeof Je=="number"?{index:Je}:Je)},en=n.useCallback(function(xt){return lt==="combobox"?!1:Ue.has(xt)},[lt,(0,p.Z)(Ue).toString(),Ue.size]),Yt=function(Je){for(var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ut=Ft.length,Gt=0;Gt1&&arguments[1]!==void 0?arguments[1]:!1;Sn(Je);var Ut={source:nt?"keyboard":"mouse"},Gt=Ft[Je];if(!Gt){Ee(null,-1,Ut);return}Ee(Gt.value,Je,Ut)};(0,n.useEffect)(function(){In(Ie!==!1?Yt(0):-1)},[Ft.length,ot]);var Wn=n.useCallback(function(xt){return lt==="combobox"?String(xt).toLowerCase()===ot.toLowerCase():Ue.has(xt)},[lt,ot,(0,p.Z)(Ue).toString(),Ue.size]);(0,n.useEffect)(function(){var xt=setTimeout(function(){if(!Qe&&Me&&Ue.size===1){var nt=Array.from(Ue)[0],Ut=Ft.findIndex(function(Gt){var fn=Gt.data;return ot?String(fn.value).startsWith(ot):fn.value===nt});Ut!==-1&&(In(Ut),vn(Ut))}});if(Me){var Je;(Je=qt.current)===null||Je===void 0||Je.scrollTo(void 0)}return function(){return clearTimeout(xt)}},[Me,ot]);var On=function(Je){Je!==void 0&&Pe(Je,{selected:!Ue.has(Je)}),Qe||qe(!1)};if(n.useImperativeHandle($e,function(){return{onKeyDown:function(Je){var nt=Je.which,Ut=Je.ctrlKey;switch(nt){case ie.Z.N:case ie.Z.P:case ie.Z.UP:case ie.Z.DOWN:{var Gt=0;if(nt===ie.Z.UP?Gt=-1:nt===ie.Z.DOWN?Gt=1:tn()&&Ut&&(nt===ie.Z.N?Gt=1:nt===ie.Z.P&&(Gt=-1)),Gt!==0){var fn=Yt(jt+Gt,Gt);vn(fn),In(fn,!0)}break}case ie.Z.TAB:case ie.Z.ENTER:{var Dn,Fn=Ft[jt];Fn&&!(Fn!=null&&(Dn=Fn.data)!==null&&Dn!==void 0&&Dn.disabled)&&!ut?On(Fn.value):On(void 0),Me&&Je.preventDefault();break}case ie.Z.ESC:qe(!1),Me&&Je.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Je){vn(Je)}}}),Ft.length===0)return n.createElement("div",{role:"listbox",id:"".concat(He,"_list"),className:"".concat(It,"-empty"),onMouseDown:Pt},Nt);var An=Object.keys(at).map(function(xt){return at[xt]}),kn=function(Je){return Je.label};function ur(xt,Je){var nt=xt.group;return{role:nt?"presentation":"option",id:"".concat(He,"_list_").concat(Je)}}var dr=function(Je){var nt=Ft[Je];if(!nt)return null;var Ut=nt.data||{},Gt=Ut.value,fn=nt.group,Dn=(0,ke.Z)(Ut,!0),Fn=kn(nt);return nt?n.createElement("div",(0,e.Z)({"aria-label":typeof Fn=="string"&&!fn?Fn:null},Dn,{key:Je},ur(nt,Je),{"aria-selected":Wn(Gt)}),Gt):null},Xn={role:"listbox",id:"".concat(He,"_list")};return n.createElement(n.Fragment,null,ft&&n.createElement("div",(0,e.Z)({},Xn,{style:{height:0,width:0,overflow:"hidden"}}),dr(jt-1),dr(jt),dr(jt+1)),n.createElement(yt.Z,{itemKey:"key",ref:qt,data:Ft,height:Dt,itemHeight:Ct,fullHeight:!1,onMouseDown:Pt,onScroll:Kt,virtual:ft,direction:$t,innerProps:ft?null:Xn},function(xt,Je){var nt=xt.group,Ut=xt.groupOption,Gt=xt.data,fn=xt.label,Dn=xt.value,Fn=Gt.key;if(nt){var Nn,Jn=(Nn=Gt.title)!==null&&Nn!==void 0?Nn:rt(fn)?fn.toString():void 0;return n.createElement("div",{className:S()(It,"".concat(It,"-group"),Gt.className),title:Jn},fn!==void 0?fn:Fn)}var Cr=Gt.disabled,Sr=Gt.title,pr=Gt.children,Qn=Gt.style,xr=Gt.className,Er=(0,g.Z)(Gt,dt),Nr=(0,bt.Z)(Er,An),lr=en(Dn),Ir=Cr||!lr&&ut,rr="".concat(It,"-option"),Br=S()(It,rr,xr,(0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(rr,"-grouped"),Ut),"".concat(rr,"-active"),jt===Je&&!Ir),"".concat(rr,"-disabled"),Ir),"".concat(rr,"-selected"),lr)),Xr=kn(xt),jr=!Ke||typeof Ke=="function"||lr,Hr=typeof Xr=="number"?Xr:Xr||Dn,Gr=rt(Hr)?Hr.toString():void 0;return Sr!==void 0&&(Gr=Sr),n.createElement("div",(0,e.Z)({},(0,ke.Z)(Nr),ft?{}:ur(xt,Je),{"aria-selected":Wn(Dn),className:Br,title:Gr,onMouseMove:function(){jt===Je||Ir||In(Je)},onClick:function(){Ir||On(Dn)},style:Qn}),n.createElement("div",{className:"".concat(rr,"-content")},typeof St=="function"?St(xt,{index:Je}):Hr),n.isValidElement(Ke)||lr,jr&&n.createElement(q,{className:"".concat(It,"-option-state"),customizeIcon:Ke,customizeIconProps:{value:Dn,disabled:Ir,isSelected:lr}},lr?"\u2713":null))}))},vt=n.forwardRef(Lt),Mt=vt,_t=function(E,C){var $e=n.useRef({values:new Map,options:new Map}),he=n.useMemo(function(){var He=$e.current,Me=He.values,Qe=He.options,lt=E.map(function(Nt){if(Nt.label===void 0){var Kt;return(0,Z.Z)((0,Z.Z)({},Nt),{},{label:(Kt=Me.get(Nt.value))===null||Kt===void 0?void 0:Kt.label})}return Nt}),ot=new Map,qe=new Map;return lt.forEach(function(Nt){ot.set(Nt.value,Nt),qe.set(Nt.value,C.get(Nt.value)||Qe.get(Nt.value))}),$e.current.values=ot,$e.current.options=qe,lt},[E,C]),Se=n.useCallback(function(He){return C.get(He)||$e.current.options.get(He)},[C]);return[he,Se]};function Et(E,C){return j(E).join("").toUpperCase().includes(C)}var cn=function(E,C,$e,he,Se){return n.useMemo(function(){if(!$e||he===!1)return E;var He=C.options,Me=C.label,Qe=C.value,lt=[],ot=typeof he=="function",qe=$e.toUpperCase(),Nt=ot?he:function(pt,F){return Se?Et(F[Se],qe):F[He]?Et(F[Me!=="children"?Me:"label"],qe):Et(F[Qe],qe)},Kt=ot?function(pt){return B(pt)}:function(pt){return pt};return E.forEach(function(pt){if(pt[He]){var F=Nt($e,Kt(pt));if(F)lt.push(pt);else{var le=pt[He].filter(function(Ee){return Nt($e,Kt(Ee))});le.length&<.push((0,Z.Z)((0,Z.Z)({},pt),{},(0,m.Z)({},He,le)))}return}Nt($e,Kt(pt))&<.push(pt)}),lt},[E,he,Se,$e,C])},mt=t(6551),ht=t(11592),zt=["children","value"],Tt=["children"];function wt(E){var C=E,$e=C.key,he=C.props,Se=he.children,He=he.value,Me=(0,g.Z)(he,zt);return(0,Z.Z)({key:$e,value:He!==void 0?He:$e,children:Se},Me)}function Xt(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ht.Z)(E).map(function($e,he){if(!n.isValidElement($e)||!$e.type)return null;var Se=$e,He=Se.type.isSelectOptGroup,Me=Se.key,Qe=Se.props,lt=Qe.children,ot=(0,g.Z)(Qe,Tt);return C||!He?wt($e):(0,Z.Z)((0,Z.Z)({key:"__RC_SELECT_GRP__".concat(Me===null?he:Me,"__"),label:Me},ot),{},{options:Xt(lt)})}).filter(function($e){return $e})}var pn=function(C,$e,he,Se,He){return n.useMemo(function(){var Me=C,Qe=!C;Qe&&(Me=Xt($e));var lt=new Map,ot=new Map,qe=function(pt,F,le){le&&typeof le=="string"&&pt.set(F[le],F)},Nt=function Kt(pt){for(var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,le=0;le1&&arguments[1]!==void 0?arguments[1]:!1,Me=0;Me0?gn(Pn.options):Pn.options}):Pn})},jr=n.useMemo(function(){return Pe?Xr(Br):Br},[Br,Pe,Xn]),Hr=n.useMemo(function(){return w(jr,{fieldNames:kn,childrenAsData:On})},[jr,kn,On]),Gr=function(Tn){var mn=fn(Tn);if(Jn(mn),Ot&&(mn.length!==Qn.length||mn.some(function(Or,$o){var nn;return((nn=Qn[$o])===null||nn===void 0?void 0:nn.value)!==(Or==null?void 0:Or.value)}))){var Pn=un?mn:mn.map(function(Or){return Or.value}),fr=mn.map(function(Or){return B(xr(Or.value))});Ot(Wn?Pn:Pn[0],Wn?fr:fr[0])}},xn=n.useState(null),Kn=(0,R.Z)(xn,2),br=Kn[0],vr=Kn[1],xo=n.useState(0),zo=(0,R.Z)(xo,2),vo=zo[0],Eo=zo[1],Zo=Dt!==void 0?Dt:he!=="combobox",wo=n.useCallback(function(gn,Tn){var mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pn=mn.source,fr=Pn===void 0?"keyboard":Pn;Eo(Tn),Me&&he==="combobox"&&gn!==null&&fr==="keyboard"&&vr(String(gn))},[Me,he]),kr=function(Tn,mn,Pn){var fr=function(){var ko,ar=xr(Tn);return[un?{label:ar==null?void 0:ar[kn.label],value:Tn,key:(ko=ar==null?void 0:ar.key)!==null&&ko!==void 0?ko:Tn}:Tn,B(ar)]};if(mn&&pt){var Or=fr(),$o=(0,R.Z)(Or,2),nn=$o[0],En=$o[1];pt(nn,En)}else if(!mn&&F&&Pn!=="clear"){var _n=fr(),wr=(0,R.Z)(_n,2),Rr=wr[0],Do=wr[1];F(Rr,Do)}},co=Hn(function(gn,Tn){var mn,Pn=Wn?Tn.selected:!0;Pn?mn=Wn?[].concat((0,p.Z)(Qn),[gn]):[gn]:mn=Qn.filter(function(fr){return fr.value!==gn}),Gr(mn),kr(gn,Pn),he==="combobox"?vr(""):(!ge||Kt)&&(xt(""),vr(""))}),to=function(Tn,mn){Gr(Tn);var Pn=mn.type,fr=mn.values;(Pn==="remove"||Pn==="clear")&&fr.forEach(function(Or){kr(Or.value,!1,Pn)})},or=function(Tn,mn){if(xt(Tn),vr(null),mn.source==="submit"){var Pn=(Tn||"").trim();if(Pn){var fr=Array.from(new Set([].concat((0,p.Z)(Nr),[Pn])));Gr(fr),kr(Pn,!0),xt("")}return}mn.source!=="blur"&&(he==="combobox"&&Gr(Tn),qe==null||qe(Tn))},zr=function(Tn){var mn=Tn;he!=="tags"&&(mn=Tn.map(function(fr){var Or=Ut.get(fr);return Or==null?void 0:Or.value}).filter(function(fr){return fr!==void 0}));var Pn=Array.from(new Set([].concat((0,p.Z)(Nr),(0,p.Z)(mn))));Gr(Pn),Pn.forEach(function(fr){kr(fr,!0)})},Wr=n.useMemo(function(){var gn=St!==!1&&Ee!==!1;return(0,Z.Z)((0,Z.Z)({},Je),{},{flattenOptions:Hr,onActiveValue:wo,defaultActiveFirstOption:Zo,onSelect:co,menuItemSelectedIcon:Ct,rawValues:Nr,fieldNames:kn,virtual:gn,direction:It,listHeight:qt,listItemHeight:Pt,childrenAsData:On,maxCount:jt,optionRender:ft})},[jt,Je,Hr,wo,Zo,co,Ct,Nr,kn,St,Ee,It,qt,Pt,On,ft]);return n.createElement(l.Provider,{value:Wr},n.createElement(Ze,(0,e.Z)({},Sn,{id:In,prefixCls:He,ref:C,omitDomProps:Vn,mode:he,displayValues:Er,onDisplayValuesChange:to,direction:It,searchValue:Xn,onSearch:or,autoClearSearchValue:Kt,onSearchSplit:zr,dropdownMatchSelectWidth:Ee,OptionList:Mt,emptyOptions:!Hr.length,activeValue:br,activeDescendantId:"".concat(In,"_list_").concat(vo)})))}),x=Yn;x.Option=gt,x.OptGroup=Ne;var $=x,tt=$},29125:function(Zt,re,t){t.d(re,{G:function(){return Z},Z:function(){return ye}});var e=t(92310),p=t.n(e),m=t(59301);function Z(v){var X=v.children,i=v.prefixCls,c=v.id,V=v.overlayInnerStyle,ie=v.bodyClassName,de=v.className,ke=v.style;return m.createElement("div",{className:p()("".concat(i,"-content"),de),style:ke},m.createElement("div",{className:p()("".concat(i,"-inner"),ie),id:c,role:"tooltip",style:V},typeof X=="function"?X():X))}var R=t(60499),g=t(85899),f=t(42244),y=t(68196),N={shiftX:64,adjustY:1},n={adjustX:1,shiftY:!0},D=[0,0],S={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:D},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:D},top:{points:["bc","tc"],overflow:N,offset:[0,-4],targetOffset:D},bottom:{points:["tc","bc"],overflow:N,offset:[0,4],targetOffset:D},topLeft:{points:["bl","tl"],overflow:N,offset:[0,-4],targetOffset:D},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:D},topRight:{points:["br","tr"],overflow:N,offset:[0,-4],targetOffset:D},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:D},bottomRight:{points:["tr","br"],overflow:N,offset:[0,4],targetOffset:D},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:D},bottomLeft:{points:["tl","bl"],overflow:N,offset:[0,4],targetOffset:D},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:D}},O=null,J=t(80402),Ae=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Y=function(X,i){var c=X.overlayClassName,V=X.trigger,ie=V===void 0?["hover"]:V,de=X.mouseEnterDelay,ke=de===void 0?0:de,Re=X.mouseLeaveDelay,ee=Re===void 0?.1:Re,be=X.overlayStyle,Q=X.prefixCls,M=Q===void 0?"rc-tooltip":Q,s=X.children,_=X.onVisibleChange,j=X.afterVisibleChange,De=X.transitionName,se=X.animation,je=X.motion,et=X.placement,fe=et===void 0?"right":et,ce=X.align,Ge=ce===void 0?{}:ce,U=X.destroyTooltipOnHide,ve=U===void 0?!1:U,ae=X.defaultVisible,ze=X.getTooltipContainer,L=X.overlayInnerStyle,pe=X.arrowContent,Te=X.overlay,ct=X.id,Xe=X.showArrow,k=Xe===void 0?!0:Xe,K=X.classNames,oe=X.styles,b=(0,f.Z)(X,Ae),ue=(0,J.Z)(ct),T=(0,m.useRef)(null);(0,m.useImperativeHandle)(i,function(){return T.current});var a=(0,g.Z)({},b);"visible"in X&&(a.popupVisible=X.visible);var u=function(){return m.createElement(Z,{key:"content",prefixCls:M,id:ue,bodyClassName:K==null?void 0:K.body,overlayInnerStyle:(0,g.Z)((0,g.Z)({},L),oe==null?void 0:oe.body)},Te)},H=function(){var w=m.Children.only(s),B=(w==null?void 0:w.props)||{},P=(0,g.Z)((0,g.Z)({},B),{},{"aria-describedby":Te?ue:null});return m.cloneElement(s,P)};return m.createElement(y.Z,(0,R.Z)({popupClassName:p()(c,K==null?void 0:K.root),prefixCls:M,popup:u,action:ie,builtinPlacements:S,popupPlacement:fe,ref:T,popupAlign:Ge,getPopupContainer:ze,onPopupVisibleChange:_,afterPopupVisibleChange:j,popupTransitionName:De,popupAnimation:se,popupMotion:je,defaultPopupVisible:ae,autoDestroy:ve,mouseLeaveDelay:ee,popupStyle:(0,g.Z)((0,g.Z)({},be),oe==null?void 0:oe.root),mouseEnterDelay:ke,arrow:k},a),H())},q=(0,m.forwardRef)(Y),ye=q},639:function(Zt,re,t){t.d(re,{Z:function(){return X}});var e=t(60499),p=t(18642),m=t(85899),Z=t(72190),R=t(42244),g=t(59301),f=t(92310),y=t.n(f),N=t(26112),n=t(30699),D=function(c){for(var V=c.prefixCls,ie=c.level,de=c.isStart,ke=c.isEnd,Re="".concat(V,"-indent-unit"),ee=[],be=0;be0&&arguments[0]!==void 0?arguments[0]:[],ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],T=b.length,a=ue.length;if(Math.abs(T-a)!==1)return{add:!1,key:null};function u(H,A){var w=new Map;H.forEach(function(P){w.set(P,!0)});var B=A.filter(function(P){return!w.has(P)});return B.length===1?B[0]:null}return T ").concat(ue);return ue}var ze=Y.forwardRef(function(b,ue){var T=b.prefixCls,a=b.data,u=b.selectable,H=b.checkable,A=b.expandedKeys,w=b.selectedKeys,B=b.checkedKeys,P=b.loadedKeys,W=b.loadingKeys,l=b.halfCheckedKeys,d=b.keyEntities,xe=b.disabled,te=b.dragging,ge=b.dragOverNodeKey,Ce=b.dropPosition,Ze=b.motion,Be=b.height,Ne=b.itemHeight,Le=b.virtual,gt=b.scrollWidth,it=b.focusable,bt=b.activeItem,yt=b.focused,tn=b.tabIndex,dt=b.onKeyDown,rt=b.onFocus,Lt=b.onBlur,vt=b.onActiveChange,Mt=b.onListChangeStart,_t=b.onListChangeEnd,Et=(0,c.Z)(b,De),cn=Y.useRef(null),mt=Y.useRef(null);Y.useImperativeHandle(ue,function(){return{scrollTo:function(Qe){cn.current.scrollTo(Qe)},getIndentWidth:function(){return mt.current.offsetWidth}}});var ht=Y.useState(A),zt=(0,i.Z)(ht,2),Tt=zt[0],wt=zt[1],Xt=Y.useState(a),pn=(0,i.Z)(Xt,2),zn=pn[0],Hn=pn[1],ir=Y.useState(a),tr=(0,i.Z)(ir,2),nr=tr[0],bn=tr[1],Vn=Y.useState([]),Un=(0,i.Z)(Vn,2),Yn=Un[0],x=Un[1],$=Y.useState(null),tt=(0,i.Z)($,2),E=tt[0],C=tt[1],$e=Y.useRef(a);$e.current=a;function he(){var Me=$e.current;Hn(Me),bn(Me),x([]),C(null),_t()}(0,V.Z)(function(){wt(A);var Me=_(Tt,A);if(Me.key!==null)if(Me.add){var Qe=zn.findIndex(function(pt){var F=pt.key;return F===Me.key}),lt=U(j(zn,a,Me.key),Le,Be,Ne),ot=zn.slice();ot.splice(Qe+1,0,Ge),bn(ot),x(lt),C("show")}else{var qe=a.findIndex(function(pt){var F=pt.key;return F===Me.key}),Nt=U(j(a,zn,Me.key),Le,Be,Ne),Kt=a.slice();Kt.splice(qe+1,0,Ge),bn(Kt),x(Nt),C("hide")}else zn!==a&&(Hn(a),bn(a))},[A,a]),Y.useEffect(function(){te||he()},[te]);var Se=Ze?nr:a,He={expandedKeys:A,selectedKeys:w,loadedKeys:P,loadingKeys:W,checkedKeys:B,halfCheckedKeys:l,dragOverNodeKey:ge,dropPosition:Ce,keyEntities:d};return Y.createElement(Y.Fragment,null,yt&&bt&&Y.createElement("span",{style:se,"aria-live":"assertive"},ae(bt)),Y.createElement("div",null,Y.createElement("input",{style:se,disabled:it===!1||xe,tabIndex:it!==!1?tn:null,onKeyDown:dt,onFocus:rt,onBlur:Lt,value:"",onChange:je,"aria-label":"for screen reader"})),Y.createElement("div",{className:"".concat(T,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Y.createElement("div",{className:"".concat(T,"-indent")},Y.createElement("div",{ref:mt,className:"".concat(T,"-indent-unit")}))),Y.createElement(ie.Z,(0,e.Z)({},Et,{data:Se,itemKey:ve,height:Be,fullHeight:!1,virtual:Le,itemHeight:Ne,scrollWidth:gt,prefixCls:"".concat(T,"-list"),ref:cn,role:"tree",onVisibleChange:function(Qe){Qe.every(function(lt){return ve(lt)!==et})&&he()}}),function(Me){var Qe=Me.pos,lt=Object.assign({},(X(Me.data),Me.data)),ot=Me.title,qe=Me.key,Nt=Me.isStart,Kt=Me.isEnd,pt=(0,be.km)(qe,Qe);delete lt.key,delete lt.children;var F=(0,be.H8)(pt,He);return Y.createElement(s,(0,e.Z)({},lt,F,{title:ot,active:!!bt&&qe===bt.key,pos:Qe,data:Me.data,isStart:Nt,isEnd:Kt,motion:Ze,motionNodes:qe===et?Yn:null,motionType:E,onMotionStart:Mt,onMotionEnd:he,treeNodeRequiredProps:He,onMouseMove:function(){vt(null)}}))}))}),L=ze,pe=t(82661),Te=t(34643),ct=t(65065),Xe=10,k=function(b){(0,y.Z)(T,b);var ue=(0,N.Z)(T);function T(){var a;(0,R.Z)(this,T);for(var u=arguments.length,H=new Array(u),A=0;A2&&arguments[2]!==void 0?arguments[2]:!1,l=a.state,d=l.dragChildrenKeys,xe=l.dropPosition,te=l.dropTargetKey,ge=l.dropTargetPos,Ce=l.dropAllowed;if(Ce){var Ze=a.props.onDrop;if(a.setState({dragOverNodeKey:null}),a.cleanDragState(),te!==null){var Be=(0,m.Z)((0,m.Z)({},(0,be.H8)(te,a.getTreeNodeRequiredProps())),{},{active:((P=a.getActiveItem())===null||P===void 0?void 0:P.key)===te,data:(0,ct.Z)(a.state.keyEntities,te).node}),Ne=d.includes(te);(0,Ae.ZP)(!Ne,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Le=(0,pe.yx)(ge),gt={event:w,node:(0,be.F)(Be),dragNode:a.dragNodeProps?(0,be.F)(a.dragNodeProps):null,dragNodesKeys:[a.dragNodeProps.eventKey].concat(d),dropToGap:xe!==0,dropPosition:xe+Number(Le[Le.length-1])};W||Ze==null||Ze(gt),a.dragNodeProps=null}}}),(0,n.Z)((0,f.Z)(a),"cleanDragState",function(){var w=a.state.draggingNodeKey;w!==null&&a.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),a.dragStartMousePosition=null,a.currentMouseOverDroppableNodeKey=null}),(0,n.Z)((0,f.Z)(a),"triggerExpandActionExpand",function(w,B){var P=a.state,W=P.expandedKeys,l=P.flattenNodes,d=B.expanded,xe=B.key,te=B.isLeaf;if(!(te||w.shiftKey||w.metaKey||w.ctrlKey)){var ge=l.filter(function(Ze){return Ze.key===xe})[0],Ce=(0,be.F)((0,m.Z)((0,m.Z)({},(0,be.H8)(xe,a.getTreeNodeRequiredProps())),{},{data:ge.data}));a.setExpandedKeys(d?(0,pe._5)(W,xe):(0,pe.L0)(W,xe)),a.onNodeExpand(w,Ce)}}),(0,n.Z)((0,f.Z)(a),"onNodeClick",function(w,B){var P=a.props,W=P.onClick,l=P.expandAction;l==="click"&&a.triggerExpandActionExpand(w,B),W==null||W(w,B)}),(0,n.Z)((0,f.Z)(a),"onNodeDoubleClick",function(w,B){var P=a.props,W=P.onDoubleClick,l=P.expandAction;l==="doubleClick"&&a.triggerExpandActionExpand(w,B),W==null||W(w,B)}),(0,n.Z)((0,f.Z)(a),"onNodeSelect",function(w,B){var P=a.state.selectedKeys,W=a.state,l=W.keyEntities,d=W.fieldNames,xe=a.props,te=xe.onSelect,ge=xe.multiple,Ce=B.selected,Ze=B[d.key],Be=!Ce;Be?ge?P=(0,pe.L0)(P,Ze):P=[Ze]:P=(0,pe._5)(P,Ze);var Ne=P.map(function(Le){var gt=(0,ct.Z)(l,Le);return gt?gt.node:null}).filter(Boolean);a.setUncontrolledState({selectedKeys:P}),te==null||te(P,{event:"select",selected:Be,node:B,selectedNodes:Ne,nativeEvent:w.nativeEvent})}),(0,n.Z)((0,f.Z)(a),"onNodeCheck",function(w,B,P){var W=a.state,l=W.keyEntities,d=W.checkedKeys,xe=W.halfCheckedKeys,te=a.props,ge=te.checkStrictly,Ce=te.onCheck,Ze=B.key,Be,Ne={event:"check",node:B,checked:P,nativeEvent:w.nativeEvent};if(ge){var Le=P?(0,pe.L0)(d,Ze):(0,pe._5)(d,Ze),gt=(0,pe._5)(xe,Ze);Be={checked:Le,halfChecked:gt},Ne.checkedNodes=Le.map(function(rt){return(0,ct.Z)(l,rt)}).filter(Boolean).map(function(rt){return rt.node}),a.setUncontrolledState({checkedKeys:Le})}else{var it=(0,Te.S)([].concat((0,Z.Z)(d),[Ze]),!0,l),bt=it.checkedKeys,yt=it.halfCheckedKeys;if(!P){var tn=new Set(bt);tn.delete(Ze);var dt=(0,Te.S)(Array.from(tn),{checked:!1,halfCheckedKeys:yt},l);bt=dt.checkedKeys,yt=dt.halfCheckedKeys}Be=bt,Ne.checkedNodes=[],Ne.checkedNodesPositions=[],Ne.halfCheckedKeys=yt,bt.forEach(function(rt){var Lt=(0,ct.Z)(l,rt);if(Lt){var vt=Lt.node,Mt=Lt.pos;Ne.checkedNodes.push(vt),Ne.checkedNodesPositions.push({node:vt,pos:Mt})}}),a.setUncontrolledState({checkedKeys:bt},!1,{halfCheckedKeys:yt})}Ce==null||Ce(Be,Ne)}),(0,n.Z)((0,f.Z)(a),"onNodeLoad",function(w){var B,P=w.key,W=a.state.keyEntities,l=(0,ct.Z)(W,P);if(!(l!=null&&(B=l.children)!==null&&B!==void 0&&B.length)){var d=new Promise(function(xe,te){a.setState(function(ge){var Ce=ge.loadedKeys,Ze=Ce===void 0?[]:Ce,Be=ge.loadingKeys,Ne=Be===void 0?[]:Be,Le=a.props,gt=Le.loadData,it=Le.onLoad;if(!gt||Ze.includes(P)||Ne.includes(P))return null;var bt=gt(w);return bt.then(function(){var yt=a.state.loadedKeys,tn=(0,pe.L0)(yt,P);it==null||it(tn,{event:"load",node:w}),a.setUncontrolledState({loadedKeys:tn}),a.setState(function(dt){return{loadingKeys:(0,pe._5)(dt.loadingKeys,P)}}),xe()}).catch(function(yt){if(a.setState(function(dt){return{loadingKeys:(0,pe._5)(dt.loadingKeys,P)}}),a.loadingRetryTimes[P]=(a.loadingRetryTimes[P]||0)+1,a.loadingRetryTimes[P]>=Xe){var tn=a.state.loadedKeys;(0,Ae.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),a.setUncontrolledState({loadedKeys:(0,pe.L0)(tn,P)}),xe()}te(yt)}),{loadingKeys:(0,pe.L0)(Ne,P)}})});return d.catch(function(){}),d}}),(0,n.Z)((0,f.Z)(a),"onNodeMouseEnter",function(w,B){var P=a.props.onMouseEnter;P==null||P({event:w,node:B})}),(0,n.Z)((0,f.Z)(a),"onNodeMouseLeave",function(w,B){var P=a.props.onMouseLeave;P==null||P({event:w,node:B})}),(0,n.Z)((0,f.Z)(a),"onNodeContextMenu",function(w,B){var P=a.props.onRightClick;P&&(w.preventDefault(),P({event:w,node:B}))}),(0,n.Z)((0,f.Z)(a),"onFocus",function(){var w=a.props.onFocus;a.setState({focused:!0});for(var B=arguments.length,P=new Array(B),W=0;W1&&arguments[1]!==void 0?arguments[1]:!1,P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!a.destroyed){var W=!1,l=!0,d={};Object.keys(w).forEach(function(xe){if(a.props.hasOwnProperty(xe)){l=!1;return}W=!0,d[xe]=w[xe]}),W&&(!B||l)&&a.setState((0,m.Z)((0,m.Z)({},d),P))}}),(0,n.Z)((0,f.Z)(a),"scrollTo",function(w){a.listRef.current.scrollTo(w)}),a}return(0,g.Z)(T,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var u=this.props,H=u.activeKey,A=u.itemScrollOffset,w=A===void 0?0:A;H!==void 0&&H!==this.state.activeKey&&(this.setState({activeKey:H}),H!==null&&this.scrollTo({key:H,offset:w}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var u=this.state,H=u.focused,A=u.flattenNodes,w=u.keyEntities,B=u.draggingNodeKey,P=u.activeKey,W=u.dropLevelOffset,l=u.dropContainerKey,d=u.dropTargetKey,xe=u.dropPosition,te=u.dragOverNodeKey,ge=u.indent,Ce=this.props,Ze=Ce.prefixCls,Be=Ce.className,Ne=Ce.style,Le=Ce.showLine,gt=Ce.focusable,it=Ce.tabIndex,bt=it===void 0?0:it,yt=Ce.selectable,tn=Ce.showIcon,dt=Ce.icon,rt=Ce.switcherIcon,Lt=Ce.draggable,vt=Ce.checkable,Mt=Ce.checkStrictly,_t=Ce.disabled,Et=Ce.motion,cn=Ce.loadData,mt=Ce.filterTreeNode,ht=Ce.height,zt=Ce.itemHeight,Tt=Ce.scrollWidth,wt=Ce.virtual,Xt=Ce.titleRender,pn=Ce.dropIndicatorRender,zn=Ce.onContextMenu,Hn=Ce.onScroll,ir=Ce.direction,tr=Ce.rootClassName,nr=Ce.rootStyle,bn=(0,J.Z)(this.props,{aria:!0,data:!0}),Vn;Lt&&((0,p.Z)(Lt)==="object"?Vn=Lt:typeof Lt=="function"?Vn={nodeDraggable:Lt}:Vn={});var Un={prefixCls:Ze,selectable:yt,showIcon:tn,icon:dt,switcherIcon:rt,draggable:Vn,draggingNodeKey:B,checkable:vt,checkStrictly:Mt,disabled:_t,keyEntities:w,dropLevelOffset:W,dropContainerKey:l,dropTargetKey:d,dropPosition:xe,dragOverNodeKey:te,indent:ge,direction:ir,dropIndicatorRender:pn,loadData:cn,filterTreeNode:mt,titleRender:Xt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Y.createElement(q.k.Provider,{value:Un},Y.createElement("div",{className:S()(Ze,Be,tr,(0,n.Z)((0,n.Z)((0,n.Z)({},"".concat(Ze,"-show-line"),Le),"".concat(Ze,"-focused"),H),"".concat(Ze,"-active-focused"),P!==null)),style:nr},Y.createElement(L,(0,e.Z)({ref:this.listRef,prefixCls:Ze,style:Ne,data:A,disabled:_t,selectable:yt,checkable:!!vt,motion:Et,dragging:B!==null,height:ht,itemHeight:zt,virtual:wt,focusable:gt,focused:H,tabIndex:bt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:zn,onScroll:Hn,scrollWidth:Tt},this.getTreeNodeRequiredProps(),bn))))}}],[{key:"getDerivedStateFromProps",value:function(u,H){var A=H.prevProps,w={prevProps:u};function B(bt){return!A&&u.hasOwnProperty(bt)||A&&A[bt]!==u[bt]}var P,W=H.fieldNames;if(B("fieldNames")&&(W=(0,be.w$)(u.fieldNames),w.fieldNames=W),B("treeData")?P=u.treeData:B("children")&&((0,Ae.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),P=(0,be.zn)(u.children)),P){w.treeData=P;var l=(0,be.I8)(P,{fieldNames:W});w.keyEntities=(0,m.Z)((0,n.Z)({},et,ce),l.keyEntities)}var d=w.keyEntities||H.keyEntities;if(B("expandedKeys")||A&&B("autoExpandParent"))w.expandedKeys=u.autoExpandParent||!A&&u.defaultExpandParent?(0,pe.r7)(u.expandedKeys,d):u.expandedKeys;else if(!A&&u.defaultExpandAll){var xe=(0,m.Z)({},d);delete xe[et];var te=[];Object.keys(xe).forEach(function(bt){var yt=xe[bt];yt.children&&yt.children.length&&te.push(yt.key)}),w.expandedKeys=te}else!A&&u.defaultExpandedKeys&&(w.expandedKeys=u.autoExpandParent||u.defaultExpandParent?(0,pe.r7)(u.defaultExpandedKeys,d):u.defaultExpandedKeys);if(w.expandedKeys||delete w.expandedKeys,P||w.expandedKeys){var ge=(0,be.oH)(P||H.treeData,w.expandedKeys||H.expandedKeys,W);w.flattenNodes=ge}if(u.selectable&&(B("selectedKeys")?w.selectedKeys=(0,pe.BT)(u.selectedKeys,u):!A&&u.defaultSelectedKeys&&(w.selectedKeys=(0,pe.BT)(u.defaultSelectedKeys,u))),u.checkable){var Ce;if(B("checkedKeys")?Ce=(0,pe.E6)(u.checkedKeys)||{}:!A&&u.defaultCheckedKeys?Ce=(0,pe.E6)(u.defaultCheckedKeys)||{}:P&&(Ce=(0,pe.E6)(u.checkedKeys)||{checkedKeys:H.checkedKeys,halfCheckedKeys:H.halfCheckedKeys}),Ce){var Ze=Ce,Be=Ze.checkedKeys,Ne=Be===void 0?[]:Be,Le=Ze.halfCheckedKeys,gt=Le===void 0?[]:Le;if(!u.checkStrictly){var it=(0,Te.S)(Ne,!0,d);Ne=it.checkedKeys,gt=it.halfCheckedKeys}w.checkedKeys=Ne,w.halfCheckedKeys=gt}}return B("loadedKeys")&&(w.loadedKeys=u.loadedKeys),w}}]),T}(Y.Component);(0,n.Z)(k,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:v,allowDrop:function(){return!0},expandAction:!1}),(0,n.Z)(k,"TreeNode",ke.Z);var K=k,oe=K},82661:function(Zt,re,t){t.d(re,{BT:function(){return Y},E6:function(){return v},L0:function(){return n},OM:function(){return Ae},_5:function(){return N},r7:function(){return X},wA:function(){return S},yx:function(){return D}});var e=t(77654),p=t(43749),m=t(48736),Z=t(59301),R=t(639),g=t(65065),f=t(34061),y=null;function N(i,c){if(!i)return[];var V=i.slice(),ie=V.indexOf(c);return ie>=0&&V.splice(ie,1),V}function n(i,c){var V=(i||[]).slice();return V.indexOf(c)===-1&&V.push(c),V}function D(i){return i.split("-")}function S(i,c){var V=[],ie=(0,g.Z)(c,i);function de(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ke.forEach(function(Re){var ee=Re.key,be=Re.children;V.push(ee),de(be)})}return de(ie.children),V}function O(i){if(i.parent){var c=D(i.pos);return Number(c[c.length-1])===i.parent.children.length-1}return!1}function J(i){var c=D(i.pos);return Number(c[c.length-1])===0}function Ae(i,c,V,ie,de,ke,Re,ee,be,Q){var M,s=i.clientX,_=i.clientY,j=i.target.getBoundingClientRect(),De=j.top,se=j.height,je=(Q==="rtl"?-1:1)*(((de==null?void 0:de.x)||0)-s),et=(je-12)/ie,fe=be.filter(function(oe){var b;return(b=ee[oe])===null||b===void 0||(b=b.children)===null||b===void 0?void 0:b.length}),ce=(0,g.Z)(ee,V.eventKey);if(_-1.5?ke({dragNode:Xe,dropNode:k,dropPosition:1})?pe=1:K=!1:ke({dragNode:Xe,dropNode:k,dropPosition:0})?pe=0:ke({dragNode:Xe,dropNode:k,dropPosition:1})?pe=1:K=!1:ke({dragNode:Xe,dropNode:k,dropPosition:1})?pe=1:K=!1,{dropPosition:pe,dropLevelOffset:Te,dropTargetKey:ce.key,dropTargetPos:ce.pos,dragOverNodeKey:L,dropContainerKey:pe===0?null:((M=ce.parent)===null||M===void 0?void 0:M.key)||null,dropAllowed:K}}function Y(i,c){if(i){var V=c.multiple;return V?i.slice():i.length?[i[0]]:i}}var q=function(c){return c};function ye(i,c){if(!i)return[];var V=c||{},ie=V.processProps,de=ie===void 0?q:ie,ke=Array.isArray(i)?i:[i];return ke.map(function(Re){var ee=Re.children,be=_objectWithoutProperties(Re,y),Q=ye(ee,c);return React.createElement(TreeNode,_extends({key:be.key},de(be)),Q)})}function v(i){if(!i)return null;var c;if(Array.isArray(i))c={checkedKeys:i,halfCheckedKeys:void 0};else if((0,p.Z)(i)==="object")c={checkedKeys:i.checked||void 0,halfCheckedKeys:i.halfChecked||void 0};else return(0,m.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return c}function X(i,c){var V=new Set;function ie(de){if(!V.has(de)){var ke=(0,g.Z)(c,de);if(ke){V.add(de);var Re=ke.parent,ee=ke.node;ee.disabled||Re&&ie(Re.key)}}}return(i||[]).forEach(function(de){ie(de)}),(0,e.Z)(V)}},34643:function(Zt,re,t){t.d(re,{S:function(){return f}});var e=t(48736),p=t(65065);function m(y,N){var n=new Set;return y.forEach(function(D){N.has(D)||n.add(D)}),n}function Z(y){var N=y||{},n=N.disabled,D=N.disableCheckbox,S=N.checkable;return!!(n||D)||S===!1}function R(y,N,n,D){for(var S=new Set(y),O=new Set,J=0;J<=n;J+=1){var Ae=N.get(J)||new Set;Ae.forEach(function(v){var X=v.key,i=v.node,c=v.children,V=c===void 0?[]:c;S.has(X)&&!D(i)&&V.filter(function(ie){return!D(ie.node)}).forEach(function(ie){S.add(ie.key)})})}for(var Y=new Set,q=n;q>=0;q-=1){var ye=N.get(q)||new Set;ye.forEach(function(v){var X=v.parent,i=v.node;if(!(D(i)||!v.parent||Y.has(v.parent.key))){if(D(v.parent.node)){Y.add(X.key);return}var c=!0,V=!1;(X.children||[]).filter(function(ie){return!D(ie.node)}).forEach(function(ie){var de=ie.key,ke=S.has(de);c&&!ke&&(c=!1),!V&&(ke||O.has(de))&&(V=!0)}),c&&S.add(X.key),V&&O.add(X.key),Y.add(X.key)}})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(m(O,S))}}function g(y,N,n,D,S){for(var O=new Set(y),J=new Set(N),Ae=0;Ae<=D;Ae+=1){var Y=n.get(Ae)||new Set;Y.forEach(function(X){var i=X.key,c=X.node,V=X.children,ie=V===void 0?[]:V;!O.has(i)&&!J.has(i)&&!S(c)&&ie.filter(function(de){return!S(de.node)}).forEach(function(de){O.delete(de.key)})})}J=new Set;for(var q=new Set,ye=D;ye>=0;ye-=1){var v=n.get(ye)||new Set;v.forEach(function(X){var i=X.parent,c=X.node;if(!(S(c)||!X.parent||q.has(X.parent.key))){if(S(X.parent.node)){q.add(i.key);return}var V=!0,ie=!1;(i.children||[]).filter(function(de){return!S(de.node)}).forEach(function(de){var ke=de.key,Re=O.has(ke);V&&!Re&&(V=!1),!ie&&(Re||J.has(ke))&&(ie=!0)}),V||O.delete(i.key),ie&&J.add(i.key),q.add(i.key)}})}return{checkedKeys:Array.from(O),halfCheckedKeys:Array.from(m(J,O))}}function f(y,N,n,D){var S=[],O;D?O=D:O=Z;var J=new Set(y.filter(function(ye){var v=!!(0,p.Z)(n,ye);return v||S.push(ye),v})),Ae=new Map,Y=0;Object.keys(n).forEach(function(ye){var v=n[ye],X=v.level,i=Ae.get(X);i||(i=new Set,Ae.set(X,i)),i.add(v),Y=Math.max(Y,X)}),(0,e.ZP)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(ye){return"'".concat(ye,"'")}).join(", ")));var q;return N===!0?q=R(J,Ae,Y,O):q=g(J,N.halfCheckedKeys,Ae,Y,O),q}},65065:function(Zt,re,t){t.d(re,{Z:function(){return e}});function e(p,m){return p[m]}},34061:function(Zt,re,t){t.d(re,{F:function(){return X},H8:function(){return v},I8:function(){return ye},km:function(){return S},oH:function(){return Y},w$:function(){return O},zn:function(){return Ae}});var e=t(43749),p=t(77654),m=t(85899),Z=t(42244),R=t(11592),g=t(2738),f=t(48736),y=t(65065),N=["children"];function n(i,c){return"".concat(i,"-").concat(c)}function D(i){return i&&i.type&&i.type.isTreeNode}function S(i,c){return i!=null?i:c}function O(i){var c=i||{},V=c.title,ie=c._title,de=c.key,ke=c.children,Re=V||"title";return{title:Re,_title:ie||[Re],key:de||"key",children:ke||"children"}}function J(i,c){var V=new Map;function ie(de){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(de||[]).forEach(function(Re){var ee=Re[c.key],be=Re[c.children];warning(ee!=null,"Tree node must have a certain key: [".concat(ke).concat(ee,"]"));var Q=String(ee);warning(!V.has(Q)||ee===null||ee===void 0,"Same 'key' exist in the Tree: ".concat(Q)),V.set(Q,!0),ie(be,"".concat(ke).concat(Q," > "))})}ie(i)}function Ae(i){function c(V){var ie=(0,R.Z)(V);return ie.map(function(de){if(!D(de))return(0,f.ZP)(!de,"Tree/TreeNode can only accept TreeNode as children."),null;var ke=de.key,Re=de.props,ee=Re.children,be=(0,Z.Z)(Re,N),Q=(0,m.Z)({key:ke},be),M=c(ee);return M.length&&(Q.children=M),Q}).filter(function(de){return de})}return c(i)}function Y(i,c,V){var ie=O(V),de=ie._title,ke=ie.key,Re=ie.children,ee=new Set(c===!0?[]:c),be=[];function Q(M){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return M.map(function(_,j){for(var De=n(s?s.pos:"0",j),se=S(_[ke],De),je,et=0;et1&&arguments[1]!==void 0?arguments[1]:{},V=c.initWrapper,ie=c.processEntity,de=c.onProcessFinished,ke=c.externalGetKey,Re=c.childrenPropName,ee=c.fieldNames,be=arguments.length>2?arguments[2]:void 0,Q=ke||be,M={},s={},_={posEntities:M,keyEntities:s};return V&&(_=V(_)||_),q(i,function(j){var De=j.node,se=j.index,je=j.pos,et=j.key,fe=j.parentPos,ce=j.level,Ge=j.nodes,U={node:De,nodes:Ge,index:se,key:et,pos:je,level:ce},ve=S(et,je);M[je]=U,s[ve]=U,U.parent=M[fe],U.parent&&(U.parent.children=U.parent.children||[],U.parent.children.push(U)),ie&&ie(U,_)},{externalGetKey:Q,childrenPropName:Re,fieldNames:ee}),de&&de(_),_}function v(i,c){var V=c.expandedKeys,ie=c.selectedKeys,de=c.loadedKeys,ke=c.loadingKeys,Re=c.checkedKeys,ee=c.halfCheckedKeys,be=c.dragOverNodeKey,Q=c.dropPosition,M=c.keyEntities,s=(0,y.Z)(M,i),_={eventKey:i,expanded:V.indexOf(i)!==-1,selected:ie.indexOf(i)!==-1,loaded:de.indexOf(i)!==-1,loading:ke.indexOf(i)!==-1,checked:Re.indexOf(i)!==-1,halfChecked:ee.indexOf(i)!==-1,pos:String(s?s.pos:""),dragOver:be===i&&Q===0,dragOverGapTop:be===i&&Q===-1,dragOverGapBottom:be===i&&Q===1};return _}function X(i){var c=i.data,V=i.expanded,ie=i.selected,de=i.checked,ke=i.loaded,Re=i.loading,ee=i.halfChecked,be=i.dragOver,Q=i.dragOverGapTop,M=i.dragOverGapBottom,s=i.pos,_=i.active,j=i.eventKey,De=(0,m.Z)((0,m.Z)({},c),{},{expanded:V,selected:ie,checked:de,loaded:ke,loading:Re,halfChecked:ee,dragOver:be,dragOverGapTop:Q,dragOverGapBottom:M,pos:s,active:_,key:j});return"props"in De||Object.defineProperty(De,"props",{get:function(){return(0,f.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),i}}),De}},8224:function(Zt,re,t){t.d(re,{Z:function(){return p}});var e=t(4676);function p(m,Z,R,g){var f=e.unstable_batchedUpdates?function(N){e.unstable_batchedUpdates(R,N)}:R;return m!=null&&m.addEventListener&&m.addEventListener(Z,f,g),{remove:function(){m!=null&&m.removeEventListener&&m.removeEventListener(Z,f,g)}}}},24514:function(Zt,re,t){t.d(re,{G:function(){return Z}});var e=t(47273),p=function(g){if((0,e.Z)()&&window.document.documentElement){var f=Array.isArray(g)?g:[g],y=window.document.documentElement;return f.some(function(N){return N in y.style})}return!1},m=function(g,f){if(!p(g))return!1;var y=document.createElement("div"),N=y.style[g];return y.style[g]=f,y.style[g]!==N};function Z(R,g){return!Array.isArray(R)&&g!==void 0?m(R,g):p(R)}},49658:function(Zt,re){re.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},48911:function(Zt,re,t){t.d(re,{Z:function(){return Xe}});var e=t(60499),p=t(43749),m=t(85899),Z=t(18642),R=t(72190),g=t(42244),f=t(92310),y=t.n(f),N=t(29301),n=t(70425),D=t(34280),S=t(59301),O=t(4676),J=S.forwardRef(function(k,K){var oe=k.height,b=k.offsetY,ue=k.offsetX,T=k.children,a=k.prefixCls,u=k.onInnerResize,H=k.innerProps,A=k.rtl,w=k.extra,B={},P={display:"flex",flexDirection:"column"};return b!==void 0&&(B={height:oe,position:"relative",overflow:"hidden"},P=(0,m.Z)((0,m.Z)({},P),{},(0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)({transform:"translateY(".concat(b,"px)")},A?"marginRight":"marginLeft",-ue),"position","absolute"),"left",0),"right",0),"top",0))),S.createElement("div",{style:B},S.createElement(N.Z,{onResize:function(l){var d=l.offsetHeight;d&&u&&u()}},S.createElement("div",(0,e.Z)({style:P,className:y()((0,Z.Z)({},"".concat(a,"-holder-inner"),a)),ref:K},H),T,w)))});J.displayName="Filler";var Ae=J;function Y(k){var K=k.children,oe=k.setRef,b=S.useCallback(function(ue){oe(ue)},[]);return S.cloneElement(K,{ref:b})}function q(k,K,oe,b,ue,T,a,u){var H=u.getKey;return k.slice(K,oe+1).map(function(A,w){var B=K+w,P=a(A,B,{style:{width:b},offsetX:ue}),W=H(A);return S.createElement(Y,{key:W,setRef:function(d){return T(A,d)}},P)})}function ye(k,K,oe,b){var ue=oe-k,T=K-oe,a=Math.min(ue,T)*2;if(b<=a){var u=Math.floor(b/2);return b%2?oe+u+1:oe-u}return ue>T?oe-(b-T):oe+(b-ue)}function v(k,K,oe){var b=k.length,ue=K.length,T,a;if(b===0&&ue===0)return null;b2&&arguments[2]!==void 0?arguments[2]:!1,B=H?A<0&&u.current.left||A>0&&u.current.right:A<0&&u.current.top||A>0&&u.current.bottom;return w&&B?(clearTimeout(T.current),ue.current=!1):(!B||ue.current)&&a(),!ue.current&&B}};function de(k,K,oe,b,ue,T,a){var u=(0,S.useRef)(0),H=(0,S.useRef)(null),A=(0,S.useRef)(null),w=(0,S.useRef)(!1),B=ie(K,oe,b,ue);function P(ge,Ce){if(i.Z.cancel(H.current),!B(!1,Ce)){var Ze=ge;if(!Ze._virtualHandled)Ze._virtualHandled=!0;else return;u.current+=Ce,A.current=Ce,V||Ze.preventDefault(),H.current=(0,i.Z)(function(){var Be=w.current?10:1;a(u.current*Be,!1),u.current=0})}}function W(ge,Ce){a(Ce,!0),V||ge.preventDefault()}var l=(0,S.useRef)(null),d=(0,S.useRef)(null);function xe(ge){if(k){i.Z.cancel(d.current),d.current=(0,i.Z)(function(){l.current=null},2);var Ce=ge.deltaX,Ze=ge.deltaY,Be=ge.shiftKey,Ne=Ce,Le=Ze;(l.current==="sx"||!l.current&&Be&&Ze&&!Ce)&&(Ne=Ze,Le=0,l.current="sx");var gt=Math.abs(Ne),it=Math.abs(Le);l.current===null&&(l.current=T&>>it?"x":"y"),l.current==="y"?P(ge,Le):W(ge,Ne)}}function te(ge){k&&(w.current=ge.detail===A.current)}return[xe,te]}function ke(k,K,oe,b){var ue=S.useMemo(function(){return[new Map,[]]},[k,oe.id,b]),T=(0,R.Z)(ue,2),a=T[0],u=T[1],H=function(w){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,P=a.get(w),W=a.get(B);if(P===void 0||W===void 0)for(var l=k.length,d=u.length;d0&&arguments[0]!==void 0?arguments[0]:!1;w();var l=function(){var te=!1;u.current.forEach(function(ge,Ce){if(ge&&ge.offsetParent){var Ze=ge.offsetHeight,Be=getComputedStyle(ge),Ne=Be.marginTop,Le=Be.marginBottom,gt=M(Ne),it=M(Le),bt=Ze+gt+it;H.current.get(Ce)!==bt&&(H.current.set(Ce,bt),te=!0)}}),te&&a(function(ge){return ge+1})};if(W)l();else{A.current+=1;var d=A.current;Promise.resolve().then(function(){d===A.current&&l()})}}function P(W,l){var d=k(W),xe=u.current.get(d);l?(u.current.set(d,l),B()):u.current.delete(d),!xe!=!l&&(l?K==null||K(W):oe==null||oe(W))}return(0,S.useEffect)(function(){return w},[]),[P,B,H.current,T]}var _=14/15;function j(k,K,oe){var b=(0,S.useRef)(!1),ue=(0,S.useRef)(0),T=(0,S.useRef)(0),a=(0,S.useRef)(null),u=(0,S.useRef)(null),H,A=function(W){if(b.current){var l=Math.ceil(W.touches[0].pageX),d=Math.ceil(W.touches[0].pageY),xe=ue.current-l,te=T.current-d,ge=Math.abs(xe)>Math.abs(te);ge?ue.current=l:T.current=d;var Ce=oe(ge,ge?xe:te,!1,W);Ce&&W.preventDefault(),clearInterval(u.current),Ce&&(u.current=setInterval(function(){ge?xe*=_:te*=_;var Ze=Math.floor(ge?xe:te);(!oe(ge,Ze,!0)||Math.abs(Ze)<=.1)&&clearInterval(u.current)},16))}},w=function(){b.current=!1,H()},B=function(W){H(),W.touches.length===1&&!b.current&&(b.current=!0,ue.current=Math.ceil(W.touches[0].pageX),T.current=Math.ceil(W.touches[0].pageY),a.current=W.target,a.current.addEventListener("touchmove",A,{passive:!1}),a.current.addEventListener("touchend",w,{passive:!0}))};H=function(){a.current&&(a.current.removeEventListener("touchmove",A),a.current.removeEventListener("touchend",w))},(0,D.Z)(function(){return k&&K.current.addEventListener("touchstart",B,{passive:!0}),function(){var P;(P=K.current)===null||P===void 0||P.removeEventListener("touchstart",B),H(),clearInterval(u.current)}},[k])}function De(k){return Math.floor(Math.pow(k,.5))}function se(k,K){var oe="touches"in k?k.touches[0]:k;return oe[K?"pageX":"pageY"]-window[K?"scrollX":"scrollY"]}function je(k,K,oe){S.useEffect(function(){var b=K.current;if(k&&b){var ue=!1,T,a,u=function(){i.Z.cancel(T)},H=function P(){u(),T=(0,i.Z)(function(){oe(a),P()})},A=function(){ue=!1,u()},w=function(W){if(!(W.target.draggable||W.button!==0)){var l=W;l._virtualHandled||(l._virtualHandled=!0,ue=!0)}},B=function(W){if(ue){var l=se(W,!1),d=b.getBoundingClientRect(),xe=d.top,te=d.bottom;if(l<=xe){var ge=xe-l;a=-De(ge),H()}else if(l>=te){var Ce=l-te;a=De(Ce),H()}else u()}};return b.addEventListener("mousedown",w),b.ownerDocument.addEventListener("mouseup",A),b.ownerDocument.addEventListener("mousemove",B),b.ownerDocument.addEventListener("dragend",A),function(){b.removeEventListener("mousedown",w),b.ownerDocument.removeEventListener("mouseup",A),b.ownerDocument.removeEventListener("mousemove",B),b.ownerDocument.removeEventListener("dragend",A),u()}}},[k])}var et=10;function fe(k,K,oe,b,ue,T,a,u){var H=S.useRef(),A=S.useState(null),w=(0,R.Z)(A,2),B=w[0],P=w[1];return(0,D.Z)(function(){if(B&&B.times=0;rt-=1){var Lt=ue(K[rt]),vt=oe.get(Lt);if(vt===void 0){ge=!0;break}if(dt-=vt,dt<=0)break}switch(Be){case"top":Ze=Le-xe;break;case"bottom":Ze=gt-te+xe;break;default:{var Mt=k.current.scrollTop,_t=Mt+te;Le_t&&(Ce="bottom")}}Ze!==null&&a(Ze),Ze!==B.lastTop&&(ge=!0)}ge&&P((0,m.Z)((0,m.Z)({},B),{},{times:B.times+1,targetAlign:Ce,lastTop:Ze}))}},[B,k.current]),function(W){if(W==null){u();return}if(i.Z.cancel(H.current),typeof W=="number")a(W);else if(W&&(0,p.Z)(W)==="object"){var l,d=W.align;"index"in W?l=W.index:l=K.findIndex(function(ge){return ue(ge)===W.key});var xe=W.offset,te=xe===void 0?0:xe;P({times:0,index:l,offset:te,originAlign:d})}}}var ce=S.forwardRef(function(k,K){var oe=k.prefixCls,b=k.rtl,ue=k.scrollOffset,T=k.scrollRange,a=k.onStartMove,u=k.onStopMove,H=k.onScroll,A=k.horizontal,w=k.spinSize,B=k.containerSize,P=k.style,W=k.thumbStyle,l=k.showScrollBar,d=S.useState(!1),xe=(0,R.Z)(d,2),te=xe[0],ge=xe[1],Ce=S.useState(null),Ze=(0,R.Z)(Ce,2),Be=Ze[0],Ne=Ze[1],Le=S.useState(null),gt=(0,R.Z)(Le,2),it=gt[0],bt=gt[1],yt=!b,tn=S.useRef(),dt=S.useRef(),rt=S.useState(l),Lt=(0,R.Z)(rt,2),vt=Lt[0],Mt=Lt[1],_t=S.useRef(),Et=function(){l===!0||l===!1||(clearTimeout(_t.current),Mt(!0),_t.current=setTimeout(function(){Mt(!1)},3e3))},cn=T-B||0,mt=B-w||0,ht=S.useMemo(function(){if(ue===0||cn===0)return 0;var tr=ue/cn;return tr*mt},[ue,cn,mt]),zt=function(nr){nr.stopPropagation(),nr.preventDefault()},Tt=S.useRef({top:ht,dragging:te,pageY:Be,startTop:it});Tt.current={top:ht,dragging:te,pageY:Be,startTop:it};var wt=function(nr){ge(!0),Ne(se(nr,A)),bt(Tt.current.top),a(),nr.stopPropagation(),nr.preventDefault()};S.useEffect(function(){var tr=function(Un){Un.preventDefault()},nr=tn.current,bn=dt.current;return nr.addEventListener("touchstart",tr,{passive:!1}),bn.addEventListener("touchstart",wt,{passive:!1}),function(){nr.removeEventListener("touchstart",tr),bn.removeEventListener("touchstart",wt)}},[]);var Xt=S.useRef();Xt.current=cn;var pn=S.useRef();pn.current=mt,S.useEffect(function(){if(te){var tr,nr=function(Un){var Yn=Tt.current,x=Yn.dragging,$=Yn.pageY,tt=Yn.startTop;i.Z.cancel(tr);var E=tn.current.getBoundingClientRect(),C=B/(A?E.width:E.height);if(x){var $e=(se(Un,A)-$)*C,he=tt;!yt&&A?he-=$e:he+=$e;var Se=Xt.current,He=pn.current,Me=He?he/He:0,Qe=Math.ceil(Me*Se);Qe=Math.max(Qe,0),Qe=Math.min(Qe,Se),tr=(0,i.Z)(function(){H(Qe,A)})}},bn=function(){ge(!1),u()};return window.addEventListener("mousemove",nr,{passive:!0}),window.addEventListener("touchmove",nr,{passive:!0}),window.addEventListener("mouseup",bn,{passive:!0}),window.addEventListener("touchend",bn,{passive:!0}),function(){window.removeEventListener("mousemove",nr),window.removeEventListener("touchmove",nr),window.removeEventListener("mouseup",bn),window.removeEventListener("touchend",bn),i.Z.cancel(tr)}}},[te]),S.useEffect(function(){return Et(),function(){clearTimeout(_t.current)}},[ue]),S.useImperativeHandle(K,function(){return{delayHidden:Et}});var zn="".concat(oe,"-scrollbar"),Hn={position:"absolute",visibility:vt?null:"hidden"},ir={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return A?(Object.assign(Hn,{height:8,left:0,right:0,bottom:0}),Object.assign(ir,(0,Z.Z)({height:"100%",width:w},yt?"left":"right",ht))):(Object.assign(Hn,(0,Z.Z)({width:8,top:0,bottom:0},yt?"right":"left",0)),Object.assign(ir,{width:"100%",height:w,top:ht})),S.createElement("div",{ref:tn,className:y()(zn,(0,Z.Z)((0,Z.Z)((0,Z.Z)({},"".concat(zn,"-horizontal"),A),"".concat(zn,"-vertical"),!A),"".concat(zn,"-visible"),vt)),style:(0,m.Z)((0,m.Z)({},Hn),P),onMouseDown:zt,onMouseMove:Et},S.createElement("div",{ref:dt,className:y()("".concat(zn,"-thumb"),(0,Z.Z)({},"".concat(zn,"-thumb-moving"),te)),style:(0,m.Z)((0,m.Z)({},ir),W),onMouseDown:wt}))}),Ge=ce,U=20;function ve(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,oe=k/K*k;return isNaN(oe)&&(oe=0),oe=Math.max(oe,U),Math.floor(oe)}var ae=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],ze=[],L={overflowY:"auto",overflowAnchor:"none"};function pe(k,K){var oe=k.prefixCls,b=oe===void 0?"rc-virtual-list":oe,ue=k.className,T=k.height,a=k.itemHeight,u=k.fullHeight,H=u===void 0?!0:u,A=k.style,w=k.data,B=k.children,P=k.itemKey,W=k.virtual,l=k.direction,d=k.scrollWidth,xe=k.component,te=xe===void 0?"div":xe,ge=k.onScroll,Ce=k.onVirtualScroll,Ze=k.onVisibleChange,Be=k.innerProps,Ne=k.extraRender,Le=k.styles,gt=k.showScrollBar,it=gt===void 0?"optional":gt,bt=(0,g.Z)(k,ae),yt=S.useCallback(function(Je){return typeof P=="function"?P(Je):Je==null?void 0:Je[P]},[P]),tn=s(yt,null,null),dt=(0,R.Z)(tn,4),rt=dt[0],Lt=dt[1],vt=dt[2],Mt=dt[3],_t=!!(W!==!1&&T&&a),Et=S.useMemo(function(){return Object.values(vt.maps).reduce(function(Je,nt){return Je+nt},0)},[vt.id,vt.maps]),cn=_t&&w&&(Math.max(a*w.length,Et)>T||!!d),mt=l==="rtl",ht=y()(b,(0,Z.Z)({},"".concat(b,"-rtl"),mt),ue),zt=w||ze,Tt=(0,S.useRef)(),wt=(0,S.useRef)(),Xt=(0,S.useRef)(),pn=(0,S.useState)(0),zn=(0,R.Z)(pn,2),Hn=zn[0],ir=zn[1],tr=(0,S.useState)(0),nr=(0,R.Z)(tr,2),bn=nr[0],Vn=nr[1],Un=(0,S.useState)(!1),Yn=(0,R.Z)(Un,2),x=Yn[0],$=Yn[1],tt=function(){$(!0)},E=function(){$(!1)},C={getKey:yt};function $e(Je){ir(function(nt){var Ut;typeof Je=="function"?Ut=Je(nt):Ut=Je;var Gt=Dt(Ut);return Tt.current.scrollTop=Gt,Gt})}var he=(0,S.useRef)({start:0,end:zt.length}),Se=(0,S.useRef)(),He=X(zt,yt),Me=(0,R.Z)(He,1),Qe=Me[0];Se.current=Qe;var lt=S.useMemo(function(){if(!_t)return{scrollHeight:void 0,start:0,end:zt.length-1,offset:void 0};if(!cn){var Je;return{scrollHeight:((Je=wt.current)===null||Je===void 0?void 0:Je.offsetHeight)||0,start:0,end:zt.length-1,offset:void 0}}for(var nt=0,Ut,Gt,fn,Dn=zt.length,Fn=0;Fn=Hn&&Ut===void 0&&(Ut=Fn,Gt=nt),Sr>Hn+T&&fn===void 0&&(fn=Fn),nt=Sr}return Ut===void 0&&(Ut=0,Gt=0,fn=Math.ceil(T/a)),fn===void 0&&(fn=zt.length-1),fn=Math.min(fn+1,zt.length-1),{scrollHeight:nt,start:Ut,end:fn,offset:Gt}},[cn,_t,Hn,zt,Mt,T]),ot=lt.scrollHeight,qe=lt.start,Nt=lt.end,Kt=lt.offset;he.current.start=qe,he.current.end=Nt,S.useLayoutEffect(function(){var Je=vt.getRecord();if(Je.size===1){var nt=Array.from(Je.keys())[0],Ut=Je.get(nt),Gt=zt[qe];if(Gt&&Ut===void 0){var fn=yt(Gt);if(fn===nt){var Dn=vt.get(nt),Fn=Dn-a;$e(function(Nn){return Nn+Fn})}}}vt.resetRecord()},[ot]);var pt=S.useState({width:0,height:T}),F=(0,R.Z)(pt,2),le=F[0],Ee=F[1],Ie=function(nt){Ee({width:nt.offsetWidth,height:nt.offsetHeight})},Pe=(0,S.useRef)(),Ke=(0,S.useRef)(),Ue=S.useMemo(function(){return ve(le.width,d)},[le.width,d]),at=S.useMemo(function(){return ve(le.height,ot)},[le.height,ot]),ft=ot-T,$t=(0,S.useRef)(ft);$t.current=ft;function Dt(Je){var nt=Je;return Number.isNaN($t.current)||(nt=Math.min(nt,$t.current)),nt=Math.max(nt,0),nt}var Ct=Hn<=0,St=Hn>=ft,It=bn<=0,Ft=bn>=d,qt=ie(Ct,St,It,Ft),ut=function(){return{x:mt?-bn:bn,y:Hn}},Pt=(0,S.useRef)(ut()),vn=(0,n.zX)(function(Je){if(Ce){var nt=(0,m.Z)((0,m.Z)({},ut()),Je);(Pt.current.x!==nt.x||Pt.current.y!==nt.y)&&(Ce(nt),Pt.current=nt)}});function en(Je,nt){var Ut=Je;nt?((0,O.flushSync)(function(){Vn(Ut)}),vn()):$e(Ut)}function Yt(Je){var nt=Je.currentTarget.scrollTop;nt!==Hn&&$e(nt),ge==null||ge(Je),vn()}var un=function(nt){var Ut=nt,Gt=d?d-le.width:0;return Ut=Math.max(Ut,0),Ut=Math.min(Ut,Gt),Ut},Ot=(0,n.zX)(function(Je,nt){nt?((0,O.flushSync)(function(){Vn(function(Ut){var Gt=Ut+(mt?-Je:Je);return un(Gt)})}),vn()):$e(function(Ut){var Gt=Ut+Je;return Gt})}),jt=de(_t,Ct,St,It,Ft,!!d,Ot),Sn=(0,R.Z)(jt,2),In=Sn[0],Wn=Sn[1];j(_t,Tt,function(Je,nt,Ut,Gt){var fn=Gt;return qt(Je,nt,Ut)?!1:!fn||!fn._virtualHandled?(fn&&(fn._virtualHandled=!0),In({preventDefault:function(){},deltaX:Je?nt:0,deltaY:Je?0:nt}),!0):!1}),je(cn,Tt,function(Je){$e(function(nt){return nt+Je})}),(0,D.Z)(function(){function Je(Ut){var Gt=Ct&&Ut.detail<0,fn=St&&Ut.detail>0;_t&&!Gt&&!fn&&Ut.preventDefault()}var nt=Tt.current;return nt.addEventListener("wheel",In,{passive:!1}),nt.addEventListener("DOMMouseScroll",Wn,{passive:!0}),nt.addEventListener("MozMousePixelScroll",Je,{passive:!1}),function(){nt.removeEventListener("wheel",In),nt.removeEventListener("DOMMouseScroll",Wn),nt.removeEventListener("MozMousePixelScroll",Je)}},[_t,Ct,St]),(0,D.Z)(function(){if(d){var Je=un(bn);Vn(Je),vn({x:Je})}},[le.width,d]);var On=function(){var nt,Ut;(nt=Pe.current)===null||nt===void 0||nt.delayHidden(),(Ut=Ke.current)===null||Ut===void 0||Ut.delayHidden()},An=fe(Tt,zt,vt,a,yt,function(){return Lt(!0)},$e,On);S.useImperativeHandle(K,function(){return{nativeElement:Xt.current,getScrollInfo:ut,scrollTo:function(nt){function Ut(Gt){return Gt&&(0,p.Z)(Gt)==="object"&&("left"in Gt||"top"in Gt)}Ut(nt)?(nt.left!==void 0&&Vn(un(nt.left)),An(nt.top)):An(nt)}}}),(0,D.Z)(function(){if(Ze){var Je=zt.slice(qe,Nt+1);Ze(Je,zt)}},[qe,Nt,zt]);var kn=ke(zt,yt,vt,a),ur=Ne==null?void 0:Ne({start:qe,end:Nt,virtual:cn,offsetX:bn,offsetY:Kt,rtl:mt,getSize:kn}),dr=q(zt,qe,Nt,d,bn,rt,B,C),Xn=null;T&&(Xn=(0,m.Z)((0,Z.Z)({},H?"height":"maxHeight",T),L),_t&&(Xn.overflowY="hidden",d&&(Xn.overflowX="hidden"),x&&(Xn.pointerEvents="none")));var xt={};return mt&&(xt.dir="rtl"),S.createElement("div",(0,e.Z)({ref:Xt,style:(0,m.Z)((0,m.Z)({},A),{},{position:"relative"}),className:ht},xt,bt),S.createElement(N.Z,{onResize:Ie},S.createElement(te,{className:"".concat(b,"-holder"),style:Xn,ref:Tt,onScroll:Yt,onMouseEnter:On},S.createElement(Ae,{prefixCls:b,height:ot,offsetX:bn,offsetY:Kt,scrollWidth:d,onInnerResize:Lt,ref:wt,innerProps:Be,rtl:mt,extra:ur},dr))),cn&&ot>T&&S.createElement(Ge,{ref:Pe,prefixCls:b,scrollOffset:Hn,scrollRange:ot,rtl:mt,onScroll:en,onStartMove:tt,onStopMove:E,spinSize:at,containerSize:le.height,style:Le==null?void 0:Le.verticalScrollBar,thumbStyle:Le==null?void 0:Le.verticalScrollBarThumb,showScrollBar:it}),cn&&d>le.width&&S.createElement(Ge,{ref:Ke,prefixCls:b,scrollOffset:bn,scrollRange:d,rtl:mt,onScroll:en,onStartMove:tt,onStopMove:E,spinSize:Ue,containerSize:le.width,horizontal:!0,style:Le==null?void 0:Le.horizontalScrollBar,thumbStyle:Le==null?void 0:Le.horizontalScrollBarThumb,showScrollBar:it}))}var Te=S.forwardRef(pe);Te.displayName="List";var ct=Te,Xe=ct},76374:function(Zt,re,t){var e=function(){if(typeof Map!="undefined")return Map;function Q(M,s){var _=-1;return M.some(function(j,De){return j[0]===s?(_=De,!0):!1}),_}return function(){function M(){this.__entries__=[]}return Object.defineProperty(M.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),M.prototype.get=function(s){var _=Q(this.__entries__,s),j=this.__entries__[_];return j&&j[1]},M.prototype.set=function(s,_){var j=Q(this.__entries__,s);~j?this.__entries__[j][1]=_:this.__entries__.push([s,_])},M.prototype.delete=function(s){var _=this.__entries__,j=Q(_,s);~j&&_.splice(j,1)},M.prototype.has=function(s){return!!~Q(this.__entries__,s)},M.prototype.clear=function(){this.__entries__.splice(0)},M.prototype.forEach=function(s,_){_===void 0&&(_=null);for(var j=0,De=this.__entries__;j0},Q.prototype.connect_=function(){!p||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),N?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},Q.prototype.disconnect_=function(){!p||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},Q.prototype.onTransitionEnd_=function(M){var s=M.propertyName,_=s===void 0?"":s,j=y.some(function(De){return!!~_.indexOf(De)});j&&this.refresh()},Q.getInstance=function(){return this.instance_||(this.instance_=new Q),this.instance_},Q.instance_=null,Q}(),D=function(Q,M){for(var s=0,_=Object.keys(M);s<_.length;s++){var j=_[s];Object.defineProperty(Q,j,{value:M[j],enumerable:!1,writable:!1,configurable:!0})}return Q},S=function(Q){var M=Q&&Q.ownerDocument&&Q.ownerDocument.defaultView;return M||m},O=V(0,0,0,0);function J(Q){return parseFloat(Q)||0}function Ae(Q){for(var M=[],s=1;s0},Q}(),Re=typeof WeakMap!="undefined"?new WeakMap:new e,ee=function(){function Q(M){if(!(this instanceof Q))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var s=n.getInstance(),_=new ke(M,s,this);Re.set(this,_)}return Q}();["observe","unobserve","disconnect"].forEach(function(Q){ee.prototype[Q]=function(){var M;return(M=Re.get(this))[Q].apply(M,arguments)}});var be=function(){return typeof m.ResizeObserver!="undefined"?m.ResizeObserver:ee}();re.Z=be},62752:function(Zt,re){Object.defineProperty(re,"__esModule",{value:!0}),re.SizeSensorId=re.SensorTabIndex=re.SensorClassName=void 0;var t=re.SizeSensorId="size-sensor-id",e=re.SensorClassName="size-sensor-object",p=re.SensorTabIndex="-1"},25224:function(Zt,re){Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var t=re.default=function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,Z=null;return function(){for(var R=this,g=arguments.length,f=new Array(g),y=0;y=Pn)){var uo=!0,ho=sr;Ct==null||Ct(null);var ra=P(sr,Pt,H(Pn)?Pn-fr.size:void 0),na=jo?null:ra;return Ee!=="combobox"&&na&&(ho="",ut==null||ut(na),gn(!1),uo=!1),qt&&Kn!==ho&&qt(ho,{source:To?"typing":"effect"}),uo}},$o=function(sr){!sr||!sr.trim()||qt(sr,{source:"submit"})};n.useEffect(function(){!or&&!Nn&&Ee!=="combobox"&&Or("",!1,!1)},[or]),n.useEffect(function(){co&&Ie&&to(!1),Ie&&!Br.current&&Gr(!1)},[Ie]);var nn=c(),En=(0,R.Z)(nn,2),_n=En[0],wr=En[1],Rr=n.useRef(!1),Do=function(sr){var To=_n(),jo=sr.key,uo=jo==="Enter";if(uo&&(Ee!=="combobox"&&sr.preventDefault(),or||gn(!0)),wr(!!Kn),jo==="Backspace"&&!To&&Nn&&!Kn&&qe.length){for(var ho=(0,p.Z)(qe),ra=null,na=ho.length-1;na>=0;na-=1){var la=ho[na];if(!la.disabled){ho.splice(na,1),ra=la;break}}ra&&Nt(ho,{type:"remove",values:[ra]})}for(var fa=arguments.length,va=new Array(fa>1?fa-1:0),Ea=1;Ea1?To-1:0),uo=1;uo1?ra-1:0),la=1;la=F},[Qe,F,Ue==null?void 0:Ue.size]),Pt=function(Je){Je.preventDefault()},vn=function(Je){var nt;(nt=qt.current)===null||nt===void 0||nt.scrollTo(typeof Je=="number"?{index:Je}:Je)},en=n.useCallback(function(xt){return lt==="combobox"?!1:Ue.has(xt)},[lt,(0,p.Z)(Ue).toString(),Ue.size]),Yt=function(Je){for(var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Ut=Ft.length,Gt=0;Gt1&&arguments[1]!==void 0?arguments[1]:!1;Sn(Je);var Ut={source:nt?"keyboard":"mouse"},Gt=Ft[Je];if(!Gt){Ee(null,-1,Ut);return}Ee(Gt.value,Je,Ut)};(0,n.useEffect)(function(){In(Ie!==!1?Yt(0):-1)},[Ft.length,ot]);var Wn=n.useCallback(function(xt){return lt==="combobox"?String(xt).toLowerCase()===ot.toLowerCase():Ue.has(xt)},[lt,ot,(0,p.Z)(Ue).toString(),Ue.size]);(0,n.useEffect)(function(){var xt=setTimeout(function(){if(!Qe&&Me&&Ue.size===1){var nt=Array.from(Ue)[0],Ut=Ft.findIndex(function(Gt){var fn=Gt.data;return ot?String(fn.value).startsWith(ot):fn.value===nt});Ut!==-1&&(In(Ut),vn(Ut))}});if(Me){var Je;(Je=qt.current)===null||Je===void 0||Je.scrollTo(void 0)}return function(){return clearTimeout(xt)}},[Me,ot]);var On=function(Je){Je!==void 0&&Pe(Je,{selected:!Ue.has(Je)}),Qe||qe(!1)};if(n.useImperativeHandle($e,function(){return{onKeyDown:function(Je){var nt=Je.which,Ut=Je.ctrlKey;switch(nt){case ie.Z.N:case ie.Z.P:case ie.Z.UP:case ie.Z.DOWN:{var Gt=0;if(nt===ie.Z.UP?Gt=-1:nt===ie.Z.DOWN?Gt=1:tn()&&Ut&&(nt===ie.Z.N?Gt=1:nt===ie.Z.P&&(Gt=-1)),Gt!==0){var fn=Yt(jt+Gt,Gt);vn(fn),In(fn,!0)}break}case ie.Z.TAB:case ie.Z.ENTER:{var Dn,Fn=Ft[jt];Fn&&!(Fn!=null&&(Dn=Fn.data)!==null&&Dn!==void 0&&Dn.disabled)&&!ut?On(Fn.value):On(void 0),Me&&Je.preventDefault();break}case ie.Z.ESC:qe(!1),Me&&Je.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Je){vn(Je)}}}),Ft.length===0)return n.createElement("div",{role:"listbox",id:"".concat(He,"_list"),className:"".concat(It,"-empty"),onMouseDown:Pt},Nt);var An=Object.keys(at).map(function(xt){return at[xt]}),kn=function(Je){return Je.label};function ur(xt,Je){var nt=xt.group;return{role:nt?"presentation":"option",id:"".concat(He,"_list_").concat(Je)}}var dr=function(Je){var nt=Ft[Je];if(!nt)return null;var Ut=nt.data||{},Gt=Ut.value,fn=nt.group,Dn=(0,ke.Z)(Ut,!0),Fn=kn(nt);return nt?n.createElement("div",(0,e.Z)({"aria-label":typeof Fn=="string"&&!fn?Fn:null},Dn,{key:Je},ur(nt,Je),{"aria-selected":Wn(Gt)}),Gt):null},Xn={role:"listbox",id:"".concat(He,"_list")};return n.createElement(n.Fragment,null,ft&&n.createElement("div",(0,e.Z)({},Xn,{style:{height:0,width:0,overflow:"hidden"}}),dr(jt-1),dr(jt),dr(jt+1)),n.createElement(yt.Z,{itemKey:"key",ref:qt,data:Ft,height:Dt,itemHeight:Ct,fullHeight:!1,onMouseDown:Pt,onScroll:Kt,virtual:ft,direction:$t,innerProps:ft?null:Xn},function(xt,Je){var nt=xt.group,Ut=xt.groupOption,Gt=xt.data,fn=xt.label,Dn=xt.value,Fn=Gt.key;if(nt){var Nn,Jn=(Nn=Gt.title)!==null&&Nn!==void 0?Nn:rt(fn)?fn.toString():void 0;return n.createElement("div",{className:S()(It,"".concat(It,"-group"),Gt.className),title:Jn},fn!==void 0?fn:Fn)}var Cr=Gt.disabled,Sr=Gt.title,pr=Gt.children,Qn=Gt.style,xr=Gt.className,Er=(0,g.Z)(Gt,dt),Nr=(0,bt.Z)(Er,An),lr=en(Dn),Ir=Cr||!lr&&ut,rr="".concat(It,"-option"),Br=S()(It,rr,xr,(0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)({},"".concat(rr,"-grouped"),Ut),"".concat(rr,"-active"),jt===Je&&!Ir),"".concat(rr,"-disabled"),Ir),"".concat(rr,"-selected"),lr)),Xr=kn(xt),jr=!Ke||typeof Ke=="function"||lr,Hr=typeof Xr=="number"?Xr:Xr||Dn,Gr=rt(Hr)?Hr.toString():void 0;return Sr!==void 0&&(Gr=Sr),n.createElement("div",(0,e.Z)({},(0,ke.Z)(Nr),ft?{}:ur(xt,Je),{"aria-selected":Wn(Dn),className:Br,title:Gr,onMouseMove:function(){jt===Je||Ir||In(Je)},onClick:function(){Ir||On(Dn)},style:Qn}),n.createElement("div",{className:"".concat(rr,"-content")},typeof St=="function"?St(xt,{index:Je}):Hr),n.isValidElement(Ke)||lr,jr&&n.createElement(q,{className:"".concat(It,"-option-state"),customizeIcon:Ke,customizeIconProps:{value:Dn,disabled:Ir,isSelected:lr}},lr?"\u2713":null))}))},vt=n.forwardRef(Lt),Mt=vt,_t=function(E,C){var $e=n.useRef({values:new Map,options:new Map}),he=n.useMemo(function(){var He=$e.current,Me=He.values,Qe=He.options,lt=E.map(function(Nt){if(Nt.label===void 0){var Kt;return(0,Z.Z)((0,Z.Z)({},Nt),{},{label:(Kt=Me.get(Nt.value))===null||Kt===void 0?void 0:Kt.label})}return Nt}),ot=new Map,qe=new Map;return lt.forEach(function(Nt){ot.set(Nt.value,Nt),qe.set(Nt.value,C.get(Nt.value)||Qe.get(Nt.value))}),$e.current.values=ot,$e.current.options=qe,lt},[E,C]),Se=n.useCallback(function(He){return C.get(He)||$e.current.options.get(He)},[C]);return[he,Se]};function Et(E,C){return j(E).join("").toUpperCase().includes(C)}var cn=function(E,C,$e,he,Se){return n.useMemo(function(){if(!$e||he===!1)return E;var He=C.options,Me=C.label,Qe=C.value,lt=[],ot=typeof he=="function",qe=$e.toUpperCase(),Nt=ot?he:function(pt,F){return Se?Et(F[Se],qe):F[He]?Et(F[Me!=="children"?Me:"label"],qe):Et(F[Qe],qe)},Kt=ot?function(pt){return B(pt)}:function(pt){return pt};return E.forEach(function(pt){if(pt[He]){var F=Nt($e,Kt(pt));if(F)lt.push(pt);else{var le=pt[He].filter(function(Ee){return Nt($e,Kt(Ee))});le.length&<.push((0,Z.Z)((0,Z.Z)({},pt),{},(0,m.Z)({},He,le)))}return}Nt($e,Kt(pt))&<.push(pt)}),lt},[E,he,Se,$e,C])},mt=t(6551),ht=t(11592),zt=["children","value"],Zt=["children"];function wt(E){var C=E,$e=C.key,he=C.props,Se=he.children,He=he.value,Me=(0,g.Z)(he,zt);return(0,Z.Z)({key:$e,value:He!==void 0?He:$e,children:Se},Me)}function Xt(E){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ht.Z)(E).map(function($e,he){if(!n.isValidElement($e)||!$e.type)return null;var Se=$e,He=Se.type.isSelectOptGroup,Me=Se.key,Qe=Se.props,lt=Qe.children,ot=(0,g.Z)(Qe,Zt);return C||!He?wt($e):(0,Z.Z)((0,Z.Z)({key:"__RC_SELECT_GRP__".concat(Me===null?he:Me,"__"),label:Me},ot),{},{options:Xt(lt)})}).filter(function($e){return $e})}var pn=function(C,$e,he,Se,He){return n.useMemo(function(){var Me=C,Qe=!C;Qe&&(Me=Xt($e));var lt=new Map,ot=new Map,qe=function(pt,F,le){le&&typeof le=="string"&&pt.set(F[le],F)},Nt=function Kt(pt){for(var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,le=0;le1&&arguments[1]!==void 0?arguments[1]:!1,Me=0;Me0?gn(Pn.options):Pn.options}):Pn})},jr=n.useMemo(function(){return Pe?Xr(Br):Br},[Br,Pe,Xn]),Hr=n.useMemo(function(){return w(jr,{fieldNames:kn,childrenAsData:On})},[jr,kn,On]),Gr=function(Tn){var mn=fn(Tn);if(Jn(mn),Ot&&(mn.length!==Qn.length||mn.some(function(Or,$o){var nn;return((nn=Qn[$o])===null||nn===void 0?void 0:nn.value)!==(Or==null?void 0:Or.value)}))){var Pn=un?mn:mn.map(function(Or){return Or.value}),fr=mn.map(function(Or){return B(xr(Or.value))});Ot(Wn?Pn:Pn[0],Wn?fr:fr[0])}},xn=n.useState(null),Kn=(0,R.Z)(xn,2),br=Kn[0],vr=Kn[1],xo=n.useState(0),zo=(0,R.Z)(xo,2),vo=zo[0],Eo=zo[1],Zo=Dt!==void 0?Dt:he!=="combobox",wo=n.useCallback(function(gn,Tn){var mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pn=mn.source,fr=Pn===void 0?"keyboard":Pn;Eo(Tn),Me&&he==="combobox"&&gn!==null&&fr==="keyboard"&&vr(String(gn))},[Me,he]),kr=function(Tn,mn,Pn){var fr=function(){var ko,ar=xr(Tn);return[un?{label:ar==null?void 0:ar[kn.label],value:Tn,key:(ko=ar==null?void 0:ar.key)!==null&&ko!==void 0?ko:Tn}:Tn,B(ar)]};if(mn&&pt){var Or=fr(),$o=(0,R.Z)(Or,2),nn=$o[0],En=$o[1];pt(nn,En)}else if(!mn&&F&&Pn!=="clear"){var _n=fr(),wr=(0,R.Z)(_n,2),Rr=wr[0],Do=wr[1];F(Rr,Do)}},co=Hn(function(gn,Tn){var mn,Pn=Wn?Tn.selected:!0;Pn?mn=Wn?[].concat((0,p.Z)(Qn),[gn]):[gn]:mn=Qn.filter(function(fr){return fr.value!==gn}),Gr(mn),kr(gn,Pn),he==="combobox"?vr(""):(!ge||Kt)&&(xt(""),vr(""))}),to=function(Tn,mn){Gr(Tn);var Pn=mn.type,fr=mn.values;(Pn==="remove"||Pn==="clear")&&fr.forEach(function(Or){kr(Or.value,!1,Pn)})},or=function(Tn,mn){if(xt(Tn),vr(null),mn.source==="submit"){var Pn=(Tn||"").trim();if(Pn){var fr=Array.from(new Set([].concat((0,p.Z)(Nr),[Pn])));Gr(fr),kr(Pn,!0),xt("")}return}mn.source!=="blur"&&(he==="combobox"&&Gr(Tn),qe==null||qe(Tn))},zr=function(Tn){var mn=Tn;he!=="tags"&&(mn=Tn.map(function(fr){var Or=Ut.get(fr);return Or==null?void 0:Or.value}).filter(function(fr){return fr!==void 0}));var Pn=Array.from(new Set([].concat((0,p.Z)(Nr),(0,p.Z)(mn))));Gr(Pn),Pn.forEach(function(fr){kr(fr,!0)})},Wr=n.useMemo(function(){var gn=St!==!1&&Ee!==!1;return(0,Z.Z)((0,Z.Z)({},Je),{},{flattenOptions:Hr,onActiveValue:wo,defaultActiveFirstOption:Zo,onSelect:co,menuItemSelectedIcon:Ct,rawValues:Nr,fieldNames:kn,virtual:gn,direction:It,listHeight:qt,listItemHeight:Pt,childrenAsData:On,maxCount:jt,optionRender:ft})},[jt,Je,Hr,wo,Zo,co,Ct,Nr,kn,St,Ee,It,qt,Pt,On,ft]);return n.createElement(l.Provider,{value:Wr},n.createElement(Ze,(0,e.Z)({},Sn,{id:In,prefixCls:He,ref:C,omitDomProps:Vn,mode:he,displayValues:Er,onDisplayValuesChange:to,direction:It,searchValue:Xn,onSearch:or,autoClearSearchValue:Kt,onSearchSplit:zr,dropdownMatchSelectWidth:Ee,OptionList:Mt,emptyOptions:!Hr.length,activeValue:br,activeDescendantId:"".concat(In,"_list_").concat(vo)})))}),x=Yn;x.Option=gt,x.OptGroup=Ne;var $=x,tt=$},29125:function(Tt,re,t){t.d(re,{G:function(){return Z},Z:function(){return ye}});var e=t(92310),p=t.n(e),m=t(59301);function Z(v){var X=v.children,i=v.prefixCls,c=v.id,V=v.overlayInnerStyle,ie=v.bodyClassName,de=v.className,ke=v.style;return m.createElement("div",{className:p()("".concat(i,"-content"),de),style:ke},m.createElement("div",{className:p()("".concat(i,"-inner"),ie),id:c,role:"tooltip",style:V},typeof X=="function"?X():X))}var R=t(60499),g=t(85899),f=t(42244),y=t(68196),N={shiftX:64,adjustY:1},n={adjustX:1,shiftY:!0},D=[0,0],S={left:{points:["cr","cl"],overflow:n,offset:[-4,0],targetOffset:D},right:{points:["cl","cr"],overflow:n,offset:[4,0],targetOffset:D},top:{points:["bc","tc"],overflow:N,offset:[0,-4],targetOffset:D},bottom:{points:["tc","bc"],overflow:N,offset:[0,4],targetOffset:D},topLeft:{points:["bl","tl"],overflow:N,offset:[0,-4],targetOffset:D},leftTop:{points:["tr","tl"],overflow:n,offset:[-4,0],targetOffset:D},topRight:{points:["br","tr"],overflow:N,offset:[0,-4],targetOffset:D},rightTop:{points:["tl","tr"],overflow:n,offset:[4,0],targetOffset:D},bottomRight:{points:["tr","br"],overflow:N,offset:[0,4],targetOffset:D},rightBottom:{points:["bl","br"],overflow:n,offset:[4,0],targetOffset:D},bottomLeft:{points:["tl","bl"],overflow:N,offset:[0,4],targetOffset:D},leftBottom:{points:["br","bl"],overflow:n,offset:[-4,0],targetOffset:D}},O=null,J=t(80402),Ae=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Y=function(X,i){var c=X.overlayClassName,V=X.trigger,ie=V===void 0?["hover"]:V,de=X.mouseEnterDelay,ke=de===void 0?0:de,Re=X.mouseLeaveDelay,ee=Re===void 0?.1:Re,be=X.overlayStyle,Q=X.prefixCls,M=Q===void 0?"rc-tooltip":Q,s=X.children,_=X.onVisibleChange,j=X.afterVisibleChange,De=X.transitionName,se=X.animation,je=X.motion,et=X.placement,fe=et===void 0?"right":et,ce=X.align,Ge=ce===void 0?{}:ce,U=X.destroyTooltipOnHide,ve=U===void 0?!1:U,ae=X.defaultVisible,ze=X.getTooltipContainer,L=X.overlayInnerStyle,pe=X.arrowContent,Te=X.overlay,ct=X.id,Ye=X.showArrow,k=Ye===void 0?!0:Ye,K=X.classNames,oe=X.styles,b=(0,f.Z)(X,Ae),ue=(0,J.Z)(ct),T=(0,m.useRef)(null);(0,m.useImperativeHandle)(i,function(){return T.current});var a=(0,g.Z)({},b);"visible"in X&&(a.popupVisible=X.visible);var u=function(){return m.createElement(Z,{key:"content",prefixCls:M,id:ue,bodyClassName:K==null?void 0:K.body,overlayInnerStyle:(0,g.Z)((0,g.Z)({},L),oe==null?void 0:oe.body)},Te)},H=function(){var w=m.Children.only(s),B=(w==null?void 0:w.props)||{},P=(0,g.Z)((0,g.Z)({},B),{},{"aria-describedby":Te?ue:null});return m.cloneElement(s,P)};return m.createElement(y.Z,(0,R.Z)({popupClassName:p()(c,K==null?void 0:K.root),prefixCls:M,popup:u,action:ie,builtinPlacements:S,popupPlacement:fe,ref:T,popupAlign:Ge,getPopupContainer:ze,onPopupVisibleChange:_,afterPopupVisibleChange:j,popupTransitionName:De,popupAnimation:se,popupMotion:je,defaultPopupVisible:ae,autoDestroy:ve,mouseLeaveDelay:ee,popupStyle:(0,g.Z)((0,g.Z)({},be),oe==null?void 0:oe.root),mouseEnterDelay:ke,arrow:k},a),H())},q=(0,m.forwardRef)(Y),ye=q},639:function(Tt,re,t){t.d(re,{Z:function(){return X}});var e=t(60499),p=t(18642),m=t(85899),Z=t(72190),R=t(42244),g=t(59301),f=t(92310),y=t.n(f),N=t(26112),n=t(30699),D=function(c){for(var V=c.prefixCls,ie=c.level,de=c.isStart,ke=c.isEnd,Re="".concat(V,"-indent-unit"),ee=[],be=0;be0&&arguments[0]!==void 0?arguments[0]:[],ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],T=b.length,a=ue.length;if(Math.abs(T-a)!==1)return{add:!1,key:null};function u(H,A){var w=new Map;H.forEach(function(P){w.set(P,!0)});var B=A.filter(function(P){return!w.has(P)});return B.length===1?B[0]:null}return T ").concat(ue);return ue}var ze=Y.forwardRef(function(b,ue){var T=b.prefixCls,a=b.data,u=b.selectable,H=b.checkable,A=b.expandedKeys,w=b.selectedKeys,B=b.checkedKeys,P=b.loadedKeys,W=b.loadingKeys,l=b.halfCheckedKeys,d=b.keyEntities,xe=b.disabled,te=b.dragging,ge=b.dragOverNodeKey,Ce=b.dropPosition,Ze=b.motion,Be=b.height,Ne=b.itemHeight,Le=b.virtual,gt=b.scrollWidth,it=b.focusable,bt=b.activeItem,yt=b.focused,tn=b.tabIndex,dt=b.onKeyDown,rt=b.onFocus,Lt=b.onBlur,vt=b.onActiveChange,Mt=b.onListChangeStart,_t=b.onListChangeEnd,Et=(0,c.Z)(b,De),cn=Y.useRef(null),mt=Y.useRef(null);Y.useImperativeHandle(ue,function(){return{scrollTo:function(Qe){cn.current.scrollTo(Qe)},getIndentWidth:function(){return mt.current.offsetWidth}}});var ht=Y.useState(A),zt=(0,i.Z)(ht,2),Zt=zt[0],wt=zt[1],Xt=Y.useState(a),pn=(0,i.Z)(Xt,2),zn=pn[0],Hn=pn[1],ir=Y.useState(a),tr=(0,i.Z)(ir,2),nr=tr[0],bn=tr[1],Vn=Y.useState([]),Un=(0,i.Z)(Vn,2),Yn=Un[0],x=Un[1],$=Y.useState(null),tt=(0,i.Z)($,2),E=tt[0],C=tt[1],$e=Y.useRef(a);$e.current=a;function he(){var Me=$e.current;Hn(Me),bn(Me),x([]),C(null),_t()}(0,V.Z)(function(){wt(A);var Me=_(Zt,A);if(Me.key!==null)if(Me.add){var Qe=zn.findIndex(function(pt){var F=pt.key;return F===Me.key}),lt=U(j(zn,a,Me.key),Le,Be,Ne),ot=zn.slice();ot.splice(Qe+1,0,Ge),bn(ot),x(lt),C("show")}else{var qe=a.findIndex(function(pt){var F=pt.key;return F===Me.key}),Nt=U(j(a,zn,Me.key),Le,Be,Ne),Kt=a.slice();Kt.splice(qe+1,0,Ge),bn(Kt),x(Nt),C("hide")}else zn!==a&&(Hn(a),bn(a))},[A,a]),Y.useEffect(function(){te||he()},[te]);var Se=Ze?nr:a,He={expandedKeys:A,selectedKeys:w,loadedKeys:P,loadingKeys:W,checkedKeys:B,halfCheckedKeys:l,dragOverNodeKey:ge,dropPosition:Ce,keyEntities:d};return Y.createElement(Y.Fragment,null,yt&&bt&&Y.createElement("span",{style:se,"aria-live":"assertive"},ae(bt)),Y.createElement("div",null,Y.createElement("input",{style:se,disabled:it===!1||xe,tabIndex:it!==!1?tn:null,onKeyDown:dt,onFocus:rt,onBlur:Lt,value:"",onChange:je,"aria-label":"for screen reader"})),Y.createElement("div",{className:"".concat(T,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Y.createElement("div",{className:"".concat(T,"-indent")},Y.createElement("div",{ref:mt,className:"".concat(T,"-indent-unit")}))),Y.createElement(ie.Z,(0,e.Z)({},Et,{data:Se,itemKey:ve,height:Be,fullHeight:!1,virtual:Le,itemHeight:Ne,scrollWidth:gt,prefixCls:"".concat(T,"-list"),ref:cn,role:"tree",onVisibleChange:function(Qe){Qe.every(function(lt){return ve(lt)!==et})&&he()}}),function(Me){var Qe=Me.pos,lt=Object.assign({},(X(Me.data),Me.data)),ot=Me.title,qe=Me.key,Nt=Me.isStart,Kt=Me.isEnd,pt=(0,be.km)(qe,Qe);delete lt.key,delete lt.children;var F=(0,be.H8)(pt,He);return Y.createElement(s,(0,e.Z)({},lt,F,{title:ot,active:!!bt&&qe===bt.key,pos:Qe,data:Me.data,isStart:Nt,isEnd:Kt,motion:Ze,motionNodes:qe===et?Yn:null,motionType:E,onMotionStart:Mt,onMotionEnd:he,treeNodeRequiredProps:He,onMouseMove:function(){vt(null)}}))}))}),L=ze,pe=t(82661),Te=t(34643),ct=t(65065),Ye=10,k=function(b){(0,y.Z)(T,b);var ue=(0,N.Z)(T);function T(){var a;(0,R.Z)(this,T);for(var u=arguments.length,H=new Array(u),A=0;A2&&arguments[2]!==void 0?arguments[2]:!1,l=a.state,d=l.dragChildrenKeys,xe=l.dropPosition,te=l.dropTargetKey,ge=l.dropTargetPos,Ce=l.dropAllowed;if(Ce){var Ze=a.props.onDrop;if(a.setState({dragOverNodeKey:null}),a.cleanDragState(),te!==null){var Be=(0,m.Z)((0,m.Z)({},(0,be.H8)(te,a.getTreeNodeRequiredProps())),{},{active:((P=a.getActiveItem())===null||P===void 0?void 0:P.key)===te,data:(0,ct.Z)(a.state.keyEntities,te).node}),Ne=d.includes(te);(0,Ae.ZP)(!Ne,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Le=(0,pe.yx)(ge),gt={event:w,node:(0,be.F)(Be),dragNode:a.dragNodeProps?(0,be.F)(a.dragNodeProps):null,dragNodesKeys:[a.dragNodeProps.eventKey].concat(d),dropToGap:xe!==0,dropPosition:xe+Number(Le[Le.length-1])};W||Ze==null||Ze(gt),a.dragNodeProps=null}}}),(0,n.Z)((0,f.Z)(a),"cleanDragState",function(){var w=a.state.draggingNodeKey;w!==null&&a.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),a.dragStartMousePosition=null,a.currentMouseOverDroppableNodeKey=null}),(0,n.Z)((0,f.Z)(a),"triggerExpandActionExpand",function(w,B){var P=a.state,W=P.expandedKeys,l=P.flattenNodes,d=B.expanded,xe=B.key,te=B.isLeaf;if(!(te||w.shiftKey||w.metaKey||w.ctrlKey)){var ge=l.filter(function(Ze){return Ze.key===xe})[0],Ce=(0,be.F)((0,m.Z)((0,m.Z)({},(0,be.H8)(xe,a.getTreeNodeRequiredProps())),{},{data:ge.data}));a.setExpandedKeys(d?(0,pe._5)(W,xe):(0,pe.L0)(W,xe)),a.onNodeExpand(w,Ce)}}),(0,n.Z)((0,f.Z)(a),"onNodeClick",function(w,B){var P=a.props,W=P.onClick,l=P.expandAction;l==="click"&&a.triggerExpandActionExpand(w,B),W==null||W(w,B)}),(0,n.Z)((0,f.Z)(a),"onNodeDoubleClick",function(w,B){var P=a.props,W=P.onDoubleClick,l=P.expandAction;l==="doubleClick"&&a.triggerExpandActionExpand(w,B),W==null||W(w,B)}),(0,n.Z)((0,f.Z)(a),"onNodeSelect",function(w,B){var P=a.state.selectedKeys,W=a.state,l=W.keyEntities,d=W.fieldNames,xe=a.props,te=xe.onSelect,ge=xe.multiple,Ce=B.selected,Ze=B[d.key],Be=!Ce;Be?ge?P=(0,pe.L0)(P,Ze):P=[Ze]:P=(0,pe._5)(P,Ze);var Ne=P.map(function(Le){var gt=(0,ct.Z)(l,Le);return gt?gt.node:null}).filter(Boolean);a.setUncontrolledState({selectedKeys:P}),te==null||te(P,{event:"select",selected:Be,node:B,selectedNodes:Ne,nativeEvent:w.nativeEvent})}),(0,n.Z)((0,f.Z)(a),"onNodeCheck",function(w,B,P){var W=a.state,l=W.keyEntities,d=W.checkedKeys,xe=W.halfCheckedKeys,te=a.props,ge=te.checkStrictly,Ce=te.onCheck,Ze=B.key,Be,Ne={event:"check",node:B,checked:P,nativeEvent:w.nativeEvent};if(ge){var Le=P?(0,pe.L0)(d,Ze):(0,pe._5)(d,Ze),gt=(0,pe._5)(xe,Ze);Be={checked:Le,halfChecked:gt},Ne.checkedNodes=Le.map(function(rt){return(0,ct.Z)(l,rt)}).filter(Boolean).map(function(rt){return rt.node}),a.setUncontrolledState({checkedKeys:Le})}else{var it=(0,Te.S)([].concat((0,Z.Z)(d),[Ze]),!0,l),bt=it.checkedKeys,yt=it.halfCheckedKeys;if(!P){var tn=new Set(bt);tn.delete(Ze);var dt=(0,Te.S)(Array.from(tn),{checked:!1,halfCheckedKeys:yt},l);bt=dt.checkedKeys,yt=dt.halfCheckedKeys}Be=bt,Ne.checkedNodes=[],Ne.checkedNodesPositions=[],Ne.halfCheckedKeys=yt,bt.forEach(function(rt){var Lt=(0,ct.Z)(l,rt);if(Lt){var vt=Lt.node,Mt=Lt.pos;Ne.checkedNodes.push(vt),Ne.checkedNodesPositions.push({node:vt,pos:Mt})}}),a.setUncontrolledState({checkedKeys:bt},!1,{halfCheckedKeys:yt})}Ce==null||Ce(Be,Ne)}),(0,n.Z)((0,f.Z)(a),"onNodeLoad",function(w){var B,P=w.key,W=a.state.keyEntities,l=(0,ct.Z)(W,P);if(!(l!=null&&(B=l.children)!==null&&B!==void 0&&B.length)){var d=new Promise(function(xe,te){a.setState(function(ge){var Ce=ge.loadedKeys,Ze=Ce===void 0?[]:Ce,Be=ge.loadingKeys,Ne=Be===void 0?[]:Be,Le=a.props,gt=Le.loadData,it=Le.onLoad;if(!gt||Ze.includes(P)||Ne.includes(P))return null;var bt=gt(w);return bt.then(function(){var yt=a.state.loadedKeys,tn=(0,pe.L0)(yt,P);it==null||it(tn,{event:"load",node:w}),a.setUncontrolledState({loadedKeys:tn}),a.setState(function(dt){return{loadingKeys:(0,pe._5)(dt.loadingKeys,P)}}),xe()}).catch(function(yt){if(a.setState(function(dt){return{loadingKeys:(0,pe._5)(dt.loadingKeys,P)}}),a.loadingRetryTimes[P]=(a.loadingRetryTimes[P]||0)+1,a.loadingRetryTimes[P]>=Ye){var tn=a.state.loadedKeys;(0,Ae.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),a.setUncontrolledState({loadedKeys:(0,pe.L0)(tn,P)}),xe()}te(yt)}),{loadingKeys:(0,pe.L0)(Ne,P)}})});return d.catch(function(){}),d}}),(0,n.Z)((0,f.Z)(a),"onNodeMouseEnter",function(w,B){var P=a.props.onMouseEnter;P==null||P({event:w,node:B})}),(0,n.Z)((0,f.Z)(a),"onNodeMouseLeave",function(w,B){var P=a.props.onMouseLeave;P==null||P({event:w,node:B})}),(0,n.Z)((0,f.Z)(a),"onNodeContextMenu",function(w,B){var P=a.props.onRightClick;P&&(w.preventDefault(),P({event:w,node:B}))}),(0,n.Z)((0,f.Z)(a),"onFocus",function(){var w=a.props.onFocus;a.setState({focused:!0});for(var B=arguments.length,P=new Array(B),W=0;W1&&arguments[1]!==void 0?arguments[1]:!1,P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!a.destroyed){var W=!1,l=!0,d={};Object.keys(w).forEach(function(xe){if(a.props.hasOwnProperty(xe)){l=!1;return}W=!0,d[xe]=w[xe]}),W&&(!B||l)&&a.setState((0,m.Z)((0,m.Z)({},d),P))}}),(0,n.Z)((0,f.Z)(a),"scrollTo",function(w){a.listRef.current.scrollTo(w)}),a}return(0,g.Z)(T,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var u=this.props,H=u.activeKey,A=u.itemScrollOffset,w=A===void 0?0:A;H!==void 0&&H!==this.state.activeKey&&(this.setState({activeKey:H}),H!==null&&this.scrollTo({key:H,offset:w}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var u=this.state,H=u.focused,A=u.flattenNodes,w=u.keyEntities,B=u.draggingNodeKey,P=u.activeKey,W=u.dropLevelOffset,l=u.dropContainerKey,d=u.dropTargetKey,xe=u.dropPosition,te=u.dragOverNodeKey,ge=u.indent,Ce=this.props,Ze=Ce.prefixCls,Be=Ce.className,Ne=Ce.style,Le=Ce.showLine,gt=Ce.focusable,it=Ce.tabIndex,bt=it===void 0?0:it,yt=Ce.selectable,tn=Ce.showIcon,dt=Ce.icon,rt=Ce.switcherIcon,Lt=Ce.draggable,vt=Ce.checkable,Mt=Ce.checkStrictly,_t=Ce.disabled,Et=Ce.motion,cn=Ce.loadData,mt=Ce.filterTreeNode,ht=Ce.height,zt=Ce.itemHeight,Zt=Ce.scrollWidth,wt=Ce.virtual,Xt=Ce.titleRender,pn=Ce.dropIndicatorRender,zn=Ce.onContextMenu,Hn=Ce.onScroll,ir=Ce.direction,tr=Ce.rootClassName,nr=Ce.rootStyle,bn=(0,J.Z)(this.props,{aria:!0,data:!0}),Vn;Lt&&((0,p.Z)(Lt)==="object"?Vn=Lt:typeof Lt=="function"?Vn={nodeDraggable:Lt}:Vn={});var Un={prefixCls:Ze,selectable:yt,showIcon:tn,icon:dt,switcherIcon:rt,draggable:Vn,draggingNodeKey:B,checkable:vt,checkStrictly:Mt,disabled:_t,keyEntities:w,dropLevelOffset:W,dropContainerKey:l,dropTargetKey:d,dropPosition:xe,dragOverNodeKey:te,indent:ge,direction:ir,dropIndicatorRender:pn,loadData:cn,filterTreeNode:mt,titleRender:Xt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Y.createElement(q.k.Provider,{value:Un},Y.createElement("div",{className:S()(Ze,Be,tr,(0,n.Z)((0,n.Z)((0,n.Z)({},"".concat(Ze,"-show-line"),Le),"".concat(Ze,"-focused"),H),"".concat(Ze,"-active-focused"),P!==null)),style:nr},Y.createElement(L,(0,e.Z)({ref:this.listRef,prefixCls:Ze,style:Ne,data:A,disabled:_t,selectable:yt,checkable:!!vt,motion:Et,dragging:B!==null,height:ht,itemHeight:zt,virtual:wt,focusable:gt,focused:H,tabIndex:bt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:zn,onScroll:Hn,scrollWidth:Zt},this.getTreeNodeRequiredProps(),bn))))}}],[{key:"getDerivedStateFromProps",value:function(u,H){var A=H.prevProps,w={prevProps:u};function B(bt){return!A&&u.hasOwnProperty(bt)||A&&A[bt]!==u[bt]}var P,W=H.fieldNames;if(B("fieldNames")&&(W=(0,be.w$)(u.fieldNames),w.fieldNames=W),B("treeData")?P=u.treeData:B("children")&&((0,Ae.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),P=(0,be.zn)(u.children)),P){w.treeData=P;var l=(0,be.I8)(P,{fieldNames:W});w.keyEntities=(0,m.Z)((0,n.Z)({},et,ce),l.keyEntities)}var d=w.keyEntities||H.keyEntities;if(B("expandedKeys")||A&&B("autoExpandParent"))w.expandedKeys=u.autoExpandParent||!A&&u.defaultExpandParent?(0,pe.r7)(u.expandedKeys,d):u.expandedKeys;else if(!A&&u.defaultExpandAll){var xe=(0,m.Z)({},d);delete xe[et];var te=[];Object.keys(xe).forEach(function(bt){var yt=xe[bt];yt.children&&yt.children.length&&te.push(yt.key)}),w.expandedKeys=te}else!A&&u.defaultExpandedKeys&&(w.expandedKeys=u.autoExpandParent||u.defaultExpandParent?(0,pe.r7)(u.defaultExpandedKeys,d):u.defaultExpandedKeys);if(w.expandedKeys||delete w.expandedKeys,P||w.expandedKeys){var ge=(0,be.oH)(P||H.treeData,w.expandedKeys||H.expandedKeys,W);w.flattenNodes=ge}if(u.selectable&&(B("selectedKeys")?w.selectedKeys=(0,pe.BT)(u.selectedKeys,u):!A&&u.defaultSelectedKeys&&(w.selectedKeys=(0,pe.BT)(u.defaultSelectedKeys,u))),u.checkable){var Ce;if(B("checkedKeys")?Ce=(0,pe.E6)(u.checkedKeys)||{}:!A&&u.defaultCheckedKeys?Ce=(0,pe.E6)(u.defaultCheckedKeys)||{}:P&&(Ce=(0,pe.E6)(u.checkedKeys)||{checkedKeys:H.checkedKeys,halfCheckedKeys:H.halfCheckedKeys}),Ce){var Ze=Ce,Be=Ze.checkedKeys,Ne=Be===void 0?[]:Be,Le=Ze.halfCheckedKeys,gt=Le===void 0?[]:Le;if(!u.checkStrictly){var it=(0,Te.S)(Ne,!0,d);Ne=it.checkedKeys,gt=it.halfCheckedKeys}w.checkedKeys=Ne,w.halfCheckedKeys=gt}}return B("loadedKeys")&&(w.loadedKeys=u.loadedKeys),w}}]),T}(Y.Component);(0,n.Z)(k,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:v,allowDrop:function(){return!0},expandAction:!1}),(0,n.Z)(k,"TreeNode",ke.Z);var K=k,oe=K},82661:function(Tt,re,t){t.d(re,{BT:function(){return Y},E6:function(){return v},L0:function(){return n},OM:function(){return Ae},_5:function(){return N},r7:function(){return X},wA:function(){return S},yx:function(){return D}});var e=t(77654),p=t(43749),m=t(48736),Z=t(59301),R=t(639),g=t(65065),f=t(34061),y=null;function N(i,c){if(!i)return[];var V=i.slice(),ie=V.indexOf(c);return ie>=0&&V.splice(ie,1),V}function n(i,c){var V=(i||[]).slice();return V.indexOf(c)===-1&&V.push(c),V}function D(i){return i.split("-")}function S(i,c){var V=[],ie=(0,g.Z)(c,i);function de(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ke.forEach(function(Re){var ee=Re.key,be=Re.children;V.push(ee),de(be)})}return de(ie.children),V}function O(i){if(i.parent){var c=D(i.pos);return Number(c[c.length-1])===i.parent.children.length-1}return!1}function J(i){var c=D(i.pos);return Number(c[c.length-1])===0}function Ae(i,c,V,ie,de,ke,Re,ee,be,Q){var M,s=i.clientX,_=i.clientY,j=i.target.getBoundingClientRect(),De=j.top,se=j.height,je=(Q==="rtl"?-1:1)*(((de==null?void 0:de.x)||0)-s),et=(je-12)/ie,fe=be.filter(function(oe){var b;return(b=ee[oe])===null||b===void 0||(b=b.children)===null||b===void 0?void 0:b.length}),ce=(0,g.Z)(ee,V.eventKey);if(_-1.5?ke({dragNode:Ye,dropNode:k,dropPosition:1})?pe=1:K=!1:ke({dragNode:Ye,dropNode:k,dropPosition:0})?pe=0:ke({dragNode:Ye,dropNode:k,dropPosition:1})?pe=1:K=!1:ke({dragNode:Ye,dropNode:k,dropPosition:1})?pe=1:K=!1,{dropPosition:pe,dropLevelOffset:Te,dropTargetKey:ce.key,dropTargetPos:ce.pos,dragOverNodeKey:L,dropContainerKey:pe===0?null:((M=ce.parent)===null||M===void 0?void 0:M.key)||null,dropAllowed:K}}function Y(i,c){if(i){var V=c.multiple;return V?i.slice():i.length?[i[0]]:i}}var q=function(c){return c};function ye(i,c){if(!i)return[];var V=c||{},ie=V.processProps,de=ie===void 0?q:ie,ke=Array.isArray(i)?i:[i];return ke.map(function(Re){var ee=Re.children,be=_objectWithoutProperties(Re,y),Q=ye(ee,c);return React.createElement(TreeNode,_extends({key:be.key},de(be)),Q)})}function v(i){if(!i)return null;var c;if(Array.isArray(i))c={checkedKeys:i,halfCheckedKeys:void 0};else if((0,p.Z)(i)==="object")c={checkedKeys:i.checked||void 0,halfCheckedKeys:i.halfChecked||void 0};else return(0,m.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return c}function X(i,c){var V=new Set;function ie(de){if(!V.has(de)){var ke=(0,g.Z)(c,de);if(ke){V.add(de);var Re=ke.parent,ee=ke.node;ee.disabled||Re&&ie(Re.key)}}}return(i||[]).forEach(function(de){ie(de)}),(0,e.Z)(V)}},34643:function(Tt,re,t){t.d(re,{S:function(){return f}});var e=t(48736),p=t(65065);function m(y,N){var n=new Set;return y.forEach(function(D){N.has(D)||n.add(D)}),n}function Z(y){var N=y||{},n=N.disabled,D=N.disableCheckbox,S=N.checkable;return!!(n||D)||S===!1}function R(y,N,n,D){for(var S=new Set(y),O=new Set,J=0;J<=n;J+=1){var Ae=N.get(J)||new Set;Ae.forEach(function(v){var X=v.key,i=v.node,c=v.children,V=c===void 0?[]:c;S.has(X)&&!D(i)&&V.filter(function(ie){return!D(ie.node)}).forEach(function(ie){S.add(ie.key)})})}for(var Y=new Set,q=n;q>=0;q-=1){var ye=N.get(q)||new Set;ye.forEach(function(v){var X=v.parent,i=v.node;if(!(D(i)||!v.parent||Y.has(v.parent.key))){if(D(v.parent.node)){Y.add(X.key);return}var c=!0,V=!1;(X.children||[]).filter(function(ie){return!D(ie.node)}).forEach(function(ie){var de=ie.key,ke=S.has(de);c&&!ke&&(c=!1),!V&&(ke||O.has(de))&&(V=!0)}),c&&S.add(X.key),V&&O.add(X.key),Y.add(X.key)}})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(m(O,S))}}function g(y,N,n,D,S){for(var O=new Set(y),J=new Set(N),Ae=0;Ae<=D;Ae+=1){var Y=n.get(Ae)||new Set;Y.forEach(function(X){var i=X.key,c=X.node,V=X.children,ie=V===void 0?[]:V;!O.has(i)&&!J.has(i)&&!S(c)&&ie.filter(function(de){return!S(de.node)}).forEach(function(de){O.delete(de.key)})})}J=new Set;for(var q=new Set,ye=D;ye>=0;ye-=1){var v=n.get(ye)||new Set;v.forEach(function(X){var i=X.parent,c=X.node;if(!(S(c)||!X.parent||q.has(X.parent.key))){if(S(X.parent.node)){q.add(i.key);return}var V=!0,ie=!1;(i.children||[]).filter(function(de){return!S(de.node)}).forEach(function(de){var ke=de.key,Re=O.has(ke);V&&!Re&&(V=!1),!ie&&(Re||J.has(ke))&&(ie=!0)}),V||O.delete(i.key),ie&&J.add(i.key),q.add(i.key)}})}return{checkedKeys:Array.from(O),halfCheckedKeys:Array.from(m(J,O))}}function f(y,N,n,D){var S=[],O;D?O=D:O=Z;var J=new Set(y.filter(function(ye){var v=!!(0,p.Z)(n,ye);return v||S.push(ye),v})),Ae=new Map,Y=0;Object.keys(n).forEach(function(ye){var v=n[ye],X=v.level,i=Ae.get(X);i||(i=new Set,Ae.set(X,i)),i.add(v),Y=Math.max(Y,X)}),(0,e.ZP)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(ye){return"'".concat(ye,"'")}).join(", ")));var q;return N===!0?q=R(J,Ae,Y,O):q=g(J,N.halfCheckedKeys,Ae,Y,O),q}},65065:function(Tt,re,t){t.d(re,{Z:function(){return e}});function e(p,m){return p[m]}},34061:function(Tt,re,t){t.d(re,{F:function(){return X},H8:function(){return v},I8:function(){return ye},km:function(){return S},oH:function(){return Y},w$:function(){return O},zn:function(){return Ae}});var e=t(43749),p=t(77654),m=t(85899),Z=t(42244),R=t(11592),g=t(2738),f=t(48736),y=t(65065),N=["children"];function n(i,c){return"".concat(i,"-").concat(c)}function D(i){return i&&i.type&&i.type.isTreeNode}function S(i,c){return i!=null?i:c}function O(i){var c=i||{},V=c.title,ie=c._title,de=c.key,ke=c.children,Re=V||"title";return{title:Re,_title:ie||[Re],key:de||"key",children:ke||"children"}}function J(i,c){var V=new Map;function ie(de){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(de||[]).forEach(function(Re){var ee=Re[c.key],be=Re[c.children];warning(ee!=null,"Tree node must have a certain key: [".concat(ke).concat(ee,"]"));var Q=String(ee);warning(!V.has(Q)||ee===null||ee===void 0,"Same 'key' exist in the Tree: ".concat(Q)),V.set(Q,!0),ie(be,"".concat(ke).concat(Q," > "))})}ie(i)}function Ae(i){function c(V){var ie=(0,R.Z)(V);return ie.map(function(de){if(!D(de))return(0,f.ZP)(!de,"Tree/TreeNode can only accept TreeNode as children."),null;var ke=de.key,Re=de.props,ee=Re.children,be=(0,Z.Z)(Re,N),Q=(0,m.Z)({key:ke},be),M=c(ee);return M.length&&(Q.children=M),Q}).filter(function(de){return de})}return c(i)}function Y(i,c,V){var ie=O(V),de=ie._title,ke=ie.key,Re=ie.children,ee=new Set(c===!0?[]:c),be=[];function Q(M){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return M.map(function(_,j){for(var De=n(s?s.pos:"0",j),se=S(_[ke],De),je,et=0;et1&&arguments[1]!==void 0?arguments[1]:{},V=c.initWrapper,ie=c.processEntity,de=c.onProcessFinished,ke=c.externalGetKey,Re=c.childrenPropName,ee=c.fieldNames,be=arguments.length>2?arguments[2]:void 0,Q=ke||be,M={},s={},_={posEntities:M,keyEntities:s};return V&&(_=V(_)||_),q(i,function(j){var De=j.node,se=j.index,je=j.pos,et=j.key,fe=j.parentPos,ce=j.level,Ge=j.nodes,U={node:De,nodes:Ge,index:se,key:et,pos:je,level:ce},ve=S(et,je);M[je]=U,s[ve]=U,U.parent=M[fe],U.parent&&(U.parent.children=U.parent.children||[],U.parent.children.push(U)),ie&&ie(U,_)},{externalGetKey:Q,childrenPropName:Re,fieldNames:ee}),de&&de(_),_}function v(i,c){var V=c.expandedKeys,ie=c.selectedKeys,de=c.loadedKeys,ke=c.loadingKeys,Re=c.checkedKeys,ee=c.halfCheckedKeys,be=c.dragOverNodeKey,Q=c.dropPosition,M=c.keyEntities,s=(0,y.Z)(M,i),_={eventKey:i,expanded:V.indexOf(i)!==-1,selected:ie.indexOf(i)!==-1,loaded:de.indexOf(i)!==-1,loading:ke.indexOf(i)!==-1,checked:Re.indexOf(i)!==-1,halfChecked:ee.indexOf(i)!==-1,pos:String(s?s.pos:""),dragOver:be===i&&Q===0,dragOverGapTop:be===i&&Q===-1,dragOverGapBottom:be===i&&Q===1};return _}function X(i){var c=i.data,V=i.expanded,ie=i.selected,de=i.checked,ke=i.loaded,Re=i.loading,ee=i.halfChecked,be=i.dragOver,Q=i.dragOverGapTop,M=i.dragOverGapBottom,s=i.pos,_=i.active,j=i.eventKey,De=(0,m.Z)((0,m.Z)({},c),{},{expanded:V,selected:ie,checked:de,loaded:ke,loading:Re,halfChecked:ee,dragOver:be,dragOverGapTop:Q,dragOverGapBottom:M,pos:s,active:_,key:j});return"props"in De||Object.defineProperty(De,"props",{get:function(){return(0,f.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),i}}),De}},8224:function(Tt,re,t){t.d(re,{Z:function(){return p}});var e=t(4676);function p(m,Z,R,g){var f=e.unstable_batchedUpdates?function(N){e.unstable_batchedUpdates(R,N)}:R;return m!=null&&m.addEventListener&&m.addEventListener(Z,f,g),{remove:function(){m!=null&&m.removeEventListener&&m.removeEventListener(Z,f,g)}}}},24514:function(Tt,re,t){t.d(re,{G:function(){return Z}});var e=t(47273),p=function(g){if((0,e.Z)()&&window.document.documentElement){var f=Array.isArray(g)?g:[g],y=window.document.documentElement;return f.some(function(N){return N in y.style})}return!1},m=function(g,f){if(!p(g))return!1;var y=document.createElement("div"),N=y.style[g];return y.style[g]=f,y.style[g]!==N};function Z(R,g){return!Array.isArray(R)&&g!==void 0?m(R,g):p(R)}},49658:function(Tt,re){re.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(t==null?void 0:t.substr(0,4))}},48911:function(Tt,re,t){t.d(re,{Z:function(){return Ye}});var e=t(60499),p=t(43749),m=t(85899),Z=t(18642),R=t(72190),g=t(42244),f=t(92310),y=t.n(f),N=t(29301),n=t(70425),D=t(34280),S=t(59301),O=t(4676),J=S.forwardRef(function(k,K){var oe=k.height,b=k.offsetY,ue=k.offsetX,T=k.children,a=k.prefixCls,u=k.onInnerResize,H=k.innerProps,A=k.rtl,w=k.extra,B={},P={display:"flex",flexDirection:"column"};return b!==void 0&&(B={height:oe,position:"relative",overflow:"hidden"},P=(0,m.Z)((0,m.Z)({},P),{},(0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)((0,Z.Z)({transform:"translateY(".concat(b,"px)")},A?"marginRight":"marginLeft",-ue),"position","absolute"),"left",0),"right",0),"top",0))),S.createElement("div",{style:B},S.createElement(N.Z,{onResize:function(l){var d=l.offsetHeight;d&&u&&u()}},S.createElement("div",(0,e.Z)({style:P,className:y()((0,Z.Z)({},"".concat(a,"-holder-inner"),a)),ref:K},H),T,w)))});J.displayName="Filler";var Ae=J;function Y(k){var K=k.children,oe=k.setRef,b=S.useCallback(function(ue){oe(ue)},[]);return S.cloneElement(K,{ref:b})}function q(k,K,oe,b,ue,T,a,u){var H=u.getKey;return k.slice(K,oe+1).map(function(A,w){var B=K+w,P=a(A,B,{style:{width:b},offsetX:ue}),W=H(A);return S.createElement(Y,{key:W,setRef:function(d){return T(A,d)}},P)})}function ye(k,K,oe,b){var ue=oe-k,T=K-oe,a=Math.min(ue,T)*2;if(b<=a){var u=Math.floor(b/2);return b%2?oe+u+1:oe-u}return ue>T?oe-(b-T):oe+(b-ue)}function v(k,K,oe){var b=k.length,ue=K.length,T,a;if(b===0&&ue===0)return null;b2&&arguments[2]!==void 0?arguments[2]:!1,B=H?A<0&&u.current.left||A>0&&u.current.right:A<0&&u.current.top||A>0&&u.current.bottom;return w&&B?(clearTimeout(T.current),ue.current=!1):(!B||ue.current)&&a(),!ue.current&&B}};function de(k,K,oe,b,ue,T,a){var u=(0,S.useRef)(0),H=(0,S.useRef)(null),A=(0,S.useRef)(null),w=(0,S.useRef)(!1),B=ie(K,oe,b,ue);function P(ge,Ce){if(i.Z.cancel(H.current),!B(!1,Ce)){var Ze=ge;if(!Ze._virtualHandled)Ze._virtualHandled=!0;else return;u.current+=Ce,A.current=Ce,V||Ze.preventDefault(),H.current=(0,i.Z)(function(){var Be=w.current?10:1;a(u.current*Be,!1),u.current=0})}}function W(ge,Ce){a(Ce,!0),V||ge.preventDefault()}var l=(0,S.useRef)(null),d=(0,S.useRef)(null);function xe(ge){if(k){i.Z.cancel(d.current),d.current=(0,i.Z)(function(){l.current=null},2);var Ce=ge.deltaX,Ze=ge.deltaY,Be=ge.shiftKey,Ne=Ce,Le=Ze;(l.current==="sx"||!l.current&&Be&&Ze&&!Ce)&&(Ne=Ze,Le=0,l.current="sx");var gt=Math.abs(Ne),it=Math.abs(Le);l.current===null&&(l.current=T&>>it?"x":"y"),l.current==="y"?P(ge,Le):W(ge,Ne)}}function te(ge){k&&(w.current=ge.detail===A.current)}return[xe,te]}function ke(k,K,oe,b){var ue=S.useMemo(function(){return[new Map,[]]},[k,oe.id,b]),T=(0,R.Z)(ue,2),a=T[0],u=T[1],H=function(w){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,P=a.get(w),W=a.get(B);if(P===void 0||W===void 0)for(var l=k.length,d=u.length;d0&&arguments[0]!==void 0?arguments[0]:!1;w();var l=function(){var te=!1;u.current.forEach(function(ge,Ce){if(ge&&ge.offsetParent){var Ze=ge.offsetHeight,Be=getComputedStyle(ge),Ne=Be.marginTop,Le=Be.marginBottom,gt=M(Ne),it=M(Le),bt=Ze+gt+it;H.current.get(Ce)!==bt&&(H.current.set(Ce,bt),te=!0)}}),te&&a(function(ge){return ge+1})};if(W)l();else{A.current+=1;var d=A.current;Promise.resolve().then(function(){d===A.current&&l()})}}function P(W,l){var d=k(W),xe=u.current.get(d);l?(u.current.set(d,l),B()):u.current.delete(d),!xe!=!l&&(l?K==null||K(W):oe==null||oe(W))}return(0,S.useEffect)(function(){return w},[]),[P,B,H.current,T]}var _=14/15;function j(k,K,oe){var b=(0,S.useRef)(!1),ue=(0,S.useRef)(0),T=(0,S.useRef)(0),a=(0,S.useRef)(null),u=(0,S.useRef)(null),H,A=function(W){if(b.current){var l=Math.ceil(W.touches[0].pageX),d=Math.ceil(W.touches[0].pageY),xe=ue.current-l,te=T.current-d,ge=Math.abs(xe)>Math.abs(te);ge?ue.current=l:T.current=d;var Ce=oe(ge,ge?xe:te,!1,W);Ce&&W.preventDefault(),clearInterval(u.current),Ce&&(u.current=setInterval(function(){ge?xe*=_:te*=_;var Ze=Math.floor(ge?xe:te);(!oe(ge,Ze,!0)||Math.abs(Ze)<=.1)&&clearInterval(u.current)},16))}},w=function(){b.current=!1,H()},B=function(W){H(),W.touches.length===1&&!b.current&&(b.current=!0,ue.current=Math.ceil(W.touches[0].pageX),T.current=Math.ceil(W.touches[0].pageY),a.current=W.target,a.current.addEventListener("touchmove",A,{passive:!1}),a.current.addEventListener("touchend",w,{passive:!0}))};H=function(){a.current&&(a.current.removeEventListener("touchmove",A),a.current.removeEventListener("touchend",w))},(0,D.Z)(function(){return k&&K.current.addEventListener("touchstart",B,{passive:!0}),function(){var P;(P=K.current)===null||P===void 0||P.removeEventListener("touchstart",B),H(),clearInterval(u.current)}},[k])}function De(k){return Math.floor(Math.pow(k,.5))}function se(k,K){var oe="touches"in k?k.touches[0]:k;return oe[K?"pageX":"pageY"]-window[K?"scrollX":"scrollY"]}function je(k,K,oe){S.useEffect(function(){var b=K.current;if(k&&b){var ue=!1,T,a,u=function(){i.Z.cancel(T)},H=function P(){u(),T=(0,i.Z)(function(){oe(a),P()})},A=function(){ue=!1,u()},w=function(W){if(!(W.target.draggable||W.button!==0)){var l=W;l._virtualHandled||(l._virtualHandled=!0,ue=!0)}},B=function(W){if(ue){var l=se(W,!1),d=b.getBoundingClientRect(),xe=d.top,te=d.bottom;if(l<=xe){var ge=xe-l;a=-De(ge),H()}else if(l>=te){var Ce=l-te;a=De(Ce),H()}else u()}};return b.addEventListener("mousedown",w),b.ownerDocument.addEventListener("mouseup",A),b.ownerDocument.addEventListener("mousemove",B),b.ownerDocument.addEventListener("dragend",A),function(){b.removeEventListener("mousedown",w),b.ownerDocument.removeEventListener("mouseup",A),b.ownerDocument.removeEventListener("mousemove",B),b.ownerDocument.removeEventListener("dragend",A),u()}}},[k])}var et=10;function fe(k,K,oe,b,ue,T,a,u){var H=S.useRef(),A=S.useState(null),w=(0,R.Z)(A,2),B=w[0],P=w[1];return(0,D.Z)(function(){if(B&&B.times=0;rt-=1){var Lt=ue(K[rt]),vt=oe.get(Lt);if(vt===void 0){ge=!0;break}if(dt-=vt,dt<=0)break}switch(Be){case"top":Ze=Le-xe;break;case"bottom":Ze=gt-te+xe;break;default:{var Mt=k.current.scrollTop,_t=Mt+te;Le_t&&(Ce="bottom")}}Ze!==null&&a(Ze),Ze!==B.lastTop&&(ge=!0)}ge&&P((0,m.Z)((0,m.Z)({},B),{},{times:B.times+1,targetAlign:Ce,lastTop:Ze}))}},[B,k.current]),function(W){if(W==null){u();return}if(i.Z.cancel(H.current),typeof W=="number")a(W);else if(W&&(0,p.Z)(W)==="object"){var l,d=W.align;"index"in W?l=W.index:l=K.findIndex(function(ge){return ue(ge)===W.key});var xe=W.offset,te=xe===void 0?0:xe;P({times:0,index:l,offset:te,originAlign:d})}}}var ce=S.forwardRef(function(k,K){var oe=k.prefixCls,b=k.rtl,ue=k.scrollOffset,T=k.scrollRange,a=k.onStartMove,u=k.onStopMove,H=k.onScroll,A=k.horizontal,w=k.spinSize,B=k.containerSize,P=k.style,W=k.thumbStyle,l=k.showScrollBar,d=S.useState(!1),xe=(0,R.Z)(d,2),te=xe[0],ge=xe[1],Ce=S.useState(null),Ze=(0,R.Z)(Ce,2),Be=Ze[0],Ne=Ze[1],Le=S.useState(null),gt=(0,R.Z)(Le,2),it=gt[0],bt=gt[1],yt=!b,tn=S.useRef(),dt=S.useRef(),rt=S.useState(l),Lt=(0,R.Z)(rt,2),vt=Lt[0],Mt=Lt[1],_t=S.useRef(),Et=function(){l===!0||l===!1||(clearTimeout(_t.current),Mt(!0),_t.current=setTimeout(function(){Mt(!1)},3e3))},cn=T-B||0,mt=B-w||0,ht=S.useMemo(function(){if(ue===0||cn===0)return 0;var tr=ue/cn;return tr*mt},[ue,cn,mt]),zt=function(nr){nr.stopPropagation(),nr.preventDefault()},Zt=S.useRef({top:ht,dragging:te,pageY:Be,startTop:it});Zt.current={top:ht,dragging:te,pageY:Be,startTop:it};var wt=function(nr){ge(!0),Ne(se(nr,A)),bt(Zt.current.top),a(),nr.stopPropagation(),nr.preventDefault()};S.useEffect(function(){var tr=function(Un){Un.preventDefault()},nr=tn.current,bn=dt.current;return nr.addEventListener("touchstart",tr,{passive:!1}),bn.addEventListener("touchstart",wt,{passive:!1}),function(){nr.removeEventListener("touchstart",tr),bn.removeEventListener("touchstart",wt)}},[]);var Xt=S.useRef();Xt.current=cn;var pn=S.useRef();pn.current=mt,S.useEffect(function(){if(te){var tr,nr=function(Un){var Yn=Zt.current,x=Yn.dragging,$=Yn.pageY,tt=Yn.startTop;i.Z.cancel(tr);var E=tn.current.getBoundingClientRect(),C=B/(A?E.width:E.height);if(x){var $e=(se(Un,A)-$)*C,he=tt;!yt&&A?he-=$e:he+=$e;var Se=Xt.current,He=pn.current,Me=He?he/He:0,Qe=Math.ceil(Me*Se);Qe=Math.max(Qe,0),Qe=Math.min(Qe,Se),tr=(0,i.Z)(function(){H(Qe,A)})}},bn=function(){ge(!1),u()};return window.addEventListener("mousemove",nr,{passive:!0}),window.addEventListener("touchmove",nr,{passive:!0}),window.addEventListener("mouseup",bn,{passive:!0}),window.addEventListener("touchend",bn,{passive:!0}),function(){window.removeEventListener("mousemove",nr),window.removeEventListener("touchmove",nr),window.removeEventListener("mouseup",bn),window.removeEventListener("touchend",bn),i.Z.cancel(tr)}}},[te]),S.useEffect(function(){return Et(),function(){clearTimeout(_t.current)}},[ue]),S.useImperativeHandle(K,function(){return{delayHidden:Et}});var zn="".concat(oe,"-scrollbar"),Hn={position:"absolute",visibility:vt?null:"hidden"},ir={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return A?(Object.assign(Hn,{height:8,left:0,right:0,bottom:0}),Object.assign(ir,(0,Z.Z)({height:"100%",width:w},yt?"left":"right",ht))):(Object.assign(Hn,(0,Z.Z)({width:8,top:0,bottom:0},yt?"right":"left",0)),Object.assign(ir,{width:"100%",height:w,top:ht})),S.createElement("div",{ref:tn,className:y()(zn,(0,Z.Z)((0,Z.Z)((0,Z.Z)({},"".concat(zn,"-horizontal"),A),"".concat(zn,"-vertical"),!A),"".concat(zn,"-visible"),vt)),style:(0,m.Z)((0,m.Z)({},Hn),P),onMouseDown:zt,onMouseMove:Et},S.createElement("div",{ref:dt,className:y()("".concat(zn,"-thumb"),(0,Z.Z)({},"".concat(zn,"-thumb-moving"),te)),style:(0,m.Z)((0,m.Z)({},ir),W),onMouseDown:wt}))}),Ge=ce,U=20;function ve(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,oe=k/K*k;return isNaN(oe)&&(oe=0),oe=Math.max(oe,U),Math.floor(oe)}var ae=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],ze=[],L={overflowY:"auto",overflowAnchor:"none"};function pe(k,K){var oe=k.prefixCls,b=oe===void 0?"rc-virtual-list":oe,ue=k.className,T=k.height,a=k.itemHeight,u=k.fullHeight,H=u===void 0?!0:u,A=k.style,w=k.data,B=k.children,P=k.itemKey,W=k.virtual,l=k.direction,d=k.scrollWidth,xe=k.component,te=xe===void 0?"div":xe,ge=k.onScroll,Ce=k.onVirtualScroll,Ze=k.onVisibleChange,Be=k.innerProps,Ne=k.extraRender,Le=k.styles,gt=k.showScrollBar,it=gt===void 0?"optional":gt,bt=(0,g.Z)(k,ae),yt=S.useCallback(function(Je){return typeof P=="function"?P(Je):Je==null?void 0:Je[P]},[P]),tn=s(yt,null,null),dt=(0,R.Z)(tn,4),rt=dt[0],Lt=dt[1],vt=dt[2],Mt=dt[3],_t=!!(W!==!1&&T&&a),Et=S.useMemo(function(){return Object.values(vt.maps).reduce(function(Je,nt){return Je+nt},0)},[vt.id,vt.maps]),cn=_t&&w&&(Math.max(a*w.length,Et)>T||!!d),mt=l==="rtl",ht=y()(b,(0,Z.Z)({},"".concat(b,"-rtl"),mt),ue),zt=w||ze,Zt=(0,S.useRef)(),wt=(0,S.useRef)(),Xt=(0,S.useRef)(),pn=(0,S.useState)(0),zn=(0,R.Z)(pn,2),Hn=zn[0],ir=zn[1],tr=(0,S.useState)(0),nr=(0,R.Z)(tr,2),bn=nr[0],Vn=nr[1],Un=(0,S.useState)(!1),Yn=(0,R.Z)(Un,2),x=Yn[0],$=Yn[1],tt=function(){$(!0)},E=function(){$(!1)},C={getKey:yt};function $e(Je){ir(function(nt){var Ut;typeof Je=="function"?Ut=Je(nt):Ut=Je;var Gt=Dt(Ut);return Zt.current.scrollTop=Gt,Gt})}var he=(0,S.useRef)({start:0,end:zt.length}),Se=(0,S.useRef)(),He=X(zt,yt),Me=(0,R.Z)(He,1),Qe=Me[0];Se.current=Qe;var lt=S.useMemo(function(){if(!_t)return{scrollHeight:void 0,start:0,end:zt.length-1,offset:void 0};if(!cn){var Je;return{scrollHeight:((Je=wt.current)===null||Je===void 0?void 0:Je.offsetHeight)||0,start:0,end:zt.length-1,offset:void 0}}for(var nt=0,Ut,Gt,fn,Dn=zt.length,Fn=0;Fn=Hn&&Ut===void 0&&(Ut=Fn,Gt=nt),Sr>Hn+T&&fn===void 0&&(fn=Fn),nt=Sr}return Ut===void 0&&(Ut=0,Gt=0,fn=Math.ceil(T/a)),fn===void 0&&(fn=zt.length-1),fn=Math.min(fn+1,zt.length-1),{scrollHeight:nt,start:Ut,end:fn,offset:Gt}},[cn,_t,Hn,zt,Mt,T]),ot=lt.scrollHeight,qe=lt.start,Nt=lt.end,Kt=lt.offset;he.current.start=qe,he.current.end=Nt,S.useLayoutEffect(function(){var Je=vt.getRecord();if(Je.size===1){var nt=Array.from(Je.keys())[0],Ut=Je.get(nt),Gt=zt[qe];if(Gt&&Ut===void 0){var fn=yt(Gt);if(fn===nt){var Dn=vt.get(nt),Fn=Dn-a;$e(function(Nn){return Nn+Fn})}}}vt.resetRecord()},[ot]);var pt=S.useState({width:0,height:T}),F=(0,R.Z)(pt,2),le=F[0],Ee=F[1],Ie=function(nt){Ee({width:nt.offsetWidth,height:nt.offsetHeight})},Pe=(0,S.useRef)(),Ke=(0,S.useRef)(),Ue=S.useMemo(function(){return ve(le.width,d)},[le.width,d]),at=S.useMemo(function(){return ve(le.height,ot)},[le.height,ot]),ft=ot-T,$t=(0,S.useRef)(ft);$t.current=ft;function Dt(Je){var nt=Je;return Number.isNaN($t.current)||(nt=Math.min(nt,$t.current)),nt=Math.max(nt,0),nt}var Ct=Hn<=0,St=Hn>=ft,It=bn<=0,Ft=bn>=d,qt=ie(Ct,St,It,Ft),ut=function(){return{x:mt?-bn:bn,y:Hn}},Pt=(0,S.useRef)(ut()),vn=(0,n.zX)(function(Je){if(Ce){var nt=(0,m.Z)((0,m.Z)({},ut()),Je);(Pt.current.x!==nt.x||Pt.current.y!==nt.y)&&(Ce(nt),Pt.current=nt)}});function en(Je,nt){var Ut=Je;nt?((0,O.flushSync)(function(){Vn(Ut)}),vn()):$e(Ut)}function Yt(Je){var nt=Je.currentTarget.scrollTop;nt!==Hn&&$e(nt),ge==null||ge(Je),vn()}var un=function(nt){var Ut=nt,Gt=d?d-le.width:0;return Ut=Math.max(Ut,0),Ut=Math.min(Ut,Gt),Ut},Ot=(0,n.zX)(function(Je,nt){nt?((0,O.flushSync)(function(){Vn(function(Ut){var Gt=Ut+(mt?-Je:Je);return un(Gt)})}),vn()):$e(function(Ut){var Gt=Ut+Je;return Gt})}),jt=de(_t,Ct,St,It,Ft,!!d,Ot),Sn=(0,R.Z)(jt,2),In=Sn[0],Wn=Sn[1];j(_t,Zt,function(Je,nt,Ut,Gt){var fn=Gt;return qt(Je,nt,Ut)?!1:!fn||!fn._virtualHandled?(fn&&(fn._virtualHandled=!0),In({preventDefault:function(){},deltaX:Je?nt:0,deltaY:Je?0:nt}),!0):!1}),je(cn,Zt,function(Je){$e(function(nt){return nt+Je})}),(0,D.Z)(function(){function Je(Ut){var Gt=Ct&&Ut.detail<0,fn=St&&Ut.detail>0;_t&&!Gt&&!fn&&Ut.preventDefault()}var nt=Zt.current;return nt.addEventListener("wheel",In,{passive:!1}),nt.addEventListener("DOMMouseScroll",Wn,{passive:!0}),nt.addEventListener("MozMousePixelScroll",Je,{passive:!1}),function(){nt.removeEventListener("wheel",In),nt.removeEventListener("DOMMouseScroll",Wn),nt.removeEventListener("MozMousePixelScroll",Je)}},[_t,Ct,St]),(0,D.Z)(function(){if(d){var Je=un(bn);Vn(Je),vn({x:Je})}},[le.width,d]);var On=function(){var nt,Ut;(nt=Pe.current)===null||nt===void 0||nt.delayHidden(),(Ut=Ke.current)===null||Ut===void 0||Ut.delayHidden()},An=fe(Zt,zt,vt,a,yt,function(){return Lt(!0)},$e,On);S.useImperativeHandle(K,function(){return{nativeElement:Xt.current,getScrollInfo:ut,scrollTo:function(nt){function Ut(Gt){return Gt&&(0,p.Z)(Gt)==="object"&&("left"in Gt||"top"in Gt)}Ut(nt)?(nt.left!==void 0&&Vn(un(nt.left)),An(nt.top)):An(nt)}}}),(0,D.Z)(function(){if(Ze){var Je=zt.slice(qe,Nt+1);Ze(Je,zt)}},[qe,Nt,zt]);var kn=ke(zt,yt,vt,a),ur=Ne==null?void 0:Ne({start:qe,end:Nt,virtual:cn,offsetX:bn,offsetY:Kt,rtl:mt,getSize:kn}),dr=q(zt,qe,Nt,d,bn,rt,B,C),Xn=null;T&&(Xn=(0,m.Z)((0,Z.Z)({},H?"height":"maxHeight",T),L),_t&&(Xn.overflowY="hidden",d&&(Xn.overflowX="hidden"),x&&(Xn.pointerEvents="none")));var xt={};return mt&&(xt.dir="rtl"),S.createElement("div",(0,e.Z)({ref:Xt,style:(0,m.Z)((0,m.Z)({},A),{},{position:"relative"}),className:ht},xt,bt),S.createElement(N.Z,{onResize:Ie},S.createElement(te,{className:"".concat(b,"-holder"),style:Xn,ref:Zt,onScroll:Yt,onMouseEnter:On},S.createElement(Ae,{prefixCls:b,height:ot,offsetX:bn,offsetY:Kt,scrollWidth:d,onInnerResize:Lt,ref:wt,innerProps:Be,rtl:mt,extra:ur},dr))),cn&&ot>T&&S.createElement(Ge,{ref:Pe,prefixCls:b,scrollOffset:Hn,scrollRange:ot,rtl:mt,onScroll:en,onStartMove:tt,onStopMove:E,spinSize:at,containerSize:le.height,style:Le==null?void 0:Le.verticalScrollBar,thumbStyle:Le==null?void 0:Le.verticalScrollBarThumb,showScrollBar:it}),cn&&d>le.width&&S.createElement(Ge,{ref:Ke,prefixCls:b,scrollOffset:bn,scrollRange:d,rtl:mt,onScroll:en,onStartMove:tt,onStopMove:E,spinSize:Ue,containerSize:le.width,horizontal:!0,style:Le==null?void 0:Le.horizontalScrollBar,thumbStyle:Le==null?void 0:Le.horizontalScrollBarThumb,showScrollBar:it}))}var Te=S.forwardRef(pe);Te.displayName="List";var ct=Te,Ye=ct},76374:function(Tt,re,t){var e=function(){if(typeof Map!="undefined")return Map;function Q(M,s){var _=-1;return M.some(function(j,De){return j[0]===s?(_=De,!0):!1}),_}return function(){function M(){this.__entries__=[]}return Object.defineProperty(M.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),M.prototype.get=function(s){var _=Q(this.__entries__,s),j=this.__entries__[_];return j&&j[1]},M.prototype.set=function(s,_){var j=Q(this.__entries__,s);~j?this.__entries__[j][1]=_:this.__entries__.push([s,_])},M.prototype.delete=function(s){var _=this.__entries__,j=Q(_,s);~j&&_.splice(j,1)},M.prototype.has=function(s){return!!~Q(this.__entries__,s)},M.prototype.clear=function(){this.__entries__.splice(0)},M.prototype.forEach=function(s,_){_===void 0&&(_=null);for(var j=0,De=this.__entries__;j0},Q.prototype.connect_=function(){!p||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),N?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},Q.prototype.disconnect_=function(){!p||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},Q.prototype.onTransitionEnd_=function(M){var s=M.propertyName,_=s===void 0?"":s,j=y.some(function(De){return!!~_.indexOf(De)});j&&this.refresh()},Q.getInstance=function(){return this.instance_||(this.instance_=new Q),this.instance_},Q.instance_=null,Q}(),D=function(Q,M){for(var s=0,_=Object.keys(M);s<_.length;s++){var j=_[s];Object.defineProperty(Q,j,{value:M[j],enumerable:!1,writable:!1,configurable:!0})}return Q},S=function(Q){var M=Q&&Q.ownerDocument&&Q.ownerDocument.defaultView;return M||m},O=V(0,0,0,0);function J(Q){return parseFloat(Q)||0}function Ae(Q){for(var M=[],s=1;s0},Q}(),Re=typeof WeakMap!="undefined"?new WeakMap:new e,ee=function(){function Q(M){if(!(this instanceof Q))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var s=n.getInstance(),_=new ke(M,s,this);Re.set(this,_)}return Q}();["observe","unobserve","disconnect"].forEach(function(Q){ee.prototype[Q]=function(){var M;return(M=Re.get(this))[Q].apply(M,arguments)}});var be=function(){return typeof m.ResizeObserver!="undefined"?m.ResizeObserver:ee}();re.Z=be},62752:function(Tt,re){Object.defineProperty(re,"__esModule",{value:!0}),re.SizeSensorId=re.SensorTabIndex=re.SensorClassName=void 0;var t=re.SizeSensorId="size-sensor-id",e=re.SensorClassName="size-sensor-object",p=re.SensorTabIndex="-1"},25224:function(Tt,re){Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var t=re.default=function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,Z=null;return function(){for(var R=this,g=arguments.length,f=new Array(g),y=0;y>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var OA="",bA=0,MA=R.transparency.length;bA>",j.content=s;var AA=j.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=3};var D=A.__arabicParser__.arabicLetterHasMedialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length==4},y=A.__arabicParser__.resolveLigatures=function(j){var _=0,S=e,iA="",AA=0;for(_=0;_>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(_e.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var w=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return w},set:function(j){w=j}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(j){g=j}});var D=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return D},set:function(j){D=j}});var y=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return y},set:function(j){y=j}});var U=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return U},set:function(j){U=j}});var v=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return v},set:function(j){v=j}});var M=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return M},set:function(j){M=j}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(w){return r.call(this),this.internal.__cell__.headerFunction=typeof w=="function"?w:void 0,this},A.getTextDimensions=function(w,g){r.call(this);var D=(g=g||{}).fontSize||this.getFontSize(),y=g.font||this.getFont(),U=g.scaleFactor||this.internal.scaleFactor,v=0,M=0,j=0,_=this;if(!Array.isArray(w)&&typeof w!="string"){if(typeof w!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");w=String(w)}var S=g.maxWidth;S>0?typeof w=="string"?w=this.splitTextToSize(w,S):Object.prototype.toString.call(w)==="[object Array]"&&(w=w.reduce(function(AA,W){return AA.concat(_.splitTextToSize(W,S))},[])):w=Array.isArray(w)?w:[w];for(var iA=0;iAthis.getPageHeight()?(this.cellAddPage(),w.y=y.top,v&&U&&(this.printHeaderRow(w.lineNumber,!0),w.y+=U[0].height)):w.y=g.y+g.height||w.y),w.text[0]!==void 0&&(this.rect(w.x,w.y,w.width,w.height,e===!0?"FD":void 0),w.align==="right"?this.text(w.text,w.x+w.width-D,w.y+D,{align:"right",baseline:"top"}):w.align==="center"?this.text(w.text,w.x+w.width/2,w.y+D,{align:"center",baseline:"top",maxWidth:w.width-D-D}):this.text(w.text,w.x+D,w.y+D,{align:"left",baseline:"top",maxWidth:w.width-D-D})),this.internal.__cell__.lastCell=w,this};A.table=function(w,g,D,y,U){if(r.call(this),!D)throw new Error("No data for PDF table.");var v,M,j,_,S=[],iA=[],AA=[],W={},FA={},VA=[],NA=[],lA=(U=U||{}).autoSize||!1,Y=U.printHeaders!==!1,DA=U.css&&U.css["font-size"]!==void 0?16*U.css["font-size"]:U.fontSize||12,L=U.margins||Object.assign({width:this.getPageWidth()},t),R=typeof U.padding=="number"?U.padding:3,rA=U.headerBackgroundColor||"#c8c8c8",eA=U.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=Y,this.internal.__cell__.margins=L,this.internal.__cell__.table_font_size=DA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=rA,this.internal.__cell__.headerTextColor=eA,this.setFontSize(DA),y==null)iA=S=Object.keys(D[0]),AA=S.map(function(){return"left"});else if(Array.isArray(y)&&(0,kA.Z)(y[0])==="object")for(S=y.map(function(ue){return ue.name}),iA=y.map(function(ue){return ue.prompt||ue.name||""}),AA=y.map(function(ue){return ue.align||"left"}),v=0;v0&&this.setTableHeaderRow(U),this.setFont(void 0,"normal"),e=!1}}(_e.API);var Zr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Yi=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Dn=rr(Yi),yn=[100,200,300,400,500,600,700,800,900],ta=rr(yn);function ri(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return Zr[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Dn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Ji(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function R0(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function K0(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(D,U)}})(A,s,k0(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,w=null;s&&(f=t,w=h,t+=3*h);var g=!0,D=[],y=0,U=null,v=0,M=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var j=A[t++];y=A[t++]|A[t++]<<8,U=A[t++],1&j||(U=null),v=j>>2&7,t++;break;case 254:for(;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var _=A[t++]|A[t++]<<8,S=A[t++]|A[t++]<<8,iA=A[t++]|A[t++]<<8,AA=A[t++]|A[t++]<<8,W=A[t++],FA=W>>6&1,VA=1<<1+(7&W),NA=f,lA=w,Y=!1;W>>7&&(Y=!0,NA=t,lA=VA,t+=3*VA);var DA=t;for(t++;;){var L;if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}D.push({x:_,y:S,width:iA,height:AA,has_local_palette:Y,palette_offset:NA,palette_size:lA,data_offset:DA,data_length:t-DA,transparent_index:U,interlaced:!!FA,delay:y,disposal:v});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return D.length},this.loopCount=function(){return M},this.frameInfo=function(R){if(R<0||R>=D.length)throw new Error("Frame index out of range.");return D[R]},this.decodeAndBlitFrameBGRA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=be,rA[$++]=le,rA[$++]=JA,rA[$++]=255}--ZA}},this.decodeAndBlitFrameRGBA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=JA,rA[$++]=le,rA[$++]=be,rA[$++]=255}--ZA}}}function G0(A,t,e,r){for(var n=A[t++],s=1<>=w,D-=w,_!==s){if(_===h)break;for(var S=_s;)AA=M[AA]>>8,++iA;var W=AA;if(U+iA+(S!==_?1:0)>r)return void lr.log("Warning, gif stream longer than expected.");e[U++]=W;var FA=U+=iA;for(S!==_&&(e[U++]=W),AA=S;iA--;)AA=M[AA],e[--FA]=255&AA,AA>>=8;j!==null&&f<4096&&(M[f++]=j<<8|W,f>=g+1&&w<12&&(++w,g=g<<1|1)),j=_}else f=h+1,g=(1<<(w=n+1))-1,j=null}return U!==r&&lr.log("Warning, gif stream shorter than expected."),e}function Fg(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),w=new Array(64),g=new Array(64),D=new Array(64),y=new Array(65535),U=new Array(65535),v=new Array(64),M=new Array(64),j=[],_=0,S=7,iA=new Array(64),AA=new Array(64),W=new Array(64),FA=new Array(256),VA=new Array(2048),NA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],lA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Y=[0,1,2,3,4,5,6,7,8,9,10,11],DA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],rA=[0,1,2,3,4,5,6,7,8,9,10,11],eA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],EA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function SA(x,z){for(var $=0,sA=0,dA=new Array,CA=1;CA<=16;CA++){for(var HA=1;HA<=x[CA];HA++)dA[z[sA]]=[],dA[z[sA]][0]=$,dA[z[sA]][1]=CA,sA++,$++;$*=2}return dA}function OA(x){for(var z=x[0],$=x[1]-1;$>=0;)z&1<<$&&(_|=1<>8&255),bA(255&x)}function ue(x,z,$,sA,dA){for(var CA,HA=dA[0],TA=dA[240],JA=function(ae,rt){var je,et,Xe,ir,Ot,Bt,_t,Tt,Ge,Pt,We=0;for(Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+1],Xe=ae[We+2],ir=ae[We+3],Ot=ae[We+4],Bt=ae[We+5],_t=ae[We+6];var Rr=je+(Tt=ae[We+7]),Yt=je-Tt,Et=et+_t,It=et-_t,Qr=Xe+Bt,Ze=Xe-Bt,Br=ir+Ot,lt=ir-Ot,vt=Rr+Br,Fr=Rr-Br,Lt=Et+Qr,it=Et-Qr;ae[We]=vt+Lt,ae[We+4]=vt-Lt;var sr=.707106781*(it+Fr);ae[We+2]=Fr+sr,ae[We+6]=Fr-sr;var Ro=.382683433*((vt=lt+Ze)-(it=It+Yt)),Tn=.5411961*vt+Ro,na=1.306562965*it+Ro,Us=.707106781*(Lt=Ze+It),st=Yt+Us,ia=Yt-Us;ae[We+5]=ia+Tn,ae[We+3]=ia-Tn,ae[We+1]=st+na,ae[We+7]=st-na,We+=8}for(We=0,Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+8],Xe=ae[We+16],ir=ae[We+24],Ot=ae[We+32],Bt=ae[We+40],_t=ae[We+48];var sa=je+(Tt=ae[We+56]),Ii=je-Tt,xi=et+_t,jr=et-_t,mn=Xe+Bt,bn=Xe-Bt,Ko=ir+Ot,Ga=ir-Ot,$i=sa+Ko,Es=sa-Ko,As=xi+mn,es=xi-mn;ae[We]=$i+As,ae[We+32]=$i-As;var Li=.707106781*(es+Es);ae[We+16]=Es+Li,ae[We+48]=Es-Li;var ko=.382683433*(($i=Ga+bn)-(es=jr+Ii)),Is=.5411961*$i+ko,Go=1.306562965*es+ko,Xl=.707106781*(As=bn+jr),Zl=Ii+Xl,ql=Ii-Xl;ae[We+40]=ql+Is,ae[We+24]=ql-Is,ae[We+8]=Zl+Go,ae[We+56]=Zl-Go,We++}for(Ge=0;Ge<64;++Ge)Pt=ae[Ge]*rt[Ge],v[Ge]=Pt>0?Pt+.5|0:Pt-.5|0;return v}(x,z),le=0;le<64;++le)M[NA[le]]=JA[le];var be=M[0]-$;$=M[0],be==0?OA(sA[0]):(OA(sA[U[CA=32767+be]]),OA(y[CA]));for(var Pe=63;Pe>0&&M[Pe]==0;)Pe--;if(Pe==0)return OA(HA),$;for(var Je,K=1;K<=Pe;){for(var Qe=K;M[K]==0&&K<=Pe;)++K;var Ft=K-Qe;if(Ft>=16){Je=Ft>>4;for(var tt=1;tt<=Je;++tt)OA(TA);Ft&=15}CA=32767+M[K],OA(dA[(Ft<<4)+U[CA]]),OA(y[CA]),K++}return Pe!=63&&OA(HA),$}function ZA(x){x=Math.min(Math.max(x,1),100),s!=x&&(function(z){for(var $=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],sA=0;sA<64;sA++){var dA=h(($[sA]*z+50)/100);dA=Math.min(Math.max(dA,1),255),f[NA[sA]]=dA}for(var CA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],HA=0;HA<64;HA++){var TA=h((CA[HA]*z+50)/100);TA=Math.min(Math.max(TA,1),255),w[NA[HA]]=TA}for(var JA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],le=0,be=0;be<8;be++)for(var Pe=0;Pe<8;Pe++)g[le]=1/(f[NA[le]]*JA[be]*JA[Pe]*8),D[le]=1/(w[NA[le]]*JA[be]*JA[Pe]*8),le++}(x<50?Math.floor(5e3/x):Math.floor(200-2*x)),s=x)}this.encode=function(x,z){z&&ZA(z),j=new Array,_=0,S=7,MA(65496),MA(65504),MA(16),bA(74),bA(70),bA(73),bA(70),bA(0),bA(1),bA(1),bA(0),MA(1),MA(1),bA(0),bA(0),function(){MA(65499),MA(132),bA(0);for(var et=0;et<64;et++)bA(f[et]);bA(1);for(var Xe=0;Xe<64;Xe++)bA(w[Xe])}(),function(et,Xe){MA(65472),MA(17),bA(8),MA(Xe),MA(et),bA(3),bA(1),bA(17),bA(0),bA(2),bA(17),bA(1),bA(3),bA(17),bA(1)}(x.width,x.height),function(){MA(65476),MA(418),bA(0);for(var et=0;et<16;et++)bA(lA[et+1]);for(var Xe=0;Xe<=11;Xe++)bA(Y[Xe]);bA(16);for(var ir=0;ir<16;ir++)bA(DA[ir+1]);for(var Ot=0;Ot<=161;Ot++)bA(L[Ot]);bA(1);for(var Bt=0;Bt<16;Bt++)bA(R[Bt+1]);for(var _t=0;_t<=11;_t++)bA(rA[_t]);bA(17);for(var Tt=0;Tt<16;Tt++)bA(eA[Tt+1]);for(var Ge=0;Ge<=161;Ge++)bA(EA[Ge])}(),MA(65498),MA(12),bA(3),bA(1),bA(0),bA(2),bA(17),bA(3),bA(17),bA(0),bA(63),bA(0);var $=0,sA=0,dA=0;_=0,S=7,this.encode.displayName="_encode_";for(var CA,HA,TA,JA,le,be,Pe,Je,K,Qe=x.data,Ft=x.width,tt=x.height,ae=4*Ft,rt=0;rt>3)*ae+(Pe=4*(7&K)),rt+Je>=tt&&(be-=ae*(rt+1+Je-tt)),CA+Pe>=ae&&(be-=CA+Pe-ae+4),HA=Qe[be++],TA=Qe[be++],JA=Qe[be++],iA[K]=(VA[HA]+VA[TA+256|0]+VA[JA+512|0]>>16)-128,AA[K]=(VA[HA+768|0]+VA[TA+1024|0]+VA[JA+1280|0]>>16)-128,W[K]=(VA[HA+1280|0]+VA[TA+1536|0]+VA[JA+1792|0]>>16)-128;$=ue(iA,g,$,t,r),sA=ue(AA,D,sA,e,n),dA=ue(W,D,dA,e,n),CA+=32}rt+=8}if(S>=0){var je=[];je[1]=S+1,je[0]=(1<R;R++)if(Y[DA+R]!=L.charCodeAt(R))return!0;return!1}function r(Y,DA,L,R,rA){for(var eA=0;eAeA+1?[]:new DA),!(EA.length>>0;a&B;)B>>>=1;return B?(a&B-1)+B:a}function L(a,u,B,P,Q){t(!(P%B));do a[u+(P-=B)]=Q;while(0=Q),512>=Q)var E=s(512);else if((E=s(Q))==null)return 0;return function(I,N,H,k,oA,QA){var G,hA,mA=N,KA=1<G;++G){if(yA[G]>1<(yt-=yA[G]))return 0;for(;0=G;++G,oA<<=1){if(He+=yt<<=1,0>(yt-=yA[G]))return 0;for(;0oe&&!(0>=(YA-=yA[oe]));)++oe,YA<<=1;KA+=Re=1<<(YA=oe-H),I[N+(oe=ze&te)].g=YA+H,I[N+oe].value=mA-N-oe}k.g=G-H,k.value=QA[hA++],L(I,mA+(ze>>H),oA,Re,k),ze=DA(ze,G)}}return He!=2*zA[15]-1?0:KA}(a,u,B,P,Q,E)}function rA(){this.value=this.g=0}function eA(){this.value=this.g=0}function EA(){this.G=h(5,rA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(el,eA)}function SA(a,u,B,P){t(a!=null),t(u!=null),t(2147483648>P),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=u,a.pa=B,a.Jd=u,a.Yc=B+P,a.Zc=4<=P?B+P-4+1:B,HA(a)}function OA(a,u){for(var B=0;0P),a.Sb=P,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;sA(a)&&(a.h=1,a.u=0)}function ZA(a,u){if(t(0<=u),!a.h&&u<=hi){var B=$(a)&fi[u];return a.u+=u,ue(a),B}return a.h=1,a.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function $(a){return a.Ra>>>(a.u&Ya-1)>>>0}function sA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Ya}function dA(a,u){a.u=u,a.h=sA(a)}function CA(a){a.u>=pa&&(t(a.u>=pa),ue(a))}function HA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&HA(a);var P=a.b,Q=B*u>>>8,E=(a.I>>>P>Q)+0;for(E?(B-=Q,a.I-=Q+1<

>>0):B=Q+1,P=B,Q=0;256<=P;)Q+=8,P>>=8;return P=7^Q+Ja[P],a.b-=P,a.Ca=(B<>24&255,a[u+1]=B>>16&255,a[u+2]=B>>8&255,a[u+3]=255&B}function be(a,u){return a[u+0]|a[u+1]<<8}function Pe(a,u){return be(a,u)|a[u+2]<<16}function Je(a,u){return be(a,u)|be(a,u+2)<<16}function K(a,u){var B=1<=Q||0>=E?0:(B[0]=Q,P[0]=E,1)}function ae(a,u){return a+(1<>>u}function rt(a,u){return((4278255360&a)+(4278255360&u)>>>0&4278255360)+((16711935&a)+(16711935&u)>>>0&16711935)>>>0}function je(a,u){Y[u]=function(B,P,Q,E,I,N,H){var k;for(k=0;k>>1)+(a&u)>>>0}function ir(a){return 0<=a&&256>a?a:0>a?0:255>1))}function Bt(a,u,B){return Math.abs(u-B)-Math.abs(a-B)}function _t(a,u,B,P,Q,E,I){for(P=E[I-1],B=0;B>8&255,H=16711935&(H=(H=16711935&I)+((N<<16)+N));P[Q+E]=(4278255360&I)+H>>>0}}function Ge(a,u){u.jd=255&a,u.hd=a>>8&255,u.ud=a>>16&255}function Pt(a,u,B,P,Q,E){var I;for(I=0;I>>8,k=N,oA=255&(oA=(oA=N>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));k=255&(k=(k+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(oA<<24>>24)>>>5)),Q[E+I]=(4278255360&N)+(oA<<16)+k}}function We(a,u,B,P,Q){Y[u]=function(E,I,N,H,k,oA,QA,G,hA){for(H=QA;H>E.b,hA=E.Ea,mA=E.K[0],KA=E.w;if(8>G)for(E=(1<>=G}else Y["VP8LMapColor"+B](H,k,mA,KA,oA,QA,I,N,hA)}}function Rr(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E}}function Yt(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E,P[Q++]=E>>24&255}}function Et(a,u,B,P,Q){for(B=u+B;u>16&240|I>>12&15,I=240&I|I>>28&15;P[Q++]=E,P[Q++]=I}}function It(a,u,B,P,Q){for(B=u+B;u>16&248|I>>13&7,I=I>>5&224|I>>3&31;P[Q++]=E,P[Q++]=I}}function Qr(a,u,B,P,Q){for(B=u+B;u>8&255,P[Q++]=E>>16&255}}function Ze(a,u,B,P,Q,E){if(E==0)for(B=u+B;u>24|E[1]>>8&65280|E[2]<<8&16711680|E[3]<<24)>>>0),Q+=32;else r(P,Q,a,u,B)}function Br(a,u){Y[u][0]=Y[a+"0"],Y[u][1]=Y[a+"1"],Y[u][2]=Y[a+"2"],Y[u][3]=Y[a+"3"],Y[u][4]=Y[a+"4"],Y[u][5]=Y[a+"5"],Y[u][6]=Y[a+"6"],Y[u][7]=Y[a+"7"],Y[u][8]=Y[a+"8"],Y[u][9]=Y[a+"9"],Y[u][10]=Y[a+"10"],Y[u][11]=Y[a+"11"],Y[u][12]=Y[a+"12"],Y[u][13]=Y[a+"13"],Y[u][14]=Y[a+"0"],Y[u][15]=Y[a+"0"]}function lt(a){return a==zg||a==Wg||a==bw||a==Yg}function vt(){this.eb=[],this.size=this.A=this.fb=0}function Fr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Lt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new vt,this.f.kb=new Fr,this.sd=null}function it(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function sr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ro(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function Tn(a,u){var B=a.T,P=u.ba.f.RGBA,Q=P.eb,E=P.fb+a.ka*P.A,I=Ti[u.ba.S],N=a.y,H=a.O,k=a.f,oA=a.N,QA=a.ea,G=a.W,hA=u.cc,mA=u.dc,KA=u.Mc,yA=u.Nc,zA=a.ka,YA=a.ka+a.T,oe=a.U,te=oe+1>>1;for(zA==0?I(N,H,null,null,k,oA,QA,G,k,oA,QA,G,Q,E,null,null,oe):(I(u.ec,u.fc,N,H,hA,mA,KA,yA,k,oA,QA,G,Q,E-P.A,Q,E,oe),++B);zA+2B,Q=B==Pw||B==Cw||B==yw||B==Vg||B==12||lt(B);if(u.memory=null,u.Ib=null,u.Jb=null,u.Nd=null,!Ou(u.Oa,a,Q?11:12))return 0;if(Q&<(B)&&Nu(),a.da)alert("todo:use_scaling");else{if(P){if(u.Ib=Ro,a.Kb){if(B=a.U+1>>1,u.memory=s(a.U+2*B),u.memory==null)return 0;u.ec=u.memory,u.fc=0,u.cc=u.ec,u.dc=u.fc+a.U,u.Mc=u.cc,u.Nc=u.dc+B,u.Ib=Tn,Nu()}}else alert("todo:EmitYUV");Q&&(u.Jb=na,P&&rs())}if(P&&!vp){for(a=0;256>a;++a)pB[a]=89858*(a-128)+Fw>>Qw,DB[a]=-22014*(a-128)+Fw,vB[a]=-45773*(a-128),BB[a]=113618*(a-128)+Fw>>Qw;for(a=Wu;a>Qw,mB[a-Wu]=xs(u,255),PB[a-Wu]=xs(u+8>>4,15);vp=1}return 1}function st(a){var u=a.ma,B=a.U,P=a.T;return t(!(1&a.ka)),0>=B||0>=P?0:(B=u.Ib(a,u),u.Jb!=null&&u.Jb(a,u,B),u.Dc+=B,1)}function ia(a){a.ma.memory=null}function sa(a,u,B,P){return ZA(a,8)!=47?0:(u[0]=ZA(a,14)+1,B[0]=ZA(a,14)+1,P[0]=ZA(a,1),ZA(a,3)!=0?0:!a.h)}function Ii(a,u){if(4>a)return a+1;var B=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&B)))?B:1;var B}function jr(a,u,B){var P=$(B),Q=a[u+=255&P].g-8;return 0>>0,t(8>=B.g),a.g}function bn(a,u,B){var P=a.xc;return t((u=P==0?0:a.vc[a.md*(B>>P)+(u>>P)])>Re.b)*He;KAoe&&(Ke=oe),(0,Ru[Rt[ln++]>>8&15])(G,hA+ +bt,zA,YA+bt-oe,Ke-bt,zA,YA+bt),bt=Ke}hA+=oe,YA+=oe,++KA&ze||(Re+=He)}QA!=k.nc&&r(H,N-mA,H,N+(QA-oA-1)*mA,mA);break;case 1:for(mA=G,yA=hA,oe=(G=k.Ea)-(YA=G&~(zA=(hA=1<>k.b)*KA;oA=Q),0E.o&&(P=E.o),B=P?B=0:(Q[0]+=4*E.v,E.ka=B-E.j,E.U=E.va-E.v,E.T=P-B,B=1),B){if(N=N[0],11>(B=a.ca).S){var oA=B.f.RGBA,QA=(P=B.S,Q=E.U,E=E.T,k=oA.eb,oA.A),G=E;for(oA=oA.fb+a.Ma*oA.A;0P){var Q=a.l.width,E=B.ca,I=B.tb+Q*P,N=a.V,H=a.Ba+a.c*P,k=a.gc;t(a.ab==1),t(k[0].hc==3),Hs(k[0],P,u,N,H,E,I),Es(B,P,u,E,I,Q)}a.C=a.Ma=u}function es(a,u,B,P,Q,E,I){var N=a.$/P,H=a.$%P,k=a.m,oA=a.s,QA=B+a.$,G=QA;Q=B+P*Q;var hA=B+P*E,mA=280+oA.ua,KA=a.Pb?N:16777216,yA=0=KA){var ze=QA-B;t((KA=a).Pb),KA.wd=KA.m,KA.xd=ze,0yt.g?(dA(te,te.u+yt.g),ze[He]=yt.value,te=0):(dA(te,te.u+yt.g-256),t(256<=yt.value),te=yt.value),te==0&&(oe=!0)}else te=jr(YA.G[0],YA.H[0],k);if(k.h)break;if(oe||256>te){if(!oe)if(YA.nd)u[QA]=(YA.qb|te<<8)>>>0;else{if(CA(k),oe=jr(YA.G[1],YA.H[1],k),CA(k),ze=jr(YA.G[2],YA.H[2],k),He=jr(YA.G[3],YA.H[3],k),k.h)break;u[QA]=(He<<24|oe<<16|te<<8|ze)>>>0}if(oe=!1,++QA,++H>=P&&(H=0,++N,I!=null&&N<=E&&!(N%16)&&I(a,N),yA!=null))for(;G>>yA.Mb]=te}else if(280>te){if(te=Ii(te-256,k),ze=jr(YA.G[4],YA.H[4],k),CA(k),ze=xi(P,ze=Ii(ze,k)),k.h)break;if(QA-B=P;)H-=P,++N,I!=null&&N<=E&&!(N%16)&&I(a,N);if(t(QA<=Q),H&zA&&(YA=bn(oA,H,N)),yA!=null)for(;G>>yA.Mb]=te}else{if(!(te>>yA.Mb]=te;te=QA,t(!(oe>>>(ze=yA).Xa)),u[te]=ze.X[oe],oe=!0}oe||t(k.h==sA(k))}if(a.Pb&&k.h&&QAE?E:N),a.a=0,a.$=QA-B}return 1}return a.a=3,0}function Li(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var u=a.Wa;u!=null&&(u.X=null),a.vb=null,t(a!=null)}function ko(){var a=new wt;return a==null?null:(a.a=0,a.xb=hp,Br("Predictor","VP8LPredictors"),Br("Predictor","VP8LPredictors_C"),Br("PredictorAdd","VP8LPredictorsAdd"),Br("PredictorAdd","VP8LPredictorsAdd_C"),Kr=Tt,Ku=Pt,ku=Rr,Xa=Yt,Za=Et,qa=It,tl=Qr,Y.VP8LMapColor32b=Ns,Y.VP8LMapColor8b=_u,a)}function Is(a,u,B,P,Q){var E=1,I=[a],N=[u],H=P.m,k=P.s,oA=null,QA=0;A:for(;;){if(B)for(;E&&ZA(H,1);){var G=I,hA=N,mA=P,KA=1,yA=mA.m,zA=mA.gc[mA.ab],YA=ZA(yA,2);if(mA.Oc&1<=mA.ab),YA){case 0:case 1:zA.b=ZA(yA,3)+2,KA=Is(ae(zA.Ea,zA.b),ae(zA.nc,zA.b),0,mA,zA.K),zA.K=zA.K[0];break;case 3:var oe,te=ZA(yA,8)+1,ze=16>Re.b),ln=s(Rt);if(ln==null)oe=0;else{var bt=Re.K[0],Ke=Re.w;for(ln[0]=Re.K[0][0],He=1;He<1*yt;++He)ln[He]=rt(bt[Ke+He],ln[He-1]);for(;He<4*Rt;++He)ln[He]=0;Re.K[0]=null,Re.K[0]=ln,oe=1}}KA=oe;break;case 2:break;default:t(0)}E=KA}}if(I=I[0],N=N[0],E&&ZA(H,1)&&!(E=1<=(QA=ZA(H,4))&&11>=QA)){P.a=3;break A}var ve;if(ve=E)e:{var Gr,Dt,kt,Cr=P,Un=I,Yn=N,Or=QA,Mn=B,Jn=Cr.m,cn=Cr.s,Xt=[null],cr=1,Tr=0,ur=nB[Or];t:for(;;){if(Mn&&ZA(Jn,1)){var En=ZA(Jn,3)+2,is=ae(Un,En),Vr=ae(Yn,En),ni=is*Vr;if(!Is(is,Vr,0,Cr,Xt))break t;for(Xt=Xt[0],cn.xc=En,Gr=0;Gr>8&65535;Xt[Gr]=gr,gr>=cr&&(cr=gr+1)}}if(Jn.h)break t;for(Dt=0;5>Dt;++Dt){var un=up[Dt];!Dt&&0=Xn),pi=gi;var ii=s(Tr);if(pi==null||ii==null||di==null){Cr.a=1;break t}var Bi=di;for(Gr=kt=0;GrDt;++Dt){un=up[Dt],vi[Dt]=Bi,ss[Dt]=kt,!Dt&&0Sw)break r}else A0=Sw;for(Ju=0;Juoc)Qp[Ju++]=oc,oc!=0&&(Fp=oc);else{var LB=oc==16,Ip=oc-16,SB=AB[Ip],xp=ZA(ro,$p[Ip])+SB;if(Ju+xp>Sw)break r;for(var NB=LB?Fp:0;0=Dt){var Xu,t0=ii[0];for(Xu=1;Xut0&&(t0=ii[Xu]);In+=t0}}if(Dr.nd=Da,Dr.Qb=0,Da&&(Dr.qb=(vi[3][ss[3]+0].value<<24|vi[1][ss[1]+0].value<<16|vi[2][ss[2]+0].value)>>>0,nl==0&&256>vi[0][ss[0]+0].value&&(Dr.Qb=1,Dr.qb+=vi[0][ss[0]+0].value<<8)),Dr.jc=!Dr.Qb&&6>In,Dr.jc){var Nw,ma=Dr;for(Nw=0;Nw>=mn(Hw,8,io),no>>=mn(ma.G[1][ma.H[1]+no],16,io),no>>=mn(ma.G[2][ma.H[2]+no],0,io),mn(ma.G[3][ma.H[3]+no],24,io))}}}cn.vc=Xt,cn.Wb=cr,cn.Ya=pi,cn.yc=di,ve=1;break e}ve=0}if(!(E=ve)){P.a=3;break A}if(0P+1?[]:0),!(Q.lengtha?0:a>u?u:a}function $l(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Eg(){var a=new iw;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,zu||(zu=Ac)),a}function qr(a,u,B){return a.a==0&&(a.a=u,a.sc=B,a.cb=0),0}function sw(a,u,B){return 3<=B&&a[u+0]==157&&a[u+1]==1&&a[u+2]==42}function Ls(a,u){if(a==null)return 0;if(a.a=0,a.sc="OK",u==null)return qr(a,2,"null VP8Io passed to VP8GetHeaders()");var B=u.data,P=u.w,Q=u.ha;if(4>Q)return qr(a,7,"Truncated header.");var E=B[P+0]|B[P+1]<<8|B[P+2]<<16,I=a.Od;if(I.Rb=!(1&E),I.td=E>>1&7,I.yd=E>>4&1,I.ub=E>>5,3Q)return qr(a,7,"cannot parse picture header");if(!sw(B,P,Q))return qr(a,3,"Bad code word");N.c=16383&(B[P+4]<<8|B[P+3]),N.Td=B[P+4]>>6,N.i=16383&(B[P+6]<<8|B[P+5]),N.Ud=B[P+6]>>6,P+=7,Q-=7,a.za=N.c+15>>4,a.Ub=N.i+15>>4,u.width=N.c,u.height=N.i,u.Da=0,u.j=0,u.v=0,u.va=u.width,u.o=u.height,u.da=0,u.ib=u.width,u.hb=u.height,u.U=u.width,u.T=u.height,n((E=a.Pa).jb,0,255,E.jb.length),t((E=a.Qa)!=null),E.Cb=0,E.Bb=0,E.Fb=1,n(E.Zb,0,0,E.Zb.length),n(E.Lb,0,0,E.Lb)}if(I.ub>Q)return qr(a,7,"bad partition length");SA(E=a.m,B,P,I.ub),P+=I.ub,Q-=I.ub,I.Rb&&(N.Ld=TA(E),N.Kd=TA(E)),N=a.Qa;var H,k=a.Pa;if(t(E!=null),t(N!=null),N.Cb=TA(E),N.Cb){if(N.Bb=TA(E),TA(E)){for(N.Fb=TA(E),H=0;4>H;++H)N.Zb[H]=TA(E)?bA(E,7):0;for(H=0;4>H;++H)N.Lb[H]=TA(E)?bA(E,6):0}if(N.Bb)for(H=0;3>H;++H)k.jb[H]=TA(E)?OA(E,8):255}else N.Bb=0;if(E.Ka)return qr(a,3,"cannot parse segment header");if((N=a.ed).zd=TA(E),N.Tb=OA(E,6),N.wb=OA(E,3),N.Pc=TA(E),N.Pc&&TA(E)){for(k=0;4>k;++k)TA(E)&&(N.vd[k]=bA(E,6));for(k=0;4>k;++k)TA(E)&&(N.od[k]=bA(E,6))}if(a.L=N.Tb==0?0:N.zd?1:2,E.Ka)return qr(a,3,"cannot parse filter header");var oA=Q;if(Q=H=P,P=H+oA,N=oA,a.Xb=(1<N&&(QA=N),SA(a.Jc[+oA],B,H,QA),H+=QA,N-=QA,Q+=3}SA(a.Jc[+k],B,H,N),B=HQA;++QA){if(oA.Cb){var G=oA.Zb[QA];oA.Fb||(G+=B)}else{if(0>16,8>hA.Eb[1]&&(hA.Eb[1]=8),hA.Qc[0]=Jg[xs(G+k,117)],hA.Qc[1]=Xg[xs(G+H,127)],hA.lc=G+H}if(!I.Rb)return qr(a,4,"Not a key frame.");for(TA(E),I=a.Pa,B=0;4>B;++B){for(Q=0;8>Q;++Q)for(P=0;3>P;++P)for(N=0;11>N;++N)k=JA(E,cB[B][Q][P][N])?OA(E,8):oB[B][Q][P][N],I.Wc[B][Q].Yb[P][N]=k;for(Q=0;17>Q;++Q)I.Xc[B][Q]=I.Wc[B][uB[Q]]}return a.kc=TA(E),a.kc&&(a.Bd=OA(E,8)),a.cb=1}function Ac(a,u,B,P,Q,E,I){var N=u[Q].Yb[B];for(B=0;16>Q;++Q){if(!JA(a,N[B+0]))return Q;for(;!JA(a,N[B+1]);)if(N=u[++Q].Yb[0],B=0,Q==16)return 16;var H=u[Q+1].Yb;if(JA(a,N[B+2])){var k=a,oA=0;if(JA(k,(G=N)[(QA=B)+3]))if(JA(k,G[QA+6])){for(N=0,QA=2*(oA=JA(k,G[QA+8]))+(G=JA(k,G[QA+9+oA])),oA=0,G=sB[QA];G[N];++N)oA+=oA+JA(k,G[N]);oA+=3+(8<(k=a).b&&HA(k);var QA,G=k.b,hA=(QA=k.Ca>>1)-(k.I>>G)>>31;--k.b,k.Ca+=hA,k.Ca|=1,k.I-=(QA+1&hA)<>3),a[u+B+32*P]=-256&Q?0>Q?0:255:Q}function sn(a,u,B,P,Q,E){Ni(a,u,0,B,P+Q),Ni(a,u,1,B,P+E),Ni(a,u,2,B,P-E),Ni(a,u,3,B,P-Q)}function aa(a){return(20091*a>>16)+a}function ow(a,u,B,P){var Q,E=0,I=s(16);for(Q=0;4>Q;++Q){var N=a[u+0]+a[u+8],H=a[u+0]-a[u+8],k=(35468*a[u+4]>>16)-aa(a[u+12]),oA=aa(a[u+4])+(35468*a[u+12]>>16);I[E+0]=N+oA,I[E+1]=H+k,I[E+2]=H-k,I[E+3]=N-oA,E+=4,u++}for(Q=E=0;4>Q;++Q)N=(a=I[E+0]+4)+I[E+8],H=a-I[E+8],k=(35468*I[E+4]>>16)-aa(I[E+12]),Ni(B,P,0,0,N+(oA=aa(I[E+4])+(35468*I[E+12]>>16))),Ni(B,P,1,0,H+k),Ni(B,P,2,0,H-k),Ni(B,P,3,0,N-oA),E++,P+=32}function Ig(a,u,B,P){var Q=a[u+0]+4,E=35468*a[u+4]>>16,I=aa(a[u+4]),N=35468*a[u+1]>>16;sn(B,P,0,Q+I,a=aa(a[u+1]),N),sn(B,P,1,Q+E,a,N),sn(B,P,2,Q-E,a,N),sn(B,P,3,Q-I,a,N)}function xg(a,u,B,P,Q){ow(a,u,B,P),Q&&ow(a,u+16,B,P+4)}function Ss(a,u,B,P){rl(a,u+0,B,P,1),rl(a,u+32,B,P+128,1)}function lw(a,u,B,P){var Q;for(a=a[u+0]+4,Q=0;4>Q;++Q)for(u=0;4>u;++u)Ni(B,P,u,Q,a)}function cw(a,u,B,P){a[u+0]&&ar(a,u+0,B,P),a[u+16]&&ar(a,u+16,B,P+4),a[u+32]&&ar(a,u+32,B,P+128),a[u+48]&&ar(a,u+48,B,P+128+4)}function ec(a,u,B,P){var Q,E=s(16);for(Q=0;4>Q;++Q){var I=a[u+0+Q]+a[u+12+Q],N=a[u+4+Q]+a[u+8+Q],H=a[u+4+Q]-a[u+8+Q],k=a[u+0+Q]-a[u+12+Q];E[0+Q]=I+N,E[8+Q]=I-N,E[4+Q]=k+H,E[12+Q]=k-H}for(Q=0;4>Q;++Q)I=(a=E[0+4*Q]+3)+E[3+4*Q],N=E[1+4*Q]+E[2+4*Q],H=E[1+4*Q]-E[2+4*Q],k=a-E[3+4*Q],B[P+0]=I+N>>3,B[P+16]=k+H>>3,B[P+32]=I-N>>3,B[P+48]=k-H>>3,P+=64}function Vo(a,u,B){var P,Q=u-32,E=wi,I=255-a[Q-1];for(P=0;PB;++B)r(a,u+32*B,a,u-32,16)}function uw(a,u){var B;for(B=16;0P;++P)n(u,B+32*P,a,16)}function Hg(a,u){var B,P=16;for(B=0;16>B;++B)P+=a[u-1+32*B]+a[u+B-32];ts(P>>5,a,u)}function zo(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u-1+32*B];ts(P>>4,a,u)}function Fu(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u+B-32];ts(P>>4,a,u)}function jg(a,u){ts(128,a,u)}function dt(a,u,B){return a+2*u+B+2>>2}function Og(a,u){var B,P=u-32;for(P=new Uint8Array([dt(a[P-1],a[P+0],a[P+1]),dt(a[P+0],a[P+1],a[P+2]),dt(a[P+1],a[P+2],a[P+3]),dt(a[P+2],a[P+3],a[P+4])]),B=0;4>B;++B)r(a,u+32*B,P,0,P.length)}function Tg(a,u){var B=a[u-1],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];le(a,u+0,16843009*dt(a[u-1-32],B,P)),le(a,u+32,16843009*dt(B,P,Q)),le(a,u+64,16843009*dt(P,Q,E)),le(a,u+96,16843009*dt(Q,E,E))}function Mg(a,u){var B,P=4;for(B=0;4>B;++B)P+=a[u+B-32]+a[u-1+32*B];for(P>>=3,B=0;4>B;++B)n(a,u+32*B,P,4)}function oa(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+96]=dt(P,Q,a[u-1+96]),a[u+1+96]=a[u+0+64]=dt(B,P,Q),a[u+2+96]=a[u+1+64]=a[u+0+32]=dt(E,B,P),a[u+3+96]=a[u+2+64]=a[u+1+32]=a[u+0+0]=dt(I,E,B),a[u+3+64]=a[u+2+32]=a[u+1+0]=dt(N,I,E),a[u+3+32]=a[u+2+0]=dt(H,N,I),a[u+3+0]=dt(k,H,N)}function la(a,u){var B=a[u+1-32],P=a[u+2-32],Q=a[u+3-32],E=a[u+4-32],I=a[u+5-32],N=a[u+6-32],H=a[u+7-32];a[u+0+0]=dt(a[u+0-32],B,P),a[u+1+0]=a[u+0+32]=dt(B,P,Q),a[u+2+0]=a[u+1+32]=a[u+0+64]=dt(P,Q,E),a[u+3+0]=a[u+2+32]=a[u+1+64]=a[u+0+96]=dt(Q,E,I),a[u+3+32]=a[u+2+64]=a[u+1+96]=dt(E,I,N),a[u+3+64]=a[u+2+96]=dt(I,N,H),a[u+3+96]=dt(N,H,H)}function _g(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+0]=a[u+1+64]=E+I+1>>1,a[u+1+0]=a[u+2+64]=I+N+1>>1,a[u+2+0]=a[u+3+64]=N+H+1>>1,a[u+3+0]=H+k+1>>1,a[u+0+96]=dt(Q,P,B),a[u+0+64]=dt(P,B,E),a[u+0+32]=a[u+1+96]=dt(B,E,I),a[u+1+32]=a[u+2+96]=dt(E,I,N),a[u+2+32]=a[u+3+96]=dt(I,N,H),a[u+3+32]=dt(N,H,k)}function Rg(a,u){var B=a[u+0-32],P=a[u+1-32],Q=a[u+2-32],E=a[u+3-32],I=a[u+4-32],N=a[u+5-32],H=a[u+6-32],k=a[u+7-32];a[u+0+0]=B+P+1>>1,a[u+1+0]=a[u+0+64]=P+Q+1>>1,a[u+2+0]=a[u+1+64]=Q+E+1>>1,a[u+3+0]=a[u+2+64]=E+I+1>>1,a[u+0+32]=dt(B,P,Q),a[u+1+32]=a[u+0+96]=dt(P,Q,E),a[u+2+32]=a[u+1+96]=dt(Q,E,I),a[u+3+32]=a[u+2+96]=dt(E,I,N),a[u+3+64]=dt(I,N,H),a[u+3+96]=dt(N,H,k)}function tc(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];a[u+0+0]=B+P+1>>1,a[u+2+0]=a[u+0+32]=P+Q+1>>1,a[u+2+32]=a[u+0+64]=Q+E+1>>1,a[u+1+0]=dt(B,P,Q),a[u+3+0]=a[u+1+32]=dt(P,Q,E),a[u+3+32]=a[u+1+64]=dt(Q,E,E),a[u+3+64]=a[u+2+64]=a[u+0+96]=a[u+1+96]=a[u+2+96]=a[u+3+96]=E}function Uu(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96],I=a[u-1-32],N=a[u+0-32],H=a[u+1-32],k=a[u+2-32];a[u+0+0]=a[u+2+32]=B+I+1>>1,a[u+0+32]=a[u+2+64]=P+B+1>>1,a[u+0+64]=a[u+2+96]=Q+P+1>>1,a[u+0+96]=E+Q+1>>1,a[u+3+0]=dt(N,H,k),a[u+2+0]=dt(I,N,H),a[u+1+0]=a[u+3+32]=dt(B,I,N),a[u+1+32]=a[u+3+64]=dt(P,B,I),a[u+1+64]=a[u+3+96]=dt(Q,P,B),a[u+1+96]=dt(E,Q,P)}function Wo(a,u){var B;for(B=0;8>B;++B)r(a,u+32*B,a,u-32,8)}function Kg(a,u){var B;for(B=0;8>B;++B)n(a,u,a[u-1],8),u+=32}function ca(a,u,B){var P;for(P=0;8>P;++P)n(u,B+32*P,a,8)}function kg(a,u){var B,P=8;for(B=0;8>B;++B)P+=a[u+B-32]+a[u-1+32*B];ca(P>>4,a,u)}function Eu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u+B-32];ca(P>>3,a,u)}function Iu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u-1+32*B];ca(P>>3,a,u)}function fw(a,u){ca(128,a,u)}function ua(a,u,B){var P=a[u-B],Q=a[u+0],E=3*(Q-P)+Gg[1020+a[u-2*B]-a[u+B]],I=Dw[112+(E+4>>3)];a[u-B]=wi[255+P+Dw[112+(E+3>>3)]],a[u+0]=wi[255+Q-I]}function xu(a,u,B,P){var Q=a[u+0],E=a[u+B];return Oi[255+a[u-2*B]-a[u-B]]>P||Oi[255+E-Q]>P}function rc(a,u,B,P){return 4*Oi[255+a[u-B]-a[u+0]]+Oi[255+a[u-2*B]-a[u+B]]<=P}function Lu(a,u,B,P,Q){var E=a[u-3*B],I=a[u-2*B],N=a[u-B],H=a[u+0],k=a[u+B],oA=a[u+2*B],QA=a[u+3*B];return 4*Oi[255+N-H]+Oi[255+I-k]>P?0:Oi[255+a[u-4*B]-E]<=Q&&Oi[255+E-I]<=Q&&Oi[255+I-N]<=Q&&Oi[255+QA-oA]<=Q&&Oi[255+oA-k]<=Q&&Oi[255+k-H]<=Q}function Yo(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P,B,Q)&&ua(a,u+P,B)}function Su(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P*B,1,Q)&&ua(a,u+P*B,1)}function hw(a,u,B,P){var Q;for(Q=3;0>7,zA=18*YA+63>>7,YA=9*YA+63>>7;H[k-3*oA]=wi[255+H[k-3*oA]+YA],H[k-2*oA]=wi[255+QA+zA],H[k-oA]=wi[255+G+yA],H[k+0]=wi[255+hA-yA],H[k+oA]=wi[255+mA-zA],H[k+2*oA]=wi[255+KA-YA]}u+=P}}function ha(a,u,B,P,Q,E,I,N){for(E=2*E+1;0>3)],KA=Dw[112+(KA+3>>3)],yA=mA+1>>1;H[k-2*oA]=wi[255+H[k-2*oA]+yA],H[k-oA]=wi[255+QA+KA],H[k+0]=wi[255+G-mA],H[k+oA]=wi[255+hA-yA]}u+=P}}function dw(a,u,B,P,Q,E){fa(a,u,B,1,16,P,Q,E)}function Jo(a,u,B,P,Q,E){fa(a,u,1,B,16,P,Q,E)}function gw(a,u,B,P,Q,E){var I;for(I=3;0k?0:255:k)&255,k=H,Q[E+N]=oA}}function vr(a,u,B,P){var Q=u.width,E=u.o;if(t(a!=null&&u!=null),0>B||0>=P||B+P>E)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Ct,(I=a.ga==null)||(I=u.width*u.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var N=a.Fa,H=a.P,k=a.qc,oA=a.mb,QA=a.nb,G=H+1,hA=k-1,mA=I.l;if(t(N!=null&&oA!=null&&u!=null),eo[0]=null,eo[1]=Jt,eo[2]=xr,eo[3]=$r,I.ca=oA,I.tb=QA,I.c=u.width,I.i=u.height,t(0=k)u=0;else if(I.$a=3&N[H+0],I.Z=N[H+0]>>2&3,I.Lc=N[H+0]>>4&3,H=N[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!u}if(I)return null;a.ga.Lc!=1?a.Ga=0:P=E-B}t(a.ga!=null),t(B+P<=E);A:{if(u=(N=a.ga).c,E=N.l.o,N.$a==0){if(G=a.rc,hA=a.Vc,mA=a.Fa,H=a.P+1+B*u,k=a.mb,oA=a.nb+B*u,t(H<=a.P+a.qc),N.Z!=0)for(t(eo[N.Z]!=null),I=0;I=u)u=1;else if(N.ic||rs(),N.ic){N=I.V,G=I.Ba,hA=I.c;var KA=I.i,yA=(mA=1,H=I.$/hA,k=I.$%hA,oA=I.m,QA=I.s,I.$),zA=hA*KA,YA=hA*u,oe=QA.wc,te=yA(KA=jr(te.G[0],te.H[0],oA)))N[G+yA]=KA,++yA,++k>=hA&&(k=0,++H<=u&&!(H%16)&&As(I,H));else{if(!(280>KA)){mA=0;break e}KA=Ii(KA-256,oA);var ze,He=jr(te.G[4],te.H[4],oA);if(CA(oA),!(yA>=(He=xi(hA,He=Ii(He,oA)))&&zA-yA>=KA)){mA=0;break e}for(ze=0;ze=hA;)k-=hA,++H<=u&&!(H%16)&&As(I,H);yAu?u:H);break e}!mA||oA.h&&yA=E&&(a.Cc=1),P=1}if(!P)return null;if(a.Cc&&((P=a.ga)!=null&&(P.mc=null),a.ga=null,0>23,N[H+4*I+1]=N[H+4*I+1]*QA>>23,N[H+4*I+2]=N[H+4*I+2]*QA>>23)}u+=E}}function An(a,u,B,P,Q){for(;0>4)*H>>16;a[u+2*E+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[u+2*E+1]=240&k|N}u+=Q}}function Qn(a,u,B,P,Q,E,I,N){var H,k,oA=255;for(k=0;k>8}function rs(){Vu=an,ep=An,tp=Qn,rp=wa}function da(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA,G,hA,mA,KA,yA,zA,YA,oe){var te,ze=oe-1>>1,He=N[H+0]|k[oA+0]<<16,yt=QA[G+0]|hA[mA+0]<<16;t(P!=null);var Re=3*He+yt+131074>>2;for(u(P[Q+0],255&Re,Re>>16,KA,yA),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+0],255&Re,Re>>16,zA,YA)),te=1;te<=ze;++te){var Rt=N[H+te]|k[oA+te]<<16,ln=QA[G+te]|hA[mA+te]<<16,bt=He+Rt+yt+ln+524296,Ke=bt+2*(Rt+yt)>>3;Re=Ke+He>>1,He=(bt=bt+2*(He+ln)>>3)+Rt>>1,u(P[Q+2*te-1],255&Re,Re>>16,KA,yA+(2*te-1)*B),u(P[Q+2*te-0],255&He,He>>16,KA,yA+(2*te-0)*B),E!=null&&(Re=bt+yt>>1,He=Ke+ln>>1,u(E[I+2*te-1],255&Re,Re>>16,zA,YA+(2*te-1)*B),u(E[I+2*te+0],255&He,He>>16,zA,YA+(2*te+0)*B)),He=Rt,yt=ln}1&oe||(Re=3*He+yt+131074>>2,u(P[Q+oe-1],255&Re,Re>>16,KA,yA+(oe-1)*B),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+oe-1],255&Re,Re>>16,zA,YA+(oe-1)*B)))}}function Nu(){Ti[mw]=hB,Ti[Pw]=wp,Ti[lp]=wB,Ti[Cw]=dp,Ti[yw]=gp,Ti[Vg]=pp,Ti[cp]=dB,Ti[zg]=wp,Ti[Wg]=dp,Ti[bw]=gp,Ti[Yg]=pp}function nc(a){return a&~gB?0>a?0:255:a>>Bp}function Va(a,u){return nc((19077*a>>8)+(26149*u>>8)-14234)}function Xo(a,u,B){return nc((19077*a>>8)-(6419*u>>8)-(13320*B>>8)+8708)}function Zo(a,u){return nc((19077*a>>8)+(33050*u>>8)-17685)}function za(a,u,B,P,Q){P[Q+0]=Va(a,B),P[Q+1]=Xo(a,u,B),P[Q+2]=Zo(a,u)}function Fn(a,u,B,P,Q){P[Q+0]=Zo(a,u),P[Q+1]=Xo(a,u,B),P[Q+2]=Va(a,B)}function qo(a,u,B,P,Q){var E=Xo(a,u,B);u=E<<3&224|Zo(a,u)>>3,P[Q+0]=248&Va(a,B)|E>>5,P[Q+1]=u}function $o(a,u,B,P,Q){var E=240&Zo(a,u)|15;P[Q+0]=240&Va(a,B)|Xo(a,u,B)>>4,P[Q+1]=E}function Hu(a,u,B,P,Q){P[Q+0]=255,za(a,u,B,P,Q+1)}function ju(a,u,B,P,Q){Fn(a,u,B,P,Q),P[Q+3]=255}function Wn(a,u,B,P,Q){za(a,u,B,P,Q),P[Q+3]=255}function ga(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA){for(var G=oA+(-2&QA)*B;oA!=G;)u(P[Q+0],E[I+0],N[H+0],k,oA),u(P[Q+1],E[I+0],N[H+0],k,oA+B),Q+=2,++I,++H,oA+=2*B;1&QA&&u(P[Q+0],E[I+0],N[H+0],k,oA)}}function ic(a,u,B){return B==0?a==0?u==0?6:5:u==0?4:0:B}function pw(a,u,B,P,Q){switch(a>>>30){case 3:rl(u,B,P,Q,0);break;case 2:ji(u,B,P,Q);break;case 1:ar(u,B,P,Q)}}function Hi(a,u){var B,P,Q=u.M,E=u.Nb,I=a.oc,N=a.pc+40,H=a.oc,k=a.pc+584,oA=a.oc,QA=a.pc+600;for(B=0;16>B;++B)I[N+32*B-1]=129;for(B=0;8>B;++B)H[k+32*B-1]=129,oA[QA+32*B-1]=129;for(0B;++B)r(I,N+32*B-4,I,N+32*B+12,4);for(B=-1;8>B;++B)r(H,k+32*B-4,H,k+32*B+4,4),r(oA,QA+32*B-4,oA,QA+32*B+4,4)}var hA=a.Gd,mA=a.Hd+P,KA=G.ad,yA=G.Hc;if(0=a.za-1?n(zA,YA,hA[mA].y[15],4):r(zA,YA,hA[mA+1].y,0,4)),B=0;4>B;B++)zA[YA+128+B]=zA[YA+256+B]=zA[YA+384+B]=zA[YA+0+B];for(B=0;16>B;++B,yA<<=2)zA=I,YA=N+Dp[B],ns[G.Ob[B]](zA,YA),pw(yA,KA,16*+B,zA,YA)}else if(zA=ic(P,Q,G.Ob[0]),Ao[zA](I,N),yA!=0)for(B=0;16>B;++B,yA<<=2)pw(yA,KA,16*+B,I,N+Dp[B]);for(B=G.Gc,zA=ic(P,Q,G.Dd),va[zA](H,k),va[zA](oA,QA),yA=KA,zA=H,YA=k,255&(G=0|B)&&(170&G?js(yA,256,zA,YA):dr(yA,256,zA,YA)),G=oA,yA=QA,255&(B>>=8)&&(170&B?js(KA,320,G,yA):dr(KA,320,G,yA)),QB;++B)r(hA,mA+B*a.R,I,N+32*B,16);for(B=0;8>B;++B)r(KA,G+B*a.B,H,k+32*B,8),r(yA,zA+B*a.B,oA,QA+32*B,8)}}function Al(a,u,B,P,Q,E,I,N,H){var k=[0],oA=[0],QA=0,G=H!=null?H.kd:0,hA=H!=null?H:new ee;if(a==null||12>B)return 7;hA.data=a,hA.w=u,hA.ha=B,u=[u],B=[B],hA.gb=[hA.gb];A:{var mA=u,KA=B,yA=hA.gb;if(t(a!=null),t(KA!=null),t(yA!=null),yA[0]=0,12<=KA[0]&&!e(a,mA[0],"RIFF")){if(e(a,mA[0]+8,"WEBP")){yA=3;break A}var zA=Je(a,mA[0]+4);if(12>zA||4294967286KA[0]-8){yA=7;break A}yA[0]=zA,mA[0]+=12,KA[0]-=12}yA=0}if(yA!=0)return yA;for(zA=0yA[0])yA=7;else{if(!e(YA,KA[0],"VP8X")){if(Je(YA,KA[0]+4)!=10){yA=3;break A}if(18>yA[0]){yA=7;break A}var He=Je(YA,KA[0]+8),yt=1+Pe(YA,KA[0]+12);if(2147483648<=yt*(YA=1+Pe(YA,KA[0]+15))){yA=3;break A}ze!=null&&(ze[0]=He),oe!=null&&(oe[0]=yt),te!=null&&(te[0]=YA),KA[0]+=18,yA[0]-=18,Re[0]=1}yA=0}}if(QA=QA[0],mA=mA[0],yA!=0)return yA;if(KA=!!(2&mA),!zA&&QA)return 3;if(E!=null&&(E[0]=!!(16&mA)),I!=null&&(I[0]=KA),N!=null&&(N[0]=0),I=k[0],mA=oA[0],QA&&KA&&H==null){yA=0;break}if(4>B){yA=7;break}if(zA&&QA||!zA&&!QA&&!e(a,u[0],"ALPH")){B=[B],hA.na=[hA.na],hA.P=[hA.P],hA.Sa=[hA.Sa];A:{He=a,yA=u,zA=B;var Re=hA.gb;oe=hA.na,te=hA.P,ze=hA.Sa,yt=22,t(He!=null),t(zA!=null),YA=yA[0];var Rt=zA[0];for(t(oe!=null),t(ze!=null),oe[0]=null,te[0]=null,ze[0]=0;;){if(yA[0]=YA,zA[0]=Rt,8>Rt){yA=7;break A}var ln=Je(He,YA+4);if(4294967286Re){yA=3;break A}if(!e(He,YA,"VP8 ")||!e(He,YA,"VP8L")){yA=0;break A}if(Rt[0]zA[0])yA=7;else{if(YA||yt){if(Re=Je(Re,He+4),12<=oe&&Re>oe-12){yA=3;break A}if(G&&Re>zA[0]-8){yA=7;break A}te[0]=Re,yA[0]+=8,zA[0]-=8,ze[0]=yt}else ze[0]=5<=zA[0]&&Re[He+0]==47&&!(Re[He+4]>>5),te[0]=zA[0];yA=0}if(B=B[0],hA.Ja=hA.Ja[0],hA.xa=hA.xa[0],u=u[0],yA!=0)break;if(4294967286B){yA=7;break}N=I,G=mA,KA=E,a==null||5>B?a=0:5<=B&&a[u+0]==47&&!(a[u+4]>>5)?(zA=[0],Re=[0],oe=[0],MA(te=new z,a,u,B),sa(te,zA,Re,oe)?(N!=null&&(N[0]=zA[0]),G!=null&&(G[0]=Re[0]),KA!=null&&(KA[0]=oe[0]),a=1):a=0):a=0}else{if(10>B){yA=7;break}N=mA,a==null||10>B||!sw(a,u+3,B-3)?a=0:(G=a[u+0]|a[u+1]<<8|a[u+2]<<16,KA=16383&(a[u+7]<<8|a[u+6]),a=16383&(a[u+9]<<8|a[u+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=hA.Ja||!KA||!a?a=0:(I&&(I[0]=KA),N&&(N[0]=a),a=1))}if(!a||(I=I[0],mA=mA[0],QA&&(k[0]!=I||oA[0]!=mA)))return 3;H!=null&&(H[0]=hA,H.offset=u-H.w,t(4294967286>u-H.w),t(H.offset==H.ha-B));break}return yA==0||yA==7&&QA&&H==null?(E!=null&&(E[0]|=hA.na!=null&&0B||(E&=-2,I&=-2),0>E||0>I||0>=N||0>=H||E+N>P||I+H>Q))return 0;if(u.v=E,u.j=I,u.va=E+N,u.o=I+H,u.U=N,u.T=H,u.da=a!=null&&0a.S){var u=a.f.RGBA;u.fb+=(a.height-1)*u.A,u.A=-u.A}else u=a.f.kb,a=a.height,u.O+=(a-1)*u.fa,u.fa=-u.fa,u.N+=(a-1>>1)*u.Ab,u.Ab=-u.Ab,u.W+=(a-1>>1)*u.Db,u.Db=-u.Db,u.F!=null&&(u.J+=(a-1)*u.lb,u.lb=-u.lb);return 0}function Wa(a,u,B,P){if(P==null||0>=a||0>=u)return 2;if(B!=null){if(B.Da){var Q=B.cd,E=B.bd,I=-2&B.v,N=-2&B.j;if(0>I||0>N||0>=Q||0>=E||I+Q>a||N+E>u)return 2;a=Q,u=E}if(B.da){if(!tt(a,u,Q=[B.ib],E=[B.hb]))return 2;a=Q[0],u=E[0]}}P.width=a,P.height=u;A:{var H=P.width,k=P.height;if(a=P.S,0>=H||0>=k||!(a>=mw&&13>a))a=2;else{if(0>=P.Rd&&P.sd==null){I=E=Q=u=0;var oA=(N=H*mp[a])*k;if(11>a||(E=(k+1)/2*(u=(H+1)/2),a==12&&(I=(Q=H)*k)),(k=s(oA+2*E+I))==null){a=1;break A}P.sd=k,11>a?((H=P.f.RGBA).eb=k,H.fb=0,H.A=N,H.size=oA):((H=P.f.kb).y=k,H.O=0,H.fa=N,H.Fd=oA,H.f=k,H.N=0+oA,H.Ab=u,H.Cd=E,H.ea=k,H.W=0+oA+E,H.Db=u,H.Ed=E,a==12&&(H.F=k,H.J=0+oA+2*E),H.Tc=I,H.lb=Q)}if(u=1,Q=P.S,E=P.width,I=P.height,Q>=mw&&13>Q)if(11>Q)a=P.f.RGBA,u&=(N=Math.abs(a.A))*(I-1)+E<=a.size,u&=N>=E*mp[Q],u&=a.eb!=null;else{a=P.f.kb,N=(E+1)/2,oA=(I+1)/2,H=Math.abs(a.fa),k=Math.abs(a.Ab);var QA=Math.abs(a.Db),G=Math.abs(a.lb),hA=G*(I-1)+E;u&=H*(I-1)+E<=a.Fd,u&=k*(oA-1)+N<=a.Cd,u=(u&=QA*(oA-1)+N<=a.Ed)&H>=E&k>=N&QA>=N,u&=a.y!=null,u&=a.f!=null,u&=a.ea!=null,Q==12&&(u&=G>=E,u&=hA<=a.Tc,u&=a.F!=null)}else u=0;a=u?0:2}}return a!=0||B!=null&&B.fd&&(a=Tu(P)),a}var el=64,fi=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],hi=24,Ya=32,pa=8,Ja=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];je("Predictor0","PredictorAdd0"),Y.Predictor0=function(){return 4278190080},Y.Predictor1=function(a){return a},Y.Predictor2=function(a,u,B){return u[B+0]},Y.Predictor3=function(a,u,B){return u[B+1]},Y.Predictor4=function(a,u,B){return u[B-1]},Y.Predictor5=function(a,u,B){return Xe(Xe(a,u[B+1]),u[B+0])},Y.Predictor6=function(a,u,B){return Xe(a,u[B-1])},Y.Predictor7=function(a,u,B){return Xe(a,u[B+0])},Y.Predictor8=function(a,u,B){return Xe(u[B-1],u[B+0])},Y.Predictor9=function(a,u,B){return Xe(u[B+0],u[B+1])},Y.Predictor10=function(a,u,B){return Xe(Xe(a,u[B-1]),Xe(u[B+0],u[B+1]))},Y.Predictor11=function(a,u,B){var P=u[B+0];return 0>=Bt(P>>24&255,a>>24&255,(u=u[B-1])>>24&255)+Bt(P>>16&255,a>>16&255,u>>16&255)+Bt(P>>8&255,a>>8&255,u>>8&255)+Bt(255&P,255&a,255&u)?P:a},Y.Predictor12=function(a,u,B){var P=u[B+0];return(ir((a>>24&255)+(P>>24&255)-((u=u[B-1])>>24&255))<<24|ir((a>>16&255)+(P>>16&255)-(u>>16&255))<<16|ir((a>>8&255)+(P>>8&255)-(u>>8&255))<<8|ir((255&a)+(255&P)-(255&u)))>>>0},Y.Predictor13=function(a,u,B){var P=u[B-1];return(Ot((a=Xe(a,u[B+0]))>>24&255,P>>24&255)<<24|Ot(a>>16&255,P>>16&255)<<16|Ot(a>>8&255,P>>8&255)<<8|Ot(255&a,255&P))>>>0};var Mu=Y.PredictorAdd0;Y.PredictorAdd1=_t,je("Predictor2","PredictorAdd2"),je("Predictor3","PredictorAdd3"),je("Predictor4","PredictorAdd4"),je("Predictor5","PredictorAdd5"),je("Predictor6","PredictorAdd6"),je("Predictor7","PredictorAdd7"),je("Predictor8","PredictorAdd8"),je("Predictor9","PredictorAdd9"),je("Predictor10","PredictorAdd10"),je("Predictor11","PredictorAdd11"),je("Predictor12","PredictorAdd12"),je("Predictor13","PredictorAdd13");var sc=Y.PredictorAdd2;We("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),We("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var Kr,Bw=Y.ColorIndexInverseTransform,Ns=Y.MapARGB,Hs=Y.VP8LColorIndexInverseTransformAlpha,_u=Y.MapAlpha,Ru=Y.VP8LPredictorsAdd=[];Ru.length=16,(Y.VP8LPredictors=[]).length=16,(Y.VP8LPredictorsAdd_C=[]).length=16,(Y.VP8LPredictors_C=[]).length=16;var Ku,ku,Xa,Za,qa,tl,$a,rl,ji,js,ar,dr,kr,on,Ba,Gu,ac,vw,J0,X0,Z0,q0,$0,Ap,Vu,ep,tp,rp,np=s(511),ip=s(2041),sp=s(225),ap=s(767),op=0,Gg=ip,Dw=sp,wi=ap,Oi=np,mw=0,Pw=1,lp=2,Cw=3,yw=4,Vg=5,cp=6,zg=7,Wg=8,bw=9,Yg=10,$p=[2,3,7],AB=[3,3,11],up=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,Jg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Xg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zu=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],uB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ao=[],ns=[],va=[],fB=1,hp=2,eo=[],Ti=[];da("UpsampleRgbLinePair",za,3),da("UpsampleBgrLinePair",Fn,3),da("UpsampleRgbaLinePair",Wn,4),da("UpsampleBgraLinePair",ju,4),da("UpsampleArgbLinePair",Hu,4),da("UpsampleRgba4444LinePair",$o,2),da("UpsampleRgb565LinePair",qo,2);var hB=Y.UpsampleRgbLinePair,wB=Y.UpsampleBgrLinePair,wp=Y.UpsampleRgbaLinePair,dp=Y.UpsampleBgraLinePair,gp=Y.UpsampleArgbLinePair,pp=Y.UpsampleRgba4444LinePair,dB=Y.UpsampleRgb565LinePair,Qw=16,Fw=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&rs()),P.Pb&&0(H=B.Md)?0:100k;++k)12>(QA=Q.pb[k]).lc&&(QA.ia=H*CB[0>QA.lc?0:QA.lc]>>3),oA|=QA.ia;oA&&(alert("todo:VP8InitRandom"),Q.ia=1)}Q.Ga=B.Id,100Q.Ga&&(Q.Ga=0)}(function(G,hA){if(G==null)return 0;if(hA==null)return qr(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!Ls(G,hA))return 0;if(t(G.cb),hA.ac==null||hA.ac(hA)){hA.ob&&(G.L=0);var mA=Uw[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=hA.v-mA>>4,G.zb=hA.j-mA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=hA.o+15+mA>>4,G.Hb=hA.va+15+mA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0mA;++mA){var yA;if(G.Qa.Cb){var zA=G.Qa.Lb[mA];G.Qa.Fb||(zA+=KA.Tb)}else zA=KA.Tb;for(yA=0;1>=yA;++yA){var YA=G.gd[mA][yA],oe=zA;if(KA.Pc&&(oe+=KA.vd[0],yA&&(oe+=KA.od[0])),0<(oe=0>oe?0:63>2:te>>1)>9-KA.wb&&(te=9-KA.wb),1>te&&(te=1),YA.dd=te,YA.tc=2*oe+te,YA.ld=40<=oe?2:15<=oe?1:0}else YA.tc=0;YA.La=yA}}}mA=0}else qr(G,6,"Frame setup failed"),mA=G.a;if(mA=mA==0){if(mA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){mA=qr(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,oe=G.Fc,G.Ac=YA,G.Bc=oe,oe+=KA,G.Gd=h(ze,nw),G.Hd=0,G.rb=h(He+1,yu),G.sb=1,G.wa=yt?h(yt,Si):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=mA;++mA)np[255+mA]=0>mA?-mA:mA;for(mA=-1020;1020>=mA;++mA)ip[1020+mA]=-128>mA?-128:127=mA;++mA)sp[112+mA]=-16>mA?-16:15=mA;++mA)ap[255+mA]=0>mA?0:255kt;++kt){var cn,Xt=Yn[0+kt];for(cn=0;4>cn;++cn){Xt=lB[Cr[Un+cn]][Xt];for(var cr=fp[JA(Dt,Xt[0])];0>3;for(cr=0;256>cr;cr+=16)kt[Mn+cr]=ni}En=1,is=Un[0]}var gr=15&Dt.la,un=15&Jn.la;for(cr=0;4>cr;++cr){var di=1&un;for(ni=ur=0;4>ni;++ni)gr=gr>>1|(di=(Vr=zu(Cr,is,Vr=di+(1&gr),Or.Sc,En,kt,Mn))>En)<<7,ur=ur<<2|(3>=4,un=un>>1|di<<7,cn=(cn<<8|ur)>>>0}for(is=gr,En=un>>4,Tr=0;4>Tr;Tr+=2){for(ur=0,gr=Dt.la>>4+Tr,un=Jn.la>>4+Tr,cr=0;2>cr;++cr){for(di=1&un,ni=0;2>ni;++ni)Vr=di+(1&gr),gr=gr>>1|(di=0<(Vr=zu(Cr,Un[2],Vr,Or.Qc,0,kt,Mn)))<<3,ur=ur<<2|(3>=2,un=un>>1|di<<5}Xt|=ur<<4*Tr,is|=gr<<4<=Ke.zb&&Ke.M<=Ke.Va,Ke.Aa==0)e:{if(bt.M=Ke.M,bt.uc=Dt,Hi(Ke,bt),Gr=1,bt=(ur=Ke.D).Nb,Dt=(Xt=Uw[Ke.L])*Ke.R,Cr=Xt/2*Ke.B,cr=16*bt*Ke.R,ni=8*bt*Ke.B,Un=Ke.sa,Yn=Ke.ta-Dt+cr,Or=Ke.qa,kt=Ke.ra-Cr+ni,Mn=Ke.Ha,Jn=Ke.Ia-Cr+ni,un=(gr=ur.M)==0,cn=gr>=Ke.Va-1,Ke.Aa==2&&Hi(Ke,ur),ur.uc)for(di=(Vr=Ke).D.M,t(Vr.D.uc),ur=Vr.yb;urve.o&&(gr=ve.o),ve.F=null,ve.J=null,Ke.Fa!=null&&0>1),ve.W+=Ke.B*(Xt>>1),ve.F!=null&&(ve.J+=ve.width*Xt)),ur>1,ve.W+=ve.v>>1,ve.F!=null&&(ve.J+=ve.v),ve.ka=ur-ve.j,ve.U=ve.va-ve.v,ve.T=gr-ur,Gr=ve.put(ve))}bt+1!=Ke.Ic||cn||(r(Ke.sa,Ke.ta-Dt,Un,Yn+16*Ke.R,Dt),r(Ke.qa,Ke.ra-Cr,Or,kt+8*Ke.B,Cr),r(Ke.Ha,Ke.Ia-Cr,Mn,Jn+8*Ke.B,Cr))}if(!Gr)return qr(Rt,6,"Output aborted.")}return 1}(G,hA)),hA.bc!=null&&hA.bc(hA),mA&=1}return mA?(G.cb=0,mA):0})(a,P)||(u=a.a)}}else u=a.a}u==0&&I.Oa!=null&&I.Oa.fd&&(u=Tu(I.ba))}I=u}E=I!=0?null:11>E?N.f.RGBA.eb:N.f.kb.y}else E=null;return E};var mp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(Y,DA){for(var L="",R=0;R<4;R++)L+=String.fromCharCode(Y[DA++]);return L}function D(Y,DA){return Y[DA+0]|Y[DA+1]<<8}function y(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16)>>>0}function U(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16|Y[DA+3]<<24)>>>0}new w;var v=[0],M=[0],j=[],_=new w,S=A,iA=function(Y,DA){var L={},R=0,rA=!1,eA=0,EA=0;if(L.frames=[],!function(x,z){for(var $=0;$<4;$++)if(x[z+$]!="RIFF".charCodeAt($))return!0;return!1}(Y,DA)){for(U(Y,DA+=4),DA+=8;DA>1&1}SA!="ANMF"&&(DA+=bA)}return L}}(S,0);iA.response=S,iA.rgbaoutput=!0,iA.dataurl=!1;var AA=iA.header?iA.header:null,W=iA.frames?iA.frames:null;if(AA){AA.loop_counter=AA.loop_count,v=[AA.canvas_height],M=[AA.canvas_width];for(var FA=0;FA=2?K[1]:Qe[0],Qe[2]=K.length>=3?K[2]:Qe[0],Qe[3]=K.length>=4?K[3]:Qe[1]),g.margin=Qe}});var HA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return HA},set:function(K){HA=K}});var TA=0;Object.defineProperty(this,"lastBreak",{get:function(){return TA},set:function(K){TA=K}});var JA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return JA},set:function(K){JA=K}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(K){K instanceof D&&(g=K)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(K){g.path=K}});var le=[];Object.defineProperty(this,"ctxStack",{get:function(){return le},set:function(K){le=K}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(K){var Qe;Qe=U(K),this.ctx.fillStyle=Qe.style,this.ctx.isFillTransparent=Qe.a===0,this.ctx.fillOpacity=Qe.a,this.pdf.setFillColor(Qe.r,Qe.g,Qe.b,{a:Qe.a}),this.pdf.setTextColor(Qe.r,Qe.g,Qe.b,{a:Qe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(K){var Qe=U(K);this.ctx.strokeStyle=Qe.style,this.ctx.isStrokeTransparent=Qe.a===0,this.ctx.strokeOpacity=Qe.a,Qe.a===0?this.pdf.setDrawColor(255,255,255):(Qe.a,this.pdf.setDrawColor(Qe.r,Qe.g,Qe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(K){["butt","round","square"].indexOf(K)!==-1&&(this.ctx.lineCap=K,this.pdf.setLineCap(K))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(K){isNaN(K)||(this.ctx.lineWidth=K,this.pdf.setLineWidth(K))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(K){["bevel","round","miter"].indexOf(K)!==-1&&(this.ctx.lineJoin=K,this.pdf.setLineJoin(K))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(K){isNaN(K)||(this.ctx.miterLimit=K,this.pdf.setMiterLimit(K))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(K){this.ctx.textBaseline=K}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(K){["right","end","center","left","start"].indexOf(K)!==-1&&(this.ctx.textAlign=K)}});var be=null,Pe=null,Je=null;Object.defineProperty(this,"fontFaces",{get:function(){return Je},set:function(K){be=null,Pe=null,Je=K}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(K){var Qe;if(this.ctx.font=K,(Qe=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(K))!==null){var Ft=Qe[1];Qe[2];var tt=Qe[3],ae=Qe[4];Qe[5];var rt=Qe[6],je=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ae)[2];ae=Math.floor(je==="px"?parseFloat(ae)*this.pdf.internal.scaleFactor:je==="em"?parseFloat(ae)*this.pdf.getFontSize():parseFloat(ae)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ae);var et=function(We){var Rr,Yt,Et=[],It=We.trim();if(It==="")return bg;if(It in ys)return[ys[It]];for(;It!=="";){switch(Yt=null,Rr=(It=bs(It)).charAt(0)){case'"':case"'":Yt=Xi(It.substring(1),Rr);break;default:Yt=Ka(It)}if(Yt===null||(Et.push(Yt[0]),(It=bs(Yt[1]))!==""&&It.charAt(0)!==","))return bg;It=It.replace(/^,/,"")}return Et}(rt);if(this.fontFaces){var Xe=function(We,Rr){var Yt=We.getFontList(),Et=JSON.stringify(Yt);if(be===null||Pe!==Et){var It=function(Qr){var Ze=[];return Object.keys(Qr).forEach(function(Br){Qr[Br].forEach(function(lt){var vt=null;switch(lt){case"bold":vt={family:Br,weight:"bold"};break;case"italic":vt={family:Br,style:"italic"};break;case"bolditalic":vt={family:Br,weight:"bold",style:"italic"};break;case"":case"normal":vt={family:Br}}vt!==null&&(vt.ref={name:Br,style:lt},Ze.push(vt))})}),Ze}(Yt);be=function(Qr){for(var Ze={},Br=0;Br=700||Ft==="bold")&&(Bt="bold"),Ft==="italic"&&(Bt+="italic"),Bt.length===0&&(Bt="normal");for(var _t="",Tt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ge=0;Ge=2*Math.PI&&(sA=0,dA=2*Math.PI),this.path.push({type:"arc",x,y:z,radius:$,startAngle:sA,endAngle:dA,counterclockwise:CA})},y.prototype.arcTo=function(x,z,$,sA,dA){throw new Error("arcTo not implemented.")},y.prototype.rect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,z),this.lineTo(x+$,z),this.lineTo(x+$,z+sA),this.lineTo(x,z+sA),this.lineTo(x,z),this.lineTo(x+$,z),this.lineTo(x,z)},y.prototype.fillRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!v.call(this)){var dA={};this.lineCap!=="butt"&&(dA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(dA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,z,$,sA),this.fill(),dA.hasOwnProperty("lineCap")&&(this.lineCap=dA.lineCap),dA.hasOwnProperty("lineJoin")&&(this.lineJoin=dA.lineJoin)}},y.prototype.strokeRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");M.call(this)||(this.beginPath(),this.rect(x,z,$,sA),this.stroke())},y.prototype.clearRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,z,$,sA))},y.prototype.save=function(x){x=typeof x!="boolean"||x;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,$=0;$0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};y.prototype.drawImage=function(x,z,$,sA,dA,CA,HA,TA,JA){var le=this.pdf.getImageProperties(x),be=1,Pe=1,Je=1,K=1;sA!==void 0&&TA!==void 0&&(Je=TA/sA,K=JA/dA,be=le.width/sA*TA/sA,Pe=le.height/dA*JA/dA),CA===void 0&&(CA=z,HA=$,z=0,$=0),sA!==void 0&&TA===void 0&&(TA=sA,JA=dA),sA===void 0&&TA===void 0&&(TA=le.width,JA=le.height);var Qe=this.ctx.transform.decompose(),Ft=bA(Qe.rotate.shx),tt=new w,ae=(tt=(tt=(tt=tt.multiply(Qe.translate)).multiply(Qe.skew)).multiply(Qe.scale)).applyToRectangle(new f(CA-z*Je,HA-$*K,sA*be,dA*Pe));if(this.autoPaging){for(var rt,je=_.call(this,ae),et=[],Xe=0;Xeir||Btae||je0)){for(;JA>=0;JA--)if(dA[JA-1].close!==!0&&dA[JA-1].begin!==!0){dA[JA-1].deltas.push($),dA[JA-1].abs.push(TA);break}}break;case"bct":$=[TA.x1-CA[HA-1].x,TA.y1-CA[HA-1].y,TA.x2-CA[HA-1].x,TA.y2-CA[HA-1].y,TA.x-CA[HA-1].x,TA.y-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"qct":var le=CA[HA-1].x+2/3*(TA.x1-CA[HA-1].x),be=CA[HA-1].y+2/3*(TA.y1-CA[HA-1].y),Pe=TA.x+2/3*(TA.x1-TA.x),Je=TA.y+2/3*(TA.y1-TA.y),K=TA.x,Qe=TA.y;$=[le-CA[HA-1].x,be-CA[HA-1].y,Pe-CA[HA-1].x,Je-CA[HA-1].y,K-CA[HA-1].x,Qe-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"arc":dA.push({deltas:[],abs:[],arc:!0}),Array.isArray(dA[dA.length-1].abs)&&dA[dA.length-1].abs.push(TA)}}sA=z?null:x==="stroke"?"stroke":"fill";for(var Ft=!1,tt=0;tt=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale);var Pt=this.autoPaging!=="text";if(Pt||Ge.y+Ge.h<=Xe){if(Pt||Ge.y>=je&&Ge.x<=Ot){var We=Pt?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||Ot-Ge.x)[0],Rr=iA([JSON.parse(JSON.stringify(Pe))],this.posX+this.margin[3],-_t+je+this.ctx.prevPageLastElemOffset)[0],Yt=Pt&&(rt>tt||rt=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)}}else x.scale>=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale),this.pdf.text(x.text,JA.x+this.posX,JA.y+this.posY,{angle:x.angle,align:z,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)},rA=function(x,z,$,sA){$=$||0,sA=sA||0,this.pdf.internal.out(e(x+$)+" "+r(z+sA)+" l")},eA=function(x,z,$){return this.pdf.lines(x,z,$,null,null)},EA=function(x,z,$,sA,dA,CA,HA,TA){this.pdf.internal.out([t(n($+x)),t(s(sA+z)),t(n(dA+x)),t(s(CA+z)),t(n(HA+x)),t(s(TA+z)),"c"].join(" "))},SA=function(x,z,$,sA){for(var dA=2*Math.PI,CA=Math.PI/2;z>$;)z-=dA;var HA=Math.abs($-z);HA1e-5;){var be=le+JA*Math.min(HA,CA);TA.push(OA.call(this,x,le,be)),HA-=Math.abs(be-le),le=be}return TA},OA=function(x,z,$){var sA=($-z)/2,dA=x*Math.cos(sA),CA=x*Math.sin(sA),HA=dA,TA=-CA,JA=HA*HA+TA*TA,le=JA+HA*dA+TA*CA,be=4/3*(Math.sqrt(2*JA*le)-le)/(HA*CA-TA*dA),Pe=HA-be*TA,Je=TA+be*HA,K=Pe,Qe=-Je,Ft=sA+z,tt=Math.cos(Ft),ae=Math.sin(Ft);return{x1:x*Math.cos(z),y1:x*Math.sin(z),x2:Pe*tt-Je*ae,y2:Pe*ae+Je*tt,x3:K*tt-Qe*ae,y3:K*ae+Qe*tt,x4:x*Math.cos($),y4:x*Math.sin($)}},bA=function(x){return 180*x/Math.PI},MA=function(x,z,$,sA,dA,CA){var HA=x+.5*($-x),TA=z+.5*(sA-z),JA=dA+.5*($-dA),le=CA+.5*(sA-CA),be=Math.min(x,dA,HA,JA),Pe=Math.max(x,dA,HA,JA),Je=Math.min(z,CA,TA,le),K=Math.max(z,CA,TA,le);return new f(be,Je,Pe-be,K-Je)},ue=function(x,z,$,sA,dA,CA,HA,TA){var JA,le,be,Pe,Je,K,Qe,Ft,tt,ae,rt,je,et,Xe,ir=$-x,Ot=sA-z,Bt=dA-$,_t=CA-sA,Tt=HA-dA,Ge=TA-CA;for(le=0;le<41;le++)tt=(Qe=(be=x+(JA=le/40)*ir)+JA*((Je=$+JA*Bt)-be))+JA*(Je+JA*(dA+JA*Tt-Je)-Qe),ae=(Ft=(Pe=z+JA*Ot)+JA*((K=sA+JA*_t)-Pe))+JA*(K+JA*(CA+JA*Ge-K)-Ft),le==0?(rt=tt,je=ae,et=tt,Xe=ae):(rt=Math.min(rt,tt),je=Math.min(je,ae),et=Math.max(et,tt),Xe=Math.max(Xe,ae));return new f(Math.round(rt),Math.round(je),Math.round(et-rt),Math.round(Xe-je))},ZA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,z,$=(x=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:z}));this.prevLineDash!==$&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=$)}}})(_e.API),function(A){var t=function(h){var f,w,g,D,y,U,v,M,j,_;for(/[^\x00-\xFF]/.test(h),w=[],g=0,D=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;D>g;g+=4)(y=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(U=(y=((y=((y=((y=(y-(_=y%85))/85)-(j=y%85))/85)-(M=y%85))/85)-(v=y%85))/85)%85,w.push(U+33,v+33,M+33,j+33,_+33)):w.push(122);return function(S,iA){for(var AA=iA;AA>0;AA--)S.pop()}(w,f.length),String.fromCharCode.apply(String,w)+"~>"},e=function(h){var f,w,g,D,y,U=String,v="length",M=255,j="charCodeAt",_="slice",S="replace";for(h[_](-2),h=h[_](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),g=[],D=0,y=(h+=f="uuuuu"[_](h[v]%5||5))[v];y>D;D+=5)w=52200625*(h[j](D)-33)+614125*(h[j](D+1)-33)+7225*(h[j](D+2)-33)+85*(h[j](D+3)-33)+(h[j](D+4)-33),g.push(M&w>>24,M&w>>16,M&w>>8,M&w);return function(iA,AA){for(var W=AA;W>0;W--)iA.pop()}(g,f[v]),U.fromCharCode.apply(U,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var w="",g=0;gj&&(M=_,_=j,j=M);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",j>_&&(M=_,_=j,j=M)}return{width:_,height:j,unit:w,k:y,orientation:f}},A.html=function(f,w){(w=w||{}).callback=w.callback||function(){},w.html2canvas=w.html2canvas||{},w.html2canvas.canvas=w.html2canvas.canvas||this.canvas,w.jsPDF=w.jsPDF||this,w.fontFaces=w.fontFaces?w.fontFaces.map(ri):null;var g=new h(w);return w.worker?g:g.from(f).doCallback()}}(_e.API),_e.API.addJS=function(A){return S0=A,this.internal.events.subscribe("postPutResources",function(){Qs=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Qs+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),L0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+S0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Qs!==void 0&&L0!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var v=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+v+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var w=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+w.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var OA="",bA=0,MA=R.transparency.length;bA>",j.content=s;var AA=j.objId+" 0 R";s="<>";else if(r.options.pageNumber)switch(s="<=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=1};var g=A.__arabicParser__.arabicLetterHasFinalForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length>=3};var D=A.__arabicParser__.arabicLetterHasMedialForm=function(j){return h(j)&&s(j)&&t[j.charCodeAt(0)].length==4},y=A.__arabicParser__.resolveLigatures=function(j){var _=0,S=e,iA="",AA=0;for(_=0;_>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})),this},function(A){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(f){e=f}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(f){r=isNaN(f)||Number.isInteger(f)===!1||f<0?150:f,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(f){n=isNaN(f)||Number.isInteger(f)===!1||f<0?300:f,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var s=[];Object.defineProperty(this,"childNodes",{get:function(){return s},set:function(f){s=f}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(f){h=f}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var n;if((e=e||"2d")!=="2d")return null;for(n in r)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=r[n]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(_e.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new s,this.internal.__cell__.pages=1},s=function(){var w=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return w},set:function(j){w=j}});var g=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return g},set:function(j){g=j}});var D=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return D},set:function(j){D=j}});var y=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return y},set:function(j){y=j}});var U=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return U},set:function(j){U=j}});var v=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return v},set:function(j){v=j}});var M=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return M},set:function(j){M=j}}),this};s.prototype.clone=function(){return new s(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},s.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(w){return r.call(this),this.internal.__cell__.headerFunction=typeof w=="function"?w:void 0,this},A.getTextDimensions=function(w,g){r.call(this);var D=(g=g||{}).fontSize||this.getFontSize(),y=g.font||this.getFont(),U=g.scaleFactor||this.internal.scaleFactor,v=0,M=0,j=0,_=this;if(!Array.isArray(w)&&typeof w!="string"){if(typeof w!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");w=String(w)}var S=g.maxWidth;S>0?typeof w=="string"?w=this.splitTextToSize(w,S):Object.prototype.toString.call(w)==="[object Array]"&&(w=w.reduce(function(AA,W){return AA.concat(_.splitTextToSize(W,S))},[])):w=Array.isArray(w)?w:[w];for(var iA=0;iAthis.getPageHeight()?(this.cellAddPage(),w.y=y.top,v&&U&&(this.printHeaderRow(w.lineNumber,!0),w.y+=U[0].height)):w.y=g.y+g.height||w.y),w.text[0]!==void 0&&(this.rect(w.x,w.y,w.width,w.height,e===!0?"FD":void 0),w.align==="right"?this.text(w.text,w.x+w.width-D,w.y+D,{align:"right",baseline:"top"}):w.align==="center"?this.text(w.text,w.x+w.width/2,w.y+D,{align:"center",baseline:"top",maxWidth:w.width-D-D}):this.text(w.text,w.x+D,w.y+D,{align:"left",baseline:"top",maxWidth:w.width-D-D})),this.internal.__cell__.lastCell=w,this};A.table=function(w,g,D,y,U){if(r.call(this),!D)throw new Error("No data for PDF table.");var v,M,j,_,S=[],iA=[],AA=[],W={},FA={},VA=[],NA=[],lA=(U=U||{}).autoSize||!1,Y=U.printHeaders!==!1,DA=U.css&&U.css["font-size"]!==void 0?16*U.css["font-size"]:U.fontSize||12,L=U.margins||Object.assign({width:this.getPageWidth()},t),R=typeof U.padding=="number"?U.padding:3,rA=U.headerBackgroundColor||"#c8c8c8",eA=U.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=Y,this.internal.__cell__.margins=L,this.internal.__cell__.table_font_size=DA,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=rA,this.internal.__cell__.headerTextColor=eA,this.setFontSize(DA),y==null)iA=S=Object.keys(D[0]),AA=S.map(function(){return"left"});else if(Array.isArray(y)&&(0,kA.Z)(y[0])==="object")for(S=y.map(function(ue){return ue.name}),iA=y.map(function(ue){return ue.prompt||ue.name||""}),AA=y.map(function(ue){return ue.align||"left"}),v=0;v0&&this.setTableHeaderRow(U),this.setFont(void 0,"normal"),e=!1}}(_e.API);var Zr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Yi=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Dn=rr(Yi),yn=[100,200,300,400,500,600,700,800,900],ta=rr(yn);function ri(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(s){return Zr[s=s||"normal"]?s:"normal"}(A.style),r=function(s){return s?typeof s=="number"?s>=100&&s<=900&&s%100==0?s:400:/^\d00$/.test(s)?parseInt(s):s==="bold"?700:400:400}(A.weight),n=function(s){return typeof Dn[s=s||"normal"]=="number"?s:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Ji(A,t,e,r){var n;for(n=e;n>=0&&n=0&&n>>1)&255}return n}function R0(A,t,e){var r=A.length,n=[];n[0]=4;for(var s=0;s>s&h}function K0(A,t,e,r){var n=e*r,s=Math.floor(n/8),h=16-(n-8*s+r),f=(1<>8&255;g.setUint8(D,U)}})(A,s,k0(A,s)&~(f<>7,h=1<<1+(7&n);A[t++],A[t++];var f=null,w=null;s&&(f=t,w=h,t+=3*h);var g=!0,D=[],y=0,U=null,v=0,M=null;for(this.width=e,this.height=r;g&&t=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;case 249:if(A[t++]!==4||A[t+4]!==0)throw new Error("Invalid graphics extension block.");var j=A[t++];y=A[t++]|A[t++]<<8,U=A[t++],1&j||(U=null),v=j>>2&7,t++;break;case 254:for(;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var _=A[t++]|A[t++]<<8,S=A[t++]|A[t++]<<8,iA=A[t++]|A[t++]<<8,AA=A[t++]|A[t++]<<8,W=A[t++],FA=W>>6&1,VA=1<<1+(7&W),NA=f,lA=w,Y=!1;W>>7&&(Y=!0,NA=t,lA=VA,t+=3*VA);var DA=t;for(t++;;){var L;if(!((L=A[t++])>=0))throw Error("Invalid block size");if(L===0)break;t+=L}D.push({x:_,y:S,width:iA,height:AA,has_local_palette:Y,palette_offset:NA,palette_size:lA,data_offset:DA,data_length:t-DA,transparent_index:U,interlaced:!!FA,delay:y,disposal:v});break;case 59:g=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return D.length},this.loopCount=function(){return M},this.frameInfo=function(R){if(R<0||R>=D.length)throw new Error("Frame index out of range.");return D[R]},this.decodeAndBlitFrameBGRA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=be,rA[$++]=le,rA[$++]=JA,rA[$++]=255}--ZA}},this.decodeAndBlitFrameRGBA=function(R,rA){var eA=this.frameInfo(R),EA=eA.width*eA.height,SA=new Uint8Array(EA);G0(A,eA.data_offset,SA,EA);var OA=eA.palette_offset,bA=eA.transparent_index;bA===null&&(bA=256);var MA=eA.width,ue=e-MA,ZA=MA,x=4*(eA.y*e+eA.x),z=4*((eA.y+eA.height)*e+eA.x),$=x,sA=4*ue;eA.interlaced===!0&&(sA+=4*e*7);for(var dA=8,CA=0,HA=SA.length;CA=z&&(sA=4*ue+4*e*(dA-1),$=x+(MA+ue)*(dA<<1),dA>>=1)),TA===bA)$+=4;else{var JA=A[OA+3*TA],le=A[OA+3*TA+1],be=A[OA+3*TA+2];rA[$++]=JA,rA[$++]=le,rA[$++]=be,rA[$++]=255}--ZA}}}function G0(A,t,e,r){for(var n=A[t++],s=1<>=w,D-=w,_!==s){if(_===h)break;for(var S=_s;)AA=M[AA]>>8,++iA;var W=AA;if(U+iA+(S!==_?1:0)>r)return void lr.log("Warning, gif stream longer than expected.");e[U++]=W;var FA=U+=iA;for(S!==_&&(e[U++]=W),AA=S;iA--;)AA=M[AA],e[--FA]=255&AA,AA>>=8;j!==null&&f<4096&&(M[f++]=j<<8|W,f>=g+1&&w<12&&(++w,g=g<<1|1)),j=_}else f=h+1,g=(1<<(w=n+1))-1,j=null}return U!==r&&lr.log("Warning, gif stream shorter than expected."),e}function Fg(A){var t,e,r,n,s,h=Math.floor,f=new Array(64),w=new Array(64),g=new Array(64),D=new Array(64),y=new Array(65535),U=new Array(65535),v=new Array(64),M=new Array(64),j=[],_=0,S=7,iA=new Array(64),AA=new Array(64),W=new Array(64),FA=new Array(256),VA=new Array(2048),NA=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],lA=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Y=[0,1,2,3,4,5,6,7,8,9,10,11],DA=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],rA=[0,1,2,3,4,5,6,7,8,9,10,11],eA=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],EA=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function SA(x,z){for(var $=0,sA=0,dA=new Array,CA=1;CA<=16;CA++){for(var HA=1;HA<=x[CA];HA++)dA[z[sA]]=[],dA[z[sA]][0]=$,dA[z[sA]][1]=CA,sA++,$++;$*=2}return dA}function OA(x){for(var z=x[0],$=x[1]-1;$>=0;)z&1<<$&&(_|=1<>8&255),bA(255&x)}function ue(x,z,$,sA,dA){for(var CA,HA=dA[0],TA=dA[240],JA=function(ae,rt){var je,et,Xe,ir,Ot,Bt,_t,Tt,Ge,Pt,We=0;for(Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+1],Xe=ae[We+2],ir=ae[We+3],Ot=ae[We+4],Bt=ae[We+5],_t=ae[We+6];var Rr=je+(Tt=ae[We+7]),Yt=je-Tt,Et=et+_t,It=et-_t,Qr=Xe+Bt,Ze=Xe-Bt,Br=ir+Ot,lt=ir-Ot,vt=Rr+Br,Fr=Rr-Br,Lt=Et+Qr,it=Et-Qr;ae[We]=vt+Lt,ae[We+4]=vt-Lt;var sr=.707106781*(it+Fr);ae[We+2]=Fr+sr,ae[We+6]=Fr-sr;var Ro=.382683433*((vt=lt+Ze)-(it=It+Yt)),Tn=.5411961*vt+Ro,na=1.306562965*it+Ro,Us=.707106781*(Lt=Ze+It),st=Yt+Us,ia=Yt-Us;ae[We+5]=ia+Tn,ae[We+3]=ia-Tn,ae[We+1]=st+na,ae[We+7]=st-na,We+=8}for(We=0,Ge=0;Ge<8;++Ge){je=ae[We],et=ae[We+8],Xe=ae[We+16],ir=ae[We+24],Ot=ae[We+32],Bt=ae[We+40],_t=ae[We+48];var sa=je+(Tt=ae[We+56]),Ii=je-Tt,xi=et+_t,jr=et-_t,mn=Xe+Bt,bn=Xe-Bt,Ko=ir+Ot,Ga=ir-Ot,$i=sa+Ko,Es=sa-Ko,As=xi+mn,es=xi-mn;ae[We]=$i+As,ae[We+32]=$i-As;var Li=.707106781*(es+Es);ae[We+16]=Es+Li,ae[We+48]=Es-Li;var ko=.382683433*(($i=Ga+bn)-(es=jr+Ii)),Is=.5411961*$i+ko,Go=1.306562965*es+ko,Xl=.707106781*(As=bn+jr),Zl=Ii+Xl,ql=Ii-Xl;ae[We+40]=ql+Is,ae[We+24]=ql-Is,ae[We+8]=Zl+Go,ae[We+56]=Zl-Go,We++}for(Ge=0;Ge<64;++Ge)Pt=ae[Ge]*rt[Ge],v[Ge]=Pt>0?Pt+.5|0:Pt-.5|0;return v}(x,z),le=0;le<64;++le)M[NA[le]]=JA[le];var be=M[0]-$;$=M[0],be==0?OA(sA[0]):(OA(sA[U[CA=32767+be]]),OA(y[CA]));for(var Pe=63;Pe>0&&M[Pe]==0;)Pe--;if(Pe==0)return OA(HA),$;for(var Je,K=1;K<=Pe;){for(var Qe=K;M[K]==0&&K<=Pe;)++K;var Ft=K-Qe;if(Ft>=16){Je=Ft>>4;for(var tt=1;tt<=Je;++tt)OA(TA);Ft&=15}CA=32767+M[K],OA(dA[(Ft<<4)+U[CA]]),OA(y[CA]),K++}return Pe!=63&&OA(HA),$}function ZA(x){x=Math.min(Math.max(x,1),100),s!=x&&(function(z){for(var $=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],sA=0;sA<64;sA++){var dA=h(($[sA]*z+50)/100);dA=Math.min(Math.max(dA,1),255),f[NA[sA]]=dA}for(var CA=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],HA=0;HA<64;HA++){var TA=h((CA[HA]*z+50)/100);TA=Math.min(Math.max(TA,1),255),w[NA[HA]]=TA}for(var JA=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],le=0,be=0;be<8;be++)for(var Pe=0;Pe<8;Pe++)g[le]=1/(f[NA[le]]*JA[be]*JA[Pe]*8),D[le]=1/(w[NA[le]]*JA[be]*JA[Pe]*8),le++}(x<50?Math.floor(5e3/x):Math.floor(200-2*x)),s=x)}this.encode=function(x,z){z&&ZA(z),j=new Array,_=0,S=7,MA(65496),MA(65504),MA(16),bA(74),bA(70),bA(73),bA(70),bA(0),bA(1),bA(1),bA(0),MA(1),MA(1),bA(0),bA(0),function(){MA(65499),MA(132),bA(0);for(var et=0;et<64;et++)bA(f[et]);bA(1);for(var Xe=0;Xe<64;Xe++)bA(w[Xe])}(),function(et,Xe){MA(65472),MA(17),bA(8),MA(Xe),MA(et),bA(3),bA(1),bA(17),bA(0),bA(2),bA(17),bA(1),bA(3),bA(17),bA(1)}(x.width,x.height),function(){MA(65476),MA(418),bA(0);for(var et=0;et<16;et++)bA(lA[et+1]);for(var Xe=0;Xe<=11;Xe++)bA(Y[Xe]);bA(16);for(var ir=0;ir<16;ir++)bA(DA[ir+1]);for(var Ot=0;Ot<=161;Ot++)bA(L[Ot]);bA(1);for(var Bt=0;Bt<16;Bt++)bA(R[Bt+1]);for(var _t=0;_t<=11;_t++)bA(rA[_t]);bA(17);for(var Tt=0;Tt<16;Tt++)bA(eA[Tt+1]);for(var Ge=0;Ge<=161;Ge++)bA(EA[Ge])}(),MA(65498),MA(12),bA(3),bA(1),bA(0),bA(2),bA(17),bA(3),bA(17),bA(0),bA(63),bA(0);var $=0,sA=0,dA=0;_=0,S=7,this.encode.displayName="_encode_";for(var CA,HA,TA,JA,le,be,Pe,Je,K,Qe=x.data,Ft=x.width,tt=x.height,ae=4*Ft,rt=0;rt>3)*ae+(Pe=4*(7&K)),rt+Je>=tt&&(be-=ae*(rt+1+Je-tt)),CA+Pe>=ae&&(be-=CA+Pe-ae+4),HA=Qe[be++],TA=Qe[be++],JA=Qe[be++],iA[K]=(VA[HA]+VA[TA+256|0]+VA[JA+512|0]>>16)-128,AA[K]=(VA[HA+768|0]+VA[TA+1024|0]+VA[JA+1280|0]>>16)-128,W[K]=(VA[HA+1280|0]+VA[TA+1536|0]+VA[JA+1792|0]>>16)-128;$=ue(iA,g,$,t,r),sA=ue(AA,D,sA,e,n),dA=ue(W,D,dA,e,n),CA+=32}rt+=8}if(S>=0){var je=[];je[1]=S+1,je[0]=(1<R;R++)if(Y[DA+R]!=L.charCodeAt(R))return!0;return!1}function r(Y,DA,L,R,rA){for(var eA=0;eAeA+1?[]:new DA),!(EA.length>>0;a&B;)B>>>=1;return B?(a&B-1)+B:a}function L(a,u,B,P,Q){t(!(P%B));do a[u+(P-=B)]=Q;while(0=Q),512>=Q)var E=s(512);else if((E=s(Q))==null)return 0;return function(I,N,H,k,oA,QA){var G,hA,mA=N,KA=1<G;++G){if(yA[G]>1<(yt-=yA[G]))return 0;for(;0=G;++G,oA<<=1){if(He+=yt<<=1,0>(yt-=yA[G]))return 0;for(;0oe&&!(0>=(YA-=yA[oe]));)++oe,YA<<=1;KA+=Re=1<<(YA=oe-H),I[N+(oe=ze&te)].g=YA+H,I[N+oe].value=mA-N-oe}k.g=G-H,k.value=QA[hA++],L(I,mA+(ze>>H),oA,Re,k),ze=DA(ze,G)}}return He!=2*zA[15]-1?0:KA}(a,u,B,P,Q,E)}function rA(){this.value=this.g=0}function eA(){this.value=this.g=0}function EA(){this.G=h(5,rA),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(el,eA)}function SA(a,u,B,P){t(a!=null),t(u!=null),t(2147483648>P),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=u,a.pa=B,a.Jd=u,a.Yc=B+P,a.Zc=4<=P?B+P-4+1:B,HA(a)}function OA(a,u){for(var B=0;0P),a.Sb=P,a.Ra=0,a.u=0,a.h=0,4>>=8,a.Ra+=a.oa[a.pa+a.bb]<>>0,++a.bb,a.u-=8;sA(a)&&(a.h=1,a.u=0)}function ZA(a,u){if(t(0<=u),!a.h&&u<=hi){var B=$(a)&fi[u];return a.u+=u,ue(a),B}return a.h=1,a.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function z(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function $(a){return a.Ra>>>(a.u&Ya-1)>>>0}function sA(a){return t(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Ya}function dA(a,u){a.u=u,a.h=sA(a)}function CA(a){a.u>=pa&&(t(a.u>=pa),ue(a))}function HA(a){t(a!=null&&a.oa!=null),a.pa>>0,a.b+=8):(t(a!=null&&a.oa!=null),a.paa.b&&HA(a);var P=a.b,Q=B*u>>>8,E=(a.I>>>P>Q)+0;for(E?(B-=Q,a.I-=Q+1<

>>0):B=Q+1,P=B,Q=0;256<=P;)Q+=8,P>>=8;return P=7^Q+Ja[P],a.b-=P,a.Ca=(B<>24&255,a[u+1]=B>>16&255,a[u+2]=B>>8&255,a[u+3]=255&B}function be(a,u){return a[u+0]|a[u+1]<<8}function Pe(a,u){return be(a,u)|a[u+2]<<16}function Je(a,u){return be(a,u)|be(a,u+2)<<16}function K(a,u){var B=1<=Q||0>=E?0:(B[0]=Q,P[0]=E,1)}function ae(a,u){return a+(1<>>u}function rt(a,u){return((4278255360&a)+(4278255360&u)>>>0&4278255360)+((16711935&a)+(16711935&u)>>>0&16711935)>>>0}function je(a,u){Y[u]=function(B,P,Q,E,I,N,H){var k;for(k=0;k>>1)+(a&u)>>>0}function ir(a){return 0<=a&&256>a?a:0>a?0:255>1))}function Bt(a,u,B){return Math.abs(u-B)-Math.abs(a-B)}function _t(a,u,B,P,Q,E,I){for(P=E[I-1],B=0;B>8&255,H=16711935&(H=(H=16711935&I)+((N<<16)+N));P[Q+E]=(4278255360&I)+H>>>0}}function Ge(a,u){u.jd=255&a,u.hd=a>>8&255,u.ud=a>>16&255}function Pt(a,u,B,P,Q,E){var I;for(I=0;I>>8,k=N,oA=255&(oA=(oA=N>>>16)+((a.jd<<24>>24)*(H<<24>>24)>>>5));k=255&(k=(k+=(a.hd<<24>>24)*(H<<24>>24)>>>5)+((a.ud<<24>>24)*(oA<<24>>24)>>>5)),Q[E+I]=(4278255360&N)+(oA<<16)+k}}function We(a,u,B,P,Q){Y[u]=function(E,I,N,H,k,oA,QA,G,hA){for(H=QA;H>E.b,hA=E.Ea,mA=E.K[0],KA=E.w;if(8>G)for(E=(1<>=G}else Y["VP8LMapColor"+B](H,k,mA,KA,oA,QA,I,N,hA)}}function Rr(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E}}function Yt(a,u,B,P,Q){for(B=u+B;u>16&255,P[Q++]=E>>8&255,P[Q++]=255&E,P[Q++]=E>>24&255}}function Et(a,u,B,P,Q){for(B=u+B;u>16&240|I>>12&15,I=240&I|I>>28&15;P[Q++]=E,P[Q++]=I}}function It(a,u,B,P,Q){for(B=u+B;u>16&248|I>>13&7,I=I>>5&224|I>>3&31;P[Q++]=E,P[Q++]=I}}function Qr(a,u,B,P,Q){for(B=u+B;u>8&255,P[Q++]=E>>16&255}}function Ze(a,u,B,P,Q,E){if(E==0)for(B=u+B;u>24|E[1]>>8&65280|E[2]<<8&16711680|E[3]<<24)>>>0),Q+=32;else r(P,Q,a,u,B)}function Br(a,u){Y[u][0]=Y[a+"0"],Y[u][1]=Y[a+"1"],Y[u][2]=Y[a+"2"],Y[u][3]=Y[a+"3"],Y[u][4]=Y[a+"4"],Y[u][5]=Y[a+"5"],Y[u][6]=Y[a+"6"],Y[u][7]=Y[a+"7"],Y[u][8]=Y[a+"8"],Y[u][9]=Y[a+"9"],Y[u][10]=Y[a+"10"],Y[u][11]=Y[a+"11"],Y[u][12]=Y[a+"12"],Y[u][13]=Y[a+"13"],Y[u][14]=Y[a+"0"],Y[u][15]=Y[a+"0"]}function lt(a){return a==zg||a==Wg||a==bw||a==Yg}function vt(){this.eb=[],this.size=this.A=this.fb=0}function Fr(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Lt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new vt,this.f.kb=new Fr,this.sd=null}function it(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function sr(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Ro(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function Tn(a,u){var B=a.T,P=u.ba.f.RGBA,Q=P.eb,E=P.fb+a.ka*P.A,I=Ti[u.ba.S],N=a.y,H=a.O,k=a.f,oA=a.N,QA=a.ea,G=a.W,hA=u.cc,mA=u.dc,KA=u.Mc,yA=u.Nc,zA=a.ka,YA=a.ka+a.T,oe=a.U,te=oe+1>>1;for(zA==0?I(N,H,null,null,k,oA,QA,G,k,oA,QA,G,Q,E,null,null,oe):(I(u.ec,u.fc,N,H,hA,mA,KA,yA,k,oA,QA,G,Q,E-P.A,Q,E,oe),++B);zA+2B,Q=B==Pw||B==Cw||B==yw||B==Vg||B==12||lt(B);if(u.memory=null,u.Ib=null,u.Jb=null,u.Nd=null,!Ou(u.Oa,a,Q?11:12))return 0;if(Q&<(B)&&Nu(),a.da)alert("todo:use_scaling");else{if(P){if(u.Ib=Ro,a.Kb){if(B=a.U+1>>1,u.memory=s(a.U+2*B),u.memory==null)return 0;u.ec=u.memory,u.fc=0,u.cc=u.ec,u.dc=u.fc+a.U,u.Mc=u.cc,u.Nc=u.dc+B,u.Ib=Tn,Nu()}}else alert("todo:EmitYUV");Q&&(u.Jb=na,P&&rs())}if(P&&!vp){for(a=0;256>a;++a)pB[a]=89858*(a-128)+Fw>>Qw,DB[a]=-22014*(a-128)+Fw,vB[a]=-45773*(a-128),BB[a]=113618*(a-128)+Fw>>Qw;for(a=Wu;a>Qw,mB[a-Wu]=xs(u,255),PB[a-Wu]=xs(u+8>>4,15);vp=1}return 1}function st(a){var u=a.ma,B=a.U,P=a.T;return t(!(1&a.ka)),0>=B||0>=P?0:(B=u.Ib(a,u),u.Jb!=null&&u.Jb(a,u,B),u.Dc+=B,1)}function ia(a){a.ma.memory=null}function sa(a,u,B,P){return ZA(a,8)!=47?0:(u[0]=ZA(a,14)+1,B[0]=ZA(a,14)+1,P[0]=ZA(a,1),ZA(a,3)!=0?0:!a.h)}function Ii(a,u){if(4>a)return a+1;var B=a-2>>1;return(2+(1&a)<>4)*a+(8-(15&B)))?B:1;var B}function jr(a,u,B){var P=$(B),Q=a[u+=255&P].g-8;return 0>>0,t(8>=B.g),a.g}function bn(a,u,B){var P=a.xc;return t((u=P==0?0:a.vc[a.md*(B>>P)+(u>>P)])>Re.b)*He;KAoe&&(Ke=oe),(0,Ru[Rt[ln++]>>8&15])(G,hA+ +bt,zA,YA+bt-oe,Ke-bt,zA,YA+bt),bt=Ke}hA+=oe,YA+=oe,++KA&ze||(Re+=He)}QA!=k.nc&&r(H,N-mA,H,N+(QA-oA-1)*mA,mA);break;case 1:for(mA=G,yA=hA,oe=(G=k.Ea)-(YA=G&~(zA=(hA=1<>k.b)*KA;oA=Q),0E.o&&(P=E.o),B=P?B=0:(Q[0]+=4*E.v,E.ka=B-E.j,E.U=E.va-E.v,E.T=P-B,B=1),B){if(N=N[0],11>(B=a.ca).S){var oA=B.f.RGBA,QA=(P=B.S,Q=E.U,E=E.T,k=oA.eb,oA.A),G=E;for(oA=oA.fb+a.Ma*oA.A;0P){var Q=a.l.width,E=B.ca,I=B.tb+Q*P,N=a.V,H=a.Ba+a.c*P,k=a.gc;t(a.ab==1),t(k[0].hc==3),Hs(k[0],P,u,N,H,E,I),Es(B,P,u,E,I,Q)}a.C=a.Ma=u}function es(a,u,B,P,Q,E,I){var N=a.$/P,H=a.$%P,k=a.m,oA=a.s,QA=B+a.$,G=QA;Q=B+P*Q;var hA=B+P*E,mA=280+oA.ua,KA=a.Pb?N:16777216,yA=0=KA){var ze=QA-B;t((KA=a).Pb),KA.wd=KA.m,KA.xd=ze,0yt.g?(dA(te,te.u+yt.g),ze[He]=yt.value,te=0):(dA(te,te.u+yt.g-256),t(256<=yt.value),te=yt.value),te==0&&(oe=!0)}else te=jr(YA.G[0],YA.H[0],k);if(k.h)break;if(oe||256>te){if(!oe)if(YA.nd)u[QA]=(YA.qb|te<<8)>>>0;else{if(CA(k),oe=jr(YA.G[1],YA.H[1],k),CA(k),ze=jr(YA.G[2],YA.H[2],k),He=jr(YA.G[3],YA.H[3],k),k.h)break;u[QA]=(He<<24|oe<<16|te<<8|ze)>>>0}if(oe=!1,++QA,++H>=P&&(H=0,++N,I!=null&&N<=E&&!(N%16)&&I(a,N),yA!=null))for(;G>>yA.Mb]=te}else if(280>te){if(te=Ii(te-256,k),ze=jr(YA.G[4],YA.H[4],k),CA(k),ze=xi(P,ze=Ii(ze,k)),k.h)break;if(QA-B=P;)H-=P,++N,I!=null&&N<=E&&!(N%16)&&I(a,N);if(t(QA<=Q),H&zA&&(YA=bn(oA,H,N)),yA!=null)for(;G>>yA.Mb]=te}else{if(!(te>>yA.Mb]=te;te=QA,t(!(oe>>>(ze=yA).Xa)),u[te]=ze.X[oe],oe=!0}oe||t(k.h==sA(k))}if(a.Pb&&k.h&&QAE?E:N),a.a=0,a.$=QA-B}return 1}return a.a=3,0}function Li(a){t(a!=null),a.vc=null,a.yc=null,a.Ya=null;var u=a.Wa;u!=null&&(u.X=null),a.vb=null,t(a!=null)}function ko(){var a=new wt;return a==null?null:(a.a=0,a.xb=hp,Br("Predictor","VP8LPredictors"),Br("Predictor","VP8LPredictors_C"),Br("PredictorAdd","VP8LPredictorsAdd"),Br("PredictorAdd","VP8LPredictorsAdd_C"),Kr=Tt,Ku=Pt,ku=Rr,Xa=Yt,Za=Et,qa=It,tl=Qr,Y.VP8LMapColor32b=Ns,Y.VP8LMapColor8b=_u,a)}function Is(a,u,B,P,Q){var E=1,I=[a],N=[u],H=P.m,k=P.s,oA=null,QA=0;A:for(;;){if(B)for(;E&&ZA(H,1);){var G=I,hA=N,mA=P,KA=1,yA=mA.m,zA=mA.gc[mA.ab],YA=ZA(yA,2);if(mA.Oc&1<=mA.ab),YA){case 0:case 1:zA.b=ZA(yA,3)+2,KA=Is(ae(zA.Ea,zA.b),ae(zA.nc,zA.b),0,mA,zA.K),zA.K=zA.K[0];break;case 3:var oe,te=ZA(yA,8)+1,ze=16>Re.b),ln=s(Rt);if(ln==null)oe=0;else{var bt=Re.K[0],Ke=Re.w;for(ln[0]=Re.K[0][0],He=1;He<1*yt;++He)ln[He]=rt(bt[Ke+He],ln[He-1]);for(;He<4*Rt;++He)ln[He]=0;Re.K[0]=null,Re.K[0]=ln,oe=1}}KA=oe;break;case 2:break;default:t(0)}E=KA}}if(I=I[0],N=N[0],E&&ZA(H,1)&&!(E=1<=(QA=ZA(H,4))&&11>=QA)){P.a=3;break A}var ve;if(ve=E)e:{var Gr,Dt,kt,Cr=P,Un=I,Yn=N,Or=QA,Mn=B,Jn=Cr.m,cn=Cr.s,Xt=[null],cr=1,Tr=0,ur=nB[Or];t:for(;;){if(Mn&&ZA(Jn,1)){var En=ZA(Jn,3)+2,is=ae(Un,En),Vr=ae(Yn,En),ni=is*Vr;if(!Is(is,Vr,0,Cr,Xt))break t;for(Xt=Xt[0],cn.xc=En,Gr=0;Gr>8&65535;Xt[Gr]=gr,gr>=cr&&(cr=gr+1)}}if(Jn.h)break t;for(Dt=0;5>Dt;++Dt){var un=up[Dt];!Dt&&0=Xn),pi=gi;var ii=s(Tr);if(pi==null||ii==null||di==null){Cr.a=1;break t}var Bi=di;for(Gr=kt=0;GrDt;++Dt){un=up[Dt],vi[Dt]=Bi,ss[Dt]=kt,!Dt&&0Sw)break r}else A0=Sw;for(Ju=0;Juoc)Qp[Ju++]=oc,oc!=0&&(Fp=oc);else{var LB=oc==16,Ip=oc-16,SB=AB[Ip],xp=ZA(ro,$p[Ip])+SB;if(Ju+xp>Sw)break r;for(var NB=LB?Fp:0;0=Dt){var Xu,t0=ii[0];for(Xu=1;Xut0&&(t0=ii[Xu]);In+=t0}}if(Dr.nd=Da,Dr.Qb=0,Da&&(Dr.qb=(vi[3][ss[3]+0].value<<24|vi[1][ss[1]+0].value<<16|vi[2][ss[2]+0].value)>>>0,nl==0&&256>vi[0][ss[0]+0].value&&(Dr.Qb=1,Dr.qb+=vi[0][ss[0]+0].value<<8)),Dr.jc=!Dr.Qb&&6>In,Dr.jc){var Nw,ma=Dr;for(Nw=0;Nw>=mn(Hw,8,io),no>>=mn(ma.G[1][ma.H[1]+no],16,io),no>>=mn(ma.G[2][ma.H[2]+no],0,io),mn(ma.G[3][ma.H[3]+no],24,io))}}}cn.vc=Xt,cn.Wb=cr,cn.Ya=pi,cn.yc=di,ve=1;break e}ve=0}if(!(E=ve)){P.a=3;break A}if(0P+1?[]:0),!(Q.lengtha?0:a>u?u:a}function $l(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Eg(){var a=new iw;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,zu||(zu=Ac)),a}function qr(a,u,B){return a.a==0&&(a.a=u,a.sc=B,a.cb=0),0}function sw(a,u,B){return 3<=B&&a[u+0]==157&&a[u+1]==1&&a[u+2]==42}function Ls(a,u){if(a==null)return 0;if(a.a=0,a.sc="OK",u==null)return qr(a,2,"null VP8Io passed to VP8GetHeaders()");var B=u.data,P=u.w,Q=u.ha;if(4>Q)return qr(a,7,"Truncated header.");var E=B[P+0]|B[P+1]<<8|B[P+2]<<16,I=a.Od;if(I.Rb=!(1&E),I.td=E>>1&7,I.yd=E>>4&1,I.ub=E>>5,3Q)return qr(a,7,"cannot parse picture header");if(!sw(B,P,Q))return qr(a,3,"Bad code word");N.c=16383&(B[P+4]<<8|B[P+3]),N.Td=B[P+4]>>6,N.i=16383&(B[P+6]<<8|B[P+5]),N.Ud=B[P+6]>>6,P+=7,Q-=7,a.za=N.c+15>>4,a.Ub=N.i+15>>4,u.width=N.c,u.height=N.i,u.Da=0,u.j=0,u.v=0,u.va=u.width,u.o=u.height,u.da=0,u.ib=u.width,u.hb=u.height,u.U=u.width,u.T=u.height,n((E=a.Pa).jb,0,255,E.jb.length),t((E=a.Qa)!=null),E.Cb=0,E.Bb=0,E.Fb=1,n(E.Zb,0,0,E.Zb.length),n(E.Lb,0,0,E.Lb)}if(I.ub>Q)return qr(a,7,"bad partition length");SA(E=a.m,B,P,I.ub),P+=I.ub,Q-=I.ub,I.Rb&&(N.Ld=TA(E),N.Kd=TA(E)),N=a.Qa;var H,k=a.Pa;if(t(E!=null),t(N!=null),N.Cb=TA(E),N.Cb){if(N.Bb=TA(E),TA(E)){for(N.Fb=TA(E),H=0;4>H;++H)N.Zb[H]=TA(E)?bA(E,7):0;for(H=0;4>H;++H)N.Lb[H]=TA(E)?bA(E,6):0}if(N.Bb)for(H=0;3>H;++H)k.jb[H]=TA(E)?OA(E,8):255}else N.Bb=0;if(E.Ka)return qr(a,3,"cannot parse segment header");if((N=a.ed).zd=TA(E),N.Tb=OA(E,6),N.wb=OA(E,3),N.Pc=TA(E),N.Pc&&TA(E)){for(k=0;4>k;++k)TA(E)&&(N.vd[k]=bA(E,6));for(k=0;4>k;++k)TA(E)&&(N.od[k]=bA(E,6))}if(a.L=N.Tb==0?0:N.zd?1:2,E.Ka)return qr(a,3,"cannot parse filter header");var oA=Q;if(Q=H=P,P=H+oA,N=oA,a.Xb=(1<N&&(QA=N),SA(a.Jc[+oA],B,H,QA),H+=QA,N-=QA,Q+=3}SA(a.Jc[+k],B,H,N),B=HQA;++QA){if(oA.Cb){var G=oA.Zb[QA];oA.Fb||(G+=B)}else{if(0>16,8>hA.Eb[1]&&(hA.Eb[1]=8),hA.Qc[0]=Jg[xs(G+k,117)],hA.Qc[1]=Xg[xs(G+H,127)],hA.lc=G+H}if(!I.Rb)return qr(a,4,"Not a key frame.");for(TA(E),I=a.Pa,B=0;4>B;++B){for(Q=0;8>Q;++Q)for(P=0;3>P;++P)for(N=0;11>N;++N)k=JA(E,cB[B][Q][P][N])?OA(E,8):oB[B][Q][P][N],I.Wc[B][Q].Yb[P][N]=k;for(Q=0;17>Q;++Q)I.Xc[B][Q]=I.Wc[B][uB[Q]]}return a.kc=TA(E),a.kc&&(a.Bd=OA(E,8)),a.cb=1}function Ac(a,u,B,P,Q,E,I){var N=u[Q].Yb[B];for(B=0;16>Q;++Q){if(!JA(a,N[B+0]))return Q;for(;!JA(a,N[B+1]);)if(N=u[++Q].Yb[0],B=0,Q==16)return 16;var H=u[Q+1].Yb;if(JA(a,N[B+2])){var k=a,oA=0;if(JA(k,(G=N)[(QA=B)+3]))if(JA(k,G[QA+6])){for(N=0,QA=2*(oA=JA(k,G[QA+8]))+(G=JA(k,G[QA+9+oA])),oA=0,G=sB[QA];G[N];++N)oA+=oA+JA(k,G[N]);oA+=3+(8<(k=a).b&&HA(k);var QA,G=k.b,hA=(QA=k.Ca>>1)-(k.I>>G)>>31;--k.b,k.Ca+=hA,k.Ca|=1,k.I-=(QA+1&hA)<>3),a[u+B+32*P]=-256&Q?0>Q?0:255:Q}function sn(a,u,B,P,Q,E){Ni(a,u,0,B,P+Q),Ni(a,u,1,B,P+E),Ni(a,u,2,B,P-E),Ni(a,u,3,B,P-Q)}function aa(a){return(20091*a>>16)+a}function ow(a,u,B,P){var Q,E=0,I=s(16);for(Q=0;4>Q;++Q){var N=a[u+0]+a[u+8],H=a[u+0]-a[u+8],k=(35468*a[u+4]>>16)-aa(a[u+12]),oA=aa(a[u+4])+(35468*a[u+12]>>16);I[E+0]=N+oA,I[E+1]=H+k,I[E+2]=H-k,I[E+3]=N-oA,E+=4,u++}for(Q=E=0;4>Q;++Q)N=(a=I[E+0]+4)+I[E+8],H=a-I[E+8],k=(35468*I[E+4]>>16)-aa(I[E+12]),Ni(B,P,0,0,N+(oA=aa(I[E+4])+(35468*I[E+12]>>16))),Ni(B,P,1,0,H+k),Ni(B,P,2,0,H-k),Ni(B,P,3,0,N-oA),E++,P+=32}function Ig(a,u,B,P){var Q=a[u+0]+4,E=35468*a[u+4]>>16,I=aa(a[u+4]),N=35468*a[u+1]>>16;sn(B,P,0,Q+I,a=aa(a[u+1]),N),sn(B,P,1,Q+E,a,N),sn(B,P,2,Q-E,a,N),sn(B,P,3,Q-I,a,N)}function xg(a,u,B,P,Q){ow(a,u,B,P),Q&&ow(a,u+16,B,P+4)}function Ss(a,u,B,P){rl(a,u+0,B,P,1),rl(a,u+32,B,P+128,1)}function lw(a,u,B,P){var Q;for(a=a[u+0]+4,Q=0;4>Q;++Q)for(u=0;4>u;++u)Ni(B,P,u,Q,a)}function cw(a,u,B,P){a[u+0]&&ar(a,u+0,B,P),a[u+16]&&ar(a,u+16,B,P+4),a[u+32]&&ar(a,u+32,B,P+128),a[u+48]&&ar(a,u+48,B,P+128+4)}function ec(a,u,B,P){var Q,E=s(16);for(Q=0;4>Q;++Q){var I=a[u+0+Q]+a[u+12+Q],N=a[u+4+Q]+a[u+8+Q],H=a[u+4+Q]-a[u+8+Q],k=a[u+0+Q]-a[u+12+Q];E[0+Q]=I+N,E[8+Q]=I-N,E[4+Q]=k+H,E[12+Q]=k-H}for(Q=0;4>Q;++Q)I=(a=E[0+4*Q]+3)+E[3+4*Q],N=E[1+4*Q]+E[2+4*Q],H=E[1+4*Q]-E[2+4*Q],k=a-E[3+4*Q],B[P+0]=I+N>>3,B[P+16]=k+H>>3,B[P+32]=I-N>>3,B[P+48]=k-H>>3,P+=64}function Vo(a,u,B){var P,Q=u-32,E=wi,I=255-a[Q-1];for(P=0;PB;++B)r(a,u+32*B,a,u-32,16)}function uw(a,u){var B;for(B=16;0P;++P)n(u,B+32*P,a,16)}function Hg(a,u){var B,P=16;for(B=0;16>B;++B)P+=a[u-1+32*B]+a[u+B-32];ts(P>>5,a,u)}function zo(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u-1+32*B];ts(P>>4,a,u)}function Fu(a,u){var B,P=8;for(B=0;16>B;++B)P+=a[u+B-32];ts(P>>4,a,u)}function jg(a,u){ts(128,a,u)}function dt(a,u,B){return a+2*u+B+2>>2}function Og(a,u){var B,P=u-32;for(P=new Uint8Array([dt(a[P-1],a[P+0],a[P+1]),dt(a[P+0],a[P+1],a[P+2]),dt(a[P+1],a[P+2],a[P+3]),dt(a[P+2],a[P+3],a[P+4])]),B=0;4>B;++B)r(a,u+32*B,P,0,P.length)}function Tg(a,u){var B=a[u-1],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];le(a,u+0,16843009*dt(a[u-1-32],B,P)),le(a,u+32,16843009*dt(B,P,Q)),le(a,u+64,16843009*dt(P,Q,E)),le(a,u+96,16843009*dt(Q,E,E))}function Mg(a,u){var B,P=4;for(B=0;4>B;++B)P+=a[u+B-32]+a[u-1+32*B];for(P>>=3,B=0;4>B;++B)n(a,u+32*B,P,4)}function oa(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+96]=dt(P,Q,a[u-1+96]),a[u+1+96]=a[u+0+64]=dt(B,P,Q),a[u+2+96]=a[u+1+64]=a[u+0+32]=dt(E,B,P),a[u+3+96]=a[u+2+64]=a[u+1+32]=a[u+0+0]=dt(I,E,B),a[u+3+64]=a[u+2+32]=a[u+1+0]=dt(N,I,E),a[u+3+32]=a[u+2+0]=dt(H,N,I),a[u+3+0]=dt(k,H,N)}function la(a,u){var B=a[u+1-32],P=a[u+2-32],Q=a[u+3-32],E=a[u+4-32],I=a[u+5-32],N=a[u+6-32],H=a[u+7-32];a[u+0+0]=dt(a[u+0-32],B,P),a[u+1+0]=a[u+0+32]=dt(B,P,Q),a[u+2+0]=a[u+1+32]=a[u+0+64]=dt(P,Q,E),a[u+3+0]=a[u+2+32]=a[u+1+64]=a[u+0+96]=dt(Q,E,I),a[u+3+32]=a[u+2+64]=a[u+1+96]=dt(E,I,N),a[u+3+64]=a[u+2+96]=dt(I,N,H),a[u+3+96]=dt(N,H,H)}function _g(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1-32],I=a[u+0-32],N=a[u+1-32],H=a[u+2-32],k=a[u+3-32];a[u+0+0]=a[u+1+64]=E+I+1>>1,a[u+1+0]=a[u+2+64]=I+N+1>>1,a[u+2+0]=a[u+3+64]=N+H+1>>1,a[u+3+0]=H+k+1>>1,a[u+0+96]=dt(Q,P,B),a[u+0+64]=dt(P,B,E),a[u+0+32]=a[u+1+96]=dt(B,E,I),a[u+1+32]=a[u+2+96]=dt(E,I,N),a[u+2+32]=a[u+3+96]=dt(I,N,H),a[u+3+32]=dt(N,H,k)}function Rg(a,u){var B=a[u+0-32],P=a[u+1-32],Q=a[u+2-32],E=a[u+3-32],I=a[u+4-32],N=a[u+5-32],H=a[u+6-32],k=a[u+7-32];a[u+0+0]=B+P+1>>1,a[u+1+0]=a[u+0+64]=P+Q+1>>1,a[u+2+0]=a[u+1+64]=Q+E+1>>1,a[u+3+0]=a[u+2+64]=E+I+1>>1,a[u+0+32]=dt(B,P,Q),a[u+1+32]=a[u+0+96]=dt(P,Q,E),a[u+2+32]=a[u+1+96]=dt(Q,E,I),a[u+3+32]=a[u+2+96]=dt(E,I,N),a[u+3+64]=dt(I,N,H),a[u+3+96]=dt(N,H,k)}function tc(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96];a[u+0+0]=B+P+1>>1,a[u+2+0]=a[u+0+32]=P+Q+1>>1,a[u+2+32]=a[u+0+64]=Q+E+1>>1,a[u+1+0]=dt(B,P,Q),a[u+3+0]=a[u+1+32]=dt(P,Q,E),a[u+3+32]=a[u+1+64]=dt(Q,E,E),a[u+3+64]=a[u+2+64]=a[u+0+96]=a[u+1+96]=a[u+2+96]=a[u+3+96]=E}function Uu(a,u){var B=a[u-1+0],P=a[u-1+32],Q=a[u-1+64],E=a[u-1+96],I=a[u-1-32],N=a[u+0-32],H=a[u+1-32],k=a[u+2-32];a[u+0+0]=a[u+2+32]=B+I+1>>1,a[u+0+32]=a[u+2+64]=P+B+1>>1,a[u+0+64]=a[u+2+96]=Q+P+1>>1,a[u+0+96]=E+Q+1>>1,a[u+3+0]=dt(N,H,k),a[u+2+0]=dt(I,N,H),a[u+1+0]=a[u+3+32]=dt(B,I,N),a[u+1+32]=a[u+3+64]=dt(P,B,I),a[u+1+64]=a[u+3+96]=dt(Q,P,B),a[u+1+96]=dt(E,Q,P)}function Wo(a,u){var B;for(B=0;8>B;++B)r(a,u+32*B,a,u-32,8)}function Kg(a,u){var B;for(B=0;8>B;++B)n(a,u,a[u-1],8),u+=32}function ca(a,u,B){var P;for(P=0;8>P;++P)n(u,B+32*P,a,8)}function kg(a,u){var B,P=8;for(B=0;8>B;++B)P+=a[u+B-32]+a[u-1+32*B];ca(P>>4,a,u)}function Eu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u+B-32];ca(P>>3,a,u)}function Iu(a,u){var B,P=4;for(B=0;8>B;++B)P+=a[u-1+32*B];ca(P>>3,a,u)}function fw(a,u){ca(128,a,u)}function ua(a,u,B){var P=a[u-B],Q=a[u+0],E=3*(Q-P)+Gg[1020+a[u-2*B]-a[u+B]],I=Dw[112+(E+4>>3)];a[u-B]=wi[255+P+Dw[112+(E+3>>3)]],a[u+0]=wi[255+Q-I]}function xu(a,u,B,P){var Q=a[u+0],E=a[u+B];return Oi[255+a[u-2*B]-a[u-B]]>P||Oi[255+E-Q]>P}function rc(a,u,B,P){return 4*Oi[255+a[u-B]-a[u+0]]+Oi[255+a[u-2*B]-a[u+B]]<=P}function Lu(a,u,B,P,Q){var E=a[u-3*B],I=a[u-2*B],N=a[u-B],H=a[u+0],k=a[u+B],oA=a[u+2*B],QA=a[u+3*B];return 4*Oi[255+N-H]+Oi[255+I-k]>P?0:Oi[255+a[u-4*B]-E]<=Q&&Oi[255+E-I]<=Q&&Oi[255+I-N]<=Q&&Oi[255+QA-oA]<=Q&&Oi[255+oA-k]<=Q&&Oi[255+k-H]<=Q}function Yo(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P,B,Q)&&ua(a,u+P,B)}function Su(a,u,B,P){var Q=2*P+1;for(P=0;16>P;++P)rc(a,u+P*B,1,Q)&&ua(a,u+P*B,1)}function hw(a,u,B,P){var Q;for(Q=3;0>7,zA=18*YA+63>>7,YA=9*YA+63>>7;H[k-3*oA]=wi[255+H[k-3*oA]+YA],H[k-2*oA]=wi[255+QA+zA],H[k-oA]=wi[255+G+yA],H[k+0]=wi[255+hA-yA],H[k+oA]=wi[255+mA-zA],H[k+2*oA]=wi[255+KA-YA]}u+=P}}function ha(a,u,B,P,Q,E,I,N){for(E=2*E+1;0>3)],KA=Dw[112+(KA+3>>3)],yA=mA+1>>1;H[k-2*oA]=wi[255+H[k-2*oA]+yA],H[k-oA]=wi[255+QA+KA],H[k+0]=wi[255+G-mA],H[k+oA]=wi[255+hA-yA]}u+=P}}function dw(a,u,B,P,Q,E){fa(a,u,B,1,16,P,Q,E)}function Jo(a,u,B,P,Q,E){fa(a,u,1,B,16,P,Q,E)}function gw(a,u,B,P,Q,E){var I;for(I=3;0k?0:255:k)&255,k=H,Q[E+N]=oA}}function vr(a,u,B,P){var Q=u.width,E=u.o;if(t(a!=null&&u!=null),0>B||0>=P||B+P>E)return null;if(!a.Cc){if(a.ga==null){var I;if(a.ga=new Ct,(I=a.ga==null)||(I=u.width*u.o,t(a.Gb.length==0),a.Gb=s(I),a.Uc=0,a.Gb==null?I=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,I=1),I=!I),!I){I=a.ga;var N=a.Fa,H=a.P,k=a.qc,oA=a.mb,QA=a.nb,G=H+1,hA=k-1,mA=I.l;if(t(N!=null&&oA!=null&&u!=null),eo[0]=null,eo[1]=Jt,eo[2]=xr,eo[3]=$r,I.ca=oA,I.tb=QA,I.c=u.width,I.i=u.height,t(0=k)u=0;else if(I.$a=3&N[H+0],I.Z=N[H+0]>>2&3,I.Lc=N[H+0]>>4&3,H=N[H+0]>>6&3,0>I.$a||1=I.c*I.i;I=!u}if(I)return null;a.ga.Lc!=1?a.Ga=0:P=E-B}t(a.ga!=null),t(B+P<=E);A:{if(u=(N=a.ga).c,E=N.l.o,N.$a==0){if(G=a.rc,hA=a.Vc,mA=a.Fa,H=a.P+1+B*u,k=a.mb,oA=a.nb+B*u,t(H<=a.P+a.qc),N.Z!=0)for(t(eo[N.Z]!=null),I=0;I=u)u=1;else if(N.ic||rs(),N.ic){N=I.V,G=I.Ba,hA=I.c;var KA=I.i,yA=(mA=1,H=I.$/hA,k=I.$%hA,oA=I.m,QA=I.s,I.$),zA=hA*KA,YA=hA*u,oe=QA.wc,te=yA(KA=jr(te.G[0],te.H[0],oA)))N[G+yA]=KA,++yA,++k>=hA&&(k=0,++H<=u&&!(H%16)&&As(I,H));else{if(!(280>KA)){mA=0;break e}KA=Ii(KA-256,oA);var ze,He=jr(te.G[4],te.H[4],oA);if(CA(oA),!(yA>=(He=xi(hA,He=Ii(He,oA)))&&zA-yA>=KA)){mA=0;break e}for(ze=0;ze=hA;)k-=hA,++H<=u&&!(H%16)&&As(I,H);yAu?u:H);break e}!mA||oA.h&&yA=E&&(a.Cc=1),P=1}if(!P)return null;if(a.Cc&&((P=a.ga)!=null&&(P.mc=null),a.ga=null,0>23,N[H+4*I+1]=N[H+4*I+1]*QA>>23,N[H+4*I+2]=N[H+4*I+2]*QA>>23)}u+=E}}function An(a,u,B,P,Q){for(;0>4)*H>>16;a[u+2*E+0]=(240&I|I>>4)*H>>16&240|(15&I|I<<4)*H>>16>>4&15,a[u+2*E+1]=240&k|N}u+=Q}}function Qn(a,u,B,P,Q,E,I,N){var H,k,oA=255;for(k=0;k>8}function rs(){Vu=an,ep=An,tp=Qn,rp=wa}function da(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA,G,hA,mA,KA,yA,zA,YA,oe){var te,ze=oe-1>>1,He=N[H+0]|k[oA+0]<<16,yt=QA[G+0]|hA[mA+0]<<16;t(P!=null);var Re=3*He+yt+131074>>2;for(u(P[Q+0],255&Re,Re>>16,KA,yA),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+0],255&Re,Re>>16,zA,YA)),te=1;te<=ze;++te){var Rt=N[H+te]|k[oA+te]<<16,ln=QA[G+te]|hA[mA+te]<<16,bt=He+Rt+yt+ln+524296,Ke=bt+2*(Rt+yt)>>3;Re=Ke+He>>1,He=(bt=bt+2*(He+ln)>>3)+Rt>>1,u(P[Q+2*te-1],255&Re,Re>>16,KA,yA+(2*te-1)*B),u(P[Q+2*te-0],255&He,He>>16,KA,yA+(2*te-0)*B),E!=null&&(Re=bt+yt>>1,He=Ke+ln>>1,u(E[I+2*te-1],255&Re,Re>>16,zA,YA+(2*te-1)*B),u(E[I+2*te+0],255&He,He>>16,zA,YA+(2*te+0)*B)),He=Rt,yt=ln}1&oe||(Re=3*He+yt+131074>>2,u(P[Q+oe-1],255&Re,Re>>16,KA,yA+(oe-1)*B),E!=null&&(Re=3*yt+He+131074>>2,u(E[I+oe-1],255&Re,Re>>16,zA,YA+(oe-1)*B)))}}function Nu(){Ti[mw]=hB,Ti[Pw]=wp,Ti[lp]=wB,Ti[Cw]=dp,Ti[yw]=gp,Ti[Vg]=pp,Ti[cp]=dB,Ti[zg]=wp,Ti[Wg]=dp,Ti[bw]=gp,Ti[Yg]=pp}function nc(a){return a&~gB?0>a?0:255:a>>Bp}function Va(a,u){return nc((19077*a>>8)+(26149*u>>8)-14234)}function Xo(a,u,B){return nc((19077*a>>8)-(6419*u>>8)-(13320*B>>8)+8708)}function Zo(a,u){return nc((19077*a>>8)+(33050*u>>8)-17685)}function za(a,u,B,P,Q){P[Q+0]=Va(a,B),P[Q+1]=Xo(a,u,B),P[Q+2]=Zo(a,u)}function Fn(a,u,B,P,Q){P[Q+0]=Zo(a,u),P[Q+1]=Xo(a,u,B),P[Q+2]=Va(a,B)}function qo(a,u,B,P,Q){var E=Xo(a,u,B);u=E<<3&224|Zo(a,u)>>3,P[Q+0]=248&Va(a,B)|E>>5,P[Q+1]=u}function $o(a,u,B,P,Q){var E=240&Zo(a,u)|15;P[Q+0]=240&Va(a,B)|Xo(a,u,B)>>4,P[Q+1]=E}function Hu(a,u,B,P,Q){P[Q+0]=255,za(a,u,B,P,Q+1)}function ju(a,u,B,P,Q){Fn(a,u,B,P,Q),P[Q+3]=255}function Wn(a,u,B,P,Q){za(a,u,B,P,Q),P[Q+3]=255}function ga(a,u,B){Y[a]=function(P,Q,E,I,N,H,k,oA,QA){for(var G=oA+(-2&QA)*B;oA!=G;)u(P[Q+0],E[I+0],N[H+0],k,oA),u(P[Q+1],E[I+0],N[H+0],k,oA+B),Q+=2,++I,++H,oA+=2*B;1&QA&&u(P[Q+0],E[I+0],N[H+0],k,oA)}}function ic(a,u,B){return B==0?a==0?u==0?6:5:u==0?4:0:B}function pw(a,u,B,P,Q){switch(a>>>30){case 3:rl(u,B,P,Q,0);break;case 2:ji(u,B,P,Q);break;case 1:ar(u,B,P,Q)}}function Hi(a,u){var B,P,Q=u.M,E=u.Nb,I=a.oc,N=a.pc+40,H=a.oc,k=a.pc+584,oA=a.oc,QA=a.pc+600;for(B=0;16>B;++B)I[N+32*B-1]=129;for(B=0;8>B;++B)H[k+32*B-1]=129,oA[QA+32*B-1]=129;for(0B;++B)r(I,N+32*B-4,I,N+32*B+12,4);for(B=-1;8>B;++B)r(H,k+32*B-4,H,k+32*B+4,4),r(oA,QA+32*B-4,oA,QA+32*B+4,4)}var hA=a.Gd,mA=a.Hd+P,KA=G.ad,yA=G.Hc;if(0=a.za-1?n(zA,YA,hA[mA].y[15],4):r(zA,YA,hA[mA+1].y,0,4)),B=0;4>B;B++)zA[YA+128+B]=zA[YA+256+B]=zA[YA+384+B]=zA[YA+0+B];for(B=0;16>B;++B,yA<<=2)zA=I,YA=N+Dp[B],ns[G.Ob[B]](zA,YA),pw(yA,KA,16*+B,zA,YA)}else if(zA=ic(P,Q,G.Ob[0]),Ao[zA](I,N),yA!=0)for(B=0;16>B;++B,yA<<=2)pw(yA,KA,16*+B,I,N+Dp[B]);for(B=G.Gc,zA=ic(P,Q,G.Dd),va[zA](H,k),va[zA](oA,QA),yA=KA,zA=H,YA=k,255&(G=0|B)&&(170&G?js(yA,256,zA,YA):dr(yA,256,zA,YA)),G=oA,yA=QA,255&(B>>=8)&&(170&B?js(KA,320,G,yA):dr(KA,320,G,yA)),QB;++B)r(hA,mA+B*a.R,I,N+32*B,16);for(B=0;8>B;++B)r(KA,G+B*a.B,H,k+32*B,8),r(yA,zA+B*a.B,oA,QA+32*B,8)}}function Al(a,u,B,P,Q,E,I,N,H){var k=[0],oA=[0],QA=0,G=H!=null?H.kd:0,hA=H!=null?H:new ee;if(a==null||12>B)return 7;hA.data=a,hA.w=u,hA.ha=B,u=[u],B=[B],hA.gb=[hA.gb];A:{var mA=u,KA=B,yA=hA.gb;if(t(a!=null),t(KA!=null),t(yA!=null),yA[0]=0,12<=KA[0]&&!e(a,mA[0],"RIFF")){if(e(a,mA[0]+8,"WEBP")){yA=3;break A}var zA=Je(a,mA[0]+4);if(12>zA||4294967286KA[0]-8){yA=7;break A}yA[0]=zA,mA[0]+=12,KA[0]-=12}yA=0}if(yA!=0)return yA;for(zA=0yA[0])yA=7;else{if(!e(YA,KA[0],"VP8X")){if(Je(YA,KA[0]+4)!=10){yA=3;break A}if(18>yA[0]){yA=7;break A}var He=Je(YA,KA[0]+8),yt=1+Pe(YA,KA[0]+12);if(2147483648<=yt*(YA=1+Pe(YA,KA[0]+15))){yA=3;break A}ze!=null&&(ze[0]=He),oe!=null&&(oe[0]=yt),te!=null&&(te[0]=YA),KA[0]+=18,yA[0]-=18,Re[0]=1}yA=0}}if(QA=QA[0],mA=mA[0],yA!=0)return yA;if(KA=!!(2&mA),!zA&&QA)return 3;if(E!=null&&(E[0]=!!(16&mA)),I!=null&&(I[0]=KA),N!=null&&(N[0]=0),I=k[0],mA=oA[0],QA&&KA&&H==null){yA=0;break}if(4>B){yA=7;break}if(zA&&QA||!zA&&!QA&&!e(a,u[0],"ALPH")){B=[B],hA.na=[hA.na],hA.P=[hA.P],hA.Sa=[hA.Sa];A:{He=a,yA=u,zA=B;var Re=hA.gb;oe=hA.na,te=hA.P,ze=hA.Sa,yt=22,t(He!=null),t(zA!=null),YA=yA[0];var Rt=zA[0];for(t(oe!=null),t(ze!=null),oe[0]=null,te[0]=null,ze[0]=0;;){if(yA[0]=YA,zA[0]=Rt,8>Rt){yA=7;break A}var ln=Je(He,YA+4);if(4294967286Re){yA=3;break A}if(!e(He,YA,"VP8 ")||!e(He,YA,"VP8L")){yA=0;break A}if(Rt[0]zA[0])yA=7;else{if(YA||yt){if(Re=Je(Re,He+4),12<=oe&&Re>oe-12){yA=3;break A}if(G&&Re>zA[0]-8){yA=7;break A}te[0]=Re,yA[0]+=8,zA[0]-=8,ze[0]=yt}else ze[0]=5<=zA[0]&&Re[He+0]==47&&!(Re[He+4]>>5),te[0]=zA[0];yA=0}if(B=B[0],hA.Ja=hA.Ja[0],hA.xa=hA.xa[0],u=u[0],yA!=0)break;if(4294967286B){yA=7;break}N=I,G=mA,KA=E,a==null||5>B?a=0:5<=B&&a[u+0]==47&&!(a[u+4]>>5)?(zA=[0],Re=[0],oe=[0],MA(te=new z,a,u,B),sa(te,zA,Re,oe)?(N!=null&&(N[0]=zA[0]),G!=null&&(G[0]=Re[0]),KA!=null&&(KA[0]=oe[0]),a=1):a=0):a=0}else{if(10>B){yA=7;break}N=mA,a==null||10>B||!sw(a,u+3,B-3)?a=0:(G=a[u+0]|a[u+1]<<8|a[u+2]<<16,KA=16383&(a[u+7]<<8|a[u+6]),a=16383&(a[u+9]<<8|a[u+8]),1&G||3<(G>>1&7)||!(G>>4&1)||G>>5>=hA.Ja||!KA||!a?a=0:(I&&(I[0]=KA),N&&(N[0]=a),a=1))}if(!a||(I=I[0],mA=mA[0],QA&&(k[0]!=I||oA[0]!=mA)))return 3;H!=null&&(H[0]=hA,H.offset=u-H.w,t(4294967286>u-H.w),t(H.offset==H.ha-B));break}return yA==0||yA==7&&QA&&H==null?(E!=null&&(E[0]|=hA.na!=null&&0B||(E&=-2,I&=-2),0>E||0>I||0>=N||0>=H||E+N>P||I+H>Q))return 0;if(u.v=E,u.j=I,u.va=E+N,u.o=I+H,u.U=N,u.T=H,u.da=a!=null&&0a.S){var u=a.f.RGBA;u.fb+=(a.height-1)*u.A,u.A=-u.A}else u=a.f.kb,a=a.height,u.O+=(a-1)*u.fa,u.fa=-u.fa,u.N+=(a-1>>1)*u.Ab,u.Ab=-u.Ab,u.W+=(a-1>>1)*u.Db,u.Db=-u.Db,u.F!=null&&(u.J+=(a-1)*u.lb,u.lb=-u.lb);return 0}function Wa(a,u,B,P){if(P==null||0>=a||0>=u)return 2;if(B!=null){if(B.Da){var Q=B.cd,E=B.bd,I=-2&B.v,N=-2&B.j;if(0>I||0>N||0>=Q||0>=E||I+Q>a||N+E>u)return 2;a=Q,u=E}if(B.da){if(!tt(a,u,Q=[B.ib],E=[B.hb]))return 2;a=Q[0],u=E[0]}}P.width=a,P.height=u;A:{var H=P.width,k=P.height;if(a=P.S,0>=H||0>=k||!(a>=mw&&13>a))a=2;else{if(0>=P.Rd&&P.sd==null){I=E=Q=u=0;var oA=(N=H*mp[a])*k;if(11>a||(E=(k+1)/2*(u=(H+1)/2),a==12&&(I=(Q=H)*k)),(k=s(oA+2*E+I))==null){a=1;break A}P.sd=k,11>a?((H=P.f.RGBA).eb=k,H.fb=0,H.A=N,H.size=oA):((H=P.f.kb).y=k,H.O=0,H.fa=N,H.Fd=oA,H.f=k,H.N=0+oA,H.Ab=u,H.Cd=E,H.ea=k,H.W=0+oA+E,H.Db=u,H.Ed=E,a==12&&(H.F=k,H.J=0+oA+2*E),H.Tc=I,H.lb=Q)}if(u=1,Q=P.S,E=P.width,I=P.height,Q>=mw&&13>Q)if(11>Q)a=P.f.RGBA,u&=(N=Math.abs(a.A))*(I-1)+E<=a.size,u&=N>=E*mp[Q],u&=a.eb!=null;else{a=P.f.kb,N=(E+1)/2,oA=(I+1)/2,H=Math.abs(a.fa),k=Math.abs(a.Ab);var QA=Math.abs(a.Db),G=Math.abs(a.lb),hA=G*(I-1)+E;u&=H*(I-1)+E<=a.Fd,u&=k*(oA-1)+N<=a.Cd,u=(u&=QA*(oA-1)+N<=a.Ed)&H>=E&k>=N&QA>=N,u&=a.y!=null,u&=a.f!=null,u&=a.ea!=null,Q==12&&(u&=G>=E,u&=hA<=a.Tc,u&=a.F!=null)}else u=0;a=u?0:2}}return a!=0||B!=null&&B.fd&&(a=Tu(P)),a}var el=64,fi=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],hi=24,Ya=32,pa=8,Ja=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];je("Predictor0","PredictorAdd0"),Y.Predictor0=function(){return 4278190080},Y.Predictor1=function(a){return a},Y.Predictor2=function(a,u,B){return u[B+0]},Y.Predictor3=function(a,u,B){return u[B+1]},Y.Predictor4=function(a,u,B){return u[B-1]},Y.Predictor5=function(a,u,B){return Xe(Xe(a,u[B+1]),u[B+0])},Y.Predictor6=function(a,u,B){return Xe(a,u[B-1])},Y.Predictor7=function(a,u,B){return Xe(a,u[B+0])},Y.Predictor8=function(a,u,B){return Xe(u[B-1],u[B+0])},Y.Predictor9=function(a,u,B){return Xe(u[B+0],u[B+1])},Y.Predictor10=function(a,u,B){return Xe(Xe(a,u[B-1]),Xe(u[B+0],u[B+1]))},Y.Predictor11=function(a,u,B){var P=u[B+0];return 0>=Bt(P>>24&255,a>>24&255,(u=u[B-1])>>24&255)+Bt(P>>16&255,a>>16&255,u>>16&255)+Bt(P>>8&255,a>>8&255,u>>8&255)+Bt(255&P,255&a,255&u)?P:a},Y.Predictor12=function(a,u,B){var P=u[B+0];return(ir((a>>24&255)+(P>>24&255)-((u=u[B-1])>>24&255))<<24|ir((a>>16&255)+(P>>16&255)-(u>>16&255))<<16|ir((a>>8&255)+(P>>8&255)-(u>>8&255))<<8|ir((255&a)+(255&P)-(255&u)))>>>0},Y.Predictor13=function(a,u,B){var P=u[B-1];return(Ot((a=Xe(a,u[B+0]))>>24&255,P>>24&255)<<24|Ot(a>>16&255,P>>16&255)<<16|Ot(a>>8&255,P>>8&255)<<8|Ot(255&a,255&P))>>>0};var Mu=Y.PredictorAdd0;Y.PredictorAdd1=_t,je("Predictor2","PredictorAdd2"),je("Predictor3","PredictorAdd3"),je("Predictor4","PredictorAdd4"),je("Predictor5","PredictorAdd5"),je("Predictor6","PredictorAdd6"),je("Predictor7","PredictorAdd7"),je("Predictor8","PredictorAdd8"),je("Predictor9","PredictorAdd9"),je("Predictor10","PredictorAdd10"),je("Predictor11","PredictorAdd11"),je("Predictor12","PredictorAdd12"),je("Predictor13","PredictorAdd13");var sc=Y.PredictorAdd2;We("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),We("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var Kr,Bw=Y.ColorIndexInverseTransform,Ns=Y.MapARGB,Hs=Y.VP8LColorIndexInverseTransformAlpha,_u=Y.MapAlpha,Ru=Y.VP8LPredictorsAdd=[];Ru.length=16,(Y.VP8LPredictors=[]).length=16,(Y.VP8LPredictorsAdd_C=[]).length=16,(Y.VP8LPredictors_C=[]).length=16;var Ku,ku,Xa,Za,qa,tl,$a,rl,ji,js,ar,dr,kr,on,Ba,Gu,ac,vw,J0,X0,Z0,q0,$0,Ap,Vu,ep,tp,rp,np=s(511),ip=s(2041),sp=s(225),ap=s(767),op=0,Gg=ip,Dw=sp,wi=ap,Oi=np,mw=0,Pw=1,lp=2,Cw=3,yw=4,Vg=5,cp=6,zg=7,Wg=8,bw=9,Yg=10,$p=[2,3,7],AB=[3,3,11],up=[280,256,256,256,40],eB=[0,1,1,1,0],tB=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rB=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],nB=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],iB=8,Jg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Xg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zu=null,sB=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],aB=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],fp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],oB=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lB=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cB=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],uB=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ao=[],ns=[],va=[],fB=1,hp=2,eo=[],Ti=[];da("UpsampleRgbLinePair",za,3),da("UpsampleBgrLinePair",Fn,3),da("UpsampleRgbaLinePair",Wn,4),da("UpsampleBgraLinePair",ju,4),da("UpsampleArgbLinePair",Hu,4),da("UpsampleRgba4444LinePair",$o,2),da("UpsampleRgb565LinePair",qo,2);var hB=Y.UpsampleRgbLinePair,wB=Y.UpsampleBgrLinePair,wp=Y.UpsampleRgbaLinePair,dp=Y.UpsampleBgraLinePair,gp=Y.UpsampleArgbLinePair,pp=Y.UpsampleRgba4444LinePair,dB=Y.UpsampleRgb565LinePair,Qw=16,Fw=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&rs()),P.Pb&&0(H=B.Md)?0:100k;++k)12>(QA=Q.pb[k]).lc&&(QA.ia=H*CB[0>QA.lc?0:QA.lc]>>3),oA|=QA.ia;oA&&(alert("todo:VP8InitRandom"),Q.ia=1)}Q.Ga=B.Id,100Q.Ga&&(Q.Ga=0)}(function(G,hA){if(G==null)return 0;if(hA==null)return qr(G,2,"NULL VP8Io parameter in VP8Decode().");if(!G.cb&&!Ls(G,hA))return 0;if(t(G.cb),hA.ac==null||hA.ac(hA)){hA.ob&&(G.L=0);var mA=Uw[G.L];if(G.L==2?(G.yb=0,G.zb=0):(G.yb=hA.v-mA>>4,G.zb=hA.j-mA>>4,0>G.yb&&(G.yb=0),0>G.zb&&(G.zb=0)),G.Va=hA.o+15+mA>>4,G.Hb=hA.va+15+mA>>4,G.Hb>G.za&&(G.Hb=G.za),G.Va>G.Ub&&(G.Va=G.Ub),0mA;++mA){var yA;if(G.Qa.Cb){var zA=G.Qa.Lb[mA];G.Qa.Fb||(zA+=KA.Tb)}else zA=KA.Tb;for(yA=0;1>=yA;++yA){var YA=G.gd[mA][yA],oe=zA;if(KA.Pc&&(oe+=KA.vd[0],yA&&(oe+=KA.od[0])),0<(oe=0>oe?0:63>2:te>>1)>9-KA.wb&&(te=9-KA.wb),1>te&&(te=1),YA.dd=te,YA.tc=2*oe+te,YA.ld=40<=oe?2:15<=oe?1:0}else YA.tc=0;YA.La=yA}}}mA=0}else qr(G,6,"Frame setup failed"),mA=G.a;if(mA=mA==0){if(mA){G.$c=0,0G.Vb){if(G.Vb=0,G.Ec=s(YA),G.Fc=0,G.Ec==null){mA=qr(G,1,"no memory during frame initialization.");break e}G.Vb=YA}YA=G.Ec,oe=G.Fc,G.Ac=YA,G.Bc=oe,oe+=KA,G.Gd=h(ze,nw),G.Hd=0,G.rb=h(He+1,yu),G.sb=1,G.wa=yt?h(yt,Si):null,G.Y=0,G.D.Nb=0,G.D.wa=G.wa,G.D.Y=G.Y,0=mA;++mA)np[255+mA]=0>mA?-mA:mA;for(mA=-1020;1020>=mA;++mA)ip[1020+mA]=-128>mA?-128:127=mA;++mA)sp[112+mA]=-16>mA?-16:15=mA;++mA)ap[255+mA]=0>mA?0:255kt;++kt){var cn,Xt=Yn[0+kt];for(cn=0;4>cn;++cn){Xt=lB[Cr[Un+cn]][Xt];for(var cr=fp[JA(Dt,Xt[0])];0>3;for(cr=0;256>cr;cr+=16)kt[Mn+cr]=ni}En=1,is=Un[0]}var gr=15&Dt.la,un=15&Jn.la;for(cr=0;4>cr;++cr){var di=1&un;for(ni=ur=0;4>ni;++ni)gr=gr>>1|(di=(Vr=zu(Cr,is,Vr=di+(1&gr),Or.Sc,En,kt,Mn))>En)<<7,ur=ur<<2|(3>=4,un=un>>1|di<<7,cn=(cn<<8|ur)>>>0}for(is=gr,En=un>>4,Tr=0;4>Tr;Tr+=2){for(ur=0,gr=Dt.la>>4+Tr,un=Jn.la>>4+Tr,cr=0;2>cr;++cr){for(di=1&un,ni=0;2>ni;++ni)Vr=di+(1&gr),gr=gr>>1|(di=0<(Vr=zu(Cr,Un[2],Vr,Or.Qc,0,kt,Mn)))<<3,ur=ur<<2|(3>=2,un=un>>1|di<<5}Xt|=ur<<4*Tr,is|=gr<<4<=Ke.zb&&Ke.M<=Ke.Va,Ke.Aa==0)e:{if(bt.M=Ke.M,bt.uc=Dt,Hi(Ke,bt),Gr=1,bt=(ur=Ke.D).Nb,Dt=(Xt=Uw[Ke.L])*Ke.R,Cr=Xt/2*Ke.B,cr=16*bt*Ke.R,ni=8*bt*Ke.B,Un=Ke.sa,Yn=Ke.ta-Dt+cr,Or=Ke.qa,kt=Ke.ra-Cr+ni,Mn=Ke.Ha,Jn=Ke.Ia-Cr+ni,un=(gr=ur.M)==0,cn=gr>=Ke.Va-1,Ke.Aa==2&&Hi(Ke,ur),ur.uc)for(di=(Vr=Ke).D.M,t(Vr.D.uc),ur=Vr.yb;urve.o&&(gr=ve.o),ve.F=null,ve.J=null,Ke.Fa!=null&&0>1),ve.W+=Ke.B*(Xt>>1),ve.F!=null&&(ve.J+=ve.width*Xt)),ur>1,ve.W+=ve.v>>1,ve.F!=null&&(ve.J+=ve.v),ve.ka=ur-ve.j,ve.U=ve.va-ve.v,ve.T=gr-ur,Gr=ve.put(ve))}bt+1!=Ke.Ic||cn||(r(Ke.sa,Ke.ta-Dt,Un,Yn+16*Ke.R,Dt),r(Ke.qa,Ke.ra-Cr,Or,kt+8*Ke.B,Cr),r(Ke.Ha,Ke.Ia-Cr,Mn,Jn+8*Ke.B,Cr))}if(!Gr)return qr(Rt,6,"Output aborted.")}return 1}(G,hA)),hA.bc!=null&&hA.bc(hA),mA&=1}return mA?(G.cb=0,mA):0})(a,P)||(u=a.a)}}else u=a.a}u==0&&I.Oa!=null&&I.Oa.fd&&(u=Tu(I.ba))}I=u}E=I!=0?null:11>E?N.f.RGBA.eb:N.f.kb.y}else E=null;return E};var mp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function g(Y,DA){for(var L="",R=0;R<4;R++)L+=String.fromCharCode(Y[DA++]);return L}function D(Y,DA){return Y[DA+0]|Y[DA+1]<<8}function y(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16)>>>0}function U(Y,DA){return(Y[DA+0]|Y[DA+1]<<8|Y[DA+2]<<16|Y[DA+3]<<24)>>>0}new w;var v=[0],M=[0],j=[],_=new w,S=A,iA=function(Y,DA){var L={},R=0,rA=!1,eA=0,EA=0;if(L.frames=[],!function(x,z){for(var $=0;$<4;$++)if(x[z+$]!="RIFF".charCodeAt($))return!0;return!1}(Y,DA)){for(U(Y,DA+=4),DA+=8;DA>1&1}SA!="ANMF"&&(DA+=bA)}return L}}(S,0);iA.response=S,iA.rgbaoutput=!0,iA.dataurl=!1;var AA=iA.header?iA.header:null,W=iA.frames?iA.frames:null;if(AA){AA.loop_counter=AA.loop_count,v=[AA.canvas_height],M=[AA.canvas_width];for(var FA=0;FA=2?K[1]:Qe[0],Qe[2]=K.length>=3?K[2]:Qe[0],Qe[3]=K.length>=4?K[3]:Qe[1]),g.margin=Qe}});var HA=!1;Object.defineProperty(this,"autoPaging",{get:function(){return HA},set:function(K){HA=K}});var TA=0;Object.defineProperty(this,"lastBreak",{get:function(){return TA},set:function(K){TA=K}});var JA=[];Object.defineProperty(this,"pageBreaks",{get:function(){return JA},set:function(K){JA=K}}),Object.defineProperty(this,"ctx",{get:function(){return g},set:function(K){K instanceof D&&(g=K)}}),Object.defineProperty(this,"path",{get:function(){return g.path},set:function(K){g.path=K}});var le=[];Object.defineProperty(this,"ctxStack",{get:function(){return le},set:function(K){le=K}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(K){var Qe;Qe=U(K),this.ctx.fillStyle=Qe.style,this.ctx.isFillTransparent=Qe.a===0,this.ctx.fillOpacity=Qe.a,this.pdf.setFillColor(Qe.r,Qe.g,Qe.b,{a:Qe.a}),this.pdf.setTextColor(Qe.r,Qe.g,Qe.b,{a:Qe.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(K){var Qe=U(K);this.ctx.strokeStyle=Qe.style,this.ctx.isStrokeTransparent=Qe.a===0,this.ctx.strokeOpacity=Qe.a,Qe.a===0?this.pdf.setDrawColor(255,255,255):(Qe.a,this.pdf.setDrawColor(Qe.r,Qe.g,Qe.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(K){["butt","round","square"].indexOf(K)!==-1&&(this.ctx.lineCap=K,this.pdf.setLineCap(K))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(K){isNaN(K)||(this.ctx.lineWidth=K,this.pdf.setLineWidth(K))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(K){["bevel","round","miter"].indexOf(K)!==-1&&(this.ctx.lineJoin=K,this.pdf.setLineJoin(K))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(K){isNaN(K)||(this.ctx.miterLimit=K,this.pdf.setMiterLimit(K))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(K){this.ctx.textBaseline=K}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(K){["right","end","center","left","start"].indexOf(K)!==-1&&(this.ctx.textAlign=K)}});var be=null,Pe=null,Je=null;Object.defineProperty(this,"fontFaces",{get:function(){return Je},set:function(K){be=null,Pe=null,Je=K}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(K){var Qe;if(this.ctx.font=K,(Qe=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(K))!==null){var Ft=Qe[1];Qe[2];var tt=Qe[3],ae=Qe[4];Qe[5];var rt=Qe[6],je=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ae)[2];ae=Math.floor(je==="px"?parseFloat(ae)*this.pdf.internal.scaleFactor:je==="em"?parseFloat(ae)*this.pdf.getFontSize():parseFloat(ae)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ae);var et=function(We){var Rr,Yt,Et=[],It=We.trim();if(It==="")return bg;if(It in ys)return[ys[It]];for(;It!=="";){switch(Yt=null,Rr=(It=bs(It)).charAt(0)){case'"':case"'":Yt=Xi(It.substring(1),Rr);break;default:Yt=Ka(It)}if(Yt===null||(Et.push(Yt[0]),(It=bs(Yt[1]))!==""&&It.charAt(0)!==","))return bg;It=It.replace(/^,/,"")}return Et}(rt);if(this.fontFaces){var Xe=function(We,Rr){var Yt=We.getFontList(),Et=JSON.stringify(Yt);if(be===null||Pe!==Et){var It=function(Qr){var Ze=[];return Object.keys(Qr).forEach(function(Br){Qr[Br].forEach(function(lt){var vt=null;switch(lt){case"bold":vt={family:Br,weight:"bold"};break;case"italic":vt={family:Br,style:"italic"};break;case"bolditalic":vt={family:Br,weight:"bold",style:"italic"};break;case"":case"normal":vt={family:Br}}vt!==null&&(vt.ref={name:Br,style:lt},Ze.push(vt))})}),Ze}(Yt);be=function(Qr){for(var Ze={},Br=0;Br=700||Ft==="bold")&&(Bt="bold"),Ft==="italic"&&(Bt+="italic"),Bt.length===0&&(Bt="normal");for(var _t="",Tt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ge=0;Ge=2*Math.PI&&(sA=0,dA=2*Math.PI),this.path.push({type:"arc",x,y:z,radius:$,startAngle:sA,endAngle:dA,counterclockwise:CA})},y.prototype.arcTo=function(x,z,$,sA,dA){throw new Error("arcTo not implemented.")},y.prototype.rect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,z),this.lineTo(x+$,z),this.lineTo(x+$,z+sA),this.lineTo(x,z+sA),this.lineTo(x,z),this.lineTo(x+$,z),this.lineTo(x,z)},y.prototype.fillRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!v.call(this)){var dA={};this.lineCap!=="butt"&&(dA.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(dA.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,z,$,sA),this.fill(),dA.hasOwnProperty("lineCap")&&(this.lineCap=dA.lineCap),dA.hasOwnProperty("lineJoin")&&(this.lineJoin=dA.lineJoin)}},y.prototype.strokeRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");M.call(this)||(this.beginPath(),this.rect(x,z,$,sA),this.stroke())},y.prototype.clearRect=function(x,z,$,sA){if(isNaN(x)||isNaN(z)||isNaN($)||isNaN(sA))throw lr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,z,$,sA))},y.prototype.save=function(x){x=typeof x!="boolean"||x;for(var z=this.pdf.internal.getCurrentPageInfo().pageNumber,$=0;$0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};y.prototype.drawImage=function(x,z,$,sA,dA,CA,HA,TA,JA){var le=this.pdf.getImageProperties(x),be=1,Pe=1,Je=1,K=1;sA!==void 0&&TA!==void 0&&(Je=TA/sA,K=JA/dA,be=le.width/sA*TA/sA,Pe=le.height/dA*JA/dA),CA===void 0&&(CA=z,HA=$,z=0,$=0),sA!==void 0&&TA===void 0&&(TA=sA,JA=dA),sA===void 0&&TA===void 0&&(TA=le.width,JA=le.height);var Qe=this.ctx.transform.decompose(),Ft=bA(Qe.rotate.shx),tt=new w,ae=(tt=(tt=(tt=tt.multiply(Qe.translate)).multiply(Qe.skew)).multiply(Qe.scale)).applyToRectangle(new f(CA-z*Je,HA-$*K,sA*be,dA*Pe));if(this.autoPaging){for(var rt,je=_.call(this,ae),et=[],Xe=0;Xeir||Btae||je0)){for(;JA>=0;JA--)if(dA[JA-1].close!==!0&&dA[JA-1].begin!==!0){dA[JA-1].deltas.push($),dA[JA-1].abs.push(TA);break}}break;case"bct":$=[TA.x1-CA[HA-1].x,TA.y1-CA[HA-1].y,TA.x2-CA[HA-1].x,TA.y2-CA[HA-1].y,TA.x-CA[HA-1].x,TA.y-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"qct":var le=CA[HA-1].x+2/3*(TA.x1-CA[HA-1].x),be=CA[HA-1].y+2/3*(TA.y1-CA[HA-1].y),Pe=TA.x+2/3*(TA.x1-TA.x),Je=TA.y+2/3*(TA.y1-TA.y),K=TA.x,Qe=TA.y;$=[le-CA[HA-1].x,be-CA[HA-1].y,Pe-CA[HA-1].x,Je-CA[HA-1].y,K-CA[HA-1].x,Qe-CA[HA-1].y],dA[dA.length-1].deltas.push($);break;case"arc":dA.push({deltas:[],abs:[],arc:!0}),Array.isArray(dA[dA.length-1].abs)&&dA[dA.length-1].abs.push(TA)}}sA=z?null:x==="stroke"?"stroke":"fill";for(var Ft=!1,tt=0;tt=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale);var Pt=this.autoPaging!=="text";if(Pt||Ge.y+Ge.h<=Xe){if(Pt||Ge.y>=je&&Ge.x<=Ot){var We=Pt?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||Ot-Ge.x)[0],Rr=iA([JSON.parse(JSON.stringify(Pe))],this.posX+this.margin[3],-_t+je+this.ctx.prevPageLastElemOffset)[0],Yt=Pt&&(rt>tt||rt=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)}}else x.scale>=.01&&(sA=this.pdf.internal.getFontSize(),this.pdf.setFontSize(sA*x.scale),dA=this.lineWidth,this.lineWidth=dA*x.scale),this.pdf.text(x.text,JA.x+this.posX,JA.y+this.posY,{angle:x.angle,align:z,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(sA),this.lineWidth=dA)},rA=function(x,z,$,sA){$=$||0,sA=sA||0,this.pdf.internal.out(e(x+$)+" "+r(z+sA)+" l")},eA=function(x,z,$){return this.pdf.lines(x,z,$,null,null)},EA=function(x,z,$,sA,dA,CA,HA,TA){this.pdf.internal.out([t(n($+x)),t(s(sA+z)),t(n(dA+x)),t(s(CA+z)),t(n(HA+x)),t(s(TA+z)),"c"].join(" "))},SA=function(x,z,$,sA){for(var dA=2*Math.PI,CA=Math.PI/2;z>$;)z-=dA;var HA=Math.abs($-z);HA1e-5;){var be=le+JA*Math.min(HA,CA);TA.push(OA.call(this,x,le,be)),HA-=Math.abs(be-le),le=be}return TA},OA=function(x,z,$){var sA=($-z)/2,dA=x*Math.cos(sA),CA=x*Math.sin(sA),HA=dA,TA=-CA,JA=HA*HA+TA*TA,le=JA+HA*dA+TA*CA,be=4/3*(Math.sqrt(2*JA*le)-le)/(HA*CA-TA*dA),Pe=HA-be*TA,Je=TA+be*HA,K=Pe,Qe=-Je,Ft=sA+z,tt=Math.cos(Ft),ae=Math.sin(Ft);return{x1:x*Math.cos(z),y1:x*Math.sin(z),x2:Pe*tt-Je*ae,y2:Pe*ae+Je*tt,x3:K*tt-Qe*ae,y3:K*ae+Qe*tt,x4:x*Math.cos($),y4:x*Math.sin($)}},bA=function(x){return 180*x/Math.PI},MA=function(x,z,$,sA,dA,CA){var HA=x+.5*($-x),TA=z+.5*(sA-z),JA=dA+.5*($-dA),le=CA+.5*(sA-CA),be=Math.min(x,dA,HA,JA),Pe=Math.max(x,dA,HA,JA),Je=Math.min(z,CA,TA,le),K=Math.max(z,CA,TA,le);return new f(be,Je,Pe-be,K-Je)},ue=function(x,z,$,sA,dA,CA,HA,TA){var JA,le,be,Pe,Je,K,Qe,Ft,tt,ae,rt,je,et,Xe,ir=$-x,Ot=sA-z,Bt=dA-$,_t=CA-sA,Tt=HA-dA,Ge=TA-CA;for(le=0;le<41;le++)tt=(Qe=(be=x+(JA=le/40)*ir)+JA*((Je=$+JA*Bt)-be))+JA*(Je+JA*(dA+JA*Tt-Je)-Qe),ae=(Ft=(Pe=z+JA*Ot)+JA*((K=sA+JA*_t)-Pe))+JA*(K+JA*(CA+JA*Ge-K)-Ft),le==0?(rt=tt,je=ae,et=tt,Xe=ae):(rt=Math.min(rt,tt),je=Math.min(je,ae),et=Math.max(et,tt),Xe=Math.max(Xe,ae));return new f(Math.round(rt),Math.round(je),Math.round(et-rt),Math.round(Xe-je))},ZA=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,z,$=(x=this.ctx.lineDash,z=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:z}));this.prevLineDash!==$&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=$)}}})(_e.API),function(A){var t=function(h){var f,w,g,D,y,U,v,M,j,_;for(/[^\x00-\xFF]/.test(h),w=[],g=0,D=(h+=f="\0\0\0\0".slice(h.length%4||4)).length;D>g;g+=4)(y=(h.charCodeAt(g)<<24)+(h.charCodeAt(g+1)<<16)+(h.charCodeAt(g+2)<<8)+h.charCodeAt(g+3))!==0?(U=(y=((y=((y=((y=(y-(_=y%85))/85)-(j=y%85))/85)-(M=y%85))/85)-(v=y%85))/85)%85,w.push(U+33,v+33,M+33,j+33,_+33)):w.push(122);return function(S,iA){for(var AA=iA;AA>0;AA--)S.pop()}(w,f.length),String.fromCharCode.apply(String,w)+"~>"},e=function(h){var f,w,g,D,y,U=String,v="length",M=255,j="charCodeAt",_="slice",S="replace";for(h[_](-2),h=h[_](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),g=[],D=0,y=(h+=f="uuuuu"[_](h[v]%5||5))[v];y>D;D+=5)w=52200625*(h[j](D)-33)+614125*(h[j](D+1)-33)+7225*(h[j](D+2)-33)+85*(h[j](D+3)-33)+(h[j](D+4)-33),g.push(M&w>>24,M&w>>16,M&w>>8,M&w);return function(iA,AA){for(var W=AA;W>0;W--)iA.pop()}(g,f[v]),U.fromCharCode.apply(U,g)},r=function(h){return h.split("").map(function(f){return("0"+f.charCodeAt().toString(16)).slice(-2)}).join("")+">"},n=function(h){var f=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((h=h.replace(/\s/g,"")).indexOf(">")!==-1&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),f.test(h)===!1)return"";for(var w="",g=0;gj&&(M=_,_=j,j=M);else{if(f!=="l"&&f!=="landscape")throw"Invalid orientation: "+f;f="l",j>_&&(M=_,_=j,j=M)}return{width:_,height:j,unit:w,k:y,orientation:f}},A.html=function(f,w){(w=w||{}).callback=w.callback||function(){},w.html2canvas=w.html2canvas||{},w.html2canvas.canvas=w.html2canvas.canvas||this.canvas,w.jsPDF=w.jsPDF||this,w.fontFaces=w.fontFaces?w.fontFaces.map(ri):null;var g=new h(w);return w.worker?g:g.from(f).doCallback()}}(_e.API),_e.API.addJS=function(A){return S0=A,this.internal.events.subscribe("postPutResources",function(){Qs=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Qs+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),L0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+S0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Qs!==void 0&&L0!==void 0&&this.internal.out("/Names <>")}),this},function(A){var t;A.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),s=0;s> endobj")}var v=e.internal.newObject();for(e.internal.write("<< /Names [ "),s=0;s>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+v+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,n,s){var h={title:n,options:s,children:[]};return r==null&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var n=0;n0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,s=0;s0&&this.line("/Prev "+this.makeRef(r.children[s-1])),s0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var f=this.count=this.count_r({count:0},h);if(f>0&&this.line("/Count "+f),h.options&&h.options.pageNumber){var w=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+w.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(var g=0;g>"}),"transparency"in an&&Array.isArray(an.transparency)&&an.transparency.length>0){for(var _r="",Br=0,Kr=an.transparency.length;Br>",$t.content=ae;var Dn=$t.objId+" 0 R";ae="<>";else if(te.options.pageNumber)switch(ae="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length>=1};var Ee=y.__arabicParser__.arabicLetterHasFinalForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length>=3};var Ne=y.__arabicParser__.arabicLetterHasMedialForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length==4},et=y.__arabicParser__.resolveLigatures=function($t){var on=0,Ot=x,jn="",Dn=0;for(on=0;on<$t.length;on+=1)Ot[$t.charCodeAt(on)]!==void 0?(Dn++,typeof(Ot=Ot[$t.charCodeAt(on)])=="number"&&(jn+=String.fromCharCode(Ot),Ot=x,Dn=0),on===$t.length-1&&(Ot=x,jn+=$t.charAt(on-(Dn-1)),on-=Dn-1,Dn=0)):(Ot=x,jn+=$t.charAt(on-Dn),on-=Dn,Dn=0);return jn};y.__arabicParser__.isArabicDiacritic=function($t){return $t!==void 0&&te[$t.charCodeAt(0)]!==void 0};var ht=y.__arabicParser__.getCorrectForm=function($t,on,Ot){return we($t)?ae($t)===!1?-1:!Ee($t)||!we(on)&&!we(Ot)||!we(Ot)&&ve(on)||ve($t)&&!we(on)||ve($t)&&Be(on)||ve($t)&&ve(on)?0:Ne($t)&&we(on)&&!ve(on)&&we(Ot)&&Ee(Ot)?3:ve($t)||!we(Ot)?1:2:-1},De=function($t){var on=0,Ot=0,jn=0,Dn="",bn="",Er="",Jr=($t=$t||"").split("\\s+"),Qr=[];for(on=0;on>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(y){var E=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(ve){x=ve}});var te=150;Object.defineProperty(this,"width",{get:function(){return te},set:function(ve){te=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?150:ve,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=te+1)}});var re=300;Object.defineProperty(this,"height",{get:function(){return re},set:function(ve){re=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?300:ve,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=re+1)}});var ae=[];Object.defineProperty(this,"childNodes",{get:function(){return ae},set:function(ve){ae=ve}});var we={};Object.defineProperty(this,"style",{get:function(){return we},set:function(ve){we=ve}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(x,te){var re;if((x=x||"2d")!=="2d")return null;for(re in te)this.pdf.context2d.hasOwnProperty(re)&&(this.pdf.context2d[re]=te[re]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ao.API),function(y){var E={left:0,top:0,bottom:0,right:0},x=!1,te=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),re.call(this))},re=function(){this.internal.__cell__.lastCell=new ae,this.internal.__cell__.pages=1},ae=function(){var Be=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Be},set:function($t){Be=$t}});var Ee=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ee},set:function($t){Ee=$t}});var Ne=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ne},set:function($t){Ne=$t}});var et=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return et},set:function($t){et=$t}});var ht=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return ht},set:function($t){ht=$t}});var De=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return De},set:function($t){De=$t}});var tn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return tn},set:function($t){tn=$t}}),this};ae.prototype.clone=function(){return new ae(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ae.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(Be){return te.call(this),this.internal.__cell__.headerFunction=typeof Be=="function"?Be:void 0,this},y.getTextDimensions=function(Be,Ee){te.call(this);var Ne=(Ee=Ee||{}).fontSize||this.getFontSize(),et=Ee.font||this.getFont(),ht=Ee.scaleFactor||this.internal.scaleFactor,De=0,tn=0,$t=0,on=this;if(!Array.isArray(Be)&&typeof Be!="string"){if(typeof Be!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Be=String(Be)}var Ot=Ee.maxWidth;Ot>0?typeof Be=="string"?Be=this.splitTextToSize(Be,Ot):Object.prototype.toString.call(Be)==="[object Array]"&&(Be=Be.reduce(function(Dn,bn){return Dn.concat(on.splitTextToSize(bn,Ot))},[])):Be=Array.isArray(Be)?Be:[Be];for(var jn=0;jnthis.getPageHeight()?(this.cellAddPage(),Be.y=et.top,De&&ht&&(this.printHeaderRow(Be.lineNumber,!0),Be.y+=ht[0].height)):Be.y=Ee.y+Ee.height||Be.y),Be.text[0]!==void 0&&(this.rect(Be.x,Be.y,Be.width,Be.height,x===!0?"FD":void 0),Be.align==="right"?this.text(Be.text,Be.x+Be.width-Ne,Be.y+Ne,{align:"right",baseline:"top"}):Be.align==="center"?this.text(Be.text,Be.x+Be.width/2,Be.y+Ne,{align:"center",baseline:"top",maxWidth:Be.width-Ne-Ne}):this.text(Be.text,Be.x+Ne,Be.y+Ne,{align:"left",baseline:"top",maxWidth:Be.width-Ne-Ne})),this.internal.__cell__.lastCell=Be,this};y.table=function(Be,Ee,Ne,et,ht){if(te.call(this),!Ne)throw new Error("No data for PDF table.");var De,tn,$t,on,Ot=[],jn=[],Dn=[],bn={},Er={},Jr=[],Qr=[],qn=(ht=ht||{}).autoSize||!1,Bn=ht.printHeaders!==!1,ur=ht.css&&ht.css["font-size"]!==void 0?16*ht.css["font-size"]:ht.fontSize||12,Ut=ht.margins||Object.assign({width:this.getPageWidth()},E),an=typeof ht.padding=="number"?ht.padding:3,Hn=ht.headerBackgroundColor||"#c8c8c8",Pn=ht.headerTextColor||"#000";if(re.call(this),this.internal.__cell__.printHeaders=Bn,this.internal.__cell__.margins=Ut,this.internal.__cell__.table_font_size=ur,this.internal.__cell__.padding=an,this.internal.__cell__.headerBackgroundColor=Hn,this.internal.__cell__.headerTextColor=Pn,this.setFontSize(ur),et==null)jn=Ot=Object.keys(Ne[0]),Dn=Ot.map(function(){return"left"});else if(Array.isArray(et)&&(0,oe.Z)(et[0])==="object")for(Ot=et.map(function(Si){return Si.name}),jn=et.map(function(Si){return Si.prompt||Si.name||""}),Dn=et.map(function(Si){return Si.align||"left"}),De=0;De0&&this.setTableHeaderRow(ht),this.setFont(void 0,"normal"),x=!1}}(ao.API);var bA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},lc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],GA=Ja(lc),rl=[100,200,300,400,500,600,700,800,900],Mf=Ja(rl);function Kl(y){var E=y.family.replace(/"|'/g,"").toLowerCase(),x=function(ae){return bA[ae=ae||"normal"]?ae:"normal"}(y.style),te=function(ae){return ae?typeof ae=="number"?ae>=100&&ae<=900&&ae%100==0?ae:400:/^\d00$/.test(ae)?parseInt(ae):ae==="bold"?700:400:400}(y.weight),re=function(ae){return typeof GA[ae=ae||"normal"]=="number"?ae:"normal"}(y.stretch);return{family:E,style:x,weight:te,stretch:re,src:y.src||[],ref:y.ref||{name:E,style:[re,x,te].join(" ")}}}function uc(y,E,x,te){var re;for(re=x;re>=0&&re=0&&re>>1)&255}return re}function T0(y,E,x){var te=y.length,re=[];re[0]=4;for(var ae=0;ae>ae&we}function Q0(y,E,x,te){var re=x*te,ae=Math.floor(re/8),we=16-(re-8*ae+te),ve=(1<>8&255;Ee.setUint8(Ne,ht)}})(y,ae,M0(y,ae)&~(ve<>7,we=1<<1+(7&re);y[E++],y[E++];var ve=null,Be=null;ae&&(ve=E,Be=we,E+=3*we);var Ee=!0,Ne=[],et=0,ht=null,De=0,tn=null;for(this.width=x,this.height=te;Ee&&E=0))throw Error("Invalid block size");if(Ut===0)break;E+=Ut}break;case 249:if(y[E++]!==4||y[E+4]!==0)throw new Error("Invalid graphics extension block.");var $t=y[E++];et=y[E++]|y[E++]<<8,ht=y[E++],1&$t||(ht=null),De=$t>>2&7,E++;break;case 254:for(;;){if(!((Ut=y[E++])>=0))throw Error("Invalid block size");if(Ut===0)break;E+=Ut}break;default:throw new Error("Unknown graphic control label: 0x"+y[E-1].toString(16))}break;case 44:var on=y[E++]|y[E++]<<8,Ot=y[E++]|y[E++]<<8,jn=y[E++]|y[E++]<<8,Dn=y[E++]|y[E++]<<8,bn=y[E++],Er=bn>>6&1,Jr=1<<1+(7&bn),Qr=ve,qn=Be,Bn=!1;bn>>7&&(Bn=!0,Qr=E,qn=Jr,E+=3*Jr);var ur=E;for(E++;;){var Ut;if(!((Ut=y[E++])>=0))throw Error("Invalid block size");if(Ut===0)break;E+=Ut}Ne.push({x:on,y:Ot,width:jn,height:Dn,has_local_palette:Bn,palette_offset:Qr,palette_size:qn,data_offset:ur,data_length:E-ur,transparent_index:ht,interlaced:!!Er,delay:et,disposal:De});break;case 59:Ee=!1;break;default:throw new Error("Unknown gif block: 0x"+y[E-1].toString(16))}this.numFrames=function(){return Ne.length},this.loopCount=function(){return tn},this.frameInfo=function(an){if(an<0||an>=Ne.length)throw new Error("Frame index out of range.");return Ne[an]},this.decodeAndBlitFrameBGRA=function(an,Hn){var Pn=this.frameInfo(an),Ir=Pn.width*Pn.height,Tr=new Uint8Array(Ir);_0(y,Pn.data_offset,Tr,Ir);var _r=Pn.palette_offset,Br=Pn.transparent_index;Br===null&&(Br=256);var Kr=Pn.width,Si=x-Kr,li=Kr,xt=4*(Pn.y*x+Pn.x),wn=4*((Pn.y+Pn.height)*x+Pn.x),On=xt,Gn=4*Si;Pn.interlaced===!0&&(Gn+=4*x*7);for(var or=8,yr=0,Mr=Tr.length;yr=wn&&(Gn=4*Si+4*x*(or-1),On=xt+(Kr+Si)*(or<<1),or>>=1)),Hr===Br)On+=4;else{var oi=y[_r+3*Hr],wi=y[_r+3*Hr+1],Ri=y[_r+3*Hr+2];Hn[On++]=Ri,Hn[On++]=wi,Hn[On++]=oi,Hn[On++]=255}--li}},this.decodeAndBlitFrameRGBA=function(an,Hn){var Pn=this.frameInfo(an),Ir=Pn.width*Pn.height,Tr=new Uint8Array(Ir);_0(y,Pn.data_offset,Tr,Ir);var _r=Pn.palette_offset,Br=Pn.transparent_index;Br===null&&(Br=256);var Kr=Pn.width,Si=x-Kr,li=Kr,xt=4*(Pn.y*x+Pn.x),wn=4*((Pn.y+Pn.height)*x+Pn.x),On=xt,Gn=4*Si;Pn.interlaced===!0&&(Gn+=4*x*7);for(var or=8,yr=0,Mr=Tr.length;yr=wn&&(Gn=4*Si+4*x*(or-1),On=xt+(Kr+Si)*(or<<1),or>>=1)),Hr===Br)On+=4;else{var oi=y[_r+3*Hr],wi=y[_r+3*Hr+1],Ri=y[_r+3*Hr+2];Hn[On++]=oi,Hn[On++]=wi,Hn[On++]=Ri,Hn[On++]=255}--li}}}function _0(y,E,x,te){for(var re=y[E++],ae=1<>=Be,Ne-=Be,on!==ae){if(on===we)break;for(var Ot=onae;)Dn=tn[Dn]>>8,++jn;var bn=Dn;if(ht+jn+(Ot!==on?1:0)>te)return void Pa.log("Warning, gif stream longer than expected.");x[ht++]=bn;var Er=ht+=jn;for(Ot!==on&&(x[ht++]=bn),Dn=Ot;jn--;)Dn=tn[Dn],x[--Er]=255&Dn,Dn>>=8;$t!==null&&ve<4096&&(tn[ve++]=$t<<8|bn,ve>=Ee+1&&Be<12&&(++Be,Ee=Ee<<1|1)),$t=on}else ve=we+1,Ee=(1<<(Be=re+1))-1,$t=null}return ht!==te&&Pa.log("Warning, gif stream shorter than expected."),x}function Wm(y){var E,x,te,re,ae,we=Math.floor,ve=new Array(64),Be=new Array(64),Ee=new Array(64),Ne=new Array(64),et=new Array(65535),ht=new Array(65535),De=new Array(64),tn=new Array(64),$t=[],on=0,Ot=7,jn=new Array(64),Dn=new Array(64),bn=new Array(64),Er=new Array(256),Jr=new Array(2048),Qr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],qn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Bn=[0,1,2,3,4,5,6,7,8,9,10,11],ur=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ut=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],an=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Hn=[0,1,2,3,4,5,6,7,8,9,10,11],Pn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ir=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tr(xt,wn){for(var On=0,Gn=0,or=new Array,yr=1;yr<=16;yr++){for(var Mr=1;Mr<=xt[yr];Mr++)or[wn[Gn]]=[],or[wn[Gn]][0]=On,or[wn[Gn]][1]=yr,Gn++,On++;On*=2}return or}function _r(xt){for(var wn=xt[0],On=xt[1]-1;On>=0;)wn&1<>8&255),Br(255&xt)}function Si(xt,wn,On,Gn,or){for(var yr,Mr=or[0],Hr=or[240],oi=function(gi,ko){var no,Mo,Uo,is,Ta,oa,ka,Qa,ho,ca,xo=0;for(ho=0;ho<8;++ho){no=gi[xo],Mo=gi[xo+1],Uo=gi[xo+2],is=gi[xo+3],Ta=gi[xo+4],oa=gi[xo+5],ka=gi[xo+6];var fA=no+(Qa=gi[xo+7]),Ka=no-Qa,Sa=Mo+ka,Fa=Mo-ka,Ns=Uo+oa,No=Uo-oa,ms=is+Ta,Go=is-Ta,aa=fA+ms,Ps=fA-ms,La=Sa+Ns,jo=Sa-Ns;gi[xo]=aa+La,gi[xo+4]=aa-La;var os=.707106781*(jo+Ps);gi[xo+2]=Ps+os,gi[xo+6]=Ps-os;var Nh=.382683433*((aa=Go+No)-(jo=Fa+Ka)),wl=.5411961*aa+Nh,kf=1.306562965*jo+Nh,Jc=.707106781*(La=No+Fa),zo=Ka+Jc,Hf=Ka-Jc;gi[xo+5]=Hf+wl,gi[xo+3]=Hf-wl,gi[xo+1]=zo+kf,gi[xo+7]=zo-kf,xo+=8}for(xo=0,ho=0;ho<8;++ho){no=gi[xo],Mo=gi[xo+8],Uo=gi[xo+16],is=gi[xo+24],Ta=gi[xo+32],oa=gi[xo+40],ka=gi[xo+48];var Rf=no+(Qa=gi[xo+56]),Mu=no-Qa,_u=Mo+ka,Xs=Mo-ka,VA=Uo+oa,il=Uo-oa,Ph=is+Ta,Nd=is-Ta,hc=Rf+Ph,qc=Rf-Ph,pc=_u+VA,gc=_u-VA;gi[xo]=hc+pc,gi[xo+32]=hc-pc;var ku=.707106781*(gc+qc);gi[xo+16]=qc+ku,gi[xo+48]=qc-ku;var Th=.382683433*((hc=Nd+il)-(gc=Xs+Mu)),ef=.5411961*hc+Th,Qh=1.306562965*gc+Th,Mp=.707106781*(pc=il+Xs),_p=Mu+Mp,kp=Mu-Mp;gi[xo+40]=kp+ef,gi[xo+24]=kp-ef,gi[xo+8]=_p+Qh,gi[xo+56]=_p-Qh,xo++}for(ho=0;ho<64;++ho)ca=gi[ho]*ko[ho],De[ho]=ca>0?ca+.5|0:ca-.5|0;return De}(xt,wn),wi=0;wi<64;++wi)tn[Qr[wi]]=oi[wi];var Ri=tn[0]-On;On=tn[0],Ri==0?_r(Gn[0]):(_r(Gn[ht[yr=32767+Ri]]),_r(et[yr]));for(var _i=63;_i>0&&tn[_i]==0;)_i--;if(_i==0)return _r(Mr),On;for(var Io,sn=1;sn<=_i;){for(var ji=sn;tn[sn]==0&&sn<=_i;)++sn;var Ca=sn-ji;if(Ca>=16){Io=Ca>>4;for(var _o=1;_o<=Io;++_o)_r(Hr);Ca&=15}yr=32767+tn[sn],_r(or[(Ca<<4)+ht[yr]]),_r(et[yr]),sn++}return _i!=63&&_r(Mr),On}function li(xt){xt=Math.min(Math.max(xt,1),100),ae!=xt&&(function(wn){for(var On=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Gn=0;Gn<64;Gn++){var or=we((On[Gn]*wn+50)/100);or=Math.min(Math.max(or,1),255),ve[Qr[Gn]]=or}for(var yr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Mr=0;Mr<64;Mr++){var Hr=we((yr[Mr]*wn+50)/100);Hr=Math.min(Math.max(Hr,1),255),Be[Qr[Mr]]=Hr}for(var oi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],wi=0,Ri=0;Ri<8;Ri++)for(var _i=0;_i<8;_i++)Ee[wi]=1/(ve[Qr[wi]]*oi[Ri]*oi[_i]*8),Ne[wi]=1/(Be[Qr[wi]]*oi[Ri]*oi[_i]*8),wi++}(xt<50?Math.floor(5e3/xt):Math.floor(200-2*xt)),ae=xt)}this.encode=function(xt,wn){wn&&li(wn),$t=new Array,on=0,Ot=7,Kr(65496),Kr(65504),Kr(16),Br(74),Br(70),Br(73),Br(70),Br(0),Br(1),Br(1),Br(0),Kr(1),Kr(1),Br(0),Br(0),function(){Kr(65499),Kr(132),Br(0);for(var Mo=0;Mo<64;Mo++)Br(ve[Mo]);Br(1);for(var Uo=0;Uo<64;Uo++)Br(Be[Uo])}(),function(Mo,Uo){Kr(65472),Kr(17),Br(8),Kr(Uo),Kr(Mo),Br(3),Br(1),Br(17),Br(0),Br(2),Br(17),Br(1),Br(3),Br(17),Br(1)}(xt.width,xt.height),function(){Kr(65476),Kr(418),Br(0);for(var Mo=0;Mo<16;Mo++)Br(qn[Mo+1]);for(var Uo=0;Uo<=11;Uo++)Br(Bn[Uo]);Br(16);for(var is=0;is<16;is++)Br(ur[is+1]);for(var Ta=0;Ta<=161;Ta++)Br(Ut[Ta]);Br(1);for(var oa=0;oa<16;oa++)Br(an[oa+1]);for(var ka=0;ka<=11;ka++)Br(Hn[ka]);Br(17);for(var Qa=0;Qa<16;Qa++)Br(Pn[Qa+1]);for(var ho=0;ho<=161;ho++)Br(Ir[ho])}(),Kr(65498),Kr(12),Br(3),Br(1),Br(0),Br(2),Br(17),Br(3),Br(17),Br(0),Br(63),Br(0);var On=0,Gn=0,or=0;on=0,Ot=7,this.encode.displayName="_encode_";for(var yr,Mr,Hr,oi,wi,Ri,_i,Io,sn,ji=xt.data,Ca=xt.width,_o=xt.height,gi=4*Ca,ko=0;ko<_o;){for(yr=0;yr>3)*gi+(_i=4*(7&sn)),ko+Io>=_o&&(Ri-=gi*(ko+1+Io-_o)),yr+_i>=gi&&(Ri-=yr+_i-gi+4),Mr=ji[Ri++],Hr=ji[Ri++],oi=ji[Ri++],jn[sn]=(Jr[Mr]+Jr[Hr+256|0]+Jr[oi+512|0]>>16)-128,Dn[sn]=(Jr[Mr+768|0]+Jr[Hr+1024|0]+Jr[oi+1280|0]>>16)-128,bn[sn]=(Jr[Mr+1280|0]+Jr[Hr+1536|0]+Jr[oi+1792|0]>>16)-128;On=Si(jn,Ee,On,E,te),Gn=Si(Dn,Ne,Gn,x,re),or=Si(bn,Ne,or,x,re),yr+=32}ko+=8}if(Ot>=0){var no=[];no[1]=Ot+1,no[0]=(1<an;an++)if(Bn[ur+an]!=Ut.charCodeAt(an))return!0;return!1}function te(Bn,ur,Ut,an,Hn){for(var Pn=0;PnPn+1?[]:new ur),!(Ir.length>>0;se&Oe;)Oe>>>=1;return Oe?(se&Oe-1)+Oe:se}function Ut(se,ge,Oe,_e,st){E(!(_e%Oe));do se[ge+(_e-=Oe)]=st;while(0<_e)}function an(se,ge,Oe,_e,st){if(E(2328>=st),512>=st)var mt=ae(512);else if((mt=ae(st))==null)return 0;return function(bt,Tt,Wt,cn,Yn,Cr){var fn,nr,fr=Tt,Yr=1<fn;++fn){if(br[fn]>1<(pa-=br[fn]))return 0;for(;0=fn;++fn,Yn<<=1){if(qi+=pa<<=1,0>(pa-=br[fn]))return 0;for(;0yi&&!(0>=(ii-=br[yi]));)++yi,ii<<=1;Yr+=so=1<<(ii=yi-Wt),bt[Tt+(yi=wo&ci)].g=ii+Wt,bt[Tt+yi].value=fr-Tt-yi}cn.g=fn-Wt,cn.value=Cr[nr++],Ut(bt,fr+(wo>>Wt),Yn,so,cn),wo=ur(wo,fn)}}return qi!=2*qr[15]-1?0:Yr}(se,ge,Oe,_e,st,mt)}function Hn(){this.value=this.g=0}function Pn(){this.value=this.g=0}function Ir(){this.G=we(5,Hn),this.H=ae(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=we(Vh,Pn)}function Tr(se,ge,Oe,_e){E(se!=null),E(ge!=null),E(2147483648>_e),se.Ca=254,se.I=0,se.b=-8,se.Ka=0,se.oa=ge,se.pa=Oe,se.Jd=ge,se.Yc=Oe+_e,se.Zc=4<=_e?Oe+_e-4+1:Oe,Mr(se)}function _r(se,ge){for(var Oe=0;0_e),se.Sb=_e,se.Ra=0,se.u=0,se.h=0,4<_e&&(_e=4),st=0;st<_e;++st)mt+=ge[Oe+st]<<8*st;se.Ra=mt,se.bb=_e,se.oa=ge,se.pa=Oe}function Si(se){for(;8<=se.u&&se.bb>>=8,se.Ra+=se.oa[se.pa+se.bb]<>>0,++se.bb,se.u-=8;Gn(se)&&(se.h=1,se.u=0)}function li(se,ge){if(E(0<=ge),!se.h&&ge<=uu){var Oe=On(se)&lu[ge];return se.u+=ge,Si(se),Oe}return se.h=1,se.u=0}function xt(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function wn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function On(se){return se.Ra>>>(se.u&Md-1)>>>0}function Gn(se){return E(se.bb<=se.Sb),se.h||se.bb==se.Sb&&se.u>Md}function or(se,ge){se.u=ge,se.h=Gn(se)}function yr(se){se.u>=Jf&&(E(se.u>=Jf),Si(se))}function Mr(se){E(se!=null&&se.oa!=null),se.pa>>0,se.b+=8):(E(se!=null&&se.oa!=null),se.pase.b&&Mr(se);var _e=se.b,st=Oe*ge>>>8,mt=(se.I>>>_e>st)+0;for(mt?(Oe-=st,se.I-=st+1<<_e>>>0):Oe=st+1,_e=Oe,st=0;256<=_e;)st+=8,_e>>=8;return _e=7^st+_d[_e],se.b-=_e,se.Ca=(Oe<<_e)-1,mt}function wi(se,ge,Oe){se[ge+0]=Oe>>24&255,se[ge+1]=Oe>>16&255,se[ge+2]=Oe>>8&255,se[ge+3]=255&Oe}function Ri(se,ge){return se[ge+0]|se[ge+1]<<8}function _i(se,ge){return Ri(se,ge)|se[ge+2]<<16}function Io(se,ge){return Ri(se,ge)|Ri(se,ge+2)<<16}function sn(se,ge){var Oe=1<=st||0>=mt?0:(Oe[0]=st,_e[0]=mt,1)}function gi(se,ge){return se+(1<>>ge}function ko(se,ge){return((4278255360&se)+(4278255360&ge)>>>0&4278255360)+((16711935&se)+(16711935&ge)>>>0&16711935)>>>0}function no(se,ge){Bn[ge]=function(Oe,_e,st,mt,bt,Tt,Wt){var cn;for(cn=0;cn>>1)+(se&ge)>>>0}function is(se){return 0<=se&&256>se?se:0>se?0:255>1))}function oa(se,ge,Oe){return Math.abs(ge-Oe)-Math.abs(se-Oe)}function ka(se,ge,Oe,_e,st,mt,bt){for(_e=mt[bt-1],Oe=0;Oe>8&255,Wt=16711935&(Wt=(Wt=16711935&bt)+((Tt<<16)+Tt));_e[st+mt]=(4278255360&bt)+Wt>>>0}}function ho(se,ge){ge.jd=255&se,ge.hd=se>>8&255,ge.ud=se>>16&255}function ca(se,ge,Oe,_e,st,mt){var bt;for(bt=0;bt<_e;++bt){var Tt=ge[Oe+bt],Wt=Tt>>>8,cn=Tt,Yn=255&(Yn=(Yn=Tt>>>16)+((se.jd<<24>>24)*(Wt<<24>>24)>>>5));cn=255&(cn=(cn+=(se.hd<<24>>24)*(Wt<<24>>24)>>>5)+((se.ud<<24>>24)*(Yn<<24>>24)>>>5)),st[mt+bt]=(4278255360&Tt)+(Yn<<16)+cn}}function xo(se,ge,Oe,_e,st){Bn[ge]=function(mt,bt,Tt,Wt,cn,Yn,Cr,fn,nr){for(Wt=Cr;Wt>mt.b,nr=mt.Ea,fr=mt.K[0],Yr=mt.w;if(8>fn)for(mt=(1<>=fn}else Bn["VP8LMapColor"+Oe](Wt,cn,fr,Yr,Yn,Cr,bt,Tt,nr)}}function fA(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&255,_e[st++]=mt>>8&255,_e[st++]=255&mt}}function Ka(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&255,_e[st++]=mt>>8&255,_e[st++]=255&mt,_e[st++]=mt>>24&255}}function Sa(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&240|bt>>12&15,bt=240&bt|bt>>28&15;_e[st++]=mt,_e[st++]=bt}}function Fa(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&248|bt>>13&7,bt=bt>>5&224|bt>>3&31;_e[st++]=mt,_e[st++]=bt}}function Ns(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>8&255,_e[st++]=mt>>16&255}}function No(se,ge,Oe,_e,st,mt){if(mt==0)for(Oe=ge+Oe;ge>24|mt[1]>>8&65280|mt[2]<<8&16711680|mt[3]<<24)>>>0),st+=32;else te(_e,st,se,ge,Oe)}function ms(se,ge){Bn[ge][0]=Bn[se+"0"],Bn[ge][1]=Bn[se+"1"],Bn[ge][2]=Bn[se+"2"],Bn[ge][3]=Bn[se+"3"],Bn[ge][4]=Bn[se+"4"],Bn[ge][5]=Bn[se+"5"],Bn[ge][6]=Bn[se+"6"],Bn[ge][7]=Bn[se+"7"],Bn[ge][8]=Bn[se+"8"],Bn[ge][9]=Bn[se+"9"],Bn[ge][10]=Bn[se+"10"],Bn[ge][11]=Bn[se+"11"],Bn[ge][12]=Bn[se+"12"],Bn[ge][13]=Bn[se+"13"],Bn[ge][14]=Bn[se+"0"],Bn[ge][15]=Bn[se+"0"]}function Go(se){return se==u0||se==c0||se==Im||se==f0}function aa(){this.eb=[],this.size=this.A=this.fb=0}function Ps(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function La(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new aa,this.f.kb=new Ps,this.sd=null}function jo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function os(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Nh(se){return alert("todo:WebPSamplerProcessPlane"),se.T}function wl(se,ge){var Oe=se.T,_e=ge.ba.f.RGBA,st=_e.eb,mt=_e.fb+se.ka*_e.A,bt=Wu[ge.ba.S],Tt=se.y,Wt=se.O,cn=se.f,Yn=se.N,Cr=se.ea,fn=se.W,nr=ge.cc,fr=ge.dc,Yr=ge.Mc,br=ge.Nc,qr=se.ka,ii=se.ka+se.T,yi=se.U,ci=yi+1>>1;for(qr==0?bt(Tt,Wt,null,null,cn,Yn,Cr,fn,cn,Yn,Cr,fn,st,mt,null,null,yi):(bt(ge.ec,ge.fc,Tt,Wt,nr,fr,Yr,br,cn,Yn,Cr,fn,st,mt-_e.A,st,mt,yi),++Oe);qr+2Oe,st=Oe==Em||Oe==Sm||Oe==Fm||Oe==l0||Oe==12||Go(Oe);if(ge.memory=null,ge.Ib=null,ge.Jb=null,ge.Nd=null,!Qg(ge.Oa,se,st?11:12))return 0;if(st&&Go(Oe)&&Ng(),se.da)alert("todo:use_scaling");else{if(_e){if(ge.Ib=Nh,se.Kb){if(Oe=se.U+1>>1,ge.memory=ae(se.U+2*Oe),ge.memory==null)return 0;ge.ec=ge.memory,ge.fc=0,ge.cc=ge.ec,ge.dc=ge.fc+se.U,ge.Mc=ge.cc,ge.Nc=ge.dc+Oe,ge.Ib=wl,Ng()}}else alert("todo:EmitYUV");st&&(ge.Jb=kf,_e&&vc())}if(_e&&!dv){for(se=0;256>se;++se)f1[se]=89858*(se-128)+Um>>Lm,p1[se]=-22014*(se-128)+Um,h1[se]=-45773*(se-128),d1[se]=113618*(se-128)+Um>>Lm;for(se=Gg;se>Lm,g1[se-Gg]=tf(ge,255),m1[se-Gg]=tf(ge+8>>4,15);dv=1}return 1}function zo(se){var ge=se.ma,Oe=se.U,_e=se.T;return E(!(1&se.ka)),0>=Oe||0>=_e?0:(Oe=ge.Ib(se,ge),ge.Jb!=null&&ge.Jb(se,ge,Oe),ge.Dc+=Oe,1)}function Hf(se){se.ma.memory=null}function Rf(se,ge,Oe,_e){return li(se,8)!=47?0:(ge[0]=li(se,14)+1,Oe[0]=li(se,14)+1,_e[0]=li(se,1),li(se,3)!=0?0:!se.h)}function Mu(se,ge){if(4>se)return se+1;var Oe=se-2>>1;return(2+(1&se)<>4)*se+(8-(15&Oe)))?Oe:1;var Oe}function Xs(se,ge,Oe){var _e=On(Oe),st=se[ge+=255&_e].g-8;return 0>>0,E(8>=Oe.g),se.g}function il(se,ge,Oe){var _e=se.xc;return E((ge=_e==0?0:se.vc[se.md*(Oe>>_e)+(ge>>_e)])>so.b)*qi;Yryi&&(Ao=yi),(0,Hg[Ha[TA++]>>8&15])(fn,nr+ +ga,qr,ii+ga-yi,Ao-ga,qr,ii+ga),ga=Ao}nr+=yi,ii+=yi,++Yr&wo||(so+=qi)}Cr!=cn.nc&&te(Wt,Tt-fr,Wt,Tt+(Cr-Yn-1)*fr,fr);break;case 1:for(fr=fn,br=nr,yi=(fn=cn.Ea)-(ii=fn&~(qr=(nr=1<>cn.b)*Yr;Yn=st),0mt.o&&(_e=mt.o),Oe=_e?Oe=0:(st[0]+=4*mt.v,mt.ka=Oe-mt.j,mt.U=mt.va-mt.v,mt.T=_e-Oe,Oe=1),Oe){if(Tt=Tt[0],11>(Oe=se.ca).S){var Yn=Oe.f.RGBA,Cr=(_e=Oe.S,st=mt.U,mt=mt.T,cn=Yn.eb,Yn.A),fn=mt;for(Yn=Yn.fb+se.Ma*Yn.A;0_e){var st=se.l.width,mt=Oe.ca,bt=Oe.tb+st*_e,Tt=se.V,Wt=se.Ba+se.c*_e,cn=se.gc;E(se.ab==1),E(cn[0].hc==3),af(cn[0],_e,ge,Tt,Wt,mt,bt),qc(Oe,_e,ge,mt,bt,st)}se.C=se.Ma=ge}function gc(se,ge,Oe,_e,st,mt,bt){var Tt=se.$/_e,Wt=se.$%_e,cn=se.m,Yn=se.s,Cr=Oe+se.$,fn=Cr;st=Oe+_e*st;var nr=Oe+_e*mt,fr=280+Yn.ua,Yr=se.Pb?Tt:16777216,br=0=Yr){var wo=Cr-Oe;E((Yr=se).Pb),Yr.wd=Yr.m,Yr.xd=wo,0pa.g?(or(ci,ci.u+pa.g),wo[qi]=pa.value,ci=0):(or(ci,ci.u+pa.g-256),E(256<=pa.value),ci=pa.value),ci==0&&(yi=!0)}else ci=Xs(ii.G[0],ii.H[0],cn);if(cn.h)break;if(yi||256>ci){if(!yi)if(ii.nd)ge[Cr]=(ii.qb|ci<<8)>>>0;else{if(yr(cn),yi=Xs(ii.G[1],ii.H[1],cn),yr(cn),wo=Xs(ii.G[2],ii.H[2],cn),qi=Xs(ii.G[3],ii.H[3],cn),cn.h)break;ge[Cr]=(qi<<24|yi<<16|ci<<8|wo)>>>0}if(yi=!1,++Cr,++Wt>=_e&&(Wt=0,++Tt,bt!=null&&Tt<=mt&&!(Tt%16)&&bt(se,Tt),br!=null))for(;fn>>br.Mb]=ci}else if(280>ci){if(ci=Mu(ci-256,cn),wo=Xs(ii.G[4],ii.H[4],cn),yr(cn),wo=_u(_e,wo=Mu(wo,cn)),cn.h)break;if(Cr-Oe=_e;)Wt-=_e,++Tt,bt!=null&&Tt<=mt&&!(Tt%16)&&bt(se,Tt);if(E(Cr<=st),Wt&qr&&(ii=il(Yn,Wt,Tt)),br!=null)for(;fn>>br.Mb]=ci}else{if(!(ci>>br.Mb]=ci;ci=Cr,E(!(yi>>>(wo=br).Xa)),ge[ci]=wo.X[yi],yi=!0}yi||E(cn.h==Gn(cn))}if(se.Pb&&cn.h&&Crmt?mt:Tt),se.a=0,se.$=Cr-Oe}return 1}return se.a=3,0}function ku(se){E(se!=null),se.vc=null,se.yc=null,se.Ya=null;var ge=se.Wa;ge!=null&&(ge.X=null),se.vb=null,E(se!=null)}function Th(){var se=new Yo;return se==null?null:(se.a=0,se.xb=sv,ms("Predictor","VP8LPredictors"),ms("Predictor","VP8LPredictors_C"),ms("PredictorAdd","VP8LPredictorsAdd"),ms("PredictorAdd","VP8LPredictorsAdd_C"),dA=Qa,Rg=ca,jg=fA,kd=Ka,Hd=Sa,Rd=Fa,Zh=Ns,Bn.VP8LMapColor32b=of,Bn.VP8LMapColor8b=kg,se)}function ef(se,ge,Oe,_e,st){var mt=1,bt=[se],Tt=[ge],Wt=_e.m,cn=_e.s,Yn=null,Cr=0;e:for(;;){if(Oe)for(;mt&&li(Wt,1);){var fn=bt,nr=Tt,fr=_e,Yr=1,br=fr.m,qr=fr.gc[fr.ab],ii=li(br,2);if(fr.Oc&1<=fr.ab),ii){case 0:case 1:qr.b=li(br,3)+2,Yr=ef(gi(qr.Ea,qr.b),gi(qr.nc,qr.b),0,fr,qr.K),qr.K=qr.K[0];break;case 3:var yi,ci=li(br,8)+1,wo=16>so.b),TA=ae(Ha);if(TA==null)yi=0;else{var ga=so.K[0],Ao=so.w;for(TA[0]=so.K[0][0],qi=1;qi<1*pa;++qi)TA[qi]=ko(ga[Ao+qi],TA[qi-1]);for(;qi<4*Ha;++qi)TA[qi]=0;so.K[0]=null,so.K[0]=TA,yi=1}}Yr=yi;break;case 2:break;default:E(0)}mt=Yr}}if(bt=bt[0],Tt=Tt[0],mt&&li(Wt,1)&&!(mt=1<=(Cr=li(Wt,4))&&11>=Cr)){_e.a=3;break e}var Ni;if(Ni=mt)t:{var pA,sa,za,Fs=_e,sl=bt,Ql=Tt,Ys=Cr,bl=Oe,Ml=Fs.m,QA=Fs.s,Ga=[null],ss=1,Js=0,As=qv[Ys];n:for(;;){if(bl&&li(Ml,1)){var Al=li(Ml,3)+2,wc=gi(sl,Al),gA=gi(Ql,Al),Wl=wc*gA;if(!ef(wc,gA,0,Fs,Ga))break n;for(Ga=Ga[0],QA.xc=Al,pA=0;pA>8&65535;Ga[pA]=hs,hs>=ss&&(ss=hs+1)}}if(Ml.h)break n;for(sa=0;5>sa;++sa){var MA=ov[sa];!sa&&0=_l),hu=du;var Gl=ae(Js);if(hu==null||Gl==null||fu==null){Fs.a=1;break n}var pu=fu;for(pA=za=0;pAsa;++sa){MA=ov[sa],gu[sa]=pu,bc[sa]=za,!sa&&0Qm)break r}else v0=Qm;for(Zg=0;Zg$p)wv[Zg++]=$p,$p!=0&&(bv=$p);else{var F1=$p==16,xv=$p-16,I1=$v[xv],Ev=li(Gd,Zv[xv])+I1;if(Zg+Ev>Qm)break r;for(var L1=F1?bv:0;0=sa){var $g,w0=Gl[0];for($g=1;$gw0&&(w0=Gl[$g]);ll+=w0}}if(ys.nd=td,ys.Qb=0,td&&(ys.qb=(gu[3][bc[3]+0].value<<24|gu[1][bc[1]+0].value<<16|gu[2][bc[2]+0].value)>>>0,Xh==0&&256>gu[0][bc[0]+0].value&&(ys.Qb=1,ys.qb+=gu[0][bc[0]+0].value<<8)),ys.jc=!ys.Qb&&6>ll,ys.jc){var Mm,nd=ys;for(Mm=0;Mm>=VA(_m,8,Zd),Vd>>=VA(nd.G[1][nd.H[1]+Vd],16,Zd),Vd>>=VA(nd.G[2][nd.H[2]+Vd],0,Zd),VA(nd.G[3][nd.H[3]+Vd],24,Zd))}}}QA.vc=Ga,QA.Wb=ss,QA.Ya=hu,QA.yc=fu,Ni=1;break t}Ni=0}if(!(mt=Ni)){_e.a=3;break e}if(0_e+1?[]:0),!(st.length<_e+1));bt++)ge(Oe[bt],_e+1,st)}(se,0,[3,11]),se}()}function rm(){this.jb=ae(3),this.Wc=ve([4,8],Bg),this.Xc=ve([4,17],Bg)}function im(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new ae(4),this.od=new ae(4)}function Hu(){this.ld=this.La=this.dd=this.tc=0}function Cg(){this.Na=this.la=0}function om(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function xg(){this.ad=ae(384),this.Za=0,this.Ob=ae(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function am(){this.uc=this.M=this.Nb=0,this.wa=Array(new Hu),this.Y=0,this.ya=Array(new xg),this.aa=0,this.l=new Hp}function sm(){this.y=ae(16),this.f=ae(8),this.ea=ae(8)}function Am(){this.cb=this.a=0,this.sc="",this.m=new xt,this.Od=new _p,this.Kc=new kp,this.ed=new im,this.Qa=new Gm,this.Ic=this.$c=this.Aa=0,this.D=new am,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=we(8,xt),this.ia=0,this.pb=we(4,om),this.Pa=new rm,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new sm),this.Hd=0,this.rb=Array(new Cg),this.sb=0,this.wa=Array(new Hu),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new xg),this.L=this.aa=0,this.gd=ve([4,2],Hu),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function tf(se,ge){return 0>se?0:se>ge?ge:se}function Hp(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Vm(){var se=new Am;return se!=null&&(se.a=0,se.sc="OK",se.cb=0,se.Xb=0,Wg||(Wg=Rp)),se}function BA(se,ge,Oe){return se.a==0&&(se.a=ge,se.sc=Oe,se.cb=0),0}function lm(se,ge,Oe){return 3<=Oe&&se[ge+0]==157&&se[ge+1]==1&&se[ge+2]==42}function nf(se,ge){if(se==null)return 0;if(se.a=0,se.sc="OK",ge==null)return BA(se,2,"null VP8Io passed to VP8GetHeaders()");var Oe=ge.data,_e=ge.w,st=ge.ha;if(4>st)return BA(se,7,"Truncated header.");var mt=Oe[_e+0]|Oe[_e+1]<<8|Oe[_e+2]<<16,bt=se.Od;if(bt.Rb=!(1&mt),bt.td=mt>>1&7,bt.yd=mt>>4&1,bt.ub=mt>>5,3st)return BA(se,7,"cannot parse picture header");if(!lm(Oe,_e,st))return BA(se,3,"Bad code word");Tt.c=16383&(Oe[_e+4]<<8|Oe[_e+3]),Tt.Td=Oe[_e+4]>>6,Tt.i=16383&(Oe[_e+6]<<8|Oe[_e+5]),Tt.Ud=Oe[_e+6]>>6,_e+=7,st-=7,se.za=Tt.c+15>>4,se.Ub=Tt.i+15>>4,ge.width=Tt.c,ge.height=Tt.i,ge.Da=0,ge.j=0,ge.v=0,ge.va=ge.width,ge.o=ge.height,ge.da=0,ge.ib=ge.width,ge.hb=ge.height,ge.U=ge.width,ge.T=ge.height,re((mt=se.Pa).jb,0,255,mt.jb.length),E((mt=se.Qa)!=null),mt.Cb=0,mt.Bb=0,mt.Fb=1,re(mt.Zb,0,0,mt.Zb.length),re(mt.Lb,0,0,mt.Lb)}if(bt.ub>st)return BA(se,7,"bad partition length");Tr(mt=se.m,Oe,_e,bt.ub),_e+=bt.ub,st-=bt.ub,bt.Rb&&(Tt.Ld=Hr(mt),Tt.Kd=Hr(mt)),Tt=se.Qa;var Wt,cn=se.Pa;if(E(mt!=null),E(Tt!=null),Tt.Cb=Hr(mt),Tt.Cb){if(Tt.Bb=Hr(mt),Hr(mt)){for(Tt.Fb=Hr(mt),Wt=0;4>Wt;++Wt)Tt.Zb[Wt]=Hr(mt)?Br(mt,7):0;for(Wt=0;4>Wt;++Wt)Tt.Lb[Wt]=Hr(mt)?Br(mt,6):0}if(Tt.Bb)for(Wt=0;3>Wt;++Wt)cn.jb[Wt]=Hr(mt)?_r(mt,8):255}else Tt.Bb=0;if(mt.Ka)return BA(se,3,"cannot parse segment header");if((Tt=se.ed).zd=Hr(mt),Tt.Tb=_r(mt,6),Tt.wb=_r(mt,3),Tt.Pc=Hr(mt),Tt.Pc&&Hr(mt)){for(cn=0;4>cn;++cn)Hr(mt)&&(Tt.vd[cn]=Br(mt,6));for(cn=0;4>cn;++cn)Hr(mt)&&(Tt.od[cn]=Br(mt,6))}if(se.L=Tt.Tb==0?0:Tt.zd?1:2,mt.Ka)return BA(se,3,"cannot parse filter header");var Yn=st;if(st=Wt=_e,_e=Wt+Yn,Tt=Yn,se.Xb=(1<<_r(se.m,2))-1,Yn<3*(cn=se.Xb))Oe=7;else{for(Wt+=3*cn,Tt-=3*cn,Yn=0;YnTt&&(Cr=Tt),Tr(se.Jc[+Yn],Oe,Wt,Cr),Wt+=Cr,Tt-=Cr,st+=3}Tr(se.Jc[+cn],Oe,Wt,Tt),Oe=Wt<_e?0:5}if(Oe!=0)return BA(se,Oe,"cannot parse partitions");for(Oe=_r(Wt=se.m,7),st=Hr(Wt)?Br(Wt,4):0,_e=Hr(Wt)?Br(Wt,4):0,Tt=Hr(Wt)?Br(Wt,4):0,cn=Hr(Wt)?Br(Wt,4):0,Wt=Hr(Wt)?Br(Wt,4):0,Yn=se.Qa,Cr=0;4>Cr;++Cr){if(Yn.Cb){var fn=Yn.Zb[Cr];Yn.Fb||(fn+=Oe)}else{if(0>16,8>nr.Eb[1]&&(nr.Eb[1]=8),nr.Qc[0]=d0[tf(fn+cn,117)],nr.Qc[1]=h0[tf(fn+Wt,127)],nr.lc=fn+Wt}if(!bt.Rb)return BA(se,4,"Not a key frame.");for(Hr(mt),bt=se.Pa,Oe=0;4>Oe;++Oe){for(st=0;8>st;++st)for(_e=0;3>_e;++_e)for(Tt=0;11>Tt;++Tt)cn=oi(mt,o1[Oe][st][_e][Tt])?_r(mt,8):r1[Oe][st][_e][Tt],bt.Wc[Oe][st].Yb[_e][Tt]=cn;for(st=0;17>st;++st)bt.Xc[Oe][st]=bt.Wc[Oe][a1[st]]}return se.kc=Hr(mt),se.kc&&(se.Bd=_r(mt,8)),se.cb=1}function Rp(se,ge,Oe,_e,st,mt,bt){var Tt=ge[st].Yb[Oe];for(Oe=0;16>st;++st){if(!oi(se,Tt[Oe+0]))return st;for(;!oi(se,Tt[Oe+1]);)if(Tt=ge[++st].Yb[0],Oe=0,st==16)return 16;var Wt=ge[st+1].Yb;if(oi(se,Tt[Oe+2])){var cn=se,Yn=0;if(oi(cn,(fn=Tt)[(Cr=Oe)+3]))if(oi(cn,fn[Cr+6])){for(Tt=0,Cr=2*(Yn=oi(cn,fn[Cr+8]))+(fn=oi(cn,fn[Cr+9+Yn])),Yn=0,fn=t1[Cr];fn[Tt];++Tt)Yn+=Yn+oi(cn,fn[Tt]);Yn+=3+(8<(cn=se).b&&Mr(cn);var Cr,fn=cn.b,nr=(Cr=cn.Ca>>1)-(cn.I>>fn)>>31;--cn.b,cn.Ca+=nr,cn.Ca|=1,cn.I-=(Cr+1&nr)<>3),se[ge+Oe+32*_e]=-256&st?0>st?0:255:st}function DA(se,ge,Oe,_e,st,mt){Ru(se,ge,0,Oe,_e+st),Ru(se,ge,1,Oe,_e+mt),Ru(se,ge,2,Oe,_e-mt),Ru(se,ge,3,Oe,_e-st)}function jf(se){return(20091*se>>16)+se}function cm(se,ge,Oe,_e){var st,mt=0,bt=ae(16);for(st=0;4>st;++st){var Tt=se[ge+0]+se[ge+8],Wt=se[ge+0]-se[ge+8],cn=(35468*se[ge+4]>>16)-jf(se[ge+12]),Yn=jf(se[ge+4])+(35468*se[ge+12]>>16);bt[mt+0]=Tt+Yn,bt[mt+1]=Wt+cn,bt[mt+2]=Wt-cn,bt[mt+3]=Tt-Yn,mt+=4,ge++}for(st=mt=0;4>st;++st)Tt=(se=bt[mt+0]+4)+bt[mt+8],Wt=se-bt[mt+8],cn=(35468*bt[mt+4]>>16)-jf(bt[mt+12]),Ru(Oe,_e,0,0,Tt+(Yn=jf(bt[mt+4])+(35468*bt[mt+12]>>16))),Ru(Oe,_e,1,0,Wt+cn),Ru(Oe,_e,2,0,Wt-cn),Ru(Oe,_e,3,0,Tt-Yn),mt++,_e+=32}function Zm(se,ge,Oe,_e){var st=se[ge+0]+4,mt=35468*se[ge+4]>>16,bt=jf(se[ge+4]),Tt=35468*se[ge+1]>>16;DA(Oe,_e,0,st+bt,se=jf(se[ge+1]),Tt),DA(Oe,_e,1,st+mt,se,Tt),DA(Oe,_e,2,st-mt,se,Tt),DA(Oe,_e,3,st-bt,se,Tt)}function $m(se,ge,Oe,_e,st){cm(se,ge,Oe,_e),st&&cm(se,ge+16,Oe,_e+4)}function rf(se,ge,Oe,_e){$h(se,ge+0,Oe,_e,1),$h(se,ge+32,Oe,_e+128,1)}function fm(se,ge,Oe,_e){var st;for(se=se[ge+0]+4,st=0;4>st;++st)for(ge=0;4>ge;++ge)Ru(Oe,_e,ge,st,se)}function dm(se,ge,Oe,_e){se[ge+0]&&as(se,ge+0,Oe,_e),se[ge+16]&&as(se,ge+16,Oe,_e+4),se[ge+32]&&as(se,ge+32,Oe,_e+128),se[ge+48]&&as(se,ge+48,Oe,_e+128+4)}function jp(se,ge,Oe,_e){var st,mt=ae(16);for(st=0;4>st;++st){var bt=se[ge+0+st]+se[ge+12+st],Tt=se[ge+4+st]+se[ge+8+st],Wt=se[ge+4+st]-se[ge+8+st],cn=se[ge+0+st]-se[ge+12+st];mt[0+st]=bt+Tt,mt[8+st]=bt-Tt,mt[4+st]=cn+Wt,mt[12+st]=cn-Wt}for(st=0;4>st;++st)bt=(se=mt[0+4*st]+3)+mt[3+4*st],Tt=mt[1+4*st]+mt[2+4*st],Wt=mt[1+4*st]-mt[2+4*st],cn=se-mt[3+4*st],Oe[_e+0]=bt+Tt>>3,Oe[_e+16]=cn+Wt>>3,Oe[_e+32]=bt-Tt>>3,Oe[_e+48]=cn-Wt>>3,_e+=64}function Mh(se,ge,Oe){var _e,st=ge-32,mt=cu,bt=255-se[st-1];for(_e=0;_eOe;++Oe)te(se,ge+32*Oe,se,ge-32,16)}function hm(se,ge){var Oe;for(Oe=16;0_e;++_e)re(ge,Oe+32*_e,se,16)}function qm(se,ge){var Oe,_e=16;for(Oe=0;16>Oe;++Oe)_e+=se[ge-1+32*Oe]+se[ge+Oe-32];mc(_e>>5,se,ge)}function _h(se,ge){var Oe,_e=8;for(Oe=0;16>Oe;++Oe)_e+=se[ge-1+32*Oe];mc(_e>>4,se,ge)}function Sg(se,ge){var Oe,_e=8;for(Oe=0;16>Oe;++Oe)_e+=se[ge+Oe-32];mc(_e>>4,se,ge)}function e0(se,ge){mc(128,se,ge)}function na(se,ge,Oe){return se+2*ge+Oe+2>>2}function t0(se,ge){var Oe,_e=ge-32;for(_e=new Uint8Array([na(se[_e-1],se[_e+0],se[_e+1]),na(se[_e+0],se[_e+1],se[_e+2]),na(se[_e+1],se[_e+2],se[_e+3]),na(se[_e+2],se[_e+3],se[_e+4])]),Oe=0;4>Oe;++Oe)te(se,ge+32*Oe,_e,0,_e.length)}function n0(se,ge){var Oe=se[ge-1],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1+96];wi(se,ge+0,16843009*na(se[ge-1-32],Oe,_e)),wi(se,ge+32,16843009*na(Oe,_e,st)),wi(se,ge+64,16843009*na(_e,st,mt)),wi(se,ge+96,16843009*na(st,mt,mt))}function r0(se,ge){var Oe,_e=4;for(Oe=0;4>Oe;++Oe)_e+=se[ge+Oe-32]+se[ge-1+32*Oe];for(_e>>=3,Oe=0;4>Oe;++Oe)re(se,ge+32*Oe,_e,4)}function zf(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1-32],bt=se[ge+0-32],Tt=se[ge+1-32],Wt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+96]=na(_e,st,se[ge-1+96]),se[ge+1+96]=se[ge+0+64]=na(Oe,_e,st),se[ge+2+96]=se[ge+1+64]=se[ge+0+32]=na(mt,Oe,_e),se[ge+3+96]=se[ge+2+64]=se[ge+1+32]=se[ge+0+0]=na(bt,mt,Oe),se[ge+3+64]=se[ge+2+32]=se[ge+1+0]=na(Tt,bt,mt),se[ge+3+32]=se[ge+2+0]=na(Wt,Tt,bt),se[ge+3+0]=na(cn,Wt,Tt)}function Kf(se,ge){var Oe=se[ge+1-32],_e=se[ge+2-32],st=se[ge+3-32],mt=se[ge+4-32],bt=se[ge+5-32],Tt=se[ge+6-32],Wt=se[ge+7-32];se[ge+0+0]=na(se[ge+0-32],Oe,_e),se[ge+1+0]=se[ge+0+32]=na(Oe,_e,st),se[ge+2+0]=se[ge+1+32]=se[ge+0+64]=na(_e,st,mt),se[ge+3+0]=se[ge+2+32]=se[ge+1+64]=se[ge+0+96]=na(st,mt,bt),se[ge+3+32]=se[ge+2+64]=se[ge+1+96]=na(mt,bt,Tt),se[ge+3+64]=se[ge+2+96]=na(bt,Tt,Wt),se[ge+3+96]=na(Tt,Wt,Wt)}function i0(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1-32],bt=se[ge+0-32],Tt=se[ge+1-32],Wt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+0]=se[ge+1+64]=mt+bt+1>>1,se[ge+1+0]=se[ge+2+64]=bt+Tt+1>>1,se[ge+2+0]=se[ge+3+64]=Tt+Wt+1>>1,se[ge+3+0]=Wt+cn+1>>1,se[ge+0+96]=na(st,_e,Oe),se[ge+0+64]=na(_e,Oe,mt),se[ge+0+32]=se[ge+1+96]=na(Oe,mt,bt),se[ge+1+32]=se[ge+2+96]=na(mt,bt,Tt),se[ge+2+32]=se[ge+3+96]=na(bt,Tt,Wt),se[ge+3+32]=na(Tt,Wt,cn)}function o0(se,ge){var Oe=se[ge+0-32],_e=se[ge+1-32],st=se[ge+2-32],mt=se[ge+3-32],bt=se[ge+4-32],Tt=se[ge+5-32],Wt=se[ge+6-32],cn=se[ge+7-32];se[ge+0+0]=Oe+_e+1>>1,se[ge+1+0]=se[ge+0+64]=_e+st+1>>1,se[ge+2+0]=se[ge+1+64]=st+mt+1>>1,se[ge+3+0]=se[ge+2+64]=mt+bt+1>>1,se[ge+0+32]=na(Oe,_e,st),se[ge+1+32]=se[ge+0+96]=na(_e,st,mt),se[ge+2+32]=se[ge+1+96]=na(st,mt,bt),se[ge+3+32]=se[ge+2+96]=na(mt,bt,Tt),se[ge+3+64]=na(bt,Tt,Wt),se[ge+3+96]=na(Tt,Wt,cn)}function zp(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1+96];se[ge+0+0]=Oe+_e+1>>1,se[ge+2+0]=se[ge+0+32]=_e+st+1>>1,se[ge+2+32]=se[ge+0+64]=st+mt+1>>1,se[ge+1+0]=na(Oe,_e,st),se[ge+3+0]=se[ge+1+32]=na(_e,st,mt),se[ge+3+32]=se[ge+1+64]=na(st,mt,mt),se[ge+3+64]=se[ge+2+64]=se[ge+0+96]=se[ge+1+96]=se[ge+2+96]=se[ge+3+96]=mt}function Fg(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1+96],bt=se[ge-1-32],Tt=se[ge+0-32],Wt=se[ge+1-32],cn=se[ge+2-32];se[ge+0+0]=se[ge+2+32]=Oe+bt+1>>1,se[ge+0+32]=se[ge+2+64]=_e+Oe+1>>1,se[ge+0+64]=se[ge+2+96]=st+_e+1>>1,se[ge+0+96]=mt+st+1>>1,se[ge+3+0]=na(Tt,Wt,cn),se[ge+2+0]=na(bt,Tt,Wt),se[ge+1+0]=se[ge+3+32]=na(Oe,bt,Tt),se[ge+1+32]=se[ge+3+64]=na(_e,Oe,bt),se[ge+1+64]=se[ge+3+96]=na(st,_e,Oe),se[ge+1+96]=na(mt,st,_e)}function kh(se,ge){var Oe;for(Oe=0;8>Oe;++Oe)te(se,ge+32*Oe,se,ge-32,8)}function a0(se,ge){var Oe;for(Oe=0;8>Oe;++Oe)re(se,ge,se[ge-1],8),ge+=32}function Wf(se,ge,Oe){var _e;for(_e=0;8>_e;++_e)re(ge,Oe+32*_e,se,8)}function s0(se,ge){var Oe,_e=8;for(Oe=0;8>Oe;++Oe)_e+=se[ge+Oe-32]+se[ge-1+32*Oe];Wf(_e>>4,se,ge)}function Ig(se,ge){var Oe,_e=4;for(Oe=0;8>Oe;++Oe)_e+=se[ge+Oe-32];Wf(_e>>3,se,ge)}function Lg(se,ge){var Oe,_e=4;for(Oe=0;8>Oe;++Oe)_e+=se[ge-1+32*Oe];Wf(_e>>3,se,ge)}function pm(se,ge){Wf(128,se,ge)}function Gf(se,ge,Oe){var _e=se[ge-Oe],st=se[ge+0],mt=3*(st-_e)+A0[1020+se[ge-2*Oe]-se[ge+Oe]],bt=Cm[112+(mt+4>>3)];se[ge-Oe]=cu[255+_e+Cm[112+(mt+3>>3)]],se[ge+0]=cu[255+st-bt]}function Ug(se,ge,Oe,_e){var st=se[ge+0],mt=se[ge+Oe];return Ku[255+se[ge-2*Oe]-se[ge-Oe]]>_e||Ku[255+mt-st]>_e}function Kp(se,ge,Oe,_e){return 4*Ku[255+se[ge-Oe]-se[ge+0]]+Ku[255+se[ge-2*Oe]-se[ge+Oe]]<=_e}function Og(se,ge,Oe,_e,st){var mt=se[ge-3*Oe],bt=se[ge-2*Oe],Tt=se[ge-Oe],Wt=se[ge+0],cn=se[ge+Oe],Yn=se[ge+2*Oe],Cr=se[ge+3*Oe];return 4*Ku[255+Tt-Wt]+Ku[255+bt-cn]>_e?0:Ku[255+se[ge-4*Oe]-mt]<=st&&Ku[255+mt-bt]<=st&&Ku[255+bt-Tt]<=st&&Ku[255+Cr-Yn]<=st&&Ku[255+Yn-cn]<=st&&Ku[255+cn-Wt]<=st}function Hh(se,ge,Oe,_e){var st=2*_e+1;for(_e=0;16>_e;++_e)Kp(se,ge+_e,Oe,st)&&Gf(se,ge+_e,Oe)}function Dg(se,ge,Oe,_e){var st=2*_e+1;for(_e=0;16>_e;++_e)Kp(se,ge+_e*Oe,1,st)&&Gf(se,ge+_e*Oe,1)}function gm(se,ge,Oe,_e){var st;for(st=3;0>7,qr=18*ii+63>>7,ii=9*ii+63>>7;Wt[cn-3*Yn]=cu[255+Wt[cn-3*Yn]+ii],Wt[cn-2*Yn]=cu[255+Cr+qr],Wt[cn-Yn]=cu[255+fn+br],Wt[cn+0]=cu[255+nr-br],Wt[cn+Yn]=cu[255+fr-qr],Wt[cn+2*Yn]=cu[255+Yr-ii]}ge+=_e}}function Zf(se,ge,Oe,_e,st,mt,bt,Tt){for(mt=2*mt+1;0>3)],Yr=Cm[112+(Yr+3>>3)],br=fr+1>>1;Wt[cn-2*Yn]=cu[255+Wt[cn-2*Yn]+br],Wt[cn-Yn]=cu[255+Cr+Yr],Wt[cn+0]=cu[255+fn-fr],Wt[cn+Yn]=cu[255+nr-br]}ge+=_e}}function vm(se,ge,Oe,_e,st,mt){Vf(se,ge,Oe,1,16,_e,st,mt)}function Rh(se,ge,Oe,_e,st,mt){Vf(se,ge,1,Oe,16,_e,st,mt)}function ym(se,ge,Oe,_e,st,mt){var bt;for(bt=3;0cn?0:255:cn)&255,cn=Wt,st[mt+Tt]=Yn}}function vs(se,ge,Oe,_e){var st=ge.width,mt=ge.o;if(E(se!=null&&ge!=null),0>Oe||0>=_e||Oe+_e>mt)return null;if(!se.Cc){if(se.ga==null){var bt;if(se.ga=new fa,(bt=se.ga==null)||(bt=ge.width*ge.o,E(se.Gb.length==0),se.Gb=ae(bt),se.Uc=0,se.Gb==null?bt=0:(se.mb=se.Gb,se.nb=se.Uc,se.rc=null,bt=1),bt=!bt),!bt){bt=se.ga;var Tt=se.Fa,Wt=se.P,cn=se.qc,Yn=se.mb,Cr=se.nb,fn=Wt+1,nr=cn-1,fr=bt.l;if(E(Tt!=null&&Yn!=null&&ge!=null),Kd[0]=null,Kd[1]=Wa,Kd[2]=zs,Kd[3]=CA,bt.ca=Yn,bt.tb=Cr,bt.c=ge.width,bt.i=ge.height,E(0=cn)ge=0;else if(bt.$a=3&Tt[Wt+0],bt.Z=Tt[Wt+0]>>2&3,bt.Lc=Tt[Wt+0]>>4&3,Wt=Tt[Wt+0]>>6&3,0>bt.$a||1=bt.c*bt.i;bt=!ge}if(bt)return null;se.ga.Lc!=1?se.Ga=0:_e=mt-Oe}E(se.ga!=null),E(Oe+_e<=mt);e:{if(ge=(Tt=se.ga).c,mt=Tt.l.o,Tt.$a==0){if(fn=se.rc,nr=se.Vc,fr=se.Fa,Wt=se.P+1+Oe*ge,cn=se.mb,Yn=se.nb+Oe*ge,E(Wt<=se.P+se.qc),Tt.Z!=0)for(E(Kd[Tt.Z]!=null),bt=0;bt<_e;++bt)Kd[Tt.Z](fn,nr,fr,Wt,cn,Yn,ge),fn=cn,nr=Yn,Yn+=ge,Wt+=ge;else for(bt=0;bt<_e;++bt)te(cn,Yn,fr,Wt,ge),fn=cn,nr=Yn,Yn+=ge,Wt+=ge;se.rc=fn,se.Vc=nr}else{if(E(Tt.mc!=null),ge=Oe+_e,E((bt=Tt.mc)!=null),E(ge<=bt.i),bt.C>=ge)ge=1;else if(Tt.ic||vc(),Tt.ic){Tt=bt.V,fn=bt.Ba,nr=bt.c;var Yr=bt.i,br=(fr=1,Wt=bt.$/nr,cn=bt.$%nr,Yn=bt.m,Cr=bt.s,bt.$),qr=nr*Yr,ii=nr*ge,yi=Cr.wc,ci=br(Yr=Xs(ci.G[0],ci.H[0],Yn)))Tt[fn+br]=Yr,++br,++cn>=nr&&(cn=0,++Wt<=ge&&!(Wt%16)&&pc(bt,Wt));else{if(!(280>Yr)){fr=0;break t}Yr=Mu(Yr-256,Yn);var wo,qi=Xs(ci.G[4],ci.H[4],Yn);if(yr(Yn),!(br>=(qi=_u(nr,qi=Mu(qi,Yn)))&&qr-br>=Yr)){fr=0;break t}for(wo=0;wo=nr;)cn-=nr,++Wt<=ge&&!(Wt%16)&&pc(bt,Wt);brge?ge:Wt);break t}!fr||Yn.h&&br=mt&&(se.Cc=1),_e=1}if(!_e)return null;if(se.Cc&&((_e=se.ga)!=null&&(_e.mc=null),se.ga=null,0>23,Tt[Wt+4*bt+1]=Tt[Wt+4*bt+1]*Cr>>23,Tt[Wt+4*bt+2]=Tt[Wt+4*bt+2]*Cr>>23)}ge+=mt}}function xA(se,ge,Oe,_e,st){for(;0<_e--;){var mt;for(mt=0;mt>4)*Wt>>16;se[ge+2*mt+0]=(240&bt|bt>>4)*Wt>>16&240|(15&bt|bt<<4)*Wt>>16>>4&15,se[ge+2*mt+1]=240&cn|Tt}ge+=st}}function ol(se,ge,Oe,_e,st,mt,bt,Tt){var Wt,cn,Yn=255;for(cn=0;cn>8}function vc(){Kg=NA,$0=xA,X0=ol,Y0=$f}function Xf(se,ge,Oe){Bn[se]=function(_e,st,mt,bt,Tt,Wt,cn,Yn,Cr,fn,nr,fr,Yr,br,qr,ii,yi){var ci,wo=yi-1>>1,qi=Tt[Wt+0]|cn[Yn+0]<<16,pa=Cr[fn+0]|nr[fr+0]<<16;E(_e!=null);var so=3*qi+pa+131074>>2;for(ge(_e[st+0],255&so,so>>16,Yr,br),mt!=null&&(so=3*pa+qi+131074>>2,ge(mt[bt+0],255&so,so>>16,qr,ii)),ci=1;ci<=wo;++ci){var Ha=Tt[Wt+ci]|cn[Yn+ci]<<16,TA=Cr[fn+ci]|nr[fr+ci]<<16,ga=qi+Ha+pa+TA+524296,Ao=ga+2*(Ha+pa)>>3;so=Ao+qi>>1,qi=(ga=ga+2*(qi+TA)>>3)+Ha>>1,ge(_e[st+2*ci-1],255&so,so>>16,Yr,br+(2*ci-1)*Oe),ge(_e[st+2*ci-0],255&qi,qi>>16,Yr,br+(2*ci-0)*Oe),mt!=null&&(so=ga+pa>>1,qi=Ao+TA>>1,ge(mt[bt+2*ci-1],255&so,so>>16,qr,ii+(2*ci-1)*Oe),ge(mt[bt+2*ci+0],255&qi,qi>>16,qr,ii+(2*ci+0)*Oe)),qi=Ha,pa=TA}1&yi||(so=3*qi+pa+131074>>2,ge(_e[st+yi-1],255&so,so>>16,Yr,br+(yi-1)*Oe),mt!=null&&(so=3*pa+qi+131074>>2,ge(mt[bt+yi-1],255&so,so>>16,qr,ii+(yi-1)*Oe)))}}function Ng(){Wu[xm]=A1,Wu[Em]=Av,Wu[rv]=l1,Wu[Sm]=lv,Wu[Fm]=uv,Wu[l0]=cv,Wu[iv]=u1,Wu[u0]=Av,Wu[c0]=lv,Wu[Im]=uv,Wu[f0]=cv}function Wp(se){return se&~c1?0>se?0:255:se>>fv}function Pd(se,ge){return Wp((19077*se>>8)+(26149*ge>>8)-14234)}function jh(se,ge,Oe){return Wp((19077*se>>8)-(6419*ge>>8)-(13320*Oe>>8)+8708)}function zh(se,ge){return Wp((19077*se>>8)+(33050*ge>>8)-17685)}function Td(se,ge,Oe,_e,st){_e[st+0]=Pd(se,Oe),_e[st+1]=jh(se,ge,Oe),_e[st+2]=zh(se,ge)}function al(se,ge,Oe,_e,st){_e[st+0]=zh(se,ge),_e[st+1]=jh(se,ge,Oe),_e[st+2]=Pd(se,Oe)}function Kh(se,ge,Oe,_e,st){var mt=jh(se,ge,Oe);ge=mt<<3&224|zh(se,ge)>>3,_e[st+0]=248&Pd(se,Oe)|mt>>5,_e[st+1]=ge}function Wh(se,ge,Oe,_e,st){var mt=240&zh(se,ge)|15;_e[st+0]=240&Pd(se,Oe)|jh(se,ge,Oe)>>4,_e[st+1]=mt}function Pg(se,ge,Oe,_e,st){_e[st+0]=255,Td(se,ge,Oe,_e,st+1)}function Tg(se,ge,Oe,_e,st){al(se,ge,Oe,_e,st),_e[st+3]=255}function Tl(se,ge,Oe,_e,st){Td(se,ge,Oe,_e,st),_e[st+3]=255}function Yf(se,ge,Oe){Bn[se]=function(_e,st,mt,bt,Tt,Wt,cn,Yn,Cr){for(var fn=Yn+(-2&Cr)*Oe;Yn!=fn;)ge(_e[st+0],mt[bt+0],Tt[Wt+0],cn,Yn),ge(_e[st+1],mt[bt+0],Tt[Wt+0],cn,Yn+Oe),st+=2,++bt,++Wt,Yn+=2*Oe;1&Cr&&ge(_e[st+0],mt[bt+0],Tt[Wt+0],cn,Yn)}}function Gp(se,ge,Oe){return Oe==0?se==0?ge==0?6:5:ge==0?4:0:Oe}function wm(se,ge,Oe,_e,st){switch(se>>>30){case 3:$h(ge,Oe,_e,st,0);break;case 2:zu(ge,Oe,_e,st);break;case 1:as(ge,Oe,_e,st)}}function ju(se,ge){var Oe,_e,st=ge.M,mt=ge.Nb,bt=se.oc,Tt=se.pc+40,Wt=se.oc,cn=se.pc+584,Yn=se.oc,Cr=se.pc+600;for(Oe=0;16>Oe;++Oe)bt[Tt+32*Oe-1]=129;for(Oe=0;8>Oe;++Oe)Wt[cn+32*Oe-1]=129,Yn[Cr+32*Oe-1]=129;for(0Oe;++Oe)te(bt,Tt+32*Oe-4,bt,Tt+32*Oe+12,4);for(Oe=-1;8>Oe;++Oe)te(Wt,cn+32*Oe-4,Wt,cn+32*Oe+4,4),te(Yn,Cr+32*Oe-4,Yn,Cr+32*Oe+4,4)}var nr=se.Gd,fr=se.Hd+_e,Yr=fn.ad,br=fn.Hc;if(0=se.za-1?re(qr,ii,nr[fr].y[15],4):te(qr,ii,nr[fr+1].y,0,4)),Oe=0;4>Oe;Oe++)qr[ii+128+Oe]=qr[ii+256+Oe]=qr[ii+384+Oe]=qr[ii+0+Oe];for(Oe=0;16>Oe;++Oe,br<<=2)qr=bt,ii=Tt+hv[Oe],yc[fn.Ob[Oe]](qr,ii),wm(br,Yr,16*+Oe,qr,ii)}else if(qr=Gp(_e,st,fn.Ob[0]),zd[qr](bt,Tt),br!=0)for(Oe=0;16>Oe;++Oe,br<<=2)wm(br,Yr,16*+Oe,bt,Tt+hv[Oe]);for(Oe=fn.Gc,qr=Gp(_e,st,fn.Dd),ed[qr](Wt,cn),ed[qr](Yn,Cr),br=Yr,qr=Wt,ii=cn,255&(fn=0|Oe)&&(170&fn?sf(br,256,qr,ii):ds(br,256,qr,ii)),fn=Yn,br=Cr,255&(Oe>>=8)&&(170&Oe?sf(Yr,320,fn,br):ds(Yr,320,fn,br)),stOe;++Oe)te(nr,fr+Oe*se.R,bt,Tt+32*Oe,16);for(Oe=0;8>Oe;++Oe)te(Yr,fn+Oe*se.B,Wt,cn+32*Oe,8),te(br,qr+Oe*se.B,Yn,Cr+32*Oe,8)}}function Gh(se,ge,Oe,_e,st,mt,bt,Tt,Wt){var cn=[0],Yn=[0],Cr=0,fn=Wt!=null?Wt.kd:0,nr=Wt!=null?Wt:new ui;if(se==null||12>Oe)return 7;nr.data=se,nr.w=ge,nr.ha=Oe,ge=[ge],Oe=[Oe],nr.gb=[nr.gb];e:{var fr=ge,Yr=Oe,br=nr.gb;if(E(se!=null),E(Yr!=null),E(br!=null),br[0]=0,12<=Yr[0]&&!x(se,fr[0],"RIFF")){if(x(se,fr[0]+8,"WEBP")){br=3;break e}var qr=Io(se,fr[0]+4);if(12>qr||4294967286Yr[0]-8){br=7;break e}br[0]=qr,fr[0]+=12,Yr[0]-=12}br=0}if(br!=0)return br;for(qr=0br[0])br=7;else{if(!x(ii,Yr[0],"VP8X")){if(Io(ii,Yr[0]+4)!=10){br=3;break e}if(18>br[0]){br=7;break e}var qi=Io(ii,Yr[0]+8),pa=1+_i(ii,Yr[0]+12);if(2147483648<=pa*(ii=1+_i(ii,Yr[0]+15))){br=3;break e}wo!=null&&(wo[0]=qi),yi!=null&&(yi[0]=pa),ci!=null&&(ci[0]=ii),Yr[0]+=18,br[0]-=18,so[0]=1}br=0}}if(Cr=Cr[0],fr=fr[0],br!=0)return br;if(Yr=!!(2&fr),!qr&&Cr)return 3;if(mt!=null&&(mt[0]=!!(16&fr)),bt!=null&&(bt[0]=Yr),Tt!=null&&(Tt[0]=0),bt=cn[0],fr=Yn[0],Cr&&Yr&&Wt==null){br=0;break}if(4>Oe){br=7;break}if(qr&&Cr||!qr&&!Cr&&!x(se,ge[0],"ALPH")){Oe=[Oe],nr.na=[nr.na],nr.P=[nr.P],nr.Sa=[nr.Sa];e:{qi=se,br=ge,qr=Oe;var so=nr.gb;yi=nr.na,ci=nr.P,wo=nr.Sa,pa=22,E(qi!=null),E(qr!=null),ii=br[0];var Ha=qr[0];for(E(yi!=null),E(wo!=null),yi[0]=null,ci[0]=null,wo[0]=0;;){if(br[0]=ii,qr[0]=Ha,8>Ha){br=7;break e}var TA=Io(qi,ii+4);if(4294967286so){br=3;break e}if(!x(qi,ii,"VP8 ")||!x(qi,ii,"VP8L")){br=0;break e}if(Ha[0]qr[0])br=7;else{if(ii||pa){if(so=Io(so,qi+4),12<=yi&&so>yi-12){br=3;break e}if(fn&&so>qr[0]-8){br=7;break e}ci[0]=so,br[0]+=8,qr[0]-=8,wo[0]=pa}else wo[0]=5<=qr[0]&&so[qi+0]==47&&!(so[qi+4]>>5),ci[0]=qr[0];br=0}if(Oe=Oe[0],nr.Ja=nr.Ja[0],nr.xa=nr.xa[0],ge=ge[0],br!=0)break;if(4294967286Oe){br=7;break}Tt=bt,fn=fr,Yr=mt,se==null||5>Oe?se=0:5<=Oe&&se[ge+0]==47&&!(se[ge+4]>>5)?(qr=[0],so=[0],yi=[0],Kr(ci=new wn,se,ge,Oe),Rf(ci,qr,so,yi)?(Tt!=null&&(Tt[0]=qr[0]),fn!=null&&(fn[0]=so[0]),Yr!=null&&(Yr[0]=yi[0]),se=1):se=0):se=0}else{if(10>Oe){br=7;break}Tt=fr,se==null||10>Oe||!lm(se,ge+3,Oe-3)?se=0:(fn=se[ge+0]|se[ge+1]<<8|se[ge+2]<<16,Yr=16383&(se[ge+7]<<8|se[ge+6]),se=16383&(se[ge+9]<<8|se[ge+8]),1&fn||3<(fn>>1&7)||!(fn>>4&1)||fn>>5>=nr.Ja||!Yr||!se?se=0:(bt&&(bt[0]=Yr),Tt&&(Tt[0]=se),se=1))}if(!se||(bt=bt[0],fr=fr[0],Cr&&(cn[0]!=bt||Yn[0]!=fr)))return 3;Wt!=null&&(Wt[0]=nr,Wt.offset=ge-Wt.w,E(4294967286>ge-Wt.w),E(Wt.offset==Wt.ha-Oe));break}return br==0||br==7&&Cr&&Wt==null?(mt!=null&&(mt[0]|=nr.na!=null&&0Oe||(mt&=-2,bt&=-2),0>mt||0>bt||0>=Tt||0>=Wt||mt+Tt>_e||bt+Wt>st))return 0;if(ge.v=mt,ge.j=bt,ge.va=mt+Tt,ge.o=bt+Wt,ge.U=Tt,ge.T=Wt,ge.da=se!=null&&0se.S){var ge=se.f.RGBA;ge.fb+=(se.height-1)*ge.A,ge.A=-ge.A}else ge=se.f.kb,se=se.height,ge.O+=(se-1)*ge.fa,ge.fa=-ge.fa,ge.N+=(se-1>>1)*ge.Ab,ge.Ab=-ge.Ab,ge.W+=(se-1>>1)*ge.Db,ge.Db=-ge.Db,ge.F!=null&&(ge.J+=(se-1)*ge.lb,ge.lb=-ge.lb);return 0}function Qd(se,ge,Oe,_e){if(_e==null||0>=se||0>=ge)return 2;if(Oe!=null){if(Oe.Da){var st=Oe.cd,mt=Oe.bd,bt=-2&Oe.v,Tt=-2&Oe.j;if(0>bt||0>Tt||0>=st||0>=mt||bt+st>se||Tt+mt>ge)return 2;se=st,ge=mt}if(Oe.da){if(!_o(se,ge,st=[Oe.ib],mt=[Oe.hb]))return 2;se=st[0],ge=mt[0]}}_e.width=se,_e.height=ge;e:{var Wt=_e.width,cn=_e.height;if(se=_e.S,0>=Wt||0>=cn||!(se>=xm&&13>se))se=2;else{if(0>=_e.Rd&&_e.sd==null){bt=mt=st=ge=0;var Yn=(Tt=Wt*pv[se])*cn;if(11>se||(mt=(cn+1)/2*(ge=(Wt+1)/2),se==12&&(bt=(st=Wt)*cn)),(cn=ae(Yn+2*mt+bt))==null){se=1;break e}_e.sd=cn,11>se?((Wt=_e.f.RGBA).eb=cn,Wt.fb=0,Wt.A=Tt,Wt.size=Yn):((Wt=_e.f.kb).y=cn,Wt.O=0,Wt.fa=Tt,Wt.Fd=Yn,Wt.f=cn,Wt.N=0+Yn,Wt.Ab=ge,Wt.Cd=mt,Wt.ea=cn,Wt.W=0+Yn+mt,Wt.Db=ge,Wt.Ed=mt,se==12&&(Wt.F=cn,Wt.J=0+Yn+2*mt),Wt.Tc=bt,Wt.lb=st)}if(ge=1,st=_e.S,mt=_e.width,bt=_e.height,st>=xm&&13>st)if(11>st)se=_e.f.RGBA,ge&=(Tt=Math.abs(se.A))*(bt-1)+mt<=se.size,ge&=Tt>=mt*pv[st],ge&=se.eb!=null;else{se=_e.f.kb,Tt=(mt+1)/2,Yn=(bt+1)/2,Wt=Math.abs(se.fa),cn=Math.abs(se.Ab);var Cr=Math.abs(se.Db),fn=Math.abs(se.lb),nr=fn*(bt-1)+mt;ge&=Wt*(bt-1)+mt<=se.Fd,ge&=cn*(Yn-1)+Tt<=se.Cd,ge=(ge&=Cr*(Yn-1)+Tt<=se.Ed)&Wt>=mt&cn>=Tt&Cr>=Tt,ge&=se.y!=null,ge&=se.f!=null,ge&=se.ea!=null,st==12&&(ge&=fn>=mt,ge&=nr<=se.Tc,ge&=se.F!=null)}else ge=0;se=ge?0:2}}return se!=0||Oe!=null&&Oe.fd&&(se=Mg(_e)),se}var Vh=64,lu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],uu=24,Md=32,Jf=8,_d=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];no("Predictor0","PredictorAdd0"),Bn.Predictor0=function(){return 4278190080},Bn.Predictor1=function(se){return se},Bn.Predictor2=function(se,ge,Oe){return ge[Oe+0]},Bn.Predictor3=function(se,ge,Oe){return ge[Oe+1]},Bn.Predictor4=function(se,ge,Oe){return ge[Oe-1]},Bn.Predictor5=function(se,ge,Oe){return Uo(Uo(se,ge[Oe+1]),ge[Oe+0])},Bn.Predictor6=function(se,ge,Oe){return Uo(se,ge[Oe-1])},Bn.Predictor7=function(se,ge,Oe){return Uo(se,ge[Oe+0])},Bn.Predictor8=function(se,ge,Oe){return Uo(ge[Oe-1],ge[Oe+0])},Bn.Predictor9=function(se,ge,Oe){return Uo(ge[Oe+0],ge[Oe+1])},Bn.Predictor10=function(se,ge,Oe){return Uo(Uo(se,ge[Oe-1]),Uo(ge[Oe+0],ge[Oe+1]))},Bn.Predictor11=function(se,ge,Oe){var _e=ge[Oe+0];return 0>=oa(_e>>24&255,se>>24&255,(ge=ge[Oe-1])>>24&255)+oa(_e>>16&255,se>>16&255,ge>>16&255)+oa(_e>>8&255,se>>8&255,ge>>8&255)+oa(255&_e,255&se,255&ge)?_e:se},Bn.Predictor12=function(se,ge,Oe){var _e=ge[Oe+0];return(is((se>>24&255)+(_e>>24&255)-((ge=ge[Oe-1])>>24&255))<<24|is((se>>16&255)+(_e>>16&255)-(ge>>16&255))<<16|is((se>>8&255)+(_e>>8&255)-(ge>>8&255))<<8|is((255&se)+(255&_e)-(255&ge)))>>>0},Bn.Predictor13=function(se,ge,Oe){var _e=ge[Oe-1];return(Ta((se=Uo(se,ge[Oe+0]))>>24&255,_e>>24&255)<<24|Ta(se>>16&255,_e>>16&255)<<16|Ta(se>>8&255,_e>>8&255)<<8|Ta(255&se,255&_e))>>>0};var _g=Bn.PredictorAdd0;Bn.PredictorAdd1=ka,no("Predictor2","PredictorAdd2"),no("Predictor3","PredictorAdd3"),no("Predictor4","PredictorAdd4"),no("Predictor5","PredictorAdd5"),no("Predictor6","PredictorAdd6"),no("Predictor7","PredictorAdd7"),no("Predictor8","PredictorAdd8"),no("Predictor9","PredictorAdd9"),no("Predictor10","PredictorAdd10"),no("Predictor11","PredictorAdd11"),no("Predictor12","PredictorAdd12"),no("Predictor13","PredictorAdd13");var Vp=Bn.PredictorAdd2;xo("ColorIndexInverseTransform","MapARGB","32b",function(se){return se>>8&255},function(se){return se}),xo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(se){return se},function(se){return se>>8&255});var dA,bm=Bn.ColorIndexInverseTransform,of=Bn.MapARGB,af=Bn.VP8LColorIndexInverseTransformAlpha,kg=Bn.MapAlpha,Hg=Bn.VP8LPredictorsAdd=[];Hg.length=16,(Bn.VP8LPredictors=[]).length=16,(Bn.VP8LPredictorsAdd_C=[]).length=16,(Bn.VP8LPredictors_C=[]).length=16;var Rg,jg,kd,Hd,Rd,Zh,jd,$h,zu,sf,as,ds,hA,PA,qf,zg,Zp,Bm,z0,K0,W0,G0,V0,Z0,Kg,$0,X0,Y0,J0=ae(511),q0=ae(2041),ev=ae(225),tv=ae(767),nv=0,A0=q0,Cm=ev,cu=tv,Ku=J0,xm=0,Em=1,rv=2,Sm=3,Fm=4,l0=5,iv=6,u0=7,c0=8,Im=9,f0=10,Zv=[2,3,7],$v=[3,3,11],ov=[280,256,256,256,40],Xv=[0,1,1,1,0],Yv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],qv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],e1=8,d0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],h0=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Wg=null,t1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],n1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],av=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],r1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],i1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],o1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],a1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],zd=[],yc=[],ed=[],s1=1,sv=2,Kd=[],Wu=[];Xf("UpsampleRgbLinePair",Td,3),Xf("UpsampleBgrLinePair",al,3),Xf("UpsampleRgbaLinePair",Tl,4),Xf("UpsampleBgraLinePair",Tg,4),Xf("UpsampleArgbLinePair",Pg,4),Xf("UpsampleRgba4444LinePair",Wh,2),Xf("UpsampleRgb565LinePair",Kh,2);var A1=Bn.UpsampleRgbLinePair,l1=Bn.UpsampleBgrLinePair,Av=Bn.UpsampleRgbaLinePair,lv=Bn.UpsampleBgraLinePair,uv=Bn.UpsampleArgbLinePair,cv=Bn.UpsampleRgba4444LinePair,u1=Bn.UpsampleRgb565LinePair,Lm=16,Um=1<_e.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),_e.ca.f.kb.F!=null&&vc()),_e.Pb&&0<_e.s.ua&&_e.s.vb.X==null&&!sn(_e.s.vb,_e.s.Wa.Xa)){_e.a=1;break n}_e.xb=0}if(!gc(_e,_e.V,_e.Ba,_e.c,_e.i,Oe.o,Nd))break n;st.Dc=_e.Ma,_e=1;break t}E(_e.a!=0),_e=0}_e=!_e}_e&&(ge=se.a)}else ge=se.a}else{if((se=new Vm)==null){bt=1;break e}if(se.Fa=st.na,se.P=st.P,se.qc=st.Sa,nf(se,_e)){if((ge=Qd(_e.width,_e.height,bt.Oa,bt.ba))==0){if(se.Aa=0,Oe=bt.Oa,E((st=se)!=null),Oe!=null){if(0<(Wt=0>(Wt=Oe.Md)?0:100cn;++cn)12>(Cr=st.pb[cn]).lc&&(Cr.ia=Wt*v1[0>Cr.lc?0:Cr.lc]>>3),Yn|=Cr.ia;Yn&&(alert("todo:VP8InitRandom"),st.ia=1)}st.Ga=Oe.Id,100st.Ga&&(st.Ga=0)}(function(fn,nr){if(fn==null)return 0;if(nr==null)return BA(fn,2,"NULL VP8Io parameter in VP8Decode().");if(!fn.cb&&!nf(fn,nr))return 0;if(E(fn.cb),nr.ac==null||nr.ac(nr)){nr.ob&&(fn.L=0);var fr=Om[fn.L];if(fn.L==2?(fn.yb=0,fn.zb=0):(fn.yb=nr.v-fr>>4,fn.zb=nr.j-fr>>4,0>fn.yb&&(fn.yb=0),0>fn.zb&&(fn.zb=0)),fn.Va=nr.o+15+fr>>4,fn.Hb=nr.va+15+fr>>4,fn.Hb>fn.za&&(fn.Hb=fn.za),fn.Va>fn.Ub&&(fn.Va=fn.Ub),0fr;++fr){var br;if(fn.Qa.Cb){var qr=fn.Qa.Lb[fr];fn.Qa.Fb||(qr+=Yr.Tb)}else qr=Yr.Tb;for(br=0;1>=br;++br){var ii=fn.gd[fr][br],yi=qr;if(Yr.Pc&&(yi+=Yr.vd[0],br&&(yi+=Yr.od[0])),0<(yi=0>yi?0:63>2:ci>>1)>9-Yr.wb&&(ci=9-Yr.wb),1>ci&&(ci=1),ii.dd=ci,ii.tc=2*yi+ci,ii.ld=40<=yi?2:15<=yi?1:0}else ii.tc=0;ii.La=br}}}fr=0}else BA(fn,6,"Frame setup failed"),fr=fn.a;if(fr=fr==0){if(fr){fn.$c=0,0fn.Vb){if(fn.Vb=0,fn.Ec=ae(ii),fn.Fc=0,fn.Ec==null){fr=BA(fn,1,"no memory during frame initialization.");break t}fn.Vb=ii}ii=fn.Ec,yi=fn.Fc,fn.Ac=ii,fn.Bc=yi,yi+=Yr,fn.Gd=we(wo,sm),fn.Hd=0,fn.rb=we(qi+1,Cg),fn.sb=1,fn.wa=pa?we(pa,Hu):null,fn.Y=0,fn.D.Nb=0,fn.D.wa=fn.wa,fn.D.Y=fn.Y,0=fr;++fr)J0[255+fr]=0>fr?-fr:fr;for(fr=-1020;1020>=fr;++fr)q0[1020+fr]=-128>fr?-128:127=fr;++fr)ev[112+fr]=-16>fr?-16:15=fr;++fr)tv[255+fr]=0>fr?0:255za;++za){var QA,Ga=Ql[0+za];for(QA=0;4>QA;++QA){Ga=i1[Fs[sl+QA]][Ga];for(var ss=av[oi(sa,Ga[0])];0>3;for(ss=0;256>ss;ss+=16)za[bl+ss]=Wl}Al=1,wc=sl[0]}var hs=15&sa.la,MA=15&Ml.la;for(ss=0;4>ss;++ss){var fu=1&MA;for(Wl=As=0;4>Wl;++Wl)hs=hs>>1|(fu=(gA=Wg(Fs,wc,gA=fu+(1&hs),Ys.Sc,Al,za,bl))>Al)<<7,As=As<<2|(3>=4,MA=MA>>1|fu<<7,QA=(QA<<8|As)>>>0}for(wc=hs,Al=MA>>4,Js=0;4>Js;Js+=2){for(As=0,hs=sa.la>>4+Js,MA=Ml.la>>4+Js,ss=0;2>ss;++ss){for(fu=1&MA,Wl=0;2>Wl;++Wl)gA=fu+(1&hs),hs=hs>>1|(fu=0<(gA=Wg(Fs,sl[2],gA,Ys.Qc,0,za,bl)))<<3,As=As<<2|(3>=2,MA=MA>>1|fu<<5}Ga|=As<<4*Js,wc|=hs<<4<=Ao.zb&&Ao.M<=Ao.Va,Ao.Aa==0)t:{if(ga.M=Ao.M,ga.uc=sa,ju(Ao,ga),pA=1,ga=(As=Ao.D).Nb,sa=(Ga=Om[Ao.L])*Ao.R,Fs=Ga/2*Ao.B,ss=16*ga*Ao.R,Wl=8*ga*Ao.B,sl=Ao.sa,Ql=Ao.ta-sa+ss,Ys=Ao.qa,za=Ao.ra-Fs+Wl,bl=Ao.Ha,Ml=Ao.Ia-Fs+Wl,MA=(hs=As.M)==0,QA=hs>=Ao.Va-1,Ao.Aa==2&&ju(Ao,As),As.uc)for(fu=(gA=Ao).D.M,E(gA.D.uc),As=gA.yb;AsNi.o&&(hs=Ni.o),Ni.F=null,Ni.J=null,Ao.Fa!=null&&0>1),Ni.W+=Ao.B*(Ga>>1),Ni.F!=null&&(Ni.J+=Ni.width*Ga)),As>1,Ni.W+=Ni.v>>1,Ni.F!=null&&(Ni.J+=Ni.v),Ni.ka=As-Ni.j,Ni.U=Ni.va-Ni.v,Ni.T=hs-As,pA=Ni.put(Ni))}ga+1!=Ao.Ic||QA||(te(Ao.sa,Ao.ta-sa,sl,Ql+16*Ao.R,sa),te(Ao.qa,Ao.ra-Fs,Ys,za+8*Ao.B,Fs),te(Ao.Ha,Ao.Ia-Fs,bl,Ml+8*Ao.B,Fs))}if(!pA)return BA(Ha,6,"Output aborted.")}return 1}(fn,nr)),nr.bc!=null&&nr.bc(nr),fr&=1}return fr?(fn.cb=0,fr):0})(se,_e)||(ge=se.a)}}else ge=se.a}ge==0&&bt.Oa!=null&&bt.Oa.fd&&(ge=Mg(bt.ba))}bt=ge}mt=bt!=0?null:11>mt?Tt.f.RGBA.eb:Tt.f.kb.y}else mt=null;return mt};var pv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ee(Bn,ur){for(var Ut="",an=0;an<4;an++)Ut+=String.fromCharCode(Bn[ur++]);return Ut}function Ne(Bn,ur){return Bn[ur+0]|Bn[ur+1]<<8}function et(Bn,ur){return(Bn[ur+0]|Bn[ur+1]<<8|Bn[ur+2]<<16)>>>0}function ht(Bn,ur){return(Bn[ur+0]|Bn[ur+1]<<8|Bn[ur+2]<<16|Bn[ur+3]<<24)>>>0}new Be;var De=[0],tn=[0],$t=[],on=new Be,Ot=y,jn=function(Bn,ur){var Ut={},an=0,Hn=!1,Pn=0,Ir=0;if(Ut.frames=[],!function(xt,wn){for(var On=0;On<4;On++)if(xt[wn+On]!="RIFF".charCodeAt(On))return!0;return!1}(Bn,ur)){for(ht(Bn,ur+=4),ur+=8;ur>1&1}Tr!="ANMF"&&(ur+=Br)}return Ut}}(Ot,0);jn.response=Ot,jn.rgbaoutput=!0,jn.dataurl=!1;var Dn=jn.header?jn.header:null,bn=jn.frames?jn.frames:null;if(Dn){Dn.loop_counter=Dn.loop_count,De=[Dn.canvas_height],tn=[Dn.canvas_width];for(var Er=0;Er=2?sn[1]:ji[0],ji[2]=sn.length>=3?sn[2]:ji[0],ji[3]=sn.length>=4?sn[3]:ji[1]),Ee.margin=ji}});var Mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Mr},set:function(sn){Mr=sn}});var Hr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Hr},set:function(sn){Hr=sn}});var oi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return oi},set:function(sn){oi=sn}}),Object.defineProperty(this,"ctx",{get:function(){return Ee},set:function(sn){sn instanceof Ne&&(Ee=sn)}}),Object.defineProperty(this,"path",{get:function(){return Ee.path},set:function(sn){Ee.path=sn}});var wi=[];Object.defineProperty(this,"ctxStack",{get:function(){return wi},set:function(sn){wi=sn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(sn){var ji;ji=ht(sn),this.ctx.fillStyle=ji.style,this.ctx.isFillTransparent=ji.a===0,this.ctx.fillOpacity=ji.a,this.pdf.setFillColor(ji.r,ji.g,ji.b,{a:ji.a}),this.pdf.setTextColor(ji.r,ji.g,ji.b,{a:ji.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(sn){var ji=ht(sn);this.ctx.strokeStyle=ji.style,this.ctx.isStrokeTransparent=ji.a===0,this.ctx.strokeOpacity=ji.a,ji.a===0?this.pdf.setDrawColor(255,255,255):(ji.a,this.pdf.setDrawColor(ji.r,ji.g,ji.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(sn){["butt","round","square"].indexOf(sn)!==-1&&(this.ctx.lineCap=sn,this.pdf.setLineCap(sn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(sn){isNaN(sn)||(this.ctx.lineWidth=sn,this.pdf.setLineWidth(sn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(sn){["bevel","round","miter"].indexOf(sn)!==-1&&(this.ctx.lineJoin=sn,this.pdf.setLineJoin(sn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(sn){isNaN(sn)||(this.ctx.miterLimit=sn,this.pdf.setMiterLimit(sn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(sn){this.ctx.textBaseline=sn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(sn){["right","end","center","left","start"].indexOf(sn)!==-1&&(this.ctx.textAlign=sn)}});var Ri=null,_i=null,Io=null;Object.defineProperty(this,"fontFaces",{get:function(){return Io},set:function(sn){Ri=null,_i=null,Io=sn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(sn){var ji;if(this.ctx.font=sn,(ji=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(sn))!==null){var Ca=ji[1];ji[2];var _o=ji[3],gi=ji[4];ji[5];var ko=ji[6],no=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(gi)[2];gi=Math.floor(no==="px"?parseFloat(gi)*this.pdf.internal.scaleFactor:no==="em"?parseFloat(gi)*this.pdf.getFontSize():parseFloat(gi)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(gi);var Mo=function(xo){var fA,Ka,Sa=[],Fa=xo.trim();if(Fa==="")return zm;if(Fa in Zc)return[Zc[Fa]];for(;Fa!=="";){switch(Ka=null,fA=(Fa=$c(Fa)).charAt(0)){case'"':case"'":Ka=cc(Fa.substring(1),fA);break;default:Ka=Od(Fa)}if(Ka===null||(Sa.push(Ka[0]),(Fa=$c(Ka[1]))!==""&&Fa.charAt(0)!==","))return zm;Fa=Fa.replace(/^,/,"")}return Sa}(ko);if(this.fontFaces){var Uo=function(xo,fA){var Ka=xo.getFontList(),Sa=JSON.stringify(Ka);if(Ri===null||_i!==Sa){var Fa=function(Ns){var No=[];return Object.keys(Ns).forEach(function(ms){Ns[ms].forEach(function(Go){var aa=null;switch(Go){case"bold":aa={family:ms,weight:"bold"};break;case"italic":aa={family:ms,style:"italic"};break;case"bolditalic":aa={family:ms,weight:"bold",style:"italic"};break;case"":case"normal":aa={family:ms}}aa!==null&&(aa.ref={name:ms,style:Go},No.push(aa))})}),No}(Ka);Ri=function(Ns){for(var No={},ms=0;ms=700||Ca==="bold")&&(oa="bold"),Ca==="italic"&&(oa+="italic"),oa.length===0&&(oa="normal");for(var ka="",Qa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ho=0;ho=2*Math.PI&&(Gn=0,or=2*Math.PI),this.path.push({type:"arc",x:xt,y:wn,radius:On,startAngle:Gn,endAngle:or,counterclockwise:yr})},et.prototype.arcTo=function(xt,wn,On,Gn,or){throw new Error("arcTo not implemented.")},et.prototype.rect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(xt,wn),this.lineTo(xt+On,wn),this.lineTo(xt+On,wn+Gn),this.lineTo(xt,wn+Gn),this.lineTo(xt,wn),this.lineTo(xt+On,wn),this.lineTo(xt,wn)},et.prototype.fillRect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!De.call(this)){var or={};this.lineCap!=="butt"&&(or.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(or.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(xt,wn,On,Gn),this.fill(),or.hasOwnProperty("lineCap")&&(this.lineCap=or.lineCap),or.hasOwnProperty("lineJoin")&&(this.lineJoin=or.lineJoin)}},et.prototype.strokeRect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");tn.call(this)||(this.beginPath(),this.rect(xt,wn,On,Gn),this.stroke())},et.prototype.clearRect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(xt,wn,On,Gn))},et.prototype.save=function(xt){xt=typeof xt!="boolean"||xt;for(var wn=this.pdf.internal.getCurrentPageInfo().pageNumber,On=0;On0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};et.prototype.drawImage=function(xt,wn,On,Gn,or,yr,Mr,Hr,oi){var wi=this.pdf.getImageProperties(xt),Ri=1,_i=1,Io=1,sn=1;Gn!==void 0&&Hr!==void 0&&(Io=Hr/Gn,sn=oi/or,Ri=wi.width/Gn*Hr/Gn,_i=wi.height/or*oi/or),yr===void 0&&(yr=wn,Mr=On,wn=0,On=0),Gn!==void 0&&Hr===void 0&&(Hr=Gn,oi=or),Gn===void 0&&Hr===void 0&&(Hr=wi.width,oi=wi.height);var ji=this.ctx.transform.decompose(),Ca=Br(ji.rotate.shx),_o=new Be,gi=(_o=(_o=(_o=_o.multiply(ji.translate)).multiply(ji.skew)).multiply(ji.scale)).applyToRectangle(new ve(yr-wn*Io,Mr-On*sn,Gn*Ri,or*_i));if(this.autoPaging){for(var ko,no=on.call(this,gi),Mo=[],Uo=0;Uois||oagi||no0)){for(;oi>=0;oi--)if(or[oi-1].close!==!0&&or[oi-1].begin!==!0){or[oi-1].deltas.push(On),or[oi-1].abs.push(Hr);break}}break;case"bct":On=[Hr.x1-yr[Mr-1].x,Hr.y1-yr[Mr-1].y,Hr.x2-yr[Mr-1].x,Hr.y2-yr[Mr-1].y,Hr.x-yr[Mr-1].x,Hr.y-yr[Mr-1].y],or[or.length-1].deltas.push(On);break;case"qct":var wi=yr[Mr-1].x+2/3*(Hr.x1-yr[Mr-1].x),Ri=yr[Mr-1].y+2/3*(Hr.y1-yr[Mr-1].y),_i=Hr.x+2/3*(Hr.x1-Hr.x),Io=Hr.y+2/3*(Hr.y1-Hr.y),sn=Hr.x,ji=Hr.y;On=[wi-yr[Mr-1].x,Ri-yr[Mr-1].y,_i-yr[Mr-1].x,Io-yr[Mr-1].y,sn-yr[Mr-1].x,ji-yr[Mr-1].y],or[or.length-1].deltas.push(On);break;case"arc":or.push({deltas:[],abs:[],arc:!0}),Array.isArray(or[or.length-1].abs)&&or[or.length-1].abs.push(Hr)}}Gn=wn?null:xt==="stroke"?"stroke":"fill";for(var Ca=!1,_o=0;_o=.01&&(Gn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Gn*xt.scale),or=this.lineWidth,this.lineWidth=or*xt.scale);var ca=this.autoPaging!=="text";if(ca||ho.y+ho.h<=Uo){if(ca||ho.y>=no&&ho.x<=Ta){var xo=ca?xt.text:this.pdf.splitTextToSize(xt.text,xt.maxWidth||Ta-ho.x)[0],fA=jn([JSON.parse(JSON.stringify(_i))],this.posX+this.margin[3],-ka+no+this.ctx.prevPageLastElemOffset)[0],Ka=ca&&(ko>_o||ko=.01&&(this.pdf.setFontSize(Gn),this.lineWidth=or)}}else xt.scale>=.01&&(Gn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Gn*xt.scale),or=this.lineWidth,this.lineWidth=or*xt.scale),this.pdf.text(xt.text,oi.x+this.posX,oi.y+this.posY,{angle:xt.angle,align:wn,renderingMode:xt.renderingMode,maxWidth:xt.maxWidth}),xt.scale>=.01&&(this.pdf.setFontSize(Gn),this.lineWidth=or)},Hn=function(xt,wn,On,Gn){On=On||0,Gn=Gn||0,this.pdf.internal.out(x(xt+On)+" "+te(wn+Gn)+" l")},Pn=function(xt,wn,On){return this.pdf.lines(xt,wn,On,null,null)},Ir=function(xt,wn,On,Gn,or,yr,Mr,Hr){this.pdf.internal.out([E(re(On+xt)),E(ae(Gn+wn)),E(re(or+xt)),E(ae(yr+wn)),E(re(Mr+xt)),E(ae(Hr+wn)),"c"].join(" "))},Tr=function(xt,wn,On,Gn){for(var or=2*Math.PI,yr=Math.PI/2;wn>On;)wn-=or;var Mr=Math.abs(On-wn);Mr1e-5;){var Ri=wi+oi*Math.min(Mr,yr);Hr.push(_r.call(this,xt,wi,Ri)),Mr-=Math.abs(Ri-wi),wi=Ri}return Hr},_r=function(xt,wn,On){var Gn=(On-wn)/2,or=xt*Math.cos(Gn),yr=xt*Math.sin(Gn),Mr=or,Hr=-yr,oi=Mr*Mr+Hr*Hr,wi=oi+Mr*or+Hr*yr,Ri=4/3*(Math.sqrt(2*oi*wi)-wi)/(Mr*yr-Hr*or),_i=Mr-Ri*Hr,Io=Hr+Ri*Mr,sn=_i,ji=-Io,Ca=Gn+wn,_o=Math.cos(Ca),gi=Math.sin(Ca);return{x1:xt*Math.cos(wn),y1:xt*Math.sin(wn),x2:_i*_o-Io*gi,y2:_i*gi+Io*_o,x3:sn*_o-ji*gi,y3:sn*gi+ji*_o,x4:xt*Math.cos(On),y4:xt*Math.sin(On)}},Br=function(xt){return 180*xt/Math.PI},Kr=function(xt,wn,On,Gn,or,yr){var Mr=xt+.5*(On-xt),Hr=wn+.5*(Gn-wn),oi=or+.5*(On-or),wi=yr+.5*(Gn-yr),Ri=Math.min(xt,or,Mr,oi),_i=Math.max(xt,or,Mr,oi),Io=Math.min(wn,yr,Hr,wi),sn=Math.max(wn,yr,Hr,wi);return new ve(Ri,Io,_i-Ri,sn-Io)},Si=function(xt,wn,On,Gn,or,yr,Mr,Hr){var oi,wi,Ri,_i,Io,sn,ji,Ca,_o,gi,ko,no,Mo,Uo,is=On-xt,Ta=Gn-wn,oa=or-On,ka=yr-Gn,Qa=Mr-or,ho=Hr-yr;for(wi=0;wi<41;wi++)_o=(ji=(Ri=xt+(oi=wi/40)*is)+oi*((Io=On+oi*oa)-Ri))+oi*(Io+oi*(or+oi*Qa-Io)-ji),gi=(Ca=(_i=wn+oi*Ta)+oi*((sn=Gn+oi*ka)-_i))+oi*(sn+oi*(yr+oi*ho-sn)-Ca),wi==0?(ko=_o,no=gi,Mo=_o,Uo=gi):(ko=Math.min(ko,_o),no=Math.min(no,gi),Mo=Math.max(Mo,_o),Uo=Math.max(Uo,gi));return new ve(Math.round(ko),Math.round(no),Math.round(Mo-ko),Math.round(Uo-no))},li=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var xt,wn,On=(xt=this.ctx.lineDash,wn=this.ctx.lineDashOffset,JSON.stringify({lineDash:xt,lineDashOffset:wn}));this.prevLineDash!==On&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=On)}}})(ao.API),function(y){var E=function(we){var ve,Be,Ee,Ne,et,ht,De,tn,$t,on;for(/[^\x00-\xFF]/.test(we),Be=[],Ee=0,Ne=(we+=ve="\0\0\0\0".slice(we.length%4||4)).length;Ne>Ee;Ee+=4)(et=(we.charCodeAt(Ee)<<24)+(we.charCodeAt(Ee+1)<<16)+(we.charCodeAt(Ee+2)<<8)+we.charCodeAt(Ee+3))!==0?(ht=(et=((et=((et=((et=(et-(on=et%85))/85)-($t=et%85))/85)-(tn=et%85))/85)-(De=et%85))/85)%85,Be.push(ht+33,De+33,tn+33,$t+33,on+33)):Be.push(122);return function(Ot,jn){for(var Dn=jn;Dn>0;Dn--)Ot.pop()}(Be,ve.length),String.fromCharCode.apply(String,Be)+"~>"},x=function(we){var ve,Be,Ee,Ne,et,ht=String,De="length",tn=255,$t="charCodeAt",on="slice",Ot="replace";for(we[on](-2),we=we[on](0,-2)[Ot](/\s/g,"")[Ot]("z","!!!!!"),Ee=[],Ne=0,et=(we+=ve="uuuuu"[on](we[De]%5||5))[De];et>Ne;Ne+=5)Be=52200625*(we[$t](Ne)-33)+614125*(we[$t](Ne+1)-33)+7225*(we[$t](Ne+2)-33)+85*(we[$t](Ne+3)-33)+(we[$t](Ne+4)-33),Ee.push(tn&Be>>24,tn&Be>>16,tn&Be>>8,tn&Be);return function(jn,Dn){for(var bn=Dn;bn>0;bn--)jn.pop()}(Ee,ve[De]),ht.fromCharCode.apply(ht,Ee)},te=function(we){return we.split("").map(function(ve){return("0"+ve.charCodeAt().toString(16)).slice(-2)}).join("")+">"},re=function(we){var ve=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((we=we.replace(/\s/g,"")).indexOf(">")!==-1&&(we=we.substr(0,we.indexOf(">"))),we.length%2&&(we+="0"),ve.test(we)===!1)return"";for(var Be="",Ee=0;Ee$t&&(tn=on,on=$t,$t=tn);else{if(ve!=="l"&&ve!=="landscape")throw"Invalid orientation: "+ve;ve="l",$t>on&&(tn=on,on=$t,$t=tn)}return{width:on,height:$t,unit:Be,k:et,orientation:ve}},y.html=function(ve,Be){(Be=Be||{}).callback=Be.callback||function(){},Be.html2canvas=Be.html2canvas||{},Be.html2canvas.canvas=Be.html2canvas.canvas||this.canvas,Be.jsPDF=Be.jsPDF||this,Be.fontFaces=Be.fontFaces?Be.fontFaces.map(Kl):null;var Ee=new we(Be);return Be.worker?Ee:Ee.from(ve).doCallback()}}(ao.API),ao.API.addJS=function(y){return F0=y,this.internal.events.subscribe("postPutResources",function(){Xc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Xc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),S0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+F0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Xc!==void 0&&S0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var E;y.events.push(["postPutResources",function(){var x=this,te=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var re=x.outline.render().split(/\r\n/),ae=0;ae> endobj")}var De=x.internal.newObject();for(x.internal.write("<< /Names [ "),ae=0;ae>","endobj"),E=x.internal.newObject(),x.internal.write("<< /Dests "+De+" 0 R"),x.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+E+" 0 R"))}]),y.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(te,re,ae){var we={title:re,options:ae,children:[]};return te==null&&(te=this.root),te.children.push(we),we},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(te){te.id=x.internal.newObjectDeferred();for(var re=0;re0&&(this.line("/First "+this.makeRef(te.children[0])),this.line("/Last "+this.makeRef(te.children[te.children.length-1]))),this.line("/Count "+this.count_r({count:0},te)),this.objEnd()},x.outline.renderItems=function(te){for(var re=this.ctx.pdf.internal.getVerticalCoordinateString,ae=0;ae0&&this.line("/Prev "+this.makeRef(te.children[ae-1])),ae0&&(this.line("/First "+this.makeRef(we.children[0])),this.line("/Last "+this.makeRef(we.children[we.children.length-1])));var ve=this.count=this.count_r({count:0},we);if(ve>0&&this.line("/Count "+ve),we.options&&we.options.pageNumber){var Be=x.internal.getPageInfo(we.options.pageNumber);this.line("/Dest ["+Be.objId+" 0 R /XYZ 0 "+re(0)+" 0]")}this.objEnd()}for(var Ee=0;Ee>"}),"transparency"in an&&Array.isArray(an.transparency)&&an.transparency.length>0){for(var _r="",Br=0,Kr=an.transparency.length;Br>",$t.content=ae;var Dn=$t.objId+" 0 R";ae="<>";else if(te.options.pageNumber)switch(ae="<=0};y.__arabicParser__.arabicLetterHasIsolatedForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length>=1};var Ee=y.__arabicParser__.arabicLetterHasFinalForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length>=2};y.__arabicParser__.arabicLetterHasInitialForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length>=3};var Ne=y.__arabicParser__.arabicLetterHasMedialForm=function($t){return we($t)&&ae($t)&&E[$t.charCodeAt(0)].length==4},et=y.__arabicParser__.resolveLigatures=function($t){var on=0,Ot=x,jn="",Dn=0;for(on=0;on<$t.length;on+=1)Ot[$t.charCodeAt(on)]!==void 0?(Dn++,typeof(Ot=Ot[$t.charCodeAt(on)])=="number"&&(jn+=String.fromCharCode(Ot),Ot=x,Dn=0),on===$t.length-1&&(Ot=x,jn+=$t.charAt(on-(Dn-1)),on-=Dn-1,Dn=0)):(Ot=x,jn+=$t.charAt(on-Dn),on-=Dn,Dn=0);return jn};y.__arabicParser__.isArabicDiacritic=function($t){return $t!==void 0&&te[$t.charCodeAt(0)]!==void 0};var ht=y.__arabicParser__.getCorrectForm=function($t,on,Ot){return we($t)?ae($t)===!1?-1:!Ee($t)||!we(on)&&!we(Ot)||!we(Ot)&&ve(on)||ve($t)&&!we(on)||ve($t)&&Be(on)||ve($t)&&ve(on)?0:Ne($t)&&we(on)&&!ve(on)&&we(Ot)&&Ee(Ot)?3:ve($t)||!we(Ot)?1:2:-1},De=function($t){var on=0,Ot=0,jn=0,Dn="",bn="",Er="",Jr=($t=$t||"").split("\\s+"),Qr=[];for(on=0;on>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+E+" 0 R")})),this},function(y){var E=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(ve){x=ve}});var te=150;Object.defineProperty(this,"width",{get:function(){return te},set:function(ve){te=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?150:ve,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=te+1)}});var re=300;Object.defineProperty(this,"height",{get:function(){return re},set:function(ve){re=isNaN(ve)||Number.isInteger(ve)===!1||ve<0?300:ve,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=re+1)}});var ae=[];Object.defineProperty(this,"childNodes",{get:function(){return ae},set:function(ve){ae=ve}});var we={};Object.defineProperty(this,"style",{get:function(){return we},set:function(ve){we=ve}}),Object.defineProperty(this,"parentNode",{})};E.prototype.getContext=function(x,te){var re;if((x=x||"2d")!=="2d")return null;for(re in te)this.pdf.context2d.hasOwnProperty(re)&&(this.pdf.context2d[re]=te[re]);return this.pdf.context2d._canvas=this,this.pdf.context2d},E.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},y.events.push(["initialized",function(){this.canvas=new E,this.canvas.pdf=this}])}(ao.API),function(y){var E={left:0,top:0,bottom:0,right:0},x=!1,te=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},E),this.internal.__cell__.margins.width=this.getPageWidth(),re.call(this))},re=function(){this.internal.__cell__.lastCell=new ae,this.internal.__cell__.pages=1},ae=function(){var Be=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Be},set:function($t){Be=$t}});var Ee=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ee},set:function($t){Ee=$t}});var Ne=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Ne},set:function($t){Ne=$t}});var et=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return et},set:function($t){et=$t}});var ht=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return ht},set:function($t){ht=$t}});var De=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return De},set:function($t){De=$t}});var tn=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return tn},set:function($t){tn=$t}}),this};ae.prototype.clone=function(){return new ae(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},ae.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},y.setHeaderFunction=function(Be){return te.call(this),this.internal.__cell__.headerFunction=typeof Be=="function"?Be:void 0,this},y.getTextDimensions=function(Be,Ee){te.call(this);var Ne=(Ee=Ee||{}).fontSize||this.getFontSize(),et=Ee.font||this.getFont(),ht=Ee.scaleFactor||this.internal.scaleFactor,De=0,tn=0,$t=0,on=this;if(!Array.isArray(Be)&&typeof Be!="string"){if(typeof Be!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Be=String(Be)}var Ot=Ee.maxWidth;Ot>0?typeof Be=="string"?Be=this.splitTextToSize(Be,Ot):Object.prototype.toString.call(Be)==="[object Array]"&&(Be=Be.reduce(function(Dn,bn){return Dn.concat(on.splitTextToSize(bn,Ot))},[])):Be=Array.isArray(Be)?Be:[Be];for(var jn=0;jnthis.getPageHeight()?(this.cellAddPage(),Be.y=et.top,De&&ht&&(this.printHeaderRow(Be.lineNumber,!0),Be.y+=ht[0].height)):Be.y=Ee.y+Ee.height||Be.y),Be.text[0]!==void 0&&(this.rect(Be.x,Be.y,Be.width,Be.height,x===!0?"FD":void 0),Be.align==="right"?this.text(Be.text,Be.x+Be.width-Ne,Be.y+Ne,{align:"right",baseline:"top"}):Be.align==="center"?this.text(Be.text,Be.x+Be.width/2,Be.y+Ne,{align:"center",baseline:"top",maxWidth:Be.width-Ne-Ne}):this.text(Be.text,Be.x+Ne,Be.y+Ne,{align:"left",baseline:"top",maxWidth:Be.width-Ne-Ne})),this.internal.__cell__.lastCell=Be,this};y.table=function(Be,Ee,Ne,et,ht){if(te.call(this),!Ne)throw new Error("No data for PDF table.");var De,tn,$t,on,Ot=[],jn=[],Dn=[],bn={},Er={},Jr=[],Qr=[],qn=(ht=ht||{}).autoSize||!1,Bn=ht.printHeaders!==!1,ur=ht.css&&ht.css["font-size"]!==void 0?16*ht.css["font-size"]:ht.fontSize||12,Ut=ht.margins||Object.assign({width:this.getPageWidth()},E),an=typeof ht.padding=="number"?ht.padding:3,Hn=ht.headerBackgroundColor||"#c8c8c8",Pn=ht.headerTextColor||"#000";if(re.call(this),this.internal.__cell__.printHeaders=Bn,this.internal.__cell__.margins=Ut,this.internal.__cell__.table_font_size=ur,this.internal.__cell__.padding=an,this.internal.__cell__.headerBackgroundColor=Hn,this.internal.__cell__.headerTextColor=Pn,this.setFontSize(ur),et==null)jn=Ot=Object.keys(Ne[0]),Dn=Ot.map(function(){return"left"});else if(Array.isArray(et)&&(0,oe.Z)(et[0])==="object")for(Ot=et.map(function(Si){return Si.name}),jn=et.map(function(Si){return Si.prompt||Si.name||""}),Dn=et.map(function(Si){return Si.align||"left"}),De=0;De0&&this.setTableHeaderRow(ht),this.setFont(void 0,"normal"),x=!1}}(ao.API);var bA={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},lc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],GA=Ja(lc),rl=[100,200,300,400,500,600,700,800,900],Mf=Ja(rl);function Kl(y){var E=y.family.replace(/"|'/g,"").toLowerCase(),x=function(ae){return bA[ae=ae||"normal"]?ae:"normal"}(y.style),te=function(ae){return ae?typeof ae=="number"?ae>=100&&ae<=900&&ae%100==0?ae:400:/^\d00$/.test(ae)?parseInt(ae):ae==="bold"?700:400:400}(y.weight),re=function(ae){return typeof GA[ae=ae||"normal"]=="number"?ae:"normal"}(y.stretch);return{family:E,style:x,weight:te,stretch:re,src:y.src||[],ref:y.ref||{name:E,style:[re,x,te].join(" ")}}}function uc(y,E,x,te){var re;for(re=x;re>=0&&re=0&&re>>1)&255}return re}function T0(y,E,x){var te=y.length,re=[];re[0]=4;for(var ae=0;ae>ae&we}function Q0(y,E,x,te){var re=x*te,ae=Math.floor(re/8),we=16-(re-8*ae+te),ve=(1<>8&255;Ee.setUint8(Ne,ht)}})(y,ae,M0(y,ae)&~(ve<>7,we=1<<1+(7&re);y[E++],y[E++];var ve=null,Be=null;ae&&(ve=E,Be=we,E+=3*we);var Ee=!0,Ne=[],et=0,ht=null,De=0,tn=null;for(this.width=x,this.height=te;Ee&&E=0))throw Error("Invalid block size");if(Ut===0)break;E+=Ut}break;case 249:if(y[E++]!==4||y[E+4]!==0)throw new Error("Invalid graphics extension block.");var $t=y[E++];et=y[E++]|y[E++]<<8,ht=y[E++],1&$t||(ht=null),De=$t>>2&7,E++;break;case 254:for(;;){if(!((Ut=y[E++])>=0))throw Error("Invalid block size");if(Ut===0)break;E+=Ut}break;default:throw new Error("Unknown graphic control label: 0x"+y[E-1].toString(16))}break;case 44:var on=y[E++]|y[E++]<<8,Ot=y[E++]|y[E++]<<8,jn=y[E++]|y[E++]<<8,Dn=y[E++]|y[E++]<<8,bn=y[E++],Er=bn>>6&1,Jr=1<<1+(7&bn),Qr=ve,qn=Be,Bn=!1;bn>>7&&(Bn=!0,Qr=E,qn=Jr,E+=3*Jr);var ur=E;for(E++;;){var Ut;if(!((Ut=y[E++])>=0))throw Error("Invalid block size");if(Ut===0)break;E+=Ut}Ne.push({x:on,y:Ot,width:jn,height:Dn,has_local_palette:Bn,palette_offset:Qr,palette_size:qn,data_offset:ur,data_length:E-ur,transparent_index:ht,interlaced:!!Er,delay:et,disposal:De});break;case 59:Ee=!1;break;default:throw new Error("Unknown gif block: 0x"+y[E-1].toString(16))}this.numFrames=function(){return Ne.length},this.loopCount=function(){return tn},this.frameInfo=function(an){if(an<0||an>=Ne.length)throw new Error("Frame index out of range.");return Ne[an]},this.decodeAndBlitFrameBGRA=function(an,Hn){var Pn=this.frameInfo(an),Ir=Pn.width*Pn.height,Tr=new Uint8Array(Ir);_0(y,Pn.data_offset,Tr,Ir);var _r=Pn.palette_offset,Br=Pn.transparent_index;Br===null&&(Br=256);var Kr=Pn.width,Si=x-Kr,li=Kr,xt=4*(Pn.y*x+Pn.x),wn=4*((Pn.y+Pn.height)*x+Pn.x),On=xt,Gn=4*Si;Pn.interlaced===!0&&(Gn+=4*x*7);for(var or=8,yr=0,Mr=Tr.length;yr=wn&&(Gn=4*Si+4*x*(or-1),On=xt+(Kr+Si)*(or<<1),or>>=1)),Hr===Br)On+=4;else{var oi=y[_r+3*Hr],wi=y[_r+3*Hr+1],Ri=y[_r+3*Hr+2];Hn[On++]=Ri,Hn[On++]=wi,Hn[On++]=oi,Hn[On++]=255}--li}},this.decodeAndBlitFrameRGBA=function(an,Hn){var Pn=this.frameInfo(an),Ir=Pn.width*Pn.height,Tr=new Uint8Array(Ir);_0(y,Pn.data_offset,Tr,Ir);var _r=Pn.palette_offset,Br=Pn.transparent_index;Br===null&&(Br=256);var Kr=Pn.width,Si=x-Kr,li=Kr,xt=4*(Pn.y*x+Pn.x),wn=4*((Pn.y+Pn.height)*x+Pn.x),On=xt,Gn=4*Si;Pn.interlaced===!0&&(Gn+=4*x*7);for(var or=8,yr=0,Mr=Tr.length;yr=wn&&(Gn=4*Si+4*x*(or-1),On=xt+(Kr+Si)*(or<<1),or>>=1)),Hr===Br)On+=4;else{var oi=y[_r+3*Hr],wi=y[_r+3*Hr+1],Ri=y[_r+3*Hr+2];Hn[On++]=oi,Hn[On++]=wi,Hn[On++]=Ri,Hn[On++]=255}--li}}}function _0(y,E,x,te){for(var re=y[E++],ae=1<>=Be,Ne-=Be,on!==ae){if(on===we)break;for(var Ot=onae;)Dn=tn[Dn]>>8,++jn;var bn=Dn;if(ht+jn+(Ot!==on?1:0)>te)return void Pa.log("Warning, gif stream longer than expected.");x[ht++]=bn;var Er=ht+=jn;for(Ot!==on&&(x[ht++]=bn),Dn=Ot;jn--;)Dn=tn[Dn],x[--Er]=255&Dn,Dn>>=8;$t!==null&&ve<4096&&(tn[ve++]=$t<<8|bn,ve>=Ee+1&&Be<12&&(++Be,Ee=Ee<<1|1)),$t=on}else ve=we+1,Ee=(1<<(Be=re+1))-1,$t=null}return ht!==te&&Pa.log("Warning, gif stream shorter than expected."),x}function Wm(y){var E,x,te,re,ae,we=Math.floor,ve=new Array(64),Be=new Array(64),Ee=new Array(64),Ne=new Array(64),et=new Array(65535),ht=new Array(65535),De=new Array(64),tn=new Array(64),$t=[],on=0,Ot=7,jn=new Array(64),Dn=new Array(64),bn=new Array(64),Er=new Array(256),Jr=new Array(2048),Qr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],qn=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Bn=[0,1,2,3,4,5,6,7,8,9,10,11],ur=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Ut=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],an=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Hn=[0,1,2,3,4,5,6,7,8,9,10,11],Pn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ir=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Tr(xt,wn){for(var On=0,Gn=0,or=new Array,yr=1;yr<=16;yr++){for(var Mr=1;Mr<=xt[yr];Mr++)or[wn[Gn]]=[],or[wn[Gn]][0]=On,or[wn[Gn]][1]=yr,Gn++,On++;On*=2}return or}function _r(xt){for(var wn=xt[0],On=xt[1]-1;On>=0;)wn&1<>8&255),Br(255&xt)}function Si(xt,wn,On,Gn,or){for(var yr,Mr=or[0],Hr=or[240],oi=function(gi,ko){var no,Mo,Uo,is,Ta,oa,ka,Qa,ho,ca,xo=0;for(ho=0;ho<8;++ho){no=gi[xo],Mo=gi[xo+1],Uo=gi[xo+2],is=gi[xo+3],Ta=gi[xo+4],oa=gi[xo+5],ka=gi[xo+6];var fA=no+(Qa=gi[xo+7]),Ka=no-Qa,Sa=Mo+ka,Fa=Mo-ka,Ns=Uo+oa,No=Uo-oa,ms=is+Ta,Go=is-Ta,aa=fA+ms,Ps=fA-ms,La=Sa+Ns,jo=Sa-Ns;gi[xo]=aa+La,gi[xo+4]=aa-La;var os=.707106781*(jo+Ps);gi[xo+2]=Ps+os,gi[xo+6]=Ps-os;var Nh=.382683433*((aa=Go+No)-(jo=Fa+Ka)),wl=.5411961*aa+Nh,kf=1.306562965*jo+Nh,Jc=.707106781*(La=No+Fa),zo=Ka+Jc,Hf=Ka-Jc;gi[xo+5]=Hf+wl,gi[xo+3]=Hf-wl,gi[xo+1]=zo+kf,gi[xo+7]=zo-kf,xo+=8}for(xo=0,ho=0;ho<8;++ho){no=gi[xo],Mo=gi[xo+8],Uo=gi[xo+16],is=gi[xo+24],Ta=gi[xo+32],oa=gi[xo+40],ka=gi[xo+48];var Rf=no+(Qa=gi[xo+56]),Mu=no-Qa,_u=Mo+ka,Xs=Mo-ka,VA=Uo+oa,il=Uo-oa,Ph=is+Ta,Nd=is-Ta,hc=Rf+Ph,qc=Rf-Ph,pc=_u+VA,gc=_u-VA;gi[xo]=hc+pc,gi[xo+32]=hc-pc;var ku=.707106781*(gc+qc);gi[xo+16]=qc+ku,gi[xo+48]=qc-ku;var Th=.382683433*((hc=Nd+il)-(gc=Xs+Mu)),ef=.5411961*hc+Th,Qh=1.306562965*gc+Th,Mp=.707106781*(pc=il+Xs),_p=Mu+Mp,kp=Mu-Mp;gi[xo+40]=kp+ef,gi[xo+24]=kp-ef,gi[xo+8]=_p+Qh,gi[xo+56]=_p-Qh,xo++}for(ho=0;ho<64;++ho)ca=gi[ho]*ko[ho],De[ho]=ca>0?ca+.5|0:ca-.5|0;return De}(xt,wn),wi=0;wi<64;++wi)tn[Qr[wi]]=oi[wi];var Ri=tn[0]-On;On=tn[0],Ri==0?_r(Gn[0]):(_r(Gn[ht[yr=32767+Ri]]),_r(et[yr]));for(var _i=63;_i>0&&tn[_i]==0;)_i--;if(_i==0)return _r(Mr),On;for(var Io,sn=1;sn<=_i;){for(var ji=sn;tn[sn]==0&&sn<=_i;)++sn;var Ca=sn-ji;if(Ca>=16){Io=Ca>>4;for(var _o=1;_o<=Io;++_o)_r(Hr);Ca&=15}yr=32767+tn[sn],_r(or[(Ca<<4)+ht[yr]]),_r(et[yr]),sn++}return _i!=63&&_r(Mr),On}function li(xt){xt=Math.min(Math.max(xt,1),100),ae!=xt&&(function(wn){for(var On=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Gn=0;Gn<64;Gn++){var or=we((On[Gn]*wn+50)/100);or=Math.min(Math.max(or,1),255),ve[Qr[Gn]]=or}for(var yr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Mr=0;Mr<64;Mr++){var Hr=we((yr[Mr]*wn+50)/100);Hr=Math.min(Math.max(Hr,1),255),Be[Qr[Mr]]=Hr}for(var oi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],wi=0,Ri=0;Ri<8;Ri++)for(var _i=0;_i<8;_i++)Ee[wi]=1/(ve[Qr[wi]]*oi[Ri]*oi[_i]*8),Ne[wi]=1/(Be[Qr[wi]]*oi[Ri]*oi[_i]*8),wi++}(xt<50?Math.floor(5e3/xt):Math.floor(200-2*xt)),ae=xt)}this.encode=function(xt,wn){wn&&li(wn),$t=new Array,on=0,Ot=7,Kr(65496),Kr(65504),Kr(16),Br(74),Br(70),Br(73),Br(70),Br(0),Br(1),Br(1),Br(0),Kr(1),Kr(1),Br(0),Br(0),function(){Kr(65499),Kr(132),Br(0);for(var Mo=0;Mo<64;Mo++)Br(ve[Mo]);Br(1);for(var Uo=0;Uo<64;Uo++)Br(Be[Uo])}(),function(Mo,Uo){Kr(65472),Kr(17),Br(8),Kr(Uo),Kr(Mo),Br(3),Br(1),Br(17),Br(0),Br(2),Br(17),Br(1),Br(3),Br(17),Br(1)}(xt.width,xt.height),function(){Kr(65476),Kr(418),Br(0);for(var Mo=0;Mo<16;Mo++)Br(qn[Mo+1]);for(var Uo=0;Uo<=11;Uo++)Br(Bn[Uo]);Br(16);for(var is=0;is<16;is++)Br(ur[is+1]);for(var Ta=0;Ta<=161;Ta++)Br(Ut[Ta]);Br(1);for(var oa=0;oa<16;oa++)Br(an[oa+1]);for(var ka=0;ka<=11;ka++)Br(Hn[ka]);Br(17);for(var Qa=0;Qa<16;Qa++)Br(Pn[Qa+1]);for(var ho=0;ho<=161;ho++)Br(Ir[ho])}(),Kr(65498),Kr(12),Br(3),Br(1),Br(0),Br(2),Br(17),Br(3),Br(17),Br(0),Br(63),Br(0);var On=0,Gn=0,or=0;on=0,Ot=7,this.encode.displayName="_encode_";for(var yr,Mr,Hr,oi,wi,Ri,_i,Io,sn,ji=xt.data,Ca=xt.width,_o=xt.height,gi=4*Ca,ko=0;ko<_o;){for(yr=0;yr>3)*gi+(_i=4*(7&sn)),ko+Io>=_o&&(Ri-=gi*(ko+1+Io-_o)),yr+_i>=gi&&(Ri-=yr+_i-gi+4),Mr=ji[Ri++],Hr=ji[Ri++],oi=ji[Ri++],jn[sn]=(Jr[Mr]+Jr[Hr+256|0]+Jr[oi+512|0]>>16)-128,Dn[sn]=(Jr[Mr+768|0]+Jr[Hr+1024|0]+Jr[oi+1280|0]>>16)-128,bn[sn]=(Jr[Mr+1280|0]+Jr[Hr+1536|0]+Jr[oi+1792|0]>>16)-128;On=Si(jn,Ee,On,E,te),Gn=Si(Dn,Ne,Gn,x,re),or=Si(bn,Ne,or,x,re),yr+=32}ko+=8}if(Ot>=0){var no=[];no[1]=Ot+1,no[0]=(1<an;an++)if(Bn[ur+an]!=Ut.charCodeAt(an))return!0;return!1}function te(Bn,ur,Ut,an,Hn){for(var Pn=0;PnPn+1?[]:new ur),!(Ir.length>>0;se&Oe;)Oe>>>=1;return Oe?(se&Oe-1)+Oe:se}function Ut(se,ge,Oe,_e,st){E(!(_e%Oe));do se[ge+(_e-=Oe)]=st;while(0<_e)}function an(se,ge,Oe,_e,st){if(E(2328>=st),512>=st)var mt=ae(512);else if((mt=ae(st))==null)return 0;return function(bt,Tt,Wt,cn,Yn,Cr){var fn,nr,fr=Tt,Yr=1<fn;++fn){if(br[fn]>1<(pa-=br[fn]))return 0;for(;0=fn;++fn,Yn<<=1){if(qi+=pa<<=1,0>(pa-=br[fn]))return 0;for(;0yi&&!(0>=(ii-=br[yi]));)++yi,ii<<=1;Yr+=so=1<<(ii=yi-Wt),bt[Tt+(yi=wo&ci)].g=ii+Wt,bt[Tt+yi].value=fr-Tt-yi}cn.g=fn-Wt,cn.value=Cr[nr++],Ut(bt,fr+(wo>>Wt),Yn,so,cn),wo=ur(wo,fn)}}return qi!=2*qr[15]-1?0:Yr}(se,ge,Oe,_e,st,mt)}function Hn(){this.value=this.g=0}function Pn(){this.value=this.g=0}function Ir(){this.G=we(5,Hn),this.H=ae(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=we(Vh,Pn)}function Tr(se,ge,Oe,_e){E(se!=null),E(ge!=null),E(2147483648>_e),se.Ca=254,se.I=0,se.b=-8,se.Ka=0,se.oa=ge,se.pa=Oe,se.Jd=ge,se.Yc=Oe+_e,se.Zc=4<=_e?Oe+_e-4+1:Oe,Mr(se)}function _r(se,ge){for(var Oe=0;0_e),se.Sb=_e,se.Ra=0,se.u=0,se.h=0,4<_e&&(_e=4),st=0;st<_e;++st)mt+=ge[Oe+st]<<8*st;se.Ra=mt,se.bb=_e,se.oa=ge,se.pa=Oe}function Si(se){for(;8<=se.u&&se.bb>>=8,se.Ra+=se.oa[se.pa+se.bb]<>>0,++se.bb,se.u-=8;Gn(se)&&(se.h=1,se.u=0)}function li(se,ge){if(E(0<=ge),!se.h&&ge<=uu){var Oe=On(se)&lu[ge];return se.u+=ge,Si(se),Oe}return se.h=1,se.u=0}function xt(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function wn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function On(se){return se.Ra>>>(se.u&Md-1)>>>0}function Gn(se){return E(se.bb<=se.Sb),se.h||se.bb==se.Sb&&se.u>Md}function or(se,ge){se.u=ge,se.h=Gn(se)}function yr(se){se.u>=Jf&&(E(se.u>=Jf),Si(se))}function Mr(se){E(se!=null&&se.oa!=null),se.pa>>0,se.b+=8):(E(se!=null&&se.oa!=null),se.pase.b&&Mr(se);var _e=se.b,st=Oe*ge>>>8,mt=(se.I>>>_e>st)+0;for(mt?(Oe-=st,se.I-=st+1<<_e>>>0):Oe=st+1,_e=Oe,st=0;256<=_e;)st+=8,_e>>=8;return _e=7^st+_d[_e],se.b-=_e,se.Ca=(Oe<<_e)-1,mt}function wi(se,ge,Oe){se[ge+0]=Oe>>24&255,se[ge+1]=Oe>>16&255,se[ge+2]=Oe>>8&255,se[ge+3]=255&Oe}function Ri(se,ge){return se[ge+0]|se[ge+1]<<8}function _i(se,ge){return Ri(se,ge)|se[ge+2]<<16}function Io(se,ge){return Ri(se,ge)|Ri(se,ge+2)<<16}function sn(se,ge){var Oe=1<=st||0>=mt?0:(Oe[0]=st,_e[0]=mt,1)}function gi(se,ge){return se+(1<>>ge}function ko(se,ge){return((4278255360&se)+(4278255360&ge)>>>0&4278255360)+((16711935&se)+(16711935&ge)>>>0&16711935)>>>0}function no(se,ge){Bn[ge]=function(Oe,_e,st,mt,bt,Tt,Wt){var cn;for(cn=0;cn>>1)+(se&ge)>>>0}function is(se){return 0<=se&&256>se?se:0>se?0:255>1))}function oa(se,ge,Oe){return Math.abs(ge-Oe)-Math.abs(se-Oe)}function ka(se,ge,Oe,_e,st,mt,bt){for(_e=mt[bt-1],Oe=0;Oe>8&255,Wt=16711935&(Wt=(Wt=16711935&bt)+((Tt<<16)+Tt));_e[st+mt]=(4278255360&bt)+Wt>>>0}}function ho(se,ge){ge.jd=255&se,ge.hd=se>>8&255,ge.ud=se>>16&255}function ca(se,ge,Oe,_e,st,mt){var bt;for(bt=0;bt<_e;++bt){var Tt=ge[Oe+bt],Wt=Tt>>>8,cn=Tt,Yn=255&(Yn=(Yn=Tt>>>16)+((se.jd<<24>>24)*(Wt<<24>>24)>>>5));cn=255&(cn=(cn+=(se.hd<<24>>24)*(Wt<<24>>24)>>>5)+((se.ud<<24>>24)*(Yn<<24>>24)>>>5)),st[mt+bt]=(4278255360&Tt)+(Yn<<16)+cn}}function xo(se,ge,Oe,_e,st){Bn[ge]=function(mt,bt,Tt,Wt,cn,Yn,Cr,fn,nr){for(Wt=Cr;Wt>mt.b,nr=mt.Ea,fr=mt.K[0],Yr=mt.w;if(8>fn)for(mt=(1<>=fn}else Bn["VP8LMapColor"+Oe](Wt,cn,fr,Yr,Yn,Cr,bt,Tt,nr)}}function fA(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&255,_e[st++]=mt>>8&255,_e[st++]=255&mt}}function Ka(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&255,_e[st++]=mt>>8&255,_e[st++]=255&mt,_e[st++]=mt>>24&255}}function Sa(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&240|bt>>12&15,bt=240&bt|bt>>28&15;_e[st++]=mt,_e[st++]=bt}}function Fa(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>16&248|bt>>13&7,bt=bt>>5&224|bt>>3&31;_e[st++]=mt,_e[st++]=bt}}function Ns(se,ge,Oe,_e,st){for(Oe=ge+Oe;ge>8&255,_e[st++]=mt>>16&255}}function No(se,ge,Oe,_e,st,mt){if(mt==0)for(Oe=ge+Oe;ge>24|mt[1]>>8&65280|mt[2]<<8&16711680|mt[3]<<24)>>>0),st+=32;else te(_e,st,se,ge,Oe)}function ms(se,ge){Bn[ge][0]=Bn[se+"0"],Bn[ge][1]=Bn[se+"1"],Bn[ge][2]=Bn[se+"2"],Bn[ge][3]=Bn[se+"3"],Bn[ge][4]=Bn[se+"4"],Bn[ge][5]=Bn[se+"5"],Bn[ge][6]=Bn[se+"6"],Bn[ge][7]=Bn[se+"7"],Bn[ge][8]=Bn[se+"8"],Bn[ge][9]=Bn[se+"9"],Bn[ge][10]=Bn[se+"10"],Bn[ge][11]=Bn[se+"11"],Bn[ge][12]=Bn[se+"12"],Bn[ge][13]=Bn[se+"13"],Bn[ge][14]=Bn[se+"0"],Bn[ge][15]=Bn[se+"0"]}function Go(se){return se==u0||se==c0||se==Im||se==f0}function aa(){this.eb=[],this.size=this.A=this.fb=0}function Ps(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function La(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new aa,this.f.kb=new Ps,this.sd=null}function jo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function os(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Nh(se){return alert("todo:WebPSamplerProcessPlane"),se.T}function wl(se,ge){var Oe=se.T,_e=ge.ba.f.RGBA,st=_e.eb,mt=_e.fb+se.ka*_e.A,bt=Wu[ge.ba.S],Tt=se.y,Wt=se.O,cn=se.f,Yn=se.N,Cr=se.ea,fn=se.W,nr=ge.cc,fr=ge.dc,Yr=ge.Mc,br=ge.Nc,qr=se.ka,ii=se.ka+se.T,yi=se.U,ci=yi+1>>1;for(qr==0?bt(Tt,Wt,null,null,cn,Yn,Cr,fn,cn,Yn,Cr,fn,st,mt,null,null,yi):(bt(ge.ec,ge.fc,Tt,Wt,nr,fr,Yr,br,cn,Yn,Cr,fn,st,mt-_e.A,st,mt,yi),++Oe);qr+2Oe,st=Oe==Em||Oe==Sm||Oe==Fm||Oe==l0||Oe==12||Go(Oe);if(ge.memory=null,ge.Ib=null,ge.Jb=null,ge.Nd=null,!Qg(ge.Oa,se,st?11:12))return 0;if(st&&Go(Oe)&&Ng(),se.da)alert("todo:use_scaling");else{if(_e){if(ge.Ib=Nh,se.Kb){if(Oe=se.U+1>>1,ge.memory=ae(se.U+2*Oe),ge.memory==null)return 0;ge.ec=ge.memory,ge.fc=0,ge.cc=ge.ec,ge.dc=ge.fc+se.U,ge.Mc=ge.cc,ge.Nc=ge.dc+Oe,ge.Ib=wl,Ng()}}else alert("todo:EmitYUV");st&&(ge.Jb=kf,_e&&vc())}if(_e&&!dv){for(se=0;256>se;++se)f1[se]=89858*(se-128)+Um>>Lm,p1[se]=-22014*(se-128)+Um,h1[se]=-45773*(se-128),d1[se]=113618*(se-128)+Um>>Lm;for(se=Gg;se>Lm,g1[se-Gg]=tf(ge,255),m1[se-Gg]=tf(ge+8>>4,15);dv=1}return 1}function zo(se){var ge=se.ma,Oe=se.U,_e=se.T;return E(!(1&se.ka)),0>=Oe||0>=_e?0:(Oe=ge.Ib(se,ge),ge.Jb!=null&&ge.Jb(se,ge,Oe),ge.Dc+=Oe,1)}function Hf(se){se.ma.memory=null}function Rf(se,ge,Oe,_e){return li(se,8)!=47?0:(ge[0]=li(se,14)+1,Oe[0]=li(se,14)+1,_e[0]=li(se,1),li(se,3)!=0?0:!se.h)}function Mu(se,ge){if(4>se)return se+1;var Oe=se-2>>1;return(2+(1&se)<>4)*se+(8-(15&Oe)))?Oe:1;var Oe}function Xs(se,ge,Oe){var _e=On(Oe),st=se[ge+=255&_e].g-8;return 0>>0,E(8>=Oe.g),se.g}function il(se,ge,Oe){var _e=se.xc;return E((ge=_e==0?0:se.vc[se.md*(Oe>>_e)+(ge>>_e)])>so.b)*qi;Yryi&&(Ao=yi),(0,Hg[Ha[TA++]>>8&15])(fn,nr+ +ga,qr,ii+ga-yi,Ao-ga,qr,ii+ga),ga=Ao}nr+=yi,ii+=yi,++Yr&wo||(so+=qi)}Cr!=cn.nc&&te(Wt,Tt-fr,Wt,Tt+(Cr-Yn-1)*fr,fr);break;case 1:for(fr=fn,br=nr,yi=(fn=cn.Ea)-(ii=fn&~(qr=(nr=1<>cn.b)*Yr;Yn=st),0mt.o&&(_e=mt.o),Oe=_e?Oe=0:(st[0]+=4*mt.v,mt.ka=Oe-mt.j,mt.U=mt.va-mt.v,mt.T=_e-Oe,Oe=1),Oe){if(Tt=Tt[0],11>(Oe=se.ca).S){var Yn=Oe.f.RGBA,Cr=(_e=Oe.S,st=mt.U,mt=mt.T,cn=Yn.eb,Yn.A),fn=mt;for(Yn=Yn.fb+se.Ma*Yn.A;0_e){var st=se.l.width,mt=Oe.ca,bt=Oe.tb+st*_e,Tt=se.V,Wt=se.Ba+se.c*_e,cn=se.gc;E(se.ab==1),E(cn[0].hc==3),af(cn[0],_e,ge,Tt,Wt,mt,bt),qc(Oe,_e,ge,mt,bt,st)}se.C=se.Ma=ge}function gc(se,ge,Oe,_e,st,mt,bt){var Tt=se.$/_e,Wt=se.$%_e,cn=se.m,Yn=se.s,Cr=Oe+se.$,fn=Cr;st=Oe+_e*st;var nr=Oe+_e*mt,fr=280+Yn.ua,Yr=se.Pb?Tt:16777216,br=0=Yr){var wo=Cr-Oe;E((Yr=se).Pb),Yr.wd=Yr.m,Yr.xd=wo,0pa.g?(or(ci,ci.u+pa.g),wo[qi]=pa.value,ci=0):(or(ci,ci.u+pa.g-256),E(256<=pa.value),ci=pa.value),ci==0&&(yi=!0)}else ci=Xs(ii.G[0],ii.H[0],cn);if(cn.h)break;if(yi||256>ci){if(!yi)if(ii.nd)ge[Cr]=(ii.qb|ci<<8)>>>0;else{if(yr(cn),yi=Xs(ii.G[1],ii.H[1],cn),yr(cn),wo=Xs(ii.G[2],ii.H[2],cn),qi=Xs(ii.G[3],ii.H[3],cn),cn.h)break;ge[Cr]=(qi<<24|yi<<16|ci<<8|wo)>>>0}if(yi=!1,++Cr,++Wt>=_e&&(Wt=0,++Tt,bt!=null&&Tt<=mt&&!(Tt%16)&&bt(se,Tt),br!=null))for(;fn>>br.Mb]=ci}else if(280>ci){if(ci=Mu(ci-256,cn),wo=Xs(ii.G[4],ii.H[4],cn),yr(cn),wo=_u(_e,wo=Mu(wo,cn)),cn.h)break;if(Cr-Oe=_e;)Wt-=_e,++Tt,bt!=null&&Tt<=mt&&!(Tt%16)&&bt(se,Tt);if(E(Cr<=st),Wt&qr&&(ii=il(Yn,Wt,Tt)),br!=null)for(;fn>>br.Mb]=ci}else{if(!(ci>>br.Mb]=ci;ci=Cr,E(!(yi>>>(wo=br).Xa)),ge[ci]=wo.X[yi],yi=!0}yi||E(cn.h==Gn(cn))}if(se.Pb&&cn.h&&Crmt?mt:Tt),se.a=0,se.$=Cr-Oe}return 1}return se.a=3,0}function ku(se){E(se!=null),se.vc=null,se.yc=null,se.Ya=null;var ge=se.Wa;ge!=null&&(ge.X=null),se.vb=null,E(se!=null)}function Th(){var se=new Yo;return se==null?null:(se.a=0,se.xb=sv,ms("Predictor","VP8LPredictors"),ms("Predictor","VP8LPredictors_C"),ms("PredictorAdd","VP8LPredictorsAdd"),ms("PredictorAdd","VP8LPredictorsAdd_C"),dA=Qa,Rg=ca,jg=fA,kd=Ka,Hd=Sa,Rd=Fa,Zh=Ns,Bn.VP8LMapColor32b=of,Bn.VP8LMapColor8b=kg,se)}function ef(se,ge,Oe,_e,st){var mt=1,bt=[se],Tt=[ge],Wt=_e.m,cn=_e.s,Yn=null,Cr=0;e:for(;;){if(Oe)for(;mt&&li(Wt,1);){var fn=bt,nr=Tt,fr=_e,Yr=1,br=fr.m,qr=fr.gc[fr.ab],ii=li(br,2);if(fr.Oc&1<=fr.ab),ii){case 0:case 1:qr.b=li(br,3)+2,Yr=ef(gi(qr.Ea,qr.b),gi(qr.nc,qr.b),0,fr,qr.K),qr.K=qr.K[0];break;case 3:var yi,ci=li(br,8)+1,wo=16>so.b),TA=ae(Ha);if(TA==null)yi=0;else{var ga=so.K[0],Ao=so.w;for(TA[0]=so.K[0][0],qi=1;qi<1*pa;++qi)TA[qi]=ko(ga[Ao+qi],TA[qi-1]);for(;qi<4*Ha;++qi)TA[qi]=0;so.K[0]=null,so.K[0]=TA,yi=1}}Yr=yi;break;case 2:break;default:E(0)}mt=Yr}}if(bt=bt[0],Tt=Tt[0],mt&&li(Wt,1)&&!(mt=1<=(Cr=li(Wt,4))&&11>=Cr)){_e.a=3;break e}var Ni;if(Ni=mt)t:{var pA,sa,za,Fs=_e,sl=bt,Ql=Tt,Ys=Cr,bl=Oe,Ml=Fs.m,QA=Fs.s,Ga=[null],ss=1,Js=0,As=qv[Ys];n:for(;;){if(bl&&li(Ml,1)){var Al=li(Ml,3)+2,wc=gi(sl,Al),gA=gi(Ql,Al),Wl=wc*gA;if(!ef(wc,gA,0,Fs,Ga))break n;for(Ga=Ga[0],QA.xc=Al,pA=0;pA>8&65535;Ga[pA]=hs,hs>=ss&&(ss=hs+1)}}if(Ml.h)break n;for(sa=0;5>sa;++sa){var MA=ov[sa];!sa&&0=_l),hu=du;var Gl=ae(Js);if(hu==null||Gl==null||fu==null){Fs.a=1;break n}var pu=fu;for(pA=za=0;pAsa;++sa){MA=ov[sa],gu[sa]=pu,bc[sa]=za,!sa&&0Qm)break r}else v0=Qm;for(Zg=0;Zg$p)wv[Zg++]=$p,$p!=0&&(bv=$p);else{var F1=$p==16,xv=$p-16,I1=$v[xv],Ev=li(Gd,Zv[xv])+I1;if(Zg+Ev>Qm)break r;for(var L1=F1?bv:0;0=sa){var $g,w0=Gl[0];for($g=1;$gw0&&(w0=Gl[$g]);ll+=w0}}if(ys.nd=td,ys.Qb=0,td&&(ys.qb=(gu[3][bc[3]+0].value<<24|gu[1][bc[1]+0].value<<16|gu[2][bc[2]+0].value)>>>0,Xh==0&&256>gu[0][bc[0]+0].value&&(ys.Qb=1,ys.qb+=gu[0][bc[0]+0].value<<8)),ys.jc=!ys.Qb&&6>ll,ys.jc){var Mm,nd=ys;for(Mm=0;Mm>=VA(_m,8,Zd),Vd>>=VA(nd.G[1][nd.H[1]+Vd],16,Zd),Vd>>=VA(nd.G[2][nd.H[2]+Vd],0,Zd),VA(nd.G[3][nd.H[3]+Vd],24,Zd))}}}QA.vc=Ga,QA.Wb=ss,QA.Ya=hu,QA.yc=fu,Ni=1;break t}Ni=0}if(!(mt=Ni)){_e.a=3;break e}if(0_e+1?[]:0),!(st.length<_e+1));bt++)ge(Oe[bt],_e+1,st)}(se,0,[3,11]),se}()}function rm(){this.jb=ae(3),this.Wc=ve([4,8],Bg),this.Xc=ve([4,17],Bg)}function im(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new ae(4),this.od=new ae(4)}function Hu(){this.ld=this.La=this.dd=this.tc=0}function Cg(){this.Na=this.la=0}function om(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function xg(){this.ad=ae(384),this.Za=0,this.Ob=ae(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function am(){this.uc=this.M=this.Nb=0,this.wa=Array(new Hu),this.Y=0,this.ya=Array(new xg),this.aa=0,this.l=new Hp}function sm(){this.y=ae(16),this.f=ae(8),this.ea=ae(8)}function Am(){this.cb=this.a=0,this.sc="",this.m=new xt,this.Od=new _p,this.Kc=new kp,this.ed=new im,this.Qa=new Gm,this.Ic=this.$c=this.Aa=0,this.D=new am,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=we(8,xt),this.ia=0,this.pb=we(4,om),this.Pa=new rm,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new sm),this.Hd=0,this.rb=Array(new Cg),this.sb=0,this.wa=Array(new Hu),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new xg),this.L=this.aa=0,this.gd=ve([4,2],Hu),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function tf(se,ge){return 0>se?0:se>ge?ge:se}function Hp(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Vm(){var se=new Am;return se!=null&&(se.a=0,se.sc="OK",se.cb=0,se.Xb=0,Wg||(Wg=Rp)),se}function BA(se,ge,Oe){return se.a==0&&(se.a=ge,se.sc=Oe,se.cb=0),0}function lm(se,ge,Oe){return 3<=Oe&&se[ge+0]==157&&se[ge+1]==1&&se[ge+2]==42}function nf(se,ge){if(se==null)return 0;if(se.a=0,se.sc="OK",ge==null)return BA(se,2,"null VP8Io passed to VP8GetHeaders()");var Oe=ge.data,_e=ge.w,st=ge.ha;if(4>st)return BA(se,7,"Truncated header.");var mt=Oe[_e+0]|Oe[_e+1]<<8|Oe[_e+2]<<16,bt=se.Od;if(bt.Rb=!(1&mt),bt.td=mt>>1&7,bt.yd=mt>>4&1,bt.ub=mt>>5,3st)return BA(se,7,"cannot parse picture header");if(!lm(Oe,_e,st))return BA(se,3,"Bad code word");Tt.c=16383&(Oe[_e+4]<<8|Oe[_e+3]),Tt.Td=Oe[_e+4]>>6,Tt.i=16383&(Oe[_e+6]<<8|Oe[_e+5]),Tt.Ud=Oe[_e+6]>>6,_e+=7,st-=7,se.za=Tt.c+15>>4,se.Ub=Tt.i+15>>4,ge.width=Tt.c,ge.height=Tt.i,ge.Da=0,ge.j=0,ge.v=0,ge.va=ge.width,ge.o=ge.height,ge.da=0,ge.ib=ge.width,ge.hb=ge.height,ge.U=ge.width,ge.T=ge.height,re((mt=se.Pa).jb,0,255,mt.jb.length),E((mt=se.Qa)!=null),mt.Cb=0,mt.Bb=0,mt.Fb=1,re(mt.Zb,0,0,mt.Zb.length),re(mt.Lb,0,0,mt.Lb)}if(bt.ub>st)return BA(se,7,"bad partition length");Tr(mt=se.m,Oe,_e,bt.ub),_e+=bt.ub,st-=bt.ub,bt.Rb&&(Tt.Ld=Hr(mt),Tt.Kd=Hr(mt)),Tt=se.Qa;var Wt,cn=se.Pa;if(E(mt!=null),E(Tt!=null),Tt.Cb=Hr(mt),Tt.Cb){if(Tt.Bb=Hr(mt),Hr(mt)){for(Tt.Fb=Hr(mt),Wt=0;4>Wt;++Wt)Tt.Zb[Wt]=Hr(mt)?Br(mt,7):0;for(Wt=0;4>Wt;++Wt)Tt.Lb[Wt]=Hr(mt)?Br(mt,6):0}if(Tt.Bb)for(Wt=0;3>Wt;++Wt)cn.jb[Wt]=Hr(mt)?_r(mt,8):255}else Tt.Bb=0;if(mt.Ka)return BA(se,3,"cannot parse segment header");if((Tt=se.ed).zd=Hr(mt),Tt.Tb=_r(mt,6),Tt.wb=_r(mt,3),Tt.Pc=Hr(mt),Tt.Pc&&Hr(mt)){for(cn=0;4>cn;++cn)Hr(mt)&&(Tt.vd[cn]=Br(mt,6));for(cn=0;4>cn;++cn)Hr(mt)&&(Tt.od[cn]=Br(mt,6))}if(se.L=Tt.Tb==0?0:Tt.zd?1:2,mt.Ka)return BA(se,3,"cannot parse filter header");var Yn=st;if(st=Wt=_e,_e=Wt+Yn,Tt=Yn,se.Xb=(1<<_r(se.m,2))-1,Yn<3*(cn=se.Xb))Oe=7;else{for(Wt+=3*cn,Tt-=3*cn,Yn=0;YnTt&&(Cr=Tt),Tr(se.Jc[+Yn],Oe,Wt,Cr),Wt+=Cr,Tt-=Cr,st+=3}Tr(se.Jc[+cn],Oe,Wt,Tt),Oe=Wt<_e?0:5}if(Oe!=0)return BA(se,Oe,"cannot parse partitions");for(Oe=_r(Wt=se.m,7),st=Hr(Wt)?Br(Wt,4):0,_e=Hr(Wt)?Br(Wt,4):0,Tt=Hr(Wt)?Br(Wt,4):0,cn=Hr(Wt)?Br(Wt,4):0,Wt=Hr(Wt)?Br(Wt,4):0,Yn=se.Qa,Cr=0;4>Cr;++Cr){if(Yn.Cb){var fn=Yn.Zb[Cr];Yn.Fb||(fn+=Oe)}else{if(0>16,8>nr.Eb[1]&&(nr.Eb[1]=8),nr.Qc[0]=d0[tf(fn+cn,117)],nr.Qc[1]=h0[tf(fn+Wt,127)],nr.lc=fn+Wt}if(!bt.Rb)return BA(se,4,"Not a key frame.");for(Hr(mt),bt=se.Pa,Oe=0;4>Oe;++Oe){for(st=0;8>st;++st)for(_e=0;3>_e;++_e)for(Tt=0;11>Tt;++Tt)cn=oi(mt,o1[Oe][st][_e][Tt])?_r(mt,8):r1[Oe][st][_e][Tt],bt.Wc[Oe][st].Yb[_e][Tt]=cn;for(st=0;17>st;++st)bt.Xc[Oe][st]=bt.Wc[Oe][a1[st]]}return se.kc=Hr(mt),se.kc&&(se.Bd=_r(mt,8)),se.cb=1}function Rp(se,ge,Oe,_e,st,mt,bt){var Tt=ge[st].Yb[Oe];for(Oe=0;16>st;++st){if(!oi(se,Tt[Oe+0]))return st;for(;!oi(se,Tt[Oe+1]);)if(Tt=ge[++st].Yb[0],Oe=0,st==16)return 16;var Wt=ge[st+1].Yb;if(oi(se,Tt[Oe+2])){var cn=se,Yn=0;if(oi(cn,(fn=Tt)[(Cr=Oe)+3]))if(oi(cn,fn[Cr+6])){for(Tt=0,Cr=2*(Yn=oi(cn,fn[Cr+8]))+(fn=oi(cn,fn[Cr+9+Yn])),Yn=0,fn=t1[Cr];fn[Tt];++Tt)Yn+=Yn+oi(cn,fn[Tt]);Yn+=3+(8<(cn=se).b&&Mr(cn);var Cr,fn=cn.b,nr=(Cr=cn.Ca>>1)-(cn.I>>fn)>>31;--cn.b,cn.Ca+=nr,cn.Ca|=1,cn.I-=(Cr+1&nr)<>3),se[ge+Oe+32*_e]=-256&st?0>st?0:255:st}function DA(se,ge,Oe,_e,st,mt){Ru(se,ge,0,Oe,_e+st),Ru(se,ge,1,Oe,_e+mt),Ru(se,ge,2,Oe,_e-mt),Ru(se,ge,3,Oe,_e-st)}function jf(se){return(20091*se>>16)+se}function cm(se,ge,Oe,_e){var st,mt=0,bt=ae(16);for(st=0;4>st;++st){var Tt=se[ge+0]+se[ge+8],Wt=se[ge+0]-se[ge+8],cn=(35468*se[ge+4]>>16)-jf(se[ge+12]),Yn=jf(se[ge+4])+(35468*se[ge+12]>>16);bt[mt+0]=Tt+Yn,bt[mt+1]=Wt+cn,bt[mt+2]=Wt-cn,bt[mt+3]=Tt-Yn,mt+=4,ge++}for(st=mt=0;4>st;++st)Tt=(se=bt[mt+0]+4)+bt[mt+8],Wt=se-bt[mt+8],cn=(35468*bt[mt+4]>>16)-jf(bt[mt+12]),Ru(Oe,_e,0,0,Tt+(Yn=jf(bt[mt+4])+(35468*bt[mt+12]>>16))),Ru(Oe,_e,1,0,Wt+cn),Ru(Oe,_e,2,0,Wt-cn),Ru(Oe,_e,3,0,Tt-Yn),mt++,_e+=32}function Zm(se,ge,Oe,_e){var st=se[ge+0]+4,mt=35468*se[ge+4]>>16,bt=jf(se[ge+4]),Tt=35468*se[ge+1]>>16;DA(Oe,_e,0,st+bt,se=jf(se[ge+1]),Tt),DA(Oe,_e,1,st+mt,se,Tt),DA(Oe,_e,2,st-mt,se,Tt),DA(Oe,_e,3,st-bt,se,Tt)}function $m(se,ge,Oe,_e,st){cm(se,ge,Oe,_e),st&&cm(se,ge+16,Oe,_e+4)}function rf(se,ge,Oe,_e){$h(se,ge+0,Oe,_e,1),$h(se,ge+32,Oe,_e+128,1)}function fm(se,ge,Oe,_e){var st;for(se=se[ge+0]+4,st=0;4>st;++st)for(ge=0;4>ge;++ge)Ru(Oe,_e,ge,st,se)}function dm(se,ge,Oe,_e){se[ge+0]&&as(se,ge+0,Oe,_e),se[ge+16]&&as(se,ge+16,Oe,_e+4),se[ge+32]&&as(se,ge+32,Oe,_e+128),se[ge+48]&&as(se,ge+48,Oe,_e+128+4)}function jp(se,ge,Oe,_e){var st,mt=ae(16);for(st=0;4>st;++st){var bt=se[ge+0+st]+se[ge+12+st],Tt=se[ge+4+st]+se[ge+8+st],Wt=se[ge+4+st]-se[ge+8+st],cn=se[ge+0+st]-se[ge+12+st];mt[0+st]=bt+Tt,mt[8+st]=bt-Tt,mt[4+st]=cn+Wt,mt[12+st]=cn-Wt}for(st=0;4>st;++st)bt=(se=mt[0+4*st]+3)+mt[3+4*st],Tt=mt[1+4*st]+mt[2+4*st],Wt=mt[1+4*st]-mt[2+4*st],cn=se-mt[3+4*st],Oe[_e+0]=bt+Tt>>3,Oe[_e+16]=cn+Wt>>3,Oe[_e+32]=bt-Tt>>3,Oe[_e+48]=cn-Wt>>3,_e+=64}function Mh(se,ge,Oe){var _e,st=ge-32,mt=cu,bt=255-se[st-1];for(_e=0;_eOe;++Oe)te(se,ge+32*Oe,se,ge-32,16)}function hm(se,ge){var Oe;for(Oe=16;0_e;++_e)re(ge,Oe+32*_e,se,16)}function qm(se,ge){var Oe,_e=16;for(Oe=0;16>Oe;++Oe)_e+=se[ge-1+32*Oe]+se[ge+Oe-32];mc(_e>>5,se,ge)}function _h(se,ge){var Oe,_e=8;for(Oe=0;16>Oe;++Oe)_e+=se[ge-1+32*Oe];mc(_e>>4,se,ge)}function Sg(se,ge){var Oe,_e=8;for(Oe=0;16>Oe;++Oe)_e+=se[ge+Oe-32];mc(_e>>4,se,ge)}function e0(se,ge){mc(128,se,ge)}function na(se,ge,Oe){return se+2*ge+Oe+2>>2}function t0(se,ge){var Oe,_e=ge-32;for(_e=new Uint8Array([na(se[_e-1],se[_e+0],se[_e+1]),na(se[_e+0],se[_e+1],se[_e+2]),na(se[_e+1],se[_e+2],se[_e+3]),na(se[_e+2],se[_e+3],se[_e+4])]),Oe=0;4>Oe;++Oe)te(se,ge+32*Oe,_e,0,_e.length)}function n0(se,ge){var Oe=se[ge-1],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1+96];wi(se,ge+0,16843009*na(se[ge-1-32],Oe,_e)),wi(se,ge+32,16843009*na(Oe,_e,st)),wi(se,ge+64,16843009*na(_e,st,mt)),wi(se,ge+96,16843009*na(st,mt,mt))}function r0(se,ge){var Oe,_e=4;for(Oe=0;4>Oe;++Oe)_e+=se[ge+Oe-32]+se[ge-1+32*Oe];for(_e>>=3,Oe=0;4>Oe;++Oe)re(se,ge+32*Oe,_e,4)}function zf(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1-32],bt=se[ge+0-32],Tt=se[ge+1-32],Wt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+96]=na(_e,st,se[ge-1+96]),se[ge+1+96]=se[ge+0+64]=na(Oe,_e,st),se[ge+2+96]=se[ge+1+64]=se[ge+0+32]=na(mt,Oe,_e),se[ge+3+96]=se[ge+2+64]=se[ge+1+32]=se[ge+0+0]=na(bt,mt,Oe),se[ge+3+64]=se[ge+2+32]=se[ge+1+0]=na(Tt,bt,mt),se[ge+3+32]=se[ge+2+0]=na(Wt,Tt,bt),se[ge+3+0]=na(cn,Wt,Tt)}function Kf(se,ge){var Oe=se[ge+1-32],_e=se[ge+2-32],st=se[ge+3-32],mt=se[ge+4-32],bt=se[ge+5-32],Tt=se[ge+6-32],Wt=se[ge+7-32];se[ge+0+0]=na(se[ge+0-32],Oe,_e),se[ge+1+0]=se[ge+0+32]=na(Oe,_e,st),se[ge+2+0]=se[ge+1+32]=se[ge+0+64]=na(_e,st,mt),se[ge+3+0]=se[ge+2+32]=se[ge+1+64]=se[ge+0+96]=na(st,mt,bt),se[ge+3+32]=se[ge+2+64]=se[ge+1+96]=na(mt,bt,Tt),se[ge+3+64]=se[ge+2+96]=na(bt,Tt,Wt),se[ge+3+96]=na(Tt,Wt,Wt)}function i0(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1-32],bt=se[ge+0-32],Tt=se[ge+1-32],Wt=se[ge+2-32],cn=se[ge+3-32];se[ge+0+0]=se[ge+1+64]=mt+bt+1>>1,se[ge+1+0]=se[ge+2+64]=bt+Tt+1>>1,se[ge+2+0]=se[ge+3+64]=Tt+Wt+1>>1,se[ge+3+0]=Wt+cn+1>>1,se[ge+0+96]=na(st,_e,Oe),se[ge+0+64]=na(_e,Oe,mt),se[ge+0+32]=se[ge+1+96]=na(Oe,mt,bt),se[ge+1+32]=se[ge+2+96]=na(mt,bt,Tt),se[ge+2+32]=se[ge+3+96]=na(bt,Tt,Wt),se[ge+3+32]=na(Tt,Wt,cn)}function o0(se,ge){var Oe=se[ge+0-32],_e=se[ge+1-32],st=se[ge+2-32],mt=se[ge+3-32],bt=se[ge+4-32],Tt=se[ge+5-32],Wt=se[ge+6-32],cn=se[ge+7-32];se[ge+0+0]=Oe+_e+1>>1,se[ge+1+0]=se[ge+0+64]=_e+st+1>>1,se[ge+2+0]=se[ge+1+64]=st+mt+1>>1,se[ge+3+0]=se[ge+2+64]=mt+bt+1>>1,se[ge+0+32]=na(Oe,_e,st),se[ge+1+32]=se[ge+0+96]=na(_e,st,mt),se[ge+2+32]=se[ge+1+96]=na(st,mt,bt),se[ge+3+32]=se[ge+2+96]=na(mt,bt,Tt),se[ge+3+64]=na(bt,Tt,Wt),se[ge+3+96]=na(Tt,Wt,cn)}function zp(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1+96];se[ge+0+0]=Oe+_e+1>>1,se[ge+2+0]=se[ge+0+32]=_e+st+1>>1,se[ge+2+32]=se[ge+0+64]=st+mt+1>>1,se[ge+1+0]=na(Oe,_e,st),se[ge+3+0]=se[ge+1+32]=na(_e,st,mt),se[ge+3+32]=se[ge+1+64]=na(st,mt,mt),se[ge+3+64]=se[ge+2+64]=se[ge+0+96]=se[ge+1+96]=se[ge+2+96]=se[ge+3+96]=mt}function Fg(se,ge){var Oe=se[ge-1+0],_e=se[ge-1+32],st=se[ge-1+64],mt=se[ge-1+96],bt=se[ge-1-32],Tt=se[ge+0-32],Wt=se[ge+1-32],cn=se[ge+2-32];se[ge+0+0]=se[ge+2+32]=Oe+bt+1>>1,se[ge+0+32]=se[ge+2+64]=_e+Oe+1>>1,se[ge+0+64]=se[ge+2+96]=st+_e+1>>1,se[ge+0+96]=mt+st+1>>1,se[ge+3+0]=na(Tt,Wt,cn),se[ge+2+0]=na(bt,Tt,Wt),se[ge+1+0]=se[ge+3+32]=na(Oe,bt,Tt),se[ge+1+32]=se[ge+3+64]=na(_e,Oe,bt),se[ge+1+64]=se[ge+3+96]=na(st,_e,Oe),se[ge+1+96]=na(mt,st,_e)}function kh(se,ge){var Oe;for(Oe=0;8>Oe;++Oe)te(se,ge+32*Oe,se,ge-32,8)}function a0(se,ge){var Oe;for(Oe=0;8>Oe;++Oe)re(se,ge,se[ge-1],8),ge+=32}function Wf(se,ge,Oe){var _e;for(_e=0;8>_e;++_e)re(ge,Oe+32*_e,se,8)}function s0(se,ge){var Oe,_e=8;for(Oe=0;8>Oe;++Oe)_e+=se[ge+Oe-32]+se[ge-1+32*Oe];Wf(_e>>4,se,ge)}function Ig(se,ge){var Oe,_e=4;for(Oe=0;8>Oe;++Oe)_e+=se[ge+Oe-32];Wf(_e>>3,se,ge)}function Lg(se,ge){var Oe,_e=4;for(Oe=0;8>Oe;++Oe)_e+=se[ge-1+32*Oe];Wf(_e>>3,se,ge)}function pm(se,ge){Wf(128,se,ge)}function Gf(se,ge,Oe){var _e=se[ge-Oe],st=se[ge+0],mt=3*(st-_e)+A0[1020+se[ge-2*Oe]-se[ge+Oe]],bt=Cm[112+(mt+4>>3)];se[ge-Oe]=cu[255+_e+Cm[112+(mt+3>>3)]],se[ge+0]=cu[255+st-bt]}function Ug(se,ge,Oe,_e){var st=se[ge+0],mt=se[ge+Oe];return Ku[255+se[ge-2*Oe]-se[ge-Oe]]>_e||Ku[255+mt-st]>_e}function Kp(se,ge,Oe,_e){return 4*Ku[255+se[ge-Oe]-se[ge+0]]+Ku[255+se[ge-2*Oe]-se[ge+Oe]]<=_e}function Og(se,ge,Oe,_e,st){var mt=se[ge-3*Oe],bt=se[ge-2*Oe],Tt=se[ge-Oe],Wt=se[ge+0],cn=se[ge+Oe],Yn=se[ge+2*Oe],Cr=se[ge+3*Oe];return 4*Ku[255+Tt-Wt]+Ku[255+bt-cn]>_e?0:Ku[255+se[ge-4*Oe]-mt]<=st&&Ku[255+mt-bt]<=st&&Ku[255+bt-Tt]<=st&&Ku[255+Cr-Yn]<=st&&Ku[255+Yn-cn]<=st&&Ku[255+cn-Wt]<=st}function Hh(se,ge,Oe,_e){var st=2*_e+1;for(_e=0;16>_e;++_e)Kp(se,ge+_e,Oe,st)&&Gf(se,ge+_e,Oe)}function Dg(se,ge,Oe,_e){var st=2*_e+1;for(_e=0;16>_e;++_e)Kp(se,ge+_e*Oe,1,st)&&Gf(se,ge+_e*Oe,1)}function gm(se,ge,Oe,_e){var st;for(st=3;0>7,qr=18*ii+63>>7,ii=9*ii+63>>7;Wt[cn-3*Yn]=cu[255+Wt[cn-3*Yn]+ii],Wt[cn-2*Yn]=cu[255+Cr+qr],Wt[cn-Yn]=cu[255+fn+br],Wt[cn+0]=cu[255+nr-br],Wt[cn+Yn]=cu[255+fr-qr],Wt[cn+2*Yn]=cu[255+Yr-ii]}ge+=_e}}function Zf(se,ge,Oe,_e,st,mt,bt,Tt){for(mt=2*mt+1;0>3)],Yr=Cm[112+(Yr+3>>3)],br=fr+1>>1;Wt[cn-2*Yn]=cu[255+Wt[cn-2*Yn]+br],Wt[cn-Yn]=cu[255+Cr+Yr],Wt[cn+0]=cu[255+fn-fr],Wt[cn+Yn]=cu[255+nr-br]}ge+=_e}}function vm(se,ge,Oe,_e,st,mt){Vf(se,ge,Oe,1,16,_e,st,mt)}function Rh(se,ge,Oe,_e,st,mt){Vf(se,ge,1,Oe,16,_e,st,mt)}function ym(se,ge,Oe,_e,st,mt){var bt;for(bt=3;0cn?0:255:cn)&255,cn=Wt,st[mt+Tt]=Yn}}function vs(se,ge,Oe,_e){var st=ge.width,mt=ge.o;if(E(se!=null&&ge!=null),0>Oe||0>=_e||Oe+_e>mt)return null;if(!se.Cc){if(se.ga==null){var bt;if(se.ga=new fa,(bt=se.ga==null)||(bt=ge.width*ge.o,E(se.Gb.length==0),se.Gb=ae(bt),se.Uc=0,se.Gb==null?bt=0:(se.mb=se.Gb,se.nb=se.Uc,se.rc=null,bt=1),bt=!bt),!bt){bt=se.ga;var Tt=se.Fa,Wt=se.P,cn=se.qc,Yn=se.mb,Cr=se.nb,fn=Wt+1,nr=cn-1,fr=bt.l;if(E(Tt!=null&&Yn!=null&&ge!=null),Kd[0]=null,Kd[1]=Wa,Kd[2]=zs,Kd[3]=CA,bt.ca=Yn,bt.tb=Cr,bt.c=ge.width,bt.i=ge.height,E(0=cn)ge=0;else if(bt.$a=3&Tt[Wt+0],bt.Z=Tt[Wt+0]>>2&3,bt.Lc=Tt[Wt+0]>>4&3,Wt=Tt[Wt+0]>>6&3,0>bt.$a||1=bt.c*bt.i;bt=!ge}if(bt)return null;se.ga.Lc!=1?se.Ga=0:_e=mt-Oe}E(se.ga!=null),E(Oe+_e<=mt);e:{if(ge=(Tt=se.ga).c,mt=Tt.l.o,Tt.$a==0){if(fn=se.rc,nr=se.Vc,fr=se.Fa,Wt=se.P+1+Oe*ge,cn=se.mb,Yn=se.nb+Oe*ge,E(Wt<=se.P+se.qc),Tt.Z!=0)for(E(Kd[Tt.Z]!=null),bt=0;bt<_e;++bt)Kd[Tt.Z](fn,nr,fr,Wt,cn,Yn,ge),fn=cn,nr=Yn,Yn+=ge,Wt+=ge;else for(bt=0;bt<_e;++bt)te(cn,Yn,fr,Wt,ge),fn=cn,nr=Yn,Yn+=ge,Wt+=ge;se.rc=fn,se.Vc=nr}else{if(E(Tt.mc!=null),ge=Oe+_e,E((bt=Tt.mc)!=null),E(ge<=bt.i),bt.C>=ge)ge=1;else if(Tt.ic||vc(),Tt.ic){Tt=bt.V,fn=bt.Ba,nr=bt.c;var Yr=bt.i,br=(fr=1,Wt=bt.$/nr,cn=bt.$%nr,Yn=bt.m,Cr=bt.s,bt.$),qr=nr*Yr,ii=nr*ge,yi=Cr.wc,ci=br(Yr=Xs(ci.G[0],ci.H[0],Yn)))Tt[fn+br]=Yr,++br,++cn>=nr&&(cn=0,++Wt<=ge&&!(Wt%16)&&pc(bt,Wt));else{if(!(280>Yr)){fr=0;break t}Yr=Mu(Yr-256,Yn);var wo,qi=Xs(ci.G[4],ci.H[4],Yn);if(yr(Yn),!(br>=(qi=_u(nr,qi=Mu(qi,Yn)))&&qr-br>=Yr)){fr=0;break t}for(wo=0;wo=nr;)cn-=nr,++Wt<=ge&&!(Wt%16)&&pc(bt,Wt);brge?ge:Wt);break t}!fr||Yn.h&&br=mt&&(se.Cc=1),_e=1}if(!_e)return null;if(se.Cc&&((_e=se.ga)!=null&&(_e.mc=null),se.ga=null,0>23,Tt[Wt+4*bt+1]=Tt[Wt+4*bt+1]*Cr>>23,Tt[Wt+4*bt+2]=Tt[Wt+4*bt+2]*Cr>>23)}ge+=mt}}function xA(se,ge,Oe,_e,st){for(;0<_e--;){var mt;for(mt=0;mt>4)*Wt>>16;se[ge+2*mt+0]=(240&bt|bt>>4)*Wt>>16&240|(15&bt|bt<<4)*Wt>>16>>4&15,se[ge+2*mt+1]=240&cn|Tt}ge+=st}}function ol(se,ge,Oe,_e,st,mt,bt,Tt){var Wt,cn,Yn=255;for(cn=0;cn>8}function vc(){Kg=NA,$0=xA,X0=ol,Y0=$f}function Xf(se,ge,Oe){Bn[se]=function(_e,st,mt,bt,Tt,Wt,cn,Yn,Cr,fn,nr,fr,Yr,br,qr,ii,yi){var ci,wo=yi-1>>1,qi=Tt[Wt+0]|cn[Yn+0]<<16,pa=Cr[fn+0]|nr[fr+0]<<16;E(_e!=null);var so=3*qi+pa+131074>>2;for(ge(_e[st+0],255&so,so>>16,Yr,br),mt!=null&&(so=3*pa+qi+131074>>2,ge(mt[bt+0],255&so,so>>16,qr,ii)),ci=1;ci<=wo;++ci){var Ha=Tt[Wt+ci]|cn[Yn+ci]<<16,TA=Cr[fn+ci]|nr[fr+ci]<<16,ga=qi+Ha+pa+TA+524296,Ao=ga+2*(Ha+pa)>>3;so=Ao+qi>>1,qi=(ga=ga+2*(qi+TA)>>3)+Ha>>1,ge(_e[st+2*ci-1],255&so,so>>16,Yr,br+(2*ci-1)*Oe),ge(_e[st+2*ci-0],255&qi,qi>>16,Yr,br+(2*ci-0)*Oe),mt!=null&&(so=ga+pa>>1,qi=Ao+TA>>1,ge(mt[bt+2*ci-1],255&so,so>>16,qr,ii+(2*ci-1)*Oe),ge(mt[bt+2*ci+0],255&qi,qi>>16,qr,ii+(2*ci+0)*Oe)),qi=Ha,pa=TA}1&yi||(so=3*qi+pa+131074>>2,ge(_e[st+yi-1],255&so,so>>16,Yr,br+(yi-1)*Oe),mt!=null&&(so=3*pa+qi+131074>>2,ge(mt[bt+yi-1],255&so,so>>16,qr,ii+(yi-1)*Oe)))}}function Ng(){Wu[xm]=A1,Wu[Em]=Av,Wu[rv]=l1,Wu[Sm]=lv,Wu[Fm]=uv,Wu[l0]=cv,Wu[iv]=u1,Wu[u0]=Av,Wu[c0]=lv,Wu[Im]=uv,Wu[f0]=cv}function Wp(se){return se&~c1?0>se?0:255:se>>fv}function Pd(se,ge){return Wp((19077*se>>8)+(26149*ge>>8)-14234)}function jh(se,ge,Oe){return Wp((19077*se>>8)-(6419*ge>>8)-(13320*Oe>>8)+8708)}function zh(se,ge){return Wp((19077*se>>8)+(33050*ge>>8)-17685)}function Td(se,ge,Oe,_e,st){_e[st+0]=Pd(se,Oe),_e[st+1]=jh(se,ge,Oe),_e[st+2]=zh(se,ge)}function al(se,ge,Oe,_e,st){_e[st+0]=zh(se,ge),_e[st+1]=jh(se,ge,Oe),_e[st+2]=Pd(se,Oe)}function Kh(se,ge,Oe,_e,st){var mt=jh(se,ge,Oe);ge=mt<<3&224|zh(se,ge)>>3,_e[st+0]=248&Pd(se,Oe)|mt>>5,_e[st+1]=ge}function Wh(se,ge,Oe,_e,st){var mt=240&zh(se,ge)|15;_e[st+0]=240&Pd(se,Oe)|jh(se,ge,Oe)>>4,_e[st+1]=mt}function Pg(se,ge,Oe,_e,st){_e[st+0]=255,Td(se,ge,Oe,_e,st+1)}function Tg(se,ge,Oe,_e,st){al(se,ge,Oe,_e,st),_e[st+3]=255}function Tl(se,ge,Oe,_e,st){Td(se,ge,Oe,_e,st),_e[st+3]=255}function Yf(se,ge,Oe){Bn[se]=function(_e,st,mt,bt,Tt,Wt,cn,Yn,Cr){for(var fn=Yn+(-2&Cr)*Oe;Yn!=fn;)ge(_e[st+0],mt[bt+0],Tt[Wt+0],cn,Yn),ge(_e[st+1],mt[bt+0],Tt[Wt+0],cn,Yn+Oe),st+=2,++bt,++Wt,Yn+=2*Oe;1&Cr&&ge(_e[st+0],mt[bt+0],Tt[Wt+0],cn,Yn)}}function Gp(se,ge,Oe){return Oe==0?se==0?ge==0?6:5:ge==0?4:0:Oe}function wm(se,ge,Oe,_e,st){switch(se>>>30){case 3:$h(ge,Oe,_e,st,0);break;case 2:zu(ge,Oe,_e,st);break;case 1:as(ge,Oe,_e,st)}}function ju(se,ge){var Oe,_e,st=ge.M,mt=ge.Nb,bt=se.oc,Tt=se.pc+40,Wt=se.oc,cn=se.pc+584,Yn=se.oc,Cr=se.pc+600;for(Oe=0;16>Oe;++Oe)bt[Tt+32*Oe-1]=129;for(Oe=0;8>Oe;++Oe)Wt[cn+32*Oe-1]=129,Yn[Cr+32*Oe-1]=129;for(0Oe;++Oe)te(bt,Tt+32*Oe-4,bt,Tt+32*Oe+12,4);for(Oe=-1;8>Oe;++Oe)te(Wt,cn+32*Oe-4,Wt,cn+32*Oe+4,4),te(Yn,Cr+32*Oe-4,Yn,Cr+32*Oe+4,4)}var nr=se.Gd,fr=se.Hd+_e,Yr=fn.ad,br=fn.Hc;if(0=se.za-1?re(qr,ii,nr[fr].y[15],4):te(qr,ii,nr[fr+1].y,0,4)),Oe=0;4>Oe;Oe++)qr[ii+128+Oe]=qr[ii+256+Oe]=qr[ii+384+Oe]=qr[ii+0+Oe];for(Oe=0;16>Oe;++Oe,br<<=2)qr=bt,ii=Tt+hv[Oe],yc[fn.Ob[Oe]](qr,ii),wm(br,Yr,16*+Oe,qr,ii)}else if(qr=Gp(_e,st,fn.Ob[0]),zd[qr](bt,Tt),br!=0)for(Oe=0;16>Oe;++Oe,br<<=2)wm(br,Yr,16*+Oe,bt,Tt+hv[Oe]);for(Oe=fn.Gc,qr=Gp(_e,st,fn.Dd),ed[qr](Wt,cn),ed[qr](Yn,Cr),br=Yr,qr=Wt,ii=cn,255&(fn=0|Oe)&&(170&fn?sf(br,256,qr,ii):ds(br,256,qr,ii)),fn=Yn,br=Cr,255&(Oe>>=8)&&(170&Oe?sf(Yr,320,fn,br):ds(Yr,320,fn,br)),stOe;++Oe)te(nr,fr+Oe*se.R,bt,Tt+32*Oe,16);for(Oe=0;8>Oe;++Oe)te(Yr,fn+Oe*se.B,Wt,cn+32*Oe,8),te(br,qr+Oe*se.B,Yn,Cr+32*Oe,8)}}function Gh(se,ge,Oe,_e,st,mt,bt,Tt,Wt){var cn=[0],Yn=[0],Cr=0,fn=Wt!=null?Wt.kd:0,nr=Wt!=null?Wt:new ui;if(se==null||12>Oe)return 7;nr.data=se,nr.w=ge,nr.ha=Oe,ge=[ge],Oe=[Oe],nr.gb=[nr.gb];e:{var fr=ge,Yr=Oe,br=nr.gb;if(E(se!=null),E(Yr!=null),E(br!=null),br[0]=0,12<=Yr[0]&&!x(se,fr[0],"RIFF")){if(x(se,fr[0]+8,"WEBP")){br=3;break e}var qr=Io(se,fr[0]+4);if(12>qr||4294967286Yr[0]-8){br=7;break e}br[0]=qr,fr[0]+=12,Yr[0]-=12}br=0}if(br!=0)return br;for(qr=0br[0])br=7;else{if(!x(ii,Yr[0],"VP8X")){if(Io(ii,Yr[0]+4)!=10){br=3;break e}if(18>br[0]){br=7;break e}var qi=Io(ii,Yr[0]+8),pa=1+_i(ii,Yr[0]+12);if(2147483648<=pa*(ii=1+_i(ii,Yr[0]+15))){br=3;break e}wo!=null&&(wo[0]=qi),yi!=null&&(yi[0]=pa),ci!=null&&(ci[0]=ii),Yr[0]+=18,br[0]-=18,so[0]=1}br=0}}if(Cr=Cr[0],fr=fr[0],br!=0)return br;if(Yr=!!(2&fr),!qr&&Cr)return 3;if(mt!=null&&(mt[0]=!!(16&fr)),bt!=null&&(bt[0]=Yr),Tt!=null&&(Tt[0]=0),bt=cn[0],fr=Yn[0],Cr&&Yr&&Wt==null){br=0;break}if(4>Oe){br=7;break}if(qr&&Cr||!qr&&!Cr&&!x(se,ge[0],"ALPH")){Oe=[Oe],nr.na=[nr.na],nr.P=[nr.P],nr.Sa=[nr.Sa];e:{qi=se,br=ge,qr=Oe;var so=nr.gb;yi=nr.na,ci=nr.P,wo=nr.Sa,pa=22,E(qi!=null),E(qr!=null),ii=br[0];var Ha=qr[0];for(E(yi!=null),E(wo!=null),yi[0]=null,ci[0]=null,wo[0]=0;;){if(br[0]=ii,qr[0]=Ha,8>Ha){br=7;break e}var TA=Io(qi,ii+4);if(4294967286so){br=3;break e}if(!x(qi,ii,"VP8 ")||!x(qi,ii,"VP8L")){br=0;break e}if(Ha[0]qr[0])br=7;else{if(ii||pa){if(so=Io(so,qi+4),12<=yi&&so>yi-12){br=3;break e}if(fn&&so>qr[0]-8){br=7;break e}ci[0]=so,br[0]+=8,qr[0]-=8,wo[0]=pa}else wo[0]=5<=qr[0]&&so[qi+0]==47&&!(so[qi+4]>>5),ci[0]=qr[0];br=0}if(Oe=Oe[0],nr.Ja=nr.Ja[0],nr.xa=nr.xa[0],ge=ge[0],br!=0)break;if(4294967286Oe){br=7;break}Tt=bt,fn=fr,Yr=mt,se==null||5>Oe?se=0:5<=Oe&&se[ge+0]==47&&!(se[ge+4]>>5)?(qr=[0],so=[0],yi=[0],Kr(ci=new wn,se,ge,Oe),Rf(ci,qr,so,yi)?(Tt!=null&&(Tt[0]=qr[0]),fn!=null&&(fn[0]=so[0]),Yr!=null&&(Yr[0]=yi[0]),se=1):se=0):se=0}else{if(10>Oe){br=7;break}Tt=fr,se==null||10>Oe||!lm(se,ge+3,Oe-3)?se=0:(fn=se[ge+0]|se[ge+1]<<8|se[ge+2]<<16,Yr=16383&(se[ge+7]<<8|se[ge+6]),se=16383&(se[ge+9]<<8|se[ge+8]),1&fn||3<(fn>>1&7)||!(fn>>4&1)||fn>>5>=nr.Ja||!Yr||!se?se=0:(bt&&(bt[0]=Yr),Tt&&(Tt[0]=se),se=1))}if(!se||(bt=bt[0],fr=fr[0],Cr&&(cn[0]!=bt||Yn[0]!=fr)))return 3;Wt!=null&&(Wt[0]=nr,Wt.offset=ge-Wt.w,E(4294967286>ge-Wt.w),E(Wt.offset==Wt.ha-Oe));break}return br==0||br==7&&Cr&&Wt==null?(mt!=null&&(mt[0]|=nr.na!=null&&0Oe||(mt&=-2,bt&=-2),0>mt||0>bt||0>=Tt||0>=Wt||mt+Tt>_e||bt+Wt>st))return 0;if(ge.v=mt,ge.j=bt,ge.va=mt+Tt,ge.o=bt+Wt,ge.U=Tt,ge.T=Wt,ge.da=se!=null&&0se.S){var ge=se.f.RGBA;ge.fb+=(se.height-1)*ge.A,ge.A=-ge.A}else ge=se.f.kb,se=se.height,ge.O+=(se-1)*ge.fa,ge.fa=-ge.fa,ge.N+=(se-1>>1)*ge.Ab,ge.Ab=-ge.Ab,ge.W+=(se-1>>1)*ge.Db,ge.Db=-ge.Db,ge.F!=null&&(ge.J+=(se-1)*ge.lb,ge.lb=-ge.lb);return 0}function Qd(se,ge,Oe,_e){if(_e==null||0>=se||0>=ge)return 2;if(Oe!=null){if(Oe.Da){var st=Oe.cd,mt=Oe.bd,bt=-2&Oe.v,Tt=-2&Oe.j;if(0>bt||0>Tt||0>=st||0>=mt||bt+st>se||Tt+mt>ge)return 2;se=st,ge=mt}if(Oe.da){if(!_o(se,ge,st=[Oe.ib],mt=[Oe.hb]))return 2;se=st[0],ge=mt[0]}}_e.width=se,_e.height=ge;e:{var Wt=_e.width,cn=_e.height;if(se=_e.S,0>=Wt||0>=cn||!(se>=xm&&13>se))se=2;else{if(0>=_e.Rd&&_e.sd==null){bt=mt=st=ge=0;var Yn=(Tt=Wt*pv[se])*cn;if(11>se||(mt=(cn+1)/2*(ge=(Wt+1)/2),se==12&&(bt=(st=Wt)*cn)),(cn=ae(Yn+2*mt+bt))==null){se=1;break e}_e.sd=cn,11>se?((Wt=_e.f.RGBA).eb=cn,Wt.fb=0,Wt.A=Tt,Wt.size=Yn):((Wt=_e.f.kb).y=cn,Wt.O=0,Wt.fa=Tt,Wt.Fd=Yn,Wt.f=cn,Wt.N=0+Yn,Wt.Ab=ge,Wt.Cd=mt,Wt.ea=cn,Wt.W=0+Yn+mt,Wt.Db=ge,Wt.Ed=mt,se==12&&(Wt.F=cn,Wt.J=0+Yn+2*mt),Wt.Tc=bt,Wt.lb=st)}if(ge=1,st=_e.S,mt=_e.width,bt=_e.height,st>=xm&&13>st)if(11>st)se=_e.f.RGBA,ge&=(Tt=Math.abs(se.A))*(bt-1)+mt<=se.size,ge&=Tt>=mt*pv[st],ge&=se.eb!=null;else{se=_e.f.kb,Tt=(mt+1)/2,Yn=(bt+1)/2,Wt=Math.abs(se.fa),cn=Math.abs(se.Ab);var Cr=Math.abs(se.Db),fn=Math.abs(se.lb),nr=fn*(bt-1)+mt;ge&=Wt*(bt-1)+mt<=se.Fd,ge&=cn*(Yn-1)+Tt<=se.Cd,ge=(ge&=Cr*(Yn-1)+Tt<=se.Ed)&Wt>=mt&cn>=Tt&Cr>=Tt,ge&=se.y!=null,ge&=se.f!=null,ge&=se.ea!=null,st==12&&(ge&=fn>=mt,ge&=nr<=se.Tc,ge&=se.F!=null)}else ge=0;se=ge?0:2}}return se!=0||Oe!=null&&Oe.fd&&(se=Mg(_e)),se}var Vh=64,lu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],uu=24,Md=32,Jf=8,_d=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];no("Predictor0","PredictorAdd0"),Bn.Predictor0=function(){return 4278190080},Bn.Predictor1=function(se){return se},Bn.Predictor2=function(se,ge,Oe){return ge[Oe+0]},Bn.Predictor3=function(se,ge,Oe){return ge[Oe+1]},Bn.Predictor4=function(se,ge,Oe){return ge[Oe-1]},Bn.Predictor5=function(se,ge,Oe){return Uo(Uo(se,ge[Oe+1]),ge[Oe+0])},Bn.Predictor6=function(se,ge,Oe){return Uo(se,ge[Oe-1])},Bn.Predictor7=function(se,ge,Oe){return Uo(se,ge[Oe+0])},Bn.Predictor8=function(se,ge,Oe){return Uo(ge[Oe-1],ge[Oe+0])},Bn.Predictor9=function(se,ge,Oe){return Uo(ge[Oe+0],ge[Oe+1])},Bn.Predictor10=function(se,ge,Oe){return Uo(Uo(se,ge[Oe-1]),Uo(ge[Oe+0],ge[Oe+1]))},Bn.Predictor11=function(se,ge,Oe){var _e=ge[Oe+0];return 0>=oa(_e>>24&255,se>>24&255,(ge=ge[Oe-1])>>24&255)+oa(_e>>16&255,se>>16&255,ge>>16&255)+oa(_e>>8&255,se>>8&255,ge>>8&255)+oa(255&_e,255&se,255&ge)?_e:se},Bn.Predictor12=function(se,ge,Oe){var _e=ge[Oe+0];return(is((se>>24&255)+(_e>>24&255)-((ge=ge[Oe-1])>>24&255))<<24|is((se>>16&255)+(_e>>16&255)-(ge>>16&255))<<16|is((se>>8&255)+(_e>>8&255)-(ge>>8&255))<<8|is((255&se)+(255&_e)-(255&ge)))>>>0},Bn.Predictor13=function(se,ge,Oe){var _e=ge[Oe-1];return(Ta((se=Uo(se,ge[Oe+0]))>>24&255,_e>>24&255)<<24|Ta(se>>16&255,_e>>16&255)<<16|Ta(se>>8&255,_e>>8&255)<<8|Ta(255&se,255&_e))>>>0};var _g=Bn.PredictorAdd0;Bn.PredictorAdd1=ka,no("Predictor2","PredictorAdd2"),no("Predictor3","PredictorAdd3"),no("Predictor4","PredictorAdd4"),no("Predictor5","PredictorAdd5"),no("Predictor6","PredictorAdd6"),no("Predictor7","PredictorAdd7"),no("Predictor8","PredictorAdd8"),no("Predictor9","PredictorAdd9"),no("Predictor10","PredictorAdd10"),no("Predictor11","PredictorAdd11"),no("Predictor12","PredictorAdd12"),no("Predictor13","PredictorAdd13");var Vp=Bn.PredictorAdd2;xo("ColorIndexInverseTransform","MapARGB","32b",function(se){return se>>8&255},function(se){return se}),xo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(se){return se},function(se){return se>>8&255});var dA,bm=Bn.ColorIndexInverseTransform,of=Bn.MapARGB,af=Bn.VP8LColorIndexInverseTransformAlpha,kg=Bn.MapAlpha,Hg=Bn.VP8LPredictorsAdd=[];Hg.length=16,(Bn.VP8LPredictors=[]).length=16,(Bn.VP8LPredictorsAdd_C=[]).length=16,(Bn.VP8LPredictors_C=[]).length=16;var Rg,jg,kd,Hd,Rd,Zh,jd,$h,zu,sf,as,ds,hA,PA,qf,zg,Zp,Bm,z0,K0,W0,G0,V0,Z0,Kg,$0,X0,Y0,J0=ae(511),q0=ae(2041),ev=ae(225),tv=ae(767),nv=0,A0=q0,Cm=ev,cu=tv,Ku=J0,xm=0,Em=1,rv=2,Sm=3,Fm=4,l0=5,iv=6,u0=7,c0=8,Im=9,f0=10,Zv=[2,3,7],$v=[3,3,11],ov=[280,256,256,256,40],Xv=[0,1,1,1,0],Yv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Jv=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],qv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],e1=8,d0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],h0=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Wg=null,t1=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],n1=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],av=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],r1=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],i1=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],o1=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],a1=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],zd=[],yc=[],ed=[],s1=1,sv=2,Kd=[],Wu=[];Xf("UpsampleRgbLinePair",Td,3),Xf("UpsampleBgrLinePair",al,3),Xf("UpsampleRgbaLinePair",Tl,4),Xf("UpsampleBgraLinePair",Tg,4),Xf("UpsampleArgbLinePair",Pg,4),Xf("UpsampleRgba4444LinePair",Wh,2),Xf("UpsampleRgb565LinePair",Kh,2);var A1=Bn.UpsampleRgbLinePair,l1=Bn.UpsampleBgrLinePair,Av=Bn.UpsampleRgbaLinePair,lv=Bn.UpsampleBgraLinePair,uv=Bn.UpsampleArgbLinePair,cv=Bn.UpsampleRgba4444LinePair,u1=Bn.UpsampleRgb565LinePair,Lm=16,Um=1<_e.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),_e.ca.f.kb.F!=null&&vc()),_e.Pb&&0<_e.s.ua&&_e.s.vb.X==null&&!sn(_e.s.vb,_e.s.Wa.Xa)){_e.a=1;break n}_e.xb=0}if(!gc(_e,_e.V,_e.Ba,_e.c,_e.i,Oe.o,Nd))break n;st.Dc=_e.Ma,_e=1;break t}E(_e.a!=0),_e=0}_e=!_e}_e&&(ge=se.a)}else ge=se.a}else{if((se=new Vm)==null){bt=1;break e}if(se.Fa=st.na,se.P=st.P,se.qc=st.Sa,nf(se,_e)){if((ge=Qd(_e.width,_e.height,bt.Oa,bt.ba))==0){if(se.Aa=0,Oe=bt.Oa,E((st=se)!=null),Oe!=null){if(0<(Wt=0>(Wt=Oe.Md)?0:100cn;++cn)12>(Cr=st.pb[cn]).lc&&(Cr.ia=Wt*v1[0>Cr.lc?0:Cr.lc]>>3),Yn|=Cr.ia;Yn&&(alert("todo:VP8InitRandom"),st.ia=1)}st.Ga=Oe.Id,100st.Ga&&(st.Ga=0)}(function(fn,nr){if(fn==null)return 0;if(nr==null)return BA(fn,2,"NULL VP8Io parameter in VP8Decode().");if(!fn.cb&&!nf(fn,nr))return 0;if(E(fn.cb),nr.ac==null||nr.ac(nr)){nr.ob&&(fn.L=0);var fr=Om[fn.L];if(fn.L==2?(fn.yb=0,fn.zb=0):(fn.yb=nr.v-fr>>4,fn.zb=nr.j-fr>>4,0>fn.yb&&(fn.yb=0),0>fn.zb&&(fn.zb=0)),fn.Va=nr.o+15+fr>>4,fn.Hb=nr.va+15+fr>>4,fn.Hb>fn.za&&(fn.Hb=fn.za),fn.Va>fn.Ub&&(fn.Va=fn.Ub),0fr;++fr){var br;if(fn.Qa.Cb){var qr=fn.Qa.Lb[fr];fn.Qa.Fb||(qr+=Yr.Tb)}else qr=Yr.Tb;for(br=0;1>=br;++br){var ii=fn.gd[fr][br],yi=qr;if(Yr.Pc&&(yi+=Yr.vd[0],br&&(yi+=Yr.od[0])),0<(yi=0>yi?0:63>2:ci>>1)>9-Yr.wb&&(ci=9-Yr.wb),1>ci&&(ci=1),ii.dd=ci,ii.tc=2*yi+ci,ii.ld=40<=yi?2:15<=yi?1:0}else ii.tc=0;ii.La=br}}}fr=0}else BA(fn,6,"Frame setup failed"),fr=fn.a;if(fr=fr==0){if(fr){fn.$c=0,0fn.Vb){if(fn.Vb=0,fn.Ec=ae(ii),fn.Fc=0,fn.Ec==null){fr=BA(fn,1,"no memory during frame initialization.");break t}fn.Vb=ii}ii=fn.Ec,yi=fn.Fc,fn.Ac=ii,fn.Bc=yi,yi+=Yr,fn.Gd=we(wo,sm),fn.Hd=0,fn.rb=we(qi+1,Cg),fn.sb=1,fn.wa=pa?we(pa,Hu):null,fn.Y=0,fn.D.Nb=0,fn.D.wa=fn.wa,fn.D.Y=fn.Y,0=fr;++fr)J0[255+fr]=0>fr?-fr:fr;for(fr=-1020;1020>=fr;++fr)q0[1020+fr]=-128>fr?-128:127=fr;++fr)ev[112+fr]=-16>fr?-16:15=fr;++fr)tv[255+fr]=0>fr?0:255za;++za){var QA,Ga=Ql[0+za];for(QA=0;4>QA;++QA){Ga=i1[Fs[sl+QA]][Ga];for(var ss=av[oi(sa,Ga[0])];0>3;for(ss=0;256>ss;ss+=16)za[bl+ss]=Wl}Al=1,wc=sl[0]}var hs=15&sa.la,MA=15&Ml.la;for(ss=0;4>ss;++ss){var fu=1&MA;for(Wl=As=0;4>Wl;++Wl)hs=hs>>1|(fu=(gA=Wg(Fs,wc,gA=fu+(1&hs),Ys.Sc,Al,za,bl))>Al)<<7,As=As<<2|(3>=4,MA=MA>>1|fu<<7,QA=(QA<<8|As)>>>0}for(wc=hs,Al=MA>>4,Js=0;4>Js;Js+=2){for(As=0,hs=sa.la>>4+Js,MA=Ml.la>>4+Js,ss=0;2>ss;++ss){for(fu=1&MA,Wl=0;2>Wl;++Wl)gA=fu+(1&hs),hs=hs>>1|(fu=0<(gA=Wg(Fs,sl[2],gA,Ys.Qc,0,za,bl)))<<3,As=As<<2|(3>=2,MA=MA>>1|fu<<5}Ga|=As<<4*Js,wc|=hs<<4<=Ao.zb&&Ao.M<=Ao.Va,Ao.Aa==0)t:{if(ga.M=Ao.M,ga.uc=sa,ju(Ao,ga),pA=1,ga=(As=Ao.D).Nb,sa=(Ga=Om[Ao.L])*Ao.R,Fs=Ga/2*Ao.B,ss=16*ga*Ao.R,Wl=8*ga*Ao.B,sl=Ao.sa,Ql=Ao.ta-sa+ss,Ys=Ao.qa,za=Ao.ra-Fs+Wl,bl=Ao.Ha,Ml=Ao.Ia-Fs+Wl,MA=(hs=As.M)==0,QA=hs>=Ao.Va-1,Ao.Aa==2&&ju(Ao,As),As.uc)for(fu=(gA=Ao).D.M,E(gA.D.uc),As=gA.yb;AsNi.o&&(hs=Ni.o),Ni.F=null,Ni.J=null,Ao.Fa!=null&&0>1),Ni.W+=Ao.B*(Ga>>1),Ni.F!=null&&(Ni.J+=Ni.width*Ga)),As>1,Ni.W+=Ni.v>>1,Ni.F!=null&&(Ni.J+=Ni.v),Ni.ka=As-Ni.j,Ni.U=Ni.va-Ni.v,Ni.T=hs-As,pA=Ni.put(Ni))}ga+1!=Ao.Ic||QA||(te(Ao.sa,Ao.ta-sa,sl,Ql+16*Ao.R,sa),te(Ao.qa,Ao.ra-Fs,Ys,za+8*Ao.B,Fs),te(Ao.Ha,Ao.Ia-Fs,bl,Ml+8*Ao.B,Fs))}if(!pA)return BA(Ha,6,"Output aborted.")}return 1}(fn,nr)),nr.bc!=null&&nr.bc(nr),fr&=1}return fr?(fn.cb=0,fr):0})(se,_e)||(ge=se.a)}}else ge=se.a}ge==0&&bt.Oa!=null&&bt.Oa.fd&&(ge=Mg(bt.ba))}bt=ge}mt=bt!=0?null:11>mt?Tt.f.RGBA.eb:Tt.f.kb.y}else mt=null;return mt};var pv=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ee(Bn,ur){for(var Ut="",an=0;an<4;an++)Ut+=String.fromCharCode(Bn[ur++]);return Ut}function Ne(Bn,ur){return Bn[ur+0]|Bn[ur+1]<<8}function et(Bn,ur){return(Bn[ur+0]|Bn[ur+1]<<8|Bn[ur+2]<<16)>>>0}function ht(Bn,ur){return(Bn[ur+0]|Bn[ur+1]<<8|Bn[ur+2]<<16|Bn[ur+3]<<24)>>>0}new Be;var De=[0],tn=[0],$t=[],on=new Be,Ot=y,jn=function(Bn,ur){var Ut={},an=0,Hn=!1,Pn=0,Ir=0;if(Ut.frames=[],!function(xt,wn){for(var On=0;On<4;On++)if(xt[wn+On]!="RIFF".charCodeAt(On))return!0;return!1}(Bn,ur)){for(ht(Bn,ur+=4),ur+=8;ur>1&1}Tr!="ANMF"&&(ur+=Br)}return Ut}}(Ot,0);jn.response=Ot,jn.rgbaoutput=!0,jn.dataurl=!1;var Dn=jn.header?jn.header:null,bn=jn.frames?jn.frames:null;if(Dn){Dn.loop_counter=Dn.loop_count,De=[Dn.canvas_height],tn=[Dn.canvas_width];for(var Er=0;Er=2?sn[1]:ji[0],ji[2]=sn.length>=3?sn[2]:ji[0],ji[3]=sn.length>=4?sn[3]:ji[1]),Ee.margin=ji}});var Mr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Mr},set:function(sn){Mr=sn}});var Hr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Hr},set:function(sn){Hr=sn}});var oi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return oi},set:function(sn){oi=sn}}),Object.defineProperty(this,"ctx",{get:function(){return Ee},set:function(sn){sn instanceof Ne&&(Ee=sn)}}),Object.defineProperty(this,"path",{get:function(){return Ee.path},set:function(sn){Ee.path=sn}});var wi=[];Object.defineProperty(this,"ctxStack",{get:function(){return wi},set:function(sn){wi=sn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(sn){var ji;ji=ht(sn),this.ctx.fillStyle=ji.style,this.ctx.isFillTransparent=ji.a===0,this.ctx.fillOpacity=ji.a,this.pdf.setFillColor(ji.r,ji.g,ji.b,{a:ji.a}),this.pdf.setTextColor(ji.r,ji.g,ji.b,{a:ji.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(sn){var ji=ht(sn);this.ctx.strokeStyle=ji.style,this.ctx.isStrokeTransparent=ji.a===0,this.ctx.strokeOpacity=ji.a,ji.a===0?this.pdf.setDrawColor(255,255,255):(ji.a,this.pdf.setDrawColor(ji.r,ji.g,ji.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(sn){["butt","round","square"].indexOf(sn)!==-1&&(this.ctx.lineCap=sn,this.pdf.setLineCap(sn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(sn){isNaN(sn)||(this.ctx.lineWidth=sn,this.pdf.setLineWidth(sn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(sn){["bevel","round","miter"].indexOf(sn)!==-1&&(this.ctx.lineJoin=sn,this.pdf.setLineJoin(sn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(sn){isNaN(sn)||(this.ctx.miterLimit=sn,this.pdf.setMiterLimit(sn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(sn){this.ctx.textBaseline=sn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(sn){["right","end","center","left","start"].indexOf(sn)!==-1&&(this.ctx.textAlign=sn)}});var Ri=null,_i=null,Io=null;Object.defineProperty(this,"fontFaces",{get:function(){return Io},set:function(sn){Ri=null,_i=null,Io=sn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(sn){var ji;if(this.ctx.font=sn,(ji=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(sn))!==null){var Ca=ji[1];ji[2];var _o=ji[3],gi=ji[4];ji[5];var ko=ji[6],no=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(gi)[2];gi=Math.floor(no==="px"?parseFloat(gi)*this.pdf.internal.scaleFactor:no==="em"?parseFloat(gi)*this.pdf.getFontSize():parseFloat(gi)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(gi);var Mo=function(xo){var fA,Ka,Sa=[],Fa=xo.trim();if(Fa==="")return zm;if(Fa in Zc)return[Zc[Fa]];for(;Fa!=="";){switch(Ka=null,fA=(Fa=$c(Fa)).charAt(0)){case'"':case"'":Ka=cc(Fa.substring(1),fA);break;default:Ka=Od(Fa)}if(Ka===null||(Sa.push(Ka[0]),(Fa=$c(Ka[1]))!==""&&Fa.charAt(0)!==","))return zm;Fa=Fa.replace(/^,/,"")}return Sa}(ko);if(this.fontFaces){var Uo=function(xo,fA){var Ka=xo.getFontList(),Sa=JSON.stringify(Ka);if(Ri===null||_i!==Sa){var Fa=function(Ns){var No=[];return Object.keys(Ns).forEach(function(ms){Ns[ms].forEach(function(Go){var aa=null;switch(Go){case"bold":aa={family:ms,weight:"bold"};break;case"italic":aa={family:ms,style:"italic"};break;case"bolditalic":aa={family:ms,weight:"bold",style:"italic"};break;case"":case"normal":aa={family:ms}}aa!==null&&(aa.ref={name:ms,style:Go},No.push(aa))})}),No}(Ka);Ri=function(Ns){for(var No={},ms=0;ms=700||Ca==="bold")&&(oa="bold"),Ca==="italic"&&(oa+="italic"),oa.length===0&&(oa="normal");for(var ka="",Qa={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ho=0;ho=2*Math.PI&&(Gn=0,or=2*Math.PI),this.path.push({type:"arc",x:xt,y:wn,radius:On,startAngle:Gn,endAngle:or,counterclockwise:yr})},et.prototype.arcTo=function(xt,wn,On,Gn,or){throw new Error("arcTo not implemented.")},et.prototype.rect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(xt,wn),this.lineTo(xt+On,wn),this.lineTo(xt+On,wn+Gn),this.lineTo(xt,wn+Gn),this.lineTo(xt,wn),this.lineTo(xt+On,wn),this.lineTo(xt,wn)},et.prototype.fillRect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!De.call(this)){var or={};this.lineCap!=="butt"&&(or.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(or.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(xt,wn,On,Gn),this.fill(),or.hasOwnProperty("lineCap")&&(this.lineCap=or.lineCap),or.hasOwnProperty("lineJoin")&&(this.lineJoin=or.lineJoin)}},et.prototype.strokeRect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");tn.call(this)||(this.beginPath(),this.rect(xt,wn,On,Gn),this.stroke())},et.prototype.clearRect=function(xt,wn,On,Gn){if(isNaN(xt)||isNaN(wn)||isNaN(On)||isNaN(Gn))throw Pa.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(xt,wn,On,Gn))},et.prototype.save=function(xt){xt=typeof xt!="boolean"||xt;for(var wn=this.pdf.internal.getCurrentPageInfo().pageNumber,On=0;On0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};et.prototype.drawImage=function(xt,wn,On,Gn,or,yr,Mr,Hr,oi){var wi=this.pdf.getImageProperties(xt),Ri=1,_i=1,Io=1,sn=1;Gn!==void 0&&Hr!==void 0&&(Io=Hr/Gn,sn=oi/or,Ri=wi.width/Gn*Hr/Gn,_i=wi.height/or*oi/or),yr===void 0&&(yr=wn,Mr=On,wn=0,On=0),Gn!==void 0&&Hr===void 0&&(Hr=Gn,oi=or),Gn===void 0&&Hr===void 0&&(Hr=wi.width,oi=wi.height);var ji=this.ctx.transform.decompose(),Ca=Br(ji.rotate.shx),_o=new Be,gi=(_o=(_o=(_o=_o.multiply(ji.translate)).multiply(ji.skew)).multiply(ji.scale)).applyToRectangle(new ve(yr-wn*Io,Mr-On*sn,Gn*Ri,or*_i));if(this.autoPaging){for(var ko,no=on.call(this,gi),Mo=[],Uo=0;Uois||oagi||no0)){for(;oi>=0;oi--)if(or[oi-1].close!==!0&&or[oi-1].begin!==!0){or[oi-1].deltas.push(On),or[oi-1].abs.push(Hr);break}}break;case"bct":On=[Hr.x1-yr[Mr-1].x,Hr.y1-yr[Mr-1].y,Hr.x2-yr[Mr-1].x,Hr.y2-yr[Mr-1].y,Hr.x-yr[Mr-1].x,Hr.y-yr[Mr-1].y],or[or.length-1].deltas.push(On);break;case"qct":var wi=yr[Mr-1].x+2/3*(Hr.x1-yr[Mr-1].x),Ri=yr[Mr-1].y+2/3*(Hr.y1-yr[Mr-1].y),_i=Hr.x+2/3*(Hr.x1-Hr.x),Io=Hr.y+2/3*(Hr.y1-Hr.y),sn=Hr.x,ji=Hr.y;On=[wi-yr[Mr-1].x,Ri-yr[Mr-1].y,_i-yr[Mr-1].x,Io-yr[Mr-1].y,sn-yr[Mr-1].x,ji-yr[Mr-1].y],or[or.length-1].deltas.push(On);break;case"arc":or.push({deltas:[],abs:[],arc:!0}),Array.isArray(or[or.length-1].abs)&&or[or.length-1].abs.push(Hr)}}Gn=wn?null:xt==="stroke"?"stroke":"fill";for(var Ca=!1,_o=0;_o=.01&&(Gn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Gn*xt.scale),or=this.lineWidth,this.lineWidth=or*xt.scale);var ca=this.autoPaging!=="text";if(ca||ho.y+ho.h<=Uo){if(ca||ho.y>=no&&ho.x<=Ta){var xo=ca?xt.text:this.pdf.splitTextToSize(xt.text,xt.maxWidth||Ta-ho.x)[0],fA=jn([JSON.parse(JSON.stringify(_i))],this.posX+this.margin[3],-ka+no+this.ctx.prevPageLastElemOffset)[0],Ka=ca&&(ko>_o||ko=.01&&(this.pdf.setFontSize(Gn),this.lineWidth=or)}}else xt.scale>=.01&&(Gn=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Gn*xt.scale),or=this.lineWidth,this.lineWidth=or*xt.scale),this.pdf.text(xt.text,oi.x+this.posX,oi.y+this.posY,{angle:xt.angle,align:wn,renderingMode:xt.renderingMode,maxWidth:xt.maxWidth}),xt.scale>=.01&&(this.pdf.setFontSize(Gn),this.lineWidth=or)},Hn=function(xt,wn,On,Gn){On=On||0,Gn=Gn||0,this.pdf.internal.out(x(xt+On)+" "+te(wn+Gn)+" l")},Pn=function(xt,wn,On){return this.pdf.lines(xt,wn,On,null,null)},Ir=function(xt,wn,On,Gn,or,yr,Mr,Hr){this.pdf.internal.out([E(re(On+xt)),E(ae(Gn+wn)),E(re(or+xt)),E(ae(yr+wn)),E(re(Mr+xt)),E(ae(Hr+wn)),"c"].join(" "))},Tr=function(xt,wn,On,Gn){for(var or=2*Math.PI,yr=Math.PI/2;wn>On;)wn-=or;var Mr=Math.abs(On-wn);Mr1e-5;){var Ri=wi+oi*Math.min(Mr,yr);Hr.push(_r.call(this,xt,wi,Ri)),Mr-=Math.abs(Ri-wi),wi=Ri}return Hr},_r=function(xt,wn,On){var Gn=(On-wn)/2,or=xt*Math.cos(Gn),yr=xt*Math.sin(Gn),Mr=or,Hr=-yr,oi=Mr*Mr+Hr*Hr,wi=oi+Mr*or+Hr*yr,Ri=4/3*(Math.sqrt(2*oi*wi)-wi)/(Mr*yr-Hr*or),_i=Mr-Ri*Hr,Io=Hr+Ri*Mr,sn=_i,ji=-Io,Ca=Gn+wn,_o=Math.cos(Ca),gi=Math.sin(Ca);return{x1:xt*Math.cos(wn),y1:xt*Math.sin(wn),x2:_i*_o-Io*gi,y2:_i*gi+Io*_o,x3:sn*_o-ji*gi,y3:sn*gi+ji*_o,x4:xt*Math.cos(On),y4:xt*Math.sin(On)}},Br=function(xt){return 180*xt/Math.PI},Kr=function(xt,wn,On,Gn,or,yr){var Mr=xt+.5*(On-xt),Hr=wn+.5*(Gn-wn),oi=or+.5*(On-or),wi=yr+.5*(Gn-yr),Ri=Math.min(xt,or,Mr,oi),_i=Math.max(xt,or,Mr,oi),Io=Math.min(wn,yr,Hr,wi),sn=Math.max(wn,yr,Hr,wi);return new ve(Ri,Io,_i-Ri,sn-Io)},Si=function(xt,wn,On,Gn,or,yr,Mr,Hr){var oi,wi,Ri,_i,Io,sn,ji,Ca,_o,gi,ko,no,Mo,Uo,is=On-xt,Ta=Gn-wn,oa=or-On,ka=yr-Gn,Qa=Mr-or,ho=Hr-yr;for(wi=0;wi<41;wi++)_o=(ji=(Ri=xt+(oi=wi/40)*is)+oi*((Io=On+oi*oa)-Ri))+oi*(Io+oi*(or+oi*Qa-Io)-ji),gi=(Ca=(_i=wn+oi*Ta)+oi*((sn=Gn+oi*ka)-_i))+oi*(sn+oi*(yr+oi*ho-sn)-Ca),wi==0?(ko=_o,no=gi,Mo=_o,Uo=gi):(ko=Math.min(ko,_o),no=Math.min(no,gi),Mo=Math.max(Mo,_o),Uo=Math.max(Uo,gi));return new ve(Math.round(ko),Math.round(no),Math.round(Mo-ko),Math.round(Uo-no))},li=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var xt,wn,On=(xt=this.ctx.lineDash,wn=this.ctx.lineDashOffset,JSON.stringify({lineDash:xt,lineDashOffset:wn}));this.prevLineDash!==On&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=On)}}})(ao.API),function(y){var E=function(we){var ve,Be,Ee,Ne,et,ht,De,tn,$t,on;for(/[^\x00-\xFF]/.test(we),Be=[],Ee=0,Ne=(we+=ve="\0\0\0\0".slice(we.length%4||4)).length;Ne>Ee;Ee+=4)(et=(we.charCodeAt(Ee)<<24)+(we.charCodeAt(Ee+1)<<16)+(we.charCodeAt(Ee+2)<<8)+we.charCodeAt(Ee+3))!==0?(ht=(et=((et=((et=((et=(et-(on=et%85))/85)-($t=et%85))/85)-(tn=et%85))/85)-(De=et%85))/85)%85,Be.push(ht+33,De+33,tn+33,$t+33,on+33)):Be.push(122);return function(Ot,jn){for(var Dn=jn;Dn>0;Dn--)Ot.pop()}(Be,ve.length),String.fromCharCode.apply(String,Be)+"~>"},x=function(we){var ve,Be,Ee,Ne,et,ht=String,De="length",tn=255,$t="charCodeAt",on="slice",Ot="replace";for(we[on](-2),we=we[on](0,-2)[Ot](/\s/g,"")[Ot]("z","!!!!!"),Ee=[],Ne=0,et=(we+=ve="uuuuu"[on](we[De]%5||5))[De];et>Ne;Ne+=5)Be=52200625*(we[$t](Ne)-33)+614125*(we[$t](Ne+1)-33)+7225*(we[$t](Ne+2)-33)+85*(we[$t](Ne+3)-33)+(we[$t](Ne+4)-33),Ee.push(tn&Be>>24,tn&Be>>16,tn&Be>>8,tn&Be);return function(jn,Dn){for(var bn=Dn;bn>0;bn--)jn.pop()}(Ee,ve[De]),ht.fromCharCode.apply(ht,Ee)},te=function(we){return we.split("").map(function(ve){return("0"+ve.charCodeAt().toString(16)).slice(-2)}).join("")+">"},re=function(we){var ve=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((we=we.replace(/\s/g,"")).indexOf(">")!==-1&&(we=we.substr(0,we.indexOf(">"))),we.length%2&&(we+="0"),ve.test(we)===!1)return"";for(var Be="",Ee=0;Ee$t&&(tn=on,on=$t,$t=tn);else{if(ve!=="l"&&ve!=="landscape")throw"Invalid orientation: "+ve;ve="l",$t>on&&(tn=on,on=$t,$t=tn)}return{width:on,height:$t,unit:Be,k:et,orientation:ve}},y.html=function(ve,Be){(Be=Be||{}).callback=Be.callback||function(){},Be.html2canvas=Be.html2canvas||{},Be.html2canvas.canvas=Be.html2canvas.canvas||this.canvas,Be.jsPDF=Be.jsPDF||this,Be.fontFaces=Be.fontFaces?Be.fontFaces.map(Kl):null;var Ee=new we(Be);return Be.worker?Ee:Ee.from(ve).doCallback()}}(ao.API),ao.API.addJS=function(y){return F0=y,this.internal.events.subscribe("postPutResources",function(){Xc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Xc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),S0=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+F0+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Xc!==void 0&&S0!==void 0&&this.internal.out("/Names <>")}),this},function(y){var E;y.events.push(["postPutResources",function(){var x=this,te=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var re=x.outline.render().split(/\r\n/),ae=0;ae> endobj")}var De=x.internal.newObject();for(x.internal.write("<< /Names [ "),ae=0;ae>","endobj"),E=x.internal.newObject(),x.internal.write("<< /Dests "+De+" 0 R"),x.internal.write(">>","endobj")}}]),y.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+E+" 0 R"))}]),y.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(te,re,ae){var we={title:re,options:ae,children:[]};return te==null&&(te=this.root),te.children.push(we),we},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(te){te.id=x.internal.newObjectDeferred();for(var re=0;re0&&(this.line("/First "+this.makeRef(te.children[0])),this.line("/Last "+this.makeRef(te.children[te.children.length-1]))),this.line("/Count "+this.count_r({count:0},te)),this.objEnd()},x.outline.renderItems=function(te){for(var re=this.ctx.pdf.internal.getVerticalCoordinateString,ae=0;ae0&&this.line("/Prev "+this.makeRef(te.children[ae-1])),ae0&&(this.line("/First "+this.makeRef(we.children[0])),this.line("/Last "+this.makeRef(we.children[we.children.length-1])));var ve=this.count=this.count_r({count:0},we);if(ve>0&&this.line("/Count "+ve),we.options&&we.options.pageNumber){var Be=x.internal.getPageInfo(we.options.pageNumber);this.line("/Dest ["+Be.objId+" 0 R /XYZ 0 "+re(0)+" 0]")}this.objEnd()}for(var Ee=0;Ee>"}),"transparency"in st&&Array.isArray(st.transparency)&&st.transparency.length>0){for(var Nn="",gn=0,Tn=st.transparency.length;gn>",qe.content=l;var Dt=qe.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length>=1};var Q=e.__arabicParser__.arabicLetterHasFinalForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length>=3};var V=e.__arabicParser__.arabicLetterHasMedialForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length==4},fe=e.__arabicParser__.resolveLigatures=function(qe){var At=0,Me=t,Mt="",Dt=0;for(At=0;At>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(y){t=y}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(y){r=isNaN(y)||Number.isInteger(y)===!1||y<0?150:y,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(y){o=isNaN(y)||Number.isInteger(y)===!1||y<0?300:y,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(y){l=y}});var w={};Object.defineProperty(this,"style",{get:function(){return w},set:function(y){w=y}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(vo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var S=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(qe){S=qe}});var Q=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Q},set:function(qe){Q=qe}});var V=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return V},set:function(qe){V=qe}});var fe=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return fe},set:function(qe){fe=qe}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(qe){Le=qe}});var z=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return z},set:function(qe){z=qe}});var it=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return it},set:function(qe){it=qe}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(S){return r.call(this),this.internal.__cell__.headerFunction=typeof S=="function"?S:void 0,this},e.getTextDimensions=function(S,Q){r.call(this);var V=(Q=Q||{}).fontSize||this.getFontSize(),fe=Q.font||this.getFont(),Le=Q.scaleFactor||this.internal.scaleFactor,z=0,it=0,qe=0,At=this;if(!Array.isArray(S)&&typeof S!="string"){if(typeof S!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");S=String(S)}var Me=Q.maxWidth;Me>0?typeof S=="string"?S=this.splitTextToSize(S,Me):Object.prototype.toString.call(S)==="[object Array]"&&(S=S.reduce(function(Dt,Ct){return Dt.concat(At.splitTextToSize(Ct,Me))},[])):S=Array.isArray(S)?S:[S];for(var Mt=0;Mtthis.getPageHeight()?(this.cellAddPage(),S.y=fe.top,z&&Le&&(this.printHeaderRow(S.lineNumber,!0),S.y+=Le[0].height)):S.y=Q.y+Q.height||S.y),S.text[0]!==void 0&&(this.rect(S.x,S.y,S.width,S.height,t===!0?"FD":void 0),S.align==="right"?this.text(S.text,S.x+S.width-V,S.y+V,{align:"right",baseline:"top"}):S.align==="center"?this.text(S.text,S.x+S.width/2,S.y+V,{align:"center",baseline:"top",maxWidth:S.width-V-V}):this.text(S.text,S.x+V,S.y+V,{align:"left",baseline:"top",maxWidth:S.width-V-V})),this.internal.__cell__.lastCell=S,this};e.table=function(S,Q,V,fe,Le){if(r.call(this),!V)throw new Error("No data for PDF table.");var z,it,qe,At,Me=[],Mt=[],Dt=[],Ct={},vn={},kn=[],In=[],Gt=(Le=Le||{}).autoSize||!1,xt=Le.printHeaders!==!1,sn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,_e=Le.margins||Object.assign({width:this.getPageWidth()},n),st=typeof Le.padding=="number"?Le.padding:3,jt=Le.headerBackgroundColor||"#c8c8c8",Rt=Le.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=xt,this.internal.__cell__.margins=_e,this.internal.__cell__.table_font_size=sn,this.internal.__cell__.padding=st,this.internal.__cell__.headerBackgroundColor=jt,this.internal.__cell__.headerTextColor=Rt,this.setFontSize(sn),fe==null)Mt=Me=Object.keys(V[0]),Dt=Me.map(function(){return"left"});else if(Array.isArray(fe)&&(0,s.Z)(fe[0])==="object")for(Me=fe.map(function(Ir){return Ir.name}),Mt=fe.map(function(Ir){return Ir.prompt||Ir.name||""}),Dt=fe.map(function(Ir){return Ir.align||"left"}),z=0;z0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(vo.API);var ss={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Us=Qa(yu),Rs=[100,200,300,400,500,600,700,800,900],bc=Qa(Rs);function Bl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ss[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),o=function(l){return typeof Us[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function wu(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Hg(e,n,t){var r=e.length,o=[];o[0]=4;for(var l=0;l>l&w}function kg(e,n,t,r){var o=t*r,l=Math.floor(o/8),w=16-(o-8*l+r),y=(1<>8&255;Q.setUint8(V,Le)}})(e,l,Kg(e,l)&~(y<>7,w=1<<1+(7&o);e[n++],e[n++];var y=null,S=null;l&&(y=n,S=w,n+=3*w);var Q=!0,V=[],fe=0,Le=null,z=0,it=null;for(this.width=t,this.height=r;Q&&n=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var qe=e[n++];fe=e[n++]|e[n++]<<8,Le=e[n++],1&qe||(Le=null),z=qe>>2&7,n++;break;case 254:for(;;){if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var At=e[n++]|e[n++]<<8,Me=e[n++]|e[n++]<<8,Mt=e[n++]|e[n++]<<8,Dt=e[n++]|e[n++]<<8,Ct=e[n++],vn=Ct>>6&1,kn=1<<1+(7&Ct),In=y,Gt=S,xt=!1;Ct>>7&&(xt=!0,In=n,Gt=kn,n+=3*kn);var sn=n;for(n++;;){var _e;if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}V.push({x:At,y:Me,width:Mt,height:Dt,has_local_palette:xt,palette_offset:In,palette_size:Gt,data_offset:sn,data_length:n-sn,transparent_index:Le,interlaced:!!vn,delay:fe,disposal:z});break;case 59:Q=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return V.length},this.loopCount=function(){return it},this.frameInfo=function(st){if(st<0||st>=V.length)throw new Error("Frame index out of range.");return V[st]},this.decodeAndBlitFrameBGRA=function(st,jt){var Rt=this.frameInfo(st),bn=Rt.width*Rt.height,Fn=new Uint8Array(bn);zg(e,Rt.data_offset,Fn,bn);var Nn=Rt.palette_offset,gn=Rt.transparent_index;gn===null&&(gn=256);var Tn=Rt.width,Ir=t-Tn,rr=Tn,Pe=4*(Rt.y*t+Rt.x),bt=4*((Rt.y+Rt.height)*t+Rt.x),Ut=Pe,Ht=4*Ir;Rt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,hn=0,Un=Fn.length;hn=bt&&(Ht=4*Ir+4*t*(Jt-1),Ut=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),Dn===gn)Ut+=4;else{var Xn=e[Nn+3*Dn],Br=e[Nn+3*Dn+1],$r=e[Nn+3*Dn+2];jt[Ut++]=$r,jt[Ut++]=Br,jt[Ut++]=Xn,jt[Ut++]=255}--rr}},this.decodeAndBlitFrameRGBA=function(st,jt){var Rt=this.frameInfo(st),bn=Rt.width*Rt.height,Fn=new Uint8Array(bn);zg(e,Rt.data_offset,Fn,bn);var Nn=Rt.palette_offset,gn=Rt.transparent_index;gn===null&&(gn=256);var Tn=Rt.width,Ir=t-Tn,rr=Tn,Pe=4*(Rt.y*t+Rt.x),bt=4*((Rt.y+Rt.height)*t+Rt.x),Ut=Pe,Ht=4*Ir;Rt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,hn=0,Un=Fn.length;hn=bt&&(Ht=4*Ir+4*t*(Jt-1),Ut=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),Dn===gn)Ut+=4;else{var Xn=e[Nn+3*Dn],Br=e[Nn+3*Dn+1],$r=e[Nn+3*Dn+2];jt[Ut++]=Xn,jt[Ut++]=Br,jt[Ut++]=$r,jt[Ut++]=255}--rr}}}function zg(e,n,t,r){for(var o=e[n++],l=1<>=S,V-=S,At!==l){if(At===w)break;for(var Me=Atl;)Dt=it[Dt]>>8,++Mt;var Ct=Dt;if(Le+Mt+(Me!==At?1:0)>r)return void Ka.log("Warning, gif stream longer than expected.");t[Le++]=Ct;var vn=Le+=Mt;for(Me!==At&&(t[Le++]=Ct),Dt=Me;Mt--;)Dt=it[Dt],t[--vn]=255&Dt,Dt>>=8;qe!==null&&y<4096&&(it[y++]=qe<<8|Ct,y>=Q+1&&S<12&&(++S,Q=Q<<1|1)),qe=At}else y=w+1,Q=(1<<(S=o+1))-1,qe=null}return Le!==r&&Ka.log("Warning, gif stream shorter than expected."),t}function Wp(e){var n,t,r,o,l,w=Math.floor,y=new Array(64),S=new Array(64),Q=new Array(64),V=new Array(64),fe=new Array(65535),Le=new Array(65535),z=new Array(64),it=new Array(64),qe=[],At=0,Me=7,Mt=new Array(64),Dt=new Array(64),Ct=new Array(64),vn=new Array(256),kn=new Array(2048),In=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Gt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],xt=[0,1,2,3,4,5,6,7,8,9,10,11],sn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],st=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Rt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],bn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Fn(Pe,bt){for(var Ut=0,Ht=0,Jt=new Array,hn=1;hn<=16;hn++){for(var Un=1;Un<=Pe[hn];Un++)Jt[bt[Ht]]=[],Jt[bt[Ht]][0]=Ut,Jt[bt[Ht]][1]=hn,Ht++,Ut++;Ut*=2}return Jt}function Nn(Pe){for(var bt=Pe[0],Ut=Pe[1]-1;Ut>=0;)bt&1<>8&255),gn(255&Pe)}function Ir(Pe,bt,Ut,Ht,Jt){for(var hn,Un=Jt[0],Dn=Jt[240],Xn=function(fr,$o){var po,ko,Ro,Pa,oa,vi,da,ia,Eo,Si,Uo=0;for(Eo=0;Eo<8;++Eo){po=fr[Uo],ko=fr[Uo+1],Ro=fr[Uo+2],Pa=fr[Uo+3],oa=fr[Uo+4],vi=fr[Uo+5],da=fr[Uo+6];var ts=po+(ia=fr[Uo+7]),ba=po-ia,Hi=ko+da,ki=ko-da,xA=Ro+vi,jo=Ro-vi,iA=Pa+oa,ni=Pa-oa,yi=ts+iA,SA=ts-iA,$i=Hi+xA,Yo=Hi-xA;fr[Uo]=yi+$i,fr[Uo+4]=yi-$i;var Ta=.707106781*(Yo+SA);fr[Uo+2]=SA+Ta,fr[Uo+6]=SA-Ta;var tf=.382683433*((yi=ni+jo)-(Yo=ki+ba)),qs=.5411961*yi+tf,Ec=1.306562965*Yo+tf,qu=.707106781*($i=jo+ki),Jo=ba+qu,xc=ba-qu;fr[Uo+5]=xc+qs,fr[Uo+3]=xc-qs,fr[Uo+1]=Jo+Ec,fr[Uo+7]=Jo-Ec,Uo+=8}for(Uo=0,Eo=0;Eo<8;++Eo){po=fr[Uo],ko=fr[Uo+8],Ro=fr[Uo+16],Pa=fr[Uo+24],oa=fr[Uo+32],vi=fr[Uo+40],da=fr[Uo+48];var Sc=po+(ia=fr[Uo+56]),Gl=po-ia,$l=ko+da,VA=ko-da,Ls=Ro+vi,_s=Ro-vi,nf=Pa+oa,dd=Pa-oa,Eu=Sc+nf,ec=Sc-nf,xu=$l+Ls,Su=$l-Ls;fr[Uo]=Eu+xu,fr[Uo+32]=Eu-xu;var Xl=.707106781*(Su+ec);fr[Uo+16]=ec+Xl,fr[Uo+48]=ec-Xl;var rf=.382683433*((Eu=dd+_s)-(Su=VA+Gl)),tc=.5411961*Eu+rf,of=1.306562965*Su+rf,zf=.707106781*(xu=_s+VA),Zf=Gl+zf,Vf=Gl-zf;fr[Uo+40]=Vf+tc,fr[Uo+24]=Vf-tc,fr[Uo+8]=Zf+of,fr[Uo+56]=Zf-of,Uo++}for(Eo=0;Eo<64;++Eo)Si=fr[Eo]*$o[Eo],z[Eo]=Si>0?Si+.5|0:Si-.5|0;return z}(Pe,bt),Br=0;Br<64;++Br)it[In[Br]]=Xn[Br];var $r=it[0]-Ut;Ut=it[0],$r==0?Nn(Ht[0]):(Nn(Ht[Le[hn=32767+$r]]),Nn(fe[hn]));for(var Wr=63;Wr>0&&it[Wr]==0;)Wr--;if(Wr==0)return Nn(Un),Ut;for(var Oo,lt=1;lt<=Wr;){for(var Xr=lt;it[lt]==0&<<=Wr;)++lt;var _i=lt-Xr;if(_i>=16){Oo=_i>>4;for(var Go=1;Go<=Oo;++Go)Nn(Dn);_i&=15}hn=32767+it[lt],Nn(Jt[(_i<<4)+Le[hn]]),Nn(fe[hn]),lt++}return Wr!=63&&Nn(Un),Ut}function rr(Pe){Pe=Math.min(Math.max(Pe,1),100),l!=Pe&&(function(bt){for(var Ut=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ht=0;Ht<64;Ht++){var Jt=w((Ut[Ht]*bt+50)/100);Jt=Math.min(Math.max(Jt,1),255),y[In[Ht]]=Jt}for(var hn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Un=0;Un<64;Un++){var Dn=w((hn[Un]*bt+50)/100);Dn=Math.min(Math.max(Dn,1),255),S[In[Un]]=Dn}for(var Xn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Br=0,$r=0;$r<8;$r++)for(var Wr=0;Wr<8;Wr++)Q[Br]=1/(y[In[Br]]*Xn[$r]*Xn[Wr]*8),V[Br]=1/(S[In[Br]]*Xn[$r]*Xn[Wr]*8),Br++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),l=Pe)}this.encode=function(Pe,bt){bt&&rr(bt),qe=new Array,At=0,Me=7,Tn(65496),Tn(65504),Tn(16),gn(74),gn(70),gn(73),gn(70),gn(0),gn(1),gn(1),gn(0),Tn(1),Tn(1),gn(0),gn(0),function(){Tn(65499),Tn(132),gn(0);for(var ko=0;ko<64;ko++)gn(y[ko]);gn(1);for(var Ro=0;Ro<64;Ro++)gn(S[Ro])}(),function(ko,Ro){Tn(65472),Tn(17),gn(8),Tn(Ro),Tn(ko),gn(3),gn(1),gn(17),gn(0),gn(2),gn(17),gn(1),gn(3),gn(17),gn(1)}(Pe.width,Pe.height),function(){Tn(65476),Tn(418),gn(0);for(var ko=0;ko<16;ko++)gn(Gt[ko+1]);for(var Ro=0;Ro<=11;Ro++)gn(xt[Ro]);gn(16);for(var Pa=0;Pa<16;Pa++)gn(sn[Pa+1]);for(var oa=0;oa<=161;oa++)gn(_e[oa]);gn(1);for(var vi=0;vi<16;vi++)gn(st[vi+1]);for(var da=0;da<=11;da++)gn(jt[da]);gn(17);for(var ia=0;ia<16;ia++)gn(Rt[ia+1]);for(var Eo=0;Eo<=161;Eo++)gn(bn[Eo])}(),Tn(65498),Tn(12),gn(3),gn(1),gn(0),gn(2),gn(17),gn(3),gn(17),gn(0),gn(63),gn(0);var Ut=0,Ht=0,Jt=0;At=0,Me=7,this.encode.displayName="_encode_";for(var hn,Un,Dn,Xn,Br,$r,Wr,Oo,lt,Xr=Pe.data,_i=Pe.width,Go=Pe.height,fr=4*_i,$o=0;$o>3)*fr+(Wr=4*(7<)),$o+Oo>=Go&&($r-=fr*($o+1+Oo-Go)),hn+Wr>=fr&&($r-=hn+Wr-fr+4),Un=Xr[$r++],Dn=Xr[$r++],Xn=Xr[$r++],Mt[lt]=(kn[Un]+kn[Dn+256|0]+kn[Xn+512|0]>>16)-128,Dt[lt]=(kn[Un+768|0]+kn[Dn+1024|0]+kn[Xn+1280|0]>>16)-128,Ct[lt]=(kn[Un+1280|0]+kn[Dn+1536|0]+kn[Xn+1792|0]>>16)-128;Ut=Ir(Mt,Q,Ut,n,r),Ht=Ir(Dt,V,Ht,t,o),Jt=Ir(Ct,V,Jt,t,o),hn+=32}$o+=8}if(Me>=0){var po=[];po[1]=Me+1,po[0]=(1<st;st++)if(xt[sn+st]!=_e.charCodeAt(st))return!0;return!1}function r(xt,sn,_e,st,jt){for(var Rt=0;RtRt+1?[]:new sn),!(bn.length>>0;u&_;)_>>>=1;return _?(u&_-1)+_:u}function _e(u,m,_,q,Be){n(!(q%_));do u[m+(q-=_)]=Be;while(0=Be),512>=Be)var Ne=l(512);else if((Ne=l(Be))==null)return 0;return function(De,Ze,Ge,dt,Wt,mn){var ft,Xt,ln=Ze,Hn=1<ft;++ft){if(pn[ft]>1<(Qi-=pn[ft]))return 0;for(;0=ft;++ft,Wt<<=1){if(fo+=Qi<<=1,0>(Qi-=pn[ft]))return 0;for(;0wr&&!(0>=(Wn-=pn[wr]));)++wr,Wn<<=1;Hn+=yo=1<<(Wn=wr-Ge),De[Ze+(wr=Fo&ir)].g=Wn+Ge,De[Ze+wr].value=ln-Ze-wr}dt.g=ft-Ge,dt.value=mn[Xt++],_e(De,ln+(Fo>>Ge),Wt,yo,dt),Fo=sn(Fo,ft)}}return fo!=2*Zn[15]-1?0:Hn}(u,m,_,q,Be,Ne)}function jt(){this.value=this.g=0}function Rt(){this.value=this.g=0}function bn(){this.G=w(5,jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=w(gf,Rt)}function Fn(u,m,_,q){n(u!=null),n(m!=null),n(2147483648>q),u.Ca=254,u.I=0,u.b=-8,u.Ka=0,u.oa=m,u.pa=_,u.Jd=m,u.Yc=_+q,u.Zc=4<=q?_+q-4+1:_,Un(u)}function Nn(u,m){for(var _=0;0q),u.Sb=q,u.Ra=0,u.u=0,u.h=0,4>>=8,u.Ra+=u.oa[u.pa+u.bb]<>>0,++u.bb,u.u-=8;Ht(u)&&(u.h=1,u.u=0)}function rr(u,m){if(n(0<=m),!u.h&&m<=Ol){var _=Ut(u)&Ql[m];return u.u+=m,Ir(u),_}return u.h=1,u.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ut(u){return u.Ra>>>(u.u&gd-1)>>>0}function Ht(u){return n(u.bb<=u.Sb),u.h||u.bb==u.Sb&&u.u>gd}function Jt(u,m){u.u=m,u.h=Ht(u)}function hn(u){u.u>=Rc&&(n(u.u>=Rc),Ir(u))}function Un(u){n(u!=null&&u.oa!=null),u.pa>>0,u.b+=8):(n(u!=null&&u.oa!=null),u.pau.b&&Un(u);var q=u.b,Be=_*m>>>8,Ne=(u.I>>>q>Be)+0;for(Ne?(_-=Be,u.I-=Be+1<>>0):_=Be+1,q=_,Be=0;256<=q;)Be+=8,q>>=8;return q=7^Be+md[q],u.b-=q,u.Ca=(_<>24&255,u[m+1]=_>>16&255,u[m+2]=_>>8&255,u[m+3]=255&_}function $r(u,m){return u[m+0]|u[m+1]<<8}function Wr(u,m){return $r(u,m)|u[m+2]<<16}function Oo(u,m){return $r(u,m)|$r(u,m+2)<<16}function lt(u,m){var _=1<=Be||0>=Ne?0:(_[0]=Be,q[0]=Ne,1)}function fr(u,m){return u+(1<>>m}function $o(u,m){return((4278255360&u)+(4278255360&m)>>>0&4278255360)+((16711935&u)+(16711935&m)>>>0&16711935)>>>0}function po(u,m){xt[m]=function(_,q,Be,Ne,De,Ze,Ge){var dt;for(dt=0;dt>>1)+(u&m)>>>0}function Pa(u){return 0<=u&&256>u?u:0>u?0:255>1))}function vi(u,m,_){return Math.abs(m-_)-Math.abs(u-_)}function da(u,m,_,q,Be,Ne,De){for(q=Ne[De-1],_=0;_>8&255,Ge=16711935&(Ge=(Ge=16711935&De)+((Ze<<16)+Ze));q[Be+Ne]=(4278255360&De)+Ge>>>0}}function Eo(u,m){m.jd=255&u,m.hd=u>>8&255,m.ud=u>>16&255}function Si(u,m,_,q,Be,Ne){var De;for(De=0;De>>8,dt=Ze,Wt=255&(Wt=(Wt=Ze>>>16)+((u.jd<<24>>24)*(Ge<<24>>24)>>>5));dt=255&(dt=(dt+=(u.hd<<24>>24)*(Ge<<24>>24)>>>5)+((u.ud<<24>>24)*(Wt<<24>>24)>>>5)),Be[Ne+De]=(4278255360&Ze)+(Wt<<16)+dt}}function Uo(u,m,_,q,Be){xt[m]=function(Ne,De,Ze,Ge,dt,Wt,mn,ft,Xt){for(Ge=mn;Ge>Ne.b,Xt=Ne.Ea,ln=Ne.K[0],Hn=Ne.w;if(8>ft)for(Ne=(1<>=ft}else xt["VP8LMapColor"+_](Ge,dt,ln,Hn,Wt,mn,De,Ze,Xt)}}function ts(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=u[m++];q[Be++]=Ne>>16&255,q[Be++]=Ne>>8&255,q[Be++]=255&Ne}}function ba(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=u[m++];q[Be++]=Ne>>16&255,q[Be++]=Ne>>8&255,q[Be++]=255&Ne,q[Be++]=Ne>>24&255}}function Hi(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&240|De>>12&15,De=240&De|De>>28&15;q[Be++]=Ne,q[Be++]=De}}function ki(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&248|De>>13&7,De=De>>5&224|De>>3&31;q[Be++]=Ne,q[Be++]=De}}function xA(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=u[m++];q[Be++]=255&Ne,q[Be++]=Ne>>8&255,q[Be++]=Ne>>16&255}}function jo(u,m,_,q,Be,Ne){if(Ne==0)for(_=m+_;m<_;)Br(q,((Ne=u[m++])[0]>>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Be+=32;else r(q,Be,u,m,_)}function iA(u,m){xt[m][0]=xt[u+"0"],xt[m][1]=xt[u+"1"],xt[m][2]=xt[u+"2"],xt[m][3]=xt[u+"3"],xt[m][4]=xt[u+"4"],xt[m][5]=xt[u+"5"],xt[m][6]=xt[u+"6"],xt[m][7]=xt[u+"7"],xt[m][8]=xt[u+"8"],xt[m][9]=xt[u+"9"],xt[m][10]=xt[u+"10"],xt[m][11]=xt[u+"11"],xt[m][12]=xt[u+"12"],xt[m][13]=xt[u+"13"],xt[m][14]=xt[u+"0"],xt[m][15]=xt[u+"0"]}function ni(u){return u==dg||u==fg||u==gp||u==hg}function yi(){this.eb=[],this.size=this.A=this.fb=0}function SA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function $i(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new yi,this.f.kb=new SA,this.sd=null}function Yo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ta(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(u){return alert("todo:WebPSamplerProcessPlane"),u.T}function qs(u,m){var _=u.T,q=m.ba.f.RGBA,Be=q.eb,Ne=q.fb+u.ka*q.A,De=nu[m.ba.S],Ze=u.y,Ge=u.O,dt=u.f,Wt=u.N,mn=u.ea,ft=u.W,Xt=m.cc,ln=m.dc,Hn=m.Mc,pn=m.Nc,Zn=u.ka,Wn=u.ka+u.T,wr=u.U,ir=wr+1>>1;for(Zn==0?De(Ze,Ge,null,null,dt,Wt,mn,ft,dt,Wt,mn,ft,Be,Ne,null,null,wr):(De(m.ec,m.fc,Ze,Ge,Xt,ln,Hn,pn,dt,Wt,mn,ft,Be,Ne-q.A,Be,Ne,wr),++_);Zn+2_,Be=_==fp||_==hp||_==pp||_==cg||_==12||ni(_);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!e0(m.Oa,u,Be?11:12))return 0;if(Be&&ni(_)&&Yh(),u.da)alert("todo:use_scaling");else{if(q){if(m.Ib=tf,u.Kb){if(_=u.U+1>>1,m.memory=l(u.U+2*_),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+u.U,m.Mc=m.cc,m.Nc=m.dc+_,m.Ib=qs,Yh()}}else alert("todo:EmitYUV");Be&&(m.Jb=Ec,q&&Iu())}if(q&&!ym){for(u=0;256>u;++u)vv[u]=89858*(u-128)+vp>>mp,Bv[u]=-22014*(u-128)+vp,wv[u]=-45773*(u-128),yv[u]=113618*(u-128)+vp>>mp;for(u=u0;u>mp,bv[u-u0]=nc(m,255),Cv[u-u0]=nc(m+8>>4,15);ym=1}return 1}function Jo(u){var m=u.ma,_=u.U,q=u.T;return n(!(1&u.ka)),0>=_||0>=q?0:(_=m.Ib(u,m),m.Jb!=null&&m.Jb(u,m,_),m.Dc+=_,1)}function xc(u){u.ma.memory=null}function Sc(u,m,_,q){return rr(u,8)!=47?0:(m[0]=rr(u,14)+1,_[0]=rr(u,14)+1,q[0]=rr(u,1),rr(u,3)!=0?0:!u.h)}function Gl(u,m){if(4>u)return u+1;var _=u-2>>1;return(2+(1&u)<<_)+rr(m,_)+1}function $l(u,m){return 120>4)*u+(8-(15&_)))?_:1;var _}function VA(u,m,_){var q=Ut(_),Be=u[m+=255&q].g-8;return 0>>0,n(8>=_.g),u.g}function _s(u,m,_){var q=u.xc;return n((m=q==0?0:u.vc[u.md*(_>>q)+(m>>q)])>yo.b)*fo;Hnwr&&(wo=wr),(0,o0[fa[ws++]>>8&15])(ft,Xt+ +Oi,Zn,Wn+Oi-wr,wo-Oi,Zn,Wn+Oi),Oi=wo}Xt+=wr,Wn+=wr,++Hn&Fo||(yo+=fo)}mn!=dt.nc&&r(Ge,Ze-ln,Ge,Ze+(mn-Wt-1)*ln,ln);break;case 1:for(ln=ft,pn=Xt,wr=(ft=dt.Ea)-(Wn=ft&~(Zn=(Xt=1<>dt.b)*Hn;Wt=Be),0Ne.o&&(q=Ne.o),_=q?_=0:(Be[0]+=4*Ne.v,Ne.ka=_-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=q-_,_=1),_){if(Ze=Ze[0],11>(_=u.ca).S){var Wt=_.f.RGBA,mn=(q=_.S,Be=Ne.U,Ne=Ne.T,dt=Wt.eb,Wt.A),ft=Ne;for(Wt=Wt.fb+u.Ma*Wt.A;0q){var Be=u.l.width,Ne=_.ca,De=_.tb+Be*q,Ze=u.V,Ge=u.Ba+u.c*q,dt=u.gc;n(u.ab==1),n(dt[0].hc==3),ac(dt[0],q,m,Ze,Ge,Ne,De),ec(_,q,m,Ne,De,Be)}u.C=u.Ma=m}function Su(u,m,_,q,Be,Ne,De){var Ze=u.$/q,Ge=u.$%q,dt=u.m,Wt=u.s,mn=_+u.$,ft=mn;Be=_+q*Be;var Xt=_+q*Ne,ln=280+Wt.ua,Hn=u.Pb?Ze:16777216,pn=0=Hn){var Fo=mn-_;n((Hn=u).Pb),Hn.wd=Hn.m,Hn.xd=Fo,0Qi.g?(Jt(ir,ir.u+Qi.g),Fo[fo]=Qi.value,ir=0):(Jt(ir,ir.u+Qi.g-256),n(256<=Qi.value),ir=Qi.value),ir==0&&(wr=!0)}else ir=VA(Wn.G[0],Wn.H[0],dt);if(dt.h)break;if(wr||256>ir){if(!wr)if(Wn.nd)m[mn]=(Wn.qb|ir<<8)>>>0;else{if(hn(dt),wr=VA(Wn.G[1],Wn.H[1],dt),hn(dt),Fo=VA(Wn.G[2],Wn.H[2],dt),fo=VA(Wn.G[3],Wn.H[3],dt),dt.h)break;m[mn]=(fo<<24|wr<<16|ir<<8|Fo)>>>0}if(wr=!1,++mn,++Ge>=q&&(Ge=0,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze),pn!=null))for(;ft>>pn.Mb]=ir}else if(280>ir){if(ir=Gl(ir-256,dt),Fo=VA(Wn.G[4],Wn.H[4],dt),hn(dt),Fo=$l(q,Fo=Gl(Fo,dt)),dt.h)break;if(mn-_=q;)Ge-=q,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze);if(n(mn<=Be),Ge&Zn&&(Wn=_s(Wt,Ge,Ze)),pn!=null)for(;ft>>pn.Mb]=ir}else{if(!(ir>>pn.Mb]=ir;ir=mn,n(!(wr>>>(Fo=pn).Xa)),m[ir]=Fo.X[wr],wr=!0}wr||n(dt.h==Ht(dt))}if(u.Pb&&dt.h&&mnNe?Ne:Ze),u.a=0,u.$=mn-_}return 1}return u.a=3,0}function Xl(u){n(u!=null),u.vc=null,u.yc=null,u.Ya=null;var m=u.Wa;m!=null&&(m.X=null),u.vb=null,n(u!=null)}function rf(){var u=new li;return u==null?null:(u.a=0,u.xb=fm,iA("Predictor","VP8LPredictors"),iA("Predictor","VP8LPredictors_C"),iA("PredictorAdd","VP8LPredictorsAdd"),iA("PredictorAdd","VP8LPredictorsAdd_C"),ns=ia,i0=Si,a0=ts,vd=ba,yd=Hi,wd=ki,mf=xA,xt.VP8LMapColor32b=ic,xt.VP8LMapColor8b=r0,u)}function tc(u,m,_,q,Be){var Ne=1,De=[u],Ze=[m],Ge=q.m,dt=q.s,Wt=null,mn=0;e:for(;;){if(_)for(;Ne&&rr(Ge,1);){var ft=De,Xt=Ze,ln=q,Hn=1,pn=ln.m,Zn=ln.gc[ln.ab],Wn=rr(pn,2);if(ln.Oc&1<=ln.ab),Wn){case 0:case 1:Zn.b=rr(pn,3)+2,Hn=tc(fr(Zn.Ea,Zn.b),fr(Zn.nc,Zn.b),0,ln,Zn.K),Zn.K=Zn.K[0];break;case 3:var wr,ir=rr(pn,8)+1,Fo=16>yo.b),ws=l(fa);if(ws==null)wr=0;else{var Oi=yo.K[0],wo=yo.w;for(ws[0]=yo.K[0][0],fo=1;fo<1*Qi;++fo)ws[fo]=$o(Oi[wo+fo],ws[fo-1]);for(;fo<4*fa;++fo)ws[fo]=0;yo.K[0]=null,yo.K[0]=ws,wr=1}}Hn=wr;break;case 2:break;default:n(0)}Ne=Hn}}if(De=De[0],Ze=Ze[0],Ne&&rr(Ge,1)&&!(Ne=1<=(mn=rr(Ge,4))&&11>=mn)){q.a=3;break e}var Kr;if(Kr=Ne)t:{var os,wi,ya,mA=q,Hs=De,Al=Ze,WA=mn,el=_,sl=mA.m,Bs=mA.s,Ea=[null],za=1,GA=0,Za=iv[WA];n:for(;;){if(el&&rr(sl,1)){var ks=rr(sl,3)+2,Lu=fr(Hs,ks),is=fr(Al,ks),bl=Lu*is;if(!tc(Lu,is,0,mA,Ea))break n;for(Ea=Ea[0],Bs.xc=ks,os=0;os>8&65535;Ea[os]=qa,qa>=za&&(za=qa+1)}}if(sl.h)break n;for(wi=0;5>wi;++wi){var bs=cm[wi];!wi&&0=ll),Rl=Tl;var Cl=l(GA);if(Rl==null||Cl==null||Pl==null){mA.a=1;break n}var _l=Pl;for(os=ya=0;oswi;++wi){bs=cm[wi],jl[wi]=_l,Nu[wi]=ya,!wi&&0Ep)break r}else wg=Ep;for(d0=0;d0nh)Sm[d0++]=nh,nh!=0&&(Fm=nh);else{var Ov=nh==16,Lm=nh-16,Dv=tv[Lm],Nm=rr(xd,ev[Lm])+Dv;if(d0+Nm>Ep)break r;for(var Pv=Ov?Fm:0;0=wi){var f0,bg=Cl[0];for(f0=1;f0bg&&(bg=Cl[f0]);Ks+=bg}}if(AA.nd=Mc,AA.Qb=0,Mc&&(AA.qb=(jl[3][Nu[3]+0].value<<24|jl[1][Nu[1]+0].value<<16|jl[2][Nu[2]+0].value)>>>0,yf==0&&256>jl[0][Nu[0]+0].value&&(AA.Qb=1,AA.qb+=jl[0][Nu[0]+0].value<<8)),AA.jc=!AA.Qb&&6>Ks,AA.jc){var xp,Hc=AA;for(xp=0;xp>=Ls(Sp,8,Fd),Sd>>=Ls(Hc.G[1][Hc.H[1]+Sd],16,Fd),Sd>>=Ls(Hc.G[2][Hc.H[2]+Sd],0,Fd),Ls(Hc.G[3][Hc.H[3]+Sd],24,Fd))}}}Bs.vc=Ea,Bs.Wb=za,Bs.Ya=Rl,Bs.yc=Pl,Kr=1;break t}Kr=0}if(!(Ne=Kr)){q.a=3;break e}if(0q+1?[]:0),!(Be.lengthu?0:u>m?m:u}function Wf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function $p(){var u=new X0;return u!=null&&(u.a=0,u.sc="OK",u.cb=0,u.Xb=0,l0||(l0=Gf)),u}function ls(u,m,_){return u.a==0&&(u.a=m,u.sc=_,u.cb=0),0}function Y0(u,m,_){return 3<=_&&u[m+0]==157&&u[m+1]==1&&u[m+2]==42}function rc(u,m){if(u==null)return 0;if(u.a=0,u.sc="OK",m==null)return ls(u,2,"null VP8Io passed to VP8GetHeaders()");var _=m.data,q=m.w,Be=m.ha;if(4>Be)return ls(u,7,"Truncated header.");var Ne=_[q+0]|_[q+1]<<8|_[q+2]<<16,De=u.Od;if(De.Rb=!(1&Ne),De.td=Ne>>1&7,De.yd=Ne>>4&1,De.ub=Ne>>5,3Be)return ls(u,7,"cannot parse picture header");if(!Y0(_,q,Be))return ls(u,3,"Bad code word");Ze.c=16383&(_[q+4]<<8|_[q+3]),Ze.Td=_[q+4]>>6,Ze.i=16383&(_[q+6]<<8|_[q+5]),Ze.Ud=_[q+6]>>6,q+=7,Be-=7,u.za=Ze.c+15>>4,u.Ub=Ze.i+15>>4,m.width=Ze.c,m.height=Ze.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,o((Ne=u.Pa).jb,0,255,Ne.jb.length),n((Ne=u.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,o(Ne.Zb,0,0,Ne.Zb.length),o(Ne.Lb,0,0,Ne.Lb)}if(De.ub>Be)return ls(u,7,"bad partition length");Fn(Ne=u.m,_,q,De.ub),q+=De.ub,Be-=De.ub,De.Rb&&(Ze.Ld=Dn(Ne),Ze.Kd=Dn(Ne)),Ze=u.Qa;var Ge,dt=u.Pa;if(n(Ne!=null),n(Ze!=null),Ze.Cb=Dn(Ne),Ze.Cb){if(Ze.Bb=Dn(Ne),Dn(Ne)){for(Ze.Fb=Dn(Ne),Ge=0;4>Ge;++Ge)Ze.Zb[Ge]=Dn(Ne)?gn(Ne,7):0;for(Ge=0;4>Ge;++Ge)Ze.Lb[Ge]=Dn(Ne)?gn(Ne,6):0}if(Ze.Bb)for(Ge=0;3>Ge;++Ge)dt.jb[Ge]=Dn(Ne)?Nn(Ne,8):255}else Ze.Bb=0;if(Ne.Ka)return ls(u,3,"cannot parse segment header");if((Ze=u.ed).zd=Dn(Ne),Ze.Tb=Nn(Ne,6),Ze.wb=Nn(Ne,3),Ze.Pc=Dn(Ne),Ze.Pc&&Dn(Ne)){for(dt=0;4>dt;++dt)Dn(Ne)&&(Ze.vd[dt]=gn(Ne,6));for(dt=0;4>dt;++dt)Dn(Ne)&&(Ze.od[dt]=gn(Ne,6))}if(u.L=Ze.Tb==0?0:Ze.zd?1:2,Ne.Ka)return ls(u,3,"cannot parse filter header");var Wt=Be;if(Be=Ge=q,q=Ge+Wt,Ze=Wt,u.Xb=(1<Ze&&(mn=Ze),Fn(u.Jc[+Wt],_,Ge,mn),Ge+=mn,Ze-=mn,Be+=3}Fn(u.Jc[+dt],_,Ge,Ze),_=Gemn;++mn){if(Wt.Cb){var ft=Wt.Zb[mn];Wt.Fb||(ft+=_)}else{if(0>16,8>Xt.Eb[1]&&(Xt.Eb[1]=8),Xt.Qc[0]=pg[nc(ft+dt,117)],Xt.Qc[1]=gg[nc(ft+Ge,127)],Xt.lc=ft+Ge}if(!De.Rb)return ls(u,4,"Not a key frame.");for(Dn(Ne),De=u.Pa,_=0;4>_;++_){for(Be=0;8>Be;++Be)for(q=0;3>q;++q)for(Ze=0;11>Ze;++Ze)dt=Xn(Ne,cv[_][Be][q][Ze])?Nn(Ne,8):lv[_][Be][q][Ze],De.Wc[_][Be].Yb[q][Ze]=dt;for(Be=0;17>Be;++Be)De.Xc[_][Be]=De.Wc[_][dv[Be]]}return u.kc=Dn(Ne),u.kc&&(u.Bd=Nn(Ne,8)),u.cb=1}function Gf(u,m,_,q,Be,Ne,De){var Ze=m[Be].Yb[_];for(_=0;16>Be;++Be){if(!Xn(u,Ze[_+0]))return Be;for(;!Xn(u,Ze[_+1]);)if(Ze=m[++Be].Yb[0],_=0,Be==16)return 16;var Ge=m[Be+1].Yb;if(Xn(u,Ze[_+2])){var dt=u,Wt=0;if(Xn(dt,(ft=Ze)[(mn=_)+3]))if(Xn(dt,ft[mn+6])){for(Ze=0,mn=2*(Wt=Xn(dt,ft[mn+8]))+(ft=Xn(dt,ft[mn+9+Wt])),Wt=0,ft=Av[mn];ft[Ze];++Ze)Wt+=Wt+Xn(dt,ft[Ze]);Wt+=3+(8<(dt=u).b&&Un(dt);var mn,ft=dt.b,Xt=(mn=dt.Ca>>1)-(dt.I>>ft)>>31;--dt.b,dt.Ca+=Xt,dt.Ca|=1,dt.I-=(mn+1&Xt)<>3),u[m+_+32*q]=-256&Be?0>Be?0:255:Be}function ms(u,m,_,q,Be,Ne){Jl(u,m,0,_,q+Be),Jl(u,m,1,_,q+Ne),Jl(u,m,2,_,q-Ne),Jl(u,m,3,_,q-Be)}function Fc(u){return(20091*u>>16)+u}function q0(u,m,_,q){var Be,Ne=0,De=l(16);for(Be=0;4>Be;++Be){var Ze=u[m+0]+u[m+8],Ge=u[m+0]-u[m+8],dt=(35468*u[m+4]>>16)-Fc(u[m+12]),Wt=Fc(u[m+4])+(35468*u[m+12]>>16);De[Ne+0]=Ze+Wt,De[Ne+1]=Ge+dt,De[Ne+2]=Ge-dt,De[Ne+3]=Ze-Wt,Ne+=4,m++}for(Be=Ne=0;4>Be;++Be)Ze=(u=De[Ne+0]+4)+De[Ne+8],Ge=u-De[Ne+8],dt=(35468*De[Ne+4]>>16)-Fc(De[Ne+12]),Jl(_,q,0,0,Ze+(Wt=Fc(De[Ne+4])+(35468*De[Ne+12]>>16))),Jl(_,q,1,0,Ge+dt),Jl(_,q,2,0,Ge-dt),Jl(_,q,3,0,Ze-Wt),Ne++,q+=32}function Xp(u,m,_,q){var Be=u[m+0]+4,Ne=35468*u[m+4]>>16,De=Fc(u[m+4]),Ze=35468*u[m+1]>>16;ms(_,q,0,Be+De,u=Fc(u[m+1]),Ze),ms(_,q,1,Be+Ne,u,Ze),ms(_,q,2,Be-Ne,u,Ze),ms(_,q,3,Be-De,u,Ze)}function Yp(u,m,_,q,Be){q0(u,m,_,q),Be&&q0(u,m+16,_,q+4)}function oc(u,m,_,q){vf(u,m+0,_,q,1),vf(u,m+32,_,q+128,1)}function ep(u,m,_,q){var Be;for(u=u[m+0]+4,Be=0;4>Be;++Be)for(m=0;4>m;++m)Jl(_,q,m,Be,u)}function tp(u,m,_,q){u[m+0]&&Ra(u,m+0,_,q),u[m+16]&&Ra(u,m+16,_,q+4),u[m+32]&&Ra(u,m+32,_,q+128),u[m+48]&&Ra(u,m+48,_,q+128+4)}function $f(u,m,_,q){var Be,Ne=l(16);for(Be=0;4>Be;++Be){var De=u[m+0+Be]+u[m+12+Be],Ze=u[m+4+Be]+u[m+8+Be],Ge=u[m+4+Be]-u[m+8+Be],dt=u[m+0+Be]-u[m+12+Be];Ne[0+Be]=De+Ze,Ne[8+Be]=De-Ze,Ne[4+Be]=dt+Ge,Ne[12+Be]=dt-Ge}for(Be=0;4>Be;++Be)De=(u=Ne[0+4*Be]+3)+Ne[3+4*Be],Ze=Ne[1+4*Be]+Ne[2+4*Be],Ge=Ne[1+4*Be]-Ne[2+4*Be],dt=u-Ne[3+4*Be],_[q+0]=De+Ze>>3,_[q+16]=dt+Ge>>3,_[q+32]=De-Ze>>3,_[q+48]=dt-Ge>>3,q+=64}function af(u,m,_){var q,Be=m-32,Ne=Dl,De=255-u[Be-1];for(q=0;q<_;++q){var Ze,Ge=Ne,dt=De+u[m-1];for(Ze=0;Ze<_;++Ze)u[m+Ze]=Ge[dt+u[Be+Ze]];m+=32}}function Jp(u,m){af(u,m,4)}function qp(u,m){af(u,m,8)}function eg(u,m){af(u,m,16)}function Kh(u,m){var _;for(_=0;16>_;++_)r(u,m+32*_,u,m-32,16)}function np(u,m){var _;for(_=16;0<_;--_)o(u,m,u[m-1],16),m+=32}function Fu(u,m,_){var q;for(q=0;16>q;++q)o(m,_+32*q,u,16)}function tg(u,m){var _,q=16;for(_=0;16>_;++_)q+=u[m-1+32*_]+u[m+_-32];Fu(q>>5,u,m)}function Af(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m-1+32*_];Fu(q>>4,u,m)}function zh(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m+_-32];Fu(q>>4,u,m)}function ng(u,m){Fu(128,u,m)}function ci(u,m,_){return u+2*m+_+2>>2}function rg(u,m){var _,q=m-32;for(q=new Uint8Array([ci(u[q-1],u[q+0],u[q+1]),ci(u[q+0],u[q+1],u[q+2]),ci(u[q+1],u[q+2],u[q+3]),ci(u[q+2],u[q+3],u[q+4])]),_=0;4>_;++_)r(u,m+32*_,q,0,q.length)}function og(u,m){var _=u[m-1],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1+96];Br(u,m+0,16843009*ci(u[m-1-32],_,q)),Br(u,m+32,16843009*ci(_,q,Be)),Br(u,m+64,16843009*ci(q,Be,Ne)),Br(u,m+96,16843009*ci(Be,Ne,Ne))}function ig(u,m){var _,q=4;for(_=0;4>_;++_)q+=u[m+_-32]+u[m-1+32*_];for(q>>=3,_=0;4>_;++_)o(u,m+32*_,q,4)}function Ic(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ge=u[m+2-32],dt=u[m+3-32];u[m+0+96]=ci(q,Be,u[m-1+96]),u[m+1+96]=u[m+0+64]=ci(_,q,Be),u[m+2+96]=u[m+1+64]=u[m+0+32]=ci(Ne,_,q),u[m+3+96]=u[m+2+64]=u[m+1+32]=u[m+0+0]=ci(De,Ne,_),u[m+3+64]=u[m+2+32]=u[m+1+0]=ci(Ze,De,Ne),u[m+3+32]=u[m+2+0]=ci(Ge,Ze,De),u[m+3+0]=ci(dt,Ge,Ze)}function Uc(u,m){var _=u[m+1-32],q=u[m+2-32],Be=u[m+3-32],Ne=u[m+4-32],De=u[m+5-32],Ze=u[m+6-32],Ge=u[m+7-32];u[m+0+0]=ci(u[m+0-32],_,q),u[m+1+0]=u[m+0+32]=ci(_,q,Be),u[m+2+0]=u[m+1+32]=u[m+0+64]=ci(q,Be,Ne),u[m+3+0]=u[m+2+32]=u[m+1+64]=u[m+0+96]=ci(Be,Ne,De),u[m+3+32]=u[m+2+64]=u[m+1+96]=ci(Ne,De,Ze),u[m+3+64]=u[m+2+96]=ci(De,Ze,Ge),u[m+3+96]=ci(Ze,Ge,Ge)}function ag(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ge=u[m+2-32],dt=u[m+3-32];u[m+0+0]=u[m+1+64]=Ne+De+1>>1,u[m+1+0]=u[m+2+64]=De+Ze+1>>1,u[m+2+0]=u[m+3+64]=Ze+Ge+1>>1,u[m+3+0]=Ge+dt+1>>1,u[m+0+96]=ci(Be,q,_),u[m+0+64]=ci(q,_,Ne),u[m+0+32]=u[m+1+96]=ci(_,Ne,De),u[m+1+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+2+32]=u[m+3+96]=ci(De,Ze,Ge),u[m+3+32]=ci(Ze,Ge,dt)}function Ag(u,m){var _=u[m+0-32],q=u[m+1-32],Be=u[m+2-32],Ne=u[m+3-32],De=u[m+4-32],Ze=u[m+5-32],Ge=u[m+6-32],dt=u[m+7-32];u[m+0+0]=_+q+1>>1,u[m+1+0]=u[m+0+64]=q+Be+1>>1,u[m+2+0]=u[m+1+64]=Be+Ne+1>>1,u[m+3+0]=u[m+2+64]=Ne+De+1>>1,u[m+0+32]=ci(_,q,Be),u[m+1+32]=u[m+0+96]=ci(q,Be,Ne),u[m+2+32]=u[m+1+96]=ci(Be,Ne,De),u[m+3+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+3+64]=ci(De,Ze,Ge),u[m+3+96]=ci(Ze,Ge,dt)}function Xf(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1+96];u[m+0+0]=_+q+1>>1,u[m+2+0]=u[m+0+32]=q+Be+1>>1,u[m+2+32]=u[m+0+64]=Be+Ne+1>>1,u[m+1+0]=ci(_,q,Be),u[m+3+0]=u[m+1+32]=ci(q,Be,Ne),u[m+3+32]=u[m+1+64]=ci(Be,Ne,Ne),u[m+3+64]=u[m+2+64]=u[m+0+96]=u[m+1+96]=u[m+2+96]=u[m+3+96]=Ne}function Zh(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1+96],De=u[m-1-32],Ze=u[m+0-32],Ge=u[m+1-32],dt=u[m+2-32];u[m+0+0]=u[m+2+32]=_+De+1>>1,u[m+0+32]=u[m+2+64]=q+_+1>>1,u[m+0+64]=u[m+2+96]=Be+q+1>>1,u[m+0+96]=Ne+Be+1>>1,u[m+3+0]=ci(Ze,Ge,dt),u[m+2+0]=ci(De,Ze,Ge),u[m+1+0]=u[m+3+32]=ci(_,De,Ze),u[m+1+32]=u[m+3+64]=ci(q,_,De),u[m+1+64]=u[m+3+96]=ci(Be,q,_),u[m+1+96]=ci(Ne,Be,q)}function sf(u,m){var _;for(_=0;8>_;++_)r(u,m+32*_,u,m-32,8)}function sg(u,m){var _;for(_=0;8>_;++_)o(u,m,u[m-1],8),m+=32}function Lc(u,m,_){var q;for(q=0;8>q;++q)o(m,_+32*q,u,8)}function lg(u,m){var _,q=8;for(_=0;8>_;++_)q+=u[m+_-32]+u[m-1+32*_];Lc(q>>4,u,m)}function Vh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m+_-32];Lc(q>>3,u,m)}function Wh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m-1+32*_];Lc(q>>3,u,m)}function rp(u,m){Lc(128,u,m)}function Nc(u,m,_){var q=u[m-_],Be=u[m+0],Ne=3*(Be-q)+ug[1020+u[m-2*_]-u[m+_]],De=cp[112+(Ne+4>>3)];u[m-_]=Dl[255+q+cp[112+(Ne+3>>3)]],u[m+0]=Dl[255+Be-De]}function Gh(u,m,_,q){var Be=u[m+0],Ne=u[m+_];return tu[255+u[m-2*_]-u[m-_]]>q||tu[255+Ne-Be]>q}function Yf(u,m,_,q){return 4*tu[255+u[m-_]-u[m+0]]+tu[255+u[m-2*_]-u[m+_]]<=q}function $h(u,m,_,q,Be){var Ne=u[m-3*_],De=u[m-2*_],Ze=u[m-_],Ge=u[m+0],dt=u[m+_],Wt=u[m+2*_],mn=u[m+3*_];return 4*tu[255+Ze-Ge]+tu[255+De-dt]>q?0:tu[255+u[m-4*_]-Ne]<=Be&&tu[255+Ne-De]<=Be&&tu[255+De-Ze]<=Be&&tu[255+mn-Wt]<=Be&&tu[255+Wt-dt]<=Be&&tu[255+dt-Ge]<=Be}function lf(u,m,_,q){var Be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q,_,Be)&&Nc(u,m+q,_)}function Xh(u,m,_,q){var Be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q*_,1,Be)&&Nc(u,m+q*_,1)}function op(u,m,_,q){var Be;for(Be=3;0>7,Zn=18*Wn+63>>7,Wn=9*Wn+63>>7;Ge[dt-3*Wt]=Dl[255+Ge[dt-3*Wt]+Wn],Ge[dt-2*Wt]=Dl[255+mn+Zn],Ge[dt-Wt]=Dl[255+ft+pn],Ge[dt+0]=Dl[255+Xt-pn],Ge[dt+Wt]=Dl[255+ln-Zn],Ge[dt+2*Wt]=Dl[255+Hn-Wn]}m+=q}}function Oc(u,m,_,q,Be,Ne,De,Ze){for(Ne=2*Ne+1;0>3)],Hn=cp[112+(Hn+3>>3)],pn=ln+1>>1;Ge[dt-2*Wt]=Dl[255+Ge[dt-2*Wt]+pn],Ge[dt-Wt]=Dl[255+mn+Hn],Ge[dt+0]=Dl[255+ft-ln],Ge[dt+Wt]=Dl[255+Xt-pn]}m+=q}}function ap(u,m,_,q,Be,Ne){Qc(u,m,_,1,16,q,Be,Ne)}function uf(u,m,_,q,Be,Ne){Qc(u,m,1,_,16,q,Be,Ne)}function Ap(u,m,_,q,Be,Ne){var De;for(De=3;0dt?0:255:dt)&255,dt=Ge,Be[Ne+Ze]=Wt}}function aA(u,m,_,q){var Be=m.width,Ne=m.o;if(n(u!=null&&m!=null),0>_||0>=q||_+q>Ne)return null;if(!u.Cc){if(u.ga==null){var De;if(u.ga=new Fi,(De=u.ga==null)||(De=m.width*m.o,n(u.Gb.length==0),u.Gb=l(De),u.Uc=0,u.Gb==null?De=0:(u.mb=u.Gb,u.nb=u.Uc,u.rc=null,De=1),De=!De),!De){De=u.ga;var Ze=u.Fa,Ge=u.P,dt=u.qc,Wt=u.mb,mn=u.nb,ft=Ge+1,Xt=dt-1,ln=De.l;if(n(Ze!=null&&Wt!=null&&m!=null),Cd[0]=null,Cd[1]=Ca,Cd[2]=DA,Cd[3]=us,De.ca=Wt,De.tb=mn,De.c=m.width,De.i=m.height,n(0=dt)m=0;else if(De.$a=3&Ze[Ge+0],De.Z=Ze[Ge+0]>>2&3,De.Lc=Ze[Ge+0]>>4&3,Ge=Ze[Ge+0]>>6&3,0>De.$a||1=De.c*De.i;De=!m}if(De)return null;u.ga.Lc!=1?u.Ga=0:q=Ne-_}n(u.ga!=null),n(_+q<=Ne);e:{if(m=(Ze=u.ga).c,Ne=Ze.l.o,Ze.$a==0){if(ft=u.rc,Xt=u.Vc,ln=u.Fa,Ge=u.P+1+_*m,dt=u.mb,Wt=u.nb+_*m,n(Ge<=u.P+u.qc),Ze.Z!=0)for(n(Cd[Ze.Z]!=null),De=0;De=m)m=1;else if(Ze.ic||Iu(),Ze.ic){Ze=De.V,ft=De.Ba,Xt=De.c;var Hn=De.i,pn=(ln=1,Ge=De.$/Xt,dt=De.$%Xt,Wt=De.m,mn=De.s,De.$),Zn=Xt*Hn,Wn=Xt*m,wr=mn.wc,ir=pn(Hn=VA(ir.G[0],ir.H[0],Wt)))Ze[ft+pn]=Hn,++pn,++dt>=Xt&&(dt=0,++Ge<=m&&!(Ge%16)&&xu(De,Ge));else{if(!(280>Hn)){ln=0;break t}Hn=Gl(Hn-256,Wt);var Fo,fo=VA(ir.G[4],ir.H[4],Wt);if(hn(Wt),!(pn>=(fo=$l(Xt,fo=Gl(fo,Wt)))&&Zn-pn>=Hn)){ln=0;break t}for(Fo=0;Fo=Xt;)dt-=Xt,++Ge<=m&&!(Ge%16)&&xu(De,Ge);pnm?m:Ge);break t}!ln||Wt.h&&pn=Ne&&(u.Cc=1),q=1}if(!q)return null;if(u.Cc&&((q=u.ga)!=null&&(q.mc=null),u.ga=null,0>23,Ze[Ge+4*De+1]=Ze[Ge+4*De+1]*mn>>23,Ze[Ge+4*De+2]=Ze[Ge+4*De+2]*mn>>23)}m+=Ne}}function cs(u,m,_,q,Be){for(;0>4)*Ge>>16;u[m+2*Ne+0]=(240&De|De>>4)*Ge>>16&240|(15&De|De<<4)*Ge>>16>>4&15,u[m+2*Ne+1]=240&dt|Ze}m+=Be}}function js(u,m,_,q,Be,Ne,De,Ze){var Ge,dt,Wt=255;for(dt=0;dt>8}function Iu(){s0=vs,tm=cs,nm=js,rm=Dc}function Pc(u,m,_){xt[u]=function(q,Be,Ne,De,Ze,Ge,dt,Wt,mn,ft,Xt,ln,Hn,pn,Zn,Wn,wr){var ir,Fo=wr-1>>1,fo=Ze[Ge+0]|dt[Wt+0]<<16,Qi=mn[ft+0]|Xt[ln+0]<<16;n(q!=null);var yo=3*fo+Qi+131074>>2;for(m(q[Be+0],255&yo,yo>>16,Hn,pn),Ne!=null&&(yo=3*Qi+fo+131074>>2,m(Ne[De+0],255&yo,yo>>16,Zn,Wn)),ir=1;ir<=Fo;++ir){var fa=Ze[Ge+ir]|dt[Wt+ir]<<16,ws=mn[ft+ir]|Xt[ln+ir]<<16,Oi=fo+fa+Qi+ws+524296,wo=Oi+2*(fa+Qi)>>3;yo=wo+fo>>1,fo=(Oi=Oi+2*(fo+ws)>>3)+fa>>1,m(q[Be+2*ir-1],255&yo,yo>>16,Hn,pn+(2*ir-1)*_),m(q[Be+2*ir-0],255&fo,fo>>16,Hn,pn+(2*ir-0)*_),Ne!=null&&(yo=Oi+Qi>>1,fo=wo+ws>>1,m(Ne[De+2*ir-1],255&yo,yo>>16,Zn,Wn+(2*ir-1)*_),m(Ne[De+2*ir+0],255&fo,fo>>16,Zn,Wn+(2*ir+0)*_)),fo=fa,Qi=ws}1&wr||(yo=3*fo+Qi+131074>>2,m(q[Be+wr-1],255&yo,yo>>16,Hn,pn+(wr-1)*_),Ne!=null&&(yo=3*Qi+fo+131074>>2,m(Ne[De+wr-1],255&yo,yo>>16,Zn,Wn+(wr-1)*_)))}}function Yh(){nu[dp]=hv,nu[fp]=hm,nu[lm]=pv,nu[hp]=pm,nu[pp]=gm,nu[cg]=mm,nu[um]=gv,nu[dg]=hm,nu[fg]=pm,nu[gp]=gm,nu[hg]=mm}function Jf(u){return u&~mv?0>u?0:255:u>>vm}function fd(u,m){return Jf((19077*u>>8)+(26149*m>>8)-14234)}function cf(u,m,_){return Jf((19077*u>>8)-(6419*m>>8)-(13320*_>>8)+8708)}function df(u,m){return Jf((19077*u>>8)+(33050*m>>8)-17685)}function hd(u,m,_,q,Be){q[Be+0]=fd(u,_),q[Be+1]=cf(u,m,_),q[Be+2]=df(u,m)}function Ms(u,m,_,q,Be){q[Be+0]=df(u,m),q[Be+1]=cf(u,m,_),q[Be+2]=fd(u,_)}function ff(u,m,_,q,Be){var Ne=cf(u,m,_);m=Ne<<3&224|df(u,m)>>3,q[Be+0]=248&fd(u,_)|Ne>>5,q[Be+1]=m}function hf(u,m,_,q,Be){var Ne=240&df(u,m)|15;q[Be+0]=240&fd(u,_)|cf(u,m,_)>>4,q[Be+1]=Ne}function Jh(u,m,_,q,Be){q[Be+0]=255,hd(u,m,_,q,Be+1)}function qh(u,m,_,q,Be){Ms(u,m,_,q,Be),q[Be+3]=255}function al(u,m,_,q,Be){hd(u,m,_,q,Be),q[Be+3]=255}function Tc(u,m,_){xt[u]=function(q,Be,Ne,De,Ze,Ge,dt,Wt,mn){for(var ft=Wt+(-2&mn)*_;Wt!=ft;)m(q[Be+0],Ne[De+0],Ze[Ge+0],dt,Wt),m(q[Be+1],Ne[De+0],Ze[Ge+0],dt,Wt+_),Be+=2,++De,++Ge,Wt+=2*_;1&mn&&m(q[Be+0],Ne[De+0],Ze[Ge+0],dt,Wt)}}function qf(u,m,_){return _==0?u==0?m==0?6:5:m==0?4:0:_}function sp(u,m,_,q,Be){switch(u>>>30){case 3:vf(m,_,q,Be,0);break;case 2:eu(m,_,q,Be);break;case 1:Ra(m,_,q,Be)}}function ql(u,m){var _,q,Be=m.M,Ne=m.Nb,De=u.oc,Ze=u.pc+40,Ge=u.oc,dt=u.pc+584,Wt=u.oc,mn=u.pc+600;for(_=0;16>_;++_)De[Ze+32*_-1]=129;for(_=0;8>_;++_)Ge[dt+32*_-1]=129,Wt[mn+32*_-1]=129;for(0_;++_)r(De,Ze+32*_-4,De,Ze+32*_+12,4);for(_=-1;8>_;++_)r(Ge,dt+32*_-4,Ge,dt+32*_+4,4),r(Wt,mn+32*_-4,Wt,mn+32*_+4,4)}var Xt=u.Gd,ln=u.Hd+q,Hn=ft.ad,pn=ft.Hc;if(0=u.za-1?o(Zn,Wn,Xt[ln].y[15],4):r(Zn,Wn,Xt[ln+1].y,0,4)),_=0;4>_;_++)Zn[Wn+128+_]=Zn[Wn+256+_]=Zn[Wn+384+_]=Zn[Wn+0+_];for(_=0;16>_;++_,pn<<=2)Zn=De,Wn=Ze+wm[_],Uu[ft.Ob[_]](Zn,Wn),sp(pn,Hn,16*+_,Zn,Wn)}else if(Zn=qf(q,Be,ft.Ob[0]),bd[Zn](De,Ze),pn!=0)for(_=0;16>_;++_,pn<<=2)sp(pn,Hn,16*+_,De,Ze+wm[_]);for(_=ft.Gc,Zn=qf(q,Be,ft.Dd),jc[Zn](Ge,dt),jc[Zn](Wt,mn),pn=Hn,Zn=Ge,Wn=dt,255&(ft=0|_)&&(170&ft?Ac(pn,256,Zn,Wn):Ja(pn,256,Zn,Wn)),ft=Wt,pn=mn,255&(_>>=8)&&(170&_?Ac(Hn,320,ft,pn):Ja(Hn,320,ft,pn)),Be_;++_)r(Xt,ln+_*u.R,De,Ze+32*_,16);for(_=0;8>_;++_)r(Hn,ft+_*u.B,Ge,dt+32*_,8),r(pn,Zn+_*u.B,Wt,mn+32*_,8)}}function pf(u,m,_,q,Be,Ne,De,Ze,Ge){var dt=[0],Wt=[0],mn=0,ft=Ge!=null?Ge.kd:0,Xt=Ge!=null?Ge:new or;if(u==null||12>_)return 7;Xt.data=u,Xt.w=m,Xt.ha=_,m=[m],_=[_],Xt.gb=[Xt.gb];e:{var ln=m,Hn=_,pn=Xt.gb;if(n(u!=null),n(Hn!=null),n(pn!=null),pn[0]=0,12<=Hn[0]&&!t(u,ln[0],"RIFF")){if(t(u,ln[0]+8,"WEBP")){pn=3;break e}var Zn=Oo(u,ln[0]+4);if(12>Zn||4294967286Hn[0]-8){pn=7;break e}pn[0]=Zn,ln[0]+=12,Hn[0]-=12}pn=0}if(pn!=0)return pn;for(Zn=0pn[0])pn=7;else{if(!t(Wn,Hn[0],"VP8X")){if(Oo(Wn,Hn[0]+4)!=10){pn=3;break e}if(18>pn[0]){pn=7;break e}var fo=Oo(Wn,Hn[0]+8),Qi=1+Wr(Wn,Hn[0]+12);if(2147483648<=Qi*(Wn=1+Wr(Wn,Hn[0]+15))){pn=3;break e}Fo!=null&&(Fo[0]=fo),wr!=null&&(wr[0]=Qi),ir!=null&&(ir[0]=Wn),Hn[0]+=18,pn[0]-=18,yo[0]=1}pn=0}}if(mn=mn[0],ln=ln[0],pn!=0)return pn;if(Hn=!!(2&ln),!Zn&&mn)return 3;if(Ne!=null&&(Ne[0]=!!(16&ln)),De!=null&&(De[0]=Hn),Ze!=null&&(Ze[0]=0),De=dt[0],ln=Wt[0],mn&&Hn&&Ge==null){pn=0;break}if(4>_){pn=7;break}if(Zn&&mn||!Zn&&!mn&&!t(u,m[0],"ALPH")){_=[_],Xt.na=[Xt.na],Xt.P=[Xt.P],Xt.Sa=[Xt.Sa];e:{fo=u,pn=m,Zn=_;var yo=Xt.gb;wr=Xt.na,ir=Xt.P,Fo=Xt.Sa,Qi=22,n(fo!=null),n(Zn!=null),Wn=pn[0];var fa=Zn[0];for(n(wr!=null),n(Fo!=null),wr[0]=null,ir[0]=null,Fo[0]=0;;){if(pn[0]=Wn,Zn[0]=fa,8>fa){pn=7;break e}var ws=Oo(fo,Wn+4);if(4294967286yo){pn=3;break e}if(!t(fo,Wn,"VP8 ")||!t(fo,Wn,"VP8L")){pn=0;break e}if(fa[0]Zn[0])pn=7;else{if(Wn||Qi){if(yo=Oo(yo,fo+4),12<=wr&&yo>wr-12){pn=3;break e}if(ft&&yo>Zn[0]-8){pn=7;break e}ir[0]=yo,pn[0]+=8,Zn[0]-=8,Fo[0]=Qi}else Fo[0]=5<=Zn[0]&&yo[fo+0]==47&&!(yo[fo+4]>>5),ir[0]=Zn[0];pn=0}if(_=_[0],Xt.Ja=Xt.Ja[0],Xt.xa=Xt.xa[0],m=m[0],pn!=0)break;if(4294967286_){pn=7;break}Ze=De,ft=ln,Hn=Ne,u==null||5>_?u=0:5<=_&&u[m+0]==47&&!(u[m+4]>>5)?(Zn=[0],yo=[0],wr=[0],Tn(ir=new bt,u,m,_),Sc(ir,Zn,yo,wr)?(Ze!=null&&(Ze[0]=Zn[0]),ft!=null&&(ft[0]=yo[0]),Hn!=null&&(Hn[0]=wr[0]),u=1):u=0):u=0}else{if(10>_){pn=7;break}Ze=ln,u==null||10>_||!Y0(u,m+3,_-3)?u=0:(ft=u[m+0]|u[m+1]<<8|u[m+2]<<16,Hn=16383&(u[m+7]<<8|u[m+6]),u=16383&(u[m+9]<<8|u[m+8]),1&ft||3<(ft>>1&7)||!(ft>>4&1)||ft>>5>=Xt.Ja||!Hn||!u?u=0:(De&&(De[0]=Hn),Ze&&(Ze[0]=u),u=1))}if(!u||(De=De[0],ln=ln[0],mn&&(dt[0]!=De||Wt[0]!=ln)))return 3;Ge!=null&&(Ge[0]=Xt,Ge.offset=m-Ge.w,n(4294967286>m-Ge.w),n(Ge.offset==Ge.ha-_));break}return pn==0||pn==7&&mn&&Ge==null?(Ne!=null&&(Ne[0]|=Xt.na!=null&&0_||(Ne&=-2,De&=-2),0>Ne||0>De||0>=Ze||0>=Ge||Ne+Ze>q||De+Ge>Be))return 0;if(m.v=Ne,m.j=De,m.va=Ne+Ze,m.o=De+Ge,m.U=Ze,m.T=Ge,m.da=u!=null&&0u.S){var m=u.f.RGBA;m.fb+=(u.height-1)*m.A,m.A=-m.A}else m=u.f.kb,u=u.height,m.O+=(u-1)*m.fa,m.fa=-m.fa,m.N+=(u-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(u-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(u-1)*m.lb,m.lb=-m.lb);return 0}function pd(u,m,_,q){if(q==null||0>=u||0>=m)return 2;if(_!=null){if(_.Da){var Be=_.cd,Ne=_.bd,De=-2&_.v,Ze=-2&_.j;if(0>De||0>Ze||0>=Be||0>=Ne||De+Be>u||Ze+Ne>m)return 2;u=Be,m=Ne}if(_.da){if(!Go(u,m,Be=[_.ib],Ne=[_.hb]))return 2;u=Be[0],m=Ne[0]}}q.width=u,q.height=m;e:{var Ge=q.width,dt=q.height;if(u=q.S,0>=Ge||0>=dt||!(u>=dp&&13>u))u=2;else{if(0>=q.Rd&&q.sd==null){De=Ne=Be=m=0;var Wt=(Ze=Ge*Bm[u])*dt;if(11>u||(Ne=(dt+1)/2*(m=(Ge+1)/2),u==12&&(De=(Be=Ge)*dt)),(dt=l(Wt+2*Ne+De))==null){u=1;break e}q.sd=dt,11>u?((Ge=q.f.RGBA).eb=dt,Ge.fb=0,Ge.A=Ze,Ge.size=Wt):((Ge=q.f.kb).y=dt,Ge.O=0,Ge.fa=Ze,Ge.Fd=Wt,Ge.f=dt,Ge.N=0+Wt,Ge.Ab=m,Ge.Cd=Ne,Ge.ea=dt,Ge.W=0+Wt+Ne,Ge.Db=m,Ge.Ed=Ne,u==12&&(Ge.F=dt,Ge.J=0+Wt+2*Ne),Ge.Tc=De,Ge.lb=Be)}if(m=1,Be=q.S,Ne=q.width,De=q.height,Be>=dp&&13>Be)if(11>Be)u=q.f.RGBA,m&=(Ze=Math.abs(u.A))*(De-1)+Ne<=u.size,m&=Ze>=Ne*Bm[Be],m&=u.eb!=null;else{u=q.f.kb,Ze=(Ne+1)/2,Wt=(De+1)/2,Ge=Math.abs(u.fa),dt=Math.abs(u.Ab);var mn=Math.abs(u.Db),ft=Math.abs(u.lb),Xt=ft*(De-1)+Ne;m&=Ge*(De-1)+Ne<=u.Fd,m&=dt*(Wt-1)+Ze<=u.Cd,m=(m&=mn*(Wt-1)+Ze<=u.Ed)&Ge>=Ne&dt>=Ze&mn>=Ze,m&=u.y!=null,m&=u.f!=null,m&=u.ea!=null,Be==12&&(m&=ft>=Ne,m&=Xt<=u.Tc,m&=u.F!=null)}else m=0;u=m?0:2}}return u!=0||_!=null&&_.fd&&(u=t0(q)),u}var gf=64,Ql=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Ol=24,gd=32,Rc=8,md=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];po("Predictor0","PredictorAdd0"),xt.Predictor0=function(){return 4278190080},xt.Predictor1=function(u){return u},xt.Predictor2=function(u,m,_){return m[_+0]},xt.Predictor3=function(u,m,_){return m[_+1]},xt.Predictor4=function(u,m,_){return m[_-1]},xt.Predictor5=function(u,m,_){return Ro(Ro(u,m[_+1]),m[_+0])},xt.Predictor6=function(u,m,_){return Ro(u,m[_-1])},xt.Predictor7=function(u,m,_){return Ro(u,m[_+0])},xt.Predictor8=function(u,m,_){return Ro(m[_-1],m[_+0])},xt.Predictor9=function(u,m,_){return Ro(m[_+0],m[_+1])},xt.Predictor10=function(u,m,_){return Ro(Ro(u,m[_-1]),Ro(m[_+0],m[_+1]))},xt.Predictor11=function(u,m,_){var q=m[_+0];return 0>=vi(q>>24&255,u>>24&255,(m=m[_-1])>>24&255)+vi(q>>16&255,u>>16&255,m>>16&255)+vi(q>>8&255,u>>8&255,m>>8&255)+vi(255&q,255&u,255&m)?q:u},xt.Predictor12=function(u,m,_){var q=m[_+0];return(Pa((u>>24&255)+(q>>24&255)-((m=m[_-1])>>24&255))<<24|Pa((u>>16&255)+(q>>16&255)-(m>>16&255))<<16|Pa((u>>8&255)+(q>>8&255)-(m>>8&255))<<8|Pa((255&u)+(255&q)-(255&m)))>>>0},xt.Predictor13=function(u,m,_){var q=m[_-1];return(oa((u=Ro(u,m[_+0]))>>24&255,q>>24&255)<<24|oa(u>>16&255,q>>16&255)<<16|oa(u>>8&255,q>>8&255)<<8|oa(255&u,255&q))>>>0};var n0=xt.PredictorAdd0;xt.PredictorAdd1=da,po("Predictor2","PredictorAdd2"),po("Predictor3","PredictorAdd3"),po("Predictor4","PredictorAdd4"),po("Predictor5","PredictorAdd5"),po("Predictor6","PredictorAdd6"),po("Predictor7","PredictorAdd7"),po("Predictor8","PredictorAdd8"),po("Predictor9","PredictorAdd9"),po("Predictor10","PredictorAdd10"),po("Predictor11","PredictorAdd11"),po("Predictor12","PredictorAdd12"),po("Predictor13","PredictorAdd13");var eh=xt.PredictorAdd2;Uo("ColorIndexInverseTransform","MapARGB","32b",function(u){return u>>8&255},function(u){return u}),Uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(u){return u},function(u){return u>>8&255});var ns,lp=xt.ColorIndexInverseTransform,ic=xt.MapARGB,ac=xt.VP8LColorIndexInverseTransformAlpha,r0=xt.MapAlpha,o0=xt.VP8LPredictorsAdd=[];o0.length=16,(xt.VP8LPredictors=[]).length=16,(xt.VP8LPredictorsAdd_C=[]).length=16,(xt.VP8LPredictors_C=[]).length=16;var i0,a0,vd,yd,wd,mf,Bd,vf,eu,Ac,Ra,Ja,rs,ys,_c,A0,th,up,$g,Xg,Yg,Jg,qg,em,s0,tm,nm,rm,om=l(511),im=l(2041),am=l(225),Am=l(767),sm=0,ug=im,cp=am,Dl=Am,tu=om,dp=0,fp=1,lm=2,hp=3,pp=4,cg=5,um=6,dg=7,fg=8,gp=9,hg=10,ev=[2,3,7],tv=[3,3,11],cm=[280,256,256,256,40],nv=[0,1,1,1,0],rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],ov=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],iv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],av=8,pg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],gg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,Av=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],uv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],bd=[],Uu=[],jc=[],fv=1,fm=2,Cd=[],nu=[];Pc("UpsampleRgbLinePair",hd,3),Pc("UpsampleBgrLinePair",Ms,3),Pc("UpsampleRgbaLinePair",al,4),Pc("UpsampleBgraLinePair",qh,4),Pc("UpsampleArgbLinePair",Jh,4),Pc("UpsampleRgba4444LinePair",hf,2),Pc("UpsampleRgb565LinePair",ff,2);var hv=xt.UpsampleRgbLinePair,pv=xt.UpsampleBgrLinePair,hm=xt.UpsampleRgbaLinePair,pm=xt.UpsampleBgraLinePair,gm=xt.UpsampleArgbLinePair,mm=xt.UpsampleRgba4444LinePair,gv=xt.UpsampleRgb565LinePair,mp=16,vp=1<q.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),q.ca.f.kb.F!=null&&Iu()),q.Pb&&0(Ge=_.Md)?0:100dt;++dt)12>(mn=Be.pb[dt]).lc&&(mn.ia=Ge*Ev[0>mn.lc?0:mn.lc]>>3),Wt|=mn.ia;Wt&&(alert("todo:VP8InitRandom"),Be.ia=1)}Be.Ga=_.Id,100Be.Ga&&(Be.Ga=0)}(function(ft,Xt){if(ft==null)return 0;if(Xt==null)return ls(ft,2,"NULL VP8Io parameter in VP8Decode().");if(!ft.cb&&!rc(ft,Xt))return 0;if(n(ft.cb),Xt.ac==null||Xt.ac(Xt)){Xt.ob&&(ft.L=0);var ln=yp[ft.L];if(ft.L==2?(ft.yb=0,ft.zb=0):(ft.yb=Xt.v-ln>>4,ft.zb=Xt.j-ln>>4,0>ft.yb&&(ft.yb=0),0>ft.zb&&(ft.zb=0)),ft.Va=Xt.o+15+ln>>4,ft.Hb=Xt.va+15+ln>>4,ft.Hb>ft.za&&(ft.Hb=ft.za),ft.Va>ft.Ub&&(ft.Va=ft.Ub),0ln;++ln){var pn;if(ft.Qa.Cb){var Zn=ft.Qa.Lb[ln];ft.Qa.Fb||(Zn+=Hn.Tb)}else Zn=Hn.Tb;for(pn=0;1>=pn;++pn){var Wn=ft.gd[ln][pn],wr=Zn;if(Hn.Pc&&(wr+=Hn.vd[0],pn&&(wr+=Hn.od[0])),0<(wr=0>wr?0:63>2:ir>>1)>9-Hn.wb&&(ir=9-Hn.wb),1>ir&&(ir=1),Wn.dd=ir,Wn.tc=2*wr+ir,Wn.ld=40<=wr?2:15<=wr?1:0}else Wn.tc=0;Wn.La=pn}}}ln=0}else ls(ft,6,"Frame setup failed"),ln=ft.a;if(ln=ln==0){if(ln){ft.$c=0,0ft.Vb){if(ft.Vb=0,ft.Ec=l(Wn),ft.Fc=0,ft.Ec==null){ln=ls(ft,1,"no memory during frame initialization.");break t}ft.Vb=Wn}Wn=ft.Ec,wr=ft.Fc,ft.Ac=Wn,ft.Bc=wr,wr+=Hn,ft.Gd=w(Fo,$0),ft.Hd=0,ft.rb=w(fo+1,Hh),ft.sb=1,ft.wa=Qi?w(Qi,Yl):null,ft.Y=0,ft.D.Nb=0,ft.D.wa=ft.wa,ft.D.Y=ft.Y,0=ln;++ln)om[255+ln]=0>ln?-ln:ln;for(ln=-1020;1020>=ln;++ln)im[1020+ln]=-128>ln?-128:127=ln;++ln)am[112+ln]=-16>ln?-16:15=ln;++ln)Am[255+ln]=0>ln?0:255ya;++ya){var Bs,Ea=Al[0+ya];for(Bs=0;4>Bs;++Bs){Ea=uv[mA[Hs+Bs]][Ea];for(var za=dm[Xn(wi,Ea[0])];0>3;for(za=0;256>za;za+=16)ya[el+za]=bl}ks=1,Lu=Hs[0]}var qa=15&wi.la,bs=15&sl.la;for(za=0;4>za;++za){var Pl=1&bs;for(bl=Za=0;4>bl;++bl)qa=qa>>1|(Pl=(is=l0(mA,Lu,is=Pl+(1&qa),WA.Sc,ks,ya,el))>ks)<<7,Za=Za<<2|(3>=4,bs=bs>>1|Pl<<7,Bs=(Bs<<8|Za)>>>0}for(Lu=qa,ks=bs>>4,GA=0;4>GA;GA+=2){for(Za=0,qa=wi.la>>4+GA,bs=sl.la>>4+GA,za=0;2>za;++za){for(Pl=1&bs,bl=0;2>bl;++bl)is=Pl+(1&qa),qa=qa>>1|(Pl=0<(is=l0(mA,Hs[2],is,WA.Qc,0,ya,el)))<<3,Za=Za<<2|(3>=2,bs=bs>>1|Pl<<5}Ea|=Za<<4*GA,Lu|=qa<<4<=wo.zb&&wo.M<=wo.Va,wo.Aa==0)t:{if(Oi.M=wo.M,Oi.uc=wi,ql(wo,Oi),os=1,Oi=(Za=wo.D).Nb,wi=(Ea=yp[wo.L])*wo.R,mA=Ea/2*wo.B,za=16*Oi*wo.R,bl=8*Oi*wo.B,Hs=wo.sa,Al=wo.ta-wi+za,WA=wo.qa,ya=wo.ra-mA+bl,el=wo.Ha,sl=wo.Ia-mA+bl,bs=(qa=Za.M)==0,Bs=qa>=wo.Va-1,wo.Aa==2&&ql(wo,Za),Za.uc)for(Pl=(is=wo).D.M,n(is.D.uc),Za=is.yb;ZaKr.o&&(qa=Kr.o),Kr.F=null,Kr.J=null,wo.Fa!=null&&0>1),Kr.W+=wo.B*(Ea>>1),Kr.F!=null&&(Kr.J+=Kr.width*Ea)),Za>1,Kr.W+=Kr.v>>1,Kr.F!=null&&(Kr.J+=Kr.v),Kr.ka=Za-Kr.j,Kr.U=Kr.va-Kr.v,Kr.T=qa-Za,os=Kr.put(Kr))}Oi+1!=wo.Ic||Bs||(r(wo.sa,wo.ta-wi,Hs,Al+16*wo.R,wi),r(wo.qa,wo.ra-mA,WA,ya+8*wo.B,mA),r(wo.Ha,wo.Ia-mA,el,sl+8*wo.B,mA))}if(!os)return ls(fa,6,"Output aborted.")}return 1}(ft,Xt)),Xt.bc!=null&&Xt.bc(Xt),ln&=1}return ln?(ft.cb=0,ln):0})(u,q)||(m=u.a)}}else m=u.a}m==0&&De.Oa!=null&&De.Oa.fd&&(m=t0(De.ba))}De=m}Ne=De!=0?null:11>Ne?Ze.f.RGBA.eb:Ze.f.kb.y}else Ne=null;return Ne};var Bm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Q(xt,sn){for(var _e="",st=0;st<4;st++)_e+=String.fromCharCode(xt[sn++]);return _e}function V(xt,sn){return xt[sn+0]|xt[sn+1]<<8}function fe(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16)>>>0}function Le(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16|xt[sn+3]<<24)>>>0}new S;var z=[0],it=[0],qe=[],At=new S,Me=e,Mt=function(xt,sn){var _e={},st=0,jt=!1,Rt=0,bn=0;if(_e.frames=[],!function(Pe,bt){for(var Ut=0;Ut<4;Ut++)if(Pe[bt+Ut]!="RIFF".charCodeAt(Ut))return!0;return!1}(xt,sn)){for(Le(xt,sn+=4),sn+=8;sn>1&1}Fn!="ANMF"&&(sn+=gn)}return _e}}(Me,0);Mt.response=Me,Mt.rgbaoutput=!0,Mt.dataurl=!1;var Dt=Mt.header?Mt.header:null,Ct=Mt.frames?Mt.frames:null;if(Dt){Dt.loop_counter=Dt.loop_count,z=[Dt.canvas_height],it=[Dt.canvas_width];for(var vn=0;vn=2?lt[1]:Xr[0],Xr[2]=lt.length>=3?lt[2]:Xr[0],Xr[3]=lt.length>=4?lt[3]:Xr[1]),Q.margin=Xr}});var Un=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Un},set:function(lt){Un=lt}});var Dn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Dn},set:function(lt){Dn=lt}});var Xn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Xn},set:function(lt){Xn=lt}}),Object.defineProperty(this,"ctx",{get:function(){return Q},set:function(lt){lt instanceof V&&(Q=lt)}}),Object.defineProperty(this,"path",{get:function(){return Q.path},set:function(lt){Q.path=lt}});var Br=[];Object.defineProperty(this,"ctxStack",{get:function(){return Br},set:function(lt){Br=lt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(lt){var Xr;Xr=Le(lt),this.ctx.fillStyle=Xr.style,this.ctx.isFillTransparent=Xr.a===0,this.ctx.fillOpacity=Xr.a,this.pdf.setFillColor(Xr.r,Xr.g,Xr.b,{a:Xr.a}),this.pdf.setTextColor(Xr.r,Xr.g,Xr.b,{a:Xr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(lt){var Xr=Le(lt);this.ctx.strokeStyle=Xr.style,this.ctx.isStrokeTransparent=Xr.a===0,this.ctx.strokeOpacity=Xr.a,Xr.a===0?this.pdf.setDrawColor(255,255,255):(Xr.a,this.pdf.setDrawColor(Xr.r,Xr.g,Xr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(lt){["butt","round","square"].indexOf(lt)!==-1&&(this.ctx.lineCap=lt,this.pdf.setLineCap(lt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(lt){isNaN(lt)||(this.ctx.lineWidth=lt,this.pdf.setLineWidth(lt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(lt){["bevel","round","miter"].indexOf(lt)!==-1&&(this.ctx.lineJoin=lt,this.pdf.setLineJoin(lt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(lt){isNaN(lt)||(this.ctx.miterLimit=lt,this.pdf.setMiterLimit(lt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(lt){this.ctx.textBaseline=lt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(lt){["right","end","center","left","start"].indexOf(lt)!==-1&&(this.ctx.textAlign=lt)}});var $r=null,Wr=null,Oo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Oo},set:function(lt){$r=null,Wr=null,Oo=lt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(lt){var Xr;if(this.ctx.font=lt,(Xr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(lt))!==null){var _i=Xr[1];Xr[2];var Go=Xr[3],fr=Xr[4];Xr[5];var $o=Xr[6],po=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(fr)[2];fr=Math.floor(po==="px"?parseFloat(fr)*this.pdf.internal.scaleFactor:po==="em"?parseFloat(fr)*this.pdf.getFontSize():parseFloat(fr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(fr);var ko=function(Uo){var ts,ba,Hi=[],ki=Uo.trim();if(ki==="")return Zp;if(ki in $u)return[$u[ki]];for(;ki!=="";){switch(ba=null,ts=(ki=Xu(ki)).charAt(0)){case'"':case"'":ba=Bu(ki.substring(1),ts);break;default:ba=ud(ki)}if(ba===null||(Hi.push(ba[0]),(ki=Xu(ba[1]))!==""&&ki.charAt(0)!==","))return Zp;ki=ki.replace(/^,/,"")}return Hi}($o);if(this.fontFaces){var Ro=function(Uo,ts){var ba=Uo.getFontList(),Hi=JSON.stringify(ba);if($r===null||Wr!==Hi){var ki=function(xA){var jo=[];return Object.keys(xA).forEach(function(iA){xA[iA].forEach(function(ni){var yi=null;switch(ni){case"bold":yi={family:iA,weight:"bold"};break;case"italic":yi={family:iA,style:"italic"};break;case"bolditalic":yi={family:iA,weight:"bold",style:"italic"};break;case"":case"normal":yi={family:iA}}yi!==null&&(yi.ref={name:iA,style:ni},jo.push(yi))})}),jo}(ba);$r=function(xA){for(var jo={},iA=0;iA=700||_i==="bold")&&(vi="bold"),_i==="italic"&&(vi+="italic"),vi.length===0&&(vi="normal");for(var da="",ia={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Eo=0;Eo=2*Math.PI&&(Ht=0,Jt=2*Math.PI),this.path.push({type:"arc",x:Pe,y:bt,radius:Ut,startAngle:Ht,endAngle:Jt,counterclockwise:hn})},fe.prototype.arcTo=function(Pe,bt,Ut,Ht,Jt){throw new Error("arcTo not implemented.")},fe.prototype.rect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,bt),this.lineTo(Pe+Ut,bt),this.lineTo(Pe+Ut,bt+Ht),this.lineTo(Pe,bt+Ht),this.lineTo(Pe,bt),this.lineTo(Pe+Ut,bt),this.lineTo(Pe,bt)},fe.prototype.fillRect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!z.call(this)){var Jt={};this.lineCap!=="butt"&&(Jt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Jt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,bt,Ut,Ht),this.fill(),Jt.hasOwnProperty("lineCap")&&(this.lineCap=Jt.lineCap),Jt.hasOwnProperty("lineJoin")&&(this.lineJoin=Jt.lineJoin)}},fe.prototype.strokeRect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");it.call(this)||(this.beginPath(),this.rect(Pe,bt,Ut,Ht),this.stroke())},fe.prototype.clearRect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,bt,Ut,Ht))},fe.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ut=0;Ut0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};fe.prototype.drawImage=function(Pe,bt,Ut,Ht,Jt,hn,Un,Dn,Xn){var Br=this.pdf.getImageProperties(Pe),$r=1,Wr=1,Oo=1,lt=1;Ht!==void 0&&Dn!==void 0&&(Oo=Dn/Ht,lt=Xn/Jt,$r=Br.width/Ht*Dn/Ht,Wr=Br.height/Jt*Xn/Jt),hn===void 0&&(hn=bt,Un=Ut,bt=0,Ut=0),Ht!==void 0&&Dn===void 0&&(Dn=Ht,Xn=Jt),Ht===void 0&&Dn===void 0&&(Dn=Br.width,Xn=Br.height);var Xr=this.ctx.transform.decompose(),_i=gn(Xr.rotate.shx),Go=new S,fr=(Go=(Go=(Go=Go.multiply(Xr.translate)).multiply(Xr.skew)).multiply(Xr.scale)).applyToRectangle(new y(hn-bt*Oo,Un-Ut*lt,Ht*$r,Jt*Wr));if(this.autoPaging){for(var $o,po=At.call(this,fr),ko=[],Ro=0;RoPa||vifr||po<$o)&&qe.call(this);ia&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ko,oa,null).clip().discardPath()),vn.call(this,Pe,bt),ia&&this.pdf.restoreGraphicsState()}this.lineWidth=hn}this.path=$r}else this.lineWidth=Un,vn.call(this,Pe,bt),this.lineWidth=hn},vn=function(Pe,bt){if((Pe!=="stroke"||bt||!it.call(this))&&(Pe==="stroke"||bt||!z.call(this))){for(var Ut,Ht,Jt=[],hn=this.path,Un=0;Un0)){for(;Xn>=0;Xn--)if(Jt[Xn-1].close!==!0&&Jt[Xn-1].begin!==!0){Jt[Xn-1].deltas.push(Ut),Jt[Xn-1].abs.push(Dn);break}}break;case"bct":Ut=[Dn.x1-hn[Un-1].x,Dn.y1-hn[Un-1].y,Dn.x2-hn[Un-1].x,Dn.y2-hn[Un-1].y,Dn.x-hn[Un-1].x,Dn.y-hn[Un-1].y],Jt[Jt.length-1].deltas.push(Ut);break;case"qct":var Br=hn[Un-1].x+2/3*(Dn.x1-hn[Un-1].x),$r=hn[Un-1].y+2/3*(Dn.y1-hn[Un-1].y),Wr=Dn.x+2/3*(Dn.x1-Dn.x),Oo=Dn.y+2/3*(Dn.y1-Dn.y),lt=Dn.x,Xr=Dn.y;Ut=[Br-hn[Un-1].x,$r-hn[Un-1].y,Wr-hn[Un-1].x,Oo-hn[Un-1].y,lt-hn[Un-1].x,Xr-hn[Un-1].y],Jt[Jt.length-1].deltas.push(Ut);break;case"arc":Jt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Jt[Jt.length-1].abs)&&Jt[Jt.length-1].abs.push(Dn)}}Ht=bt?null:Pe==="stroke"?"stroke":"fill";for(var _i=!1,Go=0;Go=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale);var Si=this.autoPaging!=="text";if(Si||Eo.y+Eo.h<=Ro){if(Si||Eo.y>=po&&Eo.x<=oa){var Uo=Si?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||oa-Eo.x)[0],ts=Mt([JSON.parse(JSON.stringify(Wr))],this.posX+this.margin[3],-da+po+this.ctx.prevPageLastElemOffset)[0],ba=Si&&($o>Go||$o=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)}}else Pe.scale>=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale),this.pdf.text(Pe.text,Xn.x+this.posX,Xn.y+this.posY,{angle:Pe.angle,align:bt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)},jt=function(Pe,bt,Ut,Ht){Ut=Ut||0,Ht=Ht||0,this.pdf.internal.out(t(Pe+Ut)+" "+r(bt+Ht)+" l")},Rt=function(Pe,bt,Ut){return this.pdf.lines(Pe,bt,Ut,null,null)},bn=function(Pe,bt,Ut,Ht,Jt,hn,Un,Dn){this.pdf.internal.out([n(o(Ut+Pe)),n(l(Ht+bt)),n(o(Jt+Pe)),n(l(hn+bt)),n(o(Un+Pe)),n(l(Dn+bt)),"c"].join(" "))},Fn=function(Pe,bt,Ut,Ht){for(var Jt=2*Math.PI,hn=Math.PI/2;bt>Ut;)bt-=Jt;var Un=Math.abs(Ut-bt);Un1e-5;){var $r=Br+Xn*Math.min(Un,hn);Dn.push(Nn.call(this,Pe,Br,$r)),Un-=Math.abs($r-Br),Br=$r}return Dn},Nn=function(Pe,bt,Ut){var Ht=(Ut-bt)/2,Jt=Pe*Math.cos(Ht),hn=Pe*Math.sin(Ht),Un=Jt,Dn=-hn,Xn=Un*Un+Dn*Dn,Br=Xn+Un*Jt+Dn*hn,$r=4/3*(Math.sqrt(2*Xn*Br)-Br)/(Un*hn-Dn*Jt),Wr=Un-$r*Dn,Oo=Dn+$r*Un,lt=Wr,Xr=-Oo,_i=Ht+bt,Go=Math.cos(_i),fr=Math.sin(_i);return{x1:Pe*Math.cos(bt),y1:Pe*Math.sin(bt),x2:Wr*Go-Oo*fr,y2:Wr*fr+Oo*Go,x3:lt*Go-Xr*fr,y3:lt*fr+Xr*Go,x4:Pe*Math.cos(Ut),y4:Pe*Math.sin(Ut)}},gn=function(Pe){return 180*Pe/Math.PI},Tn=function(Pe,bt,Ut,Ht,Jt,hn){var Un=Pe+.5*(Ut-Pe),Dn=bt+.5*(Ht-bt),Xn=Jt+.5*(Ut-Jt),Br=hn+.5*(Ht-hn),$r=Math.min(Pe,Jt,Un,Xn),Wr=Math.max(Pe,Jt,Un,Xn),Oo=Math.min(bt,hn,Dn,Br),lt=Math.max(bt,hn,Dn,Br);return new y($r,Oo,Wr-$r,lt-Oo)},Ir=function(Pe,bt,Ut,Ht,Jt,hn,Un,Dn){var Xn,Br,$r,Wr,Oo,lt,Xr,_i,Go,fr,$o,po,ko,Ro,Pa=Ut-Pe,oa=Ht-bt,vi=Jt-Ut,da=hn-Ht,ia=Un-Jt,Eo=Dn-hn;for(Br=0;Br<41;Br++)Go=(Xr=($r=Pe+(Xn=Br/40)*Pa)+Xn*((Oo=Ut+Xn*vi)-$r))+Xn*(Oo+Xn*(Jt+Xn*ia-Oo)-Xr),fr=(_i=(Wr=bt+Xn*oa)+Xn*((lt=Ht+Xn*da)-Wr))+Xn*(lt+Xn*(hn+Xn*Eo-lt)-_i),Br==0?($o=Go,po=fr,ko=Go,Ro=fr):($o=Math.min($o,Go),po=Math.min(po,fr),ko=Math.max(ko,Go),Ro=Math.max(Ro,fr));return new y(Math.round($o),Math.round(po),Math.round(ko-$o),Math.round(Ro-po))},rr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,bt,Ut=(Pe=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:bt}));this.prevLineDash!==Ut&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ut)}}})(vo.API),function(e){var n=function(w){var y,S,Q,V,fe,Le,z,it,qe,At;for(/[^\x00-\xFF]/.test(w),S=[],Q=0,V=(w+=y="\0\0\0\0".slice(w.length%4||4)).length;V>Q;Q+=4)(fe=(w.charCodeAt(Q)<<24)+(w.charCodeAt(Q+1)<<16)+(w.charCodeAt(Q+2)<<8)+w.charCodeAt(Q+3))!==0?(Le=(fe=((fe=((fe=((fe=(fe-(At=fe%85))/85)-(qe=fe%85))/85)-(it=fe%85))/85)-(z=fe%85))/85)%85,S.push(Le+33,z+33,it+33,qe+33,At+33)):S.push(122);return function(Me,Mt){for(var Dt=Mt;Dt>0;Dt--)Me.pop()}(S,y.length),String.fromCharCode.apply(String,S)+"~>"},t=function(w){var y,S,Q,V,fe,Le=String,z="length",it=255,qe="charCodeAt",At="slice",Me="replace";for(w[At](-2),w=w[At](0,-2)[Me](/\s/g,"")[Me]("z","!!!!!"),Q=[],V=0,fe=(w+=y="uuuuu"[At](w[z]%5||5))[z];fe>V;V+=5)S=52200625*(w[qe](V)-33)+614125*(w[qe](V+1)-33)+7225*(w[qe](V+2)-33)+85*(w[qe](V+3)-33)+(w[qe](V+4)-33),Q.push(it&S>>24,it&S>>16,it&S>>8,it&S);return function(Mt,Dt){for(var Ct=Dt;Ct>0;Ct--)Mt.pop()}(Q,y[z]),Le.fromCharCode.apply(Le,Q)},r=function(w){return w.split("").map(function(y){return("0"+y.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(w){var y=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((w=w.replace(/\s/g,"")).indexOf(">")!==-1&&(w=w.substr(0,w.indexOf(">"))),w.length%2&&(w+="0"),y.test(w)===!1)return"";for(var S="",Q=0;Qqe&&(it=At,At=qe,qe=it);else{if(y!=="l"&&y!=="landscape")throw"Invalid orientation: "+y;y="l",qe>At&&(it=At,At=qe,qe=it)}return{width:At,height:qe,unit:S,k:fe,orientation:y}},e.html=function(y,S){(S=S||{}).callback=S.callback||function(){},S.html2canvas=S.html2canvas||{},S.html2canvas.canvas=S.html2canvas.canvas||this.canvas,S.jsPDF=S.jsPDF||this,S.fontFaces=S.fontFaces?S.fontFaces.map(Bl):null;var Q=new w(S);return S.worker?Q:Q.from(y).doCallback()}}(vo.API),vo.API.addJS=function(e){return Og=e,this.internal.events.subscribe("postPutResources",function(){Yu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Yu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Qg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Og+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Yu!==void 0&&Qg!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),l=0;l> endobj")}var z=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+z+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,l){var w={title:o,options:l,children:[]};return r==null&&(r=this.root),r.children.push(w),w},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(w.children[0])),this.line("/Last "+this.makeRef(w.children[w.children.length-1])));var y=this.count=this.count_r({count:0},w);if(y>0&&this.line("/Count "+y),w.options&&w.options.pageNumber){var S=t.internal.getPageInfo(w.options.pageNumber);this.line("/Dest ["+S.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var Q=0;Q>"}),"transparency"in st&&Array.isArray(st.transparency)&&st.transparency.length>0){for(var Nn="",gn=0,Tn=st.transparency.length;gn>",qe.content=l;var Dt=qe.objId+" 0 R";l="<>";else if(r.options.pageNumber)switch(l="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length>=1};var Q=e.__arabicParser__.arabicLetterHasFinalForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length>=3};var V=e.__arabicParser__.arabicLetterHasMedialForm=function(qe){return w(qe)&&l(qe)&&n[qe.charCodeAt(0)].length==4},fe=e.__arabicParser__.resolveLigatures=function(qe){var At=0,Me=t,Mt="",Dt=0;for(At=0;At>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(y){t=y}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(y){r=isNaN(y)||Number.isInteger(y)===!1||y<0?150:y,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(y){o=isNaN(y)||Number.isInteger(y)===!1||y<0?300:y,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var l=[];Object.defineProperty(this,"childNodes",{get:function(){return l},set:function(y){l=y}});var w={};Object.defineProperty(this,"style",{get:function(){return w},set:function(y){w=y}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(vo.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new l,this.internal.__cell__.pages=1},l=function(){var S=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return S},set:function(qe){S=qe}});var Q=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Q},set:function(qe){Q=qe}});var V=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return V},set:function(qe){V=qe}});var fe=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return fe},set:function(qe){fe=qe}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(qe){Le=qe}});var z=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return z},set:function(qe){z=qe}});var it=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return it},set:function(qe){it=qe}}),this};l.prototype.clone=function(){return new l(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},l.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(S){return r.call(this),this.internal.__cell__.headerFunction=typeof S=="function"?S:void 0,this},e.getTextDimensions=function(S,Q){r.call(this);var V=(Q=Q||{}).fontSize||this.getFontSize(),fe=Q.font||this.getFont(),Le=Q.scaleFactor||this.internal.scaleFactor,z=0,it=0,qe=0,At=this;if(!Array.isArray(S)&&typeof S!="string"){if(typeof S!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");S=String(S)}var Me=Q.maxWidth;Me>0?typeof S=="string"?S=this.splitTextToSize(S,Me):Object.prototype.toString.call(S)==="[object Array]"&&(S=S.reduce(function(Dt,Ct){return Dt.concat(At.splitTextToSize(Ct,Me))},[])):S=Array.isArray(S)?S:[S];for(var Mt=0;Mtthis.getPageHeight()?(this.cellAddPage(),S.y=fe.top,z&&Le&&(this.printHeaderRow(S.lineNumber,!0),S.y+=Le[0].height)):S.y=Q.y+Q.height||S.y),S.text[0]!==void 0&&(this.rect(S.x,S.y,S.width,S.height,t===!0?"FD":void 0),S.align==="right"?this.text(S.text,S.x+S.width-V,S.y+V,{align:"right",baseline:"top"}):S.align==="center"?this.text(S.text,S.x+S.width/2,S.y+V,{align:"center",baseline:"top",maxWidth:S.width-V-V}):this.text(S.text,S.x+V,S.y+V,{align:"left",baseline:"top",maxWidth:S.width-V-V})),this.internal.__cell__.lastCell=S,this};e.table=function(S,Q,V,fe,Le){if(r.call(this),!V)throw new Error("No data for PDF table.");var z,it,qe,At,Me=[],Mt=[],Dt=[],Ct={},vn={},kn=[],In=[],Gt=(Le=Le||{}).autoSize||!1,xt=Le.printHeaders!==!1,sn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,_e=Le.margins||Object.assign({width:this.getPageWidth()},n),st=typeof Le.padding=="number"?Le.padding:3,jt=Le.headerBackgroundColor||"#c8c8c8",Rt=Le.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=xt,this.internal.__cell__.margins=_e,this.internal.__cell__.table_font_size=sn,this.internal.__cell__.padding=st,this.internal.__cell__.headerBackgroundColor=jt,this.internal.__cell__.headerTextColor=Rt,this.setFontSize(sn),fe==null)Mt=Me=Object.keys(V[0]),Dt=Me.map(function(){return"left"});else if(Array.isArray(fe)&&(0,s.Z)(fe[0])==="object")for(Me=fe.map(function(Ir){return Ir.name}),Mt=fe.map(function(Ir){return Ir.prompt||Ir.name||""}),Dt=fe.map(function(Ir){return Ir.align||"left"}),z=0;z0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(vo.API);var ss={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Us=Qa(yu),Rs=[100,200,300,400,500,600,700,800,900],bc=Qa(Rs);function Bl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(l){return ss[l=l||"normal"]?l:"normal"}(e.style),r=function(l){return l?typeof l=="number"?l>=100&&l<=900&&l%100==0?l:400:/^\d00$/.test(l)?parseInt(l):l==="bold"?700:400:400}(e.weight),o=function(l){return typeof Us[l=l||"normal"]=="number"?l:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function wu(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Hg(e,n,t){var r=e.length,o=[];o[0]=4;for(var l=0;l>l&w}function kg(e,n,t,r){var o=t*r,l=Math.floor(o/8),w=16-(o-8*l+r),y=(1<>8&255;Q.setUint8(V,Le)}})(e,l,Kg(e,l)&~(y<>7,w=1<<1+(7&o);e[n++],e[n++];var y=null,S=null;l&&(y=n,S=w,n+=3*w);var Q=!0,V=[],fe=0,Le=null,z=0,it=null;for(this.width=t,this.height=r;Q&&n=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var qe=e[n++];fe=e[n++]|e[n++]<<8,Le=e[n++],1&qe||(Le=null),z=qe>>2&7,n++;break;case 254:for(;;){if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var At=e[n++]|e[n++]<<8,Me=e[n++]|e[n++]<<8,Mt=e[n++]|e[n++]<<8,Dt=e[n++]|e[n++]<<8,Ct=e[n++],vn=Ct>>6&1,kn=1<<1+(7&Ct),In=y,Gt=S,xt=!1;Ct>>7&&(xt=!0,In=n,Gt=kn,n+=3*kn);var sn=n;for(n++;;){var _e;if(!((_e=e[n++])>=0))throw Error("Invalid block size");if(_e===0)break;n+=_e}V.push({x:At,y:Me,width:Mt,height:Dt,has_local_palette:xt,palette_offset:In,palette_size:Gt,data_offset:sn,data_length:n-sn,transparent_index:Le,interlaced:!!vn,delay:fe,disposal:z});break;case 59:Q=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return V.length},this.loopCount=function(){return it},this.frameInfo=function(st){if(st<0||st>=V.length)throw new Error("Frame index out of range.");return V[st]},this.decodeAndBlitFrameBGRA=function(st,jt){var Rt=this.frameInfo(st),bn=Rt.width*Rt.height,Fn=new Uint8Array(bn);zg(e,Rt.data_offset,Fn,bn);var Nn=Rt.palette_offset,gn=Rt.transparent_index;gn===null&&(gn=256);var Tn=Rt.width,Ir=t-Tn,rr=Tn,Pe=4*(Rt.y*t+Rt.x),bt=4*((Rt.y+Rt.height)*t+Rt.x),Ut=Pe,Ht=4*Ir;Rt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,hn=0,Un=Fn.length;hn=bt&&(Ht=4*Ir+4*t*(Jt-1),Ut=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),Dn===gn)Ut+=4;else{var Xn=e[Nn+3*Dn],Br=e[Nn+3*Dn+1],$r=e[Nn+3*Dn+2];jt[Ut++]=$r,jt[Ut++]=Br,jt[Ut++]=Xn,jt[Ut++]=255}--rr}},this.decodeAndBlitFrameRGBA=function(st,jt){var Rt=this.frameInfo(st),bn=Rt.width*Rt.height,Fn=new Uint8Array(bn);zg(e,Rt.data_offset,Fn,bn);var Nn=Rt.palette_offset,gn=Rt.transparent_index;gn===null&&(gn=256);var Tn=Rt.width,Ir=t-Tn,rr=Tn,Pe=4*(Rt.y*t+Rt.x),bt=4*((Rt.y+Rt.height)*t+Rt.x),Ut=Pe,Ht=4*Ir;Rt.interlaced===!0&&(Ht+=4*t*7);for(var Jt=8,hn=0,Un=Fn.length;hn=bt&&(Ht=4*Ir+4*t*(Jt-1),Ut=Pe+(Tn+Ir)*(Jt<<1),Jt>>=1)),Dn===gn)Ut+=4;else{var Xn=e[Nn+3*Dn],Br=e[Nn+3*Dn+1],$r=e[Nn+3*Dn+2];jt[Ut++]=Xn,jt[Ut++]=Br,jt[Ut++]=$r,jt[Ut++]=255}--rr}}}function zg(e,n,t,r){for(var o=e[n++],l=1<>=S,V-=S,At!==l){if(At===w)break;for(var Me=Atl;)Dt=it[Dt]>>8,++Mt;var Ct=Dt;if(Le+Mt+(Me!==At?1:0)>r)return void Ka.log("Warning, gif stream longer than expected.");t[Le++]=Ct;var vn=Le+=Mt;for(Me!==At&&(t[Le++]=Ct),Dt=Me;Mt--;)Dt=it[Dt],t[--vn]=255&Dt,Dt>>=8;qe!==null&&y<4096&&(it[y++]=qe<<8|Ct,y>=Q+1&&S<12&&(++S,Q=Q<<1|1)),qe=At}else y=w+1,Q=(1<<(S=o+1))-1,qe=null}return Le!==r&&Ka.log("Warning, gif stream shorter than expected."),t}function Wp(e){var n,t,r,o,l,w=Math.floor,y=new Array(64),S=new Array(64),Q=new Array(64),V=new Array(64),fe=new Array(65535),Le=new Array(65535),z=new Array(64),it=new Array(64),qe=[],At=0,Me=7,Mt=new Array(64),Dt=new Array(64),Ct=new Array(64),vn=new Array(256),kn=new Array(2048),In=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Gt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],xt=[0,1,2,3,4,5,6,7,8,9,10,11],sn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_e=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],st=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],jt=[0,1,2,3,4,5,6,7,8,9,10,11],Rt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],bn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Fn(Pe,bt){for(var Ut=0,Ht=0,Jt=new Array,hn=1;hn<=16;hn++){for(var Un=1;Un<=Pe[hn];Un++)Jt[bt[Ht]]=[],Jt[bt[Ht]][0]=Ut,Jt[bt[Ht]][1]=hn,Ht++,Ut++;Ut*=2}return Jt}function Nn(Pe){for(var bt=Pe[0],Ut=Pe[1]-1;Ut>=0;)bt&1<>8&255),gn(255&Pe)}function Ir(Pe,bt,Ut,Ht,Jt){for(var hn,Un=Jt[0],Dn=Jt[240],Xn=function(fr,$o){var po,ko,Ro,Pa,oa,vi,da,ia,Eo,Si,Uo=0;for(Eo=0;Eo<8;++Eo){po=fr[Uo],ko=fr[Uo+1],Ro=fr[Uo+2],Pa=fr[Uo+3],oa=fr[Uo+4],vi=fr[Uo+5],da=fr[Uo+6];var ts=po+(ia=fr[Uo+7]),ba=po-ia,Hi=ko+da,ki=ko-da,xA=Ro+vi,jo=Ro-vi,iA=Pa+oa,ni=Pa-oa,yi=ts+iA,SA=ts-iA,$i=Hi+xA,Yo=Hi-xA;fr[Uo]=yi+$i,fr[Uo+4]=yi-$i;var Ta=.707106781*(Yo+SA);fr[Uo+2]=SA+Ta,fr[Uo+6]=SA-Ta;var tf=.382683433*((yi=ni+jo)-(Yo=ki+ba)),qs=.5411961*yi+tf,Ec=1.306562965*Yo+tf,qu=.707106781*($i=jo+ki),Jo=ba+qu,xc=ba-qu;fr[Uo+5]=xc+qs,fr[Uo+3]=xc-qs,fr[Uo+1]=Jo+Ec,fr[Uo+7]=Jo-Ec,Uo+=8}for(Uo=0,Eo=0;Eo<8;++Eo){po=fr[Uo],ko=fr[Uo+8],Ro=fr[Uo+16],Pa=fr[Uo+24],oa=fr[Uo+32],vi=fr[Uo+40],da=fr[Uo+48];var Sc=po+(ia=fr[Uo+56]),Gl=po-ia,$l=ko+da,VA=ko-da,Ls=Ro+vi,_s=Ro-vi,nf=Pa+oa,dd=Pa-oa,Eu=Sc+nf,ec=Sc-nf,xu=$l+Ls,Su=$l-Ls;fr[Uo]=Eu+xu,fr[Uo+32]=Eu-xu;var Xl=.707106781*(Su+ec);fr[Uo+16]=ec+Xl,fr[Uo+48]=ec-Xl;var rf=.382683433*((Eu=dd+_s)-(Su=VA+Gl)),tc=.5411961*Eu+rf,of=1.306562965*Su+rf,zf=.707106781*(xu=_s+VA),Zf=Gl+zf,Vf=Gl-zf;fr[Uo+40]=Vf+tc,fr[Uo+24]=Vf-tc,fr[Uo+8]=Zf+of,fr[Uo+56]=Zf-of,Uo++}for(Eo=0;Eo<64;++Eo)Si=fr[Eo]*$o[Eo],z[Eo]=Si>0?Si+.5|0:Si-.5|0;return z}(Pe,bt),Br=0;Br<64;++Br)it[In[Br]]=Xn[Br];var $r=it[0]-Ut;Ut=it[0],$r==0?Nn(Ht[0]):(Nn(Ht[Le[hn=32767+$r]]),Nn(fe[hn]));for(var Wr=63;Wr>0&&it[Wr]==0;)Wr--;if(Wr==0)return Nn(Un),Ut;for(var Oo,lt=1;lt<=Wr;){for(var Xr=lt;it[lt]==0&<<=Wr;)++lt;var _i=lt-Xr;if(_i>=16){Oo=_i>>4;for(var Go=1;Go<=Oo;++Go)Nn(Dn);_i&=15}hn=32767+it[lt],Nn(Jt[(_i<<4)+Le[hn]]),Nn(fe[hn]),lt++}return Wr!=63&&Nn(Un),Ut}function rr(Pe){Pe=Math.min(Math.max(Pe,1),100),l!=Pe&&(function(bt){for(var Ut=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Ht=0;Ht<64;Ht++){var Jt=w((Ut[Ht]*bt+50)/100);Jt=Math.min(Math.max(Jt,1),255),y[In[Ht]]=Jt}for(var hn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Un=0;Un<64;Un++){var Dn=w((hn[Un]*bt+50)/100);Dn=Math.min(Math.max(Dn,1),255),S[In[Un]]=Dn}for(var Xn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Br=0,$r=0;$r<8;$r++)for(var Wr=0;Wr<8;Wr++)Q[Br]=1/(y[In[Br]]*Xn[$r]*Xn[Wr]*8),V[Br]=1/(S[In[Br]]*Xn[$r]*Xn[Wr]*8),Br++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),l=Pe)}this.encode=function(Pe,bt){bt&&rr(bt),qe=new Array,At=0,Me=7,Tn(65496),Tn(65504),Tn(16),gn(74),gn(70),gn(73),gn(70),gn(0),gn(1),gn(1),gn(0),Tn(1),Tn(1),gn(0),gn(0),function(){Tn(65499),Tn(132),gn(0);for(var ko=0;ko<64;ko++)gn(y[ko]);gn(1);for(var Ro=0;Ro<64;Ro++)gn(S[Ro])}(),function(ko,Ro){Tn(65472),Tn(17),gn(8),Tn(Ro),Tn(ko),gn(3),gn(1),gn(17),gn(0),gn(2),gn(17),gn(1),gn(3),gn(17),gn(1)}(Pe.width,Pe.height),function(){Tn(65476),Tn(418),gn(0);for(var ko=0;ko<16;ko++)gn(Gt[ko+1]);for(var Ro=0;Ro<=11;Ro++)gn(xt[Ro]);gn(16);for(var Pa=0;Pa<16;Pa++)gn(sn[Pa+1]);for(var oa=0;oa<=161;oa++)gn(_e[oa]);gn(1);for(var vi=0;vi<16;vi++)gn(st[vi+1]);for(var da=0;da<=11;da++)gn(jt[da]);gn(17);for(var ia=0;ia<16;ia++)gn(Rt[ia+1]);for(var Eo=0;Eo<=161;Eo++)gn(bn[Eo])}(),Tn(65498),Tn(12),gn(3),gn(1),gn(0),gn(2),gn(17),gn(3),gn(17),gn(0),gn(63),gn(0);var Ut=0,Ht=0,Jt=0;At=0,Me=7,this.encode.displayName="_encode_";for(var hn,Un,Dn,Xn,Br,$r,Wr,Oo,lt,Xr=Pe.data,_i=Pe.width,Go=Pe.height,fr=4*_i,$o=0;$o>3)*fr+(Wr=4*(7<)),$o+Oo>=Go&&($r-=fr*($o+1+Oo-Go)),hn+Wr>=fr&&($r-=hn+Wr-fr+4),Un=Xr[$r++],Dn=Xr[$r++],Xn=Xr[$r++],Mt[lt]=(kn[Un]+kn[Dn+256|0]+kn[Xn+512|0]>>16)-128,Dt[lt]=(kn[Un+768|0]+kn[Dn+1024|0]+kn[Xn+1280|0]>>16)-128,Ct[lt]=(kn[Un+1280|0]+kn[Dn+1536|0]+kn[Xn+1792|0]>>16)-128;Ut=Ir(Mt,Q,Ut,n,r),Ht=Ir(Dt,V,Ht,t,o),Jt=Ir(Ct,V,Jt,t,o),hn+=32}$o+=8}if(Me>=0){var po=[];po[1]=Me+1,po[0]=(1<st;st++)if(xt[sn+st]!=_e.charCodeAt(st))return!0;return!1}function r(xt,sn,_e,st,jt){for(var Rt=0;RtRt+1?[]:new sn),!(bn.length>>0;u&_;)_>>>=1;return _?(u&_-1)+_:u}function _e(u,m,_,q,Be){n(!(q%_));do u[m+(q-=_)]=Be;while(0=Be),512>=Be)var Ne=l(512);else if((Ne=l(Be))==null)return 0;return function(De,Ze,Ge,dt,Wt,mn){var ft,Xt,ln=Ze,Hn=1<ft;++ft){if(pn[ft]>1<(Qi-=pn[ft]))return 0;for(;0=ft;++ft,Wt<<=1){if(fo+=Qi<<=1,0>(Qi-=pn[ft]))return 0;for(;0wr&&!(0>=(Wn-=pn[wr]));)++wr,Wn<<=1;Hn+=yo=1<<(Wn=wr-Ge),De[Ze+(wr=Fo&ir)].g=Wn+Ge,De[Ze+wr].value=ln-Ze-wr}dt.g=ft-Ge,dt.value=mn[Xt++],_e(De,ln+(Fo>>Ge),Wt,yo,dt),Fo=sn(Fo,ft)}}return fo!=2*Zn[15]-1?0:Hn}(u,m,_,q,Be,Ne)}function jt(){this.value=this.g=0}function Rt(){this.value=this.g=0}function bn(){this.G=w(5,jt),this.H=l(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=w(gf,Rt)}function Fn(u,m,_,q){n(u!=null),n(m!=null),n(2147483648>q),u.Ca=254,u.I=0,u.b=-8,u.Ka=0,u.oa=m,u.pa=_,u.Jd=m,u.Yc=_+q,u.Zc=4<=q?_+q-4+1:_,Un(u)}function Nn(u,m){for(var _=0;0q),u.Sb=q,u.Ra=0,u.u=0,u.h=0,4>>=8,u.Ra+=u.oa[u.pa+u.bb]<>>0,++u.bb,u.u-=8;Ht(u)&&(u.h=1,u.u=0)}function rr(u,m){if(n(0<=m),!u.h&&m<=Ol){var _=Ut(u)&Ql[m];return u.u+=m,Ir(u),_}return u.h=1,u.u=0}function Pe(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function bt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ut(u){return u.Ra>>>(u.u&gd-1)>>>0}function Ht(u){return n(u.bb<=u.Sb),u.h||u.bb==u.Sb&&u.u>gd}function Jt(u,m){u.u=m,u.h=Ht(u)}function hn(u){u.u>=Rc&&(n(u.u>=Rc),Ir(u))}function Un(u){n(u!=null&&u.oa!=null),u.pa>>0,u.b+=8):(n(u!=null&&u.oa!=null),u.pau.b&&Un(u);var q=u.b,Be=_*m>>>8,Ne=(u.I>>>q>Be)+0;for(Ne?(_-=Be,u.I-=Be+1<>>0):_=Be+1,q=_,Be=0;256<=q;)Be+=8,q>>=8;return q=7^Be+md[q],u.b-=q,u.Ca=(_<>24&255,u[m+1]=_>>16&255,u[m+2]=_>>8&255,u[m+3]=255&_}function $r(u,m){return u[m+0]|u[m+1]<<8}function Wr(u,m){return $r(u,m)|u[m+2]<<16}function Oo(u,m){return $r(u,m)|$r(u,m+2)<<16}function lt(u,m){var _=1<=Be||0>=Ne?0:(_[0]=Be,q[0]=Ne,1)}function fr(u,m){return u+(1<>>m}function $o(u,m){return((4278255360&u)+(4278255360&m)>>>0&4278255360)+((16711935&u)+(16711935&m)>>>0&16711935)>>>0}function po(u,m){xt[m]=function(_,q,Be,Ne,De,Ze,Ge){var dt;for(dt=0;dt>>1)+(u&m)>>>0}function Pa(u){return 0<=u&&256>u?u:0>u?0:255>1))}function vi(u,m,_){return Math.abs(m-_)-Math.abs(u-_)}function da(u,m,_,q,Be,Ne,De){for(q=Ne[De-1],_=0;_>8&255,Ge=16711935&(Ge=(Ge=16711935&De)+((Ze<<16)+Ze));q[Be+Ne]=(4278255360&De)+Ge>>>0}}function Eo(u,m){m.jd=255&u,m.hd=u>>8&255,m.ud=u>>16&255}function Si(u,m,_,q,Be,Ne){var De;for(De=0;De>>8,dt=Ze,Wt=255&(Wt=(Wt=Ze>>>16)+((u.jd<<24>>24)*(Ge<<24>>24)>>>5));dt=255&(dt=(dt+=(u.hd<<24>>24)*(Ge<<24>>24)>>>5)+((u.ud<<24>>24)*(Wt<<24>>24)>>>5)),Be[Ne+De]=(4278255360&Ze)+(Wt<<16)+dt}}function Uo(u,m,_,q,Be){xt[m]=function(Ne,De,Ze,Ge,dt,Wt,mn,ft,Xt){for(Ge=mn;Ge>Ne.b,Xt=Ne.Ea,ln=Ne.K[0],Hn=Ne.w;if(8>ft)for(Ne=(1<>=ft}else xt["VP8LMapColor"+_](Ge,dt,ln,Hn,Wt,mn,De,Ze,Xt)}}function ts(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=u[m++];q[Be++]=Ne>>16&255,q[Be++]=Ne>>8&255,q[Be++]=255&Ne}}function ba(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=u[m++];q[Be++]=Ne>>16&255,q[Be++]=Ne>>8&255,q[Be++]=255&Ne,q[Be++]=Ne>>24&255}}function Hi(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&240|De>>12&15,De=240&De|De>>28&15;q[Be++]=Ne,q[Be++]=De}}function ki(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=(De=u[m++])>>16&248|De>>13&7,De=De>>5&224|De>>3&31;q[Be++]=Ne,q[Be++]=De}}function xA(u,m,_,q,Be){for(_=m+_;m<_;){var Ne=u[m++];q[Be++]=255&Ne,q[Be++]=Ne>>8&255,q[Be++]=Ne>>16&255}}function jo(u,m,_,q,Be,Ne){if(Ne==0)for(_=m+_;m<_;)Br(q,((Ne=u[m++])[0]>>24|Ne[1]>>8&65280|Ne[2]<<8&16711680|Ne[3]<<24)>>>0),Be+=32;else r(q,Be,u,m,_)}function iA(u,m){xt[m][0]=xt[u+"0"],xt[m][1]=xt[u+"1"],xt[m][2]=xt[u+"2"],xt[m][3]=xt[u+"3"],xt[m][4]=xt[u+"4"],xt[m][5]=xt[u+"5"],xt[m][6]=xt[u+"6"],xt[m][7]=xt[u+"7"],xt[m][8]=xt[u+"8"],xt[m][9]=xt[u+"9"],xt[m][10]=xt[u+"10"],xt[m][11]=xt[u+"11"],xt[m][12]=xt[u+"12"],xt[m][13]=xt[u+"13"],xt[m][14]=xt[u+"0"],xt[m][15]=xt[u+"0"]}function ni(u){return u==dg||u==fg||u==gp||u==hg}function yi(){this.eb=[],this.size=this.A=this.fb=0}function SA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function $i(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new yi,this.f.kb=new SA,this.sd=null}function Yo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ta(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function tf(u){return alert("todo:WebPSamplerProcessPlane"),u.T}function qs(u,m){var _=u.T,q=m.ba.f.RGBA,Be=q.eb,Ne=q.fb+u.ka*q.A,De=nu[m.ba.S],Ze=u.y,Ge=u.O,dt=u.f,Wt=u.N,mn=u.ea,ft=u.W,Xt=m.cc,ln=m.dc,Hn=m.Mc,pn=m.Nc,Zn=u.ka,Wn=u.ka+u.T,wr=u.U,ir=wr+1>>1;for(Zn==0?De(Ze,Ge,null,null,dt,Wt,mn,ft,dt,Wt,mn,ft,Be,Ne,null,null,wr):(De(m.ec,m.fc,Ze,Ge,Xt,ln,Hn,pn,dt,Wt,mn,ft,Be,Ne-q.A,Be,Ne,wr),++_);Zn+2_,Be=_==fp||_==hp||_==pp||_==cg||_==12||ni(_);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!e0(m.Oa,u,Be?11:12))return 0;if(Be&&ni(_)&&Yh(),u.da)alert("todo:use_scaling");else{if(q){if(m.Ib=tf,u.Kb){if(_=u.U+1>>1,m.memory=l(u.U+2*_),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+u.U,m.Mc=m.cc,m.Nc=m.dc+_,m.Ib=qs,Yh()}}else alert("todo:EmitYUV");Be&&(m.Jb=Ec,q&&Iu())}if(q&&!ym){for(u=0;256>u;++u)vv[u]=89858*(u-128)+vp>>mp,Bv[u]=-22014*(u-128)+vp,wv[u]=-45773*(u-128),yv[u]=113618*(u-128)+vp>>mp;for(u=u0;u>mp,bv[u-u0]=nc(m,255),Cv[u-u0]=nc(m+8>>4,15);ym=1}return 1}function Jo(u){var m=u.ma,_=u.U,q=u.T;return n(!(1&u.ka)),0>=_||0>=q?0:(_=m.Ib(u,m),m.Jb!=null&&m.Jb(u,m,_),m.Dc+=_,1)}function xc(u){u.ma.memory=null}function Sc(u,m,_,q){return rr(u,8)!=47?0:(m[0]=rr(u,14)+1,_[0]=rr(u,14)+1,q[0]=rr(u,1),rr(u,3)!=0?0:!u.h)}function Gl(u,m){if(4>u)return u+1;var _=u-2>>1;return(2+(1&u)<<_)+rr(m,_)+1}function $l(u,m){return 120>4)*u+(8-(15&_)))?_:1;var _}function VA(u,m,_){var q=Ut(_),Be=u[m+=255&q].g-8;return 0>>0,n(8>=_.g),u.g}function _s(u,m,_){var q=u.xc;return n((m=q==0?0:u.vc[u.md*(_>>q)+(m>>q)])>yo.b)*fo;Hnwr&&(wo=wr),(0,o0[fa[ws++]>>8&15])(ft,Xt+ +Oi,Zn,Wn+Oi-wr,wo-Oi,Zn,Wn+Oi),Oi=wo}Xt+=wr,Wn+=wr,++Hn&Fo||(yo+=fo)}mn!=dt.nc&&r(Ge,Ze-ln,Ge,Ze+(mn-Wt-1)*ln,ln);break;case 1:for(ln=ft,pn=Xt,wr=(ft=dt.Ea)-(Wn=ft&~(Zn=(Xt=1<>dt.b)*Hn;Wt=Be),0Ne.o&&(q=Ne.o),_=q?_=0:(Be[0]+=4*Ne.v,Ne.ka=_-Ne.j,Ne.U=Ne.va-Ne.v,Ne.T=q-_,_=1),_){if(Ze=Ze[0],11>(_=u.ca).S){var Wt=_.f.RGBA,mn=(q=_.S,Be=Ne.U,Ne=Ne.T,dt=Wt.eb,Wt.A),ft=Ne;for(Wt=Wt.fb+u.Ma*Wt.A;0q){var Be=u.l.width,Ne=_.ca,De=_.tb+Be*q,Ze=u.V,Ge=u.Ba+u.c*q,dt=u.gc;n(u.ab==1),n(dt[0].hc==3),ac(dt[0],q,m,Ze,Ge,Ne,De),ec(_,q,m,Ne,De,Be)}u.C=u.Ma=m}function Su(u,m,_,q,Be,Ne,De){var Ze=u.$/q,Ge=u.$%q,dt=u.m,Wt=u.s,mn=_+u.$,ft=mn;Be=_+q*Be;var Xt=_+q*Ne,ln=280+Wt.ua,Hn=u.Pb?Ze:16777216,pn=0=Hn){var Fo=mn-_;n((Hn=u).Pb),Hn.wd=Hn.m,Hn.xd=Fo,0Qi.g?(Jt(ir,ir.u+Qi.g),Fo[fo]=Qi.value,ir=0):(Jt(ir,ir.u+Qi.g-256),n(256<=Qi.value),ir=Qi.value),ir==0&&(wr=!0)}else ir=VA(Wn.G[0],Wn.H[0],dt);if(dt.h)break;if(wr||256>ir){if(!wr)if(Wn.nd)m[mn]=(Wn.qb|ir<<8)>>>0;else{if(hn(dt),wr=VA(Wn.G[1],Wn.H[1],dt),hn(dt),Fo=VA(Wn.G[2],Wn.H[2],dt),fo=VA(Wn.G[3],Wn.H[3],dt),dt.h)break;m[mn]=(fo<<24|wr<<16|ir<<8|Fo)>>>0}if(wr=!1,++mn,++Ge>=q&&(Ge=0,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze),pn!=null))for(;ft>>pn.Mb]=ir}else if(280>ir){if(ir=Gl(ir-256,dt),Fo=VA(Wn.G[4],Wn.H[4],dt),hn(dt),Fo=$l(q,Fo=Gl(Fo,dt)),dt.h)break;if(mn-_=q;)Ge-=q,++Ze,De!=null&&Ze<=Ne&&!(Ze%16)&&De(u,Ze);if(n(mn<=Be),Ge&Zn&&(Wn=_s(Wt,Ge,Ze)),pn!=null)for(;ft>>pn.Mb]=ir}else{if(!(ir>>pn.Mb]=ir;ir=mn,n(!(wr>>>(Fo=pn).Xa)),m[ir]=Fo.X[wr],wr=!0}wr||n(dt.h==Ht(dt))}if(u.Pb&&dt.h&&mnNe?Ne:Ze),u.a=0,u.$=mn-_}return 1}return u.a=3,0}function Xl(u){n(u!=null),u.vc=null,u.yc=null,u.Ya=null;var m=u.Wa;m!=null&&(m.X=null),u.vb=null,n(u!=null)}function rf(){var u=new li;return u==null?null:(u.a=0,u.xb=fm,iA("Predictor","VP8LPredictors"),iA("Predictor","VP8LPredictors_C"),iA("PredictorAdd","VP8LPredictorsAdd"),iA("PredictorAdd","VP8LPredictorsAdd_C"),ns=ia,i0=Si,a0=ts,vd=ba,yd=Hi,wd=ki,mf=xA,xt.VP8LMapColor32b=ic,xt.VP8LMapColor8b=r0,u)}function tc(u,m,_,q,Be){var Ne=1,De=[u],Ze=[m],Ge=q.m,dt=q.s,Wt=null,mn=0;e:for(;;){if(_)for(;Ne&&rr(Ge,1);){var ft=De,Xt=Ze,ln=q,Hn=1,pn=ln.m,Zn=ln.gc[ln.ab],Wn=rr(pn,2);if(ln.Oc&1<=ln.ab),Wn){case 0:case 1:Zn.b=rr(pn,3)+2,Hn=tc(fr(Zn.Ea,Zn.b),fr(Zn.nc,Zn.b),0,ln,Zn.K),Zn.K=Zn.K[0];break;case 3:var wr,ir=rr(pn,8)+1,Fo=16>yo.b),ws=l(fa);if(ws==null)wr=0;else{var Oi=yo.K[0],wo=yo.w;for(ws[0]=yo.K[0][0],fo=1;fo<1*Qi;++fo)ws[fo]=$o(Oi[wo+fo],ws[fo-1]);for(;fo<4*fa;++fo)ws[fo]=0;yo.K[0]=null,yo.K[0]=ws,wr=1}}Hn=wr;break;case 2:break;default:n(0)}Ne=Hn}}if(De=De[0],Ze=Ze[0],Ne&&rr(Ge,1)&&!(Ne=1<=(mn=rr(Ge,4))&&11>=mn)){q.a=3;break e}var Kr;if(Kr=Ne)t:{var os,wi,ya,mA=q,Hs=De,Al=Ze,WA=mn,el=_,sl=mA.m,Bs=mA.s,Ea=[null],za=1,GA=0,Za=iv[WA];n:for(;;){if(el&&rr(sl,1)){var ks=rr(sl,3)+2,Lu=fr(Hs,ks),is=fr(Al,ks),bl=Lu*is;if(!tc(Lu,is,0,mA,Ea))break n;for(Ea=Ea[0],Bs.xc=ks,os=0;os>8&65535;Ea[os]=qa,qa>=za&&(za=qa+1)}}if(sl.h)break n;for(wi=0;5>wi;++wi){var bs=cm[wi];!wi&&0=ll),Rl=Tl;var Cl=l(GA);if(Rl==null||Cl==null||Pl==null){mA.a=1;break n}var _l=Pl;for(os=ya=0;oswi;++wi){bs=cm[wi],jl[wi]=_l,Nu[wi]=ya,!wi&&0Ep)break r}else wg=Ep;for(d0=0;d0nh)Sm[d0++]=nh,nh!=0&&(Fm=nh);else{var Ov=nh==16,Lm=nh-16,Dv=tv[Lm],Nm=rr(xd,ev[Lm])+Dv;if(d0+Nm>Ep)break r;for(var Pv=Ov?Fm:0;0=wi){var f0,bg=Cl[0];for(f0=1;f0bg&&(bg=Cl[f0]);Ks+=bg}}if(AA.nd=Mc,AA.Qb=0,Mc&&(AA.qb=(jl[3][Nu[3]+0].value<<24|jl[1][Nu[1]+0].value<<16|jl[2][Nu[2]+0].value)>>>0,yf==0&&256>jl[0][Nu[0]+0].value&&(AA.Qb=1,AA.qb+=jl[0][Nu[0]+0].value<<8)),AA.jc=!AA.Qb&&6>Ks,AA.jc){var xp,Hc=AA;for(xp=0;xp>=Ls(Sp,8,Fd),Sd>>=Ls(Hc.G[1][Hc.H[1]+Sd],16,Fd),Sd>>=Ls(Hc.G[2][Hc.H[2]+Sd],0,Fd),Ls(Hc.G[3][Hc.H[3]+Sd],24,Fd))}}}Bs.vc=Ea,Bs.Wb=za,Bs.Ya=Rl,Bs.yc=Pl,Kr=1;break t}Kr=0}if(!(Ne=Kr)){q.a=3;break e}if(0q+1?[]:0),!(Be.lengthu?0:u>m?m:u}function Wf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function $p(){var u=new X0;return u!=null&&(u.a=0,u.sc="OK",u.cb=0,u.Xb=0,l0||(l0=Gf)),u}function ls(u,m,_){return u.a==0&&(u.a=m,u.sc=_,u.cb=0),0}function Y0(u,m,_){return 3<=_&&u[m+0]==157&&u[m+1]==1&&u[m+2]==42}function rc(u,m){if(u==null)return 0;if(u.a=0,u.sc="OK",m==null)return ls(u,2,"null VP8Io passed to VP8GetHeaders()");var _=m.data,q=m.w,Be=m.ha;if(4>Be)return ls(u,7,"Truncated header.");var Ne=_[q+0]|_[q+1]<<8|_[q+2]<<16,De=u.Od;if(De.Rb=!(1&Ne),De.td=Ne>>1&7,De.yd=Ne>>4&1,De.ub=Ne>>5,3Be)return ls(u,7,"cannot parse picture header");if(!Y0(_,q,Be))return ls(u,3,"Bad code word");Ze.c=16383&(_[q+4]<<8|_[q+3]),Ze.Td=_[q+4]>>6,Ze.i=16383&(_[q+6]<<8|_[q+5]),Ze.Ud=_[q+6]>>6,q+=7,Be-=7,u.za=Ze.c+15>>4,u.Ub=Ze.i+15>>4,m.width=Ze.c,m.height=Ze.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,o((Ne=u.Pa).jb,0,255,Ne.jb.length),n((Ne=u.Qa)!=null),Ne.Cb=0,Ne.Bb=0,Ne.Fb=1,o(Ne.Zb,0,0,Ne.Zb.length),o(Ne.Lb,0,0,Ne.Lb)}if(De.ub>Be)return ls(u,7,"bad partition length");Fn(Ne=u.m,_,q,De.ub),q+=De.ub,Be-=De.ub,De.Rb&&(Ze.Ld=Dn(Ne),Ze.Kd=Dn(Ne)),Ze=u.Qa;var Ge,dt=u.Pa;if(n(Ne!=null),n(Ze!=null),Ze.Cb=Dn(Ne),Ze.Cb){if(Ze.Bb=Dn(Ne),Dn(Ne)){for(Ze.Fb=Dn(Ne),Ge=0;4>Ge;++Ge)Ze.Zb[Ge]=Dn(Ne)?gn(Ne,7):0;for(Ge=0;4>Ge;++Ge)Ze.Lb[Ge]=Dn(Ne)?gn(Ne,6):0}if(Ze.Bb)for(Ge=0;3>Ge;++Ge)dt.jb[Ge]=Dn(Ne)?Nn(Ne,8):255}else Ze.Bb=0;if(Ne.Ka)return ls(u,3,"cannot parse segment header");if((Ze=u.ed).zd=Dn(Ne),Ze.Tb=Nn(Ne,6),Ze.wb=Nn(Ne,3),Ze.Pc=Dn(Ne),Ze.Pc&&Dn(Ne)){for(dt=0;4>dt;++dt)Dn(Ne)&&(Ze.vd[dt]=gn(Ne,6));for(dt=0;4>dt;++dt)Dn(Ne)&&(Ze.od[dt]=gn(Ne,6))}if(u.L=Ze.Tb==0?0:Ze.zd?1:2,Ne.Ka)return ls(u,3,"cannot parse filter header");var Wt=Be;if(Be=Ge=q,q=Ge+Wt,Ze=Wt,u.Xb=(1<Ze&&(mn=Ze),Fn(u.Jc[+Wt],_,Ge,mn),Ge+=mn,Ze-=mn,Be+=3}Fn(u.Jc[+dt],_,Ge,Ze),_=Gemn;++mn){if(Wt.Cb){var ft=Wt.Zb[mn];Wt.Fb||(ft+=_)}else{if(0>16,8>Xt.Eb[1]&&(Xt.Eb[1]=8),Xt.Qc[0]=pg[nc(ft+dt,117)],Xt.Qc[1]=gg[nc(ft+Ge,127)],Xt.lc=ft+Ge}if(!De.Rb)return ls(u,4,"Not a key frame.");for(Dn(Ne),De=u.Pa,_=0;4>_;++_){for(Be=0;8>Be;++Be)for(q=0;3>q;++q)for(Ze=0;11>Ze;++Ze)dt=Xn(Ne,cv[_][Be][q][Ze])?Nn(Ne,8):lv[_][Be][q][Ze],De.Wc[_][Be].Yb[q][Ze]=dt;for(Be=0;17>Be;++Be)De.Xc[_][Be]=De.Wc[_][dv[Be]]}return u.kc=Dn(Ne),u.kc&&(u.Bd=Nn(Ne,8)),u.cb=1}function Gf(u,m,_,q,Be,Ne,De){var Ze=m[Be].Yb[_];for(_=0;16>Be;++Be){if(!Xn(u,Ze[_+0]))return Be;for(;!Xn(u,Ze[_+1]);)if(Ze=m[++Be].Yb[0],_=0,Be==16)return 16;var Ge=m[Be+1].Yb;if(Xn(u,Ze[_+2])){var dt=u,Wt=0;if(Xn(dt,(ft=Ze)[(mn=_)+3]))if(Xn(dt,ft[mn+6])){for(Ze=0,mn=2*(Wt=Xn(dt,ft[mn+8]))+(ft=Xn(dt,ft[mn+9+Wt])),Wt=0,ft=Av[mn];ft[Ze];++Ze)Wt+=Wt+Xn(dt,ft[Ze]);Wt+=3+(8<(dt=u).b&&Un(dt);var mn,ft=dt.b,Xt=(mn=dt.Ca>>1)-(dt.I>>ft)>>31;--dt.b,dt.Ca+=Xt,dt.Ca|=1,dt.I-=(mn+1&Xt)<>3),u[m+_+32*q]=-256&Be?0>Be?0:255:Be}function ms(u,m,_,q,Be,Ne){Jl(u,m,0,_,q+Be),Jl(u,m,1,_,q+Ne),Jl(u,m,2,_,q-Ne),Jl(u,m,3,_,q-Be)}function Fc(u){return(20091*u>>16)+u}function q0(u,m,_,q){var Be,Ne=0,De=l(16);for(Be=0;4>Be;++Be){var Ze=u[m+0]+u[m+8],Ge=u[m+0]-u[m+8],dt=(35468*u[m+4]>>16)-Fc(u[m+12]),Wt=Fc(u[m+4])+(35468*u[m+12]>>16);De[Ne+0]=Ze+Wt,De[Ne+1]=Ge+dt,De[Ne+2]=Ge-dt,De[Ne+3]=Ze-Wt,Ne+=4,m++}for(Be=Ne=0;4>Be;++Be)Ze=(u=De[Ne+0]+4)+De[Ne+8],Ge=u-De[Ne+8],dt=(35468*De[Ne+4]>>16)-Fc(De[Ne+12]),Jl(_,q,0,0,Ze+(Wt=Fc(De[Ne+4])+(35468*De[Ne+12]>>16))),Jl(_,q,1,0,Ge+dt),Jl(_,q,2,0,Ge-dt),Jl(_,q,3,0,Ze-Wt),Ne++,q+=32}function Xp(u,m,_,q){var Be=u[m+0]+4,Ne=35468*u[m+4]>>16,De=Fc(u[m+4]),Ze=35468*u[m+1]>>16;ms(_,q,0,Be+De,u=Fc(u[m+1]),Ze),ms(_,q,1,Be+Ne,u,Ze),ms(_,q,2,Be-Ne,u,Ze),ms(_,q,3,Be-De,u,Ze)}function Yp(u,m,_,q,Be){q0(u,m,_,q),Be&&q0(u,m+16,_,q+4)}function oc(u,m,_,q){vf(u,m+0,_,q,1),vf(u,m+32,_,q+128,1)}function ep(u,m,_,q){var Be;for(u=u[m+0]+4,Be=0;4>Be;++Be)for(m=0;4>m;++m)Jl(_,q,m,Be,u)}function tp(u,m,_,q){u[m+0]&&Ra(u,m+0,_,q),u[m+16]&&Ra(u,m+16,_,q+4),u[m+32]&&Ra(u,m+32,_,q+128),u[m+48]&&Ra(u,m+48,_,q+128+4)}function $f(u,m,_,q){var Be,Ne=l(16);for(Be=0;4>Be;++Be){var De=u[m+0+Be]+u[m+12+Be],Ze=u[m+4+Be]+u[m+8+Be],Ge=u[m+4+Be]-u[m+8+Be],dt=u[m+0+Be]-u[m+12+Be];Ne[0+Be]=De+Ze,Ne[8+Be]=De-Ze,Ne[4+Be]=dt+Ge,Ne[12+Be]=dt-Ge}for(Be=0;4>Be;++Be)De=(u=Ne[0+4*Be]+3)+Ne[3+4*Be],Ze=Ne[1+4*Be]+Ne[2+4*Be],Ge=Ne[1+4*Be]-Ne[2+4*Be],dt=u-Ne[3+4*Be],_[q+0]=De+Ze>>3,_[q+16]=dt+Ge>>3,_[q+32]=De-Ze>>3,_[q+48]=dt-Ge>>3,q+=64}function af(u,m,_){var q,Be=m-32,Ne=Dl,De=255-u[Be-1];for(q=0;q<_;++q){var Ze,Ge=Ne,dt=De+u[m-1];for(Ze=0;Ze<_;++Ze)u[m+Ze]=Ge[dt+u[Be+Ze]];m+=32}}function Jp(u,m){af(u,m,4)}function qp(u,m){af(u,m,8)}function eg(u,m){af(u,m,16)}function Kh(u,m){var _;for(_=0;16>_;++_)r(u,m+32*_,u,m-32,16)}function np(u,m){var _;for(_=16;0<_;--_)o(u,m,u[m-1],16),m+=32}function Fu(u,m,_){var q;for(q=0;16>q;++q)o(m,_+32*q,u,16)}function tg(u,m){var _,q=16;for(_=0;16>_;++_)q+=u[m-1+32*_]+u[m+_-32];Fu(q>>5,u,m)}function Af(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m-1+32*_];Fu(q>>4,u,m)}function zh(u,m){var _,q=8;for(_=0;16>_;++_)q+=u[m+_-32];Fu(q>>4,u,m)}function ng(u,m){Fu(128,u,m)}function ci(u,m,_){return u+2*m+_+2>>2}function rg(u,m){var _,q=m-32;for(q=new Uint8Array([ci(u[q-1],u[q+0],u[q+1]),ci(u[q+0],u[q+1],u[q+2]),ci(u[q+1],u[q+2],u[q+3]),ci(u[q+2],u[q+3],u[q+4])]),_=0;4>_;++_)r(u,m+32*_,q,0,q.length)}function og(u,m){var _=u[m-1],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1+96];Br(u,m+0,16843009*ci(u[m-1-32],_,q)),Br(u,m+32,16843009*ci(_,q,Be)),Br(u,m+64,16843009*ci(q,Be,Ne)),Br(u,m+96,16843009*ci(Be,Ne,Ne))}function ig(u,m){var _,q=4;for(_=0;4>_;++_)q+=u[m+_-32]+u[m-1+32*_];for(q>>=3,_=0;4>_;++_)o(u,m+32*_,q,4)}function Ic(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ge=u[m+2-32],dt=u[m+3-32];u[m+0+96]=ci(q,Be,u[m-1+96]),u[m+1+96]=u[m+0+64]=ci(_,q,Be),u[m+2+96]=u[m+1+64]=u[m+0+32]=ci(Ne,_,q),u[m+3+96]=u[m+2+64]=u[m+1+32]=u[m+0+0]=ci(De,Ne,_),u[m+3+64]=u[m+2+32]=u[m+1+0]=ci(Ze,De,Ne),u[m+3+32]=u[m+2+0]=ci(Ge,Ze,De),u[m+3+0]=ci(dt,Ge,Ze)}function Uc(u,m){var _=u[m+1-32],q=u[m+2-32],Be=u[m+3-32],Ne=u[m+4-32],De=u[m+5-32],Ze=u[m+6-32],Ge=u[m+7-32];u[m+0+0]=ci(u[m+0-32],_,q),u[m+1+0]=u[m+0+32]=ci(_,q,Be),u[m+2+0]=u[m+1+32]=u[m+0+64]=ci(q,Be,Ne),u[m+3+0]=u[m+2+32]=u[m+1+64]=u[m+0+96]=ci(Be,Ne,De),u[m+3+32]=u[m+2+64]=u[m+1+96]=ci(Ne,De,Ze),u[m+3+64]=u[m+2+96]=ci(De,Ze,Ge),u[m+3+96]=ci(Ze,Ge,Ge)}function ag(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1-32],De=u[m+0-32],Ze=u[m+1-32],Ge=u[m+2-32],dt=u[m+3-32];u[m+0+0]=u[m+1+64]=Ne+De+1>>1,u[m+1+0]=u[m+2+64]=De+Ze+1>>1,u[m+2+0]=u[m+3+64]=Ze+Ge+1>>1,u[m+3+0]=Ge+dt+1>>1,u[m+0+96]=ci(Be,q,_),u[m+0+64]=ci(q,_,Ne),u[m+0+32]=u[m+1+96]=ci(_,Ne,De),u[m+1+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+2+32]=u[m+3+96]=ci(De,Ze,Ge),u[m+3+32]=ci(Ze,Ge,dt)}function Ag(u,m){var _=u[m+0-32],q=u[m+1-32],Be=u[m+2-32],Ne=u[m+3-32],De=u[m+4-32],Ze=u[m+5-32],Ge=u[m+6-32],dt=u[m+7-32];u[m+0+0]=_+q+1>>1,u[m+1+0]=u[m+0+64]=q+Be+1>>1,u[m+2+0]=u[m+1+64]=Be+Ne+1>>1,u[m+3+0]=u[m+2+64]=Ne+De+1>>1,u[m+0+32]=ci(_,q,Be),u[m+1+32]=u[m+0+96]=ci(q,Be,Ne),u[m+2+32]=u[m+1+96]=ci(Be,Ne,De),u[m+3+32]=u[m+2+96]=ci(Ne,De,Ze),u[m+3+64]=ci(De,Ze,Ge),u[m+3+96]=ci(Ze,Ge,dt)}function Xf(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1+96];u[m+0+0]=_+q+1>>1,u[m+2+0]=u[m+0+32]=q+Be+1>>1,u[m+2+32]=u[m+0+64]=Be+Ne+1>>1,u[m+1+0]=ci(_,q,Be),u[m+3+0]=u[m+1+32]=ci(q,Be,Ne),u[m+3+32]=u[m+1+64]=ci(Be,Ne,Ne),u[m+3+64]=u[m+2+64]=u[m+0+96]=u[m+1+96]=u[m+2+96]=u[m+3+96]=Ne}function Zh(u,m){var _=u[m-1+0],q=u[m-1+32],Be=u[m-1+64],Ne=u[m-1+96],De=u[m-1-32],Ze=u[m+0-32],Ge=u[m+1-32],dt=u[m+2-32];u[m+0+0]=u[m+2+32]=_+De+1>>1,u[m+0+32]=u[m+2+64]=q+_+1>>1,u[m+0+64]=u[m+2+96]=Be+q+1>>1,u[m+0+96]=Ne+Be+1>>1,u[m+3+0]=ci(Ze,Ge,dt),u[m+2+0]=ci(De,Ze,Ge),u[m+1+0]=u[m+3+32]=ci(_,De,Ze),u[m+1+32]=u[m+3+64]=ci(q,_,De),u[m+1+64]=u[m+3+96]=ci(Be,q,_),u[m+1+96]=ci(Ne,Be,q)}function sf(u,m){var _;for(_=0;8>_;++_)r(u,m+32*_,u,m-32,8)}function sg(u,m){var _;for(_=0;8>_;++_)o(u,m,u[m-1],8),m+=32}function Lc(u,m,_){var q;for(q=0;8>q;++q)o(m,_+32*q,u,8)}function lg(u,m){var _,q=8;for(_=0;8>_;++_)q+=u[m+_-32]+u[m-1+32*_];Lc(q>>4,u,m)}function Vh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m+_-32];Lc(q>>3,u,m)}function Wh(u,m){var _,q=4;for(_=0;8>_;++_)q+=u[m-1+32*_];Lc(q>>3,u,m)}function rp(u,m){Lc(128,u,m)}function Nc(u,m,_){var q=u[m-_],Be=u[m+0],Ne=3*(Be-q)+ug[1020+u[m-2*_]-u[m+_]],De=cp[112+(Ne+4>>3)];u[m-_]=Dl[255+q+cp[112+(Ne+3>>3)]],u[m+0]=Dl[255+Be-De]}function Gh(u,m,_,q){var Be=u[m+0],Ne=u[m+_];return tu[255+u[m-2*_]-u[m-_]]>q||tu[255+Ne-Be]>q}function Yf(u,m,_,q){return 4*tu[255+u[m-_]-u[m+0]]+tu[255+u[m-2*_]-u[m+_]]<=q}function $h(u,m,_,q,Be){var Ne=u[m-3*_],De=u[m-2*_],Ze=u[m-_],Ge=u[m+0],dt=u[m+_],Wt=u[m+2*_],mn=u[m+3*_];return 4*tu[255+Ze-Ge]+tu[255+De-dt]>q?0:tu[255+u[m-4*_]-Ne]<=Be&&tu[255+Ne-De]<=Be&&tu[255+De-Ze]<=Be&&tu[255+mn-Wt]<=Be&&tu[255+Wt-dt]<=Be&&tu[255+dt-Ge]<=Be}function lf(u,m,_,q){var Be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q,_,Be)&&Nc(u,m+q,_)}function Xh(u,m,_,q){var Be=2*q+1;for(q=0;16>q;++q)Yf(u,m+q*_,1,Be)&&Nc(u,m+q*_,1)}function op(u,m,_,q){var Be;for(Be=3;0>7,Zn=18*Wn+63>>7,Wn=9*Wn+63>>7;Ge[dt-3*Wt]=Dl[255+Ge[dt-3*Wt]+Wn],Ge[dt-2*Wt]=Dl[255+mn+Zn],Ge[dt-Wt]=Dl[255+ft+pn],Ge[dt+0]=Dl[255+Xt-pn],Ge[dt+Wt]=Dl[255+ln-Zn],Ge[dt+2*Wt]=Dl[255+Hn-Wn]}m+=q}}function Oc(u,m,_,q,Be,Ne,De,Ze){for(Ne=2*Ne+1;0>3)],Hn=cp[112+(Hn+3>>3)],pn=ln+1>>1;Ge[dt-2*Wt]=Dl[255+Ge[dt-2*Wt]+pn],Ge[dt-Wt]=Dl[255+mn+Hn],Ge[dt+0]=Dl[255+ft-ln],Ge[dt+Wt]=Dl[255+Xt-pn]}m+=q}}function ap(u,m,_,q,Be,Ne){Qc(u,m,_,1,16,q,Be,Ne)}function uf(u,m,_,q,Be,Ne){Qc(u,m,1,_,16,q,Be,Ne)}function Ap(u,m,_,q,Be,Ne){var De;for(De=3;0dt?0:255:dt)&255,dt=Ge,Be[Ne+Ze]=Wt}}function aA(u,m,_,q){var Be=m.width,Ne=m.o;if(n(u!=null&&m!=null),0>_||0>=q||_+q>Ne)return null;if(!u.Cc){if(u.ga==null){var De;if(u.ga=new Fi,(De=u.ga==null)||(De=m.width*m.o,n(u.Gb.length==0),u.Gb=l(De),u.Uc=0,u.Gb==null?De=0:(u.mb=u.Gb,u.nb=u.Uc,u.rc=null,De=1),De=!De),!De){De=u.ga;var Ze=u.Fa,Ge=u.P,dt=u.qc,Wt=u.mb,mn=u.nb,ft=Ge+1,Xt=dt-1,ln=De.l;if(n(Ze!=null&&Wt!=null&&m!=null),Cd[0]=null,Cd[1]=Ca,Cd[2]=DA,Cd[3]=us,De.ca=Wt,De.tb=mn,De.c=m.width,De.i=m.height,n(0=dt)m=0;else if(De.$a=3&Ze[Ge+0],De.Z=Ze[Ge+0]>>2&3,De.Lc=Ze[Ge+0]>>4&3,Ge=Ze[Ge+0]>>6&3,0>De.$a||1=De.c*De.i;De=!m}if(De)return null;u.ga.Lc!=1?u.Ga=0:q=Ne-_}n(u.ga!=null),n(_+q<=Ne);e:{if(m=(Ze=u.ga).c,Ne=Ze.l.o,Ze.$a==0){if(ft=u.rc,Xt=u.Vc,ln=u.Fa,Ge=u.P+1+_*m,dt=u.mb,Wt=u.nb+_*m,n(Ge<=u.P+u.qc),Ze.Z!=0)for(n(Cd[Ze.Z]!=null),De=0;De=m)m=1;else if(Ze.ic||Iu(),Ze.ic){Ze=De.V,ft=De.Ba,Xt=De.c;var Hn=De.i,pn=(ln=1,Ge=De.$/Xt,dt=De.$%Xt,Wt=De.m,mn=De.s,De.$),Zn=Xt*Hn,Wn=Xt*m,wr=mn.wc,ir=pn(Hn=VA(ir.G[0],ir.H[0],Wt)))Ze[ft+pn]=Hn,++pn,++dt>=Xt&&(dt=0,++Ge<=m&&!(Ge%16)&&xu(De,Ge));else{if(!(280>Hn)){ln=0;break t}Hn=Gl(Hn-256,Wt);var Fo,fo=VA(ir.G[4],ir.H[4],Wt);if(hn(Wt),!(pn>=(fo=$l(Xt,fo=Gl(fo,Wt)))&&Zn-pn>=Hn)){ln=0;break t}for(Fo=0;Fo=Xt;)dt-=Xt,++Ge<=m&&!(Ge%16)&&xu(De,Ge);pnm?m:Ge);break t}!ln||Wt.h&&pn=Ne&&(u.Cc=1),q=1}if(!q)return null;if(u.Cc&&((q=u.ga)!=null&&(q.mc=null),u.ga=null,0>23,Ze[Ge+4*De+1]=Ze[Ge+4*De+1]*mn>>23,Ze[Ge+4*De+2]=Ze[Ge+4*De+2]*mn>>23)}m+=Ne}}function cs(u,m,_,q,Be){for(;0>4)*Ge>>16;u[m+2*Ne+0]=(240&De|De>>4)*Ge>>16&240|(15&De|De<<4)*Ge>>16>>4&15,u[m+2*Ne+1]=240&dt|Ze}m+=Be}}function js(u,m,_,q,Be,Ne,De,Ze){var Ge,dt,Wt=255;for(dt=0;dt>8}function Iu(){s0=vs,tm=cs,nm=js,rm=Dc}function Pc(u,m,_){xt[u]=function(q,Be,Ne,De,Ze,Ge,dt,Wt,mn,ft,Xt,ln,Hn,pn,Zn,Wn,wr){var ir,Fo=wr-1>>1,fo=Ze[Ge+0]|dt[Wt+0]<<16,Qi=mn[ft+0]|Xt[ln+0]<<16;n(q!=null);var yo=3*fo+Qi+131074>>2;for(m(q[Be+0],255&yo,yo>>16,Hn,pn),Ne!=null&&(yo=3*Qi+fo+131074>>2,m(Ne[De+0],255&yo,yo>>16,Zn,Wn)),ir=1;ir<=Fo;++ir){var fa=Ze[Ge+ir]|dt[Wt+ir]<<16,ws=mn[ft+ir]|Xt[ln+ir]<<16,Oi=fo+fa+Qi+ws+524296,wo=Oi+2*(fa+Qi)>>3;yo=wo+fo>>1,fo=(Oi=Oi+2*(fo+ws)>>3)+fa>>1,m(q[Be+2*ir-1],255&yo,yo>>16,Hn,pn+(2*ir-1)*_),m(q[Be+2*ir-0],255&fo,fo>>16,Hn,pn+(2*ir-0)*_),Ne!=null&&(yo=Oi+Qi>>1,fo=wo+ws>>1,m(Ne[De+2*ir-1],255&yo,yo>>16,Zn,Wn+(2*ir-1)*_),m(Ne[De+2*ir+0],255&fo,fo>>16,Zn,Wn+(2*ir+0)*_)),fo=fa,Qi=ws}1&wr||(yo=3*fo+Qi+131074>>2,m(q[Be+wr-1],255&yo,yo>>16,Hn,pn+(wr-1)*_),Ne!=null&&(yo=3*Qi+fo+131074>>2,m(Ne[De+wr-1],255&yo,yo>>16,Zn,Wn+(wr-1)*_)))}}function Yh(){nu[dp]=hv,nu[fp]=hm,nu[lm]=pv,nu[hp]=pm,nu[pp]=gm,nu[cg]=mm,nu[um]=gv,nu[dg]=hm,nu[fg]=pm,nu[gp]=gm,nu[hg]=mm}function Jf(u){return u&~mv?0>u?0:255:u>>vm}function fd(u,m){return Jf((19077*u>>8)+(26149*m>>8)-14234)}function cf(u,m,_){return Jf((19077*u>>8)-(6419*m>>8)-(13320*_>>8)+8708)}function df(u,m){return Jf((19077*u>>8)+(33050*m>>8)-17685)}function hd(u,m,_,q,Be){q[Be+0]=fd(u,_),q[Be+1]=cf(u,m,_),q[Be+2]=df(u,m)}function Ms(u,m,_,q,Be){q[Be+0]=df(u,m),q[Be+1]=cf(u,m,_),q[Be+2]=fd(u,_)}function ff(u,m,_,q,Be){var Ne=cf(u,m,_);m=Ne<<3&224|df(u,m)>>3,q[Be+0]=248&fd(u,_)|Ne>>5,q[Be+1]=m}function hf(u,m,_,q,Be){var Ne=240&df(u,m)|15;q[Be+0]=240&fd(u,_)|cf(u,m,_)>>4,q[Be+1]=Ne}function Jh(u,m,_,q,Be){q[Be+0]=255,hd(u,m,_,q,Be+1)}function qh(u,m,_,q,Be){Ms(u,m,_,q,Be),q[Be+3]=255}function al(u,m,_,q,Be){hd(u,m,_,q,Be),q[Be+3]=255}function Tc(u,m,_){xt[u]=function(q,Be,Ne,De,Ze,Ge,dt,Wt,mn){for(var ft=Wt+(-2&mn)*_;Wt!=ft;)m(q[Be+0],Ne[De+0],Ze[Ge+0],dt,Wt),m(q[Be+1],Ne[De+0],Ze[Ge+0],dt,Wt+_),Be+=2,++De,++Ge,Wt+=2*_;1&mn&&m(q[Be+0],Ne[De+0],Ze[Ge+0],dt,Wt)}}function qf(u,m,_){return _==0?u==0?m==0?6:5:m==0?4:0:_}function sp(u,m,_,q,Be){switch(u>>>30){case 3:vf(m,_,q,Be,0);break;case 2:eu(m,_,q,Be);break;case 1:Ra(m,_,q,Be)}}function ql(u,m){var _,q,Be=m.M,Ne=m.Nb,De=u.oc,Ze=u.pc+40,Ge=u.oc,dt=u.pc+584,Wt=u.oc,mn=u.pc+600;for(_=0;16>_;++_)De[Ze+32*_-1]=129;for(_=0;8>_;++_)Ge[dt+32*_-1]=129,Wt[mn+32*_-1]=129;for(0_;++_)r(De,Ze+32*_-4,De,Ze+32*_+12,4);for(_=-1;8>_;++_)r(Ge,dt+32*_-4,Ge,dt+32*_+4,4),r(Wt,mn+32*_-4,Wt,mn+32*_+4,4)}var Xt=u.Gd,ln=u.Hd+q,Hn=ft.ad,pn=ft.Hc;if(0=u.za-1?o(Zn,Wn,Xt[ln].y[15],4):r(Zn,Wn,Xt[ln+1].y,0,4)),_=0;4>_;_++)Zn[Wn+128+_]=Zn[Wn+256+_]=Zn[Wn+384+_]=Zn[Wn+0+_];for(_=0;16>_;++_,pn<<=2)Zn=De,Wn=Ze+wm[_],Uu[ft.Ob[_]](Zn,Wn),sp(pn,Hn,16*+_,Zn,Wn)}else if(Zn=qf(q,Be,ft.Ob[0]),bd[Zn](De,Ze),pn!=0)for(_=0;16>_;++_,pn<<=2)sp(pn,Hn,16*+_,De,Ze+wm[_]);for(_=ft.Gc,Zn=qf(q,Be,ft.Dd),jc[Zn](Ge,dt),jc[Zn](Wt,mn),pn=Hn,Zn=Ge,Wn=dt,255&(ft=0|_)&&(170&ft?Ac(pn,256,Zn,Wn):Ja(pn,256,Zn,Wn)),ft=Wt,pn=mn,255&(_>>=8)&&(170&_?Ac(Hn,320,ft,pn):Ja(Hn,320,ft,pn)),Be_;++_)r(Xt,ln+_*u.R,De,Ze+32*_,16);for(_=0;8>_;++_)r(Hn,ft+_*u.B,Ge,dt+32*_,8),r(pn,Zn+_*u.B,Wt,mn+32*_,8)}}function pf(u,m,_,q,Be,Ne,De,Ze,Ge){var dt=[0],Wt=[0],mn=0,ft=Ge!=null?Ge.kd:0,Xt=Ge!=null?Ge:new or;if(u==null||12>_)return 7;Xt.data=u,Xt.w=m,Xt.ha=_,m=[m],_=[_],Xt.gb=[Xt.gb];e:{var ln=m,Hn=_,pn=Xt.gb;if(n(u!=null),n(Hn!=null),n(pn!=null),pn[0]=0,12<=Hn[0]&&!t(u,ln[0],"RIFF")){if(t(u,ln[0]+8,"WEBP")){pn=3;break e}var Zn=Oo(u,ln[0]+4);if(12>Zn||4294967286Hn[0]-8){pn=7;break e}pn[0]=Zn,ln[0]+=12,Hn[0]-=12}pn=0}if(pn!=0)return pn;for(Zn=0pn[0])pn=7;else{if(!t(Wn,Hn[0],"VP8X")){if(Oo(Wn,Hn[0]+4)!=10){pn=3;break e}if(18>pn[0]){pn=7;break e}var fo=Oo(Wn,Hn[0]+8),Qi=1+Wr(Wn,Hn[0]+12);if(2147483648<=Qi*(Wn=1+Wr(Wn,Hn[0]+15))){pn=3;break e}Fo!=null&&(Fo[0]=fo),wr!=null&&(wr[0]=Qi),ir!=null&&(ir[0]=Wn),Hn[0]+=18,pn[0]-=18,yo[0]=1}pn=0}}if(mn=mn[0],ln=ln[0],pn!=0)return pn;if(Hn=!!(2&ln),!Zn&&mn)return 3;if(Ne!=null&&(Ne[0]=!!(16&ln)),De!=null&&(De[0]=Hn),Ze!=null&&(Ze[0]=0),De=dt[0],ln=Wt[0],mn&&Hn&&Ge==null){pn=0;break}if(4>_){pn=7;break}if(Zn&&mn||!Zn&&!mn&&!t(u,m[0],"ALPH")){_=[_],Xt.na=[Xt.na],Xt.P=[Xt.P],Xt.Sa=[Xt.Sa];e:{fo=u,pn=m,Zn=_;var yo=Xt.gb;wr=Xt.na,ir=Xt.P,Fo=Xt.Sa,Qi=22,n(fo!=null),n(Zn!=null),Wn=pn[0];var fa=Zn[0];for(n(wr!=null),n(Fo!=null),wr[0]=null,ir[0]=null,Fo[0]=0;;){if(pn[0]=Wn,Zn[0]=fa,8>fa){pn=7;break e}var ws=Oo(fo,Wn+4);if(4294967286yo){pn=3;break e}if(!t(fo,Wn,"VP8 ")||!t(fo,Wn,"VP8L")){pn=0;break e}if(fa[0]Zn[0])pn=7;else{if(Wn||Qi){if(yo=Oo(yo,fo+4),12<=wr&&yo>wr-12){pn=3;break e}if(ft&&yo>Zn[0]-8){pn=7;break e}ir[0]=yo,pn[0]+=8,Zn[0]-=8,Fo[0]=Qi}else Fo[0]=5<=Zn[0]&&yo[fo+0]==47&&!(yo[fo+4]>>5),ir[0]=Zn[0];pn=0}if(_=_[0],Xt.Ja=Xt.Ja[0],Xt.xa=Xt.xa[0],m=m[0],pn!=0)break;if(4294967286_){pn=7;break}Ze=De,ft=ln,Hn=Ne,u==null||5>_?u=0:5<=_&&u[m+0]==47&&!(u[m+4]>>5)?(Zn=[0],yo=[0],wr=[0],Tn(ir=new bt,u,m,_),Sc(ir,Zn,yo,wr)?(Ze!=null&&(Ze[0]=Zn[0]),ft!=null&&(ft[0]=yo[0]),Hn!=null&&(Hn[0]=wr[0]),u=1):u=0):u=0}else{if(10>_){pn=7;break}Ze=ln,u==null||10>_||!Y0(u,m+3,_-3)?u=0:(ft=u[m+0]|u[m+1]<<8|u[m+2]<<16,Hn=16383&(u[m+7]<<8|u[m+6]),u=16383&(u[m+9]<<8|u[m+8]),1&ft||3<(ft>>1&7)||!(ft>>4&1)||ft>>5>=Xt.Ja||!Hn||!u?u=0:(De&&(De[0]=Hn),Ze&&(Ze[0]=u),u=1))}if(!u||(De=De[0],ln=ln[0],mn&&(dt[0]!=De||Wt[0]!=ln)))return 3;Ge!=null&&(Ge[0]=Xt,Ge.offset=m-Ge.w,n(4294967286>m-Ge.w),n(Ge.offset==Ge.ha-_));break}return pn==0||pn==7&&mn&&Ge==null?(Ne!=null&&(Ne[0]|=Xt.na!=null&&0_||(Ne&=-2,De&=-2),0>Ne||0>De||0>=Ze||0>=Ge||Ne+Ze>q||De+Ge>Be))return 0;if(m.v=Ne,m.j=De,m.va=Ne+Ze,m.o=De+Ge,m.U=Ze,m.T=Ge,m.da=u!=null&&0u.S){var m=u.f.RGBA;m.fb+=(u.height-1)*m.A,m.A=-m.A}else m=u.f.kb,u=u.height,m.O+=(u-1)*m.fa,m.fa=-m.fa,m.N+=(u-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(u-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(u-1)*m.lb,m.lb=-m.lb);return 0}function pd(u,m,_,q){if(q==null||0>=u||0>=m)return 2;if(_!=null){if(_.Da){var Be=_.cd,Ne=_.bd,De=-2&_.v,Ze=-2&_.j;if(0>De||0>Ze||0>=Be||0>=Ne||De+Be>u||Ze+Ne>m)return 2;u=Be,m=Ne}if(_.da){if(!Go(u,m,Be=[_.ib],Ne=[_.hb]))return 2;u=Be[0],m=Ne[0]}}q.width=u,q.height=m;e:{var Ge=q.width,dt=q.height;if(u=q.S,0>=Ge||0>=dt||!(u>=dp&&13>u))u=2;else{if(0>=q.Rd&&q.sd==null){De=Ne=Be=m=0;var Wt=(Ze=Ge*Bm[u])*dt;if(11>u||(Ne=(dt+1)/2*(m=(Ge+1)/2),u==12&&(De=(Be=Ge)*dt)),(dt=l(Wt+2*Ne+De))==null){u=1;break e}q.sd=dt,11>u?((Ge=q.f.RGBA).eb=dt,Ge.fb=0,Ge.A=Ze,Ge.size=Wt):((Ge=q.f.kb).y=dt,Ge.O=0,Ge.fa=Ze,Ge.Fd=Wt,Ge.f=dt,Ge.N=0+Wt,Ge.Ab=m,Ge.Cd=Ne,Ge.ea=dt,Ge.W=0+Wt+Ne,Ge.Db=m,Ge.Ed=Ne,u==12&&(Ge.F=dt,Ge.J=0+Wt+2*Ne),Ge.Tc=De,Ge.lb=Be)}if(m=1,Be=q.S,Ne=q.width,De=q.height,Be>=dp&&13>Be)if(11>Be)u=q.f.RGBA,m&=(Ze=Math.abs(u.A))*(De-1)+Ne<=u.size,m&=Ze>=Ne*Bm[Be],m&=u.eb!=null;else{u=q.f.kb,Ze=(Ne+1)/2,Wt=(De+1)/2,Ge=Math.abs(u.fa),dt=Math.abs(u.Ab);var mn=Math.abs(u.Db),ft=Math.abs(u.lb),Xt=ft*(De-1)+Ne;m&=Ge*(De-1)+Ne<=u.Fd,m&=dt*(Wt-1)+Ze<=u.Cd,m=(m&=mn*(Wt-1)+Ze<=u.Ed)&Ge>=Ne&dt>=Ze&mn>=Ze,m&=u.y!=null,m&=u.f!=null,m&=u.ea!=null,Be==12&&(m&=ft>=Ne,m&=Xt<=u.Tc,m&=u.F!=null)}else m=0;u=m?0:2}}return u!=0||_!=null&&_.fd&&(u=t0(q)),u}var gf=64,Ql=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Ol=24,gd=32,Rc=8,md=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];po("Predictor0","PredictorAdd0"),xt.Predictor0=function(){return 4278190080},xt.Predictor1=function(u){return u},xt.Predictor2=function(u,m,_){return m[_+0]},xt.Predictor3=function(u,m,_){return m[_+1]},xt.Predictor4=function(u,m,_){return m[_-1]},xt.Predictor5=function(u,m,_){return Ro(Ro(u,m[_+1]),m[_+0])},xt.Predictor6=function(u,m,_){return Ro(u,m[_-1])},xt.Predictor7=function(u,m,_){return Ro(u,m[_+0])},xt.Predictor8=function(u,m,_){return Ro(m[_-1],m[_+0])},xt.Predictor9=function(u,m,_){return Ro(m[_+0],m[_+1])},xt.Predictor10=function(u,m,_){return Ro(Ro(u,m[_-1]),Ro(m[_+0],m[_+1]))},xt.Predictor11=function(u,m,_){var q=m[_+0];return 0>=vi(q>>24&255,u>>24&255,(m=m[_-1])>>24&255)+vi(q>>16&255,u>>16&255,m>>16&255)+vi(q>>8&255,u>>8&255,m>>8&255)+vi(255&q,255&u,255&m)?q:u},xt.Predictor12=function(u,m,_){var q=m[_+0];return(Pa((u>>24&255)+(q>>24&255)-((m=m[_-1])>>24&255))<<24|Pa((u>>16&255)+(q>>16&255)-(m>>16&255))<<16|Pa((u>>8&255)+(q>>8&255)-(m>>8&255))<<8|Pa((255&u)+(255&q)-(255&m)))>>>0},xt.Predictor13=function(u,m,_){var q=m[_-1];return(oa((u=Ro(u,m[_+0]))>>24&255,q>>24&255)<<24|oa(u>>16&255,q>>16&255)<<16|oa(u>>8&255,q>>8&255)<<8|oa(255&u,255&q))>>>0};var n0=xt.PredictorAdd0;xt.PredictorAdd1=da,po("Predictor2","PredictorAdd2"),po("Predictor3","PredictorAdd3"),po("Predictor4","PredictorAdd4"),po("Predictor5","PredictorAdd5"),po("Predictor6","PredictorAdd6"),po("Predictor7","PredictorAdd7"),po("Predictor8","PredictorAdd8"),po("Predictor9","PredictorAdd9"),po("Predictor10","PredictorAdd10"),po("Predictor11","PredictorAdd11"),po("Predictor12","PredictorAdd12"),po("Predictor13","PredictorAdd13");var eh=xt.PredictorAdd2;Uo("ColorIndexInverseTransform","MapARGB","32b",function(u){return u>>8&255},function(u){return u}),Uo("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(u){return u},function(u){return u>>8&255});var ns,lp=xt.ColorIndexInverseTransform,ic=xt.MapARGB,ac=xt.VP8LColorIndexInverseTransformAlpha,r0=xt.MapAlpha,o0=xt.VP8LPredictorsAdd=[];o0.length=16,(xt.VP8LPredictors=[]).length=16,(xt.VP8LPredictorsAdd_C=[]).length=16,(xt.VP8LPredictors_C=[]).length=16;var i0,a0,vd,yd,wd,mf,Bd,vf,eu,Ac,Ra,Ja,rs,ys,_c,A0,th,up,$g,Xg,Yg,Jg,qg,em,s0,tm,nm,rm,om=l(511),im=l(2041),am=l(225),Am=l(767),sm=0,ug=im,cp=am,Dl=Am,tu=om,dp=0,fp=1,lm=2,hp=3,pp=4,cg=5,um=6,dg=7,fg=8,gp=9,hg=10,ev=[2,3,7],tv=[3,3,11],cm=[280,256,256,256,40],nv=[0,1,1,1,0],rv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],ov=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],iv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],av=8,pg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],gg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,Av=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],sv=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],lv=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],uv=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cv=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],bd=[],Uu=[],jc=[],fv=1,fm=2,Cd=[],nu=[];Pc("UpsampleRgbLinePair",hd,3),Pc("UpsampleBgrLinePair",Ms,3),Pc("UpsampleRgbaLinePair",al,4),Pc("UpsampleBgraLinePair",qh,4),Pc("UpsampleArgbLinePair",Jh,4),Pc("UpsampleRgba4444LinePair",hf,2),Pc("UpsampleRgb565LinePair",ff,2);var hv=xt.UpsampleRgbLinePair,pv=xt.UpsampleBgrLinePair,hm=xt.UpsampleRgbaLinePair,pm=xt.UpsampleBgraLinePair,gm=xt.UpsampleArgbLinePair,mm=xt.UpsampleRgba4444LinePair,gv=xt.UpsampleRgb565LinePair,mp=16,vp=1<q.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),q.ca.f.kb.F!=null&&Iu()),q.Pb&&0(Ge=_.Md)?0:100dt;++dt)12>(mn=Be.pb[dt]).lc&&(mn.ia=Ge*Ev[0>mn.lc?0:mn.lc]>>3),Wt|=mn.ia;Wt&&(alert("todo:VP8InitRandom"),Be.ia=1)}Be.Ga=_.Id,100Be.Ga&&(Be.Ga=0)}(function(ft,Xt){if(ft==null)return 0;if(Xt==null)return ls(ft,2,"NULL VP8Io parameter in VP8Decode().");if(!ft.cb&&!rc(ft,Xt))return 0;if(n(ft.cb),Xt.ac==null||Xt.ac(Xt)){Xt.ob&&(ft.L=0);var ln=yp[ft.L];if(ft.L==2?(ft.yb=0,ft.zb=0):(ft.yb=Xt.v-ln>>4,ft.zb=Xt.j-ln>>4,0>ft.yb&&(ft.yb=0),0>ft.zb&&(ft.zb=0)),ft.Va=Xt.o+15+ln>>4,ft.Hb=Xt.va+15+ln>>4,ft.Hb>ft.za&&(ft.Hb=ft.za),ft.Va>ft.Ub&&(ft.Va=ft.Ub),0ln;++ln){var pn;if(ft.Qa.Cb){var Zn=ft.Qa.Lb[ln];ft.Qa.Fb||(Zn+=Hn.Tb)}else Zn=Hn.Tb;for(pn=0;1>=pn;++pn){var Wn=ft.gd[ln][pn],wr=Zn;if(Hn.Pc&&(wr+=Hn.vd[0],pn&&(wr+=Hn.od[0])),0<(wr=0>wr?0:63>2:ir>>1)>9-Hn.wb&&(ir=9-Hn.wb),1>ir&&(ir=1),Wn.dd=ir,Wn.tc=2*wr+ir,Wn.ld=40<=wr?2:15<=wr?1:0}else Wn.tc=0;Wn.La=pn}}}ln=0}else ls(ft,6,"Frame setup failed"),ln=ft.a;if(ln=ln==0){if(ln){ft.$c=0,0ft.Vb){if(ft.Vb=0,ft.Ec=l(Wn),ft.Fc=0,ft.Ec==null){ln=ls(ft,1,"no memory during frame initialization.");break t}ft.Vb=Wn}Wn=ft.Ec,wr=ft.Fc,ft.Ac=Wn,ft.Bc=wr,wr+=Hn,ft.Gd=w(Fo,$0),ft.Hd=0,ft.rb=w(fo+1,Hh),ft.sb=1,ft.wa=Qi?w(Qi,Yl):null,ft.Y=0,ft.D.Nb=0,ft.D.wa=ft.wa,ft.D.Y=ft.Y,0=ln;++ln)om[255+ln]=0>ln?-ln:ln;for(ln=-1020;1020>=ln;++ln)im[1020+ln]=-128>ln?-128:127=ln;++ln)am[112+ln]=-16>ln?-16:15=ln;++ln)Am[255+ln]=0>ln?0:255ya;++ya){var Bs,Ea=Al[0+ya];for(Bs=0;4>Bs;++Bs){Ea=uv[mA[Hs+Bs]][Ea];for(var za=dm[Xn(wi,Ea[0])];0>3;for(za=0;256>za;za+=16)ya[el+za]=bl}ks=1,Lu=Hs[0]}var qa=15&wi.la,bs=15&sl.la;for(za=0;4>za;++za){var Pl=1&bs;for(bl=Za=0;4>bl;++bl)qa=qa>>1|(Pl=(is=l0(mA,Lu,is=Pl+(1&qa),WA.Sc,ks,ya,el))>ks)<<7,Za=Za<<2|(3>=4,bs=bs>>1|Pl<<7,Bs=(Bs<<8|Za)>>>0}for(Lu=qa,ks=bs>>4,GA=0;4>GA;GA+=2){for(Za=0,qa=wi.la>>4+GA,bs=sl.la>>4+GA,za=0;2>za;++za){for(Pl=1&bs,bl=0;2>bl;++bl)is=Pl+(1&qa),qa=qa>>1|(Pl=0<(is=l0(mA,Hs[2],is,WA.Qc,0,ya,el)))<<3,Za=Za<<2|(3>=2,bs=bs>>1|Pl<<5}Ea|=Za<<4*GA,Lu|=qa<<4<=wo.zb&&wo.M<=wo.Va,wo.Aa==0)t:{if(Oi.M=wo.M,Oi.uc=wi,ql(wo,Oi),os=1,Oi=(Za=wo.D).Nb,wi=(Ea=yp[wo.L])*wo.R,mA=Ea/2*wo.B,za=16*Oi*wo.R,bl=8*Oi*wo.B,Hs=wo.sa,Al=wo.ta-wi+za,WA=wo.qa,ya=wo.ra-mA+bl,el=wo.Ha,sl=wo.Ia-mA+bl,bs=(qa=Za.M)==0,Bs=qa>=wo.Va-1,wo.Aa==2&&ql(wo,Za),Za.uc)for(Pl=(is=wo).D.M,n(is.D.uc),Za=is.yb;ZaKr.o&&(qa=Kr.o),Kr.F=null,Kr.J=null,wo.Fa!=null&&0>1),Kr.W+=wo.B*(Ea>>1),Kr.F!=null&&(Kr.J+=Kr.width*Ea)),Za>1,Kr.W+=Kr.v>>1,Kr.F!=null&&(Kr.J+=Kr.v),Kr.ka=Za-Kr.j,Kr.U=Kr.va-Kr.v,Kr.T=qa-Za,os=Kr.put(Kr))}Oi+1!=wo.Ic||Bs||(r(wo.sa,wo.ta-wi,Hs,Al+16*wo.R,wi),r(wo.qa,wo.ra-mA,WA,ya+8*wo.B,mA),r(wo.Ha,wo.Ia-mA,el,sl+8*wo.B,mA))}if(!os)return ls(fa,6,"Output aborted.")}return 1}(ft,Xt)),Xt.bc!=null&&Xt.bc(Xt),ln&=1}return ln?(ft.cb=0,ln):0})(u,q)||(m=u.a)}}else m=u.a}m==0&&De.Oa!=null&&De.Oa.fd&&(m=t0(De.ba))}De=m}Ne=De!=0?null:11>Ne?Ze.f.RGBA.eb:Ze.f.kb.y}else Ne=null;return Ne};var Bm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Q(xt,sn){for(var _e="",st=0;st<4;st++)_e+=String.fromCharCode(xt[sn++]);return _e}function V(xt,sn){return xt[sn+0]|xt[sn+1]<<8}function fe(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16)>>>0}function Le(xt,sn){return(xt[sn+0]|xt[sn+1]<<8|xt[sn+2]<<16|xt[sn+3]<<24)>>>0}new S;var z=[0],it=[0],qe=[],At=new S,Me=e,Mt=function(xt,sn){var _e={},st=0,jt=!1,Rt=0,bn=0;if(_e.frames=[],!function(Pe,bt){for(var Ut=0;Ut<4;Ut++)if(Pe[bt+Ut]!="RIFF".charCodeAt(Ut))return!0;return!1}(xt,sn)){for(Le(xt,sn+=4),sn+=8;sn>1&1}Fn!="ANMF"&&(sn+=gn)}return _e}}(Me,0);Mt.response=Me,Mt.rgbaoutput=!0,Mt.dataurl=!1;var Dt=Mt.header?Mt.header:null,Ct=Mt.frames?Mt.frames:null;if(Dt){Dt.loop_counter=Dt.loop_count,z=[Dt.canvas_height],it=[Dt.canvas_width];for(var vn=0;vn=2?lt[1]:Xr[0],Xr[2]=lt.length>=3?lt[2]:Xr[0],Xr[3]=lt.length>=4?lt[3]:Xr[1]),Q.margin=Xr}});var Un=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Un},set:function(lt){Un=lt}});var Dn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Dn},set:function(lt){Dn=lt}});var Xn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Xn},set:function(lt){Xn=lt}}),Object.defineProperty(this,"ctx",{get:function(){return Q},set:function(lt){lt instanceof V&&(Q=lt)}}),Object.defineProperty(this,"path",{get:function(){return Q.path},set:function(lt){Q.path=lt}});var Br=[];Object.defineProperty(this,"ctxStack",{get:function(){return Br},set:function(lt){Br=lt}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(lt){var Xr;Xr=Le(lt),this.ctx.fillStyle=Xr.style,this.ctx.isFillTransparent=Xr.a===0,this.ctx.fillOpacity=Xr.a,this.pdf.setFillColor(Xr.r,Xr.g,Xr.b,{a:Xr.a}),this.pdf.setTextColor(Xr.r,Xr.g,Xr.b,{a:Xr.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(lt){var Xr=Le(lt);this.ctx.strokeStyle=Xr.style,this.ctx.isStrokeTransparent=Xr.a===0,this.ctx.strokeOpacity=Xr.a,Xr.a===0?this.pdf.setDrawColor(255,255,255):(Xr.a,this.pdf.setDrawColor(Xr.r,Xr.g,Xr.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(lt){["butt","round","square"].indexOf(lt)!==-1&&(this.ctx.lineCap=lt,this.pdf.setLineCap(lt))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(lt){isNaN(lt)||(this.ctx.lineWidth=lt,this.pdf.setLineWidth(lt))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(lt){["bevel","round","miter"].indexOf(lt)!==-1&&(this.ctx.lineJoin=lt,this.pdf.setLineJoin(lt))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(lt){isNaN(lt)||(this.ctx.miterLimit=lt,this.pdf.setMiterLimit(lt))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(lt){this.ctx.textBaseline=lt}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(lt){["right","end","center","left","start"].indexOf(lt)!==-1&&(this.ctx.textAlign=lt)}});var $r=null,Wr=null,Oo=null;Object.defineProperty(this,"fontFaces",{get:function(){return Oo},set:function(lt){$r=null,Wr=null,Oo=lt}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(lt){var Xr;if(this.ctx.font=lt,(Xr=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(lt))!==null){var _i=Xr[1];Xr[2];var Go=Xr[3],fr=Xr[4];Xr[5];var $o=Xr[6],po=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(fr)[2];fr=Math.floor(po==="px"?parseFloat(fr)*this.pdf.internal.scaleFactor:po==="em"?parseFloat(fr)*this.pdf.getFontSize():parseFloat(fr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(fr);var ko=function(Uo){var ts,ba,Hi=[],ki=Uo.trim();if(ki==="")return Zp;if(ki in $u)return[$u[ki]];for(;ki!=="";){switch(ba=null,ts=(ki=Xu(ki)).charAt(0)){case'"':case"'":ba=Bu(ki.substring(1),ts);break;default:ba=ud(ki)}if(ba===null||(Hi.push(ba[0]),(ki=Xu(ba[1]))!==""&&ki.charAt(0)!==","))return Zp;ki=ki.replace(/^,/,"")}return Hi}($o);if(this.fontFaces){var Ro=function(Uo,ts){var ba=Uo.getFontList(),Hi=JSON.stringify(ba);if($r===null||Wr!==Hi){var ki=function(xA){var jo=[];return Object.keys(xA).forEach(function(iA){xA[iA].forEach(function(ni){var yi=null;switch(ni){case"bold":yi={family:iA,weight:"bold"};break;case"italic":yi={family:iA,style:"italic"};break;case"bolditalic":yi={family:iA,weight:"bold",style:"italic"};break;case"":case"normal":yi={family:iA}}yi!==null&&(yi.ref={name:iA,style:ni},jo.push(yi))})}),jo}(ba);$r=function(xA){for(var jo={},iA=0;iA=700||_i==="bold")&&(vi="bold"),_i==="italic"&&(vi+="italic"),vi.length===0&&(vi="normal");for(var da="",ia={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Eo=0;Eo=2*Math.PI&&(Ht=0,Jt=2*Math.PI),this.path.push({type:"arc",x:Pe,y:bt,radius:Ut,startAngle:Ht,endAngle:Jt,counterclockwise:hn})},fe.prototype.arcTo=function(Pe,bt,Ut,Ht,Jt){throw new Error("arcTo not implemented.")},fe.prototype.rect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,bt),this.lineTo(Pe+Ut,bt),this.lineTo(Pe+Ut,bt+Ht),this.lineTo(Pe,bt+Ht),this.lineTo(Pe,bt),this.lineTo(Pe+Ut,bt),this.lineTo(Pe,bt)},fe.prototype.fillRect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!z.call(this)){var Jt={};this.lineCap!=="butt"&&(Jt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Jt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,bt,Ut,Ht),this.fill(),Jt.hasOwnProperty("lineCap")&&(this.lineCap=Jt.lineCap),Jt.hasOwnProperty("lineJoin")&&(this.lineJoin=Jt.lineJoin)}},fe.prototype.strokeRect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");it.call(this)||(this.beginPath(),this.rect(Pe,bt,Ut,Ht),this.stroke())},fe.prototype.clearRect=function(Pe,bt,Ut,Ht){if(isNaN(Pe)||isNaN(bt)||isNaN(Ut)||isNaN(Ht))throw Ka.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,bt,Ut,Ht))},fe.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var bt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ut=0;Ut0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};fe.prototype.drawImage=function(Pe,bt,Ut,Ht,Jt,hn,Un,Dn,Xn){var Br=this.pdf.getImageProperties(Pe),$r=1,Wr=1,Oo=1,lt=1;Ht!==void 0&&Dn!==void 0&&(Oo=Dn/Ht,lt=Xn/Jt,$r=Br.width/Ht*Dn/Ht,Wr=Br.height/Jt*Xn/Jt),hn===void 0&&(hn=bt,Un=Ut,bt=0,Ut=0),Ht!==void 0&&Dn===void 0&&(Dn=Ht,Xn=Jt),Ht===void 0&&Dn===void 0&&(Dn=Br.width,Xn=Br.height);var Xr=this.ctx.transform.decompose(),_i=gn(Xr.rotate.shx),Go=new S,fr=(Go=(Go=(Go=Go.multiply(Xr.translate)).multiply(Xr.skew)).multiply(Xr.scale)).applyToRectangle(new y(hn-bt*Oo,Un-Ut*lt,Ht*$r,Jt*Wr));if(this.autoPaging){for(var $o,po=At.call(this,fr),ko=[],Ro=0;RoPa||vifr||po<$o)&&qe.call(this);ia&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ko,oa,null).clip().discardPath()),vn.call(this,Pe,bt),ia&&this.pdf.restoreGraphicsState()}this.lineWidth=hn}this.path=$r}else this.lineWidth=Un,vn.call(this,Pe,bt),this.lineWidth=hn},vn=function(Pe,bt){if((Pe!=="stroke"||bt||!it.call(this))&&(Pe==="stroke"||bt||!z.call(this))){for(var Ut,Ht,Jt=[],hn=this.path,Un=0;Un0)){for(;Xn>=0;Xn--)if(Jt[Xn-1].close!==!0&&Jt[Xn-1].begin!==!0){Jt[Xn-1].deltas.push(Ut),Jt[Xn-1].abs.push(Dn);break}}break;case"bct":Ut=[Dn.x1-hn[Un-1].x,Dn.y1-hn[Un-1].y,Dn.x2-hn[Un-1].x,Dn.y2-hn[Un-1].y,Dn.x-hn[Un-1].x,Dn.y-hn[Un-1].y],Jt[Jt.length-1].deltas.push(Ut);break;case"qct":var Br=hn[Un-1].x+2/3*(Dn.x1-hn[Un-1].x),$r=hn[Un-1].y+2/3*(Dn.y1-hn[Un-1].y),Wr=Dn.x+2/3*(Dn.x1-Dn.x),Oo=Dn.y+2/3*(Dn.y1-Dn.y),lt=Dn.x,Xr=Dn.y;Ut=[Br-hn[Un-1].x,$r-hn[Un-1].y,Wr-hn[Un-1].x,Oo-hn[Un-1].y,lt-hn[Un-1].x,Xr-hn[Un-1].y],Jt[Jt.length-1].deltas.push(Ut);break;case"arc":Jt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Jt[Jt.length-1].abs)&&Jt[Jt.length-1].abs.push(Dn)}}Ht=bt?null:Pe==="stroke"?"stroke":"fill";for(var _i=!1,Go=0;Go=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale);var Si=this.autoPaging!=="text";if(Si||Eo.y+Eo.h<=Ro){if(Si||Eo.y>=po&&Eo.x<=oa){var Uo=Si?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||oa-Eo.x)[0],ts=Mt([JSON.parse(JSON.stringify(Wr))],this.posX+this.margin[3],-da+po+this.ctx.prevPageLastElemOffset)[0],ba=Si&&($o>Go||$o=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)}}else Pe.scale>=.01&&(Ht=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Ht*Pe.scale),Jt=this.lineWidth,this.lineWidth=Jt*Pe.scale),this.pdf.text(Pe.text,Xn.x+this.posX,Xn.y+this.posY,{angle:Pe.angle,align:bt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Ht),this.lineWidth=Jt)},jt=function(Pe,bt,Ut,Ht){Ut=Ut||0,Ht=Ht||0,this.pdf.internal.out(t(Pe+Ut)+" "+r(bt+Ht)+" l")},Rt=function(Pe,bt,Ut){return this.pdf.lines(Pe,bt,Ut,null,null)},bn=function(Pe,bt,Ut,Ht,Jt,hn,Un,Dn){this.pdf.internal.out([n(o(Ut+Pe)),n(l(Ht+bt)),n(o(Jt+Pe)),n(l(hn+bt)),n(o(Un+Pe)),n(l(Dn+bt)),"c"].join(" "))},Fn=function(Pe,bt,Ut,Ht){for(var Jt=2*Math.PI,hn=Math.PI/2;bt>Ut;)bt-=Jt;var Un=Math.abs(Ut-bt);Un1e-5;){var $r=Br+Xn*Math.min(Un,hn);Dn.push(Nn.call(this,Pe,Br,$r)),Un-=Math.abs($r-Br),Br=$r}return Dn},Nn=function(Pe,bt,Ut){var Ht=(Ut-bt)/2,Jt=Pe*Math.cos(Ht),hn=Pe*Math.sin(Ht),Un=Jt,Dn=-hn,Xn=Un*Un+Dn*Dn,Br=Xn+Un*Jt+Dn*hn,$r=4/3*(Math.sqrt(2*Xn*Br)-Br)/(Un*hn-Dn*Jt),Wr=Un-$r*Dn,Oo=Dn+$r*Un,lt=Wr,Xr=-Oo,_i=Ht+bt,Go=Math.cos(_i),fr=Math.sin(_i);return{x1:Pe*Math.cos(bt),y1:Pe*Math.sin(bt),x2:Wr*Go-Oo*fr,y2:Wr*fr+Oo*Go,x3:lt*Go-Xr*fr,y3:lt*fr+Xr*Go,x4:Pe*Math.cos(Ut),y4:Pe*Math.sin(Ut)}},gn=function(Pe){return 180*Pe/Math.PI},Tn=function(Pe,bt,Ut,Ht,Jt,hn){var Un=Pe+.5*(Ut-Pe),Dn=bt+.5*(Ht-bt),Xn=Jt+.5*(Ut-Jt),Br=hn+.5*(Ht-hn),$r=Math.min(Pe,Jt,Un,Xn),Wr=Math.max(Pe,Jt,Un,Xn),Oo=Math.min(bt,hn,Dn,Br),lt=Math.max(bt,hn,Dn,Br);return new y($r,Oo,Wr-$r,lt-Oo)},Ir=function(Pe,bt,Ut,Ht,Jt,hn,Un,Dn){var Xn,Br,$r,Wr,Oo,lt,Xr,_i,Go,fr,$o,po,ko,Ro,Pa=Ut-Pe,oa=Ht-bt,vi=Jt-Ut,da=hn-Ht,ia=Un-Jt,Eo=Dn-hn;for(Br=0;Br<41;Br++)Go=(Xr=($r=Pe+(Xn=Br/40)*Pa)+Xn*((Oo=Ut+Xn*vi)-$r))+Xn*(Oo+Xn*(Jt+Xn*ia-Oo)-Xr),fr=(_i=(Wr=bt+Xn*oa)+Xn*((lt=Ht+Xn*da)-Wr))+Xn*(lt+Xn*(hn+Xn*Eo-lt)-_i),Br==0?($o=Go,po=fr,ko=Go,Ro=fr):($o=Math.min($o,Go),po=Math.min(po,fr),ko=Math.max(ko,Go),Ro=Math.max(Ro,fr));return new y(Math.round($o),Math.round(po),Math.round(ko-$o),Math.round(Ro-po))},rr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,bt,Ut=(Pe=this.ctx.lineDash,bt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:bt}));this.prevLineDash!==Ut&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ut)}}})(vo.API),function(e){var n=function(w){var y,S,Q,V,fe,Le,z,it,qe,At;for(/[^\x00-\xFF]/.test(w),S=[],Q=0,V=(w+=y="\0\0\0\0".slice(w.length%4||4)).length;V>Q;Q+=4)(fe=(w.charCodeAt(Q)<<24)+(w.charCodeAt(Q+1)<<16)+(w.charCodeAt(Q+2)<<8)+w.charCodeAt(Q+3))!==0?(Le=(fe=((fe=((fe=((fe=(fe-(At=fe%85))/85)-(qe=fe%85))/85)-(it=fe%85))/85)-(z=fe%85))/85)%85,S.push(Le+33,z+33,it+33,qe+33,At+33)):S.push(122);return function(Me,Mt){for(var Dt=Mt;Dt>0;Dt--)Me.pop()}(S,y.length),String.fromCharCode.apply(String,S)+"~>"},t=function(w){var y,S,Q,V,fe,Le=String,z="length",it=255,qe="charCodeAt",At="slice",Me="replace";for(w[At](-2),w=w[At](0,-2)[Me](/\s/g,"")[Me]("z","!!!!!"),Q=[],V=0,fe=(w+=y="uuuuu"[At](w[z]%5||5))[z];fe>V;V+=5)S=52200625*(w[qe](V)-33)+614125*(w[qe](V+1)-33)+7225*(w[qe](V+2)-33)+85*(w[qe](V+3)-33)+(w[qe](V+4)-33),Q.push(it&S>>24,it&S>>16,it&S>>8,it&S);return function(Mt,Dt){for(var Ct=Dt;Ct>0;Ct--)Mt.pop()}(Q,y[z]),Le.fromCharCode.apply(Le,Q)},r=function(w){return w.split("").map(function(y){return("0"+y.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(w){var y=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((w=w.replace(/\s/g,"")).indexOf(">")!==-1&&(w=w.substr(0,w.indexOf(">"))),w.length%2&&(w+="0"),y.test(w)===!1)return"";for(var S="",Q=0;Qqe&&(it=At,At=qe,qe=it);else{if(y!=="l"&&y!=="landscape")throw"Invalid orientation: "+y;y="l",qe>At&&(it=At,At=qe,qe=it)}return{width:At,height:qe,unit:S,k:fe,orientation:y}},e.html=function(y,S){(S=S||{}).callback=S.callback||function(){},S.html2canvas=S.html2canvas||{},S.html2canvas.canvas=S.html2canvas.canvas||this.canvas,S.jsPDF=S.jsPDF||this,S.fontFaces=S.fontFaces?S.fontFaces.map(Bl):null;var Q=new w(S);return S.worker?Q:Q.from(y).doCallback()}}(vo.API),vo.API.addJS=function(e){return Og=e,this.internal.events.subscribe("postPutResources",function(){Yu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Yu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Qg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Og+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Yu!==void 0&&Qg!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),l=0;l> endobj")}var z=t.internal.newObject();for(t.internal.write("<< /Names [ "),l=0;l>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+z+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,l){var w={title:o,options:l,children:[]};return r==null&&(r=this.root),r.children.push(w),w},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,l=0;l0&&this.line("/Prev "+this.makeRef(r.children[l-1])),l0&&(this.line("/First "+this.makeRef(w.children[0])),this.line("/Last "+this.makeRef(w.children[w.children.length-1])));var y=this.count=this.count_r({count:0},w);if(y>0&&this.line("/Count "+y),w.options&&w.options.pageNumber){var S=t.internal.getPageInfo(w.options.pageNumber);this.line("/Dest ["+S.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var Q=0;Qdiv{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div span{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:29px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:308px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 131px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt i{margin-right:2px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt:hover{color:#e30000;background:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.list___jb2Ay .wrapisCurrent___qIfQT{height:280px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrapisCurrent___qIfQT:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrapisCurrent___qIfQT .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 105px);border-radius:8px 8px 0 0}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .tagsDom___COQg7{height:calc(100% - 105px)!important}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .bq___Bil0T{height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ{font-size:16px;font-weight:600;color:#000;padding:10px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrapisCurrent___qIfQT .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.tagsDom___COQg7{display:flex;align-items:end;width:100%;padding:6px;position:absolute;top:0;left:0;height:calc(100% - 131px)}.movebq___mF7wt{display:none;position:absolute;top:0;right:95px!important;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.movebq___mF7wt i{margin-right:2px}.movebq___mF7wt:hover{color:#e30000;background:#fff}.hiddenbq___TqlUF{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#fff3;border-radius:9px;color:#fff;font-size:12px;right:4px;top:4px}.hiddenbq___TqlUF i{margin-right:2px}.hiddenbq___TqlUF:hover{color:#3061d0;background:#fff}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .hidden___NniIi{display:none;position:absolute;z-index:1;padding:4px 8px;line-height:1;background:#9999991a;border-radius:9px;color:#999;font-size:12px;right:4px;top:4px}.list___L1hmU .hidden___NniIi i{margin-right:2px}.list___L1hmU .hidden___NniIi:hover{color:#3061d0;background:#3061d01a}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW .btnsTop___Lrm6T{position:absolute;right:0;top:0;font-size:16px;color:#0152d9;z-index:5;padding:0;cursor:pointer}.list___L1hmU .wrap___pKgcW .btnsTop___Lrm6T span{margin:0!important;top:1px!important;right:3px!important;border-radius:6px}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW:hover .hidden___NniIi{display:inline-block}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368}.flex_box_center___JyZDM{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___irBjO{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___O_Nib{align-items:center;box-align:center}.flex_box_center_end___ELw5e{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___WqDB7{flex-direction:column;box-orient:block-axis}.scoremodal___v8vvd [class~=ant-modal-body]{padding:30px 40px}.scoremodal___v8vvd [class~=ant-modal-footer]{margin-top:0!important;padding:0 0 20px!important}.scoremodal___v8vvd .selectWrapper___uaibI span[class~=ant-select-selection-placeholder]{color:#9096a3}.scoremodal___v8vvd .selectWrapper___uaibI div[class~=ant-select-selector]{border-radius:4px;height:38px!important}.scoremodal___v8vvd .selectWrapper___uaibI div[class~=ant-select-selector] input[class~=ant-select-selection-search-input],.scoremodal___v8vvd .selectWrapper___uaibI div[class~=ant-select-selector] span[class~=ant-select-selection-placeholder]{height:38px!important;line-height:36px!important}.scoremodal___v8vvd .selectWrapper___uaibI div[class~=ant-select-selector] span[class~=ant-select-selection-item]{line-height:36px!important}.scoremodal___v8vvd .selectWrapper___uaibI span[class~=ant-select-arrow]{right:12px}.scoremodal___v8vvd .selectWrappers___lqg6k span[class~=ant-select-selection-placeholder]{color:#9096a3}.scoremodal___v8vvd .selectWrappers___lqg6k div[class~=ant-select-selector]{border-radius:4px;height:38px!important}.scoremodal___v8vvd .selectWrappers___lqg6k div[class~=ant-select-selector] input[class~=ant-select-selection-search-input],.scoremodal___v8vvd .selectWrappers___lqg6k div[class~=ant-select-selector] span[class~=ant-select-selection-placeholder]{height:38px!important;line-height:36px!important}.scoremodal___v8vvd .selectWrappers___lqg6k span[class~=ant-select-arrow]{right:12px}.scoremodal___v8vvd .allqingchu___kq8s8{margin-top:8px;color:#165dff;cursor:pointer}.scoremodal___v8vvd .allqingchu___kq8s8 span{width:84px;height:20px;font-size:14px;font-weight:400;color:#165dff;line-height:20px;margin-left:5px}.scoremodal___v8vvd .allqingchu___kq8s8:hover,.scoremodal___v8vvd .allqingchu___kq8s8:hover span{color:#e30000}.scoremodal___v8vvd .title___PQR47{color:#000;font-size:16px;font-weight:500;display:flex;width:100%;margin-top:10px}.scoremodal___v8vvd .score___Y51iK{margin-left:305px;color:#3061d0;text-align:end}.scoremodal___v8vvd .close___vMAPi{font-size:15px;cursor:pointer;color:#979797}.scoremodal___v8vvd .content___D5gsd{display:flex;justify-content:space-between;margin-top:40px;color:#5f6368;font-size:14px;margin-bottom:24px}.scoremodal___v8vvd .content___D5gsd span{display:flex;flex:1 1}.scoremodal___v8vvd .content___D5gsd span:nth-child(4){display:flex;min-width:160px;align-items:center}.scoremodal___v8vvd .items___Sl0jf{display:flex;justify-content:space-between;align-items:center;color:#5f6368;font-size:14px;margin-bottom:12px}.scoremodal___v8vvd .items___Sl0jf span{display:flex;flex:1 1;color:#000;font-weight:400}.scoremodal___v8vvd .items___Sl0jf span:nth-child(4){display:flex;min-width:160px;align-items:center;color:#9096a3}.scoremodal___v8vvd .bottom___lJ34a{width:100%;text-align:end}.scoremodal___v8vvd .bottom___lJ34a .yes___RSNa7{width:60px;height:32px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;font-weight:400;color:#fff}.scoremodal___v8vvd .bottom___lJ34a .no___stbbn{margin-right:20px;width:60px;height:32px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-weight:400;color:#464f66;line-height:14px}.scoremodal___v8vvd .titlecount___o03Zo{width:41px;height:22px;background:#fa6400;border-radius:15px;margin-left:5px;color:#fff;display:inline-flex;justify-content:center}.scoremodal___v8vvd .add___b7wEI{font-weight:400;color:#fa6400;line-height:14px;font-size:14px;position:absolute;top:2px}.scoremodal___v8vvd .search___BTzh4{display:flex;align-items:center;overflow:hidden;border-radius:19px;height:38px;width:280px;padding-left:20px;background-color:#f6f7f9;border:none}.scoremodal___v8vvd .search___BTzh4 [class~=ant-input-affix-wrapper]{background-color:#f6f7f9;border:none}.scoremodal___v8vvd .search___BTzh4 [class~=ant-input-affix-wrapper] input{height:19px!important;line-height:19px!important}.scoremodal___v8vvd .search___BTzh4 [class~=ant-input-affix-wrapper]{outline:none!important;border:none!important;box-shadow:none!important}.scoremodal___v8vvd .search___BTzh4 span[class~=ant-input-group-addon]{display:none}.scoremodal___v8vvd .search___BTzh4 .searchIcon___Qqqwp{margin-right:14px;cursor:pointer}.scoremodal___v8vvd .search___BTzh4 input{background-color:#f6f7f9;font-size:14px}.scoremodal___v8vvd .tabWrap___bhoWL{margin-bottom:18px}.scoremodal___v8vvd .tabWrap___bhoWL div[class~=ant-tabs-tab]{font-size:14px;margin-right:40px!important;color:#5f6368}.scoremodal___v8vvd .tabWrap___bhoWL div[class~=ant-tabs-tab-active] [class~=ant-tabs-tab-btn]{color:#232b40}.scoremodal___v8vvd .tabWrap___bhoWL [class~=ant-tabs-nav]{margin:0;height:52px;padding:0 2px}.scoremodal___v8vvd .tabWrap___bhoWL [class~=ant-tabs-nav] div[class~=ant-tabs-ink-bar]{background-color:#232b40;border-radius:100px 100px 0 0;height:3px}.scoremodal___v8vvd .tabWrap___bhoWL [class~=ant-tabs-nav]:before{background:#f1f1f1}.previewModal___EzPRC div[class~=ant-modal-header]{padding-top:30px;padding-left:40px;padding-bottom:0}.previewModal___EzPRC div[class~=ant-modal-body]{padding:30px 40px}.previewModal___EzPRC button[class~=ant-modal-close]{top:17px;right:16px;transform:scale(1.2)}.flex_box_center___ly5fd{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___iYF6e{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___J4dvr{align-items:center;box-align:center}.flex_box_center_end___X7Gj4{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PP05z{flex-direction:column;box-orient:block-axis}.warp___SZusg{max-height:552px;overflow:auto}.warp___SZusg .shixunbutton___YA7HZ{font-size:14px;color:#3061d0;margin-right:20px;font-weight:400;background:#3061d0;width:108px;height:32px;color:#fff;display:flex;align-items:center;justify-content:center;line-height:32px;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:16px}.warp___SZusg .shixunbutton___YA7HZ i{font-size:12px}.warp___SZusg .redio___ntLVZ{display:flex;flex-wrap:nowrap;align-items:center;margin-bottom:25px}.warp___SZusg .redio___ntLVZ .redioitem___ZwKNR{width:14px;height:14px;min-width:14px;background:#f5f5f5;border-radius:7px;border:1px solid #D9D9D9;margin-right:10px}.warp___SZusg .redio___ntLVZ .redioitemyes___aR5S1{font-size:14px;color:#37ad83;margin-right:10px}.warp___SZusg .redio___ntLVZ .title___lbEpK{color:#000;font-size:16px}.warp___SZusg .redio___ntLVZ .titleyes___C03Hl{color:#37ad83;font-size:16px}.warp___SZusg .redio___ntLVZ .yestag___checX{width:60px;min-width:60px;height:20px;color:#37ad83;text-align:center;margin-left:16px;line-height:20px;font-size:12px;background:#ebf6f2}.warp___SZusg .qcount___Z7rc5{display:flex;align-items:center;margin-bottom:10px}.warp___SZusg .qcount___Z7rc5 .score___I1olD{width:44px;height:20px;background:#ececec99;border-radius:0 0 2px;text-align:center;color:#464f66;margin-right:5px}.warp___SZusg .qcount___Z7rc5 .qtitle___XI0C3{width:100%;color:#000}.warp___SZusg .checkbox___JyN6h{display:flex;align-items:flex-start;margin-bottom:25px}.warp___SZusg .checkbox___JyN6h .checkboxitem___Velm7{width:14px;height:14px;min-width:14px;margin-top:6px;background:#f5f5f5;border-radius:2px;margin-right:10px;border:1px solid #D9D9D9}.warp___SZusg .checkbox___JyN6h .checkboxitemyes___ju19l{font-size:14px;color:#37ad83;margin-right:10px;margin-top:6px}.warp___SZusg .checkbox___JyN6h .title___lbEpK{color:#000;font-size:16px}.warp___SZusg .checkbox___JyN6h .titleyes___C03Hl{color:#37ad83;font-size:16px}.warp___SZusg .checkbox___JyN6h .yestag___checX{width:60px;height:20px;min-width:60px;color:#37ad83;text-align:center;margin-left:16px;line-height:20px;font-size:12px;background:#ebf6f2}.warp___SZusg .bottom___TmVK0{margin-top:20px;background-color:#f6f7f9;padding:40px 20px 20px}.warp___SZusg .bottom___TmVK0 .bottomitem___xqjDY{margin-bottom:25px;display:flex;align-items:baseline}.warp___SZusg .bottom___TmVK0 .bottomitem___xqjDY .left___WBZ8R{color:#666;text-align:end;width:56px;min-width:48px;font-size:14px}.warp___SZusg .bottom___TmVK0 .bottomitem___xqjDY .right___u9EOe{color:#000;margin-left:10px;font-size:14px}.warp___SZusg .completion___Q5y2a .title___lbEpK{width:70px;height:46px;min-width:70px;display:flex;align-items:center;justify-content:center}.warp___SZusg .completion___Q5y2a .content___o8h2_{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap}.warp___SZusg .completion___Q5y2a .content___o8h2_ .items___m5b4M{padding:14px 16px;border:1px solid #dcdcdc;height:46px;border-radius:2px;margin-left:20px;color:#37ad83;min-width:102px;display:inline-block;font-size:14px;text-align:center;margin-bottom:20px}.warp___SZusg .simple___SVr7O .title___lbEpK{color:#37ad83;font-size:14px;margin-top:2px;min-width:56px;margin-bottom:3px}.warp___SZusg .simple___SVr7O .content___o8h2_{font-size:16px}.warp___SZusg .shixun___jb8sL{display:flex;align-items:center;margin-top:20px}.warp___SZusg .shixun___jb8sL .score___I1olD{width:44px;height:25px;background:#ececec99;border-radius:0 0 2px;text-align:center;line-height:25px;color:#464f66;margin-right:10px}.warp___SZusg .shixun___jb8sL .qtitle___XI0C3{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;width:80%;color:#000;font-weight:400;font-size:16px}.warp___SZusg .combination___vizwt{display:flex;align-items:center;margin-top:20px}.warp___SZusg .combination___vizwt .score___I1olD{width:44px;height:25px;background:#ececec99;border-radius:0 0 2px;text-align:center;line-height:25px;color:#464f66;margin-right:10px}.warp___SZusg .combination___vizwt .qtitle___XI0C3{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;width:80%;color:#000;font-weight:600;font-size:16px}.warp___SZusg .program___fMfXQ{display:flex;align-items:flex-start}.warp___SZusg .program___fMfXQ .title___lbEpK{color:#37ad83;font-size:14px;margin-top:2px;min-width:56px}.warp___SZusg .program___fMfXQ .content___o8h2_{font-size:16px}@font-face{font-family:KaTeX_AMS;src:url(./static/KaTeX_AMS-Regular.e101fd3b.woff2) format("woff2"),url(./static/KaTeX_AMS-Regular.89a32939.woff) format("woff"),url(./static/KaTeX_AMS-Regular.76b481f1.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./static/KaTeX_Caligraphic-Bold.804b0502.woff2) format("woff2"),url(./static/KaTeX_Caligraphic-Bold.ebf5447d.woff) format("woff"),url(./static/KaTeX_Caligraphic-Bold.28758623.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(./static/KaTeX_Caligraphic-Regular.7ca15b3a.woff2) format("woff2"),url(./static/KaTeX_Caligraphic-Regular.d642f1a8.woff) format("woff"),url(./static/KaTeX_Caligraphic-Regular.fe9310f0.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./static/KaTeX_Fraktur-Bold.33bcfed3.woff2) format("woff2"),url(./static/KaTeX_Fraktur-Bold.fc482350.woff) format("woff"),url(./static/KaTeX_Fraktur-Bold.70f2abc1.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(./static/KaTeX_Fraktur-Regular.86cfbe4e.woff2) format("woff2"),url(./static/KaTeX_Fraktur-Regular.29abfb1c.woff) format("woff"),url(./static/KaTeX_Fraktur-Regular.51bff235.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Bold.603892c5.woff2) format("woff2"),url(./static/KaTeX_Main-Bold.9f5bc66f.woff) format("woff"),url(./static/KaTeX_Main-Bold.da66c0ab.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-BoldItalic.bd95a810.woff2) format("woff2"),url(./static/KaTeX_Main-BoldItalic.c31eb616.woff) format("woff"),url(./static/KaTeX_Main-BoldItalic.962b328a.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Italic.7662be2b.woff2) format("woff2"),url(./static/KaTeX_Main-Italic.3c94ae8c.woff) format("woff"),url(./static/KaTeX_Main-Italic.b1598925.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(./static/KaTeX_Main-Regular.7056d1df.woff2) format("woff2"),url(./static/KaTeX_Main-Regular.f23b28dc.woff) format("woff"),url(./static/KaTeX_Main-Regular.fe159c21.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(./static/KaTeX_Math-BoldItalic.df742084.woff2) format("woff2"),url(./static/KaTeX_Math-BoldItalic.a6fde119.woff) format("woff"),url(./static/KaTeX_Math-BoldItalic.8ee92314.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(./static/KaTeX_Math-Italic.912cb075.woff2) format("woff2"),url(./static/KaTeX_Math-Italic.ad043b21.woff) format("woff"),url(./static/KaTeX_Math-Italic.f4a2fd50.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Bold.198a2b19.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Bold.2dee50c6.woff) format("woff"),url(./static/KaTeX_SansSerif-Bold.9ae5090b.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Italic.58452206.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Italic.f88f16ed.woff) format("woff"),url(./static/KaTeX_SansSerif-Italic.363562bf.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(./static/KaTeX_SansSerif-Regular.50cd68ac.woff2) format("woff2"),url(./static/KaTeX_SansSerif-Regular.13e35ac8.woff) format("woff"),url(./static/KaTeX_SansSerif-Regular.d1c35243.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(./static/KaTeX_Script-Regular.2fc42204.woff2) format("woff2"),url(./static/KaTeX_Script-Regular.8f35f84f.woff) format("woff"),url(./static/KaTeX_Script-Regular.d09e0cea.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(./static/KaTeX_Size1-Regular.03ff84ee.woff2) format("woff2"),url(./static/KaTeX_Size1-Regular.2222c8c3.woff) format("woff"),url(./static/KaTeX_Size1-Regular.920c8080.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(./static/KaTeX_Size2-Regular.fa296a19.woff2) format("woff2"),url(./static/KaTeX_Size2-Regular.45c74525.woff) format("woff"),url(./static/KaTeX_Size2-Regular.7d3e746e.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(./static/KaTeX_Size3-Regular.d9075b2b.woff2) format("woff2"),url(./static/KaTeX_Size3-Regular.62bef299.woff) format("woff"),url(./static/KaTeX_Size3-Regular.39f7a039.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(./static/KaTeX_Size4-Regular.93084eec.woff2) format("woff2"),url(./static/KaTeX_Size4-Regular.3ee0d868.woff) format("woff"),url(./static/KaTeX_Size4-Regular.cd3f02bf.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(./static/KaTeX_Typewriter-Regular.65cd6476.woff2) format("woff2"),url(./static/KaTeX_Typewriter-Regular.3f215ba2.woff) format("woff"),url(./static/KaTeX_Typewriter-Regular.73468499.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.11.1"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left}.wrp___dq7YK{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100%;left:0;top:0;z-index:108}.wrp___dq7YK.bgBlack___ARIUV{background:#00000080}.wrp___dq7YK img,.wrp___dq7YK video{max-width:100%;max-height:80%;text-align:center}.wrp___dq7YK iframe{width:100%;height:100%;position:absolute;left:0;top:0;background:#fff;border:none}.monaco___VnZC3{position:absolute;height:100%;width:100%}.darkBlue___UprA9 *{font-size:14px}.darkBlue___UprA9 [class~=margin],.darkBlue___UprA9 [class~=monaco-editor-background]{background:#0a0e2d!important}.darkBlue___UprA9 [class~=line-numbers]{color:#fff!important}@keyframes showClose___edZQA{to{opacity:1;visibility:visible}}.close___LKoWu{position:absolute;right:40px;top:40px;z-index:10;display:flex;visibility:hidden;animation:showClose___edZQA 0s linear 1s forwards}.close___LKoWu>span{background:#4a4a4a;color:#fff;width:40px;height:40px;border-radius:4px;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-left:10px}.embed___hvpEJ{position:absolute;left:0;top:0;width:100%;height:100%}.my-monaco-editor div,.my-diff-editor div{font-size:unset}.my-error-line-wrp{width:calc(100% - 20px)!important;background:#f5000033!important;height:auto!important;color:#f50000}.noCopyPaste .quick-input-widget{display:none!important}.breakpoints-select{background:red;width:8px!important;height:8px!important;left:7px!important;top:7px;border-radius:4px;user-select:none;pointer-events:none}.breakpoints-fake{background:#ff000080;width:8px!important;height:8px!important;left:7px!important;top:7px;border-radius:4px;user-select:none;pointer-events:none}.highlighted-line{background:#4b4b18}.mdBody___raKXb{position:relative}.button___Ch5Pc{position:absolute;display:flex;align-items:center;justify-content:center;background:#0000001a;display:none}.previewFlowChart___vY1dq{align-items:flex-start;justify-content:end;background:none!important}.previewFlowChart___vY1dq button{margin:20px}.flex_box_center___yMUhy{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___KNvG9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___yqWY9{align-items:center;box-align:center}.flex_box_center_end___DJKuV{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___NTtN1{flex-direction:column;box-orient:block-axis}.singleSelect___fU3O9,.multipleSelect___LFXCB{display:flex;align-items:center}.multipleSelect___LFXCB .plus___gdDhG div[class~=ant-select-selector]{min-height:46px}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.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:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;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-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.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;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}#educoder .markdown-editor-wrapper{position:relative}#educoder .markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center}#educoder .markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}#educoder .markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px;position:relative}#educoder .markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;margin-bottom:12px;font-size:16px}#educoder .markdown-editor-container.full-screen{position:fixed;inset:0;height:100%!important;z-index:998}#educoder .markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}#educoder .markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}#educoder .markdown-editor-container.on-preview .codemirror-container,#educoder .markdown-editor-container.on-preview .preview-container{width:50%}#educoder .mini .markdown-editor-body{height:calc(100% - 28px)}#educoder .flex-end{justify-content:flex-end}#educoder .my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}#educoder .markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}#educoder .CodeMirror-lines{padding:4px 0}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{padding:0 4px}#educoder .CodeMirror-scrollbar-filler,#educoder .CodeMirror-gutter-filler{background-color:#fff}#educoder .CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}#educoder .CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}#educoder .CodeMirror-guttermarker{color:#000}#educoder .CodeMirror-guttermarker-subtle{color:#999}#educoder .CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}#educoder .CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}#educoder .cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}#educoder .cm-fat-cursor div.CodeMirror-cursors{z-index:1}#educoder .cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}#educoder .cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}#educoder .cm-tab{display:inline-block;text-decoration:inherit}#educoder .CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}#educoder .CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}#educoder .cm-s-default .cm-header{color:#00f}#educoder .cm-s-default .cm-quote{color:#090}#educoder .cm-negative{color:#d44}#educoder .cm-positive{color:#292}#educoder .cm-header,#educoder .cm-strong{font-weight:700}#educoder .cm-em{font-style:italic}#educoder .cm-link{text-decoration:underline}#educoder .cm-strikethrough{text-decoration:line-through}#educoder .cm-s-default .cm-keyword{color:#708}#educoder .cm-s-default .cm-atom{color:#219}#educoder .cm-s-default .cm-number{color:#164}#educoder .cm-s-default .cm-def{color:#00f}#educoder .cm-s-default .cm-variable-2{color:#05a}#educoder .cm-s-default .cm-variable-3,#educoder .cm-s-default .cm-type{color:#085}#educoder .cm-s-default .cm-comment{color:#a50}#educoder .cm-s-default .cm-string{color:#a11}#educoder .cm-s-default .cm-string-2{color:#f50}#educoder .cm-s-default .cm-meta,#educoder .cm-s-default .cm-qualifier{color:#555}#educoder .cm-s-default .cm-builtin{color:#30a}#educoder .cm-s-default .cm-bracket{color:#997}#educoder .cm-s-default .cm-tag{color:#170}#educoder .cm-s-default .cm-attribute{color:#00c}#educoder .cm-s-default .cm-hr{color:#999}#educoder .cm-s-default .cm-link{color:#00c}#educoder .cm-s-default .cm-error,#educoder .cm-invalidchar{color:red}#educoder .CodeMirror-composing{border-bottom:2px solid}#educoder div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}#educoder div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}#educoder .CodeMirror-matchingtag{background:#ff96004d}#educoder .CodeMirror-activeline-background{background:#e8f2ff}#educoder .CodeMirror{position:relative;overflow:hidden;background:#fff}#educoder .CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}#educoder .CodeMirror-sizer{position:relative;border-right:0px}#educoder .CodeMirror-vscrollbar,#educoder .CodeMirror-hscrollbar,#educoder .CodeMirror-scrollbar-filler,#educoder .CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}#educoder .CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}#educoder .CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}#educoder .CodeMirror-scrollbar-filler{right:0;bottom:0}#educoder .CodeMirror-gutter-filler{left:0;bottom:0}#educoder .CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}#educoder .CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}#educoder .CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}#educoder .CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}#educoder .CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}#educoder .CodeMirror-gutter-wrapper ::selection{background-color:transparent}#educoder .CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}#educoder .CodeMirror-lines{cursor:text;min-height:1px}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}#educoder .CodeMirror-wrap pre.CodeMirror-line,#educoder .CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}#educoder .CodeMirror-linebackground{position:absolute;inset:0;height:100vh!important;z-index:1100}#educoder .CodeMirror-linebackground .preview-container>div{padding-bottom:180px!important}#educoder .CodeMirror-linebackground .CodeMirror-sizer>div{margin-bottom:90px}#educoder .CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}#educoder .CodeMirror-rtl pre{direction:rtl}#educoder .CodeMirror-code{outline:none}#educoder .CodeMirror-scroll,#educoder .CodeMirror-sizer,#educoder .CodeMirror-gutter,#educoder .CodeMirror-gutters,#educoder .CodeMirror-linenumber{box-sizing:content-box}#educoder .CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}#educoder .CodeMirror-cursor{position:absolute;pointer-events:none}#educoder .CodeMirror-measure pre{position:static}#educoder div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}#educoder div.CodeMirror-dragcursors,#educoder .CodeMirror-focused div.CodeMirror-cursors{visibility:visible}#educoder .CodeMirror-selected{background:#d9d9d9}#educoder .CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}#educoder .CodeMirror-crosshair{cursor:crosshair}#educoder .CodeMirror-line::selection,#educoder .CodeMirror-line>span::selection,#educoder .CodeMirror-line>span>span::selection{background:#d7d4f0}#educoder .CodeMirror-line::-moz-selection,#educoder .CodeMirror-line>span::-moz-selection,#educoder .CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}#educoder .cm-searching{background-color:#ffa;background-color:#ff06}#educoder .cm-force-border{padding-right:.1px}@media print{#educoder .CodeMirror div.CodeMirror-cursors{visibility:hidden}}#educoder .cm-tab-wrap-hack:after{content:""}#educoder span.CodeMirror-selectedtext{background:none}#educoder .CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}#educoder .CodeMirror-empty.CodeMirror-focused{outline:none}#educoder .CodeMirror pre.CodeMirror-placeholder{color:#999}#educoder .CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}#educoder .CodeMirror pre.CodeMirror-line,#educoder .CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px;height:38px;overflow:hidden}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.drawerWrap___MfDw8 [class~=ant-drawer-body]{padding:0!important}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.wrap___ilWvf div[class~=ant-form-item]{margin-bottom:0}.wrap___ilWvf .deleteIcon___JBDG8{color:#e30000;font-size:16px}.wrap___ilWvf .keywordTag___iieCb{padding:10px 10px 10px 8px;font-size:14px;font-weight:400;color:#000;display:flex}.questionTitleEditorWrap___MHB5s{margin-bottom:18px}.choiceListWrap___jB8b1{margin-bottom:20px!important}.choiceListWrap___jB8b1[class~=ant-form-item-has-error] div[class~=inputBorderError]{border:1px solid #ff4d4f!important}.choiceListWrap___jB8b1 div[class~=ant-form-item-explain-error]{padding-left:60px}.choiceWrap___QFkTc .choiceIndex___Mr2YO{display:flex;flex:0 0 auto;justify-content:center;align-items:center;width:46px;height:46px;border-radius:23px;border:1px solid #DCDCDC;font-size:16px;font-weight:400;color:#464f66;cursor:pointer}.choiceWrap___QFkTc .choiceIndex___Mr2YO.judgementIndex___fUVWK{border-radius:2px}.choiceWrap___QFkTc .setAnswerBtn___Whox5{border-radius:2px;border:1px solid #DCDCDC;font-size:14px;font-weight:400;color:#9096a3;height:46px;display:flex;align-items:center;padding:0 16px;cursor:pointer}.choiceWrap___QFkTc .activeAnswer___fGU6Y{background-color:#37ad83;border-color:#37ad83;color:#fff}.choiceWrap___QFkTc .activeJudgementAnswer___wJv8P{background-color:#ebf6f2;border-color:#37ad83;color:#37ad83}.choiceWrap___QFkTc .actionWrapper___ERQ7k{display:flex;align-items:center;justify-content:flex-end;margin:auto 0 auto 20px}.choiceWrap___QFkTc .actionWrapper___ERQ7k .addIcon___L9TE0{color:#2fa34f;font-size:14px}.choiceWrap___QFkTc .actionWrapper___ERQ7k .deleteIcon___JBDG8{color:#e30000;font-size:14px;margin-left:20px}.inputBorder___Q5tRE{border-radius:2px;border:1px solid #DCDCDC;padding:8px 12px;font-size:14px;min-height:46px;display:flex}.placeholder___p9sFY{font-size:14px;font-weight:400;color:#9096a3}.blankInputNumberWrapper___uEHb0 div[class~=ant-form-item-label]{line-height:46px}.blankInputNumberWrapper___uEHb0 [class~=ant-row]{align-items:center!important}.blankInputNumberWrapper___uEHb0 input[class~=ant-input-number-input]{font-size:14px;height:46px}.addBtn___WR5ZI{display:flex;justify-content:center;align-items:center;width:80px;height:32px;background:#3061d0;box-shadow:0 2px 4px #e0dfe1,inset 0 -1px 3px #ffffff80;border-radius:16px;cursor:pointer;font-weight:400;color:#fff;font-size:12px;margin-left:20px}.blankIndex___x9Pny{font-size:14px;font-weight:400;color:#666}.baseInputWrapper___eVsG7 div[class~=ant-form-item-label]{line-height:56px}.baseInputWrapper___eVsG7 input[class~=ant-input-number-input]{font-size:14px}div[class~=ant-collapse-borderless]{background-color:#fff}.collapseWrapper___ZTysU{margin-bottom:30px}.collapseWrapper___ZTysU div[class~=ant-collapse-item] div[class~=ant-collapse-header]{padding:0 20px!important;height:64px!important;background-color:#f6f7f8;align-items:center!important}.collapseWrapper___ZTysU div[class~=ant-collapse-item] div[class~=ant-collapse-content]{background-color:#fff!important}.collapseWrapper___ZTysU div[class~=ant-collapse-item] div[class~=ant-collapse-content] div[class~=ant-collapse-content-box]{padding:20px 40px!important}.collapseWrapper___ZTysU div[class~=ant-collapse-item-active] div[class~=ant-collapse-header]{background-color:#eaeffa!important}.collapseWrapper___ZTysU .panelHeader___QSN9g span{color:#666}.collapseWrapper___ZTysU .open___B6FU9{color:#165dff;transform:rotate(90deg)}.collapseWrapper___ZTysU .close___QX19r{color:#82a8ff}.hide___mn25n{display:none}.collapseWrapper___ZTysU div[class~=ant-collapse-item]{margin-bottom:20px;border:none;box-shadow:0 2px 4px #eaeef4}.collapseWrapper___ZTysU div[class~=ant-collapse-item] div[class~=ant-collapse-header]{padding:0 20px;height:64px;background-color:#f6f7f8;align-items:center!important}.collapseWrapper___ZTysU div[class~=ant-collapse-item] div[class~=ant-collapse-content]{background-color:#fff}.collapseWrapper___ZTysU div[class~=ant-collapse-item] div[class~=ant-collapse-content] div[class~=ant-collapse-content-box]{padding:20px}.collapseWrapper___ZTysU div[class~=ant-collapse-item-active] div[class~=ant-collapse-header]{background-color:#eaeffa}.collapseWrapper___ZTysU .panelHeader___QSN9g{font-size:14px;font-weight:400;color:#000}.collapseWrapper___ZTysU .rateInput___yMSFt{display:inline-flex;align-items:center;white-space:nowrap}.collapseWrapper___ZTysU .rateInput___yMSFt span{font-size:14px;font-weight:400;color:#666}.collapseWrapper___ZTysU .operationWrapper___sHATq{text-align:right}.collapseWrapper___ZTysU .open___B6FU9{color:#165dff!important;transform:rotate(90deg)}.collapseWrapper___ZTysU .close___QX19r{color:#82a8ff!important}.collapseWrapper___ZTysU .add___jcwUR{font-size:14px;color:#2fa34f}.collapseWrapper___ZTysU .remove___nbhui{font-size:14px;color:#e30000} diff --git a/p__Paths__Detail__components__AddAndEdit__index.cdc8805f.async.js b/p__Paths__Detail__components__AddAndEdit__index.cdc8805f.async.js new file mode 100644 index 0000000000..66278ca1ad --- /dev/null +++ b/p__Paths__Detail__components__AddAndEdit__index.cdc8805f.async.js @@ -0,0 +1,1272 @@ +!(function(){var su=Object.defineProperty,cu=Object.defineProperties;var uu=Object.getOwnPropertyDescriptors;var ic=Object.getOwnPropertySymbols;var Uc=Object.prototype.hasOwnProperty,Gc=Object.prototype.propertyIsEnumerable;var Mc=Math.pow,Vc=(Bn,rn,ee)=>rn in Bn?su(Bn,rn,{enumerable:!0,configurable:!0,writable:!0,value:ee}):Bn[rn]=ee,Oo=(Bn,rn)=>{for(var ee in rn||(rn={}))Uc.call(rn,ee)&&Vc(Bn,ee,rn[ee]);if(ic)for(var ee of ic(rn))Gc.call(rn,ee)&&Vc(Bn,ee,rn[ee]);return Bn},fi=(Bn,rn)=>cu(Bn,uu(rn));var ac=(Bn,rn)=>{var ee={};for(var b in Bn)Uc.call(Bn,b)&&rn.indexOf(b)<0&&(ee[b]=Bn[b]);if(Bn!=null&&ic)for(var b of ic(Bn))rn.indexOf(b)<0&&Gc.call(Bn,b)&&(ee[b]=Bn[b]);return ee};var Xc=(Bn,rn,ee)=>new Promise((b,Me)=>{var ce=pe=>{try{Pe(ee.next(pe))}catch(be){Me(be)}},et=pe=>{try{Pe(ee.throw(pe))}catch(be){Me(be)}},Pe=pe=>pe.done?b(pe.value):Promise.resolve(pe.value).then(ce,et);Pe((ee=ee.apply(Bn,rn)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[1306],{89489:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},59477:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},40001:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},49198:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},73331:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},15277:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},52671:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},8657:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},56082:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},33853:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},15075:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},43531:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},61485:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},47472:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},87395:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(60499),Me=ee(59301),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(ue,$e){return Me.createElement(Pe.Z,(0,b.Z)({},ue,{ref:$e,icon:et}))},be=Me.forwardRef(pe),Ve=be},87954:function(Bn,rn,ee){"use strict";ee.d(rn,{LB:function(){return tr},y9:function(){return io},g4:function(){return Zt},we:function(){return an},pE:function(){return Ot},VK:function(){return yt},Cj:function(){return vr},O1:function(){return br},Zj:function(){return cr},VT:function(){return Ue},Dy:function(){return Re}});var b=ee(59301),Me=ee(4676),ce=ee(35241);const et={display:"none"};function Pe(Oe){let{id:We,value:bt}=Oe;return b.createElement("div",{id:We,style:et},bt)}function pe(Oe){let{id:We,announcement:bt,ariaLiveType:Ze="assertive"}=Oe;const dt={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return b.createElement("div",{id:We,style:dt,role:"status","aria-live":Ze,"aria-atomic":!0},bt)}function be(){const[Oe,We]=(0,b.useState)("");return{announce:(0,b.useCallback)(Ze=>{Ze!=null&&We(Ze)},[]),announcement:Oe}}const Ve=(0,b.createContext)(null);function Ie(Oe){const We=(0,b.useContext)(Ve);(0,b.useEffect)(()=>{if(!We)throw new Error("useDndMonitor must be used within a children of ");return We(Oe)},[Oe,We])}function ue(){const[Oe]=(0,b.useState)(()=>new Set),We=(0,b.useCallback)(Ze=>(Oe.add(Ze),()=>Oe.delete(Ze)),[Oe]);return[(0,b.useCallback)(Ze=>{let{type:dt,event:at}=Ze;Oe.forEach(Mt=>{var Bt;return(Bt=Mt[dt])==null?void 0:Bt.call(Mt,at)})},[Oe]),We]}const $e={draggable:` + To pick up a draggable item, press the space bar. + While dragging, use the arrow keys to move the item. + Press space again to drop the item in its new position, or press escape to cancel. + `},Ee={onDragStart(Oe){let{active:We}=Oe;return"Picked up draggable item "+We.id+"."},onDragOver(Oe){let{active:We,over:bt}=Oe;return bt?"Draggable item "+We.id+" was moved over droppable area "+bt.id+".":"Draggable item "+We.id+" is no longer over a droppable area."},onDragEnd(Oe){let{active:We,over:bt}=Oe;return bt?"Draggable item "+We.id+" was dropped over droppable area "+bt.id:"Draggable item "+We.id+" was dropped."},onDragCancel(Oe){let{active:We}=Oe;return"Dragging was cancelled. Draggable item "+We.id+" was dropped."}};function Rt(Oe){let{announcements:We=Ee,container:bt,hiddenTextDescribedById:Ze,screenReaderInstructions:dt=$e}=Oe;const{announce:at,announcement:Mt}=be(),Bt=(0,ce.Ld)("DndLiveRegion"),[Wt,En]=(0,b.useState)(!1);if((0,b.useEffect)(()=>{En(!0)},[]),Ie((0,b.useMemo)(()=>({onDragStart(hn){let{active:Ln}=hn;at(We.onDragStart({active:Ln}))},onDragMove(hn){let{active:Ln,over:Gn}=hn;We.onDragMove&&at(We.onDragMove({active:Ln,over:Gn}))},onDragOver(hn){let{active:Ln,over:Gn}=hn;at(We.onDragOver({active:Ln,over:Gn}))},onDragEnd(hn){let{active:Ln,over:Gn}=hn;at(We.onDragEnd({active:Ln,over:Gn}))},onDragCancel(hn){let{active:Ln,over:Gn}=hn;at(We.onDragCancel({active:Ln,over:Gn}))}}),[at,We])),!Wt)return null;const Rn=b.createElement(b.Fragment,null,b.createElement(Pe,{id:Ze,value:dt.draggable}),b.createElement(pe,{id:Bt,announcement:Mt}));return bt?(0,Me.createPortal)(Rn,bt):Rn}var ot;(function(Oe){Oe.DragStart="dragStart",Oe.DragMove="dragMove",Oe.DragEnd="dragEnd",Oe.DragCancel="dragCancel",Oe.DragOver="dragOver",Oe.RegisterDroppable="registerDroppable",Oe.SetDroppableDisabled="setDroppableDisabled",Oe.UnregisterDroppable="unregisterDroppable"})(ot||(ot={}));function st(){}function Ue(Oe,We){return(0,b.useMemo)(()=>({sensor:Oe,options:We!=null?We:{}}),[Oe,We])}function Re(){for(var Oe=arguments.length,We=new Array(Oe),bt=0;bt[...We].filter(Ze=>Ze!=null),[...We])}const ft=Object.freeze({x:0,y:0});function kt(Oe,We){return Math.sqrt(Math.pow(Oe.x-We.x,2)+Math.pow(Oe.y-We.y,2))}function en(Oe,We){const bt=(0,ce.DC)(Oe);if(!bt)return"0 0";const Ze={x:(bt.x-We.left)/We.width*100,y:(bt.y-We.top)/We.height*100};return Ze.x+"% "+Ze.y+"%"}function Qe(Oe,We){let{data:{value:bt}}=Oe,{data:{value:Ze}}=We;return bt-Ze}function Ae(Oe,We){let{data:{value:bt}}=Oe,{data:{value:Ze}}=We;return Ze-bt}function tt(Oe){let{left:We,top:bt,height:Ze,width:dt}=Oe;return[{x:We,y:bt},{x:We+dt,y:bt},{x:We,y:bt+Ze},{x:We+dt,y:bt+Ze}]}function nt(Oe,We){if(!Oe||Oe.length===0)return null;const[bt]=Oe;return We?bt[We]:bt}function zt(Oe,We,bt){return We===void 0&&(We=Oe.left),bt===void 0&&(bt=Oe.top),{x:We+Oe.width*.5,y:bt+Oe.height*.5}}const Ot=Oe=>{let{collisionRect:We,droppableRects:bt,droppableContainers:Ze}=Oe;const dt=zt(We,We.left,We.top),at=[];for(const Mt of Ze){const{id:Bt}=Mt,Wt=bt.get(Bt);if(Wt){const En=kt(zt(Wt),dt);at.push({id:Bt,data:{droppableContainer:Mt,value:En}})}}return at.sort(Qe)},ht=Oe=>{let{collisionRect:We,droppableRects:bt,droppableContainers:Ze}=Oe;const dt=tt(We),at=[];for(const Mt of Ze){const{id:Bt}=Mt,Wt=bt.get(Bt);if(Wt){const En=tt(Wt),Rn=dt.reduce((Ln,Gn,lr)=>Ln+kt(En[lr],Gn),0),hn=Number((Rn/4).toFixed(4));at.push({id:Bt,data:{droppableContainer:Mt,value:hn}})}}return at.sort(Qe)};function Ct(Oe,We){const bt=Math.max(We.top,Oe.top),Ze=Math.max(We.left,Oe.left),dt=Math.min(We.left+We.width,Oe.left+Oe.width),at=Math.min(We.top+We.height,Oe.top+Oe.height),Mt=dt-Ze,Bt=at-bt;if(Ze{let{collisionRect:We,droppableRects:bt,droppableContainers:Ze}=Oe;const dt=[];for(const at of Ze){const{id:Mt}=at,Bt=bt.get(Mt);if(Bt){const Wt=Ct(Bt,We);Wt>0&&dt.push({id:Mt,data:{droppableContainer:at,value:Wt}})}}return dt.sort(Ae)};function ke(Oe,We){const{top:bt,left:Ze,bottom:dt,right:at}=We;return bt<=Oe.y&&Oe.y<=dt&&Ze<=Oe.x&&Oe.x<=at}const xe=Oe=>{let{droppableContainers:We,droppableRects:bt,pointerCoordinates:Ze}=Oe;if(!Ze)return[];const dt=[];for(const at of We){const{id:Mt}=at,Bt=bt.get(Mt);if(Bt&&ke(Ze,Bt)){const En=tt(Bt).reduce((hn,Ln)=>hn+kt(Ze,Ln),0),Rn=Number((En/4).toFixed(4));dt.push({id:Mt,data:{droppableContainer:at,value:Rn}})}}return dt.sort(Qe)};function se(Oe,We,bt){return fi(Oo({},Oe),{scaleX:We&&bt?We.width/bt.width:1,scaleY:We&&bt?We.height/bt.height:1})}function It(Oe,We){return Oe&&We?{x:Oe.left-We.left,y:Oe.top-We.top}:ft}function _e(Oe){return function(bt){for(var Ze=arguments.length,dt=new Array(Ze>1?Ze-1:0),at=1;atfi(Oo({},Mt),{top:Mt.top+Oe*Bt.y,bottom:Mt.bottom+Oe*Bt.y,left:Mt.left+Oe*Bt.x,right:Mt.right+Oe*Bt.x}),Oo({},bt))}}const Ye=_e(1);function Ft(Oe){if(Oe.startsWith("matrix3d(")){const We=Oe.slice(9,-1).split(/, /);return{x:+We[12],y:+We[13],scaleX:+We[0],scaleY:+We[5]}}else if(Oe.startsWith("matrix(")){const We=Oe.slice(7,-1).split(/, /);return{x:+We[4],y:+We[5],scaleX:+We[0],scaleY:+We[3]}}return null}function Ce(Oe,We,bt){const Ze=Ft(We);if(!Ze)return Oe;const{scaleX:dt,scaleY:at,x:Mt,y:Bt}=Ze,Wt=Oe.left-Mt-(1-dt)*parseFloat(bt),En=Oe.top-Bt-(1-at)*parseFloat(bt.slice(bt.indexOf(" ")+1)),Rn=dt?Oe.width/dt:Oe.width,hn=at?Oe.height/at:Oe.height;return{width:Rn,height:hn,top:En,right:Wt+Rn,bottom:En+hn,left:Wt}}const he={ignoreTransform:!1};function yt(Oe,We){We===void 0&&(We=he);let bt=Oe.getBoundingClientRect();if(We.ignoreTransform){const{transform:En,transformOrigin:Rn}=(0,ce.Jj)(Oe).getComputedStyle(Oe);En&&(bt=Ce(bt,En,Rn))}const{top:Ze,left:dt,width:at,height:Mt,bottom:Bt,right:Wt}=bt;return{top:Ze,left:dt,width:at,height:Mt,bottom:Bt,right:Wt}}function Vt(Oe){return yt(Oe,{ignoreTransform:!0})}function Lt(Oe){const We=Oe.innerWidth,bt=Oe.innerHeight;return{top:0,left:0,right:We,bottom:bt,width:We,height:bt}}function me(Oe,We){return We===void 0&&(We=(0,ce.Jj)(Oe).getComputedStyle(Oe)),We.position==="fixed"}function qe(Oe,We){We===void 0&&(We=(0,ce.Jj)(Oe).getComputedStyle(Oe));const bt=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(dt=>{const at=We[dt];return typeof at=="string"?bt.test(at):!1})}function it(Oe,We){const bt=[];function Ze(dt){if(We!=null&&bt.length>=We||!dt)return bt;if((0,ce.qk)(dt)&&dt.scrollingElement!=null&&!bt.includes(dt.scrollingElement))return bt.push(dt.scrollingElement),bt;if(!(0,ce.Re)(dt)||(0,ce.vZ)(dt)||bt.includes(dt))return bt;const at=(0,ce.Jj)(Oe).getComputedStyle(dt);return dt!==Oe&&qe(dt,at)&&bt.push(dt),me(dt,at)?bt:Ze(dt.parentNode)}return Oe?Ze(Oe):bt}function Xt(Oe){const[We]=it(Oe,1);return We!=null?We:null}function Xe(Oe){return!ce.Nq||!Oe?null:(0,ce.FJ)(Oe)?Oe:(0,ce.UG)(Oe)?(0,ce.qk)(Oe)||Oe===(0,ce.r3)(Oe).scrollingElement?window:(0,ce.Re)(Oe)?Oe:null:null}function Gt(Oe){return(0,ce.FJ)(Oe)?Oe.scrollX:Oe.scrollLeft}function Fe(Oe){return(0,ce.FJ)(Oe)?Oe.scrollY:Oe.scrollTop}function dn(Oe){return{x:Gt(Oe),y:Fe(Oe)}}var $t;(function(Oe){Oe[Oe.Forward=1]="Forward",Oe[Oe.Backward=-1]="Backward"})($t||($t={}));function ae(Oe){return!ce.Nq||!Oe?!1:Oe===document.scrollingElement}function ne(Oe){const We={x:0,y:0},bt=ae(Oe)?{height:window.innerHeight,width:window.innerWidth}:{height:Oe.clientHeight,width:Oe.clientWidth},Ze={x:Oe.scrollWidth-bt.width,y:Oe.scrollHeight-bt.height},dt=Oe.scrollTop<=We.y,at=Oe.scrollLeft<=We.x,Mt=Oe.scrollTop>=Ze.y,Bt=Oe.scrollLeft>=Ze.x;return{isTop:dt,isLeft:at,isBottom:Mt,isRight:Bt,maxScroll:Ze,minScroll:We}}const te={x:.2,y:.2};function ie(Oe,We,bt,Ze,dt){let{top:at,left:Mt,right:Bt,bottom:Wt}=bt;Ze===void 0&&(Ze=10),dt===void 0&&(dt=te);const{isTop:En,isBottom:Rn,isLeft:hn,isRight:Ln}=ne(Oe),Gn={x:0,y:0},lr={x:0,y:0},sr={height:We.height*dt.y,width:We.width*dt.x};return!En&&at<=We.top+sr.height?(Gn.y=$t.Backward,lr.y=Ze*Math.abs((We.top+sr.height-at)/sr.height)):!Rn&&Wt>=We.bottom-sr.height&&(Gn.y=$t.Forward,lr.y=Ze*Math.abs((We.bottom-sr.height-Wt)/sr.height)),!Ln&&Bt>=We.right-sr.width?(Gn.x=$t.Forward,lr.x=Ze*Math.abs((We.right-sr.width-Bt)/sr.width)):!hn&&Mt<=We.left+sr.width&&(Gn.x=$t.Backward,lr.x=Ze*Math.abs((We.left+sr.width-Mt)/sr.width)),{direction:Gn,speed:lr}}function de(Oe){if(Oe===document.scrollingElement){const{innerWidth:at,innerHeight:Mt}=window;return{top:0,left:0,right:at,bottom:Mt,width:at,height:Mt}}const{top:We,left:bt,right:Ze,bottom:dt}=Oe.getBoundingClientRect();return{top:We,left:bt,right:Ze,bottom:dt,width:Oe.clientWidth,height:Oe.clientHeight}}function re(Oe){return Oe.reduce((We,bt)=>(0,ce.IH)(We,dn(bt)),ft)}function le(Oe){return Oe.reduce((We,bt)=>We+Gt(bt),0)}function Se(Oe){return Oe.reduce((We,bt)=>We+Fe(bt),0)}function Ge(Oe,We){if(We===void 0&&(We=yt),!Oe)return;const{top:bt,left:Ze,bottom:dt,right:at}=We(Oe);Xt(Oe)&&(dt<=0||at<=0||bt>=window.innerHeight||Ze>=window.innerWidth)&&Oe.scrollIntoView({block:"center",inline:"center"})}const He=[["x",["left","right"],le],["y",["top","bottom"],Se]];class Le{constructor(We,bt){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const Ze=it(bt),dt=re(Ze);this.rect=Oo({},We),this.width=We.width,this.height=We.height;for(const[at,Mt,Bt]of He)for(const Wt of Mt)Object.defineProperty(this,Wt,{get:()=>{const En=Bt(Ze),Rn=dt[at]-En;return this.rect[Wt]+Rn},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class rt{constructor(We){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(bt=>{var Ze;return(Ze=this.target)==null?void 0:Ze.removeEventListener(...bt)})},this.target=We}add(We,bt,Ze){var dt;(dt=this.target)==null||dt.addEventListener(We,bt,Ze),this.listeners.push([We,bt,Ze])}}function ut(Oe){const{EventTarget:We}=(0,ce.Jj)(Oe);return Oe instanceof We?Oe:(0,ce.r3)(Oe)}function At(Oe,We){const bt=Math.abs(Oe.x),Ze=Math.abs(Oe.y);return typeof We=="number"?Math.sqrt(Mc(bt,2)+Mc(Ze,2))>We:"x"in We&&"y"in We?bt>We.x&&Ze>We.y:"x"in We?bt>We.x:"y"in We?Ze>We.y:!1}var Ne;(function(Oe){Oe.Click="click",Oe.DragStart="dragstart",Oe.Keydown="keydown",Oe.ContextMenu="contextmenu",Oe.Resize="resize",Oe.SelectionChange="selectionchange",Oe.VisibilityChange="visibilitychange"})(Ne||(Ne={}));function Be(Oe){Oe.preventDefault()}function Ut(Oe){Oe.stopPropagation()}var Zt;(function(Oe){Oe.Space="Space",Oe.Down="ArrowDown",Oe.Right="ArrowRight",Oe.Left="ArrowLeft",Oe.Up="ArrowUp",Oe.Esc="Escape",Oe.Enter="Enter",Oe.Tab="Tab"})(Zt||(Zt={}));const mn={start:[Zt.Space,Zt.Enter],cancel:[Zt.Esc],end:[Zt.Space,Zt.Enter,Zt.Tab]},vn=(Oe,We)=>{let{currentCoordinates:bt}=We;switch(Oe.code){case Zt.Right:return fi(Oo({},bt),{x:bt.x+25});case Zt.Left:return fi(Oo({},bt),{x:bt.x-25});case Zt.Down:return fi(Oo({},bt),{y:bt.y+25});case Zt.Up:return fi(Oo({},bt),{y:bt.y-25})}};class jt{constructor(We){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=We;const{event:{target:bt}}=We;this.props=We,this.listeners=new rt((0,ce.r3)(bt)),this.windowListeners=new rt((0,ce.Jj)(bt)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ne.Resize,this.handleCancel),this.windowListeners.add(Ne.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ne.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:We,onStart:bt}=this.props,Ze=We.node.current;Ze&&Ge(Ze),bt(ft)}handleKeyDown(We){if((0,ce.vd)(We)){const{active:bt,context:Ze,options:dt}=this.props,{keyboardCodes:at=mn,coordinateGetter:Mt=vn,scrollBehavior:Bt="smooth"}=dt,{code:Wt}=We;if(at.end.includes(Wt)){this.handleEnd(We);return}if(at.cancel.includes(Wt)){this.handleCancel(We);return}const{collisionRect:En}=Ze.current,Rn=En?{x:En.left,y:En.top}:ft;this.referenceCoordinates||(this.referenceCoordinates=Rn);const hn=Mt(We,{active:bt,context:Ze.current,currentCoordinates:Rn});if(hn){const Ln=(0,ce.$X)(hn,Rn),Gn={x:0,y:0},{scrollableAncestors:lr}=Ze.current;for(const sr of lr){const pr=We.code,{isTop:mr,isRight:kr,isLeft:xr,isBottom:Gr,maxScroll:Or,minScroll:Dr}=ne(sr),Ar=de(sr),_r={x:Math.min(pr===Zt.Right?Ar.right-Ar.width/2:Ar.right,Math.max(pr===Zt.Right?Ar.left:Ar.left+Ar.width/2,hn.x)),y:Math.min(pr===Zt.Down?Ar.bottom-Ar.height/2:Ar.bottom,Math.max(pr===Zt.Down?Ar.top:Ar.top+Ar.height/2,hn.y))},fo=pr===Zt.Right&&!kr||pr===Zt.Left&&!xr,ko=pr===Zt.Down&&!Gr||pr===Zt.Up&&!mr;if(fo&&_r.x!==hn.x){const Io=sr.scrollLeft+Ln.x,Vo=pr===Zt.Right&&Io<=Or.x||pr===Zt.Left&&Io>=Dr.x;if(Vo&&!Ln.y){sr.scrollTo({left:Io,behavior:Bt});return}Vo?Gn.x=sr.scrollLeft-Io:Gn.x=pr===Zt.Right?sr.scrollLeft-Or.x:sr.scrollLeft-Dr.x,Gn.x&&sr.scrollBy({left:-Gn.x,behavior:Bt});break}else if(ko&&_r.y!==hn.y){const Io=sr.scrollTop+Ln.y,Vo=pr===Zt.Down&&Io<=Or.y||pr===Zt.Up&&Io>=Dr.y;if(Vo&&!Ln.x){sr.scrollTo({top:Io,behavior:Bt});return}Vo?Gn.y=sr.scrollTop-Io:Gn.y=pr===Zt.Down?sr.scrollTop-Or.y:sr.scrollTop-Dr.y,Gn.y&&sr.scrollBy({top:-Gn.y,behavior:Bt});break}}this.handleMove(We,(0,ce.IH)((0,ce.$X)(hn,this.referenceCoordinates),Gn))}}}handleMove(We,bt){const{onMove:Ze}=this.props;We.preventDefault(),Ze(bt)}handleEnd(We){const{onEnd:bt}=this.props;We.preventDefault(),this.detach(),bt()}handleCancel(We){const{onCancel:bt}=this.props;We.preventDefault(),this.detach(),bt()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}jt.activators=[{eventName:"onKeyDown",handler:(Oe,We,bt)=>{let{keyboardCodes:Ze=mn,onActivation:dt}=We,{active:at}=bt;const{code:Mt}=Oe.nativeEvent;if(Ze.start.includes(Mt)){const Bt=at.activatorNode.current;return Bt&&Oe.target!==Bt?!1:(Oe.preventDefault(),dt==null||dt({event:Oe.nativeEvent}),!0)}return!1}}];function Cn(Oe){return!!(Oe&&"distance"in Oe)}function on(Oe){return!!(Oe&&"delay"in Oe)}class Je{constructor(We,bt,Ze){var dt;Ze===void 0&&(Ze=ut(We.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=We,this.events=bt;const{event:at}=We,{target:Mt}=at;this.props=We,this.events=bt,this.document=(0,ce.r3)(Mt),this.documentListeners=new rt(this.document),this.listeners=new rt(Ze),this.windowListeners=new rt((0,ce.Jj)(Mt)),this.initialCoordinates=(dt=(0,ce.DC)(at))!=null?dt:ft,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:We,props:{options:{activationConstraint:bt,bypassActivationConstraint:Ze}}}=this;if(this.listeners.add(We.move.name,this.handleMove,{passive:!1}),this.listeners.add(We.end.name,this.handleEnd),We.cancel&&this.listeners.add(We.cancel.name,this.handleCancel),this.windowListeners.add(Ne.Resize,this.handleCancel),this.windowListeners.add(Ne.DragStart,Be),this.windowListeners.add(Ne.VisibilityChange,this.handleCancel),this.windowListeners.add(Ne.ContextMenu,Be),this.documentListeners.add(Ne.Keydown,this.handleKeydown),bt){if(Ze!=null&&Ze({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(on(bt)){this.timeoutId=setTimeout(this.handleStart,bt.delay),this.handlePending(bt);return}if(Cn(bt)){this.handlePending(bt);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(We,bt){const{active:Ze,onPending:dt}=this.props;dt(Ze,We,this.initialCoordinates,bt)}handleStart(){const{initialCoordinates:We}=this,{onStart:bt}=this.props;We&&(this.activated=!0,this.documentListeners.add(Ne.Click,Ut,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ne.SelectionChange,this.removeTextSelection),bt(We))}handleMove(We){var bt;const{activated:Ze,initialCoordinates:dt,props:at}=this,{onMove:Mt,options:{activationConstraint:Bt}}=at;if(!dt)return;const Wt=(bt=(0,ce.DC)(We))!=null?bt:ft,En=(0,ce.$X)(dt,Wt);if(!Ze&&Bt){if(Cn(Bt)){if(Bt.tolerance!=null&&At(En,Bt.tolerance))return this.handleCancel();if(At(En,Bt.distance))return this.handleStart()}if(on(Bt)&&At(En,Bt.tolerance))return this.handleCancel();this.handlePending(Bt,En);return}We.cancelable&&We.preventDefault(),Mt(Wt)}handleEnd(){const{onAbort:We,onEnd:bt}=this.props;this.detach(),this.activated||We(this.props.active),bt()}handleCancel(){const{onAbort:We,onCancel:bt}=this.props;this.detach(),this.activated||We(this.props.active),bt()}handleKeydown(We){We.code===Zt.Esc&&this.handleCancel()}removeTextSelection(){var We;(We=this.document.getSelection())==null||We.removeAllRanges()}}const Tt={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class an extends Je{constructor(We){const{event:bt}=We,Ze=(0,ce.r3)(bt.target);super(We,Tt,Ze)}}an.activators=[{eventName:"onPointerDown",handler:(Oe,We)=>{let{nativeEvent:bt}=Oe,{onActivation:Ze}=We;return!bt.isPrimary||bt.button!==0?!1:(Ze==null||Ze({event:bt}),!0)}}];const _t={move:{name:"mousemove"},end:{name:"mouseup"}};var je;(function(Oe){Oe[Oe.RightClick=2]="RightClick"})(je||(je={}));class Pt extends Je{constructor(We){super(We,_t,(0,ce.r3)(We.event.target))}}Pt.activators=[{eventName:"onMouseDown",handler:(Oe,We)=>{let{nativeEvent:bt}=Oe,{onActivation:Ze}=We;return bt.button===je.RightClick?!1:(Ze==null||Ze({event:bt}),!0)}}];const Kt={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class nn extends Je{constructor(We){super(We,Kt)}static setup(){return window.addEventListener(Kt.move.name,We,{capture:!1,passive:!1}),function(){window.removeEventListener(Kt.move.name,We)};function We(){}}}nn.activators=[{eventName:"onTouchStart",handler:(Oe,We)=>{let{nativeEvent:bt}=Oe,{onActivation:Ze}=We;const{touches:dt}=bt;return dt.length>1?!1:(Ze==null||Ze({event:bt}),!0)}}];var On;(function(Oe){Oe[Oe.Pointer=0]="Pointer",Oe[Oe.DraggableRect=1]="DraggableRect"})(On||(On={}));var _n;(function(Oe){Oe[Oe.TreeOrder=0]="TreeOrder",Oe[Oe.ReversedTreeOrder=1]="ReversedTreeOrder"})(_n||(_n={}));function nr(Oe){let{acceleration:We,activator:bt=On.Pointer,canScroll:Ze,draggingRect:dt,enabled:at,interval:Mt=5,order:Bt=_n.TreeOrder,pointerCoordinates:Wt,scrollableAncestors:En,scrollableAncestorRects:Rn,delta:hn,threshold:Ln}=Oe;const Gn=Zn({delta:hn,disabled:!at}),[lr,sr]=(0,ce.Yz)(),pr=(0,b.useRef)({x:0,y:0}),mr=(0,b.useRef)({x:0,y:0}),kr=(0,b.useMemo)(()=>{switch(bt){case On.Pointer:return Wt?{top:Wt.y,bottom:Wt.y,left:Wt.x,right:Wt.x}:null;case On.DraggableRect:return dt}},[bt,dt,Wt]),xr=(0,b.useRef)(null),Gr=(0,b.useCallback)(()=>{const Dr=xr.current;if(!Dr)return;const Ar=pr.current.x*mr.current.x,_r=pr.current.y*mr.current.y;Dr.scrollBy(Ar,_r)},[]),Or=(0,b.useMemo)(()=>Bt===_n.TreeOrder?[...En].reverse():En,[Bt,En]);(0,b.useEffect)(()=>{if(!at||!En.length||!kr){sr();return}for(const Dr of Or){if((Ze==null?void 0:Ze(Dr))===!1)continue;const Ar=En.indexOf(Dr),_r=Rn[Ar];if(!_r)continue;const{direction:fo,speed:ko}=ie(Dr,_r,kr,We,Ln);for(const Io of["x","y"])Gn[Io][fo[Io]]||(ko[Io]=0,fo[Io]=0);if(ko.x>0||ko.y>0){sr(),xr.current=Dr,lr(Gr,Mt),pr.current=ko,mr.current=fo;return}}pr.current={x:0,y:0},mr.current={x:0,y:0},sr()},[We,Gr,Ze,sr,at,Mt,JSON.stringify(kr),JSON.stringify(Gn),lr,En,Or,Rn,JSON.stringify(Ln)])}const ir={x:{[$t.Backward]:!1,[$t.Forward]:!1},y:{[$t.Backward]:!1,[$t.Forward]:!1}};function Zn(Oe){let{delta:We,disabled:bt}=Oe;const Ze=(0,ce.D9)(We);return(0,ce.Gj)(dt=>{if(bt||!Ze||!dt)return ir;const at={x:Math.sign(We.x-Ze.x),y:Math.sign(We.y-Ze.y)};return{x:{[$t.Backward]:dt.x[$t.Backward]||at.x===-1,[$t.Forward]:dt.x[$t.Forward]||at.x===1},y:{[$t.Backward]:dt.y[$t.Backward]||at.y===-1,[$t.Forward]:dt.y[$t.Forward]||at.y===1}}},[bt,We,Ze])}function er(Oe,We){const bt=We!=null?Oe.get(We):void 0,Ze=bt?bt.node.current:null;return(0,ce.Gj)(dt=>{var at;return We==null?null:(at=Ze!=null?Ze:dt)!=null?at:null},[Ze,We])}function kn(Oe,We){return(0,b.useMemo)(()=>Oe.reduce((bt,Ze)=>{const{sensor:dt}=Ze,at=dt.activators.map(Mt=>({eventName:Mt.eventName,handler:We(Mt.handler,Ze)}));return[...bt,...at]},[]),[Oe,We])}var cn;(function(Oe){Oe[Oe.Always=0]="Always",Oe[Oe.BeforeDragging=1]="BeforeDragging",Oe[Oe.WhileDragging=2]="WhileDragging"})(cn||(cn={}));var bn;(function(Oe){Oe.Optimized="optimized"})(bn||(bn={}));const St=new Map;function Et(Oe,We){let{dragging:bt,dependencies:Ze,config:dt}=We;const[at,Mt]=(0,b.useState)(null),{frequency:Bt,measure:Wt,strategy:En}=dt,Rn=(0,b.useRef)(Oe),hn=pr(),Ln=(0,ce.Ey)(hn),Gn=(0,b.useCallback)(function(mr){mr===void 0&&(mr=[]),!Ln.current&&Mt(kr=>kr===null?mr:kr.concat(mr.filter(xr=>!kr.includes(xr))))},[Ln]),lr=(0,b.useRef)(null),sr=(0,ce.Gj)(mr=>{if(hn&&!bt)return St;if(!mr||mr===St||Rn.current!==Oe||at!=null){const kr=new Map;for(let xr of Oe){if(!xr)continue;if(at&&at.length>0&&!at.includes(xr.id)&&xr.rect.current){kr.set(xr.id,xr.rect.current);continue}const Gr=xr.node.current,Or=Gr?new Le(Wt(Gr),Gr):null;xr.rect.current=Or,Or&&kr.set(xr.id,Or)}return kr}return mr},[Oe,at,bt,hn,Wt]);return(0,b.useEffect)(()=>{Rn.current=Oe},[Oe]),(0,b.useEffect)(()=>{hn||Gn()},[bt,hn]),(0,b.useEffect)(()=>{at&&at.length>0&&Mt(null)},[JSON.stringify(at)]),(0,b.useEffect)(()=>{hn||typeof Bt!="number"||lr.current!==null||(lr.current=setTimeout(()=>{Gn(),lr.current=null},Bt))},[Bt,hn,Gn,...Ze]),{droppableRects:sr,measureDroppableContainers:Gn,measuringScheduled:at!=null};function pr(){switch(En){case cn.Always:return!1;case cn.BeforeDragging:return bt;default:return!bt}}}function sn(Oe,We){return(0,ce.Gj)(bt=>Oe?bt||(typeof We=="function"?We(Oe):Oe):null,[We,Oe])}function Pn(Oe,We){return sn(Oe,We)}function Tn(Oe){let{callback:We,disabled:bt}=Oe;const Ze=(0,ce.zX)(We),dt=(0,b.useMemo)(()=>{if(bt||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:at}=window;return new at(Ze)},[Ze,bt]);return(0,b.useEffect)(()=>()=>dt==null?void 0:dt.disconnect(),[dt]),dt}function Jt(Oe){let{callback:We,disabled:bt}=Oe;const Ze=(0,ce.zX)(We),dt=(0,b.useMemo)(()=>{if(bt||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:at}=window;return new at(Ze)},[bt]);return(0,b.useEffect)(()=>()=>dt==null?void 0:dt.disconnect(),[dt]),dt}function wn(Oe){return new Le(yt(Oe),Oe)}function gn(Oe,We,bt){We===void 0&&(We=wn);const[Ze,dt]=(0,b.useState)(null);function at(){dt(Wt=>{if(!Oe)return null;if(Oe.isConnected===!1){var En;return(En=Wt!=null?Wt:bt)!=null?En:null}const Rn=We(Oe);return JSON.stringify(Wt)===JSON.stringify(Rn)?Wt:Rn})}const Mt=Tn({callback(Wt){if(Oe)for(const En of Wt){const{type:Rn,target:hn}=En;if(Rn==="childList"&&hn instanceof HTMLElement&&hn.contains(Oe)){at();break}}}}),Bt=Jt({callback:at});return(0,ce.LI)(()=>{at(),Oe?(Bt==null||Bt.observe(Oe),Mt==null||Mt.observe(document.body,{childList:!0,subtree:!0})):(Bt==null||Bt.disconnect(),Mt==null||Mt.disconnect())},[Oe]),Ze}function Nn(Oe){const We=sn(Oe);return It(Oe,We)}const An=[];function rr(Oe){const We=(0,b.useRef)(Oe),bt=(0,ce.Gj)(Ze=>Oe?Ze&&Ze!==An&&Oe&&We.current&&Oe.parentNode===We.current.parentNode?Ze:it(Oe):An,[Oe]);return(0,b.useEffect)(()=>{We.current=Oe},[Oe]),bt}function Qt(Oe){const[We,bt]=(0,b.useState)(null),Ze=(0,b.useRef)(Oe),dt=(0,b.useCallback)(at=>{const Mt=Xe(at.target);Mt&&bt(Bt=>Bt?(Bt.set(Mt,dn(Mt)),new Map(Bt)):null)},[]);return(0,b.useEffect)(()=>{const at=Ze.current;if(Oe!==at){Mt(at);const Bt=Oe.map(Wt=>{const En=Xe(Wt);return En?(En.addEventListener("scroll",dt,{passive:!0}),[En,dn(En)]):null}).filter(Wt=>Wt!=null);bt(Bt.length?new Map(Bt):null),Ze.current=Oe}return()=>{Mt(Oe),Mt(at)};function Mt(Bt){Bt.forEach(Wt=>{const En=Xe(Wt);En==null||En.removeEventListener("scroll",dt)})}},[dt,Oe]),(0,b.useMemo)(()=>Oe.length?We?Array.from(We.values()).reduce((at,Mt)=>(0,ce.IH)(at,Mt),ft):re(Oe):ft,[Oe,We])}function Yt(Oe,We){We===void 0&&(We=[]);const bt=(0,b.useRef)(null);return(0,b.useEffect)(()=>{bt.current=null},We),(0,b.useEffect)(()=>{const Ze=Oe!==ft;Ze&&!bt.current&&(bt.current=Oe),!Ze&&bt.current&&(bt.current=null)},[Oe]),bt.current?(0,ce.$X)(Oe,bt.current):ft}function xn(Oe){(0,b.useEffect)(()=>{if(!ce.Nq)return;const We=Oe.map(bt=>{let{sensor:Ze}=bt;return Ze.setup==null?void 0:Ze.setup()});return()=>{for(const bt of We)bt==null||bt()}},Oe.map(We=>{let{sensor:bt}=We;return bt}))}function Vn(Oe,We){return(0,b.useMemo)(()=>Oe.reduce((bt,Ze)=>{let{eventName:dt,handler:at}=Ze;return bt[dt]=Mt=>{at(Mt,We)},bt},{}),[Oe,We])}function jn(Oe){return(0,b.useMemo)(()=>Oe?Lt(Oe):null,[Oe])}const vt=[];function Dt(Oe,We){We===void 0&&(We=yt);const[bt]=Oe,Ze=jn(bt?(0,ce.Jj)(bt):null),[dt,at]=(0,b.useState)(vt);function Mt(){at(()=>Oe.length?Oe.map(Wt=>ae(Wt)?Ze:new Le(We(Wt),Wt)):vt)}const Bt=Jt({callback:Mt});return(0,ce.LI)(()=>{Bt==null||Bt.disconnect(),Mt(),Oe.forEach(Wt=>Bt==null?void 0:Bt.observe(Wt))},[Oe]),dt}function Te(Oe){if(!Oe)return null;if(Oe.children.length>1)return Oe;const We=Oe.children[0];return(0,ce.Re)(We)?We:Oe}function gt(Oe){let{measure:We}=Oe;const[bt,Ze]=(0,b.useState)(null),dt=(0,b.useCallback)(En=>{for(const{target:Rn}of En)if((0,ce.Re)(Rn)){Ze(hn=>{const Ln=We(Rn);return hn?fi(Oo({},hn),{width:Ln.width,height:Ln.height}):Ln});break}},[We]),at=Jt({callback:dt}),Mt=(0,b.useCallback)(En=>{const Rn=Te(En);at==null||at.disconnect(),Rn&&(at==null||at.observe(Rn)),Ze(Rn?We(Rn):null)},[We,at]),[Bt,Wt]=(0,ce.wm)(Mt);return(0,b.useMemo)(()=>({nodeRef:Bt,rect:bt,setRef:Wt}),[bt,Bt,Wt])}const Ke=[{sensor:an,options:{}},{sensor:jt,options:{}}],wt={current:{}},Ht={draggable:{measure:Vt},droppable:{measure:Vt,strategy:cn.WhileDragging,frequency:bn.Optimized},dragOverlay:{measure:yt}};class Hn extends Map{get(We){var bt;return We!=null&&(bt=super.get(We))!=null?bt:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(We=>{let{disabled:bt}=We;return!bt})}getNodeFor(We){var bt,Ze;return(bt=(Ze=this.get(We))==null?void 0:Ze.node.current)!=null?bt:void 0}}const Jn={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Hn,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:st},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ht,measureDroppableContainers:st,windowRect:null,measuringScheduled:!1},lt={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:st,draggableNodes:new Map,over:null,measureDroppableContainers:st},mt=(0,b.createContext)(lt),pt=(0,b.createContext)(Jn);function xt(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Hn}}}function fn(Oe,We){switch(We.type){case ot.DragStart:return fi(Oo({},Oe),{draggable:fi(Oo({},Oe.draggable),{initialCoordinates:We.initialCoordinates,active:We.active})});case ot.DragMove:return Oe.draggable.active==null?Oe:fi(Oo({},Oe),{draggable:fi(Oo({},Oe.draggable),{translate:{x:We.coordinates.x-Oe.draggable.initialCoordinates.x,y:We.coordinates.y-Oe.draggable.initialCoordinates.y}})});case ot.DragEnd:case ot.DragCancel:return fi(Oo({},Oe),{draggable:fi(Oo({},Oe.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case ot.RegisterDroppable:{const{element:bt}=We,{id:Ze}=bt,dt=new Hn(Oe.droppable.containers);return dt.set(Ze,bt),fi(Oo({},Oe),{droppable:fi(Oo({},Oe.droppable),{containers:dt})})}case ot.SetDroppableDisabled:{const{id:bt,key:Ze,disabled:dt}=We,at=Oe.droppable.containers.get(bt);if(!at||Ze!==at.key)return Oe;const Mt=new Hn(Oe.droppable.containers);return Mt.set(bt,fi(Oo({},at),{disabled:dt})),fi(Oo({},Oe),{droppable:fi(Oo({},Oe.droppable),{containers:Mt})})}case ot.UnregisterDroppable:{const{id:bt,key:Ze}=We,dt=Oe.droppable.containers.get(bt);if(!dt||Ze!==dt.key)return Oe;const at=new Hn(Oe.droppable.containers);return at.delete(bt),fi(Oo({},Oe),{droppable:fi(Oo({},Oe.droppable),{containers:at})})}default:return Oe}}function In(Oe){let{disabled:We}=Oe;const{active:bt,activatorEvent:Ze,draggableNodes:dt}=(0,b.useContext)(mt),at=(0,ce.D9)(Ze),Mt=(0,ce.D9)(bt==null?void 0:bt.id);return(0,b.useEffect)(()=>{if(!We&&!Ze&&at&&Mt!=null){if(!(0,ce.vd)(at)||document.activeElement===at.target)return;const Bt=dt.get(Mt);if(!Bt)return;const{activatorNode:Wt,node:En}=Bt;if(!Wt.current&&!En.current)return;requestAnimationFrame(()=>{for(const Rn of[Wt.current,En.current]){if(!Rn)continue;const hn=(0,ce.so)(Rn);if(hn){hn.focus();break}}})}},[Ze,We,dt,Mt,at]),null}function pn(Oe,We){let dt=We,{transform:bt}=dt,Ze=ac(dt,["transform"]);return Oe!=null&&Oe.length?Oe.reduce((at,Mt)=>Mt(Oo({transform:at},Ze)),bt):bt}function Sn(Oe){return(0,b.useMemo)(()=>({draggable:Oo(Oo({},Ht.draggable),Oe==null?void 0:Oe.draggable),droppable:Oo(Oo({},Ht.droppable),Oe==null?void 0:Oe.droppable),dragOverlay:Oo(Oo({},Ht.dragOverlay),Oe==null?void 0:Oe.dragOverlay)}),[Oe==null?void 0:Oe.draggable,Oe==null?void 0:Oe.droppable,Oe==null?void 0:Oe.dragOverlay])}function $n(Oe){let{activeNode:We,measure:bt,initialRect:Ze,config:dt=!0}=Oe;const at=(0,b.useRef)(!1),{x:Mt,y:Bt}=typeof dt=="boolean"?{x:dt,y:dt}:dt;(0,ce.LI)(()=>{if(!Mt&&!Bt||!We){at.current=!1;return}if(at.current||!Ze)return;const En=We==null?void 0:We.node.current;if(!En||En.isConnected===!1)return;const Rn=bt(En),hn=It(Rn,Ze);if(Mt||(hn.x=0),Bt||(hn.y=0),at.current=!0,Math.abs(hn.x)>0||Math.abs(hn.y)>0){const Ln=Xt(En);Ln&&Ln.scrollBy({top:hn.y,left:hn.x})}},[We,Mt,Bt,Ze,bt])}const qn=(0,b.createContext)(fi(Oo({},ft),{scaleX:1,scaleY:1}));var ur;(function(Oe){Oe[Oe.Uninitialized=0]="Uninitialized",Oe[Oe.Initializing=1]="Initializing",Oe[Oe.Initialized=2]="Initialized"})(ur||(ur={}));const tr=(0,b.memo)(function(We){var bt,Ze,dt,at;let gl=We,{id:Mt,accessibility:Bt,autoScroll:Wt=!0,children:En,sensors:Rn=Ke,collisionDetection:hn=De,measuring:Ln,modifiers:Gn}=gl,lr=ac(gl,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const sr=(0,b.useReducer)(fn,void 0,xt),[pr,mr]=sr,[kr,xr]=ue(),[Gr,Or]=(0,b.useState)(ur.Uninitialized),Dr=Gr===ur.Initialized,{draggable:{active:Ar,nodes:_r,translate:fo},droppable:{containers:ko}}=pr,Io=Ar!=null?_r.get(Ar):null,Vo=(0,b.useRef)({initial:null,translated:null}),Qr=(0,b.useMemo)(()=>{var ea;return Ar!=null?{id:Ar,data:(ea=Io==null?void 0:Io.data)!=null?ea:wt,rect:Vo}:null},[Ar,Io]),Vr=(0,b.useRef)(null),[_o,Uo]=(0,b.useState)(null),[ni,Zi]=(0,b.useState)(null),Si=(0,ce.Ey)(lr,Object.values(lr)),Ai=(0,ce.Ld)("DndDescribedBy",Mt),Oi=(0,b.useMemo)(()=>ko.getEnabled(),[ko]),Go=Sn(Ln),{droppableRects:Di,measureDroppableContainers:ya,measuringScheduled:Qi}=Et(Oi,{dragging:Dr,dependencies:[fo.x,fo.y],config:Go.droppable}),Qo=er(_r,Ar),Ha=(0,b.useMemo)(()=>ni?(0,ce.DC)(ni):null,[ni]),Ba=ul(),wo=Pn(Qo,Go.draggable.measure);$n({activeNode:Ar!=null?_r.get(Ar):null,config:Ba.layoutShiftCompensation,initialRect:wo,measure:Go.draggable.measure});const Eo=gn(Qo,Go.draggable.measure,wo),Zr=gn(Qo?Qo.parentElement:null),Pr=(0,b.useRef)({activatorEvent:null,active:null,activeNode:Qo,collisionRect:null,collisions:null,droppableRects:Di,draggableNodes:_r,draggingNode:null,draggingNodeRect:null,droppableContainers:ko,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Jr=ko.getNodeFor((bt=Pr.current.over)==null?void 0:bt.id),mo=gt({measure:Go.dragOverlay.measure}),ui=(Ze=mo.nodeRef.current)!=null?Ze:Qo,Zo=Dr?(dt=mo.rect)!=null?dt:Eo:null,$o=!!(mo.nodeRef.current&&mo.rect),Ro=Nn($o?null:Eo),hi=jn(ui?(0,ce.Jj)(ui):null),wi=rr(Dr?Jr!=null?Jr:Qo:null),Bi=Dt(wi),qi=pn(Gn,{transform:{x:fo.x-Ro.x,y:fo.y-Ro.y,scaleX:1,scaleY:1},activatorEvent:ni,active:Qr,activeNodeRect:Eo,containerNodeRect:Zr,draggingNodeRect:Zo,over:Pr.current.over,overlayNodeRect:mo.rect,scrollableAncestors:wi,scrollableAncestorRects:Bi,windowRect:hi}),oa=Ha?(0,ce.IH)(Ha,fo):null,Ui=Qt(wi),ja=Yt(Ui),Pa=Yt(Ui,[Eo]),ia=(0,ce.IH)(qi,ja),Sa=Zo?Ye(Zo,qi):null,Wa=Qr&&Sa?hn({active:Qr,collisionRect:Sa,droppableRects:Di,droppableContainers:Oi,pointerCoordinates:oa}):null,Ra=nt(Wa,"id"),[Qa,pl]=(0,b.useState)(null),kl=$o?qi:(0,ce.IH)(qi,Pa),Al=se(kl,(at=Qa==null?void 0:Qa.rect)!=null?at:null,Eo),Bl=(0,b.useRef)(null),ml=(0,b.useCallback)((ea,Gi)=>{let{sensor:pi,options:zo}=Gi;if(Vr.current==null)return;const Po=_r.get(Vr.current);if(!Po)return;const ci=ea.nativeEvent,Pi=new pi({active:Vr.current,activeNode:Po,event:ci,options:zo,context:Pr,onAbort(ri){if(!_r.get(ri))return;const{onDragAbort:zi}=Si.current,la={id:ri};zi==null||zi(la),kr({type:"onDragAbort",event:la})},onPending(ri,aa,zi,la){if(!_r.get(ri))return;const{onDragPending:ca}=Si.current,ua={id:ri,constraint:aa,initialCoordinates:zi,offset:la};ca==null||ca(ua),kr({type:"onDragPending",event:ua})},onStart(ri){const aa=Vr.current;if(aa==null)return;const zi=_r.get(aa);if(!zi)return;const{onDragStart:la}=Si.current,sa={activatorEvent:ci,active:{id:aa,data:zi.data,rect:Vo}};(0,Me.unstable_batchedUpdates)(()=>{la==null||la(sa),Or(ur.Initializing),mr({type:ot.DragStart,initialCoordinates:ri,active:aa}),kr({type:"onDragStart",event:sa}),Uo(Bl.current),Zi(ci)})},onMove(ri){mr({type:ot.DragMove,coordinates:ri})},onEnd:gi(ot.DragEnd),onCancel:gi(ot.DragCancel)});Bl.current=Pi;function gi(ri){return function(){return Xc(this,null,function*(){const{active:zi,collisions:la,over:sa,scrollAdjustedTranslate:ca}=Pr.current;let ua=null;if(zi&&ca){const{cancelDrop:_a}=Si.current;ua={activatorEvent:ci,active:zi,collisions:la,delta:ca,over:sa},ri===ot.DragEnd&&typeof _a=="function"&&(yield Promise.resolve(_a(ua)))&&(ri=ot.DragCancel)}Vr.current=null,(0,Me.unstable_batchedUpdates)(()=>{mr({type:ri}),Or(ur.Uninitialized),pl(null),Uo(null),Zi(null),Bl.current=null;const _a=ri===ot.DragEnd?"onDragEnd":"onDragCancel";if(ua){const Il=Si.current[_a];Il==null||Il(ua),kr({type:_a,event:ua})}})})}}},[_r]),qa=(0,b.useCallback)((ea,Gi)=>(pi,zo)=>{const Po=pi.nativeEvent,ci=_r.get(zo);if(Vr.current!==null||!ci||Po.dndKit||Po.defaultPrevented)return;const Pi={active:ci};ea(pi,Gi.options,Pi)===!0&&(Po.dndKit={capturedBy:Gi.sensor},Vr.current=zo,ml(pi,Gi))},[_r,ml]),rl=kn(Rn,qa);xn(Rn),(0,ce.LI)(()=>{Eo&&Gr===ur.Initializing&&Or(ur.Initialized)},[Eo,Gr]),(0,b.useEffect)(()=>{const{onDragMove:ea}=Si.current,{active:Gi,activatorEvent:pi,collisions:zo,over:Po}=Pr.current;if(!Gi||!pi)return;const ci={active:Gi,activatorEvent:pi,collisions:zo,delta:{x:ia.x,y:ia.y},over:Po};(0,Me.unstable_batchedUpdates)(()=>{ea==null||ea(ci),kr({type:"onDragMove",event:ci})})},[ia.x,ia.y]),(0,b.useEffect)(()=>{const{active:ea,activatorEvent:Gi,collisions:pi,droppableContainers:zo,scrollAdjustedTranslate:Po}=Pr.current;if(!ea||Vr.current==null||!Gi||!Po)return;const{onDragOver:ci}=Si.current,Pi=zo.get(Ra),gi=Pi&&Pi.rect.current?{id:Pi.id,rect:Pi.rect.current,data:Pi.data,disabled:Pi.disabled}:null,ri={active:ea,activatorEvent:Gi,collisions:pi,delta:{x:Po.x,y:Po.y},over:gi};(0,Me.unstable_batchedUpdates)(()=>{pl(gi),ci==null||ci(ri),kr({type:"onDragOver",event:ri})})},[Ra]),(0,ce.LI)(()=>{Pr.current={activatorEvent:ni,active:Qr,activeNode:Qo,collisionRect:Sa,collisions:Wa,droppableRects:Di,draggableNodes:_r,draggingNode:ui,draggingNodeRect:Zo,droppableContainers:ko,over:Qa,scrollableAncestors:wi,scrollAdjustedTranslate:ia},Vo.current={initial:Zo,translated:Sa}},[Qr,Qo,Wa,Sa,_r,ui,Zo,Di,ko,Qa,wi,ia]),nr(fi(Oo({},Ba),{delta:fo,draggingRect:Sa,pointerCoordinates:oa,scrollableAncestors:wi,scrollableAncestorRects:Bi}));const vl=(0,b.useMemo)(()=>({active:Qr,activeNode:Qo,activeNodeRect:Eo,activatorEvent:ni,collisions:Wa,containerNodeRect:Zr,dragOverlay:mo,draggableNodes:_r,droppableContainers:ko,droppableRects:Di,over:Qa,measureDroppableContainers:ya,scrollableAncestors:wi,scrollableAncestorRects:Bi,measuringConfiguration:Go,measuringScheduled:Qi,windowRect:hi}),[Qr,Qo,Eo,ni,Wa,Zr,mo,_r,ko,Di,Qa,ya,wi,Bi,Go,Qi,hi]),El=(0,b.useMemo)(()=>({activatorEvent:ni,activators:rl,active:Qr,activeNodeRect:Eo,ariaDescribedById:{draggable:Ai},dispatch:mr,draggableNodes:_r,over:Qa,measureDroppableContainers:ya}),[ni,rl,Qr,Eo,mr,Ai,_r,Qa,ya]);return b.createElement(Ve.Provider,{value:xr},b.createElement(mt.Provider,{value:El},b.createElement(pt.Provider,{value:vl},b.createElement(qn.Provider,{value:Al},En)),b.createElement(In,{disabled:(Bt==null?void 0:Bt.restoreFocus)===!1})),b.createElement(Rt,fi(Oo({},Bt),{hiddenTextDescribedById:Ai})));function ul(){const ea=(_o==null?void 0:_o.autoScrollEnabled)===!1,Gi=typeof Wt=="object"?Wt.enabled===!1:Wt===!1,pi=Dr&&!ea&&!Gi;return typeof Wt=="object"?fi(Oo({},Wt),{enabled:pi}):{enabled:pi}}}),Xn=(0,b.createContext)(null),or="button",dr="Draggable";function br(Oe){let{id:We,data:bt,disabled:Ze=!1,attributes:dt}=Oe;const at=(0,ce.Ld)(dr),{activators:Mt,activatorEvent:Bt,active:Wt,activeNodeRect:En,ariaDescribedById:Rn,draggableNodes:hn,over:Ln}=(0,b.useContext)(mt),{role:Gn=or,roleDescription:lr="draggable",tabIndex:sr=0}=dt!=null?dt:{},pr=(Wt==null?void 0:Wt.id)===We,mr=(0,b.useContext)(pr?qn:Xn),[kr,xr]=(0,ce.wm)(),[Gr,Or]=(0,ce.wm)(),Dr=Vn(Mt,We),Ar=(0,ce.Ey)(bt);(0,ce.LI)(()=>(hn.set(We,{id:We,key:at,node:kr,activatorNode:Gr,data:Ar}),()=>{const fo=hn.get(We);fo&&fo.key===at&&hn.delete(We)}),[hn,We]);const _r=(0,b.useMemo)(()=>({role:Gn,tabIndex:sr,"aria-disabled":Ze,"aria-pressed":pr&&Gn===or?!0:void 0,"aria-roledescription":lr,"aria-describedby":Rn.draggable}),[Ze,Gn,sr,pr,lr,Rn.draggable]);return{active:Wt,activatorEvent:Bt,activeNodeRect:En,attributes:_r,isDragging:pr,listeners:Ze?void 0:Dr,node:kr,over:Ln,setNodeRef:xr,setActivatorNodeRef:Or,transform:mr}}function vr(){return(0,b.useContext)(pt)}const Tr="Droppable",Br={timeout:25};function cr(Oe){let{data:We,disabled:bt=!1,id:Ze,resizeObserverConfig:dt}=Oe;const at=(0,ce.Ld)(Tr),{active:Mt,dispatch:Bt,over:Wt,measureDroppableContainers:En}=(0,b.useContext)(mt),Rn=(0,b.useRef)({disabled:bt}),hn=(0,b.useRef)(!1),Ln=(0,b.useRef)(null),Gn=(0,b.useRef)(null),{disabled:lr,updateMeasurementsFor:sr,timeout:pr}=Oo(Oo({},Br),dt),mr=(0,ce.Ey)(sr!=null?sr:Ze),kr=(0,b.useCallback)(()=>{if(!hn.current){hn.current=!0;return}Gn.current!=null&&clearTimeout(Gn.current),Gn.current=setTimeout(()=>{En(Array.isArray(mr.current)?mr.current:[mr.current]),Gn.current=null},pr)},[pr]),xr=Jt({callback:kr,disabled:lr||!Mt}),Gr=(0,b.useCallback)((_r,fo)=>{xr&&(fo&&(xr.unobserve(fo),hn.current=!1),_r&&xr.observe(_r))},[xr]),[Or,Dr]=(0,ce.wm)(Gr),Ar=(0,ce.Ey)(We);return(0,b.useEffect)(()=>{!xr||!Or.current||(xr.disconnect(),hn.current=!1,xr.observe(Or.current))},[Or,xr]),(0,b.useEffect)(()=>(Bt({type:ot.RegisterDroppable,element:{id:Ze,key:at,disabled:bt,node:Or,rect:Ln,data:Ar}}),()=>Bt({type:ot.UnregisterDroppable,key:at,id:Ze})),[Ze]),(0,b.useEffect)(()=>{bt!==Rn.current.disabled&&(Bt({type:ot.SetDroppableDisabled,id:Ze,key:at,disabled:bt}),Rn.current.disabled=bt)},[Ze,at,bt,Bt]),{active:Mt,rect:Ln,isOver:(Wt==null?void 0:Wt.id)===Ze,node:Or,over:Wt,setNodeRef:Dr}}function Er(Oe){let{animation:We,children:bt}=Oe;const[Ze,dt]=(0,b.useState)(null),[at,Mt]=(0,b.useState)(null),Bt=(0,ce.D9)(bt);return!bt&&!Ze&&Bt&&dt(Bt),(0,ce.LI)(()=>{if(!at)return;const Wt=Ze==null?void 0:Ze.key,En=Ze==null?void 0:Ze.props.id;if(Wt==null||En==null){dt(null);return}Promise.resolve(We(En,at)).then(()=>{dt(null)})},[We,Ze,at]),b.createElement(b.Fragment,null,bt,Ze?(0,b.cloneElement)(Ze,{ref:Mt}):null)}const Wr={x:0,y:0,scaleX:1,scaleY:1};function Rr(Oe){let{children:We}=Oe;return b.createElement(mt.Provider,{value:lt},b.createElement(qn.Provider,{value:Wr},We))}const Sr={position:"fixed",touchAction:"none"},Fr=Oe=>(0,ce.vd)(Oe)?"transform 250ms ease":void 0,$r=(0,b.forwardRef)((Oe,We)=>{let{as:bt,activatorEvent:Ze,adjustScale:dt,children:at,className:Mt,rect:Bt,style:Wt,transform:En,transition:Rn=Fr}=Oe;if(!Bt)return null;const hn=dt?En:fi(Oo({},En),{scaleX:1,scaleY:1}),Ln=Oo(fi(Oo({},Sr),{width:Bt.width,height:Bt.height,top:Bt.top,left:Bt.left,transform:ce.ux.Transform.toString(hn),transformOrigin:dt&&Ze?en(Ze,Bt):void 0,transition:typeof Rn=="function"?Rn(Ze):Rn}),Wt);return b.createElement(bt,{className:Mt,style:Ln,ref:We},at)}),yr={duration:250,easing:"ease",keyframes:Oe=>{let{transform:{initial:We,final:bt}}=Oe;return[{transform:ce.ux.Transform.toString(We)},{transform:ce.ux.Transform.toString(bt)}]},sideEffects:(Oe=>We=>{let{active:bt,dragOverlay:Ze}=We;const dt={},{styles:at,className:Mt}=Oe;if(at!=null&&at.active)for(const[Bt,Wt]of Object.entries(at.active))Wt!==void 0&&(dt[Bt]=bt.node.style.getPropertyValue(Bt),bt.node.style.setProperty(Bt,Wt));if(at!=null&&at.dragOverlay)for(const[Bt,Wt]of Object.entries(at.dragOverlay))Wt!==void 0&&Ze.node.style.setProperty(Bt,Wt);return Mt!=null&&Mt.active&&bt.node.classList.add(Mt.active),Mt!=null&&Mt.dragOverlay&&Ze.node.classList.add(Mt.dragOverlay),function(){for(const[Wt,En]of Object.entries(dt))bt.node.style.setProperty(Wt,En);Mt!=null&&Mt.active&&bt.node.classList.remove(Mt.active)}})({styles:{active:{opacity:"0"}}})};function Xr(Oe){let{config:We,draggableNodes:bt,droppableContainers:Ze,measuringConfiguration:dt}=Oe;return(0,ce.zX)((at,Mt)=>{if(We===null)return;const Bt=bt.get(at);if(!Bt)return;const Wt=Bt.node.current;if(!Wt)return;const En=Te(Mt);if(!En)return;const{transform:Rn}=(0,ce.Jj)(Mt).getComputedStyle(Mt),hn=Ft(Rn);if(!hn)return;const Ln=typeof We=="function"?We:go(We);return Ge(Wt,dt.draggable.measure),Ln({active:{id:at,data:Bt.data,node:Wt,rect:dt.draggable.measure(Wt)},draggableNodes:bt,dragOverlay:{node:Mt,rect:dt.dragOverlay.measure(En)},droppableContainers:Ze,measuringConfiguration:dt,transform:hn})})}function go(Oe){const{duration:We,easing:bt,sideEffects:Ze,keyframes:dt}=Oo(Oo({},yr),Oe);return at=>{let kr=at,{active:Mt,dragOverlay:Bt,transform:Wt}=kr,En=ac(kr,["active","dragOverlay","transform"]);if(!We)return;const Rn={x:Bt.rect.left-Mt.rect.left,y:Bt.rect.top-Mt.rect.top},hn={scaleX:Wt.scaleX!==1?Mt.rect.width*Wt.scaleX/Bt.rect.width:1,scaleY:Wt.scaleY!==1?Mt.rect.height*Wt.scaleY/Bt.rect.height:1},Ln=Oo({x:Wt.x-Rn.x,y:Wt.y-Rn.y},hn),Gn=dt(fi(Oo({},En),{active:Mt,dragOverlay:Bt,transform:{initial:Wt,final:Ln}})),[lr]=Gn,sr=Gn[Gn.length-1];if(JSON.stringify(lr)===JSON.stringify(sr))return;const pr=Ze==null?void 0:Ze(Oo({active:Mt,dragOverlay:Bt},En)),mr=Bt.node.animate(Gn,{duration:We,easing:bt,fill:"forwards"});return new Promise(xr=>{mr.onfinish=()=>{pr==null||pr(),xr()}})}}let So=0;function to(Oe){return(0,b.useMemo)(()=>{if(Oe!=null)return So++,So},[Oe])}const io=b.memo(Oe=>{let{adjustScale:We=!1,children:bt,dropAnimation:Ze,style:dt,transition:at,modifiers:Mt,wrapperElement:Bt="div",className:Wt,zIndex:En=999}=Oe;const{activatorEvent:Rn,active:hn,activeNodeRect:Ln,containerNodeRect:Gn,draggableNodes:lr,droppableContainers:sr,dragOverlay:pr,over:mr,measuringConfiguration:kr,scrollableAncestors:xr,scrollableAncestorRects:Gr,windowRect:Or}=vr(),Dr=(0,b.useContext)(qn),Ar=to(hn==null?void 0:hn.id),_r=pn(Mt,{activatorEvent:Rn,active:hn,activeNodeRect:Ln,containerNodeRect:Gn,draggingNodeRect:pr.rect,over:mr,overlayNodeRect:pr.rect,scrollableAncestors:xr,scrollableAncestorRects:Gr,transform:Dr,windowRect:Or}),fo=sn(Ln),ko=Xr({config:Ze,draggableNodes:lr,droppableContainers:sr,measuringConfiguration:kr}),Io=fo?pr.setRef:void 0;return b.createElement(Rr,null,b.createElement(Er,{animation:ko},hn&&Ar?b.createElement($r,{key:Ar,id:hn.id,ref:Io,as:Bt,activatorEvent:Rn,adjustScale:We,className:Wt,transition:at,rect:fo,style:Oo({zIndex:En},dt),transform:_r},bt):null))})},18257:function(Bn,rn,ee){"use strict";ee.d(rn,{DL:function(){return be}});var b=ee(35241);function Me(ue){return $e=>{let{transform:Ee}=$e;return fi(Oo({},Ee),{x:Math.ceil(Ee.x/ue)*ue,y:Math.ceil(Ee.y/ue)*ue})}}const ce=ue=>{let{transform:$e}=ue;return fi(Oo({},$e),{y:0})};function et(ue,$e,Ee){const Rt=Oo({},ue);return $e.top+ue.y<=Ee.top?Rt.y=Ee.top-$e.top:$e.bottom+ue.y>=Ee.top+Ee.height&&(Rt.y=Ee.top+Ee.height-$e.bottom),$e.left+ue.x<=Ee.left?Rt.x=Ee.left-$e.left:$e.right+ue.x>=Ee.left+Ee.width&&(Rt.x=Ee.left+Ee.width-$e.right),Rt}const Pe=ue=>{let{containerNodeRect:$e,draggingNodeRect:Ee,transform:Rt}=ue;return!Ee||!$e?Rt:et(Rt,Ee,$e)},pe=ue=>{let{draggingNodeRect:$e,transform:Ee,scrollableAncestorRects:Rt}=ue;const ot=Rt[0];return!$e||!ot?Ee:et(Ee,$e,ot)},be=ue=>{let{transform:$e}=ue;return fi(Oo({},$e),{x:0})},Ve=ue=>{let{transform:$e,draggingNodeRect:Ee,windowRect:Rt}=ue;return!Ee||!Rt?$e:et($e,Ee,Rt)},Ie=ue=>{let{activatorEvent:$e,draggingNodeRect:Ee,transform:Rt}=ue;if(Ee&&$e){const ot=getEventCoordinates($e);if(!ot)return Rt;const st=ot.x-Ee.left,Ue=ot.y-Ee.top;return fi(Oo({},Rt),{x:Rt.x+st-Ee.width/2,y:Rt.y+Ue-Ee.height/2})}return Rt}},19719:function(Bn,rn,ee){"use strict";ee.d(rn,{Fo:function(){return en},Rp:function(){return et},U2:function(){return Rt},nB:function(){return Ct},qw:function(){return Ue}});var b=ee(59301),Me=ee(87954),ce=ee(35241);function et(Ye,Ft,Ce){const he=Ye.slice();return he.splice(Ce<0?he.length+Ce:Ce,0,he.splice(Ft,1)[0]),he}function Pe(Ye,Ft,Ce){const he=Ye.slice();return he[Ft]=Ye[Ce],he[Ce]=Ye[Ft],he}function pe(Ye,Ft){return Ye.reduce((Ce,he,yt)=>{const Vt=Ft.get(he);return Vt&&(Ce[yt]=Vt),Ce},Array(Ye.length))}function be(Ye){return Ye!==null&&Ye>=0}function Ve(Ye,Ft){if(Ye===Ft)return!0;if(Ye.length!==Ft.length)return!1;for(let Ce=0;Ce{var Ft;let{rects:Ce,activeNodeRect:he,activeIndex:yt,overIndex:Vt,index:Lt}=Ye;const me=(Ft=Ce[yt])!=null?Ft:he;if(!me)return null;const qe=Ee(Ce,Lt,yt);if(Lt===yt){const it=Ce[Vt];return it?Oo({x:ytyt&&Lt<=Vt?Oo({x:-me.width-qe,y:0},ue):Lt=Vt?Oo({x:me.width+qe,y:0},ue):Oo({x:0,y:0},ue)};function Ee(Ye,Ft,Ce){const he=Ye[Ft],yt=Ye[Ft-1],Vt=Ye[Ft+1];return!he||!yt&&!Vt?0:Ce{let{rects:Ft,activeIndex:Ce,overIndex:he,index:yt}=Ye;const Vt=et(Ft,he,Ce),Lt=Ft[yt],me=Vt[yt];return!me||!Lt?null:{x:me.left-Lt.left,y:me.top-Lt.top,scaleX:me.width/Lt.width,scaleY:me.height/Lt.height}},ot=Ye=>{let{activeIndex:Ft,index:Ce,rects:he,overIndex:yt}=Ye,Vt,Lt;return Ce===Ft&&(Vt=he[Ce],Lt=he[yt]),Ce===yt&&(Vt=he[Ce],Lt=he[Ft]),!Lt||!Vt?null:{x:Lt.left-Vt.left,y:Lt.top-Vt.top,scaleX:Lt.width/Vt.width,scaleY:Lt.height/Vt.height}},st={scaleX:1,scaleY:1},Ue=Ye=>{var Ft;let{activeIndex:Ce,activeNodeRect:he,index:yt,rects:Vt,overIndex:Lt}=Ye;const me=(Ft=Vt[Ce])!=null?Ft:he;if(!me)return null;if(yt===Ce){const it=Vt[Lt];return it?Oo({x:0,y:CeCe&&yt<=Lt?Oo({x:0,y:-me.height-qe},st):yt=Lt?Oo({x:0,y:me.height+qe},st):Oo({x:0,y:0},st)};function Re(Ye,Ft,Ce){const he=Ye[Ft],yt=Ye[Ft-1],Vt=Ye[Ft+1];return he?Cehe.map(le=>typeof le=="object"&&"id"in le?le.id:le),[he]),dn=Lt!=null,$t=Lt?Fe.indexOf(Lt.id):-1,ae=it?Fe.indexOf(it.id):-1,ne=(0,b.useRef)(Fe),te=!Ve(Fe,ne.current),ie=ae!==-1&&$t===-1||te,de=Ie(Vt);(0,ce.LI)(()=>{te&&dn&&Xt(Fe)},[te,Fe,dn,Xt]),(0,b.useEffect)(()=>{ne.current=Fe},[Fe]);const re=(0,b.useMemo)(()=>({activeIndex:$t,containerId:Xe,disabled:de,disableTransforms:ie,items:Fe,overIndex:ae,useDragOverlay:Gt,sortedRects:pe(Fe,qe),strategy:yt}),[$t,Xe,de.draggable,de.droppable,ie,Fe,ae,qe,Gt,yt]);return b.createElement(kt.Provider,{value:re},Ft)}const Qe=Ye=>{let{id:Ft,items:Ce,activeIndex:he,overIndex:yt}=Ye;return et(Ce,he,yt).indexOf(Ft)},Ae=Ye=>{let{containerId:Ft,isSorting:Ce,wasDragging:he,index:yt,items:Vt,newIndex:Lt,previousItems:me,previousContainerId:qe,transition:it}=Ye;return!it||!he||me!==Vt&&yt===Lt?!1:Ce?!0:Lt!==yt&&Ft===qe},tt={duration:200,easing:"ease"},nt="transform",zt=ce.ux.Transition.toString({property:nt,duration:0,easing:"linear"}),Ot={roleDescription:"sortable"};function ht(Ye){let{disabled:Ft,index:Ce,node:he,rect:yt}=Ye;const[Vt,Lt]=(0,b.useState)(null),me=(0,b.useRef)(Ce);return(0,ce.LI)(()=>{if(!Ft&&Ce!==me.current&&he.current){const qe=yt.current;if(qe){const it=(0,Me.VK)(he.current,{ignoreTransform:!0}),Xt={x:qe.left-it.left,y:qe.top-it.top,scaleX:qe.width/it.width,scaleY:qe.height/it.height};(Xt.x||Xt.y)&&Lt(Xt)}}Ce!==me.current&&(me.current=Ce)},[Ft,Ce,he,yt]),(0,b.useEffect)(()=>{Vt&&Lt(null)},[Vt]),Vt}function Ct(Ye){let{animateLayoutChanges:Ft=Ae,attributes:Ce,disabled:he,data:yt,getNewIndex:Vt=Qe,id:Lt,strategy:me,resizeObserverConfig:qe,transition:it=tt}=Ye;const{items:Xt,containerId:Xe,activeIndex:Gt,disabled:Fe,disableTransforms:dn,sortedRects:$t,overIndex:ae,useDragOverlay:ne,strategy:te}=(0,b.useContext)(kt),ie=De(he,Fe),de=Xt.indexOf(Lt),re=(0,b.useMemo)(()=>Oo({sortable:{containerId:Xe,index:de,items:Xt}},yt),[Xe,yt,de,Xt]),le=(0,b.useMemo)(()=>Xt.slice(Xt.indexOf(Lt)),[Xt,Lt]),{rect:Se,node:Ge,isOver:He,setNodeRef:Le}=(0,Me.Zj)({id:Lt,data:re,disabled:ie.droppable,resizeObserverConfig:Oo({updateMeasurementsFor:le},qe)}),{active:rt,activatorEvent:ut,activeNodeRect:At,attributes:Ne,setNodeRef:Be,listeners:Ut,isDragging:Zt,over:mn,setActivatorNodeRef:vn,transform:jt}=(0,Me.O1)({id:Lt,data:re,attributes:Oo(Oo({},Ot),Ce),disabled:ie.draggable}),Cn=(0,ce.HB)(Le,Be),on=!!rt,Je=on&&!dn&&be(Gt)&&be(ae),Tt=!ne&&Zt,an=Tt&&Je?jt:null,_t=me!=null?me:te,je=Je?an!=null?an:_t({rects:$t,activeNodeRect:At,activeIndex:Gt,overIndex:ae,index:de}):null,Pt=be(Gt)&&be(ae)?Vt({id:Lt,items:Xt,activeIndex:Gt,overIndex:ae}):de,Kt=rt==null?void 0:rt.id,nn=(0,b.useRef)({activeId:Kt,items:Xt,newIndex:Pt,containerId:Xe}),On=Xt!==nn.current.items,_n=Ft({active:rt,containerId:Xe,isDragging:Zt,isSorting:on,id:Lt,index:de,items:Xt,newIndex:nn.current.newIndex,previousItems:nn.current.items,previousContainerId:nn.current.containerId,transition:it,wasDragging:nn.current.activeId!=null}),nr=ht({disabled:!_n,index:de,node:Ge,rect:Se});return(0,b.useEffect)(()=>{on&&nn.current.newIndex!==Pt&&(nn.current.newIndex=Pt),Xe!==nn.current.containerId&&(nn.current.containerId=Xe),Xt!==nn.current.items&&(nn.current.items=Xt)},[on,Pt,Xe,Xt]),(0,b.useEffect)(()=>{if(Kt===nn.current.activeId)return;if(Kt&&!nn.current.activeId){nn.current.activeId=Kt;return}const Zn=setTimeout(()=>{nn.current.activeId=Kt},50);return()=>clearTimeout(Zn)},[Kt]),{active:rt,activeIndex:Gt,attributes:Ne,data:re,rect:Se,index:de,newIndex:Pt,items:Xt,isOver:He,isSorting:on,isDragging:Zt,listeners:Ut,node:Ge,overIndex:ae,over:mn,setNodeRef:Cn,setActivatorNodeRef:vn,setDroppableNodeRef:Le,setDraggableNodeRef:Be,transform:nr!=null?nr:je,transition:ir()};function ir(){if(nr||On&&nn.current.newIndex===de)return zt;if(!(Tt&&!(0,ce.vd)(ut)||!it)&&(on||_n))return ce.ux.Transition.toString(fi(Oo({},it),{property:nt}))}}function De(Ye,Ft){var Ce,he;return typeof Ye=="boolean"?{draggable:Ye,droppable:!1}:{draggable:(Ce=Ye==null?void 0:Ye.draggable)!=null?Ce:Ft.draggable,droppable:(he=Ye==null?void 0:Ye.droppable)!=null?he:Ft.droppable}}function ke(Ye){if(!Ye)return!1;const Ft=Ye.data.current;return!!(Ft&&"sortable"in Ft&&typeof Ft.sortable=="object"&&"containerId"in Ft.sortable&&"items"in Ft.sortable&&"index"in Ft.sortable)}const xe=[Me.g4.Down,Me.g4.Right,Me.g4.Up,Me.g4.Left],se=(Ye,Ft)=>{let{context:{active:Ce,collisionRect:he,droppableRects:yt,droppableContainers:Vt,over:Lt,scrollableAncestors:me}}=Ft;if(xe.includes(Ye.code)){if(Ye.preventDefault(),!Ce||!he)return;const qe=[];Vt.getEnabled().forEach(Xe=>{if(!Xe||Xe!=null&&Xe.disabled)return;const Gt=yt.get(Xe.id);if(Gt)switch(Ye.code){case KeyboardCode.Down:he.topGt.top&&qe.push(Xe);break;case KeyboardCode.Left:he.left>Gt.left&&qe.push(Xe);break;case KeyboardCode.Right:he.left1&&(Xt=it[1].id),Xt!=null){const Xe=Vt.get(Ce.id),Gt=Vt.get(Xt),Fe=Gt?yt.get(Gt.id):null,dn=Gt==null?void 0:Gt.node.current;if(dn&&Fe&&Xe&&Gt){const ae=getScrollableAncestors(dn).some((le,Se)=>me[Se]!==le),ne=It(Xe,Gt),te=_e(Xe,Gt),ie=ae||!ne?{x:0,y:0}:{x:te?he.width-Fe.width:0,y:te?he.height-Fe.height:0},de={x:Fe.left,y:Fe.top};return ie.x&&ie.y?de:subtract(de,ie)}}}};function It(Ye,Ft){return!ke(Ye)||!ke(Ft)?!1:Ye.data.current.sortable.containerId===Ft.data.current.sortable.containerId}function _e(Ye,Ft){return!ke(Ye)||!ke(Ft)||!It(Ye,Ft)?!1:Ye.data.current.sortable.indexIt=>{xe.forEach(_e=>_e(It))},xe)}const ce=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function et(ke){const xe=Object.prototype.toString.call(ke);return xe==="[object Window]"||xe==="[object global]"}function Pe(ke){return"nodeType"in ke}function pe(ke){var xe,se;return ke?et(ke)?ke:Pe(ke)&&(xe=(se=ke.ownerDocument)==null?void 0:se.defaultView)!=null?xe:window:window}function be(ke){const{Document:xe}=pe(ke);return ke instanceof xe}function Ve(ke){return et(ke)?!1:ke instanceof pe(ke).HTMLElement}function Ie(ke){return ke instanceof pe(ke).SVGElement}function ue(ke){return ke?et(ke)?ke.document:Pe(ke)?be(ke)?ke:Ve(ke)||Ie(ke)?ke.ownerDocument:document:document:document}const $e=ce?b.useLayoutEffect:b.useEffect;function Ee(ke){const xe=(0,b.useRef)(ke);return $e(()=>{xe.current=ke}),(0,b.useCallback)(function(){for(var se=arguments.length,It=new Array(se),_e=0;_e{ke.current=setInterval(It,_e)},[]),se=(0,b.useCallback)(()=>{ke.current!==null&&(clearInterval(ke.current),ke.current=null)},[]);return[xe,se]}function ot(ke,xe){xe===void 0&&(xe=[ke]);const se=(0,b.useRef)(ke);return $e(()=>{se.current!==ke&&(se.current=ke)},xe),se}function st(ke,xe){const se=(0,b.useRef)();return(0,b.useMemo)(()=>{const It=ke(se.current);return se.current=It,It},[...xe])}function Ue(ke){const xe=Ee(ke),se=(0,b.useRef)(null),It=(0,b.useCallback)(_e=>{_e!==se.current&&(xe==null||xe(_e,se.current)),se.current=_e},[]);return[se,It]}function Re(ke){const xe=(0,b.useRef)();return(0,b.useEffect)(()=>{xe.current=ke},[ke]),xe.current}let ft={};function kt(ke,xe){return(0,b.useMemo)(()=>{if(xe)return xe;const se=ft[ke]==null?0:ft[ke]+1;return ft[ke]=se,ke+"-"+se},[ke,xe])}function en(ke){return function(xe){for(var se=arguments.length,It=new Array(se>1?se-1:0),_e=1;_e{const Ce=Object.entries(Ft);for(const[he,yt]of Ce){const Vt=Ye[he];Vt!=null&&(Ye[he]=Vt+ke*yt)}return Ye},Oo({},xe))}}const Qe=en(1),Ae=en(-1);function tt(ke){return"clientX"in ke&&"clientY"in ke}function nt(ke){if(!ke)return!1;const{KeyboardEvent:xe}=pe(ke.target);return xe&&ke instanceof xe}function zt(ke){if(!ke)return!1;const{TouchEvent:xe}=pe(ke.target);return xe&&ke instanceof xe}function Ot(ke){if(zt(ke)){if(ke.touches&&ke.touches.length){const{clientX:xe,clientY:se}=ke.touches[0];return{x:xe,y:se}}else if(ke.changedTouches&&ke.changedTouches.length){const{clientX:xe,clientY:se}=ke.changedTouches[0];return{x:xe,y:se}}}return tt(ke)?{x:ke.clientX,y:ke.clientY}:null}const ht=Object.freeze({Translate:{toString(ke){if(!ke)return;const{x:xe,y:se}=ke;return"translate3d("+(xe?Math.round(xe):0)+"px, "+(se?Math.round(se):0)+"px, 0)"}},Scale:{toString(ke){if(!ke)return;const{scaleX:xe,scaleY:se}=ke;return"scaleX("+xe+") scaleY("+se+")"}},Transform:{toString(ke){if(ke)return[ht.Translate.toString(ke),ht.Scale.toString(ke)].join(" ")}},Transition:{toString(ke){let{property:xe,duration:se,easing:It}=ke;return xe+" "+se+"ms "+It}}}),Ct="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function De(ke){return ke.matches(Ct)?ke:ke.querySelector(Ct)}},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Bn,rn){"use strict";rn.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},42168:function(Bn,rn){"use strict";rn.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n",rateInput:"rateInput___yMSFt",operationWrapper:"operationWrapper___sHATq",add:"add___jcwUR",remove:"remove___nbhui"}},59435:function(Bn,rn,ee){"use strict";var b=ee(59301),Me=Object.defineProperty,ce=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,pe=(Ie,ue,$e)=>ue in Ie?Me(Ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ie[ue]=$e,be=(Ie,ue)=>{for(var $e in ue||(ue={}))et.call(ue,$e)&&pe(Ie,$e,ue[$e]);if(ce)for(var $e of ce(ue))Pe.call(ue,$e)&&pe(Ie,$e,ue[$e]);return Ie};const Ve=Ie=>React.createElement("svg",be({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ie),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));rn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},77264:function(Bn,rn,ee){"use strict";var b=ee(59301),Me=Object.defineProperty,ce=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,pe=(Ie,ue,$e)=>ue in Ie?Me(Ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Ie[ue]=$e,be=(Ie,ue)=>{for(var $e in ue||(ue={}))et.call(ue,$e)&&pe(Ie,$e,ue[$e]);if(ce)for(var $e of ce(ue))Pe.call(ue,$e)&&pe(Ie,$e,ue[$e]);return Ie};const Ve=Ie=>React.createElement("svg",be({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},Ie),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));rn.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},84915:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Bn={},rn="5.0",ee={},b=null,Me=!1,ce=!1,et=null,Pe=!1,pe=null,be=null,Ve=0;Ve4?parseFloat(me):5};Bn.setHTML5Codebase=function(me,qe){be=me,yt(me,qe)},Bn.setJavaCodebase=Bn.setJavaCodebaseVersion=Bn.isCompiledInstalled=Bn.setPreCompiledScriptPath=Bn.setPreCompiledResourcePath=function(){},Bn.setHTML5CodebaseVersion=function(me,qe){var it=parseFloat(me);if(it!==NaN&&it<5){console.log("The GeoGebra HTML5 codebase version "+it+" is deprecated. Using version latest instead.");return}pe=me,he(me,qe)},Bn.getHTML5CodebaseVersion=function(){return ot},Bn.getParameters=function(){return ee},Bn.setFontsCSSURL=function(me){en=me},Bn.setGiacJSURL=function(me){},Bn.setJNLPFile=function(me){ue=me},Bn.setJNLPBaseDir=function(me){},Bn.inject=function(){function me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var qe="auto",it=ee.id,Xt,Xe=!1,Gt=0;Gt=5)return!0;var me=Bn.getAppletObject();return me&&typeof me.recalculateEnvironments=="function"?(me.recalculateEnvironments(),!0):!1},Bn.startAnimation=function(){var me=Bn.getAppletObject();return me&&typeof me.startAnimation=="function"?(me.startAnimation(),!0):!1},Bn.stopAnimation=function(){var me=Bn.getAppletObject();return me&&typeof me.stopAnimation=="function"?(me.stopAnimation(),!0):!1},Bn.getAppletObject=function(){var me=ee.id!==void 0?ee.id:"ggbApplet";return window[me]},Bn.resize=function(){};var Ct=function(me,qe,it){var Xt=document.createElement("param");Xt.setAttribute("name",qe),Xt.setAttribute("value",it),me.appendChild(Xt)},De=function(me){return me&&me!=="false"},ke=function(me,qe,it){Ae(ot)<=4.2&&(it=!0);var Xt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ot||ggbHTML5LoadedCodebaseIsWebSimple&&!Ue)&&(Xt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Xe=document.createElement("div");Xe.classList.add("appletParameters","notranslate");var Gt=qe.width,Fe=qe.height;if(qe.disableAutoScale=qe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():qe.disableAutoScale,qe.width!==void 0)if(Ae(ot)<=4.4)De(qe.showToolBar)&&(qe.height-=7),De(qe.showAlgebraInput)&&(qe.height-=37),qe.width<605&&De(qe.showToolBar)&&(qe.width=605,Gt=605);else{var dn=100;(De(qe.showToolBar)||De(qe.showMenuBar))&&(qe.hasOwnProperty("customToolBar")&&(qe.customToolbar=qe.customToolBar),dn=De(qe.showMenuBar)?245:155),Gt=5?(qe.appletOnLoad=function(ut){var At=me.querySelector(".ggb_preview");At&&At.parentNode.removeChild(At),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ne),window.GGBT_wsf_view&&$(window).trigger("resize"),ae(ut)},te||ne.appendChild(ie)):Xe.appendChild(ie),ne.appendChild(Xe),te||me.appendChild(ne),setTimeout(function(){Bn.resize()},1)}else{var de=document.createElement("div");de.className="applet_scaler",de.style.position="relative",de.style.display="block",de.appendChild(Xe),me.appendChild(de),qe.appletOnLoad=function(ut){Bn.resize(),ae(ut)}}function re(ut,At){At&&typeof At.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ut,At.appletOnLoad):renderGGBElement(ut),Vt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",At)}function le(ut,At){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ut,params:At}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ne){re(Ne.article,Ne.params)}),html5AppletsToProcess=null)},Ae(ot)<5&&(ut.className+=" geogebraweb")):re(ut,At)}if(Xt){scriptLoadStarted=!0;for(var Se=0;Se0?($t.remove(),ne.attr("id","fullscreencontent").show(),jQuery(ae).append(ne),window.dispatchEvent(new Event("resize"))):ke($t,qe,!1),window.GGBT_wsf_view.launchFullScreen(ae)}else Rt=Xt,ke(me,qe,!1);if(!window.GGBT_wsf_view)for(Fe=0;Feme/4*3&&($t=me/4*3),ae=$t/5.8,dn.setAttribute("src",ft),dn.setAttribute("width",$t),dn.setAttribute("height",ae);var ne=(me-$t)/2,te=(qe-ae)/2;dn.style.left=ne+"px",dn.style.top=te+"px",Xe.appendChild(dn)}}return Xe.appendChild(Fe),Xe},Ft=function(me){return me=me.toLowerCase(),me==="html5"||me==="screenshot"?me:"html5"},Ce=["web","webSimple","web3d","tablet","tablet3d","phone"],he=function(me,qe){if(ot=me,qe){yt(ot,!0);return}var it=!Me;if(it){var Xt=Ae(ot);!isNaN(Xt)&&Xt<4.4&&(it=!1)}var Xe,Gt;window.location.protocol.substr(0,4)==="http"?Xe=window.location.protocol:Xe="http:";var Fe=ot.indexOf("//");Fe>0?Gt=ot:Fe===0?Gt=Xe+ot:Gt="https://www.geogebra.org/apps/5.2.814.0/";for(var dn in Ce)if(ot.slice(Ce[dn].length*-1)===Ce[dn]||ot.slice((Ce[dn].length+1)*-1)===Ce[dn]+"/"){yt(Gt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&it&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!De(ee.showToolBar)&&!De(ee.showMenuBar)&&!De(ee.showAlgebraInput)&&!De(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Gt+="webSimple/":Gt+="web3d/",yt(Gt,!1)},yt=function(me,qe){if(me.requirejs){$e=me;return}me.slice(-1)!=="/"&&(me+="/"),$e=me,qe===null&&(qe=me.indexOf("http")===-1),Ee=qe,st="web.nocache.js",Ue=!1;var it=$e.split("/");it.length>1&&(!qe&&it[it.length-2]==="webSimple"?(st="webSimple.nocache.js",Ue=!0):Ce.indexOf(it[it.length-2])>=0&&(st=it[it.length-2]+".nocache.js")),it=me.split("/"),ot=it[it.length-3],ot.substr(0,4)==="test"?ot=ot.substr(4,1)+"."+ot.substr(5,1):(ot.substr(0,3)==="war"||ot.substr(0,4)==="beta")&&(ot="5.0");var Xt=parseFloat(ot);Xt!==NaN&&Xt<5&&me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Xt+" is deprecated. Using version latest instead."),he("5.0",qe))},Vt=function(me,qe){window.console&&window.console.log&&(!qe||typeof qe.showLogging=="undefined"||qe.showLogging&&qe.showLogging!=="false")&&console.log(me)};ee.material_id!==void 0?zt(Lt):Lt();function Lt(){var me=rn;pe!==null?me=pe:parseFloat(me)<5&&(me="5.0"),he(me,!1),be!==null&&yt(be,Ee),Pe=!0}return Bn},GGBAppletUtils=function(){"use strict";function Bn(){return window.GGBT_wsf_edit!==void 0}function rn(Pe,pe){pe!=1?(Pe.style.transformOrigin="0% 0% 0px",Pe.style.webkitTransformOrigin="0% 0% 0px",Pe.style.transform="scale("+pe+","+pe+")",Pe.style.webkitTransform="scale("+pe+","+pe+")",Pe.style.maxWidth="initial",Pe.querySelector(".ggb_preview")!==null&&(Pe.querySelector(".ggb_preview").style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Pe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Pe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Pe.style.transform="none",Pe.style.webkitTransform="none")}function ee(Pe,pe,be,Ve,Ie,ue){var $e=null;if(ue!=null&&ue!="")for(var Ee=Pe.parentNode;Ee!=null;)if((" "+Ee.className+" ").indexOf(" "+ue+" ")>-1){$e=Ee;break}else Ee=Ee.parentNode;var Rt=0,ot=0,st=0,Ue=0,Re=0,ft=0,kt=0;if($e)Rt=$e.offsetWidth,ot=Math.max(Ve?$e.offsetWidth:0,$e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Rt=Math.min(window.innerWidth,document.documentElement.clientWidth),ot=Math.min(window.innerHeight,document.documentElement.clientHeight),st=Rt):(Rt=window.innerWidth,ot=window.innerHeight,st=window.innerWidth),Pe){var en=Pe.getBoundingClientRect();en.left>0&&en.left<=Rt&&(Ie===void 0||!Ie)&&(document.dir==="rtl"?(Re=Rt-en.width-en.left,ft=st<=480?10:30):(ft=en.left,Re=st<=480?10:30),Ue=ft+Re)}if(Pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Qe=Pe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ue=40,kt=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ue=0,kt=40)}}return Pe&&((be===void 0||!be)&&pe>0&&pe+Ue1&&(ue=!0)),pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(Pe.hasOwnProperty("disableAutoScale")&&Pe.disableAutoScale))Ie=b(Pe,pe,ue,be,Pe.scaleContainerClass);else return Ve;return ue&&(!Pe.hasOwnProperty("scale")||Ve===1)?Ie:Math.min(Ve,Ie)}function ce(Pe){var pe=Math.min(window.innerWidth,document.documentElement.clientWidth),be=Math.min(window.innerHeight,document.documentElement.clientHeight),Ve=Pe.getBoundingClientRect(),Ie=(pe-Ve.width)/2,ue=(be-Ve.height)/2;ue<0&&(ue=0),Pe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ie<40?Pe.style.left="40px":Pe.style.left=Ie+"px",Pe.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?Pe.style.top="40px":Pe.style.top=ue+"px",Pe.style.left=Ie+"px")}function et(Pe,pe){var be=Pe.querySelector(".appletParameters");if(be){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(pe.id!==be.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Pe)}if(be.parentElement&&/fullscreen/.test(be.parentElement.className))return;var Ve=Me(pe,Pe);Bn()&&be.setAttribute("data-param-scale",Ve);for(var Ie=null,ue=0;ue=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Bn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Bn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Bn){var rn=c[Bn];return rn==null?null:rn},r=d,webModule.__errFn=e}function B(){function Bn(Pe){var pe=Pe.lastIndexOf(rb);pe==-1&&(pe=Pe.length);var be=Pe.indexOf(sb);be==-1&&(be=Pe.length);var Ve=Pe.lastIndexOf(tb,Math.min(be,pe));return Ve>=O?Pe.substring(O,Ve+P):W}function rn(Pe){if(!Pe.match(/^\w+:\/\//)){var pe=o.createElement(ub);pe.src=Pe+vb,Pe=Bn(pe.src)}return Pe}function ee(){var Pe=__gwt_getMetaProperty(wb);return Pe!=null?Pe:W}function b(){for(var Pe=o.getElementsByTagName(_),pe=O;peO?Pe[Pe.length-P].href:W}function ce(){var Pe=o.location;return Pe.href==Pe.protocol+zb+Pe.host+Pe.pathname+Pe.search+Pe.hash}var et=ee();return et==W&&(et=b()),et==W&&(et=Me()),et==W&&ce()&&(et=Bn(o.location.href)),et=rn(et),et}function C(Bn){return Bn.match(/^\//)||Bn.match(/^[a-zA-Z]+:\/\//)?Bn:webModule.__moduleBase+Bn}function D(){var Bn=[],rn=O,ee=[],b=[];function Me(Pe){var pe=b[Pe](),be=ee[Pe];if(pe in be)return pe;var Ve=[];for(var Ie in be)Ve[be[Ie]]=Ie;throw r&&r(Pe,Ve,pe),null}if(__gwt_isKnownPropertyValue=function(Pe,pe){return pe in ee[Pe]},webModule.__getPropMap=function(){var Pe={};for(var pe in ee)ee.hasOwnProperty(pe)&&(Pe[pe]=Me(pe));return Pe},webModule.__computePropValue=Me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var ce;try{ce=Cb;var et=ce.indexOf(Db);et!=-1&&(rn=parseInt(ce.substring(et+P),$),ce=ce.substring(O,et))}catch(Pe){}return webModule.__softPermutationId=rn,C(ce+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},23216:function(Bn,rn,ee){"use strict";ee.d(rn,{Ax:function(){return et},Ds:function(){return Pe},KI:function(){return be},SI:function(){return ce},f1:function(){return Me}});var b=ee(14185);function Me(Ve){let Ie=!0;if(Ve.length>0){for(let ue=0;uenew Promise((st,Ue)=>{var Re=en=>{try{kt(ot.next(en))}catch(Qe){Ue(Qe)}},ft=en=>{try{kt(ot.throw(en))}catch(Qe){Ue(Qe)}},kt=en=>en.done?st(en.value):Promise.resolve(en.value).then(Re,ft);kt((ot=ot.apply(Ee,Rt)).next())}),$e=({data:Ee,className:Rt,fullWidth:ot,style:st={},onClose:Ue,onOk:Re,showFullTools:ft,noAssociationId:kt})=>{const en=(0,b.useRef)(null),Qe=(0,b.useRef)(null),Ae=(0,b.useRef)(null),tt=(0,b.useRef)(null),[nt,zt]=(0,b.useState)(!1),[Ot,ht]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(Ae.current||(Ae.current=document.createElement("style"),document.head.appendChild(Ae.current)),Ee!=null&&Ee.visible?(document.body.setAttribute("data-custom","y-hidden"),Ae.current.innerHTML=" html { overflow-y: hidden; }",Ee!=null&&Ee.src&&Ct()):(document.body.removeAttribute("data-custom"),Ae.current&&(document.head.removeChild(Ae.current),Ae.current=null)),()=>{document.body.removeAttribute("data-custom"),Ae.current&&(document.head.removeChild(Ae.current),Ae.current=null)}),[Ee==null?void 0:Ee.visible]);const Ct=()=>Ie(void 0,null,function*(){zt(!0),ht("\u6B63\u5728\u52A0\u8F7D\u4E2D");const se=yield(0,Ve.ZJ)(Ee==null?void 0:Ee.src);en.current.src="",en.current.src=se,en.current.onload=function(){xe()},zt(!1),ht("")}),De=se=>Ie(void 0,null,function*(){zt(!0),ht("\u6B63\u5728\u4FDD\u5B58\u4E2D");const It=yield(0,be.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ee.title,file:se.dataUrl}});It!=null&&It.id&&!kt?(yield(0,be.ZP)(`/api/attachments/${Ee.id}/add_subitem.json`,{method:"post",body:{subitem_id:It==null?void 0:It.id,settings:JSON.stringify(se.state)}})).status===0&&Re():It!=null&&It.id&&Re(It),zt(!1),ht("")}),ke=()=>{const se=document.querySelector('a[href="https://markerjs.com/"]');se&&se.parentNode&&(se.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(_e=>{const Ye=document.querySelector(_e.name);Ye&&Ye.setAttribute("title",_e.title)})},xe=()=>{Qe.current=new pe.hP(en.current),Qe.current.targetRoot=tt.current,Qe.current.addEventListener("render",De),Qe.current.addEventListener("beforeclose",Ue),ft&&(Qe.current.availableMarkerTypes=Qe.current.ALL_MARKER_TYPES,Qe.current.uiStyleSettings.redoButtonVisible=!0,Qe.current.uiStyleSettings.notesButtonVisible=!0,Qe.current.uiStyleSettings.zoomButtonVisible=!0,Qe.current.uiStyleSettings.zoomOutButtonVisible=!0,Qe.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Qe.current.uiStyleSettings,Qe.current.show(),Ee!=null&&Ee.snapshotData&&Qe.current.restoreState(Ee.snapshotData),setTimeout(()=>{window.scrollTo(0,0),ke()},300)};return b.createElement(b.Fragment,null,(Ee==null?void 0:Ee.visible)&&b.createElement(Pe.Z,{spinning:nt,tip:Ot,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:tt,className:et()(Me.imageDimensions,Rt,ot?Me.fullWidth:""),style:st},b.createElement("img",{className:Me.img,ref:en}))))}},9057:function(Bn,rn,ee){"use strict";var b=ee(59301),Me=ee(77019),ce=ee(5269),et=ee(31691),Pe=ee(7939),pe=ee(35883),be=ee(74501),Ve=ee(48136),Ie=ee(59301);const ue=(0,b.forwardRef)(({callback:$e,showSaveButton:Ee,value:Rt=""},ot)=>{const st=(0,b.useRef)(),Ue=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Re=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r + x=a + r\\text{cos}\\theta \\ \r + y=b + r\\text{sin}\\theta \r +\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r + \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r + \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\left\\{\\begin{matrix} \r + \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r +\\end{matrix}\\right. \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r + \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r +\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r + a \\perp \\alpha \\ \r + b \\perp \\alpha \r +\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r + \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r + a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r + a \\parallel \\partial ,b \\parallel \\partial \r +\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r + m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r + a \\perp m,a \\perp n \r +\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r + \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r + a^{2}+b^{2}=c^{2} \r +\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r + a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r + a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r +\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r + a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r + \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r +\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r +\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r + a,b \\in R^{+} \\ \r + \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + a,b \\in R \\ \r + \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r +\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r + \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r + \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r +\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r + P \\left( \\emptyset \\right) =0 \\\\ \r + P \\left( S \\right) =1 \r +\\end{array}`},{value:`\\begin{array}{c} \r + \\forall A \\in S \\\\ \r + P \\left( A \\right) \\ge 0 \r +\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r + S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r + P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r +\\end{array}`},{value:`\\begin{array}{c} \r + P_{n}=n! \\\\ \r + A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r +\\end{array}`}]}]}],ft=Qe=>{st.current.setValue(st.current.getValue()+" "+Qe.value+" ")},kt=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ie.createElement(Me.Z,{className:be.Z.lists,gutter:[10,10]},Ue.map((Qe,Ae)=>Ie.createElement(ce.Z,{flex:"110px",className:be.Z.item},Ie.createElement("div",null,Ie.createElement(pe.Z,{value:`$$${Qe.value}$$`}),Qe.name),Ie.createElement("div",{className:be.Z.children},Qe.children.map((tt,nt)=>Ie.createElement("div",{key:nt},Ie.createElement("h1",null,tt.name),Ie.createElement(Me.Z,{gutter:[10,10]},tt.data.map((zt,Ot)=>Ie.createElement(ce.Z,{key:Ot,onClick:()=>ft(zt),className:be.Z.diamond},Ie.createElement(pe.Z,{value:"`$$"+zt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ie.createElement(Me.Z,{className:be.Z.lists,gutter:[10,10]},Re.map((Qe,Ae)=>Ie.createElement(ce.Z,{flex:"110px",className:be.Z.item},Ie.createElement("div",null,Ie.createElement(pe.Z,{value:"`$$"+Qe.value+"$$`"}),Qe.name),Ie.createElement("div",{className:be.Z.children},Qe.children.map((tt,nt)=>Ie.createElement("div",{key:nt},tt.name&&Ie.createElement("h1",null,tt.name),Ie.createElement(Me.Z,{gutter:[10,10]},tt.data.map((zt,Ot)=>Ie.createElement(ce.Z,{key:Ot,onClick:()=>ft(zt),className:be.Z.diamond},Ie.createElement(pe.Z,{value:"`$$"+zt.value+"$$`"}))))))))))}],en=()=>{var Qe=document.createElement("div");Qe.innerHTML=st.current.getValue();var Ae=Qe.innerText;return $e&&$e(Ae),Ae};return(0,b.useImperativeHandle)(ot,()=>({getData:en})),Ie.createElement("div",{className:be.Z.mathWrap},Ie.createElement(et.default,{defaultActiveKey:"1",items:kt}),Ie.createElement("math-field",{locale:"zh_cn",className:be.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:st,style:{width:800,marginTop:30,fontSize:18}},Rt||""),Ee&&Ie.createElement("div",{className:be.Z.button},Ie.createElement(Pe.ZP,{size:"large",onClick:en,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});rn.Z=ue},90736:function(Bn,rn,ee){"use strict";var b=ee(59301),Me=ee(4977),ce=ee(7939),et=Object.defineProperty,Pe=Object.defineProperties,pe=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,ue=(ot,st,Ue)=>st in ot?et(ot,st,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ot[st]=Ue,$e=(ot,st)=>{for(var Ue in st||(st={}))Ve.call(st,Ue)&&ue(ot,Ue,st[Ue]);if(be)for(var Ue of be(st))Ie.call(st,Ue)&&ue(ot,Ue,st[Ue]);return ot},Ee=(ot,st)=>Pe(ot,pe(st));const Rt=({img:ot,buttonProps:st={},styles:Ue={},customText:Re,ButtonText:ft,ButtonClick:kt,Buttonclass:en,ButtonTwo:Qe,imgStyles:Ae,loading:tt=!1,className:nt=""})=>b.createElement("section",{className:`tc animated fadeIn ${nt}`,style:$e({color:"#999",margin:"100px auto",visibility:tt?"hidden":"visible"},Ue)},b.createElement("img",{src:ot||Me,style:Ee($e({},Ae),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},Re||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),ft&&b.createElement(ce.ZP,$e({className:en,onClick:kt},st),ft),Qe&&Qe);rn.Z=Rt},86974:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return en}});var b=ee(59301),Me={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},ce=ee(7939),et=ee(70557),Pe=ee(34728),pe=ee(25399),be=ee(76406),Ve=ee(84849),Ie=ee(90736),ue=ee(14185),$e=ee(52078),Ee=ee(59301),Rt=Object.defineProperty,ot=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Re=(Qe,Ae,tt)=>Ae in Qe?Rt(Qe,Ae,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Qe[Ae]=tt,ft=(Qe,Ae)=>{for(var tt in Ae||(Ae={}))st.call(Ae,tt)&&Re(Qe,tt,Ae[tt]);if(ot)for(var tt of ot(Ae))Ue.call(Ae,tt)&&Re(Qe,tt,Ae[tt]);return Qe},kt=(Qe,Ae,tt)=>new Promise((nt,zt)=>{var Ot=De=>{try{Ct(tt.next(De))}catch(ke){zt(ke)}},ht=De=>{try{Ct(tt.throw(De))}catch(ke){zt(ke)}},Ct=De=>De.done?nt(De.value):Promise.resolve(De.value).then(Ot,ht);Ct((tt=tt.apply(Qe,Ae)).next())}),en=({editOffice:Qe="view",data:Ae,issaver:tt,onSaver:nt,theme:zt,type:Ot,filename:ht,monacoEditor:Ct,className:De,style:ke,close:xe,onClose:se,hasMask:It,disabledDownload:_e,onImgDimensions:Ye,showNodata:Ft,recordInfo:Ce})=>{const[he,yt]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Vt,Lt]=(0,b.useState)(""),[me,qe]=(0,b.useState)(),it=window.ENV==="build"?"/react/build":"",Xt=location.host.startsWith("localhost")?ue.Z.PROXY_SERVER:ue.Z.API_SERVER,Gt=10*(1024*1024),Fe=(0,b.useRef)();Ae!=null&&Ae.startsWith("/api")&&Ot!=="txt"&&(Ae=ue.Z.API_SERVER+Ae);const dn=de=>de.substring(de.lastIndexOf("/")+1).split(".").pop();ht&&Ct&&(Ct.filename=ht),(0,b.useEffect)(()=>{var de,re;const le=(re=(de=document.cookie)==null?void 0:de.replace(/\s/g,""))==null?void 0:re.split(";");le==null||le.map(Se=>{let Ge=Se.split("=");Ge[0]==="_educoder_session"&&Lt(Ge[1])})},[]),(0,b.useEffect)(()=>{Ot==="office"&&(Ae.indexOf("bigfilescdn.")>-1||Ae.indexOf("bigfiles1")>-1?qe({url:Ae,fileType:dn(Ae),model:Ae.indexOf("model=edit")?"edit":"view"}):Ae.indexOf("coze")>-1?qe({url:Ae,fileType:"doc",model:"view"}):ae())},[Ot,Ae]);function $t(de){return kt(this,null,function*(){de.data.type==="pdfdata"&&(nt(de.data.data),window.removeEventListener("message",$t,!1)),console.log("mess---:",de.data)})}const ae=()=>kt(void 0,null,function*(){console.log("data:",Ae);let de=Ae;Ae.startsWith("http")||(de=location.origin+de);let re=new URL(de).pathname.split("/").pop();const le=yield(0,Ve.gJ)({attachment_id:re});le.url=Xt+le.url,qe(le)}),ne=()=>{if(Ae.startsWith("http")||Ae.startsWith("blob:")){te();return}(0,be.Sv)(ht||"educoder",Ae,ht)},te=()=>{Ce&&(0,$e.fc)({id:Ce==null?void 0:Ce.id,watch_type:1,course_id:Ce==null?void 0:Ce.course_id}),(0,be.Nd)(ht||"educoder",decodeURIComponent(Ae))};(0,b.useEffect)(()=>(window.addEventListener("message",ie),()=>{window.removeEventListener("message",ie)}),[]);const ie=de=>{var re;((re=de==null?void 0:de.data)==null?void 0:re.type)==="closePop"&&se()};return Ee.createElement("div",{style:ft({},ke||{}),className:`${It&&Me.bgBlack} ${Ot?Me.wrp:"hide"}`},!!Ot&&xe&&Ee.createElement("div",{id:"closePop",className:Me.close,ref:Fe},!!Ye&&Ee.createElement(pe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Fe.current},Ee.createElement("span",{onClick:()=>{se(),Ye()}},Ee.createElement("i",{className:"icon-yulanpizhu"}))),!_e&&window.parent===window&&Ee.createElement(pe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Fe.current},Ee.createElement("span",{onClick:te},Ee.createElement("i",{className:"icon-quxiaozhiding"}))),tt&&Ee.createElement(pe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Fe.current},Ee.createElement("span",{className:"",onClick:()=>{const de=document.getElementById("pdfiframe");window.addEventListener("message",$t,!1),setTimeout(()=>{de.contentWindow.postMessage("getData","*")},300)}},Ee.createElement("i",{className:"icon-baocun"}))),Ee.createElement(pe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Fe.current},Ee.createElement("span",{className:"",onClick:()=>{se()}},Ee.createElement("i",{className:"icon-guanbi1"})))),Ee.createElement("div",{className:`${Me[De]} ${De} ${Me.monaco} ${Ot==="txt"?"show":"hide"}`},Ot==="txt"&&Ee.createElement(Ee.Fragment,null,Ee.createElement(Pe.ZP,ft({},Ct)))),Ot==="audio"&&Ee.createElement("audio",{controls:!0,src:`${(Ae==null?void 0:Ae.indexOf("http://"))>-1||(Ae==null?void 0:Ae.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Ae}`,autoPlay:!0}),Ot==="video"&&Ee.createElement(Ee.Fragment,null,(Ae==null?void 0:Ae.indexOf("http"))>-1?Ee.createElement("video",{controls:!0,src:`${Ae}`,autoPlay:!0}):Ee.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Ae}`,autoPlay:!0})),Ot==="office"&&me&&Ee.createElement("iframe",{src:`${it}/office.html?key=${me.key}&url=${btoa(me.url)}&callbackUrl=${Xt+(me.callbackUrl||"")}&fileType=${me.fileType}&title=${me.title||""}&model=${Qe}&officeServer=${ue.Z.ONLYOFFICE}&disabledDownload=${!!_e}`}),Ot==="html"&&Ee.createElement("iframe",{src:Ae+"&disposition=inline"}),Ot==="pdf"&&Ee.createElement("iframe",{id:"pdfiframe",src:`${it}/js/pdf/index.html?filename=${ht||"educoder.pdf"}&url=${encodeURIComponent(Ae)}&disabledDownload=${!!_e}&model=${Qe}`}),Ot==="image"&&Ee.createElement("img",{src:`${(Ae==null?void 0:Ae.indexOf("http://"))>-1||(Ae==null?void 0:Ae.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Ae}`}),(Ot==="other"||Ot==="download")&&Ee.createElement(Ee.Fragment,null,Ft?Ee.createElement(Ie.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Ee.createElement(ce.ZP,{icon:Ee.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ne,disabled:_e},"\u4E0B\u8F7D")}):Ee.createElement(ce.ZP,{type:"primary",size:"middle",onClick:ne,disabled:_e},Ee.createElement(et.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Ot==="flowChart"&&Ee.createElement("div",{className:"embed"},Ee.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Ae||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},78130:function(Bn,rn,ee){"use strict";ee.d(rn,{h:function(){return st},x:function(){return Ue}});var b=ee(39116),Me=ee(42168),ce=ee(35883),et=ee(59301),Pe=Object.defineProperty,pe=Object.defineProperties,be=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,$e=(Re,ft,kt)=>ft in Re?Pe(Re,ft,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Re[ft]=kt,Ee=(Re,ft)=>{for(var kt in ft||(ft={}))Ie.call(ft,kt)&&$e(Re,kt,ft[kt]);if(Ve)for(var kt of Ve(ft))ue.call(ft,kt)&&$e(Re,kt,ft[kt]);return Re},Rt=(Re,ft)=>pe(Re,be(ft)),ot=(Re,ft)=>{var kt={};for(var en in Re)Ie.call(Re,en)&&ft.indexOf(en)<0&&(kt[en]=Re[en]);if(Re!=null&&Ve)for(var en of Ve(Re))ft.indexOf(en)<0&&ue.call(Re,en)&&(kt[en]=Re[en]);return kt};const st=Re=>{var ft=Re,{value:kt,onChange:en,scrollId:Qe}=ft,Ae=ot(ft,["value","onChange","scrollId"]);return et.createElement("div",{id:Qe||""},et.createElement(b.Z,Rt(Ee({},Ae),{defaultValue:kt,onChange:(tt,nt)=>{nt!=null&&nt.length?en(tt,nt):en(tt)}})))},Ue=({value:Re,onChange:ft,placeholder:kt,height:en=140,isEdit:Qe,miniToolbar:Ae,watch:tt=!0})=>Qe?et.createElement(b.Z,{watch:tt,isFocus:!0,height:en||void 0,placeholder:kt,defaultValue:Re,onChange:ft,miniToolbar:Ae}):et.createElement("div",{style:{cursor:"pointer"}},Re?et.createElement(ce.Z,{className:Me.Z.inputBorder,value:Re}):et.createElement("div",{className:`${Me.Z.inputBorder} ${Me.Z.placeholder} inputBorderError`},kt))},35883:function(Bn,rn,ee){"use strict";ee.d(rn,{z:function(){return Ct},Z:function(){return De}});var b=ee(59301),Me=ee(46214),ce=ee(20047),et=ee(64018),Pe=ee(16471),pe=ee(14185),be=ee(76406),Ve=ee(15342),Ie=ee(44104),ue=ee(7939),$e=ee(1012),Ee=ee(86974),Rt=ee(59301),st=({html:ke})=>{const xe=(0,b.useRef)(null),se=(0,b.useRef)(null),It=`.markdown-body p { + margin: 0 0 16px 0 !important; + line-height: 28px; + white-space: pre-wrap; + } + + ol, + ul, + li { + list-style-type: none + } + + ol, + ul, + dl { + margin-bottom: 0px; + } + + .markdown-body { + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + color: #333; + overflow: hidden; + font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; + word-break: break-word; + font-size: 16px; + line-height: 1.6; + white-space: normal; + word-wrap: break-word; + position: relative; + } + + .markdown-body ul>li { + list-style-type: disc; + } + + .markdown-body ol>li { + list-style-type: decimal; + } + + .markdown-body a { + background: transparent; + } + + .markdown-body a:active, + .markdown-body a:hover { + outline: 0; + } + + .markdown-body strong { + font-weight: bold; + } + + .markdown-body h1 { + font-size: 2em; + margin: 0.67em 0; + } + + .markdown-body img { + border: 0; + } + + .markdown-body hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0; + } + + .markdown-body pre { + overflow: auto; + } + + .markdown-body code, + .markdown-body kbd, + .markdown-body pre { + font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; + font-size: 1em; + } + + .markdown-body input { + color: inherit; + font: inherit; + margin: 0; + } + + .markdown-body html input[disabled] { + cursor: default; + } + + .markdown-body input { + line-height: normal; + } + + .markdown-body input[type="checkbox"] { + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 0; + } + + .markdown-body table { + border-collapse: collapse; + border-spacing: 0; + } + + .markdown-body td, + .markdown-body th { + padding: 0; + } + + .markdown-body * { + -moz-box-sizing: border-box; + box-sizing: border-box; + } + + .markdown-body input { + font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; + } + + .markdown-body a { + color: #4183c4; + text-decoration: none; + } + + .markdown-body a:hover, + .markdown-body a:active { + text-decoration: underline; + } + + .markdown-body hr { + height: 0; + margin: 15px 0; + overflow: hidden; + background: transparent; + border: 0; + border-bottom: 1px solid #ddd; + } + + .markdown-body hr:before { + display: table; + content: ""; + } + + .markdown-body hr:after { + display: table; + clear: both; + content: ""; + } + + .markdown-body h1, + .markdown-body h2, + .markdown-body h3, + .markdown-body h4, + .markdown-body h5, + .markdown-body h6 { + margin-top: 15px; + margin-bottom: 15px; + line-height: 1.1; + } + + .markdown-body h1 { + font-size: 30px; + } + + .markdown-body h2 { + font-size: 21px; + } + + .markdown-body h3 { + font-size: 16px; + } + + .markdown-body h4 { + font-size: 14px; + } + + .markdown-body h5 { + font-size: 12px; + } + + .markdown-body h6 { + font-size: 11px; + } + + .markdown-body blockquote { + margin: 0; + } + + .markdown-body ul, + .markdown-body ol { + padding: 0; + margin-top: 0; + margin-bottom: 0; + } + + ul.linenums, + ol.linenums { + padding: 16px 0 0 56px !important; + } + + .markdown-body ul, + .markdown-body ol { + padding-left: 2em; + } + + + .markdown-body ol ol, + .markdown-body ul ol { + list-style-type: lower-roman; + } + + .markdown-body ul ul ol, + .markdown-body ul ol ol, + .markdown-body ol ul ol, + .markdown-body ol ol ol { + list-style-type: lower-alpha; + } + + .markdown-body dd { + margin-left: 0; + } + + .markdown-body code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 12px; + } + + .markdown-body pre { + margin-top: 0; + margin-bottom: 0; + font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; + } + + .markdown-body .octicon { + font: normal normal 16px octicons-anchor; + line-height: 1; + display: inline-block; + text-decoration: none; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + } + + .markdown-body .octicon-link:before { + content: '\f05c'; + } + + .markdown-body>*:first-child { + margin-top: 0 !important; + } + + .markdown-body>*:last-child { + margin-bottom: 0 !important; + } + + .markdown-body .anchor { + position: absolute; + top: 0; + left: 0; + display: block; + padding-right: 6px; + padding-left: 30px; + margin-left: -30px; + } + + .markdown-body .anchor:focus { + outline: none; + } + + .markdown-body h1, + .markdown-body h2, + .markdown-body h3, + .markdown-body h4, + .markdown-body h5, + .markdown-body h6 { + position: relative; + margin-top: 1em; + margin-bottom: 16px; + font-weight: bold; + line-height: 1.4; + } + + .markdown-body h1 .octicon-link, + .markdown-body h2 .octicon-link, + .markdown-body h3 .octicon-link, + .markdown-body h4 .octicon-link, + .markdown-body h5 .octicon-link, + .markdown-body h6 .octicon-link { + display: none; + color: #000; + vertical-align: middle; + } + + .markdown-body h1:hover .anchor, + .markdown-body h2:hover .anchor, + .markdown-body h3:hover .anchor, + .markdown-body h4:hover .anchor, + .markdown-body h5:hover .anchor, + .markdown-body h6:hover .anchor { + padding-left: 8px; + margin-left: -30px; + text-decoration: none; + } + + .markdown-body h1:hover .anchor .octicon-link, + .markdown-body h2:hover .anchor .octicon-link, + .markdown-body h3:hover .anchor .octicon-link, + .markdown-body h4:hover .anchor .octicon-link, + .markdown-body h5:hover .anchor .octicon-link, + .markdown-body h6:hover .anchor .octicon-link { + display: inline-block; + } + + .markdown-body h1 { + padding-bottom: 0.3em; + font-size: 2.25em; + line-height: 1.2; + border-bottom: 1px solid #eee; + } + + .markdown-body h1 .anchor { + line-height: 1; + } + + .markdown-body h2 { + padding-bottom: 0.3em; + font-size: 1.75em; + line-height: 1.225; + border-bottom: 1px solid #eee; + } + + .markdown-body h2 .anchor { + line-height: 1; + } + + .markdown-body h3 { + font-size: 1.5em; + line-height: 1.43; + } + + .markdown-body h3 .anchor { + line-height: 1.2; + } + + .markdown-body h4 { + font-size: 1.25em; + } + + .markdown-body h4 .anchor { + line-height: 1.2; + } + + .markdown-body h5 { + font-size: 1em; + } + + .markdown-body h5 .anchor { + line-height: 1.1; + } + + .markdown-body h6 { + font-size: 1em; + color: #777; + } + + .markdown-body h6 .anchor { + line-height: 1.1; + } + + .markdown-body p, + .markdown-body blockquote, + .markdown-body ul, + .markdown-body ol, + .markdown-body dl, + .markdown-body table, + .markdown-body pre { + margin-top: 0; + margin-bottom: 16px; + } + + .markdown-body ul ul, + .markdown-body ul ol, + .markdown-body ol ol, + .markdown-body ol ul { + margin-top: 0; + margin-bottom: 0; + } + + .markdown-body li>p { + margin-top: 16px; + } + + .markdown-body dl { + padding: 0; + } + + .markdown-body dl dt { + padding: 0; + margin-top: 16px; + font-size: 1em; + font-style: italic; + font-weight: bold; + } + + .markdown-body dl dd { + padding: 0 16px; + margin-bottom: 16px; + } + + .markdown-body blockquote { + padding: 0 15px; + color: #777; + border-left: 4px solid #ddd; + } + + .markdown-body blockquote> :first-child { + margin-top: 0; + } + + .markdown-body blockquote> :last-child { + margin-bottom: 0; + } + + .markdown-body table { + display: block; + width: 100%; + overflow: auto; + word-break: normal; + word-break: keep-all; + } + + .markdown-body table th { + font-weight: bold; + text-align: revert; + } + + .markdown-body table th, + .markdown-body table td { + padding: 6px 13px; + border: 1px solid #ddd; + } + + .markdown-body table tr { + background-color: #fff; + border-top: 1px solid #ccc; + } + + .markdown-body table tr:nth-child(2n) { + background-color: #f8f8f8; + } + + .markdown-body img { + max-width: 100%; + -moz-box-sizing: border-box; + box-sizing: border-box; + } + + .markdown-body code { + padding: 0; + padding-top: 0.2em; + padding-bottom: 0.2em; + margin: 0; + font-size: 85%; + background-color: rgba(0, 0, 0, 0.04); + border-radius: 3px; + } + + .markdown-body code:has(.katex) { + background-color: transparent; + } + + .markdown-body code:before, + .markdown-body code:after { + letter-spacing: -0.2em; + content: "\\00a0"; + } + + .markdown-body pre>code { + padding: 0; + margin: 0; + font-size: 100%; + word-break: normal; + white-space: pre; + background: transparent; + border: 0; + } + + .markdown-body .highlight { + margin-bottom: 16px; + } + + .markdown-body .highlight pre, + .markdown-body pre { + padding: 16px; + overflow: auto; + font-size: 85%; + line-height: 1.45; + background-color: #f7f7f7; + border-radius: 3px; + } + + .markdown-body .highlight pre { + margin-bottom: 0; + word-break: normal; + } + + .markdown-body pre { + word-wrap: normal; + } + + .markdown-body pre code { + display: inline; + max-width: initial; + padding: 0; + margin: 0; + overflow: initial; + line-height: inherit; + word-wrap: normal; + background-color: transparent; + border: 0; + } + + .markdown-body pre code:before, + .markdown-body pre code:after { + content: normal; + } + + .markdown-body kbd { + display: inline-block; + padding: 3px 5px; + font-size: 11px; + line-height: 10px; + color: #555; + vertical-align: middle; + background-color: #fcfcfc; + border: solid 1px #ccc; + border-bottom-color: #bbb; + border-radius: 3px; + box-shadow: inset 0 -1px 0 #bbb; + } + + .markdown-body .pl-c { + color: #969896; + } + + .markdown-body .pl-c1, + .markdown-body .pl-mdh, + .markdown-body .pl-mm, + .markdown-body .pl-mp, + .markdown-body .pl-mr, + .markdown-body .pl-s1 .pl-v, + .markdown-body .pl-s3, + .markdown-body .pl-sc, + .markdown-body .pl-sv { + color: #0086b3; + } + + .markdown-body .pl-e, + .markdown-body .pl-en { + color: #795da3; + } + + .markdown-body .pl-s1 .pl-s2, + .markdown-body .pl-smi, + .markdown-body .pl-smp, + .markdown-body .pl-stj, + .markdown-body .pl-vo, + .markdown-body .pl-vpf { + color: #333; + } + + .markdown-body .pl-ent { + color: #63a35c; + } + + .markdown-body .pl-k, + .markdown-body .pl-s, + .markdown-body .pl-st { + color: #a71d5d; + } + + .markdown-body .pl-pds, + .markdown-body .pl-s1, + .markdown-body .pl-s1 .pl-pse .pl-s2, + .markdown-body .pl-sr, + .markdown-body .pl-sr .pl-cce, + .markdown-body .pl-sr .pl-sra, + .markdown-body .pl-sr .pl-sre, + .markdown-body .pl-src { + color: #df5000; + } + + .markdown-body .pl-mo, + .markdown-body .pl-v { + color: #1d3e81; + } + + .markdown-body .pl-id { + color: #b52a1d; + } + + .markdown-body .pl-ii { + background-color: #b52a1d; + color: #f8f8f8; + } + + .markdown-body .pl-sr .pl-cce { + color: #63a35c; + font-weight: bold; + } + + .markdown-body .pl-ml { + color: #693a17; + } + + .markdown-body .pl-mh, + .markdown-body .pl-mh .pl-en, + .markdown-body .pl-ms { + color: #1d3e81; + font-weight: bold; + } + + .markdown-body .pl-mq { + color: #008080; + } + + .markdown-body .pl-mi { + color: #333; + font-style: italic; + } + + .markdown-body .pl-mb { + color: #333; + font-weight: bold; + } + + .markdown-body .pl-md, + .markdown-body .pl-mdhf { + background-color: #ffecec; + color: #bd2c00; + } + + .markdown-body .pl-mdht, + .markdown-body .pl-mi1 { + background-color: #eaffea; + color: #55a532; + } + + .markdown-body .pl-mdr { + color: #795da3; + font-weight: bold; + } + + .markdown-body kbd { + display: inline-block; + padding: 3px 5px; + font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; + line-height: 10px; + color: #555; + vertical-align: middle; + background-color: #fcfcfc; + border: solid 1px #ccc; + border-bottom-color: #bbb; + border-radius: 3px; + box-shadow: inset 0 -1px 0 #bbb; + } + + .markdown-body .task-list-item { + list-style-type: none; + } + + .markdown-body .task-list-item+.task-list-item { + margin-top: 3px; + } + + .markdown-body .task-list-item input { + float: left; + margin: 0.3em 0 0.25em -1.6em; + vertical-align: middle; + } + + .markdown-body :checked+.radio-label { + z-index: 1; + position: relative; + border-color: #4183c4; + } + + + /*! Pretty printing styles. Used with prettify.js. */ + /* SPAN elements with the classes below are added by prettyprint. */ + .pln { + color: #000 + } + + /* plain text */ + + @media screen { + .str { + color: #080 + } + + /* string content */ + .kwd { + color: #008 + } + + /* a keyword */ + .com { + color: #800 + } + + /* a comment */ + .typ { + color: #606 + } + + /* a type name */ + .lit { + color: #066 + } + + /* a literal value */ + /* punctuation, lisp open bracket, lisp close bracket */ + .pun, + .opn, + .clo { + color: #660 + } + + .tag { + color: #008 + } + + /* a markup tag name */ + .atn { + color: #606 + } + + /* a markup attribute name */ + .atv { + color: #080 + } + + /* a markup attribute value */ + .dec, + .var { + color: #606 + } + + /* a declaration; a variable name */ + .fun { + color: red + } + + /* a function name */ + } + + /* Use higher contrast and text-weight for printable form. */ + @media print, + projection { + .str { + color: #060 + } + + .kwd { + color: #006; + font-weight: bold + } + + .com { + color: #600; + font-style: italic + } + + .typ { + color: #404; + font-weight: bold + } + + .lit { + color: #044 + } + + .pun, + .opn, + .clo { + color: #440 + } + + .tag { + color: #006; + font-weight: bold + } + + .atn { + color: #404 + } + + .atv { + color: #060 + } + } + + /* Put a border around prettyprinted code snippets. */ + pre.prettyprint { + padding: 2px; + /* border: 1px solid #888 */ + } + + /* Specify class=linenums on a pre to get line numbering */ + ol.linenums { + margin-top: 0; + margin-bottom: 0 + } + + /* IE indents via margin-left */ + li.L0, + li.L1, + li.L2, + li.L3, + li.L5, + li.L6, + li.L7, + li.L8 { + list-style-type: none + } + + /* Alternate shading for lines */ + li.L1, + li.L3, + li.L5, + li.L7, + li.L9 { + background: #eee + } + + .markdown-body p, + .markdown-body blockquote, + .markdown-body ul, + .markdown-body ol, + .markdown-body dl, + .markdown-body table, + .markdown-body pre { + margin-top: 0; + margin-bottom: 16px; + }`;return(0,b.useEffect)(()=>{const _e=xe.current.attachShadow({mode:"open"});se.current=document.createElement("div"),se.current.className="markdown-body",se.current.innerHTML=ke,_e.appendChild(se.current);const Ye=document.createElement("style");return Ye.textContent=It,_e.appendChild(Ye),()=>{_e.innerHTML=""}},[]),(0,b.useEffect)(()=>{se.current&&(se.current.innerHTML=ke)},[ke]),Rt.createElement("div",{ref:xe})};function Ue(ke){const xe=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],se=new RegExp(`\\b(${xe.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),It=/]*>/gi;return ke.replace(se,"").replace(It,"").trim()}var Re={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},ft=Object.defineProperty,kt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,Qe=Object.prototype.propertyIsEnumerable,Ae=(ke,xe,se)=>xe in ke?ft(ke,xe,{enumerable:!0,configurable:!0,writable:!0,value:se}):ke[xe]=se,tt=(ke,xe)=>{for(var se in xe||(xe={}))en.call(xe,se)&&Ae(ke,se,xe[se]);if(kt)for(var se of kt(xe))Qe.call(xe,se)&&Ae(ke,se,xe[se]);return ke};const nt="@\u2581\u2581@",zt="@\u2581@",Ot=/]*>/g;function ht(ke){let xe=document.createElement("div");return xe.innerHTML=ke,xe.childNodes.length===0?"":xe.childNodes[0].nodeValue}const Ct=(ke,xe)=>{ke=ke||"";const se=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,It=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,_e=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ye=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return xe?ke.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(se,(Ft,Ce,he,yt,Vt,Lt,me)=>{const qe=Ce||yt||Lt,it=he||Vt||me||"?";return pe.Z.API_SERVER+"/api/attachments/"+qe+it+"&t="+(0,be.Jn)(qe,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ke=ke.replace(Ye,(Ft,Ce,he,yt,Vt,Lt,me)=>{const qe=Ce||yt||Lt,it=he||Vt||me||"?";return pe.Z.API_SERVER+"/attachments/download/"+qe+it+"&t="+(0,be.Jn)(qe,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replace(se,(Ft,Ce,he,yt,Vt,Lt,me)=>{const qe=Ce||yt||Lt,it=he||Vt||me||"?";return pe.Z.API_SERVER+"/api/attachments/"+qe+it+"&t="+(0,be.Jn)(qe,Date.now())+(Ft.indexOf(")")>-1?")":"&")}).replace(It,(Ft,Ce,he,yt,Vt)=>{const Lt=Ce||yt,me=he||Vt||"";return'"'+pe.Z.API_SERVER+"/api/attachments/"+Lt+me+Lt+me+"&t="+(0,be.Jn)(Lt,Date.now())}).replace(_e,(Ft,Ce,he,yt,Vt)=>{const Lt=Ce||yt,me=he||Vt||"";return"("+pe.Z.API_SERVER+"/files/uploads/"+Lt+me+Lt+me+"&t="+(0,be.Jn)(Lt,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),ke)};var De=({value:ke="",edit:xe=!1,className:se,showTextOnly:It,showLines:_e,style:Ye={},stylesPrev:Ft={},highlightKeywords:Ce,showProgramFill:he,isProgramFill:yt,disabledFill:Vt=!1,programFillValue:Lt,openEditor:me=()=>{},onFillChange:qe=Xe=>{},onFillBlur:it=()=>{},onFillFocus:Xt=()=>{}})=>{let Xe=Ue(String(ke||""));const Gt=(0,b.useRef)(),Fe=(0,b.useRef)(),[dn,$t]=(0,b.useState)(""),[ae,ne]=(0,b.useState)("office"),[te,ie]=(0,b.useState)([]),de=(0,b.useRef)("a"+(0,$e.Z)()),re={},le=jt=>//i.test(jt||""),Se=(jt,Cn,on)=>{const Je=document.createElement(jt===zt?"input":"textarea");Je.style.width="100%",Je.style.height=jt===zt?"40px":"151px",Je.rows=5,Je.spellcheck=!1,Je.name="edu-program-fill",Je.placeholder="\u8BF7\u8F93\u5165",Je.dataset.id=Cn;const Tt=Object.keys(re).length;return re[Tt]=Je,`${Je.outerHTML}`};function Ge(jt){return jt=jt.replace(/!\[.*?\]\(.*?\)/g,""),jt=jt.replace(/\[.*?\]\(.*?\)/g,""),jt=jt.replace(new RegExp("","gs"),""),jt=jt.replace(//g,""),jt=jt.replace(//g,""),jt=jt.replace(new RegExp(".*?<\\/video>","gs"),""),jt=jt.replace(new RegExp(".*?<\\/audio>","gs"),""),jt=jt.replace(new RegExp(".*?<\\/style>","gs"),""),jt=jt.replace(new RegExp(".*?<\\/script>","gs"),""),jt}const He=jt=>!It&&le(Xe)?jt:jt.replace(/([\s\S]+?)<\/style>/gim,function(Cn,on){let Je=on.replace(/(\n|\r)/g,"").split("}"),Tt=[];return Je.map(an=>{an!=""&&Tt.push(`.${de.current} ${an}`)}),``}),Le=(0,b.useMemo)(()=>{(0,ce.Iy)();try{const Je=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Tt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,an=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,_t=/\(\/attachments\/download\//g;Xe=Xe.replace(_t,"("+pe.Z.API_SERVER+"/attachments/download/").replace(Je,"("+pe.Z.API_SERVER+"/api/attachments/").replace(Tt,'"'+pe.Z.API_SERVER+"/api/attachments/").replace(an,'"'+pe.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),Gt.current.style.display="none"}catch(Je){}if(he){let Je=-1;return Xe=Xe.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Tt,an,_t){var je;return++Je,Se(Tt,Je,(je=Lt==null?void 0:Lt[Je])==null?void 0:je.value.replaceAll("<","<").replaceAll(">",">"))}),`

${He(Xe||"")}
`}let jt=He(Xe);jt=(0,ce.ZP)(jt);const Cn=(0,ce.ez)();Xe.match(/\[TOC\]/)&&(jt=jt.replace("

[TOC]

",(0,ce.Qv)()),(0,ce.Iy)()),jt=jt.replace(/(__special_katext_id_\d+__)/g,(Je,Tt)=>{const{type:an,expression:_t}=Cn[Tt];return(0,Ve.renderToString)(ht(_t)||"",{displayMode:an==="block",throwOnError:!1,output:"html"})}),jt=jt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,ce.AL)();const on=document.createElement("div");if(on.innerHTML=jt,It)return on.innerText;if(Ce){const Je=Ce.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ne(on,Je),on.innerHTML}return setTimeout(()=>Zt(),500),on.innerHTML},[Xe,Ce]);(0,b.useEffect)(()=>{Be.current&&Be.current.querySelectorAll(["input","textarea"]).forEach(Cn=>{Cn.oninput=rt,Cn.onblur=ut,Cn.onfocus=At})},[te]),(0,b.useEffect)(()=>{var jt,Cn,on,Je,Tt;if(Lt!=null&&Lt.length)try{const an=Be.current.querySelectorAll(".edu-program-fill-score"),_t=Be.current.querySelectorAll('[name="edu-program-fill"]');for(const[je,Pt]of _t.entries())Pt.value=((jt=Lt==null?void 0:Lt[je])==null?void 0:jt.value)||"",((Cn=Lt==null?void 0:Lt[je])==null?void 0:Cn.type)==="warning"?Pt.className="program-fill-warning":((on=Lt==null?void 0:Lt[je])==null?void 0:on.type)==="success"?Pt.className="program-fill-success":Pt.className="";for(const[je,Pt]of an.entries())Pt.innerHTML=(Je=Lt==null?void 0:Lt[je])!=null&&Je.score?`${(Tt=Lt==null?void 0:Lt[je])==null?void 0:Tt.score}\u5206`:"";ie(Lt)}catch(an){console.log(an,"error")}},[Lt]);const rt=jt=>{te[jt.target.dataset.id]=te[jt.target.dataset.id]||{},te[jt.target.dataset.id].value=jt.target.value,ie([...te]),qe(te,jt.target.dataset.id)},ut=jt=>{te[jt.target.dataset.id]=te[jt.target.dataset.id]||{},te[jt.target.dataset.id].value=jt.target.value,ie([...te]),it(te,jt.target.dataset.id)},At=jt=>{te[jt.target.dataset.id]=te[jt.target.dataset.id]||{},te[jt.target.dataset.id].value=jt.target.value,ie([...te]),Xt(te,jt.target.dataset.id)};function Ne(jt,Cn){return jt.childNodes.forEach(on=>{var Je;if(on.childNodes.length>0)Ne(on,Cn);else if(on.nodeName!=="IMG")if(on.innerHTML)on.innerHTML=(Je=on.innerHTML)==null?void 0:Je.replace(new RegExp(Cn,"gi"),'$&');else{const Tt=document.createElement("span");Tt.innerHTML=on.textContent.replace(new RegExp(Cn,"gi"),'$&'),on.replaceWith(Tt)}})}const Be=(0,b.useRef)();ce.jb.WebkitLineClamp=_e,_e&&(Ye=tt(tt({},Ye),ce.jb));function Ut(jt){let Cn=jt.target;if(Cn.tagName.toUpperCase()==="A"){let on=Cn.getAttribute("href");if(on.indexOf("office")>-1)jt.preventDefault(),$t(on),ne("office");else if(on.indexOf("application/pdf")>-1)jt.preventDefault(),$t(on),ne("pdf");else if(on.indexOf("text/html")>-1)jt.preventDefault(),$t(on),ne("html");else if(on.startsWith("#")){jt.preventDefault();let Je=document.getElementById(on.replace("#",""));Je&&Je.scrollIntoView(!0)}}}const Zt=()=>{var jt;const Cn=(jt=Be.current)==null?void 0:jt.querySelectorAll("video");Cn==null||Cn.forEach(on=>{if(on.oncontextmenu=()=>!1,on.src.indexOf(".m3u8")>-1&&!on.canPlayType("application/vnd.apple.mpegurl")){if(Pe.ZP.isSupported()){var Je=new Pe.ZP;Je.loadSource(on.src),Je.attachMedia(on)}}})};(0,b.useEffect)(()=>{if(Be.current&&Le&&Le.match(Ot)&&window.PR.prettyPrint(),Be.current)return Be.current.addEventListener("click",Ut),()=>{var jt;(jt=Be.current)==null||jt.removeEventListener("click",Ut),(0,ce.AL)(),(0,ce.Iy)()}},[Le,Be.current,Ut]);const mn=jt=>{jt.target.nodeName==="IMG"&&jt.target.className.indexOf("draw-flowchart")>-1?(Gt.current.style.zIndex=1,Gt.current.style.display="flex",Gt.current.style.width=jt.target.clientWidth+"px",Gt.current.style.height=jt.target.clientHeight+"px",Gt.current.style.top=jt.target.offsetTop+"px",Gt.current.style.left=jt.target.offsetLeft+"px",jt.target.id&&(Fe.current=jt.target.id)):Gt.current.style.display="none"},vn=()=>{Gt.current.style.display="none"};return(0,b.useEffect)(()=>{var jt;const Cn=on=>{on.preventDefault(),on.clipboardData.setData("text",window.getSelection().toString())};return(jt=Be.current)==null||jt.addEventListener("copy",Cn),()=>{var on;(on=Be.current)==null||on.removeEventListener("copy",Cn)}},[Be.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:vn},It&&b.createElement("div",{ref:Be,className:`${Re.mdBody} `},Le),!It&&!le(Le)&&b.createElement("div",{ref:Be,style:tt({},Ye),onMouseOver:mn,className:`${se||""} ${Vt?"disabled-fill":""} markdown-body ${Re.mdBody} ${de.current}`,dangerouslySetInnerHTML:{__html:Le}}),!It&&le(Le)&&b.createElement(st,{html:Le}),b.createElement("div",{ref:Gt,className:`${Re.button} ${xe?"":Re.previewFlowChart}`},b.createElement(Ie.Z,null,b.createElement(ue.ZP,{onClick:()=>{xe?me(Fe.current):($t(Fe.current),ne("flowChart"))}},xe?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Ee.Z,{close:!0,data:dn,type:dn!=null&&dn.length?ae:"",style:tt({},Ft),onClose:()=>$t("")}))}},28267:function(Bn,rn,ee){"use strict";ee.d(rn,{h:function(){return Qe}});var b=ee(59301),Me=ee(82326),ce=ee(28284),et=ee(7939),Pe=ee(89780),pe=ee.n(Pe),be=ee(88319),Ve=ee(94896),Ie=Object.defineProperty,ue=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,st=(Ae,tt,nt)=>tt in Ae?Ie(Ae,tt,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ae[tt]=nt,Ue=(Ae,tt)=>{for(var nt in tt||(tt={}))Rt.call(tt,nt)&&st(Ae,nt,tt[nt]);if(Ee)for(var nt of Ee(tt))ot.call(tt,nt)&&st(Ae,nt,tt[nt]);return Ae},Re=(Ae,tt)=>ue(Ae,$e(tt));const ft=Me.default.Option,kt={labelCol:{span:4},wrapperCol:{span:20}},en={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};rn.Z=({callback:Ae,onCancel:tt})=>{const[nt,zt]=(0,b.useState)("python");function Ot(Ct){zt(en[Ct][1])}function ht(Ct){Ae(Ct)}return b.createElement(ce.default,Re(Ue({},kt),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ht,style:{width:500}}),b.createElement(ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(Me.default,{getPopupContainer:Ct=>Ct.parentNode,onChange:Ot},Object.keys(en).map(Ct=>b.createElement(ft,{key:Ct,value:Ct},en[Ct][0])))),b.createElement(ce.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(Qe,{mode:nt})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(et.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(et.ZP,{type:"ghost",onClick:tt},"\u53D6\u6D88")))};function Qe({value:Ae,onChange:tt,mode:nt,options:zt={}}){const Ot=(0,b.useRef)(),[ht,Ct]=(0,b.useState)();return(0,b.useEffect)(()=>{if(ht){let De=function(ke){const xe=ke.getValue();tt&&tt(xe)};return ht.on("change",De),()=>{ht.off("change",De)}}},[ht,tt]),(0,b.useEffect)(()=>{ht&&ht.setOption("mode",nt)},[ht,nt]),(0,b.useEffect)(()=>{ht&&(Ae!==ht.getValue()||Ae==="")&&setTimeout(()=>{ht.setValue(Ae||"")},300)},[ht,Ae]),(0,b.useEffect)(()=>{if(Ot.current&&!ht){const De=pe().fromTextArea(Ot.current,Ue({mode:nt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},zt));Ct(De)}},[Ot.current,ht]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:Ot}))}},39116:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return St}});var b=ee(59301),Me=ee(44283),ce=ee(89780),et=ee.n(ce),Pe=ee(76374),pe=ee(88319),be=ee(6313),Ve=ee(25717),Ie=ee(99498),ue=ee(25419),$e=ee(67549),Ee=ee(35883),Rt=({value:Et="",className:sn,showTextOnly:Pn,showLines:Tn,style:Jt={}})=>{const wn=(0,b.useMemo)(()=>"",[Et]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:wn}}))},ot=Object.defineProperty,st=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,en=(Et,sn,Pn)=>sn in Et?ot(Et,sn,{enumerable:!0,configurable:!0,writable:!0,value:Pn}):Et[sn]=Pn,Qe=(Et,sn)=>{for(var Pn in sn||(sn={}))ft.call(sn,Pn)&&en(Et,Pn,sn[Pn]);if(Re)for(var Pn of Re(sn))kt.call(sn,Pn)&&en(Et,Pn,sn[Pn]);return Et},Ae=(Et,sn)=>st(Et,Ue(sn));let tt=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function nt({onActionCallback:Et,title:sn,icon:Pn,actionName:Tn,className:Jt="",children:wn}){function gn(){Et(Tn)}return b.createElement("a",{title:sn,className:Jt,onClick:gn},b.createElement("i",{className:`${Pn}`}),wn)}var zt=({watch:Et,showNullButton:sn,showNullProgramButton:Pn,onActionCallback:Tn,fullScreen:Jt,insertTemp:wn,hidetoolBar:gn,extraUse:Nn})=>{const An=[...tt,{title:`${Et?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Et?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!gn&&An.map((rr,Qt)=>b.createElement("li",{key:Qt},rr.actionName?b.createElement(nt,Ae(Qe({},rr),{onActionCallback:Tn})):b.createElement("span",{className:"v-line"}))),sn?b.createElement("li",null,b.createElement(nt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Tn},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,Pn?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Tn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Tn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,wn&&b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${wn}`,onActionCallback:Tn},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Nn&&b.createElement("li",null,Nn),b.createElement("li",{className:"btn-full-screen"},b.createElement(nt,{icon:`${Jt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Jt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Tn})))},Ot=ee(88487),ht=ee(28284),Ct=ee(37568),De=ee(7939),ke=Object.defineProperty,xe=Object.defineProperties,se=Object.getOwnPropertyDescriptors,It=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Ft=(Et,sn,Pn)=>sn in Et?ke(Et,sn,{enumerable:!0,configurable:!0,writable:!0,value:Pn}):Et[sn]=Pn,Ce=(Et,sn)=>{for(var Pn in sn||(sn={}))_e.call(sn,Pn)&&Ft(Et,Pn,sn[Pn]);if(It)for(var Pn of It(sn))Ye.call(sn,Pn)&&Ft(Et,Pn,sn[Pn]);return Et},he=(Et,sn)=>xe(Et,se(sn));const yt={labelCol:{span:4},wrapperCol:{span:20}};var Vt=({callback:Et,onCancel:sn})=>{function Pn(Tn){Et(Tn)}return b.createElement(ht.default,he(Ce({},yt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Pn,style:{width:500}}),b.createElement(ht.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(Ct.default,null)),b.createElement(ht.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(Ct.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(De.ZP,{type:"ghost",onClick:sn},"\u53D6\u6D88")))},Lt=ee(28267),me=ee(53332),qe=ee(62957),it=ee(77019),Xt=ee(40254),Xe=ee(59301),Gt=({callback:Et,onCancel:sn})=>{const Pn=document.createElement("canvas"),Tn=Pn.getContext("2d");Pn.width=1e3,Pn.height=800,Tn.fillStyle="#ffffff",Tn.fillRect(0,0,Pn.width,Pn.height);const Jt=Pn.toDataURL("image/png");return Xe.createElement(qe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Xe.createElement(it.Z,{style:{height:"100vh"}},Xe.createElement(Xt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Jt,visible:!0,title:String(Date.now())},onOk:wn=>{Et({src:wn.url})},onClose:sn})))},Fe=ee(36207),dn=ee(5269),$t=ee(6767),ae={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ne=ee(59301),ie=(0,b.forwardRef)(({onCancel:Et,editImgId:sn,callback:Pn},Tn)=>{let Jt=(0,b.useRef)(),wn=(0,b.useRef)(),gn=(0,b.useRef)(),Nn=(0,b.useRef)(!1);const An=(0,b.useRef)(!1);console.log("ref:",Tn);const[rr,Qt]=(0,b.useState)(0),[Yt,xn]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Qt(1)},[]),(0,b.useImperativeHandle)(Tn,()=>({setHeight:xn})),ne.createElement("div",{ref:An,className:"body-overflow-initial"},ne.createElement(Fe.Z,{width:"100vw",height:Yt,footer:null,closable:!0,placement:"bottom",open:!!rr,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ae.drawerWrap}`,onClose:()=>{window.saveDrawData(Vn=>{Pn({src:`/api/attachments/${Vn}`,id:Vn})})},title:ne.createElement(it.Z,{align:"middle"},ne.createElement(dn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ne.createElement(dn.Z,{onClick:()=>{xn(Yt==="60px"?"100vh":"60px")}},ne.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ne.createElement(dn.Z,{onClick:()=>{window.saveDrawData(Vn=>{if(Vn===null){$t.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}$t.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),Pn({src:`/api/attachments/${Vn}`,id:Vn,disabledClose:!0})})}},ne.createElement(De.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ne.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${sn||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:wn})))}),de=ee(14185),re=ee(47889),le=ee(4875);const Se=re.ZP.Group,Ge={margin:"0 8px"};var He=({callback:Et,onCancel:sn})=>{function Pn(Tn){Et(Tn)}return b.createElement(ht.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Pn},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:Ge},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:Ge},"\u884C\u6570"),b.createElement(ht.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(le.Z,null)),b.createElement("span",{style:Ge},"\u5217\u6570"),b.createElement(ht.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(le.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:Ge},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(ht.default.Item,{name:"align"},b.createElement(Se,null,b.createElement(re.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(re.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(re.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(re.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(De.ZP,{type:"ghost",onClick:sn},"\u53D6\u6D88")))},Le=ee(58755),rt=ee(84915),ut=ee.n(rt),Ne=(0,b.forwardRef)(({use3d:Et,width:sn,height:Pn,callback:Tn,showSaveButton:Jt},wn)=>{const gn=(0,b.useRef)(),Nn=(0,b.useRef)(),[An,rr]=(0,b.useState)(!1),Qt=(0,b.useRef)({id:gn,appName:"graphing",width:sn||1e3,height:Pn||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Nn.current=new(ut())(Qt.current,!0),window.onload=function(){Nn.current.inject("applet_container")}},[]);const Yt=()=>{var xn=window.ggbApplet.getPNGBase64(1,!0,72);return Tn&&Tn(xn),xn};return(0,b.useEffect)(()=>{Qt.current.appName=An?"3D":"graphing",Nn.current.inject("applet_container")},[An]),(0,b.useEffect)(()=>{rr(Et)},[Et]),(0,b.useImperativeHandle)(wn,()=>({getImgData:Yt})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:gn}),b.createElement(it.Z,{align:"middle"},b.createElement(dn.Z,{flex:1},b.createElement(Le.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:An,onChange:xn=>rr(xn)})),b.createElement(dn.Z,null,b.createElement(De.ZP,{size:"large",onClick:Yt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Be=ee(9057);const Ut="link",Zt="upload-image",mn="add-flowchart",vn="draw-image",jt="add-flowchart",Cn="code-block",on="add-table",Je="------------",Tt={default:Je,left:`:${Je}`,center:`:${Je}:`,right:`${Je}:`};var an=ee(79006),_t=ee(76406);function je(){}let Pt=0;const Kt=1e4,nn="\u2581",On="@\u2581\u2581@",_n="@\u2581@",nr=` +**\u6A21\u677F\u6807\u9898** +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,ir=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function Zn(Et){return/^\d+$/.test(Et)?`${Et}px`:Et}const kn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",cn={[kn+"-B"]:"bold",[kn+"-I"]:"italic"},bn={[Ut]:"\u6DFB\u52A0\u94FE\u63A5",[Cn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Zt]:"\u6DFB\u52A0\u56FE\u7247",[vn]:"\u6DFB\u52A0\u753B\u56FE",[mn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[on]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var St=({defaultValue:Et="",onChange:sn,width:Pn="100%",height:Tn=400,miniToolbar:Jt=!1,isFocus:wn=!1,watch:gn,insertTemp:Nn,mode:An="markdown",id:rr="markdown-editor-id",showResizeBar:Qt=!1,noStorage:Yt=!1,showNullButton:xn=!1,showNullProgramButton:Vn=!1,hidetoolBar:jn=!1,fullScreen:vt=!1,onBlur:Dt,onCMBeforeChange:Te,onFullScreen:gt,className:Ke="",disablePaste:wt=!1,disabled:Ht=!1,disabledFill:Hn=!1,placeholder:Jn="",values:lt="",extraUse:mt,onAddBlank:pt})=>{const[xt,fn]=(0,b.useState)(null),[In,pn]=(0,b.useState)(Et),[Sn,$n]=(0,b.useState)(gn),[qn,ur]=(0,b.useState)(vt),[tr,Xn]=(0,b.useState)(""),[or,dr]=(0,b.useState)(0),[br,vr]=(0,b.useState)(Tn),[Tr,Br]=(0,b.useState)(!1),[cr,Er]=(0,b.useState)(0),[Wr,Rr]=(0,b.useState)(0),Sr=(0,b.useRef)(),Fr=(0,b.useRef)(),$r=(0,b.useRef)(),wr=(0,b.useRef)(),gr=(0,b.useRef)(),yr=(0,b.useRef)(),Xr=(0,Me.useDispatch)();(0,b.useEffect)(()=>{const hn=window.scrollY||window.pageYOffset;pn(lt),xt==null||xt.setValue(lt),window.scrollTo(0,hn)},[lt]),(0,b.useEffect)(()=>{gt==null||gt(qn)},[qn]),(0,b.useEffect)(()=>{if(Sr.current){let hn=function(Gn,lr){var sr;if(wt){lr.preventDefault();return}const pr=lr.clipboardData;if(pr){const mr=pr.types.toString(),kr=pr.items;if(mr==="Files"||pr.types.indexOf("Files")>-1){if(lr.preventDefault(),An=="stex")return;try{let xr=kr[1];((sr=kr[0])==null?void 0:sr.kind)==="file"&&(xr=kr[0]);const Gr=xr.getAsFile(),Or=Gr.name.split(".").pop();(0,me.I)(Gr,Dr=>{var Ar,_r,fo;Dr.id?((Ar=Gr==null?void 0:Gr.type)==null?void 0:Ar.indexOf("image"))>-1?Ln.replaceSelection(``):((_r=Gr==null?void 0:Gr.type)==null?void 0:_r.indexOf("video"))>-1?Ln.replaceSelection(``):((fo=Gr==null?void 0:Gr.type)==null?void 0:fo.indexOf("pdf"))>-1?Ln.replaceSelection(`${Gr.name}`):ir.includes(Or)?Ln.replaceSelection(`${Gr.name}`):Ln.replaceSelection(`[${Gr.name}](/api/attachments/${Dr.id}?type=${Dr.content_type})`):(Dr==null?void 0:Dr.status)===401&&(document.location.href="/user/login")})}catch(xr){$t.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ln=et().fromTextArea(Sr.current,{mode:An,lineNumbers:!Jt,lineWrapping:!0,value:Et,autoCloseTags:!0,autoCloseBrackets:!0});return Ln.on("keyup",function(Gn,lr){lr.keyCode===8&&(Gn.getValue()==""?Ln.setOption("placeholder",Jn):Ln.setOption("placeholder",null))}),Ln.on("keydown",function(Gn,lr){if(lr.keyCode===8){var sr=So(Gn);sr&&lr.preventDefault()}}),wn&&Ln.focus(),Ln.on("paste",hn),Ht&&Ln.on("beforeChange",function(Gn,lr){(lr.origin==="paste"||lr.origin==="+input")&&lr.cancel()}),fn(Ln),()=>{Ln.off("paste",hn)}}},[]);const go=(0,b.useCallback)(()=>{if(Fr.current)try{}catch(hn){console.log(hn,"---- to set md editor body height")}},[br,Fr,qn]);(0,b.useEffect)(()=>{function hn(){let Ln=new Pe.Z(Gn=>{for(let lr of Gn)(lr.target.offsetHeight>0||lr.target.offsetWidth>0)&&(go(),xt.setSize("100%","100%"),xt.refresh())});return Ln.observe(Sr.current.parentElement),Ln}if(xt){const Ln=hn();return()=>{var Gn,lr;(Gn=Sr.current)!=null&&Gn.parentElement&&Ln.unobserve((lr=Sr.current)==null?void 0:lr.parentElement)}}},[xt,go]),(0,b.useEffect)(()=>{if(xt){let hn=[];for(const[Ln,Gn]of Object.entries(cn)){let lr={[Ln]:()=>{to(Gn)}};hn.push(lr),xt.addKeyMap(lr)}return()=>{for(let Ln of hn)xt.removeKeyMap(Ln)}}},[xt]),(0,b.useEffect)(()=>{vt!==qn&&ur(vt)},[vt]),(0,an.Z)(()=>{if(!Yt&&or>0){let hn=new Date().getTime(),Ln=window.sessionStorage.getItem(rr);hn>=or+Kt&&(!Ln||Ln!==In)&&(window.sessionStorage.setItem(rr,In),Br(!0))}},Kt),(0,b.useEffect)(()=>{$n(gn)},[xt,gn]),(0,b.useEffect)(()=>{xt&&wn&&xt.focus()},[xt,wn]),(0,b.useEffect)(()=>{if(Sn&&xt){let hn=function(Gn){let lr=Gn.target;if(wr.current){let sr=lr.scrollTop/lr.scrollHeight;wr.current.scrollTop=wr.current.scrollHeight*sr}};const Ln=xt.getScrollerElement();return Ln.addEventListener("scroll",hn),()=>{Ln.removeEventListener("scroll",hn)}}},[xt,Sn]),(0,b.useEffect)(()=>{if(xt&&Te){let hn=function(Ln,Gn){Te(Ln,Gn)};return xt.on("beforeChange",hn),()=>{xt.off("beforeChange",hn)}}},[xt,Te]),(0,b.useEffect)(()=>{if(xt&&Dt){let hn=function(){Dt(xt.getValue())};return xt.on("blur",hn),()=>{xt.off("blur",hn)}}},[xt,Dt]);function So(hn,Ln){var Gn=hn.getDoc(),lr=Gn.getCursor(),sr=Gn.getLine(lr.line),pr=sr.charAt(lr.ch-1),mr=sr.lastIndexOf("@\u2581@",lr.ch),kr=sr.lastIndexOf("@\u2581\u2581@",lr.ch),xr=mr>kr?mr:kr,Gr=mr>kr?3:4;if(On.indexOf(pr)===-1)return null;if(console.log("change1:",Ln,hn,sr,lr,xr,mr,kr,pr),xr>=0&&lr.ch-xr<5){var Or=xr+Gr;return Gn.replaceRange("",{line:lr.line,ch:xr},{line:lr.line,ch:Or}),{line:lr.line,ch:Or}}return null}(0,b.useEffect)(()=>{if(xt){let hn=function(Ln,Gn){const lr=Ln.getValue();pn(lr),dr(new Date().getTime()),Ln.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),sn&&(Vn?sn(lr,Mt(lr)):sn(lr))};return xt.on("change",hn),()=>{xt.off("change",hn)}}},[xt,sn]),(0,b.useEffect)(()=>{if(xt)if(Et==null)xt.setValue(""),pn("");else{const hn=window.scrollY||window.pageYOffset;Et!==xt.getValue()&&(xt.setValue(Et),pn(Et),xt.setCursor(Ht?1:xt.lineCount(),0),window.scrollTo(0,hn))}},[xt,Et]);const to=(0,b.useCallback)(hn=>{const Ln=xt.getCursor(),Gn=xt.getSelection();let lr=Gn.split(` +`);switch(hn){case"bold":return xt.replaceSelection("**"+Gn+"**"),Gn===""&&xt.setCursor(Ln.line,Ln.ch+2),xt.focus();case"italic":return xt.replaceSelection("*"+Gn+"*"),Gn===""&&xt.setCursor(Ln.line,Ln.ch+1),xt.focus();case"code":return xt.replaceSelection("`"+Gn+"`"),Gn===""&&xt.setCursor(Ln.line,Ln.ch+1),xt.focus();case"inline-latex":return(0,_t.Ye)(Xr)?void 0:(Xn("inline-latex"),xt.focus());case"latex":return xt.replaceSelection("```latex\n"+Gn+"\n```"),xt.setCursor(Ln.line+1,Gn.length+1),xt.focus();case"line-break":return xt.replaceSelection(`
+`),xt.focus();case"list-ul":return Gn===""?xt.replaceSelection("- "+Gn):xt.replaceSelection(lr.map(sr=>sr===""?"":`- ${sr}`).join(` +`)),xt.focus();case"list-ol":return Gn===""?xt.replaceSelection("1. "+Gn):xt.replaceSelection(lr.map((sr,pr)=>sr===""?"":`${pr+1}. ${sr}`).join(` +`)),xt.focus();case"add-null-ch":pt==null||pt();return;case"add-signal":return Gn===""&&xt.setCursor(Ln.line,Ln.ch),xt.replaceSelection(_n),xt.focus();case"add-multiple":return Gn===""&&xt.setCursor(Ln.line,Ln.ch),xt.replaceSelection(On),xt.focus();case"inster-template-1":return Gn===""&&xt.setCursor(Ln.line,Ln.ch),xt.replaceSelection(nr),xt.focus();case"eraser":return xt.setValue(""),xt.focus();case"trigger-watch":return $n(!Sn),xt.focus();case"trigger-full-screen":return ur(!qn),xt.focus();case Ut:Xn(Ut);return;case Cn:Xn(Cn);return;case Zt:Xn(Zt);return;case vn:Xn(vn);return;case"maths-latex":if((0,_t.Ye)(Xr))return;Xn("maths-latex");return;case mn:gr.current="",sessionStorage.removeItem("file_id"),Xn(mn);return;case on:Xn(on);return;default:throw new Error}},[xt,Sn,qn]),io=(0,b.useCallback)((hn,Ln)=>{var Gn,lr,sr,pr,mr,kr;hn!=null&&hn.disabledClose||Xn("");const{src:xr,alt:Gr,id:Or}=hn||{};switch(tr){case Ut:const{title:ko,link:Io}=hn;return xt.replaceSelection(`[${ko}](${Io})`),xt.focus();case Cn:const{language:Vo,content:Qr}=hn;return xt.replaceSelection(["```"+Vo,Qr,"```"].join(` +`)),xt.focus();case"maths-latex":for(var Dr=atob(hn),Ar=new Uint8Array(Dr.length),_r=0;_r{Ai.id?xt.replaceSelection(`![,](/api/attachments/${Ai.id}?type=${Ai.content_type})`):(Ai==null?void 0:Ai.status)===401&&(document.location.href="/user/login")}),xt.focus();case"inline-latex":return(0,_t.Ye)(Xr)?void 0:(xt.replaceSelection("`$$"+hn+"$$`"),xt.focus());case jt:return Or?(xt.getValue().indexOf(xr)===-1?xt.replaceSelection(`
${Gr||
`):document.getElementById(Or).src=de.Z.API_SERVER+xr+"?t="+Date.now(),xt.focus()):void 0;case Zt:case vn:const Vr=Ln,_o=(sr=(lr=(Gn=Vr==null?void 0:Vr.name)==null?void 0:Gn.split("."))==null?void 0:lr.pop)==null?void 0:sr.call(lr);return((pr=Vr==null?void 0:Vr.type)==null?void 0:pr.indexOf("image"))>-1||!(Vr!=null&&Vr.type)?Vr!=null&&Vr.align||Vr!=null&&Vr.width?xt.replaceSelection(`

${Gr||

`):xt.replaceSelection(`${Gr||`):((mr=Vr==null?void 0:Vr.type)==null?void 0:mr.indexOf("video"))>-1?xt.replaceSelection(``):((kr=Vr==null?void 0:Vr.type)==null?void 0:kr.indexOf("pdf"))>-1?xt.replaceSelection(`${Vr.name}`):ir.includes(_o)?xt.replaceSelection(`${Vr.name}`):xt.replaceSelection(`[${Vr.name}](${xr})`),xt.focus();case on:const{row:Uo,col:ni,align:Zi}=hn;let Si=` +`;for(let Ai=0;Ai{switch(tr){case Ut:return b.createElement(Vt,{callback:io,onCancel:We});case Cn:return b.createElement(Lt.Z,{callback:io,onCancel:We});case Zt:return b.createElement(me.Z,{callback:io,onCancel:We});case mn:return b.createElement(ie,{editImgId:gr.current,callback:io,onCancel:We});case on:return b.createElement(He,{callback:io,onCancel:We});case"maths-latex":return b.createElement(Ne,{showSaveButton:!0,callback:io});case"inline-latex":return b.createElement(Be.Z,{showSaveButton:!0,callback:io});default:return null}},[tr]);function We(){Xn("")}(0,b.useEffect)(()=>{if($r.current){let hn=function(mr){sr=!0,pr=mr.pageY},Ln=function(){sr=!1},Gn=function(mr){if(sr){let kr=mr.pageY-pr;kr<0&&(kr=0),kr>300&&(kr=300);let xr=Tn+kr+"px";vr(xr)}},lr=$r.current,sr=!1,pr=0;return lr.addEventListener("mousedown",hn),document.addEventListener("mousemove",Gn),document.addEventListener("mouseup",Ln),()=>{lr.removeEventListener("mousedown",hn),document.removeEventListener("mousemove",Gn),document.removeEventListener("mouseup",Ln)}}},[xt,$r]),(0,b.useEffect)(()=>{vr(Tn)},[Tn]);const bt=Zn(Pn),Ze=Zn(br),dt={width:bt,height:Ze},at=(0,b.useMemo)(()=>{if(or){let hn=new Date(or),Ln=hn.getHours(),Gn=hn.getMinutes(),lr=hn.getSeconds();return Ln=Ln<10?"0"+Ln:Ln,Gn=Gn<10?"0"+Gn:Gn,lr=lr<10?"0"+lr:lr,`${Ln}:${Gn}:${lr}`}return 0},[or]),Mt=hn=>{const Ln=[];if(Vn){let Gn=-1;hn=hn.replace(/(@▁▁@|@▁@)/g,function(lr,sr,pr){Ln.push({multiLine:lr!==_n})})}return Ln};function Bt(){window.sessionStorage.removeItem(rr),Br(!1),dr(0)}function Wt(){Br(!1),dr(0),xt.setValue(window.sessionStorage.getItem(rr))}(0,b.useEffect)(()=>{bn[tr]&&tr!==vn&&tr!==mn&&setTimeout(()=>{const hn=document.getElementsByClassName("markdown-popup-form")[0],Ln=window.innerWidth/2-hn.offsetWidth/2,Gn=window.innerHeight/2-hn.offsetHeight/2;Er(Ln),Rr(Gn)},0)},[tr]);const En=hn=>{hn.preventDefault();const Ln=hn.clientX-cr,Gn=hn.clientY-Wr;document.body.onmousemove=lr=>{let sr=lr.clientX-Ln,pr=lr.clientY-Gn;const mr=document.getElementsByClassName("markdown-popup-form")[0],kr=window.innerWidth-mr.offsetWidth,xr=window.innerHeight-mr.offsetHeight;sr=Math.max(0,Math.min(sr,kr)),pr=Math.max(0,Math.min(pr,xr)),Rn(lr.clientX,lr.clientY,Ln,Gn)&&(Er(sr),Rr(pr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Rn=(hn,Ln,Gn,lr)=>{const sr=document.body.clientHeight,pr=document.body.clientWidth;return hn<20&&Gn>hn||hn>pr-20&&GnLn||Ln>sr-20&&lr{var Ln;gr.current=hn,(Ln=yr.current)==null||Ln.setHeight("100vh"),setTimeout(()=>{Xn("add-flowchart")},150)}})):null))),Qt?b.createElement("a",{ref:$r,className:"editor-resize"}):null,tr===vn&&b.createElement(Gt,{callback:io,onCancel:We}),tr===mn&&b.createElement(ie,{ref:yr,editImgId:gr.current,callback:io,onCancel:We}),b.createElement(Ot.Z,null,bn[tr]&&tr!==vn&&tr!==mn?b.createElement(qe.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:cr,top:Wr},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:En},bn[tr]),open:!0,onCancel:We,footer:null,destroyOnClose:!0,width:tr===mn?"1200px":null,height:tr===mn?"80vh":null,className:"markdown-popup-form"},Oe):null))}},53332:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return tt},I:function(){return zt}});var b=ee(28284),Me=ee(6767),ce=ee(37568),et=ee(44104),Pe=ee(4875),pe=ee(47889),be=ee(7939),Ve=ee(23216),Ie=ee(59301),ue=ee(59301),$e=Object.defineProperty,Ee=Object.defineProperties,Rt=Object.getOwnPropertyDescriptors,ot=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Re=(Ot,ht,Ct)=>ht in Ot?$e(Ot,ht,{enumerable:!0,configurable:!0,writable:!0,value:Ct}):Ot[ht]=Ct,ft=(Ot,ht)=>{for(var Ct in ht||(ht={}))st.call(ht,Ct)&&Re(Ot,Ct,ht[Ct]);if(ot)for(var Ct of ot(ht))Ue.call(ht,Ct)&&Re(Ot,Ct,ht[Ct]);return Ot},kt=(Ot,ht)=>Ee(Ot,Rt(ht));const{useForm:en}=b.default,Qe={width:280,marginRight:10},Ae={labelCol:{span:5},wrapperCol:{span:19}};var tt=({callback:Ot,onCancel:ht})=>{const[Ct]=en();let De=(0,Ie.useRef)();function ke(It){De.current.width=Ct.getFieldValue("width"),De.current.align=Ct.getFieldValue("align"),Ot(It,De.current)}function xe(It,_e){if(It.status===-1){Me.ZP.error(It.message);return}Ct.setFieldsValue({src:`/api/attachments/${It.id}`,type:_e.type})}function se(It){let _e=It.target.files[0];De.current=_e,zt(_e,xe)}return ue.createElement(b.default,kt(ft({form:Ct},Ae),{className:"upload-image-panel",onFinish:ke,style:{width:470,overflow:"hidden"}}),ue.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ue.createElement("div",{className:"flex-container"},ue.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ue.createElement(ce.default,{style:Qe})),ue.createElement(nt,{onFileChange:se}))),ue.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ue.createElement(ce.default,{style:{width:264}})),ue.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ue.createElement(et.Z,null,ue.createElement(b.default.Item,{name:"width",style:{margin:0}},ue.createElement(Pe.Z,{style:{width:264}})),ue.createElement("span",{className:"ml8"},"%"))),ue.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ue.createElement(pe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ue.createElement("aside",null,ue.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ue.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(be.ZP,{type:"default",onClick:ht},"\u53D6\u6D88"))))};function nt({onFileChange:Ot}){return ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ue.createElement("input",{type:"file",onChange:Ot}))}function zt(Ot,ht){if(!Ot)throw new String("\u6CA1\u6709\u6587\u4EF6");let Ct=new FormData;Ct.append("editormd-image-file",Ot),Ct.append("file_param_name","editormd-image-file"),Ct.append("byxhr","true");var De=new window.XMLHttpRequest;De.withCredentials=!0,De.addEventListener("load",function(ke){ht(JSON.parse(ke.target.responseText),Ot)},!1),De.addEventListener("error",function(ke){console.error(ke)},!1),De.open("POST",`${Ve.KI}/api/attachments.json`),De.send(Ct)}},88487:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return ce}});var b=ee(59301),Me=ee(4676);class ce extends b.Component{constructor(Pe){super(Pe);const pe=window.document;this.node=pe.createElement("div"),pe.body.appendChild(this.node)}render(){const{children:Pe}=this.props;return(0,Me.createPortal)(Pe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Bn,rn,ee){"use strict";ee.d(rn,{SV:function(){return Gt},ZP:function(){return Xe}});var b=ee(59301),Me=ee(76374);const ce={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},et={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` +`)},{label:"System.out.println",content:["System.out.println($0)"].join(` +`)},{label:"System.out.print",content:["System.out.print($0)"].join(` +`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Pe={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` +`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` +`)},{label:"if",content:["if () {"," $0","}"].join(` +`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` +`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` +`)},{label:"using namespace std",content:["using namespace std"].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)},{label:"include ",content:["#include "].join(` +`)}]},pe={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` +`)}]},be={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` +`)}]};var Ve=ee(53184),Ie=ee.n(Ve),ue=(Fe,dn,$t)=>new Promise((ae,ne)=>{var te=re=>{try{de($t.next(re))}catch(le){ne(le)}},ie=re=>{try{de($t.throw(re))}catch(le){ne(le)}},de=re=>re.done?ae(re.value):Promise.resolve(re.value).then(te,ie);de(($t=$t.apply(Fe,dn)).next())});const $e={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Ee=(Fe,dn,$t,ae)=>{const ne=dn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:$t.lineNumber,endColumn:$t.column});return Array.from(new Set(ne.match(/\b\w{2,}\b/g)||[])).map(ie=>({label:ie,kind:Fe.languages.CompletionItemKind.Text,insertText:ie,range:ae}))},Rt=(Fe,dn,$t,ae)=>{Fe.languages.registerCompletionItemProvider(dn,{provideCompletionItems(ne,te){const ie=ne.getWordUntilPosition(te),de={startLineNumber:te.lineNumber,endLineNumber:te.lineNumber,startColumn:ie.startColumn,endColumn:ie.endColumn},re=ne.getLineContent(te.lineNumber).substring(ie.startColumn-2,ie.endColumn);return{suggestions:[...Ee(Fe,ne,te,de),...$t.map(Se=>({label:Se,kind:Fe.languages.CompletionItemKind.Keyword,documentation:Se,insertText:Se,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de})),...ae.map(Se=>({label:Se.label,kind:Fe.languages.CompletionItemKind.Snippet,documentation:Se.content,insertText:re.startsWith("#")?Se.content.replace(/#/,""):Se.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:de}))]}}})};var ot=Fe=>{$e.languages.forEach(dn=>{Fe.languages.registerDocumentFormattingEditProvider(dn,{provideDocumentFormattingEdits($t){return ue(this,null,function*(){const ae=Ie()($t.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:$t.getFullModelRange(),text:ae}]})}})}),Rt(Fe,"java",et.keywords,et.quickKey),Rt(Fe,"cpp",Pe.keywords,Pe.quickKey),Rt(Fe,"c",ce.keywords,[]),Rt(Fe,"python",pe.keywords,pe.quickKey),Rt(Fe,"scala",be.keywords,be.quickKey)};const st="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Ue=Object.defineProperty,Re=(Fe,dn,$t)=>dn in Fe?Ue(Fe,dn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Fe[dn]=$t,ft=(Fe,dn,$t)=>Re(Fe,typeof dn!="symbol"?dn+"":dn,$t);const kt=class Yc{constructor(dn,$t,ae){this.placeholder=dn,this.editor=$t,this.monaco=ae,$t.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Yc.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};ft(kt,"ID","editor.widget.placeholderHint");var Qe=kt,Ae=ee(96236),tt=ee(6767),nt=ee(25399),zt=ee(78267),Ot=ee(33156),ht=ee(56102),Ct=Object.defineProperty,De=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,_e=(Fe,dn,$t)=>dn in Fe?Ct(Fe,dn,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Fe[dn]=$t,Ye=(Fe,dn)=>{for(var $t in dn||(dn={}))se.call(dn,$t)&&_e(Fe,$t,dn[$t]);if(xe)for(var $t of xe(dn))It.call(dn,$t)&&_e(Fe,$t,dn[$t]);return Fe},Ft=(Fe,dn)=>De(Fe,ke(dn)),Ce=(Fe,dn)=>{var $t={};for(var ae in Fe)se.call(Fe,ae)&&dn.indexOf(ae)<0&&($t[ae]=Fe[ae]);if(Fe!=null&&xe)for(var ae of xe(Fe))dn.indexOf(ae)<0&&It.call(Fe,ae)&&($t[ae]=Fe[ae]);return $t},he=(Fe,dn,$t)=>new Promise((ae,ne)=>{var te=re=>{try{de($t.next(re))}catch(le){ne(le)}},ie=re=>{try{de($t.throw(re))}catch(le){ne(le)}},de=re=>re.done?ae(re.value):Promise.resolve(re.value).then(te,ie);de(($t=$t.apply(Fe,dn)).next())});function yt(Fe){return/^\d+$/.test(Fe)?`${Fe}px`:Fe}function Vt(){}let Lt=!1;const me={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function qe(Fe=[]){let dn=Fe;if(Array.isArray(Fe)){for(let $t=0;$the(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Fe){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Fe)}});var Xe=Fe=>{var dn=Fe,{width:$t="100%",height:ae="100%",value:ne,language:te="javascript",style:ie={},options:de={},overrideServices:re={},theme:le="vs-dark",onEditBlur:Se,isCopy:Ge=!1,onSave:He,autoHeight:Le=!1,forbidCopy:rt=!1,forbidCopyTips:ut,onChange:At=Vt,editorDidMount:Ne=Vt,onFocus:Be=Vt,onBreakPoint:Ut=Vt,breakPointValue:Zt=[],filename:mn="educoder.txt",errorLine:vn,errorContent:jt="",highlightLine:Cn,openBreakPoint:on=!1,placeholder:Je="",showMiniMap:Tt=!0}=dn,an=Ce(dn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const _t=(0,b.useRef)(),je=(0,b.useRef)({}),Pt=(0,b.useRef)(),Kt=(0,b.useRef)(),nn=(0,b.useRef)([]),On=(0,b.useRef)(!1),_n=(0,b.useRef)(),nr=(0,b.useRef)(),ir=(0,b.useRef)(!1),[Zn,er]=(0,b.useState)(!1);function kn(){let Yt;return _t.current&&(Yt=new Me.Z(xn=>{for(let Vn of xn)(Vn.target.offsetHeight>0||Vn.target.offsetWidth>0)&&je.current.instance.layout()}),Yt.observe(_t.current)),Yt}function cn(){tt.ZP.warning({content:decodeURIComponent(ut||st),key:"monaco-editor-tip"})}const bn=()=>{let Yt=je.current.instance;if(ne!=null&&Yt&&Zn){const xn=Yt.getModel();xn&&ne!==xn.getValue()&&(Lt=!0,xn.setValue(ne),Yt.layout(),Lt=!1)}};(0,b.useEffect)(()=>{const Yt=Ot.Z.subscribe("formatDocument",xn=>{var Vn;let jn=je.current.instance;(Vn=jn==null?void 0:jn.getAction)==null||Vn.call(jn,"editor.action.formatDocument").run()});return window.updateMonacoValue=xn=>{At(xn)},Yt},[]),(0,b.useEffect)(()=>{var Yt;let xn=je.current.instance;Kt.current&&clearTimeout(Kt.current),Kt.current=setTimeout(()=>{bn()},500),ne&&(ne!=null&&ne.length)&&((Yt=xn==null?void 0:xn.updateOptions)==null||Yt.call(xn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ne.split(/\r\n|\r|\n/g).length))+3,5)}))},[ne,Zn,je.current]),(0,b.useEffect)(()=>{if(vn&&je.current&&je.current.instance){let xn=je.current.instance;xn.changeViewZones(function(Vn){var jn=document.createElement("div");jn.style.padding="10px 20px",jn.style.width="calc(100% - 20px)",jn.className="my-error-line-wrp",jn.innerHTML=jt,Vn.addZone({afterLineNumber:vn||11,heightInLines:3,domNode:jn})});var Yt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};xn.addOverlayWidget(Yt),xn.revealPositionInCenter({lineNumber:20,column:1})}},[vn,je.current,Zn]);const St=(Yt="",xn)=>{if(!Yt||Yt.trim()==="")return!0;const jn=je.current.instance.getModel().getLineTokens(xn);let vt=!1;for(let Dt=0;Dt<2;Dt++)jn.getStandardTokenType(Dt)===1&&(vt=!0);return vt};(0,b.useEffect)(()=>{var Yt;const xn=(Yt=je.current)==null?void 0:Yt.instance;if(xn&&Zn&&rt){const Vn=xn.onDidBlurEditorWidget(()=>{ir.current=!1}),jn=xn.onDidFocusEditorText(()=>{ir.current=!0});return()=>{Vn.dispose(),jn.dispose()}}},[je.current,Zn,rt]),(0,b.useEffect)(()=>{var Yt;if((Yt=je.current)!=null&&Yt.instance&&Zn&&on){let xn=je.current.instance,Vn=xn.getModel();if(!Vn)return;(()=>{var mt;let pt=[],xt=[];const fn=Vn.getAllDecorations();for(let pn of fn)pn.options.className==="highlighted-line"&&(pt.push((mt=pn==null?void 0:pn.range)==null?void 0:mt.startLineNumber),xt.push(pn==null?void 0:pn.id));if(Cn===pt[0])return;Vn.deltaDecorations(xt,[]);const In=Vn.getLineCount();Cn&&Cn<=In&&(xn.deltaDecorations([],[{range:new it.Range(Cn,1,Cn,Vn.getLineMaxColumn(Cn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),xn.revealLineInCenter(Cn))})();const vt=(mt=!1)=>{var pt;let xt=[],fn=[];const In=Vn.getAllDecorations();for(let pn of In)pn.options.linesDecorationsClassName==="breakpoints-select"&&(xt.push((pt=pn==null?void 0:pn.range)==null?void 0:pt.startLineNumber),fn.push(pn==null?void 0:pn.id));if(mt)return{lines:xt,ids:fn};Ut(xt)},Dt=mt=>he(void 0,null,function*(){let pt={range:new it.Range(mt,1,mt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Vn.deltaDecorations([],[pt]),vt()}),Te=mt=>he(void 0,null,function*(){let pt=[];const xt=xn.getLineDecorations(mt);for(let fn of xt)fn.options.linesDecorationsClassName==="breakpoints-select"&&pt.push(fn.id);yield Vn.deltaDecorations(pt,[]),vt()}),gt=mt=>{let pt=xn.getLineDecorations(mt);for(let xt of pt)if(xt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,zt.isEqual)(Zt,vt(!0).lines)){Vn.deltaDecorations(vt(!0).ids,[]);const mt=Zt.map(pt=>({range:new it.Range(pt,1,pt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Vn.deltaDecorations([],mt)}const Ke=xn.onDidChangeModelContent(mt=>{let pt=xn.getPosition();if(pt){let xt=pt.lineNumber;clearTimeout(nr.current),nr.current=setTimeout(()=>{St(Vn.getLineContent(xt),xt)?Te(xt):gt(xt)?(Te(xt),Dt(xt)):vt()},100)}}),wt=xn.onMouseDown(mt=>{var pt,xt,fn;if(mt.target.detail&&((fn=(xt=(pt=mt.target)==null?void 0:pt.element)==null?void 0:xt.className)!=null&&fn.includes("line-numbers"))){let In=mt.target.position.lineNumber;if(St(Vn.getLineContent(In),In))return;gt(In)?Te(In):Dt(In)}}),Ht=mt=>{let pt={range:new it.Range(mt,1,mt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};nn.current=xn.deltaDecorations(nn.current,[pt])},Hn=()=>{nn.current=xn.deltaDecorations(nn.current,[])},Jn=xn.onMouseMove(mt=>{var pt,xt,fn;if(Hn(),mt.target.detail&&((fn=(xt=(pt=mt.target)==null?void 0:pt.element)==null?void 0:xt.className)!=null&&fn.includes("line-numbers"))){let In=mt.target.position.lineNumber;if(St(Vn.getLineContent(In),In))return;Ht(In)}}),lt=xn.onMouseLeave(()=>{Hn()});return()=>{Ke.dispose(),wt.dispose(),Jn.dispose(),lt.dispose()}}},[je.current,Zn,Zt,Cn,on,te]),(0,b.useEffect)(()=>{var Yt;(Yt=je.current)!=null&&Yt.instance&&on&&je.current.instance.setPosition({lineNumber:0,column:0})},[Cn]);function Et(){let Yt=je.current.instance;if(Yt){const xn=Yt.getSelection(),Vn=je.current.pastePos||{},jn=new it.Range(Vn.startLineNumber||xn.endLineNumber,Vn.startColumn||xn.endColumn,Vn.endLineNumber||xn.endLineNumber,Vn.endColumn||xn.endColumn);setTimeout(()=>{Yt.executeEdits("",[{range:jn,text:""}])},300)}}function sn(Yt){(window.navigator.platform.match("Mac")?Yt.metaKey:Yt.ctrlKey)&&Yt.keyCode==83&&(Yt.preventDefault(),He())}const Pn=()=>{if(Le&&je.current.instance){const Yt=je.current.instance.getContentHeight();rr(Yt{if(!ir.current)return;const{keyCode:xn,ctrlKey:Vn,metaKey:jn,target:vt,type:Dt}=Yt;return(Dt==="paste"||(xn===67||xn===86)&&(jn||Vn))&&vt.nodeName==="TEXTAREA"&&(cn(),Yt.preventDefault()),!1};function wn(Yt,xn){var Vn=window.URL||window.webkitURL||window,jn=new Blob([xn]),vt=document.createElementNS("http://www.w3.org/1999/xhtml","a");vt.href=Vn.createObjectURL(jn),vt.download=Yt,Tn(vt)}(0,b.useEffect)(()=>{Pn()},[Pn]),(0,b.useEffect)(()=>{_t.current&&!Zn&&Promise.all([ee.e(8909),ee.e(5977)]).then(ee.bind(ee,71448)).then(Yt=>{try{it=Yt,je.current.instance=it.editor.create(_t.current,{value:ne,language:qe(te),theme:le,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Tt||!1}},re);const xn=je.current.instance;let vt=[...Ae.BH._menuItems].find(Ke=>Ke[0]._debugName=="EditorContext")[1],Dt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Te=(Ke,wt)=>{var Ht,Hn;let Jn=Ke._first;do wt.includes((Hn=(Ht=Jn.element)==null?void 0:Ht.command)==null?void 0:Hn.id)&&Ke._remove(Jn);while(Jn=Jn.next)};if(Ne(xn,it),setTimeout(()=>{Pn(),je.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{wn(mn||"educoder.txt",xn.getValue())}})},500),je.current.subscription=xn.onDidChangeModelContent(Ke=>{On.current?clearTimeout(_n.current):(Pn(),At(xn.getValue(),Ke)),_n.current=setTimeout(()=>{On.current=!1},500)}),window.Monaco||ot(it,qe(te)),rt&&(Te(vt,Dt),_t.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Jt),window.removeEventListener("paste",Jt),window.addEventListener("keydown",Jt),window.addEventListener("paste",Jt)),window.Monaco=it,Se&&xn.onDidBlurEditorWidget(()=>{Se(xn.getValue())}),Be&&xn.onDidFocusEditorText(()=>{rt&&Xt(),Be(xn.getValue())}),rt){Xt();try{xn.onDidPaste(Ke=>{const wt=xn.getSelection(),Ht=je.current.pastePos||{},Hn=new it.Range(Ht.startLineNumber||wt.endLineNumber,Ht.startColumn||wt.endColumn,Ht.endLineNumber||wt.endLineNumber,Ht.endColumn||wt.endColumn);xn.executeEdits("",[{range:Ke.range,text:""}])})}catch(Ke){}}let gt=kn();return Je&&typeof Je=="string"&&new Qe(Je,xn,it),er(!0),()=>{const Ke=je.current.instance;Ke.dispose();const wt=Ke.getModel();wt&&wt.dispose(),je.current.subscription&&je.current.subscription.dispose(),gt.unobserve(_t.current)}}catch(xn){}})},[]),(0,b.useEffect)(()=>{if(je.current.instance&&Zn)return document.addEventListener("keydown",sn,!1),()=>{document.removeEventListener("keydown",sn)}},[He,Zn]),(0,b.useEffect)(()=>{let Yt=je.current.instance;if(Yt&&Zn){let xn=qe(te);it.editor.setModelLanguage(Yt.getModel(),xn)}},[te,Zn]),(0,b.useEffect)(()=>{je.current.instance&&Zn&&it.editor.setTheme(le)},[le,Zn]),(0,b.useEffect)(()=>{let Yt=je.current.instance;Pt.current=de,Yt&&Zn&&(Yt.updateOptions(Ye({},de)),setTimeout(()=>{Yt.getModel().updateOptions(Ye({},de))},200))},[JSON.stringify(de),Zn]),(0,b.useEffect)(()=>{let Yt=je.current.instance;Yt&&Zn&&Yt.layout()},[$t,ae,Zn]);const[gn,Nn]=(0,b.useState)(yt($t)),[An,rr]=(0,b.useState)(yt(ae)),Qt=Ft(Ye({},ie),{width:gn,height:An,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:_t,style:Qt,onFocus:()=>{rt&&Xt()}},Ge&&b.createElement(ht.CopyToClipboard,{text:ne,onCopy:()=>tt.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(nt.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Gt({width:Fe="100%",height:dn="100%",original:$t,modified:ae,language:ne,options:te={}}){const ie=(0,b.useRef)(),[de,re]=(0,b.useState)(null);function le(Le){let rt;return ie.current&&(rt=new Me.Z(ut=>{for(let At of ut)(At.target.offsetHeight>0||At.target.offsetWidth>0)&&Le.layout()}),rt.observe(ie.current)),rt}(0,b.useEffect)(()=>(ie.current&&Promise.all([ee.e(8909),ee.e(9404)]).then(ee.bind(ee,2550)).then(Le=>{it=Le;const rt=it.editor.createDiffEditor(ie.current,Ft(Ye({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},te),{wordWrap:!0}));re(rt);let ut=le(rt);return()=>{rt.dispose();const At=rt.getModel();At&&At.dispose(),ut.unobserve(ie.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{de&&de.setModel({original:it.editor.createModel($t,ne),modified:it.editor.createModel(ae,ne)})},[$t,ae,ne,de]);const Se=yt(Fe),Ge=yt(dn),He={width:Se,height:Ge};return b.createElement("div",{className:"my-diff-editor",ref:ie,style:He})}},54077:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return $e}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT",tagsDom:"tagsDom___COQg7",hiddenbq:"hiddenbq___TqlUF"},Me=ee(29787),ce=ee(25399),et=ee(89787),Pe=ee(92310),pe=ee.n(Pe),be=ee(76406),Ve=ee(90736),Ie=ee(59301),$e=({className:Ee,dataSource:Rt=[],col:ot=4,right:st,bottom:Ue=23,precision:Re=0,wrapWidth:ft=1200,trackEventItems:kt,loading:en,onRemove:Qe=()=>{},isCurrent:Ae=!0,showProgress:tt=!1,showAlias:nt=!1,category:zt="notDisplay",hiddenClick:Ot=()=>{}})=>{const ht=Math.floor((ft-(ot-1)*st)/ot),Ct=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png",ptclass:"sprite-70",swclass:"sprite-68"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png",ptclass:"sprite-60",swclass:"sprite-65"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png",ptclass:"sprite-58",swclass:"sprite-63"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png",ptclass:"sprite-62",swclass:"sprite-67"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png",ptclass:"sprite-61",swclass:"sprite-66"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png",ptclass:"sprite-59",swclass:"sprite-64"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png",ptclass:"sprite-71",swclass:"sprite-69"}];return Ie.createElement(Me.Z,{spinning:en},Ie.createElement("div",{className:pe()(b.list,Ee)},!!(Rt!=null&&Rt.length)&&(Rt==null?void 0:Rt.map((De,ke)=>{var xe,se,It,_e,Ye,Ft,Ce;const{name:he,id:yt,identifier:Vt,featured:Lt,school_name:me,image_url:qe,excellent:it,is_plan:Xt}=De;return Ie.createElement("div",{key:yt,className:Ae&&tt?b.wrapisCurrent:b.wrap,style:{width:ht,marginRight:(1+ke)%ot===0?0:st+Re,marginBottom:Ue}},Ie.createElement("a",{className:b.li,onClick:Xe=>{Xe.preventDefault(),Xe.stopPropagation(),kt&&(0,be.L9)([kt]),(0,be.xg)(`/paths/${Vt}`)}},Ie.createElement("div",{className:b.img},Ie.createElement("img",{className:b.cover,src:`${qe}`}),(xe=De==null?void 0:De.subject_tags)==null?void 0:xe.map((Xe,Gt)=>{var Fe,dn;if(Gt===0){const ae=(Fe=Ct.find(ne=>ne.name==Xe))==null?void 0:Fe.swclass;return Ie.createElement("span",{className:`sprite ${ae} ${b.sign}`,style:{left:"-4px"}})}const $t=(dn=Ct.find(ae=>ae.name==Xe))==null?void 0:dn.ptclass;return Ie.createElement("span",{className:`sprite ${$t} ${b.sign}`,style:{left:`${48+52*(Gt-1)+2*Gt}px`}})}),Ie.createElement("div",{className:b.tagsDom},Ie.createElement("div",{className:"flex flex-wrap item-center",style:{gap:"0 6px"}},(De==null?void 0:De.excellent)&&Ie.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"),((se=De==null?void 0:De.custom_tags)==null?void 0:se.length)>0&&(De==null?void 0:De.custom_tags.map((Xe,Gt)=>{var Fe;return Ie.createElement(ce.Z,{title:Xe==null?void 0:Xe.tag_name,key:Gt},Ie.createElement("div",{className:"font12 rounded-2px c-white flex item-center",style:{height:22,padding:"0 6px",maxWidth:((Fe=De==null?void 0:De.custom_tags)==null?void 0:Fe.length)>2?"60px":"71px",background:"rgba(48, 97, 208, .6)",border:"1px solid #8FAFF8"}},Ie.createElement("span",{className:"multi-llipsis1e"},Xe==null?void 0:Xe.tag_name)))})))),zt=="hide"&&(De==null?void 0:De.studying)&&Ae&&Ie.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Xe=>{Xe.stopPropagation(),Qe(De)}},Ie.createElement("i",{className:"iconfont icon-yichu1 font12"}),Ie.createElement("span",null,"\u79FB\u9664")),!["notDisplay","collect","payed"].includes(zt)&&Ae&&Ie.createElement("div",{className:`${b.hiddenbq} user-path-items`,onClick:Xe=>{Xe.stopPropagation(),Ot(De)}},Ie.createElement("i",{className:`iconfont ${zt=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),Ie.createElement("span",null,zt=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF"))),Ie.createElement("div",{className:b.name},Ie.createElement(ce.Z,{title:nt&&(De!=null&&De.excellent_alias_name)?Ie.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${he}`,Ie.createElement("br",null),Ie.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${De==null?void 0:De.excellent_alias_name}`)):he},Ie.createElement("span",{className:b.e},nt&&(De==null?void 0:De.excellent_alias_name)||he))),Ae&&tt&&((It=De==null?void 0:De.progress)==null?void 0:It.all_score)!=0&&Ie.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Ie.createElement(et.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((_e=De==null?void 0:De.progress)==null?void 0:_e.my_score)/((Ye=De==null?void 0:De.progress)==null?void 0:Ye.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Ft=De==null?void 0:De.progress)==null?void 0:Ft.my_score,"/",(Ce=De==null?void 0:De.progress)==null?void 0:Ce.all_score),(!Ae||!tt)&&Ie.createElement(ce.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${me}`},Ie.createElement("div",{className:b.unit},Ie.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),me)),(!Ae||!tt)&&Ie.createElement("div",{className:b.tags},Ie.createElement("div",null,Ie.createElement(ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ie.createElement("span",null,Ie.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ie.createElement("span",null,De.stages_count))),Ie.createElement(ce.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ie.createElement("span",null,Ie.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ie.createElement("span",null,De.members_count)))))))})),!Rt.length&&Ie.createElement(Ve.Z,null)))}},70467:function(Bn,rn,ee){"use strict";ee.d(rn,{jL:function(){return et},w9:function(){return he},QD:function(){return Zt},cQ:function(){return ke.Z},op:function(){return rt},O5:function(){return kn},_b:function(){return Je},t7:function(){return Re},Gi:function(){return it},YG:function(){return me},qp:function(){return ue},vr:function(){return jt},qE:function(){return Ne},Je:function(){return en},wb:function(){return De},cq:function(){return $t},tp:function(){return Rt}});var b=ee(59301),Me={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},et=({dataSource:cn=[],img:bn,imgWidth:St=346,title:Et,sunTitle:sn,bannerExtraContent:Pn})=>b.createElement("div",{className:Me.banner},b.createElement("div",{className:Me.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Et),b.createElement("span",null,sn)),cn.length>0&&b.createElement("div",{className:Me.btns},cn.map((Tn,Jt)=>b.createElement("div",{key:Jt,onClick:Tn.click},Tn.name,Tn.sign?b.createElement("span",{className:"sprite sprite-33"}):null))),Pn),bn&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:bn,width:St}))),Pe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},pe=ee(92310),be=ee.n(pe),Ve=ee(78267),ue=({dataSource:cn=[],value:bn,onChange:St,onTitleChange:Et,className:sn,title:Pn,titleWidth:Tn=41,style:Jt={},fontColor:wn="#6A7283",showCount:gn})=>{const[Nn,An]=(0,b.useState)(1),[rr,Qt]=(0,b.useState)(!1),Yt=(0,b.useRef)(null),xn=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Vn;cn.length!==0&&(((Vn=Yt==null?void 0:Yt.current)==null?void 0:Vn.clientHeight)>97?An(1):An(0)),cn.length===0&&An(0),Qt(!1)},[cn]),b.createElement("div",{className:be()(Pe.row,sn,"fadeIn","animated"),style:Jt},b.createElement("div",{onClick:(0,Ve.throttle)(()=>Et==null?void 0:Et(),2e3),style:{width:Tn,marginTop:rr?12:4},className:`${Pe.title} ${Et?"current":""}`},Pn),b.createElement("div",{className:rr?`${Pe.tagsWrap} ${Pe.tagsBorderWrap}`:Pe.tagsWrap},b.createElement("div",{className:Pe.bar,ref:xn,style:Nn>0?{height:Nn===1?97:"auto",overflow:Nn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Pe.tag,ref:Yt},cn==null?void 0:cn.map(Vn=>b.createElement("span",{onClick:()=>St(Vn.id),key:Vn.id,style:{color:wn},className:bn===Vn.id?Pe.active:""},b.createElement("span",{title:Vn.name,className:Pe.name},Vn.name),!!gn&&b.createElement("span",{className:Pe.num},Vn.count))))),!!Nn&&b.createElement(b.Fragment,null,Nn===1?b.createElement("div",{onClick:()=>{var Vn;An(2),((Vn=Yt==null?void 0:Yt.current)==null?void 0:Vn.clientHeight)>245?Qt(!0):Qt(!1)},className:Pe.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{xn.current.scrollTop=0,An(1),Qt(!1)},className:Pe.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},$e={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Rt=({dataSource:cn=[],value:bn,onChange:St,className:Et,style:sn={}})=>b.createElement("div",{style:sn,className:be()($e.tabs,Et)},cn.map(Pn=>b.createElement("span",{onClick:()=>St(Pn.id),className:bn===Pn.id?$e.active:"",key:Pn.id},Pn.name))),ot={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},st=ee(37568),Re=({dataSource:cn=[],value:bn="",onChange:St,onInputChange:Et=()=>{},className:sn,style:Pn={},placeholder:Tn,allowClear:Jt=!1})=>{var wn;const[gn,Nn]=(0,b.useState)(""),[An,rr]=(0,b.useState)("");(0,b.useEffect)(()=>{var xn;let Vn=bn;(xn=JSON.stringify(bn))!=null&&xn.includes("{")&&(Nn(bn.id),Vn=bn.value||"");try{rr(decodeURIComponent(Vn||""))}catch(jn){rr(decodeURIComponent(Vn||""))}},[bn]);const Qt=()=>{St(encodeURIComponent(An),gn||null)},Yt=xn=>{xn!==gn&&(Nn(xn),St(encodeURIComponent(An),xn))};return b.createElement("div",{className:be()(ot.input,sn),style:Pn},!!cn.length&&b.createElement("div",{className:ot.dropdown},b.createElement("div",{className:ot.text},(wn=cn.find(xn=>xn.id===gn))==null?void 0:wn.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:ot.b1}),b.createElement("b",{className:ot.b2})),b.createElement("div",{className:ot.menu},cn.map((xn,Vn)=>b.createElement("div",{key:Vn,onClick:()=>Yt(xn.id)},xn.name)))),b.createElement(st.default,{onPressEnter:Qt,value:An,onChange:xn=>{rr(xn.target.value),Et(encodeURIComponent(xn.target.value),gn||null)},placeholder:Tn,variant:"borderless",allowClear:Jt,onClear:()=>St("",gn||null)}),b.createElement("i",{onClick:Qt,className:"iconfont icon-sousuo9 font14 current"}))},ft={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},en=({value:cn,onChange:bn,className:St,total:Et,pageSize:sn,style:Pn={}})=>{const Tn=cn<2,Jt=cn>=Math.ceil(Et/sn);return Et<=sn?b.createElement(b.Fragment,null):b.createElement("div",{className:be()(ft.quickPager,St),style:Pn},b.createElement("div",{onClick:()=>{Tn||bn(cn-1,"prev")},className:Tn?ft.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{Jt||bn(cn+1,"next")},className:Jt?ft.disabled:""},"\u4E0B\u4E00\u9875"))},Qe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Ae=ee(29787),tt=ee(25399),nt=ee(63139),zt=ee(14185),Ot=ee(76406),ht=ee(90736),De=({className:cn,dataSource:bn=[],col:St=4,right:Et,bottom:sn=23,precision:Pn=0,wrapWidth:Tn=1200,trackEventItems:Jt,loading:wn})=>{const gn=Math.floor((Tn-(St-1)*Et)/St);return b.createElement(Ae.Z,{spinning:wn},b.createElement("div",{className:be()(Qe.list,cn)},!!bn.length&&bn.map((Nn,An)=>{const{name:rr,id:Qt,identifier:Yt,power:xn,cover_image_id:Vn,pic:jn}=Nn;return b.createElement("div",{className:Qe.wrap,key:Qt,style:{width:gn,marginRight:(1+An)%St===0?0:Et+Pn,marginBottom:sn}},b.createElement("a",{target:"_blank",href:`/shixuns/${Yt}/challenges`,className:Qe.li,onClick:vt=>{vt.preventDefault(),Jt&&(0,Ot.L9)([Jt]),xn&&(0,Ot.xg)(`/shixuns/${Yt}/challenges`)}},b.createElement("div",{className:Qe.img},b.createElement("img",{className:Qe.cover,src:`${jn}`}),Nn.is_jupyter&&b.createElement("span",{className:`sprite sprite-43 ${Qe.sign}`}),Nn.is_jupyter_lab&&b.createElement("span",{className:`sprite sprite-42 ${Qe.sign}`}),Nn.is_unity_3d&&b.createElement("span",{className:`sprite sprite-44 ${Qe.sign}`})),b.createElement("div",{className:Qe.name},b.createElement(tt.Z,{title:rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:Qe.e},rr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:Qe.tags},b.createElement(tt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Nn.challenges_count))),!!Nn.myshixuns_count&&b.createElement(tt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,Nn.myshixuns_count))),b.createElement(tt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Nn.level))),b.createElement("div",{className:Qe.rate},b.createElement(nt.Z,{allowHalf:!0,disabled:!0,defaultValue:Nn.score_info}),b.createElement("span",null,"\xA0",Nn.score_info?`${Nn.score_info}\u5206`:"5\u5206")))),!xn&&b.createElement("div",{className:Qe.lockWrap},b.createElement("img",{src:`${zt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!bn.length&&b.createElement(ht.Z,null)))},ke=ee(54077),xe={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",hidden:"hidden___NniIi",wrap:"wrap___pKgcW",btnsTop:"btnsTop___Lrm6T",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},se=ee(62957),It=ee(96599),_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRYo9vpuZE7YGdyG2Q0R5UvQBWxYwKwBn8pWPEPg7IlhdiKDYnrMIXAz6WDrh/mu3bXcNcEC5P7wIbrdQzH9eQCZF7+2WkrsCWPZcD/TgRbZsF1zTmrBrBX5HN3tyxwD7YTOVRy8KVL0Bd65Vmo667q2dStcdASx6rofyjouqUK/B9dsXFUohcksnenLbAMtemy1UfnrRiLE84NZ6IdqRirtvbdfi1TbA2Xz5r5j5j5Z5ehe705RMf51KRP64ncVoC2BxHLDH9/batlz2gJPnFc7PArNVgvjViABH6Zhm/ZErQoxkH7AmxYhHlsX71s7aWr9XbNek6M52HBQtA6xdflx5pldCVaEMHDuvcK5A8AjI5oB8EShXgEoZKFeBSgVQCohEgKjr/4z3AUP9gCIg7jLWpBn9fa9lsMXa5d7UqquxJYCFYrOFyk964c8V4F44oVCsEs5lgfNZIJcHPMFIk27wU0sbof/V0UcyBgz2AyMDQDQCbBzwXrtAEz2airu/3ErQQEsA5wqVT3qe93WbPKfqAS+eUsiWCWdmgJPTQLVaB2gjw6oB3U9B0azbsGz5XV6KsWFg01pAzGqXjniIua89ilZK3ZWMu99ohklTgP0YqsqLNlnz+SJh7ymF8xkf2JKEkFu+BOx1Y8CGNcBAH2P9gGe5h5VujqZTCfeKZjFeTQHO5EpfA/ApW9N5ZYYweU5h6jhwPlfHcpux5Ha/BxCLAldfBqSijMtHX2sg4x/SyejvLIXNkgAHoa07bEnNe48rnCkQDr8CFBokehh2q1ntIizYsOVG3y/g6AH7dl3gykuAvj4gAkahSihUCCVP9nryJfNgj1dguIrQ5wKJCCMZZaSjjOGEh6jV9LbuSUb2YAW+ZamQ3CUBzubLT9mKW95zTOFkhnDoqC8NL8clL0oqSYgnCSoCVIM92580axAjji+BuyqQ4RgQOq8wUKrK/0jv83Ilo8BQzMO6VBUDseWYQfM+JO46lYi8cbE7FwVYZxxUvf9u3kXzOyZnCIfPKuw/FAhSgcxTz3GbyFQLpOh6Ics877qE9AAQiZEGSyJUI6JGOT5VxlxocEWvdgTcAGQBUtQwWRTDTQTkYhXIlQnZElD2fMBjDmMizdjYX0VkhSlbOepXF/M6LQpwJl/ebiOd5FyR8PxxhQNHgGKP8+9EL04PKU2tAr5LjIQLJB0DJmswDbACpuP41KuBFYDlEwBsKFdz72ClZqvA2SJpI4yALc+PJ6rYPCDSevOXvSd3EG1PJyK/1KjthgBLIhg8frjbwYgq9MRhB5PHgXOZha01k5nq9d4FalEgowk4/UMKTp/fR59iJBX0nqkBo8ASpsGVPdYHVD7yuwY8uLcGcrAyNZCljbopZErAqQKhWPGB3pD2cEl/RUyK3S5d+88renujhLeGI8nmyv9rI8vv+aMKh6cJk8eC8Tbjye1Oi4BEkpDo91lxVDFSjghS/lVjuQZgMXc6DDdgxRrYEAWbl0GDHwC6FMBmuLkycKJAKFUJMQe4YriCwdjy6t6S1ZhKRn6l0TY37386Pxd4st21rr9fWNnTkw72HeyNnit7Z/+YAsn+CUbaBWJ68wzADbFZQ8GaJSuex6INy9ZCVmDvNkBLW2Y/DrPpxdbmTBGYLhCYCBvSVWzury4rNSvgTfX5yQsoOJMr/T2AJXWrVsDfeUThldOEoydbubu9e9wIYWBUFtJnxwPOHPuct28KyHWs1yHWVCsgCgULwAZkDXBA3ealaAdgmYWoXlNZ0vtzfx9wzUhZ97NM19fSyeinw33NA1jKJmTzlePdZtaL40Cod8+BQGq2OLtIFBgcVVrlSTiMtDPXeHgy+ndDgYFkrPfZEBUb9cgA7H8X7M/B3m0o17QXNLvkjGRsx/OkJW+R2q8erWjW3fuLZlIJdyJcTmIewPl85QNV9r7X7UD2nVTYd4wweXTplpoZNuqf7osB6WEFD4xBw5IbdFG/b8rfMlENoKZQn01rISvYg42qNPcSzLFneRH0FWL/razR6QLh7KxvNLl2tLwsUrZD6oOJhHu3Gd88gLP5skRH3tnK4Je6Z/tBBwenGkvOnbYtHqL+Nb5DeFgMFK2wPSNBB9gYdu2zaNZg14QsvZfPl6r1ixH+NFCfms3nfBk4lSdEXcK1Y2X0tTLuZo0u8T0R3ZtKRN67AGApVZQrVI52W81GDANPHnGw64XA5RcaTODsWbSswGJCthguhsYJHjNGWwXXEJ0BSChYfjdsGKzB05Qb/M/swWGVSb8MwbMycNNGeG9uhse5EnC6qLShRUAWga5Xl1T/ScbddabEU42CbbkEX55W2DtFONAg87WZltToBZAFHV4rbBkYiDASLSzOPLYUAtgA6APFvkFD2HQAvBikjSQt1C036BdAKDt4EbSEbQwjIQNIM8BEXz5fJu3Zunqkt7basCuxthbZfOm7zPjNZgNt9v3OSYWXpgjHpxf655sB3Kjt0XEhLyDpMvrrBZVGqmadXlDbPo3QFLJUacOJYuhce+NXDu4z0nRY0hbDiTgu6oWxZmsi30sXIniJk0NUKDGK9Ooiwr+kEtGPhsQGCZEpH7NRQc7sv9PnlgzA0HNrZslKpgnxftKq0FCHZkAjYEl/AkxNWBKngo4aYWxdR7h8Qr5f3AJVKDF2H/FNnZHASSHgmz26FbCkv6kcoQrCVaMVpHsUiCAV+VLJyNoawEHtxz2tDLLZPT894OClI37oTTeXcoHRCaUdBbLvLrH2S3YzT481+CrA84CKJ2oc49feRHA1T176+vlBT8eGxSJ+PJgxc7ZjmRQ9+WiOEHMJ142WemYIibqRqyVYXs8qkyv9HoCvNptgK98/+rKD3S8CxVIrdy9+z8ioguoDBiOMePO1X9hQ6JkwFcuNQkns+UaJSpnx4V8iOC28QY+/6KFSBeIxaJVHuxoDo0k7sz1bIpwrETalq5hI9oxVfzadjP6dD3C+/B9gfn87g1zs3u2HHDz9/CIGjmY8OWhUjBlD4wpR8lWijq6wcyD4XW/ZQTBfqeJHbM5WGB9/W2sA/2yvp6k+0Qckoj6rNlaxdsYoe/8reV/6u3GsBKcdFtBqR0T/kU5EPqABzuZLLzPjklafXeq+n73s4JkXgFIXFDw2IdIMMBbh1vTdRgOqM0roNQwiN8TLpcEtC6dhfPK25gCLivbALtZUm4wDcQFYjCQdbh/ioDg1q3TwwIaUfSomwqFUInqpVOiK5QqVnK16yz854OCFg/LSLBSi6nFopBaJnXlkgtBHjCEb9WVDDgPDmiVao6zBBUR4+sztPsAvHmU89KwvOMn+KuDJfhuLsLZ7y/8kPFc+ArDEZndCwWYdROAShnLjmjKUZSqWetfJuJuk7Cxfx5XyszaoV9rQQtYkMD3TWYsjYwQ3ThgV6u1k7w11G1aRTJy1sEfJnBAOU5DPLOOzd/gA//wA49+3+/ZoAU8C9hIxRqoPSCeAlAG3zwc+2uEebIaYKQPTswqbByoYj9t3L5IbuZ5s2Z/NoB9/WWH/FOHY6QZ6cIM45nAQnbQxsVHpSIzRaGcvSPgpAViANTZvEazEEWDYswB8+QTjnTdKGA7hbJbx7YeBM1mgT8CNCqjsAxuHTpOR/Ve+kxfA2LE7JT6zF8vLcs2wfeOH2KUpVyh/3vP4i90vp9/CnuMKe15pbMlqxqJF700PkdYPJSKjkyvs9dEB8SEjhuy9IgUbAeuWrcC1m+aziVKF8cOngJdPCKA8n3KjQFxYdjRwMYZiuToZqzxzukjIVwnXj5T1S2PzUoq+QNl86dvM+JithjNFwtOTCk8+17zFeqF6fK2CijLWRHyvTzeX5gwBBUs7QrkSzSl6rLDW224A1gws3snOA4xnXvapt541a0NHKOynm3FKQN+JosLGlIeJpKR22LuI8B3K5sr3M/id9pr19+Fn9/sJZK3mFkn/Gy5ROjpj1IJwpfdcAVhin4U1e6ISARMDwLbrhAqbv0FHzzCeeInR5wCpuL/v9sneKy9gyG/czdrJMEVlSrmErcN2UzwI9GPK5MuP2U7mfmZS4YVX/Bjo8LWUGizS85p1hGSdE7+txTP6bqAOCRVrlajqS83XbwbecJnOs2252fwsQ6hZ2pFMRtl/ayG3gamy5cYWufFkUYLwCTeNWbZsEe2gbK70LAPXdTvI8PPTeYKA/OTu4L9GQFzCXzgwAKSGFIYc7spnKtgZdUgAFvelsOZrNwE3X946sOH5VD3Gjn2sbdkxAdmCgBVuX9yJ58oKVw1XkLSY50zAc7IHWzNyhAf96AEH+yehpelWrjVjhGiSMBZlcR51fIUBFoFKqFcMGrddD1w63hnAMpgn93uQUCRRmbQU3aWKFJ5gvgKcLilc2l/FSMye0UOMHZTJlU/bzBw0Az+dIzx3TGHHLn8PbHZt2KSgHMZ4N+qRsVYFrFnSUWXfFYPGO28ELptYCHClyrjnCeCJF32Hxi1XAnfcLFLy/Hu37w0ADqxYhoprHqpmE1zie9HLjxUUxpNVLWzZu2iasvnyLDN3s6yLjuexgw4OHAUOmbjoJUa++RKlY5bFc9TxFQZY2HPZ/+RngXe/Hrh87UKAv79DTJDzA99Fwn7PG+ff+8huD/kS0C/6cNwXtsRUaSNiUnawyRxhKAZcNmBPHyaiUk8Bzs4SnplSePw5P5uwfgsOC12XvE7BdRgjXfDnmr3ZWKvEHBkAfMfrgS3rFgL8Z//M+gUQsIxrUSTmP//Q/Hsf2OXp+/qTvtokurCoSyaeuuOXMnjwlRwhFSVcMWRPktYA94pFmwnvO6EgyWdPPOdLtDUvf92KXHKZ7z3qxLEvL4oSyVli8uTEQckOrPgClrxYuSLjzpsJV6xfCPBf/AvrPVrAMi+gWKw+5/thatf9z3g4XwAGk0DaOBsCn7D2NNZnQrSJ+NG8H30pgpa9S7Po3ghZ4UE+dUjh+DnCzr3zSy6E77lsi9KpJ+0ArM2QoRIe2lsURGr4rkDfW5QtAu97E+HKBgDf97RIyHMAS5ti4br9pvkA3/e0h5k8MBAALGZM0Yd1THUQ01XLoOhAljteJN3ONRbjtbSQ1Qs1qf4NFIqS/fjISWDfoSDZuq6myqVbFGLi/zXSQJ3tPaxpSfvakCFxVAFXEEuV1nsFYDFJGndghZErAO+/hXDVhsZC1oPPAruP+C/LdZuBt1+3UMj6wROM0xnGQMKn4Hk26SDHycRxmQS2dijxaIEQUaQzIWxdWk2ylSbabFCirkim4akZ4NmXfBDCe/DlW5SOvdJOBpNxv0ijJiPfUKuxVA0lgY0jvgAkL4BsCcb+fOm4sNcOSCsYw6GTrL1P2gccfKTfmTxr27b8XwcAhCxcbdhTMCUsOgJcPWSRRRM9JqbKHzH49mYA2fheFuSpIw7OFYCn9wRhPQHKW7YqXdhsIsicr0VfBB2HKdgYMgyI8vKsHwLeek17Viobc2Jm7J1iZIq+AaRmp24zlMcXsoArLAJMoPutOxtaWbTnjymcLRB27YcOr5Vr6xWkY5Q3JedaMKCaMknyjfEQyXeyzwqFFivAnW/ojkJbGfdi92SLjJ0HWbsXta06FAjQChXLnCbzhOE+xusG7TkctLPBtruw1YU6lSHsP62QLQC7DwJrxhWqirFloI5FByjXtuTQPlsTpMrAb79t+anXzFWo+Me7WEd6yN4sTgmTEtMKwBL8d7ygsDZZxXqLhg7tLrTt8G8VYHPfoWmF4znC0TMKmSrwun5PmwH9sjfBj9CebGpVihnSWKlyReBTv9KhA7ndAS9y/z1PeugPoj5MOE+rEZe5ih/ZIUaOIYuJ49rhbztkp5P1kr10+wEXB2cIG/s9DPbNVa+rUYnZi4N4ZpGShTVLPctMAfjM7Z0BfOgE4+cHgfN5YP0ocOtVrbkS6+f5b9s9DKUCCTtg1SbdpdmazJT8tJZrR+xmIOqQHdtBd80ms9j3UtTkP3dHMBpnbOpnQ8C1MoXmOSMxi+QqUq2w+Ewe+My72gf4wV2Me570JV/tpPB8gH7/DmDNYHsS93d/4gNcs3QFOnIrtmrRgUWWuGmNPQm6FnQnC7ccxo5WgL/72QgqHuPGCV4ArBG05Kdmz2UgN+sDfDYL/O672wN4aprxt/fMpaEIECacdt0w8Ad3tgfwPz3kYbQfWk/WwQFBWG0zgEWNFwl6oA/YMmgT4CBsVhY+ky/fDebfaAWEXt7zyAEHR2YUbpjwEHfnDCI1cg4iNLQLMGDPYj48m2kfYKHeR3b7QpGoNgZg8TzJnv4XH5bvWgf5Hx/0MNLvmzLDADdzRuSrUqlH6XoeaxIWPUnhwHebqSvdvABTM8CDByLYMMDYPNA4jNQYLjQQs5J240dBtsuif/A4Y9+UgMFatRGAhTMUSqT39N/eBmwYaR3gbz7oYTQNDKR8Z4REf7TibZJojlmPcMOo9bzhudQVm8ln3QAsz37vWVez5zdvDAEc+tUALM53EbBmAoA//c72WPR9TzFePsma2kR/FR1cABbqPZ8nfPhWYP1wewCPpIHBNgAWs6qwZynWstWigUPWcV7ymd6HLaWPdgvwzikHe04oXD/uYbjBIXnzKLgInAsAvqtNNen+ZxiTp1mrNkJtYkcWwU24grT5628mrG0DYM2iDcChPXgpFi2hOjNlhcstq0cL0kcDQctKAni3AIv/9vu7I7rK683rF7LpBQAXgDMZ4BPvaI+CJc/o2FnW3iHRW8UTJHu7ULAIbe+5mTAx1DoFf+thD8MCcEjIMtV7Gq2JCXqX6gLXj5XbCgRstsYNE8BtlXBo1nkr3+84pPDSGQc3rfMwUkfFJq9XVCRh0YaCP/QWQryFUFjTv0RonJzxU1I0BSs/+kMoeCbruwvHW1SVJL/p7sdYAyxStE5Oa6ImCfWeLYlwVcF4wm7aSsMSDraKsLQCYLN7ciXgnr0RXQfrzZt4XtEWDXCdFC37sGQoXLe5dYr72R4PJ87DZ9GBkGUo+FweeMd1tGRgfHgOzx1mPH+E9f4rAGtX4hIAy94r3iOXCNePlawmni1ahMVn03bKKDUDsJXv/++4g+eOKlw55mHT4NwT2oMU6MEiaIkeLFQsku8Nl0jUhqScNAf68X0eTmXmwm8MixbOIJXof/kawmj/0u3kZhn7p4Bdh31hTbPn4IURgBfLPJR0lUyZsGWwiuG4RdXIP1upcRklWcKVtkuHgfc8xg/3RFGsspaoE0G2gzZ0BA59baoUVSnvmxoF5GyBtIVL9nJxRsglViqxb+uEMskUjPvClXwkPEe8P1pNEs9UYB0TKpb2MtKelA4O0l5M6SVxKMjeLWqWBOJJW8LujbNBUk8bxWsVKuJYIKTlqAGL0Rtm7ZYshGarlGErFNrKPScyhAdecrXA9cYNfhlgk60gYMii66C6or93SuSGRD4KSKUKaVYuFK9LFjoCJOv9Viq362zBIM9Xx2OJqTJg/aYt+SltSx+Vqm9OlMu0pdNLg7YkXlpKOwi7X6x+R1lYc9Yv43PDSFn7j+1eTUoZSme2ipHaGviuowq7TzgYTTJuWucLI8Yebfbi2QBUne8rlBscpCXgGoAFZDE8SByVpj5x64XSQOV7aVf2YT8x3P+ISVTUJ+nLpLqatvTBXAElS1smrSVc+9Ksg6mwU2afNY9YZs26H6X+Ph13PxNe+wWbjK1ywrYAFl/rAy9FcSoHbB5kbBllDZpJKtPpoKGUUJGEBSShNh35EQiopui3T30+0Pr0tKDAmc4hDgQ4kw1hgJW/dX9BrrGpVGteGOEAus0glMcUSgvXddHFSSukzZGXWXTqh9e5pXLCWtiyVBDcFsiywD960UVmlnDNuIe16YCKg2o5RjfWe7MAEQBsYrfmFSM1Vd5DZYRN8W8twAVCnGlT/5T4MX34g++gNtXwxN+rSz0EFfG0V6pW8HRu9lKUVFyCUuXuqhH75Rq0nNFqQXDNpi2V9LcFsLQjqtOPX3Qhhca3jjHWpX1nhA7eC1ixYd36b3koFCigIx39lai5B8Phrvr2IGHcsHbNBYLgwHDYkC6FGDows1Yhvu5QD2nTgCv7vtTFsl2Lo7bG7ZT01yBbOpTDJsiZWeDhgxEtSIlDQth1GBQTqFeLugx1HsSm+1uVsOPQWQ4B7r7TKngpwjU9arFhcxWF5yrBm1LFQQeGLcvzx/KEfIV0wtq1wz0sDE70WDoReUujtV5U0bN5rI5NkCUT75EDEQjYw3HGNeNz0nWAT8jP2KDnYMZm4o1ipswLop9eysgUqsUVbsdUs9NV36OMa0Z7w5bN7Do6VkfvxRYPxrIJsuzJ2w9HcCLrn4N07bicUGazh87bkvpXx3JySAhhPCkCVaV3bNk3bHR2MJZM0fbRdp0vW+Mnxeu055QDqTa1cRDYNMAd17TsdmyyX5+UksEl2eMJW4aqGLPpwG/EjLo92k7vxZYPp+x2Ieufl1NOdr7i4lxRLEuMSwcYo6mFZxzZ7te0J3vtzKwvTMk5iAMxxpXDlR4YMRrOoLvDKX3J0v7xsrYXW3Rl8T7tOen4xUIjrIWwsYSd/N1G4xXVSYA9UyRUPKkeC1w+WMVo74qL1g3D0vGy0upqciUu9XJIwN6+0w4OTit9rI2rWLsb1yQZ6b7OSxKbPkVHlvMLZ2ZJq23i55LDpzcNVrE26fV0r62ft7UDogMq7tkR77apWdqrMuPwjMLhGQdydqI2TijW8dZyVKzYjyWoT2zBi1URFtYrOrcOrq+I98ePwxbmLwYNOdlsfdrDaHx5D7/S62X7iHdf4OKNVa4804t6Hr0A2bQpOvPRjIOTOYWzRd/VOFel3a9ma8yYNcNJrQSir0zJ/RHJXY5D25BFOhYz5cpcNO2Qe1MiQQ1OxVg4ouaO09AzuWLlDvb4XlsHRi/3AklJ4POzCjkpyD0rjgmlvUQV5uBsYXHC+6BHHKF01npsqo+RtFCcrdv5yoHQpOjOZMy9r9W22gJYGs3my3/FzH/UagcX77O3AkT016lE5I/babFtgJnZzRYqP7VdHa+dQV+Q9xLtSMXdtxJRW+kPbQMc7MfrPZR3MGPjBbnYyzxpIkwqRG5JJGiq3a47Alg68YPlK4++2oSudhdo5e+n6ajr3ionqHQylo4B9im59Ase6EFmbhCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Ye=ee(59301),Ft=(cn,bn,St)=>new Promise((Et,sn)=>{var Pn=wn=>{try{Jt(St.next(wn))}catch(gn){sn(gn)}},Tn=wn=>{try{Jt(St.throw(wn))}catch(gn){sn(gn)}},Jt=wn=>wn.done?Et(wn.value):Promise.resolve(wn.value).then(Pn,Tn);Jt((St=St.apply(cn,bn)).next())}),he=({className:cn,dataSource:bn=[],col:St=4,right:Et,bottom:sn=23,precision:Pn=0,wrapWidth:Tn=1200,trackEventItems:Jt,loading:wn,category:gn,hiddenClick:Nn,handleVery:An=()=>!0,isCurrent:rr})=>{const[Qt,Yt]=se.default.useModal(),xn=Math.floor((Tn-(St-1)*Et)/St),Vn=jn=>Ft(void 0,null,function*(){Qt.confirm({title:"\u7F6E\u9876",width:500,content:Ye.createElement("div",null,"\u60A8\u786E\u5B9A\u8981\u5C06",Ye.createElement("span",{className:"c-blue"},"\u201C",jn.name,"\u201D"),"\u8BFE\u5802\u7F6E\u9876\u5417\uFF1F"),okText:"\u786E\u8BA4\u7F6E\u9876",centered:!0,cancelText:"\u53D6\u6D88"})});return Ye.createElement(Ae.Z,{spinning:wn},Yt,Ye.createElement("div",{className:be()(xe.list,cn)},!!bn.length&&bn.map((jn,vt)=>{const{subject_identifier:Dt,id:Te,identifier:gt,power:Ke}=jn,wt=jn.is_public!=0&&jn.is_public;return Ye.createElement("div",{className:xe.wrap,key:Te,style:{width:xn,marginRight:(1+vt)%St===0?0:Et+Pn,marginBottom:sn}},jn.homepage_show&&Ye.createElement("div",{className:xe.btnsTop},Ye.createElement(It.default,{color:"red"},"\u7F6E\u9876")),Ye.createElement("a",{className:xe.li,onClick:Ht=>{Ht.preventDefault(),An(jn==null?void 0:jn.first_category_url)&&(Jt&&(0,Ot.L9)([Jt]),(0,Ot.xg)(jn.first_category_url))}},Ye.createElement("div",{className:xe.top},Ye.createElement(tt.Z,{title:jn.name},Ye.createElement("div",{className:xe.name},jn.name)),Ye.createElement("img",{className:xe.img,src:zt.Z.IMG_SERVER+"/images/"+jn.avatar_url}),Ye.createElement("div",{className:xe.text,title:jn.creator},jn.creator),Dt&&Ye.createElement("div",{className:xe.btns},Ye.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Ye.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),wt&&Ye.createElement("div",{className:xe.sign},"\u516C\u5F00"),rr&&Ye.createElement("div",{className:xe.hidden,onClick:Ht=>{Ht.stopPropagation(),Nn(jn)}},Ye.createElement("i",{className:`iconfont ${gn=="hide"?"icon-chakan2":"icon-yincangtiaojianshezhi"} font12`}),gn=="hide"?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF")),Ye.createElement("div",{className:xe.bottom},jn.visits>0&&Ye.createElement(tt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-liulanyan"}),Ye.createElement("span",null,jn.visits))),jn.course_members_count>0&&Ye.createElement(tt.Z,{title:"\u6210\u5458",placement:"bottom"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-chengyuan"}),jn.course_members_count)),jn.tasks_count>0&&Ye.createElement(tt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-zuoye"}),jn.tasks_count)),jn.is_end?Ye.createElement("div",{style:{color:"#6B758B"}}):Ye.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!jn.is_accessible&&Ye.createElement("div",{className:xe.lockWrap},Ye.createElement("img",{src:`${zt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Ye.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!bn.length&&Ye.createElement(ht.Z,null)))},yt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Vt=ee(44283),me=({dataSource:cn=[],value:bn,onChange:St,className:Et,style:sn={},tabBarExtraContent:Pn})=>b.createElement("div",{className:be()(yt.tabs,Et),style:sn},b.createElement("div",{className:yt.tabsWrap},cn.map((Tn,Jt)=>!(Tn!=null&&Tn.hide)&&b.createElement("aside",{className:yt.tab,onClick:()=>{St(Tn.id),Tn.link&&Vt.history.push(Tn.link)},key:Jt},b.createElement("div",{className:bn===Tn.id?yt.active:""},Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&b.createElement(tt.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",b.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),b.createElement("div",{className:yt.tabBar},Pn)),it=({className:cn,style:bn={},children:St})=>b.createElement("div",{className:be()(cn),style:bn},St),Xt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Xe=ee(75727),Gt=ee(93041);const Fe=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var $t=({sortValue:cn,dropValue:bn,className:St,onSort:Et,onDrop:sn,dataSource:Pn=Fe})=>{var Tn;return b.createElement("div",{className:be()(Xt.orderWrap,St)},b.createElement(Xe.Z,{dropdownRender:()=>b.createElement(Gt.default,null,Pn.map((Jt,wn)=>b.createElement(Gt.default.Item,{key:wn,onClick:()=>sn(Jt.id)},Jt.name)))},b.createElement("span",{className:Xt.orderTextWrap},(Tn=Pn.find(Jt=>bn===Jt.id))==null?void 0:Tn.name)),b.createElement("span",{className:Xt.orderIconWrap},b.createElement("span",{className:Xt.orderAsc},b.createElement("i",{className:cn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Xt.cursorPointer} ${Xt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Xt.cursorPointer}`,onClick:()=>Et(cn==="asc"?"desc":"asc")})),b.createElement("span",{className:Xt.orderDesc},b.createElement("i",{className:cn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Xt.cursorPointer} ${Xt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Xt.cursorPointer}`,onClick:()=>Et(cn==="asc"?"desc":"asc")}))))},ae={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},ne=ee(7939),te=Object.defineProperty,ie=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,le=(cn,bn,St)=>bn in cn?te(cn,bn,{enumerable:!0,configurable:!0,writable:!0,value:St}):cn[bn]=St,Se=(cn,bn)=>{for(var St in bn||(bn={}))de.call(bn,St)&&le(cn,St,bn[St]);if(ie)for(var St of ie(bn))re.call(bn,St)&&le(cn,St,bn[St]);return cn},Ge=(cn,bn)=>{var St={};for(var Et in cn)de.call(cn,Et)&&bn.indexOf(Et)<0&&(St[Et]=cn[Et]);if(cn!=null&&ie)for(var Et of ie(cn))bn.indexOf(Et)<0&&re.call(cn,Et)&&(St[Et]=cn[Et]);return St},He=(cn,bn,St)=>new Promise((Et,sn)=>{var Pn=wn=>{try{Jt(St.next(wn))}catch(gn){sn(gn)}},Tn=wn=>{try{Jt(St.throw(wn))}catch(gn){sn(gn)}},Jt=wn=>wn.done?Et(wn.value):Promise.resolve(wn.value).then(Pn,Tn);Jt((St=St.apply(cn,bn)).next())}),rt=cn=>{var bn=cn,{className:St,style:Et,children:sn,loading:Pn=!1,openLoading:Tn,onClick:Jt=()=>{},size:wn="middle",shape:gn="round"}=bn,Nn=Ge(bn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[An,rr]=(0,b.useState)(!1);return b.createElement(ne.ZP,Se({onClick:(0,Ve.throttle)(Qt=>He(void 0,null,function*(){Tn&&rr(!0);try{yield Jt(Qt)}catch(Yt){console.log("error",Yt)}Tn&&rr(!1)}),2e3,{leading:!0,trailing:!1}),className:be()(ae.btn,ae[`${wn}-${gn}`],St),style:Et,size:wn,shape:gn,loading:An||Pn},Nn),sn)},ut={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Ne=({className:cn,style:bn,children:St=null,onClick:Et,title:sn})=>b.createElement("div",{className:be()(ut.head,cn),style:bn},b.createElement("span",{className:"primary-hover",onClick:Et},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:sn},sn),b.createElement("div",{className:ut.node},St)),Be={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Zt=({confirmShow:cn=!0,confirmTitle:bn,confirmClick:St,cancelShow:Et=!0,cancelTitle:sn,cancelClick:Pn,className:Tn,style:Jt,confirmLoading:wn=!1})=>b.createElement("div",{className:be()(Be.btns,Tn),style:Jt},cn&&b.createElement(ne.ZP,{loading:wn,onClick:St,type:"primary",className:Be.confirm},bn),Et&&b.createElement(ne.ZP,{onClick:Pn,className:Be.cancel},sn)),mn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},jt=({className:cn,style:bn={},LeftContent:St,children:Et,RightContent:sn})=>b.createElement("div",{className:be()(mn.fixedBottom,cn),style:bn},b.createElement("div",{className:mn.wrap},b.createElement("div",{className:mn.left},St),b.createElement("div",{className:mn.center},Et),b.createElement("div",{className:mn.right},sn))),Cn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Je=({className:cn,style:bn={},dataSource:St=[]})=>b.createElement("div",{className:be()(Cn.crumbs,cn),style:bn},St.map((Et,sn)=>snVt.history.push(Et.path)},Et.name):b.createElement("span",null,Et.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:sn,style:{color:"#5F6368"}},Et.name))),Tt=ee(11938),an=Object.defineProperty,_t=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,On=(cn,bn,St)=>bn in cn?an(cn,bn,{enumerable:!0,configurable:!0,writable:!0,value:St}):cn[bn]=St,_n=(cn,bn)=>{for(var St in bn||(bn={}))Kt.call(bn,St)&&On(cn,St,bn[St]);if(Pt)for(var St of Pt(bn))nn.call(bn,St)&&On(cn,St,bn[St]);return cn},nr=(cn,bn)=>_t(cn,je(bn)),ir=(cn,bn)=>{var St={};for(var Et in cn)Kt.call(cn,Et)&&bn.indexOf(Et)<0&&(St[Et]=cn[Et]);if(cn!=null&&Pt)for(var Et of Pt(cn))bn.indexOf(Et)<0&&nn.call(cn,Et)&&(St[Et]=cn[Et]);return St};const{Countdown:Zn}=Tt.default;var kn=cn=>{var bn=cn,{onChange:St}=bn,Et=ir(bn,["onChange"]);const[sn,Pn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof sn=="number"&&sn>=0&&St(sn)},[sn]);const Tn=Jt=>{const wn=Math.floor(Jt/1e3);Pn(wn)};return b.createElement(Zn,nr(_n({},Et),{onChange:Tn}))}},79006:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Me}});var b=ee(59301);function Me(ce,et){const Pe=(0,b.useRef)();(0,b.useEffect)(()=>{Pe.current=ce}),(0,b.useEffect)(()=>{function pe(){Pe.current()}if(et!==null){let be=setInterval(pe,et);return()=>clearInterval(be)}},[et])}},30935:function(Bn,rn,ee){"use strict";ee.d(rn,{i:function(){return Qe},q:function(){return en}});var b=ee(59301),Me={flex_box_center:"flex_box_center___yMUhy",flex_space_between:"flex_space_between___KNvG9",flex_box_vertical_center:"flex_box_vertical_center___yqWY9",flex_box_center_end:"flex_box_center_end___DJKuV",flex_box_column:"flex_box_column___NTtN1",singleSelect:"singleSelect___fU3O9",multipleSelect:"multipleSelect___LFXCB",plus:"plus___gdDhG"},ce=ee(92310),et=ee.n(ce),Pe=ee(25399),pe=ee(82326),be=ee(7939),Ve=ee(49317),Ie=Object.defineProperty,ue=Object.defineProperties,$e=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,st=(Ae,tt,nt)=>tt in Ae?Ie(Ae,tt,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Ae[tt]=nt,Ue=(Ae,tt)=>{for(var nt in tt||(tt={}))Rt.call(tt,nt)&&st(Ae,nt,tt[nt]);if(Ee)for(var nt of Ee(tt))ot.call(tt,nt)&&st(Ae,nt,tt[nt]);return Ae},Re=(Ae,tt)=>ue(Ae,$e(tt)),ft=(Ae,tt)=>{var nt={};for(var zt in Ae)Rt.call(Ae,zt)&&tt.indexOf(zt)<0&&(nt[zt]=Ae[zt]);if(Ae!=null&&Ee)for(var zt of Ee(Ae))tt.indexOf(zt)<0&&ot.call(Ae,zt)&&(nt[zt]=Ae[zt]);return nt},kt=(Ae,tt,nt)=>new Promise((zt,Ot)=>{var ht=ke=>{try{De(nt.next(ke))}catch(xe){Ot(xe)}},Ct=ke=>{try{De(nt.throw(ke))}catch(xe){Ot(xe)}},De=ke=>ke.done?zt(ke.value):Promise.resolve(ke.value).then(ht,Ct);De((nt=nt.apply(Ae,tt)).next())});const en=Ae=>{var tt=Ae,{wrapClassName:nt,wrapStyle:zt={},showLinkButton:Ot=!0,tooltipTitle:ht="",loadGeneral:Ct=!1,data:De={}}=tt,ke=ft(tt,["wrapClassName","wrapStyle","showLinkButton","tooltipTitle","loadGeneral","data"]);const xe="course_disciplines_list",[se,It]=(0,b.useState)(()=>{const yt=sessionStorage.getItem(xe);return yt?JSON.parse(yt):[]}),[_e,Ye]=(0,b.useState)(!1),[Ft,Ce]=(0,b.useState)(!0);(0,b.useEffect)(()=>{he()},[]);const he=()=>kt(void 0,null,function*(){var yt,Vt,Lt,me;Ye(!0);const qe=yield(0,Ve.U2)("v2/course_disciplines.json",De);if(qe.status===0){const it=((Vt=(yt=qe==null?void 0:qe.data)==null?void 0:yt.list)==null?void 0:Vt.map(Xt=>({value:Xt.id,label:Xt.name})))||[];if(It(it),Ce(!1),sessionStorage.setItem(xe,JSON.stringify(it)),Ft){const Xt=(me=(Lt=qe==null?void 0:qe.data)==null?void 0:Lt.list)==null?void 0:me.find(Xe=>Xe.is_default);Ct&&Xt&&ke.onChange(Xt==null?void 0:Xt.id)}}Ye(!1)});return b.createElement("div",{className:et()(Me.singleSelect,nt),style:zt},b.createElement(Pe.Z,{title:ht},b.createElement(pe.default,Ue({allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B",loading:_e,options:se,onDropdownVisibleChange:yt=>{yt&&he()}},ke))),Ot&&b.createElement(be.ZP,{type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u8BFE\u7A0B"))},Qe=Ae=>{var tt=Ae,{wrapClassName:nt,wrapStyle:zt={},showLinkButton:Ot=!0,courseDisciplineId:ht="",isPlusHeight:Ct=!1,tooltipTitle:De,allowAcceptEmpty:ke=!1,data:xe={}}=tt,se=ft(tt,["wrapClassName","wrapStyle","showLinkButton","courseDisciplineId","isPlusHeight","tooltipTitle","allowAcceptEmpty","data"]);const[It,_e]=(0,b.useState)([]),[Ye,Ft]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ce()},[ht]);const Ce=()=>kt(void 0,null,function*(){var he,yt;if(!ke&&!ht){_e([]);return}Ft(!0);const Vt=yield(0,Ve.U2)(`v2/course_disciplines/${ht||"all"}.json`,xe);if(Vt.status===0){const Lt=((yt=(he=Vt==null?void 0:Vt.data)==null?void 0:he.tag_disciplines)==null?void 0:yt.map(me=>({value:me.id,label:me.name})))||[];Lt.length&&_e(Lt)}Ft(!1)});return b.createElement("div",{className:et()(Me.multipleSelect,nt),style:zt},b.createElement(Pe.Z,{title:De},b.createElement(pe.default,Re(Ue({allowClear:!0,mode:"multiple",optionFilterProp:"label",placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9",loading:Ye,options:It,maxTagCount:"responsive",onDropdownVisibleChange:he=>{he&&Ce()}},se),{className:et()(se.className,Ct&&Me.plus)}))),Ot&&b.createElement(be.ZP,{className:Me.btn,type:"link",target:"_blank",href:"/knowledgeHub"},"\u7BA1\u7406\u77E5\u8BC6\u70B9"))}},1073:function(Bn,rn,ee){"use strict";ee.r(rn),ee.d(rn,{default:function(){return bn}});var b=ee(59301),Me={card:"card___FJmiu",head:"head___QTRZw",element:"element___UI_a8",collaborator:"collaborator___Dy2UW",btn:"btn___nSmST",delSty:"delSty___xvOHw",delBorder:"delBorder___sffy6",copHover:"copHover___o9pdw",wrap:"wrap___aOnek",center:"center___rxUB2",tip:"tip___ljMdm",title:"title___tJmV7",content:"content___cgE16",fixedBtns:"fixedBtns___RHSkC"},ce=ee(92310),et=ee.n(ce),Pe=ee(70467),pe=ee(28284),be=ee(25399),Ve=ee(4875),Ie=ee(6767),ue=ee(29787),$e=ee(37568),Ee=ee(62673),Rt=ee(77019),ot=ee(47889),st=ee(7939),Ue=ee(76406),Re=ee(44283),ft=ee(56082),kt=ee(87954),en=ee(18257),Qe=ee(19719),Ae=ee(35241),tt=ee(70858),nt=ee(90736),zt=Object.defineProperty,Ot=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,xe=(St,Et,sn)=>Et in St?zt(St,Et,{enumerable:!0,configurable:!0,writable:!0,value:sn}):St[Et]=sn,se=(St,Et)=>{for(var sn in Et||(Et={}))De.call(Et,sn)&&xe(St,sn,Et[sn]);if(Ct)for(var sn of Ct(Et))ke.call(Et,sn)&&xe(St,sn,Et[sn]);return St},It=(St,Et)=>Ot(St,ht(Et));const _e=b.createContext({}),Ye=()=>{const{setActivatorNodeRef:St,listeners:Et}=(0,b.useContext)(_e);return b.createElement(st.ZP,se({type:"text",size:"small",icon:b.createElement(be.Z,{title:"\u53EF\u9F20\u6807\u62D6\u62FD\u8FDB\u884C\u8BD5\u9898\u6392\u5E8F\uFF0C\u5B66\u751F\u7AEF\u5C06\u6309\u7167\u6B64\u6392\u5E8F\u5C55\u793A"},b.createElement(ft.Z,null)),style:{cursor:"move"},ref:St},Et))},Ft=St=>{const{attributes:Et,listeners:sn,setNodeRef:Pn,setActivatorNodeRef:Tn,transform:Jt,transition:wn,isDragging:gn}=(0,Qe.nB)({id:St["data-row-key"]}),Nn=se(It(se({},St.style),{transform:Ae.ux.Translate.toString(Jt),transition:wn}),gn?{position:"relative",zIndex:99}:{}),An=(0,b.useMemo)(()=>({setActivatorNodeRef:Tn,listeners:sn}),[Tn,sn]);return b.createElement(_e.Provider,{value:An},b.createElement("tr",se(It(se({},St),{ref:Pn,style:Nn}),Et)))};var he=({columns:St,dataSource:Et,setDataSource:sn,loading:Pn})=>{const Tn=({active:Jt,over:wn})=>{Jt.id!==(wn==null?void 0:wn.id)&&sn(gn=>{const Nn=gn.findIndex(rr=>rr.id===(Jt==null?void 0:Jt.id)),An=gn.findIndex(rr=>rr.id===(wn==null?void 0:wn.id));return(0,Qe.Rp)(gn,Nn,An)})};return b.createElement(kt.LB,{modifiers:[en.DL],onDragEnd:Tn},b.createElement(Qe.Fo,{items:Et.map(Jt=>Jt.id),strategy:Qe.qw},b.createElement(tt.default,{pagination:!1,scroll:{y:400},rowKey:"id",loading:Pn,locale:{emptyText:b.createElement(nt.Z,{styles:{margin:"80px auto"},customText:b.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",b.createElement("span",{style:{color:"#CA7720"}},"\u53F3\u4E0A\u89D2\u64CD\u4F5C\u6309\u94AE"),"\u8FDB\u884C\u6DFB\u52A0\uFF5E")})},dataSource:Et,components:{body:{row:Ft}},columns:[{key:"sort",align:"center",width:80,render:()=>b.createElement(Ye,null)},...St],size:"middle"})))},yt=ee(62957),Vt=ee(31691),Lt=ee(79939),me=ee(82326),qe=ee(53420),it=ee(31709),Xt=ee(49317),Xe={flex_box_center:"flex_box_center___JyZDM",flex_space_between:"flex_space_between___irBjO",flex_box_vertical_center:"flex_box_vertical_center___O_Nib",flex_box_center_end:"flex_box_center_end___ELw5e",flex_box_column:"flex_box_column___WqDB7",scoremodal:"scoremodal___v8vvd",selectWrapper:"selectWrapper___uaibI",selectWrappers:"selectWrappers___lqg6k",allqingchu:"allqingchu___kq8s8",title:"title___PQR47",score:"score___Y51iK",close:"close___vMAPi",content:"content___D5gsd",items:"items___Sl0jf",bottom:"bottom___lJ34a",yes:"yes___RSNa7",no:"no___stbbn",titlecount:"titlecount___o03Zo",add:"add___b7wEI",search:"search___BTzh4",searchIcon:"searchIcon___Qqqwp",tabWrap:"tabWrap___bhoWL",previewModal:"previewModal___EzPRC"},Gt=ee(44192),Fe={flex_box_center:"flex_box_center___ly5fd",flex_space_between:"flex_space_between___iYF6e",flex_box_vertical_center:"flex_box_vertical_center___J4dvr",flex_box_center_end:"flex_box_center_end___X7Gj4",flex_box_column:"flex_box_column___PP05z",warp:"warp___SZusg",shixunbutton:"shixunbutton___YA7HZ",redio:"redio___ntLVZ",redioitem:"redioitem___ZwKNR",redioitemyes:"redioitemyes___aR5S1",title:"title___lbEpK",titleyes:"titleyes___C03Hl",yestag:"yestag___checX",qcount:"qcount___Z7rc5",score:"score___I1olD",qtitle:"qtitle___XI0C3",checkbox:"checkbox___JyN6h",checkboxitem:"checkboxitem___Velm7",checkboxitemyes:"checkboxitemyes___ju19l",bottom:"bottom___TmVK0",bottomitem:"bottomitem___xqjDY",left:"left___WBZ8R",right:"right___u9EOe",completion:"completion___Q5y2a",content:"content___o8h2_",items:"items___m5b4M",simple:"simple___SVr7O",shixun:"shixun___jb8sL",combination:"combination___vizwt",program:"program___fMfXQ"},dn=ee(35883),$t=ee(24334);const ae=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var te=({qitem:St})=>{var Et,sn,Pn,Tn,Jt,wn,gn,Nn,An,rr;return b.createElement("div",{className:Fe.warp},b.createElement("div",{className:Fe.mainPart},b.createElement("div",{className:Fe.qcount},(St==null?void 0:St.question_type)===8&&b.createElement(dn.Z,{className:Fe.content,showProgramFill:!0,value:(Et=St==null?void 0:St.program_attr)==null?void 0:Et.description}),(St==null?void 0:St.question_type)!=8&&b.createElement(dn.Z,{className:Fe.qtitle,value:(St==null?void 0:St.name)||(St==null?void 0:St.title)})),((St==null?void 0:St.question_type)===0||(St==null?void 0:St.question_type)===2)&&b.createElement("div",null,(sn=St==null?void 0:St.choices)==null?void 0:sn.map((Qt,Yt)=>b.createElement("div",{className:Fe.redio},!(Qt!=null&&Qt.is_answer)&&b.createElement("span",{className:Fe.redioitem}),(Qt==null?void 0:Qt.is_answer)&&b.createElement("i",{className:`${Fe.redioitemyes} icon-duigou1`}),b.createElement(dn.Z,{className:Qt!=null&&Qt.is_answer?Fe.titleyes:Fe.title,value:ae[Yt]+(Qt==null?void 0:Qt.choice_text)}),(Qt==null?void 0:Qt.is_answer)&&b.createElement("div",{className:Fe.yestag},"\u6B63\u786E\u7B54\u6848")))),(St==null?void 0:St.question_type)===1&&b.createElement("div",null,(Pn=St==null?void 0:St.choices)==null?void 0:Pn.map((Qt,Yt)=>b.createElement("div",{className:Fe.checkbox},!(Qt!=null&&Qt.is_answer)&&b.createElement("span",{className:Fe.checkboxitem}),(Qt==null?void 0:Qt.is_answer)&&b.createElement("i",{className:`${Fe.checkboxitemyes} icon-duigou1`}),b.createElement(dn.Z,{className:Qt!=null&&Qt.is_answer?Fe.titleyes:Fe.title,value:ae[Yt]+(Qt==null?void 0:Qt.choice_text)}),(Qt==null?void 0:Qt.is_answer)&&b.createElement("div",{className:Fe.yestag},"\u6B63\u786E\u7B54\u6848")))),(St==null?void 0:St.question_type)===3&&b.createElement("div",{className:Fe.completion},(Tn=St==null?void 0:St.standard_answer)==null?void 0:Tn.map((Qt,Yt)=>{var xn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:Fe.title},"\u586B\u7A7A\u9879",Yt+1),b.createElement("div",{className:Fe.content},(xn=Qt==null?void 0:Qt.answer_text)==null?void 0:xn.map((Vn,jn)=>b.createElement("div",{className:Fe.items},Vn))))})),(St==null?void 0:St.question_type)===4&&b.createElement("div",{className:Fe.simple},b.createElement("div",{className:Fe.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Jt=St==null?void 0:St.answer_texts)!=null&&Jt[0]?b.createElement(dn.Z,{className:Fe.content,value:(wn=St==null?void 0:St.answer_texts)==null?void 0:wn[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(St==null?void 0:St.question_type)===5&&((gn=St==null?void 0:St.challenge_names)==null?void 0:gn.map((Qt,Yt)=>b.createElement("div",{className:Fe.shixun},b.createElement("span",{className:Fe.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Ue.EM)(Yt+1),"\u9898"),Qt)))),(St==null?void 0:St.question_type)===6&&b.createElement("div",{className:Fe.program},b.createElement(dn.Z,{className:Fe.content,value:((Nn=St==null?void 0:St.program_attr)==null?void 0:Nn.description)||"- -"})),(St==null?void 0:St.question_type)===7&&((An=St==null?void 0:St.sub_item_banks)==null?void 0:An.map((Qt,Yt)=>{var xn,Vn,jn,vt,Dt;return b.createElement("div",null,b.createElement("div",{className:Fe.combination},b.createElement("span",{className:Fe.qtitle},Qt==null?void 0:Qt.name)),b.createElement("div",{className:Fe.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Qt==null?void 0:Qt.item_type)=="SINGLE"||(Qt==null?void 0:Qt.item_type)=="JUDGMENT")&&((xn=Qt==null?void 0:Qt.choices)==null?void 0:xn.map((Te,gt)=>b.createElement("div",{className:Fe.redio},!(Te!=null&&Te.is_answer)&&b.createElement("span",{className:Fe.redioitem}),(Te==null?void 0:Te.is_answer)&&b.createElement("i",{className:`${Fe.redioitemyes} icon-duigou1`}),b.createElement(dn.Z,{className:Te!=null&&Te.is_answer?Fe.titleyes:Fe.title,value:ae[gt]+(Te==null?void 0:Te.choice_text)}),(Te==null?void 0:Te.is_answer)&&b.createElement("div",{className:Fe.yestag},"\u6B63\u786E\u7B54\u6848")))),(Qt==null?void 0:Qt.item_type)=="MULTIPLE"&&((Vn=Qt==null?void 0:Qt.choices)==null?void 0:Vn.map((Te,gt)=>b.createElement("div",{className:Fe.checkbox},!(Te!=null&&Te.is_answer)&&b.createElement("span",{className:Fe.checkboxitem}),(Te==null?void 0:Te.is_answer)&&b.createElement("i",{className:`${Fe.checkboxitemyes} icon-duigou1`}),b.createElement(dn.Z,{className:Te!=null&&Te.is_answer?Fe.titleyes:Fe.title,value:ae[gt]+(Te==null?void 0:Te.choice_text)}),(Te==null?void 0:Te.is_answer)&&b.createElement("div",{className:Fe.yestag},"\u6B63\u786E\u7B54\u6848")))),(Qt==null?void 0:Qt.item_type)=="COMPLETION"&&b.createElement("div",{className:Fe.completion},(jn=Qt==null?void 0:Qt.standard_answer)==null?void 0:jn.map((Te,gt)=>{var Ke;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:Fe.title},"\u586B\u7A7A\u9879",gt+1),b.createElement("div",{className:Fe.content},(Ke=Te==null?void 0:Te.answer_text)==null?void 0:Ke.map((wt,Ht)=>b.createElement("div",{className:Fe.items},wt))))})),(Qt==null?void 0:Qt.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:Fe.simple},b.createElement("div",{className:Fe.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(vt=Qt==null?void 0:Qt.answer_texts)!=null&&vt[0]?b.createElement(dn.Z,{className:Fe.content,value:(Dt=Qt==null?void 0:Qt.answer_texts)==null?void 0:Dt[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(St==null?void 0:St.question_type)===8&&b.createElement("div",null,b.createElement(dn.Z,{disabledFill:!0,className:Fe.content,showProgramFill:!0,value:$t.Base64.decode(((rr=St==null?void 0:St.program_attr)==null?void 0:rr.code)||"")})),(St==null?void 0:St.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(St==null?void 0:St.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(St==null?void 0:St.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(St==null?void 0:St.study_count)||"0"))),b.createElement("a",{className:Fe.shixunbutton,href:`/shixuns/${St==null?void 0:St.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((St==null?void 0:St.question_type)<=4||[6,8].includes(St==null?void 0:St.question_type))&&b.createElement("div",{className:Fe.bottom},b.createElement("div",{className:Fe.bottomitem},b.createElement("span",{className:Fe.left},"\u89E3\u6790"),b.createElement("span",{className:Fe.right},St!=null&&St.analysis?b.createElement(dn.Z,{value:St==null?void 0:St.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:Fe.bottomitem},b.createElement("span",{className:Fe.left},"\u96BE\u5EA6"),b.createElement("span",{className:Fe.right},(St==null?void 0:St.difficulty)===1?"\u7B80\u5355":(St==null?void 0:St.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:Fe.bottomitem},b.createElement("span",{className:Fe.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:Fe.right},St!=null&&St.tag_discipline?St==null?void 0:St.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},ie=ee(77264),de=ee(59435),re=ee(46861),le=ee(61485),Se=ee(30935),Ge=ee(59301),He=Object.defineProperty,Le=Object.defineProperties,rt=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Be=(St,Et,sn)=>Et in St?He(St,Et,{enumerable:!0,configurable:!0,writable:!0,value:sn}):St[Et]=sn,Ut=(St,Et)=>{for(var sn in Et||(Et={}))At.call(Et,sn)&&Be(St,sn,Et[sn]);if(ut)for(var sn of ut(Et))Ne.call(Et,sn)&&Be(St,sn,Et[sn]);return St},Zt=(St,Et)=>Le(St,rt(Et)),mn=(St,Et,sn)=>new Promise((Pn,Tn)=>{var Jt=Nn=>{try{gn(sn.next(Nn))}catch(An){Tn(An)}},wn=Nn=>{try{gn(sn.throw(Nn))}catch(An){Tn(An)}},gn=Nn=>Nn.done?Pn(Nn.value):Promise.resolve(Nn.value).then(Jt,wn);gn((sn=sn.apply(St,Et)).next())});const vn=({setScoreShow:St,ScoreShow:Et,onOk:sn,isshixuns:Pn,isloadings:Tn,dispatch:Jt,selectedIds:wn,user:gn,virtualId:Nn,shixunsDetail:An})=>{var rr;let[Qt,Yt]=(0,b.useState)({type:"0",page:1,per_page:10,updated_at:"",quotes:"",item_type:"PROGRAM"}),[xn,Vn]=(0,b.useState)([]),[jn,vt]=(0,b.useState)([]),[Dt,Te]=(0,b.useState)([]),[gt,Ke]=(0,b.useState)([]);const[wt,Ht]=(0,b.useState)(!1),[Hn]=pe.default.useForm(),[Jn,lt]=(0,b.useState)(),[mt,pt]=(0,b.useState)(!1);let[xt,fn]=(0,b.useState)(Pn);const[In,pn]=(0,b.useState)([]),[Sn,$n]=(0,b.useState)(0),[qn,ur]=(0,b.useState)(!0),[tr,Xn]=(0,b.useState)([]),[or,dr]=(0,b.useState)([]),br=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}],[vr,Tr]=(0,b.useState)([]),Br=(0,b.useRef)(new Set),cr=(0,b.useRef)(new Set),Er=(0,b.useRef)(1),Wr=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Rr=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Sr=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Fr,$r]=(0,b.useState)(!1),wr=()=>{Hn.resetFields(),xt=!1,fn(!1),$r(!1),Hn.submit()};(0,b.useEffect)(()=>{Et&&(Hn.setFieldsValue({item_type:"",courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,teach_group_id:null}),qn&&xt&&(Hn.setFieldsValue({item_type:"SHIXUN"}),Qt.item_type="SHIXUN",Yt(Ut({},Qt)),ur(!1)),Qt.type="0",vt(wn),Te(wn),cr.current=new Set(wn),gr(Qt),yr(),Xr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),go())},[Et]),console.log(jn,Dt,"listitems"),(0,b.useEffect)(()=>{Sn>0&&setTimeout(()=>{$n(0)},2e3)},[Sn]);function gr(Ze){return mn(this,null,function*(){var dt,at,Mt;if(Ht(!0),Yt(Ut({},Ze)),(Dt==null?void 0:Dt.length)<=0&&Ze.type==="5"){Ke([]),Ht(!1);return}let Bt=Ze.type==="5"?Dt==null?void 0:Dt.filter(Ln=>!In.includes(Ln)):null,Wt=Ze.type==="5"?Dt==null?void 0:Dt.filter(Ln=>In.includes(Ln)):null;Er.current=Er.current+1;const En=Er.current;let Rn={course_discipline_id:Ze==null?void 0:Ze.courseid};(Ze==null?void 0:Ze.type)==="1"&&(Rn={discipline_id:((dt=Ze==null?void 0:Ze.courseid)==null?void 0:dt[0])||null,sub_discipline_id:((at=Ze==null?void 0:Ze.courseid)==null?void 0:at[1])||null});let hn=yield(0,Xt.ZP)("/api/item_banks.json",{method:"get",params:Zt(Ut(Ut({},Ze),Rn),{ids:Bt,shixun_ids:Wt,include_shixuns:!0,group_id:((Mt=Ze.group_id)==null?void 0:Mt.map(Ln=>Ln==null?void 0:Ln.value))||null,keyword:Ze.keyword?encodeURIComponent(Ze.keyword):Ze.keyword,type:Ze.type==="5"?null:Ze.type,clazz:Ze.type==="3"?"ItemBanksGroup":null})});Er.current===En&&(Ke(hn),Ht(!1))})}function yr(){return mn(this,null,function*(){let Ze=yield(0,Xt.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Qt.type==="5"?null:Qt.type,clazz:"ItemBanksGroup"}});Vn((0,Gt.L)(Ze==null?void 0:Ze.disciplines))})}function Xr(Ze){return mn(this,null,function*(){var dt;let at=yield(0,Xt.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Ze}),Mt=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(dt=at==null?void 0:at.data)==null?void 0:dt.map(Bt=>({title:Bt.name,id:Bt.id,pid:Bt.id,value:Bt.id,key:Bt.id,isLeaf:!Bt.have_child}))}];Xn(Mt)})}function go(){return mn(this,null,function*(){let Ze=yield(0,re.Dm)({});(Ze==null?void 0:Ze.status)===0&&dr(Ze==null?void 0:Ze.groups)})}function So(Ze){return mn(this,null,function*(){var dt,at,Mt,Bt;Ht(!0);let Wt=(dt=Ze.list)==null?void 0:dt.filter(Ln=>!In.includes(Ln)),En=(at=Ze.list)==null?void 0:at.filter(Ln=>In.includes(Ln));if(Wt.length===0&&En.length===0){Ht(!1),Ke([]);return}let Rn={course_discipline_id:Ze==null?void 0:Ze.courseid};(Ze==null?void 0:Ze.type)==="1"&&(Rn={discipline_id:((Mt=Ze==null?void 0:Ze.courseid)==null?void 0:Mt[0])||null,sub_discipline_id:((Bt=Ze==null?void 0:Ze.courseid)==null?void 0:Bt[1])||null});let hn=yield(0,Xt.ZP)("/api/item_banks.json",{method:"get",params:Zt(Ut(Ut({},Ze),Rn),{ids:Wt,shixun_ids:En,type:Ze.type==="5"?null:Ze.type,clazz:Ze.type==="3"?"ItemBanksGroup":null})});Ht(!1),Ke(hn)})}const to=Ze=>mn(void 0,null,function*(){const dt=yield Jt({type:"shixunsDetail/release",payload:{id:Ze}});let at=dt==null?void 0:dt.tag_position,Mt=(dt==null?void 0:dt.evaluation_set_position)||[],Bt=dt.status;return Bt===0?(Ie.ZP.success("\u53D1\u5E03\u6210\u529F"),gr(Qt),!0):(Bt===2?Ie.ZP.error(`\u7B2C${Mt.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Bt===3?Ie.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${at.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ie.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),io=Ze=>(Ze==null?void 0:Ze.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",Oe=()=>wt?"\u6682\u65E0\u6570\u636E":Qt.type==="3"&&!(or!=null&&or.length)?Ge.createElement("span",null,"\u4F60\u8FD8\u672A\u52A0\u5165\u6559\u7814\u56E2\u961F\uFF0C\u8BF7\u5148 ",Ge.createElement("span",{onClick:()=>{var Ze;return(0,Ue.xg)(`/users/${(Ze=gn==null?void 0:gn.userInfo)==null?void 0:Ze.login}/teach-group`)},style:{color:"#3061D0",cursor:"pointer"}},"\u65B0\u521B\u5EFA\u6559\u7814\u56E2\u961F")):Qt.type==="0"&&(gt==null?void 0:gt.items_count)===0&&!(Qt!=null&&Qt.tag_discipline_id)&&!(Qt!=null&&Qt.difficulty)&&!(Qt!=null&&Qt.keyword)&&!(Qt!=null&&Qt.group_id)&&!(Qt!=null&&Qt.difficulty)?Ge.createElement("span",null,"\u4F60\u8FD8\u672A\u521B\u5EFA\u8FC7\u7F16\u7A0B\u9898\uFF0C\u8BF7\u5148 ",Ge.createElement("span",{onClick:()=>{(0,Ue.xg)(`/problems/newcreate?&pageId=${Nn}`),St(!1)},style:{color:"#3061D0",cursor:"pointer"}},"\u521B\u5EFA\u7F16\u7A0B\u9898")):"\u6682\u65E0\u6570\u636E",We=(Ze,dt,at)=>Ze.map(Mt=>Mt.key===dt?Ut(Ut({},Mt),at):Mt.children?Zt(Ut({},Mt),{children:We(Mt.children,dt,at)}):Mt),bt=Ze=>mn(void 0,null,function*(){const{key:dt}=Ze;let at=Qt.type;const Mt=yield(0,re.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(dt),type:at}),{data:Bt,total_count:Wt}=Mt||{};Wt>0&&Xn(En=>We(En,dt,{children:Bt.map(Rn=>({title:Rn.name,id:Rn.id,pid:Rn.id,value:Rn.id,key:Rn.id,isLeaf:!Rn.have_child}))}))});return Ge.createElement("div",null,Ge.createElement(yt.default,{title:!1,footer:!1,open:Et,width:1200,centered:!0,className:Xe.scoremodal,onCancel:()=>{St(!1)}},Ge.createElement("div",{style:{display:"flex",alignItems:"center"}},Ge.createElement("div",{className:Xe.title},"\u9009\u62E9\u7F16\u7A0B\u9898")),Ge.createElement(Vt.default,{className:Xe.tabWrap,activeKey:Qt.type,onChange:Ze=>{Ze==="3"?(Qt.show_all_share=!0,Xr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Qt.show_all_share=null,Ze==="0"&&Xr({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Qt.type=Ze,Qt.page=1,Qt.updated_at="",Qt.quotes="",Qt.courseid=null,Qt.tag_discipline_id=null,Qt.difficulty=null,Qt.keyword=null,Qt.group_id=null,Qt.teach_group_id=null,Hn.setFieldsValue({courseid:null,tag_discipline_id:null,difficulty:null,keyword:null,group_id:[],teach_group_id:null}),(Qt==null?void 0:Qt.item_type)==="SHIXUN"&&Qt.type!=="5"&&(xt=!0,fn(!0)),$r(!1),Qt.type==="5"&&(xt=!1,fn(!1)),Yt(Ut({},Qt)),gr(Ut({},Qt)),yr()},items:[{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u516C\u5171",key:"1"},{label:Ge.createElement("div",null,"\u5DF2\u9009",Dt.length>0&&Ge.createElement("span",{className:Xe.titlecount},Dt.length),Sn>0&&Ge.createElement("span",{className:Xe.add},"+",Sn)),key:"5"}]}),Ge.createElement(pe.default,{layout:"inline",form:Hn,onValuesChange:(Ze,dt)=>{const at=Object.values(dt).some(Bt=>Bt!==null&&Bt!==""&&Bt!==void 0),Mt=dt.keyword==="";if($r(at||!Mt),Qt.page=1,(dt==null?void 0:dt.item_type)==="SHIXUN"){if(Qt.type==="5"?fn(!1):fn(!0),Ze.keyword||Ze.keyword==="")return;Hn.submit()}else{if(Ze!=null&&Ze.courseid&&Hn.setFieldsValue({tag_discipline_id:null}),fn(!1),Ze.keyword||Ze.keyword==="")return;Hn.submit()}},onFinish:Ze=>{var dt;Qt.type==="3"&&(!Ze.group_id||((dt=Ze==null?void 0:Ze.group_id)==null?void 0:dt.length)===0)?Qt.show_all_share=!0:Qt.show_all_share=null,Yt(Ut(Ut({},Qt),Ze)),gr(Ut(Ut({},Qt),Ze))}},Qt.type=="1"?Ge.createElement(pe.default.Item,{name:"courseid"},Ge.createElement(Lt.Z,{className:Xe.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:xn})):Ge.createElement(pe.default.Item,{name:"courseid"},Ge.createElement(Se.q,{style:{width:160,height:38},size:"middle",showLinkButton:!1,data:{container_type:"ItemBank",type:Qt==null?void 0:Qt.type}})),!xt&&Ge.createElement(pe.default.Item,{name:"tag_discipline_id"},Ge.createElement(me.default,{className:Xe.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(rr=gt==null?void 0:gt.tag_disciplines)==null?void 0:rr.map(Ze=>Ge.createElement(me.default.Option,{key:Ze.id},Ze.name)))),Ge.createElement(pe.default.Item,{name:xt?"diff":"difficulty"},Ge.createElement(me.default,{className:Xe.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!xt&&Wr.map(Ze=>Ge.createElement(me.default.Option,{key:Ze.value},Ze.name)),xt&&Rr.map(Ze=>Ge.createElement(me.default.Option,{key:Ze.value},Ze.name)))),xt&&Ge.createElement(pe.default.Item,{name:"shixun_publish_status"},Ge.createElement(me.default,{className:Xe.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Sr.map(Ze=>Ge.createElement(me.default.Option,{key:Ze.value},Ze.name)))),Qt.type==="3"&&!xt&&Ge.createElement(pe.default.Item,{name:"teach_group_id"},Ge.createElement(me.default,{className:Xe.selectWrapper,placeholder:"\u56E2\u961F",style:{width:118},size:"middle",showSearch:!0,allowClear:!0,filterOption:(Ze,dt)=>(console.log("---",Ze,dt),dt.children.toUpperCase().indexOf(Ze.toUpperCase())!==-1)},or==null?void 0:or.map(Ze=>Ge.createElement(me.default.Option,{key:Ze.group_id},Ze.name)))),(Qt.type==="3"||Qt.type==="0")&&!xt&&Ge.createElement(pe.default.Item,{name:"group_id"},Ge.createElement(qe.default,{treeDataSimpleMode:!0,style:{width:134},className:Xe.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(Ze,dt)=>dt.title.toUpperCase().indexOf(Ze.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:bt,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:tr})),Fr&&Ge.createElement("span",{className:Xe.allqingchu,onClick:wr},Ge.createElement("i",{className:"iconfont icon-guanbi4"}),Ge.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Ge.createElement(pe.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Ge.createElement($e.default.Search,{className:Xe.search,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u9898\u7F16\u53F7\u6216\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Ge.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Xe.searchIcon}`,onClick:()=>Hn.submit()}),onSearch:Ze=>{Hn.submit()}}))),Ge.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Ge.createElement("div",{onClick:()=>{Qt.updated_at==="asc"?Qt.updated_at="desc":Qt.updated_at="asc",Yt(Zt(Ut({},Qt),{page:1})),gr(Zt(Ut({},Qt),{page:1}))}}," ",Qt.updated_at?Ge.createElement("img",{src:Qt.updated_at==="asc"?ie.Z:de.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ge.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Ge.createElement("div",{onClick:()=>{Qt.quotes==="asc"?Qt.quotes="desc":Qt.quotes="asc",Yt(Zt(Ut({},Qt),{page:1})),gr(Zt(Ut({},Qt),{page:1}))},style:{marginLeft:20}}," ",Qt.quotes?Ge.createElement("img",{src:Qt.quotes==="asc"?ie.Z:de.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Ge.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Ge.createElement(tt.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(gt==null?void 0:gt.items)||(gt==null?void 0:gt.shixun_list),pagination:!1,locale:{emptyText:Ge.createElement(nt.Z,{styles:{margin:"18px auto"},customText:Oe()})},loading:wt,rowKey:Ze=>Ze.id,rowSelection:{type:"checkbox",selectedRowKeys:jn,getCheckboxProps:Ze=>({disabled:Ze.shixun_tag_num===1}),onSelect(Ze,dt,at){if(dt)xt&&pn([...In,Ze.id]),vt([...jn,Ze.id]),Tr([...vr,Ze]),Ze.identifier?Br.current.add(Ze.id):cr.current.add(Ze.id),$n(1),Te([...Dt,Ze.id]);else{const Mt=vr.filter(En=>En.id!==Ze.id);Tr(Mt);const Bt=Mt.map(En=>En.id);vt([...Bt]),Ze.identifier?Br.current.delete(Ze.id):cr.current.delete(Ze.id);let Wt=Dt.filter(En=>En!==Ze.id);if(Te(Wt),xt){let En=In.filter(Rn=>Rn!==Ze.id);pn([...En])}if(Qt.type==="5"){So(Zt(Ut({},Qt),{list:[...Wt]}));return}}},onSelectAll(Ze,dt,at){if(Ze){const Mt=at.map(Bt=>Bt.id);xt&&pn([...In,...Mt]),Tr([...vr,...at]),vt([...jn,...Mt]),Te([...Dt,...Mt]);for(const Bt of at)Bt.identifier?Br.current.add(Bt.id):cr.current.add(Bt.id)}else{const Mt=at.map(En=>En.id),Bt=jn.filter(En=>!Mt.some(Rn=>Rn===En)),Wt=vr.filter(En=>!Mt.some(Rn=>Rn===En.id));if(Tr(Wt),vt([...Bt]),Te([...Bt]),xt){let En=In.filter(Rn=>!Mt.some(hn=>hn===Rn.id));pn([...En])}Qt.type==="5"&&So(Zt(Ut({},Qt),{list:[...Bt]}));for(const En of Mt)En.identifier?Br.current.delete(En):cr.current.delete(En)}}},columns:[{title:"\u8BD5\u9898\u7F16\u53F7",dataIndex:"id",key:"id",width:110,render:(Ze,dt,at)=>{const Mt=`No.${Ze}`;return Ge.createElement(be.Z,{title:Mt},Ge.createElement("span",null,Mt))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:xt?"30%":"60%",key:"name",render:(Ze,dt,at)=>{var Mt;return Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("span",null,Ge.createElement(dn.Z,{key:1,showLines:1,showTextOnly:!0,value:xt||dt!=null&&dt.challenge_names?dt!=null&&dt.title||Ze===null?"--":Ze:(dt==null?void 0:dt.item_type)=="BPROGRAM"?(Mt=dt==null?void 0:dt.program_attr)==null?void 0:Mt.description:Ze})))}},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",key:"tag_discipline",ellipsis:!0,width:150,render:(Ze,dt,at)=>Ge.createElement(be.Z,{title:Ze},Ge.createElement("span",null,Ze||"- -"))},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!xt,render:(Ze,dt,at)=>{var Mt;return Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("span",null,Ze?(Mt=Ze==null?void 0:Ze.split("\u3001"))==null?void 0:Mt[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!xt,render:(Ze,dt,at)=>Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("span",null,Ze||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",width:50,render:(Ze,dt,at)=>{var Mt,Bt,Wt,En;return Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("div",null,xt||dt!=null&&dt.challenge_names?(dt==null?void 0:dt.level)||((Bt=(Mt=Wr==null?void 0:Wr.filter(Rn=>Rn.value===Ze))==null?void 0:Mt[0])==null?void 0:Bt.name):(En=(Wt=Wr==null?void 0:Wr.filter(Rn=>Rn.value===Ze))==null?void 0:Wt[0])==null?void 0:En.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!xt,render:(Ze,dt,at)=>Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("div",null,Ze||"- -"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",width:74,render:(Ze,dt,at)=>Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("div",null,xt||dt!=null&&dt.challenge_names?(dt==null?void 0:dt.study_count)||(dt==null?void 0:dt.stu_num):Ze))},{title:Ge.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Ge.createElement(be.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Ge.createElement(le.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!xt,render:(Ze,dt,at)=>Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("div",null,Ze||"- -"))},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",width:50,align:"right",render:(Ze,dt,at)=>Ge.createElement(be.Z,{title:io(dt)},Ge.createElement("div",{style:{flex:1,textAlign:"start"}},Ge.createElement("a",{onClick:()=>{var Mt,Bt;lt(Zt(Ut({},dt),{question_type:xt||dt!=null&&dt.challenge_names?5:(Bt=(Mt=br==null?void 0:br.filter(Wt=>Wt.value===(dt==null?void 0:dt.item_type)))==null?void 0:Mt[0])==null?void 0:Bt.question_type})),pt(!0)}},"\u67E5\u770B"),(dt==null?void 0:dt.shixun_tag_num)===1&&Ge.createElement("a",{style:{marginLeft:10},onClick:()=>{yt.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Ge.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Ge.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${dt==null?void 0:dt.identifier}/challenges`)}},(dt==null?void 0:dt.shixun_name)||"--"),"\uFF1F"),onOk:()=>mn(void 0,null,function*(){if(!to(dt==null?void 0:dt.identifier))return new Promise((Mt,Bt)=>{Bt()})})})}},"\u53D1\u5E03")))}].filter(Ze=>!Ze.hidden)}),Ge.createElement(it.Z,{current:Qt.page,total:(gt==null?void 0:gt.items_count)||(gt==null?void 0:gt.shixuns_count),style:{marginBottom:20},defaultPageSize:Qt.per_page,hideOnSinglePage:!(gt!=null&>.items_count),showTotal:Ze=>Ge.createElement("span",null,"\u5171\xA0",Ge.createElement("span",{style:{color:"#165DFF"}},Ze),"\xA0\u6761\u6570\u636E"),pageSize:Qt.per_page,onChange:(Ze,dt)=>{Qt.page=Ze,Qt.per_page=dt,Yt(Ut({},Qt)),gr(Ut({},Qt))}}),Ge.createElement("div",{className:Xe.bottom},Ge.createElement(st.ZP,{className:Xe.no,onClick:()=>{St(!1)}},"\u53D6\u6D88"),Ge.createElement(st.ZP,{loading:Tn,style:{width:Tn&&75},className:Xe.yes,onClick:()=>mn(void 0,null,function*(){if((Dt==null?void 0:Dt.length)<=0){Ie.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}sn([...cr.current],[...Br.current],!0,Dt==null?void 0:Dt.length)})},"\u786E\u8BA4"))),Ge.createElement(yt.default,{open:mt,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Xe.previewModal,width:1e3,centered:!0,onCancel:()=>{pt(!1)},onOk:()=>{pt(!1)}},Ge.createElement(te,{qitem:Jn})))};var jt=(0,Re.connect)(({shixunsDetail:St,user:Et})=>({shixunsDetail:St,user:Et}))(vn),Cn=ee(66649),on=ee.n(Cn),Je=ee(78130),Tt=ee(63392),an=ee(3761),_t=ee(59301),je=Object.defineProperty,Pt=Object.defineProperties,Kt=Object.getOwnPropertyDescriptors,nn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,nr=(St,Et,sn)=>Et in St?je(St,Et,{enumerable:!0,configurable:!0,writable:!0,value:sn}):St[Et]=sn,ir=(St,Et)=>{for(var sn in Et||(Et={}))On.call(Et,sn)&&nr(St,sn,Et[sn]);if(nn)for(var sn of nn(Et))_n.call(Et,sn)&&nr(St,sn,Et[sn]);return St},Zn=(St,Et)=>Pt(St,Kt(Et)),er=(St,Et,sn)=>new Promise((Pn,Tn)=>{var Jt=Nn=>{try{gn(sn.next(Nn))}catch(An){Tn(An)}},wn=Nn=>{try{gn(sn.throw(Nn))}catch(An){Tn(An)}},gn=Nn=>Nn.done?Pn(Nn.value):Promise.resolve(Nn.value).then(Jt,wn);gn((sn=sn.apply(St,Et)).next())});const kn=({title:St,icon:Et,className:sn,style:Pn,children:Tn})=>_t.createElement("div",{className:et()(Me.card,sn),style:Pn},_t.createElement("div",{className:Me.head},_t.createElement("i",{className:Et}),_t.createElement("b",null,St)),_t.createElement("div",{className:Me.element},Tn));var bn=()=>{var St;const Et=(0,Re.useParams)(),sn=(0,Re.useDispatch)(),[Pn]=pe.default.useForm(),Tn=pe.default.useWatch("hack_score_settings",Pn),[,,Jt,wn]=(0,Tt.U)(an.lk,{id:Et.pathId}),[gn,Nn]=(0,b.useState)([]),[An,rr]=(0,b.useState)(!0),[Qt,Yt]=(0,b.useState)(!1),[xn,Vn]=(0,b.useState)(!1),[jn,vt]=(0,b.useState)({}),[Dt,Te]=(0,b.useState)(!1),[gt,Ke]=(0,b.useState)(!1),wt=(0,b.useRef)(String(Math.random()).slice(-6)),Ht=(St=window.location.pathname)==null?void 0:St.includes("add");(0,b.useEffect)(()=>(window.addEventListener("visibilitychange",Hn),()=>{window.removeEventListener("visibilitychange",Hn)}),[gn,jn]),(0,b.useEffect)(()=>(sn({type:"globalSetting/footerToggle",payload:!1}),()=>{sn({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,b.useEffect)(()=>{gn.length&&Tn!==void 0&&xt()},[Tn,JSON.stringify(gn==null?void 0:gn.map(pn=>pn.id+pn.hack_score))]),(0,b.useEffect)(()=>{Jt({id:Et==null?void 0:Et.pathId}),Ht?rr(!1):Jn()},[]);const Hn=()=>er(void 0,null,function*(){var pn;if(document.visibilityState==="visible"){Ke(!0);let Sn=gn.map(ur=>ur.id),$n=localStorage.getItem(wt.current);$n&&($n=JSON.parse($n),$n=Array.isArray($n)?$n:[],Sn=[...Sn,...$n],localStorage.removeItem(wt.current));const qn=yield(0,Xt.ZP)("/api/item_banks.json",{method:"get",params:{hack_item_bank_ids:Sn.length?Sn:-1,homework_common_id:Ht?null:jn==null?void 0:jn.homework_id}});if(qn!=null&&qn.items){const ur=(pn=qn==null?void 0:qn.items)==null?void 0:pn.map(tr=>{const Xn=gn.find(or=>or.id===tr.id);return Xn?Zn(ir({},tr),{hack_score:Xn.hack_score}):tr});Nn(ur)}Ke(!1)}}),Jn=()=>er(void 0,null,function*(){var pn,Sn;const $n=yield(0,Xt.ZP)(`/api/homework_commons/${Et==null?void 0:Et.categoryId}/edit_hack.json`,{method:"get"});if(($n==null?void 0:$n.status)===0){const qn=(pn=$n==null?void 0:$n.collaborators_data)==null?void 0:pn.map(tr=>({user_id:tr.id,name:tr.real_name}));Pn.setFieldsValue(Zn(ir({},$n),{user_ids:qn,rank_forbidden_start:$n!=null&&$n.rank_forbidden_start?on()($n==null?void 0:$n.rank_forbidden_start):"",rank_forbidden_end:$n!=null&&$n.rank_forbidden_end?on()($n==null?void 0:$n.rank_forbidden_end):""}));const ur=(Sn=$n==null?void 0:$n.items)==null?void 0:Sn.map((tr,Xn)=>{var or,dr;return Zn(ir({},tr),{hack_score:(dr=(or=$n==null?void 0:$n.hack_settings)==null?void 0:or[Xn])==null?void 0:dr.hack_score})});Nn(ur||[]),vt(ir({},$n))}rr(!1)}),lt=()=>{let pn=`/paths/${Et==null?void 0:Et.pathId}`;return Ht||(pn=`/paths/${Et==null?void 0:Et.pathId}/${Et==null?void 0:Et.stageId}/program_homework/${Et==null?void 0:Et.categoryId}/add`),pn},mt=[{name:(wn==null?void 0:wn.name)||"",path:`/paths/${Et==null?void 0:Et.pathId}`},{name:Ht?"\u7F16\u7A0B\u4F5C\u4E1A":jn==null?void 0:jn.name,path:lt()},{name:(Ht?"\u65B0\u5EFA":"\u7F16\u8F91")+"\u7F16\u7A0B\u4F5C\u4E1A"}],pt=[{title:"\u5E8F\u53F7",dataIndex:"index",width:80,render:(pn,Sn,$n)=>$n+1},{title:"\u6807\u9898",dataIndex:"name",ellipsis:!0,render:pn=>_t.createElement(be.Z,{placement:"topLeft",title:pn},_t.createElement("span",null,pn||"--"))},{title:"\u5206\u503C",dataIndex:"hack_score",render:(pn,Sn,$n)=>_t.createElement(Ve.Z,{disabled:Tn!==2,size:"middle",min:0,precision:1,addonAfter:"\u5206",value:pn,onChange:qn=>{gn[$n].hack_score=qn;const ur=gn.reduce((tr,Xn)=>tr+Number(Xn.hack_score||0),0);Pn.setFieldsValue({total_score:ur.toFixed(2)}),Nn([...gn])}})},{title:"\u96BE\u5EA6",dataIndex:"difficulty",align:"center",width:90,render:pn=>_t.createElement("span",null,pn===1?"\u7B80\u5355":pn===2?"\u4E2D\u7B49":"\u56F0\u96BE")},{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline",render:pn=>_t.createElement(be.Z,{placement:"topLeft",title:pn},_t.createElement("span",{style:{backgroundColor:"#ECFAF5",color:"#1B8565",overflow:"hidden",textOverflow:"ellipsis",padding:"2px 6px"}},pn||"--"))},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes"},{title:"\u64CD\u4F5C",dataIndex:"action",width:146,render:(pn,Sn)=>_t.createElement("span",null,_t.createElement("span",{onClick:()=>er(void 0,null,function*(){var $n;sn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u521D\u59CB\u5316\uFF0C\u8BF7\u7A0D\u540E..."}});let qn=yield(0,Xt.ZP)(`/api/problems/${($n=Sn==null?void 0:Sn.program_attr)==null?void 0:$n.identifier}/start.json`,{method:"get"});(qn==null?void 0:qn.status)===0&&(0,Ue.xg)(`/myproblems/${qn==null?void 0:qn.identifier}?type=1&pageId=edit&backUrl=${lt()}`),sn({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),className:"c-light-primary current"},"\u4F53\u9A8C"),_t.createElement("span",{onClick:()=>{var $n;return(0,Ue.xg)(`/problems/newedit/${($n=Sn==null?void 0:Sn.program_attr)==null?void 0:$n.identifier}?type=1&pageId=edit&backUrl=${window.location.pathname}`)},className:"c-light-primary current mr20 ml20"},"\u7F16\u8F91"),_t.createElement("span",{onClick:()=>{const $n=gn.filter(qn=>qn.id!==Sn.id);Nn($n),Ie.ZP.success("\u5220\u9664\u6210\u529F")},className:"current",style:{color:"#E30000"}},"\u5220\u9664"))}],xt=()=>{const pn=[...gn],Sn=Pn.getFieldValue("total_score"),$n=pn==null?void 0:pn.length;let qn=0,ur;switch(Tn){case 0:const tr=(Sn/$n).toFixed(2);pn.map((cr,Er)=>{qn=Er,cr.hack_score=tr>0?tr:0}),ur=(Sn-tr*($n-1)).toFixed(2),pn[qn].hack_score=ur>0?ur:0;break;case 1:const Xn=[0,1,3,6];let or=0;const dr=pn.filter(cr=>cr.difficulty===1).length*Xn[1],br=pn.filter(cr=>cr.difficulty===2).length*Xn[2],vr=pn.filter(cr=>cr.difficulty===3).length*Xn[3],Tr=Sn/(dr+br+vr);pn.map((cr,Er)=>{qn=Er,cr.hack_score=(Xn[cr.difficulty]*Tr).toFixed(2),or=or+Number(cr.hack_score)});let Br=pn[qn].hack_score;ur=(Sn-or+Number(Br)).toFixed(2),pn[qn].hack_score=ur>0?ur:0;break}Nn(pn)},fn=pn=>er(void 0,null,function*(){if(!gn.length){Ie.ZP.error("\u672A\u8BBE\u7F6E\u7F16\u7A0B\u9898\uFF0C\u8BF7\u6DFB\u52A0\u7F16\u7A0B\u9898"),Pn.scrollToField("hack_score_settings",{behavior:"smooth",block:"center"});return}Te(!0);const Sn=yield(0,Xt.ZP)(`/api/paths/${Et==null?void 0:Et.pathId}/create_hack_homework`,{method:"post",body:Zn(ir({},pn),{type:5,category:Ht?Number(Et==null?void 0:Et.categoryId):null,hack_ids:gn.map($n=>$n==null?void 0:$n.hack_id),stage_id:Number(Et==null?void 0:Et.stageId),stage_shixun_id:Number(Et==null?void 0:Et.categoryId)})});(Sn==null?void 0:Sn.status)===0&&(Ie.ZP.success("\u4FDD\u5B58\u6210\u529F"),Re.history.push(`/paths/${Et==null?void 0:Et.pathId}`)),Te(!1)}),In=pn=>er(void 0,null,function*(){if(!pn.length){Ie.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u9898");return}if(pn.length>200){Ie.ZP.warning("\u7F16\u7A0B\u9898\u6570\u91CF\u4E0D\u5F97\u8D85\u8FC7200\u9053");return}const Sn=[],$n=gn.map(tr=>{var Xn;return(Xn=tr.program_attr)==null?void 0:Xn.origin_item_bank_id}),qn=[];pn.forEach(tr=>{if($n.includes(tr)){const Xn=gn.find(or=>{var dr;return((dr=or.program_attr)==null?void 0:dr.origin_item_bank_id)===tr});qn.push(Xn)}else Sn.push(tr)}),Vn(!0);const ur=yield(0,Xt.ZP)("/api/problems/copy_item_banks.json",{method:"post",body:{ids:Sn}});if(ur!=null&&ur.items){const tr=[...qn,...ur==null?void 0:ur.items];if(Tn===2){const Xn=tr.reduce((or,dr)=>or+Number(dr.hack_score||0),0);Pn.setFieldsValue({total_score:Xn.toFixed(2)})}Nn(tr),Yt(!1)}Vn(!1)});return _t.createElement("div",{className:Me.wrap},_t.createElement(ue.Z,{spinning:An},_t.createElement("div",{className:Me.center,style:{paddingBottom:"80px"}},_t.createElement(Pe._b,{dataSource:mt,className:"mb20"}),_t.createElement(pe.default,{form:Pn,preserve:!1,onValuesChange:pn=>{"total_score"in pn&&xt()},onFinishFailed:pn=>er(void 0,null,function*(){var Sn,$n;Ie.ZP.error(pn.errorFields[0].errors[0]),Pn.scrollToField(($n=(Sn=pn==null?void 0:pn.errorFields)==null?void 0:Sn[0])==null?void 0:$n.name,{behavior:"smooth",block:"center"})}),onFinish:fn,colon:!1,size:"large"},_t.createElement(kn,{className:"mb20",title:"\u57FA\u672C\u4FE1\u606F",icon:"iconfont icon-jibenxinxi2"},_t.createElement(pe.default.Item,{label:"\u4F5C\u4E1A\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0"},{whitespace:!0,message:"\u4F5C\u4E1A\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},_t.createElement($e.default,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u540D\u79F0",showCount:!0,maxLength:60})),_t.createElement(pe.default.Item,{labelCol:{flex:"81px"},label:"\u4F5C\u4E1A\u8BF4\u660E",name:"description",initialValue:"",rules:[{max:5e4,message:"\u4F5C\u4E1A\u8BF4\u660E\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26"}]},_t.createElement(Je.h,{placeholder:"\u8BF7\u8F93\u5165\u4F5C\u4E1A\u8BF4\u660E\uFF0C\u6700\u5927\u9650\u523650000\u4E2A\u5B57\u7B26",watch:!0,scrollId:"description"}))),_t.createElement(kn,{title:"\u9898\u76EE\u8BBE\u7F6E",icon:"iconfont icon-timushezhi"},_t.createElement(pe.default.Item,{label:"\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00",name:"languages",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BD5\u9898\u7F16\u7A0B\u8BED\u8A00"}]},_t.createElement(Ee.default.Group,null,_t.createElement(Ee.default,{value:"c"},"C\u8BED\u8A00"),_t.createElement(Ee.default,{value:"c++"},"C++\u8BED\u8A00"),_t.createElement(Ee.default,{value:"java"},"Java\u8BED\u8A00"),_t.createElement(Ee.default,{value:"python"},"Python\u8BED\u8A00"))),_t.createElement(Rt.Z,{align:"middle"},_t.createElement(pe.default.Item,{label:"\u603B\u5206\u503C",name:"total_score",rules:[{required:!0,message:"\u603B\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A"}],initialValue:100},_t.createElement(Ve.Z,{precision:1,disabled:Tn===2,min:0,style:{width:223},addonAfter:"\u5206"})),_t.createElement(pe.default.Item,{label:"\u6D4B\u8BC4\u5355\u6B21\u62A5\u9519\u589E\u52A0\u65F6\u957F",name:"punish_time",initialValue:0,style:{marginLeft:40}},_t.createElement(Ve.Z,{min:0,style:{width:223},addonAfter:"\u5206\u949F"}))),_t.createElement(pe.default.Item,{label:"\u8BD5\u9898\u5206\u503C",name:"hack_score_settings",initialValue:0},_t.createElement(ot.ZP.Group,null,_t.createElement(ot.ZP,{value:0},"\u5747\u5206\u6BD4\u4F8B"),_t.createElement(ot.ZP,{style:{margin:"0 40px"},value:1},"\u96BE\u6613\u5EA6"),_t.createElement(ot.ZP,{value:2},"\u81EA\u5B9A\u4E49\u5206\u503C"))),_t.createElement(Rt.Z,{align:"middle"},_t.createElement("span",null,"\u9898\u76EE\u5217\u8868"),_t.createElement(st.ZP,{onClick:()=>Yt(!0),style:{marginLeft:"auto",width:110},type:"primary",ghost:!0},"\u9009\u62E9\u7F16\u7A0B\u9898"),_t.createElement(st.ZP,{onClick:()=>(0,Ue.xg)(`/problems/newcreate?pageId=${wt.current}`),style:{marginLeft:20,width:110},type:"primary"},"\u65B0\u589E\u7F16\u7A0B\u9898")),_t.createElement("div",{className:Me.tip},_t.createElement("i",{className:"iconfont icon-tishi12 mr5 font14"}),"\u63D0\u793A\uFF1A\u53EF\u4EE5\u70B9\u51FB\u201C\u7F16\u8F91\u201D\u5BF9\u8BE5\u8BD5\u9898\u7684\u6D4B\u8BD5\u7528\u4F8B/\u521D\u59CB\u4EE3\u7801\u8FDB\u884C\u4FEE\u6539\uFF0C\u4FEE\u6539\u7684\u5185\u5BB9\u5E76\u4E0D\u4F1A\u540C\u6B65\u5230\u8BD5\u9898\u5E93"),_t.createElement(pe.default.Item,{name:"hack_settings",className:"mb0",initialValue:[]},_t.createElement(he,{dataSource:gn,setDataSource:Nn,columns:pt,loading:gt}))))),_t.createElement("div",{className:Me.fixedBtns},_t.createElement(Rt.Z,{align:"middle",className:Me.center},_t.createElement(st.ZP,{onClick:()=>Re.history.push(`/paths/${Et==null?void 0:Et.pathId}`),style:{padding:"6px 15px"},type:"primary",ghost:!0},"\u53D6\u6D88"),_t.createElement(st.ZP,{loading:Dt,disabled:Dt,className:"ml-auto",onClick:()=>{Pn.submit()},style:{padding:"6px 40px"},type:"primary"},"\u4FDD\u5B58\u4F5C\u4E1A")))),_t.createElement(jt,{setScoreShow:Yt,isshixuns:!1,ScoreShow:Qt,virtualId:wt.current,isloadings:xn,onOk:In,selectedIds:gn.map(pn=>{var Sn;return(Sn=pn.program_attr)==null?void 0:Sn.origin_item_bank_id})||[]}))}},63392:function(Bn,rn,ee){"use strict";ee.d(rn,{U:function(){return Ie}});var b=ee(59301),Me=Object.defineProperty,ce=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,pe=(ue,$e,Ee)=>$e in ue?Me(ue,$e,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ue[$e]=Ee,be=(ue,$e)=>{for(var Ee in $e||($e={}))et.call($e,Ee)&&pe(ue,Ee,$e[Ee]);if(ce)for(var Ee of ce($e))Pe.call($e,Ee)&&pe(ue,Ee,$e[Ee]);return ue},Ve=(ue,$e,Ee)=>new Promise((Rt,ot)=>{var st=ft=>{try{Re(Ee.next(ft))}catch(kt){ot(kt)}},Ue=ft=>{try{Re(Ee.throw(ft))}catch(kt){ot(kt)}},Re=ft=>ft.done?Rt(ft.value):Promise.resolve(ft.value).then(st,Ue);Re((Ee=Ee.apply(ue,$e)).next())});function Ie(ue,$e){const[Ee,Rt]=(0,b.useState)($e),[ot,st]=(0,b.useState)(!1),[Ue,Re]=(0,b.useState)();return[Ee,ot,(kt,en=!1)=>Ve(this,null,function*(){const Qe=en?$e:be(be({},Ee),kt);st(!0),Rt(Qe);const Ae=yield ue(Qe);return st(!1),Re(Ae),Ae}),Ue,Re]}},20047:function(Bn,rn,ee){"use strict";ee.d(rn,{AL:function(){return Qe},Iy:function(){return $e},Qv:function(){return ot},ez:function(){return en},jb:function(){return Ee}});var b=ee(32834),Me=ee.n(b),ce=ee(11690),et=ee.n(ce);let Pe=1;function pe(Ot,ht){const Ct=Ot.match(/^(\s+)(?:```)/);if(Ct===null)return ht;const De=Ct[1];return ht.split(` +`).map(ke=>{const xe=ke.match(/^\s+/);if(xe===null)return ke;const[se]=xe;return se.length>=De.length?ke.slice(De.length):ke}).join(` +`)}let be=[],Ve=["
    "];const Ie=new(Me()).Renderer,ue=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function $e(){be.length=0,Ve=["
      "]}const Ee={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function Rt(Ot,ht,Ct,De){if(ht>=Ot.length||Ot[ht].level<=Ct)return ht;var ke=Ot[ht];De.push("
    • "+ke.text+""),ht++;var xe=[];return ht=Rt(Ot,ht,ke.level,xe),xe.length>0&&(De.push("
        "),xe.forEach(function(se){De.push(se)}),De.push("
      ")),De.push("
    • "),ht=Rt(Ot,ht,Ct,De),ht}function ot(){return Rt(be,0,0,Ve),Ve.push("
    "),Ve.join("")}const st={heading(Ot){const ht=ue.exec(Ot);if(Pe+=1,ht)return{type:"heading",raw:ht[0],depth:ht[1].length,text:ht[2]}},fences(Ot){const ht=this.rules.block.fences.exec(Ot);if(ht){const Ct=ht[0];let De=pe(Ct,ht[3]||"");const ke=ht[2]?ht[2].trim():ht[2];if(["latex","katex","math"].indexOf(ke)>=0){const xe=ft(),se=De;De=xe,kt[xe]={type:"block",expression:se}}return{type:"code",raw:Ct,lang:ke,text:De}}}},Ue=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Re=0;const ft=()=>`__special_katext_id_${Re++}__`;let kt={};function en(){return kt}function Qe(){Re=0,kt={}}function Ae(Ot){return Ot=Ot.replace(Ue,(ht,Ct)=>{const De=ft();return kt[De]={type:"inline",expression:Ct},De}),Ot}const tt=Ie.listitem;Ie.listitem=function(Ot){return tt(Ae(Ot))};const nt=Ie.paragraph;Ie.paragraph=function(Ot){return nt(Ae(Ot))};const zt=Ie.tablecell;Ie.tablecell=function(Ot,ht){return zt(Ae(Ot),ht)},Ie.code=function(Ot,ht,Ct){const De=(ht||"").match(/\S*/)[0];return De?["latex","katex","math"].indexOf(De)>=0?`

    ${Ot}

    `:`
    ${Ct?Ot:(0,ce.escape)(Ot,!0)}
    +`:'
    '+(Ct?Ot:(0,ce.escape)(Ot,!0))+"
    "},Ie.heading=function(Ot,ht,Ct){let De=this.options.headerPrefix+Ct.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return be.push({anchor:De,level:ht,text:Ot}),"'+Ot+""},Me().setOptions({silent:!0,gfm:!0,pedantic:!1}),Me().use({tokenizer:st,renderer:Ie}),rn.ZP=Me()},9981:function(Bn,rn){"use strict";const ee=function(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Me=1;Me{const Pe=ce[et];Pe!==void 0&&(b[et]=Pe)})}return b};rn.Z=ee},86013:function(Bn,rn,ee){"use strict";var b=ee(59301),Me=ee(19248);const ce=et=>{let Pe;return typeof et=="object"&&(et!=null&&et.clearIcon)?Pe=et:et&&(Pe={clearIcon:b.createElement(Me.Z,null)}),Pe};rn.Z=ce},97224:function(Bn,rn,ee){"use strict";ee.d(rn,{F:function(){return b}});function b(ce){return ce!=null&&ce===ce.window}const Me=ce=>{var et,Pe;if(typeof window=="undefined")return 0;let pe=0;return b(ce)?pe=ce.pageYOffset:ce instanceof Document?pe=ce.documentElement.scrollTop:(ce instanceof HTMLElement||ce)&&(pe=ce.scrollTop),ce&&!b(ce)&&typeof pe!="number"&&(pe=(Pe=((et=ce.ownerDocument)!==null&&et!==void 0?et:ce).documentElement)===null||Pe===void 0?void 0:Pe.scrollTop),pe};rn.Z=Me},83010:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return et}});var b=ee(16089);function Me(Pe,pe,be,Ve){const Ie=be-pe;return Pe/=Ve/2,Pe<1?Ie/2*Pe*Pe*Pe+pe:Ie/2*((Pe-=2)*Pe*Pe+2)+pe}var ce=ee(97224);function et(Pe){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:be=()=>window,callback:Ve,duration:Ie=450}=pe,ue=be(),$e=(0,ce.Z)(ue),Ee=Date.now(),Rt=()=>{const st=Date.now()-Ee,Ue=Me(st>Ie?Ie:st,$e,Pe,Ie);(0,ce.F)(ue)?ue.scrollTo(window.pageXOffset,Ue):ue instanceof Document||ue.constructor.name==="HTMLDocument"?ue.documentElement.scrollTop=Ue:ue.scrollTop=Ue,st2&&arguments[2]!==void 0?arguments[2]:!1;vr.forEach(function(cr){if(!(!or&&Xn!==!1&&Xn>0&&dr.length>=Xn)){var Er=[].concat((0,b.Z)(Tr),[cr]),Wr=cr[xt.children],Rr=Br||cr.disabled;if((!Wr||Wr.length===0||pn)&&$n(mt,Er,{label:xt.label})){var Sr;dr.push((0,pe.Z)((0,pe.Z)({},cr),{},(Sr={disabled:Rr},(0,Ue.Z)(Sr,xt.label,ur(mt,Er,fn,xt)),(0,Ue.Z)(Sr,Re,Er),(0,Ue.Z)(Sr,xt.children,void 0),Sr)))}Wr&&br(cr[xt.children],Er,Rr)}})}return br(pt,[]),or&&dr.sort(function(vr,Tr){return or(vr[Re],Tr[Re],mt,xt)}),Xn!==!1&&Xn>0?dr.slice(0,Xn):dr},[mt,pt,xt,fn,ur,pn,$n,or,Xn])},Qe=en,Ae="__RC_CASCADER_SPLIT__",tt="SHOW_PARENT",nt="SHOW_CHILD";function zt(lt){return lt.join(Ae)}function Ot(lt){return lt.map(zt)}function ht(lt){return lt.split(Ae)}function Ct(lt){var mt=lt||{},pt=mt.label,xt=mt.value,fn=mt.children,In=xt||"value";return{label:pt||"label",value:In,key:In,children:fn||"children"}}function De(lt,mt){var pt,xt;return(pt=lt.isLeaf)!==null&&pt!==void 0?pt:!((xt=lt[mt.children])!==null&&xt!==void 0&&xt.length)}function ke(lt){var mt=lt.parentElement;if(mt){var pt=lt.offsetTop-mt.offsetTop;pt-mt.scrollTop<0?mt.scrollTo({top:pt}):pt+lt.offsetHeight-mt.scrollTop>mt.offsetHeight&&mt.scrollTo({top:pt+lt.offsetHeight-mt.offsetHeight})}}function xe(lt,mt){return lt.map(function(pt){var xt;return(xt=pt[Re])===null||xt===void 0?void 0:xt.map(function(fn){return fn[mt.value]})})}function se(lt){return Array.isArray(lt)&&Array.isArray(lt[0])}function It(lt){return lt?se(lt)?lt:(lt.length===0?[]:[lt]).map(function(mt){return Array.isArray(mt)?mt:[mt]}):[]}function _e(lt,mt,pt){var xt=new Set(lt),fn=mt();return lt.filter(function(In){var pn=fn[In],Sn=pn?pn.parent:null,$n=pn?pn.children:null;return pn&&pn.node.disabled?!0:pt===nt?!($n&&$n.some(function(qn){return qn.key&&xt.has(qn.key)})):!(Sn&&!Sn.node.disabled&&xt.has(Sn.key))})}function Ye(lt,mt,pt){for(var xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,fn=mt,In=[],pn=function(){var qn,ur,tr,Xn=lt[Sn],or=(qn=fn)===null||qn===void 0?void 0:qn.findIndex(function(br){var vr=br[pt.value];return xt?String(vr)===String(Xn):vr===Xn}),dr=or!==-1?(ur=fn)===null||ur===void 0?void 0:ur[or]:null;In.push({value:(tr=dr==null?void 0:dr[pt.value])!==null&&tr!==void 0?tr:Xn,index:or,option:dr}),fn=dr==null?void 0:dr[pt.children]},Sn=0;Sn1){var Sr=dr.slice(0,-1);Br(Sr)}else qn(!1)},Wr=function(){var Sr,Fr=((Sr=vr[br])===null||Sr===void 0?void 0:Sr[pt.children])||[],$r=Fr.find(function(gr){return!gr.disabled});if($r){var wr=[].concat((0,b.Z)(dr),[$r[pt.value]]);Br(wr)}};Me.useImperativeHandle(lt,function(){return{onKeyDown:function(Sr){var Fr=Sr.which;switch(Fr){case te.Z.UP:case te.Z.DOWN:{var $r=0;Fr===te.Z.UP?$r=-1:Fr===te.Z.DOWN&&($r=1),$r!==0&&cr($r);break}case te.Z.LEFT:{if($n)break;tr?Wr():Er();break}case te.Z.RIGHT:{if($n)break;tr?Er():Wr();break}case te.Z.BACKSPACE:{$n||Er();break}case te.Z.ENTER:{if(dr.length){var wr=vr[br],gr=(wr==null?void 0:wr[Re])||[];gr.length?In(gr.map(function(yr){return yr[pt.value]}),gr[gr.length-1]):In(dr,vr[br])}break}case te.Z.ESC:qn(!1),ur&&Sr.stopPropagation()}},onKeyUp:function(){}}})},de=Me.forwardRef(function(lt,mt){var pt,xt,fn,In=lt.prefixCls,pn=lt.multiple,Sn=lt.searchValue,$n=lt.toggleOpen,qn=lt.notFoundContent,ur=lt.direction,tr=lt.open,Xn=lt.disabled,or=Me.useRef(null),dr=ur==="rtl",br=Me.useContext(ot),vr=br.options,Tr=br.values,Br=br.halfValues,cr=br.fieldNames,Er=br.changeOnSelect,Wr=br.onSelect,Rr=br.searchOptions,Sr=br.dropdownPrefixCls,Fr=br.loadData,$r=br.expandTrigger,wr=Sr||In,gr=Me.useState([]),yr=(0,be.Z)(gr,2),Xr=yr[0],go=yr[1],So=function(pr){if(!(!Fr||Sn)){var mr=Ye(pr,vr,cr),kr=mr.map(function(Or){var Dr=Or.option;return Dr}),xr=kr[kr.length-1];if(xr&&!De(xr,cr)){var Gr=zt(pr);go(function(Or){return[].concat((0,b.Z)(Or),[Gr])}),Fr(kr)}}};Me.useEffect(function(){Xr.length&&Xr.forEach(function(sr){var pr=ht(sr),mr=Ye(pr,vr,cr,!0).map(function(xr){var Gr=xr.option;return Gr}),kr=mr[mr.length-1];(!kr||kr[cr.children]||De(kr,cr))&&go(function(xr){return xr.filter(function(Gr){return Gr!==sr})})})},[vr,Xr,cr]);var to=Me.useMemo(function(){return new Set(Ot(Tr))},[Tr]),io=Me.useMemo(function(){return new Set(Ot(Br))},[Br]),Oe=ne(pn,tr),We=(0,be.Z)(Oe,2),bt=We[0],Ze=We[1],dt=function(pr){Ze(pr),So(pr)},at=function(pr){if(Xn)return!1;var mr=pr.disabled,kr=De(pr,cr);return!mr&&(kr||Er||pn)},Mt=function(pr,mr){var kr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wr(pr),!pn&&(mr||Er&&($r==="hover"||kr))&&$n(!1)},Bt=Me.useMemo(function(){return Sn?Rr:vr},[Sn,Rr,vr]),Wt=Me.useMemo(function(){for(var sr=[{options:Bt}],pr=Bt,mr=xe(pr,cr),kr=function(){var Or=bt[xr],Dr=pr.find(function(_r,fo){return(mr[fo]?zt(mr[fo]):_r[cr.value])===Or}),Ar=Dr==null?void 0:Dr[cr.children];if(!(Ar!=null&&Ar.length))return 1;pr=Ar,sr.push({options:Ar})},xr=0;xr":Tr,cr=pt.loadingIcon,Er=pt.direction,Wr=pt.notFoundContent,Rr=Wr===void 0?"Not Found":Wr,Sr=pt.disabled,Fr=!!$n,$r=(0,Ge.C8)(qn,{value:ur,postState:It}),wr=(0,be.Z)($r,2),gr=wr[0],yr=wr[1],Xr=Me.useMemo(function(){return Ct(tr)},[JSON.stringify(tr)]),go=Vt(Xr,Sn),So=(0,be.Z)(go,3),to=So[0],io=So[1],Oe=So[2],We=Ce(to,Xr),bt=Xt(Fr,gr,io,Oe,We),Ze=(0,be.Z)(bt,3),dt=Ze[0],at=Ze[1],Mt=Ze[2],Bt=(0,Ge.zX)(function(Gn){if(yr(Gn),or){var lr=It(Gn),sr=lr.map(function(kr){return Ye(kr,to,Xr).map(function(xr){return xr.option})}),pr=Fr?lr:lr[0],mr=Fr?sr:sr[0];or(pr,mr)}}),Wt=it(Fr,Bt,dt,at,Mt,io,Oe,dr),En=(0,Ge.zX)(function(Gn){Wt(Gn)}),Rn=Me.useMemo(function(){return{options:to,fieldNames:Xr,values:dt,halfValues:at,changeOnSelect:Xn,onSelect:En,checkable:$n,searchOptions:[],dropdownPrefixCls:void 0,loadData:br,expandTrigger:vr,expandIcon:Br,loadingIcon:cr,dropdownMenuColumnStyle:void 0}},[to,Xr,dt,at,Xn,En,$n,br,vr,Br,cr]),hn="".concat(fn,"-panel"),Ln=!to.length;return Me.createElement(ot.Provider,{value:Rn},Me.createElement("div",{className:et()(hn,(mt={},(0,Ue.Z)(mt,"".concat(hn,"-rtl"),Er==="rtl"),(0,Ue.Z)(mt,"".concat(hn,"-empty"),Ln),mt),pn),style:In},Ln?Rr:Me.createElement(re,{prefixCls:fn,searchValue:"",multiple:Fr,toggleOpen:He,open:!0,direction:Er,disabled:Sr})))}function rt(lt){var mt=lt.onPopupVisibleChange,pt=lt.popupVisible,xt=lt.popupClassName,fn=lt.popupPlacement;warning(!mt,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(pt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(xt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(fn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function ut(lt,mt){if(lt){var pt=function xt(fn){for(var In=0;In":So,io=lt.loadingIcon,Oe=lt.children,We=lt.dropdownMatchSelectWidth,bt=We===void 0?!1:We,Ze=lt.showCheckedStrategy,dt=Ze===void 0?tt:Ze,at=lt.optionRender,Mt=(0,Ve.Z)(lt,Ne),Bt=(0,ue.ZP)(pt),Wt=!!tr,En=(0,Ee.Z)(pn,{value:Sn,postState:It}),Rn=(0,be.Z)(En,2),hn=Rn[0],Ln=Rn[1],Gn=Me.useMemo(function(){return Ct(In)},[JSON.stringify(In)]),lr=Vt(Gn,Br),sr=(0,be.Z)(lr,3),pr=sr[0],mr=sr[1],kr=sr[2],xr=(0,Ee.Z)("",{value:dr,postState:function(Jr){return Jr||""}}),Gr=(0,be.Z)(xr,2),Or=Gr[0],Dr=Gr[1],Ar=function(Jr,mo){Dr(Jr),mo.source!=="blur"&&br&&br(Jr)},_r=me(vr),fo=(0,be.Z)(_r,2),ko=fo[0],Io=fo[1],Vo=Qe(Or,pr,Gn,cr||fn,Io,$n||Wt),Qr=Ce(pr,Gn),Vr=Xt(Wt,hn,mr,kr,Qr),_o=(0,be.Z)(Vr,3),Uo=_o[0],ni=_o[1],Zi=_o[2],Si=Me.useMemo(function(){var Pr=Ot(Uo),Jr=_e(Pr,mr,dt);return[].concat((0,b.Z)(Zi),(0,b.Z)(kr(Jr)))},[Uo,mr,kr,Zi,dt]),Ai=Ft(Si,pr,Gn,Wt,ur),Oi=(0,$e.Z)(function(Pr){if(Ln(Pr),qn){var Jr=It(Pr),mo=Jr.map(function($o){return Ye($o,pr,Gn).map(function(Ro){return Ro.option})}),ui=Wt?Jr:Jr[0],Zo=Wt?mo:mo[0];qn(ui,Zo)}}),Go=it(Wt,Oi,Uo,ni,Zi,mr,kr,dt),Di=(0,$e.Z)(function(Pr){(!Wt||or)&&Dr(""),Go(Pr)}),ya=function(Jr,mo){if(mo.type==="clear"){Oi([]);return}var ui=mo.values[0],Zo=ui.valueCells;Di(Zo)},Qi=Rr!==void 0?Rr:Wr,Qo=Fr||Sr,Ha=yr||gr,Ba=function(Jr){Xr==null||Xr(Jr),go==null||go(Jr)},wo=Me.useMemo(function(){return{options:pr,fieldNames:Gn,values:Uo,halfValues:ni,changeOnSelect:$n,onSelect:Di,checkable:tr,searchOptions:Vo,dropdownPrefixCls:cr,loadData:Er,expandTrigger:Tr,expandIcon:to,loadingIcon:io,dropdownMenuColumnStyle:$r,optionRender:at}},[pr,Gn,Uo,ni,$n,Di,tr,Vo,cr,Er,Tr,to,io,$r,at]),Eo=!(Or?Vo:pr).length,Zr=Or&&Io.matchInputWidth||Eo?{}:{minWidth:"auto"};return Me.createElement(ot.Provider,{value:wo},Me.createElement(Ie.Ac,(0,Pe.Z)({},Mt,{ref:mt,id:Bt,prefixCls:fn,autoClearSearchValue:or,dropdownMatchSelectWidth:bt,dropdownStyle:(0,pe.Z)((0,pe.Z)({},Zr),wr),displayValues:Ai,onDisplayValuesChange:ya,mode:Wt?"multiple":void 0,searchValue:Or,onSearch:Ar,showSearch:ko,OptionList:Se,emptyOptions:Eo,open:Qi,dropdownClassName:Qo,placement:Ha,onDropdownVisibleChange:Ba,getRawInputElement:function(){return Oe}})))});Be.SHOW_PARENT=tt,Be.SHOW_CHILD=nt,Be.Panel=Le;var Ut=Be,Zt=Ut,mn=ee(2738),vn=ee(75030),jt=ee(86641),Cn=ee(45915),on=ee(82855),Je=ee(48755),Tt=ee(38406),an=ee(2171),_t=ee(83397),je=ee(31756),Pt=ee(56553),Kt=ee(24971),nn=ee(1722),On=ee(90376),_n=ee(68525),nr=ee(90005),ir=ee(70045);function Zn(lt,mt){const{getPrefixCls:pt,direction:xt,renderEmpty:fn}=Me.useContext(Je.E_),In=mt||xt,pn=pt("select",lt),Sn=pt("cascader",lt);return[pn,Sn,In,fn]}var er=Zn;function kn(lt,mt){return Me.useMemo(()=>mt?Me.createElement("span",{className:`${lt}-checkbox-inner`}):!1,[mt])}var cn=ee(33853),bn=ee(58617),St=ee(38819),sn=(lt,mt,pt)=>{let xt=pt;pt||(xt=mt?Me.createElement(cn.Z,null):Me.createElement(St.Z,null));const fn=Me.createElement("span",{className:`${lt}-menu-item-loading-icon`},Me.createElement(bn.Z,{spin:!0}));return Me.useMemo(()=>[xt,fn],[xt])},Pn=ee(56119),Tn=ee(16931),Jt=ee(36237),wn=ee(36170),gn=ee(63356),An=lt=>{const{prefixCls:mt,componentCls:pt}=lt,xt=`${pt}-menu-item`,fn=` + &${xt}-expand ${xt}-expand-icon, + ${xt}-loading-icon +`;return[(0,wn.C2)(`${mt}-checkbox`,lt),{[pt]:{"&-checkbox":{top:0,marginInlineEnd:lt.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${pt}-menu-empty`]:{[`${pt}-menu`]:{width:"100%",height:"auto",[xt]:{color:lt.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:lt.controlItemWidth,height:lt.dropdownHeight,margin:0,padding:lt.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,Jt.unit)(lt.lineWidth)} ${lt.lineType} ${lt.colorSplit}`},"&-item":Object.assign(Object.assign({},gn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:lt.optionPadding,lineHeight:lt.lineHeight,cursor:"pointer",transition:`all ${lt.motionDurationMid}`,borderRadius:lt.borderRadiusSM,"&:hover":{background:lt.controlItemBgHover},"&-disabled":{color:lt.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[fn]:{color:lt.colorTextDisabled}},[`&-active:not(${xt}-disabled)`]:{"&, &:hover":{color:lt.optionSelectedColor,fontWeight:lt.optionSelectedFontWeight,backgroundColor:lt.optionSelectedBg}},"&-content":{flex:"auto"},[fn]:{marginInlineStart:lt.paddingXXS,color:lt.colorTextDescription,fontSize:lt.fontSizeIcon},"&-keyword":{color:lt.colorHighlight}})}}}]};const rr=lt=>{const{componentCls:mt,antCls:pt}=lt;return[{[mt]:{width:lt.controlWidth}},{[`${mt}-dropdown`]:[{[`&${pt}-select-dropdown`]:{padding:0}},An(lt)]},{[`${mt}-dropdown-rtl`]:{direction:"rtl"}},(0,Pn.c)(lt)]},Qt=lt=>{const mt=Math.round((lt.controlHeight-lt.fontSize*lt.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:lt.controlItemBgActive,optionSelectedFontWeight:lt.fontWeightStrong,optionPadding:`${mt}px ${lt.paddingSM}px`,menuPadding:lt.paddingXXS,optionSelectedColor:lt.colorText}};var Yt=(0,Tn.I$)("Cascader",lt=>[rr(lt)],Qt);const xn=lt=>{const{componentCls:mt}=lt;return{[`${mt}-panel`]:[An(lt),{display:"inline-flex",border:`${(0,Jt.unit)(lt.lineWidth)} ${lt.lineType} ${lt.colorSplit}`,borderRadius:lt.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${mt}-menus`]:{alignItems:"stretch"},[`${mt}-menu`]:{height:"auto"},"&-empty":{padding:lt.paddingXXS}}]}};var Vn=(0,Tn.A1)(["Cascader","Panel"],lt=>xn(lt),Qt);function jn(lt){const{prefixCls:mt,className:pt,multiple:xt,rootClassName:fn,notFoundContent:In,direction:pn,expandIcon:Sn,disabled:$n}=lt,qn=Me.useContext(an.Z),ur=$n!=null?$n:qn,[tr,Xn,or,dr]=er(mt,pn),br=(0,_t.Z)(Xn),[vr,Tr,Br]=Yt(Xn,br);Vn(Xn);const cr=or==="rtl",[Er,Wr]=sn(tr,cr,Sn),Rr=In||(dr==null?void 0:dr("Cascader"))||Me.createElement(Tt.Z,{componentName:"Cascader"}),Sr=kn(Xn,xt);return vr(Me.createElement(Le,Object.assign({},lt,{checkable:Sr,prefixCls:Xn,className:et()(pt,Tr,fn,Br,br),notFoundContent:Rr,direction:or,expandIcon:Er,loadingIcon:Wr,disabled:ur})))}var vt=jn,Dt=function(lt,mt){var pt={};for(var xt in lt)Object.prototype.hasOwnProperty.call(lt,xt)&&mt.indexOf(xt)<0&&(pt[xt]=lt[xt]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fn=0,xt=Object.getOwnPropertySymbols(lt);fn$n===0?[Sn]:[].concat((0,b.Z)(pn),[mt,Sn]),[]),fn=[];let In=0;return xt.forEach((pn,Sn)=>{const $n=In+pn.length;let qn=lt.slice(In,$n);In=$n,Sn%2===1&&(qn=Me.createElement("span",{className:`${pt}-menu-item-keyword`,key:`separator-${Sn}`},qn)),fn.push(qn)}),fn}const wt=(lt,mt,pt,xt)=>{const fn=[],In=lt.toLowerCase();return mt.forEach((pn,Sn)=>{Sn!==0&&fn.push(" / ");let $n=pn[xt.label];const qn=typeof $n;(qn==="string"||qn==="number")&&($n=Ke(String($n),In,pt)),fn.push($n)}),fn},Ht=Me.forwardRef((lt,mt)=>{var pt;const{prefixCls:xt,size:fn,disabled:In,className:pn,rootClassName:Sn,multiple:$n,bordered:qn=!0,transitionName:ur,choiceTransitionName:tr="",popupClassName:Xn,dropdownClassName:or,expandIcon:dr,placement:br,showSearch:vr,allowClear:Tr=!0,notFoundContent:Br,direction:cr,getPopupContainer:Er,status:Wr,showArrow:Rr,builtinPlacements:Sr,style:Fr,variant:$r}=lt,wr=Dt(lt,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),gr=(0,mn.Z)(wr,["suffixIcon"]),{getPrefixCls:yr,getPopupContainer:Xr,className:go,style:So}=(0,Je.dj)("cascader"),{popupOverflow:to}=Me.useContext(Je.E_),{status:io,hasFeedback:Oe,isFormItemInput:We,feedbackIcon:bt}=Me.useContext(Pt.aM),Ze=(0,on.F)(io,Wr),[dt,at,Mt,Bt]=er(xt,cr),Wt=Mt==="rtl",En=yr(),Rn=(0,_t.Z)(dt),[hn,Ln,Gn]=(0,On.Z)(dt,Rn),lr=(0,_t.Z)(at),[sr]=Yt(at,lr),{compactSize:pr,compactItemClassnames:mr}=(0,ir.ri)(dt,cr),[kr,xr]=(0,Kt.Z)("cascader",$r,qn),Gr=Br||(Bt==null?void 0:Bt("Cascader"))||Me.createElement(Tt.Z,{componentName:"Cascader"}),Or=et()(Xn||or,`${at}-dropdown`,{[`${at}-dropdown-rtl`]:Mt==="rtl"},Sn,Rn,lr,Ln,Gn),Dr=Me.useMemo(()=>{if(!vr)return vr;let Oi={render:wt};return typeof vr=="object"&&(Oi=Object.assign(Object.assign({},Oi),vr)),Oi},[vr]),Ar=(0,je.Z)(Oi=>{var Go;return(Go=fn!=null?fn:pr)!==null&&Go!==void 0?Go:Oi}),_r=Me.useContext(an.Z),fo=In!=null?In:_r,[ko,Io]=sn(dt,Wt,dr),Vo=kn(at,$n),Qr=(0,nr.Z)(lt.suffixIcon,Rr),{suffixIcon:Vr,removeIcon:_o,clearIcon:Uo}=(0,_n.Z)(Object.assign(Object.assign({},lt),{hasFeedback:Oe,feedbackIcon:bt,showSuffixIcon:Qr,multiple:$n,prefixCls:dt,componentName:"Cascader"})),ni=Me.useMemo(()=>br!==void 0?br:Wt?"bottomRight":"bottomLeft",[br,Wt]),Zi=Tr===!0?{clearIcon:Uo}:Tr,[Si]=(0,vn.Cn)("SelectLike",(pt=gr.dropdownStyle)===null||pt===void 0?void 0:pt.zIndex),Ai=Me.createElement(Zt,Object.assign({prefixCls:dt,className:et()(!xt&&at,{[`${dt}-lg`]:Ar==="large",[`${dt}-sm`]:Ar==="small",[`${dt}-rtl`]:Wt,[`${dt}-${kr}`]:xr,[`${dt}-in-form-item`]:We},(0,on.Z)(dt,Ze,Oe),mr,go,pn,Sn,Rn,lr,Ln,Gn),disabled:fo,style:Object.assign(Object.assign({},So),Fr)},gr,{builtinPlacements:(0,nn.Z)(Sr,to),direction:Mt,placement:ni,notFoundContent:Gr,allowClear:Zi,showSearch:Dr,expandIcon:ko,suffixIcon:Vr,removeIcon:_o,loadingIcon:Io,checkable:Vo,dropdownClassName:Or,dropdownPrefixCls:xt||at,dropdownStyle:Object.assign(Object.assign({},gr.dropdownStyle),{zIndex:Si}),choiceTransitionName:(0,jt.m)(En,"",tr),transitionName:(0,jt.m)(En,"slide-up",ur),getPopupContainer:Er||Xr,ref:mt}));return sr(hn(Ai))}),Hn=(0,Cn.Z)(Ht,"dropdownAlign",lt=>(0,mn.Z)(lt,["visible"]));Ht.SHOW_PARENT=gt,Ht.SHOW_CHILD=Te,Ht.Panel=vt,Ht._InternalPanelDoNotUseOrYouWillBeFired=Hn;var Jn=Ht},62673:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return Ot}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(16632),Pe=ee(8654),pe=ee(12919),be=ee(63872),Ve=ee(48755),Ie=ee(2171),ue=ee(83397),$e=ee(56553),Rt=b.createContext(null),ot=ee(36170),st=ee(74632),Ue=function(ht,Ct){var De={};for(var ke in ht)Object.prototype.hasOwnProperty.call(ht,ke)&&Ct.indexOf(ke)<0&&(De[ke]=ht[ke]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ke=Object.getOwnPropertySymbols(ht);xe{var De;const{prefixCls:ke,className:xe,rootClassName:se,children:It,indeterminate:_e=!1,style:Ye,onMouseEnter:Ft,onMouseLeave:Ce,skipGroup:he=!1,disabled:yt}=ht,Vt=Ue(ht,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Lt,direction:me,checkbox:qe}=b.useContext(Ve.E_),it=b.useContext(Rt),{isFormItemInput:Xt}=b.useContext($e.aM),Xe=b.useContext(Ie.Z),Gt=(De=(it==null?void 0:it.disabled)||yt)!==null&&De!==void 0?De:Xe,Fe=b.useRef(Vt.value),dn=b.useRef(null),$t=(0,Pe.sQ)(Ct,dn);b.useEffect(()=>{it==null||it.registerValue(Vt.value)},[]),b.useEffect(()=>{if(!he)return Vt.value!==Fe.current&&(it==null||it.cancelValue(Fe.current),it==null||it.registerValue(Vt.value),Fe.current=Vt.value),()=>it==null?void 0:it.cancelValue(Vt.value)},[Vt.value]),b.useEffect(()=>{var Le;!((Le=dn.current)===null||Le===void 0)&&Le.input&&(dn.current.input.indeterminate=_e)},[_e]);const ae=Lt("checkbox",ke),ne=(0,ue.Z)(ae),[te,ie,de]=(0,ot.ZP)(ae,ne),re=Object.assign({},Vt);it&&!he&&(re.onChange=function(){Vt.onChange&&Vt.onChange.apply(Vt,arguments),it.toggleOption&&it.toggleOption({label:It,value:Vt.value})},re.name=it.name,re.checked=it.value.includes(Vt.value));const le=ce()(`${ae}-wrapper`,{[`${ae}-rtl`]:me==="rtl",[`${ae}-wrapper-checked`]:re.checked,[`${ae}-wrapper-disabled`]:Gt,[`${ae}-wrapper-in-form-item`]:Xt},qe==null?void 0:qe.className,xe,se,de,ne,ie),Se=ce()({[`${ae}-indeterminate`]:_e},be.A,ie),[Ge,He]=(0,st.Z)(re.onClick);return te(b.createElement(pe.Z,{component:"Checkbox",disabled:Gt},b.createElement("label",{className:le,style:Object.assign(Object.assign({},qe==null?void 0:qe.style),Ye),onMouseEnter:Ft,onMouseLeave:Ce,onClick:Ge},b.createElement(et.Z,Object.assign({},re,{onClick:He,prefixCls:ae,className:Se,disabled:Gt,ref:$t})),It!==void 0&&b.createElement("span",{className:`${ae}-label`},It))))};var kt=b.forwardRef(Re),en=ee(77654),Qe=ee(2738),Ae=function(ht,Ct){var De={};for(var ke in ht)Object.prototype.hasOwnProperty.call(ht,ke)&&Ct.indexOf(ke)<0&&(De[ke]=ht[ke]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ke=Object.getOwnPropertySymbols(ht);xe{const{defaultValue:De,children:ke,options:xe=[],prefixCls:se,className:It,rootClassName:_e,style:Ye,onChange:Ft}=ht,Ce=Ae(ht,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:he,direction:yt}=b.useContext(Ve.E_),[Vt,Lt]=b.useState(Ce.value||De||[]),[me,qe]=b.useState([]);b.useEffect(()=>{"value"in Ce&&Lt(Ce.value||[])},[Ce.value]);const it=b.useMemo(()=>xe.map(Se=>typeof Se=="string"||typeof Se=="number"?{label:Se,value:Se}:Se),[xe]),Xt=Se=>{qe(Ge=>Ge.filter(He=>He!==Se))},Xe=Se=>{qe(Ge=>[].concat((0,en.Z)(Ge),[Se]))},Gt=Se=>{const Ge=Vt.indexOf(Se.value),He=(0,en.Z)(Vt);Ge===-1?He.push(Se.value):He.splice(Ge,1),"value"in Ce||Lt(He),Ft==null||Ft(He.filter(Le=>me.includes(Le)).sort((Le,rt)=>{const ut=it.findIndex(Ne=>Ne.value===Le),At=it.findIndex(Ne=>Ne.value===rt);return ut-At}))},Fe=he("checkbox",se),dn=`${Fe}-group`,$t=(0,ue.Z)(Fe),[ae,ne,te]=(0,ot.ZP)(Fe,$t),ie=(0,Qe.Z)(Ce,["value","disabled"]),de=xe.length?it.map(Se=>b.createElement(kt,{prefixCls:Fe,key:Se.value.toString(),disabled:"disabled"in Se?Se.disabled:Ce.disabled,value:Se.value,checked:Vt.includes(Se.value),onChange:Se.onChange,className:`${dn}-item`,style:Se.style,title:Se.title,id:Se.id,required:Se.required},Se.label)):ke,re={toggleOption:Gt,value:Vt,disabled:Ce.disabled,name:Ce.name,registerValue:Xe,cancelValue:Xt},le=ce()(dn,{[`${dn}-rtl`]:yt==="rtl"},It,_e,te,$t,ne);return ae(b.createElement("div",Object.assign({className:le,style:Ye},ie,{ref:Ct}),b.createElement(Rt.Provider,{value:re},de)))});const zt=kt;zt.Group=nt,zt.__ANT_CHECKBOX=!0;var Ot=zt},36170:function(Bn,rn,ee){"use strict";ee.d(rn,{C2:function(){return pe}});var b=ee(36237),Me=ee(63356),ce=ee(51636),et=ee(16931);const Pe=be=>{const{checkboxCls:Ve}=be,Ie=`${Ve}-wrapper`;return[{[`${Ve}-group`]:Object.assign(Object.assign({},(0,Me.Wf)(be)),{display:"inline-flex",flexWrap:"wrap",columnGap:be.marginXS,[`> ${be.antCls}-row`]:{flex:1}}),[Ie]:Object.assign(Object.assign({},(0,Me.Wf)(be)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ie}`]:{marginInlineStart:0},[`&${Ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Ve]:Object.assign(Object.assign({},(0,Me.Wf)(be)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:be.borderRadiusSM,alignSelf:"center",[`${Ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Ve}-inner`]:Object.assign({},(0,Me.oN)(be))},[`${Ve}-inner`]:{boxSizing:"border-box",display:"block",width:be.checkboxSize,height:be.checkboxSize,direction:"ltr",backgroundColor:be.colorBgContainer,border:`${(0,b.unit)(be.lineWidth)} ${be.lineType} ${be.colorBorder}`,borderRadius:be.borderRadiusSM,borderCollapse:"separate",transition:`all ${be.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:be.calc(be.checkboxSize).div(14).mul(5).equal(),height:be.calc(be.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(be.lineWidthBold)} solid ${be.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${be.motionDurationFast} ${be.motionEaseInBack}, opacity ${be.motionDurationFast}`}},"& + span":{paddingInlineStart:be.paddingXS,paddingInlineEnd:be.paddingXS}})},{[` + ${Ie}:not(${Ie}-disabled), + ${Ve}:not(${Ve}-disabled) + `]:{[`&:hover ${Ve}-inner`]:{borderColor:be.colorPrimary}},[`${Ie}:not(${Ie}-disabled)`]:{[`&:hover ${Ve}-checked:not(${Ve}-disabled) ${Ve}-inner`]:{backgroundColor:be.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Ve}-checked:not(${Ve}-disabled):after`]:{borderColor:be.colorPrimaryHover}}},{[`${Ve}-checked`]:{[`${Ve}-inner`]:{backgroundColor:be.colorPrimary,borderColor:be.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${be.motionDurationMid} ${be.motionEaseOutBack} ${be.motionDurationFast}`}}},[` + ${Ie}-checked:not(${Ie}-disabled), + ${Ve}-checked:not(${Ve}-disabled) + `]:{[`&:hover ${Ve}-inner`]:{backgroundColor:be.colorPrimaryHover,borderColor:"transparent"}}},{[Ve]:{"&-indeterminate":{[`${Ve}-inner`]:{backgroundColor:`${be.colorBgContainer} !important`,borderColor:`${be.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:be.calc(be.fontSizeLG).div(2).equal(),height:be.calc(be.fontSizeLG).div(2).equal(),backgroundColor:be.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Ve}-inner`]:{backgroundColor:`${be.colorBgContainer} !important`,borderColor:`${be.colorPrimary} !important`}}}},{[`${Ie}-disabled`]:{cursor:"not-allowed"},[`${Ve}-disabled`]:{[`&, ${Ve}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Ve}-inner`]:{background:be.colorBgContainerDisabled,borderColor:be.colorBorder,"&:after":{borderColor:be.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:be.colorTextDisabled},[`&${Ve}-indeterminate ${Ve}-inner::after`]:{background:be.colorTextDisabled}}}]};function pe(be,Ve){const Ie=(0,ce.mergeToken)(Ve,{checkboxCls:`.${be}`,checkboxSize:Ve.controlInteractiveSize});return[Pe(Ie)]}rn.ZP=(0,et.I$)("Checkbox",(be,Ve)=>{let{prefixCls:Ie}=Ve;return[pe(Ie,be)]})},38406:function(Bn,rn,ee){"use strict";var b=ee(59301),Me=ee(48755),ce=ee(584);const et=Pe=>{const{componentName:pe}=Pe,{getPrefixCls:be}=(0,b.useContext)(Me.E_),Ve=be("empty");switch(pe){case"Table":case"List":return b.createElement(ce.Z,{image:ce.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(ce.Z,{image:ce.Z.PRESENTED_IMAGE_SIMPLE,className:`${Ve}-small`});case"Table.filter":return null;default:return b.createElement(ce.Z,null)}};rn.Z=et},36207:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ge}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(85899),Pe=ee(72190),pe=ee(43403),be=ee(34280),Ve=b.createContext(null),Ie=b.createContext({}),ue=Ve,$e=ee(18642),Ee=ee(60499),Rt=ee(77900),ot=ee(10228),st=ee(26112),Ue=ee(42244),Re=ee(8654),ft=["prefixCls","className","containerRef"],kt=function(Le){var rt=Le.prefixCls,ut=Le.className,At=Le.containerRef,Ne=(0,Ue.Z)(Le,ft),Be=b.useContext(Ie),Ut=Be.panel,Zt=(0,Re.x1)(Ut,At);return b.createElement("div",(0,Ee.Z)({className:ce()("".concat(rt,"-content"),ut),role:"dialog",ref:Zt},(0,st.Z)(Le,{aria:!0}),{"aria-modal":"true"},Ne))},en=kt,Qe=ee(48736);function Ae(He){return typeof He=="string"&&String(Number(He))===He?((0,Qe.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(He)):He}function tt(He){warning(!("wrapperClassName"in He),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!He.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var nt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function zt(He,Le){var rt,ut,At,Ne=He.prefixCls,Be=He.open,Ut=He.placement,Zt=He.inline,mn=He.push,vn=He.forceRender,jt=He.autoFocus,Cn=He.keyboard,on=He.classNames,Je=He.rootClassName,Tt=He.rootStyle,an=He.zIndex,_t=He.className,je=He.id,Pt=He.style,Kt=He.motion,nn=He.width,On=He.height,_n=He.children,nr=He.mask,ir=He.maskClosable,Zn=He.maskMotion,er=He.maskClassName,kn=He.maskStyle,cn=He.afterOpenChange,bn=He.onClose,St=He.onMouseEnter,Et=He.onMouseOver,sn=He.onMouseLeave,Pn=He.onClick,Tn=He.onKeyDown,Jt=He.onKeyUp,wn=He.styles,gn=He.drawerRender,Nn=b.useRef(),An=b.useRef(),rr=b.useRef();b.useImperativeHandle(Le,function(){return Nn.current});var Qt=function(pt){var xt=pt.keyCode,fn=pt.shiftKey;switch(xt){case ot.Z.TAB:{if(xt===ot.Z.TAB){if(!fn&&document.activeElement===rr.current){var In;(In=An.current)===null||In===void 0||In.focus({preventScroll:!0})}else if(fn&&document.activeElement===An.current){var pn;(pn=rr.current)===null||pn===void 0||pn.focus({preventScroll:!0})}}break}case ot.Z.ESC:{bn&&Cn&&(pt.stopPropagation(),bn(pt));break}}};b.useEffect(function(){if(Be&&jt){var mt;(mt=Nn.current)===null||mt===void 0||mt.focus({preventScroll:!0})}},[Be]);var Yt=b.useState(!1),xn=(0,Pe.Z)(Yt,2),Vn=xn[0],jn=xn[1],vt=b.useContext(ue),Dt;typeof mn=="boolean"?Dt=mn?{}:{distance:0}:Dt=mn||{};var Te=(rt=(ut=(At=Dt)===null||At===void 0?void 0:At.distance)!==null&&ut!==void 0?ut:vt==null?void 0:vt.pushDistance)!==null&&rt!==void 0?rt:180,gt=b.useMemo(function(){return{pushDistance:Te,push:function(){jn(!0)},pull:function(){jn(!1)}}},[Te]);b.useEffect(function(){if(Be){var mt;vt==null||(mt=vt.push)===null||mt===void 0||mt.call(vt)}else{var pt;vt==null||(pt=vt.pull)===null||pt===void 0||pt.call(vt)}},[Be]),b.useEffect(function(){return function(){var mt;vt==null||(mt=vt.pull)===null||mt===void 0||mt.call(vt)}},[]);var Ke=nr&&b.createElement(Rt.default,(0,Ee.Z)({key:"mask"},Zn,{visible:Be}),function(mt,pt){var xt=mt.className,fn=mt.style;return b.createElement("div",{className:ce()("".concat(Ne,"-mask"),xt,on==null?void 0:on.mask,er),style:(0,et.Z)((0,et.Z)((0,et.Z)({},fn),kn),wn==null?void 0:wn.mask),onClick:ir&&Be?bn:void 0,ref:pt})}),wt=typeof Kt=="function"?Kt(Ut):Kt,Ht={};if(Vn&&Te)switch(Ut){case"top":Ht.transform="translateY(".concat(Te,"px)");break;case"bottom":Ht.transform="translateY(".concat(-Te,"px)");break;case"left":Ht.transform="translateX(".concat(Te,"px)");break;default:Ht.transform="translateX(".concat(-Te,"px)");break}Ut==="left"||Ut==="right"?Ht.width=Ae(nn):Ht.height=Ae(On);var Hn={onMouseEnter:St,onMouseOver:Et,onMouseLeave:sn,onClick:Pn,onKeyDown:Tn,onKeyUp:Jt},Jn=b.createElement(Rt.default,(0,Ee.Z)({key:"panel"},wt,{visible:Be,forceRender:vn,onVisibleChanged:function(pt){cn==null||cn(pt)},removeOnLeave:!1,leavedClassName:"".concat(Ne,"-content-wrapper-hidden")}),function(mt,pt){var xt=mt.className,fn=mt.style,In=b.createElement(en,(0,Ee.Z)({id:je,containerRef:pt,prefixCls:Ne,className:ce()(_t,on==null?void 0:on.content),style:(0,et.Z)((0,et.Z)({},Pt),wn==null?void 0:wn.content)},(0,st.Z)(He,{aria:!0}),Hn),_n);return b.createElement("div",(0,Ee.Z)({className:ce()("".concat(Ne,"-content-wrapper"),on==null?void 0:on.wrapper,xt),style:(0,et.Z)((0,et.Z)((0,et.Z)({},Ht),fn),wn==null?void 0:wn.wrapper)},(0,st.Z)(He,{data:!0})),gn?gn(In):In)}),lt=(0,et.Z)({},Tt);return an&&(lt.zIndex=an),b.createElement(ue.Provider,{value:gt},b.createElement("div",{className:ce()(Ne,"".concat(Ne,"-").concat(Ut),Je,(0,$e.Z)((0,$e.Z)({},"".concat(Ne,"-open"),Be),"".concat(Ne,"-inline"),Zt)),style:lt,tabIndex:-1,ref:Nn,onKeyDown:Qt},Ke,b.createElement("div",{tabIndex:0,ref:An,style:nt,"aria-hidden":"true","data-sentinel":"start"}),Jn,b.createElement("div",{tabIndex:0,ref:rr,style:nt,"aria-hidden":"true","data-sentinel":"end"})))}var Ot=b.forwardRef(zt),ht=Ot,Ct=function(Le){var rt=Le.open,ut=rt===void 0?!1:rt,At=Le.prefixCls,Ne=At===void 0?"rc-drawer":At,Be=Le.placement,Ut=Be===void 0?"right":Be,Zt=Le.autoFocus,mn=Zt===void 0?!0:Zt,vn=Le.keyboard,jt=vn===void 0?!0:vn,Cn=Le.width,on=Cn===void 0?378:Cn,Je=Le.mask,Tt=Je===void 0?!0:Je,an=Le.maskClosable,_t=an===void 0?!0:an,je=Le.getContainer,Pt=Le.forceRender,Kt=Le.afterOpenChange,nn=Le.destroyOnClose,On=Le.onMouseEnter,_n=Le.onMouseOver,nr=Le.onMouseLeave,ir=Le.onClick,Zn=Le.onKeyDown,er=Le.onKeyUp,kn=Le.panelRef,cn=b.useState(!1),bn=(0,Pe.Z)(cn,2),St=bn[0],Et=bn[1],sn=b.useState(!1),Pn=(0,Pe.Z)(sn,2),Tn=Pn[0],Jt=Pn[1];(0,be.Z)(function(){Jt(!0)},[]);var wn=Tn?ut:!1,gn=b.useRef(),Nn=b.useRef();(0,be.Z)(function(){wn&&(Nn.current=document.activeElement)},[wn]);var An=function(Vn){var jn;if(Et(Vn),Kt==null||Kt(Vn),!Vn&&Nn.current&&!((jn=gn.current)!==null&&jn!==void 0&&jn.contains(Nn.current))){var vt;(vt=Nn.current)===null||vt===void 0||vt.focus({preventScroll:!0})}},rr=b.useMemo(function(){return{panel:kn}},[kn]);if(!Pt&&!St&&!wn&&nn)return null;var Qt={onMouseEnter:On,onMouseOver:_n,onMouseLeave:nr,onClick:ir,onKeyDown:Zn,onKeyUp:er},Yt=(0,et.Z)((0,et.Z)({},Le),{},{open:wn,prefixCls:Ne,placement:Ut,autoFocus:mn,keyboard:jt,width:on,mask:Tt,maskClosable:_t,inline:je===!1,afterOpenChange:An,ref:gn},Qt);return b.createElement(Ie.Provider,{value:rr},b.createElement(pe.Z,{open:wn||Pt||St,autoDestroy:!1,getContainer:je,autoLock:Tt&&(wn||St)},b.createElement(ht,Yt)))},De=Ct,ke=De,xe=ee(62487),se=ee(75030),It=ee(86641),_e=ee(55743),Ye=ee(48755),Ft=ee(91190),Ce=ee(78776),he=ee(458),Vt=He=>{var Le,rt;const{prefixCls:ut,title:At,footer:Ne,extra:Be,loading:Ut,onClose:Zt,headerStyle:mn,bodyStyle:vn,footerStyle:jt,children:Cn,classNames:on,styles:Je}=He,Tt=(0,Ye.dj)("drawer"),an=b.useCallback(nn=>b.createElement("button",{type:"button",onClick:Zt,"aria-label":"Close",className:`${ut}-close`},nn),[Zt]),[_t,je]=(0,Ce.Z)((0,Ce.w)(He),(0,Ce.w)(Tt),{closable:!0,closeIconRender:an}),Pt=b.useMemo(()=>{var nn,On;return!At&&!_t?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(nn=Tt.styles)===null||nn===void 0?void 0:nn.header),mn),Je==null?void 0:Je.header),className:ce()(`${ut}-header`,{[`${ut}-header-close-only`]:_t&&!At&&!Be},(On=Tt.classNames)===null||On===void 0?void 0:On.header,on==null?void 0:on.header)},b.createElement("div",{className:`${ut}-header-title`},je,At&&b.createElement("div",{className:`${ut}-title`},At)),Be&&b.createElement("div",{className:`${ut}-extra`},Be))},[_t,je,Be,mn,ut,At]),Kt=b.useMemo(()=>{var nn,On;if(!Ne)return null;const _n=`${ut}-footer`;return b.createElement("div",{className:ce()(_n,(nn=Tt.classNames)===null||nn===void 0?void 0:nn.footer,on==null?void 0:on.footer),style:Object.assign(Object.assign(Object.assign({},(On=Tt.styles)===null||On===void 0?void 0:On.footer),jt),Je==null?void 0:Je.footer)},Ne)},[Ne,jt,ut]);return b.createElement(b.Fragment,null,Pt,b.createElement("div",{className:ce()(`${ut}-body`,on==null?void 0:on.body,(Le=Tt.classNames)===null||Le===void 0?void 0:Le.body),style:Object.assign(Object.assign(Object.assign({},(rt=Tt.styles)===null||rt===void 0?void 0:rt.body),vn),Je==null?void 0:Je.body)},Ut?b.createElement(he.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${ut}-body-skeleton`}):Cn),Kt)},Lt=ee(36237),me=ee(63356),qe=ee(16931),it=ee(51636);const Xt=He=>{const Le="100%";return{left:`translateX(-${Le})`,right:`translateX(${Le})`,top:`translateY(-${Le})`,bottom:`translateY(${Le})`}[He]},Xe=(He,Le)=>({"&-enter, &-appear":Object.assign(Object.assign({},He),{"&-active":Le}),"&-leave":Object.assign(Object.assign({},Le),{"&-active":He})}),Gt=(He,Le)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Le}`}}},Xe({opacity:He},{opacity:1})),Fe=(He,Le)=>[Gt(.7,Le),Xe({transform:Xt(He)},{transform:"none"})];var $t=He=>{const{componentCls:Le,motionDurationSlow:rt}=He;return{[Le]:{[`${Le}-mask-motion`]:Gt(0,rt),[`${Le}-panel-motion`]:["left","right","top","bottom"].reduce((ut,At)=>Object.assign(Object.assign({},ut),{[`&-${At}`]:Fe(At,rt)}),{})}}};const ae=He=>{const{borderRadiusSM:Le,componentCls:rt,zIndexPopup:ut,colorBgMask:At,colorBgElevated:Ne,motionDurationSlow:Be,motionDurationMid:Ut,paddingXS:Zt,padding:mn,paddingLG:vn,fontSizeLG:jt,lineHeightLG:Cn,lineWidth:on,lineType:Je,colorSplit:Tt,marginXS:an,colorIcon:_t,colorIconHover:je,colorBgTextHover:Pt,colorBgTextActive:Kt,colorText:nn,fontWeightStrong:On,footerPaddingBlock:_n,footerPaddingInline:nr,calc:ir}=He,Zn=`${rt}-content-wrapper`;return{[rt]:{position:"fixed",inset:0,zIndex:ut,pointerEvents:"none",color:nn,"&-pure":{position:"relative",background:Ne,display:"flex",flexDirection:"column",[`&${rt}-left`]:{boxShadow:He.boxShadowDrawerLeft},[`&${rt}-right`]:{boxShadow:He.boxShadowDrawerRight},[`&${rt}-top`]:{boxShadow:He.boxShadowDrawerUp},[`&${rt}-bottom`]:{boxShadow:He.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${rt}-mask`]:{position:"absolute",inset:0,zIndex:ut,background:At,pointerEvents:"auto"},[Zn]:{position:"absolute",zIndex:ut,maxWidth:"100vw",transition:`all ${Be}`,"&-hidden":{display:"none"}},[`&-left > ${Zn}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:He.boxShadowDrawerLeft},[`&-right > ${Zn}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:He.boxShadowDrawerRight},[`&-top > ${Zn}`]:{top:0,insetInline:0,boxShadow:He.boxShadowDrawerUp},[`&-bottom > ${Zn}`]:{bottom:0,insetInline:0,boxShadow:He.boxShadowDrawerDown},[`${rt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:Ne,pointerEvents:"auto"},[`${rt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,Lt.unit)(mn)} ${(0,Lt.unit)(vn)}`,fontSize:jt,lineHeight:Cn,borderBottom:`${(0,Lt.unit)(on)} ${Je} ${Tt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${rt}-extra`]:{flex:"none"},[`${rt}-close`]:Object.assign({display:"inline-flex",width:ir(jt).add(Zt).equal(),height:ir(jt).add(Zt).equal(),borderRadius:Le,justifyContent:"center",alignItems:"center",marginInlineEnd:an,color:_t,fontWeight:On,fontSize:jt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Ut}`,textRendering:"auto","&:hover":{color:je,backgroundColor:Pt,textDecoration:"none"},"&:active":{backgroundColor:Kt}},(0,me.Qy)(He)),[`${rt}-title`]:{flex:1,margin:0,fontWeight:He.fontWeightStrong,fontSize:jt,lineHeight:Cn},[`${rt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:vn,overflow:"auto",[`${rt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${rt}-footer`]:{flexShrink:0,padding:`${(0,Lt.unit)(_n)} ${(0,Lt.unit)(nr)}`,borderTop:`${(0,Lt.unit)(on)} ${Je} ${Tt}`},"&-rtl":{direction:"rtl"}}}},ne=He=>({zIndexPopup:He.zIndexPopupBase,footerPaddingBlock:He.paddingXS,footerPaddingInline:He.padding});var te=(0,qe.I$)("Drawer",He=>{const Le=(0,it.mergeToken)(He,{});return[ae(Le),$t(Le)]},ne),ie=function(He,Le){var rt={};for(var ut in He)Object.prototype.hasOwnProperty.call(He,ut)&&Le.indexOf(ut)<0&&(rt[ut]=He[ut]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ut=Object.getOwnPropertySymbols(He);At{var Le;const{rootClassName:rt,width:ut,height:At,size:Ne="default",mask:Be=!0,push:Ut=re,open:Zt,afterOpenChange:mn,onClose:vn,prefixCls:jt,getContainer:Cn,style:on,className:Je,visible:Tt,afterVisibleChange:an,maskStyle:_t,drawerStyle:je,contentWrapperStyle:Pt}=He,Kt=ie(He,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:nn,getPrefixCls:On,direction:_n,className:nr,style:ir,classNames:Zn,styles:er}=(0,Ye.dj)("drawer"),kn=On("drawer",jt),[cn,bn,St]=te(kn),Et=Cn===void 0&&nn?()=>nn(document.body):Cn,sn=ce()({"no-mask":!Be,[`${kn}-rtl`]:_n==="rtl"},rt,bn,St),Pn=b.useMemo(()=>ut!=null?ut:Ne==="large"?736:378,[ut,Ne]),Tn=b.useMemo(()=>At!=null?At:Ne==="large"?736:378,[At,Ne]),Jt={motionName:(0,It.m)(kn,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},wn=Yt=>({motionName:(0,It.m)(kn,`panel-motion-${Yt}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),gn=(0,Ft.H)(),[Nn,An]=(0,se.Cn)("Drawer",Kt.zIndex),{classNames:rr={},styles:Qt={}}=Kt;return cn(b.createElement(xe.Z,{form:!0,space:!0},b.createElement(_e.Z.Provider,{value:An},b.createElement(ke,Object.assign({prefixCls:kn,onClose:vn,maskMotion:Jt,motion:wn},Kt,{classNames:{mask:ce()(rr.mask,Zn.mask),content:ce()(rr.content,Zn.content),wrapper:ce()(rr.wrapper,Zn.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Qt.mask),_t),er.mask),content:Object.assign(Object.assign(Object.assign({},Qt.content),je),er.content),wrapper:Object.assign(Object.assign(Object.assign({},Qt.wrapper),Pt),er.wrapper)},open:Zt!=null?Zt:Tt,mask:Be,push:Ut,width:Pn,height:Tn,style:Object.assign(Object.assign({},ir),on),className:ce()(nr,Je),rootClassName:sn,getContainer:Et,afterOpenChange:mn!=null?mn:an,panelRef:gn,zIndex:Nn}),b.createElement(Vt,Object.assign({prefixCls:kn},Kt,{onClose:vn}))))))},Se=He=>{const{prefixCls:Le,style:rt,className:ut,placement:At="right"}=He,Ne=ie(He,["prefixCls","style","className","placement"]),{getPrefixCls:Be}=b.useContext(Ye.E_),Ut=Be("drawer",Le),[Zt,mn,vn]=te(Ut),jt=ce()(Ut,`${Ut}-pure`,`${Ut}-${At}`,mn,vn,ut);return Zt(b.createElement("div",{className:jt,style:rt},b.createElement(Vt,Object.assign({prefixCls:Ut},Ne))))};le._InternalPanelDoNotUseOrYouWillBeFired=Se;var Ge=le},19563:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Lt}});var b=ee(59301),Me=ee(33853),ce=ee(38819),et=ee(92310),Pe=ee.n(et),pe=ee(96478),be=ee(6089),Ve=ee(18929),Ie=ee(2738),ue=ee(75030),Ee=me=>typeof me!="object"&&typeof me!="function"||me===null,Rt=ee(52838),ot=ee(45915),st=ee(22703),Ue=ee(32383),Re=ee(55743),ft=ee(48755),kt=ee(83397),en=ee(93041),Qe=ee(78857),Ae=ee(57700),tt=ee(36237),nt=ee(63356),zt=ee(46e3),Ot=ee(93873),ht=ee(34925),Ct=ee(37645),De=ee(36305),ke=ee(16931),xe=ee(51636),It=me=>{const{componentCls:qe,menuCls:it,colorError:Xt,colorTextLightSolid:Xe}=me,Gt=`${it}-item`;return{[`${qe}, ${qe}-menu-submenu`]:{[`${it} ${Gt}`]:{[`&${Gt}-danger:not(${Gt}-disabled)`]:{color:Xt,"&:hover":{color:Xe,backgroundColor:Xt}}}}}};const _e=me=>{const{componentCls:qe,menuCls:it,zIndexPopup:Xt,dropdownArrowDistance:Xe,sizePopupArrow:Gt,antCls:Fe,iconCls:dn,motionDurationMid:$t,paddingBlock:ae,fontSize:ne,dropdownEdgeChildPadding:te,colorTextDisabled:ie,fontSizeIcon:de,controlPaddingHorizontal:re,colorBgElevated:le}=me;return[{[qe]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Xt,display:"block","&::before":{position:"absolute",insetBlock:me.calc(Gt).div(2).sub(Xe).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Fe}-btn`]:{[`& > ${dn}-down, & > ${Fe}-btn-icon > ${dn}-down`]:{fontSize:de}},[`${qe}-wrap`]:{position:"relative",[`${Fe}-btn > ${dn}-down`]:{fontSize:de},[`${dn}-down::before`]:{transition:`transform ${$t}`}},[`${qe}-wrap-open`]:{[`${dn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Fe}-slide-down-enter${Fe}-slide-down-enter-active${qe}-placement-bottomLeft, + &${Fe}-slide-down-appear${Fe}-slide-down-appear-active${qe}-placement-bottomLeft, + &${Fe}-slide-down-enter${Fe}-slide-down-enter-active${qe}-placement-bottom, + &${Fe}-slide-down-appear${Fe}-slide-down-appear-active${qe}-placement-bottom, + &${Fe}-slide-down-enter${Fe}-slide-down-enter-active${qe}-placement-bottomRight, + &${Fe}-slide-down-appear${Fe}-slide-down-appear-active${qe}-placement-bottomRight`]:{animationName:zt.fJ},[`&${Fe}-slide-up-enter${Fe}-slide-up-enter-active${qe}-placement-topLeft, + &${Fe}-slide-up-appear${Fe}-slide-up-appear-active${qe}-placement-topLeft, + &${Fe}-slide-up-enter${Fe}-slide-up-enter-active${qe}-placement-top, + &${Fe}-slide-up-appear${Fe}-slide-up-appear-active${qe}-placement-top, + &${Fe}-slide-up-enter${Fe}-slide-up-enter-active${qe}-placement-topRight, + &${Fe}-slide-up-appear${Fe}-slide-up-appear-active${qe}-placement-topRight`]:{animationName:zt.Qt},[`&${Fe}-slide-down-leave${Fe}-slide-down-leave-active${qe}-placement-bottomLeft, + &${Fe}-slide-down-leave${Fe}-slide-down-leave-active${qe}-placement-bottom, + &${Fe}-slide-down-leave${Fe}-slide-down-leave-active${qe}-placement-bottomRight`]:{animationName:zt.Uw},[`&${Fe}-slide-up-leave${Fe}-slide-up-leave-active${qe}-placement-topLeft, + &${Fe}-slide-up-leave${Fe}-slide-up-leave-active${qe}-placement-top, + &${Fe}-slide-up-leave${Fe}-slide-up-leave-active${qe}-placement-topRight`]:{animationName:zt.ly}}},(0,Ct.ZP)(me,le,{arrowPlacement:{top:!0,bottom:!0}}),{[`${qe} ${it}`]:{position:"relative",margin:0},[`${it}-submenu-popup`]:{position:"absolute",zIndex:Xt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${qe}, ${qe}-menu-submenu`]:Object.assign(Object.assign({},(0,nt.Wf)(me)),{[it]:Object.assign(Object.assign({padding:te,listStyleType:"none",backgroundColor:le,backgroundClip:"padding-box",borderRadius:me.borderRadiusLG,outline:"none",boxShadow:me.boxShadowSecondary},(0,nt.Qy)(me)),{"&:empty":{padding:0,boxShadow:"none"},[`${it}-item-group-title`]:{padding:`${(0,tt.unit)(ae)} ${(0,tt.unit)(re)}`,color:me.colorTextDescription,transition:`all ${$t}`},[`${it}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${it}-item-icon`]:{minWidth:ne,marginInlineEnd:me.marginXS,fontSize:me.fontSizeSM},[`${it}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${$t}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${it}-item-extra`]:{paddingInlineStart:me.padding,marginInlineStart:"auto",fontSize:me.fontSizeSM,color:me.colorTextDescription}},[`${it}-item, ${it}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,tt.unit)(ae)} ${(0,tt.unit)(re)}`,color:me.colorText,fontWeight:"normal",fontSize:ne,lineHeight:me.lineHeight,cursor:"pointer",transition:`all ${$t}`,borderRadius:me.borderRadiusSM,"&:hover, &-active":{backgroundColor:me.controlItemBgHover}},(0,nt.Qy)(me)),{"&-selected":{color:me.colorPrimary,backgroundColor:me.controlItemBgActive,"&:hover, &-active":{backgroundColor:me.controlItemBgActiveHover}},"&-disabled":{color:ie,cursor:"not-allowed","&:hover":{color:ie,backgroundColor:le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,tt.unit)(me.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:me.colorSplit},[`${qe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:me.paddingXS,[`${qe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:me.colorTextDescription,fontSize:de,fontStyle:"normal"}}}),[`${it}-item-group-list`]:{margin:`0 ${(0,tt.unit)(me.marginXS)}`,padding:0,listStyle:"none"},[`${it}-submenu-title`]:{paddingInlineEnd:me.calc(re).add(me.fontSizeSM).equal()},[`${it}-submenu-vertical`]:{position:"relative"},[`${it}-submenu${it}-submenu-disabled ${qe}-menu-submenu-title`]:{[`&, ${qe}-menu-submenu-arrow-icon`]:{color:ie,backgroundColor:le,cursor:"not-allowed"}},[`${it}-submenu-selected ${qe}-menu-submenu-title`]:{color:me.colorPrimary}})})},[(0,zt.oN)(me,"slide-up"),(0,zt.oN)(me,"slide-down"),(0,Ot.Fm)(me,"move-up"),(0,Ot.Fm)(me,"move-down"),(0,ht._y)(me,"zoom-big")]]},Ye=me=>Object.assign(Object.assign({zIndexPopup:me.zIndexPopupBase+50,paddingBlock:(me.controlHeight-me.fontSize*me.lineHeight)/2},(0,Ct.wZ)({contentRadius:me.borderRadiusLG,limitVerticalRadius:!0})),(0,De.w)(me));var Ft=(0,ke.I$)("Dropdown",me=>{const{marginXXS:qe,sizePopupArrow:it,paddingXXS:Xt,componentCls:Xe}=me,Gt=(0,xe.mergeToken)(me,{menuCls:`${Xe}-menu`,dropdownArrowDistance:me.calc(it).div(2).add(qe).equal(),dropdownEdgeChildPadding:Xt});return[_e(Gt),It(Gt)]},Ye,{resetStyle:!1});const Ce=null,he=me=>{var qe;const{menu:it,arrow:Xt,prefixCls:Xe,children:Gt,trigger:Fe,disabled:dn,dropdownRender:$t,getPopupContainer:ae,overlayClassName:ne,rootClassName:te,overlayStyle:ie,open:de,onOpenChange:re,visible:le,onVisibleChange:Se,mouseEnterDelay:Ge=.15,mouseLeaveDelay:He=.1,autoAdjustOverflow:Le=!0,placement:rt="",overlay:ut,transitionName:At}=me,{getPopupContainer:Ne,getPrefixCls:Be,direction:Ut,dropdown:Zt}=b.useContext(ft.E_),mn=(0,Ue.ln)("Dropdown"),vn=b.useMemo(()=>{const Et=Be();return At!==void 0?At:rt.includes("top")?`${Et}-slide-down`:`${Et}-slide-up`},[Be,rt,At]),jt=b.useMemo(()=>rt?rt.includes("Center")?rt.slice(0,rt.indexOf("Center")):rt:Ut==="rtl"?"bottomRight":"bottomLeft",[rt,Ut]),Cn=Be("dropdown",Xe),on=(0,kt.Z)(Cn),[Je,Tt,an]=Ft(Cn,on),[,_t]=(0,Ae.ZP)(),je=b.Children.only(Ee(Gt)?b.createElement("span",null,Gt):Gt),Pt=(0,st.Tm)(je,{className:Pe()(`${Cn}-trigger`,{[`${Cn}-rtl`]:Ut==="rtl"},je.props.className),disabled:(qe=je.props.disabled)!==null&&qe!==void 0?qe:dn}),Kt=dn?[]:Fe,nn=!!(Kt!=null&&Kt.includes("contextMenu")),[On,_n]=(0,Ve.Z)(!1,{value:de!=null?de:le}),nr=(0,be.Z)(Et=>{re==null||re(Et,{source:"trigger"}),Se==null||Se(Et),_n(Et)}),ir=Pe()(ne,te,Tt,an,on,Zt==null?void 0:Zt.className,{[`${Cn}-rtl`]:Ut==="rtl"}),Zn=(0,Rt.Z)({arrowPointAtCenter:typeof Xt=="object"&&Xt.pointAtCenter,autoAdjustOverflow:Le,offset:_t.marginXXS,arrowWidth:Xt?_t.sizePopupArrow:0,borderRadius:_t.borderRadius}),er=b.useCallback(()=>{it!=null&&it.selectable&&(it!=null&&it.multiple)||(re==null||re(!1,{source:"menu"}),_n(!1))},[it==null?void 0:it.selectable,it==null?void 0:it.multiple]),kn=()=>{let Et;return it!=null&&it.items?Et=b.createElement(en.default,Object.assign({},it)):typeof ut=="function"?Et=ut():Et=ut,$t&&(Et=$t(Et)),Et=b.Children.only(typeof Et=="string"?b.createElement("span",null,Et):Et),b.createElement(Qe.J,{prefixCls:`${Cn}-menu`,rootClassName:Pe()(an,on),expandIcon:b.createElement("span",{className:`${Cn}-menu-submenu-arrow`},Ut==="rtl"?b.createElement(Me.Z,{className:`${Cn}-menu-submenu-arrow-icon`}):b.createElement(ce.Z,{className:`${Cn}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:er,validator:sn=>{let{mode:Pn}=sn}},Et)},[cn,bn]=(0,ue.Cn)("Dropdown",ie==null?void 0:ie.zIndex);let St=b.createElement(pe.Z,Object.assign({alignPoint:nn},(0,Ie.Z)(me,["rootClassName"]),{mouseEnterDelay:Ge,mouseLeaveDelay:He,visible:On,builtinPlacements:Zn,arrow:!!Xt,overlayClassName:ir,prefixCls:Cn,getPopupContainer:ae||Ne,transitionName:vn,trigger:Kt,overlay:kn,placement:jt,onVisibleChange:nr,overlayStyle:Object.assign(Object.assign(Object.assign({},Zt==null?void 0:Zt.style),ie),{zIndex:cn})}),Pt);return cn&&(St=b.createElement(Re.Z.Provider,{value:bn},St)),Je(St)},yt=(0,ot.Z)(he,"align",void 0,"dropdown",me=>me),Vt=me=>b.createElement(yt,Object.assign({},me),b.createElement("span",null));he._InternalPanelDoNotUseOrYouWillBeFired=Vt;var Lt=he},75727:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return ot}});var b=ee(19563),Me=ee(59301),ce=ee(18785),et=ee(92310),Pe=ee.n(et),pe=ee(7939),be=ee(48755),Ve=ee(44104),Ie=ee(70045),ue=function(st,Ue){var Re={};for(var ft in st)Object.prototype.hasOwnProperty.call(st,ft)&&Ue.indexOf(ft)<0&&(Re[ft]=st[ft]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,ft=Object.getOwnPropertySymbols(st);kt{const{getPopupContainer:Ue,getPrefixCls:Re,direction:ft}=Me.useContext(be.E_),{prefixCls:kt,type:en="default",danger:Qe,disabled:Ae,loading:tt,onClick:nt,htmlType:zt,children:Ot,className:ht,menu:Ct,arrow:De,autoFocus:ke,overlay:xe,trigger:se,align:It,open:_e,onOpenChange:Ye,placement:Ft,getPopupContainer:Ce,href:he,icon:yt=Me.createElement(ce.Z,null),title:Vt,buttonsRender:Lt=Ge=>Ge,mouseEnterDelay:me,mouseLeaveDelay:qe,overlayClassName:it,overlayStyle:Xt,destroyPopupOnHide:Xe,dropdownRender:Gt}=st,Fe=ue(st,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),dn=Re("dropdown",kt),$t=`${dn}-button`,ae={menu:Ct,arrow:De,autoFocus:ke,align:It,disabled:Ae,trigger:Ae?[]:se,onOpenChange:Ye,getPopupContainer:Ce||Ue,mouseEnterDelay:me,mouseLeaveDelay:qe,overlayClassName:it,overlayStyle:Xt,destroyPopupOnHide:Xe,dropdownRender:Gt},{compactSize:ne,compactItemClassnames:te}=(0,Ie.ri)(dn,ft),ie=Pe()($t,te,ht);"overlay"in st&&(ae.overlay=xe),"open"in st&&(ae.open=_e),"placement"in st?ae.placement=Ft:ae.placement=ft==="rtl"?"bottomLeft":"bottomRight";const de=Me.createElement(pe.ZP,{type:en,danger:Qe,disabled:Ae,loading:tt,onClick:nt,htmlType:zt,href:he,title:Vt},Ot),re=Me.createElement(pe.ZP,{type:en,danger:Qe,icon:yt}),[le,Se]=Lt([de,re]);return Me.createElement(Ve.Z.Compact,Object.assign({className:ie,size:ne,block:!0},Fe),le,Me.createElement(b.Z,Object.assign({},ae),Se))};$e.__ANT_BUTTON=!0;var Ee=$e;const Rt=b.Z;Rt.Button=Ee;var ot=Rt},584:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return en}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(9017),Pe=ee(17835),pe=ee(57700),Ve=()=>{const[,Qe]=(0,pe.ZP)(),[Ae]=(0,et.Z)("Empty"),nt=new Pe.FastColor(Qe.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:nt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Ae==null?void 0:Ae.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),b.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),b.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),b.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),b.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},ue=()=>{const[,Qe]=(0,pe.ZP)(),[Ae]=(0,et.Z)("Empty"),{colorFill:tt,colorFillTertiary:nt,colorFillQuaternary:zt,colorBgContainer:Ot}=Qe,{borderColor:ht,shadowColor:Ct,contentColor:De}=(0,b.useMemo)(()=>({borderColor:new Pe.FastColor(tt).onBackground(Ot).toHexString(),shadowColor:new Pe.FastColor(nt).onBackground(Ot).toHexString(),contentColor:new Pe.FastColor(zt).onBackground(Ot).toHexString()}),[tt,nt,zt,Ot]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(Ae==null?void 0:Ae.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:Ct,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:ht},b.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),b.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:De}))))},$e=ee(16931),Ee=ee(51636);const Rt=Qe=>{const{componentCls:Ae,margin:tt,marginXS:nt,marginXL:zt,fontSize:Ot,lineHeight:ht}=Qe;return{[Ae]:{marginInline:nt,fontSize:Ot,lineHeight:ht,textAlign:"center",[`${Ae}-image`]:{height:Qe.emptyImgHeight,marginBottom:nt,opacity:Qe.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${Ae}-description`]:{color:Qe.colorTextDescription},[`${Ae}-footer`]:{marginTop:tt},"&-normal":{marginBlock:zt,color:Qe.colorTextDescription,[`${Ae}-description`]:{color:Qe.colorTextDescription},[`${Ae}-image`]:{height:Qe.emptyImgHeightMD}},"&-small":{marginBlock:nt,color:Qe.colorTextDescription,[`${Ae}-image`]:{height:Qe.emptyImgHeightSM}}}}};var ot=(0,$e.I$)("Empty",Qe=>{const{componentCls:Ae,controlHeightLG:tt,calc:nt}=Qe,zt=(0,Ee.mergeToken)(Qe,{emptyImgCls:`${Ae}-img`,emptyImgHeight:nt(tt).mul(2.5).equal(),emptyImgHeightMD:tt,emptyImgHeightSM:nt(tt).mul(.875).equal()});return[Rt(zt)]}),st=ee(48755),Ue=function(Qe,Ae){var tt={};for(var nt in Qe)Object.prototype.hasOwnProperty.call(Qe,nt)&&Ae.indexOf(nt)<0&&(tt[nt]=Qe[nt]);if(Qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zt=0,nt=Object.getOwnPropertySymbols(Qe);zt{const{className:Ae,rootClassName:tt,prefixCls:nt,image:zt=Re,description:Ot,children:ht,imageStyle:Ct,style:De,classNames:ke,styles:xe}=Qe,se=Ue(Qe,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:It,direction:_e,className:Ye,style:Ft,classNames:Ce,styles:he}=(0,st.dj)("empty"),yt=It("empty",nt),[Vt,Lt,me]=ot(yt),[qe]=(0,et.Z)("Empty"),it=typeof Ot!="undefined"?Ot:qe==null?void 0:qe.description,Xt=typeof it=="string"?it:"empty";let Xe=null;return typeof zt=="string"?Xe=b.createElement("img",{alt:Xt,src:zt}):Xe=zt,Vt(b.createElement("div",Object.assign({className:ce()(Lt,me,yt,Ye,{[`${yt}-normal`]:zt===ft,[`${yt}-rtl`]:_e==="rtl"},Ae,tt,Ce.root,ke==null?void 0:ke.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},he.root),Ft),xe==null?void 0:xe.root),De)},se),b.createElement("div",{className:ce()(`${yt}-image`,Ce.image,ke==null?void 0:ke.image),style:Object.assign(Object.assign(Object.assign({},Ct),he.image),xe==null?void 0:xe.image)},Xe),it&&b.createElement("div",{className:ce()(`${yt}-description`,Ce.description,ke==null?void 0:ke.description),style:Object.assign(Object.assign({},he.description),xe==null?void 0:xe.description)},it),ht&&b.createElement("div",{className:ce()(`${yt}-footer`,Ce.footer,ke==null?void 0:ke.footer),style:Object.assign(Object.assign({},he.footer),xe==null?void 0:xe.footer)},ht)))};kt.PRESENTED_IMAGE_DEFAULT=Re,kt.PRESENTED_IMAGE_SIMPLE=ft;var en=kt},28284:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return Dt}});var b=ee(56553),Me=ee(77654),ce=ee(59301),et=ee(92310),Pe=ee.n(et),pe=ee(77900),be=ee(86641),Ve=ee(83397);function Ie(Te){const[gt,Ke]=ce.useState(Te);return ce.useEffect(()=>{const wt=setTimeout(()=>{Ke(Te)},Te.length?0:10);return()=>{clearTimeout(wt)}},[Te]),gt}var ue=ee(36237),$e=ee(63356),Ee=ee(34925),Rt=ee(34961),ot=ee(51636),st=ee(16931),Re=Te=>{const{componentCls:gt}=Te,Ke=`${gt}-show-help`,wt=`${gt}-show-help-item`;return{[Ke]:{transition:`opacity ${Te.motionDurationFast} ${Te.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[wt]:{overflow:"hidden",transition:`height ${Te.motionDurationFast} ${Te.motionEaseInOut}, + opacity ${Te.motionDurationFast} ${Te.motionEaseInOut}, + transform ${Te.motionDurationFast} ${Te.motionEaseInOut} !important`,[`&${wt}-appear, &${wt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${wt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const ft=Te=>({legend:{display:"block",width:"100%",marginBottom:Te.marginLG,padding:0,color:Te.colorTextDescription,fontSize:Te.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,ue.unit)(Te.lineWidth)} ${Te.lineType} ${Te.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,ue.unit)(Te.controlOutlineWidth)} ${Te.controlOutline}`},output:{display:"block",paddingTop:15,color:Te.colorText,fontSize:Te.fontSize,lineHeight:Te.lineHeight}}),kt=(Te,gt)=>{const{formItemCls:Ke}=Te;return{[Ke]:{[`${Ke}-label > label`]:{height:gt},[`${Ke}-control-input`]:{minHeight:gt}}}},en=Te=>{const{componentCls:gt}=Te;return{[Te.componentCls]:Object.assign(Object.assign(Object.assign({},(0,$e.Wf)(Te)),ft(Te)),{[`${gt}-text`]:{display:"inline-block",paddingInlineEnd:Te.paddingSM},"&-small":Object.assign({},kt(Te,Te.controlHeightSM)),"&-large":Object.assign({},kt(Te,Te.controlHeightLG))})}},Qe=Te=>{const{formItemCls:gt,iconCls:Ke,rootPrefixCls:wt,antCls:Ht,labelRequiredMarkColor:Hn,labelColor:Jn,labelFontSize:lt,labelHeight:mt,labelColonMarginInlineStart:pt,labelColonMarginInlineEnd:xt,itemMarginBottom:fn}=Te;return{[gt]:Object.assign(Object.assign({},(0,$e.Wf)(Te)),{marginBottom:fn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden${Ht}-row`]:{display:"none"},"&-has-warning":{[`${gt}-split`]:{color:Te.colorError}},"&-has-error":{[`${gt}-split`]:{color:Te.colorWarning}},[`${gt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:Te.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:mt,color:Jn,fontSize:lt,[`> ${Ke}`]:{fontSize:Te.fontSize,verticalAlign:"top"},[`&${gt}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:Te.marginXXS,color:Hn,fontSize:Te.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${gt}-required-mark-hidden, &${gt}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${gt}-optional`]:{display:"inline-block",marginInlineStart:Te.marginXXS,color:Te.colorTextDescription,[`&${gt}-required-mark-hidden`]:{display:"none"}},[`${gt}-tooltip`]:{color:Te.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Te.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:pt,marginInlineEnd:xt},[`&${gt}-no-colon::after`]:{content:'"\\a0"'}}},[`${gt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${wt}-col-'"]):not([class*="' ${wt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Te.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[gt]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:Te.colorTextDescription,fontSize:Te.fontSize,lineHeight:Te.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Te.controlHeightSM,transition:`color ${Te.motionDurationMid} ${Te.motionEaseOut}`},"&-explain":{"&-error":{color:Te.colorError},"&-warning":{color:Te.colorWarning}}},[`&-with-help ${gt}-explain`]:{height:"auto",opacity:1},[`${gt}-feedback-icon`]:{fontSize:Te.fontSize,textAlign:"center",visibility:"visible",animationName:Ee.kr,animationDuration:Te.motionDurationMid,animationTimingFunction:Te.motionEaseOutBack,pointerEvents:"none","&-success":{color:Te.colorSuccess},"&-error":{color:Te.colorError},"&-warning":{color:Te.colorWarning},"&-validating":{color:Te.colorPrimary}}})}},Ae=(Te,gt)=>{const{formItemCls:Ke}=Te;return{[`${gt}-horizontal`]:{[`${Ke}-label`]:{flexGrow:0},[`${Ke}-control`]:{flex:"1 1 0",minWidth:0},[`${Ke}-label[class$='-24'], ${Ke}-label[class*='-24 ']`]:{[`& + ${Ke}-control`]:{minWidth:"unset"}}}}},tt=Te=>{const{componentCls:gt,formItemCls:Ke,inlineItemMarginBottom:wt}=Te;return{[`${gt}-inline`]:{display:"flex",flexWrap:"wrap",[Ke]:{flex:"none",marginInlineEnd:Te.margin,marginBottom:wt,"&-row":{flexWrap:"nowrap"},[`> ${Ke}-label, + > ${Ke}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Ke}-label`]:{flex:"none"},[`${gt}-text`]:{display:"inline-block"},[`${Ke}-has-feedback`]:{display:"inline-block"}}}}},nt=Te=>({padding:Te.verticalLabelPadding,margin:Te.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),zt=Te=>{const{componentCls:gt,formItemCls:Ke,rootPrefixCls:wt}=Te;return{[`${Ke} ${Ke}-label`]:nt(Te),[`${gt}:not(${gt}-inline)`]:{[Ke]:{flexWrap:"wrap",[`${Ke}-label, ${Ke}-control`]:{[`&:not([class*=" ${wt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ot=Te=>{const{componentCls:gt,formItemCls:Ke,antCls:wt}=Te;return{[`${gt}-vertical`]:{[`${Ke}:not(${Ke}-horizontal)`]:{[`${Ke}-row`]:{flexDirection:"column"},[`${Ke}-label > label`]:{height:"auto"},[`${Ke}-control`]:{width:"100%"},[`${Ke}-label, + ${wt}-col-24${Ke}-label, + ${wt}-col-xl-24${Ke}-label`]:nt(Te)}},[`@media (max-width: ${(0,ue.unit)(Te.screenXSMax)})`]:[zt(Te),{[gt]:{[`${Ke}:not(${Ke}-horizontal)`]:{[`${wt}-col-xs-24${Ke}-label`]:nt(Te)}}}],[`@media (max-width: ${(0,ue.unit)(Te.screenSMMax)})`]:{[gt]:{[`${Ke}:not(${Ke}-horizontal)`]:{[`${wt}-col-sm-24${Ke}-label`]:nt(Te)}}},[`@media (max-width: ${(0,ue.unit)(Te.screenMDMax)})`]:{[gt]:{[`${Ke}:not(${Ke}-horizontal)`]:{[`${wt}-col-md-24${Ke}-label`]:nt(Te)}}},[`@media (max-width: ${(0,ue.unit)(Te.screenLGMax)})`]:{[gt]:{[`${Ke}:not(${Ke}-horizontal)`]:{[`${wt}-col-lg-24${Ke}-label`]:nt(Te)}}}}},ht=Te=>{const{formItemCls:gt,antCls:Ke}=Te;return{[`${gt}-vertical`]:{[`${gt}-row`]:{flexDirection:"column"},[`${gt}-label > label`]:{height:"auto"},[`${gt}-control`]:{width:"100%"}},[`${gt}-vertical ${gt}-label, + ${Ke}-col-24${gt}-label, + ${Ke}-col-xl-24${gt}-label`]:nt(Te),[`@media (max-width: ${(0,ue.unit)(Te.screenXSMax)})`]:[zt(Te),{[gt]:{[`${Ke}-col-xs-24${gt}-label`]:nt(Te)}}],[`@media (max-width: ${(0,ue.unit)(Te.screenSMMax)})`]:{[gt]:{[`${Ke}-col-sm-24${gt}-label`]:nt(Te)}},[`@media (max-width: ${(0,ue.unit)(Te.screenMDMax)})`]:{[gt]:{[`${Ke}-col-md-24${gt}-label`]:nt(Te)}},[`@media (max-width: ${(0,ue.unit)(Te.screenLGMax)})`]:{[gt]:{[`${Ke}-col-lg-24${gt}-label`]:nt(Te)}}}},Ct=Te=>({labelRequiredMarkColor:Te.colorError,labelColor:Te.colorTextHeading,labelFontSize:Te.fontSize,labelHeight:Te.controlHeight,labelColonMarginInlineStart:Te.marginXXS/2,labelColonMarginInlineEnd:Te.marginXS,itemMarginBottom:Te.marginLG,verticalLabelPadding:`0 0 ${Te.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),De=(Te,gt)=>(0,ot.mergeToken)(Te,{formItemCls:`${Te.componentCls}-item`,rootPrefixCls:gt});var ke=(0,st.I$)("Form",(Te,gt)=>{let{rootPrefixCls:Ke}=gt;const wt=De(Te,Ke);return[en(wt),Qe(wt),Re(wt),Ae(wt,wt.componentCls),Ae(wt,wt.formItemCls),tt(wt),Ot(wt),ht(wt),(0,Rt.Z)(wt),Ee.kr]},Ct,{order:-1e3});const xe=[];function se(Te,gt,Ke){let wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Te=="string"?Te:`${gt}-${wt}`,error:Te,errorStatus:Ke}}var _e=Te=>{let{help:gt,helpStatus:Ke,errors:wt=xe,warnings:Ht=xe,className:Hn,fieldId:Jn,onVisibleChanged:lt}=Te;const{prefixCls:mt}=ce.useContext(b.Rk),pt=`${mt}-item-explain`,xt=(0,Ve.Z)(mt),[fn,In,pn]=ke(mt,xt),Sn=ce.useMemo(()=>(0,be.Z)(mt),[mt]),$n=Ie(wt),qn=Ie(Ht),ur=ce.useMemo(()=>gt!=null?[se(gt,"help",Ke)]:[].concat((0,Me.Z)($n.map((or,dr)=>se(or,"error","error",dr))),(0,Me.Z)(qn.map((or,dr)=>se(or,"warning","warning",dr)))),[gt,Ke,$n,qn]),tr=ce.useMemo(()=>{const or={};return ur.forEach(dr=>{let{key:br}=dr;or[br]=(or[br]||0)+1}),ur.map((dr,br)=>Object.assign(Object.assign({},dr),{key:or[dr.key]>1?`${dr.key}-fallback-${br}`:dr.key}))},[ur]),Xn={};return Jn&&(Xn.id=`${Jn}_help`),fn(ce.createElement(pe.default,{motionDeadline:Sn.motionDeadline,motionName:`${mt}-show-help`,visible:!!tr.length,onVisibleChanged:lt},or=>{const{className:dr,style:br}=or;return ce.createElement("div",Object.assign({},Xn,{className:Pe()(pt,dr,pn,xt,Hn,In),style:br}),ce.createElement(pe.CSSMotionList,Object.assign({keys:tr},(0,be.Z)(mt),{motionName:`${mt}-show-help-item`,component:!1}),vr=>{const{key:Tr,error:Br,errorStatus:cr,className:Er,style:Wr}=vr;return ce.createElement("div",{key:Tr,className:Pe()(Er,{[`${pt}-${cr}`]:cr}),style:Wr},Br)}))}))},Ye=ee(69180),Ft=ee(48755),Ce=ee(2171),he=ee(31756),yt=ee(23069),Vt=ee(76846),Lt=ee(16722);const me=["parentNode"],qe="form_item";function it(Te){return Te===void 0||Te===!1?[]:Array.isArray(Te)?Te:[Te]}function Xt(Te,gt){if(!Te.length)return;const Ke=Te.join("_");return gt?`${gt}_${Ke}`:me.includes(Ke)?`${qe}_${Ke}`:Ke}function Xe(Te,gt,Ke,wt,Ht,Hn){let Jn=wt;return Hn!==void 0?Jn=Hn:Ke.validating?Jn="validating":Te.length?Jn="error":gt.length?Jn="warning":(Ke.touched||Ht&&Ke.validated)&&(Jn="success"),Jn}var Gt=function(Te,gt){var Ke={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&>.indexOf(wt)<0&&(Ke[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,wt=Object.getOwnPropertySymbols(Te);HtTe!=null?Te:Object.assign(Object.assign({},gt),{__INTERNAL__:{itemRef:Ht=>Hn=>{const Jn=Fe(Ht);Hn?Ke.current[Jn]=Hn:delete Ke.current[Jn]}},scrollToField:function(Ht){let Hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Jn}=Hn,lt=Gt(Hn,["focus"]),mt=dn(Ht,wt);mt&&((0,Lt.Z)(mt,Object.assign({scrollMode:"if-needed",block:"nearest"},lt)),Jn&&wt.focusField(Ht))},focusField:Ht=>{var Hn,Jn;const lt=wt.getFieldInstance(Ht);typeof(lt==null?void 0:lt.focus)=="function"?lt.focus():(Jn=(Hn=dn(Ht,wt))===null||Hn===void 0?void 0:Hn.focus)===null||Jn===void 0||Jn.call(Hn)},getFieldInstance:Ht=>{const Hn=Fe(Ht);return Ke.current[Hn]}}),[Te,gt]);return[wt]}var ae=ee(98350),ne=function(Te,gt){var Ke={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&>.indexOf(wt)<0&&(Ke[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,wt=Object.getOwnPropertySymbols(Te);Ht{const Ke=ce.useContext(Ce.Z),{getPrefixCls:wt,direction:Ht,requiredMark:Hn,colon:Jn,scrollToFirstError:lt,className:mt,style:pt}=(0,Ft.dj)("form"),{prefixCls:xt,className:fn,rootClassName:In,size:pn,disabled:Sn=Ke,form:$n,colon:qn,labelAlign:ur,labelWrap:tr,labelCol:Xn,wrapperCol:or,hideRequiredMark:dr,layout:br="horizontal",scrollToFirstError:vr,requiredMark:Tr,onFinishFailed:Br,name:cr,style:Er,feedbackIcons:Wr,variant:Rr}=Te,Sr=ne(Te,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Fr=(0,he.Z)(pn),$r=ce.useContext(ae.Z),wr=ce.useMemo(()=>Tr!==void 0?Tr:dr?!1:Hn!==void 0?Hn:!0,[dr,Tr,Hn]),gr=qn!=null?qn:Jn,yr=wt("form",xt),Xr=(0,Ve.Z)(yr),[go,So,to]=ke(yr,Xr),io=Pe()(yr,`${yr}-${br}`,{[`${yr}-hide-required-mark`]:wr===!1,[`${yr}-rtl`]:Ht==="rtl",[`${yr}-${Fr}`]:Fr},to,Xr,So,mt,fn,In),[Oe]=$t($n),{__INTERNAL__:We}=Oe;We.name=cr;const bt=ce.useMemo(()=>({name:cr,labelAlign:ur,labelCol:Xn,labelWrap:tr,wrapperCol:or,vertical:br==="vertical",colon:gr,requiredMark:wr,itemRef:We.itemRef,form:Oe,feedbackIcons:Wr}),[cr,ur,Xn,or,br,gr,wr,Oe,Wr]),Ze=ce.useRef(null);ce.useImperativeHandle(gt,()=>{var Mt;return Object.assign(Object.assign({},Oe),{nativeElement:(Mt=Ze.current)===null||Mt===void 0?void 0:Mt.nativeElement})});const dt=(Mt,Bt)=>{if(Mt){let Wt={block:"nearest"};typeof Mt=="object"&&(Wt=Object.assign(Object.assign({},Wt),Mt)),Oe.scrollToField(Bt,Wt)}},at=Mt=>{if(Br==null||Br(Mt),Mt.errorFields.length){const Bt=Mt.errorFields[0].name;if(vr!==void 0){dt(vr,Bt);return}lt!==void 0&&dt(lt,Bt)}};return go(ce.createElement(b.pg.Provider,{value:Rr},ce.createElement(Ce.n,{disabled:Sn},ce.createElement(yt.Z.Provider,{value:Fr},ce.createElement(b.RV,{validateMessages:$r},ce.createElement(b.q3.Provider,{value:bt},ce.createElement(Ye.default,Object.assign({id:cr},Sr,{name:cr,onFinishFailed:at,form:Oe,ref:Ze,style:Object.assign(Object.assign({},pt),Er),className:io}))))))))};var de=ce.forwardRef(te),re=ee(41799),le=ee(8654),Se=ee(22703),Ge=ee(32383),He=ee(11592);function Le(Te){if(typeof Te=="function")return Te;const gt=(0,He.Z)(Te);return gt.length<=1?gt[0]:gt}const rt=()=>{const{status:Te,errors:gt=[],warnings:Ke=[]}=ce.useContext(b.aM);return{status:Te,errors:gt,warnings:Ke}};rt.Context=b.aM;var ut=rt,At=ee(16089);function Ne(Te){const[gt,Ke]=ce.useState(Te),wt=ce.useRef(null),Ht=ce.useRef([]),Hn=ce.useRef(!1);ce.useEffect(()=>(Hn.current=!1,()=>{Hn.current=!0,At.Z.cancel(wt.current),wt.current=null}),[]);function Jn(lt){Hn.current||(wt.current===null&&(Ht.current=[],wt.current=(0,At.Z)(()=>{wt.current=null,Ke(mt=>{let pt=mt;return Ht.current.forEach(xt=>{pt=xt(pt)}),pt})})),Ht.current.push(lt))}return[gt,Jn]}function Be(){const{itemRef:Te}=ce.useContext(b.q3),gt=ce.useRef({});function Ke(wt,Ht){const Hn=Ht&&typeof Ht=="object"&&(0,le.C4)(Ht),Jn=wt.join("_");return(gt.current.name!==Jn||gt.current.originRef!==Hn)&&(gt.current.name=Jn,gt.current.originRef=Hn,gt.current.ref=(0,le.sQ)(Te(wt),Hn)),gt.current.ref}return Ke}var Ut=ee(29194),Zt=ee(34280),mn=ee(2738),vn=ee(65970),jt=ee(70425),Cn=ee(5472);const on=Te=>{const{formItemCls:gt}=Te;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${gt}-control`]:{display:"flex"}}}};var Je=(0,st.bk)(["Form","item-item"],(Te,gt)=>{let{rootPrefixCls:Ke}=gt;const wt=De(Te,Ke);return[on(wt)]}),Tt=function(Te,gt){var Ke={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&>.indexOf(wt)<0&&(Ke[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,wt=Object.getOwnPropertySymbols(Te);Ht{const{prefixCls:gt,status:Ke,labelCol:wt,wrapperCol:Ht,children:Hn,errors:Jn,warnings:lt,_internalItemRender:mt,extra:pt,help:xt,fieldId:fn,marginBottom:In,onErrorVisibleChanged:pn,label:Sn}=Te,$n=`${gt}-item`,qn=ce.useContext(b.q3),ur=ce.useMemo(()=>{let Sr=Object.assign({},Ht||qn.wrapperCol||{});return Sn===null&&!wt&&!Ht&&qn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach($r=>{const wr=$r?[$r]:[],gr=(0,jt.U2)(qn.labelCol,wr),yr=typeof gr=="object"?gr:{},Xr=(0,jt.U2)(Sr,wr),go=typeof Xr=="object"?Xr:{};"span"in yr&&!("offset"in go)&&yr.span{const{labelCol:Sr,wrapperCol:Fr}=qn;return Tt(qn,["labelCol","wrapperCol"])},[qn]),or=ce.useRef(null),[dr,br]=ce.useState(0);(0,Zt.Z)(()=>{pt&&or.current?br(or.current.clientHeight):br(0)},[pt]);const vr=ce.createElement("div",{className:`${$n}-control-input`},ce.createElement("div",{className:`${$n}-control-input-content`},Hn)),Tr=ce.useMemo(()=>({prefixCls:gt,status:Ke}),[gt,Ke]),Br=In!==null||Jn.length||lt.length?ce.createElement(b.Rk.Provider,{value:Tr},ce.createElement(_e,{fieldId:fn,errors:Jn,warnings:lt,help:xt,helpStatus:Ke,className:`${$n}-explain-connected`,onVisibleChanged:pn})):null,cr={};fn&&(cr.id=`${fn}_extra`);const Er=pt?ce.createElement("div",Object.assign({},cr,{className:`${$n}-extra`,ref:or}),pt):null,Wr=Br||Er?ce.createElement("div",{className:`${$n}-additional`,style:In?{minHeight:In+dr}:{}},Br,Er):null,Rr=mt&&mt.mark==="pro_table_render"&&mt.render?mt.render(Te,{input:vr,errorList:Br,extra:Er}):ce.createElement(ce.Fragment,null,vr,Wr);return ce.createElement(b.q3.Provider,{value:Xn},ce.createElement(Cn.Z,Object.assign({},ur,{className:tr}),Rr),ce.createElement(Je,{prefixCls:gt}))},Pt=ee(61485),Kt=ee(9017),nn=ee(85981),On=ee(25399),_n=function(Te,gt){var Ke={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&>.indexOf(wt)<0&&(Ke[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,wt=Object.getOwnPropertySymbols(Te);Ht{let{prefixCls:gt,label:Ke,htmlFor:wt,labelCol:Ht,labelAlign:Hn,colon:Jn,required:lt,requiredMark:mt,tooltip:pt,vertical:xt}=Te;var fn;const[In]=(0,Kt.Z)("Form"),{labelAlign:pn,labelCol:Sn,labelWrap:$n,colon:qn}=ce.useContext(b.q3);if(!Ke)return null;const ur=Ht||Sn||{},tr=Hn||pn,Xn=`${gt}-item-label`,or=Pe()(Xn,tr==="left"&&`${Xn}-left`,ur.className,{[`${Xn}-wrap`]:!!$n});let dr=Ke;const br=Jn===!0||qn!==!1&&Jn!==!1;br&&!xt&&typeof Ke=="string"&&Ke.trim()&&(dr=Ke.replace(/[:|:]\s*$/,""));const Tr=nr(pt);if(Tr){const{icon:Sr=ce.createElement(Pt.Z,null)}=Tr,Fr=_n(Tr,["icon"]),$r=ce.createElement(On.Z,Object.assign({},Fr),ce.cloneElement(Sr,{className:`${gt}-item-tooltip`,title:"",onClick:wr=>{wr.preventDefault()},tabIndex:null}));dr=ce.createElement(ce.Fragment,null,dr,$r)}const Br=mt==="optional",cr=typeof mt=="function",Er=mt===!1;cr?dr=mt(dr,{required:!!lt}):Br&&!lt&&(dr=ce.createElement(ce.Fragment,null,dr,ce.createElement("span",{className:`${gt}-item-optional`,title:""},(In==null?void 0:In.optional)||((fn=nn.Z.Form)===null||fn===void 0?void 0:fn.optional))));let Wr;Er?Wr="hidden":(Br||cr)&&(Wr="optional");const Rr=Pe()({[`${gt}-item-required`]:lt,[`${gt}-item-required-mark-${Wr}`]:Wr,[`${gt}-item-no-colon`]:!br});return ce.createElement(Cn.Z,Object.assign({},ur,{className:or}),ce.createElement("label",{htmlFor:wt,className:Rr,title:typeof Ke=="string"?Ke:""},dr))},er=ee(29679),kn=ee(19248),cn=ee(96512),bn=ee(58617);const St={success:er.Z,warning:cn.Z,error:kn.Z,validating:bn.Z};function Et(Te){let{children:gt,errors:Ke,warnings:wt,hasFeedback:Ht,validateStatus:Hn,prefixCls:Jn,meta:lt,noStyle:mt}=Te;const pt=`${Jn}-item`,{feedbackIcons:xt}=ce.useContext(b.q3),fn=Xe(Ke,wt,lt,null,!!Ht,Hn),{isFormItemInput:In,status:pn,hasFeedback:Sn,feedbackIcon:$n}=ce.useContext(b.aM),qn=ce.useMemo(()=>{var ur;let tr;if(Ht){const or=Ht!==!0&&Ht.icons||xt,dr=fn&&((ur=or==null?void 0:or({status:fn,errors:Ke,warnings:wt}))===null||ur===void 0?void 0:ur[fn]),br=fn&&St[fn];tr=dr!==!1&&br?ce.createElement("span",{className:Pe()(`${pt}-feedback-icon`,`${pt}-feedback-icon-${fn}`)},dr||ce.createElement(br,null)):null}const Xn={status:fn||"",errors:Ke,warnings:wt,hasFeedback:!!Ht,feedbackIcon:tr,isFormItemInput:!0};return mt&&(Xn.status=(fn!=null?fn:pn)||"",Xn.isFormItemInput=In,Xn.hasFeedback=!!(Ht!=null?Ht:Sn),Xn.feedbackIcon=Ht!==void 0?Xn.feedbackIcon:$n),Xn},[fn,Ht,mt,In,pn]);return ce.createElement(b.aM.Provider,{value:qn},gt)}var sn=function(Te,gt){var Ke={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&>.indexOf(wt)<0&&(Ke[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,wt=Object.getOwnPropertySymbols(Te);Ht{if(Er&&vr.current){const yr=getComputedStyle(vr.current);Sr(parseInt(yr.marginBottom,10))}},[Er,Wr]);const Fr=yr=>{yr||Sr(null)},wr=function(){let yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Xr=yr?Tr:pt.errors,go=yr?Br:pt.warnings;return Xe(Xr,go,pt,"",!!xt,mt)}(),gr=Pe()(Xn,Ke,wt,{[`${Xn}-with-help`]:cr||Tr.length||Br.length,[`${Xn}-has-feedback`]:wr&&xt,[`${Xn}-has-success`]:wr==="success",[`${Xn}-has-warning`]:wr==="warning",[`${Xn}-has-error`]:wr==="error",[`${Xn}-is-validating`]:wr==="validating",[`${Xn}-hidden`]:fn,[`${Xn}-${ur}`]:ur});return ce.createElement("div",{className:gr,style:Ht,ref:vr},ce.createElement(vn.Z,Object.assign({className:`${Xn}-row`},(0,mn.Z)(tr,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),ce.createElement(Zn,Object.assign({htmlFor:pn},Te,{requiredMark:or,required:Sn!=null?Sn:$n,prefixCls:gt,vertical:br})),ce.createElement(je,Object.assign({},Te,pt,{errors:Tr,warnings:Br,prefixCls:gt,status:wr,help:Hn,marginBottom:Rr,onErrorVisibleChanged:Fr}),ce.createElement(b.qI.Provider,{value:qn},ce.createElement(Et,{prefixCls:gt,meta:pt,errors:pt.errors,warnings:pt.warnings,hasFeedback:xt,validateStatus:wr},In)))),!!Rr&&ce.createElement("div",{className:`${Xn}-margin-offset`,style:{marginBottom:-Rr}}))}const Tn="__SPLIT__",Jt=null;function wn(Te,gt){const Ke=Object.keys(Te),wt=Object.keys(gt);return Ke.length===wt.length&&Ke.every(Ht=>{const Hn=Te[Ht],Jn=gt[Ht];return Hn===Jn||typeof Hn=="function"||typeof Jn=="function"})}const gn=ce.memo(Te=>{let{children:gt}=Te;return gt},(Te,gt)=>wn(Te.control,gt.control)&&Te.update===gt.update&&Te.childProps.length===gt.childProps.length&&Te.childProps.every((Ke,wt)=>Ke===gt.childProps[wt]));function Nn(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function An(Te){const{name:gt,noStyle:Ke,className:wt,dependencies:Ht,prefixCls:Hn,shouldUpdate:Jn,rules:lt,children:mt,required:pt,label:xt,messageVariables:fn,trigger:In="onChange",validateTrigger:pn,hidden:Sn,help:$n,layout:qn}=Te,{getPrefixCls:ur}=ce.useContext(Ft.E_),{name:tr}=ce.useContext(b.q3),Xn=Le(mt),or=typeof Xn=="function",dr=ce.useContext(b.qI),{validateTrigger:br}=ce.useContext(Ye.FieldContext),vr=pn!==void 0?pn:br,Tr=gt!=null,Br=ur("form",Hn),cr=(0,Ve.Z)(Br),[Er,Wr,Rr]=ke(Br,cr),Sr=(0,Ge.ln)("Form.Item"),Fr=ce.useContext(Ye.ListContext),$r=ce.useRef(null),[wr,gr]=Ne({}),[yr,Xr]=(0,re.Z)(()=>Nn()),go=Ze=>{const dt=Fr==null?void 0:Fr.getKey(Ze.name);if(Xr(Ze.destroy?Nn():Ze,!0),Ke&&$n!==!1&&dr){let at=Ze.name;if(Ze.destroy)at=$r.current||at;else if(dt!==void 0){const[Mt,Bt]=dt;at=[Mt].concat((0,Me.Z)(Bt)),$r.current=at}dr(Ze,at)}},So=(Ze,dt)=>{gr(at=>{const Mt=Object.assign({},at),Wt=[].concat((0,Me.Z)(Ze.name.slice(0,-1)),(0,Me.Z)(dt)).join(Tn);return Ze.destroy?delete Mt[Wt]:Mt[Wt]=Ze,Mt})},[to,io]=ce.useMemo(()=>{const Ze=(0,Me.Z)(yr.errors),dt=(0,Me.Z)(yr.warnings);return Object.values(wr).forEach(at=>{Ze.push.apply(Ze,(0,Me.Z)(at.errors||[])),dt.push.apply(dt,(0,Me.Z)(at.warnings||[]))}),[Ze,dt]},[wr,yr.errors,yr.warnings]),Oe=Be();function We(Ze,dt,at){return Ke&&!Sn?ce.createElement(Et,{prefixCls:Br,hasFeedback:Te.hasFeedback,validateStatus:Te.validateStatus,meta:yr,errors:to,warnings:io,noStyle:!0},Ze):ce.createElement(Pn,Object.assign({key:"row"},Te,{className:Pe()(wt,Rr,cr,Wr),prefixCls:Br,fieldId:dt,isRequired:at,errors:to,warnings:io,meta:yr,onSubItemMetaChange:So,layout:qn}),Ze)}if(!Tr&&!or&&!Ht)return Er(We(Xn));let bt={};return typeof xt=="string"?bt.label=xt:gt&&(bt.label=String(gt)),fn&&(bt=Object.assign(Object.assign({},bt),fn)),Er(ce.createElement(Ye.Field,Object.assign({},Te,{messageVariables:bt,trigger:In,validateTrigger:vr,onMetaChange:go}),(Ze,dt,at)=>{const Mt=it(gt).length&&dt?dt.name:[],Bt=Xt(Mt,tr),Wt=pt!==void 0?pt:!!(lt!=null&<.some(hn=>{if(hn&&typeof hn=="object"&&hn.required&&!hn.warningOnly)return!0;if(typeof hn=="function"){const Ln=hn(at);return(Ln==null?void 0:Ln.required)&&!(Ln!=null&&Ln.warningOnly)}return!1})),En=Object.assign({},Ze);let Rn=null;if(Array.isArray(Xn)&&Tr)Rn=Xn;else if(!(or&&(!(Jn||Ht)||Tr))){if(!(Ht&&!or&&!Tr))if(ce.isValidElement(Xn)){const hn=Object.assign(Object.assign({},Xn.props),En);if(hn.id||(hn.id=Bt),$n||to.length>0||io.length>0||Te.extra){const lr=[];($n||to.length>0)&&lr.push(`${Bt}_help`),Te.extra&&lr.push(`${Bt}_extra`),hn["aria-describedby"]=lr.join(" ")}to.length>0&&(hn["aria-invalid"]="true"),Wt&&(hn["aria-required"]="true"),(0,le.Yr)(Xn)&&(hn.ref=Oe(Mt,Xn)),new Set([].concat((0,Me.Z)(it(In)),(0,Me.Z)(it(vr)))).forEach(lr=>{hn[lr]=function(){for(var sr,pr,mr,kr,xr,Gr=arguments.length,Or=new Array(Gr),Dr=0;Dr{var{prefixCls:gt,children:Ke}=Te,wt=Yt(Te,["prefixCls","children"]);const{getPrefixCls:Ht}=ce.useContext(Ft.E_),Hn=Ht("form",gt),Jn=ce.useMemo(()=>({prefixCls:Hn,status:"error"}),[Hn]);return ce.createElement(Ye.List,Object.assign({},wt),(lt,mt,pt)=>ce.createElement(b.Rk.Provider,{value:Jn},Ke(lt.map(xt=>Object.assign(Object.assign({},xt),{fieldKey:xt.key})),mt,{errors:pt.errors,warnings:pt.warnings})))};function jn(){const{form:Te}=ce.useContext(b.q3);return Te}const vt=de;vt.Item=Qt,vt.List=Vn,vt.ErrorList=_e,vt.useForm=$t,vt.useFormInstance=jn,vt.useWatch=Ye.useWatch,vt.Provider=b.RV,vt.create=()=>{};var Dt=vt},4875:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return _t}});var b=ee(59301),Me=ee(84105),ce=ee(87395),et=ee(92310),Pe=ee.n(et),pe=ee(60499),be=ee(18642),Ve=ee(43749),Ie=ee(72190),ue=ee(42244),$e=ee(38705),Ee=ee(17212);function Rt(){return typeof BigInt=="function"}function ot(je){return!je&&je!==0&&!Number.isNaN(je)||!String(je).trim()}function st(je){var Pt=je.trim(),Kt=Pt.startsWith("-");Kt&&(Pt=Pt.slice(1)),Pt=Pt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),Pt.startsWith(".")&&(Pt="0".concat(Pt));var nn=Pt||"0",On=nn.split("."),_n=On[0]||"0",nr=On[1]||"0";_n==="0"&&nr==="0"&&(Kt=!1);var ir=Kt?"-":"";return{negative:Kt,negativeStr:ir,trimStr:nn,integerStr:_n,decimalStr:nr,fullStr:"".concat(ir).concat(nn)}}function Ue(je){var Pt=String(je);return!Number.isNaN(Number(Pt))&&Pt.includes("e")}function Re(je){var Pt=String(je);if(Ue(je)){var Kt=Number(Pt.slice(Pt.indexOf("e-")+2)),nn=Pt.match(/\.(\d+)/);return nn!=null&&nn[1]&&(Kt+=nn[1].length),Kt}return Pt.includes(".")&&kt(Pt)?Pt.length-Pt.indexOf(".")-1:0}function ft(je){var Pt=String(je);if(Ue(je)){if(je>Number.MAX_SAFE_INTEGER)return String(Rt()?BigInt(je).toString():Number.MAX_SAFE_INTEGER);if(je0&&arguments[0]!==void 0?arguments[0]:!0;return Kt?this.isInvalidate()?"":st("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),je}(),Qe=function(){function je(Pt){if((0,$e.Z)(this,je),(0,be.Z)(this,"origin",""),(0,be.Z)(this,"number",void 0),(0,be.Z)(this,"empty",void 0),ot(Pt)){this.empty=!0;return}this.origin=String(Pt),this.number=Number(Pt)}return(0,Ee.Z)(je,[{key:"negate",value:function(){return new je(-this.toNumber())}},{key:"add",value:function(Kt){if(this.isInvalidate())return new je(Kt);var nn=Number(Kt);if(Number.isNaN(nn))return this;var On=this.number+nn;if(On>Number.MAX_SAFE_INTEGER)return new je(Number.MAX_SAFE_INTEGER);if(OnNumber.MAX_SAFE_INTEGER)return new je(Number.MAX_SAFE_INTEGER);if(On0&&arguments[0]!==void 0?arguments[0]:!0;return Kt?this.isInvalidate()?"":ft(this.number):this.origin}}]),je}();function Ae(je){return Rt()?new en(je):new Qe(je)}function tt(je,Pt,Kt){var nn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(je==="")return"";var On=st(je),_n=On.negativeStr,nr=On.integerStr,ir=On.decimalStr,Zn="".concat(Pt).concat(ir),er="".concat(_n).concat(nr);if(Kt>=0){var kn=Number(ir[Kt]);if(kn>=5&&!nn){var cn=Ae(je).add("".concat(_n,"0.").concat("0".repeat(Kt)).concat(10-kn));return tt(cn.toString(),Pt,Kt,nn)}return Kt===0?er:"".concat(er).concat(Pt).concat(ir.padEnd(Kt,"0").slice(0,Kt))}return Zn===".0"?er:"".concat(er).concat(Zn)}var nt=Ae,zt=ee(36901),Ot=ee(34280);function ht(je,Pt){return typeof Proxy!="undefined"&&je?new Proxy(je,{get:function(nn,On){if(Pt[On])return Pt[On];var _n=nn[On];return typeof _n=="function"?_n.bind(nn):_n}}):je}var Ct=ee(8654),De=ee(48736);function ke(je,Pt){var Kt=(0,b.useRef)(null);function nn(){try{var _n=je.selectionStart,nr=je.selectionEnd,ir=je.value,Zn=ir.substring(0,_n),er=ir.substring(nr);Kt.current={start:_n,end:nr,value:ir,beforeTxt:Zn,afterTxt:er}}catch(kn){}}function On(){if(je&&Kt.current&&Pt)try{var _n=je.value,nr=Kt.current,ir=nr.beforeTxt,Zn=nr.afterTxt,er=nr.start,kn=_n.length;if(_n.startsWith(ir))kn=ir.length;else if(_n.endsWith(Zn))kn=_n.length-Kt.current.afterTxt.length;else{var cn=ir[er-1],bn=_n.indexOf(cn,er-1);bn!==-1&&(kn=bn+1)}je.setSelectionRange(kn,kn)}catch(St){(0,De.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(St.message))}}return[nn,On]}var xe=ee(49658),se=function(){var Pt=(0,b.useState)(!1),Kt=(0,Ie.Z)(Pt,2),nn=Kt[0],On=Kt[1];return(0,Ot.Z)(function(){On((0,xe.Z)())},[]),nn},It=se,_e=ee(16089),Ye=200,Ft=600;function Ce(je){var Pt=je.prefixCls,Kt=je.upNode,nn=je.downNode,On=je.upDisabled,_n=je.downDisabled,nr=je.onStep,ir=b.useRef(),Zn=b.useRef([]),er=b.useRef();er.current=nr;var kn=function(){clearTimeout(ir.current)},cn=function(wn,gn){wn.preventDefault(),kn(),er.current(gn);function Nn(){er.current(gn),ir.current=setTimeout(Nn,Ye)}ir.current=setTimeout(Nn,Ft)};b.useEffect(function(){return function(){kn(),Zn.current.forEach(function(Jt){return _e.Z.cancel(Jt)})}},[]);var bn=It();if(bn)return null;var St="".concat(Pt,"-handler"),Et=Pe()(St,"".concat(St,"-up"),(0,be.Z)({},"".concat(St,"-up-disabled"),On)),sn=Pe()(St,"".concat(St,"-down"),(0,be.Z)({},"".concat(St,"-down-disabled"),_n)),Pn=function(){return Zn.current.push((0,_e.Z)(kn))},Tn={unselectable:"on",role:"button",onMouseUp:Pn,onMouseLeave:Pn};return b.createElement("div",{className:"".concat(St,"-wrap")},b.createElement("span",(0,pe.Z)({},Tn,{onMouseDown:function(wn){cn(wn,!0)},"aria-label":"Increase Value","aria-disabled":On,className:Et}),Kt||b.createElement("span",{unselectable:"on",className:"".concat(Pt,"-handler-up-inner")})),b.createElement("span",(0,pe.Z)({},Tn,{onMouseDown:function(wn){cn(wn,!1)},"aria-label":"Decrease Value","aria-disabled":_n,className:sn}),nn||b.createElement("span",{unselectable:"on",className:"".concat(Pt,"-handler-down-inner")})))}function he(je){var Pt=typeof je=="number"?ft(je):st(je).fullStr,Kt=Pt.includes(".");return Kt?st(Pt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:je+"0"}var yt=ee(30292),Vt=function(){var je=(0,b.useRef)(0),Pt=function(){_e.Z.cancel(je.current)};return(0,b.useEffect)(function(){return Pt},[]),function(Kt){Pt(),je.current=(0,_e.Z)(function(){Kt()})}},Lt=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],me=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],qe=function(Pt,Kt){return Pt||Kt.isEmpty()?Kt.toString():Kt.toNumber()},it=function(Pt){var Kt=nt(Pt);return Kt.isInvalidate()?null:Kt},Xt=b.forwardRef(function(je,Pt){var Kt=je.prefixCls,nn=je.className,On=je.style,_n=je.min,nr=je.max,ir=je.step,Zn=ir===void 0?1:ir,er=je.defaultValue,kn=je.value,cn=je.disabled,bn=je.readOnly,St=je.upHandler,Et=je.downHandler,sn=je.keyboard,Pn=je.changeOnWheel,Tn=Pn===void 0?!1:Pn,Jt=je.controls,wn=Jt===void 0?!0:Jt,gn=je.classNames,Nn=je.stringMode,An=je.parser,rr=je.formatter,Qt=je.precision,Yt=je.decimalSeparator,xn=je.onChange,Vn=je.onInput,jn=je.onPressEnter,vt=je.onStep,Dt=je.changeOnBlur,Te=Dt===void 0?!0:Dt,gt=je.domRef,Ke=(0,ue.Z)(je,Lt),wt="".concat(Kt,"-input"),Ht=b.useRef(null),Hn=b.useState(!1),Jn=(0,Ie.Z)(Hn,2),lt=Jn[0],mt=Jn[1],pt=b.useRef(!1),xt=b.useRef(!1),fn=b.useRef(!1),In=b.useState(function(){return nt(kn!=null?kn:er)}),pn=(0,Ie.Z)(In,2),Sn=pn[0],$n=pn[1];function qn(Bt){kn===void 0&&$n(Bt)}var ur=b.useCallback(function(Bt,Wt){if(!Wt)return Qt>=0?Qt:Math.max(Re(Bt),Re(Zn))},[Qt,Zn]),tr=b.useCallback(function(Bt){var Wt=String(Bt);if(An)return An(Wt);var En=Wt;return Yt&&(En=En.replace(Yt,".")),En.replace(/[^\w.-]+/g,"")},[An,Yt]),Xn=b.useRef(""),or=b.useCallback(function(Bt,Wt){if(rr)return rr(Bt,{userTyping:Wt,input:String(Xn.current)});var En=typeof Bt=="number"?ft(Bt):Bt;if(!Wt){var Rn=ur(En,Wt);if(kt(En)&&(Yt||Rn>=0)){var hn=Yt||".";En=tt(En,hn,Rn)}}return En},[rr,ur,Yt]),dr=b.useState(function(){var Bt=er!=null?er:kn;return Sn.isInvalidate()&&["string","number"].includes((0,Ve.Z)(Bt))?Number.isNaN(Bt)?"":Bt:or(Sn.toString(),!1)}),br=(0,Ie.Z)(dr,2),vr=br[0],Tr=br[1];Xn.current=vr;function Br(Bt,Wt){Tr(or(Bt.isInvalidate()?Bt.toString(!1):Bt.toString(!Wt),Wt))}var cr=b.useMemo(function(){return it(nr)},[nr,Qt]),Er=b.useMemo(function(){return it(_n)},[_n,Qt]),Wr=b.useMemo(function(){return!cr||!Sn||Sn.isInvalidate()?!1:cr.lessEquals(Sn)},[cr,Sn]),Rr=b.useMemo(function(){return!Er||!Sn||Sn.isInvalidate()?!1:Sn.lessEquals(Er)},[Er,Sn]),Sr=ke(Ht.current,lt),Fr=(0,Ie.Z)(Sr,2),$r=Fr[0],wr=Fr[1],gr=function(Wt){return cr&&!Wt.lessEquals(cr)?cr:Er&&!Er.lessEquals(Wt)?Er:null},yr=function(Wt){return!gr(Wt)},Xr=function(Wt,En){var Rn=Wt,hn=yr(Rn)||Rn.isEmpty();if(!Rn.isEmpty()&&!En&&(Rn=gr(Rn)||Rn,hn=!0),!bn&&!cn&&hn){var Ln=Rn.toString(),Gn=ur(Ln,En);return Gn>=0&&(Rn=nt(tt(Ln,".",Gn)),yr(Rn)||(Rn=nt(tt(Ln,".",Gn,!0)))),Rn.equals(Sn)||(qn(Rn),xn==null||xn(Rn.isEmpty()?null:qe(Nn,Rn)),kn===void 0&&Br(Rn,En)),Rn}return Sn},go=Vt(),So=function Bt(Wt){if($r(),Xn.current=Wt,Tr(Wt),!xt.current){var En=tr(Wt),Rn=nt(En);Rn.isNaN()||Xr(Rn,!0)}Vn==null||Vn(Wt),go(function(){var hn=Wt;An||(hn=Wt.replace(/。/g,".")),hn!==Wt&&Bt(hn)})},to=function(){xt.current=!0},io=function(){xt.current=!1,So(Ht.current.value)},Oe=function(Wt){So(Wt.target.value)},We=function(Wt){var En;if(!(Wt&&Wr||!Wt&&Rr)){pt.current=!1;var Rn=nt(fn.current?he(Zn):Zn);Wt||(Rn=Rn.negate());var hn=(Sn||nt(0)).add(Rn.toString()),Ln=Xr(hn,!1);vt==null||vt(qe(Nn,Ln),{offset:fn.current?he(Zn):Zn,type:Wt?"up":"down"}),(En=Ht.current)===null||En===void 0||En.focus()}},bt=function(Wt){var En=nt(tr(vr)),Rn;En.isNaN()?Rn=Xr(Sn,Wt):Rn=Xr(En,Wt),kn!==void 0?Br(Sn,!1):Rn.isNaN()||Br(Rn,!1)},Ze=function(){pt.current=!0},dt=function(Wt){var En=Wt.key,Rn=Wt.shiftKey;pt.current=!0,fn.current=Rn,En==="Enter"&&(xt.current||(pt.current=!1),bt(!1),jn==null||jn(Wt)),sn!==!1&&!xt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(En)&&(We(En==="Up"||En==="ArrowUp"),Wt.preventDefault())},at=function(){pt.current=!1,fn.current=!1};b.useEffect(function(){if(Tn&<){var Bt=function(Rn){We(Rn.deltaY<0),Rn.preventDefault()},Wt=Ht.current;if(Wt)return Wt.addEventListener("wheel",Bt,{passive:!1}),function(){return Wt.removeEventListener("wheel",Bt)}}});var Mt=function(){Te&&bt(!1),mt(!1),pt.current=!1};return(0,Ot.o)(function(){Sn.isInvalidate()||Br(Sn,!1)},[Qt,rr]),(0,Ot.o)(function(){var Bt=nt(kn);$n(Bt);var Wt=nt(tr(vr));(!Bt.equals(Wt)||!pt.current||rr)&&Br(Bt,pt.current)},[kn]),(0,Ot.o)(function(){rr&&wr()},[vr]),b.createElement("div",{ref:gt,className:Pe()(Kt,nn,(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({},"".concat(Kt,"-focused"),lt),"".concat(Kt,"-disabled"),cn),"".concat(Kt,"-readonly"),bn),"".concat(Kt,"-not-a-number"),Sn.isNaN()),"".concat(Kt,"-out-of-range"),!Sn.isInvalidate()&&!yr(Sn))),style:On,onFocus:function(){mt(!0)},onBlur:Mt,onKeyDown:dt,onKeyUp:at,onCompositionStart:to,onCompositionEnd:io,onBeforeInput:Ze},wn&&b.createElement(Ce,{prefixCls:Kt,upNode:St,downNode:Et,upDisabled:Wr,downDisabled:Rr,onStep:We}),b.createElement("div",{className:"".concat(wt,"-wrap")},b.createElement("input",(0,pe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":_n,"aria-valuemax":nr,"aria-valuenow":Sn.isInvalidate()?null:Sn.toString(),step:Zn},Ke,{ref:(0,Ct.sQ)(Ht,Pt),className:wt,value:vr,onChange:Oe,disabled:cn,readOnly:bn}))))}),Xe=b.forwardRef(function(je,Pt){var Kt=je.disabled,nn=je.style,On=je.prefixCls,_n=On===void 0?"rc-input-number":On,nr=je.value,ir=je.prefix,Zn=je.suffix,er=je.addonBefore,kn=je.addonAfter,cn=je.className,bn=je.classNames,St=(0,ue.Z)(je,me),Et=b.useRef(null),sn=b.useRef(null),Pn=b.useRef(null),Tn=function(wn){Pn.current&&(0,yt.nH)(Pn.current,wn)};return b.useImperativeHandle(Pt,function(){return ht(Pn.current,{focus:Tn,nativeElement:Et.current.nativeElement||sn.current})}),b.createElement(zt.BaseInput,{className:cn,triggerFocus:Tn,prefixCls:_n,value:nr,disabled:Kt,style:nn,prefix:ir,suffix:Zn,addonAfter:kn,addonBefore:er,classNames:bn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Et},b.createElement(Xt,(0,pe.Z)({prefixCls:_n,disabled:Kt,ref:Pn,domRef:sn,className:bn==null?void 0:bn.input},St)))}),Gt=Xe,Fe=Gt,dn=ee(62487),$t=ee(82855),ae=ee(48755),ne=ee(60840),te=ee(2171),ie=ee(83397),de=ee(31756),re=ee(56553),le=ee(24971),Se=ee(70045),Ge=ee(36237),He=ee(53075),Le=ee(64910),rt=ee(39082),ut=ee(63356),At=ee(56119),Ne=ee(16931),Be=ee(51636),Ut=ee(17835);const Zt=je=>{var Pt;const Kt=(Pt=je.handleVisible)!==null&&Pt!==void 0?Pt:"auto",nn=je.controlHeightSM-je.lineWidth*2;return Object.assign(Object.assign({},(0,Le.T)(je)),{controlWidth:90,handleWidth:nn,handleFontSize:je.fontSize/2,handleVisible:Kt,handleActiveBg:je.colorFillAlter,handleBg:je.colorBgContainer,filledHandleBg:new Ut.FastColor(je.colorFillSecondary).onBackground(je.colorBgContainer).toHexString(),handleHoverColor:je.colorPrimary,handleBorderColor:je.colorBorder,handleOpacity:Kt===!0?1:0,handleVisibleWidth:Kt===!0?nn:0})},mn=(je,Pt)=>{let{componentCls:Kt,borderRadiusSM:nn,borderRadiusLG:On}=je;const _n=Pt==="lg"?On:nn;return{[`&-${Pt}`]:{[`${Kt}-handler-wrap`]:{borderStartEndRadius:_n,borderEndEndRadius:_n},[`${Kt}-handler-up`]:{borderStartEndRadius:_n},[`${Kt}-handler-down`]:{borderEndEndRadius:_n}}}},vn=je=>{const{componentCls:Pt,lineWidth:Kt,lineType:nn,borderRadius:On,inputFontSizeSM:_n,inputFontSizeLG:nr,controlHeightLG:ir,controlHeightSM:Zn,colorError:er,paddingInlineSM:kn,paddingBlockSM:cn,paddingBlockLG:bn,paddingInlineLG:St,colorTextDescription:Et,motionDurationMid:sn,handleHoverColor:Pn,handleOpacity:Tn,paddingInline:Jt,paddingBlock:wn,handleBg:gn,handleActiveBg:Nn,colorTextDisabled:An,borderRadiusSM:rr,borderRadiusLG:Qt,controlWidth:Yt,handleBorderColor:xn,filledHandleBg:Vn,lineHeightLG:jn,calc:vt}=je;return[{[Pt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(je)),(0,He.ik)(je)),{display:"inline-block",width:Yt,margin:0,padding:0,borderRadius:On}),(0,rt.qG)(je,{[`${Pt}-handler-wrap`]:{background:gn,[`${Pt}-handler-down`]:{borderBlockStart:`${(0,Ge.unit)(Kt)} ${nn} ${xn}`}}})),(0,rt.H8)(je,{[`${Pt}-handler-wrap`]:{background:Vn,[`${Pt}-handler-down`]:{borderBlockStart:`${(0,Ge.unit)(Kt)} ${nn} ${xn}`}},"&:focus-within":{[`${Pt}-handler-wrap`]:{background:gn}}})),(0,rt.vc)(je,{[`${Pt}-handler-wrap`]:{background:gn,[`${Pt}-handler-down`]:{borderBlockStart:`${(0,Ge.unit)(Kt)} ${nn} ${xn}`}}})),(0,rt.Mu)(je)),{"&-rtl":{direction:"rtl",[`${Pt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:nr,lineHeight:jn,borderRadius:Qt,[`input${Pt}-input`]:{height:vt(ir).sub(vt(Kt).mul(2)).equal(),padding:`${(0,Ge.unit)(bn)} ${(0,Ge.unit)(St)}`}},"&-sm":{padding:0,fontSize:_n,borderRadius:rr,[`input${Pt}-input`]:{height:vt(Zn).sub(vt(Kt).mul(2)).equal(),padding:`${(0,Ge.unit)(cn)} ${(0,Ge.unit)(kn)}`}},"&-out-of-range":{[`${Pt}-input-wrap`]:{input:{color:er}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(je)),(0,He.s7)(je)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${Pt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${Pt}-group-addon`]:{borderRadius:Qt,fontSize:je.fontSizeLG}},"&-sm":{[`${Pt}-group-addon`]:{borderRadius:rr}}},(0,rt.ir)(je)),(0,rt.S5)(je)),{[`&:not(${Pt}-compact-first-item):not(${Pt}-compact-last-item)${Pt}-compact-item`]:{[`${Pt}, ${Pt}-group-addon`]:{borderRadius:0}},[`&:not(${Pt}-compact-last-item)${Pt}-compact-first-item`]:{[`${Pt}, ${Pt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${Pt}-compact-first-item)${Pt}-compact-last-item`]:{[`${Pt}, ${Pt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${Pt}-input`]:{cursor:"not-allowed"},[Pt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(je)),{width:"100%",padding:`${(0,Ge.unit)(wn)} ${(0,Ge.unit)(Jt)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:On,outline:0,transition:`all ${sn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,He.nz)(je.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${Pt}-handler-wrap, &-focused ${Pt}-handler-wrap`]:{width:je.handleWidth,opacity:1}})},{[Pt]:Object.assign(Object.assign(Object.assign({[`${Pt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:je.handleVisibleWidth,opacity:Tn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:On,borderEndEndRadius:On,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${sn}`,overflow:"hidden",[`${Pt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${Pt}-handler-up-inner, + ${Pt}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:je.handleFontSize}}},[`${Pt}-handler`]:{height:"50%",overflow:"hidden",color:Et,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,Ge.unit)(Kt)} ${nn} ${xn}`,transition:`all ${sn} linear`,"&:active":{background:Nn},"&:hover":{height:"60%",[` + ${Pt}-handler-up-inner, + ${Pt}-handler-down-inner + `]:{color:Pn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,ut.Ro)()),{color:Et,transition:`all ${sn} linear`,userSelect:"none"})},[`${Pt}-handler-up`]:{borderStartEndRadius:On},[`${Pt}-handler-down`]:{borderEndEndRadius:On}},mn(je,"lg")),mn(je,"sm")),{"&-disabled, &-readonly":{[`${Pt}-handler-wrap`]:{display:"none"},[`${Pt}-input`]:{color:"inherit"}},[` + ${Pt}-handler-up-disabled, + ${Pt}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${Pt}-handler-up-disabled:hover &-handler-up-inner, + ${Pt}-handler-down-disabled:hover &-handler-down-inner + `]:{color:An}})}]},jt=je=>{const{componentCls:Pt,paddingBlock:Kt,paddingInline:nn,inputAffixPadding:On,controlWidth:_n,borderRadiusLG:nr,borderRadiusSM:ir,paddingInlineLG:Zn,paddingInlineSM:er,paddingBlockLG:kn,paddingBlockSM:cn,motionDurationMid:bn}=je;return{[`${Pt}-affix-wrapper`]:Object.assign(Object.assign({[`input${Pt}-input`]:{padding:`${(0,Ge.unit)(Kt)} 0`}},(0,He.ik)(je)),{position:"relative",display:"inline-flex",alignItems:"center",width:_n,padding:0,paddingInlineStart:nn,"&-lg":{borderRadius:nr,paddingInlineStart:Zn,[`input${Pt}-input`]:{padding:`${(0,Ge.unit)(kn)} 0`}},"&-sm":{borderRadius:ir,paddingInlineStart:er,[`input${Pt}-input`]:{padding:`${(0,Ge.unit)(cn)} 0`}},[`&:not(${Pt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${Pt}-disabled`]:{background:"transparent"},[`> div${Pt}`]:{width:"100%",border:"none",outline:"none",[`&${Pt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${Pt}-handler-wrap`]:{zIndex:2},[Pt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:On},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:nn,marginInlineStart:On,transition:`margin ${bn}`}},[`&:hover ${Pt}-handler-wrap, &-focused ${Pt}-handler-wrap`]:{width:je.handleWidth,opacity:1},[`&:not(${Pt}-affix-wrapper-without-controls):hover ${Pt}-suffix`]:{marginInlineEnd:je.calc(je.handleWidth).add(nn).equal()}})}};var Cn=(0,Ne.I$)("InputNumber",je=>{const Pt=(0,Be.mergeToken)(je,(0,Le.e)(je));return[vn(Pt),jt(Pt),(0,At.c)(Pt)]},Zt,{unitless:{handleOpacity:!0}}),on=function(je,Pt){var Kt={};for(var nn in je)Object.prototype.hasOwnProperty.call(je,nn)&&Pt.indexOf(nn)<0&&(Kt[nn]=je[nn]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,nn=Object.getOwnPropertySymbols(je);On{const{getPrefixCls:Kt,direction:nn}=b.useContext(ae.E_),On=b.useRef(null);b.useImperativeHandle(Pt,()=>On.current);const{className:_n,rootClassName:nr,size:ir,disabled:Zn,prefixCls:er,addonBefore:kn,addonAfter:cn,prefix:bn,suffix:St,bordered:Et,readOnly:sn,status:Pn,controls:Tn,variant:Jt}=je,wn=on(je,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),gn=Kt("input-number",er),Nn=(0,ie.Z)(gn),[An,rr,Qt]=Cn(gn,Nn),{compactSize:Yt,compactItemClassnames:xn}=(0,Se.ri)(gn,nn);let Vn=b.createElement(ce.Z,{className:`${gn}-handler-up-inner`}),jn=b.createElement(Me.Z,{className:`${gn}-handler-down-inner`});const vt=typeof Tn=="boolean"?Tn:void 0;typeof Tn=="object"&&(Vn=typeof Tn.upIcon=="undefined"?Vn:b.createElement("span",{className:`${gn}-handler-up-inner`},Tn.upIcon),jn=typeof Tn.downIcon=="undefined"?jn:b.createElement("span",{className:`${gn}-handler-down-inner`},Tn.downIcon));const{hasFeedback:Dt,status:Te,isFormItemInput:gt,feedbackIcon:Ke}=b.useContext(re.aM),wt=(0,$t.F)(Te,Pn),Ht=(0,de.Z)(pn=>{var Sn;return(Sn=ir!=null?ir:Yt)!==null&&Sn!==void 0?Sn:pn}),Hn=b.useContext(te.Z),Jn=Zn!=null?Zn:Hn,[lt,mt]=(0,le.Z)("inputNumber",Jt,Et),pt=Dt&&b.createElement(b.Fragment,null,Ke),xt=Pe()({[`${gn}-lg`]:Ht==="large",[`${gn}-sm`]:Ht==="small",[`${gn}-rtl`]:nn==="rtl",[`${gn}-in-form-item`]:gt},rr),fn=`${gn}-group`,In=b.createElement(Fe,Object.assign({ref:On,disabled:Jn,className:Pe()(Qt,Nn,_n,nr,xn),upHandler:Vn,downHandler:jn,prefixCls:gn,readOnly:sn,controls:vt,prefix:bn,suffix:pt||St,addonBefore:kn&&b.createElement(dn.Z,{form:!0,space:!0},kn),addonAfter:cn&&b.createElement(dn.Z,{form:!0,space:!0},cn),classNames:{input:xt,variant:Pe()({[`${gn}-${lt}`]:mt},(0,$t.Z)(gn,wt,Dt)),affixWrapper:Pe()({[`${gn}-affix-wrapper-sm`]:Ht==="small",[`${gn}-affix-wrapper-lg`]:Ht==="large",[`${gn}-affix-wrapper-rtl`]:nn==="rtl",[`${gn}-affix-wrapper-without-controls`]:Tn===!1||Jn},rr),wrapper:Pe()({[`${fn}-rtl`]:nn==="rtl"},rr),groupWrapper:Pe()({[`${gn}-group-wrapper-sm`]:Ht==="small",[`${gn}-group-wrapper-lg`]:Ht==="large",[`${gn}-group-wrapper-rtl`]:nn==="rtl",[`${gn}-group-wrapper-${lt}`]:mt},(0,$t.Z)(`${gn}-group-wrapper`,wt,Dt),rr)}},wn));return An(In)}),Tt=Je,an=je=>b.createElement(ne.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(Je,Object.assign({},je)));Tt._InternalPanelDoNotUseOrYouWillBeFired=an;var _t=Tt},49397:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Qe}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(36901),Pe=ee(8654),pe=ee(62487),be=ee(86013),Ve=ee(82855),Ie=ee(48755),ue=ee(2171),$e=ee(83397),Ee=ee(31756),Rt=ee(56553),ot=ee(24971),st=ee(70045),Ue=ee(23826),Re=ee(53075);function ft(Ae){return!!(Ae.prefix||Ae.suffix||Ae.allowClear||Ae.showCount)}var kt=function(Ae,tt){var nt={};for(var zt in Ae)Object.prototype.hasOwnProperty.call(Ae,zt)&&tt.indexOf(zt)<0&&(nt[zt]=Ae[zt]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,zt=Object.getOwnPropertySymbols(Ae);Ot{const{prefixCls:nt,bordered:zt=!0,status:Ot,size:ht,disabled:Ct,onBlur:De,onFocus:ke,suffix:xe,allowClear:se,addonAfter:It,addonBefore:_e,className:Ye,style:Ft,styles:Ce,rootClassName:he,onChange:yt,classNames:Vt,variant:Lt}=Ae,me=kt(Ae,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:qe,direction:it,allowClear:Xt,autoComplete:Xe,className:Gt,style:Fe,classNames:dn,styles:$t}=(0,Ie.dj)("input"),ae=qe("input",nt),ne=(0,b.useRef)(null),te=(0,$e.Z)(ae),[ie,de,re]=(0,Re.TI)(ae,he),[le]=(0,Re.ZP)(ae,te),{compactSize:Se,compactItemClassnames:Ge}=(0,st.ri)(ae,it),He=(0,Ee.Z)(_t=>{var je;return(je=ht!=null?ht:Se)!==null&&je!==void 0?je:_t}),Le=b.useContext(ue.Z),rt=Ct!=null?Ct:Le,{status:ut,hasFeedback:At,feedbackIcon:Ne}=(0,b.useContext)(Rt.aM),Be=(0,Ve.F)(ut,Ot),Ut=ft(Ae)||!!At,Zt=(0,b.useRef)(Ut),mn=(0,Ue.Z)(ne,!0),vn=_t=>{mn(),De==null||De(_t)},jt=_t=>{mn(),ke==null||ke(_t)},Cn=_t=>{mn(),yt==null||yt(_t)},on=(At||xe)&&b.createElement(b.Fragment,null,xe,At&&Ne),Je=(0,be.Z)(se!=null?se:Xt),[Tt,an]=(0,ot.Z)("input",Lt,zt);return ie(le(b.createElement(et.default,Object.assign({ref:(0,Pe.sQ)(tt,ne),prefixCls:ae,autoComplete:Xe},me,{disabled:rt,onBlur:vn,onFocus:jt,style:Object.assign(Object.assign({},Fe),Ft),styles:Object.assign(Object.assign({},$t),Ce),suffix:on,allowClear:Je,className:ce()(Ye,he,re,te,Ge,Gt),onChange:Cn,addonBefore:_e&&b.createElement(pe.Z,{form:!0,space:!0},_e),addonAfter:It&&b.createElement(pe.Z,{form:!0,space:!0},It),classNames:Object.assign(Object.assign(Object.assign({},Vt),dn),{input:ce()({[`${ae}-sm`]:He==="small",[`${ae}-lg`]:He==="large",[`${ae}-rtl`]:it==="rtl"},Vt==null?void 0:Vt.input,dn.input,de),variant:ce()({[`${ae}-${Tt}`]:an},(0,Ve.Z)(ae,Be)),affixWrapper:ce()({[`${ae}-affix-wrapper-sm`]:He==="small",[`${ae}-affix-wrapper-lg`]:He==="large",[`${ae}-affix-wrapper-rtl`]:it==="rtl"},de),wrapper:ce()({[`${ae}-group-rtl`]:it==="rtl"},de),groupWrapper:ce()({[`${ae}-group-wrapper-sm`]:He==="small",[`${ae}-group-wrapper-lg`]:He==="large",[`${ae}-group-wrapper-rtl`]:it==="rtl",[`${ae}-group-wrapper-${Tt}`]:an},(0,Ve.Z)(`${ae}-group-wrapper`,Be,At),de)})}))))})},79809:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return tt}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(22711),Pe=ee(86013),pe=ee(82855),be=ee(48755),Ve=ee(2171),Ie=ee(83397),ue=ee(31756),$e=ee(56553),Ee=ee(24971),Rt=ee(70045),ot=ee(30292),st=ee(53075),Ue=ee(16931),Re=ee(51636),ft=ee(64910);const kt=nt=>{const{componentCls:zt,paddingLG:Ot}=nt,ht=`${zt}-textarea`;return{[`textarea${zt}`]:{maxWidth:"100%",height:"auto",minHeight:nt.controlHeight,lineHeight:nt.lineHeight,verticalAlign:"bottom",transition:`all ${nt.motionDurationSlow}`,resize:"vertical",[`&${zt}-mouse-active`]:{transition:`all ${nt.motionDurationSlow}, height 0s, width 0s`}},[`${zt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ht]:{position:"relative","&-show-count":{[`> ${zt}`]:{height:"100%"},[`${zt}-data-count`]:{position:"absolute",bottom:nt.calc(nt.fontSize).mul(nt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:nt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + &-allow-clear > ${zt}, + &-affix-wrapper${ht}-has-feedback ${zt} + `]:{paddingInlineEnd:Ot},[`&-affix-wrapper${zt}-affix-wrapper`]:{padding:0,[`> textarea${zt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:nt.calc(nt.controlHeight).sub(nt.calc(nt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${zt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${zt}-clear-icon`]:{position:"absolute",insetInlineEnd:nt.paddingInline,insetBlockStart:nt.paddingXS},[`${ht}-suffix`]:{position:"absolute",top:0,insetInlineEnd:nt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${zt}-affix-wrapper-sm`]:{[`${zt}-suffix`]:{[`${zt}-clear-icon`]:{insetInlineEnd:nt.paddingInlineSM}}}}}};var en=(0,Ue.I$)(["Input","TextArea"],nt=>{const zt=(0,Re.mergeToken)(nt,(0,ft.e)(nt));return[kt(zt)]},ft.T,{resetFont:!1}),Qe=function(nt,zt){var Ot={};for(var ht in nt)Object.prototype.hasOwnProperty.call(nt,ht)&&zt.indexOf(ht)<0&&(Ot[ht]=nt[ht]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,ht=Object.getOwnPropertySymbols(nt);Ct{var Ot;const{prefixCls:ht,bordered:Ct=!0,size:De,disabled:ke,status:xe,allowClear:se,classNames:It,rootClassName:_e,className:Ye,style:Ft,styles:Ce,variant:he,showCount:yt,onMouseDown:Vt,onResize:Lt}=nt,me=Qe(nt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:qe,direction:it,allowClear:Xt,autoComplete:Xe,className:Gt,style:Fe,classNames:dn,styles:$t}=(0,be.dj)("textArea"),ae=b.useContext(Ve.Z),ne=ke!=null?ke:ae,{status:te,hasFeedback:ie,feedbackIcon:de}=b.useContext($e.aM),re=(0,pe.F)(te,xe),le=b.useRef(null);b.useImperativeHandle(zt,()=>{var an;return{resizableTextArea:(an=le.current)===null||an===void 0?void 0:an.resizableTextArea,focus:_t=>{var je,Pt;(0,ot.nH)((Pt=(je=le.current)===null||je===void 0?void 0:je.resizableTextArea)===null||Pt===void 0?void 0:Pt.textArea,_t)},blur:()=>{var _t;return(_t=le.current)===null||_t===void 0?void 0:_t.blur()}}});const Se=qe("input",ht),Ge=(0,Ie.Z)(Se),[He,Le,rt]=(0,st.TI)(Se,_e),[ut]=en(Se,Ge),{compactSize:At,compactItemClassnames:Ne}=(0,Rt.ri)(Se,it),Be=(0,ue.Z)(an=>{var _t;return(_t=De!=null?De:At)!==null&&_t!==void 0?_t:an}),[Ut,Zt]=(0,Ee.Z)("textArea",he,Ct),mn=(0,Pe.Z)(se!=null?se:Xt),[vn,jt]=b.useState(!1),[Cn,on]=b.useState(!1),Je=an=>{jt(!0),Vt==null||Vt(an);const _t=()=>{jt(!1),document.removeEventListener("mouseup",_t)};document.addEventListener("mouseup",_t)},Tt=an=>{var _t,je;if(Lt==null||Lt(an),vn&&typeof getComputedStyle=="function"){const Pt=(je=(_t=le.current)===null||_t===void 0?void 0:_t.nativeElement)===null||je===void 0?void 0:je.querySelector("textarea");Pt&&getComputedStyle(Pt).resize==="both"&&on(!0)}};return He(ut(b.createElement(et.default,Object.assign({autoComplete:Xe},me,{style:Object.assign(Object.assign({},Fe),Ft),styles:Object.assign(Object.assign({},$t),Ce),disabled:ne,allowClear:mn,className:ce()(rt,Ge,Ye,_e,Ne,Gt,Cn&&`${Se}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},It),dn),{textarea:ce()({[`${Se}-sm`]:Be==="small",[`${Se}-lg`]:Be==="large"},Le,It==null?void 0:It.textarea,dn.textarea,vn&&`${Se}-mouse-active`),variant:ce()({[`${Se}-${Ut}`]:Zt},(0,pe.Z)(Se,re)),affixWrapper:ce()(`${Se}-textarea-affix-wrapper`,{[`${Se}-affix-wrapper-rtl`]:it==="rtl",[`${Se}-affix-wrapper-sm`]:Be==="small",[`${Se}-affix-wrapper-lg`]:Be==="large",[`${Se}-textarea-show-count`]:yt||((Ot=nt.count)===null||Ot===void 0?void 0:Ot.show)},Le)}),prefixCls:Se,suffix:ie&&b.createElement("span",{className:`${Se}-textarea-suffix`},de),showCount:yt,ref:le,onResize:Tt,onMouseDown:Je}))))})},23826:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Me}});var b=ee(59301);function Me(ce,et){const Pe=(0,b.useRef)([]),pe=()=>{Pe.current.push(setTimeout(()=>{var be,Ve,Ie,ue;!((be=ce.current)===null||be===void 0)&&be.input&&((Ve=ce.current)===null||Ve===void 0?void 0:Ve.input.getAttribute("type"))==="password"&&(!((Ie=ce.current)===null||Ie===void 0)&&Ie.input.hasAttribute("value"))&&((ue=ce.current)===null||ue===void 0||ue.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(et&&pe(),()=>Pe.current.forEach(be=>{be&&clearTimeout(be)})),[]),pe}},37568:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return dn}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(48755),Pe=ee(56553),pe=ee(53075),Ve=$t=>{const{getPrefixCls:ae,direction:ne}=(0,b.useContext)(et.E_),{prefixCls:te,className:ie}=$t,de=ae("input-group",te),re=ae("input"),[le,Se,Ge]=(0,pe.ZP)(re),He=ce()(de,Ge,{[`${de}-lg`]:$t.size==="large",[`${de}-sm`]:$t.size==="small",[`${de}-compact`]:$t.compact,[`${de}-rtl`]:ne==="rtl"},Se,ie),Le=(0,b.useContext)(Pe.aM),rt=(0,b.useMemo)(()=>Object.assign(Object.assign({},Le),{isFormItemInput:!1}),[Le]);return le(b.createElement("span",{className:He,style:$t.style,onMouseEnter:$t.onMouseEnter,onMouseLeave:$t.onMouseLeave,onFocus:$t.onFocus,onBlur:$t.onBlur},b.createElement(Pe.aM.Provider,{value:rt},$t.children)))},Ie=ee(49397),ue=ee(77654),$e=ee(6089),Ee=ee(26112),Rt=ee(82855),ot=ee(31756),st=ee(16931),Ue=ee(51636),Re=ee(64910);const ft=$t=>{const{componentCls:ae,paddingXS:ne}=$t;return{[ae]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:ne,"&-rtl":{direction:"rtl"},[`${ae}-input`]:{textAlign:"center",paddingInline:$t.paddingXXS},[`&${ae}-sm ${ae}-input`]:{paddingInline:$t.calc($t.paddingXXS).div(2).equal()},[`&${ae}-lg ${ae}-input`]:{paddingInline:$t.paddingXS}}}};var kt=(0,st.I$)(["Input","OTP"],$t=>{const ae=(0,Ue.mergeToken)($t,(0,Re.e)($t));return[ft(ae)]},Re.T),en=ee(16089),Qe=function($t,ae){var ne={};for(var te in $t)Object.prototype.hasOwnProperty.call($t,te)&&ae.indexOf(te)<0&&(ne[te]=$t[te]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,te=Object.getOwnPropertySymbols($t);ie{const{value:ne,onChange:te,onActiveChange:ie,index:de,mask:re}=$t,le=Qe($t,["value","onChange","onActiveChange","index","mask"]),Se=ne&&typeof re=="string"?re:ne,Ge=At=>{te(de,At.target.value)},He=b.useRef(null);b.useImperativeHandle(ae,()=>He.current);const Le=()=>{(0,en.Z)(()=>{var At;const Ne=(At=He.current)===null||At===void 0?void 0:At.input;document.activeElement===Ne&&Ne&&Ne.select()})},rt=At=>{const{key:Ne,ctrlKey:Be,metaKey:Ut}=At;Ne==="ArrowLeft"?ie(de-1):Ne==="ArrowRight"?ie(de+1):Ne==="z"&&(Be||Ut)&&At.preventDefault(),Le()},ut=At=>{At.key==="Backspace"&&!ne&&ie(de-1),Le()};return b.createElement(Ie.Z,Object.assign({type:re===!0?"password":"text"},le,{ref:He,value:Se,onInput:Ge,onFocus:Le,onKeyDown:rt,onKeyUp:ut,onMouseDown:Le,onMouseUp:Le}))}),nt=function($t,ae){var ne={};for(var te in $t)Object.prototype.hasOwnProperty.call($t,te)&&ae.indexOf(te)<0&&(ne[te]=$t[te]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,te=Object.getOwnPropertySymbols($t);ie{const{index:ae,prefixCls:ne,separator:te}=$t,ie=typeof te=="function"?te(ae):te;return ie?b.createElement("span",{className:`${ne}-separator`},ie):null};var Ct=b.forwardRef(($t,ae)=>{const{prefixCls:ne,length:te=6,size:ie,defaultValue:de,value:re,onChange:le,formatter:Se,separator:Ge,variant:He,disabled:Le,status:rt,autoFocus:ut,mask:At,type:Ne,onInput:Be,inputMode:Ut}=$t,Zt=nt($t,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:mn,direction:vn}=b.useContext(et.E_),jt=mn("otp",ne),Cn=(0,Ee.Z)(Zt,{aria:!0,data:!0,attr:!0}),[on,Je,Tt]=kt(jt),an=(0,ot.Z)(bn=>ie!=null?ie:bn),_t=b.useContext(Pe.aM),je=(0,Rt.F)(_t.status,rt),Pt=b.useMemo(()=>Object.assign(Object.assign({},_t),{status:je,hasFeedback:!1,feedbackIcon:null}),[_t,je]),Kt=b.useRef(null),nn=b.useRef({});b.useImperativeHandle(ae,()=>({focus:()=>{var bn;(bn=nn.current[0])===null||bn===void 0||bn.focus()},blur:()=>{var bn;for(let St=0;StSe?Se(bn):bn,[_n,nr]=b.useState(()=>zt(On(de||"")));b.useEffect(()=>{re!==void 0&&nr(zt(re))},[re]);const ir=(0,$e.Z)(bn=>{nr(bn),Be&&Be(bn),le&&bn.length===te&&bn.every(St=>St)&&bn.some((St,Et)=>_n[Et]!==St)&&le(bn.join(""))}),Zn=(0,$e.Z)((bn,St)=>{let Et=(0,ue.Z)(_n);for(let Pn=0;Pn=0&&!Et[Pn];Pn-=1)Et.pop();const sn=On(Et.map(Pn=>Pn||" ").join(""));return Et=zt(sn).map((Pn,Tn)=>Pn===" "&&!Et[Tn]?Et[Tn]:Pn),Et}),er=(bn,St)=>{var Et;const sn=Zn(bn,St),Pn=Math.min(bn+St.length,te-1);Pn!==bn&&sn[bn]!==void 0&&((Et=nn.current[Pn])===null||Et===void 0||Et.focus()),ir(sn)},kn=bn=>{var St;(St=nn.current[bn])===null||St===void 0||St.focus()},cn={variant:He,disabled:Le,status:je,mask:At,type:Ne,inputMode:Ut};return on(b.createElement("div",Object.assign({},Cn,{ref:Kt,className:ce()(jt,{[`${jt}-sm`]:an==="small",[`${jt}-lg`]:an==="large",[`${jt}-rtl`]:vn==="rtl"},Tt,Je)}),b.createElement(Pe.aM.Provider,{value:Pt},Array.from({length:te}).map((bn,St)=>{const Et=`otp-${St}`,sn=_n[St]||"";return b.createElement(b.Fragment,{key:Et},b.createElement(tt,Object.assign({ref:Pn=>{nn.current[St]=Pn},index:St,size:an,htmlSize:1,className:`${jt}-input`,onChange:er,value:sn,onActiveChange:kn,autoFocus:St===0&&ut},cn)),St$t?b.createElement(ke.Z,null):b.createElement(De.Z,null),Ce={click:"onClick",hover:"onMouseOver"};var yt=b.forwardRef(($t,ae)=>{const{disabled:ne,action:te="click",visibilityToggle:ie=!0,iconRender:de=Ft}=$t,re=b.useContext(It.Z),le=ne!=null?ne:re,Se=typeof ie=="object"&&ie.visible!==void 0,[Ge,He]=(0,b.useState)(()=>Se?ie.visible:!1),Le=(0,b.useRef)(null);b.useEffect(()=>{Se&&He(ie.visible)},[Se,ie]);const rt=(0,_e.Z)(Le),ut=()=>{var an;if(le)return;Ge&&rt();const _t=!Ge;He(_t),typeof ie=="object"&&((an=ie.onVisibleChange)===null||an===void 0||an.call(ie,_t))},At=an=>{const _t=Ce[te]||"",je=de(Ge),Pt={[_t]:ut,className:`${an}-icon`,key:"passwordIcon",onMouseDown:Kt=>{Kt.preventDefault()},onMouseUp:Kt=>{Kt.preventDefault()}};return b.cloneElement(b.isValidElement(je)?je:b.createElement("span",null,je),Pt)},{className:Ne,prefixCls:Be,inputPrefixCls:Ut,size:Zt}=$t,mn=Ye($t,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:vn}=b.useContext(et.E_),jt=vn("input",Ut),Cn=vn("input-password",Be),on=ie&&At(Cn),Je=ce()(Cn,Ne,{[`${Cn}-${Zt}`]:!!Zt}),Tt=Object.assign(Object.assign({},(0,xe.Z)(mn,["suffix","iconRender","visibilityToggle"])),{type:Ge?"text":"password",className:Je,prefixCls:jt,suffix:on});return Zt&&(Tt.size=Zt),b.createElement(Ie.Z,Object.assign({ref:(0,se.sQ)(ae,Le)},Tt))}),Vt=ee(47472),Lt=ee(22703),me=ee(7939),qe=ee(70045),it=function($t,ae){var ne={};for(var te in $t)Object.prototype.hasOwnProperty.call($t,te)&&ae.indexOf(te)<0&&(ne[te]=$t[te]);if($t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,te=Object.getOwnPropertySymbols($t);ie{const{prefixCls:ne,inputPrefixCls:te,className:ie,size:de,suffix:re,enterButton:le=!1,addonAfter:Se,loading:Ge,disabled:He,onSearch:Le,onChange:rt,onCompositionStart:ut,onCompositionEnd:At}=$t,Ne=it($t,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Be,direction:Ut}=b.useContext(et.E_),Zt=b.useRef(!1),mn=Be("input-search",ne),vn=Be("input",te),{compactSize:jt}=(0,qe.ri)(mn,Ut),Cn=(0,ot.Z)(er=>{var kn;return(kn=de!=null?de:jt)!==null&&kn!==void 0?kn:er}),on=b.useRef(null),Je=er=>{er!=null&&er.target&&er.type==="click"&&Le&&Le(er.target.value,er,{source:"clear"}),rt==null||rt(er)},Tt=er=>{var kn;document.activeElement===((kn=on.current)===null||kn===void 0?void 0:kn.input)&&er.preventDefault()},an=er=>{var kn,cn;Le&&Le((cn=(kn=on.current)===null||kn===void 0?void 0:kn.input)===null||cn===void 0?void 0:cn.value,er,{source:"input"})},_t=er=>{Zt.current||Ge||an(er)},je=typeof le=="boolean"?b.createElement(Vt.Z,null):null,Pt=`${mn}-button`;let Kt;const nn=le||{},On=nn.type&&nn.type.__ANT_BUTTON===!0;On||nn.type==="button"?Kt=(0,Lt.Tm)(nn,Object.assign({onMouseDown:Tt,onClick:er=>{var kn,cn;(cn=(kn=nn==null?void 0:nn.props)===null||kn===void 0?void 0:kn.onClick)===null||cn===void 0||cn.call(kn,er),an(er)},key:"enterButton"},On?{className:Pt,size:Cn}:{})):Kt=b.createElement(me.ZP,{className:Pt,type:le?"primary":void 0,size:Cn,disabled:He,key:"enterButton",onMouseDown:Tt,onClick:an,loading:Ge,icon:je},le),Se&&(Kt=[Kt,(0,Lt.Tm)(Se,{key:"addonAfter"})]);const _n=ce()(mn,{[`${mn}-rtl`]:Ut==="rtl",[`${mn}-${Cn}`]:!!Cn,[`${mn}-with-button`]:!!le},ie),nr=Object.assign(Object.assign({},Ne),{className:_n,prefixCls:vn,type:"search"}),ir=er=>{Zt.current=!0,ut==null||ut(er)},Zn=er=>{Zt.current=!1,At==null||At(er)};return b.createElement(Ie.Z,Object.assign({ref:(0,se.sQ)(on,ae),onPressEnter:_t},nr,{size:Cn,onCompositionStart:ir,onCompositionEnd:Zn,addonAfter:Kt,suffix:re,onChange:Je,disabled:He}))}),Gt=ee(79809);const Fe=Ie.Z;Fe.Group=Ve,Fe.Search=Xe,Fe.TextArea=Gt.Z,Fe.Password=yt,Fe.OTP=Ct;var dn=Fe},24303:function(Bn,rn,ee){"use strict";ee.d(rn,{D:function(){return nt},Z:function(){return ht}});var b=ee(59301),Me=ee(60499),ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(De,ke){return b.createElement(Pe.Z,(0,Me.Z)({},De,{ref:ke,icon:et}))},be=b.forwardRef(pe),Ve=be,Ie=ee(33853),ue=ee(38819),$e=ee(92310),Ee=ee.n($e),Rt=ee(2738),ot=ee(48755),st=ee(6989),Ue=ee(36237),Re=ee(48923),ft=ee(16931);const kt=Ct=>{const{componentCls:De,siderBg:ke,motionDurationMid:xe,motionDurationSlow:se,antCls:It,triggerHeight:_e,triggerColor:Ye,triggerBg:Ft,headerHeight:Ce,zeroTriggerWidth:he,zeroTriggerHeight:yt,borderRadiusLG:Vt,lightSiderBg:Lt,lightTriggerColor:me,lightTriggerBg:qe,bodyBg:it}=Ct;return{[De]:{position:"relative",minWidth:0,background:ke,transition:`all ${xe}, background 0s`,"&-has-trigger":{paddingBottom:_e},"&-right":{order:1},[`${De}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${It}-menu${It}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${De}-children`]:{overflow:"hidden"},[`${De}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:_e,color:Ye,lineHeight:(0,Ue.unit)(_e),textAlign:"center",background:Ft,cursor:"pointer",transition:`all ${xe}`},[`${De}-zero-width-trigger`]:{position:"absolute",top:Ce,insetInlineEnd:Ct.calc(he).mul(-1).equal(),zIndex:1,width:he,height:yt,color:Ye,fontSize:Ct.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ke,borderRadius:`0 ${(0,Ue.unit)(Vt)} ${(0,Ue.unit)(Vt)} 0`,cursor:"pointer",transition:`background ${se} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${se}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ct.calc(he).mul(-1).equal(),borderRadius:`${(0,Ue.unit)(Vt)} 0 0 ${(0,Ue.unit)(Vt)}`}},"&-light":{background:Lt,[`${De}-trigger`]:{color:me,background:qe},[`${De}-zero-width-trigger`]:{color:me,background:qe,border:`1px solid ${it}`,borderInlineStart:0}}}}};var en=(0,ft.I$)(["Layout","Sider"],Ct=>[kt(Ct)],Re.eh,{deprecatedTokens:Re.jn}),Qe=function(Ct,De){var ke={};for(var xe in Ct)Object.prototype.hasOwnProperty.call(Ct,xe)&&De.indexOf(xe)<0&&(ke[xe]=Ct[xe]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,xe=Object.getOwnPropertySymbols(Ct);se!Number.isNaN(Number.parseFloat(Ct))&&isFinite(Ct),nt=b.createContext({}),zt=(()=>{let Ct=0;return function(){let De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ct+=1,`${De}${Ct}`}})();var ht=b.forwardRef((Ct,De)=>{const{prefixCls:ke,className:xe,trigger:se,children:It,defaultCollapsed:_e=!1,theme:Ye="dark",style:Ft={},collapsible:Ce=!1,reverseArrow:he=!1,width:yt=200,collapsedWidth:Vt=80,zeroWidthTriggerStyle:Lt,breakpoint:me,onCollapse:qe,onBreakpoint:it}=Ct,Xt=Qe(Ct,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Xe}=(0,b.useContext)(st.V),[Gt,Fe]=(0,b.useState)("collapsed"in Ct?Ct.collapsed:_e),[dn,$t]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in Ct&&Fe(Ct.collapsed)},[Ct.collapsed]);const ae=(Cn,on)=>{"collapsed"in Ct||Fe(Cn),qe==null||qe(Cn,on)},{getPrefixCls:ne,direction:te}=(0,b.useContext)(ot.E_),ie=ne("layout-sider",ke),[de,re,le]=en(ie),Se=(0,b.useRef)(null);Se.current=Cn=>{$t(Cn.matches),it==null||it(Cn.matches),Gt!==Cn.matches&&ae(Cn.matches,"responsive")},(0,b.useEffect)(()=>{function Cn(Je){return Se.current(Je)}let on;if(typeof window!="undefined"){const{matchMedia:Je}=window;if(Je&&me&&me in Ae){on=Je(`screen and (max-width: ${Ae[me]})`);try{on.addEventListener("change",Cn)}catch(Tt){on.addListener(Cn)}Cn(on)}}return()=>{try{on==null||on.removeEventListener("change",Cn)}catch(Je){on==null||on.removeListener(Cn)}}},[me]),(0,b.useEffect)(()=>{const Cn=zt("ant-sider-");return Xe.addSider(Cn),()=>Xe.removeSider(Cn)},[]);const Ge=()=>{ae(!Gt,"clickTrigger")},He=(0,Rt.Z)(Xt,["collapsed"]),Le=Gt?Vt:yt,rt=tt(Le)?`${Le}px`:String(Le),ut=parseFloat(String(Vt||0))===0?b.createElement("span",{onClick:Ge,className:Ee()(`${ie}-zero-width-trigger`,`${ie}-zero-width-trigger-${he?"right":"left"}`),style:Lt},se||b.createElement(Ve,null)):null,At=te==="rtl"==!he,Ut={expanded:At?b.createElement(ue.Z,null):b.createElement(Ie.Z,null),collapsed:At?b.createElement(Ie.Z,null):b.createElement(ue.Z,null)}[Gt?"collapsed":"expanded"],Zt=se!==null?ut||b.createElement("div",{className:`${ie}-trigger`,onClick:Ge,style:{width:rt}},se||Ut):null,mn=Object.assign(Object.assign({},Ft),{flex:`0 0 ${rt}`,maxWidth:rt,minWidth:rt,width:rt}),vn=Ee()(ie,`${ie}-${Ye}`,{[`${ie}-collapsed`]:!!Gt,[`${ie}-has-trigger`]:Ce&&se!==null&&!ut,[`${ie}-below`]:!!dn,[`${ie}-zero-width`]:parseFloat(rt)===0},xe,re,le),jt=b.useMemo(()=>({siderCollapsed:Gt}),[Gt]);return de(b.createElement(nt.Provider,{value:jt},b.createElement("aside",Object.assign({className:vn},He,{style:mn,ref:De}),b.createElement("div",{className:`${ie}-children`},It),Ce||dn&&ut?Zt:null)))})},6989:function(Bn,rn,ee){"use strict";ee.d(rn,{V:function(){return Me}});var b=ee(59301);const Me=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Bn,rn,ee){"use strict";ee.d(rn,{eh:function(){return et},jn:function(){return Pe}});var b=ee(36237),Me=ee(16931);const ce=pe=>{const{antCls:be,componentCls:Ve,colorText:Ie,footerBg:ue,headerHeight:$e,headerPadding:Ee,headerColor:Rt,footerPadding:ot,fontSize:st,bodyBg:Ue,headerBg:Re}=pe;return{[Ve]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ue,"&, *":{boxSizing:"border-box"},[`&${Ve}-has-sider`]:{flexDirection:"row",[`> ${Ve}, > ${Ve}-content`]:{width:0}},[`${Ve}-header, &${Ve}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Ve}-header`]:{height:$e,padding:Ee,color:Rt,lineHeight:(0,b.unit)($e),background:Re,[`${be}-menu`]:{lineHeight:"inherit"}},[`${Ve}-footer`]:{padding:ot,color:Ie,fontSize:st,background:ue},[`${Ve}-content`]:{flex:"auto",color:Ie,minHeight:0}}},et=pe=>{const{colorBgLayout:be,controlHeight:Ve,controlHeightLG:Ie,colorText:ue,controlHeightSM:$e,marginXXS:Ee,colorTextLightSolid:Rt,colorBgContainer:ot}=pe,st=Ie*1.25;return{colorBgHeader:"#001529",colorBgBody:be,colorBgTrigger:"#002140",bodyBg:be,headerBg:"#001529",headerHeight:Ve*2,headerPadding:`0 ${st}px`,headerColor:ue,footerPadding:`${$e}px ${st}px`,footerBg:be,siderBg:"#001529",triggerHeight:Ie+Ee*2,triggerBg:"#002140",triggerColor:Rt,zeroTriggerWidth:Ie,zeroTriggerHeight:Ie,lightSiderBg:ot,lightTriggerBg:ot,lightTriggerColor:ue}},Pe=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];rn.ZP=(0,Me.I$)("Layout",pe=>[ce(pe)],et,{deprecatedTokens:Pe})},78857:function(Bn,rn,ee){"use strict";ee.d(rn,{J:function(){return pe}});var b=ee(59301),Me=ee(8654),ce=ee(62487),et=function(be,Ve){var Ie={};for(var ue in be)Object.prototype.hasOwnProperty.call(be,ue)&&Ve.indexOf(ue)<0&&(Ie[ue]=be[ue]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,ue=Object.getOwnPropertySymbols(be);$e{const{children:Ie}=be,ue=et(be,["children"]),$e=b.useContext(Pe),Ee=b.useMemo(()=>Object.assign(Object.assign({},$e),ue),[$e,ue.prefixCls,ue.mode,ue.selectable,ue.rootClassName]),Rt=(0,Me.t4)(Ie),ot=(0,Me.x1)(Ve,Rt?(0,Me.C4)(Ie):null);return b.createElement(Pe.Provider,{value:Ee},b.createElement(ce.Z,{space:!0},Rt?b.cloneElement(Ie,{ref:ot}):Ie))});rn.Z=Pe},93041:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return de}});var b=ee(59301),Me=ee(28321),ce=ee(24303),et=ee(18785),Pe=ee(92310),pe=ee.n(Pe),be=ee(6089),Ve=ee(2738),Ie=ee(86641),ue=ee(22703),$e=ee(48755),Ee=ee(83397),ot=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),st=function(re,le){var Se={};for(var Ge in re)Object.prototype.hasOwnProperty.call(re,Ge)&&le.indexOf(Ge)<0&&(Se[Ge]=re[Ge]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Ge=Object.getOwnPropertySymbols(re);He{const{prefixCls:le,className:Se,dashed:Ge}=re,He=st(re,["prefixCls","className","dashed"]),{getPrefixCls:Le}=b.useContext($e.E_),rt=Le("menu",le),ut=pe()({[`${rt}-item-divider-dashed`]:!!Ge},Se);return b.createElement(Me.iz,Object.assign({className:ut},He))},ft=ee(11592),kt=ee(25399),Qe=re=>{var le;const{className:Se,children:Ge,icon:He,title:Le,danger:rt,extra:ut}=re,{prefixCls:At,firstLevel:Ne,direction:Be,disableMenuItemTitleTooltip:Ut,inlineCollapsed:Zt}=b.useContext(ot),mn=Tt=>{const an=Ge==null?void 0:Ge[0],_t=b.createElement("span",{className:pe()(`${At}-title-content`,{[`${At}-title-content-with-extra`]:!!ut||ut===0})},Ge);return(!He||b.isValidElement(Ge)&&Ge.type==="span")&&Ge&&Tt&&Ne&&typeof an=="string"?b.createElement("div",{className:`${At}-inline-collapsed-noicon`},an.charAt(0)):_t},{siderCollapsed:vn}=b.useContext(ce.D);let jt=Le;typeof Le=="undefined"?jt=Ne?Ge:"":Le===!1&&(jt="");const Cn={title:jt};!vn&&!Zt&&(Cn.title=null,Cn.open=!1);const on=(0,ft.Z)(Ge).length;let Je=b.createElement(Me.ck,Object.assign({},(0,Ve.Z)(re,["title","icon","danger"]),{className:pe()({[`${At}-item-danger`]:rt,[`${At}-item-only-child`]:(He?on+1:on)===1},Se),title:typeof Le=="string"?Le:void 0}),(0,ue.Tm)(He,{className:pe()(b.isValidElement(He)?(le=He.props)===null||le===void 0?void 0:le.className:"",`${At}-item-icon`)}),mn(Zt));return Ut||(Je=b.createElement(kt.Z,Object.assign({},Cn,{placement:Be==="rtl"?"left":"right",classNames:{root:`${At}-inline-collapsed-tooltip`}}),Je)),Je},Ae=ee(78857),tt=ee(36237),nt=ee(17835),zt=ee(63356),Ot=ee(34961),ht=ee(46e3),Ct=ee(34925),De=ee(16931),ke=ee(51636),se=re=>{const{componentCls:le,motionDurationSlow:Se,horizontalLineHeight:Ge,colorSplit:He,lineWidth:Le,lineType:rt,itemPaddingInline:ut}=re;return{[`${le}-horizontal`]:{lineHeight:Ge,border:0,borderBottom:`${(0,tt.unit)(Le)} ${rt} ${He}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${le}-item, ${le}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ut},[`> ${le}-item:hover, + > ${le}-item-active, + > ${le}-submenu ${le}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${le}-item, ${le}-submenu-title`]:{transition:[`border-color ${Se}`,`background ${Se}`].join(",")},[`${le}-submenu-arrow`]:{display:"none"}}}},_e=re=>{let{componentCls:le,menuArrowOffset:Se,calc:Ge}=re;return{[`${le}-rtl`]:{direction:"rtl"},[`${le}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${le}-rtl${le}-vertical, + ${le}-submenu-rtl ${le}-vertical`]:{[`${le}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,tt.unit)(Ge(Se).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,tt.unit)(Se)})`}}}}};const Ye=re=>Object.assign({},(0,zt.oN)(re));var Ce=(re,le)=>{const{componentCls:Se,itemColor:Ge,itemSelectedColor:He,subMenuItemSelectedColor:Le,groupTitleColor:rt,itemBg:ut,subMenuItemBg:At,itemSelectedBg:Ne,activeBarHeight:Be,activeBarWidth:Ut,activeBarBorderWidth:Zt,motionDurationSlow:mn,motionEaseInOut:vn,motionEaseOut:jt,itemPaddingInline:Cn,motionDurationMid:on,itemHoverColor:Je,lineType:Tt,colorSplit:an,itemDisabledColor:_t,dangerItemColor:je,dangerItemHoverColor:Pt,dangerItemSelectedColor:Kt,dangerItemActiveBg:nn,dangerItemSelectedBg:On,popupBg:_n,itemHoverBg:nr,itemActiveBg:ir,menuSubMenuBg:Zn,horizontalItemSelectedColor:er,horizontalItemSelectedBg:kn,horizontalItemBorderRadius:cn,horizontalItemHoverBg:bn}=re;return{[`${Se}-${le}, ${Se}-${le} > ${Se}`]:{color:Ge,background:ut,[`&${Se}-root:focus-visible`]:Object.assign({},Ye(re)),[`${Se}-item`]:{"&-group-title, &-extra":{color:rt}},[`${Se}-submenu-selected > ${Se}-submenu-title`]:{color:Le},[`${Se}-item, ${Se}-submenu-title`]:{color:Ge,[`&:not(${Se}-item-disabled):focus-visible`]:Object.assign({},Ye(re))},[`${Se}-item-disabled, ${Se}-submenu-disabled`]:{color:`${_t} !important`},[`${Se}-item:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{[`&:hover, > ${Se}-submenu-title:hover`]:{color:Je}},[`&:not(${Se}-horizontal)`]:{[`${Se}-item:not(${Se}-item-selected)`]:{"&:hover":{backgroundColor:nr},"&:active":{backgroundColor:ir}},[`${Se}-submenu-title`]:{"&:hover":{backgroundColor:nr},"&:active":{backgroundColor:ir}}},[`${Se}-item-danger`]:{color:je,[`&${Se}-item:hover`]:{[`&:not(${Se}-item-selected):not(${Se}-submenu-selected)`]:{color:Pt}},[`&${Se}-item:active`]:{background:nn}},[`${Se}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Se}-item-selected`]:{color:He,[`&${Se}-item-danger`]:{color:Kt},"a, a:hover":{color:"inherit"}},[`& ${Se}-item-selected`]:{backgroundColor:Ne,[`&${Se}-item-danger`]:{backgroundColor:On}},[`&${Se}-submenu > ${Se}`]:{backgroundColor:Zn},[`&${Se}-popup > ${Se}`]:{backgroundColor:_n},[`&${Se}-submenu-popup > ${Se}`]:{backgroundColor:_n},[`&${Se}-horizontal`]:Object.assign(Object.assign({},le==="dark"?{borderBottom:0}:{}),{[`> ${Se}-item, > ${Se}-submenu`]:{top:Zt,marginTop:re.calc(Zt).mul(-1).equal(),marginBottom:0,borderRadius:cn,"&::after":{position:"absolute",insetInline:Cn,bottom:0,borderBottom:`${(0,tt.unit)(Be)} solid transparent`,transition:`border-color ${mn} ${vn}`,content:'""'},"&:hover, &-active, &-open":{background:bn,"&::after":{borderBottomWidth:Be,borderBottomColor:er}},"&-selected":{color:er,backgroundColor:kn,"&:hover":{backgroundColor:kn},"&::after":{borderBottomWidth:Be,borderBottomColor:er}}}}),[`&${Se}-root`]:{[`&${Se}-inline, &${Se}-vertical`]:{borderInlineEnd:`${(0,tt.unit)(Zt)} ${Tt} ${an}`}},[`&${Se}-inline`]:{[`${Se}-sub${Se}-inline`]:{background:At},[`${Se}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,tt.unit)(Ut)} solid ${He}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${on} ${jt}`,`opacity ${on} ${jt}`].join(","),content:'""'},[`&${Se}-item-danger`]:{"&::after":{borderInlineEndColor:Kt}}},[`${Se}-selected, ${Se}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${on} ${vn}`,`opacity ${on} ${vn}`].join(",")}}}}}};const he=re=>{const{componentCls:le,itemHeight:Se,itemMarginInline:Ge,padding:He,menuArrowSize:Le,marginXS:rt,itemMarginBlock:ut,itemWidth:At,itemPaddingInline:Ne}=re,Be=re.calc(Le).add(He).add(rt).equal();return{[`${le}-item`]:{position:"relative",overflow:"hidden"},[`${le}-item, ${le}-submenu-title`]:{height:Se,lineHeight:(0,tt.unit)(Se),paddingInline:Ne,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ge,marginBlock:ut,width:At},[`> ${le}-item, + > ${le}-submenu > ${le}-submenu-title`]:{height:Se,lineHeight:(0,tt.unit)(Se)},[`${le}-item-group-list ${le}-submenu-title, + ${le}-submenu-title`]:{paddingInlineEnd:Be}}};var Vt=re=>{const{componentCls:le,iconCls:Se,itemHeight:Ge,colorTextLightSolid:He,dropdownWidth:Le,controlHeightLG:rt,motionEaseOut:ut,paddingXL:At,itemMarginInline:Ne,fontSizeLG:Be,motionDurationFast:Ut,motionDurationSlow:Zt,paddingXS:mn,boxShadowSecondary:vn,collapsedWidth:jt,collapsedIconSize:Cn}=re,on={height:Ge,lineHeight:(0,tt.unit)(Ge),listStylePosition:"inside",listStyleType:"disc"};return[{[le]:{"&-inline, &-vertical":Object.assign({[`&${le}-root`]:{boxShadow:"none"}},he(re))},[`${le}-submenu-popup`]:{[`${le}-vertical`]:Object.assign(Object.assign({},he(re)),{boxShadow:vn})}},{[`${le}-submenu-popup ${le}-vertical${le}-sub`]:{minWidth:Le,maxHeight:`calc(100vh - ${(0,tt.unit)(re.calc(rt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${le}-inline`]:{width:"100%",[`&${le}-root`]:{[`${le}-item, ${le}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Zt}`,`background ${Zt}`,`padding ${Ut} ${ut}`].join(","),[`> ${le}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${le}-sub${le}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${le}-submenu > ${le}-submenu-title`]:on,[`& ${le}-item-group-title`]:{paddingInlineStart:At}},[`${le}-item`]:on}},{[`${le}-inline-collapsed`]:{width:jt,[`&${le}-root`]:{[`${le}-item, ${le}-submenu ${le}-submenu-title`]:{[`> ${le}-inline-collapsed-noicon`]:{fontSize:Be,textAlign:"center"}}},[`> ${le}-item, + > ${le}-item-group > ${le}-item-group-list > ${le}-item, + > ${le}-item-group > ${le}-item-group-list > ${le}-submenu > ${le}-submenu-title, + > ${le}-submenu > ${le}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,tt.unit)(re.calc(Cn).div(2).equal())} - ${(0,tt.unit)(Ne)})`,textOverflow:"clip",[` + ${le}-submenu-arrow, + ${le}-submenu-expand-icon + `]:{opacity:0},[`${le}-item-icon, ${Se}`]:{margin:0,fontSize:Cn,lineHeight:(0,tt.unit)(Ge),"+ span":{display:"inline-block",opacity:0}}},[`${le}-item-icon, ${Se}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${le}-item-icon, ${Se}`]:{display:"none"},"a, a:hover":{color:He}},[`${le}-item-group-title`]:Object.assign(Object.assign({},zt.vS),{paddingInline:mn})}}]};const Lt=re=>{const{componentCls:le,motionDurationSlow:Se,motionDurationMid:Ge,motionEaseInOut:He,motionEaseOut:Le,iconCls:rt,iconSize:ut,iconMarginInlineEnd:At}=re;return{[`${le}-item, ${le}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Se}`,`background ${Se}`,`padding calc(${Se} + 0.1s) ${He}`].join(","),[`${le}-item-icon, ${rt}`]:{minWidth:ut,fontSize:ut,transition:[`font-size ${Ge} ${Le}`,`margin ${Se} ${He}`,`color ${Se}`].join(","),"+ span":{marginInlineStart:At,opacity:1,transition:[`opacity ${Se} ${He}`,`margin ${Se}`,`color ${Se}`].join(",")}},[`${le}-item-icon`]:Object.assign({},(0,zt.Ro)()),[`&${le}-item-only-child`]:{[`> ${rt}, > ${le}-item-icon`]:{marginInlineEnd:0}}},[`${le}-item-disabled, ${le}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${le}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},me=re=>{const{componentCls:le,motionDurationSlow:Se,motionEaseInOut:Ge,borderRadius:He,menuArrowSize:Le,menuArrowOffset:rt}=re;return{[`${le}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:re.margin,width:Le,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Se} ${Ge}, opacity ${Se}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re.calc(Le).mul(.6).equal(),height:re.calc(Le).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:He,transition:[`background ${Se} ${Ge}`,`transform ${Se} ${Ge}`,`top ${Se} ${Ge}`,`color ${Se} ${Ge}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,tt.unit)(re.calc(rt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,tt.unit)(rt)})`}}}}},qe=re=>{const{antCls:le,componentCls:Se,fontSize:Ge,motionDurationSlow:He,motionDurationMid:Le,motionEaseInOut:rt,paddingXS:ut,padding:At,colorSplit:Ne,lineWidth:Be,zIndexPopup:Ut,borderRadiusLG:Zt,subMenuItemBorderRadius:mn,menuArrowSize:vn,menuArrowOffset:jt,lineType:Cn,groupTitleLineHeight:on,groupTitleFontSize:Je}=re;return[{"":{[Se]:Object.assign(Object.assign({},(0,zt.dF)()),{"&-hidden":{display:"none"}})},[`${Se}-submenu-hidden`]:{display:"none"}},{[Se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,zt.Wf)(re)),(0,zt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Ge,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${He} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Se}-item`]:{flex:"none"}},[`${Se}-item, ${Se}-submenu, ${Se}-submenu-title`]:{borderRadius:re.itemBorderRadius},[`${Se}-item-group-title`]:{padding:`${(0,tt.unit)(ut)} ${(0,tt.unit)(At)}`,fontSize:Je,lineHeight:on,transition:`all ${He}`},[`&-horizontal ${Se}-submenu`]:{transition:[`border-color ${He} ${rt}`,`background ${He} ${rt}`].join(",")},[`${Se}-submenu, ${Se}-submenu-inline`]:{transition:[`border-color ${He} ${rt}`,`background ${He} ${rt}`,`padding ${Le} ${rt}`].join(",")},[`${Se}-submenu ${Se}-sub`]:{cursor:"initial",transition:[`background ${He} ${rt}`,`padding ${He} ${rt}`].join(",")},[`${Se}-title-content`]:{transition:`color ${He}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${le}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${Se}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:re.padding}},[`${Se}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Se}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ne,borderStyle:Cn,borderWidth:0,borderTopWidth:Be,marginBlock:Be,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Lt(re)),{[`${Se}-item-group`]:{[`${Se}-item-group-list`]:{margin:0,padding:0,[`${Se}-item, ${Se}-submenu-title`]:{paddingInline:`${(0,tt.unit)(re.calc(Ge).mul(2).equal())} ${(0,tt.unit)(At)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ut,borderRadius:Zt,boxShadow:"none",transformOrigin:"0 0",[`&${Se}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${Se}`]:Object.assign(Object.assign(Object.assign({borderRadius:Zt},Lt(re)),me(re)),{[`${Se}-item, ${Se}-submenu > ${Se}-submenu-title`]:{borderRadius:mn},[`${Se}-submenu-title::after`]:{transition:`transform ${He} ${rt}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:re.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:re.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:re.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:re.paddingXS}}}),me(re)),{[`&-inline-collapsed ${Se}-submenu-arrow, + &-inline ${Se}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,tt.unit)(jt)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,tt.unit)(re.calc(jt).mul(-1).equal())})`}},[`${Se}-submenu-open${Se}-submenu-inline > ${Se}-submenu-title > ${Se}-submenu-arrow`]:{transform:`translateY(${(0,tt.unit)(re.calc(vn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,tt.unit)(re.calc(jt).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,tt.unit)(jt)})`}}})},{[`${le}-layout-header`]:{[Se]:{lineHeight:"inherit"}}}]},it=re=>{var le,Se,Ge;const{colorPrimary:He,colorError:Le,colorTextDisabled:rt,colorErrorBg:ut,colorText:At,colorTextDescription:Ne,colorBgContainer:Be,colorFillAlter:Ut,colorFillContent:Zt,lineWidth:mn,lineWidthBold:vn,controlItemBgActive:jt,colorBgTextHover:Cn,controlHeightLG:on,lineHeight:Je,colorBgElevated:Tt,marginXXS:an,padding:_t,fontSize:je,controlHeightSM:Pt,fontSizeLG:Kt,colorTextLightSolid:nn,colorErrorHover:On}=re,_n=(le=re.activeBarWidth)!==null&&le!==void 0?le:0,nr=(Se=re.activeBarBorderWidth)!==null&&Se!==void 0?Se:mn,ir=(Ge=re.itemMarginInline)!==null&&Ge!==void 0?Ge:re.marginXXS,Zn=new nt.FastColor(nn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:re.zIndexPopupBase+50,radiusItem:re.borderRadiusLG,itemBorderRadius:re.borderRadiusLG,radiusSubMenuItem:re.borderRadiusSM,subMenuItemBorderRadius:re.borderRadiusSM,colorItemText:At,itemColor:At,colorItemTextHover:At,itemHoverColor:At,colorItemTextHoverHorizontal:He,horizontalItemHoverColor:He,colorGroupTitle:Ne,groupTitleColor:Ne,colorItemTextSelected:He,itemSelectedColor:He,subMenuItemSelectedColor:He,colorItemTextSelectedHorizontal:He,horizontalItemSelectedColor:He,colorItemBg:Be,itemBg:Be,colorItemBgHover:Cn,itemHoverBg:Cn,colorItemBgActive:Zt,itemActiveBg:jt,colorSubItemBg:Ut,subMenuItemBg:Ut,colorItemBgSelected:jt,itemSelectedBg:jt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:_n,colorActiveBarHeight:vn,activeBarHeight:vn,colorActiveBarBorderSize:mn,activeBarBorderWidth:nr,colorItemTextDisabled:rt,itemDisabledColor:rt,colorDangerItemText:Le,dangerItemColor:Le,colorDangerItemTextHover:Le,dangerItemHoverColor:Le,colorDangerItemTextSelected:Le,dangerItemSelectedColor:Le,colorDangerItemBgActive:ut,dangerItemActiveBg:ut,colorDangerItemBgSelected:ut,dangerItemSelectedBg:ut,itemMarginInline:ir,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:on,groupTitleLineHeight:Je,collapsedWidth:on*2,popupBg:Tt,itemMarginBlock:an,itemPaddingInline:_t,horizontalLineHeight:`${on*1.15}px`,iconSize:je,iconMarginInlineEnd:Pt-je,collapsedIconSize:Kt,groupTitleFontSize:je,darkItemDisabledColor:new nt.FastColor(nn).setA(.25).toRgbString(),darkItemColor:Zn,darkDangerItemColor:Le,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:nn,darkItemSelectedBg:He,darkDangerItemSelectedBg:Le,darkItemHoverBg:"transparent",darkGroupTitleColor:Zn,darkItemHoverColor:nn,darkDangerItemHoverColor:On,darkDangerItemSelectedColor:nn,darkDangerItemActiveBg:Le,itemWidth:_n?`calc(100% + ${nr}px)`:`calc(100% - ${ir*2}px)`}};var Xt=function(re){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:re,Se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,De.I$)("Menu",He=>{const{colorBgElevated:Le,controlHeightLG:rt,fontSize:ut,darkItemColor:At,darkDangerItemColor:Ne,darkItemBg:Be,darkSubMenuItemBg:Ut,darkItemSelectedColor:Zt,darkItemSelectedBg:mn,darkDangerItemSelectedBg:vn,darkItemHoverBg:jt,darkGroupTitleColor:Cn,darkItemHoverColor:on,darkItemDisabledColor:Je,darkDangerItemHoverColor:Tt,darkDangerItemSelectedColor:an,darkDangerItemActiveBg:_t,popupBg:je,darkPopupBg:Pt}=He,Kt=He.calc(ut).div(7).mul(5).equal(),nn=(0,ke.mergeToken)(He,{menuArrowSize:Kt,menuHorizontalHeight:He.calc(rt).mul(1.15).equal(),menuArrowOffset:He.calc(Kt).mul(.25).equal(),menuSubMenuBg:Le,calc:He.calc,popupBg:je}),On=(0,ke.mergeToken)(nn,{itemColor:At,itemHoverColor:on,groupTitleColor:Cn,itemSelectedColor:Zt,subMenuItemSelectedColor:Zt,itemBg:Be,popupBg:Pt,subMenuItemBg:Ut,itemActiveBg:"transparent",itemSelectedBg:mn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:jt,itemDisabledColor:Je,dangerItemColor:Ne,dangerItemHoverColor:Tt,dangerItemSelectedColor:an,dangerItemActiveBg:_t,dangerItemSelectedBg:vn,menuSubMenuBg:Ut,horizontalItemSelectedColor:Zt,horizontalItemSelectedBg:mn});return[qe(nn),se(nn),Vt(nn),Ce(nn,"light"),Ce(On,"dark"),_e(nn),(0,Ot.Z)(nn),(0,ht.oN)(nn,"slide-up"),(0,ht.oN)(nn,"slide-down"),(0,Ct._y)(nn,"zoom-big")]},it,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:Se,unitless:{groupTitleLineHeight:!0}})(re,le)},Xe=ee(75030),Fe=re=>{var le;const{popupClassName:Se,icon:Ge,title:He,theme:Le}=re,rt=b.useContext(ot),{prefixCls:ut,inlineCollapsed:At,theme:Ne}=rt,Be=(0,Me.Xl)();let Ut;if(!Ge)Ut=At&&!Be.length&&He&&typeof He=="string"?b.createElement("div",{className:`${ut}-inline-collapsed-noicon`},He.charAt(0)):b.createElement("span",{className:`${ut}-title-content`},He);else{const vn=b.isValidElement(He)&&He.type==="span";Ut=b.createElement(b.Fragment,null,(0,ue.Tm)(Ge,{className:pe()(b.isValidElement(Ge)?(le=Ge.props)===null||le===void 0?void 0:le.className:"",`${ut}-item-icon`)}),vn?He:b.createElement("span",{className:`${ut}-title-content`},He))}const Zt=b.useMemo(()=>Object.assign(Object.assign({},rt),{firstLevel:!1}),[rt]),[mn]=(0,Xe.Cn)("Menu");return b.createElement(ot.Provider,{value:Zt},b.createElement(Me.Wd,Object.assign({},(0,Ve.Z)(re,["icon"]),{title:Ut,popupClassName:pe()(ut,Se,`${ut}-${Le||Ne}`),popupStyle:Object.assign({zIndex:mn},re.popupStyle)})))},dn=function(re,le){var Se={};for(var Ge in re)Object.prototype.hasOwnProperty.call(re,Ge)&&le.indexOf(Ge)<0&&(Se[Ge]=re[Ge]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Ge=Object.getOwnPropertySymbols(re);He{var Se;const Ge=b.useContext(Ae.Z),He=Ge||{},{getPrefixCls:Le,getPopupContainer:rt,direction:ut,menu:At}=b.useContext($e.E_),Ne=Le(),{prefixCls:Be,className:Ut,style:Zt,theme:mn="light",expandIcon:vn,_internalDisableMenuItemTitleTooltip:jt,inlineCollapsed:Cn,siderCollapsed:on,rootClassName:Je,mode:Tt,selectable:an,onClick:_t,overflowedIndicatorPopupClassName:je}=re,Pt=dn(re,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Kt=(0,Ve.Z)(Pt,["collapsedWidth"]);(Se=He.validator)===null||Se===void 0||Se.call(He,{mode:Tt});const nn=(0,be.Z)(function(){var Pn;_t==null||_t.apply(void 0,arguments),(Pn=He.onClick)===null||Pn===void 0||Pn.call(He)}),On=He.mode||Tt,_n=an!=null?an:He.selectable,nr=Cn!=null?Cn:on,ir={horizontal:{motionName:`${Ne}-slide-up`},inline:(0,Ie.Z)(Ne),other:{motionName:`${Ne}-zoom-big`}},Zn=Le("menu",Be||He.prefixCls),er=(0,Ee.Z)(Zn),[kn,cn,bn]=Xt(Zn,er,!Ge),St=pe()(`${Zn}-${mn}`,At==null?void 0:At.className,Ut),Et=b.useMemo(()=>{var Pn,Tn;if(typeof vn=="function"||$t(vn))return vn||null;if(typeof He.expandIcon=="function"||$t(He.expandIcon))return He.expandIcon||null;if(typeof(At==null?void 0:At.expandIcon)=="function"||$t(At==null?void 0:At.expandIcon))return(At==null?void 0:At.expandIcon)||null;const Jt=(Pn=vn!=null?vn:He==null?void 0:He.expandIcon)!==null&&Pn!==void 0?Pn:At==null?void 0:At.expandIcon;return(0,ue.Tm)(Jt,{className:pe()(`${Zn}-submenu-expand-icon`,b.isValidElement(Jt)?(Tn=Jt.props)===null||Tn===void 0?void 0:Tn.className:void 0)})},[vn,He==null?void 0:He.expandIcon,At==null?void 0:At.expandIcon,Zn]),sn=b.useMemo(()=>({prefixCls:Zn,inlineCollapsed:nr||!1,direction:ut,firstLevel:!0,theme:mn,mode:On,disableMenuItemTitleTooltip:jt}),[Zn,nr,ut,jt,mn]);return kn(b.createElement(Ae.Z.Provider,{value:null},b.createElement(ot.Provider,{value:sn},b.createElement(Me.ZP,Object.assign({getPopupContainer:rt,overflowedIndicator:b.createElement(et.Z,null),overflowedIndicatorPopupClassName:pe()(Zn,`${Zn}-${mn}`,je),mode:On,selectable:_n,onClick:nn},Kt,{inlineCollapsed:nr,style:Object.assign(Object.assign({},At==null?void 0:At.style),Zt),className:St,prefixCls:Zn,direction:ut,defaultMotions:ir,expandIcon:Et,ref:le,rootClassName:pe()(Je,cn,He.rootClassName,bn,er),_internalComponents:ae})))))});const ie=(0,b.forwardRef)((re,le)=>{const Se=(0,b.useRef)(null),Ge=b.useContext(ce.D);return(0,b.useImperativeHandle)(le,()=>({menu:Se.current,focus:He=>{var Le;(Le=Se.current)===null||Le===void 0||Le.focus(He)}})),b.createElement(te,Object.assign({ref:Se},re,Ge))});ie.Item=Qe,ie.SubMenu=Fe,ie.Divider=Re,ie.ItemGroup=Me.BW;var de=ie},31709:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return At}});var b=ee(59301),Me=ee(60499),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},et=ce,Pe=ee(7657),pe=function(Be,Ut){return b.createElement(Pe.Z,(0,Me.Z)({},Be,{ref:Ut,icon:et}))},be=b.forwardRef(pe),Ve=be,Ie=ee(49198),ue=ee(33853),$e=ee(38819),Ee=ee(92310),Rt=ee.n(Ee),ot=ee(18642),st=ee(43749),Ue=ee(85899),Re=ee(72190),ft=ee(18929),kt=ee(10228),en=ee(26112),Qe=ee(48736),Ae=ee(17119),tt=[10,20,50,100],nt=function(Be){var Ut=Be.pageSizeOptions,Zt=Ut===void 0?tt:Ut,mn=Be.locale,vn=Be.changeSize,jt=Be.pageSize,Cn=Be.goButton,on=Be.quickGo,Je=Be.rootPrefixCls,Tt=Be.disabled,an=Be.buildOptionText,_t=Be.showSizeChanger,je=Be.sizeChangerRender,Pt=b.useState(""),Kt=(0,Re.Z)(Pt,2),nn=Kt[0],On=Kt[1],_n=function(){return!nn||Number.isNaN(nn)?void 0:Number(nn)},nr=typeof an=="function"?an:function(sn){return"".concat(sn," ").concat(mn.items_per_page)},ir=function(Pn){On(Pn.target.value)},Zn=function(Pn){Cn||nn===""||(On(""),!(Pn.relatedTarget&&(Pn.relatedTarget.className.indexOf("".concat(Je,"-item-link"))>=0||Pn.relatedTarget.className.indexOf("".concat(Je,"-item"))>=0))&&(on==null||on(_n())))},er=function(Pn){nn!==""&&(Pn.keyCode===kt.Z.ENTER||Pn.type==="click")&&(On(""),on==null||on(_n()))},kn=function(){return Zt.some(function(Pn){return Pn.toString()===jt.toString()})?Zt:Zt.concat([jt]).sort(function(Pn,Tn){var Jt=Number.isNaN(Number(Pn))?0:Number(Pn),wn=Number.isNaN(Number(Tn))?0:Number(Tn);return Jt-wn})},cn="".concat(Je,"-options");if(!_t&&!on)return null;var bn=null,St=null,Et=null;return _t&&je&&(bn=je({disabled:Tt,size:jt,onSizeChange:function(Pn){vn==null||vn(Number(Pn))},"aria-label":mn.page_size,className:"".concat(cn,"-size-changer"),options:kn().map(function(sn){return{label:nr(sn),value:sn}})})),on&&(Cn&&(Et=typeof Cn=="boolean"?b.createElement("button",{type:"button",onClick:er,onKeyUp:er,disabled:Tt,className:"".concat(cn,"-quick-jumper-button")},mn.jump_to_confirm):b.createElement("span",{onClick:er,onKeyUp:er},Cn)),St=b.createElement("div",{className:"".concat(cn,"-quick-jumper")},mn.jump_to,b.createElement("input",{disabled:Tt,type:"text",value:nn,onChange:ir,onKeyUp:er,onBlur:Zn,"aria-label":mn.page}),mn.page,Et)),b.createElement("li",{className:cn},bn,St)},zt=nt,Ot=function(Be){var Ut=Be.rootPrefixCls,Zt=Be.page,mn=Be.active,vn=Be.className,jt=Be.showTitle,Cn=Be.onClick,on=Be.onKeyPress,Je=Be.itemRender,Tt="".concat(Ut,"-item"),an=Rt()(Tt,"".concat(Tt,"-").concat(Zt),(0,ot.Z)((0,ot.Z)({},"".concat(Tt,"-active"),mn),"".concat(Tt,"-disabled"),!Zt),vn),_t=function(){Cn(Zt)},je=function(nn){on(nn,Cn,Zt)},Pt=Je(Zt,"page",b.createElement("a",{rel:"nofollow"},Zt));return Pt?b.createElement("li",{title:jt?String(Zt):null,className:an,onClick:_t,onKeyDown:je,tabIndex:0},Pt):null},ht=Ot,Ct=function(Be,Ut,Zt){return Zt};function De(){}function ke(Ne){var Be=Number(Ne);return typeof Be=="number"&&!Number.isNaN(Be)&&isFinite(Be)&&Math.floor(Be)===Be}function xe(Ne,Be,Ut){var Zt=typeof Ne=="undefined"?Be:Ne;return Math.floor((Ut-1)/Zt)+1}var se=function(Be){var Ut=Be.prefixCls,Zt=Ut===void 0?"rc-pagination":Ut,mn=Be.selectPrefixCls,vn=mn===void 0?"rc-select":mn,jt=Be.className,Cn=Be.current,on=Be.defaultCurrent,Je=on===void 0?1:on,Tt=Be.total,an=Tt===void 0?0:Tt,_t=Be.pageSize,je=Be.defaultPageSize,Pt=je===void 0?10:je,Kt=Be.onChange,nn=Kt===void 0?De:Kt,On=Be.hideOnSinglePage,_n=Be.align,nr=Be.showPrevNextJumpers,ir=nr===void 0?!0:nr,Zn=Be.showQuickJumper,er=Be.showLessItems,kn=Be.showTitle,cn=kn===void 0?!0:kn,bn=Be.onShowSizeChange,St=bn===void 0?De:bn,Et=Be.locale,sn=Et===void 0?Ae.Z:Et,Pn=Be.style,Tn=Be.totalBoundaryShowSizeChanger,Jt=Tn===void 0?50:Tn,wn=Be.disabled,gn=Be.simple,Nn=Be.showTotal,An=Be.showSizeChanger,rr=An===void 0?an>Jt:An,Qt=Be.sizeChangerRender,Yt=Be.pageSizeOptions,xn=Be.itemRender,Vn=xn===void 0?Ct:xn,jn=Be.jumpPrevIcon,vt=Be.jumpNextIcon,Dt=Be.prevIcon,Te=Be.nextIcon,gt=b.useRef(null),Ke=(0,ft.Z)(10,{value:_t,defaultValue:Pt}),wt=(0,Re.Z)(Ke,2),Ht=wt[0],Hn=wt[1],Jn=(0,ft.Z)(1,{value:Cn,defaultValue:Je,postState:function(Vr){return Math.max(1,Math.min(Vr,xe(void 0,Ht,an)))}}),lt=(0,Re.Z)(Jn,2),mt=lt[0],pt=lt[1],xt=b.useState(mt),fn=(0,Re.Z)(xt,2),In=fn[0],pn=fn[1];(0,b.useEffect)(function(){pn(mt)},[mt]);var Sn=nn!==De,$n="current"in Be,qn=Math.max(1,mt-(er?3:5)),ur=Math.min(xe(void 0,Ht,an),mt+(er?3:5));function tr(Qr,Vr){var _o=Qr||b.createElement("button",{type:"button","aria-label":Vr,className:"".concat(Zt,"-item-link")});return typeof Qr=="function"&&(_o=b.createElement(Qr,(0,Ue.Z)({},Be))),_o}function Xn(Qr){var Vr=Qr.target.value,_o=xe(void 0,Ht,an),Uo;return Vr===""?Uo=Vr:Number.isNaN(Number(Vr))?Uo=In:Vr>=_o?Uo=_o:Uo=Number(Vr),Uo}function or(Qr){return ke(Qr)&&Qr!==mt&&ke(an)&&an>0}var dr=an>Ht?Zn:!1;function br(Qr){(Qr.keyCode===kt.Z.UP||Qr.keyCode===kt.Z.DOWN)&&Qr.preventDefault()}function vr(Qr){var Vr=Xn(Qr);switch(Vr!==In&&pn(Vr),Qr.keyCode){case kt.Z.ENTER:cr(Vr);break;case kt.Z.UP:cr(Vr-1);break;case kt.Z.DOWN:cr(Vr+1);break;default:break}}function Tr(Qr){cr(Xn(Qr))}function Br(Qr){var Vr=xe(Qr,Ht,an),_o=mt>Vr&&Vr!==0?Vr:mt;Hn(Qr),pn(_o),St==null||St(mt,Qr),pt(_o),nn==null||nn(_o,Qr)}function cr(Qr){if(or(Qr)&&!wn){var Vr=xe(void 0,Ht,an),_o=Qr;return Qr>Vr?_o=Vr:Qr<1&&(_o=1),_o!==In&&pn(_o),pt(_o),nn==null||nn(_o,Ht),_o}return mt}var Er=mt>1,Wr=mt2?_o-2:0),ni=2;ni<_o;ni++)Uo[ni-2]=arguments[ni];Vr.apply(void 0,Uo)}}function gr(Qr){wr(Qr,Rr)}function yr(Qr){wr(Qr,Sr)}function Xr(Qr){wr(Qr,Fr)}function go(Qr){wr(Qr,$r)}function So(Qr){var Vr=Vn(Qr,"prev",tr(Dt,"prev page"));return b.isValidElement(Vr)?b.cloneElement(Vr,{disabled:!Er}):Vr}function to(Qr){var Vr=Vn(Qr,"next",tr(Te,"next page"));return b.isValidElement(Vr)?b.cloneElement(Vr,{disabled:!Wr}):Vr}function io(Qr){(Qr.type==="click"||Qr.keyCode===kt.Z.ENTER)&&cr(In)}var Oe=null,We=(0,en.Z)(Be,{aria:!0,data:!0}),bt=Nn&&b.createElement("li",{className:"".concat(Zt,"-total-text")},Nn(an,[an===0?0:(mt-1)*Ht+1,mt*Ht>an?an:mt*Ht])),Ze=null,dt=xe(void 0,Ht,an);if(On&&an<=Ht)return null;var at=[],Mt={rootPrefixCls:Zt,onClick:cr,onKeyPress:wr,showTitle:cn,itemRender:Vn,page:-1},Bt=mt-1>0?mt-1:0,Wt=mt+1=Gn*2&&mt!==3&&(at[0]=b.cloneElement(at[0],{className:Rt()("".concat(Zt,"-item-after-jump-prev"),at[0].props.className)}),at.unshift(Oe)),dt-mt>=Gn*2&&mt!==dt-2){var Dr=at[at.length-1];at[at.length-1]=b.cloneElement(Dr,{className:Rt()("".concat(Zt,"-item-before-jump-next"),Dr.props.className)}),at.push(Ze)}xr!==1&&at.unshift(b.createElement(ht,(0,Me.Z)({},Mt,{key:1,page:1}))),Gr!==dt&&at.push(b.createElement(ht,(0,Me.Z)({},Mt,{key:dt,page:dt})))}var Ar=So(Bt);if(Ar){var _r=!Er||!dt;Ar=b.createElement("li",{title:cn?sn.prev_page:null,onClick:Rr,tabIndex:_r?null:0,onKeyDown:gr,className:Rt()("".concat(Zt,"-prev"),(0,ot.Z)({},"".concat(Zt,"-disabled"),_r)),"aria-disabled":_r},Ar)}var fo=to(Wt);if(fo){var ko,Io;gn?(ko=!Wr,Io=Er?0:null):(ko=!Wr||!dt,Io=ko?null:0),fo=b.createElement("li",{title:cn?sn.next_page:null,onClick:Sr,tabIndex:Io,onKeyDown:yr,className:Rt()("".concat(Zt,"-next"),(0,ot.Z)({},"".concat(Zt,"-disabled"),ko)),"aria-disabled":ko},fo)}var Vo=Rt()(Zt,jt,(0,ot.Z)((0,ot.Z)((0,ot.Z)((0,ot.Z)((0,ot.Z)({},"".concat(Zt,"-start"),_n==="start"),"".concat(Zt,"-center"),_n==="center"),"".concat(Zt,"-end"),_n==="end"),"".concat(Zt,"-simple"),gn),"".concat(Zt,"-disabled"),wn));return b.createElement("ul",(0,Me.Z)({className:Vo,style:Pn,ref:gt},We),bt,Ar,gn?Ln:at,fo,b.createElement(zt,{locale:sn,rootPrefixCls:Zt,disabled:wn,selectPrefixCls:vn,changeSize:Br,pageSize:Ht,pageSizeOptions:Yt,quickGo:dr?cr:null,goButton:hn,showSizeChanger:rr,sizeChangerRender:Qt}))},It=se,_e=ee(61852),Ye=ee(48755),Ft=ee(31756),Ce=ee(13783),he=ee(9017),yt=ee(82326),Vt=ee(57700),Lt=ee(36237),me=ee(53075),qe=ee(64910),it=ee(39082),Xt=ee(63356),Xe=ee(51636),Gt=ee(16931);const Fe=Ne=>{const{componentCls:Be}=Ne;return{[`${Be}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Be}-item-link`]:{color:Ne.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Be}-item-link`]:{color:Ne.colorTextDisabled,cursor:"not-allowed"}}},[`&${Be}-disabled`]:{cursor:"not-allowed",[`${Be}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ne.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ne.colorBorder,backgroundColor:Ne.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ne.itemActiveBgDisabled},a:{color:Ne.itemActiveColorDisabled}}},[`${Be}-item-link`]:{color:Ne.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Be}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Be}-simple-pager`]:{color:Ne.colorTextDisabled},[`${Be}-jump-prev, ${Be}-jump-next`]:{[`${Be}-item-link-icon`]:{opacity:0},[`${Be}-item-ellipsis`]:{opacity:1}}},[`&${Be}-simple`]:{[`${Be}-prev, ${Be}-next`]:{[`&${Be}-disabled ${Be}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},dn=Ne=>{const{componentCls:Be}=Ne;return{[`&${Be}-mini ${Be}-total-text, &${Be}-mini ${Be}-simple-pager`]:{height:Ne.itemSizeSM,lineHeight:(0,Lt.unit)(Ne.itemSizeSM)},[`&${Be}-mini ${Be}-item`]:{minWidth:Ne.itemSizeSM,height:Ne.itemSizeSM,margin:0,lineHeight:(0,Lt.unit)(Ne.calc(Ne.itemSizeSM).sub(2).equal())},[`&${Be}-mini ${Be}-prev, &${Be}-mini ${Be}-next`]:{minWidth:Ne.itemSizeSM,height:Ne.itemSizeSM,margin:0,lineHeight:(0,Lt.unit)(Ne.itemSizeSM)},[`&${Be}-mini:not(${Be}-disabled)`]:{[`${Be}-prev, ${Be}-next`]:{[`&:hover ${Be}-item-link`]:{backgroundColor:Ne.colorBgTextHover},[`&:active ${Be}-item-link`]:{backgroundColor:Ne.colorBgTextActive},[`&${Be}-disabled:hover ${Be}-item-link`]:{backgroundColor:"transparent"}}},[` + &${Be}-mini ${Be}-prev ${Be}-item-link, + &${Be}-mini ${Be}-next ${Be}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ne.itemSizeSM,lineHeight:(0,Lt.unit)(Ne.itemSizeSM)}},[`&${Be}-mini ${Be}-jump-prev, &${Be}-mini ${Be}-jump-next`]:{height:Ne.itemSizeSM,marginInlineEnd:0,lineHeight:(0,Lt.unit)(Ne.itemSizeSM)},[`&${Be}-mini ${Be}-options`]:{marginInlineStart:Ne.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ne.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ne.itemSizeSM,lineHeight:(0,Lt.unit)(Ne.itemSizeSM),input:Object.assign(Object.assign({},(0,me.x0)(Ne)),{width:Ne.paginationMiniQuickJumperInputWidth,height:Ne.controlHeightSM})}}}},$t=Ne=>{const{componentCls:Be}=Ne;return{[` + &${Be}-simple ${Be}-prev, + &${Be}-simple ${Be}-next + `]:{height:Ne.itemSizeSM,lineHeight:(0,Lt.unit)(Ne.itemSizeSM),verticalAlign:"top",[`${Be}-item-link`]:{height:Ne.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ne.colorBgTextHover},"&:active":{backgroundColor:Ne.colorBgTextActive},"&::after":{height:Ne.itemSizeSM,lineHeight:(0,Lt.unit)(Ne.itemSizeSM)}}},[`&${Be}-simple ${Be}-simple-pager`]:{display:"inline-block",height:Ne.itemSizeSM,marginInlineEnd:Ne.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,Lt.unit)(Ne.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:Ne.itemInputBg,border:`${(0,Lt.unit)(Ne.lineWidth)} ${Ne.lineType} ${Ne.colorBorder}`,borderRadius:Ne.borderRadius,outline:"none",transition:`border-color ${Ne.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ne.colorPrimary},"&:focus":{borderColor:Ne.colorPrimaryHover,boxShadow:`${(0,Lt.unit)(Ne.inputOutlineOffset)} 0 ${(0,Lt.unit)(Ne.controlOutlineWidth)} ${Ne.controlOutline}`},"&[disabled]":{color:Ne.colorTextDisabled,backgroundColor:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,cursor:"not-allowed"}}}}},ae=Ne=>{const{componentCls:Be}=Ne;return{[`${Be}-jump-prev, ${Be}-jump-next`]:{outline:0,[`${Be}-item-container`]:{position:"relative",[`${Be}-item-link-icon`]:{color:Ne.colorPrimary,fontSize:Ne.fontSizeSM,opacity:0,transition:`all ${Ne.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Be}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ne.colorTextDisabled,letterSpacing:Ne.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ne.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ne.motionDurationMid}`}},"&:hover":{[`${Be}-item-link-icon`]:{opacity:1},[`${Be}-item-ellipsis`]:{opacity:0}}},[` + ${Be}-prev, + ${Be}-jump-prev, + ${Be}-jump-next + `]:{marginInlineEnd:Ne.marginXS},[` + ${Be}-prev, + ${Be}-next, + ${Be}-jump-prev, + ${Be}-jump-next + `]:{display:"inline-block",minWidth:Ne.itemSize,height:Ne.itemSize,color:Ne.colorText,fontFamily:Ne.fontFamily,lineHeight:(0,Lt.unit)(Ne.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ne.borderRadius,cursor:"pointer",transition:`all ${Ne.motionDurationMid}`},[`${Be}-prev, ${Be}-next`]:{outline:0,button:{color:Ne.colorText,cursor:"pointer",userSelect:"none"},[`${Be}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ne.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,Lt.unit)(Ne.lineWidth)} ${Ne.lineType} transparent`,borderRadius:Ne.borderRadius,outline:"none",transition:`all ${Ne.motionDurationMid}`},[`&:hover ${Be}-item-link`]:{backgroundColor:Ne.colorBgTextHover},[`&:active ${Be}-item-link`]:{backgroundColor:Ne.colorBgTextActive},[`&${Be}-disabled:hover`]:{[`${Be}-item-link`]:{backgroundColor:"transparent"}}},[`${Be}-slash`]:{marginInlineEnd:Ne.paginationSlashMarginInlineEnd,marginInlineStart:Ne.paginationSlashMarginInlineStart},[`${Be}-options`]:{display:"inline-block",marginInlineStart:Ne.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ne.controlHeight,marginInlineStart:Ne.marginXS,lineHeight:(0,Lt.unit)(Ne.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,me.ik)(Ne)),(0,it.$U)(Ne,{borderColor:Ne.colorBorder,hoverBorderColor:Ne.colorPrimaryHover,activeBorderColor:Ne.colorPrimary,activeShadow:Ne.activeShadow})),{"&[disabled]":Object.assign({},(0,it.Xy)(Ne)),width:Ne.calc(Ne.controlHeightLG).mul(1.25).equal(),height:Ne.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ne.marginXS,marginInlineEnd:Ne.marginXS})}}}},ne=Ne=>{const{componentCls:Be}=Ne;return{[`${Be}-item`]:{display:"inline-block",minWidth:Ne.itemSize,height:Ne.itemSize,marginInlineEnd:Ne.marginXS,fontFamily:Ne.fontFamily,lineHeight:(0,Lt.unit)(Ne.calc(Ne.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:Ne.itemBg,border:`${(0,Lt.unit)(Ne.lineWidth)} ${Ne.lineType} transparent`,borderRadius:Ne.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,Lt.unit)(Ne.paginationItemPaddingInline)}`,color:Ne.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Be}-item-active)`]:{"&:hover":{transition:`all ${Ne.motionDurationMid}`,backgroundColor:Ne.colorBgTextHover},"&:active":{backgroundColor:Ne.colorBgTextActive}},"&-active":{fontWeight:Ne.fontWeightStrong,backgroundColor:Ne.itemActiveBg,borderColor:Ne.colorPrimary,a:{color:Ne.colorPrimary},"&:hover":{borderColor:Ne.colorPrimaryHover},"&:hover a":{color:Ne.colorPrimaryHover}}}}},te=Ne=>{const{componentCls:Be}=Ne;return{[Be]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xt.Wf)(Ne)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Be}-total-text`]:{display:"inline-block",height:Ne.itemSize,marginInlineEnd:Ne.marginXS,lineHeight:(0,Lt.unit)(Ne.calc(Ne.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ne(Ne)),ae(Ne)),$t(Ne)),dn(Ne)),Fe(Ne)),{[`@media only screen and (max-width: ${Ne.screenLG}px)`]:{[`${Be}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ne.screenSM}px)`]:{[`${Be}-options`]:{display:"none"}}}),[`&${Ne.componentCls}-rtl`]:{direction:"rtl"}}},ie=Ne=>{const{componentCls:Be}=Ne;return{[`${Be}:not(${Be}-disabled)`]:{[`${Be}-item`]:Object.assign({},(0,Xt.Qy)(Ne)),[`${Be}-jump-prev, ${Be}-jump-next`]:{"&:focus-visible":Object.assign({[`${Be}-item-link-icon`]:{opacity:1},[`${Be}-item-ellipsis`]:{opacity:0}},(0,Xt.oN)(Ne))},[`${Be}-prev, ${Be}-next`]:{[`&:focus-visible ${Be}-item-link`]:Object.assign({},(0,Xt.oN)(Ne))}}}},de=Ne=>Object.assign({itemBg:Ne.colorBgContainer,itemSize:Ne.controlHeight,itemSizeSM:Ne.controlHeightSM,itemActiveBg:Ne.colorBgContainer,itemLinkBg:Ne.colorBgContainer,itemActiveColorDisabled:Ne.colorTextDisabled,itemActiveBgDisabled:Ne.controlItemBgActiveDisabled,itemInputBg:Ne.colorBgContainer,miniOptionsSizeChangerTop:0},(0,qe.T)(Ne)),re=Ne=>(0,Xe.mergeToken)(Ne,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ne.calc(Ne.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:Ne.calc(Ne.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:Ne.calc(Ne.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:Ne.calc(Ne.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:Ne.marginSM,paginationSlashMarginInlineEnd:Ne.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,qe.e)(Ne));var le=(0,Gt.I$)("Pagination",Ne=>{const Be=re(Ne);return[te(Be),ie(Be)]},de);const Se=Ne=>{const{componentCls:Be}=Ne;return{[`${Be}${Be}-bordered${Be}-disabled:not(${Be}-mini)`]:{"&, &:hover":{[`${Be}-item-link`]:{borderColor:Ne.colorBorder}},"&:focus-visible":{[`${Be}-item-link`]:{borderColor:Ne.colorBorder}},[`${Be}-item, ${Be}-item-link`]:{backgroundColor:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,[`&:hover:not(${Be}-item-active)`]:{backgroundColor:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,a:{color:Ne.colorTextDisabled}},[`&${Be}-item-active`]:{backgroundColor:Ne.itemActiveBgDisabled}},[`${Be}-prev, ${Be}-next`]:{"&:hover button":{backgroundColor:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder,color:Ne.colorTextDisabled},[`${Be}-item-link`]:{backgroundColor:Ne.colorBgContainerDisabled,borderColor:Ne.colorBorder}}},[`${Be}${Be}-bordered:not(${Be}-mini)`]:{[`${Be}-prev, ${Be}-next`]:{"&:hover button":{borderColor:Ne.colorPrimaryHover,backgroundColor:Ne.itemBg},[`${Be}-item-link`]:{backgroundColor:Ne.itemLinkBg,borderColor:Ne.colorBorder},[`&:hover ${Be}-item-link`]:{borderColor:Ne.colorPrimary,backgroundColor:Ne.itemBg,color:Ne.colorPrimary},[`&${Be}-disabled`]:{[`${Be}-item-link`]:{borderColor:Ne.colorBorder,color:Ne.colorTextDisabled}}},[`${Be}-item`]:{backgroundColor:Ne.itemBg,border:`${(0,Lt.unit)(Ne.lineWidth)} ${Ne.lineType} ${Ne.colorBorder}`,[`&:hover:not(${Be}-item-active)`]:{borderColor:Ne.colorPrimary,backgroundColor:Ne.itemBg,a:{color:Ne.colorPrimary}},"&-active":{borderColor:Ne.colorPrimary}}}}};var Ge=(0,Gt.bk)(["Pagination","bordered"],Ne=>{const Be=re(Ne);return[Se(Be)]},de);function He(Ne){return(0,b.useMemo)(()=>typeof Ne=="boolean"?[Ne,{}]:Ne&&typeof Ne=="object"?[!0,Ne]:[void 0,void 0],[Ne])}var Le=function(Ne,Be){var Ut={};for(var Zt in Ne)Object.prototype.hasOwnProperty.call(Ne,Zt)&&Be.indexOf(Zt)<0&&(Ut[Zt]=Ne[Zt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mn=0,Zt=Object.getOwnPropertySymbols(Ne);mn{const{align:Be,prefixCls:Ut,selectPrefixCls:Zt,className:mn,rootClassName:vn,style:jt,size:Cn,locale:on,responsive:Je,showSizeChanger:Tt,selectComponentClass:an,pageSizeOptions:_t}=Ne,je=Le(Ne,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Pt}=(0,Ce.Z)(Je),[,Kt]=(0,Vt.ZP)(),{getPrefixCls:nn,direction:On,showSizeChanger:_n,className:nr,style:ir}=(0,Ye.dj)("pagination"),Zn=nn("pagination",Ut),[er,kn,cn]=le(Zn),bn=(0,Ft.Z)(Cn),St=bn==="small"||!!(Pt&&!bn&&Je),[Et]=(0,he.Z)("Pagination",_e.Z),sn=Object.assign(Object.assign({},Et),on),[Pn,Tn]=He(Tt),[Jt,wn]=He(_n),gn=Pn!=null?Pn:Jt,Nn=Tn!=null?Tn:wn,An=an||yt.default,rr=b.useMemo(()=>_t?_t.map(vt=>Number(vt)):void 0,[_t]),Qt=vt=>{var Dt;const{disabled:Te,size:gt,onSizeChange:Ke,"aria-label":wt,className:Ht,options:Hn}=vt,{className:Jn,onChange:lt}=Nn||{},mt=(Dt=Hn.find(pt=>String(pt.value)===String(gt)))===null||Dt===void 0?void 0:Dt.value;return b.createElement(An,Object.assign({disabled:Te,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:pt=>pt.parentNode,"aria-label":wt,options:Hn},Nn,{value:mt,onChange:(pt,xt)=>{Ke==null||Ke(pt),lt==null||lt(pt,xt)},size:St?"small":"middle",className:Rt()(Ht,Jn)}))},Yt=b.useMemo(()=>{const vt=b.createElement("span",{className:`${Zn}-item-ellipsis`},"\u2022\u2022\u2022"),Dt=b.createElement("button",{className:`${Zn}-item-link`,type:"button",tabIndex:-1},On==="rtl"?b.createElement($e.Z,null):b.createElement(ue.Z,null)),Te=b.createElement("button",{className:`${Zn}-item-link`,type:"button",tabIndex:-1},On==="rtl"?b.createElement(ue.Z,null):b.createElement($e.Z,null)),gt=b.createElement("a",{className:`${Zn}-item-link`},b.createElement("div",{className:`${Zn}-item-container`},On==="rtl"?b.createElement(Ie.Z,{className:`${Zn}-item-link-icon`}):b.createElement(Ve,{className:`${Zn}-item-link-icon`}),vt)),Ke=b.createElement("a",{className:`${Zn}-item-link`},b.createElement("div",{className:`${Zn}-item-container`},On==="rtl"?b.createElement(Ve,{className:`${Zn}-item-link-icon`}):b.createElement(Ie.Z,{className:`${Zn}-item-link-icon`}),vt));return{prevIcon:Dt,nextIcon:Te,jumpPrevIcon:gt,jumpNextIcon:Ke}},[On,Zn]),xn=nn("select",Zt),Vn=Rt()({[`${Zn}-${Be}`]:!!Be,[`${Zn}-mini`]:St,[`${Zn}-rtl`]:On==="rtl",[`${Zn}-bordered`]:Kt.wireframe},nr,mn,vn,kn,cn),jn=Object.assign(Object.assign({},ir),jt);return er(b.createElement(b.Fragment,null,Kt.wireframe&&b.createElement(Ge,{prefixCls:Zn}),b.createElement(It,Object.assign({},Yt,je,{style:jn,prefixCls:Zn,selectPrefixCls:xn,className:Vn,locale:sn,pageSizeOptions:rr,showSizeChanger:gn,sizeChangerRender:Qt}))))},At=ut},89787:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return on}});var b=ee(59301),Me=ee(17835),ce=ee(29679),et=ee(40001),Pe=ee(19248),pe=ee(99267),be=ee(92310),Ve=ee.n(be),Ie=ee(2738),ue=ee(48755),$e=ee(60499),Ee=ee(85899),Rt=ee(42244),ot={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},st=function(){var Tt=(0,b.useRef)([]),an=(0,b.useRef)(null);return(0,b.useEffect)(function(){var _t=Date.now(),je=!1;Tt.current.forEach(function(Pt){if(Pt){je=!0;var Kt=Pt.style;Kt.transitionDuration=".3s, .3s, .3s, .06s",an.current&&_t-an.current<100&&(Kt.transitionDuration="0s, 0s")}}),je&&(an.current=Date.now())}),Tt.current},Ue=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Re=function(Tt){var an=(0,Ee.Z)((0,Ee.Z)({},ot),Tt),_t=an.className,je=an.percent,Pt=an.prefixCls,Kt=an.strokeColor,nn=an.strokeLinecap,On=an.strokeWidth,_n=an.style,nr=an.trailColor,ir=an.trailWidth,Zn=an.transition,er=(0,Rt.Z)(an,Ue);delete er.gapPosition;var kn=Array.isArray(je)?je:[je],cn=Array.isArray(Kt)?Kt:[Kt],bn=st(),St=On/2,Et=100-On/2,sn="M ".concat(nn==="round"?St:0,",").concat(St,` + L `).concat(nn==="round"?Et:100,",").concat(St),Pn="0 0 100 ".concat(On),Tn=0;return b.createElement("svg",(0,$e.Z)({className:Ve()("".concat(Pt,"-line"),_t),viewBox:Pn,preserveAspectRatio:"none",style:_n},er),b.createElement("path",{className:"".concat(Pt,"-line-trail"),d:sn,strokeLinecap:nn,stroke:nr,strokeWidth:ir||On,fillOpacity:"0"}),kn.map(function(Jt,wn){var gn=1;switch(nn){case"round":gn=1-On/100;break;case"square":gn=1-On/2/100;break;default:gn=1;break}var Nn={strokeDasharray:"".concat(Jt*gn,"px, 100px"),strokeDashoffset:"-".concat(Tn,"px"),transition:Zn||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},An=cn[wn]||cn[cn.length-1];return Tn+=Jt,b.createElement("path",{key:wn,className:"".concat(Pt,"-line-path"),d:sn,strokeLinecap:nn,stroke:An,strokeWidth:On,fillOpacity:"0",ref:function(Qt){bn[wn]=Qt},style:Nn})}))},ft=Re,kt=ee(43749),en=ee(72190),Qe=ee(47273),Ae=0,tt=(0,Qe.Z)();function nt(){var Je;return tt?(Je=Ae,Ae+=1):Je="TEST_OR_SSR",Je}var zt=function(Je){var Tt=b.useState(),an=(0,en.Z)(Tt,2),_t=an[0],je=an[1];return b.useEffect(function(){je("rc_progress_".concat(nt()))},[]),Je||_t},Ot=function(Tt){var an=Tt.bg,_t=Tt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:an}},_t)};function ht(Je,Tt){return Object.keys(Je).map(function(an){var _t=parseFloat(an),je="".concat(Math.floor(_t*Tt),"%");return"".concat(Je[an]," ").concat(je)})}var Ct=b.forwardRef(function(Je,Tt){var an=Je.prefixCls,_t=Je.color,je=Je.gradientId,Pt=Je.radius,Kt=Je.style,nn=Je.ptg,On=Je.strokeLinecap,_n=Je.strokeWidth,nr=Je.size,ir=Je.gapDegree,Zn=_t&&(0,kt.Z)(_t)==="object",er=Zn?"#FFF":void 0,kn=nr/2,cn=b.createElement("circle",{className:"".concat(an,"-circle-path"),r:Pt,cx:kn,cy:kn,stroke:er,strokeLinecap:On,strokeWidth:_n,opacity:nn===0?0:1,style:Kt,ref:Tt});if(!Zn)return cn;var bn="".concat(je,"-conic"),St=ir?"".concat(180+ir/2,"deg"):"0deg",Et=ht(_t,(360-ir)/360),sn=ht(_t,1),Pn="conic-gradient(from ".concat(St,", ").concat(Et.join(", "),")"),Tn="linear-gradient(to ".concat(ir?"bottom":"top",", ").concat(sn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:bn},cn),b.createElement("foreignObject",{x:0,y:0,width:nr,height:nr,mask:"url(#".concat(bn,")")},b.createElement(Ot,{bg:Tn},b.createElement(Ot,{bg:Pn}))))}),De=Ct,ke=100,xe=function(Tt,an,_t,je,Pt,Kt,nn,On,_n,nr){var ir=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Zn=_t/100*360*((360-Kt)/360),er=Kt===0?0:{bottom:0,top:180,left:90,right:-90}[nn],kn=(100-je)/100*an;_n==="round"&&je!==100&&(kn+=nr/2,kn>=an&&(kn=an-.01));var cn=ke/2;return{stroke:typeof On=="string"?On:void 0,strokeDasharray:"".concat(an,"px ").concat(Tt),strokeDashoffset:kn+ir,transform:"rotate(".concat(Pt+Zn+er,"deg)"),transformOrigin:"".concat(cn,"px ").concat(cn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},se=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function It(Je){var Tt=Je!=null?Je:[];return Array.isArray(Tt)?Tt:[Tt]}var _e=function(Tt){var an=(0,Ee.Z)((0,Ee.Z)({},ot),Tt),_t=an.id,je=an.prefixCls,Pt=an.steps,Kt=an.strokeWidth,nn=an.trailWidth,On=an.gapDegree,_n=On===void 0?0:On,nr=an.gapPosition,ir=an.trailColor,Zn=an.strokeLinecap,er=an.style,kn=an.className,cn=an.strokeColor,bn=an.percent,St=(0,Rt.Z)(an,se),Et=ke/2,sn=zt(_t),Pn="".concat(sn,"-gradient"),Tn=Et-Kt/2,Jt=Math.PI*2*Tn,wn=_n>0?90+_n/2:-90,gn=Jt*((360-_n)/360),Nn=(0,kt.Z)(Pt)==="object"?Pt:{count:Pt,gap:2},An=Nn.count,rr=Nn.gap,Qt=It(bn),Yt=It(cn),xn=Yt.find(function(Ke){return Ke&&(0,kt.Z)(Ke)==="object"}),Vn=xn&&(0,kt.Z)(xn)==="object",jn=Vn?"butt":Zn,vt=xe(Jt,gn,0,100,wn,_n,nr,ir,jn,Kt),Dt=st(),Te=function(){var wt=0;return Qt.map(function(Ht,Hn){var Jn=Yt[Hn]||Yt[Yt.length-1],lt=xe(Jt,gn,wt,Ht,wn,_n,nr,Jn,jn,Kt);return wt+=Ht,b.createElement(De,{key:Hn,color:Jn,ptg:Ht,radius:Tn,prefixCls:je,gradientId:Pn,style:lt,strokeLinecap:jn,strokeWidth:Kt,gapDegree:_n,ref:function(pt){Dt[Hn]=pt},size:ke})}).reverse()},gt=function(){var wt=Math.round(An*(Qt[0]/100)),Ht=100/An,Hn=0;return new Array(An).fill(null).map(function(Jn,lt){var mt=lt<=wt-1?Yt[0]:ir,pt=mt&&(0,kt.Z)(mt)==="object"?"url(#".concat(Pn,")"):void 0,xt=xe(Jt,gn,Hn,Ht,wn,_n,nr,mt,"butt",Kt,rr);return Hn+=(gn-xt.strokeDashoffset+rr)*100/gn,b.createElement("circle",{key:lt,className:"".concat(je,"-circle-path"),r:Tn,cx:Et,cy:Et,stroke:pt,strokeWidth:Kt,opacity:1,style:xt,ref:function(In){Dt[lt]=In}})})};return b.createElement("svg",(0,$e.Z)({className:Ve()("".concat(je,"-circle"),kn),viewBox:"0 0 ".concat(ke," ").concat(ke),style:er,id:_t,role:"presentation"},St),!An&&b.createElement("circle",{className:"".concat(je,"-circle-trail"),r:Tn,cx:Et,cy:Et,stroke:ir,strokeLinecap:jn,strokeWidth:nn||Kt,style:vt}),An?gt():Te())},Ye=_e,Ft={Line:ft,Circle:Ye},Ce=ee(25399),he=ee(68361);function yt(Je){return!Je||Je<0?0:Je>100?100:Je}function Vt(Je){let{success:Tt,successPercent:an}=Je,_t=an;return Tt&&"progress"in Tt&&(_t=Tt.progress),Tt&&"percent"in Tt&&(_t=Tt.percent),_t}const Lt=Je=>{let{percent:Tt,success:an,successPercent:_t}=Je;const je=yt(Vt({success:an,successPercent:_t}));return[je,yt(yt(Tt)-je)]},me=Je=>{let{success:Tt={},strokeColor:an}=Je;const{strokeColor:_t}=Tt;return[_t||he.presetPrimaryColors.green,an||null]},qe=(Je,Tt,an)=>{var _t,je,Pt,Kt;let nn=-1,On=-1;if(Tt==="step"){const _n=an.steps,nr=an.strokeWidth;typeof Je=="string"||typeof Je=="undefined"?(nn=Je==="small"?2:14,On=nr!=null?nr:8):typeof Je=="number"?[nn,On]=[Je,Je]:[nn=14,On=8]=Array.isArray(Je)?Je:[Je.width,Je.height],nn*=_n}else if(Tt==="line"){const _n=an==null?void 0:an.strokeWidth;typeof Je=="string"||typeof Je=="undefined"?On=_n||(Je==="small"?6:8):typeof Je=="number"?[nn,On]=[Je,Je]:[nn=-1,On=8]=Array.isArray(Je)?Je:[Je.width,Je.height]}else(Tt==="circle"||Tt==="dashboard")&&(typeof Je=="string"||typeof Je=="undefined"?[nn,On]=Je==="small"?[60,60]:[120,120]:typeof Je=="number"?[nn,On]=[Je,Je]:Array.isArray(Je)&&(nn=(je=(_t=Je[0])!==null&&_t!==void 0?_t:Je[1])!==null&&je!==void 0?je:120,On=(Kt=(Pt=Je[0])!==null&&Pt!==void 0?Pt:Je[1])!==null&&Kt!==void 0?Kt:120));return[nn,On]},it=3,Xt=Je=>it/Je*100;var Gt=Je=>{const{prefixCls:Tt,trailColor:an=null,strokeLinecap:_t="round",gapPosition:je,gapDegree:Pt,width:Kt=120,type:nn,children:On,success:_n,size:nr=Kt,steps:ir}=Je,[Zn,er]=qe(nr,"circle");let{strokeWidth:kn}=Je;kn===void 0&&(kn=Math.max(Xt(Zn),6));const cn={width:Zn,height:er,fontSize:Zn*.15+6},bn=b.useMemo(()=>{if(Pt||Pt===0)return Pt;if(nn==="dashboard")return 75},[Pt,nn]),St=Lt(Je),Et=je||nn==="dashboard"&&"bottom"||void 0,sn=Object.prototype.toString.call(Je.strokeColor)==="[object Object]",Pn=me({success:_n,strokeColor:Je.strokeColor}),Tn=Ve()(`${Tt}-inner`,{[`${Tt}-circle-gradient`]:sn}),Jt=b.createElement(Ye,{steps:ir,percent:ir?St[1]:St,strokeWidth:kn,trailWidth:kn,strokeColor:ir?Pn[1]:Pn,strokeLinecap:_t,trailColor:an,prefixCls:Tt,gapDegree:bn,gapPosition:Et}),wn=Zn<=20,gn=b.createElement("div",{className:Tn,style:cn},Jt,!wn&&On);return wn?b.createElement(Ce.Z,{title:On},gn):gn},Fe=ee(36237),dn=ee(63356),$t=ee(16931),ae=ee(51636);const ne="--progress-line-stroke-color",te="--progress-percent",ie=Je=>{const Tt=Je?"100%":"-100%";return new Fe.Keyframes(`antProgress${Je?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Tt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Tt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},de=Je=>{const{componentCls:Tt,iconCls:an}=Je;return{[Tt]:Object.assign(Object.assign({},(0,dn.Wf)(Je)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Je.fontSize},[`${Tt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Tt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Je.remainingColor,borderRadius:Je.lineBorderRadius},[`${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:Je.defaultColor}},[`${Tt}-success-bg, ${Tt}-bg`]:{position:"relative",background:Je.defaultColor,borderRadius:Je.lineBorderRadius,transition:`all ${Je.motionDurationSlow} ${Je.motionEaseInOutCirc}`},[`${Tt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Tt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Je.marginXXS}},[`${Tt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ne})`]},height:"100%",width:`calc(1 / var(${te}) * 100%)`,display:"block"},[`&${Tt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Tt}-text-inner`]:{color:Je.colorWhite,[`&${Tt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Tt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Je.colorSuccess},[`${Tt}-text`]:{display:"inline-block",marginInlineStart:Je.marginXS,color:Je.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[an]:{fontSize:Je.fontSize},[`&${Tt}-text-outer`]:{width:"max-content"},[`&${Tt}-text-outer${Tt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Je.marginXS}},[`${Tt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Fe.unit)(Je.paddingXXS)}`,[`&${Tt}-text-start`]:{justifyContent:"start"},[`&${Tt}-text-end`]:{justifyContent:"end"}},[`&${Tt}-status-active`]:{[`${Tt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Je.colorBgContainer,borderRadius:Je.lineBorderRadius,opacity:0,animationName:ie(),animationDuration:Je.progressActiveMotionDuration,animationTimingFunction:Je.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Tt}-rtl${Tt}-status-active`]:{[`${Tt}-bg::before`]:{animationName:ie(!0)}},[`&${Tt}-status-exception`]:{[`${Tt}-bg`]:{backgroundColor:Je.colorError},[`${Tt}-text`]:{color:Je.colorError}},[`&${Tt}-status-exception ${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:Je.colorError}},[`&${Tt}-status-success`]:{[`${Tt}-bg`]:{backgroundColor:Je.colorSuccess},[`${Tt}-text`]:{color:Je.colorSuccess}},[`&${Tt}-status-success ${Tt}-inner:not(${Tt}-circle-gradient)`]:{[`${Tt}-circle-path`]:{stroke:Je.colorSuccess}}})}},re=Je=>{const{componentCls:Tt,iconCls:an}=Je;return{[Tt]:{[`${Tt}-circle-trail`]:{stroke:Je.remainingColor},[`&${Tt}-circle ${Tt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Tt}-circle ${Tt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Je.circleTextColor,fontSize:Je.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[an]:{fontSize:Je.circleIconFontSize}},[`${Tt}-circle&-status-exception`]:{[`${Tt}-text`]:{color:Je.colorError}},[`${Tt}-circle&-status-success`]:{[`${Tt}-text`]:{color:Je.colorSuccess}}},[`${Tt}-inline-circle`]:{lineHeight:1,[`${Tt}-inner`]:{verticalAlign:"bottom"}}}},le=Je=>{const{componentCls:Tt}=Je;return{[Tt]:{[`${Tt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Je.progressStepMinWidth,marginInlineEnd:Je.progressStepMarginInlineEnd,backgroundColor:Je.remainingColor,transition:`all ${Je.motionDurationSlow}`,"&-active":{backgroundColor:Je.defaultColor}}}}}},Se=Je=>{const{componentCls:Tt,iconCls:an}=Je;return{[Tt]:{[`${Tt}-small&-line, ${Tt}-small&-line ${Tt}-text ${an}`]:{fontSize:Je.fontSizeSM}}}},Ge=Je=>({circleTextColor:Je.colorText,defaultColor:Je.colorInfo,remainingColor:Je.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Je.fontSize/Je.fontSizeSM}em`});var He=(0,$t.I$)("Progress",Je=>{const Tt=Je.calc(Je.marginXXS).div(2).equal(),an=(0,ae.mergeToken)(Je,{progressStepMarginInlineEnd:Tt,progressStepMinWidth:Tt,progressActiveMotionDuration:"2.4s"});return[de(an),re(an),le(an),Se(an)]},Ge),Le=function(Je,Tt){var an={};for(var _t in Je)Object.prototype.hasOwnProperty.call(Je,_t)&&Tt.indexOf(_t)<0&&(an[_t]=Je[_t]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,_t=Object.getOwnPropertySymbols(Je);je<_t.length;je++)Tt.indexOf(_t[je])<0&&Object.prototype.propertyIsEnumerable.call(Je,_t[je])&&(an[_t[je]]=Je[_t[je]]);return an};const rt=Je=>{let Tt=[];return Object.keys(Je).forEach(an=>{const _t=parseFloat(an.replace(/%/g,""));Number.isNaN(_t)||Tt.push({key:_t,value:Je[an]})}),Tt=Tt.sort((an,_t)=>an.key-_t.key),Tt.map(an=>{let{key:_t,value:je}=an;return`${je} ${_t}%`}).join(", ")},ut=(Je,Tt)=>{const{from:an=he.presetPrimaryColors.blue,to:_t=he.presetPrimaryColors.blue,direction:je=Tt==="rtl"?"to left":"to right"}=Je,Pt=Le(Je,["from","to","direction"]);if(Object.keys(Pt).length!==0){const nn=rt(Pt),On=`linear-gradient(${je}, ${nn})`;return{background:On,[ne]:On}}const Kt=`linear-gradient(${je}, ${an}, ${_t})`;return{background:Kt,[ne]:Kt}};var Ne=Je=>{const{prefixCls:Tt,direction:an,percent:_t,size:je,strokeWidth:Pt,strokeColor:Kt,strokeLinecap:nn="round",children:On,trailColor:_n=null,percentPosition:nr,success:ir}=Je,{align:Zn,type:er}=nr,kn=Kt&&typeof Kt!="string"?ut(Kt,an):{[ne]:Kt,background:Kt},cn=nn==="square"||nn==="butt"?0:void 0,bn=je!=null?je:[-1,Pt||(je==="small"?6:8)],[St,Et]=qe(bn,"line",{strokeWidth:Pt}),sn={backgroundColor:_n||void 0,borderRadius:cn},Pn=Object.assign(Object.assign({width:`${yt(_t)}%`,height:Et,borderRadius:cn},kn),{[te]:yt(_t)/100}),Tn=Vt(Je),Jt={width:`${yt(Tn)}%`,height:Et,borderRadius:cn,backgroundColor:ir==null?void 0:ir.strokeColor},wn={width:St<0?"100%":St},gn=b.createElement("div",{className:`${Tt}-inner`,style:sn},b.createElement("div",{className:Ve()(`${Tt}-bg`,`${Tt}-bg-${er}`),style:Pn},er==="inner"&&On),Tn!==void 0&&b.createElement("div",{className:`${Tt}-success-bg`,style:Jt})),Nn=er==="outer"&&Zn==="start",An=er==="outer"&&Zn==="end";return er==="outer"&&Zn==="center"?b.createElement("div",{className:`${Tt}-layout-bottom`},gn,On):b.createElement("div",{className:`${Tt}-outer`,style:wn},Nn&&On,gn,An&&On)},Ut=Je=>{const{size:Tt,steps:an,rounding:_t=Math.round,percent:je=0,strokeWidth:Pt=8,strokeColor:Kt,trailColor:nn=null,prefixCls:On,children:_n}=Je,nr=_t(an*(je/100)),ir=Tt==="small"?2:14,Zn=Tt!=null?Tt:[ir,Pt],[er,kn]=qe(Zn,"step",{steps:an,strokeWidth:Pt}),cn=er/an,bn=Array.from({length:an});for(let St=0;St{const{prefixCls:an,className:_t,rootClassName:je,steps:Pt,strokeColor:Kt,percent:nn=0,size:On="default",showInfo:_n=!0,type:nr="line",status:ir,format:Zn,style:er,percentPosition:kn={}}=Je,cn=Zt(Je,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:bn="end",type:St="outer"}=kn,Et=Array.isArray(Kt)?Kt[0]:Kt,sn=typeof Kt=="string"||Array.isArray(Kt)?Kt:void 0,Pn=b.useMemo(()=>{if(Et){const Te=typeof Et=="string"?Et:Object.values(Et)[0];return new Me.FastColor(Te).isLight()}return!1},[Kt]),Tn=b.useMemo(()=>{var Te,gt;const Ke=Vt(Je);return parseInt(Ke!==void 0?(Te=Ke!=null?Ke:0)===null||Te===void 0?void 0:Te.toString():(gt=nn!=null?nn:0)===null||gt===void 0?void 0:gt.toString(),10)},[nn,Je.success,Je.successPercent]),Jt=b.useMemo(()=>!vn.includes(ir)&&Tn>=100?"success":ir||"normal",[ir,Tn]),{getPrefixCls:wn,direction:gn,progress:Nn}=b.useContext(ue.E_),An=wn("progress",an),[rr,Qt,Yt]=He(An),xn=nr==="line",Vn=xn&&!Pt,jn=b.useMemo(()=>{if(!_n)return null;const Te=Vt(Je);let gt;const Ke=Zn||(Ht=>`${Ht}%`),wt=xn&&Pn&&St==="inner";return St==="inner"||Zn||Jt!=="exception"&&Jt!=="success"?gt=Ke(yt(nn),yt(Te)):Jt==="exception"?gt=xn?b.createElement(Pe.Z,null):b.createElement(pe.Z,null):Jt==="success"&&(gt=xn?b.createElement(ce.Z,null):b.createElement(et.Z,null)),b.createElement("span",{className:Ve()(`${An}-text`,{[`${An}-text-bright`]:wt,[`${An}-text-${bn}`]:Vn,[`${An}-text-${St}`]:Vn}),title:typeof gt=="string"?gt:void 0},gt)},[_n,nn,Tn,Jt,nr,An,Zn]);let vt;nr==="line"?vt=Pt?b.createElement(Ut,Object.assign({},Je,{strokeColor:sn,prefixCls:An,steps:typeof Pt=="object"?Pt.count:Pt}),jn):b.createElement(Ne,Object.assign({},Je,{strokeColor:Et,prefixCls:An,direction:gn,percentPosition:{align:bn,type:St}}),jn):(nr==="circle"||nr==="dashboard")&&(vt=b.createElement(Gt,Object.assign({},Je,{strokeColor:Et,prefixCls:An,progressStatus:Jt}),jn));const Dt=Ve()(An,`${An}-status-${Jt}`,{[`${An}-${nr==="dashboard"&&"circle"||nr}`]:nr!=="line",[`${An}-inline-circle`]:nr==="circle"&&qe(On,"circle")[0]<=20,[`${An}-line`]:Vn,[`${An}-line-align-${bn}`]:Vn,[`${An}-line-position-${St}`]:Vn,[`${An}-steps`]:Pt,[`${An}-show-info`]:_n,[`${An}-${On}`]:typeof On=="string",[`${An}-rtl`]:gn==="rtl"},Nn==null?void 0:Nn.className,_t,je,Qt,Yt);return rr(b.createElement("div",Object.assign({ref:Tt,style:Object.assign(Object.assign({},Nn==null?void 0:Nn.style),er),className:Dt,role:"progressbar","aria-valuenow":Tn,"aria-valuemin":0,"aria-valuemax":100},(0,Ie.Z)(cn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),vt))}),on=Cn},63139:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Lt}});var b=ee(59301),Me=ee(60499),ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},et=ce,Pe=ee(7657),pe=function(qe,it){return b.createElement(Pe.Z,(0,Me.Z)({},qe,{ref:it,icon:et}))},be=b.forwardRef(pe),Ve=be,Ie=ee(92310),ue=ee.n(Ie),$e=ee(18642),Ee=ee(72190),Rt=ee(42244),ot=ee(18929),st=ee(10228),Ue=ee(26112);function Re(me,qe){var it=me.disabled,Xt=me.prefixCls,Xe=me.character,Gt=me.characterRender,Fe=me.index,dn=me.count,$t=me.value,ae=me.allowHalf,ne=me.focused,te=me.onHover,ie=me.onClick,de=function(ut){te(ut,Fe)},re=function(ut){ie(ut,Fe)},le=function(ut){ut.keyCode===st.Z.ENTER&&ie(ut,Fe)},Se=Fe+1,Ge=new Set([Xt]);$t===0&&Fe===0&&ne?Ge.add("".concat(Xt,"-focused")):ae&&$t+.5>=Se&&$tFe?"true":"false","aria-posinset":Fe+1,"aria-setsize":dn,tabIndex:it?-1:0},b.createElement("div",{className:"".concat(Xt,"-first")},He),b.createElement("div",{className:"".concat(Xt,"-second")},He)));return Gt&&(Le=Gt(Le,me)),Le}var ft=b.forwardRef(Re);function kt(){var me=b.useRef({});function qe(Xt){return me.current[Xt]}function it(Xt){return function(Xe){me.current[Xt]=Xe}}return[qe,it]}function en(me){var qe=me.pageXOffset,it="scrollLeft";if(typeof qe!="number"){var Xt=me.document;qe=Xt.documentElement[it],typeof qe!="number"&&(qe=Xt.body[it])}return qe}function Qe(me){var qe,it,Xt=me.ownerDocument,Xe=Xt.body,Gt=Xt&&Xt.documentElement,Fe=me.getBoundingClientRect();return qe=Fe.left,it=Fe.top,qe-=Gt.clientLeft||Xe.clientLeft||0,it-=Gt.clientTop||Xe.clientTop||0,{left:qe,top:it}}function Ae(me){var qe=Qe(me),it=me.ownerDocument,Xt=it.defaultView||it.parentWindow;return qe.left+=en(Xt),qe.left}var tt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function nt(me,qe){var it=me.prefixCls,Xt=it===void 0?"rc-rate":it,Xe=me.className,Gt=me.defaultValue,Fe=me.value,dn=me.count,$t=dn===void 0?5:dn,ae=me.allowHalf,ne=ae===void 0?!1:ae,te=me.allowClear,ie=te===void 0?!0:te,de=me.keyboard,re=de===void 0?!0:de,le=me.character,Se=le===void 0?"\u2605":le,Ge=me.characterRender,He=me.disabled,Le=me.direction,rt=Le===void 0?"ltr":Le,ut=me.tabIndex,At=ut===void 0?0:ut,Ne=me.autoFocus,Be=me.onHoverChange,Ut=me.onChange,Zt=me.onFocus,mn=me.onBlur,vn=me.onKeyDown,jt=me.onMouseLeave,Cn=(0,Rt.Z)(me,tt),on=kt(),Je=(0,Ee.Z)(on,2),Tt=Je[0],an=Je[1],_t=b.useRef(null),je=function(){if(!He){var jn;(jn=_t.current)===null||jn===void 0||jn.focus()}};b.useImperativeHandle(qe,function(){return{focus:je,blur:function(){if(!He){var jn;(jn=_t.current)===null||jn===void 0||jn.blur()}}}});var Pt=(0,ot.Z)(Gt||0,{value:Fe}),Kt=(0,Ee.Z)(Pt,2),nn=Kt[0],On=Kt[1],_n=(0,ot.Z)(null),nr=(0,Ee.Z)(_n,2),ir=nr[0],Zn=nr[1],er=function(jn,vt){var Dt=rt==="rtl",Te=jn+1;if(ne){var gt=Tt(jn),Ke=Ae(gt),wt=gt.clientWidth;(Dt&&vt-Ke>wt/2||!Dt&&vt-Ke0&&!Dt||vt===st.Z.RIGHT&&nn>0&&Dt?(kn(nn-Te),jn.preventDefault()):vt===st.Z.LEFT&&nn<$t&&Dt&&(kn(nn+Te),jn.preventDefault())),vn==null||vn(jn)};b.useEffect(function(){Ne&&!He&&je()},[]);var Yt=new Array($t).fill(0).map(function(Vn,jn){return b.createElement(ft,{ref:an(jn),index:jn,count:$t,disabled:He,prefixCls:"".concat(Xt,"-star"),allowHalf:ne,value:wn===null?nn:wn,onClick:rr,onHover:Nn,key:Vn||jn,character:Se,characterRender:Ge,focused:St})}),xn=ue()(Xt,Xe,(0,$e.Z)((0,$e.Z)({},"".concat(Xt,"-disabled"),He),"".concat(Xt,"-rtl"),rt==="rtl"));return b.createElement("ul",(0,Me.Z)({className:xn,onMouseLeave:An,tabIndex:He?-1:At,onFocus:He?null:sn,onBlur:He?null:Pn,onKeyDown:He?null:Qt,ref:_t},(0,Ue.Z)(Cn,{aria:!0,data:!0,attr:!0})),Yt)}var zt=b.forwardRef(nt),Ot=zt,ht=ee(48755),Ct=ee(25399),De=ee(36237),ke=ee(63356),xe=ee(16931),se=ee(51636);const It=me=>{const{componentCls:qe}=me;return{[`${qe}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:me.marginXS},"> div":{transition:`all ${me.motionDurationMid}, outline 0s`,"&:hover":{transform:me.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,De.unit)(me.lineWidth)} dashed ${me.starColor}`,transform:me.starHoverScale}},"&-first, &-second":{color:me.starBg,transition:`all ${me.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${qe}-star-first, &-half ${qe}-star-second`]:{opacity:1},[`&-half ${qe}-star-first, &-full ${qe}-star-second`]:{color:"inherit"}}}},_e=me=>({[`&-rtl${me.componentCls}`]:{direction:"rtl"}}),Ye=me=>{const{componentCls:qe}=me;return{[qe]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(me)),{display:"inline-block",margin:0,padding:0,color:me.starColor,fontSize:me.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${qe} ${qe}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),It(me)),_e(me))}},Ft=me=>({starColor:me.yellow6,starSize:me.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:me.colorFillContent});var Ce=(0,xe.I$)("Rate",me=>{const qe=(0,se.mergeToken)(me,{});return[Ye(qe)]},Ft),he=ee(2171),yt=function(me,qe){var it={};for(var Xt in me)Object.prototype.hasOwnProperty.call(me,Xt)&&qe.indexOf(Xt)<0&&(it[Xt]=me[Xt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Xt=Object.getOwnPropertySymbols(me);Xe{const{prefixCls:it,className:Xt,rootClassName:Xe,style:Gt,tooltips:Fe,character:dn=b.createElement(Ve,null),disabled:$t}=me,ae=yt(me,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ne=(ut,At)=>{let{index:Ne}=At;return Fe?b.createElement(Ct.Z,{title:Fe[Ne]},ut):ut},{getPrefixCls:te,direction:ie,rate:de}=b.useContext(ht.E_),re=te("rate",it),[le,Se,Ge]=Ce(re),He=Object.assign(Object.assign({},de==null?void 0:de.style),Gt),Le=b.useContext(he.Z),rt=$t!=null?$t:Le;return le(b.createElement(Ot,Object.assign({ref:qe,character:dn,characterRender:ne,disabled:rt},ae,{className:ue()(Xt,Xe,Se,Ge,de==null?void 0:de.className),style:He,prefixCls:re,direction:ie})))})},82326:function(Bn,rn,ee){"use strict";var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(37463),Pe=ee(2738),pe=ee(75030),be=ee(86641),Ve=ee(45915),Ie=ee(82855),ue=ee(48755),$e=ee(38406),Ee=ee(2171),Rt=ee(83397),ot=ee(31756),st=ee(56553),Ue=ee(24971),Re=ee(70045),ft=ee(57700),kt=ee(1722),en=ee(90376),Qe=ee(68525),Ae=ee(90005),tt=function(Ct,De){var ke={};for(var xe in Ct)Object.prototype.hasOwnProperty.call(Ct,xe)&&De.indexOf(xe)<0&&(ke[xe]=Ct[xe]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,xe=Object.getOwnPropertySymbols(Ct);se{var ke;const{prefixCls:xe,bordered:se,className:It,rootClassName:_e,getPopupContainer:Ye,popupClassName:Ft,dropdownClassName:Ce,listHeight:he=256,placement:yt,listItemHeight:Vt,size:Lt,disabled:me,notFoundContent:qe,status:it,builtinPlacements:Xt,dropdownMatchSelectWidth:Xe,popupMatchSelectWidth:Gt,direction:Fe,style:dn,allowClear:$t,variant:ae,dropdownStyle:ne,transitionName:te,tagRender:ie,maxCount:de,prefix:re}=Ct,le=tt(Ct,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:Se,getPrefixCls:Ge,renderEmpty:He,direction:Le,virtual:rt,popupMatchSelectWidth:ut,popupOverflow:At}=b.useContext(ue.E_),Ne=(0,ue.dj)("select"),[,Be]=(0,ft.ZP)(),Ut=Vt!=null?Vt:Be==null?void 0:Be.controlHeight,Zt=Ge("select",xe),mn=Ge(),vn=Fe!=null?Fe:Le,{compactSize:jt,compactItemClassnames:Cn}=(0,Re.ri)(Zt,vn),[on,Je]=(0,Ue.Z)("select",ae,se),Tt=(0,Rt.Z)(Zt),[an,_t,je]=(0,en.Z)(Zt,Tt),Pt=b.useMemo(()=>{const{mode:Qt}=Ct;if(Qt!=="combobox")return Qt===nt?"combobox":Qt},[Ct.mode]),Kt=Pt==="multiple"||Pt==="tags",nn=(0,Ae.Z)(Ct.suffixIcon,Ct.showArrow),On=(ke=Gt!=null?Gt:Xe)!==null&&ke!==void 0?ke:ut,{status:_n,hasFeedback:nr,isFormItemInput:ir,feedbackIcon:Zn}=b.useContext(st.aM),er=(0,Ie.F)(_n,it);let kn;qe!==void 0?kn=qe:Pt==="combobox"?kn=null:kn=(He==null?void 0:He("Select"))||b.createElement($e.Z,{componentName:"Select"});const{suffixIcon:cn,itemIcon:bn,removeIcon:St,clearIcon:Et}=(0,Qe.Z)(Object.assign(Object.assign({},le),{multiple:Kt,hasFeedback:nr,feedbackIcon:Zn,showSuffixIcon:nn,prefixCls:Zt,componentName:"Select"})),sn=$t===!0?{clearIcon:Et}:$t,Pn=(0,Pe.Z)(le,["suffixIcon","itemIcon"]),Tn=ce()(Ft||Ce,{[`${Zt}-dropdown-${vn}`]:vn==="rtl"},_e,je,Tt,_t),Jt=(0,ot.Z)(Qt=>{var Yt;return(Yt=Lt!=null?Lt:jt)!==null&&Yt!==void 0?Yt:Qt}),wn=b.useContext(Ee.Z),gn=me!=null?me:wn,Nn=ce()({[`${Zt}-lg`]:Jt==="large",[`${Zt}-sm`]:Jt==="small",[`${Zt}-rtl`]:vn==="rtl",[`${Zt}-${on}`]:Je,[`${Zt}-in-form-item`]:ir},(0,Ie.Z)(Zt,er,nr),Cn,Ne.className,It,_e,je,Tt,_t),An=b.useMemo(()=>yt!==void 0?yt:vn==="rtl"?"bottomRight":"bottomLeft",[yt,vn]),[rr]=(0,pe.Cn)("SelectLike",ne==null?void 0:ne.zIndex);return an(b.createElement(et.ZP,Object.assign({ref:De,virtual:rt,showSearch:Ne.showSearch},Pn,{style:Object.assign(Object.assign({},Ne.style),dn),dropdownMatchSelectWidth:On,transitionName:(0,be.m)(mn,"slide-up",te),builtinPlacements:(0,kt.Z)(Xt,At),listHeight:he,listItemHeight:Ut,mode:Pt,prefixCls:Zt,placement:An,direction:vn,prefix:re,suffixIcon:cn,menuItemSelectedIcon:bn,removeIcon:St,allowClear:sn,notFoundContent:kn,className:Nn,getPopupContainer:Ye||Se,dropdownClassName:Tn,disabled:gn,dropdownStyle:Object.assign(Object.assign({},ne),{zIndex:rr}),maxCount:Kt?de:void 0,tagRender:Kt?ie:void 0})))},Ot=b.forwardRef(zt),ht=(0,Ve.Z)(Ot,"dropdownAlign");Ot.SECRET_COMBOBOX_MODE_DO_NOT_USE=nt,Ot.Option=et.Wx,Ot.OptGroup=et.Xo,Ot._InternalPanelDoNotUseOrYouWillBeFired=ht,rn.default=Ot},1722:function(Bn,rn){"use strict";const ee=Me=>{const et={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Me==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},et),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},et),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},et),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},et),{points:["br","tr"],offset:[0,-4]})}};function b(Me,ce){return Me||ee(ce)}rn.Z=b},90376:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return xe}});var b=ee(63356),Me=ee(56119),ce=ee(16931),et=ee(51636),Pe=ee(46e3),pe=ee(93873);const be=se=>{const{optionHeight:It,optionFontSize:_e,optionLineHeight:Ye,optionPadding:Ft}=se;return{position:"relative",display:"block",minHeight:It,padding:Ft,color:se.colorText,fontWeight:"normal",fontSize:_e,lineHeight:Ye,boxSizing:"border-box"}};var Ie=se=>{const{antCls:It,componentCls:_e}=se,Ye=`${_e}-item`,Ft=`&${It}-slide-up-enter${It}-slide-up-enter-active`,Ce=`&${It}-slide-up-appear${It}-slide-up-appear-active`,he=`&${It}-slide-up-leave${It}-slide-up-leave-active`,yt=`${_e}-dropdown-placement-`,Vt=`${Ye}-option-selected`;return[{[`${_e}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(se)),{position:"absolute",top:-9999,zIndex:se.zIndexPopup,boxSizing:"border-box",padding:se.paddingXXS,overflow:"hidden",fontSize:se.fontSize,fontVariant:"initial",backgroundColor:se.colorBgElevated,borderRadius:se.borderRadiusLG,outline:"none",boxShadow:se.boxShadowSecondary,[` + ${Ft}${yt}bottomLeft, + ${Ce}${yt}bottomLeft + `]:{animationName:Pe.fJ},[` + ${Ft}${yt}topLeft, + ${Ce}${yt}topLeft, + ${Ft}${yt}topRight, + ${Ce}${yt}topRight + `]:{animationName:Pe.Qt},[`${he}${yt}bottomLeft`]:{animationName:Pe.Uw},[` + ${he}${yt}topLeft, + ${he}${yt}topRight + `]:{animationName:Pe.ly},"&-hidden":{display:"none"},[Ye]:Object.assign(Object.assign({},be(se)),{cursor:"pointer",transition:`background ${se.motionDurationSlow} ease`,borderRadius:se.borderRadiusSM,"&-group":{color:se.colorTextDescription,fontSize:se.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Ye}-option-disabled)`]:{backgroundColor:se.optionActiveBg},[`&-selected:not(${Ye}-option-disabled)`]:{color:se.optionSelectedColor,fontWeight:se.optionSelectedFontWeight,backgroundColor:se.optionSelectedBg,[`${Ye}-option-state`]:{color:se.colorPrimary}},"&-disabled":{[`&${Ye}-option-selected`]:{backgroundColor:se.colorBgContainerDisabled},color:se.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:se.calc(se.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},be(se)),{color:se.colorTextDisabled})}),[`${Vt}:has(+ ${Vt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Vt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Pe.oN)(se,"slide-up"),(0,Pe.oN)(se,"slide-down"),(0,pe.Fm)(se,"move-up"),(0,pe.Fm)(se,"move-down")]},ue=ee(26743),$e=ee(36237);function Ee(se,It){const{componentCls:_e,inputPaddingHorizontalBase:Ye,borderRadius:Ft}=se,Ce=se.calc(se.controlHeight).sub(se.calc(se.lineWidth).mul(2)).equal(),he=It?`${_e}-${It}`:"";return{[`${_e}-single${he}`]:{fontSize:se.fontSize,height:se.controlHeight,[`${_e}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(se,!0)),{display:"flex",borderRadius:Ft,flex:"1 1 auto",[`${_e}-selection-wrap:after`]:{lineHeight:(0,$e.unit)(Ce)},[`${_e}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${_e}-selection-item, + ${_e}-selection-placeholder + `]:{display:"block",padding:0,lineHeight:(0,$e.unit)(Ce),transition:`all ${se.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${_e}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${_e}-selection-item:empty:after`,`${_e}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${_e}-show-arrow ${_e}-selection-item, + &${_e}-show-arrow ${_e}-selection-search, + &${_e}-show-arrow ${_e}-selection-placeholder + `]:{paddingInlineEnd:se.showArrowPaddingInlineEnd},[`&${_e}-open ${_e}-selection-item`]:{color:se.colorTextPlaceholder},[`&:not(${_e}-customize-input)`]:{[`${_e}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,$e.unit)(Ye)}`,[`${_e}-selection-search-input`]:{height:Ce,fontSize:se.fontSize},"&:after":{lineHeight:(0,$e.unit)(Ce)}}},[`&${_e}-customize-input`]:{[`${_e}-selector`]:{"&:after":{display:"none"},[`${_e}-selection-search`]:{position:"static",width:"100%"},[`${_e}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,$e.unit)(Ye)}`,"&:after":{display:"none"}}}}}}}function Rt(se){const{componentCls:It}=se,_e=se.calc(se.controlPaddingHorizontalSM).sub(se.lineWidth).equal();return[Ee(se),Ee((0,et.mergeToken)(se,{controlHeight:se.controlHeightSM,borderRadius:se.borderRadiusSM}),"sm"),{[`${It}-single${It}-sm`]:{[`&:not(${It}-customize-input)`]:{[`${It}-selector`]:{padding:`0 ${(0,$e.unit)(_e)}`},[`&${It}-show-arrow ${It}-selection-search`]:{insetInlineEnd:se.calc(_e).add(se.calc(se.fontSize).mul(1.5)).equal()},[` + &${It}-show-arrow ${It}-selection-item, + &${It}-show-arrow ${It}-selection-placeholder + `]:{paddingInlineEnd:se.calc(se.fontSize).mul(1.5).equal()}}}},Ee((0,et.mergeToken)(se,{controlHeight:se.singleItemHeightLG,fontSize:se.fontSizeLG,borderRadius:se.borderRadiusLG}),"lg")]}const ot=se=>{const{fontSize:It,lineHeight:_e,lineWidth:Ye,controlHeight:Ft,controlHeightSM:Ce,controlHeightLG:he,paddingXXS:yt,controlPaddingHorizontal:Vt,zIndexPopupBase:Lt,colorText:me,fontWeightStrong:qe,controlItemBgActive:it,controlItemBgHover:Xt,colorBgContainer:Xe,colorFillSecondary:Gt,colorBgContainerDisabled:Fe,colorTextDisabled:dn,colorPrimaryHover:$t,colorPrimary:ae,controlOutline:ne}=se,te=yt*2,ie=Ye*2,de=Math.min(Ft-te,Ft-ie),re=Math.min(Ce-te,Ce-ie),le=Math.min(he-te,he-ie);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(yt/2),zIndexPopup:Lt+50,optionSelectedColor:me,optionSelectedFontWeight:qe,optionSelectedBg:it,optionActiveBg:Xt,optionPadding:`${(Ft-It*_e)/2}px ${Vt}px`,optionFontSize:It,optionLineHeight:_e,optionHeight:Ft,selectorBg:Xe,clearBg:Xe,singleItemHeightLG:he,multipleItemBg:Gt,multipleItemBorderColor:"transparent",multipleItemHeight:de,multipleItemHeightSM:re,multipleItemHeightLG:le,multipleSelectorBgDisabled:Fe,multipleItemColorDisabled:dn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(se.fontSize*1.25),hoverBorderColor:$t,activeBorderColor:ae,activeOutlineColor:ne,selectAffixPadding:yt}},st=(se,It)=>{const{componentCls:_e,antCls:Ye,controlOutlineWidth:Ft}=se;return{[`&:not(${_e}-customize-input) ${_e}-selector`]:{border:`${(0,$e.unit)(se.lineWidth)} ${se.lineType} ${It.borderColor}`,background:se.selectorBg},[`&:not(${_e}-disabled):not(${_e}-customize-input):not(${Ye}-pagination-size-changer)`]:{[`&:hover ${_e}-selector`]:{borderColor:It.hoverBorderHover},[`${_e}-focused& ${_e}-selector`]:{borderColor:It.activeBorderColor,boxShadow:`0 0 0 ${(0,$e.unit)(Ft)} ${It.activeOutlineColor}`,outline:0},[`${_e}-prefix`]:{color:It.color}}}},Ue=(se,It)=>({[`&${se.componentCls}-status-${It.status}`]:Object.assign({},st(se,It))}),Re=se=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},st(se,{borderColor:se.colorBorder,hoverBorderHover:se.hoverBorderColor,activeBorderColor:se.activeBorderColor,activeOutlineColor:se.activeOutlineColor,color:se.colorText})),Ue(se,{status:"error",borderColor:se.colorError,hoverBorderHover:se.colorErrorHover,activeBorderColor:se.colorError,activeOutlineColor:se.colorErrorOutline,color:se.colorError})),Ue(se,{status:"warning",borderColor:se.colorWarning,hoverBorderHover:se.colorWarningHover,activeBorderColor:se.colorWarning,activeOutlineColor:se.colorWarningOutline,color:se.colorWarning})),{[`&${se.componentCls}-disabled`]:{[`&:not(${se.componentCls}-customize-input) ${se.componentCls}-selector`]:{background:se.colorBgContainerDisabled,color:se.colorTextDisabled}},[`&${se.componentCls}-multiple ${se.componentCls}-selection-item`]:{background:se.multipleItemBg,border:`${(0,$e.unit)(se.lineWidth)} ${se.lineType} ${se.multipleItemBorderColor}`}})}),ft=(se,It)=>{const{componentCls:_e,antCls:Ye}=se;return{[`&:not(${_e}-customize-input) ${_e}-selector`]:{background:It.bg,border:`${(0,$e.unit)(se.lineWidth)} ${se.lineType} transparent`,color:It.color},[`&:not(${_e}-disabled):not(${_e}-customize-input):not(${Ye}-pagination-size-changer)`]:{[`&:hover ${_e}-selector`]:{background:It.hoverBg},[`${_e}-focused& ${_e}-selector`]:{background:se.selectorBg,borderColor:It.activeBorderColor,outline:0}}}},kt=(se,It)=>({[`&${se.componentCls}-status-${It.status}`]:Object.assign({},ft(se,It))}),en=se=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},ft(se,{bg:se.colorFillTertiary,hoverBg:se.colorFillSecondary,activeBorderColor:se.activeBorderColor,color:se.colorText})),kt(se,{status:"error",bg:se.colorErrorBg,hoverBg:se.colorErrorBgHover,activeBorderColor:se.colorError,color:se.colorError})),kt(se,{status:"warning",bg:se.colorWarningBg,hoverBg:se.colorWarningBgHover,activeBorderColor:se.colorWarning,color:se.colorWarning})),{[`&${se.componentCls}-disabled`]:{[`&:not(${se.componentCls}-customize-input) ${se.componentCls}-selector`]:{borderColor:se.colorBorder,background:se.colorBgContainerDisabled,color:se.colorTextDisabled}},[`&${se.componentCls}-multiple ${se.componentCls}-selection-item`]:{background:se.colorBgContainer,border:`${(0,$e.unit)(se.lineWidth)} ${se.lineType} ${se.colorSplit}`}})}),Qe=se=>({"&-borderless":{[`${se.componentCls}-selector`]:{background:"transparent",border:`${(0,$e.unit)(se.lineWidth)} ${se.lineType} transparent`},[`&${se.componentCls}-disabled`]:{[`&:not(${se.componentCls}-customize-input) ${se.componentCls}-selector`]:{color:se.colorTextDisabled}},[`&${se.componentCls}-multiple ${se.componentCls}-selection-item`]:{background:se.multipleItemBg,border:`${(0,$e.unit)(se.lineWidth)} ${se.lineType} ${se.multipleItemBorderColor}`},[`&${se.componentCls}-status-error`]:{[`${se.componentCls}-prefix, ${se.componentCls}-selection-item`]:{color:se.colorError}},[`&${se.componentCls}-status-warning`]:{[`${se.componentCls}-prefix, ${se.componentCls}-selection-item`]:{color:se.colorWarning}}}}),Ae=(se,It)=>{const{componentCls:_e,antCls:Ye}=se;return{[`&:not(${_e}-customize-input) ${_e}-selector`]:{borderWidth:`0 0 ${(0,$e.unit)(se.lineWidth)} 0`,borderStyle:`none none ${se.lineType} none`,borderColor:It.borderColor,background:se.selectorBg,borderRadius:0},[`&:not(${_e}-disabled):not(${_e}-customize-input):not(${Ye}-pagination-size-changer)`]:{[`&:hover ${_e}-selector`]:{borderColor:It.hoverBorderHover},[`${_e}-focused& ${_e}-selector`]:{borderColor:It.activeBorderColor,outline:0},[`${_e}-prefix`]:{color:It.color}}}},tt=(se,It)=>({[`&${se.componentCls}-status-${It.status}`]:Object.assign({},Ae(se,It))}),nt=se=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},Ae(se,{borderColor:se.colorBorder,hoverBorderHover:se.hoverBorderColor,activeBorderColor:se.activeBorderColor,activeOutlineColor:se.activeOutlineColor,color:se.colorText})),tt(se,{status:"error",borderColor:se.colorError,hoverBorderHover:se.colorErrorHover,activeBorderColor:se.colorError,activeOutlineColor:se.colorErrorOutline,color:se.colorError})),tt(se,{status:"warning",borderColor:se.colorWarning,hoverBorderHover:se.colorWarningHover,activeBorderColor:se.colorWarning,activeOutlineColor:se.colorWarningOutline,color:se.colorWarning})),{[`&${se.componentCls}-disabled`]:{[`&:not(${se.componentCls}-customize-input) ${se.componentCls}-selector`]:{color:se.colorTextDisabled}},[`&${se.componentCls}-multiple ${se.componentCls}-selection-item`]:{background:se.multipleItemBg,border:`${(0,$e.unit)(se.lineWidth)} ${se.lineType} ${se.multipleItemBorderColor}`}})});var Ot=se=>({[se.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Re(se)),en(se)),Qe(se)),nt(se))});const ht=se=>{const{componentCls:It}=se;return{position:"relative",transition:`all ${se.motionDurationMid} ${se.motionEaseInOut}`,input:{cursor:"pointer"},[`${It}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${It}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ct=se=>{const{componentCls:It}=se;return{[`${It}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},De=se=>{const{antCls:It,componentCls:_e,inputPaddingHorizontalBase:Ye,iconCls:Ft}=se;return{[_e]:Object.assign(Object.assign({},(0,b.Wf)(se)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${_e}-customize-input) ${_e}-selector`]:Object.assign(Object.assign({},ht(se)),Ct(se)),[`${_e}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${It}-typography`]:{display:"inline"}}),[`${_e}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:se.colorTextPlaceholder,pointerEvents:"none"}),[`${_e}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ye,height:se.fontSizeIcon,marginTop:se.calc(se.fontSizeIcon).mul(-1).div(2).equal(),color:se.colorTextQuaternary,fontSize:se.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${se.motionDurationSlow} ease`,[Ft]:{verticalAlign:"top",transition:`transform ${se.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${_e}-suffix)`]:{pointerEvents:"auto"}},[`${_e}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${_e}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${_e}-prefix`]:{flex:"none",marginInlineEnd:se.selectAffixPadding},[`${_e}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Ye,zIndex:1,display:"inline-block",width:se.fontSizeIcon,height:se.fontSizeIcon,marginTop:se.calc(se.fontSizeIcon).mul(-1).div(2).equal(),color:se.colorTextQuaternary,fontSize:se.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${se.motionDurationMid} ease, opacity ${se.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:se.colorTextTertiary}},[`&:hover ${_e}-clear`]:{opacity:1,background:se.colorBgBase,borderRadius:"50%"}}),[`${_e}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${_e}-has-feedback`]:{[`${_e}-clear`]:{insetInlineEnd:se.calc(Ye).add(se.fontSize).add(se.paddingXS).equal()}}}}}},ke=se=>{const{componentCls:It}=se;return[{[It]:{[`&${It}-in-form-item`]:{width:"100%"}}},De(se),Rt(se),(0,ue.ZP)(se),Ie(se),{[`${It}-rtl`]:{direction:"rtl"}},(0,Me.c)(se,{borderElCls:`${It}-selector`,focusElCls:`${It}-focused`})]};var xe=(0,ce.I$)("Select",(se,It)=>{let{rootPrefixCls:_e}=It;const Ye=(0,et.mergeToken)(se,{rootPrefixCls:_e,inputPaddingHorizontalBase:se.calc(se.paddingSM).sub(1).equal(),multipleSelectItemHeight:se.multipleItemHeight,selectHeight:se.controlHeight});return[ke(Ye),Ot(Ye)]},ot,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Bn,rn,ee){"use strict";ee.d(rn,{_z:function(){return pe},gp:function(){return et}});var b=ee(36237),Me=ee(63356),ce=ee(51636);const et=ue=>{const{multipleSelectItemHeight:$e,paddingXXS:Ee,lineWidth:Rt,INTERNAL_FIXED_ITEM_MARGIN:ot}=ue,st=ue.max(ue.calc(Ee).sub(Rt).equal(),0),Ue=ue.max(ue.calc(st).sub(ot).equal(),0);return{basePadding:st,containerPadding:Ue,itemHeight:(0,b.unit)($e),itemLineHeight:(0,b.unit)(ue.calc($e).sub(ue.calc(ue.lineWidth).mul(2)).equal())}},Pe=ue=>{const{multipleSelectItemHeight:$e,selectHeight:Ee,lineWidth:Rt}=ue;return ue.calc(Ee).sub($e).div(2).sub(Rt).equal()},pe=ue=>{const{componentCls:$e,iconCls:Ee,borderRadiusSM:Rt,motionDurationSlow:ot,paddingXS:st,multipleItemColorDisabled:Ue,multipleItemBorderColorDisabled:Re,colorIcon:ft,colorIconHover:kt,INTERNAL_FIXED_ITEM_MARGIN:en}=ue;return{[`${$e}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${$e}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:en,borderRadius:Rt,cursor:"default",transition:`font-size ${ot}, line-height ${ot}, height ${ot}`,marginInlineEnd:ue.calc(en).mul(2).equal(),paddingInlineStart:st,paddingInlineEnd:ue.calc(st).div(2).equal(),[`${$e}-disabled&`]:{color:Ue,borderColor:Re,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:ue.calc(st).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Me.Ro)()),{display:"inline-flex",alignItems:"center",color:ft,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Ee}`]:{verticalAlign:"-0.2em"},"&:hover":{color:kt}})}}}},be=(ue,$e)=>{const{componentCls:Ee,INTERNAL_FIXED_ITEM_MARGIN:Rt}=ue,ot=`${Ee}-selection-overflow`,st=ue.multipleSelectItemHeight,Ue=Pe(ue),Re=$e?`${Ee}-${$e}`:"",ft=et(ue);return{[`${Ee}-multiple${Re}`]:Object.assign(Object.assign({},pe(ue)),{[`${Ee}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:ft.basePadding,paddingBlock:ft.containerPadding,borderRadius:ue.borderRadius,[`${Ee}-disabled&`]:{background:ue.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(Rt)} 0`,lineHeight:(0,b.unit)(st),visibility:"hidden",content:'"\\a0"'}},[`${Ee}-selection-item`]:{height:ft.itemHeight,lineHeight:(0,b.unit)(ft.itemLineHeight)},[`${Ee}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(st),marginBlock:Rt}},[`${Ee}-prefix`]:{marginInlineStart:ue.calc(ue.inputPaddingHorizontalBase).sub(ft.basePadding).equal()},[`${ot}-item + ${ot}-item, + ${Ee}-prefix + ${Ee}-selection-wrap + `]:{[`${Ee}-selection-search`]:{marginInlineStart:0},[`${Ee}-selection-placeholder`]:{insetInlineStart:0}},[`${ot}-item-suffix`]:{minHeight:ft.itemHeight,marginBlock:Rt},[`${Ee}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:ue.calc(ue.inputPaddingHorizontalBase).sub(Ue).equal(),"\n &-input,\n &-mirror\n ":{height:st,fontFamily:ue.fontFamily,lineHeight:(0,b.unit)(st),transition:`all ${ue.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Ee}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:ue.calc(ue.inputPaddingHorizontalBase).sub(ft.basePadding).equal(),insetInlineEnd:ue.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${ue.motionDurationSlow}`}})}};function Ve(ue,$e){const{componentCls:Ee}=ue,Rt=$e?`${Ee}-${$e}`:"",ot={[`${Ee}-multiple${Rt}`]:{fontSize:ue.fontSize,[`${Ee}-selector`]:{[`${Ee}-show-search&`]:{cursor:"text"}},[` + &${Ee}-show-arrow ${Ee}-selector, + &${Ee}-allow-clear ${Ee}-selector + `]:{paddingInlineEnd:ue.calc(ue.fontSizeIcon).add(ue.controlPaddingHorizontal).equal()}}};return[be(ue,$e),ot]}const Ie=ue=>{const{componentCls:$e}=ue,Ee=(0,ce.mergeToken)(ue,{selectHeight:ue.controlHeightSM,multipleSelectItemHeight:ue.multipleItemHeightSM,borderRadius:ue.borderRadiusSM,borderRadiusSM:ue.borderRadiusXS}),Rt=(0,ce.mergeToken)(ue,{fontSize:ue.fontSizeLG,selectHeight:ue.controlHeightLG,multipleSelectItemHeight:ue.multipleItemHeightLG,borderRadius:ue.borderRadiusLG,borderRadiusSM:ue.borderRadius});return[Ve(ue),Ve(Ee,"sm"),{[`${$e}-multiple${$e}-sm`]:{[`${$e}-selection-placeholder`]:{insetInline:ue.calc(ue.controlPaddingHorizontalSM).sub(ue.lineWidth).equal()},[`${$e}-selection-search`]:{marginInlineStart:2}}},Ve(Rt,"lg")]};rn.ZP=Ie},68525:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});var b=ee(59301),Me=ee(40001),ce=ee(19248),et=ee(99267),Pe=ee(84105),pe=ee(58617),be=ee(47472);function Ve(Ie){let{suffixIcon:ue,clearIcon:$e,menuItemSelectedIcon:Ee,removeIcon:Rt,loading:ot,multiple:st,hasFeedback:Ue,prefixCls:Re,showSuffixIcon:ft,feedbackIcon:kt,showArrow:en,componentName:Qe}=Ie;const Ae=$e!=null?$e:b.createElement(ce.Z,null),tt=ht=>ue===null&&!Ue&&!en?null:b.createElement(b.Fragment,null,ft!==!1&&ht,Ue&&kt);let nt=null;if(ue!==void 0)nt=tt(ue);else if(ot)nt=tt(b.createElement(pe.Z,{spin:!0}));else{const ht=`${Re}-suffix`;nt=Ct=>{let{open:De,showSearch:ke}=Ct;return tt(De&&ke?b.createElement(be.Z,{className:ht}):b.createElement(Pe.Z,{className:ht}))}}let zt=null;Ee!==void 0?zt=Ee:st?zt=b.createElement(Me.Z,null):zt=null;let Ot=null;return Rt!==void 0?Ot=Rt:Ot=b.createElement(et.Z,null),{clearIcon:Ae,suffixIcon:nt,itemIcon:zt,removeIcon:Ot}}},90005:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return b}});function b(Me,ce){return ce!==void 0?ce:Me!==null}},11938:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return Ct}});var b=ee(59301),Me=ee(40192),ce=ee(22703),et=ee(92310),Pe=ee.n(et),pe=ee(26112),be=ee(48755),Ve=ee(458),ue=De=>{const{value:ke,formatter:xe,precision:se,decimalSeparator:It,groupSeparator:_e="",prefixCls:Ye}=De;let Ft;if(typeof xe=="function")Ft=xe(ke);else{const Ce=String(ke),he=Ce.match(/^(-?)(\d*)(\.(\d+))?$/);if(!he||Ce==="-")Ft=Ce;else{const yt=he[1];let Vt=he[2]||"0",Lt=he[4]||"";Vt=Vt.replace(/\B(?=(\d{3})+(?!\d))/g,_e),typeof se=="number"&&(Lt=Lt.padEnd(se,"0").slice(0,se>0?se:0)),Lt&&(Lt=`${It}${Lt}`),Ft=[b.createElement("span",{key:"int",className:`${Ye}-content-value-int`},yt,Vt),Lt&&b.createElement("span",{key:"decimal",className:`${Ye}-content-value-decimal`},Lt)]}}return b.createElement("span",{className:`${Ye}-content-value`},Ft)},$e=ee(63356),Ee=ee(16931),Rt=ee(51636);const ot=De=>{const{componentCls:ke,marginXXS:xe,padding:se,colorTextDescription:It,titleFontSize:_e,colorTextHeading:Ye,contentFontSize:Ft,fontFamily:Ce}=De;return{[ke]:Object.assign(Object.assign({},(0,$e.Wf)(De)),{[`${ke}-title`]:{marginBottom:xe,color:It,fontSize:_e},[`${ke}-skeleton`]:{paddingTop:se},[`${ke}-content`]:{color:Ye,fontSize:Ft,fontFamily:Ce,[`${ke}-content-value`]:{display:"inline-block",direction:"ltr"},[`${ke}-content-prefix, ${ke}-content-suffix`]:{display:"inline-block"},[`${ke}-content-prefix`]:{marginInlineEnd:xe},[`${ke}-content-suffix`]:{marginInlineStart:xe}}})}},st=De=>{const{fontSizeHeading3:ke,fontSize:xe}=De;return{titleFontSize:xe,contentFontSize:ke}};var Ue=(0,Ee.I$)("Statistic",De=>{const ke=(0,Rt.mergeToken)(De,{});return[ot(ke)]},st),Re=function(De,ke){var xe={};for(var se in De)Object.prototype.hasOwnProperty.call(De,se)&&ke.indexOf(se)<0&&(xe[se]=De[se]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,se=Object.getOwnPropertySymbols(De);It{const{prefixCls:ke,className:xe,rootClassName:se,style:It,valueStyle:_e,value:Ye=0,title:Ft,valueRender:Ce,prefix:he,suffix:yt,loading:Vt=!1,formatter:Lt,precision:me,decimalSeparator:qe=".",groupSeparator:it=",",onMouseEnter:Xt,onMouseLeave:Xe}=De,Gt=Re(De,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:Fe,direction:dn,className:$t,style:ae}=(0,be.dj)("statistic"),ne=Fe("statistic",ke),[te,ie,de]=Ue(ne),re=b.createElement(ue,{decimalSeparator:qe,groupSeparator:it,prefixCls:ne,formatter:Lt,precision:me,value:Ye}),le=Pe()(ne,{[`${ne}-rtl`]:dn==="rtl"},$t,xe,se,ie,de),Se=(0,pe.Z)(Gt,{aria:!0,data:!0});return te(b.createElement("div",Object.assign({},Se,{className:le,style:Object.assign(Object.assign({},ae),It),onMouseEnter:Xt,onMouseLeave:Xe}),Ft&&b.createElement("div",{className:`${ne}-title`},Ft),b.createElement(Ve.Z,{paragraph:!1,loading:Vt,className:`${ne}-skeleton`},b.createElement("div",{style:_e,className:`${ne}-content`},he&&b.createElement("span",{className:`${ne}-content-prefix`},he),Ce?Ce(re):re,yt&&b.createElement("span",{className:`${ne}-content-suffix`},yt)))))};const en=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function Qe(De,ke){let xe=De;const se=/\[[^\]]*]/g,It=(ke.match(se)||[]).map(Ce=>Ce.slice(1,-1)),_e=ke.replace(se,"[]"),Ye=en.reduce((Ce,he)=>{let[yt,Vt]=he;if(Ce.includes(yt)){const Lt=Math.floor(xe/Vt);return xe-=Lt*Vt,Ce.replace(new RegExp(`${yt}+`,"g"),me=>{const qe=me.length;return Lt.toString().padStart(qe,"0")})}return Ce},_e);let Ft=0;return Ye.replace(se,()=>{const Ce=It[Ft];return Ft+=1,Ce})}function Ae(De,ke){const{format:xe=""}=ke,se=new Date(De).getTime(),It=Date.now(),_e=Math.max(se-It,0);return Qe(_e,xe)}var tt=function(De,ke){var xe={};for(var se in De)Object.prototype.hasOwnProperty.call(De,se)&&ke.indexOf(se)<0&&(xe[se]=De[se]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var It=0,se=Object.getOwnPropertySymbols(De);It{const{value:ke,format:xe="HH:mm:ss",onChange:se,onFinish:It}=De,_e=tt(De,["value","format","onChange","onFinish"]),Ye=(0,Me.Z)(),Ft=b.useRef(null),Ce=()=>{It==null||It(),Ft.current&&(clearInterval(Ft.current),Ft.current=null)},he=()=>{const Lt=zt(ke);Lt>=Date.now()&&(Ft.current=setInterval(()=>{Ye(),se==null||se(Lt-Date.now()),Lt(he(),()=>{Ft.current&&(clearInterval(Ft.current),Ft.current=null)}),[ke]);const yt=(Lt,me)=>Ae(Lt,Object.assign(Object.assign({},me),{format:xe})),Vt=Lt=>(0,ce.Tm)(Lt,{title:void 0});return b.createElement(kt,Object.assign({},_e,{value:ke,valueRender:Vt,formatter:yt}))};var ht=b.memo(Ot);kt.Countdown=ht;var Ct=kt},58755:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return It}});var b=ee(59301),Me=ee(58617),ce=ee(92310),et=ee.n(ce),Pe=ee(60499),pe=ee(18642),be=ee(72190),Ve=ee(42244),Ie=ee(18929),ue=ee(10228),$e=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Ee=b.forwardRef(function(_e,Ye){var Ft,Ce=_e.prefixCls,he=Ce===void 0?"rc-switch":Ce,yt=_e.className,Vt=_e.checked,Lt=_e.defaultChecked,me=_e.disabled,qe=_e.loadingIcon,it=_e.checkedChildren,Xt=_e.unCheckedChildren,Xe=_e.onClick,Gt=_e.onChange,Fe=_e.onKeyDown,dn=(0,Ve.Z)(_e,$e),$t=(0,Ie.Z)(!1,{value:Vt,defaultValue:Lt}),ae=(0,be.Z)($t,2),ne=ae[0],te=ae[1];function ie(Se,Ge){var He=ne;return me||(He=Se,te(He),Gt==null||Gt(He,Ge)),He}function de(Se){Se.which===ue.Z.LEFT?ie(!1,Se):Se.which===ue.Z.RIGHT&&ie(!0,Se),Fe==null||Fe(Se)}function re(Se){var Ge=ie(!ne,Se);Xe==null||Xe(Ge,Se)}var le=et()(he,yt,(Ft={},(0,pe.Z)(Ft,"".concat(he,"-checked"),ne),(0,pe.Z)(Ft,"".concat(he,"-disabled"),me),Ft));return b.createElement("button",(0,Pe.Z)({},dn,{type:"button",role:"switch","aria-checked":ne,disabled:me,className:le,ref:Ye,onKeyDown:de,onClick:re}),qe,b.createElement("span",{className:"".concat(he,"-inner")},b.createElement("span",{className:"".concat(he,"-inner-checked")},it),b.createElement("span",{className:"".concat(he,"-inner-unchecked")},Xt)))});Ee.displayName="Switch";var Rt=Ee,ot=ee(12919),st=ee(48755),Ue=ee(2171),Re=ee(31756),ft=ee(36237),kt=ee(17835),en=ee(63356),Qe=ee(16931),Ae=ee(51636);const tt=_e=>{const{componentCls:Ye,trackHeightSM:Ft,trackPadding:Ce,trackMinWidthSM:he,innerMinMarginSM:yt,innerMaxMarginSM:Vt,handleSizeSM:Lt,calc:me}=_e,qe=`${Ye}-inner`,it=(0,ft.unit)(me(Lt).add(me(Ce).mul(2)).equal()),Xt=(0,ft.unit)(me(Vt).mul(2).equal());return{[Ye]:{[`&${Ye}-small`]:{minWidth:he,height:Ft,lineHeight:(0,ft.unit)(Ft),[`${Ye}-inner`]:{paddingInlineStart:Vt,paddingInlineEnd:yt,[`${qe}-checked, ${qe}-unchecked`]:{minHeight:Ft},[`${qe}-checked`]:{marginInlineStart:`calc(-100% + ${it} - ${Xt})`,marginInlineEnd:`calc(100% - ${it} + ${Xt})`},[`${qe}-unchecked`]:{marginTop:me(Ft).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Ye}-handle`]:{width:Lt,height:Lt},[`${Ye}-loading-icon`]:{top:me(me(Lt).sub(_e.switchLoadingIconSize)).div(2).equal(),fontSize:_e.switchLoadingIconSize},[`&${Ye}-checked`]:{[`${Ye}-inner`]:{paddingInlineStart:yt,paddingInlineEnd:Vt,[`${qe}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${qe}-unchecked`]:{marginInlineStart:`calc(100% - ${it} + ${Xt})`,marginInlineEnd:`calc(-100% + ${it} - ${Xt})`}},[`${Ye}-handle`]:{insetInlineStart:`calc(100% - ${(0,ft.unit)(me(Lt).add(Ce).equal())})`}},[`&:not(${Ye}-disabled):active`]:{[`&:not(${Ye}-checked) ${qe}`]:{[`${qe}-unchecked`]:{marginInlineStart:me(_e.marginXXS).div(2).equal(),marginInlineEnd:me(_e.marginXXS).mul(-1).div(2).equal()}},[`&${Ye}-checked ${qe}`]:{[`${qe}-checked`]:{marginInlineStart:me(_e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:me(_e.marginXXS).div(2).equal()}}}}}}},nt=_e=>{const{componentCls:Ye,handleSize:Ft,calc:Ce}=_e;return{[Ye]:{[`${Ye}-loading-icon${_e.iconCls}`]:{position:"relative",top:Ce(Ce(Ft).sub(_e.fontSize)).div(2).equal(),color:_e.switchLoadingIconColor,verticalAlign:"top"},[`&${Ye}-checked ${Ye}-loading-icon`]:{color:_e.switchColor}}}},zt=_e=>{const{componentCls:Ye,trackPadding:Ft,handleBg:Ce,handleShadow:he,handleSize:yt,calc:Vt}=_e,Lt=`${Ye}-handle`;return{[Ye]:{[Lt]:{position:"absolute",top:Ft,insetInlineStart:Ft,width:yt,height:yt,transition:`all ${_e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Ce,borderRadius:Vt(yt).div(2).equal(),boxShadow:he,transition:`all ${_e.switchDuration} ease-in-out`,content:'""'}},[`&${Ye}-checked ${Lt}`]:{insetInlineStart:`calc(100% - ${(0,ft.unit)(Vt(yt).add(Ft).equal())})`},[`&:not(${Ye}-disabled):active`]:{[`${Lt}::before`]:{insetInlineEnd:_e.switchHandleActiveInset,insetInlineStart:0},[`&${Ye}-checked ${Lt}::before`]:{insetInlineEnd:0,insetInlineStart:_e.switchHandleActiveInset}}}}},Ot=_e=>{const{componentCls:Ye,trackHeight:Ft,trackPadding:Ce,innerMinMargin:he,innerMaxMargin:yt,handleSize:Vt,calc:Lt}=_e,me=`${Ye}-inner`,qe=(0,ft.unit)(Lt(Vt).add(Lt(Ce).mul(2)).equal()),it=(0,ft.unit)(Lt(yt).mul(2).equal());return{[Ye]:{[me]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:yt,paddingInlineEnd:he,transition:`padding-inline-start ${_e.switchDuration} ease-in-out, padding-inline-end ${_e.switchDuration} ease-in-out`,[`${me}-checked, ${me}-unchecked`]:{display:"block",color:_e.colorTextLightSolid,fontSize:_e.fontSizeSM,transition:`margin-inline-start ${_e.switchDuration} ease-in-out, margin-inline-end ${_e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Ft},[`${me}-checked`]:{marginInlineStart:`calc(-100% + ${qe} - ${it})`,marginInlineEnd:`calc(100% - ${qe} + ${it})`},[`${me}-unchecked`]:{marginTop:Lt(Ft).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Ye}-checked ${me}`]:{paddingInlineStart:he,paddingInlineEnd:yt,[`${me}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${me}-unchecked`]:{marginInlineStart:`calc(100% - ${qe} + ${it})`,marginInlineEnd:`calc(-100% + ${qe} - ${it})`}},[`&:not(${Ye}-disabled):active`]:{[`&:not(${Ye}-checked) ${me}`]:{[`${me}-unchecked`]:{marginInlineStart:Lt(Ce).mul(2).equal(),marginInlineEnd:Lt(Ce).mul(-1).mul(2).equal()}},[`&${Ye}-checked ${me}`]:{[`${me}-checked`]:{marginInlineStart:Lt(Ce).mul(-1).mul(2).equal(),marginInlineEnd:Lt(Ce).mul(2).equal()}}}}}},ht=_e=>{const{componentCls:Ye,trackHeight:Ft,trackMinWidth:Ce}=_e;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,en.Wf)(_e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Ce,height:Ft,lineHeight:(0,ft.unit)(Ft),verticalAlign:"middle",background:_e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${_e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ye}-disabled)`]:{background:_e.colorTextTertiary}}),(0,en.Qy)(_e)),{[`&${Ye}-checked`]:{background:_e.switchColor,[`&:hover:not(${Ye}-disabled)`]:{background:_e.colorPrimaryHover}},[`&${Ye}-loading, &${Ye}-disabled`]:{cursor:"not-allowed",opacity:_e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ye}-rtl`]:{direction:"rtl"}})}},Ct=_e=>{const{fontSize:Ye,lineHeight:Ft,controlHeight:Ce,colorWhite:he}=_e,yt=Ye*Ft,Vt=Ce/2,Lt=2,me=yt-Lt*2,qe=Vt-Lt*2;return{trackHeight:yt,trackHeightSM:Vt,trackMinWidth:me*2+Lt*4,trackMinWidthSM:qe*2+Lt*2,trackPadding:Lt,handleBg:he,handleSize:me,handleSizeSM:qe,handleShadow:`0 2px 4px 0 ${new kt.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:me/2,innerMaxMargin:me+Lt+Lt*2,innerMinMarginSM:qe/2,innerMaxMarginSM:qe+Lt+Lt*2}};var De=(0,Qe.I$)("Switch",_e=>{const Ye=(0,Ae.mergeToken)(_e,{switchDuration:_e.motionDurationMid,switchColor:_e.colorPrimary,switchDisabledOpacity:_e.opacityLoading,switchLoadingIconSize:_e.calc(_e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${_e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ht(Ye),Ot(Ye),zt(Ye),nt(Ye),tt(Ye)]},Ct),ke=function(_e,Ye){var Ft={};for(var Ce in _e)Object.prototype.hasOwnProperty.call(_e,Ce)&&Ye.indexOf(Ce)<0&&(Ft[Ce]=_e[Ce]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Ce=Object.getOwnPropertySymbols(_e);he{const{prefixCls:Ft,size:Ce,disabled:he,loading:yt,className:Vt,rootClassName:Lt,style:me,checked:qe,value:it,defaultChecked:Xt,defaultValue:Xe,onChange:Gt}=_e,Fe=ke(_e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[dn,$t]=(0,Ie.Z)(!1,{value:qe!=null?qe:it,defaultValue:Xt!=null?Xt:Xe}),{getPrefixCls:ae,direction:ne,switch:te}=b.useContext(st.E_),ie=b.useContext(Ue.Z),de=(he!=null?he:ie)||yt,re=ae("switch",Ft),le=b.createElement("div",{className:`${re}-handle`},yt&&b.createElement(Me.Z,{className:`${re}-loading-icon`})),[Se,Ge,He]=De(re),Le=(0,Re.Z)(Ce),rt=et()(te==null?void 0:te.className,{[`${re}-small`]:Le==="small",[`${re}-loading`]:yt,[`${re}-rtl`]:ne==="rtl"},Vt,Lt,Ge,He),ut=Object.assign(Object.assign({},te==null?void 0:te.style),me),At=function(){$t(arguments.length<=0?void 0:arguments[0]),Gt==null||Gt.apply(void 0,arguments)};return Se(b.createElement(ot.Z,{component:"Switch"},b.createElement(Rt,Object.assign({},Fe,{checked:dn,onChange:At,prefixCls:re,className:rt,style:ut,disabled:de,ref:Ye,loadingIcon:le}))))});se.__ANT_SWITCH=!0;var It=se},70858:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return bc}});var b=ee(59301),Me={},ce="rc-table-internal-hook",et=ee(72190),Pe=ee(6089),pe=ee(34280),be=ee(13697),Ve=ee(4676);function Ie(ye){var ge=b.createContext(void 0),ct=function(qt){var ln=qt.value,Dn=qt.children,yn=b.useRef(ln);yn.current=ln;var Fn=b.useState(function(){return{getValue:function(){return yn.current},listeners:new Set}}),Mn=(0,et.Z)(Fn,1),ar=Mn[0];return(0,pe.Z)(function(){(0,Ve.unstable_batchedUpdates)(function(){ar.listeners.forEach(function(Qn){Qn(ln)})})},[ln]),b.createElement(ge.Provider,{value:ar},Dn)};return{Context:ge,Provider:ct,defaultValue:ye}}function ue(ye,ge){var ct=(0,Pe.Z)(typeof ge=="function"?ge:function(Qn){if(ge===void 0)return Qn;if(!Array.isArray(ge))return Qn[ge];var Yn={};return ge.forEach(function(Kn){Yn[Kn]=Qn[Kn]}),Yn}),Nt=b.useContext(ye==null?void 0:ye.Context),qt=Nt||{},ln=qt.listeners,Dn=qt.getValue,yn=b.useRef();yn.current=ct(Nt?Dn():ye==null?void 0:ye.defaultValue);var Fn=b.useState({}),Mn=(0,et.Z)(Fn,2),ar=Mn[1];return(0,pe.Z)(function(){if(!Nt)return;function Qn(Yn){var Kn=ct(Yn);(0,be.Z)(yn.current,Kn,!0)||ar({})}return ln.add(Qn),function(){ln.delete(Qn)}},[Nt]),yn.current}var $e=ee(60499),Ee=ee(8654);function Rt(){var ye=b.createContext(null);function ge(){return b.useContext(ye)}function ct(qt,ln){var Dn=(0,Ee.Yr)(qt),yn=function(Mn,ar){var Qn=Dn?{ref:ar}:{},Yn=b.useRef(0),Kn=b.useRef(Mn),Wn=ge();return Wn!==null?b.createElement(qt,(0,$e.Z)({},Mn,Qn)):((!ln||ln(Kn.current,Mn))&&(Yn.current+=1),Kn.current=Mn,b.createElement(ye.Provider,{value:Yn.current},b.createElement(qt,(0,$e.Z)({},Mn,Qn))))};return Dn?b.forwardRef(yn):yn}function Nt(qt,ln){var Dn=(0,Ee.Yr)(qt),yn=function(Mn,ar){var Qn=Dn?{ref:ar}:{};return ge(),b.createElement(qt,(0,$e.Z)({},Mn,Qn))};return Dn?b.memo(b.forwardRef(yn),ln):b.memo(yn,ln)}return{makeImmutable:ct,responseImmutable:Nt,useImmutableMark:ge}}var ot=Rt(),st=ot.makeImmutable,Ue=ot.responseImmutable,Re=ot.useImmutableMark,ft=Rt(),kt=ft.makeImmutable,en=ft.responseImmutable,Qe=ft.useImmutableMark,Ae=Ie(),tt=Ae;function nt(ye,ge){var ct=React.useRef(0);ct.current+=1;var Nt=React.useRef(ye),qt=[];Object.keys(ye||{}).map(function(Dn){var yn;(ye==null?void 0:ye[Dn])!==((yn=Nt.current)===null||yn===void 0?void 0:yn[Dn])&&qt.push(Dn)}),Nt.current=ye;var ln=React.useRef([]);return qt.length&&(ln.current=qt),React.useDebugValue(ct.current),React.useDebugValue(ln.current.join(", ")),ge&&console.log("".concat(ge,":"),ct.current,ln.current),ct.current}var zt=null,Ot=null,ht=ee(43749),Ct=ee(85899),De=ee(18642),ke=ee(92310),xe=ee.n(ke),se=ee(80547),It=ee(97938),_e=ee(48736),Ye=b.createContext({renderWithProps:!1}),Ft=Ye,Ce="RC_TABLE_KEY";function he(ye){return ye==null?[]:Array.isArray(ye)?ye:[ye]}function yt(ye){var ge=[],ct={};return ye.forEach(function(Nt){for(var qt=Nt||{},ln=qt.key,Dn=qt.dataIndex,yn=ln||he(Dn).join("-")||Ce;ct[yn];)yn="".concat(yn,"_next");ct[yn]=!0,ge.push(yn)}),ge}function Vt(ye){return ye!=null}function Lt(ye){return typeof ye=="number"&&!Number.isNaN(ye)}function me(ye){return ye&&(0,ht.Z)(ye)==="object"&&!Array.isArray(ye)&&!b.isValidElement(ye)}function qe(ye,ge,ct,Nt,qt,ln){var Dn=b.useContext(Ft),yn=Qe(),Fn=(0,se.Z)(function(){if(Vt(Nt))return[Nt];var Mn=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],ar=(0,It.Z)(ye,Mn),Qn=ar,Yn=void 0;if(qt){var Kn=qt(ar,ye,ct);me(Kn)?(Qn=Kn.children,Yn=Kn.props,Dn.renderWithProps=!0):Qn=Kn}return[Qn,Yn]},[yn,ye,Nt,ge,qt,ct],function(Mn,ar){if(ln){var Qn=(0,et.Z)(Mn,2),Yn=Qn[1],Kn=(0,et.Z)(ar,2),Wn=Kn[1];return ln(Wn,Yn)}return Dn.renderWithProps?!0:!(0,be.Z)(Mn,ar,!0)});return Fn}function it(ye,ge,ct,Nt){var qt=ye+ge-1;return ye<=Nt&&qt>=ct}function Xt(ye,ge){return ue(tt,function(ct){var Nt=it(ye,ge||1,ct.hoverStartRow,ct.hoverEndRow);return[Nt,ct.onHover]})}var Xe=ee(70425),Gt=function(ge){var ct=ge.ellipsis,Nt=ge.rowType,qt=ge.children,ln,Dn=ct===!0?{showTitle:!0}:ct;return Dn&&(Dn.showTitle||Nt==="header")&&(typeof qt=="string"||typeof qt=="number"?ln=qt.toString():b.isValidElement(qt)&&typeof qt.props.children=="string"&&(ln=qt.props.children)),ln};function Fe(ye){var ge,ct,Nt,qt,ln,Dn,yn,Fn,Mn=ye.component,ar=ye.children,Qn=ye.ellipsis,Yn=ye.scope,Kn=ye.prefixCls,Wn=ye.className,Ir=ye.align,fr=ye.record,Nr=ye.render,Lr=ye.dataIndex,Mr=ye.renderIndex,jr=ye.shouldCellUpdate,Yr=ye.index,ao=ye.rowType,no=ye.colSpan,Lo=ye.rowSpan,xo=ye.fixLeft,po=ye.fixRight,Mo=ye.firstFixLeft,lo=ye.lastFixLeft,so=ye.firstFixRight,Kr=ye.lastFixRight,zr=ye.appendNode,oo=ye.additionalProps,co=oo===void 0?{}:oo,Co=ye.isSticky,Ur="".concat(Kn,"-cell"),Ho=ue(tt,["supportSticky","allColumnsFixedLeft","rowHoverable"]),jo=Ho.supportSticky,Fi=Ho.allColumnsFixedLeft,Ni=Ho.rowHoverable,yi=qe(fr,Lr,Mr,ar,Nr,jr),Mi=(0,et.Z)(yi,2),Hi=Mi[0],Wo=Mi[1],Ko={},ji=typeof xo=="number"&&jo,Xi=typeof po=="number"&&jo;ji&&(Ko.position="sticky",Ko.left=xo),Xi&&(Ko.position="sticky",Ko.right=po);var vo=(ge=(ct=(Nt=Wo==null?void 0:Wo.colSpan)!==null&&Nt!==void 0?Nt:co.colSpan)!==null&&ct!==void 0?ct:no)!==null&&ge!==void 0?ge:1,Ao=(qt=(ln=(Dn=Wo==null?void 0:Wo.rowSpan)!==null&&Dn!==void 0?Dn:co.rowSpan)!==null&&ln!==void 0?ln:Lo)!==null&&qt!==void 0?qt:1,ho=Xt(Yr,Ao),ro=(0,et.Z)(ho,2),Yo=ro[0],oi=ro[1],Ei=(0,Xe.zX)(function(di){var si;fr&&oi(Yr,Yr+Ao-1),co==null||(si=co.onMouseEnter)===null||si===void 0||si.call(co,di)}),mi=(0,Xe.zX)(function(di){var si;fr&&oi(-1,-1),co==null||(si=co.onMouseLeave)===null||si===void 0||si.call(co,di)});if(vo===0||Ao===0)return null;var Wi=(yn=co.title)!==null&&yn!==void 0?yn:Gt({rowType:ao,ellipsis:Qn,children:Hi}),ta=xe()(Ur,Wn,(Fn={},(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)(Fn,"".concat(Ur,"-fix-left"),ji&&jo),"".concat(Ur,"-fix-left-first"),Mo&&jo),"".concat(Ur,"-fix-left-last"),lo&&jo),"".concat(Ur,"-fix-left-all"),lo&&Fi&&jo),"".concat(Ur,"-fix-right"),Xi&&jo),"".concat(Ur,"-fix-right-first"),so&&jo),"".concat(Ur,"-fix-right-last"),Kr&&jo),"".concat(Ur,"-ellipsis"),Qn),"".concat(Ur,"-with-append"),zr),"".concat(Ur,"-fix-sticky"),(ji||Xi)&&Co&&jo),(0,De.Z)(Fn,"".concat(Ur,"-row-hover"),!Wo&&Yo)),co.className,Wo==null?void 0:Wo.className),bo={};Ir&&(bo.textAlign=Ir);var Do=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Wo==null?void 0:Wo.style),Ko),bo),co.style),ai=Hi;return(0,ht.Z)(ai)==="object"&&!Array.isArray(ai)&&!b.isValidElement(ai)&&(ai=null),Qn&&(lo||so)&&(ai=b.createElement("span",{className:"".concat(Ur,"-content")},ai)),b.createElement(Mn,(0,$e.Z)({},Wo,co,{className:ta,style:Do,title:Wi,scope:Yn,onMouseEnter:Ni?Ei:void 0,onMouseLeave:Ni?mi:void 0,colSpan:vo!==1?vo:null,rowSpan:Ao!==1?Ao:null}),zr,ai)}var dn=b.memo(Fe);function $t(ye,ge,ct,Nt,qt){var ln=ct[ye]||{},Dn=ct[ge]||{},yn,Fn;ln.fixed==="left"?yn=Nt.left[qt==="rtl"?ge:ye]:Dn.fixed==="right"&&(Fn=Nt.right[qt==="rtl"?ye:ge]);var Mn=!1,ar=!1,Qn=!1,Yn=!1,Kn=ct[ge+1],Wn=ct[ye-1],Ir=Kn&&!Kn.fixed||Wn&&!Wn.fixed||ct.every(function(jr){return jr.fixed==="left"});if(qt==="rtl"){if(yn!==void 0){var fr=Wn&&Wn.fixed==="left";Yn=!fr&&Ir}else if(Fn!==void 0){var Nr=Kn&&Kn.fixed==="right";Qn=!Nr&&Ir}}else if(yn!==void 0){var Lr=Kn&&Kn.fixed==="left";Mn=!Lr&&Ir}else if(Fn!==void 0){var Mr=Wn&&Wn.fixed==="right";ar=!Mr&&Ir}return{fixLeft:yn,fixRight:Fn,lastFixLeft:Mn,firstFixRight:ar,lastFixRight:Qn,firstFixLeft:Yn,isSticky:Nt.isSticky}}var ae=b.createContext({}),ne=ae;function te(ye){var ge=ye.className,ct=ye.index,Nt=ye.children,qt=ye.colSpan,ln=qt===void 0?1:qt,Dn=ye.rowSpan,yn=ye.align,Fn=ue(tt,["prefixCls","direction"]),Mn=Fn.prefixCls,ar=Fn.direction,Qn=b.useContext(ne),Yn=Qn.scrollColumnIndex,Kn=Qn.stickyOffsets,Wn=Qn.flattenColumns,Ir=ct+ln-1,fr=Ir+1===Yn?ln+1:ln,Nr=$t(ct,ct+fr-1,Wn,Kn,ar);return b.createElement(dn,(0,$e.Z)({className:ge,index:ct,component:"td",prefixCls:Mn,record:null,dataIndex:null,align:yn,colSpan:fr,rowSpan:Dn,render:function(){return Nt}},Nr))}var ie=ee(42244),de=["children"];function re(ye){var ge=ye.children,ct=(0,ie.Z)(ye,de);return b.createElement("tr",ct,ge)}function le(ye){var ge=ye.children;return ge}le.Row=re,le.Cell=te;var Se=le;function Ge(ye){var ge=ye.children,ct=ye.stickyOffsets,Nt=ye.flattenColumns,qt=ue(tt,"prefixCls"),ln=Nt.length-1,Dn=Nt[ln],yn=b.useMemo(function(){return{stickyOffsets:ct,flattenColumns:Nt,scrollColumnIndex:Dn!=null&&Dn.scrollbar?ln:null}},[Dn,Nt,ln,ct]);return b.createElement(ne.Provider,{value:yn},b.createElement("tfoot",{className:"".concat(qt,"-summary")},ge))}var He=en(Ge),Le=Se,rt=ee(29301),ut=ee(24514),At=ee(75152),Ne=ee(26112);function Be(ye,ge,ct,Nt,qt,ln,Dn){ye.push({record:ge,indent:ct,index:Dn});var yn=ln(ge),Fn=qt==null?void 0:qt.has(yn);if(ge&&Array.isArray(ge[Nt])&&Fn)for(var Mn=0;Mn1?Mo-1:0),so=1;so=1)),style:(0,Ct.Z)((0,Ct.Z)({},ct),Nr==null?void 0:Nr.style)}),Wn.map(function(xo,po){var Mo=xo.render,lo=xo.dataIndex,so=xo.className,Kr=Je(Yn,xo,po,Fn,qt),zr=Kr.key,oo=Kr.fixedInfo,co=Kr.appendCellNode,Co=Kr.additionalCellProps;return b.createElement(dn,(0,$e.Z)({className:so,ellipsis:xo.ellipsis,align:xo.align,scope:xo.rowScope,component:xo.rowScope?Qn:ar,prefixCls:Kn,key:zr,record:Nt,index:qt,renderIndex:ln,dataIndex:lo,render:Mo,shouldCellUpdate:xo.shouldCellUpdate},oo,{appendNode:co,additionalProps:Co}))})),no;if(Mr&&(jr.current||Lr)){var Lo=fr(Nt,qt,Fn+1,Lr);no=b.createElement(vn,{expanded:Lr,className:xe()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(Fn+1),Yr),prefixCls:Kn,component:Mn,cellComponent:ar,colSpan:Wn.length,isEmpty:!1},Lo)}return b.createElement(b.Fragment,null,ao,no)}var an=en(Tt);function _t(ye){var ge=ye.columnKey,ct=ye.onColumnResize,Nt=b.useRef();return(0,pe.Z)(function(){Nt.current&&ct(ge,Nt.current.offsetWidth)},[]),b.createElement(rt.Z,{data:ge},b.createElement("td",{ref:Nt,style:{padding:0,border:0,height:0}},b.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var je=ee(29194);function Pt(ye){var ge=ye.prefixCls,ct=ye.columnsKey,Nt=ye.onColumnResize,qt=b.useRef(null);return b.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0},ref:qt},b.createElement(rt.Z.Collection,{onBatchResize:function(Dn){(0,je.Z)(qt.current)&&Dn.forEach(function(yn){var Fn=yn.data,Mn=yn.size;Nt(Fn,Mn.offsetWidth)})}},ct.map(function(ln){return b.createElement(_t,{key:ln,columnKey:ln,onColumnResize:Nt})})))}function Kt(ye){var ge=ye.data,ct=ye.measureColumnWidth,Nt=ue(tt,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),qt=Nt.prefixCls,ln=Nt.getComponent,Dn=Nt.onColumnResize,yn=Nt.flattenColumns,Fn=Nt.getRowKey,Mn=Nt.expandedKeys,ar=Nt.childrenColumnName,Qn=Nt.emptyNode,Yn=Ut(ge,ar,Mn,Fn),Kn=b.useRef({renderWithProps:!1}),Wn=ln(["body","wrapper"],"tbody"),Ir=ln(["body","row"],"tr"),fr=ln(["body","cell"],"td"),Nr=ln(["body","cell"],"th"),Lr;ge.length?Lr=Yn.map(function(jr,Yr){var ao=jr.record,no=jr.indent,Lo=jr.index,xo=Fn(ao,Yr);return b.createElement(an,{key:xo,rowKey:xo,record:ao,index:Yr,renderIndex:Lo,rowComponent:Ir,cellComponent:fr,scopeCellComponent:Nr,indent:no})}):Lr=b.createElement(vn,{expanded:!0,className:"".concat(qt,"-placeholder"),prefixCls:qt,component:Ir,cellComponent:fr,colSpan:yn.length,isEmpty:!0},Qn);var Mr=yt(yn);return b.createElement(Ft.Provider,{value:Kn.current},b.createElement(Wn,{className:"".concat(qt,"-tbody")},ct&&b.createElement(Pt,{prefixCls:qt,columnsKey:Mr,onColumnResize:Dn}),Lr))}var nn=en(Kt),On=["expandable"],_n="RC_TABLE_INTERNAL_COL_DEFINE";function nr(ye){var ge=ye.expandable,ct=(0,ie.Z)(ye,On),Nt;return"expandable"in ye?Nt=(0,Ct.Z)((0,Ct.Z)({},ct),ge):Nt=ct,Nt.showExpandColumn===!1&&(Nt.expandIconColumnIndex=-1),Nt}var ir=["columnType"];function Zn(ye){for(var ge=ye.colWidths,ct=ye.columns,Nt=ye.columCount,qt=ue(tt,["tableLayout"]),ln=qt.tableLayout,Dn=[],yn=Nt||ct.length,Fn=!1,Mn=yn-1;Mn>=0;Mn-=1){var ar=ge[Mn],Qn=ct&&ct[Mn],Yn=void 0,Kn=void 0;if(Qn&&(Yn=Qn[_n],ln==="auto"&&(Kn=Qn.minWidth)),ar||Kn||Yn||Fn){var Wn=Yn||{},Ir=Wn.columnType,fr=(0,ie.Z)(Wn,ir);Dn.unshift(b.createElement("col",(0,$e.Z)({key:Mn,style:{width:ar,minWidth:Kn}},fr))),Fn=!0}}return b.createElement("colgroup",null,Dn)}var er=Zn,kn=ee(77654),cn=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function bn(ye,ge){return(0,b.useMemo)(function(){for(var ct=[],Nt=0;Nt1?"colgroup":"col":null,ellipsis:fr.ellipsis,align:fr.align,component:Dn,prefixCls:ar,key:Kn[Ir]},Nr,{additionalProps:Lr,rowType:"header"}))}))},Pn=sn;function Tn(ye){var ge=[];function ct(Dn,yn){var Fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[Fn]=ge[Fn]||[];var Mn=yn,ar=Dn.filter(Boolean).map(function(Qn){var Yn={key:Qn.key,className:Qn.className||"",children:Qn.title,column:Qn,colStart:Mn},Kn=1,Wn=Qn.children;return Wn&&Wn.length>0&&(Kn=ct(Wn,Mn,Fn+1).reduce(function(Ir,fr){return Ir+fr},0),Yn.hasSubColumns=!0),"colSpan"in Qn&&(Kn=Qn.colSpan),"rowSpan"in Qn&&(Yn.rowSpan=Qn.rowSpan),Yn.colSpan=Kn,Yn.colEnd=Yn.colStart+Kn-1,ge[Fn].push(Yn),Mn+=Kn,Kn});return ar}ct(ye,0);for(var Nt=ge.length,qt=function(yn){ge[yn].forEach(function(Fn){!("rowSpan"in Fn)&&!Fn.hasSubColumns&&(Fn.rowSpan=Nt-yn)})},ln=0;ln1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?ye*parseFloat(ge)/100:null}function An(ye,ge,ct){return b.useMemo(function(){if(ge&&ge>0){var Nt=0,qt=0;ye.forEach(function(Yn){var Kn=Nn(ge,Yn.width);Kn?Nt+=Kn:qt+=1});var ln=Math.max(ge,ct),Dn=Math.max(ln-Nt,qt),yn=qt,Fn=Dn/qt,Mn=0,ar=ye.map(function(Yn){var Kn=(0,Ct.Z)({},Yn),Wn=Nn(ge,Kn.width);if(Wn)Kn.width=Wn;else{var Ir=Math.floor(Fn);Kn.width=yn===1?Dn:Ir,Dn-=Ir,yn-=1}return Mn+=Kn.width,Kn});if(Mn0?(0,Ct.Z)((0,Ct.Z)({},ge),{},{children:xn(ct)}):ge})}function Vn(ye){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ye.filter(function(ct){return ct&&(0,ht.Z)(ct)==="object"}).reduce(function(ct,Nt,qt){var ln=Nt.fixed,Dn=ln===!0?"left":ln,yn="".concat(ge,"-").concat(qt),Fn=Nt.children;return Fn&&Fn.length>0?[].concat((0,kn.Z)(ct),(0,kn.Z)(Vn(Fn,yn).map(function(Mn){return(0,Ct.Z)({fixed:Dn},Mn)}))):[].concat((0,kn.Z)(ct),[(0,Ct.Z)((0,Ct.Z)({key:yn},Nt),{},{fixed:Dn})])},[])}function jn(ye){return ye.map(function(ge){var ct=ge.fixed,Nt=(0,ie.Z)(ge,Qt),qt=ct;return ct==="left"?qt="right":ct==="right"&&(qt="left"),(0,Ct.Z)({fixed:qt},Nt)})}function vt(ye,ge){var ct=ye.prefixCls,Nt=ye.columns,qt=ye.children,ln=ye.expandable,Dn=ye.expandedKeys,yn=ye.columnTitle,Fn=ye.getRowKey,Mn=ye.onTriggerExpand,ar=ye.expandIcon,Qn=ye.rowExpandable,Yn=ye.expandIconColumnIndex,Kn=ye.direction,Wn=ye.expandRowByClick,Ir=ye.columnWidth,fr=ye.fixed,Nr=ye.scrollWidth,Lr=ye.clientWidth,Mr=b.useMemo(function(){var lo=Nt||Yt(qt)||[];return xn(lo.slice())},[Nt,qt]),jr=b.useMemo(function(){if(ln){var lo=Mr.slice();if(!lo.includes(Me)){var so=Yn||0;so>=0&&(so||fr==="left"||!fr)&&lo.splice(so,0,Me),fr==="right"&&lo.splice(Mr.length,0,Me)}var Kr=lo.indexOf(Me);lo=lo.filter(function(Co,Ur){return Co!==Me||Ur===Kr});var zr=Mr[Kr],oo;fr?oo=fr:oo=zr?zr.fixed:null;var co=(0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)((0,De.Z)({},_n,{className:"".concat(ct,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",yn),"fixed",oo),"className","".concat(ct,"-row-expand-icon-cell")),"width",Ir),"render",function(Ur,Ho,jo){var Fi=Fn(Ho,jo),Ni=Dn.has(Fi),yi=Qn?Qn(Ho):!0,Mi=ar({prefixCls:ct,expanded:Ni,expandable:yi,record:Ho,onExpand:Mn});return Wn?b.createElement("span",{onClick:function(Wo){return Wo.stopPropagation()}},Mi):Mi});return lo.map(function(Co){return Co===Me?co:Co})}return Mr.filter(function(Co){return Co!==Me})},[ln,Mr,Fn,Dn,ar,Kn]),Yr=b.useMemo(function(){var lo=jr;return ge&&(lo=ge(lo)),lo.length||(lo=[{render:function(){return null}}]),lo},[ge,jr,Kn]),ao=b.useMemo(function(){return Kn==="rtl"?jn(Vn(Yr)):Vn(Yr)},[Yr,Kn,Nr]),no=b.useMemo(function(){for(var lo=-1,so=ao.length-1;so>=0;so-=1){var Kr=ao[so].fixed;if(Kr==="left"||Kr===!0){lo=so;break}}if(lo>=0)for(var zr=0;zr<=lo;zr+=1){var oo=ao[zr].fixed;if(oo!=="left"&&oo!==!0)return!0}var co=ao.findIndex(function(Ho){var jo=Ho.fixed;return jo==="right"});if(co>=0)for(var Co=co;Co=co-yn?Lr(function(Co){return(0,Ct.Z)((0,Ct.Z)({},Co),{},{isHiddenScrollBar:!0})}):Lr(function(Co){return(0,Ct.Z)((0,Ct.Z)({},Co),{},{isHiddenScrollBar:!1})})}})},so=function(zr){Lr(function(oo){return(0,Ct.Z)((0,Ct.Z)({},oo),{},{scrollLeft:zr/Qn*Yn||0})})};return b.useImperativeHandle(ct,function(){return{setScrollLeft:so,checkScrollBarVisible:lo}}),b.useEffect(function(){var Kr=(0,In.Z)(document.body,"mouseup",xo,!1),zr=(0,In.Z)(document.body,"mousemove",Mo,!1);return lo(),function(){Kr.remove(),zr.remove()}},[Kn,ao]),b.useEffect(function(){if(ln.current){for(var Kr=[],zr=(0,Sn.bn)(ln.current);zr;)Kr.push(zr),zr=zr.parentElement;return Kr.forEach(function(oo){return oo.addEventListener("scroll",lo,!1)}),window.addEventListener("resize",lo,!1),window.addEventListener("scroll",lo,!1),Fn.addEventListener("scroll",lo,!1),function(){Kr.forEach(function(oo){return oo.removeEventListener("scroll",lo)}),window.removeEventListener("resize",lo),window.removeEventListener("scroll",lo),Fn.removeEventListener("scroll",lo)}}},[Fn]),b.useEffect(function(){Nr.isHiddenScrollBar||Lr(function(Kr){var zr=ln.current;return zr?(0,Ct.Z)((0,Ct.Z)({},Kr),{},{scrollLeft:zr.scrollLeft/zr.scrollWidth*zr.clientWidth}):Kr})},[Nr.isHiddenScrollBar]),Qn<=Yn||!Kn||Nr.isHiddenScrollBar?null:b.createElement("div",{style:{height:(0,At.Z)(),width:Yn,bottom:yn},className:"".concat(ar,"-sticky-scroll")},b.createElement("div",{onMouseDown:po,ref:Wn,className:xe()("".concat(ar,"-sticky-scroll-bar"),(0,De.Z)({},"".concat(ar,"-sticky-scroll-bar-active"),ao)),style:{width:"".concat(Kn,"px"),transform:"translate3d(".concat(Nr.scrollLeft,"px, 0, 0)")}}))},ur=b.forwardRef(qn);function tr(ye){return null}var Xn=tr;function or(ye){return null}var dr=or,br="rc-table",vr=[],Tr={};function Br(){return"No Data"}function cr(ye,ge){var ct=(0,Ct.Z)({rowKey:"key",prefixCls:br,emptyText:Br},ye),Nt=ct.prefixCls,qt=ct.className,ln=ct.rowClassName,Dn=ct.style,yn=ct.data,Fn=ct.rowKey,Mn=ct.scroll,ar=ct.tableLayout,Qn=ct.direction,Yn=ct.title,Kn=ct.footer,Wn=ct.summary,Ir=ct.caption,fr=ct.id,Nr=ct.showHeader,Lr=ct.components,Mr=ct.emptyText,jr=ct.onRow,Yr=ct.onHeaderRow,ao=ct.onScroll,no=ct.internalHooks,Lo=ct.transformColumns,xo=ct.internalRefs,po=ct.tailor,Mo=ct.getContainerWidth,lo=ct.sticky,so=ct.rowHoverable,Kr=so===void 0?!0:so,zr=yn||vr,oo=!!zr.length,co=no===ce,Co=b.useCallback(function(ti,ii){return(0,It.Z)(Lr,ti)||ii},[Lr]),Ur=b.useMemo(function(){return typeof Fn=="function"?Fn:function(ti){var ii=ti&&ti[Fn];return ii}},[Fn]),Ho=Co(["body"]),jo=Ht(),Fi=(0,et.Z)(jo,3),Ni=Fi[0],yi=Fi[1],Mi=Fi[2],Hi=Te(ct,zr,Ur),Wo=(0,et.Z)(Hi,6),Ko=Wo[0],ji=Wo[1],Xi=Wo[2],vo=Wo[3],Ao=Wo[4],ho=Wo[5],ro=Mn==null?void 0:Mn.x,Yo=b.useState(0),oi=(0,et.Z)(Yo,2),Ei=oi[0],mi=oi[1],Wi=Dt((0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},ct),Ko),{},{expandable:!!Ko.expandedRowRender,columnTitle:Ko.columnTitle,expandedKeys:Xi,getRowKey:Ur,onTriggerExpand:ho,expandIcon:vo,expandIconColumnIndex:Ko.expandIconColumnIndex,direction:Qn,scrollWidth:co&&po&&typeof ro=="number"?ro:null,clientWidth:Ei}),co?Lo:null),ta=(0,et.Z)(Wi,4),bo=ta[0],Do=ta[1],ai=ta[2],di=ta[3],si=ai!=null?ai:ro,da=b.useMemo(function(){return{columns:bo,flattenColumns:Do}},[bo,Do]),_i=b.useRef(),Fa=b.useRef(),Ti=b.useRef(),qo=b.useRef();b.useImperativeHandle(ge,function(){return{nativeElement:_i.current,scrollTo:function(ii){var Ea;if(Ti.current instanceof HTMLElement){var Ga=ii.index,Ia=ii.top,_l=ii.key;if(Lt(Ia)){var Sl;(Sl=Ti.current)===null||Sl===void 0||Sl.scrollTo({top:Ia})}else{var fl,Kl=_l!=null?_l:Ur(zr[Ga]);(fl=Ti.current.querySelector('[data-row-key="'.concat(Kl,'"]')))===null||fl===void 0||fl.scrollIntoView()}}else(Ea=Ti.current)!==null&&Ea!==void 0&&Ea.scrollTo&&Ti.current.scrollTo(ii)}}});var vi=b.useRef(),bi=b.useState(!1),na=(0,et.Z)(bi,2),$i=na[0],ei=na[1],ki=b.useState(!1),li=(0,et.Z)(ki,2),xa=li[0],Yi=li[1],Ta=b.useState(new Map),$a=(0,et.Z)(Ta,2),ll=$a[0],xi=$a[1],ql=yt(Do),ka=ql.map(function(ti){return ll.get(ti)}),el=b.useMemo(function(){return ka},[ka.join("_")]),Va=pt(el,Do,Qn),Za=Mn&&Vt(Mn.y),Ci=Mn&&Vt(si)||!!Ko.fixed,Ua=Ci&&Do.some(function(ti){var ii=ti.fixed;return ii}),xl=b.useRef(),sl=lt(lo,Nt),cl=sl.isSticky,us=sl.offsetHeader,ds=sl.offsetSummary,fs=sl.offsetScroll,hs=sl.stickyClassName,Ps=sl.container,Fo=b.useMemo(function(){return Wn==null?void 0:Wn(zr)},[Wn,zr]),Xo=(Za||cl)&&b.isValidElement(Fo)&&Fo.type===Se&&Fo.props.fixed,Ri,Ki,ma;Za&&(Ki={overflowY:oo?"scroll":"auto",maxHeight:Mn.y}),Ci&&(Ri={overflowX:"auto"},Za||(Ki={overflowY:"hidden"}),ma={width:si===!0?"auto":si,minWidth:"100%"});var fa=b.useCallback(function(ti,ii){xi(function(Ea){if(Ea.get(ti)!==ii){var Ga=new Map(Ea);return Ga.set(ti,ii),Ga}return Ea})},[]),nl=wt(null),wa=(0,et.Z)(nl,2),jl=wa[0],Ns=wa[1];function es(ti,ii){ii&&(typeof ii=="function"?ii(ti):ii.scrollLeft!==ti&&(ii.scrollLeft=ti,ii.scrollLeft!==ti&&setTimeout(function(){ii.scrollLeft=ti},0)))}var Pl=(0,Pe.Z)(function(ti){var ii=ti.currentTarget,Ea=ti.scrollLeft,Ga=Qn==="rtl",Ia=typeof Ea=="number"?Ea:ii.scrollLeft,_l=ii||Tr;if(!Ns()||Ns()===_l){var Sl;jl(_l),es(Ia,Fa.current),es(Ia,Ti.current),es(Ia,vi.current),es(Ia,(Sl=xl.current)===null||Sl===void 0?void 0:Sl.setScrollLeft)}var fl=ii||Fa.current;if(fl){var Kl=co&&po&&typeof si=="number"?si:fl.scrollWidth,Hs=fl.clientWidth;if(Kl===Hs){ei(!1),Yi(!1);return}Ga?(ei(-Ia0)):(ei(Ia>0),Yi(Ia1?fr-Kr:0,oo=(0,Ct.Z)((0,Ct.Z)((0,Ct.Z)({},Lo),Mn),{},{flex:"0 0 ".concat(Kr,"px"),width:"".concat(Kr,"px"),marginRight:zr,pointerEvents:"auto"}),co=b.useMemo(function(){return Qn?lo<=1:po===0||lo===0||lo>1},[lo,po,Qn]);co?oo.visibility="hidden":Qn&&(oo.height=Yn==null?void 0:Yn(lo));var Co=co?function(){return null}:Kn,Ur={};return(lo===0||po===0)&&(Ur.rowSpan=1,Ur.colSpan=1),b.createElement(dn,(0,$e.Z)({className:xe()(Ir,ar),ellipsis:ct.ellipsis,align:ct.align,scope:ct.rowScope,component:Dn,prefixCls:ge.prefixCls,key:jr,record:Fn,index:ln,renderIndex:yn,dataIndex:Wn,render:Co,shouldCellUpdate:ct.shouldCellUpdate},Yr,{appendNode:ao,additionalProps:(0,Ct.Z)((0,Ct.Z)({},no),{},{style:oo},Ur)}))}var Xr=yr,go=["data","index","className","rowKey","style","extra","getHeight"],So=b.forwardRef(function(ye,ge){var ct=ye.data,Nt=ye.index,qt=ye.className,ln=ye.rowKey,Dn=ye.style,yn=ye.extra,Fn=ye.getHeight,Mn=(0,ie.Z)(ye,go),ar=ct.record,Qn=ct.indent,Yn=ct.index,Kn=ue(tt,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Wn=Kn.scrollX,Ir=Kn.flattenColumns,fr=Kn.prefixCls,Nr=Kn.fixColumn,Lr=Kn.componentWidth,Mr=ue($r,["getComponent"]),jr=Mr.getComponent,Yr=Zt(ar,ln,Nt,Qn),ao=jr(["body","row"],"div"),no=jr(["body","cell"],"div"),Lo=Yr.rowSupportExpand,xo=Yr.expanded,po=Yr.rowProps,Mo=Yr.expandedRowRender,lo=Yr.expandedRowClassName,so;if(Lo&&xo){var Kr=Mo(ar,Nt,Qn+1,xo),zr=on(lo,ar,Nt,Qn),oo={};Nr&&(oo={style:(0,De.Z)({},"--virtual-width","".concat(Lr,"px"))});var co="".concat(fr,"-expanded-row-cell");so=b.createElement(ao,{className:xe()("".concat(fr,"-expanded-row"),"".concat(fr,"-expanded-row-level-").concat(Qn+1),zr)},b.createElement(dn,{component:no,prefixCls:fr,className:xe()(co,(0,De.Z)({},"".concat(co,"-fixed"),Nr)),additionalProps:oo},Kr))}var Co=(0,Ct.Z)((0,Ct.Z)({},Dn),{},{width:Wn});yn&&(Co.position="absolute",Co.pointerEvents="none");var Ur=b.createElement(ao,(0,$e.Z)({},po,Mn,{"data-row-key":ln,ref:Lo?null:ge,className:xe()(qt,"".concat(fr,"-row"),po==null?void 0:po.className,(0,De.Z)({},"".concat(fr,"-row-extra"),yn)),style:(0,Ct.Z)((0,Ct.Z)({},Co),po==null?void 0:po.style)}),Ir.map(function(Ho,jo){return b.createElement(Xr,{key:jo,component:no,rowInfo:Yr,column:Ho,colIndex:jo,indent:Qn,index:Nt,renderIndex:Yn,record:ar,inverse:yn,getHeight:Fn})}));return Lo?b.createElement("div",{ref:ge},Ur,so):Ur}),to=en(So),io=to,Oe=b.forwardRef(function(ye,ge){var ct=ye.data,Nt=ye.onScroll,qt=ue(tt,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),ln=qt.flattenColumns,Dn=qt.onColumnResize,yn=qt.getRowKey,Fn=qt.expandedKeys,Mn=qt.prefixCls,ar=qt.childrenColumnName,Qn=qt.scrollX,Yn=qt.direction,Kn=ue($r),Wn=Kn.sticky,Ir=Kn.scrollY,fr=Kn.listItemHeight,Nr=Kn.getComponent,Lr=Kn.onScroll,Mr=b.useRef(),jr=Ut(ct,ar,Fn,yn),Yr=b.useMemo(function(){var so=0;return ln.map(function(Kr){var zr=Kr.width,oo=Kr.key;return so+=zr,[oo,zr,so]})},[ln]),ao=b.useMemo(function(){return Yr.map(function(so){return so[2]})},[Yr]);b.useEffect(function(){Yr.forEach(function(so){var Kr=(0,et.Z)(so,2),zr=Kr[0],oo=Kr[1];Dn(zr,oo)})},[Yr]),b.useImperativeHandle(ge,function(){var so,Kr={scrollTo:function(oo){var co;(co=Mr.current)===null||co===void 0||co.scrollTo(oo)},nativeElement:(so=Mr.current)===null||so===void 0?void 0:so.nativeElement};return Object.defineProperty(Kr,"scrollLeft",{get:function(){var oo;return((oo=Mr.current)===null||oo===void 0?void 0:oo.getScrollInfo().x)||0},set:function(oo){var co;(co=Mr.current)===null||co===void 0||co.scrollTo({left:oo})}}),Kr});var no=function(Kr,zr){var oo,co=(oo=jr[zr])===null||oo===void 0?void 0:oo.record,Co=Kr.onCell;if(Co){var Ur,Ho=Co(co,zr);return(Ur=Ho==null?void 0:Ho.rowSpan)!==null&&Ur!==void 0?Ur:1}return 1},Lo=function(Kr){var zr=Kr.start,oo=Kr.end,co=Kr.getSize,Co=Kr.offsetY;if(oo<0)return null;for(var Ur=ln.filter(function(vo){return no(vo,zr)===0}),Ho=zr,jo=function(Ao){if(Ur=Ur.filter(function(ho){return no(ho,Ao)===0}),!Ur.length)return Ho=Ao,1},Fi=zr;Fi>=0&&!jo(Fi);Fi-=1);for(var Ni=ln.filter(function(vo){return no(vo,oo)!==1}),yi=oo,Mi=function(Ao){if(Ni=Ni.filter(function(ho){return no(ho,Ao)!==1}),!Ni.length)return yi=Math.max(Ao-1,oo),1},Hi=oo;Hi1})&&Wo.push(Ao)},ji=Ho;ji<=yi;ji+=1)Ko(ji);var Xi=Wo.map(function(vo){var Ao=jr[vo],ho=yn(Ao.record,vo),ro=function(Ei){var mi=vo+Ei-1,Wi=yn(jr[mi].record,mi),ta=co(ho,Wi);return ta.bottom-ta.top},Yo=co(ho);return b.createElement(io,{key:vo,data:Ao,rowKey:ho,index:vo,style:{top:-Co+Yo.top},extra:!0,getHeight:ro})});return Xi},xo=b.useMemo(function(){return{columnsOffset:ao}},[ao]),po="".concat(Mn,"-tbody"),Mo=Nr(["body","wrapper"]),lo={};return Wn&&(lo.position="sticky",lo.bottom=0,(0,ht.Z)(Wn)==="object"&&Wn.offsetScroll&&(lo.bottom=Wn.offsetScroll)),b.createElement(wr.Provider,{value:xo},b.createElement(Fr.Z,{fullHeight:!1,ref:Mr,prefixCls:"".concat(po,"-virtual"),styles:{horizontalScrollBar:lo},className:po,height:Ir,itemHeight:fr||24,data:jr,itemKey:function(Kr){return yn(Kr.record)},component:Mo,scrollWidth:Qn,direction:Yn,onVirtualScroll:function(Kr){var zr,oo=Kr.x;Nt({currentTarget:(zr=Mr.current)===null||zr===void 0?void 0:zr.nativeElement,scrollLeft:oo})},onScroll:Lr,extraRender:Lo},function(so,Kr,zr){var oo=yn(so.record,Kr);return b.createElement(io,{data:so,rowKey:oo,index:Kr,style:zr.style})}))}),We=en(Oe),bt=We,Ze=function(ge,ct){var Nt=ct.ref,qt=ct.onScroll;return b.createElement(bt,{ref:Nt,data:ge,onScroll:qt})};function dt(ye,ge){var ct=ye.data,Nt=ye.columns,qt=ye.scroll,ln=ye.sticky,Dn=ye.prefixCls,yn=Dn===void 0?br:Dn,Fn=ye.className,Mn=ye.listItemHeight,ar=ye.components,Qn=ye.onScroll,Yn=qt||{},Kn=Yn.x,Wn=Yn.y;typeof Kn!="number"&&(Kn=1),typeof Wn!="number"&&(Wn=500);var Ir=(0,Xe.zX)(function(Lr,Mr){return(0,It.Z)(ar,Lr)||Mr}),fr=(0,Xe.zX)(Qn),Nr=b.useMemo(function(){return{sticky:ln,scrollY:Wn,listItemHeight:Mn,getComponent:Ir,onScroll:fr}},[ln,Wn,Mn,Ir,fr]);return b.createElement($r.Provider,{value:Nr},b.createElement(Sr,(0,$e.Z)({},ye,{className:xe()(Fn,"".concat(yn,"-virtual")),scroll:(0,Ct.Z)((0,Ct.Z)({},qt),{},{x:Kn}),components:(0,Ct.Z)((0,Ct.Z)({},ar),{},{body:ct!=null&&ct.length?Ze:void 0}),columns:Nt,internalHooks:ce,tailor:!0,ref:ge})))}var at=b.forwardRef(dt);function Mt(ye){return kt(at,ye)}var Bt=Mt(),Wt=null,Rn=ye=>null,Ln=ye=>null,Gn=ee(84105),lr=ee(82661),sr=ee(34643),pr=ee(34061),mr=ee(18929);function kr(ye){const[ge,ct]=(0,b.useState)(null);return[(0,b.useCallback)((ln,Dn,yn)=>{const Fn=ge!=null?ge:ln,Mn=Math.min(Fn||0,ln),ar=Math.max(Fn||0,ln),Qn=Dn.slice(Mn,ar+1).map(Wn=>ye(Wn)),Yn=Qn.some(Wn=>!yn.has(Wn)),Kn=[];return Qn.forEach(Wn=>{Yn?(yn.has(Wn)||Kn.push(Wn),yn.add(Wn)):(yn.delete(Wn),Kn.push(Wn))}),ct(Yn?ar:null),Kn},[ge]),ln=>{ct(ln)}]}var xr=ee(32383),Gr=ee(62673),Or=ee(75727),Dr=ee(47889);const Ar={},_r="SELECT_ALL",fo="SELECT_INVERT",ko="SELECT_NONE",Io=[],Vo=(ye,ge)=>{let ct=[];return(ge||[]).forEach(Nt=>{ct.push(Nt),Nt&&typeof Nt=="object"&&ye in Nt&&(ct=[].concat((0,kn.Z)(ct),(0,kn.Z)(Vo(ye,Nt[ye]))))}),ct};var Vr=(ye,ge)=>{const{preserveSelectedRowKeys:ct,selectedRowKeys:Nt,defaultSelectedRowKeys:qt,getCheckboxProps:ln,onChange:Dn,onSelect:yn,onSelectAll:Fn,onSelectInvert:Mn,onSelectNone:ar,onSelectMultiple:Qn,columnWidth:Yn,type:Kn,selections:Wn,fixed:Ir,renderCell:fr,hideSelectAll:Nr,checkStrictly:Lr=!0}=ge||{},{prefixCls:Mr,data:jr,pageData:Yr,getRecordByKey:ao,getRowKey:no,expandType:Lo,childrenColumnName:xo,locale:po,getPopupContainer:Mo}=ye,lo=(0,xr.ln)("Table"),[so,Kr]=kr(vo=>vo),[zr,oo]=(0,mr.Z)(Nt||qt||Io,{value:Nt}),co=b.useRef(new Map),Co=(0,b.useCallback)(vo=>{if(ct){const Ao=new Map;vo.forEach(ho=>{let ro=ao(ho);!ro&&co.current.has(ho)&&(ro=co.current.get(ho)),Ao.set(ho,ro)}),co.current=Ao}},[ao,ct]);b.useEffect(()=>{Co(zr)},[zr]);const Ur=(0,b.useMemo)(()=>Vo(xo,Yr),[xo,Yr]),{keyEntities:Ho}=(0,b.useMemo)(()=>{if(Lr)return{keyEntities:null};let vo=jr;if(ct){const Ao=new Set(Ur.map((ro,Yo)=>no(ro,Yo))),ho=Array.from(co.current).reduce((ro,Yo)=>{let[oi,Ei]=Yo;return Ao.has(oi)?ro:ro.concat(Ei)},[]);vo=[].concat((0,kn.Z)(vo),(0,kn.Z)(ho))}return(0,pr.I8)(vo,{externalGetKey:no,childrenPropName:xo})},[jr,no,Lr,xo,ct,Ur]),jo=(0,b.useMemo)(()=>{const vo=new Map;return Ur.forEach((Ao,ho)=>{const ro=no(Ao,ho),Yo=(ln?ln(Ao):null)||{};vo.set(ro,Yo)}),vo},[Ur,no,ln]),Fi=(0,b.useCallback)(vo=>{const Ao=no(vo);let ho;return jo.has(Ao)?ho=jo.get(no(vo)):ho=ln?ln(vo):void 0,!!(ho!=null&&ho.disabled)},[jo,no]),[Ni,yi]=(0,b.useMemo)(()=>{if(Lr)return[zr||[],[]];const{checkedKeys:vo,halfCheckedKeys:Ao}=(0,sr.S)(zr,!0,Ho,Fi);return[vo||[],Ao]},[zr,Lr,Ho,Fi]),Mi=(0,b.useMemo)(()=>{const vo=Kn==="radio"?Ni.slice(0,1):Ni;return new Set(vo)},[Ni,Kn]),Hi=(0,b.useMemo)(()=>Kn==="radio"?new Set:new Set(yi),[yi,Kn]);b.useEffect(()=>{ge||oo(Io)},[!!ge]);const Wo=(0,b.useCallback)((vo,Ao)=>{let ho,ro;Co(vo),ct?(ho=vo,ro=vo.map(Yo=>co.current.get(Yo))):(ho=[],ro=[],vo.forEach(Yo=>{const oi=ao(Yo);oi!==void 0&&(ho.push(Yo),ro.push(oi))})),oo(ho),Dn==null||Dn(ho,ro,{type:Ao})},[oo,ao,Dn,ct]),Ko=(0,b.useCallback)((vo,Ao,ho,ro)=>{if(yn){const Yo=ho.map(oi=>ao(oi));yn(ao(vo),Ao,Yo,ro)}Wo(ho,"single")},[yn,ao,Wo]),ji=(0,b.useMemo)(()=>!Wn||Nr?null:(Wn===!0?[_r,fo,ko]:Wn).map(Ao=>Ao===_r?{key:"all",text:po.selectionAll,onSelect(){Wo(jr.map((ho,ro)=>no(ho,ro)).filter(ho=>{const ro=jo.get(ho);return!(ro!=null&&ro.disabled)||Mi.has(ho)}),"all")}}:Ao===fo?{key:"invert",text:po.selectInvert,onSelect(){const ho=new Set(Mi);Yr.forEach((Yo,oi)=>{const Ei=no(Yo,oi),mi=jo.get(Ei);mi!=null&&mi.disabled||(ho.has(Ei)?ho.delete(Ei):ho.add(Ei))});const ro=Array.from(ho);Mn&&(lo.deprecated(!1,"onSelectInvert","onChange"),Mn(ro)),Wo(ro,"invert")}}:Ao===ko?{key:"none",text:po.selectNone,onSelect(){ar==null||ar(),Wo(Array.from(Mi).filter(ho=>{const ro=jo.get(ho);return ro==null?void 0:ro.disabled}),"none")}}:Ao).map(Ao=>Object.assign(Object.assign({},Ao),{onSelect:function(){for(var ho,ro,Yo=arguments.length,oi=new Array(Yo),Ei=0;Ei{var Ao;if(!ge)return vo.filter(qo=>qo!==Ar);let ho=(0,kn.Z)(vo);const ro=new Set(Mi),Yo=Ur.map(no).filter(qo=>!jo.get(qo).disabled),oi=Yo.every(qo=>ro.has(qo)),Ei=Yo.some(qo=>ro.has(qo)),mi=()=>{const qo=[];oi?Yo.forEach(bi=>{ro.delete(bi),qo.push(bi)}):Yo.forEach(bi=>{ro.has(bi)||(ro.add(bi),qo.push(bi))});const vi=Array.from(ro);Fn==null||Fn(!oi,vi.map(bi=>ao(bi)),qo.map(bi=>ao(bi))),Wo(vi,"all"),Kr(null)};let Wi,ta;if(Kn!=="radio"){let qo;if(ji){const ei={getPopupContainer:Mo,items:ji.map((ki,li)=>{const{key:xa,text:Yi,onSelect:Ta}=ki;return{key:xa!=null?xa:li,onClick:()=>{Ta==null||Ta(Yo)},label:Yi}})};qo=b.createElement("div",{className:`${Mr}-selection-extra`},b.createElement(Or.Z,{menu:ei,getPopupContainer:Mo},b.createElement("span",null,b.createElement(Gn.Z,null))))}const vi=Ur.map((ei,ki)=>{const li=no(ei,ki),xa=jo.get(li)||{};return Object.assign({checked:ro.has(li)},xa)}).filter(ei=>{let{disabled:ki}=ei;return ki}),bi=!!vi.length&&vi.length===Ur.length,na=bi&&vi.every(ei=>{let{checked:ki}=ei;return ki}),$i=bi&&vi.some(ei=>{let{checked:ki}=ei;return ki});ta=b.createElement(Gr.default,{checked:bi?na:!!Ur.length&&oi,indeterminate:bi?!na&&$i:!oi&&Ei,onChange:mi,disabled:Ur.length===0||bi,"aria-label":qo?"Custom selection":"Select all",skipGroup:!0}),Wi=!Nr&&b.createElement("div",{className:`${Mr}-selection`},ta,qo)}let bo;Kn==="radio"?bo=(qo,vi,bi)=>{const na=no(vi,bi),$i=ro.has(na),ei=jo.get(na);return{node:b.createElement(Dr.ZP,Object.assign({},ei,{checked:$i,onClick:ki=>{var li;ki.stopPropagation(),(li=ei==null?void 0:ei.onClick)===null||li===void 0||li.call(ei,ki)},onChange:ki=>{var li;ro.has(na)||Ko(na,!0,[na],ki.nativeEvent),(li=ei==null?void 0:ei.onChange)===null||li===void 0||li.call(ei,ki)}})),checked:$i}}:bo=(qo,vi,bi)=>{var na;const $i=no(vi,bi),ei=ro.has($i),ki=Hi.has($i),li=jo.get($i);let xa;return Lo==="nest"?xa=ki:xa=(na=li==null?void 0:li.indeterminate)!==null&&na!==void 0?na:ki,{node:b.createElement(Gr.default,Object.assign({},li,{indeterminate:xa,checked:ei,skipGroup:!0,onClick:Yi=>{var Ta;Yi.stopPropagation(),(Ta=li==null?void 0:li.onClick)===null||Ta===void 0||Ta.call(li,Yi)},onChange:Yi=>{var Ta;const{nativeEvent:$a}=Yi,{shiftKey:ll}=$a,xi=Yo.findIndex(ka=>ka===$i),ql=Ni.some(ka=>Yo.includes(ka));if(ll&&Lr&&ql){const ka=so(xi,Yo,ro),el=Array.from(ro);Qn==null||Qn(!ei,el.map(Va=>ao(Va)),ka.map(Va=>ao(Va))),Wo(el,"multiple")}else{const ka=Ni;if(Lr){const el=ei?(0,lr._5)(ka,$i):(0,lr.L0)(ka,$i);Ko($i,!ei,el,$a)}else{const el=(0,sr.S)([].concat((0,kn.Z)(ka),[$i]),!0,Ho,Fi),{checkedKeys:Va,halfCheckedKeys:Za}=el;let Ci=Va;if(ei){const Ua=new Set(Va);Ua.delete($i),Ci=(0,sr.S)(Array.from(Ua),{checked:!1,halfCheckedKeys:Za},Ho,Fi).checkedKeys}Ko($i,!ei,Ci,$a)}}Kr(ei?null:xi),(Ta=li==null?void 0:li.onChange)===null||Ta===void 0||Ta.call(li,Yi)}})),checked:ei}};const Do=(qo,vi,bi)=>{const{node:na,checked:$i}=bo(qo,vi,bi);return fr?fr($i,vi,bi,na):na};if(!ho.includes(Ar))if(ho.findIndex(qo=>{var vi;return((vi=qo[_n])===null||vi===void 0?void 0:vi.columnType)==="EXPAND_COLUMN"})===0){const[qo,...vi]=ho;ho=[qo,Ar].concat((0,kn.Z)(vi))}else ho=[Ar].concat((0,kn.Z)(ho));const ai=ho.indexOf(Ar);ho=ho.filter((qo,vi)=>qo!==Ar||vi===ai);const di=ho[ai-1],si=ho[ai+1];let da=Ir;da===void 0&&((si==null?void 0:si.fixed)!==void 0?da=si.fixed:(di==null?void 0:di.fixed)!==void 0&&(da=di.fixed)),da&&di&&((Ao=di[_n])===null||Ao===void 0?void 0:Ao.columnType)==="EXPAND_COLUMN"&&di.fixed===void 0&&(di.fixed=da);const _i=xe()(`${Mr}-selection-col`,{[`${Mr}-selection-col-with-dropdown`]:Wn&&Kn==="checkbox"}),Fa=()=>ge!=null&&ge.columnTitle?typeof ge.columnTitle=="function"?ge.columnTitle(ta):ge.columnTitle:Wi,Ti={fixed:da,width:Yn,className:`${Mr}-selection-column`,title:Fa(),render:Do,onCell:ge.onCell,[_n]:{className:_i}};return ho.map(qo=>qo===Ar?Ti:qo)},[no,Ur,ge,Ni,Mi,Hi,Yn,ji,Lo,jo,Qn,Ko,Fi]),Mi]},_o=ee(2738);function Uo(ye,ge){return ye._antProxy=ye._antProxy||{},Object.keys(ge).forEach(ct=>{if(!(ct in ye._antProxy)){const Nt=ye[ct];ye._antProxy[ct]=Nt,ye[ct]=ge[ct]}}),ye}function ni(ye,ge){return(0,b.useImperativeHandle)(ye,()=>{const ct=ge(),{nativeElement:Nt}=ct;return typeof Proxy!="undefined"?new Proxy(Nt,{get(qt,ln){return ct[ln]?ct[ln]:Reflect.get(qt,ln)}}):Uo(Nt,ct)})}var Zi=ee(83010),Si=ee(48755),Ai=ee(38406),Oi=ee(83397),Go=ee(31756),Di=ee(13783),ya=ee(85981),Qi=ee(31709),Qo=ee(29787),Ha=ee(57700);function Ba(ye){return ge=>{const{prefixCls:ct,onExpand:Nt,record:qt,expanded:ln,expandable:Dn}=ge,yn=`${ct}-row-expand-icon`;return b.createElement("button",{type:"button",onClick:Fn=>{Nt(qt,Fn),Fn.stopPropagation()},className:xe()(yn,{[`${yn}-spaced`]:!Dn,[`${yn}-expanded`]:Dn&&ln,[`${yn}-collapsed`]:Dn&&!ln}),"aria-label":ln?ye.collapse:ye.expand,"aria-expanded":ln})}}var wo=Ba;function Eo(ye){return(ct,Nt)=>{const qt=ct.querySelector(`.${ye}-container`);let ln=Nt;if(qt){const Dn=getComputedStyle(qt),yn=parseInt(Dn.borderLeftWidth,10),Fn=parseInt(Dn.borderRightWidth,10);ln=Nt-yn-Fn}return ln}}const Zr=(ye,ge)=>"key"in ye&&ye.key!==void 0&&ye.key!==null?ye.key:ye.dataIndex?Array.isArray(ye.dataIndex)?ye.dataIndex.join("."):ye.dataIndex:ge;function Pr(ye,ge){return ge?`${ge}-${ye}`:`${ye}`}const Jr=(ye,ge)=>typeof ye=="function"?ye(ge):ye,mo=(ye,ge)=>{const ct=Jr(ye,ge);return Object.prototype.toString.call(ct)==="[object Object]"?"":ct};var ui={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Zo=ui,$o=ee(7657),Ro=function(ge,ct){return b.createElement($o.Z,(0,$e.Z)({},ge,{ref:ct,icon:Zo}))},hi=b.forwardRef(Ro),wi=hi,Bi=ee(9981),qi=ee(40192);function oa(ye){const ge=b.useRef(ye),ct=(0,qi.Z)();return[()=>ge.current,Nt=>{ge.current=Nt,ct()}]}var Ui=ee(7939),ja=ee(584),Pa=ee(93041),ia=ee(78857),Sa=ee(18287),Wa=ee(47472),Ra=ee(49397),pl=ye=>{const{value:ge,filterSearch:ct,tablePrefixCls:Nt,locale:qt,onChange:ln}=ye;return ct?b.createElement("div",{className:`${Nt}-filter-dropdown-search`},b.createElement(Ra.Z,{prefix:b.createElement(Wa.Z,null),placeholder:qt.filterSearchPlaceholder,onChange:ln,value:ge,htmlSize:1,className:`${Nt}-filter-dropdown-search-input`})):null},kl=ee(10228);const Al=ye=>{const{keyCode:ge}=ye;ge===kl.Z.ENTER&&ye.stopPropagation()};var ml=b.forwardRef((ye,ge)=>b.createElement("div",{className:ye.className,onClick:ct=>ct.stopPropagation(),onKeyDown:Al,ref:ge},ye.children));function qa(ye){let ge=[];return(ye||[]).forEach(ct=>{let{value:Nt,children:qt}=ct;ge.push(Nt),qt&&(ge=[].concat((0,kn.Z)(ge),(0,kn.Z)(qa(qt))))}),ge}function rl(ye){return ye.some(ge=>{let{children:ct}=ge;return ct})}function vl(ye,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(ye.trim().toLowerCase()):!1}function El(ye){let{filters:ge,prefixCls:ct,filteredKeys:Nt,filterMultiple:qt,searchValue:ln,filterSearch:Dn}=ye;return ge.map((yn,Fn)=>{const Mn=String(yn.value);if(yn.children)return{key:Mn||Fn,label:yn.text,popupClassName:`${ct}-dropdown-submenu`,children:El({filters:yn.children,prefixCls:ct,filteredKeys:Nt,filterMultiple:qt,searchValue:ln,filterSearch:Dn})};const ar=qt?Gr.default:Dr.ZP,Qn={key:yn.value!==void 0?Mn:Fn,label:b.createElement(b.Fragment,null,b.createElement(ar,{checked:Nt.includes(Mn)}),b.createElement("span",null,yn.text))};return ln.trim()?typeof Dn=="function"?Dn(ln,yn)?Qn:null:vl(ln,yn.text)?Qn:null:Qn})}function ul(ye){return ye||[]}var ea=ye=>{var ge,ct,Nt,qt;const{tablePrefixCls:ln,prefixCls:Dn,column:yn,dropdownPrefixCls:Fn,columnKey:Mn,filterOnClose:ar,filterMultiple:Qn,filterMode:Yn="menu",filterSearch:Kn=!1,filterState:Wn,triggerFilter:Ir,locale:fr,children:Nr,getPopupContainer:Lr,rootClassName:Mr}=ye,{filterResetToDefaultFilteredValue:jr,defaultFilteredValue:Yr,filterDropdownProps:ao={},filterDropdownOpen:no,filterDropdownVisible:Lo,onFilterDropdownVisibleChange:xo,onFilterDropdownOpenChange:po}=yn,[Mo,lo]=b.useState(!1),so=!!(Wn&&(!((ge=Wn.filteredKeys)===null||ge===void 0)&&ge.length||Wn.forceFiltered)),Kr=bo=>{var Do;lo(bo),(Do=ao.onOpenChange)===null||Do===void 0||Do.call(ao,bo),po==null||po(bo),xo==null||xo(bo)},zr=(qt=(Nt=(ct=ao.open)!==null&&ct!==void 0?ct:no)!==null&&Nt!==void 0?Nt:Lo)!==null&&qt!==void 0?qt:Mo,oo=Wn==null?void 0:Wn.filteredKeys,[co,Co]=oa(ul(oo)),Ur=bo=>{let{selectedKeys:Do}=bo;Co(Do)},Ho=(bo,Do)=>{let{node:ai,checked:di}=Do;Ur(Qn?{selectedKeys:bo}:{selectedKeys:di&&ai.key?[ai.key]:[]})};b.useEffect(()=>{Mo&&Ur({selectedKeys:ul(oo)})},[oo]);const[jo,Fi]=b.useState([]),Ni=bo=>{Fi(bo)},[yi,Mi]=b.useState(""),Hi=bo=>{const{value:Do}=bo.target;Mi(Do)};b.useEffect(()=>{Mo||Mi("")},[Mo]);const Wo=bo=>{const Do=bo!=null&&bo.length?bo:null;if(Do===null&&(!Wn||!Wn.filteredKeys)||(0,be.Z)(Do,Wn==null?void 0:Wn.filteredKeys,!0))return null;Ir({column:yn,key:Mn,filteredKeys:Do})},Ko=()=>{Kr(!1),Wo(co())},ji=function(){let{confirm:bo,closeDropdown:Do}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};bo&&Wo([]),Do&&Kr(!1),Mi(""),Co(jr?(Yr||[]).map(ai=>String(ai)):[])},Xi=function(){let{closeDropdown:bo}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};bo&&Kr(!1),Wo(co())},vo=(bo,Do)=>{Do.source==="trigger"&&(bo&&oo!==void 0&&Co(ul(oo)),Kr(bo),!bo&&!yn.filterDropdown&&ar&&Ko())},Ao=xe()({[`${Fn}-menu-without-submenu`]:!rl(yn.filters||[])}),ho=bo=>{if(bo.target.checked){const Do=qa(yn==null?void 0:yn.filters).map(ai=>String(ai));Co(Do)}else Co([])},ro=bo=>{let{filters:Do}=bo;return(Do||[]).map((ai,di)=>{const si=String(ai.value),da={title:ai.text,key:ai.value!==void 0?si:String(di)};return ai.children&&(da.children=ro({filters:ai.children})),da})},Yo=bo=>{var Do;return Object.assign(Object.assign({},bo),{text:bo.title,value:bo.key,children:((Do=bo.children)===null||Do===void 0?void 0:Do.map(ai=>Yo(ai)))||[]})};let oi;const{direction:Ei,renderEmpty:mi}=b.useContext(Si.E_);if(typeof yn.filterDropdown=="function")oi=yn.filterDropdown({prefixCls:`${Fn}-custom`,setSelectedKeys:bo=>Ur({selectedKeys:bo}),selectedKeys:co(),confirm:Xi,clearFilters:ji,filters:yn.filters,visible:zr,close:()=>{Kr(!1)}});else if(yn.filterDropdown)oi=yn.filterDropdown;else{const bo=co()||[],Do=()=>{var di,si;const da=(di=mi==null?void 0:mi("Table.filter"))!==null&&di!==void 0?di:b.createElement(ja.Z,{image:ja.Z.PRESENTED_IMAGE_SIMPLE,description:fr.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((yn.filters||[]).length===0)return da;if(Yn==="tree")return b.createElement(b.Fragment,null,b.createElement(pl,{filterSearch:Kn,value:yi,onChange:Hi,tablePrefixCls:ln,locale:fr}),b.createElement("div",{className:`${ln}-filter-dropdown-tree`},Qn?b.createElement(Gr.default,{checked:bo.length===qa(yn.filters).length,indeterminate:bo.length>0&&bo.lengthtypeof Kn=="function"?Kn(yi,Yo(Ti)):vl(yi,Ti.title):void 0})));const _i=El({filters:yn.filters||[],filterSearch:Kn,prefixCls:Dn,filteredKeys:co(),filterMultiple:Qn,searchValue:yi}),Fa=_i.every(Ti=>Ti===null);return b.createElement(b.Fragment,null,b.createElement(pl,{filterSearch:Kn,value:yi,onChange:Hi,tablePrefixCls:ln,locale:fr}),Fa?da:b.createElement(Pa.default,{selectable:!0,multiple:Qn,prefixCls:`${Fn}-menu`,className:Ao,onSelect:Ur,onDeselect:Ur,selectedKeys:bo,getPopupContainer:Lr,openKeys:jo,onOpenChange:Ni,items:_i}))},ai=()=>jr?(0,be.Z)((Yr||[]).map(di=>String(di)),bo,!0):bo.length===0;oi=b.createElement(b.Fragment,null,Do(),b.createElement("div",{className:`${Dn}-dropdown-btns`},b.createElement(Ui.ZP,{type:"link",size:"small",disabled:ai(),onClick:()=>ji()},fr.filterReset),b.createElement(Ui.ZP,{type:"primary",size:"small",onClick:Ko},fr.filterConfirm)))}yn.filterDropdown&&(oi=b.createElement(ia.J,{selectable:void 0},oi)),oi=b.createElement(ml,{className:`${Dn}-dropdown`},oi);const Wi=()=>{let bo;return typeof yn.filterIcon=="function"?bo=yn.filterIcon(so):yn.filterIcon?bo=yn.filterIcon:bo=b.createElement(wi,null),b.createElement("span",{role:"button",tabIndex:-1,className:xe()(`${Dn}-trigger`,{active:so}),onClick:Do=>{Do.stopPropagation()}},bo)},ta=(0,Bi.Z)({trigger:["click"],placement:Ei==="rtl"?"bottomLeft":"bottomRight",children:Wi(),getPopupContainer:Lr},Object.assign(Object.assign({},ao),{rootClassName:xe()(Mr,ao.rootClassName),open:zr,onOpenChange:vo,dropdownRender:()=>typeof(ao==null?void 0:ao.dropdownRender)=="function"?ao.dropdownRender(oi):oi}));return b.createElement("div",{className:`${Dn}-column`},b.createElement("span",{className:`${ln}-column-title`},Nr),b.createElement(Or.Z,Object.assign({},ta)))};const Gi=(ye,ge,ct)=>{let Nt=[];return(ye||[]).forEach((qt,ln)=>{var Dn;const yn=Pr(ln,ct);if(qt.filters||"filterDropdown"in qt||"onFilter"in qt)if("filteredValue"in qt){let Fn=qt.filteredValue;"filterDropdown"in qt||(Fn=(Dn=Fn==null?void 0:Fn.map(String))!==null&&Dn!==void 0?Dn:Fn),Nt.push({column:qt,key:Zr(qt,yn),filteredKeys:Fn,forceFiltered:qt.filtered})}else Nt.push({column:qt,key:Zr(qt,yn),filteredKeys:ge&&qt.defaultFilteredValue?qt.defaultFilteredValue:void 0,forceFiltered:qt.filtered});"children"in qt&&(Nt=[].concat((0,kn.Z)(Nt),(0,kn.Z)(Gi(qt.children,ge,yn))))}),Nt};function pi(ye,ge,ct,Nt,qt,ln,Dn,yn,Fn){return ct.map((Mn,ar)=>{const Qn=Pr(ar,yn),{filterOnClose:Yn=!0,filterMultiple:Kn=!0,filterMode:Wn,filterSearch:Ir}=Mn;let fr=Mn;if(fr.filters||fr.filterDropdown){const Nr=Zr(fr,Qn),Lr=Nt.find(Mr=>{let{key:jr}=Mr;return Nr===jr});fr=Object.assign(Object.assign({},fr),{title:Mr=>b.createElement(ea,{tablePrefixCls:ye,prefixCls:`${ye}-filter`,dropdownPrefixCls:ge,column:fr,columnKey:Nr,filterState:Lr,filterOnClose:Yn,filterMultiple:Kn,filterMode:Wn,filterSearch:Ir,triggerFilter:ln,locale:qt,getPopupContainer:Dn,rootClassName:Fn},Jr(Mn.title,Mr))})}return"children"in fr&&(fr=Object.assign(Object.assign({},fr),{children:pi(ye,ge,fr.children,Nt,qt,ln,Dn,Qn,Fn)})),fr})}const zo=ye=>{const ge={};return ye.forEach(ct=>{let{key:Nt,filteredKeys:qt,column:ln}=ct;const Dn=Nt,{filters:yn,filterDropdown:Fn}=ln;if(Fn)ge[Dn]=qt||null;else if(Array.isArray(qt)){const Mn=qa(yn);ge[Dn]=Mn.filter(ar=>qt.includes(String(ar)))}else ge[Dn]=null}),ge},Po=(ye,ge,ct)=>ge.reduce((qt,ln)=>{const{column:{onFilter:Dn,filters:yn},filteredKeys:Fn}=ln;return Dn&&Fn&&Fn.length?qt.map(Mn=>Object.assign({},Mn)).filter(Mn=>Fn.some(ar=>{const Qn=qa(yn),Yn=Qn.findIndex(Wn=>String(Wn)===String(ar)),Kn=Yn!==-1?Qn[Yn]:ar;return Mn[ct]&&(Mn[ct]=Po(Mn[ct],ge,ct)),Dn(Kn,Mn)})):qt},ye),ci=ye=>ye.flatMap(ge=>"children"in ge?[ge].concat((0,kn.Z)(ci(ge.children||[]))):[ge]);var gi=ye=>{const{prefixCls:ge,dropdownPrefixCls:ct,mergedColumns:Nt,onFilterChange:qt,getPopupContainer:ln,locale:Dn,rootClassName:yn}=ye,Fn=(0,xr.ln)("Table"),Mn=b.useMemo(()=>ci(Nt||[]),[Nt]),[ar,Qn]=b.useState(()=>Gi(Mn,!0)),Yn=b.useMemo(()=>{const fr=Gi(Mn,!1);if(fr.length===0)return fr;let Nr=!0,Lr=!0;if(fr.forEach(Mr=>{let{filteredKeys:jr}=Mr;jr!==void 0?Nr=!1:Lr=!1}),Nr){const Mr=(Mn||[]).map((jr,Yr)=>Zr(jr,Pr(Yr)));return ar.filter(jr=>{let{key:Yr}=jr;return Mr.includes(Yr)}).map(jr=>{const Yr=Mn[Mr.findIndex(ao=>ao===jr.key)];return Object.assign(Object.assign({},jr),{column:Object.assign(Object.assign({},jr.column),Yr),forceFiltered:Yr.filtered})})}return fr},[Mn,ar]),Kn=b.useMemo(()=>zo(Yn),[Yn]),Wn=fr=>{const Nr=Yn.filter(Lr=>{let{key:Mr}=Lr;return Mr!==fr.key});Nr.push(fr),Qn(Nr),qt(zo(Nr),Nr)};return[fr=>pi(ge,ct,fr,Yn,Dn,Wn,ln,void 0,yn),Yn,Kn]},aa=(ye,ge,ct)=>{const Nt=b.useRef({});function qt(ln){var Dn;if(!Nt.current||Nt.current.data!==ye||Nt.current.childrenColumnName!==ge||Nt.current.getRowKey!==ct){let Fn=function(Mn){Mn.forEach((ar,Qn)=>{const Yn=ct(ar,Qn);yn.set(Yn,ar),ar&&typeof ar=="object"&&ge in ar&&Fn(ar[ge]||[])})};const yn=new Map;Fn(ye),Nt.current={data:ye,childrenColumnName:ge,kvMap:yn,getRowKey:ct}}return(Dn=Nt.current.kvMap)===null||Dn===void 0?void 0:Dn.get(ln)}return[qt]},zi=function(ye,ge){var ct={};for(var Nt in ye)Object.prototype.hasOwnProperty.call(ye,Nt)&&ge.indexOf(Nt)<0&&(ct[Nt]=ye[Nt]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qt=0,Nt=Object.getOwnPropertySymbols(ye);qt{const ln=ye[qt];typeof ln!="function"&&(ct[qt]=ln)}),ct}function ca(ye,ge,ct){const Nt=ct&&typeof ct=="object"?ct:{},{total:qt=0}=Nt,ln=zi(Nt,["total"]),[Dn,yn]=(0,b.useState)(()=>({current:"defaultCurrent"in ln?ln.defaultCurrent:1,pageSize:"defaultPageSize"in ln?ln.defaultPageSize:la})),Fn=(0,Bi.Z)(Dn,ln,{total:qt>0?qt:ye}),Mn=Math.ceil((qt||ye)/Fn.pageSize);Fn.current>Mn&&(Fn.current=Mn||1);const ar=(Yn,Kn)=>{yn({current:Yn!=null?Yn:1,pageSize:Kn||Fn.pageSize})},Qn=(Yn,Kn)=>{var Wn;ct&&((Wn=ct.onChange)===null||Wn===void 0||Wn.call(ct,Yn,Kn)),ar(Yn,Kn),ge(Yn,Kn||(Fn==null?void 0:Fn.pageSize))};return ct===!1?[{},()=>{}]:[Object.assign(Object.assign({},Fn),{onChange:Qn}),ar]}var ua=ca,_a=ee(89489),Il=ee(59477),Cs=ee(25399);const Rl="ascend",dl="descend",ol=ye=>typeof ye.sorter=="object"&&typeof ye.sorter.multiple=="number"?ye.sorter.multiple:!1,Na=ye=>typeof ye=="function"?ye:ye&&typeof ye=="object"&&ye.compare?ye.compare:!1,yl=(ye,ge)=>ge?ye[ye.indexOf(ge)+1]:ye[0],il=(ye,ge,ct)=>{let Nt=[];const qt=(ln,Dn)=>{Nt.push({column:ln,key:Zr(ln,Dn),multiplePriority:ol(ln),sortOrder:ln.sortOrder})};return(ye||[]).forEach((ln,Dn)=>{const yn=Pr(Dn,ct);ln.children?("sortOrder"in ln&&qt(ln,yn),Nt=[].concat((0,kn.Z)(Nt),(0,kn.Z)(il(ln.children,ge,yn)))):ln.sorter&&("sortOrder"in ln?qt(ln,yn):ge&&ln.defaultSortOrder&&Nt.push({column:ln,key:Zr(ln,yn),multiplePriority:ol(ln),sortOrder:ln.defaultSortOrder}))}),Nt},Ul=(ye,ge,ct,Nt,qt,ln,Dn,yn)=>(ge||[]).map((Mn,ar)=>{const Qn=Pr(ar,yn);let Yn=Mn;if(Yn.sorter){const Kn=Yn.sortDirections||qt,Wn=Yn.showSorterTooltip===void 0?Dn:Yn.showSorterTooltip,Ir=Zr(Yn,Qn),fr=ct.find(xo=>{let{key:po}=xo;return po===Ir}),Nr=fr?fr.sortOrder:null,Lr=yl(Kn,Nr);let Mr;if(Mn.sortIcon)Mr=Mn.sortIcon({sortOrder:Nr});else{const xo=Kn.includes(Rl)&&b.createElement(Il.Z,{className:xe()(`${ye}-column-sorter-up`,{active:Nr===Rl})}),po=Kn.includes(dl)&&b.createElement(_a.Z,{className:xe()(`${ye}-column-sorter-down`,{active:Nr===dl})});Mr=b.createElement("span",{className:xe()(`${ye}-column-sorter`,{[`${ye}-column-sorter-full`]:!!(xo&&po)})},b.createElement("span",{className:`${ye}-column-sorter-inner`,"aria-hidden":"true"},xo,po))}const{cancelSort:jr,triggerAsc:Yr,triggerDesc:ao}=ln||{};let no=jr;Lr===dl?no=ao:Lr===Rl&&(no=Yr);const Lo=typeof Wn=="object"?Object.assign({title:no},Wn):{title:no};Yn=Object.assign(Object.assign({},Yn),{className:xe()(Yn.className,{[`${ye}-column-sort`]:Nr}),title:xo=>{const po=`${ye}-column-sorters`,Mo=b.createElement("span",{className:`${ye}-column-title`},Jr(Mn.title,xo)),lo=b.createElement("div",{className:po},Mo,Mr);return Wn?typeof Wn!="boolean"&&(Wn==null?void 0:Wn.target)==="sorter-icon"?b.createElement("div",{className:`${po} ${ye}-column-sorters-tooltip-target-sorter`},Mo,b.createElement(Cs.Z,Object.assign({},Lo),Mr)):b.createElement(Cs.Z,Object.assign({},Lo),lo):lo},onHeaderCell:xo=>{var po;const Mo=((po=Mn.onHeaderCell)===null||po===void 0?void 0:po.call(Mn,xo))||{},lo=Mo.onClick,so=Mo.onKeyDown;Mo.onClick=oo=>{Nt({column:Mn,key:Ir,sortOrder:Lr,multiplePriority:ol(Mn)}),lo==null||lo(oo)},Mo.onKeyDown=oo=>{oo.keyCode===kl.Z.ENTER&&(Nt({column:Mn,key:Ir,sortOrder:Lr,multiplePriority:ol(Mn)}),so==null||so(oo))};const Kr=mo(Mn.title,{}),zr=Kr==null?void 0:Kr.toString();return Nr&&(Mo["aria-sort"]=Nr==="ascend"?"ascending":"descending"),Mo["aria-label"]=zr||"",Mo.className=xe()(Mo.className,`${ye}-column-has-sorters`),Mo.tabIndex=0,Mn.ellipsis&&(Mo.title=(Kr!=null?Kr:"").toString()),Mo}})}return"children"in Yn&&(Yn=Object.assign(Object.assign({},Yn),{children:Ul(ye,Yn.children,ct,Nt,qt,ln,Dn,Qn)})),Yn}),Ws=ye=>{const{column:ge,sortOrder:ct}=ye;return{column:ge,order:ct,field:ge.dataIndex,columnKey:ge.key}},Ss=ye=>{const ge=ye.filter(ct=>{let{sortOrder:Nt}=ct;return Nt}).map(Ws);if(ge.length===0&&ye.length){const ct=ye.length-1;return Object.assign(Object.assign({},Ws(ye[ct])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return ge.length<=1?ge[0]||{}:ge},Ol=(ye,ge,ct)=>{const Nt=ge.slice().sort((Dn,yn)=>yn.multiplePriority-Dn.multiplePriority),qt=ye.slice(),ln=Nt.filter(Dn=>{let{column:{sorter:yn},sortOrder:Fn}=Dn;return Na(yn)&&Fn});return ln.length?qt.sort((Dn,yn)=>{for(let Fn=0;Fn{const yn=Dn[ct];return yn?Object.assign(Object.assign({},Dn),{[ct]:Ol(yn,ge,ct)}):Dn}):qt};var _s=ye=>{const{prefixCls:ge,mergedColumns:ct,sortDirections:Nt,tableLocale:qt,showSorterTooltip:ln,onSorterChange:Dn}=ye,[yn,Fn]=b.useState(il(ct,!0)),Mn=(Ir,fr)=>{const Nr=[];return Ir.forEach((Lr,Mr)=>{const jr=Pr(Mr,fr);if(Nr.push(Zr(Lr,jr)),Array.isArray(Lr.children)){const Yr=Mn(Lr.children,jr);Nr.push.apply(Nr,(0,kn.Z)(Yr))}}),Nr},ar=b.useMemo(()=>{let Ir=!0;const fr=il(ct,!1);if(!fr.length){const jr=Mn(ct);return yn.filter(Yr=>{let{key:ao}=Yr;return jr.includes(ao)})}const Nr=[];function Lr(jr){Ir?Nr.push(jr):Nr.push(Object.assign(Object.assign({},jr),{sortOrder:null}))}let Mr=null;return fr.forEach(jr=>{Mr===null?(Lr(jr),jr.sortOrder&&(jr.multiplePriority===!1?Ir=!1:Mr=!0)):(Mr&&jr.multiplePriority!==!1||(Ir=!1),Lr(jr))}),Nr},[ct,yn]),Qn=b.useMemo(()=>{var Ir,fr;const Nr=ar.map(Lr=>{let{column:Mr,sortOrder:jr}=Lr;return{column:Mr,order:jr}});return{sortColumns:Nr,sortColumn:(Ir=Nr[0])===null||Ir===void 0?void 0:Ir.column,sortOrder:(fr=Nr[0])===null||fr===void 0?void 0:fr.order}},[ar]),Yn=Ir=>{let fr;Ir.multiplePriority===!1||!ar.length||ar[0].multiplePriority===!1?fr=[Ir]:fr=[].concat((0,kn.Z)(ar.filter(Nr=>{let{key:Lr}=Nr;return Lr!==Ir.key})),[Ir]),Fn(fr),Dn(Ss(fr),fr)};return[Ir=>Ul(ge,Ir,ar,Yn,Nt,qt,ln),ar,Qn,()=>Ss(ar)]};const Gl=(ye,ge)=>ye.map(Nt=>{const qt=Object.assign({},Nt);return qt.title=Jr(Nt.title,ge),"children"in qt&&(qt.children=Gl(qt.children,ge)),qt});var ws=ye=>[b.useCallback(ct=>Gl(ct,ye),[ye])],Ks=Wr((ye,ge)=>{const{_renderTimes:ct}=ye,{_renderTimes:Nt}=ge;return ct!==Nt}),Ll=Mt((ye,ge)=>{const{_renderTimes:ct}=ye,{_renderTimes:Nt}=ge;return ct!==Nt}),No=ee(36237),Fl=ee(17835),bl=ee(63356),cc=ee(16931),uc=ee(51636),Es=ye=>{const{componentCls:ge,lineWidth:ct,lineType:Nt,tableBorderColor:qt,tableHeaderBg:ln,tablePaddingVertical:Dn,tablePaddingHorizontal:yn,calc:Fn}=ye,Mn=`${(0,No.unit)(ct)} ${Nt} ${qt}`,ar=(Qn,Yn,Kn)=>({[`&${ge}-${Qn}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,No.unit)(Fn(Yn).mul(-1).equal())} + ${(0,No.unit)(Fn(Fn(Kn).add(ct)).mul(-1).equal())}`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:Mn,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:Mn,borderTop:Mn,[` + > ${ge}-content, + > ${ge}-header, + > ${ge}-body, + > ${ge}-summary + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Mn},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Mn},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:Mn}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`${(0,No.unit)(Fn(Dn).mul(-1).equal())} ${(0,No.unit)(Fn(Fn(yn).add(ct)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:ct,bottom:0,borderInlineEnd:Mn,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[` + > tr${ge}-expanded-row, + > tr${ge}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},ar("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle)),ar("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:Mn,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,No.unit)(ct)} 0 ${(0,No.unit)(ct)} ${ln}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:Mn}}}},$l=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},bl.vS),{wordBreak:"keep-all",[` + &${ge}-cell-fix-left-last, + &${ge}-cell-fix-right-first + `]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},dc=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:ye.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ye.colorBgContainer}}}}},Gs=ye=>{const{componentCls:ge,antCls:ct,motionDurationSlow:Nt,lineWidth:qt,paddingXS:ln,lineType:Dn,tableBorderColor:yn,tableExpandIconBg:Fn,tableExpandColumnWidth:Mn,borderRadius:ar,tablePaddingVertical:Qn,tablePaddingHorizontal:Yn,tableExpandedRowBg:Kn,paddingXXS:Wn,expandIconMarginTop:Ir,expandIconSize:fr,expandIconHalfInner:Nr,expandIconScale:Lr,calc:Mr}=ye,jr=`${(0,No.unit)(qt)} ${Dn} ${yn}`,Yr=Mr(Wn).sub(qt).equal();return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:Mn},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,bl.Nd)(ye)),{position:"relative",float:"left",width:fr,height:fr,color:"inherit",lineHeight:(0,No.unit)(fr),background:Fn,border:jr,borderRadius:ar,transform:`scale(${Lr})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Nt} ease-out`,content:'""'},"&::before":{top:Nr,insetInlineEnd:Yr,insetInlineStart:Yr,height:qt},"&::after":{top:Yr,bottom:Yr,insetInlineStart:Nr,width:qt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:Ir,marginInlineEnd:ln},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Kn}},[`${ct}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`${(0,No.unit)(Mr(Qn).mul(-1).equal())} ${(0,No.unit)(Mr(Yn).mul(-1).equal())}`,padding:`${(0,No.unit)(Qn)} ${(0,No.unit)(Yn)}`}}}},Xs=ye=>{const{componentCls:ge,antCls:ct,iconCls:Nt,tableFilterDropdownWidth:qt,tableFilterDropdownSearchWidth:ln,paddingXXS:Dn,paddingXS:yn,colorText:Fn,lineWidth:Mn,lineType:ar,tableBorderColor:Qn,headerIconColor:Yn,fontSizeSM:Kn,tablePaddingHorizontal:Wn,borderRadius:Ir,motionDurationSlow:fr,colorTextDescription:Nr,colorPrimary:Lr,tableHeaderFilterActiveBg:Mr,colorTextDisabled:jr,tableFilterDropdownBg:Yr,tableFilterDropdownHeight:ao,controlItemBgHover:no,controlItemBgActive:Lo,boxShadowSecondary:xo,filterDropdownMenuBg:po,calc:Mo}=ye,lo=`${ct}-dropdown`,so=`${ge}-filter-dropdown`,Kr=`${ct}-tree`,zr=`${(0,No.unit)(Mn)} ${ar} ${Qn}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:Mo(Dn).mul(-1).equal(),marginInline:`${(0,No.unit)(Dn)} ${(0,No.unit)(Mo(Wn).div(2).mul(-1).equal())}`,padding:`0 ${(0,No.unit)(Dn)}`,color:Yn,fontSize:Kn,borderRadius:Ir,cursor:"pointer",transition:`all ${fr}`,"&:hover":{color:Nr,background:Mr},"&.active":{color:Lr}}}},{[`${ct}-dropdown`]:{[so]:Object.assign(Object.assign({},(0,bl.Wf)(ye)),{minWidth:qt,backgroundColor:Yr,borderRadius:Ir,boxShadow:xo,overflow:"hidden",[`${lo}-menu`]:{maxHeight:ao,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:po,"&:empty::after":{display:"block",padding:`${(0,No.unit)(yn)} 0`,color:jr,fontSize:Kn,textAlign:"center",content:'"Not Found"'}},[`${so}-tree`]:{paddingBlock:`${(0,No.unit)(yn)} 0`,paddingInline:yn,[Kr]:{padding:0},[`${Kr}-treenode ${Kr}-node-content-wrapper:hover`]:{backgroundColor:no},[`${Kr}-treenode-checkbox-checked ${Kr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Lo}}},[`${so}-search`]:{padding:yn,borderBottom:zr,"&-input":{input:{minWidth:ln},[Nt]:{color:jr}}},[`${so}-checkall`]:{width:"100%",marginBottom:Dn,marginInlineStart:Dn},[`${so}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,No.unit)(Mo(yn).sub(Mn).equal())} ${(0,No.unit)(yn)}`,overflow:"hidden",borderTop:zr}})}},{[`${ct}-dropdown ${so}, ${so}-submenu`]:{[`${ct}-checkbox-wrapper + span`]:{paddingInlineStart:yn,color:Fn},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Xl=ye=>{const{componentCls:ge,lineWidth:ct,colorSplit:Nt,motionDurationSlow:qt,zIndexTableFixed:ln,tableBg:Dn,zIndexTableSticky:yn,calc:Fn}=ye,Mn=Nt;return{[`${ge}-wrapper`]:{[` + ${ge}-cell-fix-left, + ${ge}-cell-fix-right + `]:{position:"sticky !important",zIndex:ln,background:Dn},[` + ${ge}-cell-fix-left-first::after, + ${ge}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:Fn(ct).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[` + ${ge}-cell-fix-right-first::after, + ${ge}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:Fn(ct).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Fn(yn).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${qt}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Mn}`},[` + ${ge}-cell-fix-left-first::after, + ${ge}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${Mn}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Mn}`},[` + ${ge}-cell-fix-right-first::after, + ${ge}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${Mn}`}},[`${ge}-fixed-column-gapped`]:{[` + ${ge}-cell-fix-left-first::after, + ${ge}-cell-fix-left-last::after, + ${ge}-cell-fix-right-first::after, + ${ge}-cell-fix-right-last::after + `]:{boxShadow:"none"}}}}},Yl=ye=>{const{componentCls:ge,antCls:ct,margin:Nt}=ye;return{[`${ge}-wrapper`]:{[`${ge}-pagination${ct}-pagination`]:{margin:`${(0,No.unit)(Nt)} 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ye.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Ys=ye=>{const{componentCls:ge,tableRadius:ct}=ye;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${(0,No.unit)(ct)} ${(0,No.unit)(ct)} 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:ct,borderStartEndRadius:ct,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:ct},"> *:last-child":{borderStartEndRadius:ct}}},"&-footer":{borderRadius:`0 0 ${(0,No.unit)(ct)} ${(0,No.unit)(ct)}`}}}}},Js=ye=>{const{componentCls:ge}=ye;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},Dl=ye=>{const{componentCls:ge,antCls:ct,iconCls:Nt,fontSizeIcon:qt,padding:ln,paddingXS:Dn,headerIconColor:yn,headerIconHoverColor:Fn,tableSelectionColumnWidth:Mn,tableSelectedRowBg:ar,tableSelectedRowHoverBg:Qn,tableRowHoverBg:Yn,tablePaddingHorizontal:Kn,calc:Wn}=ye;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Mn,[`&${ge}-selection-col-with-dropdown`]:{width:Wn(Mn).add(qt).add(Wn(ln).div(4)).equal()}},[`${ge}-bordered ${ge}-selection-col`]:{width:Wn(Mn).add(Wn(Dn).mul(2)).equal(),[`&${ge}-selection-col-with-dropdown`]:{width:Wn(Mn).add(qt).add(Wn(ln).div(4)).add(Wn(Dn).mul(2)).equal()}},[` + table tr th${ge}-selection-column, + table tr td${ge}-selection-column, + ${ge}-selection-column + `]:{paddingInlineEnd:ye.paddingXS,paddingInlineStart:ye.paddingXS,textAlign:"center",[`${ct}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:Wn(ye.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ye.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,No.unit)(Wn(Kn).div(4).equal()),[Nt]:{color:yn,fontSize:qt,verticalAlign:"baseline","&:hover":{color:Fn}}},[`${ge}-tbody`]:{[`${ge}-row`]:{[`&${ge}-row-selected`]:{[`> ${ge}-cell`]:{background:ar,"&-row-hover":{background:Qn}}},[`> ${ge}-cell-row-hover`]:{background:Yn}}}}}},hc=ye=>{const{componentCls:ge,tableExpandColumnWidth:ct,calc:Nt}=ye,qt=(ln,Dn,yn,Fn)=>({[`${ge}${ge}-${ln}`]:{fontSize:Fn,[` + ${ge}-title, + ${ge}-footer, + ${ge}-cell, + ${ge}-thead > tr > th, + ${ge}-tbody > tr > th, + ${ge}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${(0,No.unit)(Dn)} ${(0,No.unit)(yn)}`},[`${ge}-filter-trigger`]:{marginInlineEnd:(0,No.unit)(Nt(yn).div(2).mul(-1).equal())},[`${ge}-expanded-row-fixed`]:{margin:`${(0,No.unit)(Nt(Dn).mul(-1).equal())} ${(0,No.unit)(Nt(yn).mul(-1).equal())}`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:(0,No.unit)(Nt(Dn).mul(-1).equal()),marginInline:`${(0,No.unit)(Nt(ct).sub(yn).equal())} ${(0,No.unit)(Nt(yn).mul(-1).equal())}`}},[`${ge}-selection-extra`]:{paddingInlineStart:(0,No.unit)(Nt(yn).div(4).equal())}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},qt("middle",ye.tablePaddingVerticalMiddle,ye.tablePaddingHorizontalMiddle,ye.tableFontSizeMiddle)),qt("small",ye.tablePaddingVerticalSmall,ye.tablePaddingHorizontalSmall,ye.tableFontSizeSmall))}},pc=ye=>{const{componentCls:ge,marginXXS:ct,fontSizeIcon:Nt,headerIconColor:qt,headerIconHoverColor:ln}=ye;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ye.motionDurationSlow}, left 0s`,"&:hover":{background:ye.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ye.colorPrimary},[` + &${ge}-cell-fix-left:hover, + &${ge}-cell-fix-right:hover + `]:{background:ye.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:ye.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:ye.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${ge}-column-sorter`]:{marginInlineStart:ct,color:qt,fontSize:0,transition:`color ${ye.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Nt,"&.active":{color:ye.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:ln}}}},mc=ye=>{const{componentCls:ge,opacityLoading:ct,tableScrollThumbBg:Nt,tableScrollThumbBgHover:qt,tableScrollThumbSize:ln,tableScrollBg:Dn,zIndexTableSticky:yn,stickyScrollBarBorderRadius:Fn,lineWidth:Mn,lineType:ar,tableBorderColor:Qn}=ye,Yn=`${(0,No.unit)(Mn)} ${ar} ${Qn}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:yn,background:ye.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,No.unit)(ln)} !important`,zIndex:yn,display:"flex",alignItems:"center",background:Dn,borderTop:Yn,opacity:ct,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:ln,backgroundColor:Nt,borderRadius:Fn,transition:`all ${ye.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:qt}}}}}}},La=ye=>{const{componentCls:ge,lineWidth:ct,tableBorderColor:Nt,calc:qt}=ye,ln=`${(0,No.unit)(ct)} ${ye.lineType} ${Nt}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:ye.zIndexTableFixed,background:ye.tableBg,"> tr":{"> th, > td":{borderBottom:ln}}},[`div${ge}-summary`]:{boxShadow:`0 ${(0,No.unit)(qt(ct).mul(-1).equal())} 0 ${Nt}`}}}},Ma=ye=>{const{componentCls:ge,motionDurationMid:ct,lineWidth:Nt,lineType:qt,tableBorderColor:ln,calc:Dn}=ye,yn=`${(0,No.unit)(Nt)} ${qt} ${ln}`,Fn=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-tbody-virtual-holder-inner`]:{[` + & > ${ge}-row, + & > div:not(${ge}-row) > ${ge}-row + `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${ge}-cell`]:{borderBottom:yn,transition:`background ${ct}`},[`${ge}-expanded-row`]:{[`${Fn}${Fn}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,No.unit)(Nt)})`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:yn,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:yn,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:Dn(Nt).mul(-1).equal(),borderInlineStart:yn}}},[`&${ge}-virtual`]:{[`${ge}-placeholder ${ge}-cell`]:{borderInlineEnd:yn,borderBottom:yn}}}}}};const pa=ye=>{const{componentCls:ge,fontWeightStrong:ct,tablePaddingVertical:Nt,tablePaddingHorizontal:qt,tableExpandColumnWidth:ln,lineWidth:Dn,lineType:yn,tableBorderColor:Fn,tableFontSize:Mn,tableBg:ar,tableRadius:Qn,tableHeaderTextColor:Yn,motionDurationMid:Kn,tableHeaderBg:Wn,tableHeaderCellSplitColor:Ir,tableFooterTextColor:fr,tableFooterBg:Nr,calc:Lr}=ye,Mr=`${(0,No.unit)(Dn)} ${yn} ${Fn}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,bl.dF)()),{[ge]:Object.assign(Object.assign({},(0,bl.Wf)(ye)),{fontSize:Mn,background:ar,borderRadius:`${(0,No.unit)(Qn)} ${(0,No.unit)(Qn)} 0 0`,scrollbarColor:`${ye.tableScrollThumbBg} ${ye.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,No.unit)(Qn)} ${(0,No.unit)(Qn)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${ge}-cell, + ${ge}-thead > tr > th, + ${ge}-tbody > tr > th, + ${ge}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${(0,No.unit)(Nt)} ${(0,No.unit)(qt)}`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${(0,No.unit)(Nt)} ${(0,No.unit)(qt)}`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Yn,fontWeight:ct,textAlign:"start",background:Wn,borderBottom:Mr,transition:`background ${Kn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ir,transform:"translateY(-50%)",transition:`background-color ${Kn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Kn}, border-color ${Kn}`,borderBottom:Mr,[` + > ${ge}-wrapper:only-child, + > ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child + `]:{[ge]:{marginBlock:(0,No.unit)(Lr(Nt).mul(-1).equal()),marginInline:`${(0,No.unit)(Lr(ln).sub(qt).equal())} + ${(0,No.unit)(Lr(qt).mul(-1).equal())}`,[`${ge}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Yn,fontWeight:ct,textAlign:"start",background:Wn,borderBottom:Mr,transition:`background ${Kn} ease`}}},[`${ge}-footer`]:{padding:`${(0,No.unit)(Nt)} ${(0,No.unit)(qt)}`,color:fr,background:Nr}})}},Ql=ye=>{const{colorFillAlter:ge,colorBgContainer:ct,colorTextHeading:Nt,colorFillSecondary:qt,colorFillContent:ln,controlItemBgActive:Dn,controlItemBgActiveHover:yn,padding:Fn,paddingSM:Mn,paddingXS:ar,colorBorderSecondary:Qn,borderRadiusLG:Yn,controlHeight:Kn,colorTextPlaceholder:Wn,fontSize:Ir,fontSizeSM:fr,lineHeight:Nr,lineWidth:Lr,colorIcon:Mr,colorIconHover:jr,opacityLoading:Yr,controlInteractiveSize:ao}=ye,no=new Fl.FastColor(qt).onBackground(ct).toHexString(),Lo=new Fl.FastColor(ln).onBackground(ct).toHexString(),xo=new Fl.FastColor(ge).onBackground(ct).toHexString(),po=new Fl.FastColor(Mr),Mo=new Fl.FastColor(jr),lo=ao/2-Lr,so=lo*2+Lr*3;return{headerBg:xo,headerColor:Nt,headerSortActiveBg:no,headerSortHoverBg:Lo,bodySortBg:xo,rowHoverBg:xo,rowSelectedBg:Dn,rowSelectedHoverBg:yn,rowExpandedBg:ge,cellPaddingBlock:Fn,cellPaddingInline:Fn,cellPaddingBlockMD:Mn,cellPaddingInlineMD:ar,cellPaddingBlockSM:ar,cellPaddingInlineSM:ar,borderColor:Qn,headerBorderRadius:Yn,footerBg:xo,footerColor:Nt,cellFontSize:Ir,cellFontSizeMD:Ir,cellFontSizeSM:Ir,headerSplitColor:Qn,fixedHeaderSortActiveBg:no,headerFilterHoverBg:ln,filterDropdownMenuBg:ct,filterDropdownBg:ct,expandIconBg:ct,selectionColumnWidth:Kn,stickyScrollBarBg:Wn,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Ir*Nr-Lr*3)/2-Math.ceil((fr*1.4-Lr*3)/2),headerIconColor:po.clone().setA(po.a*Yr).toRgbString(),headerIconHoverColor:Mo.clone().setA(Mo.a*Yr).toRgbString(),expandIconHalfInner:lo,expandIconSize:so,expandIconScale:ao/so}},Qs=2;var cs=(0,cc.I$)("Table",ye=>{const{colorTextHeading:ge,colorSplit:ct,colorBgContainer:Nt,controlInteractiveSize:qt,headerBg:ln,headerColor:Dn,headerSortActiveBg:yn,headerSortHoverBg:Fn,bodySortBg:Mn,rowHoverBg:ar,rowSelectedBg:Qn,rowSelectedHoverBg:Yn,rowExpandedBg:Kn,cellPaddingBlock:Wn,cellPaddingInline:Ir,cellPaddingBlockMD:fr,cellPaddingInlineMD:Nr,cellPaddingBlockSM:Lr,cellPaddingInlineSM:Mr,borderColor:jr,footerBg:Yr,footerColor:ao,headerBorderRadius:no,cellFontSize:Lo,cellFontSizeMD:xo,cellFontSizeSM:po,headerSplitColor:Mo,fixedHeaderSortActiveBg:lo,headerFilterHoverBg:so,filterDropdownBg:Kr,expandIconBg:zr,selectionColumnWidth:oo,stickyScrollBarBg:co,calc:Co}=ye,Ur=(0,uc.mergeToken)(ye,{tableFontSize:Lo,tableBg:Nt,tableRadius:no,tablePaddingVertical:Wn,tablePaddingHorizontal:Ir,tablePaddingVerticalMiddle:fr,tablePaddingHorizontalMiddle:Nr,tablePaddingVerticalSmall:Lr,tablePaddingHorizontalSmall:Mr,tableBorderColor:jr,tableHeaderTextColor:Dn,tableHeaderBg:ln,tableFooterTextColor:ao,tableFooterBg:Yr,tableHeaderCellSplitColor:Mo,tableHeaderSortBg:yn,tableHeaderSortHoverBg:Fn,tableBodySortBg:Mn,tableFixedHeaderSortActiveBg:lo,tableHeaderFilterActiveBg:so,tableFilterDropdownBg:Kr,tableRowHoverBg:ar,tableSelectedRowBg:Qn,tableSelectedRowHoverBg:Yn,zIndexTableFixed:Qs,zIndexTableSticky:Co(Qs).add(1).equal({unit:!1}),tableFontSizeMiddle:xo,tableFontSizeSmall:po,tableSelectionColumnWidth:oo,tableExpandIconBg:zr,tableExpandColumnWidth:Co(qt).add(Co(ye.padding).mul(2)).equal(),tableExpandedRowBg:Kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:co,tableScrollThumbBgHover:ge,tableScrollBg:ct});return[pa(Ur),Yl(Ur),La(Ur),pc(Ur),Xs(Ur),Es(Ur),Ys(Ur),Gs(Ur),La(Ur),dc(Ur),Dl(Ur),Xl(Ur),mc(Ur),$l(Ur),hc(Ur),Js(Ur),Ma(Ur)]},Ql,{unitless:{expandIconScale:!0}});const vc=[],gc=(ye,ge)=>{var ct,Nt;const{prefixCls:qt,className:ln,rootClassName:Dn,style:yn,size:Fn,bordered:Mn,dropdownPrefixCls:ar,dataSource:Qn,pagination:Yn,rowSelection:Kn,rowKey:Wn="key",rowClassName:Ir,columns:fr,children:Nr,childrenColumnName:Lr,onChange:Mr,getPopupContainer:jr,loading:Yr,expandIcon:ao,expandable:no,expandedRowRender:Lo,expandIconColumnIndex:xo,indentSize:po,scroll:Mo,sortDirections:lo,locale:so,showSorterTooltip:Kr={target:"full-header"},virtual:zr}=ye,oo=(0,xr.ln)("Table"),co=b.useMemo(()=>fr||Yt(Nr),[fr,Nr]),Co=b.useMemo(()=>co.some(Fo=>Fo.responsive),[co]),Ur=(0,Di.Z)(Co),Ho=b.useMemo(()=>{const Fo=new Set(Object.keys(Ur).filter(Xo=>Ur[Xo]));return co.filter(Xo=>!Xo.responsive||Xo.responsive.some(Ri=>Fo.has(Ri)))},[co,Ur]),jo=(0,_o.Z)(ye,["className","style","columns"]),{locale:Fi=ya.Z,direction:Ni,table:yi,renderEmpty:Mi,getPrefixCls:Hi,getPopupContainer:Wo}=b.useContext(Si.E_),Ko=(0,Go.Z)(Fn),ji=Object.assign(Object.assign({},Fi.Table),so),Xi=Qn||vc,vo=Hi("table",qt),Ao=Hi("dropdown",ar),[,ho]=(0,Ha.ZP)(),ro=(0,Oi.Z)(vo),[Yo,oi,Ei]=cs(vo,ro),mi=Object.assign(Object.assign({childrenColumnName:Lr,expandIconColumnIndex:xo},no),{expandIcon:(ct=no==null?void 0:no.expandIcon)!==null&&ct!==void 0?ct:(Nt=yi==null?void 0:yi.expandable)===null||Nt===void 0?void 0:Nt.expandIcon}),{childrenColumnName:Wi="children"}=mi,ta=b.useMemo(()=>Xi.some(Fo=>Fo==null?void 0:Fo[Wi])?"nest":Lo||no!=null&&no.expandedRowRender?"row":null,[Xi]),bo={body:b.useRef(null)},Do=Eo(vo),ai=b.useRef(null),di=b.useRef(null);ni(ge,()=>Object.assign(Object.assign({},di.current),{nativeElement:ai.current}));const si=b.useMemo(()=>typeof Wn=="function"?Wn:Fo=>Fo==null?void 0:Fo[Wn],[Wn]),[da]=aa(Xi,Wi,si),_i={},Fa=function(Fo,Xo){let Ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ki,ma,fa,nl;const wa=Object.assign(Object.assign({},_i),Fo);Ri&&((Ki=_i.resetPagination)===null||Ki===void 0||Ki.call(_i),!((ma=wa.pagination)===null||ma===void 0)&&ma.current&&(wa.pagination.current=1),Yn&&((fa=Yn.onChange)===null||fa===void 0||fa.call(Yn,1,(nl=wa.pagination)===null||nl===void 0?void 0:nl.pageSize))),Mo&&Mo.scrollToFirstRowOnChange!==!1&&bo.body.current&&(0,Zi.Z)(0,{getContainer:()=>bo.body.current}),Mr==null||Mr(wa.pagination,wa.filters,wa.sorter,{currentDataSource:Po(Ol(Xi,wa.sorterStates,Wi),wa.filterStates,Wi),action:Xo})},Ti=(Fo,Xo)=>{Fa({sorter:Fo,sorterStates:Xo},"sort",!1)},[qo,vi,bi,na]=_s({prefixCls:vo,mergedColumns:Ho,onSorterChange:Ti,sortDirections:lo||["ascend","descend"],tableLocale:ji,showSorterTooltip:Kr}),$i=b.useMemo(()=>Ol(Xi,vi,Wi),[Xi,vi]);_i.sorter=na(),_i.sorterStates=vi;const ei=(Fo,Xo)=>{Fa({filters:Fo,filterStates:Xo},"filter",!0)},[ki,li,xa]=gi({prefixCls:vo,locale:ji,dropdownPrefixCls:Ao,mergedColumns:Ho,onFilterChange:ei,getPopupContainer:jr||Wo,rootClassName:xe()(Dn,ro)}),Yi=Po($i,li,Wi);_i.filters=xa,_i.filterStates=li;const Ta=b.useMemo(()=>{const Fo={};return Object.keys(xa).forEach(Xo=>{xa[Xo]!==null&&(Fo[Xo]=xa[Xo])}),Object.assign(Object.assign({},bi),{filters:Fo})},[bi,xa]),[$a]=ws(Ta),ll=(Fo,Xo)=>{Fa({pagination:Object.assign(Object.assign({},_i.pagination),{current:Fo,pageSize:Xo})},"paginate")},[xi,ql]=ua(Yi.length,ll,Yn);_i.pagination=Yn===!1?{}:sa(xi,Yn),_i.resetPagination=ql;const ka=b.useMemo(()=>{if(Yn===!1||!xi.pageSize)return Yi;const{current:Fo=1,total:Xo,pageSize:Ri=la}=xi;return Yi.lengthRi?Yi.slice((Fo-1)*Ri,Fo*Ri):Yi:Yi.slice((Fo-1)*Ri,Fo*Ri)},[!!Yn,Yi,xi==null?void 0:xi.current,xi==null?void 0:xi.pageSize,xi==null?void 0:xi.total]),[el,Va]=Vr({prefixCls:vo,data:Yi,pageData:ka,getRowKey:si,getRecordByKey:da,expandType:ta,childrenColumnName:Wi,locale:ji,getPopupContainer:jr||Wo},Kn),Za=(Fo,Xo,Ri)=>{let Ki;return typeof Ir=="function"?Ki=xe()(Ir(Fo,Xo,Ri)):Ki=xe()(Ir),xe()({[`${vo}-row-selected`]:Va.has(si(Fo,Xo))},Ki)};mi.__PARENT_RENDER_ICON__=mi.expandIcon,mi.expandIcon=mi.expandIcon||ao||wo(ji),ta==="nest"&&mi.expandIconColumnIndex===void 0?mi.expandIconColumnIndex=Kn?1:0:mi.expandIconColumnIndex>0&&Kn&&(mi.expandIconColumnIndex-=1),typeof mi.indentSize!="number"&&(mi.indentSize=typeof po=="number"?po:15);const Ci=b.useCallback(Fo=>$a(el(ki(qo(Fo)))),[qo,ki,el]);let Ua,xl;if(Yn!==!1&&(xi!=null&&xi.total)){let Fo;xi.size?Fo=xi.size:Fo=Ko==="small"||Ko==="middle"?"small":void 0;const Xo=ma=>b.createElement(Qi.Z,Object.assign({},xi,{className:xe()(`${vo}-pagination ${vo}-pagination-${ma}`,xi.className),size:Fo})),Ri=Ni==="rtl"?"left":"right",{position:Ki}=xi;if(Ki!==null&&Array.isArray(Ki)){const ma=Ki.find(wa=>wa.includes("top")),fa=Ki.find(wa=>wa.includes("bottom")),nl=Ki.every(wa=>`${wa}`=="none");!ma&&!fa&&!nl&&(xl=Xo(Ri)),ma&&(Ua=Xo(ma.toLowerCase().replace("top",""))),fa&&(xl=Xo(fa.toLowerCase().replace("bottom","")))}else xl=Xo(Ri)}let sl;typeof Yr=="boolean"?sl={spinning:Yr}:typeof Yr=="object"&&(sl=Object.assign({spinning:!0},Yr));const cl=xe()(Ei,ro,`${vo}-wrapper`,yi==null?void 0:yi.className,{[`${vo}-wrapper-rtl`]:Ni==="rtl"},ln,Dn,oi),us=Object.assign(Object.assign({},yi==null?void 0:yi.style),yn),ds=typeof(so==null?void 0:so.emptyText)!="undefined"?so.emptyText:(Mi==null?void 0:Mi("Table"))||b.createElement(Ai.Z,{componentName:"Table"}),fs=zr?Ll:Ks,hs={},Ps=b.useMemo(()=>{const{fontSize:Fo,lineHeight:Xo,lineWidth:Ri,padding:Ki,paddingXS:ma,paddingSM:fa}=ho,nl=Math.floor(Fo*Xo);switch(Ko){case"middle":return fa*2+nl+Ri;case"small":return ma*2+nl+Ri;default:return Ki*2+nl+Ri}},[ho,Ko]);return zr&&(hs.listItemHeight=Ps),Yo(b.createElement("div",{ref:ai,className:cl,style:us},b.createElement(Qo.Z,Object.assign({spinning:!1},sl),Ua,b.createElement(fs,Object.assign({},hs,jo,{ref:di,columns:Ho,direction:Ni,expandable:mi,prefixCls:vo,className:xe()({[`${vo}-middle`]:Ko==="middle",[`${vo}-small`]:Ko==="small",[`${vo}-bordered`]:Mn,[`${vo}-empty`]:Xi.length===0},Ei,ro,oi),data:ka,rowKey:si,rowClassName:Za,emptyText:ds,internalHooks:ce,internalRefs:bo,transformColumns:Ci,getContainerWidth:Do})),xl)))};var yc=b.forwardRef(gc);const Os=(ye,ge)=>{const ct=b.useRef(0);return ct.current+=1,b.createElement(yc,Object.assign({},ye,{ref:ge,_renderTimes:ct.current}))},al=b.forwardRef(Os);al.SELECTION_COLUMN=Ar,al.EXPAND_COLUMN=Me,al.SELECTION_ALL=_r,al.SELECTION_INVERT=fo,al.SELECTION_NONE=ko,al.Column=Rn,al.ColumnGroup=Ln,al.Summary=Le;var Ds=al,bc=Ds},96599:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return xe}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(2738),Pe=ee(29509),pe=ee(78776),be=ee(22703),Ve=ee(12919),Ie=ee(48755),ue=ee(36237),$e=ee(17835),Ee=ee(63356),Rt=ee(51636),ot=ee(16931);const st=se=>{const{paddingXXS:It,lineWidth:_e,tagPaddingHorizontal:Ye,componentCls:Ft,calc:Ce}=se,he=Ce(Ye).sub(_e).equal(),yt=Ce(It).sub(_e).equal();return{[Ft]:Object.assign(Object.assign({},(0,Ee.Wf)(se)),{display:"inline-block",height:"auto",marginInlineEnd:se.marginXS,paddingInline:he,fontSize:se.tagFontSize,lineHeight:se.tagLineHeight,whiteSpace:"nowrap",background:se.defaultBg,border:`${(0,ue.unit)(se.lineWidth)} ${se.lineType} ${se.colorBorder}`,borderRadius:se.borderRadiusSM,opacity:1,transition:`all ${se.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ft}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:se.defaultColor},[`${Ft}-close-icon`]:{marginInlineStart:yt,fontSize:se.tagIconSize,color:se.colorTextDescription,cursor:"pointer",transition:`all ${se.motionDurationMid}`,"&:hover":{color:se.colorTextHeading}},[`&${Ft}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${se.iconCls}-close, ${se.iconCls}-close:hover`]:{color:se.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ft}-checkable-checked):hover`]:{color:se.colorPrimary,backgroundColor:se.colorFillSecondary},"&:active, &-checked":{color:se.colorTextLightSolid},"&-checked":{backgroundColor:se.colorPrimary,"&:hover":{backgroundColor:se.colorPrimaryHover}},"&:active":{backgroundColor:se.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${se.iconCls} + span, > span + ${se.iconCls}`]:{marginInlineStart:he}}),[`${Ft}-borderless`]:{borderColor:"transparent",background:se.tagBorderlessBg}}},Ue=se=>{const{lineWidth:It,fontSizeIcon:_e,calc:Ye}=se,Ft=se.fontSizeSM;return(0,Rt.mergeToken)(se,{tagFontSize:Ft,tagLineHeight:(0,ue.unit)(Ye(se.lineHeightSM).mul(Ft).equal()),tagIconSize:Ye(_e).sub(Ye(It).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:se.defaultBg})},Re=se=>({defaultBg:new $e.FastColor(se.colorFillQuaternary).onBackground(se.colorBgContainer).toHexString(),defaultColor:se.colorText});var ft=(0,ot.I$)("Tag",se=>{const It=Ue(se);return st(It)},Re),kt=function(se,It){var _e={};for(var Ye in se)Object.prototype.hasOwnProperty.call(se,Ye)&&It.indexOf(Ye)<0&&(_e[Ye]=se[Ye]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,Ye=Object.getOwnPropertySymbols(se);Ft{const{prefixCls:_e,style:Ye,className:Ft,checked:Ce,onChange:he,onClick:yt}=se,Vt=kt(se,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Lt,tag:me}=b.useContext(Ie.E_),qe=dn=>{he==null||he(!Ce),yt==null||yt(dn)},it=Lt("tag",_e),[Xt,Xe,Gt]=ft(it),Fe=ce()(it,`${it}-checkable`,{[`${it}-checkable-checked`]:Ce},me==null?void 0:me.className,Ft,Xe,Gt);return Xt(b.createElement("span",Object.assign({},Vt,{ref:It,style:Object.assign(Object.assign({},Ye),me==null?void 0:me.style),className:Fe,onClick:qe})))}),Ae=ee(93427);const tt=se=>(0,Ae.Z)(se,(It,_e)=>{let{textColor:Ye,lightBorderColor:Ft,lightColor:Ce,darkColor:he}=_e;return{[`${se.componentCls}${se.componentCls}-${It}`]:{color:Ye,background:Ce,borderColor:Ft,"&-inverse":{color:se.colorTextLightSolid,background:he,borderColor:he},[`&${se.componentCls}-borderless`]:{borderColor:"transparent"}}}});var nt=(0,ot.bk)(["Tag","preset"],se=>{const It=Ue(se);return tt(It)},Re);function zt(se){return typeof se!="string"?se:se.charAt(0).toUpperCase()+se.slice(1)}const Ot=(se,It,_e)=>{const Ye=zt(_e);return{[`${se.componentCls}${se.componentCls}-${It}`]:{color:se[`color${_e}`],background:se[`color${Ye}Bg`],borderColor:se[`color${Ye}Border`],[`&${se.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ht=(0,ot.bk)(["Tag","status"],se=>{const It=Ue(se);return[Ot(It,"success","Success"),Ot(It,"processing","Info"),Ot(It,"error","Error"),Ot(It,"warning","Warning")]},Re),Ct=function(se,It){var _e={};for(var Ye in se)Object.prototype.hasOwnProperty.call(se,Ye)&&It.indexOf(Ye)<0&&(_e[Ye]=se[Ye]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,Ye=Object.getOwnPropertySymbols(se);Ft{const{prefixCls:_e,className:Ye,rootClassName:Ft,style:Ce,children:he,icon:yt,color:Vt,onClose:Lt,bordered:me=!0,visible:qe}=se,it=Ct(se,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Xt,direction:Xe,tag:Gt}=b.useContext(Ie.E_),[Fe,dn]=b.useState(!0),$t=(0,et.Z)(it,["closeIcon","closable"]);b.useEffect(()=>{qe!==void 0&&dn(qe)},[qe]);const ae=(0,Pe.o2)(Vt),ne=(0,Pe.yT)(Vt),te=ae||ne,ie=Object.assign(Object.assign({backgroundColor:Vt&&!te?Vt:void 0},Gt==null?void 0:Gt.style),Ce),de=Xt("tag",_e),[re,le,Se]=ft(de),Ge=ce()(de,Gt==null?void 0:Gt.className,{[`${de}-${Vt}`]:te,[`${de}-has-color`]:Vt&&!te,[`${de}-hidden`]:!Fe,[`${de}-rtl`]:Xe==="rtl",[`${de}-borderless`]:!me},Ye,Ft,le,Se),He=Be=>{Be.stopPropagation(),Lt==null||Lt(Be),!Be.defaultPrevented&&dn(!1)},[,Le]=(0,pe.Z)((0,pe.w)(se),(0,pe.w)(Gt),{closable:!1,closeIconRender:Be=>{const Ut=b.createElement("span",{className:`${de}-close-icon`,onClick:He},Be);return(0,be.wm)(Be,Ut,Zt=>({onClick:mn=>{var vn;(vn=Zt==null?void 0:Zt.onClick)===null||vn===void 0||vn.call(Zt,mn),He(mn)},className:ce()(Zt==null?void 0:Zt.className,`${de}-close-icon`)}))}}),rt=typeof it.onClick=="function"||he&&he.type==="a",ut=yt||null,At=ut?b.createElement(b.Fragment,null,ut,he&&b.createElement("span",null,he)):he,Ne=b.createElement("span",Object.assign({},$t,{ref:It,className:Ge,style:ie}),At,Le,ae&&b.createElement(nt,{key:"preset",prefixCls:de}),ne&&b.createElement(ht,{key:"status",prefixCls:de}));return re(rt?b.createElement(Ve.Z,{component:"Tag"},Ne):Ne)});ke.CheckableTag=Qe;var xe=ke},53420:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return Tn}});var b=ee(59301),Me=ee(92310),ce=ee.n(Me),et=ee(60499),Pe=ee(77654),pe=ee(85899),be=ee(72190),Ve=ee(42244),Ie=ee(43749),ue=ee(37463),$e=ee(6551),Ee=ee(34643),Rt=ee(18929),ot=ee(48736),st=function(Jt){var wn=b.useRef({valueLabels:new Map});return b.useMemo(function(){var gn=wn.current.valueLabels,Nn=new Map,An=Jt.map(function(rr){var Qt=rr.value,Yt=rr.label,xn=Yt!=null?Yt:gn.get(Qt);return Nn.set(Qt,xn),(0,pe.Z)((0,pe.Z)({},rr),{},{label:xn})});return wn.current.valueLabels=Nn,[An]},[Jt])},Ue=function(wn,gn,Nn,An){return b.useMemo(function(){var rr=function(Te){return Te.map(function(gt){var Ke=gt.value;return Ke})},Qt=rr(wn),Yt=rr(gn),xn=Qt.filter(function(Dt){return!An[Dt]}),Vn=Qt,jn=Yt;if(Nn){var vt=(0,Ee.S)(Qt,!0,An);Vn=vt.checkedKeys,jn=vt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Pe.Z)(xn),(0,Pe.Z)(Vn)))),jn]},[wn,gn,Nn,An])},Re=Ue,ft=ee(34061),kt=function(Jt,wn){return b.useMemo(function(){var gn=(0,ft.I8)(Jt,{fieldNames:wn,initWrapper:function(An){return(0,pe.Z)((0,pe.Z)({},An),{},{valueEntities:new Map})},processEntity:function(An,rr){var Qt=An.node[wn.value];if(0)var Yt;rr.valueEntities.set(Qt,An)}});return gn},[Jt,wn])},en=ee(18642),Qe=ee(11592),Ae=function(){return null},tt=Ae,nt=["children","value"];function zt(Jt){return(0,Qe.Z)(Jt).map(function(wn){if(!b.isValidElement(wn)||!wn.type)return null;var gn=wn,Nn=gn.key,An=gn.props,rr=An.children,Qt=An.value,Yt=(0,Ve.Z)(An,nt),xn=(0,pe.Z)({key:Nn,value:Qt},Yt),Vn=zt(rr);return Vn.length&&(xn.children=Vn),xn}).filter(function(wn){return wn})}function Ot(Jt){if(!Jt)return Jt;var wn=(0,pe.Z)({},Jt);return"props"in wn||Object.defineProperty(wn,"props",{get:function(){return(0,ot.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),wn}}),wn}function ht(Jt,wn,gn,Nn,An,rr){var Qt=null,Yt=null;function xn(){function Vn(jn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return jn.map(function(Te,gt){var Ke="".concat(vt,"-").concat(gt),wt=Te[rr.value],Ht=gn.includes(wt),Hn=Vn(Te[rr.children]||[],Ke,Ht),Jn=b.createElement(tt,Te,Hn.map(function(mt){return mt.node}));if(wn===wt&&(Qt=Jn),Ht){var lt={pos:Ke,node:Jn,children:Hn};return Dt||Yt.push(lt),lt}return null}).filter(function(Te){return Te})}Yt||(Yt=[],Vn(Nn),Yt.sort(function(jn,vt){var Dt=jn.node.props.value,Te=vt.node.props.value,gt=gn.indexOf(Dt),Ke=gn.indexOf(Te);return gt-Ke}))}Object.defineProperty(Jt,"triggerNode",{get:function(){return(0,ot.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),xn(),Qt}}),Object.defineProperty(Jt,"allCheckedNodes",{get:function(){return(0,ot.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),xn(),An?Yt:Yt.map(function(jn){var vt=jn.node;return vt})}})}var Ct=function(wn,gn,Nn){var An=Nn.fieldNames,rr=Nn.treeNodeFilterProp,Qt=Nn.filterTreeNode,Yt=An.children;return b.useMemo(function(){if(!gn||Qt===!1)return wn;var xn=typeof Qt=="function"?Qt:function(jn,vt){return String(vt[rr]).toUpperCase().includes(gn.toUpperCase())},Vn=function jn(vt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return vt.reduce(function(Te,gt){var Ke=gt[Yt],wt=Dt||xn(gn,Ot(gt)),Ht=jn(Ke||[],wt);return(wt||Ht.length)&&Te.push((0,pe.Z)((0,pe.Z)({},gt),{},(0,en.Z)({isLeaf:void 0},Yt,Ht))),Te},[])};return Vn(wn)},[wn,gn,Yt,rr,Qt])},De=Ct;function ke(Jt){var wn=b.useRef();wn.current=Jt;var gn=b.useCallback(function(){return wn.current.apply(wn,arguments)},[]);return gn}function xe(Jt,wn){var gn=wn.id,Nn=wn.pId,An=wn.rootPId,rr=new Map,Qt=[];return Jt.forEach(function(Yt){var xn=Yt[gn],Vn=(0,pe.Z)((0,pe.Z)({},Yt),{},{key:Yt.key||xn});rr.set(xn,Vn)}),rr.forEach(function(Yt){var xn=Yt[Nn],Vn=rr.get(xn);Vn?(Vn.children=Vn.children||[],Vn.children.push(Yt)):(xn===An||An===null)&&Qt.push(Yt)}),Qt}function se(Jt,wn,gn){return b.useMemo(function(){if(Jt){if(gn){var Nn=(0,pe.Z)({id:"id",pId:"pId",rootPId:null},(0,Ie.Z)(gn)==="object"?gn:{});return xe(Jt,Nn)}return Jt}return zt(wn)},[wn,gn,Jt])}var It=b.createContext(null),_e=It,Ye=ee(72054),Ft=ee(87632),Ce=ee(10228),he=ee(80547),yt=b.createContext(null),Vt=yt,Lt=function(wn){return Array.isArray(wn)?wn:wn!==void 0?[wn]:[]},me=function(wn){var gn=wn||{},Nn=gn.label,An=gn.value,rr=gn.children;return{_title:Nn?[Nn]:["title","label"],value:An||"value",key:An||"value",children:rr||"children"}},qe=function(wn){return!wn||wn.disabled||wn.disableCheckbox||wn.checkable===!1},it=function(wn,gn){var Nn=[],An=function rr(Qt){Qt.forEach(function(Yt){var xn=Yt[gn.children];xn&&(Nn.push(Yt[gn.value]),rr(xn))})};return An(wn),Nn},Xt=function(wn){return wn==null},Xe=ee(70425),Gt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Fe=function(wn,gn){var Nn=(0,ue.lk)(),An=Nn.prefixCls,rr=Nn.multiple,Qt=Nn.searchValue,Yt=Nn.toggleOpen,xn=Nn.open,Vn=Nn.notFoundContent,jn=b.useContext(Vt),vt=jn.virtual,Dt=jn.listHeight,Te=jn.listItemHeight,gt=jn.listItemScrollOffset,Ke=jn.treeData,wt=jn.fieldNames,Ht=jn.onSelect,Hn=jn.dropdownMatchSelectWidth,Jn=jn.treeExpandAction,lt=jn.treeTitleRender,mt=jn.onPopupScroll,pt=jn.leftMaxCount,xt=jn.leafCountOnly,fn=jn.valueEntities,In=b.useContext(_e),pn=In.checkable,Sn=In.checkedKeys,$n=In.halfCheckedKeys,qn=In.treeExpandedKeys,ur=In.treeDefaultExpandAll,tr=In.treeDefaultExpandedKeys,Xn=In.onTreeExpand,or=In.treeIcon,dr=In.showTreeIcon,br=In.switcherIcon,vr=In.treeLine,Tr=In.treeNodeFilterProp,Br=In.loadData,cr=In.treeLoadedKeys,Er=In.treeMotion,Wr=In.onTreeLoad,Rr=In.keyEntities,Sr=b.useRef(),Fr=(0,he.Z)(function(){return Ke},[xn,Ke],function(Or,Dr){return Dr[0]&&Or[1]!==Dr[1]}),$r=b.useMemo(function(){return pn?{checked:Sn,halfChecked:$n}:null},[pn,Sn,$n]);b.useEffect(function(){if(xn&&!rr&&Sn.length){var Or;(Or=Sr.current)===null||Or===void 0||Or.scrollTo({key:Sn[0]})}},[xn]);var wr=function(Dr){Dr.preventDefault()},gr=function(Dr,Ar){var _r=Ar.node;pn&&qe(_r)||(Ht(_r.key,{selected:!Sn.includes(_r.key)}),rr||Yt(!1))},yr=b.useState(tr),Xr=(0,be.Z)(yr,2),go=Xr[0],So=Xr[1],to=b.useState(null),io=(0,be.Z)(to,2),Oe=io[0],We=io[1],bt=b.useMemo(function(){return qn?(0,Pe.Z)(qn):Qt?Oe:go},[go,Oe,qn,Qt]),Ze=function(Dr){So(Dr),We(Dr),Xn&&Xn(Dr)},dt=String(Qt).toLowerCase(),at=function(Dr){return dt?String(Dr[Tr]).toLowerCase().includes(dt):!1};b.useEffect(function(){Qt&&We(it(Ke,wt))},[Qt]);var Mt=b.useState(function(){return new Map}),Bt=(0,be.Z)(Mt,2),Wt=Bt[0],En=Bt[1];b.useEffect(function(){pt&&En(new Map)},[pt]);function Rn(Or){var Dr=Or[wt.value];if(!Wt.has(Dr)){var Ar=fn.get(Dr),_r=(Ar.children||[]).length===0;if(_r)Wt.set(Dr,!1);else{var fo=Ar.children.filter(function(Io){return!Io.node.disabled&&!Io.node.disableCheckbox&&!Sn.includes(Io.node[wt.value])}),ko=fo.length;Wt.set(Dr,ko>pt)}}return Wt.get(Dr)}var hn=(0,Xe.zX)(function(Or){var Dr=Or[wt.value];return Sn.includes(Dr)||pt===null?!1:pt<=0?!0:xt&&pt?Rn(Or):!1}),Ln=function Or(Dr){var Ar=(0,Ye.Z)(Dr),_r;try{for(Ar.s();!(_r=Ar.n()).done;){var fo=_r.value;if(!(fo.disabled||fo.selectable===!1)){if(Qt){if(at(fo))return fo}else return fo;if(fo[wt.children]){var ko=Or(fo[wt.children]);if(ko)return ko}}}}catch(Io){Ar.e(Io)}finally{Ar.f()}return null},Gn=b.useState(null),lr=(0,be.Z)(Gn,2),sr=lr[0],pr=lr[1],mr=Rr[sr];b.useEffect(function(){if(xn){var Or=null,Dr=function(){var _r=Ln(Fr);return _r?_r[wt.value]:null};!rr&&Sn.length&&!Qt?Or=Sn[0]:Or=Dr(),pr(Or)}},[xn,Qt]),b.useImperativeHandle(gn,function(){var Or;return{scrollTo:(Or=Sr.current)===null||Or===void 0?void 0:Or.scrollTo,onKeyDown:function(Ar){var _r,fo=Ar.which;switch(fo){case Ce.Z.UP:case Ce.Z.DOWN:case Ce.Z.LEFT:case Ce.Z.RIGHT:(_r=Sr.current)===null||_r===void 0||_r.onKeyDown(Ar);break;case Ce.Z.ENTER:{if(mr){var ko=hn(mr.node),Io=(mr==null?void 0:mr.node)||{},Vo=Io.selectable,Qr=Io.value,Vr=Io.disabled;Vo!==!1&&!Vr&&!ko&&gr(null,{node:{key:sr},selected:!Sn.includes(Qr)})}break}case Ce.Z.ESC:Yt(!1)}},onKeyUp:function(){}}});var kr=(0,he.Z)(function(){return!Qt},[Qt,qn||go],function(Or,Dr){var Ar=(0,be.Z)(Or,1),_r=Ar[0],fo=(0,be.Z)(Dr,2),ko=fo[0],Io=fo[1];return _r!==ko&&!!(ko||Io)}),xr=kr?Br:null;if(Fr.length===0)return b.createElement("div",{role:"listbox",className:"".concat(An,"-empty"),onMouseDown:wr},Vn);var Gr={fieldNames:wt};return cr&&(Gr.loadedKeys=cr),bt&&(Gr.expandedKeys=bt),b.createElement("div",{onMouseDown:wr},mr&&xn&&b.createElement("span",{style:Gt,"aria-live":"assertive"},mr.node.value),b.createElement(Ft.y6.Provider,{value:{nodeDisabled:hn}},b.createElement(Ft.ZP,(0,et.Z)({ref:Sr,focusable:!1,prefixCls:"".concat(An,"-tree"),treeData:Fr,height:Dt,itemHeight:Te,itemScrollOffset:gt,virtual:vt!==!1&&Hn!==!1,multiple:rr,icon:or,showIcon:dr,switcherIcon:br,showLine:vr,loadData:xr,motion:Er,activeKey:sr,checkable:pn,checkStrictly:!0,checkedKeys:$r,selectedKeys:pn?[]:Sn,defaultExpandAll:ur,titleRender:lt},Gr,{onActiveChange:pr,onSelect:gr,onCheck:gr,onExpand:Ze,onLoad:Wr,filterTreeNode:at,expandAction:Jn,onScroll:mt}))))},dn=b.forwardRef(Fe),$t=dn,ae="SHOW_ALL",ne="SHOW_PARENT",te="SHOW_CHILD";function ie(Jt,wn,gn,Nn){var An=new Set(Jt);return wn===te?Jt.filter(function(rr){var Qt=gn[rr];return!Qt||!Qt.children||!Qt.children.some(function(Yt){var xn=Yt.node;return An.has(xn[Nn.value])})||!Qt.children.every(function(Yt){var xn=Yt.node;return qe(xn)||An.has(xn[Nn.value])})}):wn===ne?Jt.filter(function(rr){var Qt=gn[rr],Yt=Qt?Qt.parent:null;return!Yt||qe(Yt.node)||!An.has(Yt.key)}):Jt}function de(Jt){var wn=Jt.searchPlaceholder,gn=Jt.treeCheckStrictly,Nn=Jt.treeCheckable,An=Jt.labelInValue,rr=Jt.value,Qt=Jt.multiple,Yt=Jt.showCheckedStrategy,xn=Jt.maxCount;warning(!wn,"`searchPlaceholder` has been removed."),gn&&An===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(An||gn)&&warning(toArray(rr).every(function(Vn){return Vn&&_typeof(Vn)==="object"&&"value"in Vn}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),gn||Qt||Nn?warning(!rr||Array.isArray(rr),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(rr),"`value` should not be array when `TreeSelect` is single mode."),xn&&(Yt==="SHOW_ALL"&&!gn||Yt==="SHOW_PARENT")&&warning(!1,"`maxCount` not work with `showCheckedStrategy=SHOW_ALL` (when `treeCheckStrictly=false`) or `showCheckedStrategy=SHOW_PARENT`.")}var re=null,le=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function Se(Jt){return!Jt||(0,Ie.Z)(Jt)!=="object"}var Ge=b.forwardRef(function(Jt,wn){var gn=Jt.id,Nn=Jt.prefixCls,An=Nn===void 0?"rc-tree-select":Nn,rr=Jt.value,Qt=Jt.defaultValue,Yt=Jt.onChange,xn=Jt.onSelect,Vn=Jt.onDeselect,jn=Jt.searchValue,vt=Jt.inputValue,Dt=Jt.onSearch,Te=Jt.autoClearSearchValue,gt=Te===void 0?!0:Te,Ke=Jt.filterTreeNode,wt=Jt.treeNodeFilterProp,Ht=wt===void 0?"value":wt,Hn=Jt.showCheckedStrategy,Jn=Jt.treeNodeLabelProp,lt=Jt.multiple,mt=Jt.treeCheckable,pt=Jt.treeCheckStrictly,xt=Jt.labelInValue,fn=Jt.maxCount,In=Jt.fieldNames,pn=Jt.treeDataSimpleMode,Sn=Jt.treeData,$n=Jt.children,qn=Jt.loadData,ur=Jt.treeLoadedKeys,tr=Jt.onTreeLoad,Xn=Jt.treeDefaultExpandAll,or=Jt.treeExpandedKeys,dr=Jt.treeDefaultExpandedKeys,br=Jt.onTreeExpand,vr=Jt.treeExpandAction,Tr=Jt.virtual,Br=Jt.listHeight,cr=Br===void 0?200:Br,Er=Jt.listItemHeight,Wr=Er===void 0?20:Er,Rr=Jt.listItemScrollOffset,Sr=Rr===void 0?0:Rr,Fr=Jt.onDropdownVisibleChange,$r=Jt.dropdownMatchSelectWidth,wr=$r===void 0?!0:$r,gr=Jt.treeLine,yr=Jt.treeIcon,Xr=Jt.showTreeIcon,go=Jt.switcherIcon,So=Jt.treeMotion,to=Jt.treeTitleRender,io=Jt.onPopupScroll,Oe=(0,Ve.Z)(Jt,le),We=(0,$e.ZP)(gn),bt=mt&&!pt,Ze=mt||pt,dt=pt||xt,at=Ze||lt,Mt=(0,Rt.Z)(Qt,{value:rr}),Bt=(0,be.Z)(Mt,2),Wt=Bt[0],En=Bt[1],Rn=b.useMemo(function(){return mt?Hn||te:ae},[Hn,mt]),hn=b.useMemo(function(){return me(In)},[JSON.stringify(In)]),Ln=(0,Rt.Z)("",{value:jn!==void 0?jn:vt,postState:function(Pr){return Pr||""}}),Gn=(0,be.Z)(Ln,2),lr=Gn[0],sr=Gn[1],pr=function(Pr){sr(Pr),Dt==null||Dt(Pr)},mr=se(Sn,$n,pn),kr=kt(mr,hn),xr=kr.keyEntities,Gr=kr.valueEntities,Or=b.useCallback(function(Zr){var Pr=[],Jr=[];return Zr.forEach(function(mo){Gr.has(mo)?Jr.push(mo):Pr.push(mo)}),{missingRawValues:Pr,existRawValues:Jr}},[Gr]),Dr=De(mr,lr,{fieldNames:hn,treeNodeFilterProp:Ht,filterTreeNode:Ke}),Ar=b.useCallback(function(Zr){if(Zr){if(Jn)return Zr[Jn];for(var Pr=hn._title,Jr=0;Jrya)){var ui=fo(Zr);if(En(ui),gt&&sr(""),Yt){var Zo=Zr;bt&&(Zo=mo.map(function(Pa){var ia=Gr.get(Pa);return ia?ia.node[hn.value]:Pa}));var $o=Pr||{triggerValue:void 0,selected:void 0},Ro=$o.triggerValue,hi=$o.selected,wi=Zo;if(pt){var Bi=Vr.filter(function(Pa){return!Zo.includes(Pa.value)});wi=[].concat((0,Pe.Z)(wi),(0,Pe.Z)(Bi))}var qi=fo(wi),oa={preValue:Qr,triggerValue:Ro},Ui=!0;(pt||Jr==="selection"&&!hi)&&(Ui=!1),ht(oa,Ro,Zr,mr,Ui,hn),Ze?oa.checked=hi:oa.selected=hi;var ja=dt?qi:qi.map(function(Pa){return Pa.value});Yt(at?ja:ja[0],dt?null:qi.map(function(Pa){return Pa.label}),oa)}}}),Qo=b.useCallback(function(Zr,Pr){var Jr,mo=Pr.selected,ui=Pr.source,Zo=xr[Zr],$o=Zo==null?void 0:Zo.node,Ro=(Jr=$o==null?void 0:$o[hn.value])!==null&&Jr!==void 0?Jr:Zr;if(!at)Qi([Ro],{selected:!0,triggerValue:Ro},"option");else{var hi=mo?[].concat((0,Pe.Z)(_o),[Ro]):Zi.filter(function(ia){return ia!==Ro});if(bt){var wi=Or(hi),Bi=wi.missingRawValues,qi=wi.existRawValues,oa=qi.map(function(ia){return Gr.get(ia).key}),Ui;if(mo){var ja=(0,Ee.S)(oa,!0,xr);Ui=ja.checkedKeys}else{var Pa=(0,Ee.S)(oa,{checked:!1,halfCheckedKeys:Si},xr);Ui=Pa.checkedKeys}hi=[].concat((0,Pe.Z)(Bi),(0,Pe.Z)(Ui.map(function(ia){return xr[ia].node[hn.value]})))}Qi(hi,{selected:mo,triggerValue:Ro},ui||"option")}mo||!at?xn==null||xn(Ro,Ot($o)):Vn==null||Vn(Ro,Ot($o))},[Or,Gr,xr,hn,at,_o,Qi,bt,xn,Vn,Zi,Si,fn]),Ha=b.useCallback(function(Zr){if(Fr){var Pr={};Object.defineProperty(Pr,"documentClickClose",{get:function(){return(0,ot.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Fr(Zr,Pr)}},[Fr]),Ba=ke(function(Zr,Pr){var Jr=Zr.map(function(mo){return mo.value});if(Pr.type==="clear"){Qi(Jr,{},"selection");return}Pr.values.length&&Qo(Pr.values[0].value,{selected:!1,source:"selection"})}),wo=b.useMemo(function(){return{virtual:Tr,dropdownMatchSelectWidth:wr,listHeight:cr,listItemHeight:Wr,listItemScrollOffset:Sr,treeData:Dr,fieldNames:hn,onSelect:Qo,treeExpandAction:vr,treeTitleRender:to,onPopupScroll:io,leftMaxCount:fn===void 0?null:fn-Di.length,leafCountOnly:Rn==="SHOW_CHILD"&&!pt&&!!mt,valueEntities:Gr}},[Tr,wr,cr,Wr,Sr,Dr,hn,Qo,vr,to,io,fn,Di.length,Rn,pt,mt,Gr]),Eo=b.useMemo(function(){return{checkable:Ze,loadData:qn,treeLoadedKeys:ur,onTreeLoad:tr,checkedKeys:Zi,halfCheckedKeys:Si,treeDefaultExpandAll:Xn,treeExpandedKeys:or,treeDefaultExpandedKeys:dr,onTreeExpand:br,treeIcon:yr,treeMotion:So,showTreeIcon:Xr,switcherIcon:go,treeLine:gr,treeNodeFilterProp:Ht,keyEntities:xr}},[Ze,qn,ur,tr,Zi,Si,Xn,or,dr,br,yr,So,Xr,go,gr,Ht,xr]);return b.createElement(Vt.Provider,{value:wo},b.createElement(_e.Provider,{value:Eo},b.createElement(ue.Ac,(0,et.Z)({ref:wn},Oe,{id:We,prefixCls:An,mode:at?"multiple":void 0,displayValues:Di,onDisplayValuesChange:Ba,searchValue:lr,onSearch:pr,OptionList:$t,emptyOptions:!mr.length,onDropdownVisibleChange:Ha,dropdownMatchSelectWidth:wr}))))}),He=Ge;He.TreeNode=tt,He.SHOW_ALL=ae,He.SHOW_PARENT=ne,He.SHOW_CHILD=te;var Le=He,rt=Le,ut=ee(2738),At=ee(75030),Ne=ee(86641),Be=ee(45915),Ut=ee(82855),Zt=ee(48755),mn=ee(38406),vn=ee(2171),jt=ee(83397),Cn=ee(31756),on=ee(56553),Je=ee(24971),Tt=ee(1722),an=ee(90376),_t=ee(68525),je=ee(90005),Pt=ee(70045),Kt=ee(57700),nn=ee(85278),On=ee(36237),_n=ee(36170),nr=ee(51636),ir=ee(16931),Zn=ee(12425);const er=Jt=>{const{componentCls:wn,treePrefixCls:gn,colorBgElevated:Nn}=Jt,An=`.${gn}`;return[{[`${wn}-dropdown`]:[{padding:`${(0,On.unit)(Jt.paddingXS)} ${(0,On.unit)(Jt.calc(Jt.paddingXS).div(2).equal())}`},(0,Zn.Yk)(gn,(0,nr.mergeToken)(Jt,{colorBgContainer:Nn}),!1),{[An]:{borderRadius:0,[`${An}-list-holder-inner`]:{alignItems:"stretch",[`${An}-treenode`]:{[`${An}-node-content-wrapper`]:{flex:"auto"}}}}},(0,_n.C2)(`${gn}-checkbox`,Jt),{"&-rtl":{direction:"rtl",[`${An}-switcher${An}-switcher_close`]:{[`${An}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},kn=null;function cn(Jt,wn,gn){return(0,ir.I$)("TreeSelect",Nn=>{const An=(0,nr.mergeToken)(Nn,{treePrefixCls:wn});return[er(An)]},Zn.TM)(Jt,gn)}var bn=function(Jt,wn){var gn={};for(var Nn in Jt)Object.prototype.hasOwnProperty.call(Jt,Nn)&&wn.indexOf(Nn)<0&&(gn[Nn]=Jt[Nn]);if(Jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,Nn=Object.getOwnPropertySymbols(Jt);An{var gn;const{prefixCls:Nn,size:An,disabled:rr,bordered:Qt=!0,className:Yt,rootClassName:xn,treeCheckable:Vn,multiple:jn,listHeight:vt=256,listItemHeight:Dt,placement:Te,notFoundContent:gt,switcherIcon:Ke,treeLine:wt,getPopupContainer:Ht,popupClassName:Hn,dropdownClassName:Jn,treeIcon:lt=!1,transitionName:mt,choiceTransitionName:pt="",status:xt,treeExpandAction:fn,builtinPlacements:In,dropdownMatchSelectWidth:pn,popupMatchSelectWidth:Sn,allowClear:$n,variant:qn,dropdownStyle:ur,tagRender:tr,maxCount:Xn,showCheckedStrategy:or,treeCheckStrictly:dr}=Jt,br=bn(Jt,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:vr,getPrefixCls:Tr,renderEmpty:Br,direction:cr,virtual:Er,popupMatchSelectWidth:Wr,popupOverflow:Rr}=b.useContext(Zt.E_),[,Sr]=(0,Kt.ZP)(),Fr=Dt!=null?Dt:(Sr==null?void 0:Sr.controlHeightSM)+(Sr==null?void 0:Sr.paddingXXS),$r=Tr(),wr=Tr("select",Nn),gr=Tr("select-tree",Nn),yr=Tr("tree-select",Nn),{compactSize:Xr,compactItemClassnames:go}=(0,Pt.ri)(wr,cr),So=(0,jt.Z)(wr),to=(0,jt.Z)(yr),[io,Oe,We]=(0,an.Z)(wr,So),[bt]=cn(yr,gr,to),[Ze,dt]=(0,Je.Z)("treeSelect",qn,Qt),at=ce()(Hn||Jn,`${yr}-dropdown`,{[`${yr}-dropdown-rtl`]:cr==="rtl"},xn,We,So,to,Oe),Mt=!!(Vn||jn),Bt=b.useMemo(()=>{if(!(Xn&&(or==="SHOW_ALL"&&!dr||or==="SHOW_PARENT")))return Xn},[Xn,or,dr]),Wt=(0,je.Z)(Jt.suffixIcon,Jt.showArrow),En=(gn=Sn!=null?Sn:pn)!==null&&gn!==void 0?gn:Wr,{status:Rn,hasFeedback:hn,isFormItemInput:Ln,feedbackIcon:Gn}=b.useContext(on.aM),lr=(0,Ut.F)(Rn,xt),{suffixIcon:sr,removeIcon:pr,clearIcon:mr}=(0,_t.Z)(Object.assign(Object.assign({},br),{multiple:Mt,showSuffixIcon:Wt,hasFeedback:hn,feedbackIcon:Gn,prefixCls:wr,componentName:"TreeSelect"})),kr=$n===!0?{clearIcon:mr}:$n;let xr;gt!==void 0?xr=gt:xr=(Br==null?void 0:Br("Select"))||b.createElement(mn.Z,{componentName:"Select"});const Gr=(0,ut.Z)(br,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Or=b.useMemo(()=>Te!==void 0?Te:cr==="rtl"?"bottomRight":"bottomLeft",[Te,cr]),Dr=(0,Cn.Z)(Qr=>{var Vr;return(Vr=An!=null?An:Xr)!==null&&Vr!==void 0?Vr:Qr}),Ar=b.useContext(vn.Z),_r=rr!=null?rr:Ar,fo=ce()(!Nn&&yr,{[`${wr}-lg`]:Dr==="large",[`${wr}-sm`]:Dr==="small",[`${wr}-rtl`]:cr==="rtl",[`${wr}-${Ze}`]:dt,[`${wr}-in-form-item`]:Ln},(0,Ut.Z)(wr,lr,hn),go,Yt,xn,We,So,to,Oe),ko=Qr=>b.createElement(nn.Z,{prefixCls:gr,switcherIcon:Ke,treeNodeProps:Qr,showLine:wt}),[Io]=(0,At.Cn)("SelectLike",ur==null?void 0:ur.zIndex),Vo=b.createElement(rt,Object.assign({virtual:Er,disabled:_r},Gr,{dropdownMatchSelectWidth:En,builtinPlacements:(0,Tt.Z)(In,Rr),ref:wn,prefixCls:wr,className:fo,listHeight:vt,listItemHeight:Fr,treeCheckable:Vn&&b.createElement("span",{className:`${wr}-tree-checkbox-inner`}),treeLine:!!wt,suffixIcon:sr,multiple:Mt,placement:Or,removeIcon:pr,allowClear:kr,switcherIcon:ko,showTreeIcon:lt,notFoundContent:xr,getPopupContainer:Ht||vr,treeMotion:null,dropdownClassName:at,dropdownStyle:Object.assign(Object.assign({},ur),{zIndex:Io}),choiceTransitionName:(0,Ne.m)($r,"",pt),transitionName:(0,Ne.m)($r,"slide-up",mt),treeExpandAction:fn,tagRender:Mt?tr:void 0,maxCount:Bt,showCheckedStrategy:or,treeCheckStrictly:dr}));return io(bt(Vo))},sn=b.forwardRef(St),Pn=(0,Be.Z)(sn,"dropdownAlign",Jt=>(0,ut.Z)(Jt,["visible"]));sn.TreeNode=tt,sn.SHOW_ALL=ae,sn.SHOW_PARENT=ne,sn.SHOW_CHILD=te,sn._InternalPanelDoNotUseOrYouWillBeFired=Pn;var Tn=sn},18287:function(Bn,rn,ee){"use strict";ee.d(rn,{default:function(){return Lt}});var b=ee(87632),Me=ee(77654),ce=ee(59301),et=ee(52671),Pe=ee(8657),pe=ee(60499),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Ve=be,Ie=ee(7657),ue=function(qe,it){return ce.createElement(Ie.Z,(0,pe.Z)({},qe,{ref:it,icon:Ve}))},$e=ce.forwardRef(ue),Ee=$e,Rt=ee(92310),ot=ee.n(Rt),st=ee(82661),Ue=ee(34061),Re=ee(48755),ft=ee(56082),kt=ee(86641),en=ee(57700),Qe=ee(12425);const Ae=4;function tt(me){const{dropPosition:qe,dropLevelOffset:it,prefixCls:Xt,indent:Xe,direction:Gt="ltr"}=me,Fe=Gt==="ltr"?"left":"right",dn=Gt==="ltr"?"right":"left",$t={[Fe]:-it*Xe+Ae,[dn]:0};switch(qe){case-1:$t.top=-3;break;case 1:$t.bottom=-3;break;default:$t.bottom=-3,$t[Fe]=Xe+Ae;break}return ce.createElement("div",{style:$t,className:`${Xt}-drop-indicator`})}var nt=tt,zt=ee(85278),ht=ce.forwardRef((me,qe)=>{var it;const{getPrefixCls:Xt,direction:Xe,virtual:Gt,tree:Fe}=ce.useContext(Re.E_),{prefixCls:dn,className:$t,showIcon:ae=!1,showLine:ne,switcherIcon:te,switcherLoadingIcon:ie,blockNode:de=!1,children:re,checkable:le=!1,selectable:Se=!0,draggable:Ge,motion:He,style:Le}=me,rt=Xt("tree",dn),ut=Xt(),At=He!=null?He:Object.assign(Object.assign({},(0,kt.Z)(ut)),{motionAppear:!1}),Ne=Object.assign(Object.assign({},me),{checkable:le,selectable:Se,showIcon:ae,motion:At,blockNode:de,showLine:!!ne,dropIndicatorRender:nt}),[Be,Ut,Zt]=(0,Qe.ZP)(rt),[,mn]=(0,en.ZP)(),vn=mn.paddingXS/2+(((it=mn.Tree)===null||it===void 0?void 0:it.titleHeight)||mn.controlHeightSM),jt=ce.useMemo(()=>{if(!Ge)return!1;let on={};switch(typeof Ge){case"function":on.nodeDraggable=Ge;break;case"object":on=Object.assign({},Ge);break;default:break}return on.icon!==!1&&(on.icon=on.icon||ce.createElement(ft.Z,null)),on},[Ge]),Cn=on=>ce.createElement(zt.Z,{prefixCls:rt,switcherIcon:te,switcherLoadingIcon:ie,treeNodeProps:on,showLine:ne});return Be(ce.createElement(b.ZP,Object.assign({itemHeight:vn,ref:qe,virtual:Gt},Ne,{style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),Le),prefixCls:rt,className:ot()({[`${rt}-icon-hide`]:!ae,[`${rt}-block-node`]:de,[`${rt}-unselectable`]:!Se,[`${rt}-rtl`]:Xe==="rtl"},Fe==null?void 0:Fe.className,$t,Ut,Zt),direction:Xe,checkable:le&&ce.createElement("span",{className:`${rt}-checkbox-inner`}),selectable:Se,switcherIcon:Cn,draggable:jt}),re))});const Ct=0,De=1,ke=2;function xe(me,qe,it){const{key:Xt,children:Xe}=it;function Gt(Fe){const dn=Fe[Xt],$t=Fe[Xe];qe(dn,Fe)!==!1&&xe($t||[],qe,it)}me.forEach(Gt)}function se(me){let{treeData:qe,expandedKeys:it,startKey:Xt,endKey:Xe,fieldNames:Gt}=me;const Fe=[];let dn=Ct;if(Xt&&Xt===Xe)return[Xt];if(!Xt||!Xe)return[];function $t(ae){return ae===Xt||ae===Xe}return xe(qe,ae=>{if(dn===ke)return!1;if($t(ae)){if(Fe.push(ae),dn===Ct)dn=De;else if(dn===De)return dn=ke,!1}else dn===De&&Fe.push(ae);return it.includes(ae)},(0,Ue.w$)(Gt)),Fe}function It(me,qe,it){const Xt=(0,Me.Z)(qe),Xe=[];return xe(me,(Gt,Fe)=>{const dn=Xt.indexOf(Gt);return dn!==-1&&(Xe.push(Fe),Xt.splice(dn,1)),!!Xt.length},(0,Ue.w$)(it)),Xe}var _e=function(me,qe){var it={};for(var Xt in me)Object.prototype.hasOwnProperty.call(me,Xt)&&qe.indexOf(Xt)<0&&(it[Xt]=me[Xt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Xt=Object.getOwnPropertySymbols(me);Xe{var{defaultExpandAll:it,defaultExpandParent:Xt,defaultExpandedKeys:Xe}=me,Gt=_e(me,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Fe=ce.useRef(null),dn=ce.useRef(null),$t=()=>{const{keyEntities:Be}=(0,Ue.I8)(Ft(Gt));let Ut;return it?Ut=Object.keys(Be):Xt?Ut=(0,st.r7)(Gt.expandedKeys||Xe||[],Be):Ut=Gt.expandedKeys||Xe||[],Ut},[ae,ne]=ce.useState(Gt.selectedKeys||Gt.defaultSelectedKeys||[]),[te,ie]=ce.useState(()=>$t());ce.useEffect(()=>{"selectedKeys"in Gt&&ne(Gt.selectedKeys)},[Gt.selectedKeys]),ce.useEffect(()=>{"expandedKeys"in Gt&&ie(Gt.expandedKeys)},[Gt.expandedKeys]);const de=(Be,Ut)=>{var Zt;return"expandedKeys"in Gt||ie(Be),(Zt=Gt.onExpand)===null||Zt===void 0?void 0:Zt.call(Gt,Be,Ut)},re=(Be,Ut)=>{var Zt;const{multiple:mn,fieldNames:vn}=Gt,{node:jt,nativeEvent:Cn}=Ut,{key:on=""}=jt,Je=Ft(Gt),Tt=Object.assign(Object.assign({},Ut),{selected:!0}),an=(Cn==null?void 0:Cn.ctrlKey)||(Cn==null?void 0:Cn.metaKey),_t=Cn==null?void 0:Cn.shiftKey;let je;mn&&an?(je=Be,Fe.current=on,dn.current=je,Tt.selectedNodes=It(Je,je,vn)):mn&&_t?(je=Array.from(new Set([].concat((0,Me.Z)(dn.current||[]),(0,Me.Z)(se({treeData:Je,expandedKeys:te,startKey:on,endKey:Fe.current,fieldNames:vn}))))),Tt.selectedNodes=It(Je,je,vn)):(je=[on],Fe.current=on,dn.current=je,Tt.selectedNodes=It(Je,je,vn)),(Zt=Gt.onSelect)===null||Zt===void 0||Zt.call(Gt,je,Tt),"selectedKeys"in Gt||ne(je)},{getPrefixCls:le,direction:Se}=ce.useContext(Re.E_),{prefixCls:Ge,className:He,showIcon:Le=!0,expandAction:rt="click"}=Gt,ut=_e(Gt,["prefixCls","className","showIcon","expandAction"]),At=le("tree",Ge),Ne=ot()(`${At}-directory`,{[`${At}-directory-rtl`]:Se==="rtl"},He);return ce.createElement(ht,Object.assign({icon:Ye,ref:qe,blockNode:!0},ut,{showIcon:Le,expandAction:rt,prefixCls:At,className:Ne,expandedKeys:te,selectedKeys:ae,onSelect:re,onExpand:de}))};var yt=ce.forwardRef(Ce);const Vt=ht;Vt.DirectoryTree=yt,Vt.TreeNode=b.OF;var Lt=Vt},12425:function(Bn,rn,ee){"use strict";ee.d(rn,{ZP:function(){return st},Yk:function(){return Ee},TM:function(){return Rt}});var b=ee(36237),Me=ee(36170),ce=ee(63356),et=ee(34961),Pe=ee(51636),pe=ee(16931);const be=Ue=>{let{treeCls:Re,treeNodeCls:ft,directoryNodeSelectedBg:kt,directoryNodeSelectedColor:en,motionDurationMid:Qe,borderRadius:Ae,controlItemBgHover:tt}=Ue;return{[`${Re}${Re}-directory ${ft}`]:{[`${Re}-node-content-wrapper`]:{position:"static",[`> *:not(${Re}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${Qe}`,content:'""',borderRadius:Ae},"&:hover:before":{background:tt}},[`${Re}-switcher, ${Re}-checkbox, ${Re}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Re}-switcher, ${Re}-draggable-icon`]:{color:en},[`${Re}-node-content-wrapper`]:{color:en,background:"transparent","&:before, &:hover:before":{background:kt}}}}}},Ve=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ie=(Ue,Re)=>({[`.${Ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Re.motionDurationSlow}`}}}),ue=(Ue,Re)=>({[`.${Ue}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Re.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(Re.lineWidthBold)} solid ${Re.colorPrimary}`,borderRadius:"50%",content:'""'}}}),$e=(Ue,Re)=>{const{treeCls:ft,treeNodeCls:kt,treeNodePadding:en,titleHeight:Qe,indentSize:Ae,nodeSelectedBg:tt,nodeHoverBg:nt,colorTextQuaternary:zt,controlItemBgActiveDisabled:Ot}=Re;return{[ft]:Object.assign(Object.assign({},(0,ce.Wf)(Re)),{background:Re.colorBgContainer,borderRadius:Re.borderRadius,transition:`background-color ${Re.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${ft}-rtl ${ft}-switcher_close ${ft}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${ft}-active-focused)`]:Object.assign({},(0,ce.oN)(Re)),[`${ft}-list-holder-inner`]:{alignItems:"flex-start"},[`&${ft}-block-node`]:{[`${ft}-list-holder-inner`]:{alignItems:"stretch",[`${ft}-node-content-wrapper`]:{flex:"auto"},[`${kt}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Re.colorPrimary}`,opacity:0,animationName:Ve,animationDuration:Re.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Re.borderRadius}}},[kt]:{display:"flex",alignItems:"flex-start",marginBottom:en,lineHeight:(0,b.unit)(Qe),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:en},[`&-disabled ${ft}-node-content-wrapper`]:{color:Re.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${ft}-checkbox-disabled + ${ft}-node-selected,&${kt}-disabled${kt}-selected ${ft}-node-content-wrapper`]:{backgroundColor:Ot},[`${ft}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${kt}-disabled)`]:{[`${ft}-node-content-wrapper`]:{"&:hover":{color:Re.nodeHoverColor}}},[`&-active ${ft}-node-content-wrapper`]:{background:Re.controlItemBgHover},[`&:not(${kt}-disabled).filter-node ${ft}-title`]:{color:Re.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${ft}-draggable-icon`]:{flexShrink:0,width:Qe,textAlign:"center",visibility:"visible",color:zt},[`&${kt}-disabled ${ft}-draggable-icon`]:{visibility:"hidden"}}},[`${ft}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:Ae}},[`${ft}-draggable-icon`]:{visibility:"hidden"},[`${ft}-switcher, ${ft}-checkbox`]:{marginInlineEnd:Re.calc(Re.calc(Qe).sub(Re.controlInteractiveSize)).div(2).equal()},[`${ft}-switcher`]:Object.assign(Object.assign({},Ie(Ue,Re)),{position:"relative",flex:"none",alignSelf:"stretch",width:Qe,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Re.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:Qe,height:Qe,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Re.borderRadius,transition:`all ${Re.motionDurationSlow}`},[`&:not(${ft}-switcher-noop):hover:before`]:{backgroundColor:Re.colorBgTextHover},[`&_close ${ft}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Re.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Re.calc(Qe).div(2).equal(),bottom:Re.calc(en).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Re.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Re.calc(Re.calc(Qe).div(2).equal()).mul(.8).equal(),height:Re.calc(Qe).div(2).equal(),borderBottom:`1px solid ${Re.colorBorder}`,content:'""'}}}),[`${ft}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:Qe,paddingBlock:0,paddingInline:Re.paddingXS,background:"transparent",borderRadius:Re.borderRadius,cursor:"pointer",transition:`all ${Re.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},ue(Ue,Re)),{"&:hover":{backgroundColor:nt},[`&${ft}-node-selected`]:{color:Re.nodeSelectedColor,backgroundColor:tt},[`${ft}-iconEle`]:{display:"inline-block",width:Qe,height:Qe,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${ft}-unselectable ${ft}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${kt}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Re.colorPrimary}`},"&-show-line":{[`${ft}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Re.calc(Qe).div(2).equal(),bottom:Re.calc(en).mul(-1).equal(),borderInlineEnd:`1px solid ${Re.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${ft}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${kt}-leaf-last ${ft}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(Re.calc(Qe).div(2).equal())} !important`}})}},Ee=function(Ue,Re){let ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const kt=`.${Ue}`,en=`${kt}-treenode`,Qe=Re.calc(Re.paddingXS).div(2).equal(),Ae=(0,Pe.mergeToken)(Re,{treeCls:kt,treeNodeCls:en,treeNodePadding:Qe});return[$e(Ue,Ae),ft&&be(Ae)].filter(Boolean)},Rt=Ue=>{const{controlHeightSM:Re,controlItemBgHover:ft,controlItemBgActive:kt}=Ue,en=Re;return{titleHeight:en,indentSize:en,nodeHoverBg:ft,nodeHoverColor:Ue.colorText,nodeSelectedBg:kt,nodeSelectedColor:Ue.colorText}},ot=Ue=>{const{colorTextLightSolid:Re,colorPrimary:ft}=Ue;return Object.assign(Object.assign({},Rt(Ue)),{directoryNodeSelectedColor:Re,directoryNodeSelectedBg:ft})};var st=(0,pe.I$)("Tree",(Ue,Re)=>{let{prefixCls:ft}=Re;return[{[Ue.componentCls]:(0,Me.C2)(`${ft}-checkbox`,Ue)},Ee(ft,Ue),(0,et.Z)(Ue)]},ot)},85278:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Re}});var b=ee(59301),Me=ee(60499),ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},et=ce,Pe=ee(7657),pe=function(kt,en){return b.createElement(Pe.Z,(0,Me.Z)({},kt,{ref:en,icon:et}))},be=b.forwardRef(pe),Ve=be,Ie=ee(52671),ue=ee(58617),$e=ee(15075),Ee=ee(43531),Rt=ee(92310),ot=ee.n(Rt),st=ee(22703),Re=ft=>{const{prefixCls:kt,switcherIcon:en,treeNodeProps:Qe,showLine:Ae,switcherLoadingIcon:tt}=ft,{isLeaf:nt,expanded:zt,loading:Ot}=Qe;if(Ot)return b.isValidElement(tt)?tt:b.createElement(ue.Z,{className:`${kt}-switcher-loading-icon`});let ht;if(Ae&&typeof Ae=="object"&&(ht=Ae.showLeafIcon),nt){if(!Ae)return null;if(typeof ht!="boolean"&&ht){const ke=typeof ht=="function"?ht(Qe):ht,xe=`${kt}-switcher-line-custom-icon`;return b.isValidElement(ke)?(0,st.Tm)(ke,{className:ot()(ke.props.className||"",xe)}):ke}return ht?b.createElement(Ie.Z,{className:`${kt}-switcher-line-icon`}):b.createElement("span",{className:`${kt}-switcher-leaf-line`})}const Ct=`${kt}-switcher-icon`,De=typeof en=="function"?en(Qe):en;return b.isValidElement(De)?(0,st.Tm)(De,{className:ot()(De.props.className||"",Ct)}):De!==void 0?De:Ae?zt?b.createElement($e.Z,{className:`${kt}-switcher-line-icon`}):b.createElement(Ee.Z,{className:`${kt}-switcher-line-icon`}):b.createElement(Ve,{className:Ct})}},99498:function(Bn,rn,ee){(function(b){b(ee(89780))})(function(b){b.defineOption("placeholder","",function(Ve,Ie,ue){var $e=ue&&ue!=b.Init;if(Ie&&!$e)Ve.on("blur",Pe),Ve.on("change",pe),Ve.on("swapDoc",pe),b.on(Ve.getInputField(),"compositionupdate",Ve.state.placeholderCompose=function(){et(Ve)}),pe(Ve);else if(!Ie&&$e){Ve.off("blur",Pe),Ve.off("change",pe),Ve.off("swapDoc",pe),b.off(Ve.getInputField(),"compositionupdate",Ve.state.placeholderCompose),Me(Ve);var Ee=Ve.getWrapperElement();Ee.className=Ee.className.replace(" CodeMirror-empty","")}Ie&&!Ve.hasFocus()&&Pe(Ve)});function Me(Ve){Ve.state.placeholder&&(Ve.state.placeholder.parentNode.removeChild(Ve.state.placeholder),Ve.state.placeholder=null)}function ce(Ve){Me(Ve);var Ie=Ve.state.placeholder=document.createElement("pre");Ie.style.cssText="height: 0; overflow: visible",Ie.style.direction=Ve.getOption("direction"),Ie.className="CodeMirror-placeholder CodeMirror-line-like";var ue=Ve.getOption("placeholder");typeof ue=="string"&&(ue=document.createTextNode(ue)),Ie.appendChild(ue),Ve.display.lineSpace.insertBefore(Ie,Ve.display.lineSpace.firstChild)}function et(Ve){setTimeout(function(){var Ie=!1,ue=Ve.getInputField();ue.nodeName=="TEXTAREA"?Ie=!ue.value:Ve.lineCount()==1&&(Ie=!/[^\u200b]/.test(ue.querySelector(".CodeMirror-line").textContent)),Ie?ce(Ve):Me(Ve)},20)}function Pe(Ve){be(Ve)&&ce(Ve)}function pe(Ve){var Ie=Ve.getWrapperElement(),ue=be(Ve);Ie.className=Ie.className.replace(" CodeMirror-empty","")+(ue?" CodeMirror-empty":""),ue?ce(Ve):Me(Ve)}function be(Ve){return Ve.lineCount()===1&&Ve.getLine(0)===""}})},25717:function(Bn,rn,ee){(function(b){b(ee(89780))})(function(b){var Me={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ce=b.Pos;b.defineOption("autoCloseBrackets",!1,function(st,Ue,Re){Re&&Re!=b.Init&&(st.removeKeyMap(Pe),st.state.closeBrackets=null),Ue&&(pe(et(Ue,"pairs")),st.state.closeBrackets=Ue,st.addKeyMap(Pe))});function et(st,Ue){return Ue=="pairs"&&typeof st=="string"?st:typeof st=="object"&&st[Ue]!=null?st[Ue]:Me[Ue]}var Pe={Backspace:Ie,Enter:ue};function pe(st){for(var Ue=0;Ue=0;kt--){var Qe=ft[kt].head;st.replaceRange("",ce(Qe.line,Qe.ch-1),ce(Qe.line,Qe.ch+1),"+delete")}}function ue(st){var Ue=Ve(st),Re=Ue&&et(Ue,"explode");if(!Re||st.getOption("disableInput"))return b.Pass;for(var ft=st.listSelections(),kt=0;kt0;return{anchor:new ce(st.anchor.line,st.anchor.ch+(Ue?-1:1)),head:new ce(st.head.line,st.head.ch+(Ue?1:-1))}}function Ee(st,Ue){var Re=Ve(st);if(!Re||st.getOption("disableInput"))return b.Pass;var ft=et(Re,"pairs"),kt=ft.indexOf(Ue);if(kt==-1)return b.Pass;for(var en=et(Re,"closeBefore"),Qe=et(Re,"triples"),Ae=ft.charAt(kt+1)==Ue,tt=st.listSelections(),nt=kt%2==0,zt,Ot=0;Ot=0&&st.getRange(Ct,ce(Ct.line,Ct.ch+3))==Ue+Ue+Ue?De="skipThree":De="skip";else if(Ae&&Ct.ch>1&&Qe.indexOf(Ue)>=0&&st.getRange(ce(Ct.line,Ct.ch-2),Ct)==Ue+Ue){if(Ct.ch>2&&/\bstring/.test(st.getTokenTypeAt(ce(Ct.line,Ct.ch-2))))return b.Pass;De="addFour"}else if(Ae){var xe=Ct.ch==0?" ":st.getRange(ce(Ct.line,Ct.ch-1),Ct);if(!b.isWordChar(ke)&&xe!=Ue&&!b.isWordChar(xe))De="both";else return b.Pass}else if(nt&&(ke.length===0||/\s/.test(ke)||en.indexOf(ke)>-1))De="both";else return b.Pass;if(!zt)zt=De;else if(zt!=De)return b.Pass}var se=kt%2?ft.charAt(kt-1):Ue,It=kt%2?Ue:ft.charAt(kt+1);st.operation(function(){if(zt=="skip")st.execCommand("goCharRight");else if(zt=="skipThree")for(var _e=0;_e<3;_e++)st.execCommand("goCharRight");else if(zt=="surround"){for(var Ye=st.getSelections(),_e=0;_e'"]=function(Rt){return et(Rt)}),Ie.addKeyMap(Ee)}});var Me=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],ce=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function et(Ie){if(Ie.getOption("disableInput"))return b.Pass;for(var ue=Ie.listSelections(),$e=[],Ee=Ie.getOption("autoCloseTags"),Rt=0;Rtot.ch&&(kt=kt.slice(0,kt.length-st.end+ot.ch));var tt=kt.toLowerCase();if(!kt||st.type=="string"&&(st.end!=ot.ch||!/[\"\']/.test(st.string.charAt(st.string.length-1))||st.string.length==1)||st.type=="tag"&&ft.close||st.string.indexOf("/")==ot.ch-st.start-1||Qe&&be(Qe,tt)>-1||Ve(Ie,Ue.mode.xmlCurrentContext&&Ue.mode.xmlCurrentContext(Re)||[],kt,ot,!0))return b.Pass;var nt=typeof Ee=="object"&&Ee.emptyTags;if(nt&&be(nt,kt)>-1){$e[Rt]={text:"/>",newPos:b.Pos(ot.line,ot.ch+2)};continue}var zt=Ae&&be(Ae,tt)>-1;$e[Rt]={indent:zt,text:">"+(zt?` + +`:"")+"",newPos:zt?b.Pos(ot.line+1,0):b.Pos(ot.line,ot.ch+1)}}for(var Ot=typeof Ee=="object"&&Ee.dontIndentOnAutoClose,Rt=ue.length-1;Rt>=0;Rt--){var ht=$e[Rt];Ie.replaceRange(ht.text,ue[Rt].head,ue[Rt].anchor,"+insert");var Ct=Ie.listSelections().slice(0);Ct[Rt]={head:ht.newPos,anchor:ht.newPos},Ie.setSelections(Ct),!Ot&&ht.indent&&(Ie.indentLine(ht.newPos.line,null,!0),Ie.indentLine(ht.newPos.line+1,null,!0))}}function Pe(Ie,ue){for(var $e=Ie.listSelections(),Ee=[],Rt=ue?"/":""&&(Qe+=">"),Ee[Ue]=Qe}if(Ie.replaceSelections(Ee),$e=Ie.listSelections(),!st)for(var Ue=0;Ue<$e.length;Ue++)(Ue==$e.length-1||$e[Ue].head.line<$e[Ue+1].head.line)&&Ie.indentLine($e[Ue].head.line)}function pe(Ie){return Ie.getOption("disableInput")?b.Pass:Pe(Ie,!0)}b.commands.closeTag=function(Ie){return Pe(Ie)};function be(Ie,ue){if(Ie.indexOf)return Ie.indexOf(ue);for(var $e=0,Ee=Ie.length;$e=0&&ue[Re]==$e;Re--)++Ue;Ee=st.to;for(var Re=1;Re=Re.max))return Re.ch=0,Re.text=Re.cm.getLine(++Re.line),!0}function ue(Re){if(!(Re.line<=Re.min))return Re.text=Re.cm.getLine(--Re.line),Re.ch=Re.text.length,!0}function $e(Re){for(;;){var ft=Re.text.indexOf(">",Re.ch);if(ft==-1){if(Ie(Re))continue;return}if(!Ve(Re,ft+1)){Re.ch=ft+1;continue}var kt=Re.text.lastIndexOf("/",ft),en=kt>-1&&!/\S/.test(Re.text.slice(kt+1,ft));return Re.ch=ft+1,en?"selfClose":"regular"}}function Ee(Re){for(;;){var ft=Re.ch?Re.text.lastIndexOf("<",Re.ch-1):-1;if(ft==-1){if(ue(Re))continue;return}if(!Ve(Re,ft+1)){Re.ch=ft;continue}pe.lastIndex=ft,Re.ch=ft;var kt=pe.exec(Re.text);if(kt&&kt.index==ft)return kt}}function Rt(Re){for(;;){pe.lastIndex=Re.ch;var ft=pe.exec(Re.text);if(!ft){if(Ie(Re))continue;return}if(!Ve(Re,ft.index+1)){Re.ch=ft.index+1;continue}return Re.ch=ft.index+ft[0].length,ft}}function ot(Re){for(;;){var ft=Re.ch?Re.text.lastIndexOf(">",Re.ch-1):-1;if(ft==-1){if(ue(Re))continue;return}if(!Ve(Re,ft+1)){Re.ch=ft;continue}var kt=Re.text.lastIndexOf("/",ft),en=kt>-1&&!/\S/.test(Re.text.slice(kt+1,ft));return Re.ch=ft+1,en?"selfClose":"regular"}}function st(Re,ft){for(var kt=[];;){var en=Rt(Re),Qe,Ae=Re.line,tt=Re.ch-(en?en[0].length:0);if(!en||!(Qe=$e(Re)))return;if(Qe!="selfClose")if(en[1]){for(var nt=kt.length-1;nt>=0;--nt)if(kt[nt]==en[2]){kt.length=nt;break}if(nt<0&&(!ft||ft==en[2]))return{tag:en[2],from:Me(Ae,tt),to:Me(Re.line,Re.ch)}}else kt.push(en[2])}}function Ue(Re,ft){for(var kt=[];;){var en=ot(Re);if(!en)return;if(en=="selfClose"){Ee(Re);continue}var Qe=Re.line,Ae=Re.ch,tt=Ee(Re);if(!tt)return;if(tt[1])kt.push(tt[2]);else{for(var nt=kt.length-1;nt>=0;--nt)if(kt[nt]==tt[2]){kt.length=nt;break}if(nt<0&&(!ft||ft==tt[2]))return{tag:tt[2],from:Me(Re.line,Re.ch),to:Me(Qe,Ae)}}}}b.registerHelper("fold","xml",function(Re,ft){for(var kt=new be(Re,ft.line,0);;){var en=Rt(kt);if(!en||kt.line!=ft.line)return;var Qe=$e(kt);if(!Qe)return;if(!en[1]&&Qe!="selfClose"){var Ae=Me(kt.line,kt.ch),tt=st(kt,en[2]);return tt&&ce(tt.from,Ae)>0?{from:Ae,to:tt.from}:null}}}),b.findMatchingTag=function(Re,ft,kt){var en=new be(Re,ft.line,ft.ch,kt);if(!(en.text.indexOf(">")==-1&&en.text.indexOf("<")==-1)){var Qe=$e(en),Ae=Qe&&Me(en.line,en.ch),tt=Qe&&Ee(en);if(!(!Qe||!tt||ce(en,ft)>0)){var nt={from:Me(en.line,en.ch),to:Ae,tag:tt[2]};return Qe=="selfClose"?{open:nt,close:null,at:"open"}:tt[1]?{open:Ue(en,tt[2]),close:nt,at:"close"}:(en=new be(Re,Ae.line,Ae.ch,kt),{open:nt,close:st(en,tt[2]),at:"open"})}}},b.findEnclosingTag=function(Re,ft,kt,en){for(var Qe=new be(Re,ft.line,ft.ch,kt);;){var Ae=Ue(Qe,en);if(!Ae)break;var tt=new be(Re,ft.line,ft.ch,kt),nt=st(tt,Ae.tag);if(nt)return{open:Ae,close:nt}}},b.scanForClosingTag=function(Re,ft,kt,en){var Qe=new be(Re,ft.line,ft.ch,en?{from:0,to:en}:null);return st(Qe,kt)}})},89780:function(Bn){(function(rn,ee){Bn.exports=ee()})(this,function(){"use strict";var rn=navigator.userAgent,ee=navigator.platform,b=/gecko\/\d/i.test(rn),Me=/MSIE \d/.test(rn),ce=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(rn),et=/Edge\/(\d+)/.exec(rn),Pe=Me||ce||et,pe=Pe&&(Me?document.documentMode||6:+(et||ce)[1]),be=!et&&/WebKit\//.test(rn),Ve=be&&/Qt\/\d+\.\d+/.test(rn),Ie=!et&&/Chrome\//.test(rn),ue=/Opera\//.test(rn),$e=/Apple Computer/.test(navigator.vendor),Ee=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(rn),Rt=/PhantomJS/.test(rn),ot=!et&&/AppleWebKit/.test(rn)&&/Mobile\/\w+/.test(rn),st=/Android/.test(rn),Ue=ot||st||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(rn),Re=ot||/Mac/.test(ee),ft=/\bCrOS\b/.test(rn),kt=/win/i.test(ee),en=ue&&rn.match(/Version\/(\d*\.\d*)/);en&&(en=Number(en[1])),en&&en>=15&&(ue=!1,be=!0);var Qe=Re&&(Ve||ue&&(en==null||en<12.11)),Ae=b||Pe&&pe>=9;function tt(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var nt=function(a,y){var E=a.className,x=tt(y).exec(E);if(x){var z=E.slice(x.index+x[0].length);a.className=E.slice(0,x.index)+(z?x[1]+z:"")}};function zt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Ot(a,y){return zt(a).appendChild(y)}function ht(a,y,E,x){var z=document.createElement(a);if(E&&(z.className=E),x&&(z.style.cssText=x),typeof y=="string")z.appendChild(document.createTextNode(y));else if(y)for(var oe=0;oe=y)return fe+(y-oe);fe+=ve-oe,fe+=E-fe%E,oe=ve+1}}var he=function(){this.id=null,this.f=null,this.time=0,this.handler=Ye(this.onTimeout,this)};he.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},he.prototype.set=function(a,y){this.f=y;var E=+new Date+a;(!this.id||E=y)return x+Math.min(fe,y-z);if(z+=oe-x,z+=E-z%E,x=oe+1,z>=y)return x}}var Xe=[""];function Gt(a){for(;Xe.length<=a;)Xe.push(Fe(Xe)+" ");return Xe[a]}function Fe(a){return a[a.length-1]}function dn(a,y){for(var E=[],x=0;x"\x80"&&(a.toUpperCase()!=a.toLowerCase()||te.test(a))}function de(a,y){return y?y.source.indexOf("\\w")>-1&&ie(a)?!0:y.test(a):ie(a)}function re(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var le=/[\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 Se(a){return a.charCodeAt(0)>=768&&le.test(a)}function Ge(a,y,E){for(;(E<0?y>0:yE?-1:1;;){if(y==E)return y;var z=(y+E)/2,oe=x<0?Math.ceil(z):Math.floor(z);if(oe==y)return a(oe)?y:E;a(oe)?E=oe:y=oe+x}}function Le(a,y,E,x){if(!a)return x(y,E,"ltr",0);for(var z=!1,oe=0;oey||y==E&&fe.to==y)&&(x(Math.max(fe.from,y),Math.min(fe.to,E),fe.level==1?"rtl":"ltr",oe),z=!0)}z||x(y,E,"ltr")}var rt=null;function ut(a,y,E){var x;rt=null;for(var z=0;zy)return z;oe.to==y&&(oe.from!=oe.to&&E=="before"?x=z:rt=z),oe.from==y&&(oe.from!=oe.to&&E!="before"?x=z:rt=z)}return x!=null?x:rt}var At=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function E(ze){return ze<=247?a.charAt(ze):1424<=ze&&ze<=1524?"R":1536<=ze&&ze<=1785?y.charAt(ze-1536):1774<=ze&&ze<=2220?"r":8192<=ze&&ze<=8203?"w":ze==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,z=/[stwN]/,oe=/[LRr]/,fe=/[Lb1n]/,ve=/[1n]/;function we(ze,tn,un){this.level=ze,this.from=tn,this.to=un}return function(ze,tn){var un=tn=="ltr"?"L":"R";if(ze.length==0||tn=="ltr"&&!x.test(ze))return!1;for(var Un=ze.length,zn=[],hr=0;hr-1&&(x[y]=z.slice(0,oe).concat(z.slice(oe+1)))}}}function vn(a,y){var E=Zt(a,y);if(E.length)for(var x=Array.prototype.slice.call(arguments,2),z=0;z0}function Je(a){a.prototype.on=function(y,E){Ut(this,y,E)},a.prototype.off=function(y,E){mn(this,y,E)}}function Tt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function an(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function _t(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function je(a){Tt(a),an(a)}function Pt(a){return a.target||a.srcElement}function Kt(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Re&&a.ctrlKey&&y==1&&(y=3),y}var nn=function(){if(Pe&&pe<9)return!1;var a=ht("div");return"draggable"in a||"dragDrop"in a}(),On;function _n(a){if(On==null){var y=ht("span","\u200B");Ot(a,ht("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(On=y.offsetWidth<=1&&y.offsetHeight>2&&!(Pe&&pe<8))}var E=On?ht("span","\u200B"):ht("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return E.setAttribute("cm-text",""),E}var nr;function ir(a){if(nr!=null)return nr;var y=Ot(a,document.createTextNode("A\u062EA")),E=De(y,0,1).getBoundingClientRect(),x=De(y,1,2).getBoundingClientRect();return zt(a),!E||E.left==E.right?!1:nr=x.right-E.right<3}var Zn=` + +b`.split(/\n/).length!=3?function(a){for(var y=0,E=[],x=a.length;y<=x;){var z=a.indexOf(` +`,y);z==-1&&(z=a.length);var oe=a.slice(y,a.charAt(z-1)=="\r"?z-1:z),fe=oe.indexOf("\r");fe!=-1?(E.push(oe.slice(0,fe)),y+=fe+1):(E.push(oe),y=z+1)}return E}:function(a){return a.split(/\r\n?|\n/)},er=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(E){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},kn=function(){var a=ht("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),cn=null;function bn(a){if(cn!=null)return cn;var y=Ot(a,ht("span","x")),E=y.getBoundingClientRect(),x=De(y,0,1).getBoundingClientRect();return cn=Math.abs(E.left-x.left)>1}var St={},Et={};function sn(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),St[a]=y}function Pn(a,y){Et[a]=y}function Tn(a){if(typeof a=="string"&&Et.hasOwnProperty(a))a=Et[a];else if(a&&typeof a.name=="string"&&Et.hasOwnProperty(a.name)){var y=Et[a.name];typeof y=="string"&&(y={name:y}),a=ne(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Tn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Tn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Jt(a,y){y=Tn(y);var E=St[y.name];if(!E)return Jt(a,"text/plain");var x=E(a,y);if(wn.hasOwnProperty(y.name)){var z=wn[y.name];for(var oe in z)z.hasOwnProperty(oe)&&(x.hasOwnProperty(oe)&&(x["_"+oe]=x[oe]),x[oe]=z[oe])}if(x.name=y.name,y.helperType&&(x.helperType=y.helperType),y.modeProps)for(var fe in y.modeProps)x[fe]=y.modeProps[fe];return x}var wn={};function gn(a,y){var E=wn.hasOwnProperty(a)?wn[a]:wn[a]={};Ft(y,E)}function Nn(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var E={};for(var x in y){var z=y[x];z instanceof Array&&(z=z.concat([])),E[x]=z}return E}function An(a,y){for(var E;a.innerMode&&(E=a.innerMode(y),!(!E||E.mode==a));)y=E.state,a=E.mode;return E||{mode:a,state:y}}function rr(a,y,E){return a.startState?a.startState(y,E):!0}var Qt=function(a,y,E){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=E};Qt.prototype.eol=function(){return this.pos>=this.string.length},Qt.prototype.sol=function(){return this.pos==this.lineStart},Qt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Qt.prototype.next=function(){if(this.posy},Qt.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Qt.prototype.skipToEnd=function(){this.pos=this.string.length},Qt.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Qt.prototype.backUp=function(a){this.pos-=a},Qt.prototype.column=function(){return this.lastColumnPos0?null:(oe&&y!==!1&&(this.pos+=oe[0].length),oe)}},Qt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Qt.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Qt.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Qt.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Yt(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var E=a;!E.lines;)for(var x=0;;++x){var z=E.children[x],oe=z.chunkSize();if(y=a.first&&yE?Ke(E,Yt(a,E).text.length):xt(y,Yt(a,y.line).text.length)}function xt(a,y){var E=a.ch;return E==null||E>y?Ke(a.line,y):E<0?Ke(a.line,0):a}function fn(a,y){for(var E=[],x=0;xthis.maxLookAhead&&(this.maxLookAhead=a),y},pn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},pn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},pn.fromSaved=function(a,y,E){return y instanceof In?new pn(a,Nn(a.mode,y.state),E,y.lookAhead):new pn(a,Nn(a.mode,y),E)},pn.prototype.save=function(a){var y=a!==!1?Nn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new In(y,this.maxLookAhead):y};function Sn(a,y,E,x){var z=[a.state.modeGen],oe={};vr(a,y.text,a.doc.mode,E,function(ze,tn){return z.push(ze,tn)},oe,x);for(var fe=E.state,ve=function(ze){E.baseTokens=z;var tn=a.state.overlays[ze],un=1,Un=0;E.state=!0,vr(a,y.text,tn.mode,E,function(zn,hr){for(var Cr=un;Unzn&&z.splice(un,1,zn,z[un+1],Hr),un+=2,Un=Math.min(zn,Hr)}if(hr)if(tn.opaque)z.splice(Cr,un-Cr,zn,"overlay "+hr),un=Cr+2;else for(;Cra.options.maxHighlightLength&&Nn(a.doc.mode,x.state),oe=Sn(a,y,x);z&&(x.state=z),y.stateAfter=x.save(!z),y.styles=oe.styles,oe.classes?y.styleClasses=oe.classes:y.styleClasses&&(y.styleClasses=null),E===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function qn(a,y,E){var x=a.doc,z=a.display;if(!x.mode.startState)return new pn(x,!0,y);var oe=Tr(a,y,E),fe=oe>x.first&&Yt(x,oe-1).stateAfter,ve=fe?pn.fromSaved(x,fe,oe):new pn(x,rr(x.mode),oe);return x.iter(oe,y,function(we){ur(a,we.text,ve);var ze=ve.line;we.stateAfter=ze==y-1||ze%5==0||ze>=z.viewFrom&&zey.start)return oe}throw new Error("Mode "+a.name+" failed to advance stream.")}var or=function(a,y,E){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=E};function dr(a,y,E,x){var z=a.doc,oe=z.mode,fe;y=pt(z,y);var ve=Yt(z,y.line),we=qn(a,y.line,E),ze=new Qt(ve.text,a.options.tabSize,we),tn;for(x&&(tn=[]);(x||ze.posa.options.maxHighlightLength?(ve=!1,fe&&ur(a,y,x,tn.pos),tn.pos=y.length,un=null):un=br(Xn(E,tn,x.state,Un),oe),Un){var zn=Un[0].name;zn&&(un="m-"+(un?zn+" "+un:zn))}if(!ve||ze!=un){for(;wefe;--ve){if(ve<=oe.first)return oe.first;var we=Yt(oe,ve-1),ze=we.stateAfter;if(ze&&(!E||ve+(ze instanceof In?ze.lookAhead:0)<=oe.modeFrontier))return ve;var tn=Ce(we.text,null,a.options.tabSize);(z==null||x>tn)&&(z=ve-1,x=tn)}return z}function Br(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontierE;x--){var z=Yt(a,x).stateAfter;if(z&&(!(z instanceof In)||x+z.lookAhead=y:oe.to>y);(x||(x=[])).push(new Sr(fe,oe.from,we?null:oe.to))}}return x}function yr(a,y,E){var x;if(a)for(var z=0;z=y:oe.to>y);if(ve||oe.from==y&&fe.type=="bookmark"&&(!E||oe.marker.insertLeft)){var we=oe.from==null||(fe.inclusiveLeft?oe.from<=y:oe.from0&&ve)for(var yo=0;yo0)){var tn=[we,1],un=wt(ze.from,ve.from),Un=wt(ze.to,ve.to);(un<0||!fe.inclusiveLeft&&!un)&&tn.push({from:ze.from,to:ve.from}),(Un>0||!fe.inclusiveRight&&!Un)&&tn.push({from:ve.to,to:ze.to}),z.splice.apply(z,tn),we+=tn.length-3}}return z}function to(a){var y=a.markedSpans;if(y){for(var E=0;Ey)&&(!x||bt(x,oe.marker)<0)&&(x=oe.marker)}return x}function Bt(a,y,E,x,z){var oe=Yt(a,y),fe=Er&&oe.markedSpans;if(fe)for(var ve=0;ve=0&&un<=0||tn<=0&&un>=0)&&(tn<=0&&(we.marker.inclusiveRight&&z.inclusiveLeft?wt(ze.to,E)>=0:wt(ze.to,E)>0)||tn>=0&&(we.marker.inclusiveRight&&z.inclusiveLeft?wt(ze.from,x)<=0:wt(ze.from,x)<0)))return!0}}}function Wt(a){for(var y;y=dt(a);)a=y.find(-1,!0).line;return a}function En(a){for(var y;y=at(a);)a=y.find(1,!0).line;return a}function Rn(a){for(var y,E;y=at(a);)a=y.find(1,!0).line,(E||(E=[])).push(a);return E}function hn(a,y){var E=Yt(a,y),x=Wt(E);return E==x?y:vt(x)}function Ln(a,y){if(y>a.lastLine())return y;var E=Yt(a,y),x;if(!Gn(a,E))return y;for(;x=at(E);)E=x.find(1,!0).line;return vt(E)+1}function Gn(a,y){var E=Er&&y.markedSpans;if(E){for(var x=void 0,z=0;zy.maxLineLength&&(y.maxLineLength=z,y.maxLine=x)})}var kr=function(a,y,E){this.text=a,io(this,y),this.height=E?E(this):1};kr.prototype.lineNo=function(){return vt(this)},Je(kr);function xr(a,y,E,x){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),to(a),io(a,E);var z=x?x(a):1;z!=a.height&&jn(a,z)}function Gr(a){a.parent=null,to(a)}var Or={},Dr={};function Ar(a,y){if(!a||/^\s*$/.test(a))return null;var E=y.addModeClass?Dr:Or;return E[a]||(E[a]=a.replace(/\S+/g,"cm-$&"))}function _r(a,y){var E=Ct("span",null,null,be?"padding-right: .1px":null),x={pre:Ct("pre",[E],"CodeMirror-line"),content:E,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var z=0;z<=(y.rest?y.rest.length:0);z++){var oe=z?y.rest[z-1]:y.line,fe=void 0;x.pos=0,x.addToken=ko,ir(a.display.measure)&&(fe=Ne(oe,a.doc.direction))&&(x.addToken=Vo(x.addToken,fe)),x.map=[];var ve=y!=a.display.externalMeasured&&vt(oe);Vr(oe,x,$n(a,oe,ve)),oe.styleClasses&&(oe.styleClasses.bgClass&&(x.bgClass=It(oe.styleClasses.bgClass,x.bgClass||"")),oe.styleClasses.textClass&&(x.textClass=It(oe.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(_n(a.display.measure))),z==0?(y.measure.map=x.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(x.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(be){var we=x.content.lastChild;(/\bcm-tab\b/.test(we.className)||we.querySelector&&we.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return vn(a,"renderLine",a,y.line,x.pre),x.pre.className&&(x.textClass=It(x.pre.className,x.textClass||"")),x}function fo(a){var y=ht("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function ko(a,y,E,x,z,oe,fe){if(y){var ve=a.splitSpaces?Io(y,a.trailingSpace):y,we=a.cm.state.specialChars,ze=!1,tn;if(!we.test(y))a.col+=y.length,tn=document.createTextNode(ve),a.map.push(a.pos,a.pos+y.length,tn),Pe&&pe<9&&(ze=!0),a.pos+=y.length;else{tn=document.createDocumentFragment();for(var un=0;;){we.lastIndex=un;var Un=we.exec(y),zn=Un?Un.index-un:y.length-un;if(zn){var hr=document.createTextNode(ve.slice(un,un+zn));Pe&&pe<9?tn.appendChild(ht("span",[hr])):tn.appendChild(hr),a.map.push(a.pos,a.pos+zn,hr),a.col+=zn,a.pos+=zn}if(!Un)break;un+=zn+1;var Cr=void 0;if(Un[0]==" "){var Hr=a.cm.options.tabSize,qr=Hr-a.col%Hr;Cr=tn.appendChild(ht("span",Gt(qr),"cm-tab")),Cr.setAttribute("role","presentation"),Cr.setAttribute("cm-text"," "),a.col+=qr}else Un[0]=="\r"||Un[0]==` +`?(Cr=tn.appendChild(ht("span",Un[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Cr.setAttribute("cm-text",Un[0]),a.col+=1):(Cr=a.cm.options.specialCharPlaceholder(Un[0]),Cr.setAttribute("cm-text",Un[0]),Pe&&pe<9?tn.appendChild(ht("span",[Cr])):tn.appendChild(Cr),a.col+=1);a.map.push(a.pos,a.pos+1,Cr),a.pos++}}if(a.trailingSpace=ve.charCodeAt(y.length-1)==32,E||x||z||ze||oe||fe){var uo=E||"";x&&(uo+=x),z&&(uo+=z);var eo=ht("span",[tn],uo,oe);if(fe)for(var yo in fe)fe.hasOwnProperty(yo)&&yo!="style"&&yo!="class"&&eo.setAttribute(yo,fe[yo]);return a.content.appendChild(eo)}a.content.appendChild(tn)}}function Io(a,y){if(a.length>1&&!/ /.test(a))return a;for(var E=y,x="",z=0;zze&&un.from<=ze));Un++);if(un.to>=tn)return a(E,x,z,oe,fe,ve,we);a(E,x.slice(0,un.to-ze),z,oe,null,ve,we),oe=null,x=x.slice(un.to-ze),ze=un.to}}}function Qr(a,y,E,x){var z=!x&&E.widgetNode;z&&a.map.push(a.pos,a.pos+y,z),!x&&a.cm.display.input.needsContentAttribute&&(z||(z=a.content.appendChild(document.createElement("span"))),z.setAttribute("cm-marker",E.id)),z&&(a.cm.display.input.setUneditable(z),a.content.appendChild(z)),a.pos+=y,a.trailingSpace=!1}function Vr(a,y,E){var x=a.markedSpans,z=a.text,oe=0;if(!x){for(var fe=1;fewe||Jo.collapsed&&To.to==we&&To.from==we)){if(To.to!=null&&To.to!=we&&zn>To.to&&(zn=To.to,Cr=""),Jo.className&&(hr+=" "+Jo.className),Jo.css&&(Un=(Un?Un+";":"")+Jo.css),Jo.startStyle&&To.from==we&&(Hr+=" "+Jo.startStyle),Jo.endStyle&&To.to==zn&&(yo||(yo=[])).push(Jo.endStyle,To.to),Jo.title&&((uo||(uo={})).title=Jo.title),Jo.attributes)for(var Li in Jo.attributes)(uo||(uo={}))[Li]=Jo.attributes[Li];Jo.collapsed&&(!qr||bt(qr.marker,Jo)<0)&&(qr=To)}else To.from>we&&zn>To.from&&(zn=To.from)}if(yo)for(var Oa=0;Oa=ve)break;for(var tl=Math.min(ve,zn);;){if(tn){var Xa=we+tn.length;if(!qr){var va=Xa>tl?tn.slice(0,tl-we):tn;y.addToken(y,va,un?un+hr:hr,Hr,we+va.length==zn?Cr:"",Un,uo)}if(Xa>=tl){tn=tn.slice(tl-we),we=tl;break}we=Xa,Hr=""}tn=z.slice(oe,oe=E[ze++]),un=Ar(E[ze++],y.cm.options)}}}function _o(a,y,E){this.line=y,this.rest=Rn(y),this.size=this.rest?vt(Fe(this.rest))-E+1:1,this.node=this.text=null,this.hidden=Gn(a,y)}function Uo(a,y,E){for(var x=[],z,oe=y;oe2&&oe.push((we.bottom+ze.top)/2-E.top)}}oe.push(E.bottom-E.top)}}function ja(a,y,E){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var x=0;xE)return{map:a.measure.maps[z],cache:a.measure.caches[z],before:!0}}function Pa(a,y){y=Wt(y);var E=vt(y),x=a.display.externalMeasured=new _o(a.doc,y,E);x.lineN=E;var z=x.built=_r(a,x);return x.text=z.pre,Ot(a.display.lineMeasure,z.pre),x}function ia(a,y,E,x){return Ra(a,Wa(a,y),E,x)}function Sa(a,y){if(y>=a.display.viewFrom&&y=E.lineN&&yy)&&(oe=we-ve,z=oe-1,y>=we&&(fe="right")),z!=null){if(x=a[ze+2],ve==we&&E==(x.insertLeft?"left":"right")&&(fe=E),E=="left"&&z==0)for(;ze&&a[ze-2]==a[ze-3]&&a[ze-1].insertLeft;)x=a[(ze-=3)+2],fe="left";if(E=="right"&&z==we-ve)for(;ze=0&&(E=a[z]).left==E.right;z--);return E}function Al(a,y,E,x){var z=pl(y.map,E,x),oe=z.node,fe=z.start,ve=z.end,we=z.collapse,ze;if(oe.nodeType==3){for(var tn=0;tn<4;tn++){for(;fe&&Se(y.line.text.charAt(z.coverStart+fe));)--fe;for(;z.coverStart+ve0&&(we=x="right");var un;a.options.lineWrapping&&(un=oe.getClientRects()).length>1?ze=un[x=="right"?un.length-1:0]:ze=oe.getBoundingClientRect()}if(Pe&&pe<9&&!fe&&(!ze||!ze.left&&!ze.right)){var Un=oe.parentNode.getClientRects()[0];Un?ze={left:Un.left,right:Un.left+ua(a.display),top:Un.top,bottom:Un.bottom}:ze=Qa}for(var zn=ze.top-y.rect.top,hr=ze.bottom-y.rect.top,Cr=(zn+hr)/2,Hr=y.view.measure.heights,qr=0;qr=x.text.length?(we=x.text.length,ze="before"):we<=0&&(we=0,ze="after"),!ve)return fe(ze=="before"?we-1:we,ze=="before");function tn(hr,Cr,Hr){var qr=ve[Cr],uo=qr.level==1;return fe(Hr?hr-1:hr,uo!=Hr)}var un=ut(ve,we,ze),Un=rt,zn=tn(we,un,ze=="before");return Un!=null&&(zn.other=tn(we,Un,ze!="before")),zn}function zo(a,y){var E=0;y=pt(a.doc,y),a.options.lineWrapping||(E=ua(a.display)*y.ch);var x=Yt(a.doc,y.line),z=sr(x)+Ro(a.display);return{left:E,right:E,top:z,bottom:z+x.height}}function Po(a,y,E,x,z){var oe=Ke(a,y,E);return oe.xRel=z,x&&(oe.outside=x),oe}function ci(a,y,E){var x=a.doc;if(E+=a.display.viewOffset,E<0)return Po(x.first,0,null,-1,-1);var z=Dt(x,E),oe=x.first+x.size-1;if(z>oe)return Po(x.first+x.size-1,Yt(x,oe).text.length,null,1,1);y<0&&(y=0);for(var fe=Yt(x,z);;){var ve=aa(a,fe,z,y,E),we=Mt(fe,ve.ch+(ve.xRel>0||ve.outside>0?1:0));if(!we)return ve;var ze=we.find(1);if(ze.line==z)return ze;fe=Yt(x,z=ze.line)}}function Pi(a,y,E,x){x-=ul(y);var z=y.text.length,oe=He(function(fe){return Ra(a,E,fe-1).bottom<=x},z,0);return z=He(function(fe){return Ra(a,E,fe).top>x},oe,z),{begin:oe,end:z}}function gi(a,y,E,x){E||(E=Wa(a,y));var z=gl(a,y,Ra(a,E,x),"line").top;return Pi(a,y,E,z)}function ri(a,y,E,x){return a.bottom<=E?!1:a.top>E?!0:(x?a.left:a.right)>y}function aa(a,y,E,x,z){z-=sr(y);var oe=Wa(a,y),fe=ul(y),ve=0,we=y.text.length,ze=!0,tn=Ne(y,a.doc.direction);if(tn){var un=(a.options.lineWrapping?la:zi)(a,y,E,oe,tn,x,z);ze=un.level!=1,ve=ze?un.from:un.to-1,we=ze?un.to:un.from-1}var Un=null,zn=null,hr=He(function(Bo){var To=Ra(a,oe,Bo);return To.top+=fe,To.bottom+=fe,ri(To,x,z,!1)?(To.top<=z&&To.left<=x&&(Un=Bo,zn=To),!0):!1},ve,we),Cr,Hr,qr=!1;if(zn){var uo=x-zn.left=yo.bottom?1:0}return hr=Ge(y.text,hr,1),Po(E,hr,Hr,qr,x-Cr)}function zi(a,y,E,x,z,oe,fe){var ve=He(function(un){var Un=z[un],zn=Un.level!=1;return ri(pi(a,Ke(E,zn?Un.to:Un.from,zn?"before":"after"),"line",y,x),oe,fe,!0)},0,z.length-1),we=z[ve];if(ve>0){var ze=we.level!=1,tn=pi(a,Ke(E,ze?we.from:we.to,ze?"after":"before"),"line",y,x);ri(tn,oe,fe,!0)&&tn.top>fe&&(we=z[ve-1])}return we}function la(a,y,E,x,z,oe,fe){var ve=Pi(a,y,x,fe),we=ve.begin,ze=ve.end;/\s/.test(y.text.charAt(ze-1))&&ze--;for(var tn=null,un=null,Un=0;Un=ze||zn.to<=we)){var hr=zn.level!=1,Cr=Ra(a,x,hr?Math.min(ze,zn.to)-1:Math.max(we,zn.from)).right,Hr=CrHr)&&(tn=zn,un=Hr)}}return tn||(tn=z[z.length-1]),tn.fromze&&(tn={from:tn.from,to:ze,level:tn.level}),tn}var sa;function ca(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(sa==null){sa=ht("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)sa.appendChild(document.createTextNode("x")),sa.appendChild(ht("br"));sa.appendChild(document.createTextNode("x"))}Ot(a.measure,sa);var E=sa.offsetHeight/50;return E>3&&(a.cachedTextHeight=E),zt(a.measure),E||1}function ua(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=ht("span","xxxxxxxxxx"),E=ht("pre",[y],"CodeMirror-line-like");Ot(a.measure,E);var x=y.getBoundingClientRect(),z=(x.right-x.left)/10;return z>2&&(a.cachedCharWidth=z),z||10}function _a(a){for(var y=a.display,E={},x={},z=y.gutters.clientLeft,oe=y.gutters.firstChild,fe=0;oe;oe=oe.nextSibling,++fe){var ve=a.display.gutterSpecs[fe].className;E[ve]=oe.offsetLeft+oe.clientLeft+z,x[ve]=oe.clientWidth}return{fixedPos:Il(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:E,gutterWidth:x,wrapperWidth:y.wrapper.clientWidth}}function Il(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Cs(a){var y=ca(a.display),E=a.options.lineWrapping,x=E&&Math.max(5,a.display.scroller.clientWidth/ua(a.display)-3);return function(z){if(Gn(a.doc,z))return 0;var oe=0;if(z.widgets)for(var fe=0;fe0&&(ze=Yt(a.doc,we.line).text).length==we.ch){var tn=Ce(ze,ze.length,a.options.tabSize)-ze.length;we=Ke(we.line,Math.max(0,Math.round((oe-wi(a.display).left)/ua(a.display))-tn))}return we}function ol(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var E=a.display.view,x=0;xy)&&(z.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=z.viewTo)Er&&hn(a.doc,y)z.viewFrom?il(a):(z.viewFrom+=x,z.viewTo+=x);else if(y<=z.viewFrom&&E>=z.viewTo)il(a);else if(y<=z.viewFrom){var oe=Ul(a,E,E+x,1);oe?(z.view=z.view.slice(oe.index),z.viewFrom=oe.lineN,z.viewTo+=x):il(a)}else if(E>=z.viewTo){var fe=Ul(a,y,y,-1);fe?(z.view=z.view.slice(0,fe.index),z.viewTo=fe.lineN):il(a)}else{var ve=Ul(a,y,y,-1),we=Ul(a,E,E+x,1);ve&&we?(z.view=z.view.slice(0,ve.index).concat(Uo(a,ve.lineN,we.lineN)).concat(z.view.slice(we.index)),z.viewTo+=x):il(a)}var ze=z.externalMeasured;ze&&(E=z.lineN&&y=x.viewTo)){var oe=x.view[ol(a,y)];if(oe.node!=null){var fe=oe.changes||(oe.changes=[]);yt(fe,E)==-1&&fe.push(E)}}}function il(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Ul(a,y,E,x){var z=ol(a,y),oe,fe=a.display.view;if(!Er||E==a.doc.first+a.doc.size)return{index:z,lineN:E};for(var ve=a.display.viewFrom,we=0;we0){if(z==fe.length-1)return null;oe=ve+fe[z].size-y,z++}else oe=ve-y;y+=oe,E+=oe}for(;hn(a.doc,E)!=E;){if(z==(x<0?0:fe.length-1))return null;E+=x*fe[z-(x<0?1:0)].size,z+=x}return{index:z,lineN:E}}function Ws(a,y,E){var x=a.display,z=x.view;z.length==0||y>=x.viewTo||E<=x.viewFrom?(x.view=Uo(a,y,E),x.viewFrom=y):(x.viewFrom>y?x.view=Uo(a,y,x.viewFrom).concat(x.view):x.viewFromE&&(x.view=x.view.slice(0,ol(a,E)))),x.viewTo=E}function Ss(a){for(var y=a.display.view,E=0,x=0;x=a.display.viewTo||ve.to().line0?y.blinker=setInterval(function(){a.hasFocus()||Ll(a),y.cursorDiv.style.visibility=(E=!E)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function sc(a){a.state.focused||(a.display.input.focus(),Vs(a))}function Ks(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Ll(a))},100)}function Vs(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(vn(a,"focus",a,y),a.state.focused=!0,se(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),be&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),ws(a))}function Ll(a,y){a.state.delayingBlurEvent||(a.state.focused&&(vn(a,"blur",a,y),a.state.focused=!1,nt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function No(a){for(var y=a.display,E=y.lineDiv.offsetTop,x=0;x.005||tn<-.005)&&(jn(z.line,fe),Fl(z.line),z.rest))for(var un=0;una.display.sizerWidth){var Un=Math.ceil(ve/ua(a.display));Un>a.display.maxLineLength&&(a.display.maxLineLength=Un,a.display.maxLine=z.line,a.display.maxLineChanged=!0)}}}}function Fl(a){if(a.widgets)for(var y=0;y=fe&&(oe=Dt(y,sr(Yt(y,we))-a.wrapper.clientHeight),fe=we)}return{from:oe,to:Math.max(fe,oe+1)}}function cc(a,y){if(!jt(a,"scrollCursorIntoView")){var E=a.display,x=E.sizer.getBoundingClientRect(),z=null;if(y.top+x.top<0?z=!0:y.bottom+x.top>(window.innerHeight||document.documentElement.clientHeight)&&(z=!1),z!=null&&!Rt){var oe=ht("div","\u200B",null,`position: absolute; + top: `+(y.top-E.viewOffset-Ro(a.display))+`px; + height: `+(y.bottom-y.top+Bi(a)+E.barHeight)+`px; + left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(oe),oe.scrollIntoView(z),a.display.lineSpace.removeChild(oe)}}}function uc(a,y,E,x){x==null&&(x=0);var z;!a.options.lineWrapping&&y==E&&(y=y.ch?Ke(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,E=y.sticky=="before"?Ke(y.line,y.ch+1,"before"):y);for(var oe=0;oe<5;oe++){var fe=!1,ve=pi(a,y),we=!E||E==y?ve:pi(a,E);z={left:Math.min(ve.left,we.left),top:Math.min(ve.top,we.top)-x,right:Math.max(ve.left,we.left),bottom:Math.max(ve.bottom,we.bottom)+x};var ze=Es(a,z),tn=a.doc.scrollTop,un=a.doc.scrollLeft;if(ze.scrollTop!=null&&(ss(a,ze.scrollTop),Math.abs(a.doc.scrollTop-tn)>1&&(fe=!0)),ze.scrollLeft!=null&&(Zl(a,ze.scrollLeft),Math.abs(a.doc.scrollLeft-un)>1&&(fe=!0)),!fe)break}return z}function kc(a,y){var E=Es(a,y);E.scrollTop!=null&&ss(a,E.scrollTop),E.scrollLeft!=null&&Zl(a,E.scrollLeft)}function Es(a,y){var E=a.display,x=ca(a.display);y.top<0&&(y.top=0);var z=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:E.scroller.scrollTop,oe=oa(a),fe={};y.bottom-y.top>oe&&(y.bottom=y.top+oe);var ve=a.doc.height+hi(E),we=y.topve-x;if(y.topz+oe){var tn=Math.min(y.top,(ze?ve:y.bottom)-oe);tn!=z&&(fe.scrollTop=tn)}var un=a.options.fixedGutter?0:E.gutters.offsetWidth,Un=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:E.scroller.scrollLeft-un,zn=qi(a)-E.gutters.offsetWidth,hr=y.right-y.left>zn;return hr&&(y.right=y.left+zn),y.left<10?fe.scrollLeft=0:y.leftzn+Un-3&&(fe.scrollLeft=y.right+(hr?0:10)-zn),fe}function Us(a,y){y!=null&&(Is(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function $l(a){Is(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function ls(a,y,E){(y!=null||E!=null)&&Is(a),y!=null&&(a.curOp.scrollLeft=y),E!=null&&(a.curOp.scrollTop=E)}function dc(a,y){Is(a),a.curOp.scrollToPos=y}function Is(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var E=zo(a,y.from),x=zo(a,y.to);Gs(a,E,x,y.margin)}}function Gs(a,y,E,x){var z=Es(a,{left:Math.min(y.left,E.left),top:Math.min(y.top,E.top)-x,right:Math.max(y.right,E.right),bottom:Math.max(y.bottom,E.bottom)+x});ls(a,z.scrollLeft,z.scrollTop)}function ss(a,y){Math.abs(a.doc.scrollTop-y)<2||(b||Ds(a,{top:y}),Xs(a,y,!0),b&&Ds(a),Ql(a,100))}function Xs(a,y,E){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!E)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Zl(a,y,E,x){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((E?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!x)&&(a.doc.scrollLeft=y,ct(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function Xl(a){var y=a.display,E=y.gutters.offsetWidth,x=Math.round(a.doc.height+hi(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?E:0,docHeight:x,scrollHeight:x+Bi(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:E}}var zl=function(a,y,E){this.cm=E;var x=this.vert=ht("div",[ht("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),z=this.horiz=ht("div",[ht("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=z.tabIndex=-1,a(x),a(z),Ut(x,"scroll",function(){x.clientHeight&&y(x.scrollTop,"vertical")}),Ut(z,"scroll",function(){z.clientWidth&&y(z.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,Pe&&pe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};zl.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,E=a.scrollHeight>a.clientHeight+1,x=a.nativeBarWidth;if(E){this.vert.style.display="block",this.vert.style.bottom=y?x+"px":"0";var z=a.viewHeight-(y?x:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+z)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=E?x+"px":"0",this.horiz.style.left=a.barLeft+"px";var oe=a.viewWidth-a.barLeft-(E?x:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+oe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(x==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:E?x:0,bottom:y?x:0}},zl.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},zl.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},zl.prototype.zeroWidthHack=function(){var a=Re&&!Ee?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new he,this.disableVert=new he},zl.prototype.enableZeroWidthBar=function(a,y,E){a.style.pointerEvents="auto";function x(){var z=a.getBoundingClientRect(),oe=E=="vert"?document.elementFromPoint(z.right-1,(z.top+z.bottom)/2):document.elementFromPoint((z.right+z.left)/2,z.bottom-1);oe!=a?a.style.pointerEvents="none":y.set(1e3,x)}y.set(1e3,x)},zl.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var Yl=function(){};Yl.prototype.update=function(){return{bottom:0,right:0}},Yl.prototype.setScrollLeft=function(){},Yl.prototype.setScrollTop=function(){},Yl.prototype.clear=function(){};function Jl(a,y){y||(y=Xl(a));var E=a.display.barWidth,x=a.display.barHeight;Ys(a,y);for(var z=0;z<4&&E!=a.display.barWidth||x!=a.display.barHeight;z++)E!=a.display.barWidth&&a.options.lineWrapping&&No(a),Ys(a,Xl(a)),E=a.display.barWidth,x=a.display.barHeight}function Ys(a,y){var E=a.display,x=E.scrollbars.update(y);E.sizer.style.paddingRight=(E.barWidth=x.right)+"px",E.sizer.style.paddingBottom=(E.barHeight=x.bottom)+"px",E.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(E.scrollbarFiller.style.display="block",E.scrollbarFiller.style.height=x.bottom+"px",E.scrollbarFiller.style.width=x.right+"px"):E.scrollbarFiller.style.display="",x.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(E.gutterFiller.style.display="block",E.gutterFiller.style.height=x.bottom+"px",E.gutterFiller.style.width=y.gutterWidth+"px"):E.gutterFiller.style.display=""}var fc={native:zl,null:Yl};function Js(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&nt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new fc[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),Ut(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,E){E=="horizontal"?Zl(a,y):ss(a,y)},a),a.display.scrollbars.addClass&&se(a.display.wrapper,a.display.scrollbars.addClass)}var Ac=0;function Dl(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++Ac},Zi(a.curOp)}function Hl(a){var y=a.curOp;y&&Ai(y,function(E){for(var x=0;x=E.viewTo)||E.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new cs(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function pc(a){a.updatedDisplay=a.mustUpdate&&Os(a.cm,a.update)}function Rc(a){var y=a.cm,E=y.display;a.updatedDisplay&&No(y),a.barMeasure=Xl(y),E.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ia(y,E.maxLine,E.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(E.scroller.clientWidth,E.sizer.offsetLeft+a.adjustWidthTo+Bi(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,E.sizer.offsetLeft+a.adjustWidthTo-qi(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=E.input.prepareSelection())}function mc(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var E=+new Date+a.options.workTime,x=qn(a,y.highlightFrontier),z=[];y.iter(x.line,Math.min(y.first+y.size,a.display.viewTo+500),function(oe){if(x.line>=a.display.viewFrom){var fe=oe.styles,ve=oe.text.length>a.options.maxHighlightLength?Nn(y.mode,x.state):null,we=Sn(a,oe,x,!0);ve&&(x.state=ve),oe.styles=we.styles;var ze=oe.styleClasses,tn=we.classes;tn?oe.styleClasses=tn:ze&&(oe.styleClasses=null);for(var un=!fe||fe.length!=oe.styles.length||ze!=tn&&(!ze||!tn||ze.bgClass!=tn.bgClass||ze.textClass!=tn.textClass),Un=0;!un&&UnE)return Ql(a,a.options.workDelay),!0}),y.highlightFrontier=x.line,y.modeFrontier=Math.max(y.modeFrontier,x.line),z.length&&La(a,function(){for(var oe=0;oe=E.viewFrom&&y.visible.to<=E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo)&&E.renderedView==E.view&&Ss(a)==0)return!1;Nt(a)&&(il(a),y.dims=_a(a));var z=x.first+x.size,oe=Math.max(y.visible.from-a.options.viewportMargin,x.first),fe=Math.min(z,y.visible.to+a.options.viewportMargin);E.viewFromfe&&E.viewTo-fe<20&&(fe=Math.min(z,E.viewTo)),Er&&(oe=hn(a.doc,oe),fe=Ln(a.doc,fe));var ve=oe!=E.viewFrom||fe!=E.viewTo||E.lastWrapHeight!=y.wrapperHeight||E.lastWrapWidth!=y.wrapperWidth;Ws(a,oe,fe),E.viewOffset=sr(Yt(a.doc,E.viewFrom)),a.display.mover.style.top=E.viewOffset+"px";var we=Ss(a);if(!ve&&we==0&&!y.force&&E.renderedView==E.view&&(E.updateLineNumbers==null||E.updateLineNumbers>=E.viewTo))return!1;var ze=gc(a);return we>4&&(E.lineDiv.style.display="none"),bc(a,E.updateLineNumbers,y.dims),we>4&&(E.lineDiv.style.display=""),E.renderedView=E.view,yc(ze),zt(E.cursorDiv),zt(E.selectionDiv),E.gutters.style.height=E.sizer.style.minHeight=0,ve&&(E.lastWrapHeight=y.wrapperHeight,E.lastWrapWidth=y.wrapperWidth,Ql(a,400)),E.updateLineNumbers=null,!0}function al(a,y){for(var E=y.viewport,x=!0;;x=!1){if(!x||!a.options.lineWrapping||y.oldDisplayWidth==qi(a)){if(E&&E.top!=null&&(E={top:Math.min(a.doc.height+hi(a.display)-oa(a),E.top)}),y.visible=bl(a.display,a.doc,E),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else x&&(y.visible=bl(a.display,a.doc,E));if(!Os(a,y))break;No(a);var z=Xl(a);Ol(a),Jl(a,z),ge(a,z),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Ds(a,y){var E=new cs(a,y);if(Os(a,E)){No(a),al(a,E);var x=Xl(a);Ol(a),Jl(a,x),ge(a,x),E.finish()}}function bc(a,y,E){var x=a.display,z=a.options.lineNumbers,oe=x.lineDiv,fe=oe.firstChild;function ve(hr){var Cr=hr.nextSibling;return be&&Re&&a.display.currentWheelTarget==hr?hr.style.display="none":hr.parentNode.removeChild(hr),Cr}for(var we=x.view,ze=x.viewFrom,tn=0;tn-1&&(zn=!1),ya(a,un,ze,E)),zn&&(zt(un.lineNumber),un.lineNumber.appendChild(document.createTextNode(gt(a.options,ze)))),fe=un.node.nextSibling}ze+=un.size}for(;fe;)fe=ve(fe)}function ye(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function ge(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+Bi(a)+"px"}function ct(a){var y=a.display,E=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var x=Il(y)-y.scroller.scrollLeft+a.doc.scrollLeft,z=y.gutters.offsetWidth,oe=x+"px",fe=0;fefe.clientWidth,we=fe.scrollHeight>fe.clientHeight;if(x&&ve||z&&we){if(z&&Re&&be){e:for(var ze=y.target,tn=oe.view;ze!=fe;ze=ze.parentNode)for(var un=0;un=0&&wt(a,x.to())<=0)return E}return-1};var Wn=function(a,y){this.anchor=a,this.head=y};Wn.prototype.from=function(){return lt(this.anchor,this.head)},Wn.prototype.to=function(){return Jn(this.anchor,this.head)},Wn.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ir(a,y,E){var x=a&&a.options.selectionsMayTouch,z=y[E];y.sort(function(Un,zn){return wt(Un.from(),zn.from())}),E=yt(y,z);for(var oe=1;oe0:we>=0){var ze=lt(ve.from(),fe.from()),tn=Jn(ve.to(),fe.to()),un=ve.empty()?fe.from()==fe.head:ve.from()==ve.head;oe<=E&&--E,y.splice(--oe,2,new Wn(un?tn:ze,un?ze:tn))}}return new Kn(y,E)}function fr(a,y){return new Kn([new Wn(a,y||a)],0)}function Nr(a){return a.text?Ke(a.from.line+a.text.length-1,Fe(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Lr(a,y){if(wt(a,y.from)<0)return a;if(wt(a,y.to)<=0)return Nr(y);var E=a.line+y.text.length-(y.to.line-y.from.line)-1,x=a.ch;return a.line==y.to.line&&(x+=Nr(y).ch-y.to.ch),Ke(E,x)}function Mr(a,y){for(var E=[],x=0;x1&&a.remove(ve.line+1,hr-1),a.insert(ve.line+1,qr)}Go(a,"change",a,y)}function po(a,y,E){function x(z,oe,fe){if(z.linked)for(var ve=0;ve1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Fe(a.done)}function Co(a,y,E,x){var z=a.history;z.undone.length=0;var oe=+new Date,fe,ve;if((z.lastOp==x||z.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&z.lastModTime>oe-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(fe=co(z,z.lastOp==x)))ve=Fe(fe.changes),wt(y.from,y.to)==0&&wt(y.from,ve.to)==0?ve.to=Nr(y):fe.changes.push(zr(a,y));else{var we=Fe(z.done);for((!we||!we.ranges)&&jo(a.sel,z.done),fe={changes:[zr(a,y)],generation:z.generation},z.done.push(fe);z.done.length>z.undoDepth;)z.done.shift(),z.done[0].ranges||z.done.shift()}z.done.push(E),z.generation=++z.maxGeneration,z.lastModTime=z.lastSelTime=oe,z.lastOp=z.lastSelOp=x,z.lastOrigin=z.lastSelOrigin=y.origin,ve||vn(a,"historyAdded")}function Ur(a,y,E,x){var z=y.charAt(0);return z=="*"||z=="+"&&E.ranges.length==x.ranges.length&&E.somethingSelected()==x.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Ho(a,y,E,x){var z=a.history,oe=x&&x.origin;E==z.lastSelOp||oe&&z.lastSelOrigin==oe&&(z.lastModTime==z.lastSelTime&&z.lastOrigin==oe||Ur(a,oe,Fe(z.done),y))?z.done[z.done.length-1]=y:jo(y,z.done),z.lastSelTime=+new Date,z.lastSelOrigin=oe,z.lastSelOp=E,x&&x.clearRedo!==!1&&oo(z.undone)}function jo(a,y){var E=Fe(y);E&&E.ranges&&E.equals(a)||y.push(a)}function Fi(a,y,E,x){var z=y["spans_"+a.id],oe=0;a.iter(Math.max(a.first,E),Math.min(a.first+a.size,x),function(fe){fe.markedSpans&&((z||(z=y["spans_"+a.id]={}))[oe]=fe.markedSpans),++oe})}function Ni(a){if(!a)return null;for(var y,E=0;E-1&&(Fe(ve)[un]=ze[un],delete ze[un])}}return x}function Wo(a,y,E,x){if(x){var z=a.anchor;if(E){var oe=wt(y,z)<0;oe!=wt(E,z)<0?(z=y,y=E):oe!=wt(y,E)<0&&(y=E)}return new Wn(z,y)}else return new Wn(E||y,y)}function Ko(a,y,E,x,z){z==null&&(z=a.cm&&(a.cm.display.shift||a.extend)),ro(a,new Kn([Wo(a.sel.primary(),y,E,z)],0),x)}function ji(a,y,E){for(var x=[],z=a.cm&&(a.cm.display.shift||a.extend),oe=0;oe=y.ch:ve.to>y.ch))){if(z&&(vn(we,"beforeCursorEnter"),we.explicitlyCleared))if(oe.markedSpans){--fe;continue}else break;if(!we.atomic)continue;if(E){var un=we.find(x<0?1:-1),Un=void 0;if((x<0?tn:ze)&&(un=bo(a,un,-x,un&&un.line==y.line?oe:null)),un&&un.line==y.line&&(Un=wt(un,E))&&(x<0?Un<0:Un>0))return Wi(a,un,y,x,z)}var zn=we.find(x<0?-1:1);return(x<0?ze:tn)&&(zn=bo(a,zn,x,zn.line==y.line?oe:null)),zn?Wi(a,zn,y,x,z):null}}return y}function ta(a,y,E,x,z){var oe=x||1,fe=Wi(a,y,E,oe,z)||!z&&Wi(a,y,E,oe,!0)||Wi(a,y,E,-oe,z)||!z&&Wi(a,y,E,-oe,!0);return fe||(a.cantEdit=!0,Ke(a.first,0))}function bo(a,y,E,x){return E<0&&y.ch==0?y.line>a.first?pt(a,Ke(y.line-1)):null:E>0&&y.ch==(x||Yt(a,y.line)).text.length?y.line=0;--z)si(a,{from:x[z].from,to:x[z].to,text:z?[""]:y.text,origin:y.origin});else si(a,y)}}function si(a,y){if(!(y.text.length==1&&y.text[0]==""&&wt(y.from,y.to)==0)){var E=Mr(a,y);Co(a,y,E,a.cm?a.cm.curOp.id:NaN),Fa(a,y,E,Xr(a,y));var x=[];po(a,function(z,oe){!oe&&yt(x,z.history)==-1&&(na(z.history,y),x.push(z.history)),Fa(z,y,null,Xr(z,y))})}}function da(a,y,E){var x=a.cm&&a.cm.state.suppressEdits;if(!(x&&!E)){for(var z=a.history,oe,fe=a.sel,ve=y=="undo"?z.done:z.undone,we=y=="undo"?z.undone:z.done,ze=0;ze=0;--zn){var hr=Un(zn);if(hr)return hr.v}}}}function _i(a,y){if(y!=0&&(a.first+=y,a.sel=new Kn(dn(a.sel.ranges,function(z){return new Wn(Ke(z.anchor.line+y,z.anchor.ch),Ke(z.head.line+y,z.head.ch))}),a.sel.primIndex),a.cm)){Na(a.cm,a.first,a.first-y,y);for(var E=a.cm.display,x=E.viewFrom;xa.lastLine())){if(y.from.lineoe&&(y={from:y.from,to:Ke(oe,Yt(a,oe).text.length),text:[y.text[0]],origin:y.origin}),y.removed=xn(a,y.from,y.to),E||(E=Mr(a,y)),a.cm?Ti(a.cm,y,x):xo(a,y,x),Yo(a,E,me),a.cantEdit&&ta(a,Ke(a.firstLine(),0))&&(a.cantEdit=!1)}}function Ti(a,y,E){var x=a.doc,z=a.display,oe=y.from,fe=y.to,ve=!1,we=oe.line;a.options.lineWrapping||(we=vt(Wt(Yt(x,oe.line))),x.iter(we,fe.line+1,function(zn){if(zn==z.maxLine)return ve=!0,!0})),x.sel.contains(y.from,y.to)>-1&&Cn(a),xo(x,y,E,Cs(a)),a.options.lineWrapping||(x.iter(we,oe.line+y.text.length,function(zn){var hr=pr(zn);hr>z.maxLineLength&&(z.maxLine=zn,z.maxLineLength=hr,z.maxLineChanged=!0,ve=!1)}),ve&&(a.curOp.updateMaxLine=!0)),Br(x,oe.line),Ql(a,400);var ze=y.text.length-(fe.line-oe.line)-1;y.full?Na(a):oe.line==fe.line&&y.text.length==1&&!Lo(a.doc,y)?yl(a,oe.line,"text"):Na(a,oe.line,fe.line+1,ze);var tn=on(a,"changes"),un=on(a,"change");if(un||tn){var Un={from:oe,to:fe,text:y.text,removed:y.removed,origin:y.origin};un&&Go(a,"change",a,Un),tn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Un)}a.display.selForContextMenu=null}function qo(a,y,E,x,z){var oe;x||(x=E),wt(x,E)<0&&(oe=[x,E],E=oe[0],x=oe[1]),typeof y=="string"&&(y=a.splitLines(y)),di(a,{from:E,to:x,text:y,origin:z})}function vi(a,y,E,x){E1||!(this.children[0]instanceof ei))){var ve=[];this.collapse(ve),this.children=[new ei(ve)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y50){for(var fe=z.lines.length%25+25,ve=fe;ve10);a.parent.maybeSpill()}},iterN:function(a,y,E){for(var x=0;xa.display.maxLineLength&&(a.display.maxLine=ze,a.display.maxLineLength=tn,a.display.maxLineChanged=!0)}x!=null&&a&&this.collapsed&&Na(a,x,z+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Ei(a.doc)),a&&Go(a,"markerCleared",a,this,x,z),y&&Hl(a),this.parent&&this.parent.clear()}},$a.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var E,x,z=0;z0||fe==0&&oe.clearWhenEmpty!==!1)return oe;if(oe.replacedWith&&(oe.collapsed=!0,oe.widgetNode=Ct("span",[oe.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||oe.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(oe.widgetNode.insertLeft=!0)),oe.collapsed){if(Bt(a,y.line,y,E,oe)||y.line!=E.line&&Bt(a,E.line,y,E,oe))throw new Error("Inserting collapsed marker partially overlapping an existing one");Rr()}oe.addToHistory&&Co(a,{from:y,to:E,origin:"markText"},a.sel,NaN);var ve=y.line,we=a.cm,ze;if(a.iter(ve,E.line+1,function(un){we&&oe.collapsed&&!we.options.lineWrapping&&Wt(un)==we.display.maxLine&&(ze=!0),oe.collapsed&&ve!=y.line&&jn(un,0),wr(un,new Sr(oe,ve==y.line?y.ch:null,ve==E.line?E.ch:null)),++ve}),oe.collapsed&&a.iter(y.line,E.line+1,function(un){Gn(a,un)&&jn(un,0)}),oe.clearOnEnter&&Ut(oe,"beforeCursorEnter",function(){return oe.clear()}),oe.readOnly&&(Wr(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),oe.collapsed&&(oe.id=++Ta,oe.atomic=!0),we){if(ze&&(we.curOp.updateMaxLine=!0),oe.collapsed)Na(we,y.line,E.line+1);else if(oe.className||oe.startStyle||oe.endStyle||oe.css||oe.attributes||oe.title)for(var tn=y.line;tn<=E.line;tn++)yl(we,tn,"text");oe.atomic&&Ei(we.doc),Go(we,"markerAdded",we,oe)}return oe}var xi=function(a,y){this.markers=a,this.primary=y;for(var E=0;E=0;we--)di(this,x[we]);ve?ho(this,ve):this.cm&&$l(this.cm)}),undo:pa(function(){da(this,"undo")}),redo:pa(function(){da(this,"redo")}),undoSelection:pa(function(){da(this,"undo",!0)}),redoSelection:pa(function(){da(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,E=0,x=0;x=a.ch)&&y.push(z.marker.parent||z.marker)}return y},findMarks:function(a,y,E){a=pt(this,a),y=pt(this,y);var x=[],z=a.line;return this.iter(a.line,y.line+1,function(oe){var fe=oe.markedSpans;if(fe)for(var ve=0;ve=we.to||we.from==null&&z!=a.line||we.from!=null&&z==y.line&&we.from>=y.ch)&&(!E||E(we.marker))&&x.push(we.marker.parent||we.marker)}++z}),x},getAllMarks:function(){var a=[];return this.iter(function(y){var E=y.markedSpans;if(E)for(var x=0;xa)return y=a,!0;a-=oe,++E}),pt(this,Ke(E,y))},indexFromPos:function(a){a=pt(this,a);var y=a.ch;if(a.liney&&(y=a.from),a.to!=null&&a.to-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var tn=a.dataTransfer.getData("Text");if(tn){var un;if(y.state.draggingText&&!y.state.draggingText.copy&&(un=y.listSelections()),Yo(y.doc,fr(E,E)),un)for(var Un=0;Un=0;ve--)qo(a.doc,"",x[ve].from,x[ve].to,"+delete");$l(a)})}function Ms(a,y,E){var x=Ge(a.text,y+E,E);return x<0||x>a.text.length?null:x}function ms(a,y,E){var x=Ms(a,y.ch,E);return x==null?null:new Ke(y.line,x,E<0?"after":"before")}function Ts(a,y,E,x,z){if(a){y.doc.direction=="rtl"&&(z=-z);var oe=Ne(E,y.doc.direction);if(oe){var fe=z<0?Fe(oe):oe[0],ve=z<0==(fe.level==1),we=ve?"after":"before",ze;if(fe.level>0||y.doc.direction=="rtl"){var tn=Wa(y,E);ze=z<0?E.text.length-1:0;var un=Ra(y,tn,ze).top;ze=He(function(Un){return Ra(y,tn,Un).top==un},z<0==(fe.level==1)?fe.from:fe.to-1,ze),we=="before"&&(ze=Ms(E,ze,1))}else ze=z<0?fe.to:fe.from;return new Ke(x,ze,we)}}return new Ke(x,z<0?E.text.length:0,z<0?"before":"after")}function qs(a,y,E,x){var z=Ne(y,a.doc.direction);if(!z)return ms(y,E,x);E.ch>=y.text.length?(E.ch=y.text.length,E.sticky="before"):E.ch<=0&&(E.ch=0,E.sticky="after");var oe=ut(z,E.ch,E.sticky),fe=z[oe];if(a.doc.direction=="ltr"&&fe.level%2==0&&(x>0?fe.to>E.ch:fe.from=fe.from&&Un>=tn.begin)){var zn=un?"before":"after";return new Ke(E.line,Un,zn)}}var hr=function(qr,uo,eo){for(var yo=function(Li,Oa){return Oa?new Ke(E.line,ve(Li,1),"before"):new Ke(E.line,Li,"after")};qr>=0&&qr0==(Bo.level!=1),Jo=To?eo.begin:ve(eo.end,-1);if(Bo.from<=Jo&&Jo0?tn.end:ve(tn.begin,-1);return Hr!=null&&!(x>0&&Hr==y.text.length)&&(Cr=hr(x>0?0:z.length-1,x,ze(Hr)),Cr)?Cr:null}var Cl={selectAll:Do,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),me)},killLine:function(a){return Nl(a,function(y){if(y.empty()){var E=Yt(a.doc,y.head.line).text.length;return y.head.ch==E&&y.head.line0)z=new Ke(z.line,z.ch+1),a.replaceRange(oe.charAt(z.ch-1)+oe.charAt(z.ch-2),Ke(z.line,z.ch-2),z,"+transpose");else if(z.line>a.doc.first){var fe=Yt(a.doc,z.line-1).text;fe&&(z=new Ke(z.line,1),a.replaceRange(oe.charAt(0)+a.doc.lineSeparator()+fe.charAt(fe.length-1),Ke(z.line-1,fe.length-1),z,"+transpose"))}}E.push(new Wn(z,z))}a.setSelections(E)})},newlineAndIndent:function(a){return La(a,function(){for(var y=a.listSelections(),E=y.length-1;E>=0;E--)a.replaceRange(a.doc.lineSeparator(),y[E].anchor,y[E].head,"+input");y=a.listSelections();for(var x=0;xa&&wt(y,this.pos)==0&&E==this.button};var Ml,Wl;function Zs(a,y){var E=+new Date;return Wl&&Wl.compare(E,a,y)?(Ml=Wl=null,"triple"):Ml&&Ml.compare(E,a,y)?(Wl=new vs(E,a,y),Ml=null,"double"):(Ml=new vs(E,a,y),Wl=null,"single")}function zs(a){var y=this,E=y.display;if(!(jt(y,a)||E.activeTouch&&E.input.supportsTouch())){if(E.input.ensurePolled(),E.shift=a.shiftKey,$o(E,a)){be||(E.scroller.draggable=!1,setTimeout(function(){return E.scroller.draggable=!0},100));return}if(!fl(y,a)){var x=dl(y,a),z=Kt(a),oe=x?Zs(x,z):"single";window.focus(),z==1&&y.state.selectingText&&y.state.selectingText(a),!(x&&Ec(y,z,x,oe,a))&&(z==1?x?ii(y,x,oe,a):Pt(a)==E.scroller&&Tt(a):z==2?(x&&Ko(y.doc,x),setTimeout(function(){return E.input.focus()},20)):z==3&&(Ae?y.display.input.onContextMenu(a):Ks(y)))}}}function Ec(a,y,E,x,z){var oe="Click";return x=="double"?oe="Double"+oe:x=="triple"&&(oe="Triple"+oe),oe=(y==1?"Left":y==2?"Middle":"Right")+oe,ns(a,es(oe,z),z,function(fe){if(typeof fe=="string"&&(fe=Cl[fe]),!fe)return!1;var ve=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),ve=fe(a,E)!=Lt}finally{a.state.suppressEdits=!1}return ve})}function ti(a,y,E){var x=a.getOption("configureMouse"),z=x?x(a,y,E):{};if(z.unit==null){var oe=ft?E.shiftKey&&E.metaKey:E.altKey;z.unit=oe?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(z.extend==null||a.doc.extend)&&(z.extend=a.doc.extend||E.shiftKey),z.addNew==null&&(z.addNew=Re?E.metaKey:E.ctrlKey),z.moveOnDrag==null&&(z.moveOnDrag=!(Re?E.altKey:E.ctrlKey)),z}function ii(a,y,E,x){Pe?setTimeout(Ye(sc,a),0):a.curOp.focus=xe();var z=ti(a,E,x),oe=a.doc.sel,fe;a.options.dragDrop&&nn&&!a.isReadOnly()&&E=="single"&&(fe=oe.contains(y))>-1&&(wt((fe=oe.ranges[fe]).from(),y)<0||y.xRel>0)&&(wt(fe.to(),y)>0||y.xRel<0)?Ea(a,x,y,z):Ia(a,x,y,z)}function Ea(a,y,E,x){var z=a.display,oe=!1,fe=ba(a,function(ze){be&&(z.scroller.draggable=!1),a.state.draggingText=!1,mn(z.wrapper.ownerDocument,"mouseup",fe),mn(z.wrapper.ownerDocument,"mousemove",ve),mn(z.scroller,"dragstart",we),mn(z.scroller,"drop",fe),oe||(Tt(ze),x.addNew||Ko(a.doc,E,null,null,x.extend),be&&!$e||Pe&&pe==9?setTimeout(function(){z.wrapper.ownerDocument.body.focus({preventScroll:!0}),z.input.focus()},20):z.input.focus())}),ve=function(ze){oe=oe||Math.abs(y.clientX-ze.clientX)+Math.abs(y.clientY-ze.clientY)>=10},we=function(){return oe=!0};be&&(z.scroller.draggable=!0),a.state.draggingText=fe,fe.copy=!x.moveOnDrag,z.scroller.dragDrop&&z.scroller.dragDrop(),Ut(z.wrapper.ownerDocument,"mouseup",fe),Ut(z.wrapper.ownerDocument,"mousemove",ve),Ut(z.scroller,"dragstart",we),Ut(z.scroller,"drop",fe),Ks(a),setTimeout(function(){return z.input.focus()},20)}function Ga(a,y,E){if(E=="char")return new Wn(y,y);if(E=="word")return a.findWordAt(y);if(E=="line")return new Wn(Ke(y.line,0),pt(a.doc,Ke(y.line+1,0)));var x=E(a,y);return new Wn(x.from,x.to)}function Ia(a,y,E,x){var z=a.display,oe=a.doc;Tt(y);var fe,ve,we=oe.sel,ze=we.ranges;if(x.addNew&&!x.extend?(ve=oe.sel.contains(E),ve>-1?fe=ze[ve]:fe=new Wn(E,E)):(fe=oe.sel.primary(),ve=oe.sel.primIndex),x.unit=="rectangle")x.addNew||(fe=new Wn(E,E)),E=dl(a,y,!0,!0),ve=-1;else{var tn=Ga(a,E,x.unit);x.extend?fe=Wo(fe,tn.anchor,tn.head,x.extend):fe=tn}x.addNew?ve==-1?(ve=ze.length,ro(oe,Ir(a,ze.concat([fe]),ve),{scroll:!1,origin:"*mouse"})):ze.length>1&&ze[ve].empty()&&x.unit=="char"&&!x.extend?(ro(oe,Ir(a,ze.slice(0,ve).concat(ze.slice(ve+1)),0),{scroll:!1,origin:"*mouse"}),we=oe.sel):Xi(oe,ve,fe,qe):(ve=0,ro(oe,new Kn([fe],0),qe),we=oe.sel);var un=E;function Un(eo){if(wt(un,eo)!=0)if(un=eo,x.unit=="rectangle"){for(var yo=[],Bo=a.options.tabSize,To=Ce(Yt(oe,E.line).text,E.ch,Bo),Jo=Ce(Yt(oe,eo.line).text,eo.ch,Bo),Li=Math.min(To,Jo),Oa=Math.max(To,Jo),Ji=Math.min(E.line,eo.line),tl=Math.min(a.lastLine(),Math.max(E.line,eo.line));Ji<=tl;Ji++){var Xa=Yt(oe,Ji).text,va=Xt(Xa,Li,Bo);Li==Oa?yo.push(new Wn(Ke(Ji,va),Ke(Ji,va))):Xa.length>va&&yo.push(new Wn(Ke(Ji,va),Ke(Ji,Xt(Xa,Oa,Bo))))}yo.length||yo.push(new Wn(E,E)),ro(oe,Ir(a,we.ranges.slice(0,ve).concat(yo),ve),{origin:"*mouse",scroll:!1}),a.scrollIntoView(eo)}else{var Ya=fe,Aa=Ga(a,eo,x.unit),Ca=Ya.anchor,ga;wt(Aa.anchor,Ca)>0?(ga=Aa.head,Ca=lt(Ya.from(),Aa.anchor)):(ga=Aa.anchor,Ca=Jn(Ya.to(),Aa.head));var ra=we.ranges.slice(0);ra[ve]=_l(a,new Wn(pt(oe,Ca),ga)),ro(oe,Ir(a,ra,ve),qe)}}var zn=z.wrapper.getBoundingClientRect(),hr=0;function Cr(eo){var yo=++hr,Bo=dl(a,eo,!0,x.unit=="rectangle");if(Bo)if(wt(Bo,un)!=0){a.curOp.focus=xe(),Un(Bo);var To=bl(z,oe);(Bo.line>=To.to||Bo.linezn.bottom?20:0;Jo&&setTimeout(ba(a,function(){hr==yo&&(z.scroller.scrollTop+=Jo,Cr(eo))}),50)}}function Hr(eo){a.state.selectingText=!1,hr=1/0,eo&&(Tt(eo),z.input.focus()),mn(z.wrapper.ownerDocument,"mousemove",qr),mn(z.wrapper.ownerDocument,"mouseup",uo),oe.history.lastSelOrigin=null}var qr=ba(a,function(eo){eo.buttons===0||!Kt(eo)?Hr(eo):Cr(eo)}),uo=ba(a,Hr);a.state.selectingText=uo,Ut(z.wrapper.ownerDocument,"mousemove",qr),Ut(z.wrapper.ownerDocument,"mouseup",uo)}function _l(a,y){var E=y.anchor,x=y.head,z=Yt(a.doc,E.line);if(wt(E,x)==0&&E.sticky==x.sticky)return y;var oe=Ne(z);if(!oe)return y;var fe=ut(oe,E.ch,E.sticky),ve=oe[fe];if(ve.from!=E.ch&&ve.to!=E.ch)return y;var we=fe+(ve.from==E.ch==(ve.level!=1)?0:1);if(we==0||we==oe.length)return y;var ze;if(x.line!=E.line)ze=(x.line-E.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var tn=ut(oe,x.ch,x.sticky),un=tn-fe||(x.ch-E.ch)*(ve.level==1?-1:1);tn==we-1||tn==we?ze=un<0:ze=un>0}var Un=oe[we+(ze?-1:0)],zn=ze==(Un.level==1),hr=zn?Un.from:Un.to,Cr=zn?"after":"before";return E.ch==hr&&E.sticky==Cr?y:new Wn(new Ke(E.line,hr,Cr),x)}function Sl(a,y,E,x){var z,oe;if(y.touches)z=y.touches[0].clientX,oe=y.touches[0].clientY;else try{z=y.clientX,oe=y.clientY}catch(Un){return!1}if(z>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;x&&Tt(y);var fe=a.display,ve=fe.lineDiv.getBoundingClientRect();if(oe>ve.bottom||!on(a,E))return _t(y);oe-=ve.top-fe.viewOffset;for(var we=0;we=z){var tn=Dt(a.doc,oe),un=a.display.gutterSpecs[we];return vn(a,E,a,tn,un.className,y),_t(y)}}}function fl(a,y){return Sl(a,y,"gutterClick",!0)}function Kl(a,y){$o(a.display,y)||Hs(a,y)||jt(a,y,"contextmenu")||Ae||a.display.input.onContextMenu(y)}function Hs(a,y){return on(a,"gutterContextMenu")?Sl(a,y,"gutterContextMenu",!1):!1}function Fc(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),rl(a)}var gs={toString:function(){return"CodeMirror.Init"}},$c={},tc={};function Jc(a){var y=a.optionHandlers;function E(x,z,oe,fe){a.defaults[x]=z,oe&&(y[x]=fe?function(ve,we,ze){ze!=gs&&oe(ve,we,ze)}:oe)}a.defineOption=E,a.Init=gs,E("value","",function(x,z){return x.setValue(z)},!0),E("mode",null,function(x,z){x.doc.modeOption=z,ao(x)},!0),E("indentUnit",2,ao,!0),E("indentWithTabs",!1),E("smartIndent",!0),E("tabSize",4,function(x){no(x),rl(x),Na(x)},!0),E("lineSeparator",null,function(x,z){if(x.doc.lineSep=z,!!z){var oe=[],fe=x.doc.first;x.doc.iter(function(we){for(var ze=0;;){var tn=we.text.indexOf(z,ze);if(tn==-1)break;ze=tn+z.length,oe.push(Ke(fe,tn))}fe++});for(var ve=oe.length-1;ve>=0;ve--)qo(x.doc,z,oe[ve],Ke(oe[ve].line,oe[ve].ch+z.length))}}),E("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(x,z,oe){x.state.specialChars=new RegExp(z.source+(z.test(" ")?"":"| "),"g"),oe!=gs&&x.refresh()}),E("specialCharPlaceholder",fo,function(x){return x.refresh()},!0),E("electricChars",!0),E("inputStyle",Ue?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),E("spellcheck",!1,function(x,z){return x.getInputField().spellcheck=z},!0),E("autocorrect",!1,function(x,z){return x.getInputField().autocorrect=z},!0),E("autocapitalize",!1,function(x,z){return x.getInputField().autocapitalize=z},!0),E("rtlMoveVisually",!kt),E("wholeLineUpdateBefore",!0),E("theme","default",function(x){Fc(x),Dn(x)},!0),E("keyMap","default",function(x,z,oe){var fe=ps(z),ve=oe!=gs&&ps(oe);ve&&ve.detach&&ve.detach(x,fe),fe.attach&&fe.attach(x,ve||null)}),E("extraKeys",null),E("configureMouse",null),E("lineWrapping",!1,qc,!0),E("gutters",[],function(x,z){x.display.gutterSpecs=qt(z,x.options.lineNumbers),Dn(x)},!0),E("fixedGutter",!0,function(x,z){x.display.gutters.style.left=z?Il(x.display)+"px":"0",x.refresh()},!0),E("coverGutterNextToScrollbar",!1,function(x){return Jl(x)},!0),E("scrollbarStyle","native",function(x){Js(x),Jl(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),E("lineNumbers",!1,function(x,z){x.display.gutterSpecs=qt(x.options.gutters,z),Dn(x)},!0),E("firstLineNumber",1,Dn,!0),E("lineNumberFormatter",function(x){return x},Dn,!0),E("showCursorWhenSelecting",!1,Ol,!0),E("resetSelectionOnContextMenu",!0),E("lineWiseCopyCut",!0),E("pasteLinesPerSelection",!0),E("selectionsMayTouch",!1),E("readOnly",!1,function(x,z){z=="nocursor"&&(Ll(x),x.display.input.blur()),x.display.input.readOnlyChanged(z)}),E("screenReaderLabel",null,function(x,z){z=z===""?null:z,x.display.input.screenReaderLabelChanged(z)}),E("disableInput",!1,function(x,z){z||x.display.input.reset()},!0),E("dragDrop",!0,Qc),E("allowDropFileTypes",null),E("cursorBlinkRate",530),E("cursorScrollMargin",0),E("cursorHeight",1,Ol,!0),E("singleCursorHeightPerLine",!0,Ol,!0),E("workTime",100),E("workDelay",100),E("flattenSpans",!0,no,!0),E("addModeClass",!1,no,!0),E("pollInterval",100),E("undoDepth",200,function(x,z){return x.doc.history.undoDepth=z}),E("historyEventDelay",1250),E("viewportMargin",10,function(x){return x.refresh()},!0),E("maxHighlightLength",1e4,no,!0),E("moveInputWithCursor",!0,function(x,z){z||x.display.input.resetPosition()}),E("tabindex",null,function(x,z){return x.display.input.getField().tabIndex=z||""}),E("autofocus",null),E("direction","ltr",function(x,z){return x.doc.setDirection(z)},!0),E("phrases",null)}function Qc(a,y,E){var x=E&&E!=gs;if(!y!=!x){var z=a.display.dragFunctions,oe=y?Ut:mn;oe(a.display.scroller,"dragstart",z.start),oe(a.display.scroller,"dragenter",z.enter),oe(a.display.scroller,"dragover",z.over),oe(a.display.scroller,"dragleave",z.leave),oe(a.display.scroller,"drop",z.drop)}}function qc(a){a.options.lineWrapping?(se(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(nt(a.display.wrapper,"CodeMirror-wrap"),mr(a)),Rl(a),Na(a),rl(a),setTimeout(function(){return Jl(a)},100)}function Vi(a,y){var E=this;if(!(this instanceof Vi))return new Vi(a,y);this.options=y=y?Ft(y):{},Ft($c,y,!1);var x=y.value;typeof x=="string"?x=new Ci(x,y.mode,null,y.lineSeparator,y.direction):y.mode&&(x.modeOption=y.mode),this.doc=x;var z=new Vi.inputStyles[y.inputStyle](this),oe=this.display=new yn(a,x,z,y);oe.wrapper.CodeMirror=this,Fc(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Js(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 he,keySeq:null,specialChars:null},y.autofocus&&!Ue&&oe.input.focus(),Pe&&pe<11&&setTimeout(function(){return E.display.input.reset(!0)},20),eu(this),hs(),Dl(this),this.curOp.forceUpdate=!0,Mo(this,x),y.autofocus&&!Ue||this.hasFocus()?setTimeout(function(){E.hasFocus()&&!E.state.focused&&Vs(E)},20):Ll(this);for(var fe in tc)tc.hasOwnProperty(fe)&&tc[fe](this,y[fe],gs);Nt(this),y.finishInit&&y.finishInit(this);for(var ve=0;ve20*20}Ut(y.scroller,"touchstart",function(we){if(!jt(a,we)&&!oe(we)&&!fl(a,we)){y.input.ensurePolled(),clearTimeout(E);var ze=+new Date;y.activeTouch={start:ze,moved:!1,prev:ze-x.end<=300?x:null},we.touches.length==1&&(y.activeTouch.left=we.touches[0].pageX,y.activeTouch.top=we.touches[0].pageY)}}),Ut(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),Ut(y.scroller,"touchend",function(we){var ze=y.activeTouch;if(ze&&!$o(y,we)&&ze.left!=null&&!ze.moved&&new Date-ze.start<300){var tn=a.coordsChar(y.activeTouch,"page"),un;!ze.prev||fe(ze,ze.prev)?un=new Wn(tn,tn):!ze.prev.prev||fe(ze,ze.prev.prev)?un=a.findWordAt(tn):un=new Wn(Ke(tn.line,0),pt(a.doc,Ke(tn.line+1,0))),a.setSelection(un.anchor,un.head),a.focus(),Tt(we)}z()}),Ut(y.scroller,"touchcancel",z),Ut(y.scroller,"scroll",function(){y.scroller.clientHeight&&(ss(a,y.scroller.scrollTop),Zl(a,y.scroller.scrollLeft,!0),vn(a,"scroll",a))}),Ut(y.scroller,"mousewheel",function(we){return Yn(a,we)}),Ut(y.scroller,"DOMMouseScroll",function(we){return Yn(a,we)}),Ut(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(we){jt(a,we)||je(we)},over:function(we){jt(a,we)||(cl(a,we),je(we))},start:function(we){return sl(a,we)},drop:ba(a,xl),leave:function(we){jt(a,we)||us(a)}};var ve=y.input.getField();Ut(ve,"keyup",function(we){return Fs.call(a,we)}),Ut(ve,"keydown",ba(a,Ls)),Ut(ve,"keypress",ba(a,$s)),Ut(ve,"focus",function(we){return Vs(a,we)}),Ut(ve,"blur",function(we){return Ll(a,we)})}var Ic=[];Vi.defineInitHook=function(a){return Ic.push(a)};function js(a,y,E,x){var z=a.doc,oe;E==null&&(E="add"),E=="smart"&&(z.mode.indent?oe=qn(a,y).state:E="prev");var fe=a.options.tabSize,ve=Yt(z,y),we=Ce(ve.text,null,fe);ve.stateAfter&&(ve.stateAfter=null);var ze=ve.text.match(/^\s*/)[0],tn;if(!x&&!/\S/.test(ve.text))tn=0,E="not";else if(E=="smart"&&(tn=z.mode.indent(oe,ve.text.slice(ze.length),ve.text),tn==Lt||tn>150)){if(!x)return;E="prev"}E=="prev"?y>z.first?tn=Ce(Yt(z,y-1).text,null,fe):tn=0:E=="add"?tn=we+a.options.indentUnit:E=="subtract"?tn=we-a.options.indentUnit:typeof E=="number"&&(tn=we+E),tn=Math.max(0,tn);var un="",Un=0;if(a.options.indentWithTabs)for(var zn=Math.floor(tn/fe);zn;--zn)Un+=fe,un+=" ";if(Unfe,we=Zn(y),ze=null;if(ve&&x.ranges.length>1)if(hl&&hl.text.join(` +`)==y){if(x.ranges.length%hl.text.length==0){ze=[];for(var tn=0;tn=0;Un--){var zn=x.ranges[Un],hr=zn.from(),Cr=zn.to();zn.empty()&&(E&&E>0?hr=Ke(hr.line,hr.ch-E):a.state.overwrite&&!ve?Cr=Ke(Cr.line,Math.min(Yt(oe,Cr.line).text.length,Cr.ch+Fe(we).length)):ve&&hl&&hl.lineWise&&hl.text.join(` +`)==we.join(` +`)&&(hr=Cr=Ke(hr.line,0)));var Hr={from:hr,to:Cr,text:ze?ze[Un%ze.length]:we,origin:z||(ve?"paste":a.state.cutIncoming>fe?"cut":"+input")};di(a.doc,Hr),Go(a,"inputRead",a,Hr)}y&&!ve&&zc(a,y),$l(a),a.curOp.updateInput<2&&(a.curOp.updateInput=un),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Zc(a,y){var E=a.clipboardData&&a.clipboardData.getData("Text");if(E)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&La(y,function(){return Oc(y,E,0,null,"paste")}),!0}function zc(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var E=a.doc.sel,x=E.ranges.length-1;x>=0;x--){var z=E.ranges[x];if(!(z.head.ch>100||x&&E.ranges[x-1].head.line==z.head.line)){var oe=a.getModeAt(z.head),fe=!1;if(oe.electricChars){for(var ve=0;ve-1){fe=js(a,z.head.line,"smart");break}}else oe.electricInput&&oe.electricInput.test(Yt(a.doc,z.head.line).text.slice(0,z.head.ch))&&(fe=js(a,z.head.line,"smart"));fe&&Go(a,"electricInput",a,z.head.line)}}}function Hc(a){for(var y=[],E=[],x=0;xoe&&(js(this,ve.head.line,x,!0),oe=ve.head.line,fe==this.doc.sel.primIndex&&$l(this));else{var we=ve.from(),ze=ve.to(),tn=Math.max(oe,we.line);oe=Math.min(this.lastLine(),ze.line-(ze.ch?0:1))+1;for(var un=tn;un0&&Xi(this.doc,fe,new Wn(we,Un[fe].to()),me)}}}),getTokenAt:function(x,z){return dr(this,x,z)},getLineTokens:function(x,z){return dr(this,Ke(x),z,!0)},getTokenTypeAt:function(x){x=pt(this.doc,x);var z=$n(this,Yt(this.doc,x.line)),oe=0,fe=(z.length-1)/2,ve=x.ch,we;if(ve==0)we=z[2];else for(;;){var ze=oe+fe>>1;if((ze?z[ze*2-1]:0)>=ve)fe=ze;else if(z[ze*2+1]we&&(x=we,fe=!0),ve=Yt(this.doc,x)}else ve=x;return gl(this,ve,{top:0,left:0},z||"page",oe||fe).top+(fe?this.doc.height-sr(ve):0)},defaultTextHeight:function(){return ca(this.display)},defaultCharWidth:function(){return ua(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,z,oe,fe,ve){var we=this.display;x=pi(this,pt(this.doc,x));var ze=x.bottom,tn=x.left;if(z.style.position="absolute",z.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(z),we.sizer.appendChild(z),fe=="over")ze=x.top;else if(fe=="above"||fe=="near"){var un=Math.max(we.wrapper.clientHeight,this.doc.height),Un=Math.max(we.sizer.clientWidth,we.lineSpace.clientWidth);(fe=="above"||x.bottom+z.offsetHeight>un)&&x.top>z.offsetHeight?ze=x.top-z.offsetHeight:x.bottom+z.offsetHeight<=un&&(ze=x.bottom),tn+z.offsetWidth>Un&&(tn=Un-z.offsetWidth)}z.style.top=ze+"px",z.style.left=z.style.right="",ve=="right"?(tn=we.sizer.clientWidth-z.offsetWidth,z.style.right="0px"):(ve=="left"?tn=0:ve=="middle"&&(tn=(we.sizer.clientWidth-z.offsetWidth)/2),z.style.left=tn+"px"),oe&&kc(this,{left:tn,top:ze,right:tn+z.offsetWidth,bottom:ze+z.offsetHeight})},triggerOnKeyDown:Ma(Ls),triggerOnKeyPress:Ma($s),triggerOnKeyUp:Fs,triggerOnMouseDown:Ma(zs),execCommand:function(x){if(Cl.hasOwnProperty(x))return Cl[x].call(null,this)},triggerElectric:Ma(function(x){zc(this,x)}),findPosH:function(x,z,oe,fe){var ve=1;z<0&&(ve=-1,z=-z);for(var we=pt(this.doc,x),ze=0;ze0&&tn(oe.charAt(fe-1));)--fe;for(;ve.5||this.options.lineWrapping)&&Rl(this),vn(this,"refresh",this)}),swapDoc:Ma(function(x){var z=this.doc;return z.cm=null,this.state.selectingText&&this.state.selectingText(),Mo(this,x),rl(this),this.display.input.reset(),ls(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,Go(this,"swapDoc",this,z),z}),phrase:function(x){var z=this.options.phrases;return z&&Object.prototype.hasOwnProperty.call(z,x)?z[x]:x},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}},Je(a),a.registerHelper=function(x,z,oe){E.hasOwnProperty(x)||(E[x]=a[x]={_global:[]}),E[x][z]=oe},a.registerGlobalHelper=function(x,z,oe,fe){a.registerHelper(x,z,fe),E[x]._global.push({pred:oe,val:fe})}}function Dc(a,y,E,x,z){var oe=y,fe=E,ve=Yt(a,y.line),we=z&&a.direction=="rtl"?-E:E;function ze(){var uo=y.line+we;return uo=a.first+a.size?!1:(y=new Ke(uo,y.ch,y.sticky),ve=Yt(a,uo))}function tn(uo){var eo;if(x=="codepoint"){var yo=ve.text.charCodeAt(y.ch+(x>0?0:-1));isNaN(yo)?eo=null:eo=new Ke(y.line,Math.max(0,Math.min(ve.text.length,y.ch+E*(yo>=55296&&yo<56320?2:1))),-E)}else z?eo=qs(a.cm,ve,y,E):eo=ms(ve,y,E);if(eo==null)if(!uo&&ze())y=Ts(z,a.cm,ve,y.line,we);else return!1;else y=eo;return!0}if(x=="char"||x=="codepoint")tn();else if(x=="column")tn(!0);else if(x=="word"||x=="group")for(var un=null,Un=x=="group",zn=a.cm&&a.cm.getHelper(y,"wordChars"),hr=!0;!(E<0&&!tn(!hr));hr=!1){var Cr=ve.text.charAt(y.ch)||` +`,Hr=de(Cr,zn)?"w":Un&&Cr==` +`?"n":!Un||/\s/.test(Cr)?null:"p";if(Un&&!hr&&!Hr&&(Hr="s"),un&&un!=Hr){E<0&&(E=1,tn(),y.sticky="after");break}if(Hr&&(un=Hr),E>0&&!tn(!hr))break}var qr=ta(a,y,oe,fe,!0);return Ht(oe,qr)&&(qr.hitSide=!0),qr}function _c(a,y,E,x){var z=a.doc,oe=y.left,fe;if(x=="page"){var ve=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),we=Math.max(ve-.5*ca(a.display),3);fe=(E>0?y.bottom:y.top)+E*we}else x=="line"&&(fe=E>0?y.bottom+3:y.top-3);for(var ze;ze=ci(a,oe,fe),!!ze.outside;){if(E<0?fe<=0:fe>=z.height){ze.hitSide=!0;break}fe+=E*5}return ze}var Ii=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new he,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ii.prototype.init=function(a){var y=this,E=this,x=E.cm,z=E.div=a.lineDiv;jc(z,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function oe(ve){for(var we=ve.target;we;we=we.parentNode){if(we==z)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(we.className))break}return!1}Ut(z,"paste",function(ve){!oe(ve)||jt(x,ve)||Zc(ve,x)||pe<=11&&setTimeout(ba(x,function(){return y.updateFromDOM()}),20)}),Ut(z,"compositionstart",function(ve){y.composing={data:ve.data,done:!1}}),Ut(z,"compositionupdate",function(ve){y.composing||(y.composing={data:ve.data,done:!1})}),Ut(z,"compositionend",function(ve){y.composing&&(ve.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),Ut(z,"touchstart",function(){return E.forceCompositionEnd()}),Ut(z,"input",function(){y.composing||y.readFromDOMSoon()});function fe(ve){if(!(!oe(ve)||jt(x,ve))){if(x.somethingSelected())nc({lineWise:!1,text:x.getSelections()}),ve.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var we=Hc(x);nc({lineWise:!0,text:we.text}),ve.type=="cut"&&x.operation(function(){x.setSelections(we.ranges,0,me),x.replaceSelection("",null,"cut")})}else return;if(ve.clipboardData){ve.clipboardData.clearData();var ze=hl.text.join(` +`);if(ve.clipboardData.setData("Text",ze),ve.clipboardData.getData("Text")==ze){ve.preventDefault();return}}var tn=Wc(),un=tn.firstChild;x.display.lineSpace.insertBefore(tn,x.display.lineSpace.firstChild),un.value=hl.text.join(` +`);var Un=document.activeElement;_e(un),setTimeout(function(){x.display.lineSpace.removeChild(tn),Un.focus(),Un==z&&E.showPrimarySelection()},50)}}Ut(z,"copy",fe),Ut(z,"cut",fe)},Ii.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Ii.prototype.prepareSelection=function(){var a=lc(this.cm,!1);return a.focus=document.activeElement==this.div,a},Ii.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Ii.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Ii.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,E=y.doc.sel.primary(),x=E.from(),z=E.to();if(y.display.viewTo==y.display.viewFrom||x.line>=y.display.viewTo||z.line=y.display.viewFrom&&Kc(y,x)||{node:ve[0].measure.map[2],offset:0},ze=z.linea.firstLine()&&(x=Ke(x.line-1,Yt(a.doc,x.line-1).length)),z.ch==Yt(a.doc,z.line).text.length&&z.liney.viewTo-1)return!1;var oe,fe,ve;x.line==y.viewFrom||(oe=ol(a,x.line))==0?(fe=vt(y.view[0].line),ve=y.view[0].node):(fe=vt(y.view[oe].line),ve=y.view[oe-1].node.nextSibling);var we=ol(a,z.line),ze,tn;if(we==y.view.length-1?(ze=y.viewTo-1,tn=y.lineDiv.lastChild):(ze=vt(y.view[we+1].line)-1,tn=y.view[we+1].node.previousSibling),!ve)return!1;for(var un=a.doc.splitLines(ru(a,ve,tn,fe,ze)),Un=xn(a.doc,Ke(fe,0),Ke(ze,Yt(a.doc,ze).text.length));un.length>1&&Un.length>1;)if(Fe(un)==Fe(Un))un.pop(),Un.pop(),ze--;else if(un[0]==Un[0])un.shift(),Un.shift(),fe++;else break;for(var zn=0,hr=0,Cr=un[0],Hr=Un[0],qr=Math.min(Cr.length,Hr.length);znx.ch&&uo.charCodeAt(uo.length-hr-1)==eo.charCodeAt(eo.length-hr-1);)zn--,hr++;un[un.length-1]=uo.slice(0,uo.length-hr).replace(/^\u200b+/,""),un[0]=un[0].slice(zn).replace(/\u200b+$/,"");var Bo=Ke(fe,zn),To=Ke(ze,Un.length?Fe(Un).length-hr:0);if(un.length>1||un[0]||wt(Bo,To))return qo(a.doc,un,Bo,To,"+input"),!0},Ii.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ii.prototype.reset=function(){this.forceCompositionEnd()},Ii.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ii.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Ii.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&La(this.cm,function(){return Na(a.cm)})},Ii.prototype.setUneditable=function(a){a.contentEditable="false"},Ii.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||ba(this.cm,Oc)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Ii.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Ii.prototype.onContextMenu=function(){},Ii.prototype.resetPosition=function(){},Ii.prototype.needsContentAttribute=!0;function Kc(a,y){var E=Sa(a,y.line);if(!E||E.hidden)return null;var x=Yt(a.doc,y.line),z=ja(E,x,y.line),oe=Ne(x,a.doc.direction),fe="left";if(oe){var ve=ut(oe,y.ch);fe=ve%2?"right":"left"}var we=pl(z.map,y.ch,fe);return we.offset=we.collapse=="right"?we.end:we.start,we}function nu(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function ys(a,y){return y&&(a.bad=!0),a}function ru(a,y,E,x,z){var oe="",fe=!1,ve=a.doc.lineSeparator(),we=!1;function ze(zn){return function(hr){return hr.id==zn}}function tn(){fe&&(oe+=ve,we&&(oe+=ve),fe=we=!1)}function un(zn){zn&&(tn(),oe+=zn)}function Un(zn){if(zn.nodeType==1){var hr=zn.getAttribute("cm-text");if(hr){un(hr);return}var Cr=zn.getAttribute("cm-marker"),Hr;if(Cr){var qr=a.findMarks(Ke(x,0),Ke(z+1,0),ze(+Cr));qr.length&&(Hr=qr[0].find(0))&&un(xn(a.doc,Hr.from,Hr.to).join(ve));return}if(zn.getAttribute("contenteditable")=="false")return;var uo=/^(pre|div|p|li|table|br)$/i.test(zn.nodeName);if(!/^br$/i.test(zn.nodeName)&&zn.textContent.length==0)return;uo&&tn();for(var eo=0;eo=9&&y.hasSelection&&(y.hasSelection=null),E.poll()}),Ut(z,"paste",function(fe){jt(x,fe)||Zc(fe,x)||(x.state.pasteIncoming=+new Date,E.fastPoll())});function oe(fe){if(!jt(x,fe)){if(x.somethingSelected())nc({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var ve=Hc(x);nc({lineWise:!0,text:ve.text}),fe.type=="cut"?x.setSelections(ve.ranges,null,me):(E.prevInput="",z.value=ve.text.join(` +`),_e(z))}else return;fe.type=="cut"&&(x.state.cutIncoming=+new Date)}}Ut(z,"cut",oe),Ut(z,"copy",oe),Ut(a.scroller,"paste",function(fe){if(!($o(a,fe)||jt(x,fe))){if(!z.dispatchEvent){x.state.pasteIncoming=+new Date,E.focus();return}var ve=new Event("paste");ve.clipboardData=fe.clipboardData,z.dispatchEvent(ve)}}),Ut(a.lineSpace,"selectstart",function(fe){$o(a,fe)||Tt(fe)}),Ut(z,"compositionstart",function(){var fe=x.getCursor("from");E.composing&&E.composing.range.clear(),E.composing={start:fe,range:x.markText(fe,x.getCursor("to"),{className:"CodeMirror-composing"})}}),Ut(z,"compositionend",function(){E.composing&&(E.poll(),E.composing.range.clear(),E.composing=null)})},ha.prototype.createField=function(a){this.wrapper=Wc(),this.textarea=this.wrapper.firstChild},ha.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},ha.prototype.prepareSelection=function(){var a=this.cm,y=a.display,E=a.doc,x=lc(a);if(a.options.moveInputWithCursor){var z=pi(a,E.sel.primary().head,"div"),oe=y.wrapper.getBoundingClientRect(),fe=y.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,z.top+fe.top-oe.top)),x.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,z.left+fe.left-oe.left))}return x},ha.prototype.showSelection=function(a){var y=this.cm,E=y.display;Ot(E.cursorDiv,a.cursors),Ot(E.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},ha.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var E=y.getSelection();this.textarea.value=E,y.state.focused&&_e(this.textarea),Pe&&pe>=9&&(this.hasSelection=E)}else a||(this.prevInput=this.textarea.value="",Pe&&pe>=9&&(this.hasSelection=null))}},ha.prototype.getField=function(){return this.textarea},ha.prototype.supportsTouch=function(){return!1},ha.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Ue||xe()!=this.textarea))try{this.textarea.focus()}catch(a){}},ha.prototype.blur=function(){this.textarea.blur()},ha.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ha.prototype.receivedFocus=function(){this.slowPoll()},ha.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},ha.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function E(){var x=y.poll();!x&&!a?(a=!0,y.polling.set(60,E)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,E)},ha.prototype.poll=function(){var a=this,y=this.cm,E=this.textarea,x=this.prevInput;if(this.contextMenuPending||!y.state.focused||er(E)&&!x&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var z=E.value;if(z==x&&!y.somethingSelected())return!1;if(Pe&&pe>=9&&this.hasSelection===z||Re&&/[\uf700-\uf7ff]/.test(z))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var oe=z.charCodeAt(0);if(oe==8203&&!x&&(x="\u200B"),oe==8666)return this.reset(),this.cm.execCommand("undo")}for(var fe=0,ve=Math.min(x.length,z.length);fe1e3||z.indexOf(` +`)>-1?E.value=a.prevInput="":a.prevInput=z,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ha.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ha.prototype.onKeyPress=function(){Pe&&pe>=9&&(this.hasSelection=null),this.fastPoll()},ha.prototype.onContextMenu=function(a){var y=this,E=y.cm,x=E.display,z=y.textarea;y.contextMenuPending&&y.contextMenuPending();var oe=dl(E,a),fe=x.scroller.scrollTop;if(!oe||ue)return;var ve=E.options.resetSelectionOnContextMenu;ve&&E.doc.sel.contains(oe)==-1&&ba(E,ro)(E.doc,fr(oe),me);var we=z.style.cssText,ze=y.wrapper.style.cssText,tn=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",z.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(a.clientY-tn.top-5)+"px; left: "+(a.clientX-tn.left-5)+`px; + z-index: 1000; background: `+(Pe?"rgba(255, 255, 255, .05)":"transparent")+`; + outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var un;be&&(un=window.scrollY),x.input.focus(),be&&window.scrollTo(null,un),x.input.reset(),E.somethingSelected()||(z.value=y.prevInput=" "),y.contextMenuPending=zn,x.selForContextMenu=E.doc.sel,clearTimeout(x.detectingSelectAll);function Un(){if(z.selectionStart!=null){var Cr=E.somethingSelected(),Hr="\u200B"+(Cr?z.value:"");z.value="\u21DA",z.value=Hr,y.prevInput=Cr?"":"\u200B",z.selectionStart=1,z.selectionEnd=Hr.length,x.selForContextMenu=E.doc.sel}}function zn(){if(y.contextMenuPending==zn&&(y.contextMenuPending=!1,y.wrapper.style.cssText=ze,z.style.cssText=we,Pe&&pe<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=fe),z.selectionStart!=null)){(!Pe||Pe&&pe<9)&&Un();var Cr=0,Hr=function(){x.selForContextMenu==E.doc.sel&&z.selectionStart==0&&z.selectionEnd>0&&y.prevInput=="\u200B"?ba(E,Do)(E):Cr++<10?x.detectingSelectAll=setTimeout(Hr,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(Hr,200)}}if(Pe&&pe>=9&&Un(),Ae){je(a);var hr=function(){mn(window,"mouseup",hr),setTimeout(zn,20)};Ut(window,"mouseup",hr)}else setTimeout(zn,50)},ha.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},ha.prototype.setUneditable=function(){},ha.prototype.needsContentAttribute=!1;function iu(a,y){if(y=y?Ft(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var E=xe();y.autofocus=E==a||a.getAttribute("autofocus")!=null&&E==document.body}function x(){a.value=ve.getValue()}var z;if(a.form&&(Ut(a.form,"submit",x),!y.leaveSubmitMethodAlone)){var oe=a.form;z=oe.submit;try{var fe=oe.submit=function(){x(),oe.submit=z,oe.submit(),oe.submit=fe}}catch(we){}}y.finishInit=function(we){we.save=x,we.getTextArea=function(){return a},we.toTextArea=function(){we.toTextArea=isNaN,x(),a.parentNode.removeChild(we.getWrapperElement()),a.style.display="",a.form&&(mn(a.form,"submit",x),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=z))}},a.style.display="none";var ve=Vi(function(we){return a.parentNode.insertBefore(we,a.nextSibling)},y);return ve}function au(a){a.off=mn,a.on=Ut,a.wheelEventPixels=Qn,a.Doc=Ci,a.splitLines=Zn,a.countColumn=Ce,a.findColumn=Xt,a.isWordChar=ie,a.Pass=Lt,a.signal=vn,a.Line=kr,a.changeEnd=Nr,a.scrollbarModel=fc,a.Pos=Ke,a.cmpPos=wt,a.modes=St,a.mimeModes=Et,a.resolveMode=Tn,a.getMode=Jt,a.modeExtensions=wn,a.extendMode=gn,a.copyState=Nn,a.startState=rr,a.innerMode=An,a.commands=Cl,a.keyMap=fa,a.keyName=Pl,a.isModifierKey=Ns,a.lookupKey=jl,a.normalizeKeyMap=wa,a.StringStream=Qt,a.SharedTextMarker=xi,a.TextMarker=$a,a.LineWidget=li,a.e_preventDefault=Tt,a.e_stopPropagation=an,a.e_stop=je,a.addClass=se,a.contains=ke,a.rmClass=nt,a.keyNames=Xo}Jc(Vi),tu(Vi);var lu="iter insert remove copy getEditor constructor".split(" ");for(var oc in Ci.prototype)Ci.prototype.hasOwnProperty(oc)&&yt(lu,oc)<0&&(Vi.prototype[oc]=function(a){return function(){return a.apply(this.doc,arguments)}}(Ci.prototype[oc]));return Je(Ci),Vi.inputStyles={textarea:ha,contenteditable:Ii},Vi.defineMode=function(a){!Vi.defaults.mode&&a!="null"&&(Vi.defaults.mode=a),sn.apply(this,arguments)},Vi.defineMIME=Pn,Vi.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Vi.defineMIME("text/plain","null"),Vi.defineExtension=function(a,y){Vi.prototype[a]=y},Vi.defineDocExtension=function(a,y){Ci.prototype[a]=y},Vi.fromTextArea=iu,au(Vi),Vi.version="5.58.2",Vi})},25419:function(Bn,rn,ee){(function(b){b(ee(89780),ee(15525),ee(98101))})(function(b){"use strict";b.defineMode("markdown",function(Me,ce){var et=b.getMode(Me,"text/html"),Pe=et.name=="null";function pe(Ce){if(b.findModeByName){var he=b.findModeByName(Ce);he&&(Ce=he.mime||he.mimes[0])}var yt=b.getMode(Me,Ce);return yt.name=="null"?null:yt}ce.highlightFormatting===void 0&&(ce.highlightFormatting=!1),ce.maxBlockquoteDepth===void 0&&(ce.maxBlockquoteDepth=0),ce.taskLists===void 0&&(ce.taskLists=!1),ce.strikethrough===void 0&&(ce.strikethrough=!1),ce.emoji===void 0&&(ce.emoji=!1),ce.fencedCodeBlockHighlighting===void 0&&(ce.fencedCodeBlockHighlighting=!0),ce.fencedCodeBlockDefaultMode===void 0&&(ce.fencedCodeBlockDefaultMode="text/plain"),ce.xml===void 0&&(ce.xml=!0),ce.tokenTypeOverrides===void 0&&(ce.tokenTypeOverrides={});var be={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ve in be)be.hasOwnProperty(Ve)&&ce.tokenTypeOverrides[Ve]&&(be[Ve]=ce.tokenTypeOverrides[Ve]);var Ie=/^([*\-_])(?:\s*\1){2,}\s*$/,ue=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,$e=/^\[(x| )\](?=\s)/i,Ee=ce.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,Rt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,ot=/^[^#!\[\]*_\\<>` "'(~:]+/,st=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Ue=/^\s*\[[^\]]+?\]:.*$/,Re=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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\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\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\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]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,ft=" ";function kt(Ce,he,yt){return he.f=he.inline=yt,yt(Ce,he)}function en(Ce,he,yt){return he.f=he.block=yt,yt(Ce,he)}function Qe(Ce){return!Ce||!/\S/.test(Ce.string)}function Ae(Ce){if(Ce.linkTitle=!1,Ce.linkHref=!1,Ce.linkText=!1,Ce.em=!1,Ce.strong=!1,Ce.strikethrough=!1,Ce.quote=0,Ce.indentedCode=!1,Ce.f==nt){var he=Pe;if(!he){var yt=b.innerMode(et,Ce.htmlState);he=yt.mode.name=="xml"&&yt.state.tagStart===null&&!yt.state.context&&yt.state.tokenize.isInText}he&&(Ce.f=Ct,Ce.block=tt,Ce.htmlState=null)}return Ce.trailingSpace=0,Ce.trailingSpaceNewLine=!1,Ce.prevLine=Ce.thisLine,Ce.thisLine={stream:null},null}function tt(Ce,he){var yt=Ce.column()===he.indentation,Vt=Qe(he.prevLine.stream),Lt=he.indentedCode,me=he.prevLine.hr,qe=he.list!==!1,it=(he.listStack[he.listStack.length-1]||0)+3;he.indentedCode=!1;var Xt=he.indentation;if(he.indentationDiff===null&&(he.indentationDiff=he.indentation,qe)){for(he.list=null;Xt=4&&(Lt||he.prevLine.fencedCodeEnd||he.prevLine.header||Vt))return Ce.skipToEnd(),he.indentedCode=!0,be.code;if(Ce.eatSpace())return null;if(yt&&he.indentation<=it&&(Fe=Ce.match(Ee))&&Fe[1].length<=6)return he.quote=0,he.header=Fe[1].length,he.thisLine.header=!0,ce.highlightFormatting&&(he.formatting="header"),he.f=he.inline,Ot(he);if(he.indentation<=it&&Ce.eat(">"))return he.quote=yt?1:he.quote+1,ce.highlightFormatting&&(he.formatting="quote"),Ce.eatSpace(),Ot(he);if(!Gt&&!he.setext&&yt&&he.indentation<=it&&(Fe=Ce.match(ue))){var dn=Fe[1]?"ol":"ul";return he.indentation=Xt+Ce.current().length,he.list=!0,he.quote=0,he.listStack.push(he.indentation),he.em=!1,he.strong=!1,he.code=!1,he.strikethrough=!1,ce.taskLists&&Ce.match($e,!1)&&(he.taskList=!0),he.f=he.inline,ce.highlightFormatting&&(he.formatting=["list","list-"+dn]),Ot(he)}else{if(yt&&he.indentation<=it&&(Fe=Ce.match(st,!0)))return he.quote=0,he.fencedEndRE=new RegExp(Fe[1]+"+ *$"),he.localMode=ce.fencedCodeBlockHighlighting&&pe(Fe[2]||ce.fencedCodeBlockDefaultMode),he.localMode&&(he.localState=b.startState(he.localMode)),he.f=he.block=zt,ce.highlightFormatting&&(he.formatting="code-block"),he.code=-1,Ot(he);if(he.setext||(!Xe||!qe)&&!he.quote&&he.list===!1&&!he.code&&!Gt&&!Ue.test(Ce.string)&&(Fe=Ce.lookAhead(1))&&(Fe=Fe.match(Rt)))return he.setext?(he.header=he.setext,he.setext=0,Ce.skipToEnd(),ce.highlightFormatting&&(he.formatting="header")):(he.header=Fe[0].charAt(0)=="="?1:2,he.setext=he.header),he.thisLine.header=!0,he.f=he.inline,Ot(he);if(Gt)return Ce.skipToEnd(),he.hr=!0,he.thisLine.hr=!0,be.hr;if(Ce.peek()==="[")return kt(Ce,he,It)}return kt(Ce,he,he.inline)}function nt(Ce,he){var yt=et.token(Ce,he.htmlState);if(!Pe){var Vt=b.innerMode(et,he.htmlState);(Vt.mode.name=="xml"&&Vt.state.tagStart===null&&!Vt.state.context&&Vt.state.tokenize.isInText||he.md_inside&&Ce.current().indexOf(">")>-1)&&(he.f=Ct,he.block=tt,he.htmlState=null)}return yt}function zt(Ce,he){var yt=he.listStack[he.listStack.length-1]||0,Vt=he.indentation=Ce.quote?he.push(be.formatting+"-"+Ce.formatting[yt]+"-"+Ce.quote):he.push("error"))}if(Ce.taskOpen)return he.push("meta"),he.length?he.join(" "):null;if(Ce.taskClosed)return he.push("property"),he.length?he.join(" "):null;if(Ce.linkHref?he.push(be.linkHref,"url"):(Ce.strong&&he.push(be.strong),Ce.em&&he.push(be.em),Ce.strikethrough&&he.push(be.strikethrough),Ce.emoji&&he.push(be.emoji),Ce.linkText&&he.push(be.linkText),Ce.code&&he.push(be.code),Ce.image&&he.push(be.image),Ce.imageAltText&&he.push(be.imageAltText,"link"),Ce.imageMarker&&he.push(be.imageMarker)),Ce.header&&he.push(be.header,be.header+"-"+Ce.header),Ce.quote&&(he.push(be.quote),!ce.maxBlockquoteDepth||ce.maxBlockquoteDepth>=Ce.quote?he.push(be.quote+"-"+Ce.quote):he.push(be.quote+"-"+ce.maxBlockquoteDepth)),Ce.list!==!1){var Vt=(Ce.listStack.length-1)%3;Vt?Vt===1?he.push(be.list2):he.push(be.list3):he.push(be.list1)}return Ce.trailingSpaceNewLine?he.push("trailing-space-new-line"):Ce.trailingSpace&&he.push("trailing-space-"+(Ce.trailingSpace%2?"a":"b")),he.length?he.join(" "):null}function ht(Ce,he){if(Ce.match(ot,!0))return Ot(he)}function Ct(Ce,he){var yt=he.text(Ce,he);if(typeof yt!="undefined")return yt;if(he.list)return he.list=null,Ot(he);if(he.taskList){var Vt=Ce.match($e,!0)[1]===" ";return Vt?he.taskOpen=!0:he.taskClosed=!0,ce.highlightFormatting&&(he.formatting="task"),he.taskList=!1,Ot(he)}if(he.taskOpen=!1,he.taskClosed=!1,he.header&&Ce.match(/^#+$/,!0))return ce.highlightFormatting&&(he.formatting="header"),Ot(he);var Lt=Ce.next();if(he.linkTitle){he.linkTitle=!1;var me=Lt;Lt==="("&&(me=")"),me=(me+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var qe="^\\s*(?:[^"+me+"\\\\]+|\\\\\\\\|\\\\.)"+me;if(Ce.match(new RegExp(qe),!0))return be.linkHref}if(Lt==="`"){var it=he.formatting;ce.highlightFormatting&&(he.formatting="code"),Ce.eatWhile("`");var Xt=Ce.current().length;if(he.code==0&&(!he.quote||Xt==1))return he.code=Xt,Ot(he);if(Xt==he.code){var Xe=Ot(he);return he.code=0,Xe}else return he.formatting=it,Ot(he)}else if(he.code)return Ot(he);if(Lt==="\\"&&(Ce.next(),ce.highlightFormatting)){var Gt=Ot(he),Fe=be.formatting+"-escape";return Gt?Gt+" "+Fe:Fe}if(Lt==="!"&&Ce.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return he.imageMarker=!0,he.image=!0,ce.highlightFormatting&&(he.formatting="image"),Ot(he);if(Lt==="["&&he.imageMarker&&Ce.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return he.imageMarker=!1,he.imageAltText=!0,ce.highlightFormatting&&(he.formatting="image"),Ot(he);if(Lt==="]"&&he.imageAltText){ce.highlightFormatting&&(he.formatting="image");var Gt=Ot(he);return he.imageAltText=!1,he.image=!1,he.inline=he.f=ke,Gt}if(Lt==="["&&!he.image)return he.linkText&&Ce.match(/^.*?\]/)||(he.linkText=!0,ce.highlightFormatting&&(he.formatting="link")),Ot(he);if(Lt==="]"&&he.linkText){ce.highlightFormatting&&(he.formatting="link");var Gt=Ot(he);return he.linkText=!1,he.inline=he.f=Ce.match(/\(.*?\)| ?\[.*?\]/,!1)?ke:Ct,Gt}if(Lt==="<"&&Ce.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){he.f=he.inline=De,ce.highlightFormatting&&(he.formatting="link");var Gt=Ot(he);return Gt?Gt+=" ":Gt="",Gt+be.linkInline}if(Lt==="<"&&Ce.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){he.f=he.inline=De,ce.highlightFormatting&&(he.formatting="link");var Gt=Ot(he);return Gt?Gt+=" ":Gt="",Gt+be.linkEmail}if(ce.xml&&Lt==="<"&&Ce.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var dn=Ce.string.indexOf(">",Ce.pos);if(dn!=-1){var $t=Ce.string.substring(Ce.start,dn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test($t)&&(he.md_inside=!0)}return Ce.backUp(1),he.htmlState=b.startState(et),en(Ce,he,nt)}if(ce.xml&&Lt==="<"&&Ce.match(/^\/\w*?>/))return he.md_inside=!1,"tag";if(Lt==="*"||Lt==="_"){for(var ae=1,ne=Ce.pos==1?" ":Ce.string.charAt(Ce.pos-2);ae<3&&Ce.eat(Lt);)ae++;var te=Ce.peek()||" ",ie=!/\s/.test(te)&&(!Re.test(te)||/\s/.test(ne)||Re.test(ne)),de=!/\s/.test(ne)&&(!Re.test(ne)||/\s/.test(te)||Re.test(te)),re=null,le=null;if(ae%2&&(!he.em&&ie&&(Lt==="*"||!de||Re.test(ne))?re=!0:he.em==Lt&&de&&(Lt==="*"||!ie||Re.test(te))&&(re=!1)),ae>1&&(!he.strong&&ie&&(Lt==="*"||!de||Re.test(ne))?le=!0:he.strong==Lt&&de&&(Lt==="*"||!ie||Re.test(te))&&(le=!1)),le!=null||re!=null){ce.highlightFormatting&&(he.formatting=re==null?"strong":le==null?"em":"strong em"),re===!0&&(he.em=Lt),le===!0&&(he.strong=Lt);var Xe=Ot(he);return re===!1&&(he.em=!1),le===!1&&(he.strong=!1),Xe}}else if(Lt===" "&&(Ce.eat("*")||Ce.eat("_"))){if(Ce.peek()===" ")return Ot(he);Ce.backUp(1)}if(ce.strikethrough){if(Lt==="~"&&Ce.eatWhile(Lt)){if(he.strikethrough){ce.highlightFormatting&&(he.formatting="strikethrough");var Xe=Ot(he);return he.strikethrough=!1,Xe}else if(Ce.match(/^[^\s]/,!1))return he.strikethrough=!0,ce.highlightFormatting&&(he.formatting="strikethrough"),Ot(he)}else if(Lt===" "&&Ce.match(/^~~/,!0)){if(Ce.peek()===" ")return Ot(he);Ce.backUp(2)}}if(ce.emoji&&Lt===":"&&Ce.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){he.emoji=!0,ce.highlightFormatting&&(he.formatting="emoji");var Se=Ot(he);return he.emoji=!1,Se}return Lt===" "&&(Ce.match(/^ +$/,!1)?he.trailingSpace++:he.trailingSpace&&(he.trailingSpaceNewLine=!0)),Ot(he)}function De(Ce,he){var yt=Ce.next();if(yt===">"){he.f=he.inline=Ct,ce.highlightFormatting&&(he.formatting="link");var Vt=Ot(he);return Vt?Vt+=" ":Vt="",Vt+be.linkInline}return Ce.match(/^[^>]+/,!0),be.linkInline}function ke(Ce,he){if(Ce.eatSpace())return null;var yt=Ce.next();return yt==="("||yt==="["?(he.f=he.inline=se(yt==="("?")":"]"),ce.highlightFormatting&&(he.formatting="link-string"),he.linkHref=!0,Ot(he)):"error"}var xe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function se(Ce){return function(he,yt){var Vt=he.next();if(Vt===Ce){yt.f=yt.inline=Ct,ce.highlightFormatting&&(yt.formatting="link-string");var Lt=Ot(yt);return yt.linkHref=!1,Lt}return he.match(xe[Ce]),yt.linkHref=!0,Ot(yt)}}function It(Ce,he){return Ce.match(/^([^\]\\]|\\.)*\]:/,!1)?(he.f=_e,Ce.next(),ce.highlightFormatting&&(he.formatting="link"),he.linkText=!0,Ot(he)):kt(Ce,he,Ct)}function _e(Ce,he){if(Ce.match(/^\]:/,!0)){he.f=he.inline=Ye,ce.highlightFormatting&&(he.formatting="link");var yt=Ot(he);return he.linkText=!1,yt}return Ce.match(/^([^\]\\]|\\.)+/,!0),be.linkText}function Ye(Ce,he){return Ce.eatSpace()?null:(Ce.match(/^[^\s]+/,!0),Ce.peek()===void 0?he.linkTitle=!0:Ce.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),he.f=he.inline=Ct,be.linkHref+" url")}var Ft={startState:function(){return{f:tt,prevLine:{stream:null},thisLine:{stream:null},block:tt,htmlState:null,indentation:0,inline:Ct,text:ht,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Ce){return{f:Ce.f,prevLine:Ce.prevLine,thisLine:Ce.thisLine,block:Ce.block,htmlState:Ce.htmlState&&b.copyState(et,Ce.htmlState),indentation:Ce.indentation,localMode:Ce.localMode,localState:Ce.localMode?b.copyState(Ce.localMode,Ce.localState):null,inline:Ce.inline,text:Ce.text,formatting:!1,linkText:Ce.linkText,linkTitle:Ce.linkTitle,linkHref:Ce.linkHref,code:Ce.code,em:Ce.em,strong:Ce.strong,strikethrough:Ce.strikethrough,emoji:Ce.emoji,header:Ce.header,setext:Ce.setext,hr:Ce.hr,taskList:Ce.taskList,list:Ce.list,listStack:Ce.listStack.slice(0),quote:Ce.quote,indentedCode:Ce.indentedCode,trailingSpace:Ce.trailingSpace,trailingSpaceNewLine:Ce.trailingSpaceNewLine,md_inside:Ce.md_inside,fencedEndRE:Ce.fencedEndRE}},token:function(Ce,he){if(he.formatting=!1,Ce!=he.thisLine.stream){if(he.header=0,he.hr=!1,Ce.match(/^\s*$/,!0))return Ae(he),null;if(he.prevLine=he.thisLine,he.thisLine={stream:Ce},he.taskList=!1,he.trailingSpace=0,he.trailingSpaceNewLine=!1,!he.localState&&(he.f=he.block,he.f!=nt)){var yt=Ce.match(/^\s*/,!0)[0].replace(/\t/g,ft).length;if(he.indentation=yt,he.indentationDiff=null,yt>0)return null}}return he.f(Ce,he)},innerMode:function(Ce){return Ce.block==nt?{state:Ce.htmlState,mode:et}:Ce.localState?{state:Ce.localState,mode:Ce.localMode}:{state:Ce,mode:Ft}},indent:function(Ce,he,yt){return Ce.block==nt&&et.indent?et.indent(Ce.htmlState,he,yt):Ce.localState&&Ce.localMode.indent?Ce.localMode.indent(Ce.localState,he,yt):b.Pass},blankLine:Ae,getType:Ot,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Ft},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Bn,rn,ee){(function(b){b(ee(89780))})(function(b){"use strict";b.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var Me=0;Me-1&&et.substring(be+1,et.length);if(Ve)return b.findModeByExtension(Ve)},b.findModeByName=function(et){et=et.toLowerCase();for(var Pe=0;Pe0?ot.cmdState[ot.cmdState.length-1]:null}function pe(ot){var st=ot.cmdState.pop();st&&st.closeBracket()}function be(ot){for(var st=ot.cmdState,Ue=st.length-1;Ue>=0;Ue--){var Re=st[Ue];if(Re.name!="DEFAULT")return Re}return{styleIdentifier:function(){return null}}}function Ve(ot,st,Ue){return function(){this.name=ot,this.bracketNo=0,this.style=st,this.styles=Ue,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Ie={};Ie.importmodule=Ve("importmodule","tag",["string","builtin"]),Ie.documentclass=Ve("documentclass","tag",["","atom"]),Ie.usepackage=Ve("usepackage","tag",["atom"]),Ie.begin=Ve("begin","tag",["atom"]),Ie.end=Ve("end","tag",["atom"]),Ie.label=Ve("label","tag",["atom"]),Ie.ref=Ve("ref","tag",["atom"]),Ie.eqref=Ve("eqref","tag",["atom"]),Ie.cite=Ve("cite","tag",["atom"]),Ie.bibitem=Ve("bibitem","tag",["atom"]),Ie.Bibitem=Ve("Bibitem","tag",["atom"]),Ie.RBibitem=Ve("RBibitem","tag",["atom"]),Ie.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function ue(ot,st){ot.f=st}function $e(ot,st){var Ue;if(ot.match(/^\\[a-zA-Z@]+/)){var Re=ot.current().slice(1);return Ue=Ie.hasOwnProperty(Re)?Ie[Re]:Ie.DEFAULT,Ue=new Ue,et(st,Ue),ue(st,Rt),Ue.style}if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/\\]/))return"tag";if(ot.match("\\["))return ue(st,function(kt,en){return Ee(kt,en,"\\]")}),"keyword";if(ot.match("\\("))return ue(st,function(kt,en){return Ee(kt,en,"\\)")}),"keyword";if(ot.match("$$"))return ue(st,function(kt,en){return Ee(kt,en,"$$")}),"keyword";if(ot.match("$"))return ue(st,function(kt,en){return Ee(kt,en,"$")}),"keyword";var ft=ot.next();if(ft=="%")return ot.skipToEnd(),"comment";if(ft=="}"||ft=="]"){if(Ue=Pe(st),Ue)Ue.closeBracket(ft),ue(st,Rt);else return"error";return"bracket"}else return ft=="{"||ft=="["?(Ue=Ie.DEFAULT,Ue=new Ue,et(st,Ue),"bracket"):/\d/.test(ft)?(ot.eatWhile(/[\w.%]/),"atom"):(ot.eatWhile(/[\w\-_]/),Ue=be(st),Ue.name=="begin"&&(Ue.argument=ot.current()),Ue.styleIdentifier())}function Ee(ot,st,Ue){if(ot.eatSpace())return null;if(Ue&&ot.match(Ue))return ue(st,$e),"keyword";if(ot.match(/^\\[a-zA-Z@]+/))return"tag";if(ot.match(/^[a-zA-Z]+/))return"variable-2";if(ot.match(/^\\[$&%#{}_]/)||ot.match(/^\\[,;!\/]/)||ot.match(/^[\^_&]/))return"tag";if(ot.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(ot.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Re=ot.next();return Re=="{"||Re=="}"||Re=="["||Re=="]"||Re=="("||Re==")"?"bracket":Re=="%"?(ot.skipToEnd(),"comment"):"error"}function Rt(ot,st){var Ue=ot.peek(),Re;return Ue=="{"||Ue=="["?(Re=Pe(st),Re.openBracket(Ue),ot.eat(Ue),ue(st,$e),"bracket"):/[ \t\r]/.test(Ue)?(ot.eat(Ue),null):(ue(st,$e),pe(st),$e(ot,st))}return{startState:function(){var ot=ce.inMathMode?function(st,Ue){return Ee(st,Ue)}:$e;return{cmdState:[],f:ot}},copyState:function(ot){return{cmdState:ot.cmdState.slice(),f:ot.f}},token:function(ot,st){return st.f(ot,st)},blankLine:function(ot){ot.f=$e,ot.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Bn,rn,ee){(function(b){b(ee(89780))})(function(b){"use strict";var Me={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ce={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(et,Pe){var pe=et.indentUnit,be={},Ve=Pe.htmlMode?Me:ce;for(var Ie in Ve)be[Ie]=Ve[Ie];for(var Ie in Pe)be[Ie]=Pe[Ie];var ue,$e;function Ee(De,ke){function xe(_e){return ke.tokenize=_e,_e(De,ke)}var se=De.next();if(se=="<")return De.eat("!")?De.eat("[")?De.match("CDATA[")?xe(st("atom","]]>")):null:De.match("--")?xe(st("comment","-->")):De.match("DOCTYPE",!0,!0)?(De.eatWhile(/[\w\._\-]/),xe(Ue(1))):null:De.eat("?")?(De.eatWhile(/[\w\._\-]/),ke.tokenize=st("meta","?>"),"meta"):(ue=De.eat("/")?"closeTag":"openTag",ke.tokenize=Rt,"tag bracket");if(se=="&"){var It;return De.eat("#")?De.eat("x")?It=De.eatWhile(/[a-fA-F\d]/)&&De.eat(";"):It=De.eatWhile(/[\d]/)&&De.eat(";"):It=De.eatWhile(/[\w\.\-:]/)&&De.eat(";"),It?"atom":"error"}else return De.eatWhile(/[^&<]/),null}Ee.isInText=!0;function Rt(De,ke){var xe=De.next();if(xe==">"||xe=="/"&&De.eat(">"))return ke.tokenize=Ee,ue=xe==">"?"endTag":"selfcloseTag","tag bracket";if(xe=="=")return ue="equals",null;if(xe=="<"){ke.tokenize=Ee,ke.state=en,ke.tagName=ke.tagStart=null;var se=ke.tokenize(De,ke);return se?se+" tag error":"tag error"}else return/[\'\"]/.test(xe)?(ke.tokenize=ot(xe),ke.stringStartCol=De.column(),ke.tokenize(De,ke)):(De.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function ot(De){var ke=function(xe,se){for(;!xe.eol();)if(xe.next()==De){se.tokenize=Rt;break}return"string"};return ke.isInAttribute=!0,ke}function st(De,ke){return function(xe,se){for(;!xe.eol();){if(xe.match(ke)){se.tokenize=Ee;break}xe.next()}return De}}function Ue(De){return function(ke,xe){for(var se;(se=ke.next())!=null;){if(se=="<")return xe.tokenize=Ue(De+1),xe.tokenize(ke,xe);if(se==">")if(De==1){xe.tokenize=Ee;break}else return xe.tokenize=Ue(De-1),xe.tokenize(ke,xe)}return"meta"}}function Re(De,ke,xe){this.prev=De.context,this.tagName=ke,this.indent=De.indented,this.startOfLine=xe,(be.doNotIndent.hasOwnProperty(ke)||De.context&&De.context.noIndent)&&(this.noIndent=!0)}function ft(De){De.context&&(De.context=De.context.prev)}function kt(De,ke){for(var xe;;){if(!De.context||(xe=De.context.tagName,!be.contextGrabbers.hasOwnProperty(xe)||!be.contextGrabbers[xe].hasOwnProperty(ke)))return;ft(De)}}function en(De,ke,xe){return De=="openTag"?(xe.tagStart=ke.column(),Qe):De=="closeTag"?Ae:en}function Qe(De,ke,xe){return De=="word"?(xe.tagName=ke.current(),$e="tag",zt):be.allowMissingTagName&&De=="endTag"?($e="tag bracket",zt(De,ke,xe)):($e="error",Qe)}function Ae(De,ke,xe){if(De=="word"){var se=ke.current();return xe.context&&xe.context.tagName!=se&&be.implicitlyClosed.hasOwnProperty(xe.context.tagName)&&ft(xe),xe.context&&xe.context.tagName==se||be.matchClosing===!1?($e="tag",tt):($e="tag error",nt)}else return be.allowMissingTagName&&De=="endTag"?($e="tag bracket",tt(De,ke,xe)):($e="error",nt)}function tt(De,ke,xe){return De!="endTag"?($e="error",tt):(ft(xe),en)}function nt(De,ke,xe){return $e="error",tt(De,ke,xe)}function zt(De,ke,xe){if(De=="word")return $e="attribute",Ot;if(De=="endTag"||De=="selfcloseTag"){var se=xe.tagName,It=xe.tagStart;return xe.tagName=xe.tagStart=null,De=="selfcloseTag"||be.autoSelfClosers.hasOwnProperty(se)?kt(xe,se):(kt(xe,se),xe.context=new Re(xe,se,It==xe.indented)),en}return $e="error",zt}function Ot(De,ke,xe){return De=="equals"?ht:(be.allowMissing||($e="error"),zt(De,ke,xe))}function ht(De,ke,xe){return De=="string"?Ct:De=="word"&&be.allowUnquoted?($e="string",zt):($e="error",zt(De,ke,xe))}function Ct(De,ke,xe){return De=="string"?Ct:zt(De,ke,xe)}return{startState:function(De){var ke={tokenize:Ee,state:en,indented:De||0,tagName:null,tagStart:null,context:null};return De!=null&&(ke.baseIndent=De),ke},token:function(De,ke){if(!ke.tagName&&De.sol()&&(ke.indented=De.indentation()),De.eatSpace())return null;ue=null;var xe=ke.tokenize(De,ke);return(xe||ue)&&xe!="comment"&&($e=null,ke.state=ke.state(ue||xe,De,ke),$e&&(xe=$e=="error"?xe+" error":$e)),xe},indent:function(De,ke,xe){var se=De.context;if(De.tokenize.isInAttribute)return De.tagStart==De.indented?De.stringStartCol+1:De.indented+pe;if(se&&se.noIndent)return b.Pass;if(De.tokenize!=Rt&&De.tokenize!=Ee)return xe?xe.match(/^(\s*)/)[0].length:0;if(De.tagName)return be.multilineTagIndentPastTag!==!1?De.tagStart+De.tagName.length+2:De.tagStart+pe*(be.multilineTagIndentFactor||1);if(be.alignCDATA&&/$/,blockCommentStart:"",configuration:be.htmlMode?"html":"xml",helperType:be.htmlMode?"html":"xml",skipAttribute:function(De){De.state==ht&&(De.state=zt)},xmlCurrentTag:function(De){return De.tagName?{name:De.tagName,close:De.type=="closeTag"}:null},xmlCurrentContext:function(De){for(var ke=[],xe=De.context;xe;xe=xe.prev)xe.tagName&&ke.push(xe.tagName);return ke.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},24334:function(Bn,rn,ee){var b,Me;(function(ce,et){Bn.exports=et(ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(ce){"use strict";ce=ce||{};var et=ce.Base64,Pe="2.6.4",pe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",be=function(xe){for(var se={},It=0,_e=xe.length;It<_e;It++)se[xe.charAt(It)]=It;return se}(pe),Ve=String.fromCharCode,Ie=function(xe){if(xe.length<2){var se=xe.charCodeAt(0);return se<128?xe:se<2048?Ve(192|se>>>6)+Ve(128|se&63):Ve(224|se>>>12&15)+Ve(128|se>>>6&63)+Ve(128|se&63)}else{var se=65536+(xe.charCodeAt(0)-55296)*1024+(xe.charCodeAt(1)-56320);return Ve(240|se>>>18&7)+Ve(128|se>>>12&63)+Ve(128|se>>>6&63)+Ve(128|se&63)}},ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,$e=function(xe){return xe.replace(ue,Ie)},Ee=function(xe){var se=[0,2,1][xe.length%3],It=xe.charCodeAt(0)<<16|(xe.length>1?xe.charCodeAt(1):0)<<8|(xe.length>2?xe.charCodeAt(2):0),_e=[pe.charAt(It>>>18),pe.charAt(It>>>12&63),se>=2?"=":pe.charAt(It>>>6&63),se>=1?"=":pe.charAt(It&63)];return _e.join("")},Rt=ce.btoa&&typeof ce.btoa=="function"?function(xe){return ce.btoa(xe)}:function(xe){if(xe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return xe.replace(/[\s\S]{1,3}/g,Ee)},ot=function(xe){return Rt($e(String(xe)))},st=function(xe){return xe.replace(/[+\/]/g,function(se){return se=="+"?"-":"_"}).replace(/=/g,"")},Ue=function(xe,se){return se?st(ot(xe)):ot(xe)},Re=function(xe){return Ue(xe,!0)},ft;ce.Uint8Array&&(ft=function(xe,se){for(var It="",_e=0,Ye=xe.length;_e>>18)+pe.charAt(yt>>>12&63)+(typeof Ce!="undefined"?pe.charAt(yt>>>6&63):"=")+(typeof he!="undefined"?pe.charAt(yt&63):"=")}return se?st(It):It});var kt=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,en=function(xe){switch(xe.length){case 4:var se=(7&xe.charCodeAt(0))<<18|(63&xe.charCodeAt(1))<<12|(63&xe.charCodeAt(2))<<6|63&xe.charCodeAt(3),It=se-65536;return Ve((It>>>10)+55296)+Ve((It&1023)+56320);case 3:return Ve((15&xe.charCodeAt(0))<<12|(63&xe.charCodeAt(1))<<6|63&xe.charCodeAt(2));default:return Ve((31&xe.charCodeAt(0))<<6|63&xe.charCodeAt(1))}},Qe=function(xe){return xe.replace(kt,en)},Ae=function(xe){var se=xe.length,It=se%4,_e=(se>0?be[xe.charAt(0)]<<18:0)|(se>1?be[xe.charAt(1)]<<12:0)|(se>2?be[xe.charAt(2)]<<6:0)|(se>3?be[xe.charAt(3)]:0),Ye=[Ve(_e>>>16),Ve(_e>>>8&255),Ve(_e&255)];return Ye.length-=[0,0,2,1][It],Ye.join("")},tt=ce.atob&&typeof ce.atob=="function"?function(xe){return ce.atob(xe)}:function(xe){return xe.replace(/\S{1,4}/g,Ae)},nt=function(xe){return tt(String(xe).replace(/[^A-Za-z0-9\+\/]/g,""))},zt=function(xe){return Qe(tt(xe))},Ot=function(xe){return String(xe).replace(/[-_]/g,function(se){return se=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ht=function(xe){return zt(Ot(xe))},Ct;ce.Uint8Array&&(Ct=function(xe){return Uint8Array.from(nt(Ot(xe)),function(se){return se.charCodeAt(0)})});var De=function(){var xe=ce.Base64;return ce.Base64=et,xe};if(ce.Base64={VERSION:Pe,atob:nt,btoa:Rt,fromBase64:ht,toBase64:Ue,utob:$e,encode:Ue,encodeURI:Re,btou:Qe,decode:ht,noConflict:De,fromUint8Array:ft,toUint8Array:Ct},typeof Object.defineProperty=="function"){var ke=function(xe){return{value:xe,enumerable:!1,writable:!0,configurable:!0}};ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",ke(function(){return ht(this)})),Object.defineProperty(String.prototype,"toBase64",ke(function(xe){return Ue(this,xe)})),Object.defineProperty(String.prototype,"toBase64URI",ke(function(){return Ue(this,!0)}))}}return ce.Meteor&&(Base64=ce.Base64),Bn.exports?Bn.exports.Base64=ce.Base64:(b=[],Me=function(){return ce.Base64}.apply(rn,b),Me!==void 0&&(Bn.exports=Me)),{Base64:ce.Base64}})},2859:function(Bn,rn,ee){"use strict";ee.d(rn,{hP:function(){return $t}});var b=function(ae,ne){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,ie){te.__proto__=ie}||function(te,ie){for(var de in ie)Object.prototype.hasOwnProperty.call(ie,de)&&(te[de]=ie[de])})(ae,ne)};function Me(ae,ne){function te(){this.constructor=ae}b(ae,ne),ae.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)}function ce(ae,ne,te,ie){return new(te||(te=Promise))(function(de,re){function le(He){try{Ge(ie.next(He))}catch(Le){re(Le)}}function Se(He){try{Ge(ie.throw(He))}catch(Le){re(Le)}}function Ge(He){var Le;He.done?de(He.value):(Le=He.value,Le instanceof te?Le:new te(function(rt){rt(Le)})).then(le,Se)}Ge((ie=ie.apply(ae,ne||[])).next())})}function et(ae,ne){var te,ie,de,re,le={label:0,sent:function(){if(1&de[0])throw de[1];return de[1]},trys:[],ops:[]};return re={next:Se(0),throw:Se(1),return:Se(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function Se(Ge){return function(He){return function(Le){if(te)throw new TypeError("Generator is already executing.");for(;le;)try{if(te=1,ie&&(de=2&Le[0]?ie.return:Le[0]?ie.throw||((de=ie.return)&&de.call(ie),0):ie.next)&&!(de=de.call(ie,Le[1])).done)return de;switch(ie=0,de&&(Le=[2&Le[0],de.value]),Le[0]){case 0:case 1:de=Le;break;case 4:return le.label++,{value:Le[1],done:!1};case 5:le.label++,ie=Le[1],Le=[0];continue;case 7:Le=le.ops.pop(),le.trys.pop();continue;default:if(de=le.trys,!((de=de.length>0&&de[de.length-1])||Le[0]!==6&&Le[0]!==2)){le=0;continue}if(Le[0]===3&&(!de||Le[1]>de[0]&&Le[1]',"select"),this.addActionButton(ie,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(ie,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(ie,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(ie,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(ie,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(ie,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(ie,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(re){var le=document.createElement("div");le.className=""+te.toolbarButtonStyleClass.name,le.setAttribute("data-type-name",re.typeName),le.innerHTML=re.icon,le.addEventListener("click",function(){te.markerToolbarButtonClicked(le,re)}),te.buttons.push(le),te.markerButtons.push(le)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var de=document.createElement("div");de.className=this.toolbarBlockStyleClass.name,de.style.whiteSpace="nowrap",de.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(de),this.addActionButton(de,'',"render"),this.addActionButton(de,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},ae.prototype.addButtonClickListener=function(ne){this.buttonClickListeners.push(ne)},ae.prototype.removeButtonClickListener=function(ne){this.buttonClickListeners.indexOf(ne)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ne),1)},ae.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ae.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ne=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var te=0;te0&&this.buttonClickListeners.forEach(function(ie){return ie("marker",te)}),this.markerButtonOverflowBlock.style.display="none"},ae.prototype.actionToolbarButtonClicked=function(ne,te){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ie){return ie("action",te)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ae.prototype.setActiveButton=function(ne){this.resetButtonStyles(),ne.className=ne.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ne.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ae.prototype.setActiveMarkerButton=function(ne){var te=this.markerButtons.find(function(ie){return ie.getAttribute("data-type-name")===ne});te&&this.setActiveButton(te)},ae.prototype.setCurrentMarker=function(ne){var te=this;this.currentMarker=ne,this.buttons.filter(function(ie){return/delete|notes/.test(ie.getAttribute("data-action"))}).forEach(function(ie){te.currentMarker===void 0?(ie.style.fillOpacity="0.4",ie.style.pointerEvents="none"):(ie.style.fillOpacity="1",ie.style.pointerEvents="all")})},ae}(),ot=function(){function ae(ne,te,ie,de){this.panels=[],this.panelButtons=[],this.markerjsContainer=ne,this.displayMode=te,this.uiStyleSettings=ie,this.styles=de,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ae.prototype.addStyles=function(){var ne;this.toolboxStyleClass=this.styles.addClass(new Ee("toolbox",` + width: 100%; + flex-shrink: 0; + display: flex; + flex-direction: column; + font-family: sans-serif; + `+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+` + box-sizing: content-box; + `+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+` + `+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` + `+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` + overflow: hidden; + `)),this.toolboxStyleColorsClass=this.styles.addClass(new Ee("toolbox_colors",` + color: `+this.uiStyleSettings.toolboxColor+`; + `));var te=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new Ee("toolbox-button-row",` + display: flex; + cursor: default; + box-sizing: content-box; + `)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new Ee("toolbox-button-row_colors",` + background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`; + `)),this.toolboxPanelRowStyleClass=this.styles.addClass(new Ee("toolbox-panel-row",` + display: flex; + `+(this.displayMode==="inline"?"position: absolute;":"")+` + `+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+` + cursor: default; + height: `+1.5*this.uiStyleSettings.toolbarHeight+`px; + `+(this.displayMode==="inline"?"width: 100%;":"")+` + box-sizing: content-box; + `)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new Ee("toolbox-panel-row_colors",` + background-color: `+((ne=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ne!==void 0?ne:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; + `)),this.toolboxButtonStyleClass=this.styles.addClass(new Ee("toolbox_button",` + display: inline-block; + width: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px; + height: `+(this.uiStyleSettings.toolbarHeight-2*te)+`px; + padding: `+te+`px; + box-sizing: content-box; + `)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new Ee("toolbox-button_colors",` + fill: `+this.uiStyleSettings.toolbarColor+`; + `)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Ee("toolbox-active-button_colors",` + background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`; + fill: `+this.uiStyleSettings.toolbarColor+`; + `)),this.styles.addRule(new $e("."+this.toolboxButtonStyleColorsClass.name+":hover",` + background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` + `)),this.styles.addRule(new $e("."+this.toolboxButtonStyleClass.name+" svg",` + height: `+this.uiStyleSettings.toolbarHeight/2+`px; + `))},ae.prototype.show=function(ne){var te;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ne,this.uiContainer.className=this.toolboxStyleClass.name+" "+((te=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ae.prototype.setPanelButtons=function(ne){var te,ie,de=this;this.panels=ne,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((te=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(re){var le;re.uiStyleSettings=de.uiStyleSettings;var Se=document.createElement("div");Se.className=de.toolboxButtonStyleClass.name+" "+((le=de.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&le!==void 0?le:de.toolboxButtonStyleColorsClass.name),Se.innerHTML=re.icon,Se.title=re.title,Se.addEventListener("click",function(){de.panelButtonClick(re)}),de.panelButtons.push(Se),de.buttonRow.appendChild(Se)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ae.prototype.panelButtonClick=function(ne){var te=this,ie=-1;if(ne!==this.activePanel){ie=this.panels.indexOf(ne),this.panelRow.innerHTML="";var de=ne.getUi();de.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(de),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ne}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){te.displayMode==="inline"?te.panelRow.style.display="none":te.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(re,le){var Se,Ge;re.className=te.toolboxButtonStyleClass.name+" "+(le===ie?""+((Se=te.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Se!==void 0?Se:te.toolboxActiveButtonStyleColorsClass.name):""+((Ge=te.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ge!==void 0?Ge:te.toolboxButtonStyleColorsClass.name))})},ae}(),st=function(ae,ne){this.title=ae,this.icon=ne},Ue=function(ae){function ne(te,ie,de,re){var le=ae.call(this,te,re||'')||this;return le.colors=[],le.addTransparent=!1,le.colorBoxes=[],le.colors=ie,le.currentColor=de,le.setCurrentColor=le.setCurrentColor.bind(le),le.getColorBox=le.getColorBox.bind(le),le}return Me(ne,ae),ne.prototype.getUi=function(){var te=this,ie=document.createElement("div");return ie.style.overflow="hidden",ie.style.whiteSpace="nowrap",this.colors.forEach(function(de){var re=te.getColorBox(de);ie.appendChild(re),te.colorBoxes.push(re)}),ie},ne.prototype.getColorBox=function(te){var ie=this,de=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-de,le=document.createElement("div");le.style.display="inline-block",le.style.boxSizing="content-box",le.style.width=re-2+"px",le.style.height=re-2+"px",le.style.padding="1px",le.style.marginRight="2px",le.style.marginBottom="2px",le.style.borderWidth="2px",le.style.borderStyle="solid",le.style.borderRadius=(re+2)/2+"px",le.style.borderColor=te===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",le.addEventListener("click",function(){ie.setCurrentColor(te,le)});var Se=document.createElement("div");return Se.style.display="inline-block",Se.style.width=re-2+"px",Se.style.height=re-2+"px",Se.style.backgroundColor=te,Se.style.borderRadius=re/2+"px",te==="transparent"&&(Se.style.fill=this.uiStyleSettings.toolboxAccentColor,Se.innerHTML=` + + `),le.appendChild(Se),le},ne.prototype.setCurrentColor=function(te,ie){var de=this;this.currentColor=te,this.colorBoxes.forEach(function(re){re.style.borderColor=re===ie?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(te)},ne}(st),Re=function(){function ae(ne,te,ie){this._state="new",this._isSelected=!1,this._container=ne,this._overlayContainer=te,this.globalSettings=ie,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ae.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ae.prototype.ownsTarget=function(ne){return!1},Object.defineProperty(ae.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ae.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ae.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ae.prototype.pointerDown=function(ne,te){},ae.prototype.dblClick=function(ne,te){},ae.prototype.manipulate=function(ne){},ae.prototype.pointerUp=function(ne){this.stateChanged()},ae.prototype.dispose=function(){},ae.prototype.addMarkerVisualToContainer=function(ne){this.container.childNodes.length>0?this.container.insertBefore(ne,this.container.childNodes[0]):this.container.appendChild(ne)},ae.prototype.getState=function(){return{typeName:ae.typeName,state:this.state,notes:this.notes}},ae.prototype.restoreState=function(ne){this._state=ne.state,this.notes=ne.notes},ae.prototype.scale=function(ne,te){},ae.prototype.colorChanged=function(ne){this.onColorChanged&&this.onColorChanged(ne),this.stateChanged()},ae.prototype.fillColorChanged=function(ne){this.onFillColorChanged&&this.onFillColorChanged(ne),this.stateChanged()},ae.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ne=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ne.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ne)&&this.onStateChanged(this)}},ae.typeName="MarkerBase",ae}(),ft=function(){function ae(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ae.prototype.findGripByVisual=function(ne){return this.topLeft.ownsTarget(ne)?this.topLeft:this.topCenter.ownsTarget(ne)?this.topCenter:this.topRight.ownsTarget(ne)?this.topRight:this.centerLeft.ownsTarget(ne)?this.centerLeft:this.centerRight.ownsTarget(ne)?this.centerRight:this.bottomLeft.ownsTarget(ne)?this.bottomLeft:this.bottomCenter.ownsTarget(ne)?this.bottomCenter:this.bottomRight.ownsTarget(ne)?this.bottomRight:void 0},ae}(),kt=function(){function ae(){this.GRIP_SIZE=10,this.visual=pe.createGroup(),this.visual.appendChild(pe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(pe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ae.prototype.ownsTarget=function(ne){return ne===this.visual||ne===this.visual.childNodes[0]||ne===this.visual.childNodes[1]},ae}(),en=function(){function ae(){}return ae.toITransformMatrix=function(ne){return{a:ne.a,b:ne.b,c:ne.c,d:ne.d,e:ne.e,f:ne.f}},ae.toSVGMatrix=function(ne,te){return ne.a=te.a,ne.b=te.b,ne.c=te.c,ne.d=te.d,ne.e=te.e,ne.f=te.f,ne},ae}(),Qe=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.left=0,re.top=0,re.width=0,re.height=0,re.defaultSize={x:50,y:20},re.offsetX=0,re.offsetY=0,re.rotationAngle=0,re.CB_DISTANCE=10,re._suppressMarkerCreateEvent=!1,re.container.transform.baseVal.appendItem(pe.createTransform()),re.setupControlBox(),re}return Me(ne,ae),Object.defineProperty(ne.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"visual",{get:function(){return this._visual},set:function(te){this._visual=te;var ie=pe.createTransform();this._visual.transform.baseVal.appendItem(ie)},enumerable:!1,configurable:!0}),ne.prototype.ownsTarget=function(te){return!!ae.prototype.ownsTarget.call(this,te)||!!(this.controlGrips.findGripByVisual(te)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(te))},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.state==="new"&&(this.left=te.x,this.top=te.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var de=this.unrotatePoint(te);if(this.manipulationStartX=de.x,this.manipulationStartY=de.y,this.offsetX=de.x-this.left,this.offsetY=de.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ie),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ie)){this.activeGrip=this.rotatorGrip;var re=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=re.x-this.width/2,this.top=re.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var le=this.container.transform.baseVal.getItem(0);le.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(le,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ne.prototype.pointerUp=function(te){var ie=this.state;ae.prototype.pointerUp.call(this,te),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(te),this._state="select",ie==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ne.prototype.moveVisual=function(te){this.visual.style.transform="translate("+te.x+"px, "+te.y+"px)"},ne.prototype.manipulate=function(te){var ie=this.unrotatePoint(te);this.state==="creating"?this.resize(te):this.state==="move"?(this.left=this.manipulationStartLeft+(ie.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ie.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ie):this.state==="rotate"&&this.rotate(te)},ne.prototype.resize=function(te){var ie=this.manipulationStartLeft,de=this.manipulationStartWidth,re=this.manipulationStartTop,le=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ie=this.manipulationStartLeft+te.x-this.manipulationStartX,de=this.manipulationStartWidth+this.manipulationStartLeft-ie;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:de=this.manipulationStartWidth+te.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:re=this.manipulationStartTop+te.y-this.manipulationStartY,le=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:le=this.manipulationStartHeight+te.y-this.manipulationStartY}de>=0?(this.left=ie,this.width=de):(this.left=ie+de,this.width=-de),le>=0?(this.top=re,this.height=le):(this.top=re+le,this.height=-le),this.setSize()},ne.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ne.prototype.rotate=function(te){if(Math.abs(te.x-this.centerX)>.1){var ie=Math.sign(te.x-this.centerX);this.rotationAngle=180*Math.atan((te.y-this.centerY)/(te.x-this.centerX))/Math.PI+90*ie,this.applyRotation()}},ne.prototype.applyRotation=function(){var te=this.container.transform.baseVal.getItem(0);te.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(te,0)},ne.prototype.rotatePoint=function(te){if(this.rotationAngle===0)return te;var ie=this.container.getCTM(),de=pe.createPoint(te.x,te.y);return{x:(de=de.matrixTransform(ie)).x,y:de.y}},ne.prototype.unrotatePoint=function(te){if(this.rotationAngle===0)return te;var ie=this.container.getCTM();ie=ie.inverse();var de=pe.createPoint(te.x,te.y);return{x:(de=de.matrixTransform(ie)).x,y:de.y}},ne.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=pe.createGroup();var te=pe.createTransform();te.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(te),this.container.appendChild(this.controlBox),this.controlRect=pe.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=pe.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new ft,this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){var te=this.controlBox.transform.baseVal.getItem(0);te.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(te,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ne.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ne.prototype.createGrip=function(){var te=new kt;return te.visual.transform.baseVal.appendItem(pe.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.controlGrips.topLeft.GRIP_SIZE,ie=-te/2,de=ie,re=(this.width+this.CB_DISTANCE)/2-te/2,le=(this.height+this.CB_DISTANCE)/2-te/2,Se=this.height+this.CB_DISTANCE-te/2,Ge=this.width+this.CB_DISTANCE-te/2;this.positionGrip(this.controlGrips.topLeft.visual,ie,de),this.positionGrip(this.controlGrips.topCenter.visual,re,de),this.positionGrip(this.controlGrips.topRight.visual,Ge,de),this.positionGrip(this.controlGrips.centerLeft.visual,ie,le),this.positionGrip(this.controlGrips.centerRight.visual,Ge,le),this.positionGrip(this.controlGrips.bottomLeft.visual,ie,Se),this.positionGrip(this.controlGrips.bottomCenter.visual,re,Se),this.positionGrip(this.controlGrips.bottomRight.visual,Ge,Se),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,de-3*this.CB_DISTANCE)},ne.prototype.positionGrip=function(te,ie,de){var re=te.transform.baseVal.getItem(0);re.setTranslate(ie,de),te.transform.baseVal.replaceItem(re,0)},ne.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ne.prototype.showControlBox=function(){this.controlBox.style.display=""},ne.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:en.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:en.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ae.prototype.getState.call(this))},ne.prototype.restoreState=function(te){ae.prototype.restoreState.call(this,te);var ie=te;this.left=ie.left,this.top=ie.top,this.width=ie.width,this.height=ie.height,this.rotationAngle=ie.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(en.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ie.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(en.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ie.containerTransformMatrix))},ne.prototype.scale=function(te,ie){ae.prototype.scale.call(this,te,ie);var de=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:de.x*te,y:de.y*ie});this.left=re.x,this.top=re.y,this.width=this.width*te,this.height=this.height*ie,this.adjustControlBox()},ne}(Re),Ae=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return!(!ae.prototype.ownsTarget.call(this,te)&&te!==this.visual)},ne.prototype.createVisual=function(){this.visual=pe.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){ae.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){ae.prototype.resize.call(this,te),this.setSize()},ne.prototype.setSize=function(){ae.prototype.setSize.call(this),pe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){ae.prototype.pointerUp.call(this,te),this.setSize()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.visual&&pe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.visual&&pe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.visual&&pe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.visual&&pe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ne.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ae.prototype.getState.call(this))},ne.prototype.restoreState=function(te){var ie=te;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.opacity=ie.opacity,this.createVisual(),ae.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ie){ae.prototype.scale.call(this,te,ie),this.setSize()},ne.title="Rectangle marker",ne}(Qe),tt=function(ae){function ne(te,ie,de,re){var le=ae.call(this,te,re||'')||this;return le.widths=[],le.widthBoxes=[],le.widths=ie,le.currentWidth=de,le.setCurrentWidth=le.setCurrentWidth.bind(le),le}return Me(ne,ae),ne.prototype.getUi=function(){var te=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2",this.widths.forEach(function(de){var re=document.createElement("div");re.style.display="flex",re.style.flexGrow="2",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=de===te.currentWidth?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentWidth(de,re)}),ie.appendChild(re);var le=document.createElement("div");le.innerText=de.toString(),le.style.marginRight="5px",re.appendChild(le);var Se=document.createElement("div");Se.style.minHeight="20px",Se.style.flexGrow="2",Se.style.display="flex",Se.style.alignItems="center";var Ge=document.createElement("hr");Ge.style.minWidth="20px",Ge.style.border="0px",Ge.style.borderTop=de+"px solid "+te.uiStyleSettings.toolboxColor,Ge.style.flexGrow="2",Se.appendChild(Ge),re.appendChild(Se),te.widthBoxes.push(re)}),ie},ne.prototype.setCurrentWidth=function(te,ie){var de=this;this.currentWidth=te,this.widthBoxes.forEach(function(re){re.style.borderColor=re===ie?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ne}(st),nt=function(ae){function ne(te,ie,de,re){var le=ae.call(this,te,re||'')||this;return le.styles=[],le.styleBoxes=[],le.styles=ie,le.currentStyle=de,le.setCurrentStyle=le.setCurrentStyle.bind(le),le}return Me(ne,ae),ne.prototype.getUi=function(){var te=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2",this.styles.forEach(function(de){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.styles.length-5+"%",re.style.borderColor=de===te.currentStyle?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentStyle(de,re)}),ie.appendChild(re);var le=document.createElement("div");le.style.minHeight="20px",le.style.flexGrow="2",le.style.overflow="hidden";var Se=` + + `;le.innerHTML=Se,re.appendChild(le),te.styleBoxes.push(re)}),ie},ne.prototype.setCurrentStyle=function(te,ie){var de=this;this.currentStyle=te,this.styleBoxes.forEach(function(re){re.style.borderColor=re===ie?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ne}(st),zt=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.strokePanel=new Ue("Line color",de.defaultColorSet,de.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new tt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Me(ne,ae),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ae.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="FrameMarker",ne.title="Frame marker",ne.icon='',ne}(Ae),Ot=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},ht=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.x1=0,re.y1=0,re.x2=0,re.y2=0,re.defaultLength=50,re.manipulationStartX=0,re.manipulationStartY=0,re.manipulationStartX1=0,re.manipulationStartY1=0,re.manipulationStartX2=0,re.manipulationStartY2=0,re.setupControlBox(),re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return!!ae.prototype.ownsTarget.call(this,te)||!(!this.grip1.ownsTarget(te)&&!this.grip2.ownsTarget(te))},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.manipulationStartX=te.x,this.manipulationStartY=te.y,this.state==="new"&&(this.x1=te.x,this.y1=te.y,this.x2=te.x,this.y2=te.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ie)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ie)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ne.prototype.pointerUp=function(te){var ie=this.state;ae.prototype.pointerUp.call(this,te),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(te),this._state="select",ie==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ne.prototype.adjustVisual=function(){},ne.prototype.manipulate=function(te){this.state==="creating"?this.resize(te):this.state==="move"?(this.x1=this.manipulationStartX1+te.x-this.manipulationStartX,this.y1=this.manipulationStartY1+te.y-this.manipulationStartY,this.x2=this.manipulationStartX2+te.x-this.manipulationStartX,this.y2=this.manipulationStartY2+te.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(te)},ne.prototype.resize=function(te){switch(this.activeGrip){case this.grip1:this.x1=te.x,this.y1=te.y;break;case this.grip2:case void 0:this.x2=te.x,this.y2=te.y}this.adjustVisual(),this.adjustControlBox()},ne.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ne.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ne.prototype.setupControlBox=function(){this.controlBox=pe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ne.prototype.adjustControlBox=function(){this.positionGrips()},ne.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ne.prototype.createGrip=function(){var te=new kt;return te.visual.transform.baseVal.appendItem(pe.createTransform()),this.controlBox.appendChild(te.visual),te},ne.prototype.positionGrips=function(){var te=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-te/2,this.y1-te/2),this.positionGrip(this.grip2.visual,this.x2-te/2,this.y2-te/2)},ne.prototype.positionGrip=function(te,ie,de){var re=te.transform.baseVal.getItem(0);re.setTranslate(ie,de),te.transform.baseVal.replaceItem(re,0)},ne.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ae.prototype.getState.call(this))},ne.prototype.restoreState=function(te){ae.prototype.restoreState.call(this,te);var ie=te;this.x1=ie.x1,this.y1=ie.y1,this.x2=ie.x2,this.y2=ie.y2},ne.prototype.scale=function(te,ie){ae.prototype.scale.call(this,te,ie),this.x1=this.x1*te,this.y1=this.y1*ie,this.x2=this.x2*te,this.y2=this.y2*ie,this.adjustVisual(),this.adjustControlBox()},ne}(Re),Ct=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.strokePanel=new Ue("Line color",de.defaultColorSet,de.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new tt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return!(!ae.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorLine&&te!==this.visibleLine)},ne.prototype.createVisual=function(){this.visual=pe.createGroup(),this.selectorLine=pe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=pe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ne.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),pe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),pe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),pe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ae.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ae.prototype.restoreState.call(this,te);var ie=te;this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.createVisual(),this.adjustVisual()},ne.typeName="LineMarker",ne.title="Line marker",ne.icon='',ne}(ht),De=function(ae){function ne(te,ie,de,re){var le=ae.call(this,te,re||'')||this;return le.fonts=[],le.fontBoxes=[],le.fonts=ie,le.currentFont=de,le.setCurrentFont=le.setCurrentFont.bind(le),le}return Me(ne,ae),ne.prototype.getUi=function(){var te=this,ie=document.createElement("div");return ie.style.overflow="hidden",ie.style.flexGrow="2",this.fonts.forEach(function(de){var re=document.createElement("div");re.style.display="inline-block",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/te.fonts.length-5+"%",re.style.borderColor=de===te.currentFont?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentFont(de,re)}),ie.appendChild(re);var le=document.createElement("div");le.style.display="flex",le.style.minHeight="20px",le.style.flexGrow="2",le.style.fontFamily=de,le.style.overflow="hidden";var Se=document.createElement("div");Se.style.whiteSpace="nowrap",Se.style.overflow="hidden",Se.style.textOverflow="ellipsis",Se.innerHTML="The quick brown fox jumps over the lazy dog",le.appendChild(Se),re.appendChild(le),te.fontBoxes.push(re)}),ie},ne.prototype.setCurrentFont=function(te,ie){var de=this;this.currentFont=te,this.fontBoxes.forEach(function(re){re.style.borderColor=re===ie?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ne}(st),ke=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.color="transparent",re.padding=5,re.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",re.text=re.DEFAULT_TEXT,re.isMoved=!1,re.color=de.defaultColor,re.fontFamily=de.defaultFontFamily,re.defaultSize={x:100,y:30},re.setColor=re.setColor.bind(re),re.setFont=re.setFont.bind(re),re.renderText=re.renderText.bind(re),re.sizeText=re.sizeText.bind(re),re.textEditDivClicked=re.textEditDivClicked.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.setSize=re.setSize.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.colorPanel=new Ue("Color",de.defaultColorSet,de.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new De("Font",de.defaultFontFamilies,de.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){if(ae.prototype.ownsTarget.call(this,te)||te===this.visual||te===this.textElement||te===this.bgRectangle)return!0;var ie=!1;return this.textElement.childNodes.forEach(function(de){de===te&&(ie=!0)}),ie},ne.prototype.createVisual=function(){this.visual=pe.createGroup(),this.bgRectangle=pe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=pe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(pe.createTransform()),this.textElement.transform.baseVal.appendItem(pe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.renderText=function(){var te=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ie){te.textElement.appendChild(pe.createTSpan(ie.trim()===""?" ":ie.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ne.prototype.getTextScale=function(){var te=this.textElement.getBBox(),ie=1;if(te.width>0&&te.height>0){var de=(1*this.width-this.width*this.padding*2/100)/te.width,re=(1*this.height-this.height*this.padding*2/100)/te.height;ie=Math.min(de,re)}return ie},ne.prototype.getTextPosition=function(te){var ie=this.textElement.getBBox(),de=0,re=0;return ie.width>0&&ie.height>0&&(de=(this.width-ie.width*te)/2,re=this.height/2-ie.height*te/2),{x:de,y:re}},ne.prototype.sizeText=function(){var te=this.textElement.getBBox(),ie=this.getTextScale(),de=this.getTextPosition(ie);de.y-=te.y*ie,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+de.x+"px, "+de.y+"px) scale("+ie+", "+ie+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(de.x,de.y),this.textElement.transform.baseVal.getItem(1).setScale(ie,ie))},ne.prototype.manipulate=function(te){ae.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){ae.prototype.resize.call(this,te),this.isMoved=!0,this.setSize(),this.sizeText()},ne.prototype.setSize=function(){ae.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(pe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),pe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ne.prototype.pointerUp=function(te){var ie=this.state;ie==="creating"&&(this._suppressMarkerCreateEvent=!0),ae.prototype.pointerUp.call(this,te),this.setSize(),(ie==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.showTextEditor=function(){var te=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ie){ie.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ie=Number.parseFloat(te.textEditor.style.fontSize);te.textEditor.clientWidth>=Number.parseInt(te.textEditor.style.maxWidth)&&ie>.9;)ie-=.1,te.textEditor.style.fontSize=Math.max(ie,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ie){ie.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ie){if(ie.clipboardData){var de=ie.clipboardData.getData("text"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.getRangeAt(0).insertNode(document.createTextNode(de)),ie.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){te.textEditDivClicked(te.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ne.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var te=this.getTextScale(),ie=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),de=this.textElement.getBBox(),re={x:de.width*te,y:de.height*te};ie.x-=re.x/2,ie.y-=re.y/2,this.textEditor.style.top=ie.y+"px",this.textEditor.style.left=ie.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ie.x+"px",this.textEditor.style.fontSize=Math.max(16*te,12)+"px",this.textElement.style.display="none"}},ne.prototype.textEditDivClicked=function(te){this.text=te.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ne.prototype.select=function(){ae.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ne.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ae.prototype.deselect.call(this)},ne.prototype.dblClick=function(te,ie){ae.prototype.dblClick.call(this,te,ie),this.showTextEditor()},ne.prototype.setColor=function(te){this.textElement&&pe.setAttributes(this.textElement,[["fill",te]]),this.color=te,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(te)},ne.prototype.setFont=function(te){this.textElement&&pe.setAttributes(this.textElement,[["font-family",te]]),this.fontFamily=te,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ne.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ne.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ae.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){var ie=te;this.color=ie.color,this.fontFamily=ie.fontFamily,this.padding=ie.padding,this.text=ie.text,this.createVisual(),ae.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ie){ae.prototype.scale.call(this,te,ie),this.setSize(),this.sizeText(),this.positionTextEditor()},ne.typeName="TextMarker",ne.title="Text marker",ne.icon='',ne}(Qe),xe=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.color="transparent",re.lineWidth=3,re.drawing=!1,re.pixelRatio=1,re.color=de.defaultColor,re.lineWidth=de.defaultStrokeWidth,re.pixelRatio=de.freehandPixelRatio,re.setColor=re.setColor.bind(re),re.addCanvas=re.addCanvas.bind(re),re.finishCreation=re.finishCreation.bind(re),re.setLineWidth=re.setLineWidth.bind(re),re.colorPanel=new Ue("Color",de.defaultColorSet,de.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new tt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return!(!ae.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.drawingImage)},ne.prototype.createVisual=function(){this.visual=pe.createGroup(),this.drawingImage=pe.createImage(),this.visual.appendChild(this.drawingImage);var te=pe.createTransform();this.visual.transform.baseVal.appendItem(te),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ie){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(te.x,te.y),this.drawing=!0):ae.prototype.pointerDown.call(this,te,ie)},ne.prototype.manipulate=function(te){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(te.x,te.y),this.canvasContext.stroke()):ae.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){ae.prototype.resize.call(this,te),pe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),pe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ne.prototype.pointerUp=function(te){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ae.prototype.pointerUp.call(this,te)},ne.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ne.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.select.call(this)},ne.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.deselect.call(this)},ne.prototype.finishCreation=function(){for(var te=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ie=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],de=ie[0],re=ie[1],le=ie[2],Se=ie[3],Ge=!1,He=0;He0&&(Ge=!0,HeSe&&(Se=He),Le>le&&(le=Le));if(Ge){this.left=de/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(le-de)/this.pixelRatio,this.height=(Se-re)/this.pixelRatio;var rt=document.createElement("canvas");rt.width=le-de,rt.height=Se-re,rt.getContext("2d").putImageData(this.canvasContext.getImageData(de,re,le-de,Se-re),0,0),this.drawingImgUrl=rt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ne.prototype.setDrawingImage=function(){pe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),pe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ne.prototype.setColor=function(te){this.color=te,this.colorChanged(te)},ne.prototype.setLineWidth=function(te){this.lineWidth=te},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({drawingImgUrl:this.drawingImgUrl},ae.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){this.createVisual(),ae.prototype.restoreState.call(this,te),this.drawingImgUrl=te.drawingImgUrl,this.setDrawingImage()},ne.prototype.scale=function(te,ie){ae.prototype.scale.call(this,te,ie),this.setDrawingImage()},ne.typeName="FreehandMarker",ne.title="Freehand marker",ne.icon='',ne}(Qe),se=function(ae){function ne(te,ie,de){var re=ae.call(this,te,de||'')||this;return re.typeBoxes=[],re.currentType=ie,re.setCurrentType=re.setCurrentType.bind(re),re}return Me(ne,ae),ne.prototype.getUi=function(){var te=this,ie=document.createElement("div");ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2";for(var de=function(Se){var Ge="both";switch(Se){case 0:Ge="both";break;case 1:Ge="start";break;case 2:Ge="end";break;case 3:Ge="none"}var He=document.createElement("div");if(He.style.display="flex",He.style.flexGrow="2",He.style.alignItems="center",He.style.justifyContent="space-between",He.style.padding="5px",He.style.borderWidth="2px",He.style.borderStyle="solid",He.style.borderColor=Ge===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",He.addEventListener("click",function(){te.setCurrentType(Ge,He)}),ie.appendChild(He),Ge==="both"||Ge==="start"){var Le=document.createElement("div");Le.style.display="flex",Le.style.alignItems="center",Le.style.minHeight="20px",Le.innerHTML=` + + `,Le.style.marginLeft="5px",He.appendChild(Le)}var rt=document.createElement("div");rt.style.display="flex",rt.style.alignItems="center",rt.style.minHeight="20px",rt.style.flexGrow="2";var ut=document.createElement("hr");if(ut.style.minWidth="20px",ut.style.border="0px",ut.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),ut.style.flexGrow="2",rt.appendChild(ut),He.appendChild(rt),Ge==="both"||Ge==="end"){var At=document.createElement("div");At.style.display="flex",At.style.alignItems="center",At.style.minHeight="20px",At.innerHTML=` + + `,At.style.marginRight="5px",He.appendChild(At)}re.typeBoxes.push(He)},re=this,le=0;le<4;le++)de(le);return ie},ne.prototype.setCurrentType=function(te,ie){var de=this;this.currentType=te,this.typeBoxes.forEach(function(re){re.style.borderColor=re===ie?de.uiStyleSettings!==void 0?de.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ne}(st),It=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.arrowType="end",re.arrowBaseHeight=10,re.arrowBaseWidth=10,re.getArrowPoints=re.getArrowPoints.bind(re),re.setArrowType=re.setArrowType.bind(re),re.arrowTypePanel=new se("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return!(!ae.prototype.ownsTarget.call(this,te)&&te!==this.arrow1&&te!==this.arrow2)},ne.prototype.getArrowPoints=function(te,ie){var de=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return te-de/2+","+(ie+re/2)+" "+te+","+(ie-re/2)+" "+(te+de/2)+","+(ie+re/2)},ne.prototype.createTips=function(){this.arrow1=pe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(pe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=pe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(pe.createTransform()),this.visual.appendChild(this.arrow2)},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.state==="creating"&&this.createTips()},ne.prototype.adjustVisual=function(){if(ae.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",pe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),pe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var te=0;Math.abs(this.x1-this.x2)>.1&&(te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ie=this.arrow1.transform.baseVal.getItem(0);ie.setRotate(te,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ie,0);var de=this.arrow2.transform.baseVal.getItem(0);de.setRotate(te+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(de,0)}},ne.prototype.setArrowType=function(te){this.arrowType=te,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({arrowType:this.arrowType},ae.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ae.prototype.restoreState.call(this,te);var ie=te;this.arrowType=ie.arrowType,this.createTips(),this.adjustVisual()},ne.typeName="ArrowMarker",ne.title="Arrow marker",ne.icon='',ne}(Ct),_e=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.fillColor=de.defaultFillColor,re.strokeWidth=0,re.fillPanel=new Ue("Color",de.defaultColorSet,de.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return Me(ne,ae),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ae.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="CoverMarker",ne.title="Cover marker",ne.icon='',ne}(Ae),Ye=function(ae){function ne(te,ie,de,re){var le=ae.call(this,te,re||'')||this;return le.opacities=[],le.opacityBoxes=[],le.opacities=ie,le.currentOpacity=de,le.setCurrentOpacity=le.setCurrentOpacity.bind(le),le}return Me(ne,ae),ne.prototype.getUi=function(){var te=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2",ie.style.justifyContent="space-between",this.opacities.forEach(function(de){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="center",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=de===te.currentOpacity?te.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){te.setCurrentOpacity(de,re)}),ie.appendChild(re);var le=document.createElement("div");le.innerText=100*de+"%",re.appendChild(le),te.opacityBoxes.push(re)}),ie},ne.prototype.setCurrentOpacity=function(te,ie){var de=this;this.currentOpacity=te,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===ie?de.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ne}(st),Ft=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=de.defaultHighlightColor,re.strokeWidth=0,re.opacity=de.defaultHighlightOpacity,re.fillPanel=new Ue("Color",de.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new Ye("Opacity",de.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return Me(ne,ae),ne.prototype.setOpacity=function(te){this.opacity=te,this.visual&&pe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ae.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="HighlightMarker",ne.title="Highlight marker",ne.icon='',ne}(_e),Ce='',he='',yt=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.bgColor="transparent",re.tipPosition={x:0,y:0},re.tipBase1Position={x:0,y:0},re.tipBase2Position={x:0,y:0},re.tipMoving=!1,re.color=de.defaultStrokeColor,re.bgColor=de.defaultFillColor,re.fontFamily=de.defaultFontFamily,re.defaultSize={x:100,y:30},re.setBgColor=re.setBgColor.bind(re),re.getTipPoints=re.getTipPoints.bind(re),re.positionTip=re.positionTip.bind(re),re.setTipPoints=re.setTipPoints.bind(re),re.colorPanel=new Ue("Text color",de.defaultColorSet,re.color,Ce),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new Ue("Fill color",de.defaultColorSet,re.bgColor,he),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new De("Font",de.defaultFontFamilies,de.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new kt,re.tipGrip.visual.transform.baseVal.appendItem(pe.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return ae.prototype.ownsTarget.call(this,te)||this.tipGrip.ownsTarget(te)||this.tip===te},ne.prototype.createTip=function(){pe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=pe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ne.prototype.pointerDown=function(te,ie){this.state==="new"&&ae.prototype.pointerDown.call(this,te,ie),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ie)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ae.prototype.pointerDown.call(this,te,ie)},ne.prototype.pointerUp=function(te){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ae.prototype.pointerUp.call(this,te);else{var ie=this.state==="creating";ae.prototype.pointerUp.call(this,te),this.setTipPoints(ie),this.positionTip()}},ne.prototype.manipulate=function(te){if(this.tipMoving){var ie=this.unrotatePoint(te);this.tipPosition={x:ie.x-this.manipulationStartLeft,y:ie.y-this.manipulationStartTop},this.positionTip()}else ae.prototype.manipulate.call(this,te)},ne.prototype.setBgColor=function(te){this.bgRectangle&&this.tip&&(pe.setAttributes(this.bgRectangle,[["fill",te]]),pe.setAttributes(this.tip,[["fill",te]])),this.bgColor=te,this.fillColorChanged(te)},ne.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ne.prototype.setTipPoints=function(te){te===void 0&&(te=!1);var ie=Math.min(this.height/2,15),de=this.height/5;te&&(this.tipPosition={x:ie+de/2,y:this.height+20});var re=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?re.1)){var te=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ie=this.tip1.transform.baseVal.getItem(0);ie.setRotate(te,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ie,0);var de=this.tip2.transform.baseVal.getItem(0);de.setRotate(te+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(de,0)}},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ae.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ae.prototype.restoreState.call(this,te),this.createTips(),this.adjustVisual()},ne.typeName="MeasurementMarker",ne.title="Measurement marker",ne.icon='',ne}(Ct),me=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.strokePanel.colors=de.defaultColorSet,re.fillColor="transparent",re}return Me(ne,ae),Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=ae.prototype.getState.call(this);return te.typeName=ne.typeName,te},ne.typeName="EllipseFrameMarker",ne.title="Ellipse frame marker",ne.icon='',ne}(Vt),qe=function(){function ae(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ae.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ae.prototype.addUndoStep=function(ne){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ne)||(this.undoStack.push(ne),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ne)&&this.redoStack.splice(0,this.redoStack.length))},ae.prototype.replaceLastUndoStep=function(ne){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ne)},ae.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ae.prototype.undo=function(){if(this.undoStack.length>1){var ne=this.undoStack.pop();return ne!==void 0&&this.redoStack.push(ne),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},ae.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ae}(),it=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.curveX=0,re.curveY=0,re.manipulationStartCurveX=0,re.manipulationStartCurveY=0,re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.positionGrips=re.positionGrips.bind(re),re.addControlGrips=re.addControlGrips.bind(re),re.adjustVisual=re.adjustVisual.bind(re),re.setupControlBox=re.setupControlBox.bind(re),re.resize=re.resize.bind(re),re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.strokePanel=new Ue("Line color",de.defaultColorSet,de.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new tt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return!(!ae.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.selectorCurve&&te!==this.visibleCurve&&!this.curveGrip.ownsTarget(te))},ne.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ne.prototype.createVisual=function(){this.visual=pe.createGroup(),this.selectorCurve=pe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=pe.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=te.x,this.curveY=te.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ie)&&(this.activeGrip=this.curveGrip,this._state="resize")},ne.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),pe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),pe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),pe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ne.prototype.setupControlBox=function(){ae.prototype.setupControlBox.call(this),this.curveControlLine1=pe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=pe.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ne.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ae.prototype.addControlGrips.call(this)},ne.prototype.positionGrips=function(){ae.prototype.positionGrips.call(this);var te=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-te/2,this.curveY-te/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ne.prototype.manipulate=function(te){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+te.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+te.y-this.manipulationStartY),ae.prototype.manipulate.call(this,te)},ne.prototype.resize=function(te){this.activeGrip===this.curveGrip&&(this.curveX=te.x,this.curveY=te.y),ae.prototype.resize.call(this,te),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.adjustVisual(),this.colorChanged(te)},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.adjustVisual()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.adjustVisual()},ne.prototype.scale=function(te,ie){this.curveX=this.curveX*te,this.curveY=this.curveY*ie,ae.prototype.scale.call(this,te,ie)},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ae.prototype.getState.call(this));return te.typeName=ne.typeName,te},ne.prototype.restoreState=function(te){ae.prototype.restoreState.call(this,te);var ie=te;this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.curveX=ie.curveX,this.curveY=ie.curveY,this.createVisual(),this.adjustVisual()},ne.typeName="CurveMarker",ne.title="Curve marker",ne.icon='',ne}(ht),Xt=function(ae){function ne(te,ie,de){var re=ae.call(this,te,ie,de)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.textColor="transparent",re.fontSize="1rem",re.isMoved=!1,re.captionText="Caption",re.PADDING=5,re.captionBoxWidth=0,re.captionBoxHeight=0,re.strokeColor=de.defaultColor,re.strokeWidth=de.defaultStrokeWidth,re.strokeDasharray=de.defaultStrokeDasharray,re.fillColor=de.defaultFillColor,re.textColor=de.defaultStrokeColor,re.fontFamily=de.defaultFontFamily,re.fontSize=de.defaultCaptionFontSize,re.captionText=de.defaultCaptionText,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re.sizeCaption=re.sizeCaption.bind(re),re.setCaptionText=re.setCaptionText.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.finishTextEditing=re.finishTextEditing.bind(re),re.setFont=re.setFont.bind(re),re.setTextColor=re.setTextColor.bind(re),re.strokePanel=new Ue("Line color",Pe(de.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new Ue("Fill color",Pe(de.defaultColorSet,["transparent"]),re.fillColor,he),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new tt("Line width",de.defaultStrokeWidths,de.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new nt("Line style",de.defaultStrokeDasharrays,de.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new De("Font",de.defaultFontFamilies,de.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new Ue("Text color",de.defaultColorSet,re.textColor,Ce),re.textColorPanel.onColorChanged=re.setTextColor,re}return Me(ne,ae),ne.prototype.ownsTarget=function(te){return!(!ae.prototype.ownsTarget.call(this,te)&&te!==this.visual&&te!==this.frame&&te!==this.captionBg&&te!==this.captionElement)},ne.prototype.createVisual=function(){this.visual=pe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=pe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=pe.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=pe.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ne.prototype.setCaptionText=function(te){this.captionText=te,this.captionElement.textContent=this.captionText,this.sizeCaption()},ne.prototype.pointerDown=function(te,ie){ae.prototype.pointerDown.call(this,te,ie),this.isMoved=!1,this.pointerDownPoint=te,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(te),this._state="creating")},ne.prototype.manipulate=function(te){ae.prototype.manipulate.call(this,te),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(te.x-this.pointerDownPoint.x)>5||Math.abs(te.y-this.pointerDownPoint.y)>5)},ne.prototype.resize=function(te){ae.prototype.resize.call(this,te),this.setSize()},ne.prototype.sizeCaption=function(){var te=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=te.width+2*this.PADDING,this.captionBoxHeight=te.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),pe.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),pe.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ne.prototype.showTextEditor=function(){var te=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ie){ie.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ie){ie.key==="Enter"&&te.finishTextEditing(te.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ie){ie.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){te.finishTextEditing(te.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){te.finishTextEditing(te.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ne.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ne.prototype.finishTextEditing=function(te){this.setCaptionText(te.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ne.prototype.setFont=function(te){this.captionElement&&pe.setAttributes(this.captionElement,[["font-family",te]]),this.fontFamily=te,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ne.prototype.setTextColor=function(te){this.captionElement&&pe.setAttributes(this.captionElement,[["fill",te]]),this.textColor=te,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ne.prototype.setSize=function(){ae.prototype.setSize.call(this),pe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ne.prototype.pointerUp=function(te){ae.prototype.pointerUp.call(this,te),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ne.prototype.dblClick=function(te,ie){ae.prototype.dblClick.call(this,te,ie),this.showTextEditor()},ne.prototype.setStrokeColor=function(te){this.strokeColor=te,this.frame&&pe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(te),this.stateChanged()},ne.prototype.setFillColor=function(te){this.fillColor=te,this.captionBg&&pe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(te),this.stateChanged()},ne.prototype.setStrokeWidth=function(te){this.strokeWidth=te,this.frame&&pe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ne.prototype.setStrokeDasharray=function(te){this.strokeDasharray=te,this.frame&&pe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ne.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ne.prototype.getState=function(){var te=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},ae.prototype.getState.call(this));return te.typeName=this.typeName,te},ne.prototype.restoreState=function(te){var ie=te;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.textColor=ie.textColor,this.fontFamily=ie.fontFamily,this.captionText=ie.captionText,this.fontSize=ie.fontSize,this.createVisual(),ae.prototype.restoreState.call(this,te),this.setSize()},ne.prototype.scale=function(te,ie){ae.prototype.scale.call(this,te,ie),this.setSize()},ne.typeName="CaptionFrameMarker",ne.title="Caption frame marker",ne.icon='',ne}(Qe),Xe=function(){function ae(ne,te){te===void 0&&(te=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ne,this.cancelable=te}return Object.defineProperty(ae.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ae.prototype.preventDefault=function(){this._defaultPrevented=!0},ae}(),Gt=function(ae){function ne(te,ie,de){var re=ae.call(this,te,!1)||this;return re.dataUrl=ie,re.state=de,re}return Me(ne,ae),ne}(Xe),Fe=function(ae){function ne(te,ie,de){de===void 0&&(de=!1);var re=ae.call(this,te,de)||this;return re.marker=ie,re}return Me(ne,ae),ne}(Xe),dn=function(){function ae(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return ae.prototype.addEventListener=function(ne,te){this[ne].push(te)},ae.prototype.removeEventListener=function(ne,te){var ie=this[ne].indexOf(te);ie>-1&&this[ne].splice(ie,1)},ae}(),$t=function(){function ae(ne){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Ot,this._isOpen=!1,this.undoRedoManager=new qe,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new dn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ae.instanceCounter++,this.styles=new ue(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ne,this.targetRoot=document.body,this.width=ne.clientWidth,this.height=ne.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(ae.prototype,"ALL_MARKER_TYPES",{get:function(){return[zt,xe,It,ke,me,Vt,Ft,yt,Lt,_e,Ct,it,Xt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[zt,xe,It,ke,Vt,Ft,yt]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"BASIC_MARKER_TYPES",{get:function(){return[zt,xe,It,ke,Ft]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ne){var te=this;this._availableMarkerTypes.splice(0),ne.forEach(function(ie){if(typeof ie=="string"){var de=te.ALL_MARKER_TYPES.find(function(re){return re.typeName===ie});de!==void 0&&te._availableMarkerTypes.push(de)}else te._availableMarkerTypes.push(ie)})},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ne){this._zoomLevel=ne,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ae.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),be.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ae.prototype.show=function(){var ne=this;this.styles.styleSheetRoot===void 0&&Ie.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Ie.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(te){return te(new Xe(ne))})},ae.prototype.render=function(){return ce(this,void 0,void 0,function(){var ne;return et(this,function(te){switch(te.label){case 0:return this.setCurrentMarker(),(ne=new Ve).naturalSize=this.renderAtNaturalSize,ne.imageType=this.renderImageType,ne.imageQuality=this.renderImageQuality,ne.markersOnly=this.renderMarkersOnly,ne.width=this.renderWidth,ne.height=this.renderHeight,[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return te.sent(),[4,ne.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,te.sent()]}})})},ae.prototype.close=function(ne){var te=this;if(ne===void 0&&(ne=!1),this.isOpen){var ie=!1;ne||this.eventListeners.beforeclose.forEach(function(de){var re=new Xe(te,!0);de(re),re.defaultPrevented&&(ie=!0)}),ie||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(de){return de(new Xe(te))}),this.detachEvents(),this._isOpen=!1)}},ae.prototype.addMarkersToToolbar=function(){for(var ne,te=[],ie=0;iethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ne:this.editorCanvas.clientWidth,ie=te',ne.title="Powered by marker.js",ne.style.display="grid",ne.style.alignItems="center",ne.style.justifyItems="center",ne.style.padding="3px",ne.style.width="20px",ne.style.height="20px",this.logoUI.appendChild(ne),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},ae.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},ae.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},ae.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ae.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ne=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new Rt(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(ne),1),ne.dispose()},ae.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},ae.prototype.toolbarButtonClicked=function(ne,te){if(ne==="marker"&&te!==void 0)this.createNewMarker(te);else if(ne==="action")switch(te){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},ae.prototype.deleteSelectedMarker=function(){var ne=this;if(this._currentMarker!==void 0){var te=!1;if(this.eventListeners.markerbeforedelete.forEach(function(de){var re=new Fe(ne,ne._currentMarker,!0);de(re),re.defaultPrevented&&(te=!0)}),!te){var ie=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(de){return de(new Fe(ne,ie))})}}},ae.prototype.clear=function(){var ne=this,te=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(le){var Se=new Fe(ne,void 0,!0);le(Se),Se.defaultPrevented&&(te=!0)}),!te)){this.setCurrentMarker();for(var ie=function(le){var Se=de.markers[le];de.setCurrentMarker(de.markers[le]),de._currentMarker.dispose(),de.markerImage.removeChild(de._currentMarker.container),de.markers.splice(de.markers.indexOf(de._currentMarker),1),de.eventListeners.markerdelete.forEach(function(Ge){return Ge(new Fe(ne,Se))})},de=this,re=this.markers.length-1;re>=0;re--)ie(re);this.addUndoStep()}},Object.defineProperty(ae.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ae.prototype.showNotesEditor=function(){var ne;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ne=this._currentMarker.notes)!==null&&ne!==void 0?ne:"",this.overlayContainer.appendChild(this.notesArea))},ae.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},ae.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ae.prototype.addUndoStep=function(){var ne=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var te=this.getState(),ie=this.undoRedoManager.getLastUndoStep();if(!ie||ie.width===te.width&&ie.height===te.height){var de=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(te),de1&&this.panTo({x:ne.clientX,y:ne.clientY}))},ae.prototype.onPointerUp=function(ne){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ne.clientX,ne.clientY)),this.isDragging=!1,this.addUndoStep()},ae.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ae.prototype.onKeyUp=function(ne){this._currentMarker===void 0||this.notesArea!==void 0||ne.key!=="Delete"&&ne.key!=="Backspace"||this.deleteSelectedMarker()},ae.prototype.clientToLocalCoordinates=function(ne,te){var ie=this.markerImage.getBoundingClientRect();return{x:(ne-ie.left)/this.zoomLevel,y:(te-ie.top)/this.zoomLevel}},ae.prototype.onWindowResize=function(){this.positionUI()},ae.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ne=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ne+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},ae.prototype.addLicenseKey=function(ne){be.addKey(ne)},ae.prototype.addEventListener=function(ne,te){this.eventListeners.addEventListener(ne,te)},ae.prototype.removeEventListener=function(ne,te){this.eventListeners.removeEventListener(ne,te)},ae.prototype.renderState=function(ne){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ne),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ae.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ae.prototype.focus=function(){var ne=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(te){return te(new Xe(ne))}))},ae.prototype.blur=function(){var ne=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(te){return te(new Xe(ne))}))},ae.instanceCounter=0,ae}()},6551:function(Bn,rn,ee){"use strict";ee.d(rn,{ZP:function(){return be}});var b=ee(72190),Me=ee(59301),ce=ee(47273),et=0,Pe=(0,ce.Z)();function pe(){var Ve;return Pe?(Ve=et,et+=1):Ve="TEST_OR_SSR",Ve}function be(Ve){var Ie=Me.useState(),ue=(0,b.Z)(Ie,2),$e=ue[0],Ee=ue[1];return Me.useEffect(function(){Ee("rc_select_".concat(pe()))},[]),Ve||$e}},37463:function(Bn,rn,ee){"use strict";ee.d(rn,{Ac:function(){return jt},Xo:function(){return on},Wx:function(){return Tt},ZP:function(){return jn},lk:function(){return en}});var b=ee(60499),Me=ee(77654),ce=ee(18642),et=ee(85899),Pe=ee(72190),pe=ee(42244),be=ee(43749),Ve=ee(18929),Ie=ee(48736),ue=ee(59301),$e=ee(92310),Ee=ee.n($e),Rt=ee(34280),ot=ee(49658),st=ee(8654),Ue=function(Dt){var Te=Dt.className,gt=Dt.customizeIcon,Ke=Dt.customizeIconProps,wt=Dt.children,Ht=Dt.onMouseDown,Hn=Dt.onClick,Jn=typeof gt=="function"?gt(Ke):gt;return ue.createElement("span",{className:Te,onMouseDown:function(mt){mt.preventDefault(),Ht==null||Ht(mt)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Hn,"aria-hidden":!0},Jn!==void 0?Jn:ue.createElement("span",{className:Ee()(Te.split(/\s+/).map(function(lt){return"".concat(lt,"-icon")}))},wt))},Re=Ue,ft=function(Dt,Te,gt,Ke,wt){var Ht=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Hn=arguments.length>6?arguments[6]:void 0,Jn=arguments.length>7?arguments[7]:void 0,lt=ue.useMemo(function(){if((0,be.Z)(Ke)==="object")return Ke.clearIcon;if(wt)return wt},[Ke,wt]),mt=ue.useMemo(function(){return!!(!Ht&&Ke&&(gt.length||Hn)&&!(Jn==="combobox"&&Hn===""))},[Ke,Ht,gt.length,Hn,Jn]);return{allowClear:mt,clearIcon:ue.createElement(Re,{className:"".concat(Dt,"-clear"),onMouseDown:Te,customizeIcon:lt},"\xD7")}},kt=ue.createContext(null);function en(){return ue.useContext(kt)}function Qe(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Dt=ue.useState(!1),Te=(0,Pe.Z)(Dt,2),gt=Te[0],Ke=Te[1],wt=ue.useRef(null),Ht=function(){window.clearTimeout(wt.current)};ue.useEffect(function(){return Ht},[]);var Hn=function(lt,mt){Ht(),wt.current=window.setTimeout(function(){Ke(lt),mt&&mt()},vt)};return[gt,Hn,Ht]}function Ae(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Dt=ue.useRef(null),Te=ue.useRef(null);ue.useEffect(function(){return function(){window.clearTimeout(Te.current)}},[]);function gt(Ke){(Ke||Dt.current===null)&&(Dt.current=Ke),window.clearTimeout(Te.current),Te.current=window.setTimeout(function(){Dt.current=null},vt)}return[function(){return Dt.current},gt]}function tt(vt,Dt,Te,gt){var Ke=ue.useRef(null);Ke.current={open:Dt,triggerOpen:Te,customizedTrigger:gt},ue.useEffect(function(){function wt(Ht){var Hn;if(!((Hn=Ke.current)!==null&&Hn!==void 0&&Hn.customizedTrigger)){var Jn=Ht.target;Jn.shadowRoot&&Ht.composed&&(Jn=Ht.composedPath()[0]||Jn),Ke.current.open&&vt().filter(function(lt){return lt}).every(function(lt){return!lt.contains(Jn)&<!==Jn})&&Ke.current.triggerOpen(!1)}}return window.addEventListener("mousedown",wt),function(){return window.removeEventListener("mousedown",wt)}},[])}var nt=ee(10228);function zt(vt){return vt&&![nt.Z.ESC,nt.Z.SHIFT,nt.Z.BACKSPACE,nt.Z.TAB,nt.Z.WIN_KEY,nt.Z.ALT,nt.Z.META,nt.Z.WIN_KEY_RIGHT,nt.Z.CTRL,nt.Z.SEMICOLON,nt.Z.EQUALS,nt.Z.CAPS_LOCK,nt.Z.CONTEXT_MENU,nt.Z.F1,nt.Z.F2,nt.Z.F3,nt.Z.F4,nt.Z.F5,nt.Z.F6,nt.Z.F7,nt.Z.F8,nt.Z.F9,nt.Z.F10,nt.Z.F11,nt.Z.F12].includes(vt)}var Ot=ee(26112),ht=ee(83836);function Ct(vt,Dt,Te){var gt=(0,et.Z)((0,et.Z)({},vt),Te?Dt:{});return Object.keys(Dt).forEach(function(Ke){var wt=Dt[Ke];typeof wt=="function"&&(gt[Ke]=function(){for(var Ht,Hn=arguments.length,Jn=new Array(Hn),lt=0;ltur&&(Gn="".concat(lr.slice(0,ur),"..."))}var sr=function(mr){mr&&mr.stopPropagation(),br(Wt)};return typeof or=="function"?bt(hn,Gn,En,Ln,sr):We(Wt,Gn,En,Ln,sr)},dt=function(Wt){if(!Ke.length)return null;var En=typeof Xn=="function"?Xn(Wt):Xn;return typeof or=="function"?bt(void 0,En,!1,!1,void 0,!0):We({title:En},En,!1)},at=ue.createElement("div",{className:"".concat(to,"-search"),style:{width:wr},onFocus:function(){So(!0)},onBlur:function(){So(!1)}},ue.createElement(It,{ref:Jn,open:wt,prefixCls:gt,id:Te,inputElement:null,disabled:mt,autoFocus:fn,autoComplete:In,editable:Oe,activeDescendantId:pn,value:io,onKeyDown:Br,onMouseDown:cr,onChange:vr,onPaste:Tr,onCompositionStart:Er,onCompositionEnd:Wr,onBlur:Rr,tabIndex:Sn,attrs:(0,Ot.Z)(Dt,!0)}),ue.createElement("span",{ref:Sr,className:"".concat(to,"-search-mirror"),"aria-hidden":!0},io,"\xA0")),Mt=ue.createElement(ht.Z,{prefixCls:"".concat(to,"-overflow"),data:Ke,renderItem:Ze,renderRest:dt,suffix:at,itemKey:me,maxCount:qn});return ue.createElement("span",{className:"".concat(to,"-wrap")},Mt,!Ke.length&&!io&&ue.createElement("span",{className:"".concat(to,"-placeholder")},lt))},Xt=it,Xe=function(Dt){var Te=Dt.inputElement,gt=Dt.prefixCls,Ke=Dt.id,wt=Dt.inputRef,Ht=Dt.disabled,Hn=Dt.autoFocus,Jn=Dt.autoComplete,lt=Dt.activeDescendantId,mt=Dt.mode,pt=Dt.open,xt=Dt.values,fn=Dt.placeholder,In=Dt.tabIndex,pn=Dt.showSearch,Sn=Dt.searchValue,$n=Dt.activeValue,qn=Dt.maxLength,ur=Dt.onInputKeyDown,tr=Dt.onInputMouseDown,Xn=Dt.onInputChange,or=Dt.onInputPaste,dr=Dt.onInputCompositionStart,br=Dt.onInputCompositionEnd,vr=Dt.onInputBlur,Tr=Dt.title,Br=ue.useState(!1),cr=(0,Pe.Z)(Br,2),Er=cr[0],Wr=cr[1],Rr=mt==="combobox",Sr=Rr||pn,Fr=xt[0],$r=Sn||"";Rr&&$n&&!Er&&($r=$n),ue.useEffect(function(){Rr&&Wr(!1)},[Rr,$n]);var wr=mt!=="combobox"&&!pt&&!pn?!1:!!$r,gr=Tr===void 0?Vt(Fr):Tr,yr=ue.useMemo(function(){return Fr?null:ue.createElement("span",{className:"".concat(gt,"-selection-placeholder"),style:wr?{visibility:"hidden"}:void 0},fn)},[Fr,wr,fn,gt]);return ue.createElement("span",{className:"".concat(gt,"-selection-wrap")},ue.createElement("span",{className:"".concat(gt,"-selection-search")},ue.createElement(It,{ref:wt,prefixCls:gt,id:Ke,open:pt,inputElement:Te,disabled:Ht,autoFocus:Hn,autoComplete:Jn,editable:Sr,activeDescendantId:lt,value:$r,onKeyDown:ur,onMouseDown:tr,onChange:function(go){Wr(!0),Xn(go)},onPaste:or,onCompositionStart:dr,onCompositionEnd:br,onBlur:vr,tabIndex:In,attrs:(0,Ot.Z)(Dt,!0),maxLength:Rr?qn:void 0})),!Rr&&Fr?ue.createElement("span",{className:"".concat(gt,"-selection-item"),title:gr,style:wr?{visibility:"hidden"}:void 0},Fr.label):null,yr)},Gt=Xe,Fe=function(Dt,Te){var gt=(0,ue.useRef)(null),Ke=(0,ue.useRef)(!1),wt=Dt.prefixCls,Ht=Dt.open,Hn=Dt.mode,Jn=Dt.showSearch,lt=Dt.tokenWithEnter,mt=Dt.disabled,pt=Dt.prefix,xt=Dt.autoClearSearchValue,fn=Dt.onSearch,In=Dt.onSearchSubmit,pn=Dt.onToggleOpen,Sn=Dt.onInputKeyDown,$n=Dt.onInputBlur,qn=Dt.domRef;ue.useImperativeHandle(Te,function(){return{focus:function(gr){gt.current.focus(gr)},blur:function(){gt.current.blur()}}});var ur=Ae(0),tr=(0,Pe.Z)(ur,2),Xn=tr[0],or=tr[1],dr=function(gr){var yr=gr.which,Xr=gt.current instanceof HTMLTextAreaElement;!Xr&&Ht&&(yr===nt.Z.UP||yr===nt.Z.DOWN)&&gr.preventDefault(),Sn&&Sn(gr),yr===nt.Z.ENTER&&Hn==="tags"&&!Ke.current&&!Ht&&(In==null||In(gr.target.value)),!(Xr&&!Ht&&~[nt.Z.UP,nt.Z.DOWN,nt.Z.LEFT,nt.Z.RIGHT].indexOf(yr))&&zt(yr)&&pn(!0)},br=function(){or(!0)},vr=(0,ue.useRef)(null),Tr=function(gr){fn(gr,!0,Ke.current)!==!1&&pn(!0)},Br=function(){Ke.current=!0},cr=function(gr){Ke.current=!1,Hn!=="combobox"&&Tr(gr.target.value)},Er=function(gr){var yr=gr.target.value;if(lt&&vr.current&&/[\r\n]/.test(vr.current)){var Xr=vr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");yr=yr.replace(Xr,vr.current)}vr.current=null,Tr(yr)},Wr=function(gr){var yr=gr.clipboardData,Xr=yr==null?void 0:yr.getData("text");vr.current=Xr||""},Rr=function(gr){var yr=gr.target;if(yr!==gt.current){var Xr=document.body.style.msTouchAction!==void 0;Xr?setTimeout(function(){gt.current.focus()}):gt.current.focus()}},Sr=function(gr){var yr=Xn();gr.target!==gt.current&&!yr&&!(Hn==="combobox"&&mt)&&gr.preventDefault(),(Hn!=="combobox"&&(!Jn||!yr)||!Ht)&&(Ht&&xt!==!1&&fn("",!0,!1),pn())},Fr={inputRef:gt,onInputKeyDown:dr,onInputMouseDown:br,onInputChange:Er,onInputPaste:Wr,onInputCompositionStart:Br,onInputCompositionEnd:cr,onInputBlur:$n},$r=Hn==="multiple"||Hn==="tags"?ue.createElement(Xt,(0,b.Z)({},Dt,Fr)):ue.createElement(Gt,(0,b.Z)({},Dt,Fr));return ue.createElement("div",{ref:qn,className:"".concat(wt,"-selector"),onClick:Rr,onMouseDown:Sr},pt&&ue.createElement("div",{className:"".concat(wt,"-prefix")},pt),$r)},dn=ue.forwardRef(Fe),$t=dn,ae=ee(68196),ne=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],te=function(Dt){var Te=Dt===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Te,adjustY:1},htmlRegion:"scroll"}}},ie=function(Dt,Te){var gt=Dt.prefixCls,Ke=Dt.disabled,wt=Dt.visible,Ht=Dt.children,Hn=Dt.popupElement,Jn=Dt.animation,lt=Dt.transitionName,mt=Dt.dropdownStyle,pt=Dt.dropdownClassName,xt=Dt.direction,fn=xt===void 0?"ltr":xt,In=Dt.placement,pn=Dt.builtinPlacements,Sn=Dt.dropdownMatchSelectWidth,$n=Dt.dropdownRender,qn=Dt.dropdownAlign,ur=Dt.getPopupContainer,tr=Dt.empty,Xn=Dt.getTriggerDOMNode,or=Dt.onPopupVisibleChange,dr=Dt.onPopupMouseEnter,br=(0,pe.Z)(Dt,ne),vr="".concat(gt,"-dropdown"),Tr=Hn;$n&&(Tr=$n(Hn));var Br=ue.useMemo(function(){return pn||te(Sn)},[pn,Sn]),cr=Jn?"".concat(vr,"-").concat(Jn):lt,Er=typeof Sn=="number",Wr=ue.useMemo(function(){return Er?null:Sn===!1?"minWidth":"width"},[Sn,Er]),Rr=mt;Er&&(Rr=(0,et.Z)((0,et.Z)({},Rr),{},{width:Sn}));var Sr=ue.useRef(null);return ue.useImperativeHandle(Te,function(){return{getPopupElement:function(){var $r;return($r=Sr.current)===null||$r===void 0?void 0:$r.popupElement}}}),ue.createElement(ae.Z,(0,b.Z)({},br,{showAction:or?["click"]:[],hideAction:or?["click"]:[],popupPlacement:In||(fn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Br,prefixCls:vr,popupTransitionName:cr,popup:ue.createElement("div",{onMouseEnter:dr},Tr),ref:Sr,stretch:Wr,popupAlign:qn,popupVisible:wt,getPopupContainer:ur,popupClassName:Ee()(pt,(0,ce.Z)({},"".concat(vr,"-empty"),tr)),popupStyle:Rr,getTriggerDOMNode:Xn,onPopupVisibleChange:or}),Ht)},de=ue.forwardRef(ie),re=de,le=ee(48745);function Se(vt,Dt){var Te=vt.key,gt;return"value"in vt&&(gt=vt.value),Te!=null?Te:gt!==void 0?gt:"rc-index-key-".concat(Dt)}function Ge(vt){return typeof vt!="undefined"&&!Number.isNaN(vt)}function He(vt,Dt){var Te=vt||{},gt=Te.label,Ke=Te.value,wt=Te.options,Ht=Te.groupLabel,Hn=gt||(Dt?"children":"label");return{label:Hn,value:Ke||"value",options:wt||"options",groupLabel:Ht||Hn}}function Le(vt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Te=Dt.fieldNames,gt=Dt.childrenAsData,Ke=[],wt=He(Te,!1),Ht=wt.label,Hn=wt.value,Jn=wt.options,lt=wt.groupLabel;function mt(pt,xt){Array.isArray(pt)&&pt.forEach(function(fn){if(xt||!(Jn in fn)){var In=fn[Hn];Ke.push({key:Se(fn,Ke.length),groupOption:xt,data:fn,label:fn[Ht],value:In})}else{var pn=fn[lt];pn===void 0&>&&(pn=fn.label),Ke.push({key:Se(fn,Ke.length),group:!0,data:fn,label:pn}),mt(fn[Jn],!0)}})}return mt(vt,!1),Ke}function rt(vt){var Dt=(0,et.Z)({},vt);return"props"in Dt||Object.defineProperty(Dt,"props",{get:function(){return(0,Ie.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Dt}}),Dt}var ut=function(Dt,Te,gt){if(!Te||!Te.length)return null;var Ke=!1,wt=function Hn(Jn,lt){var mt=(0,le.Z)(lt),pt=mt[0],xt=mt.slice(1);if(!pt)return[Jn];var fn=Jn.split(pt);return Ke=Ke||fn.length>1,fn.reduce(function(In,pn){return[].concat((0,Me.Z)(In),(0,Me.Z)(Hn(pn,xt)))},[]).filter(Boolean)},Ht=wt(Dt,Te);return Ke?typeof gt!="undefined"?Ht.slice(0,gt):Ht:null},At=ue.createContext(null),Ne=At;function Be(vt){var Dt=vt.visible,Te=vt.values;if(!Dt)return null;var gt=50;return ue.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Te.slice(0,gt).map(function(Ke){var wt=Ke.label,Ht=Ke.value;return["number","string"].includes((0,be.Z)(wt))?wt:Ht}).join(", ")),Te.length>gt?", ...":null)}var Ut=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Zt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],mn=function(Dt){return Dt==="tags"||Dt==="multiple"},vn=ue.forwardRef(function(vt,Dt){var Te,gt=vt.id,Ke=vt.prefixCls,wt=vt.className,Ht=vt.showSearch,Hn=vt.tagRender,Jn=vt.direction,lt=vt.omitDomProps,mt=vt.displayValues,pt=vt.onDisplayValuesChange,xt=vt.emptyOptions,fn=vt.notFoundContent,In=fn===void 0?"Not Found":fn,pn=vt.onClear,Sn=vt.mode,$n=vt.disabled,qn=vt.loading,ur=vt.getInputElement,tr=vt.getRawInputElement,Xn=vt.open,or=vt.defaultOpen,dr=vt.onDropdownVisibleChange,br=vt.activeValue,vr=vt.onActiveValueChange,Tr=vt.activeDescendantId,Br=vt.searchValue,cr=vt.autoClearSearchValue,Er=vt.onSearch,Wr=vt.onSearchSplit,Rr=vt.tokenSeparators,Sr=vt.allowClear,Fr=vt.prefix,$r=vt.suffixIcon,wr=vt.clearIcon,gr=vt.OptionList,yr=vt.animation,Xr=vt.transitionName,go=vt.dropdownStyle,So=vt.dropdownClassName,to=vt.dropdownMatchSelectWidth,io=vt.dropdownRender,Oe=vt.dropdownAlign,We=vt.placement,bt=vt.builtinPlacements,Ze=vt.getPopupContainer,dt=vt.showAction,at=dt===void 0?[]:dt,Mt=vt.onFocus,Bt=vt.onBlur,Wt=vt.onKeyUp,En=vt.onKeyDown,Rn=vt.onMouseDown,hn=(0,pe.Z)(vt,Ut),Ln=mn(Sn),Gn=(Ht!==void 0?Ht:Ln)||Sn==="combobox",lr=(0,et.Z)({},hn);Zt.forEach(function(zo){delete lr[zo]}),lt==null||lt.forEach(function(zo){delete lr[zo]});var sr=ue.useState(!1),pr=(0,Pe.Z)(sr,2),mr=pr[0],kr=pr[1];ue.useEffect(function(){kr((0,ot.Z)())},[]);var xr=ue.useRef(null),Gr=ue.useRef(null),Or=ue.useRef(null),Dr=ue.useRef(null),Ar=ue.useRef(null),_r=ue.useRef(!1),fo=Qe(),ko=(0,Pe.Z)(fo,3),Io=ko[0],Vo=ko[1],Qr=ko[2];ue.useImperativeHandle(Dt,function(){var zo,Po;return{focus:(zo=Dr.current)===null||zo===void 0?void 0:zo.focus,blur:(Po=Dr.current)===null||Po===void 0?void 0:Po.blur,scrollTo:function(Pi){var gi;return(gi=Ar.current)===null||gi===void 0?void 0:gi.scrollTo(Pi)},nativeElement:xr.current||Gr.current}});var Vr=ue.useMemo(function(){var zo;if(Sn!=="combobox")return Br;var Po=(zo=mt[0])===null||zo===void 0?void 0:zo.value;return typeof Po=="string"||typeof Po=="number"?String(Po):""},[Br,Sn,mt]),_o=Sn==="combobox"&&typeof ur=="function"&&ur()||null,Uo=typeof tr=="function"&&tr(),ni=(0,st.x1)(Gr,Uo==null||(Te=Uo.props)===null||Te===void 0?void 0:Te.ref),Zi=ue.useState(!1),Si=(0,Pe.Z)(Zi,2),Ai=Si[0],Oi=Si[1];(0,Rt.Z)(function(){Oi(!0)},[]);var Go=(0,Ve.Z)(!1,{defaultValue:or,value:Xn}),Di=(0,Pe.Z)(Go,2),ya=Di[0],Qi=Di[1],Qo=Ai?ya:!1,Ha=!In&&xt;($n||Ha&&Qo&&Sn==="combobox")&&(Qo=!1);var Ba=Ha?!1:Qo,wo=ue.useCallback(function(zo){var Po=zo!==void 0?zo:!Qo;$n||(Qi(Po),Qo!==Po&&(dr==null||dr(Po)))},[$n,Qo,Qi,dr]),Eo=ue.useMemo(function(){return(Rr||[]).some(function(zo){return[` +`,`\r +`].includes(zo)})},[Rr]),Zr=ue.useContext(Ne)||{},Pr=Zr.maxCount,Jr=Zr.rawValues,mo=function(Po,ci,Pi){if(!(Ln&&Ge(Pr)&&(Jr==null?void 0:Jr.size)>=Pr)){var gi=!0,ri=Po;vr==null||vr(null);var aa=ut(Po,Rr,Ge(Pr)?Pr-Jr.size:void 0),zi=Pi?null:aa;return Sn!=="combobox"&&zi&&(ri="",Wr==null||Wr(zi),wo(!1),gi=!1),Er&&Vr!==ri&&Er(ri,{source:ci?"typing":"effect"}),gi}},ui=function(Po){!Po||!Po.trim()||Er(Po,{source:"submit"})};ue.useEffect(function(){!Qo&&!Ln&&Sn!=="combobox"&&mo("",!1,!1)},[Qo]),ue.useEffect(function(){ya&&$n&&Qi(!1),$n&&!_r.current&&Vo(!1)},[$n]);var Zo=Ae(),$o=(0,Pe.Z)(Zo,2),Ro=$o[0],hi=$o[1],wi=ue.useRef(!1),Bi=function(Po){var ci=Ro(),Pi=Po.key,gi=Pi==="Enter";if(gi&&(Sn!=="combobox"&&Po.preventDefault(),Qo||wo(!0)),hi(!!Vr),Pi==="Backspace"&&!ci&&Ln&&!Vr&&mt.length){for(var ri=(0,Me.Z)(mt),aa=null,zi=ri.length-1;zi>=0;zi-=1){var la=ri[zi];if(!la.disabled){ri.splice(zi,1),aa=la;break}}aa&&pt(ri,{type:"remove",values:[aa]})}for(var sa=arguments.length,ca=new Array(sa>1?sa-1:0),ua=1;ua1?ci-1:0),gi=1;gi1?aa-1:0),la=1;la=In},[Hn,In,tr==null?void 0:tr.size]),Rr=function(at){at.preventDefault()},Sr=function(at){var Mt;(Mt=Er.current)===null||Mt===void 0||Mt.scrollTo(typeof at=="number"?{index:at}:at)},Fr=ue.useCallback(function(dt){return Jn==="combobox"?!1:tr.has(dt)},[Jn,(0,Me.Z)(tr).toString(),tr.size]),$r=function(at){for(var Mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Bt=cr.length,Wt=0;Wt1&&arguments[1]!==void 0?arguments[1]:!1;Xr(at);var Bt={source:Mt?"keyboard":"mouse"},Wt=cr[at];if(!Wt){Sn(null,-1,Bt);return}Sn(Wt.value,at,Bt)};(0,ue.useEffect)(function(){go($n!==!1?$r(0):-1)},[cr.length,lt]);var So=ue.useCallback(function(dt){return Jn==="combobox"?String(dt).toLowerCase()===lt.toLowerCase():tr.has(dt)},[Jn,lt,(0,Me.Z)(tr).toString(),tr.size]);(0,ue.useEffect)(function(){var dt=setTimeout(function(){if(!Hn&&Ht&&tr.size===1){var Mt=Array.from(tr)[0],Bt=cr.findIndex(function(Wt){var En=Wt.data;return lt?String(En.value).startsWith(lt):En.value===Mt});Bt!==-1&&(go(Bt),Sr(Bt))}});if(Ht){var at;(at=Er.current)===null||at===void 0||at.scrollTo(void 0)}return function(){return clearTimeout(dt)}},[Ht,lt]);var to=function(at){at!==void 0&&qn(at,{selected:!tr.has(at)}),Hn||mt(!1)};if(ue.useImperativeHandle(Te,function(){return{onKeyDown:function(at){var Mt=at.which,Bt=at.ctrlKey;switch(Mt){case nt.Z.N:case nt.Z.P:case nt.Z.UP:case nt.Z.DOWN:{var Wt=0;if(Mt===nt.Z.UP?Wt=-1:Mt===nt.Z.DOWN?Wt=1:Pt()&&Bt&&(Mt===nt.Z.N?Wt=1:Mt===nt.Z.P&&(Wt=-1)),Wt!==0){var En=$r(yr+Wt,Wt);Sr(En),go(En,!0)}break}case nt.Z.TAB:case nt.Z.ENTER:{var Rn,hn=cr[yr];hn&&!(hn!=null&&(Rn=hn.data)!==null&&Rn!==void 0&&Rn.disabled)&&!Wr?to(hn.value):to(void 0),Ht&&at.preventDefault();break}case nt.Z.ESC:mt(!1),Ht&&at.stopPropagation()}},onKeyUp:function(){},scrollTo:function(at){Sr(at)}}}),cr.length===0)return ue.createElement("div",{role:"listbox",id:"".concat(wt,"_list"),className:"".concat(Br,"-empty"),onMouseDown:Rr},pt);var io=Object.keys(Xn).map(function(dt){return Xn[dt]}),Oe=function(at){return at.label};function We(dt,at){var Mt=dt.group;return{role:Mt?"presentation":"option",id:"".concat(wt,"_list_").concat(at)}}var bt=function(at){var Mt=cr[at];if(!Mt)return null;var Bt=Mt.data||{},Wt=Bt.value,En=Mt.group,Rn=(0,Ot.Z)(Bt,!0),hn=Oe(Mt);return Mt?ue.createElement("div",(0,b.Z)({"aria-label":typeof hn=="string"&&!En?hn:null},Rn,{key:at},We(Mt,at),{"aria-selected":So(Wt)}),Wt):null},Ze={role:"listbox",id:"".concat(wt,"_list")};return ue.createElement(ue.Fragment,null,or&&ue.createElement("div",(0,b.Z)({},Ze,{style:{height:0,width:0,overflow:"hidden"}}),bt(yr-1),bt(yr),bt(yr+1)),ue.createElement(je.Z,{itemKey:"key",ref:Er,data:cr,height:br,itemHeight:vr,fullHeight:!1,onMouseDown:Rr,onScroll:xt,virtual:or,direction:dr,innerProps:or?null:Ze},function(dt,at){var Mt=dt.group,Bt=dt.groupOption,Wt=dt.data,En=dt.label,Rn=dt.value,hn=Wt.key;if(Mt){var Ln,Gn=(Ln=Wt.title)!==null&&Ln!==void 0?Ln:nn(En)?En.toString():void 0;return ue.createElement("div",{className:Ee()(Br,"".concat(Br,"-group"),Wt.className),title:Gn},En!==void 0?En:hn)}var lr=Wt.disabled,sr=Wt.title,pr=Wt.children,mr=Wt.style,kr=Wt.className,xr=(0,pe.Z)(Wt,Kt),Gr=(0,_t.Z)(xr,io),Or=Fr(Rn),Dr=lr||!Or&&Wr,Ar="".concat(Br,"-option"),_r=Ee()(Br,Ar,kr,(0,ce.Z)((0,ce.Z)((0,ce.Z)((0,ce.Z)({},"".concat(Ar,"-grouped"),Bt),"".concat(Ar,"-active"),yr===at&&!Dr),"".concat(Ar,"-disabled"),Dr),"".concat(Ar,"-selected"),Or)),fo=Oe(dt),ko=!ur||typeof ur=="function"||Or,Io=typeof fo=="number"?fo:fo||Rn,Vo=nn(Io)?Io.toString():void 0;return sr!==void 0&&(Vo=sr),ue.createElement("div",(0,b.Z)({},(0,Ot.Z)(Gr),or?{}:We(dt,at),{"aria-selected":So(Rn),className:_r,title:Vo,onMouseMove:function(){yr===at||Dr||go(at)},onClick:function(){Dr||to(Rn)},style:mr}),ue.createElement("div",{className:"".concat(Ar,"-content")},typeof Tr=="function"?Tr(dt,{index:at}):Io),ue.isValidElement(ur)||Or,ko&&ue.createElement(Re,{className:"".concat(Br,"-option-state"),customizeIcon:ur,customizeIconProps:{value:Rn,disabled:Dr,isSelected:Or}},Or?"\u2713":null))}))},_n=ue.forwardRef(On),nr=_n,ir=function(vt,Dt){var Te=ue.useRef({values:new Map,options:new Map}),gt=ue.useMemo(function(){var wt=Te.current,Ht=wt.values,Hn=wt.options,Jn=vt.map(function(pt){if(pt.label===void 0){var xt;return(0,et.Z)((0,et.Z)({},pt),{},{label:(xt=Ht.get(pt.value))===null||xt===void 0?void 0:xt.label})}return pt}),lt=new Map,mt=new Map;return Jn.forEach(function(pt){lt.set(pt.value,pt),mt.set(pt.value,Dt.get(pt.value)||Hn.get(pt.value))}),Te.current.values=lt,Te.current.options=mt,Jn},[vt,Dt]),Ke=ue.useCallback(function(wt){return Dt.get(wt)||Te.current.options.get(wt)},[Dt]);return[gt,Ke]};function Zn(vt,Dt){return _e(vt).join("").toUpperCase().includes(Dt)}var er=function(vt,Dt,Te,gt,Ke){return ue.useMemo(function(){if(!Te||gt===!1)return vt;var wt=Dt.options,Ht=Dt.label,Hn=Dt.value,Jn=[],lt=typeof gt=="function",mt=Te.toUpperCase(),pt=lt?gt:function(fn,In){return Ke?Zn(In[Ke],mt):In[wt]?Zn(In[Ht!=="children"?Ht:"label"],mt):Zn(In[Hn],mt)},xt=lt?function(fn){return rt(fn)}:function(fn){return fn};return vt.forEach(function(fn){if(fn[wt]){var In=pt(Te,xt(fn));if(In)Jn.push(fn);else{var pn=fn[wt].filter(function(Sn){return pt(Te,xt(Sn))});pn.length&&Jn.push((0,et.Z)((0,et.Z)({},fn),{},(0,ce.Z)({},wt,pn)))}return}pt(Te,xt(fn))&&Jn.push(fn)}),Jn},[vt,gt,Ke,Te,Dt])},kn=ee(6551),cn=ee(11592),bn=["children","value"],St=["children"];function Et(vt){var Dt=vt,Te=Dt.key,gt=Dt.props,Ke=gt.children,wt=gt.value,Ht=(0,pe.Z)(gt,bn);return(0,et.Z)({key:Te,value:wt!==void 0?wt:Te,children:Ke},Ht)}function sn(vt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,cn.Z)(vt).map(function(Te,gt){if(!ue.isValidElement(Te)||!Te.type)return null;var Ke=Te,wt=Ke.type.isSelectOptGroup,Ht=Ke.key,Hn=Ke.props,Jn=Hn.children,lt=(0,pe.Z)(Hn,St);return Dt||!wt?Et(Te):(0,et.Z)((0,et.Z)({key:"__RC_SELECT_GRP__".concat(Ht===null?gt:Ht,"__"),label:Ht},lt),{},{options:sn(Jn)})}).filter(function(Te){return Te})}var Pn=function(Dt,Te,gt,Ke,wt){return ue.useMemo(function(){var Ht=Dt,Hn=!Dt;Hn&&(Ht=sn(Te));var Jn=new Map,lt=new Map,mt=function(fn,In,pn){pn&&typeof pn=="string"&&fn.set(In[pn],In)},pt=function xt(fn){for(var In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,pn=0;pn1&&arguments[1]!==void 0?arguments[1]:!1,Ht=0;Ht0?wo(Pr.options):Pr.options}):Pr})},ko=ue.useMemo(function(){return qn?fo(_r):_r},[_r,qn,Ze]),Io=ue.useMemo(function(){return Le(ko,{fieldNames:Oe,childrenAsData:to})},[ko,Oe,to]),Vo=function(Eo){var Zr=En(Eo);if(Gn(Zr),gr&&(Zr.length!==mr.length||Zr.some(function(mo,ui){var Zo;return((Zo=mr[ui])===null||Zo===void 0?void 0:Zo.value)!==(mo==null?void 0:mo.value)}))){var Pr=wr?Zr:Zr.map(function(mo){return mo.value}),Jr=Zr.map(function(mo){return rt(kr(mo.value))});gr(So?Pr:Pr[0],So?Jr:Jr[0])}},Qr=ue.useState(null),Vr=(0,Pe.Z)(Qr,2),_o=Vr[0],Uo=Vr[1],ni=ue.useState(0),Zi=(0,Pe.Z)(ni,2),Si=Zi[0],Ai=Zi[1],Oi=br!==void 0?br:gt!=="combobox",Go=ue.useCallback(function(wo,Eo){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Pr=Zr.source,Jr=Pr===void 0?"keyboard":Pr;Ai(Eo),Ht&>==="combobox"&&wo!==null&&Jr==="keyboard"&&Uo(String(wo))},[Ht,gt]),Di=function(Eo,Zr,Pr){var Jr=function(){var oa,Ui=kr(Eo);return[wr?{label:Ui==null?void 0:Ui[Oe.label],value:Eo,key:(oa=Ui==null?void 0:Ui.key)!==null&&oa!==void 0?oa:Eo}:Eo,rt(Ui)]};if(Zr&&fn){var mo=Jr(),ui=(0,Pe.Z)(mo,2),Zo=ui[0],$o=ui[1];fn(Zo,$o)}else if(!Zr&&In&&Pr!=="clear"){var Ro=Jr(),hi=(0,Pe.Z)(Ro,2),wi=hi[0],Bi=hi[1];In(wi,Bi)}},ya=Jt(function(wo,Eo){var Zr,Pr=So?Eo.selected:!0;Pr?Zr=So?[].concat((0,Me.Z)(mr),[wo]):[wo]:Zr=mr.filter(function(Jr){return Jr.value!==wo}),Vo(Zr),Di(wo,Pr),gt==="combobox"?Uo(""):(!mn||xt)&&(dt(""),Uo(""))}),Qi=function(Eo,Zr){Vo(Eo);var Pr=Zr.type,Jr=Zr.values;(Pr==="remove"||Pr==="clear")&&Jr.forEach(function(mo){Di(mo.value,!1,Pr)})},Qo=function(Eo,Zr){if(dt(Eo),Uo(null),Zr.source==="submit"){var Pr=(Eo||"").trim();if(Pr){var Jr=Array.from(new Set([].concat((0,Me.Z)(Gr),[Pr])));Vo(Jr),Di(Pr,!0),dt("")}return}Zr.source!=="blur"&&(gt==="combobox"&&Vo(Eo),mt==null||mt(Eo))},Ha=function(Eo){var Zr=Eo;gt!=="tags"&&(Zr=Eo.map(function(Jr){var mo=Bt.get(Jr);return mo==null?void 0:mo.value}).filter(function(Jr){return Jr!==void 0}));var Pr=Array.from(new Set([].concat((0,Me.Z)(Gr),(0,Me.Z)(Zr))));Vo(Pr),Pr.forEach(function(Jr){Di(Jr,!0)})},Ba=ue.useMemo(function(){var wo=Tr!==!1&&Sn!==!1;return(0,et.Z)((0,et.Z)({},at),{},{flattenOptions:Io,onActiveValue:Go,defaultActiveFirstOption:Oi,onSelect:ya,menuItemSelectedIcon:vr,rawValues:Gr,fieldNames:Oe,virtual:wo,direction:Br,listHeight:Er,listItemHeight:Rr,childrenAsData:to,maxCount:yr,optionRender:or})},[yr,at,Io,Go,Oi,ya,vr,Gr,Oe,Tr,Sn,Br,Er,Rr,to,or]);return ue.createElement(Ne.Provider,{value:Ba},ue.createElement(jt,(0,b.Z)({},Xr,{id:go,prefixCls:wt,ref:Dt,omitDomProps:rr,mode:gt,displayValues:xr,onDisplayValuesChange:Qi,direction:Br,searchValue:Ze,onSearch:Qo,autoClearSearchValue:xt,onSearchSplit:Ha,dropdownMatchSelectWidth:Sn,OptionList:nr,emptyOptions:!Io.length,activeValue:_o,activeDescendantId:"".concat(go,"_list_").concat(Si)})))}),xn=Yt;xn.Option=Tt,xn.OptGroup=on;var Vn=xn,jn=Vn},22711:function(Bn,rn,ee){"use strict";ee.r(rn),ee.d(rn,{ResizableTextArea:function(){return De},default:function(){return It}});var b=ee(60499),Me=ee(18642),ce=ee(85899),et=ee(77654),Pe=ee(72190),pe=ee(42244),be=ee(92310),Ve=ee.n(be),Ie=ee(36901),ue=ee(66003),$e=ee(30292),Ee=ee(18929),Rt=ee(59301),ot=ee(43749),st=ee(29301),Ue=ee(34280),Re=ee(16089),ft=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,kt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],en={},Qe;function Ae(_e){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft=_e.getAttribute("id")||_e.getAttribute("data-reactid")||_e.getAttribute("name");if(Ye&&en[Ft])return en[Ft];var Ce=window.getComputedStyle(_e),he=Ce.getPropertyValue("box-sizing")||Ce.getPropertyValue("-moz-box-sizing")||Ce.getPropertyValue("-webkit-box-sizing"),yt=parseFloat(Ce.getPropertyValue("padding-bottom"))+parseFloat(Ce.getPropertyValue("padding-top")),Vt=parseFloat(Ce.getPropertyValue("border-bottom-width"))+parseFloat(Ce.getPropertyValue("border-top-width")),Lt=kt.map(function(qe){return"".concat(qe,":").concat(Ce.getPropertyValue(qe))}).join(";"),me={sizingStyle:Lt,paddingSize:yt,borderSize:Vt,boxSizing:he};return Ye&&Ft&&(en[Ft]=me),me}function tt(_e){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Qe||(Qe=document.createElement("textarea"),Qe.setAttribute("tab-index","-1"),Qe.setAttribute("aria-hidden","true"),Qe.setAttribute("name","hiddenTextarea"),document.body.appendChild(Qe)),_e.getAttribute("wrap")?Qe.setAttribute("wrap",_e.getAttribute("wrap")):Qe.removeAttribute("wrap");var he=Ae(_e,Ye),yt=he.paddingSize,Vt=he.borderSize,Lt=he.boxSizing,me=he.sizingStyle;Qe.setAttribute("style","".concat(me,";").concat(ft)),Qe.value=_e.value||_e.placeholder||"";var qe=void 0,it=void 0,Xt,Xe=Qe.scrollHeight;if(Lt==="border-box"?Xe+=Vt:Lt==="content-box"&&(Xe-=yt),Ft!==null||Ce!==null){Qe.value=" ";var Gt=Qe.scrollHeight-yt;Ft!==null&&(qe=Gt*Ft,Lt==="border-box"&&(qe=qe+yt+Vt),Xe=Math.max(qe,Xe)),Ce!==null&&(it=Gt*Ce,Lt==="border-box"&&(it=it+yt+Vt),Xt=Xe>it?"":"hidden",Xe=Math.min(it,Xe))}var Fe={height:Xe,overflowY:Xt,resize:"none"};return qe&&(Fe.minHeight=qe),it&&(Fe.maxHeight=it),Fe}var nt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],zt=0,Ot=1,ht=2,Ct=Rt.forwardRef(function(_e,Ye){var Ft=_e,Ce=Ft.prefixCls,he=Ft.defaultValue,yt=Ft.value,Vt=Ft.autoSize,Lt=Ft.onResize,me=Ft.className,qe=Ft.style,it=Ft.disabled,Xt=Ft.onChange,Xe=Ft.onInternalAutoSize,Gt=(0,pe.Z)(Ft,nt),Fe=(0,Ee.Z)(he,{value:yt,postState:function(Tt){return Tt!=null?Tt:""}}),dn=(0,Pe.Z)(Fe,2),$t=dn[0],ae=dn[1],ne=function(Tt){ae(Tt.target.value),Xt==null||Xt(Tt)},te=Rt.useRef();Rt.useImperativeHandle(Ye,function(){return{textArea:te.current}});var ie=Rt.useMemo(function(){return Vt&&(0,ot.Z)(Vt)==="object"?[Vt.minRows,Vt.maxRows]:[]},[Vt]),de=(0,Pe.Z)(ie,2),re=de[0],le=de[1],Se=!!Vt,Ge=function(){try{if(document.activeElement===te.current){var Tt=te.current,an=Tt.selectionStart,_t=Tt.selectionEnd,je=Tt.scrollTop;te.current.setSelectionRange(an,_t),te.current.scrollTop=je}}catch(Pt){}},He=Rt.useState(ht),Le=(0,Pe.Z)(He,2),rt=Le[0],ut=Le[1],At=Rt.useState(),Ne=(0,Pe.Z)(At,2),Be=Ne[0],Ut=Ne[1],Zt=function(){ut(zt)};(0,Ue.Z)(function(){Se&&Zt()},[yt,re,le,Se]),(0,Ue.Z)(function(){if(rt===zt)ut(Ot);else if(rt===Ot){var Je=tt(te.current,!1,re,le);ut(ht),Ut(Je)}else Ge()},[rt]);var mn=Rt.useRef(),vn=function(){Re.Z.cancel(mn.current)},jt=function(Tt){rt===ht&&(Lt==null||Lt(Tt),Vt&&(vn(),mn.current=(0,Re.Z)(function(){Zt()})))};Rt.useEffect(function(){return vn},[]);var Cn=Se?Be:null,on=(0,ce.Z)((0,ce.Z)({},qe),Cn);return(rt===zt||rt===Ot)&&(on.overflowY="hidden",on.overflowX="hidden"),Rt.createElement(st.Z,{onResize:jt,disabled:!(Vt||Lt)},Rt.createElement("textarea",(0,b.Z)({},Gt,{ref:te,style:on,className:Ve()(Ce,me,(0,Me.Z)({},"".concat(Ce,"-disabled"),it)),disabled:it,value:$t,onChange:ne})))}),De=Ct,ke=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],xe=Rt.forwardRef(function(_e,Ye){var Ft,Ce=_e.defaultValue,he=_e.value,yt=_e.onFocus,Vt=_e.onBlur,Lt=_e.onChange,me=_e.allowClear,qe=_e.maxLength,it=_e.onCompositionStart,Xt=_e.onCompositionEnd,Xe=_e.suffix,Gt=_e.prefixCls,Fe=Gt===void 0?"rc-textarea":Gt,dn=_e.showCount,$t=_e.count,ae=_e.className,ne=_e.style,te=_e.disabled,ie=_e.hidden,de=_e.classNames,re=_e.styles,le=_e.onResize,Se=_e.onClear,Ge=_e.onPressEnter,He=_e.readOnly,Le=_e.autoSize,rt=_e.onKeyDown,ut=(0,pe.Z)(_e,ke),At=(0,Ee.Z)(Ce,{value:he,defaultValue:Ce}),Ne=(0,Pe.Z)(At,2),Be=Ne[0],Ut=Ne[1],Zt=Be==null?"":String(Be),mn=Rt.useState(!1),vn=(0,Pe.Z)(mn,2),jt=vn[0],Cn=vn[1],on=Rt.useRef(!1),Je=Rt.useState(null),Tt=(0,Pe.Z)(Je,2),an=Tt[0],_t=Tt[1],je=(0,Rt.useRef)(null),Pt=(0,Rt.useRef)(null),Kt=function(){var xn;return(xn=Pt.current)===null||xn===void 0?void 0:xn.textArea},nn=function(){Kt().focus()};(0,Rt.useImperativeHandle)(Ye,function(){var Yt;return{resizableTextArea:Pt.current,focus:nn,blur:function(){Kt().blur()},nativeElement:((Yt=je.current)===null||Yt===void 0?void 0:Yt.nativeElement)||Kt()}}),(0,Rt.useEffect)(function(){Cn(function(Yt){return!te&&Yt})},[te]);var On=Rt.useState(null),_n=(0,Pe.Z)(On,2),nr=_n[0],ir=_n[1];Rt.useEffect(function(){if(nr){var Yt;(Yt=Kt()).setSelectionRange.apply(Yt,(0,et.Z)(nr))}},[nr]);var Zn=(0,ue.Z)($t,dn),er=(Ft=Zn.max)!==null&&Ft!==void 0?Ft:qe,kn=Number(er)>0,cn=Zn.strategy(Zt),bn=!!er&&cn>er,St=function(xn,Vn){var jn=Vn;!on.current&&Zn.exceedFormatter&&Zn.max&&Zn.strategy(Vn)>Zn.max&&(jn=Zn.exceedFormatter(Vn,{max:Zn.max}),Vn!==jn&&ir([Kt().selectionStart||0,Kt().selectionEnd||0])),Ut(jn),(0,$e.rJ)(xn.currentTarget,xn,Lt,jn)},Et=function(xn){on.current=!0,it==null||it(xn)},sn=function(xn){on.current=!1,St(xn,xn.currentTarget.value),Xt==null||Xt(xn)},Pn=function(xn){St(xn,xn.target.value)},Tn=function(xn){xn.key==="Enter"&&Ge&&Ge(xn),rt==null||rt(xn)},Jt=function(xn){Cn(!0),yt==null||yt(xn)},wn=function(xn){Cn(!1),Vt==null||Vt(xn)},gn=function(xn){Ut(""),nn(),(0,$e.rJ)(Kt(),xn,Lt)},Nn=Xe,An;Zn.show&&(Zn.showFormatter?An=Zn.showFormatter({value:Zt,count:cn,maxLength:er}):An="".concat(cn).concat(kn?" / ".concat(er):""),Nn=Rt.createElement(Rt.Fragment,null,Nn,Rt.createElement("span",{className:Ve()("".concat(Fe,"-data-count"),de==null?void 0:de.count),style:re==null?void 0:re.count},An)));var rr=function(xn){var Vn;le==null||le(xn),(Vn=Kt())!==null&&Vn!==void 0&&Vn.style.height&&_t(!0)},Qt=!Le&&!dn&&!me;return Rt.createElement(Ie.BaseInput,{ref:je,value:Zt,allowClear:me,handleReset:gn,suffix:Nn,prefixCls:Fe,classNames:(0,ce.Z)((0,ce.Z)({},de),{},{affixWrapper:Ve()(de==null?void 0:de.affixWrapper,(0,Me.Z)((0,Me.Z)({},"".concat(Fe,"-show-count"),dn),"".concat(Fe,"-textarea-allow-clear"),me))}),disabled:te,focused:jt,className:Ve()(ae,bn&&"".concat(Fe,"-out-of-range")),style:(0,ce.Z)((0,ce.Z)({},ne),an&&!Qt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof An=="string"?An:void 0}},hidden:ie,readOnly:He,onClear:Se},Rt.createElement(De,(0,b.Z)({},ut,{autoSize:Le,maxLength:qe,onKeyDown:Tn,onChange:Pn,onFocus:Jt,onBlur:wn,onCompositionStart:Et,onCompositionEnd:sn,className:Ve()(de==null?void 0:de.textarea),style:(0,ce.Z)((0,ce.Z)({},re==null?void 0:re.textarea),{},{resize:ne==null?void 0:ne.resize}),disabled:te,prefixCls:Fe,onResize:rr,ref:Pt,readOnly:He})))}),se=xe,It=se},639:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return en}});var b=ee(60499),Me=ee(18642),ce=ee(85899),et=ee(72190),Pe=ee(42244),pe=ee(59301),be=ee(92310),Ve=ee.n(be),Ie=ee(26112),ue=ee(30699),$e=function(Ae){for(var tt=Ae.prefixCls,nt=Ae.level,zt=Ae.isStart,Ot=Ae.isEnd,ht="".concat(tt,"-indent-unit"),Ct=[],De=0;De0&&arguments[0]!==void 0?arguments[0]:[],de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],re=ie.length,le=de.length;if(Math.abs(re-le)!==1)return{add:!1,key:null};function Se(Ge,He){var Le=new Map;Ge.forEach(function(ut){Le.set(ut,!0)});var rt=He.filter(function(ut){return!Le.has(ut)});return rt.length===1?rt[0]:null}return re ").concat(de);return de}var Xt=Ue.forwardRef(function(ie,de){var re=ie.prefixCls,le=ie.data,Se=ie.selectable,Ge=ie.checkable,He=ie.expandedKeys,Le=ie.selectedKeys,rt=ie.checkedKeys,ut=ie.loadedKeys,At=ie.loadingKeys,Ne=ie.halfCheckedKeys,Be=ie.keyEntities,Ut=ie.disabled,Zt=ie.dragging,mn=ie.dragOverNodeKey,vn=ie.dropPosition,jt=ie.motion,Cn=ie.height,on=ie.itemHeight,Je=ie.virtual,Tt=ie.scrollWidth,an=ie.focusable,_t=ie.activeItem,je=ie.focused,Pt=ie.tabIndex,Kt=ie.onKeyDown,nn=ie.onFocus,On=ie.onBlur,_n=ie.onActiveChange,nr=ie.onListChangeStart,ir=ie.onListChangeEnd,Zn=(0,Ae.Z)(ie,Ye),er=Ue.useRef(null),kn=Ue.useRef(null);Ue.useImperativeHandle(de,function(){return{scrollTo:function(Hn){er.current.scrollTo(Hn)},getIndentWidth:function(){return kn.current.offsetWidth}}});var cn=Ue.useState(He),bn=(0,Qe.Z)(cn,2),St=bn[0],Et=bn[1],sn=Ue.useState(le),Pn=(0,Qe.Z)(sn,2),Tn=Pn[0],Jt=Pn[1],wn=Ue.useState(le),gn=(0,Qe.Z)(wn,2),Nn=gn[0],An=gn[1],rr=Ue.useState([]),Qt=(0,Qe.Z)(rr,2),Yt=Qt[0],xn=Qt[1],Vn=Ue.useState(null),jn=(0,Qe.Z)(Vn,2),vt=jn[0],Dt=jn[1],Te=Ue.useRef(le);Te.current=le;function gt(){var Ht=Te.current;Jt(Ht),An(Ht),xn([]),Dt(null),ir()}(0,tt.Z)(function(){Et(He);var Ht=It(St,He);if(Ht.key!==null)if(Ht.add){var Hn=Tn.findIndex(function(fn){var In=fn.key;return In===Ht.key}),Jn=me(_e(Tn,le,Ht.key),Je,Cn,on),lt=Tn.slice();lt.splice(Hn+1,0,Lt),An(lt),xn(Jn),Dt("show")}else{var mt=le.findIndex(function(fn){var In=fn.key;return In===Ht.key}),pt=me(_e(le,Tn,Ht.key),Je,Cn,on),xt=le.slice();xt.splice(mt+1,0,Lt),An(xt),xn(pt),Dt("hide")}else Tn!==le&&(Jt(le),An(le))},[He,le]),Ue.useEffect(function(){Zt||gt()},[Zt]);var Ke=jt?Nn:le,wt={expandedKeys:He,selectedKeys:Le,loadedKeys:ut,loadingKeys:At,checkedKeys:rt,halfCheckedKeys:Ne,dragOverNodeKey:mn,dropPosition:vn,keyEntities:Be};return Ue.createElement(Ue.Fragment,null,je&&_t&&Ue.createElement("span",{style:Ft,"aria-live":"assertive"},it(_t)),Ue.createElement("div",null,Ue.createElement("input",{style:Ft,disabled:an===!1||Ut,tabIndex:an!==!1?Pt:null,onKeyDown:Kt,onFocus:nn,onBlur:On,value:"",onChange:Ce,"aria-label":"for screen reader"})),Ue.createElement("div",{className:"".concat(re,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Ue.createElement("div",{className:"".concat(re,"-indent")},Ue.createElement("div",{ref:kn,className:"".concat(re,"-indent-unit")}))),Ue.createElement(nt.Z,(0,b.Z)({},Zn,{data:Ke,itemKey:qe,height:Cn,fullHeight:!1,virtual:Je,itemHeight:on,scrollWidth:Tt,prefixCls:"".concat(re,"-list"),ref:er,role:"tree",onVisibleChange:function(Hn){Hn.every(function(Jn){return qe(Jn)!==he})&>()}}),function(Ht){var Hn=Ht.pos,Jn=Object.assign({},(en(Ht.data),Ht.data)),lt=Ht.title,mt=Ht.key,pt=Ht.isStart,xt=Ht.isEnd,fn=(0,De.km)(mt,Hn);delete Jn.key,delete Jn.children;var In=(0,De.H8)(fn,wt);return Ue.createElement(se,(0,b.Z)({},Jn,In,{title:lt,active:!!_t&&mt===_t.key,pos:Hn,data:Ht.data,isStart:pt,isEnd:xt,motion:jt,motionNodes:mt===he?Yt:null,motionType:vt,onMotionStart:nr,onMotionEnd:gt,treeNodeRequiredProps:wt,onMouseMove:function(){_n(null)}}))}))}),Xe=Xt,Gt=ee(82661),Fe=ee(34643),dn=ee(65065),$t=10,ae=function(ie){(0,Ve.Z)(re,ie);var de=(0,Ie.Z)(re);function re(){var le;(0,Pe.Z)(this,re);for(var Se=arguments.length,Ge=new Array(Se),He=0;He2&&arguments[2]!==void 0?arguments[2]:!1,Ne=le.state,Be=Ne.dragChildrenKeys,Ut=Ne.dropPosition,Zt=Ne.dropTargetKey,mn=Ne.dropTargetPos,vn=Ne.dropAllowed;if(vn){var jt=le.props.onDrop;if(le.setState({dragOverNodeKey:null}),le.cleanDragState(),Zt!==null){var Cn=(0,ce.Z)((0,ce.Z)({},(0,De.H8)(Zt,le.getTreeNodeRequiredProps())),{},{active:((ut=le.getActiveItem())===null||ut===void 0?void 0:ut.key)===Zt,data:(0,dn.Z)(le.state.keyEntities,Zt).node}),on=Be.includes(Zt);(0,st.ZP)(!on,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Je=(0,Gt.yx)(mn),Tt={event:Le,node:(0,De.F)(Cn),dragNode:le.dragNodeProps?(0,De.F)(le.dragNodeProps):null,dragNodesKeys:[le.dragNodeProps.eventKey].concat(Be),dropToGap:Ut!==0,dropPosition:Ut+Number(Je[Je.length-1])};At||jt==null||jt(Tt),le.dragNodeProps=null}}}),(0,ue.Z)((0,be.Z)(le),"cleanDragState",function(){var Le=le.state.draggingNodeKey;Le!==null&&le.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),le.dragStartMousePosition=null,le.currentMouseOverDroppableNodeKey=null}),(0,ue.Z)((0,be.Z)(le),"triggerExpandActionExpand",function(Le,rt){var ut=le.state,At=ut.expandedKeys,Ne=ut.flattenNodes,Be=rt.expanded,Ut=rt.key,Zt=rt.isLeaf;if(!(Zt||Le.shiftKey||Le.metaKey||Le.ctrlKey)){var mn=Ne.filter(function(jt){return jt.key===Ut})[0],vn=(0,De.F)((0,ce.Z)((0,ce.Z)({},(0,De.H8)(Ut,le.getTreeNodeRequiredProps())),{},{data:mn.data}));le.setExpandedKeys(Be?(0,Gt._5)(At,Ut):(0,Gt.L0)(At,Ut)),le.onNodeExpand(Le,vn)}}),(0,ue.Z)((0,be.Z)(le),"onNodeClick",function(Le,rt){var ut=le.props,At=ut.onClick,Ne=ut.expandAction;Ne==="click"&&le.triggerExpandActionExpand(Le,rt),At==null||At(Le,rt)}),(0,ue.Z)((0,be.Z)(le),"onNodeDoubleClick",function(Le,rt){var ut=le.props,At=ut.onDoubleClick,Ne=ut.expandAction;Ne==="doubleClick"&&le.triggerExpandActionExpand(Le,rt),At==null||At(Le,rt)}),(0,ue.Z)((0,be.Z)(le),"onNodeSelect",function(Le,rt){var ut=le.state.selectedKeys,At=le.state,Ne=At.keyEntities,Be=At.fieldNames,Ut=le.props,Zt=Ut.onSelect,mn=Ut.multiple,vn=rt.selected,jt=rt[Be.key],Cn=!vn;Cn?mn?ut=(0,Gt.L0)(ut,jt):ut=[jt]:ut=(0,Gt._5)(ut,jt);var on=ut.map(function(Je){var Tt=(0,dn.Z)(Ne,Je);return Tt?Tt.node:null}).filter(Boolean);le.setUncontrolledState({selectedKeys:ut}),Zt==null||Zt(ut,{event:"select",selected:Cn,node:rt,selectedNodes:on,nativeEvent:Le.nativeEvent})}),(0,ue.Z)((0,be.Z)(le),"onNodeCheck",function(Le,rt,ut){var At=le.state,Ne=At.keyEntities,Be=At.checkedKeys,Ut=At.halfCheckedKeys,Zt=le.props,mn=Zt.checkStrictly,vn=Zt.onCheck,jt=rt.key,Cn,on={event:"check",node:rt,checked:ut,nativeEvent:Le.nativeEvent};if(mn){var Je=ut?(0,Gt.L0)(Be,jt):(0,Gt._5)(Be,jt),Tt=(0,Gt._5)(Ut,jt);Cn={checked:Je,halfChecked:Tt},on.checkedNodes=Je.map(function(nn){return(0,dn.Z)(Ne,nn)}).filter(Boolean).map(function(nn){return nn.node}),le.setUncontrolledState({checkedKeys:Je})}else{var an=(0,Fe.S)([].concat((0,et.Z)(Be),[jt]),!0,Ne),_t=an.checkedKeys,je=an.halfCheckedKeys;if(!ut){var Pt=new Set(_t);Pt.delete(jt);var Kt=(0,Fe.S)(Array.from(Pt),{checked:!1,halfCheckedKeys:je},Ne);_t=Kt.checkedKeys,je=Kt.halfCheckedKeys}Cn=_t,on.checkedNodes=[],on.checkedNodesPositions=[],on.halfCheckedKeys=je,_t.forEach(function(nn){var On=(0,dn.Z)(Ne,nn);if(On){var _n=On.node,nr=On.pos;on.checkedNodes.push(_n),on.checkedNodesPositions.push({node:_n,pos:nr})}}),le.setUncontrolledState({checkedKeys:_t},!1,{halfCheckedKeys:je})}vn==null||vn(Cn,on)}),(0,ue.Z)((0,be.Z)(le),"onNodeLoad",function(Le){var rt,ut=Le.key,At=le.state.keyEntities,Ne=(0,dn.Z)(At,ut);if(!(Ne!=null&&(rt=Ne.children)!==null&&rt!==void 0&&rt.length)){var Be=new Promise(function(Ut,Zt){le.setState(function(mn){var vn=mn.loadedKeys,jt=vn===void 0?[]:vn,Cn=mn.loadingKeys,on=Cn===void 0?[]:Cn,Je=le.props,Tt=Je.loadData,an=Je.onLoad;if(!Tt||jt.includes(ut)||on.includes(ut))return null;var _t=Tt(Le);return _t.then(function(){var je=le.state.loadedKeys,Pt=(0,Gt.L0)(je,ut);an==null||an(Pt,{event:"load",node:Le}),le.setUncontrolledState({loadedKeys:Pt}),le.setState(function(Kt){return{loadingKeys:(0,Gt._5)(Kt.loadingKeys,ut)}}),Ut()}).catch(function(je){if(le.setState(function(Kt){return{loadingKeys:(0,Gt._5)(Kt.loadingKeys,ut)}}),le.loadingRetryTimes[ut]=(le.loadingRetryTimes[ut]||0)+1,le.loadingRetryTimes[ut]>=$t){var Pt=le.state.loadedKeys;(0,st.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),le.setUncontrolledState({loadedKeys:(0,Gt.L0)(Pt,ut)}),Ut()}Zt(je)}),{loadingKeys:(0,Gt.L0)(on,ut)}})});return Be.catch(function(){}),Be}}),(0,ue.Z)((0,be.Z)(le),"onNodeMouseEnter",function(Le,rt){var ut=le.props.onMouseEnter;ut==null||ut({event:Le,node:rt})}),(0,ue.Z)((0,be.Z)(le),"onNodeMouseLeave",function(Le,rt){var ut=le.props.onMouseLeave;ut==null||ut({event:Le,node:rt})}),(0,ue.Z)((0,be.Z)(le),"onNodeContextMenu",function(Le,rt){var ut=le.props.onRightClick;ut&&(Le.preventDefault(),ut({event:Le,node:rt}))}),(0,ue.Z)((0,be.Z)(le),"onFocus",function(){var Le=le.props.onFocus;le.setState({focused:!0});for(var rt=arguments.length,ut=new Array(rt),At=0;At1&&arguments[1]!==void 0?arguments[1]:!1,ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!le.destroyed){var At=!1,Ne=!0,Be={};Object.keys(Le).forEach(function(Ut){if(le.props.hasOwnProperty(Ut)){Ne=!1;return}At=!0,Be[Ut]=Le[Ut]}),At&&(!rt||Ne)&&le.setState((0,ce.Z)((0,ce.Z)({},Be),ut))}}),(0,ue.Z)((0,be.Z)(le),"scrollTo",function(Le){le.listRef.current.scrollTo(Le)}),le}return(0,pe.Z)(re,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Se=this.props,Ge=Se.activeKey,He=Se.itemScrollOffset,Le=He===void 0?0:He;Ge!==void 0&&Ge!==this.state.activeKey&&(this.setState({activeKey:Ge}),Ge!==null&&this.scrollTo({key:Ge,offset:Le}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Se=this.state,Ge=Se.focused,He=Se.flattenNodes,Le=Se.keyEntities,rt=Se.draggingNodeKey,ut=Se.activeKey,At=Se.dropLevelOffset,Ne=Se.dropContainerKey,Be=Se.dropTargetKey,Ut=Se.dropPosition,Zt=Se.dragOverNodeKey,mn=Se.indent,vn=this.props,jt=vn.prefixCls,Cn=vn.className,on=vn.style,Je=vn.showLine,Tt=vn.focusable,an=vn.tabIndex,_t=an===void 0?0:an,je=vn.selectable,Pt=vn.showIcon,Kt=vn.icon,nn=vn.switcherIcon,On=vn.draggable,_n=vn.checkable,nr=vn.checkStrictly,ir=vn.disabled,Zn=vn.motion,er=vn.loadData,kn=vn.filterTreeNode,cn=vn.height,bn=vn.itemHeight,St=vn.scrollWidth,Et=vn.virtual,sn=vn.titleRender,Pn=vn.dropIndicatorRender,Tn=vn.onContextMenu,Jt=vn.onScroll,wn=vn.direction,gn=vn.rootClassName,Nn=vn.rootStyle,An=(0,ot.Z)(this.props,{aria:!0,data:!0}),rr;On&&((0,Me.Z)(On)==="object"?rr=On:typeof On=="function"?rr={nodeDraggable:On}:rr={});var Qt={prefixCls:jt,selectable:je,showIcon:Pt,icon:Kt,switcherIcon:nn,draggable:rr,draggingNodeKey:rt,checkable:_n,checkStrictly:nr,disabled:ir,keyEntities:Le,dropLevelOffset:At,dropContainerKey:Ne,dropTargetKey:Be,dropPosition:Ut,dragOverNodeKey:Zt,indent:mn,direction:wn,dropIndicatorRender:Pn,loadData:er,filterTreeNode:kn,titleRender:sn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Ue.createElement(Re.k.Provider,{value:Qt},Ue.createElement("div",{className:Ee()(jt,Cn,gn,(0,ue.Z)((0,ue.Z)((0,ue.Z)({},"".concat(jt,"-show-line"),Je),"".concat(jt,"-focused"),Ge),"".concat(jt,"-active-focused"),ut!==null)),style:Nn},Ue.createElement(Xe,(0,b.Z)({ref:this.listRef,prefixCls:jt,style:on,data:He,disabled:ir,selectable:je,checkable:!!_n,motion:Zn,dragging:rt!==null,height:cn,itemHeight:bn,virtual:Et,focusable:Tt,focused:Ge,tabIndex:_t,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Tn,onScroll:Jt,scrollWidth:St},this.getTreeNodeRequiredProps(),An))))}}],[{key:"getDerivedStateFromProps",value:function(Se,Ge){var He=Ge.prevProps,Le={prevProps:Se};function rt(_t){return!He&&Se.hasOwnProperty(_t)||He&&He[_t]!==Se[_t]}var ut,At=Ge.fieldNames;if(rt("fieldNames")&&(At=(0,De.w$)(Se.fieldNames),Le.fieldNames=At),rt("treeData")?ut=Se.treeData:rt("children")&&((0,st.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),ut=(0,De.zn)(Se.children)),ut){Le.treeData=ut;var Ne=(0,De.I8)(ut,{fieldNames:At});Le.keyEntities=(0,ce.Z)((0,ue.Z)({},he,Vt),Ne.keyEntities)}var Be=Le.keyEntities||Ge.keyEntities;if(rt("expandedKeys")||He&&rt("autoExpandParent"))Le.expandedKeys=Se.autoExpandParent||!He&&Se.defaultExpandParent?(0,Gt.r7)(Se.expandedKeys,Be):Se.expandedKeys;else if(!He&&Se.defaultExpandAll){var Ut=(0,ce.Z)({},Be);delete Ut[he];var Zt=[];Object.keys(Ut).forEach(function(_t){var je=Ut[_t];je.children&&je.children.length&&Zt.push(je.key)}),Le.expandedKeys=Zt}else!He&&Se.defaultExpandedKeys&&(Le.expandedKeys=Se.autoExpandParent||Se.defaultExpandParent?(0,Gt.r7)(Se.defaultExpandedKeys,Be):Se.defaultExpandedKeys);if(Le.expandedKeys||delete Le.expandedKeys,ut||Le.expandedKeys){var mn=(0,De.oH)(ut||Ge.treeData,Le.expandedKeys||Ge.expandedKeys,At);Le.flattenNodes=mn}if(Se.selectable&&(rt("selectedKeys")?Le.selectedKeys=(0,Gt.BT)(Se.selectedKeys,Se):!He&&Se.defaultSelectedKeys&&(Le.selectedKeys=(0,Gt.BT)(Se.defaultSelectedKeys,Se))),Se.checkable){var vn;if(rt("checkedKeys")?vn=(0,Gt.E6)(Se.checkedKeys)||{}:!He&&Se.defaultCheckedKeys?vn=(0,Gt.E6)(Se.defaultCheckedKeys)||{}:ut&&(vn=(0,Gt.E6)(Se.checkedKeys)||{checkedKeys:Ge.checkedKeys,halfCheckedKeys:Ge.halfCheckedKeys}),vn){var jt=vn,Cn=jt.checkedKeys,on=Cn===void 0?[]:Cn,Je=jt.halfCheckedKeys,Tt=Je===void 0?[]:Je;if(!Se.checkStrictly){var an=(0,Fe.S)(on,!0,Be);on=an.checkedKeys,Tt=an.halfCheckedKeys}Le.checkedKeys=on,Le.halfCheckedKeys=Tt}}return rt("loadedKeys")&&(Le.loadedKeys=Se.loadedKeys),Le}}]),re}(Ue.Component);(0,ue.Z)(ae,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:kt,allowDrop:function(){return!0},expandAction:!1}),(0,ue.Z)(ae,"TreeNode",Ot.Z);var ne=ae,te=ne},82661:function(Bn,rn,ee){"use strict";ee.d(rn,{BT:function(){return Ue},E6:function(){return kt},L0:function(){return ue},OM:function(){return st},_5:function(){return Ie},r7:function(){return en},wA:function(){return Ee},yx:function(){return $e}});var b=ee(77654),Me=ee(43749),ce=ee(48736),et=ee(59301),Pe=ee(639),pe=ee(65065),be=ee(34061),Ve=null;function Ie(Qe,Ae){if(!Qe)return[];var tt=Qe.slice(),nt=tt.indexOf(Ae);return nt>=0&&tt.splice(nt,1),tt}function ue(Qe,Ae){var tt=(Qe||[]).slice();return tt.indexOf(Ae)===-1&&tt.push(Ae),tt}function $e(Qe){return Qe.split("-")}function Ee(Qe,Ae){var tt=[],nt=(0,pe.Z)(Ae,Qe);function zt(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Ot.forEach(function(ht){var Ct=ht.key,De=ht.children;tt.push(Ct),zt(De)})}return zt(nt.children),tt}function Rt(Qe){if(Qe.parent){var Ae=$e(Qe.pos);return Number(Ae[Ae.length-1])===Qe.parent.children.length-1}return!1}function ot(Qe){var Ae=$e(Qe.pos);return Number(Ae[Ae.length-1])===0}function st(Qe,Ae,tt,nt,zt,Ot,ht,Ct,De,ke){var xe,se=Qe.clientX,It=Qe.clientY,_e=Qe.target.getBoundingClientRect(),Ye=_e.top,Ft=_e.height,Ce=(ke==="rtl"?-1:1)*(((zt==null?void 0:zt.x)||0)-se),he=(Ce-12)/nt,yt=De.filter(function(te){var ie;return(ie=Ct[te])===null||ie===void 0||(ie=ie.children)===null||ie===void 0?void 0:ie.length}),Vt=(0,pe.Z)(Ct,tt.eventKey);if(It-1.5?Ot({dragNode:$t,dropNode:ae,dropPosition:1})?Gt=1:ne=!1:Ot({dragNode:$t,dropNode:ae,dropPosition:0})?Gt=0:Ot({dragNode:$t,dropNode:ae,dropPosition:1})?Gt=1:ne=!1:Ot({dragNode:$t,dropNode:ae,dropPosition:1})?Gt=1:ne=!1,{dropPosition:Gt,dropLevelOffset:Fe,dropTargetKey:Vt.key,dropTargetPos:Vt.pos,dragOverNodeKey:Xe,dropContainerKey:Gt===0?null:((xe=Vt.parent)===null||xe===void 0?void 0:xe.key)||null,dropAllowed:ne}}function Ue(Qe,Ae){if(Qe){var tt=Ae.multiple;return tt?Qe.slice():Qe.length?[Qe[0]]:Qe}}var Re=function(Ae){return Ae};function ft(Qe,Ae){if(!Qe)return[];var tt=Ae||{},nt=tt.processProps,zt=nt===void 0?Re:nt,Ot=Array.isArray(Qe)?Qe:[Qe];return Ot.map(function(ht){var Ct=ht.children,De=_objectWithoutProperties(ht,Ve),ke=ft(Ct,Ae);return React.createElement(TreeNode,_extends({key:De.key},zt(De)),ke)})}function kt(Qe){if(!Qe)return null;var Ae;if(Array.isArray(Qe))Ae={checkedKeys:Qe,halfCheckedKeys:void 0};else if((0,Me.Z)(Qe)==="object")Ae={checkedKeys:Qe.checked||void 0,halfCheckedKeys:Qe.halfChecked||void 0};else return(0,ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return Ae}function en(Qe,Ae){var tt=new Set;function nt(zt){if(!tt.has(zt)){var Ot=(0,pe.Z)(Ae,zt);if(Ot){tt.add(zt);var ht=Ot.parent,Ct=Ot.node;Ct.disabled||ht&&nt(ht.key)}}}return(Qe||[]).forEach(function(zt){nt(zt)}),(0,b.Z)(tt)}},34643:function(Bn,rn,ee){"use strict";ee.d(rn,{S:function(){return be}});var b=ee(48736),Me=ee(65065);function ce(Ve,Ie){var ue=new Set;return Ve.forEach(function($e){Ie.has($e)||ue.add($e)}),ue}function et(Ve){var Ie=Ve||{},ue=Ie.disabled,$e=Ie.disableCheckbox,Ee=Ie.checkable;return!!(ue||$e)||Ee===!1}function Pe(Ve,Ie,ue,$e){for(var Ee=new Set(Ve),Rt=new Set,ot=0;ot<=ue;ot+=1){var st=Ie.get(ot)||new Set;st.forEach(function(kt){var en=kt.key,Qe=kt.node,Ae=kt.children,tt=Ae===void 0?[]:Ae;Ee.has(en)&&!$e(Qe)&&tt.filter(function(nt){return!$e(nt.node)}).forEach(function(nt){Ee.add(nt.key)})})}for(var Ue=new Set,Re=ue;Re>=0;Re-=1){var ft=Ie.get(Re)||new Set;ft.forEach(function(kt){var en=kt.parent,Qe=kt.node;if(!($e(Qe)||!kt.parent||Ue.has(kt.parent.key))){if($e(kt.parent.node)){Ue.add(en.key);return}var Ae=!0,tt=!1;(en.children||[]).filter(function(nt){return!$e(nt.node)}).forEach(function(nt){var zt=nt.key,Ot=Ee.has(zt);Ae&&!Ot&&(Ae=!1),!tt&&(Ot||Rt.has(zt))&&(tt=!0)}),Ae&&Ee.add(en.key),tt&&Rt.add(en.key),Ue.add(en.key)}})}return{checkedKeys:Array.from(Ee),halfCheckedKeys:Array.from(ce(Rt,Ee))}}function pe(Ve,Ie,ue,$e,Ee){for(var Rt=new Set(Ve),ot=new Set(Ie),st=0;st<=$e;st+=1){var Ue=ue.get(st)||new Set;Ue.forEach(function(en){var Qe=en.key,Ae=en.node,tt=en.children,nt=tt===void 0?[]:tt;!Rt.has(Qe)&&!ot.has(Qe)&&!Ee(Ae)&&nt.filter(function(zt){return!Ee(zt.node)}).forEach(function(zt){Rt.delete(zt.key)})})}ot=new Set;for(var Re=new Set,ft=$e;ft>=0;ft-=1){var kt=ue.get(ft)||new Set;kt.forEach(function(en){var Qe=en.parent,Ae=en.node;if(!(Ee(Ae)||!en.parent||Re.has(en.parent.key))){if(Ee(en.parent.node)){Re.add(Qe.key);return}var tt=!0,nt=!1;(Qe.children||[]).filter(function(zt){return!Ee(zt.node)}).forEach(function(zt){var Ot=zt.key,ht=Rt.has(Ot);tt&&!ht&&(tt=!1),!nt&&(ht||ot.has(Ot))&&(nt=!0)}),tt||Rt.delete(Qe.key),nt&&ot.add(Qe.key),Re.add(Qe.key)}})}return{checkedKeys:Array.from(Rt),halfCheckedKeys:Array.from(ce(ot,Rt))}}function be(Ve,Ie,ue,$e){var Ee=[],Rt;$e?Rt=$e:Rt=et;var ot=new Set(Ve.filter(function(ft){var kt=!!(0,Me.Z)(ue,ft);return kt||Ee.push(ft),kt})),st=new Map,Ue=0;Object.keys(ue).forEach(function(ft){var kt=ue[ft],en=kt.level,Qe=st.get(en);Qe||(Qe=new Set,st.set(en,Qe)),Qe.add(kt),Ue=Math.max(Ue,en)}),(0,b.ZP)(!Ee.length,"Tree missing follow keys: ".concat(Ee.slice(0,100).map(function(ft){return"'".concat(ft,"'")}).join(", ")));var Re;return Ie===!0?Re=Pe(ot,st,Ue,Rt):Re=pe(ot,Ie.halfCheckedKeys,st,Ue,Rt),Re}},65065:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return b}});function b(Me,ce){return Me[ce]}},34061:function(Bn,rn,ee){"use strict";ee.d(rn,{F:function(){return en},H8:function(){return kt},I8:function(){return ft},km:function(){return Ee},oH:function(){return Ue},w$:function(){return Rt},zn:function(){return st}});var b=ee(43749),Me=ee(77654),ce=ee(85899),et=ee(42244),Pe=ee(11592),pe=ee(2738),be=ee(48736),Ve=ee(65065),Ie=["children"];function ue(Qe,Ae){return"".concat(Qe,"-").concat(Ae)}function $e(Qe){return Qe&&Qe.type&&Qe.type.isTreeNode}function Ee(Qe,Ae){return Qe!=null?Qe:Ae}function Rt(Qe){var Ae=Qe||{},tt=Ae.title,nt=Ae._title,zt=Ae.key,Ot=Ae.children,ht=tt||"title";return{title:ht,_title:nt||[ht],key:zt||"key",children:Ot||"children"}}function ot(Qe,Ae){var tt=new Map;function nt(zt){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(zt||[]).forEach(function(ht){var Ct=ht[Ae.key],De=ht[Ae.children];warning(Ct!=null,"Tree node must have a certain key: [".concat(Ot).concat(Ct,"]"));var ke=String(Ct);warning(!tt.has(ke)||Ct===null||Ct===void 0,"Same 'key' exist in the Tree: ".concat(ke)),tt.set(ke,!0),nt(De,"".concat(Ot).concat(ke," > "))})}nt(Qe)}function st(Qe){function Ae(tt){var nt=(0,Pe.Z)(tt);return nt.map(function(zt){if(!$e(zt))return(0,be.ZP)(!zt,"Tree/TreeNode can only accept TreeNode as children."),null;var Ot=zt.key,ht=zt.props,Ct=ht.children,De=(0,et.Z)(ht,Ie),ke=(0,ce.Z)({key:Ot},De),xe=Ae(Ct);return xe.length&&(ke.children=xe),ke}).filter(function(zt){return zt})}return Ae(Qe)}function Ue(Qe,Ae,tt){var nt=Rt(tt),zt=nt._title,Ot=nt.key,ht=nt.children,Ct=new Set(Ae===!0?[]:Ae),De=[];function ke(xe){var se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return xe.map(function(It,_e){for(var Ye=ue(se?se.pos:"0",_e),Ft=Ee(It[Ot],Ye),Ce,he=0;he1&&arguments[1]!==void 0?arguments[1]:{},tt=Ae.initWrapper,nt=Ae.processEntity,zt=Ae.onProcessFinished,Ot=Ae.externalGetKey,ht=Ae.childrenPropName,Ct=Ae.fieldNames,De=arguments.length>2?arguments[2]:void 0,ke=Ot||De,xe={},se={},It={posEntities:xe,keyEntities:se};return tt&&(It=tt(It)||It),Re(Qe,function(_e){var Ye=_e.node,Ft=_e.index,Ce=_e.pos,he=_e.key,yt=_e.parentPos,Vt=_e.level,Lt=_e.nodes,me={node:Ye,nodes:Lt,index:Ft,key:he,pos:Ce,level:Vt},qe=Ee(he,Ce);xe[Ce]=me,se[qe]=me,me.parent=xe[yt],me.parent&&(me.parent.children=me.parent.children||[],me.parent.children.push(me)),nt&&nt(me,It)},{externalGetKey:ke,childrenPropName:ht,fieldNames:Ct}),zt&&zt(It),It}function kt(Qe,Ae){var tt=Ae.expandedKeys,nt=Ae.selectedKeys,zt=Ae.loadedKeys,Ot=Ae.loadingKeys,ht=Ae.checkedKeys,Ct=Ae.halfCheckedKeys,De=Ae.dragOverNodeKey,ke=Ae.dropPosition,xe=Ae.keyEntities,se=(0,Ve.Z)(xe,Qe),It={eventKey:Qe,expanded:tt.indexOf(Qe)!==-1,selected:nt.indexOf(Qe)!==-1,loaded:zt.indexOf(Qe)!==-1,loading:Ot.indexOf(Qe)!==-1,checked:ht.indexOf(Qe)!==-1,halfChecked:Ct.indexOf(Qe)!==-1,pos:String(se?se.pos:""),dragOver:De===Qe&&ke===0,dragOverGapTop:De===Qe&&ke===-1,dragOverGapBottom:De===Qe&&ke===1};return It}function en(Qe){var Ae=Qe.data,tt=Qe.expanded,nt=Qe.selected,zt=Qe.checked,Ot=Qe.loaded,ht=Qe.loading,Ct=Qe.halfChecked,De=Qe.dragOver,ke=Qe.dragOverGapTop,xe=Qe.dragOverGapBottom,se=Qe.pos,It=Qe.active,_e=Qe.eventKey,Ye=(0,ce.Z)((0,ce.Z)({},Ae),{},{expanded:tt,selected:nt,checked:zt,loaded:Ot,loading:ht,halfChecked:Ct,dragOver:De,dragOverGapTop:ke,dragOverGapBottom:xe,pos:se,active:It,key:_e});return"props"in Ye||Object.defineProperty(Ye,"props",{get:function(){return(0,be.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),Qe}}),Ye}},8224:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Me}});var b=ee(4676);function Me(ce,et,Pe,pe){var be=b.unstable_batchedUpdates?function(Ie){b.unstable_batchedUpdates(Pe,Ie)}:Pe;return ce!=null&&ce.addEventListener&&ce.addEventListener(et,be,pe),{remove:function(){ce!=null&&ce.removeEventListener&&ce.removeEventListener(et,be,pe)}}}},24514:function(Bn,rn,ee){"use strict";ee.d(rn,{G:function(){return et}});var b=ee(47273),Me=function(pe){if((0,b.Z)()&&window.document.documentElement){var be=Array.isArray(pe)?pe:[pe],Ve=window.document.documentElement;return be.some(function(Ie){return Ie in Ve.style})}return!1},ce=function(pe,be){if(!Me(pe))return!1;var Ve=document.createElement("div"),Ie=Ve.style[pe];return Ve.style[pe]=be,Ve.style[pe]!==Ie};function et(Pe,pe){return!Array.isArray(Pe)&&pe!==void 0?ce(Pe,pe):Me(Pe)}},48911:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return $t}});var b=ee(60499),Me=ee(43749),ce=ee(85899),et=ee(18642),Pe=ee(72190),pe=ee(42244),be=ee(92310),Ve=ee.n(be),Ie=ee(29301),ue=ee(70425),$e=ee(34280),Ee=ee(59301),Rt=ee(4676),ot=Ee.forwardRef(function(ae,ne){var te=ae.height,ie=ae.offsetY,de=ae.offsetX,re=ae.children,le=ae.prefixCls,Se=ae.onInnerResize,Ge=ae.innerProps,He=ae.rtl,Le=ae.extra,rt={},ut={display:"flex",flexDirection:"column"};return ie!==void 0&&(rt={height:te,position:"relative",overflow:"hidden"},ut=(0,ce.Z)((0,ce.Z)({},ut),{},(0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)((0,et.Z)({transform:"translateY(".concat(ie,"px)")},He?"marginRight":"marginLeft",-de),"position","absolute"),"left",0),"right",0),"top",0))),Ee.createElement("div",{style:rt},Ee.createElement(Ie.Z,{onResize:function(Ne){var Be=Ne.offsetHeight;Be&&Se&&Se()}},Ee.createElement("div",(0,b.Z)({style:ut,className:Ve()((0,et.Z)({},"".concat(le,"-holder-inner"),le)),ref:ne},Ge),re,Le)))});ot.displayName="Filler";var st=ot;function Ue(ae){var ne=ae.children,te=ae.setRef,ie=Ee.useCallback(function(de){te(de)},[]);return Ee.cloneElement(ne,{ref:ie})}function Re(ae,ne,te,ie,de,re,le,Se){var Ge=Se.getKey;return ae.slice(ne,te+1).map(function(He,Le){var rt=ne+Le,ut=le(He,rt,{style:{width:ie},offsetX:de}),At=Ge(He);return Ee.createElement(Ue,{key:At,setRef:function(Be){return re(He,Be)}},ut)})}function ft(ae,ne,te,ie){var de=te-ae,re=ne-te,le=Math.min(de,re)*2;if(ie<=le){var Se=Math.floor(ie/2);return ie%2?te+Se+1:te-Se}return de>re?te-(ie-re):te+(ie-de)}function kt(ae,ne,te){var ie=ae.length,de=ne.length,re,le;if(ie===0&&de===0)return null;ie2&&arguments[2]!==void 0?arguments[2]:!1,rt=Ge?He<0&&Se.current.left||He>0&&Se.current.right:He<0&&Se.current.top||He>0&&Se.current.bottom;return Le&&rt?(clearTimeout(re.current),de.current=!1):(!rt||de.current)&&le(),!de.current&&rt}};function zt(ae,ne,te,ie,de,re,le){var Se=(0,Ee.useRef)(0),Ge=(0,Ee.useRef)(null),He=(0,Ee.useRef)(null),Le=(0,Ee.useRef)(!1),rt=nt(ne,te,ie,de);function ut(mn,vn){if(Qe.Z.cancel(Ge.current),!rt(!1,vn)){var jt=mn;if(!jt._virtualHandled)jt._virtualHandled=!0;else return;Se.current+=vn,He.current=vn,tt||jt.preventDefault(),Ge.current=(0,Qe.Z)(function(){var Cn=Le.current?10:1;le(Se.current*Cn,!1),Se.current=0})}}function At(mn,vn){le(vn,!0),tt||mn.preventDefault()}var Ne=(0,Ee.useRef)(null),Be=(0,Ee.useRef)(null);function Ut(mn){if(ae){Qe.Z.cancel(Be.current),Be.current=(0,Qe.Z)(function(){Ne.current=null},2);var vn=mn.deltaX,jt=mn.deltaY,Cn=mn.shiftKey,on=vn,Je=jt;(Ne.current==="sx"||!Ne.current&&Cn&&jt&&!vn)&&(on=jt,Je=0,Ne.current="sx");var Tt=Math.abs(on),an=Math.abs(Je);Ne.current===null&&(Ne.current=re&&Tt>an?"x":"y"),Ne.current==="y"?ut(mn,Je):At(mn,on)}}function Zt(mn){ae&&(Le.current=mn.detail===He.current)}return[Ut,Zt]}function Ot(ae,ne,te,ie){var de=Ee.useMemo(function(){return[new Map,[]]},[ae,te.id,ie]),re=(0,Pe.Z)(de,2),le=re[0],Se=re[1],Ge=function(Le){var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Le,ut=le.get(Le),At=le.get(rt);if(ut===void 0||At===void 0)for(var Ne=ae.length,Be=Se.length;Be0&&arguments[0]!==void 0?arguments[0]:!1;Le();var Ne=function(){var Zt=!1;Se.current.forEach(function(mn,vn){if(mn&&mn.offsetParent){var jt=mn.offsetHeight,Cn=getComputedStyle(mn),on=Cn.marginTop,Je=Cn.marginBottom,Tt=xe(on),an=xe(Je),_t=jt+Tt+an;Ge.current.get(vn)!==_t&&(Ge.current.set(vn,_t),Zt=!0)}}),Zt&&le(function(mn){return mn+1})};if(At)Ne();else{He.current+=1;var Be=He.current;Promise.resolve().then(function(){Be===He.current&&Ne()})}}function ut(At,Ne){var Be=ae(At),Ut=Se.current.get(Be);Ne?(Se.current.set(Be,Ne),rt()):Se.current.delete(Be),!Ut!=!Ne&&(Ne?ne==null||ne(At):te==null||te(At))}return(0,Ee.useEffect)(function(){return Le},[]),[ut,rt,Ge.current,re]}var It=14/15;function _e(ae,ne,te){var ie=(0,Ee.useRef)(!1),de=(0,Ee.useRef)(0),re=(0,Ee.useRef)(0),le=(0,Ee.useRef)(null),Se=(0,Ee.useRef)(null),Ge,He=function(At){if(ie.current){var Ne=Math.ceil(At.touches[0].pageX),Be=Math.ceil(At.touches[0].pageY),Ut=de.current-Ne,Zt=re.current-Be,mn=Math.abs(Ut)>Math.abs(Zt);mn?de.current=Ne:re.current=Be;var vn=te(mn,mn?Ut:Zt,!1,At);vn&&At.preventDefault(),clearInterval(Se.current),vn&&(Se.current=setInterval(function(){mn?Ut*=It:Zt*=It;var jt=Math.floor(mn?Ut:Zt);(!te(mn,jt,!0)||Math.abs(jt)<=.1)&&clearInterval(Se.current)},16))}},Le=function(){ie.current=!1,Ge()},rt=function(At){Ge(),At.touches.length===1&&!ie.current&&(ie.current=!0,de.current=Math.ceil(At.touches[0].pageX),re.current=Math.ceil(At.touches[0].pageY),le.current=At.target,le.current.addEventListener("touchmove",He,{passive:!1}),le.current.addEventListener("touchend",Le,{passive:!0}))};Ge=function(){le.current&&(le.current.removeEventListener("touchmove",He),le.current.removeEventListener("touchend",Le))},(0,$e.Z)(function(){return ae&&ne.current.addEventListener("touchstart",rt,{passive:!0}),function(){var ut;(ut=ne.current)===null||ut===void 0||ut.removeEventListener("touchstart",rt),Ge(),clearInterval(Se.current)}},[ae])}function Ye(ae){return Math.floor(Math.pow(ae,.5))}function Ft(ae,ne){var te="touches"in ae?ae.touches[0]:ae;return te[ne?"pageX":"pageY"]-window[ne?"scrollX":"scrollY"]}function Ce(ae,ne,te){Ee.useEffect(function(){var ie=ne.current;if(ae&&ie){var de=!1,re,le,Se=function(){Qe.Z.cancel(re)},Ge=function ut(){Se(),re=(0,Qe.Z)(function(){te(le),ut()})},He=function(){de=!1,Se()},Le=function(At){if(!(At.target.draggable||At.button!==0)){var Ne=At;Ne._virtualHandled||(Ne._virtualHandled=!0,de=!0)}},rt=function(At){if(de){var Ne=Ft(At,!1),Be=ie.getBoundingClientRect(),Ut=Be.top,Zt=Be.bottom;if(Ne<=Ut){var mn=Ut-Ne;le=-Ye(mn),Ge()}else if(Ne>=Zt){var vn=Ne-Zt;le=Ye(vn),Ge()}else Se()}};return ie.addEventListener("mousedown",Le),ie.ownerDocument.addEventListener("mouseup",He),ie.ownerDocument.addEventListener("mousemove",rt),ie.ownerDocument.addEventListener("dragend",He),function(){ie.removeEventListener("mousedown",Le),ie.ownerDocument.removeEventListener("mouseup",He),ie.ownerDocument.removeEventListener("mousemove",rt),ie.ownerDocument.removeEventListener("dragend",He),Se()}}},[ae])}var he=10;function yt(ae,ne,te,ie,de,re,le,Se){var Ge=Ee.useRef(),He=Ee.useState(null),Le=(0,Pe.Z)(He,2),rt=Le[0],ut=Le[1];return(0,$e.Z)(function(){if(rt&&rt.times=0;nn-=1){var On=de(ne[nn]),_n=te.get(On);if(_n===void 0){mn=!0;break}if(Kt-=_n,Kt<=0)break}switch(Cn){case"top":jt=Je-Ut;break;case"bottom":jt=Tt-Zt+Ut;break;default:{var nr=ae.current.scrollTop,ir=nr+Zt;Jeir&&(vn="bottom")}}jt!==null&&le(jt),jt!==rt.lastTop&&(mn=!0)}mn&&ut((0,ce.Z)((0,ce.Z)({},rt),{},{times:rt.times+1,targetAlign:vn,lastTop:jt}))}},[rt,ae.current]),function(At){if(At==null){Se();return}if(Qe.Z.cancel(Ge.current),typeof At=="number")le(At);else if(At&&(0,Me.Z)(At)==="object"){var Ne,Be=At.align;"index"in At?Ne=At.index:Ne=ne.findIndex(function(mn){return de(mn)===At.key});var Ut=At.offset,Zt=Ut===void 0?0:Ut;ut({times:0,index:Ne,offset:Zt,originAlign:Be})}}}var Vt=Ee.forwardRef(function(ae,ne){var te=ae.prefixCls,ie=ae.rtl,de=ae.scrollOffset,re=ae.scrollRange,le=ae.onStartMove,Se=ae.onStopMove,Ge=ae.onScroll,He=ae.horizontal,Le=ae.spinSize,rt=ae.containerSize,ut=ae.style,At=ae.thumbStyle,Ne=ae.showScrollBar,Be=Ee.useState(!1),Ut=(0,Pe.Z)(Be,2),Zt=Ut[0],mn=Ut[1],vn=Ee.useState(null),jt=(0,Pe.Z)(vn,2),Cn=jt[0],on=jt[1],Je=Ee.useState(null),Tt=(0,Pe.Z)(Je,2),an=Tt[0],_t=Tt[1],je=!ie,Pt=Ee.useRef(),Kt=Ee.useRef(),nn=Ee.useState(Ne),On=(0,Pe.Z)(nn,2),_n=On[0],nr=On[1],ir=Ee.useRef(),Zn=function(){Ne===!0||Ne===!1||(clearTimeout(ir.current),nr(!0),ir.current=setTimeout(function(){nr(!1)},3e3))},er=re-rt||0,kn=rt-Le||0,cn=Ee.useMemo(function(){if(de===0||er===0)return 0;var gn=de/er;return gn*kn},[de,er,kn]),bn=function(Nn){Nn.stopPropagation(),Nn.preventDefault()},St=Ee.useRef({top:cn,dragging:Zt,pageY:Cn,startTop:an});St.current={top:cn,dragging:Zt,pageY:Cn,startTop:an};var Et=function(Nn){mn(!0),on(Ft(Nn,He)),_t(St.current.top),le(),Nn.stopPropagation(),Nn.preventDefault()};Ee.useEffect(function(){var gn=function(Qt){Qt.preventDefault()},Nn=Pt.current,An=Kt.current;return Nn.addEventListener("touchstart",gn,{passive:!1}),An.addEventListener("touchstart",Et,{passive:!1}),function(){Nn.removeEventListener("touchstart",gn),An.removeEventListener("touchstart",Et)}},[]);var sn=Ee.useRef();sn.current=er;var Pn=Ee.useRef();Pn.current=kn,Ee.useEffect(function(){if(Zt){var gn,Nn=function(Qt){var Yt=St.current,xn=Yt.dragging,Vn=Yt.pageY,jn=Yt.startTop;Qe.Z.cancel(gn);var vt=Pt.current.getBoundingClientRect(),Dt=rt/(He?vt.width:vt.height);if(xn){var Te=(Ft(Qt,He)-Vn)*Dt,gt=jn;!je&&He?gt-=Te:gt+=Te;var Ke=sn.current,wt=Pn.current,Ht=wt?gt/wt:0,Hn=Math.ceil(Ht*Ke);Hn=Math.max(Hn,0),Hn=Math.min(Hn,Ke),gn=(0,Qe.Z)(function(){Ge(Hn,He)})}},An=function(){mn(!1),Se()};return window.addEventListener("mousemove",Nn,{passive:!0}),window.addEventListener("touchmove",Nn,{passive:!0}),window.addEventListener("mouseup",An,{passive:!0}),window.addEventListener("touchend",An,{passive:!0}),function(){window.removeEventListener("mousemove",Nn),window.removeEventListener("touchmove",Nn),window.removeEventListener("mouseup",An),window.removeEventListener("touchend",An),Qe.Z.cancel(gn)}}},[Zt]),Ee.useEffect(function(){return Zn(),function(){clearTimeout(ir.current)}},[de]),Ee.useImperativeHandle(ne,function(){return{delayHidden:Zn}});var Tn="".concat(te,"-scrollbar"),Jt={position:"absolute",visibility:_n?null:"hidden"},wn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return He?(Object.assign(Jt,{height:8,left:0,right:0,bottom:0}),Object.assign(wn,(0,et.Z)({height:"100%",width:Le},je?"left":"right",cn))):(Object.assign(Jt,(0,et.Z)({width:8,top:0,bottom:0},je?"right":"left",0)),Object.assign(wn,{width:"100%",height:Le,top:cn})),Ee.createElement("div",{ref:Pt,className:Ve()(Tn,(0,et.Z)((0,et.Z)((0,et.Z)({},"".concat(Tn,"-horizontal"),He),"".concat(Tn,"-vertical"),!He),"".concat(Tn,"-visible"),_n)),style:(0,ce.Z)((0,ce.Z)({},Jt),ut),onMouseDown:bn,onMouseMove:Zn},Ee.createElement("div",{ref:Kt,className:Ve()("".concat(Tn,"-thumb"),(0,et.Z)({},"".concat(Tn,"-thumb-moving"),Zt)),style:(0,ce.Z)((0,ce.Z)({},wn),At),onMouseDown:Et}))}),Lt=Vt,me=20;function qe(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,te=ae/ne*ae;return isNaN(te)&&(te=0),te=Math.max(te,me),Math.floor(te)}var it=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Xt=[],Xe={overflowY:"auto",overflowAnchor:"none"};function Gt(ae,ne){var te=ae.prefixCls,ie=te===void 0?"rc-virtual-list":te,de=ae.className,re=ae.height,le=ae.itemHeight,Se=ae.fullHeight,Ge=Se===void 0?!0:Se,He=ae.style,Le=ae.data,rt=ae.children,ut=ae.itemKey,At=ae.virtual,Ne=ae.direction,Be=ae.scrollWidth,Ut=ae.component,Zt=Ut===void 0?"div":Ut,mn=ae.onScroll,vn=ae.onVirtualScroll,jt=ae.onVisibleChange,Cn=ae.innerProps,on=ae.extraRender,Je=ae.styles,Tt=ae.showScrollBar,an=Tt===void 0?"optional":Tt,_t=(0,pe.Z)(ae,it),je=Ee.useCallback(function(at){return typeof ut=="function"?ut(at):at==null?void 0:at[ut]},[ut]),Pt=se(je,null,null),Kt=(0,Pe.Z)(Pt,4),nn=Kt[0],On=Kt[1],_n=Kt[2],nr=Kt[3],ir=!!(At!==!1&&re&&le),Zn=Ee.useMemo(function(){return Object.values(_n.maps).reduce(function(at,Mt){return at+Mt},0)},[_n.id,_n.maps]),er=ir&&Le&&(Math.max(le*Le.length,Zn)>re||!!Be),kn=Ne==="rtl",cn=Ve()(ie,(0,et.Z)({},"".concat(ie,"-rtl"),kn),de),bn=Le||Xt,St=(0,Ee.useRef)(),Et=(0,Ee.useRef)(),sn=(0,Ee.useRef)(),Pn=(0,Ee.useState)(0),Tn=(0,Pe.Z)(Pn,2),Jt=Tn[0],wn=Tn[1],gn=(0,Ee.useState)(0),Nn=(0,Pe.Z)(gn,2),An=Nn[0],rr=Nn[1],Qt=(0,Ee.useState)(!1),Yt=(0,Pe.Z)(Qt,2),xn=Yt[0],Vn=Yt[1],jn=function(){Vn(!0)},vt=function(){Vn(!1)},Dt={getKey:je};function Te(at){wn(function(Mt){var Bt;typeof at=="function"?Bt=at(Mt):Bt=at;var Wt=br(Bt);return St.current.scrollTop=Wt,Wt})}var gt=(0,Ee.useRef)({start:0,end:bn.length}),Ke=(0,Ee.useRef)(),wt=en(bn,je),Ht=(0,Pe.Z)(wt,1),Hn=Ht[0];Ke.current=Hn;var Jn=Ee.useMemo(function(){if(!ir)return{scrollHeight:void 0,start:0,end:bn.length-1,offset:void 0};if(!er){var at;return{scrollHeight:((at=Et.current)===null||at===void 0?void 0:at.offsetHeight)||0,start:0,end:bn.length-1,offset:void 0}}for(var Mt=0,Bt,Wt,En,Rn=bn.length,hn=0;hn=Jt&&Bt===void 0&&(Bt=hn,Wt=Mt),sr>Jt+re&&En===void 0&&(En=hn),Mt=sr}return Bt===void 0&&(Bt=0,Wt=0,En=Math.ceil(re/le)),En===void 0&&(En=bn.length-1),En=Math.min(En+1,bn.length-1),{scrollHeight:Mt,start:Bt,end:En,offset:Wt}},[er,ir,Jt,bn,nr,re]),lt=Jn.scrollHeight,mt=Jn.start,pt=Jn.end,xt=Jn.offset;gt.current.start=mt,gt.current.end=pt,Ee.useLayoutEffect(function(){var at=_n.getRecord();if(at.size===1){var Mt=Array.from(at.keys())[0],Bt=at.get(Mt),Wt=bn[mt];if(Wt&&Bt===void 0){var En=je(Wt);if(En===Mt){var Rn=_n.get(Mt),hn=Rn-le;Te(function(Ln){return Ln+hn})}}}_n.resetRecord()},[lt]);var fn=Ee.useState({width:0,height:re}),In=(0,Pe.Z)(fn,2),pn=In[0],Sn=In[1],$n=function(Mt){Sn({width:Mt.offsetWidth,height:Mt.offsetHeight})},qn=(0,Ee.useRef)(),ur=(0,Ee.useRef)(),tr=Ee.useMemo(function(){return qe(pn.width,Be)},[pn.width,Be]),Xn=Ee.useMemo(function(){return qe(pn.height,lt)},[pn.height,lt]),or=lt-re,dr=(0,Ee.useRef)(or);dr.current=or;function br(at){var Mt=at;return Number.isNaN(dr.current)||(Mt=Math.min(Mt,dr.current)),Mt=Math.max(Mt,0),Mt}var vr=Jt<=0,Tr=Jt>=or,Br=An<=0,cr=An>=Be,Er=nt(vr,Tr,Br,cr),Wr=function(){return{x:kn?-An:An,y:Jt}},Rr=(0,Ee.useRef)(Wr()),Sr=(0,ue.zX)(function(at){if(vn){var Mt=(0,ce.Z)((0,ce.Z)({},Wr()),at);(Rr.current.x!==Mt.x||Rr.current.y!==Mt.y)&&(vn(Mt),Rr.current=Mt)}});function Fr(at,Mt){var Bt=at;Mt?((0,Rt.flushSync)(function(){rr(Bt)}),Sr()):Te(Bt)}function $r(at){var Mt=at.currentTarget.scrollTop;Mt!==Jt&&Te(Mt),mn==null||mn(at),Sr()}var wr=function(Mt){var Bt=Mt,Wt=Be?Be-pn.width:0;return Bt=Math.max(Bt,0),Bt=Math.min(Bt,Wt),Bt},gr=(0,ue.zX)(function(at,Mt){Mt?((0,Rt.flushSync)(function(){rr(function(Bt){var Wt=Bt+(kn?-at:at);return wr(Wt)})}),Sr()):Te(function(Bt){var Wt=Bt+at;return Wt})}),yr=zt(ir,vr,Tr,Br,cr,!!Be,gr),Xr=(0,Pe.Z)(yr,2),go=Xr[0],So=Xr[1];_e(ir,St,function(at,Mt,Bt,Wt){var En=Wt;return Er(at,Mt,Bt)?!1:!En||!En._virtualHandled?(En&&(En._virtualHandled=!0),go({preventDefault:function(){},deltaX:at?Mt:0,deltaY:at?0:Mt}),!0):!1}),Ce(er,St,function(at){Te(function(Mt){return Mt+at})}),(0,$e.Z)(function(){function at(Bt){var Wt=vr&&Bt.detail<0,En=Tr&&Bt.detail>0;ir&&!Wt&&!En&&Bt.preventDefault()}var Mt=St.current;return Mt.addEventListener("wheel",go,{passive:!1}),Mt.addEventListener("DOMMouseScroll",So,{passive:!0}),Mt.addEventListener("MozMousePixelScroll",at,{passive:!1}),function(){Mt.removeEventListener("wheel",go),Mt.removeEventListener("DOMMouseScroll",So),Mt.removeEventListener("MozMousePixelScroll",at)}},[ir,vr,Tr]),(0,$e.Z)(function(){if(Be){var at=wr(An);rr(at),Sr({x:at})}},[pn.width,Be]);var to=function(){var Mt,Bt;(Mt=qn.current)===null||Mt===void 0||Mt.delayHidden(),(Bt=ur.current)===null||Bt===void 0||Bt.delayHidden()},io=yt(St,bn,_n,le,je,function(){return On(!0)},Te,to);Ee.useImperativeHandle(ne,function(){return{nativeElement:sn.current,getScrollInfo:Wr,scrollTo:function(Mt){function Bt(Wt){return Wt&&(0,Me.Z)(Wt)==="object"&&("left"in Wt||"top"in Wt)}Bt(Mt)?(Mt.left!==void 0&&rr(wr(Mt.left)),io(Mt.top)):io(Mt)}}}),(0,$e.Z)(function(){if(jt){var at=bn.slice(mt,pt+1);jt(at,bn)}},[mt,pt,bn]);var Oe=Ot(bn,je,_n,le),We=on==null?void 0:on({start:mt,end:pt,virtual:er,offsetX:An,offsetY:xt,rtl:kn,getSize:Oe}),bt=Re(bn,mt,pt,Be,An,nn,rt,Dt),Ze=null;re&&(Ze=(0,ce.Z)((0,et.Z)({},Ge?"height":"maxHeight",re),Xe),ir&&(Ze.overflowY="hidden",Be&&(Ze.overflowX="hidden"),xn&&(Ze.pointerEvents="none")));var dt={};return kn&&(dt.dir="rtl"),Ee.createElement("div",(0,b.Z)({ref:sn,style:(0,ce.Z)((0,ce.Z)({},He),{},{position:"relative"}),className:cn},dt,_t),Ee.createElement(Ie.Z,{onResize:$n},Ee.createElement(Zt,{className:"".concat(ie,"-holder"),style:Ze,ref:St,onScroll:$r,onMouseEnter:to},Ee.createElement(st,{prefixCls:ie,height:lt,offsetX:An,offsetY:xt,scrollWidth:Be,onInnerResize:On,ref:Et,innerProps:Cn,rtl:kn,extra:We},bt))),er&<>re&&Ee.createElement(Lt,{ref:qn,prefixCls:ie,scrollOffset:Jt,scrollRange:lt,rtl:kn,onScroll:Fr,onStartMove:jn,onStopMove:vt,spinSize:Xn,containerSize:pn.height,style:Je==null?void 0:Je.verticalScrollBar,thumbStyle:Je==null?void 0:Je.verticalScrollBarThumb,showScrollBar:an}),er&&Be>pn.width&&Ee.createElement(Lt,{ref:ur,prefixCls:ie,scrollOffset:An,scrollRange:Be,rtl:kn,onScroll:Fr,onStartMove:jn,onStopMove:vt,spinSize:tr,containerSize:pn.width,horizontal:!0,style:Je==null?void 0:Je.horizontalScrollBar,thumbStyle:Je==null?void 0:Je.horizontalScrollBarThumb,showScrollBar:an}))}var Fe=Ee.forwardRef(Gt);Fe.displayName="List";var dn=Fe,$t=dn},4977:function(Bn){"use strict";Bn.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},72054:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Me}});var b=ee(68688);function Me(ce,et){var Pe=typeof Symbol!="undefined"&&ce[Symbol.iterator]||ce["@@iterator"];if(!Pe){if(Array.isArray(ce)||(Pe=(0,b.Z)(ce))||et&&ce&&typeof ce.length=="number"){Pe&&(ce=Pe);var pe=0,be=function(){};return{s:be,n:function(){return pe>=ce.length?{done:!0}:{done:!1,value:ce[pe++]}},e:function(Ee){throw Ee},f:be}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ve,Ie=!0,ue=!1;return{s:function(){Pe=Pe.call(ce)},n:function(){var Ee=Pe.next();return Ie=Ee.done,Ee},e:function(Ee){ue=!0,Ve=Ee},f:function(){try{Ie||Pe.return==null||Pe.return()}finally{if(ue)throw Ve}}}}},16722:function(Bn,rn,ee){"use strict";ee.d(rn,{Z:function(){return Ve}});const b=Ie=>typeof Ie=="object"&&Ie!=null&&Ie.nodeType===1,Me=(Ie,ue)=>(!ue||Ie!=="hidden")&&Ie!=="visible"&&Ie!=="clip",ce=(Ie,ue)=>{if(Ie.clientHeight{const Rt=(ot=>{if(!ot.ownerDocument||!ot.ownerDocument.defaultView)return null;try{return ot.ownerDocument.defaultView.frameElement}catch(st){return null}})(Ee);return!!Rt&&(Rt.clientHeightotue||ot>Ie&&st=ue&&Ue>=$e?ot-Ie-Ee:st>ue&&Ue<$e||ot$e?st-ue+Rt:0,Pe=Ie=>{const ue=Ie.parentElement;return ue==null?Ie.getRootNode().host||null:ue},pe=(Ie,ue)=>{var $e,Ee,Rt,ot;if(typeof document=="undefined")return[];const{scrollMode:st,block:Ue,inline:Re,boundary:ft,skipOverflowHiddenElements:kt}=ue,en=typeof ft=="function"?ft:Lt=>Lt!==ft;if(!b(Ie))throw new TypeError("Invalid target");const Qe=document.scrollingElement||document.documentElement,Ae=[];let tt=Ie;for(;b(tt)&&en(tt);){if(tt=Pe(tt),tt===Qe){Ae.push(tt);break}tt!=null&&tt===document.body&&ce(tt)&&!ce(document.documentElement)||tt!=null&&ce(tt,kt)&&Ae.push(tt)}const nt=(Ee=($e=window.visualViewport)==null?void 0:$e.width)!=null?Ee:innerWidth,zt=(ot=(Rt=window.visualViewport)==null?void 0:Rt.height)!=null?ot:innerHeight,{scrollX:Ot,scrollY:ht}=window,{height:Ct,width:De,top:ke,right:xe,bottom:se,left:It}=Ie.getBoundingClientRect(),{top:_e,right:Ye,bottom:Ft,left:Ce}=(Lt=>{const me=window.getComputedStyle(Lt);return{top:parseFloat(me.scrollMarginTop)||0,right:parseFloat(me.scrollMarginRight)||0,bottom:parseFloat(me.scrollMarginBottom)||0,left:parseFloat(me.scrollMarginLeft)||0}})(Ie);let he=Ue==="start"||Ue==="nearest"?ke-_e:Ue==="end"?se+Ft:ke+Ct/2-_e+Ft,yt=Re==="center"?It+De/2-Ce+Ye:Re==="end"?xe+Ye:It-Ce;const Vt=[];for(let Lt=0;Lt=0&&It>=0&&se<=zt&&xe<=nt&&(me===Qe&&!ce(me)||ke>=Xt&&se<=Gt&&It>=Fe&&xe<=Xe))return Vt;const dn=getComputedStyle(me),$t=parseInt(dn.borderLeftWidth,10),ae=parseInt(dn.borderTopWidth,10),ne=parseInt(dn.borderRightWidth,10),te=parseInt(dn.borderBottomWidth,10);let ie=0,de=0;const re="offsetWidth"in me?me.offsetWidth-me.clientWidth-$t-ne:0,le="offsetHeight"in me?me.offsetHeight-me.clientHeight-ae-te:0,Se="offsetWidth"in me?me.offsetWidth===0?0:it/me.offsetWidth:0,Ge="offsetHeight"in me?me.offsetHeight===0?0:qe/me.offsetHeight:0;if(Qe===me)ie=Ue==="start"?he:Ue==="end"?he-zt:Ue==="nearest"?et(ht,ht+zt,zt,ae,te,ht+he,ht+he+Ct,Ct):he-zt/2,de=Re==="start"?yt:Re==="center"?yt-nt/2:Re==="end"?yt-nt:et(Ot,Ot+nt,nt,$t,ne,Ot+yt,Ot+yt+De,De),ie=Math.max(0,ie+ht),de=Math.max(0,de+Ot);else{ie=Ue==="start"?he-Xt-ae:Ue==="end"?he-Gt+te+le:Ue==="nearest"?et(Xt,Gt,qe,ae,te+le,he,he+Ct,Ct):he-(Xt+qe/2)+le/2,de=Re==="start"?yt-Fe-$t:Re==="center"?yt-(Fe+it/2)+re/2:Re==="end"?yt-Xe+ne+re:et(Fe,Xe,it,$t,ne+re,yt,yt+De,De);const{scrollLeft:He,scrollTop:Le}=me;ie=Ge===0?0:Math.max(0,Math.min(Le+ie/Ge,me.scrollHeight-qe/Ge+le)),de=Se===0?0:Math.max(0,Math.min(He+de/Se,me.scrollWidth-it/Se+re)),he+=Le-ie,yt+=He-de}Vt.push({el:me,top:ie,left:de})}return Vt},be=Ie=>Ie===!1?{block:"end",inline:"nearest"}:(ue=>ue===Object(ue)&&Object.keys(ue).length!==0)(Ie)?Ie:{block:"start",inline:"nearest"};function Ve(Ie,ue){if(!Ie.isConnected||!(Rt=>{let ot=Rt;for(;ot&&ot.parentNode;){if(ot.parentNode===document)return!0;ot=ot.parentNode instanceof ShadowRoot?ot.parentNode.host:ot.parentNode}return!1})(Ie))return;const $e=(Rt=>{const ot=window.getComputedStyle(Rt);return{top:parseFloat(ot.scrollMarginTop)||0,right:parseFloat(ot.scrollMarginRight)||0,bottom:parseFloat(ot.scrollMarginBottom)||0,left:parseFloat(ot.scrollMarginLeft)||0}})(Ie);if((Rt=>typeof Rt=="object"&&typeof Rt.behavior=="function")(ue))return ue.behavior(pe(Ie,ue));const Ee=typeof ue=="boolean"||ue==null?void 0:ue.behavior;for(const{el:Rt,top:ot,left:st}of pe(Ie,be(ue))){const Ue=ot-$e.top+$e.bottom,Re=st-$e.left+$e.right;Rt.scroll({top:Ue,left:Re,behavior:Ee})}}}}]); +}()); \ No newline at end of file diff --git a/p__Paths__Detail__id.9b5b73ec.async.js b/p__Paths__Detail__id.db09e90c.async.js similarity index 99% rename from p__Paths__Detail__id.9b5b73ec.async.js rename to p__Paths__Detail__id.db09e90c.async.js index c4731bae66..8910f6e8da 100644 --- a/p__Paths__Detail__id.9b5b73ec.async.js +++ b/p__Paths__Detail__id.db09e90c.async.js @@ -1316,7 +1316,7 @@ T* `):mt.join(` Tj `),ee}},Cross:{createAppearanceStream:function(E){var ee={D:{Off:ko.RadioButton.Cross.OffPushDown},N:{}};return ee.N[E]=ko.RadioButton.Cross.YesNormal,ee.D[E]=ko.RadioButton.Cross.YesPushDown,ee},getCA:function(){return"8"},YesNormal:function(E){var ee=Ch(E);ee.scope=E.scope;var x=[],ge=ko.internal.calculateCross(E);return x.push("q"),x.push("1 1 "+Ll(ko.internal.getWidth(E)-2)+" "+Ll(ko.internal.getHeight(E)-2)+" re"),x.push("W"),x.push("n"),x.push(Ll(ge.x1.x)+" "+Ll(ge.x1.y)+" m"),x.push(Ll(ge.x2.x)+" "+Ll(ge.x2.y)+" l"),x.push(Ll(ge.x4.x)+" "+Ll(ge.x4.y)+" m"),x.push(Ll(ge.x3.x)+" "+Ll(ge.x3.y)+" l"),x.push("s"),x.push("Q"),ee.stream=x.join(` `),ee},YesPushDown:function(E){var ee=Ch(E);ee.scope=E.scope;var x=ko.internal.calculateCross(E),ge=[];return ge.push("0.749023 g"),ge.push("0 0 "+Ll(ko.internal.getWidth(E))+" "+Ll(ko.internal.getHeight(E))+" re"),ge.push("f"),ge.push("q"),ge.push("1 1 "+Ll(ko.internal.getWidth(E)-2)+" "+Ll(ko.internal.getHeight(E)-2)+" re"),ge.push("W"),ge.push("n"),ge.push(Ll(x.x1.x)+" "+Ll(x.x1.y)+" m"),ge.push(Ll(x.x2.x)+" "+Ll(x.x2.y)+" l"),ge.push(Ll(x.x4.x)+" "+Ll(x.x4.y)+" m"),ge.push(Ll(x.x3.x)+" "+Ll(x.x3.y)+" l"),ge.push("s"),ge.push("Q"),ee.stream=ge.join(` `),ee},OffPushDown:function(E){var ee=Ch(E);ee.scope=E.scope;var x=[];return x.push("0.749023 g"),x.push("0 0 "+Ll(ko.internal.getWidth(E))+" "+Ll(ko.internal.getHeight(E))+" re"),x.push("f"),ee.stream=x.join(` -`),ee}}},createDefaultAppearanceStream:function(E){var ee=E.scope.internal.getFont(E.fontName,E.fontStyle).id,x=E.scope.__private__.encodeColorString(E.color);return"/"+ee+" "+E.fontSize+" Tf "+x}};ko.internal={Bezier_C:.551915024494,calculateCross:function(E){var ee=ko.internal.getWidth(E),x=ko.internal.getHeight(E),ge=Math.min(ee,x);return{x1:{x:(ee-ge)/2,y:(x-ge)/2+ge},x2:{x:(ee-ge)/2+ge,y:(x-ge)/2},x3:{x:(ee-ge)/2,y:(x-ge)/2},x4:{x:(ee-ge)/2+ge,y:(x-ge)/2+ge}}}},ko.internal.getWidth=function(E){var ee=0;return(0,a.Z)(E)==="object"&&(ee=bm(E.Rect[2])),ee},ko.internal.getHeight=function(E){var ee=0;return(0,a.Z)(E)==="object"&&(ee=bm(E.Rect[3])),ee};var Ef=pc.addField=function(E){if(Dn(this,E),!(E instanceof _a))throw new Error("Invalid argument passed to jsPDF.addField.");var ee;return(ee=E).scope.internal.acroformPlugin.printedOut&&(ee.scope.internal.acroformPlugin.printedOut=!1,ee.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),ee.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(ee),E.page=E.scope.internal.getCurrentPageInfo().pageNumber,this};pc.AcroFormChoiceField=Zo,pc.AcroFormListBox=Tl,pc.AcroFormComboBox=xs,pc.AcroFormEditBox=Cs,pc.AcroFormButton=wl,pc.AcroFormPushButton=Gl,pc.AcroFormRadioButton=ol,pc.AcroFormCheckBox=hu,pc.AcroFormTextField=tu,pc.AcroFormPasswordField=yl,pc.AcroFormAppearance=ko,pc.AcroForm={ChoiceField:Zo,ListBox:Tl,ComboBox:xs,EditBox:Cs,Button:wl,PushButton:Gl,RadioButton:ol,CheckBox:hu,TextField:tu,PasswordField:yl,Appearance:ko},Ws.AcroForm={ChoiceField:Zo,ListBox:Tl,ComboBox:xs,EditBox:Cs,Button:wl,PushButton:Gl,RadioButton:ol,CheckBox:hu,TextField:tu,PasswordField:yl,Appearance:ko};var wf=Ws.AcroForm;function mA(E){return E.reduce(function(ee,x,ge){return ee[x]=ge,ee},{})}(function(E){var ee="addImage_";E.__addimage__={};var x="UNKNOWN",ge={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},Le=E.__addimage__.getImageFileTypeByImageData=function(En,Rn){var Sr,mr,vi,Vi,_i,Ci=x;if((Rn=Rn||x)==="RGBA"||En.data!==void 0&&En.data instanceof Uint8ClampedArray&&"height"in En&&"width"in En)return"RGBA";if(ua(En))for(_i in ge)for(vi=ge[_i],Sr=0;Sr>"}),"transparency"in Rn&&Array.isArray(Rn.transparency)&&Rn.transparency.length>0){for(var _i="",Ci=0,na=Rn.transparency.length;Ci>",Mn.content=je;var gr=Mn.objId+" 0 R";je="<>";else if(ge.options.pageNumber)switch(je="<=0};E.__arabicParser__.arabicLetterHasIsolatedForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length>=1};var wt=E.__arabicParser__.arabicLetterHasFinalForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length>=2};E.__arabicParser__.arabicLetterHasInitialForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length>=3};var Tt=E.__arabicParser__.arabicLetterHasMedialForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length==4},nn=E.__arabicParser__.resolveLigatures=function(Mn){var Qn=0,Cn=x,Ir="",gr=0;for(Qn=0;Qn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ee+" 0 R")})),this},function(E){var ee=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(at){x=at}});var ge=150;Object.defineProperty(this,"width",{get:function(){return ge},set:function(at){ge=isNaN(at)||Number.isInteger(at)===!1||at<0?150:at,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=ge+1)}});var Le=300;Object.defineProperty(this,"height",{get:function(){return Le},set:function(at){Le=isNaN(at)||Number.isInteger(at)===!1||at<0?300:at,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Le+1)}});var je=[];Object.defineProperty(this,"childNodes",{get:function(){return je},set:function(at){je=at}});var gt={};Object.defineProperty(this,"style",{get:function(){return gt},set:function(at){gt=at}}),Object.defineProperty(this,"parentNode",{})};ee.prototype.getContext=function(x,ge){var Le;if((x=x||"2d")!=="2d")return null;for(Le in ge)this.pdf.context2d.hasOwnProperty(Le)&&(this.pdf.context2d[Le]=ge[Le]);return this.pdf.context2d._canvas=this,this.pdf.context2d},ee.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},E.events.push(["initialized",function(){this.canvas=new ee,this.canvas.pdf=this}])}(Ws.API),function(E){var ee={left:0,top:0,bottom:0,right:0},x=!1,ge=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},ee),this.internal.__cell__.margins.width=this.getPageWidth(),Le.call(this))},Le=function(){this.internal.__cell__.lastCell=new je,this.internal.__cell__.pages=1},je=function(){var yt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return yt},set:function(Mn){yt=Mn}});var wt=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return wt},set:function(Mn){wt=Mn}});var Tt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Tt},set:function(Mn){Tt=Mn}});var nn=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return nn},set:function(Mn){nn=Mn}});var fn=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return fn},set:function(Mn){fn=Mn}});var Nt=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Nt},set:function(Mn){Nt=Mn}});var On=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return On},set:function(Mn){On=Mn}}),this};je.prototype.clone=function(){return new je(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},je.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},E.setHeaderFunction=function(yt){return ge.call(this),this.internal.__cell__.headerFunction=typeof yt=="function"?yt:void 0,this},E.getTextDimensions=function(yt,wt){ge.call(this);var Tt=(wt=wt||{}).fontSize||this.getFontSize(),nn=wt.font||this.getFont(),fn=wt.scaleFactor||this.internal.scaleFactor,Nt=0,On=0,Mn=0,Qn=this;if(!Array.isArray(yt)&&typeof yt!="string"){if(typeof yt!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");yt=String(yt)}var Cn=wt.maxWidth;Cn>0?typeof yt=="string"?yt=this.splitTextToSize(yt,Cn):Object.prototype.toString.call(yt)==="[object Array]"&&(yt=yt.reduce(function(gr,_n){return gr.concat(Qn.splitTextToSize(_n,Cn))},[])):yt=Array.isArray(yt)?yt:[yt];for(var Ir=0;Irthis.getPageHeight()?(this.cellAddPage(),yt.y=nn.top,Nt&&fn&&(this.printHeaderRow(yt.lineNumber,!0),yt.y+=fn[0].height)):yt.y=wt.y+wt.height||yt.y),yt.text[0]!==void 0&&(this.rect(yt.x,yt.y,yt.width,yt.height,x===!0?"FD":void 0),yt.align==="right"?this.text(yt.text,yt.x+yt.width-Tt,yt.y+Tt,{align:"right",baseline:"top"}):yt.align==="center"?this.text(yt.text,yt.x+yt.width/2,yt.y+Tt,{align:"center",baseline:"top",maxWidth:yt.width-Tt-Tt}):this.text(yt.text,yt.x+Tt,yt.y+Tt,{align:"left",baseline:"top",maxWidth:yt.width-Tt-Tt})),this.internal.__cell__.lastCell=yt,this};E.table=function(yt,wt,Tt,nn,fn){if(ge.call(this),!Tt)throw new Error("No data for PDF table.");var Nt,On,Mn,Qn,Cn=[],Ir=[],gr=[],_n={},Ii={},ua=[],Ki=[],Ur=(fn=fn||{}).autoSize||!1,rr=fn.printHeaders!==!1,ui=fn.css&&fn.css["font-size"]!==void 0?16*fn.css["font-size"]:fn.fontSize||12,En=fn.margins||Object.assign({width:this.getPageWidth()},ee),Rn=typeof fn.padding=="number"?fn.padding:3,Sr=fn.headerBackgroundColor||"#c8c8c8",mr=fn.headerTextColor||"#000";if(Le.call(this),this.internal.__cell__.printHeaders=rr,this.internal.__cell__.margins=En,this.internal.__cell__.table_font_size=ui,this.internal.__cell__.padding=Rn,this.internal.__cell__.headerBackgroundColor=Sr,this.internal.__cell__.headerTextColor=mr,this.setFontSize(ui),nn==null)Ir=Cn=Object.keys(Tt[0]),gr=Cn.map(function(){return"left"});else if(Array.isArray(nn)&&(0,a.Z)(nn[0])==="object")for(Cn=nn.map(function(Fo){return Fo.name}),Ir=nn.map(function(Fo){return Fo.prompt||Fo.name||""}),gr=nn.map(function(Fo){return Fo.align||"left"}),Nt=0;Nt0&&this.setTableHeaderRow(fn),this.setFont(void 0,"normal"),x=!1}}(Ws.API);var od={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},m0=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],jd=mA(m0),Od=[100,200,300,400,500,600,700,800,900],ap=mA(Od);function nh(E){var ee=E.family.replace(/"|'/g,"").toLowerCase(),x=function(je){return od[je=je||"normal"]?je:"normal"}(E.style),ge=function(je){return je?typeof je=="number"?je>=100&&je<=900&&je%100==0?je:400:/^\d00$/.test(je)?parseInt(je):je==="bold"?700:400:400}(E.weight),Le=function(je){return typeof jd[je=je||"normal"]=="number"?je:"normal"}(E.stretch);return{family:ee,style:x,weight:ge,stretch:Le,src:E.src||[],ref:E.ref||{name:ee,style:[Le,x,ge].join(" ")}}}function v0(E,ee,x,ge){var Le;for(Le=x;Le>=0&&Le=0&&Le>>1)&255}return Le}function av(E,ee,x){var ge=E.length,Le=[];Le[0]=4;for(var je=0;je>je>}function yv(E,ee,x,ge){var Le=x*ge,je=Math.floor(Le/8),gt=16-(Le-8*je+ge),at=(1<>8&255;wt.setUint8(Tt,fn)}})(E,je,zv(E,je)&~(at<>7,gt=1<<1+(7&Le);E[ee++],E[ee++];var at=null,yt=null;je&&(at=ee,yt=gt,ee+=3*gt);var wt=!0,Tt=[],nn=0,fn=null,Nt=0,On=null;for(this.width=x,this.height=ge;wt&&ee=0))throw Error("Invalid block size");if(En===0)break;ee+=En}break;case 249:if(E[ee++]!==4||E[ee+4]!==0)throw new Error("Invalid graphics extension block.");var Mn=E[ee++];nn=E[ee++]|E[ee++]<<8,fn=E[ee++],1&Mn||(fn=null),Nt=Mn>>2&7,ee++;break;case 254:for(;;){if(!((En=E[ee++])>=0))throw Error("Invalid block size");if(En===0)break;ee+=En}break;default:throw new Error("Unknown graphic control label: 0x"+E[ee-1].toString(16))}break;case 44:var Qn=E[ee++]|E[ee++]<<8,Cn=E[ee++]|E[ee++]<<8,Ir=E[ee++]|E[ee++]<<8,gr=E[ee++]|E[ee++]<<8,_n=E[ee++],Ii=_n>>6&1,ua=1<<1+(7&_n),Ki=at,Ur=yt,rr=!1;_n>>7&&(rr=!0,Ki=ee,Ur=ua,ee+=3*ua);var ui=ee;for(ee++;;){var En;if(!((En=E[ee++])>=0))throw Error("Invalid block size");if(En===0)break;ee+=En}Tt.push({x:Qn,y:Cn,width:Ir,height:gr,has_local_palette:rr,palette_offset:Ki,palette_size:Ur,data_offset:ui,data_length:ee-ui,transparent_index:fn,interlaced:!!Ii,delay:nn,disposal:Nt});break;case 59:wt=!1;break;default:throw new Error("Unknown gif block: 0x"+E[ee-1].toString(16))}this.numFrames=function(){return Tt.length},this.loopCount=function(){return On},this.frameInfo=function(Rn){if(Rn<0||Rn>=Tt.length)throw new Error("Frame index out of range.");return Tt[Rn]},this.decodeAndBlitFrameBGRA=function(Rn,Sr){var mr=this.frameInfo(Rn),vi=mr.width*mr.height,Vi=new Uint8Array(vi);Ev(E,mr.data_offset,Vi,vi);var _i=mr.palette_offset,Ci=mr.transparent_index;Ci===null&&(Ci=256);var na=mr.width,Fo=x-na,ka=na,yn=4*(mr.y*x+mr.x),Yn=4*((mr.y+mr.height)*x+mr.x),dr=yn,Pr=4*Fo;mr.interlaced===!0&&(Pr+=4*x*7);for(var zr=8,di=0,Ji=Vi.length;di=Yn&&(Pr=4*Fo+4*x*(zr-1),dr=yn+(na+Fo)*(zr<<1),zr>>=1)),Qi===Ci)dr+=4;else{var wa=E[_i+3*Qi],lo=E[_i+3*Qi+1],cs=E[_i+3*Qi+2];Sr[dr++]=cs,Sr[dr++]=lo,Sr[dr++]=wa,Sr[dr++]=255}--ka}},this.decodeAndBlitFrameRGBA=function(Rn,Sr){var mr=this.frameInfo(Rn),vi=mr.width*mr.height,Vi=new Uint8Array(vi);Ev(E,mr.data_offset,Vi,vi);var _i=mr.palette_offset,Ci=mr.transparent_index;Ci===null&&(Ci=256);var na=mr.width,Fo=x-na,ka=na,yn=4*(mr.y*x+mr.x),Yn=4*((mr.y+mr.height)*x+mr.x),dr=yn,Pr=4*Fo;mr.interlaced===!0&&(Pr+=4*x*7);for(var zr=8,di=0,Ji=Vi.length;di=Yn&&(Pr=4*Fo+4*x*(zr-1),dr=yn+(na+Fo)*(zr<<1),zr>>=1)),Qi===Ci)dr+=4;else{var wa=E[_i+3*Qi],lo=E[_i+3*Qi+1],cs=E[_i+3*Qi+2];Sr[dr++]=wa,Sr[dr++]=lo,Sr[dr++]=cs,Sr[dr++]=255}--ka}}}function Ev(E,ee,x,ge){for(var Le=E[ee++],je=1<>=yt,Tt-=yt,Qn!==je){if(Qn===gt)break;for(var Cn=Qnje;)gr=On[gr]>>8,++Ir;var _n=gr;if(fn+Ir+(Cn!==Qn?1:0)>ge)return void Ou.log("Warning, gif stream longer than expected.");x[fn++]=_n;var Ii=fn+=Ir;for(Cn!==Qn&&(x[fn++]=_n),gr=Cn;Ir--;)gr=On[gr],x[--Ii]=255&gr,gr>>=8;Mn!==null&&at<4096&&(On[at++]=Mn<<8|_n,at>=wt+1&&yt<12&&(++yt,wt=wt<<1|1)),Mn=Qn}else at=gt+1,wt=(1<<(yt=Le+1))-1,Mn=null}return fn!==ge&&Ou.log("Warning, gif stream shorter than expected."),x}function Qm(E){var ee,x,ge,Le,je,gt=Math.floor,at=new Array(64),yt=new Array(64),wt=new Array(64),Tt=new Array(64),nn=new Array(65535),fn=new Array(65535),Nt=new Array(64),On=new Array(64),Mn=[],Qn=0,Cn=7,Ir=new Array(64),gr=new Array(64),_n=new Array(64),Ii=new Array(256),ua=new Array(2048),Ki=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ur=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],rr=[0,1,2,3,4,5,6,7,8,9,10,11],ui=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],En=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Sr=[0,1,2,3,4,5,6,7,8,9,10,11],mr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],vi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Vi(yn,Yn){for(var dr=0,Pr=0,zr=new Array,di=1;di<=16;di++){for(var Ji=1;Ji<=yn[di];Ji++)zr[Yn[Pr]]=[],zr[Yn[Pr]][0]=dr,zr[Yn[Pr]][1]=di,Pr++,dr++;dr*=2}return zr}function _i(yn){for(var Yn=yn[0],dr=yn[1]-1;dr>=0;)Yn&1<>8&255),Ci(255&yn)}function Fo(yn,Yn,dr,Pr,zr){for(var di,Ji=zr[0],Qi=zr[240],wa=function($a,bl){var Ts,Cl,pl,dA,xu,au,Yu,Wu,Zs,ou,sl=0;for(Zs=0;Zs<8;++Zs){Ts=$a[sl],Cl=$a[sl+1],pl=$a[sl+2],dA=$a[sl+3],xu=$a[sl+4],au=$a[sl+5],Yu=$a[sl+6];var Uc=Ts+(Wu=$a[sl+7]),Zu=Ts-Wu,Su=Cl+Yu,yu=Cl-Yu,mc=pl+au,El=pl-au,ac=dA+xu,jl=dA-xu,su=Uc+ac,KA=Uc-ac,Iu=Su+mc,Ml=Su-mc;$a[sl]=su+Iu,$a[sl+4]=su-Iu;var vA=.707106781*(Ml+KA);$a[sl+2]=KA+vA,$a[sl+6]=KA-vA;var rg=.382683433*((su=jl+El)-(Ml=yu+Zu)),bf=.5411961*su+rg,Lp=1.306562965*Ml+rg,E0=.707106781*(Iu=El+yu),Pl=Zu+E0,Pp=Zu-E0;$a[sl+5]=Pp+bf,$a[sl+3]=Pp-bf,$a[sl+1]=Pl+Lp,$a[sl+7]=Pl-Lp,sl+=8}for(sl=0,Zs=0;Zs<8;++Zs){Ts=$a[sl],Cl=$a[sl+8],pl=$a[sl+16],dA=$a[sl+24],xu=$a[sl+32],au=$a[sl+40],Yu=$a[sl+48];var Np=Ts+(Wu=$a[sl+56]),Kh=Ts-Wu,Yh=Cl+Yu,zc=Cl-Yu,kd=pl+au,Hc=pl-au,sd=dA+xu,Ap=dA-xu,w0=Np+sd,cp=Np-sd,Jh=Yh+kd,b0=Yh-kd;$a[sl]=w0+Jh,$a[sl+32]=w0-Jh;var qh=.707106781*(b0+cp);$a[sl+16]=cp+qh,$a[sl+48]=cp-qh;var Dg=.382683433*((w0=Ap+Hc)-(b0=zc+Kh)),C0=.5411961*w0+Dg,Lg=1.306562965*b0+Dg,qg=.707106781*(Jh=Hc+zc),_g=Kh+qg,$g=Kh-qg;$a[sl+40]=$g+C0,$a[sl+24]=$g-C0,$a[sl+8]=_g+Lg,$a[sl+56]=_g-Lg,sl++}for(Zs=0;Zs<64;++Zs)ou=$a[Zs]*bl[Zs],Nt[Zs]=ou>0?ou+.5|0:ou-.5|0;return Nt}(yn,Yn),lo=0;lo<64;++lo)On[Ki[lo]]=wa[lo];var cs=On[0]-dr;dr=On[0],cs==0?_i(Pr[0]):(_i(Pr[fn[di=32767+cs]]),_i(nn[di]));for(var ls=63;ls>0&&On[ls]==0;)ls--;if(ls==0)return _i(Ji),dr;for(var dl,Un=1;Un<=ls;){for(var Xa=Un;On[Un]==0&&Un<=ls;)++Un;var vu=Un-Xa;if(vu>=16){dl=vu>>4;for(var Il=1;Il<=dl;++Il)_i(Qi);vu&=15}di=32767+On[Un],_i(zr[(vu<<4)+fn[di]]),_i(nn[di]),Un++}return ls!=63&&_i(Ji),dr}function ka(yn){yn=Math.min(Math.max(yn,1),100),je!=yn&&(function(Yn){for(var dr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Pr=0;Pr<64;Pr++){var zr=gt((dr[Pr]*Yn+50)/100);zr=Math.min(Math.max(zr,1),255),at[Ki[Pr]]=zr}for(var di=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Ji=0;Ji<64;Ji++){var Qi=gt((di[Ji]*Yn+50)/100);Qi=Math.min(Math.max(Qi,1),255),yt[Ki[Ji]]=Qi}for(var wa=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],lo=0,cs=0;cs<8;cs++)for(var ls=0;ls<8;ls++)wt[lo]=1/(at[Ki[lo]]*wa[cs]*wa[ls]*8),Tt[lo]=1/(yt[Ki[lo]]*wa[cs]*wa[ls]*8),lo++}(yn<50?Math.floor(5e3/yn):Math.floor(200-2*yn)),je=yn)}this.encode=function(yn,Yn){Yn&&ka(Yn),Mn=new Array,Qn=0,Cn=7,na(65496),na(65504),na(16),Ci(74),Ci(70),Ci(73),Ci(70),Ci(0),Ci(1),Ci(1),Ci(0),na(1),na(1),Ci(0),Ci(0),function(){na(65499),na(132),Ci(0);for(var Cl=0;Cl<64;Cl++)Ci(at[Cl]);Ci(1);for(var pl=0;pl<64;pl++)Ci(yt[pl])}(),function(Cl,pl){na(65472),na(17),Ci(8),na(pl),na(Cl),Ci(3),Ci(1),Ci(17),Ci(0),Ci(2),Ci(17),Ci(1),Ci(3),Ci(17),Ci(1)}(yn.width,yn.height),function(){na(65476),na(418),Ci(0);for(var Cl=0;Cl<16;Cl++)Ci(Ur[Cl+1]);for(var pl=0;pl<=11;pl++)Ci(rr[pl]);Ci(16);for(var dA=0;dA<16;dA++)Ci(ui[dA+1]);for(var xu=0;xu<=161;xu++)Ci(En[xu]);Ci(1);for(var au=0;au<16;au++)Ci(Rn[au+1]);for(var Yu=0;Yu<=11;Yu++)Ci(Sr[Yu]);Ci(17);for(var Wu=0;Wu<16;Wu++)Ci(mr[Wu+1]);for(var Zs=0;Zs<=161;Zs++)Ci(vi[Zs])}(),na(65498),na(12),Ci(3),Ci(1),Ci(0),Ci(2),Ci(17),Ci(3),Ci(17),Ci(0),Ci(63),Ci(0);var dr=0,Pr=0,zr=0;Qn=0,Cn=7,this.encode.displayName="_encode_";for(var di,Ji,Qi,wa,lo,cs,ls,dl,Un,Xa=yn.data,vu=yn.width,Il=yn.height,$a=4*vu,bl=0;bl>3)*$a+(ls=4*(7&Un)),bl+dl>=Il&&(cs-=$a*(bl+1+dl-Il)),di+ls>=$a&&(cs-=di+ls-$a+4),Ji=Xa[cs++],Qi=Xa[cs++],wa=Xa[cs++],Ir[Un]=(ua[Ji]+ua[Qi+256|0]+ua[wa+512|0]>>16)-128,gr[Un]=(ua[Ji+768|0]+ua[Qi+1024|0]+ua[wa+1280|0]>>16)-128,_n[Un]=(ua[Ji+1280|0]+ua[Qi+1536|0]+ua[wa+1792|0]>>16)-128;dr=Fo(Ir,wt,dr,ee,ge),Pr=Fo(gr,Tt,Pr,x,Le),zr=Fo(_n,Tt,zr,x,Le),di+=32}bl+=8}if(Cn>=0){var Ts=[];Ts[1]=Cn+1,Ts[0]=(1<Rn;Rn++)if(rr[ui+Rn]!=En.charCodeAt(Rn))return!0;return!1}function ge(rr,ui,En,Rn,Sr){for(var mr=0;mrmr+1?[]:new ui),!(vi.length>>0;Qe&St;)St>>>=1;return St?(Qe&St-1)+St:Qe}function En(Qe,nt,St,Rt,an){ee(!(Rt%St));do Qe[nt+(Rt-=St)]=an;while(0=an),512>=an)var dn=je(512);else if((dn=je(an))==null)return 0;return function(vn,Bn,In,Xn,Qr,Mi){var Vn,_r,fi=Bn,fa=1<Vn;++Vn){if(Bi[Vn]>1<(Mu-=Bi[Vn]))return 0;for(;0=Vn;++Vn,Qr<<=1){if(zs+=Mu<<=1,0>(Mu-=Bi[Vn]))return 0;for(;0co&&!(0>=(ba-=Bi[co]));)++co,ba<<=1;fa+=nl=1<<(ba=co-In),vn[Bn+(co=Al&Va)].g=ba+In,vn[Bn+co].value=fi-Bn-co}Xn.g=Vn-In,Xn.value=Mi[_r++],En(vn,fi+(Al>>In),Qr,nl,Xn),Al=ui(Al,Vn)}}return zs!=2*va[15]-1?0:fa}(Qe,nt,St,Rt,an,dn)}function Sr(){this.value=this.g=0}function mr(){this.value=this.g=0}function vi(){this.G=gt(5,Sr),this.H=je(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=gt(Mh,mr)}function Vi(Qe,nt,St,Rt){ee(Qe!=null),ee(nt!=null),ee(2147483648>Rt),Qe.Ca=254,Qe.I=0,Qe.b=-8,Qe.Ka=0,Qe.oa=nt,Qe.pa=St,Qe.Jd=nt,Qe.Yc=St+Rt,Qe.Zc=4<=Rt?St+Rt-4+1:St,Ji(Qe)}function _i(Qe,nt){for(var St=0;0Rt),Qe.Sb=Rt,Qe.Ra=0,Qe.u=0,Qe.h=0,4>>=8,Qe.Ra+=Qe.oa[Qe.pa+Qe.bb]<>>0,++Qe.bb,Qe.u-=8;Pr(Qe)&&(Qe.h=1,Qe.u=0)}function ka(Qe,nt){if(ee(0<=nt),!Qe.h&&nt<=yd){var St=dr(Qe)&vd[nt];return Qe.u+=nt,Fo(Qe),St}return Qe.h=1,Qe.u=0}function yn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Yn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function dr(Qe){return Qe.Ra>>>(Qe.u&ah-1)>>>0}function Pr(Qe){return ee(Qe.bb<=Qe.Sb),Qe.h||Qe.bb==Qe.Sb&&Qe.u>ah}function zr(Qe,nt){Qe.u=nt,Qe.h=Pr(Qe)}function di(Qe){Qe.u>=Bf&&(ee(Qe.u>=Bf),Fo(Qe))}function Ji(Qe){ee(Qe!=null&&Qe.oa!=null),Qe.pa>>0,Qe.b+=8):(ee(Qe!=null&&Qe.oa!=null),Qe.paQe.b&&Ji(Qe);var Rt=Qe.b,an=St*nt>>>8,dn=(Qe.I>>>Rt>an)+0;for(dn?(St-=an,Qe.I-=an+1<>>0):St=an+1,Rt=St,an=0;256<=Rt;)an+=8,Rt>>=8;return Rt=7^an+oh[Rt],Qe.b-=Rt,Qe.Ca=(St<>24&255,Qe[nt+1]=St>>16&255,Qe[nt+2]=St>>8&255,Qe[nt+3]=255&St}function cs(Qe,nt){return Qe[nt+0]|Qe[nt+1]<<8}function ls(Qe,nt){return cs(Qe,nt)|Qe[nt+2]<<16}function dl(Qe,nt){return cs(Qe,nt)|cs(Qe,nt+2)<<16}function Un(Qe,nt){var St=1<=an||0>=dn?0:(St[0]=an,Rt[0]=dn,1)}function $a(Qe,nt){return Qe+(1<>>nt}function bl(Qe,nt){return((4278255360&Qe)+(4278255360&nt)>>>0&4278255360)+((16711935&Qe)+(16711935&nt)>>>0&16711935)>>>0}function Ts(Qe,nt){rr[nt]=function(St,Rt,an,dn,vn,Bn,In){var Xn;for(Xn=0;Xn>>1)+(Qe&nt)>>>0}function dA(Qe){return 0<=Qe&&256>Qe?Qe:0>Qe?0:255>1))}function au(Qe,nt,St){return Math.abs(nt-St)-Math.abs(Qe-St)}function Yu(Qe,nt,St,Rt,an,dn,vn){for(Rt=dn[vn-1],St=0;St>8&255,In=16711935&(In=(In=16711935&vn)+((Bn<<16)+Bn));Rt[an+dn]=(4278255360&vn)+In>>>0}}function Zs(Qe,nt){nt.jd=255&Qe,nt.hd=Qe>>8&255,nt.ud=Qe>>16&255}function ou(Qe,nt,St,Rt,an,dn){var vn;for(vn=0;vn>>8,Xn=Bn,Qr=255&(Qr=(Qr=Bn>>>16)+((Qe.jd<<24>>24)*(In<<24>>24)>>>5));Xn=255&(Xn=(Xn+=(Qe.hd<<24>>24)*(In<<24>>24)>>>5)+((Qe.ud<<24>>24)*(Qr<<24>>24)>>>5)),an[dn+vn]=(4278255360&Bn)+(Qr<<16)+Xn}}function sl(Qe,nt,St,Rt,an){rr[nt]=function(dn,vn,Bn,In,Xn,Qr,Mi,Vn,_r){for(In=Mi;In>dn.b,_r=dn.Ea,fi=dn.K[0],fa=dn.w;if(8>Vn)for(dn=(1<>=Vn}else rr["VP8LMapColor"+St](In,Xn,fi,fa,Qr,Mi,vn,Bn,_r)}}function Uc(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&255,Rt[an++]=dn>>8&255,Rt[an++]=255&dn}}function Zu(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&255,Rt[an++]=dn>>8&255,Rt[an++]=255&dn,Rt[an++]=dn>>24&255}}function Su(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&240|vn>>12&15,vn=240&vn|vn>>28&15;Rt[an++]=dn,Rt[an++]=vn}}function yu(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&248|vn>>13&7,vn=vn>>5&224|vn>>3&31;Rt[an++]=dn,Rt[an++]=vn}}function mc(Qe,nt,St,Rt,an){for(St=nt+St;nt>8&255,Rt[an++]=dn>>16&255}}function El(Qe,nt,St,Rt,an,dn){if(dn==0)for(St=nt+St;nt>24|dn[1]>>8&65280|dn[2]<<8&16711680|dn[3]<<24)>>>0),an+=32;else ge(Rt,an,Qe,nt,St)}function ac(Qe,nt){rr[nt][0]=rr[Qe+"0"],rr[nt][1]=rr[Qe+"1"],rr[nt][2]=rr[Qe+"2"],rr[nt][3]=rr[Qe+"3"],rr[nt][4]=rr[Qe+"4"],rr[nt][5]=rr[Qe+"5"],rr[nt][6]=rr[Qe+"6"],rr[nt][7]=rr[Qe+"7"],rr[nt][8]=rr[Qe+"8"],rr[nt][9]=rr[Qe+"9"],rr[nt][10]=rr[Qe+"10"],rr[nt][11]=rr[Qe+"11"],rr[nt][12]=rr[Qe+"12"],rr[nt][13]=rr[Qe+"13"],rr[nt][14]=rr[Qe+"0"],rr[nt][15]=rr[Qe+"0"]}function jl(Qe){return Qe==om||Qe==PA||Qe==kl||Qe==jg}function su(){this.eb=[],this.size=this.A=this.fb=0}function KA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Iu(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new su,this.f.kb=new KA,this.sd=null}function Ml(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function vA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function rg(Qe){return alert("todo:WebPSamplerProcessPlane"),Qe.T}function bf(Qe,nt){var St=Qe.T,Rt=nt.ba.f.RGBA,an=Rt.eb,dn=Rt.fb+Qe.ka*Rt.A,vn=kf[nt.ba.S],Bn=Qe.y,In=Qe.O,Xn=Qe.f,Qr=Qe.N,Mi=Qe.ea,Vn=Qe.W,_r=nt.cc,fi=nt.dc,fa=nt.Mc,Bi=nt.Nc,va=Qe.ka,ba=Qe.ka+Qe.T,co=Qe.U,Va=co+1>>1;for(va==0?vn(Bn,In,null,null,Xn,Qr,Mi,Vn,Xn,Qr,Mi,Vn,an,dn,null,null,co):(vn(nt.ec,nt.fc,Bn,In,_r,fi,fa,Bi,Xn,Qr,Mi,Vn,an,dn-Rt.A,an,dn,co),++St);va+2St,an=St==Qp||St==sg||St==fl||St==Tg||St==12||jl(St);if(nt.memory=null,nt.Ib=null,nt.Jb=null,nt.Nd=null,!S0(nt.Oa,Qe,an?11:12))return 0;if(an&&jl(St)&&Rs(),Qe.da)alert("todo:use_scaling");else{if(Rt){if(nt.Ib=rg,Qe.Kb){if(St=Qe.U+1>>1,nt.memory=je(Qe.U+2*St),nt.memory==null)return 0;nt.ec=nt.memory,nt.fc=0,nt.cc=nt.ec,nt.dc=nt.fc+Qe.U,nt.Mc=nt.cc,nt.Nc=nt.dc+St,nt.Ib=bf,Rs()}}else alert("todo:EmitYUV");an&&(nt.Jb=Lp,Rt&&Ol())}if(Rt&&!Ad){for(Qe=0;256>Qe;++Qe)i0[Qe]=89858*(Qe-128)+Vo>>zp,xa[Qe]=-22014*(Qe-128)+Vo,If[Qe]=-45773*(Qe-128),Ph[Qe]=113618*(Qe-128)+Vo>>zp;for(Qe=Xu;Qe>zp,Us[Qe-Xu]=dp(nt,255),eo[Qe-Xu]=dp(nt+8>>4,15);Ad=1}return 1}function Pl(Qe){var nt=Qe.ma,St=Qe.U,Rt=Qe.T;return ee(!(1&Qe.ka)),0>=St||0>=Rt?0:(St=nt.Ib(Qe,nt),nt.Jb!=null&&nt.Jb(Qe,nt,St),nt.Dc+=St,1)}function Pp(Qe){Qe.ma.memory=null}function Np(Qe,nt,St,Rt){return ka(Qe,8)!=47?0:(nt[0]=ka(Qe,14)+1,St[0]=ka(Qe,14)+1,Rt[0]=ka(Qe,1),ka(Qe,3)!=0?0:!Qe.h)}function Kh(Qe,nt){if(4>Qe)return Qe+1;var St=Qe-2>>1;return(2+(1&Qe)<>4)*Qe+(8-(15&St)))?St:1;var St}function zc(Qe,nt,St){var Rt=dr(St),an=Qe[nt+=255&Rt].g-8;return 0>>0,ee(8>=St.g),Qe.g}function Hc(Qe,nt,St){var Rt=Qe.xc;return ee((nt=Rt==0?0:Qe.vc[Qe.md*(St>>Rt)+(nt>>Rt)])>nl.b)*zs;faco&&(rl=co),(0,Dh[sA[nf++]>>8&15])(Vn,_r+ +Fu,va,ba+Fu-co,rl-Fu,va,ba+Fu),Fu=rl}_r+=co,ba+=co,++fa&Al||(nl+=zs)}Mi!=Xn.nc&&ge(In,Bn-fi,In,Bn+(Mi-Qr-1)*fi,fi);break;case 1:for(fi=Vn,Bi=_r,co=(Vn=Xn.Ea)-(ba=Vn&~(va=(_r=1<>Xn.b)*fa;Qr=an),0dn.o&&(Rt=dn.o),St=Rt?St=0:(an[0]+=4*dn.v,dn.ka=St-dn.j,dn.U=dn.va-dn.v,dn.T=Rt-St,St=1),St){if(Bn=Bn[0],11>(St=Qe.ca).S){var Qr=St.f.RGBA,Mi=(Rt=St.S,an=dn.U,dn=dn.T,Xn=Qr.eb,Qr.A),Vn=dn;for(Qr=Qr.fb+Qe.Ma*Qr.A;0Rt){var an=Qe.l.width,dn=St.ca,vn=St.tb+an*Rt,Bn=Qe.V,In=Qe.Ba+Qe.c*Rt,Xn=Qe.gc;ee(Qe.ab==1),ee(Xn[0].hc==3),tf(Xn[0],Rt,nt,Bn,In,dn,vn),cp(St,Rt,nt,dn,vn,an)}Qe.C=Qe.Ma=nt}function b0(Qe,nt,St,Rt,an,dn,vn){var Bn=Qe.$/Rt,In=Qe.$%Rt,Xn=Qe.m,Qr=Qe.s,Mi=St+Qe.$,Vn=Mi;an=St+Rt*an;var _r=St+Rt*dn,fi=280+Qr.ua,fa=Qe.Pb?Bn:16777216,Bi=0=fa){var Al=Mi-St;ee((fa=Qe).Pb),fa.wd=fa.m,fa.xd=Al,0Mu.g?(zr(Va,Va.u+Mu.g),Al[zs]=Mu.value,Va=0):(zr(Va,Va.u+Mu.g-256),ee(256<=Mu.value),Va=Mu.value),Va==0&&(co=!0)}else Va=zc(ba.G[0],ba.H[0],Xn);if(Xn.h)break;if(co||256>Va){if(!co)if(ba.nd)nt[Mi]=(ba.qb|Va<<8)>>>0;else{if(di(Xn),co=zc(ba.G[1],ba.H[1],Xn),di(Xn),Al=zc(ba.G[2],ba.H[2],Xn),zs=zc(ba.G[3],ba.H[3],Xn),Xn.h)break;nt[Mi]=(zs<<24|co<<16|Va<<8|Al)>>>0}if(co=!1,++Mi,++In>=Rt&&(In=0,++Bn,vn!=null&&Bn<=dn&&!(Bn%16)&&vn(Qe,Bn),Bi!=null))for(;Vn>>Bi.Mb]=Va}else if(280>Va){if(Va=Kh(Va-256,Xn),Al=zc(ba.G[4],ba.H[4],Xn),di(Xn),Al=Yh(Rt,Al=Kh(Al,Xn)),Xn.h)break;if(Mi-St=Rt;)In-=Rt,++Bn,vn!=null&&Bn<=dn&&!(Bn%16)&&vn(Qe,Bn);if(ee(Mi<=an),In&va&&(ba=Hc(Qr,In,Bn)),Bi!=null)for(;Vn>>Bi.Mb]=Va}else{if(!(Va>>Bi.Mb]=Va;Va=Mi,ee(!(co>>>(Al=Bi).Xa)),nt[Va]=Al.X[co],co=!0}co||ee(Xn.h==Pr(Xn))}if(Qe.Pb&&Xn.h&&Midn?dn:Bn),Qe.a=0,Qe.$=Mi-St}return 1}return Qe.a=3,0}function qh(Qe){ee(Qe!=null),Qe.vc=null,Qe.yc=null,Qe.Ya=null;var nt=Qe.Wa;nt!=null&&(nt.X=null),Qe.vb=null,ee(Qe!=null)}function Dg(){var Qe=new pi;return Qe==null?null:(Qe.a=0,Qe.xb=T0,ac("Predictor","VP8LPredictors"),ac("Predictor","VP8LPredictors_C"),ac("PredictorAdd","VP8LPredictorsAdd"),ac("PredictorAdd","VP8LPredictorsAdd_C"),JA=Wu,F0=ou,D0=Uc,sh=Zu,lh=Su,uh=yu,Ei=mc,rr.VP8LMapColor32b=ef,rr.VP8LMapColor8b=Fh,Qe)}function C0(Qe,nt,St,Rt,an){var dn=1,vn=[Qe],Bn=[nt],In=Rt.m,Xn=Rt.s,Qr=null,Mi=0;e:for(;;){if(St)for(;dn&&ka(In,1);){var Vn=vn,_r=Bn,fi=Rt,fa=1,Bi=fi.m,va=fi.gc[fi.ab],ba=ka(Bi,2);if(fi.Oc&1<=fi.ab),ba){case 0:case 1:va.b=ka(Bi,3)+2,fa=C0($a(va.Ea,va.b),$a(va.nc,va.b),0,fi,va.K),va.K=va.K[0];break;case 3:var co,Va=ka(Bi,8)+1,Al=16>nl.b),nf=je(sA);if(nf==null)co=0;else{var Fu=nl.K[0],rl=nl.w;for(nf[0]=nl.K[0][0],zs=1;zs<1*Mu;++zs)nf[zs]=bl(Fu[rl+zs],nf[zs-1]);for(;zs<4*sA;++zs)nf[zs]=0;nl.K[0]=null,nl.K[0]=nf,co=1}}fa=co;break;case 2:break;default:ee(0)}dn=fa}}if(vn=vn[0],Bn=Bn[0],dn&&ka(In,1)&&!(dn=1<=(Mi=ka(In,4))&&11>=Mi)){Rt.a=3;break e}var is;if(is=dn)t:{var bd,gu,fA,Fc=Rt,Rf=vn,Nh=Bn,cd=Mi,ch=St,Th=Fc.m,rf=Fc.s,wA=[null],$A=1,dd=0,ec=Ag[cd];n:for(;;){if(ch&&ka(Th,1)){var Uf=ka(Th,3)+2,Hp=$a(Rf,Uf),Cd=$a(Nh,Uf),a0=Hp*Cd;if(!C0(Hp,Cd,0,Fc,wA))break n;for(wA=wA[0],rf.xc=Uf,bd=0;bd>8&65535;wA[bd]=Ac,Ac>=$A&&($A=Ac+1)}}if(Th.h)break n;for(gu=0;5>gu;++gu){var af=zm[gu];!gu&&0=jh),Q0=k0;var o0=je(dd);if(Q0==null||o0==null||O0==null){Fc.a=1;break n}var R0=O0;for(bd=fA=0;bd<$A;++bd){var Ec=Q0[bd],U0=Ec.G,Wp=Ec.H,Pm=0,Qg=1,zf=0;for(gu=0;5>gu;++gu){af=zm[gu],U0[gu]=R0,Wp[gu]=fA,!gu&&0Nv)break r}else $v=Nv;for(dv=0;dvqm)h1[dv++]=qm,qm!=0&&(p1=qm);else{var P1=qm==16,v1=qm-16,N1=sm[v1],y1=ka(dm,ug[v1])+N1;if(dv+y1>Nv)break r;for(var T1=P1?p1:0;0=gu){var fv,t1=o0[0];for(fv=1;fvt1&&(t1=o0[fv]);zf+=t1}}if(Ec.nd=Qg,Ec.Qb=0,Qg&&(Ec.qb=(U0[3][Wp[3]+0].value<<24|U0[1][Wp[1]+0].value<<16|U0[2][Wp[2]+0].value)>>>0,Pm==0&&256>U0[0][Wp[0]+0].value&&(Ec.Qb=1,Ec.qb+=U0[0][Wp[0]+0].value<<8)),Ec.jc=!Ec.Qb&&6>zf,Ec.jc){var Tv,Rg=Ec;for(Tv=0;Tv>=kd(jv,8,hm),fm>>=kd(Rg.G[1][Rg.H[1]+fm],16,hm),fm>>=kd(Rg.G[2][Rg.H[2]+fm],0,hm),kd(Rg.G[3][Rg.H[3]+fm],24,hm))}}}rf.vc=wA,rf.Wb=$A,rf.Ya=Q0,rf.yc=O0,is=1;break t}is=0}if(!(dn=is)){Rt.a=3;break e}if(0Rt+1?[]:0),!(an.lengthQe?0:Qe>nt?nt:Qe}function nA(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function sv(){var Qe=new Rm;return Qe!=null&&(Qe.a=0,Qe.sc="OK",Qe.cb=0,Qe.Xb=0,Rp||(Rp=Ng)),Qe}function Mc(Qe,nt,St){return Qe.a==0&&(Qe.a=nt,Qe.sc=St,Qe.cb=0),0}function Mm(Qe,nt,St){return 3<=St&&Qe[nt+0]==157&&Qe[nt+1]==1&&Qe[nt+2]==42}function B0(Qe,nt){if(Qe==null)return 0;if(Qe.a=0,Qe.sc="OK",nt==null)return Mc(Qe,2,"null VP8Io passed to VP8GetHeaders()");var St=nt.data,Rt=nt.w,an=nt.ha;if(4>an)return Mc(Qe,7,"Truncated header.");var dn=St[Rt+0]|St[Rt+1]<<8|St[Rt+2]<<16,vn=Qe.Od;if(vn.Rb=!(1&dn),vn.td=dn>>1&7,vn.yd=dn>>4&1,vn.ub=dn>>5,3an)return Mc(Qe,7,"cannot parse picture header");if(!Mm(St,Rt,an))return Mc(Qe,3,"Bad code word");Bn.c=16383&(St[Rt+4]<<8|St[Rt+3]),Bn.Td=St[Rt+4]>>6,Bn.i=16383&(St[Rt+6]<<8|St[Rt+5]),Bn.Ud=St[Rt+6]>>6,Rt+=7,an-=7,Qe.za=Bn.c+15>>4,Qe.Ub=Bn.i+15>>4,nt.width=Bn.c,nt.height=Bn.i,nt.Da=0,nt.j=0,nt.v=0,nt.va=nt.width,nt.o=nt.height,nt.da=0,nt.ib=nt.width,nt.hb=nt.height,nt.U=nt.width,nt.T=nt.height,Le((dn=Qe.Pa).jb,0,255,dn.jb.length),ee((dn=Qe.Qa)!=null),dn.Cb=0,dn.Bb=0,dn.Fb=1,Le(dn.Zb,0,0,dn.Zb.length),Le(dn.Lb,0,0,dn.Lb)}if(vn.ub>an)return Mc(Qe,7,"bad partition length");Vi(dn=Qe.m,St,Rt,vn.ub),Rt+=vn.ub,an-=vn.ub,vn.Rb&&(Bn.Ld=Qi(dn),Bn.Kd=Qi(dn)),Bn=Qe.Qa;var In,Xn=Qe.Pa;if(ee(dn!=null),ee(Bn!=null),Bn.Cb=Qi(dn),Bn.Cb){if(Bn.Bb=Qi(dn),Qi(dn)){for(Bn.Fb=Qi(dn),In=0;4>In;++In)Bn.Zb[In]=Qi(dn)?Ci(dn,7):0;for(In=0;4>In;++In)Bn.Lb[In]=Qi(dn)?Ci(dn,6):0}if(Bn.Bb)for(In=0;3>In;++In)Xn.jb[In]=Qi(dn)?_i(dn,8):255}else Bn.Bb=0;if(dn.Ka)return Mc(Qe,3,"cannot parse segment header");if((Bn=Qe.ed).zd=Qi(dn),Bn.Tb=_i(dn,6),Bn.wb=_i(dn,3),Bn.Pc=Qi(dn),Bn.Pc&&Qi(dn)){for(Xn=0;4>Xn;++Xn)Qi(dn)&&(Bn.vd[Xn]=Ci(dn,6));for(Xn=0;4>Xn;++Xn)Qi(dn)&&(Bn.od[Xn]=Ci(dn,6))}if(Qe.L=Bn.Tb==0?0:Bn.zd?1:2,dn.Ka)return Mc(Qe,3,"cannot parse filter header");var Qr=an;if(an=In=Rt,Rt=In+Qr,Bn=Qr,Qe.Xb=(1<<_i(Qe.m,2))-1,Qr<3*(Xn=Qe.Xb))St=7;else{for(In+=3*Xn,Bn-=3*Xn,Qr=0;QrBn&&(Mi=Bn),Vi(Qe.Jc[+Qr],St,In,Mi),In+=Mi,Bn-=Mi,an+=3}Vi(Qe.Jc[+Xn],St,In,Bn),St=InMi;++Mi){if(Qr.Cb){var Vn=Qr.Zb[Mi];Qr.Fb||(Vn+=St)}else{if(0>16,8>_r.Eb[1]&&(_r.Eb[1]=8),_r.Qc[0]=P0[dp(Vn+Xn,117)],_r.Qc[1]=cg[dp(Vn+In,127)],_r.lc=Vn+In}if(!vn.Rb)return Mc(Qe,4,"Not a key frame.");for(Qi(dn),vn=Qe.Pa,St=0;4>St;++St){for(an=0;8>an;++an)for(Rt=0;3>Rt;++Rt)for(Bn=0;11>Bn;++Bn)Xn=wa(dn,Xm[St][an][Rt][Bn])?_i(dn,8):Up[St][an][Rt][Bn],vn.Wc[St][an].Yb[Rt][Bn]=Xn;for(an=0;17>an;++an)vn.Xc[St][an]=vn.Wc[St][Vm[an]]}return Qe.kc=Qi(dn),Qe.kc&&(Qe.Bd=_i(dn,8)),Qe.cb=1}function Ng(Qe,nt,St,Rt,an,dn,vn){var Bn=nt[an].Yb[St];for(St=0;16>an;++an){if(!wa(Qe,Bn[St+0]))return an;for(;!wa(Qe,Bn[St+1]);)if(Bn=nt[++an].Yb[0],St=0,an==16)return 16;var In=nt[an+1].Yb;if(wa(Qe,Bn[St+2])){var Xn=Qe,Qr=0;if(wa(Xn,(Vn=Bn)[(Mi=St)+3]))if(wa(Xn,Vn[Mi+6])){for(Bn=0,Mi=2*(Qr=wa(Xn,Vn[Mi+8]))+(Vn=wa(Xn,Vn[Mi+9+Qr])),Qr=0,Vn=uv[Mi];Vn[Bn];++Bn)Qr+=Qr+wa(Xn,Vn[Bn]);Qr+=3+(8<(Xn=Qe).b&&Ji(Xn);var Mi,Vn=Xn.b,_r=(Mi=Xn.Ca>>1)-(Xn.I>>Vn)>>31;--Xn.b,Xn.Ca+=_r,Xn.Ca|=1,Xn.I-=(Mi+1&_r)<>3),Qe[nt+St+32*Rt]=-256&an?0>an?0:255:an}function md(Qe,nt,St,Rt,an,dn){$h(Qe,nt,0,St,Rt+an),$h(Qe,nt,1,St,Rt+dn),$h(Qe,nt,2,St,Rt-dn),$h(Qe,nt,3,St,Rt-an)}function Tp(Qe){return(20091*Qe>>16)+Qe}function Dm(Qe,nt,St,Rt){var an,dn=0,vn=je(16);for(an=0;4>an;++an){var Bn=Qe[nt+0]+Qe[nt+8],In=Qe[nt+0]-Qe[nt+8],Xn=(35468*Qe[nt+4]>>16)-Tp(Qe[nt+12]),Qr=Tp(Qe[nt+4])+(35468*Qe[nt+12]>>16);vn[dn+0]=Bn+Qr,vn[dn+1]=In+Xn,vn[dn+2]=In-Xn,vn[dn+3]=Bn-Qr,dn+=4,nt++}for(an=dn=0;4>an;++an)Bn=(Qe=vn[dn+0]+4)+vn[dn+8],In=Qe-vn[dn+8],Xn=(35468*vn[dn+4]>>16)-Tp(vn[dn+12]),$h(St,Rt,0,0,Bn+(Qr=Tp(vn[dn+4])+(35468*vn[dn+12]>>16))),$h(St,Rt,1,0,In+Xn),$h(St,Rt,2,0,In-Xn),$h(St,Rt,3,0,Bn-Qr),dn++,Rt+=32}function Um(Qe,nt,St,Rt){var an=Qe[nt+0]+4,dn=35468*Qe[nt+4]>>16,vn=Tp(Qe[nt+4]),Bn=35468*Qe[nt+1]>>16;md(St,Rt,0,an+vn,Qe=Tp(Qe[nt+1]),Bn),md(St,Rt,1,an+dn,Qe,Bn),md(St,Rt,2,an-dn,Qe,Bn),md(St,Rt,3,an-vn,Qe,Bn)}function lv(Qe,nt,St,Rt,an){Dm(Qe,nt,St,Rt),an&&Dm(Qe,nt+16,St,Rt+4)}function fp(Qe,nt,St,Rt){rs(Qe,nt+0,St,Rt,1),rs(Qe,nt+32,St,Rt+128,1)}function ze(Qe,nt,St,Rt){var an;for(Qe=Qe[nt+0]+4,an=0;4>an;++an)for(nt=0;4>nt;++nt)$h(St,Rt,nt,an,Qe)}function We(Qe,nt,St,Rt){Qe[nt+0]&&Xs(Qe,nt+0,St,Rt),Qe[nt+16]&&Xs(Qe,nt+16,St,Rt+4),Qe[nt+32]&&Xs(Qe,nt+32,St,Rt+128),Qe[nt+48]&&Xs(Qe,nt+48,St,Rt+128+4)}function me(Qe,nt,St,Rt){var an,dn=je(16);for(an=0;4>an;++an){var vn=Qe[nt+0+an]+Qe[nt+12+an],Bn=Qe[nt+4+an]+Qe[nt+8+an],In=Qe[nt+4+an]-Qe[nt+8+an],Xn=Qe[nt+0+an]-Qe[nt+12+an];dn[0+an]=vn+Bn,dn[8+an]=vn-Bn,dn[4+an]=Xn+In,dn[12+an]=Xn-In}for(an=0;4>an;++an)vn=(Qe=dn[0+4*an]+3)+dn[3+4*an],Bn=dn[1+4*an]+dn[2+4*an],In=dn[1+4*an]-dn[2+4*an],Xn=Qe-dn[3+4*an],St[Rt+0]=vn+Bn>>3,St[Rt+16]=Xn+In>>3,St[Rt+32]=vn-Bn>>3,St[Rt+48]=Xn-In>>3,Rt+=64}function Ft(Qe,nt,St){var Rt,an=nt-32,dn=xf,vn=255-Qe[an-1];for(Rt=0;RtSt;++St)ge(Qe,nt+32*St,Qe,nt-32,16)}function zt(Qe,nt){var St;for(St=16;0Rt;++Rt)Le(nt,St+32*Rt,Qe,16)}function hr(Qe,nt){var St,Rt=16;for(St=0;16>St;++St)Rt+=Qe[nt-1+32*St]+Qe[nt+St-32];pn(Rt>>5,Qe,nt)}function Fr(Qe,nt){var St,Rt=8;for(St=0;16>St;++St)Rt+=Qe[nt-1+32*St];pn(Rt>>4,Qe,nt)}function Mr(Qe,nt){var St,Rt=8;for(St=0;16>St;++St)Rt+=Qe[nt+St-32];pn(Rt>>4,Qe,nt)}function Hr(Qe,nt){pn(128,Qe,nt)}function pr(Qe,nt,St){return Qe+2*nt+St+2>>2}function ei(Qe,nt){var St,Rt=nt-32;for(Rt=new Uint8Array([pr(Qe[Rt-1],Qe[Rt+0],Qe[Rt+1]),pr(Qe[Rt+0],Qe[Rt+1],Qe[Rt+2]),pr(Qe[Rt+1],Qe[Rt+2],Qe[Rt+3]),pr(Qe[Rt+2],Qe[Rt+3],Qe[Rt+4])]),St=0;4>St;++St)ge(Qe,nt+32*St,Rt,0,Rt.length)}function Or(Qe,nt){var St=Qe[nt-1],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1+96];lo(Qe,nt+0,16843009*pr(Qe[nt-1-32],St,Rt)),lo(Qe,nt+32,16843009*pr(St,Rt,an)),lo(Qe,nt+64,16843009*pr(Rt,an,dn)),lo(Qe,nt+96,16843009*pr(an,dn,dn))}function Xi(Qe,nt){var St,Rt=4;for(St=0;4>St;++St)Rt+=Qe[nt+St-32]+Qe[nt-1+32*St];for(Rt>>=3,St=0;4>St;++St)Le(Qe,nt+32*St,Rt,4)}function ur(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1-32],vn=Qe[nt+0-32],Bn=Qe[nt+1-32],In=Qe[nt+2-32],Xn=Qe[nt+3-32];Qe[nt+0+96]=pr(Rt,an,Qe[nt-1+96]),Qe[nt+1+96]=Qe[nt+0+64]=pr(St,Rt,an),Qe[nt+2+96]=Qe[nt+1+64]=Qe[nt+0+32]=pr(dn,St,Rt),Qe[nt+3+96]=Qe[nt+2+64]=Qe[nt+1+32]=Qe[nt+0+0]=pr(vn,dn,St),Qe[nt+3+64]=Qe[nt+2+32]=Qe[nt+1+0]=pr(Bn,vn,dn),Qe[nt+3+32]=Qe[nt+2+0]=pr(In,Bn,vn),Qe[nt+3+0]=pr(Xn,In,Bn)}function Yr(Qe,nt){var St=Qe[nt+1-32],Rt=Qe[nt+2-32],an=Qe[nt+3-32],dn=Qe[nt+4-32],vn=Qe[nt+5-32],Bn=Qe[nt+6-32],In=Qe[nt+7-32];Qe[nt+0+0]=pr(Qe[nt+0-32],St,Rt),Qe[nt+1+0]=Qe[nt+0+32]=pr(St,Rt,an),Qe[nt+2+0]=Qe[nt+1+32]=Qe[nt+0+64]=pr(Rt,an,dn),Qe[nt+3+0]=Qe[nt+2+32]=Qe[nt+1+64]=Qe[nt+0+96]=pr(an,dn,vn),Qe[nt+3+32]=Qe[nt+2+64]=Qe[nt+1+96]=pr(dn,vn,Bn),Qe[nt+3+64]=Qe[nt+2+96]=pr(vn,Bn,In),Qe[nt+3+96]=pr(Bn,In,In)}function Wr(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1-32],vn=Qe[nt+0-32],Bn=Qe[nt+1-32],In=Qe[nt+2-32],Xn=Qe[nt+3-32];Qe[nt+0+0]=Qe[nt+1+64]=dn+vn+1>>1,Qe[nt+1+0]=Qe[nt+2+64]=vn+Bn+1>>1,Qe[nt+2+0]=Qe[nt+3+64]=Bn+In+1>>1,Qe[nt+3+0]=In+Xn+1>>1,Qe[nt+0+96]=pr(an,Rt,St),Qe[nt+0+64]=pr(Rt,St,dn),Qe[nt+0+32]=Qe[nt+1+96]=pr(St,dn,vn),Qe[nt+1+32]=Qe[nt+2+96]=pr(dn,vn,Bn),Qe[nt+2+32]=Qe[nt+3+96]=pr(vn,Bn,In),Qe[nt+3+32]=pr(Bn,In,Xn)}function bi(Qe,nt){var St=Qe[nt+0-32],Rt=Qe[nt+1-32],an=Qe[nt+2-32],dn=Qe[nt+3-32],vn=Qe[nt+4-32],Bn=Qe[nt+5-32],In=Qe[nt+6-32],Xn=Qe[nt+7-32];Qe[nt+0+0]=St+Rt+1>>1,Qe[nt+1+0]=Qe[nt+0+64]=Rt+an+1>>1,Qe[nt+2+0]=Qe[nt+1+64]=an+dn+1>>1,Qe[nt+3+0]=Qe[nt+2+64]=dn+vn+1>>1,Qe[nt+0+32]=pr(St,Rt,an),Qe[nt+1+32]=Qe[nt+0+96]=pr(Rt,an,dn),Qe[nt+2+32]=Qe[nt+1+96]=pr(an,dn,vn),Qe[nt+3+32]=Qe[nt+2+96]=pr(dn,vn,Bn),Qe[nt+3+64]=pr(vn,Bn,In),Qe[nt+3+96]=pr(Bn,In,Xn)}function Xr(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1+96];Qe[nt+0+0]=St+Rt+1>>1,Qe[nt+2+0]=Qe[nt+0+32]=Rt+an+1>>1,Qe[nt+2+32]=Qe[nt+0+64]=an+dn+1>>1,Qe[nt+1+0]=pr(St,Rt,an),Qe[nt+3+0]=Qe[nt+1+32]=pr(Rt,an,dn),Qe[nt+3+32]=Qe[nt+1+64]=pr(an,dn,dn),Qe[nt+3+64]=Qe[nt+2+64]=Qe[nt+0+96]=Qe[nt+1+96]=Qe[nt+2+96]=Qe[nt+3+96]=dn}function Sa(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1+96],vn=Qe[nt-1-32],Bn=Qe[nt+0-32],In=Qe[nt+1-32],Xn=Qe[nt+2-32];Qe[nt+0+0]=Qe[nt+2+32]=St+vn+1>>1,Qe[nt+0+32]=Qe[nt+2+64]=Rt+St+1>>1,Qe[nt+0+64]=Qe[nt+2+96]=an+Rt+1>>1,Qe[nt+0+96]=dn+an+1>>1,Qe[nt+3+0]=pr(Bn,In,Xn),Qe[nt+2+0]=pr(vn,Bn,In),Qe[nt+1+0]=Qe[nt+3+32]=pr(St,vn,Bn),Qe[nt+1+32]=Qe[nt+3+64]=pr(Rt,St,vn),Qe[nt+1+64]=Qe[nt+3+96]=pr(an,Rt,St),Qe[nt+1+96]=pr(dn,an,Rt)}function ra(Qe,nt){var St;for(St=0;8>St;++St)ge(Qe,nt+32*St,Qe,nt-32,8)}function sr(Qe,nt){var St;for(St=0;8>St;++St)Le(Qe,nt,Qe[nt-1],8),nt+=32}function Yi(Qe,nt,St){var Rt;for(Rt=0;8>Rt;++Rt)Le(nt,St+32*Rt,Qe,8)}function ri(Qe,nt){var St,Rt=8;for(St=0;8>St;++St)Rt+=Qe[nt+St-32]+Qe[nt-1+32*St];Yi(Rt>>4,Qe,nt)}function Jn(Qe,nt){var St,Rt=4;for(St=0;8>St;++St)Rt+=Qe[nt+St-32];Yi(Rt>>3,Qe,nt)}function Dr(Qe,nt){var St,Rt=4;for(St=0;8>St;++St)Rt+=Qe[nt-1+32*St];Yi(Rt>>3,Qe,nt)}function Wi(Qe,nt){Yi(128,Qe,nt)}function Rr(Qe,nt,St){var Rt=Qe[nt-St],an=Qe[nt+0],dn=3*(an-Rt)+Lm[1020+Qe[nt-2*St]-Qe[nt+St]],vn=am[112+(dn+4>>3)];Qe[nt-St]=xf[255+Rt+am[112+(dn+3>>3)]],Qe[nt+0]=xf[255+an-vn]}function $n(Qe,nt,St,Rt){var an=Qe[nt+0],dn=Qe[nt+St];return Sf[255+Qe[nt-2*St]-Qe[nt-St]]>Rt||Sf[255+dn-an]>Rt}function Aa(Qe,nt,St,Rt){return 4*Sf[255+Qe[nt-St]-Qe[nt+0]]+Sf[255+Qe[nt-2*St]-Qe[nt+St]]<=Rt}function us(Qe,nt,St,Rt,an){var dn=Qe[nt-3*St],vn=Qe[nt-2*St],Bn=Qe[nt-St],In=Qe[nt+0],Xn=Qe[nt+St],Qr=Qe[nt+2*St],Mi=Qe[nt+3*St];return 4*Sf[255+Bn-In]+Sf[255+vn-Xn]>Rt?0:Sf[255+Qe[nt-4*St]-dn]<=an&&Sf[255+dn-vn]<=an&&Sf[255+vn-Bn]<=an&&Sf[255+Mi-Qr]<=an&&Sf[255+Qr-Xn]<=an&&Sf[255+Xn-In]<=an}function Ns(Qe,nt,St,Rt){var an=2*Rt+1;for(Rt=0;16>Rt;++Rt)Aa(Qe,nt+Rt,St,an)&&Rr(Qe,nt+Rt,St)}function go(Qe,nt,St,Rt){var an=2*Rt+1;for(Rt=0;16>Rt;++Rt)Aa(Qe,nt+Rt*St,1,an)&&Rr(Qe,nt+Rt*St,1)}function ps(Qe,nt,St,Rt){var an;for(an=3;0>7,va=18*ba+63>>7,ba=9*ba+63>>7;In[Xn-3*Qr]=xf[255+In[Xn-3*Qr]+ba],In[Xn-2*Qr]=xf[255+Mi+va],In[Xn-Qr]=xf[255+Vn+Bi],In[Xn+0]=xf[255+_r-Bi],In[Xn+Qr]=xf[255+fi-va],In[Xn+2*Qr]=xf[255+fa-ba]}nt+=Rt}}function Ha(Qe,nt,St,Rt,an,dn,vn,Bn){for(dn=2*dn+1;0>3)],fa=am[112+(fa+3>>3)],Bi=fi+1>>1;In[Xn-2*Qr]=xf[255+In[Xn-2*Qr]+Bi],In[Xn-Qr]=xf[255+Mi+fa],In[Xn+0]=xf[255+Vn-fi],In[Xn+Qr]=xf[255+_r-Bi]}nt+=Rt}}function Co(Qe,nt,St,Rt,an,dn){Jo(Qe,nt,St,1,16,Rt,an,dn)}function gl(Qe,nt,St,Rt,an,dn){Jo(Qe,nt,1,St,16,Rt,an,dn)}function Nl(Qe,nt,St,Rt,an,dn){var vn;for(vn=3;0Xn?0:255:Xn)&255,Xn=In,an[dn+Bn]=Qr}}function si(Qe,nt,St,Rt){var an=nt.width,dn=nt.o;if(ee(Qe!=null&&nt!=null),0>St||0>=Rt||St+Rt>dn)return null;if(!Qe.Cc){if(Qe.ga==null){var vn;if(Qe.ga=new Kn,(vn=Qe.ga==null)||(vn=nt.width*nt.o,ee(Qe.Gb.length==0),Qe.Gb=je(vn),Qe.Uc=0,Qe.Gb==null?vn=0:(Qe.mb=Qe.Gb,Qe.nb=Qe.Uc,Qe.rc=null,vn=1),vn=!vn),!vn){vn=Qe.ga;var Bn=Qe.Fa,In=Qe.P,Xn=Qe.qc,Qr=Qe.mb,Mi=Qe.nb,Vn=In+1,_r=Xn-1,fi=vn.l;if(ee(Bn!=null&&Qr!=null&&nt!=null),mp[0]=null,mp[1]=Tr,mp[2]=yi,mp[3]=ma,vn.ca=Qr,vn.tb=Mi,vn.c=nt.width,vn.i=nt.height,ee(0=Xn)nt=0;else if(vn.$a=3&Bn[In+0],vn.Z=Bn[In+0]>>2&3,vn.Lc=Bn[In+0]>>4&3,In=Bn[In+0]>>6&3,0>vn.$a||1=vn.c*vn.i;vn=!nt}if(vn)return null;Qe.ga.Lc!=1?Qe.Ga=0:Rt=dn-St}ee(Qe.ga!=null),ee(St+Rt<=dn);e:{if(nt=(Bn=Qe.ga).c,dn=Bn.l.o,Bn.$a==0){if(Vn=Qe.rc,_r=Qe.Vc,fi=Qe.Fa,In=Qe.P+1+St*nt,Xn=Qe.mb,Qr=Qe.nb+St*nt,ee(In<=Qe.P+Qe.qc),Bn.Z!=0)for(ee(mp[Bn.Z]!=null),vn=0;vn=nt)nt=1;else if(Bn.ic||Ol(),Bn.ic){Bn=vn.V,Vn=vn.Ba,_r=vn.c;var fa=vn.i,Bi=(fi=1,In=vn.$/_r,Xn=vn.$%_r,Qr=vn.m,Mi=vn.s,vn.$),va=_r*fa,ba=_r*nt,co=Mi.wc,Va=Bi(fa=zc(Va.G[0],Va.H[0],Qr)))Bn[Vn+Bi]=fa,++Bi,++Xn>=_r&&(Xn=0,++In<=nt&&!(In%16)&&Jh(vn,In));else{if(!(280>fa)){fi=0;break t}fa=Kh(fa-256,Qr);var Al,zs=zc(Va.G[4],Va.H[4],Qr);if(di(Qr),!(Bi>=(zs=Yh(_r,zs=Kh(zs,Qr)))&&va-Bi>=fa)){fi=0;break t}for(Al=0;Al=_r;)Xn-=_r,++In<=nt&&!(In%16)&&Jh(vn,In);Bint?nt:In);break t}!fi||Qr.h&&Bi=dn&&(Qe.Cc=1),Rt=1}if(!Rt)return null;if(Qe.Cc&&((Rt=Qe.ga)!=null&&(Rt.mc=null),Qe.ga=null,0>23,Bn[In+4*vn+1]=Bn[In+4*vn+1]*Mi>>23,Bn[In+4*vn+2]=Bn[In+4*vn+2]*Mi>>23)}nt+=dn}}function oa(Qe,nt,St,Rt,an){for(;0>4)*In>>16;Qe[nt+2*dn+0]=(240&vn|vn>>4)*In>>16&240|(15&vn|vn<<4)*In>>16>>4&15,Qe[nt+2*dn+1]=240&Xn|Bn}nt+=an}}function Ao(Qe,nt,St,Rt,an,dn,vn,Bn){var In,Xn,Qr=255;for(Xn=0;Xn>8}function Ol(){qA=ln,t0=oa,pp=Ao,em=gs}function Ss(Qe,nt,St){rr[Qe]=function(Rt,an,dn,vn,Bn,In,Xn,Qr,Mi,Vn,_r,fi,fa,Bi,va,ba,co){var Va,Al=co-1>>1,zs=Bn[In+0]|Xn[Qr+0]<<16,Mu=Mi[Vn+0]|_r[fi+0]<<16;ee(Rt!=null);var nl=3*zs+Mu+131074>>2;for(nt(Rt[an+0],255&nl,nl>>16,fa,Bi),dn!=null&&(nl=3*Mu+zs+131074>>2,nt(dn[vn+0],255&nl,nl>>16,va,ba)),Va=1;Va<=Al;++Va){var sA=Bn[In+Va]|Xn[Qr+Va]<<16,nf=Mi[Vn+Va]|_r[fi+Va]<<16,Fu=zs+sA+Mu+nf+524296,rl=Fu+2*(sA+Mu)>>3;nl=rl+zs>>1,zs=(Fu=Fu+2*(zs+nf)>>3)+sA>>1,nt(Rt[an+2*Va-1],255&nl,nl>>16,fa,Bi+(2*Va-1)*St),nt(Rt[an+2*Va-0],255&zs,zs>>16,fa,Bi+(2*Va-0)*St),dn!=null&&(nl=Fu+Mu>>1,zs=rl+nf>>1,nt(dn[vn+2*Va-1],255&nl,nl>>16,va,ba+(2*Va-1)*St),nt(dn[vn+2*Va+0],255&zs,zs>>16,va,ba+(2*Va+0)*St)),zs=sA,Mu=nf}1&co||(nl=3*zs+Mu+131074>>2,nt(Rt[an+co-1],255&nl,nl>>16,fa,Bi+(co-1)*St),dn!=null&&(nl=3*Mu+zs+131074>>2,nt(dn[vn+co-1],255&nl,nl>>16,va,ba+(co-1)*St)))}}function Rs(){kf[gp]=Gm,kf[Qp]=Am,kf[og]=Km,kf[sg]=Ym,kf[fl]=j0,kf[Tg]=dg,kf[lg]=Jm,kf[om]=Am,kf[PA]=Ym,kf[kl]=j0,kf[jg]=dg}function LA(Qe){return Qe&~wd?0>Qe?0:255:Qe>>yc}function js(Qe,nt){return LA((19077*Qe>>8)+(26149*nt>>8)-14234)}function yA(Qe,nt,St){return LA((19077*Qe>>8)-(6419*nt>>8)-(13320*St>>8)+8708)}function YA(Qe,nt){return LA((19077*Qe>>8)+(33050*nt>>8)-17685)}function EA(Qe,nt,St,Rt,an){Rt[an+0]=js(Qe,St),Rt[an+1]=yA(Qe,nt,St),Rt[an+2]=YA(Qe,nt)}function QA(Qe,nt,St,Rt,an){Rt[an+0]=YA(Qe,nt),Rt[an+1]=yA(Qe,nt,St),Rt[an+2]=js(Qe,St)}function Qd(Qe,nt,St,Rt,an){var dn=yA(Qe,nt,St);nt=dn<<3&224|YA(Qe,nt)>>3,Rt[an+0]=248&js(Qe,St)|dn>>5,Rt[an+1]=nt}function Rd(Qe,nt,St,Rt,an){var dn=240&YA(Qe,nt)|15;Rt[an+0]=240&js(Qe,St)|yA(Qe,nt,St)>>4,Rt[an+1]=dn}function $d(Qe,nt,St,Rt,an){Rt[an+0]=255,EA(Qe,nt,St,Rt,an+1)}function Ud(Qe,nt,St,Rt,an){QA(Qe,nt,St,Rt,an),Rt[an+3]=255}function qc(Qe,nt,St,Rt,an){EA(Qe,nt,St,Rt,an),Rt[an+3]=255}function vc(Qe,nt,St){rr[Qe]=function(Rt,an,dn,vn,Bn,In,Xn,Qr,Mi){for(var Vn=Qr+(-2&Mi)*St;Qr!=Vn;)nt(Rt[an+0],dn[vn+0],Bn[In+0],Xn,Qr),nt(Rt[an+1],dn[vn+0],Bn[In+0],Xn,Qr+St),an+=2,++vn,++In,Qr+=2*St;1&Mi&&nt(Rt[an+0],dn[vn+0],Bn[In+0],Xn,Qr)}}function rh(Qe,nt,St){return St==0?Qe==0?nt==0?6:5:nt==0?4:0:St}function x0(Qe,nt,St,Rt,an){switch(Qe>>>30){case 3:rs(nt,St,Rt,an,0);break;case 2:tl(nt,St,Rt,an);break;case 1:Xs(nt,St,Rt,an)}}function ld(Qe,nt){var St,Rt,an=nt.M,dn=nt.Nb,vn=Qe.oc,Bn=Qe.pc+40,In=Qe.oc,Xn=Qe.pc+584,Qr=Qe.oc,Mi=Qe.pc+600;for(St=0;16>St;++St)vn[Bn+32*St-1]=129;for(St=0;8>St;++St)In[Xn+32*St-1]=129,Qr[Mi+32*St-1]=129;for(0St;++St)ge(vn,Bn+32*St-4,vn,Bn+32*St+12,4);for(St=-1;8>St;++St)ge(In,Xn+32*St-4,In,Xn+32*St+4,4),ge(Qr,Mi+32*St-4,Qr,Mi+32*St+4,4)}var _r=Qe.Gd,fi=Qe.Hd+Rt,fa=Vn.ad,Bi=Vn.Hc;if(0=Qe.za-1?Le(va,ba,_r[fi].y[15],4):ge(va,ba,_r[fi+1].y,0,4)),St=0;4>St;St++)va[ba+128+St]=va[ba+256+St]=va[ba+384+St]=va[ba+0+St];for(St=0;16>St;++St,Bi<<=2)va=vn,ba=Bn+aA[St],n0[Vn.Ob[St]](va,ba),x0(Bi,fa,16*+St,va,ba)}else if(va=rh(Rt,an,Vn.Ob[0]),N0[va](vn,Bn),Bi!=0)for(St=0;16>St;++St,Bi<<=2)x0(Bi,fa,16*+St,vn,Bn+aA[St]);for(St=Vn.Gc,va=rh(Rt,an,Vn.Dd),r0[va](In,Xn),r0[va](Qr,Mi),Bi=fa,va=In,ba=Xn,255&(Vn=0|St)&&(170&Vn?Au(Bi,256,va,ba):$s(Bi,256,va,ba)),Vn=Qr,Bi=Mi,255&(St>>=8)&&(170&St?Au(fa,320,Vn,Bi):$s(fa,320,Vn,Bi)),anSt;++St)ge(_r,fi+St*Qe.R,vn,Bn+32*St,16);for(St=0;8>St;++St)ge(fa,Vn+St*Qe.B,In,Xn+32*St,8),ge(Bi,va+St*Qe.B,Qr,Mi+32*St,8)}}function Sh(Qe,nt,St,Rt,an,dn,vn,Bn,In){var Xn=[0],Qr=[0],Mi=0,Vn=In!=null?In.kd:0,_r=In!=null?In:new wn;if(Qe==null||12>St)return 7;_r.data=Qe,_r.w=nt,_r.ha=St,nt=[nt],St=[St],_r.gb=[_r.gb];e:{var fi=nt,fa=St,Bi=_r.gb;if(ee(Qe!=null),ee(fa!=null),ee(Bi!=null),Bi[0]=0,12<=fa[0]&&!x(Qe,fi[0],"RIFF")){if(x(Qe,fi[0]+8,"WEBP")){Bi=3;break e}var va=dl(Qe,fi[0]+4);if(12>va||4294967286fa[0]-8){Bi=7;break e}Bi[0]=va,fi[0]+=12,fa[0]-=12}Bi=0}if(Bi!=0)return Bi;for(va=0<_r.gb[0],St=St[0];;){e:{var ba=Qe;fa=nt,Bi=St;var co=Xn,Va=Qr,Al=fi=[0];if((nl=Mi=[Mi])[0]=0,8>Bi[0])Bi=7;else{if(!x(ba,fa[0],"VP8X")){if(dl(ba,fa[0]+4)!=10){Bi=3;break e}if(18>Bi[0]){Bi=7;break e}var zs=dl(ba,fa[0]+8),Mu=1+ls(ba,fa[0]+12);if(2147483648<=Mu*(ba=1+ls(ba,fa[0]+15))){Bi=3;break e}Al!=null&&(Al[0]=zs),co!=null&&(co[0]=Mu),Va!=null&&(Va[0]=ba),fa[0]+=18,Bi[0]-=18,nl[0]=1}Bi=0}}if(Mi=Mi[0],fi=fi[0],Bi!=0)return Bi;if(fa=!!(2&fi),!va&&Mi)return 3;if(dn!=null&&(dn[0]=!!(16&fi)),vn!=null&&(vn[0]=fa),Bn!=null&&(Bn[0]=0),vn=Xn[0],fi=Qr[0],Mi&&fa&&In==null){Bi=0;break}if(4>St){Bi=7;break}if(va&&Mi||!va&&!Mi&&!x(Qe,nt[0],"ALPH")){St=[St],_r.na=[_r.na],_r.P=[_r.P],_r.Sa=[_r.Sa];e:{zs=Qe,Bi=nt,va=St;var nl=_r.gb;co=_r.na,Va=_r.P,Al=_r.Sa,Mu=22,ee(zs!=null),ee(va!=null),ba=Bi[0];var sA=va[0];for(ee(co!=null),ee(Al!=null),co[0]=null,Va[0]=null,Al[0]=0;;){if(Bi[0]=ba,va[0]=sA,8>sA){Bi=7;break e}var nf=dl(zs,ba+4);if(4294967286nl){Bi=3;break e}if(!x(zs,ba,"VP8 ")||!x(zs,ba,"VP8L")){Bi=0;break e}if(sA[0]va[0])Bi=7;else{if(ba||Mu){if(nl=dl(nl,zs+4),12<=co&&nl>co-12){Bi=3;break e}if(Vn&&nl>va[0]-8){Bi=7;break e}Va[0]=nl,Bi[0]+=8,va[0]-=8,Al[0]=Mu}else Al[0]=5<=va[0]&&nl[zs+0]==47&&!(nl[zs+4]>>5),Va[0]=va[0];Bi=0}if(St=St[0],_r.Ja=_r.Ja[0],_r.xa=_r.xa[0],nt=nt[0],Bi!=0)break;if(4294967286<_r.Ja)return 3;if(Bn==null||fa||(Bn[0]=_r.xa?2:1),vn=[vn],fi=[fi],_r.xa){if(5>St){Bi=7;break}Bn=vn,Vn=fi,fa=dn,Qe==null||5>St?Qe=0:5<=St&&Qe[nt+0]==47&&!(Qe[nt+4]>>5)?(va=[0],nl=[0],co=[0],na(Va=new Yn,Qe,nt,St),Np(Va,va,nl,co)?(Bn!=null&&(Bn[0]=va[0]),Vn!=null&&(Vn[0]=nl[0]),fa!=null&&(fa[0]=co[0]),Qe=1):Qe=0):Qe=0}else{if(10>St){Bi=7;break}Bn=fi,Qe==null||10>St||!Mm(Qe,nt+3,St-3)?Qe=0:(Vn=Qe[nt+0]|Qe[nt+1]<<8|Qe[nt+2]<<16,fa=16383&(Qe[nt+7]<<8|Qe[nt+6]),Qe=16383&(Qe[nt+9]<<8|Qe[nt+8]),1&Vn||3<(Vn>>1&7)||!(Vn>>4&1)||Vn>>5>=_r.Ja||!fa||!Qe?Qe=0:(vn&&(vn[0]=fa),Bn&&(Bn[0]=Qe),Qe=1))}if(!Qe||(vn=vn[0],fi=fi[0],Mi&&(Xn[0]!=vn||Qr[0]!=fi)))return 3;In!=null&&(In[0]=_r,In.offset=nt-In.w,ee(4294967286>nt-In.w),ee(In.offset==In.ha-St));break}return Bi==0||Bi==7&&Mi&&In==null?(dn!=null&&(dn[0]|=_r.na!=null&&0<_r.na.length),Rt!=null&&(Rt[0]=vn),an!=null&&(an[0]=fi),0):Bi}function S0(Qe,nt,St){var Rt=nt.width,an=nt.height,dn=0,vn=0,Bn=Rt,In=an;if(nt.Da=Qe!=null&&0St||(dn&=-2,vn&=-2),0>dn||0>vn||0>=Bn||0>=In||dn+Bn>Rt||vn+In>an))return 0;if(nt.v=dn,nt.j=vn,nt.va=dn+Bn,nt.o=vn+In,nt.U=Bn,nt.T=In,nt.da=Qe!=null&&0Qe.S){var nt=Qe.f.RGBA;nt.fb+=(Qe.height-1)*nt.A,nt.A=-nt.A}else nt=Qe.f.kb,Qe=Qe.height,nt.O+=(Qe-1)*nt.fa,nt.fa=-nt.fa,nt.N+=(Qe-1>>1)*nt.Ab,nt.Ab=-nt.Ab,nt.W+=(Qe-1>>1)*nt.Db,nt.Db=-nt.Db,nt.F!=null&&(nt.J+=(Qe-1)*nt.lb,nt.lb=-nt.lb);return 0}function ih(Qe,nt,St,Rt){if(Rt==null||0>=Qe||0>=nt)return 2;if(St!=null){if(St.Da){var an=St.cd,dn=St.bd,vn=-2&St.v,Bn=-2&St.j;if(0>vn||0>Bn||0>=an||0>=dn||vn+an>Qe||Bn+dn>nt)return 2;Qe=an,nt=dn}if(St.da){if(!Il(Qe,nt,an=[St.ib],dn=[St.hb]))return 2;Qe=an[0],nt=dn[0]}}Rt.width=Qe,Rt.height=nt;e:{var In=Rt.width,Xn=Rt.height;if(Qe=Rt.S,0>=In||0>=Xn||!(Qe>=gp&&13>Qe))Qe=2;else{if(0>=Rt.Rd&&Rt.sd==null){vn=dn=an=nt=0;var Qr=(Bn=In*Qf[Qe])*Xn;if(11>Qe||(dn=(Xn+1)/2*(nt=(In+1)/2),Qe==12&&(vn=(an=In)*Xn)),(Xn=je(Qr+2*dn+vn))==null){Qe=1;break e}Rt.sd=Xn,11>Qe?((In=Rt.f.RGBA).eb=Xn,In.fb=0,In.A=Bn,In.size=Qr):((In=Rt.f.kb).y=Xn,In.O=0,In.fa=Bn,In.Fd=Qr,In.f=Xn,In.N=0+Qr,In.Ab=nt,In.Cd=dn,In.ea=Xn,In.W=0+Qr+dn,In.Db=nt,In.Ed=dn,Qe==12&&(In.F=Xn,In.J=0+Qr+2*dn),In.Tc=vn,In.lb=an)}if(nt=1,an=Rt.S,dn=Rt.width,vn=Rt.height,an>=gp&&13>an)if(11>an)Qe=Rt.f.RGBA,nt&=(Bn=Math.abs(Qe.A))*(vn-1)+dn<=Qe.size,nt&=Bn>=dn*Qf[an],nt&=Qe.eb!=null;else{Qe=Rt.f.kb,Bn=(dn+1)/2,Qr=(vn+1)/2,In=Math.abs(Qe.fa),Xn=Math.abs(Qe.Ab);var Mi=Math.abs(Qe.Db),Vn=Math.abs(Qe.lb),_r=Vn*(vn-1)+dn;nt&=In*(vn-1)+dn<=Qe.Fd,nt&=Xn*(Qr-1)+Bn<=Qe.Cd,nt=(nt&=Mi*(Qr-1)+Bn<=Qe.Ed)&In>=dn&Xn>=Bn&Mi>=Bn,nt&=Qe.y!=null,nt&=Qe.f!=null,nt&=Qe.ea!=null,an==12&&(nt&=Vn>=dn,nt&=_r<=Qe.Tc,nt&=Qe.F!=null)}else nt=0;Qe=nt?0:2}}return Qe!=0||St!=null&&St.fd&&(Qe=Ih(Rt)),Qe}var Mh=64,vd=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yd=24,ah=32,Bf=8,oh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Ts("Predictor0","PredictorAdd0"),rr.Predictor0=function(){return 4278190080},rr.Predictor1=function(Qe){return Qe},rr.Predictor2=function(Qe,nt,St){return nt[St+0]},rr.Predictor3=function(Qe,nt,St){return nt[St+1]},rr.Predictor4=function(Qe,nt,St){return nt[St-1]},rr.Predictor5=function(Qe,nt,St){return pl(pl(Qe,nt[St+1]),nt[St+0])},rr.Predictor6=function(Qe,nt,St){return pl(Qe,nt[St-1])},rr.Predictor7=function(Qe,nt,St){return pl(Qe,nt[St+0])},rr.Predictor8=function(Qe,nt,St){return pl(nt[St-1],nt[St+0])},rr.Predictor9=function(Qe,nt,St){return pl(nt[St+0],nt[St+1])},rr.Predictor10=function(Qe,nt,St){return pl(pl(Qe,nt[St-1]),pl(nt[St+0],nt[St+1]))},rr.Predictor11=function(Qe,nt,St){var Rt=nt[St+0];return 0>=au(Rt>>24&255,Qe>>24&255,(nt=nt[St-1])>>24&255)+au(Rt>>16&255,Qe>>16&255,nt>>16&255)+au(Rt>>8&255,Qe>>8&255,nt>>8&255)+au(255&Rt,255&Qe,255&nt)?Rt:Qe},rr.Predictor12=function(Qe,nt,St){var Rt=nt[St+0];return(dA((Qe>>24&255)+(Rt>>24&255)-((nt=nt[St-1])>>24&255))<<24|dA((Qe>>16&255)+(Rt>>16&255)-(nt>>16&255))<<16|dA((Qe>>8&255)+(Rt>>8&255)-(nt>>8&255))<<8|dA((255&Qe)+(255&Rt)-(255&nt)))>>>0},rr.Predictor13=function(Qe,nt,St){var Rt=nt[St-1];return(xu((Qe=pl(Qe,nt[St+0]))>>24&255,Rt>>24&255)<<24|xu(Qe>>16&255,Rt>>16&255)<<16|xu(Qe>>8&255,Rt>>8&255)<<8|xu(255&Qe,255&Rt))>>>0};var I0=rr.PredictorAdd0;rr.PredictorAdd1=Yu,Ts("Predictor2","PredictorAdd2"),Ts("Predictor3","PredictorAdd3"),Ts("Predictor4","PredictorAdd4"),Ts("Predictor5","PredictorAdd5"),Ts("Predictor6","PredictorAdd6"),Ts("Predictor7","PredictorAdd7"),Ts("Predictor8","PredictorAdd8"),Ts("Predictor9","PredictorAdd9"),Ts("Predictor10","PredictorAdd10"),Ts("Predictor11","PredictorAdd11"),Ts("Predictor12","PredictorAdd12"),Ts("Predictor13","PredictorAdd13");var e0=rr.PredictorAdd2;sl("ColorIndexInverseTransform","MapARGB","32b",function(Qe){return Qe>>8&255},function(Qe){return Qe}),sl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(Qe){return Qe},function(Qe){return Qe>>8&255});var JA,M0=rr.ColorIndexInverseTransform,ef=rr.MapARGB,tf=rr.VP8LColorIndexInverseTransformAlpha,Fh=rr.MapAlpha,Dh=rr.VP8LPredictorsAdd=[];Dh.length=16,(rr.VP8LPredictors=[]).length=16,(rr.VP8LPredictorsAdd_C=[]).length=16,(rr.VP8LPredictors_C=[]).length=16;var F0,D0,sh,lh,uh,Ei,ho,rs,tl,Au,Xs,$s,pu,jA,ud,Ed,Lh,L0,Ah,hp,jp,Op,ag,kp,qA,t0,pp,em,tm=je(511),nm=je(2041),rm=je(225),im=je(767),RA=0,Lm=nm,am=rm,xf=im,Sf=tm,gp=0,Qp=1,og=2,sg=3,fl=4,Tg=5,lg=6,om=7,PA=8,kl=9,jg=10,ug=[2,3,7],sm=[3,3,11],zm=[280,256,256,256,40],Hm=[0,1,1,1,0],Wm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zm=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Ag=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Og=8,P0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],cg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Rp=null,uv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],kg=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Up=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Av=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Xm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Vm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],N0=[],n0=[],r0=[],um=1,T0=2,mp=[],kf=[];Ss("UpsampleRgbLinePair",EA,3),Ss("UpsampleBgrLinePair",QA,3),Ss("UpsampleRgbaLinePair",qc,4),Ss("UpsampleBgraLinePair",Ud,4),Ss("UpsampleArgbLinePair",$d,4),Ss("UpsampleRgba4444LinePair",Rd,2),Ss("UpsampleRgb565LinePair",Qd,2);var Gm=rr.UpsampleRgbLinePair,Km=rr.UpsampleBgrLinePair,Am=rr.UpsampleRgbaLinePair,Ym=rr.UpsampleBgraLinePair,j0=rr.UpsampleArgbLinePair,dg=rr.UpsampleRgba4444LinePair,Jm=rr.UpsampleRgb565LinePair,zp=16,Vo=1<Rt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Rt.ca.f.kb.F!=null&&Ol()),Rt.Pb&&0(In=St.Md)?0:100Xn;++Xn)12>(Mi=an.pb[Xn]).lc&&(Mi.ia=In*oA[0>Mi.lc?0:Mi.lc]>>3),Qr|=Mi.ia;Qr&&(alert("todo:VP8InitRandom"),an.ia=1)}an.Ga=St.Id,100an.Ga&&(an.Ga=0)}(function(Vn,_r){if(Vn==null)return 0;if(_r==null)return Mc(Vn,2,"NULL VP8Io parameter in VP8Decode().");if(!Vn.cb&&!B0(Vn,_r))return 0;if(ee(Vn.cb),_r.ac==null||_r.ac(_r)){_r.ob&&(Vn.L=0);var fi=Ju[Vn.L];if(Vn.L==2?(Vn.yb=0,Vn.zb=0):(Vn.yb=_r.v-fi>>4,Vn.zb=_r.j-fi>>4,0>Vn.yb&&(Vn.yb=0),0>Vn.zb&&(Vn.zb=0)),Vn.Va=_r.o+15+fi>>4,Vn.Hb=_r.va+15+fi>>4,Vn.Hb>Vn.za&&(Vn.Hb=Vn.za),Vn.Va>Vn.Ub&&(Vn.Va=Vn.Ub),0fi;++fi){var Bi;if(Vn.Qa.Cb){var va=Vn.Qa.Lb[fi];Vn.Qa.Fb||(va+=fa.Tb)}else va=fa.Tb;for(Bi=0;1>=Bi;++Bi){var ba=Vn.gd[fi][Bi],co=va;if(fa.Pc&&(co+=fa.vd[0],Bi&&(co+=fa.od[0])),0<(co=0>co?0:63>2:Va>>1)>9-fa.wb&&(Va=9-fa.wb),1>Va&&(Va=1),ba.dd=Va,ba.tc=2*co+Va,ba.ld=40<=co?2:15<=co?1:0}else ba.tc=0;ba.La=Bi}}}fi=0}else Mc(Vn,6,"Frame setup failed"),fi=Vn.a;if(fi=fi==0){if(fi){Vn.$c=0,0Vn.Vb){if(Vn.Vb=0,Vn.Ec=je(ba),Vn.Fc=0,Vn.Ec==null){fi=Mc(Vn,1,"no memory during frame initialization.");break t}Vn.Vb=ba}ba=Vn.Ec,co=Vn.Fc,Vn.Ac=ba,Vn.Bc=co,co+=fa,Vn.Gd=gt(Al,Im),Vn.Hd=0,Vn.rb=gt(zs+1,_h),Vn.sb=1,Vn.wa=Mu?gt(Mu,xh):null,Vn.Y=0,Vn.D.Nb=0,Vn.D.wa=Vn.wa,Vn.D.Y=Vn.Y,0=fi;++fi)tm[255+fi]=0>fi?-fi:fi;for(fi=-1020;1020>=fi;++fi)nm[1020+fi]=-128>fi?-128:127=fi;++fi)rm[112+fi]=-16>fi?-16:15=fi;++fi)im[255+fi]=0>fi?0:255fA;++fA){var rf,wA=Nh[0+fA];for(rf=0;4>rf;++rf){wA=Av[Fc[Rf+rf]][wA];for(var $A=lm[wa(gu,wA[0])];0<$A;)$A=lm[2*$A+wa(gu,wA[$A])];wA=-$A,Fc[Rf+rf]=wA}ge(ch,Th,Fc,Rf,4),Th+=4,Nh[0+fA]=wA}}else wA=wa(gu,156)?wa(gu,128)?1:3:wa(gu,163)?2:0,cd.Ob[0]=wA,Le(Fc,Rf,wA,4),Le(Nh,0,wA,4);cd.Dd=wa(gu,142)?wa(gu,114)?wa(gu,183)?1:3:2:0}if(bd.m.Ka)return Mc(sA,7,"Premature end-of-partition0 encountered.");for(;sA.ja>3;for($A=0;256>$A;$A+=16)fA[ch+$A]=a0}Uf=1,Hp=Rf[0]}var Ac=15&gu.la,af=15&Th.la;for($A=0;4>$A;++$A){var O0=1⁡for(a0=ec=0;4>a0;++a0)Ac=Ac>>1|(O0=(Cd=Rp(Fc,Hp,Cd=O0+(1&Ac),cd.Sc,Uf,fA,ch))>Uf)<<7,ec=ec<<2|(3>=4,af=af>>1|O0<<7,rf=(rf<<8|ec)>>>0}for(Hp=Ac,Uf=af>>4,dd=0;4>dd;dd+=2){for(ec=0,Ac=gu.la>>4+dd,af=Th.la>>4+dd,$A=0;2>$A;++$A){for(O0=1&af,a0=0;2>a0;++a0)Cd=O0+(1&Ac),Ac=Ac>>1|(O0=0<(Cd=Rp(Fc,Rf[2],Cd,cd.Qc,0,fA,ch)))<<3,ec=ec<<2|(3>=2,af=af>>1|O0<<5}wA|=ec<<4*dd,Hp|=Ac<<4<=rl.zb&&rl.M<=rl.Va,rl.Aa==0)t:{if(Fu.M=rl.M,Fu.uc=gu,ld(rl,Fu),bd=1,Fu=(ec=rl.D).Nb,gu=(wA=Ju[rl.L])*rl.R,Fc=wA/2*rl.B,$A=16*Fu*rl.R,a0=8*Fu*rl.B,Rf=rl.sa,Nh=rl.ta-gu+$A,cd=rl.qa,fA=rl.ra-Fc+a0,ch=rl.Ha,Th=rl.Ia-Fc+a0,af=(Ac=ec.M)==0,rf=Ac>=rl.Va-1,rl.Aa==2&&ld(rl,ec),ec.uc)for(O0=(Cd=rl).D.M,ee(Cd.D.uc),ec=Cd.yb;ecis.o&&(Ac=is.o),is.F=null,is.J=null,rl.Fa!=null&&0>1),is.W+=rl.B*(wA>>1),is.F!=null&&(is.J+=is.width*wA)),ec>1,is.W+=is.v>>1,is.F!=null&&(is.J+=is.v),is.ka=ec-is.j,is.U=is.va-is.v,is.T=Ac-ec,bd=is.put(is))}Fu+1!=rl.Ic||rf||(ge(rl.sa,rl.ta-gu,Rf,Nh+16*rl.R,gu),ge(rl.qa,rl.ra-Fc,cd,fA+8*rl.B,Fc),ge(rl.Ha,rl.Ia-Fc,ch,Th+8*rl.B,Fc))}if(!bd)return Mc(sA,6,"Output aborted.")}return 1}(Vn,_r)),_r.bc!=null&&_r.bc(_r),fi&=1}return fi?(Vn.cb=0,fi):0})(Qe,Rt)||(nt=Qe.a)}}else nt=Qe.a}nt==0&&vn.Oa!=null&&vn.Oa.fd&&(nt=Ih(vn.ba))}vn=nt}dn=vn!=0?null:11>dn?Bn.f.RGBA.eb:Bn.f.kb.y}else dn=null;return dn};var Qf=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function wt(rr,ui){for(var En="",Rn=0;Rn<4;Rn++)En+=String.fromCharCode(rr[ui++]);return En}function Tt(rr,ui){return rr[ui+0]|rr[ui+1]<<8}function nn(rr,ui){return(rr[ui+0]|rr[ui+1]<<8|rr[ui+2]<<16)>>>0}function fn(rr,ui){return(rr[ui+0]|rr[ui+1]<<8|rr[ui+2]<<16|rr[ui+3]<<24)>>>0}new yt;var Nt=[0],On=[0],Mn=[],Qn=new yt,Cn=E,Ir=function(rr,ui){var En={},Rn=0,Sr=!1,mr=0,vi=0;if(En.frames=[],!function(yn,Yn){for(var dr=0;dr<4;dr++)if(yn[Yn+dr]!="RIFF".charCodeAt(dr))return!0;return!1}(rr,ui)){for(fn(rr,ui+=4),ui+=8;ui>1&1}Vi!="ANMF"&&(ui+=Ci)}return En}}(Cn,0);Ir.response=Cn,Ir.rgbaoutput=!0,Ir.dataurl=!1;var gr=Ir.header?Ir.header:null,_n=Ir.frames?Ir.frames:null;if(gr){gr.loop_counter=gr.loop_count,Nt=[gr.canvas_height],On=[gr.canvas_width];for(var Ii=0;Ii<_n.length&&_n[Ii].blend!=0;Ii++);}var ua=_n[0],Ki=Qn.WebPDecodeRGBA(Cn,ua.src_off,ua.src_size,On,Nt);ua.rgba=Ki,ua.imgwidth=On[0],ua.imgheight=Nt[0];for(var Ur=0;Ur=2?Un[1]:Xa[0],Xa[2]=Un.length>=3?Un[2]:Xa[0],Xa[3]=Un.length>=4?Un[3]:Xa[1]),wt.margin=Xa}});var Ji=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Ji},set:function(Un){Ji=Un}});var Qi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Qi},set:function(Un){Qi=Un}});var wa=[];Object.defineProperty(this,"pageBreaks",{get:function(){return wa},set:function(Un){wa=Un}}),Object.defineProperty(this,"ctx",{get:function(){return wt},set:function(Un){Un instanceof Tt&&(wt=Un)}}),Object.defineProperty(this,"path",{get:function(){return wt.path},set:function(Un){wt.path=Un}});var lo=[];Object.defineProperty(this,"ctxStack",{get:function(){return lo},set:function(Un){lo=Un}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Un){var Xa;Xa=fn(Un),this.ctx.fillStyle=Xa.style,this.ctx.isFillTransparent=Xa.a===0,this.ctx.fillOpacity=Xa.a,this.pdf.setFillColor(Xa.r,Xa.g,Xa.b,{a:Xa.a}),this.pdf.setTextColor(Xa.r,Xa.g,Xa.b,{a:Xa.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Un){var Xa=fn(Un);this.ctx.strokeStyle=Xa.style,this.ctx.isStrokeTransparent=Xa.a===0,this.ctx.strokeOpacity=Xa.a,Xa.a===0?this.pdf.setDrawColor(255,255,255):(Xa.a,this.pdf.setDrawColor(Xa.r,Xa.g,Xa.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Un){["butt","round","square"].indexOf(Un)!==-1&&(this.ctx.lineCap=Un,this.pdf.setLineCap(Un))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Un){isNaN(Un)||(this.ctx.lineWidth=Un,this.pdf.setLineWidth(Un))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Un){["bevel","round","miter"].indexOf(Un)!==-1&&(this.ctx.lineJoin=Un,this.pdf.setLineJoin(Un))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Un){isNaN(Un)||(this.ctx.miterLimit=Un,this.pdf.setMiterLimit(Un))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Un){this.ctx.textBaseline=Un}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Un){["right","end","center","left","start"].indexOf(Un)!==-1&&(this.ctx.textAlign=Un)}});var cs=null,ls=null,dl=null;Object.defineProperty(this,"fontFaces",{get:function(){return dl},set:function(Un){cs=null,ls=null,dl=Un}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Un){var Xa;if(this.ctx.font=Un,(Xa=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Un))!==null){var vu=Xa[1];Xa[2];var Il=Xa[3],$a=Xa[4];Xa[5];var bl=Xa[6],Ts=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec($a)[2];$a=Math.floor(Ts==="px"?parseFloat($a)*this.pdf.internal.scaleFactor:Ts==="em"?parseFloat($a)*this.pdf.getFontSize():parseFloat($a)*this.pdf.internal.scaleFactor),this.pdf.setFontSize($a);var Cl=function(sl){var Uc,Zu,Su=[],yu=sl.trim();if(yu==="")return rv;if(yu in op)return[op[yu]];for(;yu!=="";){switch(Zu=null,Uc=(yu=sp(yu)).charAt(0)){case'"':case"'":Zu=Vh(yu.substring(1),Uc);break;default:Zu=tg(yu)}if(Zu===null||(Su.push(Zu[0]),(yu=sp(Zu[1]))!==""&&yu.charAt(0)!==","))return rv;yu=yu.replace(/^,/,"")}return Su}(bl);if(this.fontFaces){var pl=function(sl,Uc){var Zu=sl.getFontList(),Su=JSON.stringify(Zu);if(cs===null||ls!==Su){var yu=function(mc){var El=[];return Object.keys(mc).forEach(function(ac){mc[ac].forEach(function(jl){var su=null;switch(jl){case"bold":su={family:ac,weight:"bold"};break;case"italic":su={family:ac,style:"italic"};break;case"bolditalic":su={family:ac,weight:"bold",style:"italic"};break;case"":case"normal":su={family:ac}}su!==null&&(su.ref={name:ac,style:jl},El.push(su))})}),El}(Zu);cs=function(mc){for(var El={},ac=0;ac=700||vu==="bold")&&(au="bold"),vu==="italic"&&(au+="italic"),au.length===0&&(au="normal");for(var Yu="",Wu={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Zs=0;Zs=2*Math.PI&&(Pr=0,zr=2*Math.PI),this.path.push({type:"arc",x:yn,y:Yn,radius:dr,startAngle:Pr,endAngle:zr,counterclockwise:di})},nn.prototype.arcTo=function(yn,Yn,dr,Pr,zr){throw new Error("arcTo not implemented.")},nn.prototype.rect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(yn,Yn),this.lineTo(yn+dr,Yn),this.lineTo(yn+dr,Yn+Pr),this.lineTo(yn,Yn+Pr),this.lineTo(yn,Yn),this.lineTo(yn+dr,Yn),this.lineTo(yn,Yn)},nn.prototype.fillRect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Nt.call(this)){var zr={};this.lineCap!=="butt"&&(zr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(zr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(yn,Yn,dr,Pr),this.fill(),zr.hasOwnProperty("lineCap")&&(this.lineCap=zr.lineCap),zr.hasOwnProperty("lineJoin")&&(this.lineJoin=zr.lineJoin)}},nn.prototype.strokeRect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");On.call(this)||(this.beginPath(),this.rect(yn,Yn,dr,Pr),this.stroke())},nn.prototype.clearRect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(yn,Yn,dr,Pr))},nn.prototype.save=function(yn){yn=typeof yn!="boolean"||yn;for(var Yn=this.pdf.internal.getCurrentPageInfo().pageNumber,dr=0;dr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};nn.prototype.drawImage=function(yn,Yn,dr,Pr,zr,di,Ji,Qi,wa){var lo=this.pdf.getImageProperties(yn),cs=1,ls=1,dl=1,Un=1;Pr!==void 0&&Qi!==void 0&&(dl=Qi/Pr,Un=wa/zr,cs=lo.width/Pr*Qi/Pr,ls=lo.height/zr*wa/zr),di===void 0&&(di=Yn,Ji=dr,Yn=0,dr=0),Pr!==void 0&&Qi===void 0&&(Qi=Pr,wa=zr),Pr===void 0&&Qi===void 0&&(Qi=lo.width,wa=lo.height);var Xa=this.ctx.transform.decompose(),vu=Ci(Xa.rotate.shx),Il=new yt,$a=(Il=(Il=(Il=Il.multiply(Xa.translate)).multiply(Xa.skew)).multiply(Xa.scale)).applyToRectangle(new at(di-Yn*dl,Ji-dr*Un,Pr*cs,zr*ls));if(this.autoPaging){for(var bl,Ts=Qn.call(this,$a),Cl=[],pl=0;pldA||au$a||Ts0)){for(;wa>=0;wa--)if(zr[wa-1].close!==!0&&zr[wa-1].begin!==!0){zr[wa-1].deltas.push(dr),zr[wa-1].abs.push(Qi);break}}break;case"bct":dr=[Qi.x1-di[Ji-1].x,Qi.y1-di[Ji-1].y,Qi.x2-di[Ji-1].x,Qi.y2-di[Ji-1].y,Qi.x-di[Ji-1].x,Qi.y-di[Ji-1].y],zr[zr.length-1].deltas.push(dr);break;case"qct":var lo=di[Ji-1].x+2/3*(Qi.x1-di[Ji-1].x),cs=di[Ji-1].y+2/3*(Qi.y1-di[Ji-1].y),ls=Qi.x+2/3*(Qi.x1-Qi.x),dl=Qi.y+2/3*(Qi.y1-Qi.y),Un=Qi.x,Xa=Qi.y;dr=[lo-di[Ji-1].x,cs-di[Ji-1].y,ls-di[Ji-1].x,dl-di[Ji-1].y,Un-di[Ji-1].x,Xa-di[Ji-1].y],zr[zr.length-1].deltas.push(dr);break;case"arc":zr.push({deltas:[],abs:[],arc:!0}),Array.isArray(zr[zr.length-1].abs)&&zr[zr.length-1].abs.push(Qi)}}Pr=Yn?null:yn==="stroke"?"stroke":"fill";for(var vu=!1,Il=0;Il=.01&&(Pr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pr*yn.scale),zr=this.lineWidth,this.lineWidth=zr*yn.scale);var ou=this.autoPaging!=="text";if(ou||Zs.y+Zs.h<=pl){if(ou||Zs.y>=Ts&&Zs.x<=xu){var sl=ou?yn.text:this.pdf.splitTextToSize(yn.text,yn.maxWidth||xu-Zs.x)[0],Uc=Ir([JSON.parse(JSON.stringify(ls))],this.posX+this.margin[3],-Yu+Ts+this.ctx.prevPageLastElemOffset)[0],Zu=ou&&(bl>Il||bl<$a)&&Mn.call(this);Zu&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],au,dA,null).clip().discardPath()),this.pdf.text(sl,Uc.x,Uc.y,{angle:yn.angle,align:Yn,renderingMode:yn.renderingMode}),Zu&&this.pdf.restoreGraphicsState()}}else Zs.y=.01&&(this.pdf.setFontSize(Pr),this.lineWidth=zr)}}else yn.scale>=.01&&(Pr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pr*yn.scale),zr=this.lineWidth,this.lineWidth=zr*yn.scale),this.pdf.text(yn.text,wa.x+this.posX,wa.y+this.posY,{angle:yn.angle,align:Yn,renderingMode:yn.renderingMode,maxWidth:yn.maxWidth}),yn.scale>=.01&&(this.pdf.setFontSize(Pr),this.lineWidth=zr)},Sr=function(yn,Yn,dr,Pr){dr=dr||0,Pr=Pr||0,this.pdf.internal.out(x(yn+dr)+" "+ge(Yn+Pr)+" l")},mr=function(yn,Yn,dr){return this.pdf.lines(yn,Yn,dr,null,null)},vi=function(yn,Yn,dr,Pr,zr,di,Ji,Qi){this.pdf.internal.out([ee(Le(dr+yn)),ee(je(Pr+Yn)),ee(Le(zr+yn)),ee(je(di+Yn)),ee(Le(Ji+yn)),ee(je(Qi+Yn)),"c"].join(" "))},Vi=function(yn,Yn,dr,Pr){for(var zr=2*Math.PI,di=Math.PI/2;Yn>dr;)Yn-=zr;var Ji=Math.abs(dr-Yn);Ji1e-5;){var cs=lo+wa*Math.min(Ji,di);Qi.push(_i.call(this,yn,lo,cs)),Ji-=Math.abs(cs-lo),lo=cs}return Qi},_i=function(yn,Yn,dr){var Pr=(dr-Yn)/2,zr=yn*Math.cos(Pr),di=yn*Math.sin(Pr),Ji=zr,Qi=-di,wa=Ji*Ji+Qi*Qi,lo=wa+Ji*zr+Qi*di,cs=4/3*(Math.sqrt(2*wa*lo)-lo)/(Ji*di-Qi*zr),ls=Ji-cs*Qi,dl=Qi+cs*Ji,Un=ls,Xa=-dl,vu=Pr+Yn,Il=Math.cos(vu),$a=Math.sin(vu);return{x1:yn*Math.cos(Yn),y1:yn*Math.sin(Yn),x2:ls*Il-dl*$a,y2:ls*$a+dl*Il,x3:Un*Il-Xa*$a,y3:Un*$a+Xa*Il,x4:yn*Math.cos(dr),y4:yn*Math.sin(dr)}},Ci=function(yn){return 180*yn/Math.PI},na=function(yn,Yn,dr,Pr,zr,di){var Ji=yn+.5*(dr-yn),Qi=Yn+.5*(Pr-Yn),wa=zr+.5*(dr-zr),lo=di+.5*(Pr-di),cs=Math.min(yn,zr,Ji,wa),ls=Math.max(yn,zr,Ji,wa),dl=Math.min(Yn,di,Qi,lo),Un=Math.max(Yn,di,Qi,lo);return new at(cs,dl,ls-cs,Un-dl)},Fo=function(yn,Yn,dr,Pr,zr,di,Ji,Qi){var wa,lo,cs,ls,dl,Un,Xa,vu,Il,$a,bl,Ts,Cl,pl,dA=dr-yn,xu=Pr-Yn,au=zr-dr,Yu=di-Pr,Wu=Ji-zr,Zs=Qi-di;for(lo=0;lo<41;lo++)Il=(Xa=(cs=yn+(wa=lo/40)*dA)+wa*((dl=dr+wa*au)-cs))+wa*(dl+wa*(zr+wa*Wu-dl)-Xa),$a=(vu=(ls=Yn+wa*xu)+wa*((Un=Pr+wa*Yu)-ls))+wa*(Un+wa*(di+wa*Zs-Un)-vu),lo==0?(bl=Il,Ts=$a,Cl=Il,pl=$a):(bl=Math.min(bl,Il),Ts=Math.min(Ts,$a),Cl=Math.max(Cl,Il),pl=Math.max(pl,$a));return new at(Math.round(bl),Math.round(Ts),Math.round(Cl-bl),Math.round(pl-Ts))},ka=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var yn,Yn,dr=(yn=this.ctx.lineDash,Yn=this.ctx.lineDashOffset,JSON.stringify({lineDash:yn,lineDashOffset:Yn}));this.prevLineDash!==dr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=dr)}}})(Ws.API),function(E){var ee=function(gt){var at,yt,wt,Tt,nn,fn,Nt,On,Mn,Qn;for(/[^\x00-\xFF]/.test(gt),yt=[],wt=0,Tt=(gt+=at="\0\0\0\0".slice(gt.length%4||4)).length;Tt>wt;wt+=4)(nn=(gt.charCodeAt(wt)<<24)+(gt.charCodeAt(wt+1)<<16)+(gt.charCodeAt(wt+2)<<8)+gt.charCodeAt(wt+3))!==0?(fn=(nn=((nn=((nn=((nn=(nn-(Qn=nn%85))/85)-(Mn=nn%85))/85)-(On=nn%85))/85)-(Nt=nn%85))/85)%85,yt.push(fn+33,Nt+33,On+33,Mn+33,Qn+33)):yt.push(122);return function(Cn,Ir){for(var gr=Ir;gr>0;gr--)Cn.pop()}(yt,at.length),String.fromCharCode.apply(String,yt)+"~>"},x=function(gt){var at,yt,wt,Tt,nn,fn=String,Nt="length",On=255,Mn="charCodeAt",Qn="slice",Cn="replace";for(gt[Qn](-2),gt=gt[Qn](0,-2)[Cn](/\s/g,"")[Cn]("z","!!!!!"),wt=[],Tt=0,nn=(gt+=at="uuuuu"[Qn](gt[Nt]%5||5))[Nt];nn>Tt;Tt+=5)yt=52200625*(gt[Mn](Tt)-33)+614125*(gt[Mn](Tt+1)-33)+7225*(gt[Mn](Tt+2)-33)+85*(gt[Mn](Tt+3)-33)+(gt[Mn](Tt+4)-33),wt.push(On&yt>>24,On&yt>>16,On&yt>>8,On&yt);return function(Ir,gr){for(var _n=gr;_n>0;_n--)Ir.pop()}(wt,at[Nt]),fn.fromCharCode.apply(fn,wt)},ge=function(gt){return gt.split("").map(function(at){return("0"+at.charCodeAt().toString(16)).slice(-2)}).join("")+">"},Le=function(gt){var at=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((gt=gt.replace(/\s/g,"")).indexOf(">")!==-1&&(gt=gt.substr(0,gt.indexOf(">"))),gt.length%2&&(gt+="0"),at.test(gt)===!1)return"";for(var yt="",wt=0;wtMn&&(On=Qn,Qn=Mn,Mn=On);else{if(at!=="l"&&at!=="landscape")throw"Invalid orientation: "+at;at="l",Mn>Qn&&(On=Qn,Qn=Mn,Mn=On)}return{width:Qn,height:Mn,unit:yt,k:nn,orientation:at}},E.html=function(at,yt){(yt=yt||{}).callback=yt.callback||function(){},yt.html2canvas=yt.html2canvas||{},yt.html2canvas.canvas=yt.html2canvas.canvas||this.canvas,yt.jsPDF=yt.jsPDF||this,yt.fontFaces=yt.fontFaces?yt.fontFaces.map(nh):null;var wt=new gt(yt);return yt.worker?wt:wt.from(at).doCallback()}}(Ws.API),Ws.API.addJS=function(E){return hv=E,this.internal.events.subscribe("postPutResources",function(){lp=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(lp+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),tv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+hv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){lp!==void 0&&tv!==void 0&&this.internal.out("/Names <>")}),this},function(E){var ee;E.events.push(["postPutResources",function(){var x=this,ge=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Le=x.outline.render().split(/\r\n/),je=0;je> endobj")}var Nt=x.internal.newObject();for(x.internal.write("<< /Names [ "),je=0;je>","endobj"),ee=x.internal.newObject(),x.internal.write("<< /Dests "+Nt+" 0 R"),x.internal.write(">>","endobj")}}]),E.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+ee+" 0 R"))}]),E.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(ge,Le,je){var gt={title:Le,options:je,children:[]};return ge==null&&(ge=this.root),ge.children.push(gt),gt},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(ge){ge.id=x.internal.newObjectDeferred();for(var Le=0;Le0&&(this.line("/First "+this.makeRef(ge.children[0])),this.line("/Last "+this.makeRef(ge.children[ge.children.length-1]))),this.line("/Count "+this.count_r({count:0},ge)),this.objEnd()},x.outline.renderItems=function(ge){for(var Le=this.ctx.pdf.internal.getVerticalCoordinateString,je=0;je0&&this.line("/Prev "+this.makeRef(ge.children[je-1])),je0&&(this.line("/First "+this.makeRef(gt.children[0])),this.line("/Last "+this.makeRef(gt.children[gt.children.length-1])));var at=this.count=this.count_r({count:0},gt);if(at>0&&this.line("/Count "+at),gt.options&>.options.pageNumber){var yt=x.internal.getPageInfo(gt.options.pageNumber);this.line("/Dest ["+yt.objId+" 0 R /XYZ 0 "+Le(0)+" 0]")}this.objEnd()}for(var wt=0;wt>"}),"transparency"in Rn&&Array.isArray(Rn.transparency)&&Rn.transparency.length>0){for(var _i="",Ci=0,na=Rn.transparency.length;Ci>",Mn.content=je;var gr=Mn.objId+" 0 R";je="<>";else if(ge.options.pageNumber)switch(je="<=0};E.__arabicParser__.arabicLetterHasIsolatedForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length>=1};var wt=E.__arabicParser__.arabicLetterHasFinalForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length>=2};E.__arabicParser__.arabicLetterHasInitialForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length>=3};var Tt=E.__arabicParser__.arabicLetterHasMedialForm=function(Mn){return gt(Mn)&&je(Mn)&&ee[Mn.charCodeAt(0)].length==4},nn=E.__arabicParser__.resolveLigatures=function(Mn){var Qn=0,Cn=x,Ir="",gr=0;for(Qn=0;Qn>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+ee+" 0 R")})),this},function(E){var ee=function(){var x=void 0;Object.defineProperty(this,"pdf",{get:function(){return x},set:function(at){x=at}});var ge=150;Object.defineProperty(this,"width",{get:function(){return ge},set:function(at){ge=isNaN(at)||Number.isInteger(at)===!1||at<0?150:at,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=ge+1)}});var Le=300;Object.defineProperty(this,"height",{get:function(){return Le},set:function(at){Le=isNaN(at)||Number.isInteger(at)===!1||at<0?300:at,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Le+1)}});var je=[];Object.defineProperty(this,"childNodes",{get:function(){return je},set:function(at){je=at}});var gt={};Object.defineProperty(this,"style",{get:function(){return gt},set:function(at){gt=at}}),Object.defineProperty(this,"parentNode",{})};ee.prototype.getContext=function(x,ge){var Le;if((x=x||"2d")!=="2d")return null;for(Le in ge)this.pdf.context2d.hasOwnProperty(Le)&&(this.pdf.context2d[Le]=ge[Le]);return this.pdf.context2d._canvas=this,this.pdf.context2d},ee.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},E.events.push(["initialized",function(){this.canvas=new ee,this.canvas.pdf=this}])}(Ws.API),function(E){var ee={left:0,top:0,bottom:0,right:0},x=!1,ge=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},ee),this.internal.__cell__.margins.width=this.getPageWidth(),Le.call(this))},Le=function(){this.internal.__cell__.lastCell=new je,this.internal.__cell__.pages=1},je=function(){var yt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return yt},set:function(Mn){yt=Mn}});var wt=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return wt},set:function(Mn){wt=Mn}});var Tt=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return Tt},set:function(Mn){Tt=Mn}});var nn=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return nn},set:function(Mn){nn=Mn}});var fn=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return fn},set:function(Mn){fn=Mn}});var Nt=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return Nt},set:function(Mn){Nt=Mn}});var On=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return On},set:function(Mn){On=Mn}}),this};je.prototype.clone=function(){return new je(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},je.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},E.setHeaderFunction=function(yt){return ge.call(this),this.internal.__cell__.headerFunction=typeof yt=="function"?yt:void 0,this},E.getTextDimensions=function(yt,wt){ge.call(this);var Tt=(wt=wt||{}).fontSize||this.getFontSize(),nn=wt.font||this.getFont(),fn=wt.scaleFactor||this.internal.scaleFactor,Nt=0,On=0,Mn=0,Qn=this;if(!Array.isArray(yt)&&typeof yt!="string"){if(typeof yt!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");yt=String(yt)}var Cn=wt.maxWidth;Cn>0?typeof yt=="string"?yt=this.splitTextToSize(yt,Cn):Object.prototype.toString.call(yt)==="[object Array]"&&(yt=yt.reduce(function(gr,_n){return gr.concat(Qn.splitTextToSize(_n,Cn))},[])):yt=Array.isArray(yt)?yt:[yt];for(var Ir=0;Irthis.getPageHeight()?(this.cellAddPage(),yt.y=nn.top,Nt&&fn&&(this.printHeaderRow(yt.lineNumber,!0),yt.y+=fn[0].height)):yt.y=wt.y+wt.height||yt.y),yt.text[0]!==void 0&&(this.rect(yt.x,yt.y,yt.width,yt.height,x===!0?"FD":void 0),yt.align==="right"?this.text(yt.text,yt.x+yt.width-Tt,yt.y+Tt,{align:"right",baseline:"top"}):yt.align==="center"?this.text(yt.text,yt.x+yt.width/2,yt.y+Tt,{align:"center",baseline:"top",maxWidth:yt.width-Tt-Tt}):this.text(yt.text,yt.x+Tt,yt.y+Tt,{align:"left",baseline:"top",maxWidth:yt.width-Tt-Tt})),this.internal.__cell__.lastCell=yt,this};E.table=function(yt,wt,Tt,nn,fn){if(ge.call(this),!Tt)throw new Error("No data for PDF table.");var Nt,On,Mn,Qn,Cn=[],Ir=[],gr=[],_n={},Ii={},ua=[],Ki=[],Ur=(fn=fn||{}).autoSize||!1,rr=fn.printHeaders!==!1,ui=fn.css&&fn.css["font-size"]!==void 0?16*fn.css["font-size"]:fn.fontSize||12,En=fn.margins||Object.assign({width:this.getPageWidth()},ee),Rn=typeof fn.padding=="number"?fn.padding:3,Sr=fn.headerBackgroundColor||"#c8c8c8",mr=fn.headerTextColor||"#000";if(Le.call(this),this.internal.__cell__.printHeaders=rr,this.internal.__cell__.margins=En,this.internal.__cell__.table_font_size=ui,this.internal.__cell__.padding=Rn,this.internal.__cell__.headerBackgroundColor=Sr,this.internal.__cell__.headerTextColor=mr,this.setFontSize(ui),nn==null)Ir=Cn=Object.keys(Tt[0]),gr=Cn.map(function(){return"left"});else if(Array.isArray(nn)&&(0,a.Z)(nn[0])==="object")for(Cn=nn.map(function(Fo){return Fo.name}),Ir=nn.map(function(Fo){return Fo.prompt||Fo.name||""}),gr=nn.map(function(Fo){return Fo.align||"left"}),Nt=0;Nt0&&this.setTableHeaderRow(fn),this.setFont(void 0,"normal"),x=!1}}(Ws.API);var od={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},m0=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],jd=mA(m0),Od=[100,200,300,400,500,600,700,800,900],ap=mA(Od);function nh(E){var ee=E.family.replace(/"|'/g,"").toLowerCase(),x=function(je){return od[je=je||"normal"]?je:"normal"}(E.style),ge=function(je){return je?typeof je=="number"?je>=100&&je<=900&&je%100==0?je:400:/^\d00$/.test(je)?parseInt(je):je==="bold"?700:400:400}(E.weight),Le=function(je){return typeof jd[je=je||"normal"]=="number"?je:"normal"}(E.stretch);return{family:ee,style:x,weight:ge,stretch:Le,src:E.src||[],ref:E.ref||{name:ee,style:[Le,x,ge].join(" ")}}}function v0(E,ee,x,ge){var Le;for(Le=x;Le>=0&&Le=0&&Le>>1)&255}return Le}function av(E,ee,x){var ge=E.length,Le=[];Le[0]=4;for(var je=0;je>je>}function yv(E,ee,x,ge){var Le=x*ge,je=Math.floor(Le/8),gt=16-(Le-8*je+ge),at=(1<>8&255;wt.setUint8(Tt,fn)}})(E,je,zv(E,je)&~(at<>7,gt=1<<1+(7&Le);E[ee++],E[ee++];var at=null,yt=null;je&&(at=ee,yt=gt,ee+=3*gt);var wt=!0,Tt=[],nn=0,fn=null,Nt=0,On=null;for(this.width=x,this.height=ge;wt&&ee=0))throw Error("Invalid block size");if(En===0)break;ee+=En}break;case 249:if(E[ee++]!==4||E[ee+4]!==0)throw new Error("Invalid graphics extension block.");var Mn=E[ee++];nn=E[ee++]|E[ee++]<<8,fn=E[ee++],1&Mn||(fn=null),Nt=Mn>>2&7,ee++;break;case 254:for(;;){if(!((En=E[ee++])>=0))throw Error("Invalid block size");if(En===0)break;ee+=En}break;default:throw new Error("Unknown graphic control label: 0x"+E[ee-1].toString(16))}break;case 44:var Qn=E[ee++]|E[ee++]<<8,Cn=E[ee++]|E[ee++]<<8,Ir=E[ee++]|E[ee++]<<8,gr=E[ee++]|E[ee++]<<8,_n=E[ee++],Ii=_n>>6&1,ua=1<<1+(7&_n),Ki=at,Ur=yt,rr=!1;_n>>7&&(rr=!0,Ki=ee,Ur=ua,ee+=3*ua);var ui=ee;for(ee++;;){var En;if(!((En=E[ee++])>=0))throw Error("Invalid block size");if(En===0)break;ee+=En}Tt.push({x:Qn,y:Cn,width:Ir,height:gr,has_local_palette:rr,palette_offset:Ki,palette_size:Ur,data_offset:ui,data_length:ee-ui,transparent_index:fn,interlaced:!!Ii,delay:nn,disposal:Nt});break;case 59:wt=!1;break;default:throw new Error("Unknown gif block: 0x"+E[ee-1].toString(16))}this.numFrames=function(){return Tt.length},this.loopCount=function(){return On},this.frameInfo=function(Rn){if(Rn<0||Rn>=Tt.length)throw new Error("Frame index out of range.");return Tt[Rn]},this.decodeAndBlitFrameBGRA=function(Rn,Sr){var mr=this.frameInfo(Rn),vi=mr.width*mr.height,Vi=new Uint8Array(vi);Ev(E,mr.data_offset,Vi,vi);var _i=mr.palette_offset,Ci=mr.transparent_index;Ci===null&&(Ci=256);var na=mr.width,Fo=x-na,ka=na,yn=4*(mr.y*x+mr.x),Yn=4*((mr.y+mr.height)*x+mr.x),dr=yn,Pr=4*Fo;mr.interlaced===!0&&(Pr+=4*x*7);for(var zr=8,di=0,Ji=Vi.length;di=Yn&&(Pr=4*Fo+4*x*(zr-1),dr=yn+(na+Fo)*(zr<<1),zr>>=1)),Qi===Ci)dr+=4;else{var wa=E[_i+3*Qi],lo=E[_i+3*Qi+1],cs=E[_i+3*Qi+2];Sr[dr++]=cs,Sr[dr++]=lo,Sr[dr++]=wa,Sr[dr++]=255}--ka}},this.decodeAndBlitFrameRGBA=function(Rn,Sr){var mr=this.frameInfo(Rn),vi=mr.width*mr.height,Vi=new Uint8Array(vi);Ev(E,mr.data_offset,Vi,vi);var _i=mr.palette_offset,Ci=mr.transparent_index;Ci===null&&(Ci=256);var na=mr.width,Fo=x-na,ka=na,yn=4*(mr.y*x+mr.x),Yn=4*((mr.y+mr.height)*x+mr.x),dr=yn,Pr=4*Fo;mr.interlaced===!0&&(Pr+=4*x*7);for(var zr=8,di=0,Ji=Vi.length;di=Yn&&(Pr=4*Fo+4*x*(zr-1),dr=yn+(na+Fo)*(zr<<1),zr>>=1)),Qi===Ci)dr+=4;else{var wa=E[_i+3*Qi],lo=E[_i+3*Qi+1],cs=E[_i+3*Qi+2];Sr[dr++]=wa,Sr[dr++]=lo,Sr[dr++]=cs,Sr[dr++]=255}--ka}}}function Ev(E,ee,x,ge){for(var Le=E[ee++],je=1<>=yt,Tt-=yt,Qn!==je){if(Qn===gt)break;for(var Cn=Qnje;)gr=On[gr]>>8,++Ir;var _n=gr;if(fn+Ir+(Cn!==Qn?1:0)>ge)return void Ou.log("Warning, gif stream longer than expected.");x[fn++]=_n;var Ii=fn+=Ir;for(Cn!==Qn&&(x[fn++]=_n),gr=Cn;Ir--;)gr=On[gr],x[--Ii]=255&gr,gr>>=8;Mn!==null&&at<4096&&(On[at++]=Mn<<8|_n,at>=wt+1&&yt<12&&(++yt,wt=wt<<1|1)),Mn=Qn}else at=gt+1,wt=(1<<(yt=Le+1))-1,Mn=null}return fn!==ge&&Ou.log("Warning, gif stream shorter than expected."),x}function Qm(E){var ee,x,ge,Le,je,gt=Math.floor,at=new Array(64),yt=new Array(64),wt=new Array(64),Tt=new Array(64),nn=new Array(65535),fn=new Array(65535),Nt=new Array(64),On=new Array(64),Mn=[],Qn=0,Cn=7,Ir=new Array(64),gr=new Array(64),_n=new Array(64),Ii=new Array(256),ua=new Array(2048),Ki=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ur=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],rr=[0,1,2,3,4,5,6,7,8,9,10,11],ui=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],En=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Rn=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Sr=[0,1,2,3,4,5,6,7,8,9,10,11],mr=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],vi=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Vi(yn,Yn){for(var dr=0,Pr=0,zr=new Array,di=1;di<=16;di++){for(var Ji=1;Ji<=yn[di];Ji++)zr[Yn[Pr]]=[],zr[Yn[Pr]][0]=dr,zr[Yn[Pr]][1]=di,Pr++,dr++;dr*=2}return zr}function _i(yn){for(var Yn=yn[0],dr=yn[1]-1;dr>=0;)Yn&1<>8&255),Ci(255&yn)}function Fo(yn,Yn,dr,Pr,zr){for(var di,Ji=zr[0],Qi=zr[240],wa=function($a,bl){var Ts,Cl,pl,dA,xu,au,Yu,Wu,Zs,ou,sl=0;for(Zs=0;Zs<8;++Zs){Ts=$a[sl],Cl=$a[sl+1],pl=$a[sl+2],dA=$a[sl+3],xu=$a[sl+4],au=$a[sl+5],Yu=$a[sl+6];var Uc=Ts+(Wu=$a[sl+7]),Zu=Ts-Wu,Su=Cl+Yu,yu=Cl-Yu,mc=pl+au,El=pl-au,ac=dA+xu,jl=dA-xu,su=Uc+ac,KA=Uc-ac,Iu=Su+mc,Ml=Su-mc;$a[sl]=su+Iu,$a[sl+4]=su-Iu;var vA=.707106781*(Ml+KA);$a[sl+2]=KA+vA,$a[sl+6]=KA-vA;var rg=.382683433*((su=jl+El)-(Ml=yu+Zu)),bf=.5411961*su+rg,Lp=1.306562965*Ml+rg,E0=.707106781*(Iu=El+yu),Pl=Zu+E0,Pp=Zu-E0;$a[sl+5]=Pp+bf,$a[sl+3]=Pp-bf,$a[sl+1]=Pl+Lp,$a[sl+7]=Pl-Lp,sl+=8}for(sl=0,Zs=0;Zs<8;++Zs){Ts=$a[sl],Cl=$a[sl+8],pl=$a[sl+16],dA=$a[sl+24],xu=$a[sl+32],au=$a[sl+40],Yu=$a[sl+48];var Np=Ts+(Wu=$a[sl+56]),Kh=Ts-Wu,Yh=Cl+Yu,zc=Cl-Yu,kd=pl+au,Hc=pl-au,sd=dA+xu,Ap=dA-xu,w0=Np+sd,cp=Np-sd,Jh=Yh+kd,b0=Yh-kd;$a[sl]=w0+Jh,$a[sl+32]=w0-Jh;var qh=.707106781*(b0+cp);$a[sl+16]=cp+qh,$a[sl+48]=cp-qh;var Dg=.382683433*((w0=Ap+Hc)-(b0=zc+Kh)),C0=.5411961*w0+Dg,Lg=1.306562965*b0+Dg,qg=.707106781*(Jh=Hc+zc),_g=Kh+qg,$g=Kh-qg;$a[sl+40]=$g+C0,$a[sl+24]=$g-C0,$a[sl+8]=_g+Lg,$a[sl+56]=_g-Lg,sl++}for(Zs=0;Zs<64;++Zs)ou=$a[Zs]*bl[Zs],Nt[Zs]=ou>0?ou+.5|0:ou-.5|0;return Nt}(yn,Yn),lo=0;lo<64;++lo)On[Ki[lo]]=wa[lo];var cs=On[0]-dr;dr=On[0],cs==0?_i(Pr[0]):(_i(Pr[fn[di=32767+cs]]),_i(nn[di]));for(var ls=63;ls>0&&On[ls]==0;)ls--;if(ls==0)return _i(Ji),dr;for(var dl,Un=1;Un<=ls;){for(var Xa=Un;On[Un]==0&&Un<=ls;)++Un;var vu=Un-Xa;if(vu>=16){dl=vu>>4;for(var Il=1;Il<=dl;++Il)_i(Qi);vu&=15}di=32767+On[Un],_i(zr[(vu<<4)+fn[di]]),_i(nn[di]),Un++}return ls!=63&&_i(Ji),dr}function ka(yn){yn=Math.min(Math.max(yn,1),100),je!=yn&&(function(Yn){for(var dr=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Pr=0;Pr<64;Pr++){var zr=gt((dr[Pr]*Yn+50)/100);zr=Math.min(Math.max(zr,1),255),at[Ki[Pr]]=zr}for(var di=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Ji=0;Ji<64;Ji++){var Qi=gt((di[Ji]*Yn+50)/100);Qi=Math.min(Math.max(Qi,1),255),yt[Ki[Ji]]=Qi}for(var wa=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],lo=0,cs=0;cs<8;cs++)for(var ls=0;ls<8;ls++)wt[lo]=1/(at[Ki[lo]]*wa[cs]*wa[ls]*8),Tt[lo]=1/(yt[Ki[lo]]*wa[cs]*wa[ls]*8),lo++}(yn<50?Math.floor(5e3/yn):Math.floor(200-2*yn)),je=yn)}this.encode=function(yn,Yn){Yn&&ka(Yn),Mn=new Array,Qn=0,Cn=7,na(65496),na(65504),na(16),Ci(74),Ci(70),Ci(73),Ci(70),Ci(0),Ci(1),Ci(1),Ci(0),na(1),na(1),Ci(0),Ci(0),function(){na(65499),na(132),Ci(0);for(var Cl=0;Cl<64;Cl++)Ci(at[Cl]);Ci(1);for(var pl=0;pl<64;pl++)Ci(yt[pl])}(),function(Cl,pl){na(65472),na(17),Ci(8),na(pl),na(Cl),Ci(3),Ci(1),Ci(17),Ci(0),Ci(2),Ci(17),Ci(1),Ci(3),Ci(17),Ci(1)}(yn.width,yn.height),function(){na(65476),na(418),Ci(0);for(var Cl=0;Cl<16;Cl++)Ci(Ur[Cl+1]);for(var pl=0;pl<=11;pl++)Ci(rr[pl]);Ci(16);for(var dA=0;dA<16;dA++)Ci(ui[dA+1]);for(var xu=0;xu<=161;xu++)Ci(En[xu]);Ci(1);for(var au=0;au<16;au++)Ci(Rn[au+1]);for(var Yu=0;Yu<=11;Yu++)Ci(Sr[Yu]);Ci(17);for(var Wu=0;Wu<16;Wu++)Ci(mr[Wu+1]);for(var Zs=0;Zs<=161;Zs++)Ci(vi[Zs])}(),na(65498),na(12),Ci(3),Ci(1),Ci(0),Ci(2),Ci(17),Ci(3),Ci(17),Ci(0),Ci(63),Ci(0);var dr=0,Pr=0,zr=0;Qn=0,Cn=7,this.encode.displayName="_encode_";for(var di,Ji,Qi,wa,lo,cs,ls,dl,Un,Xa=yn.data,vu=yn.width,Il=yn.height,$a=4*vu,bl=0;bl>3)*$a+(ls=4*(7&Un)),bl+dl>=Il&&(cs-=$a*(bl+1+dl-Il)),di+ls>=$a&&(cs-=di+ls-$a+4),Ji=Xa[cs++],Qi=Xa[cs++],wa=Xa[cs++],Ir[Un]=(ua[Ji]+ua[Qi+256|0]+ua[wa+512|0]>>16)-128,gr[Un]=(ua[Ji+768|0]+ua[Qi+1024|0]+ua[wa+1280|0]>>16)-128,_n[Un]=(ua[Ji+1280|0]+ua[Qi+1536|0]+ua[wa+1792|0]>>16)-128;dr=Fo(Ir,wt,dr,ee,ge),Pr=Fo(gr,Tt,Pr,x,Le),zr=Fo(_n,Tt,zr,x,Le),di+=32}bl+=8}if(Cn>=0){var Ts=[];Ts[1]=Cn+1,Ts[0]=(1<Rn;Rn++)if(rr[ui+Rn]!=En.charCodeAt(Rn))return!0;return!1}function ge(rr,ui,En,Rn,Sr){for(var mr=0;mrmr+1?[]:new ui),!(vi.length>>0;Qe&St;)St>>>=1;return St?(Qe&St-1)+St:Qe}function En(Qe,nt,St,Rt,an){ee(!(Rt%St));do Qe[nt+(Rt-=St)]=an;while(0=an),512>=an)var dn=je(512);else if((dn=je(an))==null)return 0;return function(vn,Bn,In,Xn,Qr,Mi){var Vn,_r,fi=Bn,fa=1<Vn;++Vn){if(Bi[Vn]>1<(Mu-=Bi[Vn]))return 0;for(;0=Vn;++Vn,Qr<<=1){if(zs+=Mu<<=1,0>(Mu-=Bi[Vn]))return 0;for(;0co&&!(0>=(ba-=Bi[co]));)++co,ba<<=1;fa+=nl=1<<(ba=co-In),vn[Bn+(co=Al&Va)].g=ba+In,vn[Bn+co].value=fi-Bn-co}Xn.g=Vn-In,Xn.value=Mi[_r++],En(vn,fi+(Al>>In),Qr,nl,Xn),Al=ui(Al,Vn)}}return zs!=2*va[15]-1?0:fa}(Qe,nt,St,Rt,an,dn)}function Sr(){this.value=this.g=0}function mr(){this.value=this.g=0}function vi(){this.G=gt(5,Sr),this.H=je(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=gt(Mh,mr)}function Vi(Qe,nt,St,Rt){ee(Qe!=null),ee(nt!=null),ee(2147483648>Rt),Qe.Ca=254,Qe.I=0,Qe.b=-8,Qe.Ka=0,Qe.oa=nt,Qe.pa=St,Qe.Jd=nt,Qe.Yc=St+Rt,Qe.Zc=4<=Rt?St+Rt-4+1:St,Ji(Qe)}function _i(Qe,nt){for(var St=0;0Rt),Qe.Sb=Rt,Qe.Ra=0,Qe.u=0,Qe.h=0,4>>=8,Qe.Ra+=Qe.oa[Qe.pa+Qe.bb]<>>0,++Qe.bb,Qe.u-=8;Pr(Qe)&&(Qe.h=1,Qe.u=0)}function ka(Qe,nt){if(ee(0<=nt),!Qe.h&&nt<=yd){var St=dr(Qe)&vd[nt];return Qe.u+=nt,Fo(Qe),St}return Qe.h=1,Qe.u=0}function yn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Yn(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function dr(Qe){return Qe.Ra>>>(Qe.u&ah-1)>>>0}function Pr(Qe){return ee(Qe.bb<=Qe.Sb),Qe.h||Qe.bb==Qe.Sb&&Qe.u>ah}function zr(Qe,nt){Qe.u=nt,Qe.h=Pr(Qe)}function di(Qe){Qe.u>=Bf&&(ee(Qe.u>=Bf),Fo(Qe))}function Ji(Qe){ee(Qe!=null&&Qe.oa!=null),Qe.pa>>0,Qe.b+=8):(ee(Qe!=null&&Qe.oa!=null),Qe.paQe.b&&Ji(Qe);var Rt=Qe.b,an=St*nt>>>8,dn=(Qe.I>>>Rt>an)+0;for(dn?(St-=an,Qe.I-=an+1<>>0):St=an+1,Rt=St,an=0;256<=Rt;)an+=8,Rt>>=8;return Rt=7^an+oh[Rt],Qe.b-=Rt,Qe.Ca=(St<>24&255,Qe[nt+1]=St>>16&255,Qe[nt+2]=St>>8&255,Qe[nt+3]=255&St}function cs(Qe,nt){return Qe[nt+0]|Qe[nt+1]<<8}function ls(Qe,nt){return cs(Qe,nt)|Qe[nt+2]<<16}function dl(Qe,nt){return cs(Qe,nt)|cs(Qe,nt+2)<<16}function Un(Qe,nt){var St=1<=an||0>=dn?0:(St[0]=an,Rt[0]=dn,1)}function $a(Qe,nt){return Qe+(1<>>nt}function bl(Qe,nt){return((4278255360&Qe)+(4278255360&nt)>>>0&4278255360)+((16711935&Qe)+(16711935&nt)>>>0&16711935)>>>0}function Ts(Qe,nt){rr[nt]=function(St,Rt,an,dn,vn,Bn,In){var Xn;for(Xn=0;Xn>>1)+(Qe&nt)>>>0}function dA(Qe){return 0<=Qe&&256>Qe?Qe:0>Qe?0:255>1))}function au(Qe,nt,St){return Math.abs(nt-St)-Math.abs(Qe-St)}function Yu(Qe,nt,St,Rt,an,dn,vn){for(Rt=dn[vn-1],St=0;St>8&255,In=16711935&(In=(In=16711935&vn)+((Bn<<16)+Bn));Rt[an+dn]=(4278255360&vn)+In>>>0}}function Zs(Qe,nt){nt.jd=255&Qe,nt.hd=Qe>>8&255,nt.ud=Qe>>16&255}function ou(Qe,nt,St,Rt,an,dn){var vn;for(vn=0;vn>>8,Xn=Bn,Qr=255&(Qr=(Qr=Bn>>>16)+((Qe.jd<<24>>24)*(In<<24>>24)>>>5));Xn=255&(Xn=(Xn+=(Qe.hd<<24>>24)*(In<<24>>24)>>>5)+((Qe.ud<<24>>24)*(Qr<<24>>24)>>>5)),an[dn+vn]=(4278255360&Bn)+(Qr<<16)+Xn}}function sl(Qe,nt,St,Rt,an){rr[nt]=function(dn,vn,Bn,In,Xn,Qr,Mi,Vn,_r){for(In=Mi;In>dn.b,_r=dn.Ea,fi=dn.K[0],fa=dn.w;if(8>Vn)for(dn=(1<>=Vn}else rr["VP8LMapColor"+St](In,Xn,fi,fa,Qr,Mi,vn,Bn,_r)}}function Uc(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&255,Rt[an++]=dn>>8&255,Rt[an++]=255&dn}}function Zu(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&255,Rt[an++]=dn>>8&255,Rt[an++]=255&dn,Rt[an++]=dn>>24&255}}function Su(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&240|vn>>12&15,vn=240&vn|vn>>28&15;Rt[an++]=dn,Rt[an++]=vn}}function yu(Qe,nt,St,Rt,an){for(St=nt+St;nt>16&248|vn>>13&7,vn=vn>>5&224|vn>>3&31;Rt[an++]=dn,Rt[an++]=vn}}function mc(Qe,nt,St,Rt,an){for(St=nt+St;nt>8&255,Rt[an++]=dn>>16&255}}function El(Qe,nt,St,Rt,an,dn){if(dn==0)for(St=nt+St;nt>24|dn[1]>>8&65280|dn[2]<<8&16711680|dn[3]<<24)>>>0),an+=32;else ge(Rt,an,Qe,nt,St)}function ac(Qe,nt){rr[nt][0]=rr[Qe+"0"],rr[nt][1]=rr[Qe+"1"],rr[nt][2]=rr[Qe+"2"],rr[nt][3]=rr[Qe+"3"],rr[nt][4]=rr[Qe+"4"],rr[nt][5]=rr[Qe+"5"],rr[nt][6]=rr[Qe+"6"],rr[nt][7]=rr[Qe+"7"],rr[nt][8]=rr[Qe+"8"],rr[nt][9]=rr[Qe+"9"],rr[nt][10]=rr[Qe+"10"],rr[nt][11]=rr[Qe+"11"],rr[nt][12]=rr[Qe+"12"],rr[nt][13]=rr[Qe+"13"],rr[nt][14]=rr[Qe+"0"],rr[nt][15]=rr[Qe+"0"]}function jl(Qe){return Qe==om||Qe==PA||Qe==kl||Qe==jg}function su(){this.eb=[],this.size=this.A=this.fb=0}function KA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Iu(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new su,this.f.kb=new KA,this.sd=null}function Ml(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function vA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function rg(Qe){return alert("todo:WebPSamplerProcessPlane"),Qe.T}function bf(Qe,nt){var St=Qe.T,Rt=nt.ba.f.RGBA,an=Rt.eb,dn=Rt.fb+Qe.ka*Rt.A,vn=kf[nt.ba.S],Bn=Qe.y,In=Qe.O,Xn=Qe.f,Qr=Qe.N,Mi=Qe.ea,Vn=Qe.W,_r=nt.cc,fi=nt.dc,fa=nt.Mc,Bi=nt.Nc,va=Qe.ka,ba=Qe.ka+Qe.T,co=Qe.U,Va=co+1>>1;for(va==0?vn(Bn,In,null,null,Xn,Qr,Mi,Vn,Xn,Qr,Mi,Vn,an,dn,null,null,co):(vn(nt.ec,nt.fc,Bn,In,_r,fi,fa,Bi,Xn,Qr,Mi,Vn,an,dn-Rt.A,an,dn,co),++St);va+2St,an=St==Qp||St==sg||St==fl||St==Tg||St==12||jl(St);if(nt.memory=null,nt.Ib=null,nt.Jb=null,nt.Nd=null,!S0(nt.Oa,Qe,an?11:12))return 0;if(an&&jl(St)&&Rs(),Qe.da)alert("todo:use_scaling");else{if(Rt){if(nt.Ib=rg,Qe.Kb){if(St=Qe.U+1>>1,nt.memory=je(Qe.U+2*St),nt.memory==null)return 0;nt.ec=nt.memory,nt.fc=0,nt.cc=nt.ec,nt.dc=nt.fc+Qe.U,nt.Mc=nt.cc,nt.Nc=nt.dc+St,nt.Ib=bf,Rs()}}else alert("todo:EmitYUV");an&&(nt.Jb=Lp,Rt&&Ol())}if(Rt&&!Ad){for(Qe=0;256>Qe;++Qe)i0[Qe]=89858*(Qe-128)+Vo>>zp,xa[Qe]=-22014*(Qe-128)+Vo,If[Qe]=-45773*(Qe-128),Ph[Qe]=113618*(Qe-128)+Vo>>zp;for(Qe=Xu;Qe>zp,Us[Qe-Xu]=dp(nt,255),eo[Qe-Xu]=dp(nt+8>>4,15);Ad=1}return 1}function Pl(Qe){var nt=Qe.ma,St=Qe.U,Rt=Qe.T;return ee(!(1&Qe.ka)),0>=St||0>=Rt?0:(St=nt.Ib(Qe,nt),nt.Jb!=null&&nt.Jb(Qe,nt,St),nt.Dc+=St,1)}function Pp(Qe){Qe.ma.memory=null}function Np(Qe,nt,St,Rt){return ka(Qe,8)!=47?0:(nt[0]=ka(Qe,14)+1,St[0]=ka(Qe,14)+1,Rt[0]=ka(Qe,1),ka(Qe,3)!=0?0:!Qe.h)}function Kh(Qe,nt){if(4>Qe)return Qe+1;var St=Qe-2>>1;return(2+(1&Qe)<>4)*Qe+(8-(15&St)))?St:1;var St}function zc(Qe,nt,St){var Rt=dr(St),an=Qe[nt+=255&Rt].g-8;return 0>>0,ee(8>=St.g),Qe.g}function Hc(Qe,nt,St){var Rt=Qe.xc;return ee((nt=Rt==0?0:Qe.vc[Qe.md*(St>>Rt)+(nt>>Rt)])>nl.b)*zs;faco&&(rl=co),(0,Dh[sA[nf++]>>8&15])(Vn,_r+ +Fu,va,ba+Fu-co,rl-Fu,va,ba+Fu),Fu=rl}_r+=co,ba+=co,++fa&Al||(nl+=zs)}Mi!=Xn.nc&&ge(In,Bn-fi,In,Bn+(Mi-Qr-1)*fi,fi);break;case 1:for(fi=Vn,Bi=_r,co=(Vn=Xn.Ea)-(ba=Vn&~(va=(_r=1<>Xn.b)*fa;Qr=an),0dn.o&&(Rt=dn.o),St=Rt?St=0:(an[0]+=4*dn.v,dn.ka=St-dn.j,dn.U=dn.va-dn.v,dn.T=Rt-St,St=1),St){if(Bn=Bn[0],11>(St=Qe.ca).S){var Qr=St.f.RGBA,Mi=(Rt=St.S,an=dn.U,dn=dn.T,Xn=Qr.eb,Qr.A),Vn=dn;for(Qr=Qr.fb+Qe.Ma*Qr.A;0Rt){var an=Qe.l.width,dn=St.ca,vn=St.tb+an*Rt,Bn=Qe.V,In=Qe.Ba+Qe.c*Rt,Xn=Qe.gc;ee(Qe.ab==1),ee(Xn[0].hc==3),tf(Xn[0],Rt,nt,Bn,In,dn,vn),cp(St,Rt,nt,dn,vn,an)}Qe.C=Qe.Ma=nt}function b0(Qe,nt,St,Rt,an,dn,vn){var Bn=Qe.$/Rt,In=Qe.$%Rt,Xn=Qe.m,Qr=Qe.s,Mi=St+Qe.$,Vn=Mi;an=St+Rt*an;var _r=St+Rt*dn,fi=280+Qr.ua,fa=Qe.Pb?Bn:16777216,Bi=0=fa){var Al=Mi-St;ee((fa=Qe).Pb),fa.wd=fa.m,fa.xd=Al,0Mu.g?(zr(Va,Va.u+Mu.g),Al[zs]=Mu.value,Va=0):(zr(Va,Va.u+Mu.g-256),ee(256<=Mu.value),Va=Mu.value),Va==0&&(co=!0)}else Va=zc(ba.G[0],ba.H[0],Xn);if(Xn.h)break;if(co||256>Va){if(!co)if(ba.nd)nt[Mi]=(ba.qb|Va<<8)>>>0;else{if(di(Xn),co=zc(ba.G[1],ba.H[1],Xn),di(Xn),Al=zc(ba.G[2],ba.H[2],Xn),zs=zc(ba.G[3],ba.H[3],Xn),Xn.h)break;nt[Mi]=(zs<<24|co<<16|Va<<8|Al)>>>0}if(co=!1,++Mi,++In>=Rt&&(In=0,++Bn,vn!=null&&Bn<=dn&&!(Bn%16)&&vn(Qe,Bn),Bi!=null))for(;Vn>>Bi.Mb]=Va}else if(280>Va){if(Va=Kh(Va-256,Xn),Al=zc(ba.G[4],ba.H[4],Xn),di(Xn),Al=Yh(Rt,Al=Kh(Al,Xn)),Xn.h)break;if(Mi-St=Rt;)In-=Rt,++Bn,vn!=null&&Bn<=dn&&!(Bn%16)&&vn(Qe,Bn);if(ee(Mi<=an),In&va&&(ba=Hc(Qr,In,Bn)),Bi!=null)for(;Vn>>Bi.Mb]=Va}else{if(!(Va>>Bi.Mb]=Va;Va=Mi,ee(!(co>>>(Al=Bi).Xa)),nt[Va]=Al.X[co],co=!0}co||ee(Xn.h==Pr(Xn))}if(Qe.Pb&&Xn.h&&Midn?dn:Bn),Qe.a=0,Qe.$=Mi-St}return 1}return Qe.a=3,0}function qh(Qe){ee(Qe!=null),Qe.vc=null,Qe.yc=null,Qe.Ya=null;var nt=Qe.Wa;nt!=null&&(nt.X=null),Qe.vb=null,ee(Qe!=null)}function Dg(){var Qe=new pi;return Qe==null?null:(Qe.a=0,Qe.xb=T0,ac("Predictor","VP8LPredictors"),ac("Predictor","VP8LPredictors_C"),ac("PredictorAdd","VP8LPredictorsAdd"),ac("PredictorAdd","VP8LPredictorsAdd_C"),JA=Wu,F0=ou,D0=Uc,sh=Zu,lh=Su,uh=yu,Ei=mc,rr.VP8LMapColor32b=ef,rr.VP8LMapColor8b=Fh,Qe)}function C0(Qe,nt,St,Rt,an){var dn=1,vn=[Qe],Bn=[nt],In=Rt.m,Xn=Rt.s,Qr=null,Mi=0;e:for(;;){if(St)for(;dn&&ka(In,1);){var Vn=vn,_r=Bn,fi=Rt,fa=1,Bi=fi.m,va=fi.gc[fi.ab],ba=ka(Bi,2);if(fi.Oc&1<=fi.ab),ba){case 0:case 1:va.b=ka(Bi,3)+2,fa=C0($a(va.Ea,va.b),$a(va.nc,va.b),0,fi,va.K),va.K=va.K[0];break;case 3:var co,Va=ka(Bi,8)+1,Al=16>nl.b),nf=je(sA);if(nf==null)co=0;else{var Fu=nl.K[0],rl=nl.w;for(nf[0]=nl.K[0][0],zs=1;zs<1*Mu;++zs)nf[zs]=bl(Fu[rl+zs],nf[zs-1]);for(;zs<4*sA;++zs)nf[zs]=0;nl.K[0]=null,nl.K[0]=nf,co=1}}fa=co;break;case 2:break;default:ee(0)}dn=fa}}if(vn=vn[0],Bn=Bn[0],dn&&ka(In,1)&&!(dn=1<=(Mi=ka(In,4))&&11>=Mi)){Rt.a=3;break e}var is;if(is=dn)t:{var bd,gu,fA,Fc=Rt,Rf=vn,Nh=Bn,cd=Mi,ch=St,Th=Fc.m,rf=Fc.s,wA=[null],$A=1,dd=0,ec=Ag[cd];n:for(;;){if(ch&&ka(Th,1)){var Uf=ka(Th,3)+2,Hp=$a(Rf,Uf),Cd=$a(Nh,Uf),a0=Hp*Cd;if(!C0(Hp,Cd,0,Fc,wA))break n;for(wA=wA[0],rf.xc=Uf,bd=0;bd>8&65535;wA[bd]=Ac,Ac>=$A&&($A=Ac+1)}}if(Th.h)break n;for(gu=0;5>gu;++gu){var af=zm[gu];!gu&&0=jh),Q0=k0;var o0=je(dd);if(Q0==null||o0==null||O0==null){Fc.a=1;break n}var R0=O0;for(bd=fA=0;bd<$A;++bd){var Ec=Q0[bd],U0=Ec.G,Wp=Ec.H,Pm=0,Qg=1,zf=0;for(gu=0;5>gu;++gu){af=zm[gu],U0[gu]=R0,Wp[gu]=fA,!gu&&0Nv)break r}else $v=Nv;for(dv=0;dvqm)h1[dv++]=qm,qm!=0&&(p1=qm);else{var P1=qm==16,v1=qm-16,N1=sm[v1],y1=ka(dm,ug[v1])+N1;if(dv+y1>Nv)break r;for(var T1=P1?p1:0;0=gu){var fv,t1=o0[0];for(fv=1;fvt1&&(t1=o0[fv]);zf+=t1}}if(Ec.nd=Qg,Ec.Qb=0,Qg&&(Ec.qb=(U0[3][Wp[3]+0].value<<24|U0[1][Wp[1]+0].value<<16|U0[2][Wp[2]+0].value)>>>0,Pm==0&&256>U0[0][Wp[0]+0].value&&(Ec.Qb=1,Ec.qb+=U0[0][Wp[0]+0].value<<8)),Ec.jc=!Ec.Qb&&6>zf,Ec.jc){var Tv,Rg=Ec;for(Tv=0;Tv>=kd(jv,8,hm),fm>>=kd(Rg.G[1][Rg.H[1]+fm],16,hm),fm>>=kd(Rg.G[2][Rg.H[2]+fm],0,hm),kd(Rg.G[3][Rg.H[3]+fm],24,hm))}}}rf.vc=wA,rf.Wb=$A,rf.Ya=Q0,rf.yc=O0,is=1;break t}is=0}if(!(dn=is)){Rt.a=3;break e}if(0Rt+1?[]:0),!(an.lengthQe?0:Qe>nt?nt:Qe}function nA(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function sv(){var Qe=new Rm;return Qe!=null&&(Qe.a=0,Qe.sc="OK",Qe.cb=0,Qe.Xb=0,Rp||(Rp=Ng)),Qe}function Mc(Qe,nt,St){return Qe.a==0&&(Qe.a=nt,Qe.sc=St,Qe.cb=0),0}function Mm(Qe,nt,St){return 3<=St&&Qe[nt+0]==157&&Qe[nt+1]==1&&Qe[nt+2]==42}function B0(Qe,nt){if(Qe==null)return 0;if(Qe.a=0,Qe.sc="OK",nt==null)return Mc(Qe,2,"null VP8Io passed to VP8GetHeaders()");var St=nt.data,Rt=nt.w,an=nt.ha;if(4>an)return Mc(Qe,7,"Truncated header.");var dn=St[Rt+0]|St[Rt+1]<<8|St[Rt+2]<<16,vn=Qe.Od;if(vn.Rb=!(1&dn),vn.td=dn>>1&7,vn.yd=dn>>4&1,vn.ub=dn>>5,3an)return Mc(Qe,7,"cannot parse picture header");if(!Mm(St,Rt,an))return Mc(Qe,3,"Bad code word");Bn.c=16383&(St[Rt+4]<<8|St[Rt+3]),Bn.Td=St[Rt+4]>>6,Bn.i=16383&(St[Rt+6]<<8|St[Rt+5]),Bn.Ud=St[Rt+6]>>6,Rt+=7,an-=7,Qe.za=Bn.c+15>>4,Qe.Ub=Bn.i+15>>4,nt.width=Bn.c,nt.height=Bn.i,nt.Da=0,nt.j=0,nt.v=0,nt.va=nt.width,nt.o=nt.height,nt.da=0,nt.ib=nt.width,nt.hb=nt.height,nt.U=nt.width,nt.T=nt.height,Le((dn=Qe.Pa).jb,0,255,dn.jb.length),ee((dn=Qe.Qa)!=null),dn.Cb=0,dn.Bb=0,dn.Fb=1,Le(dn.Zb,0,0,dn.Zb.length),Le(dn.Lb,0,0,dn.Lb)}if(vn.ub>an)return Mc(Qe,7,"bad partition length");Vi(dn=Qe.m,St,Rt,vn.ub),Rt+=vn.ub,an-=vn.ub,vn.Rb&&(Bn.Ld=Qi(dn),Bn.Kd=Qi(dn)),Bn=Qe.Qa;var In,Xn=Qe.Pa;if(ee(dn!=null),ee(Bn!=null),Bn.Cb=Qi(dn),Bn.Cb){if(Bn.Bb=Qi(dn),Qi(dn)){for(Bn.Fb=Qi(dn),In=0;4>In;++In)Bn.Zb[In]=Qi(dn)?Ci(dn,7):0;for(In=0;4>In;++In)Bn.Lb[In]=Qi(dn)?Ci(dn,6):0}if(Bn.Bb)for(In=0;3>In;++In)Xn.jb[In]=Qi(dn)?_i(dn,8):255}else Bn.Bb=0;if(dn.Ka)return Mc(Qe,3,"cannot parse segment header");if((Bn=Qe.ed).zd=Qi(dn),Bn.Tb=_i(dn,6),Bn.wb=_i(dn,3),Bn.Pc=Qi(dn),Bn.Pc&&Qi(dn)){for(Xn=0;4>Xn;++Xn)Qi(dn)&&(Bn.vd[Xn]=Ci(dn,6));for(Xn=0;4>Xn;++Xn)Qi(dn)&&(Bn.od[Xn]=Ci(dn,6))}if(Qe.L=Bn.Tb==0?0:Bn.zd?1:2,dn.Ka)return Mc(Qe,3,"cannot parse filter header");var Qr=an;if(an=In=Rt,Rt=In+Qr,Bn=Qr,Qe.Xb=(1<<_i(Qe.m,2))-1,Qr<3*(Xn=Qe.Xb))St=7;else{for(In+=3*Xn,Bn-=3*Xn,Qr=0;QrBn&&(Mi=Bn),Vi(Qe.Jc[+Qr],St,In,Mi),In+=Mi,Bn-=Mi,an+=3}Vi(Qe.Jc[+Xn],St,In,Bn),St=InMi;++Mi){if(Qr.Cb){var Vn=Qr.Zb[Mi];Qr.Fb||(Vn+=St)}else{if(0>16,8>_r.Eb[1]&&(_r.Eb[1]=8),_r.Qc[0]=P0[dp(Vn+Xn,117)],_r.Qc[1]=cg[dp(Vn+In,127)],_r.lc=Vn+In}if(!vn.Rb)return Mc(Qe,4,"Not a key frame.");for(Qi(dn),vn=Qe.Pa,St=0;4>St;++St){for(an=0;8>an;++an)for(Rt=0;3>Rt;++Rt)for(Bn=0;11>Bn;++Bn)Xn=wa(dn,Xm[St][an][Rt][Bn])?_i(dn,8):Up[St][an][Rt][Bn],vn.Wc[St][an].Yb[Rt][Bn]=Xn;for(an=0;17>an;++an)vn.Xc[St][an]=vn.Wc[St][Vm[an]]}return Qe.kc=Qi(dn),Qe.kc&&(Qe.Bd=_i(dn,8)),Qe.cb=1}function Ng(Qe,nt,St,Rt,an,dn,vn){var Bn=nt[an].Yb[St];for(St=0;16>an;++an){if(!wa(Qe,Bn[St+0]))return an;for(;!wa(Qe,Bn[St+1]);)if(Bn=nt[++an].Yb[0],St=0,an==16)return 16;var In=nt[an+1].Yb;if(wa(Qe,Bn[St+2])){var Xn=Qe,Qr=0;if(wa(Xn,(Vn=Bn)[(Mi=St)+3]))if(wa(Xn,Vn[Mi+6])){for(Bn=0,Mi=2*(Qr=wa(Xn,Vn[Mi+8]))+(Vn=wa(Xn,Vn[Mi+9+Qr])),Qr=0,Vn=uv[Mi];Vn[Bn];++Bn)Qr+=Qr+wa(Xn,Vn[Bn]);Qr+=3+(8<(Xn=Qe).b&&Ji(Xn);var Mi,Vn=Xn.b,_r=(Mi=Xn.Ca>>1)-(Xn.I>>Vn)>>31;--Xn.b,Xn.Ca+=_r,Xn.Ca|=1,Xn.I-=(Mi+1&_r)<>3),Qe[nt+St+32*Rt]=-256&an?0>an?0:255:an}function md(Qe,nt,St,Rt,an,dn){$h(Qe,nt,0,St,Rt+an),$h(Qe,nt,1,St,Rt+dn),$h(Qe,nt,2,St,Rt-dn),$h(Qe,nt,3,St,Rt-an)}function Tp(Qe){return(20091*Qe>>16)+Qe}function Dm(Qe,nt,St,Rt){var an,dn=0,vn=je(16);for(an=0;4>an;++an){var Bn=Qe[nt+0]+Qe[nt+8],In=Qe[nt+0]-Qe[nt+8],Xn=(35468*Qe[nt+4]>>16)-Tp(Qe[nt+12]),Qr=Tp(Qe[nt+4])+(35468*Qe[nt+12]>>16);vn[dn+0]=Bn+Qr,vn[dn+1]=In+Xn,vn[dn+2]=In-Xn,vn[dn+3]=Bn-Qr,dn+=4,nt++}for(an=dn=0;4>an;++an)Bn=(Qe=vn[dn+0]+4)+vn[dn+8],In=Qe-vn[dn+8],Xn=(35468*vn[dn+4]>>16)-Tp(vn[dn+12]),$h(St,Rt,0,0,Bn+(Qr=Tp(vn[dn+4])+(35468*vn[dn+12]>>16))),$h(St,Rt,1,0,In+Xn),$h(St,Rt,2,0,In-Xn),$h(St,Rt,3,0,Bn-Qr),dn++,Rt+=32}function Um(Qe,nt,St,Rt){var an=Qe[nt+0]+4,dn=35468*Qe[nt+4]>>16,vn=Tp(Qe[nt+4]),Bn=35468*Qe[nt+1]>>16;md(St,Rt,0,an+vn,Qe=Tp(Qe[nt+1]),Bn),md(St,Rt,1,an+dn,Qe,Bn),md(St,Rt,2,an-dn,Qe,Bn),md(St,Rt,3,an-vn,Qe,Bn)}function lv(Qe,nt,St,Rt,an){Dm(Qe,nt,St,Rt),an&&Dm(Qe,nt+16,St,Rt+4)}function fp(Qe,nt,St,Rt){rs(Qe,nt+0,St,Rt,1),rs(Qe,nt+32,St,Rt+128,1)}function ze(Qe,nt,St,Rt){var an;for(Qe=Qe[nt+0]+4,an=0;4>an;++an)for(nt=0;4>nt;++nt)$h(St,Rt,nt,an,Qe)}function We(Qe,nt,St,Rt){Qe[nt+0]&&Xs(Qe,nt+0,St,Rt),Qe[nt+16]&&Xs(Qe,nt+16,St,Rt+4),Qe[nt+32]&&Xs(Qe,nt+32,St,Rt+128),Qe[nt+48]&&Xs(Qe,nt+48,St,Rt+128+4)}function me(Qe,nt,St,Rt){var an,dn=je(16);for(an=0;4>an;++an){var vn=Qe[nt+0+an]+Qe[nt+12+an],Bn=Qe[nt+4+an]+Qe[nt+8+an],In=Qe[nt+4+an]-Qe[nt+8+an],Xn=Qe[nt+0+an]-Qe[nt+12+an];dn[0+an]=vn+Bn,dn[8+an]=vn-Bn,dn[4+an]=Xn+In,dn[12+an]=Xn-In}for(an=0;4>an;++an)vn=(Qe=dn[0+4*an]+3)+dn[3+4*an],Bn=dn[1+4*an]+dn[2+4*an],In=dn[1+4*an]-dn[2+4*an],Xn=Qe-dn[3+4*an],St[Rt+0]=vn+Bn>>3,St[Rt+16]=Xn+In>>3,St[Rt+32]=vn-Bn>>3,St[Rt+48]=Xn-In>>3,Rt+=64}function Ft(Qe,nt,St){var Rt,an=nt-32,dn=xf,vn=255-Qe[an-1];for(Rt=0;RtSt;++St)ge(Qe,nt+32*St,Qe,nt-32,16)}function zt(Qe,nt){var St;for(St=16;0Rt;++Rt)Le(nt,St+32*Rt,Qe,16)}function hr(Qe,nt){var St,Rt=16;for(St=0;16>St;++St)Rt+=Qe[nt-1+32*St]+Qe[nt+St-32];pn(Rt>>5,Qe,nt)}function Fr(Qe,nt){var St,Rt=8;for(St=0;16>St;++St)Rt+=Qe[nt-1+32*St];pn(Rt>>4,Qe,nt)}function Mr(Qe,nt){var St,Rt=8;for(St=0;16>St;++St)Rt+=Qe[nt+St-32];pn(Rt>>4,Qe,nt)}function Hr(Qe,nt){pn(128,Qe,nt)}function pr(Qe,nt,St){return Qe+2*nt+St+2>>2}function ei(Qe,nt){var St,Rt=nt-32;for(Rt=new Uint8Array([pr(Qe[Rt-1],Qe[Rt+0],Qe[Rt+1]),pr(Qe[Rt+0],Qe[Rt+1],Qe[Rt+2]),pr(Qe[Rt+1],Qe[Rt+2],Qe[Rt+3]),pr(Qe[Rt+2],Qe[Rt+3],Qe[Rt+4])]),St=0;4>St;++St)ge(Qe,nt+32*St,Rt,0,Rt.length)}function Or(Qe,nt){var St=Qe[nt-1],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1+96];lo(Qe,nt+0,16843009*pr(Qe[nt-1-32],St,Rt)),lo(Qe,nt+32,16843009*pr(St,Rt,an)),lo(Qe,nt+64,16843009*pr(Rt,an,dn)),lo(Qe,nt+96,16843009*pr(an,dn,dn))}function Xi(Qe,nt){var St,Rt=4;for(St=0;4>St;++St)Rt+=Qe[nt+St-32]+Qe[nt-1+32*St];for(Rt>>=3,St=0;4>St;++St)Le(Qe,nt+32*St,Rt,4)}function ur(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1-32],vn=Qe[nt+0-32],Bn=Qe[nt+1-32],In=Qe[nt+2-32],Xn=Qe[nt+3-32];Qe[nt+0+96]=pr(Rt,an,Qe[nt-1+96]),Qe[nt+1+96]=Qe[nt+0+64]=pr(St,Rt,an),Qe[nt+2+96]=Qe[nt+1+64]=Qe[nt+0+32]=pr(dn,St,Rt),Qe[nt+3+96]=Qe[nt+2+64]=Qe[nt+1+32]=Qe[nt+0+0]=pr(vn,dn,St),Qe[nt+3+64]=Qe[nt+2+32]=Qe[nt+1+0]=pr(Bn,vn,dn),Qe[nt+3+32]=Qe[nt+2+0]=pr(In,Bn,vn),Qe[nt+3+0]=pr(Xn,In,Bn)}function Yr(Qe,nt){var St=Qe[nt+1-32],Rt=Qe[nt+2-32],an=Qe[nt+3-32],dn=Qe[nt+4-32],vn=Qe[nt+5-32],Bn=Qe[nt+6-32],In=Qe[nt+7-32];Qe[nt+0+0]=pr(Qe[nt+0-32],St,Rt),Qe[nt+1+0]=Qe[nt+0+32]=pr(St,Rt,an),Qe[nt+2+0]=Qe[nt+1+32]=Qe[nt+0+64]=pr(Rt,an,dn),Qe[nt+3+0]=Qe[nt+2+32]=Qe[nt+1+64]=Qe[nt+0+96]=pr(an,dn,vn),Qe[nt+3+32]=Qe[nt+2+64]=Qe[nt+1+96]=pr(dn,vn,Bn),Qe[nt+3+64]=Qe[nt+2+96]=pr(vn,Bn,In),Qe[nt+3+96]=pr(Bn,In,In)}function Wr(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1-32],vn=Qe[nt+0-32],Bn=Qe[nt+1-32],In=Qe[nt+2-32],Xn=Qe[nt+3-32];Qe[nt+0+0]=Qe[nt+1+64]=dn+vn+1>>1,Qe[nt+1+0]=Qe[nt+2+64]=vn+Bn+1>>1,Qe[nt+2+0]=Qe[nt+3+64]=Bn+In+1>>1,Qe[nt+3+0]=In+Xn+1>>1,Qe[nt+0+96]=pr(an,Rt,St),Qe[nt+0+64]=pr(Rt,St,dn),Qe[nt+0+32]=Qe[nt+1+96]=pr(St,dn,vn),Qe[nt+1+32]=Qe[nt+2+96]=pr(dn,vn,Bn),Qe[nt+2+32]=Qe[nt+3+96]=pr(vn,Bn,In),Qe[nt+3+32]=pr(Bn,In,Xn)}function bi(Qe,nt){var St=Qe[nt+0-32],Rt=Qe[nt+1-32],an=Qe[nt+2-32],dn=Qe[nt+3-32],vn=Qe[nt+4-32],Bn=Qe[nt+5-32],In=Qe[nt+6-32],Xn=Qe[nt+7-32];Qe[nt+0+0]=St+Rt+1>>1,Qe[nt+1+0]=Qe[nt+0+64]=Rt+an+1>>1,Qe[nt+2+0]=Qe[nt+1+64]=an+dn+1>>1,Qe[nt+3+0]=Qe[nt+2+64]=dn+vn+1>>1,Qe[nt+0+32]=pr(St,Rt,an),Qe[nt+1+32]=Qe[nt+0+96]=pr(Rt,an,dn),Qe[nt+2+32]=Qe[nt+1+96]=pr(an,dn,vn),Qe[nt+3+32]=Qe[nt+2+96]=pr(dn,vn,Bn),Qe[nt+3+64]=pr(vn,Bn,In),Qe[nt+3+96]=pr(Bn,In,Xn)}function Xr(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1+96];Qe[nt+0+0]=St+Rt+1>>1,Qe[nt+2+0]=Qe[nt+0+32]=Rt+an+1>>1,Qe[nt+2+32]=Qe[nt+0+64]=an+dn+1>>1,Qe[nt+1+0]=pr(St,Rt,an),Qe[nt+3+0]=Qe[nt+1+32]=pr(Rt,an,dn),Qe[nt+3+32]=Qe[nt+1+64]=pr(an,dn,dn),Qe[nt+3+64]=Qe[nt+2+64]=Qe[nt+0+96]=Qe[nt+1+96]=Qe[nt+2+96]=Qe[nt+3+96]=dn}function Sa(Qe,nt){var St=Qe[nt-1+0],Rt=Qe[nt-1+32],an=Qe[nt-1+64],dn=Qe[nt-1+96],vn=Qe[nt-1-32],Bn=Qe[nt+0-32],In=Qe[nt+1-32],Xn=Qe[nt+2-32];Qe[nt+0+0]=Qe[nt+2+32]=St+vn+1>>1,Qe[nt+0+32]=Qe[nt+2+64]=Rt+St+1>>1,Qe[nt+0+64]=Qe[nt+2+96]=an+Rt+1>>1,Qe[nt+0+96]=dn+an+1>>1,Qe[nt+3+0]=pr(Bn,In,Xn),Qe[nt+2+0]=pr(vn,Bn,In),Qe[nt+1+0]=Qe[nt+3+32]=pr(St,vn,Bn),Qe[nt+1+32]=Qe[nt+3+64]=pr(Rt,St,vn),Qe[nt+1+64]=Qe[nt+3+96]=pr(an,Rt,St),Qe[nt+1+96]=pr(dn,an,Rt)}function ra(Qe,nt){var St;for(St=0;8>St;++St)ge(Qe,nt+32*St,Qe,nt-32,8)}function sr(Qe,nt){var St;for(St=0;8>St;++St)Le(Qe,nt,Qe[nt-1],8),nt+=32}function Yi(Qe,nt,St){var Rt;for(Rt=0;8>Rt;++Rt)Le(nt,St+32*Rt,Qe,8)}function ri(Qe,nt){var St,Rt=8;for(St=0;8>St;++St)Rt+=Qe[nt+St-32]+Qe[nt-1+32*St];Yi(Rt>>4,Qe,nt)}function Jn(Qe,nt){var St,Rt=4;for(St=0;8>St;++St)Rt+=Qe[nt+St-32];Yi(Rt>>3,Qe,nt)}function Dr(Qe,nt){var St,Rt=4;for(St=0;8>St;++St)Rt+=Qe[nt-1+32*St];Yi(Rt>>3,Qe,nt)}function Wi(Qe,nt){Yi(128,Qe,nt)}function Rr(Qe,nt,St){var Rt=Qe[nt-St],an=Qe[nt+0],dn=3*(an-Rt)+Lm[1020+Qe[nt-2*St]-Qe[nt+St]],vn=am[112+(dn+4>>3)];Qe[nt-St]=xf[255+Rt+am[112+(dn+3>>3)]],Qe[nt+0]=xf[255+an-vn]}function $n(Qe,nt,St,Rt){var an=Qe[nt+0],dn=Qe[nt+St];return Sf[255+Qe[nt-2*St]-Qe[nt-St]]>Rt||Sf[255+dn-an]>Rt}function Aa(Qe,nt,St,Rt){return 4*Sf[255+Qe[nt-St]-Qe[nt+0]]+Sf[255+Qe[nt-2*St]-Qe[nt+St]]<=Rt}function us(Qe,nt,St,Rt,an){var dn=Qe[nt-3*St],vn=Qe[nt-2*St],Bn=Qe[nt-St],In=Qe[nt+0],Xn=Qe[nt+St],Qr=Qe[nt+2*St],Mi=Qe[nt+3*St];return 4*Sf[255+Bn-In]+Sf[255+vn-Xn]>Rt?0:Sf[255+Qe[nt-4*St]-dn]<=an&&Sf[255+dn-vn]<=an&&Sf[255+vn-Bn]<=an&&Sf[255+Mi-Qr]<=an&&Sf[255+Qr-Xn]<=an&&Sf[255+Xn-In]<=an}function Ns(Qe,nt,St,Rt){var an=2*Rt+1;for(Rt=0;16>Rt;++Rt)Aa(Qe,nt+Rt,St,an)&&Rr(Qe,nt+Rt,St)}function go(Qe,nt,St,Rt){var an=2*Rt+1;for(Rt=0;16>Rt;++Rt)Aa(Qe,nt+Rt*St,1,an)&&Rr(Qe,nt+Rt*St,1)}function ps(Qe,nt,St,Rt){var an;for(an=3;0>7,va=18*ba+63>>7,ba=9*ba+63>>7;In[Xn-3*Qr]=xf[255+In[Xn-3*Qr]+ba],In[Xn-2*Qr]=xf[255+Mi+va],In[Xn-Qr]=xf[255+Vn+Bi],In[Xn+0]=xf[255+_r-Bi],In[Xn+Qr]=xf[255+fi-va],In[Xn+2*Qr]=xf[255+fa-ba]}nt+=Rt}}function Ha(Qe,nt,St,Rt,an,dn,vn,Bn){for(dn=2*dn+1;0>3)],fa=am[112+(fa+3>>3)],Bi=fi+1>>1;In[Xn-2*Qr]=xf[255+In[Xn-2*Qr]+Bi],In[Xn-Qr]=xf[255+Mi+fa],In[Xn+0]=xf[255+Vn-fi],In[Xn+Qr]=xf[255+_r-Bi]}nt+=Rt}}function Co(Qe,nt,St,Rt,an,dn){Jo(Qe,nt,St,1,16,Rt,an,dn)}function gl(Qe,nt,St,Rt,an,dn){Jo(Qe,nt,1,St,16,Rt,an,dn)}function Nl(Qe,nt,St,Rt,an,dn){var vn;for(vn=3;0Xn?0:255:Xn)&255,Xn=In,an[dn+Bn]=Qr}}function si(Qe,nt,St,Rt){var an=nt.width,dn=nt.o;if(ee(Qe!=null&&nt!=null),0>St||0>=Rt||St+Rt>dn)return null;if(!Qe.Cc){if(Qe.ga==null){var vn;if(Qe.ga=new Kn,(vn=Qe.ga==null)||(vn=nt.width*nt.o,ee(Qe.Gb.length==0),Qe.Gb=je(vn),Qe.Uc=0,Qe.Gb==null?vn=0:(Qe.mb=Qe.Gb,Qe.nb=Qe.Uc,Qe.rc=null,vn=1),vn=!vn),!vn){vn=Qe.ga;var Bn=Qe.Fa,In=Qe.P,Xn=Qe.qc,Qr=Qe.mb,Mi=Qe.nb,Vn=In+1,_r=Xn-1,fi=vn.l;if(ee(Bn!=null&&Qr!=null&&nt!=null),mp[0]=null,mp[1]=Tr,mp[2]=yi,mp[3]=ma,vn.ca=Qr,vn.tb=Mi,vn.c=nt.width,vn.i=nt.height,ee(0=Xn)nt=0;else if(vn.$a=3&Bn[In+0],vn.Z=Bn[In+0]>>2&3,vn.Lc=Bn[In+0]>>4&3,In=Bn[In+0]>>6&3,0>vn.$a||1=vn.c*vn.i;vn=!nt}if(vn)return null;Qe.ga.Lc!=1?Qe.Ga=0:Rt=dn-St}ee(Qe.ga!=null),ee(St+Rt<=dn);e:{if(nt=(Bn=Qe.ga).c,dn=Bn.l.o,Bn.$a==0){if(Vn=Qe.rc,_r=Qe.Vc,fi=Qe.Fa,In=Qe.P+1+St*nt,Xn=Qe.mb,Qr=Qe.nb+St*nt,ee(In<=Qe.P+Qe.qc),Bn.Z!=0)for(ee(mp[Bn.Z]!=null),vn=0;vn=nt)nt=1;else if(Bn.ic||Ol(),Bn.ic){Bn=vn.V,Vn=vn.Ba,_r=vn.c;var fa=vn.i,Bi=(fi=1,In=vn.$/_r,Xn=vn.$%_r,Qr=vn.m,Mi=vn.s,vn.$),va=_r*fa,ba=_r*nt,co=Mi.wc,Va=Bi(fa=zc(Va.G[0],Va.H[0],Qr)))Bn[Vn+Bi]=fa,++Bi,++Xn>=_r&&(Xn=0,++In<=nt&&!(In%16)&&Jh(vn,In));else{if(!(280>fa)){fi=0;break t}fa=Kh(fa-256,Qr);var Al,zs=zc(Va.G[4],Va.H[4],Qr);if(di(Qr),!(Bi>=(zs=Yh(_r,zs=Kh(zs,Qr)))&&va-Bi>=fa)){fi=0;break t}for(Al=0;Al=_r;)Xn-=_r,++In<=nt&&!(In%16)&&Jh(vn,In);Bint?nt:In);break t}!fi||Qr.h&&Bi=dn&&(Qe.Cc=1),Rt=1}if(!Rt)return null;if(Qe.Cc&&((Rt=Qe.ga)!=null&&(Rt.mc=null),Qe.ga=null,0>23,Bn[In+4*vn+1]=Bn[In+4*vn+1]*Mi>>23,Bn[In+4*vn+2]=Bn[In+4*vn+2]*Mi>>23)}nt+=dn}}function oa(Qe,nt,St,Rt,an){for(;0>4)*In>>16;Qe[nt+2*dn+0]=(240&vn|vn>>4)*In>>16&240|(15&vn|vn<<4)*In>>16>>4&15,Qe[nt+2*dn+1]=240&Xn|Bn}nt+=an}}function Ao(Qe,nt,St,Rt,an,dn,vn,Bn){var In,Xn,Qr=255;for(Xn=0;Xn>8}function Ol(){qA=ln,t0=oa,pp=Ao,em=gs}function Ss(Qe,nt,St){rr[Qe]=function(Rt,an,dn,vn,Bn,In,Xn,Qr,Mi,Vn,_r,fi,fa,Bi,va,ba,co){var Va,Al=co-1>>1,zs=Bn[In+0]|Xn[Qr+0]<<16,Mu=Mi[Vn+0]|_r[fi+0]<<16;ee(Rt!=null);var nl=3*zs+Mu+131074>>2;for(nt(Rt[an+0],255&nl,nl>>16,fa,Bi),dn!=null&&(nl=3*Mu+zs+131074>>2,nt(dn[vn+0],255&nl,nl>>16,va,ba)),Va=1;Va<=Al;++Va){var sA=Bn[In+Va]|Xn[Qr+Va]<<16,nf=Mi[Vn+Va]|_r[fi+Va]<<16,Fu=zs+sA+Mu+nf+524296,rl=Fu+2*(sA+Mu)>>3;nl=rl+zs>>1,zs=(Fu=Fu+2*(zs+nf)>>3)+sA>>1,nt(Rt[an+2*Va-1],255&nl,nl>>16,fa,Bi+(2*Va-1)*St),nt(Rt[an+2*Va-0],255&zs,zs>>16,fa,Bi+(2*Va-0)*St),dn!=null&&(nl=Fu+Mu>>1,zs=rl+nf>>1,nt(dn[vn+2*Va-1],255&nl,nl>>16,va,ba+(2*Va-1)*St),nt(dn[vn+2*Va+0],255&zs,zs>>16,va,ba+(2*Va+0)*St)),zs=sA,Mu=nf}1&co||(nl=3*zs+Mu+131074>>2,nt(Rt[an+co-1],255&nl,nl>>16,fa,Bi+(co-1)*St),dn!=null&&(nl=3*Mu+zs+131074>>2,nt(dn[vn+co-1],255&nl,nl>>16,va,ba+(co-1)*St)))}}function Rs(){kf[gp]=Gm,kf[Qp]=Am,kf[og]=Km,kf[sg]=Ym,kf[fl]=j0,kf[Tg]=dg,kf[lg]=Jm,kf[om]=Am,kf[PA]=Ym,kf[kl]=j0,kf[jg]=dg}function LA(Qe){return Qe&~wd?0>Qe?0:255:Qe>>yc}function js(Qe,nt){return LA((19077*Qe>>8)+(26149*nt>>8)-14234)}function yA(Qe,nt,St){return LA((19077*Qe>>8)-(6419*nt>>8)-(13320*St>>8)+8708)}function YA(Qe,nt){return LA((19077*Qe>>8)+(33050*nt>>8)-17685)}function EA(Qe,nt,St,Rt,an){Rt[an+0]=js(Qe,St),Rt[an+1]=yA(Qe,nt,St),Rt[an+2]=YA(Qe,nt)}function QA(Qe,nt,St,Rt,an){Rt[an+0]=YA(Qe,nt),Rt[an+1]=yA(Qe,nt,St),Rt[an+2]=js(Qe,St)}function Qd(Qe,nt,St,Rt,an){var dn=yA(Qe,nt,St);nt=dn<<3&224|YA(Qe,nt)>>3,Rt[an+0]=248&js(Qe,St)|dn>>5,Rt[an+1]=nt}function Rd(Qe,nt,St,Rt,an){var dn=240&YA(Qe,nt)|15;Rt[an+0]=240&js(Qe,St)|yA(Qe,nt,St)>>4,Rt[an+1]=dn}function $d(Qe,nt,St,Rt,an){Rt[an+0]=255,EA(Qe,nt,St,Rt,an+1)}function Ud(Qe,nt,St,Rt,an){QA(Qe,nt,St,Rt,an),Rt[an+3]=255}function qc(Qe,nt,St,Rt,an){EA(Qe,nt,St,Rt,an),Rt[an+3]=255}function vc(Qe,nt,St){rr[Qe]=function(Rt,an,dn,vn,Bn,In,Xn,Qr,Mi){for(var Vn=Qr+(-2&Mi)*St;Qr!=Vn;)nt(Rt[an+0],dn[vn+0],Bn[In+0],Xn,Qr),nt(Rt[an+1],dn[vn+0],Bn[In+0],Xn,Qr+St),an+=2,++vn,++In,Qr+=2*St;1&Mi&&nt(Rt[an+0],dn[vn+0],Bn[In+0],Xn,Qr)}}function rh(Qe,nt,St){return St==0?Qe==0?nt==0?6:5:nt==0?4:0:St}function x0(Qe,nt,St,Rt,an){switch(Qe>>>30){case 3:rs(nt,St,Rt,an,0);break;case 2:tl(nt,St,Rt,an);break;case 1:Xs(nt,St,Rt,an)}}function ld(Qe,nt){var St,Rt,an=nt.M,dn=nt.Nb,vn=Qe.oc,Bn=Qe.pc+40,In=Qe.oc,Xn=Qe.pc+584,Qr=Qe.oc,Mi=Qe.pc+600;for(St=0;16>St;++St)vn[Bn+32*St-1]=129;for(St=0;8>St;++St)In[Xn+32*St-1]=129,Qr[Mi+32*St-1]=129;for(0St;++St)ge(vn,Bn+32*St-4,vn,Bn+32*St+12,4);for(St=-1;8>St;++St)ge(In,Xn+32*St-4,In,Xn+32*St+4,4),ge(Qr,Mi+32*St-4,Qr,Mi+32*St+4,4)}var _r=Qe.Gd,fi=Qe.Hd+Rt,fa=Vn.ad,Bi=Vn.Hc;if(0=Qe.za-1?Le(va,ba,_r[fi].y[15],4):ge(va,ba,_r[fi+1].y,0,4)),St=0;4>St;St++)va[ba+128+St]=va[ba+256+St]=va[ba+384+St]=va[ba+0+St];for(St=0;16>St;++St,Bi<<=2)va=vn,ba=Bn+aA[St],n0[Vn.Ob[St]](va,ba),x0(Bi,fa,16*+St,va,ba)}else if(va=rh(Rt,an,Vn.Ob[0]),N0[va](vn,Bn),Bi!=0)for(St=0;16>St;++St,Bi<<=2)x0(Bi,fa,16*+St,vn,Bn+aA[St]);for(St=Vn.Gc,va=rh(Rt,an,Vn.Dd),r0[va](In,Xn),r0[va](Qr,Mi),Bi=fa,va=In,ba=Xn,255&(Vn=0|St)&&(170&Vn?Au(Bi,256,va,ba):$s(Bi,256,va,ba)),Vn=Qr,Bi=Mi,255&(St>>=8)&&(170&St?Au(fa,320,Vn,Bi):$s(fa,320,Vn,Bi)),anSt;++St)ge(_r,fi+St*Qe.R,vn,Bn+32*St,16);for(St=0;8>St;++St)ge(fa,Vn+St*Qe.B,In,Xn+32*St,8),ge(Bi,va+St*Qe.B,Qr,Mi+32*St,8)}}function Sh(Qe,nt,St,Rt,an,dn,vn,Bn,In){var Xn=[0],Qr=[0],Mi=0,Vn=In!=null?In.kd:0,_r=In!=null?In:new wn;if(Qe==null||12>St)return 7;_r.data=Qe,_r.w=nt,_r.ha=St,nt=[nt],St=[St],_r.gb=[_r.gb];e:{var fi=nt,fa=St,Bi=_r.gb;if(ee(Qe!=null),ee(fa!=null),ee(Bi!=null),Bi[0]=0,12<=fa[0]&&!x(Qe,fi[0],"RIFF")){if(x(Qe,fi[0]+8,"WEBP")){Bi=3;break e}var va=dl(Qe,fi[0]+4);if(12>va||4294967286fa[0]-8){Bi=7;break e}Bi[0]=va,fi[0]+=12,fa[0]-=12}Bi=0}if(Bi!=0)return Bi;for(va=0<_r.gb[0],St=St[0];;){e:{var ba=Qe;fa=nt,Bi=St;var co=Xn,Va=Qr,Al=fi=[0];if((nl=Mi=[Mi])[0]=0,8>Bi[0])Bi=7;else{if(!x(ba,fa[0],"VP8X")){if(dl(ba,fa[0]+4)!=10){Bi=3;break e}if(18>Bi[0]){Bi=7;break e}var zs=dl(ba,fa[0]+8),Mu=1+ls(ba,fa[0]+12);if(2147483648<=Mu*(ba=1+ls(ba,fa[0]+15))){Bi=3;break e}Al!=null&&(Al[0]=zs),co!=null&&(co[0]=Mu),Va!=null&&(Va[0]=ba),fa[0]+=18,Bi[0]-=18,nl[0]=1}Bi=0}}if(Mi=Mi[0],fi=fi[0],Bi!=0)return Bi;if(fa=!!(2&fi),!va&&Mi)return 3;if(dn!=null&&(dn[0]=!!(16&fi)),vn!=null&&(vn[0]=fa),Bn!=null&&(Bn[0]=0),vn=Xn[0],fi=Qr[0],Mi&&fa&&In==null){Bi=0;break}if(4>St){Bi=7;break}if(va&&Mi||!va&&!Mi&&!x(Qe,nt[0],"ALPH")){St=[St],_r.na=[_r.na],_r.P=[_r.P],_r.Sa=[_r.Sa];e:{zs=Qe,Bi=nt,va=St;var nl=_r.gb;co=_r.na,Va=_r.P,Al=_r.Sa,Mu=22,ee(zs!=null),ee(va!=null),ba=Bi[0];var sA=va[0];for(ee(co!=null),ee(Al!=null),co[0]=null,Va[0]=null,Al[0]=0;;){if(Bi[0]=ba,va[0]=sA,8>sA){Bi=7;break e}var nf=dl(zs,ba+4);if(4294967286nl){Bi=3;break e}if(!x(zs,ba,"VP8 ")||!x(zs,ba,"VP8L")){Bi=0;break e}if(sA[0]va[0])Bi=7;else{if(ba||Mu){if(nl=dl(nl,zs+4),12<=co&&nl>co-12){Bi=3;break e}if(Vn&&nl>va[0]-8){Bi=7;break e}Va[0]=nl,Bi[0]+=8,va[0]-=8,Al[0]=Mu}else Al[0]=5<=va[0]&&nl[zs+0]==47&&!(nl[zs+4]>>5),Va[0]=va[0];Bi=0}if(St=St[0],_r.Ja=_r.Ja[0],_r.xa=_r.xa[0],nt=nt[0],Bi!=0)break;if(4294967286<_r.Ja)return 3;if(Bn==null||fa||(Bn[0]=_r.xa?2:1),vn=[vn],fi=[fi],_r.xa){if(5>St){Bi=7;break}Bn=vn,Vn=fi,fa=dn,Qe==null||5>St?Qe=0:5<=St&&Qe[nt+0]==47&&!(Qe[nt+4]>>5)?(va=[0],nl=[0],co=[0],na(Va=new Yn,Qe,nt,St),Np(Va,va,nl,co)?(Bn!=null&&(Bn[0]=va[0]),Vn!=null&&(Vn[0]=nl[0]),fa!=null&&(fa[0]=co[0]),Qe=1):Qe=0):Qe=0}else{if(10>St){Bi=7;break}Bn=fi,Qe==null||10>St||!Mm(Qe,nt+3,St-3)?Qe=0:(Vn=Qe[nt+0]|Qe[nt+1]<<8|Qe[nt+2]<<16,fa=16383&(Qe[nt+7]<<8|Qe[nt+6]),Qe=16383&(Qe[nt+9]<<8|Qe[nt+8]),1&Vn||3<(Vn>>1&7)||!(Vn>>4&1)||Vn>>5>=_r.Ja||!fa||!Qe?Qe=0:(vn&&(vn[0]=fa),Bn&&(Bn[0]=Qe),Qe=1))}if(!Qe||(vn=vn[0],fi=fi[0],Mi&&(Xn[0]!=vn||Qr[0]!=fi)))return 3;In!=null&&(In[0]=_r,In.offset=nt-In.w,ee(4294967286>nt-In.w),ee(In.offset==In.ha-St));break}return Bi==0||Bi==7&&Mi&&In==null?(dn!=null&&(dn[0]|=_r.na!=null&&0<_r.na.length),Rt!=null&&(Rt[0]=vn),an!=null&&(an[0]=fi),0):Bi}function S0(Qe,nt,St){var Rt=nt.width,an=nt.height,dn=0,vn=0,Bn=Rt,In=an;if(nt.Da=Qe!=null&&0St||(dn&=-2,vn&=-2),0>dn||0>vn||0>=Bn||0>=In||dn+Bn>Rt||vn+In>an))return 0;if(nt.v=dn,nt.j=vn,nt.va=dn+Bn,nt.o=vn+In,nt.U=Bn,nt.T=In,nt.da=Qe!=null&&0Qe.S){var nt=Qe.f.RGBA;nt.fb+=(Qe.height-1)*nt.A,nt.A=-nt.A}else nt=Qe.f.kb,Qe=Qe.height,nt.O+=(Qe-1)*nt.fa,nt.fa=-nt.fa,nt.N+=(Qe-1>>1)*nt.Ab,nt.Ab=-nt.Ab,nt.W+=(Qe-1>>1)*nt.Db,nt.Db=-nt.Db,nt.F!=null&&(nt.J+=(Qe-1)*nt.lb,nt.lb=-nt.lb);return 0}function ih(Qe,nt,St,Rt){if(Rt==null||0>=Qe||0>=nt)return 2;if(St!=null){if(St.Da){var an=St.cd,dn=St.bd,vn=-2&St.v,Bn=-2&St.j;if(0>vn||0>Bn||0>=an||0>=dn||vn+an>Qe||Bn+dn>nt)return 2;Qe=an,nt=dn}if(St.da){if(!Il(Qe,nt,an=[St.ib],dn=[St.hb]))return 2;Qe=an[0],nt=dn[0]}}Rt.width=Qe,Rt.height=nt;e:{var In=Rt.width,Xn=Rt.height;if(Qe=Rt.S,0>=In||0>=Xn||!(Qe>=gp&&13>Qe))Qe=2;else{if(0>=Rt.Rd&&Rt.sd==null){vn=dn=an=nt=0;var Qr=(Bn=In*Qf[Qe])*Xn;if(11>Qe||(dn=(Xn+1)/2*(nt=(In+1)/2),Qe==12&&(vn=(an=In)*Xn)),(Xn=je(Qr+2*dn+vn))==null){Qe=1;break e}Rt.sd=Xn,11>Qe?((In=Rt.f.RGBA).eb=Xn,In.fb=0,In.A=Bn,In.size=Qr):((In=Rt.f.kb).y=Xn,In.O=0,In.fa=Bn,In.Fd=Qr,In.f=Xn,In.N=0+Qr,In.Ab=nt,In.Cd=dn,In.ea=Xn,In.W=0+Qr+dn,In.Db=nt,In.Ed=dn,Qe==12&&(In.F=Xn,In.J=0+Qr+2*dn),In.Tc=vn,In.lb=an)}if(nt=1,an=Rt.S,dn=Rt.width,vn=Rt.height,an>=gp&&13>an)if(11>an)Qe=Rt.f.RGBA,nt&=(Bn=Math.abs(Qe.A))*(vn-1)+dn<=Qe.size,nt&=Bn>=dn*Qf[an],nt&=Qe.eb!=null;else{Qe=Rt.f.kb,Bn=(dn+1)/2,Qr=(vn+1)/2,In=Math.abs(Qe.fa),Xn=Math.abs(Qe.Ab);var Mi=Math.abs(Qe.Db),Vn=Math.abs(Qe.lb),_r=Vn*(vn-1)+dn;nt&=In*(vn-1)+dn<=Qe.Fd,nt&=Xn*(Qr-1)+Bn<=Qe.Cd,nt=(nt&=Mi*(Qr-1)+Bn<=Qe.Ed)&In>=dn&Xn>=Bn&Mi>=Bn,nt&=Qe.y!=null,nt&=Qe.f!=null,nt&=Qe.ea!=null,an==12&&(nt&=Vn>=dn,nt&=_r<=Qe.Tc,nt&=Qe.F!=null)}else nt=0;Qe=nt?0:2}}return Qe!=0||St!=null&&St.fd&&(Qe=Ih(Rt)),Qe}var Mh=64,vd=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],yd=24,ah=32,Bf=8,oh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];Ts("Predictor0","PredictorAdd0"),rr.Predictor0=function(){return 4278190080},rr.Predictor1=function(Qe){return Qe},rr.Predictor2=function(Qe,nt,St){return nt[St+0]},rr.Predictor3=function(Qe,nt,St){return nt[St+1]},rr.Predictor4=function(Qe,nt,St){return nt[St-1]},rr.Predictor5=function(Qe,nt,St){return pl(pl(Qe,nt[St+1]),nt[St+0])},rr.Predictor6=function(Qe,nt,St){return pl(Qe,nt[St-1])},rr.Predictor7=function(Qe,nt,St){return pl(Qe,nt[St+0])},rr.Predictor8=function(Qe,nt,St){return pl(nt[St-1],nt[St+0])},rr.Predictor9=function(Qe,nt,St){return pl(nt[St+0],nt[St+1])},rr.Predictor10=function(Qe,nt,St){return pl(pl(Qe,nt[St-1]),pl(nt[St+0],nt[St+1]))},rr.Predictor11=function(Qe,nt,St){var Rt=nt[St+0];return 0>=au(Rt>>24&255,Qe>>24&255,(nt=nt[St-1])>>24&255)+au(Rt>>16&255,Qe>>16&255,nt>>16&255)+au(Rt>>8&255,Qe>>8&255,nt>>8&255)+au(255&Rt,255&Qe,255&nt)?Rt:Qe},rr.Predictor12=function(Qe,nt,St){var Rt=nt[St+0];return(dA((Qe>>24&255)+(Rt>>24&255)-((nt=nt[St-1])>>24&255))<<24|dA((Qe>>16&255)+(Rt>>16&255)-(nt>>16&255))<<16|dA((Qe>>8&255)+(Rt>>8&255)-(nt>>8&255))<<8|dA((255&Qe)+(255&Rt)-(255&nt)))>>>0},rr.Predictor13=function(Qe,nt,St){var Rt=nt[St-1];return(xu((Qe=pl(Qe,nt[St+0]))>>24&255,Rt>>24&255)<<24|xu(Qe>>16&255,Rt>>16&255)<<16|xu(Qe>>8&255,Rt>>8&255)<<8|xu(255&Qe,255&Rt))>>>0};var I0=rr.PredictorAdd0;rr.PredictorAdd1=Yu,Ts("Predictor2","PredictorAdd2"),Ts("Predictor3","PredictorAdd3"),Ts("Predictor4","PredictorAdd4"),Ts("Predictor5","PredictorAdd5"),Ts("Predictor6","PredictorAdd6"),Ts("Predictor7","PredictorAdd7"),Ts("Predictor8","PredictorAdd8"),Ts("Predictor9","PredictorAdd9"),Ts("Predictor10","PredictorAdd10"),Ts("Predictor11","PredictorAdd11"),Ts("Predictor12","PredictorAdd12"),Ts("Predictor13","PredictorAdd13");var e0=rr.PredictorAdd2;sl("ColorIndexInverseTransform","MapARGB","32b",function(Qe){return Qe>>8&255},function(Qe){return Qe}),sl("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(Qe){return Qe},function(Qe){return Qe>>8&255});var JA,M0=rr.ColorIndexInverseTransform,ef=rr.MapARGB,tf=rr.VP8LColorIndexInverseTransformAlpha,Fh=rr.MapAlpha,Dh=rr.VP8LPredictorsAdd=[];Dh.length=16,(rr.VP8LPredictors=[]).length=16,(rr.VP8LPredictorsAdd_C=[]).length=16,(rr.VP8LPredictors_C=[]).length=16;var F0,D0,sh,lh,uh,Ei,ho,rs,tl,Au,Xs,$s,pu,jA,ud,Ed,Lh,L0,Ah,hp,jp,Op,ag,kp,qA,t0,pp,em,tm=je(511),nm=je(2041),rm=je(225),im=je(767),RA=0,Lm=nm,am=rm,xf=im,Sf=tm,gp=0,Qp=1,og=2,sg=3,fl=4,Tg=5,lg=6,om=7,PA=8,kl=9,jg=10,ug=[2,3,7],sm=[3,3,11],zm=[280,256,256,256,40],Hm=[0,1,1,1,0],Wm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zm=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Ag=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Og=8,P0=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],cg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Rp=null,uv=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],kg=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],lm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Up=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Av=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Xm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Vm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],N0=[],n0=[],r0=[],um=1,T0=2,mp=[],kf=[];Ss("UpsampleRgbLinePair",EA,3),Ss("UpsampleBgrLinePair",QA,3),Ss("UpsampleRgbaLinePair",qc,4),Ss("UpsampleBgraLinePair",Ud,4),Ss("UpsampleArgbLinePair",$d,4),Ss("UpsampleRgba4444LinePair",Rd,2),Ss("UpsampleRgb565LinePair",Qd,2);var Gm=rr.UpsampleRgbLinePair,Km=rr.UpsampleBgrLinePair,Am=rr.UpsampleRgbaLinePair,Ym=rr.UpsampleBgraLinePair,j0=rr.UpsampleArgbLinePair,dg=rr.UpsampleRgba4444LinePair,Jm=rr.UpsampleRgb565LinePair,zp=16,Vo=1<Rt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),Rt.ca.f.kb.F!=null&&Ol()),Rt.Pb&&0(In=St.Md)?0:100Xn;++Xn)12>(Mi=an.pb[Xn]).lc&&(Mi.ia=In*oA[0>Mi.lc?0:Mi.lc]>>3),Qr|=Mi.ia;Qr&&(alert("todo:VP8InitRandom"),an.ia=1)}an.Ga=St.Id,100an.Ga&&(an.Ga=0)}(function(Vn,_r){if(Vn==null)return 0;if(_r==null)return Mc(Vn,2,"NULL VP8Io parameter in VP8Decode().");if(!Vn.cb&&!B0(Vn,_r))return 0;if(ee(Vn.cb),_r.ac==null||_r.ac(_r)){_r.ob&&(Vn.L=0);var fi=Ju[Vn.L];if(Vn.L==2?(Vn.yb=0,Vn.zb=0):(Vn.yb=_r.v-fi>>4,Vn.zb=_r.j-fi>>4,0>Vn.yb&&(Vn.yb=0),0>Vn.zb&&(Vn.zb=0)),Vn.Va=_r.o+15+fi>>4,Vn.Hb=_r.va+15+fi>>4,Vn.Hb>Vn.za&&(Vn.Hb=Vn.za),Vn.Va>Vn.Ub&&(Vn.Va=Vn.Ub),0fi;++fi){var Bi;if(Vn.Qa.Cb){var va=Vn.Qa.Lb[fi];Vn.Qa.Fb||(va+=fa.Tb)}else va=fa.Tb;for(Bi=0;1>=Bi;++Bi){var ba=Vn.gd[fi][Bi],co=va;if(fa.Pc&&(co+=fa.vd[0],Bi&&(co+=fa.od[0])),0<(co=0>co?0:63>2:Va>>1)>9-fa.wb&&(Va=9-fa.wb),1>Va&&(Va=1),ba.dd=Va,ba.tc=2*co+Va,ba.ld=40<=co?2:15<=co?1:0}else ba.tc=0;ba.La=Bi}}}fi=0}else Mc(Vn,6,"Frame setup failed"),fi=Vn.a;if(fi=fi==0){if(fi){Vn.$c=0,0Vn.Vb){if(Vn.Vb=0,Vn.Ec=je(ba),Vn.Fc=0,Vn.Ec==null){fi=Mc(Vn,1,"no memory during frame initialization.");break t}Vn.Vb=ba}ba=Vn.Ec,co=Vn.Fc,Vn.Ac=ba,Vn.Bc=co,co+=fa,Vn.Gd=gt(Al,Im),Vn.Hd=0,Vn.rb=gt(zs+1,_h),Vn.sb=1,Vn.wa=Mu?gt(Mu,xh):null,Vn.Y=0,Vn.D.Nb=0,Vn.D.wa=Vn.wa,Vn.D.Y=Vn.Y,0=fi;++fi)tm[255+fi]=0>fi?-fi:fi;for(fi=-1020;1020>=fi;++fi)nm[1020+fi]=-128>fi?-128:127=fi;++fi)rm[112+fi]=-16>fi?-16:15=fi;++fi)im[255+fi]=0>fi?0:255fA;++fA){var rf,wA=Nh[0+fA];for(rf=0;4>rf;++rf){wA=Av[Fc[Rf+rf]][wA];for(var $A=lm[wa(gu,wA[0])];0<$A;)$A=lm[2*$A+wa(gu,wA[$A])];wA=-$A,Fc[Rf+rf]=wA}ge(ch,Th,Fc,Rf,4),Th+=4,Nh[0+fA]=wA}}else wA=wa(gu,156)?wa(gu,128)?1:3:wa(gu,163)?2:0,cd.Ob[0]=wA,Le(Fc,Rf,wA,4),Le(Nh,0,wA,4);cd.Dd=wa(gu,142)?wa(gu,114)?wa(gu,183)?1:3:2:0}if(bd.m.Ka)return Mc(sA,7,"Premature end-of-partition0 encountered.");for(;sA.ja>3;for($A=0;256>$A;$A+=16)fA[ch+$A]=a0}Uf=1,Hp=Rf[0]}var Ac=15&gu.la,af=15&Th.la;for($A=0;4>$A;++$A){var O0=1⁡for(a0=ec=0;4>a0;++a0)Ac=Ac>>1|(O0=(Cd=Rp(Fc,Hp,Cd=O0+(1&Ac),cd.Sc,Uf,fA,ch))>Uf)<<7,ec=ec<<2|(3>=4,af=af>>1|O0<<7,rf=(rf<<8|ec)>>>0}for(Hp=Ac,Uf=af>>4,dd=0;4>dd;dd+=2){for(ec=0,Ac=gu.la>>4+dd,af=Th.la>>4+dd,$A=0;2>$A;++$A){for(O0=1&af,a0=0;2>a0;++a0)Cd=O0+(1&Ac),Ac=Ac>>1|(O0=0<(Cd=Rp(Fc,Rf[2],Cd,cd.Qc,0,fA,ch)))<<3,ec=ec<<2|(3>=2,af=af>>1|O0<<5}wA|=ec<<4*dd,Hp|=Ac<<4<=rl.zb&&rl.M<=rl.Va,rl.Aa==0)t:{if(Fu.M=rl.M,Fu.uc=gu,ld(rl,Fu),bd=1,Fu=(ec=rl.D).Nb,gu=(wA=Ju[rl.L])*rl.R,Fc=wA/2*rl.B,$A=16*Fu*rl.R,a0=8*Fu*rl.B,Rf=rl.sa,Nh=rl.ta-gu+$A,cd=rl.qa,fA=rl.ra-Fc+a0,ch=rl.Ha,Th=rl.Ia-Fc+a0,af=(Ac=ec.M)==0,rf=Ac>=rl.Va-1,rl.Aa==2&&ld(rl,ec),ec.uc)for(O0=(Cd=rl).D.M,ee(Cd.D.uc),ec=Cd.yb;ecis.o&&(Ac=is.o),is.F=null,is.J=null,rl.Fa!=null&&0>1),is.W+=rl.B*(wA>>1),is.F!=null&&(is.J+=is.width*wA)),ec>1,is.W+=is.v>>1,is.F!=null&&(is.J+=is.v),is.ka=ec-is.j,is.U=is.va-is.v,is.T=Ac-ec,bd=is.put(is))}Fu+1!=rl.Ic||rf||(ge(rl.sa,rl.ta-gu,Rf,Nh+16*rl.R,gu),ge(rl.qa,rl.ra-Fc,cd,fA+8*rl.B,Fc),ge(rl.Ha,rl.Ia-Fc,ch,Th+8*rl.B,Fc))}if(!bd)return Mc(sA,6,"Output aborted.")}return 1}(Vn,_r)),_r.bc!=null&&_r.bc(_r),fi&=1}return fi?(Vn.cb=0,fi):0})(Qe,Rt)||(nt=Qe.a)}}else nt=Qe.a}nt==0&&vn.Oa!=null&&vn.Oa.fd&&(nt=Ih(vn.ba))}vn=nt}dn=vn!=0?null:11>dn?Bn.f.RGBA.eb:Bn.f.kb.y}else dn=null;return dn};var Qf=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function wt(rr,ui){for(var En="",Rn=0;Rn<4;Rn++)En+=String.fromCharCode(rr[ui++]);return En}function Tt(rr,ui){return rr[ui+0]|rr[ui+1]<<8}function nn(rr,ui){return(rr[ui+0]|rr[ui+1]<<8|rr[ui+2]<<16)>>>0}function fn(rr,ui){return(rr[ui+0]|rr[ui+1]<<8|rr[ui+2]<<16|rr[ui+3]<<24)>>>0}new yt;var Nt=[0],On=[0],Mn=[],Qn=new yt,Cn=E,Ir=function(rr,ui){var En={},Rn=0,Sr=!1,mr=0,vi=0;if(En.frames=[],!function(yn,Yn){for(var dr=0;dr<4;dr++)if(yn[Yn+dr]!="RIFF".charCodeAt(dr))return!0;return!1}(rr,ui)){for(fn(rr,ui+=4),ui+=8;ui>1&1}Vi!="ANMF"&&(ui+=Ci)}return En}}(Cn,0);Ir.response=Cn,Ir.rgbaoutput=!0,Ir.dataurl=!1;var gr=Ir.header?Ir.header:null,_n=Ir.frames?Ir.frames:null;if(gr){gr.loop_counter=gr.loop_count,Nt=[gr.canvas_height],On=[gr.canvas_width];for(var Ii=0;Ii<_n.length&&_n[Ii].blend!=0;Ii++);}var ua=_n[0],Ki=Qn.WebPDecodeRGBA(Cn,ua.src_off,ua.src_size,On,Nt);ua.rgba=Ki,ua.imgwidth=On[0],ua.imgheight=Nt[0];for(var Ur=0;Ur=2?Un[1]:Xa[0],Xa[2]=Un.length>=3?Un[2]:Xa[0],Xa[3]=Un.length>=4?Un[3]:Xa[1]),wt.margin=Xa}});var Ji=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Ji},set:function(Un){Ji=Un}});var Qi=0;Object.defineProperty(this,"lastBreak",{get:function(){return Qi},set:function(Un){Qi=Un}});var wa=[];Object.defineProperty(this,"pageBreaks",{get:function(){return wa},set:function(Un){wa=Un}}),Object.defineProperty(this,"ctx",{get:function(){return wt},set:function(Un){Un instanceof Tt&&(wt=Un)}}),Object.defineProperty(this,"path",{get:function(){return wt.path},set:function(Un){wt.path=Un}});var lo=[];Object.defineProperty(this,"ctxStack",{get:function(){return lo},set:function(Un){lo=Un}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Un){var Xa;Xa=fn(Un),this.ctx.fillStyle=Xa.style,this.ctx.isFillTransparent=Xa.a===0,this.ctx.fillOpacity=Xa.a,this.pdf.setFillColor(Xa.r,Xa.g,Xa.b,{a:Xa.a}),this.pdf.setTextColor(Xa.r,Xa.g,Xa.b,{a:Xa.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Un){var Xa=fn(Un);this.ctx.strokeStyle=Xa.style,this.ctx.isStrokeTransparent=Xa.a===0,this.ctx.strokeOpacity=Xa.a,Xa.a===0?this.pdf.setDrawColor(255,255,255):(Xa.a,this.pdf.setDrawColor(Xa.r,Xa.g,Xa.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Un){["butt","round","square"].indexOf(Un)!==-1&&(this.ctx.lineCap=Un,this.pdf.setLineCap(Un))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Un){isNaN(Un)||(this.ctx.lineWidth=Un,this.pdf.setLineWidth(Un))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Un){["bevel","round","miter"].indexOf(Un)!==-1&&(this.ctx.lineJoin=Un,this.pdf.setLineJoin(Un))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Un){isNaN(Un)||(this.ctx.miterLimit=Un,this.pdf.setMiterLimit(Un))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Un){this.ctx.textBaseline=Un}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Un){["right","end","center","left","start"].indexOf(Un)!==-1&&(this.ctx.textAlign=Un)}});var cs=null,ls=null,dl=null;Object.defineProperty(this,"fontFaces",{get:function(){return dl},set:function(Un){cs=null,ls=null,dl=Un}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Un){var Xa;if(this.ctx.font=Un,(Xa=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(Un))!==null){var vu=Xa[1];Xa[2];var Il=Xa[3],$a=Xa[4];Xa[5];var bl=Xa[6],Ts=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec($a)[2];$a=Math.floor(Ts==="px"?parseFloat($a)*this.pdf.internal.scaleFactor:Ts==="em"?parseFloat($a)*this.pdf.getFontSize():parseFloat($a)*this.pdf.internal.scaleFactor),this.pdf.setFontSize($a);var Cl=function(sl){var Uc,Zu,Su=[],yu=sl.trim();if(yu==="")return rv;if(yu in op)return[op[yu]];for(;yu!=="";){switch(Zu=null,Uc=(yu=sp(yu)).charAt(0)){case'"':case"'":Zu=Vh(yu.substring(1),Uc);break;default:Zu=tg(yu)}if(Zu===null||(Su.push(Zu[0]),(yu=sp(Zu[1]))!==""&&yu.charAt(0)!==","))return rv;yu=yu.replace(/^,/,"")}return Su}(bl);if(this.fontFaces){var pl=function(sl,Uc){var Zu=sl.getFontList(),Su=JSON.stringify(Zu);if(cs===null||ls!==Su){var yu=function(mc){var El=[];return Object.keys(mc).forEach(function(ac){mc[ac].forEach(function(jl){var su=null;switch(jl){case"bold":su={family:ac,weight:"bold"};break;case"italic":su={family:ac,style:"italic"};break;case"bolditalic":su={family:ac,weight:"bold",style:"italic"};break;case"":case"normal":su={family:ac}}su!==null&&(su.ref={name:ac,style:jl},El.push(su))})}),El}(Zu);cs=function(mc){for(var El={},ac=0;ac=700||vu==="bold")&&(au="bold"),vu==="italic"&&(au+="italic"),au.length===0&&(au="normal");for(var Yu="",Wu={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Zs=0;Zs=2*Math.PI&&(Pr=0,zr=2*Math.PI),this.path.push({type:"arc",x:yn,y:Yn,radius:dr,startAngle:Pr,endAngle:zr,counterclockwise:di})},nn.prototype.arcTo=function(yn,Yn,dr,Pr,zr){throw new Error("arcTo not implemented.")},nn.prototype.rect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(yn,Yn),this.lineTo(yn+dr,Yn),this.lineTo(yn+dr,Yn+Pr),this.lineTo(yn,Yn+Pr),this.lineTo(yn,Yn),this.lineTo(yn+dr,Yn),this.lineTo(yn,Yn)},nn.prototype.fillRect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Nt.call(this)){var zr={};this.lineCap!=="butt"&&(zr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(zr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(yn,Yn,dr,Pr),this.fill(),zr.hasOwnProperty("lineCap")&&(this.lineCap=zr.lineCap),zr.hasOwnProperty("lineJoin")&&(this.lineJoin=zr.lineJoin)}},nn.prototype.strokeRect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");On.call(this)||(this.beginPath(),this.rect(yn,Yn,dr,Pr),this.stroke())},nn.prototype.clearRect=function(yn,Yn,dr,Pr){if(isNaN(yn)||isNaN(Yn)||isNaN(dr)||isNaN(Pr))throw Ou.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(yn,Yn,dr,Pr))},nn.prototype.save=function(yn){yn=typeof yn!="boolean"||yn;for(var Yn=this.pdf.internal.getCurrentPageInfo().pageNumber,dr=0;dr0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};nn.prototype.drawImage=function(yn,Yn,dr,Pr,zr,di,Ji,Qi,wa){var lo=this.pdf.getImageProperties(yn),cs=1,ls=1,dl=1,Un=1;Pr!==void 0&&Qi!==void 0&&(dl=Qi/Pr,Un=wa/zr,cs=lo.width/Pr*Qi/Pr,ls=lo.height/zr*wa/zr),di===void 0&&(di=Yn,Ji=dr,Yn=0,dr=0),Pr!==void 0&&Qi===void 0&&(Qi=Pr,wa=zr),Pr===void 0&&Qi===void 0&&(Qi=lo.width,wa=lo.height);var Xa=this.ctx.transform.decompose(),vu=Ci(Xa.rotate.shx),Il=new yt,$a=(Il=(Il=(Il=Il.multiply(Xa.translate)).multiply(Xa.skew)).multiply(Xa.scale)).applyToRectangle(new at(di-Yn*dl,Ji-dr*Un,Pr*cs,zr*ls));if(this.autoPaging){for(var bl,Ts=Qn.call(this,$a),Cl=[],pl=0;pldA||au$a||Ts0)){for(;wa>=0;wa--)if(zr[wa-1].close!==!0&&zr[wa-1].begin!==!0){zr[wa-1].deltas.push(dr),zr[wa-1].abs.push(Qi);break}}break;case"bct":dr=[Qi.x1-di[Ji-1].x,Qi.y1-di[Ji-1].y,Qi.x2-di[Ji-1].x,Qi.y2-di[Ji-1].y,Qi.x-di[Ji-1].x,Qi.y-di[Ji-1].y],zr[zr.length-1].deltas.push(dr);break;case"qct":var lo=di[Ji-1].x+2/3*(Qi.x1-di[Ji-1].x),cs=di[Ji-1].y+2/3*(Qi.y1-di[Ji-1].y),ls=Qi.x+2/3*(Qi.x1-Qi.x),dl=Qi.y+2/3*(Qi.y1-Qi.y),Un=Qi.x,Xa=Qi.y;dr=[lo-di[Ji-1].x,cs-di[Ji-1].y,ls-di[Ji-1].x,dl-di[Ji-1].y,Un-di[Ji-1].x,Xa-di[Ji-1].y],zr[zr.length-1].deltas.push(dr);break;case"arc":zr.push({deltas:[],abs:[],arc:!0}),Array.isArray(zr[zr.length-1].abs)&&zr[zr.length-1].abs.push(Qi)}}Pr=Yn?null:yn==="stroke"?"stroke":"fill";for(var vu=!1,Il=0;Il=.01&&(Pr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pr*yn.scale),zr=this.lineWidth,this.lineWidth=zr*yn.scale);var ou=this.autoPaging!=="text";if(ou||Zs.y+Zs.h<=pl){if(ou||Zs.y>=Ts&&Zs.x<=xu){var sl=ou?yn.text:this.pdf.splitTextToSize(yn.text,yn.maxWidth||xu-Zs.x)[0],Uc=Ir([JSON.parse(JSON.stringify(ls))],this.posX+this.margin[3],-Yu+Ts+this.ctx.prevPageLastElemOffset)[0],Zu=ou&&(bl>Il||bl<$a)&&Mn.call(this);Zu&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],au,dA,null).clip().discardPath()),this.pdf.text(sl,Uc.x,Uc.y,{angle:yn.angle,align:Yn,renderingMode:yn.renderingMode}),Zu&&this.pdf.restoreGraphicsState()}}else Zs.y=.01&&(this.pdf.setFontSize(Pr),this.lineWidth=zr)}}else yn.scale>=.01&&(Pr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Pr*yn.scale),zr=this.lineWidth,this.lineWidth=zr*yn.scale),this.pdf.text(yn.text,wa.x+this.posX,wa.y+this.posY,{angle:yn.angle,align:Yn,renderingMode:yn.renderingMode,maxWidth:yn.maxWidth}),yn.scale>=.01&&(this.pdf.setFontSize(Pr),this.lineWidth=zr)},Sr=function(yn,Yn,dr,Pr){dr=dr||0,Pr=Pr||0,this.pdf.internal.out(x(yn+dr)+" "+ge(Yn+Pr)+" l")},mr=function(yn,Yn,dr){return this.pdf.lines(yn,Yn,dr,null,null)},vi=function(yn,Yn,dr,Pr,zr,di,Ji,Qi){this.pdf.internal.out([ee(Le(dr+yn)),ee(je(Pr+Yn)),ee(Le(zr+yn)),ee(je(di+Yn)),ee(Le(Ji+yn)),ee(je(Qi+Yn)),"c"].join(" "))},Vi=function(yn,Yn,dr,Pr){for(var zr=2*Math.PI,di=Math.PI/2;Yn>dr;)Yn-=zr;var Ji=Math.abs(dr-Yn);Ji1e-5;){var cs=lo+wa*Math.min(Ji,di);Qi.push(_i.call(this,yn,lo,cs)),Ji-=Math.abs(cs-lo),lo=cs}return Qi},_i=function(yn,Yn,dr){var Pr=(dr-Yn)/2,zr=yn*Math.cos(Pr),di=yn*Math.sin(Pr),Ji=zr,Qi=-di,wa=Ji*Ji+Qi*Qi,lo=wa+Ji*zr+Qi*di,cs=4/3*(Math.sqrt(2*wa*lo)-lo)/(Ji*di-Qi*zr),ls=Ji-cs*Qi,dl=Qi+cs*Ji,Un=ls,Xa=-dl,vu=Pr+Yn,Il=Math.cos(vu),$a=Math.sin(vu);return{x1:yn*Math.cos(Yn),y1:yn*Math.sin(Yn),x2:ls*Il-dl*$a,y2:ls*$a+dl*Il,x3:Un*Il-Xa*$a,y3:Un*$a+Xa*Il,x4:yn*Math.cos(dr),y4:yn*Math.sin(dr)}},Ci=function(yn){return 180*yn/Math.PI},na=function(yn,Yn,dr,Pr,zr,di){var Ji=yn+.5*(dr-yn),Qi=Yn+.5*(Pr-Yn),wa=zr+.5*(dr-zr),lo=di+.5*(Pr-di),cs=Math.min(yn,zr,Ji,wa),ls=Math.max(yn,zr,Ji,wa),dl=Math.min(Yn,di,Qi,lo),Un=Math.max(Yn,di,Qi,lo);return new at(cs,dl,ls-cs,Un-dl)},Fo=function(yn,Yn,dr,Pr,zr,di,Ji,Qi){var wa,lo,cs,ls,dl,Un,Xa,vu,Il,$a,bl,Ts,Cl,pl,dA=dr-yn,xu=Pr-Yn,au=zr-dr,Yu=di-Pr,Wu=Ji-zr,Zs=Qi-di;for(lo=0;lo<41;lo++)Il=(Xa=(cs=yn+(wa=lo/40)*dA)+wa*((dl=dr+wa*au)-cs))+wa*(dl+wa*(zr+wa*Wu-dl)-Xa),$a=(vu=(ls=Yn+wa*xu)+wa*((Un=Pr+wa*Yu)-ls))+wa*(Un+wa*(di+wa*Zs-Un)-vu),lo==0?(bl=Il,Ts=$a,Cl=Il,pl=$a):(bl=Math.min(bl,Il),Ts=Math.min(Ts,$a),Cl=Math.max(Cl,Il),pl=Math.max(pl,$a));return new at(Math.round(bl),Math.round(Ts),Math.round(Cl-bl),Math.round(pl-Ts))},ka=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var yn,Yn,dr=(yn=this.ctx.lineDash,Yn=this.ctx.lineDashOffset,JSON.stringify({lineDash:yn,lineDashOffset:Yn}));this.prevLineDash!==dr&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=dr)}}})(Ws.API),function(E){var ee=function(gt){var at,yt,wt,Tt,nn,fn,Nt,On,Mn,Qn;for(/[^\x00-\xFF]/.test(gt),yt=[],wt=0,Tt=(gt+=at="\0\0\0\0".slice(gt.length%4||4)).length;Tt>wt;wt+=4)(nn=(gt.charCodeAt(wt)<<24)+(gt.charCodeAt(wt+1)<<16)+(gt.charCodeAt(wt+2)<<8)+gt.charCodeAt(wt+3))!==0?(fn=(nn=((nn=((nn=((nn=(nn-(Qn=nn%85))/85)-(Mn=nn%85))/85)-(On=nn%85))/85)-(Nt=nn%85))/85)%85,yt.push(fn+33,Nt+33,On+33,Mn+33,Qn+33)):yt.push(122);return function(Cn,Ir){for(var gr=Ir;gr>0;gr--)Cn.pop()}(yt,at.length),String.fromCharCode.apply(String,yt)+"~>"},x=function(gt){var at,yt,wt,Tt,nn,fn=String,Nt="length",On=255,Mn="charCodeAt",Qn="slice",Cn="replace";for(gt[Qn](-2),gt=gt[Qn](0,-2)[Cn](/\s/g,"")[Cn]("z","!!!!!"),wt=[],Tt=0,nn=(gt+=at="uuuuu"[Qn](gt[Nt]%5||5))[Nt];nn>Tt;Tt+=5)yt=52200625*(gt[Mn](Tt)-33)+614125*(gt[Mn](Tt+1)-33)+7225*(gt[Mn](Tt+2)-33)+85*(gt[Mn](Tt+3)-33)+(gt[Mn](Tt+4)-33),wt.push(On&yt>>24,On&yt>>16,On&yt>>8,On&yt);return function(Ir,gr){for(var _n=gr;_n>0;_n--)Ir.pop()}(wt,at[Nt]),fn.fromCharCode.apply(fn,wt)},ge=function(gt){return gt.split("").map(function(at){return("0"+at.charCodeAt().toString(16)).slice(-2)}).join("")+">"},Le=function(gt){var at=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((gt=gt.replace(/\s/g,"")).indexOf(">")!==-1&&(gt=gt.substr(0,gt.indexOf(">"))),gt.length%2&&(gt+="0"),at.test(gt)===!1)return"";for(var yt="",wt=0;wtMn&&(On=Qn,Qn=Mn,Mn=On);else{if(at!=="l"&&at!=="landscape")throw"Invalid orientation: "+at;at="l",Mn>Qn&&(On=Qn,Qn=Mn,Mn=On)}return{width:Qn,height:Mn,unit:yt,k:nn,orientation:at}},E.html=function(at,yt){(yt=yt||{}).callback=yt.callback||function(){},yt.html2canvas=yt.html2canvas||{},yt.html2canvas.canvas=yt.html2canvas.canvas||this.canvas,yt.jsPDF=yt.jsPDF||this,yt.fontFaces=yt.fontFaces?yt.fontFaces.map(nh):null;var wt=new gt(yt);return yt.worker?wt:wt.from(at).doCallback()}}(Ws.API),Ws.API.addJS=function(E){return hv=E,this.internal.events.subscribe("postPutResources",function(){lp=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(lp+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),tv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+hv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){lp!==void 0&&tv!==void 0&&this.internal.out("/Names <>")}),this},function(E){var ee;E.events.push(["postPutResources",function(){var x=this,ge=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var Le=x.outline.render().split(/\r\n/),je=0;je> endobj")}var Nt=x.internal.newObject();for(x.internal.write("<< /Names [ "),je=0;je>","endobj"),ee=x.internal.newObject(),x.internal.write("<< /Dests "+Nt+" 0 R"),x.internal.write(">>","endobj")}}]),E.events.push(["putCatalog",function(){var x=this;x.outline.root.children.length>0&&(x.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&x.internal.write("/Names "+ee+" 0 R"))}]),E.events.push(["initialized",function(){var x=this;x.outline={createNamedDestinations:!1,root:{children:[]}},x.outline.add=function(ge,Le,je){var gt={title:Le,options:je,children:[]};return ge==null&&(ge=this.root),ge.children.push(gt),gt},x.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=x,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},x.outline.genIds_r=function(ge){ge.id=x.internal.newObjectDeferred();for(var Le=0;Le0&&(this.line("/First "+this.makeRef(ge.children[0])),this.line("/Last "+this.makeRef(ge.children[ge.children.length-1]))),this.line("/Count "+this.count_r({count:0},ge)),this.objEnd()},x.outline.renderItems=function(ge){for(var Le=this.ctx.pdf.internal.getVerticalCoordinateString,je=0;je0&&this.line("/Prev "+this.makeRef(ge.children[je-1])),je0&&(this.line("/First "+this.makeRef(gt.children[0])),this.line("/Last "+this.makeRef(gt.children[gt.children.length-1])));var at=this.count=this.count_r({count:0},gt);if(at>0&&this.line("/Count "+at),gt.options&>.options.pageNumber){var yt=x.internal.getPageInfo(gt.options.pageNumber);this.line("/Dest ["+yt.objId+" 0 R /XYZ 0 "+Le(0)+" 0]")}this.objEnd()}for(var wt=0;wt>"}),"transparency"in Ct&&Array.isArray(Ct.transparency)&&Ct.transparency.length>0){for(var Kr="",Lr=0,$r=Ct.transparency.length;Lr<$r;Lr++)Kr+=Ct.transparency[Lr]+" "+Ct.transparency[Lr]+" ";Mr.push({key:"Mask",value:"["+Kr+"]"})}Ct.sMask!==void 0&&Mr.push({key:"SMask",value:Ct.objectId+1+" 0 R"});var bn=Ct.filter!==void 0?["/"+Ct.filter]:void 0;if(Gt({data:Ct.data,additionalKeyValues:Mr,alreadyAppliedFilters:bn,objectId:Ct.objectId}),Xt("endobj"),"sMask"in Ct&&Ct.sMask!==void 0){var ln,et=(ln=Ct.sMaskBitsPerComponent)!==null&&ln!==void 0?ln:Ct.bitsPerComponent,Ut={width:Ct.width,height:Ct.height,colorSpace:"DeviceGray",bitsPerComponent:et,data:Ct.sMask};"filter"in Ct&&(Ut.decodeParameters="/Predictor ".concat(Ct.predictor," /Colors 1 /BitsPerComponent ").concat(et," /Columns ").concat(Ct.width),Ut.filter=Ct.filter),tt.call(this,Ut)}if(Ct.colorSpace===rt.INDEXED){var Ht=this.internal.newObject();Gt({data:Ar(new Uint8Array(Ct.palette)),objectId:Ht}),Xt("endobj")}},W=function(){var tt=this.internal.collections[a+"images"];for(var Ct in tt)m.call(this,tt[Ct])},O=function(){var tt,Ct=this.internal.collections[a+"images"],Xt=this.internal.write;for(var Gt in Ct)Xt("/I"+(tt=Ct[Gt]).index,tt.objectId,"0","R")},$=function(){this.internal.collections[a+"images"]||(this.internal.collections[a+"images"]={},this.internal.events.subscribe("putResources",W),this.internal.events.subscribe("putXobjectDict",O))},J=function(){var tt=this.internal.collections[a+"images"];return $.call(this),tt},he=function(){return Object.keys(this.internal.collections[a+"images"]).length},Ne=function(tt){return typeof n["process"+tt.toUpperCase()]=="function"},Ye=function(tt){return(0,Ie.Z)(tt)==="object"&&tt.nodeType===1},ce=function(tt,Ct){if(tt.nodeName==="IMG"&&tt.hasAttribute("src")){var Xt=""+tt.getAttribute("src");if(Xt.indexOf("data:image/")===0)return k0(unescape(Xt).split("base64,").pop());var Gt=n.loadFile(Xt,!0);if(Gt!==void 0)return Gt}if(tt.nodeName==="CANVAS"){if(tt.width===0||tt.height===0)throw new Error("Given canvas must have data. Canvas width: "+tt.width+", height: "+tt.height);var Ur;switch(Ct){case"PNG":Ur="image/png";break;case"WEBP":Ur="image/webp";break;default:Ur="image/jpeg"}return k0(tt.toDataURL(Ur,1).split("base64,").pop())}},wt=function(tt){var Ct=this.internal.collections[a+"images"];if(Ct){for(var Xt in Ct)if(tt===Ct[Xt].alias)return Ct[Xt]}},pt=function(tt,Ct,Xt){return tt||Ct||(tt=-96,Ct=-96),tt<0&&(tt=-1*Xt.width*72/tt/this.internal.scaleFactor),Ct<0&&(Ct=-1*Xt.height*72/Ct/this.internal.scaleFactor),tt===0&&(tt=Ct*Xt.width/Xt.height),Ct===0&&(Ct=tt*Xt.height/Xt.width),[tt,Ct]},bt=function(tt,Ct,Xt,Gt,Ur,Mr){var Kr=pt.call(this,Xt,Gt,Ur),Lr=this.internal.getCoordinateString,$r=this.internal.getVerticalCoordinateString,bn=J.call(this);if(Xt=Kr[0],Gt=Kr[1],bn[Ur.index]=Ur,Mr){Mr*=Math.PI/180;var ln=Math.cos(Mr),et=Math.sin(Mr),Ut=function(tr){return tr.toFixed(4)},Ht=[Ut(ln),Ut(et),Ut(-1*et),Ut(ln),0,0,"cm"]}this.internal.write("q"),Mr?(this.internal.write([1,"0","0",1,Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.internal.write(Ht.join(" ")),this.internal.write([Lr(Xt),"0","0",Lr(Gt),"0","0","cm"].join(" "))):this.internal.write([Lr(Xt),"0","0",Lr(Gt),Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Ur.index+" Do"),this.internal.write("Q")},rt=n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Yt=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},jt=n.__addimage__.sHashCode=function(tt){var Ct,Xt,Gt=0;if(typeof tt=="string")for(Xt=tt.length,Ct=0;Ct>",pt.content=m;var jt=pt.objId+" 0 R";m="<>";else if(c.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=1};var J=n.__arabicParser__.arabicLetterHasFinalForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=3};var he=n.__arabicParser__.arabicLetterHasMedialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length==4},Ne=n.__arabicParser__.resolveLigatures=function(pt){var bt=0,rt=s,Yt="",jt=0;for(bt=0;bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(O){s=O}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(O){c=isNaN(O)||Number.isInteger(O)===!1||O<0?150:O,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(O){d=isNaN(O)||Number.isInteger(O)===!1||O<0?300:O,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(O){m=O}});var W={};Object.defineProperty(this,"style",{get:function(){return W},set:function(O){W=O}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var d;if((s=s||"2d")!=="2d")return null;for(d in c)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=c[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(qn.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var $=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return $},set:function(pt){$=pt}});var J=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return J},set:function(pt){J=pt}});var he=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return he},set:function(pt){he=pt}});var Ne=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ne},set:function(pt){Ne=pt}});var Ye=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ye},set:function(pt){Ye=pt}});var ce=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ce},set:function(pt){ce=pt}});var wt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return wt},set:function(pt){wt=pt}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function($){return c.call(this),this.internal.__cell__.headerFunction=typeof $=="function"?$:void 0,this},n.getTextDimensions=function($,J){c.call(this);var he=(J=J||{}).fontSize||this.getFontSize(),Ne=J.font||this.getFont(),Ye=J.scaleFactor||this.internal.scaleFactor,ce=0,wt=0,pt=0,bt=this;if(!Array.isArray($)&&typeof $!="string"){if(typeof $!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");$=String($)}var rt=J.maxWidth;rt>0?typeof $=="string"?$=this.splitTextToSize($,rt):Object.prototype.toString.call($)==="[object Array]"&&($=$.reduce(function(jt,Pt){return jt.concat(bt.splitTextToSize(Pt,rt))},[])):$=Array.isArray($)?$:[$];for(var Yt=0;Yt<$.length;Yt++)ce<(pt=this.getStringUnitWidth($[Yt],{font:Ne})*he)&&(ce=pt);return ce!==0&&(wt=$.length),{w:ce/=Ye,h:Math.max((wt*he*this.getLineHeightFactor()-he*(this.getLineHeightFactor()-1))/Ye,0)}},n.cellAddPage=function(){c.call(this),this.addPage();var $=this.internal.__cell__.margins||a;return this.internal.__cell__.lastCell=new m($.left,$.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var W=n.cell=function(){var $;$=arguments[0]instanceof m?arguments[0]:new m(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),c.call(this);var J=this.internal.__cell__.lastCell,he=this.internal.__cell__.padding,Ne=this.internal.__cell__.margins||a,Ye=this.internal.__cell__.tableHeaderRow,ce=this.internal.__cell__.printHeaders;return J.lineNumber!==void 0&&(J.lineNumber===$.lineNumber?($.x=(J.x||0)+(J.width||0),$.y=J.y||0):J.y+J.height+$.height+Ne.bottom>this.getPageHeight()?(this.cellAddPage(),$.y=Ne.top,ce&&Ye&&(this.printHeaderRow($.lineNumber,!0),$.y+=Ye[0].height)):$.y=J.y+J.height||$.y),$.text[0]!==void 0&&(this.rect($.x,$.y,$.width,$.height,s===!0?"FD":void 0),$.align==="right"?this.text($.text,$.x+$.width-he,$.y+he,{align:"right",baseline:"top"}):$.align==="center"?this.text($.text,$.x+$.width/2,$.y+he,{align:"center",baseline:"top",maxWidth:$.width-he-he}):this.text($.text,$.x+he,$.y+he,{align:"left",baseline:"top",maxWidth:$.width-he-he})),this.internal.__cell__.lastCell=$,this};n.table=function($,J,he,Ne,Ye){if(c.call(this),!he)throw new Error("No data for PDF table.");var ce,wt,pt,bt,rt=[],Yt=[],jt=[],Pt={},kr={},Jr=[],Qr=[],Ar=(Ye=Ye||{}).autoSize||!1,Mt=Ye.printHeaders!==!1,Er=Ye.css&&Ye.css["font-size"]!==void 0?16*Ye.css["font-size"]:Ye.fontSize||12,tt=Ye.margins||Object.assign({width:this.getPageWidth()},a),Ct=typeof Ye.padding=="number"?Ye.padding:3,Xt=Ye.headerBackgroundColor||"#c8c8c8",Gt=Ye.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Mt,this.internal.__cell__.margins=tt,this.internal.__cell__.table_font_size=Er,this.internal.__cell__.padding=Ct,this.internal.__cell__.headerBackgroundColor=Xt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Er),Ne==null)Yt=rt=Object.keys(he[0]),jt=rt.map(function(){return"left"});else if(Array.isArray(Ne)&&(0,Ie.Z)(Ne[0])==="object")for(rt=Ne.map(function(bn){return bn.name}),Yt=Ne.map(function(bn){return bn.prompt||bn.name||""}),jt=Ne.map(function(bn){return bn.align||"left"}),ce=0;ce0&&this.setTableHeaderRow(Ye),this.setFont(void 0,"normal"),s=!1}}(qn.API);var ao={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},vu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Go=Ns(vu),eA=[100,200,300,400,500,600,700,800,900],pc=Ns(eA);function Al(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return ao[m=m||"normal"]?m:"normal"}(n.style),c=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Go[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,c].join(" ")}}}function Sl(n,a,s,c){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function ke(n,a,s){var c=n.length,d=[];d[0]=4;for(var m=0;m>m&W}function zt(n,a,s,c){var d=s*c,m=Math.floor(d/8),W=16-(d-8*m+c),O=(1<>8&255;J.setUint8(he,Ye)}})(n,m,ir(n,m)&~(O<>7,W=1<<1+(7&d);n[a++],n[a++];var O=null,$=null;m&&(O=a,$=W,a+=3*W);var J=!0,he=[],Ne=0,Ye=null,ce=0,wt=null;for(this.width=s,this.height=c;J&&a=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var pt=n[a++];Ne=n[a++]|n[a++]<<8,Ye=n[a++],1&pt||(Ye=null),ce=pt>>2&7,a++;break;case 254:for(;;){if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var bt=n[a++]|n[a++]<<8,rt=n[a++]|n[a++]<<8,Yt=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Pt=n[a++],kr=Pt>>6&1,Jr=1<<1+(7&Pt),Qr=O,Ar=$,Mt=!1;Pt>>7&&(Mt=!0,Qr=a,Ar=Jr,a+=3*Jr);var Er=a;for(a++;;){var tt;if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}he.push({x:bt,y:rt,width:Yt,height:jt,has_local_palette:Mt,palette_offset:Qr,palette_size:Ar,data_offset:Er,data_length:a-Er,transparent_index:Ye,interlaced:!!kr,delay:Ne,disposal:ce});break;case 59:J=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return he.length},this.loopCount=function(){return wt},this.frameInfo=function(Ct){if(Ct<0||Ct>=he.length)throw new Error("Frame index out of range.");return he[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=Hn,Xt[Ht++]=yn,Xt[Ht++]=sn,Xt[Ht++]=255}--ln}},this.decodeAndBlitFrameRGBA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=sn,Xt[Ht++]=yn,Xt[Ht++]=Hn,Xt[Ht++]=255}--ln}}}function or(n,a,s,c){for(var d=n[a++],m=1<>=$,he-=$,bt!==m){if(bt===W)break;for(var rt=btm;)jt=wt[jt]>>8,++Yt;var Pt=jt;if(Ye+Yt+(rt!==bt?1:0)>c)return void Os.log("Warning, gif stream longer than expected.");s[Ye++]=Pt;var kr=Ye+=Yt;for(rt!==bt&&(s[Ye++]=Pt),jt=rt;Yt--;)jt=wt[jt],s[--kr]=255&jt,jt>>=8;pt!==null&&O<4096&&(wt[O++]=pt<<8|Pt,O>=J+1&&$<12&&(++$,J=J<<1|1)),pt=bt}else O=W+1,J=(1<<($=d+1))-1,pt=null}return Ye!==c&&Os.log("Warning, gif stream shorter than expected."),s}function Sr(n){var a,s,c,d,m,W=Math.floor,O=new Array(64),$=new Array(64),J=new Array(64),he=new Array(64),Ne=new Array(65535),Ye=new Array(65535),ce=new Array(64),wt=new Array(64),pt=[],bt=0,rt=7,Yt=new Array(64),jt=new Array(64),Pt=new Array(64),kr=new Array(256),Jr=new Array(2048),Qr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Mt=[0,1,2,3,4,5,6,7,8,9,10,11],Er=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],tt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ct=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Xt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ur=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Mr(et,Ut){for(var Ht=0,tr=0,fr=new Array,Cr=1;Cr<=16;Cr++){for(var Hr=1;Hr<=et[Cr];Hr++)fr[Ut[tr]]=[],fr[Ut[tr]][0]=Ht,fr[Ut[tr]][1]=Cr,tr++,Ht++;Ht*=2}return fr}function Kr(et){for(var Ut=et[0],Ht=et[1]-1;Ht>=0;)Ut&1<>8&255),Lr(255&et)}function bn(et,Ut,Ht,tr,fr){for(var Cr,Hr=fr[0],Gr=fr[240],sn=function(gn,Ri){var ei,Ti,Bi,na,Is,es,ks,Ts,li,as,pi=0;for(li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+1],Bi=gn[pi+2],na=gn[pi+3],Is=gn[pi+4],es=gn[pi+5],ks=gn[pi+6];var Co=ei+(Ts=gn[pi+7]),Ks=ei-Ts,ms=Ti+ks,vs=Ti-ks,Ga=Bi+es,Ci=Bi-es,Fa=na+Is,Mi=na-Is,ts=Co+Fa,Va=Co-Fa,ws=ms+Ga,Ui=ms-Ga;gn[pi]=ts+ws,gn[pi+4]=ts-ws;var ia=.707106781*(Ui+Va);gn[pi+2]=Va+ia,gn[pi+6]=Va-ia;var Gf=.382683433*((ts=Mi+Ci)-(Ui=vs+Ks)),ll=.5411961*ts+Gf,P0=1.306562965*Ui+Gf,Gc=.707106781*(ws=Ci+vs),Pi=Ks+Gc,O0=Ks-Gc;gn[pi+5]=O0+ll,gn[pi+3]=O0-ll,gn[pi+1]=Pi+P0,gn[pi+7]=Pi-P0,pi+=8}for(pi=0,li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+8],Bi=gn[pi+16],na=gn[pi+24],Is=gn[pi+32],es=gn[pi+40],ks=gn[pi+48];var N0=ei+(Ts=gn[pi+56]),Ku=ei-Ts,zu=Ti+ks,po=Ti-ks,EA=Bi+es,QA=Bi-es,Vf=na+Is,jh=na-Is,gc=N0+Vf,Vc=N0-Vf,mc=zu+EA,vc=zu-EA;gn[pi]=gc+mc,gn[pi+32]=gc-mc;var Gu=.707106781*(vc+Vc);gn[pi+16]=Vc+Gu,gn[pi+48]=Vc-Gu;var Wf=.382683433*((gc=jh+QA)-(vc=po+Ku)),Wc=.5411961*gc+Wf,$f=1.306562965*vc+Wf,Qd=.707106781*(mc=QA+po),Hd=Ku+Qd,jd=Ku-Qd;gn[pi+40]=jd+Wc,gn[pi+24]=jd-Wc,gn[pi+8]=Hd+$f,gn[pi+56]=Hd-$f,pi++}for(li=0;li<64;++li)as=gn[li]*Ri[li],ce[li]=as>0?as+.5|0:as-.5|0;return ce}(et,Ut),yn=0;yn<64;++yn)wt[Qr[yn]]=sn[yn];var Hn=wt[0]-Ht;Ht=wt[0],Hn==0?Kr(tr[0]):(Kr(tr[Ye[Cr=32767+Hn]]),Kr(Ne[Cr]));for(var Qn=63;Qn>0&&wt[Qn]==0;)Qn--;if(Qn==0)return Kr(Hr),Ht;for(var wi,St=1;St<=Qn;){for(var jn=St;wt[St]==0&&St<=Qn;)++St;var ds=St-jn;if(ds>=16){wi=ds>>4;for(var ki=1;ki<=wi;++ki)Kr(Gr);ds&=15}Cr=32767+wt[St],Kr(fr[(ds<<4)+Ye[Cr]]),Kr(Ne[Cr]),St++}return Qn!=63&&Kr(Hr),Ht}function ln(et){et=Math.min(Math.max(et,1),100),m!=et&&(function(Ut){for(var Ht=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tr=0;tr<64;tr++){var fr=W((Ht[tr]*Ut+50)/100);fr=Math.min(Math.max(fr,1),255),O[Qr[tr]]=fr}for(var Cr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Hr=0;Hr<64;Hr++){var Gr=W((Cr[Hr]*Ut+50)/100);Gr=Math.min(Math.max(Gr,1),255),$[Qr[Hr]]=Gr}for(var sn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],yn=0,Hn=0;Hn<8;Hn++)for(var Qn=0;Qn<8;Qn++)J[yn]=1/(O[Qr[yn]]*sn[Hn]*sn[Qn]*8),he[yn]=1/($[Qr[yn]]*sn[Hn]*sn[Qn]*8),yn++}(et<50?Math.floor(5e3/et):Math.floor(200-2*et)),m=et)}this.encode=function(et,Ut){Ut&&ln(Ut),pt=new Array,bt=0,rt=7,$r(65496),$r(65504),$r(16),Lr(74),Lr(70),Lr(73),Lr(70),Lr(0),Lr(1),Lr(1),Lr(0),$r(1),$r(1),Lr(0),Lr(0),function(){$r(65499),$r(132),Lr(0);for(var Ti=0;Ti<64;Ti++)Lr(O[Ti]);Lr(1);for(var Bi=0;Bi<64;Bi++)Lr($[Bi])}(),function(Ti,Bi){$r(65472),$r(17),Lr(8),$r(Bi),$r(Ti),Lr(3),Lr(1),Lr(17),Lr(0),Lr(2),Lr(17),Lr(1),Lr(3),Lr(17),Lr(1)}(et.width,et.height),function(){$r(65476),$r(418),Lr(0);for(var Ti=0;Ti<16;Ti++)Lr(Ar[Ti+1]);for(var Bi=0;Bi<=11;Bi++)Lr(Mt[Bi]);Lr(16);for(var na=0;na<16;na++)Lr(Er[na+1]);for(var Is=0;Is<=161;Is++)Lr(tt[Is]);Lr(1);for(var es=0;es<16;es++)Lr(Ct[es+1]);for(var ks=0;ks<=11;ks++)Lr(Xt[ks]);Lr(17);for(var Ts=0;Ts<16;Ts++)Lr(Gt[Ts+1]);for(var li=0;li<=161;li++)Lr(Ur[li])}(),$r(65498),$r(12),Lr(3),Lr(1),Lr(0),Lr(2),Lr(17),Lr(3),Lr(17),Lr(0),Lr(63),Lr(0);var Ht=0,tr=0,fr=0;bt=0,rt=7,this.encode.displayName="_encode_";for(var Cr,Hr,Gr,sn,yn,Hn,Qn,wi,St,jn=et.data,ds=et.width,ki=et.height,gn=4*ds,Ri=0;Ri>3)*gn+(Qn=4*(7&St)),Ri+wi>=ki&&(Hn-=gn*(Ri+1+wi-ki)),Cr+Qn>=gn&&(Hn-=Cr+Qn-gn+4),Hr=jn[Hn++],Gr=jn[Hn++],sn=jn[Hn++],Yt[St]=(Jr[Hr]+Jr[Gr+256|0]+Jr[sn+512|0]>>16)-128,jt[St]=(Jr[Hr+768|0]+Jr[Gr+1024|0]+Jr[sn+1280|0]>>16)-128,Pt[St]=(Jr[Hr+1280|0]+Jr[Gr+1536|0]+Jr[sn+1792|0]>>16)-128;Ht=bn(Yt,J,Ht,a,c),tr=bn(jt,he,tr,s,d),fr=bn(Pt,he,fr,s,d),Cr+=32}Ri+=8}if(rt>=0){var ei=[];ei[1]=rt+1,ei[0]=(1<Ct;Ct++)if(Mt[Er+Ct]!=tt.charCodeAt(Ct))return!0;return!1}function c(Mt,Er,tt,Ct,Xt){for(var Gt=0;GtGt+1?[]:new Er),!(Ur.length>>0;w≠)ne>>>=1;return ne?(w&ne-1)+ne:w}function tt(w,U,ne,we,Ve){a(!(we%ne));do w[U+(we-=ne)]=Ve;while(0=Ve),512>=Ve)var Xe=m(512);else if((Xe=m(Ve))==null)return 0;return function(Je,ot,dt,Tt,sr,Dr){var Ft,hr,Br=ot,Xr=1<Ft;++Ft){if(Tr[Ft]>1<(ls-=Tr[Ft]))return 0;for(;0=Ft;++Ft,sr<<=1){if(Xn+=ls<<=1,0>(ls-=Tr[Ft]))return 0;for(;0vn&&!(0>=(nn-=Tr[vn]));)++vn,nn<<=1;Xr+=si=1<<(nn=vn-dt),Je[ot+(vn=ci&cn)].g=nn+dt,Je[ot+vn].value=Br-ot-vn}Tt.g=Ft-dt,Tt.value=Dr[hr++],tt(Je,Br+(ci>>dt),sr,si,Tt),ci=Er(ci,Ft)}}return Xn!=2*tn[15]-1?0:Xr}(w,U,ne,we,Ve,Xe)}function Xt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Ur(){this.G=W(5,Xt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=W(sd,Gt)}function Mr(w,U,ne,we){a(w!=null),a(U!=null),a(2147483648>we),w.Ca=254,w.I=0,w.b=-8,w.Ka=0,w.oa=U,w.pa=ne,w.Jd=U,w.Yc=ne+we,w.Zc=4<=we?ne+we-4+1:ne,Hr(w)}function Kr(w,U){for(var ne=0;0we),w.Sb=we,w.Ra=0,w.u=0,w.h=0,4>>=8,w.Ra+=w.oa[w.pa+w.bb]<>>0,++w.bb,w.u-=8;tr(w)&&(w.h=1,w.u=0)}function ln(w,U){if(a(0<=U),!w.h&&U<=_u){var ne=Ht(w)&yu[U];return w.u+=U,bn(w),ne}return w.h=1,w.u=0}function et(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ut(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ht(w){return w.Ra>>>(w.u&Vh-1)>>>0}function tr(w){return a(w.bb<=w.Sb),w.h||w.bb==w.Sb&&w.u>Vh}function fr(w,U){w.u=U,w.h=tr(w)}function Cr(w){w.u>=Y0&&(a(w.u>=Y0),bn(w))}function Hr(w){a(w!=null&&w.oa!=null),w.pa>>0,w.b+=8):(a(w!=null&&w.oa!=null),w.paw.b&&Hr(w);var we=w.b,Ve=ne*U>>>8,Xe=(w.I>>>we>Ve)+0;for(Xe?(ne-=Ve,w.I-=Ve+1<>>0):ne=Ve+1,we=ne,Ve=0;256<=we;)Ve+=8,we>>=8;return we=7^Ve+Wh[we],w.b-=we,w.Ca=(ne<>24&255,w[U+1]=ne>>16&255,w[U+2]=ne>>8&255,w[U+3]=255&ne}function Hn(w,U){return w[U+0]|w[U+1]<<8}function Qn(w,U){return Hn(w,U)|w[U+2]<<16}function wi(w,U){return Hn(w,U)|Hn(w,U+2)<<16}function St(w,U){var ne=1<=Ve||0>=Xe?0:(ne[0]=Ve,we[0]=Xe,1)}function gn(w,U){return w+(1<>>U}function Ri(w,U){return((4278255360&w)+(4278255360&U)>>>0&4278255360)+((16711935&w)+(16711935&U)>>>0&16711935)>>>0}function ei(w,U){Mt[U]=function(ne,we,Ve,Xe,Je,ot,dt){var Tt;for(Tt=0;Tt>>1)+(w&U)>>>0}function na(w){return 0<=w&&256>w?w:0>w?0:255>1))}function es(w,U,ne){return Math.abs(U-ne)-Math.abs(w-ne)}function ks(w,U,ne,we,Ve,Xe,Je){for(we=Xe[Je-1],ne=0;ne>8&255,dt=16711935&(dt=(dt=16711935&Je)+((ot<<16)+ot));we[Ve+Xe]=(4278255360&Je)+dt>>>0}}function li(w,U){U.jd=255&w,U.hd=w>>8&255,U.ud=w>>16&255}function as(w,U,ne,we,Ve,Xe){var Je;for(Je=0;Je>>8,Tt=ot,sr=255&(sr=(sr=ot>>>16)+((w.jd<<24>>24)*(dt<<24>>24)>>>5));Tt=255&(Tt=(Tt+=(w.hd<<24>>24)*(dt<<24>>24)>>>5)+((w.ud<<24>>24)*(sr<<24>>24)>>>5)),Ve[Xe+Je]=(4278255360&ot)+(sr<<16)+Tt}}function pi(w,U,ne,we,Ve){Mt[U]=function(Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr){for(dt=Dr;dt>Xe.b,hr=Xe.Ea,Br=Xe.K[0],Xr=Xe.w;if(8>Ft)for(Xe=(1<>=Ft}else Mt["VP8LMapColor"+ne](dt,Tt,Br,Xr,sr,Dr,Je,ot,hr)}}function Co(w,U,ne,we,Ve){for(ne=U+ne;U>16&255,we[Ve++]=Xe>>8&255,we[Ve++]=255&Xe}}function Ks(w,U,ne,we,Ve){for(ne=U+ne;U>16&255,we[Ve++]=Xe>>8&255,we[Ve++]=255&Xe,we[Ve++]=Xe>>24&255}}function ms(w,U,ne,we,Ve){for(ne=U+ne;U>16&240|Je>>12&15,Je=240&Je|Je>>28&15;we[Ve++]=Xe,we[Ve++]=Je}}function vs(w,U,ne,we,Ve){for(ne=U+ne;U>16&248|Je>>13&7,Je=Je>>5&224|Je>>3&31;we[Ve++]=Xe,we[Ve++]=Je}}function Ga(w,U,ne,we,Ve){for(ne=U+ne;U>8&255,we[Ve++]=Xe>>16&255}}function Ci(w,U,ne,we,Ve,Xe){if(Xe==0)for(ne=U+ne;U>24|Xe[1]>>8&65280|Xe[2]<<8&16711680|Xe[3]<<24)>>>0),Ve+=32;else c(we,Ve,w,U,ne)}function Fa(w,U){Mt[U][0]=Mt[w+"0"],Mt[U][1]=Mt[w+"1"],Mt[U][2]=Mt[w+"2"],Mt[U][3]=Mt[w+"3"],Mt[U][4]=Mt[w+"4"],Mt[U][5]=Mt[w+"5"],Mt[U][6]=Mt[w+"6"],Mt[U][7]=Mt[w+"7"],Mt[U][8]=Mt[w+"8"],Mt[U][9]=Mt[w+"9"],Mt[U][10]=Mt[w+"10"],Mt[U][11]=Mt[w+"11"],Mt[U][12]=Mt[w+"12"],Mt[U][13]=Mt[w+"13"],Mt[U][14]=Mt[w+"0"],Mt[U][15]=Mt[w+"0"]}function Mi(w){return w==X1||w==J1||w==E1||w==eg}function ts(){this.eb=[],this.size=this.A=this.fb=0}function Va(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ws(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ts,this.f.kb=new Va,this.sd=null}function Ui(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ia(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(w){return alert("todo:WebPSamplerProcessPlane"),w.T}function ll(w,U){var ne=w.T,we=U.ba.f.RGBA,Ve=we.eb,Xe=we.fb+w.ka*we.A,Je=qu[U.ba.S],ot=w.y,dt=w.O,Tt=w.f,sr=w.N,Dr=w.ea,Ft=w.W,hr=U.cc,Br=U.dc,Xr=U.Mc,Tr=U.Nc,tn=w.ka,nn=w.ka+w.T,vn=w.U,cn=vn+1>>1;for(tn==0?Je(ot,dt,null,null,Tt,sr,Dr,Ft,Tt,sr,Dr,Ft,Ve,Xe,null,null,vn):(Je(U.ec,U.fc,ot,dt,hr,Br,Xr,Tr,Tt,sr,Dr,Ft,Ve,Xe-we.A,Ve,Xe,vn),++ne);tn+2ne,Ve=ne==_1||ne==w1||ne==b1||ne==q1||ne==12||Mi(ne);if(U.memory=null,U.Ib=null,U.Jb=null,U.Nd=null,!Up(U.Oa,w,Ve?11:12))return 0;if(Ve&&Mi(ne)&&Dp(),w.da)alert("todo:use_scaling");else{if(we){if(U.Ib=Gf,w.Kb){if(ne=w.U+1>>1,U.memory=m(w.U+2*ne),U.memory==null)return 0;U.ec=U.memory,U.fc=0,U.cc=U.ec,U.dc=U.fc+w.U,U.Mc=U.cc,U.Nc=U.dc+ne,U.Ib=ll,Dp()}}else alert("todo:EmitYUV");Ve&&(U.Jb=P0,we&&_c())}if(we&&!Ng){for(w=0;256>w;++w)_m[w]=89858*(w-128)+x1>>B1,Em[w]=-22014*(w-128)+x1,bm[w]=-45773*(w-128),wm[w]=113618*(w-128)+x1>>B1;for(w=Gp;w>B1,Bm[w-Gp]=$c(U,255),xm[w-Gp]=$c(U+8>>4,15);Ng=1}return 1}function Pi(w){var U=w.ma,ne=w.U,we=w.T;return a(!(1&w.ka)),0>=ne||0>=we?0:(ne=U.Ib(w,U),U.Jb!=null&&U.Jb(w,U,ne),U.Dc+=ne,1)}function O0(w){w.ma.memory=null}function N0(w,U,ne,we){return ln(w,8)!=47?0:(U[0]=ln(w,14)+1,ne[0]=ln(w,14)+1,we[0]=ln(w,1),ln(w,3)!=0?0:!w.h)}function Ku(w,U){if(4>w)return w+1;var ne=w-2>>1;return(2+(1&w)<>4)*w+(8-(15&ne)))?ne:1;var ne}function po(w,U,ne){var we=Ht(ne),Ve=w[U+=255&we].g-8;return 0>>0,a(8>=ne.g),w.g}function QA(w,U,ne){var we=w.xc;return a((U=we==0?0:w.vc[w.md*(ne>>we)+(U>>we)])>si.b)*Xn;Xrvn&&(ai=vn),(0,Mp[Rs[aA++]>>8&15])(Ft,hr+ +us,tn,nn+us-vn,ai-us,tn,nn+us),us=ai}hr+=vn,nn+=vn,++Xr&ci||(si+=Xn)}Dr!=Tt.nc&&c(dt,ot-Br,dt,ot+(Dr-sr-1)*Br,Br);break;case 1:for(Br=Ft,Tr=hr,vn=(Ft=Tt.Ea)-(nn=Ft&~(tn=(hr=1<>Tt.b)*Xr;sr=Ve),0Xe.o&&(we=Xe.o),ne=we?ne=0:(Ve[0]+=4*Xe.v,Xe.ka=ne-Xe.j,Xe.U=Xe.va-Xe.v,Xe.T=we-ne,ne=1),ne){if(ot=ot[0],11>(ne=w.ca).S){var sr=ne.f.RGBA,Dr=(we=ne.S,Ve=Xe.U,Xe=Xe.T,Tt=sr.eb,sr.A),Ft=Xe;for(sr=sr.fb+w.Ma*sr.A;0we){var Ve=w.l.width,Xe=ne.ca,Je=ne.tb+Ve*we,ot=w.V,dt=w.Ba+w.c*we,Tt=w.gc;a(w.ab==1),a(Tt[0].hc==3),Xc(Tt[0],we,U,ot,dt,Xe,Je),Vc(ne,we,U,Xe,Je,Ve)}w.C=w.Ma=U}function vc(w,U,ne,we,Ve,Xe,Je){var ot=w.$/we,dt=w.$%we,Tt=w.m,sr=w.s,Dr=ne+w.$,Ft=Dr;Ve=ne+we*Ve;var hr=ne+we*Xe,Br=280+sr.ua,Xr=w.Pb?ot:16777216,Tr=0=Xr){var ci=Dr-ne;a((Xr=w).Pb),Xr.wd=Xr.m,Xr.xd=ci,0ls.g?(fr(cn,cn.u+ls.g),ci[Xn]=ls.value,cn=0):(fr(cn,cn.u+ls.g-256),a(256<=ls.value),cn=ls.value),cn==0&&(vn=!0)}else cn=po(nn.G[0],nn.H[0],Tt);if(Tt.h)break;if(vn||256>cn){if(!vn)if(nn.nd)U[Dr]=(nn.qb|cn<<8)>>>0;else{if(Cr(Tt),vn=po(nn.G[1],nn.H[1],Tt),Cr(Tt),ci=po(nn.G[2],nn.H[2],Tt),Xn=po(nn.G[3],nn.H[3],Tt),Tt.h)break;U[Dr]=(Xn<<24|vn<<16|cn<<8|ci)>>>0}if(vn=!1,++Dr,++dt>=we&&(dt=0,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(w,ot),Tr!=null))for(;Ft>>Tr.Mb]=cn}else if(280>cn){if(cn=Ku(cn-256,Tt),ci=po(nn.G[4],nn.H[4],Tt),Cr(Tt),ci=zu(we,ci=Ku(ci,Tt)),Tt.h)break;if(Dr-ne=we;)dt-=we,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(w,ot);if(a(Dr<=Ve),dt&tn&&(nn=QA(sr,dt,ot)),Tr!=null)for(;Ft>>Tr.Mb]=cn}else{if(!(cn>>Tr.Mb]=cn;cn=Dr,a(!(vn>>>(ci=Tr).Xa)),U[cn]=ci.X[vn],vn=!0}vn||a(Tt.h==tr(Tt))}if(w.Pb&&Tt.h&&DrXe?Xe:ot),w.a=0,w.$=Dr-ne}return 1}return w.a=3,0}function Gu(w){a(w!=null),w.vc=null,w.yc=null,w.Ya=null;var U=w.Wa;U!=null&&(U.X=null),w.vb=null,a(w!=null)}function Wf(){var w=new Vi;return w==null?null:(w.a=0,w.xb=Dg,Fa("Predictor","VP8LPredictors"),Fa("Predictor","VP8LPredictors_C"),Fa("PredictorAdd","VP8LPredictorsAdd"),Fa("PredictorAdd","VP8LPredictorsAdd_C"),So=Ts,Qp=as,Hp=Co,$h=Ks,Yh=ms,Zh=vs,ad=Ga,Mt.VP8LMapColor32b=qc,Mt.VP8LMapColor8b=Np,w)}function Wc(w,U,ne,we,Ve){var Xe=1,Je=[w],ot=[U],dt=we.m,Tt=we.s,sr=null,Dr=0;e:for(;;){if(ne)for(;Xe&&ln(dt,1);){var Ft=Je,hr=ot,Br=we,Xr=1,Tr=Br.m,tn=Br.gc[Br.ab],nn=ln(Tr,2);if(Br.Oc&1<=Br.ab),nn){case 0:case 1:tn.b=ln(Tr,3)+2,Xr=Wc(gn(tn.Ea,tn.b),gn(tn.nc,tn.b),0,Br,tn.K),tn.K=tn.K[0];break;case 3:var vn,cn=ln(Tr,8)+1,ci=16>si.b),aA=m(Rs);if(aA==null)vn=0;else{var us=si.K[0],ai=si.w;for(aA[0]=si.K[0][0],Xn=1;Xn<1*ls;++Xn)aA[Xn]=Ri(us[ai+Xn],aA[Xn-1]);for(;Xn<4*Rs;++Xn)aA[Xn]=0;si.K[0]=null,si.K[0]=aA,vn=1}}Xr=vn;break;case 2:break;default:a(0)}Xe=Xr}}if(Je=Je[0],ot=ot[0],Xe&&ln(dt,1)&&!(Xe=1<=(Dr=ln(dt,4))&&11>=Dr)){we.a=3;break e}var Rn;if(Rn=Xe)t:{var To,rs,Ms,Ha=we,KA=Je,Tl=ot,go=Dr,ul=ne,Fl=Ha.m,oA=Ha.s,Gs=[null],Aa=1,mo=0,la=om[go];r:for(;;){if(ul&&ln(Fl,1)){var zA=ln(Fl,3)+2,bc=gn(KA,zA),Fo=gn(Tl,zA),Zl=bc*Fo;if(!Wc(bc,Fo,0,Ha,Gs))break r;for(Gs=Gs[0],oA.xc=zA,To=0;To>8&65535;Gs[To]=wa,wa>=Aa&&(Aa=wa+1)}}if(Fl.h)break r;for(rs=0;5>rs;++rs){var AA=Fg[rs];!rs&&0=Ll),Bu=Eu;var ql=m(mo);if(Bu==null||ql==null||bu==null){Ha.a=1;break r}var xu=bu;for(To=Ms=0;Tors;++rs){AA=Fg[rs],Cu[rs]=xu,Ec[rs]=Ms,!rs&&0L1)break n}else ag=L1;for(Wp=0;WpXd)Gg[Wp++]=Xd,Xd!=0&&(Vg=Xd);else{var Um=Xd==16,Yg=Xd-16,Pm=nm[Yg],Zg=ln(tf,rm[Yg])+Pm;if(Wp+Zg>L1)break n;for(var Om=Um?Vg:0;0=rs){var $p,Ag=ql[0];for($p=1;$pAg&&(Ag=ql[$p]);GA+=Ag}}if(Da.nd=X0,Da.Qb=0,X0&&(Da.qb=(Cu[3][Ec[3]+0].value<<24|Cu[1][Ec[1]+0].value<<16|Cu[2][Ec[2]+0].value)>>>0,Ad==0&&256>Cu[0][Ec[0]+0].value&&(Da.Qb=1,Da.qb+=Cu[0][Ec[0]+0].value<<8)),Da.jc=!Da.Qb&&6>GA,Da.jc){var D1,J0=Da;for(D1=0;D1>=EA(k1,8,nf),rf>>=EA(J0.G[1][J0.H[1]+rf],16,nf),rf>>=EA(J0.G[2][J0.H[2]+rf],0,nf),EA(J0.G[3][J0.H[3]+rf],24,nf))}}}oA.vc=Gs,oA.Wb=Aa,oA.Ya=Bu,oA.yc=bu,Rn=1;break t}Rn=0}if(!(Xe=Rn)){we.a=3;break e}if(0we+1?[]:0),!(Ve.lengthw?0:w>U?U:w}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var w=new n1;return w!=null&&(w.a=0,w.sc="OK",w.cb=0,w.Xb=0,zp||(zp=zd)),w}function Vo(w,U,ne){return w.a==0&&(w.a=U,w.sc=ne,w.cb=0),0}function i1(w,U,ne){return 3<=ne&&w[U+0]==157&&w[U+1]==1&&w[U+2]==42}function Yc(w,U){if(w==null)return 0;if(w.a=0,w.sc="OK",U==null)return Vo(w,2,"null VP8Io passed to VP8GetHeaders()");var ne=U.data,we=U.w,Ve=U.ha;if(4>Ve)return Vo(w,7,"Truncated header.");var Xe=ne[we+0]|ne[we+1]<<8|ne[we+2]<<16,Je=w.Od;if(Je.Rb=!(1&Xe),Je.td=Xe>>1&7,Je.yd=Xe>>4&1,Je.ub=Xe>>5,3Ve)return Vo(w,7,"cannot parse picture header");if(!i1(ne,we,Ve))return Vo(w,3,"Bad code word");ot.c=16383&(ne[we+4]<<8|ne[we+3]),ot.Td=ne[we+4]>>6,ot.i=16383&(ne[we+6]<<8|ne[we+5]),ot.Ud=ne[we+6]>>6,we+=7,Ve-=7,w.za=ot.c+15>>4,w.Ub=ot.i+15>>4,U.width=ot.c,U.height=ot.i,U.Da=0,U.j=0,U.v=0,U.va=U.width,U.o=U.height,U.da=0,U.ib=U.width,U.hb=U.height,U.U=U.width,U.T=U.height,d((Xe=w.Pa).jb,0,255,Xe.jb.length),a((Xe=w.Qa)!=null),Xe.Cb=0,Xe.Bb=0,Xe.Fb=1,d(Xe.Zb,0,0,Xe.Zb.length),d(Xe.Lb,0,0,Xe.Lb)}if(Je.ub>Ve)return Vo(w,7,"bad partition length");Mr(Xe=w.m,ne,we,Je.ub),we+=Je.ub,Ve-=Je.ub,Je.Rb&&(ot.Ld=Gr(Xe),ot.Kd=Gr(Xe)),ot=w.Qa;var dt,Tt=w.Pa;if(a(Xe!=null),a(ot!=null),ot.Cb=Gr(Xe),ot.Cb){if(ot.Bb=Gr(Xe),Gr(Xe)){for(ot.Fb=Gr(Xe),dt=0;4>dt;++dt)ot.Zb[dt]=Gr(Xe)?Lr(Xe,7):0;for(dt=0;4>dt;++dt)ot.Lb[dt]=Gr(Xe)?Lr(Xe,6):0}if(ot.Bb)for(dt=0;3>dt;++dt)Tt.jb[dt]=Gr(Xe)?Kr(Xe,8):255}else ot.Bb=0;if(Xe.Ka)return Vo(w,3,"cannot parse segment header");if((ot=w.ed).zd=Gr(Xe),ot.Tb=Kr(Xe,6),ot.wb=Kr(Xe,3),ot.Pc=Gr(Xe),ot.Pc&&Gr(Xe)){for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.vd[Tt]=Lr(Xe,6));for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.od[Tt]=Lr(Xe,6))}if(w.L=ot.Tb==0?0:ot.zd?1:2,Xe.Ka)return Vo(w,3,"cannot parse filter header");var sr=Ve;if(Ve=dt=we,we=dt+sr,ot=sr,w.Xb=(1<ot&&(Dr=ot),Mr(w.Jc[+sr],ne,dt,Dr),dt+=Dr,ot-=Dr,Ve+=3}Mr(w.Jc[+Tt],ne,dt,ot),ne=dtDr;++Dr){if(sr.Cb){var Ft=sr.Zb[Dr];sr.Fb||(Ft+=ne)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[$c(Ft+Tt,117)],hr.Qc[1]=rg[$c(Ft+dt,127)],hr.lc=Ft+dt}if(!Je.Rb)return Vo(w,4,"Not a key frame.");for(Gr(Xe),Je=w.Pa,ne=0;4>ne;++ne){for(Ve=0;8>Ve;++Ve)for(we=0;3>we;++we)for(ot=0;11>ot;++ot)Tt=sn(Xe,fm[ne][Ve][we][ot])?Kr(Xe,8):cm[ne][Ve][we][ot],Je.Wc[ne][Ve].Yb[we][ot]=Tt;for(Ve=0;17>Ve;++Ve)Je.Xc[ne][Ve]=Je.Wc[ne][dm[Ve]]}return w.kc=Gr(Xe),w.kc&&(w.Bd=Kr(Xe,8)),w.cb=1}function zd(w,U,ne,we,Ve,Xe,Je){var ot=U[Ve].Yb[ne];for(ne=0;16>Ve;++Ve){if(!sn(w,ot[ne+0]))return Ve;for(;!sn(w,ot[ne+1]);)if(ot=U[++Ve].Yb[0],ne=0,Ve==16)return 16;var dt=U[Ve+1].Yb;if(sn(w,ot[ne+2])){var Tt=w,sr=0;if(sn(Tt,(Ft=ot)[(Dr=ne)+3]))if(sn(Tt,Ft[Dr+6])){for(ot=0,Dr=2*(sr=sn(Tt,Ft[Dr+8]))+(Ft=sn(Tt,Ft[Dr+9+sr])),sr=0,Ft=lm[Dr];Ft[ot];++ot)sr+=sr+sn(Tt,Ft[ot]);sr+=3+(8<(Tt=w).b&&Hr(Tt);var Dr,Ft=Tt.b,hr=(Dr=Tt.Ca>>1)-(Tt.I>>Ft)>>31;--Tt.b,Tt.Ca+=hr,Tt.Ca|=1,Tt.I-=(Dr+1&hr)<>3),w[U+ne+32*we]=-256&Ve?0>Ve?0:255:Ve}function nA(w,U,ne,we,Ve,Xe){Wu(w,U,0,ne,we+Ve),Wu(w,U,1,ne,we+Xe),Wu(w,U,2,ne,we-Xe),Wu(w,U,3,ne,we-Ve)}function M0(w){return(20091*w>>16)+w}function a1(w,U,ne,we){var Ve,Xe=0,Je=m(16);for(Ve=0;4>Ve;++Ve){var ot=w[U+0]+w[U+8],dt=w[U+0]-w[U+8],Tt=(35468*w[U+4]>>16)-M0(w[U+12]),sr=M0(w[U+4])+(35468*w[U+12]>>16);Je[Xe+0]=ot+sr,Je[Xe+1]=dt+Tt,Je[Xe+2]=dt-Tt,Je[Xe+3]=ot-sr,Xe+=4,U++}for(Ve=Xe=0;4>Ve;++Ve)ot=(w=Je[Xe+0]+4)+Je[Xe+8],dt=w-Je[Xe+8],Tt=(35468*Je[Xe+4]>>16)-M0(Je[Xe+12]),Wu(ne,we,0,0,ot+(sr=M0(Je[Xe+4])+(35468*Je[Xe+12]>>16))),Wu(ne,we,1,0,dt+Tt),Wu(ne,we,2,0,dt-Tt),Wu(ne,we,3,0,ot-sr),Xe++,we+=32}function P1(w,U,ne,we){var Ve=w[U+0]+4,Xe=35468*w[U+4]>>16,Je=M0(w[U+4]),ot=35468*w[U+1]>>16;nA(ne,we,0,Ve+Je,w=M0(w[U+1]),ot),nA(ne,we,1,Ve+Xe,w,ot),nA(ne,we,2,Ve-Xe,w,ot),nA(ne,we,3,Ve-Je,w,ot)}function O1(w,U,ne,we,Ve){a1(w,U,ne,we),Ve&&a1(w,U+16,ne,we+4)}function Zc(w,U,ne,we){od(w,U+0,ne,we,1),od(w,U+32,ne,we+128,1)}function o1(w,U,ne,we){var Ve;for(w=w[U+0]+4,Ve=0;4>Ve;++Ve)for(U=0;4>U;++U)Wu(ne,we,U,Ve,w)}function A1(w,U,ne,we){w[U+0]&&sa(w,U+0,ne,we),w[U+16]&&sa(w,U+16,ne,we+4),w[U+32]&&sa(w,U+32,ne,we+128),w[U+48]&&sa(w,U+48,ne,we+128+4)}function Gd(w,U,ne,we){var Ve,Xe=m(16);for(Ve=0;4>Ve;++Ve){var Je=w[U+0+Ve]+w[U+12+Ve],ot=w[U+4+Ve]+w[U+8+Ve],dt=w[U+4+Ve]-w[U+8+Ve],Tt=w[U+0+Ve]-w[U+12+Ve];Xe[0+Ve]=Je+ot,Xe[8+Ve]=Je-ot,Xe[4+Ve]=Tt+dt,Xe[12+Ve]=Tt-dt}for(Ve=0;4>Ve;++Ve)Je=(w=Xe[0+4*Ve]+3)+Xe[3+4*Ve],ot=Xe[1+4*Ve]+Xe[2+4*Ve],dt=Xe[1+4*Ve]-Xe[2+4*Ve],Tt=w-Xe[3+4*Ve],ne[we+0]=Je+ot>>3,ne[we+16]=Tt+dt>>3,ne[we+32]=Je-ot>>3,ne[we+48]=Tt-dt>>3,we+=64}function Yf(w,U,ne){var we,Ve=U-32,Xe=wu,Je=255-w[Ve-1];for(we=0;wene;++ne)c(w,U+32*ne,w,U-32,16)}function l1(w,U){var ne;for(ne=16;0we;++we)d(U,ne+32*we,w,16)}function H1(w,U){var ne,we=16;for(ne=0;16>ne;++ne)we+=w[U-1+32*ne]+w[U+ne-32];yc(we>>5,w,U)}function Zf(w,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=w[U-1+32*ne];yc(we>>4,w,U)}function xp(w,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=w[U+ne-32];yc(we>>4,w,U)}function j1(w,U){yc(128,w,U)}function Yi(w,U,ne){return w+2*U+ne+2>>2}function K1(w,U){var ne,we=U-32;for(we=new Uint8Array([Yi(w[we-1],w[we+0],w[we+1]),Yi(w[we+0],w[we+1],w[we+2]),Yi(w[we+1],w[we+2],w[we+3]),Yi(w[we+2],w[we+3],w[we+4])]),ne=0;4>ne;++ne)c(w,U+32*ne,we,0,we.length)}function z1(w,U){var ne=w[U-1],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1+96];yn(w,U+0,16843009*Yi(w[U-1-32],ne,we)),yn(w,U+32,16843009*Yi(ne,we,Ve)),yn(w,U+64,16843009*Yi(we,Ve,Xe)),yn(w,U+96,16843009*Yi(Ve,Xe,Xe))}function G1(w,U){var ne,we=4;for(ne=0;4>ne;++ne)we+=w[U+ne-32]+w[U-1+32*ne];for(we>>=3,ne=0;4>ne;++ne)d(w,U+32*ne,we,4)}function Q0(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1-32],Je=w[U+0-32],ot=w[U+1-32],dt=w[U+2-32],Tt=w[U+3-32];w[U+0+96]=Yi(we,Ve,w[U-1+96]),w[U+1+96]=w[U+0+64]=Yi(ne,we,Ve),w[U+2+96]=w[U+1+64]=w[U+0+32]=Yi(Xe,ne,we),w[U+3+96]=w[U+2+64]=w[U+1+32]=w[U+0+0]=Yi(Je,Xe,ne),w[U+3+64]=w[U+2+32]=w[U+1+0]=Yi(ot,Je,Xe),w[U+3+32]=w[U+2+0]=Yi(dt,ot,Je),w[U+3+0]=Yi(Tt,dt,ot)}function H0(w,U){var ne=w[U+1-32],we=w[U+2-32],Ve=w[U+3-32],Xe=w[U+4-32],Je=w[U+5-32],ot=w[U+6-32],dt=w[U+7-32];w[U+0+0]=Yi(w[U+0-32],ne,we),w[U+1+0]=w[U+0+32]=Yi(ne,we,Ve),w[U+2+0]=w[U+1+32]=w[U+0+64]=Yi(we,Ve,Xe),w[U+3+0]=w[U+2+32]=w[U+1+64]=w[U+0+96]=Yi(Ve,Xe,Je),w[U+3+32]=w[U+2+64]=w[U+1+96]=Yi(Xe,Je,ot),w[U+3+64]=w[U+2+96]=Yi(Je,ot,dt),w[U+3+96]=Yi(ot,dt,dt)}function V1(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1-32],Je=w[U+0-32],ot=w[U+1-32],dt=w[U+2-32],Tt=w[U+3-32];w[U+0+0]=w[U+1+64]=Xe+Je+1>>1,w[U+1+0]=w[U+2+64]=Je+ot+1>>1,w[U+2+0]=w[U+3+64]=ot+dt+1>>1,w[U+3+0]=dt+Tt+1>>1,w[U+0+96]=Yi(Ve,we,ne),w[U+0+64]=Yi(we,ne,Xe),w[U+0+32]=w[U+1+96]=Yi(ne,Xe,Je),w[U+1+32]=w[U+2+96]=Yi(Xe,Je,ot),w[U+2+32]=w[U+3+96]=Yi(Je,ot,dt),w[U+3+32]=Yi(ot,dt,Tt)}function W1(w,U){var ne=w[U+0-32],we=w[U+1-32],Ve=w[U+2-32],Xe=w[U+3-32],Je=w[U+4-32],ot=w[U+5-32],dt=w[U+6-32],Tt=w[U+7-32];w[U+0+0]=ne+we+1>>1,w[U+1+0]=w[U+0+64]=we+Ve+1>>1,w[U+2+0]=w[U+1+64]=Ve+Xe+1>>1,w[U+3+0]=w[U+2+64]=Xe+Je+1>>1,w[U+0+32]=Yi(ne,we,Ve),w[U+1+32]=w[U+0+96]=Yi(we,Ve,Xe),w[U+2+32]=w[U+1+96]=Yi(Ve,Xe,Je),w[U+3+32]=w[U+2+96]=Yi(Xe,Je,ot),w[U+3+64]=Yi(Je,ot,dt),w[U+3+96]=Yi(ot,dt,Tt)}function Vd(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1+96];w[U+0+0]=ne+we+1>>1,w[U+2+0]=w[U+0+32]=we+Ve+1>>1,w[U+2+32]=w[U+0+64]=Ve+Xe+1>>1,w[U+1+0]=Yi(ne,we,Ve),w[U+3+0]=w[U+1+32]=Yi(we,Ve,Xe),w[U+3+32]=w[U+1+64]=Yi(Ve,Xe,Xe),w[U+3+64]=w[U+2+64]=w[U+0+96]=w[U+1+96]=w[U+2+96]=w[U+3+96]=Xe}function Cp(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1+96],Je=w[U-1-32],ot=w[U+0-32],dt=w[U+1-32],Tt=w[U+2-32];w[U+0+0]=w[U+2+32]=ne+Je+1>>1,w[U+0+32]=w[U+2+64]=we+ne+1>>1,w[U+0+64]=w[U+2+96]=Ve+we+1>>1,w[U+0+96]=Xe+Ve+1>>1,w[U+3+0]=Yi(ot,dt,Tt),w[U+2+0]=Yi(Je,ot,dt),w[U+1+0]=w[U+3+32]=Yi(ne,Je,ot),w[U+1+32]=w[U+3+64]=Yi(we,ne,Je),w[U+1+64]=w[U+3+96]=Yi(Ve,we,ne),w[U+1+96]=Yi(Xe,Ve,we)}function qf(w,U){var ne;for(ne=0;8>ne;++ne)c(w,U+32*ne,w,U-32,8)}function $1(w,U){var ne;for(ne=0;8>ne;++ne)d(w,U,w[U-1],8),U+=32}function j0(w,U,ne){var we;for(we=0;8>we;++we)d(U,ne+32*we,w,8)}function Y1(w,U){var ne,we=8;for(ne=0;8>ne;++ne)we+=w[U+ne-32]+w[U-1+32*ne];j0(we>>4,w,U)}function Sp(w,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=w[U+ne-32];j0(we>>3,w,U)}function Ip(w,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=w[U-1+32*ne];j0(we>>3,w,U)}function u1(w,U){j0(128,w,U)}function K0(w,U,ne){var we=w[U-ne],Ve=w[U+0],Xe=3*(Ve-we)+Z1[1020+w[U-2*ne]-w[U+ne]],Je=v1[112+(Xe+4>>3)];w[U-ne]=wu[255+we+v1[112+(Xe+3>>3)]],w[U+0]=wu[255+Ve-Je]}function Tp(w,U,ne,we){var Ve=w[U+0],Xe=w[U+ne];return Zu[255+w[U-2*ne]-w[U-ne]]>we||Zu[255+Xe-Ve]>we}function Wd(w,U,ne,we){return 4*Zu[255+w[U-ne]-w[U+0]]+Zu[255+w[U-2*ne]-w[U+ne]]<=we}function Fp(w,U,ne,we,Ve){var Xe=w[U-3*ne],Je=w[U-2*ne],ot=w[U-ne],dt=w[U+0],Tt=w[U+ne],sr=w[U+2*ne],Dr=w[U+3*ne];return 4*Zu[255+ot-dt]+Zu[255+Je-Tt]>we?0:Zu[255+w[U-4*ne]-Xe]<=Ve&&Zu[255+Xe-Je]<=Ve&&Zu[255+Je-ot]<=Ve&&Zu[255+Dr-sr]<=Ve&&Zu[255+sr-Tt]<=Ve&&Zu[255+Tt-dt]<=Ve}function Xf(w,U,ne,we){var Ve=2*we+1;for(we=0;16>we;++we)Wd(w,U+we,ne,Ve)&&K0(w,U+we,ne)}function Lp(w,U,ne,we){var Ve=2*we+1;for(we=0;16>we;++we)Wd(w,U+we*ne,1,Ve)&&K0(w,U+we*ne,1)}function c1(w,U,ne,we){var Ve;for(Ve=3;0>7,tn=18*nn+63>>7,nn=9*nn+63>>7;dt[Tt-3*sr]=wu[255+dt[Tt-3*sr]+nn],dt[Tt-2*sr]=wu[255+Dr+tn],dt[Tt-sr]=wu[255+Ft+Tr],dt[Tt+0]=wu[255+hr-Tr],dt[Tt+sr]=wu[255+Br-tn],dt[Tt+2*sr]=wu[255+Xr-nn]}U+=we}}function G0(w,U,ne,we,Ve,Xe,Je,ot){for(Xe=2*Xe+1;0>3)],Xr=v1[112+(Xr+3>>3)],Tr=Br+1>>1;dt[Tt-2*sr]=wu[255+dt[Tt-2*sr]+Tr],dt[Tt-sr]=wu[255+Dr+Xr],dt[Tt+0]=wu[255+Ft-Br],dt[Tt+sr]=wu[255+hr-Tr]}U+=we}}function f1(w,U,ne,we,Ve,Xe){z0(w,U,ne,1,16,we,Ve,Xe)}function Jf(w,U,ne,we,Ve,Xe){z0(w,U,1,ne,16,we,Ve,Xe)}function d1(w,U,ne,we,Ve,Xe){var Je;for(Je=3;0Tt?0:255:Tt)&255,Tt=dt,Ve[Xe+ot]=sr}}function La(w,U,ne,we){var Ve=U.width,Xe=U.o;if(a(w!=null&&U!=null),0>ne||0>=we||ne+we>Xe)return null;if(!w.Cc){if(w.ga==null){var Je;if(w.ga=new os,(Je=w.ga==null)||(Je=U.width*U.o,a(w.Gb.length==0),w.Gb=m(Je),w.Uc=0,w.Gb==null?Je=0:(w.mb=w.Gb,w.nb=w.Uc,w.rc=null,Je=1),Je=!Je),!Je){Je=w.ga;var ot=w.Fa,dt=w.P,Tt=w.qc,sr=w.mb,Dr=w.nb,Ft=dt+1,hr=Tt-1,Br=Je.l;if(a(ot!=null&&sr!=null&&U!=null),Jh[0]=null,Jh[1]=zs,Jh[2]=oo,Jh[3]=Wo,Je.ca=sr,Je.tb=Dr,Je.c=U.width,Je.i=U.height,a(0=Tt)U=0;else if(Je.$a=3&ot[dt+0],Je.Z=ot[dt+0]>>2&3,Je.Lc=ot[dt+0]>>4&3,dt=ot[dt+0]>>6&3,0>Je.$a||1=Je.c*Je.i;Je=!U}if(Je)return null;w.ga.Lc!=1?w.Ga=0:we=Xe-ne}a(w.ga!=null),a(ne+we<=Xe);e:{if(U=(ot=w.ga).c,Xe=ot.l.o,ot.$a==0){if(Ft=w.rc,hr=w.Vc,Br=w.Fa,dt=w.P+1+ne*U,Tt=w.mb,sr=w.nb+ne*U,a(dt<=w.P+w.qc),ot.Z!=0)for(a(Jh[ot.Z]!=null),Je=0;Je=U)U=1;else if(ot.ic||_c(),ot.ic){ot=Je.V,Ft=Je.Ba,hr=Je.c;var Xr=Je.i,Tr=(Br=1,dt=Je.$/hr,Tt=Je.$%hr,sr=Je.m,Dr=Je.s,Je.$),tn=hr*Xr,nn=hr*U,vn=Dr.wc,cn=Tr(Xr=po(cn.G[0],cn.H[0],sr)))ot[Ft+Tr]=Xr,++Tr,++Tt>=hr&&(Tt=0,++dt<=U&&!(dt%16)&&mc(Je,dt));else{if(!(280>Xr)){Br=0;break t}Xr=Ku(Xr-256,sr);var ci,Xn=po(cn.G[4],cn.H[4],sr);if(Cr(sr),!(Tr>=(Xn=zu(hr,Xn=Ku(Xn,sr)))&&tn-Tr>=Xr)){Br=0;break t}for(ci=0;ci=hr;)Tt-=hr,++dt<=U&&!(dt%16)&&mc(Je,dt);TrU?U:dt);break t}!Br||sr.h&&Tr=Xe&&(w.Cc=1),we=1}if(!we)return null;if(w.Cc&&((we=w.ga)!=null&&(we.mc=null),w.ga=null,0>23,ot[dt+4*Je+1]=ot[dt+4*Je+1]*Dr>>23,ot[dt+4*Je+2]=ot[dt+4*Je+2]*Dr>>23)}U+=Xe}}function $o(w,U,ne,we,Ve){for(;0>4)*dt>>16;w[U+2*Xe+0]=(240&Je|Je>>4)*dt>>16&240|(15&Je|Je<<4)*dt>>16>>4&15,w[U+2*Xe+1]=240&Tt|ot}U+=Ve}}function HA(w,U,ne,we,Ve,Xe,Je,ot){var dt,Tt,sr=255;for(Tt=0;Tt>8}function _c(){Kp=iA,_g=$o,wg=HA,bg=V0}function W0(w,U,ne){Mt[w]=function(we,Ve,Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr,Br,Xr,Tr,tn,nn,vn){var cn,ci=vn-1>>1,Xn=ot[dt+0]|Tt[sr+0]<<16,ls=Dr[Ft+0]|hr[Br+0]<<16;a(we!=null);var si=3*Xn+ls+131074>>2;for(U(we[Ve+0],255&si,si>>16,Xr,Tr),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+0],255&si,si>>16,tn,nn)),cn=1;cn<=ci;++cn){var Rs=ot[dt+cn]|Tt[sr+cn]<<16,aA=Dr[Ft+cn]|hr[Br+cn]<<16,us=Xn+Rs+ls+aA+524296,ai=us+2*(Rs+ls)>>3;si=ai+Xn>>1,Xn=(us=us+2*(Xn+aA)>>3)+Rs>>1,U(we[Ve+2*cn-1],255&si,si>>16,Xr,Tr+(2*cn-1)*ne),U(we[Ve+2*cn-0],255&Xn,Xn>>16,Xr,Tr+(2*cn-0)*ne),Xe!=null&&(si=us+ls>>1,Xn=ai+aA>>1,U(Xe[Je+2*cn-1],255&si,si>>16,tn,nn+(2*cn-1)*ne),U(Xe[Je+2*cn+0],255&Xn,Xn>>16,tn,nn+(2*cn+0)*ne)),Xn=Rs,ls=aA}1&vn||(si=3*Xn+ls+131074>>2,U(we[Ve+vn-1],255&si,si>>16,Xr,Tr+(vn-1)*ne),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+vn-1],255&si,si>>16,tn,nn+(vn-1)*ne)))}}function Dp(){qu[y1]=gm,qu[_1]=kg,qu[Ig]=mm,qu[w1]=Rg,qu[b1]=Ug,qu[q1]=Pg,qu[Tg]=vm,qu[X1]=kg,qu[J1]=Rg,qu[E1]=Ug,qu[eg]=Pg}function $d(w){return w&~ym?0>w?0:255:w>>Og}function Kh(w,U){return $d((19077*w>>8)+(26149*U>>8)-14234)}function ed(w,U,ne){return $d((19077*w>>8)-(6419*U>>8)-(13320*ne>>8)+8708)}function td(w,U){return $d((19077*w>>8)+(33050*U>>8)-17685)}function zh(w,U,ne,we,Ve){we[Ve+0]=Kh(w,ne),we[Ve+1]=ed(w,U,ne),we[Ve+2]=td(w,U)}function jA(w,U,ne,we,Ve){we[Ve+0]=td(w,U),we[Ve+1]=ed(w,U,ne),we[Ve+2]=Kh(w,ne)}function rd(w,U,ne,we,Ve){var Xe=ed(w,U,ne);U=Xe<<3&224|td(w,U)>>3,we[Ve+0]=248&Kh(w,ne)|Xe>>5,we[Ve+1]=U}function nd(w,U,ne,we,Ve){var Xe=240&td(w,U)|15;we[Ve+0]=240&Kh(w,ne)|ed(w,U,ne)>>4,we[Ve+1]=Xe}function kp(w,U,ne,we,Ve){we[Ve+0]=255,zh(w,U,ne,we,Ve+1)}function Rp(w,U,ne,we,Ve){jA(w,U,ne,we,Ve),we[Ve+3]=255}function Il(w,U,ne,we,Ve){zh(w,U,ne,we,Ve),we[Ve+3]=255}function $0(w,U,ne){Mt[w]=function(we,Ve,Xe,Je,ot,dt,Tt,sr,Dr){for(var Ft=sr+(-2&Dr)*ne;sr!=Ft;)U(we[Ve+0],Xe[Je+0],ot[dt+0],Tt,sr),U(we[Ve+1],Xe[Je+0],ot[dt+0],Tt,sr+ne),Ve+=2,++Je,++dt,sr+=2*ne;1&Dr&&U(we[Ve+0],Xe[Je+0],ot[dt+0],Tt,sr)}}function Yd(w,U,ne){return ne==0?w==0?U==0?6:5:U==0?4:0:ne}function p1(w,U,ne,we,Ve){switch(w>>>30){case 3:od(U,ne,we,Ve,0);break;case 2:Yu(U,ne,we,Ve);break;case 1:sa(U,ne,we,Ve)}}function $u(w,U){var ne,we,Ve=U.M,Xe=U.Nb,Je=w.oc,ot=w.pc+40,dt=w.oc,Tt=w.pc+584,sr=w.oc,Dr=w.pc+600;for(ne=0;16>ne;++ne)Je[ot+32*ne-1]=129;for(ne=0;8>ne;++ne)dt[Tt+32*ne-1]=129,sr[Dr+32*ne-1]=129;for(0ne;++ne)c(Je,ot+32*ne-4,Je,ot+32*ne+12,4);for(ne=-1;8>ne;++ne)c(dt,Tt+32*ne-4,dt,Tt+32*ne+4,4),c(sr,Dr+32*ne-4,sr,Dr+32*ne+4,4)}var hr=w.Gd,Br=w.Hd+we,Xr=Ft.ad,Tr=Ft.Hc;if(0=w.za-1?d(tn,nn,hr[Br].y[15],4):c(tn,nn,hr[Br+1].y,0,4)),ne=0;4>ne;ne++)tn[nn+128+ne]=tn[nn+256+ne]=tn[nn+384+ne]=tn[nn+0+ne];for(ne=0;16>ne;++ne,Tr<<=2)tn=Je,nn=ot+Mg[ne],wc[Ft.Ob[ne]](tn,nn),p1(Tr,Xr,16*+ne,tn,nn)}else if(tn=Yd(we,Ve,Ft.Ob[0]),Xh[tn](Je,ot),Tr!=0)for(ne=0;16>ne;++ne,Tr<<=2)p1(Tr,Xr,16*+ne,Je,ot+Mg[ne]);for(ne=Ft.Gc,tn=Yd(we,Ve,Ft.Dd),q0[tn](dt,Tt),q0[tn](sr,Dr),Tr=Xr,tn=dt,nn=Tt,255&(Ft=0|ne)&&(170&Ft?Jc(Tr,256,tn,nn):_a(Tr,256,tn,nn)),Ft=sr,Tr=Dr,255&(ne>>=8)&&(170&ne?Jc(Xr,320,Ft,Tr):_a(Xr,320,Ft,Tr)),Vene;++ne)c(hr,Br+ne*w.R,Je,ot+32*ne,16);for(ne=0;8>ne;++ne)c(Xr,Ft+ne*w.B,dt,Tt+32*ne,8),c(Tr,tn+ne*w.B,sr,Dr+32*ne,8)}}function id(w,U,ne,we,Ve,Xe,Je,ot,dt){var Tt=[0],sr=[0],Dr=0,Ft=dt!=null?dt.kd:0,hr=dt!=null?dt:new un;if(w==null||12>ne)return 7;hr.data=w,hr.w=U,hr.ha=ne,U=[U],ne=[ne],hr.gb=[hr.gb];e:{var Br=U,Xr=ne,Tr=hr.gb;if(a(w!=null),a(Xr!=null),a(Tr!=null),Tr[0]=0,12<=Xr[0]&&!s(w,Br[0],"RIFF")){if(s(w,Br[0]+8,"WEBP")){Tr=3;break e}var tn=wi(w,Br[0]+4);if(12>tn||4294967286Xr[0]-8){Tr=7;break e}Tr[0]=tn,Br[0]+=12,Xr[0]-=12}Tr=0}if(Tr!=0)return Tr;for(tn=0Tr[0])Tr=7;else{if(!s(nn,Xr[0],"VP8X")){if(wi(nn,Xr[0]+4)!=10){Tr=3;break e}if(18>Tr[0]){Tr=7;break e}var Xn=wi(nn,Xr[0]+8),ls=1+Qn(nn,Xr[0]+12);if(2147483648<=ls*(nn=1+Qn(nn,Xr[0]+15))){Tr=3;break e}ci!=null&&(ci[0]=Xn),vn!=null&&(vn[0]=ls),cn!=null&&(cn[0]=nn),Xr[0]+=18,Tr[0]-=18,si[0]=1}Tr=0}}if(Dr=Dr[0],Br=Br[0],Tr!=0)return Tr;if(Xr=!!(2&Br),!tn&&Dr)return 3;if(Xe!=null&&(Xe[0]=!!(16&Br)),Je!=null&&(Je[0]=Xr),ot!=null&&(ot[0]=0),Je=Tt[0],Br=sr[0],Dr&&Xr&&dt==null){Tr=0;break}if(4>ne){Tr=7;break}if(tn&&Dr||!tn&&!Dr&&!s(w,U[0],"ALPH")){ne=[ne],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{Xn=w,Tr=U,tn=ne;var si=hr.gb;vn=hr.na,cn=hr.P,ci=hr.Sa,ls=22,a(Xn!=null),a(tn!=null),nn=Tr[0];var Rs=tn[0];for(a(vn!=null),a(ci!=null),vn[0]=null,cn[0]=null,ci[0]=0;;){if(Tr[0]=nn,tn[0]=Rs,8>Rs){Tr=7;break e}var aA=wi(Xn,nn+4);if(4294967286si){Tr=3;break e}if(!s(Xn,nn,"VP8 ")||!s(Xn,nn,"VP8L")){Tr=0;break e}if(Rs[0]tn[0])Tr=7;else{if(nn||ls){if(si=wi(si,Xn+4),12<=vn&&si>vn-12){Tr=3;break e}if(Ft&&si>tn[0]-8){Tr=7;break e}cn[0]=si,Tr[0]+=8,tn[0]-=8,ci[0]=ls}else ci[0]=5<=tn[0]&&si[Xn+0]==47&&!(si[Xn+4]>>5),cn[0]=tn[0];Tr=0}if(ne=ne[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],U=U[0],Tr!=0)break;if(4294967286ne){Tr=7;break}ot=Je,Ft=Br,Xr=Xe,w==null||5>ne?w=0:5<=ne&&w[U+0]==47&&!(w[U+4]>>5)?(tn=[0],si=[0],vn=[0],$r(cn=new Ut,w,U,ne),N0(cn,tn,si,vn)?(ot!=null&&(ot[0]=tn[0]),Ft!=null&&(Ft[0]=si[0]),Xr!=null&&(Xr[0]=vn[0]),w=1):w=0):w=0}else{if(10>ne){Tr=7;break}ot=Br,w==null||10>ne||!i1(w,U+3,ne-3)?w=0:(Ft=w[U+0]|w[U+1]<<8|w[U+2]<<16,Xr=16383&(w[U+7]<<8|w[U+6]),w=16383&(w[U+9]<<8|w[U+8]),1&Ft||3<(Ft>>1&7)||!(Ft>>4&1)||Ft>>5>=hr.Ja||!Xr||!w?w=0:(Je&&(Je[0]=Xr),ot&&(ot[0]=w),w=1))}if(!w||(Je=Je[0],Br=Br[0],Dr&&(Tt[0]!=Je||sr[0]!=Br)))return 3;dt!=null&&(dt[0]=hr,dt.offset=U-dt.w,a(4294967286>U-dt.w),a(dt.offset==dt.ha-ne));break}return Tr==0||Tr==7&&Dr&&dt==null?(Xe!=null&&(Xe[0]|=hr.na!=null&&0ne||(Xe&=-2,Je&=-2),0>Xe||0>Je||0>=ot||0>=dt||Xe+ot>we||Je+dt>Ve))return 0;if(U.v=Xe,U.j=Je,U.va=Xe+ot,U.o=Je+dt,U.U=ot,U.T=dt,U.da=w!=null&&0w.S){var U=w.f.RGBA;U.fb+=(w.height-1)*U.A,U.A=-U.A}else U=w.f.kb,w=w.height,U.O+=(w-1)*U.fa,U.fa=-U.fa,U.N+=(w-1>>1)*U.Ab,U.Ab=-U.Ab,U.W+=(w-1>>1)*U.Db,U.Db=-U.Db,U.F!=null&&(U.J+=(w-1)*U.lb,U.lb=-U.lb);return 0}function Gh(w,U,ne,we){if(we==null||0>=w||0>=U)return 2;if(ne!=null){if(ne.Da){var Ve=ne.cd,Xe=ne.bd,Je=-2&ne.v,ot=-2&ne.j;if(0>Je||0>ot||0>=Ve||0>=Xe||Je+Ve>w||ot+Xe>U)return 2;w=Ve,U=Xe}if(ne.da){if(!ki(w,U,Ve=[ne.ib],Xe=[ne.hb]))return 2;w=Ve[0],U=Xe[0]}}we.width=w,we.height=U;e:{var dt=we.width,Tt=we.height;if(w=we.S,0>=dt||0>=Tt||!(w>=y1&&13>w))w=2;else{if(0>=we.Rd&&we.sd==null){Je=Xe=Ve=U=0;var sr=(ot=dt*Qg[w])*Tt;if(11>w||(Xe=(Tt+1)/2*(U=(dt+1)/2),w==12&&(Je=(Ve=dt)*Tt)),(Tt=m(sr+2*Xe+Je))==null){w=1;break e}we.sd=Tt,11>w?((dt=we.f.RGBA).eb=Tt,dt.fb=0,dt.A=ot,dt.size=sr):((dt=we.f.kb).y=Tt,dt.O=0,dt.fa=ot,dt.Fd=sr,dt.f=Tt,dt.N=0+sr,dt.Ab=U,dt.Cd=Xe,dt.ea=Tt,dt.W=0+sr+Xe,dt.Db=U,dt.Ed=Xe,w==12&&(dt.F=Tt,dt.J=0+sr+2*Xe),dt.Tc=Je,dt.lb=Ve)}if(U=1,Ve=we.S,Xe=we.width,Je=we.height,Ve>=y1&&13>Ve)if(11>Ve)w=we.f.RGBA,U&=(ot=Math.abs(w.A))*(Je-1)+Xe<=w.size,U&=ot>=Xe*Qg[Ve],U&=w.eb!=null;else{w=we.f.kb,ot=(Xe+1)/2,sr=(Je+1)/2,dt=Math.abs(w.fa),Tt=Math.abs(w.Ab);var Dr=Math.abs(w.Db),Ft=Math.abs(w.lb),hr=Ft*(Je-1)+Xe;U&=dt*(Je-1)+Xe<=w.Fd,U&=Tt*(sr-1)+ot<=w.Cd,U=(U&=Dr*(sr-1)+ot<=w.Ed)&dt>=Xe&Tt>=ot&Dr>=ot,U&=w.y!=null,U&=w.f!=null,U&=w.ea!=null,Ve==12&&(U&=Ft>=Xe,U&=hr<=w.Tc,U&=w.F!=null)}else U=0;w=U?0:2}}return w!=0||ne!=null&&ne.fd&&(w=Pp(we)),w}var sd=64,yu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],_u=24,Vh=32,Y0=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ei("Predictor0","PredictorAdd0"),Mt.Predictor0=function(){return 4278190080},Mt.Predictor1=function(w){return w},Mt.Predictor2=function(w,U,ne){return U[ne+0]},Mt.Predictor3=function(w,U,ne){return U[ne+1]},Mt.Predictor4=function(w,U,ne){return U[ne-1]},Mt.Predictor5=function(w,U,ne){return Bi(Bi(w,U[ne+1]),U[ne+0])},Mt.Predictor6=function(w,U,ne){return Bi(w,U[ne-1])},Mt.Predictor7=function(w,U,ne){return Bi(w,U[ne+0])},Mt.Predictor8=function(w,U,ne){return Bi(U[ne-1],U[ne+0])},Mt.Predictor9=function(w,U,ne){return Bi(U[ne+0],U[ne+1])},Mt.Predictor10=function(w,U,ne){return Bi(Bi(w,U[ne-1]),Bi(U[ne+0],U[ne+1]))},Mt.Predictor11=function(w,U,ne){var we=U[ne+0];return 0>=es(we>>24&255,w>>24&255,(U=U[ne-1])>>24&255)+es(we>>16&255,w>>16&255,U>>16&255)+es(we>>8&255,w>>8&255,U>>8&255)+es(255&we,255&w,255&U)?we:w},Mt.Predictor12=function(w,U,ne){var we=U[ne+0];return(na((w>>24&255)+(we>>24&255)-((U=U[ne-1])>>24&255))<<24|na((w>>16&255)+(we>>16&255)-(U>>16&255))<<16|na((w>>8&255)+(we>>8&255)-(U>>8&255))<<8|na((255&w)+(255&we)-(255&U)))>>>0},Mt.Predictor13=function(w,U,ne){var we=U[ne-1];return(Is((w=Bi(w,U[ne+0]))>>24&255,we>>24&255)<<24|Is(w>>16&255,we>>16&255)<<16|Is(w>>8&255,we>>8&255)<<8|Is(255&w,255&we))>>>0};var Op=Mt.PredictorAdd0;Mt.PredictorAdd1=ks,ei("Predictor2","PredictorAdd2"),ei("Predictor3","PredictorAdd3"),ei("Predictor4","PredictorAdd4"),ei("Predictor5","PredictorAdd5"),ei("Predictor6","PredictorAdd6"),ei("Predictor7","PredictorAdd7"),ei("Predictor8","PredictorAdd8"),ei("Predictor9","PredictorAdd9"),ei("Predictor10","PredictorAdd10"),ei("Predictor11","PredictorAdd11"),ei("Predictor12","PredictorAdd12"),ei("Predictor13","PredictorAdd13");var Zd=Mt.PredictorAdd2;pi("ColorIndexInverseTransform","MapARGB","32b",function(w){return w>>8&255},function(w){return w}),pi("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(w){return w},function(w){return w>>8&255});var So,g1=Mt.ColorIndexInverseTransform,qc=Mt.MapARGB,Xc=Mt.VP8LColorIndexInverseTransformAlpha,Np=Mt.MapAlpha,Mp=Mt.VP8LPredictorsAdd=[];Mp.length=16,(Mt.VP8LPredictors=[]).length=16,(Mt.VP8LPredictorsAdd_C=[]).length=16,(Mt.VP8LPredictors_C=[]).length=16;var Qp,Hp,$h,Yh,Zh,ad,qh,od,Yu,Jc,sa,_a,Io,sA,Z0,jp,qd,m1,dg,pg,gg,mg,vg,yg,Kp,_g,wg,bg,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Z1=Bg,v1=xg,wu=Cg,Zu=Eg,y1=0,_1=1,Ig=2,w1=3,b1=4,q1=5,Tg=6,X1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Fg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Am=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,lm=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Lg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Xh=[],wc=[],q0=[],pm=1,Dg=2,Jh=[],qu=[];W0("UpsampleRgbLinePair",zh,3),W0("UpsampleBgrLinePair",jA,3),W0("UpsampleRgbaLinePair",Il,4),W0("UpsampleBgraLinePair",Rp,4),W0("UpsampleArgbLinePair",kp,4),W0("UpsampleRgba4444LinePair",nd,2),W0("UpsampleRgb565LinePair",rd,2);var gm=Mt.UpsampleRgbLinePair,mm=Mt.UpsampleBgrLinePair,kg=Mt.UpsampleRgbaLinePair,Rg=Mt.UpsampleBgraLinePair,Ug=Mt.UpsampleArgbLinePair,Pg=Mt.UpsampleRgba4444LinePair,vm=Mt.UpsampleRgb565LinePair,B1=16,x1=1<we.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),we.ca.f.kb.F!=null&&_c()),we.Pb&&0(dt=ne.Md)?0:100Tt;++Tt)12>(Dr=Ve.pb[Tt]).lc&&(Dr.ia=dt*Cm[0>Dr.lc?0:Dr.lc]>>3),sr|=Dr.ia;sr&&(alert("todo:VP8InitRandom"),Ve.ia=1)}Ve.Ga=ne.Id,100Ve.Ga&&(Ve.Ga=0)}(function(Ft,hr){if(Ft==null)return 0;if(hr==null)return Vo(Ft,2,"NULL VP8Io parameter in VP8Decode().");if(!Ft.cb&&!Yc(Ft,hr))return 0;if(a(Ft.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(Ft.L=0);var Br=C1[Ft.L];if(Ft.L==2?(Ft.yb=0,Ft.zb=0):(Ft.yb=hr.v-Br>>4,Ft.zb=hr.j-Br>>4,0>Ft.yb&&(Ft.yb=0),0>Ft.zb&&(Ft.zb=0)),Ft.Va=hr.o+15+Br>>4,Ft.Hb=hr.va+15+Br>>4,Ft.Hb>Ft.za&&(Ft.Hb=Ft.za),Ft.Va>Ft.Ub&&(Ft.Va=Ft.Ub),0Br;++Br){var Tr;if(Ft.Qa.Cb){var tn=Ft.Qa.Lb[Br];Ft.Qa.Fb||(tn+=Xr.Tb)}else tn=Xr.Tb;for(Tr=0;1>=Tr;++Tr){var nn=Ft.gd[Br][Tr],vn=tn;if(Xr.Pc&&(vn+=Xr.vd[0],Tr&&(vn+=Xr.od[0])),0<(vn=0>vn?0:63>2:cn>>1)>9-Xr.wb&&(cn=9-Xr.wb),1>cn&&(cn=1),nn.dd=cn,nn.tc=2*vn+cn,nn.ld=40<=vn?2:15<=vn?1:0}else nn.tc=0;nn.La=Tr}}}Br=0}else Vo(Ft,6,"Frame setup failed"),Br=Ft.a;if(Br=Br==0){if(Br){Ft.$c=0,0Ft.Vb){if(Ft.Vb=0,Ft.Ec=m(nn),Ft.Fc=0,Ft.Ec==null){Br=Vo(Ft,1,"no memory during frame initialization.");break t}Ft.Vb=nn}nn=Ft.Ec,vn=Ft.Fc,Ft.Ac=nn,Ft.Bc=vn,vn+=Xr,Ft.Gd=W(ci,r1),Ft.Hd=0,Ft.rb=W(Xn+1,bp),Ft.sb=1,Ft.wa=ls?W(ls,Vu):null,Ft.Y=0,Ft.D.Nb=0,Ft.D.wa=Ft.wa,Ft.D.Y=Ft.Y,0=Br;++Br)Eg[255+Br]=0>Br?-Br:Br;for(Br=-1020;1020>=Br;++Br)Bg[1020+Br]=-128>Br?-128:127=Br;++Br)xg[112+Br]=-16>Br?-16:15=Br;++Br)Cg[255+Br]=0>Br?0:255Ms;++Ms){var oA,Gs=Tl[0+Ms];for(oA=0;4>oA;++oA){Gs=hm[Ha[KA+oA]][Gs];for(var Aa=Lg[sn(rs,Gs[0])];0>3;for(Aa=0;256>Aa;Aa+=16)Ms[ul+Aa]=Zl}zA=1,bc=KA[0]}var wa=15&rs.la,AA=15&Fl.la;for(Aa=0;4>Aa;++Aa){var bu=1&AA;for(Zl=la=0;4>Zl;++Zl)wa=wa>>1|(bu=(Fo=zp(Ha,bc,Fo=bu+(1&wa),go.Sc,zA,Ms,ul))>zA)<<7,la=la<<2|(3>=4,AA=AA>>1|bu<<7,oA=(oA<<8|la)>>>0}for(bc=wa,zA=AA>>4,mo=0;4>mo;mo+=2){for(la=0,wa=rs.la>>4+mo,AA=Fl.la>>4+mo,Aa=0;2>Aa;++Aa){for(bu=1&AA,Zl=0;2>Zl;++Zl)Fo=bu+(1&wa),wa=wa>>1|(bu=0<(Fo=zp(Ha,KA[2],Fo,go.Qc,0,Ms,ul)))<<3,la=la<<2|(3>=2,AA=AA>>1|bu<<5}Gs|=la<<4*mo,bc|=wa<<4<=ai.zb&&ai.M<=ai.Va,ai.Aa==0)t:{if(us.M=ai.M,us.uc=rs,$u(ai,us),To=1,us=(la=ai.D).Nb,rs=(Gs=C1[ai.L])*ai.R,Ha=Gs/2*ai.B,Aa=16*us*ai.R,Zl=8*us*ai.B,KA=ai.sa,Tl=ai.ta-rs+Aa,go=ai.qa,Ms=ai.ra-Ha+Zl,ul=ai.Ha,Fl=ai.Ia-Ha+Zl,AA=(wa=la.M)==0,oA=wa>=ai.Va-1,ai.Aa==2&&$u(ai,la),la.uc)for(bu=(Fo=ai).D.M,a(Fo.D.uc),la=Fo.yb;laRn.o&&(wa=Rn.o),Rn.F=null,Rn.J=null,ai.Fa!=null&&0>1),Rn.W+=ai.B*(Gs>>1),Rn.F!=null&&(Rn.J+=Rn.width*Gs)),la>1,Rn.W+=Rn.v>>1,Rn.F!=null&&(Rn.J+=Rn.v),Rn.ka=la-Rn.j,Rn.U=Rn.va-Rn.v,Rn.T=wa-la,To=Rn.put(Rn))}us+1!=ai.Ic||oA||(c(ai.sa,ai.ta-rs,KA,Tl+16*ai.R,rs),c(ai.qa,ai.ra-Ha,go,Ms+8*ai.B,Ha),c(ai.Ha,ai.Ia-Ha,ul,Fl+8*ai.B,Ha))}if(!To)return Vo(Rs,6,"Output aborted.")}return 1}(Ft,hr)),hr.bc!=null&&hr.bc(hr),Br&=1}return Br?(Ft.cb=0,Br):0})(w,we)||(U=w.a)}}else U=w.a}U==0&&Je.Oa!=null&&Je.Oa.fd&&(U=Pp(Je.ba))}Je=U}Xe=Je!=0?null:11>Xe?ot.f.RGBA.eb:ot.f.kb.y}else Xe=null;return Xe};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function J(Mt,Er){for(var tt="",Ct=0;Ct<4;Ct++)tt+=String.fromCharCode(Mt[Er++]);return tt}function he(Mt,Er){return Mt[Er+0]|Mt[Er+1]<<8}function Ne(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16)>>>0}function Ye(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16|Mt[Er+3]<<24)>>>0}new $;var ce=[0],wt=[0],pt=[],bt=new $,rt=n,Yt=function(Mt,Er){var tt={},Ct=0,Xt=!1,Gt=0,Ur=0;if(tt.frames=[],!function(et,Ut){for(var Ht=0;Ht<4;Ht++)if(et[Ut+Ht]!="RIFF".charCodeAt(Ht))return!0;return!1}(Mt,Er)){for(Ye(Mt,Er+=4),Er+=8;Er>1&1}Mr!="ANMF"&&(Er+=Lr)}return tt}}(rt,0);Yt.response=rt,Yt.rgbaoutput=!0,Yt.dataurl=!1;var jt=Yt.header?Yt.header:null,Pt=Yt.frames?Yt.frames:null;if(jt){jt.loop_counter=jt.loop_count,ce=[jt.canvas_height],wt=[jt.canvas_width];for(var kr=0;kr=2?St[1]:jn[0],jn[2]=St.length>=3?St[2]:jn[0],jn[3]=St.length>=4?St[3]:jn[1]),J.margin=jn}});var Hr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Hr},set:function(St){Hr=St}});var Gr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Gr},set:function(St){Gr=St}});var sn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return sn},set:function(St){sn=St}}),Object.defineProperty(this,"ctx",{get:function(){return J},set:function(St){St instanceof he&&(J=St)}}),Object.defineProperty(this,"path",{get:function(){return J.path},set:function(St){J.path=St}});var yn=[];Object.defineProperty(this,"ctxStack",{get:function(){return yn},set:function(St){yn=St}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(St){var jn;jn=Ye(St),this.ctx.fillStyle=jn.style,this.ctx.isFillTransparent=jn.a===0,this.ctx.fillOpacity=jn.a,this.pdf.setFillColor(jn.r,jn.g,jn.b,{a:jn.a}),this.pdf.setTextColor(jn.r,jn.g,jn.b,{a:jn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(St){var jn=Ye(St);this.ctx.strokeStyle=jn.style,this.ctx.isStrokeTransparent=jn.a===0,this.ctx.strokeOpacity=jn.a,jn.a===0?this.pdf.setDrawColor(255,255,255):(jn.a,this.pdf.setDrawColor(jn.r,jn.g,jn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(St){["butt","round","square"].indexOf(St)!==-1&&(this.ctx.lineCap=St,this.pdf.setLineCap(St))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(St){isNaN(St)||(this.ctx.lineWidth=St,this.pdf.setLineWidth(St))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(St){["bevel","round","miter"].indexOf(St)!==-1&&(this.ctx.lineJoin=St,this.pdf.setLineJoin(St))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(St){isNaN(St)||(this.ctx.miterLimit=St,this.pdf.setMiterLimit(St))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(St){this.ctx.textBaseline=St}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(St){["right","end","center","left","start"].indexOf(St)!==-1&&(this.ctx.textAlign=St)}});var Hn=null,Qn=null,wi=null;Object.defineProperty(this,"fontFaces",{get:function(){return wi},set:function(St){Hn=null,Qn=null,wi=St}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(St){var jn;if(this.ctx.font=St,(jn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(St))!==null){var ds=jn[1];jn[2];var ki=jn[3],gn=jn[4];jn[5];var Ri=jn[6],ei=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(gn)[2];gn=Math.floor(ei==="px"?parseFloat(gn)*this.pdf.internal.scaleFactor:ei==="em"?parseFloat(gn)*this.pdf.getFontSize():parseFloat(gn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(gn);var Ti=function(pi){var Co,Ks,ms=[],vs=pi.trim();if(vs==="")return F;if(vs in Wl)return[Wl[vs]];for(;vs!=="";){switch(Ks=null,Co=(vs=tA(vs)).charAt(0)){case'"':case"'":Ks=l(vs.substring(1),Co);break;default:Ks=e(vs)}if(Ks===null||(ms.push(Ks[0]),(vs=tA(Ks[1]))!==""&&vs.charAt(0)!==","))return F;vs=vs.replace(/^,/,"")}return ms}(Ri);if(this.fontFaces){var Bi=function(pi,Co){var Ks=pi.getFontList(),ms=JSON.stringify(Ks);if(Hn===null||Qn!==ms){var vs=function(Ga){var Ci=[];return Object.keys(Ga).forEach(function(Fa){Ga[Fa].forEach(function(Mi){var ts=null;switch(Mi){case"bold":ts={family:Fa,weight:"bold"};break;case"italic":ts={family:Fa,style:"italic"};break;case"bolditalic":ts={family:Fa,weight:"bold",style:"italic"};break;case"":case"normal":ts={family:Fa}}ts!==null&&(ts.ref={name:Fa,style:Mi},Ci.push(ts))})}),Ci}(Ks);Hn=function(Ga){for(var Ci={},Fa=0;Fa=700||ds==="bold")&&(es="bold"),ds==="italic"&&(es+="italic"),es.length===0&&(es="normal");for(var ks="",Ts={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},li=0;li=2*Math.PI&&(tr=0,fr=2*Math.PI),this.path.push({type:"arc",x:et,y:Ut,radius:Ht,startAngle:tr,endAngle:fr,counterclockwise:Cr})},Ne.prototype.arcTo=function(et,Ut,Ht,tr,fr){throw new Error("arcTo not implemented.")},Ne.prototype.rect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et+Ht,Ut+tr),this.lineTo(et,Ut+tr),this.lineTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et,Ut)},Ne.prototype.fillRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ce.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(et,Ut,Ht,tr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Ne.prototype.strokeRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");wt.call(this)||(this.beginPath(),this.rect(et,Ut,Ht,tr),this.stroke())},Ne.prototype.clearRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(et,Ut,Ht,tr))},Ne.prototype.save=function(et){et=typeof et!="boolean"||et;for(var Ut=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ne.prototype.drawImage=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr,sn){var yn=this.pdf.getImageProperties(et),Hn=1,Qn=1,wi=1,St=1;tr!==void 0&&Gr!==void 0&&(wi=Gr/tr,St=sn/fr,Hn=yn.width/tr*Gr/tr,Qn=yn.height/fr*sn/fr),Cr===void 0&&(Cr=Ut,Hr=Ht,Ut=0,Ht=0),tr!==void 0&&Gr===void 0&&(Gr=tr,sn=fr),tr===void 0&&Gr===void 0&&(Gr=yn.width,sn=yn.height);var jn=this.ctx.transform.decompose(),ds=Lr(jn.rotate.shx),ki=new $,gn=(ki=(ki=(ki=ki.multiply(jn.translate)).multiply(jn.skew)).multiply(jn.scale)).applyToRectangle(new O(Cr-Ut*wi,Hr-Ht*St,tr*Hn,fr*Qn));if(this.autoPaging){for(var Ri,ei=bt.call(this,gn),Ti=[],Bi=0;Bina||esgn||ei0)){for(;sn>=0;sn--)if(fr[sn-1].close!==!0&&fr[sn-1].begin!==!0){fr[sn-1].deltas.push(Ht),fr[sn-1].abs.push(Gr);break}}break;case"bct":Ht=[Gr.x1-Cr[Hr-1].x,Gr.y1-Cr[Hr-1].y,Gr.x2-Cr[Hr-1].x,Gr.y2-Cr[Hr-1].y,Gr.x-Cr[Hr-1].x,Gr.y-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"qct":var yn=Cr[Hr-1].x+2/3*(Gr.x1-Cr[Hr-1].x),Hn=Cr[Hr-1].y+2/3*(Gr.y1-Cr[Hr-1].y),Qn=Gr.x+2/3*(Gr.x1-Gr.x),wi=Gr.y+2/3*(Gr.y1-Gr.y),St=Gr.x,jn=Gr.y;Ht=[yn-Cr[Hr-1].x,Hn-Cr[Hr-1].y,Qn-Cr[Hr-1].x,wi-Cr[Hr-1].y,St-Cr[Hr-1].x,jn-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Gr)}}tr=Ut?null:et==="stroke"?"stroke":"fill";for(var ds=!1,ki=0;ki=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale);var as=this.autoPaging!=="text";if(as||li.y+li.h<=Bi){if(as||li.y>=ei&&li.x<=Is){var pi=as?et.text:this.pdf.splitTextToSize(et.text,et.maxWidth||Is-li.x)[0],Co=Yt([JSON.parse(JSON.stringify(Qn))],this.posX+this.margin[3],-ks+ei+this.ctx.prevPageLastElemOffset)[0],Ks=as&&(Ri>ki||Ri=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)}}else et.scale>=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale),this.pdf.text(et.text,sn.x+this.posX,sn.y+this.posY,{angle:et.angle,align:Ut,renderingMode:et.renderingMode,maxWidth:et.maxWidth}),et.scale>=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)},Xt=function(et,Ut,Ht,tr){Ht=Ht||0,tr=tr||0,this.pdf.internal.out(s(et+Ht)+" "+c(Ut+tr)+" l")},Gt=function(et,Ut,Ht){return this.pdf.lines(et,Ut,Ht,null,null)},Ur=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){this.pdf.internal.out([a(d(Ht+et)),a(m(tr+Ut)),a(d(fr+et)),a(m(Cr+Ut)),a(d(Hr+et)),a(m(Gr+Ut)),"c"].join(" "))},Mr=function(et,Ut,Ht,tr){for(var fr=2*Math.PI,Cr=Math.PI/2;Ut>Ht;)Ut-=fr;var Hr=Math.abs(Ht-Ut);Hr1e-5;){var Hn=yn+sn*Math.min(Hr,Cr);Gr.push(Kr.call(this,et,yn,Hn)),Hr-=Math.abs(Hn-yn),yn=Hn}return Gr},Kr=function(et,Ut,Ht){var tr=(Ht-Ut)/2,fr=et*Math.cos(tr),Cr=et*Math.sin(tr),Hr=fr,Gr=-Cr,sn=Hr*Hr+Gr*Gr,yn=sn+Hr*fr+Gr*Cr,Hn=4/3*(Math.sqrt(2*sn*yn)-yn)/(Hr*Cr-Gr*fr),Qn=Hr-Hn*Gr,wi=Gr+Hn*Hr,St=Qn,jn=-wi,ds=tr+Ut,ki=Math.cos(ds),gn=Math.sin(ds);return{x1:et*Math.cos(Ut),y1:et*Math.sin(Ut),x2:Qn*ki-wi*gn,y2:Qn*gn+wi*ki,x3:St*ki-jn*gn,y3:St*gn+jn*ki,x4:et*Math.cos(Ht),y4:et*Math.sin(Ht)}},Lr=function(et){return 180*et/Math.PI},$r=function(et,Ut,Ht,tr,fr,Cr){var Hr=et+.5*(Ht-et),Gr=Ut+.5*(tr-Ut),sn=fr+.5*(Ht-fr),yn=Cr+.5*(tr-Cr),Hn=Math.min(et,fr,Hr,sn),Qn=Math.max(et,fr,Hr,sn),wi=Math.min(Ut,Cr,Gr,yn),St=Math.max(Ut,Cr,Gr,yn);return new O(Hn,wi,Qn-Hn,St-wi)},bn=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){var sn,yn,Hn,Qn,wi,St,jn,ds,ki,gn,Ri,ei,Ti,Bi,na=Ht-et,Is=tr-Ut,es=fr-Ht,ks=Cr-tr,Ts=Hr-fr,li=Gr-Cr;for(yn=0;yn<41;yn++)ki=(jn=(Hn=et+(sn=yn/40)*na)+sn*((wi=Ht+sn*es)-Hn))+sn*(wi+sn*(fr+sn*Ts-wi)-jn),gn=(ds=(Qn=Ut+sn*Is)+sn*((St=tr+sn*ks)-Qn))+sn*(St+sn*(Cr+sn*li-St)-ds),yn==0?(Ri=ki,ei=gn,Ti=ki,Bi=gn):(Ri=Math.min(Ri,ki),ei=Math.min(ei,gn),Ti=Math.max(Ti,ki),Bi=Math.max(Bi,gn));return new O(Math.round(Ri),Math.round(ei),Math.round(Ti-Ri),Math.round(Bi-ei))},ln=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var et,Ut,Ht=(et=this.ctx.lineDash,Ut=this.ctx.lineDashOffset,JSON.stringify({lineDash:et,lineDashOffset:Ut}));this.prevLineDash!==Ht&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ht)}}})(qn.API),function(n){var a=function(W){var O,$,J,he,Ne,Ye,ce,wt,pt,bt;for(/[^\x00-\xFF]/.test(W),$=[],J=0,he=(W+=O="\0\0\0\0".slice(W.length%4||4)).length;he>J;J+=4)(Ne=(W.charCodeAt(J)<<24)+(W.charCodeAt(J+1)<<16)+(W.charCodeAt(J+2)<<8)+W.charCodeAt(J+3))!==0?(Ye=(Ne=((Ne=((Ne=((Ne=(Ne-(bt=Ne%85))/85)-(pt=Ne%85))/85)-(wt=Ne%85))/85)-(ce=Ne%85))/85)%85,$.push(Ye+33,ce+33,wt+33,pt+33,bt+33)):$.push(122);return function(rt,Yt){for(var jt=Yt;jt>0;jt--)rt.pop()}($,O.length),String.fromCharCode.apply(String,$)+"~>"},s=function(W){var O,$,J,he,Ne,Ye=String,ce="length",wt=255,pt="charCodeAt",bt="slice",rt="replace";for(W[bt](-2),W=W[bt](0,-2)[rt](/\s/g,"")[rt]("z","!!!!!"),J=[],he=0,Ne=(W+=O="uuuuu"[bt](W[ce]%5||5))[ce];Ne>he;he+=5)$=52200625*(W[pt](he)-33)+614125*(W[pt](he+1)-33)+7225*(W[pt](he+2)-33)+85*(W[pt](he+3)-33)+(W[pt](he+4)-33),J.push(wt&$>>24,wt&$>>16,wt&$>>8,wt&$);return function(Yt,jt){for(var Pt=jt;Pt>0;Pt--)Yt.pop()}(J,O[ce]),Ye.fromCharCode.apply(Ye,J)},c=function(W){return W.split("").map(function(O){return("0"+O.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(W){var O=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((W=W.replace(/\s/g,"")).indexOf(">")!==-1&&(W=W.substr(0,W.indexOf(">"))),W.length%2&&(W+="0"),O.test(W)===!1)return"";for(var $="",J=0;Jpt&&(wt=bt,bt=pt,pt=wt);else{if(O!=="l"&&O!=="landscape")throw"Invalid orientation: "+O;O="l",pt>bt&&(wt=bt,bt=pt,pt=wt)}return{width:bt,height:pt,unit:$,k:Ne,orientation:O}},n.html=function(O,$){($=$||{}).callback=$.callback||function(){},$.html2canvas=$.html2canvas||{},$.html2canvas.canvas=$.html2canvas.canvas||this.canvas,$.jsPDF=$.jsPDF||this,$.fontFaces=$.fontFaces?$.fontFaces.map(Al):null;var J=new W($);return $.worker?J:J.from(O).doCallback()}}(qn.API),qn.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ce=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ce+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,d,m){var W={title:d,options:m,children:[]};return c==null&&(c=this.root),c.children.push(W),W},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(c.children[m-1])),m0&&(this.line("/First "+this.makeRef(W.children[0])),this.line("/Last "+this.makeRef(W.children[W.children.length-1])));var O=this.count=this.count_r({count:0},W);if(O>0&&this.line("/Count "+O),W.options&&W.options.pageNumber){var $=s.internal.getPageInfo(W.options.pageNumber);this.line("/Dest ["+$.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var J=0;J>"}),"transparency"in Ct&&Array.isArray(Ct.transparency)&&Ct.transparency.length>0){for(var Kr="",Lr=0,$r=Ct.transparency.length;Lr<$r;Lr++)Kr+=Ct.transparency[Lr]+" "+Ct.transparency[Lr]+" ";Mr.push({key:"Mask",value:"["+Kr+"]"})}Ct.sMask!==void 0&&Mr.push({key:"SMask",value:Ct.objectId+1+" 0 R"});var bn=Ct.filter!==void 0?["/"+Ct.filter]:void 0;if(Gt({data:Ct.data,additionalKeyValues:Mr,alreadyAppliedFilters:bn,objectId:Ct.objectId}),Xt("endobj"),"sMask"in Ct&&Ct.sMask!==void 0){var ln,et=(ln=Ct.sMaskBitsPerComponent)!==null&&ln!==void 0?ln:Ct.bitsPerComponent,Ut={width:Ct.width,height:Ct.height,colorSpace:"DeviceGray",bitsPerComponent:et,data:Ct.sMask};"filter"in Ct&&(Ut.decodeParameters="/Predictor ".concat(Ct.predictor," /Colors 1 /BitsPerComponent ").concat(et," /Columns ").concat(Ct.width),Ut.filter=Ct.filter),tt.call(this,Ut)}if(Ct.colorSpace===rt.INDEXED){var Ht=this.internal.newObject();Gt({data:Ar(new Uint8Array(Ct.palette)),objectId:Ht}),Xt("endobj")}},W=function(){var tt=this.internal.collections[a+"images"];for(var Ct in tt)m.call(this,tt[Ct])},O=function(){var tt,Ct=this.internal.collections[a+"images"],Xt=this.internal.write;for(var Gt in Ct)Xt("/I"+(tt=Ct[Gt]).index,tt.objectId,"0","R")},$=function(){this.internal.collections[a+"images"]||(this.internal.collections[a+"images"]={},this.internal.events.subscribe("putResources",W),this.internal.events.subscribe("putXobjectDict",O))},J=function(){var tt=this.internal.collections[a+"images"];return $.call(this),tt},he=function(){return Object.keys(this.internal.collections[a+"images"]).length},Ne=function(tt){return typeof n["process"+tt.toUpperCase()]=="function"},Ye=function(tt){return(0,Ie.Z)(tt)==="object"&&tt.nodeType===1},ce=function(tt,Ct){if(tt.nodeName==="IMG"&&tt.hasAttribute("src")){var Xt=""+tt.getAttribute("src");if(Xt.indexOf("data:image/")===0)return k0(unescape(Xt).split("base64,").pop());var Gt=n.loadFile(Xt,!0);if(Gt!==void 0)return Gt}if(tt.nodeName==="CANVAS"){if(tt.width===0||tt.height===0)throw new Error("Given canvas must have data. Canvas width: "+tt.width+", height: "+tt.height);var Ur;switch(Ct){case"PNG":Ur="image/png";break;case"WEBP":Ur="image/webp";break;default:Ur="image/jpeg"}return k0(tt.toDataURL(Ur,1).split("base64,").pop())}},wt=function(tt){var Ct=this.internal.collections[a+"images"];if(Ct){for(var Xt in Ct)if(tt===Ct[Xt].alias)return Ct[Xt]}},pt=function(tt,Ct,Xt){return tt||Ct||(tt=-96,Ct=-96),tt<0&&(tt=-1*Xt.width*72/tt/this.internal.scaleFactor),Ct<0&&(Ct=-1*Xt.height*72/Ct/this.internal.scaleFactor),tt===0&&(tt=Ct*Xt.width/Xt.height),Ct===0&&(Ct=tt*Xt.height/Xt.width),[tt,Ct]},bt=function(tt,Ct,Xt,Gt,Ur,Mr){var Kr=pt.call(this,Xt,Gt,Ur),Lr=this.internal.getCoordinateString,$r=this.internal.getVerticalCoordinateString,bn=J.call(this);if(Xt=Kr[0],Gt=Kr[1],bn[Ur.index]=Ur,Mr){Mr*=Math.PI/180;var ln=Math.cos(Mr),et=Math.sin(Mr),Ut=function(tr){return tr.toFixed(4)},Ht=[Ut(ln),Ut(et),Ut(-1*et),Ut(ln),0,0,"cm"]}this.internal.write("q"),Mr?(this.internal.write([1,"0","0",1,Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.internal.write(Ht.join(" ")),this.internal.write([Lr(Xt),"0","0",Lr(Gt),"0","0","cm"].join(" "))):this.internal.write([Lr(Xt),"0","0",Lr(Gt),Lr(tt),$r(Ct+Gt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+Ur.index+" Do"),this.internal.write("Q")},rt=n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Yt=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},jt=n.__addimage__.sHashCode=function(tt){var Ct,Xt,Gt=0;if(typeof tt=="string")for(Xt=tt.length,Ct=0;Ct>",pt.content=m;var jt=pt.objId+" 0 R";m="<>";else if(c.options.pageNumber)switch(m="<=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=1};var J=n.__arabicParser__.arabicLetterHasFinalForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length>=3};var he=n.__arabicParser__.arabicLetterHasMedialForm=function(pt){return W(pt)&&m(pt)&&a[pt.charCodeAt(0)].length==4},Ne=n.__arabicParser__.resolveLigatures=function(pt){var bt=0,rt=s,Yt="",jt=0;for(bt=0;bt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+a+" 0 R")})),this},function(n){var a=function(){var s=void 0;Object.defineProperty(this,"pdf",{get:function(){return s},set:function(O){s=O}});var c=150;Object.defineProperty(this,"width",{get:function(){return c},set:function(O){c=isNaN(O)||Number.isInteger(O)===!1||O<0?150:O,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=c+1)}});var d=300;Object.defineProperty(this,"height",{get:function(){return d},set:function(O){d=isNaN(O)||Number.isInteger(O)===!1||O<0?300:O,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=d+1)}});var m=[];Object.defineProperty(this,"childNodes",{get:function(){return m},set:function(O){m=O}});var W={};Object.defineProperty(this,"style",{get:function(){return W},set:function(O){W=O}}),Object.defineProperty(this,"parentNode",{})};a.prototype.getContext=function(s,c){var d;if((s=s||"2d")!=="2d")return null;for(d in c)this.pdf.context2d.hasOwnProperty(d)&&(this.pdf.context2d[d]=c[d]);return this.pdf.context2d._canvas=this,this.pdf.context2d},a.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new a,this.canvas.pdf=this}])}(qn.API),function(n){var a={left:0,top:0,bottom:0,right:0},s=!1,c=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},a),this.internal.__cell__.margins.width=this.getPageWidth(),d.call(this))},d=function(){this.internal.__cell__.lastCell=new m,this.internal.__cell__.pages=1},m=function(){var $=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return $},set:function(pt){$=pt}});var J=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return J},set:function(pt){J=pt}});var he=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return he},set:function(pt){he=pt}});var Ne=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ne},set:function(pt){Ne=pt}});var Ye=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Ye},set:function(pt){Ye=pt}});var ce=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ce},set:function(pt){ce=pt}});var wt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return wt},set:function(pt){wt=pt}}),this};m.prototype.clone=function(){return new m(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},m.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function($){return c.call(this),this.internal.__cell__.headerFunction=typeof $=="function"?$:void 0,this},n.getTextDimensions=function($,J){c.call(this);var he=(J=J||{}).fontSize||this.getFontSize(),Ne=J.font||this.getFont(),Ye=J.scaleFactor||this.internal.scaleFactor,ce=0,wt=0,pt=0,bt=this;if(!Array.isArray($)&&typeof $!="string"){if(typeof $!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");$=String($)}var rt=J.maxWidth;rt>0?typeof $=="string"?$=this.splitTextToSize($,rt):Object.prototype.toString.call($)==="[object Array]"&&($=$.reduce(function(jt,Pt){return jt.concat(bt.splitTextToSize(Pt,rt))},[])):$=Array.isArray($)?$:[$];for(var Yt=0;Yt<$.length;Yt++)ce<(pt=this.getStringUnitWidth($[Yt],{font:Ne})*he)&&(ce=pt);return ce!==0&&(wt=$.length),{w:ce/=Ye,h:Math.max((wt*he*this.getLineHeightFactor()-he*(this.getLineHeightFactor()-1))/Ye,0)}},n.cellAddPage=function(){c.call(this),this.addPage();var $=this.internal.__cell__.margins||a;return this.internal.__cell__.lastCell=new m($.left,$.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var W=n.cell=function(){var $;$=arguments[0]instanceof m?arguments[0]:new m(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),c.call(this);var J=this.internal.__cell__.lastCell,he=this.internal.__cell__.padding,Ne=this.internal.__cell__.margins||a,Ye=this.internal.__cell__.tableHeaderRow,ce=this.internal.__cell__.printHeaders;return J.lineNumber!==void 0&&(J.lineNumber===$.lineNumber?($.x=(J.x||0)+(J.width||0),$.y=J.y||0):J.y+J.height+$.height+Ne.bottom>this.getPageHeight()?(this.cellAddPage(),$.y=Ne.top,ce&&Ye&&(this.printHeaderRow($.lineNumber,!0),$.y+=Ye[0].height)):$.y=J.y+J.height||$.y),$.text[0]!==void 0&&(this.rect($.x,$.y,$.width,$.height,s===!0?"FD":void 0),$.align==="right"?this.text($.text,$.x+$.width-he,$.y+he,{align:"right",baseline:"top"}):$.align==="center"?this.text($.text,$.x+$.width/2,$.y+he,{align:"center",baseline:"top",maxWidth:$.width-he-he}):this.text($.text,$.x+he,$.y+he,{align:"left",baseline:"top",maxWidth:$.width-he-he})),this.internal.__cell__.lastCell=$,this};n.table=function($,J,he,Ne,Ye){if(c.call(this),!he)throw new Error("No data for PDF table.");var ce,wt,pt,bt,rt=[],Yt=[],jt=[],Pt={},kr={},Jr=[],Qr=[],Ar=(Ye=Ye||{}).autoSize||!1,Mt=Ye.printHeaders!==!1,Er=Ye.css&&Ye.css["font-size"]!==void 0?16*Ye.css["font-size"]:Ye.fontSize||12,tt=Ye.margins||Object.assign({width:this.getPageWidth()},a),Ct=typeof Ye.padding=="number"?Ye.padding:3,Xt=Ye.headerBackgroundColor||"#c8c8c8",Gt=Ye.headerTextColor||"#000";if(d.call(this),this.internal.__cell__.printHeaders=Mt,this.internal.__cell__.margins=tt,this.internal.__cell__.table_font_size=Er,this.internal.__cell__.padding=Ct,this.internal.__cell__.headerBackgroundColor=Xt,this.internal.__cell__.headerTextColor=Gt,this.setFontSize(Er),Ne==null)Yt=rt=Object.keys(he[0]),jt=rt.map(function(){return"left"});else if(Array.isArray(Ne)&&(0,Ie.Z)(Ne[0])==="object")for(rt=Ne.map(function(bn){return bn.name}),Yt=Ne.map(function(bn){return bn.prompt||bn.name||""}),jt=Ne.map(function(bn){return bn.align||"left"}),ce=0;ce0&&this.setTableHeaderRow(Ye),this.setFont(void 0,"normal"),s=!1}}(qn.API);var ao={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},vu=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Go=Ns(vu),eA=[100,200,300,400,500,600,700,800,900],pc=Ns(eA);function Al(n){var a=n.family.replace(/"|'/g,"").toLowerCase(),s=function(m){return ao[m=m||"normal"]?m:"normal"}(n.style),c=function(m){return m?typeof m=="number"?m>=100&&m<=900&&m%100==0?m:400:/^\d00$/.test(m)?parseInt(m):m==="bold"?700:400:400}(n.weight),d=function(m){return typeof Go[m=m||"normal"]=="number"?m:"normal"}(n.stretch);return{family:a,style:s,weight:c,stretch:d,src:n.src||[],ref:n.ref||{name:a,style:[d,s,c].join(" ")}}}function Sl(n,a,s,c){var d;for(d=s;d>=0&&d=0&&d>>1)&255}return d}function ke(n,a,s){var c=n.length,d=[];d[0]=4;for(var m=0;m>m&W}function zt(n,a,s,c){var d=s*c,m=Math.floor(d/8),W=16-(d-8*m+c),O=(1<>8&255;J.setUint8(he,Ye)}})(n,m,ir(n,m)&~(O<>7,W=1<<1+(7&d);n[a++],n[a++];var O=null,$=null;m&&(O=a,$=W,a+=3*W);var J=!0,he=[],Ne=0,Ye=null,ce=0,wt=null;for(this.width=s,this.height=c;J&&a=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;case 249:if(n[a++]!==4||n[a+4]!==0)throw new Error("Invalid graphics extension block.");var pt=n[a++];Ne=n[a++]|n[a++]<<8,Ye=n[a++],1&pt||(Ye=null),ce=pt>>2&7,a++;break;case 254:for(;;){if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}break;default:throw new Error("Unknown graphic control label: 0x"+n[a-1].toString(16))}break;case 44:var bt=n[a++]|n[a++]<<8,rt=n[a++]|n[a++]<<8,Yt=n[a++]|n[a++]<<8,jt=n[a++]|n[a++]<<8,Pt=n[a++],kr=Pt>>6&1,Jr=1<<1+(7&Pt),Qr=O,Ar=$,Mt=!1;Pt>>7&&(Mt=!0,Qr=a,Ar=Jr,a+=3*Jr);var Er=a;for(a++;;){var tt;if(!((tt=n[a++])>=0))throw Error("Invalid block size");if(tt===0)break;a+=tt}he.push({x:bt,y:rt,width:Yt,height:jt,has_local_palette:Mt,palette_offset:Qr,palette_size:Ar,data_offset:Er,data_length:a-Er,transparent_index:Ye,interlaced:!!kr,delay:Ne,disposal:ce});break;case 59:J=!1;break;default:throw new Error("Unknown gif block: 0x"+n[a-1].toString(16))}this.numFrames=function(){return he.length},this.loopCount=function(){return wt},this.frameInfo=function(Ct){if(Ct<0||Ct>=he.length)throw new Error("Frame index out of range.");return he[Ct]},this.decodeAndBlitFrameBGRA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=Hn,Xt[Ht++]=yn,Xt[Ht++]=sn,Xt[Ht++]=255}--ln}},this.decodeAndBlitFrameRGBA=function(Ct,Xt){var Gt=this.frameInfo(Ct),Ur=Gt.width*Gt.height,Mr=new Uint8Array(Ur);or(n,Gt.data_offset,Mr,Ur);var Kr=Gt.palette_offset,Lr=Gt.transparent_index;Lr===null&&(Lr=256);var $r=Gt.width,bn=s-$r,ln=$r,et=4*(Gt.y*s+Gt.x),Ut=4*((Gt.y+Gt.height)*s+Gt.x),Ht=et,tr=4*bn;Gt.interlaced===!0&&(tr+=4*s*7);for(var fr=8,Cr=0,Hr=Mr.length;Cr=Ut&&(tr=4*bn+4*s*(fr-1),Ht=et+($r+bn)*(fr<<1),fr>>=1)),Gr===Lr)Ht+=4;else{var sn=n[Kr+3*Gr],yn=n[Kr+3*Gr+1],Hn=n[Kr+3*Gr+2];Xt[Ht++]=sn,Xt[Ht++]=yn,Xt[Ht++]=Hn,Xt[Ht++]=255}--ln}}}function or(n,a,s,c){for(var d=n[a++],m=1<>=$,he-=$,bt!==m){if(bt===W)break;for(var rt=btm;)jt=wt[jt]>>8,++Yt;var Pt=jt;if(Ye+Yt+(rt!==bt?1:0)>c)return void Os.log("Warning, gif stream longer than expected.");s[Ye++]=Pt;var kr=Ye+=Yt;for(rt!==bt&&(s[Ye++]=Pt),jt=rt;Yt--;)jt=wt[jt],s[--kr]=255&jt,jt>>=8;pt!==null&&O<4096&&(wt[O++]=pt<<8|Pt,O>=J+1&&$<12&&(++$,J=J<<1|1)),pt=bt}else O=W+1,J=(1<<($=d+1))-1,pt=null}return Ye!==c&&Os.log("Warning, gif stream shorter than expected."),s}function Sr(n){var a,s,c,d,m,W=Math.floor,O=new Array(64),$=new Array(64),J=new Array(64),he=new Array(64),Ne=new Array(65535),Ye=new Array(65535),ce=new Array(64),wt=new Array(64),pt=[],bt=0,rt=7,Yt=new Array(64),jt=new Array(64),Pt=new Array(64),kr=new Array(256),Jr=new Array(2048),Qr=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Ar=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Mt=[0,1,2,3,4,5,6,7,8,9,10,11],Er=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],tt=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],Ct=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Xt=[0,1,2,3,4,5,6,7,8,9,10,11],Gt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Ur=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Mr(et,Ut){for(var Ht=0,tr=0,fr=new Array,Cr=1;Cr<=16;Cr++){for(var Hr=1;Hr<=et[Cr];Hr++)fr[Ut[tr]]=[],fr[Ut[tr]][0]=Ht,fr[Ut[tr]][1]=Cr,tr++,Ht++;Ht*=2}return fr}function Kr(et){for(var Ut=et[0],Ht=et[1]-1;Ht>=0;)Ut&1<>8&255),Lr(255&et)}function bn(et,Ut,Ht,tr,fr){for(var Cr,Hr=fr[0],Gr=fr[240],sn=function(gn,Ri){var ei,Ti,Bi,na,Is,es,ks,Ts,li,as,pi=0;for(li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+1],Bi=gn[pi+2],na=gn[pi+3],Is=gn[pi+4],es=gn[pi+5],ks=gn[pi+6];var Co=ei+(Ts=gn[pi+7]),Ks=ei-Ts,ms=Ti+ks,vs=Ti-ks,Ga=Bi+es,Ci=Bi-es,Fa=na+Is,Mi=na-Is,ts=Co+Fa,Va=Co-Fa,ws=ms+Ga,Ui=ms-Ga;gn[pi]=ts+ws,gn[pi+4]=ts-ws;var ia=.707106781*(Ui+Va);gn[pi+2]=Va+ia,gn[pi+6]=Va-ia;var Gf=.382683433*((ts=Mi+Ci)-(Ui=vs+Ks)),ll=.5411961*ts+Gf,P0=1.306562965*Ui+Gf,Gc=.707106781*(ws=Ci+vs),Pi=Ks+Gc,O0=Ks-Gc;gn[pi+5]=O0+ll,gn[pi+3]=O0-ll,gn[pi+1]=Pi+P0,gn[pi+7]=Pi-P0,pi+=8}for(pi=0,li=0;li<8;++li){ei=gn[pi],Ti=gn[pi+8],Bi=gn[pi+16],na=gn[pi+24],Is=gn[pi+32],es=gn[pi+40],ks=gn[pi+48];var N0=ei+(Ts=gn[pi+56]),Ku=ei-Ts,zu=Ti+ks,po=Ti-ks,EA=Bi+es,QA=Bi-es,Vf=na+Is,jh=na-Is,gc=N0+Vf,Vc=N0-Vf,mc=zu+EA,vc=zu-EA;gn[pi]=gc+mc,gn[pi+32]=gc-mc;var Gu=.707106781*(vc+Vc);gn[pi+16]=Vc+Gu,gn[pi+48]=Vc-Gu;var Wf=.382683433*((gc=jh+QA)-(vc=po+Ku)),Wc=.5411961*gc+Wf,$f=1.306562965*vc+Wf,Qd=.707106781*(mc=QA+po),Hd=Ku+Qd,jd=Ku-Qd;gn[pi+40]=jd+Wc,gn[pi+24]=jd-Wc,gn[pi+8]=Hd+$f,gn[pi+56]=Hd-$f,pi++}for(li=0;li<64;++li)as=gn[li]*Ri[li],ce[li]=as>0?as+.5|0:as-.5|0;return ce}(et,Ut),yn=0;yn<64;++yn)wt[Qr[yn]]=sn[yn];var Hn=wt[0]-Ht;Ht=wt[0],Hn==0?Kr(tr[0]):(Kr(tr[Ye[Cr=32767+Hn]]),Kr(Ne[Cr]));for(var Qn=63;Qn>0&&wt[Qn]==0;)Qn--;if(Qn==0)return Kr(Hr),Ht;for(var wi,St=1;St<=Qn;){for(var jn=St;wt[St]==0&&St<=Qn;)++St;var ds=St-jn;if(ds>=16){wi=ds>>4;for(var ki=1;ki<=wi;++ki)Kr(Gr);ds&=15}Cr=32767+wt[St],Kr(fr[(ds<<4)+Ye[Cr]]),Kr(Ne[Cr]),St++}return Qn!=63&&Kr(Hr),Ht}function ln(et){et=Math.min(Math.max(et,1),100),m!=et&&(function(Ut){for(var Ht=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],tr=0;tr<64;tr++){var fr=W((Ht[tr]*Ut+50)/100);fr=Math.min(Math.max(fr,1),255),O[Qr[tr]]=fr}for(var Cr=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Hr=0;Hr<64;Hr++){var Gr=W((Cr[Hr]*Ut+50)/100);Gr=Math.min(Math.max(Gr,1),255),$[Qr[Hr]]=Gr}for(var sn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],yn=0,Hn=0;Hn<8;Hn++)for(var Qn=0;Qn<8;Qn++)J[yn]=1/(O[Qr[yn]]*sn[Hn]*sn[Qn]*8),he[yn]=1/($[Qr[yn]]*sn[Hn]*sn[Qn]*8),yn++}(et<50?Math.floor(5e3/et):Math.floor(200-2*et)),m=et)}this.encode=function(et,Ut){Ut&&ln(Ut),pt=new Array,bt=0,rt=7,$r(65496),$r(65504),$r(16),Lr(74),Lr(70),Lr(73),Lr(70),Lr(0),Lr(1),Lr(1),Lr(0),$r(1),$r(1),Lr(0),Lr(0),function(){$r(65499),$r(132),Lr(0);for(var Ti=0;Ti<64;Ti++)Lr(O[Ti]);Lr(1);for(var Bi=0;Bi<64;Bi++)Lr($[Bi])}(),function(Ti,Bi){$r(65472),$r(17),Lr(8),$r(Bi),$r(Ti),Lr(3),Lr(1),Lr(17),Lr(0),Lr(2),Lr(17),Lr(1),Lr(3),Lr(17),Lr(1)}(et.width,et.height),function(){$r(65476),$r(418),Lr(0);for(var Ti=0;Ti<16;Ti++)Lr(Ar[Ti+1]);for(var Bi=0;Bi<=11;Bi++)Lr(Mt[Bi]);Lr(16);for(var na=0;na<16;na++)Lr(Er[na+1]);for(var Is=0;Is<=161;Is++)Lr(tt[Is]);Lr(1);for(var es=0;es<16;es++)Lr(Ct[es+1]);for(var ks=0;ks<=11;ks++)Lr(Xt[ks]);Lr(17);for(var Ts=0;Ts<16;Ts++)Lr(Gt[Ts+1]);for(var li=0;li<=161;li++)Lr(Ur[li])}(),$r(65498),$r(12),Lr(3),Lr(1),Lr(0),Lr(2),Lr(17),Lr(3),Lr(17),Lr(0),Lr(63),Lr(0);var Ht=0,tr=0,fr=0;bt=0,rt=7,this.encode.displayName="_encode_";for(var Cr,Hr,Gr,sn,yn,Hn,Qn,wi,St,jn=et.data,ds=et.width,ki=et.height,gn=4*ds,Ri=0;Ri>3)*gn+(Qn=4*(7&St)),Ri+wi>=ki&&(Hn-=gn*(Ri+1+wi-ki)),Cr+Qn>=gn&&(Hn-=Cr+Qn-gn+4),Hr=jn[Hn++],Gr=jn[Hn++],sn=jn[Hn++],Yt[St]=(Jr[Hr]+Jr[Gr+256|0]+Jr[sn+512|0]>>16)-128,jt[St]=(Jr[Hr+768|0]+Jr[Gr+1024|0]+Jr[sn+1280|0]>>16)-128,Pt[St]=(Jr[Hr+1280|0]+Jr[Gr+1536|0]+Jr[sn+1792|0]>>16)-128;Ht=bn(Yt,J,Ht,a,c),tr=bn(jt,he,tr,s,d),fr=bn(Pt,he,fr,s,d),Cr+=32}Ri+=8}if(rt>=0){var ei=[];ei[1]=rt+1,ei[0]=(1<Ct;Ct++)if(Mt[Er+Ct]!=tt.charCodeAt(Ct))return!0;return!1}function c(Mt,Er,tt,Ct,Xt){for(var Gt=0;GtGt+1?[]:new Er),!(Ur.length>>0;w≠)ne>>>=1;return ne?(w&ne-1)+ne:w}function tt(w,U,ne,we,Ve){a(!(we%ne));do w[U+(we-=ne)]=Ve;while(0=Ve),512>=Ve)var Xe=m(512);else if((Xe=m(Ve))==null)return 0;return function(Je,ot,dt,Tt,sr,Dr){var Ft,hr,Br=ot,Xr=1<Ft;++Ft){if(Tr[Ft]>1<(ls-=Tr[Ft]))return 0;for(;0=Ft;++Ft,sr<<=1){if(Xn+=ls<<=1,0>(ls-=Tr[Ft]))return 0;for(;0vn&&!(0>=(nn-=Tr[vn]));)++vn,nn<<=1;Xr+=si=1<<(nn=vn-dt),Je[ot+(vn=ci&cn)].g=nn+dt,Je[ot+vn].value=Br-ot-vn}Tt.g=Ft-dt,Tt.value=Dr[hr++],tt(Je,Br+(ci>>dt),sr,si,Tt),ci=Er(ci,Ft)}}return Xn!=2*tn[15]-1?0:Xr}(w,U,ne,we,Ve,Xe)}function Xt(){this.value=this.g=0}function Gt(){this.value=this.g=0}function Ur(){this.G=W(5,Xt),this.H=m(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=W(sd,Gt)}function Mr(w,U,ne,we){a(w!=null),a(U!=null),a(2147483648>we),w.Ca=254,w.I=0,w.b=-8,w.Ka=0,w.oa=U,w.pa=ne,w.Jd=U,w.Yc=ne+we,w.Zc=4<=we?ne+we-4+1:ne,Hr(w)}function Kr(w,U){for(var ne=0;0we),w.Sb=we,w.Ra=0,w.u=0,w.h=0,4>>=8,w.Ra+=w.oa[w.pa+w.bb]<>>0,++w.bb,w.u-=8;tr(w)&&(w.h=1,w.u=0)}function ln(w,U){if(a(0<=U),!w.h&&U<=_u){var ne=Ht(w)&yu[U];return w.u+=U,bn(w),ne}return w.h=1,w.u=0}function et(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Ut(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ht(w){return w.Ra>>>(w.u&Vh-1)>>>0}function tr(w){return a(w.bb<=w.Sb),w.h||w.bb==w.Sb&&w.u>Vh}function fr(w,U){w.u=U,w.h=tr(w)}function Cr(w){w.u>=Y0&&(a(w.u>=Y0),bn(w))}function Hr(w){a(w!=null&&w.oa!=null),w.pa>>0,w.b+=8):(a(w!=null&&w.oa!=null),w.paw.b&&Hr(w);var we=w.b,Ve=ne*U>>>8,Xe=(w.I>>>we>Ve)+0;for(Xe?(ne-=Ve,w.I-=Ve+1<>>0):ne=Ve+1,we=ne,Ve=0;256<=we;)Ve+=8,we>>=8;return we=7^Ve+Wh[we],w.b-=we,w.Ca=(ne<>24&255,w[U+1]=ne>>16&255,w[U+2]=ne>>8&255,w[U+3]=255&ne}function Hn(w,U){return w[U+0]|w[U+1]<<8}function Qn(w,U){return Hn(w,U)|w[U+2]<<16}function wi(w,U){return Hn(w,U)|Hn(w,U+2)<<16}function St(w,U){var ne=1<=Ve||0>=Xe?0:(ne[0]=Ve,we[0]=Xe,1)}function gn(w,U){return w+(1<>>U}function Ri(w,U){return((4278255360&w)+(4278255360&U)>>>0&4278255360)+((16711935&w)+(16711935&U)>>>0&16711935)>>>0}function ei(w,U){Mt[U]=function(ne,we,Ve,Xe,Je,ot,dt){var Tt;for(Tt=0;Tt>>1)+(w&U)>>>0}function na(w){return 0<=w&&256>w?w:0>w?0:255>1))}function es(w,U,ne){return Math.abs(U-ne)-Math.abs(w-ne)}function ks(w,U,ne,we,Ve,Xe,Je){for(we=Xe[Je-1],ne=0;ne>8&255,dt=16711935&(dt=(dt=16711935&Je)+((ot<<16)+ot));we[Ve+Xe]=(4278255360&Je)+dt>>>0}}function li(w,U){U.jd=255&w,U.hd=w>>8&255,U.ud=w>>16&255}function as(w,U,ne,we,Ve,Xe){var Je;for(Je=0;Je>>8,Tt=ot,sr=255&(sr=(sr=ot>>>16)+((w.jd<<24>>24)*(dt<<24>>24)>>>5));Tt=255&(Tt=(Tt+=(w.hd<<24>>24)*(dt<<24>>24)>>>5)+((w.ud<<24>>24)*(sr<<24>>24)>>>5)),Ve[Xe+Je]=(4278255360&ot)+(sr<<16)+Tt}}function pi(w,U,ne,we,Ve){Mt[U]=function(Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr){for(dt=Dr;dt>Xe.b,hr=Xe.Ea,Br=Xe.K[0],Xr=Xe.w;if(8>Ft)for(Xe=(1<>=Ft}else Mt["VP8LMapColor"+ne](dt,Tt,Br,Xr,sr,Dr,Je,ot,hr)}}function Co(w,U,ne,we,Ve){for(ne=U+ne;U>16&255,we[Ve++]=Xe>>8&255,we[Ve++]=255&Xe}}function Ks(w,U,ne,we,Ve){for(ne=U+ne;U>16&255,we[Ve++]=Xe>>8&255,we[Ve++]=255&Xe,we[Ve++]=Xe>>24&255}}function ms(w,U,ne,we,Ve){for(ne=U+ne;U>16&240|Je>>12&15,Je=240&Je|Je>>28&15;we[Ve++]=Xe,we[Ve++]=Je}}function vs(w,U,ne,we,Ve){for(ne=U+ne;U>16&248|Je>>13&7,Je=Je>>5&224|Je>>3&31;we[Ve++]=Xe,we[Ve++]=Je}}function Ga(w,U,ne,we,Ve){for(ne=U+ne;U>8&255,we[Ve++]=Xe>>16&255}}function Ci(w,U,ne,we,Ve,Xe){if(Xe==0)for(ne=U+ne;U>24|Xe[1]>>8&65280|Xe[2]<<8&16711680|Xe[3]<<24)>>>0),Ve+=32;else c(we,Ve,w,U,ne)}function Fa(w,U){Mt[U][0]=Mt[w+"0"],Mt[U][1]=Mt[w+"1"],Mt[U][2]=Mt[w+"2"],Mt[U][3]=Mt[w+"3"],Mt[U][4]=Mt[w+"4"],Mt[U][5]=Mt[w+"5"],Mt[U][6]=Mt[w+"6"],Mt[U][7]=Mt[w+"7"],Mt[U][8]=Mt[w+"8"],Mt[U][9]=Mt[w+"9"],Mt[U][10]=Mt[w+"10"],Mt[U][11]=Mt[w+"11"],Mt[U][12]=Mt[w+"12"],Mt[U][13]=Mt[w+"13"],Mt[U][14]=Mt[w+"0"],Mt[U][15]=Mt[w+"0"]}function Mi(w){return w==X1||w==J1||w==E1||w==eg}function ts(){this.eb=[],this.size=this.A=this.fb=0}function Va(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ws(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ts,this.f.kb=new Va,this.sd=null}function Ui(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ia(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Gf(w){return alert("todo:WebPSamplerProcessPlane"),w.T}function ll(w,U){var ne=w.T,we=U.ba.f.RGBA,Ve=we.eb,Xe=we.fb+w.ka*we.A,Je=qu[U.ba.S],ot=w.y,dt=w.O,Tt=w.f,sr=w.N,Dr=w.ea,Ft=w.W,hr=U.cc,Br=U.dc,Xr=U.Mc,Tr=U.Nc,tn=w.ka,nn=w.ka+w.T,vn=w.U,cn=vn+1>>1;for(tn==0?Je(ot,dt,null,null,Tt,sr,Dr,Ft,Tt,sr,Dr,Ft,Ve,Xe,null,null,vn):(Je(U.ec,U.fc,ot,dt,hr,Br,Xr,Tr,Tt,sr,Dr,Ft,Ve,Xe-we.A,Ve,Xe,vn),++ne);tn+2ne,Ve=ne==_1||ne==w1||ne==b1||ne==q1||ne==12||Mi(ne);if(U.memory=null,U.Ib=null,U.Jb=null,U.Nd=null,!Up(U.Oa,w,Ve?11:12))return 0;if(Ve&&Mi(ne)&&Dp(),w.da)alert("todo:use_scaling");else{if(we){if(U.Ib=Gf,w.Kb){if(ne=w.U+1>>1,U.memory=m(w.U+2*ne),U.memory==null)return 0;U.ec=U.memory,U.fc=0,U.cc=U.ec,U.dc=U.fc+w.U,U.Mc=U.cc,U.Nc=U.dc+ne,U.Ib=ll,Dp()}}else alert("todo:EmitYUV");Ve&&(U.Jb=P0,we&&_c())}if(we&&!Ng){for(w=0;256>w;++w)_m[w]=89858*(w-128)+x1>>B1,Em[w]=-22014*(w-128)+x1,bm[w]=-45773*(w-128),wm[w]=113618*(w-128)+x1>>B1;for(w=Gp;w>B1,Bm[w-Gp]=$c(U,255),xm[w-Gp]=$c(U+8>>4,15);Ng=1}return 1}function Pi(w){var U=w.ma,ne=w.U,we=w.T;return a(!(1&w.ka)),0>=ne||0>=we?0:(ne=U.Ib(w,U),U.Jb!=null&&U.Jb(w,U,ne),U.Dc+=ne,1)}function O0(w){w.ma.memory=null}function N0(w,U,ne,we){return ln(w,8)!=47?0:(U[0]=ln(w,14)+1,ne[0]=ln(w,14)+1,we[0]=ln(w,1),ln(w,3)!=0?0:!w.h)}function Ku(w,U){if(4>w)return w+1;var ne=w-2>>1;return(2+(1&w)<>4)*w+(8-(15&ne)))?ne:1;var ne}function po(w,U,ne){var we=Ht(ne),Ve=w[U+=255&we].g-8;return 0>>0,a(8>=ne.g),w.g}function QA(w,U,ne){var we=w.xc;return a((U=we==0?0:w.vc[w.md*(ne>>we)+(U>>we)])>si.b)*Xn;Xrvn&&(ai=vn),(0,Mp[Rs[aA++]>>8&15])(Ft,hr+ +us,tn,nn+us-vn,ai-us,tn,nn+us),us=ai}hr+=vn,nn+=vn,++Xr&ci||(si+=Xn)}Dr!=Tt.nc&&c(dt,ot-Br,dt,ot+(Dr-sr-1)*Br,Br);break;case 1:for(Br=Ft,Tr=hr,vn=(Ft=Tt.Ea)-(nn=Ft&~(tn=(hr=1<>Tt.b)*Xr;sr=Ve),0Xe.o&&(we=Xe.o),ne=we?ne=0:(Ve[0]+=4*Xe.v,Xe.ka=ne-Xe.j,Xe.U=Xe.va-Xe.v,Xe.T=we-ne,ne=1),ne){if(ot=ot[0],11>(ne=w.ca).S){var sr=ne.f.RGBA,Dr=(we=ne.S,Ve=Xe.U,Xe=Xe.T,Tt=sr.eb,sr.A),Ft=Xe;for(sr=sr.fb+w.Ma*sr.A;0we){var Ve=w.l.width,Xe=ne.ca,Je=ne.tb+Ve*we,ot=w.V,dt=w.Ba+w.c*we,Tt=w.gc;a(w.ab==1),a(Tt[0].hc==3),Xc(Tt[0],we,U,ot,dt,Xe,Je),Vc(ne,we,U,Xe,Je,Ve)}w.C=w.Ma=U}function vc(w,U,ne,we,Ve,Xe,Je){var ot=w.$/we,dt=w.$%we,Tt=w.m,sr=w.s,Dr=ne+w.$,Ft=Dr;Ve=ne+we*Ve;var hr=ne+we*Xe,Br=280+sr.ua,Xr=w.Pb?ot:16777216,Tr=0=Xr){var ci=Dr-ne;a((Xr=w).Pb),Xr.wd=Xr.m,Xr.xd=ci,0ls.g?(fr(cn,cn.u+ls.g),ci[Xn]=ls.value,cn=0):(fr(cn,cn.u+ls.g-256),a(256<=ls.value),cn=ls.value),cn==0&&(vn=!0)}else cn=po(nn.G[0],nn.H[0],Tt);if(Tt.h)break;if(vn||256>cn){if(!vn)if(nn.nd)U[Dr]=(nn.qb|cn<<8)>>>0;else{if(Cr(Tt),vn=po(nn.G[1],nn.H[1],Tt),Cr(Tt),ci=po(nn.G[2],nn.H[2],Tt),Xn=po(nn.G[3],nn.H[3],Tt),Tt.h)break;U[Dr]=(Xn<<24|vn<<16|cn<<8|ci)>>>0}if(vn=!1,++Dr,++dt>=we&&(dt=0,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(w,ot),Tr!=null))for(;Ft>>Tr.Mb]=cn}else if(280>cn){if(cn=Ku(cn-256,Tt),ci=po(nn.G[4],nn.H[4],Tt),Cr(Tt),ci=zu(we,ci=Ku(ci,Tt)),Tt.h)break;if(Dr-ne=we;)dt-=we,++ot,Je!=null&&ot<=Xe&&!(ot%16)&&Je(w,ot);if(a(Dr<=Ve),dt&tn&&(nn=QA(sr,dt,ot)),Tr!=null)for(;Ft>>Tr.Mb]=cn}else{if(!(cn>>Tr.Mb]=cn;cn=Dr,a(!(vn>>>(ci=Tr).Xa)),U[cn]=ci.X[vn],vn=!0}vn||a(Tt.h==tr(Tt))}if(w.Pb&&Tt.h&&DrXe?Xe:ot),w.a=0,w.$=Dr-ne}return 1}return w.a=3,0}function Gu(w){a(w!=null),w.vc=null,w.yc=null,w.Ya=null;var U=w.Wa;U!=null&&(U.X=null),w.vb=null,a(w!=null)}function Wf(){var w=new Vi;return w==null?null:(w.a=0,w.xb=Dg,Fa("Predictor","VP8LPredictors"),Fa("Predictor","VP8LPredictors_C"),Fa("PredictorAdd","VP8LPredictorsAdd"),Fa("PredictorAdd","VP8LPredictorsAdd_C"),So=Ts,Qp=as,Hp=Co,$h=Ks,Yh=ms,Zh=vs,ad=Ga,Mt.VP8LMapColor32b=qc,Mt.VP8LMapColor8b=Np,w)}function Wc(w,U,ne,we,Ve){var Xe=1,Je=[w],ot=[U],dt=we.m,Tt=we.s,sr=null,Dr=0;e:for(;;){if(ne)for(;Xe&&ln(dt,1);){var Ft=Je,hr=ot,Br=we,Xr=1,Tr=Br.m,tn=Br.gc[Br.ab],nn=ln(Tr,2);if(Br.Oc&1<=Br.ab),nn){case 0:case 1:tn.b=ln(Tr,3)+2,Xr=Wc(gn(tn.Ea,tn.b),gn(tn.nc,tn.b),0,Br,tn.K),tn.K=tn.K[0];break;case 3:var vn,cn=ln(Tr,8)+1,ci=16>si.b),aA=m(Rs);if(aA==null)vn=0;else{var us=si.K[0],ai=si.w;for(aA[0]=si.K[0][0],Xn=1;Xn<1*ls;++Xn)aA[Xn]=Ri(us[ai+Xn],aA[Xn-1]);for(;Xn<4*Rs;++Xn)aA[Xn]=0;si.K[0]=null,si.K[0]=aA,vn=1}}Xr=vn;break;case 2:break;default:a(0)}Xe=Xr}}if(Je=Je[0],ot=ot[0],Xe&&ln(dt,1)&&!(Xe=1<=(Dr=ln(dt,4))&&11>=Dr)){we.a=3;break e}var Rn;if(Rn=Xe)t:{var To,rs,Ms,Ha=we,KA=Je,Tl=ot,go=Dr,ul=ne,Fl=Ha.m,oA=Ha.s,Gs=[null],Aa=1,mo=0,la=om[go];r:for(;;){if(ul&&ln(Fl,1)){var zA=ln(Fl,3)+2,bc=gn(KA,zA),Fo=gn(Tl,zA),Zl=bc*Fo;if(!Wc(bc,Fo,0,Ha,Gs))break r;for(Gs=Gs[0],oA.xc=zA,To=0;To>8&65535;Gs[To]=wa,wa>=Aa&&(Aa=wa+1)}}if(Fl.h)break r;for(rs=0;5>rs;++rs){var AA=Fg[rs];!rs&&0=Ll),Bu=Eu;var ql=m(mo);if(Bu==null||ql==null||bu==null){Ha.a=1;break r}var xu=bu;for(To=Ms=0;Tors;++rs){AA=Fg[rs],Cu[rs]=xu,Ec[rs]=Ms,!rs&&0L1)break n}else ag=L1;for(Wp=0;WpXd)Gg[Wp++]=Xd,Xd!=0&&(Vg=Xd);else{var Um=Xd==16,Yg=Xd-16,Pm=nm[Yg],Zg=ln(tf,rm[Yg])+Pm;if(Wp+Zg>L1)break n;for(var Om=Um?Vg:0;0=rs){var $p,Ag=ql[0];for($p=1;$pAg&&(Ag=ql[$p]);GA+=Ag}}if(Da.nd=X0,Da.Qb=0,X0&&(Da.qb=(Cu[3][Ec[3]+0].value<<24|Cu[1][Ec[1]+0].value<<16|Cu[2][Ec[2]+0].value)>>>0,Ad==0&&256>Cu[0][Ec[0]+0].value&&(Da.Qb=1,Da.qb+=Cu[0][Ec[0]+0].value<<8)),Da.jc=!Da.Qb&&6>GA,Da.jc){var D1,J0=Da;for(D1=0;D1>=EA(k1,8,nf),rf>>=EA(J0.G[1][J0.H[1]+rf],16,nf),rf>>=EA(J0.G[2][J0.H[2]+rf],0,nf),EA(J0.G[3][J0.H[3]+rf],24,nf))}}}oA.vc=Gs,oA.Wb=Aa,oA.Ya=Bu,oA.yc=bu,Rn=1;break t}Rn=0}if(!(Xe=Rn)){we.a=3;break e}if(0we+1?[]:0),!(Ve.lengthw?0:w>U?U:w}function Kd(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function U1(){var w=new n1;return w!=null&&(w.a=0,w.sc="OK",w.cb=0,w.Xb=0,zp||(zp=zd)),w}function Vo(w,U,ne){return w.a==0&&(w.a=U,w.sc=ne,w.cb=0),0}function i1(w,U,ne){return 3<=ne&&w[U+0]==157&&w[U+1]==1&&w[U+2]==42}function Yc(w,U){if(w==null)return 0;if(w.a=0,w.sc="OK",U==null)return Vo(w,2,"null VP8Io passed to VP8GetHeaders()");var ne=U.data,we=U.w,Ve=U.ha;if(4>Ve)return Vo(w,7,"Truncated header.");var Xe=ne[we+0]|ne[we+1]<<8|ne[we+2]<<16,Je=w.Od;if(Je.Rb=!(1&Xe),Je.td=Xe>>1&7,Je.yd=Xe>>4&1,Je.ub=Xe>>5,3Ve)return Vo(w,7,"cannot parse picture header");if(!i1(ne,we,Ve))return Vo(w,3,"Bad code word");ot.c=16383&(ne[we+4]<<8|ne[we+3]),ot.Td=ne[we+4]>>6,ot.i=16383&(ne[we+6]<<8|ne[we+5]),ot.Ud=ne[we+6]>>6,we+=7,Ve-=7,w.za=ot.c+15>>4,w.Ub=ot.i+15>>4,U.width=ot.c,U.height=ot.i,U.Da=0,U.j=0,U.v=0,U.va=U.width,U.o=U.height,U.da=0,U.ib=U.width,U.hb=U.height,U.U=U.width,U.T=U.height,d((Xe=w.Pa).jb,0,255,Xe.jb.length),a((Xe=w.Qa)!=null),Xe.Cb=0,Xe.Bb=0,Xe.Fb=1,d(Xe.Zb,0,0,Xe.Zb.length),d(Xe.Lb,0,0,Xe.Lb)}if(Je.ub>Ve)return Vo(w,7,"bad partition length");Mr(Xe=w.m,ne,we,Je.ub),we+=Je.ub,Ve-=Je.ub,Je.Rb&&(ot.Ld=Gr(Xe),ot.Kd=Gr(Xe)),ot=w.Qa;var dt,Tt=w.Pa;if(a(Xe!=null),a(ot!=null),ot.Cb=Gr(Xe),ot.Cb){if(ot.Bb=Gr(Xe),Gr(Xe)){for(ot.Fb=Gr(Xe),dt=0;4>dt;++dt)ot.Zb[dt]=Gr(Xe)?Lr(Xe,7):0;for(dt=0;4>dt;++dt)ot.Lb[dt]=Gr(Xe)?Lr(Xe,6):0}if(ot.Bb)for(dt=0;3>dt;++dt)Tt.jb[dt]=Gr(Xe)?Kr(Xe,8):255}else ot.Bb=0;if(Xe.Ka)return Vo(w,3,"cannot parse segment header");if((ot=w.ed).zd=Gr(Xe),ot.Tb=Kr(Xe,6),ot.wb=Kr(Xe,3),ot.Pc=Gr(Xe),ot.Pc&&Gr(Xe)){for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.vd[Tt]=Lr(Xe,6));for(Tt=0;4>Tt;++Tt)Gr(Xe)&&(ot.od[Tt]=Lr(Xe,6))}if(w.L=ot.Tb==0?0:ot.zd?1:2,Xe.Ka)return Vo(w,3,"cannot parse filter header");var sr=Ve;if(Ve=dt=we,we=dt+sr,ot=sr,w.Xb=(1<ot&&(Dr=ot),Mr(w.Jc[+sr],ne,dt,Dr),dt+=Dr,ot-=Dr,Ve+=3}Mr(w.Jc[+Tt],ne,dt,ot),ne=dtDr;++Dr){if(sr.Cb){var Ft=sr.Zb[Dr];sr.Fb||(Ft+=ne)}else{if(0>16,8>hr.Eb[1]&&(hr.Eb[1]=8),hr.Qc[0]=tg[$c(Ft+Tt,117)],hr.Qc[1]=rg[$c(Ft+dt,127)],hr.lc=Ft+dt}if(!Je.Rb)return Vo(w,4,"Not a key frame.");for(Gr(Xe),Je=w.Pa,ne=0;4>ne;++ne){for(Ve=0;8>Ve;++Ve)for(we=0;3>we;++we)for(ot=0;11>ot;++ot)Tt=sn(Xe,fm[ne][Ve][we][ot])?Kr(Xe,8):cm[ne][Ve][we][ot],Je.Wc[ne][Ve].Yb[we][ot]=Tt;for(Ve=0;17>Ve;++Ve)Je.Xc[ne][Ve]=Je.Wc[ne][dm[Ve]]}return w.kc=Gr(Xe),w.kc&&(w.Bd=Kr(Xe,8)),w.cb=1}function zd(w,U,ne,we,Ve,Xe,Je){var ot=U[Ve].Yb[ne];for(ne=0;16>Ve;++Ve){if(!sn(w,ot[ne+0]))return Ve;for(;!sn(w,ot[ne+1]);)if(ot=U[++Ve].Yb[0],ne=0,Ve==16)return 16;var dt=U[Ve+1].Yb;if(sn(w,ot[ne+2])){var Tt=w,sr=0;if(sn(Tt,(Ft=ot)[(Dr=ne)+3]))if(sn(Tt,Ft[Dr+6])){for(ot=0,Dr=2*(sr=sn(Tt,Ft[Dr+8]))+(Ft=sn(Tt,Ft[Dr+9+sr])),sr=0,Ft=lm[Dr];Ft[ot];++ot)sr+=sr+sn(Tt,Ft[ot]);sr+=3+(8<(Tt=w).b&&Hr(Tt);var Dr,Ft=Tt.b,hr=(Dr=Tt.Ca>>1)-(Tt.I>>Ft)>>31;--Tt.b,Tt.Ca+=hr,Tt.Ca|=1,Tt.I-=(Dr+1&hr)<>3),w[U+ne+32*we]=-256&Ve?0>Ve?0:255:Ve}function nA(w,U,ne,we,Ve,Xe){Wu(w,U,0,ne,we+Ve),Wu(w,U,1,ne,we+Xe),Wu(w,U,2,ne,we-Xe),Wu(w,U,3,ne,we-Ve)}function M0(w){return(20091*w>>16)+w}function a1(w,U,ne,we){var Ve,Xe=0,Je=m(16);for(Ve=0;4>Ve;++Ve){var ot=w[U+0]+w[U+8],dt=w[U+0]-w[U+8],Tt=(35468*w[U+4]>>16)-M0(w[U+12]),sr=M0(w[U+4])+(35468*w[U+12]>>16);Je[Xe+0]=ot+sr,Je[Xe+1]=dt+Tt,Je[Xe+2]=dt-Tt,Je[Xe+3]=ot-sr,Xe+=4,U++}for(Ve=Xe=0;4>Ve;++Ve)ot=(w=Je[Xe+0]+4)+Je[Xe+8],dt=w-Je[Xe+8],Tt=(35468*Je[Xe+4]>>16)-M0(Je[Xe+12]),Wu(ne,we,0,0,ot+(sr=M0(Je[Xe+4])+(35468*Je[Xe+12]>>16))),Wu(ne,we,1,0,dt+Tt),Wu(ne,we,2,0,dt-Tt),Wu(ne,we,3,0,ot-sr),Xe++,we+=32}function P1(w,U,ne,we){var Ve=w[U+0]+4,Xe=35468*w[U+4]>>16,Je=M0(w[U+4]),ot=35468*w[U+1]>>16;nA(ne,we,0,Ve+Je,w=M0(w[U+1]),ot),nA(ne,we,1,Ve+Xe,w,ot),nA(ne,we,2,Ve-Xe,w,ot),nA(ne,we,3,Ve-Je,w,ot)}function O1(w,U,ne,we,Ve){a1(w,U,ne,we),Ve&&a1(w,U+16,ne,we+4)}function Zc(w,U,ne,we){od(w,U+0,ne,we,1),od(w,U+32,ne,we+128,1)}function o1(w,U,ne,we){var Ve;for(w=w[U+0]+4,Ve=0;4>Ve;++Ve)for(U=0;4>U;++U)Wu(ne,we,U,Ve,w)}function A1(w,U,ne,we){w[U+0]&&sa(w,U+0,ne,we),w[U+16]&&sa(w,U+16,ne,we+4),w[U+32]&&sa(w,U+32,ne,we+128),w[U+48]&&sa(w,U+48,ne,we+128+4)}function Gd(w,U,ne,we){var Ve,Xe=m(16);for(Ve=0;4>Ve;++Ve){var Je=w[U+0+Ve]+w[U+12+Ve],ot=w[U+4+Ve]+w[U+8+Ve],dt=w[U+4+Ve]-w[U+8+Ve],Tt=w[U+0+Ve]-w[U+12+Ve];Xe[0+Ve]=Je+ot,Xe[8+Ve]=Je-ot,Xe[4+Ve]=Tt+dt,Xe[12+Ve]=Tt-dt}for(Ve=0;4>Ve;++Ve)Je=(w=Xe[0+4*Ve]+3)+Xe[3+4*Ve],ot=Xe[1+4*Ve]+Xe[2+4*Ve],dt=Xe[1+4*Ve]-Xe[2+4*Ve],Tt=w-Xe[3+4*Ve],ne[we+0]=Je+ot>>3,ne[we+16]=Tt+dt>>3,ne[we+32]=Je-ot>>3,ne[we+48]=Tt-dt>>3,we+=64}function Yf(w,U,ne){var we,Ve=U-32,Xe=wu,Je=255-w[Ve-1];for(we=0;wene;++ne)c(w,U+32*ne,w,U-32,16)}function l1(w,U){var ne;for(ne=16;0we;++we)d(U,ne+32*we,w,16)}function H1(w,U){var ne,we=16;for(ne=0;16>ne;++ne)we+=w[U-1+32*ne]+w[U+ne-32];yc(we>>5,w,U)}function Zf(w,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=w[U-1+32*ne];yc(we>>4,w,U)}function xp(w,U){var ne,we=8;for(ne=0;16>ne;++ne)we+=w[U+ne-32];yc(we>>4,w,U)}function j1(w,U){yc(128,w,U)}function Yi(w,U,ne){return w+2*U+ne+2>>2}function K1(w,U){var ne,we=U-32;for(we=new Uint8Array([Yi(w[we-1],w[we+0],w[we+1]),Yi(w[we+0],w[we+1],w[we+2]),Yi(w[we+1],w[we+2],w[we+3]),Yi(w[we+2],w[we+3],w[we+4])]),ne=0;4>ne;++ne)c(w,U+32*ne,we,0,we.length)}function z1(w,U){var ne=w[U-1],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1+96];yn(w,U+0,16843009*Yi(w[U-1-32],ne,we)),yn(w,U+32,16843009*Yi(ne,we,Ve)),yn(w,U+64,16843009*Yi(we,Ve,Xe)),yn(w,U+96,16843009*Yi(Ve,Xe,Xe))}function G1(w,U){var ne,we=4;for(ne=0;4>ne;++ne)we+=w[U+ne-32]+w[U-1+32*ne];for(we>>=3,ne=0;4>ne;++ne)d(w,U+32*ne,we,4)}function Q0(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1-32],Je=w[U+0-32],ot=w[U+1-32],dt=w[U+2-32],Tt=w[U+3-32];w[U+0+96]=Yi(we,Ve,w[U-1+96]),w[U+1+96]=w[U+0+64]=Yi(ne,we,Ve),w[U+2+96]=w[U+1+64]=w[U+0+32]=Yi(Xe,ne,we),w[U+3+96]=w[U+2+64]=w[U+1+32]=w[U+0+0]=Yi(Je,Xe,ne),w[U+3+64]=w[U+2+32]=w[U+1+0]=Yi(ot,Je,Xe),w[U+3+32]=w[U+2+0]=Yi(dt,ot,Je),w[U+3+0]=Yi(Tt,dt,ot)}function H0(w,U){var ne=w[U+1-32],we=w[U+2-32],Ve=w[U+3-32],Xe=w[U+4-32],Je=w[U+5-32],ot=w[U+6-32],dt=w[U+7-32];w[U+0+0]=Yi(w[U+0-32],ne,we),w[U+1+0]=w[U+0+32]=Yi(ne,we,Ve),w[U+2+0]=w[U+1+32]=w[U+0+64]=Yi(we,Ve,Xe),w[U+3+0]=w[U+2+32]=w[U+1+64]=w[U+0+96]=Yi(Ve,Xe,Je),w[U+3+32]=w[U+2+64]=w[U+1+96]=Yi(Xe,Je,ot),w[U+3+64]=w[U+2+96]=Yi(Je,ot,dt),w[U+3+96]=Yi(ot,dt,dt)}function V1(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1-32],Je=w[U+0-32],ot=w[U+1-32],dt=w[U+2-32],Tt=w[U+3-32];w[U+0+0]=w[U+1+64]=Xe+Je+1>>1,w[U+1+0]=w[U+2+64]=Je+ot+1>>1,w[U+2+0]=w[U+3+64]=ot+dt+1>>1,w[U+3+0]=dt+Tt+1>>1,w[U+0+96]=Yi(Ve,we,ne),w[U+0+64]=Yi(we,ne,Xe),w[U+0+32]=w[U+1+96]=Yi(ne,Xe,Je),w[U+1+32]=w[U+2+96]=Yi(Xe,Je,ot),w[U+2+32]=w[U+3+96]=Yi(Je,ot,dt),w[U+3+32]=Yi(ot,dt,Tt)}function W1(w,U){var ne=w[U+0-32],we=w[U+1-32],Ve=w[U+2-32],Xe=w[U+3-32],Je=w[U+4-32],ot=w[U+5-32],dt=w[U+6-32],Tt=w[U+7-32];w[U+0+0]=ne+we+1>>1,w[U+1+0]=w[U+0+64]=we+Ve+1>>1,w[U+2+0]=w[U+1+64]=Ve+Xe+1>>1,w[U+3+0]=w[U+2+64]=Xe+Je+1>>1,w[U+0+32]=Yi(ne,we,Ve),w[U+1+32]=w[U+0+96]=Yi(we,Ve,Xe),w[U+2+32]=w[U+1+96]=Yi(Ve,Xe,Je),w[U+3+32]=w[U+2+96]=Yi(Xe,Je,ot),w[U+3+64]=Yi(Je,ot,dt),w[U+3+96]=Yi(ot,dt,Tt)}function Vd(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1+96];w[U+0+0]=ne+we+1>>1,w[U+2+0]=w[U+0+32]=we+Ve+1>>1,w[U+2+32]=w[U+0+64]=Ve+Xe+1>>1,w[U+1+0]=Yi(ne,we,Ve),w[U+3+0]=w[U+1+32]=Yi(we,Ve,Xe),w[U+3+32]=w[U+1+64]=Yi(Ve,Xe,Xe),w[U+3+64]=w[U+2+64]=w[U+0+96]=w[U+1+96]=w[U+2+96]=w[U+3+96]=Xe}function Cp(w,U){var ne=w[U-1+0],we=w[U-1+32],Ve=w[U-1+64],Xe=w[U-1+96],Je=w[U-1-32],ot=w[U+0-32],dt=w[U+1-32],Tt=w[U+2-32];w[U+0+0]=w[U+2+32]=ne+Je+1>>1,w[U+0+32]=w[U+2+64]=we+ne+1>>1,w[U+0+64]=w[U+2+96]=Ve+we+1>>1,w[U+0+96]=Xe+Ve+1>>1,w[U+3+0]=Yi(ot,dt,Tt),w[U+2+0]=Yi(Je,ot,dt),w[U+1+0]=w[U+3+32]=Yi(ne,Je,ot),w[U+1+32]=w[U+3+64]=Yi(we,ne,Je),w[U+1+64]=w[U+3+96]=Yi(Ve,we,ne),w[U+1+96]=Yi(Xe,Ve,we)}function qf(w,U){var ne;for(ne=0;8>ne;++ne)c(w,U+32*ne,w,U-32,8)}function $1(w,U){var ne;for(ne=0;8>ne;++ne)d(w,U,w[U-1],8),U+=32}function j0(w,U,ne){var we;for(we=0;8>we;++we)d(U,ne+32*we,w,8)}function Y1(w,U){var ne,we=8;for(ne=0;8>ne;++ne)we+=w[U+ne-32]+w[U-1+32*ne];j0(we>>4,w,U)}function Sp(w,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=w[U+ne-32];j0(we>>3,w,U)}function Ip(w,U){var ne,we=4;for(ne=0;8>ne;++ne)we+=w[U-1+32*ne];j0(we>>3,w,U)}function u1(w,U){j0(128,w,U)}function K0(w,U,ne){var we=w[U-ne],Ve=w[U+0],Xe=3*(Ve-we)+Z1[1020+w[U-2*ne]-w[U+ne]],Je=v1[112+(Xe+4>>3)];w[U-ne]=wu[255+we+v1[112+(Xe+3>>3)]],w[U+0]=wu[255+Ve-Je]}function Tp(w,U,ne,we){var Ve=w[U+0],Xe=w[U+ne];return Zu[255+w[U-2*ne]-w[U-ne]]>we||Zu[255+Xe-Ve]>we}function Wd(w,U,ne,we){return 4*Zu[255+w[U-ne]-w[U+0]]+Zu[255+w[U-2*ne]-w[U+ne]]<=we}function Fp(w,U,ne,we,Ve){var Xe=w[U-3*ne],Je=w[U-2*ne],ot=w[U-ne],dt=w[U+0],Tt=w[U+ne],sr=w[U+2*ne],Dr=w[U+3*ne];return 4*Zu[255+ot-dt]+Zu[255+Je-Tt]>we?0:Zu[255+w[U-4*ne]-Xe]<=Ve&&Zu[255+Xe-Je]<=Ve&&Zu[255+Je-ot]<=Ve&&Zu[255+Dr-sr]<=Ve&&Zu[255+sr-Tt]<=Ve&&Zu[255+Tt-dt]<=Ve}function Xf(w,U,ne,we){var Ve=2*we+1;for(we=0;16>we;++we)Wd(w,U+we,ne,Ve)&&K0(w,U+we,ne)}function Lp(w,U,ne,we){var Ve=2*we+1;for(we=0;16>we;++we)Wd(w,U+we*ne,1,Ve)&&K0(w,U+we*ne,1)}function c1(w,U,ne,we){var Ve;for(Ve=3;0>7,tn=18*nn+63>>7,nn=9*nn+63>>7;dt[Tt-3*sr]=wu[255+dt[Tt-3*sr]+nn],dt[Tt-2*sr]=wu[255+Dr+tn],dt[Tt-sr]=wu[255+Ft+Tr],dt[Tt+0]=wu[255+hr-Tr],dt[Tt+sr]=wu[255+Br-tn],dt[Tt+2*sr]=wu[255+Xr-nn]}U+=we}}function G0(w,U,ne,we,Ve,Xe,Je,ot){for(Xe=2*Xe+1;0>3)],Xr=v1[112+(Xr+3>>3)],Tr=Br+1>>1;dt[Tt-2*sr]=wu[255+dt[Tt-2*sr]+Tr],dt[Tt-sr]=wu[255+Dr+Xr],dt[Tt+0]=wu[255+Ft-Br],dt[Tt+sr]=wu[255+hr-Tr]}U+=we}}function f1(w,U,ne,we,Ve,Xe){z0(w,U,ne,1,16,we,Ve,Xe)}function Jf(w,U,ne,we,Ve,Xe){z0(w,U,1,ne,16,we,Ve,Xe)}function d1(w,U,ne,we,Ve,Xe){var Je;for(Je=3;0Tt?0:255:Tt)&255,Tt=dt,Ve[Xe+ot]=sr}}function La(w,U,ne,we){var Ve=U.width,Xe=U.o;if(a(w!=null&&U!=null),0>ne||0>=we||ne+we>Xe)return null;if(!w.Cc){if(w.ga==null){var Je;if(w.ga=new os,(Je=w.ga==null)||(Je=U.width*U.o,a(w.Gb.length==0),w.Gb=m(Je),w.Uc=0,w.Gb==null?Je=0:(w.mb=w.Gb,w.nb=w.Uc,w.rc=null,Je=1),Je=!Je),!Je){Je=w.ga;var ot=w.Fa,dt=w.P,Tt=w.qc,sr=w.mb,Dr=w.nb,Ft=dt+1,hr=Tt-1,Br=Je.l;if(a(ot!=null&&sr!=null&&U!=null),Jh[0]=null,Jh[1]=zs,Jh[2]=oo,Jh[3]=Wo,Je.ca=sr,Je.tb=Dr,Je.c=U.width,Je.i=U.height,a(0=Tt)U=0;else if(Je.$a=3&ot[dt+0],Je.Z=ot[dt+0]>>2&3,Je.Lc=ot[dt+0]>>4&3,dt=ot[dt+0]>>6&3,0>Je.$a||1=Je.c*Je.i;Je=!U}if(Je)return null;w.ga.Lc!=1?w.Ga=0:we=Xe-ne}a(w.ga!=null),a(ne+we<=Xe);e:{if(U=(ot=w.ga).c,Xe=ot.l.o,ot.$a==0){if(Ft=w.rc,hr=w.Vc,Br=w.Fa,dt=w.P+1+ne*U,Tt=w.mb,sr=w.nb+ne*U,a(dt<=w.P+w.qc),ot.Z!=0)for(a(Jh[ot.Z]!=null),Je=0;Je=U)U=1;else if(ot.ic||_c(),ot.ic){ot=Je.V,Ft=Je.Ba,hr=Je.c;var Xr=Je.i,Tr=(Br=1,dt=Je.$/hr,Tt=Je.$%hr,sr=Je.m,Dr=Je.s,Je.$),tn=hr*Xr,nn=hr*U,vn=Dr.wc,cn=Tr(Xr=po(cn.G[0],cn.H[0],sr)))ot[Ft+Tr]=Xr,++Tr,++Tt>=hr&&(Tt=0,++dt<=U&&!(dt%16)&&mc(Je,dt));else{if(!(280>Xr)){Br=0;break t}Xr=Ku(Xr-256,sr);var ci,Xn=po(cn.G[4],cn.H[4],sr);if(Cr(sr),!(Tr>=(Xn=zu(hr,Xn=Ku(Xn,sr)))&&tn-Tr>=Xr)){Br=0;break t}for(ci=0;ci=hr;)Tt-=hr,++dt<=U&&!(dt%16)&&mc(Je,dt);TrU?U:dt);break t}!Br||sr.h&&Tr=Xe&&(w.Cc=1),we=1}if(!we)return null;if(w.Cc&&((we=w.ga)!=null&&(we.mc=null),w.ga=null,0>23,ot[dt+4*Je+1]=ot[dt+4*Je+1]*Dr>>23,ot[dt+4*Je+2]=ot[dt+4*Je+2]*Dr>>23)}U+=Xe}}function $o(w,U,ne,we,Ve){for(;0>4)*dt>>16;w[U+2*Xe+0]=(240&Je|Je>>4)*dt>>16&240|(15&Je|Je<<4)*dt>>16>>4&15,w[U+2*Xe+1]=240&Tt|ot}U+=Ve}}function HA(w,U,ne,we,Ve,Xe,Je,ot){var dt,Tt,sr=255;for(Tt=0;Tt>8}function _c(){Kp=iA,_g=$o,wg=HA,bg=V0}function W0(w,U,ne){Mt[w]=function(we,Ve,Xe,Je,ot,dt,Tt,sr,Dr,Ft,hr,Br,Xr,Tr,tn,nn,vn){var cn,ci=vn-1>>1,Xn=ot[dt+0]|Tt[sr+0]<<16,ls=Dr[Ft+0]|hr[Br+0]<<16;a(we!=null);var si=3*Xn+ls+131074>>2;for(U(we[Ve+0],255&si,si>>16,Xr,Tr),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+0],255&si,si>>16,tn,nn)),cn=1;cn<=ci;++cn){var Rs=ot[dt+cn]|Tt[sr+cn]<<16,aA=Dr[Ft+cn]|hr[Br+cn]<<16,us=Xn+Rs+ls+aA+524296,ai=us+2*(Rs+ls)>>3;si=ai+Xn>>1,Xn=(us=us+2*(Xn+aA)>>3)+Rs>>1,U(we[Ve+2*cn-1],255&si,si>>16,Xr,Tr+(2*cn-1)*ne),U(we[Ve+2*cn-0],255&Xn,Xn>>16,Xr,Tr+(2*cn-0)*ne),Xe!=null&&(si=us+ls>>1,Xn=ai+aA>>1,U(Xe[Je+2*cn-1],255&si,si>>16,tn,nn+(2*cn-1)*ne),U(Xe[Je+2*cn+0],255&Xn,Xn>>16,tn,nn+(2*cn+0)*ne)),Xn=Rs,ls=aA}1&vn||(si=3*Xn+ls+131074>>2,U(we[Ve+vn-1],255&si,si>>16,Xr,Tr+(vn-1)*ne),Xe!=null&&(si=3*ls+Xn+131074>>2,U(Xe[Je+vn-1],255&si,si>>16,tn,nn+(vn-1)*ne)))}}function Dp(){qu[y1]=gm,qu[_1]=kg,qu[Ig]=mm,qu[w1]=Rg,qu[b1]=Ug,qu[q1]=Pg,qu[Tg]=vm,qu[X1]=kg,qu[J1]=Rg,qu[E1]=Ug,qu[eg]=Pg}function $d(w){return w&~ym?0>w?0:255:w>>Og}function Kh(w,U){return $d((19077*w>>8)+(26149*U>>8)-14234)}function ed(w,U,ne){return $d((19077*w>>8)-(6419*U>>8)-(13320*ne>>8)+8708)}function td(w,U){return $d((19077*w>>8)+(33050*U>>8)-17685)}function zh(w,U,ne,we,Ve){we[Ve+0]=Kh(w,ne),we[Ve+1]=ed(w,U,ne),we[Ve+2]=td(w,U)}function jA(w,U,ne,we,Ve){we[Ve+0]=td(w,U),we[Ve+1]=ed(w,U,ne),we[Ve+2]=Kh(w,ne)}function rd(w,U,ne,we,Ve){var Xe=ed(w,U,ne);U=Xe<<3&224|td(w,U)>>3,we[Ve+0]=248&Kh(w,ne)|Xe>>5,we[Ve+1]=U}function nd(w,U,ne,we,Ve){var Xe=240&td(w,U)|15;we[Ve+0]=240&Kh(w,ne)|ed(w,U,ne)>>4,we[Ve+1]=Xe}function kp(w,U,ne,we,Ve){we[Ve+0]=255,zh(w,U,ne,we,Ve+1)}function Rp(w,U,ne,we,Ve){jA(w,U,ne,we,Ve),we[Ve+3]=255}function Il(w,U,ne,we,Ve){zh(w,U,ne,we,Ve),we[Ve+3]=255}function $0(w,U,ne){Mt[w]=function(we,Ve,Xe,Je,ot,dt,Tt,sr,Dr){for(var Ft=sr+(-2&Dr)*ne;sr!=Ft;)U(we[Ve+0],Xe[Je+0],ot[dt+0],Tt,sr),U(we[Ve+1],Xe[Je+0],ot[dt+0],Tt,sr+ne),Ve+=2,++Je,++dt,sr+=2*ne;1&Dr&&U(we[Ve+0],Xe[Je+0],ot[dt+0],Tt,sr)}}function Yd(w,U,ne){return ne==0?w==0?U==0?6:5:U==0?4:0:ne}function p1(w,U,ne,we,Ve){switch(w>>>30){case 3:od(U,ne,we,Ve,0);break;case 2:Yu(U,ne,we,Ve);break;case 1:sa(U,ne,we,Ve)}}function $u(w,U){var ne,we,Ve=U.M,Xe=U.Nb,Je=w.oc,ot=w.pc+40,dt=w.oc,Tt=w.pc+584,sr=w.oc,Dr=w.pc+600;for(ne=0;16>ne;++ne)Je[ot+32*ne-1]=129;for(ne=0;8>ne;++ne)dt[Tt+32*ne-1]=129,sr[Dr+32*ne-1]=129;for(0ne;++ne)c(Je,ot+32*ne-4,Je,ot+32*ne+12,4);for(ne=-1;8>ne;++ne)c(dt,Tt+32*ne-4,dt,Tt+32*ne+4,4),c(sr,Dr+32*ne-4,sr,Dr+32*ne+4,4)}var hr=w.Gd,Br=w.Hd+we,Xr=Ft.ad,Tr=Ft.Hc;if(0=w.za-1?d(tn,nn,hr[Br].y[15],4):c(tn,nn,hr[Br+1].y,0,4)),ne=0;4>ne;ne++)tn[nn+128+ne]=tn[nn+256+ne]=tn[nn+384+ne]=tn[nn+0+ne];for(ne=0;16>ne;++ne,Tr<<=2)tn=Je,nn=ot+Mg[ne],wc[Ft.Ob[ne]](tn,nn),p1(Tr,Xr,16*+ne,tn,nn)}else if(tn=Yd(we,Ve,Ft.Ob[0]),Xh[tn](Je,ot),Tr!=0)for(ne=0;16>ne;++ne,Tr<<=2)p1(Tr,Xr,16*+ne,Je,ot+Mg[ne]);for(ne=Ft.Gc,tn=Yd(we,Ve,Ft.Dd),q0[tn](dt,Tt),q0[tn](sr,Dr),Tr=Xr,tn=dt,nn=Tt,255&(Ft=0|ne)&&(170&Ft?Jc(Tr,256,tn,nn):_a(Tr,256,tn,nn)),Ft=sr,Tr=Dr,255&(ne>>=8)&&(170&ne?Jc(Xr,320,Ft,Tr):_a(Xr,320,Ft,Tr)),Vene;++ne)c(hr,Br+ne*w.R,Je,ot+32*ne,16);for(ne=0;8>ne;++ne)c(Xr,Ft+ne*w.B,dt,Tt+32*ne,8),c(Tr,tn+ne*w.B,sr,Dr+32*ne,8)}}function id(w,U,ne,we,Ve,Xe,Je,ot,dt){var Tt=[0],sr=[0],Dr=0,Ft=dt!=null?dt.kd:0,hr=dt!=null?dt:new un;if(w==null||12>ne)return 7;hr.data=w,hr.w=U,hr.ha=ne,U=[U],ne=[ne],hr.gb=[hr.gb];e:{var Br=U,Xr=ne,Tr=hr.gb;if(a(w!=null),a(Xr!=null),a(Tr!=null),Tr[0]=0,12<=Xr[0]&&!s(w,Br[0],"RIFF")){if(s(w,Br[0]+8,"WEBP")){Tr=3;break e}var tn=wi(w,Br[0]+4);if(12>tn||4294967286Xr[0]-8){Tr=7;break e}Tr[0]=tn,Br[0]+=12,Xr[0]-=12}Tr=0}if(Tr!=0)return Tr;for(tn=0Tr[0])Tr=7;else{if(!s(nn,Xr[0],"VP8X")){if(wi(nn,Xr[0]+4)!=10){Tr=3;break e}if(18>Tr[0]){Tr=7;break e}var Xn=wi(nn,Xr[0]+8),ls=1+Qn(nn,Xr[0]+12);if(2147483648<=ls*(nn=1+Qn(nn,Xr[0]+15))){Tr=3;break e}ci!=null&&(ci[0]=Xn),vn!=null&&(vn[0]=ls),cn!=null&&(cn[0]=nn),Xr[0]+=18,Tr[0]-=18,si[0]=1}Tr=0}}if(Dr=Dr[0],Br=Br[0],Tr!=0)return Tr;if(Xr=!!(2&Br),!tn&&Dr)return 3;if(Xe!=null&&(Xe[0]=!!(16&Br)),Je!=null&&(Je[0]=Xr),ot!=null&&(ot[0]=0),Je=Tt[0],Br=sr[0],Dr&&Xr&&dt==null){Tr=0;break}if(4>ne){Tr=7;break}if(tn&&Dr||!tn&&!Dr&&!s(w,U[0],"ALPH")){ne=[ne],hr.na=[hr.na],hr.P=[hr.P],hr.Sa=[hr.Sa];e:{Xn=w,Tr=U,tn=ne;var si=hr.gb;vn=hr.na,cn=hr.P,ci=hr.Sa,ls=22,a(Xn!=null),a(tn!=null),nn=Tr[0];var Rs=tn[0];for(a(vn!=null),a(ci!=null),vn[0]=null,cn[0]=null,ci[0]=0;;){if(Tr[0]=nn,tn[0]=Rs,8>Rs){Tr=7;break e}var aA=wi(Xn,nn+4);if(4294967286si){Tr=3;break e}if(!s(Xn,nn,"VP8 ")||!s(Xn,nn,"VP8L")){Tr=0;break e}if(Rs[0]tn[0])Tr=7;else{if(nn||ls){if(si=wi(si,Xn+4),12<=vn&&si>vn-12){Tr=3;break e}if(Ft&&si>tn[0]-8){Tr=7;break e}cn[0]=si,Tr[0]+=8,tn[0]-=8,ci[0]=ls}else ci[0]=5<=tn[0]&&si[Xn+0]==47&&!(si[Xn+4]>>5),cn[0]=tn[0];Tr=0}if(ne=ne[0],hr.Ja=hr.Ja[0],hr.xa=hr.xa[0],U=U[0],Tr!=0)break;if(4294967286ne){Tr=7;break}ot=Je,Ft=Br,Xr=Xe,w==null||5>ne?w=0:5<=ne&&w[U+0]==47&&!(w[U+4]>>5)?(tn=[0],si=[0],vn=[0],$r(cn=new Ut,w,U,ne),N0(cn,tn,si,vn)?(ot!=null&&(ot[0]=tn[0]),Ft!=null&&(Ft[0]=si[0]),Xr!=null&&(Xr[0]=vn[0]),w=1):w=0):w=0}else{if(10>ne){Tr=7;break}ot=Br,w==null||10>ne||!i1(w,U+3,ne-3)?w=0:(Ft=w[U+0]|w[U+1]<<8|w[U+2]<<16,Xr=16383&(w[U+7]<<8|w[U+6]),w=16383&(w[U+9]<<8|w[U+8]),1&Ft||3<(Ft>>1&7)||!(Ft>>4&1)||Ft>>5>=hr.Ja||!Xr||!w?w=0:(Je&&(Je[0]=Xr),ot&&(ot[0]=w),w=1))}if(!w||(Je=Je[0],Br=Br[0],Dr&&(Tt[0]!=Je||sr[0]!=Br)))return 3;dt!=null&&(dt[0]=hr,dt.offset=U-dt.w,a(4294967286>U-dt.w),a(dt.offset==dt.ha-ne));break}return Tr==0||Tr==7&&Dr&&dt==null?(Xe!=null&&(Xe[0]|=hr.na!=null&&0ne||(Xe&=-2,Je&=-2),0>Xe||0>Je||0>=ot||0>=dt||Xe+ot>we||Je+dt>Ve))return 0;if(U.v=Xe,U.j=Je,U.va=Xe+ot,U.o=Je+dt,U.U=ot,U.T=dt,U.da=w!=null&&0w.S){var U=w.f.RGBA;U.fb+=(w.height-1)*U.A,U.A=-U.A}else U=w.f.kb,w=w.height,U.O+=(w-1)*U.fa,U.fa=-U.fa,U.N+=(w-1>>1)*U.Ab,U.Ab=-U.Ab,U.W+=(w-1>>1)*U.Db,U.Db=-U.Db,U.F!=null&&(U.J+=(w-1)*U.lb,U.lb=-U.lb);return 0}function Gh(w,U,ne,we){if(we==null||0>=w||0>=U)return 2;if(ne!=null){if(ne.Da){var Ve=ne.cd,Xe=ne.bd,Je=-2&ne.v,ot=-2&ne.j;if(0>Je||0>ot||0>=Ve||0>=Xe||Je+Ve>w||ot+Xe>U)return 2;w=Ve,U=Xe}if(ne.da){if(!ki(w,U,Ve=[ne.ib],Xe=[ne.hb]))return 2;w=Ve[0],U=Xe[0]}}we.width=w,we.height=U;e:{var dt=we.width,Tt=we.height;if(w=we.S,0>=dt||0>=Tt||!(w>=y1&&13>w))w=2;else{if(0>=we.Rd&&we.sd==null){Je=Xe=Ve=U=0;var sr=(ot=dt*Qg[w])*Tt;if(11>w||(Xe=(Tt+1)/2*(U=(dt+1)/2),w==12&&(Je=(Ve=dt)*Tt)),(Tt=m(sr+2*Xe+Je))==null){w=1;break e}we.sd=Tt,11>w?((dt=we.f.RGBA).eb=Tt,dt.fb=0,dt.A=ot,dt.size=sr):((dt=we.f.kb).y=Tt,dt.O=0,dt.fa=ot,dt.Fd=sr,dt.f=Tt,dt.N=0+sr,dt.Ab=U,dt.Cd=Xe,dt.ea=Tt,dt.W=0+sr+Xe,dt.Db=U,dt.Ed=Xe,w==12&&(dt.F=Tt,dt.J=0+sr+2*Xe),dt.Tc=Je,dt.lb=Ve)}if(U=1,Ve=we.S,Xe=we.width,Je=we.height,Ve>=y1&&13>Ve)if(11>Ve)w=we.f.RGBA,U&=(ot=Math.abs(w.A))*(Je-1)+Xe<=w.size,U&=ot>=Xe*Qg[Ve],U&=w.eb!=null;else{w=we.f.kb,ot=(Xe+1)/2,sr=(Je+1)/2,dt=Math.abs(w.fa),Tt=Math.abs(w.Ab);var Dr=Math.abs(w.Db),Ft=Math.abs(w.lb),hr=Ft*(Je-1)+Xe;U&=dt*(Je-1)+Xe<=w.Fd,U&=Tt*(sr-1)+ot<=w.Cd,U=(U&=Dr*(sr-1)+ot<=w.Ed)&dt>=Xe&Tt>=ot&Dr>=ot,U&=w.y!=null,U&=w.f!=null,U&=w.ea!=null,Ve==12&&(U&=Ft>=Xe,U&=hr<=w.Tc,U&=w.F!=null)}else U=0;w=U?0:2}}return w!=0||ne!=null&&ne.fd&&(w=Pp(we)),w}var sd=64,yu=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],_u=24,Vh=32,Y0=8,Wh=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];ei("Predictor0","PredictorAdd0"),Mt.Predictor0=function(){return 4278190080},Mt.Predictor1=function(w){return w},Mt.Predictor2=function(w,U,ne){return U[ne+0]},Mt.Predictor3=function(w,U,ne){return U[ne+1]},Mt.Predictor4=function(w,U,ne){return U[ne-1]},Mt.Predictor5=function(w,U,ne){return Bi(Bi(w,U[ne+1]),U[ne+0])},Mt.Predictor6=function(w,U,ne){return Bi(w,U[ne-1])},Mt.Predictor7=function(w,U,ne){return Bi(w,U[ne+0])},Mt.Predictor8=function(w,U,ne){return Bi(U[ne-1],U[ne+0])},Mt.Predictor9=function(w,U,ne){return Bi(U[ne+0],U[ne+1])},Mt.Predictor10=function(w,U,ne){return Bi(Bi(w,U[ne-1]),Bi(U[ne+0],U[ne+1]))},Mt.Predictor11=function(w,U,ne){var we=U[ne+0];return 0>=es(we>>24&255,w>>24&255,(U=U[ne-1])>>24&255)+es(we>>16&255,w>>16&255,U>>16&255)+es(we>>8&255,w>>8&255,U>>8&255)+es(255&we,255&w,255&U)?we:w},Mt.Predictor12=function(w,U,ne){var we=U[ne+0];return(na((w>>24&255)+(we>>24&255)-((U=U[ne-1])>>24&255))<<24|na((w>>16&255)+(we>>16&255)-(U>>16&255))<<16|na((w>>8&255)+(we>>8&255)-(U>>8&255))<<8|na((255&w)+(255&we)-(255&U)))>>>0},Mt.Predictor13=function(w,U,ne){var we=U[ne-1];return(Is((w=Bi(w,U[ne+0]))>>24&255,we>>24&255)<<24|Is(w>>16&255,we>>16&255)<<16|Is(w>>8&255,we>>8&255)<<8|Is(255&w,255&we))>>>0};var Op=Mt.PredictorAdd0;Mt.PredictorAdd1=ks,ei("Predictor2","PredictorAdd2"),ei("Predictor3","PredictorAdd3"),ei("Predictor4","PredictorAdd4"),ei("Predictor5","PredictorAdd5"),ei("Predictor6","PredictorAdd6"),ei("Predictor7","PredictorAdd7"),ei("Predictor8","PredictorAdd8"),ei("Predictor9","PredictorAdd9"),ei("Predictor10","PredictorAdd10"),ei("Predictor11","PredictorAdd11"),ei("Predictor12","PredictorAdd12"),ei("Predictor13","PredictorAdd13");var Zd=Mt.PredictorAdd2;pi("ColorIndexInverseTransform","MapARGB","32b",function(w){return w>>8&255},function(w){return w}),pi("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(w){return w},function(w){return w>>8&255});var So,g1=Mt.ColorIndexInverseTransform,qc=Mt.MapARGB,Xc=Mt.VP8LColorIndexInverseTransformAlpha,Np=Mt.MapAlpha,Mp=Mt.VP8LPredictorsAdd=[];Mp.length=16,(Mt.VP8LPredictors=[]).length=16,(Mt.VP8LPredictorsAdd_C=[]).length=16,(Mt.VP8LPredictors_C=[]).length=16;var Qp,Hp,$h,Yh,Zh,ad,qh,od,Yu,Jc,sa,_a,Io,sA,Z0,jp,qd,m1,dg,pg,gg,mg,vg,yg,Kp,_g,wg,bg,Eg=m(511),Bg=m(2041),xg=m(225),Cg=m(767),Sg=0,Z1=Bg,v1=xg,wu=Cg,Zu=Eg,y1=0,_1=1,Ig=2,w1=3,b1=4,q1=5,Tg=6,X1=7,J1=8,E1=9,eg=10,rm=[2,3,7],nm=[3,3,11],Fg=[280,256,256,256,40],im=[0,1,1,1,0],sm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],am=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Am=8,tg=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],rg=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],zp=null,lm=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],um=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Lg=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],cm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],dm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Xh=[],wc=[],q0=[],pm=1,Dg=2,Jh=[],qu=[];W0("UpsampleRgbLinePair",zh,3),W0("UpsampleBgrLinePair",jA,3),W0("UpsampleRgbaLinePair",Il,4),W0("UpsampleBgraLinePair",Rp,4),W0("UpsampleArgbLinePair",kp,4),W0("UpsampleRgba4444LinePair",nd,2),W0("UpsampleRgb565LinePair",rd,2);var gm=Mt.UpsampleRgbLinePair,mm=Mt.UpsampleBgrLinePair,kg=Mt.UpsampleRgbaLinePair,Rg=Mt.UpsampleBgraLinePair,Ug=Mt.UpsampleArgbLinePair,Pg=Mt.UpsampleRgba4444LinePair,vm=Mt.UpsampleRgb565LinePair,B1=16,x1=1<we.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),we.ca.f.kb.F!=null&&_c()),we.Pb&&0(dt=ne.Md)?0:100Tt;++Tt)12>(Dr=Ve.pb[Tt]).lc&&(Dr.ia=dt*Cm[0>Dr.lc?0:Dr.lc]>>3),sr|=Dr.ia;sr&&(alert("todo:VP8InitRandom"),Ve.ia=1)}Ve.Ga=ne.Id,100Ve.Ga&&(Ve.Ga=0)}(function(Ft,hr){if(Ft==null)return 0;if(hr==null)return Vo(Ft,2,"NULL VP8Io parameter in VP8Decode().");if(!Ft.cb&&!Yc(Ft,hr))return 0;if(a(Ft.cb),hr.ac==null||hr.ac(hr)){hr.ob&&(Ft.L=0);var Br=C1[Ft.L];if(Ft.L==2?(Ft.yb=0,Ft.zb=0):(Ft.yb=hr.v-Br>>4,Ft.zb=hr.j-Br>>4,0>Ft.yb&&(Ft.yb=0),0>Ft.zb&&(Ft.zb=0)),Ft.Va=hr.o+15+Br>>4,Ft.Hb=hr.va+15+Br>>4,Ft.Hb>Ft.za&&(Ft.Hb=Ft.za),Ft.Va>Ft.Ub&&(Ft.Va=Ft.Ub),0Br;++Br){var Tr;if(Ft.Qa.Cb){var tn=Ft.Qa.Lb[Br];Ft.Qa.Fb||(tn+=Xr.Tb)}else tn=Xr.Tb;for(Tr=0;1>=Tr;++Tr){var nn=Ft.gd[Br][Tr],vn=tn;if(Xr.Pc&&(vn+=Xr.vd[0],Tr&&(vn+=Xr.od[0])),0<(vn=0>vn?0:63>2:cn>>1)>9-Xr.wb&&(cn=9-Xr.wb),1>cn&&(cn=1),nn.dd=cn,nn.tc=2*vn+cn,nn.ld=40<=vn?2:15<=vn?1:0}else nn.tc=0;nn.La=Tr}}}Br=0}else Vo(Ft,6,"Frame setup failed"),Br=Ft.a;if(Br=Br==0){if(Br){Ft.$c=0,0Ft.Vb){if(Ft.Vb=0,Ft.Ec=m(nn),Ft.Fc=0,Ft.Ec==null){Br=Vo(Ft,1,"no memory during frame initialization.");break t}Ft.Vb=nn}nn=Ft.Ec,vn=Ft.Fc,Ft.Ac=nn,Ft.Bc=vn,vn+=Xr,Ft.Gd=W(ci,r1),Ft.Hd=0,Ft.rb=W(Xn+1,bp),Ft.sb=1,Ft.wa=ls?W(ls,Vu):null,Ft.Y=0,Ft.D.Nb=0,Ft.D.wa=Ft.wa,Ft.D.Y=Ft.Y,0=Br;++Br)Eg[255+Br]=0>Br?-Br:Br;for(Br=-1020;1020>=Br;++Br)Bg[1020+Br]=-128>Br?-128:127=Br;++Br)xg[112+Br]=-16>Br?-16:15=Br;++Br)Cg[255+Br]=0>Br?0:255Ms;++Ms){var oA,Gs=Tl[0+Ms];for(oA=0;4>oA;++oA){Gs=hm[Ha[KA+oA]][Gs];for(var Aa=Lg[sn(rs,Gs[0])];0>3;for(Aa=0;256>Aa;Aa+=16)Ms[ul+Aa]=Zl}zA=1,bc=KA[0]}var wa=15&rs.la,AA=15&Fl.la;for(Aa=0;4>Aa;++Aa){var bu=1&AA;for(Zl=la=0;4>Zl;++Zl)wa=wa>>1|(bu=(Fo=zp(Ha,bc,Fo=bu+(1&wa),go.Sc,zA,Ms,ul))>zA)<<7,la=la<<2|(3>=4,AA=AA>>1|bu<<7,oA=(oA<<8|la)>>>0}for(bc=wa,zA=AA>>4,mo=0;4>mo;mo+=2){for(la=0,wa=rs.la>>4+mo,AA=Fl.la>>4+mo,Aa=0;2>Aa;++Aa){for(bu=1&AA,Zl=0;2>Zl;++Zl)Fo=bu+(1&wa),wa=wa>>1|(bu=0<(Fo=zp(Ha,KA[2],Fo,go.Qc,0,Ms,ul)))<<3,la=la<<2|(3>=2,AA=AA>>1|bu<<5}Gs|=la<<4*mo,bc|=wa<<4<=ai.zb&&ai.M<=ai.Va,ai.Aa==0)t:{if(us.M=ai.M,us.uc=rs,$u(ai,us),To=1,us=(la=ai.D).Nb,rs=(Gs=C1[ai.L])*ai.R,Ha=Gs/2*ai.B,Aa=16*us*ai.R,Zl=8*us*ai.B,KA=ai.sa,Tl=ai.ta-rs+Aa,go=ai.qa,Ms=ai.ra-Ha+Zl,ul=ai.Ha,Fl=ai.Ia-Ha+Zl,AA=(wa=la.M)==0,oA=wa>=ai.Va-1,ai.Aa==2&&$u(ai,la),la.uc)for(bu=(Fo=ai).D.M,a(Fo.D.uc),la=Fo.yb;laRn.o&&(wa=Rn.o),Rn.F=null,Rn.J=null,ai.Fa!=null&&0>1),Rn.W+=ai.B*(Gs>>1),Rn.F!=null&&(Rn.J+=Rn.width*Gs)),la>1,Rn.W+=Rn.v>>1,Rn.F!=null&&(Rn.J+=Rn.v),Rn.ka=la-Rn.j,Rn.U=Rn.va-Rn.v,Rn.T=wa-la,To=Rn.put(Rn))}us+1!=ai.Ic||oA||(c(ai.sa,ai.ta-rs,KA,Tl+16*ai.R,rs),c(ai.qa,ai.ra-Ha,go,Ms+8*ai.B,Ha),c(ai.Ha,ai.Ia-Ha,ul,Fl+8*ai.B,Ha))}if(!To)return Vo(Rs,6,"Output aborted.")}return 1}(Ft,hr)),hr.bc!=null&&hr.bc(hr),Br&=1}return Br?(Ft.cb=0,Br):0})(w,we)||(U=w.a)}}else U=w.a}U==0&&Je.Oa!=null&&Je.Oa.fd&&(U=Pp(Je.ba))}Je=U}Xe=Je!=0?null:11>Xe?ot.f.RGBA.eb:ot.f.kb.y}else Xe=null;return Xe};var Qg=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function J(Mt,Er){for(var tt="",Ct=0;Ct<4;Ct++)tt+=String.fromCharCode(Mt[Er++]);return tt}function he(Mt,Er){return Mt[Er+0]|Mt[Er+1]<<8}function Ne(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16)>>>0}function Ye(Mt,Er){return(Mt[Er+0]|Mt[Er+1]<<8|Mt[Er+2]<<16|Mt[Er+3]<<24)>>>0}new $;var ce=[0],wt=[0],pt=[],bt=new $,rt=n,Yt=function(Mt,Er){var tt={},Ct=0,Xt=!1,Gt=0,Ur=0;if(tt.frames=[],!function(et,Ut){for(var Ht=0;Ht<4;Ht++)if(et[Ut+Ht]!="RIFF".charCodeAt(Ht))return!0;return!1}(Mt,Er)){for(Ye(Mt,Er+=4),Er+=8;Er>1&1}Mr!="ANMF"&&(Er+=Lr)}return tt}}(rt,0);Yt.response=rt,Yt.rgbaoutput=!0,Yt.dataurl=!1;var jt=Yt.header?Yt.header:null,Pt=Yt.frames?Yt.frames:null;if(jt){jt.loop_counter=jt.loop_count,ce=[jt.canvas_height],wt=[jt.canvas_width];for(var kr=0;kr=2?St[1]:jn[0],jn[2]=St.length>=3?St[2]:jn[0],jn[3]=St.length>=4?St[3]:jn[1]),J.margin=jn}});var Hr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Hr},set:function(St){Hr=St}});var Gr=0;Object.defineProperty(this,"lastBreak",{get:function(){return Gr},set:function(St){Gr=St}});var sn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return sn},set:function(St){sn=St}}),Object.defineProperty(this,"ctx",{get:function(){return J},set:function(St){St instanceof he&&(J=St)}}),Object.defineProperty(this,"path",{get:function(){return J.path},set:function(St){J.path=St}});var yn=[];Object.defineProperty(this,"ctxStack",{get:function(){return yn},set:function(St){yn=St}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(St){var jn;jn=Ye(St),this.ctx.fillStyle=jn.style,this.ctx.isFillTransparent=jn.a===0,this.ctx.fillOpacity=jn.a,this.pdf.setFillColor(jn.r,jn.g,jn.b,{a:jn.a}),this.pdf.setTextColor(jn.r,jn.g,jn.b,{a:jn.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(St){var jn=Ye(St);this.ctx.strokeStyle=jn.style,this.ctx.isStrokeTransparent=jn.a===0,this.ctx.strokeOpacity=jn.a,jn.a===0?this.pdf.setDrawColor(255,255,255):(jn.a,this.pdf.setDrawColor(jn.r,jn.g,jn.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(St){["butt","round","square"].indexOf(St)!==-1&&(this.ctx.lineCap=St,this.pdf.setLineCap(St))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(St){isNaN(St)||(this.ctx.lineWidth=St,this.pdf.setLineWidth(St))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(St){["bevel","round","miter"].indexOf(St)!==-1&&(this.ctx.lineJoin=St,this.pdf.setLineJoin(St))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(St){isNaN(St)||(this.ctx.miterLimit=St,this.pdf.setMiterLimit(St))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(St){this.ctx.textBaseline=St}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(St){["right","end","center","left","start"].indexOf(St)!==-1&&(this.ctx.textAlign=St)}});var Hn=null,Qn=null,wi=null;Object.defineProperty(this,"fontFaces",{get:function(){return wi},set:function(St){Hn=null,Qn=null,wi=St}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(St){var jn;if(this.ctx.font=St,(jn=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(St))!==null){var ds=jn[1];jn[2];var ki=jn[3],gn=jn[4];jn[5];var Ri=jn[6],ei=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(gn)[2];gn=Math.floor(ei==="px"?parseFloat(gn)*this.pdf.internal.scaleFactor:ei==="em"?parseFloat(gn)*this.pdf.getFontSize():parseFloat(gn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(gn);var Ti=function(pi){var Co,Ks,ms=[],vs=pi.trim();if(vs==="")return F;if(vs in Wl)return[Wl[vs]];for(;vs!=="";){switch(Ks=null,Co=(vs=tA(vs)).charAt(0)){case'"':case"'":Ks=l(vs.substring(1),Co);break;default:Ks=e(vs)}if(Ks===null||(ms.push(Ks[0]),(vs=tA(Ks[1]))!==""&&vs.charAt(0)!==","))return F;vs=vs.replace(/^,/,"")}return ms}(Ri);if(this.fontFaces){var Bi=function(pi,Co){var Ks=pi.getFontList(),ms=JSON.stringify(Ks);if(Hn===null||Qn!==ms){var vs=function(Ga){var Ci=[];return Object.keys(Ga).forEach(function(Fa){Ga[Fa].forEach(function(Mi){var ts=null;switch(Mi){case"bold":ts={family:Fa,weight:"bold"};break;case"italic":ts={family:Fa,style:"italic"};break;case"bolditalic":ts={family:Fa,weight:"bold",style:"italic"};break;case"":case"normal":ts={family:Fa}}ts!==null&&(ts.ref={name:Fa,style:Mi},Ci.push(ts))})}),Ci}(Ks);Hn=function(Ga){for(var Ci={},Fa=0;Fa=700||ds==="bold")&&(es="bold"),ds==="italic"&&(es+="italic"),es.length===0&&(es="normal");for(var ks="",Ts={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},li=0;li=2*Math.PI&&(tr=0,fr=2*Math.PI),this.path.push({type:"arc",x:et,y:Ut,radius:Ht,startAngle:tr,endAngle:fr,counterclockwise:Cr})},Ne.prototype.arcTo=function(et,Ut,Ht,tr,fr){throw new Error("arcTo not implemented.")},Ne.prototype.rect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et+Ht,Ut+tr),this.lineTo(et,Ut+tr),this.lineTo(et,Ut),this.lineTo(et+Ht,Ut),this.lineTo(et,Ut)},Ne.prototype.fillRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ce.call(this)){var fr={};this.lineCap!=="butt"&&(fr.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(fr.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(et,Ut,Ht,tr),this.fill(),fr.hasOwnProperty("lineCap")&&(this.lineCap=fr.lineCap),fr.hasOwnProperty("lineJoin")&&(this.lineJoin=fr.lineJoin)}},Ne.prototype.strokeRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");wt.call(this)||(this.beginPath(),this.rect(et,Ut,Ht,tr),this.stroke())},Ne.prototype.clearRect=function(et,Ut,Ht,tr){if(isNaN(et)||isNaN(Ut)||isNaN(Ht)||isNaN(tr))throw Os.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(et,Ut,Ht,tr))},Ne.prototype.save=function(et){et=typeof et!="boolean"||et;for(var Ut=this.pdf.internal.getCurrentPageInfo().pageNumber,Ht=0;Ht0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ne.prototype.drawImage=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr,sn){var yn=this.pdf.getImageProperties(et),Hn=1,Qn=1,wi=1,St=1;tr!==void 0&&Gr!==void 0&&(wi=Gr/tr,St=sn/fr,Hn=yn.width/tr*Gr/tr,Qn=yn.height/fr*sn/fr),Cr===void 0&&(Cr=Ut,Hr=Ht,Ut=0,Ht=0),tr!==void 0&&Gr===void 0&&(Gr=tr,sn=fr),tr===void 0&&Gr===void 0&&(Gr=yn.width,sn=yn.height);var jn=this.ctx.transform.decompose(),ds=Lr(jn.rotate.shx),ki=new $,gn=(ki=(ki=(ki=ki.multiply(jn.translate)).multiply(jn.skew)).multiply(jn.scale)).applyToRectangle(new O(Cr-Ut*wi,Hr-Ht*St,tr*Hn,fr*Qn));if(this.autoPaging){for(var Ri,ei=bt.call(this,gn),Ti=[],Bi=0;Bina||esgn||ei0)){for(;sn>=0;sn--)if(fr[sn-1].close!==!0&&fr[sn-1].begin!==!0){fr[sn-1].deltas.push(Ht),fr[sn-1].abs.push(Gr);break}}break;case"bct":Ht=[Gr.x1-Cr[Hr-1].x,Gr.y1-Cr[Hr-1].y,Gr.x2-Cr[Hr-1].x,Gr.y2-Cr[Hr-1].y,Gr.x-Cr[Hr-1].x,Gr.y-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"qct":var yn=Cr[Hr-1].x+2/3*(Gr.x1-Cr[Hr-1].x),Hn=Cr[Hr-1].y+2/3*(Gr.y1-Cr[Hr-1].y),Qn=Gr.x+2/3*(Gr.x1-Gr.x),wi=Gr.y+2/3*(Gr.y1-Gr.y),St=Gr.x,jn=Gr.y;Ht=[yn-Cr[Hr-1].x,Hn-Cr[Hr-1].y,Qn-Cr[Hr-1].x,wi-Cr[Hr-1].y,St-Cr[Hr-1].x,jn-Cr[Hr-1].y],fr[fr.length-1].deltas.push(Ht);break;case"arc":fr.push({deltas:[],abs:[],arc:!0}),Array.isArray(fr[fr.length-1].abs)&&fr[fr.length-1].abs.push(Gr)}}tr=Ut?null:et==="stroke"?"stroke":"fill";for(var ds=!1,ki=0;ki=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale);var as=this.autoPaging!=="text";if(as||li.y+li.h<=Bi){if(as||li.y>=ei&&li.x<=Is){var pi=as?et.text:this.pdf.splitTextToSize(et.text,et.maxWidth||Is-li.x)[0],Co=Yt([JSON.parse(JSON.stringify(Qn))],this.posX+this.margin[3],-ks+ei+this.ctx.prevPageLastElemOffset)[0],Ks=as&&(Ri>ki||Ri=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)}}else et.scale>=.01&&(tr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(tr*et.scale),fr=this.lineWidth,this.lineWidth=fr*et.scale),this.pdf.text(et.text,sn.x+this.posX,sn.y+this.posY,{angle:et.angle,align:Ut,renderingMode:et.renderingMode,maxWidth:et.maxWidth}),et.scale>=.01&&(this.pdf.setFontSize(tr),this.lineWidth=fr)},Xt=function(et,Ut,Ht,tr){Ht=Ht||0,tr=tr||0,this.pdf.internal.out(s(et+Ht)+" "+c(Ut+tr)+" l")},Gt=function(et,Ut,Ht){return this.pdf.lines(et,Ut,Ht,null,null)},Ur=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){this.pdf.internal.out([a(d(Ht+et)),a(m(tr+Ut)),a(d(fr+et)),a(m(Cr+Ut)),a(d(Hr+et)),a(m(Gr+Ut)),"c"].join(" "))},Mr=function(et,Ut,Ht,tr){for(var fr=2*Math.PI,Cr=Math.PI/2;Ut>Ht;)Ut-=fr;var Hr=Math.abs(Ht-Ut);Hr1e-5;){var Hn=yn+sn*Math.min(Hr,Cr);Gr.push(Kr.call(this,et,yn,Hn)),Hr-=Math.abs(Hn-yn),yn=Hn}return Gr},Kr=function(et,Ut,Ht){var tr=(Ht-Ut)/2,fr=et*Math.cos(tr),Cr=et*Math.sin(tr),Hr=fr,Gr=-Cr,sn=Hr*Hr+Gr*Gr,yn=sn+Hr*fr+Gr*Cr,Hn=4/3*(Math.sqrt(2*sn*yn)-yn)/(Hr*Cr-Gr*fr),Qn=Hr-Hn*Gr,wi=Gr+Hn*Hr,St=Qn,jn=-wi,ds=tr+Ut,ki=Math.cos(ds),gn=Math.sin(ds);return{x1:et*Math.cos(Ut),y1:et*Math.sin(Ut),x2:Qn*ki-wi*gn,y2:Qn*gn+wi*ki,x3:St*ki-jn*gn,y3:St*gn+jn*ki,x4:et*Math.cos(Ht),y4:et*Math.sin(Ht)}},Lr=function(et){return 180*et/Math.PI},$r=function(et,Ut,Ht,tr,fr,Cr){var Hr=et+.5*(Ht-et),Gr=Ut+.5*(tr-Ut),sn=fr+.5*(Ht-fr),yn=Cr+.5*(tr-Cr),Hn=Math.min(et,fr,Hr,sn),Qn=Math.max(et,fr,Hr,sn),wi=Math.min(Ut,Cr,Gr,yn),St=Math.max(Ut,Cr,Gr,yn);return new O(Hn,wi,Qn-Hn,St-wi)},bn=function(et,Ut,Ht,tr,fr,Cr,Hr,Gr){var sn,yn,Hn,Qn,wi,St,jn,ds,ki,gn,Ri,ei,Ti,Bi,na=Ht-et,Is=tr-Ut,es=fr-Ht,ks=Cr-tr,Ts=Hr-fr,li=Gr-Cr;for(yn=0;yn<41;yn++)ki=(jn=(Hn=et+(sn=yn/40)*na)+sn*((wi=Ht+sn*es)-Hn))+sn*(wi+sn*(fr+sn*Ts-wi)-jn),gn=(ds=(Qn=Ut+sn*Is)+sn*((St=tr+sn*ks)-Qn))+sn*(St+sn*(Cr+sn*li-St)-ds),yn==0?(Ri=ki,ei=gn,Ti=ki,Bi=gn):(Ri=Math.min(Ri,ki),ei=Math.min(ei,gn),Ti=Math.max(Ti,ki),Bi=Math.max(Bi,gn));return new O(Math.round(Ri),Math.round(ei),Math.round(Ti-Ri),Math.round(Bi-ei))},ln=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var et,Ut,Ht=(et=this.ctx.lineDash,Ut=this.ctx.lineDashOffset,JSON.stringify({lineDash:et,lineDashOffset:Ut}));this.prevLineDash!==Ht&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ht)}}})(qn.API),function(n){var a=function(W){var O,$,J,he,Ne,Ye,ce,wt,pt,bt;for(/[^\x00-\xFF]/.test(W),$=[],J=0,he=(W+=O="\0\0\0\0".slice(W.length%4||4)).length;he>J;J+=4)(Ne=(W.charCodeAt(J)<<24)+(W.charCodeAt(J+1)<<16)+(W.charCodeAt(J+2)<<8)+W.charCodeAt(J+3))!==0?(Ye=(Ne=((Ne=((Ne=((Ne=(Ne-(bt=Ne%85))/85)-(pt=Ne%85))/85)-(wt=Ne%85))/85)-(ce=Ne%85))/85)%85,$.push(Ye+33,ce+33,wt+33,pt+33,bt+33)):$.push(122);return function(rt,Yt){for(var jt=Yt;jt>0;jt--)rt.pop()}($,O.length),String.fromCharCode.apply(String,$)+"~>"},s=function(W){var O,$,J,he,Ne,Ye=String,ce="length",wt=255,pt="charCodeAt",bt="slice",rt="replace";for(W[bt](-2),W=W[bt](0,-2)[rt](/\s/g,"")[rt]("z","!!!!!"),J=[],he=0,Ne=(W+=O="uuuuu"[bt](W[ce]%5||5))[ce];Ne>he;he+=5)$=52200625*(W[pt](he)-33)+614125*(W[pt](he+1)-33)+7225*(W[pt](he+2)-33)+85*(W[pt](he+3)-33)+(W[pt](he+4)-33),J.push(wt&$>>24,wt&$>>16,wt&$>>8,wt&$);return function(Yt,jt){for(var Pt=jt;Pt>0;Pt--)Yt.pop()}(J,O[ce]),Ye.fromCharCode.apply(Ye,J)},c=function(W){return W.split("").map(function(O){return("0"+O.charCodeAt().toString(16)).slice(-2)}).join("")+">"},d=function(W){var O=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((W=W.replace(/\s/g,"")).indexOf(">")!==-1&&(W=W.substr(0,W.indexOf(">"))),W.length%2&&(W+="0"),O.test(W)===!1)return"";for(var $="",J=0;Jpt&&(wt=bt,bt=pt,pt=wt);else{if(O!=="l"&&O!=="landscape")throw"Invalid orientation: "+O;O="l",pt>bt&&(wt=bt,bt=pt,pt=wt)}return{width:bt,height:pt,unit:$,k:Ne,orientation:O}},n.html=function(O,$){($=$||{}).callback=$.callback||function(){},$.html2canvas=$.html2canvas||{},$.html2canvas.canvas=$.html2canvas.canvas||this.canvas,$.jsPDF=$.jsPDF||this,$.fontFaces=$.fontFaces?$.fontFaces.map(Al):null;var J=new W($);return $.worker?J:J.from(O).doCallback()}}(qn.API),qn.API.addJS=function(n){return i=n,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&r!==void 0&&this.internal.out("/Names <>")}),this},function(n){var a;n.events.push(["postPutResources",function(){var s=this,c=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var d=s.outline.render().split(/\r\n/),m=0;m> endobj")}var ce=s.internal.newObject();for(s.internal.write("<< /Names [ "),m=0;m>","endobj"),a=s.internal.newObject(),s.internal.write("<< /Dests "+ce+" 0 R"),s.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var s=this;s.outline.root.children.length>0&&(s.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&s.internal.write("/Names "+a+" 0 R"))}]),n.events.push(["initialized",function(){var s=this;s.outline={createNamedDestinations:!1,root:{children:[]}},s.outline.add=function(c,d,m){var W={title:d,options:m,children:[]};return c==null&&(c=this.root),c.children.push(W),W},s.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=s,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},s.outline.genIds_r=function(c){c.id=s.internal.newObjectDeferred();for(var d=0;d0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1]))),this.line("/Count "+this.count_r({count:0},c)),this.objEnd()},s.outline.renderItems=function(c){for(var d=this.ctx.pdf.internal.getVerticalCoordinateString,m=0;m0&&this.line("/Prev "+this.makeRef(c.children[m-1])),m0&&(this.line("/First "+this.makeRef(W.children[0])),this.line("/Last "+this.makeRef(W.children[W.children.length-1])));var O=this.count=this.count_r({count:0},W);if(O>0&&this.line("/Count "+O),W.options&&W.options.pageNumber){var $=s.internal.getPageInfo(W.options.pageNumber);this.line("/Dest ["+$.objId+" 0 R /XYZ 0 "+d(0)+" 0]")}this.objEnd()}for(var J=0;Jae in Ce?td(Ce,ae,{enumerable:!0,configurable:!0,writable:!0,value:y}):Ce[ae]=y,Xa=(Ce,ae)=>{for(var y in ae||(ae={}))Yc.call(ae,y)&&Kc(Ce,y,ae[y]);if(ic)for(var y of ic(ae))Xc.call(ae,y)&&Kc(Ce,y,ae[y]);return Ce},kl=(Ce,ae)=>nd(Ce,rd(ae));var qc=(Ce,ae)=>{var y={};for(var b in Ce)Yc.call(Ce,b)&&ae.indexOf(b)<0&&(y[b]=Ce[b]);if(Ce!=null&&ic)for(var b of ic(Ce))ae.indexOf(b)<0&&Xc.call(Ce,b)&&(y[b]=Ce[b]);return y};var Pc=(Ce,ae,y)=>new Promise((b,he)=>{var le=fe=>{try{be(y.next(fe))}catch(we){he(we)}},pe=fe=>{try{be(y.throw(fe))}catch(we){he(we)}},be=fe=>fe.done?b(fe.value):Promise.resolve(fe.value).then(le,pe);be((y=y.apply(Ce,ae)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[8821],{40001:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},26227:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},41464:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},73331:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},15277:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},52671:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},8657:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},56082:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},33853:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},15075:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},43531:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},61485:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},47472:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},87395:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},32050:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),he=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,je){return he.createElement(be.Z,(0,b.Z)({},xe,{ref:je,icon:pe}))},we=he.forwardRef(fe),Oe=we},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Ce,ae){"use strict";ae.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},84915:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Ce={},ae="5.0",y={},b=null,he=!1,le=!1,pe=null,be=!1,fe=null,we=null,Oe=0;Oe4?parseFloat(it):5};Ce.setHTML5Codebase=function(it,Ht){we=it,Ee(it,Ht)},Ce.setJavaCodebase=Ce.setJavaCodebaseVersion=Ce.isCompiledInstalled=Ce.setPreCompiledScriptPath=Ce.setPreCompiledResourcePath=function(){},Ce.setHTML5CodebaseVersion=function(it,Ht){var Yt=parseFloat(it);if(Yt!==NaN&&Yt<5){console.log("The GeoGebra HTML5 codebase version "+Yt+" is deprecated. Using version latest instead.");return}fe=it,$e(it,Ht)},Ce.getHTML5CodebaseVersion=function(){return nt},Ce.getParameters=function(){return y},Ce.setFontsCSSURL=function(it){Qe=it},Ce.setGiacJSURL=function(it){},Ce.setJNLPFile=function(it){xe=it},Ce.setJNLPBaseDir=function(it){},Ce.inject=function(){function it(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ht="auto",Yt=y.id,Rn,ct=!1,Sn=0;Sn=5)return!0;var it=Ce.getAppletObject();return it&&typeof it.recalculateEnvironments=="function"?(it.recalculateEnvironments(),!0):!1},Ce.startAnimation=function(){var it=Ce.getAppletObject();return it&&typeof it.startAnimation=="function"?(it.startAnimation(),!0):!1},Ce.stopAnimation=function(){var it=Ce.getAppletObject();return it&&typeof it.stopAnimation=="function"?(it.stopAnimation(),!0):!1},Ce.getAppletObject=function(){var it=y.id!==void 0?y.id:"ggbApplet";return window[it]},Ce.resize=function(){};var mt=function(it,Ht,Yt){var Rn=document.createElement("param");Rn.setAttribute("name",Ht),Rn.setAttribute("value",Yt),it.appendChild(Rn)},ut=function(it){return it&&it!=="false"},Tt=function(it,Ht,Yt){_e(nt)<=4.2&&(Yt=!0);var Rn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==nt||ggbHTML5LoadedCodebaseIsWebSimple&&!Je)&&(Rn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ct=document.createElement("div");ct.classList.add("appletParameters","notranslate");var Sn=Ht.width,Zt=Ht.height;if(Ht.disableAutoScale=Ht.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ht.disableAutoScale,Ht.width!==void 0)if(_e(nt)<=4.4)ut(Ht.showToolBar)&&(Ht.height-=7),ut(Ht.showAlgebraInput)&&(Ht.height-=37),Ht.width<605&&ut(Ht.showToolBar)&&(Ht.width=605,Sn=605);else{var vn=100;(ut(Ht.showToolBar)||ut(Ht.showMenuBar))&&(Ht.hasOwnProperty("customToolBar")&&(Ht.customToolbar=Ht.customToolBar),vn=ut(Ht.showMenuBar)?245:155),Sn=5?(Ht.appletOnLoad=function(Ut){var $t=it.querySelector(".ggb_preview");$t&&$t.parentNode.removeChild($t),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(me),window.GGBT_wsf_view&&$(window).trigger("resize"),De(Ut)},ce||me.appendChild(Te)):ct.appendChild(Te),me.appendChild(ct),ce||it.appendChild(me),setTimeout(function(){Ce.resize()},1)}else{var Ue=document.createElement("div");Ue.className="applet_scaler",Ue.style.position="relative",Ue.style.display="block",Ue.appendChild(ct),it.appendChild(Ue),Ht.appletOnLoad=function(Ut){Ce.resize(),De(Ut)}}function ge(Ut,$t){$t&&typeof $t.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ut,$t.appletOnLoad):renderGGBElement(Ut),en("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",$t)}function Me(Ut,$t){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ut,params:$t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(fn){ge(fn.article,fn.params)}),html5AppletsToProcess=null)},_e(nt)<5&&(Ut.className+=" geogebraweb")):ge(Ut,$t)}if(Rn){scriptLoadStarted=!0;for(var ot=0;ot0?(un.remove(),me.attr("id","fullscreencontent").show(),jQuery(De).append(me),window.dispatchEvent(new Event("resize"))):Tt(un,Ht,!1),window.GGBT_wsf_view.launchFullScreen(De)}else xt=Rn,Tt(it,Ht,!1);if(!window.GGBT_wsf_view)for(Zt=0;Ztit/4*3&&(un=it/4*3),De=un/5.8,vn.setAttribute("src",We),vn.setAttribute("width",un),vn.setAttribute("height",De);var me=(it-un)/2,ce=(Ht-De)/2;vn.style.left=me+"px",vn.style.top=ce+"px",ct.appendChild(vn)}}return ct.appendChild(Zt),ct},On=function(it){return it=it.toLowerCase(),it==="html5"||it==="screenshot"?it:"html5"},wt=["web","webSimple","web3d","tablet","tablet3d","phone"],$e=function(it,Ht){if(nt=it,Ht){Ee(nt,!0);return}var Yt=!he;if(Yt){var Rn=_e(nt);!isNaN(Rn)&&Rn<4.4&&(Yt=!1)}var ct,Sn;window.location.protocol.substr(0,4)==="http"?ct=window.location.protocol:ct="http:";var Zt=nt.indexOf("//");Zt>0?Sn=nt:Zt===0?Sn=ct+nt:Sn="https://www.geogebra.org/apps/5.2.814.0/";for(var vn in wt)if(nt.slice(wt[vn].length*-1)===wt[vn]||nt.slice((wt[vn].length+1)*-1)===wt[vn]+"/"){Ee(Sn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Yt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!ut(y.showToolBar)&&!ut(y.showMenuBar)&&!ut(y.showAlgebraInput)&&!ut(y.enableRightClick)&&(!y.appName||y.appName=="classic")?Sn+="webSimple/":Sn+="web3d/",Ee(Sn,!1)},Ee=function(it,Ht){if(it.requirejs){je=it;return}it.slice(-1)!=="/"&&(it+="/"),je=it,Ht===null&&(Ht=it.indexOf("http")===-1),Fe=Ht,et="web.nocache.js",Je=!1;var Yt=je.split("/");Yt.length>1&&(!Ht&&Yt[Yt.length-2]==="webSimple"?(et="webSimple.nocache.js",Je=!0):wt.indexOf(Yt[Yt.length-2])>=0&&(et=Yt[Yt.length-2]+".nocache.js")),Yt=it.split("/"),nt=Yt[Yt.length-3],nt.substr(0,4)==="test"?nt=nt.substr(4,1)+"."+nt.substr(5,1):(nt.substr(0,3)==="war"||nt.substr(0,4)==="beta")&&(nt="5.0");var Rn=parseFloat(nt);Rn!==NaN&&Rn<5&&it.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Rn+" is deprecated. Using version latest instead."),$e("5.0",Ht))},en=function(it,Ht){window.console&&window.console.log&&(!Ht||typeof Ht.showLogging=="undefined"||Ht.showLogging&&Ht.showLogging!=="false")&&console.log(it)};y.material_id!==void 0?gt(on):on();function on(){var it=ae;fe!==null?it=fe:parseFloat(it)<5&&(it="5.0"),$e(it,!1),we!==null&&Ee(we,Fe),be=!0}return Ce},GGBAppletUtils=function(){"use strict";function Ce(){return window.GGBT_wsf_edit!==void 0}function ae(be,fe){fe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+fe+","+fe+")",be.style.webkitTransform="scale("+fe+","+fe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function y(be,fe,we,Oe,Re,xe){var je=null;if(xe!=null&&xe!="")for(var Fe=be.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+xe+" ")>-1){je=Fe;break}else Fe=Fe.parentNode;var xt=0,nt=0,et=0,Je=0,Ge=0,We=0,Ve=0;if(je)xt=je.offsetWidth,nt=Math.max(Oe?je.offsetWidth:0,je.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(xt=Math.min(window.innerWidth,document.documentElement.clientWidth),nt=Math.min(window.innerHeight,document.documentElement.clientHeight),et=xt):(xt=window.innerWidth,nt=window.innerHeight,et=window.innerWidth),be){var Qe=be.getBoundingClientRect();Qe.left>0&&Qe.left<=xt&&(Re===void 0||!Re)&&(document.dir==="rtl"?(Ge=xt-Qe.width-Qe.left,We=et<=480?10:30):(We=Qe.left,Ge=et<=480?10:30),Je=We+Ge)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var He=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Je=40,Ve=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Je=0,Ve=40)}}return be&&((we===void 0||!we)&&fe>0&&fe+Je1&&(xe=!0)),fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))Re=b(be,fe,xe,we,be.scaleContainerClass);else return Oe;return xe&&(!be.hasOwnProperty("scale")||Oe===1)?Re:Math.min(Oe,Re)}function le(be){var fe=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=be.getBoundingClientRect(),Re=(fe-Oe.width)/2,xe=(we-Oe.height)/2;xe<0&&(xe=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Re<40?be.style.left="40px":be.style.left=Re+"px",be.style.top=xe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(xe<40?be.style.top="40px":be.style.top=xe+"px",be.style.left=Re+"px")}function pe(be,fe){var we=be.querySelector(".appletParameters");if(we){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(fe.id!==we.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(we.parentElement&&/fullscreen/.test(we.parentElement.className))return;var Oe=he(fe,be);Ce()&&we.setAttribute("data-param-scale",Oe);for(var Re=null,xe=0;xe=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ce){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ce){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ce){var ae=c[Ce];return ae==null?null:ae},r=d,webModule.__errFn=e}function B(){function Ce(be){var fe=be.lastIndexOf(rb);fe==-1&&(fe=be.length);var we=be.indexOf(sb);we==-1&&(we=be.length);var Oe=be.lastIndexOf(tb,Math.min(we,fe));return Oe>=O?be.substring(O,Oe+P):W}function ae(be){if(!be.match(/^\w+:\/\//)){var fe=o.createElement(ub);fe.src=be+vb,be=Ce(fe.src)}return be}function y(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function b(){for(var be=o.getElementsByTagName(_),fe=O;feO?be[be.length-P].href:W}function le(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var pe=y();return pe==W&&(pe=b()),pe==W&&(pe=he()),pe==W&&le()&&(pe=Ce(o.location.href)),pe=ae(pe),pe}function C(Ce){return Ce.match(/^\//)||Ce.match(/^[a-zA-Z]+:\/\//)?Ce:webModule.__moduleBase+Ce}function D(){var Ce=[],ae=O,y=[],b=[];function he(be){var fe=b[be](),we=y[be];if(fe in we)return fe;var Oe=[];for(var Re in we)Oe[we[Re]]=Re;throw r&&r(be,Oe,fe),null}if(__gwt_isKnownPropertyValue=function(be,fe){return fe in y[be]},webModule.__getPropMap=function(){var be={};for(var fe in y)y.hasOwnProperty(fe)&&(be[fe]=he(fe));return be},webModule.__computePropValue=he,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var le;try{le=Cb;var pe=le.indexOf(Db);pe!=-1&&(ae=parseInt(le.substring(pe+P),$),le=le.substring(O,pe))}catch(be){}return webModule.__softPermutationId=ae,C(le+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},23216:function(Ce,ae,y){"use strict";y.d(ae,{Ax:function(){return pe},Ds:function(){return be},KI:function(){return we},SI:function(){return le},f1:function(){return he}});var b=y(14185);function he(Oe){let Re=!0;if(Oe.length>0){for(let xe=0;xenew Promise((et,Je)=>{var Ge=Qe=>{try{Ve(nt.next(Qe))}catch(He){Je(He)}},We=Qe=>{try{Ve(nt.throw(Qe))}catch(He){Je(He)}},Ve=Qe=>Qe.done?et(Qe.value):Promise.resolve(Qe.value).then(Ge,We);Ve((nt=nt.apply(Fe,xt)).next())}),je=({data:Fe,className:xt,fullWidth:nt,style:et={},onClose:Je,onOk:Ge,showFullTools:We,noAssociationId:Ve})=>{const Qe=(0,b.useRef)(null),He=(0,b.useRef)(null),_e=(0,b.useRef)(null),Ze=(0,b.useRef)(null),[tt,gt]=(0,b.useState)(!1),[rt,It]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(_e.current||(_e.current=document.createElement("style"),document.head.appendChild(_e.current)),Fe!=null&&Fe.visible?(document.body.setAttribute("data-custom","y-hidden"),_e.current.innerHTML=" html { overflow-y: hidden; }",Fe!=null&&Fe.src&&mt()):(document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)),()=>{document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)}),[Fe==null?void 0:Fe.visible]);const mt=()=>Re(void 0,null,function*(){gt(!0),It("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ke=yield(0,Oe.ZJ)(Fe==null?void 0:Fe.src);Qe.current.src="",Qe.current.src=Ke,Qe.current.onload=function(){_t()},gt(!1),It("")}),ut=Ke=>Re(void 0,null,function*(){gt(!0),It("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Rt=yield(0,we.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Fe.title,file:Ke.dataUrl}});Rt!=null&&Rt.id&&!Ve?(yield(0,we.ZP)(`/api/attachments/${Fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Rt==null?void 0:Rt.id,settings:JSON.stringify(Ke.state)}})).status===0&&Ge():Rt!=null&&Rt.id&&Ge(Rt),gt(!1),It("")}),Tt=()=>{const Ke=document.querySelector('a[href="https://markerjs.com/"]');Ke&&Ke.parentNode&&(Ke.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Nt=>{const Kt=document.querySelector(Nt.name);Kt&&Kt.setAttribute("title",Nt.title)})},_t=()=>{He.current=new fe.hP(Qe.current),He.current.targetRoot=Ze.current,He.current.addEventListener("render",ut),He.current.addEventListener("beforeclose",Je),We&&(He.current.availableMarkerTypes=He.current.ALL_MARKER_TYPES,He.current.uiStyleSettings.redoButtonVisible=!0,He.current.uiStyleSettings.notesButtonVisible=!0,He.current.uiStyleSettings.zoomButtonVisible=!0,He.current.uiStyleSettings.zoomOutButtonVisible=!0,He.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=He.current.uiStyleSettings,He.current.show(),Fe!=null&&Fe.snapshotData&&He.current.restoreState(Fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Tt()},300)};return b.createElement(b.Fragment,null,(Fe==null?void 0:Fe.visible)&&b.createElement(be.Z,{spinning:tt,tip:rt,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:Ze,className:pe()(he.imageDimensions,xt,nt?he.fullWidth:""),style:et},b.createElement("img",{className:he.img,ref:Qe}))))}},9057:function(Ce,ae,y){"use strict";var b=y(59301),he=y(77019),le=y(5269),pe=y(31691),be=y(7939),fe=y(35883),we=y(74501),Oe=y(48136),Re=y(59301);const xe=(0,b.forwardRef)(({callback:je,showSaveButton:Fe,value:xt=""},nt)=>{const et=(0,b.useRef)(),Je=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Ge=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +!(function(){var rd=Object.defineProperty,ad=Object.defineProperties;var id=Object.getOwnPropertyDescriptors;var lc=Object.getOwnPropertySymbols;var qc=Object.prototype.hasOwnProperty,Jc=Object.prototype.propertyIsEnumerable;var ed=Math.pow,Qc=(Ce,ae,y)=>ae in Ce?rd(Ce,ae,{enumerable:!0,configurable:!0,writable:!0,value:y}):Ce[ae]=y,qa=(Ce,ae)=>{for(var y in ae||(ae={}))qc.call(ae,y)&&Qc(Ce,y,ae[y]);if(lc)for(var y of lc(ae))Jc.call(ae,y)&&Qc(Ce,y,ae[y]);return Ce},Ol=(Ce,ae)=>ad(Ce,id(ae));var td=(Ce,ae)=>{var y={};for(var b in Ce)qc.call(Ce,b)&&ae.indexOf(b)<0&&(y[b]=Ce[b]);if(Ce!=null&&lc)for(var b of lc(Ce))ae.indexOf(b)<0&&Jc.call(Ce,b)&&(y[b]=Ce[b]);return y};var Uc=(Ce,ae,y)=>new Promise((b,me)=>{var le=fe=>{try{be(y.next(fe))}catch(we){me(we)}},pe=fe=>{try{be(y.throw(fe))}catch(we){me(we)}},be=fe=>fe.done?b(fe.value):Promise.resolve(fe.value).then(le,pe);be((y=y.apply(Ce,ae)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[8821],{40001:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},26227:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},41464:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},73331:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},15277:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},52671:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},8657:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},56082:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},33853:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},15075:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},43531:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},61485:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},47472:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},87395:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},32050:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(60499),me=y(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},pe=le,be=y(7657),fe=function(xe,Ge){return me.createElement(be.Z,(0,b.Z)({},xe,{ref:Ge,icon:pe}))},we=me.forwardRef(fe),Oe=we},88319:function(){"use strict"},94896:function(){"use strict"},74501:function(Ce,ae){"use strict";ae.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},84915:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Ce={},ae="5.0",y={},b=null,me=!1,le=!1,pe=null,be=!1,fe=null,we=null,Oe=0;Oe4?parseFloat(st):5};Ce.setHTML5Codebase=function(st,Ut){we=st,Se(st,Ut)},Ce.setJavaCodebase=Ce.setJavaCodebaseVersion=Ce.isCompiledInstalled=Ce.setPreCompiledScriptPath=Ce.setPreCompiledResourcePath=function(){},Ce.setHTML5CodebaseVersion=function(st,Ut){var Gt=parseFloat(st);if(Gt!==NaN&&Gt<5){console.log("The GeoGebra HTML5 codebase version "+Gt+" is deprecated. Using version latest instead.");return}fe=st,Ye(st,Ut)},Ce.getHTML5CodebaseVersion=function(){return at},Ce.getParameters=function(){return y},Ce.setFontsCSSURL=function(st){Qe=st},Ce.setGiacJSURL=function(st){},Ce.setJNLPFile=function(st){xe=st},Ce.setJNLPBaseDir=function(st){},Ce.inject=function(){function st(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ut="auto",Gt=y.id,On,ft=!1,En=0;En=5)return!0;var st=Ce.getAppletObject();return st&&typeof st.recalculateEnvironments=="function"?(st.recalculateEnvironments(),!0):!1},Ce.startAnimation=function(){var st=Ce.getAppletObject();return st&&typeof st.startAnimation=="function"?(st.startAnimation(),!0):!1},Ce.stopAnimation=function(){var st=Ce.getAppletObject();return st&&typeof st.stopAnimation=="function"?(st.stopAnimation(),!0):!1},Ce.getAppletObject=function(){var st=y.id!==void 0?y.id:"ggbApplet";return window[st]},Ce.resize=function(){};var vt=function(st,Ut,Gt){var On=document.createElement("param");On.setAttribute("name",Ut),On.setAttribute("value",Gt),st.appendChild(On)},dt=function(st){return st&&st!=="false"},It=function(st,Ut,Gt){_e(at)<=4.2&&(Gt=!0);var On=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==at||ggbHTML5LoadedCodebaseIsWebSimple&&!Je)&&(On=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ft=document.createElement("div");ft.classList.add("appletParameters","notranslate");var En=Ut.width,Ht=Ut.height;if(Ut.disableAutoScale=Ut.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ut.disableAutoScale,Ut.width!==void 0)if(_e(at)<=4.4)dt(Ut.showToolBar)&&(Ut.height-=7),dt(Ut.showAlgebraInput)&&(Ut.height-=37),Ut.width<605&&dt(Ut.showToolBar)&&(Ut.width=605,En=605);else{var gn=100;(dt(Ut.showToolBar)||dt(Ut.showMenuBar))&&(Ut.hasOwnProperty("customToolBar")&&(Ut.customToolbar=Ut.customToolBar),gn=dt(Ut.showMenuBar)?245:155),En=5?(Ut.appletOnLoad=function(Pt){var Wt=st.querySelector(".ggb_preview");Wt&&Wt.parentNode.removeChild(Wt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(he),window.GGBT_wsf_view&&$(window).trigger("resize"),De(Pt)},ce||he.appendChild(Te)):ft.appendChild(Te),he.appendChild(ft),ce||st.appendChild(he),setTimeout(function(){Ce.resize()},1)}else{var je=document.createElement("div");je.className="applet_scaler",je.style.position="relative",je.style.display="block",je.appendChild(ft),st.appendChild(je),Ut.appletOnLoad=function(Pt){Ce.resize(),De(Pt)}}function ge(Pt,Wt){Wt&&typeof Wt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Pt,Wt.appletOnLoad):renderGGBElement(Pt),Qt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Wt)}function Pe(Pt,Wt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Pt,params:Wt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(pn){ge(pn.article,pn.params)}),html5AppletsToProcess=null)},_e(at)<5&&(Pt.className+=" geogebraweb")):ge(Pt,Wt)}if(On){scriptLoadStarted=!0;for(var ct=0;ct0?(un.remove(),he.attr("id","fullscreencontent").show(),jQuery(De).append(he),window.dispatchEvent(new Event("resize"))):It(un,Ut,!1),window.GGBT_wsf_view.launchFullScreen(De)}else At=On,It(st,Ut,!1);if(!window.GGBT_wsf_view)for(Ht=0;Htst/4*3&&(un=st/4*3),De=un/5.8,gn.setAttribute("src",Ve),gn.setAttribute("width",un),gn.setAttribute("height",De);var he=(st-un)/2,ce=(Ut-De)/2;gn.style.left=he+"px",gn.style.top=ce+"px",ft.appendChild(gn)}}return ft.appendChild(Ht),ft},Tn=function(st){return st=st.toLowerCase(),st==="html5"||st==="screenshot"?st:"html5"},Tt=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(st,Ut){if(at=st,Ut){Se(at,!0);return}var Gt=!me;if(Gt){var On=_e(at);!isNaN(On)&&On<4.4&&(Gt=!1)}var ft,En;window.location.protocol.substr(0,4)==="http"?ft=window.location.protocol:ft="http:";var Ht=at.indexOf("//");Ht>0?En=at:Ht===0?En=ft+at:En="https://www.geogebra.org/apps/5.2.814.0/";for(var gn in Tt)if(at.slice(Tt[gn].length*-1)===Tt[gn]||at.slice((Tt[gn].length+1)*-1)===Tt[gn]+"/"){Se(En,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Gt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!dt(y.showToolBar)&&!dt(y.showMenuBar)&&!dt(y.showAlgebraInput)&&!dt(y.enableRightClick)&&(!y.appName||y.appName=="classic")?En+="webSimple/":En+="web3d/",Se(En,!1)},Se=function(st,Ut){if(st.requirejs){Ge=st;return}st.slice(-1)!=="/"&&(st+="/"),Ge=st,Ut===null&&(Ut=st.indexOf("http")===-1),Fe=Ut,tt="web.nocache.js",Je=!1;var Gt=Ge.split("/");Gt.length>1&&(!Ut&&Gt[Gt.length-2]==="webSimple"?(tt="webSimple.nocache.js",Je=!0):Tt.indexOf(Gt[Gt.length-2])>=0&&(tt=Gt[Gt.length-2]+".nocache.js")),Gt=st.split("/"),at=Gt[Gt.length-3],at.substr(0,4)==="test"?at=at.substr(4,1)+"."+at.substr(5,1):(at.substr(0,3)==="war"||at.substr(0,4)==="beta")&&(at="5.0");var On=parseFloat(at);On!==NaN&&On<5&&st.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+On+" is deprecated. Using version latest instead."),Ye("5.0",Ut))},Qt=function(st,Ut){window.console&&window.console.log&&(!Ut||typeof Ut.showLogging=="undefined"||Ut.showLogging&&Ut.showLogging!=="false")&&console.log(st)};y.material_id!==void 0?bt(on):on();function on(){var st=ae;fe!==null?st=fe:parseFloat(st)<5&&(st="5.0"),Ye(st,!1),we!==null&&Se(we,Fe),be=!0}return Ce},GGBAppletUtils=function(){"use strict";function Ce(){return window.GGBT_wsf_edit!==void 0}function ae(be,fe){fe!=1?(be.style.transformOrigin="0% 0% 0px",be.style.webkitTransformOrigin="0% 0% 0px",be.style.transform="scale("+fe+","+fe+")",be.style.webkitTransform="scale("+fe+","+fe+")",be.style.maxWidth="initial",be.querySelector(".ggb_preview")!==null&&(be.querySelector(".ggb_preview").style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[0]!==void 0&&(be.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),be.querySelectorAll(".ggb_preview img")[1]!==void 0&&(be.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(be.style.transform="none",be.style.webkitTransform="none")}function y(be,fe,we,Oe,Re,xe){var Ge=null;if(xe!=null&&xe!="")for(var Fe=be.parentNode;Fe!=null;)if((" "+Fe.className+" ").indexOf(" "+xe+" ")>-1){Ge=Fe;break}else Fe=Fe.parentNode;var At=0,at=0,tt=0,Je=0,We=0,Ve=0,Ze=0;if(Ge)At=Ge.offsetWidth,at=Math.max(Oe?Ge.offsetWidth:0,Ge.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(At=Math.min(window.innerWidth,document.documentElement.clientWidth),at=Math.min(window.innerHeight,document.documentElement.clientHeight),tt=At):(At=window.innerWidth,at=window.innerHeight,tt=window.innerWidth),be){var Qe=be.getBoundingClientRect();Qe.left>0&&Qe.left<=At&&(Re===void 0||!Re)&&(document.dir==="rtl"?(We=At-Qe.width-Qe.left,Ve=tt<=480?10:30):(Ve=Qe.left,We=tt<=480?10:30),Je=Ve+We)}if(be&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ze=be.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Je=40,Ze=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Je=0,Ze=40)}}return be&&((we===void 0||!we)&&fe>0&&fe+Je1&&(xe=!0)),fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xe=!0),!(be.hasOwnProperty("disableAutoScale")&&be.disableAutoScale))Re=b(be,fe,xe,we,be.scaleContainerClass);else return Oe;return xe&&(!be.hasOwnProperty("scale")||Oe===1)?Re:Math.min(Oe,Re)}function le(be){var fe=Math.min(window.innerWidth,document.documentElement.clientWidth),we=Math.min(window.innerHeight,document.documentElement.clientHeight),Oe=be.getBoundingClientRect(),Re=(fe-Oe.width)/2,xe=(we-Oe.height)/2;xe<0&&(xe=0),be.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Re<40?be.style.left="40px":be.style.left=Re+"px",be.style.top=xe+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(xe<40?be.style.top="40px":be.style.top=xe+"px",be.style.left=Re+"px")}function pe(be,fe){var we=be.querySelector(".appletParameters");if(we){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(fe.id!==we.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(be)}if(we.parentElement&&/fullscreen/.test(we.parentElement.className))return;var Oe=me(fe,be);Ce()&&we.setAttribute("data-param-scale",Oe);for(var Re=null,xe=0;xe=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ce){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ce){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ce){var ae=c[Ce];return ae==null?null:ae},r=d,webModule.__errFn=e}function B(){function Ce(be){var fe=be.lastIndexOf(rb);fe==-1&&(fe=be.length);var we=be.indexOf(sb);we==-1&&(we=be.length);var Oe=be.lastIndexOf(tb,Math.min(we,fe));return Oe>=O?be.substring(O,Oe+P):W}function ae(be){if(!be.match(/^\w+:\/\//)){var fe=o.createElement(ub);fe.src=be+vb,be=Ce(fe.src)}return be}function y(){var be=__gwt_getMetaProperty(wb);return be!=null?be:W}function b(){for(var be=o.getElementsByTagName(_),fe=O;feO?be[be.length-P].href:W}function le(){var be=o.location;return be.href==be.protocol+zb+be.host+be.pathname+be.search+be.hash}var pe=y();return pe==W&&(pe=b()),pe==W&&(pe=me()),pe==W&&le()&&(pe=Ce(o.location.href)),pe=ae(pe),pe}function C(Ce){return Ce.match(/^\//)||Ce.match(/^[a-zA-Z]+:\/\//)?Ce:webModule.__moduleBase+Ce}function D(){var Ce=[],ae=O,y=[],b=[];function me(be){var fe=b[be](),we=y[be];if(fe in we)return fe;var Oe=[];for(var Re in we)Oe[we[Re]]=Re;throw r&&r(be,Oe,fe),null}if(__gwt_isKnownPropertyValue=function(be,fe){return fe in y[be]},webModule.__getPropMap=function(){var be={};for(var fe in y)y.hasOwnProperty(fe)&&(be[fe]=me(fe));return be},webModule.__computePropValue=me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var le;try{le=Cb;var pe=le.indexOf(Db);pe!=-1&&(ae=parseInt(le.substring(pe+P),$),le=le.substring(O,pe))}catch(be){}return webModule.__softPermutationId=ae,C(le+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},23216:function(Ce,ae,y){"use strict";y.d(ae,{Ax:function(){return pe},Ds:function(){return be},KI:function(){return we},SI:function(){return le},f1:function(){return me}});var b=y(14185);function me(Oe){let Re=!0;if(Oe.length>0){for(let xe=0;xenew Promise((tt,Je)=>{var We=Qe=>{try{Ze(at.next(Qe))}catch(ze){Je(ze)}},Ve=Qe=>{try{Ze(at.throw(Qe))}catch(ze){Je(ze)}},Ze=Qe=>Qe.done?tt(Qe.value):Promise.resolve(Qe.value).then(We,Ve);Ze((at=at.apply(Fe,At)).next())}),Ge=({data:Fe,className:At,fullWidth:at,style:tt={},onClose:Je,onOk:We,showFullTools:Ve,noAssociationId:Ze})=>{const Qe=(0,b.useRef)(null),ze=(0,b.useRef)(null),_e=(0,b.useRef)(null),$e=(0,b.useRef)(null),[nt,bt]=(0,b.useState)(!1),[it,Nt]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>(_e.current||(_e.current=document.createElement("style"),document.head.appendChild(_e.current)),Fe!=null&&Fe.visible?(document.body.setAttribute("data-custom","y-hidden"),_e.current.innerHTML=" html { overflow-y: hidden; }",Fe!=null&&Fe.src&&vt()):(document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)),()=>{document.body.removeAttribute("data-custom"),_e.current&&(document.head.removeChild(_e.current),_e.current=null)}),[Fe==null?void 0:Fe.visible]);const vt=()=>Re(void 0,null,function*(){bt(!0),Nt("\u6B63\u5728\u52A0\u8F7D\u4E2D");const qe=yield(0,Oe.ZJ)(Fe==null?void 0:Fe.src);Qe.current.src="",Qe.current.src=qe,Qe.current.onload=function(){St()},bt(!1),Nt("")}),dt=qe=>Re(void 0,null,function*(){bt(!0),Nt("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Jt=yield(0,we.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Fe.title,file:qe.dataUrl}});Jt!=null&&Jt.id&&!Ze?(yield(0,we.ZP)(`/api/attachments/${Fe.id}/add_subitem.json`,{method:"post",body:{subitem_id:Jt==null?void 0:Jt.id,settings:JSON.stringify(qe.state)}})).status===0&&We():Jt!=null&&Jt.id&&We(Jt),bt(!1),Nt("")}),It=()=>{const qe=document.querySelector('a[href="https://markerjs.com/"]');qe&&qe.parentNode&&(qe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Rt=>{const Zt=document.querySelector(Rt.name);Zt&&Zt.setAttribute("title",Rt.title)})},St=()=>{ze.current=new fe.hP(Qe.current),ze.current.targetRoot=$e.current,ze.current.addEventListener("render",dt),ze.current.addEventListener("beforeclose",Je),Ve&&(ze.current.availableMarkerTypes=ze.current.ALL_MARKER_TYPES,ze.current.uiStyleSettings.redoButtonVisible=!0,ze.current.uiStyleSettings.notesButtonVisible=!0,ze.current.uiStyleSettings.zoomButtonVisible=!0,ze.current.uiStyleSettings.zoomOutButtonVisible=!0,ze.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ze.current.uiStyleSettings,ze.current.show(),Fe!=null&&Fe.snapshotData&&ze.current.restoreState(Fe.snapshotData),setTimeout(()=>{window.scrollTo(0,0),It()},300)};return b.createElement(b.Fragment,null,(Fe==null?void 0:Fe.visible)&&b.createElement(be.Z,{spinning:nt,tip:it,style:{position:"absolute",width:"100vw"}},b.createElement("div",{ref:$e,className:pe()(me.imageDimensions,At,at?me.fullWidth:""),style:tt},b.createElement("img",{className:me.img,ref:Qe}))))}},9057:function(Ce,ae,y){"use strict";var b=y(59301),me=y(77019),le=y(5269),pe=y(31691),be=y(7939),fe=y(35883),we=y(74501),Oe=y(48136),Re=y(59301);const xe=(0,b.forwardRef)(({callback:Ge,showSaveButton:Fe,value:At=""},at)=>{const tt=(0,b.useRef)(),Je=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],We=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],We=He=>{et.current.setValue(et.current.getValue()+" "+He.value+" ")},Ve=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Re.createElement(he.Z,{className:we.Z.lists,gutter:[10,10]},Je.map((He,_e)=>Re.createElement(le.Z,{flex:"110px",className:we.Z.item},Re.createElement("div",null,Re.createElement(fe.Z,{value:`$$${He.value}$$`}),He.name),Re.createElement("div",{className:we.Z.children},He.children.map((Ze,tt)=>Re.createElement("div",{key:tt},Re.createElement("h1",null,Ze.name),Re.createElement(he.Z,{gutter:[10,10]},Ze.data.map((gt,rt)=>Re.createElement(le.Z,{key:rt,onClick:()=>We(gt),className:we.Z.diamond},Re.createElement(fe.Z,{value:"`$$"+gt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Re.createElement(he.Z,{className:we.Z.lists,gutter:[10,10]},Ge.map((He,_e)=>Re.createElement(le.Z,{flex:"110px",className:we.Z.item},Re.createElement("div",null,Re.createElement(fe.Z,{value:"`$$"+He.value+"$$`"}),He.name),Re.createElement("div",{className:we.Z.children},He.children.map((Ze,tt)=>Re.createElement("div",{key:tt},Ze.name&&Re.createElement("h1",null,Ze.name),Re.createElement(he.Z,{gutter:[10,10]},Ze.data.map((gt,rt)=>Re.createElement(le.Z,{key:rt,onClick:()=>We(gt),className:we.Z.diamond},Re.createElement(fe.Z,{value:"`$$"+gt.value+"$$`"}))))))))))}],Qe=()=>{var He=document.createElement("div");He.innerHTML=et.current.getValue();var _e=He.innerText;return je&&je(_e),_e};return(0,b.useImperativeHandle)(nt,()=>({getData:Qe})),Re.createElement("div",{className:we.Z.mathWrap},Re.createElement(pe.default,{defaultActiveKey:"1",items:Ve}),Re.createElement("math-field",{locale:"zh_cn",className:we.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:et,style:{width:800,marginTop:30,fontSize:18}},xt||""),Fe&&Re.createElement("div",{className:we.Z.button},Re.createElement(be.ZP,{size:"large",onClick:Qe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ae.Z=xe},90736:function(Ce,ae,y){"use strict";var b=y(59301),he=y(4977),le=y(7939),pe=Object.defineProperty,be=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,xe=(nt,et,Je)=>et in nt?pe(nt,et,{enumerable:!0,configurable:!0,writable:!0,value:Je}):nt[et]=Je,je=(nt,et)=>{for(var Je in et||(et={}))Oe.call(et,Je)&&xe(nt,Je,et[Je]);if(we)for(var Je of we(et))Re.call(et,Je)&&xe(nt,Je,et[Je]);return nt},Fe=(nt,et)=>be(nt,fe(et));const xt=({img:nt,buttonProps:et={},styles:Je={},customText:Ge,ButtonText:We,ButtonClick:Ve,Buttonclass:Qe,ButtonTwo:He,imgStyles:_e,loading:Ze=!1,className:tt=""})=>b.createElement("section",{className:`tc animated fadeIn ${tt}`,style:je({color:"#999",margin:"100px auto",visibility:Ze?"hidden":"visible"},Je)},b.createElement("img",{src:nt||he,style:Fe(je({},_e),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},Ge||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),We&&b.createElement(le.ZP,je({className:Qe,onClick:Ve},et),We),He&&He);ae.Z=xt},86974:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(59301),he={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},le=y(7939),pe=y(70557),be=y(34728),fe=y(25399),we=y(76406),Oe=y(84849),Re=y(90736),xe=y(14185),je=y(52078),Fe=y(59301),xt=Object.defineProperty,nt=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Ge=(He,_e,Ze)=>_e in He?xt(He,_e,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):He[_e]=Ze,We=(He,_e)=>{for(var Ze in _e||(_e={}))et.call(_e,Ze)&&Ge(He,Ze,_e[Ze]);if(nt)for(var Ze of nt(_e))Je.call(_e,Ze)&&Ge(He,Ze,_e[Ze]);return He},Ve=(He,_e,Ze)=>new Promise((tt,gt)=>{var rt=ut=>{try{mt(Ze.next(ut))}catch(Tt){gt(Tt)}},It=ut=>{try{mt(Ze.throw(ut))}catch(Tt){gt(Tt)}},mt=ut=>ut.done?tt(ut.value):Promise.resolve(ut.value).then(rt,It);mt((Ze=Ze.apply(He,_e)).next())}),Qe=({editOffice:He="view",data:_e,issaver:Ze,onSaver:tt,theme:gt,type:rt,filename:It,monacoEditor:mt,className:ut,style:Tt,close:_t,onClose:Ke,hasMask:Rt,disabledDownload:Nt,onImgDimensions:Kt,showNodata:On,recordInfo:wt})=>{const[$e,Ee]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[en,on]=(0,b.useState)(""),[it,Ht]=(0,b.useState)(),Yt=window.ENV==="build"?"/react/build":"",Rn=location.host.startsWith("localhost")?xe.Z.PROXY_SERVER:xe.Z.API_SERVER,Sn=10*(1024*1024),Zt=(0,b.useRef)();_e!=null&&_e.startsWith("/api")&&rt!=="txt"&&(_e=xe.Z.API_SERVER+_e);const vn=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();It&&mt&&(mt.filename=It),(0,b.useEffect)(()=>{var Ue,ge;const Me=(ge=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ge.split(";");Me==null||Me.map(ot=>{let Qt=ot.split("=");Qt[0]==="_educoder_session"&&on(Qt[1])})},[]),(0,b.useEffect)(()=>{rt==="office"&&(_e.indexOf("bigfilescdn.")>-1||_e.indexOf("bigfiles1")>-1?Ht({url:_e,fileType:vn(_e),model:_e.indexOf("model=edit")?"edit":"view"}):_e.indexOf("coze")>-1?Ht({url:_e,fileType:"doc",model:"view"}):De())},[rt,_e]);function un(Ue){return Ve(this,null,function*(){Ue.data.type==="pdfdata"&&(tt(Ue.data.data),window.removeEventListener("message",un,!1)),console.log("mess---:",Ue.data)})}const De=()=>Ve(void 0,null,function*(){console.log("data:",_e);let Ue=_e;_e.startsWith("http")||(Ue=location.origin+Ue);let ge=new URL(Ue).pathname.split("/").pop();const Me=yield(0,Oe.gJ)({attachment_id:ge});Me.url=Rn+Me.url,Ht(Me)}),me=()=>{if(_e.startsWith("http")||_e.startsWith("blob:")){ce();return}(0,we.Sv)(It||"educoder",_e,It)},ce=()=>{wt&&(0,je.fc)({id:wt==null?void 0:wt.id,watch_type:1,course_id:wt==null?void 0:wt.course_id}),(0,we.Nd)(It||"educoder",decodeURIComponent(_e))};(0,b.useEffect)(()=>(window.addEventListener("message",Te),()=>{window.removeEventListener("message",Te)}),[]);const Te=Ue=>{var ge;((ge=Ue==null?void 0:Ue.data)==null?void 0:ge.type)==="closePop"&&Ke()};return Fe.createElement("div",{style:We({},Tt||{}),className:`${Rt&&he.bgBlack} ${rt?he.wrp:"hide"}`},!!rt&&_t&&Fe.createElement("div",{id:"closePop",className:he.close,ref:Zt},!!Kt&&Fe.createElement(fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Zt.current},Fe.createElement("span",{onClick:()=>{Ke(),Kt()}},Fe.createElement("i",{className:"icon-yulanpizhu"}))),!Nt&&window.parent===window&&Fe.createElement(fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Zt.current},Fe.createElement("span",{onClick:ce},Fe.createElement("i",{className:"icon-quxiaozhiding"}))),Ze&&Fe.createElement(fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Zt.current},Fe.createElement("span",{className:"",onClick:()=>{const Ue=document.getElementById("pdfiframe");window.addEventListener("message",un,!1),setTimeout(()=>{Ue.contentWindow.postMessage("getData","*")},300)}},Fe.createElement("i",{className:"icon-baocun"}))),Fe.createElement(fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Zt.current},Fe.createElement("span",{className:"",onClick:()=>{Ke()}},Fe.createElement("i",{className:"icon-guanbi1"})))),Fe.createElement("div",{className:`${he[ut]} ${ut} ${he.monaco} ${rt==="txt"?"show":"hide"}`},rt==="txt"&&Fe.createElement(Fe.Fragment,null,Fe.createElement(be.ZP,We({},mt)))),rt==="audio"&&Fe.createElement("audio",{controls:!0,src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${_e}`,autoPlay:!0}),rt==="video"&&Fe.createElement(Fe.Fragment,null,(_e==null?void 0:_e.indexOf("http"))>-1?Fe.createElement("video",{controls:!0,src:`${_e}`,autoPlay:!0}):Fe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${_e}`,autoPlay:!0})),rt==="office"&&it&&Fe.createElement("iframe",{src:`${Yt}/office.html?key=${it.key}&url=${btoa(it.url)}&callbackUrl=${Rn+(it.callbackUrl||"")}&fileType=${it.fileType}&title=${it.title||""}&model=${He}&officeServer=${xe.Z.ONLYOFFICE}&disabledDownload=${!!Nt}`}),rt==="html"&&Fe.createElement("iframe",{src:_e+"&disposition=inline"}),rt==="pdf"&&Fe.createElement("iframe",{id:"pdfiframe",src:`${Yt}/js/pdf/index.html?filename=${It||"educoder.pdf"}&url=${encodeURIComponent(_e)}&disabledDownload=${!!Nt}&model=${He}`}),rt==="image"&&Fe.createElement("img",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${_e}`}),(rt==="other"||rt==="download")&&Fe.createElement(Fe.Fragment,null,On?Fe.createElement(Re.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Fe.createElement(le.ZP,{icon:Fe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:me,disabled:Nt},"\u4E0B\u8F7D")}):Fe.createElement(le.ZP,{type:"primary",size:"middle",onClick:me,disabled:Nt},Fe.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),rt==="flowChart"&&Fe.createElement("div",{className:"embed"},Fe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${_e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(Ce,ae,y){"use strict";y.d(ae,{z:function(){return mt},Z:function(){return ut}});var b=y(59301),he=y(46214),le=y(20047),pe=y(64018),be=y(16471),fe=y(14185),we=y(76406),Oe=y(15342),Re=y(44104),xe=y(7939),je=y(1012),Fe=y(86974),xt=y(59301),et=({html:Tt})=>{const _t=(0,b.useRef)(null),Ke=(0,b.useRef)(null),Rt=`.markdown-body p { +\\end{array}`}]}]}],Ve=ze=>{tt.current.setValue(tt.current.getValue()+" "+ze.value+" ")},Ze=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Re.createElement(me.Z,{className:we.Z.lists,gutter:[10,10]},Je.map((ze,_e)=>Re.createElement(le.Z,{flex:"110px",className:we.Z.item},Re.createElement("div",null,Re.createElement(fe.Z,{value:`$$${ze.value}$$`}),ze.name),Re.createElement("div",{className:we.Z.children},ze.children.map(($e,nt)=>Re.createElement("div",{key:nt},Re.createElement("h1",null,$e.name),Re.createElement(me.Z,{gutter:[10,10]},$e.data.map((bt,it)=>Re.createElement(le.Z,{key:it,onClick:()=>Ve(bt),className:we.Z.diamond},Re.createElement(fe.Z,{value:"`$$"+bt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Re.createElement(me.Z,{className:we.Z.lists,gutter:[10,10]},We.map((ze,_e)=>Re.createElement(le.Z,{flex:"110px",className:we.Z.item},Re.createElement("div",null,Re.createElement(fe.Z,{value:"`$$"+ze.value+"$$`"}),ze.name),Re.createElement("div",{className:we.Z.children},ze.children.map(($e,nt)=>Re.createElement("div",{key:nt},$e.name&&Re.createElement("h1",null,$e.name),Re.createElement(me.Z,{gutter:[10,10]},$e.data.map((bt,it)=>Re.createElement(le.Z,{key:it,onClick:()=>Ve(bt),className:we.Z.diamond},Re.createElement(fe.Z,{value:"`$$"+bt.value+"$$`"}))))))))))}],Qe=()=>{var ze=document.createElement("div");ze.innerHTML=tt.current.getValue();var _e=ze.innerText;return Ge&&Ge(_e),_e};return(0,b.useImperativeHandle)(at,()=>({getData:Qe})),Re.createElement("div",{className:we.Z.mathWrap},Re.createElement(pe.default,{defaultActiveKey:"1",items:Ze}),Re.createElement("math-field",{locale:"zh_cn",className:we.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:tt,style:{width:800,marginTop:30,fontSize:18}},At||""),Fe&&Re.createElement("div",{className:we.Z.button},Re.createElement(be.ZP,{size:"large",onClick:Qe,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ae.Z=xe},90736:function(Ce,ae,y){"use strict";var b=y(59301),me=y(4977),le=y(7939),pe=Object.defineProperty,be=Object.defineProperties,fe=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,xe=(at,tt,Je)=>tt in at?pe(at,tt,{enumerable:!0,configurable:!0,writable:!0,value:Je}):at[tt]=Je,Ge=(at,tt)=>{for(var Je in tt||(tt={}))Oe.call(tt,Je)&&xe(at,Je,tt[Je]);if(we)for(var Je of we(tt))Re.call(tt,Je)&&xe(at,Je,tt[Je]);return at},Fe=(at,tt)=>be(at,fe(tt));const At=({img:at,buttonProps:tt={},styles:Je={},customText:We,ButtonText:Ve,ButtonClick:Ze,Buttonclass:Qe,ButtonTwo:ze,imgStyles:_e,loading:$e=!1,className:nt=""})=>b.createElement("section",{className:`tc animated fadeIn ${nt}`,style:Ge({color:"#999",margin:"100px auto",visibility:$e?"hidden":"visible"},Je)},b.createElement("img",{src:at||me,style:Fe(Ge({},_e),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},We||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),Ve&&b.createElement(le.ZP,Ge({className:Qe,onClick:Ze},tt),Ve),ze&&ze);ae.Z=At},86974:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(59301),me={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",showClose:"showClose___edZQA",embed:"embed___hvpEJ"},le=y(7939),pe=y(70557),be=y(34728),fe=y(25399),we=y(76406),Oe=y(84849),Re=y(90736),xe=y(14185),Ge=y(52078),Fe=y(59301),At=Object.defineProperty,at=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,We=(ze,_e,$e)=>_e in ze?At(ze,_e,{enumerable:!0,configurable:!0,writable:!0,value:$e}):ze[_e]=$e,Ve=(ze,_e)=>{for(var $e in _e||(_e={}))tt.call(_e,$e)&&We(ze,$e,_e[$e]);if(at)for(var $e of at(_e))Je.call(_e,$e)&&We(ze,$e,_e[$e]);return ze},Ze=(ze,_e,$e)=>new Promise((nt,bt)=>{var it=dt=>{try{vt($e.next(dt))}catch(It){bt(It)}},Nt=dt=>{try{vt($e.throw(dt))}catch(It){bt(It)}},vt=dt=>dt.done?nt(dt.value):Promise.resolve(dt.value).then(it,Nt);vt(($e=$e.apply(ze,_e)).next())}),Qe=({editOffice:ze="view",data:_e,issaver:$e,onSaver:nt,theme:bt,type:it,filename:Nt,monacoEditor:vt,className:dt,style:It,close:St,onClose:qe,hasMask:Jt,disabledDownload:Rt,onImgDimensions:Zt,showNodata:Tn,recordInfo:Tt})=>{const[Ye,Se]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Qt,on]=(0,b.useState)(""),[st,Ut]=(0,b.useState)(),Gt=window.ENV==="build"?"/react/build":"",On=location.host.startsWith("localhost")?xe.Z.PROXY_SERVER:xe.Z.API_SERVER,En=10*(1024*1024),Ht=(0,b.useRef)();_e!=null&&_e.startsWith("/api")&&it!=="txt"&&(_e=xe.Z.API_SERVER+_e);const gn=je=>je.substring(je.lastIndexOf("/")+1).split(".").pop();Nt&&vt&&(vt.filename=Nt),(0,b.useEffect)(()=>{var je,ge;const Pe=(ge=(je=document.cookie)==null?void 0:je.replace(/\s/g,""))==null?void 0:ge.split(";");Pe==null||Pe.map(ct=>{let $t=ct.split("=");$t[0]==="_educoder_session"&&on($t[1])})},[]),(0,b.useEffect)(()=>{it==="office"&&(_e.indexOf("bigfilescdn.")>-1||_e.indexOf("bigfiles1")>-1?Ut({url:_e,fileType:gn(_e),model:_e.indexOf("model=edit")?"edit":"view"}):_e.indexOf("coze")>-1?Ut({url:_e,fileType:"doc",model:"view"}):De())},[it,_e]);function un(je){return Ze(this,null,function*(){je.data.type==="pdfdata"&&(nt(je.data.data),window.removeEventListener("message",un,!1)),console.log("mess---:",je.data)})}const De=()=>Ze(void 0,null,function*(){console.log("data:",_e);let je=_e;_e.startsWith("http")||(je=location.origin+je);let ge=new URL(je).pathname.split("/").pop();const Pe=yield(0,Oe.gJ)({attachment_id:ge});Pe.url=On+Pe.url,Ut(Pe)}),he=()=>{if(_e.startsWith("http")||_e.startsWith("blob:")){ce();return}(0,we.Sv)(Nt||"educoder",_e,Nt)},ce=()=>{Tt&&(0,Ge.fc)({id:Tt==null?void 0:Tt.id,watch_type:1,course_id:Tt==null?void 0:Tt.course_id}),(0,we.Nd)(Nt||"educoder",decodeURIComponent(_e))};(0,b.useEffect)(()=>(window.addEventListener("message",Te),()=>{window.removeEventListener("message",Te)}),[]);const Te=je=>{var ge;((ge=je==null?void 0:je.data)==null?void 0:ge.type)==="closePop"&&qe()};return Fe.createElement("div",{style:Ve({},It||{}),className:`${Jt&&me.bgBlack} ${it?me.wrp:"hide"}`},!!it&&St&&Fe.createElement("div",{id:"closePop",className:me.close,ref:Ht},!!Zt&&Fe.createElement(fe.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ht.current},Fe.createElement("span",{onClick:()=>{qe(),Zt()}},Fe.createElement("i",{className:"icon-yulanpizhu"}))),!Rt&&window.parent===window&&Fe.createElement(fe.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ht.current},Fe.createElement("span",{onClick:ce},Fe.createElement("i",{className:"icon-quxiaozhiding"}))),$e&&Fe.createElement(fe.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ht.current},Fe.createElement("span",{className:"",onClick:()=>{const je=document.getElementById("pdfiframe");window.addEventListener("message",un,!1),setTimeout(()=>{je.contentWindow.postMessage("getData","*")},300)}},Fe.createElement("i",{className:"icon-baocun"}))),Fe.createElement(fe.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ht.current},Fe.createElement("span",{className:"",onClick:()=>{qe()}},Fe.createElement("i",{className:"icon-guanbi1"})))),Fe.createElement("div",{className:`${me[dt]} ${dt} ${me.monaco} ${it==="txt"?"show":"hide"}`},it==="txt"&&Fe.createElement(Fe.Fragment,null,Fe.createElement(be.ZP,Ve({},vt)))),it==="audio"&&Fe.createElement("audio",{controls:!0,src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${_e}`,autoPlay:!0}),it==="video"&&Fe.createElement(Fe.Fragment,null,(_e==null?void 0:_e.indexOf("http"))>-1?Fe.createElement("video",{controls:!0,src:`${_e}`,autoPlay:!0}):Fe.createElement("video",{controls:!0,src:`data:video/mp4;base64,${_e}`,autoPlay:!0})),it==="office"&&st&&Fe.createElement("iframe",{src:`${Gt}/office.html?key=${st.key}&url=${btoa(st.url)}&callbackUrl=${On+(st.callbackUrl||"")}&fileType=${st.fileType}&title=${st.title||""}&model=${ze}&officeServer=${xe.Z.ONLYOFFICE}&disabledDownload=${!!Rt}`}),it==="html"&&Fe.createElement("iframe",{src:_e+"&disposition=inline"}),it==="pdf"&&Fe.createElement("iframe",{id:"pdfiframe",src:`${Gt}/js/pdf/index.html?filename=${Nt||"educoder.pdf"}&url=${encodeURIComponent(_e)}&disabledDownload=${!!Rt}&model=${ze}`}),it==="image"&&Fe.createElement("img",{src:`${(_e==null?void 0:_e.indexOf("http://"))>-1||(_e==null?void 0:_e.indexOf("https://"))>-1?"":"data:image/png;base64,"}${_e}`}),(it==="other"||it==="download")&&Fe.createElement(Fe.Fragment,null,Tn?Fe.createElement(Re.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:Fe.createElement(le.ZP,{icon:Fe.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:he,disabled:Rt},"\u4E0B\u8F7D")}):Fe.createElement(le.ZP,{type:"primary",size:"middle",onClick:he,disabled:Rt},Fe.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),it==="flowChart"&&Fe.createElement("div",{className:"embed"},Fe.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${_e||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},35883:function(Ce,ae,y){"use strict";y.d(ae,{z:function(){return vt},Z:function(){return dt}});var b=y(59301),me=y(46214),le=y(20047),pe=y(64018),be=y(16471),fe=y(14185),we=y(76406),Oe=y(15342),Re=y(44104),xe=y(7939),Ge=y(1012),Fe=y(86974),At=y(59301),tt=({html:It})=>{const St=(0,b.useRef)(null),qe=(0,b.useRef)(null),Jt=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; @@ -913,20 +913,20 @@ .markdown-body pre { margin-top: 0; margin-bottom: 16px; - }`;return(0,b.useEffect)(()=>{const Nt=_t.current.attachShadow({mode:"open"});Ke.current=document.createElement("div"),Ke.current.className="markdown-body",Ke.current.innerHTML=Tt,Nt.appendChild(Ke.current);const Kt=document.createElement("style");return Kt.textContent=Rt,Nt.appendChild(Kt),()=>{Nt.innerHTML=""}},[]),(0,b.useEffect)(()=>{Ke.current&&(Ke.current.innerHTML=Tt)},[Tt]),xt.createElement("div",{ref:_t})};function Je(Tt){const _t=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],Ke=new RegExp(`\\b(${_t.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Rt=/]*>/gi;return Tt.replace(Ke,"").replace(Rt,"").trim()}var Ge={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},We=Object.defineProperty,Ve=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,_e=(Tt,_t,Ke)=>_t in Tt?We(Tt,_t,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Tt[_t]=Ke,Ze=(Tt,_t)=>{for(var Ke in _t||(_t={}))Qe.call(_t,Ke)&&_e(Tt,Ke,_t[Ke]);if(Ve)for(var Ke of Ve(_t))He.call(_t,Ke)&&_e(Tt,Ke,_t[Ke]);return Tt};const tt="@\u2581\u2581@",gt="@\u2581@",rt=/]*>/g;function It(Tt){let _t=document.createElement("div");return _t.innerHTML=Tt,_t.childNodes.length===0?"":_t.childNodes[0].nodeValue}const mt=(Tt,_t)=>{Tt=Tt||"";const Ke=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Rt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Nt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Kt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return _t?Tt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Ke,(On,wt,$e,Ee,en,on,it)=>{const Ht=wt||Ee||on,Yt=$e||en||it||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ht+Yt+"&t="+(0,we.Jn)(Ht,Date.now())+(On.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Tt=Tt.replace(Kt,(On,wt,$e,Ee,en,on,it)=>{const Ht=wt||Ee||on,Yt=$e||en||it||"?";return fe.Z.API_SERVER+"/attachments/download/"+Ht+Yt+"&t="+(0,we.Jn)(Ht,Date.now())+(On.indexOf(")")>-1?")":"&")}).replace(Ke,(On,wt,$e,Ee,en,on,it)=>{const Ht=wt||Ee||on,Yt=$e||en||it||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ht+Yt+"&t="+(0,we.Jn)(Ht,Date.now())+(On.indexOf(")")>-1?")":"&")}).replace(Rt,(On,wt,$e,Ee,en)=>{const on=wt||Ee,it=$e||en||"";return'"'+fe.Z.API_SERVER+"/api/attachments/"+on+it+on+it+"&t="+(0,we.Jn)(on,Date.now())}).replace(Nt,(On,wt,$e,Ee,en)=>{const on=wt||Ee,it=$e||en||"";return"("+fe.Z.API_SERVER+"/files/uploads/"+on+it+on+it+"&t="+(0,we.Jn)(on,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`),Tt)};var ut=({value:Tt="",edit:_t=!1,className:Ke,showTextOnly:Rt,showLines:Nt,style:Kt={},stylesPrev:On={},highlightKeywords:wt,showProgramFill:$e,isProgramFill:Ee,disabledFill:en=!1,programFillValue:on,openEditor:it=()=>{},onFillChange:Ht=ct=>{},onFillBlur:Yt=()=>{},onFillFocus:Rn=()=>{}})=>{let ct=Je(String(Tt||""));const Sn=(0,b.useRef)(),Zt=(0,b.useRef)(),[vn,un]=(0,b.useState)(""),[De,me]=(0,b.useState)("office"),[ce,Te]=(0,b.useState)([]),Ue=(0,b.useRef)("a"+(0,je.Z)()),ge={},Me=sn=>//i.test(sn||""),ot=(sn,An,xn)=>{const Lt=document.createElement(sn===gt?"input":"textarea");Lt.style.width="100%",Lt.style.height=sn===gt?"40px":"151px",Lt.rows=5,Lt.spellcheck=!1,Lt.name="edu-program-fill",Lt.placeholder="\u8BF7\u8F93\u5165",Lt.dataset.id=An;const qt=Object.keys(ge).length;return ge[qt]=Lt,`${Lt.outerHTML}`};function Qt(sn){return sn=sn.replace(/!\[.*?\]\(.*?\)/g,""),sn=sn.replace(/\[.*?\]\(.*?\)/g,""),sn=sn.replace(new RegExp("","gs"),""),sn=sn.replace(//g,""),sn=sn.replace(//g,""),sn=sn.replace(new RegExp(".*?<\\/video>","gs"),""),sn=sn.replace(new RegExp(".*?<\\/audio>","gs"),""),sn=sn.replace(new RegExp(".*?<\\/style>","gs"),""),sn=sn.replace(new RegExp(".*?<\\/script>","gs"),""),sn}const At=sn=>!Rt&&Me(ct)?sn:sn.replace(/([\s\S]+?)<\/style>/gim,function(An,xn){let Lt=xn.replace(/(\n|\r)/g,"").split("}"),qt=[];return Lt.map(zt=>{zt!=""&&qt.push(`.${Ue.current} ${zt}`)}),``}),vt=(0,b.useMemo)(()=>{(0,le.Iy)();try{const Lt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,qt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,zt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,bn=/\(\/attachments\/download\//g;ct=ct.replace(bn,"("+fe.Z.API_SERVER+"/attachments/download/").replace(Lt,"("+fe.Z.API_SERVER+"/api/attachments/").replace(qt,'"'+fe.Z.API_SERVER+"/api/attachments/").replace(zt,'"'+fe.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`),Sn.current.style.display="none"}catch(Lt){}if($e){let Lt=-1;return ct=ct.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(qt,zt,bn){var Et;return++Lt,ot(qt,Lt,(Et=on==null?void 0:on[Lt])==null?void 0:Et.value.replaceAll("<","<").replaceAll(">",">"))}),`
    ${At(ct||"")}
    `}let sn=At(ct);sn=(0,le.ZP)(sn);const An=(0,le.ez)();ct.match(/\[TOC\]/)&&(sn=sn.replace("

    [TOC]

    ",(0,le.Qv)()),(0,le.Iy)()),sn=sn.replace(/(__special_katext_id_\d+__)/g,(Lt,qt)=>{const{type:zt,expression:bn}=An[qt];return(0,Oe.renderToString)(It(bn)||"",{displayMode:zt==="block",throwOnError:!1,output:"html"})}),sn=sn.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,le.AL)();const xn=document.createElement("div");if(xn.innerHTML=sn,Rt)return xn.innerText;if(wt){const Lt=wt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return fn(xn,Lt),xn.innerHTML}return setTimeout(()=>Mn(),500),xn.innerHTML},[ct,wt]);(0,b.useEffect)(()=>{dn.current&&dn.current.querySelectorAll(["input","textarea"]).forEach(An=>{An.oninput=Ct,An.onblur=Ut,An.onfocus=$t})},[ce]),(0,b.useEffect)(()=>{var sn,An,xn,Lt,qt;if(on!=null&&on.length)try{const zt=dn.current.querySelectorAll(".edu-program-fill-score"),bn=dn.current.querySelectorAll('[name="edu-program-fill"]');for(const[Et,ft]of bn.entries())ft.value=((sn=on==null?void 0:on[Et])==null?void 0:sn.value)||"",((An=on==null?void 0:on[Et])==null?void 0:An.type)==="warning"?ft.className="program-fill-warning":((xn=on==null?void 0:on[Et])==null?void 0:xn.type)==="success"?ft.className="program-fill-success":ft.className="";for(const[Et,ft]of zt.entries())ft.innerHTML=(Lt=on==null?void 0:on[Et])!=null&&Lt.score?`${(qt=on==null?void 0:on[Et])==null?void 0:qt.score}\u5206`:"";Te(on)}catch(zt){console.log(zt,"error")}},[on]);const Ct=sn=>{ce[sn.target.dataset.id]=ce[sn.target.dataset.id]||{},ce[sn.target.dataset.id].value=sn.target.value,Te([...ce]),Ht(ce,sn.target.dataset.id)},Ut=sn=>{ce[sn.target.dataset.id]=ce[sn.target.dataset.id]||{},ce[sn.target.dataset.id].value=sn.target.value,Te([...ce]),Yt(ce,sn.target.dataset.id)},$t=sn=>{ce[sn.target.dataset.id]=ce[sn.target.dataset.id]||{},ce[sn.target.dataset.id].value=sn.target.value,Te([...ce]),Rn(ce,sn.target.dataset.id)};function fn(sn,An){return sn.childNodes.forEach(xn=>{var Lt;if(xn.childNodes.length>0)fn(xn,An);else if(xn.nodeName!=="IMG")if(xn.innerHTML)xn.innerHTML=(Lt=xn.innerHTML)==null?void 0:Lt.replace(new RegExp(An,"gi"),'$&');else{const qt=document.createElement("span");qt.innerHTML=xn.textContent.replace(new RegExp(An,"gi"),'$&'),xn.replaceWith(qt)}})}const dn=(0,b.useRef)();le.jb.WebkitLineClamp=Nt,Nt&&(Kt=Ze(Ze({},Kt),le.jb));function Bt(sn){let An=sn.target;if(An.tagName.toUpperCase()==="A"){let xn=An.getAttribute("href");if(xn.indexOf("office")>-1)sn.preventDefault(),un(xn),me("office");else if(xn.indexOf("application/pdf")>-1)sn.preventDefault(),un(xn),me("pdf");else if(xn.indexOf("text/html")>-1)sn.preventDefault(),un(xn),me("html");else if(xn.startsWith("#")){sn.preventDefault();let Lt=document.getElementById(xn.replace("#",""));Lt&&Lt.scrollIntoView(!0)}}}const Mn=()=>{var sn;const An=(sn=dn.current)==null?void 0:sn.querySelectorAll("video");An==null||An.forEach(xn=>{if(xn.oncontextmenu=()=>!1,xn.src.indexOf(".m3u8")>-1&&!xn.canPlayType("application/vnd.apple.mpegurl")){if(be.ZP.isSupported()){var Lt=new be.ZP;Lt.loadSource(xn.src),Lt.attachMedia(xn)}}})};(0,b.useEffect)(()=>{if(dn.current&&vt&&vt.match(rt)&&window.PR.prettyPrint(),dn.current)return dn.current.addEventListener("click",Bt),()=>{var sn;(sn=dn.current)==null||sn.removeEventListener("click",Bt),(0,le.AL)(),(0,le.Iy)()}},[vt,dn.current,Bt]);const Dn=sn=>{sn.target.nodeName==="IMG"&&sn.target.className.indexOf("draw-flowchart")>-1?(Sn.current.style.zIndex=1,Sn.current.style.display="flex",Sn.current.style.width=sn.target.clientWidth+"px",Sn.current.style.height=sn.target.clientHeight+"px",Sn.current.style.top=sn.target.offsetTop+"px",Sn.current.style.left=sn.target.offsetLeft+"px",sn.target.id&&(Zt.current=sn.target.id)):Sn.current.style.display="none"},Cn=()=>{Sn.current.style.display="none"};return(0,b.useEffect)(()=>{var sn;const An=xn=>{xn.preventDefault(),xn.clipboardData.setData("text",window.getSelection().toString())};return(sn=dn.current)==null||sn.addEventListener("copy",An),()=>{var xn;(xn=dn.current)==null||xn.removeEventListener("copy",An)}},[dn.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:Cn},Rt&&b.createElement("div",{ref:dn,className:`${Ge.mdBody} `},vt),!Rt&&!Me(vt)&&b.createElement("div",{ref:dn,style:Ze({},Kt),onMouseOver:Dn,className:`${Ke||""} ${en?"disabled-fill":""} markdown-body ${Ge.mdBody} ${Ue.current}`,dangerouslySetInnerHTML:{__html:vt}}),!Rt&&Me(vt)&&b.createElement(et,{html:vt}),b.createElement("div",{ref:Sn,className:`${Ge.button} ${_t?"":Ge.previewFlowChart}`},b.createElement(Re.Z,null,b.createElement(xe.ZP,{onClick:()=>{_t?it(Zt.current):(un(Zt.current),me("flowChart"))}},_t?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Fe.Z,{close:!0,data:vn,type:vn!=null&&vn.length?De:"",style:Ze({},On),onClose:()=>un("")}))}},28267:function(Ce,ae,y){"use strict";y.d(ae,{h:function(){return He}});var b=y(59301),he=y(82326),le=y(28284),pe=y(7939),be=y(89780),fe=y.n(be),we=y(88319),Oe=y(94896),Re=Object.defineProperty,xe=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,et=(_e,Ze,tt)=>Ze in _e?Re(_e,Ze,{enumerable:!0,configurable:!0,writable:!0,value:tt}):_e[Ze]=tt,Je=(_e,Ze)=>{for(var tt in Ze||(Ze={}))xt.call(Ze,tt)&&et(_e,tt,Ze[tt]);if(Fe)for(var tt of Fe(Ze))nt.call(Ze,tt)&&et(_e,tt,Ze[tt]);return _e},Ge=(_e,Ze)=>xe(_e,je(Ze));const We=he.default.Option,Ve={labelCol:{span:4},wrapperCol:{span:20}},Qe={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ae.Z=({callback:_e,onCancel:Ze})=>{const[tt,gt]=(0,b.useState)("python");function rt(mt){gt(Qe[mt][1])}function It(mt){_e(mt)}return b.createElement(le.default,Ge(Je({},Ve),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:It,style:{width:500}}),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(he.default,{getPopupContainer:mt=>mt.parentNode,onChange:rt},Object.keys(Qe).map(mt=>b.createElement(We,{key:mt,value:mt},Qe[mt][0])))),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(He,{mode:tt})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(pe.ZP,{type:"ghost",onClick:Ze},"\u53D6\u6D88")))};function He({value:_e,onChange:Ze,mode:tt,options:gt={}}){const rt=(0,b.useRef)(),[It,mt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(It){let ut=function(Tt){const _t=Tt.getValue();Ze&&Ze(_t)};return It.on("change",ut),()=>{It.off("change",ut)}}},[It,Ze]),(0,b.useEffect)(()=>{It&&It.setOption("mode",tt)},[It,tt]),(0,b.useEffect)(()=>{It&&(_e!==It.getValue()||_e==="")&&setTimeout(()=>{It.setValue(_e||"")},300)},[It,_e]),(0,b.useEffect)(()=>{if(rt.current&&!It){const ut=fe().fromTextArea(rt.current,Je({mode:tt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},gt));mt(ut)}},[rt.current,It]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:rt}))}},39116:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return br}});var b=y(59301),he=y(44283),le=y(89780),pe=y.n(le),be=y(76374),fe=y(88319),we=y(6313),Oe=y(25717),Re=y(99498),xe=y(25419),je=y(67549),Fe=y(35883),xt=({value:qn="",className:Ir,showTextOnly:sr,showLines:jn,style:$r={}})=>{const Jr=(0,b.useMemo)(()=>"",[qn]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:Jr}}))},nt=Object.defineProperty,et=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Qe=(qn,Ir,sr)=>Ir in qn?nt(qn,Ir,{enumerable:!0,configurable:!0,writable:!0,value:sr}):qn[Ir]=sr,He=(qn,Ir)=>{for(var sr in Ir||(Ir={}))We.call(Ir,sr)&&Qe(qn,sr,Ir[sr]);if(Ge)for(var sr of Ge(Ir))Ve.call(Ir,sr)&&Qe(qn,sr,Ir[sr]);return qn},_e=(qn,Ir)=>et(qn,Je(Ir));let Ze=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function tt({onActionCallback:qn,title:Ir,icon:sr,actionName:jn,className:$r="",children:Jr}){function Gr(){qn(jn)}return b.createElement("a",{title:Ir,className:$r,onClick:Gr},b.createElement("i",{className:`${sr}`}),Jr)}var gt=({watch:qn,showNullButton:Ir,showNullProgramButton:sr,onActionCallback:jn,fullScreen:$r,insertTemp:Jr,hidetoolBar:Gr,extraUse:la})=>{const Hr=[...Ze,{title:`${qn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${qn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Gr&&Hr.map((fa,Yr)=>b.createElement("li",{key:Yr},fa.actionName?b.createElement(tt,_e(He({},fa),{onActionCallback:jn})):b.createElement("span",{className:"v-line"}))),Ir?b.createElement("li",null,b.createElement(tt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:jn},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,sr?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(tt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:jn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(tt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:jn},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,Jr&&b.createElement("li",null,b.createElement(tt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Jr}`,onActionCallback:jn},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),la&&b.createElement("li",null,la),b.createElement("li",{className:"btn-full-screen"},b.createElement(tt,{icon:`${$r?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:$r?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:jn})))},rt=y(88487),It=y(28284),mt=y(37568),ut=y(7939),Tt=Object.defineProperty,_t=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,On=(qn,Ir,sr)=>Ir in qn?Tt(qn,Ir,{enumerable:!0,configurable:!0,writable:!0,value:sr}):qn[Ir]=sr,wt=(qn,Ir)=>{for(var sr in Ir||(Ir={}))Nt.call(Ir,sr)&&On(qn,sr,Ir[sr]);if(Rt)for(var sr of Rt(Ir))Kt.call(Ir,sr)&&On(qn,sr,Ir[sr]);return qn},$e=(qn,Ir)=>_t(qn,Ke(Ir));const Ee={labelCol:{span:4},wrapperCol:{span:20}};var en=({callback:qn,onCancel:Ir})=>{function sr(jn){qn(jn)}return b.createElement(It.default,$e(wt({},Ee),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:sr,style:{width:500}}),b.createElement(It.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(mt.default,null)),b.createElement(It.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(mt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(ut.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(ut.ZP,{type:"ghost",onClick:Ir},"\u53D6\u6D88")))},on=y(28267),it=y(53332),Ht=y(62957),Yt=y(77019),Rn=y(40254),ct=y(59301),Sn=({callback:qn,onCancel:Ir})=>{const sr=document.createElement("canvas"),jn=sr.getContext("2d");sr.width=1e3,sr.height=800,jn.fillStyle="#ffffff",jn.fillRect(0,0,sr.width,sr.height);const $r=sr.toDataURL("image/png");return ct.createElement(Ht.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ct.createElement(Yt.Z,{style:{height:"100vh"}},ct.createElement(Rn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:$r,visible:!0,title:String(Date.now())},onOk:Jr=>{qn({src:Jr.url})},onClose:Ir})))},Zt=y(36207),vn=y(5269),un=y(6767),De={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},me=y(59301),Te=(0,b.forwardRef)(({onCancel:qn,editImgId:Ir,callback:sr},jn)=>{let $r=(0,b.useRef)(),Jr=(0,b.useRef)(),Gr=(0,b.useRef)(),la=(0,b.useRef)(!1);const Hr=(0,b.useRef)(!1);console.log("ref:",jn);const[fa,Yr]=(0,b.useState)(0),[Wn,ur]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{Yr(1)},[]),(0,b.useImperativeHandle)(jn,()=>({setHeight:ur})),me.createElement("div",{ref:Hr,className:"body-overflow-initial"},me.createElement(Zt.Z,{width:"100vw",height:Wn,footer:null,closable:!0,placement:"bottom",open:!!fa,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${De.drawerWrap}`,onClose:()=>{window.saveDrawData(_r=>{sr({src:`/api/attachments/${_r}`,id:_r})})},title:me.createElement(Yt.Z,{align:"middle"},me.createElement(vn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),me.createElement(vn.Z,{onClick:()=>{ur(Wn==="60px"?"100vh":"60px")}},me.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),me.createElement(vn.Z,{onClick:()=>{window.saveDrawData(_r=>{if(_r===null){un.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}un.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),sr({src:`/api/attachments/${_r}`,id:_r,disabledClose:!0})})}},me.createElement(ut.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},me.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Ir||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:Jr})))}),Ue=y(14185),ge=y(47889),Me=y(4875);const ot=ge.ZP.Group,Qt={margin:"0 8px"};var At=({callback:qn,onCancel:Ir})=>{function sr(jn){qn(jn)}return b.createElement(It.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:sr},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:Qt},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:Qt},"\u884C\u6570"),b.createElement(It.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Me.Z,null)),b.createElement("span",{style:Qt},"\u5217\u6570"),b.createElement(It.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Me.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:Qt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(It.default.Item,{name:"align"},b.createElement(ot,null,b.createElement(ge.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(ge.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(ge.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(ge.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(ut.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(ut.ZP,{type:"ghost",onClick:Ir},"\u53D6\u6D88")))},vt=y(58755),Ct=y(84915),Ut=y.n(Ct),fn=(0,b.forwardRef)(({use3d:qn,width:Ir,height:sr,callback:jn,showSaveButton:$r},Jr)=>{const Gr=(0,b.useRef)(),la=(0,b.useRef)(),[Hr,fa]=(0,b.useState)(!1),Yr=(0,b.useRef)({id:Gr,appName:"graphing",width:Ir||1e3,height:sr||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{la.current=new(Ut())(Yr.current,!0),window.onload=function(){la.current.inject("applet_container")}},[]);const Wn=()=>{var ur=window.ggbApplet.getPNGBase64(1,!0,72);return jn&&jn(ur),ur};return(0,b.useEffect)(()=>{Yr.current.appName=Hr?"3D":"graphing",la.current.inject("applet_container")},[Hr]),(0,b.useEffect)(()=>{fa(qn)},[qn]),(0,b.useImperativeHandle)(Jr,()=>({getImgData:Wn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Gr}),b.createElement(Yt.Z,{align:"middle"},b.createElement(vn.Z,{flex:1},b.createElement(vt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Hr,onChange:ur=>fa(ur)})),b.createElement(vn.Z,null,b.createElement(ut.ZP,{size:"large",onClick:Wn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),dn=y(9057);const Bt="link",Mn="upload-image",Dn="add-flowchart",Cn="draw-image",sn="add-flowchart",An="code-block",xn="add-table",Lt="------------",qt={default:Lt,left:`:${Lt}`,center:`:${Lt}:`,right:`${Lt}:`};var zt=y(79006),bn=y(76406);function Et(){}let ft=0;const de=1e4,wn="\u2581",Un="@\u2581\u2581@",mn="@\u2581@",Er=` + }`;return(0,b.useEffect)(()=>{const Rt=St.current.attachShadow({mode:"open"});qe.current=document.createElement("div"),qe.current.className="markdown-body",qe.current.innerHTML=It,Rt.appendChild(qe.current);const Zt=document.createElement("style");return Zt.textContent=Jt,Rt.appendChild(Zt),()=>{Rt.innerHTML=""}},[]),(0,b.useEffect)(()=>{qe.current&&(qe.current.innerHTML=It)},[It]),At.createElement("div",{ref:St})};function Je(It){const St=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],qe=new RegExp(`\\b(${St.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi"),Jt=/]*>/gi;return It.replace(qe,"").replace(Jt,"").trim()}var We={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},Ve=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,ze=Object.prototype.propertyIsEnumerable,_e=(It,St,qe)=>St in It?Ve(It,St,{enumerable:!0,configurable:!0,writable:!0,value:qe}):It[St]=qe,$e=(It,St)=>{for(var qe in St||(St={}))Qe.call(St,qe)&&_e(It,qe,St[qe]);if(Ze)for(var qe of Ze(St))ze.call(St,qe)&&_e(It,qe,St[qe]);return It};const nt="@\u2581\u2581@",bt="@\u2581@",it=/]*>/g;function Nt(It){let St=document.createElement("div");return St.innerHTML=It,St.childNodes.length===0?"":St.childNodes[0].nodeValue}const vt=(It,St)=>{It=It||"";const qe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Jt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Rt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Zt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return St?It.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(qe,(Tn,Tt,Ye,Se,Qt,on,st)=>{const Ut=Tt||Se||on,Gt=Ye||Qt||st||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ut+Gt+"&t="+(0,we.Jn)(Ut,Date.now())+(Tn.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(It=It.replace(Zt,(Tn,Tt,Ye,Se,Qt,on,st)=>{const Ut=Tt||Se||on,Gt=Ye||Qt||st||"?";return fe.Z.API_SERVER+"/attachments/download/"+Ut+Gt+"&t="+(0,we.Jn)(Ut,Date.now())+(Tn.indexOf(")")>-1?")":"&")}).replace(qe,(Tn,Tt,Ye,Se,Qt,on,st)=>{const Ut=Tt||Se||on,Gt=Ye||Qt||st||"?";return fe.Z.API_SERVER+"/api/attachments/"+Ut+Gt+"&t="+(0,we.Jn)(Ut,Date.now())+(Tn.indexOf(")")>-1?")":"&")}).replace(Jt,(Tn,Tt,Ye,Se,Qt)=>{const on=Tt||Se,st=Ye||Qt||"";return'"'+fe.Z.API_SERVER+"/api/attachments/"+on+st+on+st+"&t="+(0,we.Jn)(on,Date.now())}).replace(Rt,(Tn,Tt,Ye,Se,Qt)=>{const on=Tt||Se,st=Ye||Qt||"";return"("+fe.Z.API_SERVER+"/files/uploads/"+on+st+on+st+"&t="+(0,we.Jn)(on,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),It)};var dt=({value:It="",edit:St=!1,className:qe,showTextOnly:Jt,showLines:Rt,style:Zt={},stylesPrev:Tn={},highlightKeywords:Tt,showProgramFill:Ye,isProgramFill:Se,disabledFill:Qt=!1,programFillValue:on,openEditor:st=()=>{},onFillChange:Ut=ft=>{},onFillBlur:Gt=()=>{},onFillFocus:On=()=>{}})=>{let ft=Je(String(It||""));const En=(0,b.useRef)(),Ht=(0,b.useRef)(),[gn,un]=(0,b.useState)(""),[De,he]=(0,b.useState)("office"),[ce,Te]=(0,b.useState)([]),je=(0,b.useRef)("a"+(0,Ge.Z)()),ge={},Pe=ln=>//i.test(ln||""),ct=(ln,In,xn)=>{const kt=document.createElement(ln===bt?"input":"textarea");kt.style.width="100%",kt.style.height=ln===bt?"40px":"151px",kt.rows=5,kt.spellcheck=!1,kt.name="edu-program-fill",kt.placeholder="\u8BF7\u8F93\u5165",kt.dataset.id=In;const Yt=Object.keys(ge).length;return ge[Yt]=kt,`${kt.outerHTML}`};function $t(ln){return ln=ln.replace(/!\[.*?\]\(.*?\)/g,""),ln=ln.replace(/\[.*?\]\(.*?\)/g,""),ln=ln.replace(new RegExp("","gs"),""),ln=ln.replace(//g,""),ln=ln.replace(//g,""),ln=ln.replace(new RegExp(".*?<\\/video>","gs"),""),ln=ln.replace(new RegExp(".*?<\\/audio>","gs"),""),ln=ln.replace(new RegExp(".*?<\\/style>","gs"),""),ln=ln.replace(new RegExp(".*?<\\/script>","gs"),""),ln}const gt=ln=>!Jt&&Pe(ft)?ln:ln.replace(/([\s\S]+?)<\/style>/gim,function(In,xn){let kt=xn.replace(/(\n|\r)/g,"").split("}"),Yt=[];return kt.map(Ft=>{Ft!=""&&Yt.push(`.${je.current} ${Ft}`)}),``}),yt=(0,b.useMemo)(()=>{(0,le.Iy)();try{const kt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Yt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Ft=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,vn=/\(\/attachments\/download\//g;ft=ft.replace(vn,"("+fe.Z.API_SERVER+"/attachments/download/").replace(kt,"("+fe.Z.API_SERVER+"/api/attachments/").replace(Yt,'"'+fe.Z.API_SERVER+"/api/attachments/").replace(Ft,'"'+fe.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` +`),En.current.style.display="none"}catch(kt){}if(Ye){let kt=-1;return ft=ft.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Yt,Ft,vn){var Ct;return++kt,ct(Yt,kt,(Ct=on==null?void 0:on[kt])==null?void 0:Ct.value.replaceAll("<","<").replaceAll(">",">"))}),`
    ${gt(ft||"")}
    `}let ln=gt(ft);ln=(0,le.ZP)(ln);const In=(0,le.ez)();ft.match(/\[TOC\]/)&&(ln=ln.replace("

    [TOC]

    ",(0,le.Qv)()),(0,le.Iy)()),ln=ln.replace(/(__special_katext_id_\d+__)/g,(kt,Yt)=>{const{type:Ft,expression:vn}=In[Yt];return(0,Oe.renderToString)(Nt(vn)||"",{displayMode:Ft==="block",throwOnError:!1,output:"html"})}),ln=ln.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,le.AL)();const xn=document.createElement("div");if(xn.innerHTML=ln,Jt)return xn.innerText;if(Tt){const kt=Tt.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return pn(xn,kt),xn.innerHTML}return setTimeout(()=>Ln(),500),xn.innerHTML},[ft,Tt]);(0,b.useEffect)(()=>{fn.current&&fn.current.querySelectorAll(["input","textarea"]).forEach(In=>{In.oninput=Dt,In.onblur=Pt,In.onfocus=Wt})},[ce]),(0,b.useEffect)(()=>{var ln,In,xn,kt,Yt;if(on!=null&&on.length)try{const Ft=fn.current.querySelectorAll(".edu-program-fill-score"),vn=fn.current.querySelectorAll('[name="edu-program-fill"]');for(const[Ct,pt]of vn.entries())pt.value=((ln=on==null?void 0:on[Ct])==null?void 0:ln.value)||"",((In=on==null?void 0:on[Ct])==null?void 0:In.type)==="warning"?pt.className="program-fill-warning":((xn=on==null?void 0:on[Ct])==null?void 0:xn.type)==="success"?pt.className="program-fill-success":pt.className="";for(const[Ct,pt]of Ft.entries())pt.innerHTML=(kt=on==null?void 0:on[Ct])!=null&&kt.score?`${(Yt=on==null?void 0:on[Ct])==null?void 0:Yt.score}\u5206`:"";Te(on)}catch(Ft){console.log(Ft,"error")}},[on]);const Dt=ln=>{ce[ln.target.dataset.id]=ce[ln.target.dataset.id]||{},ce[ln.target.dataset.id].value=ln.target.value,Te([...ce]),Ut(ce,ln.target.dataset.id)},Pt=ln=>{ce[ln.target.dataset.id]=ce[ln.target.dataset.id]||{},ce[ln.target.dataset.id].value=ln.target.value,Te([...ce]),Gt(ce,ln.target.dataset.id)},Wt=ln=>{ce[ln.target.dataset.id]=ce[ln.target.dataset.id]||{},ce[ln.target.dataset.id].value=ln.target.value,Te([...ce]),On(ce,ln.target.dataset.id)};function pn(ln,In){return ln.childNodes.forEach(xn=>{var kt;if(xn.childNodes.length>0)pn(xn,In);else if(xn.nodeName!=="IMG")if(xn.innerHTML)xn.innerHTML=(kt=xn.innerHTML)==null?void 0:kt.replace(new RegExp(In,"gi"),'$&');else{const Yt=document.createElement("span");Yt.innerHTML=xn.textContent.replace(new RegExp(In,"gi"),'$&'),xn.replaceWith(Yt)}})}const fn=(0,b.useRef)();le.jb.WebkitLineClamp=Rt,Rt&&(Zt=$e($e({},Zt),le.jb));function Mt(ln){let In=ln.target;if(In.tagName.toUpperCase()==="A"){let xn=In.getAttribute("href");if(xn.indexOf("office")>-1)ln.preventDefault(),un(xn),he("office");else if(xn.indexOf("application/pdf")>-1)ln.preventDefault(),un(xn),he("pdf");else if(xn.indexOf("text/html")>-1)ln.preventDefault(),un(xn),he("html");else if(xn.startsWith("#")){ln.preventDefault();let kt=document.getElementById(xn.replace("#",""));kt&&kt.scrollIntoView(!0)}}}const Ln=()=>{var ln;const In=(ln=fn.current)==null?void 0:ln.querySelectorAll("video");In==null||In.forEach(xn=>{if(xn.oncontextmenu=()=>!1,xn.src.indexOf(".m3u8")>-1&&!xn.canPlayType("application/vnd.apple.mpegurl")){if(be.ZP.isSupported()){var kt=new be.ZP;kt.loadSource(xn.src),kt.attachMedia(xn)}}})};(0,b.useEffect)(()=>{if(fn.current&&yt&&yt.match(it)&&window.PR.prettyPrint(),fn.current)return fn.current.addEventListener("click",Mt),()=>{var ln;(ln=fn.current)==null||ln.removeEventListener("click",Mt),(0,le.AL)(),(0,le.Iy)()}},[yt,fn.current,Mt]);const kn=ln=>{ln.target.nodeName==="IMG"&&ln.target.className.indexOf("draw-flowchart")>-1?(En.current.style.zIndex=1,En.current.style.display="flex",En.current.style.width=ln.target.clientWidth+"px",En.current.style.height=ln.target.clientHeight+"px",En.current.style.top=ln.target.offsetTop+"px",En.current.style.left=ln.target.offsetLeft+"px",ln.target.id&&(Ht.current=ln.target.id)):En.current.style.display="none"},wn=()=>{En.current.style.display="none"};return(0,b.useEffect)(()=>{var ln;const In=xn=>{xn.preventDefault(),xn.clipboardData.setData("text",window.getSelection().toString())};return(ln=fn.current)==null||ln.addEventListener("copy",In),()=>{var xn;(xn=fn.current)==null||xn.removeEventListener("copy",In)}},[fn.current]),b.createElement("div",{style:{position:"relative"},onMouseLeave:wn},Jt&&b.createElement("div",{ref:fn,className:`${We.mdBody} `},yt),!Jt&&!Pe(yt)&&b.createElement("div",{ref:fn,style:$e({},Zt),onMouseOver:kn,className:`${qe||""} ${Qt?"disabled-fill":""} markdown-body ${We.mdBody} ${je.current}`,dangerouslySetInnerHTML:{__html:yt}}),!Jt&&Pe(yt)&&b.createElement(tt,{html:yt}),b.createElement("div",{ref:En,className:`${We.button} ${St?"":We.previewFlowChart}`},b.createElement(Re.Z,null,b.createElement(xe.ZP,{onClick:()=>{St?st(Ht.current):(un(Ht.current),he("flowChart"))}},St?"\u7F16\u8F91":"\u9884\u89C8"))),b.createElement(Fe.Z,{close:!0,data:gn,type:gn!=null&&gn.length?De:"",style:$e({},Tn),onClose:()=>un("")}))}},28267:function(Ce,ae,y){"use strict";y.d(ae,{h:function(){return ze}});var b=y(59301),me=y(82326),le=y(28284),pe=y(7939),be=y(89780),fe=y.n(be),we=y(88319),Oe=y(94896),Re=Object.defineProperty,xe=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,at=Object.prototype.propertyIsEnumerable,tt=(_e,$e,nt)=>$e in _e?Re(_e,$e,{enumerable:!0,configurable:!0,writable:!0,value:nt}):_e[$e]=nt,Je=(_e,$e)=>{for(var nt in $e||($e={}))At.call($e,nt)&&tt(_e,nt,$e[nt]);if(Fe)for(var nt of Fe($e))at.call($e,nt)&&tt(_e,nt,$e[nt]);return _e},We=(_e,$e)=>xe(_e,Ge($e));const Ve=me.default.Option,Ze={labelCol:{span:4},wrapperCol:{span:20}},Qe={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ae.Z=({callback:_e,onCancel:$e})=>{const[nt,bt]=(0,b.useState)("python");function it(vt){bt(Qe[vt][1])}function Nt(vt){_e(vt)}return b.createElement(le.default,We(Je({},Ze),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Nt,style:{width:500}}),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(me.default,{getPopupContainer:vt=>vt.parentNode,onChange:it},Object.keys(Qe).map(vt=>b.createElement(Ve,{key:vt,value:vt},Qe[vt][0])))),b.createElement(le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(ze,{mode:nt})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(pe.ZP,{type:"ghost",onClick:$e},"\u53D6\u6D88")))};function ze({value:_e,onChange:$e,mode:nt,options:bt={}}){const it=(0,b.useRef)(),[Nt,vt]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Nt){let dt=function(It){const St=It.getValue();$e&&$e(St)};return Nt.on("change",dt),()=>{Nt.off("change",dt)}}},[Nt,$e]),(0,b.useEffect)(()=>{Nt&&Nt.setOption("mode",nt)},[Nt,nt]),(0,b.useEffect)(()=>{Nt&&(_e!==Nt.getValue()||_e==="")&&setTimeout(()=>{Nt.setValue(_e||"")},300)},[Nt,_e]),(0,b.useEffect)(()=>{if(it.current&&!Nt){const dt=fe().fromTextArea(it.current,Je({mode:nt,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},bt));vt(dt)}},[it.current,Nt]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:it}))}},39116:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return cr}});var b=y(59301),me=y(44283),le=y(89780),pe=y.n(le),be=y(76374),fe=y(88319),we=y(6313),Oe=y(25717),Re=y(99498),xe=y(25419),Ge=y(67549),Fe=y(35883),At=({value:Yn="",className:Sr,showTextOnly:br,showLines:Nr,style:Jr={}})=>{const $r=(0,b.useMemo)(()=>"",[Yn]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:$r}}))},at=Object.defineProperty,tt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Qe=(Yn,Sr,br)=>Sr in Yn?at(Yn,Sr,{enumerable:!0,configurable:!0,writable:!0,value:br}):Yn[Sr]=br,ze=(Yn,Sr)=>{for(var br in Sr||(Sr={}))Ve.call(Sr,br)&&Qe(Yn,br,Sr[br]);if(We)for(var br of We(Sr))Ze.call(Sr,br)&&Qe(Yn,br,Sr[br]);return Yn},_e=(Yn,Sr)=>tt(Yn,Je(Sr));let $e=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function nt({onActionCallback:Yn,title:Sr,icon:br,actionName:Nr,className:Jr="",children:$r}){function Ur(){Yn(Nr)}return b.createElement("a",{title:Sr,className:Jr,onClick:Ur},b.createElement("i",{className:`${br}`}),$r)}var bt=({watch:Yn,showNullButton:Sr,showNullProgramButton:br,onActionCallback:Nr,fullScreen:Jr,insertTemp:$r,hidetoolBar:Ur,extraUse:aa})=>{const Hr=[...$e,{title:`${Yn?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Yn?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return b.createElement("ul",{className:"markdown-toolbar-container"},!Ur&&Hr.map((pa,ea)=>b.createElement("li",{key:ea},pa.actionName?b.createElement(nt,_e(ze({},pa),{onActionCallback:Nr})):b.createElement("span",{className:"v-line"}))),Sr?b.createElement("li",null,b.createElement(nt,{icon:"iconfont icon-tianjia5 insert-blank",className:"btn-null ml5",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u65B0\u589E\u586B\u7A7A\u9879"))):null,br?b.createElement(b.Fragment,null,b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,$r&&b.createElement("li",null,b.createElement(nt,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${$r}`,onActionCallback:Nr},b.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),aa&&b.createElement("li",null,aa),b.createElement("li",{className:"btn-full-screen"},b.createElement(nt,{icon:`${Jr?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Jr?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Nr})))},it=y(88487),Nt=y(28284),vt=y(37568),dt=y(7939),It=Object.defineProperty,St=Object.defineProperties,qe=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Tn=(Yn,Sr,br)=>Sr in Yn?It(Yn,Sr,{enumerable:!0,configurable:!0,writable:!0,value:br}):Yn[Sr]=br,Tt=(Yn,Sr)=>{for(var br in Sr||(Sr={}))Rt.call(Sr,br)&&Tn(Yn,br,Sr[br]);if(Jt)for(var br of Jt(Sr))Zt.call(Sr,br)&&Tn(Yn,br,Sr[br]);return Yn},Ye=(Yn,Sr)=>St(Yn,qe(Sr));const Se={labelCol:{span:4},wrapperCol:{span:20}};var Qt=({callback:Yn,onCancel:Sr})=>{function br(Nr){Yn(Nr)}return b.createElement(Nt.default,Ye(Tt({},Se),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:br,style:{width:500}}),b.createElement(Nt.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(vt.default,null)),b.createElement(Nt.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(vt.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(dt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(dt.ZP,{type:"ghost",onClick:Sr},"\u53D6\u6D88")))},on=y(28267),st=y(53332),Ut=y(62957),Gt=y(77019),On=y(40254),ft=y(59301),En=({callback:Yn,onCancel:Sr})=>{const br=document.createElement("canvas"),Nr=br.getContext("2d");br.width=1e3,br.height=800,Nr.fillStyle="#ffffff",Nr.fillRect(0,0,br.width,br.height);const Jr=br.toDataURL("image/png");return ft.createElement(Ut.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ft.createElement(Gt.Z,{style:{height:"100vh"}},ft.createElement(On.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Jr,visible:!0,title:String(Date.now())},onOk:$r=>{Yn({src:$r.url})},onClose:Sr})))},Ht=y(36207),gn=y(5269),un=y(6767),De={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},he=y(59301),Te=(0,b.forwardRef)(({onCancel:Yn,editImgId:Sr,callback:br},Nr)=>{let Jr=(0,b.useRef)(),$r=(0,b.useRef)(),Ur=(0,b.useRef)(),aa=(0,b.useRef)(!1);const Hr=(0,b.useRef)(!1);console.log("ref:",Nr);const[pa,ea]=(0,b.useState)(0),[jn,sr]=(0,b.useState)("100vh");return(0,b.useEffect)(()=>{ea(1)},[]),(0,b.useImperativeHandle)(Nr,()=>({setHeight:sr})),he.createElement("div",{ref:Hr,className:"body-overflow-initial"},he.createElement(Ht.Z,{width:"100vw",height:jn,footer:null,closable:!0,placement:"bottom",open:!!pa,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${De.drawerWrap}`,onClose:()=>{window.saveDrawData(Kr=>{br({src:`/api/attachments/${Kr}`,id:Kr})})},title:he.createElement(Gt.Z,{align:"middle"},he.createElement(gn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),he.createElement(gn.Z,{onClick:()=>{sr(jn==="60px"?"100vh":"60px")}},he.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),he.createElement(gn.Z,{onClick:()=>{window.saveDrawData(Kr=>{if(Kr===null){un.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}un.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),br({src:`/api/attachments/${Kr}`,id:Kr,disabledClose:!0})})}},he.createElement(dt.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},he.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${Sr||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:$r})))}),je=y(14185),ge=y(47889),Pe=y(4875);const ct=ge.ZP.Group,$t={margin:"0 8px"};var gt=({callback:Yn,onCancel:Sr})=>{function br(Nr){Yn(Nr)}return b.createElement(Nt.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:br},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:$t},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:$t},"\u884C\u6570"),b.createElement(Nt.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Pe.Z,null)),b.createElement("span",{style:$t},"\u5217\u6570"),b.createElement(Nt.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Pe.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:$t},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Nt.default.Item,{name:"align"},b.createElement(ct,null,b.createElement(ge.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(ge.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(ge.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(ge.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(dt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(dt.ZP,{type:"ghost",onClick:Sr},"\u53D6\u6D88")))},yt=y(58755),Dt=y(84915),Pt=y.n(Dt),pn=(0,b.forwardRef)(({use3d:Yn,width:Sr,height:br,callback:Nr,showSaveButton:Jr},$r)=>{const Ur=(0,b.useRef)(),aa=(0,b.useRef)(),[Hr,pa]=(0,b.useState)(!1),ea=(0,b.useRef)({id:Ur,appName:"graphing",width:Sr||1e3,height:br||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{aa.current=new(Pt())(ea.current,!0),window.onload=function(){aa.current.inject("applet_container")}},[]);const jn=()=>{var sr=window.ggbApplet.getPNGBase64(1,!0,72);return Nr&&Nr(sr),sr};return(0,b.useEffect)(()=>{ea.current.appName=Hr?"3D":"graphing",aa.current.inject("applet_container")},[Hr]),(0,b.useEffect)(()=>{pa(Yn)},[Yn]),(0,b.useImperativeHandle)($r,()=>({getImgData:jn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ur}),b.createElement(Gt.Z,{align:"middle"},b.createElement(gn.Z,{flex:1},b.createElement(yt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Hr,onChange:sr=>pa(sr)})),b.createElement(gn.Z,null,b.createElement(dt.ZP,{size:"large",onClick:jn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),fn=y(9057);const Mt="link",Ln="upload-image",kn="add-flowchart",wn="draw-image",ln="add-flowchart",In="code-block",xn="add-table",kt="------------",Yt={default:kt,left:`:${kt}`,center:`:${kt}:`,right:`${kt}:`};var Ft=y(79006),vn=y(76406);function Ct(){}let pt=0;const de=1e4,qt="\u2581",Dn="@\u2581\u2581@",mn="@\u2581@",vr=` **\u6A21\u677F\u6807\u9898** -\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Sr=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function or(qn){return/^\d+$/.test(qn)?`${qn}px`:qn}const St=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Kn={[St+"-B"]:"bold",[St+"-I"]:"italic"},ir={[Bt]:"\u6DFB\u52A0\u94FE\u63A5",[An]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Mn]:"\u6DFB\u52A0\u56FE\u7247",[Cn]:"\u6DFB\u52A0\u753B\u56FE",[Dn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var br=({defaultValue:qn="",onChange:Ir,width:sr="100%",height:jn=400,miniToolbar:$r=!1,isFocus:Jr=!1,watch:Gr,insertTemp:la,mode:Hr="markdown",id:fa="markdown-editor-id",showResizeBar:Yr=!1,noStorage:Wn=!1,showNullButton:ur=!1,showNullProgramButton:_r=!1,hidetoolBar:ea=!1,fullScreen:Jt=!1,onBlur:pn,onCMBeforeChange:kt,onFullScreen:tn,className:Mt="",disablePaste:rn=!1,disabled:lt=!1,disabledFill:ve=!1,placeholder:Ie="",values:Ft="",extraUse:Pe,onAddBlank:Ye})=>{const[Xt,Wt]=(0,b.useState)(null),[Xn,Qn]=(0,b.useState)(qn),[Pn,Nr]=(0,b.useState)(Gr),[gn,an]=(0,b.useState)(Jt),[pt,kn]=(0,b.useState)(""),[Dt,nr]=(0,b.useState)(0),[Tr,pr]=(0,b.useState)(jn),[xr,er]=(0,b.useState)(!1),[Dr,mr]=(0,b.useState)(0),[Xr,Vr]=(0,b.useState)(0),Zr=(0,b.useRef)(),vr=(0,b.useRef)(),ta=(0,b.useRef)(),Lr=(0,b.useRef)(),sa=(0,b.useRef)(),Ur=(0,b.useRef)(),ua=(0,he.useDispatch)();(0,b.useEffect)(()=>{const lr=window.scrollY||window.pageYOffset;Qn(Ft),Xt==null||Xt.setValue(Ft),window.scrollTo(0,lr)},[Ft]),(0,b.useEffect)(()=>{tn==null||tn(gn)},[gn]),(0,b.useEffect)(()=>{if(Zr.current){let lr=function(yr,Mr){var Ea;if(rn){Mr.preventDefault();return}const oa=Mr.clipboardData;if(oa){const Ca=oa.types.toString(),Ha=oa.items;if(Ca==="Files"||oa.types.indexOf("Files")>-1){if(Mr.preventDefault(),Hr=="stex")return;try{let Da=Ha[1];((Ea=Ha[0])==null?void 0:Ea.kind)==="file"&&(Da=Ha[0]);const Na=Da.getAsFile(),Ua=Na.name.split(".").pop();(0,it.I)(Na,ga=>{var Ma,Qa,Ri;ga.id?((Ma=Na==null?void 0:Na.type)==null?void 0:Ma.indexOf("image"))>-1?rr.replaceSelection(``):((Qa=Na==null?void 0:Na.type)==null?void 0:Qa.indexOf("video"))>-1?rr.replaceSelection(``):((Ri=Na==null?void 0:Na.type)==null?void 0:Ri.indexOf("pdf"))>-1?rr.replaceSelection(`${Na.name}`):Sr.includes(Ua)?rr.replaceSelection(`${Na.name}`):rr.replaceSelection(`[${Na.name}](/api/attachments/${ga.id}?type=${ga.content_type})`):(ga==null?void 0:ga.status)===401&&(document.location.href="/user/login")})}catch(Da){un.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const rr=pe().fromTextArea(Zr.current,{mode:Hr,lineNumbers:!$r,lineWrapping:!0,value:qn,autoCloseTags:!0,autoCloseBrackets:!0});return rr.on("keyup",function(yr,Mr){Mr.keyCode===8&&(yr.getValue()==""?rr.setOption("placeholder",Ie):rr.setOption("placeholder",null))}),rr.on("keydown",function(yr,Mr){if(Mr.keyCode===8){var Ea=Sa(yr);Ea&&Mr.preventDefault()}}),Jr&&rr.focus(),rr.on("paste",lr),lt&&rr.on("beforeChange",function(yr,Mr){(Mr.origin==="paste"||Mr.origin==="+input")&&Mr.cancel()}),Wt(rr),()=>{rr.off("paste",lr)}}},[]);const Vt=(0,b.useCallback)(()=>{if(vr.current)try{}catch(lr){console.log(lr,"---- to set md editor body height")}},[Tr,vr,gn]);(0,b.useEffect)(()=>{function lr(){let rr=new be.Z(yr=>{for(let Mr of yr)(Mr.target.offsetHeight>0||Mr.target.offsetWidth>0)&&(Vt(),Xt.setSize("100%","100%"),Xt.refresh())});return rr.observe(Zr.current.parentElement),rr}if(Xt){const rr=lr();return()=>{var yr,Mr;(yr=Zr.current)!=null&&yr.parentElement&&rr.unobserve((Mr=Zr.current)==null?void 0:Mr.parentElement)}}},[Xt,Vt]),(0,b.useEffect)(()=>{if(Xt){let lr=[];for(const[rr,yr]of Object.entries(Kn)){let Mr={[rr]:()=>{ra(yr)}};lr.push(Mr),Xt.addKeyMap(Mr)}return()=>{for(let rr of lr)Xt.removeKeyMap(rr)}}},[Xt]),(0,b.useEffect)(()=>{Jt!==gn&&an(Jt)},[Jt]),(0,zt.Z)(()=>{if(!Wn&&Dt>0){let lr=new Date().getTime(),rr=window.sessionStorage.getItem(fa);lr>=Dt+de&&(!rr||rr!==Xn)&&(window.sessionStorage.setItem(fa,Xn),er(!0))}},de),(0,b.useEffect)(()=>{Nr(Gr)},[Xt,Gr]),(0,b.useEffect)(()=>{Xt&&Jr&&Xt.focus()},[Xt,Jr]),(0,b.useEffect)(()=>{if(Pn&&Xt){let lr=function(yr){let Mr=yr.target;if(Lr.current){let Ea=Mr.scrollTop/Mr.scrollHeight;Lr.current.scrollTop=Lr.current.scrollHeight*Ea}};const rr=Xt.getScrollerElement();return rr.addEventListener("scroll",lr),()=>{rr.removeEventListener("scroll",lr)}}},[Xt,Pn]),(0,b.useEffect)(()=>{if(Xt&&kt){let lr=function(rr,yr){kt(rr,yr)};return Xt.on("beforeChange",lr),()=>{Xt.off("beforeChange",lr)}}},[Xt,kt]),(0,b.useEffect)(()=>{if(Xt&&pn){let lr=function(){pn(Xt.getValue())};return Xt.on("blur",lr),()=>{Xt.off("blur",lr)}}},[Xt,pn]);function Sa(lr,rr){var yr=lr.getDoc(),Mr=yr.getCursor(),Ea=yr.getLine(Mr.line),oa=Ea.charAt(Mr.ch-1),Ca=Ea.lastIndexOf("@\u2581@",Mr.ch),Ha=Ea.lastIndexOf("@\u2581\u2581@",Mr.ch),Da=Ca>Ha?Ca:Ha,Na=Ca>Ha?3:4;if(Un.indexOf(oa)===-1)return null;if(console.log("change1:",rr,lr,Ea,Mr,Da,Ca,Ha,oa),Da>=0&&Mr.ch-Da<5){var Ua=Da+Na;return yr.replaceRange("",{line:Mr.line,ch:Da},{line:Mr.line,ch:Ua}),{line:Mr.line,ch:Ua}}return null}(0,b.useEffect)(()=>{if(Xt){let lr=function(rr,yr){const Mr=rr.getValue();Qn(Mr),nr(new Date().getTime()),rr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ir&&(_r?Ir(Mr,dr(Mr)):Ir(Mr))};return Xt.on("change",lr),()=>{Xt.off("change",lr)}}},[Xt,Ir]),(0,b.useEffect)(()=>{if(Xt)if(qn==null)Xt.setValue(""),Qn("");else{const lr=window.scrollY||window.pageYOffset;qn!==Xt.getValue()&&(Xt.setValue(qn),Qn(qn),Xt.setCursor(lt?1:Xt.lineCount(),0),window.scrollTo(0,lr))}},[Xt,qn]);const ra=(0,b.useCallback)(lr=>{const rr=Xt.getCursor(),yr=Xt.getSelection();let Mr=yr.split(` -`);switch(lr){case"bold":return Xt.replaceSelection("**"+yr+"**"),yr===""&&Xt.setCursor(rr.line,rr.ch+2),Xt.focus();case"italic":return Xt.replaceSelection("*"+yr+"*"),yr===""&&Xt.setCursor(rr.line,rr.ch+1),Xt.focus();case"code":return Xt.replaceSelection("`"+yr+"`"),yr===""&&Xt.setCursor(rr.line,rr.ch+1),Xt.focus();case"inline-latex":return(0,bn.Ye)(ua)?void 0:(kn("inline-latex"),Xt.focus());case"latex":return Xt.replaceSelection("```latex\n"+yr+"\n```"),Xt.setCursor(rr.line+1,yr.length+1),Xt.focus();case"line-break":return Xt.replaceSelection(`
    -`),Xt.focus();case"list-ul":return yr===""?Xt.replaceSelection("- "+yr):Xt.replaceSelection(Mr.map(Ea=>Ea===""?"":`- ${Ea}`).join(` -`)),Xt.focus();case"list-ol":return yr===""?Xt.replaceSelection("1. "+yr):Xt.replaceSelection(Mr.map((Ea,oa)=>Ea===""?"":`${oa+1}. ${Ea}`).join(` -`)),Xt.focus();case"add-null-ch":Ye==null||Ye();return;case"add-signal":return yr===""&&Xt.setCursor(rr.line,rr.ch),Xt.replaceSelection(mn),Xt.focus();case"add-multiple":return yr===""&&Xt.setCursor(rr.line,rr.ch),Xt.replaceSelection(Un),Xt.focus();case"inster-template-1":return yr===""&&Xt.setCursor(rr.line,rr.ch),Xt.replaceSelection(Er),Xt.focus();case"eraser":return Xt.setValue(""),Xt.focus();case"trigger-watch":return Nr(!Pn),Xt.focus();case"trigger-full-screen":return an(!gn),Xt.focus();case Bt:kn(Bt);return;case An:kn(An);return;case Mn:kn(Mn);return;case Cn:kn(Cn);return;case"maths-latex":if((0,bn.Ye)(ua))return;kn("maths-latex");return;case Dn:sa.current="",sessionStorage.removeItem("file_id"),kn(Dn);return;case xn:kn(xn);return;default:throw new Error}},[Xt,Pn,gn]),ia=(0,b.useCallback)((lr,rr)=>{var yr,Mr,Ea,oa,Ca,Ha;lr!=null&&lr.disabledClose||kn("");const{src:Da,alt:Na,id:Ua}=lr||{};switch(pt){case Bt:const{title:Oi,link:ui}=lr;return Xt.replaceSelection(`[${Oi}](${ui})`),Xt.focus();case An:const{language:ti,content:ai}=lr;return Xt.replaceSelection(["```"+ti,ai,"```"].join(` -`)),Xt.focus();case"maths-latex":for(var ga=atob(lr),Ma=new Uint8Array(ga.length),Qa=0;Qa{Fa.id?Xt.replaceSelection(`![,](/api/attachments/${Fa.id}?type=${Fa.content_type})`):(Fa==null?void 0:Fa.status)===401&&(document.location.href="/user/login")}),Xt.focus();case"inline-latex":return(0,bn.Ye)(ua)?void 0:(Xt.replaceSelection("`$$"+lr+"$$`"),Xt.focus());case sn:return Ua?(Xt.getValue().indexOf(Da)===-1?Xt.replaceSelection(`
    ${Na||
    `):document.getElementById(Ua).src=Ue.Z.API_SERVER+Da+"?t="+Date.now(),Xt.focus()):void 0;case Mn:case Cn:const Or=rr,mi=(Ea=(Mr=(yr=Or==null?void 0:Or.name)==null?void 0:yr.split("."))==null?void 0:Mr.pop)==null?void 0:Ea.call(Mr);return((oa=Or==null?void 0:Or.type)==null?void 0:oa.indexOf("image"))>-1||!(Or!=null&&Or.type)?Or!=null&&Or.align||Or!=null&&Or.width?Xt.replaceSelection(`

    ${Na||

    `):Xt.replaceSelection(`${Na||`):((Ca=Or==null?void 0:Or.type)==null?void 0:Ca.indexOf("video"))>-1?Xt.replaceSelection(``):((Ha=Or==null?void 0:Or.type)==null?void 0:Ha.indexOf("pdf"))>-1?Xt.replaceSelection(`${Or.name}`):Sr.includes(mi)?Xt.replaceSelection(`${Or.name}`):Xt.replaceSelection(`[${Or.name}](${Da})`),Xt.focus();case xn:const{row:gi,col:ha,align:$a}=lr;let qa=` -`;for(let Fa=0;Fa{switch(pt){case Bt:return b.createElement(en,{callback:ia,onCancel:ma});case An:return b.createElement(on.Z,{callback:ia,onCancel:ma});case Mn:return b.createElement(it.Z,{callback:ia,onCancel:ma});case Dn:return b.createElement(Te,{editImgId:sa.current,callback:ia,onCancel:ma});case xn:return b.createElement(At,{callback:ia,onCancel:ma});case"maths-latex":return b.createElement(fn,{showSaveButton:!0,callback:ia});case"inline-latex":return b.createElement(dn.Z,{showSaveButton:!0,callback:ia});default:return null}},[pt]);function ma(){kn("")}(0,b.useEffect)(()=>{if(ta.current){let lr=function(Ca){Ea=!0,oa=Ca.pageY},rr=function(){Ea=!1},yr=function(Ca){if(Ea){let Ha=Ca.pageY-oa;Ha<0&&(Ha=0),Ha>300&&(Ha=300);let Da=jn+Ha+"px";pr(Da)}},Mr=ta.current,Ea=!1,oa=0;return Mr.addEventListener("mousedown",lr),document.addEventListener("mousemove",yr),document.addEventListener("mouseup",rr),()=>{Mr.removeEventListener("mousedown",lr),document.removeEventListener("mousemove",yr),document.removeEventListener("mouseup",rr)}}},[Xt,ta]),(0,b.useEffect)(()=>{pr(jn)},[jn]);const kr=or(sr),Qr=or(Tr),Kr={width:kr,height:Qr},Jn=(0,b.useMemo)(()=>{if(Dt){let lr=new Date(Dt),rr=lr.getHours(),yr=lr.getMinutes(),Mr=lr.getSeconds();return rr=rr<10?"0"+rr:rr,yr=yr<10?"0"+yr:yr,Mr=Mr<10?"0"+Mr:Mr,`${rr}:${yr}:${Mr}`}return 0},[Dt]),dr=lr=>{const rr=[];if(_r){let yr=-1;lr=lr.replace(/(@▁▁@|@▁@)/g,function(Mr,Ea,oa){rr.push({multiLine:Mr!==mn})})}return rr};function fr(){window.sessionStorage.removeItem(fa),er(!1),nr(0)}function tr(){er(!1),nr(0),Xt.setValue(window.sessionStorage.getItem(fa))}(0,b.useEffect)(()=>{ir[pt]&&pt!==Cn&&pt!==Dn&&setTimeout(()=>{const lr=document.getElementsByClassName("markdown-popup-form")[0],rr=window.innerWidth/2-lr.offsetWidth/2,yr=window.innerHeight/2-lr.offsetHeight/2;mr(rr),Vr(yr)},0)},[pt]);const Ln=lr=>{lr.preventDefault();const rr=lr.clientX-Dr,yr=lr.clientY-Xr;document.body.onmousemove=Mr=>{let Ea=Mr.clientX-rr,oa=Mr.clientY-yr;const Ca=document.getElementsByClassName("markdown-popup-form")[0],Ha=window.innerWidth-Ca.offsetWidth,Da=window.innerHeight-Ca.offsetHeight;Ea=Math.max(0,Math.min(Ea,Ha)),oa=Math.max(0,Math.min(oa,Da)),jr(Mr.clientX,Mr.clientY,rr,yr)&&(mr(Ea),Vr(oa))},document.body.onmouseup=function(){document.body.onmousemove=null}},jr=(lr,rr,yr,Mr)=>{const Ea=document.body.clientHeight,oa=document.body.clientWidth;return lr<20&&yr>lr||lr>oa-20&&yrrr||rr>Ea-20&&Mr{var rr;sa.current=lr,(rr=Ur.current)==null||rr.setHeight("100vh"),setTimeout(()=>{kn("add-flowchart")},150)}})):null))),Yr?b.createElement("a",{ref:ta,className:"editor-resize"}):null,pt===Cn&&b.createElement(Sn,{callback:ia,onCancel:ma}),pt===Dn&&b.createElement(Te,{ref:Ur,editImgId:sa.current,callback:ia,onCancel:ma}),b.createElement(rt.Z,null,ir[pt]&&pt!==Cn&&pt!==Dn?b.createElement(Ht.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Dr,top:Xr},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Ln},ir[pt]),open:!0,onCancel:ma,footer:null,destroyOnClose:!0,width:pt===Dn?"1200px":null,height:pt===Dn?"80vh":null,className:"markdown-popup-form"},pa):null))}},53332:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Ze},I:function(){return gt}});var b=y(28284),he=y(6767),le=y(37568),pe=y(44104),be=y(4875),fe=y(47889),we=y(7939),Oe=y(23216),Re=y(59301),xe=y(59301),je=Object.defineProperty,Fe=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Ge=(rt,It,mt)=>It in rt?je(rt,It,{enumerable:!0,configurable:!0,writable:!0,value:mt}):rt[It]=mt,We=(rt,It)=>{for(var mt in It||(It={}))et.call(It,mt)&&Ge(rt,mt,It[mt]);if(nt)for(var mt of nt(It))Je.call(It,mt)&&Ge(rt,mt,It[mt]);return rt},Ve=(rt,It)=>Fe(rt,xt(It));const{useForm:Qe}=b.default,He={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var Ze=({callback:rt,onCancel:It})=>{const[mt]=Qe();let ut=(0,Re.useRef)();function Tt(Rt){ut.current.width=mt.getFieldValue("width"),ut.current.align=mt.getFieldValue("align"),rt(Rt,ut.current)}function _t(Rt,Nt){if(Rt.status===-1){he.ZP.error(Rt.message);return}mt.setFieldsValue({src:`/api/attachments/${Rt.id}`,type:Nt.type})}function Ke(Rt){let Nt=Rt.target.files[0];ut.current=Nt,gt(Nt,_t)}return xe.createElement(b.default,Ve(We({form:mt},_e),{className:"upload-image-panel",onFinish:Tt,style:{width:470,overflow:"hidden"}}),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},xe.createElement("div",{className:"flex-container"},xe.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},xe.createElement(le.default,{style:He})),xe.createElement(tt,{onFileChange:Ke}))),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},xe.createElement(le.default,{style:{width:264}})),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},xe.createElement(pe.Z,null,xe.createElement(b.default.Item,{name:"width",style:{margin:0}},xe.createElement(be.Z,{style:{width:264}})),xe.createElement("span",{className:"ml8"},"%"))),xe.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},xe.createElement(fe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),xe.createElement("aside",null,xe.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},xe.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),xe.createElement(we.ZP,{type:"default",onClick:It},"\u53D6\u6D88"))))};function tt({onFileChange:rt}){return xe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",xe.createElement("input",{type:"file",onChange:rt}))}function gt(rt,It){if(!rt)throw new String("\u6CA1\u6709\u6587\u4EF6");let mt=new FormData;mt.append("editormd-image-file",rt),mt.append("file_param_name","editormd-image-file"),mt.append("byxhr","true");var ut=new window.XMLHttpRequest;ut.withCredentials=!0,ut.addEventListener("load",function(Tt){It(JSON.parse(Tt.target.responseText),rt)},!1),ut.addEventListener("error",function(Tt){console.error(Tt)},!1),ut.open("POST",`${Oe.KI}/api/attachments.json`),ut.send(mt)}},88487:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return le}});var b=y(59301),he=y(4676);class le extends b.Component{constructor(be){super(be);const fe=window.document;this.node=fe.createElement("div"),fe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,he.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Ce,ae,y){"use strict";y.d(ae,{SV:function(){return Sn},ZP:function(){return ct}});var b=y(59301),he=y(76374);const le={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,yr=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function ar(Yn){return/^\d+$/.test(Yn)?`${Yn}px`:Yn}const wt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Qn={[wt+"-B"]:"bold",[wt+"-I"]:"italic"},lr={[Mt]:"\u6DFB\u52A0\u94FE\u63A5",[In]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Ln]:"\u6DFB\u52A0\u56FE\u7247",[wn]:"\u6DFB\u52A0\u753B\u56FE",[kn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var cr=({defaultValue:Yn="",onChange:Sr,width:br="100%",height:Nr=400,miniToolbar:Jr=!1,isFocus:$r=!1,watch:Ur,insertTemp:aa,mode:Hr="markdown",id:pa="markdown-editor-id",showResizeBar:ea=!1,noStorage:jn=!1,showNullButton:sr=!1,showNullProgramButton:Kr=!1,hidetoolBar:zr=!1,fullScreen:ve=!1,onBlur:Ie,onCMBeforeChange:ut,onFullScreen:Le,className:He="",disablePaste:Vt=!1,disabled:et=!1,disabledFill:en=!1,placeholder:cn="",values:Xt="",extraUse:an,onAddBlank:Kt})=>{const[nn,rt]=(0,b.useState)(null),[Jn,Bt]=(0,b.useState)(Yn),[rr,Pr]=(0,b.useState)(Ur),[Sn,rn]=(0,b.useState)(ve),[Cn,Pn]=(0,b.useState)(""),[zn,tr]=(0,b.useState)(0),[wr,pr]=(0,b.useState)(Nr),[Zn,Kn]=(0,b.useState)(!1),[gr,dr]=(0,b.useState)(0),[Yr,Wr]=(0,b.useState)(0),Zr=(0,b.useRef)(),Qr=(0,b.useRef)(),ca=(0,b.useRef)(),Xr=(0,b.useRef)(),la=(0,b.useRef)(),_r=(0,b.useRef)(),oa=(0,me.useDispatch)();(0,b.useEffect)(()=>{const ur=window.scrollY||window.pageYOffset;Bt(Xt),nn==null||nn.setValue(Xt),window.scrollTo(0,ur)},[Xt]),(0,b.useEffect)(()=>{Le==null||Le(Sn)},[Sn]),(0,b.useEffect)(()=>{if(Zr.current){let ur=function(xr,Or){var ba;if(Vt){Or.preventDefault();return}const da=Or.clipboardData;if(da){const ya=da.types.toString(),Ma=da.items;if(ya==="Files"||da.types.indexOf("Files")>-1){if(Or.preventDefault(),Hr=="stex")return;try{let _a=Ma[1];((ba=Ma[0])==null?void 0:ba.kind)==="file"&&(_a=Ma[0]);const Na=_a.getAsFile(),Ha=Na.name.split(".").pop();(0,st.I)(Na,Da=>{var ja,Gr,bi;Da.id?((ja=Na==null?void 0:Na.type)==null?void 0:ja.indexOf("image"))>-1?nr.replaceSelection(``):((Gr=Na==null?void 0:Na.type)==null?void 0:Gr.indexOf("video"))>-1?nr.replaceSelection(``):((bi=Na==null?void 0:Na.type)==null?void 0:bi.indexOf("pdf"))>-1?nr.replaceSelection(`${Na.name}`):yr.includes(Ha)?nr.replaceSelection(`${Na.name}`):nr.replaceSelection(`[${Na.name}](/api/attachments/${Da.id}?type=${Da.content_type})`):(Da==null?void 0:Da.status)===401&&(document.location.href="/user/login")})}catch(_a){un.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const nr=pe().fromTextArea(Zr.current,{mode:Hr,lineNumbers:!Jr,lineWrapping:!0,value:Yn,autoCloseTags:!0,autoCloseBrackets:!0});return nr.on("keyup",function(xr,Or){Or.keyCode===8&&(xr.getValue()==""?nr.setOption("placeholder",cn):nr.setOption("placeholder",null))}),nr.on("keydown",function(xr,Or){if(Or.keyCode===8){var ba=Ea(xr);ba&&Or.preventDefault()}}),$r&&nr.focus(),nr.on("paste",ur),et&&nr.on("beforeChange",function(xr,Or){(Or.origin==="paste"||Or.origin==="+input")&&Or.cancel()}),rt(nr),()=>{nr.off("paste",ur)}}},[]);const _t=(0,b.useCallback)(()=>{if(Qr.current)try{}catch(ur){console.log(ur,"---- to set md editor body height")}},[wr,Qr,Sn]);(0,b.useEffect)(()=>{function ur(){let nr=new be.Z(xr=>{for(let Or of xr)(Or.target.offsetHeight>0||Or.target.offsetWidth>0)&&(_t(),nn.setSize("100%","100%"),nn.refresh())});return nr.observe(Zr.current.parentElement),nr}if(nn){const nr=ur();return()=>{var xr,Or;(xr=Zr.current)!=null&&xr.parentElement&&nr.unobserve((Or=Zr.current)==null?void 0:Or.parentElement)}}},[nn,_t]),(0,b.useEffect)(()=>{if(nn){let ur=[];for(const[nr,xr]of Object.entries(Qn)){let Or={[nr]:()=>{ia(xr)}};ur.push(Or),nn.addKeyMap(Or)}return()=>{for(let nr of ur)nn.removeKeyMap(nr)}}},[nn]),(0,b.useEffect)(()=>{ve!==Sn&&rn(ve)},[ve]),(0,Ft.Z)(()=>{if(!jn&&zn>0){let ur=new Date().getTime(),nr=window.sessionStorage.getItem(pa);ur>=zn+de&&(!nr||nr!==Jn)&&(window.sessionStorage.setItem(pa,Jn),Kn(!0))}},de),(0,b.useEffect)(()=>{Pr(Ur)},[nn,Ur]),(0,b.useEffect)(()=>{nn&&$r&&nn.focus()},[nn,$r]),(0,b.useEffect)(()=>{if(rr&&nn){let ur=function(xr){let Or=xr.target;if(Xr.current){let ba=Or.scrollTop/Or.scrollHeight;Xr.current.scrollTop=Xr.current.scrollHeight*ba}};const nr=nn.getScrollerElement();return nr.addEventListener("scroll",ur),()=>{nr.removeEventListener("scroll",ur)}}},[nn,rr]),(0,b.useEffect)(()=>{if(nn&&ut){let ur=function(nr,xr){ut(nr,xr)};return nn.on("beforeChange",ur),()=>{nn.off("beforeChange",ur)}}},[nn,ut]),(0,b.useEffect)(()=>{if(nn&&Ie){let ur=function(){Ie(nn.getValue())};return nn.on("blur",ur),()=>{nn.off("blur",ur)}}},[nn,Ie]);function Ea(ur,nr){var xr=ur.getDoc(),Or=xr.getCursor(),ba=xr.getLine(Or.line),da=ba.charAt(Or.ch-1),ya=ba.lastIndexOf("@\u2581@",Or.ch),Ma=ba.lastIndexOf("@\u2581\u2581@",Or.ch),_a=ya>Ma?ya:Ma,Na=ya>Ma?3:4;if(Dn.indexOf(da)===-1)return null;if(console.log("change1:",nr,ur,ba,Or,_a,ya,Ma,da),_a>=0&&Or.ch-_a<5){var Ha=_a+Na;return xr.replaceRange("",{line:Or.line,ch:_a},{line:Or.line,ch:Ha}),{line:Or.line,ch:Ha}}return null}(0,b.useEffect)(()=>{if(nn){let ur=function(nr,xr){const Or=nr.getValue();Bt(Or),tr(new Date().getTime()),nr.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Sr&&(Kr?Sr(Or,hr(Or)):Sr(Or))};return nn.on("change",ur),()=>{nn.off("change",ur)}}},[nn,Sr]),(0,b.useEffect)(()=>{if(nn)if(Yn==null)nn.setValue(""),Bt("");else{const ur=window.scrollY||window.pageYOffset;Yn!==nn.getValue()&&(nn.setValue(Yn),Bt(Yn),nn.setCursor(et?1:nn.lineCount(),0),window.scrollTo(0,ur))}},[nn,Yn]);const ia=(0,b.useCallback)(ur=>{const nr=nn.getCursor(),xr=nn.getSelection();let Or=xr.split(` +`);switch(ur){case"bold":return nn.replaceSelection("**"+xr+"**"),xr===""&&nn.setCursor(nr.line,nr.ch+2),nn.focus();case"italic":return nn.replaceSelection("*"+xr+"*"),xr===""&&nn.setCursor(nr.line,nr.ch+1),nn.focus();case"code":return nn.replaceSelection("`"+xr+"`"),xr===""&&nn.setCursor(nr.line,nr.ch+1),nn.focus();case"inline-latex":return(0,vn.Ye)(oa)?void 0:(Pn("inline-latex"),nn.focus());case"latex":return nn.replaceSelection("```latex\n"+xr+"\n```"),nn.setCursor(nr.line+1,xr.length+1),nn.focus();case"line-break":return nn.replaceSelection(`
    +`),nn.focus();case"list-ul":return xr===""?nn.replaceSelection("- "+xr):nn.replaceSelection(Or.map(ba=>ba===""?"":`- ${ba}`).join(` +`)),nn.focus();case"list-ol":return xr===""?nn.replaceSelection("1. "+xr):nn.replaceSelection(Or.map((ba,da)=>ba===""?"":`${da+1}. ${ba}`).join(` +`)),nn.focus();case"add-null-ch":Kt==null||Kt();return;case"add-signal":return xr===""&&nn.setCursor(nr.line,nr.ch),nn.replaceSelection(mn),nn.focus();case"add-multiple":return xr===""&&nn.setCursor(nr.line,nr.ch),nn.replaceSelection(Dn),nn.focus();case"inster-template-1":return xr===""&&nn.setCursor(nr.line,nr.ch),nn.replaceSelection(vr),nn.focus();case"eraser":return nn.setValue(""),nn.focus();case"trigger-watch":return Pr(!rr),nn.focus();case"trigger-full-screen":return rn(!Sn),nn.focus();case Mt:Pn(Mt);return;case In:Pn(In);return;case Ln:Pn(Ln);return;case wn:Pn(wn);return;case"maths-latex":if((0,vn.Ye)(oa))return;Pn("maths-latex");return;case kn:la.current="",sessionStorage.removeItem("file_id"),Pn(kn);return;case xn:Pn(xn);return;default:throw new Error}},[nn,rr,Sn]),ra=(0,b.useCallback)((ur,nr)=>{var xr,Or,ba,da,ya,Ma;ur!=null&&ur.disabledClose||Pn("");const{src:_a,alt:Na,id:Ha}=ur||{};switch(Cn){case Mt:const{title:wi,link:Pa}=ur;return nn.replaceSelection(`[${wi}](${Pa})`),nn.focus();case In:const{language:li,content:fi}=ur;return nn.replaceSelection(["```"+li,fi,"```"].join(` +`)),nn.focus();case"maths-latex":for(var Da=atob(ur),ja=new Uint8Array(Da.length),Gr=0;Gr{Ba.id?nn.replaceSelection(`![,](/api/attachments/${Ba.id}?type=${Ba.content_type})`):(Ba==null?void 0:Ba.status)===401&&(document.location.href="/user/login")}),nn.focus();case"inline-latex":return(0,vn.Ye)(oa)?void 0:(nn.replaceSelection("`$$"+ur+"$$`"),nn.focus());case ln:return Ha?(nn.getValue().indexOf(_a)===-1?nn.replaceSelection(`
    ${Na||
    `):document.getElementById(Ha).src=je.Z.API_SERVER+_a+"?t="+Date.now(),nn.focus()):void 0;case Ln:case wn:const Ua=nr,Ni=(ba=(Or=(xr=Ua==null?void 0:Ua.name)==null?void 0:xr.split("."))==null?void 0:Or.pop)==null?void 0:ba.call(Or);return((da=Ua==null?void 0:Ua.type)==null?void 0:da.indexOf("image"))>-1||!(Ua!=null&&Ua.type)?Ua!=null&&Ua.align||Ua!=null&&Ua.width?nn.replaceSelection(`

    ${Na||

    `):nn.replaceSelection(`${Na||`):((ya=Ua==null?void 0:Ua.type)==null?void 0:ya.indexOf("video"))>-1?nn.replaceSelection(``):((Ma=Ua==null?void 0:Ua.type)==null?void 0:Ma.indexOf("pdf"))>-1?nn.replaceSelection(`${Ua.name}`):yr.includes(Ni)?nn.replaceSelection(`${Ua.name}`):nn.replaceSelection(`[${Ua.name}](${_a})`),nn.focus();case xn:const{row:Va,col:Aa,align:$a}=ur;let Ja=` +`;for(let Ba=0;Ba{switch(Cn){case Mt:return b.createElement(Qt,{callback:ra,onCancel:ha});case In:return b.createElement(on.Z,{callback:ra,onCancel:ha});case Ln:return b.createElement(st.Z,{callback:ra,onCancel:ha});case kn:return b.createElement(Te,{editImgId:la.current,callback:ra,onCancel:ha});case xn:return b.createElement(gt,{callback:ra,onCancel:ha});case"maths-latex":return b.createElement(pn,{showSaveButton:!0,callback:ra});case"inline-latex":return b.createElement(fn.Z,{showSaveButton:!0,callback:ra});default:return null}},[Cn]);function ha(){Pn("")}(0,b.useEffect)(()=>{if(ca.current){let ur=function(ya){ba=!0,da=ya.pageY},nr=function(){ba=!1},xr=function(ya){if(ba){let Ma=ya.pageY-da;Ma<0&&(Ma=0),Ma>300&&(Ma=300);let _a=Nr+Ma+"px";pr(_a)}},Or=ca.current,ba=!1,da=0;return Or.addEventListener("mousedown",ur),document.addEventListener("mousemove",xr),document.addEventListener("mouseup",nr),()=>{Or.removeEventListener("mousedown",ur),document.removeEventListener("mousemove",xr),document.removeEventListener("mouseup",nr)}}},[nn,ca]),(0,b.useEffect)(()=>{pr(Nr)},[Nr]);const Br=ar(br),Gn=ar(wr),Vr={width:Br,height:Gn},qn=(0,b.useMemo)(()=>{if(zn){let ur=new Date(zn),nr=ur.getHours(),xr=ur.getMinutes(),Or=ur.getSeconds();return nr=nr<10?"0"+nr:nr,xr=xr<10?"0"+xr:xr,Or=Or<10?"0"+Or:Or,`${nr}:${xr}:${Or}`}return 0},[zn]),hr=ur=>{const nr=[];if(Kr){let xr=-1;ur=ur.replace(/(@▁▁@|@▁@)/g,function(Or,ba,da){nr.push({multiLine:Or!==mn})})}return nr};function or(){window.sessionStorage.removeItem(pa),Kn(!1),tr(0)}function er(){Kn(!1),tr(0),nn.setValue(window.sessionStorage.getItem(pa))}(0,b.useEffect)(()=>{lr[Cn]&&Cn!==wn&&Cn!==kn&&setTimeout(()=>{const ur=document.getElementsByClassName("markdown-popup-form")[0],nr=window.innerWidth/2-ur.offsetWidth/2,xr=window.innerHeight/2-ur.offsetHeight/2;dr(nr),Wr(xr)},0)},[Cn]);const Dr=ur=>{ur.preventDefault();const nr=ur.clientX-gr,xr=ur.clientY-Yr;document.body.onmousemove=Or=>{let ba=Or.clientX-nr,da=Or.clientY-xr;const ya=document.getElementsByClassName("markdown-popup-form")[0],Ma=window.innerWidth-ya.offsetWidth,_a=window.innerHeight-ya.offsetHeight;ba=Math.max(0,Math.min(ba,Ma)),da=Math.max(0,Math.min(da,_a)),Ar(Or.clientX,Or.clientY,nr,xr)&&(dr(ba),Wr(da))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ar=(ur,nr,xr,Or)=>{const ba=document.body.clientHeight,da=document.body.clientWidth;return ur<20&&xr>ur||ur>da-20&&xrnr||nr>ba-20&&Or{var nr;la.current=ur,(nr=_r.current)==null||nr.setHeight("100vh"),setTimeout(()=>{Pn("add-flowchart")},150)}})):null))),ea?b.createElement("a",{ref:ca,className:"editor-resize"}):null,Cn===wn&&b.createElement(En,{callback:ra,onCancel:ha}),Cn===kn&&b.createElement(Te,{ref:_r,editImgId:la.current,callback:ra,onCancel:ha}),b.createElement(it.Z,null,lr[Cn]&&Cn!==wn&&Cn!==kn?b.createElement(Ut.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:gr,top:Yr},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Dr},lr[Cn]),open:!0,onCancel:ha,footer:null,destroyOnClose:!0,width:Cn===kn?"1200px":null,height:Cn===kn?"80vh":null,className:"markdown-popup-form"},fa):null))}},53332:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return $e},I:function(){return bt}});var b=y(28284),me=y(6767),le=y(37568),pe=y(44104),be=y(4875),fe=y(47889),we=y(7939),Oe=y(23216),Re=y(59301),xe=y(59301),Ge=Object.defineProperty,Fe=Object.defineProperties,At=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,We=(it,Nt,vt)=>Nt in it?Ge(it,Nt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):it[Nt]=vt,Ve=(it,Nt)=>{for(var vt in Nt||(Nt={}))tt.call(Nt,vt)&&We(it,vt,Nt[vt]);if(at)for(var vt of at(Nt))Je.call(Nt,vt)&&We(it,vt,Nt[vt]);return it},Ze=(it,Nt)=>Fe(it,At(Nt));const{useForm:Qe}=b.default,ze={width:280,marginRight:10},_e={labelCol:{span:5},wrapperCol:{span:19}};var $e=({callback:it,onCancel:Nt})=>{const[vt]=Qe();let dt=(0,Re.useRef)();function It(Jt){dt.current.width=vt.getFieldValue("width"),dt.current.align=vt.getFieldValue("align"),it(Jt,dt.current)}function St(Jt,Rt){if(Jt.status===-1){me.ZP.error(Jt.message);return}vt.setFieldsValue({src:`/api/attachments/${Jt.id}`,type:Rt.type})}function qe(Jt){let Rt=Jt.target.files[0];dt.current=Rt,bt(Rt,St)}return xe.createElement(b.default,Ze(Ve({form:vt},_e),{className:"upload-image-panel",onFinish:It,style:{width:470,overflow:"hidden"}}),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},xe.createElement("div",{className:"flex-container"},xe.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},xe.createElement(le.default,{style:ze})),xe.createElement(nt,{onFileChange:qe}))),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},xe.createElement(le.default,{style:{width:264}})),xe.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},xe.createElement(pe.Z,null,xe.createElement(b.default.Item,{name:"width",style:{margin:0}},xe.createElement(be.Z,{style:{width:264}})),xe.createElement("span",{className:"ml8"},"%"))),xe.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},xe.createElement(fe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),xe.createElement("aside",null,xe.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},xe.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),xe.createElement(we.ZP,{type:"default",onClick:Nt},"\u53D6\u6D88"))))};function nt({onFileChange:it}){return xe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",xe.createElement("input",{type:"file",onChange:it}))}function bt(it,Nt){if(!it)throw new String("\u6CA1\u6709\u6587\u4EF6");let vt=new FormData;vt.append("editormd-image-file",it),vt.append("file_param_name","editormd-image-file"),vt.append("byxhr","true");var dt=new window.XMLHttpRequest;dt.withCredentials=!0,dt.addEventListener("load",function(It){Nt(JSON.parse(It.target.responseText),it)},!1),dt.addEventListener("error",function(It){console.error(It)},!1),dt.open("POST",`${Oe.KI}/api/attachments.json`),dt.send(vt)}},88487:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return le}});var b=y(59301),me=y(4676);class le extends b.Component{constructor(be){super(be);const fe=window.document;this.node=fe.createElement("div"),fe.body.appendChild(this.node)}render(){const{children:be}=this.props;return(0,me.createPortal)(be,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},34728:function(Ce,ae,y){"use strict";y.d(ae,{SV:function(){return En},ZP:function(){return ft}});var b=y(59301),me=y(76374);const le={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},be={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` @@ -946,8 +946,8 @@ `)},{label:"include ",content:["#include "].join(` `)}]},fe={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},we={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var Oe=y(53184),Re=y.n(Oe),xe=(Zt,vn,un)=>new Promise((De,me)=>{var ce=ge=>{try{Ue(un.next(ge))}catch(Me){me(Me)}},Te=ge=>{try{Ue(un.throw(ge))}catch(Me){me(Me)}},Ue=ge=>ge.done?De(ge.value):Promise.resolve(ge.value).then(ce,Te);Ue((un=un.apply(Zt,vn)).next())});const je={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Fe=(Zt,vn,un,De)=>{const me=vn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:un.lineNumber,endColumn:un.column});return Array.from(new Set(me.match(/\b\w{2,}\b/g)||[])).map(Te=>({label:Te,kind:Zt.languages.CompletionItemKind.Text,insertText:Te,range:De}))},xt=(Zt,vn,un,De)=>{Zt.languages.registerCompletionItemProvider(vn,{provideCompletionItems(me,ce){const Te=me.getWordUntilPosition(ce),Ue={startLineNumber:ce.lineNumber,endLineNumber:ce.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},ge=me.getLineContent(ce.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Fe(Zt,me,ce,Ue),...un.map(ot=>({label:ot,kind:Zt.languages.CompletionItemKind.Keyword,documentation:ot,insertText:ot,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue})),...De.map(ot=>({label:ot.label,kind:Zt.languages.CompletionItemKind.Snippet,documentation:ot.content,insertText:ge.startsWith("#")?ot.content.replace(/#/,""):ot.content,insertTextRules:Zt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ue}))]}}})};var nt=Zt=>{je.languages.forEach(vn=>{Zt.languages.registerDocumentFormattingEditProvider(vn,{provideDocumentFormattingEdits(un){return xe(this,null,function*(){const De=Re()(un.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:un.getFullModelRange(),text:De}]})}})}),xt(Zt,"java",pe.keywords,pe.quickKey),xt(Zt,"cpp",be.keywords,be.quickKey),xt(Zt,"c",le.keywords,[]),xt(Zt,"python",fe.keywords,fe.quickKey),xt(Zt,"scala",we.keywords,we.quickKey)};const et="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Je=Object.defineProperty,Ge=(Zt,vn,un)=>vn in Zt?Je(Zt,vn,{enumerable:!0,configurable:!0,writable:!0,value:un}):Zt[vn]=un,We=(Zt,vn,un)=>Ge(Zt,typeof vn!="symbol"?vn+"":vn,un);const Ve=class Jc{constructor(vn,un,De){this.placeholder=vn,this.editor=un,this.monaco=De,un.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Jc.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};We(Ve,"ID","editor.widget.placeholderHint");var He=Ve,_e=y(96236),Ze=y(6767),tt=y(25399),gt=y(78267),rt=y(33156),It=y(56102),mt=Object.defineProperty,ut=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,_t=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Nt=(Zt,vn,un)=>vn in Zt?mt(Zt,vn,{enumerable:!0,configurable:!0,writable:!0,value:un}):Zt[vn]=un,Kt=(Zt,vn)=>{for(var un in vn||(vn={}))Ke.call(vn,un)&&Nt(Zt,un,vn[un]);if(_t)for(var un of _t(vn))Rt.call(vn,un)&&Nt(Zt,un,vn[un]);return Zt},On=(Zt,vn)=>ut(Zt,Tt(vn)),wt=(Zt,vn)=>{var un={};for(var De in Zt)Ke.call(Zt,De)&&vn.indexOf(De)<0&&(un[De]=Zt[De]);if(Zt!=null&&_t)for(var De of _t(Zt))vn.indexOf(De)<0&&Rt.call(Zt,De)&&(un[De]=Zt[De]);return un},$e=(Zt,vn,un)=>new Promise((De,me)=>{var ce=ge=>{try{Ue(un.next(ge))}catch(Me){me(Me)}},Te=ge=>{try{Ue(un.throw(ge))}catch(Me){me(Me)}},Ue=ge=>ge.done?De(ge.value):Promise.resolve(ge.value).then(ce,Te);Ue((un=un.apply(Zt,vn)).next())});function Ee(Zt){return/^\d+$/.test(Zt)?`${Zt}px`:Zt}function en(){}let on=!1;const it={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ht(Zt=[]){let vn=Zt;if(Array.isArray(Zt)){for(let un=0;un$e(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Zt){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Zt)}});var ct=Zt=>{var vn=Zt,{width:un="100%",height:De="100%",value:me,language:ce="javascript",style:Te={},options:Ue={},overrideServices:ge={},theme:Me="vs-dark",onEditBlur:ot,isCopy:Qt=!1,onSave:At,autoHeight:vt=!1,forbidCopy:Ct=!1,forbidCopyTips:Ut,onChange:$t=en,editorDidMount:fn=en,onFocus:dn=en,onBreakPoint:Bt=en,breakPointValue:Mn=[],filename:Dn="educoder.txt",errorLine:Cn,errorContent:sn="",highlightLine:An,openBreakPoint:xn=!1,placeholder:Lt="",showMiniMap:qt=!0}=vn,zt=wt(vn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const bn=(0,b.useRef)(),Et=(0,b.useRef)({}),ft=(0,b.useRef)(),de=(0,b.useRef)(),wn=(0,b.useRef)([]),Un=(0,b.useRef)(!1),mn=(0,b.useRef)(),Er=(0,b.useRef)(),Sr=(0,b.useRef)(!1),[or,wr]=(0,b.useState)(!1);function St(){let Wn;return bn.current&&(Wn=new he.Z(ur=>{for(let _r of ur)(_r.target.offsetHeight>0||_r.target.offsetWidth>0)&&Et.current.instance.layout()}),Wn.observe(bn.current)),Wn}function Kn(){Ze.ZP.warning({content:decodeURIComponent(Ut||et),key:"monaco-editor-tip"})}const ir=()=>{let Wn=Et.current.instance;if(me!=null&&Wn&&or){const ur=Wn.getModel();ur&&me!==ur.getValue()&&(on=!0,ur.setValue(me),Wn.layout(),on=!1)}};(0,b.useEffect)(()=>{const Wn=rt.Z.subscribe("formatDocument",ur=>{var _r;let ea=Et.current.instance;(_r=ea==null?void 0:ea.getAction)==null||_r.call(ea,"editor.action.formatDocument").run()});return window.updateMonacoValue=ur=>{$t(ur)},Wn},[]),(0,b.useEffect)(()=>{var Wn;let ur=Et.current.instance;de.current&&clearTimeout(de.current),de.current=setTimeout(()=>{ir()},500),me&&(me!=null&&me.length)&&((Wn=ur==null?void 0:ur.updateOptions)==null||Wn.call(ur,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(me.split(/\r\n|\r|\n/g).length))+3,5)}))},[me,or,Et.current]),(0,b.useEffect)(()=>{if(Cn&&Et.current&&Et.current.instance){let ur=Et.current.instance;ur.changeViewZones(function(_r){var ea=document.createElement("div");ea.style.padding="10px 20px",ea.style.width="calc(100% - 20px)",ea.className="my-error-line-wrp",ea.innerHTML=sn,_r.addZone({afterLineNumber:Cn||11,heightInLines:3,domNode:ea})});var Wn={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};ur.addOverlayWidget(Wn),ur.revealPositionInCenter({lineNumber:20,column:1})}},[Cn,Et.current,or]);const br=(Wn="",ur)=>{if(!Wn||Wn.trim()==="")return!0;const ea=Et.current.instance.getModel().getLineTokens(ur);let Jt=!1;for(let pn=0;pn<2;pn++)ea.getStandardTokenType(pn)===1&&(Jt=!0);return Jt};(0,b.useEffect)(()=>{var Wn;const ur=(Wn=Et.current)==null?void 0:Wn.instance;if(ur&&or&&Ct){const _r=ur.onDidBlurEditorWidget(()=>{Sr.current=!1}),ea=ur.onDidFocusEditorText(()=>{Sr.current=!0});return()=>{_r.dispose(),ea.dispose()}}},[Et.current,or,Ct]),(0,b.useEffect)(()=>{var Wn;if((Wn=Et.current)!=null&&Wn.instance&&or&&xn){let ur=Et.current.instance,_r=ur.getModel();if(!_r)return;(()=>{var Pe;let Ye=[],Xt=[];const Wt=_r.getAllDecorations();for(let Qn of Wt)Qn.options.className==="highlighted-line"&&(Ye.push((Pe=Qn==null?void 0:Qn.range)==null?void 0:Pe.startLineNumber),Xt.push(Qn==null?void 0:Qn.id));if(An===Ye[0])return;_r.deltaDecorations(Xt,[]);const Xn=_r.getLineCount();An&&An<=Xn&&(ur.deltaDecorations([],[{range:new Yt.Range(An,1,An,_r.getLineMaxColumn(An)),options:{isWholeLine:!0,className:"highlighted-line"}}]),ur.revealLineInCenter(An))})();const Jt=(Pe=!1)=>{var Ye;let Xt=[],Wt=[];const Xn=_r.getAllDecorations();for(let Qn of Xn)Qn.options.linesDecorationsClassName==="breakpoints-select"&&(Xt.push((Ye=Qn==null?void 0:Qn.range)==null?void 0:Ye.startLineNumber),Wt.push(Qn==null?void 0:Qn.id));if(Pe)return{lines:Xt,ids:Wt};Bt(Xt)},pn=Pe=>$e(void 0,null,function*(){let Ye={range:new Yt.Range(Pe,1,Pe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield _r.deltaDecorations([],[Ye]),Jt()}),kt=Pe=>$e(void 0,null,function*(){let Ye=[];const Xt=ur.getLineDecorations(Pe);for(let Wt of Xt)Wt.options.linesDecorationsClassName==="breakpoints-select"&&Ye.push(Wt.id);yield _r.deltaDecorations(Ye,[]),Jt()}),tn=Pe=>{let Ye=ur.getLineDecorations(Pe);for(let Xt of Ye)if(Xt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,gt.isEqual)(Mn,Jt(!0).lines)){_r.deltaDecorations(Jt(!0).ids,[]);const Pe=Mn.map(Ye=>({range:new Yt.Range(Ye,1,Ye,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));_r.deltaDecorations([],Pe)}const Mt=ur.onDidChangeModelContent(Pe=>{let Ye=ur.getPosition();if(Ye){let Xt=Ye.lineNumber;clearTimeout(Er.current),Er.current=setTimeout(()=>{br(_r.getLineContent(Xt),Xt)?kt(Xt):tn(Xt)?(kt(Xt),pn(Xt)):Jt()},100)}}),rn=ur.onMouseDown(Pe=>{var Ye,Xt,Wt;if(Pe.target.detail&&((Wt=(Xt=(Ye=Pe.target)==null?void 0:Ye.element)==null?void 0:Xt.className)!=null&&Wt.includes("line-numbers"))){let Xn=Pe.target.position.lineNumber;if(br(_r.getLineContent(Xn),Xn))return;tn(Xn)?kt(Xn):pn(Xn)}}),lt=Pe=>{let Ye={range:new Yt.Range(Pe,1,Pe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};wn.current=ur.deltaDecorations(wn.current,[Ye])},ve=()=>{wn.current=ur.deltaDecorations(wn.current,[])},Ie=ur.onMouseMove(Pe=>{var Ye,Xt,Wt;if(ve(),Pe.target.detail&&((Wt=(Xt=(Ye=Pe.target)==null?void 0:Ye.element)==null?void 0:Xt.className)!=null&&Wt.includes("line-numbers"))){let Xn=Pe.target.position.lineNumber;if(br(_r.getLineContent(Xn),Xn))return;lt(Xn)}}),Ft=ur.onMouseLeave(()=>{ve()});return()=>{Mt.dispose(),rn.dispose(),Ie.dispose(),Ft.dispose()}}},[Et.current,or,Mn,An,xn,ce]),(0,b.useEffect)(()=>{var Wn;(Wn=Et.current)!=null&&Wn.instance&&xn&&Et.current.instance.setPosition({lineNumber:0,column:0})},[An]);function qn(){let Wn=Et.current.instance;if(Wn){const ur=Wn.getSelection(),_r=Et.current.pastePos||{},ea=new Yt.Range(_r.startLineNumber||ur.endLineNumber,_r.startColumn||ur.endColumn,_r.endLineNumber||ur.endLineNumber,_r.endColumn||ur.endColumn);setTimeout(()=>{Wn.executeEdits("",[{range:ea,text:""}])},300)}}function Ir(Wn){(window.navigator.platform.match("Mac")?Wn.metaKey:Wn.ctrlKey)&&Wn.keyCode==83&&(Wn.preventDefault(),At())}const sr=()=>{if(vt&&Et.current.instance){const Wn=Et.current.instance.getContentHeight();fa(Wn{if(!Sr.current)return;const{keyCode:ur,ctrlKey:_r,metaKey:ea,target:Jt,type:pn}=Wn;return(pn==="paste"||(ur===67||ur===86)&&(ea||_r))&&Jt.nodeName==="TEXTAREA"&&(Kn(),Wn.preventDefault()),!1};function Jr(Wn,ur){var _r=window.URL||window.webkitURL||window,ea=new Blob([ur]),Jt=document.createElementNS("http://www.w3.org/1999/xhtml","a");Jt.href=_r.createObjectURL(ea),Jt.download=Wn,jn(Jt)}(0,b.useEffect)(()=>{sr()},[sr]),(0,b.useEffect)(()=>{bn.current&&!or&&Promise.all([y.e(8909),y.e(5977)]).then(y.bind(y,71448)).then(Wn=>{try{Yt=Wn,Et.current.instance=Yt.editor.create(bn.current,{value:me,language:Ht(ce),theme:Me,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:qt||!1}},ge);const ur=Et.current.instance;let Jt=[..._e.BH._menuItems].find(Mt=>Mt[0]._debugName=="EditorContext")[1],pn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],kt=(Mt,rn)=>{var lt,ve;let Ie=Mt._first;do rn.includes((ve=(lt=Ie.element)==null?void 0:lt.command)==null?void 0:ve.id)&&Mt._remove(Ie);while(Ie=Ie.next)};if(fn(ur,Yt),setTimeout(()=>{sr(),Et.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Jr(Dn||"educoder.txt",ur.getValue())}})},500),Et.current.subscription=ur.onDidChangeModelContent(Mt=>{Un.current?clearTimeout(mn.current):(sr(),$t(ur.getValue(),Mt)),mn.current=setTimeout(()=>{Un.current=!1},500)}),window.Monaco||nt(Yt,Ht(ce)),Ct&&(kt(Jt,pn),bn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",$r),window.removeEventListener("paste",$r),window.addEventListener("keydown",$r),window.addEventListener("paste",$r)),window.Monaco=Yt,ot&&ur.onDidBlurEditorWidget(()=>{ot(ur.getValue())}),dn&&ur.onDidFocusEditorText(()=>{Ct&&Rn(),dn(ur.getValue())}),Ct){Rn();try{ur.onDidPaste(Mt=>{const rn=ur.getSelection(),lt=Et.current.pastePos||{},ve=new Yt.Range(lt.startLineNumber||rn.endLineNumber,lt.startColumn||rn.endColumn,lt.endLineNumber||rn.endLineNumber,lt.endColumn||rn.endColumn);ur.executeEdits("",[{range:Mt.range,text:""}])})}catch(Mt){}}let tn=St();return Lt&&typeof Lt=="string"&&new He(Lt,ur,Yt),wr(!0),()=>{const Mt=Et.current.instance;Mt.dispose();const rn=Mt.getModel();rn&&rn.dispose(),Et.current.subscription&&Et.current.subscription.dispose(),tn.unobserve(bn.current)}}catch(ur){}})},[]),(0,b.useEffect)(()=>{if(Et.current.instance&&or)return document.addEventListener("keydown",Ir,!1),()=>{document.removeEventListener("keydown",Ir)}},[At,or]),(0,b.useEffect)(()=>{let Wn=Et.current.instance;if(Wn&&or){let ur=Ht(ce);Yt.editor.setModelLanguage(Wn.getModel(),ur)}},[ce,or]),(0,b.useEffect)(()=>{Et.current.instance&&or&&Yt.editor.setTheme(Me)},[Me,or]),(0,b.useEffect)(()=>{let Wn=Et.current.instance;ft.current=Ue,Wn&&or&&(Wn.updateOptions(Kt({},Ue)),setTimeout(()=>{Wn.getModel().updateOptions(Kt({},Ue))},200))},[JSON.stringify(Ue),or]),(0,b.useEffect)(()=>{let Wn=Et.current.instance;Wn&&or&&Wn.layout()},[un,De,or]);const[Gr,la]=(0,b.useState)(Ee(un)),[Hr,fa]=(0,b.useState)(Ee(De)),Yr=On(Kt({},Te),{width:Gr,height:Hr,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:bn,style:Yr,onFocus:()=>{Ct&&Rn()}},Qt&&b.createElement(It.CopyToClipboard,{text:me,onCopy:()=>Ze.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(tt.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Sn({width:Zt="100%",height:vn="100%",original:un,modified:De,language:me,options:ce={}}){const Te=(0,b.useRef)(),[Ue,ge]=(0,b.useState)(null);function Me(vt){let Ct;return Te.current&&(Ct=new he.Z(Ut=>{for(let $t of Ut)($t.target.offsetHeight>0||$t.target.offsetWidth>0)&&vt.layout()}),Ct.observe(Te.current)),Ct}(0,b.useEffect)(()=>(Te.current&&Promise.all([y.e(8909),y.e(9404)]).then(y.bind(y,2550)).then(vt=>{Yt=vt;const Ct=Yt.editor.createDiffEditor(Te.current,On(Kt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ce),{wordWrap:!0}));ge(Ct);let Ut=Me(Ct);return()=>{Ct.dispose();const $t=Ct.getModel();$t&&$t.dispose(),Ut.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{Ue&&Ue.setModel({original:Yt.editor.createModel(un,me),modified:Yt.editor.createModel(De,me)})},[un,De,me,Ue]);const ot=Ee(Zt),Qt=Ee(vn),At={width:ot,height:Qt};return b.createElement("div",{className:"my-diff-editor",ref:Te,style:At})}},79006:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return he}});var b=y(59301);function he(le,pe){const be=(0,b.useRef)();(0,b.useEffect)(()=>{be.current=le}),(0,b.useEffect)(()=>{function fe(){be.current()}if(pe!==null){let we=setInterval(fe,pe);return()=>clearInterval(we)}},[pe])}},436:function(Ce,ae,y){"use strict";y.r(ae),y.d(ae,{default:function(){return zr}});var b=y(59301),he=y(6767),le=y(94968),pe=y(62957),be=y(25399),fe=y(29787),we=y(75727),Oe=y(7939),Re=y(37568),xe=y(44283),je={flex_box_center:"flex_box_center___tP7O7",flex_space_between:"flex_space_between___DzPut",flex_box_vertical_center:"flex_box_vertical_center___lvMeU",flex_box_center_end:"flex_box_center_end___AEVBm",flex_box_column:"flex_box_column___CakhE",wrap:"wrap___EF2Mg",show_button:"show_button___iz0Ga",show_button_icon:"show_button_icon___iNp_E",left:"left___EXwxP",leftheader:"leftheader___V5S1y",close_ai:"close_ai___eHxuv",leftcontent:"leftcontent___lFc7i",leftcontentright:"leftcontentright___GsuUS",liaotian_files:"liaotian_files___QnDUu",liaotian_file:"liaotian_file___dQ703",fileName:"fileName___cjuxg",fileDelred:"fileDelred___nGLZO",fileDel:"fileDel___tgTrx",leftcontentleft:"leftcontentleft___U6nEw",letitle:"letitle___Pb89J",lecont:"lecont___VJ9Uk",left_step:"left_step___fEbWU",left_step_item:"left_step_item___idu68",stepNum:"stepNum___eFutj",item_title:"item_title___jSxBN",item_status:"item_status___q1inY",practice:"practice___QnJoR",inputTop:"inputTop___xG6Ir",dropdown:"dropdown___U6r2x",inputWrap:"inputWrap___GPfQj",action:"action___NU3v3",btnWrap:"btnWrap___gELWd",btn:"btn___uT9kw",btnActive:"btnActive___WyhNu",btnDisabled:"btnDisabled___YlRSu",uploadBtn:"uploadBtn___mcZ1N",sendBtn:"sendBtn___RYtg9",sendBtnDisabled:"sendBtnDisabled___wCYSg",cancelBtn:"cancelBtn___FIY1n",files:"files___gYUIb",left_data:"left_data___PppxQ",right_data:"right_data___yWB32",file:"file___mAxSR",right:"right___CTfSa",right_header:"right_header___w06pV",right_header_title:"right_header_title___GpvW2",button_list:"button_list___gZxzJ",button_left:"button_left___MtoEX",button_right:"button_right___a8DQX",right_step:"right_step___J31m3",step_item:"step_item___mjRBJ",stream_header:"stream_header___W8pxs",stream_header_title:"stream_header_title___ShG5p",stream_tootip:"stream_tootip___IvO6Z",tootip_text:"tootip_text___lvbXo",loadingPic:"loadingPic___cEOTx",dots:"dots___cYjHi"},Fe=y(14185),xt=y(76406),nt={container:"container___esDWu",katex:"katex____ln1S",liWrap:"liWrap___oniVY",backBottom:"backBottom___qLjSm",imgBox:"imgBox___xQGaU"},et=y(86204),Je=Object.defineProperty,Ge=(oe,z,te)=>z in oe?Je(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,We=(oe,z,te)=>Ge(oe,typeof z!="symbol"?z+"":z,te),Ve=(oe,z,te)=>new Promise((ue,Se)=>{var Le=dt=>{try{st(te.next(dt))}catch(Gt){Se(Gt)}},qe=dt=>{try{st(te.throw(dt))}catch(Gt){Se(Gt)}},st=dt=>dt.done?ue(dt.value):Promise.resolve(dt.value).then(Le,qe);st((te=te.apply(oe,z)).next())});class Qe extends et.EventEmitter{constructor(z,te){super(),We(this,"url"),We(this,"body"),We(this,"fullContent",""),We(this,"controller",null),this.url=z,this.body=te}startStream(){return Ve(this,null,function*(){this.controller=new AbortController;const{signal:z}=this.controller;try{const te=yield fetch(this.url,(0,xt.Ec)({method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:z}));if(!te.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${te.status}`);const ue=te.headers.get("content-type");if(!ue)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ue.includes("application/json")){const qe=yield te.json();this.emit("error",qe);return}if(!ue.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Se=te.body.getReader(),Le=new TextDecoder("utf-8");for(;;){const{done:qe,value:st}=yield Se.read();if(qe)break;const Gt=Le.decode(st,{stream:!0}).split(` -`);for(const ln of Gt)if(ln.startsWith("data:")){const Tn=ln.slice(5).trim();if(Tn==="[DONE]")break;try{const _n=JSON.parse(Tn);_n.data&&this.handleData(_n.data)}catch(_n){console.error("\u89E3\u6790 JSON \u5931\u8D25:",_n)}}}this.emit("done",this.fullContent)}catch(te){te.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",te.message)}})}handleData(z){z.content&&(this.fullContent+=z.content,this.emit("data",{chunk:z,full:this.fullContent}))}cancelRequest(){var z;(z=this.controller)==null||z.abort()}}var He=Qe,_e=y(24342),Ze=y(66328),tt=y(84821),gt=y(18369),rt=y(56102),It={answer:"answer___JC571",imgWrap:"imgWrap___QTKQP",codeCopy:"codeCopy___ph6sc"},mt=y(75786),ut=y(40797),Tt=y(91378);class _t{constructor(z,te,ue){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=z,this.start=te,this.end=ue}static range(z,te){return te?!z||!z.loc||!te.loc||z.loc.lexer!==te.loc.lexer?null:new _t(z.loc.lexer,z.loc.start,te.loc.end):z&&z.loc}}class Ke{constructor(z,te){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=z,this.loc=te}range(z,te){return new Ke(te,_t.range(this,z))}}class Rt{constructor(z,te){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var ue="KaTeX parse error: "+z,Se,Le,qe=te&&te.loc;if(qe&&qe.start<=qe.end){var st=qe.lexer.input;Se=qe.start,Le=qe.end,Se===st.length?ue+=" at end of input: ":ue+=" at position "+(Se+1)+": ";var dt=st.slice(Se,Le).replace(/[^]/g,"$&\u0332"),Gt;Se>15?Gt="\u2026"+st.slice(Se-15,Se):Gt=st.slice(0,Se);var ln;Le+15oe.replace(Nt,"-$1").toLowerCase(),On={"&":"&",">":">","<":"<",'"':""","'":"'"},wt=/[&><"']/g,$e=oe=>String(oe).replace(wt,z=>On[z]),Ee=oe=>oe.type==="ordgroup"||oe.type==="color"?oe.body.length===1?Ee(oe.body[0]):oe:oe.type==="font"?Ee(oe.body):oe,en=new Set(["mathord","textord","atom"]),on=oe=>en.has(Ee(oe).type),it=oe=>{var z=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(oe);return z?z[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(z[1])?null:z[1].toLowerCase():"_relative"},Ht={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:oe=>"#"+oe},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(oe,z)=>(z.push(oe),z)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:oe=>Math.max(0,oe),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:oe=>Math.max(0,oe),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:oe=>Math.max(0,oe),cli:"-e, --max-expand ",cliProcessor:oe=>oe==="Infinity"?1/0:parseInt(oe)},globalGroup:{type:"boolean",cli:!1}};function Yt(oe){if(oe.default)return oe.default;var z=oe.type,te=Array.isArray(z)?z[0]:z;if(typeof te!="string")return te.enum[0];switch(te){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Rn{constructor(z){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,z=z||{};for(var te in Ht)if(Ht.hasOwnProperty(te)){var ue=Ht[te];this[te]=z[te]!==void 0?ue.processor?ue.processor(z[te]):z[te]:Yt(ue)}}reportNonstrict(z,te,ue){var Se=this.strict;if(typeof Se=="function"&&(Se=Se(z,te,ue)),!(!Se||Se==="ignore")){if(Se===!0||Se==="error")throw new Rt("LaTeX-incompatible input and strict mode is set to 'error': "+(te+" ["+z+"]"),ue);Se==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(te+" ["+z+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Se+"': "+te+" ["+z+"]"))}}useStrictBehavior(z,te,ue){var Se=this.strict;if(typeof Se=="function")try{Se=Se(z,te,ue)}catch(Le){Se="error"}return!Se||Se==="ignore"?!1:Se===!0||Se==="error"?!0:Se==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(te+" ["+z+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Se+"': "+te+" ["+z+"]")),!1)}isTrusted(z){if(z.url&&!z.protocol){var te=it(z.url);if(te==null)return!1;z.protocol=te}var ue=typeof this.trust=="function"?this.trust(z):this.trust;return!!ue}}class ct{constructor(z,te,ue){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=z,this.size=te,this.cramped=ue}sup(){return Ue[ge[this.id]]}sub(){return Ue[Me[this.id]]}fracNum(){return Ue[ot[this.id]]}fracDen(){return Ue[Qt[this.id]]}cramp(){return Ue[At[this.id]]}text(){return Ue[vt[this.id]]}isTight(){return this.size>=2}}var Sn=0,Zt=1,vn=2,un=3,De=4,me=5,ce=6,Te=7,Ue=[new ct(Sn,0,!1),new ct(Zt,0,!0),new ct(vn,1,!1),new ct(un,1,!0),new ct(De,2,!1),new ct(me,2,!0),new ct(ce,3,!1),new ct(Te,3,!0)],ge=[De,me,De,me,ce,Te,ce,Te],Me=[me,me,me,me,Te,Te,Te,Te],ot=[vn,un,De,me,ce,Te,ce,Te],Qt=[un,un,me,me,Te,Te,Te,Te],At=[Zt,Zt,un,un,me,me,Te,Te],vt=[Sn,Zt,vn,un,vn,un,vn,un],Ct={DISPLAY:Ue[Sn],TEXT:Ue[vn],SCRIPT:Ue[De],SCRIPTSCRIPT:Ue[ce]},Ut=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function $t(oe){for(var z=0;z=Se[0]&&oe<=Se[1])return te.name}return null}var fn=[];Ut.forEach(oe=>oe.blocks.forEach(z=>fn.push(...z)));function dn(oe){for(var z=0;z=fn[z]&&oe<=fn[z+1])return!0;return!1}var Bt=80,Mn=function(z,te){return"M95,"+(622+z+te)+` +`)}]};var Oe=y(53184),Re=y.n(Oe),xe=(Ht,gn,un)=>new Promise((De,he)=>{var ce=ge=>{try{je(un.next(ge))}catch(Pe){he(Pe)}},Te=ge=>{try{je(un.throw(ge))}catch(Pe){he(Pe)}},je=ge=>ge.done?De(ge.value):Promise.resolve(ge.value).then(ce,Te);je((un=un.apply(Ht,gn)).next())});const Ge={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},Fe=(Ht,gn,un,De)=>{const he=gn.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:un.lineNumber,endColumn:un.column});return Array.from(new Set(he.match(/\b\w{2,}\b/g)||[])).map(Te=>({label:Te,kind:Ht.languages.CompletionItemKind.Text,insertText:Te,range:De}))},At=(Ht,gn,un,De)=>{Ht.languages.registerCompletionItemProvider(gn,{provideCompletionItems(he,ce){const Te=he.getWordUntilPosition(ce),je={startLineNumber:ce.lineNumber,endLineNumber:ce.lineNumber,startColumn:Te.startColumn,endColumn:Te.endColumn},ge=he.getLineContent(ce.lineNumber).substring(Te.startColumn-2,Te.endColumn);return{suggestions:[...Fe(Ht,he,ce,je),...un.map(ct=>({label:ct,kind:Ht.languages.CompletionItemKind.Keyword,documentation:ct,insertText:ct,insertTextRules:Ht.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:je})),...De.map(ct=>({label:ct.label,kind:Ht.languages.CompletionItemKind.Snippet,documentation:ct.content,insertText:ge.startsWith("#")?ct.content.replace(/#/,""):ct.content,insertTextRules:Ht.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:je}))]}}})};var at=Ht=>{Ge.languages.forEach(gn=>{Ht.languages.registerDocumentFormattingEditProvider(gn,{provideDocumentFormattingEdits(un){return xe(this,null,function*(){const De=Re()(un.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:un.getFullModelRange(),text:De}]})}})}),At(Ht,"java",pe.keywords,pe.quickKey),At(Ht,"cpp",be.keywords,be.quickKey),At(Ht,"c",le.keywords,[]),At(Ht,"python",fe.keywords,fe.quickKey),At(Ht,"scala",we.keywords,we.quickKey)};const tt="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Je=Object.defineProperty,We=(Ht,gn,un)=>gn in Ht?Je(Ht,gn,{enumerable:!0,configurable:!0,writable:!0,value:un}):Ht[gn]=un,Ve=(Ht,gn,un)=>We(Ht,typeof gn!="symbol"?gn+"":gn,un);const Ze=class nd{constructor(gn,un,De){this.placeholder=gn,this.editor=un,this.monaco=De,un.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return nd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ve(Ze,"ID","editor.widget.placeholderHint");var ze=Ze,_e=y(96236),$e=y(6767),nt=y(25399),bt=y(78267),it=y(33156),Nt=y(56102),vt=Object.defineProperty,dt=Object.defineProperties,It=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Rt=(Ht,gn,un)=>gn in Ht?vt(Ht,gn,{enumerable:!0,configurable:!0,writable:!0,value:un}):Ht[gn]=un,Zt=(Ht,gn)=>{for(var un in gn||(gn={}))qe.call(gn,un)&&Rt(Ht,un,gn[un]);if(St)for(var un of St(gn))Jt.call(gn,un)&&Rt(Ht,un,gn[un]);return Ht},Tn=(Ht,gn)=>dt(Ht,It(gn)),Tt=(Ht,gn)=>{var un={};for(var De in Ht)qe.call(Ht,De)&&gn.indexOf(De)<0&&(un[De]=Ht[De]);if(Ht!=null&&St)for(var De of St(Ht))gn.indexOf(De)<0&&Jt.call(Ht,De)&&(un[De]=Ht[De]);return un},Ye=(Ht,gn,un)=>new Promise((De,he)=>{var ce=ge=>{try{je(un.next(ge))}catch(Pe){he(Pe)}},Te=ge=>{try{je(un.throw(ge))}catch(Pe){he(Pe)}},je=ge=>ge.done?De(ge.value):Promise.resolve(ge.value).then(ce,Te);je((un=un.apply(Ht,gn)).next())});function Se(Ht){return/^\d+$/.test(Ht)?`${Ht}px`:Ht}function Qt(){}let on=!1;const st={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ut(Ht=[]){let gn=Ht;if(Array.isArray(Ht)){for(let un=0;unYe(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Ht){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Ht)}});var ft=Ht=>{var gn=Ht,{width:un="100%",height:De="100%",value:he,language:ce="javascript",style:Te={},options:je={},overrideServices:ge={},theme:Pe="vs-dark",onEditBlur:ct,isCopy:$t=!1,onSave:gt,autoHeight:yt=!1,forbidCopy:Dt=!1,forbidCopyTips:Pt,onChange:Wt=Qt,editorDidMount:pn=Qt,onFocus:fn=Qt,onBreakPoint:Mt=Qt,breakPointValue:Ln=[],filename:kn="educoder.txt",errorLine:wn,errorContent:ln="",highlightLine:In,openBreakPoint:xn=!1,placeholder:kt="",showMiniMap:Yt=!0}=gn,Ft=Tt(gn,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","forbidCopyTips","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const vn=(0,b.useRef)(),Ct=(0,b.useRef)({}),pt=(0,b.useRef)(),de=(0,b.useRef)(),qt=(0,b.useRef)([]),Dn=(0,b.useRef)(!1),mn=(0,b.useRef)(),vr=(0,b.useRef)(),yr=(0,b.useRef)(!1),[ar,Er]=(0,b.useState)(!1);function wt(){let jn;return vn.current&&(jn=new me.Z(sr=>{for(let Kr of sr)(Kr.target.offsetHeight>0||Kr.target.offsetWidth>0)&&Ct.current.instance.layout()}),jn.observe(vn.current)),jn}function Qn(){$e.ZP.warning({content:decodeURIComponent(Pt||tt),key:"monaco-editor-tip"})}const lr=()=>{let jn=Ct.current.instance;if(he!=null&&jn&&ar){const sr=jn.getModel();sr&&he!==sr.getValue()&&(on=!0,sr.setValue(he),jn.layout(),on=!1)}};(0,b.useEffect)(()=>{const jn=it.Z.subscribe("formatDocument",sr=>{var Kr;let zr=Ct.current.instance;(Kr=zr==null?void 0:zr.getAction)==null||Kr.call(zr,"editor.action.formatDocument").run()});return window.updateMonacoValue=sr=>{Wt(sr)},jn},[]),(0,b.useEffect)(()=>{var jn;let sr=Ct.current.instance;de.current&&clearTimeout(de.current),de.current=setTimeout(()=>{lr()},500),he&&(he!=null&&he.length)&&((jn=sr==null?void 0:sr.updateOptions)==null||jn.call(sr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(he.split(/\r\n|\r|\n/g).length))+3,5)}))},[he,ar,Ct.current]),(0,b.useEffect)(()=>{if(wn&&Ct.current&&Ct.current.instance){let sr=Ct.current.instance;sr.changeViewZones(function(Kr){var zr=document.createElement("div");zr.style.padding="10px 20px",zr.style.width="calc(100% - 20px)",zr.className="my-error-line-wrp",zr.innerHTML=ln,Kr.addZone({afterLineNumber:wn||11,heightInLines:3,domNode:zr})});var jn={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};sr.addOverlayWidget(jn),sr.revealPositionInCenter({lineNumber:20,column:1})}},[wn,Ct.current,ar]);const cr=(jn="",sr)=>{if(!jn||jn.trim()==="")return!0;const zr=Ct.current.instance.getModel().getLineTokens(sr);let ve=!1;for(let Ie=0;Ie<2;Ie++)zr.getStandardTokenType(Ie)===1&&(ve=!0);return ve};(0,b.useEffect)(()=>{var jn;const sr=(jn=Ct.current)==null?void 0:jn.instance;if(sr&&ar&&Dt){const Kr=sr.onDidBlurEditorWidget(()=>{yr.current=!1}),zr=sr.onDidFocusEditorText(()=>{yr.current=!0});return()=>{Kr.dispose(),zr.dispose()}}},[Ct.current,ar,Dt]),(0,b.useEffect)(()=>{var jn;if((jn=Ct.current)!=null&&jn.instance&&ar&&xn){let sr=Ct.current.instance,Kr=sr.getModel();if(!Kr)return;(()=>{var an;let Kt=[],nn=[];const rt=Kr.getAllDecorations();for(let Bt of rt)Bt.options.className==="highlighted-line"&&(Kt.push((an=Bt==null?void 0:Bt.range)==null?void 0:an.startLineNumber),nn.push(Bt==null?void 0:Bt.id));if(In===Kt[0])return;Kr.deltaDecorations(nn,[]);const Jn=Kr.getLineCount();In&&In<=Jn&&(sr.deltaDecorations([],[{range:new Gt.Range(In,1,In,Kr.getLineMaxColumn(In)),options:{isWholeLine:!0,className:"highlighted-line"}}]),sr.revealLineInCenter(In))})();const ve=(an=!1)=>{var Kt;let nn=[],rt=[];const Jn=Kr.getAllDecorations();for(let Bt of Jn)Bt.options.linesDecorationsClassName==="breakpoints-select"&&(nn.push((Kt=Bt==null?void 0:Bt.range)==null?void 0:Kt.startLineNumber),rt.push(Bt==null?void 0:Bt.id));if(an)return{lines:nn,ids:rt};Mt(nn)},Ie=an=>Ye(void 0,null,function*(){let Kt={range:new Gt.Range(an,1,an,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Kr.deltaDecorations([],[Kt]),ve()}),ut=an=>Ye(void 0,null,function*(){let Kt=[];const nn=sr.getLineDecorations(an);for(let rt of nn)rt.options.linesDecorationsClassName==="breakpoints-select"&&Kt.push(rt.id);yield Kr.deltaDecorations(Kt,[]),ve()}),Le=an=>{let Kt=sr.getLineDecorations(an);for(let nn of Kt)if(nn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,bt.isEqual)(Ln,ve(!0).lines)){Kr.deltaDecorations(ve(!0).ids,[]);const an=Ln.map(Kt=>({range:new Gt.Range(Kt,1,Kt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Kr.deltaDecorations([],an)}const He=sr.onDidChangeModelContent(an=>{let Kt=sr.getPosition();if(Kt){let nn=Kt.lineNumber;clearTimeout(vr.current),vr.current=setTimeout(()=>{cr(Kr.getLineContent(nn),nn)?ut(nn):Le(nn)?(ut(nn),Ie(nn)):ve()},100)}}),Vt=sr.onMouseDown(an=>{var Kt,nn,rt;if(an.target.detail&&((rt=(nn=(Kt=an.target)==null?void 0:Kt.element)==null?void 0:nn.className)!=null&&rt.includes("line-numbers"))){let Jn=an.target.position.lineNumber;if(cr(Kr.getLineContent(Jn),Jn))return;Le(Jn)?ut(Jn):Ie(Jn)}}),et=an=>{let Kt={range:new Gt.Range(an,1,an,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};qt.current=sr.deltaDecorations(qt.current,[Kt])},en=()=>{qt.current=sr.deltaDecorations(qt.current,[])},cn=sr.onMouseMove(an=>{var Kt,nn,rt;if(en(),an.target.detail&&((rt=(nn=(Kt=an.target)==null?void 0:Kt.element)==null?void 0:nn.className)!=null&&rt.includes("line-numbers"))){let Jn=an.target.position.lineNumber;if(cr(Kr.getLineContent(Jn),Jn))return;et(Jn)}}),Xt=sr.onMouseLeave(()=>{en()});return()=>{He.dispose(),Vt.dispose(),cn.dispose(),Xt.dispose()}}},[Ct.current,ar,Ln,In,xn,ce]),(0,b.useEffect)(()=>{var jn;(jn=Ct.current)!=null&&jn.instance&&xn&&Ct.current.instance.setPosition({lineNumber:0,column:0})},[In]);function Yn(){let jn=Ct.current.instance;if(jn){const sr=jn.getSelection(),Kr=Ct.current.pastePos||{},zr=new Gt.Range(Kr.startLineNumber||sr.endLineNumber,Kr.startColumn||sr.endColumn,Kr.endLineNumber||sr.endLineNumber,Kr.endColumn||sr.endColumn);setTimeout(()=>{jn.executeEdits("",[{range:zr,text:""}])},300)}}function Sr(jn){(window.navigator.platform.match("Mac")?jn.metaKey:jn.ctrlKey)&&jn.keyCode==83&&(jn.preventDefault(),gt())}const br=()=>{if(yt&&Ct.current.instance){const jn=Ct.current.instance.getContentHeight();pa(jn{if(!yr.current)return;const{keyCode:sr,ctrlKey:Kr,metaKey:zr,target:ve,type:Ie}=jn;return(Ie==="paste"||(sr===67||sr===86)&&(zr||Kr))&&ve.nodeName==="TEXTAREA"&&(Qn(),jn.preventDefault()),!1};function $r(jn,sr){var Kr=window.URL||window.webkitURL||window,zr=new Blob([sr]),ve=document.createElementNS("http://www.w3.org/1999/xhtml","a");ve.href=Kr.createObjectURL(zr),ve.download=jn,Nr(ve)}(0,b.useEffect)(()=>{br()},[br]),(0,b.useEffect)(()=>{vn.current&&!ar&&Promise.all([y.e(8909),y.e(5977)]).then(y.bind(y,71448)).then(jn=>{try{Gt=jn,Ct.current.instance=Gt.editor.create(vn.current,{value:he,language:Ut(ce),theme:Pe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Yt||!1}},ge);const sr=Ct.current.instance;let ve=[..._e.BH._menuItems].find(He=>He[0]._debugName=="EditorContext")[1],Ie=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ut=(He,Vt)=>{var et,en;let cn=He._first;do Vt.includes((en=(et=cn.element)==null?void 0:et.command)==null?void 0:en.id)&&He._remove(cn);while(cn=cn.next)};if(pn(sr,Gt),setTimeout(()=>{br(),Ct.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{$r(kn||"educoder.txt",sr.getValue())}})},500),Ct.current.subscription=sr.onDidChangeModelContent(He=>{Dn.current?clearTimeout(mn.current):(br(),Wt(sr.getValue(),He)),mn.current=setTimeout(()=>{Dn.current=!1},500)}),window.Monaco||at(Gt,Ut(ce)),Dt&&(ut(ve,Ie),vn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Jr),window.removeEventListener("paste",Jr),window.addEventListener("keydown",Jr),window.addEventListener("paste",Jr)),window.Monaco=Gt,ct&&sr.onDidBlurEditorWidget(()=>{ct(sr.getValue())}),fn&&sr.onDidFocusEditorText(()=>{Dt&&On(),fn(sr.getValue())}),Dt){On();try{sr.onDidPaste(He=>{const Vt=sr.getSelection(),et=Ct.current.pastePos||{},en=new Gt.Range(et.startLineNumber||Vt.endLineNumber,et.startColumn||Vt.endColumn,et.endLineNumber||Vt.endLineNumber,et.endColumn||Vt.endColumn);sr.executeEdits("",[{range:He.range,text:""}])})}catch(He){}}let Le=wt();return kt&&typeof kt=="string"&&new ze(kt,sr,Gt),Er(!0),()=>{const He=Ct.current.instance;He.dispose();const Vt=He.getModel();Vt&&Vt.dispose(),Ct.current.subscription&&Ct.current.subscription.dispose(),Le.unobserve(vn.current)}}catch(sr){}})},[]),(0,b.useEffect)(()=>{if(Ct.current.instance&&ar)return document.addEventListener("keydown",Sr,!1),()=>{document.removeEventListener("keydown",Sr)}},[gt,ar]),(0,b.useEffect)(()=>{let jn=Ct.current.instance;if(jn&&ar){let sr=Ut(ce);Gt.editor.setModelLanguage(jn.getModel(),sr)}},[ce,ar]),(0,b.useEffect)(()=>{Ct.current.instance&&ar&&Gt.editor.setTheme(Pe)},[Pe,ar]),(0,b.useEffect)(()=>{let jn=Ct.current.instance;pt.current=je,jn&&ar&&(jn.updateOptions(Zt({},je)),setTimeout(()=>{jn.getModel().updateOptions(Zt({},je))},200))},[JSON.stringify(je),ar]),(0,b.useEffect)(()=>{let jn=Ct.current.instance;jn&&ar&&jn.layout()},[un,De,ar]);const[Ur,aa]=(0,b.useState)(Se(un)),[Hr,pa]=(0,b.useState)(Se(De)),ea=Tn(Zt({},Te),{width:Ur,height:Hr,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:vn,style:ea,onFocus:()=>{Dt&&On()}},$t&&b.createElement(Nt.CopyToClipboard,{text:he,onCopy:()=>$e.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(nt.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function En({width:Ht="100%",height:gn="100%",original:un,modified:De,language:he,options:ce={}}){const Te=(0,b.useRef)(),[je,ge]=(0,b.useState)(null);function Pe(yt){let Dt;return Te.current&&(Dt=new me.Z(Pt=>{for(let Wt of Pt)(Wt.target.offsetHeight>0||Wt.target.offsetWidth>0)&&yt.layout()}),Dt.observe(Te.current)),Dt}(0,b.useEffect)(()=>(Te.current&&Promise.all([y.e(8909),y.e(9404)]).then(y.bind(y,2550)).then(yt=>{Gt=yt;const Dt=Gt.editor.createDiffEditor(Te.current,Tn(Zt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ce),{wordWrap:!0}));ge(Dt);let Pt=Pe(Dt);return()=>{Dt.dispose();const Wt=Dt.getModel();Wt&&Wt.dispose(),Pt.unobserve(Te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{je&&je.setModel({original:Gt.editor.createModel(un,he),modified:Gt.editor.createModel(De,he)})},[un,De,he,je]);const ct=Se(Ht),$t=Se(gn),gt={width:ct,height:$t};return b.createElement("div",{className:"my-diff-editor",ref:Te,style:gt})}},79006:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return me}});var b=y(59301);function me(le,pe){const be=(0,b.useRef)();(0,b.useEffect)(()=>{be.current=le}),(0,b.useEffect)(()=>{function fe(){be.current()}if(pe!==null){let we=setInterval(fe,pe);return()=>clearInterval(we)}},[pe])}},25549:function(Ce,ae,y){"use strict";y.r(ae),y.d(ae,{default:function(){return Fr}});var b=y(59301),me=y(6767),le=y(94968),pe=y(62957),be=y(25399),fe=y(29787),we=y(75727),Oe=y(7939),Re=y(37568),xe=y(44283),Ge={flex_box_center:"flex_box_center___tP7O7",flex_space_between:"flex_space_between___DzPut",flex_box_vertical_center:"flex_box_vertical_center___lvMeU",flex_box_center_end:"flex_box_center_end___AEVBm",flex_box_column:"flex_box_column___CakhE",wrap:"wrap___EF2Mg",show_button:"show_button___iz0Ga",show_button_icon:"show_button_icon___iNp_E",left:"left___EXwxP",leftheader:"leftheader___V5S1y",close_ai:"close_ai___eHxuv",leftcontent:"leftcontent___lFc7i",leftcontentright:"leftcontentright___GsuUS",liaotian_files:"liaotian_files___QnDUu",liaotian_file:"liaotian_file___dQ703",fileName:"fileName___cjuxg",fileDelred:"fileDelred___nGLZO",fileDel:"fileDel___tgTrx",leftcontentleft:"leftcontentleft___U6nEw",letitle:"letitle___Pb89J",lecont:"lecont___VJ9Uk",left_step:"left_step___fEbWU",left_step_item:"left_step_item___idu68",stepNum:"stepNum___eFutj",item_title:"item_title___jSxBN",item_status:"item_status___q1inY",practice:"practice___QnJoR",inputTop:"inputTop___xG6Ir",dropdown:"dropdown___U6r2x",inputWrap:"inputWrap___GPfQj",action:"action___NU3v3",btnWrap:"btnWrap___gELWd",btn:"btn___uT9kw",btnActive:"btnActive___WyhNu",btnDisabled:"btnDisabled___YlRSu",uploadBtn:"uploadBtn___mcZ1N",sendBtn:"sendBtn___RYtg9",sendBtnDisabled:"sendBtnDisabled___wCYSg",cancelBtn:"cancelBtn___FIY1n",files:"files___gYUIb",left_data:"left_data___PppxQ",right_data:"right_data___yWB32",file:"file___mAxSR",right:"right___CTfSa",right_header:"right_header___w06pV",right_header_title:"right_header_title___GpvW2",button_list:"button_list___gZxzJ",button_left:"button_left___MtoEX",button_right:"button_right___a8DQX",right_step:"right_step___J31m3",step_item:"step_item___mjRBJ",stream_header:"stream_header___W8pxs",stream_header_title:"stream_header_title___ShG5p",stream_tootip:"stream_tootip___IvO6Z",tootip_text:"tootip_text___lvbXo",loadingPic:"loadingPic___cEOTx",dots:"dots___cYjHi"},Fe=y(14185),At=y(76406),at={container:"container___esDWu",katex:"katex____ln1S",liWrap:"liWrap___oniVY",backBottom:"backBottom___qLjSm",imgBox:"imgBox___xQGaU"},tt=y(86204),Je=Object.defineProperty,We=(oe,z,te)=>z in oe?Je(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Ve=(oe,z,te)=>We(oe,typeof z!="symbol"?z+"":z,te),Ze=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});class Qe extends tt.EventEmitter{constructor(z,te){super(),Ve(this,"url"),Ve(this,"body"),Ve(this,"fullContent",""),Ve(this,"controller",null),this.url=z,this.body=te}startStream(){return Ze(this,null,function*(){this.controller=new AbortController;const{signal:z}=this.controller;try{const te=yield fetch(this.url,(0,At.Ec)({method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:z}));if(!te.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${te.status}`);const ue=te.headers.get("content-type");if(!ue)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ue.includes("application/json")){const Xe=yield te.json();this.emit("error",Xe);return}if(!ue.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const Ee=te.body.getReader(),Me=new TextDecoder("utf-8");for(;;){const{done:Xe,value:lt}=yield Ee.read();if(Xe)break;const zt=Me.decode(lt,{stream:!0}).split(` +`);for(const sn of zt)if(sn.startsWith("data:")){const An=sn.slice(5).trim();if(An==="[DONE]")break;try{const Fn=JSON.parse(An);Fn.data&&this.handleData(Fn.data)}catch(Fn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Fn)}}}this.emit("done",this.fullContent)}catch(te){te.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",te.message)}})}handleData(z){z.content&&(this.fullContent+=z.content,this.emit("data",{chunk:z,full:this.fullContent}))}cancelRequest(){var z;(z=this.controller)==null||z.abort()}}var ze=Qe,_e=y(24342),$e=y(66328),nt=y(84821),bt=y(18369),it=y(56102),Nt={answer:"answer___JC571",imgWrap:"imgWrap___QTKQP",codeCopy:"codeCopy___ph6sc"},vt=y(75786),dt=y(40797),It=y(91378);class St extends Error{constructor(z,te){var ue="KaTeX parse error: "+z,Ee,Me,Xe=te&&te.loc;if(Xe&&Xe.start<=Xe.end){var lt=Xe.lexer.input;Ee=Xe.start,Me=Xe.end,Ee===lt.length?ue+=" at end of input: ":ue+=" at position "+(Ee+1)+": ";var ht=lt.slice(Ee,Me).replace(/[^]/g,"$&\u0332"),zt;Ee>15?zt="\u2026"+lt.slice(Ee-15,Ee):zt=lt.slice(0,Ee);var sn;Me+15oe.replace(qe,"-$1").toLowerCase(),Rt={"&":"&",">":">","<":"<",'"':""","'":"'"},Zt=/[&><"']/g,Tn=oe=>String(oe).replace(Zt,z=>Rt[z]),Tt=oe=>oe.type==="ordgroup"||oe.type==="color"?oe.body.length===1?Tt(oe.body[0]):oe:oe.type==="font"?Tt(oe.body):oe,Ye=new Set(["mathord","textord","atom"]),Se=oe=>Ye.has(Tt(oe).type),Qt=oe=>{var z=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(oe);return z?z[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(z[1])?null:z[1].toLowerCase():"_relative"},on={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:oe=>"#"+oe},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(oe,z)=>(z.push(oe),z)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:oe=>Math.max(0,oe),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:oe=>Math.max(0,oe),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:oe=>Math.max(0,oe),cli:"-e, --max-expand ",cliProcessor:oe=>oe==="Infinity"?1/0:parseInt(oe)},globalGroup:{type:"boolean",cli:!1}};function st(oe){if("default"in oe)return oe.default;var z=oe.type,te=Array.isArray(z)?z[0]:z;if(typeof te!="string")return te.enum[0];switch(te){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Ut{constructor(z){z===void 0&&(z={}),z=z||{};for(var te of Object.keys(on)){var ue=on[te],Ee=z[te];this[te]=Ee!==void 0?ue.processor?ue.processor(Ee):Ee:st(ue)}}reportNonstrict(z,te,ue){var Ee=this.strict;if(typeof Ee=="function"&&(Ee=Ee(z,te,ue)),!(!Ee||Ee==="ignore")){if(Ee===!0||Ee==="error")throw new St("LaTeX-incompatible input and strict mode is set to 'error': "+(te+" ["+z+"]"),ue);Ee==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(te+" ["+z+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ee+"': "+te+" ["+z+"]"))}}useStrictBehavior(z,te,ue){var Ee=this.strict;if(typeof Ee=="function")try{Ee=Ee(z,te,ue)}catch(Me){Ee="error"}return!Ee||Ee==="ignore"?!1:Ee===!0||Ee==="error"?!0:Ee==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(te+" ["+z+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ee+"': "+te+" ["+z+"]")),!1)}isTrusted(z){if("url"in z&&z.url&&!z.protocol){var te=Qt(z.url);if(te==null)return!1;z.protocol=te}var ue=typeof this.trust=="function"?this.trust(z):this.trust;return!!ue}}class Gt{constructor(z,te,ue){this.id=z,this.size=te,this.cramped=ue}sup(){return ce[Te[this.id]]}sub(){return ce[je[this.id]]}fracNum(){return ce[ge[this.id]]}fracDen(){return ce[Pe[this.id]]}cramp(){return ce[ct[this.id]]}text(){return ce[$t[this.id]]}isTight(){return this.size>=2}}var On=0,ft=1,En=2,Ht=3,gn=4,un=5,De=6,he=7,ce=[new Gt(On,0,!1),new Gt(ft,0,!0),new Gt(En,1,!1),new Gt(Ht,1,!0),new Gt(gn,2,!1),new Gt(un,2,!0),new Gt(De,3,!1),new Gt(he,3,!0)],Te=[gn,un,gn,un,De,he,De,he],je=[un,un,un,un,he,he,he,he],ge=[En,Ht,gn,un,De,he,De,he],Pe=[Ht,Ht,un,un,he,he,he,he],ct=[ft,ft,Ht,Ht,un,un,he,he],$t=[On,ft,En,Ht,En,Ht,En,Ht],gt={DISPLAY:ce[On],TEXT:ce[En],SCRIPT:ce[gn],SCRIPTSCRIPT:ce[De]},yt=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Dt(oe){for(var z=0;z=Ee[0]&&oe<=Ee[1])return te.name}return null}var Pt=[];yt.forEach(oe=>oe.blocks.forEach(z=>Pt.push(...z)));function Wt(oe){for(var z=0;z=Pt[z]&&oe<=Pt[z+1])return!0;return!1}var pn=80,fn=function(z,te){return"M95,"+(622+z+te)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -958,7 +958,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+z)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},Dn=function(z,te){return"M263,"+(601+z+te)+`c0.7,0,18,39.7,52,119 +M`+(834+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},Mt=function(z,te){return"M263,"+(601+z+te)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+z/2.084+" -"+z+` @@ -968,7 +968,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},Cn=function(z,te){return"M983 "+(10+z+te)+` +M`+(1001+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},Ln=function(z,te){return"M983 "+(10+z+te)+` l`+z/3.13+" -"+z+` c4,-6.7,10,-10,18,-10 H400000v`+(40+z)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 @@ -977,7 +977,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},sn=function(z,te){return"M424,"+(2398+z+te)+` +M`+(1001+z)+" "+te+"h400000v"+(40+z)+"h-400000z"},kn=function(z,te){return"M424,"+(2398+z+te)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -987,18 +987,18 @@ v`+(40+z)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+z)+" "+te+` -h400000v`+(40+z)+"h-400000z"},An=function(z,te){return"M473,"+(2713+z+te)+` +h400000v`+(40+z)+"h-400000z"},wn=function(z,te){return"M473,"+(2713+z+te)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+z/5.298+" -"+z+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+z)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+z)+" "+te+"h400000v"+(40+z)+"H1017.7z"},xn=function(z){var te=z/2;return"M400000 "+z+" H0 L"+te+" 0 l65 45 L145 "+(z-80)+" H400000z"},Lt=function(z,te,ue){var Se=ue-54-te-z;return"M702 "+(z+te)+"H400000"+(40+z)+` -H742v`+Se+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 +606zM`+(1001+z)+" "+te+"h400000v"+(40+z)+"H1017.7z"},ln=function(z){var te=z/2;return"M400000 "+z+" H0 L"+te+" 0 l65 45 L145 "+(z-80)+" H400000z"},In=function(z,te,ue){var Ee=ue-54-te-z;return"M702 "+(z+te)+"H400000"+(40+z)+` +H742v`+Ee+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+te+"H400000v"+(40+z)+"H742z"},qt=function(z,te,ue){te=1e3*te;var Se="";switch(z){case"sqrtMain":Se=Mn(te,Bt);break;case"sqrtSize1":Se=Dn(te,Bt);break;case"sqrtSize2":Se=Cn(te,Bt);break;case"sqrtSize3":Se=sn(te,Bt);break;case"sqrtSize4":Se=An(te,Bt);break;case"sqrtTall":Se=Lt(te,Bt,ue)}return Se},zt=function(z,te){switch(z){case"\u239C":return"M291 0 H417 V"+te+" H291z M291 0 H417 V"+te+" H291z";case"\u2223":return"M145 0 H188 V"+te+" H145z M145 0 H188 V"+te+" H145z";case"\u2225":return"M145 0 H188 V"+te+" H145z M145 0 H188 V"+te+" H145z"+("M367 0 H410 V"+te+" H367z M367 0 H410 V"+te+" H367z");case"\u239F":return"M457 0 H583 V"+te+" H457z M457 0 H583 V"+te+" H457z";case"\u23A2":return"M319 0 H403 V"+te+" H319z M319 0 H403 V"+te+" H319z";case"\u23A5":return"M263 0 H347 V"+te+" H263z M263 0 H347 V"+te+" H263z";case"\u23AA":return"M384 0 H504 V"+te+" H384z M384 0 H504 V"+te+" H384z";case"\u23D0":return"M312 0 H355 V"+te+" H312z M312 0 H355 V"+te+" H312z";case"\u2016":return"M257 0 H300 V"+te+" H257z M257 0 H300 V"+te+" H257z"+("M478 0 H521 V"+te+" H478z M478 0 H521 V"+te+" H478z");default:return""}},bn={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+te+"H400000v"+(40+z)+"H742z"},xn=function(z,te,ue){te=1e3*te;var Ee="";switch(z){case"sqrtMain":Ee=fn(te,pn);break;case"sqrtSize1":Ee=Mt(te,pn);break;case"sqrtSize2":Ee=Ln(te,pn);break;case"sqrtSize3":Ee=kn(te,pn);break;case"sqrtSize4":Ee=wn(te,pn);break;case"sqrtTall":Ee=In(te,pn,ue)}return Ee},kt=function(z,te){switch(z){case"\u239C":return"M291 0 H417 V"+te+" H291z M291 0 H417 V"+te+" H291z";case"\u2223":return"M145 0 H188 V"+te+" H145z M145 0 H188 V"+te+" H145z";case"\u2225":return"M145 0 H188 V"+te+" H145z M145 0 H188 V"+te+" H145z"+("M367 0 H410 V"+te+" H367z M367 0 H410 V"+te+" H367z");case"\u239F":return"M457 0 H583 V"+te+" H457z M457 0 H583 V"+te+" H457z";case"\u23A2":return"M319 0 H403 V"+te+" H319z M319 0 H403 V"+te+" H319z";case"\u23A5":return"M263 0 H347 V"+te+" H263z M263 0 H347 V"+te+" H263z";case"\u23AA":return"M384 0 H504 V"+te+" H384z M384 0 H504 V"+te+" H384z";case"\u23D0":return"M312 0 H355 V"+te+" H312z M312 0 H355 V"+te+" H312z";case"\u2016":return"M257 0 H300 V"+te+" H257z M257 0 H300 V"+te+" H257z"+("M478 0 H521 V"+te+" H478z M478 0 H521 V"+te+" H478z");default:return""}},Yt={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -1173,7 +1173,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Et=function(z,te){switch(z){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+te+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Ft=function(z,te){switch(z){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+te+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+te+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+te+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+te+" v1759 h84z";case"vert":return"M145 15 v585 v"+te+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-te+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -1201,25 +1201,25 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(te+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class ft{constructor(z){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=z,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(z){return this.classes.includes(z)}toNode(){for(var z=document.createDocumentFragment(),te=0;tete.toText();return this.children.map(z).join("")}}var de={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},wn={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Un={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function mn(oe,z){de[oe]=z}function Er(oe,z,te){if(!de[z])throw new Error("Font metrics not found for font: "+z+".");var ue=oe.charCodeAt(0),Se=de[z][ue];if(!Se&&oe[0]in Un&&(ue=Un[oe[0]].charCodeAt(0),Se=de[z][ue]),!Se&&te==="text"&&dn(ue)&&(Se=de[z][77]),Se)return{depth:Se[0],height:Se[1],italic:Se[2],skew:Se[3],width:Se[4]}}var Sr={};function or(oe){var z;if(oe>=5?z=0:oe>=3?z=1:z=2,!Sr[z]){var te=Sr[z]={cssEmPerMu:wn.quad[z]/18};for(var ue in wn)wn.hasOwnProperty(ue)&&(te[ue]=wn[ue][z])}return Sr[z]}var wr=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],St=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Kn=function(z,te){return te.size<2?z:wr[z-1][te.size-1]};class ir{constructor(z){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=z.style,this.color=z.color,this.size=z.size||ir.BASESIZE,this.textSize=z.textSize||this.size,this.phantom=!!z.phantom,this.font=z.font||"",this.fontFamily=z.fontFamily||"",this.fontWeight=z.fontWeight||"",this.fontShape=z.fontShape||"",this.sizeMultiplier=St[this.size-1],this.maxSize=z.maxSize,this.minRuleThickness=z.minRuleThickness,this._fontMetrics=void 0}extend(z){var te={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var ue in z)z.hasOwnProperty(ue)&&(te[ue]=z[ue]);return new ir(te)}havingStyle(z){return this.style===z?this:this.extend({style:z,size:Kn(this.textSize,z)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(z){return this.size===z&&this.textSize===z?this:this.extend({style:this.style.text(),size:z,textSize:z,sizeMultiplier:St[z-1]})}havingBaseStyle(z){z=z||this.style.text();var te=Kn(ir.BASESIZE,z);return this.size===te&&this.textSize===ir.BASESIZE&&this.style===z?this:this.extend({style:z,size:te})}havingBaseSizing(){var z;switch(this.style.id){case 4:case 5:z=3;break;case 6:case 7:z=1;break;default:z=6}return this.extend({style:this.style.text(),size:z})}withColor(z){return this.extend({color:z})}withPhantom(){return this.extend({phantom:!0})}withFont(z){return this.extend({font:z})}withTextFontFamily(z){return this.extend({fontFamily:z,font:""})}withTextFontWeight(z){return this.extend({fontWeight:z,font:""})}withTextFontShape(z){return this.extend({fontShape:z,font:""})}sizingClasses(z){return z.size!==this.size?["sizing","reset-size"+z.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ir.BASESIZE?["sizing","reset-size"+this.size,"size"+ir.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=or(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ir.BASESIZE=6;var br={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},qn={ex:!0,em:!0,mu:!0},Ir=function(z){return typeof z!="string"&&(z=z.unit),z in br||z in qn||z==="ex"},sr=function(z,te){var ue;if(z.unit in br)ue=br[z.unit]/te.fontMetrics().ptPerEm/te.sizeMultiplier;else if(z.unit==="mu")ue=te.fontMetrics().cssEmPerMu;else{var Se;if(te.style.isTight()?Se=te.havingStyle(te.style.text()):Se=te,z.unit==="ex")ue=Se.fontMetrics().xHeight;else if(z.unit==="em")ue=Se.fontMetrics().quad;else throw new Rt("Invalid unit: '"+z.unit+"'");Se!==te&&(ue*=Se.sizeMultiplier/te.sizeMultiplier)}return Math.min(z.number*ue,te.maxSize)},jn=function(z){return+z.toFixed(4)+"em"},$r=function(z){return z.filter(te=>te).join(" ")},Jr=function(z,te,ue){if(this.classes=z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ue||{},te){te.style.isTight()&&this.classes.push("mtight");var Se=te.getColor();Se&&(this.style.color=Se)}},Gr=function(z){var te=document.createElement(z);te.className=$r(this.classes);for(var ue in this.style)this.style.hasOwnProperty(ue)&&(te.style[ue]=this.style[ue]);for(var Se in this.attributes)this.attributes.hasOwnProperty(Se)&&te.setAttribute(Se,this.attributes[Se]);for(var Le=0;Le/=\x00-\x1f]/,Hr=function(z){var te="<"+z;this.classes.length&&(te+=' class="'+$e($r(this.classes))+'"');var ue="";for(var Se in this.style)this.style.hasOwnProperty(Se)&&(ue+=Kt(Se)+":"+this.style[Se]+";");ue&&(te+=' style="'+$e(ue)+'"');for(var Le in this.attributes)if(this.attributes.hasOwnProperty(Le)){if(la.test(Le))throw new Rt("Invalid attribute name '"+Le+"'");te+=" "+Le+'="'+$e(this.attributes[Le])+'"'}te+=">";for(var qe=0;qe",te};class fa{constructor(z,te,ue,Se){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Jr.call(this,z,ue,Se),this.children=te||[]}setAttribute(z,te){this.attributes[z]=te}hasClass(z){return this.classes.includes(z)}toNode(){return Gr.call(this,"span")}toMarkup(){return Hr.call(this,"span")}}class Yr{constructor(z,te,ue,Se){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Jr.call(this,te,Se),this.children=ue||[],this.setAttribute("href",z)}setAttribute(z,te){this.attributes[z]=te}hasClass(z){return this.classes.includes(z)}toNode(){return Gr.call(this,"a")}toMarkup(){return Hr.call(this,"a")}}class Wn{constructor(z,te,ue){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=te,this.src=z,this.classes=["mord"],this.style=ue}hasClass(z){return this.classes.includes(z)}toNode(){var z=document.createElement("img");z.src=this.src,z.alt=this.alt,z.className="mord";for(var te in this.style)this.style.hasOwnProperty(te)&&(z.style[te]=this.style[te]);return z}toMarkup(){var z=''+$e(this.alt)+'0&&(te=document.createElement("span"),te.style.marginRight=jn(this.italic)),this.classes.length>0&&(te=te||document.createElement("span"),te.className=$r(this.classes));for(var ue in this.style)this.style.hasOwnProperty(ue)&&(te=te||document.createElement("span"),te.style[ue]=this.style[ue]);return te?(te.appendChild(z),te):z}toMarkup(){var z=!1,te="0&&(ue+="margin-right:"+this.italic+"em;");for(var Se in this.style)this.style.hasOwnProperty(Se)&&(ue+=Kt(Se)+":"+this.style[Se]+";");ue&&(z=!0,te+=' style="'+$e(ue)+'"');var Le=$e(this.text);return z?(te+=">",te+=Le,te+="",te):Le}}class ea{constructor(z,te){this.children=void 0,this.attributes=void 0,this.children=z||[],this.attributes=te||{}}toNode(){var z="http://www.w3.org/2000/svg",te=document.createElementNS(z,"svg");for(var ue in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ue)&&te.setAttribute(ue,this.attributes[ue]);for(var Se=0;Se':''}}class pn{constructor(z){this.attributes=void 0,this.attributes=z||{}}toNode(){var z="http://www.w3.org/2000/svg",te=document.createElementNS(z,"line");for(var ue in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ue)&&te.setAttribute(ue,this.attributes[ue]);return te}toMarkup(){var z=" but got "+String(oe)+".")}var Mt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},lt={math:{},text:{}};function ve(oe,z,te,ue,Se,Le){lt[oe][Se]={font:z,group:te,replace:ue},Le&&ue&&(lt[oe][ue]=lt[oe][Se])}var Ie="math",Ft="text",Pe="main",Ye="ams",Xt="accent-token",Wt="bin",Xn="close",Qn="inner",Pn="mathord",Nr="op-token",gn="open",an="punct",pt="rel",kn="spacing",Dt="textord";ve(Ie,Pe,pt,"\u2261","\\equiv",!0),ve(Ie,Pe,pt,"\u227A","\\prec",!0),ve(Ie,Pe,pt,"\u227B","\\succ",!0),ve(Ie,Pe,pt,"\u223C","\\sim",!0),ve(Ie,Pe,pt,"\u22A5","\\perp"),ve(Ie,Pe,pt,"\u2AAF","\\preceq",!0),ve(Ie,Pe,pt,"\u2AB0","\\succeq",!0),ve(Ie,Pe,pt,"\u2243","\\simeq",!0),ve(Ie,Pe,pt,"\u2223","\\mid",!0),ve(Ie,Pe,pt,"\u226A","\\ll",!0),ve(Ie,Pe,pt,"\u226B","\\gg",!0),ve(Ie,Pe,pt,"\u224D","\\asymp",!0),ve(Ie,Pe,pt,"\u2225","\\parallel"),ve(Ie,Pe,pt,"\u22C8","\\bowtie",!0),ve(Ie,Pe,pt,"\u2323","\\smile",!0),ve(Ie,Pe,pt,"\u2291","\\sqsubseteq",!0),ve(Ie,Pe,pt,"\u2292","\\sqsupseteq",!0),ve(Ie,Pe,pt,"\u2250","\\doteq",!0),ve(Ie,Pe,pt,"\u2322","\\frown",!0),ve(Ie,Pe,pt,"\u220B","\\ni",!0),ve(Ie,Pe,pt,"\u221D","\\propto",!0),ve(Ie,Pe,pt,"\u22A2","\\vdash",!0),ve(Ie,Pe,pt,"\u22A3","\\dashv",!0),ve(Ie,Pe,pt,"\u220B","\\owns"),ve(Ie,Pe,an,".","\\ldotp"),ve(Ie,Pe,an,"\u22C5","\\cdotp"),ve(Ie,Pe,Dt,"#","\\#"),ve(Ft,Pe,Dt,"#","\\#"),ve(Ie,Pe,Dt,"&","\\&"),ve(Ft,Pe,Dt,"&","\\&"),ve(Ie,Pe,Dt,"\u2135","\\aleph",!0),ve(Ie,Pe,Dt,"\u2200","\\forall",!0),ve(Ie,Pe,Dt,"\u210F","\\hbar",!0),ve(Ie,Pe,Dt,"\u2203","\\exists",!0),ve(Ie,Pe,Dt,"\u2207","\\nabla",!0),ve(Ie,Pe,Dt,"\u266D","\\flat",!0),ve(Ie,Pe,Dt,"\u2113","\\ell",!0),ve(Ie,Pe,Dt,"\u266E","\\natural",!0),ve(Ie,Pe,Dt,"\u2663","\\clubsuit",!0),ve(Ie,Pe,Dt,"\u2118","\\wp",!0),ve(Ie,Pe,Dt,"\u266F","\\sharp",!0),ve(Ie,Pe,Dt,"\u2662","\\diamondsuit",!0),ve(Ie,Pe,Dt,"\u211C","\\Re",!0),ve(Ie,Pe,Dt,"\u2661","\\heartsuit",!0),ve(Ie,Pe,Dt,"\u2111","\\Im",!0),ve(Ie,Pe,Dt,"\u2660","\\spadesuit",!0),ve(Ie,Pe,Dt,"\xA7","\\S",!0),ve(Ft,Pe,Dt,"\xA7","\\S"),ve(Ie,Pe,Dt,"\xB6","\\P",!0),ve(Ft,Pe,Dt,"\xB6","\\P"),ve(Ie,Pe,Dt,"\u2020","\\dag"),ve(Ft,Pe,Dt,"\u2020","\\dag"),ve(Ft,Pe,Dt,"\u2020","\\textdagger"),ve(Ie,Pe,Dt,"\u2021","\\ddag"),ve(Ft,Pe,Dt,"\u2021","\\ddag"),ve(Ft,Pe,Dt,"\u2021","\\textdaggerdbl"),ve(Ie,Pe,Xn,"\u23B1","\\rmoustache",!0),ve(Ie,Pe,gn,"\u23B0","\\lmoustache",!0),ve(Ie,Pe,Xn,"\u27EF","\\rgroup",!0),ve(Ie,Pe,gn,"\u27EE","\\lgroup",!0),ve(Ie,Pe,Wt,"\u2213","\\mp",!0),ve(Ie,Pe,Wt,"\u2296","\\ominus",!0),ve(Ie,Pe,Wt,"\u228E","\\uplus",!0),ve(Ie,Pe,Wt,"\u2293","\\sqcap",!0),ve(Ie,Pe,Wt,"\u2217","\\ast"),ve(Ie,Pe,Wt,"\u2294","\\sqcup",!0),ve(Ie,Pe,Wt,"\u25EF","\\bigcirc",!0),ve(Ie,Pe,Wt,"\u2219","\\bullet",!0),ve(Ie,Pe,Wt,"\u2021","\\ddagger"),ve(Ie,Pe,Wt,"\u2240","\\wr",!0),ve(Ie,Pe,Wt,"\u2A3F","\\amalg"),ve(Ie,Pe,Wt,"&","\\And"),ve(Ie,Pe,pt,"\u27F5","\\longleftarrow",!0),ve(Ie,Pe,pt,"\u21D0","\\Leftarrow",!0),ve(Ie,Pe,pt,"\u27F8","\\Longleftarrow",!0),ve(Ie,Pe,pt,"\u27F6","\\longrightarrow",!0),ve(Ie,Pe,pt,"\u21D2","\\Rightarrow",!0),ve(Ie,Pe,pt,"\u27F9","\\Longrightarrow",!0),ve(Ie,Pe,pt,"\u2194","\\leftrightarrow",!0),ve(Ie,Pe,pt,"\u27F7","\\longleftrightarrow",!0),ve(Ie,Pe,pt,"\u21D4","\\Leftrightarrow",!0),ve(Ie,Pe,pt,"\u27FA","\\Longleftrightarrow",!0),ve(Ie,Pe,pt,"\u21A6","\\mapsto",!0),ve(Ie,Pe,pt,"\u27FC","\\longmapsto",!0),ve(Ie,Pe,pt,"\u2197","\\nearrow",!0),ve(Ie,Pe,pt,"\u21A9","\\hookleftarrow",!0),ve(Ie,Pe,pt,"\u21AA","\\hookrightarrow",!0),ve(Ie,Pe,pt,"\u2198","\\searrow",!0),ve(Ie,Pe,pt,"\u21BC","\\leftharpoonup",!0),ve(Ie,Pe,pt,"\u21C0","\\rightharpoonup",!0),ve(Ie,Pe,pt,"\u2199","\\swarrow",!0),ve(Ie,Pe,pt,"\u21BD","\\leftharpoondown",!0),ve(Ie,Pe,pt,"\u21C1","\\rightharpoondown",!0),ve(Ie,Pe,pt,"\u2196","\\nwarrow",!0),ve(Ie,Pe,pt,"\u21CC","\\rightleftharpoons",!0),ve(Ie,Ye,pt,"\u226E","\\nless",!0),ve(Ie,Ye,pt,"\uE010","\\@nleqslant"),ve(Ie,Ye,pt,"\uE011","\\@nleqq"),ve(Ie,Ye,pt,"\u2A87","\\lneq",!0),ve(Ie,Ye,pt,"\u2268","\\lneqq",!0),ve(Ie,Ye,pt,"\uE00C","\\@lvertneqq"),ve(Ie,Ye,pt,"\u22E6","\\lnsim",!0),ve(Ie,Ye,pt,"\u2A89","\\lnapprox",!0),ve(Ie,Ye,pt,"\u2280","\\nprec",!0),ve(Ie,Ye,pt,"\u22E0","\\npreceq",!0),ve(Ie,Ye,pt,"\u22E8","\\precnsim",!0),ve(Ie,Ye,pt,"\u2AB9","\\precnapprox",!0),ve(Ie,Ye,pt,"\u2241","\\nsim",!0),ve(Ie,Ye,pt,"\uE006","\\@nshortmid"),ve(Ie,Ye,pt,"\u2224","\\nmid",!0),ve(Ie,Ye,pt,"\u22AC","\\nvdash",!0),ve(Ie,Ye,pt,"\u22AD","\\nvDash",!0),ve(Ie,Ye,pt,"\u22EA","\\ntriangleleft"),ve(Ie,Ye,pt,"\u22EC","\\ntrianglelefteq",!0),ve(Ie,Ye,pt,"\u228A","\\subsetneq",!0),ve(Ie,Ye,pt,"\uE01A","\\@varsubsetneq"),ve(Ie,Ye,pt,"\u2ACB","\\subsetneqq",!0),ve(Ie,Ye,pt,"\uE017","\\@varsubsetneqq"),ve(Ie,Ye,pt,"\u226F","\\ngtr",!0),ve(Ie,Ye,pt,"\uE00F","\\@ngeqslant"),ve(Ie,Ye,pt,"\uE00E","\\@ngeqq"),ve(Ie,Ye,pt,"\u2A88","\\gneq",!0),ve(Ie,Ye,pt,"\u2269","\\gneqq",!0),ve(Ie,Ye,pt,"\uE00D","\\@gvertneqq"),ve(Ie,Ye,pt,"\u22E7","\\gnsim",!0),ve(Ie,Ye,pt,"\u2A8A","\\gnapprox",!0),ve(Ie,Ye,pt,"\u2281","\\nsucc",!0),ve(Ie,Ye,pt,"\u22E1","\\nsucceq",!0),ve(Ie,Ye,pt,"\u22E9","\\succnsim",!0),ve(Ie,Ye,pt,"\u2ABA","\\succnapprox",!0),ve(Ie,Ye,pt,"\u2246","\\ncong",!0),ve(Ie,Ye,pt,"\uE007","\\@nshortparallel"),ve(Ie,Ye,pt,"\u2226","\\nparallel",!0),ve(Ie,Ye,pt,"\u22AF","\\nVDash",!0),ve(Ie,Ye,pt,"\u22EB","\\ntriangleright"),ve(Ie,Ye,pt,"\u22ED","\\ntrianglerighteq",!0),ve(Ie,Ye,pt,"\uE018","\\@nsupseteqq"),ve(Ie,Ye,pt,"\u228B","\\supsetneq",!0),ve(Ie,Ye,pt,"\uE01B","\\@varsupsetneq"),ve(Ie,Ye,pt,"\u2ACC","\\supsetneqq",!0),ve(Ie,Ye,pt,"\uE019","\\@varsupsetneqq"),ve(Ie,Ye,pt,"\u22AE","\\nVdash",!0),ve(Ie,Ye,pt,"\u2AB5","\\precneqq",!0),ve(Ie,Ye,pt,"\u2AB6","\\succneqq",!0),ve(Ie,Ye,pt,"\uE016","\\@nsubseteqq"),ve(Ie,Ye,Wt,"\u22B4","\\unlhd"),ve(Ie,Ye,Wt,"\u22B5","\\unrhd"),ve(Ie,Ye,pt,"\u219A","\\nleftarrow",!0),ve(Ie,Ye,pt,"\u219B","\\nrightarrow",!0),ve(Ie,Ye,pt,"\u21CD","\\nLeftarrow",!0),ve(Ie,Ye,pt,"\u21CF","\\nRightarrow",!0),ve(Ie,Ye,pt,"\u21AE","\\nleftrightarrow",!0),ve(Ie,Ye,pt,"\u21CE","\\nLeftrightarrow",!0),ve(Ie,Ye,pt,"\u25B3","\\vartriangle"),ve(Ie,Ye,Dt,"\u210F","\\hslash"),ve(Ie,Ye,Dt,"\u25BD","\\triangledown"),ve(Ie,Ye,Dt,"\u25CA","\\lozenge"),ve(Ie,Ye,Dt,"\u24C8","\\circledS"),ve(Ie,Ye,Dt,"\xAE","\\circledR"),ve(Ft,Ye,Dt,"\xAE","\\circledR"),ve(Ie,Ye,Dt,"\u2221","\\measuredangle",!0),ve(Ie,Ye,Dt,"\u2204","\\nexists"),ve(Ie,Ye,Dt,"\u2127","\\mho"),ve(Ie,Ye,Dt,"\u2132","\\Finv",!0),ve(Ie,Ye,Dt,"\u2141","\\Game",!0),ve(Ie,Ye,Dt,"\u2035","\\backprime"),ve(Ie,Ye,Dt,"\u25B2","\\blacktriangle"),ve(Ie,Ye,Dt,"\u25BC","\\blacktriangledown"),ve(Ie,Ye,Dt,"\u25A0","\\blacksquare"),ve(Ie,Ye,Dt,"\u29EB","\\blacklozenge"),ve(Ie,Ye,Dt,"\u2605","\\bigstar"),ve(Ie,Ye,Dt,"\u2222","\\sphericalangle",!0),ve(Ie,Ye,Dt,"\u2201","\\complement",!0),ve(Ie,Ye,Dt,"\xF0","\\eth",!0),ve(Ft,Pe,Dt,"\xF0","\xF0"),ve(Ie,Ye,Dt,"\u2571","\\diagup"),ve(Ie,Ye,Dt,"\u2572","\\diagdown"),ve(Ie,Ye,Dt,"\u25A1","\\square"),ve(Ie,Ye,Dt,"\u25A1","\\Box"),ve(Ie,Ye,Dt,"\u25CA","\\Diamond"),ve(Ie,Ye,Dt,"\xA5","\\yen",!0),ve(Ft,Ye,Dt,"\xA5","\\yen",!0),ve(Ie,Ye,Dt,"\u2713","\\checkmark",!0),ve(Ft,Ye,Dt,"\u2713","\\checkmark"),ve(Ie,Ye,Dt,"\u2136","\\beth",!0),ve(Ie,Ye,Dt,"\u2138","\\daleth",!0),ve(Ie,Ye,Dt,"\u2137","\\gimel",!0),ve(Ie,Ye,Dt,"\u03DD","\\digamma",!0),ve(Ie,Ye,Dt,"\u03F0","\\varkappa"),ve(Ie,Ye,gn,"\u250C","\\@ulcorner",!0),ve(Ie,Ye,Xn,"\u2510","\\@urcorner",!0),ve(Ie,Ye,gn,"\u2514","\\@llcorner",!0),ve(Ie,Ye,Xn,"\u2518","\\@lrcorner",!0),ve(Ie,Ye,pt,"\u2266","\\leqq",!0),ve(Ie,Ye,pt,"\u2A7D","\\leqslant",!0),ve(Ie,Ye,pt,"\u2A95","\\eqslantless",!0),ve(Ie,Ye,pt,"\u2272","\\lesssim",!0),ve(Ie,Ye,pt,"\u2A85","\\lessapprox",!0),ve(Ie,Ye,pt,"\u224A","\\approxeq",!0),ve(Ie,Ye,Wt,"\u22D6","\\lessdot"),ve(Ie,Ye,pt,"\u22D8","\\lll",!0),ve(Ie,Ye,pt,"\u2276","\\lessgtr",!0),ve(Ie,Ye,pt,"\u22DA","\\lesseqgtr",!0),ve(Ie,Ye,pt,"\u2A8B","\\lesseqqgtr",!0),ve(Ie,Ye,pt,"\u2251","\\doteqdot"),ve(Ie,Ye,pt,"\u2253","\\risingdotseq",!0),ve(Ie,Ye,pt,"\u2252","\\fallingdotseq",!0),ve(Ie,Ye,pt,"\u223D","\\backsim",!0),ve(Ie,Ye,pt,"\u22CD","\\backsimeq",!0),ve(Ie,Ye,pt,"\u2AC5","\\subseteqq",!0),ve(Ie,Ye,pt,"\u22D0","\\Subset",!0),ve(Ie,Ye,pt,"\u228F","\\sqsubset",!0),ve(Ie,Ye,pt,"\u227C","\\preccurlyeq",!0),ve(Ie,Ye,pt,"\u22DE","\\curlyeqprec",!0),ve(Ie,Ye,pt,"\u227E","\\precsim",!0),ve(Ie,Ye,pt,"\u2AB7","\\precapprox",!0),ve(Ie,Ye,pt,"\u22B2","\\vartriangleleft"),ve(Ie,Ye,pt,"\u22B4","\\trianglelefteq"),ve(Ie,Ye,pt,"\u22A8","\\vDash",!0),ve(Ie,Ye,pt,"\u22AA","\\Vvdash",!0),ve(Ie,Ye,pt,"\u2323","\\smallsmile"),ve(Ie,Ye,pt,"\u2322","\\smallfrown"),ve(Ie,Ye,pt,"\u224F","\\bumpeq",!0),ve(Ie,Ye,pt,"\u224E","\\Bumpeq",!0),ve(Ie,Ye,pt,"\u2267","\\geqq",!0),ve(Ie,Ye,pt,"\u2A7E","\\geqslant",!0),ve(Ie,Ye,pt,"\u2A96","\\eqslantgtr",!0),ve(Ie,Ye,pt,"\u2273","\\gtrsim",!0),ve(Ie,Ye,pt,"\u2A86","\\gtrapprox",!0),ve(Ie,Ye,Wt,"\u22D7","\\gtrdot"),ve(Ie,Ye,pt,"\u22D9","\\ggg",!0),ve(Ie,Ye,pt,"\u2277","\\gtrless",!0),ve(Ie,Ye,pt,"\u22DB","\\gtreqless",!0),ve(Ie,Ye,pt,"\u2A8C","\\gtreqqless",!0),ve(Ie,Ye,pt,"\u2256","\\eqcirc",!0),ve(Ie,Ye,pt,"\u2257","\\circeq",!0),ve(Ie,Ye,pt,"\u225C","\\triangleq",!0),ve(Ie,Ye,pt,"\u223C","\\thicksim"),ve(Ie,Ye,pt,"\u2248","\\thickapprox"),ve(Ie,Ye,pt,"\u2AC6","\\supseteqq",!0),ve(Ie,Ye,pt,"\u22D1","\\Supset",!0),ve(Ie,Ye,pt,"\u2290","\\sqsupset",!0),ve(Ie,Ye,pt,"\u227D","\\succcurlyeq",!0),ve(Ie,Ye,pt,"\u22DF","\\curlyeqsucc",!0),ve(Ie,Ye,pt,"\u227F","\\succsim",!0),ve(Ie,Ye,pt,"\u2AB8","\\succapprox",!0),ve(Ie,Ye,pt,"\u22B3","\\vartriangleright"),ve(Ie,Ye,pt,"\u22B5","\\trianglerighteq"),ve(Ie,Ye,pt,"\u22A9","\\Vdash",!0),ve(Ie,Ye,pt,"\u2223","\\shortmid"),ve(Ie,Ye,pt,"\u2225","\\shortparallel"),ve(Ie,Ye,pt,"\u226C","\\between",!0),ve(Ie,Ye,pt,"\u22D4","\\pitchfork",!0),ve(Ie,Ye,pt,"\u221D","\\varpropto"),ve(Ie,Ye,pt,"\u25C0","\\blacktriangleleft"),ve(Ie,Ye,pt,"\u2234","\\therefore",!0),ve(Ie,Ye,pt,"\u220D","\\backepsilon"),ve(Ie,Ye,pt,"\u25B6","\\blacktriangleright"),ve(Ie,Ye,pt,"\u2235","\\because",!0),ve(Ie,Ye,pt,"\u22D8","\\llless"),ve(Ie,Ye,pt,"\u22D9","\\gggtr"),ve(Ie,Ye,Wt,"\u22B2","\\lhd"),ve(Ie,Ye,Wt,"\u22B3","\\rhd"),ve(Ie,Ye,pt,"\u2242","\\eqsim",!0),ve(Ie,Pe,pt,"\u22C8","\\Join"),ve(Ie,Ye,pt,"\u2251","\\Doteq",!0),ve(Ie,Ye,Wt,"\u2214","\\dotplus",!0),ve(Ie,Ye,Wt,"\u2216","\\smallsetminus"),ve(Ie,Ye,Wt,"\u22D2","\\Cap",!0),ve(Ie,Ye,Wt,"\u22D3","\\Cup",!0),ve(Ie,Ye,Wt,"\u2A5E","\\doublebarwedge",!0),ve(Ie,Ye,Wt,"\u229F","\\boxminus",!0),ve(Ie,Ye,Wt,"\u229E","\\boxplus",!0),ve(Ie,Ye,Wt,"\u22C7","\\divideontimes",!0),ve(Ie,Ye,Wt,"\u22C9","\\ltimes",!0),ve(Ie,Ye,Wt,"\u22CA","\\rtimes",!0),ve(Ie,Ye,Wt,"\u22CB","\\leftthreetimes",!0),ve(Ie,Ye,Wt,"\u22CC","\\rightthreetimes",!0),ve(Ie,Ye,Wt,"\u22CF","\\curlywedge",!0),ve(Ie,Ye,Wt,"\u22CE","\\curlyvee",!0),ve(Ie,Ye,Wt,"\u229D","\\circleddash",!0),ve(Ie,Ye,Wt,"\u229B","\\circledast",!0),ve(Ie,Ye,Wt,"\u22C5","\\centerdot"),ve(Ie,Ye,Wt,"\u22BA","\\intercal",!0),ve(Ie,Ye,Wt,"\u22D2","\\doublecap"),ve(Ie,Ye,Wt,"\u22D3","\\doublecup"),ve(Ie,Ye,Wt,"\u22A0","\\boxtimes",!0),ve(Ie,Ye,pt,"\u21E2","\\dashrightarrow",!0),ve(Ie,Ye,pt,"\u21E0","\\dashleftarrow",!0),ve(Ie,Ye,pt,"\u21C7","\\leftleftarrows",!0),ve(Ie,Ye,pt,"\u21C6","\\leftrightarrows",!0),ve(Ie,Ye,pt,"\u21DA","\\Lleftarrow",!0),ve(Ie,Ye,pt,"\u219E","\\twoheadleftarrow",!0),ve(Ie,Ye,pt,"\u21A2","\\leftarrowtail",!0),ve(Ie,Ye,pt,"\u21AB","\\looparrowleft",!0),ve(Ie,Ye,pt,"\u21CB","\\leftrightharpoons",!0),ve(Ie,Ye,pt,"\u21B6","\\curvearrowleft",!0),ve(Ie,Ye,pt,"\u21BA","\\circlearrowleft",!0),ve(Ie,Ye,pt,"\u21B0","\\Lsh",!0),ve(Ie,Ye,pt,"\u21C8","\\upuparrows",!0),ve(Ie,Ye,pt,"\u21BF","\\upharpoonleft",!0),ve(Ie,Ye,pt,"\u21C3","\\downharpoonleft",!0),ve(Ie,Pe,pt,"\u22B6","\\origof",!0),ve(Ie,Pe,pt,"\u22B7","\\imageof",!0),ve(Ie,Ye,pt,"\u22B8","\\multimap",!0),ve(Ie,Ye,pt,"\u21AD","\\leftrightsquigarrow",!0),ve(Ie,Ye,pt,"\u21C9","\\rightrightarrows",!0),ve(Ie,Ye,pt,"\u21C4","\\rightleftarrows",!0),ve(Ie,Ye,pt,"\u21A0","\\twoheadrightarrow",!0),ve(Ie,Ye,pt,"\u21A3","\\rightarrowtail",!0),ve(Ie,Ye,pt,"\u21AC","\\looparrowright",!0),ve(Ie,Ye,pt,"\u21B7","\\curvearrowright",!0),ve(Ie,Ye,pt,"\u21BB","\\circlearrowright",!0),ve(Ie,Ye,pt,"\u21B1","\\Rsh",!0),ve(Ie,Ye,pt,"\u21CA","\\downdownarrows",!0),ve(Ie,Ye,pt,"\u21BE","\\upharpoonright",!0),ve(Ie,Ye,pt,"\u21C2","\\downharpoonright",!0),ve(Ie,Ye,pt,"\u21DD","\\rightsquigarrow",!0),ve(Ie,Ye,pt,"\u21DD","\\leadsto"),ve(Ie,Ye,pt,"\u21DB","\\Rrightarrow",!0),ve(Ie,Ye,pt,"\u21BE","\\restriction"),ve(Ie,Pe,Dt,"\u2018","`"),ve(Ie,Pe,Dt,"$","\\$"),ve(Ft,Pe,Dt,"$","\\$"),ve(Ft,Pe,Dt,"$","\\textdollar"),ve(Ie,Pe,Dt,"%","\\%"),ve(Ft,Pe,Dt,"%","\\%"),ve(Ie,Pe,Dt,"_","\\_"),ve(Ft,Pe,Dt,"_","\\_"),ve(Ft,Pe,Dt,"_","\\textunderscore"),ve(Ie,Pe,Dt,"\u2220","\\angle",!0),ve(Ie,Pe,Dt,"\u221E","\\infty",!0),ve(Ie,Pe,Dt,"\u2032","\\prime"),ve(Ie,Pe,Dt,"\u25B3","\\triangle"),ve(Ie,Pe,Dt,"\u0393","\\Gamma",!0),ve(Ie,Pe,Dt,"\u0394","\\Delta",!0),ve(Ie,Pe,Dt,"\u0398","\\Theta",!0),ve(Ie,Pe,Dt,"\u039B","\\Lambda",!0),ve(Ie,Pe,Dt,"\u039E","\\Xi",!0),ve(Ie,Pe,Dt,"\u03A0","\\Pi",!0),ve(Ie,Pe,Dt,"\u03A3","\\Sigma",!0),ve(Ie,Pe,Dt,"\u03A5","\\Upsilon",!0),ve(Ie,Pe,Dt,"\u03A6","\\Phi",!0),ve(Ie,Pe,Dt,"\u03A8","\\Psi",!0),ve(Ie,Pe,Dt,"\u03A9","\\Omega",!0),ve(Ie,Pe,Dt,"A","\u0391"),ve(Ie,Pe,Dt,"B","\u0392"),ve(Ie,Pe,Dt,"E","\u0395"),ve(Ie,Pe,Dt,"Z","\u0396"),ve(Ie,Pe,Dt,"H","\u0397"),ve(Ie,Pe,Dt,"I","\u0399"),ve(Ie,Pe,Dt,"K","\u039A"),ve(Ie,Pe,Dt,"M","\u039C"),ve(Ie,Pe,Dt,"N","\u039D"),ve(Ie,Pe,Dt,"O","\u039F"),ve(Ie,Pe,Dt,"P","\u03A1"),ve(Ie,Pe,Dt,"T","\u03A4"),ve(Ie,Pe,Dt,"X","\u03A7"),ve(Ie,Pe,Dt,"\xAC","\\neg",!0),ve(Ie,Pe,Dt,"\xAC","\\lnot"),ve(Ie,Pe,Dt,"\u22A4","\\top"),ve(Ie,Pe,Dt,"\u22A5","\\bot"),ve(Ie,Pe,Dt,"\u2205","\\emptyset"),ve(Ie,Ye,Dt,"\u2205","\\varnothing"),ve(Ie,Pe,Pn,"\u03B1","\\alpha",!0),ve(Ie,Pe,Pn,"\u03B2","\\beta",!0),ve(Ie,Pe,Pn,"\u03B3","\\gamma",!0),ve(Ie,Pe,Pn,"\u03B4","\\delta",!0),ve(Ie,Pe,Pn,"\u03F5","\\epsilon",!0),ve(Ie,Pe,Pn,"\u03B6","\\zeta",!0),ve(Ie,Pe,Pn,"\u03B7","\\eta",!0),ve(Ie,Pe,Pn,"\u03B8","\\theta",!0),ve(Ie,Pe,Pn,"\u03B9","\\iota",!0),ve(Ie,Pe,Pn,"\u03BA","\\kappa",!0),ve(Ie,Pe,Pn,"\u03BB","\\lambda",!0),ve(Ie,Pe,Pn,"\u03BC","\\mu",!0),ve(Ie,Pe,Pn,"\u03BD","\\nu",!0),ve(Ie,Pe,Pn,"\u03BE","\\xi",!0),ve(Ie,Pe,Pn,"\u03BF","\\omicron",!0),ve(Ie,Pe,Pn,"\u03C0","\\pi",!0),ve(Ie,Pe,Pn,"\u03C1","\\rho",!0),ve(Ie,Pe,Pn,"\u03C3","\\sigma",!0),ve(Ie,Pe,Pn,"\u03C4","\\tau",!0),ve(Ie,Pe,Pn,"\u03C5","\\upsilon",!0),ve(Ie,Pe,Pn,"\u03D5","\\phi",!0),ve(Ie,Pe,Pn,"\u03C7","\\chi",!0),ve(Ie,Pe,Pn,"\u03C8","\\psi",!0),ve(Ie,Pe,Pn,"\u03C9","\\omega",!0),ve(Ie,Pe,Pn,"\u03B5","\\varepsilon",!0),ve(Ie,Pe,Pn,"\u03D1","\\vartheta",!0),ve(Ie,Pe,Pn,"\u03D6","\\varpi",!0),ve(Ie,Pe,Pn,"\u03F1","\\varrho",!0),ve(Ie,Pe,Pn,"\u03C2","\\varsigma",!0),ve(Ie,Pe,Pn,"\u03C6","\\varphi",!0),ve(Ie,Pe,Wt,"\u2217","*",!0),ve(Ie,Pe,Wt,"+","+"),ve(Ie,Pe,Wt,"\u2212","-",!0),ve(Ie,Pe,Wt,"\u22C5","\\cdot",!0),ve(Ie,Pe,Wt,"\u2218","\\circ",!0),ve(Ie,Pe,Wt,"\xF7","\\div",!0),ve(Ie,Pe,Wt,"\xB1","\\pm",!0),ve(Ie,Pe,Wt,"\xD7","\\times",!0),ve(Ie,Pe,Wt,"\u2229","\\cap",!0),ve(Ie,Pe,Wt,"\u222A","\\cup",!0),ve(Ie,Pe,Wt,"\u2216","\\setminus",!0),ve(Ie,Pe,Wt,"\u2227","\\land"),ve(Ie,Pe,Wt,"\u2228","\\lor"),ve(Ie,Pe,Wt,"\u2227","\\wedge",!0),ve(Ie,Pe,Wt,"\u2228","\\vee",!0),ve(Ie,Pe,Dt,"\u221A","\\surd"),ve(Ie,Pe,gn,"\u27E8","\\langle",!0),ve(Ie,Pe,gn,"\u2223","\\lvert"),ve(Ie,Pe,gn,"\u2225","\\lVert"),ve(Ie,Pe,Xn,"?","?"),ve(Ie,Pe,Xn,"!","!"),ve(Ie,Pe,Xn,"\u27E9","\\rangle",!0),ve(Ie,Pe,Xn,"\u2223","\\rvert"),ve(Ie,Pe,Xn,"\u2225","\\rVert"),ve(Ie,Pe,pt,"=","="),ve(Ie,Pe,pt,":",":"),ve(Ie,Pe,pt,"\u2248","\\approx",!0),ve(Ie,Pe,pt,"\u2245","\\cong",!0),ve(Ie,Pe,pt,"\u2265","\\ge"),ve(Ie,Pe,pt,"\u2265","\\geq",!0),ve(Ie,Pe,pt,"\u2190","\\gets"),ve(Ie,Pe,pt,">","\\gt",!0),ve(Ie,Pe,pt,"\u2208","\\in",!0),ve(Ie,Pe,pt,"\uE020","\\@not"),ve(Ie,Pe,pt,"\u2282","\\subset",!0),ve(Ie,Pe,pt,"\u2283","\\supset",!0),ve(Ie,Pe,pt,"\u2286","\\subseteq",!0),ve(Ie,Pe,pt,"\u2287","\\supseteq",!0),ve(Ie,Ye,pt,"\u2288","\\nsubseteq",!0),ve(Ie,Ye,pt,"\u2289","\\nsupseteq",!0),ve(Ie,Pe,pt,"\u22A8","\\models"),ve(Ie,Pe,pt,"\u2190","\\leftarrow",!0),ve(Ie,Pe,pt,"\u2264","\\le"),ve(Ie,Pe,pt,"\u2264","\\leq",!0),ve(Ie,Pe,pt,"<","\\lt",!0),ve(Ie,Pe,pt,"\u2192","\\rightarrow",!0),ve(Ie,Pe,pt,"\u2192","\\to"),ve(Ie,Ye,pt,"\u2271","\\ngeq",!0),ve(Ie,Ye,pt,"\u2270","\\nleq",!0),ve(Ie,Pe,kn,"\xA0","\\ "),ve(Ie,Pe,kn,"\xA0","\\space"),ve(Ie,Pe,kn,"\xA0","\\nobreakspace"),ve(Ft,Pe,kn,"\xA0","\\ "),ve(Ft,Pe,kn,"\xA0"," "),ve(Ft,Pe,kn,"\xA0","\\space"),ve(Ft,Pe,kn,"\xA0","\\nobreakspace"),ve(Ie,Pe,kn,null,"\\nobreak"),ve(Ie,Pe,kn,null,"\\allowbreak"),ve(Ie,Pe,an,",",","),ve(Ie,Pe,an,";",";"),ve(Ie,Ye,Wt,"\u22BC","\\barwedge",!0),ve(Ie,Ye,Wt,"\u22BB","\\veebar",!0),ve(Ie,Pe,Wt,"\u2299","\\odot",!0),ve(Ie,Pe,Wt,"\u2295","\\oplus",!0),ve(Ie,Pe,Wt,"\u2297","\\otimes",!0),ve(Ie,Pe,Dt,"\u2202","\\partial",!0),ve(Ie,Pe,Wt,"\u2298","\\oslash",!0),ve(Ie,Ye,Wt,"\u229A","\\circledcirc",!0),ve(Ie,Ye,Wt,"\u22A1","\\boxdot",!0),ve(Ie,Pe,Wt,"\u25B3","\\bigtriangleup"),ve(Ie,Pe,Wt,"\u25BD","\\bigtriangledown"),ve(Ie,Pe,Wt,"\u2020","\\dagger"),ve(Ie,Pe,Wt,"\u22C4","\\diamond"),ve(Ie,Pe,Wt,"\u22C6","\\star"),ve(Ie,Pe,Wt,"\u25C3","\\triangleleft"),ve(Ie,Pe,Wt,"\u25B9","\\triangleright"),ve(Ie,Pe,gn,"{","\\{"),ve(Ft,Pe,Dt,"{","\\{"),ve(Ft,Pe,Dt,"{","\\textbraceleft"),ve(Ie,Pe,Xn,"}","\\}"),ve(Ft,Pe,Dt,"}","\\}"),ve(Ft,Pe,Dt,"}","\\textbraceright"),ve(Ie,Pe,gn,"{","\\lbrace"),ve(Ie,Pe,Xn,"}","\\rbrace"),ve(Ie,Pe,gn,"[","\\lbrack",!0),ve(Ft,Pe,Dt,"[","\\lbrack",!0),ve(Ie,Pe,Xn,"]","\\rbrack",!0),ve(Ft,Pe,Dt,"]","\\rbrack",!0),ve(Ie,Pe,gn,"(","\\lparen",!0),ve(Ie,Pe,Xn,")","\\rparen",!0),ve(Ft,Pe,Dt,"<","\\textless",!0),ve(Ft,Pe,Dt,">","\\textgreater",!0),ve(Ie,Pe,gn,"\u230A","\\lfloor",!0),ve(Ie,Pe,Xn,"\u230B","\\rfloor",!0),ve(Ie,Pe,gn,"\u2308","\\lceil",!0),ve(Ie,Pe,Xn,"\u2309","\\rceil",!0),ve(Ie,Pe,Dt,"\\","\\backslash"),ve(Ie,Pe,Dt,"\u2223","|"),ve(Ie,Pe,Dt,"\u2223","\\vert"),ve(Ft,Pe,Dt,"|","\\textbar",!0),ve(Ie,Pe,Dt,"\u2225","\\|"),ve(Ie,Pe,Dt,"\u2225","\\Vert"),ve(Ft,Pe,Dt,"\u2225","\\textbardbl"),ve(Ft,Pe,Dt,"~","\\textasciitilde"),ve(Ft,Pe,Dt,"\\","\\textbackslash"),ve(Ft,Pe,Dt,"^","\\textasciicircum"),ve(Ie,Pe,pt,"\u2191","\\uparrow",!0),ve(Ie,Pe,pt,"\u21D1","\\Uparrow",!0),ve(Ie,Pe,pt,"\u2193","\\downarrow",!0),ve(Ie,Pe,pt,"\u21D3","\\Downarrow",!0),ve(Ie,Pe,pt,"\u2195","\\updownarrow",!0),ve(Ie,Pe,pt,"\u21D5","\\Updownarrow",!0),ve(Ie,Pe,Nr,"\u2210","\\coprod"),ve(Ie,Pe,Nr,"\u22C1","\\bigvee"),ve(Ie,Pe,Nr,"\u22C0","\\bigwedge"),ve(Ie,Pe,Nr,"\u2A04","\\biguplus"),ve(Ie,Pe,Nr,"\u22C2","\\bigcap"),ve(Ie,Pe,Nr,"\u22C3","\\bigcup"),ve(Ie,Pe,Nr,"\u222B","\\int"),ve(Ie,Pe,Nr,"\u222B","\\intop"),ve(Ie,Pe,Nr,"\u222C","\\iint"),ve(Ie,Pe,Nr,"\u222D","\\iiint"),ve(Ie,Pe,Nr,"\u220F","\\prod"),ve(Ie,Pe,Nr,"\u2211","\\sum"),ve(Ie,Pe,Nr,"\u2A02","\\bigotimes"),ve(Ie,Pe,Nr,"\u2A01","\\bigoplus"),ve(Ie,Pe,Nr,"\u2A00","\\bigodot"),ve(Ie,Pe,Nr,"\u222E","\\oint"),ve(Ie,Pe,Nr,"\u222F","\\oiint"),ve(Ie,Pe,Nr,"\u2230","\\oiiint"),ve(Ie,Pe,Nr,"\u2A06","\\bigsqcup"),ve(Ie,Pe,Nr,"\u222B","\\smallint"),ve(Ft,Pe,Qn,"\u2026","\\textellipsis"),ve(Ie,Pe,Qn,"\u2026","\\mathellipsis"),ve(Ft,Pe,Qn,"\u2026","\\ldots",!0),ve(Ie,Pe,Qn,"\u2026","\\ldots",!0),ve(Ie,Pe,Qn,"\u22EF","\\@cdots",!0),ve(Ie,Pe,Qn,"\u22F1","\\ddots",!0),ve(Ie,Pe,Dt,"\u22EE","\\varvdots"),ve(Ft,Pe,Dt,"\u22EE","\\varvdots"),ve(Ie,Pe,Xt,"\u02CA","\\acute"),ve(Ie,Pe,Xt,"\u02CB","\\grave"),ve(Ie,Pe,Xt,"\xA8","\\ddot"),ve(Ie,Pe,Xt,"~","\\tilde"),ve(Ie,Pe,Xt,"\u02C9","\\bar"),ve(Ie,Pe,Xt,"\u02D8","\\breve"),ve(Ie,Pe,Xt,"\u02C7","\\check"),ve(Ie,Pe,Xt,"^","\\hat"),ve(Ie,Pe,Xt,"\u20D7","\\vec"),ve(Ie,Pe,Xt,"\u02D9","\\dot"),ve(Ie,Pe,Xt,"\u02DA","\\mathring"),ve(Ie,Pe,Pn,"\uE131","\\@imath"),ve(Ie,Pe,Pn,"\uE237","\\@jmath"),ve(Ie,Pe,Dt,"\u0131","\u0131"),ve(Ie,Pe,Dt,"\u0237","\u0237"),ve(Ft,Pe,Dt,"\u0131","\\i",!0),ve(Ft,Pe,Dt,"\u0237","\\j",!0),ve(Ft,Pe,Dt,"\xDF","\\ss",!0),ve(Ft,Pe,Dt,"\xE6","\\ae",!0),ve(Ft,Pe,Dt,"\u0153","\\oe",!0),ve(Ft,Pe,Dt,"\xF8","\\o",!0),ve(Ft,Pe,Dt,"\xC6","\\AE",!0),ve(Ft,Pe,Dt,"\u0152","\\OE",!0),ve(Ft,Pe,Dt,"\xD8","\\O",!0),ve(Ft,Pe,Xt,"\u02CA","\\'"),ve(Ft,Pe,Xt,"\u02CB","\\`"),ve(Ft,Pe,Xt,"\u02C6","\\^"),ve(Ft,Pe,Xt,"\u02DC","\\~"),ve(Ft,Pe,Xt,"\u02C9","\\="),ve(Ft,Pe,Xt,"\u02D8","\\u"),ve(Ft,Pe,Xt,"\u02D9","\\."),ve(Ft,Pe,Xt,"\xB8","\\c"),ve(Ft,Pe,Xt,"\u02DA","\\r"),ve(Ft,Pe,Xt,"\u02C7","\\v"),ve(Ft,Pe,Xt,"\xA8",'\\"'),ve(Ft,Pe,Xt,"\u02DD","\\H"),ve(Ft,Pe,Xt,"\u25EF","\\textcircled");var nr={"--":!0,"---":!0,"``":!0,"''":!0};ve(Ft,Pe,Dt,"\u2013","--",!0),ve(Ft,Pe,Dt,"\u2013","\\textendash"),ve(Ft,Pe,Dt,"\u2014","---",!0),ve(Ft,Pe,Dt,"\u2014","\\textemdash"),ve(Ft,Pe,Dt,"\u2018","`",!0),ve(Ft,Pe,Dt,"\u2018","\\textquoteleft"),ve(Ft,Pe,Dt,"\u2019","'",!0),ve(Ft,Pe,Dt,"\u2019","\\textquoteright"),ve(Ft,Pe,Dt,"\u201C","``",!0),ve(Ft,Pe,Dt,"\u201C","\\textquotedblleft"),ve(Ft,Pe,Dt,"\u201D","''",!0),ve(Ft,Pe,Dt,"\u201D","\\textquotedblright"),ve(Ie,Pe,Dt,"\xB0","\\degree",!0),ve(Ft,Pe,Dt,"\xB0","\\degree"),ve(Ft,Pe,Dt,"\xB0","\\textdegree",!0),ve(Ie,Pe,Dt,"\xA3","\\pounds"),ve(Ie,Pe,Dt,"\xA3","\\mathsterling",!0),ve(Ft,Pe,Dt,"\xA3","\\pounds"),ve(Ft,Pe,Dt,"\xA3","\\textsterling",!0),ve(Ie,Ye,Dt,"\u2720","\\maltese"),ve(Ft,Ye,Dt,"\u2720","\\maltese");for(var Tr='0123456789/@."',pr=0;pr0)return kr(Le,Gt,Se,te,qe.concat(ln));if(dt){var Tn,_n;if(dt==="boldsymbol"){var Gn=Kr(Le,Se,te,qe,ue);Tn=Gn.fontName,_n=[Gn.fontClass]}else st?(Tn=Da[dt].fontName,_n=[dt]):(Tn=Ha(dt,te.fontWeight,te.fontShape),_n=[dt,te.fontWeight,te.fontShape]);if(ma(Le,Tn,Se).metrics)return kr(Le,Tn,Se,te,qe.concat(_n));if(nr.hasOwnProperty(Le)&&Tn.slice(0,10)==="Typewriter"){for(var ar=[],Yn=0;Yn{if($r(oe.classes)!==$r(z.classes)||oe.skew!==z.skew||oe.maxFontSize!==z.maxFontSize||oe.italic!==0&&oe.hasClass("mathnormal"))return!1;if(oe.classes.length===1){var te=oe.classes[0];if(te==="mbin"||te==="mord")return!1}for(var ue in oe.style)if(oe.style.hasOwnProperty(ue)&&oe.style[ue]!==z.style[ue])return!1;for(var Se in z.style)if(z.style.hasOwnProperty(Se)&&oe.style[Se]!==z.style[Se])return!1;return!0},fr=oe=>{for(var z=0;zte&&(te=qe.height),qe.depth>ue&&(ue=qe.depth),qe.maxFontSize>Se&&(Se=qe.maxFontSize)}z.height=te,z.depth=ue,z.maxFontSize=Se},Ln=function(z,te,ue,Se){var Le=new fa(z,te,ue,Se);return tr(Le),Le},jr=(oe,z,te,ue)=>new fa(oe,z,te,ue),lr=function(z,te,ue){var Se=Ln([z],[],te);return Se.height=Math.max(ue||te.fontMetrics().defaultRuleThickness,te.minRuleThickness),Se.style.borderBottomWidth=jn(Se.height),Se.maxFontSize=1,Se},rr=function(z,te,ue,Se){var Le=new Yr(z,te,ue,Se);return tr(Le),Le},yr=function(z){var te=new ft(z);return tr(te),te},Mr=function(z,te){return z instanceof ft?Ln([],[z],te):z},Ea=function(z){if(z.positionType==="individualShift"){for(var te=z.children,ue=[te[0]],Se=-te[0].shift-te[0].elem.depth,Le=Se,qe=1;qe{var te=Ln(["mspace"],[],z),ue=sr(oe,z);return te.style.marginRight=jn(ue),te},Ha=function(z,te,ue){var Se="";switch(z){case"amsrm":Se="AMS";break;case"textrm":Se="Main";break;case"textsf":Se="SansSerif";break;case"texttt":Se="Typewriter";break;default:Se=z}var Le;return te==="textbf"&&ue==="textit"?Le="BoldItalic":te==="textbf"?Le="Bold":te==="textit"?Le="Italic":Le="Regular",Se+"-"+Le},Da={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Na={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ua=function(z,te){var[ue,Se,Le]=Na[z],qe=new Jt(ue),st=new ea([qe],{width:jn(Se),height:jn(Le),style:"width:"+jn(Se),viewBox:"0 0 "+1e3*Se+" "+1e3*Le,preserveAspectRatio:"xMinYMin"}),dt=jr(["overlay"],[st],te);return dt.height=Le,dt.style.height=jn(Le),dt.style.width=jn(Se),dt},ga={number:3,unit:"mu"},Ma={number:4,unit:"mu"},Qa={number:5,unit:"mu"},Ri={mord:{mop:ga,mbin:Ma,mrel:Qa,minner:ga},mop:{mord:ga,mop:ga,mrel:Qa,minner:ga},mbin:{mord:Ma,mop:Ma,mopen:Ma,minner:Ma},mrel:{mord:Qa,mop:Qa,mopen:Qa,minner:Qa},mopen:{},mclose:{mop:ga,mbin:Ma,mrel:Qa,minner:ga},mpunct:{mord:ga,mop:ga,mrel:Qa,mopen:ga,mclose:ga,mpunct:ga,minner:ga},minner:{mord:ga,mop:ga,mbin:Ma,mrel:Qa,mopen:ga,mpunct:ga,minner:ga}},Oi={mord:{mop:ga},mop:{mord:ga,mop:ga},mbin:{},mrel:{},mopen:{},mclose:{mop:ga},mpunct:{},minner:{mop:ga}},ui={},ti={},ai={};function Or(oe){for(var{type:z,names:te,props:ue,handler:Se,htmlBuilder:Le,mathmlBuilder:qe}=oe,st={type:z,numArgs:ue.numArgs,argTypes:ue.argTypes,allowedInArgument:!!ue.allowedInArgument,allowedInText:!!ue.allowedInText,allowedInMath:ue.allowedInMath===void 0?!0:ue.allowedInMath,numOptionalArgs:ue.numOptionalArgs||0,infix:!!ue.infix,primitive:!!ue.primitive,handler:Se},dt=0;dt{var Cr=Yn.classes[0],Ar=ar.classes[0];Cr==="mbin"&&qa.has(Ar)?Yn.classes[0]="mord":Ar==="mbin"&&$a.has(Cr)&&(ar.classes[0]="mord")},{node:Tn},_n,Gn),wi(Le,(ar,Yn)=>{var Cr=Ti(Yn),Ar=Ti(ar),Br=Cr&&Ar?ar.hasClass("mtight")?Oi[Cr][Ar]:Ri[Cr][Ar]:null;if(Br)return Ca(Br,Gt)},{node:Tn},_n,Gn),Le},wi=function oe(z,te,ue,Se,Le){Se&&z.push(Se);for(var qe=0;qe_n=>{z.splice(Tn+1,0,_n),qe++})(qe)}Se&&z.pop()},Bi=function(z){return z instanceof ft||z instanceof Yr||z instanceof fa&&z.hasClass("enclosing")?z:null},Fi=function oe(z,te){var ue=Bi(z);if(ue){var Se=ue.children;if(Se.length){if(te==="right")return oe(Se[Se.length-1],"right");if(te==="left")return oe(Se[0],"left")}}return z},Ti=function(z,te){return z?(te&&(z=Fi(z,te)),Ja[z.classes[0]]||null):null},so=function(z,te){var ue=["nulldelimiter"].concat(z.baseSizingClasses());return Ln(te.concat(ue))},Va=function(z,te,ue){if(!z)return Ln();if(ti[z.type]){var Se=ti[z.type](z,te);if(ue&&te.size!==ue.size){Se=Ln(te.sizingClasses(ue),[Se],te);var Le=te.sizeMultiplier/ue.sizeMultiplier;Se.height*=Le,Se.depth*=Le}return Se}else throw new Rt("Got group of unknown type: '"+z.type+"'")};function Aa(oe,z){var te=Ln(["base"],oe,z),ue=Ln(["strut"]);return ue.style.height=jn(te.height+te.depth),te.depth&&(ue.style.verticalAlign=jn(-te.depth)),te.children.unshift(ue),te}function ja(oe,z){var te=null;oe.length===1&&oe[0].type==="tag"&&(te=oe[0].tag,oe=oe[0].body);var ue=Ia(oe,z,"root"),Se;ue.length===2&&ue[1].hasClass("tag")&&(Se=ue.pop());for(var Le=[],qe=[],st=0;st0&&(Le.push(Aa(qe,z)),qe=[]),Le.push(ue[st]));qe.length>0&&Le.push(Aa(qe,z));var Gt;te?(Gt=Aa(Ia(te,z,!0)),Gt.classes=["tag"],Le.push(Gt)):Se&&Le.push(Se);var ln=Ln(["katex-html"],Le);if(ln.setAttribute("aria-hidden","true"),Gt){var Tn=Gt.children[0];Tn.style.height=jn(ln.height+ln.depth),ln.depth&&(Tn.style.verticalAlign=jn(-ln.depth))}return ln}function Pa(oe){return new ft(oe)}class gr{constructor(z,te,ue){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=z,this.attributes={},this.children=te||[],this.classes=ue||[]}setAttribute(z,te){this.attributes[z]=te}getAttribute(z){return this.attributes[z]}toNode(){var z=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,te)&&z.setAttribute(te,this.attributes[te]);this.classes.length>0&&(z.className=$r(this.classes));for(var ue=0;ue0&&(z+=' class ="'+$e($r(this.classes))+'"'),z+=">";for(var ue=0;ue",z}toText(){return this.children.map(z=>z.toText()).join("")}}class Oa{constructor(z){this.text=void 0,this.text=z}toNode(){return document.createTextNode(this.text)}toMarkup(){return $e(this.toText())}toText(){return this.text}}class ii{constructor(z){this.width=void 0,this.character=void 0,this.width=z,z>=.05555&&z<=.05556?this.character="\u200A":z>=.1666&&z<=.1667?this.character="\u2009":z>=.2222&&z<=.2223?this.character="\u2005":z>=.2777&&z<=.2778?this.character="\u2005\u200A":z>=-.05556&&z<=-.05555?this.character="\u200A\u2063":z>=-.1667&&z<=-.1666?this.character="\u2009\u2063":z>=-.2223&&z<=-.2222?this.character="\u205F\u2063":z>=-.2778&&z<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var z=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return z.setAttribute("width",jn(this.width)),z}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Pi=new Set(["\\imath","\\jmath"]),Vi=new Set(["mrow","mtable"]),Ai=function(z,te,ue){return lt[te][z]&<[te][z].replace&&z.charCodeAt(0)!==55349&&!(nr.hasOwnProperty(z)&&ue&&(ue.fontFamily&&ue.fontFamily.slice(4,6)==="tt"||ue.font&&ue.font.slice(4,6)==="tt"))&&(z=lt[te][z].replace),new Oa(z)},Ui=function(z){return z.length===1?z[0]:new gr("mrow",z)},ho=function(z,te){if(te.fontFamily==="texttt")return"monospace";if(te.fontFamily==="textsf")return te.fontShape==="textit"&&te.fontWeight==="textbf"?"sans-serif-bold-italic":te.fontShape==="textit"?"sans-serif-italic":te.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(te.fontShape==="textit"&&te.fontWeight==="textbf")return"bold-italic";if(te.fontShape==="textit")return"italic";if(te.fontWeight==="textbf")return"bold";var ue=te.font;if(!ue||ue==="mathnormal")return null;var Se=z.mode;if(ue==="mathit")return"italic";if(ue==="boldsymbol")return z.type==="textord"?"bold":"bold-italic";if(ue==="mathbf")return"bold";if(ue==="mathbb")return"double-struck";if(ue==="mathsfit")return"sans-serif-italic";if(ue==="mathfrak")return"fraktur";if(ue==="mathscr"||ue==="mathcal")return"script";if(ue==="mathsf")return"sans-serif";if(ue==="mathtt")return"monospace";var Le=z.text;if(Pi.has(Le))return null;lt[Se][Le]&<[Se][Le].replace&&(Le=lt[Se][Le].replace);var qe=Da[ue].fontName;return Er(Le,qe,Se)?Da[ue].variant:null};function Ao(oe){if(!oe)return!1;if(oe.type==="mi"&&oe.children.length===1){var z=oe.children[0];return z instanceof Oa&&z.text==="."}else if(oe.type==="mo"&&oe.children.length===1&&oe.getAttribute("separator")==="true"&&oe.getAttribute("lspace")==="0em"&&oe.getAttribute("rspace")==="0em"){var te=oe.children[0];return te instanceof Oa&&te.text===","}else return!1}var ki=function(z,te,ue){if(z.length===1){var Se=vi(z[0],te);return ue&&Se instanceof gr&&Se.type==="mo"&&(Se.setAttribute("lspace","0em"),Se.setAttribute("rspace","0em")),[Se]}for(var Le=[],qe,st=0;st=1&&(qe.type==="mn"||Ao(qe))){var Gt=dt.children[0];Gt instanceof gr&&Gt.type==="mn"&&(Gt.children=[...qe.children,...Gt.children],Le.pop())}else if(qe.type==="mi"&&qe.children.length===1){var ln=qe.children[0];if(ln instanceof Oa&&ln.text==="\u0338"&&(dt.type==="mo"||dt.type==="mi"||dt.type==="mn")){var Tn=dt.children[0];Tn instanceof Oa&&Tn.text.length>0&&(Tn.text=Tn.text.slice(0,1)+"\u0338"+Tn.text.slice(1),Le.pop())}}}Le.push(dt),qe=dt}return Le},ro=function(z,te,ue){return Ui(ki(z,te,ue))},vi=function(z,te){if(!z)return new gr("mrow");if(ai[z.type]){var ue=ai[z.type](z,te);return ue}else throw new Rt("Got group of unknown type: '"+z.type+"'")};function Io(oe,z,te,ue,Se){var Le=ki(oe,te),qe;Le.length===1&&Le[0]instanceof gr&&Vi.has(Le[0].type)?qe=Le[0]:qe=new gr("mrow",Le);var st=new gr("annotation",[new Oa(z)]);st.setAttribute("encoding","application/x-tex");var dt=new gr("semantics",[qe,st]),Gt=new gr("math",[dt]);Gt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),ue&&Gt.setAttribute("display","block");var ln=Se?"katex":"katex-mathml";return Ln([ln],[Gt])}var fs=function(z){return new ir({style:z.displayMode?Ct.DISPLAY:Ct.TEXT,maxSize:z.maxSize,minRuleThickness:z.minRuleThickness})},Ys=function(z,te){if(te.displayMode){var ue=["katex-display"];te.leqno&&ue.push("leqno"),te.fleqn&&ue.push("fleqn"),z=Ln(ue,[z])}return z},Xs=function(z,te,ue){var Se=fs(ue),Le;if(ue.output==="mathml")return Io(z,te,Se,ue.displayMode,!0);if(ue.output==="html"){var qe=ja(z,Se);Le=Ln(["katex"],[qe])}else{var st=Io(z,te,Se,ue.displayMode,!1),dt=ja(z,Se);Le=Ln(["katex"],[st,dt])}return Ys(Le,ue)},No=function(z,te,ue){var Se=fs(ue),Le=ja(z,Se),qe=Ln(["katex"],[Le]);return Ys(qe,ue)},Hi={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},mo=function(z){var te=new gr("mo",[new Oa(Hi[z.replace(/^\\/,"")])]);return te.setAttribute("stretchy","true"),te},Qs={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},qs=new Set(["widehat","widecheck","widetilde","utilde"]),bs=function(z,te){function ue(){var st=4e5,dt=z.label.slice(1);if(qs.has(dt)){var Gt=z,ln=Gt.base.type==="ordgroup"?Gt.base.body.length:1,Tn,_n,Gn;if(ln>5)dt==="widehat"||dt==="widecheck"?(Tn=420,st=2364,Gn=.42,_n=dt+"4"):(Tn=312,st=2340,Gn=.34,_n="tilde4");else{var ar=[1,1,2,2,3,3][ln];dt==="widehat"||dt==="widecheck"?(st=[0,1062,2364,2364,2364][ar],Tn=[0,239,300,360,420][ar],Gn=[0,.24,.3,.3,.36,.42][ar],_n=dt+ar):(st=[0,600,1033,2339,2340][ar],Tn=[0,260,286,306,312][ar],Gn=[0,.26,.286,.3,.306,.34][ar],_n="tilde"+ar)}var Yn=new Jt(_n),Cr=new ea([Yn],{width:"100%",height:jn(Gn),viewBox:"0 0 "+st+" "+Tn,preserveAspectRatio:"none"});return{span:jr([],[Cr],te),minWidth:0,height:Gn}}else{var Ar=[],Br=Qs[dt],[Wr,aa,ba]=Br,na=ba/1e3,ka=Wr.length,Ba,Ga;if(ka===1){var _a=Br[3];Ba=["hide-tail"],Ga=[_a]}else if(ka===2)Ba=["halfarrow-left","halfarrow-right"],Ga=["xMinYMin","xMaxYMin"];else if(ka===3)Ba=["brace-left","brace-center","brace-right"],Ga=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+ka+" children.");for(var ei=0;ei0&&(Se.style.minWidth=jn(Le)),Se},Js=function(z,te,ue,Se,Le){var qe,st=z.height+z.depth+ue+Se;if(/fbox|color|angl/.test(te)){if(qe=Ln(["stretchy",te],[],Le),te==="fbox"){var dt=Le.color&&Le.getColor();dt&&(qe.style.borderColor=dt)}}else{var Gt=[];/^[bx]cancel$/.test(te)&&Gt.push(new pn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(te)&&Gt.push(new pn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ln=new ea(Gt,{width:"100%",height:jn(st)});qe=jr([],[ln],Le)}return qe.height=st,qe.style.height=jn(st),qe};function ni(oe,z){if(!oe||oe.type!==z)throw new Error("Expected node of type "+z+", but got "+(oe?"node of type "+oe.type:String(oe)));return oe}function ns(oe){var z=rs(oe);if(!z)throw new Error("Expected node of symbol group type, but got "+(oe?"node of type "+oe.type:String(oe)));return z}function rs(oe){return oe&&(oe.type==="atom"||rn.hasOwnProperty(oe.type))?oe:null}var $o=(oe,z)=>{var te,ue,Se;oe&&oe.type==="supsub"?(ue=ni(oe.base,"accent"),te=ue.base,oe.base=te,Se=tn(Va(oe,z)),oe.base=ue):(ue=ni(oe,"accent"),te=ue.base);var Le=Va(te,z.havingCrampedStyle()),qe=ue.isShifty&&on(te),st=0;if(qe){var dt=Ee(te),Gt=Va(dt,z.havingCrampedStyle());st=kt(Gt).skew}var ln=ue.label==="\\c",Tn=ln?Le.height+Le.depth:Math.min(Le.height,z.fontMetrics().xHeight),_n;if(ue.isStretchy)_n=bs(ue,z),_n=oa({positionType:"firstBaseline",children:[{type:"elem",elem:Le},{type:"elem",elem:_n,wrapperClasses:["svg-align"],wrapperStyle:st>0?{width:"calc(100% - "+jn(2*st)+")",marginLeft:jn(2*st)}:void 0}]});else{var Gn,ar;ue.label==="\\vec"?(Gn=Ua("vec",z),ar=Na.vec[1]):(Gn=Jn({mode:ue.mode,text:ue.label},z,"textord"),Gn=kt(Gn),Gn.italic=0,ar=Gn.width,ln&&(Tn+=Gn.depth)),_n=Ln(["accent-body"],[Gn]);var Yn=ue.label==="\\textcircled";Yn&&(_n.classes.push("accent-full"),Tn=Le.height);var Cr=st;Yn||(Cr-=ar/2),_n.style.left=jn(Cr),ue.label==="\\textcircled"&&(_n.style.top=".2em"),_n=oa({positionType:"firstBaseline",children:[{type:"elem",elem:Le},{type:"kern",size:-Tn},{type:"elem",elem:_n}]})}var Ar=Ln(["mord","accent"],[_n],z);return Se?(Se.children[0]=Ar,Se.height=Math.max(Ar.height,Se.height),Se.classes[0]="mord",Se):Ar},ys=(oe,z)=>{var te=oe.isStretchy?mo(oe.label):new gr("mo",[Ai(oe.label,oe.mode)]),ue=new gr("mover",[vi(oe.base,z),te]);return ue.setAttribute("accent","true"),ue},Ds=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(oe=>"\\"+oe).join("|"));Or({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(oe,z)=>{var te=gi(z[0]),ue=!Ds.test(oe.funcName),Se=!ue||oe.funcName==="\\widehat"||oe.funcName==="\\widetilde"||oe.funcName==="\\widecheck";return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:ue,isShifty:Se,base:te}},htmlBuilder:$o,mathmlBuilder:ys}),Or({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(oe,z)=>{var te=z[0],ue=oe.parser.mode;return ue==="math"&&(oe.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+oe.funcName+" works only in text mode"),ue="text"),{type:"accent",mode:ue,label:oe.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:$o,mathmlBuilder:ys}),Or({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Se=z[0];return{type:"accentUnder",mode:te.mode,label:ue,base:Se}},htmlBuilder:(oe,z)=>{var te=Va(oe.base,z),ue=bs(oe,z),Se=oe.label==="\\utilde"?.12:0,Le=oa({positionType:"top",positionData:te.height,children:[{type:"elem",elem:ue,wrapperClasses:["svg-align"]},{type:"kern",size:Se},{type:"elem",elem:te}]});return Ln(["mord","accentunder"],[Le],z)},mathmlBuilder:(oe,z)=>{var te=mo(oe.label),ue=new gr("munder",[vi(oe.base,z),te]);return ue.setAttribute("accentunder","true"),ue}});var ko=oe=>{var z=new gr("mpadded",oe?[oe]:[]);return z.setAttribute("width","+0.6em"),z.setAttribute("lspace","0.3em"),z};Or({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(oe,z,te){var{parser:ue,funcName:Se}=oe;return{type:"xArrow",mode:ue.mode,label:Se,body:z[0],below:te[0]}},htmlBuilder(oe,z){var te=z.style,ue=z.havingStyle(te.sup()),Se=Mr(Va(oe.body,ue,z),z),Le=oe.label.slice(0,2)==="\\x"?"x":"cd";Se.classes.push(Le+"-arrow-pad");var qe;oe.below&&(ue=z.havingStyle(te.sub()),qe=Mr(Va(oe.below,ue,z),z),qe.classes.push(Le+"-arrow-pad"));var st=bs(oe,z),dt=-z.fontMetrics().axisHeight+.5*st.height,Gt=-z.fontMetrics().axisHeight-.5*st.height-.111;(Se.depth>.25||oe.label==="\\xleftequilibrium")&&(Gt-=Se.depth);var ln;if(qe){var Tn=-z.fontMetrics().axisHeight+qe.height+.5*st.height+.111;ln=oa({positionType:"individualShift",children:[{type:"elem",elem:Se,shift:Gt},{type:"elem",elem:st,shift:dt},{type:"elem",elem:qe,shift:Tn}]})}else ln=oa({positionType:"individualShift",children:[{type:"elem",elem:Se,shift:Gt},{type:"elem",elem:st,shift:dt}]});return ln.children[0].children[0].children[1].classes.push("svg-align"),Ln(["mrel","x-arrow"],[ln],z)},mathmlBuilder(oe,z){var te=mo(oe.label);te.setAttribute("minsize",oe.label.charAt(0)==="x"?"1.75em":"3.0em");var ue;if(oe.body){var Se=ko(vi(oe.body,z));if(oe.below){var Le=ko(vi(oe.below,z));ue=new gr("munderover",[te,Le,Se])}else ue=new gr("mover",[te,Se])}else if(oe.below){var qe=ko(vi(oe.below,z));ue=new gr("munder",[te,qe])}else ue=ko(),ue=new gr("mover",[te,ue]);return ue}});function as(oe,z){var te=Ia(oe.body,z,!0);return Ln([oe.mclass],te,z)}function Ls(oe,z){var te,ue=ki(oe.body,z);return oe.mclass==="minner"?te=new gr("mpadded",ue):oe.mclass==="mord"?oe.isCharacterBox?(te=ue[0],te.type="mi"):te=new gr("mi",ue):(oe.isCharacterBox?(te=ue[0],te.type="mo"):te=new gr("mo",ue),oe.mclass==="mbin"?(te.attributes.lspace="0.22em",te.attributes.rspace="0.22em"):oe.mclass==="mpunct"?(te.attributes.lspace="0em",te.attributes.rspace="0.17em"):oe.mclass==="mopen"||oe.mclass==="mclose"?(te.attributes.lspace="0em",te.attributes.rspace="0em"):oe.mclass==="minner"&&(te.attributes.lspace="0.0556em",te.attributes.width="+0.1111em")),te}Or({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Se=z[0];return{type:"mclass",mode:te.mode,mclass:"m"+ue.slice(5),body:ha(Se),isCharacterBox:on(Se)}},htmlBuilder:as,mathmlBuilder:Ls});var jo=oe=>{var z=oe.type==="ordgroup"&&oe.body.length?oe.body[0]:oe;return z.type==="atom"&&(z.family==="bin"||z.family==="rel")?"m"+z.family:"mord"};Or({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(oe,z){var{parser:te}=oe;return{type:"mclass",mode:te.mode,mclass:jo(z[0]),body:ha(z[1]),isCharacterBox:on(z[1])}}}),Or({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(oe,z){var{parser:te,funcName:ue}=oe,Se=z[1],Le=z[0],qe;ue!=="\\stackrel"?qe=jo(Se):qe="mrel";var st={type:"op",mode:Se.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:ue!=="\\stackrel",body:ha(Se)},dt={type:"supsub",mode:Le.mode,base:st,sup:ue==="\\underset"?null:Le,sub:ue==="\\underset"?Le:null};return{type:"mclass",mode:te.mode,mclass:qe,body:[dt],isCharacterBox:on(dt)}},htmlBuilder:as,mathmlBuilder:Ls}),Or({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"pmb",mode:te.mode,mclass:jo(z[0]),body:ha(z[0])}},htmlBuilder(oe,z){var te=Ia(oe.body,z,!0),ue=Ln([oe.mclass],te,z);return ue.style.textShadow="0.02em 0.01em 0.04px",ue},mathmlBuilder(oe,z){var te=ki(oe.body,z),ue=new gr("mstyle",te);return ue.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),ue}});var Qi={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ci=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ya=oe=>oe.type==="textord"&&oe.text==="@",qi=(oe,z)=>(oe.type==="mathord"||oe.type==="atom")&&oe.text===z;function ao(oe,z,te){var ue=Qi[oe];switch(ue){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return te.callFunction(ue,[z[0]],[z[1]]);case"\\uparrow":case"\\downarrow":{var Se=te.callFunction("\\\\cdleft",[z[0]],[]),Le={type:"atom",text:ue,mode:"math",family:"rel"},qe=te.callFunction("\\Big",[Le],[]),st=te.callFunction("\\\\cdright",[z[1]],[]),dt={type:"ordgroup",mode:"math",body:[Se,qe,st]};return te.callFunction("\\\\cdparent",[dt],[])}case"\\\\cdlongequal":return te.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Gt={type:"textord",text:"\\Vert",mode:"math"};return te.callFunction("\\Big",[Gt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Gi(oe){var z=[];for(oe.gullet.beginGroup(),oe.gullet.macros.set("\\cr","\\\\\\relax"),oe.gullet.beginGroup();;){z.push(oe.parseExpression(!1,"\\\\")),oe.gullet.endGroup(),oe.gullet.beginGroup();var te=oe.fetch().text;if(te==="&"||te==="\\\\")oe.consume();else if(te==="\\end"){z[z.length-1].length===0&&z.pop();break}else throw new Rt("Expected \\\\ or \\cr or \\end",oe.nextToken)}for(var ue=[],Se=[ue],Le=0;LeAV".includes(Gt))for(var Tn=0;Tn<2;Tn++){for(var _n=!0,Gn=dt+1;GnAV=|." after @',qe[dt]);var ar=ao(Gt,ln,oe),Yn={type:"styling",body:[ar],mode:"math",style:"display"};ue.push(Yn),st=ci()}Le%2===0?ue.push(st):ue.shift(),ue=[],Se.push(ue)}oe.gullet.endGroup(),oe.gullet.endGroup();var Cr=new Array(Se[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:Se,arraystretch:1,addJot:!0,rowGaps:[null],cols:Cr,colSeparationType:"CD",hLinesBeforeRow:new Array(Se.length+1).fill([])}}Or({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe;return{type:"cdlabel",mode:te.mode,side:ue.slice(4),label:z[0]}},htmlBuilder(oe,z){var te=z.havingStyle(z.style.sup()),ue=Mr(Va(oe.label,te,z),z);return ue.classes.push("cd-label-"+oe.side),ue.style.bottom=jn(.8-ue.depth),ue.height=0,ue.depth=0,ue},mathmlBuilder(oe,z){var te=new gr("mrow",[vi(oe.label,z)]);return te=new gr("mpadded",[te]),te.setAttribute("width","0"),oe.side==="left"&&te.setAttribute("lspace","-1width"),te.setAttribute("voffset","0.7em"),te=new gr("mstyle",[te]),te.setAttribute("displaystyle","false"),te.setAttribute("scriptlevel","1"),te}}),Or({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(oe,z){var{parser:te}=oe;return{type:"cdlabelparent",mode:te.mode,fragment:z[0]}},htmlBuilder(oe,z){var te=Mr(Va(oe.fragment,z),z);return te.classes.push("cd-vert-arrow"),te},mathmlBuilder(oe,z){return new gr("mrow",[vi(oe.fragment,z)])}}),Or({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(oe,z){for(var{parser:te}=oe,ue=ni(z[0],"ordgroup"),Se=ue.body,Le="",qe=0;qe=1114111)throw new Rt("\\@char with invalid code point "+Le);return dt<=65535?Gt=String.fromCharCode(dt):(dt-=65536,Gt=String.fromCharCode((dt>>10)+55296,(dt&1023)+56320)),{type:"textord",mode:te.mode,text:Gt}}});var zi=(oe,z)=>{var te=Ia(oe.body,z.withColor(oe.color),!1);return yr(te)},yo=(oe,z)=>{var te=ki(oe.body,z.withColor(oe.color)),ue=new gr("mstyle",te);return ue.setAttribute("mathcolor",oe.color),ue};Or({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(oe,z){var{parser:te}=oe,ue=ni(z[0],"color-token").color,Se=z[1];return{type:"color",mode:te.mode,color:ue,body:ha(Se)}},htmlBuilder:zi,mathmlBuilder:yo}),Or({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(oe,z){var{parser:te,breakOnTokenText:ue}=oe,Se=ni(z[0],"color-token").color;te.gullet.macros.set("\\current@color",Se);var Le=te.parseExpression(!0,ue);return{type:"color",mode:te.mode,color:Se,body:Le}},htmlBuilder:zi,mathmlBuilder:yo}),Or({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(oe,z,te){var{parser:ue}=oe,Se=ue.gullet.future().text==="["?ue.parseSizeGroup(!0):null,Le=!ue.settings.displayMode||!ue.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:ue.mode,newLine:Le,size:Se&&ni(Se,"size").value}},htmlBuilder(oe,z){var te=Ln(["mspace"],[],z);return oe.newLine&&(te.classes.push("newline"),oe.size&&(te.style.marginTop=jn(sr(oe.size,z)))),te},mathmlBuilder(oe,z){var te=new gr("mspace");return oe.newLine&&(te.setAttribute("linebreak","newline"),oe.size&&te.setAttribute("height",jn(sr(oe.size,z)))),te}});var Eo={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},go=oe=>{var z=oe.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(z))throw new Rt("Expected a control sequence",oe);return z},Ji=oe=>{var z=oe.gullet.popToken();return z.text==="="&&(z=oe.gullet.popToken(),z.text===" "&&(z=oe.gullet.popToken())),z},Ki=(oe,z,te,ue)=>{var Se=oe.gullet.macros.get(te.text);Se==null&&(te.noexpand=!0,Se={tokens:[te],numArgs:0,unexpandable:!oe.gullet.isExpandable(te.text)}),oe.gullet.macros.set(z,Se,ue)};Or({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(oe){var{parser:z,funcName:te}=oe;z.consumeSpaces();var ue=z.fetch();if(Eo[ue.text])return(te==="\\global"||te==="\\\\globallong")&&(ue.text=Eo[ue.text]),ni(z.parseFunction(),"internal");throw new Rt("Invalid token after macro prefix",ue)}}),Or({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=z.gullet.popToken(),Se=ue.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Se))throw new Rt("Expected a control sequence",ue);for(var Le=0,qe,st=[[]];z.gullet.future().text!=="{";)if(ue=z.gullet.popToken(),ue.text==="#"){if(z.gullet.future().text==="{"){qe=z.gullet.future(),st[Le].push("{");break}if(ue=z.gullet.popToken(),!/^[1-9]$/.test(ue.text))throw new Rt('Invalid argument number "'+ue.text+'"');if(parseInt(ue.text)!==Le+1)throw new Rt('Argument number "'+ue.text+'" out of order');Le++,st.push([])}else{if(ue.text==="EOF")throw new Rt("Expected a macro definition");st[Le].push(ue.text)}var{tokens:dt}=z.gullet.consumeArg();return qe&&dt.unshift(qe),(te==="\\edef"||te==="\\xdef")&&(dt=z.gullet.expandTokens(dt),dt.reverse()),z.gullet.macros.set(Se,{tokens:dt,numArgs:Le,delimiters:st},te===Eo[te]),{type:"internal",mode:z.mode}}}),Or({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=go(z.gullet.popToken());z.gullet.consumeSpaces();var Se=Ji(z);return Ki(z,ue,Se,te==="\\\\globallet"),{type:"internal",mode:z.mode}}}),Or({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=go(z.gullet.popToken()),Se=z.gullet.popToken(),Le=z.gullet.popToken();return Ki(z,ue,Le,te==="\\\\globalfuture"),z.gullet.pushToken(Le),z.gullet.pushToken(Se),{type:"internal",mode:z.mode}}});var lo=function(z,te,ue){var Se=lt.math[z]&<.math[z].replace,Le=Er(Se||z,te,ue);if(!Le)throw new Error("Unsupported symbol "+z+" and font size "+te+".");return Le},Do=function(z,te,ue,Se){var Le=ue.havingBaseStyle(te),qe=Ln(Se.concat(Le.sizingClasses(ue)),[z],ue),st=Le.sizeMultiplier/ue.sizeMultiplier;return qe.height*=st,qe.depth*=st,qe.maxFontSize=Le.sizeMultiplier,qe},Ko=function(z,te,ue){var Se=te.havingBaseStyle(ue),Le=(1-te.sizeMultiplier/Se.sizeMultiplier)*te.fontMetrics().axisHeight;z.classes.push("delimcenter"),z.style.top=jn(Le),z.height-=Le,z.depth+=Le},el=function(z,te,ue,Se,Le,qe){var st=kr(z,"Main-Regular",Le,Se),dt=Do(st,te,Se,qe);return ue&&Ko(dt,Se,te),dt},fl=function(z,te,ue,Se){return kr(z,"Size"+te+"-Regular",ue,Se)},Yo=function(z,te,ue,Se,Le,qe){var st=fl(z,te,Le,Se),dt=Do(Ln(["delimsizing","size"+te],[st],Se),Ct.TEXT,Se,qe);return ue&&Ko(dt,Se,Ct.TEXT),dt},Co=function(z,te,ue){var Se;te==="Size1-Regular"?Se="delim-size1":Se="delim-size4";var Le=Ln(["delimsizinginner",Se],[Ln([],[kr(z,te,ue)])]);return{type:"elem",elem:Le}},Yi=function(z,te,ue){var Se=de["Size4-Regular"][z.charCodeAt(0)]?de["Size4-Regular"][z.charCodeAt(0)][4]:de["Size1-Regular"][z.charCodeAt(0)][4],Le=new Jt("inner",zt(z,Math.round(1e3*te))),qe=new ea([Le],{width:jn(Se),height:jn(te),style:"width:"+jn(Se),viewBox:"0 0 "+1e3*Se+" "+Math.round(1e3*te),preserveAspectRatio:"xMinYMin"}),st=jr([],[qe],ue);return st.height=te,st.style.height=jn(te),st.style.width=jn(Se),{type:"elem",elem:st}},wo=.008,So={type:"kern",size:-1*wo},vo=new Set(["|","\\lvert","\\rvert","\\vert"]),tl=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),nl=function(z,te,ue,Se,Le,qe){var st,dt,Gt,ln,Tn="",_n=0;st=Gt=ln=z,dt=null;var Gn="Size1-Regular";z==="\\uparrow"?Gt=ln="\u23D0":z==="\\Uparrow"?Gt=ln="\u2016":z==="\\downarrow"?st=Gt="\u23D0":z==="\\Downarrow"?st=Gt="\u2016":z==="\\updownarrow"?(st="\\uparrow",Gt="\u23D0",ln="\\downarrow"):z==="\\Updownarrow"?(st="\\Uparrow",Gt="\u2016",ln="\\Downarrow"):vo.has(z)?(Gt="\u2223",Tn="vert",_n=333):tl.has(z)?(Gt="\u2225",Tn="doublevert",_n=556):z==="["||z==="\\lbrack"?(st="\u23A1",Gt="\u23A2",ln="\u23A3",Gn="Size4-Regular",Tn="lbrack",_n=667):z==="]"||z==="\\rbrack"?(st="\u23A4",Gt="\u23A5",ln="\u23A6",Gn="Size4-Regular",Tn="rbrack",_n=667):z==="\\lfloor"||z==="\u230A"?(Gt=st="\u23A2",ln="\u23A3",Gn="Size4-Regular",Tn="lfloor",_n=667):z==="\\lceil"||z==="\u2308"?(st="\u23A1",Gt=ln="\u23A2",Gn="Size4-Regular",Tn="lceil",_n=667):z==="\\rfloor"||z==="\u230B"?(Gt=st="\u23A5",ln="\u23A6",Gn="Size4-Regular",Tn="rfloor",_n=667):z==="\\rceil"||z==="\u2309"?(st="\u23A4",Gt=ln="\u23A5",Gn="Size4-Regular",Tn="rceil",_n=667):z==="("||z==="\\lparen"?(st="\u239B",Gt="\u239C",ln="\u239D",Gn="Size4-Regular",Tn="lparen",_n=875):z===")"||z==="\\rparen"?(st="\u239E",Gt="\u239F",ln="\u23A0",Gn="Size4-Regular",Tn="rparen",_n=875):z==="\\{"||z==="\\lbrace"?(st="\u23A7",dt="\u23A8",ln="\u23A9",Gt="\u23AA",Gn="Size4-Regular"):z==="\\}"||z==="\\rbrace"?(st="\u23AB",dt="\u23AC",ln="\u23AD",Gt="\u23AA",Gn="Size4-Regular"):z==="\\lgroup"||z==="\u27EE"?(st="\u23A7",ln="\u23A9",Gt="\u23AA",Gn="Size4-Regular"):z==="\\rgroup"||z==="\u27EF"?(st="\u23AB",ln="\u23AD",Gt="\u23AA",Gn="Size4-Regular"):z==="\\lmoustache"||z==="\u23B0"?(st="\u23A7",ln="\u23AD",Gt="\u23AA",Gn="Size4-Regular"):(z==="\\rmoustache"||z==="\u23B1")&&(st="\u23AB",ln="\u23A9",Gt="\u23AA",Gn="Size4-Regular");var ar=lo(st,Gn,Le),Yn=ar.height+ar.depth,Cr=lo(Gt,Gn,Le),Ar=Cr.height+Cr.depth,Br=lo(ln,Gn,Le),Wr=Br.height+Br.depth,aa=0,ba=1;if(dt!==null){var na=lo(dt,Gn,Le);aa=na.height+na.depth,ba=2}var ka=Yn+Wr+aa,Ba=Math.max(0,Math.ceil((te-ka)/(ba*Ar))),Ga=ka+Ba*ba*Ar,_a=Se.fontMetrics().axisHeight;ue&&(_a*=Se.sizeMultiplier);var ei=Ga/2-_a,Za=[];if(Tn.length>0){var za=Ga-Yn-Wr,hr=Math.round(Ga*1e3),ca=Et(Tn,Math.round(za*1e3)),Si=new Jt(Tn,ca),ji=(_n/1e3).toFixed(3)+"em",zo=(hr/1e3).toFixed(3)+"em",oo=new ea([Si],{width:ji,height:zo,viewBox:"0 0 "+_n+" "+hr}),fo=jr([],[oo],Se);fo.height=hr/1e3,fo.style.width=ji,fo.style.height=zo,Za.push({type:"elem",elem:fo})}else{if(Za.push(Co(ln,Gn,Le)),Za.push(So),dt===null){var hi=Ga-Yn-Wr+2*wo;Za.push(Yi(Gt,hi,Se))}else{var po=(Ga-Yn-Wr-aa)/2+2*wo;Za.push(Yi(Gt,po,Se)),Za.push(So),Za.push(Co(dt,Gn,Le)),Za.push(So),Za.push(Yi(Gt,po,Se))}Za.push(So),Za.push(Co(st,Gn,Le))}var Zi=Se.havingBaseStyle(Ct.TEXT),es=oa({positionType:"bottom",positionData:ei,children:Za});return Do(Ln(["delimsizing","mult"],[es],Zi),Ct.TEXT,Se,qe)},ps=80,rl=.08,Ms=function(z,te,ue,Se,Le){var qe=qt(z,Se,ue),st=new Jt(z,qe),dt=new ea([st],{width:"400em",height:jn(te),viewBox:"0 0 400000 "+ue,preserveAspectRatio:"xMinYMin slice"});return jr(["hide-tail"],[dt],Le)},Ps=function(z,te){var ue=te.havingBaseSizing(),Se=al("\\surd",z*ue.sizeMultiplier,ms,ue),Le=ue.sizeMultiplier,qe=Math.max(0,te.minRuleThickness-te.fontMetrics().sqrtRuleThickness),st,dt=0,Gt=0,ln=0,Tn;return Se.type==="small"?(ln=1e3+1e3*qe+ps,z<1?Le=1:z<1.4&&(Le=.7),dt=(1+qe+rl)/Le,Gt=(1+qe)/Le,st=Ms("sqrtMain",dt,ln,qe,te),st.style.minWidth="0.853em",Tn=.833/Le):Se.type==="large"?(ln=(1e3+ps)*is[Se.size],Gt=(is[Se.size]+qe)/Le,dt=(is[Se.size]+qe+rl)/Le,st=Ms("sqrtSize"+Se.size,dt,ln,qe,te),st.style.minWidth="1.02em",Tn=1/Le):(dt=z+qe+rl,Gt=z+qe,ln=Math.floor(1e3*z+qe)+ps,st=Ms("sqrtTall",dt,ln,qe,te),st.style.minWidth="0.742em",Tn=1.056),st.height=Gt,st.style.height=jn(dt),{span:st,advanceWidth:Tn,ruleWidth:(te.fontMetrics().sqrtRuleThickness+qe)*Le}},Es=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),pl=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),hl=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),is=[0,1.2,1.8,2.4,3],Bs=function(z,te,ue,Se,Le){if(z==="<"||z==="\\lt"||z==="\u27E8"?z="\\langle":(z===">"||z==="\\gt"||z==="\u27E9")&&(z="\\rangle"),Es.has(z)||hl.has(z))return Yo(z,te,!1,ue,Se,Le);if(pl.has(z))return nl(z,is[te],!1,ue,Se,Le);throw new Rt("Illegal delimiter: '"+z+"'")},Ss=[{type:"small",style:Ct.SCRIPTSCRIPT},{type:"small",style:Ct.SCRIPT},{type:"small",style:Ct.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],hs=[{type:"small",style:Ct.SCRIPTSCRIPT},{type:"small",style:Ct.SCRIPT},{type:"small",style:Ct.TEXT},{type:"stack"}],ms=[{type:"small",style:Ct.SCRIPTSCRIPT},{type:"small",style:Ct.SCRIPT},{type:"small",style:Ct.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],xs=function(z){if(z.type==="small")return"Main-Regular";if(z.type==="large")return"Size"+z.size+"-Regular";if(z.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+z.type+"' here.")},al=function(z,te,ue,Se){for(var Le=Math.min(2,3-Se.style.size),qe=Le;qete)return ue[qe]}return ue[ue.length-1]},il=function(z,te,ue,Se,Le,qe){z==="<"||z==="\\lt"||z==="\u27E8"?z="\\langle":(z===">"||z==="\\gt"||z==="\u27E9")&&(z="\\rangle");var st;hl.has(z)?st=Ss:Es.has(z)?st=ms:st=hs;var dt=al(z,te,st,Se);return dt.type==="small"?el(z,dt.style,ue,Se,Le,qe):dt.type==="large"?Yo(z,dt.size,ue,Se,Le,qe):nl(z,te,ue,Se,Le,qe)},ml=function(z,te,ue,Se,Le,qe){var st=Se.fontMetrics().axisHeight*Se.sizeMultiplier,dt=901,Gt=5/Se.fontMetrics().ptPerEm,ln=Math.max(te-st,ue+st),Tn=Math.max(ln/500*dt,2*ln-Gt);return il(z,Tn,!0,Se,Le,qe)},ol={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Cs=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function Lo(oe,z){var te=rs(oe);if(te&&Cs.has(te.text))return te;throw te?new Rt("Invalid delimiter '"+te.text+"' after '"+z.funcName+"'",oe):new Rt("Invalid delimiter type '"+oe.type+"'",oe)}Or({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(oe,z)=>{var te=Lo(z[0],oe);return{type:"delimsizing",mode:oe.parser.mode,size:ol[oe.funcName].size,mclass:ol[oe.funcName].mclass,delim:te.text}},htmlBuilder:(oe,z)=>oe.delim==="."?Ln([oe.mclass]):Bs(oe.delim,oe.size,z,oe.mode,[oe.mclass]),mathmlBuilder:oe=>{var z=[];oe.delim!=="."&&z.push(Ai(oe.delim,oe.mode));var te=new gr("mo",z);oe.mclass==="mopen"||oe.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te.setAttribute("stretchy","true");var ue=jn(is[oe.size]);return te.setAttribute("minsize",ue),te.setAttribute("maxsize",ue),te}});function ws(oe){if(!oe.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Or({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=oe.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new Rt("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:oe.parser.mode,delim:Lo(z[0],oe).text,color:te}}}),Or({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=Lo(z[0],oe),ue=oe.parser;++ue.leftrightDepth;var Se=ue.parseExpression(!1);--ue.leftrightDepth,ue.expect("\\right",!1);var Le=ni(ue.parseFunction(),"leftright-right");return{type:"leftright",mode:ue.mode,body:Se,left:te.text,right:Le.delim,rightColor:Le.color}},htmlBuilder:(oe,z)=>{ws(oe);for(var te=Ia(oe.body,z,!0,["mopen","mclose"]),ue=0,Se=0,Le=!1,qe=0;qe{ws(oe);var te=ki(oe.body,z);if(oe.left!=="."){var ue=new gr("mo",[Ai(oe.left,oe.mode)]);ue.setAttribute("fence","true"),te.unshift(ue)}if(oe.right!=="."){var Se=new gr("mo",[Ai(oe.right,oe.mode)]);Se.setAttribute("fence","true"),oe.rightColor&&Se.setAttribute("mathcolor",oe.rightColor),te.push(Se)}return Ui(te)}}),Or({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=Lo(z[0],oe);if(!oe.parser.leftrightDepth)throw new Rt("\\middle without preceding \\left",te);return{type:"middle",mode:oe.parser.mode,delim:te.text}},htmlBuilder:(oe,z)=>{var te;if(oe.delim===".")te=so(z,[]);else{te=Bs(oe.delim,1,z,oe.mode,[]);var ue={delim:oe.delim,options:z};te.isMiddle=ue}return te},mathmlBuilder:(oe,z)=>{var te=oe.delim==="\\vert"||oe.delim==="|"?Ai("|","text"):Ai(oe.delim,oe.mode),ue=new gr("mo",[te]);return ue.setAttribute("fence","true"),ue.setAttribute("lspace","0.05em"),ue.setAttribute("rspace","0.05em"),ue}});var Fs=(oe,z)=>{var te=Mr(Va(oe.body,z),z),ue=oe.label.slice(1),Se=z.sizeMultiplier,Le,qe=0,st=on(oe.body);if(ue==="sout")Le=Ln(["stretchy","sout"]),Le.height=z.fontMetrics().defaultRuleThickness/Se,qe=-.5*z.fontMetrics().xHeight;else if(ue==="phase"){var dt=sr({number:.6,unit:"pt"},z),Gt=sr({number:.35,unit:"ex"},z),ln=z.havingBaseSizing();Se=Se/ln.sizeMultiplier;var Tn=te.height+te.depth+dt+Gt;te.style.paddingLeft=jn(Tn/2+dt);var _n=Math.floor(1e3*Tn*Se),Gn=xn(_n),ar=new ea([new Jt("phase",Gn)],{width:"400em",height:jn(_n/1e3),viewBox:"0 0 400000 "+_n,preserveAspectRatio:"xMinYMin slice"});Le=jr(["hide-tail"],[ar],z),Le.style.height=jn(Tn),qe=te.depth+dt+Gt}else{/cancel/.test(ue)?st||te.classes.push("cancel-pad"):ue==="angl"?te.classes.push("anglpad"):te.classes.push("boxpad");var Yn=0,Cr=0,Ar=0;/box/.test(ue)?(Ar=Math.max(z.fontMetrics().fboxrule,z.minRuleThickness),Yn=z.fontMetrics().fboxsep+(ue==="colorbox"?0:Ar),Cr=Yn):ue==="angl"?(Ar=Math.max(z.fontMetrics().defaultRuleThickness,z.minRuleThickness),Yn=4*Ar,Cr=Math.max(0,.25-te.depth)):(Yn=st?.2:0,Cr=Yn),Le=Js(te,ue,Yn,Cr,z),/fbox|boxed|fcolorbox/.test(ue)?(Le.style.borderStyle="solid",Le.style.borderWidth=jn(Ar)):ue==="angl"&&Ar!==.049&&(Le.style.borderTopWidth=jn(Ar),Le.style.borderRightWidth=jn(Ar)),qe=te.depth+Cr,oe.backgroundColor&&(Le.style.backgroundColor=oe.backgroundColor,oe.borderColor&&(Le.style.borderColor=oe.borderColor))}var Br;if(oe.backgroundColor)Br=oa({positionType:"individualShift",children:[{type:"elem",elem:Le,shift:qe},{type:"elem",elem:te,shift:0}]});else{var Wr=/cancel|phase/.test(ue)?["svg-align"]:[];Br=oa({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Le,shift:qe,wrapperClasses:Wr}]})}return/cancel/.test(ue)&&(Br.height=te.height,Br.depth=te.depth),/cancel/.test(ue)&&!st?Ln(["mord","cancel-lap"],[Br],z):Ln(["mord"],[Br],z)},Xo=(oe,z)=>{var te=0,ue=new gr(oe.label.includes("colorbox")?"mpadded":"menclose",[vi(oe.body,z)]);switch(oe.label){case"\\cancel":ue.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":ue.setAttribute("notation","downdiagonalstrike");break;case"\\phase":ue.setAttribute("notation","phasorangle");break;case"\\sout":ue.setAttribute("notation","horizontalstrike");break;case"\\fbox":ue.setAttribute("notation","box");break;case"\\angl":ue.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(te=z.fontMetrics().fboxsep*z.fontMetrics().ptPerEm,ue.setAttribute("width","+"+2*te+"pt"),ue.setAttribute("height","+"+2*te+"pt"),ue.setAttribute("lspace",te+"pt"),ue.setAttribute("voffset",te+"pt"),oe.label==="\\fcolorbox"){var Se=Math.max(z.fontMetrics().fboxrule,z.minRuleThickness);ue.setAttribute("style","border: "+Se+"em solid "+String(oe.borderColor))}break;case"\\xcancel":ue.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return oe.backgroundColor&&ue.setAttribute("mathbackground",oe.backgroundColor),ue};Or({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(oe,z,te){var{parser:ue,funcName:Se}=oe,Le=ni(z[0],"color-token").color,qe=z[1];return{type:"enclose",mode:ue.mode,label:Se,backgroundColor:Le,body:qe}},htmlBuilder:Fs,mathmlBuilder:Xo}),Or({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(oe,z,te){var{parser:ue,funcName:Se}=oe,Le=ni(z[0],"color-token").color,qe=ni(z[1],"color-token").color,st=z[2];return{type:"enclose",mode:ue.mode,label:Se,backgroundColor:qe,borderColor:Le,body:st}},htmlBuilder:Fs,mathmlBuilder:Xo}),Or({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"enclose",mode:te.mode,label:"\\fbox",body:z[0]}}}),Or({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe,Se=z[0];return{type:"enclose",mode:te.mode,label:ue,body:Se}},htmlBuilder:Fs,mathmlBuilder:Xo}),Or({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(oe,z){var{parser:te}=oe;return{type:"enclose",mode:te.mode,label:"\\angl",body:z[0]}}});var _s={};function bo(oe){for(var{type:z,names:te,props:ue,handler:Se,htmlBuilder:Le,mathmlBuilder:qe}=oe,st={type:z,numArgs:ue.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:Se},dt=0;dt{var z=oe.parser.settings;if(!z.displayMode)throw new Rt("{"+oe.envName+"} can be used only in display mode.")},sl=new Set(["gather","gather*"]);function qo(oe){if(!oe.includes("ed"))return!oe.includes("*")}function Jo(oe,z,te){var{hskipBeforeAndAfter:ue,addJot:Se,cols:Le,arraystretch:qe,colSeparationType:st,autoTag:dt,singleRow:Gt,emptySingleRow:ln,maxNumCols:Tn,leqno:_n}=z;if(oe.gullet.beginGroup(),Gt||oe.gullet.macros.set("\\cr","\\\\\\relax"),!qe){var Gn=oe.gullet.expandMacroAsText("\\arraystretch");if(Gn==null)qe=1;else if(qe=parseFloat(Gn),!qe||qe<0)throw new Rt("Invalid \\arraystretch: "+Gn)}oe.gullet.beginGroup();var ar=[],Yn=[ar],Cr=[],Ar=[],Br=dt!=null?[]:void 0;function Wr(){dt&&oe.gullet.macros.set("\\@eqnsw","1",!0)}function aa(){Br&&(oe.gullet.macros.get("\\df@tag")?(Br.push(oe.subparse([new Ke("\\df@tag")])),oe.gullet.macros.set("\\df@tag",void 0,!0)):Br.push(!!dt&&oe.gullet.macros.get("\\@eqnsw")==="1"))}for(Wr(),Ar.push(Ts(oe));;){var ba=oe.parseExpression(!1,Gt?"\\end":"\\\\");oe.gullet.endGroup(),oe.gullet.beginGroup(),ba={type:"ordgroup",mode:oe.mode,body:ba},te&&(ba={type:"styling",mode:oe.mode,style:te,body:[ba]}),ar.push(ba);var na=oe.fetch().text;if(na==="&"){if(Tn&&ar.length===Tn){if(Gt||st)throw new Rt("Too many tab characters: &",oe.nextToken);oe.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}oe.consume()}else if(na==="\\end"){aa(),ar.length===1&&ba.type==="styling"&&ba.body[0].body.length===0&&(Yn.length>1||!ln)&&Yn.pop(),Ar.length0&&(Wr+=.25),Gt.push({pos:Wr,isDashed:Ru[fu]})}for(aa(qe[0]),ue=0;ue0&&(ei+=Br,kaRu))for(ue=0;ue=st)){var oi=void 0;if(Se>0||z.hskipBeforeAndAfter){var Li;oi=(Li=po.pregap)!=null?Li:_n,oi!==0&&(ca=Ln(["arraycolsep"],[]),ca.style.width=jn(oi),hr.push(ca))}var Ei=[];for(ue=0;ue0){for(var ts=lr("hline",te,ln),ds=lr("hdashline",te,ln),Oo=[{type:"elem",elem:dt,shift:0}];Gt.length>0;){var Os=Gt.pop(),Rl=Os.pos-Za;Os.isDashed?Oo.push({type:"elem",elem:ds,shift:Rl}):Oo.push({type:"elem",elem:ts,shift:Rl})}dt=oa({positionType:"individualShift",children:Oo})}if(ji.length===0)return Ln(["mord"],[dt],te);var ru=oa({positionType:"individualShift",children:ji});return ru=Ln(["tag"],[ru],te),yr([dt,ru])},_l={c:"center ",l:"left ",r:"right "},io=function(z,te){for(var ue=[],Se=new gr("mtd",[],["mtr-glue"]),Le=new gr("mtd",[],["mml-eqn-num"]),qe=0;qe0){var ar=z.cols,Yn="",Cr=!1,Ar=0,Br=ar.length;ar[0].type==="separator"&&(_n+="top ",Ar=1),ar[ar.length-1].type==="separator"&&(_n+="bottom ",Br-=1);for(var Wr=Ar;Wr0?"left ":"",_n+=Ba[Ba.length-1].length>0?"right ":"";for(var Ga=1;Ga0&&Gn&&(Cr=1),ue[ar]={type:"align",align:Yn,pregap:Cr,postgap:0}}return qe.colSeparationType=Gn?"align":"alignat",qe};bo({type:"array",names:["array","darray"],props:{numArgs:1},handler(oe,z){var te=rs(z[0]),ue=te?[z[0]]:ni(z[0],"ordgroup").body,Se=ue.map(function(qe){var st=ns(qe),dt=st.text;if("lcr".includes(dt))return{type:"align",align:dt};if(dt==="|")return{type:"separator",separator:"|"};if(dt===":")return{type:"separator",separator:":"};throw new Rt("Unknown column alignment: "+dt,qe)}),Le={cols:Se,hskipBeforeAndAfter:!0,maxNumCols:Se.length};return Jo(oe.parser,Le,ll(oe.envName))},htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(oe){var z={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[oe.envName.replace("*","")],te="c",ue={hskipBeforeAndAfter:!1,cols:[{type:"align",align:te}]};if(oe.envName.charAt(oe.envName.length-1)==="*"){var Se=oe.parser;if(Se.consumeSpaces(),Se.fetch().text==="["){if(Se.consume(),Se.consumeSpaces(),te=Se.fetch().text,!"lcr".includes(te))throw new Rt("Expected l or c or r",Se.nextToken);Se.consume(),Se.consumeSpaces(),Se.expect("]"),Se.consume(),ue.cols=[{type:"align",align:te}]}}var Le=Jo(oe.parser,ue,ll(oe.envName)),qe=Math.max(0,...Le.body.map(st=>st.length));return Le.cols=new Array(qe).fill({type:"align",align:te}),z?{type:"leftright",mode:oe.mode,body:[Le],left:z[0],right:z[1],rightColor:void 0}:Le},htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(oe){var z={arraystretch:.5},te=Jo(oe.parser,z,"script");return te.colSeparationType="small",te},htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["subarray"],props:{numArgs:1},handler(oe,z){var te=rs(z[0]),ue=te?[z[0]]:ni(z[0],"ordgroup").body,Se=ue.map(function(qe){var st=ns(qe),dt=st.text;if("lc".includes(dt))return{type:"align",align:dt};throw new Rt("Unknown column alignment: "+dt,qe)});if(Se.length>1)throw new Rt("{subarray} can contain only one column");var Le={cols:Se,hskipBeforeAndAfter:!1,arraystretch:.5};if(Le=Jo(oe.parser,Le,"script"),Le.body.length>0&&Le.body[0].length>1)throw new Rt("{subarray} can contain only one column");return Le},htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(oe){var z={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=Jo(oe.parser,z,ll(oe.envName));return{type:"leftright",mode:oe.mode,body:[te],left:oe.envName.includes("r")?".":"\\{",right:oe.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:os,htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(oe){sl.has(oe.envName)&&Qo(oe);var z={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:qo(oe.envName),emptySingleRow:!0,leqno:oe.parser.settings.leqno};return Jo(oe.parser,z,"display")},htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:os,htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(oe){Qo(oe);var z={autoTag:qo(oe.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:oe.parser.settings.leqno};return Jo(oe.parser,z,"display")},htmlBuilder:Go,mathmlBuilder:io}),bo({type:"array",names:["CD"],props:{numArgs:0},handler(oe){return Qo(oe),Gi(oe.parser)},htmlBuilder:Go,mathmlBuilder:io}),jt("\\nonumber","\\gdef\\@eqnsw{0}"),jt("\\notag","\\nonumber"),Or({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(oe,z){throw new Rt(oe.funcName+" valid only within array environment")}});var au=_s;Or({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(oe,z){var{parser:te,funcName:ue}=oe,Se=z[0];if(Se.type!=="ordgroup")throw new Rt("Invalid environment name",Se);for(var Le="",qe=0;qe{var te=oe.font,ue=z.withFont(te);return Va(oe.body,ue)},zs=(oe,z)=>{var te=oe.font,ue=z.withFont(te);return vi(oe.body,ue)},Hs={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Or({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Se=gi(z[0]),Le=ue;return Le in Hs&&(Le=Hs[Le]),{type:"font",mode:te.mode,font:Le.slice(1),body:Se}},htmlBuilder:gl,mathmlBuilder:zs}),Or({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"mclass",mode:te.mode,mclass:jo(ue),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:ue}],isCharacterBox:on(ue)}}}),Or({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(oe,z)=>{var{parser:te,funcName:ue,breakOnTokenText:Se}=oe,{mode:Le}=te,qe=te.parseExpression(!0,Se),st="math"+ue.slice(1);return{type:"font",mode:Le,font:st,body:{type:"ordgroup",mode:te.mode,body:qe}}},htmlBuilder:gl,mathmlBuilder:zs});var Ul=(oe,z)=>{var te=z.style,ue=te.fracNum(),Se=te.fracDen(),Le;Le=z.havingStyle(ue);var qe=Va(oe.numer,Le,z);if(oe.continued){var st=8.5/z.fontMetrics().ptPerEm,dt=3.5/z.fontMetrics().ptPerEm;qe.height=qe.height0?ar=3*_n:ar=7*_n,Yn=z.fontMetrics().denom1):(Tn>0?(Gn=z.fontMetrics().num2,ar=_n):(Gn=z.fontMetrics().num3,ar=3*_n),Yn=z.fontMetrics().denom2);var Cr;if(ln){var Br=z.fontMetrics().axisHeight;Gn-qe.depth-(Br+.5*Tn){var te=new gr("mfrac",[vi(oe.numer,z),vi(oe.denom,z)]);if(!oe.hasBarLine)te.setAttribute("linethickness","0px");else if(oe.barSize){var ue=sr(oe.barSize,z);te.setAttribute("linethickness",jn(ue))}if(oe.leftDelim!=null||oe.rightDelim!=null){var Se=[];if(oe.leftDelim!=null){var Le=new gr("mo",[new Oa(oe.leftDelim.replace("\\",""))]);Le.setAttribute("fence","true"),Se.push(Le)}if(Se.push(te),oe.rightDelim!=null){var qe=new gr("mo",[new Oa(oe.rightDelim.replace("\\",""))]);qe.setAttribute("fence","true"),Se.push(qe)}return Ui(Se)}return te},Ae=(oe,z)=>{if(!z)return oe;var te={type:"styling",mode:oe.mode,style:z,body:[oe]};return te};Or({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Se=z[0],Le=z[1],qe,st=null,dt=null;switch(ue){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":qe=!0;break;case"\\\\atopfrac":qe=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":qe=!1,st="(",dt=")";break;case"\\\\bracefrac":qe=!1,st="\\{",dt="\\}";break;case"\\\\brackfrac":qe=!1,st="[",dt="]";break;default:throw new Error("Unrecognized genfrac command")}var Gt=ue==="\\cfrac",ln=null;return Gt||ue.startsWith("\\d")?ln="display":ue.startsWith("\\t")&&(ln="text"),Ae({type:"genfrac",mode:te.mode,numer:Se,denom:Le,continued:Gt,hasBarLine:qe,leftDelim:st,rightDelim:dt,barSize:null},ln)},htmlBuilder:Ul,mathmlBuilder:se}),Or({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(oe){var{parser:z,funcName:te,token:ue}=oe,Se;switch(te){case"\\over":Se="\\frac";break;case"\\choose":Se="\\binom";break;case"\\atop":Se="\\\\atopfrac";break;case"\\brace":Se="\\\\bracefrac";break;case"\\brack":Se="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:z.mode,replaceWith:Se,token:ue}}});var ke=["display","text","script","scriptscript"],ze=function(z){var te=null;return z.length>0&&(te=z,te=te==="."?null:te),te};Or({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(oe,z){var{parser:te}=oe,ue=z[4],Se=z[5],Le=gi(z[0]),qe=Le.type==="atom"&&Le.family==="open"?ze(Le.text):null,st=gi(z[1]),dt=st.type==="atom"&&st.family==="close"?ze(st.text):null,Gt=ni(z[2],"size"),ln,Tn=null;Gt.isBlank?ln=!0:(Tn=Gt.value,ln=Tn.number>0);var _n=null,Gn=z[3];if(Gn.type==="ordgroup"){if(Gn.body.length>0){var ar=ni(Gn.body[0],"textord");_n=ke[Number(ar.text)]}}else Gn=ni(Gn,"textord"),_n=ke[Number(Gn.text)];return Ae({type:"genfrac",mode:te.mode,numer:ue,denom:Se,continued:!1,hasBarLine:ln,barSize:Tn,leftDelim:qe,rightDelim:dt},_n)}}),Or({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(oe,z){var{parser:te,funcName:ue,token:Se}=oe;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:ni(z[0],"size").value,token:Se}}}),Or({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Se=z[0],Le=ni(z[1],"infix").size;if(!Le)throw new Error("\\\\abovefrac expected size, but got "+String(Le));var qe=z[2],st=Le.number>0;return{type:"genfrac",mode:te.mode,numer:Se,denom:qe,continued:!1,hasBarLine:st,barSize:Le,leftDelim:null,rightDelim:null}}});var ht=(oe,z)=>{var te=z.style,ue,Se;oe.type==="supsub"?(ue=oe.sup?Va(oe.sup,z.havingStyle(te.sup()),z):Va(oe.sub,z.havingStyle(te.sub()),z),Se=ni(oe.base,"horizBrace")):Se=ni(oe,"horizBrace");var Le=Va(Se.base,z.havingBaseStyle(Ct.DISPLAY)),qe=bs(Se,z),st;if(Se.isOver?(st=oa({positionType:"firstBaseline",children:[{type:"elem",elem:Le},{type:"kern",size:.1},{type:"elem",elem:qe}]}),st.children[0].children[0].children[1].classes.push("svg-align")):(st=oa({positionType:"bottom",positionData:Le.depth+.1+qe.height,children:[{type:"elem",elem:qe},{type:"kern",size:.1},{type:"elem",elem:Le}]}),st.children[0].children[0].children[0].classes.push("svg-align")),ue){var dt=Ln(["mord",Se.isOver?"mover":"munder"],[st],z);Se.isOver?st=oa({positionType:"firstBaseline",children:[{type:"elem",elem:dt},{type:"kern",size:.2},{type:"elem",elem:ue}]}):st=oa({positionType:"bottom",positionData:dt.depth+.2+ue.height+ue.depth,children:[{type:"elem",elem:ue},{type:"kern",size:.2},{type:"elem",elem:dt}]})}return Ln(["mord",Se.isOver?"mover":"munder"],[st],z)},bt=(oe,z)=>{var te=mo(oe.label);return new gr(oe.isOver?"mover":"munder",[vi(oe.base,z),te])};Or({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe;return{type:"horizBrace",mode:te.mode,label:ue,isOver:/^\\over/.test(ue),base:z[0]}},htmlBuilder:ht,mathmlBuilder:bt}),Or({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[1],Se=ni(z[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Se})?{type:"href",mode:te.mode,href:Se,body:ha(ue)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:(oe,z)=>{var te=Ia(oe.body,z,!1);return rr(oe.href,[],te,z)},mathmlBuilder:(oe,z)=>{var te=ro(oe.body,z);return te instanceof gr||(te=new gr("mrow",[te])),te.setAttribute("href",oe.href),te}}),Or({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=ni(z[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:ue}))return te.formatUnsupportedCmd("\\url");for(var Se=[],Le=0;Le{var{parser:te,funcName:ue,token:Se}=oe,Le=ni(z[0],"raw").string,qe=z[1];te.settings.strict&&te.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var st,dt={};switch(ue){case"\\htmlClass":dt.class=Le,st={command:"\\htmlClass",class:Le};break;case"\\htmlId":dt.id=Le,st={command:"\\htmlId",id:Le};break;case"\\htmlStyle":dt.style=Le,st={command:"\\htmlStyle",style:Le};break;case"\\htmlData":{for(var Gt=Le.split(","),ln=0;ln{var te=Ia(oe.body,z,!1),ue=["enclosing"];oe.attributes.class&&ue.push(...oe.attributes.class.trim().split(/\s+/));var Se=Ln(ue,te,z);for(var Le in oe.attributes)Le!=="class"&&oe.attributes.hasOwnProperty(Le)&&Se.setAttribute(Le,oe.attributes[Le]);return Se},mathmlBuilder:(oe,z)=>ro(oe.body,z)}),Or({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe;return{type:"htmlmathml",mode:te.mode,html:ha(z[0]),mathml:ha(z[1])}},htmlBuilder:(oe,z)=>{var te=Ia(oe.html,z,!1);return yr(te)},mathmlBuilder:(oe,z)=>ro(oe.mathml,z)});var Pt=function(z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(z))return{number:+z,unit:"bp"};var te=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(z);if(!te)throw new Rt("Invalid size: '"+z+"' in \\includegraphics");var ue={number:+(te[1]+te[2]),unit:te[3]};if(!Ir(ue))throw new Rt("Invalid unit: '"+ue.unit+"' in \\includegraphics.");return ue};Or({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(oe,z,te)=>{var{parser:ue}=oe,Se={number:0,unit:"em"},Le={number:.9,unit:"em"},qe={number:0,unit:"em"},st="";if(te[0])for(var dt=ni(te[0],"raw").string,Gt=dt.split(","),ln=0;ln{var te=sr(oe.height,z),ue=0;oe.totalheight.number>0&&(ue=sr(oe.totalheight,z)-te);var Se=0;oe.width.number>0&&(Se=sr(oe.width,z));var Le={height:jn(te+ue)};Se>0&&(Le.width=jn(Se)),ue>0&&(Le.verticalAlign=jn(-ue));var qe=new Wn(oe.src,oe.alt,Le);return qe.height=te,qe.depth=ue,qe},mathmlBuilder:(oe,z)=>{var te=new gr("mglyph",[]);te.setAttribute("alt",oe.alt);var ue=sr(oe.height,z),Se=0;if(oe.totalheight.number>0&&(Se=sr(oe.totalheight,z)-ue,te.setAttribute("valign",jn(-Se))),te.setAttribute("height",jn(ue+Se)),oe.width.number>0){var Le=sr(oe.width,z);te.setAttribute("width",jn(Le))}return te.setAttribute("src",oe.src),te}}),Or({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Se=ni(z[0],"size");if(te.settings.strict){var Le=ue[1]==="m",qe=Se.value.unit==="mu";Le?(qe||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" supports only mu units, "+("not "+Se.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" works only in math mode")):qe&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Se.value}},htmlBuilder(oe,z){return Ca(oe.dimension,z)},mathmlBuilder(oe,z){var te=sr(oe.dimension,z);return new ii(te)}}),Or({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Se=z[0];return{type:"lap",mode:te.mode,alignment:ue.slice(5),body:Se}},htmlBuilder:(oe,z)=>{var te;oe.alignment==="clap"?(te=Ln([],[Va(oe.body,z)]),te=Ln(["inner"],[te],z)):te=Ln(["inner"],[Va(oe.body,z)]);var ue=Ln(["fix"],[]),Se=Ln([oe.alignment],[te,ue],z),Le=Ln(["strut"]);return Le.style.height=jn(Se.height+Se.depth),Se.depth&&(Le.style.verticalAlign=jn(-Se.depth)),Se.children.unshift(Le),Se=Ln(["thinbox"],[Se],z),Ln(["mord","vbox"],[Se],z)},mathmlBuilder:(oe,z)=>{var te=new gr("mpadded",[vi(oe.body,z)]);if(oe.alignment!=="rlap"){var ue=oe.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",ue+"width")}return te.setAttribute("width","0px"),te}}),Or({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(oe,z){var{funcName:te,parser:ue}=oe,Se=ue.mode;ue.switchMode("math");var Le=te==="\\("?"\\)":"$",qe=ue.parseExpression(!1,Le);return ue.expect(Le),ue.switchMode(Se),{type:"styling",mode:ue.mode,style:"text",body:qe}}}),Or({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(oe,z){throw new Rt("Mismatched "+oe.funcName)}});var nn=(oe,z)=>{switch(z.style.size){case Ct.DISPLAY.size:return oe.display;case Ct.TEXT.size:return oe.text;case Ct.SCRIPT.size:return oe.script;case Ct.SCRIPTSCRIPT.size:return oe.scriptscript;default:return oe.text}};Or({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(oe,z)=>{var{parser:te}=oe;return{type:"mathchoice",mode:te.mode,display:ha(z[0]),text:ha(z[1]),script:ha(z[2]),scriptscript:ha(z[3])}},htmlBuilder:(oe,z)=>{var te=nn(oe,z),ue=Ia(te,z,!1);return yr(ue)},mathmlBuilder:(oe,z)=>{var te=nn(oe,z);return ro(te,z)}});var zn=(oe,z,te,ue,Se,Le,qe)=>{oe=Ln([],[oe]);var st=te&&on(te),dt,Gt;if(z){var ln=Va(z,ue.havingStyle(Se.sup()),ue);Gt={elem:ln,kern:Math.max(ue.fontMetrics().bigOpSpacing1,ue.fontMetrics().bigOpSpacing3-ln.depth)}}if(te){var Tn=Va(te,ue.havingStyle(Se.sub()),ue);dt={elem:Tn,kern:Math.max(ue.fontMetrics().bigOpSpacing2,ue.fontMetrics().bigOpSpacing4-Tn.height)}}var _n;if(Gt&&dt){var Gn=ue.fontMetrics().bigOpSpacing5+dt.elem.height+dt.elem.depth+dt.kern+oe.depth+qe;_n=oa({positionType:"bottom",positionData:Gn,children:[{type:"kern",size:ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:dt.elem,marginLeft:jn(-Le)},{type:"kern",size:dt.kern},{type:"elem",elem:oe},{type:"kern",size:Gt.kern},{type:"elem",elem:Gt.elem,marginLeft:jn(Le)},{type:"kern",size:ue.fontMetrics().bigOpSpacing5}]})}else if(dt){var ar=oe.height-qe;_n=oa({positionType:"top",positionData:ar,children:[{type:"kern",size:ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:dt.elem,marginLeft:jn(-Le)},{type:"kern",size:dt.kern},{type:"elem",elem:oe}]})}else if(Gt){var Yn=oe.depth+qe;_n=oa({positionType:"bottom",positionData:Yn,children:[{type:"elem",elem:oe},{type:"kern",size:Gt.kern},{type:"elem",elem:Gt.elem,marginLeft:jn(Le)},{type:"kern",size:ue.fontMetrics().bigOpSpacing5}]})}else return oe;var Cr=[_n];if(dt&&Le!==0&&!st){var Ar=Ln(["mspace"],[],ue);Ar.style.marginRight=jn(Le),Cr.unshift(Ar)}return Ln(["mop","op-limits"],Cr,ue)},Bn=new Set(["\\smallint"]),yn=(oe,z)=>{var te,ue,Se=!1,Le;oe.type==="supsub"?(te=oe.sup,ue=oe.sub,Le=ni(oe.base,"op"),Se=!0):Le=ni(oe,"op");var qe=z.style,st=!1;qe.size===Ct.DISPLAY.size&&Le.symbol&&!Bn.has(Le.name)&&(st=!0);var dt;if(Le.symbol){var Gt=st?"Size2-Regular":"Size1-Regular",ln="";if((Le.name==="\\oiint"||Le.name==="\\oiiint")&&(ln=Le.name.slice(1),Le.name=ln==="oiint"?"\\iint":"\\iiint"),dt=kr(Le.name,Gt,"math",z,["mop","op-symbol",st?"large-op":"small-op"]),ln.length>0){var Tn=dt.italic,_n=Ua(ln+"Size"+(st?"2":"1"),z);dt=oa({positionType:"individualShift",children:[{type:"elem",elem:dt,shift:0},{type:"elem",elem:_n,shift:st?.08:0}]}),Le.name="\\"+ln,dt.classes.unshift("mop"),dt.italic=Tn}}else if(Le.body){var Gn=Ia(Le.body,z,!0);Gn.length===1&&Gn[0]instanceof _r?(dt=Gn[0],dt.classes[0]="mop"):dt=Ln(["mop"],Gn,z)}else{for(var ar=[],Yn=1;Yn{var te;if(oe.symbol)te=new gr("mo",[Ai(oe.name,oe.mode)]),Bn.has(oe.name)&&te.setAttribute("largeop","false");else if(oe.body)te=new gr("mo",ki(oe.body,z));else{te=new gr("mi",[new Oa(oe.name.slice(1))]);var ue=new gr("mo",[Ai("\u2061","text")]);oe.parentIsSupSub?te=new gr("mrow",[te,ue]):te=Pa([te,ue])}return te},$n={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Or({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Se=ue;return Se.length===1&&(Se=$n[Se]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Se}},htmlBuilder:yn,mathmlBuilder:Zn}),Or({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ha(ue)}},htmlBuilder:yn,mathmlBuilder:Zn});var In={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Or({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(oe){var{parser:z,funcName:te}=oe;return{type:"op",mode:z.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:yn,mathmlBuilder:Zn}),Or({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(oe){var{parser:z,funcName:te}=oe;return{type:"op",mode:z.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:yn,mathmlBuilder:Zn}),Or({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0,allowedInArgument:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=te;return ue.length===1&&(ue=In[ue]),{type:"op",mode:z.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:ue}},htmlBuilder:yn,mathmlBuilder:Zn});var Ra=(oe,z)=>{var te,ue,Se=!1,Le;oe.type==="supsub"?(te=oe.sup,ue=oe.sub,Le=ni(oe.base,"operatorname"),Se=!0):Le=ni(oe,"operatorname");var qe;if(Le.body.length>0){for(var st=Le.body.map(Tn=>{var _n=Tn.text;return typeof _n=="string"?{type:"textord",mode:Tn.mode,text:_n}:Tn}),dt=Ia(st,z.withFont("mathrm"),!0),Gt=0;Gt{for(var te=ki(oe.body,z.withFont("mathrm")),ue=!0,Se=0;Seln.toText()).join("");te=[new Oa(st)]}var dt=new gr("mi",te);dt.setAttribute("mathvariant","normal");var Gt=new gr("mo",[Ai("\u2061","text")]);return oe.parentIsSupSub?new gr("mrow",[dt,Gt]):Pa([dt,Gt])};Or({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Se=z[0];return{type:"operatorname",mode:te.mode,body:ha(Se),alwaysHandleSupSub:ue==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ra,mathmlBuilder:Ka}),jt("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),mi({type:"ordgroup",htmlBuilder(oe,z){return oe.semisimple?yr(Ia(oe.body,z,!1)):Ln(["mord"],Ia(oe.body,z,!0),z)},mathmlBuilder(oe,z){return ro(oe.body,z,!0)}}),Or({type:"overline",names:["\\overline"],props:{numArgs:1},handler(oe,z){var{parser:te}=oe,ue=z[0];return{type:"overline",mode:te.mode,body:ue}},htmlBuilder(oe,z){var te=Va(oe.body,z.havingCrampedStyle()),ue=lr("overline-line",z),Se=z.fontMetrics().defaultRuleThickness,Le=oa({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Se},{type:"elem",elem:ue},{type:"kern",size:Se}]});return Ln(["mord","overline"],[Le],z)},mathmlBuilder(oe,z){var te=new gr("mo",[new Oa("\u203E")]);te.setAttribute("stretchy","true");var ue=new gr("mover",[vi(oe.body,z),te]);return ue.setAttribute("accent","true"),ue}}),Or({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"phantom",mode:te.mode,body:ha(ue)}},htmlBuilder:(oe,z)=>{var te=Ia(oe.body,z.withPhantom(),!1);return yr(te)},mathmlBuilder:(oe,z)=>{var te=ki(oe.body,z);return new gr("mphantom",te)}}),Or({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"hphantom",mode:te.mode,body:ue}},htmlBuilder:(oe,z)=>{var te=Ln([],[Va(oe.body,z.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var ue=0;ue{var te=ki(ha(oe.body),z),ue=new gr("mphantom",te),Se=new gr("mpadded",[ue]);return Se.setAttribute("height","0px"),Se.setAttribute("depth","0px"),Se}}),Or({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"vphantom",mode:te.mode,body:ue}},htmlBuilder:(oe,z)=>{var te=Ln(["inner"],[Va(oe.body,z.withPhantom())]),ue=Ln(["fix"],[]);return Ln(["mord","rlap"],[te,ue],z)},mathmlBuilder:(oe,z)=>{var te=ki(ha(oe.body),z),ue=new gr("mphantom",te),Se=new gr("mpadded",[ue]);return Se.setAttribute("width","0px"),Se}}),Or({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(oe,z){var{parser:te}=oe,ue=ni(z[0],"size").value,Se=z[1];return{type:"raisebox",mode:te.mode,dy:ue,body:Se}},htmlBuilder(oe,z){var te=Va(oe.body,z),ue=sr(oe.dy,z);return oa({positionType:"shift",positionData:-ue,children:[{type:"elem",elem:te}]})},mathmlBuilder(oe,z){var te=new gr("mpadded",[vi(oe.body,z)]),ue=oe.dy.number+oe.dy.unit;return te.setAttribute("voffset",ue),te}}),Or({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(oe){var{parser:z}=oe;return{type:"internal",mode:z.mode}}}),Or({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(oe,z,te){var{parser:ue}=oe,Se=te[0],Le=ni(z[0],"size"),qe=ni(z[1],"size");return{type:"rule",mode:ue.mode,shift:Se&&ni(Se,"size").value,width:Le.value,height:qe.value}},htmlBuilder(oe,z){var te=Ln(["mord","rule"],[],z),ue=sr(oe.width,z),Se=sr(oe.height,z),Le=oe.shift?sr(oe.shift,z):0;return te.style.borderRightWidth=jn(ue),te.style.borderTopWidth=jn(Se),te.style.bottom=jn(Le),te.width=ue,te.height=Se+Le,te.depth=-Le,te.maxFontSize=Se*1.125*z.sizeMultiplier,te},mathmlBuilder(oe,z){var te=sr(oe.width,z),ue=sr(oe.height,z),Se=oe.shift?sr(oe.shift,z):0,Le=z.color&&z.getColor()||"black",qe=new gr("mspace");qe.setAttribute("mathbackground",Le),qe.setAttribute("width",jn(te)),qe.setAttribute("height",jn(ue));var st=new gr("mpadded",[qe]);return Se>=0?st.setAttribute("height",jn(Se)):(st.setAttribute("height",jn(Se)),st.setAttribute("depth",jn(-Se))),st.setAttribute("voffset",jn(Se)),st}});function pi(oe,z,te){for(var ue=Ia(oe,z,!1),Se=z.sizeMultiplier/te.sizeMultiplier,Le=0;Le{var te=z.havingSize(oe.size);return pi(oe.body,te,z)};Or({type:"sizing",names:ya,props:{numArgs:0,allowedInText:!0},handler:(oe,z)=>{var{breakOnTokenText:te,funcName:ue,parser:Se}=oe,Le=Se.parseExpression(!1,te);return{type:"sizing",mode:Se.mode,size:ya.indexOf(ue)+1,body:Le}},htmlBuilder:di,mathmlBuilder:(oe,z)=>{var te=z.havingSize(oe.size),ue=ki(oe.body,te),Se=new gr("mstyle",ue);return Se.setAttribute("mathsize",jn(te.sizeMultiplier)),Se}}),Or({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(oe,z,te)=>{var{parser:ue}=oe,Se=!1,Le=!1,qe=te[0]&&ni(te[0],"ordgroup");if(qe)for(var st="",dt=0;dt{var te=Ln([],[Va(oe.body,z)]);if(!oe.smashHeight&&!oe.smashDepth)return te;if(oe.smashHeight&&(te.height=0,te.children))for(var ue=0;ue{var te=new gr("mpadded",[vi(oe.body,z)]);return oe.smashHeight&&te.setAttribute("height","0px"),oe.smashDepth&&te.setAttribute("depth","0px"),te}}),Or({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(oe,z,te){var{parser:ue}=oe,Se=te[0],Le=z[0];return{type:"sqrt",mode:ue.mode,body:Le,index:Se}},htmlBuilder(oe,z){var te=Va(oe.body,z.havingCrampedStyle());te.height===0&&(te.height=z.fontMetrics().xHeight),te=Mr(te,z);var ue=z.fontMetrics(),Se=ue.defaultRuleThickness,Le=Se;z.style.idte.height+te.depth+qe&&(qe=(qe+Tn-te.height-te.depth)/2);var _n=dt.height-te.height-qe-Gt;te.style.paddingLeft=jn(ln);var Gn=oa({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+_n)},{type:"elem",elem:dt},{type:"kern",size:Gt}]});if(oe.index){var ar=z.havingStyle(Ct.SCRIPTSCRIPT),Yn=Va(oe.index,ar,z),Cr=.6*(Gn.height-Gn.depth),Ar=oa({positionType:"shift",positionData:-Cr,children:[{type:"elem",elem:Yn}]}),Br=Ln(["root"],[Ar]);return Ln(["mord","sqrt"],[Br,Gn],z)}else return Ln(["mord","sqrt"],[Gn],z)},mathmlBuilder(oe,z){var{body:te,index:ue}=oe;return ue?new gr("mroot",[vi(te,z),vi(ue,z)]):new gr("msqrt",[vi(te,z)])}});var La={display:Ct.DISPLAY,text:Ct.TEXT,script:Ct.SCRIPT,scriptscript:Ct.SCRIPTSCRIPT};Or({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe,z){var{breakOnTokenText:te,funcName:ue,parser:Se}=oe,Le=Se.parseExpression(!0,te),qe=ue.slice(1,ue.length-5);return{type:"styling",mode:Se.mode,style:qe,body:Le}},htmlBuilder(oe,z){var te=La[oe.style],ue=z.havingStyle(te).withFont("");return pi(oe.body,ue,z)},mathmlBuilder(oe,z){var te=La[oe.style],ue=z.havingStyle(te),Se=ki(oe.body,ue),Le=new gr("mstyle",Se),qe={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},st=qe[oe.style];return Le.setAttribute("scriptlevel",st[0]),Le.setAttribute("displaystyle",st[1]),Le}});var _i=function(z,te){var ue=z.base;if(ue)if(ue.type==="op"){var Se=ue.limits&&(te.style.size===Ct.DISPLAY.size||ue.alwaysHandleSupSub);return Se?yn:null}else if(ue.type==="operatorname"){var Le=ue.alwaysHandleSupSub&&(te.style.size===Ct.DISPLAY.size||ue.limits);return Le?Ra:null}else{if(ue.type==="accent")return on(ue.base)?$o:null;if(ue.type==="horizBrace"){var qe=!z.sub;return qe===ue.isOver?ht:null}else return null}else return null};mi({type:"supsub",htmlBuilder(oe,z){var te=_i(oe,z);if(te)return te(oe,z);var{base:ue,sup:Se,sub:Le}=oe,qe=Va(ue,z),st,dt,Gt=z.fontMetrics(),ln=0,Tn=0,_n=ue&&on(ue);if(Se){var Gn=z.havingStyle(z.style.sup());st=Va(Se,Gn,z),_n||(ln=qe.height-Gn.fontMetrics().supDrop*Gn.sizeMultiplier/z.sizeMultiplier)}if(Le){var ar=z.havingStyle(z.style.sub());dt=Va(Le,ar,z),_n||(Tn=qe.depth+ar.fontMetrics().subDrop*ar.sizeMultiplier/z.sizeMultiplier)}var Yn;z.style===Ct.DISPLAY?Yn=Gt.sup1:z.style.cramped?Yn=Gt.sup3:Yn=Gt.sup2;var Cr=z.sizeMultiplier,Ar=jn(.5/Gt.ptPerEm/Cr),Br=null;if(dt){var Wr=oe.base&&oe.base.type==="op"&&oe.base.name&&(oe.base.name==="\\oiint"||oe.base.name==="\\oiiint");(qe instanceof _r||Wr)&&(Br=jn(-qe.italic))}var aa;if(st&&dt){ln=Math.max(ln,Yn,st.depth+.25*Gt.xHeight),Tn=Math.max(Tn,Gt.sub2);var ba=Gt.defaultRuleThickness,na=4*ba;if(ln-st.depth-(dt.height-Tn)0&&(ln+=ka,Tn-=ka)}var Ba=[{type:"elem",elem:dt,shift:Tn,marginRight:Ar,marginLeft:Br},{type:"elem",elem:st,shift:-ln,marginRight:Ar}];aa=oa({positionType:"individualShift",children:Ba})}else if(dt){Tn=Math.max(Tn,Gt.sub1,dt.height-.8*Gt.xHeight);var Ga=[{type:"elem",elem:dt,marginLeft:Br,marginRight:Ar}];aa=oa({positionType:"shift",positionData:Tn,children:Ga})}else if(st)ln=Math.max(ln,Yn,st.depth+.25*Gt.xHeight),aa=oa({positionType:"shift",positionData:-ln,children:[{type:"elem",elem:st,marginRight:Ar}]});else throw new Error("supsub must have either sup or sub.");var _a=Ti(qe,"right")||"mord";return Ln([_a],[qe,Ln(["msupsub"],[aa])],z)},mathmlBuilder(oe,z){var te=!1,ue,Se;oe.base&&oe.base.type==="horizBrace"&&(Se=!!oe.sup,Se===oe.base.isOver&&(te=!0,ue=oe.base.isOver)),oe.base&&(oe.base.type==="op"||oe.base.type==="operatorname")&&(oe.base.parentIsSupSub=!0);var Le=[vi(oe.base,z)];oe.sub&&Le.push(vi(oe.sub,z)),oe.sup&&Le.push(vi(oe.sup,z));var qe;if(te)qe=ue?"mover":"munder";else if(oe.sub)if(oe.sup){var Gt=oe.base;Gt&&Gt.type==="op"&&Gt.limits&&z.style===Ct.DISPLAY||Gt&&Gt.type==="operatorname"&&Gt.alwaysHandleSupSub&&(z.style===Ct.DISPLAY||Gt.limits)?qe="munderover":qe="msubsup"}else{var dt=oe.base;dt&&dt.type==="op"&&dt.limits&&(z.style===Ct.DISPLAY||dt.alwaysHandleSupSub)||dt&&dt.type==="operatorname"&&dt.alwaysHandleSupSub&&(dt.limits||z.style===Ct.DISPLAY)?qe="munder":qe="msub"}else{var st=oe.base;st&&st.type==="op"&&st.limits&&(z.style===Ct.DISPLAY||st.alwaysHandleSupSub)||st&&st.type==="operatorname"&&st.alwaysHandleSupSub&&(st.limits||z.style===Ct.DISPLAY)?qe="mover":qe="msup"}return new gr(qe,Le)}}),mi({type:"atom",htmlBuilder(oe,z){return Qr(oe.text,oe.mode,z,["m"+oe.family])},mathmlBuilder(oe,z){var te=new gr("mo",[Ai(oe.text,oe.mode)]);if(oe.family==="bin"){var ue=ho(oe,z);ue==="bold-italic"&&te.setAttribute("mathvariant",ue)}else oe.family==="punct"?te.setAttribute("separator","true"):(oe.family==="open"||oe.family==="close")&&te.setAttribute("stretchy","false");return te}});var bi={mi:"italic",mn:"normal",mtext:"normal"};mi({type:"mathord",htmlBuilder(oe,z){return Jn(oe,z,"mathord")},mathmlBuilder(oe,z){var te=new gr("mi",[Ai(oe.text,oe.mode,z)]),ue=ho(oe,z)||"italic";return ue!==bi[te.type]&&te.setAttribute("mathvariant",ue),te}}),mi({type:"textord",htmlBuilder(oe,z){return Jn(oe,z,"textord")},mathmlBuilder(oe,z){var te=Ai(oe.text,oe.mode,z),ue=ho(oe,z)||"normal",Se;return oe.mode==="text"?Se=new gr("mtext",[te]):/[0-9]/.test(oe.text)?Se=new gr("mn",[te]):oe.text==="\\prime"?Se=new gr("mo",[te]):Se=new gr("mi",[te]),ue!==bi[Se.type]&&Se.setAttribute("mathvariant",ue),Se}});var qr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};mi({type:"spacing",htmlBuilder(oe,z){if(xi.hasOwnProperty(oe.text)){var te=xi[oe.text].className||"";if(oe.mode==="text"){var ue=Jn(oe,z,"textord");return ue.classes.push(te),ue}else return Ln(["mspace",te],[Qr(oe.text,oe.mode,z)],z)}else{if(qr.hasOwnProperty(oe.text))return Ln(["mspace",qr[oe.text]],[],z);throw new Rt('Unknown type of space "'+oe.text+'"')}},mathmlBuilder(oe,z){var te;if(xi.hasOwnProperty(oe.text))te=new gr("mtext",[new Oa("\xA0")]);else{if(qr.hasOwnProperty(oe.text))return new gr("mspace");throw new Rt('Unknown type of space "'+oe.text+'"')}return te}});var yi=()=>{var oe=new gr("mtd",[]);return oe.setAttribute("width","50%"),oe};mi({type:"tag",mathmlBuilder(oe,z){var te=new gr("mtable",[new gr("mtr",[yi(),new gr("mtd",[ro(oe.body,z)]),yi(),new gr("mtd",[ro(oe.tag,z)])])]);return te.setAttribute("width","100%"),te}});var Ci={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ii={"\\textbf":"textbf","\\textmd":"textmd"},To={"\\textit":"textit","\\textup":"textup"},si=(oe,z)=>{var te=oe.font;if(te){if(Ci[te])return z.withTextFontFamily(Ci[te]);if(Ii[te])return z.withTextFontWeight(Ii[te]);if(te==="\\emph")return z.fontShape==="textit"?z.withTextFontShape("textup"):z.withTextFontShape("textit")}else return z;return z.withTextFontShape(To[te])};Or({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Se=z[0];return{type:"text",mode:te.mode,body:ha(Se),font:ue}},htmlBuilder(oe,z){var te=si(oe,z),ue=Ia(oe.body,te,!0);return Ln(["mord","text"],ue,te)},mathmlBuilder(oe,z){var te=si(oe,z);return ro(oe.body,te)}}),Or({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"underline",mode:te.mode,body:z[0]}},htmlBuilder(oe,z){var te=Va(oe.body,z),ue=lr("underline-line",z),Se=z.fontMetrics().defaultRuleThickness,Le=oa({positionType:"top",positionData:te.height,children:[{type:"kern",size:Se},{type:"elem",elem:ue},{type:"kern",size:3*Se},{type:"elem",elem:te}]});return Ln(["mord","underline"],[Le],z)},mathmlBuilder(oe,z){var te=new gr("mo",[new Oa("\u203E")]);te.setAttribute("stretchy","true");var ue=new gr("munder",[vi(oe.body,z),te]);return ue.setAttribute("accentunder","true"),ue}}),Or({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(oe,z){var{parser:te}=oe;return{type:"vcenter",mode:te.mode,body:z[0]}},htmlBuilder(oe,z){var te=Va(oe.body,z),ue=z.fontMetrics().axisHeight,Se=.5*(te.height-ue-(te.depth+ue));return oa({positionType:"shift",positionData:Se,children:[{type:"elem",elem:te}]})},mathmlBuilder(oe,z){return new gr("mpadded",[vi(oe.body,z)],["vcenter"])}}),Or({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(oe,z,te){throw new Rt("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(oe,z){for(var te=x(oe),ue=[],Se=z.havingStyle(z.style.text()),Le=0;Leoe.body.replace(/ /g,oe.star?"\u2423":"\xA0"),ee=ui,Ne=`[ \r - ]`,Ot="\\\\[a-zA-Z@]+",Nn="\\\\[^\uD800-\uDFFF]",cr="("+Ot+")"+Ne+"*",Fr=`\\\\( +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},vn={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Ct={ex:!0,em:!0,mu:!0},pt=function(z){return typeof z!="string"&&(z=z.unit),z in vn||z in Ct||z==="ex"},de=function(z,te){var ue;if(z.unit in vn)ue=vn[z.unit]/te.fontMetrics().ptPerEm/te.sizeMultiplier;else if(z.unit==="mu")ue=te.fontMetrics().cssEmPerMu;else{var Ee;if(te.style.isTight()?Ee=te.havingStyle(te.style.text()):Ee=te,z.unit==="ex")ue=Ee.fontMetrics().xHeight;else if(z.unit==="em")ue=Ee.fontMetrics().quad;else throw new St("Invalid unit: '"+z.unit+"'");Ee!==te&&(ue*=Ee.sizeMultiplier/te.sizeMultiplier)}return Math.min(z.number*ue,te.maxSize)},qt=function(z){return+z.toFixed(4)+"em"},Dn=function(z){return z.filter(te=>te).join(" ")},mn=function(z,te,ue){if(this.classes=z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ue||{},te){te.style.isTight()&&this.classes.push("mtight");var Ee=te.getColor();Ee&&(this.style.color=Ee)}},vr=function(z){var te=document.createElement(z);te.className=Dn(this.classes);for(var ue of Object.keys(this.style))te.style[ue]=this.style[ue];for(var Ee of Object.keys(this.attributes))te.setAttribute(Ee,this.attributes[Ee]);for(var Me=0;Me/=\x00-\x1f]/,ar=function(z){var te="<"+z;this.classes.length&&(te+=' class="'+Tn(Dn(this.classes))+'"');var ue="";for(var Ee of Object.keys(this.style))ue+=Jt(Ee)+":"+this.style[Ee]+";";ue&&(te+=' style="'+Tn(ue)+'"');for(var Me of Object.keys(this.attributes)){if(yr.test(Me))throw new St("Invalid attribute name '"+Me+"'");te+=" "+Me+'="'+Tn(this.attributes[Me])+'"'}te+=">";for(var Xe=0;Xe",te};class Er{constructor(z,te,ue,Ee){mn.call(this,z,ue,Ee),this.children=te||[]}setAttribute(z,te){this.attributes[z]=te}hasClass(z){return this.classes.includes(z)}toNode(){return vr.call(this,"span")}toMarkup(){return ar.call(this,"span")}}class wt{constructor(z,te,ue,Ee){mn.call(this,te,Ee),this.children=ue||[],this.setAttribute("href",z)}setAttribute(z,te){this.attributes[z]=te}hasClass(z){return this.classes.includes(z)}toNode(){return vr.call(this,"a")}toMarkup(){return ar.call(this,"a")}}class Qn{constructor(z,te,ue){this.alt=te,this.src=z,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=ue}hasClass(z){return this.classes.includes(z)}toNode(){var z=document.createElement("img");z.src=this.src,z.alt=this.alt,z.className="mord";for(var te of Object.keys(this.style))z.style[te]=this.style[te];return z}toMarkup(){var z=''+Tn(this.alt)+'0&&(te=document.createElement("span"),te.style.marginRight=qt(this.italic)),this.classes.length>0&&(te=te||document.createElement("span"),te.className=Dn(this.classes));for(var ue of Object.keys(this.style))te=te||document.createElement("span"),te.style[ue]=this.style[ue];return te?(te.appendChild(z),te):z}toMarkup(){var z=!1,te="0&&(ue+="margin-right:"+this.italic+"em;");for(var Ee of Object.keys(this.style))ue+=Jt(Ee)+":"+this.style[Ee]+";";ue&&(z=!0,te+=' style="'+Tn(ue)+'"');var Me=Tn(this.text);return z?(te+=">",te+=Me,te+="",te):Me}}class Yn{constructor(z,te){this.children=z||[],this.attributes=te||{}}toNode(){var z="http://www.w3.org/2000/svg",te=document.createElementNS(z,"svg");for(var ue of Object.keys(this.attributes))te.setAttribute(ue,this.attributes[ue]);for(var Ee=0;Ee':''}}class br{constructor(z){this.attributes=z||{}}toNode(){var z="http://www.w3.org/2000/svg",te=document.createElementNS(z,"line");for(var ue of Object.keys(this.attributes))te.setAttribute(ue,this.attributes[ue]);return te}toMarkup(){var z=" but got "+String(oe)+".")}var $r={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ur={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},aa={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Hr(oe,z){$r[oe]=z}function pa(oe,z,te){if(!$r[z])throw new Error("Font metrics not found for font: "+z+".");var ue=oe.charCodeAt(0),Ee=$r[z][ue];if(!Ee&&oe[0]in aa&&(ue=aa[oe[0]].charCodeAt(0),Ee=$r[z][ue]),!Ee&&te==="text"&&Wt(ue)&&(Ee=$r[z][77]),Ee)return{depth:Ee[0],height:Ee[1],italic:Ee[2],skew:Ee[3],width:Ee[4]}}var ea={};function jn(oe){var z;if(oe>=5?z=0:oe>=3?z=1:z=2,!ea[z]){var te=ea[z]={cssEmPerMu:Ur.quad[z]/18};for(var ue in Ur)Ur.hasOwnProperty(ue)&&(te[ue]=Ur[ue][z])}return ea[z]}var sr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Kr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},zr={math:{},text:{}};function ve(oe,z,te,ue,Ee,Me){zr[oe][Ee]={font:z,group:te,replace:ue},Me&&ue&&(zr[oe][ue]=zr[oe][Ee])}var Ie="math",ut="text",Le="main",He="ams",Vt="accent-token",et="bin",en="close",cn="inner",Xt="mathord",an="op-token",Kt="open",nn="punct",rt="rel",Jn="spacing",Bt="textord";ve(Ie,Le,rt,"\u2261","\\equiv",!0),ve(Ie,Le,rt,"\u227A","\\prec",!0),ve(Ie,Le,rt,"\u227B","\\succ",!0),ve(Ie,Le,rt,"\u223C","\\sim",!0),ve(Ie,Le,rt,"\u22A5","\\perp"),ve(Ie,Le,rt,"\u2AAF","\\preceq",!0),ve(Ie,Le,rt,"\u2AB0","\\succeq",!0),ve(Ie,Le,rt,"\u2243","\\simeq",!0),ve(Ie,Le,rt,"\u2223","\\mid",!0),ve(Ie,Le,rt,"\u226A","\\ll",!0),ve(Ie,Le,rt,"\u226B","\\gg",!0),ve(Ie,Le,rt,"\u224D","\\asymp",!0),ve(Ie,Le,rt,"\u2225","\\parallel"),ve(Ie,Le,rt,"\u22C8","\\bowtie",!0),ve(Ie,Le,rt,"\u2323","\\smile",!0),ve(Ie,Le,rt,"\u2291","\\sqsubseteq",!0),ve(Ie,Le,rt,"\u2292","\\sqsupseteq",!0),ve(Ie,Le,rt,"\u2250","\\doteq",!0),ve(Ie,Le,rt,"\u2322","\\frown",!0),ve(Ie,Le,rt,"\u220B","\\ni",!0),ve(Ie,Le,rt,"\u221D","\\propto",!0),ve(Ie,Le,rt,"\u22A2","\\vdash",!0),ve(Ie,Le,rt,"\u22A3","\\dashv",!0),ve(Ie,Le,rt,"\u220B","\\owns"),ve(Ie,Le,nn,".","\\ldotp"),ve(Ie,Le,nn,"\u22C5","\\cdotp"),ve(Ie,Le,Bt,"#","\\#"),ve(ut,Le,Bt,"#","\\#"),ve(Ie,Le,Bt,"&","\\&"),ve(ut,Le,Bt,"&","\\&"),ve(Ie,Le,Bt,"\u2135","\\aleph",!0),ve(Ie,Le,Bt,"\u2200","\\forall",!0),ve(Ie,Le,Bt,"\u210F","\\hbar",!0),ve(Ie,Le,Bt,"\u2203","\\exists",!0),ve(Ie,Le,Bt,"\u2207","\\nabla",!0),ve(Ie,Le,Bt,"\u266D","\\flat",!0),ve(Ie,Le,Bt,"\u2113","\\ell",!0),ve(Ie,Le,Bt,"\u266E","\\natural",!0),ve(Ie,Le,Bt,"\u2663","\\clubsuit",!0),ve(Ie,Le,Bt,"\u2118","\\wp",!0),ve(Ie,Le,Bt,"\u266F","\\sharp",!0),ve(Ie,Le,Bt,"\u2662","\\diamondsuit",!0),ve(Ie,Le,Bt,"\u211C","\\Re",!0),ve(Ie,Le,Bt,"\u2661","\\heartsuit",!0),ve(Ie,Le,Bt,"\u2111","\\Im",!0),ve(Ie,Le,Bt,"\u2660","\\spadesuit",!0),ve(Ie,Le,Bt,"\xA7","\\S",!0),ve(ut,Le,Bt,"\xA7","\\S"),ve(Ie,Le,Bt,"\xB6","\\P",!0),ve(ut,Le,Bt,"\xB6","\\P"),ve(Ie,Le,Bt,"\u2020","\\dag"),ve(ut,Le,Bt,"\u2020","\\dag"),ve(ut,Le,Bt,"\u2020","\\textdagger"),ve(Ie,Le,Bt,"\u2021","\\ddag"),ve(ut,Le,Bt,"\u2021","\\ddag"),ve(ut,Le,Bt,"\u2021","\\textdaggerdbl"),ve(Ie,Le,en,"\u23B1","\\rmoustache",!0),ve(Ie,Le,Kt,"\u23B0","\\lmoustache",!0),ve(Ie,Le,en,"\u27EF","\\rgroup",!0),ve(Ie,Le,Kt,"\u27EE","\\lgroup",!0),ve(Ie,Le,et,"\u2213","\\mp",!0),ve(Ie,Le,et,"\u2296","\\ominus",!0),ve(Ie,Le,et,"\u228E","\\uplus",!0),ve(Ie,Le,et,"\u2293","\\sqcap",!0),ve(Ie,Le,et,"\u2217","\\ast"),ve(Ie,Le,et,"\u2294","\\sqcup",!0),ve(Ie,Le,et,"\u25EF","\\bigcirc",!0),ve(Ie,Le,et,"\u2219","\\bullet",!0),ve(Ie,Le,et,"\u2021","\\ddagger"),ve(Ie,Le,et,"\u2240","\\wr",!0),ve(Ie,Le,et,"\u2A3F","\\amalg"),ve(Ie,Le,et,"&","\\And"),ve(Ie,Le,rt,"\u27F5","\\longleftarrow",!0),ve(Ie,Le,rt,"\u21D0","\\Leftarrow",!0),ve(Ie,Le,rt,"\u27F8","\\Longleftarrow",!0),ve(Ie,Le,rt,"\u27F6","\\longrightarrow",!0),ve(Ie,Le,rt,"\u21D2","\\Rightarrow",!0),ve(Ie,Le,rt,"\u27F9","\\Longrightarrow",!0),ve(Ie,Le,rt,"\u2194","\\leftrightarrow",!0),ve(Ie,Le,rt,"\u27F7","\\longleftrightarrow",!0),ve(Ie,Le,rt,"\u21D4","\\Leftrightarrow",!0),ve(Ie,Le,rt,"\u27FA","\\Longleftrightarrow",!0),ve(Ie,Le,rt,"\u21A6","\\mapsto",!0),ve(Ie,Le,rt,"\u27FC","\\longmapsto",!0),ve(Ie,Le,rt,"\u2197","\\nearrow",!0),ve(Ie,Le,rt,"\u21A9","\\hookleftarrow",!0),ve(Ie,Le,rt,"\u21AA","\\hookrightarrow",!0),ve(Ie,Le,rt,"\u2198","\\searrow",!0),ve(Ie,Le,rt,"\u21BC","\\leftharpoonup",!0),ve(Ie,Le,rt,"\u21C0","\\rightharpoonup",!0),ve(Ie,Le,rt,"\u2199","\\swarrow",!0),ve(Ie,Le,rt,"\u21BD","\\leftharpoondown",!0),ve(Ie,Le,rt,"\u21C1","\\rightharpoondown",!0),ve(Ie,Le,rt,"\u2196","\\nwarrow",!0),ve(Ie,Le,rt,"\u21CC","\\rightleftharpoons",!0),ve(Ie,He,rt,"\u226E","\\nless",!0),ve(Ie,He,rt,"\uE010","\\@nleqslant"),ve(Ie,He,rt,"\uE011","\\@nleqq"),ve(Ie,He,rt,"\u2A87","\\lneq",!0),ve(Ie,He,rt,"\u2268","\\lneqq",!0),ve(Ie,He,rt,"\uE00C","\\@lvertneqq"),ve(Ie,He,rt,"\u22E6","\\lnsim",!0),ve(Ie,He,rt,"\u2A89","\\lnapprox",!0),ve(Ie,He,rt,"\u2280","\\nprec",!0),ve(Ie,He,rt,"\u22E0","\\npreceq",!0),ve(Ie,He,rt,"\u22E8","\\precnsim",!0),ve(Ie,He,rt,"\u2AB9","\\precnapprox",!0),ve(Ie,He,rt,"\u2241","\\nsim",!0),ve(Ie,He,rt,"\uE006","\\@nshortmid"),ve(Ie,He,rt,"\u2224","\\nmid",!0),ve(Ie,He,rt,"\u22AC","\\nvdash",!0),ve(Ie,He,rt,"\u22AD","\\nvDash",!0),ve(Ie,He,rt,"\u22EA","\\ntriangleleft"),ve(Ie,He,rt,"\u22EC","\\ntrianglelefteq",!0),ve(Ie,He,rt,"\u228A","\\subsetneq",!0),ve(Ie,He,rt,"\uE01A","\\@varsubsetneq"),ve(Ie,He,rt,"\u2ACB","\\subsetneqq",!0),ve(Ie,He,rt,"\uE017","\\@varsubsetneqq"),ve(Ie,He,rt,"\u226F","\\ngtr",!0),ve(Ie,He,rt,"\uE00F","\\@ngeqslant"),ve(Ie,He,rt,"\uE00E","\\@ngeqq"),ve(Ie,He,rt,"\u2A88","\\gneq",!0),ve(Ie,He,rt,"\u2269","\\gneqq",!0),ve(Ie,He,rt,"\uE00D","\\@gvertneqq"),ve(Ie,He,rt,"\u22E7","\\gnsim",!0),ve(Ie,He,rt,"\u2A8A","\\gnapprox",!0),ve(Ie,He,rt,"\u2281","\\nsucc",!0),ve(Ie,He,rt,"\u22E1","\\nsucceq",!0),ve(Ie,He,rt,"\u22E9","\\succnsim",!0),ve(Ie,He,rt,"\u2ABA","\\succnapprox",!0),ve(Ie,He,rt,"\u2246","\\ncong",!0),ve(Ie,He,rt,"\uE007","\\@nshortparallel"),ve(Ie,He,rt,"\u2226","\\nparallel",!0),ve(Ie,He,rt,"\u22AF","\\nVDash",!0),ve(Ie,He,rt,"\u22EB","\\ntriangleright"),ve(Ie,He,rt,"\u22ED","\\ntrianglerighteq",!0),ve(Ie,He,rt,"\uE018","\\@nsupseteqq"),ve(Ie,He,rt,"\u228B","\\supsetneq",!0),ve(Ie,He,rt,"\uE01B","\\@varsupsetneq"),ve(Ie,He,rt,"\u2ACC","\\supsetneqq",!0),ve(Ie,He,rt,"\uE019","\\@varsupsetneqq"),ve(Ie,He,rt,"\u22AE","\\nVdash",!0),ve(Ie,He,rt,"\u2AB5","\\precneqq",!0),ve(Ie,He,rt,"\u2AB6","\\succneqq",!0),ve(Ie,He,rt,"\uE016","\\@nsubseteqq"),ve(Ie,He,et,"\u22B4","\\unlhd"),ve(Ie,He,et,"\u22B5","\\unrhd"),ve(Ie,He,rt,"\u219A","\\nleftarrow",!0),ve(Ie,He,rt,"\u219B","\\nrightarrow",!0),ve(Ie,He,rt,"\u21CD","\\nLeftarrow",!0),ve(Ie,He,rt,"\u21CF","\\nRightarrow",!0),ve(Ie,He,rt,"\u21AE","\\nleftrightarrow",!0),ve(Ie,He,rt,"\u21CE","\\nLeftrightarrow",!0),ve(Ie,He,rt,"\u25B3","\\vartriangle"),ve(Ie,He,Bt,"\u210F","\\hslash"),ve(Ie,He,Bt,"\u25BD","\\triangledown"),ve(Ie,He,Bt,"\u25CA","\\lozenge"),ve(Ie,He,Bt,"\u24C8","\\circledS"),ve(Ie,He,Bt,"\xAE","\\circledR"),ve(ut,He,Bt,"\xAE","\\circledR"),ve(Ie,He,Bt,"\u2221","\\measuredangle",!0),ve(Ie,He,Bt,"\u2204","\\nexists"),ve(Ie,He,Bt,"\u2127","\\mho"),ve(Ie,He,Bt,"\u2132","\\Finv",!0),ve(Ie,He,Bt,"\u2141","\\Game",!0),ve(Ie,He,Bt,"\u2035","\\backprime"),ve(Ie,He,Bt,"\u25B2","\\blacktriangle"),ve(Ie,He,Bt,"\u25BC","\\blacktriangledown"),ve(Ie,He,Bt,"\u25A0","\\blacksquare"),ve(Ie,He,Bt,"\u29EB","\\blacklozenge"),ve(Ie,He,Bt,"\u2605","\\bigstar"),ve(Ie,He,Bt,"\u2222","\\sphericalangle",!0),ve(Ie,He,Bt,"\u2201","\\complement",!0),ve(Ie,He,Bt,"\xF0","\\eth",!0),ve(ut,Le,Bt,"\xF0","\xF0"),ve(Ie,He,Bt,"\u2571","\\diagup"),ve(Ie,He,Bt,"\u2572","\\diagdown"),ve(Ie,He,Bt,"\u25A1","\\square"),ve(Ie,He,Bt,"\u25A1","\\Box"),ve(Ie,He,Bt,"\u25CA","\\Diamond"),ve(Ie,He,Bt,"\xA5","\\yen",!0),ve(ut,He,Bt,"\xA5","\\yen",!0),ve(Ie,He,Bt,"\u2713","\\checkmark",!0),ve(ut,He,Bt,"\u2713","\\checkmark"),ve(Ie,He,Bt,"\u2136","\\beth",!0),ve(Ie,He,Bt,"\u2138","\\daleth",!0),ve(Ie,He,Bt,"\u2137","\\gimel",!0),ve(Ie,He,Bt,"\u03DD","\\digamma",!0),ve(Ie,He,Bt,"\u03F0","\\varkappa"),ve(Ie,He,Kt,"\u250C","\\@ulcorner",!0),ve(Ie,He,en,"\u2510","\\@urcorner",!0),ve(Ie,He,Kt,"\u2514","\\@llcorner",!0),ve(Ie,He,en,"\u2518","\\@lrcorner",!0),ve(Ie,He,rt,"\u2266","\\leqq",!0),ve(Ie,He,rt,"\u2A7D","\\leqslant",!0),ve(Ie,He,rt,"\u2A95","\\eqslantless",!0),ve(Ie,He,rt,"\u2272","\\lesssim",!0),ve(Ie,He,rt,"\u2A85","\\lessapprox",!0),ve(Ie,He,rt,"\u224A","\\approxeq",!0),ve(Ie,He,et,"\u22D6","\\lessdot"),ve(Ie,He,rt,"\u22D8","\\lll",!0),ve(Ie,He,rt,"\u2276","\\lessgtr",!0),ve(Ie,He,rt,"\u22DA","\\lesseqgtr",!0),ve(Ie,He,rt,"\u2A8B","\\lesseqqgtr",!0),ve(Ie,He,rt,"\u2251","\\doteqdot"),ve(Ie,He,rt,"\u2253","\\risingdotseq",!0),ve(Ie,He,rt,"\u2252","\\fallingdotseq",!0),ve(Ie,He,rt,"\u223D","\\backsim",!0),ve(Ie,He,rt,"\u22CD","\\backsimeq",!0),ve(Ie,He,rt,"\u2AC5","\\subseteqq",!0),ve(Ie,He,rt,"\u22D0","\\Subset",!0),ve(Ie,He,rt,"\u228F","\\sqsubset",!0),ve(Ie,He,rt,"\u227C","\\preccurlyeq",!0),ve(Ie,He,rt,"\u22DE","\\curlyeqprec",!0),ve(Ie,He,rt,"\u227E","\\precsim",!0),ve(Ie,He,rt,"\u2AB7","\\precapprox",!0),ve(Ie,He,rt,"\u22B2","\\vartriangleleft"),ve(Ie,He,rt,"\u22B4","\\trianglelefteq"),ve(Ie,He,rt,"\u22A8","\\vDash",!0),ve(Ie,He,rt,"\u22AA","\\Vvdash",!0),ve(Ie,He,rt,"\u2323","\\smallsmile"),ve(Ie,He,rt,"\u2322","\\smallfrown"),ve(Ie,He,rt,"\u224F","\\bumpeq",!0),ve(Ie,He,rt,"\u224E","\\Bumpeq",!0),ve(Ie,He,rt,"\u2267","\\geqq",!0),ve(Ie,He,rt,"\u2A7E","\\geqslant",!0),ve(Ie,He,rt,"\u2A96","\\eqslantgtr",!0),ve(Ie,He,rt,"\u2273","\\gtrsim",!0),ve(Ie,He,rt,"\u2A86","\\gtrapprox",!0),ve(Ie,He,et,"\u22D7","\\gtrdot"),ve(Ie,He,rt,"\u22D9","\\ggg",!0),ve(Ie,He,rt,"\u2277","\\gtrless",!0),ve(Ie,He,rt,"\u22DB","\\gtreqless",!0),ve(Ie,He,rt,"\u2A8C","\\gtreqqless",!0),ve(Ie,He,rt,"\u2256","\\eqcirc",!0),ve(Ie,He,rt,"\u2257","\\circeq",!0),ve(Ie,He,rt,"\u225C","\\triangleq",!0),ve(Ie,He,rt,"\u223C","\\thicksim"),ve(Ie,He,rt,"\u2248","\\thickapprox"),ve(Ie,He,rt,"\u2AC6","\\supseteqq",!0),ve(Ie,He,rt,"\u22D1","\\Supset",!0),ve(Ie,He,rt,"\u2290","\\sqsupset",!0),ve(Ie,He,rt,"\u227D","\\succcurlyeq",!0),ve(Ie,He,rt,"\u22DF","\\curlyeqsucc",!0),ve(Ie,He,rt,"\u227F","\\succsim",!0),ve(Ie,He,rt,"\u2AB8","\\succapprox",!0),ve(Ie,He,rt,"\u22B3","\\vartriangleright"),ve(Ie,He,rt,"\u22B5","\\trianglerighteq"),ve(Ie,He,rt,"\u22A9","\\Vdash",!0),ve(Ie,He,rt,"\u2223","\\shortmid"),ve(Ie,He,rt,"\u2225","\\shortparallel"),ve(Ie,He,rt,"\u226C","\\between",!0),ve(Ie,He,rt,"\u22D4","\\pitchfork",!0),ve(Ie,He,rt,"\u221D","\\varpropto"),ve(Ie,He,rt,"\u25C0","\\blacktriangleleft"),ve(Ie,He,rt,"\u2234","\\therefore",!0),ve(Ie,He,rt,"\u220D","\\backepsilon"),ve(Ie,He,rt,"\u25B6","\\blacktriangleright"),ve(Ie,He,rt,"\u2235","\\because",!0),ve(Ie,He,rt,"\u22D8","\\llless"),ve(Ie,He,rt,"\u22D9","\\gggtr"),ve(Ie,He,et,"\u22B2","\\lhd"),ve(Ie,He,et,"\u22B3","\\rhd"),ve(Ie,He,rt,"\u2242","\\eqsim",!0),ve(Ie,Le,rt,"\u22C8","\\Join"),ve(Ie,He,rt,"\u2251","\\Doteq",!0),ve(Ie,He,et,"\u2214","\\dotplus",!0),ve(Ie,He,et,"\u2216","\\smallsetminus"),ve(Ie,He,et,"\u22D2","\\Cap",!0),ve(Ie,He,et,"\u22D3","\\Cup",!0),ve(Ie,He,et,"\u2A5E","\\doublebarwedge",!0),ve(Ie,He,et,"\u229F","\\boxminus",!0),ve(Ie,He,et,"\u229E","\\boxplus",!0),ve(Ie,He,et,"\u22C7","\\divideontimes",!0),ve(Ie,He,et,"\u22C9","\\ltimes",!0),ve(Ie,He,et,"\u22CA","\\rtimes",!0),ve(Ie,He,et,"\u22CB","\\leftthreetimes",!0),ve(Ie,He,et,"\u22CC","\\rightthreetimes",!0),ve(Ie,He,et,"\u22CF","\\curlywedge",!0),ve(Ie,He,et,"\u22CE","\\curlyvee",!0),ve(Ie,He,et,"\u229D","\\circleddash",!0),ve(Ie,He,et,"\u229B","\\circledast",!0),ve(Ie,He,et,"\u22C5","\\centerdot"),ve(Ie,He,et,"\u22BA","\\intercal",!0),ve(Ie,He,et,"\u22D2","\\doublecap"),ve(Ie,He,et,"\u22D3","\\doublecup"),ve(Ie,He,et,"\u22A0","\\boxtimes",!0),ve(Ie,He,rt,"\u21E2","\\dashrightarrow",!0),ve(Ie,He,rt,"\u21E0","\\dashleftarrow",!0),ve(Ie,He,rt,"\u21C7","\\leftleftarrows",!0),ve(Ie,He,rt,"\u21C6","\\leftrightarrows",!0),ve(Ie,He,rt,"\u21DA","\\Lleftarrow",!0),ve(Ie,He,rt,"\u219E","\\twoheadleftarrow",!0),ve(Ie,He,rt,"\u21A2","\\leftarrowtail",!0),ve(Ie,He,rt,"\u21AB","\\looparrowleft",!0),ve(Ie,He,rt,"\u21CB","\\leftrightharpoons",!0),ve(Ie,He,rt,"\u21B6","\\curvearrowleft",!0),ve(Ie,He,rt,"\u21BA","\\circlearrowleft",!0),ve(Ie,He,rt,"\u21B0","\\Lsh",!0),ve(Ie,He,rt,"\u21C8","\\upuparrows",!0),ve(Ie,He,rt,"\u21BF","\\upharpoonleft",!0),ve(Ie,He,rt,"\u21C3","\\downharpoonleft",!0),ve(Ie,Le,rt,"\u22B6","\\origof",!0),ve(Ie,Le,rt,"\u22B7","\\imageof",!0),ve(Ie,He,rt,"\u22B8","\\multimap",!0),ve(Ie,He,rt,"\u21AD","\\leftrightsquigarrow",!0),ve(Ie,He,rt,"\u21C9","\\rightrightarrows",!0),ve(Ie,He,rt,"\u21C4","\\rightleftarrows",!0),ve(Ie,He,rt,"\u21A0","\\twoheadrightarrow",!0),ve(Ie,He,rt,"\u21A3","\\rightarrowtail",!0),ve(Ie,He,rt,"\u21AC","\\looparrowright",!0),ve(Ie,He,rt,"\u21B7","\\curvearrowright",!0),ve(Ie,He,rt,"\u21BB","\\circlearrowright",!0),ve(Ie,He,rt,"\u21B1","\\Rsh",!0),ve(Ie,He,rt,"\u21CA","\\downdownarrows",!0),ve(Ie,He,rt,"\u21BE","\\upharpoonright",!0),ve(Ie,He,rt,"\u21C2","\\downharpoonright",!0),ve(Ie,He,rt,"\u21DD","\\rightsquigarrow",!0),ve(Ie,He,rt,"\u21DD","\\leadsto"),ve(Ie,He,rt,"\u21DB","\\Rrightarrow",!0),ve(Ie,He,rt,"\u21BE","\\restriction"),ve(Ie,Le,Bt,"\u2018","`"),ve(Ie,Le,Bt,"$","\\$"),ve(ut,Le,Bt,"$","\\$"),ve(ut,Le,Bt,"$","\\textdollar"),ve(Ie,Le,Bt,"%","\\%"),ve(ut,Le,Bt,"%","\\%"),ve(Ie,Le,Bt,"_","\\_"),ve(ut,Le,Bt,"_","\\_"),ve(ut,Le,Bt,"_","\\textunderscore"),ve(Ie,Le,Bt,"\u2220","\\angle",!0),ve(Ie,Le,Bt,"\u221E","\\infty",!0),ve(Ie,Le,Bt,"\u2032","\\prime"),ve(Ie,Le,Bt,"\u25B3","\\triangle"),ve(Ie,Le,Bt,"\u0393","\\Gamma",!0),ve(Ie,Le,Bt,"\u0394","\\Delta",!0),ve(Ie,Le,Bt,"\u0398","\\Theta",!0),ve(Ie,Le,Bt,"\u039B","\\Lambda",!0),ve(Ie,Le,Bt,"\u039E","\\Xi",!0),ve(Ie,Le,Bt,"\u03A0","\\Pi",!0),ve(Ie,Le,Bt,"\u03A3","\\Sigma",!0),ve(Ie,Le,Bt,"\u03A5","\\Upsilon",!0),ve(Ie,Le,Bt,"\u03A6","\\Phi",!0),ve(Ie,Le,Bt,"\u03A8","\\Psi",!0),ve(Ie,Le,Bt,"\u03A9","\\Omega",!0),ve(Ie,Le,Bt,"A","\u0391"),ve(Ie,Le,Bt,"B","\u0392"),ve(Ie,Le,Bt,"E","\u0395"),ve(Ie,Le,Bt,"Z","\u0396"),ve(Ie,Le,Bt,"H","\u0397"),ve(Ie,Le,Bt,"I","\u0399"),ve(Ie,Le,Bt,"K","\u039A"),ve(Ie,Le,Bt,"M","\u039C"),ve(Ie,Le,Bt,"N","\u039D"),ve(Ie,Le,Bt,"O","\u039F"),ve(Ie,Le,Bt,"P","\u03A1"),ve(Ie,Le,Bt,"T","\u03A4"),ve(Ie,Le,Bt,"X","\u03A7"),ve(Ie,Le,Bt,"\xAC","\\neg",!0),ve(Ie,Le,Bt,"\xAC","\\lnot"),ve(Ie,Le,Bt,"\u22A4","\\top"),ve(Ie,Le,Bt,"\u22A5","\\bot"),ve(Ie,Le,Bt,"\u2205","\\emptyset"),ve(Ie,He,Bt,"\u2205","\\varnothing"),ve(Ie,Le,Xt,"\u03B1","\\alpha",!0),ve(Ie,Le,Xt,"\u03B2","\\beta",!0),ve(Ie,Le,Xt,"\u03B3","\\gamma",!0),ve(Ie,Le,Xt,"\u03B4","\\delta",!0),ve(Ie,Le,Xt,"\u03F5","\\epsilon",!0),ve(Ie,Le,Xt,"\u03B6","\\zeta",!0),ve(Ie,Le,Xt,"\u03B7","\\eta",!0),ve(Ie,Le,Xt,"\u03B8","\\theta",!0),ve(Ie,Le,Xt,"\u03B9","\\iota",!0),ve(Ie,Le,Xt,"\u03BA","\\kappa",!0),ve(Ie,Le,Xt,"\u03BB","\\lambda",!0),ve(Ie,Le,Xt,"\u03BC","\\mu",!0),ve(Ie,Le,Xt,"\u03BD","\\nu",!0),ve(Ie,Le,Xt,"\u03BE","\\xi",!0),ve(Ie,Le,Xt,"\u03BF","\\omicron",!0),ve(Ie,Le,Xt,"\u03C0","\\pi",!0),ve(Ie,Le,Xt,"\u03C1","\\rho",!0),ve(Ie,Le,Xt,"\u03C3","\\sigma",!0),ve(Ie,Le,Xt,"\u03C4","\\tau",!0),ve(Ie,Le,Xt,"\u03C5","\\upsilon",!0),ve(Ie,Le,Xt,"\u03D5","\\phi",!0),ve(Ie,Le,Xt,"\u03C7","\\chi",!0),ve(Ie,Le,Xt,"\u03C8","\\psi",!0),ve(Ie,Le,Xt,"\u03C9","\\omega",!0),ve(Ie,Le,Xt,"\u03B5","\\varepsilon",!0),ve(Ie,Le,Xt,"\u03D1","\\vartheta",!0),ve(Ie,Le,Xt,"\u03D6","\\varpi",!0),ve(Ie,Le,Xt,"\u03F1","\\varrho",!0),ve(Ie,Le,Xt,"\u03C2","\\varsigma",!0),ve(Ie,Le,Xt,"\u03C6","\\varphi",!0),ve(Ie,Le,et,"\u2217","*",!0),ve(Ie,Le,et,"+","+"),ve(Ie,Le,et,"\u2212","-",!0),ve(Ie,Le,et,"\u22C5","\\cdot",!0),ve(Ie,Le,et,"\u2218","\\circ",!0),ve(Ie,Le,et,"\xF7","\\div",!0),ve(Ie,Le,et,"\xB1","\\pm",!0),ve(Ie,Le,et,"\xD7","\\times",!0),ve(Ie,Le,et,"\u2229","\\cap",!0),ve(Ie,Le,et,"\u222A","\\cup",!0),ve(Ie,Le,et,"\u2216","\\setminus",!0),ve(Ie,Le,et,"\u2227","\\land"),ve(Ie,Le,et,"\u2228","\\lor"),ve(Ie,Le,et,"\u2227","\\wedge",!0),ve(Ie,Le,et,"\u2228","\\vee",!0),ve(Ie,Le,Bt,"\u221A","\\surd"),ve(Ie,Le,Kt,"\u27E8","\\langle",!0),ve(Ie,Le,Kt,"\u2223","\\lvert"),ve(Ie,Le,Kt,"\u2225","\\lVert"),ve(Ie,Le,en,"?","?"),ve(Ie,Le,en,"!","!"),ve(Ie,Le,en,"\u27E9","\\rangle",!0),ve(Ie,Le,en,"\u2223","\\rvert"),ve(Ie,Le,en,"\u2225","\\rVert"),ve(Ie,Le,rt,"=","="),ve(Ie,Le,rt,":",":"),ve(Ie,Le,rt,"\u2248","\\approx",!0),ve(Ie,Le,rt,"\u2245","\\cong",!0),ve(Ie,Le,rt,"\u2265","\\ge"),ve(Ie,Le,rt,"\u2265","\\geq",!0),ve(Ie,Le,rt,"\u2190","\\gets"),ve(Ie,Le,rt,">","\\gt",!0),ve(Ie,Le,rt,"\u2208","\\in",!0),ve(Ie,Le,rt,"\uE020","\\@not"),ve(Ie,Le,rt,"\u2282","\\subset",!0),ve(Ie,Le,rt,"\u2283","\\supset",!0),ve(Ie,Le,rt,"\u2286","\\subseteq",!0),ve(Ie,Le,rt,"\u2287","\\supseteq",!0),ve(Ie,He,rt,"\u2288","\\nsubseteq",!0),ve(Ie,He,rt,"\u2289","\\nsupseteq",!0),ve(Ie,Le,rt,"\u22A8","\\models"),ve(Ie,Le,rt,"\u2190","\\leftarrow",!0),ve(Ie,Le,rt,"\u2264","\\le"),ve(Ie,Le,rt,"\u2264","\\leq",!0),ve(Ie,Le,rt,"<","\\lt",!0),ve(Ie,Le,rt,"\u2192","\\rightarrow",!0),ve(Ie,Le,rt,"\u2192","\\to"),ve(Ie,He,rt,"\u2271","\\ngeq",!0),ve(Ie,He,rt,"\u2270","\\nleq",!0),ve(Ie,Le,Jn,"\xA0","\\ "),ve(Ie,Le,Jn,"\xA0","\\space"),ve(Ie,Le,Jn,"\xA0","\\nobreakspace"),ve(ut,Le,Jn,"\xA0","\\ "),ve(ut,Le,Jn,"\xA0"," "),ve(ut,Le,Jn,"\xA0","\\space"),ve(ut,Le,Jn,"\xA0","\\nobreakspace"),ve(Ie,Le,Jn,null,"\\nobreak"),ve(Ie,Le,Jn,null,"\\allowbreak"),ve(Ie,Le,nn,",",","),ve(Ie,Le,nn,";",";"),ve(Ie,He,et,"\u22BC","\\barwedge",!0),ve(Ie,He,et,"\u22BB","\\veebar",!0),ve(Ie,Le,et,"\u2299","\\odot",!0),ve(Ie,Le,et,"\u2295","\\oplus",!0),ve(Ie,Le,et,"\u2297","\\otimes",!0),ve(Ie,Le,Bt,"\u2202","\\partial",!0),ve(Ie,Le,et,"\u2298","\\oslash",!0),ve(Ie,He,et,"\u229A","\\circledcirc",!0),ve(Ie,He,et,"\u22A1","\\boxdot",!0),ve(Ie,Le,et,"\u25B3","\\bigtriangleup"),ve(Ie,Le,et,"\u25BD","\\bigtriangledown"),ve(Ie,Le,et,"\u2020","\\dagger"),ve(Ie,Le,et,"\u22C4","\\diamond"),ve(Ie,Le,et,"\u22C6","\\star"),ve(Ie,Le,et,"\u25C3","\\triangleleft"),ve(Ie,Le,et,"\u25B9","\\triangleright"),ve(Ie,Le,Kt,"{","\\{"),ve(ut,Le,Bt,"{","\\{"),ve(ut,Le,Bt,"{","\\textbraceleft"),ve(Ie,Le,en,"}","\\}"),ve(ut,Le,Bt,"}","\\}"),ve(ut,Le,Bt,"}","\\textbraceright"),ve(Ie,Le,Kt,"{","\\lbrace"),ve(Ie,Le,en,"}","\\rbrace"),ve(Ie,Le,Kt,"[","\\lbrack",!0),ve(ut,Le,Bt,"[","\\lbrack",!0),ve(Ie,Le,en,"]","\\rbrack",!0),ve(ut,Le,Bt,"]","\\rbrack",!0),ve(Ie,Le,Kt,"(","\\lparen",!0),ve(Ie,Le,en,")","\\rparen",!0),ve(ut,Le,Bt,"<","\\textless",!0),ve(ut,Le,Bt,">","\\textgreater",!0),ve(Ie,Le,Kt,"\u230A","\\lfloor",!0),ve(Ie,Le,en,"\u230B","\\rfloor",!0),ve(Ie,Le,Kt,"\u2308","\\lceil",!0),ve(Ie,Le,en,"\u2309","\\rceil",!0),ve(Ie,Le,Bt,"\\","\\backslash"),ve(Ie,Le,Bt,"\u2223","|"),ve(Ie,Le,Bt,"\u2223","\\vert"),ve(ut,Le,Bt,"|","\\textbar",!0),ve(Ie,Le,Bt,"\u2225","\\|"),ve(Ie,Le,Bt,"\u2225","\\Vert"),ve(ut,Le,Bt,"\u2225","\\textbardbl"),ve(ut,Le,Bt,"~","\\textasciitilde"),ve(ut,Le,Bt,"\\","\\textbackslash"),ve(ut,Le,Bt,"^","\\textasciicircum"),ve(Ie,Le,rt,"\u2191","\\uparrow",!0),ve(Ie,Le,rt,"\u21D1","\\Uparrow",!0),ve(Ie,Le,rt,"\u2193","\\downarrow",!0),ve(Ie,Le,rt,"\u21D3","\\Downarrow",!0),ve(Ie,Le,rt,"\u2195","\\updownarrow",!0),ve(Ie,Le,rt,"\u21D5","\\Updownarrow",!0),ve(Ie,Le,an,"\u2210","\\coprod"),ve(Ie,Le,an,"\u22C1","\\bigvee"),ve(Ie,Le,an,"\u22C0","\\bigwedge"),ve(Ie,Le,an,"\u2A04","\\biguplus"),ve(Ie,Le,an,"\u22C2","\\bigcap"),ve(Ie,Le,an,"\u22C3","\\bigcup"),ve(Ie,Le,an,"\u222B","\\int"),ve(Ie,Le,an,"\u222B","\\intop"),ve(Ie,Le,an,"\u222C","\\iint"),ve(Ie,Le,an,"\u222D","\\iiint"),ve(Ie,Le,an,"\u220F","\\prod"),ve(Ie,Le,an,"\u2211","\\sum"),ve(Ie,Le,an,"\u2A02","\\bigotimes"),ve(Ie,Le,an,"\u2A01","\\bigoplus"),ve(Ie,Le,an,"\u2A00","\\bigodot"),ve(Ie,Le,an,"\u222E","\\oint"),ve(Ie,Le,an,"\u222F","\\oiint"),ve(Ie,Le,an,"\u2230","\\oiiint"),ve(Ie,Le,an,"\u2A06","\\bigsqcup"),ve(Ie,Le,an,"\u222B","\\smallint"),ve(ut,Le,cn,"\u2026","\\textellipsis"),ve(Ie,Le,cn,"\u2026","\\mathellipsis"),ve(ut,Le,cn,"\u2026","\\ldots",!0),ve(Ie,Le,cn,"\u2026","\\ldots",!0),ve(Ie,Le,cn,"\u22EF","\\@cdots",!0),ve(Ie,Le,cn,"\u22F1","\\ddots",!0),ve(Ie,Le,Bt,"\u22EE","\\varvdots"),ve(ut,Le,Bt,"\u22EE","\\varvdots"),ve(Ie,Le,Vt,"\u02CA","\\acute"),ve(Ie,Le,Vt,"\u02CB","\\grave"),ve(Ie,Le,Vt,"\xA8","\\ddot"),ve(Ie,Le,Vt,"~","\\tilde"),ve(Ie,Le,Vt,"\u02C9","\\bar"),ve(Ie,Le,Vt,"\u02D8","\\breve"),ve(Ie,Le,Vt,"\u02C7","\\check"),ve(Ie,Le,Vt,"^","\\hat"),ve(Ie,Le,Vt,"\u20D7","\\vec"),ve(Ie,Le,Vt,"\u02D9","\\dot"),ve(Ie,Le,Vt,"\u02DA","\\mathring"),ve(Ie,Le,Xt,"\uE131","\\@imath"),ve(Ie,Le,Xt,"\uE237","\\@jmath"),ve(Ie,Le,Bt,"\u0131","\u0131"),ve(Ie,Le,Bt,"\u0237","\u0237"),ve(ut,Le,Bt,"\u0131","\\i",!0),ve(ut,Le,Bt,"\u0237","\\j",!0),ve(ut,Le,Bt,"\xDF","\\ss",!0),ve(ut,Le,Bt,"\xE6","\\ae",!0),ve(ut,Le,Bt,"\u0153","\\oe",!0),ve(ut,Le,Bt,"\xF8","\\o",!0),ve(ut,Le,Bt,"\xC6","\\AE",!0),ve(ut,Le,Bt,"\u0152","\\OE",!0),ve(ut,Le,Bt,"\xD8","\\O",!0),ve(ut,Le,Vt,"\u02CA","\\'"),ve(ut,Le,Vt,"\u02CB","\\`"),ve(ut,Le,Vt,"\u02C6","\\^"),ve(ut,Le,Vt,"\u02DC","\\~"),ve(ut,Le,Vt,"\u02C9","\\="),ve(ut,Le,Vt,"\u02D8","\\u"),ve(ut,Le,Vt,"\u02D9","\\."),ve(ut,Le,Vt,"\xB8","\\c"),ve(ut,Le,Vt,"\u02DA","\\r"),ve(ut,Le,Vt,"\u02C7","\\v"),ve(ut,Le,Vt,"\xA8",'\\"'),ve(ut,Le,Vt,"\u02DD","\\H"),ve(ut,Le,Vt,"\u25EF","\\textcircled");var rr={"--":!0,"---":!0,"``":!0,"''":!0};ve(ut,Le,Bt,"\u2013","--",!0),ve(ut,Le,Bt,"\u2013","\\textendash"),ve(ut,Le,Bt,"\u2014","---",!0),ve(ut,Le,Bt,"\u2014","\\textemdash"),ve(ut,Le,Bt,"\u2018","`",!0),ve(ut,Le,Bt,"\u2018","\\textquoteleft"),ve(ut,Le,Bt,"\u2019","'",!0),ve(ut,Le,Bt,"\u2019","\\textquoteright"),ve(ut,Le,Bt,"\u201C","``",!0),ve(ut,Le,Bt,"\u201C","\\textquotedblleft"),ve(ut,Le,Bt,"\u201D","''",!0),ve(ut,Le,Bt,"\u201D","\\textquotedblright"),ve(Ie,Le,Bt,"\xB0","\\degree",!0),ve(ut,Le,Bt,"\xB0","\\degree"),ve(ut,Le,Bt,"\xB0","\\textdegree",!0),ve(Ie,Le,Bt,"\xA3","\\pounds"),ve(Ie,Le,Bt,"\xA3","\\mathsterling",!0),ve(ut,Le,Bt,"\xA3","\\pounds"),ve(ut,Le,Bt,"\xA3","\\textsterling",!0),ve(Ie,He,Bt,"\u2720","\\maltese"),ve(ut,He,Bt,"\u2720","\\maltese");for(var Pr='0123456789/@."',Sn=0;Sn{var te=oe.charCodeAt(0),ue=oe.charCodeAt(1),Ee=(te-55296)*1024+(ue-56320)+65536,Me=z==="math"?0:1;if(119808<=Ee&&Ee<120484){var Xe=Math.floor((Ee-119808)/26);return[ca[Xe][2],ca[Xe][Me]]}else if(120782<=Ee&&Ee<=120831){var lt=Math.floor((Ee-120782)/10);return[Xr[lt][2],Xr[lt][Me]]}else{if(Ee===120485||Ee===120486)return[ca[0][2],ca[0][Me]];if(120486te.toText();return this.children.map(z).join("")}}var oa=function(z,te,ue){if(zr[ue][z]){var Ee=zr[ue][z].replace;Ee&&(z=Ee)}return{value:z,metrics:pa(z,te,ue)}},_t=function(z,te,ue,Ee,Me){var Xe=oa(z,te,ue),lt=Xe.metrics;z=Xe.value;var ht;if(lt){var zt=lt.italic;(ue==="text"||Ee&&Ee.font==="mathit")&&(zt=0),ht=new cr(z,lt.height,lt.depth,zt,lt.skew,lt.width,Me)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+z+"' in style '"+te+"' and mode '"+ue+"'")),ht=new cr(z,0,0,0,0,0,Me);if(Ee){ht.maxFontSize=Ee.sizeMultiplier,Ee.style.isTight()&&ht.classes.push("mtight");var sn=Ee.getColor();sn&&(ht.style.color=sn)}return ht},Ea=function(z,te,ue,Ee){return Ee===void 0&&(Ee=[]),ue.font==="boldsymbol"&&oa(z,"Main-Bold",te).metrics?_t(z,"Main-Bold",te,ue,Ee.concat(["mathbf"])):z==="\\"||zr[te][z].font==="main"?_t(z,"Main-Regular",te,ue,Ee):_t(z,"AMS-Regular",te,ue,Ee.concat(["amsrm"]))},ia=function(z,te,ue,Ee,Me){return Me!=="textord"&&oa(z,"Math-BoldItalic",te).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ra=function(z,te,ue){var Ee=z.mode,Me=z.text,Xe=["mord"],lt=Ee==="math"||Ee==="text"&&te.font,ht=lt?te.font:te.fontFamily,zt="",sn="";if(Me.charCodeAt(0)===55349&&([zt,sn]=la(Me,Ee)),zt.length>0)return _t(Me,zt,Ee,te,Xe.concat(sn));if(ht){var An,Fn;if(ht==="boldsymbol"){var Hn=ia(Me,Ee,te,Xe,ue);An=Hn.fontName,Fn=[Hn.fontClass]}else lt?(An=xr[ht].fontName,Fn=[ht]):(An=nr(ht,te.fontWeight,te.fontShape),Fn=[ht,te.fontWeight,te.fontShape]);if(oa(Me,An,Ee).metrics)return _t(Me,An,Ee,te,Xe.concat(Fn));if(rr.hasOwnProperty(Me)&&An.slice(0,10)==="Typewriter"){for(var ir=[],Xn=0;Xn{if(Dn(oe.classes)!==Dn(z.classes)||oe.skew!==z.skew||oe.maxFontSize!==z.maxFontSize||oe.italic!==0&&oe.hasClass("mathnormal"))return!1;if(oe.classes.length===1){var te=oe.classes[0];if(te==="mbin"||te==="mord")return!1}for(var ue of Object.keys(oe.style))if(oe.style[ue]!==z.style[ue])return!1;for(var Ee of Object.keys(z.style))if(oe.style[Ee]!==z.style[Ee])return!1;return!0},ha=oe=>{for(var z=0;zte&&(te=Xe.height),Xe.depth>ue&&(ue=Xe.depth),Xe.maxFontSize>Ee&&(Ee=Xe.maxFontSize)}z.height=te,z.depth=ue,z.maxFontSize=Ee},Gn=function(z,te,ue,Ee){var Me=new Er(z,te,ue,Ee);return Br(Me),Me},Vr=(oe,z,te,ue)=>new Er(oe,z,te,ue),qn=function(z,te,ue){var Ee=Gn([z],[],te);return Ee.height=Math.max(ue||te.fontMetrics().defaultRuleThickness,te.minRuleThickness),Ee.style.borderBottomWidth=qt(Ee.height),Ee.maxFontSize=1,Ee},hr=function(z,te,ue,Ee){var Me=new wt(z,te,ue,Ee);return Br(Me),Me},or=function(z){var te=new _r(z);return Br(te),te},er=function(z,te){return z instanceof _r?Gn([],[z],te):z},Dr=function(z){if(z.positionType==="individualShift"){for(var te=z.children,ue=[te[0]],Ee=-te[0].shift-te[0].elem.depth,Me=Ee,Xe=1;Xe{var te=Gn(["mspace"],[],z),ue=de(oe,z);return te.style.marginRight=qt(ue),te},nr=function(z,te,ue){var Ee="";switch(z){case"amsrm":Ee="AMS";break;case"textrm":Ee="Main";break;case"textsf":Ee="SansSerif";break;case"texttt":Ee="Typewriter";break;default:Ee=z}var Me;return te==="textbf"&&ue==="textit"?Me="BoldItalic":te==="textbf"?Me="Bold":te==="textit"?Me="Italic":Me="Regular",Ee+"-"+Me},xr={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Or={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},ba=function(z,te){var[ue,Ee,Me]=Or[z],Xe=new Sr(ue),lt=new Yn([Xe],{width:qt(Ee),height:qt(Me),style:"width:"+qt(Ee),viewBox:"0 0 "+1e3*Ee+" "+1e3*Me,preserveAspectRatio:"xMinYMin"}),ht=Vr(["overlay"],[lt],te);return ht.height=Me,ht.style.height=qt(Me),ht.style.width=qt(Ee),ht},da={number:3,unit:"mu"},ya={number:4,unit:"mu"},Ma={number:5,unit:"mu"},_a={mord:{mop:da,mbin:ya,mrel:Ma,minner:da},mop:{mord:da,mop:da,mrel:Ma,minner:da},mbin:{mord:ya,mop:ya,mopen:ya,minner:ya},mrel:{mord:Ma,mop:Ma,mopen:Ma,minner:Ma},mopen:{},mclose:{mop:da,mbin:ya,mrel:Ma,minner:da},mpunct:{mord:da,mop:da,mrel:Ma,mopen:da,mclose:da,mpunct:da,minner:da},minner:{mord:da,mop:da,mbin:ya,mrel:Ma,mopen:da,mpunct:da,minner:da}},Na={mord:{mop:da},mop:{mord:da,mop:da},mbin:{},mrel:{},mopen:{},mclose:{mop:da},mpunct:{},minner:{mop:da}},Ha={},Da={},ja={};function Gr(oe){for(var{type:z,names:te,props:ue,handler:Ee,htmlBuilder:Me,mathmlBuilder:Xe}=oe,lt={type:z,numArgs:ue.numArgs,argTypes:ue.argTypes,allowedInArgument:!!ue.allowedInArgument,allowedInText:!!ue.allowedInText,allowedInMath:ue.allowedInMath===void 0?!0:ue.allowedInMath,numOptionalArgs:ue.numOptionalArgs||0,infix:!!ue.infix,primitive:!!ue.primitive,handler:Ee},ht=0;ht{var Cr=Xn.classes[0],Tr=ir.classes[0];Cr==="mbin"&&fi.has(Tr)?Xn.classes[0]="mord":Tr==="mbin"&&li.has(Cr)&&(ir.classes[0]="mord")},{node:An},Fn,Hn),Aa(Me,(ir,Xn)=>{var Cr,Tr,kr=Ba(Xn),jr=Ba(ir),qr=kr&&jr?ir.hasClass("mtight")?(Cr=Na[kr])==null?void 0:Cr[jr]:(Tr=_a[kr])==null?void 0:Tr[jr]:null;if(qr)return ur(qr,zt)},{node:An},Fn,Hn),Me},Aa=function(z,te,ue,Ee,Me){Ee&&z.push(Ee);for(var Xe=0;XeFn=>{z.splice(An+1,0,Fn),Xe++})(Xe)}Ee&&z.pop()},$a=function(z){return z instanceof _r||z instanceof wt||z instanceof Er&&z.hasClass("enclosing")?z:null},Ja=function(z,te){var ue=$a(z);if(ue){var Ee=ue.children;if(Ee.length){if(te==="right")return Ja(Ee[Ee.length-1],"right");if(te==="left")return Ja(Ee[0],"left")}}return z},Ba=function(z,te){if(!z)return null;te&&(z=Ja(z,te));var ue=z.classes[0];return Ni[ue]||null},Xa=function(z,te){var ue=["nulldelimiter"].concat(z.baseSizingClasses());return Gn(te.concat(ue))},ma=function(z,te,ue){if(!z)return Gn();if(Da[z.type]){var Ee=Da[z.type](z,te);if(ue&&te.size!==ue.size){Ee=Gn(te.sizingClasses(ue),[Ee],te);var Me=te.sizeMultiplier/ue.sizeMultiplier;Ee.height*=Me,Ee.depth*=Me}return Ee}else throw new St("Got group of unknown type: '"+z.type+"'")};function xi(oe,z){var te=Gn(["base"],oe,z),ue=Gn(["strut"]);return ue.style.height=qt(te.height+te.depth),te.depth&&(ue.style.verticalAlign=qt(-te.depth)),te.children.unshift(ue),te}function Bi(oe,z){var te=null;oe.length===1&&oe[0].type==="tag"&&(te=oe[0].tag,oe=oe[0].body);var ue=Va(oe,z,"root"),Ee;ue.length===2&&ue[1].hasClass("tag")&&(Ee=ue.pop());for(var Me=[],Xe=[],lt=0;lt0&&(Me.push(xi(Xe,z)),Xe=[]),Me.push(ue[lt]));Xe.length>0&&Me.push(xi(Xe,z));var zt;te?(zt=xi(Va(te,z,!0),z),zt.classes=["tag"],Me.push(zt)):Ee&&Me.push(Ee);var sn=Gn(["katex-html"],Me);if(sn.setAttribute("aria-hidden","true"),zt){var An=zt.children[0];An.style.height=qt(sn.height+sn.depth),sn.depth&&(An.style.verticalAlign=qt(-sn.depth))}return sn}function Fi(oe){return new _r(oe)}class Rr{constructor(z,te,ue){this.type=z,this.attributes={},this.children=te||[],this.classes=ue||[]}setAttribute(z,te){this.attributes[z]=te}getAttribute(z){return this.attributes[z]}toNode(){var z=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,te)&&z.setAttribute(te,this.attributes[te]);this.classes.length>0&&(z.className=Dn(this.classes));for(var ue=0;ue0&&(z+=' class ="'+Tn(Dn(this.classes))+'"'),z+=">";for(var ue=0;ue",z}toText(){return this.children.map(z=>z.toText()).join("")}}class Ti{constructor(z){this.text=z}toNode(){return document.createTextNode(this.text)}toMarkup(){return Tn(this.toText())}toText(){return this.text}}class qi{constructor(z){this.width=z,z>=.05555&&z<=.05556?this.character="\u200A":z>=.1666&&z<=.1667?this.character="\u2009":z>=.2222&&z<=.2223?this.character="\u2005":z>=.2777&&z<=.2778?this.character="\u2005\u200A":z>=-.05556&&z<=-.05555?this.character="\u200A\u2063":z>=-.1667&&z<=-.1666?this.character="\u2009\u2063":z>=-.2223&&z<=-.2222?this.character="\u205F\u2063":z>=-.2778&&z<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var z=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return z.setAttribute("width",qt(this.width)),z}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Ra=new Set(["\\imath","\\jmath"]),Ka=new Set(["mrow","mtable"]),Ca=function(z,te,ue){return zr[te][z]&&zr[te][z].replace&&z.charCodeAt(0)!==55349&&!(rr.hasOwnProperty(z)&&ue&&(ue.fontFamily&&ue.fontFamily.slice(4,6)==="tt"||ue.font&&ue.font.slice(4,6)==="tt"))&&(z=zr[te][z].replace),new Ti(z)},za=function(z){return z.length===1?z[0]:new Rr("mrow",z)},ri=function(z,te){if(te.fontFamily==="texttt")return"monospace";if(te.fontFamily==="textsf")return te.fontShape==="textit"&&te.fontWeight==="textbf"?"sans-serif-bold-italic":te.fontShape==="textit"?"sans-serif-italic":te.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(te.fontShape==="textit"&&te.fontWeight==="textbf")return"bold-italic";if(te.fontShape==="textit")return"italic";if(te.fontWeight==="textbf")return"bold";var ue=te.font;if(!ue||ue==="mathnormal")return null;var Ee=z.mode;if(ue==="mathit")return"italic";if(ue==="boldsymbol")return z.type==="textord"?"bold":"bold-italic";if(ue==="mathbf")return"bold";if(ue==="mathbb")return"double-struck";if(ue==="mathsfit")return"sans-serif-italic";if(ue==="mathfrak")return"fraktur";if(ue==="mathscr"||ue==="mathcal")return"script";if(ue==="mathsf")return"sans-serif";if(ue==="mathtt")return"monospace";var Me=z.text;if(Ra.has(Me))return null;if(zr[Ee][Me]){var Xe=zr[Ee][Me].replace;Xe&&(Me=Xe)}var lt=xr[ue].fontName;return pa(Me,lt,Ee)?xr[ue].variant:null};function ii(oe){if(!oe)return!1;if(oe.type==="mi"&&oe.children.length===1){var z=oe.children[0];return z instanceof Ti&&z.text==="."}else if(oe.type==="mo"&&oe.children.length===1&&oe.getAttribute("separator")==="true"&&oe.getAttribute("lspace")==="0em"&&oe.getAttribute("rspace")==="0em"){var te=oe.children[0];return te instanceof Ti&&te.text===","}else return!1}var ci=function(z,te,ue){if(z.length===1){var Ee=ti(z[0],te);return ue&&Ee instanceof Rr&&Ee.type==="mo"&&(Ee.setAttribute("lspace","0em"),Ee.setAttribute("rspace","0em")),[Ee]}for(var Me=[],Xe,lt=0;lt=1&&(Xe.type==="mn"||ii(Xe))){var zt=ht.children[0];zt instanceof Rr&&zt.type==="mn"&&(zt.children=[...Xe.children,...zt.children],Me.pop())}else if(Xe.type==="mi"&&Xe.children.length===1){var sn=Xe.children[0];if(sn instanceof Ti&&sn.text==="\u0338"&&(ht.type==="mo"||ht.type==="mi"||ht.type==="mn")){var An=ht.children[0];An instanceof Ti&&An.text.length>0&&(An.text=An.text.slice(0,1)+"\u0338"+An.text.slice(1),Me.pop())}}}Me.push(ht),Xe=ht}return Me},ki=function(z,te,ue){return za(ci(z,te,ue))},ti=function(z,te){if(!z)return new Rr("mrow");if(ja[z.type]){var ue=ja[z.type](z,te);return ue}else throw new St("Got group of unknown type: '"+z.type+"'")};function zi(oe,z,te,ue,Ee){var Me=ci(oe,te),Xe;Me.length===1&&Me[0]instanceof Rr&&Ka.has(Me[0].type)?Xe=Me[0]:Xe=new Rr("mrow",Me);var lt=new Rr("annotation",[new Ti(z)]);lt.setAttribute("encoding","application/x-tex");var ht=new Rr("semantics",[Xe,lt]),zt=new Rr("math",[ht]);zt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),ue&&zt.setAttribute("display","block");var sn=Ee?"katex":"katex-mathml";return Gn([sn],[zt])}var yo=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],No=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],so=function(z,te){return te.size<2?z:yo[z-1][te.size-1]};class Ji{constructor(z){this.style=z.style,this.color=z.color,this.size=z.size||Ji.BASESIZE,this.textSize=z.textSize||this.size,this.phantom=!!z.phantom,this.font=z.font||"",this.fontFamily=z.fontFamily||"",this.fontWeight=z.fontWeight||"",this.fontShape=z.fontShape||"",this.sizeMultiplier=No[this.size-1],this.maxSize=z.maxSize,this.minRuleThickness=z.minRuleThickness,this._fontMetrics=void 0}extend(z){var te={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(te,z),new Ji(te)}havingStyle(z){return this.style===z?this:this.extend({style:z,size:so(this.textSize,z)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(z){return this.size===z&&this.textSize===z?this:this.extend({style:this.style.text(),size:z,textSize:z,sizeMultiplier:No[z-1]})}havingBaseStyle(z){z=z||this.style.text();var te=so(Ji.BASESIZE,z);return this.size===te&&this.textSize===Ji.BASESIZE&&this.style===z?this:this.extend({style:z,size:te})}havingBaseSizing(){var z;switch(this.style.id){case 4:case 5:z=3;break;case 6:case 7:z=1;break;default:z=6}return this.extend({style:this.style.text(),size:z})}withColor(z){return this.extend({color:z})}withPhantom(){return this.extend({phantom:!0})}withFont(z){return this.extend({font:z})}withTextFontFamily(z){return this.extend({fontFamily:z,font:""})}withTextFontWeight(z){return this.extend({fontWeight:z,font:""})}withTextFontShape(z){return this.extend({fontShape:z,font:""})}sizingClasses(z){return z.size!==this.size?["sizing","reset-size"+z.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ji.BASESIZE?["sizing","reset-size"+this.size,"size"+Ji.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ji.BASESIZE=6;var Uo=function(z){return new Ji({style:z.displayMode?gt.DISPLAY:gt.TEXT,maxSize:z.maxSize,minRuleThickness:z.minRuleThickness})},Co=function(z,te){if(te.displayMode){var ue=["katex-display"];te.leqno&&ue.push("leqno"),te.fleqn&&ue.push("fleqn"),z=Gn(ue,[z])}return z},Ts=function(z,te,ue){var Ee=Uo(ue),Me;if(ue.output==="mathml")return zi(z,te,Ee,ue.displayMode,!0);if(ue.output==="html"){var Xe=Bi(z,Ee);Me=Gn(["katex"],[Xe])}else{var lt=zi(z,te,Ee,ue.displayMode,!1),ht=Bi(z,Ee);Me=Gn(["katex"],[lt,ht])}return Co(Me,ue)},dl=function(z,te,ue){var Ee=Uo(ue),Me=Bi(z,Ee),Xe=Gn(["katex"],[Me]);return Co(Xe,ue)},Js={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},mo=function(z){var te=new Rr("mo",[new Ti(Js[z.replace(/^\\/,"")])]);return te.setAttribute("stretchy","true"),te},Hi={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},wo=new Set(["widehat","widecheck","widetilde","utilde"]),ps=function(z,te){function ue(){var lt=4e5,ht=z.label.slice(1);if(wo.has(ht)){var zt=z,sn=zt.base.type==="ordgroup"?zt.base.body.length:1,An,Fn,Hn;if(sn>5)ht==="widehat"||ht==="widecheck"?(An=420,lt=2364,Hn=.42,Fn=ht+"4"):(An=312,lt=2340,Hn=.34,Fn="tilde4");else{var ir=[1,1,2,2,3,3][sn];ht==="widehat"||ht==="widecheck"?(lt=[0,1062,2364,2364,2364][ir],An=[0,239,300,360,420][ir],Hn=[0,.24,.3,.3,.36,.42][ir],Fn=ht+ir):(lt=[0,600,1033,2339,2340][ir],An=[0,260,286,306,312][ir],Hn=[0,.26,.286,.3,.306,.34][ir],Fn="tilde"+ir)}var Xn=new Sr(Fn),Cr=new Yn([Xn],{width:"100%",height:qt(Hn),viewBox:"0 0 "+lt+" "+An,preserveAspectRatio:"none"});return{span:Vr([],[Cr],te),minWidth:0,height:Hn}}else{var Tr=[],kr=Hi[ht],[jr,qr,Sa]=kr,na=Sa/1e3,Oa=jr.length,Fa,Ga;if(Oa===1){var ka=kr[3];Fa=["hide-tail"],Ga=[ka]}else if(Oa===2)Fa=["halfarrow-left","halfarrow-right"],Ga=["xMinYMin","xMaxYMin"];else if(Oa===3)Fa=["brace-left","brace-center","brace-right"],Ga=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+Oa+" children.");for(var ni=0;ni0&&(Ee.style.minWidth=qt(Me)),Ee},el=function(z,te,ue,Ee,Me){var Xe,lt=z.height+z.depth+ue+Ee;if(/fbox|color|angl/.test(te)){if(Xe=Gn(["stretchy",te],[],Me),te==="fbox"){var ht=Me.color&&Me.getColor();ht&&(Xe.style.borderColor=ht)}}else{var zt=[];/^[bx]cancel$/.test(te)&&zt.push(new br({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(te)&&zt.push(new br({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var sn=new Yn(zt,{width:"100%",height:qt(lt)});Xe=Vr([],[sn],Me)}return Xe.height=lt,Xe.style.height=qt(lt),Xe};function ai(oe,z){if(!oe||oe.type!==z)throw new Error("Expected node of type "+z+", but got "+(oe?"node of type "+oe.type:String(oe)));return oe}function hs(oe){var z=As(oe);if(!z)throw new Error("Expected node of symbol group type, but got "+(oe?"node of type "+oe.type:String(oe)));return z}function As(oe){return oe&&(oe.type==="atom"||Kr.hasOwnProperty(oe.type))?oe:null}var ns=(oe,z)=>{var te,ue,Ee;oe&&oe.type==="supsub"?(ue=ai(oe.base,"accent"),te=ue.base,oe.base=te,Ee=Jr(ma(oe,z)),oe.base=ue):(ue=ai(oe,"accent"),te=ue.base);var Me=ma(te,z.havingCrampedStyle()),Xe=ue.isShifty&&Se(te),lt=0;if(Xe){var ht=Tt(te),zt=ma(ht,z.havingCrampedStyle());lt=Nr(zt).skew}var sn=ue.label==="\\c",An=sn?Me.height+Me.depth:Math.min(Me.height,z.fontMetrics().xHeight),Fn;if(ue.isStretchy)Fn=ps(ue,z),Fn=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"elem",elem:Fn,wrapperClasses:["svg-align"],wrapperStyle:lt>0?{width:"calc(100% - "+qt(2*lt)+")",marginLeft:qt(2*lt)}:void 0}]});else{var Hn,ir;ue.label==="\\vec"?(Hn=ba("vec",z),ir=Or.vec[1]):(Hn=ra({type:"textord",mode:ue.mode,text:ue.label},z,"textord"),Hn=Nr(Hn),Hn.italic=0,ir=Hn.width,sn&&(An+=Hn.depth)),Fn=Gn(["accent-body"],[Hn]);var Xn=ue.label==="\\textcircled";Xn&&(Fn.classes.push("accent-full"),An=Me.height);var Cr=lt;Xn||(Cr-=ir/2),Fn.style.left=qt(Cr),ue.label==="\\textcircled"&&(Fn.style.top=".2em"),Fn=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"kern",size:-An},{type:"elem",elem:Fn}]})}var Tr=Gn(["mord","accent"],[Fn],z);return Ee?(Ee.children[0]=Tr,Ee.height=Math.max(Tr.height,Ee.height),Ee.classes[0]="mord",Ee):Tr},Is=(oe,z)=>{var te=oe.isStretchy?mo(oe.label):new Rr("mo",[Ca(oe.label,oe.mode)]),ue=new Rr("mover",[ti(oe.base,z),te]);return ue.setAttribute("accent","true"),ue},ms=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(oe=>"\\"+oe).join("|"));Gr({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(oe,z)=>{var te=wi(z[0]),ue=!ms.test(oe.funcName),Ee=!ue||oe.funcName==="\\widehat"||oe.funcName==="\\widetilde"||oe.funcName==="\\widecheck";return{type:"accent",mode:oe.parser.mode,label:oe.funcName,isStretchy:ue,isShifty:Ee,base:te}},htmlBuilder:ns,mathmlBuilder:Is}),Gr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(oe,z)=>{var te=z[0],ue=oe.parser.mode;return ue==="math"&&(oe.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+oe.funcName+" works only in text mode"),ue="text"),{type:"accent",mode:ue,label:oe.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:ns,mathmlBuilder:Is}),Gr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"accentUnder",mode:te.mode,label:ue,base:Ee}},htmlBuilder:(oe,z)=>{var te=ma(oe.base,z),ue=ps(oe,z),Ee=oe.label==="\\utilde"?.12:0,Me=Ar({positionType:"top",positionData:te.height,children:[{type:"elem",elem:ue,wrapperClasses:["svg-align"]},{type:"kern",size:Ee},{type:"elem",elem:te}]});return Gn(["mord","accentunder"],[Me],z)},mathmlBuilder:(oe,z)=>{var te=mo(oe.label),ue=new Rr("munder",[ti(oe.base,z),te]);return ue.setAttribute("accentunder","true"),ue}});var rs=oe=>{var z=new Rr("mpadded",oe?[oe]:[]);return z.setAttribute("width","+0.6em"),z.setAttribute("lspace","0.3em"),z};Gr({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(oe,z,te){var{parser:ue,funcName:Ee}=oe;return{type:"xArrow",mode:ue.mode,label:Ee,body:z[0],below:te[0]}},htmlBuilder(oe,z){var te=z.style,ue=z.havingStyle(te.sup()),Ee=er(ma(oe.body,ue,z),z),Me=oe.label.slice(0,2)==="\\x"?"x":"cd";Ee.classes.push(Me+"-arrow-pad");var Xe;oe.below&&(ue=z.havingStyle(te.sub()),Xe=er(ma(oe.below,ue,z),z),Xe.classes.push(Me+"-arrow-pad"));var lt=ps(oe,z),ht=-z.fontMetrics().axisHeight+.5*lt.height,zt=-z.fontMetrics().axisHeight-.5*lt.height-.111;(Ee.depth>.25||oe.label==="\\xleftequilibrium")&&(zt-=Ee.depth);var sn;if(Xe){var An=-z.fontMetrics().axisHeight+Xe.height+.5*lt.height+.111;sn=Ar({positionType:"individualShift",children:[{type:"elem",elem:Ee,shift:zt},{type:"elem",elem:lt,shift:ht},{type:"elem",elem:Xe,shift:An}]})}else sn=Ar({positionType:"individualShift",children:[{type:"elem",elem:Ee,shift:zt},{type:"elem",elem:lt,shift:ht}]});return sn.children[0].children[0].children[1].classes.push("svg-align"),Gn(["mrel","x-arrow"],[sn],z)},mathmlBuilder(oe,z){var te=mo(oe.label);te.setAttribute("minsize",oe.label.charAt(0)==="x"?"1.75em":"3.0em");var ue;if(oe.body){var Ee=rs(ti(oe.body,z));if(oe.below){var Me=rs(ti(oe.below,z));ue=new Rr("munderover",[te,Me,Ee])}else ue=new Rr("mover",[te,Ee])}else if(oe.below){var Xe=rs(ti(oe.below,z));ue=new Rr("munder",[te,Xe])}else ue=rs(),ue=new Rr("mover",[te,ue]);return ue}});function Ns(oe,z){var te=Va(oe.body,z,!0);return Gn([oe.mclass],te,z)}function Yo(oe,z){var te,ue=ci(oe.body,z);return oe.mclass==="minner"?te=new Rr("mpadded",ue):oe.mclass==="mord"?oe.isCharacterBox?(te=ue[0],te.type="mi"):te=new Rr("mi",ue):(oe.isCharacterBox?(te=ue[0],te.type="mo"):te=new Rr("mo",ue),oe.mclass==="mbin"?(te.attributes.lspace="0.22em",te.attributes.rspace="0.22em"):oe.mclass==="mpunct"?(te.attributes.lspace="0em",te.attributes.rspace="0.17em"):oe.mclass==="mopen"||oe.mclass==="mclose"?(te.attributes.lspace="0em",te.attributes.rspace="0em"):oe.mclass==="minner"&&(te.attributes.lspace="0.0556em",te.attributes.width="+0.1111em")),te}Gr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"mclass",mode:te.mode,mclass:"m"+ue.slice(5),body:Pa(Ee),isCharacterBox:Se(Ee)}},htmlBuilder:Ns,mathmlBuilder:Yo});var zo=oe=>{var z=oe.type==="ordgroup"&&oe.body.length?oe.body[0]:oe;return z.type==="atom"&&(z.family==="bin"||z.family==="rel")?"m"+z.family:"mord"};Gr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(oe,z){var{parser:te}=oe;return{type:"mclass",mode:te.mode,mclass:zo(z[0]),body:Pa(z[1]),isCharacterBox:Se(z[1])}}}),Gr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[1],Me=z[0],Xe;ue!=="\\stackrel"?Xe=zo(Ee):Xe="mrel";var lt={type:"op",mode:Ee.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:ue!=="\\stackrel",body:Pa(Ee)},ht={type:"supsub",mode:Me.mode,base:lt,sup:ue==="\\underset"?null:Me,sub:ue==="\\underset"?Me:null};return{type:"mclass",mode:te.mode,mclass:Xe,body:[ht],isCharacterBox:Se(ht)}},htmlBuilder:Ns,mathmlBuilder:Yo}),Gr({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"pmb",mode:te.mode,mclass:zo(z[0]),body:Pa(z[0])}},htmlBuilder(oe,z){var te=Va(oe.body,z,!0),ue=Gn([oe.mclass],te,z);return ue.style.textShadow="0.02em 0.01em 0.04px",ue},mathmlBuilder(oe,z){var te=ci(oe.body,z),ue=new Rr("mstyle",te);return ue.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),ue}});var tl={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},as=()=>({type:"styling",body:[],mode:"math",style:"display"}),Xi=oe=>oe.type==="textord"&&oe.text==="@",mi=(oe,z)=>(oe.type==="mathord"||oe.type==="atom")&&oe.text===z;function ei(oe,z,te){var ue=tl[oe];switch(ue){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return te.callFunction(ue,[z[0]],[z[1]]);case"\\uparrow":case"\\downarrow":{var Ee=te.callFunction("\\\\cdleft",[z[0]],[]),Me={type:"atom",text:ue,mode:"math",family:"rel"},Xe=te.callFunction("\\Big",[Me],[]),lt=te.callFunction("\\\\cdright",[z[1]],[]),ht={type:"ordgroup",mode:"math",body:[Ee,Xe,lt]};return te.callFunction("\\\\cdparent",[ht],[])}case"\\\\cdlongequal":return te.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var zt={type:"textord",text:"\\Vert",mode:"math"};return te.callFunction("\\Big",[zt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function eo(oe){var z=[];for(oe.gullet.beginGroup(),oe.gullet.macros.set("\\cr","\\\\\\relax"),oe.gullet.beginGroup();;){z.push(oe.parseExpression(!1,"\\\\")),oe.gullet.endGroup(),oe.gullet.beginGroup();var te=oe.fetch().text;if(te==="&"||te==="\\\\")oe.consume();else if(te==="\\end"){z[z.length-1].length===0&&z.pop();break}else throw new St("Expected \\\\ or \\cr or \\end",oe.nextToken)}for(var ue=[],Ee=[ue],Me=0;MeAV".includes(zt))for(var An=0;An<2;An++){for(var Fn=!0,Hn=ht+1;HnAV=|." after @',Xe[ht]);var ir=ei(zt,sn,oe),Xn={type:"styling",body:[ir],mode:"math",style:"display"};ue.push(Xn),lt=as()}Me%2===0?ue.push(lt):ue.shift(),ue=[],Ee.push(ue)}oe.gullet.endGroup(),oe.gullet.endGroup();var Cr=new Array(Ee[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:Ee,arraystretch:1,addJot:!0,rowGaps:[null],cols:Cr,colSeparationType:"CD",hLinesBeforeRow:new Array(Ee.length+1).fill([])}}Gr({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe;return{type:"cdlabel",mode:te.mode,side:ue.slice(4),label:z[0]}},htmlBuilder(oe,z){var te=z.havingStyle(z.style.sup()),ue=er(ma(oe.label,te,z),z);return ue.classes.push("cd-label-"+oe.side),ue.style.bottom=qt(.8-ue.depth),ue.height=0,ue.depth=0,ue},mathmlBuilder(oe,z){var te=new Rr("mrow",[ti(oe.label,z)]);return te=new Rr("mpadded",[te]),te.setAttribute("width","0"),oe.side==="left"&&te.setAttribute("lspace","-1width"),te.setAttribute("voffset","0.7em"),te=new Rr("mstyle",[te]),te.setAttribute("displaystyle","false"),te.setAttribute("scriptlevel","1"),te}}),Gr({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(oe,z){var{parser:te}=oe;return{type:"cdlabelparent",mode:te.mode,fragment:z[0]}},htmlBuilder(oe,z){var te=er(ma(oe.fragment,z),z);return te.classes.push("cd-vert-arrow"),te},mathmlBuilder(oe,z){return new Rr("mrow",[ti(oe.fragment,z)])}}),Gr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(oe,z){for(var{parser:te}=oe,ue=ai(z[0],"ordgroup"),Ee=ue.body,Me="",Xe=0;Xe=1114111)throw new St("\\@char with invalid code point "+Me);return ht<=65535?zt=String.fromCharCode(ht):(ht-=65536,zt=String.fromCharCode((ht>>10)+55296,(ht&1023)+56320)),{type:"textord",mode:te.mode,text:zt}}});var to=(oe,z)=>{var te=Va(oe.body,z.withColor(oe.color),!1);return or(te)},ji=(oe,z)=>{var te=ci(oe.body,z.withColor(oe.color)),ue=new Rr("mstyle",te);return ue.setAttribute("mathcolor",oe.color),ue};Gr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(oe,z){var{parser:te}=oe,ue=ai(z[0],"color-token").color,Ee=z[1];return{type:"color",mode:te.mode,color:ue,body:Pa(Ee)}},htmlBuilder:to,mathmlBuilder:ji}),Gr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(oe,z){var{parser:te,breakOnTokenText:ue}=oe,Ee=ai(z[0],"color-token").color;te.gullet.macros.set("\\current@color",Ee);var Me=te.parseExpression(!0,ue);return{type:"color",mode:te.mode,color:Ee,body:Me}},htmlBuilder:to,mathmlBuilder:ji}),Gr({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(oe,z,te){var{parser:ue}=oe,Ee=ue.gullet.future().text==="["?ue.parseSizeGroup(!0):null,Me=!ue.settings.displayMode||!ue.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:ue.mode,newLine:Me,size:Ee&&ai(Ee,"size").value}},htmlBuilder(oe,z){var te=Gn(["mspace"],[],z);return oe.newLine&&(te.classes.push("newline"),oe.size&&(te.style.marginTop=qt(de(oe.size,z)))),te},mathmlBuilder(oe,z){var te=new Rr("mspace");return oe.newLine&&(te.setAttribute("linebreak","newline"),oe.size&&te.setAttribute("height",qt(de(oe.size,z)))),te}});var _i={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},vo=oe=>{var z=oe.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(z))throw new St("Expected a control sequence",oe);return z},To=oe=>{var z=oe.gullet.popToken();return z.text==="="&&(z=oe.gullet.popToken(),z.text===" "&&(z=oe.gullet.popToken())),z},go=(oe,z,te,ue)=>{var Ee=oe.gullet.macros.get(te.text);Ee==null&&(te.noexpand=!0,Ee={tokens:[te],numArgs:0,unexpandable:!oe.gullet.isExpandable(te.text)}),oe.gullet.macros.set(z,Ee,ue)};Gr({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(oe){var{parser:z,funcName:te}=oe;z.consumeSpaces();var ue=z.fetch();if(_i[ue.text])return(te==="\\global"||te==="\\\\globallong")&&(ue.text=_i[ue.text]),ai(z.parseFunction(),"internal");throw new St("Invalid token after macro prefix",ue)}}),Gr({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=z.gullet.popToken(),Ee=ue.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(Ee))throw new St("Expected a control sequence",ue);for(var Me=0,Xe,lt=[[]];z.gullet.future().text!=="{";)if(ue=z.gullet.popToken(),ue.text==="#"){if(z.gullet.future().text==="{"){Xe=z.gullet.future(),lt[Me].push("{");break}if(ue=z.gullet.popToken(),!/^[1-9]$/.test(ue.text))throw new St('Invalid argument number "'+ue.text+'"');if(parseInt(ue.text)!==Me+1)throw new St('Argument number "'+ue.text+'" out of order');Me++,lt.push([])}else{if(ue.text==="EOF")throw new St("Expected a macro definition");lt[Me].push(ue.text)}var{tokens:ht}=z.gullet.consumeArg();return Xe&&ht.unshift(Xe),(te==="\\edef"||te==="\\xdef")&&(ht=z.gullet.expandTokens(ht),ht.reverse()),z.gullet.macros.set(Ee,{tokens:ht,numArgs:Me,delimiters:lt},te===_i[te]),{type:"internal",mode:z.mode}}}),Gr({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=vo(z.gullet.popToken());z.gullet.consumeSpaces();var Ee=To(z);return go(z,ue,Ee,te==="\\\\globallet"),{type:"internal",mode:z.mode}}}),Gr({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=vo(z.gullet.popToken()),Ee=z.gullet.popToken(),Me=z.gullet.popToken();return go(z,ue,Me,te==="\\\\globalfuture"),z.gullet.pushToken(Me),z.gullet.pushToken(Ee),{type:"internal",mode:z.mode}}});var Wi=function(z,te,ue){var Ee=zr.math[z]&&zr.math[z].replace,Me=pa(Ee||z,te,ue);if(!Me)throw new Error("Unsupported symbol "+z+" and font size "+te+".");return Me},$i=function(z,te,ue,Ee){var Me=ue.havingBaseStyle(te),Xe=Gn(Ee.concat(Me.sizingClasses(ue)),[z],ue),lt=Me.sizeMultiplier/ue.sizeMultiplier;return Xe.height*=lt,Xe.depth*=lt,Xe.maxFontSize=Me.sizeMultiplier,Xe},Eo=function(z,te,ue){var Ee=te.havingBaseStyle(ue),Me=(1-te.sizeMultiplier/Ee.sizeMultiplier)*te.fontMetrics().axisHeight;z.classes.push("delimcenter"),z.style.top=qt(Me),z.height-=Me,z.depth+=Me},Xo=function(z,te,ue,Ee,Me,Xe){var lt=_t(z,"Main-Regular",Me,Ee),ht=$i(lt,te,Ee,Xe);return ue&&Eo(ht,Ee,te),ht},is=function(z,te,ue,Ee){return _t(z,"Size"+te+"-Regular",ue,Ee)},Fs=function(z,te,ue,Ee,Me,Xe){var lt=is(z,te,Me,Ee),ht=$i(Gn(["delimsizing","size"+te],[lt],Ee),gt.TEXT,Ee,Xe);return ue&&Eo(ht,Ee,gt.TEXT),ht},_s=function(z,te,ue){var Ee;te==="Size1-Regular"?Ee="delim-size1":Ee="delim-size4";var Me=Gn(["delimsizinginner",Ee],[Gn([],[_t(z,te,ue)])]);return{type:"elem",elem:Me}},Ho=function(z,te,ue){var Ee=$r["Size4-Regular"][z.charCodeAt(0)]?$r["Size4-Regular"][z.charCodeAt(0)][4]:$r["Size1-Regular"][z.charCodeAt(0)][4],Me=new Sr("inner",kt(z,Math.round(1e3*te))),Xe=new Yn([Me],{width:qt(Ee),height:qt(te),style:"width:"+qt(Ee),viewBox:"0 0 "+1e3*Ee+" "+Math.round(1e3*te),preserveAspectRatio:"xMinYMin"}),lt=Vr([],[Xe],ue);return lt.height=te,lt.style.height=qt(te),lt.style.width=qt(Ee),{type:"elem",elem:lt}},So=.008,Ki={type:"kern",size:-1*So},Ro=new Set(["|","\\lvert","\\rvert","\\vert"]),Oo=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),lo=function(z,te,ue,Ee,Me,Xe){var lt,ht,zt,sn,An="",Fn=0;lt=zt=sn=z,ht=null;var Hn="Size1-Regular";z==="\\uparrow"?zt=sn="\u23D0":z==="\\Uparrow"?zt=sn="\u2016":z==="\\downarrow"?lt=zt="\u23D0":z==="\\Downarrow"?lt=zt="\u2016":z==="\\updownarrow"?(lt="\\uparrow",zt="\u23D0",sn="\\downarrow"):z==="\\Updownarrow"?(lt="\\Uparrow",zt="\u2016",sn="\\Downarrow"):Ro.has(z)?(zt="\u2223",An="vert",Fn=333):Oo.has(z)?(zt="\u2225",An="doublevert",Fn=556):z==="["||z==="\\lbrack"?(lt="\u23A1",zt="\u23A2",sn="\u23A3",Hn="Size4-Regular",An="lbrack",Fn=667):z==="]"||z==="\\rbrack"?(lt="\u23A4",zt="\u23A5",sn="\u23A6",Hn="Size4-Regular",An="rbrack",Fn=667):z==="\\lfloor"||z==="\u230A"?(zt=lt="\u23A2",sn="\u23A3",Hn="Size4-Regular",An="lfloor",Fn=667):z==="\\lceil"||z==="\u2308"?(lt="\u23A1",zt=sn="\u23A2",Hn="Size4-Regular",An="lceil",Fn=667):z==="\\rfloor"||z==="\u230B"?(zt=lt="\u23A5",sn="\u23A6",Hn="Size4-Regular",An="rfloor",Fn=667):z==="\\rceil"||z==="\u2309"?(lt="\u23A4",zt=sn="\u23A5",Hn="Size4-Regular",An="rceil",Fn=667):z==="("||z==="\\lparen"?(lt="\u239B",zt="\u239C",sn="\u239D",Hn="Size4-Regular",An="lparen",Fn=875):z===")"||z==="\\rparen"?(lt="\u239E",zt="\u239F",sn="\u23A0",Hn="Size4-Regular",An="rparen",Fn=875):z==="\\{"||z==="\\lbrace"?(lt="\u23A7",ht="\u23A8",sn="\u23A9",zt="\u23AA",Hn="Size4-Regular"):z==="\\}"||z==="\\rbrace"?(lt="\u23AB",ht="\u23AC",sn="\u23AD",zt="\u23AA",Hn="Size4-Regular"):z==="\\lgroup"||z==="\u27EE"?(lt="\u23A7",sn="\u23A9",zt="\u23AA",Hn="Size4-Regular"):z==="\\rgroup"||z==="\u27EF"?(lt="\u23AB",sn="\u23AD",zt="\u23AA",Hn="Size4-Regular"):z==="\\lmoustache"||z==="\u23B0"?(lt="\u23A7",sn="\u23AD",zt="\u23AA",Hn="Size4-Regular"):(z==="\\rmoustache"||z==="\u23B1")&&(lt="\u23AB",sn="\u23A9",zt="\u23AA",Hn="Size4-Regular");var ir=Wi(lt,Hn,Me),Xn=ir.height+ir.depth,Cr=Wi(zt,Hn,Me),Tr=Cr.height+Cr.depth,kr=Wi(sn,Hn,Me),jr=kr.height+kr.depth,qr=0,Sa=1;if(ht!==null){var na=Wi(ht,Hn,Me);qr=na.height+na.depth,Sa=2}var Oa=Xn+jr+qr,Fa=Math.max(0,Math.ceil((te-Oa)/(Sa*Tr))),Ga=Oa+Fa*Sa*Tr,ka=Ee.fontMetrics().axisHeight;ue&&(ka*=Ee.sizeMultiplier);var ni=Ga/2-ka,Ya=[];if(An.length>0){var Wa=Ga-Xn-jr,mr=Math.round(Ga*1e3),sa=Ft(An,Math.round(Wa*1e3)),Ci=new Sr(An,sa),Gi=(Fn/1e3).toFixed(3)+"em",Fo=(mr/1e3).toFixed(3)+"em",oo=new Yn([Ci],{width:Gi,height:Fo,viewBox:"0 0 "+Fn+" "+mr}),po=Vr([],[oo],Ee);po.height=mr/1e3,po.style.width=Gi,po.style.height=Fo,Ya.push({type:"elem",elem:po})}else{if(Ya.push(_s(sn,Hn,Me)),Ya.push(Ki),ht===null){var vi=Ga-Xn-jr+2*So;Ya.push(Ho(zt,vi,Ee))}else{var es=(Ga-Xn-jr-qr)/2+2*So;Ya.push(Ho(zt,es,Ee)),Ya.push(Ki),Ya.push(_s(ht,Hn,Me)),Ya.push(Ki),Ya.push(Ho(zt,es,Ee))}Ya.push(Ki),Ya.push(_s(lt,Hn,Me))}var Li=Ee.havingBaseStyle(gt.TEXT),Zo=Ar({positionType:"bottom",positionData:ni,children:Ya});return $i(Gn(["delimsizing","mult"],[Zo],Li),gt.TEXT,Ee,Xe)},Rs=80,Us=.08,gs=function(z,te,ue,Ee,Me){var Xe=xn(z,Ee,ue),lt=new Sr(z,Xe),ht=new Yn([lt],{width:"400em",height:qt(te),viewBox:"0 0 400000 "+ue,preserveAspectRatio:"xMinYMin slice"});return Vr(["hide-tail"],[ht],Me)},kl=function(z,te){var ue=te.havingBaseSizing(),Ee=Es("\\surd",z*ue.sizeMultiplier,bs,ue),Me=ue.sizeMultiplier,Xe=Math.max(0,te.minRuleThickness-te.fontMetrics().sqrtRuleThickness),lt,ht=0,zt=0,sn=0,An;return Ee.type==="small"?(sn=1e3+1e3*Xe+Rs,z<1?Me=1:z<1.4&&(Me=.7),ht=(1+Xe+Us)/Me,zt=(1+Xe)/Me,lt=gs("sqrtMain",ht,sn,Xe,te),lt.style.minWidth="0.853em",An=.833/Me):Ee.type==="large"?(sn=(1e3+Rs)*vs[Ee.size],zt=(vs[Ee.size]+Xe)/Me,ht=(vs[Ee.size]+Xe+Us)/Me,lt=gs("sqrtSize"+Ee.size,ht,sn,Xe,te),lt.style.minWidth="1.02em",An=1/Me):(ht=z+Xe+Us,zt=z+Xe,sn=Math.floor(1e3*z+Xe)+Rs,lt=gs("sqrtTall",ht,sn,Xe,te),lt.style.minWidth="0.742em",An=1.056),lt.height=zt,lt.style.height=qt(ht),{span:lt,advanceWidth:An,ruleWidth:(te.fontMetrics().sqrtRuleThickness+Xe)*Me}},nl=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),zs=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),Os=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),vs=[0,1.2,1.8,2.4,3],fl=function(z,te,ue,Ee,Me){if(z==="<"||z==="\\lt"||z==="\u27E8"?z="\\langle":(z===">"||z==="\\gt"||z==="\u27E9")&&(z="\\rangle"),nl.has(z)||Os.has(z))return Fs(z,te,!1,ue,Ee,Me);if(zs.has(z))return lo(z,vs[te],!1,ue,Ee,Me);throw new St("Illegal delimiter: '"+z+"'")},rl=[{type:"small",style:gt.SCRIPTSCRIPT},{type:"small",style:gt.SCRIPT},{type:"small",style:gt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],al=[{type:"small",style:gt.SCRIPTSCRIPT},{type:"small",style:gt.SCRIPT},{type:"small",style:gt.TEXT},{type:"stack"}],bs=[{type:"small",style:gt.SCRIPTSCRIPT},{type:"small",style:gt.SCRIPT},{type:"small",style:gt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ys=function(z){if(z.type==="small")return"Main-Regular";if(z.type==="large")return"Size"+z.size+"-Regular";if(z.type==="stack")return"Size4-Regular";var te=z.type;throw new Error("Add support for delim type '"+te+"' here.")},Es=function(z,te,ue,Ee){for(var Me=Math.min(2,3-Ee.style.size),Xe=Me;Xete)return lt}return ue[ue.length-1]},os=function(z,te,ue,Ee,Me,Xe){z==="<"||z==="\\lt"||z==="\u27E8"?z="\\langle":(z===">"||z==="\\gt"||z==="\u27E9")&&(z="\\rangle");var lt;Os.has(z)?lt=rl:nl.has(z)?lt=bs:lt=al;var ht=Es(z,te,lt,Ee);return ht.type==="small"?Xo(z,ht.style,ue,Ee,Me,Xe):ht.type==="large"?Fs(z,ht.size,ue,Ee,Me,Xe):lo(z,te,ue,Ee,Me,Xe)},Hs=function(z,te,ue,Ee,Me,Xe){var lt=Ee.fontMetrics().axisHeight*Ee.sizeMultiplier,ht=901,zt=5/Ee.fontMetrics().ptPerEm,sn=Math.max(te-lt,ue+lt),An=Math.max(sn/500*ht,2*sn-zt);return os(z,An,!0,Ee,Me,Xe)},pl={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},_l=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function ks(oe,z){var te=As(oe);if(te&&_l.has(te.text))return te;throw te?new St("Invalid delimiter '"+te.text+"' after '"+z.funcName+"'",oe):new St("Invalid delimiter type '"+oe.type+"'",oe)}Gr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(oe,z)=>{var te=ks(z[0],oe);return{type:"delimsizing",mode:oe.parser.mode,size:pl[oe.funcName].size,mclass:pl[oe.funcName].mclass,delim:te.text}},htmlBuilder:(oe,z)=>oe.delim==="."?Gn([oe.mclass]):fl(oe.delim,oe.size,z,oe.mode,[oe.mclass]),mathmlBuilder:oe=>{var z=[];oe.delim!=="."&&z.push(Ca(oe.delim,oe.mode));var te=new Rr("mo",z);oe.mclass==="mopen"||oe.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te.setAttribute("stretchy","true");var ue=qt(vs[oe.size]);return te.setAttribute("minsize",ue),te.setAttribute("maxsize",ue),te}});function Ss(oe){if(!oe.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Gr({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=oe.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new St("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:oe.parser.mode,delim:ks(z[0],oe).text,color:te}}}),Gr({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=ks(z[0],oe),ue=oe.parser;++ue.leftrightDepth;var Ee=ue.parseExpression(!1);--ue.leftrightDepth,ue.expect("\\right",!1);var Me=ai(ue.parseFunction(),"leftright-right");return{type:"leftright",mode:ue.mode,body:Ee,left:te.text,right:Me.delim,rightColor:Me.color}},htmlBuilder:(oe,z)=>{Ss(oe);for(var te=Va(oe.body,z,!0,["mopen","mclose"]),ue=0,Ee=0,Me=!1,Xe=0;Xe{Ss(oe);var te=ci(oe.body,z);if(oe.left!=="."){var ue=new Rr("mo",[Ca(oe.left,oe.mode)]);ue.setAttribute("fence","true"),te.unshift(ue)}if(oe.right!=="."){var Ee=new Rr("mo",[Ca(oe.right,oe.mode)]);Ee.setAttribute("fence","true"),oe.rightColor&&Ee.setAttribute("mathcolor",oe.rightColor),te.push(Ee)}return za(te)}}),Gr({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var te=ks(z[0],oe);if(!oe.parser.leftrightDepth)throw new St("\\middle without preceding \\left",te);return{type:"middle",mode:oe.parser.mode,delim:te.text}},htmlBuilder:(oe,z)=>{var te;if(oe.delim===".")te=Xa(z,[]);else{te=fl(oe.delim,1,z,oe.mode,[]);var ue={delim:oe.delim,options:z};te.isMiddle=ue}return te},mathmlBuilder:(oe,z)=>{var te=oe.delim==="\\vert"||oe.delim==="|"?Ca("|","text"):Ca(oe.delim,oe.mode),ue=new Rr("mo",[te]);return ue.setAttribute("fence","true"),ue.setAttribute("lspace","0.05em"),ue.setAttribute("rspace","0.05em"),ue}});var jo=(oe,z)=>{var te=er(ma(oe.body,z),z),ue=oe.label.slice(1),Ee=z.sizeMultiplier,Me,Xe=0,lt=Se(oe.body);if(ue==="sout")Me=Gn(["stretchy","sout"]),Me.height=z.fontMetrics().defaultRuleThickness/Ee,Xe=-.5*z.fontMetrics().xHeight;else if(ue==="phase"){var ht=de({number:.6,unit:"pt"},z),zt=de({number:.35,unit:"ex"},z),sn=z.havingBaseSizing();Ee=Ee/sn.sizeMultiplier;var An=te.height+te.depth+ht+zt;te.style.paddingLeft=qt(An/2+ht);var Fn=Math.floor(1e3*An*Ee),Hn=ln(Fn),ir=new Yn([new Sr("phase",Hn)],{width:"400em",height:qt(Fn/1e3),viewBox:"0 0 400000 "+Fn,preserveAspectRatio:"xMinYMin slice"});Me=Vr(["hide-tail"],[ir],z),Me.style.height=qt(An),Xe=te.depth+ht+zt}else{/cancel/.test(ue)?lt||te.classes.push("cancel-pad"):ue==="angl"?te.classes.push("anglpad"):te.classes.push("boxpad");var Xn=0,Cr=0,Tr=0;/box/.test(ue)?(Tr=Math.max(z.fontMetrics().fboxrule,z.minRuleThickness),Xn=z.fontMetrics().fboxsep+(ue==="colorbox"?0:Tr),Cr=Xn):ue==="angl"?(Tr=Math.max(z.fontMetrics().defaultRuleThickness,z.minRuleThickness),Xn=4*Tr,Cr=Math.max(0,.25-te.depth)):(Xn=lt?.2:0,Cr=Xn),Me=el(te,ue,Xn,Cr,z),/fbox|boxed|fcolorbox/.test(ue)?(Me.style.borderStyle="solid",Me.style.borderWidth=qt(Tr)):ue==="angl"&&Tr!==.049&&(Me.style.borderTopWidth=qt(Tr),Me.style.borderRightWidth=qt(Tr)),Xe=te.depth+Cr,oe.backgroundColor&&(Me.style.backgroundColor=oe.backgroundColor,oe.borderColor&&(Me.style.borderColor=oe.borderColor))}var kr;if(oe.backgroundColor)kr=Ar({positionType:"individualShift",children:[{type:"elem",elem:Me,shift:Xe},{type:"elem",elem:te,shift:0}]});else{var jr=/cancel|phase/.test(ue)?["svg-align"]:[];kr=Ar({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Me,shift:Xe,wrapperClasses:jr}]})}return/cancel/.test(ue)&&(kr.height=te.height,kr.depth=te.depth),/cancel/.test(ue)&&!lt?Gn(["mord","cancel-lap"],[kr],z):Gn(["mord"],[kr],z)},xs=(oe,z)=>{var te=0,ue=new Rr(oe.label.includes("colorbox")?"mpadded":"menclose",[ti(oe.body,z)]);switch(oe.label){case"\\cancel":ue.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":ue.setAttribute("notation","downdiagonalstrike");break;case"\\phase":ue.setAttribute("notation","phasorangle");break;case"\\sout":ue.setAttribute("notation","horizontalstrike");break;case"\\fbox":ue.setAttribute("notation","box");break;case"\\angl":ue.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(te=z.fontMetrics().fboxsep*z.fontMetrics().ptPerEm,ue.setAttribute("width","+"+2*te+"pt"),ue.setAttribute("height","+"+2*te+"pt"),ue.setAttribute("lspace",te+"pt"),ue.setAttribute("voffset",te+"pt"),oe.label==="\\fcolorbox"){var Ee=Math.max(z.fontMetrics().fboxrule,z.minRuleThickness);ue.setAttribute("style","border: "+Ee+"em solid "+String(oe.borderColor))}break;case"\\xcancel":ue.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return oe.backgroundColor&&ue.setAttribute("mathbackground",oe.backgroundColor),ue};Gr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(oe,z,te){var{parser:ue,funcName:Ee}=oe,Me=ai(z[0],"color-token").color,Xe=z[1];return{type:"enclose",mode:ue.mode,label:Ee,backgroundColor:Me,body:Xe}},htmlBuilder:jo,mathmlBuilder:xs}),Gr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(oe,z,te){var{parser:ue,funcName:Ee}=oe,Me=ai(z[0],"color-token").color,Xe=ai(z[1],"color-token").color,lt=z[2];return{type:"enclose",mode:ue.mode,label:Ee,backgroundColor:Xe,borderColor:Me,body:lt}},htmlBuilder:jo,mathmlBuilder:xs}),Gr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"enclose",mode:te.mode,label:"\\fbox",body:z[0]}}}),Gr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"enclose",mode:te.mode,label:ue,body:Ee}},htmlBuilder:jo,mathmlBuilder:xs}),Gr({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(oe,z){var{parser:te}=oe;return{type:"enclose",mode:te.mode,label:"\\angl",body:z[0]}}});var il={};function uo(oe){for(var{type:z,names:te,props:ue,handler:Ee,htmlBuilder:Me,mathmlBuilder:Xe}=oe,lt={type:z,numArgs:ue.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:Ee},ht=0;ht{var z=oe.parser.settings;if(!z.displayMode)throw new St("{"+oe.envName+"} can be used only in display mode.")},ol=new Set(["gather","gather*"]);function qo(oe){if(!oe.includes("ed"))return!oe.includes("*")}function Jo(oe,z,te){var{hskipBeforeAndAfter:ue,addJot:Ee,cols:Me,arraystretch:Xe,colSeparationType:lt,autoTag:ht,singleRow:zt,emptySingleRow:sn,maxNumCols:An,leqno:Fn}=z;if(oe.gullet.beginGroup(),zt||oe.gullet.macros.set("\\cr","\\\\\\relax"),!Xe){var Hn=oe.gullet.expandMacroAsText("\\arraystretch");if(Hn==null)Xe=1;else if(Xe=parseFloat(Hn),!Xe||Xe<0)throw new St("Invalid \\arraystretch: "+Hn)}oe.gullet.beginGroup();var ir=[],Xn=[ir],Cr=[],Tr=[],kr=ht!=null?[]:void 0;function jr(){ht&&oe.gullet.macros.set("\\@eqnsw","1",!0)}function qr(){kr&&(oe.gullet.macros.get("\\df@tag")?(kr.push(oe.subparse([new Vi("\\df@tag")])),oe.gullet.macros.set("\\df@tag",void 0,!0)):kr.push(!!ht&&oe.gullet.macros.get("\\@eqnsw")==="1"))}for(jr(),Tr.push(Ds(oe));;){var Sa=oe.parseExpression(!1,zt?"\\end":"\\\\");oe.gullet.endGroup(),oe.gullet.beginGroup();var na={type:"ordgroup",mode:oe.mode,body:Sa};te&&(na={type:"styling",mode:oe.mode,style:te,body:[na]}),ir.push(na);var Oa=oe.fetch().text;if(Oa==="&"){if(An&&ir.length===An){if(zt||lt)throw new St("Too many tab characters: &",oe.nextToken);oe.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}oe.consume()}else if(Oa==="\\end"){qr(),ir.length===1&&na.type==="styling"&&na.body.length===1&&na.body[0].type==="ordgroup"&&na.body[0].body.length===0&&(Xn.length>1||!sn)&&Xn.pop(),Tr.length0&&(jr+=.25),zt.push({pos:jr,isDashed:Nl[au]})}for(qr(Xe[0]),ue=0;ue0&&(ni+=kr,OaNl))for(ue=0;ue=lt)){var Si=void 0;if(Ee>0||z.hskipBeforeAndAfter){var ho,ts;Si=(ho=(ts=Li)==null?void 0:ts.pregap)!=null?ho:Fn,Si!==0&&(sa=Gn(["arraycolsep"],[]),sa.style.width=qt(Si),mr.push(sa))}var _o=[];for(ue=0;ue0){for(var Bc=qn("hline",te,sn),$c=qn("hdashline",te,sn),hu=[{type:"elem",elem:ku,shift:0}];zt.length>0;){var Fc=zt.pop(),oc=Fc.pos-Ya;Fc.isDashed?hu.push({type:"elem",elem:$c,shift:oc}):hu.push({type:"elem",elem:Bc,shift:oc})}ku=Ar({positionType:"individualShift",children:hu})}if(Gi.length===0)return Gn(["mord"],[ku],te);var fs=Ar({positionType:"individualShift",children:Gi}),Du=Gn(["tag"],[fs],te);return or([ku,Du])},Ul={c:"center ",l:"left ",r:"right "},io=function(z,te){for(var ue=[],Ee=new Rr("mtd",[],["mtr-glue"]),Me=new Rr("mtd",[],["mml-eqn-num"]),Xe=0;Xe0){var ir=z.cols,Xn="",Cr=!1,Tr=0,kr=ir.length;ir[0].type==="separator"&&(Fn+="top ",Tr=1),ir[ir.length-1].type==="separator"&&(Fn+="bottom ",kr-=1);for(var jr=Tr;jr0?"left ":"",Fn+=Ga[Ga.length-1].length>0?"right ":"";for(var ka=1;ka0&&Hn&&(Cr=1),ue[ir]={type:"align",align:Xn,pregap:Cr,postgap:0}}return Xe.colSeparationType=Hn?"align":"alignat",Xe};uo({type:"array",names:["array","darray"],props:{numArgs:1},handler(oe,z){var te=As(z[0]),ue=te?[z[0]]:ai(z[0],"ordgroup").body,Ee=ue.map(function(Xe){var lt=hs(Xe),ht=lt.text;if("lcr".includes(ht))return{type:"align",align:ht};if(ht==="|")return{type:"separator",separator:"|"};if(ht===":")return{type:"separator",separator:":"};throw new St("Unknown column alignment: "+ht,Xe)}),Me={cols:Ee,hskipBeforeAndAfter:!0,maxNumCols:Ee.length};return Jo(oe.parser,Me,sl(oe.envName))},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(oe){var z={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[oe.envName.replace("*","")],te="c",ue={hskipBeforeAndAfter:!1,cols:[{type:"align",align:te}]};if(oe.envName.charAt(oe.envName.length-1)==="*"){var Ee=oe.parser;if(Ee.consumeSpaces(),Ee.fetch().text==="["){if(Ee.consume(),Ee.consumeSpaces(),te=Ee.fetch().text,!"lcr".includes(te))throw new St("Expected l or c or r",Ee.nextToken);Ee.consume(),Ee.consumeSpaces(),Ee.expect("]"),Ee.consume(),ue.cols=[{type:"align",align:te}]}}var Me=Jo(oe.parser,ue,sl(oe.envName)),Xe=Math.max(0,...Me.body.map(lt=>lt.length));return Me.cols=new Array(Xe).fill({type:"align",align:te}),z?{type:"leftright",mode:oe.mode,body:[Me],left:z[0],right:z[1],rightColor:void 0}:Me},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(oe){var z={arraystretch:.5},te=Jo(oe.parser,z,"script");return te.colSeparationType="small",te},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["subarray"],props:{numArgs:1},handler(oe,z){var te=As(z[0]),ue=te?[z[0]]:ai(z[0],"ordgroup").body,Ee=ue.map(function(lt){var ht=hs(lt),zt=ht.text;if("lc".includes(zt))return{type:"align",align:zt};throw new St("Unknown column alignment: "+zt,lt)});if(Ee.length>1)throw new St("{subarray} can contain only one column");var Me={cols:Ee,hskipBeforeAndAfter:!1,arraystretch:.5},Xe=Jo(oe.parser,Me,"script");if(Xe.body.length>0&&Xe.body[0].length>1)throw new St("{subarray} can contain only one column");return Xe},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(oe){var z={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=Jo(oe.parser,z,sl(oe.envName));return{type:"leftright",mode:oe.mode,body:[te],left:oe.envName.includes("r")?".":"\\{",right:oe.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:ss,htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(oe){ol.has(oe.envName)&&Qo(oe);var z={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:qo(oe.envName),emptySingleRow:!0,leqno:oe.parser.settings.leqno};return Jo(oe.parser,z,"display")},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:ss,htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(oe){Qo(oe);var z={autoTag:qo(oe.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:oe.parser.settings.leqno};return Jo(oe.parser,z,"display")},htmlBuilder:Go,mathmlBuilder:io}),uo({type:"array",names:["CD"],props:{numArgs:0},handler(oe){return Qo(oe),eo(oe.parser)},htmlBuilder:Go,mathmlBuilder:io}),jt("\\nonumber","\\gdef\\@eqnsw{0}"),jt("\\notag","\\nonumber"),Gr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(oe,z){throw new St(oe.funcName+" valid only within array environment")}});var iu=il;Gr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];if(Ee.type!=="ordgroup")throw new St("Invalid environment name",Ee);for(var Me="",Xe=0;Xe{var te=oe.font,ue=z.withFont(te);return ma(oe.body,ue)},Gs=(oe,z)=>{var te=oe.font,ue=z.withFont(te);return ti(oe.body,ue)},Ws={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Gr({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=wi(z[0]),Me=ue;return Me in Ws&&(Me=Ws[Me]),{type:"font",mode:te.mode,font:Me.slice(1),body:Ee}},htmlBuilder:hl,mathmlBuilder:Gs}),Gr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"mclass",mode:te.mode,mclass:zo(ue),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:ue}],isCharacterBox:Se(ue)}}}),Gr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(oe,z)=>{var{parser:te,funcName:ue,breakOnTokenText:Ee}=oe,{mode:Me}=te,Xe=te.parseExpression(!0,Ee),lt="math"+ue.slice(1);return{type:"font",mode:Me,font:lt,body:{type:"ordgroup",mode:te.mode,body:Xe}}},htmlBuilder:hl,mathmlBuilder:Gs});var zl=(oe,z)=>{var te=z.style,ue=te.fracNum(),Ee=te.fracDen(),Me;Me=z.havingStyle(ue);var Xe=ma(oe.numer,Me,z);if(oe.continued){var lt=8.5/z.fontMetrics().ptPerEm,ht=3.5/z.fontMetrics().ptPerEm;Xe.height=Xe.height0?ir=3*Fn:ir=7*Fn,Xn=z.fontMetrics().denom1):(An>0?(Hn=z.fontMetrics().num2,ir=Fn):(Hn=z.fontMetrics().num3,ir=3*Fn),Xn=z.fontMetrics().denom2);var Cr;if(sn){var kr=z.fontMetrics().axisHeight;Hn-Xe.depth-(kr+.5*An){var te=new Rr("mfrac",[ti(oe.numer,z),ti(oe.denom,z)]);if(!oe.hasBarLine)te.setAttribute("linethickness","0px");else if(oe.barSize){var ue=de(oe.barSize,z);te.setAttribute("linethickness",qt(ue))}if(oe.leftDelim!=null||oe.rightDelim!=null){var Ee=[];if(oe.leftDelim!=null){var Me=new Rr("mo",[new Ti(oe.leftDelim.replace("\\",""))]);Me.setAttribute("fence","true"),Ee.push(Me)}if(Ee.push(te),oe.rightDelim!=null){var Xe=new Rr("mo",[new Ti(oe.rightDelim.replace("\\",""))]);Xe.setAttribute("fence","true"),Ee.push(Xe)}return za(Ee)}return te},Ae=(oe,z)=>{if(!z)return oe;var te={type:"styling",mode:oe.mode,style:z,body:[oe]};return te};Gr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0],Me=z[1],Xe,lt=null,ht=null;switch(ue){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Xe=!0;break;case"\\\\atopfrac":Xe=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Xe=!1,lt="(",ht=")";break;case"\\\\bracefrac":Xe=!1,lt="\\{",ht="\\}";break;case"\\\\brackfrac":Xe=!1,lt="[",ht="]";break;default:throw new Error("Unrecognized genfrac command")}var zt=ue==="\\cfrac",sn=null;return zt||ue.startsWith("\\d")?sn="display":ue.startsWith("\\t")&&(sn="text"),Ae({type:"genfrac",mode:te.mode,numer:Ee,denom:Me,continued:zt,hasBarLine:Xe,leftDelim:lt,rightDelim:ht,barSize:null},sn)},htmlBuilder:zl,mathmlBuilder:se}),Gr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(oe){var{parser:z,funcName:te,token:ue}=oe,Ee;switch(te){case"\\over":Ee="\\frac";break;case"\\choose":Ee="\\binom";break;case"\\atop":Ee="\\\\atopfrac";break;case"\\brace":Ee="\\\\bracefrac";break;case"\\brack":Ee="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:z.mode,replaceWith:Ee,token:ue}}});var ke=["display","text","script","scriptscript"],Ue=function(z){var te=null;return z.length>0&&(te=z,te=te==="."?null:te),te};Gr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(oe,z){var{parser:te}=oe,ue=z[4],Ee=z[5],Me=wi(z[0]),Xe=Me.type==="atom"&&Me.family==="open"?Ue(Me.text):null,lt=wi(z[1]),ht=lt.type==="atom"&<.family==="close"?Ue(lt.text):null,zt=ai(z[2],"size"),sn,An=null;zt.isBlank?sn=!0:(An=zt.value,sn=An.number>0);var Fn=null,Hn=z[3];if(Hn.type==="ordgroup"){if(Hn.body.length>0){var ir=ai(Hn.body[0],"textord");Fn=ke[Number(ir.text)]}}else Hn=ai(Hn,"textord"),Fn=ke[Number(Hn.text)];return Ae({type:"genfrac",mode:te.mode,numer:ue,denom:Ee,continued:!1,hasBarLine:sn,barSize:An,leftDelim:Xe,rightDelim:ht},Fn)}}),Gr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(oe,z){var{parser:te,funcName:ue,token:Ee}=oe;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:ai(z[0],"size").value,token:Ee}}}),Gr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0],Me=ai(z[1],"infix").size;if(!Me)throw new Error("\\\\abovefrac expected size, but got "+String(Me));var Xe=z[2],lt=Me.number>0;return{type:"genfrac",mode:te.mode,numer:Ee,denom:Xe,continued:!1,hasBarLine:lt,barSize:Me,leftDelim:null,rightDelim:null}}});var mt=(oe,z)=>{var te=z.style,ue,Ee;oe.type==="supsub"?(ue=oe.sup?ma(oe.sup,z.havingStyle(te.sup()),z):ma(oe.sub,z.havingStyle(te.sub()),z),Ee=ai(oe.base,"horizBrace")):Ee=ai(oe,"horizBrace");var Me=ma(Ee.base,z.havingBaseStyle(gt.DISPLAY)),Xe=ps(Ee,z),lt;if(Ee.isOver?(lt=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:Me},{type:"kern",size:.1},{type:"elem",elem:Xe}]}),lt.children[0].children[0].children[1].classes.push("svg-align")):(lt=Ar({positionType:"bottom",positionData:Me.depth+.1+Xe.height,children:[{type:"elem",elem:Xe},{type:"kern",size:.1},{type:"elem",elem:Me}]}),lt.children[0].children[0].children[0].classes.push("svg-align")),ue){var ht=Gn(["mord",Ee.isOver?"mover":"munder"],[lt],z);Ee.isOver?lt=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:ht},{type:"kern",size:.2},{type:"elem",elem:ue}]}):lt=Ar({positionType:"bottom",positionData:ht.depth+.2+ue.height+ue.depth,children:[{type:"elem",elem:ue},{type:"kern",size:.2},{type:"elem",elem:ht}]})}return Gn(["mord",Ee.isOver?"mover":"munder"],[lt],z)},Et=(oe,z)=>{var te=mo(oe.label);return new Rr(oe.isOver?"mover":"munder",[ti(oe.base,z),te])};Gr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(oe,z){var{parser:te,funcName:ue}=oe;return{type:"horizBrace",mode:te.mode,label:ue,isOver:/^\\over/.test(ue),base:z[0]}},htmlBuilder:mt,mathmlBuilder:Et}),Gr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[1],Ee=ai(z[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Ee})?{type:"href",mode:te.mode,href:Ee,body:Pa(ue)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:(oe,z)=>{var te=Va(oe.body,z,!1);return hr(oe.href,[],te,z)},mathmlBuilder:(oe,z)=>{var te=ki(oe.body,z);return te instanceof Rr||(te=new Rr("mrow",[te])),te.setAttribute("href",oe.href),te}}),Gr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=ai(z[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:ue}))return te.formatUnsupportedCmd("\\url");for(var Ee=[],Me=0;Me{var{parser:te,funcName:ue,token:Ee}=oe,Me=ai(z[0],"raw").string,Xe=z[1];te.settings.strict&&te.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var lt,ht={};switch(ue){case"\\htmlClass":ht.class=Me,lt={command:"\\htmlClass",class:Me};break;case"\\htmlId":ht.id=Me,lt={command:"\\htmlId",id:Me};break;case"\\htmlStyle":ht.style=Me,lt={command:"\\htmlStyle",style:Me};break;case"\\htmlData":{for(var zt=Me.split(","),sn=0;sn{var te=Va(oe.body,z,!1),ue=["enclosing"];oe.attributes.class&&ue.push(...oe.attributes.class.trim().split(/\s+/));var Ee=Gn(ue,te,z);for(var Me in oe.attributes)Me!=="class"&&oe.attributes.hasOwnProperty(Me)&&Ee.setAttribute(Me,oe.attributes[Me]);return Ee},mathmlBuilder:(oe,z)=>ki(oe.body,z)}),Gr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe;return{type:"htmlmathml",mode:te.mode,html:Pa(z[0]),mathml:Pa(z[1])}},htmlBuilder:(oe,z)=>{var te=Va(oe.html,z,!1);return or(te)},mathmlBuilder:(oe,z)=>ki(oe.mathml,z)});var Lt=function(z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(z))return{number:+z,unit:"bp"};var te=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(z);if(!te)throw new St("Invalid size: '"+z+"' in \\includegraphics");var ue={number:+(te[1]+te[2]),unit:te[3]};if(!pt(ue))throw new St("Invalid unit: '"+ue.unit+"' in \\includegraphics.");return ue};Gr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(oe,z,te)=>{var{parser:ue}=oe,Ee={number:0,unit:"em"},Me={number:.9,unit:"em"},Xe={number:0,unit:"em"},lt="";if(te[0])for(var ht=ai(te[0],"raw").string,zt=ht.split(","),sn=0;sn{var te=de(oe.height,z),ue=0;oe.totalheight.number>0&&(ue=de(oe.totalheight,z)-te);var Ee=0;oe.width.number>0&&(Ee=de(oe.width,z));var Me={height:qt(te+ue)};Ee>0&&(Me.width=qt(Ee)),ue>0&&(Me.verticalAlign=qt(-ue));var Xe=new Qn(oe.src,oe.alt,Me);return Xe.height=te,Xe.depth=ue,Xe},mathmlBuilder:(oe,z)=>{var te=new Rr("mglyph",[]);te.setAttribute("alt",oe.alt);var ue=de(oe.height,z),Ee=0;if(oe.totalheight.number>0&&(Ee=de(oe.totalheight,z)-ue,te.setAttribute("valign",qt(-Ee))),te.setAttribute("height",qt(ue+Ee)),oe.width.number>0){var Me=de(oe.width,z);te.setAttribute("width",qt(Me))}return te.setAttribute("src",oe.src),te}}),Gr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=ai(z[0],"size");if(te.settings.strict){var Me=ue[1]==="m",Xe=Ee.value.unit==="mu";Me?(Xe||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" supports only mu units, "+("not "+Ee.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" works only in math mode")):Xe&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+ue+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Ee.value}},htmlBuilder(oe,z){return ur(oe.dimension,z)},mathmlBuilder(oe,z){var te=de(oe.dimension,z);return new qi(te)}}),Gr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"lap",mode:te.mode,alignment:ue.slice(5),body:Ee}},htmlBuilder:(oe,z)=>{var te;oe.alignment==="clap"?(te=Gn([],[ma(oe.body,z)]),te=Gn(["inner"],[te],z)):te=Gn(["inner"],[ma(oe.body,z)]);var ue=Gn(["fix"],[]),Ee=Gn([oe.alignment],[te,ue],z),Me=Gn(["strut"]);return Me.style.height=qt(Ee.height+Ee.depth),Ee.depth&&(Me.style.verticalAlign=qt(-Ee.depth)),Ee.children.unshift(Me),Ee=Gn(["thinbox"],[Ee],z),Gn(["mord","vbox"],[Ee],z)},mathmlBuilder:(oe,z)=>{var te=new Rr("mpadded",[ti(oe.body,z)]);if(oe.alignment!=="rlap"){var ue=oe.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",ue+"width")}return te.setAttribute("width","0px"),te}}),Gr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(oe,z){var{funcName:te,parser:ue}=oe,Ee=ue.mode;ue.switchMode("math");var Me=te==="\\("?"\\)":"$",Xe=ue.parseExpression(!1,Me);return ue.expect(Me),ue.switchMode(Ee),{type:"styling",mode:ue.mode,style:"text",body:Xe}}}),Gr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(oe,z){throw new St("Mismatched "+oe.funcName)}});var tn=(oe,z)=>{switch(z.style.size){case gt.DISPLAY.size:return oe.display;case gt.TEXT.size:return oe.text;case gt.SCRIPT.size:return oe.script;case gt.SCRIPTSCRIPT.size:return oe.scriptscript;default:return oe.text}};Gr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(oe,z)=>{var{parser:te}=oe;return{type:"mathchoice",mode:te.mode,display:Pa(z[0]),text:Pa(z[1]),script:Pa(z[2]),scriptscript:Pa(z[3])}},htmlBuilder:(oe,z)=>{var te=tn(oe,z),ue=Va(te,z,!1);return or(ue)},mathmlBuilder:(oe,z)=>{var te=tn(oe,z);return ki(te,z)}});var _n=(oe,z,te,ue,Ee,Me,Xe)=>{oe=Gn([],[oe]);var lt=te&&Se(te),ht,zt;if(z){var sn=ma(z,ue.havingStyle(Ee.sup()),ue);zt={elem:sn,kern:Math.max(ue.fontMetrics().bigOpSpacing1,ue.fontMetrics().bigOpSpacing3-sn.depth)}}if(te){var An=ma(te,ue.havingStyle(Ee.sub()),ue);ht={elem:An,kern:Math.max(ue.fontMetrics().bigOpSpacing2,ue.fontMetrics().bigOpSpacing4-An.height)}}var Fn;if(zt&&ht){var Hn=ue.fontMetrics().bigOpSpacing5+ht.elem.height+ht.elem.depth+ht.kern+oe.depth+Xe;Fn=Ar({positionType:"bottom",positionData:Hn,children:[{type:"kern",size:ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:ht.elem,marginLeft:qt(-Me)},{type:"kern",size:ht.kern},{type:"elem",elem:oe},{type:"kern",size:zt.kern},{type:"elem",elem:zt.elem,marginLeft:qt(Me)},{type:"kern",size:ue.fontMetrics().bigOpSpacing5}]})}else if(ht){var ir=oe.height-Xe;Fn=Ar({positionType:"top",positionData:ir,children:[{type:"kern",size:ue.fontMetrics().bigOpSpacing5},{type:"elem",elem:ht.elem,marginLeft:qt(-Me)},{type:"kern",size:ht.kern},{type:"elem",elem:oe}]})}else if(zt){var Xn=oe.depth+Xe;Fn=Ar({positionType:"bottom",positionData:Xn,children:[{type:"elem",elem:oe},{type:"kern",size:zt.kern},{type:"elem",elem:zt.elem,marginLeft:qt(Me)},{type:"kern",size:ue.fontMetrics().bigOpSpacing5}]})}else return oe;var Cr=[Fn];if(ht&&Me!==0&&!lt){var Tr=Gn(["mspace"],[],ue);Tr.style.marginRight=qt(Me),Cr.unshift(Tr)}return Gn(["mop","op-limits"],Cr,ue)},Mn=new Set(["\\smallint"]),bn=(oe,z)=>{var te,ue,Ee=!1,Me;oe.type==="supsub"?(te=oe.sup,ue=oe.sub,Me=ai(oe.base,"op"),Ee=!0):Me=ai(oe,"op");var Xe=z.style,lt=!1;Xe.size===gt.DISPLAY.size&&Me.symbol&&!Mn.has(Me.name)&&(lt=!0);var ht;if(Me.symbol){var zt=lt?"Size2-Regular":"Size1-Regular",sn="";if((Me.name==="\\oiint"||Me.name==="\\oiiint")&&(sn=Me.name.slice(1),Me.name=sn==="oiint"?"\\iint":"\\iiint"),ht=_t(Me.name,zt,"math",z,["mop","op-symbol",lt?"large-op":"small-op"]),sn.length>0){var An=ht.italic,Fn=ba(sn+"Size"+(lt?"2":"1"),z);ht=Ar({positionType:"individualShift",children:[{type:"elem",elem:ht,shift:0},{type:"elem",elem:Fn,shift:lt?.08:0}]}),Me.name="\\"+sn,ht.classes.unshift("mop"),ht.italic=An}}else if(Me.body){var Hn=Va(Me.body,z,!0);Hn.length===1&&Hn[0]instanceof cr?(ht=Hn[0],ht.classes[0]="mop"):ht=Gn(["mop"],Hn,z)}else{for(var ir=[],Xn=1;Xn{var te;if(oe.symbol)te=new Rr("mo",[Ca(oe.name,oe.mode)]),Mn.has(oe.name)&&te.setAttribute("largeop","false");else if(oe.body)te=new Rr("mo",ci(oe.body,z));else{te=new Rr("mi",[new Ti(oe.name.slice(1))]);var ue=new Rr("mo",[Ca("\u2061","text")]);oe.parentIsSupSub?te=new Rr("mrow",[te,ue]):te=Fi([te,ue])}return te},$n={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Gr({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=ue;return Ee.length===1&&(Ee=$n[Ee]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ee}},htmlBuilder:bn,mathmlBuilder:Vn}),Gr({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Pa(ue)}},htmlBuilder:bn,mathmlBuilder:Vn});var Nn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Gr({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(oe){var{parser:z,funcName:te}=oe;return{type:"op",mode:z.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:bn,mathmlBuilder:Vn}),Gr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(oe){var{parser:z,funcName:te}=oe;return{type:"op",mode:z.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:bn,mathmlBuilder:Vn}),Gr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0,allowedInArgument:!0},handler(oe){var{parser:z,funcName:te}=oe,ue=te;return ue.length===1&&(ue=Nn[ue]),{type:"op",mode:z.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:ue}},htmlBuilder:bn,mathmlBuilder:Vn});var Ia=(oe,z)=>{var te,ue,Ee=!1,Me;oe.type==="supsub"?(te=oe.sup,ue=oe.sub,Me=ai(oe.base,"operatorname"),Ee=!0):Me=ai(oe,"operatorname");var Xe;if(Me.body.length>0){for(var lt=Me.body.map(An=>{var Fn="text"in An?An.text:void 0;return typeof Fn=="string"?{type:"textord",mode:An.mode,text:Fn}:An}),ht=Va(lt,z.withFont("mathrm"),!0),zt=0;zt{for(var te=ci(oe.body,z.withFont("mathrm")),ue=!0,Ee=0;Eesn.toText()).join("");te=[new Ti(lt)]}var ht=new Rr("mi",te);ht.setAttribute("mathvariant","normal");var zt=new Rr("mo",[Ca("\u2061","text")]);return oe.parentIsSupSub?new Rr("mrow",[ht,zt]):Fi([ht,zt])};Gr({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(oe,z)=>{var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"operatorname",mode:te.mode,body:Pa(Ee),alwaysHandleSupSub:ue==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ia,mathmlBuilder:Qa}),jt("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),bi({type:"ordgroup",htmlBuilder(oe,z){return oe.semisimple?or(Va(oe.body,z,!1)):Gn(["mord"],Va(oe.body,z,!0),z)},mathmlBuilder(oe,z){return ki(oe.body,z,!0)}}),Gr({type:"overline",names:["\\overline"],props:{numArgs:1},handler(oe,z){var{parser:te}=oe,ue=z[0];return{type:"overline",mode:te.mode,body:ue}},htmlBuilder(oe,z){var te=ma(oe.body,z.havingCrampedStyle()),ue=qn("overline-line",z),Ee=z.fontMetrics().defaultRuleThickness,Me=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Ee},{type:"elem",elem:ue},{type:"kern",size:Ee}]});return Gn(["mord","overline"],[Me],z)},mathmlBuilder(oe,z){var te=new Rr("mo",[new Ti("\u203E")]);te.setAttribute("stretchy","true");var ue=new Rr("mover",[ti(oe.body,z),te]);return ue.setAttribute("accent","true"),ue}}),Gr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"phantom",mode:te.mode,body:Pa(ue)}},htmlBuilder:(oe,z)=>{var te=Va(oe.body,z.withPhantom(),!1);return or(te)},mathmlBuilder:(oe,z)=>{var te=ci(oe.body,z);return new Rr("mphantom",te)}}),Gr({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"hphantom",mode:te.mode,body:ue}},htmlBuilder:(oe,z)=>{var te=Gn([],[ma(oe.body,z.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var ue=0;ue{var te=ci(Pa(oe.body),z),ue=new Rr("mphantom",te),Ee=new Rr("mpadded",[ue]);return Ee.setAttribute("height","0px"),Ee.setAttribute("depth","0px"),Ee}}),Gr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(oe,z)=>{var{parser:te}=oe,ue=z[0];return{type:"vphantom",mode:te.mode,body:ue}},htmlBuilder:(oe,z)=>{var te=Gn(["inner"],[ma(oe.body,z.withPhantom())]),ue=Gn(["fix"],[]);return Gn(["mord","rlap"],[te,ue],z)},mathmlBuilder:(oe,z)=>{var te=ci(Pa(oe.body),z),ue=new Rr("mphantom",te),Ee=new Rr("mpadded",[ue]);return Ee.setAttribute("width","0px"),Ee}}),Gr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(oe,z){var{parser:te}=oe,ue=ai(z[0],"size").value,Ee=z[1];return{type:"raisebox",mode:te.mode,dy:ue,body:Ee}},htmlBuilder(oe,z){var te=ma(oe.body,z),ue=de(oe.dy,z);return Ar({positionType:"shift",positionData:-ue,children:[{type:"elem",elem:te}]})},mathmlBuilder(oe,z){var te=new Rr("mpadded",[ti(oe.body,z)]),ue=oe.dy.number+oe.dy.unit;return te.setAttribute("voffset",ue),te}}),Gr({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(oe){var{parser:z}=oe;return{type:"internal",mode:z.mode}}}),Gr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(oe,z,te){var{parser:ue}=oe,Ee=te[0],Me=ai(z[0],"size"),Xe=ai(z[1],"size");return{type:"rule",mode:ue.mode,shift:Ee&&ai(Ee,"size").value,width:Me.value,height:Xe.value}},htmlBuilder(oe,z){var te=Gn(["mord","rule"],[],z),ue=de(oe.width,z),Ee=de(oe.height,z),Me=oe.shift?de(oe.shift,z):0;return te.style.borderRightWidth=qt(ue),te.style.borderTopWidth=qt(Ee),te.style.bottom=qt(Me),te.width=ue,te.height=Ee+Me,te.depth=-Me,te.maxFontSize=Ee*1.125*z.sizeMultiplier,te},mathmlBuilder(oe,z){var te=de(oe.width,z),ue=de(oe.height,z),Ee=oe.shift?de(oe.shift,z):0,Me=z.color&&z.getColor()||"black",Xe=new Rr("mspace");Xe.setAttribute("mathbackground",Me),Xe.setAttribute("width",qt(te)),Xe.setAttribute("height",qt(ue));var lt=new Rr("mpadded",[Xe]);return Ee>=0?lt.setAttribute("height",qt(Ee)):(lt.setAttribute("height",qt(Ee)),lt.setAttribute("depth",qt(-Ee))),lt.setAttribute("voffset",qt(Ee)),lt}});function gi(oe,z,te){for(var ue=Va(oe,z,!1),Ee=z.sizeMultiplier/te.sizeMultiplier,Me=0;Me{var te=z.havingSize(oe.size);return gi(oe.body,te,z)};Gr({type:"sizing",names:va,props:{numArgs:0,allowedInText:!0},handler:(oe,z)=>{var{breakOnTokenText:te,funcName:ue,parser:Ee}=oe,Me=Ee.parseExpression(!1,te);return{type:"sizing",mode:Ee.mode,size:va.indexOf(ue)+1,body:Me}},htmlBuilder:pi,mathmlBuilder:(oe,z)=>{var te=z.havingSize(oe.size),ue=ci(oe.body,te),Ee=new Rr("mstyle",ue);return Ee.setAttribute("mathsize",qt(te.sizeMultiplier)),Ee}}),Gr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(oe,z,te)=>{var{parser:ue}=oe,Ee=!1,Me=!1,Xe=te[0]&&ai(te[0],"ordgroup");if(Xe)for(var lt="",ht=0;ht{var te=Gn([],[ma(oe.body,z)]);if(!oe.smashHeight&&!oe.smashDepth)return te;if(oe.smashHeight&&(te.height=0,te.children))for(var ue=0;ue{var te=new Rr("mpadded",[ti(oe.body,z)]);return oe.smashHeight&&te.setAttribute("height","0px"),oe.smashDepth&&te.setAttribute("depth","0px"),te}}),Gr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(oe,z,te){var{parser:ue}=oe,Ee=te[0],Me=z[0];return{type:"sqrt",mode:ue.mode,body:Me,index:Ee}},htmlBuilder(oe,z){var te=ma(oe.body,z.havingCrampedStyle());te.height===0&&(te.height=z.fontMetrics().xHeight),te=er(te,z);var ue=z.fontMetrics(),Ee=ue.defaultRuleThickness,Me=Ee;z.style.idte.height+te.depth+Xe&&(Xe=(Xe+An-te.height-te.depth)/2);var Fn=ht.height-te.height-Xe-zt;te.style.paddingLeft=qt(sn);var Hn=Ar({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+Fn)},{type:"elem",elem:ht},{type:"kern",size:zt}]});if(oe.index){var ir=z.havingStyle(gt.SCRIPTSCRIPT),Xn=ma(oe.index,ir,z),Cr=.6*(Hn.height-Hn.depth),Tr=Ar({positionType:"shift",positionData:-Cr,children:[{type:"elem",elem:Xn}]}),kr=Gn(["root"],[Tr]);return Gn(["mord","sqrt"],[kr,Hn],z)}else return Gn(["mord","sqrt"],[Hn],z)},mathmlBuilder(oe,z){var{body:te,index:ue}=oe;return ue?new Rr("mroot",[ti(te,z),ti(ue,z)]):new Rr("msqrt",[ti(te,z)])}});var La={display:gt.DISPLAY,text:gt.TEXT,script:gt.SCRIPT,scriptscript:gt.SCRIPTSCRIPT};Gr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(oe,z){var{breakOnTokenText:te,funcName:ue,parser:Ee}=oe,Me=Ee.parseExpression(!0,te),Xe=ue.slice(1,ue.length-5);return{type:"styling",mode:Ee.mode,style:Xe,body:Me}},htmlBuilder(oe,z){var te=La[oe.style],ue=z.havingStyle(te).withFont("");return gi(oe.body,ue,z)},mathmlBuilder(oe,z){var te=La[oe.style],ue=z.havingStyle(te),Ee=ci(oe.body,ue),Me=new Rr("mstyle",Ee),Xe={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},lt=Xe[oe.style];return Me.setAttribute("scriptlevel",lt[0]),Me.setAttribute("displaystyle",lt[1]),Me}});var Ui=function(z,te){var ue=z.base;if(ue)if(ue.type==="op"){var Ee=ue.limits&&(te.style.size===gt.DISPLAY.size||ue.alwaysHandleSupSub);return Ee?bn:null}else if(ue.type==="operatorname"){var Me=ue.alwaysHandleSupSub&&(te.style.size===gt.DISPLAY.size||ue.limits);return Me?Ia:null}else{if(ue.type==="accent")return Se(ue.base)?ns:null;if(ue.type==="horizBrace"){var Xe=!z.sub;return Xe===ue.isOver?mt:null}else return null}else return null};bi({type:"supsub",htmlBuilder(oe,z){var te=Ui(oe,z);if(te)return te(oe,z);var{base:ue,sup:Ee,sub:Me}=oe,Xe=ma(ue,z),lt,ht,zt=z.fontMetrics(),sn=0,An=0,Fn=ue&&Se(ue);if(Ee){var Hn=z.havingStyle(z.style.sup());lt=ma(Ee,Hn,z),Fn||(sn=Xe.height-Hn.fontMetrics().supDrop*Hn.sizeMultiplier/z.sizeMultiplier)}if(Me){var ir=z.havingStyle(z.style.sub());ht=ma(Me,ir,z),Fn||(An=Xe.depth+ir.fontMetrics().subDrop*ir.sizeMultiplier/z.sizeMultiplier)}var Xn;z.style===gt.DISPLAY?Xn=zt.sup1:z.style.cramped?Xn=zt.sup3:Xn=zt.sup2;var Cr=z.sizeMultiplier,Tr=qt(.5/zt.ptPerEm/Cr),kr=null;if(ht){var jr=oe.base&&oe.base.type==="op"&&oe.base.name&&(oe.base.name==="\\oiint"||oe.base.name==="\\oiiint");(Xe instanceof cr||jr)&&(kr=qt(-Xe.italic))}var qr;if(lt&&ht){sn=Math.max(sn,Xn,lt.depth+.25*zt.xHeight),An=Math.max(An,zt.sub2);var Sa=zt.defaultRuleThickness,na=4*Sa;if(sn-lt.depth-(ht.height-An)0&&(sn+=Oa,An-=Oa)}var Fa=[{type:"elem",elem:ht,shift:An,marginRight:Tr,marginLeft:kr},{type:"elem",elem:lt,shift:-sn,marginRight:Tr}];qr=Ar({positionType:"individualShift",children:Fa})}else if(ht){An=Math.max(An,zt.sub1,ht.height-.8*zt.xHeight);var Ga=[{type:"elem",elem:ht,marginLeft:kr,marginRight:Tr}];qr=Ar({positionType:"shift",positionData:An,children:Ga})}else if(lt)sn=Math.max(sn,Xn,lt.depth+.25*zt.xHeight),qr=Ar({positionType:"shift",positionData:-sn,children:[{type:"elem",elem:lt,marginRight:Tr}]});else throw new Error("supsub must have either sup or sub.");var ka=Ba(Xe,"right")||"mord";return Gn([ka],[Xe,Gn(["msupsub"],[qr])],z)},mathmlBuilder(oe,z){var te=!1,ue,Ee;oe.base&&oe.base.type==="horizBrace"&&(Ee=!!oe.sup,Ee===oe.base.isOver&&(te=!0,ue=oe.base.isOver)),oe.base&&(oe.base.type==="op"||oe.base.type==="operatorname")&&(oe.base.parentIsSupSub=!0);var Me=[ti(oe.base,z)];oe.sub&&Me.push(ti(oe.sub,z)),oe.sup&&Me.push(ti(oe.sup,z));var Xe;if(te)Xe=ue?"mover":"munder";else if(oe.sub)if(oe.sup){var zt=oe.base;zt&&zt.type==="op"&&zt.limits&&z.style===gt.DISPLAY||zt&&zt.type==="operatorname"&&zt.alwaysHandleSupSub&&(z.style===gt.DISPLAY||zt.limits)?Xe="munderover":Xe="msubsup"}else{var ht=oe.base;ht&&ht.type==="op"&&ht.limits&&(z.style===gt.DISPLAY||ht.alwaysHandleSupSub)||ht&&ht.type==="operatorname"&&ht.alwaysHandleSupSub&&(ht.limits||z.style===gt.DISPLAY)?Xe="munder":Xe="msub"}else{var lt=oe.base;lt&<.type==="op"&<.limits&&(z.style===gt.DISPLAY||lt.alwaysHandleSupSub)||lt&<.type==="operatorname"&<.alwaysHandleSupSub&&(lt.limits||z.style===gt.DISPLAY)?Xe="mover":Xe="msup"}return new Rr(Xe,Me)}}),bi({type:"atom",htmlBuilder(oe,z){return Ea(oe.text,oe.mode,z,["m"+oe.family])},mathmlBuilder(oe,z){var te=new Rr("mo",[Ca(oe.text,oe.mode)]);if(oe.family==="bin"){var ue=ri(oe,z);ue==="bold-italic"&&te.setAttribute("mathvariant",ue)}else oe.family==="punct"?te.setAttribute("separator","true"):(oe.family==="open"||oe.family==="close")&&te.setAttribute("stretchy","false");return te}});var yi={mi:"italic",mn:"normal",mtext:"normal"};bi({type:"mathord",htmlBuilder(oe,z){return ra(oe,z,"mathord")},mathmlBuilder(oe,z){var te=new Rr("mi",[Ca(oe.text,oe.mode,z)]),ue=ri(oe,z)||"italic";return ue!==yi[te.type]&&te.setAttribute("mathvariant",ue),te}}),bi({type:"textord",htmlBuilder(oe,z){return ra(oe,z,"textord")},mathmlBuilder(oe,z){var te=Ca(oe.text,oe.mode,z),ue=ri(oe,z)||"normal",Ee;return oe.mode==="text"?Ee=new Rr("mtext",[te]):/[0-9]/.test(oe.text)?Ee=new Rr("mn",[te]):oe.text==="\\prime"?Ee=new Rr("mo",[te]):Ee=new Rr("mi",[te]),ue!==yi[Ee.type]&&Ee.setAttribute("mathvariant",ue),Ee}});var ta={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ai={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};bi({type:"spacing",htmlBuilder(oe,z){if(Ai.hasOwnProperty(oe.text)){var te=Ai[oe.text].className||"";if(oe.mode==="text"){var ue=ra(oe,z,"textord");return ue.classes.push(te),ue}else return Gn(["mspace",te],[Ea(oe.text,oe.mode,z)],z)}else{if(ta.hasOwnProperty(oe.text))return Gn(["mspace",ta[oe.text]],[],z);throw new St('Unknown type of space "'+oe.text+'"')}},mathmlBuilder(oe,z){var te;if(Ai.hasOwnProperty(oe.text))te=new Rr("mtext",[new Ti("\xA0")]);else{if(ta.hasOwnProperty(oe.text))return new Rr("mspace");throw new St('Unknown type of space "'+oe.text+'"')}return te}});var Ei=()=>{var oe=new Rr("mtd",[]);return oe.setAttribute("width","50%"),oe};bi({type:"tag",mathmlBuilder(oe,z){var te=new Rr("mtable",[new Rr("mtr",[Ei(),new Rr("mtd",[ki(oe.body,z)]),Ei(),new Rr("mtd",[ki(oe.tag,z)])])]);return te.setAttribute("width","100%"),te}});var Ii={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ri={"\\textbf":"textbf","\\textmd":"textmd"},xo={"\\textit":"textit","\\textup":"textup"},ui=(oe,z)=>{var te=oe.font;if(te){if(Ii[te])return z.withTextFontFamily(Ii[te]);if(Ri[te])return z.withTextFontWeight(Ri[te]);if(te==="\\emph")return z.fontShape==="textit"?z.withTextFontShape("textup"):z.withTextFontShape("textit")}else return z;return z.withTextFontShape(xo[te])};Gr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(oe,z){var{parser:te,funcName:ue}=oe,Ee=z[0];return{type:"text",mode:te.mode,body:Pa(Ee),font:ue}},htmlBuilder(oe,z){var te=ui(oe,z),ue=Va(oe.body,te,!0);return Gn(["mord","text"],ue,te)},mathmlBuilder(oe,z){var te=ui(oe,z);return ki(oe.body,te)}}),Gr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(oe,z){var{parser:te}=oe;return{type:"underline",mode:te.mode,body:z[0]}},htmlBuilder(oe,z){var te=ma(oe.body,z),ue=qn("underline-line",z),Ee=z.fontMetrics().defaultRuleThickness,Me=Ar({positionType:"top",positionData:te.height,children:[{type:"kern",size:Ee},{type:"elem",elem:ue},{type:"kern",size:3*Ee},{type:"elem",elem:te}]});return Gn(["mord","underline"],[Me],z)},mathmlBuilder(oe,z){var te=new Rr("mo",[new Ti("\u203E")]);te.setAttribute("stretchy","true");var ue=new Rr("munder",[ti(oe.body,z),te]);return ue.setAttribute("accentunder","true"),ue}}),Gr({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(oe,z){var{parser:te}=oe;return{type:"vcenter",mode:te.mode,body:z[0]}},htmlBuilder(oe,z){var te=ma(oe.body,z),ue=z.fontMetrics().axisHeight,Ee=.5*(te.height-ue-(te.depth+ue));return Ar({positionType:"shift",positionData:Ee,children:[{type:"elem",elem:te}]})},mathmlBuilder(oe,z){return new Rr("mpadded",[ti(oe.body,z)],["vcenter"])}}),Gr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(oe,z,te){throw new St("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(oe,z){for(var te=x(oe),ue=[],Ee=z.havingStyle(z.style.text()),Me=0;Meoe.body.replace(/ /g,oe.star?"\u2423":"\xA0"),ee=Ha,Ne=`[ \r + ]`,Ot="\\\\[a-zA-Z@]+",Rn="\\\\[^\uD800-\uDFFF]",fr="("+Ot+")"+Ne+"*",Mr=`\\\\( |[ \r ]+ -?)[ \r ]*`,hn="[\u0300-\u036F]",Ta=new RegExp(hn+"+$"),fi="("+Ne+"+)|"+(Fr+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(hn+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(hn+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+cr)+("|"+Nn+")");class Fn{constructor(z,te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=z,this.settings=te,this.tokenRegex=new RegExp(fi,"g"),this.catcodes={"%":14,"~":13}}setCatcode(z,te){this.catcodes[z]=te}lex(){var z=this.input,te=this.tokenRegex.lastIndex;if(te===z.length)return new Ke("EOF",new _t(this,te,te));var ue=this.tokenRegex.exec(z);if(ue===null||ue.index!==te)throw new Rt("Unexpected character: '"+z[te]+"'",new Ke(z[te],new _t(this,te,te+1)));var Se=ue[6]||ue[3]||(ue[2]?"\\ ":" ");if(this.catcodes[Se]===14){var Le=z.indexOf(` -`,this.tokenRegex.lastIndex);return Le===-1?(this.tokenRegex.lastIndex=z.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Le+1,this.lex()}return new Ke(Se,new _t(this,te,this.tokenRegex.lastIndex))}}class eo{constructor(z,te){z===void 0&&(z={}),te===void 0&&(te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=te,this.builtins=z,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Rt("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var z=this.undefStack.pop();for(var te in z)z.hasOwnProperty(te)&&(z[te]==null?delete this.current[te]:this.current[te]=z[te])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(z){return this.current.hasOwnProperty(z)||this.builtins.hasOwnProperty(z)}get(z){return this.current.hasOwnProperty(z)?this.current[z]:this.builtins[z]}set(z,te,ue){if(ue===void 0&&(ue=!1),ue){for(var Se=0;Se0&&(this.undefStack[this.undefStack.length-1][z]=te)}else{var Le=this.undefStack[this.undefStack.length-1];Le&&!Le.hasOwnProperty(z)&&(Le[z]=this.current[z])}te==null?delete this.current[z]:this.current[z]=te}}var Ro=Us;jt("\\noexpand",function(oe){var z=oe.popToken();return oe.isExpandable(z.text)&&(z.noexpand=!0,z.treatAsRelax=!0),{tokens:[z],numArgs:0}}),jt("\\expandafter",function(oe){var z=oe.popToken();return oe.expandOnce(!0),{tokens:[z],numArgs:0}}),jt("\\@firstoftwo",function(oe){var z=oe.consumeArgs(2);return{tokens:z[0],numArgs:0}}),jt("\\@secondoftwo",function(oe){var z=oe.consumeArgs(2);return{tokens:z[1],numArgs:0}}),jt("\\@ifnextchar",function(oe){var z=oe.consumeArgs(3);oe.consumeSpaces();var te=oe.future();return z[0].length===1&&z[0][0].text===te.text?{tokens:z[1],numArgs:0}:{tokens:z[2],numArgs:0}}),jt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),jt("\\TextOrMath",function(oe){var z=oe.consumeArgs(2);return oe.mode==="text"?{tokens:z[0],numArgs:0}:{tokens:z[1],numArgs:0}});var vl={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};jt("\\char",function(oe){var z=oe.popToken(),te,ue="";if(z.text==="'")te=8,z=oe.popToken();else if(z.text==='"')te=16,z=oe.popToken();else if(z.text==="`")if(z=oe.popToken(),z.text[0]==="\\")ue=z.text.charCodeAt(1);else{if(z.text==="EOF")throw new Rt("\\char` missing argument");ue=z.text.charCodeAt(0)}else te=10;if(te){if(ue=vl[z.text],ue==null||ue>=te)throw new Rt("Invalid base-"+te+" digit "+z.text);for(var Se;(Se=vl[oe.future().text])!=null&&Se{var Se=oe.consumeArg().tokens;if(Se.length!==1)throw new Rt("\\newcommand's first argument must be a macro name");var Le=Se[0].text,qe=oe.isDefined(Le);if(qe&&!z)throw new Rt("\\newcommand{"+Le+"} attempting to redefine "+(Le+"; use \\renewcommand"));if(!qe&&!te)throw new Rt("\\renewcommand{"+Le+"} when command "+Le+" does not yet exist; use \\newcommand");var st=0;if(Se=oe.consumeArg().tokens,Se.length===1&&Se[0].text==="["){for(var dt="",Gt=oe.expandNextToken();Gt.text!=="]"&&Gt.text!=="EOF";)dt+=Gt.text,Gt=oe.expandNextToken();if(!dt.match(/^\s*[0-9]+\s*$/))throw new Rt("Invalid number of arguments: "+dt);st=parseInt(dt),Se=oe.consumeArg().tokens}return qe&&ue||oe.macros.set(Le,{tokens:Se,numArgs:st}),""};jt("\\newcommand",oe=>js(oe,!1,!0,!1)),jt("\\renewcommand",oe=>js(oe,!0,!1,!1)),jt("\\providecommand",oe=>js(oe,!0,!0,!0)),jt("\\message",oe=>{var z=oe.consumeArgs(1)[0];return console.log(z.reverse().map(te=>te.text).join("")),""}),jt("\\errmessage",oe=>{var z=oe.consumeArgs(1)[0];return console.error(z.reverse().map(te=>te.text).join("")),""}),jt("\\show",oe=>{var z=oe.popToken(),te=z.text;return console.log(z,oe.macros.get(te),ee[te],lt.math[te],lt.text[te]),""}),jt("\\bgroup","{"),jt("\\egroup","}"),jt("~","\\nobreakspace"),jt("\\lq","`"),jt("\\rq","'"),jt("\\aa","\\r a"),jt("\\AA","\\r A"),jt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),jt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),jt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),jt("\u212C","\\mathscr{B}"),jt("\u2130","\\mathscr{E}"),jt("\u2131","\\mathscr{F}"),jt("\u210B","\\mathscr{H}"),jt("\u2110","\\mathscr{I}"),jt("\u2112","\\mathscr{L}"),jt("\u2133","\\mathscr{M}"),jt("\u211B","\\mathscr{R}"),jt("\u212D","\\mathfrak{C}"),jt("\u210C","\\mathfrak{H}"),jt("\u2128","\\mathfrak{Z}"),jt("\\Bbbk","\\Bbb{k}"),jt("\xB7","\\cdotp"),jt("\\llap","\\mathllap{\\textrm{#1}}"),jt("\\rlap","\\mathrlap{\\textrm{#1}}"),jt("\\clap","\\mathclap{\\textrm{#1}}"),jt("\\mathstrut","\\vphantom{(}"),jt("\\underbar","\\underline{\\text{#1}}"),jt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),jt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),jt("\\ne","\\neq"),jt("\u2260","\\neq"),jt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),jt("\u2209","\\notin"),jt("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),jt("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),jt("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),jt("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),jt("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),jt("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),jt("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),jt("\u27C2","\\perp"),jt("\u203C","\\mathclose{!\\mkern-0.8mu!}"),jt("\u220C","\\notni"),jt("\u231C","\\ulcorner"),jt("\u231D","\\urcorner"),jt("\u231E","\\llcorner"),jt("\u231F","\\lrcorner"),jt("\xA9","\\copyright"),jt("\xAE","\\textregistered"),jt("\uFE0F","\\textregistered"),jt("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),jt("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),jt("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),jt("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),jt("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),jt("\u22EE","\\vdots"),jt("\\varGamma","\\mathit{\\Gamma}"),jt("\\varDelta","\\mathit{\\Delta}"),jt("\\varTheta","\\mathit{\\Theta}"),jt("\\varLambda","\\mathit{\\Lambda}"),jt("\\varXi","\\mathit{\\Xi}"),jt("\\varPi","\\mathit{\\Pi}"),jt("\\varSigma","\\mathit{\\Sigma}"),jt("\\varUpsilon","\\mathit{\\Upsilon}"),jt("\\varPhi","\\mathit{\\Phi}"),jt("\\varPsi","\\mathit{\\Psi}"),jt("\\varOmega","\\mathit{\\Omega}"),jt("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),jt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),jt("\\boxed","\\fbox{$\\displaystyle{#1}$}"),jt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),jt("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),jt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),jt("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),jt("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var uo={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},As=new Set(["bin","rel"]);jt("\\dots",function(oe){var z="\\dotso",te=oe.expandAfterFuture().text;return te in uo?z=uo[te]:(te.slice(0,4)==="\\not"||te in lt.math&&As.has(lt.math[te].group))&&(z="\\dotsb"),z});var Mo={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};jt("\\dotso",function(oe){var z=oe.future().text;return z in Mo?"\\ldots\\,":"\\ldots"}),jt("\\dotsc",function(oe){var z=oe.future().text;return z in Mo&&z!==","?"\\ldots\\,":"\\ldots"}),jt("\\cdots",function(oe){var z=oe.future().text;return z in Mo?"\\@cdots\\,":"\\@cdots"}),jt("\\dotsb","\\cdots"),jt("\\dotsm","\\cdots"),jt("\\dotsi","\\!\\cdots"),jt("\\dotsx","\\ldots\\,"),jt("\\DOTSI","\\relax"),jt("\\DOTSB","\\relax"),jt("\\DOTSX","\\relax"),jt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),jt("\\,","\\tmspace+{3mu}{.1667em}"),jt("\\thinspace","\\,"),jt("\\>","\\mskip{4mu}"),jt("\\:","\\tmspace+{4mu}{.2222em}"),jt("\\medspace","\\:"),jt("\\;","\\tmspace+{5mu}{.2777em}"),jt("\\thickspace","\\;"),jt("\\!","\\tmspace-{3mu}{.1667em}"),jt("\\negthinspace","\\!"),jt("\\negmedspace","\\tmspace-{4mu}{.2222em}"),jt("\\negthickspace","\\tmspace-{5mu}{.277em}"),jt("\\enspace","\\kern.5em "),jt("\\enskip","\\hskip.5em\\relax"),jt("\\quad","\\hskip1em\\relax"),jt("\\qquad","\\hskip2em\\relax"),jt("\\tag","\\@ifstar\\tag@literal\\tag@paren"),jt("\\tag@paren","\\tag@literal{({#1})}"),jt("\\tag@literal",oe=>{if(oe.macros.get("\\df@tag"))throw new Rt("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),jt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),jt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),jt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),jt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),jt("\\newline","\\\\\\relax"),jt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var gs=jn(de["Main-Regular"][84][1]-.7*de["Main-Regular"][65][1]);jt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+gs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),jt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+gs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),jt("\\hspace","\\@ifstar\\@hspacer\\@hspace"),jt("\\@hspace","\\hskip #1\\relax"),jt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),jt("\\ordinarycolon",":"),jt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),jt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),jt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),jt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),jt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),jt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),jt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),jt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),jt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),jt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),jt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),jt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),jt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),jt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),jt("\u2237","\\dblcolon"),jt("\u2239","\\eqcolon"),jt("\u2254","\\coloneqq"),jt("\u2255","\\eqqcolon"),jt("\u2A74","\\Coloneqq"),jt("\\ratio","\\vcentcolon"),jt("\\coloncolon","\\dblcolon"),jt("\\colonequals","\\coloneqq"),jt("\\coloncolonequals","\\Coloneqq"),jt("\\equalscolon","\\eqqcolon"),jt("\\equalscoloncolon","\\Eqqcolon"),jt("\\colonminus","\\coloneq"),jt("\\coloncolonminus","\\Coloneq"),jt("\\minuscolon","\\eqcolon"),jt("\\minuscoloncolon","\\Eqcolon"),jt("\\coloncolonapprox","\\Colonapprox"),jt("\\coloncolonsim","\\Colonsim"),jt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),jt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),jt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),jt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),jt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),jt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),jt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),jt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),jt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),jt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),jt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),jt("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),jt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),jt("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),jt("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),jt("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),jt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),jt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),jt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),jt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),jt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),jt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),jt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),jt("\\imath","\\html@mathml{\\@imath}{\u0131}"),jt("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),jt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),jt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),jt("\u27E6","\\llbracket"),jt("\u27E7","\\rrbracket"),jt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),jt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),jt("\u2983","\\lBrace"),jt("\u2984","\\rBrace"),jt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),jt("\u29B5","\\minuso"),jt("\\darr","\\downarrow"),jt("\\dArr","\\Downarrow"),jt("\\Darr","\\Downarrow"),jt("\\lang","\\langle"),jt("\\rang","\\rangle"),jt("\\uarr","\\uparrow"),jt("\\uArr","\\Uparrow"),jt("\\Uarr","\\Uparrow"),jt("\\N","\\mathbb{N}"),jt("\\R","\\mathbb{R}"),jt("\\Z","\\mathbb{Z}"),jt("\\alef","\\aleph"),jt("\\alefsym","\\aleph"),jt("\\Alpha","\\mathrm{A}"),jt("\\Beta","\\mathrm{B}"),jt("\\bull","\\bullet"),jt("\\Chi","\\mathrm{X}"),jt("\\clubs","\\clubsuit"),jt("\\cnums","\\mathbb{C}"),jt("\\Complex","\\mathbb{C}"),jt("\\Dagger","\\ddagger"),jt("\\diamonds","\\diamondsuit"),jt("\\empty","\\emptyset"),jt("\\Epsilon","\\mathrm{E}"),jt("\\Eta","\\mathrm{H}"),jt("\\exist","\\exists"),jt("\\harr","\\leftrightarrow"),jt("\\hArr","\\Leftrightarrow"),jt("\\Harr","\\Leftrightarrow"),jt("\\hearts","\\heartsuit"),jt("\\image","\\Im"),jt("\\infin","\\infty"),jt("\\Iota","\\mathrm{I}"),jt("\\isin","\\in"),jt("\\Kappa","\\mathrm{K}"),jt("\\larr","\\leftarrow"),jt("\\lArr","\\Leftarrow"),jt("\\Larr","\\Leftarrow"),jt("\\lrarr","\\leftrightarrow"),jt("\\lrArr","\\Leftrightarrow"),jt("\\Lrarr","\\Leftrightarrow"),jt("\\Mu","\\mathrm{M}"),jt("\\natnums","\\mathbb{N}"),jt("\\Nu","\\mathrm{N}"),jt("\\Omicron","\\mathrm{O}"),jt("\\plusmn","\\pm"),jt("\\rarr","\\rightarrow"),jt("\\rArr","\\Rightarrow"),jt("\\Rarr","\\Rightarrow"),jt("\\real","\\Re"),jt("\\reals","\\mathbb{R}"),jt("\\Reals","\\mathbb{R}"),jt("\\Rho","\\mathrm{P}"),jt("\\sdot","\\cdot"),jt("\\sect","\\S"),jt("\\spades","\\spadesuit"),jt("\\sub","\\subset"),jt("\\sube","\\subseteq"),jt("\\supe","\\supseteq"),jt("\\Tau","\\mathrm{T}"),jt("\\thetasym","\\vartheta"),jt("\\weierp","\\wp"),jt("\\Zeta","\\mathrm{Z}"),jt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),jt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),jt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),jt("\\bra","\\mathinner{\\langle{#1}|}"),jt("\\ket","\\mathinner{|{#1}\\rangle}"),jt("\\braket","\\mathinner{\\langle{#1}\\rangle}"),jt("\\Bra","\\left\\langle#1\\right|"),jt("\\Ket","\\left|#1\\right\\rangle");var Gs=oe=>z=>{var te=z.consumeArg().tokens,ue=z.consumeArg().tokens,Se=z.consumeArg().tokens,Le=z.consumeArg().tokens,qe=z.macros.get("|"),st=z.macros.get("\\|");z.macros.beginGroup();var dt=Tn=>_n=>{oe&&(_n.macros.set("|",qe),Se.length&&_n.macros.set("\\|",st));var Gn=Tn;if(!Tn&&Se.length){var ar=_n.future();ar.text==="|"&&(_n.popToken(),Gn=!0)}return{tokens:Gn?Se:ue,numArgs:0}};z.macros.set("|",dt(!1)),Se.length&&z.macros.set("\\|",dt(!0));var Gt=z.consumeArg().tokens,ln=z.expandTokens([...Le,...Gt,...te]);return z.macros.endGroup(),{tokens:ln.reverse(),numArgs:0}};jt("\\bra@ket",Gs(!1)),jt("\\bra@set",Gs(!0)),jt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),jt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),jt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),jt("\\angln","{\\angl n}"),jt("\\blue","\\textcolor{##6495ed}{#1}"),jt("\\orange","\\textcolor{##ffa500}{#1}"),jt("\\pink","\\textcolor{##ff00af}{#1}"),jt("\\red","\\textcolor{##df0030}{#1}"),jt("\\green","\\textcolor{##28ae7b}{#1}"),jt("\\gray","\\textcolor{gray}{#1}"),jt("\\purple","\\textcolor{##9d38bd}{#1}"),jt("\\blueA","\\textcolor{##ccfaff}{#1}"),jt("\\blueB","\\textcolor{##80f6ff}{#1}"),jt("\\blueC","\\textcolor{##63d9ea}{#1}"),jt("\\blueD","\\textcolor{##11accd}{#1}"),jt("\\blueE","\\textcolor{##0c7f99}{#1}"),jt("\\tealA","\\textcolor{##94fff5}{#1}"),jt("\\tealB","\\textcolor{##26edd5}{#1}"),jt("\\tealC","\\textcolor{##01d1c1}{#1}"),jt("\\tealD","\\textcolor{##01a995}{#1}"),jt("\\tealE","\\textcolor{##208170}{#1}"),jt("\\greenA","\\textcolor{##b6ffb0}{#1}"),jt("\\greenB","\\textcolor{##8af281}{#1}"),jt("\\greenC","\\textcolor{##74cf70}{#1}"),jt("\\greenD","\\textcolor{##1fab54}{#1}"),jt("\\greenE","\\textcolor{##0d923f}{#1}"),jt("\\goldA","\\textcolor{##ffd0a9}{#1}"),jt("\\goldB","\\textcolor{##ffbb71}{#1}"),jt("\\goldC","\\textcolor{##ff9c39}{#1}"),jt("\\goldD","\\textcolor{##e07d10}{#1}"),jt("\\goldE","\\textcolor{##a75a05}{#1}"),jt("\\redA","\\textcolor{##fca9a9}{#1}"),jt("\\redB","\\textcolor{##ff8482}{#1}"),jt("\\redC","\\textcolor{##f9685d}{#1}"),jt("\\redD","\\textcolor{##e84d39}{#1}"),jt("\\redE","\\textcolor{##bc2612}{#1}"),jt("\\maroonA","\\textcolor{##ffbde0}{#1}"),jt("\\maroonB","\\textcolor{##ff92c6}{#1}"),jt("\\maroonC","\\textcolor{##ed5fa6}{#1}"),jt("\\maroonD","\\textcolor{##ca337c}{#1}"),jt("\\maroonE","\\textcolor{##9e034e}{#1}"),jt("\\purpleA","\\textcolor{##ddd7ff}{#1}"),jt("\\purpleB","\\textcolor{##c6b9fc}{#1}"),jt("\\purpleC","\\textcolor{##aa87ff}{#1}"),jt("\\purpleD","\\textcolor{##7854ab}{#1}"),jt("\\purpleE","\\textcolor{##543b78}{#1}"),jt("\\mintA","\\textcolor{##f5f9e8}{#1}"),jt("\\mintB","\\textcolor{##edf2df}{#1}"),jt("\\mintC","\\textcolor{##e0e5cc}{#1}"),jt("\\grayA","\\textcolor{##f6f7f7}{#1}"),jt("\\grayB","\\textcolor{##f0f1f2}{#1}"),jt("\\grayC","\\textcolor{##e3e5e6}{#1}"),jt("\\grayD","\\textcolor{##d6d8da}{#1}"),jt("\\grayE","\\textcolor{##babec2}{#1}"),jt("\\grayF","\\textcolor{##888d93}{#1}"),jt("\\grayG","\\textcolor{##626569}{#1}"),jt("\\grayH","\\textcolor{##3b3e40}{#1}"),jt("\\grayI","\\textcolor{##21242c}{#1}"),jt("\\kaBlue","\\textcolor{##314453}{#1}"),jt("\\kaGreen","\\textcolor{##71B307}{#1}");var bl={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class pu{constructor(z,te,ue){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=te,this.expansionCount=0,this.feed(z),this.macros=new eo(Ro,te.macros),this.mode=ue,this.stack=[]}feed(z){this.lexer=new Fn(z,this.settings)}switchMode(z){this.mode=z}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(z){this.stack.push(z)}pushTokens(z){this.stack.push(...z)}scanArgument(z){var te,ue,Se;if(z){if(this.consumeSpaces(),this.future().text!=="[")return null;te=this.popToken(),{tokens:Se,end:ue}=this.consumeArg(["]"])}else({tokens:Se,start:te,end:ue}=this.consumeArg());return this.pushToken(new Ke("EOF",ue.loc)),this.pushTokens(Se),new Ke("",_t.range(te,ue))}consumeSpaces(){for(;;){var z=this.future();if(z.text===" ")this.stack.pop();else break}}consumeArg(z){var te=[],ue=z&&z.length>0;ue||this.consumeSpaces();var Se=this.future(),Le,qe=0,st=0;do{if(Le=this.popToken(),te.push(Le),Le.text==="{")++qe;else if(Le.text==="}"){if(--qe,qe===-1)throw new Rt("Extra }",Le)}else if(Le.text==="EOF")throw new Rt("Unexpected end of input in a macro argument, expected '"+(z&&ue?z[st]:"}")+"'",Le);if(z&&ue)if((qe===0||qe===1&&z[st]==="{")&&Le.text===z[st]){if(++st,st===z.length){te.splice(-st,st);break}}else st=0}while(qe!==0||ue);return Se.text==="{"&&te[te.length-1].text==="}"&&(te.pop(),te.shift()),te.reverse(),{tokens:te,start:Se,end:Le}}consumeArgs(z,te){if(te){if(te.length!==z+1)throw new Rt("The length of delimiters doesn't match the number of args!");for(var ue=te[0],Se=0;Sethis.settings.maxExpand)throw new Rt("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(z){var te=this.popToken(),ue=te.text,Se=te.noexpand?null:this._getExpansion(ue);if(Se==null||z&&Se.unexpandable){if(z&&Se==null&&ue[0]==="\\"&&!this.isDefined(ue))throw new Rt("Undefined control sequence: "+ue);return this.pushToken(te),!1}this.countExpansion(1);var Le=Se.tokens,qe=this.consumeArgs(Se.numArgs,Se.delimiters);if(Se.numArgs){Le=Le.slice();for(var st=Le.length-1;st>=0;--st){var dt=Le[st];if(dt.text==="#"){if(st===0)throw new Rt("Incomplete placeholder at end of macro body",dt);if(dt=Le[--st],dt.text==="#")Le.splice(st+1,1);else if(/^[1-9]$/.test(dt.text))Le.splice(st,2,...qe[+dt.text-1]);else throw new Rt("Not a valid argument number",dt)}}}return this.pushTokens(Le),Le.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var z=this.stack.pop();return z.treatAsRelax&&(z.text="\\relax"),z}throw new Error}expandMacro(z){return this.macros.has(z)?this.expandTokens([new Ke(z)]):void 0}expandTokens(z){var te=[],ue=this.stack.length;for(this.pushTokens(z);this.stack.length>ue;)if(this.expandOnce(!0)===!1){var Se=this.stack.pop();Se.treatAsRelax&&(Se.noexpand=!1,Se.treatAsRelax=!1),te.push(Se)}return this.countExpansion(te.length),te}expandMacroAsText(z){var te=this.expandMacro(z);return te&&te.map(ue=>ue.text).join("")}_getExpansion(z){var te=this.macros.get(z);if(te==null)return te;if(z.length===1){var ue=this.lexer.catcodes[z];if(ue!=null&&ue!==13)return}var Se=typeof te=="function"?te(this):te;if(typeof Se=="string"){var Le=0;if(Se.includes("#"))for(var qe=Se.replace(/##/g,"");qe.includes("#"+(Le+1));)++Le;for(var st=new Fn(Se,this.settings),dt=[],Gt=st.lex();Gt.text!=="EOF";)dt.push(Gt),Gt=st.lex();dt.reverse();var ln={tokens:dt,numArgs:Le};return ln}return Se}isDefined(z){return this.macros.has(z)||ee.hasOwnProperty(z)||lt.math.hasOwnProperty(z)||lt.text.hasOwnProperty(z)||bl.hasOwnProperty(z)}isExpandable(z){var te=this.macros.get(z);return te!=null?typeof te=="string"||typeof te=="function"||!te.unexpandable:ee.hasOwnProperty(z)&&!ee[z].primitive}}var zl=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Is=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),yl={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},iu={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class El{constructor(z,te){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new pu(z,te,this.mode),this.settings=te,this.leftrightDepth=0}expect(z,te){if(te===void 0&&(te=!0),this.fetch().text!==z)throw new Rt("Expected '"+z+"', got '"+this.fetch().text+"'",this.fetch());te&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(z){this.mode=z,this.gullet.switchMode(z)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var z=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),z}finally{this.gullet.endGroups()}}subparse(z){var te=this.nextToken;this.consume(),this.gullet.pushToken(new Ke("}")),this.gullet.pushTokens(z);var ue=this.parseExpression(!1);return this.expect("}"),this.nextToken=te,ue}parseExpression(z,te){for(var ue=[];;){this.mode==="math"&&this.consumeSpaces();var Se=this.fetch();if(El.endOfExpression.has(Se.text)||te&&Se.text===te||z&&ee[Se.text]&&ee[Se.text].infix)break;var Le=this.parseAtom(te);if(Le){if(Le.type==="internal")continue}else break;ue.push(Le)}return this.mode==="text"&&this.formLigatures(ue),this.handleInfixNodes(ue)}handleInfixNodes(z){for(var te=-1,ue,Se=0;Se=128)this.settings.strict&&(dn(te.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+te[0]+'" used in math mode',z):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+te[0]+'"'+(" ("+te.charCodeAt(0)+")"),z)),qe={type:"textord",mode:"text",loc:_t.range(z),text:te};else return null;if(this.consume(),Le)for(var Tn=0;Tnz in oe?Vs(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,mu=(oe,z)=>{for(var te in z||(z={}))Cl.call(z,te)&&Gl(oe,te,z[te]);if(Bo)for(var te of Bo(z))hu.call(z,te)&&Gl(oe,te,z[te]);return oe},Wl=(oe,z)=>{var te={};for(var ue in oe)Cl.call(oe,ue)&&z.indexOf(ue)<0&&(te[ue]=oe[ue]);if(oe!=null&&Bo)for(var ue of Bo(oe))z.indexOf(ue)<0&&hu.call(oe,ue)&&(te[ue]=oe[ue]);return te},ul=({onFinish:oe,value:z,streamingStatus:te,cancelIndex:ue,loadImage:Se})=>{const[Le,qe]=(0,b.useState)(""),[st,dt]=(0,b.useState)(0),[Gt,ln]=(0,b.useState)(!1),Tn=ar=>ar.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Yn,Cr)=>`$$${Cr.trim()}$$`).replace(/\\\(([\s\S]*?)\\\)/g,'$$$$$1$$$$').replace(/\\\[([\s\S]*?)\\\]/g,'$$$$$1$$$$').replace(/_{2,}/g,"`$&`"),_n=()=>{ln(!0),oe==null||oe()};return(0,b.useEffect)(()=>{const ar=Se?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +?)[ \r ]*`,hn="[\u0300-\u036F]",wa=new RegExp(hn+"+$"),hi="("+Ne+"+)|"+(Mr+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(hn+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(hn+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+fr)+("|"+Rn+")");class Bn{constructor(z,te){this.input=z,this.settings=te,this.tokenRegex=new RegExp(hi,"g"),this.catcodes={"%":14,"~":13}}setCatcode(z,te){this.catcodes[z]=te}lex(){var z=this.input,te=this.tokenRegex.lastIndex;if(te===z.length)return new Vi("EOF",new ao(this,te,te));var ue=this.tokenRegex.exec(z);if(ue===null||ue.index!==te)throw new St("Unexpected character: '"+z[te]+"'",new Vi(z[te],new ao(this,te,te+1)));var Ee=ue[6]||ue[3]||(ue[2]?"\\ ":" ");if(this.catcodes[Ee]===14){var Me=z.indexOf(` +`,this.tokenRegex.lastIndex);return Me===-1?(this.tokenRegex.lastIndex=z.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Me+1,this.lex()}return new Vi(Ee,new ao(this,te,this.tokenRegex.lastIndex))}}class no{constructor(z,te){z===void 0&&(z={}),te===void 0&&(te={}),this.current=te,this.builtins=z,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new St("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var z=this.undefStack.pop();for(var te in z)z.hasOwnProperty(te)&&(z[te]==null?delete this.current[te]:this.current[te]=z[te])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(z){return this.current.hasOwnProperty(z)||this.builtins.hasOwnProperty(z)}get(z){return this.current.hasOwnProperty(z)?this.current[z]:this.builtins[z]}set(z,te,ue){if(ue===void 0&&(ue=!1),ue){for(var Ee=0;Ee0&&(this.undefStack[this.undefStack.length-1][z]=te)}else{var Me=this.undefStack[this.undefStack.length-1];Me&&!Me.hasOwnProperty(z)&&(Me[z]=this.current[z])}te==null?delete this.current[z]:this.current[z]=te}}var Ao=js;jt("\\noexpand",function(oe){var z=oe.popToken();return oe.isExpandable(z.text)&&(z.noexpand=!0,z.treatAsRelax=!0),{tokens:[z],numArgs:0}}),jt("\\expandafter",function(oe){var z=oe.popToken();return oe.expandOnce(!0),{tokens:[z],numArgs:0}}),jt("\\@firstoftwo",function(oe){var z=oe.consumeArgs(2);return{tokens:z[0],numArgs:0}}),jt("\\@secondoftwo",function(oe){var z=oe.consumeArgs(2);return{tokens:z[1],numArgs:0}}),jt("\\@ifnextchar",function(oe){var z=oe.consumeArgs(3);oe.consumeSpaces();var te=oe.future();return z[0].length===1&&z[0][0].text===te.text?{tokens:z[1],numArgs:0}:{tokens:z[2],numArgs:0}}),jt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),jt("\\TextOrMath",function(oe){var z=oe.consumeArgs(2);return oe.mode==="text"?{tokens:z[0],numArgs:0}:{tokens:z[1],numArgs:0}});var ml={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};jt("\\char",function(oe){var z=oe.popToken(),te,ue=0;if(z.text==="'")te=8,z=oe.popToken();else if(z.text==='"')te=16,z=oe.popToken();else if(z.text==="`")if(z=oe.popToken(),z.text[0]==="\\")ue=z.text.charCodeAt(1);else{if(z.text==="EOF")throw new St("\\char` missing argument");ue=z.text.charCodeAt(0)}else te=10;if(te){if(ue=ml[z.text],ue==null||ue>=te)throw new St("Invalid base-"+te+" digit "+z.text);for(var Ee;(Ee=ml[oe.future().text])!=null&&Ee{var Ee=oe.consumeArg().tokens;if(Ee.length!==1)throw new St("\\newcommand's first argument must be a macro name");var Me=Ee[0].text,Xe=oe.isDefined(Me);if(Xe&&!z)throw new St("\\newcommand{"+Me+"} attempting to redefine "+(Me+"; use \\renewcommand"));if(!Xe&&!te)throw new St("\\renewcommand{"+Me+"} when command "+Me+" does not yet exist; use \\newcommand");var lt=0;if(Ee=oe.consumeArg().tokens,Ee.length===1&&Ee[0].text==="["){for(var ht="",zt=oe.expandNextToken();zt.text!=="]"&&zt.text!=="EOF";)ht+=zt.text,zt=oe.expandNextToken();if(!ht.match(/^\s*[0-9]+\s*$/))throw new St("Invalid number of arguments: "+ht);lt=parseInt(ht),Ee=oe.consumeArg().tokens}return Xe&&ue||oe.macros.set(Me,{tokens:Ee,numArgs:lt}),""};jt("\\newcommand",oe=>Vs(oe,!1,!0,!1)),jt("\\renewcommand",oe=>Vs(oe,!0,!1,!1)),jt("\\providecommand",oe=>Vs(oe,!0,!0,!0)),jt("\\message",oe=>{var z=oe.consumeArgs(1)[0];return console.log(z.reverse().map(te=>te.text).join("")),""}),jt("\\errmessage",oe=>{var z=oe.consumeArgs(1)[0];return console.error(z.reverse().map(te=>te.text).join("")),""}),jt("\\show",oe=>{var z=oe.popToken(),te=z.text;return console.log(z,oe.macros.get(te),ee[te],zr.math[te],zr.text[te]),""}),jt("\\bgroup","{"),jt("\\egroup","}"),jt("~","\\nobreakspace"),jt("\\lq","`"),jt("\\rq","'"),jt("\\aa","\\r a"),jt("\\AA","\\r A"),jt("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),jt("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),jt("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),jt("\u212C","\\mathscr{B}"),jt("\u2130","\\mathscr{E}"),jt("\u2131","\\mathscr{F}"),jt("\u210B","\\mathscr{H}"),jt("\u2110","\\mathscr{I}"),jt("\u2112","\\mathscr{L}"),jt("\u2133","\\mathscr{M}"),jt("\u211B","\\mathscr{R}"),jt("\u212D","\\mathfrak{C}"),jt("\u210C","\\mathfrak{H}"),jt("\u2128","\\mathfrak{Z}"),jt("\\Bbbk","\\Bbb{k}"),jt("\xB7","\\cdotp"),jt("\\llap","\\mathllap{\\textrm{#1}}"),jt("\\rlap","\\mathrlap{\\textrm{#1}}"),jt("\\clap","\\mathclap{\\textrm{#1}}"),jt("\\mathstrut","\\vphantom{(}"),jt("\\underbar","\\underline{\\text{#1}}"),jt("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),jt("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),jt("\\ne","\\neq"),jt("\u2260","\\neq"),jt("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),jt("\u2209","\\notin"),jt("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),jt("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),jt("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),jt("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),jt("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),jt("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),jt("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),jt("\u27C2","\\perp"),jt("\u203C","\\mathclose{!\\mkern-0.8mu!}"),jt("\u220C","\\notni"),jt("\u231C","\\ulcorner"),jt("\u231D","\\urcorner"),jt("\u231E","\\llcorner"),jt("\u231F","\\lrcorner"),jt("\xA9","\\copyright"),jt("\xAE","\\textregistered"),jt("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),jt("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),jt("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),jt("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),jt("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),jt("\u22EE","\\vdots"),jt("\\varGamma","\\mathit{\\Gamma}"),jt("\\varDelta","\\mathit{\\Delta}"),jt("\\varTheta","\\mathit{\\Theta}"),jt("\\varLambda","\\mathit{\\Lambda}"),jt("\\varXi","\\mathit{\\Xi}"),jt("\\varPi","\\mathit{\\Pi}"),jt("\\varSigma","\\mathit{\\Sigma}"),jt("\\varUpsilon","\\mathit{\\Upsilon}"),jt("\\varPhi","\\mathit{\\Phi}"),jt("\\varPsi","\\mathit{\\Psi}"),jt("\\varOmega","\\mathit{\\Omega}"),jt("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),jt("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),jt("\\boxed","\\fbox{$\\displaystyle{#1}$}"),jt("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),jt("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),jt("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),jt("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),jt("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var co={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},Ls=new Set(["bin","rel"]);jt("\\dots",function(oe){var z="\\dotso",te=oe.expandAfterFuture().text;return te in co?z=co[te]:(te.slice(0,4)==="\\not"||te in zr.math&&Ls.has(zr.math[te].group))&&(z="\\dotsb"),z});var ko={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};jt("\\dotso",function(oe){var z=oe.future().text;return z in ko?"\\ldots\\,":"\\ldots"}),jt("\\dotsc",function(oe){var z=oe.future().text;return z in ko&&z!==","?"\\ldots\\,":"\\ldots"}),jt("\\cdots",function(oe){var z=oe.future().text;return z in ko?"\\@cdots\\,":"\\@cdots"}),jt("\\dotsb","\\cdots"),jt("\\dotsm","\\cdots"),jt("\\dotsi","\\!\\cdots"),jt("\\dotsx","\\ldots\\,"),jt("\\DOTSI","\\relax"),jt("\\DOTSB","\\relax"),jt("\\DOTSX","\\relax"),jt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),jt("\\,","\\tmspace+{3mu}{.1667em}"),jt("\\thinspace","\\,"),jt("\\>","\\mskip{4mu}"),jt("\\:","\\tmspace+{4mu}{.2222em}"),jt("\\medspace","\\:"),jt("\\;","\\tmspace+{5mu}{.2777em}"),jt("\\thickspace","\\;"),jt("\\!","\\tmspace-{3mu}{.1667em}"),jt("\\negthinspace","\\!"),jt("\\negmedspace","\\tmspace-{4mu}{.2222em}"),jt("\\negthickspace","\\tmspace-{5mu}{.277em}"),jt("\\enspace","\\kern.5em "),jt("\\enskip","\\hskip.5em\\relax"),jt("\\quad","\\hskip1em\\relax"),jt("\\qquad","\\hskip2em\\relax"),jt("\\tag","\\@ifstar\\tag@literal\\tag@paren"),jt("\\tag@paren","\\tag@literal{({#1})}"),jt("\\tag@literal",oe=>{if(oe.macros.get("\\df@tag"))throw new St("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),jt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),jt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),jt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),jt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),jt("\\newline","\\\\\\relax"),jt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Cs=qt($r["Main-Regular"][84][1]-.7*$r["Main-Regular"][65][1]);jt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Cs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),jt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Cs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),jt("\\hspace","\\@ifstar\\@hspacer\\@hspace"),jt("\\@hspace","\\hskip #1\\relax"),jt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),jt("\\ordinarycolon",":"),jt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),jt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),jt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),jt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),jt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),jt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),jt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),jt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),jt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),jt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),jt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),jt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),jt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),jt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),jt("\u2237","\\dblcolon"),jt("\u2239","\\eqcolon"),jt("\u2254","\\coloneqq"),jt("\u2255","\\eqqcolon"),jt("\u2A74","\\Coloneqq"),jt("\\ratio","\\vcentcolon"),jt("\\coloncolon","\\dblcolon"),jt("\\colonequals","\\coloneqq"),jt("\\coloncolonequals","\\Coloneqq"),jt("\\equalscolon","\\eqqcolon"),jt("\\equalscoloncolon","\\Eqqcolon"),jt("\\colonminus","\\coloneq"),jt("\\coloncolonminus","\\Coloneq"),jt("\\minuscolon","\\eqcolon"),jt("\\minuscoloncolon","\\Eqcolon"),jt("\\coloncolonapprox","\\Colonapprox"),jt("\\coloncolonsim","\\Colonsim"),jt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),jt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),jt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),jt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),jt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),jt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),jt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),jt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),jt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),jt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),jt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),jt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),jt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),jt("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),jt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),jt("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),jt("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),jt("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),jt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),jt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),jt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),jt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),jt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),jt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),jt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),jt("\\imath","\\html@mathml{\\@imath}{\u0131}"),jt("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),jt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),jt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),jt("\u27E6","\\llbracket"),jt("\u27E7","\\rrbracket"),jt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),jt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),jt("\u2983","\\lBrace"),jt("\u2984","\\rBrace"),jt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),jt("\u29B5","\\minuso"),jt("\\darr","\\downarrow"),jt("\\dArr","\\Downarrow"),jt("\\Darr","\\Downarrow"),jt("\\lang","\\langle"),jt("\\rang","\\rangle"),jt("\\uarr","\\uparrow"),jt("\\uArr","\\Uparrow"),jt("\\Uarr","\\Uparrow"),jt("\\N","\\mathbb{N}"),jt("\\R","\\mathbb{R}"),jt("\\Z","\\mathbb{Z}"),jt("\\alef","\\aleph"),jt("\\alefsym","\\aleph"),jt("\\Alpha","\\mathrm{A}"),jt("\\Beta","\\mathrm{B}"),jt("\\bull","\\bullet"),jt("\\Chi","\\mathrm{X}"),jt("\\clubs","\\clubsuit"),jt("\\cnums","\\mathbb{C}"),jt("\\Complex","\\mathbb{C}"),jt("\\Dagger","\\ddagger"),jt("\\diamonds","\\diamondsuit"),jt("\\empty","\\emptyset"),jt("\\Epsilon","\\mathrm{E}"),jt("\\Eta","\\mathrm{H}"),jt("\\exist","\\exists"),jt("\\harr","\\leftrightarrow"),jt("\\hArr","\\Leftrightarrow"),jt("\\Harr","\\Leftrightarrow"),jt("\\hearts","\\heartsuit"),jt("\\image","\\Im"),jt("\\infin","\\infty"),jt("\\Iota","\\mathrm{I}"),jt("\\isin","\\in"),jt("\\Kappa","\\mathrm{K}"),jt("\\larr","\\leftarrow"),jt("\\lArr","\\Leftarrow"),jt("\\Larr","\\Leftarrow"),jt("\\lrarr","\\leftrightarrow"),jt("\\lrArr","\\Leftrightarrow"),jt("\\Lrarr","\\Leftrightarrow"),jt("\\Mu","\\mathrm{M}"),jt("\\natnums","\\mathbb{N}"),jt("\\Nu","\\mathrm{N}"),jt("\\Omicron","\\mathrm{O}"),jt("\\plusmn","\\pm"),jt("\\rarr","\\rightarrow"),jt("\\rArr","\\Rightarrow"),jt("\\Rarr","\\Rightarrow"),jt("\\real","\\Re"),jt("\\reals","\\mathbb{R}"),jt("\\Reals","\\mathbb{R}"),jt("\\Rho","\\mathrm{P}"),jt("\\sdot","\\cdot"),jt("\\sect","\\S"),jt("\\spades","\\spadesuit"),jt("\\sub","\\subset"),jt("\\sube","\\subseteq"),jt("\\supe","\\supseteq"),jt("\\Tau","\\mathrm{T}"),jt("\\thetasym","\\vartheta"),jt("\\weierp","\\wp"),jt("\\Zeta","\\mathrm{Z}"),jt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),jt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),jt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),jt("\\bra","\\mathinner{\\langle{#1}|}"),jt("\\ket","\\mathinner{|{#1}\\rangle}"),jt("\\braket","\\mathinner{\\langle{#1}\\rangle}"),jt("\\Bra","\\left\\langle#1\\right|"),jt("\\Ket","\\left|#1\\right\\rangle");var Zs=oe=>z=>{var te=z.consumeArg().tokens,ue=z.consumeArg().tokens,Ee=z.consumeArg().tokens,Me=z.consumeArg().tokens,Xe=z.macros.get("|"),lt=z.macros.get("\\|");z.macros.beginGroup();var ht=An=>Fn=>{oe&&(Fn.macros.set("|",Xe),Ee.length&&Fn.macros.set("\\|",lt));var Hn=An;if(!An&&Ee.length){var ir=Fn.future();ir.text==="|"&&(Fn.popToken(),Hn=!0)}return{tokens:Hn?Ee:ue,numArgs:0}};z.macros.set("|",ht(!1)),Ee.length&&z.macros.set("\\|",ht(!0));var zt=z.consumeArg().tokens,sn=z.expandTokens([...Me,...zt,...te]);return z.macros.endGroup(),{tokens:sn.reverse(),numArgs:0}};jt("\\bra@ket",Zs(!1)),jt("\\bra@set",Zs(!0)),jt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),jt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),jt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),jt("\\angln","{\\angl n}"),jt("\\blue","\\textcolor{##6495ed}{#1}"),jt("\\orange","\\textcolor{##ffa500}{#1}"),jt("\\pink","\\textcolor{##ff00af}{#1}"),jt("\\red","\\textcolor{##df0030}{#1}"),jt("\\green","\\textcolor{##28ae7b}{#1}"),jt("\\gray","\\textcolor{gray}{#1}"),jt("\\purple","\\textcolor{##9d38bd}{#1}"),jt("\\blueA","\\textcolor{##ccfaff}{#1}"),jt("\\blueB","\\textcolor{##80f6ff}{#1}"),jt("\\blueC","\\textcolor{##63d9ea}{#1}"),jt("\\blueD","\\textcolor{##11accd}{#1}"),jt("\\blueE","\\textcolor{##0c7f99}{#1}"),jt("\\tealA","\\textcolor{##94fff5}{#1}"),jt("\\tealB","\\textcolor{##26edd5}{#1}"),jt("\\tealC","\\textcolor{##01d1c1}{#1}"),jt("\\tealD","\\textcolor{##01a995}{#1}"),jt("\\tealE","\\textcolor{##208170}{#1}"),jt("\\greenA","\\textcolor{##b6ffb0}{#1}"),jt("\\greenB","\\textcolor{##8af281}{#1}"),jt("\\greenC","\\textcolor{##74cf70}{#1}"),jt("\\greenD","\\textcolor{##1fab54}{#1}"),jt("\\greenE","\\textcolor{##0d923f}{#1}"),jt("\\goldA","\\textcolor{##ffd0a9}{#1}"),jt("\\goldB","\\textcolor{##ffbb71}{#1}"),jt("\\goldC","\\textcolor{##ff9c39}{#1}"),jt("\\goldD","\\textcolor{##e07d10}{#1}"),jt("\\goldE","\\textcolor{##a75a05}{#1}"),jt("\\redA","\\textcolor{##fca9a9}{#1}"),jt("\\redB","\\textcolor{##ff8482}{#1}"),jt("\\redC","\\textcolor{##f9685d}{#1}"),jt("\\redD","\\textcolor{##e84d39}{#1}"),jt("\\redE","\\textcolor{##bc2612}{#1}"),jt("\\maroonA","\\textcolor{##ffbde0}{#1}"),jt("\\maroonB","\\textcolor{##ff92c6}{#1}"),jt("\\maroonC","\\textcolor{##ed5fa6}{#1}"),jt("\\maroonD","\\textcolor{##ca337c}{#1}"),jt("\\maroonE","\\textcolor{##9e034e}{#1}"),jt("\\purpleA","\\textcolor{##ddd7ff}{#1}"),jt("\\purpleB","\\textcolor{##c6b9fc}{#1}"),jt("\\purpleC","\\textcolor{##aa87ff}{#1}"),jt("\\purpleD","\\textcolor{##7854ab}{#1}"),jt("\\purpleE","\\textcolor{##543b78}{#1}"),jt("\\mintA","\\textcolor{##f5f9e8}{#1}"),jt("\\mintB","\\textcolor{##edf2df}{#1}"),jt("\\mintC","\\textcolor{##e0e5cc}{#1}"),jt("\\grayA","\\textcolor{##f6f7f7}{#1}"),jt("\\grayB","\\textcolor{##f0f1f2}{#1}"),jt("\\grayC","\\textcolor{##e3e5e6}{#1}"),jt("\\grayD","\\textcolor{##d6d8da}{#1}"),jt("\\grayE","\\textcolor{##babec2}{#1}"),jt("\\grayF","\\textcolor{##888d93}{#1}"),jt("\\grayG","\\textcolor{##626569}{#1}"),jt("\\grayH","\\textcolor{##3b3e40}{#1}"),jt("\\grayI","\\textcolor{##21242c}{#1}"),jt("\\kaBlue","\\textcolor{##314453}{#1}"),jt("\\kaGreen","\\textcolor{##71B307}{#1}");var gl={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class mu{constructor(z,te,ue){this.settings=te,this.expansionCount=0,this.feed(z),this.macros=new no(Ao,te.macros),this.mode=ue,this.stack=[]}feed(z){this.lexer=new Bn(z,this.settings)}switchMode(z){this.mode=z}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(z){this.stack.push(z)}pushTokens(z){this.stack.push(...z)}scanArgument(z){var te,ue,Ee;if(z){if(this.consumeSpaces(),this.future().text!=="[")return null;te=this.popToken(),{tokens:Ee,end:ue}=this.consumeArg(["]"])}else({tokens:Ee,start:te,end:ue}=this.consumeArg());return this.pushToken(new Vi("EOF",ue.loc)),this.pushTokens(Ee),new Vi("",ao.range(te,ue))}consumeSpaces(){for(;;){var z=this.future();if(z.text===" ")this.stack.pop();else break}}consumeArg(z){var te=[],ue=z&&z.length>0;ue||this.consumeSpaces();var Ee=this.future(),Me,Xe=0,lt=0;do{if(Me=this.popToken(),te.push(Me),Me.text==="{")++Xe;else if(Me.text==="}"){if(--Xe,Xe===-1)throw new St("Extra }",Me)}else if(Me.text==="EOF")throw new St("Unexpected end of input in a macro argument, expected '"+(z&&ue?z[lt]:"}")+"'",Me);if(z&&ue)if((Xe===0||Xe===1&&z[lt]==="{")&&Me.text===z[lt]){if(++lt,lt===z.length){te.splice(-lt,lt);break}}else lt=0}while(Xe!==0||ue);return Ee.text==="{"&&te[te.length-1].text==="}"&&(te.pop(),te.shift()),te.reverse(),{tokens:te,start:Ee,end:Me}}consumeArgs(z,te){if(te){if(te.length!==z+1)throw new St("The length of delimiters doesn't match the number of args!");for(var ue=te[0],Ee=0;Eethis.settings.maxExpand)throw new St("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(z){var te=this.popToken(),ue=te.text,Ee=te.noexpand?null:this._getExpansion(ue);if(Ee==null||z&&Ee.unexpandable){if(z&&Ee==null&&ue[0]==="\\"&&!this.isDefined(ue))throw new St("Undefined control sequence: "+ue);return this.pushToken(te),!1}this.countExpansion(1);var Me=Ee.tokens,Xe=this.consumeArgs(Ee.numArgs,Ee.delimiters);if(Ee.numArgs){Me=Me.slice();for(var lt=Me.length-1;lt>=0;--lt){var ht=Me[lt];if(ht.text==="#"){if(lt===0)throw new St("Incomplete placeholder at end of macro body",ht);if(ht=Me[--lt],ht.text==="#")Me.splice(lt+1,1);else if(/^[1-9]$/.test(ht.text))Me.splice(lt,2,...Xe[+ht.text-1]);else throw new St("Not a valid argument number",ht)}}}return this.pushTokens(Me),Me.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var z=this.stack.pop();return z.treatAsRelax&&(z.text="\\relax"),z}}expandMacro(z){return this.macros.has(z)?this.expandTokens([new Vi(z)]):void 0}expandTokens(z){var te=[],ue=this.stack.length;for(this.pushTokens(z);this.stack.length>ue;)if(this.expandOnce(!0)===!1){var Ee=this.stack.pop();Ee.treatAsRelax&&(Ee.noexpand=!1,Ee.treatAsRelax=!1),te.push(Ee)}return this.countExpansion(te.length),te}expandMacroAsText(z){var te=this.expandMacro(z);return te&&te.map(ue=>ue.text).join("")}_getExpansion(z){var te=this.macros.get(z);if(te==null)return te;if(z.length===1){var ue=this.lexer.catcodes[z];if(ue!=null&&ue!==13)return}var Ee=typeof te=="function"?te(this):te;if(typeof Ee=="string"){var Me=0;if(Ee.includes("#"))for(var Xe=Ee.replace(/##/g,"");Xe.includes("#"+(Me+1));)++Me;for(var lt=new Bn(Ee,this.settings),ht=[],zt=lt.lex();zt.text!=="EOF";)ht.push(zt),zt=lt.lex();ht.reverse();var sn={tokens:ht,numArgs:Me};return sn}return Ee}isDefined(z){return this.macros.has(z)||ee.hasOwnProperty(z)||zr.math.hasOwnProperty(z)||zr.text.hasOwnProperty(z)||gl.hasOwnProperty(z)}isExpandable(z){var te=this.macros.get(z);return te!=null?typeof te=="string"||typeof te=="function"||!te.unexpandable:ee.hasOwnProperty(z)&&!ee[z].primitive}}var Hl=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Ms=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),vl={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},ou={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class bl{constructor(z,te){this.mode="math",this.gullet=new mu(z,te,this.mode),this.settings=te,this.leftrightDepth=0,this.nextToken=null}expect(z,te){if(te===void 0&&(te=!0),this.fetch().text!==z)throw new St("Expected '"+z+"', got '"+this.fetch().text+"'",this.fetch());te&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(z){this.mode=z,this.gullet.switchMode(z)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var z=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),z}finally{this.gullet.endGroups()}}subparse(z){var te=this.nextToken;this.consume(),this.gullet.pushToken(new Vi("}")),this.gullet.pushTokens(z);var ue=this.parseExpression(!1);return this.expect("}"),this.nextToken=te,ue}parseExpression(z,te){for(var ue=[];;){this.mode==="math"&&this.consumeSpaces();var Ee=this.fetch();if(bl.endOfExpression.has(Ee.text)||te&&Ee.text===te||z&&ee[Ee.text]&&ee[Ee.text].infix)break;var Me=this.parseAtom(te);if(Me){if(Me.type==="internal")continue}else break;ue.push(Me)}return this.mode==="text"&&this.formLigatures(ue),this.handleInfixNodes(ue)}handleInfixNodes(z){for(var te=-1,ue,Ee=0;Ee=128)this.settings.strict&&(Wt(te.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+te[0]+'" used in math mode',z):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+te[0]+'"'+(" ("+te.charCodeAt(0)+")"),z)),Xe={type:"textord",mode:"text",loc:ao.range(z),text:te};else return null;if(this.consume(),Me)for(var An=0;Anz in oe?Ks(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,vu=(oe,z)=>{for(var te in z||(z={}))Sl.call(z,te)&&Wl(oe,te,z[te]);if(Lo)for(var te of Lo(z))gu.call(z,te)&&Wl(oe,te,z[te]);return oe},Vl=(oe,z)=>{var te={};for(var ue in oe)Sl.call(oe,ue)&&z.indexOf(ue)<0&&(te[ue]=oe[ue]);if(oe!=null&&Lo)for(var ue of Lo(oe))z.indexOf(ue)<0&&gu.call(oe,ue)&&(te[ue]=oe[ue]);return te},ll=({onFinish:oe,value:z,streamingStatus:te,cancelIndex:ue,loadImage:Ee})=>{const[Me,Xe]=(0,b.useState)(""),[lt,ht]=(0,b.useState)(0),[zt,sn]=(0,b.useState)(!1),An=ir=>ir.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(Xn,Cr)=>`$$${Cr.trim()}$$`).replace(/\\\(([\s\S]*?)\\\)/g,'$$$$$1$$$$').replace(/\\\[([\s\S]*?)\\\]/g,'$$$$$1$$$$').replace(/_{2,}/g,"`$&`"),Fn=()=>{sn(!0),oe==null||oe()};return(0,b.useEffect)(()=>{const ir=Ee?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A -${z}`:z,Yn=Tn(ar);if(!Gt)if(Se||!te||ue>0){qe(Yn),dt(Yn.length),(!te||ue>0)&&!Se&&_n();return}else if(st{qe(Yn.slice(0,st+2)),dt(Br=>Br+2)},Cr>10?Math.max(500/(Cr/2),20):50);return()=>clearInterval(Ar)}else te||_n()},[z,te,ue,Se,st]),(0,b.useMemo)(()=>b.createElement("section",{className:`${It.answer} fadeIn animated edu_md`},b.createElement(_e.UG,{remarkPlugins:[ls.Z,Rs.Z],rehypePlugins:[ss,tt.Z],components:{code(ar){var Yn=ar,{node:Cr,inline:Ar,className:Br,children:Wr}=Yn,aa=Wl(Yn,["node","inline","className","children"]);const ba=/language-(\w+)/.exec(Br||""),na=String(Wr).trim();return Ar||!ba?b.createElement("code",mu({className:Br},aa),Wr):b.createElement("code",{className:It.codeCopy,"data-text":`\`\`\`${ba?ba[1]:""} -${Wr} -\`\`\``},b.createElement(rt.CopyToClipboard,{text:na,onCopy:()=>he.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),b.createElement(Ze.Z,mu({style:gt.Z,language:ba[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},aa),na))},img({node:ar}){var Yn;const Cr=(Yn=ar.properties)==null?void 0:Yn.src;return b.createElement(mt.Z,{src:Cr,width:320,"data-text":Cr,onLoad:()=>Se&&setTimeout(()=>_n(),500)})}}},Gt?Le:`${Le}__`)),[Le])},Vo={wrap:"wrap___xM4YL",chatContainer:"chatContainer___YKWvA",btnContainer:"btnContainer___ZOKZ6",btn:"btn___dw4ey",inputContainer:"inputContainer____MqKc",sendBtn:"sendBtn___ZgFiO",sendBtnDisabled:"sendBtnDisabled___kHLNx",cancelBtn:"cancelBtn___W7Cjg",loadingWrp:"loadingWrp___hrOXq","dot-fade":"dot-fade___A97g9"},Ou=({position:oe,children:z})=>{const{left:te=0,top:ue=0}=oe||{},[Se,Le]=(0,b.useState)(te),[qe,st]=(0,b.useState)(ue),dt=(0,b.useRef)(null),Gt=()=>{if(dt.current){const ln=dt.current.offsetWidth,Tn=dt.current.offsetHeight,_n=window.innerWidth,Gn=window.innerHeight;let ar=te,Yn=ue;te+ln>_n&&(ar=_n-ln),ar<0&&(ar=0),ue+Tn>Gn&&(Yn=Gn-Tn),Yn<0&&(Yn=0),Le(ar),st(Yn)}};return(0,b.useEffect)(()=>{if(!dt.current||!oe)return;const ln=new ResizeObserver(()=>{Gt()});return ln.observe(dt.current),()=>{ln.disconnect()}},[te,ue,oe]),(0,b.useEffect)(()=>{oe&&Gt()},[te,ue,oe]),oe?b.createElement("div",{ref:dt,style:{position:"fixed",left:`${Se}px`,top:`${qe}px`,zIndex:1050}},z):null},Vl=Object.defineProperty,Zl=Object.defineProperties,$l=Object.getOwnPropertyDescriptors,Ll=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,sc=Object.prototype.propertyIsEnumerable,gu=(oe,z,te)=>z in oe?Vl(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Zs=(oe,z)=>{for(var te in z||(z={}))ku.call(z,te)&&gu(oe,te,z[te]);if(Ll)for(var te of Ll(z))sc.call(z,te)&&gu(oe,te,z[te]);return oe},wl=(oe,z)=>Zl(oe,$l(z)),Ml=(oe,z,te)=>new Promise((ue,Se)=>{var Le=dt=>{try{st(te.next(dt))}catch(Gt){Se(Gt)}},qe=dt=>{try{st(te.throw(dt))}catch(Gt){Se(Gt)}},st=dt=>dt.done?ue(dt.value):Promise.resolve(dt.value).then(Le,qe);st((te=te.apply(oe,z)).next())}),Du=({visible:oe,position:z,selectText:te,applyRefinedText:ue,fetchUrl:Se,noRestrictModal:Le,shixun_generation_id:qe})=>{var st;const[dt,Gt]=(0,b.useState)(!1),[ln,Tn]=(0,b.useState)([]),[_n,Gn]=(0,b.useState)(""),[ar,Yn]=(0,b.useState)(1),[Cr,Ar]=(0,b.useState)(""),[Br,Wr]=(0,b.useState)(!1),aa=(0,b.useRef)(null),[ba,na]=(0,b.useState)(!1),[ka,Ba]=(0,b.useState)(0),Ga=(0,b.useRef)(!1),_a=((st=ln==null?void 0:ln[(ln==null?void 0:ln.length)-1])==null?void 0:st.loading)===!0;(0,b.useEffect)(()=>{if(oe){Yn(1);return}na(!1),Gt(!1),ei(),Ba(0),Tn([]),Yn(0)},[oe]);const ei=()=>{var xa,wa;Gn(""),Ar(""),(wa=(xa=aa.current)==null?void 0:xa.cancelRequest)==null||wa.call(xa)},Za=(...xa)=>Ml(void 0,[...xa],function*(wa="",oi=ln){const Li=Date.now(),Ei=[...oi,{text:wa,key:Li,sender:"user",show:!0},{loading:!0,key:Li,sender:"AI",show:!0}];Yn(2),Tn(Ei);const no={type:"stream",content:wa,shixun_generation_id:qe};aa.current=new He(Fe.Z.API_SERVER+Se,no),yield new Promise(Ho=>{aa.current.on("data",Zo=>{const{chunk:{msg:cs},full:ts}=Zo,ds=cs==="error";na(!0),Ar(oo(ts)),Tn(Oo=>Oo.map((Os,Rl)=>Rl===Oo.length-1?wl(Zs({},Os),{text:ts,loading:!1,error:ds}):Os))}),aa.current.on("done",()=>Ho()),aa.current.on("error",Zo=>{const cs="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(Zo)==="[object Object]"&&Zo.status===-9&&(Yn(1),Le(Zo.data)),Tn(ts=>ts.map((ds,Oo)=>Oo===ts.length-1?wl(Zs({},ds),{text:cs,loading:!1,error:!0}):ds)),Ho()}),aa.current.on("cancelled",()=>Ho()),aa.current.startStream()}),Gt(!1)}),za=xa=>{Gn(xa.target.value)},hr=xa=>xa.reduce((oi,Li)=>{if(Li.sender==="user"){const Ei=xa.find(no=>no.key===Li.key&&no.sender==="AI");Ei&&(Ei!=null&&Ei.text)&&!(Ei!=null&&Ei.error)&&oi.push({question:Li.text,answer:Ei.text})}return oi},[]),ca=()=>{if(es)return;const xa=fo("\u6539\u5199");ei(),Gt(!0),Za(xa)},Si=xa=>{if(xa.key==="Enter"&&!xa.shiftKey){if(xa.preventDefault(),Ga.current||Zi)return;ca()}},ji=()=>{var xa,wa;Ba(oi=>oi+1),(wa=(xa=aa.current)==null?void 0:xa.cancelRequest)==null||wa.call(xa),Gt(!1),na(!1)},zo=[{key:"1",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:b.createElement("span",null,b.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],oo=(xa="")=>{const wa=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((oi,Li)=>{wa.push(`\u7B54\u6848${Li+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Li+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Li+1})\u8F93\u51FA\uFF1A`)}),wa.forEach(oi=>{const Li=new RegExp(oi,"g");xa=xa.replace(Li,`**${oi}** `)}),xa},fo=xa=>xa==="\u6539\u5199"?`${_n}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${te}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`:`${te}\uFF0C${xa}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`,hi=xa=>{let wa="";xa.key==="1"&&(wa=fo("\u6DA6\u8272")),xa.key==="2"&&(wa=fo("\u6269\u5199")),xa.key==="3"&&(wa=fo("\u7F29\u5199")),ei(),Gt(!0),Za(wa)},po=()=>{const xa=ln.splice(ln.length-2),{text:wa}=(xa==null?void 0:xa[0])||{};ei(),Gt(!0),Za(wa,ln)},Zi=dt||ba,es=(_n==null?void 0:_n.trim())==="";return oe?b.createElement(we.Z,{open:es&&!Zi&&(Br||!Cr),overlayStyle:{minWidth:200},menu:{items:zo,onClick:hi}},b.createElement(Ou,{position:z},b.createElement("div",{className:Vo.wrap},ar===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:Vo.chatContainer},_a&&b.createElement("div",{className:Vo.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Cr&&b.createElement(ul,{cancelIndex:ka,streamingStatus:dt,loadImage:!1,onFinish:()=>Ml(void 0,null,function*(){Ba(0),setTimeout(()=>na(!1),0)}),value:Cr})),b.createElement("div",{className:Vo.btnContainer},b.createElement("div",{onClick:()=>ue(!0,Cr),className:Vo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>ue(!1,Cr),className:Vo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(rt.CopyToClipboard,{text:Cr,onCopy:()=>he.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("div",{className:Vo.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:po,className:Vo.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(be.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{Yn(1),ei(),Tn([])},className:Vo.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:Vo.inputContainer},b.createElement(Re.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:_n,bordered:!1,onFocus:()=>Wr(!0),onBlur:()=>setTimeout(()=>Wr(!1),300),onChange:za,onPressEnter:Si,onCompositionStart:()=>Ga.current=!0,onCompositionEnd:()=>Ga.current=!1}),ba?b.createElement("div",{className:`iconfont icon-tingzhihuida ${Vo.cancelBtn}`,onClick:ji}):b.createElement(Oe.ZP,{className:es?Vo.sendBtnDisabled:Vo.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Zi,onClick:ca}))))):b.createElement(b.Fragment,null)},vu={"hover-line-container":"hover-line-container___woRPT","hover-line-content":"hover-line-content___i9fTS","line-button-container":"line-button-container___ts8rT",button:"button___DE9UP"},lc=Object.defineProperty,Lu=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,Mu=Object.prototype.propertyIsEnumerable,Pu=(oe,z,te)=>z in oe?lc(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,uc=(oe,z)=>{for(var te in z||(z={}))Fo.call(z,te)&&Pu(oe,te,z[te]);if(Lu)for(var te of Lu(z))Mu.call(z,te)&&Pu(oe,te,z[te]);return oe};const _c=oe=>React.createElement("svg",uc({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var bu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Bu=(0,b.forwardRef)(({initialContent:oe,onButtonClick:z},te)=>{const[ue,Se]=(0,b.useState)(null),[Le,qe]=(0,b.useState)(null),[st,dt]=(0,b.useState)(""),[Gt,ln]=(0,b.useState)(null),Tn=te,_n=Wr=>{const aa=document.elementFromPoint(10,Wr),ba=document.createRange();let na=null;const ka=document.createTreeWalker(Tn.current,NodeFilter.SHOW_TEXT,{acceptNode:hr=>{const ca=document.createRange();ca.selectNodeContents(hr);const Si=ca.getBoundingClientRect();return Si.top<=Wr&&Si.bottom>=Wr?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let Ba="",Ga,_a,ei=null,Za=null,za=null;for(;Ga=ka.nextNode();){Ga.parentNode.getAttribute("data-select")==="disabled"&&(_a=!0),Ba+=Ga.textContent,Za||(Za=Ga),za=Ga;const hr=document.createRange();hr.selectNodeContents(Ga);const ca=hr.getBoundingClientRect();ei===null&&(ei=ca.top)}if(Za&&za&&!_a){const hr=document.createRange();hr.setStart(Za,0),hr.setEnd(za,za.textContent.length),ln(hr)}else ln(null);return qe(ei-1),_a?"":Ba.trim()};function Gn(Wr){for(;Wr.parentElement&&Wr.parentElement.tagName.toLowerCase()!=="section";){var aa=window.getComputedStyle(Wr.parentElement);if(aa.pointerEvents==="none")return!0;Wr=Wr.parentElement}return!1}const ar=Wr=>{var aa,ba;if(Gn(Wr.target)){qe(-1e6);return}if(((ba=(aa=document.getSelection())==null?void 0:aa.toString)==null?void 0:ba.call(aa))!==""){qe(-1e6);return}const na=_n(Wr.clientY);if((na==null?void 0:na.trim())===""){qe(-1e6);return}const ka=Tn.current.getBoundingClientRect();Se(ka.left-30),dt(na)},Yn=()=>{},Cr=Wr=>{z&&st&&z(st,Wr.clientX,Wr.clientY,Gt)},Ar=()=>{if(Gt){const Wr=window.getSelection();Wr.removeAllRanges(),Wr.addRange(Gt)}},Br=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const Wr=Tn.current;return Wr.addEventListener("mousemove",ar),Wr.addEventListener("mouseleave",Yn),()=>{Wr.removeEventListener("mousemove",ar),Wr.removeEventListener("mouseleave",Yn),Br()}},[oe]),b.createElement("div",{className:vu["hover-line-container2"]},Le!==null&&b.createElement("div",{className:vu["line-button-container"],style:{top:Le,left:ue},onMouseEnter:()=>{Ar()},onMouseLeave:()=>{Br(),qe(null),dt(""),ln(null)}},b.createElement("div",{className:vu.button,onClick:Cr},b.createElement("img",{src:bu,style:{marginTop:"-3px"}}),b.createElement("div",null,"AI\u6539\u5199"))))}),Fu={toolbar:"toolbar___qUHHn","chat-dialog":"chat-dialog___MttMt",button:"button___liWwI"},dc=({nodeRef:oe,noRestrictModal:z,onSuccess:te,shixun_generation_id:ue,current:Se})=>{const[Le,qe]=(0,b.useState)(null),[st,dt]=(0,b.useState)(null),[Gt,ln]=(0,b.useState)(!1),[Tn,_n]=(0,b.useState)(null),[Gn,ar]=(0,b.useState)(!1),[Yn,Cr]=(0,b.useState)(!1),Ar=oe,Br=(0,b.useRef)(null),Wr=(0,b.useRef)(null),[aa,ba]=(0,b.useState)("");(0,b.useEffect)(()=>{ln(!1),dt(null)},[Se]),(0,b.useEffect)(()=>{Le!=null&&Le.toString()&&ba(Le==null?void 0:Le.toString())},[Le==null?void 0:Le.toString()]);const na=()=>{const _a=window.getSelection(),ei=Ar.current.scrollTop,Za=Ar.current.getBoundingClientRect();if(_a.rangeCount>0&&_a.toString().length>0){const za=_a.getRangeAt(0);qe(za.cloneRange());const hr=za.getBoundingClientRect(),ca=40;let Si=hr.top+ei-5+ca;Si{if(!_a||_a.rangeCount===0){ar(!1);return}const Za=_a.getRangeAt(0).getBoundingClientRect(),za=window.getComputedStyle(Ar.current),hr=parseInt(za.lineHeight),ca=parseInt(za.paddingTop),Si=Ar.current.scrollTop,ji=Ar.current.getBoundingClientRect(),zo=Za.top-ji.top+Si,oo=Math.floor((zo-ca)/hr),fo=ca+oo*hr-Si;_n(fo),ar(!0)},Ba=_a=>{Ar.current&&!Ar.current.contains(_a.target)&&Cr(!1)};(0,b.useEffect)(()=>{const _a=Ar.current;return _a.addEventListener("scroll",na),_a.addEventListener("input",na),_a.addEventListener("click",na),_a.addEventListener("mouseup",na),_a.addEventListener("keyup",na),_a.addEventListener("click",na),document.addEventListener("mousedown",Ba),()=>{_a.removeEventListener("scroll",na),_a.removeEventListener("input",na),_a.removeEventListener("click",na),_a.removeEventListener("mouseup",na),_a.removeEventListener("keyup",na),_a.removeEventListener("click",na),document.removeEventListener("mousedown",Ba)}},[]);const Ga=(_a=!0,ei)=>{if(!Le)return;const Za=Wr.current.querySelector("section.edu_md").innerHTML.replace(/]*>([\s\S]*?)<\/p>/g,"$1"),za=Le.cloneRange(),hr=window.getSelection();if(hr.removeAllRanges(),hr.addRange(za),_a){za.deleteContents();const ca=document.createElement("div");ca.innerHTML=Za;const Si=Array.from(ca.childNodes);for(;Si.length>0;)za.insertNode(Si.pop())}else{za.collapse(!1);const ca=document.createElement("div");ca.innerHTML=" "+Za;const Si=Array.from(ca.childNodes);for(;Si.length>0;)za.insertNode(Si.pop())}hr.removeAllRanges(),qe(null),ln(!1),dt(null),te()};return b.createElement("section",{ref:Wr},st&&b.createElement("div",{ref:Br,className:Fu.toolbar,style:{top:st==null?void 0:st.top,left:st==null?void 0:st.left}},b.createElement("div",{className:Fu.button,onClick:()=>ln(!0)},b.createElement("img",{src:bu}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(Du,{shixun_generation_id:ue,key:JSON.stringify(st),noRestrictModal:z,visible:Gt,position:st,selectText:aa,applyRefinedText:Ga,fetchUrl:"/api/stream/ai/shixuns/create_stream.json"}),Ar.current&&b.createElement(Bu,{ref:Ar,onButtonClick:(_a,ei,Za,za)=>{qe(za),ln(!0),ba(_a),dt({left:ei,top:Za+20})}}))},Kl=({scrollBoxRef:oe,bottomInspectRef:z,contentRef:te,status:ue,rootMargin:Se="70px",bottomOffset:Le=110})=>{const[qe,st]=(0,b.useState)(!0),dt=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!oe.current||!z.current)return;const Gt=new IntersectionObserver(([ln])=>{var Tn,_n,Gn,ar;if(!document.contains(ln.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((Tn=ln.rootBounds)==null?void 0:Tn.width)===0&&((_n=ln.rootBounds)==null?void 0:_n.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((Gn=ln.boundingClientRect)==null?void 0:Gn.width)===0&&((ar=ln.boundingClientRect)==null?void 0:ar.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}st(ln.isIntersecting)},{root:oe.current,rootMargin:Se,threshold:0});return Gt.observe(z.current),()=>{Gt.disconnect()}},[oe.current,z.current,Se]),(0,b.useEffect)(()=>{if(!ue)return;const Gt=oe.current,ln=te.current;dt.current=!1;let Tn=Gt.scrollTop;const _n=()=>{const{scrollTop:ar,scrollHeight:Yn,clientHeight:Cr}=Gt;ar>Tn?ar+Cr>=Yn-Le&&(Gt.scrollTop=Gt.scrollHeight,dt.current=!1):ar{dt.current||(Gt.scrollTop=Gt.scrollHeight)});return Gn.observe(ln),()=>{setTimeout(()=>{Gn.unobserve(ln)},250),Gt.removeEventListener("scroll",_n)}},[ue]),qe},Al={loading:"loading___nYAIi",dot:"dot___S5iRl","dot-fade":"dot-fade___HGUNN"},$s=({text:oe})=>b.createElement("div",null,b.createElement("div",{className:Al.loading},b.createElement("div",{className:Al.dot}),b.createElement("div",{className:Al.dot}),b.createElement("div",{className:Al.dot})),!!oe&&b.createElement("div",{className:"mt5"},oe)),fc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gVAowqmubwAmGYARqsXAI0qmObyAmCaARitXgA0qmCaywuAaQZgtHoB0KiCaS4vAKYZgNHqBUCjCqa5vACYZgBGqxcAjSqY5vKmARR5nmkmmaD65fJII0/kRZ6nteFpo1PnkSKR55lZ8KLRxvJIRZ5nZgJkUbM8UlSnyfPcXpkLPz1QBPm5mXti2Rj51AzAXz4ah0vXZxZPD8E4qtPkef76xY0CnkWvAAbxN38ejUXHBjZIO4z9betGi4YvwmIK/Or4IkD2vwCYYdeFAJhhwLThCoACYIYrkOHhixYoAGa4AiaHr20R2lG89ri2et5Rv2iBAqDJCmS4O9ECBUAuBUQXyiWX9YwFQOsx4YpIAOSSy3rGAqD1mHBFJAByyWU9YwHQeky4IhIAueSynrEAaD0mXBEJgFxyWc9YALQeE66IBEAuuaxnLABajwlXRAIgl1zWMxYArceEKyIBkEsu6xkLgNZjwhWRqQB7L85A76UZuDWmQDCscAWy1o3tsgQlxRI0bM+Fhh36X0QxBSDL0X/rwzH4ciS41jmYcv4PldnhhR8W63onxRSAXf8Q8Ewhp3LCIHoPJ95HxTBA1m3+9aNxs+MX/gDgJweKEnanhgEe+9sYDN9c7DrFvhHJXXvx9o2oKLXDyz9euRUaBtjWdWvJgEXsG5EcQFZKu28EG9i0e0tWdGgYoNaB2DcieYCsJO/7mQKgMb1NLy0Ami7p6joUAFdXb9NrEwBNl3R1HQqAq6u36bVZHqA2QLMVyPRRsACYou3v2CfIeLdDTebiFABNANj4yuWC0MzkA0TB65Ek5SCg7PGADQilCFMKVA4pNHxXxngSETyxqRLderu9ypSVfAEwSYCRVZCp/E2IQAVFhG8LdUIpSGhMUvDIM5VVI+3tiCTT+sREPgnVFtYgd9IQ3QgYcW+Aqa2SAszIDvzF2d9X3Uimy7V8C0xC45QUYfe0xqOBTUEgOzHFktmVUIImc9Fk/+kT+6Z4fBsGWNMceAZTGjuhRB+7y8S10OfbhuyXR0P1mOD74omLgBAE6H8E5O9kp3SnJFQ4OwqjoS13viJfrd/isCtO5xwNOjGR71NAKcUSdi7nx2aD85+97rmmFyIPwPgfu2v2/wAoFEUrTPS5yUwDeOhFf963NukRipR194iKYFoGuPpgmTTCMyg5+IuBoulp2KQQXBEPlE2WrvQcr/pcD0S9AJf93OSj3s8fnIOQS09l8WysPA9j8MZkug8wsqtjp1QJS1S+9Gxl9TUjA5DGVz4rCN/N2Umxai/4hYqQhK6dO149lOi+aGSeHPngK7s3eJp8ezCO370kAmtVgKzb/GoY9t7T8thHUnGor6+jXvXl1ERnufLxSCMgwWrtoAhT+OLcCfellUonCzD2yWXmnH30fPz6eG0yEK0IMHJRtvj2aO95SIKRLXcu+d9++wXTU+jqWs4VUyrXAVna2m0In+3prL61HMRkAC756HnUMTvpvc0XKudQqJIAylcPbFa6gqwIsP5IYAvB9PuabvOb/i5PX6IuzUhbZF3q/Kxjn2aUGyooLzh1qn3zXDzfegGuuO0AT9BGN6rgqSsZWzbPm53KeUwtIqL0zuEKd7eR+53eWBpeHipV5pUGtb2EyXDvGx6fHoC8DYJ7Imt1gHUt/lqqQNliz4LC5XLxR+90bDTtnpcI5iNHfdvCBG1X231PWvfxBx1bJ7RljeqZVQAjy2PjuY+rBxNspNbdtevrRKKbebytjeK/3wg8hgBiKddEITd9b3p6BcAVlK5tHtwJlDwUa30AMz8qd51cja5TG9ael3xl8yFUG/udUFqyLu/9f7/28Lza1vItUO9Nejkueu8Jkb2fvENPqhemkST5+zqqrpvZuvT6YvE0HPUdIBTnL5YJX+jvqvtSAIyjYl3LuUKq2PZHD7HlsfzymndPtaOwXtHNtqtpHXgYh/GOWEyU3uk7UfOpABhH6Vpv30MA8s7oIYLJTd8b995zzIa0kr+9TRfzZ9H8wcWLCpMtkxf+o56Hii50QZ2anw00YAmXRsWy28ggz6JyqsB6vP7H1YMZB0inz3RVfRetz/IAUyWM1q/HG9iPgBZGf5dDc91n/9T47WrVv1w9NUeHGjBRYhcWBSUw0FUbGxULgAvK1Xr9T0XSIBb+tpZL7/I8YUgV6LqWQDVV6KZF/9KF/q6q2EBGAAQANuKraw4cVkN4rtz1z3RMH7QXQk3r5w/jcCg2kKGydGVA9ahJAIy2wCO+w+oJvN7pR6paXtTvI83+zWEKVbGBjIKu9b3pGhT3QI3ydd6BZylgHP3ZKi1Qu6xGZNtF3/FdlwVALcCmwUPqSXzx+pIP33u1dDrVLSyR/3qvv4oAbI7aSQ7s6z1WPSwAapSrOTLwqPp5ptMGPd2vu28nEjjVxz1NgT0I0dhrt2bHlTWL2dorHUnocl+H62KqAa3kf2GD6acQonLUrsAhnTx1rOquWXFlDcCGlwcrlHlSExMGwXh/p/sTs4RKxs++nwfWzwTpvmhZStDswB9dHyTja7kyWQOQ5cBcuR4+pB6JFq+HD9971Z22+2Bt86ALKHkwKj4GuHquyz0kAC6jQG2zfzdQuD+VgukV/2DbSXli+L4n1d0nkpxn+jq2j+n1occua1ogO9mGI4MVCl7sRgkiyoacdf/VPoPTI4xRm/om/3aCYFvMD6HB5yrd75u9uJBygEafB2qFXGmCHu9JOMtE6+tw9xsFwlOeZQaEptY9RlQZ7zKCobOd7qs8fvTYZhXASCvUDmbYAmmC1D49Qum1iZdny16ASVVmQNYBjAzdmwb3I0wLYqM/isL2vJnTPa/tntQLIlk7T+vQLhRWtqrLO2y0/8zrNSPJ+lypXNYBZCe7t+nT/DmUt1+9tMaG8NgW7DYzI1srrKdpsB4hskH9OyJw+9wJ19lU5aOmHGAqrjo9Pne/NLApGMLVS2wJDeY68dlP/+C6o8eHXpvI05CjQzvUCVWsLEF4rqis6mQq0zqyFiATsLF1aFdI051hhBQM9ELPG65rZrSKSCLx3RxP3FfXFACbDAM9ne4bei8GXrusBsjEuPeB6oJECMYdVDqvTm/gEe9gG5VnRv1bQgrZipAUWyq7x0eKIWY9wEh6nzewbcmcbMlNCsYlO75WLDlv65kvsuWxEMEbQmGlUp0BEHXJuk0cJk5QvwOcQohZDzAqbGPzYEmIEk880WOjVUATMlYmqYJn7cg2R2zziIQxCilKDgYpHxAtpAgt+0EENmDJr3T1zY4ESkNh8KwGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",pc=y(92310),Pl=y.n(pc),su=(oe,z,te)=>new Promise((ue,Se)=>{var Le=dt=>{try{st(te.next(dt))}catch(Gt){Se(Gt)}},qe=dt=>{try{st(te.throw(dt))}catch(Gt){Se(Gt)}},st=dt=>dt.done?ue(dt.value):Promise.resolve(dt.value).then(Le,qe);st((te=te.apply(oe,z)).next())});const _u={contentRef:null,value:null,status:!1,examName:"",open:()=>su(void 0,null,function*(){}),close:()=>{}};var lu=({value:oe,onChange:z,onSuccess:te,onCancel:ue,onError:Se,fetchUrl:Le,noRestrictModal:qe=()=>{},showEditableToolbar:st,bottomOffset:dt=110,loadingText:Gt,showEmptyData:ln=!0,onStatusChange:Tn,className:_n,style:Gn,shixun_generation_id:ar,showToolbar:Yn,current:Cr})=>{const[Ar,Br]=(0,b.useState)(!1),[Wr,aa]=(0,b.useState)(""),[ba,na]=(0,b.useState)(0),[ka,Ba]=(0,b.useState)(!1),[Ga,_a]=(0,b.useState)(0),[ei,Za]=(0,b.useState)(""),za=(0,b.useRef)(null),hr=(0,b.useRef)(null),ca=(0,b.useRef)(null),Si=(0,b.useRef)(null),ji=(0,b.useRef)(null),zo=Kl({scrollBoxRef:Si,bottomInspectRef:ca,contentRef:hr,status:ka,bottomOffset:dt}),oo=Ar||ka,fo=xa=>(xa=xa.replace(new RegExp("(?$1'),xa=xa.replace(new RegExp("(?0){Xe(Xn),ht(Xn.length),(!te||ue>0)&&!Ee&&Fn();return}else if(lt{Xe(Xn.slice(0,lt+2)),ht(kr=>kr+2)},Cr>10?Math.max(500/(Cr/2),20):50);return()=>clearInterval(Tr)}else te||Fn()},[z,te,ue,Ee,lt]),(0,b.useMemo)(()=>b.createElement("section",{className:`${Nt.answer} fadeIn animated edu_md`},b.createElement(_e.UG,{remarkPlugins:[us.Z,Bs.Z],rehypePlugins:[ls,nt.Z],components:{code(ir){var Xn=ir,{node:Cr,inline:Tr,className:kr,children:jr}=Xn,qr=Vl(Xn,["node","inline","className","children"]);const Sa=/language-(\w+)/.exec(kr||""),na=String(jr).trim();return Tr||!Sa?b.createElement("code",vu({className:kr},qr),jr):b.createElement("code",{className:Nt.codeCopy,"data-text":`\`\`\`${Sa?Sa[1]:""} +${jr} +\`\`\``},b.createElement(it.CopyToClipboard,{text:na,onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement("button",null,"\u590D\u5236")),b.createElement($e.Z,vu({style:bt.Z,language:Sa[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},qr),na))},img({node:ir}){var Xn;const Cr=(Xn=ir.properties)==null?void 0:Xn.src;return b.createElement(vt.Z,{src:Cr,width:320,"data-text":Cr,onLoad:()=>Ee&&setTimeout(()=>Fn(),500)})}}},zt?Me:`${Me}__`)),[Me])},Vo={wrap:"wrap___xM4YL",chatContainer:"chatContainer___YKWvA",btnContainer:"btnContainer___ZOKZ6",btn:"btn___dw4ey",inputContainer:"inputContainer____MqKc",sendBtn:"sendBtn___ZgFiO",sendBtnDisabled:"sendBtnDisabled___kHLNx",cancelBtn:"cancelBtn___W7Cjg",loadingWrp:"loadingWrp___hrOXq","dot-fade":"dot-fade___A97g9"},Lu=({position:oe,children:z})=>{const{left:te=0,top:ue=0}=oe||{},[Ee,Me]=(0,b.useState)(te),[Xe,lt]=(0,b.useState)(ue),ht=(0,b.useRef)(null),zt=()=>{if(ht.current){const sn=ht.current.offsetWidth,An=ht.current.offsetHeight,Fn=window.innerWidth,Hn=window.innerHeight;let ir=te,Xn=ue;te+sn>Fn&&(ir=Fn-sn),ir<0&&(ir=0),ue+An>Hn&&(Xn=Hn-An),Xn<0&&(Xn=0),Me(ir),lt(Xn)}};return(0,b.useEffect)(()=>{if(!ht.current||!oe)return;const sn=new ResizeObserver(()=>{zt()});return sn.observe(ht.current),()=>{sn.disconnect()}},[te,ue,oe]),(0,b.useEffect)(()=>{oe&&zt()},[te,ue,oe]),oe?b.createElement("div",{ref:ht,style:{position:"fixed",left:`${Ee}px`,top:`${Xe}px`,zIndex:1050}},z):null},Zl=Object.defineProperty,$l=Object.defineProperties,Kl=Object.getOwnPropertyDescriptors,Ll=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,cc=Object.prototype.propertyIsEnumerable,bu=(oe,z,te)=>z in oe?Zl(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Ys=(oe,z)=>{for(var te in z||(z={}))Mu.call(z,te)&&bu(oe,te,z[te]);if(Ll)for(var te of Ll(z))cc.call(z,te)&&bu(oe,te,z[te]);return oe},xl=(oe,z)=>$l(oe,Kl(z)),Ml=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())}),Pu=({visible:oe,position:z,selectText:te,applyRefinedText:ue,fetchUrl:Ee,noRestrictModal:Me,shixun_generation_id:Xe})=>{var lt;const[ht,zt]=(0,b.useState)(!1),[sn,An]=(0,b.useState)([]),[Fn,Hn]=(0,b.useState)(""),[ir,Xn]=(0,b.useState)(1),[Cr,Tr]=(0,b.useState)(""),[kr,jr]=(0,b.useState)(!1),qr=(0,b.useRef)(null),[Sa,na]=(0,b.useState)(!1),[Oa,Fa]=(0,b.useState)(0),Ga=(0,b.useRef)(!1),ka=((lt=sn==null?void 0:sn[(sn==null?void 0:sn.length)-1])==null?void 0:lt.loading)===!0;(0,b.useEffect)(()=>{if(oe){Xn(1);return}na(!1),zt(!1),ni(),Fa(0),An([]),Xn(0)},[oe]);const ni=()=>{var xa,Ta;Hn(""),Tr(""),(Ta=(xa=qr.current)==null?void 0:xa.cancelRequest)==null||Ta.call(xa)},Ya=(...xa)=>Ml(void 0,[...xa],function*(Ta="",si=sn){const Mi=Date.now(),Si=[...si,{text:Ta,key:Mi,sender:"user",show:!0},{loading:!0,key:Mi,sender:"AI",show:!0}];Xn(2),An(Si);const ho={type:"stream",content:Ta,shixun_generation_id:Xe};qr.current=new ze(Fe.Z.API_SERVER+Ee,ho),yield new Promise(ts=>{qr.current.on("data",_o=>{const{chunk:{msg:$o},full:Io}=_o,ds=$o==="error";na(!0),Tr(oo(Io)),An(Ko=>Ko.map((Qs,Il)=>Il===Ko.length-1?xl(Ys({},Qs),{text:Io,loading:!1,error:ds}):Qs))}),qr.current.on("done",()=>ts()),qr.current.on("error",_o=>{const $o="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(_o)==="[object Object]"&&_o.status===-9&&(Xn(1),Me(_o.data)),An(Io=>Io.map((ds,Ko)=>Ko===Io.length-1?xl(Ys({},ds),{text:$o,loading:!1,error:!0}):ds)),ts()}),qr.current.on("cancelled",()=>ts()),qr.current.startStream()}),zt(!1)}),Wa=xa=>{Hn(xa.target.value)},mr=xa=>xa.reduce((si,Mi)=>{if(Mi.sender==="user"){const Si=xa.find(ho=>ho.key===Mi.key&&ho.sender==="AI");Si&&(Si!=null&&Si.text)&&!(Si!=null&&Si.error)&&si.push({question:Mi.text,answer:Si.text})}return si},[]),sa=()=>{if(Zo)return;const xa=po("\u6539\u5199");ni(),zt(!0),Ya(xa)},Ci=xa=>{if(xa.key==="Enter"&&!xa.shiftKey){if(xa.preventDefault(),Ga.current||Li)return;sa()}},Gi=()=>{var xa,Ta;Fa(si=>si+1),(Ta=(xa=qr.current)==null?void 0:xa.cancelRequest)==null||Ta.call(xa),zt(!1),na(!1)},Fo=[{key:"1",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-runse font14 mr10"}),"\u6DA6\u8272 ")},{key:"2",label:b.createElement("span",null,b.createElement("i",{className:"iconfont icon-kuoxie font14 mr10"}),"\u6269\u5199")},{key:"3",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-suoxie font14 mr10"}),"\u7F29\u5199")}],oo=(xa="")=>{const Ta=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((si,Mi)=>{Ta.push(`\u7B54\u6848${Mi+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Mi+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Mi+1})\u8F93\u51FA\uFF1A`)}),Ta.forEach(si=>{const Mi=new RegExp(si,"g");xa=xa.replace(Mi,`**${si}** `)}),xa},po=xa=>xa==="\u6539\u5199"?`${Fn}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${te}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`:`${te}\uFF0C${xa}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`,vi=xa=>{let Ta="";xa.key==="1"&&(Ta=po("\u6DA6\u8272")),xa.key==="2"&&(Ta=po("\u6269\u5199")),xa.key==="3"&&(Ta=po("\u7F29\u5199")),ni(),zt(!0),Ya(Ta)},es=()=>{const xa=sn.splice(sn.length-2),{text:Ta}=(xa==null?void 0:xa[0])||{};ni(),zt(!0),Ya(Ta,sn)},Li=ht||Sa,Zo=(Fn==null?void 0:Fn.trim())==="";return oe?b.createElement(we.Z,{open:Zo&&!Li&&(kr||!Cr),overlayStyle:{minWidth:200},menu:{items:Fo,onClick:vi}},b.createElement(Lu,{position:z},b.createElement("div",{className:Vo.wrap},ir===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:Vo.chatContainer},ka&&b.createElement("div",{className:Vo.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Cr&&b.createElement(ll,{cancelIndex:Oa,streamingStatus:ht,loadImage:!1,onFinish:()=>Ml(void 0,null,function*(){Fa(0),setTimeout(()=>na(!1),0)}),value:Cr})),b.createElement("div",{className:Vo.btnContainer},b.createElement("div",{onClick:()=>ue(!0,Cr),className:Vo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>ue(!1,Cr),className:Vo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(it.CopyToClipboard,{text:Cr,onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("div",{className:Vo.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:es,className:Vo.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(be.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{Xn(1),ni(),An([])},className:Vo.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:Vo.inputContainer},b.createElement(Re.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:Fn,bordered:!1,onFocus:()=>jr(!0),onBlur:()=>setTimeout(()=>jr(!1),300),onChange:Wa,onPressEnter:Ci,onCompositionStart:()=>Ga.current=!0,onCompositionEnd:()=>Ga.current=!1}),Sa?b.createElement("div",{className:`iconfont icon-tingzhihuida ${Vo.cancelBtn}`,onClick:Gi}):b.createElement(Oe.ZP,{className:Zo?Vo.sendBtnDisabled:Vo.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Li,onClick:sa}))))):b.createElement(b.Fragment,null)},yu={"hover-line-container":"hover-line-container___woRPT","hover-line-content":"hover-line-content___i9fTS","line-button-container":"line-button-container___ts8rT",button:"button___DE9UP"},dc=Object.defineProperty,Bu=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,_u=(oe,z,te)=>z in oe?dc(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,fc=(oe,z)=>{for(var te in z||(z={}))Mo.call(z,te)&&_u(oe,te,z[te]);if(Bu)for(var te of Bu(z))Fu.call(z,te)&&_u(oe,te,z[te]);return oe};const jc=oe=>React.createElement("svg",fc({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var Eu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Uu=(0,b.forwardRef)(({initialContent:oe,onButtonClick:z},te)=>{const[ue,Ee]=(0,b.useState)(null),[Me,Xe]=(0,b.useState)(null),[lt,ht]=(0,b.useState)(""),[zt,sn]=(0,b.useState)(null),An=te,Fn=jr=>{const qr=document.elementFromPoint(10,jr),Sa=document.createRange();let na=null;const Oa=document.createTreeWalker(An.current,NodeFilter.SHOW_TEXT,{acceptNode:mr=>{const sa=document.createRange();sa.selectNodeContents(mr);const Ci=sa.getBoundingClientRect();return Ci.top<=jr&&Ci.bottom>=jr?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let Fa="",Ga,ka,ni=null,Ya=null,Wa=null;for(;Ga=Oa.nextNode();){Ga.parentNode.getAttribute("data-select")==="disabled"&&(ka=!0),Fa+=Ga.textContent,Ya||(Ya=Ga),Wa=Ga;const mr=document.createRange();mr.selectNodeContents(Ga);const sa=mr.getBoundingClientRect();ni===null&&(ni=sa.top)}if(Ya&&Wa&&!ka){const mr=document.createRange();mr.setStart(Ya,0),mr.setEnd(Wa,Wa.textContent.length),sn(mr)}else sn(null);return Xe(ni-1),ka?"":Fa.trim()};function Hn(jr){for(;jr.parentElement&&jr.parentElement.tagName.toLowerCase()!=="section";){var qr=window.getComputedStyle(jr.parentElement);if(qr.pointerEvents==="none")return!0;jr=jr.parentElement}return!1}const ir=jr=>{var qr,Sa;if(Hn(jr.target)){Xe(-1e6);return}if(((Sa=(qr=document.getSelection())==null?void 0:qr.toString)==null?void 0:Sa.call(qr))!==""){Xe(-1e6);return}const na=Fn(jr.clientY);if((na==null?void 0:na.trim())===""){Xe(-1e6);return}const Oa=An.current.getBoundingClientRect();Ee(Oa.left-30),ht(na)},Xn=()=>{},Cr=jr=>{z&<&&z(lt,jr.clientX,jr.clientY,zt)},Tr=()=>{if(zt){const jr=window.getSelection();jr.removeAllRanges(),jr.addRange(zt)}},kr=()=>{window.getSelection().removeAllRanges()};return(0,b.useEffect)(()=>{const jr=An.current;return jr.addEventListener("mousemove",ir),jr.addEventListener("mouseleave",Xn),()=>{jr.removeEventListener("mousemove",ir),jr.removeEventListener("mouseleave",Xn),kr()}},[oe]),b.createElement("div",{className:yu["hover-line-container2"]},Me!==null&&b.createElement("div",{className:yu["line-button-container"],style:{top:Me,left:ue},onMouseEnter:()=>{Tr()},onMouseLeave:()=>{kr(),Xe(null),ht(""),sn(null)}},b.createElement("div",{className:yu.button,onClick:Cr},b.createElement("img",{src:Eu,style:{marginTop:"-3px"}}),b.createElement("div",null,"AI\u6539\u5199"))))}),zu={toolbar:"toolbar___qUHHn","chat-dialog":"chat-dialog___MttMt",button:"button___liWwI"},hc=({nodeRef:oe,noRestrictModal:z,onSuccess:te,shixun_generation_id:ue,current:Ee})=>{const[Me,Xe]=(0,b.useState)(null),[lt,ht]=(0,b.useState)(null),[zt,sn]=(0,b.useState)(!1),[An,Fn]=(0,b.useState)(null),[Hn,ir]=(0,b.useState)(!1),[Xn,Cr]=(0,b.useState)(!1),Tr=oe,kr=(0,b.useRef)(null),jr=(0,b.useRef)(null),[qr,Sa]=(0,b.useState)("");(0,b.useEffect)(()=>{sn(!1),ht(null)},[Ee]),(0,b.useEffect)(()=>{Me!=null&&Me.toString()&&Sa(Me==null?void 0:Me.toString())},[Me==null?void 0:Me.toString()]);const na=()=>{const ka=window.getSelection(),ni=Tr.current.scrollTop,Ya=Tr.current.getBoundingClientRect();if(ka.rangeCount>0&&ka.toString().length>0){const Wa=ka.getRangeAt(0);Xe(Wa.cloneRange());const mr=Wa.getBoundingClientRect(),sa=40;let Ci=mr.top+ni-5+sa;Ci{if(!ka||ka.rangeCount===0){ir(!1);return}const Ya=ka.getRangeAt(0).getBoundingClientRect(),Wa=window.getComputedStyle(Tr.current),mr=parseInt(Wa.lineHeight),sa=parseInt(Wa.paddingTop),Ci=Tr.current.scrollTop,Gi=Tr.current.getBoundingClientRect(),Fo=Ya.top-Gi.top+Ci,oo=Math.floor((Fo-sa)/mr),po=sa+oo*mr-Ci;Fn(po),ir(!0)},Fa=ka=>{Tr.current&&!Tr.current.contains(ka.target)&&Cr(!1)};(0,b.useEffect)(()=>{const ka=Tr.current;return ka.addEventListener("scroll",na),ka.addEventListener("input",na),ka.addEventListener("click",na),ka.addEventListener("mouseup",na),ka.addEventListener("keyup",na),ka.addEventListener("click",na),document.addEventListener("mousedown",Fa),()=>{ka.removeEventListener("scroll",na),ka.removeEventListener("input",na),ka.removeEventListener("click",na),ka.removeEventListener("mouseup",na),ka.removeEventListener("keyup",na),ka.removeEventListener("click",na),document.removeEventListener("mousedown",Fa)}},[]);const Ga=(ka=!0,ni)=>{if(!Me)return;const Ya=jr.current.querySelector("section.edu_md").innerHTML.replace(/]*>([\s\S]*?)<\/p>/g,"$1"),Wa=Me.cloneRange(),mr=window.getSelection();if(mr.removeAllRanges(),mr.addRange(Wa),ka){Wa.deleteContents();const sa=document.createElement("div");sa.innerHTML=Ya;const Ci=Array.from(sa.childNodes);for(;Ci.length>0;)Wa.insertNode(Ci.pop())}else{Wa.collapse(!1);const sa=document.createElement("div");sa.innerHTML=" "+Ya;const Ci=Array.from(sa.childNodes);for(;Ci.length>0;)Wa.insertNode(Ci.pop())}mr.removeAllRanges(),Xe(null),sn(!1),ht(null),te()};return b.createElement("section",{ref:jr},lt&&b.createElement("div",{ref:kr,className:zu.toolbar,style:{top:lt==null?void 0:lt.top,left:lt==null?void 0:lt.left}},b.createElement("div",{className:zu.button,onClick:()=>sn(!0)},b.createElement("img",{src:Eu}),b.createElement("span",null,"AI\u6539\u5199"))),b.createElement(Pu,{shixun_generation_id:ue,key:JSON.stringify(lt),noRestrictModal:z,visible:zt,position:lt,selectText:qr,applyRefinedText:Ga,fetchUrl:"/api/stream/ai/shixuns/create_stream.json"}),Tr.current&&b.createElement(Uu,{ref:Tr,onButtonClick:(ka,ni,Ya,Wa)=>{Xe(Wa),sn(!0),Sa(ka),ht({left:ni,top:Ya+20})}}))},Yl=({scrollBoxRef:oe,bottomInspectRef:z,contentRef:te,status:ue,rootMargin:Ee="70px",bottomOffset:Me=110})=>{const[Xe,lt]=(0,b.useState)(!0),ht=(0,b.useRef)(!1);return(0,b.useEffect)(()=>{if(!oe.current||!z.current)return;const zt=new IntersectionObserver(([sn])=>{var An,Fn,Hn,ir;if(!document.contains(sn.target)){console.log("\u76EE\u6807\u5143\u7D20\u5DF2\u4ECE DOM \u79FB\u9664");return}if(((An=sn.rootBounds)==null?void 0:An.width)===0&&((Fn=sn.rootBounds)==null?void 0:Fn.height)===0){console.log("root\uFF08\u6EDA\u52A8\u5BB9\u5668\uFF09\u65E0\u6548\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664");return}if(((Hn=sn.boundingClientRect)==null?void 0:Hn.width)===0&&((ir=sn.boundingClientRect)==null?void 0:ir.height)===0){console.log("\u76EE\u6807\u5143\u7D20\u5BBD\u9AD8\u4E3A 0\uFF0C\u53EF\u80FD\u5DF2\u88AB\u79FB\u9664\u6216 display: none");return}lt(sn.isIntersecting)},{root:oe.current,rootMargin:Ee,threshold:0});return zt.observe(z.current),()=>{zt.disconnect()}},[oe.current,z.current,Ee]),(0,b.useEffect)(()=>{if(!ue)return;const zt=oe.current,sn=te.current;ht.current=!1;let An=zt.scrollTop;const Fn=()=>{const{scrollTop:ir,scrollHeight:Xn,clientHeight:Cr}=zt;ir>An?ir+Cr>=Xn-Me&&(zt.scrollTop=zt.scrollHeight,ht.current=!1):ir{ht.current||(zt.scrollTop=zt.scrollHeight)});return Hn.observe(sn),()=>{setTimeout(()=>{Hn.unobserve(sn)},250),zt.removeEventListener("scroll",Fn)}},[ue]),Xe},wl={loading:"loading___nYAIi",dot:"dot___S5iRl","dot-fade":"dot-fade___HGUNN"},Xs=({text:oe})=>b.createElement("div",null,b.createElement("div",{className:wl.loading},b.createElement("div",{className:wl.dot}),b.createElement("div",{className:wl.dot}),b.createElement("div",{className:wl.dot})),!!oe&&b.createElement("div",{className:"mt5"},oe)),mc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAB4CAYAAAAqs3YmAAAAAXNSR0IArs4c6QAADGlJREFUeF7tnVlQHMcZx7/umT0AcSjGBonDOmxdgV2Ww0iWIsmxrfIhJ1VJ2W+uilgEjqtclTwmLxQvyYur8uCKYmFQXMmbXUlV4lw+YsmHkBECdhdkSZZlyUJgScEWh7h2d7pTvcUuw2hhp3dm2dmleWPn66+/+f+me7p7vplGkOQfpRTVt56vgJCyARAtpAg5knS1JosRhBQMdMpJbddPd+68jhCiyQiBkil0sO2qc2J4yoMQLU6mvCizVAFCyLdFlUX9p9o3z/Fqww2Qtbxa7+BuAY9X6pXtGcSBEzVneFsiN8C6lqFKqihuc8MX3pgCTrAFurt2fc2jBj/AI/5GiuGBaCVIgtv2vOnAmd89OstT8Vq33fPL7pzgdJ6LKotaAoLx/k73Jzza8ANs8h1SD1gcBdMfCHg8ki/aMojzk3lPRH9hAxtfp+tfPN64AdZ6/c+pK+jvcr/DU6GwXaqAUT0FwDRfUQJgmgEYrV4ANKpgmssLgGkGYLR6AdCogmkuLwCmGYDR6gVAowqmubwAmGYARqsXAI0qmObyAmCaARitXgA0qmCaywuAaQZgtHoB0KiCaS4vAKYZgNHqBUCjCqa5vACYZgBGqxcAjSqY5vKmARR5nmkmmaD65fJII0/kRZ6nteFpo1PnkSKR55lZ8KLRxvJIRZ5nZgJkUbM8UlSnyfPcXpkLPz1QBPm5mXti2Rj51AzAXz4ah0vXZxZPD8E4qtPkef76xY0CnkWvAAbxN38ejUXHBjZIO4z9betGi4YvwmIK/Or4IkD2vwCYYdeFAJhhwLThCoACYIYrkOHhixYoAGa4AiaHr20R2lG89ri2et5Rv2iBAqDJCmS4O9ECBUAuBUQXyiWX9YwFQOsx4YpIAOSSy3rGAqD1mHBFJAByyWU9YwHQeky4IhIAueSynrEAaD0mXBEJgFxyWc9YALQeE66IBEAuuaxnLABajwlXRAIgl1zWMxYArceEKyIBkEsu6xkLgNZjwhWRqQB7L85A76UZuDWmQDCscAWy1o3tsgQlxRI0bM+Fhh36X0QxBSDL0X/rwzH4ciS41jmYcv4PldnhhR8W63onxRSAXf8Q8Ewhp3LCIHoPJ95HxTBA1m3+9aNxs+MX/gDgJweKEnanhgEe+9sYDN9c7DrFvhHJXXvx9o2oKLXDyz9euRUaBtjWdWvJgEXsG5EcQFZKu28EG9i0e0tWdGgYoNaB2DcieYCsJO/7mQKgMb1NLy0Ami7p6joUAFdXb9NrEwBNl3R1HQqAq6u36bVZHqA2QLMVyPRRsACYou3v2CfIeLdDTebiFABNANj4yuWC0MzkA0TB65Ek5SCg7PGADQilCFMKVA4pNHxXxngSETyxqRLderu9ypSVfAEwSYCRVZCp/E2IQAVFhG8LdUIpSGhMUvDIM5VVI+3tiCTT+sREPgnVFtYgd9IQ3QgYcW+Aqa2SAszIDvzF2d9X3Uimy7V8C0xC45QUYfe0xqOBTUEgOzHFktmVUIImc9Fk/+kT+6Z4fBsGWNMceAZTGjuhRB+7y8S10OfbhuyXR0P1mOD74omLgBAE6H8E5O9kp3SnJFQ4OwqjoS13viJfrd/isCtO5xwNOjGR71NAKcUSdi7nx2aD85+97rmmFyIPwPgfu2v2/wAoFEUrTPS5yUwDeOhFf963NukRipR194iKYFoGuPpgmTTCMyg5+IuBoulp2KQQXBEPlE2WrvQcr/pcD0S9AJf93OSj3s8fnIOQS09l8WysPA9j8MZkug8wsqtjp1QJS1S+9Gxl9TUjA5DGVz4rCN/N2Umxai/4hYqQhK6dO149lOi+aGSeHPngK7s3eJp8ezCO370kAmtVgKzb/GoY9t7T8thHUnGor6+jXvXl1ERnufLxSCMgwWrtoAhT+OLcCfellUonCzD2yWXmnH30fPz6eG0yEK0IMHJRtvj2aO95SIKRLXcu+d9++wXTU+jqWs4VUyrXAVna2m0In+3prL61HMRkAC756HnUMTvpvc0XKudQqJIAylcPbFa6gqwIsP5IYAvB9PuabvOb/i5PX6IuzUhbZF3q/Kxjn2aUGyooLzh1qn3zXDzfegGuuO0AT9BGN6rgqSsZWzbPm53KeUwtIqL0zuEKd7eR+53eWBpeHipV5pUGtb2EyXDvGx6fHoC8DYJ7Imt1gHUt/lqqQNliz4LC5XLxR+90bDTtnpcI5iNHfdvCBG1X231PWvfxBx1bJ7RljeqZVQAjy2PjuY+rBxNspNbdtevrRKKbebytjeK/3wg8hgBiKddEITd9b3p6BcAVlK5tHtwJlDwUa30AMz8qd51cja5TG9ael3xl8yFUG/udUFqyLu/9f7/28Lza1vItUO9Nejkueu8Jkb2fvENPqhemkST5+zqqrpvZuvT6YvE0HPUdIBTnL5YJX+jvqvtSAIyjYl3LuUKq2PZHD7HlsfzymndPtaOwXtHNtqtpHXgYh/GOWEyU3uk7UfOpABhH6Vpv30MA8s7oIYLJTd8b995zzIa0kr+9TRfzZ9H8wcWLCpMtkxf+o56Hii50QZ2anw00YAmXRsWy28ggz6JyqsB6vP7H1YMZB0inz3RVfRetz/IAUyWM1q/HG9iPgBZGf5dDc91n/9T47WrVv1w9NUeHGjBRYhcWBSUw0FUbGxULgAvK1Xr9T0XSIBb+tpZL7/I8YUgV6LqWQDVV6KZF/9KF/q6q2EBGAAQANuKraw4cVkN4rtz1z3RMH7QXQk3r5w/jcCg2kKGydGVA9ahJAIy2wCO+w+oJvN7pR6paXtTvI83+zWEKVbGBjIKu9b3pGhT3QI3ydd6BZylgHP3ZKi1Qu6xGZNtF3/FdlwVALcCmwUPqSXzx+pIP33u1dDrVLSyR/3qvv4oAbI7aSQ7s6z1WPSwAapSrOTLwqPp5ptMGPd2vu28nEjjVxz1NgT0I0dhrt2bHlTWL2dorHUnocl+H62KqAa3kf2GD6acQonLUrsAhnTx1rOquWXFlDcCGlwcrlHlSExMGwXh/p/sTs4RKxs++nwfWzwTpvmhZStDswB9dHyTja7kyWQOQ5cBcuR4+pB6JFq+HD9971Z22+2Bt86ALKHkwKj4GuHquyz0kAC6jQG2zfzdQuD+VgukV/2DbSXli+L4n1d0nkpxn+jq2j+n1occua1ogO9mGI4MVCl7sRgkiyoacdf/VPoPTI4xRm/om/3aCYFvMD6HB5yrd75u9uJBygEafB2qFXGmCHu9JOMtE6+tw9xsFwlOeZQaEptY9RlQZ7zKCobOd7qs8fvTYZhXASCvUDmbYAmmC1D49Qum1iZdny16ASVVmQNYBjAzdmwb3I0wLYqM/isL2vJnTPa/tntQLIlk7T+vQLhRWtqrLO2y0/8zrNSPJ+lypXNYBZCe7t+nT/DmUt1+9tMaG8NgW7DYzI1srrKdpsB4hskH9OyJw+9wJ19lU5aOmHGAqrjo9Pne/NLApGMLVS2wJDeY68dlP/+C6o8eHXpvI05CjQzvUCVWsLEF4rqis6mQq0zqyFiATsLF1aFdI051hhBQM9ELPG65rZrSKSCLx3RxP3FfXFACbDAM9ne4bei8GXrusBsjEuPeB6oJECMYdVDqvTm/gEe9gG5VnRv1bQgrZipAUWyq7x0eKIWY9wEh6nzewbcmcbMlNCsYlO75WLDlv65kvsuWxEMEbQmGlUp0BEHXJuk0cJk5QvwOcQohZDzAqbGPzYEmIEk880WOjVUATMlYmqYJn7cg2R2zziIQxCilKDgYpHxAtpAgt+0EENmDJr3T1zY4ESkNh8KwGxDUDkEFir9FNj47vWO7NWp4uVG3L5nm51HHh9Ikdo4sXjL98NSCuKYBRcZ9ouVI4Rie34TAqMfSlCkKDsoS+eLrM9XW8JbLG5tRDXJMAoyCffuWy49bMZAWiUikgqZACiaVkLNcaI/NJCrfA7vjm8IZt3yVa20w1xDUNUA3p+effkm4U7Cqcg2A+AruNymDH80RSHPKcTVLmbITM27E0k8zD2FRCFACTvfFxllsOopQr9fYeq7rJ6S5mzg2wrsl3SD0SEx891y99PIgU0MRAl+tj/V6WWvIDPOJvVH9WQ2w7wCe9FiLTr6/D3cPnZdGaH2DLUCVVFHeyFWZKuVQmBrP36MPzZBtCNFiG7w8Yef2bG+BCptVudapcpkDhiTOVAHniSGTLDTA6IZ4YnvJkM8SsBsggRl5pbj1fASFlQ6IlpkRXkRWPZwrA/wPlJnpuyspBOgAAAABJRU5ErkJggg==",gc=y(92310),Pl=y.n(gc),lu=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});const Hu={contentRef:null,value:null,status:!1,examName:"",open:()=>lu(void 0,null,function*(){}),close:()=>{}};var uu=({value:oe,onChange:z,onSuccess:te,onCancel:ue,onError:Ee,fetchUrl:Me,noRestrictModal:Xe=()=>{},showEditableToolbar:lt,bottomOffset:ht=110,loadingText:zt,showEmptyData:sn=!0,onStatusChange:An,className:Fn,style:Hn,shixun_generation_id:ir,showToolbar:Xn,current:Cr})=>{const[Tr,kr]=(0,b.useState)(!1),[jr,qr]=(0,b.useState)(""),[Sa,na]=(0,b.useState)(0),[Oa,Fa]=(0,b.useState)(!1),[Ga,ka]=(0,b.useState)(0),[ni,Ya]=(0,b.useState)(""),Wa=(0,b.useRef)(null),mr=(0,b.useRef)(null),sa=(0,b.useRef)(null),Ci=(0,b.useRef)(null),Gi=(0,b.useRef)(null),Fo=Yl({scrollBoxRef:Ci,bottomInspectRef:sa,contentRef:mr,status:Oa,bottomOffset:ht}),oo=Tr||Oa,po=xa=>(xa=xa.replace(new RegExp("(?$1'),xa=xa.replace(new RegExp("(?$1 -`),xa),hi=()=>{clearTimeout(ji.current),ji.current=setTimeout(()=>{const xa=hr.current.firstElementChild.cloneNode(!0);xa.querySelectorAll("code[data-text], mathx[data-text]").forEach(Li=>{let Ei=Li.getAttribute("data-text");Ei=Ei.replace(/```.*\n|\n```/g,"");const no=document.createTextNode(Ei);Li.parentNode.replaceChild(no,Li)});const oi=xa.innerHTML;z(oi)},500)};(0,b.useEffect)(()=>{Zi(),_a(Ga+1),aa(oe)},[oe]),(0,b.useEffect)(()=>{if(!ka&&(hr!=null&&hr.current)){const xa=hr.current.querySelector('h2[data-type="title"]');if(xa){const wa=xa.textContent;Za(wa)}}},[ka]),(0,b.useEffect)(()=>{Tn==null||Tn({contentRef:hr,status:oo,value:Wr,examName:ei,open:po,close:Zi})},[oo,Wr,ei]);const po=xa=>su(void 0,null,function*(){Br(!0),aa(""),na(0);const wa=Le;xa!=null&&xa.fetchUrl&&delete xa.fetchUrl,za.current=new He(`${Fe.Z.API_SERVER}${wa}`,xa),yield new Promise((oi,Li)=>{za.current.on("data",Ei=>{let{chunk:{content:no,type:Ho}}=Ei;Ba(!0),Ho==="text"&&aa(Zo=>fo(Zo+no))}),za.current.on("done",()=>{oi()}),za.current.on("error",Ei=>{oi(),Se==null||Se(Ei)}),za.current.on("cancelled",()=>{oi(),ue==null||ue()}),za.current.startStream()}),Br(!1)}),Zi=()=>{var xa,wa;na(1),(wa=(xa=za.current)==null?void 0:xa.cancelRequest)==null||wa.call(xa),Br(!1),Ba(!1)},es=(0,b.useMemo)(()=>hr.current?b.createElement(dc,{current:Cr,shixun_generation_id:ar,noRestrictModal:qe,nodeRef:hr,onSuccess:hi}):b.createElement(b.Fragment,null),[hr.current,Cr]);return b.createElement(b.Fragment,null,b.createElement("div",{className:Pl()(nt.container,_n),style:Gn,ref:Si},b.createElement("div",{ref:hr,onInput:hi,className:nt.liWrap,contentEditable:st&&!oo},Wr&&b.createElement(ul,{key:Ga,cancelIndex:ba,streamingStatus:Ar,loadImage:!1,onFinish:()=>su(void 0,null,function*(){if(oo){if(na(0),setTimeout(()=>Ba(!1),0),Wr==="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!"){Se==null||Se(Wr);return}te==null||te(Wr)}}),value:Wr})),!Wr&&!oo&&b.createElement("div",{className:nt.imgBox},b.createElement("img",{width:56,src:fc}),b.createElement("span",null,"\u9884\u89C8\u533A")),ln&&oo&&b.createElement($s,{text:Gt}),!zo&&b.createElement("div",{className:nt.backBottom,onClick:()=>{Si.current.scrollTop=Si.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:ca})),!oo&&st&&Yn&&es)},Bl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZaBO4CXwBUL6hMFiA0zdDuuYDfcLyQQJaBJwG0QAo906gcAXMiInCOtuPQQ80gI4GKgYQ/dhSShNbPtDRdwGhsFw+z6JswWdTbV3/sH//3fXTAXlaAIV1qmr9RKnwAmGVsmxsLCxLgLA0eFiOBkyflzDQEWDknB3Qj11CxyVwxGxdlDAvIaZs4dsODcfFd1yU62hw5bgngRhZrkZSgxabcARiIOD5+m8CoO2H2EFAMgg1E1Gefs4Vc1cCYGTC2pwFKAOSvMdcrMgAwiBirUZVAww84dq5a07Hxt8B8OwF568Lg/BOpawFMeKhsE8g1GBoz2HAi1gjIIdizhpcB+UIwwQ0Y7o4Ll7CJpB7x6HhCnjGtBF2atuVKz6HgdqMIybGptv0h7H5+gZEP8QKAg2G64vPUziBp38X1rmRyRqmikkLMw2A2pfKY5TxvGGAChVi3vJ9bDdB6DXEvx7DVVcfG316x1wmngSgMI86W5VSC+Sk9DmIjxP2aZbY2o8JgJb2fbZmTmijnxczFjZp5kVAavAEMM0+h4btUpOvKsdOJ+jubGPxvB6WDnQz2N1JX0cLLckkthxPKSqez8hUieGJKQ6PTDI0MslEYRpqdcMi8VlitoGYrAAakggDkn6gnxNAxEcKeG4UdJSAqAzzxFdqAHUAkvMV9sot0OdpOy5h4BmmYx1zbeu8w+Nbm36xCWDk8x4EdYHxPtoj6J9QM8OwT4NoxQBa4EqgEFBDzTYBOpTn5IMdh8ARP2dTtx3KoSLZkmHdmYt5yaZVvHDtSlYvHqCvo5WEI0z8n38CFTJeLLH76BiP7dzHPU/v4annD1MWQOV0tUn6mnlpDaqnmSl+UUBpAhj70ZiBmqECZuQmmiCKl9d2bBgrEGI9ke7suTT2iU0A1wyc/wlF+BElB9XxSMw2cg+RtFDa94npxicq5mprJirHQv9dmOca36fcBFUcaipgwWAvr7h8M6+74kLOXbnk9wBmvmRsuf+rRAD2HB3hp488w/f+ewvbdw+B72n2pgIfV4NpfKOAY4KGidQmmAgzxdfJc/JYAAzQGEQ+Us5Vu/bopOVvoRV8cnji6Y/GYQ4xXavOfgU5/WQY+Thjwdq5a0aKsoj8lDyvfaA2azFbGxz5tIRmYMOCWqAYXNjHH7/uCt78ihcz0NPVpJj+krGfOw3xIr8e+/fZi9mEN+JD9N5Kvc6dj/6GL9x2F49s3a2ByVniCyWAiH8UE/VNJI4itQEwMJcsFLMW4MS/CmBREJEz1xpXXhUSmiBTdm1rhZiyfu/Zg5u/FIbqHSedhxKZIuZrcLZxDZg6WhqA5doIA0XbKdfCkcBhu1TFB2VTvPHal3D9n7yW+X095rT/B9D0Z5mIp32u4UXsQiJTiExiFnexFnAUuOLwAS8IuP2eLXzqltvZvuMQrQkLV4trMVHfBJsoMscM1A5IP2f8oS3W43va7G0cLcuUsrBVSCC+U5tz8OWjk0+/07p29bXJXVNHxkG1yQnOUsQAKNJEvpptuVrviYDWQCoxWfF3Rn4oV553qHoe6zes5KPvezsXbFr3vwLnR4wyelKAU/ri+NqrGhdiwDRgGddioBURL08KcOJBkwoSlkUKmCqV+fTXf8QXv/lTGtUGWccyJhyzUY4R+TxbzFL8p85yogynCYT2ezpIykUIQ/ONUUy3zFvUa60ZuPBKrOCXMUPi9ylhoDbTyNIliOhMa46UETA1gA6enLgDf/KWV/Ge6/+E1pacZpx+92lMVX9XFL6I7wgkiXvy9eRdvgL5XUDVaZ64J0ucuoFR/1eBp/WuAVCAS1qKpAVpbLLA/Vu2ceNNX+LAniPkUrY24aYmNCetQRUGyt+EdXJcZ67zsCzcREq/zm809LfS5+YEV1lr5p/3RaV456luSKuiiJCGhY5mojZhfROAjQ+sBQGdPTlu+ugNvPoVL/m9rNOMlo/X4Bi2iYsQ8OV3XxkAJR0MlAAnv1t4+n3ydQyAcZiTDxKg7XpIQomvAteGpA0pG9IWtFs2x0cneNcH/5Vf3fsErSk3ki5yaYzvE9MVQCRzEVzE9kxaZ1JLycKMx1X4vqfzaP1tFF+y1gyc94CCS08FEGUSem1CIpC1LpSAEWk4eWzZVPw6q9Yu5zM3f5C1Z686LetElMpXEhAEKAFGHouZCgD6XsxWWfiW0oDJTcAz7zHfQ0A1+tfIDu3WlSJRMSmc2IjjiC8G17FJuZByLFpEKdTqfPimz/P9795NS8I1/k2D97uFClvz3nym0Ybm4hnCCsjNLOVBa/X8zXtUGK78HVOLTFgYIvDJlTAMnNWD5XqNy696AZ/65w/S19sTBYnI5CPzCCW31B9q42lWmZtvSwVHTNCiEYEm7JPfNSOlwCDgis8OfiuwAkUQWBgRLGYXgyiRNsRRBkDXVtrpJ20b17VxXIuUa5FNOqR+W/L4xMf+ne987UdkUgkNXnwTwa19qy7YSF5s/GKEmqngaCJEYttcwb3WmoHNM6EKW04F0BKHpp2nMTN9NSxH3wTPuufxmjdfxSf//n2k0xmTe2ubMFdUf5gGLyQIQ104EX+lTRNHp3RSXGhIWUuADAUk8HwxE0XghzpLCwJ5b4gv6ZUAqY9tbnJSWmUJ80SyWEp7F8kQXQHQcXBdi4Rrk0jYpJMuGRf+4cOf5bvfuoN0Ookzp0ghzDPkjtO7yEfGsTXK/ZUS29A+uWStmrdRBNnJzl6br6Rvhk3CPA1ilPs2PI9LX7KRL93yUZJJKSjI+zNYpCP8fANgaMCTmpwOCsKi0JLUlUA5eLZLPenQEP/nKTwvJPA8Ql8AC/HkdYG8XzI0UzURVmpf2BSKJoe1hXni7LG0H7QdheMYBrqOOwtiJkHaVnz4+k9w1x3305pK6YusCwvaJfq6xGUIoEy5KzJnxzWs9X0pFZrs6/QAats3TBO/JwDHmkxMuNbw+Mq3P8QVV11AGNT0VRcJA0mUSqNC25ysZp5hoR8DISzTwMTm6mhmNnyFp0010EDLa+T5UF8AqRcoDapIF00areqNg9J5k7BPg2frmqx8nYRtwBQGuq6Lk7BxkxbZTJqwVuX6697Lzm27SCQTWJKxxHJGGG5s2fjAKIDNif/6YumQtqp/kzp9RiDlqygD0bmu6DOp3SlqNY+bP38jr3vTZajQlMmMn5SrliQIMvi+pU9eKhuBgKLv5SZ+zZikF1g0BCj9N2gEwk5l/i6vUwKkMVdPqldKGByVPDWQca5q+CDsEyY6otkkMbItEnbEQg2iMWU34dLSluHE0BGuf/N7KExMaf2oy2YRt0xxQT5DK1MDlnZT5sIZLaywVg+cN0c9nxyLNYBSAxQGCj5KvATUag1e+qqL+eLX34cKa+ZDmyFLImOSej2tARP/JSYcil/T4MS3ECmeNCJGCmgapMDCCwVAAc+wT9joC7jaLRjpEuvIOGRpcSMmbCksYZ4uRSnjCwVEyUhcBzcpIDokki7tnS089ssH+diNf29MNTZZqW/qanUsZgwbtUlHPtePGXp6ACOy6oChS6m60uxE0qZS83jv313HO258DSg/Kv/IVTF5g3ys56Wp1oSNxiQ1kEGgA4QBMQLJtzRwkoLJfRM4MWntbwRQS/tC8Z0ieA2AIoWiml6co2jNZtoqUlBwI0mTiHyhI0FFwEs4JJMObsqlvaOVr37q37ntlttJpxM62zBhxDDQtpwo+zCBcTYrjl5zWgBN0ostdh7lvnEwkftkJsE3vv9x1p2zWJtMJJSM37CihCy0KFeyVGtWEzwBUAcI7e/MvTZVX9HQDJR7A6YwVszXgCogm98FQLE0KW0JiEZYaAeiGajlfuwD5XeJyDoaS+UtNmMB0cVNOiRzaS2kP/jW97Nvxx6SbiIy2CiINHszAqzRjXGVSCuBUwGc9YfxyyQaGzOW7+p7IWs3nsFXvvNhOruyphBpJH2kdaKCJCF+PUFhJkXdM8FE+cJGP5IpApZPIAzzFXU/0GAKYA2RMMJSAVuDKr4yei5mofaNcbIUgRhpVrmorliMZqC51wA6ThSNJTVzdfBwkwlyHS3s3b6Tj7zjb1HiL/SpmvOJSvpRIDFNKGOfkQ49HQNPBjEq5+vMw6JWrfPGt17NRz75Z5GEidOeSNHbkVIXYAOYnkkzVbIJIvBC3ze6zg81cJ4f0PBF/xmfKL/r5/VrjJAWRgoz5bH4UfGNwkQDoKlcxzpW68CmHrQNiBpACzFlE0jElE0wEQDdtEtbZzvf+uzX+Ol//JhUOmly4ij7MJF41gdq1pumE9aa/vOMjDvlx4BoTNlEWANktd7g4595B2/4wxebdoY+ji6sRaZsul7KkpI6eDWb0XySai0gFMZFZqzN1BOwQhqeMWctZQQ0DWJIQ7NQQPX13+qeT8NrUK97NDxhr1yMOZFYm6wA5JIUhiUShmUClASQ2ITlPiEC29V+UG7pbJZGrcaH3/YBxk+M4ugi8mz0NYEyqgKJbIr0qGQisRhoQjjLQANaXCU2XTO45baPsPmCs0xvuFlwMlcIKypQKd80sgPIF5KMFmx8QUdMODQnH3iBdgkaLJ2BCBsVjYZPrV6lVqlSmalTKdaoTTVoTAf4MxZBycFqJCBwsKTSoRztry05KyfAckKcdIid87HaFE47JNoTpNqypFuypDNZEqmUAVpHZWFhgpauDu77+b06qKQTSd1tnDVh8zjmpdaeysJaM3+zOqkOeFL5yWjBqCyta3Gt7Vm+9/NPsmRpf8ROYZvxF6a9HkjJW5fGNYCholFxODzqUioHqEBYU9fBRMzamLJPvVajMlOinK9SGVXUx238QoagkKNeFAYrGvWQehBQF0bi0VBSGTGmLMVOuaBJHDKkyDopWhJJsklhF7g5H5WrErbPoLrLWAOKdG8b6Y4O0pmMNuV0No2dSPCJ93yMQ8/v18J7rvk2fV/U7tTF+bMHNptaye+kc3HR1DSQBEhx7AuWztMAdnVK+qyTn0gDxjXkkMAyVV+doIuYDmB03GZoTOSN9Cl8PS0QNCqUCjOURqpUhm2qR1uZOZGmkFeMVMqM1ork/TzFcIoKRTxVJVANfMsjkLqOmG9UhtfOXWSHTCmEDnbo4KoUSZUl52TpTvQwkJ7P4tZ+5rd00dLhEfaN4y+ewl2eJN3XQyqbo6WzlScf3coXPvk5ktKz1jBYUQkrzseESgKuQspZ2gWfmo3oGpgvJXsBVwS1hd8IWXXuMm798cdIp6V8qQtKBkRdrjCFpzAardBlHwExgEpJsWtIUZiuEVamqY0XqR6ymD6Y48Swxd7JIkMzo4zURymGeWqU8KkQIO1Lya2lX+tFmUEUqLTbjT7f5HdGzgiQODha1ri4KkmKHGknA36CZJBjeXYFmzo3cua8QRILR/HOGsM9q4VMbxduKss/f/CfOLBrt/afuoURFUjiIp98gpxfM4j8LoBS1TT5sBFW4DVCNr9wDd/4wU04MlWg2RXgOIE2Y3GyoVTxdBoUlZ0kRwstwkaDZ7fn2fbACN5QK6UTreweKfBsfh/H6keYJo8flvFVjTBsmOa3BidqNcYZvakrzbnFlbu49RiBGmUW+upJO9V2WNbfy8rFS/FqOQ4PzZCfLDE/McgfDLyYTYtXopaOEW4o07Z6Hk//+jm+/Kl/1xE7znZ02T+qhovZiZGdBGDc9DFdABN95V70mjj4Wt3j8pedz5e/+l5qpQq5eYNM1JJY0xP0zxPfZ2rOtmaLcbp6Ciq08Epl7vvWGLvv6mJ3fpJH808w3DhMTRXxwjJB0GgyuFn+iEGbLWUYQKNsYbYkE8WyGNgozdLxLZI4kif3d+bYtHY5Z6xcjJNIMjxUZ9tTE5wYmWJNxzLevPIN9A0kaWw6hr0qxWf/4ascPXAYO2F4p88n6j/H+vq0JqxJZ7lac4k8Wb1mKavOOZv2vnms3XgWC+a3cc9t97N5wyDzL7ucXfvLrG2bZHCxlLNMOmeKnrONm92/muK+L2S55+BzPDrzAKVwnEYwJUmfCeSR1opUbPTcbEHTSITo9yaAc5+LDxKxc44siyNpVzbD+jMXs2r1Ut2CyLamyedrPPTTExwaztOSDnn3yg+wtK+bxoZ93Hf8YX56x4O6AKFTOx1G55TSBMymD9RaL57Mi+ZfwoD33vRWrnntFYR+g+zAMkokkWrY8dEi933+Fl5w1Xp2+EvpKR7hmhf34GallmtahHq8BJg+WuaOj9r89PGd3Dt9N+VwhCAsz4I2hykGp2aKMfs4Eq5NoJuAz77WREzj6ON6oakjGSPMJVOsWTrIunXL6O3tIJ1L6ADx0MO/YejZgHytyoJsK3+38N9o7a1ycPWDfOHn/0m9XtcuRSxsVtRFbDxbV2PigmpU/8OiWqvyJ3/1Wj788etBVZkYneHIRJly7zLKDQiqAcee3k6w+1HaN7yQI7uOc+2VPaxYOy+a44sooBRbb63yn58rcNvobUx4BwmDyhw2nQJWTKo55fST2BeJ2SbB5qRbUddiVrfG/kp/mk3aznB23zI2bFhE98Is6VwSlbB4+qk9PPzYdjo4k5Hac9zQ809c2v1CKuc+x2ee+TTDo2NIQG5eClN6MkFEZIyOpdFYngQTkRqr1i3lP35yMy05GT+toRqwfU+JA6MBx0oOqlYlqFeYeuZRVqxaxN7Dio2rE1zzxvVY0h6Lrnt10uP7f9PgGw8+yK8r9xD4Mscyh2VN9sWBIQY+QjKy2qgiGR03LqbOsVP9UNgXT7fO/i1m4XzO5j3W9aztSLPtykepzq9guzbP7TzIL+97GjfoxA9rXORcwdva34Vaf4hPH/o4wxOjOh1supAmN8SE528+qR4oL6t7DT7z5ffzytdehgqmsPw6QdnnxEiNBx45yqGiRb1aJWjUmRo6yMpFaSaK7eSSNW5418W09eXMZ9lw+LEaX/ybSW498j1Ga3tNj605nxfLkNjy5rCxyaO4mRl1407F7KTfTw9gbNZreQX/yj8x4E5z16u/w8zCaZyEy+7dh/jlvduo1RRZt40z/FVc3/4hwjWHufnQxymUZ3RRotnqnOtf1w1eYNLmqEwjueW8BV385J7P096RQIUVrHqDRrFGIV/h7rt2s/NoiVK5qjXezHiB3nZFrmMBhbECN974AlaeI6OFugLLw7eU+NJnn+eOqdupeRMmq9GsMwLcZEFzp5/M77NDEtH4hm5zmrw79mmRp46akCef4JyiU5O181jJy+3XsWR5lfLFR0i2JbGTDnv2DHH3/dsolRu0J7tZ7q3i7d1/TemMHXxu72d17VJ07u9yG6yNSy5RUnr3vYY+NxmDuOrVL+Tz3/wgqBIENajXqEzWKOZnePCBvTy65RilSk2XsYr5Cr3tWQYXdDB0eIo3v2U9f/CytWaC1Q/5/kfzfP32J3mk9N/4fikCcE6kbAaMiH3aUpodGH2t5YuvTwW8uj3g7hmXJ6qG3q1WyOac4v6S7svp9rwJF+Zd8RRDbA4ONgs7eti4fhGLls6jpS1Hq9PG9l17eeDxpxgvN2hNdLPK38gfz/8z9vf/klv3fR/XdnS/pFkInMvAcxddokLl4wcigKFaqXHjh67jhg+8GaWKWH5VDzPOTJQpjk3z1NYhfvGzXVTrvq4tTE3V6cq1sWJVG4cPlbjk8sVc92cvwEklqE/7fOWvR/jOow+xrfI4SnezdDf8ZD8YnfRsTt7UNc2v2mmHfGRewDcKDjt1F8EiAaxMKXbXtfqM/MBcXyVaNh4HEYhhflc7m85ezuKlA2Q7U6wdPo+tO57j+8d/SL4c0up2szF8Ma9Z/nLuS3ybR4Ye16N4OtM6zc9JPlBeU6vW+Phn/4o3/+nVswBWG0yPl8iPTLHzuePc/r3t1DxfM1Cyk1LF47xNixg9XuWsdT385fWXkG5LUzxR53M3DnHbtgfZV3nWlMajoKHNtxlMhHHNOu8pznq21iacOpmbUaCZc2KrXEUxhONaQplB+PhHUrtFXZ2cu245Cxf1kW1N0Vrv5smte7l75xbd2OpKdHKp8xouWbOe7xY+x9GxYWwZdYh+TgXyd4JIvVrnHz//Lq697nIIi+AJAw2A48cL7N8zxg9v3UFDqpvRqY6M5dm0aTmVYkDfwlauf9fFtHdnGTtS5eb37uPHOx7maGkPQTTZNLdV2Dy/2UbvbKRtGqSRDSYYzL2Pnzf3Mnlwx6oGnzrs8GBVipUnR05pNC3r6+acdcvon99NNpehVvd58OHn2HXgiJY6PYl5vKzljay9oJNv7/sa46MFs3QlqheYbC2+KMrImLigqk34t7PHH7v5nfzRn1+NCgtYXg2qPtMT04wNFzi8b5I7bt1HvRHqqdRyzac8U2btxgFq0yEt3SneceOF9PTnGDlS4VPv38HPnvs1x0oHCGW9RrMkbnRVE8zZqHEKgDFI2vZPMaK5ZmWRtkIuz4Y8WLEpRw0wM8Jk6pZJ22Ll/F7WrllC77xOMpkM4xNF7n1oByfyU3qIaDC5jFf3voYVlytufepHHDkixdWTPzaewNBgCoAmCTGmUq02+IsbX8t7b3oLhAVoCIAepckZRo8XGdpb4Je3HaNekcU0li7HS89kwYqQcsEj1ZbkbTecy7yBVsZOVPmHD27lru2/4dj0QQLdwYv6DRG7tI86NRMxjjI2mlOYdHpfNHuKcwGPbcQwURrti7rbWXXGIIODvWSyaZ7ff4xfP3OAmheQtBMsS63i5QuvZODFZW69706ODo/pxtSsCZvKTPz9rLPnb9bdyLgaI+Xyiy8/l6//4COosIhVr6IqHjP5MvnREgd3FnnoJwXqFdeMe4SW1o2LzlZMj/mk2pO85Z1n0TOQozRV55MfeoxfPLWLQvkItu1FDXXp90p70lQ0YgkV9x1O9odzr/7/L3hzATRHzSQcejtyLBvspa0jx54DIxwdmdLTXEkrw9nZc7h81XnkNkxz68/uZiyfx9YiOsYoknxay0cMjBpu5kqH6AP/+L6bmTc/i5qZwZuqUC7WmS5W2bttht/8qkFtJq2nmaS5ky9PsWQdlMdTpHvgTX+5mK5emU4I+dTHHuBHD+yiVB+jKycduLgfLJVlc5N2pbxWxmel1xtPHJxcKY8j82kaOE1vfIqFn/ZX03RvSSdIJxPMVD3dlEolbLJWG5u7N3LRhjPxeqf5zh13Ua5XTatAA2guyNzvZa2Vkv4sP3UxUvzgTZ96G3/0tqtQUxM0piqUphtUyj67thQ5vCVJdSqtDybyZ7x+gmVr0pSG2mhZUeXVf9ZHa0dSTwF87d8e4Zs/eJqR4hgLutO6SaSb5FI71MDJ5EE8hGRmaPQMjDwnFyhqooudm26YkZJz243GKUSTWzpLjIeD4zM7Hehxs8zMFKZdm95EHxctPZvNm87i8OQwtz94r5Zqsb40IEYZd9wJXDv//HjqrWnGgadYuKSXH9z5j3RkoD5RojLToDzt89xDRSZ2dFGfljmZkEq9xoRziBVLBinsTzFwYYnLr+0gk02Qyrjce/d2/vEz97JreJQFnSmpE2vzlWl3mdSSYSE9N6MBnbOeMCrIamCilUQxgKbnok8nmp6OZnD0ELhZYOhJDbMpyE81fdNxNG7LzOVlHZfFbQNctm4N61eu5edbHuKZwztJuHpS0HBci+lTGuvr5p8flwmjIUqJjDaVWp03XHcFf3/zn+ONT1Gb9hg5WubYMyFTu7oJPUcXTQ+NHiW1okC/OpPxE1XWXlNl/QtyJNIyh+IwMjzBhz90O/f/5jAp26Y316L7u/JeM9Mdj60JiOZmTNg0qvRqUHlN9I/mQ1T4MIQUcLThazB0GU2qjIFHyWvgaek0V2ca4E+uwCs6k1mWdfdw9QXn0e4s5qv3f5daUMMysx5NE26mnvFzwsDokFHLLgr6ytL91xtuvJYb/uoaqoUyRw+VmNnZTWW4Bb9eJ7A8do/tYfm6Dorbegg7x9j8Bpu++SnduI5Wh/HVL9zJLT/YyuGxEss6u0mQIAwt3Uo27DPXWI9qRADqwUwZKo9yZTPYbQbTdeU7SgFj4AwzRKNFwONT8xtMN6p6uOn0eZiZKBNjnpdu48xFvbxs00U88ewQW448rRvxp1ZgDG5zQF2r+8Lm+LEAiLMEufri3F//+j/gqj+4iPqxFIWDSb0wY9maXhxJAVtLjG13KB+3Wf6SIovOypDMOnq4R49YJBz27Rriwx/7AY/uHEV5Dktb+nCClB7MDGVsVwNo/hEumUAy+0xomcfx6wwcRsibHyMrTMI/K3JFNk17ZUr1mtGcUeexGQR09AxpS6fJ2Uku2bCC+T19/PShrabrFw9InxKM9GygbqCBNRfAGLjOVs6VAAAWlElEQVRo+YU2ZUG33vBJJFI4etTNTKq//o1XcsNfvIrJE3kmj9WplmZYfGYb/Ut7jJ/QNzEVk9Z/6+t38/UfbGHnkSlarQ6WJRfhBmk9Oy02Kc2oQICyAnzLR0Az/T0Dq9x8fNpEECvFhMxV277pSWvnHq1Aj8W51mYy3VBjslqmHsgcrFHxUUw17wP6W9uw8Xj9Feczmi/zwFPPk3SjPPo0ObAZJRSALZo6ML6Os1mJ9IOlG2eScWFLpLj1N6jLiNu738TVl52D4wa6v3D0wAStLVkGlveYlT8R3YWNk2MF/vnTt3PPUwc4OFwip9o5g7PoCPr1sTVElhcBKdN3DXxbQJXnBLyQHsfj05sOs7g1z4d+fSa/qskoR+zjYrMyEVizxzIrT2bqVfL1EjLbfFJFRSm6c616UeKigS5e9aJzeHTbQXYdOq5H43QTKU6d5vK9GeXBkiASRxizrCtymOJoZR2rvkxyoEQ0DxL5IU9x3RuvYmnfIgYGsmx44ULdPx56foyMm2NwTa+eg4l7xTLkuHPHAb7wlTvYtm+M/SeKeNUkS9RKFrOGVrqN8xfgqCOzB4G+1Qnw8PDJ2QEvGRxlXm6au452s823sVxPs1ZmccxqExOALFvAElb6NIIG49UitaA667+UIptM0tfSTr40wStetIGVC/q5/VfbKJar2v2Y9SBSGTMhzARsU8pv8njd4IXaA8kgoYyexbzWqZ2SaTuDqgyYxyYuEmFxfz+Xrt9AKZ9h6ZkDvOkvz6BWDtj/6wo9CzLYnkv/ujZzzGizCDnSs9ue59bb7uH5w+MczZcZmaygaln61XIWsZJeBkmT1T5IwPSoR6DqYQ6q+i8+AVVCu4Hv1Akcj0DMWbynmL4GrwG2j62526BQm6ZQnyZUZgVKWybLvNYuRvKTnLtmIZdtWMF4ocbP73tWD6Zr0ujgExEokjta+MwFcP3ghbIYQc+VCGPi+oXuC8tIhzGIJoixDXS1tvKic9ZRsjewd3gBH3hHmo3rFU/cUeT8V/YyvLdMkgyDq1o1A+RqmpE0i0P7j3DXfz/Cjn2HyM+UGZuuMT5VZ7qscOstdAWDzGMxnQzQSpuO2mImDRrUov/W9X0dz6rhW3UC24AYytiH44FVx7YbWE5NA11qlBkrT5DJwcol/bSmcuzeP8yqFX1cePYi2tty3HHPDg4PT+C48VIyCUxGMxnFGevBuQyMhLRefTmnImKL/4vXyGrqRZNaciTZfcOH+d1drF77Sn4zcinZyhauuvQE5/ZdTDqXZdnGHONHpmlNZ+hZ1qInruSKykCRTJ/mJyvs2nGA53bv5tjYMaaqRR0ti9UGUzMNimUZOHKhniHtdZIJu8jQToo0Dgm99EzHXh2hA3y7YQC0G+Zm1cCugVvFcuq4GZ90C7S1JfVEmFjF6mV9DM5roz3XzjM7h7nnEWGfnLa4nqhFoCf7Im8eMS+OwJqc4gNnRwkjk9fmapYqNFWBpqJR8HpWREAMQuZ1zCdQPeSnDuLXS6xctJIXr30lf/TOTaTbQo48O01nVwsdAym8ejShqnxqFYtSwaGU95gYm+T42DDDk0fJF08wUy9Q9krUvCqVeoOZhk9VJrPqpvojIl7kTxjahMrV3zWepBB/Zct4mxuQcEMSCUU6bdHWkqQlm9b3fZ0tdLXnSCVTdLX0sf35E/z8/kciMS4sjnPf6F4kmWySoSvq0X4KcSxfN7hZkgJdC9N7rBidbkb85XEcSOStspgllN06ojF/WYATmLzUbINi6xEQRznc8Kd/xNv/9DVUaw2OPF2nZ16GXJ8pJqR/kUHtcyisqzPT5SEtjkbFpVJWzJSqFKoFCtUxpiojFKtjlGuTVBpTNLyyliW+FB30wJEyy1D12hDZ2MfWbUoZpEy5DqmESyrpkkrJfVLP/KXdDNlECx2ZPrqSA/z31l9z9+MP6aAjeW+oF5qFJt+eUzg1A/SzP811JDoK6xxPT/bFQSdi25xKYuwcBVg97hsdTBbkxKYeXRVhbtLJ8KpLr+K1L30pi+YtZmJPSFt/g7aCRfrWVpBG0PNQaw2ZOtOnuCyg2Am1NNSwaAQ2dd8y84BhnUpQoyKs9Geo+SUdUT1fxt1qKFXT8ziOFeDaPo4dkpSFNo5D0nVJuzInmKUlkyOXaqMr0Uu96POt+3/I4/sex9WDZqIpzSYVEoj0cGXUWTRBNK4GzQFROovahOOOU6TUpXqjx2IiHagXV8f74ejHkSnHx5oDYvMp0Yr1kM5ML5esvZSrNlzJ4uwS+g8kaNkF9sWhrA6DPRZqp0VtFIoJRWEgpLAgoNwN1axFLeVSSVmUM1BIw2gOjrdAPgelFDRkMxEFyQAyHnTUYMlMyLKZgO6qT9ZvkMLX60fSNYueUpYjY4f5zGO3sG9qD0kBTxqmIt4leocSzc36QLO5SFR9OQXAOBLrTEQ7wyYosfyNBGkcTHReGkmZ5pL/WPVIYeHUkpGRQRJ1Gw1Fxmpn1cA6Lhq8hAuT57C82CEr63AWKhK94rcsKIM/blGcgmJDMWUrCjnFtnMsvr8ZxtotxtsU9RYFqRDdlosbFmbpkM5qUmWbVcNw7a6AjQcCeicV8yoJWoOQu4Ye43N7bmNMjeEmApTtYdmevjeLI8UHRuelk4hodXKU8Zi/xH4wSuVi1uhx3liyyIu0HDIjbmZYMpYz0eYTuqoRvSeSKHIsvUTBky8jh3Nx7aRe8SQLZNJtLdhWJ+t61vK6TVfQWh+gNZ9jXs3RbEh2KhI9CrdFQIUgBXduCnn3mpDjehWhHDMqDshj2TBB/HQzD9XOGqZtbnrI4oa9UhSZZsfEAX6+/THuf3Y7gapCooqyGyjJZEQzOtFSDD2ifHIQ0SI6Sk1NU8mkcs0oHFeANTxxjUwDabY+0dmsXg4fA2hMWOMjwSOumIS2ruDMX9jLOeeezbLBJXRkerDJaUlSrjqUayFb9u2m7ua5ZM0SKqUEd+8dpK3az1lulsGuFvpa0rS2OuRabQoL4JtXwb6FIXlb4Yu9xkso5RtoNx2Vq/TFlAaGzdrj8PVfjLP90ef4r4d+zdCxEUJVwUn4KFvAqxnWiWaUWWsn2lNLkkkpYUWVFV0ea37eXP93CoBN3zW38KNFpJE0uiIczSGbDRhEysjFFnDNUnkB8q3Xv54/vu5aetv7TaDIAzNQKNYZGgs4MZVmzLPZmvN4KH2ChUPPs/3OMsPH58NIHcfOkm1tJ9eZJNvjM71IMXFeC2xshcEUlizhSEfr+fW6LsMOvc9KsQYjM2Sfm2Tjjw6gHt3LieoEjiOi2tO6UFFBWXWU04gyFnneZEvCNCloxBFXV73n+L74+VN04AUzoPSC67jMY0w3ZmMsqKNaerRtU5OZskVTGOgFiG9/zxt4/9+9S/syygEUHcjbElb1Qt9Cqc6hEzCSTzGMxX8thHuXKNSzR7G/cYzEtimCRIfxMXaSQMph1QJhSzvq4lbstUmyMw3SrkOyu51qa1bXFPuqJbpKDVpHfMrPHeDY7mcIvRKu6EFL9r2q650XQquKskRYG9+nMBtI6KJp5PsEwHj+Ri/jnTtmEjHRmK+uNs1Y6wfP36MUesm/ATFCby6AhnpmtbqJ6WZPrag0JKvLBxb18cO7vkBPWyelfJWWdAcUHBjXOVhUg/QpTHsMDVlMjKSYCC0e7ocfr4bRcpnEP28jswMqboJAttqrTWH7BYK2QdTGDHTYuI06mTR0ppNU3YReibnWqpPxK3gNh0VWP51TdX717I+ZmBwiZcveCAKeZCYy/1NHWZ72eUayiIaVWmNUwNUnKJIoqoFH2Zl+XZTTzQFwr7V+8IIHlFLRphOnyBPt42S1YrSjTxSptSKKSu0iviuVBn/1/jfz9r94FTd9+Bs8++QY56xZxp//4Ss5e+FqqERrcS0P36oxNukztjdB8ViOou+yrwO+uxp+065Y8UDAst0+47U6hWKRmfFRqn4Cryupt1XB9Uh1OTitDjPVEmGpRHtSsaojQUZGTTyHF3AmZyXh209/kaGje0i7UkERnyeqX/ReNI8t4MjOZLp3IL4vKhzI/gt6iHxW+80V0nFf2MJ60Fo3eMEXUSra9uR3ATRROVbRJsJJLdBJOnT1tONYCbqSC7j4ovMZPVbkiYcPkEq0UqzkOXtND9dccz6XX3oemUQLKmjgKU/vtzA5VmNyT4bq0S4qXoLhVotfLIVf9sGG3bBpGGo2lG2YseQahFRsEGOUtqQsDZuZLjF29CD5I3vJqBJnrFhIKttKGHTwWnsFy9tP8LmHP8Po6JA2Zy2UdaF2zhLdRLQaKSpd6dxaMq64L9MspMT1xjkrBCy+ZK1feOGVKgj1xjvmZ+4cQyxTjP+ThYCC/iVXbuANb3oJy5cuIJhJMLWnj/vuOMATjz6pdweypexkVykxCZmAC1/4Qt53/aW0ZtLUGx6BrHtrSA48zdSedhrDPVT9JKOtDo8PWPxoHlx8GDZPQKkNJrOK/KExDh8/zowog45OkvPmoxyXRhlOHBlhas8zZCmxcOUK6pluBuw+brSTlNxn+Ne7/oVKeQo3aYK0rJaKljcZGRQvyZCmltT+tB88eaBzbiYSL+6xbOcqvfXT7oLZ+smomEiCG5UT6TwxDY/2njbe9/G38MpXbsL2LIqFgMJMg6PPw8yOxezcfoj7ntxF1U1DWKNeGWaiuoXOtvN50YVL+dgHN+I4SQLPIvQdPbw9OlZgen8btbFuykGOiWyCp+dZ/KwPVtmKY4thuEWx6pYTzH+uStUKyXtljruK6hkDJPsGcCehcOgE1aMH6OxroWXhAjrdNl4WJrkoVWZ77WF+9uxPGT5wUJeqDEeiBpTuG4n/m12VHjfSZ3snsWlHWYkZ6ZzO9S/t1cF03cDmLyl4RzP6RrTV1Ve9xMuns7eDz33zb1i9aSlWqUaQr1PM13i2qtiZL7B4ayfVsdV8b8vTPD/yMJY/TlifwfMmyNjdtCQv4i/e1sYfv2k9oZfC8jOoeppyvcjoxAhTR3KUJ3oo1dspZLI81WHzX8ssSpsd6FRkd1U557sVUmWLBjZTyuJIeZTykhZSPfNpPWERHKtjjU8yf2ErK+wMa6XXS8hAZwnOn+GRbffy0//8IeVSSTe7NFBaf5kAoocotQIwQMU+UAeQWIQ0p3nVl4cKT79TA3jekkv76/XKfmVZMlKuN1w0++pF/a7f7kX1qa+8m6tfsZG9ymdRvkZlpEBhrMjwdIU90xXajpQpHzmPbXst7tq9h3S2lUpByuOPobxpFra/jM6WPJ+/+aUsOaMXK8hgN9oIfYtCfYSR4+NMHk9SnOxg29AUT+zZiZ90KV56CUeuWEVtMGlmfEVBmA1CTCon3bGpMoxJMbiT5EHFZUdD1lWgo110YkjH+CgtmWEWX9bDwbH9fOVfbmFkeIxExjE7AUe9Dy1fdKUpZtrJ1WcznayrkGXbsWe3vxOg1g6c/4nfbir0kRg0fVDZYKLe4KWveRH/+tV3s89u0Fqv0zE+xeTwBIWxGfJTM0xPlskXZ5ge62Ro53p+9OzDlINhav4UeHn8YJQ+60w60j1cdHE3f/u3l5FMpXHJYQU5Gl6N0YkTDB0qcOxoyP1bjzKkd9Jw6Onsx12ynr1rF7K7W/Z0kZqT3v8Zt1ymZXwSt1LG9i2Sdop+t4NzUx30uhlU0qIShGSndrDzmUdYPLiIl7/pfI5OHOffPv0NJiYnTBmsuYhVYmRc0otlXdTkj9Rb1Fr75KH81tkNGOWlsgXocCX/IHCBSdPMXIo0pb9y28e4+NINHArLLJkpMj2aZ/zYOPnJMoV8ialCmelimelCyIn9y7n9yR9RdJYTtC2Hya34ld2kVRvdzkISiTr/cvPVnL95md6oxLVTunA7dqLA7uePsWXbFIdONNC7QcveUG4C287R3zXAgRwctlxdoQnctN5KWfZtkx3krIQioaDfq3GWHTA/4bKg4pMKPSqpPMeHhxgdq/CSi1ez7MJBHtuyi6995T+NRBOVFee/ktPH6/qj/sfslKvsjsQTVtdptgCNTbnmVbdaylqghWUQ0j/Yy+0PfA63vZVGY5qO6QLjw2OMH5/UZfl8foZioUJxqsJUvkb+RC93PfmMliZVf1qvBZb1cI7y6GY5yxa18ZrXruS1Lz+XZCZFQm/yYDF8OM+2p4/wyFMzzDTMjsEVT5abmcGNjlwrA6kG07WS6cLJ+jvZT0HW5ekdOlwy6RQduRwdbVlaW1J6lC3pBnqbglq1gu95ZGyXs84ZgPYk3/qPX7Bly1N64bVxXdrzmURhbv6ru0Y6wB7LOOF5u063CW0sYmQbZFtxpwrVAikMXHT5Rr70zQ9y3K/Tmw7JzMwwMnSC8eE8k/kShYkSxakyhUKVyckak6MdPLFzD0P5g2Scbr2r30w4hheUGEgs46LzB3Vv4tqXn8/Gc5foja7ELHfvOMHjTxzjnicOct6GPsLUII/vLOEkodwISElAyLp0JmSvP5swFAfYQuiksOwUrpPQ63vTSUVLrkE6VcbRpSqYKUzpQJhKu8gIc0dbGyvWD7Dj4FH+49u348k2x/HUQtzCjACJd3cLbY5Zyr76YGHL798GOQZRgkqtUf1JveFdcN11l3LFi9fqUrvnN9i0eRX1YokTR8SESxQnS+SnykxOVpgYD5gca2H38F72DB8mm+ii6pd1RVmpBotzA6xa3UO5YrNx7Rn89TsvNn3WAO675yBPPDXGfdue4E3XnENP3xp+9tAhUk5d79xh2y5Zy6VTpJXrUPHbODxh0d82D1ulQQNpk0yGNGYO4DqTLFnYQTYH9WpZz0KX6x45KZiGaRad0YvdafOTn93D/gNDeq8FLdx0WT/apS0Kow7qiYSTuWbXabaFP7UK2pTT4hMPTo/87T/+yzvf84rXvyRXr1Z46qHHGD14hDWrllObqTIxVmQqX2YyX2ZsvMLEmMvUZIJio8jW3XvxwgoOOcrhlAZwfnoeC3oGyBcd7I5xbv23t9LRnkGFDnf+fA9PPzvB3Vsf5BVXbuSyzRfyw59vJSs7KVoOCeViWykaYRrLyeA7bezN27QnsoxmO/BbcmSnqwyoOl5xiA53mrVnttEIS9HmZGY7PatSwS+4pGXP6hUpnnzuN9x3/5MkpAcQTXg1ez6yFbxlf9bqaPv/2wp+NiuBBx64s//8zWd9dHp07A/nLepo27P1WY7sPk5XawvjI1NMTpaYnCgzNlZh5ESOalnmaFwe2vUkU2XpbrhUwmk9e9KXGCTpdnGkslsPNX7n5j9n49pFehf7X965n517J6kmJ1l1xkKmRnyOjpYJXdlcwmK8exElp41GyaXm5Ci0tDHdPQ8Cl+nVGWgPdUmr4948bctb6fRDllROsHZ6L9lgWhcMhGSSTjo1WYGVws1ajNWOc9sd9+ptooz4A5VQ02B9N20nP3E61s3F5/cycO6L5PEPb7opeeVfX32ZPVN95W8e3726NePOHx+Znj82Nt0yPlrm2HGL0RERnB7pRJpdwwfZdWSEhqoRhB5JO6Td7dV7IHgyrU+CD7ztUt7ymhfoTRcP7i/SM9jKwsEWdu8a499/uJ1j81ZTkp2Zjx5lX0cn9WxWUiJT9BUfeM4a2LASgjzcNQKLc9DdBi0J2HUQdg+zaGaUxbVJ5ucy9C5ayEAwof1jY9JjZn+dxFKrdOud9xy3bXUcpXbhOD9L9vf/n/93GP8PfbOtZaNNkVQAAAAASUVORK5CYII=",yu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF69nQm0ZHdd5z//u9/aq97W/XpNpwOZhIR9EaOyKQgqorhwHJ0onkEcZwZQZ86o4Bk548jgiDqKozLHOSoqi0hggIAoCdCEQCAJ3dk6vaXXt7/a6+535ve/Vd2vu193+gWYSirdebXce7/3t35/y1Nc4+M3D+VO+0jyUsh/SMFNSjFv2PZ8GieVPEvPf4tSihxQ1/i9/z/eluc5qBwMC8u0SJMYslyfJ9BXcBaVn83hYTA/1thvfe4/P0NF13JuT3qdv/qJfFsche/IlfoplVNThoFhW6RxTJ5lFx9j8m1KzvdJv/r8Z/VbsxylPyL/yZGfyTXL/8r1F6/IRRv6dbXJLbrajdNwCY7y9crAtG2yONHXcB7KyRkp1VV5/n7bcX/r3a9RC1cD8opX+YefzN1jcfTr5Lwth7K80TBt8jwjS5OLvjNXeQHY+Nv0SY4BPA/EJWehX84FiAIO/ffx58d4keVyaQqRanmtAFL+kmFqSS/eOQHzigDKnSj+LR7yd5VjGjZKGWRpXLw2uVPjtymlBih+b5/t/Jd/92oVbgbkpgCK1EVx9A+Qv6g4OYVh2aSxSPX509ggQWMAjbHUbJQOffKXHiZHZLf47ky/PoFCv1WBbeSULPBJcPIEskx/JjYshriMUoMkzbRUikyeR79A5wpCU0A8kcaJXJu2o9W6eGUj0ueR/LJjO6/bTBovO9Kv3BHeGmf5J1DslIOZllPcoUvVdSIMcgG5oe+oXIRWuyue/vjFDe/JlYEyFLbKcfMIO4uomCnz5Zy406N9ZoH2uTOEvQ6maeKWK3hT05izOxg0trOOT5wUQG7JbGyQNjkdQ0yTaZMmYyG5/DpOG0q9+j0/7B7ceHkXAaglLwq/qgy1U8AwTZsk2lRyC00Yq66o2Fgzrug89L3VKjt2MobCNAzsYICxfgpj6RRZZxkVDVF5iikG3/FwylUs2yMY9llffIKgu4Jr+3jlGrW5XZT2PYPO1G5Wc5s8KyTsoovaoAEbzclEZS81MabjaoHRTuYSlQZOO477/I2SeP5YYvOORtFdivxFhmHJLSFL4s2+pLA71wBaoe7qou/I5U7Ls7tO/sQhwuMHidZOQ9TDUCm2CbZtYFsOtmVjOy6mW8EpT2FVphj2O7TPPIbKE2y3iltqUd+xn2j3M1iqbSfJJm5m80hAq+jEySkB6XKrJCqtTUaWXGoW5cK/fL3jvGRiE88D+LY7wt/KMt5uWJa+4ElossldKCRY27vLbVthY+Q4Y8M9UQVD7KiJ6g8IH3+A4aP3EK0cJ4/7OJbCL1eo1hqUqnU8x8MwDZRcQBLop8oylOmiSjMkpk9v8QhZ1Me0K9huDac6S7z/hazN7dPOR+7vNam0gFgY5PPmXTstwywcjAjRJXZfGeqdv/9a9x1jKwaiukkSH1GmVc7TVHva8w7rcjE+b++MTQAs/Ork80pLsjJNjNGQ8NhD9A5+keHZR8jiLqVKldbsLuoz8zhuFRswVYplZNim0hJo2pZ2ClkUEA1XiYZtUuWR2VWG62fI4iG2W0aZPpk9TfDs19BvzWFkaaHKV4sIzrvtMUSTcGmsXRKyCZACoojiRBbEO9u2s19UWR/jLXcE77Vs9806trsEsM280kR9N/MVRdCqNGhyxLTXJjj+ML1H76V/+hGyqEOtOcXM/H7K1SmIQ5LRKrlIEzG2gGeZWJalAXQdG8cpYXsVrcpxCoPOIkkckCiXcLCMmee4Xon+EJJdL6L/nFdoiTXGl3zBzm0e5F96jRuvT/4uMWMSRWPBKrROwZ/8/uu8X1SSYQxOsZxEce1yhRfgJ7dlbM9EqIog7ny+Ie9JFTiWgaFMsmBEsHiW7tFD9I9+neHScbI8otGcYXbHPjy/QjJYI+4vkydDLCPXnxXg5CneVhyMqdVIYZgKy5DXbFyvQu5U6fUHpNGANEuJgi4Vv0R/lBG72zBe/HpGlSZxbhaqL+o8CTLHd32z+LS4+Ze5IS0QloAYRhfUWaluY78zo/7jp/JXhlF852bgFbHlBn8+CZTPi15xR20zZ39lxBOPn2Xh6AnWTx2mc/YYadDG80ya03M0GrMapLC3TjRcgSTA1MCZeI6J7zi4joNjW9imiWWaKFM8ahGdZXlGmkIcx9iWheVW6Y8i8jQmioeUXItRkBPnHvu+4wdRzVm61RaLsUOQFOon5kVixonl3jzIv0I4rqMSk1Syl4kyK/NV6pc/lvxxmqW/eMXY7UIeVRx6HOgViUQBoO8owkcf5mt3f564t4BrJdSqPlXfxTUVxCPCYYc0HqDSSHtbS0usiSuqaps6sxCjbYpzUuKptdhoj22KPTQttE1SiiiKSJIU03YZhgmWAZ5rMgpjksxn97Nejl9t4Vcr4NcYKZtObrOOQw+zUMGJYm3M3DcN+i8gI+elzEl0ouF4r3rLR6PPQf6SawLwEs9WnEOO7xgk585w+mtfIe4vYsQ9HZbkYZ8sCfVTwo48iwvPKjclzzB0OmVgmUoDaBoSiOdaEv1yCc/zcB0XS1AFkiQhiBOSOCHLUyINWE6mFFP1Gv3RCIwy0zueieU62LaL65fwylXcSh3Dr9K2a5yyKkQYhY28yBGedxNXgmPsnRVpmohu3KXe+tHwsRyetlUAi6RHUXHAOvM499/9BdYWn8CI1snTIWYea09YBKXyTDRoeZ7qg4unz/OENC0if9+yqZQr1Ko1mrUGzVqNcsnT0ifSFsYRaaqVmeFwRLvXI44T4iQmzjIa1TpxkmobWavP4XsOnlvBsH1M28O0PCyvqiUzrW/nTG07A8vCuIQPuSJyG16QtDaXa8jywyKBPcgrVwRwLOIbI74NGSW2a9E+eIgH/+ljhP0l8ngAyQjigDyPIItQcjCdDoakaazTJQFOJE+Amm5M0ajWcEViPB/bNOgOeqy117SzGEXyOQlLFJZlUvZ8PNclyTPiRKQxwbZcXMdj2/QsrUYTx7IxTEfTV5JVyE0QDx7nDk55jtKeW1nbdyuxZRXWcQvskWBlOQ5JFPfVWz4aXiV7vTqspmWRrK9w4kt3cerwQZKgTxQNiAYrZNEA0pA8HYFO1GPtbUWNfdth2/Q0080p7Vkl8BXzKp622++ytLJCEI20OouAiMSmWUIm5IE2jeKRHXzPxTBNoiRCzqVVa3Ld9vlCev2KNvpRmhFH4mgSLbGjKCFOLUx3hsqt30t883O1NugEcGIYrwnMIrx5CgAWPsiwTcKTJ3j4c3eyePowfrnM1Oz1DJYeJ20fxTZSSCPyONAASBgjjEetXGGuOYvjOaSZXJxYI0iyjOW1ZfrDvrZ58plRONTgSI4rkufajjYbSRKTphm27eC7HrlSpHnGfGua6+Z30KzVScf+VodEShHGCcPRiP5gyChKyfBxG0+j/prbUa0pHe5c5J6vQZe1U9uaBI4tn2kyOHGMR/75EyyfPcaOHTvZd+OzWD/+ANnqUchC4mjIKBjQ7XcYBX19OVPNaa2uEoaIIxEgJHwS+7a0tqwlzDBhFAy1pE3VWzSrVS2FBiaOqE2aEkWBVnH5jEiO/FykeLpWY6re1Ia+Vm1Qr1YwlUEQBgyCgDCIiOKUOJEbZoBRZ/q730D5hS8FsdWXUxFPCuMWAdS5FvHKGo986g7OPvEQe/bt4obrruPUNw7oEEYkRgAY9NsMhm0Mpdg+NUu91tL2SCFqWHgxUZ0wDFnvtlFavRP9+Xq1yfbpWWrlKqZl6rzcQKQsLYjUNGUwCllpr3H83InCg5u2dhyGsqhValoye6M+/cGAIBKbm2nwojjDdX1mWvP4Tp36jS9j24/cruNMechxtvLYEoAiNaZlcOYLB3j4S59hbr7BzrlpTh+8hzDo6DsdjXr0Bqva68605pibmsF3XQKhxcT161hLmA4IooBgNNS5c0aqTYNIzlSlrkOYSqV0PlYUSXMdU9uzhZV1Ftsi2SGdnjiaZSwhRYWeHzOyksXMNuRGzGiVtiybMIpYbnd4/PQZuiOb7dO7mX76bez+yTedZxKulqZuBuw1AzihgQgCDn7kI6TBCnNTZU4/+nVGwzWCYEAU9jSQlVKVHdt2UfY8fNvUQKVRRJbFWiJF8iQYDqMR5CnKBMsU4qBEUwhTx6HeqOE7lva4YhNLnkdvMODYmUVOLiyy3m5radUXnA0xjIQkzan6VWYaLWaaLeq1OvVKjZLv6yA8lXAoilgfDDndLbEUlWntu5k9P/R6tF6P2fCteOQtASgnES2vcvxz/4irepw5+gD97iph0CMJ26TJiGZznpnWDJ5t4pqgspRAHEkU6oxBgxeH+pkkkQ6ay77HKDGplSq4lkmtVqbsyc99fNfS4EkYcnpxhUeOHeHs0iK2WEUDYqkIIClhqp1KyfU1sSB/VoTtqTeZbtbxfU979TTLdTgzjDxOBbMYL3gFtT07yZOisnihsHVtinyNABbEY24aGJ0ep+++kxOP3EO3s6SlLgk6JFGf6bl9VKs1fDPXFL1j5EWgG4dYmr1OCIOAKI0IwqEOZ6aaDXqjBNurU/VsbfPqvnhXU0uOqL9tKVa7Pe4/eIhziwtaUBzLwjMM4hwCCdhz4e0yHNuhXKpQrwhwU8xOtXRYI15fnNRwKAy7qUucSd4kecGPEmzfjUouFMq2osbXCGBxl8UJrD9wLwf/8R9odxZIwyFx2CUcrtCa2Uu5Usc1M83nuToskEwk1WpqpBFRONQetx/08Gyb+Zk5RmHIKK/QqtWxDaXJB0fFlCWPdmwtkRKiPHrkcU4cO0bNKQJoQxlYSjHKUwJJDxWkGToe9FyfeqXO3NQUM60pGrUqpmloKe4NhgwGAY7rYRo+avom8pf9SzKh38TBjf+5Nvnj2sIYzbjYJr2HH+b+Oz9MZ32BNBG1HNJrn6BSbdFo7cDKUxwzQ+WRJguED9DhQTIkDEfaFvaGPW3j5me2Y5k5i+0B1dZeaq6liQPXiLBVjOc6WsrEa49GQ448fEjXoj3RW01wFKXOQZbSjiOUsDiWS56bBKnQa0o7kZv37WW22dBhThTHDIYB/cGIOE11qmeZDfxXvBHz+psl2R6r8bV74ieVQLmzwhQPjx3lwc9+gnZ7UZMDwgwP2qd0uja340ZJF3DNHJMEg0wTA3kakoUDwnDAIBgxHPWolcrMTm3XzmW9t0JAlemZXbiahckx046WYMmNBbwsy7DXFrCXF3WoIaG0EKi5Ia/CapLxSBCSuY724I5bwbRsOqMRS52uBvvZNz6NPXNzRKE4rphuf8QwinThyrcrlJ/xKuqv+imd3xbF928lgIbCGo04fuBels89QX/9HN3l4wSDNYnMqDdnNfGZJzElIRaMVMdpwhiLcwmDAaNRnzDsM1tvMT29Q6uT1EIWVlfwW9drIkDXd/MIM17TN0CoLvkeM0v4me+8lf0zNZ0tSDpoS4Yj2Y1hsHx6iQ99+kvc0x9ilCuU6tPU6hJEVxkGEScWznFyaYmn7drJ7pltGsBRGNEbBqAsXLtEef5Wtv/Ur6IkL9b1lG8hgOPwnDzNSAYDvvahv2T13FGazSlGg/WCz8sTXEs6FkICifgFsKBb2Lygr73zdGsb22bmyXKFkQ7p91ZZ7g2ZmX8GniMJPaikjxm3tbcUslWor92NKr/5yz9PrVnDcl0cz0VJ6U5sllxov88jf/sR/uL9H+feKKTSaFKemqPZmmK61SIMI86trHDw6GGm6nWalaYOqIeSHycKx/KpzD6NPT/7G5ie/20CUC7ONAjX23ztg39Fr7PMC178MuL+Gr3FE4yG63R76wz6AlyHNByQxQFR0CEnpTW9h6nGjFbxJArIwjYrnRVGmUVr9um6lKmzgLCtQRSezlAZRhzxyuffwlvf+kYdx5mujZKSoyVeVJ6GZlqCY8f4ynv+nPd/5SEeyEbavja27WJqeopKuaSdx3qvyzceP4xhOLiWR5LBIM6xDZfazlvY/7O/rnt+rtR3cyWn8qQ28PwHTYPR4jIPfORv9N2//unPZNDrs3jyIfrtBV0xS0ZdzTpLrULAk8J4fXovVb9C2RZnHJJHAwb9NTqDNoZVwq3v1CyMUilm2EWlQx2mmOLJ44B/f/tP8EM/9mqQDjDbFjc7lr5xH4kUwAdDzn3q03z+rz7Fh84ucCwbcf323TTmd9Fo1PT3SxSxst7h+MIiUSoVv7KOPVWmmHnuq9j3+jfqTGmr+fA1Ayj1ibDd5Rt//0Fmtm/XAWlnfZ3RsKNtYtRf1o5FV9hIMd061eYOXePwjQTfyMh0BW6N3rBLFgwxzRJReVoXkow8xRLpy4quMokjZ82Ud//2f+KGm68v7qMlAAoJIOo7BlAcchwTnTjBofd9gLvvO8Ida4sMrJxdszspz8zqbCbJU5IkZ7U34ORqj0p5lkz5ur/mX7zhrUzd8iyyWGi3TYpKV4lprhlA/c1pyrHP/hMzzQYnjh9h0F+nu3qaUWeRUW9R95YYhonp1zFNC8exsPJYNwjZkuvGA0b9VcIooBQOSKwKXa+OK46KDDsPdFuHMDdOFvH8vdt51++9A9cbS55W3TGA8qd+SO00g16f5c8f4Ct//Sk+v9ThkyunNElbrTYxylWdpej6ueFwrpMxUE0qlRaVXfu4+Q1v1CSCZOS6qH5NfGBx9GsHUE7UVKRLq/QeP8LJJ44w6C6xfO4wQWdR2/NyY54oltIfOKahWRIrG2GpDDuLycJ1RqMeKo6Yikf0nRprVhnHQL/HpeiQslVGORzyCz/9I/zY7T+qCVnEQ8pT2z55FkUnDaD0xMQR8dkFjvztHdx74GE+0+7w5fY59jbnMJ0KkeVgOD6O7YEzzdLQorXrRp72+jfgNmo6ldPgfVvZGAEpjjj2hQOsra2wcPoR2ssniAZLVBo7NccnqZuwxLZtYwj7ouu+YMV9bRelt7AcD5lVOatmmWVcbHndSPHEDirws5jraz7ves87mJltFiCJ9IkKS9+OeGB546QJYqwdDEd0HzzIg+//JAdOrPHRpZMshCN2NrZheTUiyTzsMrZTIjNrzD3nFez8/tdo2zwpLn1bAZQU0u30OHnfAywvnebUsQforT6hCU23PK3VGNPVgawtzZhxX6dwhvT3hV0d5thJzFQeMuXYnM5tljIbR+V4Zqa9tJtnVMIhb/q51/PDb/hBEMZGOw4DxAOL9OkQRmzgWIXHTZciqVm7w9l//iL3fOxePrvc5h8XHic3JD+eolJq4Xh1TZ3Zld3s++E3UbvpBogKIuF8o+i15nFbU+EiB3e6A5YPPcbDh+5l4dRBsqBHtbWDcLhO0F/B9huYroch5cawgyVZg5Q405H+eyuLaFjQcF0eDqCdm7gqpWzlOstwR0Ne/qKb+dVf+0Wt2jqw1SI8VmEtfaLKk1xRwBwDKSmekKcLizzy8bu464uP8aEjhziTjHDcBtVSk2q1RYaFVbuO/T/9FpyZFiRFR89TeWzBBkJu5PjDiGP33MtDDx5gsH6KSn1ax3aj9lldwrTLDSzbJ41HEA0w8lhLn0RYWdDBTfq0/DJ1r8JjiU2ag69SKmaGGUXcsmeat7/9zczNNHQXgKiU5MhKQhjPKSRPuMVQygYRsabqQx2DDto9Omtt1lbbBKOASmTxzwcP8/HDj+CUm5h2lXKpoUuc7sxN7P/pX8KqlAsb+hQfWwJQQpnszBKHDnyRlYVjuiwpbb/99bPEw442wla5YH/jUQcjCTWIZhaQxxErq8dIkkCzLtX6Dtz6Huw8pEyCl0Xc2HR526/czu59O0kTyanHzfXiM+KY9pHDHH30KI+fPMdab0gvSgiSmGGQ0A9inaZFaU4orEuSaiLh+573LN71wTvoKw/l1DCMCo7j0dz/Xez9ydu1dG/F616K85YAFGY4ObvEsQe/QTDsMui16a4vEg67pMM18jTAq89p75j0V3VtWMU9nDxjynUIww5xHDCIApLKdfimRUk6njMhHfq8fJvLm97yRryZaS1ok/qEcISr993Hh/7i/TzQS1hLQKyWFKfKjku9VKJZrVCrlDRx6rq2zir6631uvXk/H/jCV3locYDhVolVGVt57P7uH2fbq35A59RbdRwbQdwSgDqWTTOCU2c4c+wYa6urBIMeYX+F7rlH9ElXp/ZqmivoSovHECMccPPu67l5x17drSDx3kK3x2MrbZp2jpUFLLeXiEYdbqmY/PzP/RitXTPjLq3xSIMyOPHFA/z9Rz7N0C3TqDaYmxaytEmrWaferFCqSReri+05uMIlVkpFz3MQ8bvv+zs+d/AkbrnJMM7xvRn2/fhbqT7jlvPB8+b9rE+u11sGUMdK0lK20mZw5hznjh9l4YmD9NeeoNLcTqkxz2D1LHFvmXy0zo27ruO5+27ETKXVQ5hppTuvxFNLgUqK5BKmmNGIphGxY2eJ5oyDX7GxHEursYQ+UadLb2FVOwDpOBB2vGiDk4p8hulYuL6vgROyQQJnp1ymPNXkj/7kr/j7z9xHVTq21nv4Mzez/9/+Fla59E3Zvy0G0hfuhnROSedoeuos93/m0ywfuQevMU1r1y1EQcDauePQX+LmPXu4dc8++gtHOX706wzCPkmW6BaOuant7Nl9I7Xmdi1tvgkVocesgHozo9IUQCxMAVhKoOPOAuH0kjAlCSIWT57kkWPHOLu0pMsF8606N+7fwzNf8l34M7PYjoc/PcMHPngH7/u7z1BuzPC8HTPsuO0HOHzTa+lLZ9dTdb9jOLYsgRMYfVuxr7fOgU//M9X14yxtvwmjMsvqmZO4aYeb9s2zzS9z9huf52uH7mLqhmcTJClf+vIBbXMkN95VL/OS57+EXdc9k5LMhaiMhhHQrCRUpxSlso2tK1FCRAjHGOuyZjwMuf/Al/n7rx7mLHVe/oMvZXamzGzJYuWxR0hPH+F1P/GjzOzdj9Nqceen/ok/+LOPUKu1+M23/RQ3PWM3R5NZ/vzsbkaJKpjzp/jYMoByrEQZvMAa8r0P30/36DGWatP8aSfn+OoK5ur93H77L5FFGf0zJ/nsB97NzG0/yPXPfSmf+/y9nHviYRYe/ihKWXilfewqw2te9lq2ze6imic0jJipSkxjCio1E8cVPlwAzDSA0mR0/KFH+dNPHuKEfR2LJw/wyh+4jWc+93tZWVjkrb/yk3z4Xb9Dc/kUr/rZN0Klwhfv+hL/7fffrxuPfuM7bma32YcX3srHpl7Np1encJ5Ki9ZTlUBplUgN+MnhGZ55952kmU23Ps8fdGM+e+oEtfX7+IVf+s8Me32SYcDig3fjvviV5G6Ju+4/yeF7P8Tyg3+LMiyqjVvY1trNc/ZO8eznvJQaOS0rZbaSMD2NVmPHk7qI8BjC5iREoyH3f/0hDoS3cNdXH+D41/+3zr9veMEbef7zX8DvvOOV5OvLZCcfx29Og+1y3z1f57ff9T5uvG4vv/H6l1BaXQI35fCzXst712/SNELxuEJ36lWkcwsSWHy5roZZ8K8WH2PfvXcTVrYT+A0+2A3465NP0Ow+wJve/HYG7Q6x1Co6qwymp8lac3z8U3dz/32fIz32DzqnrV/3fbxw9152ehH7nvZcZsoVWnbGtmrC7IxBVQD0RQKF7ZbSZU5biuqRwRFjP3/9uZM89Nn36Pa2W77vV/meW2Z5888+j2zpDNawA5nknj7fuO9B3vnO9/KK257Hm27/fljrwNknWHrai/nd/vOJzvcVfVsBLG6DdBaI9/yZxcfYf9+XGFW303eqfL0/4t3HT9AMHuUX3vQf6K92iUfSK5gSDNbpb9vBqaU1PnbXfQyCNq5ls7fq8errPIKlRVrzT2d+2w4tgXOVnNkZRW3Kwiw7RSuI7g/MaJ9doJs65K15Pv6Iy1JW1mRFOR7wY99dYWcdVGdF98rolgfb4+H7H+K/vvOP+DevewUv+t7nFvTXwhkWtt/Kf+89V7PTG8ZEtmQNtyCBxfcKRZUYJj88OMOL7r2bgTvFml2lu7LC75x8glAt8Ev/+m30lzvEw77mEKUIFA+WCByTc+vrnF7t0PLh+bs8ttVs0v6A2N4GbhNf5Ux5iulpg8qMjao6+iboaRjdnhERrKxpYqGfOZxuG2S5wXUzBs2StHmkmI5XsDY6xClx8OsP8Xfv+XN+7XUvpfycG0BqH501vlF9Dv+rfYPu2Z6MoG0JvS2TCVoCJQswuNkI+PH7v0AyUCzbNdTSInf21vjHwQne9gtvpb/YJhv0MJJY13n9fEQp7+J7MWU3xvcMTMfQ00u5YRPENqPQxsgtSoZiqgHunAtlr6DaDeEjJT2xod+DQb/gCUXr9M8NzQQh4E14QyFGzRKHDx1m5b6v8OKb9sL2KfA83Xb8gfCFfGHYxFEyM6yjuq3itxVCdfLdUvYz9HjWTy8eZv7IKVZoMFxvk1oxn/UinveKlxEstVH9nk7TPCPENyM8K8R1YjwnxXYMLNvUAMqJJ6m0vFlkiYETK+o1MGecAkCRPmEjdLwhYY2pCQX9HPe0aIZG+EL5vmKEAD28krukwwTz7GOaTWK6pf9sp1V+d+UW+rk0mwuA8t6tg7hlFdb1WyUNuwbPMoa8+vAjDNeg3Uswem2SPXWC257FcGkdNejg5wEVO6TqJnheiufkujakuVHNKhdTkaKGaWpK+owZZFSrCqNlQ9nVmBVSVaR2xTj7GMyJ5EjyrEGQ7kndQTkG0IdhAuvHoF4GyT5I+eTyPj7Zn8E1ion1PNu69D2lTGRyGJ3SmYrXBsvsffwc7U5Gvx+hnBj1mufQWxuium0q+YCqE1LxUspeiuvmWJIDS91X4i8lRcxibDpKZRBHAEyo1RWqOaawxEvoWrBVACcSqSdndDtD4SwEwDwdgxcXjiKVcTNJ11LIVqQjCcycc/06f3huP4FMjY4HrJ8qo7VlCdSeeNyXIozIlJ3xI+uLGKfbdMOMqO7hPns3/bWAbG0dPxtQt0dU3JQFioR4AAAMqklEQVSyLwBKB5U0KgmA0qJhkBuWvt44NhisppSyVGci1O0COJE86ZVz/EKNLwrbxk19cmJiK8UuigTKyUkYIwMIZghmTzd9xrHDny3cyKOxr5nwYob5wtDQVo3glgE87+6VdDIZuhPmBivh5e0l0pUBIwk7rp8hDBTB0hpOPKBmjKg6CWUvwXdTbDdHatiGmWtSIDdM0kwxGir65xKabkZ1WkFDJNAupEkKJ6VSQelfMMcX7JZImawk0OBJoUmAlvfWwBCx7pDFNh9euoEvBE0caYKfZBMyDToeCN+qI9kygOcPOmlGVMKIK66zE74z6OL0A6LZCrFTon9uHTXsUSakakdUHPG+CZ6bYdlCSBQeVLrspel7bSVjtGAw7cU0axFWPYeaXxxS1K9WBse5kDRoNRZ1FvHdYPtEQqWJPBfPIwCuMUhyPrZ6HfcEdWzz4uka3fv4FEnpawbw4hj9QnvZpA8nyaFu5TzbCNlhp+R+mc7ZDkm3g50ElI2IqhNRdmSaKNE4iF/QLLcyCEM4e07Yf5e6dHGZI+peH6+S6ejEmGuhdkus6BaAiR6L4ZI+RO0wZKxCfqZ9RGEfc4c0b3Kol/OZwRSncqkAfuvAe0pOpHB6xdzj+dL2eEClWP0ATTvje6ZM0qUBo/U2+UhYZ1kmIQDGlNwYW+yg9sS6pkOvn3N2WTHsWahTj1MtV9gz5eOtfA0nXqH5A6/CvGH3hUK6AKcBHD81eGMPrdVXpM/lULCD961WQY4nirpB0mRZhjRvPkXhK6DY2pzIBfOjgwgdOhRbgTaehPQt3zan2B6kdJbaJH0ppod4RJSsEN8WTjDDsiSmzAnTnHYvZ6ktkqiwk4haGrHL6TO7M6F+/Szu7LQUj8eSlhdSp3VvfE7SI6MBlFUBkp0IGVviw91dfD6Q0uklo7ta/Qvb9808njKAGn0J9HUgIJuGLpyI2PAdFbitarB2tkfQ65CNRtgSVKsIz4yw7Uz3v0hfcxCnrA+hO5QWt5yqitleDtkxb9Ha3cCv+zp41xKWZuRJUgw/y4IJqyBdi6lzeY88ZZDHZJA1+KP17cg4jnHpJL6M6l76M93HvbVg+psCUA4l9JbuoN4AoLaQCl66zcRvh3TWuiTDHnkUYGcBjhHhGuK/U61CQQzDWDIRWbaTsb2as31W0Zzy8csOpm0WSVaakyUFsRosLet+RW/bHI7nF8OruTRlWuSZiZk73Bts44ND6c66IH1FCVmNtyJ9M7JXfPabBnAihZm62DiLSdpRU7y4BGuLfYa9LqmMcMUBtgqw84hMZkuihNQta0fimIqGB3O1jNmmolqT2ZFCeqR3RWj9NAiJ19tEC+dQlTLent24pTJKSbhjkIn0pRZB2uB9g22czg2dBRamu+h9EVrsm1Xd89HIU7WBE2cy6SnWAzSX2BNR5e+YNZgNE9ZWOoSDHmkwwkpH2IzIeiusHz1JXN6BW67hJSMq+YgmQ1rmgJoT4aQBVhToopFVLWG2mhg757CbdT3+L5NJhjQOYZKlNllqoRKfu8I57oyr2kxsjPe06dOm85uzfd8aACd3VpIxPbJfJHp6FHs8diCM/MtmDLLVEZ31LpFQXNEAJ5dnl6DbppfUMalS6fQot5eoD5dp0KZZyqhMVXGv34k9P41ZL6FaNfBt8iDSjHeqnYlIneTSNnnicjxq8TfRDNF4An4jgEXAvLnqbp1O1Sp89YHryw51hWViugVj3B42WfEgOb+EKNtK8B1Vg+5in363QzLqYSZ9fNXHNmPp6SfPHdxUUZfemXxIzRxQ8cGtutglByXMdMnDcN0idpTQL0k1gFkiu11sssRiLarxd+F2zhk21kYp0x63WHQ20R4hELbQT345FEr1nnTk/9oAHJ+T9PucHzgbWxkBMYN9NcUtds76YodhrwNBDzsf4luB3vphSTQk5GsYUEpH+CrAtxJcX+FVfNxaBbvq6wEZpSc4BcSMNJb5YYM0shhEFT4SzHPY8C9S3UItCtv3rXwo0CP/V186MVHJa2qAEKpL/OF4kdwG+yMg3thQ3EDC2uI6Yb+DigcFULZwhpnuZpX2N+EQXTPR1Jfnm7glD6fk6K4DWSQhDedi+9Ik1wBGkcMg8LkznOdBQ+zeBYem3Ya895Ig+lsDpJKlE9Ef5+RXXXsyCUsm00HnObkrnEXR+2hwqWeWnPmmOuxOIjqLq0SDLm42pGwJZxjrZ8lKKdnC2Cgc18CxTd2hIBPrsk+roL8koM6IY5MotAgDl3Npnb+M5zVdtZHZE/CKvTPjTqWrtu9OJPTauEGFeq/65f8TvzJNsjuvdEc2Bpsb7cXmSziLbxHG6QLoF75ZNMiz4OXTitFaQHd5hTzoUiKg6YY0vIian1LxDQ2ejJc5drF7a7KbVWuj0H6akLYZjDwIh3TKs7yvv7Og/rWjUEj0KP8n0lfYvrGbmNjxDV6jgG5C7F8bgKZlvEqvfuocjZfJ89pmIBZu/8JdvZYpnqLXeBzVj5fSFsyzdqDcVouJ+yFZrBiurWKGfermiOlSSLMcU/UVrm9gO7JDq5C8Yi5YuANR25wgsBkOHYLeOs1ywkrtRt67ul2TtJohHA9ey3jYBct3CSUy3n84AW8ipNdyjSjVrV9vz2io33JH9F7y/M2bSuGGrWWF9xqPAWxaB7z4BAuvXDwkU5FXpY33u+uJbhSSDgdbOaSdDm7UpWmPmC4H1Espvm/gukXdRDKRYqimsHvhyKbbg1F7kbKf6IGas95+/se5ad39q7VAe13J/jY6jgvnd1nIItc5cdDXUlxS6k9+/7XOL+qPTNbf5XlevhREffiL1mUWynstCxhFaDR7LRcy3icobbu3NRNGizIv0tdkqqsc7MEAP+7SMgbU/YCyn+mGVMczii4tPcdmEkUu7bWQoLtApWZQazao1mQb0V7+8PQUhpQKJo5D3/wreN6LBGDyrgLWJ+sXlPV3lmVfWH8nGOkFjDlvvwzAsQRulCRtmDWldfWDTQCUGyAACpjiB25rpoSLqwyGQ0LpvCLHSw3Kw4By2KOS9ylZAb6T4tgCoiwb82QdLd1OjzRp02iWqDTKlKpl/EqVU8Yu3n20WVQ3J1uF9aKKjSnm5aHyZgsmn0yF/19z2jt/b+MCRgFNVoAej+O78jx/0UYQr7TBUsR9wgdqCbvKfZNivASxmkFUGd/VyogWVxgMR8QyP5LJ0kdp482p9ENqwz6VbIRnxViW9EhLLBmSMqBUyWlMlSnXBDgPr1zClNV37jx3LFY5O4SFYVH6lPO7mO8rFqhcfn0XA3s1AJVSX77Oti9fATpR5TiOvgqywXdsu54k+LywPlrU+vIVxBPesFCmnL3NjKc7OZ0zq3rJTiJjqzrGKIx9Fueo4QhnOMDptXFGHXxzQKNh0JqrUGuUqVQ83LKLV/axfE+z1Jkzy7HDJnGWs7CzwsePWNqRXHAhm0jfOK271OdeBcDTtu1svoR2ApisQU5yPjEB8Yo7VCdOfzKKMK7UXbrDuQBQVClnqpKzQyVUoph01NOd9bJIp/DyhRQKHZ8FIfmgj9ddpZm1mW5Cs+VTq3uUywV4bqkYfdVFJ9sld6Y49NVMrwPY+fJtvOdLGcNAvPfEBl7sQIqMvbjh1wjgaWXz6ve85iprkCcgjp3KP4g6Xw3AwrsWa2cnC7s38+Q6Aslz9m8zGT7RpzJapVpSBEGo81ld45DxVvlDUAwi7EGPeiQ9NEOaDYtq3aFS8nBLDk7JxnUdlBSaXCnvSYGlwsJ6CXN7Hbvq8hdfDTm+KuNmYwA3rkPWJ1nI5mYd+pdKoKitZdnXtoh7AoDYxBNx9OuZrILfxDtfBJRewi3jAperiY589FbcjJt2WiycCMkfP8jstprOZaXzVC5GBFliYBnQscOQUtCjafZ1t2qtalKpOvi+i+NbOK6D6UjnlbRzSF+MQ+LPEVanCBPpnc75wumYOx+Wmb0LrP95syTne5W1dxMAxdsq8t/bu9VV8BvB2fjLCDYLtvX9FSmUqxd1uCRVKl7PqXjw9Hmb4+cU3UOPMZ0uUZ1qagBFgoX0lMzBTjP8OKCa9Wk60u6bUa5alMs2ju/guMXGS90DYypy02NU2aV7FCfmWnYOrqYJ//OArLy7XEXP/3aHzdI63TVidIH325b91H8ZwaWqeOHXYaT612GQq/kc5qX0L6WIMY6b1hTE/u2egZmaw9Fz0OuE5A8cYH7axitXdFVFqCcnN3CzlHIW0jBGNL2QaiWnUrbwRXUlnHEsTOkMF5bHrtOv7SWSNcgSJo3nD+V8ZCjzw4divnZS6U0il26q1AKot+6pb+rXYfxfOB1rs3mHTi4AAAAASUVORK5CYII=",Eu=Object.defineProperty,uu=Object.getOwnPropertySymbols,mc=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable,Su=(oe,z,te)=>z in oe?Eu(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,gc=(oe,z)=>{for(var te in z||(z={}))mc.call(z,te)&&Su(oe,te,z[te]);if(uu)for(var te of uu(z))Yl.call(z,te)&&Su(oe,te,z[te]);return oe};const vc=oe=>React.createElement("svg",gc({className:"dui_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},oe),React.createElement("path",{d:"M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0zm237.248 450.56-256 256a64 64 0 0 1-90.496 0l-128-128a64 64 0 0 1 90.496-90.496L448 570.88l210.752-210.752a64 64 0 0 1 90.496 90.496z",fill:"#3061D0"}));var _o="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMGE1MTIgNTEyIDAgMSAwIDUxMiA1MTJBNTEyIDUxMiAwIDAgMCA1MTIgMHptMjM3LjI0OCA0NTAuNTYtMjU2IDI1NmE2NCA2NCAwIDAgMS05MC40OTYgMGwtMTI4LTEyOGE2NCA2NCAwIDAgMSA5MC40OTYtOTAuNDk2TDQ0OCA1NzAuODhsMjEwLjc1Mi0yMTAuNzUyYTY0IDY0IDAgMCAxIDkwLjQ5NiA5MC40OTZ6IiBmaWxsPSIjMzA2MUQwIi8+PC9zdmc+",bc=Object.defineProperty,Uu=Object.getOwnPropertySymbols,Xl=Object.prototype.hasOwnProperty,zu=Object.prototype.propertyIsEnumerable,xu=(oe,z,te)=>z in oe?bc(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,yc=(oe,z)=>{for(var te in z||(z={}))Xl.call(z,te)&&xu(oe,te,z[te]);if(Uu)for(var te of Uu(z))zu.call(z,te)&&xu(oe,te,z[te]);return oe};const Hu=oe=>React.createElement("svg",yc({className:"cuo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},oe),React.createElement("path",{d:"M512 0a512 512 0 1 1 0 1024A512 512 0 0 1 512 0zm167.205 308.224a51.2 51.2 0 0 0-49.738 13.97L512 439.59 394.606 322.194a51.2 51.2 0 0 0-72.412 72.412L439.59 512 322.194 629.394a51.2 51.2 0 0 0 72.412 72.412L512 584.41l117.394 117.395a51.054 51.054 0 0 0 83.53-16.604 51.2 51.2 0 0 0-11.118-55.808L584.41 512l117.395-117.394a51.2 51.2 0 0 0-22.675-86.309l.074-.073z",fill:"#E53333"}));var Il="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMGE1MTIgNTEyIDAgMSAxIDAgMTAyNEE1MTIgNTEyIDAgMCAxIDUxMiAwem0xNjcuMjA1IDMwOC4yMjRhNTEuMiA1MS4yIDAgMCAwLTQ5LjczOCAxMy45N0w1MTIgNDM5LjU5IDM5NC42MDYgMzIyLjE5NGE1MS4yIDUxLjIgMCAwIDAtNzIuNDEyIDcyLjQxMkw0MzkuNTkgNTEyIDMyMi4xOTQgNjI5LjM5NGE1MS4yIDUxLjIgMCAwIDAgNzIuNDEyIDcyLjQxMkw1MTIgNTg0LjQxbDExNy4zOTQgMTE3LjM5NWE1MS4wNTQgNTEuMDU0IDAgMCAwIDgzLjUzLTE2LjYwNCA1MS4yIDUxLjIgMCAwIDAtMTEuMTE4LTU1LjgwOEw1ODQuNDEgNTEybDExNy4zOTUtMTE3LjM5NGE1MS4yIDUxLjIgMCAwIDAtMjIuNjc1LTg2LjMwOWwuMDc0LS4wNzN6IiBmaWxsPSIjRTUzMzMzIi8+PC9zdmc+",Ql=y(49317),ju=({contentRef:oe,status:z})=>((0,b.useEffect)(()=>{!z&&(oe!=null&&oe.current)&&oe.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(Se=>{Se.tagName.toLowerCase()==="code"?Se.parentElement&&(Se.parentElement.contentEditable="false"):Se.tagName.toLowerCase()==="mathx"&&(Se.contentEditable="false")})},[z]),(ue=!1)=>{const Se=dt=>{const Gt={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","©":"\xA9","®":"\xAE","€":"\u20AC"};return dt.replace(/&[^;]+;/g,ln=>Gt[ln]||ln)};if(!oe.current)return"";const Le=oe.current.cloneNode(!0);Le.querySelectorAll("code[data-text], mathx[data-text]").forEach(dt=>{let Gt=dt.getAttribute("data-text");dt.tagName.toLowerCase()==="code"?Gt=Gt.replace(/```.*\n|\n```/g,""):dt.tagName.toLowerCase()==="mathx"&&(Gt=`$$${Gt}$$`);const ln=document.createTextNode(Gt);dt.parentNode.replaceChild(ln,dt)}),ue&&Le.querySelectorAll('[data-select="disabled"]').forEach(Gt=>{var ln;const Tn=Gt.textContent||"",_n=document.createTextNode(Tn+` -`);(ln=Gt.parentNode)==null||ln.replaceChild(_n,Gt)});let st=Le.innerHTML;return ue||(st=st.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),st=st.replace(/

    /g,""),st=st.replace(/<\/p>/g,` -`),st=st.replace(/
    /g,` -`),st=st.replace(/\r\n/g,` -`),st=st.replace(/<[^>]*>/g,""),st=Se(st),st}),Gu=y(93459),Cu=y(77019),ql=y(89787),Jl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy2D4/4zBOyGfN0lZe9v0Tt/fj0vZenBAf0MozFgNjAOe2XR1jy8qC7s/OPdT/12Gc/iNxyH4HYlVrctrb3b5bN7Wzj3X1agDXYOgQILgccFwgk+OoKOOY1uT89nPPmldiFnM/EtTdg4vcr0C8uC59xbIt5k3bu/Sgz2Twm4BuAJom78B1AdsG8haQywMOc5BLDPzsD5eXX7cH9/iR2HW/AMFnQXvwEwM/e7vN913b9iMQAPw+wPQBuscNnIBwPCDyQDZHnAEsXtPHzzo6fPG1p/vu/khQeDcvcr8A8cC8xKzV240fuW4AoSAQCAI+H+AzAdMEwADLliBYFmATR2SBZAbY0mWhsyuZvfRM48Tzj4i9vpv3+aHf7QMH4qXVqbPnr8ETqWxIi0SAUEgCURoFDD+QswDuANkswJkEIZ8HkmnA0QBfALj/2U6Mr4kt+u3nOo9vamryS+jEpiUBjQFaJp3WNRYSr1kQGstBtwCdMfm5ZeV1BqYxmMxmIGGoaTZ0x4TuOLZBmoox6K5jGw7t50BzvGMZfReD5gKa60JP5x3tyTULH511wgn2cBH/QIFoH+CVv7h/wUrEjqqNhhkIiEBIgtGXAFrapDgiXVFdDlSWcqQ5Q9YBfCEAHMhlgH8s6kWV5jhXnlPW43Ie45wz7nINjJGOJyIxXWdM12gD0zTxljAAhCXmoSagK3oM/kt7yP0KL+i4IhNBfEbX4/DMss0DX7v02Ip7hwsCHfeBAvG/v3no5mbrqG/U149CaQkQCsttcxuwcgOQtVwEtByivkxLLKotr62KRI2Yfvy4CYzlc0A6DWRSwAuL+3DsKBdHjA/A5RwM3CMyg64BpqEh4NNBBoDGJAB0p8U3W3hdQIXoyiUbyleDIOwEigcSB1xo7oI1O87/+km1j+wNCB8oEB0JXn3NL5/fFB11aqQkAsRiQDgMdPYB85dx9KayqI1afQ3luasSVd0PPHbe5Dxd4NVPpq4/8qjQDxNJIJ2SYDwxrxfjS3I4fXoQ3OWC+IbGSJjAb+oIh02EfBp04gRNyiqJhXwhQZDg7QwPAUFvSTAKrKPA8tChJzr32vbUnWdOLblsb0H4QIG459klV8xZW3FbZfVolBIIpBN8wHPzbXT0ZjC63O4fU5s98eaL6pcV39hrcX52VxZPJRIeR6SBu17oxox6F6dP9Qsb12dq8Bka/KaGWNRELGTA1CV3EE0JCHGzRVwhQSgSU7uiZhEABQ7x+CWVd7sefHHtxJ9/8aD4RwqIm59Y9cKG+ISTS6Imop5u6O538de5aYCncPQBzpf/cFnDPUNv6uUd/BddKVxFnJBKA/0DHL/5awcuOMyPgxs1GBoQMCUIpVETZTEDQZO4wdPaBIbS5koeESDFlN2VgC5a/YVr8oAhE3t5c/K7p06K/WJfgPCBccTSpUvNOW0127rSI2ojISAYAgwT2NTm4KUlAzig2tk0fWblxFknsJ2sjm7Oo4u7sG5HCnXZjARi7WYL987pxE/OjKEiAvh1hoCPIRY2UF3mQzQoRZTucYLiAsUB76R5kZLweES+Q5qHnr2/nEtEOZCx3PjNT64cc/OXpvd9pIBYN8ArZy8caN+Ripkhct6C0oN+Y52Fro40RlU69/z+soovD72peTv4La0pXJnJAJmsFE2PvjKA7X0ZzDojAg0cAZ+GSIChttKHiiiJKCa4ROiFgm4YVAW7Y5149FZ0H7wswkIDtvRk7zqkPnjpvgLhA+OIt7t47fw1uba2Xr8WDAJcBwJRoKXbwoNPxfHpQ4xb77yi4hvFN7a4j1+1NYmb0lkw4VWngc0tDu59pRefmmriYxN8IiYV8muoLTdQX2kgSN65Rs6CDJMI8VNE+aEEVv/vihCKgwZtXaVQOF5cHj/6s4dXLPzIAdHezkOvtjrbV7XoMd0PVNYCZWWATwceeKKfL/5r7zU988YIedua5RM2pXFDRwqfy+alM0diKZkCHnoxia5kFtefEYHOuPA3KmIGmuoNRAMMfgMwikSSIiJJFfVQL4WkGQKS+p+8O2U4FYD0Dkykrebzf7NgwpxZw3fedgXg7nDqPgH+nFvzL1VWGR+fOI4hGpbhDIMIp4FW8sagiU2ui+qUjSnZPEwKcVh5GewjL/vlRRbmr0/h4mNMHFinC/MxEmQYN8JERZTBr3vcoHG47gbPttHhugyuS0JMOM/gfOdnuAxcLwc5fcIHITPYCzoWrFsPBBJ3zT25302qCVy+T4hSdJK9AqIvy8f2MxxiuQgxhh0+YN0IPzYzxpyhFzrm4k0lZ5816r4RdfqnAuYgEEKEKI+XnCQKfXtxJhF1zQGvr3Dx8qoMjhvLceZ0EzroeIYxDSbqy4tBIN3AYfNnAFjeJdDJibIGGAuCsRJoPAoGExw2Ul1vYlv6NJh+8j101JQaAoxiblGii0Te/A3p0088IDz7QwEEf/RRvfXsz/wmwbSLUzlsdDR0w+VR7rDRQR8SPoZ/6DYemRDGa4wxRRHcOJ9HmQ9v+XQ0CY7QB6OtwqYnEDwgKNhHumHeGxyvrc/j8EYH5x9piHVtGgwja3WMrNIQ8LiKiCRMVnDk3GcBLvzBwTAUI/j8YFoIDGEBBD1SnWuwceBk+P0+VJX6UBU1Bh3AIcs0a/HMzU+3jZh1XmPvhwKI5gy/MG3g9vUdOPOcRjZHXdTXZ3P/0ZMwOWbg1FgU54YMRE0Hf6xkuLsuyrppvxte4TOCMbxgMFSSCBBOV1H+gRJBFNPp6gFeWQqs2m7jlIkOzpimg3MuOKGxhkBgIM4S52DymfQD2ZfZ/HNwkfVMT8/sFBcppD/5xdLLBkOqqwsbE+ciHPShqTaEEIVFPN9jKLH7kvaimph55L4GYdhW03qLPx3PInFElF3w7hfF2V/WYkZVhXtp1KedFtTwSFDHr8aHWOv3XuDjykr4U0xnU4iIwnrhMuQd7wPWbAZWtJDV4+C8Q1yMqZb7xMIamuo01JYxwQkmcZQHQsFvEOey4LgOcraFnGXD5TalXGVYFzYYyF2Rr+2chTQ/EEG/joqoIQwIAdEQbqB/W+LWnaPLffskpDGUbsPSEWvyfH48hcVHlbFv787q+O3iZO24+vAV0RC/MKSxR4Iafv7M68g4mvutgSz7UiKF0ak0YxR3aovzZEfCWTyyzP3HZScYP3MdMLKOyksZasoZSoKQ1pEurS7iKAFCcQjDs0ttAtfhAmSxqfiRd9EULhQxccFNTACr4lJDVym9v2a79dUp9e9PQmpYQKxM8cezNozDStjZuwOE2uf2RbxifIP7nViInR/g7PbSctz+3cdgBfqzI60Ur24Z0JN297aWRbeNH1i2zfqYpRlz4QIBnwyNk/ghYhEIwl9QYQyPq4hYrtsO190KhxvgrgEOA+CkD7zXpLTpPbGZYJoOxnRoYtPksxCVnvDyKERgL9yQ/djxBwTn7ck97+6+wwJiQRe/hmv4ZnsnRp03mSmtuLvfiT+sSI8YW+2/PurXjvD/K8B6UDl7fujBbSl+pm7gGbKcVHRBZnkGARABPY8T1ErmfB1crCzKFakzkyXEwCnMzTQBBocPTGwBgNPmE/qDChgGmYc4SobFHTf/iM9w2sG1RDox0H3XHbk7Z+0jf2JYQLzSyqfpPr68t9855Zzx5j92G4EhOz6+Nn9odYlxa2mYtbFE5ttTG0ItapfODL/AMPAA+ROFR5E9X5DjQ8QSAQG+cjADVLCclOAn64lWO3EEKQRTbIz5wciqYj6A02eeXU0CzdMtpFNAugYuUju2J3/0w/aa3//+kvRw77/4uGEBQRmxudv50nTO3XbaaOOcvbmQzz7K9YsPdS6qLtevNl33lgPLtN8xxtwdGX6RZuKPlLcm+is5Xyy7C56w54eI63C2wnVWC4VN+U1yaRhzC76KJDDxEQEy9JmsqeL3pPMn9i+O1gJIxru7v/iFUP2cOfvGwx4WEHS/szfkLwpFjLvWrO2bftkJ5av2Bgw69umVvKaxmt+V11gsmcP3x5TggoCOywvhCRWW3kX4WnGH8oTzlPPOk75wweAIK0ljtFnQkBevdVgCJPEes73XtC8BJ5NNAn3iCAG0VOwy18oQ7473v97+iZ/GIrwrHNKbx/mxpL6eDZs7hg3Eva/yQF2Tuyafs944a2Lg3L0F4oVWPm2bhb8ls2gQRo8rPWyihea5AuQnqI2UNVlN9BygIKIhNwp1iHCHZ1UJnVJk4gpzuSgyOzRKqxJJIaGwpX4gU/ftdgezV9ooDdqIBRxonCPDKkHZRtMg0PmSP7/NZj523jujCrtDm2EDQSe/+3X7K+NHsbs2bBg44SvHlb22O19I+yzdxEs6XPfSvKNV+nS3By7vaHf1y3IujqDPqbBM+BUOJecBmwrNvGfyvCkMQhtJa/pMeOMih+yJMRIoDIj5gVObgIgJhA2g3A8ECBjvc0X04sydUvoFwDy1v7iZ48kVDGETCNL5fEBdBUTcTNOFmZx5fna89rYrKwZ2lw57rSPUCS6+a6l5yscOWeLXs3zJm81HzPLyzP/uQjjnxt1L8ZoFzCQzlLaBHLA5ASSpmo/8LCkRRBi7kElTiloD/GFJdPLCxeYdIgJcUnKIz10GHFINHFQpuaTEBGqDgEFcpkzfIqur2Ico6CKPe+avB15cC4QICAMoDUogqDjOA6Lrpj+zhjmzdk5u7S4oe8UR9CW3vmIdN22i8XJbS/y6848ov+m9vvjeJfy0FPC3ABGUjBMOtCSBNkr+OLKwjMAgQ4U4g8praCNjxfWMlpISQI9JEOgzAYRXgCEsT9q82tmjRgBNMSm+oibQEAb8nogT5nARdyjOKJjCRSC99Dbw+pZBIKoisuSHIsgERN7my04br814r/t/t8/3Ggg68Z+X2X8cWe1+ft2ankO/+on6Nf/uYu5cwh8F8Fklz0n0bBgAenJAlqKuHuEFAERor+CMW95rW+YyrPBgkFCIMgKD7sYzdOg1rfpPjpGiiVYxPY+gEh5yBkUlhhfrotceJRQYJPqSWVnwlreBjW0c6zqBLGcI+TlGlTNRBEEg0LH9affhs6foX9ivQMx6tL/88EOiK3g+2b5kVcux7yaiXlrDK97uw9aAgTDJWVK0vVlgYxIYyEudQJviAsUBAoQ8QM8UjypvBEgQkxKnTVlWihOEe6ABlWHg8Dqp1IkjIj4JBHGGzqWnrhxEgaHnofelpMgMB6WII0Co9mp7D5CygSyV+OnAqCqglHSERtlG94dfPFz/8X4Fgr78D3Ozp02e4Ht2e2vfzz9zWPn3d3VBty7gX7V1/D7kWTkikKbEkscNJJZoE2B4xKeINnEG5SZIDMVGAWnP4yZ5r8xWYVkWuQFTq4GRJZLgxIEhA6gPS6VNhf1kgSmuUCD0JIDymOQucS1cmsJbWoH2Pmkg0AIioPIuBSKBEVXAhhbn3P852nhivwNBF/Dom/nbRtWySzes6zr9guMa3uFx3zifz2MMx5CYoFVK4YstA0CcVrpXgi/kPukDxQWkF/JAKkvsD1RWAm5Mii2SR6RmFBBehFvIHVqxx40U2T9BNOII+t7aEFBJxQt0bCGHIVf1jgSEuFG9GcI+4EA6B2xtAdoGJEA+z1QmkURWmxkAtndj6jdOZsP2p/aJjlCrYNaz7aGjJtYs8JlW3dZN3TMu/Hhjm/rs4UV8wuoMVlMBno9WrgMMpIHOFJAhbiDzUylnBYSXLk1kgP4MkM4ABx4IpD3zlkQSEUMQTKYXRGGCZgBlnlgS6U/yLTw9URcGKkMU7vP0hOdj0HdQETQlrIof9B1UQdJMQCSkDgpREJIWk6drHM4Rz7ILLj6OPbhfOYJzru0ADtCBzJxFVkVFvfFSOpVavb6548QrTxufo4v76UvO9Sld+6GI9NhAJgnE+4F4AkikgRwR3xMFpCeE70BAkC9B2TpLEnjsBCmz6XMiPBFaAUFJOGYA9DypBmiiakKRh5bmK3FEdQioDlNRmuQIFfqOp4BodDAPISKwnv6hcp5NrUBLSmYUyYdQQJAFFmRAHrxjWzc74MrT2AfvRyj030zzwxM6FrkOuKEhlemHbiURNJzU3NpR4YW662x+5W392t4MxpA4sjJA3w6grQvoisvCMSoQIDCE+UogKB9BOXMOMLIBiNuA6QeCAaChVPZTUC6WRBs92yTbNY5DazmCGkfQZML2D/mYAKImBNREgLBf5h9oy1scjsbgJ92h8hoeh5G2piqSt1uA9qw0V0npC6uPCh80oJREnw/Y2u9+47+P1W8dDlfsE9E0i3PtsD7MAcex6kbSPYBuO/BFbAQr/EImi0VGBLaAVAro7AaWrQWenQ/QiqRVT58Ja4m0Mm208oULDdSPBdo7qXIAQBCorgbqSiCTRaZX40qrPACMKHVQGeBwXA7H4WCcMhMcMR9QHmCiKE2A49OQznOEIrrIhQtHz0s4KVM2mwaWtQEdWUnwiF9yGPlCYQ2oIY/dFCJzwckHs2P2GxD0xU9u41OCJVjiWgioiuvurRzlIQc8xOGPmjKuWZRRE5aKRsTl+Pk9wNK1pP048bk0V0TEmZ656KHQgwyJJAl1AoIBpUwUM5cHgGhAhh5IFFVVACNjwAHVkkAigVRU/SeLa+RG4omAEmWaghsGs3aUtaBjSVkvamfozwH+EBANyu8if6TMABro/wCQ50gsbUPd1Sez1J6CsU84Qn3p0518lm7gR7SK5WriaN/oYmy1i2xIh+nXCoE6kU0jGpOCpmeL476nOP7yLIdlUaDJayklYBwXFfU6dmx3JFsR9UIMCEvBTwDRKo1SpZ8OTB8NlPmAMeVAjEIaHhDKVCU5LypIPDNUZf2K3xOEIU1NosmmFC7DW9uk30PtBOGAPHddEBgbBQJUmM7Al2/G6CtOZ1v3KxD3NvNARRhLOMeUoO5iSiyFZNbCWxsjqC7XwGIMOnWPGpp03ggEDwhl+Kze4OLuPztYucaBlfJ2cDjKR+nobbE9IABQBxHJB7IlSXP6NTCToSwEHFwn40ojSoCamBRbFCGlTaRZVbq16H8CpwAIca0HlBBTtL/HyQ/MJVCASBgoiwBjKoCJVLVI+SQNeHMjxl5+Btu8X4GgL39sCz/KF8Jc1+HGlOAalOm9yFlBLG+fisYKGxWhjUi4IxELZLC6vxyGzy+tHpVnYJ68TXN0dHK0tLhobXPR1sWxZb2F7V0uetMOLMUZZEMSGB6Vq+s1BDlDRQCoi0gdQlYOiSiS7yr/TeDQRoeSyUpYFsBSFSJkCheDQgXIncAdLwCVMaCmDJjUAEwslx2xDuO5ectY3bVfZHvcM7FPRZNaBU+28VsYcCWJHKKXj5IvFmBYBuqCbchqOhpL4li3ZQBWzZE7dYsUUqAei4jQg0cMMkvJxE2lOXrjHB1dDlo7XLRs52jv4tjh6ujsYRjIM5RS/VOUoSbKEBaKWbYQExBBsrrU6yKQCBhRhUjgeBtZSYI7PCexux/40cNATSnQVANMbwImlAO6BGLlMRO1g/aUG5Q0GM5x//aYP/+Tx4INeJO7GK0S/nRDIZsj6AK6nyNtatIXKApRqIS9zIS9s8FPBPUGRbfQLbRfASjSNQ4VLHP09nPEezn64gz9cY6BASbMUMdmwgQN+pmIJUWCVFE+yC2CcxT3eFJPMByBYQAd/cD3HwLqyoAJI4CjJwCjy6Sl1p1wrz99hj5rOAR9XziCLuThdfxUzYe/Uasaeb/E9iS/zRwXDh1MjpRORcHv9GTFCimycobsUpBihYSQp2cKHnZxjsGT/eTUUW6DzONMiiNFjiTlQBJMmNLkPZP/QhxDPRwEBllGwl+gjcSXDmwfAH7wMNBYDkwdDRw/CWgoAZiP9y9eyw745qcYGdh7/HjfgKAr+csGfj84/otWOK2okhBQFQXScVFtJDI0fSJK5610pSu8shllcqrPiwdwiASmZ1ipjJ1gsCJdU+ycqbxDIXXqhTZE+INWOwDqXN3SAixZIcUYcYwQZcqBM4AuEk2PAmMqgcMmAidNlmKqtc+95Lyj9N/vMQLeAe8rEPcs41WBIFZyjhq6YRIB1TF5Y4kdXJiblsbRY5HFPkhElVNW9r/qUZDVeoOgCcvWC0OoFKpS/AU8vAybLFD2qgKLEkOqn0I809rQgJVrORYulu0DNBmBmmsIEFLqvQPAjx8HJtYAx04FPjaZIgLujV88Vv/ecEF433RE8QXdv5yfr5l4kMQCiSeK31dRQoVRSQpH2OCwdaCXzKCi1VwoJFN1wyqD6ukF4e95IklxBH0kuKYIMHGTisNU2FsVFBT/r0CicInFcc/DsgyTQCAwRMsZ6YE+jhufBCbWMRwxCbnqSvfbP/+8fsfegPCBAEFfcv8K/ozj4ExReWFKMCpiXkx/wBViyjWAHblBMaVqUlX/hFLSitiqaGAnsaRSpkXWsLpJAkO1dImqDvqf/APvfVHWX5Q6ffp5ji1bmGi8JK+ZPHt67k1y/HkuMGoEQ30t/vn0N9jMvQXhAwPivqV8pMWwwnVQKmSyIT3TchF847CyLnSHwedn6MkNSstCdYUnXoTzR2EnL2SuKjcIDK/eQDnDhaI0xRF0VlUrKzxqjxtUz12x6KJ916znePIZJrxoBQJxR3+W496lDHXlwKQ69/7ZV+sXfmSAoAu9YyH/Wo7jdhJRqkGFnqkaojzIEWQcInMXZOhKy6baQgq0uIlFiSMvDFUMguAO732l9z1JJiemFGXk5LSCoponFQPzxBh1sP7qVi4CgQU9EaSULseDK4HGaoaJlfb3/n6teeNHCohHH+X6hnK8mrNwrCAChReoAsLzaMMmxzgKSQSJMzjW9exsRyj1UawDlPIWnUZFYBW4o4hCO+kJDxDVKCPKeooKnFVx8133cLS2ekAQZwSApM3x+FqgoYFhbGnuU6/9IEB9Ynv9eF+tJk+uU94s1N8P319WoOntDsyzbYQpVUrxGTE0iwJzXnPj9CqO2gAjLxVLu2RjIRGpuPK7YGENEUnFNbJDwVAeujJfCxzhVXKogKAAxLOw5i7keOYpIBJlUjyFgIzr4rlNDNUjGEZGchOX/iSwbq9R2LkLeV+cTp6jOR4vzfXhHMMMnsF142DOeDU1rTFdy7T3I7BiGwvMX8vQ3QdUl8j6oChNq/EGaE2v5qgkjvEDr3fItaJqkAr5aU/2kKgrmLSqIaUIIOG5F/VPKPGkxNJOEdkhPRfdvRw3XM8RCmgIRyQQFnPx0laOqlH6wMhy1L0xa/j1rsUU36cc0dXVFYnn/FdZNvu632eUB/0aHK6JagfX5TAM2XLl2ByJPMOibTr+8KomqjNG1wANdUCUoqX/GpZyaA1QY3Jhqby6nQmvt3iSgFeaKu+l0BEkE08FT9x7ocBTTl0xNwiOU1zhOXkFR/JfB876sYPEDoZQWBNAuIaD+a0cFeO0VTtu06fuq+W7z4Bo7UoenMjyRxjjE2jQVceAi7StQzd0aHSnjInYEHddlAUZGmNyBNj2FMONLxhYtY1hZAXQNBIoLZdia0YVMDrAEQ0Bf29joshAKV3BJYobPDkkGlqKuGLoilMmrEpO7SSeCi1cRfkLBvzlKQfz/s4RjdD4IQoN21jaCZSO05/o+6127ltb+Zg3t7nnjK/WDhs1AhUhP5LZHFZzhqfrQmzx7gK1T4Bo60melMqzJ3I5K7axJ4+kayIWCYq5GLpOQTYKIBTyLGLGEjV/lBoOGqI6Ovo5fvp3H9a0SLOwrh4orZT56GkVwNQoF77H7FaGnmyRmFIBwyKFIKaMFQNUJH9Vd5FqBS6IJc9iKmQPi6YXrG928asbbFSU6AIMPWRjZR8w+iDc+sNTtMhAVrsABnzTG+UMKhlO5zBNxk0DL+ZtXNpUyprfC5C9BqItnpqey+tz+hLp2LrOPMxIFH4fTQYggnkzXDU5SYzkM+WQw34NE8sZ3upyYeUyGFtiYnOc4X+fpOwKUFECRMqBEEU1/cCEGHB0OVAR5nihHdiSkNNnZBZtsGC5uBxccYeSU15AVyr9IsKr7J1S4iparOJUGYvjx9/JgTs6SqMG/DEbWzLAydNN65MzYU4dz7EjwUTOXRRQe558wM/RWAmMrkdnJmt94sBaP/WTvetjr4Do6OBh28gv6x1IT9gcd+H6iAs0MU6BNtEXLcTS4GwLpmlijkZ1SI7zaY67iOl5RBnH06v9eOR1HQ1UZR2Tc/xM6j8IAo0h4JNVVC7JsbQfWLrDyzGrinHFFcKRkFsxUMVdp8prL+Syh/gQg/69PNWDd+Sw+k2G0hIDJWUOcpaLH1xhoraBYXsvLbiiPLcK1VNQ0qEUKsch47GJGezgydUs+W5I7BUQ3QnrB4mUdUNLPI+44xeTxMSKEJTnQifQJDEiuCiHVMpTsD6lTKXct20XYyIWWntdfOuxsCh7qawBfF4YhNratCBQ5gfOqQVKTY7mLPBCOxss3VexD8fTEyrXoTjGE1GqMUWFO8Q6KepOFbkQeRPi3HQPyxdZ+NvtNsxyE9VNwFfOAQ6aoqO5SxYdkAGiZnkUE1RcEpV2GsBBjfZ3Z4wz33XQ1rCBIG5gQbu5vSddFecB0VDizZj0ZLTsbyYAaLrYTpNgvNEvBAbdMYEVZRnYGRu3zI1sXNXKttZVsmn+SlTqEVmQJpa3Vzbz6RqgmvIZGvDAZmlRkeIXXFDEEQVRpQoBvesR3FE04UyJqqFiifAgQsYHOO77Wgo87MM1t5g4aQyweLMrFhOV5Mh+78HRdUocyogwlfRQftttbWzcPuE/CO+eAAAMI0lEQVSoxsbMrrhi2ECkc/Y5/Wnnyda4g14Kn+5k4BetfnHDpLRlrGewLK8wEEyQqSZItY1pvNocWXbZcdqMU2/d4K8pHznBX+I7FD7MdIDDchYOcEIIuhpwcjnQ5OfC9/jjBlnqIs5NC0KB4nGJmiSu5L5y7pS+KAAwZOCWMjCIQ9fNteGHjos+D6zbxjGQ5WI0UZCAoHSqN02zmPOpFFOEXTyT+sgJ9p11VeYD1UH8kxo294kfkco6d7TtyFzWnfchQ605kF+qHqqQV968FE3SSpGN5IUYkFdWU0U6I5fBgma9N1QWqNtV//bPnuNlHQxTkwyH5/2YeXQ5P2SEHyMbotD+sgnYOMDewRFkRYmuI8/CoteFiThkAnsjsAWHFFX5KQdyRAyoIl2V5QhYDLVVHK+tdWWhWUAOZSkMcvREmqjCUb3ZqirIAaaM5qivZpTOXWhl8xdNaxj0yofNEXmXv7x2a/LE9pwPgaAuirRUiKGYOXbWC1KW7qp3jUojY04Gi7dpqbposvaEydXvqtgG4eba7DX2sRnHeKgx7Na/3qVZ89pAc/aqxHAVVTHorb1CG1hRQ6PQGR5Dq2EoKjHVEAVm1AIVBrCxA+gQM2k4bNcVBW0RPw11pGJkuicp9wo2g8cNorVMgEE5YyBMtbcUUytl3clc6rjjmqKisWfYQORsvmT11sSh2/N+xCI6tS7t0iDw5tkWPqPVo5QY3TCFxekRNBiiThpLWoxeI7q57rzJcu7r7jxmr+Ajehw8Wh3iR4ws4Q/+6Z/a7dvSzlSbs6O4ps2wbRxA4wWE160oVTQnylNVQm8o8UX1smeNB9w0sHQLkMpJzgqYJJI4SihHQaWXXpmmEEkeOWVEmBcAEK0GXjaR8ih5R4rUyXXu4o8fYM4kMTVsIPIun7e+JXnMxn4TNRVmQSlJ8SQFj7hpJpV2wRShMkeNiYukD4T1ZDJEdFeIpn+2BZf/z0zzkN0BoHgfajd2w/il38DlU2v4csNln5vcyDbSPp/9dX95LhyapkE7TPOxmQ7YdA7eCJ1pSpwqMJSpPaOG4+AyYMFmJoqj6ZaIewIGF92qUa/yg7KOgoieuaWGr6jCBuIEBQLpCvpf5FM4RQ8YxoR6zj3nyJonhg1Eznbu7+zN/tecTQ7GjyTThuiqYg3yi7yKxZ1Sl3IPKgqWZCQQiEtiPI+BRA5v7TBu/fLMyE6DFvcElLvm2xdmuXbboSOYFTRxySEj2OPvOH4W184MZ0exqDmdGWwmM9gRLtgUrqGM7oNW8GUHu1i0SZMgeA8x9o6SWj4uNrp2qWOk1iPul/pBdb1KrlBZxKHgGIaGsJlbdPmxwSOHDUQqb19k2/yPL6xIoLY+JkxUNVFbOUREa9vTHWrlFQoAaKa3xw0md1CmWdjYbfF2HjrqS9N8/9wT4g/d987X+KTuNH90aj2f1FCm3c50fO/Q95gK8NlvtQRzE2omQtcOHVWhffLjo3HuG1ulGKUHEUo011PxsSkHO5J/IMSZR0VVRSJEr8ipe1aTly+RgNDMQaqTleZuyA87394ycthA0OT70gBv3tiejGzoN9FQ5TUXCMnkSUvv7FT0RSyplLkinAq6RZ0MuONgzYD/tfOmBY4fMqd4WJjc+HR3tJ+V/bqxVPvKpDr+pt+nffHIUWz17pyMcz76voXY3E6Fk949ELGJI8hnkCB4YyLUPEKPG5T+c8iK9MzWYq5QKoqug+JwZVGGLS3xqcMGgk6UzvFf5B37qoVrk6iqCSPkN5Cgzh4RB1JGqrz1nO0WLkyMdVAtVdkUIj4NzQMsv22AHfXVI8Nv7A6xdnefqx/PfSEcMG4/fDR8IdO57riHfvpbNmvWv/2NIs556X0L3e3dCS0gdEBRPoPil6p/QqOmD49d1CJT4rjgQ3gBSCWehDoRISAIEEwT7srWzPA5gk64tptHG2Pu+lTWrl24PoUDR5eIxo/tKVLCRbLTW1hk4qYtV8SfuGMjaGVQGjLQkXKxLRe8+guTzV/uLoH3ZL/vPxEflbQi905txAlNlez5mJ6/5PBxgyOJdnWup1a4c9a24jj6nQuRn1AWlRr8Lp6lc6LsE5kvl5y/U4mPpzOkDSNFEoEwrg7oSPCND131+MRhcUQ6nR7x3HPB7ZMOT9xUEja+GQubGhF5dVsWlu5HIOIrzE4lQEQU3DOdsnkqt0+jzOSIhHyI5zVsz5k/P3Wsfu2eEHdP96Wc+aupzLfrq30/mjYK2ZCJ73x8gn4/E9R85+PV9dmTVrYYf0/nmBaJaCKVq+JU0sIaPGxQ3EidoBQ2QSJN2UFdQ8BReqCpWtbg5l33qjNG6L/aYyDyvPlCm/f+bktrfkNJ6OCD1v1rlH1Sj9w9c6Tv5CBzG/uSebT3OUjaOpia003dOdyBCRcRctzCJlymo9vS010pfO/kMfpte0rY4e7/3YcTB6btwD0Hj3aPrC/Tni8L2pfPHB3csqvzPbbcunZbD/+/XJ4xnX7shiw8rzpc07gcOSfDZdIyVEpbpWoLYkkaJtKRZbJwjYaq1PCXF8xdcxoNCNgjIDLO29fZrPfH1LfjWGks31DhJILTv3POWP2W+1ckqg9rDP6iPqJ9wQduWo6LvOUKq0lyhQyP20xDn6U57SnnhY64893zJvt3S4EOl/C7Oo6GuQzYk66Y0GjMmjaKUSzvx40Tjdsms3eOxbtvYe6ceE77WTbPDhhIMjGZOejn8Pu4yCJShTgpXWE9CXHlvRYjhrx0CflL9GtGhvxxEdMHHo04D21sjV92zTFV1DS8e5710qXcnHTw0l/b2o4r6Kd8uEMWQT/a+7LOmpaKU8877PQX1Q3fvzJ34JgK44LqMDvJxzBe0xB1OeM5lyeSFjbsSPFXegbsh8+f6n9rXxJ3OOc6/47OMaFg9OZDxupnNpSzN0O6861PHBgszLFV5yTgRjZMOCyd1acnUijx+WHoBnzBgB4wTIQMU/NrhmaWBHGgZmiNadt9S9Ool5AHGDQfdxBg9OsKJuKAszTt2n/61vTQguJrfk+O4JyHM868+yz0foZAoGyHa/ehP5XDpt7I6wu2Vp4x65RTdjkZ+H/ubQ5MqKmM+oKcv7yyM/H8lbLn+sP2+PLdPWePrw/9cmSNMToSwGMVPvf7R48PbNrT65y9IX9kxtUfXtmujRv6Wxjvda5/C8TAQHulHlzxVwvxo2l0J3Wgu3YcfQN5bIyXzn65ufzzN33qU4K1PuqPi+9aGiotG/OtprrQVRUx3ec3cVd90Ljp8NGsY3fvbWk7D21KuNu7+6zDrjgisH53j/u3oikeX9NkhFa9YCNxAFwTsHNw83H09jvYGK/80+wF9ZfeduVpH8oVvicEGLrvVx7qrJnUELquLBr4imFodtB0fz8iat1y5IjQbv2C8JNb3S1tPc5FX59hvrIn17FLjujufmNGOLbq6ZyTaqDRm8zKwc31ojsOrOut++VZ//jqNf8//nBrMeG+80R81PiR4asNn3EhpaSDBn+s1HTuPHXcTxcztmuHsKOjIzw3W9O2qc0+9bqjzT361ch3AJFMLjyZaUsfzrv5Urg+aFYaTq4Xnb0+d3VPw7WfOf6y95xSticr4cO+7zef6K4bPSJ2sT9gXKRrrJEBK00791Rtqf78J5t6VzFWK5rbeceK8Ev2lJ9sSbLPP7OhY+yzZ9bv0cTLnYDIZ2b/t+W8cVeetLxrQLdSsLP96OgN5FbuaLr0vI9/7U8fdsK9X9dHqdvjDms8MeI3LmAaO4mDVWvcHTBMrTXsYznDwMi+LNfbevPn33BM4B2Tnd/rujwgOEv33XONg1X/Z7t+TXM1CUK6H229ZYnlvRPOv+Dky557r5P9p3xOoBw6pX5KLGQexMGbOIOes9nGDZ252Q98Oto1HDowcv3POuH6XzpY+00bpdBcE3o+gXwqhW29Nd1v9Ew660tnXb5XYenhXNh/2jGsu/uJujD7dbNj1/k1qlXNZZBN5tDcO2rr4h0zTrnk3EvW/qcRZX/crxBNnX2XXFWSXP0LNpBCJqFjQ9+UVYt7Dz3ta1/4WmFo+v64uP+k7yzoiJ4tZ/wk3LHs2rc6j5/3ct/Rn77uwit2/CcRYn/f605W05znvznzT4umLf/TrC9l9/eF/ad9//8DKbvze3g2WI4AAAAASUVORK5CYII=",Sc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAABaCAYAAAClpUiKAAAAAXNSR0IArs4c6QAAIABJREFUeF7VfQmYXFWZ9nvuUtXV+96ddCchIYRFggoCRhBwQUVHdBQFxRFxR0VHxFF0nJ/5f8FRx40BR9SRUX9cArIoQRFURJYIgeyBLCzZO52k051earnLmbxnqbpdqe6uLEKmnqeT6q57zz3ne7/9+84pgSPgdd3dMu33oGmkgM4Q6A6yUXdQiKZHUdTrOKI5mw/+8I03NfwEQsgjYLrP2xTE3/JJ33xYZoIYLSKFzihEdxRHXflC1COjuNfznG4XojvlRF1pRG0ZD/X1Na5bn3JQnwLqfIm6lEBt2kEQCzz61OB17z27/VN/y/keaWMfBDhSXHkPautSaMlLdDkRumNEXVEU9LpC9PiO2+25sjsloq4aJ2qt9UVdfdp16lMC9SmJOh/gexI97TvwXQHHEZASoFjw/0ovKSR+cNezb/7SRUffdaQR8W81nwQ4UvzTnagf9dCKbNAdSqcbMuzKB1EvJHpSKa8r7UbTal3ZWZ+WLY1p1DbVuqKxxkFDWqIhXSJ6je/ASxLdEP5QFuEI4IFVe258+8tbP3oo4/xvuleB8/8elG/L5sJrdw/kZ0LGGc/34HsCvgekPKAuLXDRCS5qUuR0B0JoDrfc/nws2HGAP6/Yc/0FC1ovfz6edyQ8Q3zpXjlfimDJwGA+1d1ZqwApjI5hXoeHgSiFbCjgu8A75wmQe1+oVyRjef3tz77m2kvm/ulwzOHhzTLTWIcOKdEbRZgROZglY8ySDp6MBH7y8jax93A851DGEFcuCq4dGMxe1dRUi7oagXxuDK8/xsO2fArHNYV4uN9XEnLRcc8POJRKMoFwtA0KI2BoNMg9sGbwyx96Vec11SxWSik2DKDB8dEdxpghJGYIB7NdF0c5DmbEMXqDEF1hjIYIEIVAIlsAcgUgiIB8hP5sTn7l3S91vgO8cB6i+OSdhW/v3J37VGNjRoGDKIsz5mWwsl+gMx6E39yMPTng4hMceE41pKl8TSWij+ViZPNBPh9Gg/lQ9ucDbN87Gu0YGctvzQdyc/9woW/jjpG+B58Y2LDie2f025GllO66YbTEIaZJYKYDzHAczPY9HCUczDDS0B5LZMhY+VAiXwDygf4pREAQAmEMxPwxTgivjaF/d1wgDMVZ/3CK+MvBr/rQ7hQfvy04d/dg/vd1tWmkfCAsZHHei1MIQyCTcvHEDkdx8qUn0d7s/7D9iB4CY/kIuXyUyymixzvzBWwfzkZ9w2PB1nwh2NI/GPZt2pPbvnb94I77lgzuxn0PDQNXky7q9adnZY2TQkfaRQ+JLSRmuQKz0zWY6Uj0Sonpki66gE9CBoHUROdPqLk/4g+JXRwVANWyBcJ4htZDLP7Pe/iLA0SheO97TxU/PTQSH/zdyoq89YbdX2psbvxX34VorsmjubEGu0cB3xdIedQxwAdPFpBhhFwh1ESPZH+ugO17R6Ido2P5rYVAbt4xVNixqT+3fe1zgzvuW75zF3776EiS6HaaC1fLej+FLniK43t9YI7n4qi0j5kCmAG66BINQsCJY4kw0JxOgpNpojKO57hkEvV/GS3GeebWXS8DxiIWx0JJjnV0glhe+YHT3G8cPHn1nVdfLZ2rrxZJNqlqyOJazrl24yXtnW2fAGRKCGyPw0JfHEVbnTjaMloI+6anRvo29BX6Hnh86+6JiM4nLlwo3ex8NAcS04SLGS51vsCcVBozXYGZIkavBNoRo44EVYQPDNFDqThdxprI1KKUWnpqrmPea15RYNj/JwLFAiMg4QrAcyXSLpD2gIwP1HhAjS/U7+TB7UMhntzlIZY67opi+Y0PLXCvnIyS71go3bnZ4WZk0l0yDnpjoAfCnekCs+B6PVKiRyDqcBz3oZ27vAu//xERVIVMBUab8r6rV8vUNIE2GaHHcTGDHo4jMMdPYRYEemWMnjhEqwR8cjhVTT4PFAr6PcGgkefiSVwSnbaMP74ri+9dF5qgFpQycKyKcoRUAPqOVG6/JrgmfsYjEIb4rlDPEka2KsW6cRzjD+ti5CJXqUQI8f+3b8fl+exwdyT8HiGiHke4MyXELNf1egDZE0vZHXn9LW7U5AuZRsfutWgbeBqr5rwep3c9iHkta/DztZcCThphVDjhaxc1PDklkc0FkzrH68dk7969uGAgwAl7I8wYDTGjEGBaFKOZNpMqhoTPkfjU9wSAhtaoHhvtKw4ncQ3HK2kQGhgCYAFSvzuay/V7Q3SXxJaK4HUpoNYHalP8m1BgEBQV9CppopxUfiUlTTFOJJErSIzkJIazEkNjMZ7qi5XnFoaSDkMgJaQQTkoIB1LG6ieZxojdLAbOuASpXaejfs1VePfdH8acLYvx1UsfwmuO/j3mty3Hd5Z/DrHIIC6EL/u3i+seP2RwVvXLM2szuGski6bHtwDbhoDhnAaBBlepnwQVrM4vf3DSFlhVZG0EgaCaqU1JNKSAxhqgOQM01UBlHZhbIyC0ewRKR7/6CYqxEw9TY5s/kH6K8IHEaE5ib9b8jOn/R3IxRvPaiaDHZqU4OUa1BORMRo9aCH/wePh7TkLt2C40juxAX9eJyoGqTcWoTbtoafBQk8KZF57qP1Tt2BNKzmO75J0o4PzblgKDWc3pU72SHg+vVcT3yOkSjWlN+JYM0FwLNBOAGi0FJL4aX5gcWwIAa08s4ZV3ZjieBB6xhDf/D+ckxnJSuc9Un7y+KDHGTk21jkqfJ3N/nAvVbZoSnBZoqHHRlAEaawWaagUaMgL1NULZMyvRng9EAc5trxf3Vfv8CUn+m43ylj2DuOCR9eOBUbEAFyy0fajxpMoik9sV8Ul4w/31aa16yEGChJ8gsVkUwDJ9tGs4xqZdkeb8MQlF+LyWiL8V4TVTaVWZYbK2RqAxI9CUcYrEZzxYm9KerJLohIc3EeEJThzh/I468ZtDBufHT8kbxrL42Iqnx4Mzf5rE/G6pOIX6nwZXBaeG66t9cPK6cnD4+5bdEW5dnC+qr4nU5lTPU2Mn8oCUUM/VXprmes3t/CHnEwhmzOlUeI4oatKJsuWTPT+K6azoMTymxUJcOK1BLJxqzvbzCSXnB6vk54MIX1m13qh6CbxyDnDO3JKqoL6wA6j/J4g1JptMJWB4/eJ1ARavD4p2ZKIxxqkby/XKYdDqhcRurHXQZN6T6ykRRVVaBddPNv/kujmXMJYqJgtCiWd3RkryZne6KpEcBbikq0n85JDB+c/V8n37IvObVq7VQ9G7ueilwNz28QHffsHfAep1y9mGwYvzfuLZAH9eY0ICEzwqr055bkKlmpS6URyviU8wSHjaApdcbxyHg+F6TmQ4G6vxKG1BrAmuvNJIFp2ipE2jl8mYjPUphgJDozHaGwSa61yVDoojfKSrQXz/kMH54Wr5Brj47fI1pTTIm04AXtqjhy56XocgPRNJDYm5eXeEp/siNNdpECoZ2cmKc9USoMgUCdVHJqCz8eiGPDoaXLTUO4rgDAcEC4NMQUIDlo+AXAhkmb8r5uwkUg4wv0WocgvVJ0GLJD7dXS++Xe3cJlRr318tX+K4WLriKc0tJNhZc4Cz55ZumTBKr1J6kuDY98XYiLFOyXOudj37XZdUexJSrYPcnqxH2cSnvZkuPNdGh6Q+LfCXAYnhgk6KquwFgzwyqHKM9k8ZkUJpBzilVTsVBEhpmBhf7GwU11a7mAnBuWGlnJH2sHHZU7EYGeWygFNmCLztxc44I211rnJXE5asCs9bhyxlbrMlps0eTGqviqVtTXQOlSS8zZPZMcpjo4nGToJD4t6/U2KMtYUkKGVxlh3bMhnBOa1Ve30NGV2gjGNc290ovnjI4Hx9uaxrSaFvyeqwfteeWC38+C4Hl53F3JOe2YQ5riodg3Jwip6VmX2yREHPh8FvMpYqStvB5KEmoRCdCdqZgZFYeaMP75IYCYyUmIeOC4ANjxUKMaIQSNc6Sq29vE3HQ7SJhg+/3d0gPn3I4EBK8aN12PzYqqBn03adUJ3RKvDPb0yZOGc8OEWwqpSeiVRa8u80/vbFwDMfVrus/a9LOgfMCnA81nWYbuK4zES012uSW3D2jMbwHeCJAWAoD2VrKoFin9a/pYAwkOjoTSGdEljQodVfc12xEPb9rgbxkWpXMan2+dE6+fjyp4KT1z4XKX+9tV7g2remtENg/plMeiYbfDKVZu1Osn40ETj2GVal0aukO0uik/gkPLMFqsBmfqzqKxJJMF0EnNClVbYFZ3A0VoZ8zYDEQM5oYGUHjSdYtsDsaIQgL1Hf4imJWdCp7IxyKPhyHfykvU5ccnjA2SDvXv9MdN7K9aGKhOl1fPn8lHJny0EppkiqtD2TqbSpwAkjiYExS/wSEKqyaYx9kvDJTKgtDpJ4tAdML6VdeoQESFObrjrXu3dMq/MNe4BdWW13KT1JdTrO0JZMKFwhsaDLAetRrQYcP4WFrWlx4WEB5wdr5H/3744vWbY20ql8V+Dzr3dV31klm7MfQJPYnv3ASTgG1rirtI9ZCQGhy8rXUFbiqX6pPaCiHjQ1IFN+SLmW+LpkwN85HvvkbDa8mEcta92y4DBbTYndNAQ80x/BZ/CaNmmo8Y+2NqU4X8rK6dMccN7tDVpyamrw6yZfvOWwgPP91fLa4TF51dI1kckhCVx+joP2Oi3WNoublKJKtqeoBs2sJrM3Vmr4v87J6ZuoqrI0yoDKrW3ao5Oqtl5jiV8qHZTK0pQma2dUA4exM/lI5+io8jjWsZ2aiLQ/DGJ15lpi+zDwxDMBRrOxqg63trioq9UqUK3F2CKV3Tbz5UinTXfA5pGORj1uugb3NvvidYcFnBtXyY8XQnn9X5dHSvdKKfCBBQ5mtSXAKatKTqTeLEBJYPi3ZHxT9MRMSoUEt4ultzZmwFFjGSKwdMHCmDLwxs7wIxr3DbtijLE2Y/oJxmUKyqQukwLmTzMcbvJqTLKOFSR2jQFLnw1UBpxqinatoc5Bd4fLYk9RWtT8I/0500On9TqqXtTZpMdNpfFgS0q88rCA873V8gIp5S0PLtH6hJnli05xcOI07bdbIiWlyIJQKa1TnFRCFRW5L9GOa0EaDw6QDUo3Prs7xnBeSwSJkSQ8VfBLex0s2xorJ4DzI3PZiqu2NVrdWZXH322GmQU8SiAJyyLcnjywfGOIkWxs+hdKAE1r99SyYqlzaipIFSwnCJw600E2J9HVbMBJ4fGWtHjZYQHnxlXyTOHgL39aXFAcQ3DeNN/FmUdrHzeZIRj33jx9P4DKZjWZ1PAzgmPrSFRN5GIrbcu2aMLzZauq1s7U+gI9zQIjefpVUI2SvmMqpQwGVX+AljbTp6Z+76zXkTwBo22iShtiga4ArNgUqsJdZCSDY5AmBKcuI5TUJu1fyoBDVTitRdPLT2F1a1qceFjAuX6ZnOf7WHv/o3nkC1Jx01nHuHjTid74LEGFgNQa8mSqP+l5jvN4KkgNJUGBY0KEJDhc3HBe36RK1Ew0Mu9l2oSp6gITtKo4xtiZQsKlVh08CQnmmJQ22jkLDq9nIDoWCazaHGE0ZyQnARDn2dXqqrgm6eR4npYcStt0A47n4Zm2jDj6oMCRUnYBKAgh9nCA6/8q25wabH94Wc4fGZOKm14y08W7TyU4mtQTOQZJqZmsFpPMfSmpSKRhCE6ymDVqJIfX8X2OzSOG+IrwplGwEuHLCaLUHBtDjCdHD62nSUsOAU+5QknWrr0xClJg1dZIVVhp+5SdUz/6PX9am1xVD7J4M1F62kxHueM9rVpyXBdb22tF7wGDI6WcB+AlAG4RZpPSh5dIf76P7Y+vyrcNDsUqFT+308UHz/RNlqB6gCyS4+xwwoUdl6A0fycX2xQOP7fg8P3SLbGyN1a9Jm2OaqUi4Y0UkNBaGizhjbQl+w4SFNPqUSg3uH8oRiwEVm1jd6pUtkU1LCZAonqjFPKepnoHmRptkyk5e0dj9LZpcBwHu9pr0S2EMAp5cpgUddneuo8ZPwvgOiHEWPKWbz0h1z65vjBv10CITMrB9GaBy84xKZyibansvSVjIStlybEnsjmqckkdbeo36h7anEAnOPlavzM2BNHG3dob5VLTvqg2KP0q015TMq4GVSjp6BuMlPiu2hYpt1hLTUl6rPdGR4DA8XOquM5WF6fNclVNZ0YJnL3ttegUQuSnnIQN5qWUswGcLIT4VflNX39U/vm5zcFZO3YGqqTbUufgo+ekVM5oXCXUuJRJx4CGum8oxvZBXXSa3qz37RRfZcFf0pXmInXQWLqccUeS0GXecDXrreoaCw7nsG1PBM93sGJbpFq+rJQkQdKqTUuPdhSAjhYXZ8x1MTQSY2a7caAcZFGLzk4h9nXCTv2yknM2YzshxF/Lb/nyQ3Jh/87gHTv6A9XkwKLX+8/0lU4uSoN1CNQftBQxn/Xjv+Qwu8PB6XN9VRdRXpXaQVCqUmrJNdxtGsl1rYU2TnOwfVGtHWxVc2pSlK5QjSu+7gRiL0M67WDF1ki70cZLsyAoUEysRenh4rnOxjoHp892lVorggOE6Xp0NQkxUM18LDgMjIQQ4oHym754r/yP0bHwEzv6C2iudVBX4+Di0z1VQCqCkwgKLTd/bVEWFy9I46h2VhEJiv7E2olkftdKjAVKmRJpunv8FxAcAJt3RajLOFi6JSr26pUHszZfp5tHbPwkcFyXwM6hEjhcleOgp6NObD8QcGYCOFcI8V/lN332t/LzYRB9pa8vr1LfBOftJ3toq0uop0QqnRO8d3WgxPx1J6bwdH+Ee1YG6N8bo7lW4G0vS2Ful2skoOTdlBwCE8vIUr+AnRPjnHL3NznfZPqkmsXba6zHqTpGix2oen1szWqodfD45rgY1ymJZhOJr5se6WwoRWIkng6DiqWkxKpNAc55UY0qtatSdYA53c3i2Wrml3QIWKH7NyFEIXnjFYvk+yDjm7ZuzaKp1kV9jYM3neSit2X8Zh01EDlnn5d0zW+y+Mir01i2McL9TwZ4+6kp1YUyOCrxy8VZfPoNGfS2MrLWBCg5Bibza/5AN5pVyYnAISEZxdOmbdkT4xXHeKq0YV8cxv5mCV/836hgPt2WrK3NoFNhc3RMeHY1Odi+V8JNlG3tnDm+7nMT7OhU6lBvQtbP7huMi+kbZvPzEU6Y3iCq6pcurkRK+VqQtkL8LgnOP/5anue48u5Nm8ZURY/gvPZ4D8d2T7CTSgJfXZTFpWenccO9Obzj9BR+vyJAZ5NQNfkFR3s4aaaxQSb8p32xICXtDxdo0/j8nOkb6n2+mDFe/HSALQORyq2xnPzeV9SozywAzGgohqYXZer/tnRd3DBVoYpqXWk2mTz+dAGnHZNSNpbSoohvOlST6rgaSWDvWsbDZ1wP96WAlTZkmejeJDhk5asA3CASBuuTt8tTPB9Lnts0iro0HQJHeSEvO8rwUZI9zbaNf/9tFm87La2I9IdVBbzqBB+PPROis0HgmG5XeXxUB0nPrZiNTnSFKsPK3XbmxUBT7Toz6ofq47o/jOLZgUjFX59+bV1RcpIlhkqLT06bT0hKFjmcEsi/EXwb4VcDQKVrlM1la1SMJV5h6HX1TU3nCaDXGRm5STQ07JwSHMW5Us4A8A/7ioFfE0KobOfHfj42I1WX2bhpy6ig59SYcfDSWS5edZxX0XPigm5+JI/je7XTwK7QR58OlZfXVi8wo9VVuluVHcZ71cXxbBqEnzdnShcV+wiMd7doRQ53r8zjrSfXYPNAhA+eWas4my+Ckw0rqDWTBNWA6DlMlsGoFhBlq4zbH0bI+x62Oi7W53JYzzDJc7B2sA+LZ88WOUvrEHi/B/yukpdsrMT4x0spzwQwHwAbrvs++1PEUQv6Nm3N1rOCQcN23HQXb3mxzhJUCvC4leJ3K0OcNMtThpKtrXcsyeO0uR66m12VYEyqq+QYFhjF2YKN7+Mlh7UXvihF/3z7MC49M4Pjp3lY2xfhRdO9IjgMCLWDYAColspTXKebBtUuO+kI7HF9PBtHWB+GeFK4eBIx1vsBnmtpEYNTPVJKmYqBD8TAM74Q95Rfn+Bd/RHTOPt2UHzBAVYA+BYvuOIubNm8PTc9CiMlOXSP3316Sm8wmuClmtAHJFLsAaMxM5ufqNpaTA7Kut36web5ZjxFWLAxviRhttXV7nYjc9D4Wm9rKmIcyOdKshxu8JUYzEp4nljdVivuj4DVPrDFdzBSX4MlQoh9+1kP/iWldPYlIj7qAI8KIZYkRyrZHECEUrJKd5IH3AjgVQDaAPz4yruxZNuO/EuyY6ECh97LB16ZmjItwsEZjLK8TIKycSKZILATKcc4GUcQnGq2nxw8efSdpeieHqPAn9bkcPvSvHJiRlg3CuW/rvpy29XFOUvZvq+l+w2smgP4fbUpmUrzpATtqxN+Yd9uGZqTYvqsCE5eyre5QKML/NQm5pQHFwfHf+E+/+1b+gpnDw0FKvPKFtnLzkmrFtXka7LovRq9nrzfAtZ6GMHh+BoEHQyriN8Aw6Ia7da6vhDLNwVYvSU0ZWgzE0fcuPLqtnFHu5Dr2WsJgEzNwysWC3HgG3NJw0DKV7L2J0Rp/46ibiDlWQKYu2+T6U3l7p2U+ZMe2ZT62S8fC160YUtBgUPjTnBqEjHI4UyrJGs9rZlShbJa6bBSQAfCgpAsI9BZ2DMmsWkgVmCs3xGqHBrL0to9LsU+6pmOi1gG71pxdccvJuJ8AG8EwMz+z4UQm6uda0ISG7lXwBWlRnchpWwOgU/ty6hfYz208oG/9if578d3xp+5b0VOBWN0qT98VirZLHdYcl6V1Bt3wo1LliZsEhmCUbgFoCgNxlGxkRjjI27d3z4kVbC6dU+MgRFu22cNiBVVlphNrcZs4yBKDRm34HnO42fOdZdc9urMV9trxdbJiC61qqO3y+vuKA/op7g3HQMfdIW4wV5HO3OxCywXQqya6OYrF8lPQkbf6fJ0Zvqx52K86/QUelpLgehkkjNRJnmcQ1D+8ERNh1sTOUYSBCsdxYUY747NHHtzEjuHJXYMQ/2v9rKqGEmqzDIBUY2GPFyCuwPCWNm19npHzm53c/N7ncwxXS66mtzId5ETDupY39snfVe3Z/CtyeoxPNoFwMsBMKi/WQjxTDVSJKXsDoDzU0nJiaT83L5A/BsTSQ0H/qd75AWQ8S1LV4/ixB4Pr1AusYOOBt0eVBLN/adxoLWU0mDjO3OS5QleQxtmS9d7RoH+YQ0IPStWR9WmZ2voTceMjZOo1pgF6GwUmN3uYG6Hg95WRzGedQ4qEdSch3B/IY/3T5Ufk1I27subfgAA82i/nsoWhVJeGAPrUkIsLTJcJOXlrhD/MRm6V/1OvtLx5QN/XTaqIvu2egfvOyOFY7td7M2PPzumggBUwzgVUU3mr3gBNy0NjgG7RiT6h4GBMb1H1Lr0ttRgz7MheGzg4FkFzDSw6YNhwMxWoVqn6IYX00UHMMtUCnviGJ9trcGPJkvBGIfhXBM33jiR2011GAKX7auOX5uUShFJeYUDfHsyZK9aJOf5Gax9ZPkImOPhrrKzj/Xxdy/x1cmDrOWP2k1oFUTlQKWHKobqiRt0NRD8X6sr/t2+bKBpW3ApGTT8zBKT+DNbHRzVJjC9hQf26Xhpsqx2JXx4PVUfX+wzsC/uVPNc/DoI8JHOetE3hT2ZC+C9AH4ohNiUvFZKWbNv79XnPP3ZOJsmClJ+2AfuFkJsmegBV90n22o8bH9k+ajPwxOYKT5ltqfsDidPm0CCjPBkJtMyW8kGVQLJlHlUUnP3qMSOIYkde9kLzQMczHkDxjglywp8b2tD3DI/vYlAOJjZJtDRwJrKwUkFAeYamIlg269tjCcjdNQ7aK0d37PnuuiHxCfaasUtUwDUDIAH+d0phGCAT6+wPgQ+HQN3pIVYWX4/vbXeELho3x4f2p2KTP6OhTJ10jRsf3TFaOvwaKw46NjpLj7xmhrd0GcSntzaziCTzX7ckqcnUHqkjeRpnGkb+oak8qB27pWq1YljKd60YJhbbXxCwjE1zxzdrFahwKCt4H5QStuBSgWHtwlSAjKaj9Vhr6pHQGq7ZJ/tKhWot+13GfCLUqRPG7l5LMCnehvF7olAopQYgHhM2E6TW/tvIcT6SvcoWoRS/j3p6Alxx0QDf/khuW7pqrFjdgyEYMNcb4uLf3lLRlcHEzcRnLq0pu+okSSqJ/YSbBmIFSADo3pLRnnaJZmZtqUBAk61RMPNn65GfQbAgabr7RTVARNmtzPtZbHFyVRe7UEh1IE8oEjzinbX2T+tOQ5oqYOSIvuiBvA8bJbAh9pq9s+T2esoLfsOL/oBwdmXovuSEIIZhoov9TQargh4D6Io57rurZXszzUPy4dWrcu94rkteXie5tZvvqtWJRbVAsy8aaC3DcbYOsCdyHrz0IPrI+wa1WVnlb6xlVMjJrpqqLtt2Agyq83B0R2u6snmniA2DR6MVBBsNhfSJlJaKZ0kOCWDgSYlw7rkjKUoGfydJ49Qohzb0WhUAGMqjqk7TFkF1SqU87Mv10XsePjPaAhXdXSU8m6mw2lBaLIJHrBg32bBXwohnp4UHAMQm6lYZ5g/CvywUYwXz2sekrdu2Jh/+6oNOTUxpm7OOtbDGXN9DGYZaUd4uj9G/7DeeqcOcHWBtjoHp81xlTSt2Bxj+1Bc9K7Y9NHT4uDoThdzOx31nhVTLvVgwdBn3iTAgDCdMSU1RQJTTVnJoDdHr64oGSZLYCVGJ1qZqdDtUslaED/rqBeqgaUoRbp+sz6McWlnBo+GGohXCWCVCywSQuSklA2mHY35tIrdOOOTY6w2Sjk7BVwsgTWudhRU/eHLf5Y3bNtV+Nijq8eUtDjc3aXaX/U+GTZwqK3gorT/RYFontBSJ3DuCT56W4UyuL2triq+0XBPVHqYiKNKKkK713Qm1BmdPK1Kn5OmjEW5ZJTUFBmEc0sQFHovjtUCah+POn9wSiW5AAAN/ElEQVRgPxKpNatnGPNIoKlJ2sqchUwaQVrgYYno+pTrkpbjegKllMcr0IT4bqW17v9k02QYAmc4wKslsNwF7rvmL3j14Gh4xx//OqL35Jf1R9uWKDthuq5sCTpumosTprs4qsNR3Tuq3dU0C3J9tD3V5uXU9cxyB9yaoXug9Q4DZYH0OEblkPBW+nj+YBIMvWimbnRdgqqXRTotFfq0Ql5DxlIq0Egfn6MKakr16Sodn6H8F5bKfWBGi6M8V05Fna7FRhUPy8IQl3bWi2XlIEgpmUy9t5J6qwhOwnh5YRieCs87xwGGvvdQcPJP/5x7XxDGLldE344TJiEYmFI9vaiHgHjKi2Il1BbPLJjJzVX2ACBOggsptU3pGZCRWU8hEemmq7M7FQG1ZCjCGKl1TF0nCNklQ+ZJSgVHYw6N89Fd3np7iVPMSiswjOEn81mPjYTm42JoSVOAU3IMQLSTtK0sKPLvZBrmHpNqjk/3fOSiEP+3ow5fT2ZjmLYBcKEQ4jvlwE0KTgIkXjctQnT2fU/Ky5c+FyygjamtcXDCNALiYVqzo11Pc5P1xGhBbF+XdZNLn+mLlTSZjVLqqOJcrPZ82pOhtOo0rrYBQ7u2GjjPdrtbL9wQT8dF+nA9EpaXkci2hSpWvrsGUnds6t1ylGaqaa0hdA7O4WHnpmioGj083divyuHm3Dadv9MeD8vzVNtJO2aqqA/HApd21Ih1Cfqyd+Ob5TWhqsBJIvrxXxRObqwVjx3dLp1juxx0N1q7YoYq3w5uTg8sdsQkmilUwBcAuUjHGFGsnQi6zylXYjSvm9e5YEUoqqIyw22NubZ/VsVpNUVJJCgqx6aOyS1JlOrIMXaJuxP05iqt2nilbfDQB9oRLK0heI/apc1TTVQxsdTlqjIQMXu4tVPDe48yfdJJGvo+huMYX2jL4Lv0jKWUzMHRJo1rNjxgcPiQD95c+IDnOd9NOWHq+GkOFhzlqnPWSBC9PVGrKHtus/Vu9PbAkqqizeAyCBI5lABqV5UHyWnrxeifnE9jz4qk2kFmALKqR+0o8FjX121LBUbAohTJWzsYS70zwdoTOiO8lM9Tu6tNs6AVRJUdMOcVWKeFWQvbTqzH1UxFYFhGV94bzx0Q/H6Hst7wBEJM/7gO7pExPtSawVkA/nhYwOEzPvTz8PyUh595Tlg3p93FWXMcXYY2e2rs4an8nRNWqfmAxNDqiUZdSUKoG/IIFPeRjy8vaCCoPqjXmSai8Wa8wdQKKaJrOiVVxbmpbEHMbeqa98j1+ow1fXC5UrOmRZhMYfeMsr7DeXJ+SmWpLEfJQeDcPKo5wxwEjvLDai3HbKihM3Bg/O55GGhIYZHv4EOHrNaS4nnZz7JnezX+7R6ilmnNAq871tUHLBg7Yr0nHbcwd6ZzOpZI9jhiewCr4mob1JpjxKwVIyH0oaxaOng2KGnPbYDKmWAAqYJL3aJEaaBrrD0urY5IeAaaOl+mpYLSx4ZE2gttY0o5uXIyW0mlsacjQI+U9yadj3KjPtXvqjspBRnE+FU+wMe7G0Tx5PkDg7nCkz6xMD/fS3mLHIQzePbZm493VXq+vCdN3ypVwwQJmYwxrNphZE6J0txuzpG2KQUTmVN1aM+PHC2Vx0gVyFQKiU342VNN704nXhL7dLRRUp6WCixVbDYxGGqjVKwdCnW4Hvvw9h2UQdt0oJn2SiBxHdQG9PBUCOCiT8a4rL1Op9EOGRwO8uGFYzNrfX+R4+DEGl/iTce76G6oELwZieKxJdy2rlxWElS541oquAtZ74DWQaGTtB3KpZVFl1edsUm1JB3dCWpcZOXa6k3Oaiw6FVpq+AxnwpYubSv1+AScEkK7weccDjCSAKkDXD1uCBsf57kupOvhR7GPKw4LOHzoZTfLlnR9dKuAfDX1+OvmOZjXPr5SWpyc4PcdxCoBmvwSpHLu0nUdne6xRlx5USbXZgM/gmjtQ0RbY+Kf+rR+vt3Srjne7KA2B0VQnalst/IS9ZmfVLva8zq0btByQK0rzmepGI4V2woSQnuY8rDwsIFDwr7vJlnT3Br9UEp5MV3VM49y8LIZZaVsgwAfTMLsHInHxSlWlXDWJBA9QLqmOuA0CUkjTcoZMIQlAJQQG7lPlHVQUb6yF1oVKi9NORpaOggyt8jvUAW+WKmweZ08kLVEqkmlKFkiMapZJXzNrgN6h3SCykGxsSDV+lM7Yjy2Uf71sIJDuvNLFQZeEl8Ty/jzVFkvnibw2nm6Pzr5KrnXUu3dKbq4xuhrm7K/3lWpmqTdMEac6o0LSwakfF7SbjCLTMlgsZDemP5cg8pWKdaYODxVmt3gq9StyoDo+1Rywq6lAkrjbK3pkyseZFHB8HB8VnhXb4uw+OkQa7ZGGC04kLE8/7CDY5//8dsKn5TS+UYhiLyj23jCoVtMrVtgitkEAeweiVR6pdzzURtiTQlUpWocm6LXFUvbNsWxCBBVnA4CGe3TZkBtW1GVUTM5tkHtyepeBIKiA8kEIxg1qgtO2iHnD7PPDLyTUf84hkucp1DOiPZ3mx1h1XfZ5lA1+TPbQmly6e9LZB3X+dE9n0pf/jcDh5P5yML8BVJ4NwX5oL6jHrj4VL0vJ5niSdohHj5Hz8WexanzZuZMgISbbe9R2QEaegWFthutdY7+pg8GxBW+14AG/8ENEcYC+90HJbtCYowTBvOLZqaSVHGvJwuOyYv3E6JEk78txW8dirF0Y4THng2xcXfE03LhctOOjPdCuH+MovDWCPE991/ZuOuweWuV3ET7t/f/LFgAIe4MCkEHm0EuWeCjM9FSVc4dY4VYN4475c6E3v+v6jAqkNW2o4VHNvI4YwbAxsWdiuMI6OJnIuwe0Yaftkzdk0BH/cW07vKrXdrqWJFlcS1hfyrssrCJXhp1qlluu1y2OcbyzaHa5aYcG5fbZ+QuIcQ9sYxvyQZjf3zocx37NcRPtY7J6F71Z+/9cW6edJzfhoVwDiXhPS/3cUxncRPffv58LohVs4e1H7Qz5PgaTyciaTvoiVm7sR+XJVaVlIbke4655NkIG3eVqVKTLM2kJLqagN4WgbYG/SzbYDKRxNB+sLb01PYIizeEWLklVCknepeOo9a7VQhxdwz8ajTe+cAjV8zITkbE5wUcTuAdN410uzL1a5YgyPkXnOLj9Nn6DJ0yplW/M6BkRkEbaG2MaTfsVsJkqdsuYr/FmD9MvEiJJ7fFWM2+I+6iy0hMb4E6L4Gbi5M1ITtRPd+SElMGPS+xZmuMx54L8eQ2npGjvUaWJCCcDZDxbyKEtw/WNSx+/G/55UZVi0uFC8+7bndjXab+5iiK/y4MY5x7goc3nqQynPu9iq5wme4uAlG2KaqoliaKrBMGv+jGmje0dfb7UHXtJvFK2B3FRGYClOyVmyMseS5UqotZald9h6qIhXBWxVF0ZxThjj8+tmg5bnlnVceplBPheZMc++BTbpT+TBFcF4XRR8MgUntL37MgVbQXxQCgwklSdgzr8WhDa1NF5lhJC06ZaquGqay9sNcmvUkyC3dtL90U4YmNoeok0s0gSl0FwnEelXF8e+iEd/3pHxvNlwxU89SJr3newbFTefN3s/8iI/yfIIycYzodXPbqdPHUDKvnTEij8Eq+Ty6nCJTRjeULKo+vkiFK+bVJj0tnJySe2x3jiY0Rlm8KVS82Xy5zLFJmhev+RYbRbYEvFt3/ydoJmzIPFqIXDBxO+Lzrsu8XEN+NwyDd1SRw+bk1yvsqGl6zqnHgmPakoupJhNpJlWftWFHaylZa7jYrL8oBsgWJDTsoHRHWbIswOKbzftrDigeFcO+DDH4V5eS9f/hC44QNhAcLSDnjHY5xDnqM139n5A2O4/9CRIUmbgb+6KtqVI9zeUeOBkjrOttrVi5R1u6UHITSKb77TdDYIBKeTY9Pbo+wdKMOCNnJoww6K2IC2yDxOyC+FeHwA7//bPfoQS/2AG98QSXHzvW860Zf6rvebxwEPUyd8MycF03nbrLxGVtrE9TOs+L2jtJWj6RNsv65VmulQ1KtGmTejKmSpZtCbNwV6whdpXT4pbXOOonwbkTy9q0j9YtXXz3+VJMDpPFBX35EgMPZv/H67Kw6X/zWc6PjmcU470QfL5+jvzehPIlp1V5xe6CxSaozpiywsWAQTfZl86zO5Zsj1ZWqygwOPSwngnBWxlF4p3D8O+4d8lfgIL509aBRmODGIwYczu/vr5dtDQ3Bba4Tn8X8ANMkrznOnj5bYQXWo0vu4zRAqbMCYolNu5kyiVVAmDTorJALx3s0jgq3x/Du+sNnaordMIebyAc73hEFDhfxjoUy0xQEN7mOvJDb0+jJveXF+sChckfBCkkxZWIidLYF091dvTVShyGpdLw26KPCcf8cR9GvRIjf3fu5um0HS7jn474jDhwDkNuO8GtCxlfIOFY7C84/yQdbepNfBE5QaNB5guG6HTGWbQrVSR7DKinCb1/1mHofkELcG8fhbaGo//39n576ZI3ng/DVPOOIBMdO/LKFwRUC8muQkepWYrP77Da9w4ETZ0GM6RLGIkwysnmDJeswxOYgxt1RGN4+FNc98MgVYtIcVjWEeiGuOaLBIUE+tjB/oSPc/4qjgDuaiw5CScWxKCdkLJ11hUJ0VxTGt62XmccOJIf1QhC+mmce8eBwER//Wf5Fwne/GEt5LuKolV1TcNzdEO7aKAzuiyR+/cN1qVVHgodVDdGrveZ/BTh2MR++Ufpey2ib8OqC/vCWwVveeXAJxWqJ80Jf9z8TdKFBFentJgAAAABJRU5ErkJggg==",Wu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABeCAYAAADYHcHYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfQmcHFd55//V0cfcl2Z0jKTRZcuWZNmy8SVb8gEmCWD4EWzO9TqBxPjAgV1gs9mwiCQEOzYbCAmbi2OzkHgBQ8Bg8IFlfMnYum0dHml0a6TR3NMzfdXxlv979bprWjOa8cQGsdn6qdXV3TVVr77/+873fV8JvIrtuaOyKZHGu2WIeQjR79rYJ4B9jsTxFa1i9FWc6v8fWkEBMR2KfON5WZeowofqq/HJZEK2ubZA0gGSLqBOIDHmODjm2NjvF7FfSuyxLXSFQJddj+5lQhSmc51/z8dMCcQLp+S6gyfxN2EoVyKMCC8ASwCODSQc/UoloMBJuQLJBOA6gAwghYUh28YRKdHle+gMJfbaEvsTSRzsqsKpa4Xw/z0DYO59SiAe2S/n945gt5CyRkQA8J1/aN7HnYzHWIBjaYDINYZ7CFLCBWwbkCECCQw4Ng76IbrCAHvDAJ0ywH7h4dC//D0GNmwQ4b8XkKYE4m82ypq6OpwSUqbHAWHAIKViwEQfNf2i76Usk5MguREnGYAITtIRcF3NaX4Az7LRIwQOegG6ZIDdvsA+FNBVTODIJU1i+P81gKYE4ivPyFonhVMCMmVFXEBikcj8XAIhtq92Y2dWuxVXMh8JEnHiZwMSxZoSeS6QsAHXFXAcTfogQE5Y6IaFrmIB+2WIvaGFfWEBXY6N45fMFdlfR5CmBIKKumjLU5ZEkgAocSSAhBUokeOHQr30pBclcRUnfuVF4iCViBZxjWEevo/jJAHYjuYmA5QbcRG/DwJQhWWEwFEaCYUCOiGwp+DhgO2ia3AIJ29eIYpnK0hTAvF3m2W9HaJHSJk0oqnO9bCm3UIqaStieYFEwZPIeUC2CGTVvkAhoJgRJBBERP34BUtcMQF1FCAxcBTnSEVshHznK9SHcIJYEUAEiSIu4UaizuJkQRhKDMHCYeojr4DO0MIeP8B+q4hD2IXem28Wwa8SpCmB+MuNsqEqhR5AJhRHAFjaWMR5c5KGTqeNX59UKmIRpLwBSQFVBskjJyli678wnBLnBMMZpfcYGDKE0vi8Dt8Dfg4V4dV7CKGtu8hoSNCyS2iRR7CEBokA9ELgEIGh0QCgU9rY7+Rw6P2rMAQhYlru9YFrSiC+/LRslJbsKeRDt7VGKmLVp0LMaXBQlQDSCYGELZR8jxNwsuFWgkROykacNKa4Ccj7BFAglAKSf2A4IwJBcUb8ZQAhCCVAhAYm4hzzPbmIf0sQlNFAcFwgldQgJZMaKN5nGKIgLJy0LRwIfAXSHsfBPoo+L8SxDy4XmdcKlimB+B/PySbhyZ4Xdxcd8jd9BxK/OgnUpIC6KqChWqC5Wqj32qRAdUqgigA5AnZ0helMqRJIIeCFmpMIzmgBGC1C7ROogh/pJQMGxVVEYEP8IBwPhAEkDqDhMn5nRB+Z0xYSDi05F0gnJdJJoIr3lCJgmsssIKucWAv7gyK6HIE9wsJ+IXAgPR/HrxUi/2pAmhKI+zfKFgmceHF3zplbz1kaYmhMYqxAvcAboAiSSCUs1KRs1FYJ1BKgNNBYLdBUI9BYbaE+zd+BmqRA0p3yspOKOxLU88lFUgE0kgeGc8BwHsgUgZxnKW5SosmIMbMf+85wVVz0kfN4P/xO6R8pEYQSQcCXVjSWkIpjqnmP1QKNvL9aC401FqrSFugiQWLEtnFUCHQFPp4TAl+9dq7oOxMwU1Lkzx+Ws0QCJ57aOmQvm20jV/Bw/aoa/GDzMG5dX48HXyygs9uDJQRcx4JtW0riExzeBO2pVEKgJiXQUmvhkqUprF1mKw/837oZs1efR+skirrRolTgDGaB/iwwmCNgAtmiQLGkl8xflblBGwj6PGqCKeDKQPh+CC96+b5E0ePnAIEvYVn6PhuqLbTUO2httLFknou5LQ6EJbr9At70xoVi95lF9hkosuER2Zp0cOJ9FwRWb0bi5cNZ9GZdbN43jEC6OHQqh3Q6rWZLGITKOjIed6U4IjDvvKIOb78kidrU5EBM9st0xFulnuJYDNfSqsvkJYZyQP+Yfg3khOIqWnnkJD2hI0AIRBiqCUXCx4HwFAih+s4nt5BryE2h1NZdNNhLz0vjxqtqYDniqRvmWetnDMQfPS7bqiS671wrrYTy6Mrhjbwv0TcS4mh/iP09PvafKOJwX4Ce4QCj+VANRukIggPNIe9a24DfvjSlOOS12uKmrjlnHLRKU7h0XUV3Pa68R66Rinv6xyT6RoGBUXKTxGgeKBRJeAk/CBTxyQ0GGL7zHJyMBoiSPySBt66twRWravqPnMKc2y4R3kT3PSU1NvxIzhYuuj+yVgpaGdFkKaFuPGN+T8uJ04ny+9RwiMO9Pg6e4ivA0X4fvSMB3kGOuDiplHnc256UCyIqGj9EC6GyJRW/qUqOKX2OvPfKPzPcE3cijYVmLFafIClRF6IvI9EzHOLEYIATQwFODQUYGguRK4ZKh/BvKcq04i+PZsm8BH7nxqbeF7vE3A3XThzknBKIP/qJnGMDx/9grRQMO8RNxzgIhiBU5sns8yhms8jUXK+9cGowAlSQ2NEdYs1CR1le09kGMh68IIRtCTD87kQvfrYsikFyW8nCjbRFdOYYAHEQJgOgTDojnk4/b8Tg6gLkgrF8iIHRACcGAjz7SgEv7isoMJTij4axeJ6LW97adHJ7hzVvg5g4kDklNT72kJyXtnDso1dJHdqOOU+8TjwCG4YeasYeRCK/FV6mB/vq/xbVVamSCctjtx8LcMF8Z5zldKZB9I4U1Y3xGONQKtKrSLD2X/S7UGDxswanzHHjxFTMWzfcXQYpAqAivDLR3080iXjtzfsLuP/7gwiDOBAJvO+3mo6+a4m1YMY64pMPy3YrxNG710oVvlbsFxbh5vYg6y6CsOu0Rxzm0Jj9Z7j57QhGj2BvcBeC5jeiPl32mHnYSycCrCIQzpRzQI25L1NU4Fug6WhCJdqWVxPBzIaSf07QNAg6LiaU82bAUWONXPgyR5cBiM/kMwEwmeFgW8Bf/XAYT+/OlWi+ZH4C77yh8eD7l9mLZwzE3d+SC1JpHL7rSso+qcIG9d6zaHCOYbAvg57GD8GRGcwrfh1uYTf8kWN4Kfw4/MZ1aKgCOLBIdSjivXxScwSdvfg2GSwDmWJkv2uCcvYbcaRBKKuaMihxIaMnD0mtjGl61WpPe2VCWBqXCDj9q94mVfKxgVcCwlP9n2cy+Nefj5XE09IFSbz1+sbOW8+1zp0xEHc+KBemEzh01xXamfECIOF1Yg4eB6M0R3Pnoa1qH5zsVnjDx7FNfgqy8VLFCQTBTEDzvvtUgNXtjpL3k26xnwZHiuXAnoo68l9kIkfKwRyuFHr8tBElDbGMSVkCJvKoiYRRrsLoHcNx8VWwShthArbg4d98ahQPbx7T4Etg6cIk3riuYfdt59srZgzER78nO2wbBwkElTWDeH4ANI/9A2rsXghhI/T6UOg/hK34NNCwEnUpvUI3br0iotGeU5ojzghENFrSYnCM7nu0XhFfIYz5KyVOMFqb1yKRDSiG4MZHiHSA8aIVFxjvULGMcj7GBzUtCxZvqkLHVBKWXP9PT2bw2I5cyZRd0pHEuivrt9+10r5oxkDc/qBcnHbRddcVIVIOQxwSBR8QwQBm938ENrLIj6WxI/FZoLoD1QmhQSixelmh8zsDBK0fs51JWwyPemq2qviORTESKW5LhyE4KcgJDDtQbJW38r4iaZw7Sh8jcRUXNRWz3FhYDL9bxn6fnJfVOL++cRRPvpzTpmwILOlI4PJL61786AXOpTMG4iPfk0sY2Lrj8lDZ/rw9xRUcWeEg8kNdGLHXwEk3jQPgtPXsaDbvJUcscOAYbXuGm+JPI4ojNPEpNvhnJM7uYwGO9NOr1Sdg/OqcORbOmcOlPC26yrO3PI11NFdqbolC5ROFjeMOWWkVsQKIiRS2AeKZPXnt4Elg0cIE1lxUu+kTFzlXzhiI274jlyUddL73ghDz6hk61gG1YqAv4vk6/l8arBErFdOcH6kzDEfQ1JzOlsnSamL4PfIbJPBcJ51DHZJXVlykWRkQnN9sYd1yk+dD1IiLnvklcWPEVqQ0NMwGNwNa5JhF36vTOM6kazDmXnhbX31iDC/uLygg6Gt0LExg1cq6jX94sXXdjIG487vyHMvCK2SxmgTQUi1x7eIATdW2Yj3ay5yVKlA2BcsSiF09WkdMBMRE0Ixwyc8AIQRODEps6vQ1Z0A7iyvmOwqozV2eGselSx0snxeFASCQyUl0D4aorwLqq3T0V6mB0gQqx5dKoEQyiSCr4yiaqCTNNsnN0pf46sYsth0sqqgtwViwIIFzzq95/FMXW2+aMRC3f1+e60iV6lKaNe9cUcDitqQ2zyKXXoWNVbylvEBkxkoCc4BUCztPBFi9YGIgJhpkJhvpCNBhA7YeDHCgJ1TO5cr5DlYvdFUkd8cRH8/s1UvSDCi+87KE9j8sgR9uKeJon87MoS/EtRQVJa1lRFigrkqvr1BvlcLjBoiYcrbdaXLEkznsOurp8HkoMX+Bg46lVQ9veIPzlhkDcccD8jwrid2cFdw44961soBFrckYO1ecPlJSiksYClcE0Ur74ECIxa2xmTWFfNKiSYNIZbztUIB9J0NFwLdclES1yi0Bdh728RSB4LEW8N61SW0+C2BwVGLXsQD9mRDDOcaOoskSs7KYCFGb1otbrfUCi9u0hUQctNiVcLlSNMVGTv3az/LY2+2XRNO8dgfzFqa+/yeXOe+YMRC3fUuen0hgl+EIBcSqAjpmJaYa0/jfzcyKYkPT/eNRAhGWrbCTwxI/2x0o0UTduf78BJbPdbCdQOwuKjs37QI3X5HUMSjjD/CCQpvejHkNZiX6M4wey9JCF30kNdlC4DcvstWilgGC3yd54ukA8VQBB04FJY6YPc9G27z0d/7scuumGQPx4QfkSjeFl+JA3LSqgAWvFogpbmAy1T06RtFUNoE5w594OVDKOtK/WDbHVquAP9+vfY5VC2xcstjRSjzSXCYkT8KWIqQaG72g5EulS4ayDORJLJtrlSw0Y4hUV+vJN5kuVCKYHPG0hyP9QYkjWmdbaG51/uWzaxPvmzEQd/2rXEXRHgfi5lUFzG9JTGlBVF50QmJPYTxlRqNYU8yB48x9am+A3mFtOcWjqXMbBa5b6aooQGSh4uFtPkayUokezvLmGoogoCatEx/UkmgkhrQhxVU6rS/K1qBEDa2VKTaK0K8/4+P4INdjtLJubhOoa7K+cc9Vyf8wYyA+8l25Gha2jwPiggLam6ce1FSDns7vGghtvhp/TfkUQuD4gMSRvlCtnVN5L5xlqZdOfoksISHwxMs+Tg5Gvo+5KHWJDZWJYnRDQw0TIgTSSa08SkHByOtuqJ36npUf8SwXx8LScmtjK1BTL756z9XJD84YiA9/R17kOtgaB+LdFxQw9zUGYjLGGCEQVPia+oo4JHzK1dnopy0YGdlhThgpiqInMULRMybVCtzQKDCajxIgositiXIwM2XtClvrmEhRc7+5XhsoZ9oMEH2j0ZJpKNEwC0hVhX//F9ekb5sxEHc+KNdYNrZMBkRJXpZiNdGlYhYJv5me+3b6MEei6KsOaQMv7Jc43KvjXjVpoKFKixvOZpqttH70pWOKNnLgSoo3Emd0RHNFqcTWMMEZ02vaDNFctlz7ISUTXACt9VNzBMf49edCDI5FHBVK1LVIJNLBl+67puruGQNx+/fkxY7A5nFArC5gTuPUg5pq9kz5uwBGRorKFjfhboKwt1uboCrMEtson5mDVJdmCo/Ot6pN6zwsK+YjKCfNZGoYE7UE3HiP2pyeRvLsadwzJ8HXngsxkitfo7ZFwk2En7/v2tTHZwzEHQ/KN9g2XogD8Z7VBbRNY1BTEXo6XDLEFToTioiiqpzrxUCo3KrhLJS4GcnqRDSVa1Uhaqg/6LDRcaPYYe5VVZIZ5pprSglmsXCGMQCMM0GfZO407/nrz0pkCmbtGqhtCeEm5Wf/Yn3yj2cMxJ3fkZdZDp5/PYCYCij+TiDooZY3E57WMOpFHk15HsZsjAwTziKAuG+4xwCvwhVCZ/IxK7GmCqiJwGHaJb1xoxvMdbmO1d5UlgLxEVVOqK8+wwzFaN1aaiCsZPCZ+9enN8wYiNsflJc7NjbFgXjvhQXManhtRdNk3DE4XBgHBAmQLWgicpbG5Xg5ThSxRKQLaO4yXTOT1ZyTyWqnjgHLuOnLMaiU0pTAuR3WuFVEArGg2T2jD6HGIoF/fDpUE0LppBCoaw1hJYI/vn99+rMzBuKOb8srbRfPqsXwyK5+70UREGeK8k1nuk9DNg0QCGYQRzN/5xHgSJ8mGE1PKmwG8yhumAbJJVhyCZd01XhpacVFTsRHjCAztzabB0aZu5TlvkSxqDPJz19qo7Zah/15bSrwhTGOiN9e/Dbolf/D0zSpyxHf+jYJy/Y/cd+1VffPGIi7HpRrYeOZMCo5pE3/vouKaKl/9Q5d5SCmgQMIBDPpItcAPcNA5wlaO7o4Ja4PKG5oTREQOmu1VUB1WhdXMtqr9YGu14iDo8elf/dVxJSp/BrQSOrBVUBMHuIw90IQ/+7JAMUSvYDGuRLCDT92/7rUF2YMxO3fllfbLp4K/bLyef+aIpqnYcpNhymmOoYhjrGcvqv4ApynTE+tDyhuaKWM5aEIEBlZpVNThBEMZnRXk3PSQCqllTX9EOO4jTPFI04wC1xM1e1onhoIxrK+/ISvYlpmZbC5nYGx8PbPr0v97YyBuPNBuU5Y8mdBhDBv8gMXF9Fc99rqiMkGSCKRI5hnqpJ+PZ3eqPUBRVC0CS7jaqtprKABoi5g3IjKmtwzTpxEBSxMs1cp91VC6QbqHpq6hkeUHwkojpgOEEVf4q8fZwhcX43jb+2wIOzgQ/evT39lxkB8+NvyGtuRGxUQUab0LZd4aKr7t4umEg2nYouK3wmEAabghWq1UFcI6a0YAAdP+qirtlFfY8GxLR3Uo4mbDZHNATkqa70KO25juD6ZEFiy0FbFK68WCOqGL/yESXHRkqwE5i51YLvBLX9xdfp/zxyIb3nX2Y79U5/KJ8rtvPVSH42/JI6YDkbUW8xRpSXUOxLiiR1jeHJnTqd7OvQdLDTX22htctDW6KClgXUctjJhCyyAYcQ1FyKX42etI5Z22Kiv1cr61XAES9M+/6O8spZMvGrh8gSEI997/7rkAzMG4rZvy+ttSz6ugdBFKb9zeYDGaQTApkPE1+oYzuR/edpDV48OblCMFbwA+aKPfDFAoRgoLlI+iQGomgCxlsFBW5Ot6hpq0uSgqHNCxGI8HwsIF06gIyoNDsav7v0+K4z1xOW2dGUKluXffN81Vd+eORDf8t4kLPvRwCuHdT90ZYiGipDwVJZsPKsiEsCvCQa87t6j2krZdjBU6wn0G1RydmRSGWLRQycYJYAKgdqPA5R0LVUJRFDaGm3MbiRANlpqbSybrcUxOWYysTqcDfHnD45GAS/tfJ6/phrClu+4f13y+zMG4vcfkDcIO3zEJxBRGdNtV0nUT5MjyEG9owFYS8F817QrVH4Us0HscXlI0RCnY9PG7oay/uHNvl7cj1J2VJVplGnCHCwqcL4bi6oSIK1zyDWh4qACX1EhiuEglqa11FmY1+xgwSxXveY02WiqtXVCdbTANDAa4k+/NVICgkNdfVktLIRvu+/a1A8nBWLjrvxSO5G4/0hf0D6YCTuHRr0Xxwpy21gOu770u7W9v/dN783CsX7iedHSXyBxx3pMG4gTGR+nMoFewNFiU226V4dAmq+Epd4JFO3907CIf2EcBwAtKaGyCRlzIif0j7LARKrIJ0PeusavXKTP/RJArF4lQIFOCTI12/G5oQDyNNdQvGmQQlUmQIB4bFWSANklgKiPHngmq2tFou0NV9VDiPDN961PPTo5EHvyb3Ud5yFekDOp6FsYKwoMZPziSEEc6MuE/YMFrKUlwmgnk8vufiPZd3rmaxyIyQZhZKlSrqoFkeacKnIPC9dVYtl4ePhxVjpyuWJy0RzGsRqABrgGkZEqiYBhbnKGAijKzVUmMjnI11mMhoOMiOO4jT/BS7EoheIsT4AKBIdg6e8Ink5a0AtZjFt1LK3C6GjwyZ7D3nfz1X1Hd21YcVoHBPHE7vxv2bbzoyKVGeuSYzlKPBFnilpsHwtVFkT/WIiFLQLtLa5ScFwrZiuGUoJvBbUpmrqHfWQKoTp/nOhnUhKGe0h+5ZBF4KRdqyTeWqvK085gcZquir4oARRI1R2BEVsCNBBxEAEysafJACIHEcQzAVSkDoq4h1xUVDqIaSw2hModxaAQzn6EwV4ZhjtDS2zftu+pJ8VPd+V/U1jOw9qq0IXmpprfJOnSFFMzJtAD4WIKa+SyhVCtDbO0ddFsB+cvOHOWA01MzrqcKnIPld6gfU9xYRT4VCrCAMkFoKsWpEpBuImMhZKPEA+7VqBvACKx6Agy3Ybg8GUSCUj4OAeVdJAvVXG+4SB60+Ze4hxkHNK4BUd681hhqeS4/yV+ssP7DcsRP9ZAsLKSxeamzpjcECobnaW7WnTpGWGy+3TEksAEuOkqVqVMblFMxAHkGNUmIgKIIOVZQhvdvBELlX9LT3ftgpTO5DCqpwKNCS25mI4pnTM60Chxdc3onIw9KYCyWvcQIO5T7Jn0G5M9yr8n7ZSIiwwEijoeZywtAxDv+2jPKDI5j5m6OfHj7d6bhS1+QjYyQJhc1qbqUAXQMtkQOw4XMJQVmNucQiDLBeVadNCZCvDba9PjlBRvqD8bKKuJx9FaouznilnKsVTYgLI/TrASAULNLQQm54Xq3XjQPC9zmq4kEBXpLZWecomiZ5KDcSCjiXTaeaJwhSG64SAaBUq8ZUO1BqLC61F4wxzLCcyJy/EzJsZyYl4mm/dxsHuYHJEX/7ol/2bHcX6irQFtQQR+Fq+ctHDL+ho015q4C9eLc3hwUxbntNcoMPTk0sppJOvj3esIRJklqLj29OhCE7PFdYSS/XYETiT7qawnS1DmLOLNMHzN96WMhkbIVc7+Sf2aOEeYfcMRMU4Yh1vsZGY3LkKV9x2Ng+NiOJ213OQg6lZyEEuEzXZsQLe2yBV8HDgeAfHtzd4NjiUeIRBKxgUSb5v7Xfztz5fDbTgXcxt1BejqhbZKO3lsxxg27vKwaHZVRGAdqx8c9fG+a9PjrBvqmM5eT83siVyG+M0agGj20YultaS4x7UUJzGN3yQeG9FRkxjPTSXumIjFpuKImFKfVKRNcI7TdFoc1Miv4b3RGHh0p6cixmwcMDAWB8LKiW88m7/BdR0FBOVYS6IHb5nzEF48MRs/PfVbivhUKhQFb1njqnj/H3ylFysX1Uc1Czoy2Tfi4QPXVY3jCI6b8p/iiQqest+Ivclk/0TgEMSy32GpOg2ats1p5tPEMu+myEgvLV5EiDEdU1UWxZVFTDSdbjhM4ONUrI+rU0fnNGLWZKDsOhKo3F36OqcB8bUnvTdZrniUNjCtoxW1O3FF87P4p5cuRJ97KRzL0r2QAuD8dhsXdtj4u0eHkPMSpcAZQTo17OGW608HwtxjXPkVIvGSpSfLnhZR9FQdW1EGN9FE5o0SmDe0R+HRcXpCk+80nTyBItdZgiagfvqV4sZWWUDr4/iZnQpovak2SbEJUQkED6ahvbc7wJauSYD48kbvjbYlHgsIhATOrd6F62b9GA++sgZ7iutUxxnTYocZ2NesdPDwllF0nhBoqXOVfiAQ3QNF3PqmauXul8zRScRB5Uxj6KQYtQXS3c9CJc7OxD0E4uJ5lUDE2UNTS5mdE44jxgcRaqcTfvwfmtJ6rvFZCNB5qgDfz6HOHkHacVFV146EY09oUvPcnQTiwCRAfPFR73rLFo/7vrZs6p0BfGDOl3GiMAf3br0ZHXNqlcgiGPOaBNYscfDQzzMYzruoSlglIPYez2H30SyWzklgVUcS589Por3FUR1bTPggfltn8hf4m7I0Ki2niHt4Pk6AS9qTUejEyJOYUTCpTogJ8TjnVPga6mPFIDUQAWYHW5AOjkOEY4A3DFkcwZjfgsMNtyCVKHd2q9Q1BGLbZEDc+1DueifhPh6oqkDOIIF3tn0DLekM/mHfe1C06jGaC5BwLFx7AcWRwNcfG0ZLXTpy4fU68cuHsnhx/5i6fVU7BiZ60dFLYOXCJFYsTGJhq4PqpPaGJzIPp9CnpXOTe8gxbTV0hsafa3LrSf9idIIRlSV6x2Jhygo6DQh9QFIOoTV4Dgm/F/BGAT+LMD+C3tEkji/4Y9SxfqdS70Q3tu9EODEQlpUVn/tB7jrbdX+qgIhmSK0zAiccwUDQjosWcbElULmudTU2DpzwsHV/oIJdJAJnJoHY0TWGrQfHd/rkzZRaNNiWKipZ0OrivPlJLJ/nYmELLTEd8JkJMLSmKjcDRFwBl/YnEFMKkDgqJhOnpGk1IpxaDUEXmvwtsPxRIMjSzlesGw53oSvTgpFzP4NapsdG+bKVYyMQ2yfiCAXEQ941jis2+l6gPdSYl9neHGL1IpYrWaqlaHd/iO0HWQmjQ84kIJd3uc67rWsU2w97kCoBSp9EdRViyRb7ZNg6JuW6FhKurTz1dMpGW4ODjlkOFrdaaG+yVI0bwZ0sdhW/uTgQEwFgJlZlMlKcxsZyMucdD60WRhaKmOVvRo2/HwjGgKAQDdCB9PPwu3+GrfItcJZ/WNUZmq2SO/d1h9hxcAIdQSDue0RWWyK4F1JcFwThOZLL3IGOxBKUhCOVTU+XnovwxqoxfoEBYs+x/PCmvWM3CynXwU5cjdBbIyyrRik2i70AmTXBpC0LiQRj+BEgLgGyVA21bQuVt8oahwXNFtobdYIxjYGJgDFAxGe83o//f7rAI3EbZZeaKKPWHORlVWlJtHS0EMq5FX4/lljPwvV6AT8DhKz7okK2kT8Ons1RAAAPKUlEQVS0EbuxFoWqc3A4sR5L59SrnoZmCGoUMWQJxEsHGWmIzNe8jwP0rAlEfJj3PCYXOH6wVlq4XkhxdRCGS6SETUUezw+Nzx7O3nQCOHiqOFjM17b9/W26MdSKO07VhGl/jYVwne26621LXuI6doNpR00wEgTD0dxBjlHh44qQN5V9a53A/CaB+c0Cs2p1I3jeJL3yEifE0JhITxgucGQObeE21IQnVSbImLMUfWIZPKQimpW1dp3/Cpr9LbCDEcDLaE6QFqRfRP7os3i+/g/RXX1dqYhzeatAXcq0UI2oZCw3Pt9hukCMmztSivsezXcIaV8lgDdKWGvDMFwUQljUJ8ZOpxlZlQRODgaDvYNVJSAq52H7x46m51W5q52kfVUqkbzGdXFpwrVmqR5MFjvfEIhYmx9Ta2cmWKQACSQrfjpmCVx/XpSDr0TqeC4w44uDUh12Y7a/CU7IzjEq9Akp0hh1l6NXnIMQeinUlnm0+ZtQ7R3QXECd4BMEAJljGM2F6Dn3Xrw01IpRJhurPrMS5822UJc83ds3jEEdMSFHiAqOOJ2Jy99s2LDBqrv8DxdLKa8Stns9INYKGXS4NkTSDTGaQ/fw88n50+1wv2LDrsTi+nkrE659VSKRusaycJllhXOV7lEVQsZymdjQpSP1sd9IRKGTMgjjAIiK4S0RYpa/DY3+LgjJUChXhgL2dADsNEK7DgNYhp1jS3Bu3QDaik/D8fsiLsgCvqcUs+x/Gf31N6B//h2ES9WMMwNdmfd0hglEeuLx8tvXBIhKkDZIabX8tLA06VpX16St63L54Hu/uy75nTOBeabfrtkgnYUdxXMzI/mPC2Hdmk7acFzdMdPM6vgt0nH86JsTSv9MZrLSIdzXPYLrmjaijs2cdTG4fhlzwk4DThqBVYMs6lHjH4IIyAFjmgtofBQzGOs/gi31H0drxxvUgDgW9p7K5A0QEivn2qpwZqKNE2tS0STssYn/aqbUfA3+7spPdd8tLOuLJJbr2EinHFSlXaSSjtIlZqOl9tHfSCog4lbKOFHkHUBr/gkkMQqEnNW6hYAMfOS7tyAxfx1sdnZz2NOI5g4XYjz9Ilg8fKwbRzO1eDZ9N+xEHVbPtUqW5Y5jAUZiomlVu42marb40lucuARif3eInRMp67MRiKsIhGN/kbPXWGZK3Aj287NATkmnXNRVO/jEjSllHmu7vbwJ6aO1uAmNxa1AWACCohZHTDAe60Wm9yD6zrsfeasR54x8Fa5qwR+BIViypZvP+0OHsSV3JXbZN6iTV7nAmnZbN50HsOWIr5IUjGi6cKGN5ppY1kAMjDhHnFLLs0DOWE1nIxDrN5y8W9jWFyWBUNOqXE0an2W0pu773eZSlrcRYYlgAHOzP0Iq6I5md0Q2Nt7t245BzEffuX8KadXg+JBEcWAvbmj4MSy3GnBSbLgB6eWQH+nD7vS78cKpdtXGTgGREHhDh44lkbAvdPlqOVVnh0hcvMhRKTfxzXjpPL4zsppOB8I6+0TTO7/Yv2EoE35aUDRMAgK/JxD33tKofA/jiPK9MbsJs4e+A3BmU9xYKcUuxe5n8Zz8j2i78D0lkcF+ta/0hFhZ04n1bTvV+nE4ehJDxVr0ttyEU9kUth/RMTgSm8WSly11Sik6mzo9lYRA055ccclSB231ZSCMaFJgRDqCoumsBuKhbrkcAT63dXfhxqc3j1gqfUb9M++RPRRZU/Ql/uwDjeWqoZJglph//POo9o8AySbAG0HviUN4yL4HudRiXHd+2eRlP9rOE5pjLmrej2WpfQhSC5CpXq2If2okxJaDfslgoI+wdrlbAuLp3UW1CkegqX4uO8fF7MaJgaA1aDzrsxKIR07KVhngU0GIDxU8pF7qzOP57Vkt++MKz3S4jJoj8kEdf/K+hpJo0kdrNGx/AItPfB6hl8HRbBt+WPwDZP2EKmB802pNSFJ3XzeBiGY8gLlNNi5exPZH+mwnB0O82GWAkCr8sn5FQtdfCOBnLxXBzD5uBOKK5a46h9lKYimKuXUe1yEOA0RpzdqyR39lVtMjJ2W1HeLuX+SBfaLoodE8fOPl/QW8uDNbaicaF0/xGBGB+O831ynRpCHQMRmGVIqBhcH+fjQ01CCZTCrCc82YCcJtDeUZu+uIj30EIqLCghYLaxaX6+SO9wf4eadX+p1pQ9euKgPxxI4iBjK6momiae35LuY1ayAqxRKH+crZBISU0n7qJN7/i1aVnyn66FDJCuYBHGwR11XA1peZUm9E0jjdp0SVCm+4Av/tXTUlHWFAEGA4RqrOxEOjITJ5i7Ec1FfbmFVvqaVf05eJi/xs1cDEORK0tcHCRYvKQBztDbDpFaa76K2p1sL1F+o+UBzeY9s0EEY0Xb3CRXuLXr6NA0GxZIDYfjZwxHMn5fXCxr1egIuLNOujVMfSU1AksPdgEdt253WHzGhqjVspju6Qy5P/9berIyBMG0tyRKBWz7SYYgjDRsG3VFcBNpQfHmNaJHtu8PECAs21Vqk9NnOY4qmdR/sCPLsn6o7DFhB1Fm5YU+aIR7YU0T+iK/LIEVevTGDBrIgjonHy7awB4sUBufIX0fLPeQHe4vkQ5qknShwZMKL9zkNF7NhdKPXeUF5spQCNZNTtv5lGWz1tfmU3mRa7CgweoipLdQ9lJSyM9UKisac3ezURHDZhZ0J0U60ocQ1FHnUBfxscDdE3rNONLl7mlvpH/XhzQXETNx67bkUCC1rLQBgdUQKiWy8MnWIeLnOgTF7T660jtvbKucLGp0Pg1qKHhEpVjD+UKdqPc0TnYQ8790RAxKSt9inGi6nqpMBlyxx0tFqY1WCpRim6QXo87FFWmZWhEHNKHsGSKxK8d1jnIfE07FTA81IkmQePlDL2AOw64uFIr+YyZvatW5VAR5tuphI/twLiF13VqCMmAsKy7Mzroqyf6ZW1VRY+Ztn4T56PevP8H2VvVxC/xBURSPsOedixp1gySyuJX4IioqpSlJJZhGxaYqGtQaK9RWBRq6tKtvSypVHo5VTK0o2bKGEMY3IgHTTWX58aCpX4IaFZmUqHbVadpcqHjaHAlCE2ViFXsZPBREAwOrP3WIht1BEVHPG6ALF1UN5oAX8TSrSbInnThMRwhHmPiybDKRQFh7p9dPcEGB7RuVYTJ6dNNL+BgZEiuvtzKnv83OVprFycwtJmG+11NpiQZiyv8bw1vU8cG5Uzn40xMiaViU2Ttq1RP2OIllw81hIXTVzV3XOcK5y/BCCe7ZFLalLY7RWhFgwVqWKdwczsLT0Zy4ipOJfEHmvGPNKevgAnTwUYHAqirscVRKvAYyBTQM+Azm+c05FC65yEWg2sSVporbEwt9ZGWxXQmGSRTLmBvDnrxPCWy8BKNgS5JuKEnqEQAyNah3BF8YLI8vqVAfHZ74+2tcxKHp/XbNm0SLjoo1b2IlDMKl9JRMV1RrRvuMSIMJVTRRlelOgfCtBDUAZZb61JVskt/SNlIJYtr8KijpRO21SrgVG7bNWIHWBCCSvQGlxGvT3Ma3JU9zJTfzdZeH3cVDAOv+n74fGpXOPFk1HWe39ZHLFho0wli36PlGEdKzOp5OY0U9npxOISKLGnKY5T4AaYiENUblNsnw9TMo8/o9jq6wswMBiikC+DMjBSwIn+HJqbXKy9ol5lI6p6vSh3Vqc/ainOt/6BIh5+cgAneooqort8fvrYR99W+88tTc4az5MXC4FGpeOiJrxTCbG4figp7MiPoGhSsSajIwpBcPBERghhbXvNlfUXng6+GQbyXazC0s9u0yk1fF4bZSlBYWV/XIGf9pjLCTjF6BDNTRoQ/UhM3dBkoD/A4ECAvqEimmdZWLm8OmrsHnvohwEg6nT5/NYRbNo6HBWhOKFt2V8ZSxT+y5F7Fg6SiAcPylSxFqsCgbWOjXWhxKVSYi4TcCo7GVQadZWeNbmCynrnIYY4BIbzSnA9sOXA8CeTvYX+1xwIDuh/Pifn+X74NuGId4dBeKUMkdCPCePz2nQX4rYm/SA9ztS4zpiQQ+h5R2GEOGi0iNRj1yLxYKKwatZHnWlKMj3a4fW7ewp4eOMAegc8tVYOYe2zID/8yhfanzjTjN+4UTotq7DMEsEVlmWvFwKXh4FcwgQU0yKj8nrGd+E7zdeXjjA5LvzTA33W0yOW8/wPPqgfs/m6ABG/mb/amG0XjnOjbTs3eYG8MvTDBOvM+Fw3EoxgtDVZaKpjn1WhRVFciU+wb3SMeTeZdUamx2V7KSjLzjN+iKdeGMbmnboOWgjHg5BfHCoOfab3yytGpxI7lb9LKcXLA2h3gcukwHrHxpW+hxW2LZOqc07MGSVHHOzFse2HcMTzird+6m2pffHzve5AjAPledkuC+HbLVvcXCyGlwehTKgiSp3ticY6C3ObLfUubD6PNBI/MTAIlFHk5pHKkQ9XMgqMtVa6tgAOH8vjx08OYCjjq4ePCCF2ijD8vc4vzX/h1QJwpuM3d4+0VCdrL4bAOsfBVaGPCy1L1pHxgkB+bFmjPWGroF8qEPEb+PzPsvND33m7EM5NRT+83CenqBJZzSmM68xttRUorEJSFa8xQOI+yUScYcAoFkM8sWkIL+3lo2YY+HFyUsp7EM69d/+XROG1BGGic508Kav7Ev5FCctp8+rx0Aox8cPNf2VAxAf9Z49k5yNw3g7bualQDK7wfemy7puFk2TplgYL89psNDZEoLCyKVoVY3gvLqpKCcBcrD+Uw2PPDCEzxpQ99TjXTX4Y/H7XXy14+fUG4NWe/6wAIj7oT/8gu8CXzo1SOjcXPf9yL5Au83IpvsjeLY22AqWpkeFtoatbuTBjArBMo8wF2LhpBK8cyGrrTDgjYeB/+pXt+/4aT14bdZ56taR6fY8/64CI3+5//mZuoXTstwewbvK94DI/IKdE1pctMavJxrzZDurrLGV5DY4E2H+4gF2dY8jmQ139KsVj+Xzx9v1fWtD1+pLy33b2sxqI+K3d+U250Pdz7wiRuMn3/UuDQLpFz1ftgIIw1LXN7G7gk3tYbWT1e2H4yR33tH1NG7Nn9/ZrA0ScjB/8x9zCQijfIWHd5BWDS4t+6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",Vu={dotLoading:"dotLoading___dBe4t",showHide:"showHide___reCeF",progress:"progress___uv7ix"},co=y(59301);const xc=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Zu=()=>{const[oe,z]=(0,b.useState)(0),[te,ue]=(0,b.useState)(!1),[Se,Le]=(0,b.useState)(!0),qe=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(Se)return;const _n=()=>{z(Gn=>Gn>=99?(clearInterval(qe.current),99):Gn+1)};return qe.current=setInterval(_n,20),()=>clearInterval(qe.current)},[Se]);const st=()=>{z(0),ue(!0),Le(!1)},dt=(_n=0)=>{Le(!0),z(_n),ue(!1)},Gt=_n=>{const Gn=_n/1048576;let ar;return Gn<=.3?ar=3:Gn<=.5?ar=5:Gn<=1?ar=10:Gn<=2?ar=20:Gn<=3?ar=30:Gn<=10?ar=Gn*10:ar=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${ar}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},ln=()=>co.createElement("span",{className:Vu.dotLoading},co.createElement("span",null,"."),co.createElement("span",null,"."),co.createElement("span",null,"."));return{progress:oe,progressOpen:te,openProgress:st,closeProgress:dt,toggleLock:()=>Le(_n=>!_n),CreateProgressModal:(_n=xc,Gn)=>(typeof _n=="string"&&(_n=[_n,_n,_n]),co.createElement(pe.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:te,title:null,footer:null,width:500,afterClose:()=>z(0)},co.createElement(Cu.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},oe<=30&&co.createElement(co.Fragment,null,co.createElement("img",{src:Jl,alt:"Step 1"}),co.createElement("div",{className:"mt20 c-light-primary"},_n[0],ln())),oe>30&&oe<60&&co.createElement(co.Fragment,null,co.createElement("img",{src:Sc,alt:"Step 2"}),co.createElement("div",{className:"mt20 c-light-primary"},_n[1],ln())),oe>=60&&co.createElement(co.Fragment,null,co.createElement("img",{src:Wu,alt:"Step 3"}),co.createElement("div",{className:"mt20 c-light-primary"},_n[2],ln())),co.createElement(ql.Z,{className:Vu.progress,status:"active",style:{width:"auto"},size:[300,8],percent:oe}),!!Gn&&co.createElement("div",{className:"c-grey-999"},Gt(Gn)))))}},us=y(58617),Cc=y(84105),$u=y(32050),Uo={wrap:"wrap___hPGh_",chatContainer:"chatContainer___ujje8",btnContainer:"btnContainer____URZ0",btn:"btn___LkbTk",inputContainer:"inputContainer___nc82i",sendBtn:"sendBtn___mRwrP",sendBtnDisabled:"sendBtnDisabled___Vi3bC",cancelBtn:"cancelBtn___lN2nM",loadingWrp:"loadingWrp___rRQzp","dot-fade":"dot-fade___uG4qN"},Tc=({children:oe})=>{const z=(0,b.useRef)(null);return b.createElement("div",{ref:z,style:{position:"absolute",right:"0px",top:"40px",zIndex:1050}},oe)},Ku=Object.defineProperty,Fl=Object.defineProperties,Yu=Object.getOwnPropertyDescriptors,eu=Object.getOwnPropertySymbols,Ac=Object.prototype.hasOwnProperty,Ic=Object.prototype.propertyIsEnumerable,Xu=(oe,z,te)=>z in oe?Ku(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Wi=(oe,z)=>{for(var te in z||(z={}))Ac.call(z,te)&&Xu(oe,te,z[te]);if(eu)for(var te of eu(z))Ic.call(z,te)&&Xu(oe,te,z[te]);return oe},Qu=(oe,z)=>Fl(oe,Yu(z)),cu=(oe,z,te)=>new Promise((ue,Se)=>{var Le=dt=>{try{st(te.next(dt))}catch(Gt){Se(Gt)}},qe=dt=>{try{st(te.throw(dt))}catch(Gt){Se(Gt)}},st=dt=>dt.done?ue(dt.value):Promise.resolve(dt.value).then(Le,qe);st((te=te.apply(oe,z)).next())}),vs=({visible:oe,selectText:z,applyRefinedText:te,fetchUrl:ue,current:Se,shixun_generation_id:Le,noRestrictModal:qe})=>{var st;const[dt,Gt]=(0,b.useState)(!1),[ln,Tn]=(0,b.useState)([]),[_n,Gn]=(0,b.useState)(""),[ar,Yn]=(0,b.useState)(1),[Cr,Ar]=(0,b.useState)(""),[Br,Wr]=(0,b.useState)(!1),aa=(0,b.useRef)("stream"),ba=(0,b.useRef)(null),[na,ka]=(0,b.useState)(!1),[Ba,Ga]=(0,b.useState)(0),_a=(0,b.useRef)(!1),ei=((st=ln==null?void 0:ln[(ln==null?void 0:ln.length)-1])==null?void 0:st.loading)===!0;(0,b.useEffect)(()=>{if(oe){Yn(1);return}ka(!1),Gt(!1),Za(),Ga(0),Tn([]),Yn(0)},[oe]);const Za=()=>{var wa,oi;Gn(""),Ar(""),(oi=(wa=ba.current)==null?void 0:wa.cancelRequest)==null||oi.call(wa)},za=(...wa)=>cu(void 0,[...wa],function*(oi="",Li=ln){const Ei=Date.now(),no=[...Li,{text:oi,key:Ei,sender:"user",show:!0},{loading:!0,key:Ei,sender:"AI",show:!0}];Yn(2),Tn(no);const Ho={type:aa.current,content:oi,shixun_generation_id:Le};ba.current=new He(Fe.Z.API_SERVER+ue,Ho),yield new Promise(Zo=>{ba.current.on("data",cs=>{const{chunk:{msg:ts},full:ds}=cs,Oo=ts==="error";ka(!0),Ar(fo(ds)),Tn(Os=>Os.map((Rl,ru)=>ru===Os.length-1?Qu(Wi({},Rl),{text:ds,loading:!1,error:Oo}):Rl))}),ba.current.on("done",()=>Zo()),ba.current.on("error",cs=>{const ts="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call(cs)==="[object Object]"&&cs.status===-9&&(Yn(1),qe(cs.data)),Tn(ds=>ds.map((Oo,Os)=>Os===ds.length-1?Qu(Wi({},Oo),{text:ts,loading:!1,error:!0}):Oo)),Zo()}),ba.current.on("cancelled",()=>Zo()),ba.current.startStream()}),Gt(!1)}),hr=wa=>{Gn(wa.target.value)},ca=wa=>wa.reduce((Li,Ei)=>{if(Ei.sender==="user"){const no=wa.find(Ho=>Ho.key===Ei.key&&Ho.sender==="AI");no&&(no!=null&&no.text)&&!(no!=null&&no.error)&&Li.push({question:Ei.text,answer:no.text})}return Li},[]),Si=()=>{if(xa)return;const wa=hi("\u6539\u5199");Za(),Gt(!0),za(wa)},ji=wa=>{if(wa.key==="Enter"&&!wa.shiftKey){if(wa.preventDefault(),_a.current||es)return;Si()}},zo=()=>{var wa,oi;Ga(Li=>Li+1),(oi=(wa=ba.current)==null?void 0:wa.cancelRequest)==null||oi.call(wa),Gt(!1),ka(!1)},oo=[[2,3].includes(Se)&&{key:"4",label:b.createElement("span",null," ",b.createElement("img",{src:y(81694),width:16,style:{marginRight:"10px"}}),"\u4EE3\u7801\u4F18\u5316")},[2,3].includes(Se)&&{key:"5",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-daimazhushi1 font14 mr10"}),"\u4EE3\u7801\u6CE8\u91CA")},Se==4&&{key:"6",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-ceshiyongli1 font14 mr10"}),"\u589E\u52A0\u6D4B\u8BD5\u7528\u4F8B")},Se==4&&{key:"7",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-bianjieceshiyongli font14 mr10"}),"\u589E\u52A0\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B")}].filter(wa=>!!wa),fo=(wa="")=>{const oi=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((Li,Ei)=>{oi.push(`\u7B54\u6848${Ei+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ei+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Ei+1})\u8F93\u51FA\uFF1A`)}),oi.forEach(Li=>{const Ei=new RegExp(Li,"g");wa=wa.replace(Ei,`**${Li}** `)}),wa},hi=wa=>wa==="\u6539\u5199"?`${_n}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${z}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`:wa=="\u589E\u52A0\u4E00\u6761\u6D4B\u8BD5\u7528\u4F8B"||wa=="\u589E\u52A0\u4E00\u6761\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B"?wa:`${z}\uFF0C${wa}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u6709\u591A\u4F59\u7684\u89E3\u6790\u548C\u5176\u4ED6\u5185\u5BB9`,po=wa=>{let oi="";wa.key==="4"&&(oi=hi("\u4EE3\u7801\u4F18\u5316"),aa.current="stream"),wa.key==="5"&&(oi=hi("\u4EE3\u7801\u6CE8\u91CA"),aa.current="stream"),wa.key==="6"&&(oi=hi("\u589E\u52A0\u4E00\u6761\u6D4B\u8BD5\u7528\u4F8B"),aa.current="regenerate_test_set"),wa.key==="7"&&(oi=hi("\u589E\u52A0\u4E00\u6761\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B"),aa.current="regenerate_test_set"),Za(),Gt(!0),za(oi)},Zi=()=>{const wa=ln.splice(ln.length-2),{text:oi}=(wa==null?void 0:wa[0])||{};Za(),Gt(!0),za(oi,ln)},es=dt||na,xa=(_n==null?void 0:_n.trim())==="";return oe?b.createElement(we.Z,{open:xa&&!es&&(Br||!Cr),overlayStyle:{minWidth:200},menu:{items:oo,onClick:po}},b.createElement(Tc,null,b.createElement("div",{className:Uo.wrap},ar===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:Uo.chatContainer},ei&&b.createElement("div",{className:Uo.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Cr&&b.createElement(ul,{cancelIndex:Ba,streamingStatus:dt,loadImage:!1,onFinish:()=>cu(void 0,null,function*(){Ga(0),setTimeout(()=>ka(!1),0)}),value:Cr})),b.createElement("div",{className:Uo.btnContainer},b.createElement("div",{onClick:()=>{if(na){he.ZP.warning("\u7B49\u5927\u6A21\u578B\u56DE\u7B54\u5B8C\u624D\u53EF\u64CD\u4F5C");return}te(!0,Cr)},className:Uo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>{if(na){he.ZP.warning("\u7B49\u5927\u6A21\u578B\u56DE\u7B54\u5B8C\u624D\u53EF\u64CD\u4F5C");return}te(!1,Cr)},className:Uo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(rt.CopyToClipboard,{text:Cr,onCopy:()=>he.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("div",{className:Uo.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Zi,className:Uo.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(be.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{Yn(1),Za(),Tn([])},className:Uo.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:Uo.inputContainer},b.createElement(Re.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:_n,bordered:!1,onFocus:()=>Wr(!0),onBlur:()=>setTimeout(()=>Wr(!1),300),onChange:hr,onPressEnter:ji,onCompositionStart:()=>_a.current=!0,onCompositionEnd:()=>_a.current=!1}),na?b.createElement("div",{className:`iconfont icon-tingzhihuida ${Uo.cancelBtn}`,onClick:zo}):b.createElement(Oe.ZP,{className:xa?Uo.sendBtnDisabled:Uo.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:es,onClick:Si}))))):b.createElement(b.Fragment,null)},tu={toolbar:"toolbar___LTwsU","chat-dialog":"chat-dialog___mM36q",button_wrp:"button_wrp___heDhJ",button:"button___HbMjJ",button_span:"button_span___oBS2M"},wu=Object.defineProperty,Tu=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,Ju=Object.prototype.propertyIsEnumerable,Au=(oe,z,te)=>z in oe?wu(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,ec=(oe,z)=>{for(var te in z||(z={}))qu.call(z,te)&&Au(oe,te,z[te]);if(Tu)for(var te of Tu(z))Ju.call(z,te)&&Au(oe,te,z[te]);return oe};const Hc=oe=>React.createElement("svg",ec({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var Iu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Di=({nodeRef:oe,noRestrictModal:z,onSuccess:te,current:ue,valueHtml:Se,shixun_generation_id:Le})=>{const[qe,st]=(0,b.useState)(null),[dt,Gt]=(0,b.useState)(!1),ln=(0,b.useRef)(null),Tn=(Gn=!0,ar)=>{te(Gn?ar:Se+" "+ar),Gt(!1),st(new Date)},_n=()=>{Gt(!dt)};return(0,b.useEffect)(()=>{ue&&Gt(!1)},[ue]),b.createElement("section",{ref:ln},b.createElement("div",{className:tu.button_wrp},b.createElement("div",{className:tu.button,onClick:_n},b.createElement("img",{src:Iu})),b.createElement(vs,{current:ue,shixun_generation_id:Le,key:JSON.stringify(qe),noRestrictModal:z,visible:dt,selectText:Se,applyRefinedText:Tn,fetchUrl:"/api/stream/ai/shixuns/create_stream.json"})))},tc={toolbar:"toolbar___l1EsZ","chat-dialog":"chat-dialog___VsRFp",button_wrp:"button_wrp___EVZax",button:"button___B9Im0",button_span:"button_span___CqWPB"},Rc=y(39116),Oc=({nodeRef:oe,noRestrictModal:z,onSuccess:te,current:ue,valueHtml:Se,onCancel:Le})=>{const[qe,st]=(0,b.useState)(!1),dt=(0,b.useRef)(null),[Gt,ln]=(0,b.useState)(""),[Tn,_n]=(0,b.useState)(Se),Gn=()=>{st(!qe),_n(Se)};(0,b.useEffect)(()=>{ue&&st(!1)},[ue]);const ar=Yn=>{ln(Yn)};return b.createElement("section",{ref:dt},b.createElement("div",{className:tc.button_wrp},b.createElement("i",{className:"iconfont icon-bianji-moren",style:{color:"rgba(48,97,208,0.5)",marginRight:"20px",cursor:"pointer"},onClick:Gn})),b.createElement(pe.default,{centered:!0,open:qe,title:"\u7F16\u8F91\u5185\u5BB9",width:1e3,onCancel:()=>{st(!1),Le(),_n("")},onOk:()=>{te(Tn),st(!1)}},b.createElement(Rc.Z,{defaultValue:Tn,height:400,onChange:Yn=>{_n(Yn)}})))},Nl={wrap:"wrap___MVrHX",edit:"edit___N3N3G",tree:"tree___mdaql",code:"code___tFqtF"},kc=y(18287),to=y(34728);const jc=oe=>{if(!oe||oe.trim()==="")return"other";const z=oe.split(/[\\/]/).pop(),te=z.split(".").pop();if(!te||te.trim()===""||te===z)return"other";const ue=te.toLowerCase(),Se=["py","h","c","cpp","cc","java","php","html","css","scss","go","r","graphql","swift","xml","yaml","json","lua","scheme","less","ini","coffee","litcoffee","js","cs","kt","md","sql","m","mm","pas","perl","ejs","pl","rb","rs","rust","sh","makefile","circ","readme","yml","sml","thy","conf","txt","gitignore","in","cu","gemfile","scala","net","l","v","config","properties","log","htm","cnf","hex","bat","asm","bash","ts","tsx","sass","jsx","jsp","gitkeep","sv","hql","y","jj","pls","sol","ignore","ctrl","vue","tex","bib","cls","bst","log","toc","sty","g4","sy","cfg","s","ll","mml","hpp","api","vhdl","lex","gradle"],Le=["jpg","jpeg","png","gif","webp","bmp"],qe=["avi","mp4","mov"],st=["mp3","wav","ogg"],dt=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];return ue==="tex"?"latex":ue==="pdf"?"pdf":Se.includes(ue)?"txt":Le.includes(ue)?"image":qe.includes(ue)?"video":st.includes(ue)?"audio":dt.includes(ue)?"office":"other"},Dc=oe=>{if(!oe||oe.trim()==="")return"shell";const z=oe.split(/[\\/]/).pop(),te=z.split(".").pop();if(!te||te.trim()===""||te===z)return"shell";const ue=te.toLowerCase();switch(ue){case"py":return"python";case"h":case"c":case"g4":case"sy":case"l":case"y":case"ll":return"c";case"cc":case"cxx":case"c++":case"cu":case"hpp":return"cpp";case"cpp":case"java":case"php":case"html":case"css":case"scss":case"go":case"r":case"graphql":case"swift":case"xml":case"yaml":case"json":case"lua":case"scala":case"scheme":case"less":case"ini":case"jpg":case"jpeg":case"png":case"gif":case"webp":case"bmp":case"avi":case"mp4":case"mov":case"mp3":case"wav":case"ogg":case"vhdl":return ue;case"coffee":case"litcoffee":return"coffeescript";case"js":return"javascript";case"ejs":case"vue":return"html";case"cs":return"csharp";case"kt":return"kotlin";case"md":return"markdown";case"sql":case"ctrl":return"mysql";case"m":case"mm":return"objective-c";case"pas":return"pascal";case"perl":case"pl":return"perl";case"rb":return"ruby";case"rs":case"rust":return"rust";case"sol":return"solidity";default:return"shell"}},nc=(oe,z="")=>{let te=[];return oe.forEach(ue=>{const Se=z?`${z}/${ue.title}`:ue.title;if(ue.isLeaf){const Le=ue.title,qe=Dc(Le);te.push({key:ue.key,content:ue.fileContent,language:qe,mdLanguage:ue.language,filename:Le})}ue.children&&ue.children.length>0&&(te=te.concat(nc(ue.children,Se)))}),te},Nu=`**\u6587\u4EF6\u540D\u79F0**: src/main.py +`),xa),vi=()=>{clearTimeout(Gi.current),Gi.current=setTimeout(()=>{const xa=mr.current.firstElementChild.cloneNode(!0);xa.querySelectorAll("code[data-text], mathx[data-text]").forEach(Mi=>{let Si=Mi.getAttribute("data-text");Si=Si.replace(/```.*\n|\n```/g,"");const ho=document.createTextNode(Si);Mi.parentNode.replaceChild(ho,Mi)});const si=xa.innerHTML;z(si)},500)};(0,b.useEffect)(()=>{Li(),ka(Ga+1),qr(oe)},[oe]),(0,b.useEffect)(()=>{if(!Oa&&(mr!=null&&mr.current)){const xa=mr.current.querySelector('h2[data-type="title"]');if(xa){const Ta=xa.textContent;Ya(Ta)}}},[Oa]),(0,b.useEffect)(()=>{An==null||An({contentRef:mr,status:oo,value:jr,examName:ni,open:es,close:Li})},[oo,jr,ni]);const es=xa=>lu(void 0,null,function*(){kr(!0),qr(""),na(0);const Ta=Me;xa!=null&&xa.fetchUrl&&delete xa.fetchUrl,Wa.current=new ze(`${Fe.Z.API_SERVER}${Ta}`,xa),yield new Promise((si,Mi)=>{Wa.current.on("data",Si=>{let{chunk:{content:ho,type:ts}}=Si;Fa(!0),ts==="text"&&qr(_o=>po(_o+ho))}),Wa.current.on("done",()=>{si()}),Wa.current.on("error",Si=>{si(),Ee==null||Ee(Si)}),Wa.current.on("cancelled",()=>{si(),ue==null||ue()}),Wa.current.startStream()}),kr(!1)}),Li=()=>{var xa,Ta;na(1),(Ta=(xa=Wa.current)==null?void 0:xa.cancelRequest)==null||Ta.call(xa),kr(!1),Fa(!1)},Zo=(0,b.useMemo)(()=>mr.current?b.createElement(hc,{current:Cr,shixun_generation_id:ir,noRestrictModal:Xe,nodeRef:mr,onSuccess:vi}):b.createElement(b.Fragment,null),[mr.current,Cr]);return b.createElement(b.Fragment,null,b.createElement("div",{className:Pl()(at.container,Fn),style:Hn,ref:Ci},b.createElement("div",{ref:mr,onInput:vi,className:at.liWrap,contentEditable:lt&&!oo},jr&&b.createElement(ll,{key:Ga,cancelIndex:Sa,streamingStatus:Tr,loadImage:!1,onFinish:()=>lu(void 0,null,function*(){if(oo){if(na(0),setTimeout(()=>Fa(!1),0),jr==="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!"){Ee==null||Ee(jr);return}te==null||te(jr)}}),value:jr})),!jr&&!oo&&b.createElement("div",{className:at.imgBox},b.createElement("img",{width:56,src:mc}),b.createElement("span",null,"\u9884\u89C8\u533A")),sn&&oo&&b.createElement(Xs,{text:zt}),!Fo&&b.createElement("div",{className:at.backBottom,onClick:()=>{Ci.current.scrollTop=Ci.current.scrollHeight}},b.createElement("i",{className:"iconfont icon-huidaodibu"})),b.createElement("div",{ref:sa})),!oo&<&&Xn&&Zo)},Bl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZaBO4CXwBUL6hMFiA0zdDuuYDfcLyQQJaBJwG0QAo906gcAXMiInCOtuPQQ80gI4GKgYQ/dhSShNbPtDRdwGhsFw+z6JswWdTbV3/sH//3fXTAXlaAIV1qmr9RKnwAmGVsmxsLCxLgLA0eFiOBkyflzDQEWDknB3Qj11CxyVwxGxdlDAvIaZs4dsODcfFd1yU62hw5bgngRhZrkZSgxabcARiIOD5+m8CoO2H2EFAMgg1E1Gefs4Vc1cCYGTC2pwFKAOSvMdcrMgAwiBirUZVAww84dq5a07Hxt8B8OwF568Lg/BOpawFMeKhsE8g1GBoz2HAi1gjIIdizhpcB+UIwwQ0Y7o4Ll7CJpB7x6HhCnjGtBF2atuVKz6HgdqMIybGptv0h7H5+gZEP8QKAg2G64vPUziBp38X1rmRyRqmikkLMw2A2pfKY5TxvGGAChVi3vJ9bDdB6DXEvx7DVVcfG316x1wmngSgMI86W5VSC+Sk9DmIjxP2aZbY2o8JgJb2fbZmTmijnxczFjZp5kVAavAEMM0+h4btUpOvKsdOJ+jubGPxvB6WDnQz2N1JX0cLLckkthxPKSqez8hUieGJKQ6PTDI0MslEYRpqdcMi8VlitoGYrAAakggDkn6gnxNAxEcKeG4UdJSAqAzzxFdqAHUAkvMV9sot0OdpOy5h4BmmYx1zbeu8w+Nbm36xCWDk8x4EdYHxPtoj6J9QM8OwT4NoxQBa4EqgEFBDzTYBOpTn5IMdh8ARP2dTtx3KoSLZkmHdmYt5yaZVvHDtSlYvHqCvo5WEI0z8n38CFTJeLLH76BiP7dzHPU/v4annD1MWQOV0tUn6mnlpDaqnmSl+UUBpAhj70ZiBmqECZuQmmiCKl9d2bBgrEGI9ke7suTT2iU0A1wyc/wlF+BElB9XxSMw2cg+RtFDa94npxicq5mprJirHQv9dmOca36fcBFUcaipgwWAvr7h8M6+74kLOXbnk9wBmvmRsuf+rRAD2HB3hp488w/f+ewvbdw+B72n2pgIfV4NpfKOAY4KGidQmmAgzxdfJc/JYAAzQGEQ+Us5Vu/bopOVvoRV8cnji6Y/GYQ4xXavOfgU5/WQY+Thjwdq5a0aKsoj8lDyvfaA2azFbGxz5tIRmYMOCWqAYXNjHH7/uCt78ihcz0NPVpJj+krGfOw3xIr8e+/fZi9mEN+JD9N5Kvc6dj/6GL9x2F49s3a2ByVniCyWAiH8UE/VNJI4itQEwMJcsFLMW4MS/CmBREJEz1xpXXhUSmiBTdm1rhZiyfu/Zg5u/FIbqHSedhxKZIuZrcLZxDZg6WhqA5doIA0XbKdfCkcBhu1TFB2VTvPHal3D9n7yW+X095rT/B9D0Z5mIp32u4UXsQiJTiExiFnexFnAUuOLwAS8IuP2eLXzqltvZvuMQrQkLV4trMVHfBJsoMscM1A5IP2f8oS3W43va7G0cLcuUsrBVSCC+U5tz8OWjk0+/07p29bXJXVNHxkG1yQnOUsQAKNJEvpptuVrviYDWQCoxWfF3Rn4oV553qHoe6zes5KPvezsXbFr3vwLnR4wyelKAU/ri+NqrGhdiwDRgGddioBURL08KcOJBkwoSlkUKmCqV+fTXf8QXv/lTGtUGWccyJhyzUY4R+TxbzFL8p85yogynCYT2ezpIykUIQ/ONUUy3zFvUa60ZuPBKrOCXMUPi9ylhoDbTyNIliOhMa46UETA1gA6enLgDf/KWV/Ge6/+E1pacZpx+92lMVX9XFL6I7wgkiXvy9eRdvgL5XUDVaZ64J0ucuoFR/1eBp/WuAVCAS1qKpAVpbLLA/Vu2ceNNX+LAniPkUrY24aYmNCetQRUGyt+EdXJcZ67zsCzcREq/zm809LfS5+YEV1lr5p/3RaV456luSKuiiJCGhY5mojZhfROAjQ+sBQGdPTlu+ugNvPoVL/m9rNOMlo/X4Bi2iYsQ8OV3XxkAJR0MlAAnv1t4+n3ydQyAcZiTDxKg7XpIQomvAteGpA0pG9IWtFs2x0cneNcH/5Vf3fsErSk3ki5yaYzvE9MVQCRzEVzE9kxaZ1JLycKMx1X4vqfzaP1tFF+y1gyc94CCS08FEGUSem1CIpC1LpSAEWk4eWzZVPw6q9Yu5zM3f5C1Z686LetElMpXEhAEKAFGHouZCgD6XsxWWfiW0oDJTcAz7zHfQ0A1+tfIDu3WlSJRMSmc2IjjiC8G17FJuZByLFpEKdTqfPimz/P9795NS8I1/k2D97uFClvz3nym0Ybm4hnCCsjNLOVBa/X8zXtUGK78HVOLTFgYIvDJlTAMnNWD5XqNy696AZ/65w/S19sTBYnI5CPzCCW31B9q42lWmZtvSwVHTNCiEYEm7JPfNSOlwCDgis8OfiuwAkUQWBgRLGYXgyiRNsRRBkDXVtrpJ20b17VxXIuUa5FNOqR+W/L4xMf+ne987UdkUgkNXnwTwa19qy7YSF5s/GKEmqngaCJEYttcwb3WmoHNM6EKW04F0BKHpp2nMTN9NSxH3wTPuufxmjdfxSf//n2k0xmTe2ubMFdUf5gGLyQIQ104EX+lTRNHp3RSXGhIWUuADAUk8HwxE0XghzpLCwJ5b4gv6ZUAqY9tbnJSWmUJ80SyWEp7F8kQXQHQcXBdi4Rrk0jYpJMuGRf+4cOf5bvfuoN0Ookzp0ghzDPkjtO7yEfGsTXK/ZUS29A+uWStmrdRBNnJzl6br6Rvhk3CPA1ilPs2PI9LX7KRL93yUZJJKSjI+zNYpCP8fANgaMCTmpwOCsKi0JLUlUA5eLZLPenQEP/nKTwvJPA8Ql8AC/HkdYG8XzI0UzURVmpf2BSKJoe1hXni7LG0H7QdheMYBrqOOwtiJkHaVnz4+k9w1x3305pK6YusCwvaJfq6xGUIoEy5KzJnxzWs9X0pFZrs6/QAats3TBO/JwDHmkxMuNbw+Mq3P8QVV11AGNT0VRcJA0mUSqNC25ysZp5hoR8DISzTwMTm6mhmNnyFp0010EDLa+T5UF8AqRcoDapIF00areqNg9J5k7BPg2frmqx8nYRtwBQGuq6Lk7BxkxbZTJqwVuX6697Lzm27SCQTWJKxxHJGGG5s2fjAKIDNif/6YumQtqp/kzp9RiDlqygD0bmu6DOp3SlqNY+bP38jr3vTZajQlMmMn5SrliQIMvi+pU9eKhuBgKLv5SZ+zZikF1g0BCj9N2gEwk5l/i6vUwKkMVdPqldKGByVPDWQca5q+CDsEyY6otkkMbItEnbEQg2iMWU34dLSluHE0BGuf/N7KExMaf2oy2YRt0xxQT5DK1MDlnZT5sIZLaywVg+cN0c9nxyLNYBSAxQGCj5KvATUag1e+qqL+eLX34cKa+ZDmyFLImOSej2tARP/JSYcil/T4MS3ECmeNCJGCmgapMDCCwVAAc+wT9joC7jaLRjpEuvIOGRpcSMmbCksYZ4uRSnjCwVEyUhcBzcpIDokki7tnS089ssH+diNf29MNTZZqW/qanUsZgwbtUlHPtePGXp6ACOy6oChS6m60uxE0qZS83jv313HO258DSg/Kv/IVTF5g3ys56Wp1oSNxiQ1kEGgA4QBMQLJtzRwkoLJfRM4MWntbwRQS/tC8Z0ieA2AIoWiml6co2jNZtoqUlBwI0mTiHyhI0FFwEs4JJMObsqlvaOVr37q37ntlttJpxM62zBhxDDQtpwo+zCBcTYrjl5zWgBN0ostdh7lvnEwkftkJsE3vv9x1p2zWJtMJJSM37CihCy0KFeyVGtWEzwBUAcI7e/MvTZVX9HQDJR7A6YwVszXgCogm98FQLE0KW0JiEZYaAeiGajlfuwD5XeJyDoaS+UtNmMB0cVNOiRzaS2kP/jW97Nvxx6SbiIy2CiINHszAqzRjXGVSCuBUwGc9YfxyyQaGzOW7+p7IWs3nsFXvvNhOruyphBpJH2kdaKCJCF+PUFhJkXdM8FE+cJGP5IpApZPIAzzFXU/0GAKYA2RMMJSAVuDKr4yei5mofaNcbIUgRhpVrmorliMZqC51wA6ThSNJTVzdfBwkwlyHS3s3b6Tj7zjb1HiL/SpmvOJSvpRIDFNKGOfkQ49HQNPBjEq5+vMw6JWrfPGt17NRz75Z5GEidOeSNHbkVIXYAOYnkkzVbIJIvBC3ze6zg81cJ4f0PBF/xmfKL/r5/VrjJAWRgoz5bH4UfGNwkQDoKlcxzpW68CmHrQNiBpACzFlE0jElE0wEQDdtEtbZzvf+uzX+Ol//JhUOmly4ij7MJF41gdq1pumE9aa/vOMjDvlx4BoTNlEWANktd7g4595B2/4wxebdoY+ji6sRaZsul7KkpI6eDWb0XySai0gFMZFZqzN1BOwQhqeMWctZQQ0DWJIQ7NQQPX13+qeT8NrUK97NDxhr1yMOZFYm6wA5JIUhiUShmUClASQ2ITlPiEC29V+UG7pbJZGrcaH3/YBxk+M4ugi8mz0NYEyqgKJbIr0qGQisRhoQjjLQANaXCU2XTO45baPsPmCs0xvuFlwMlcIKypQKd80sgPIF5KMFmx8QUdMODQnH3iBdgkaLJ2BCBsVjYZPrV6lVqlSmalTKdaoTTVoTAf4MxZBycFqJCBwsKTSoRztry05KyfAckKcdIid87HaFE47JNoTpNqypFuypDNZEqmUAVpHZWFhgpauDu77+b06qKQTSd1tnDVh8zjmpdaeysJaM3+zOqkOeFL5yWjBqCyta3Gt7Vm+9/NPsmRpf8ROYZvxF6a9HkjJW5fGNYCholFxODzqUioHqEBYU9fBRMzamLJPvVajMlOinK9SGVXUx238QoagkKNeFAYrGvWQehBQF0bi0VBSGTGmLMVOuaBJHDKkyDopWhJJsklhF7g5H5WrErbPoLrLWAOKdG8b6Y4O0pmMNuV0No2dSPCJ93yMQ8/v18J7rvk2fV/U7tTF+bMHNptaye+kc3HR1DSQBEhx7AuWztMAdnVK+qyTn0gDxjXkkMAyVV+doIuYDmB03GZoTOSN9Cl8PS0QNCqUCjOURqpUhm2qR1uZOZGmkFeMVMqM1ork/TzFcIoKRTxVJVANfMsjkLqOmG9UhtfOXWSHTCmEDnbo4KoUSZUl52TpTvQwkJ7P4tZ+5rd00dLhEfaN4y+ewl2eJN3XQyqbo6WzlScf3coXPvk5ktKz1jBYUQkrzseESgKuQspZ2gWfmo3oGpgvJXsBVwS1hd8IWXXuMm798cdIp6V8qQtKBkRdrjCFpzAardBlHwExgEpJsWtIUZiuEVamqY0XqR6ymD6Y48Swxd7JIkMzo4zURymGeWqU8KkQIO1Lya2lX+tFmUEUqLTbjT7f5HdGzgiQODha1ri4KkmKHGknA36CZJBjeXYFmzo3cua8QRILR/HOGsM9q4VMbxduKss/f/CfOLBrt/afuoURFUjiIp98gpxfM4j8LoBS1TT5sBFW4DVCNr9wDd/4wU04MlWg2RXgOIE2Y3GyoVTxdBoUlZ0kRwstwkaDZ7fn2fbACN5QK6UTreweKfBsfh/H6keYJo8flvFVjTBsmOa3BidqNcYZvakrzbnFlbu49RiBGmUW+upJO9V2WNbfy8rFS/FqOQ4PzZCfLDE/McgfDLyYTYtXopaOEW4o07Z6Hk//+jm+/Kl/1xE7znZ02T+qhovZiZGdBGDc9DFdABN95V70mjj4Wt3j8pedz5e/+l5qpQq5eYNM1JJY0xP0zxPfZ2rOtmaLcbp6Ciq08Epl7vvWGLvv6mJ3fpJH808w3DhMTRXxwjJB0GgyuFn+iEGbLWUYQKNsYbYkE8WyGNgozdLxLZI4kif3d+bYtHY5Z6xcjJNIMjxUZ9tTE5wYmWJNxzLevPIN9A0kaWw6hr0qxWf/4ascPXAYO2F4p88n6j/H+vq0JqxJZ7lac4k8Wb1mKavOOZv2vnms3XgWC+a3cc9t97N5wyDzL7ucXfvLrG2bZHCxlLNMOmeKnrONm92/muK+L2S55+BzPDrzAKVwnEYwJUmfCeSR1opUbPTcbEHTSITo9yaAc5+LDxKxc44siyNpVzbD+jMXs2r1Ut2CyLamyedrPPTTExwaztOSDnn3yg+wtK+bxoZ93Hf8YX56x4O6AKFTOx1G55TSBMymD9RaL57Mi+ZfwoD33vRWrnntFYR+g+zAMkokkWrY8dEi933+Fl5w1Xp2+EvpKR7hmhf34GallmtahHq8BJg+WuaOj9r89PGd3Dt9N+VwhCAsz4I2hykGp2aKMfs4Eq5NoJuAz77WREzj6ON6oakjGSPMJVOsWTrIunXL6O3tIJ1L6ADx0MO/YejZgHytyoJsK3+38N9o7a1ycPWDfOHn/0m9XtcuRSxsVtRFbDxbV2PigmpU/8OiWqvyJ3/1Wj788etBVZkYneHIRJly7zLKDQiqAcee3k6w+1HaN7yQI7uOc+2VPaxYOy+a44sooBRbb63yn58rcNvobUx4BwmDyhw2nQJWTKo55fST2BeJ2SbB5qRbUddiVrfG/kp/mk3aznB23zI2bFhE98Is6VwSlbB4+qk9PPzYdjo4k5Hac9zQ809c2v1CKuc+x2ee+TTDo2NIQG5eClN6MkFEZIyOpdFYngQTkRqr1i3lP35yMy05GT+toRqwfU+JA6MBx0oOqlYlqFeYeuZRVqxaxN7Dio2rE1zzxvVY0h6Lrnt10uP7f9PgGw8+yK8r9xD4Mscyh2VN9sWBIQY+QjKy2qgiGR03LqbOsVP9UNgXT7fO/i1m4XzO5j3W9aztSLPtykepzq9guzbP7TzIL+97GjfoxA9rXORcwdva34Vaf4hPH/o4wxOjOh1supAmN8SE528+qR4oL6t7DT7z5ffzytdehgqmsPw6QdnnxEiNBx45yqGiRb1aJWjUmRo6yMpFaSaK7eSSNW5418W09eXMZ9lw+LEaX/ybSW498j1Ga3tNj605nxfLkNjy5rCxyaO4mRl1407F7KTfTw9gbNZreQX/yj8x4E5z16u/w8zCaZyEy+7dh/jlvduo1RRZt40z/FVc3/4hwjWHufnQxymUZ3RRotnqnOtf1w1eYNLmqEwjueW8BV385J7P096RQIUVrHqDRrFGIV/h7rt2s/NoiVK5qjXezHiB3nZFrmMBhbECN974AlaeI6OFugLLw7eU+NJnn+eOqdupeRMmq9GsMwLcZEFzp5/M77NDEtH4hm5zmrw79mmRp46akCef4JyiU5O181jJy+3XsWR5lfLFR0i2JbGTDnv2DHH3/dsolRu0J7tZ7q3i7d1/TemMHXxu72d17VJ07u9yG6yNSy5RUnr3vYY+NxmDuOrVL+Tz3/wgqBIENajXqEzWKOZnePCBvTy65RilSk2XsYr5Cr3tWQYXdDB0eIo3v2U9f/CytWaC1Q/5/kfzfP32J3mk9N/4fikCcE6kbAaMiH3aUpodGH2t5YuvTwW8uj3g7hmXJ6qG3q1WyOac4v6S7svp9rwJF+Zd8RRDbA4ONgs7eti4fhGLls6jpS1Hq9PG9l17eeDxpxgvN2hNdLPK38gfz/8z9vf/klv3fR/XdnS/pFkInMvAcxddokLl4wcigKFaqXHjh67jhg+8GaWKWH5VDzPOTJQpjk3z1NYhfvGzXVTrvq4tTE3V6cq1sWJVG4cPlbjk8sVc92cvwEklqE/7fOWvR/jOow+xrfI4SnezdDf8ZD8YnfRsTt7UNc2v2mmHfGRewDcKDjt1F8EiAaxMKXbXtfqM/MBcXyVaNh4HEYhhflc7m85ezuKlA2Q7U6wdPo+tO57j+8d/SL4c0up2szF8Ma9Z/nLuS3ybR4Ye16N4OtM6zc9JPlBeU6vW+Phn/4o3/+nVswBWG0yPl8iPTLHzuePc/r3t1DxfM1Cyk1LF47xNixg9XuWsdT385fWXkG5LUzxR53M3DnHbtgfZV3nWlMajoKHNtxlMhHHNOu8pznq21iacOpmbUaCZc2KrXEUxhONaQplB+PhHUrtFXZ2cu245Cxf1kW1N0Vrv5smte7l75xbd2OpKdHKp8xouWbOe7xY+x9GxYWwZdYh+TgXyd4JIvVrnHz//Lq697nIIi+AJAw2A48cL7N8zxg9v3UFDqpvRqY6M5dm0aTmVYkDfwlauf9fFtHdnGTtS5eb37uPHOx7maGkPQTTZNLdV2Dy/2UbvbKRtGqSRDSYYzL2Pnzf3Mnlwx6oGnzrs8GBVipUnR05pNC3r6+acdcvon99NNpehVvd58OHn2HXgiJY6PYl5vKzljay9oJNv7/sa46MFs3QlqheYbC2+KMrImLigqk34t7PHH7v5nfzRn1+NCgtYXg2qPtMT04wNFzi8b5I7bt1HvRHqqdRyzac8U2btxgFq0yEt3SneceOF9PTnGDlS4VPv38HPnvs1x0oHCGW9RrMkbnRVE8zZqHEKgDFI2vZPMaK5ZmWRtkIuz4Y8WLEpRw0wM8Jk6pZJ22Ll/F7WrllC77xOMpkM4xNF7n1oByfyU3qIaDC5jFf3voYVlytufepHHDkixdWTPzaewNBgCoAmCTGmUq02+IsbX8t7b3oLhAVoCIAepckZRo8XGdpb4Je3HaNekcU0li7HS89kwYqQcsEj1ZbkbTecy7yBVsZOVPmHD27lru2/4dj0QQLdwYv6DRG7tI86NRMxjjI2mlOYdHpfNHuKcwGPbcQwURrti7rbWXXGIIODvWSyaZ7ff4xfP3OAmheQtBMsS63i5QuvZODFZW69706ODo/pxtSsCZvKTPz9rLPnb9bdyLgaI+Xyiy8/l6//4COosIhVr6IqHjP5MvnREgd3FnnoJwXqFdeMe4SW1o2LzlZMj/mk2pO85Z1n0TOQozRV55MfeoxfPLWLQvkItu1FDXXp90p70lQ0YgkV9x1O9odzr/7/L3hzATRHzSQcejtyLBvspa0jx54DIxwdmdLTXEkrw9nZc7h81XnkNkxz68/uZiyfx9YiOsYoknxay0cMjBpu5kqH6AP/+L6bmTc/i5qZwZuqUC7WmS5W2bttht/8qkFtJq2nmaS5ky9PsWQdlMdTpHvgTX+5mK5emU4I+dTHHuBHD+yiVB+jKycduLgfLJVlc5N2pbxWxmel1xtPHJxcKY8j82kaOE1vfIqFn/ZX03RvSSdIJxPMVD3dlEolbLJWG5u7N3LRhjPxeqf5zh13Ua5XTatAA2guyNzvZa2Vkv4sP3UxUvzgTZ96G3/0tqtQUxM0piqUphtUyj67thQ5vCVJdSqtDybyZ7x+gmVr0pSG2mhZUeXVf9ZHa0dSTwF87d8e4Zs/eJqR4hgLutO6SaSb5FI71MDJ5EE8hGRmaPQMjDwnFyhqooudm26YkZJz243GKUSTWzpLjIeD4zM7Hehxs8zMFKZdm95EHxctPZvNm87i8OQwtz94r5Zqsb40IEYZd9wJXDv//HjqrWnGgadYuKSXH9z5j3RkoD5RojLToDzt89xDRSZ2dFGfljmZkEq9xoRziBVLBinsTzFwYYnLr+0gk02Qyrjce/d2/vEz97JreJQFnSmpE2vzlWl3mdSSYSE9N6MBnbOeMCrIamCilUQxgKbnok8nmp6OZnD0ELhZYOhJDbMpyE81fdNxNG7LzOVlHZfFbQNctm4N61eu5edbHuKZwztJuHpS0HBci+lTGuvr5p8flwmjIUqJjDaVWp03XHcFf3/zn+ONT1Gb9hg5WubYMyFTu7oJPUcXTQ+NHiW1okC/OpPxE1XWXlNl/QtyJNIyh+IwMjzBhz90O/f/5jAp26Y316L7u/JeM9Mdj60JiOZmTNg0qvRqUHlN9I/mQ1T4MIQUcLThazB0GU2qjIFHyWvgaek0V2ca4E+uwCs6k1mWdfdw9QXn0e4s5qv3f5daUMMysx5NE26mnvFzwsDokFHLLgr6ytL91xtuvJYb/uoaqoUyRw+VmNnZTWW4Bb9eJ7A8do/tYfm6Dorbegg7x9j8Bpu++SnduI5Wh/HVL9zJLT/YyuGxEss6u0mQIAwt3Uo27DPXWI9qRADqwUwZKo9yZTPYbQbTdeU7SgFj4AwzRKNFwONT8xtMN6p6uOn0eZiZKBNjnpdu48xFvbxs00U88ewQW448rRvxp1ZgDG5zQF2r+8Lm+LEAiLMEufri3F//+j/gqj+4iPqxFIWDSb0wY9maXhxJAVtLjG13KB+3Wf6SIovOypDMOnq4R49YJBz27Rriwx/7AY/uHEV5Dktb+nCClB7MDGVsVwNo/hEumUAy+0xomcfx6wwcRsibHyMrTMI/K3JFNk17ZUr1mtGcUeexGQR09AxpS6fJ2Uku2bCC+T19/PShrabrFw9InxKM9GygbqCBNRfAGLjOVs6VAAAWlElEQVRo+YU2ZUG33vBJJFI4etTNTKq//o1XcsNfvIrJE3kmj9WplmZYfGYb/Ut7jJ/QNzEVk9Z/6+t38/UfbGHnkSlarQ6WJRfhBmk9Oy02Kc2oQICyAnzLR0Az/T0Dq9x8fNpEECvFhMxV277pSWvnHq1Aj8W51mYy3VBjslqmHsgcrFHxUUw17wP6W9uw8Xj9Feczmi/zwFPPk3SjPPo0ObAZJRSALZo6ML6Os1mJ9IOlG2eScWFLpLj1N6jLiNu738TVl52D4wa6v3D0wAStLVkGlveYlT8R3YWNk2MF/vnTt3PPUwc4OFwip9o5g7PoCPr1sTVElhcBKdN3DXxbQJXnBLyQHsfj05sOs7g1z4d+fSa/qskoR+zjYrMyEVizxzIrT2bqVfL1EjLbfFJFRSm6c616UeKigS5e9aJzeHTbQXYdOq5H43QTKU6d5vK9GeXBkiASRxizrCtymOJoZR2rvkxyoEQ0DxL5IU9x3RuvYmnfIgYGsmx44ULdPx56foyMm2NwTa+eg4l7xTLkuHPHAb7wlTvYtm+M/SeKeNUkS9RKFrOGVrqN8xfgqCOzB4G+1Qnw8PDJ2QEvGRxlXm6au452s823sVxPs1ZmccxqExOALFvAElb6NIIG49UitaA667+UIptM0tfSTr40wStetIGVC/q5/VfbKJar2v2Y9SBSGTMhzARsU8pv8njd4IXaA8kgoYyexbzWqZ2SaTuDqgyYxyYuEmFxfz+Xrt9AKZ9h6ZkDvOkvz6BWDtj/6wo9CzLYnkv/ujZzzGizCDnSs9ue59bb7uH5w+MczZcZmaygaln61XIWsZJeBkmT1T5IwPSoR6DqYQ6q+i8+AVVCu4Hv1Akcj0DMWbynmL4GrwG2j62526BQm6ZQnyZUZgVKWybLvNYuRvKTnLtmIZdtWMF4ocbP73tWD6Zr0ujgExEokjta+MwFcP3ghbIYQc+VCGPi+oXuC8tIhzGIJoixDXS1tvKic9ZRsjewd3gBH3hHmo3rFU/cUeT8V/YyvLdMkgyDq1o1A+RqmpE0i0P7j3DXfz/Cjn2HyM+UGZuuMT5VZ7qscOstdAWDzGMxnQzQSpuO2mImDRrUov/W9X0dz6rhW3UC24AYytiH44FVx7YbWE5NA11qlBkrT5DJwcol/bSmcuzeP8yqFX1cePYi2tty3HHPDg4PT+C48VIyCUxGMxnFGevBuQyMhLRefTmnImKL/4vXyGrqRZNaciTZfcOH+d1drF77Sn4zcinZyhauuvQE5/ZdTDqXZdnGHONHpmlNZ+hZ1qInruSKykCRTJ/mJyvs2nGA53bv5tjYMaaqRR0ti9UGUzMNimUZOHKhniHtdZIJu8jQToo0Dgm99EzHXh2hA3y7YQC0G+Zm1cCugVvFcuq4GZ90C7S1JfVEmFjF6mV9DM5roz3XzjM7h7nnEWGfnLa4nqhFoCf7Im8eMS+OwJqc4gNnRwkjk9fmapYqNFWBpqJR8HpWREAMQuZ1zCdQPeSnDuLXS6xctJIXr30lf/TOTaTbQo48O01nVwsdAym8ejShqnxqFYtSwaGU95gYm+T42DDDk0fJF08wUy9Q9krUvCqVeoOZhk9VJrPqpvojIl7kTxjahMrV3zWepBB/Zct4mxuQcEMSCUU6bdHWkqQlm9b3fZ0tdLXnSCVTdLX0sf35E/z8/kciMS4sjnPf6F4kmWySoSvq0X4KcSxfN7hZkgJdC9N7rBidbkb85XEcSOStspgllN06ojF/WYATmLzUbINi6xEQRznc8Kd/xNv/9DVUaw2OPF2nZ16GXJ8pJqR/kUHtcyisqzPT5SEtjkbFpVJWzJSqFKoFCtUxpiojFKtjlGuTVBpTNLyyliW+FB30wJEyy1D12hDZ2MfWbUoZpEy5DqmESyrpkkrJfVLP/KXdDNlECx2ZPrqSA/z31l9z9+MP6aAjeW+oF5qFJt+eUzg1A/SzP811JDoK6xxPT/bFQSdi25xKYuwcBVg97hsdTBbkxKYeXRVhbtLJ8KpLr+K1L30pi+YtZmJPSFt/g7aCRfrWVpBG0PNQaw2ZOtOnuCyg2Am1NNSwaAQ2dd8y84BhnUpQoyKs9Geo+SUdUT1fxt1qKFXT8ziOFeDaPo4dkpSFNo5D0nVJuzInmKUlkyOXaqMr0Uu96POt+3/I4/sex9WDZqIpzSYVEoj0cGXUWTRBNK4GzQFROovahOOOU6TUpXqjx2IiHagXV8f74ejHkSnHx5oDYvMp0Yr1kM5ML5esvZSrNlzJ4uwS+g8kaNkF9sWhrA6DPRZqp0VtFIoJRWEgpLAgoNwN1axFLeVSSVmUM1BIw2gOjrdAPgelFDRkMxEFyQAyHnTUYMlMyLKZgO6qT9ZvkMLX60fSNYueUpYjY4f5zGO3sG9qD0kBTxqmIt4leocSzc36QLO5SFR9OQXAOBLrTEQ7wyYosfyNBGkcTHReGkmZ5pL/WPVIYeHUkpGRQRJ1Gw1Fxmpn1cA6Lhq8hAuT57C82CEr63AWKhK94rcsKIM/blGcgmJDMWUrCjnFtnMsvr8ZxtotxtsU9RYFqRDdlosbFmbpkM5qUmWbVcNw7a6AjQcCeicV8yoJWoOQu4Ye43N7bmNMjeEmApTtYdmevjeLI8UHRuelk4hodXKU8Zi/xH4wSuVi1uhx3liyyIu0HDIjbmZYMpYz0eYTuqoRvSeSKHIsvUTBky8jh3Nx7aRe8SQLZNJtLdhWJ+t61vK6TVfQWh+gNZ9jXs3RbEh2KhI9CrdFQIUgBXduCnn3mpDjehWhHDMqDshj2TBB/HQzD9XOGqZtbnrI4oa9UhSZZsfEAX6+/THuf3Y7gapCooqyGyjJZEQzOtFSDD2ifHIQ0SI6Sk1NU8mkcs0oHFeANTxxjUwDabY+0dmsXg4fA2hMWOMjwSOumIS2ruDMX9jLOeeezbLBJXRkerDJaUlSrjqUayFb9u2m7ua5ZM0SKqUEd+8dpK3az1lulsGuFvpa0rS2OuRabQoL4JtXwb6FIXlb4Yu9xkso5RtoNx2Vq/TFlAaGzdrj8PVfjLP90ef4r4d+zdCxEUJVwUn4KFvAqxnWiWaUWWsn2lNLkkkpYUWVFV0ea37eXP93CoBN3zW38KNFpJE0uiIczSGbDRhEysjFFnDNUnkB8q3Xv54/vu5aetv7TaDIAzNQKNYZGgs4MZVmzLPZmvN4KH2ChUPPs/3OMsPH58NIHcfOkm1tJ9eZJNvjM71IMXFeC2xshcEUlizhSEfr+fW6LsMOvc9KsQYjM2Sfm2Tjjw6gHt3LieoEjiOi2tO6UFFBWXWU04gyFnneZEvCNCloxBFXV73n+L74+VN04AUzoPSC67jMY0w3ZmMsqKNaerRtU5OZskVTGOgFiG9/zxt4/9+9S/syygEUHcjbElb1Qt9Cqc6hEzCSTzGMxX8thHuXKNSzR7G/cYzEtimCRIfxMXaSQMph1QJhSzvq4lbstUmyMw3SrkOyu51qa1bXFPuqJbpKDVpHfMrPHeDY7mcIvRKu6EFL9r2q650XQquKskRYG9+nMBtI6KJp5PsEwHj+Ri/jnTtmEjHRmK+uNs1Y6wfP36MUesm/ATFCby6AhnpmtbqJ6WZPrag0JKvLBxb18cO7vkBPWyelfJWWdAcUHBjXOVhUg/QpTHsMDVlMjKSYCC0e7ocfr4bRcpnEP28jswMqboJAttqrTWH7BYK2QdTGDHTYuI06mTR0ppNU3YReibnWqpPxK3gNh0VWP51TdX717I+ZmBwiZcveCAKeZCYy/1NHWZ72eUayiIaVWmNUwNUnKJIoqoFH2Zl+XZTTzQFwr7V+8IIHlFLRphOnyBPt42S1YrSjTxSptSKKSu0iviuVBn/1/jfz9r94FTd9+Bs8++QY56xZxp//4Ss5e+FqqERrcS0P36oxNukztjdB8ViOou+yrwO+uxp+065Y8UDAst0+47U6hWKRmfFRqn4Cryupt1XB9Uh1OTitDjPVEmGpRHtSsaojQUZGTTyHF3AmZyXh209/kaGje0i7UkERnyeqX/ReNI8t4MjOZLp3IL4vKhzI/gt6iHxW+80V0nFf2MJ60Fo3eMEXUSra9uR3ATRROVbRJsJJLdBJOnT1tONYCbqSC7j4ovMZPVbkiYcPkEq0UqzkOXtND9dccz6XX3oemUQLKmjgKU/vtzA5VmNyT4bq0S4qXoLhVotfLIVf9sGG3bBpGGo2lG2YseQahFRsEGOUtqQsDZuZLjF29CD5I3vJqBJnrFhIKttKGHTwWnsFy9tP8LmHP8Po6JA2Zy2UdaF2zhLdRLQaKSpd6dxaMq64L9MspMT1xjkrBCy+ZK1feOGVKgj1xjvmZ+4cQyxTjP+ThYCC/iVXbuANb3oJy5cuIJhJMLWnj/vuOMATjz6pdweypexkVykxCZmAC1/4Qt53/aW0ZtLUGx6BrHtrSA48zdSedhrDPVT9JKOtDo8PWPxoHlx8GDZPQKkNJrOK/KExDh8/zowog45OkvPmoxyXRhlOHBlhas8zZCmxcOUK6pluBuw+brSTlNxn+Ne7/oVKeQo3aYK0rJaKljcZGRQvyZCmltT+tB88eaBzbiYSL+6xbOcqvfXT7oLZ+smomEiCG5UT6TwxDY/2njbe9/G38MpXbsL2LIqFgMJMg6PPw8yOxezcfoj7ntxF1U1DWKNeGWaiuoXOtvN50YVL+dgHN+I4SQLPIvQdPbw9OlZgen8btbFuykGOiWyCp+dZ/KwPVtmKY4thuEWx6pYTzH+uStUKyXtljruK6hkDJPsGcCehcOgE1aMH6OxroWXhAjrdNl4WJrkoVWZ77WF+9uxPGT5wUJeqDEeiBpTuG4n/m12VHjfSZ3snsWlHWYkZ6ZzO9S/t1cF03cDmLyl4RzP6RrTV1Ve9xMuns7eDz33zb1i9aSlWqUaQr1PM13i2qtiZL7B4ayfVsdV8b8vTPD/yMJY/TlifwfMmyNjdtCQv4i/e1sYfv2k9oZfC8jOoeppyvcjoxAhTR3KUJ3oo1dspZLI81WHzX8ssSpsd6FRkd1U557sVUmWLBjZTyuJIeZTykhZSPfNpPWERHKtjjU8yf2ErK+wMa6XXS8hAZwnOn+GRbffy0//8IeVSSTe7NFBaf5kAoocotQIwQMU+UAeQWIQ0p3nVl4cKT79TA3jekkv76/XKfmVZMlKuN1w0++pF/a7f7kX1qa+8m6tfsZG9ymdRvkZlpEBhrMjwdIU90xXajpQpHzmPbXst7tq9h3S2lUpByuOPobxpFra/jM6WPJ+/+aUsOaMXK8hgN9oIfYtCfYSR4+NMHk9SnOxg29AUT+zZiZ90KV56CUeuWEVtMGlmfEVBmA1CTCon3bGpMoxJMbiT5EHFZUdD1lWgo110YkjH+CgtmWEWX9bDwbH9fOVfbmFkeIxExjE7AUe9Dy1fdKUpZtrJ1WcznayrkGXbsWe3vxOg1g6c/4nfbir0kRg0fVDZYKLe4KWveRH/+tV3s89u0Fqv0zE+xeTwBIWxGfJTM0xPlskXZ5ge62Ro53p+9OzDlINhav4UeHn8YJQ+60w60j1cdHE3f/u3l5FMpXHJYQU5Gl6N0YkTDB0qcOxoyP1bjzKkd9Jw6Onsx12ynr1rF7K7W/Z0kZqT3v8Zt1ymZXwSt1LG9i2Sdop+t4NzUx30uhlU0qIShGSndrDzmUdYPLiIl7/pfI5OHOffPv0NJiYnTBmsuYhVYmRc0otlXdTkj9Rb1Fr75KH81tkNGOWlsgXocCX/IHCBSdPMXIo0pb9y28e4+NINHArLLJkpMj2aZ/zYOPnJMoV8ialCmelimelCyIn9y7n9yR9RdJYTtC2Hya34ld2kVRvdzkISiTr/cvPVnL95md6oxLVTunA7dqLA7uePsWXbFIdONNC7QcveUG4C287R3zXAgRwctlxdoQnctN5KWfZtkx3krIQioaDfq3GWHTA/4bKg4pMKPSqpPMeHhxgdq/CSi1ez7MJBHtuyi6995T+NRBOVFee/ktPH6/qj/sfslKvsjsQTVtdptgCNTbnmVbdaylqghWUQ0j/Yy+0PfA63vZVGY5qO6QLjw2OMH5/UZfl8foZioUJxqsJUvkb+RC93PfmMliZVf1qvBZb1cI7y6GY5yxa18ZrXruS1Lz+XZCZFQm/yYDF8OM+2p4/wyFMzzDTMjsEVT5abmcGNjlwrA6kG07WS6cLJ+jvZT0HW5ekdOlwy6RQduRwdbVlaW1J6lC3pBnqbglq1gu95ZGyXs84ZgPYk3/qPX7Bly1N64bVxXdrzmURhbv6ru0Y6wB7LOOF5u063CW0sYmQbZFtxpwrVAikMXHT5Rr70zQ9y3K/Tmw7JzMwwMnSC8eE8k/kShYkSxakyhUKVyckak6MdPLFzD0P5g2Scbr2r30w4hheUGEgs46LzB3Vv4tqXn8/Gc5foja7ELHfvOMHjTxzjnicOct6GPsLUII/vLOEkodwISElAyLp0JmSvP5swFAfYQuiksOwUrpPQ63vTSUVLrkE6VcbRpSqYKUzpQJhKu8gIc0dbGyvWD7Dj4FH+49u348k2x/HUQtzCjACJd3cLbY5Zyr76YGHL798GOQZRgkqtUf1JveFdcN11l3LFi9fqUrvnN9i0eRX1YokTR8SESxQnS+SnykxOVpgYD5gca2H38F72DB8mm+ii6pd1RVmpBotzA6xa3UO5YrNx7Rn89TsvNn3WAO675yBPPDXGfdue4E3XnENP3xp+9tAhUk5d79xh2y5Zy6VTpJXrUPHbODxh0d82D1ulQQNpk0yGNGYO4DqTLFnYQTYH9WpZz0KX6x45KZiGaRad0YvdafOTn93D/gNDeq8FLdx0WT/apS0Kow7qiYSTuWbXabaFP7UK2pTT4hMPTo/87T/+yzvf84rXvyRXr1Z46qHHGD14hDWrllObqTIxVmQqX2YyX2ZsvMLEmMvUZIJio8jW3XvxwgoOOcrhlAZwfnoeC3oGyBcd7I5xbv23t9LRnkGFDnf+fA9PPzvB3Vsf5BVXbuSyzRfyw59vJSs7KVoOCeViWykaYRrLyeA7bezN27QnsoxmO/BbcmSnqwyoOl5xiA53mrVnttEIS9HmZGY7PatSwS+4pGXP6hUpnnzuN9x3/5MkpAcQTXg1ez6yFbxlf9bqaPv/2wp+NiuBBx64s//8zWd9dHp07A/nLepo27P1WY7sPk5XawvjI1NMTpaYnCgzNlZh5ESOalnmaFwe2vUkU2XpbrhUwmk9e9KXGCTpdnGkslsPNX7n5j9n49pFehf7X965n517J6kmJ1l1xkKmRnyOjpYJXdlcwmK8exElp41GyaXm5Ci0tDHdPQ8Cl+nVGWgPdUmr4948bctb6fRDllROsHZ6L9lgWhcMhGSSTjo1WYGVws1ajNWOc9sd9+ptooz4A5VQ02B9N20nP3E61s3F5/cycO6L5PEPb7opeeVfX32ZPVN95W8e3726NePOHx+Znj82Nt0yPlrm2HGL0RERnB7pRJpdwwfZdWSEhqoRhB5JO6Td7dV7IHgyrU+CD7ztUt7ymhfoTRcP7i/SM9jKwsEWdu8a499/uJ1j81ZTkp2Zjx5lX0cn9WxWUiJT9BUfeM4a2LASgjzcNQKLc9DdBi0J2HUQdg+zaGaUxbVJ5ucy9C5ayEAwof1jY9JjZn+dxFKrdOud9xy3bXUcpXbhOD9L9vf/n/93GP8PfbOtZaNNkVQAAAAASUVORK5CYII=",Su="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF69nQm0ZHdd5z//u9/aq97W/XpNpwOZhIR9EaOyKQgqorhwHJ0onkEcZwZQZ86o4Bk548jgiDqKozLHOSoqi0hggIAoCdCEQCAJ3dk6vaXXt7/a6+535ve/Vd2vu193+gWYSirdebXce7/3t35/y1Nc4+M3D+VO+0jyUsh/SMFNSjFv2PZ8GieVPEvPf4tSihxQ1/i9/z/eluc5qBwMC8u0SJMYslyfJ9BXcBaVn83hYTA/1thvfe4/P0NF13JuT3qdv/qJfFsche/IlfoplVNThoFhW6RxTJ5lFx9j8m1KzvdJv/r8Z/VbsxylPyL/yZGfyTXL/8r1F6/IRRv6dbXJLbrajdNwCY7y9crAtG2yONHXcB7KyRkp1VV5/n7bcX/r3a9RC1cD8opX+YefzN1jcfTr5Lwth7K80TBt8jwjS5OLvjNXeQHY+Nv0SY4BPA/EJWehX84FiAIO/ffx58d4keVyaQqRanmtAFL+kmFqSS/eOQHzigDKnSj+LR7yd5VjGjZKGWRpXLw2uVPjtymlBih+b5/t/Jd/92oVbgbkpgCK1EVx9A+Qv6g4OYVh2aSxSPX509ggQWMAjbHUbJQOffKXHiZHZLf47ky/PoFCv1WBbeSULPBJcPIEskx/JjYshriMUoMkzbRUikyeR79A5wpCU0A8kcaJXJu2o9W6eGUj0ueR/LJjO6/bTBovO9Kv3BHeGmf5J1DslIOZllPcoUvVdSIMcgG5oe+oXIRWuyue/vjFDe/JlYEyFLbKcfMIO4uomCnz5Zy406N9ZoH2uTOEvQ6maeKWK3hT05izOxg0trOOT5wUQG7JbGyQNjkdQ0yTaZMmYyG5/DpOG0q9+j0/7B7ceHkXAaglLwq/qgy1U8AwTZsk2lRyC00Yq66o2Fgzrug89L3VKjt2MobCNAzsYICxfgpj6RRZZxkVDVF5iikG3/FwylUs2yMY9llffIKgu4Jr+3jlGrW5XZT2PYPO1G5Wc5s8KyTsoovaoAEbzclEZS81MabjaoHRTuYSlQZOO477/I2SeP5YYvOORtFdivxFhmHJLSFL4s2+pLA71wBaoe7qou/I5U7Ls7tO/sQhwuMHidZOQ9TDUCm2CbZtYFsOtmVjOy6mW8EpT2FVphj2O7TPPIbKE2y3iltqUd+xn2j3M1iqbSfJJm5m80hAq+jEySkB6XKrJCqtTUaWXGoW5cK/fL3jvGRiE88D+LY7wt/KMt5uWJa+4ElossldKCRY27vLbVthY+Q4Y8M9UQVD7KiJ6g8IH3+A4aP3EK0cJ4/7OJbCL1eo1hqUqnU8x8MwDZRcQBLop8oylOmiSjMkpk9v8QhZ1Me0K9huDac6S7z/hazN7dPOR+7vNam0gFgY5PPmXTstwywcjAjRJXZfGeqdv/9a9x1jKwaiukkSH1GmVc7TVHva8w7rcjE+b++MTQAs/Ork80pLsjJNjNGQ8NhD9A5+keHZR8jiLqVKldbsLuoz8zhuFRswVYplZNim0hJo2pZ2ClkUEA1XiYZtUuWR2VWG62fI4iG2W0aZPpk9TfDs19BvzWFkaaHKV4sIzrvtMUSTcGmsXRKyCZACoojiRBbEO9u2s19UWR/jLXcE77Vs9806trsEsM280kR9N/MVRdCqNGhyxLTXJjj+ML1H76V/+hGyqEOtOcXM/H7K1SmIQ5LRKrlIEzG2gGeZWJalAXQdG8cpYXsVrcpxCoPOIkkckCiXcLCMmee4Xon+EJJdL6L/nFdoiTXGl3zBzm0e5F96jRuvT/4uMWMSRWPBKrROwZ/8/uu8X1SSYQxOsZxEce1yhRfgJ7dlbM9EqIog7ny+Ie9JFTiWgaFMsmBEsHiW7tFD9I9+neHScbI8otGcYXbHPjy/QjJYI+4vkydDLCPXnxXg5CneVhyMqdVIYZgKy5DXbFyvQu5U6fUHpNGANEuJgi4Vv0R/lBG72zBe/HpGlSZxbhaqL+o8CTLHd32z+LS4+Ze5IS0QloAYRhfUWaluY78zo/7jp/JXhlF852bgFbHlBn8+CZTPi15xR20zZ39lxBOPn2Xh6AnWTx2mc/YYadDG80ya03M0GrMapLC3TjRcgSTA1MCZeI6J7zi4joNjW9imiWWaKFM8ahGdZXlGmkIcx9iWheVW6Y8i8jQmioeUXItRkBPnHvu+4wdRzVm61RaLsUOQFOon5kVixonl3jzIv0I4rqMSk1Syl4kyK/NV6pc/lvxxmqW/eMXY7UIeVRx6HOgViUQBoO8owkcf5mt3f564t4BrJdSqPlXfxTUVxCPCYYc0HqDSSHtbS0usiSuqaps6sxCjbYpzUuKptdhoj22KPTQttE1SiiiKSJIU03YZhgmWAZ5rMgpjksxn97Nejl9t4Vcr4NcYKZtObrOOQw+zUMGJYm3M3DcN+i8gI+elzEl0ouF4r3rLR6PPQf6SawLwEs9WnEOO7xgk585w+mtfIe4vYsQ9HZbkYZ8sCfVTwo48iwvPKjclzzB0OmVgmUoDaBoSiOdaEv1yCc/zcB0XS1AFkiQhiBOSOCHLUyINWE6mFFP1Gv3RCIwy0zueieU62LaL65fwylXcSh3Dr9K2a5yyKkQYhY28yBGedxNXgmPsnRVpmohu3KXe+tHwsRyetlUAi6RHUXHAOvM499/9BdYWn8CI1snTIWYea09YBKXyTDRoeZ7qg4unz/OENC0if9+yqZQr1Ko1mrUGzVqNcsnT0ifSFsYRaaqVmeFwRLvXI44T4iQmzjIa1TpxkmobWavP4XsOnlvBsH1M28O0PCyvqiUzrW/nTG07A8vCuIQPuSJyG16QtDaXa8jywyKBPcgrVwRwLOIbI74NGSW2a9E+eIgH/+ljhP0l8ngAyQjigDyPIItQcjCdDoakaazTJQFOJE+Amm5M0ajWcEViPB/bNOgOeqy117SzGEXyOQlLFJZlUvZ8PNclyTPiRKQxwbZcXMdj2/QsrUYTx7IxTEfTV5JVyE0QDx7nDk55jtKeW1nbdyuxZRXWcQvskWBlOQ5JFPfVWz4aXiV7vTqspmWRrK9w4kt3cerwQZKgTxQNiAYrZNEA0pA8HYFO1GPtbUWNfdth2/Q0080p7Vkl8BXzKp622++ytLJCEI20OouAiMSmWUIm5IE2jeKRHXzPxTBNoiRCzqVVa3Ld9vlCev2KNvpRmhFH4mgSLbGjKCFOLUx3hsqt30t883O1NugEcGIYrwnMIrx5CgAWPsiwTcKTJ3j4c3eyePowfrnM1Oz1DJYeJ20fxTZSSCPyONAASBgjjEetXGGuOYvjOaSZXJxYI0iyjOW1ZfrDvrZ58plRONTgSI4rkufajjYbSRKTphm27eC7HrlSpHnGfGua6+Z30KzVScf+VodEShHGCcPRiP5gyChKyfBxG0+j/prbUa0pHe5c5J6vQZe1U9uaBI4tn2kyOHGMR/75EyyfPcaOHTvZd+OzWD/+ANnqUchC4mjIKBjQ7XcYBX19OVPNaa2uEoaIIxEgJHwS+7a0tqwlzDBhFAy1pE3VWzSrVS2FBiaOqE2aEkWBVnH5jEiO/FykeLpWY6re1Ia+Vm1Qr1YwlUEQBgyCgDCIiOKUOJEbZoBRZ/q730D5hS8FsdWXUxFPCuMWAdS5FvHKGo986g7OPvEQe/bt4obrruPUNw7oEEYkRgAY9NsMhm0Mpdg+NUu91tL2SCFqWHgxUZ0wDFnvtlFavRP9+Xq1yfbpWWrlKqZl6rzcQKQsLYjUNGUwCllpr3H83InCg5u2dhyGsqhValoye6M+/cGAIBKbm2nwojjDdX1mWvP4Tp36jS9j24/cruNMechxtvLYEoAiNaZlcOYLB3j4S59hbr7BzrlpTh+8hzDo6DsdjXr0Bqva68605pibmsF3XQKhxcT161hLmA4IooBgNNS5c0aqTYNIzlSlrkOYSqV0PlYUSXMdU9uzhZV1Ftsi2SGdnjiaZSwhRYWeHzOyksXMNuRGzGiVtiybMIpYbnd4/PQZuiOb7dO7mX76bez+yTedZxKulqZuBuw1AzihgQgCDn7kI6TBCnNTZU4/+nVGwzWCYEAU9jSQlVKVHdt2UfY8fNvUQKVRRJbFWiJF8iQYDqMR5CnKBMsU4qBEUwhTx6HeqOE7lva4YhNLnkdvMODYmUVOLiyy3m5radUXnA0xjIQkzan6VWYaLWaaLeq1OvVKjZLv6yA8lXAoilgfDDndLbEUlWntu5k9P/R6tF6P2fCteOQtASgnES2vcvxz/4irepw5+gD97iph0CMJ26TJiGZznpnWDJ5t4pqgspRAHEkU6oxBgxeH+pkkkQ6ay77HKDGplSq4lkmtVqbsyc99fNfS4EkYcnpxhUeOHeHs0iK2WEUDYqkIIClhqp1KyfU1sSB/VoTtqTeZbtbxfU979TTLdTgzjDxOBbMYL3gFtT07yZOisnihsHVtinyNABbEY24aGJ0ep+++kxOP3EO3s6SlLgk6JFGf6bl9VKs1fDPXFL1j5EWgG4dYmr1OCIOAKI0IwqEOZ6aaDXqjBNurU/VsbfPqvnhXU0uOqL9tKVa7Pe4/eIhziwtaUBzLwjMM4hwCCdhz4e0yHNuhXKpQrwhwU8xOtXRYI15fnNRwKAy7qUucSd4kecGPEmzfjUouFMq2osbXCGBxl8UJrD9wLwf/8R9odxZIwyFx2CUcrtCa2Uu5Usc1M83nuToskEwk1WpqpBFRONQetx/08Gyb+Zk5RmHIKK/QqtWxDaXJB0fFlCWPdmwtkRKiPHrkcU4cO0bNKQJoQxlYSjHKUwJJDxWkGToe9FyfeqXO3NQUM60pGrUqpmloKe4NhgwGAY7rYRo+avom8pf9SzKh38TBjf+5Nvnj2sIYzbjYJr2HH+b+Oz9MZ32BNBG1HNJrn6BSbdFo7cDKUxwzQ+WRJguED9DhQTIkDEfaFvaGPW3j5me2Y5k5i+0B1dZeaq6liQPXiLBVjOc6WsrEa49GQ448fEjXoj3RW01wFKXOQZbSjiOUsDiWS56bBKnQa0o7kZv37WW22dBhThTHDIYB/cGIOE11qmeZDfxXvBHz+psl2R6r8bV74ieVQLmzwhQPjx3lwc9+gnZ7UZMDwgwP2qd0uja340ZJF3DNHJMEg0wTA3kakoUDwnDAIBgxHPWolcrMTm3XzmW9t0JAlemZXbiahckx046WYMmNBbwsy7DXFrCXF3WoIaG0EKi5Ia/CapLxSBCSuY724I5bwbRsOqMRS52uBvvZNz6NPXNzRKE4rphuf8QwinThyrcrlJ/xKuqv+imd3xbF928lgIbCGo04fuBels89QX/9HN3l4wSDNYnMqDdnNfGZJzElIRaMVMdpwhiLcwmDAaNRnzDsM1tvMT29Q6uT1EIWVlfwW9drIkDXd/MIM17TN0CoLvkeM0v4me+8lf0zNZ0tSDpoS4Yj2Y1hsHx6iQ99+kvc0x9ilCuU6tPU6hJEVxkGEScWznFyaYmn7drJ7pltGsBRGNEbBqAsXLtEef5Wtv/Ur6IkL9b1lG8hgOPwnDzNSAYDvvahv2T13FGazSlGg/WCz8sTXEs6FkICifgFsKBb2Lygr73zdGsb22bmyXKFkQ7p91ZZ7g2ZmX8GniMJPaikjxm3tbcUslWor92NKr/5yz9PrVnDcl0cz0VJ6U5sllxov88jf/sR/uL9H+feKKTSaFKemqPZmmK61SIMI86trHDw6GGm6nWalaYOqIeSHycKx/KpzD6NPT/7G5ie/20CUC7ONAjX23ztg39Fr7PMC178MuL+Gr3FE4yG63R76wz6AlyHNByQxQFR0CEnpTW9h6nGjFbxJArIwjYrnRVGmUVr9um6lKmzgLCtQRSezlAZRhzxyuffwlvf+kYdx5mujZKSoyVeVJ6GZlqCY8f4ynv+nPd/5SEeyEbavja27WJqeopKuaSdx3qvyzceP4xhOLiWR5LBIM6xDZfazlvY/7O/rnt+rtR3cyWn8qQ28PwHTYPR4jIPfORv9N2//unPZNDrs3jyIfrtBV0xS0ZdzTpLrULAk8J4fXovVb9C2RZnHJJHAwb9NTqDNoZVwq3v1CyMUilm2EWlQx2mmOLJ44B/f/tP8EM/9mqQDjDbFjc7lr5xH4kUwAdDzn3q03z+rz7Fh84ucCwbcf323TTmd9Fo1PT3SxSxst7h+MIiUSoVv7KOPVWmmHnuq9j3+jfqTGmr+fA1Ayj1ibDd5Rt//0Fmtm/XAWlnfZ3RsKNtYtRf1o5FV9hIMd061eYOXePwjQTfyMh0BW6N3rBLFgwxzRJReVoXkow8xRLpy4quMokjZ82Ud//2f+KGm68v7qMlAAoJIOo7BlAcchwTnTjBofd9gLvvO8Ida4sMrJxdszspz8zqbCbJU5IkZ7U34ORqj0p5lkz5ur/mX7zhrUzd8iyyWGi3TYpKV4lprhlA/c1pyrHP/hMzzQYnjh9h0F+nu3qaUWeRUW9R95YYhonp1zFNC8exsPJYNwjZkuvGA0b9VcIooBQOSKwKXa+OK46KDDsPdFuHMDdOFvH8vdt51++9A9cbS55W3TGA8qd+SO00g16f5c8f4Ct//Sk+v9ThkyunNElbrTYxylWdpej6ueFwrpMxUE0qlRaVXfu4+Q1v1CSCZOS6qH5NfGBx9GsHUE7UVKRLq/QeP8LJJ44w6C6xfO4wQWdR2/NyY54oltIfOKahWRIrG2GpDDuLycJ1RqMeKo6Yikf0nRprVhnHQL/HpeiQslVGORzyCz/9I/zY7T+qCVnEQ8pT2z55FkUnDaD0xMQR8dkFjvztHdx74GE+0+7w5fY59jbnMJ0KkeVgOD6O7YEzzdLQorXrRp72+jfgNmo6ldPgfVvZGAEpjjj2hQOsra2wcPoR2ssniAZLVBo7NccnqZuwxLZtYwj7ouu+YMV9bRelt7AcD5lVOatmmWVcbHndSPHEDirws5jraz7ves87mJltFiCJ9IkKS9+OeGB546QJYqwdDEd0HzzIg+//JAdOrPHRpZMshCN2NrZheTUiyTzsMrZTIjNrzD3nFez8/tdo2zwpLn1bAZQU0u30OHnfAywvnebUsQforT6hCU23PK3VGNPVgawtzZhxX6dwhvT3hV0d5thJzFQeMuXYnM5tljIbR+V4Zqa9tJtnVMIhb/q51/PDb/hBEMZGOw4DxAOL9OkQRmzgWIXHTZciqVm7w9l//iL3fOxePrvc5h8XHic3JD+eolJq4Xh1TZ3Zld3s++E3UbvpBogKIuF8o+i15nFbU+EiB3e6A5YPPcbDh+5l4dRBsqBHtbWDcLhO0F/B9huYroch5cawgyVZg5Q405H+eyuLaFjQcF0eDqCdm7gqpWzlOstwR0Ne/qKb+dVf+0Wt2jqw1SI8VmEtfaLKk1xRwBwDKSmekKcLizzy8bu464uP8aEjhziTjHDcBtVSk2q1RYaFVbuO/T/9FpyZFiRFR89TeWzBBkJu5PjDiGP33MtDDx5gsH6KSn1ax3aj9lldwrTLDSzbJ41HEA0w8lhLn0RYWdDBTfq0/DJ1r8JjiU2ag69SKmaGGUXcsmeat7/9zczNNHQXgKiU5MhKQhjPKSRPuMVQygYRsabqQx2DDto9Omtt1lbbBKOASmTxzwcP8/HDj+CUm5h2lXKpoUuc7sxN7P/pX8KqlAsb+hQfWwJQQpnszBKHDnyRlYVjuiwpbb/99bPEw442wla5YH/jUQcjCTWIZhaQxxErq8dIkkCzLtX6Dtz6Huw8pEyCl0Xc2HR526/czu59O0kTyanHzfXiM+KY9pHDHH30KI+fPMdab0gvSgiSmGGQ0A9inaZFaU4orEuSaiLh+573LN71wTvoKw/l1DCMCo7j0dz/Xez9ydu1dG/F616K85YAFGY4ObvEsQe/QTDsMui16a4vEg67pMM18jTAq89p75j0V3VtWMU9nDxjynUIww5xHDCIApLKdfimRUk6njMhHfq8fJvLm97yRryZaS1ok/qEcISr993Hh/7i/TzQS1hLQKyWFKfKjku9VKJZrVCrlDRx6rq2zir6631uvXk/H/jCV3locYDhVolVGVt57P7uH2fbq35A59RbdRwbQdwSgDqWTTOCU2c4c+wYa6urBIMeYX+F7rlH9ElXp/ZqmivoSovHECMccPPu67l5x17drSDx3kK3x2MrbZp2jpUFLLeXiEYdbqmY/PzP/RitXTPjLq3xSIMyOPHFA/z9Rz7N0C3TqDaYmxaytEmrWaferFCqSReri+05uMIlVkpFz3MQ8bvv+zs+d/AkbrnJMM7xvRn2/fhbqT7jlvPB8+b9rE+u11sGUMdK0lK20mZw5hznjh9l4YmD9NeeoNLcTqkxz2D1LHFvmXy0zo27ruO5+27ETKXVQ5hppTuvxFNLgUqK5BKmmNGIphGxY2eJ5oyDX7GxHEursYQ+UadLb2FVOwDpOBB2vGiDk4p8hulYuL6vgROyQQJnp1ymPNXkj/7kr/j7z9xHVTq21nv4Mzez/9/+Fla59E3Zvy0G0hfuhnROSedoeuos93/m0ywfuQevMU1r1y1EQcDauePQX+LmPXu4dc8++gtHOX706wzCPkmW6BaOuant7Nl9I7Xmdi1tvgkVocesgHozo9IUQCxMAVhKoOPOAuH0kjAlCSIWT57kkWPHOLu0pMsF8606N+7fwzNf8l34M7PYjoc/PcMHPngH7/u7z1BuzPC8HTPsuO0HOHzTa+lLZ9dTdb9jOLYsgRMYfVuxr7fOgU//M9X14yxtvwmjMsvqmZO4aYeb9s2zzS9z9huf52uH7mLqhmcTJClf+vIBbXMkN95VL/OS57+EXdc9k5LMhaiMhhHQrCRUpxSlso2tK1FCRAjHGOuyZjwMuf/Al/n7rx7mLHVe/oMvZXamzGzJYuWxR0hPH+F1P/GjzOzdj9Nqceen/ok/+LOPUKu1+M23/RQ3PWM3R5NZ/vzsbkaJKpjzp/jYMoByrEQZvMAa8r0P30/36DGWatP8aSfn+OoK5ur93H77L5FFGf0zJ/nsB97NzG0/yPXPfSmf+/y9nHviYRYe/ihKWXilfewqw2te9lq2ze6imic0jJipSkxjCio1E8cVPlwAzDSA0mR0/KFH+dNPHuKEfR2LJw/wyh+4jWc+93tZWVjkrb/yk3z4Xb9Dc/kUr/rZN0Klwhfv+hL/7fffrxuPfuM7bma32YcX3srHpl7Np1encJ5Ki9ZTlUBplUgN+MnhGZ55952kmU23Ps8fdGM+e+oEtfX7+IVf+s8Me32SYcDig3fjvviV5G6Ju+4/yeF7P8Tyg3+LMiyqjVvY1trNc/ZO8eznvJQaOS0rZbaSMD2NVmPHk7qI8BjC5iREoyH3f/0hDoS3cNdXH+D41/+3zr9veMEbef7zX8DvvOOV5OvLZCcfx29Og+1y3z1f57ff9T5uvG4vv/H6l1BaXQI35fCzXst712/SNELxuEJ36lWkcwsSWHy5roZZ8K8WH2PfvXcTVrYT+A0+2A3465NP0Ow+wJve/HYG7Q6x1Co6qwymp8lac3z8U3dz/32fIz32DzqnrV/3fbxw9152ehH7nvZcZsoVWnbGtmrC7IxBVQD0RQKF7ZbSZU5biuqRwRFjP3/9uZM89Nn36Pa2W77vV/meW2Z5888+j2zpDNawA5nknj7fuO9B3vnO9/KK257Hm27/fljrwNknWHrai/nd/vOJzvcVfVsBLG6DdBaI9/yZxcfYf9+XGFW303eqfL0/4t3HT9AMHuUX3vQf6K92iUfSK5gSDNbpb9vBqaU1PnbXfQyCNq5ls7fq8errPIKlRVrzT2d+2w4tgXOVnNkZRW3Kwiw7RSuI7g/MaJ9doJs65K15Pv6Iy1JW1mRFOR7wY99dYWcdVGdF98rolgfb4+H7H+K/vvOP+DevewUv+t7nFvTXwhkWtt/Kf+89V7PTG8ZEtmQNtyCBxfcKRZUYJj88OMOL7r2bgTvFml2lu7LC75x8glAt8Ev/+m30lzvEw77mEKUIFA+WCByTc+vrnF7t0PLh+bs8ttVs0v6A2N4GbhNf5Ux5iulpg8qMjao6+iboaRjdnhERrKxpYqGfOZxuG2S5wXUzBs2StHmkmI5XsDY6xClx8OsP8Xfv+XN+7XUvpfycG0BqH501vlF9Dv+rfYPu2Z6MoG0JvS2TCVoCJQswuNkI+PH7v0AyUCzbNdTSInf21vjHwQne9gtvpb/YJhv0MJJY13n9fEQp7+J7MWU3xvcMTMfQ00u5YRPENqPQxsgtSoZiqgHunAtlr6DaDeEjJT2xod+DQb/gCUXr9M8NzQQh4E14QyFGzRKHDx1m5b6v8OKb9sL2KfA83Xb8gfCFfGHYxFEyM6yjuq3itxVCdfLdUvYz9HjWTy8eZv7IKVZoMFxvk1oxn/UinveKlxEstVH9nk7TPCPENyM8K8R1YjwnxXYMLNvUAMqJJ6m0vFlkiYETK+o1MGecAkCRPmEjdLwhYY2pCQX9HPe0aIZG+EL5vmKEAD28krukwwTz7GOaTWK6pf9sp1V+d+UW+rk0mwuA8t6tg7hlFdb1WyUNuwbPMoa8+vAjDNeg3Uswem2SPXWC257FcGkdNejg5wEVO6TqJnheiufkujakuVHNKhdTkaKGaWpK+owZZFSrCqNlQ9nVmBVSVaR2xTj7GMyJ5EjyrEGQ7kndQTkG0IdhAuvHoF4GyT5I+eTyPj7Zn8E1ion1PNu69D2lTGRyGJ3SmYrXBsvsffwc7U5Gvx+hnBj1mufQWxuium0q+YCqE1LxUspeiuvmWJIDS91X4i8lRcxibDpKZRBHAEyo1RWqOaawxEvoWrBVACcSqSdndDtD4SwEwDwdgxcXjiKVcTNJ11LIVqQjCcycc/06f3huP4FMjY4HrJ8qo7VlCdSeeNyXIozIlJ3xI+uLGKfbdMOMqO7hPns3/bWAbG0dPxtQt0dU3JQFioR4AAAMqklEQVSyLwBKB5U0KgmA0qJhkBuWvt44NhisppSyVGci1O0COJE86ZVz/EKNLwrbxk19cmJiK8UuigTKyUkYIwMIZghmTzd9xrHDny3cyKOxr5nwYob5wtDQVo3glgE87+6VdDIZuhPmBivh5e0l0pUBIwk7rp8hDBTB0hpOPKBmjKg6CWUvwXdTbDdHatiGmWtSIDdM0kwxGir65xKabkZ1WkFDJNAupEkKJ6VSQelfMMcX7JZImawk0OBJoUmAlvfWwBCx7pDFNh9euoEvBE0caYKfZBMyDToeCN+qI9kygOcPOmlGVMKIK66zE74z6OL0A6LZCrFTon9uHTXsUSakakdUHPG+CZ6bYdlCSBQeVLrspel7bSVjtGAw7cU0axFWPYeaXxxS1K9WBse5kDRoNRZ1FvHdYPtEQqWJPBfPIwCuMUhyPrZ6HfcEdWzz4uka3fv4FEnpawbw4hj9QnvZpA8nyaFu5TzbCNlhp+R+mc7ZDkm3g50ElI2IqhNRdmSaKNE4iF/QLLcyCEM4e07Yf5e6dHGZI+peH6+S6ejEmGuhdkus6BaAiR6L4ZI+RO0wZKxCfqZ9RGEfc4c0b3Kol/OZwRSncqkAfuvAe0pOpHB6xdzj+dL2eEClWP0ATTvje6ZM0qUBo/U2+UhYZ1kmIQDGlNwYW+yg9sS6pkOvn3N2WTHsWahTj1MtV9gz5eOtfA0nXqH5A6/CvGH3hUK6AKcBHD81eGMPrdVXpM/lULCD961WQY4nirpB0mRZhjRvPkXhK6DY2pzIBfOjgwgdOhRbgTaehPQt3zan2B6kdJbaJH0ppod4RJSsEN8WTjDDsiSmzAnTnHYvZ6ktkqiwk4haGrHL6TO7M6F+/Szu7LQUj8eSlhdSp3VvfE7SI6MBlFUBkp0IGVviw91dfD6Q0uklo7ta/Qvb9808njKAGn0J9HUgIJuGLpyI2PAdFbitarB2tkfQ65CNRtgSVKsIz4yw7Uz3v0hfcxCnrA+hO5QWt5yqitleDtkxb9Ha3cCv+zp41xKWZuRJUgw/y4IJqyBdi6lzeY88ZZDHZJA1+KP17cg4jnHpJL6M6l76M93HvbVg+psCUA4l9JbuoN4AoLaQCl66zcRvh3TWuiTDHnkUYGcBjhHhGuK/U61CQQzDWDIRWbaTsb2as31W0Zzy8csOpm0WSVaakyUFsRosLet+RW/bHI7nF8OruTRlWuSZiZk73Bts44ND6c66IH1FCVmNtyJ9M7JXfPabBnAihZm62DiLSdpRU7y4BGuLfYa9LqmMcMUBtgqw84hMZkuihNQta0fimIqGB3O1jNmmolqT2ZFCeqR3RWj9NAiJ19tEC+dQlTLent24pTJKSbhjkIn0pRZB2uB9g22czg2dBRamu+h9EVrsm1Xd89HIU7WBE2cy6SnWAzSX2BNR5e+YNZgNE9ZWOoSDHmkwwkpH2IzIeiusHz1JXN6BW67hJSMq+YgmQ1rmgJoT4aQBVhToopFVLWG2mhg757CbdT3+L5NJhjQOYZKlNllqoRKfu8I57oyr2kxsjPe06dOm85uzfd8aACd3VpIxPbJfJHp6FHs8diCM/MtmDLLVEZ31LpFQXNEAJ5dnl6DbppfUMalS6fQot5eoD5dp0KZZyqhMVXGv34k9P41ZL6FaNfBt8iDSjHeqnYlIneTSNnnicjxq8TfRDNF4An4jgEXAvLnqbp1O1Sp89YHryw51hWViugVj3B42WfEgOb+EKNtK8B1Vg+5in363QzLqYSZ9fNXHNmPp6SfPHdxUUZfemXxIzRxQ8cGtutglByXMdMnDcN0idpTQL0k1gFkiu11sssRiLarxd+F2zhk21kYp0x63WHQ20R4hELbQT345FEr1nnTk/9oAHJ+T9PucHzgbWxkBMYN9NcUtds76YodhrwNBDzsf4luB3vphSTQk5GsYUEpH+CrAtxJcX+FVfNxaBbvq6wEZpSc4BcSMNJb5YYM0shhEFT4SzHPY8C9S3UItCtv3rXwo0CP/V186MVHJa2qAEKpL/OF4kdwG+yMg3thQ3EDC2uI6Yb+DigcFULZwhpnuZpX2N+EQXTPR1Jfnm7glD6fk6K4DWSQhDedi+9Ik1wBGkcMg8LkznOdBQ+zeBYem3Ya895Ig+lsDpJKlE9Ef5+RXXXsyCUsm00HnObkrnEXR+2hwqWeWnPmmOuxOIjqLq0SDLm42pGwJZxjrZ8lKKdnC2Cgc18CxTd2hIBPrsk+roL8koM6IY5MotAgDl3Npnb+M5zVdtZHZE/CKvTPjTqWrtu9OJPTauEGFeq/65f8TvzJNsjuvdEc2Bpsb7cXmSziLbxHG6QLoF75ZNMiz4OXTitFaQHd5hTzoUiKg6YY0vIian1LxDQ2ejJc5drF7a7KbVWuj0H6akLYZjDwIh3TKs7yvv7Og/rWjUEj0KP8n0lfYvrGbmNjxDV6jgG5C7F8bgKZlvEqvfuocjZfJ89pmIBZu/8JdvZYpnqLXeBzVj5fSFsyzdqDcVouJ+yFZrBiurWKGfermiOlSSLMcU/UVrm9gO7JDq5C8Yi5YuANR25wgsBkOHYLeOs1ywkrtRt67ul2TtJohHA9ey3jYBct3CSUy3n84AW8ipNdyjSjVrV9vz2io33JH9F7y/M2bSuGGrWWF9xqPAWxaB7z4BAuvXDwkU5FXpY33u+uJbhSSDgdbOaSdDm7UpWmPmC4H1Espvm/gukXdRDKRYqimsHvhyKbbg1F7kbKf6IGas95+/se5ad39q7VAe13J/jY6jgvnd1nIItc5cdDXUlxS6k9+/7XOL+qPTNbf5XlevhREffiL1mUWynstCxhFaDR7LRcy3icobbu3NRNGizIv0tdkqqsc7MEAP+7SMgbU/YCyn+mGVMczii4tPcdmEkUu7bWQoLtApWZQazao1mQb0V7+8PQUhpQKJo5D3/wreN6LBGDyrgLWJ+sXlPV3lmVfWH8nGOkFjDlvvwzAsQRulCRtmDWldfWDTQCUGyAACpjiB25rpoSLqwyGQ0LpvCLHSw3Kw4By2KOS9ylZAb6T4tgCoiwb82QdLd1OjzRp02iWqDTKlKpl/EqVU8Yu3n20WVQ3J1uF9aKKjSnm5aHyZgsmn0yF/19z2jt/b+MCRgFNVoAej+O78jx/0UYQr7TBUsR9wgdqCbvKfZNivASxmkFUGd/VyogWVxgMR8QyP5LJ0kdp482p9ENqwz6VbIRnxViW9EhLLBmSMqBUyWlMlSnXBDgPr1zClNV37jx3LFY5O4SFYVH6lPO7mO8rFqhcfn0XA3s1AJVSX77Oti9fATpR5TiOvgqywXdsu54k+LywPlrU+vIVxBPesFCmnL3NjKc7OZ0zq3rJTiJjqzrGKIx9Fueo4QhnOMDptXFGHXxzQKNh0JqrUGuUqVQ83LKLV/axfE+z1Jkzy7HDJnGWs7CzwsePWNqRXHAhm0jfOK271OdeBcDTtu1svoR2ApisQU5yPjEB8Yo7VCdOfzKKMK7UXbrDuQBQVClnqpKzQyVUoph01NOd9bJIp/DyhRQKHZ8FIfmgj9ddpZm1mW5Cs+VTq3uUywV4bqkYfdVFJ9sld6Y49NVMrwPY+fJtvOdLGcNAvPfEBl7sQIqMvbjh1wjgaWXz6ve85iprkCcgjp3KP4g6Xw3AwrsWa2cnC7s38+Q6Aslz9m8zGT7RpzJapVpSBEGo81ld45DxVvlDUAwi7EGPeiQ9NEOaDYtq3aFS8nBLDk7JxnUdlBSaXCnvSYGlwsJ6CXN7Hbvq8hdfDTm+KuNmYwA3rkPWJ1nI5mYd+pdKoKitZdnXtoh7AoDYxBNx9OuZrILfxDtfBJRewi3jAperiY589FbcjJt2WiycCMkfP8jstprOZaXzVC5GBFliYBnQscOQUtCjafZ1t2qtalKpOvi+i+NbOK6D6UjnlbRzSF+MQ+LPEVanCBPpnc75wumYOx+Wmb0LrP95syTne5W1dxMAxdsq8t/bu9VV8BvB2fjLCDYLtvX9FSmUqxd1uCRVKl7PqXjw9Hmb4+cU3UOPMZ0uUZ1qagBFgoX0lMzBTjP8OKCa9Wk60u6bUa5alMs2ju/guMXGS90DYypy02NU2aV7FCfmWnYOrqYJ//OArLy7XEXP/3aHzdI63TVidIH325b91H8ZwaWqeOHXYaT612GQq/kc5qX0L6WIMY6b1hTE/u2egZmaw9Fz0OuE5A8cYH7axitXdFVFqCcnN3CzlHIW0jBGNL2QaiWnUrbwRXUlnHEsTOkMF5bHrtOv7SWSNcgSJo3nD+V8ZCjzw4divnZS6U0il26q1AKot+6pb+rXYfxfOB1rs3mHTi4AAAAASUVORK5CYII=",xu=Object.defineProperty,cu=Object.getOwnPropertySymbols,bc=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,Cu=(oe,z,te)=>z in oe?xu(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,yc=(oe,z)=>{for(var te in z||(z={}))bc.call(z,te)&&Cu(oe,te,z[te]);if(cu)for(var te of cu(z))Xl.call(z,te)&&Cu(oe,te,z[te]);return oe};const Ec=oe=>React.createElement("svg",yc({className:"dui_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},oe),React.createElement("path",{d:"M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0zm237.248 450.56-256 256a64 64 0 0 1-90.496 0l-128-128a64 64 0 0 1 90.496-90.496L448 570.88l210.752-210.752a64 64 0 0 1 90.496 90.496z",fill:"#3061D0"}));var Po="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMGE1MTIgNTEyIDAgMSAwIDUxMiA1MTJBNTEyIDUxMiAwIDAgMCA1MTIgMHptMjM3LjI0OCA0NTAuNTYtMjU2IDI1NmE2NCA2NCAwIDAgMS05MC40OTYgMGwtMTI4LTEyOGE2NCA2NCAwIDAgMSA5MC40OTYtOTAuNDk2TDQ0OCA1NzAuODhsMjEwLjc1Mi0yMTAuNzUyYTY0IDY0IDAgMCAxIDkwLjQ5NiA5MC40OTZ6IiBmaWxsPSIjMzA2MUQwIi8+PC9zdmc+",Sc=Object.defineProperty,ju=Object.getOwnPropertySymbols,Ql=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,wu=(oe,z,te)=>z in oe?Sc(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,xc=(oe,z)=>{for(var te in z||(z={}))Ql.call(z,te)&&wu(oe,te,z[te]);if(ju)for(var te of ju(z))Gu.call(z,te)&&wu(oe,te,z[te]);return oe};const Wu=oe=>React.createElement("svg",xc({className:"cuo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},oe),React.createElement("path",{d:"M512 0a512 512 0 1 1 0 1024A512 512 0 0 1 512 0zm167.205 308.224a51.2 51.2 0 0 0-49.738 13.97L512 439.59 394.606 322.194a51.2 51.2 0 0 0-72.412 72.412L439.59 512 322.194 629.394a51.2 51.2 0 0 0 72.412 72.412L512 584.41l117.394 117.395a51.054 51.054 0 0 0 83.53-16.604 51.2 51.2 0 0 0-11.118-55.808L584.41 512l117.395-117.394a51.2 51.2 0 0 0-22.675-86.309l.074-.073z",fill:"#E53333"}));var Tl="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMGE1MTIgNTEyIDAgMSAxIDAgMTAyNEE1MTIgNTEyIDAgMCAxIDUxMiAwem0xNjcuMjA1IDMwOC4yMjRhNTEuMiA1MS4yIDAgMCAwLTQ5LjczOCAxMy45N0w1MTIgNDM5LjU5IDM5NC42MDYgMzIyLjE5NGE1MS4yIDUxLjIgMCAwIDAtNzIuNDEyIDcyLjQxMkw0MzkuNTkgNTEyIDMyMi4xOTQgNjI5LjM5NGE1MS4yIDUxLjIgMCAwIDAgNzIuNDEyIDcyLjQxMkw1MTIgNTg0LjQxbDExNy4zOTQgMTE3LjM5NWE1MS4wNTQgNTEuMDU0IDAgMCAwIDgzLjUzLTE2LjYwNCA1MS4yIDUxLjIgMCAwIDAtMTEuMTE4LTU1LjgwOEw1ODQuNDEgNTEybDExNy4zOTUtMTE3LjM5NGE1MS4yIDUxLjIgMCAwIDAtMjIuNjc1LTg2LjMwOWwuMDc0LS4wNzN6IiBmaWxsPSIjRTUzMzMzIi8+PC9zdmc+",ql=y(49317),Vu=({contentRef:oe,status:z})=>((0,b.useEffect)(()=>{!z&&(oe!=null&&oe.current)&&oe.current.querySelectorAll("code[data-text], mathx[data-text]").forEach(Ee=>{Ee.tagName.toLowerCase()==="code"?Ee.parentElement&&(Ee.parentElement.contentEditable="false"):Ee.tagName.toLowerCase()==="mathx"&&(Ee.contentEditable="false")})},[z]),(ue=!1)=>{const Ee=ht=>{const zt={"&":"&","<":"<",">":">",""":'"',"'":"'"," ":" ","©":"\xA9","®":"\xAE","€":"\u20AC"};return ht.replace(/&[^;]+;/g,sn=>zt[sn]||sn)};if(!oe.current)return"";const Me=oe.current.cloneNode(!0);Me.querySelectorAll("code[data-text], mathx[data-text]").forEach(ht=>{let zt=ht.getAttribute("data-text");ht.tagName.toLowerCase()==="code"?zt=zt.replace(/```.*\n|\n```/g,""):ht.tagName.toLowerCase()==="mathx"&&(zt=`$$${zt}$$`);const sn=document.createTextNode(zt);ht.parentNode.replaceChild(sn,ht)}),ue&&Me.querySelectorAll('[data-select="disabled"]').forEach(zt=>{var sn;const An=zt.textContent||"",Fn=document.createTextNode(An+` +`);(sn=zt.parentNode)==null||sn.replaceChild(Fn,zt)});let lt=Me.innerHTML;return ue||(lt=lt.replace(/<[^>]*data-select="disabled"[^>]*>.*?<\/[^>]*>/g,"")),lt=lt.replace(/

    /g,""),lt=lt.replace(/<\/p>/g,` +`),lt=lt.replace(/
    /g,` +`),lt=lt.replace(/\r\n/g,` +`),lt=lt.replace(/<[^>]*>/g,""),lt=Ee(lt),lt}),Zu=y(93459),Tu=y(77019),Jl=y(89787),eu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy2D4/4zBOyGfN0lZe9v0Tt/fj0vZenBAf0MozFgNjAOe2XR1jy8qC7s/OPdT/12Gc/iNxyH4HYlVrctrb3b5bN7Wzj3X1agDXYOgQILgccFwgk+OoKOOY1uT89nPPmldiFnM/EtTdg4vcr0C8uC59xbIt5k3bu/Sgz2Twm4BuAJom78B1AdsG8haQywMOc5BLDPzsD5eXX7cH9/iR2HW/AMFnQXvwEwM/e7vN913b9iMQAPw+wPQBuscNnIBwPCDyQDZHnAEsXtPHzzo6fPG1p/vu/khQeDcvcr8A8cC8xKzV240fuW4AoSAQCAI+H+AzAdMEwADLliBYFmATR2SBZAbY0mWhsyuZvfRM48Tzj4i9vpv3+aHf7QMH4qXVqbPnr8ETqWxIi0SAUEgCURoFDD+QswDuANkswJkEIZ8HkmnA0QBfALj/2U6Mr4kt+u3nOo9vamryS+jEpiUBjQFaJp3WNRYSr1kQGstBtwCdMfm5ZeV1BqYxmMxmIGGoaTZ0x4TuOLZBmoox6K5jGw7t50BzvGMZfReD5gKa60JP5x3tyTULH511wgn2cBH/QIFoH+CVv7h/wUrEjqqNhhkIiEBIgtGXAFrapDgiXVFdDlSWcqQ5Q9YBfCEAHMhlgH8s6kWV5jhXnlPW43Ie45wz7nINjJGOJyIxXWdM12gD0zTxljAAhCXmoSagK3oM/kt7yP0KL+i4IhNBfEbX4/DMss0DX7v02Ip7hwsCHfeBAvG/v3no5mbrqG/U149CaQkQCsttcxuwcgOQtVwEtByivkxLLKotr62KRI2Yfvy4CYzlc0A6DWRSwAuL+3DsKBdHjA/A5RwM3CMyg64BpqEh4NNBBoDGJAB0p8U3W3hdQIXoyiUbyleDIOwEigcSB1xo7oI1O87/+km1j+wNCB8oEB0JXn3NL5/fFB11aqQkAsRiQDgMdPYB85dx9KayqI1afQ3luasSVd0PPHbe5Dxd4NVPpq4/8qjQDxNJIJ2SYDwxrxfjS3I4fXoQ3OWC+IbGSJjAb+oIh02EfBp04gRNyiqJhXwhQZDg7QwPAUFvSTAKrKPA8tChJzr32vbUnWdOLblsb0H4QIG459klV8xZW3FbZfVolBIIpBN8wHPzbXT0ZjC63O4fU5s98eaL6pcV39hrcX52VxZPJRIeR6SBu17oxox6F6dP9Qsb12dq8Bka/KaGWNRELGTA1CV3EE0JCHGzRVwhQSgSU7uiZhEABQ7x+CWVd7sefHHtxJ9/8aD4RwqIm59Y9cKG+ISTS6Imop5u6O538de5aYCncPQBzpf/cFnDPUNv6uUd/BddKVxFnJBKA/0DHL/5awcuOMyPgxs1GBoQMCUIpVETZTEDQZO4wdPaBIbS5koeESDFlN2VgC5a/YVr8oAhE3t5c/K7p06K/WJfgPCBccTSpUvNOW0127rSI2ojISAYAgwT2NTm4KUlAzig2tk0fWblxFknsJ2sjm7Oo4u7sG5HCnXZjARi7WYL987pxE/OjKEiAvh1hoCPIRY2UF3mQzQoRZTucYLiAsUB76R5kZLweES+Q5qHnr2/nEtEOZCx3PjNT64cc/OXpvd9pIBYN8ArZy8caN+Ripkhct6C0oN+Y52Fro40RlU69/z+soovD72peTv4La0pXJnJAJmsFE2PvjKA7X0ZzDojAg0cAZ+GSIChttKHiiiJKCa4ROiFgm4YVAW7Y5149FZ0H7wswkIDtvRk7zqkPnjpvgLhA+OIt7t47fw1uba2Xr8WDAJcBwJRoKXbwoNPxfHpQ4xb77yi4hvFN7a4j1+1NYmb0lkw4VWngc0tDu59pRefmmriYxN8IiYV8muoLTdQX2kgSN65Rs6CDJMI8VNE+aEEVv/vihCKgwZtXaVQOF5cHj/6s4dXLPzIAdHezkOvtjrbV7XoMd0PVNYCZWWATwceeKKfL/5r7zU988YIedua5RM2pXFDRwqfy+alM0diKZkCHnoxia5kFtefEYHOuPA3KmIGmuoNRAMMfgMwikSSIiJJFfVQL4WkGQKS+p+8O2U4FYD0Dkykrebzf7NgwpxZw3fedgXg7nDqPgH+nFvzL1VWGR+fOI4hGpbhDIMIp4FW8sagiU2ui+qUjSnZPEwKcVh5GewjL/vlRRbmr0/h4mNMHFinC/MxEmQYN8JERZTBr3vcoHG47gbPttHhugyuS0JMOM/gfOdnuAxcLwc5fcIHITPYCzoWrFsPBBJ3zT25302qCVy+T4hSdJK9AqIvy8f2MxxiuQgxhh0+YN0IPzYzxpyhFzrm4k0lZ5816r4RdfqnAuYgEEKEKI+XnCQKfXtxJhF1zQGvr3Dx8qoMjhvLceZ0EzroeIYxDSbqy4tBIN3AYfNnAFjeJdDJibIGGAuCsRJoPAoGExw2Ul1vYlv6NJh+8j101JQaAoxiblGii0Te/A3p0088IDz7QwEEf/RRvfXsz/wmwbSLUzlsdDR0w+VR7rDRQR8SPoZ/6DYemRDGa4wxRRHcOJ9HmQ9v+XQ0CY7QB6OtwqYnEDwgKNhHumHeGxyvrc/j8EYH5x9piHVtGgwja3WMrNIQ8LiKiCRMVnDk3GcBLvzBwTAUI/j8YFoIDGEBBD1SnWuwceBk+P0+VJX6UBU1Bh3AIcs0a/HMzU+3jZh1XmPvhwKI5gy/MG3g9vUdOPOcRjZHXdTXZ3P/0ZMwOWbg1FgU54YMRE0Hf6xkuLsuyrppvxte4TOCMbxgMFSSCBBOV1H+gRJBFNPp6gFeWQqs2m7jlIkOzpimg3MuOKGxhkBgIM4S52DymfQD2ZfZ/HNwkfVMT8/sFBcppD/5xdLLBkOqqwsbE+ciHPShqTaEEIVFPN9jKLH7kvaimph55L4GYdhW03qLPx3PInFElF3w7hfF2V/WYkZVhXtp1KedFtTwSFDHr8aHWOv3XuDjykr4U0xnU4iIwnrhMuQd7wPWbAZWtJDV4+C8Q1yMqZb7xMIamuo01JYxwQkmcZQHQsFvEOey4LgOcraFnGXD5TalXGVYFzYYyF2Rr+2chTQ/EEG/joqoIQwIAdEQbqB/W+LWnaPLffskpDGUbsPSEWvyfH48hcVHlbFv787q+O3iZO24+vAV0RC/MKSxR4Iafv7M68g4mvutgSz7UiKF0ak0YxR3aovzZEfCWTyyzP3HZScYP3MdMLKOyksZasoZSoKQ1pEurS7iKAFCcQjDs0ttAtfhAmSxqfiRd9EULhQxccFNTACr4lJDVym9v2a79dUp9e9PQmpYQKxM8cezNozDStjZuwOE2uf2RbxifIP7nViInR/g7PbSctz+3cdgBfqzI60Ur24Z0JN297aWRbeNH1i2zfqYpRlz4QIBnwyNk/ghYhEIwl9QYQyPq4hYrtsO190KhxvgrgEOA+CkD7zXpLTpPbGZYJoOxnRoYtPksxCVnvDyKERgL9yQ/djxBwTn7ck97+6+wwJiQRe/hmv4ZnsnRp03mSmtuLvfiT+sSI8YW+2/PurXjvD/K8B6UDl7fujBbSl+pm7gGbKcVHRBZnkGARABPY8T1ErmfB1crCzKFakzkyXEwCnMzTQBBocPTGwBgNPmE/qDChgGmYc4SobFHTf/iM9w2sG1RDox0H3XHbk7Z+0jf2JYQLzSyqfpPr68t9855Zzx5j92G4EhOz6+Nn9odYlxa2mYtbFE5ttTG0ItapfODL/AMPAA+ROFR5E9X5DjQ8QSAQG+cjADVLCclOAn64lWO3EEKQRTbIz5wciqYj6A02eeXU0CzdMtpFNAugYuUju2J3/0w/aa3//+kvRw77/4uGEBQRmxudv50nTO3XbaaOOcvbmQzz7K9YsPdS6qLtevNl33lgPLtN8xxtwdGX6RZuKPlLcm+is5Xyy7C56w54eI63C2wnVWC4VN+U1yaRhzC76KJDDxEQEy9JmsqeL3pPMn9i+O1gJIxru7v/iFUP2cOfvGwx4WEHS/szfkLwpFjLvWrO2bftkJ5av2Bgw69umVvKaxmt+V11gsmcP3x5TggoCOywvhCRWW3kX4WnGH8oTzlPPOk75wweAIK0ljtFnQkBevdVgCJPEes73XtC8BJ5NNAn3iCAG0VOwy18oQ7473v97+iZ/GIrwrHNKbx/mxpL6eDZs7hg3Eva/yQF2Tuyafs944a2Lg3L0F4oVWPm2bhb8ls2gQRo8rPWyihea5AuQnqI2UNVlN9BygIKIhNwp1iHCHZ1UJnVJk4gpzuSgyOzRKqxJJIaGwpX4gU/ftdgezV9ooDdqIBRxonCPDKkHZRtMg0PmSP7/NZj523jujCrtDm2EDQSe/+3X7K+NHsbs2bBg44SvHlb22O19I+yzdxEs6XPfSvKNV+nS3By7vaHf1y3IujqDPqbBM+BUOJecBmwrNvGfyvCkMQhtJa/pMeOMih+yJMRIoDIj5gVObgIgJhA2g3A8ECBjvc0X04sydUvoFwDy1v7iZ48kVDGETCNL5fEBdBUTcTNOFmZx5fna89rYrKwZ2lw57rSPUCS6+a6l5yscOWeLXs3zJm81HzPLyzP/uQjjnxt1L8ZoFzCQzlLaBHLA5ASSpmo/8LCkRRBi7kElTiloD/GFJdPLCxeYdIgJcUnKIz10GHFINHFQpuaTEBGqDgEFcpkzfIqur2Ico6CKPe+avB15cC4QICAMoDUogqDjOA6Lrpj+zhjmzdk5u7S4oe8UR9CW3vmIdN22i8XJbS/y6848ov+m9vvjeJfy0FPC3ABGUjBMOtCSBNkr+OLKwjMAgQ4U4g8praCNjxfWMlpISQI9JEOgzAYRXgCEsT9q82tmjRgBNMSm+oibQEAb8nogT5nARdyjOKJjCRSC99Dbw+pZBIKoisuSHIsgERN7my04br814r/t/t8/3Ggg68Z+X2X8cWe1+ft2ankO/+on6Nf/uYu5cwh8F8Fklz0n0bBgAenJAlqKuHuEFAERor+CMW95rW+YyrPBgkFCIMgKD7sYzdOg1rfpPjpGiiVYxPY+gEh5yBkUlhhfrotceJRQYJPqSWVnwlreBjW0c6zqBLGcI+TlGlTNRBEEg0LH9affhs6foX9ivQMx6tL/88EOiK3g+2b5kVcux7yaiXlrDK97uw9aAgTDJWVK0vVlgYxIYyEudQJviAsUBAoQ8QM8UjypvBEgQkxKnTVlWihOEe6ABlWHg8Dqp1IkjIj4JBHGGzqWnrhxEgaHnofelpMgMB6WII0Co9mp7D5CygSyV+OnAqCqglHSERtlG94dfPFz/8X4Fgr78D3Ozp02e4Ht2e2vfzz9zWPn3d3VBty7gX7V1/D7kWTkikKbEkscNJJZoE2B4xKeINnEG5SZIDMVGAWnP4yZ5r8xWYVkWuQFTq4GRJZLgxIEhA6gPS6VNhf1kgSmuUCD0JIDymOQucS1cmsJbWoH2Pmkg0AIioPIuBSKBEVXAhhbn3P852nhivwNBF/Dom/nbRtWySzes6zr9guMa3uFx3zifz2MMx5CYoFVK4YstA0CcVrpXgi/kPukDxQWkF/JAKkvsD1RWAm5Mii2SR6RmFBBehFvIHVqxx40U2T9BNOII+t7aEFBJxQt0bCGHIVf1jgSEuFG9GcI+4EA6B2xtAdoGJEA+z1QmkURWmxkAtndj6jdOZsP2p/aJjlCrYNaz7aGjJtYs8JlW3dZN3TMu/Hhjm/rs4UV8wuoMVlMBno9WrgMMpIHOFJAhbiDzUylnBYSXLk1kgP4MkM4ABx4IpD3zlkQSEUMQTKYXRGGCZgBlnlgS6U/yLTw9URcGKkMU7vP0hOdj0HdQETQlrIof9B1UQdJMQCSkDgpREJIWk6drHM4Rz7ILLj6OPbhfOYJzru0ADtCBzJxFVkVFvfFSOpVavb6548QrTxufo4v76UvO9Sld+6GI9NhAJgnE+4F4AkikgRwR3xMFpCeE70BAkC9B2TpLEnjsBCmz6XMiPBFaAUFJOGYA9DypBmiiakKRh5bmK3FEdQioDlNRmuQIFfqOp4BodDAPISKwnv6hcp5NrUBLSmYUyYdQQJAFFmRAHrxjWzc74MrT2AfvRyj030zzwxM6FrkOuKEhlemHbiURNJzU3NpR4YW662x+5W392t4MxpA4sjJA3w6grQvoisvCMSoQIDCE+UogKB9BOXMOMLIBiNuA6QeCAaChVPZTUC6WRBs92yTbNY5DazmCGkfQZML2D/mYAKImBNREgLBf5h9oy1scjsbgJ92h8hoeh5G2piqSt1uA9qw0V0npC6uPCh80oJREnw/Y2u9+47+P1W8dDlfsE9E0i3PtsD7MAcex6kbSPYBuO/BFbAQr/EImi0VGBLaAVAro7AaWrQWenQ/QiqRVT58Ja4m0Mm208oULDdSPBdo7qXIAQBCorgbqSiCTRaZX40qrPACMKHVQGeBwXA7H4WCcMhMcMR9QHmCiKE2A49OQznOEIrrIhQtHz0s4KVM2mwaWtQEdWUnwiF9yGPlCYQ2oIY/dFCJzwckHs2P2GxD0xU9u41OCJVjiWgioiuvurRzlIQc8xOGPmjKuWZRRE5aKRsTl+Pk9wNK1pP048bk0V0TEmZ656KHQgwyJJAl1AoIBpUwUM5cHgGhAhh5IFFVVACNjwAHVkkAigVRU/SeLa+RG4omAEmWaghsGs3aUtaBjSVkvamfozwH+EBANyu8if6TMABro/wCQ50gsbUPd1Sez1J6CsU84Qn3p0518lm7gR7SK5WriaN/oYmy1i2xIh+nXCoE6kU0jGpOCpmeL476nOP7yLIdlUaDJayklYBwXFfU6dmx3JFsR9UIMCEvBTwDRKo1SpZ8OTB8NlPmAMeVAjEIaHhDKVCU5LypIPDNUZf2K3xOEIU1NosmmFC7DW9uk30PtBOGAPHddEBgbBQJUmM7Al2/G6CtOZ1v3KxD3NvNARRhLOMeUoO5iSiyFZNbCWxsjqC7XwGIMOnWPGpp03ggEDwhl+Kze4OLuPztYucaBlfJ2cDjKR+nobbE9IABQBxHJB7IlSXP6NTCToSwEHFwn40ojSoCamBRbFCGlTaRZVbq16H8CpwAIca0HlBBTtL/HyQ/MJVCASBgoiwBjKoCJVLVI+SQNeHMjxl5+Btu8X4GgL39sCz/KF8Jc1+HGlOAalOm9yFlBLG+fisYKGxWhjUi4IxELZLC6vxyGzy+tHpVnYJ68TXN0dHK0tLhobXPR1sWxZb2F7V0uetMOLMUZZEMSGB6Vq+s1BDlDRQCoi0gdQlYOiSiS7yr/TeDQRoeSyUpYFsBSFSJkCheDQgXIncAdLwCVMaCmDJjUAEwslx2xDuO5ectY3bVfZHvcM7FPRZNaBU+28VsYcCWJHKKXj5IvFmBYBuqCbchqOhpL4li3ZQBWzZE7dYsUUqAei4jQg0cMMkvJxE2lOXrjHB1dDlo7XLRs52jv4tjh6ujsYRjIM5RS/VOUoSbKEBaKWbYQExBBsrrU6yKQCBhRhUjgeBtZSYI7PCexux/40cNATSnQVANMbwImlAO6BGLlMRO1g/aUG5Q0GM5x//aYP/+Tx4INeJO7GK0S/nRDIZsj6AK6nyNtatIXKApRqIS9zIS9s8FPBPUGRbfQLbRfASjSNQ4VLHP09nPEezn64gz9cY6BASbMUMdmwgQN+pmIJUWCVFE+yC2CcxT3eFJPMByBYQAd/cD3HwLqyoAJI4CjJwCjy6Sl1p1wrz99hj5rOAR9XziCLuThdfxUzYe/Uasaeb/E9iS/zRwXDh1MjpRORcHv9GTFCimycobsUpBihYSQp2cKHnZxjsGT/eTUUW6DzONMiiNFjiTlQBJMmNLkPZP/QhxDPRwEBllGwl+gjcSXDmwfAH7wMNBYDkwdDRw/CWgoAZiP9y9eyw745qcYGdh7/HjfgKAr+csGfj84/otWOK2okhBQFQXScVFtJDI0fSJK5610pSu8shllcqrPiwdwiASmZ1ipjJ1gsCJdU+ycqbxDIXXqhTZE+INWOwDqXN3SAixZIcUYcYwQZcqBM4AuEk2PAmMqgcMmAidNlmKqtc+95Lyj9N/vMQLeAe8rEPcs41WBIFZyjhq6YRIB1TF5Y4kdXJiblsbRY5HFPkhElVNW9r/qUZDVeoOgCcvWC0OoFKpS/AU8vAybLFD2qgKLEkOqn0I809rQgJVrORYulu0DNBmBmmsIEFLqvQPAjx8HJtYAx04FPjaZIgLujV88Vv/ecEF433RE8QXdv5yfr5l4kMQCiSeK31dRQoVRSQpH2OCwdaCXzKCi1VwoJFN1wyqD6ukF4e95IklxBH0kuKYIMHGTisNU2FsVFBT/r0CicInFcc/DsgyTQCAwRMsZ6YE+jhufBCbWMRwxCbnqSvfbP/+8fsfegPCBAEFfcv8K/ozj4ExReWFKMCpiXkx/wBViyjWAHblBMaVqUlX/hFLSitiqaGAnsaRSpkXWsLpJAkO1dImqDvqf/APvfVHWX5Q6ffp5ji1bmGi8JK+ZPHt67k1y/HkuMGoEQ30t/vn0N9jMvQXhAwPivqV8pMWwwnVQKmSyIT3TchF847CyLnSHwedn6MkNSstCdYUnXoTzR2EnL2SuKjcIDK/eQDnDhaI0xRF0VlUrKzxqjxtUz12x6KJ916znePIZJrxoBQJxR3+W496lDHXlwKQ69/7ZV+sXfmSAoAu9YyH/Wo7jdhJRqkGFnqkaojzIEWQcInMXZOhKy6baQgq0uIlFiSMvDFUMguAO732l9z1JJiemFGXk5LSCoponFQPzxBh1sP7qVi4CgQU9EaSULseDK4HGaoaJlfb3/n6teeNHCohHH+X6hnK8mrNwrCAChReoAsLzaMMmxzgKSQSJMzjW9exsRyj1UawDlPIWnUZFYBW4o4hCO+kJDxDVKCPKeooKnFVx8133cLS2ekAQZwSApM3x+FqgoYFhbGnuU6/9IEB9Ynv9eF+tJk+uU94s1N8P319WoOntDsyzbYQpVUrxGTE0iwJzXnPj9CqO2gAjLxVLu2RjIRGpuPK7YGENEUnFNbJDwVAeujJfCxzhVXKogKAAxLOw5i7keOYpIBJlUjyFgIzr4rlNDNUjGEZGchOX/iSwbq9R2LkLeV+cTp6jOR4vzfXhHMMMnsF142DOeDU1rTFdy7T3I7BiGwvMX8vQ3QdUl8j6oChNq/EGaE2v5qgkjvEDr3fItaJqkAr5aU/2kKgrmLSqIaUIIOG5F/VPKPGkxNJOEdkhPRfdvRw3XM8RCmgIRyQQFnPx0laOqlH6wMhy1L0xa/j1rsUU36cc0dXVFYnn/FdZNvu632eUB/0aHK6JagfX5TAM2XLl2ByJPMOibTr+8KomqjNG1wANdUCUoqX/GpZyaA1QY3Jhqby6nQmvt3iSgFeaKu+l0BEkE08FT9x7ocBTTl0xNwiOU1zhOXkFR/JfB876sYPEDoZQWBNAuIaD+a0cFeO0VTtu06fuq+W7z4Bo7UoenMjyRxjjE2jQVceAi7StQzd0aHSnjInYEHddlAUZGmNyBNj2FMONLxhYtY1hZAXQNBIoLZdia0YVMDrAEQ0Bf29joshAKV3BJYobPDkkGlqKuGLoilMmrEpO7SSeCi1cRfkLBvzlKQfz/s4RjdD4IQoN21jaCZSO05/o+6127ltb+Zg3t7nnjK/WDhs1AhUhP5LZHFZzhqfrQmzx7gK1T4Bo60melMqzJ3I5K7axJ4+kayIWCYq5GLpOQTYKIBTyLGLGEjV/lBoOGqI6Ovo5fvp3H9a0SLOwrh4orZT56GkVwNQoF77H7FaGnmyRmFIBwyKFIKaMFQNUJH9Vd5FqBS6IJc9iKmQPi6YXrG928asbbFSU6AIMPWRjZR8w+iDc+sNTtMhAVrsABnzTG+UMKhlO5zBNxk0DL+ZtXNpUyprfC5C9BqItnpqey+tz+hLp2LrOPMxIFH4fTQYggnkzXDU5SYzkM+WQw34NE8sZ3upyYeUyGFtiYnOc4X+fpOwKUFECRMqBEEU1/cCEGHB0OVAR5nihHdiSkNNnZBZtsGC5uBxccYeSU15AVyr9IsKr7J1S4iparOJUGYvjx9/JgTs6SqMG/DEbWzLAydNN65MzYU4dz7EjwUTOXRRQe558wM/RWAmMrkdnJmt94sBaP/WTvetjr4Do6OBh28gv6x1IT9gcd+H6iAs0MU6BNtEXLcTS4GwLpmlijkZ1SI7zaY67iOl5RBnH06v9eOR1HQ1UZR2Tc/xM6j8IAo0h4JNVVC7JsbQfWLrDyzGrinHFFcKRkFsxUMVdp8prL+Syh/gQg/69PNWDd+Sw+k2G0hIDJWUOcpaLH1xhoraBYXsvLbiiPLcK1VNQ0qEUKsch47GJGezgydUs+W5I7BUQ3QnrB4mUdUNLPI+44xeTxMSKEJTnQifQJDEiuCiHVMpTsD6lTKXct20XYyIWWntdfOuxsCh7qawBfF4YhNratCBQ5gfOqQVKTY7mLPBCOxss3VexD8fTEyrXoTjGE1GqMUWFO8Q6KepOFbkQeRPi3HQPyxdZ+NvtNsxyE9VNwFfOAQ6aoqO5SxYdkAGiZnkUE1RcEpV2GsBBjfZ3Z4wz33XQ1rCBIG5gQbu5vSddFecB0VDizZj0ZLTsbyYAaLrYTpNgvNEvBAbdMYEVZRnYGRu3zI1sXNXKttZVsmn+SlTqEVmQJpa3Vzbz6RqgmvIZGvDAZmlRkeIXXFDEEQVRpQoBvesR3FE04UyJqqFiifAgQsYHOO77Wgo87MM1t5g4aQyweLMrFhOV5Mh+78HRdUocyogwlfRQftttbWzcPuE/CO+eAAAMI0lEQVSoxsbMrrhi2ECkc/Y5/Wnnyda4g14Kn+5k4BetfnHDpLRlrGewLK8wEEyQqSZItY1pvNocWXbZcdqMU2/d4K8pHznBX+I7FD7MdIDDchYOcEIIuhpwcjnQ5OfC9/jjBlnqIs5NC0KB4nGJmiSu5L5y7pS+KAAwZOCWMjCIQ9fNteGHjos+D6zbxjGQ5WI0UZCAoHSqN02zmPOpFFOEXTyT+sgJ9p11VeYD1UH8kxo294kfkco6d7TtyFzWnfchQ605kF+qHqqQV968FE3SSpGN5IUYkFdWU0U6I5fBgma9N1QWqNtV//bPnuNlHQxTkwyH5/2YeXQ5P2SEHyMbotD+sgnYOMDewRFkRYmuI8/CoteFiThkAnsjsAWHFFX5KQdyRAyoIl2V5QhYDLVVHK+tdWWhWUAOZSkMcvREmqjCUb3ZqirIAaaM5qivZpTOXWhl8xdNaxj0yofNEXmXv7x2a/LE9pwPgaAuirRUiKGYOXbWC1KW7qp3jUojY04Gi7dpqbposvaEydXvqtgG4eba7DX2sRnHeKgx7Na/3qVZ89pAc/aqxHAVVTHorb1CG1hRQ6PQGR5Dq2EoKjHVEAVm1AIVBrCxA+gQM2k4bNcVBW0RPw11pGJkuicp9wo2g8cNorVMgEE5YyBMtbcUUytl3clc6rjjmqKisWfYQORsvmT11sSh2/N+xCI6tS7t0iDw5tkWPqPVo5QY3TCFxekRNBiiThpLWoxeI7q57rzJcu7r7jxmr+Ajehw8Wh3iR4ws4Q/+6Z/a7dvSzlSbs6O4ps2wbRxA4wWE160oVTQnylNVQm8o8UX1smeNB9w0sHQLkMpJzgqYJJI4SihHQaWXXpmmEEkeOWVEmBcAEK0GXjaR8ih5R4rUyXXu4o8fYM4kMTVsIPIun7e+JXnMxn4TNRVmQSlJ8SQFj7hpJpV2wRShMkeNiYukD4T1ZDJEdFeIpn+2BZf/z0zzkN0BoHgfajd2w/il38DlU2v4csNln5vcyDbSPp/9dX95LhyapkE7TPOxmQ7YdA7eCJ1pSpwqMJSpPaOG4+AyYMFmJoqj6ZaIewIGF92qUa/yg7KOgoieuaWGr6jCBuIEBQLpCvpf5FM4RQ8YxoR6zj3nyJonhg1Eznbu7+zN/tecTQ7GjyTThuiqYg3yi7yKxZ1Sl3IPKgqWZCQQiEtiPI+BRA5v7TBu/fLMyE6DFvcElLvm2xdmuXbboSOYFTRxySEj2OPvOH4W184MZ0exqDmdGWwmM9gRLtgUrqGM7oNW8GUHu1i0SZMgeA8x9o6SWj4uNrp2qWOk1iPul/pBdb1KrlBZxKHgGIaGsJlbdPmxwSOHDUQqb19k2/yPL6xIoLY+JkxUNVFbOUREa9vTHWrlFQoAaKa3xw0md1CmWdjYbfF2HjrqS9N8/9wT4g/d987X+KTuNH90aj2f1FCm3c50fO/Q95gK8NlvtQRzE2omQtcOHVWhffLjo3HuG1ulGKUHEUo011PxsSkHO5J/IMSZR0VVRSJEr8ipe1aTly+RgNDMQaqTleZuyA87394ycthA0OT70gBv3tiejGzoN9FQ5TUXCMnkSUvv7FT0RSyplLkinAq6RZ0MuONgzYD/tfOmBY4fMqd4WJjc+HR3tJ+V/bqxVPvKpDr+pt+nffHIUWz17pyMcz76voXY3E6Fk949ELGJI8hnkCB4YyLUPEKPG5T+c8iK9MzWYq5QKoqug+JwZVGGLS3xqcMGgk6UzvFf5B37qoVrk6iqCSPkN5Cgzh4RB1JGqrz1nO0WLkyMdVAtVdkUIj4NzQMsv22AHfXVI8Nv7A6xdnefqx/PfSEcMG4/fDR8IdO57riHfvpbNmvWv/2NIs556X0L3e3dCS0gdEBRPoPil6p/QqOmD49d1CJT4rjgQ3gBSCWehDoRISAIEEwT7srWzPA5gk64tptHG2Pu+lTWrl24PoUDR5eIxo/tKVLCRbLTW1hk4qYtV8SfuGMjaGVQGjLQkXKxLRe8+guTzV/uLoH3ZL/vPxEflbQi905txAlNlez5mJ6/5PBxgyOJdnWup1a4c9a24jj6nQuRn1AWlRr8Lp6lc6LsE5kvl5y/U4mPpzOkDSNFEoEwrg7oSPCND131+MRhcUQ6nR7x3HPB7ZMOT9xUEja+GQubGhF5dVsWlu5HIOIrzE4lQEQU3DOdsnkqt0+jzOSIhHyI5zVsz5k/P3Wsfu2eEHdP96Wc+aupzLfrq30/mjYK2ZCJ73x8gn4/E9R85+PV9dmTVrYYf0/nmBaJaCKVq+JU0sIaPGxQ3EidoBQ2QSJN2UFdQ8BReqCpWtbg5l33qjNG6L/aYyDyvPlCm/f+bktrfkNJ6OCD1v1rlH1Sj9w9c6Tv5CBzG/uSebT3OUjaOpia003dOdyBCRcRctzCJlymo9vS010pfO/kMfpte0rY4e7/3YcTB6btwD0Hj3aPrC/Tni8L2pfPHB3csqvzPbbcunZbD/+/XJ4xnX7shiw8rzpc07gcOSfDZdIyVEpbpWoLYkkaJtKRZbJwjYaq1PCXF8xdcxoNCNgjIDLO29fZrPfH1LfjWGks31DhJILTv3POWP2W+1ckqg9rDP6iPqJ9wQduWo6LvOUKq0lyhQyP20xDn6U57SnnhY64893zJvt3S4EOl/C7Oo6GuQzYk66Y0GjMmjaKUSzvx40Tjdsms3eOxbtvYe6ceE77WTbPDhhIMjGZOejn8Pu4yCJShTgpXWE9CXHlvRYjhrx0CflL9GtGhvxxEdMHHo04D21sjV92zTFV1DS8e5710qXcnHTw0l/b2o4r6Kd8uEMWQT/a+7LOmpaKU8877PQX1Q3fvzJ34JgK44LqMDvJxzBe0xB1OeM5lyeSFjbsSPFXegbsh8+f6n9rXxJ3OOc6/47OMaFg9OZDxupnNpSzN0O6861PHBgszLFV5yTgRjZMOCyd1acnUijx+WHoBnzBgB4wTIQMU/NrhmaWBHGgZmiNadt9S9Ool5AHGDQfdxBg9OsKJuKAszTt2n/61vTQguJrfk+O4JyHM868+yz0foZAoGyHa/ehP5XDpt7I6wu2Vp4x65RTdjkZ+H/ubQ5MqKmM+oKcv7yyM/H8lbLn+sP2+PLdPWePrw/9cmSNMToSwGMVPvf7R48PbNrT65y9IX9kxtUfXtmujRv6Wxjvda5/C8TAQHulHlzxVwvxo2l0J3Wgu3YcfQN5bIyXzn65ufzzN33qU4K1PuqPi+9aGiotG/OtprrQVRUx3ec3cVd90Ljp8NGsY3fvbWk7D21KuNu7+6zDrjgisH53j/u3oikeX9NkhFa9YCNxAFwTsHNw83H09jvYGK/80+wF9ZfeduVpH8oVvicEGLrvVx7qrJnUELquLBr4imFodtB0fz8iat1y5IjQbv2C8JNb3S1tPc5FX59hvrIn17FLjujufmNGOLbq6ZyTaqDRm8zKwc31ojsOrOut++VZ//jqNf8//nBrMeG+80R81PiR4asNn3EhpaSDBn+s1HTuPHXcTxcztmuHsKOjIzw3W9O2qc0+9bqjzT361ch3AJFMLjyZaUsfzrv5Urg+aFYaTq4Xnb0+d3VPw7WfOf6y95xSticr4cO+7zef6K4bPSJ2sT9gXKRrrJEBK00791Rtqf78J5t6VzFWK5rbeceK8Ev2lJ9sSbLPP7OhY+yzZ9bv0cTLnYDIZ2b/t+W8cVeetLxrQLdSsLP96OgN5FbuaLr0vI9/7U8fdsK9X9dHqdvjDms8MeI3LmAaO4mDVWvcHTBMrTXsYznDwMi+LNfbevPn33BM4B2Tnd/rujwgOEv33XONg1X/Z7t+TXM1CUK6H229ZYnlvRPOv+Dky557r5P9p3xOoBw6pX5KLGQexMGbOIOes9nGDZ252Q98Oto1HDowcv3POuH6XzpY+00bpdBcE3o+gXwqhW29Nd1v9Ew660tnXb5XYenhXNh/2jGsu/uJujD7dbNj1/k1qlXNZZBN5tDcO2rr4h0zTrnk3EvW/qcRZX/crxBNnX2XXFWSXP0LNpBCJqFjQ9+UVYt7Dz3ta1/4WmFo+v64uP+k7yzoiJ4tZ/wk3LHs2rc6j5/3ct/Rn77uwit2/CcRYn/f605W05znvznzT4umLf/TrC9l9/eF/ad9//8DKbvze3g2WI4AAAAASUVORK5CYII=",wc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGcAAABaCAYAAAClpUiKAAAAAXNSR0IArs4c6QAAIABJREFUeF7VfQmYXFWZ9nvuUtXV+96ddCchIYRFggoCRhBwQUVHdBQFxRFxR0VHxFF0nJ/5f8FRx40BR9SRUX9cArIoQRFURJYIgeyBLCzZO52k051earnLmbxnqbpdqe6uLEKmnqeT6q57zz3ne7/9+84pgSPgdd3dMu33oGmkgM4Q6A6yUXdQiKZHUdTrOKI5mw/+8I03NfwEQsgjYLrP2xTE3/JJ33xYZoIYLSKFzihEdxRHXflC1COjuNfznG4XojvlRF1pRG0ZD/X1Na5bn3JQnwLqfIm6lEBt2kEQCzz61OB17z27/VN/y/keaWMfBDhSXHkPautSaMlLdDkRumNEXVEU9LpC9PiO2+25sjsloq4aJ2qt9UVdfdp16lMC9SmJOh/gexI97TvwXQHHEZASoFjw/0ovKSR+cNezb/7SRUffdaQR8W81nwQ4UvzTnagf9dCKbNAdSqcbMuzKB1EvJHpSKa8r7UbTal3ZWZ+WLY1p1DbVuqKxxkFDWqIhXSJ6je/ASxLdEP5QFuEI4IFVe258+8tbP3oo4/xvuleB8/8elG/L5sJrdw/kZ0LGGc/34HsCvgekPKAuLXDRCS5qUuR0B0JoDrfc/nws2HGAP6/Yc/0FC1ovfz6edyQ8Q3zpXjlfimDJwGA+1d1ZqwApjI5hXoeHgSiFbCjgu8A75wmQe1+oVyRjef3tz77m2kvm/ulwzOHhzTLTWIcOKdEbRZgROZglY8ySDp6MBH7y8jax93A851DGEFcuCq4dGMxe1dRUi7oagXxuDK8/xsO2fArHNYV4uN9XEnLRcc8POJRKMoFwtA0KI2BoNMg9sGbwyx96Vec11SxWSik2DKDB8dEdxpghJGYIB7NdF0c5DmbEMXqDEF1hjIYIEIVAIlsAcgUgiIB8hP5sTn7l3S91vgO8cB6i+OSdhW/v3J37VGNjRoGDKIsz5mWwsl+gMx6E39yMPTng4hMceE41pKl8TSWij+ViZPNBPh9Gg/lQ9ucDbN87Gu0YGctvzQdyc/9woW/jjpG+B58Y2LDie2f025GllO66YbTEIaZJYKYDzHAczPY9HCUczDDS0B5LZMhY+VAiXwDygf4pREAQAmEMxPwxTgivjaF/d1wgDMVZ/3CK+MvBr/rQ7hQfvy04d/dg/vd1tWmkfCAsZHHei1MIQyCTcvHEDkdx8qUn0d7s/7D9iB4CY/kIuXyUyymixzvzBWwfzkZ9w2PB1nwh2NI/GPZt2pPbvnb94I77lgzuxn0PDQNXky7q9adnZY2TQkfaRQ+JLSRmuQKz0zWY6Uj0Sonpki66gE9CBoHUROdPqLk/4g+JXRwVANWyBcJ4htZDLP7Pe/iLA0SheO97TxU/PTQSH/zdyoq89YbdX2psbvxX34VorsmjubEGu0cB3xdIedQxwAdPFpBhhFwh1ESPZH+ugO17R6Ido2P5rYVAbt4xVNixqT+3fe1zgzvuW75zF3776EiS6HaaC1fLej+FLniK43t9YI7n4qi0j5kCmAG66BINQsCJY4kw0JxOgpNpojKO57hkEvV/GS3GeebWXS8DxiIWx0JJjnV0glhe+YHT3G8cPHn1nVdfLZ2rrxZJNqlqyOJazrl24yXtnW2fAGRKCGyPw0JfHEVbnTjaMloI+6anRvo29BX6Hnh86+6JiM4nLlwo3ex8NAcS04SLGS51vsCcVBozXYGZIkavBNoRo44EVYQPDNFDqThdxprI1KKUWnpqrmPea15RYNj/JwLFAiMg4QrAcyXSLpD2gIwP1HhAjS/U7+TB7UMhntzlIZY67opi+Y0PLXCvnIyS71go3bnZ4WZk0l0yDnpjoAfCnekCs+B6PVKiRyDqcBz3oZ27vAu//xERVIVMBUab8r6rV8vUNIE2GaHHcTGDHo4jMMdPYRYEemWMnjhEqwR8cjhVTT4PFAr6PcGgkefiSVwSnbaMP74ri+9dF5qgFpQycKyKcoRUAPqOVG6/JrgmfsYjEIb4rlDPEka2KsW6cRzjD+ti5CJXqUQI8f+3b8fl+exwdyT8HiGiHke4MyXELNf1egDZE0vZHXn9LW7U5AuZRsfutWgbeBqr5rwep3c9iHkta/DztZcCThphVDjhaxc1PDklkc0FkzrH68dk7969uGAgwAl7I8wYDTGjEGBaFKOZNpMqhoTPkfjU9wSAhtaoHhvtKw4ncQ3HK2kQGhgCYAFSvzuay/V7Q3SXxJaK4HUpoNYHalP8m1BgEBQV9CppopxUfiUlTTFOJJErSIzkJIazEkNjMZ7qi5XnFoaSDkMgJaQQTkoIB1LG6ieZxojdLAbOuASpXaejfs1VePfdH8acLYvx1UsfwmuO/j3mty3Hd5Z/DrHIIC6EL/u3i+seP2RwVvXLM2szuGski6bHtwDbhoDhnAaBBlepnwQVrM4vf3DSFlhVZG0EgaCaqU1JNKSAxhqgOQM01UBlHZhbIyC0ewRKR7/6CYqxEw9TY5s/kH6K8IHEaE5ib9b8jOn/R3IxRvPaiaDHZqU4OUa1BORMRo9aCH/wePh7TkLt2C40juxAX9eJyoGqTcWoTbtoafBQk8KZF57qP1Tt2BNKzmO75J0o4PzblgKDWc3pU72SHg+vVcT3yOkSjWlN+JYM0FwLNBOAGi0FJL4aX5gcWwIAa08s4ZV3ZjieBB6xhDf/D+ckxnJSuc9Un7y+KDHGTk21jkqfJ3N/nAvVbZoSnBZoqHHRlAEaawWaagUaMgL1NULZMyvRng9EAc5trxf3Vfv8CUn+m43ylj2DuOCR9eOBUbEAFyy0fajxpMoik9sV8Ul4w/31aa16yEGChJ8gsVkUwDJ9tGs4xqZdkeb8MQlF+LyWiL8V4TVTaVWZYbK2RqAxI9CUcYrEZzxYm9KerJLohIc3EeEJThzh/I468ZtDBufHT8kbxrL42Iqnx4Mzf5rE/G6pOIX6nwZXBaeG66t9cPK6cnD4+5bdEW5dnC+qr4nU5lTPU2Mn8oCUUM/VXprmes3t/CHnEwhmzOlUeI4oatKJsuWTPT+K6azoMTymxUJcOK1BLJxqzvbzCSXnB6vk54MIX1m13qh6CbxyDnDO3JKqoL6wA6j/J4g1JptMJWB4/eJ1ARavD4p2ZKIxxqkby/XKYdDqhcRurHXQZN6T6ykRRVVaBddPNv/kujmXMJYqJgtCiWd3RkryZne6KpEcBbikq0n85JDB+c/V8n37IvObVq7VQ9G7ueilwNz28QHffsHfAep1y9mGwYvzfuLZAH9eY0ICEzwqr055bkKlmpS6URyviU8wSHjaApdcbxyHg+F6TmQ4G6vxKG1BrAmuvNJIFp2ipE2jl8mYjPUphgJDozHaGwSa61yVDoojfKSrQXz/kMH54Wr5Brj47fI1pTTIm04AXtqjhy56XocgPRNJDYm5eXeEp/siNNdpECoZ2cmKc9USoMgUCdVHJqCz8eiGPDoaXLTUO4rgDAcEC4NMQUIDlo+AXAhkmb8r5uwkUg4wv0WocgvVJ0GLJD7dXS++Xe3cJlRr318tX+K4WLriKc0tJNhZc4Cz55ZumTBKr1J6kuDY98XYiLFOyXOudj37XZdUexJSrYPcnqxH2cSnvZkuPNdGh6Q+LfCXAYnhgk6KquwFgzwyqHKM9k8ZkUJpBzilVTsVBEhpmBhf7GwU11a7mAnBuWGlnJH2sHHZU7EYGeWygFNmCLztxc44I211rnJXE5asCs9bhyxlbrMlps0eTGqviqVtTXQOlSS8zZPZMcpjo4nGToJD4t6/U2KMtYUkKGVxlh3bMhnBOa1Ve30NGV2gjGNc290ovnjI4Hx9uaxrSaFvyeqwfteeWC38+C4Hl53F3JOe2YQ5riodg3Jwip6VmX2yREHPh8FvMpYqStvB5KEmoRCdCdqZgZFYeaMP75IYCYyUmIeOC4ANjxUKMaIQSNc6Sq29vE3HQ7SJhg+/3d0gPn3I4EBK8aN12PzYqqBn03adUJ3RKvDPb0yZOGc8OEWwqpSeiVRa8u80/vbFwDMfVrus/a9LOgfMCnA81nWYbuK4zES012uSW3D2jMbwHeCJAWAoD2VrKoFin9a/pYAwkOjoTSGdEljQodVfc12xEPb9rgbxkWpXMan2+dE6+fjyp4KT1z4XKX+9tV7g2remtENg/plMeiYbfDKVZu1Osn40ETj2GVal0aukO0uik/gkPLMFqsBmfqzqKxJJMF0EnNClVbYFZ3A0VoZ8zYDEQM5oYGUHjSdYtsDsaIQgL1Hf4imJWdCp7IxyKPhyHfykvU5ccnjA2SDvXv9MdN7K9aGKhOl1fPn8lHJny0EppkiqtD2TqbSpwAkjiYExS/wSEKqyaYx9kvDJTKgtDpJ4tAdML6VdeoQESFObrjrXu3dMq/MNe4BdWW13KT1JdTrO0JZMKFwhsaDLAetRrQYcP4WFrWlx4WEB5wdr5H/3744vWbY20ql8V+Dzr3dV31klm7MfQJPYnv3ASTgG1rirtI9ZCQGhy8rXUFbiqX6pPaCiHjQ1IFN+SLmW+LpkwN85HvvkbDa8mEcta92y4DBbTYndNAQ80x/BZ/CaNmmo8Y+2NqU4X8rK6dMccN7tDVpyamrw6yZfvOWwgPP91fLa4TF51dI1kckhCVx+joP2Oi3WNoublKJKtqeoBs2sJrM3Vmr4v87J6ZuoqrI0yoDKrW3ao5Oqtl5jiV8qHZTK0pQma2dUA4exM/lI5+io8jjWsZ2aiLQ/DGJ15lpi+zDwxDMBRrOxqg63trioq9UqUK3F2CKV3Tbz5UinTXfA5pGORj1uugb3NvvidYcFnBtXyY8XQnn9X5dHSvdKKfCBBQ5mtSXAKatKTqTeLEBJYPi3ZHxT9MRMSoUEt4ultzZmwFFjGSKwdMHCmDLwxs7wIxr3DbtijLE2Y/oJxmUKyqQukwLmTzMcbvJqTLKOFSR2jQFLnw1UBpxqinatoc5Bd4fLYk9RWtT8I/0500On9TqqXtTZpMdNpfFgS0q88rCA873V8gIp5S0PLtH6hJnli05xcOI07bdbIiWlyIJQKa1TnFRCFRW5L9GOa0EaDw6QDUo3Prs7xnBeSwSJkSQ8VfBLex0s2xorJ4DzI3PZiqu2NVrdWZXH322GmQU8SiAJyyLcnjywfGOIkWxs+hdKAE1r99SyYqlzaipIFSwnCJw600E2J9HVbMBJ4fGWtHjZYQHnxlXyTOHgL39aXFAcQ3DeNN/FmUdrHzeZIRj33jx9P4DKZjWZ1PAzgmPrSFRN5GIrbcu2aMLzZauq1s7U+gI9zQIjefpVUI2SvmMqpQwGVX+AljbTp6Z+76zXkTwBo22iShtiga4ArNgUqsJdZCSDY5AmBKcuI5TUJu1fyoBDVTitRdPLT2F1a1qceFjAuX6ZnOf7WHv/o3nkC1Jx01nHuHjTid74LEGFgNQa8mSqP+l5jvN4KkgNJUGBY0KEJDhc3HBe36RK1Ew0Mu9l2oSp6gITtKo4xtiZQsKlVh08CQnmmJQ22jkLDq9nIDoWCazaHGE0ZyQnARDn2dXqqrgm6eR4npYcStt0A47n4Zm2jDj6oMCRUnYBKAgh9nCA6/8q25wabH94Wc4fGZOKm14y08W7TyU4mtQTOQZJqZmsFpPMfSmpSKRhCE6ymDVqJIfX8X2OzSOG+IrwplGwEuHLCaLUHBtDjCdHD62nSUsOAU+5QknWrr0xClJg1dZIVVhp+5SdUz/6PX9am1xVD7J4M1F62kxHueM9rVpyXBdb22tF7wGDI6WcB+AlAG4RZpPSh5dIf76P7Y+vyrcNDsUqFT+308UHz/RNlqB6gCyS4+xwwoUdl6A0fycX2xQOP7fg8P3SLbGyN1a9Jm2OaqUi4Y0UkNBaGizhjbQl+w4SFNPqUSg3uH8oRiwEVm1jd6pUtkU1LCZAonqjFPKepnoHmRptkyk5e0dj9LZpcBwHu9pr0S2EMAp5cpgUddneuo8ZPwvgOiHEWPKWbz0h1z65vjBv10CITMrB9GaBy84xKZyibansvSVjIStlybEnsjmqckkdbeo36h7anEAnOPlavzM2BNHG3dob5VLTvqg2KP0q015TMq4GVSjp6BuMlPiu2hYpt1hLTUl6rPdGR4DA8XOquM5WF6fNclVNZ0YJnL3ttegUQuSnnIQN5qWUswGcLIT4VflNX39U/vm5zcFZO3YGqqTbUufgo+ekVM5oXCXUuJRJx4CGum8oxvZBXXSa3qz37RRfZcFf0pXmInXQWLqccUeS0GXecDXrreoaCw7nsG1PBM93sGJbpFq+rJQkQdKqTUuPdhSAjhYXZ8x1MTQSY2a7caAcZFGLzk4h9nXCTv2yknM2YzshxF/Lb/nyQ3Jh/87gHTv6A9XkwKLX+8/0lU4uSoN1CNQftBQxn/Xjv+Qwu8PB6XN9VRdRXpXaQVCqUmrJNdxtGsl1rYU2TnOwfVGtHWxVc2pSlK5QjSu+7gRiL0M67WDF1ki70cZLsyAoUEysRenh4rnOxjoHp892lVorggOE6Xp0NQkxUM18LDgMjIQQ4oHym754r/yP0bHwEzv6C2iudVBX4+Di0z1VQCqCkwgKLTd/bVEWFy9I46h2VhEJiv7E2olkftdKjAVKmRJpunv8FxAcAJt3RajLOFi6JSr26pUHszZfp5tHbPwkcFyXwM6hEjhcleOgp6NObD8QcGYCOFcI8V/lN332t/LzYRB9pa8vr1LfBOftJ3toq0uop0QqnRO8d3WgxPx1J6bwdH+Ee1YG6N8bo7lW4G0vS2Ful2skoOTdlBwCE8vIUr+AnRPjnHL3NznfZPqkmsXba6zHqTpGix2oen1szWqodfD45rgY1ymJZhOJr5se6WwoRWIkng6DiqWkxKpNAc55UY0qtatSdYA53c3i2Wrml3QIWKH7NyFEIXnjFYvk+yDjm7ZuzaKp1kV9jYM3neSit2X8Zh01EDlnn5d0zW+y+Mir01i2McL9TwZ4+6kp1YUyOCrxy8VZfPoNGfS2MrLWBCg5Bibza/5AN5pVyYnAISEZxdOmbdkT4xXHeKq0YV8cxv5mCV/836hgPt2WrK3NoFNhc3RMeHY1Odi+V8JNlG3tnDm+7nMT7OhU6lBvQtbP7huMi+kbZvPzEU6Y3iCq6pcurkRK+VqQtkL8LgnOP/5anue48u5Nm8ZURY/gvPZ4D8d2T7CTSgJfXZTFpWenccO9Obzj9BR+vyJAZ5NQNfkFR3s4aaaxQSb8p32xICXtDxdo0/j8nOkb6n2+mDFe/HSALQORyq2xnPzeV9SozywAzGgohqYXZer/tnRd3DBVoYpqXWk2mTz+dAGnHZNSNpbSoohvOlST6rgaSWDvWsbDZ1wP96WAlTZkmejeJDhk5asA3CASBuuTt8tTPB9Lnts0iro0HQJHeSEvO8rwUZI9zbaNf/9tFm87La2I9IdVBbzqBB+PPROis0HgmG5XeXxUB0nPrZiNTnSFKsPK3XbmxUBT7Toz6ofq47o/jOLZgUjFX59+bV1RcpIlhkqLT06bT0hKFjmcEsi/EXwb4VcDQKVrlM1la1SMJV5h6HX1TU3nCaDXGRm5STQ07JwSHMW5Us4A8A/7ioFfE0KobOfHfj42I1WX2bhpy6ig59SYcfDSWS5edZxX0XPigm5+JI/je7XTwK7QR58OlZfXVi8wo9VVuluVHcZ71cXxbBqEnzdnShcV+wiMd7doRQ53r8zjrSfXYPNAhA+eWas4my+Ckw0rqDWTBNWA6DlMlsGoFhBlq4zbH0bI+x62Oi7W53JYzzDJc7B2sA+LZ88WOUvrEHi/B/yukpdsrMT4x0spzwQwHwAbrvs++1PEUQv6Nm3N1rOCQcN23HQXb3mxzhJUCvC4leJ3K0OcNMtThpKtrXcsyeO0uR66m12VYEyqq+QYFhjF2YKN7+Mlh7UXvihF/3z7MC49M4Pjp3lY2xfhRdO9IjgMCLWDYAColspTXKebBtUuO+kI7HF9PBtHWB+GeFK4eBIx1vsBnmtpEYNTPVJKmYqBD8TAM74Q95Rfn+Bd/RHTOPt2UHzBAVYA+BYvuOIubNm8PTc9CiMlOXSP3316Sm8wmuClmtAHJFLsAaMxM5ufqNpaTA7Kut36web5ZjxFWLAxviRhttXV7nYjc9D4Wm9rKmIcyOdKshxu8JUYzEp4nljdVivuj4DVPrDFdzBSX4MlQoh9+1kP/iWldPYlIj7qAI8KIZYkRyrZHECEUrJKd5IH3AjgVQDaAPz4yruxZNuO/EuyY6ECh97LB16ZmjItwsEZjLK8TIKycSKZILATKcc4GUcQnGq2nxw8efSdpeieHqPAn9bkcPvSvHJiRlg3CuW/rvpy29XFOUvZvq+l+w2smgP4fbUpmUrzpATtqxN+Yd9uGZqTYvqsCE5eyre5QKML/NQm5pQHFwfHf+E+/+1b+gpnDw0FKvPKFtnLzkmrFtXka7LovRq9nrzfAtZ6GMHh+BoEHQyriN8Aw6Ia7da6vhDLNwVYvSU0ZWgzE0fcuPLqtnFHu5Dr2WsJgEzNwysWC3HgG3NJw0DKV7L2J0Rp/46ibiDlWQKYu2+T6U3l7p2U+ZMe2ZT62S8fC160YUtBgUPjTnBqEjHI4UyrJGs9rZlShbJa6bBSQAfCgpAsI9BZ2DMmsWkgVmCs3xGqHBrL0to9LsU+6pmOi1gG71pxdccvJuJ8AG8EwMz+z4UQm6uda0ISG7lXwBWlRnchpWwOgU/ty6hfYz208oG/9if578d3xp+5b0VOBWN0qT98VirZLHdYcl6V1Bt3wo1LliZsEhmCUbgFoCgNxlGxkRjjI27d3z4kVbC6dU+MgRFu22cNiBVVlphNrcZs4yBKDRm34HnO42fOdZdc9urMV9trxdbJiC61qqO3y+vuKA/op7g3HQMfdIW4wV5HO3OxCywXQqya6OYrF8lPQkbf6fJ0Zvqx52K86/QUelpLgehkkjNRJnmcQ1D+8ERNh1sTOUYSBCsdxYUY747NHHtzEjuHJXYMQ/2v9rKqGEmqzDIBUY2GPFyCuwPCWNm19npHzm53c/N7ncwxXS66mtzId5ETDupY39snfVe3Z/CtyeoxPNoFwMsBMKi/WQjxTDVSJKXsDoDzU0nJiaT83L5A/BsTSQ0H/qd75AWQ8S1LV4/ixB4Pr1AusYOOBt0eVBLN/adxoLWU0mDjO3OS5QleQxtmS9d7RoH+YQ0IPStWR9WmZ2voTceMjZOo1pgF6GwUmN3uYG6Hg95WRzGedQ4qEdSch3B/IY/3T5Ufk1I27subfgAA82i/nsoWhVJeGAPrUkIsLTJcJOXlrhD/MRm6V/1OvtLx5QN/XTaqIvu2egfvOyOFY7td7M2PPzumggBUwzgVUU3mr3gBNy0NjgG7RiT6h4GBMb1H1Lr0ttRgz7MheGzg4FkFzDSw6YNhwMxWoVqn6IYX00UHMMtUCnviGJ9trcGPJkvBGIfhXBM33jiR2011GAKX7auOX5uUShFJeYUDfHsyZK9aJOf5Gax9ZPkImOPhrrKzj/Xxdy/x1cmDrOWP2k1oFUTlQKWHKobqiRt0NRD8X6sr/t2+bKBpW3ApGTT8zBKT+DNbHRzVJjC9hQf26Xhpsqx2JXx4PVUfX+wzsC/uVPNc/DoI8JHOetE3hT2ZC+C9AH4ohNiUvFZKWbNv79XnPP3ZOJsmClJ+2AfuFkJsmegBV90n22o8bH9k+ajPwxOYKT5ltqfsDidPm0CCjPBkJtMyW8kGVQLJlHlUUnP3qMSOIYkde9kLzQMczHkDxjglywp8b2tD3DI/vYlAOJjZJtDRwJrKwUkFAeYamIlg269tjCcjdNQ7aK0d37PnuuiHxCfaasUtUwDUDIAH+d0phGCAT6+wPgQ+HQN3pIVYWX4/vbXeELho3x4f2p2KTP6OhTJ10jRsf3TFaOvwaKw46NjpLj7xmhrd0GcSntzaziCTzX7ckqcnUHqkjeRpnGkb+oak8qB27pWq1YljKd60YJhbbXxCwjE1zxzdrFahwKCt4H5QStuBSgWHtwlSAjKaj9Vhr6pHQGq7ZJ/tKhWot+13GfCLUqRPG7l5LMCnehvF7olAopQYgHhM2E6TW/tvIcT6SvcoWoRS/j3p6Alxx0QDf/khuW7pqrFjdgyEYMNcb4uLf3lLRlcHEzcRnLq0pu+okSSqJ/YSbBmIFSADo3pLRnnaJZmZtqUBAk61RMPNn65GfQbAgabr7RTVARNmtzPtZbHFyVRe7UEh1IE8oEjzinbX2T+tOQ5oqYOSIvuiBvA8bJbAh9pq9s+T2esoLfsOL/oBwdmXovuSEIIZhoov9TQargh4D6Io57rurZXszzUPy4dWrcu94rkteXie5tZvvqtWJRbVAsy8aaC3DcbYOsCdyHrz0IPrI+wa1WVnlb6xlVMjJrpqqLtt2Agyq83B0R2u6snmniA2DR6MVBBsNhfSJlJaKZ0kOCWDgSYlw7rkjKUoGfydJ49Qohzb0WhUAGMqjqk7TFkF1SqU87Mv10XsePjPaAhXdXSU8m6mw2lBaLIJHrBg32bBXwohnp4UHAMQm6lYZ5g/CvywUYwXz2sekrdu2Jh/+6oNOTUxpm7OOtbDGXN9DGYZaUd4uj9G/7DeeqcOcHWBtjoHp81xlTSt2Bxj+1Bc9K7Y9NHT4uDoThdzOx31nhVTLvVgwdBn3iTAgDCdMSU1RQJTTVnJoDdHr64oGSZLYCVGJ1qZqdDtUslaED/rqBeqgaUoRbp+sz6McWlnBo+GGohXCWCVCywSQuSklA2mHY35tIrdOOOTY6w2Sjk7BVwsgTWudhRU/eHLf5Y3bNtV+Nijq8eUtDjc3aXaX/U+GTZwqK3gorT/RYFontBSJ3DuCT56W4UyuL2triq+0XBPVHqYiKNKKkK713Qm1BmdPK1Kn5OmjEW5ZJTUFBmEc0sQFHovjtUCah+POn9wSiW5AAAN/ElEQVRgPxKpNatnGPNIoKlJ2sqchUwaQVrgYYno+pTrkpbjegKllMcr0IT4bqW17v9k02QYAmc4wKslsNwF7rvmL3j14Gh4xx//OqL35Jf1R9uWKDthuq5sCTpumosTprs4qsNR3Tuq3dU0C3J9tD3V5uXU9cxyB9yaoXug9Q4DZYH0OEblkPBW+nj+YBIMvWimbnRdgqqXRTotFfq0Ql5DxlIq0Egfn6MKakr16Sodn6H8F5bKfWBGi6M8V05Fna7FRhUPy8IQl3bWi2XlIEgpmUy9t5J6qwhOwnh5YRieCs87xwGGvvdQcPJP/5x7XxDGLldE344TJiEYmFI9vaiHgHjKi2Il1BbPLJjJzVX2ACBOggsptU3pGZCRWU8hEemmq7M7FQG1ZCjCGKl1TF0nCNklQ+ZJSgVHYw6N89Fd3np7iVPMSiswjOEn81mPjYTm42JoSVOAU3IMQLSTtK0sKPLvZBrmHpNqjk/3fOSiEP+3ow5fT2ZjmLYBcKEQ4jvlwE0KTgIkXjctQnT2fU/Ky5c+FyygjamtcXDCNALiYVqzo11Pc5P1xGhBbF+XdZNLn+mLlTSZjVLqqOJcrPZ82pOhtOo0rrYBQ7u2GjjPdrtbL9wQT8dF+nA9EpaXkci2hSpWvrsGUnds6t1ylGaqaa0hdA7O4WHnpmioGj083divyuHm3Dadv9MeD8vzVNtJO2aqqA/HApd21Ih1Cfqyd+Ob5TWhqsBJIvrxXxRObqwVjx3dLp1juxx0N1q7YoYq3w5uTg8sdsQkmilUwBcAuUjHGFGsnQi6zylXYjSvm9e5YEUoqqIyw22NubZ/VsVpNUVJJCgqx6aOyS1JlOrIMXaJuxP05iqt2nilbfDQB9oRLK0heI/apc1TTVQxsdTlqjIQMXu4tVPDe48yfdJJGvo+huMYX2jL4Lv0jKWUzMHRJo1rNjxgcPiQD95c+IDnOd9NOWHq+GkOFhzlqnPWSBC9PVGrKHtus/Vu9PbAkqqizeAyCBI5lABqV5UHyWnrxeifnE9jz4qk2kFmALKqR+0o8FjX121LBUbAohTJWzsYS70zwdoTOiO8lM9Tu6tNs6AVRJUdMOcVWKeFWQvbTqzH1UxFYFhGV94bzx0Q/H6Hst7wBEJM/7gO7pExPtSawVkA/nhYwOEzPvTz8PyUh595Tlg3p93FWXMcXYY2e2rs4an8nRNWqfmAxNDqiUZdSUKoG/IIFPeRjy8vaCCoPqjXmSai8Wa8wdQKKaJrOiVVxbmpbEHMbeqa98j1+ow1fXC5UrOmRZhMYfeMsr7DeXJ+SmWpLEfJQeDcPKo5wxwEjvLDai3HbKihM3Bg/O55GGhIYZHv4EOHrNaS4nnZz7JnezX+7R6ilmnNAq871tUHLBg7Yr0nHbcwd6ZzOpZI9jhiewCr4mob1JpjxKwVIyH0oaxaOng2KGnPbYDKmWAAqYJL3aJEaaBrrD0urY5IeAaaOl+mpYLSx4ZE2gttY0o5uXIyW0mlsacjQI+U9yadj3KjPtXvqjspBRnE+FU+wMe7G0Tx5PkDg7nCkz6xMD/fS3mLHIQzePbZm493VXq+vCdN3ypVwwQJmYwxrNphZE6J0txuzpG2KQUTmVN1aM+PHC2Vx0gVyFQKiU342VNN704nXhL7dLRRUp6WCixVbDYxGGqjVKwdCnW4Hvvw9h2UQdt0oJn2SiBxHdQG9PBUCOCiT8a4rL1Op9EOGRwO8uGFYzNrfX+R4+DEGl/iTce76G6oELwZieKxJdy2rlxWElS541oquAtZ74DWQaGTtB3KpZVFl1edsUm1JB3dCWpcZOXa6k3Oaiw6FVpq+AxnwpYubSv1+AScEkK7weccDjCSAKkDXD1uCBsf57kupOvhR7GPKw4LOHzoZTfLlnR9dKuAfDX1+OvmOZjXPr5SWpyc4PcdxCoBmvwSpHLu0nUdne6xRlx5USbXZgM/gmjtQ0RbY+Kf+rR+vt3Srjne7KA2B0VQnalst/IS9ZmfVLva8zq0btByQK0rzmepGI4V2woSQnuY8rDwsIFDwr7vJlnT3Br9UEp5MV3VM49y8LIZZaVsgwAfTMLsHInHxSlWlXDWJBA9QLqmOuA0CUkjTcoZMIQlAJQQG7lPlHVQUb6yF1oVKi9NORpaOggyt8jvUAW+WKmweZ08kLVEqkmlKFkiMapZJXzNrgN6h3SCykGxsSDV+lM7Yjy2Uf71sIJDuvNLFQZeEl8Ty/jzVFkvnibw2nm6Pzr5KrnXUu3dKbq4xuhrm7K/3lWpmqTdMEac6o0LSwakfF7SbjCLTMlgsZDemP5cg8pWKdaYODxVmt3gq9StyoDo+1Rywq6lAkrjbK3pkyseZFHB8HB8VnhXb4uw+OkQa7ZGGC04kLE8/7CDY5//8dsKn5TS+UYhiLyj23jCoVtMrVtgitkEAeweiVR6pdzzURtiTQlUpWocm6LXFUvbNsWxCBBVnA4CGe3TZkBtW1GVUTM5tkHtyepeBIKiA8kEIxg1qgtO2iHnD7PPDLyTUf84hkucp1DOiPZ3mx1h1XfZ5lA1+TPbQmly6e9LZB3X+dE9n0pf/jcDh5P5yML8BVJ4NwX5oL6jHrj4VL0vJ5niSdohHj5Hz8WexanzZuZMgISbbe9R2QEaegWFthutdY7+pg8GxBW+14AG/8ENEcYC+90HJbtCYowTBvOLZqaSVHGvJwuOyYv3E6JEk78txW8dirF0Y4THng2xcXfE03LhctOOjPdCuH+MovDWCPE991/ZuOuweWuV3ET7t/f/LFgAIe4MCkEHm0EuWeCjM9FSVc4dY4VYN4475c6E3v+v6jAqkNW2o4VHNvI4YwbAxsWdiuMI6OJnIuwe0Yaftkzdk0BH/cW07vKrXdrqWJFlcS1hfyrssrCJXhp1qlluu1y2OcbyzaHa5aYcG5fbZ+QuIcQ9sYxvyQZjf3zocx37NcRPtY7J6F71Z+/9cW6edJzfhoVwDiXhPS/3cUxncRPffv58LohVs4e1H7Qz5PgaTyciaTvoiVm7sR+XJVaVlIbke4655NkIG3eVqVKTLM2kJLqagN4WgbYG/SzbYDKRxNB+sLb01PYIizeEWLklVCknepeOo9a7VQhxdwz8ajTe+cAjV8zITkbE5wUcTuAdN410uzL1a5YgyPkXnOLj9Nn6DJ0yplW/M6BkRkEbaG2MaTfsVsJkqdsuYr/FmD9MvEiJJ7fFWM2+I+6iy0hMb4E6L4Gbi5M1ITtRPd+SElMGPS+xZmuMx54L8eQ2npGjvUaWJCCcDZDxbyKEtw/WNSx+/G/55UZVi0uFC8+7bndjXab+5iiK/y4MY5x7goc3nqQynPu9iq5wme4uAlG2KaqoliaKrBMGv+jGmje0dfb7UHXtJvFK2B3FRGYClOyVmyMseS5UqotZald9h6qIhXBWxVF0ZxThjj8+tmg5bnlnVceplBPheZMc++BTbpT+TBFcF4XRR8MgUntL37MgVbQXxQCgwklSdgzr8WhDa1NF5lhJC06ZaquGqay9sNcmvUkyC3dtL90U4YmNoeok0s0gSl0FwnEelXF8e+iEd/3pHxvNlwxU89SJr3newbFTefN3s/8iI/yfIIycYzodXPbqdPHUDKvnTEij8Eq+Ty6nCJTRjeULKo+vkiFK+bVJj0tnJySe2x3jiY0Rlm8KVS82Xy5zLFJmhev+RYbRbYEvFt3/ydoJmzIPFqIXDBxO+Lzrsu8XEN+NwyDd1SRw+bk1yvsqGl6zqnHgmPakoupJhNpJlWftWFHaylZa7jYrL8oBsgWJDTsoHRHWbIswOKbzftrDigeFcO+DDH4V5eS9f/hC44QNhAcLSDnjHY5xDnqM139n5A2O4/9CRIUmbgb+6KtqVI9zeUeOBkjrOttrVi5R1u6UHITSKb77TdDYIBKeTY9Pbo+wdKMOCNnJoww6K2IC2yDxOyC+FeHwA7//bPfoQS/2AG98QSXHzvW860Zf6rvebxwEPUyd8MycF03nbrLxGVtrE9TOs+L2jtJWj6RNsv65VmulQ1KtGmTejKmSpZtCbNwV6whdpXT4pbXOOonwbkTy9q0j9YtXXz3+VJMDpPFBX35EgMPZv/H67Kw6X/zWc6PjmcU470QfL5+jvzehPIlp1V5xe6CxSaozpiywsWAQTfZl86zO5Zsj1ZWqygwOPSwngnBWxlF4p3D8O+4d8lfgIL509aBRmODGIwYczu/vr5dtDQ3Bba4Tn8X8ANMkrznOnj5bYQXWo0vu4zRAqbMCYolNu5kyiVVAmDTorJALx3s0jgq3x/Du+sNnaordMIebyAc73hEFDhfxjoUy0xQEN7mOvJDb0+jJveXF+sChckfBCkkxZWIidLYF091dvTVShyGpdLw26KPCcf8cR9GvRIjf3fu5um0HS7jn474jDhwDkNuO8GtCxlfIOFY7C84/yQdbepNfBE5QaNB5guG6HTGWbQrVSR7DKinCb1/1mHofkELcG8fhbaGo//39n576ZI3ng/DVPOOIBMdO/LKFwRUC8muQkepWYrP77Da9w4ETZ0GM6RLGIkwysnmDJeswxOYgxt1RGN4+FNc98MgVYtIcVjWEeiGuOaLBIUE+tjB/oSPc/4qjgDuaiw5CScWxKCdkLJ11hUJ0VxTGt62XmccOJIf1QhC+mmce8eBwER//Wf5Fwne/GEt5LuKolV1TcNzdEO7aKAzuiyR+/cN1qVVHgodVDdGrveZ/BTh2MR++Ufpey2ib8OqC/vCWwVveeXAJxWqJ80Jf9z8TdKFBFentJgAAAABJRU5ErkJggg==",$u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABeCAYAAADYHcHYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tfQmcHFd55//V0cfcl2Z0jKTRZcuWZNmy8SVb8gEmCWD4EWzO9TqBxPjAgV1gs9mwiCQEOzYbCAmbi2OzkHgBQ8Bg8IFlfMnYum0dHml0a6TR3NMzfdXxlv979bprWjOa8cQGsdn6qdXV3TVVr77/+873fV8JvIrtuaOyKZHGu2WIeQjR79rYJ4B9jsTxFa1i9FWc6v8fWkEBMR2KfON5WZeowofqq/HJZEK2ubZA0gGSLqBOIDHmODjm2NjvF7FfSuyxLXSFQJddj+5lQhSmc51/z8dMCcQLp+S6gyfxN2EoVyKMCC8ASwCODSQc/UoloMBJuQLJBOA6gAwghYUh28YRKdHle+gMJfbaEvsTSRzsqsKpa4Xw/z0DYO59SiAe2S/n945gt5CyRkQA8J1/aN7HnYzHWIBjaYDINYZ7CFLCBWwbkCECCQw4Ng76IbrCAHvDAJ0ywH7h4dC//D0GNmwQ4b8XkKYE4m82ypq6OpwSUqbHAWHAIKViwEQfNf2i76Usk5MguREnGYAITtIRcF3NaX4Az7LRIwQOegG6ZIDdvsA+FNBVTODIJU1i+P81gKYE4ivPyFonhVMCMmVFXEBikcj8XAIhtq92Y2dWuxVXMh8JEnHiZwMSxZoSeS6QsAHXFXAcTfogQE5Y6IaFrmIB+2WIvaGFfWEBXY6N45fMFdlfR5CmBIKKumjLU5ZEkgAocSSAhBUokeOHQr30pBclcRUnfuVF4iCViBZxjWEevo/jJAHYjuYmA5QbcRG/DwJQhWWEwFEaCYUCOiGwp+DhgO2ia3AIJ29eIYpnK0hTAvF3m2W9HaJHSJk0oqnO9bCm3UIqaStieYFEwZPIeUC2CGTVvkAhoJgRJBBERP34BUtcMQF1FCAxcBTnSEVshHznK9SHcIJYEUAEiSIu4UaizuJkQRhKDMHCYeojr4DO0MIeP8B+q4hD2IXem28Wwa8SpCmB+MuNsqEqhR5AJhRHAFjaWMR5c5KGTqeNX59UKmIRpLwBSQFVBskjJyli678wnBLnBMMZpfcYGDKE0vi8Dt8Dfg4V4dV7CKGtu8hoSNCyS2iRR7CEBokA9ELgEIGh0QCgU9rY7+Rw6P2rMAQhYlru9YFrSiC+/LRslJbsKeRDt7VGKmLVp0LMaXBQlQDSCYGELZR8jxNwsuFWgkROykacNKa4Ccj7BFAglAKSf2A4IwJBcUb8ZQAhCCVAhAYm4hzzPbmIf0sQlNFAcFwgldQgJZMaKN5nGKIgLJy0LRwIfAXSHsfBPoo+L8SxDy4XmdcKlimB+B/PySbhyZ4Xdxcd8jd9BxK/OgnUpIC6KqChWqC5Wqj32qRAdUqgigA5AnZ0helMqRJIIeCFmpMIzmgBGC1C7ROogh/pJQMGxVVEYEP8IBwPhAEkDqDhMn5nRB+Z0xYSDi05F0gnJdJJoIr3lCJgmsssIKucWAv7gyK6HIE9wsJ+IXAgPR/HrxUi/2pAmhKI+zfKFgmceHF3zplbz1kaYmhMYqxAvcAboAiSSCUs1KRs1FYJ1BKgNNBYLdBUI9BYbaE+zd+BmqRA0p3yspOKOxLU88lFUgE0kgeGc8BwHsgUgZxnKW5SosmIMbMf+85wVVz0kfN4P/xO6R8pEYQSQcCXVjSWkIpjqnmP1QKNvL9aC401FqrSFugiQWLEtnFUCHQFPp4TAl+9dq7oOxMwU1Lkzx+Ws0QCJ57aOmQvm20jV/Bw/aoa/GDzMG5dX48HXyygs9uDJQRcx4JtW0riExzeBO2pVEKgJiXQUmvhkqUprF1mKw/837oZs1efR+skirrRolTgDGaB/iwwmCNgAtmiQLGkl8xflblBGwj6PGqCKeDKQPh+CC96+b5E0ePnAIEvYVn6PhuqLbTUO2httLFknou5LQ6EJbr9At70xoVi95lF9hkosuER2Zp0cOJ9FwRWb0bi5cNZ9GZdbN43jEC6OHQqh3Q6rWZLGITKOjIed6U4IjDvvKIOb78kidrU5EBM9st0xFulnuJYDNfSqsvkJYZyQP+Yfg3khOIqWnnkJD2hI0AIRBiqCUXCx4HwFAih+s4nt5BryE2h1NZdNNhLz0vjxqtqYDniqRvmWetnDMQfPS7bqiS671wrrYTy6Mrhjbwv0TcS4mh/iP09PvafKOJwX4Ce4QCj+VANRukIggPNIe9a24DfvjSlOOS12uKmrjlnHLRKU7h0XUV3Pa68R66Rinv6xyT6RoGBUXKTxGgeKBRJeAk/CBTxyQ0GGL7zHJyMBoiSPySBt66twRWravqPnMKc2y4R3kT3PSU1NvxIzhYuuj+yVgpaGdFkKaFuPGN+T8uJ04ny+9RwiMO9Pg6e4ivA0X4fvSMB3kGOuDiplHnc256UCyIqGj9EC6GyJRW/qUqOKX2OvPfKPzPcE3cijYVmLFafIClRF6IvI9EzHOLEYIATQwFODQUYGguRK4ZKh/BvKcq04i+PZsm8BH7nxqbeF7vE3A3XThzknBKIP/qJnGMDx/9grRQMO8RNxzgIhiBU5sns8yhms8jUXK+9cGowAlSQ2NEdYs1CR1le09kGMh68IIRtCTD87kQvfrYsikFyW8nCjbRFdOYYAHEQJgOgTDojnk4/b8Tg6gLkgrF8iIHRACcGAjz7SgEv7isoMJTij4axeJ6LW97adHJ7hzVvg5g4kDklNT72kJyXtnDso1dJHdqOOU+8TjwCG4YeasYeRCK/FV6mB/vq/xbVVamSCctjtx8LcMF8Z5zldKZB9I4U1Y3xGONQKtKrSLD2X/S7UGDxswanzHHjxFTMWzfcXQYpAqAivDLR3080iXjtzfsLuP/7gwiDOBAJvO+3mo6+a4m1YMY64pMPy3YrxNG710oVvlbsFxbh5vYg6y6CsOu0Rxzm0Jj9Z7j57QhGj2BvcBeC5jeiPl32mHnYSycCrCIQzpRzQI25L1NU4Fug6WhCJdqWVxPBzIaSf07QNAg6LiaU82bAUWONXPgyR5cBiM/kMwEwmeFgW8Bf/XAYT+/OlWi+ZH4C77yh8eD7l9mLZwzE3d+SC1JpHL7rSso+qcIG9d6zaHCOYbAvg57GD8GRGcwrfh1uYTf8kWN4Kfw4/MZ1aKgCOLBIdSjivXxScwSdvfg2GSwDmWJkv2uCcvYbcaRBKKuaMihxIaMnD0mtjGl61WpPe2VCWBqXCDj9q94mVfKxgVcCwlP9n2cy+Nefj5XE09IFSbz1+sbOW8+1zp0xEHc+KBemEzh01xXamfECIOF1Yg4eB6M0R3Pnoa1qH5zsVnjDx7FNfgqy8VLFCQTBTEDzvvtUgNXtjpL3k26xnwZHiuXAnoo68l9kIkfKwRyuFHr8tBElDbGMSVkCJvKoiYRRrsLoHcNx8VWwShthArbg4d98ahQPbx7T4Etg6cIk3riuYfdt59srZgzER78nO2wbBwkElTWDeH4ANI/9A2rsXghhI/T6UOg/hK34NNCwEnUpvUI3br0iotGeU5ojzghENFrSYnCM7nu0XhFfIYz5KyVOMFqb1yKRDSiG4MZHiHSA8aIVFxjvULGMcj7GBzUtCxZvqkLHVBKWXP9PT2bw2I5cyZRd0pHEuivrt9+10r5oxkDc/qBcnHbRddcVIVIOQxwSBR8QwQBm938ENrLIj6WxI/FZoLoD1QmhQSixelmh8zsDBK0fs51JWwyPemq2qviORTESKW5LhyE4KcgJDDtQbJW38r4iaZw7Sh8jcRUXNRWz3FhYDL9bxn6fnJfVOL++cRRPvpzTpmwILOlI4PJL61786AXOpTMG4iPfk0sY2Lrj8lDZ/rw9xRUcWeEg8kNdGLHXwEk3jQPgtPXsaDbvJUcscOAYbXuGm+JPI4ojNPEpNvhnJM7uYwGO9NOr1Sdg/OqcORbOmcOlPC26yrO3PI11NFdqbolC5ROFjeMOWWkVsQKIiRS2AeKZPXnt4Elg0cIE1lxUu+kTFzlXzhiI274jlyUddL73ghDz6hk61gG1YqAv4vk6/l8arBErFdOcH6kzDEfQ1JzOlsnSamL4PfIbJPBcJ51DHZJXVlykWRkQnN9sYd1yk+dD1IiLnvklcWPEVqQ0NMwGNwNa5JhF36vTOM6kazDmXnhbX31iDC/uLygg6Gt0LExg1cq6jX94sXXdjIG487vyHMvCK2SxmgTQUi1x7eIATdW2Yj3ay5yVKlA2BcsSiF09WkdMBMRE0Ixwyc8AIQRODEps6vQ1Z0A7iyvmOwqozV2eGselSx0snxeFASCQyUl0D4aorwLqq3T0V6mB0gQqx5dKoEQyiSCr4yiaqCTNNsnN0pf46sYsth0sqqgtwViwIIFzzq95/FMXW2+aMRC3f1+e60iV6lKaNe9cUcDitqQ2zyKXXoWNVbylvEBkxkoCc4BUCztPBFi9YGIgJhpkJhvpCNBhA7YeDHCgJ1TO5cr5DlYvdFUkd8cRH8/s1UvSDCi+87KE9j8sgR9uKeJon87MoS/EtRQVJa1lRFigrkqvr1BvlcLjBoiYcrbdaXLEkznsOurp8HkoMX+Bg46lVQ9veIPzlhkDcccD8jwrid2cFdw44961soBFrckYO1ecPlJSiksYClcE0Ur74ECIxa2xmTWFfNKiSYNIZbztUIB9J0NFwLdclES1yi0Bdh728RSB4LEW8N61SW0+C2BwVGLXsQD9mRDDOcaOoskSs7KYCFGb1otbrfUCi9u0hUQctNiVcLlSNMVGTv3az/LY2+2XRNO8dgfzFqa+/yeXOe+YMRC3fUuen0hgl+EIBcSqAjpmJaYa0/jfzcyKYkPT/eNRAhGWrbCTwxI/2x0o0UTduf78BJbPdbCdQOwuKjs37QI3X5HUMSjjD/CCQpvejHkNZiX6M4wey9JCF30kNdlC4DcvstWilgGC3yd54ukA8VQBB04FJY6YPc9G27z0d/7scuumGQPx4QfkSjeFl+JA3LSqgAWvFogpbmAy1T06RtFUNoE5w594OVDKOtK/WDbHVquAP9+vfY5VC2xcstjRSjzSXCYkT8KWIqQaG72g5EulS4ayDORJLJtrlSw0Y4hUV+vJN5kuVCKYHPG0hyP9QYkjWmdbaG51/uWzaxPvmzEQd/2rXEXRHgfi5lUFzG9JTGlBVF50QmJPYTxlRqNYU8yB48x9am+A3mFtOcWjqXMbBa5b6aooQGSh4uFtPkayUokezvLmGoogoCatEx/UkmgkhrQhxVU6rS/K1qBEDa2VKTaK0K8/4+P4INdjtLJubhOoa7K+cc9Vyf8wYyA+8l25Gha2jwPiggLam6ce1FSDns7vGghtvhp/TfkUQuD4gMSRvlCtnVN5L5xlqZdOfoksISHwxMs+Tg5Gvo+5KHWJDZWJYnRDQw0TIgTSSa08SkHByOtuqJ36npUf8SwXx8LScmtjK1BTL756z9XJD84YiA9/R17kOtgaB+LdFxQw9zUGYjLGGCEQVPia+oo4JHzK1dnopy0YGdlhThgpiqInMULRMybVCtzQKDCajxIgositiXIwM2XtClvrmEhRc7+5XhsoZ9oMEH2j0ZJpKNEwC0hVhX//F9ekb5sxEHc+KNdYNrZMBkRJXpZiNdGlYhYJv5me+3b6MEei6KsOaQMv7Jc43KvjXjVpoKFKixvOZpqttH70pWOKNnLgSoo3Emd0RHNFqcTWMMEZ02vaDNFctlz7ISUTXACt9VNzBMf49edCDI5FHBVK1LVIJNLBl+67puruGQNx+/fkxY7A5nFArC5gTuPUg5pq9kz5uwBGRorKFjfhboKwt1uboCrMEtson5mDVJdmCo/Ot6pN6zwsK+YjKCfNZGoYE7UE3HiP2pyeRvLsadwzJ8HXngsxkitfo7ZFwk2En7/v2tTHZwzEHQ/KN9g2XogD8Z7VBbRNY1BTEXo6XDLEFToTioiiqpzrxUCo3KrhLJS4GcnqRDSVa1Uhaqg/6LDRcaPYYe5VVZIZ5pprSglmsXCGMQCMM0GfZO407/nrz0pkCmbtGqhtCeEm5Wf/Yn3yj2cMxJ3fkZdZDp5/PYCYCij+TiDooZY3E57WMOpFHk15HsZsjAwTziKAuG+4xwCvwhVCZ/IxK7GmCqiJwGHaJb1xoxvMdbmO1d5UlgLxEVVOqK8+wwzFaN1aaiCsZPCZ+9enN8wYiNsflJc7NjbFgXjvhQXManhtRdNk3DE4XBgHBAmQLWgicpbG5Xg5ThSxRKQLaO4yXTOT1ZyTyWqnjgHLuOnLMaiU0pTAuR3WuFVEArGg2T2jD6HGIoF/fDpUE0LppBCoaw1hJYI/vn99+rMzBuKOb8srbRfPqsXwyK5+70UREGeK8k1nuk9DNg0QCGYQRzN/5xHgSJ8mGE1PKmwG8yhumAbJJVhyCZd01XhpacVFTsRHjCAztzabB0aZu5TlvkSxqDPJz19qo7Zah/15bSrwhTGOiN9e/Dbolf/D0zSpyxHf+jYJy/Y/cd+1VffPGIi7HpRrYeOZMCo5pE3/vouKaKl/9Q5d5SCmgQMIBDPpItcAPcNA5wlaO7o4Ja4PKG5oTREQOmu1VUB1WhdXMtqr9YGu14iDo8elf/dVxJSp/BrQSOrBVUBMHuIw90IQ/+7JAMUSvYDGuRLCDT92/7rUF2YMxO3fllfbLp4K/bLyef+aIpqnYcpNhymmOoYhjrGcvqv4ApynTE+tDyhuaKWM5aEIEBlZpVNThBEMZnRXk3PSQCqllTX9EOO4jTPFI04wC1xM1e1onhoIxrK+/ISvYlpmZbC5nYGx8PbPr0v97YyBuPNBuU5Y8mdBhDBv8gMXF9Fc99rqiMkGSCKRI5hnqpJ+PZ3eqPUBRVC0CS7jaqtprKABoi5g3IjKmtwzTpxEBSxMs1cp91VC6QbqHpq6hkeUHwkojpgOEEVf4q8fZwhcX43jb+2wIOzgQ/evT39lxkB8+NvyGtuRGxUQUab0LZd4aKr7t4umEg2nYouK3wmEAabghWq1UFcI6a0YAAdP+qirtlFfY8GxLR3Uo4mbDZHNATkqa70KO25juD6ZEFiy0FbFK68WCOqGL/yESXHRkqwE5i51YLvBLX9xdfp/zxyIb3nX2Y79U5/KJ8rtvPVSH42/JI6YDkbUW8xRpSXUOxLiiR1jeHJnTqd7OvQdLDTX22htctDW6KClgXUctjJhCyyAYcQ1FyKX42etI5Z22Kiv1cr61XAES9M+/6O8spZMvGrh8gSEI997/7rkAzMG4rZvy+ttSz6ugdBFKb9zeYDGaQTApkPE1+oYzuR/edpDV48OblCMFbwA+aKPfDFAoRgoLlI+iQGomgCxlsFBW5Ot6hpq0uSgqHNCxGI8HwsIF06gIyoNDsav7v0+K4z1xOW2dGUKluXffN81Vd+eORDf8t4kLPvRwCuHdT90ZYiGipDwVJZsPKsiEsCvCQa87t6j2krZdjBU6wn0G1RydmRSGWLRQycYJYAKgdqPA5R0LVUJRFDaGm3MbiRANlpqbSybrcUxOWYysTqcDfHnD45GAS/tfJ6/phrClu+4f13y+zMG4vcfkDcIO3zEJxBRGdNtV0nUT5MjyEG9owFYS8F817QrVH4Us0HscXlI0RCnY9PG7oay/uHNvl7cj1J2VJVplGnCHCwqcL4bi6oSIK1zyDWh4qACX1EhiuEglqa11FmY1+xgwSxXveY02WiqtXVCdbTANDAa4k+/NVICgkNdfVktLIRvu+/a1A8nBWLjrvxSO5G4/0hf0D6YCTuHRr0Xxwpy21gOu770u7W9v/dN783CsX7iedHSXyBxx3pMG4gTGR+nMoFewNFiU226V4dAmq+Epd4JFO3907CIf2EcBwAtKaGyCRlzIif0j7LARKrIJ0PeusavXKTP/RJArF4lQIFOCTI12/G5oQDyNNdQvGmQQlUmQIB4bFWSANklgKiPHngmq2tFou0NV9VDiPDN961PPTo5EHvyb3Ud5yFekDOp6FsYKwoMZPziSEEc6MuE/YMFrKUlwmgnk8vufiPZd3rmaxyIyQZhZKlSrqoFkeacKnIPC9dVYtl4ePhxVjpyuWJy0RzGsRqABrgGkZEqiYBhbnKGAijKzVUmMjnI11mMhoOMiOO4jT/BS7EoheIsT4AKBIdg6e8Ink5a0AtZjFt1LK3C6GjwyZ7D3nfz1X1Hd21YcVoHBPHE7vxv2bbzoyKVGeuSYzlKPBFnilpsHwtVFkT/WIiFLQLtLa5ScFwrZiuGUoJvBbUpmrqHfWQKoTp/nOhnUhKGe0h+5ZBF4KRdqyTeWqvK085gcZquir4oARRI1R2BEVsCNBBxEAEysafJACIHEcQzAVSkDoq4h1xUVDqIaSw2hModxaAQzn6EwV4ZhjtDS2zftu+pJ8VPd+V/U1jOw9qq0IXmpprfJOnSFFMzJtAD4WIKa+SyhVCtDbO0ddFsB+cvOHOWA01MzrqcKnIPld6gfU9xYRT4VCrCAMkFoKsWpEpBuImMhZKPEA+7VqBvACKx6Agy3Ybg8GUSCUj4OAeVdJAvVXG+4SB60+Ze4hxkHNK4BUd681hhqeS4/yV+ssP7DcsRP9ZAsLKSxeamzpjcECobnaW7WnTpGWGy+3TEksAEuOkqVqVMblFMxAHkGNUmIgKIIOVZQhvdvBELlX9LT3ftgpTO5DCqpwKNCS25mI4pnTM60Chxdc3onIw9KYCyWvcQIO5T7Jn0G5M9yr8n7ZSIiwwEijoeZywtAxDv+2jPKDI5j5m6OfHj7d6bhS1+QjYyQJhc1qbqUAXQMtkQOw4XMJQVmNucQiDLBeVadNCZCvDba9PjlBRvqD8bKKuJx9FaouznilnKsVTYgLI/TrASAULNLQQm54Xq3XjQPC9zmq4kEBXpLZWecomiZ5KDcSCjiXTaeaJwhSG64SAaBUq8ZUO1BqLC61F4wxzLCcyJy/EzJsZyYl4mm/dxsHuYHJEX/7ol/2bHcX6irQFtQQR+Fq+ctHDL+ho015q4C9eLc3hwUxbntNcoMPTk0sppJOvj3esIRJklqLj29OhCE7PFdYSS/XYETiT7qawnS1DmLOLNMHzN96WMhkbIVc7+Sf2aOEeYfcMRMU4Yh1vsZGY3LkKV9x2Ng+NiOJ213OQg6lZyEEuEzXZsQLe2yBV8HDgeAfHtzd4NjiUeIRBKxgUSb5v7Xfztz5fDbTgXcxt1BejqhbZKO3lsxxg27vKwaHZVRGAdqx8c9fG+a9PjrBvqmM5eT83siVyG+M0agGj20YultaS4x7UUJzGN3yQeG9FRkxjPTSXumIjFpuKImFKfVKRNcI7TdFoc1Miv4b3RGHh0p6cixmwcMDAWB8LKiW88m7/BdR0FBOVYS6IHb5nzEF48MRs/PfVbivhUKhQFb1njqnj/H3ylFysX1Uc1Czoy2Tfi4QPXVY3jCI6b8p/iiQqest+Ivclk/0TgEMSy32GpOg2ats1p5tPEMu+myEgvLV5EiDEdU1UWxZVFTDSdbjhM4ONUrI+rU0fnNGLWZKDsOhKo3F36OqcB8bUnvTdZrniUNjCtoxW1O3FF87P4p5cuRJ97KRzL0r2QAuD8dhsXdtj4u0eHkPMSpcAZQTo17OGW608HwtxjXPkVIvGSpSfLnhZR9FQdW1EGN9FE5o0SmDe0R+HRcXpCk+80nTyBItdZgiagfvqV4sZWWUDr4/iZnQpovak2SbEJUQkED6ahvbc7wJauSYD48kbvjbYlHgsIhATOrd6F62b9GA++sgZ7iutUxxnTYocZ2NesdPDwllF0nhBoqXOVfiAQ3QNF3PqmauXul8zRScRB5Uxj6KQYtQXS3c9CJc7OxD0E4uJ5lUDE2UNTS5mdE44jxgcRaqcTfvwfmtJ6rvFZCNB5qgDfz6HOHkHacVFV146EY09oUvPcnQTiwCRAfPFR73rLFo/7vrZs6p0BfGDOl3GiMAf3br0ZHXNqlcgiGPOaBNYscfDQzzMYzruoSlglIPYez2H30SyWzklgVUcS589Por3FUR1bTPggfltn8hf4m7I0Ki2niHt4Pk6AS9qTUejEyJOYUTCpTogJ8TjnVPga6mPFIDUQAWYHW5AOjkOEY4A3DFkcwZjfgsMNtyCVKHd2q9Q1BGLbZEDc+1DueifhPh6oqkDOIIF3tn0DLekM/mHfe1C06jGaC5BwLFx7AcWRwNcfG0ZLXTpy4fU68cuHsnhx/5i6fVU7BiZ60dFLYOXCJFYsTGJhq4PqpPaGJzIPp9CnpXOTe8gxbTV0hsafa3LrSf9idIIRlSV6x2Jhygo6DQh9QFIOoTV4Dgm/F/BGAT+LMD+C3tEkji/4Y9SxfqdS70Q3tu9EODEQlpUVn/tB7jrbdX+qgIhmSK0zAiccwUDQjosWcbElULmudTU2DpzwsHV/oIJdJAJnJoHY0TWGrQfHd/rkzZRaNNiWKipZ0OrivPlJLJ/nYmELLTEd8JkJMLSmKjcDRFwBl/YnEFMKkDgqJhOnpGk1IpxaDUEXmvwtsPxRIMjSzlesGw53oSvTgpFzP4NapsdG+bKVYyMQ2yfiCAXEQ941jis2+l6gPdSYl9neHGL1IpYrWaqlaHd/iO0HWQmjQ84kIJd3uc67rWsU2w97kCoBSp9EdRViyRb7ZNg6JuW6FhKurTz1dMpGW4ODjlkOFrdaaG+yVI0bwZ0sdhW/uTgQEwFgJlZlMlKcxsZyMucdD60WRhaKmOVvRo2/HwjGgKAQDdCB9PPwu3+GrfItcJZ/WNUZmq2SO/d1h9hxcAIdQSDue0RWWyK4F1JcFwThOZLL3IGOxBKUhCOVTU+XnovwxqoxfoEBYs+x/PCmvWM3CynXwU5cjdBbIyyrRik2i70AmTXBpC0LiQRj+BEgLgGyVA21bQuVt8oahwXNFtobdYIxjYGJgDFAxGe83o//f7rAI3EbZZeaKKPWHORlVWlJtHS0EMq5FX4/lljPwvV6AT8DhKz7okK2kT8Ons1RAAAPKUlEQVS0EbuxFoWqc3A4sR5L59SrnoZmCGoUMWQJxEsHGWmIzNe8jwP0rAlEfJj3PCYXOH6wVlq4XkhxdRCGS6SETUUezw+Nzx7O3nQCOHiqOFjM17b9/W26MdSKO07VhGl/jYVwne26621LXuI6doNpR00wEgTD0dxBjlHh44qQN5V9a53A/CaB+c0Cs2p1I3jeJL3yEifE0JhITxgucGQObeE21IQnVSbImLMUfWIZPKQimpW1dp3/Cpr9LbCDEcDLaE6QFqRfRP7os3i+/g/RXX1dqYhzeatAXcq0UI2oZCw3Pt9hukCMmztSivsezXcIaV8lgDdKWGvDMFwUQljUJ8ZOpxlZlQRODgaDvYNVJSAq52H7x46m51W5q52kfVUqkbzGdXFpwrVmqR5MFjvfEIhYmx9Ta2cmWKQACSQrfjpmCVx/XpSDr0TqeC4w44uDUh12Y7a/CU7IzjEq9Akp0hh1l6NXnIMQeinUlnm0+ZtQ7R3QXECd4BMEAJljGM2F6Dn3Xrw01IpRJhurPrMS5822UJc83ds3jEEdMSFHiAqOOJ2Jy99s2LDBqrv8DxdLKa8Stns9INYKGXS4NkTSDTGaQ/fw88n50+1wv2LDrsTi+nkrE659VSKRusaycJllhXOV7lEVQsZymdjQpSP1sd9IRKGTMgjjAIiK4S0RYpa/DY3+LgjJUChXhgL2dADsNEK7DgNYhp1jS3Bu3QDaik/D8fsiLsgCvqcUs+x/Gf31N6B//h2ES9WMMwNdmfd0hglEeuLx8tvXBIhKkDZIabX8tLA06VpX16St63L54Hu/uy75nTOBeabfrtkgnYUdxXMzI/mPC2Hdmk7acFzdMdPM6vgt0nH86JsTSv9MZrLSIdzXPYLrmjaijs2cdTG4fhlzwk4DThqBVYMs6lHjH4IIyAFjmgtofBQzGOs/gi31H0drxxvUgDgW9p7K5A0QEivn2qpwZqKNE2tS0STssYn/aqbUfA3+7spPdd8tLOuLJJbr2EinHFSlXaSSjtIlZqOl9tHfSCog4lbKOFHkHUBr/gkkMQqEnNW6hYAMfOS7tyAxfx1sdnZz2NOI5g4XYjz9Ilg8fKwbRzO1eDZ9N+xEHVbPtUqW5Y5jAUZiomlVu42marb40lucuARif3eInRMp67MRiKsIhGN/kbPXWGZK3Aj287NATkmnXNRVO/jEjSllHmu7vbwJ6aO1uAmNxa1AWACCohZHTDAe60Wm9yD6zrsfeasR54x8Fa5qwR+BIViypZvP+0OHsSV3JXbZN6iTV7nAmnZbN50HsOWIr5IUjGi6cKGN5ppY1kAMjDhHnFLLs0DOWE1nIxDrN5y8W9jWFyWBUNOqXE0an2W0pu773eZSlrcRYYlgAHOzP0Iq6I5md0Q2Nt7t245BzEffuX8KadXg+JBEcWAvbmj4MSy3GnBSbLgB6eWQH+nD7vS78cKpdtXGTgGREHhDh44lkbAvdPlqOVVnh0hcvMhRKTfxzXjpPL4zsppOB8I6+0TTO7/Yv2EoE35aUDRMAgK/JxD33tKofA/jiPK9MbsJs4e+A3BmU9xYKcUuxe5n8Zz8j2i78D0lkcF+ta/0hFhZ04n1bTvV+nE4ehJDxVr0ttyEU9kUth/RMTgSm8WSly11Sik6mzo9lYRA055ccclSB231ZSCMaFJgRDqCoumsBuKhbrkcAT63dXfhxqc3j1gqfUb9M++RPRRZU/Ql/uwDjeWqoZJglph//POo9o8AySbAG0HviUN4yL4HudRiXHd+2eRlP9rOE5pjLmrej2WpfQhSC5CpXq2If2okxJaDfslgoI+wdrlbAuLp3UW1CkegqX4uO8fF7MaJgaA1aDzrsxKIR07KVhngU0GIDxU8pF7qzOP57Vkt++MKz3S4jJoj8kEdf/K+hpJo0kdrNGx/AItPfB6hl8HRbBt+WPwDZP2EKmB802pNSFJ3XzeBiGY8gLlNNi5exPZH+mwnB0O82GWAkCr8sn5FQtdfCOBnLxXBzD5uBOKK5a46h9lKYimKuXUe1yEOA0RpzdqyR39lVtMjJ2W1HeLuX+SBfaLoodE8fOPl/QW8uDNbaicaF0/xGBGB+O831ynRpCHQMRmGVIqBhcH+fjQ01CCZTCrCc82YCcJtDeUZu+uIj30EIqLCghYLaxaX6+SO9wf4eadX+p1pQ9euKgPxxI4iBjK6momiae35LuY1ayAqxRKH+crZBISU0n7qJN7/i1aVnyn66FDJCuYBHGwR11XA1peZUm9E0jjdp0SVCm+4Av/tXTUlHWFAEGA4RqrOxEOjITJ5i7Ec1FfbmFVvqaVf05eJi/xs1cDEORK0tcHCRYvKQBztDbDpFaa76K2p1sL1F+o+UBzeY9s0EEY0Xb3CRXuLXr6NA0GxZIDYfjZwxHMn5fXCxr1egIuLNOujVMfSU1AksPdgEdt253WHzGhqjVspju6Qy5P/9berIyBMG0tyRKBWz7SYYgjDRsG3VFcBNpQfHmNaJHtu8PECAs21Vqk9NnOY4qmdR/sCPLsn6o7DFhB1Fm5YU+aIR7YU0T+iK/LIEVevTGDBrIgjonHy7awB4sUBufIX0fLPeQHe4vkQ5qknShwZMKL9zkNF7NhdKPXeUF5spQCNZNTtv5lGWz1tfmU3mRa7CgweoipLdQ9lJSyM9UKisac3ezURHDZhZ0J0U60ocQ1FHnUBfxscDdE3rNONLl7mlvpH/XhzQXETNx67bkUCC1rLQBgdUQKiWy8MnWIeLnOgTF7T660jtvbKucLGp0Pg1qKHhEpVjD+UKdqPc0TnYQ8790RAxKSt9inGi6nqpMBlyxx0tFqY1WCpRim6QXo87FFWmZWhEHNKHsGSKxK8d1jnIfE07FTA81IkmQePlDL2AOw64uFIr+YyZvatW5VAR5tuphI/twLiF13VqCMmAsKy7Mzroqyf6ZW1VRY+Ztn4T56PevP8H2VvVxC/xBURSPsOedixp1gySyuJX4IioqpSlJJZhGxaYqGtQaK9RWBRq6tKtvSypVHo5VTK0o2bKGEMY3IgHTTWX58aCpX4IaFZmUqHbVadpcqHjaHAlCE2ViFXsZPBREAwOrP3WIht1BEVHPG6ALF1UN5oAX8TSrSbInnThMRwhHmPiybDKRQFh7p9dPcEGB7RuVYTJ6dNNL+BgZEiuvtzKnv83OVprFycwtJmG+11NpiQZiyv8bw1vU8cG5Uzn40xMiaViU2Ttq1RP2OIllw81hIXTVzV3XOcK5y/BCCe7ZFLalLY7RWhFgwVqWKdwczsLT0Zy4ipOJfEHmvGPNKevgAnTwUYHAqirscVRKvAYyBTQM+Azm+c05FC65yEWg2sSVporbEwt9ZGWxXQmGSRTLmBvDnrxPCWy8BKNgS5JuKEnqEQAyNah3BF8YLI8vqVAfHZ74+2tcxKHp/XbNm0SLjoo1b2IlDMKl9JRMV1RrRvuMSIMJVTRRlelOgfCtBDUAZZb61JVskt/SNlIJYtr8KijpRO21SrgVG7bNWIHWBCCSvQGlxGvT3Ma3JU9zJTfzdZeH3cVDAOv+n74fGpXOPFk1HWe39ZHLFho0wli36PlGEdKzOp5OY0U9npxOISKLGnKY5T4AaYiENUblNsnw9TMo8/o9jq6wswMBiikC+DMjBSwIn+HJqbXKy9ol5lI6p6vSh3Vqc/ainOt/6BIh5+cgAneooqort8fvrYR99W+88tTc4az5MXC4FGpeOiJrxTCbG4figp7MiPoGhSsSajIwpBcPBERghhbXvNlfUXng6+GQbyXazC0s9u0yk1fF4bZSlBYWV/XIGf9pjLCTjF6BDNTRoQ/UhM3dBkoD/A4ECAvqEimmdZWLm8OmrsHnvohwEg6nT5/NYRbNo6HBWhOKFt2V8ZSxT+y5F7Fg6SiAcPylSxFqsCgbWOjXWhxKVSYi4TcCo7GVQadZWeNbmCynrnIYY4BIbzSnA9sOXA8CeTvYX+1xwIDuh/Pifn+X74NuGId4dBeKUMkdCPCePz2nQX4rYm/SA9ztS4zpiQQ+h5R2GEOGi0iNRj1yLxYKKwatZHnWlKMj3a4fW7ewp4eOMAegc8tVYOYe2zID/8yhfanzjTjN+4UTotq7DMEsEVlmWvFwKXh4FcwgQU0yKj8nrGd+E7zdeXjjA5LvzTA33W0yOW8/wPPqgfs/m6ABG/mb/amG0XjnOjbTs3eYG8MvTDBOvM+Fw3EoxgtDVZaKpjn1WhRVFciU+wb3SMeTeZdUamx2V7KSjLzjN+iKdeGMbmnboOWgjHg5BfHCoOfab3yytGpxI7lb9LKcXLA2h3gcukwHrHxpW+hxW2LZOqc07MGSVHHOzFse2HcMTzird+6m2pffHzve5AjAPledkuC+HbLVvcXCyGlwehTKgiSp3ticY6C3ObLfUubD6PNBI/MTAIlFHk5pHKkQ9XMgqMtVa6tgAOH8vjx08OYCjjq4ePCCF2ijD8vc4vzX/h1QJwpuM3d4+0VCdrL4bAOsfBVaGPCy1L1pHxgkB+bFmjPWGroF8qEPEb+PzPsvND33m7EM5NRT+83CenqBJZzSmM68xttRUorEJSFa8xQOI+yUScYcAoFkM8sWkIL+3lo2YY+HFyUsp7EM69d/+XROG1BGGic508Kav7Ev5FCctp8+rx0Aox8cPNf2VAxAf9Z49k5yNw3g7bualQDK7wfemy7puFk2TplgYL89psNDZEoLCyKVoVY3gvLqpKCcBcrD+Uw2PPDCEzxpQ99TjXTX4Y/H7XXy14+fUG4NWe/6wAIj7oT/8gu8CXzo1SOjcXPf9yL5Au83IpvsjeLY22AqWpkeFtoatbuTBjArBMo8wF2LhpBK8cyGrrTDgjYeB/+pXt+/4aT14bdZ56taR6fY8/64CI3+5//mZuoXTstwewbvK94DI/IKdE1pctMavJxrzZDurrLGV5DY4E2H+4gF2dY8jmQ139KsVj+Xzx9v1fWtD1+pLy33b2sxqI+K3d+U250Pdz7wiRuMn3/UuDQLpFz1ftgIIw1LXN7G7gk3tYbWT1e2H4yR33tH1NG7Nn9/ZrA0ScjB/8x9zCQijfIWHd5BWDS4t+6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",Ku={dotLoading:"dotLoading___dBe4t",showHide:"showHide___reCeF",progress:"progress___uv7ix"},fo=y(59301);const Tc=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var Yu=()=>{const[oe,z]=(0,b.useState)(0),[te,ue]=(0,b.useState)(!1),[Ee,Me]=(0,b.useState)(!0),Xe=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(Ee)return;const Fn=()=>{z(Hn=>Hn>=99?(clearInterval(Xe.current),99):Hn+1)};return Xe.current=setInterval(Fn,20),()=>clearInterval(Xe.current)},[Ee]);const lt=()=>{z(0),ue(!0),Me(!1)},ht=(Fn=0)=>{Me(!0),z(Fn),ue(!1)},zt=Fn=>{const Hn=Fn/1048576;let ir;return Hn<=.3?ir=3:Hn<=.5?ir=5:Hn<=1?ir=10:Hn<=2?ir=20:Hn<=3?ir=30:Hn<=10?ir=Hn*10:ir=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${ir}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},sn=()=>fo.createElement("span",{className:Ku.dotLoading},fo.createElement("span",null,"."),fo.createElement("span",null,"."),fo.createElement("span",null,"."));return{progress:oe,progressOpen:te,openProgress:lt,closeProgress:ht,toggleLock:()=>Me(Fn=>!Fn),CreateProgressModal:(Fn=Tc,Hn)=>(typeof Fn=="string"&&(Fn=[Fn,Fn,Fn]),fo.createElement(pe.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:te,title:null,footer:null,width:500,afterClose:()=>z(0)},fo.createElement(Tu.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},oe<=30&&fo.createElement(fo.Fragment,null,fo.createElement("img",{src:eu,alt:"Step 1"}),fo.createElement("div",{className:"mt20 c-light-primary"},Fn[0],sn())),oe>30&&oe<60&&fo.createElement(fo.Fragment,null,fo.createElement("img",{src:wc,alt:"Step 2"}),fo.createElement("div",{className:"mt20 c-light-primary"},Fn[1],sn())),oe>=60&&fo.createElement(fo.Fragment,null,fo.createElement("img",{src:$u,alt:"Step 3"}),fo.createElement("div",{className:"mt20 c-light-primary"},Fn[2],sn())),fo.createElement(Jl.Z,{className:Ku.progress,status:"active",style:{width:"auto"},size:[300,8],percent:oe}),!!Hn&&fo.createElement("div",{className:"c-grey-999"},zt(Hn)))))}},cs=y(58617),Ac=y(84105),Xu=y(32050),Bo={wrap:"wrap___hPGh_",chatContainer:"chatContainer___ujje8",btnContainer:"btnContainer____URZ0",btn:"btn___LkbTk",inputContainer:"inputContainer___nc82i",sendBtn:"sendBtn___mRwrP",sendBtnDisabled:"sendBtnDisabled___Vi3bC",cancelBtn:"cancelBtn___lN2nM",loadingWrp:"loadingWrp___rRQzp","dot-fade":"dot-fade___uG4qN"},Nc=({children:oe})=>{const z=(0,b.useRef)(null);return b.createElement("div",{ref:z,style:{position:"absolute",right:"0px",top:"40px",zIndex:1050}},oe)},Qu=Object.defineProperty,Fl=Object.defineProperties,qu=Object.getOwnPropertyDescriptors,tu=Object.getOwnPropertySymbols,Rc=Object.prototype.hasOwnProperty,Oc=Object.prototype.propertyIsEnumerable,Ju=(oe,z,te)=>z in oe?Qu(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,Zi=(oe,z)=>{for(var te in z||(z={}))Rc.call(z,te)&&Ju(oe,te,z[te]);if(tu)for(var te of tu(z))Oc.call(z,te)&&Ju(oe,te,z[te]);return oe},ec=(oe,z)=>Fl(oe,qu(z)),du=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())}),ws=({visible:oe,selectText:z,applyRefinedText:te,fetchUrl:ue,current:Ee,shixun_generation_id:Me,noRestrictModal:Xe})=>{var lt;const[ht,zt]=(0,b.useState)(!1),[sn,An]=(0,b.useState)([]),[Fn,Hn]=(0,b.useState)(""),[ir,Xn]=(0,b.useState)(1),[Cr,Tr]=(0,b.useState)(""),[kr,jr]=(0,b.useState)(!1),qr=(0,b.useRef)("stream"),Sa=(0,b.useRef)(null),[na,Oa]=(0,b.useState)(!1),[Fa,Ga]=(0,b.useState)(0),ka=(0,b.useRef)(!1),ni=((lt=sn==null?void 0:sn[(sn==null?void 0:sn.length)-1])==null?void 0:lt.loading)===!0;(0,b.useEffect)(()=>{if(oe){Xn(1);return}Oa(!1),zt(!1),Ya(),Ga(0),An([]),Xn(0)},[oe]);const Ya=()=>{var Ta,si;Hn(""),Tr(""),(si=(Ta=Sa.current)==null?void 0:Ta.cancelRequest)==null||si.call(Ta)},Wa=(...Ta)=>du(void 0,[...Ta],function*(si="",Mi=sn){const Si=Date.now(),ho=[...Mi,{text:si,key:Si,sender:"user",show:!0},{loading:!0,key:Si,sender:"AI",show:!0}];Xn(2),An(ho);const ts={type:qr.current,content:si,shixun_generation_id:Me};Sa.current=new ze(Fe.Z.API_SERVER+ue,ts),yield new Promise(_o=>{Sa.current.on("data",$o=>{const{chunk:{msg:Io},full:ds}=$o,Ko=Io==="error";Oa(!0),Tr(po(ds)),An(Qs=>Qs.map((Il,pu)=>pu===Qs.length-1?ec(Zi({},Il),{text:ds,loading:!1,error:Ko}):Il))}),Sa.current.on("done",()=>_o()),Sa.current.on("error",$o=>{const Io="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Object.prototype.toString.call($o)==="[object Object]"&&$o.status===-9&&(Xn(1),Xe($o.data)),An(ds=>ds.map((Ko,Qs)=>Qs===ds.length-1?ec(Zi({},Ko),{text:Io,loading:!1,error:!0}):Ko)),_o()}),Sa.current.on("cancelled",()=>_o()),Sa.current.startStream()}),zt(!1)}),mr=Ta=>{Hn(Ta.target.value)},sa=Ta=>Ta.reduce((Mi,Si)=>{if(Si.sender==="user"){const ho=Ta.find(ts=>ts.key===Si.key&&ts.sender==="AI");ho&&(ho!=null&&ho.text)&&!(ho!=null&&ho.error)&&Mi.push({question:Si.text,answer:ho.text})}return Mi},[]),Ci=()=>{if(xa)return;const Ta=vi("\u6539\u5199");Ya(),zt(!0),Wa(Ta)},Gi=Ta=>{if(Ta.key==="Enter"&&!Ta.shiftKey){if(Ta.preventDefault(),ka.current||Zo)return;Ci()}},Fo=()=>{var Ta,si;Ga(Mi=>Mi+1),(si=(Ta=Sa.current)==null?void 0:Ta.cancelRequest)==null||si.call(Ta),zt(!1),Oa(!1)},oo=[[2,3].includes(Ee)&&{key:"4",label:b.createElement("span",null," ",b.createElement("img",{src:y(81694),width:16,style:{marginRight:"10px"}}),"\u4EE3\u7801\u4F18\u5316")},[2,3].includes(Ee)&&{key:"5",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-daimazhushi1 font14 mr10"}),"\u4EE3\u7801\u6CE8\u91CA")},Ee==4&&{key:"6",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-ceshiyongli1 font14 mr10"}),"\u589E\u52A0\u6D4B\u8BD5\u7528\u4F8B")},Ee==4&&{key:"7",label:b.createElement("span",null," ",b.createElement("i",{className:"iconfont icon-bianjieceshiyongli font14 mr10"}),"\u589E\u52A0\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B")}].filter(Ta=>!!Ta),po=(Ta="")=>{const si=["\u7B54\u6848\uFF1A","\u96BE\u5EA6\uFF1A","\u89E3\u6790\uFF1A","\u77E5\u8BC6\u70B9\uFF1A","\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09","\u7F16\u7A0B\u8BED\u8A00\uFF1A","\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A","\u7A0B\u5E8F\u4EE3\u7801\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A","\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"];return Array.from({length:20}).forEach((Mi,Si)=>{si.push(`\u7B54\u6848${Si+1}\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Si+1})\u8F93\u5165\uFF1A`,`\u6D4B\u8BD5\u7528\u4F8B(${Si+1})\u8F93\u51FA\uFF1A`)}),si.forEach(Mi=>{const Si=new RegExp(Mi,"g");Ta=Ta.replace(Si,`**${Mi}** `)}),Ta},vi=Ta=>Ta==="\u6539\u5199"?`${Fn}\uFF0C\u6839\u636E\u4E0A\u8FF0\u8981\u6C42\u6539\u5199\u8FD9\u53E5\u8BDD\uFF0C${z}\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211`:Ta=="\u589E\u52A0\u4E00\u6761\u6D4B\u8BD5\u7528\u4F8B"||Ta=="\u589E\u52A0\u4E00\u6761\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B"?Ta:`${z}\uFF0C${Ta}\u4E0A\u9762\u8FD9\u53E5\u8BDD\uFF0C\u6839\u636E\u539F\u683C\u5F0F\u8FD4\u56DE\u7ED9\u6211\uFF0C\u4E0D\u8981\u6709\u591A\u4F59\u7684\u89E3\u6790\u548C\u5176\u4ED6\u5185\u5BB9`,es=Ta=>{let si="";Ta.key==="4"&&(si=vi("\u4EE3\u7801\u4F18\u5316"),qr.current="stream"),Ta.key==="5"&&(si=vi("\u4EE3\u7801\u6CE8\u91CA"),qr.current="stream"),Ta.key==="6"&&(si=vi("\u589E\u52A0\u4E00\u6761\u6D4B\u8BD5\u7528\u4F8B"),qr.current="regenerate_test_set"),Ta.key==="7"&&(si=vi("\u589E\u52A0\u4E00\u6761\u8FB9\u754C\u6D4B\u8BD5\u7528\u4F8B"),qr.current="regenerate_test_set"),Ya(),zt(!0),Wa(si)},Li=()=>{const Ta=sn.splice(sn.length-2),{text:si}=(Ta==null?void 0:Ta[0])||{};Ya(),zt(!0),Wa(si,sn)},Zo=ht||na,xa=(Fn==null?void 0:Fn.trim())==="";return oe?b.createElement(we.Z,{open:xa&&!Zo&&(kr||!Cr),overlayStyle:{minWidth:200},menu:{items:oo,onClick:es}},b.createElement(Nc,null,b.createElement("div",{className:Bo.wrap},ir===2&&b.createElement(b.Fragment,null,b.createElement("div",{className:Bo.chatContainer},ni&&b.createElement("div",{className:Bo.loadingWrp},b.createElement("span",null,"\u6B63\u5728\u751F\u6210\u4E2D"),b.createElement("div",{className:"ai-loading"})),Cr&&b.createElement(ll,{cancelIndex:Fa,streamingStatus:ht,loadImage:!1,onFinish:()=>du(void 0,null,function*(){Ga(0),setTimeout(()=>Oa(!1),0)}),value:Cr})),b.createElement("div",{className:Bo.btnContainer},b.createElement("div",{onClick:()=>{if(na){me.ZP.warning("\u7B49\u5927\u6A21\u578B\u56DE\u7B54\u5B8C\u624D\u53EF\u64CD\u4F5C");return}te(!0,Cr)},className:Bo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-tihuan mr10 font14"}),"\u66FF\u6362"),b.createElement("div",{onClick:()=>{if(na){me.ZP.warning("\u7B49\u5927\u6A21\u578B\u56DE\u7B54\u5B8C\u624D\u53EF\u64CD\u4F5C");return}te(!1,Cr)},className:Bo.btn,style:{padding:"0 16px",width:"initial"}},b.createElement("i",{className:"iconfont icon-charu mr10 font14"}),"\u63D2\u5165"),b.createElement(it.CopyToClipboard,{text:Cr,onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("div",{className:Bo.btn,style:{marginLeft:"auto"}},b.createElement("i",{className:"iconfont icon-fuzhi8 font14"})))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("div",{onClick:Li,className:Bo.btn},b.createElement("i",{className:"iciconfontonfot icon-gengxin-genghuan-tihuan font17"}))),b.createElement(be.Z,{title:"\u5220\u9664"},b.createElement("div",{onClick:()=>{Xn(1),Ya(),An([])},className:Bo.btn},b.createElement("i",{className:"iconfont icon-shanchu14 font14"}))))),b.createElement("div",{className:Bo.inputContainer},b.createElement(Re.default.TextArea,{placeholder:"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u7684\u6587\u672C\u4F18\u5316\u5EFA\u8BAE",value:Fn,bordered:!1,onFocus:()=>jr(!0),onBlur:()=>setTimeout(()=>jr(!1),300),onChange:mr,onPressEnter:Gi,onCompositionStart:()=>ka.current=!0,onCompositionEnd:()=>ka.current=!1}),na?b.createElement("div",{className:`iconfont icon-tingzhihuida ${Bo.cancelBtn}`,onClick:Fo}):b.createElement(Oe.ZP,{className:xa?Bo.sendBtnDisabled:Bo.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Zo,onClick:Ci}))))):b.createElement(b.Fragment,null)},nu={toolbar:"toolbar___LTwsU","chat-dialog":"chat-dialog___mM36q",button_wrp:"button_wrp___heDhJ",button:"button___HbMjJ",button_span:"button_span___oBS2M"},Au=Object.defineProperty,Iu=Object.getOwnPropertySymbols,tc=Object.prototype.hasOwnProperty,nc=Object.prototype.propertyIsEnumerable,Nu=(oe,z,te)=>z in oe?Au(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,rc=(oe,z)=>{for(var te in z||(z={}))tc.call(z,te)&&Nu(oe,te,z[te]);if(Iu)for(var te of Iu(z))nc.call(z,te)&&Nu(oe,te,z[te]);return oe};const Vc=oe=>React.createElement("svg",rc({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},oe),React.createElement("title",null,"AI\u6539\u5199"),React.createElement("defs",null,React.createElement("linearGradient",{x1:"26.797%",y1:"22.073%",x2:"82.181%",y2:"80.474%",id:"rewrite_svg__a"},React.createElement("stop",{stopColor:"#5C64FF",offset:"0%"}),React.createElement("stop",{stopColor:"#6988F8",offset:"100%"}))),React.createElement("path",{d:"m10.406 4.741.007.015h-.007v-.022.007Zm-.04-.04.855-1.495 1.497-.855-1.496-.855L10.366 0l-.854 1.497-1.497.855 1.496.854.855 1.495ZM3.1 8.442l1.71 3.1 1.603-3.1 3.1-1.71L6.52 5.023l-1.71-3.1-1.71 3.1L0 6.733l3.099 1.709H3.1Zm6.84 3.1 1.069 1.924 1.068-1.924L14 10.473l-1.924-1.069-1.069-1.923L9.94 9.405l-1.924 1.068 1.924 1.07v-.001Z",fill:"url(#rewrite_svg__a)",fillRule:"nonzero"}));var Ru="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIyNi43OTclIiB5MT0iMjIuMDczJSIgeDI9IjgyLjE4MSUiIHkyPSI4MC40NzQlIiBpZD0iYSI+PHN0b3Agc3RvcC1jb2xvcj0iIzVDNjRGRiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiM2OTg4RjgiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxwYXRoIGQ9Im0xMC40MDYgNC43NDEuMDA3LjAxNWgtLjAwN3YtLjAyMi4wMDdabS0uMDQtLjA0Ljg1NS0xLjQ5NSAxLjQ5Ny0uODU1LTEuNDk2LS44NTVMMTAuMzY2IDBsLS44NTQgMS40OTctMS40OTcuODU1IDEuNDk2Ljg1NC44NTUgMS40OTVaTTMuMSA4LjQ0MmwxLjcxIDMuMSAxLjYwMy0zLjEgMy4xLTEuNzFMNi41MiA1LjAyM2wtMS43MS0zLjEtMS43MSAzLjFMMCA2LjczM2wzLjA5OSAxLjcwOUgzLjFabTYuODQgMy4xIDEuMDY5IDEuOTI0IDEuMDY4LTEuOTI0TDE0IDEwLjQ3M2wtMS45MjQtMS4wNjktMS4wNjktMS45MjNMOS45NCA5LjQwNWwtMS45MjQgMS4wNjggMS45MjQgMS4wN3YtLjAwMVoiIGZpbGw9InVybCgjYSkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg==",Di=({nodeRef:oe,noRestrictModal:z,onSuccess:te,current:ue,valueHtml:Ee,shixun_generation_id:Me})=>{const[Xe,lt]=(0,b.useState)(null),[ht,zt]=(0,b.useState)(!1),sn=(0,b.useRef)(null),An=(Hn=!0,ir)=>{te(Hn?ir:Ee+" "+ir),zt(!1),lt(new Date)},Fn=()=>{zt(!ht)};return(0,b.useEffect)(()=>{ue&&zt(!1)},[ue]),b.createElement("section",{ref:sn},b.createElement("div",{className:nu.button_wrp},b.createElement("div",{className:nu.button,onClick:Fn},b.createElement("img",{src:Ru})),b.createElement(ws,{current:ue,shixun_generation_id:Me,key:JSON.stringify(Xe),noRestrictModal:z,visible:ht,selectText:Ee,applyRefinedText:An,fetchUrl:"/api/stream/ai/shixuns/create_stream.json"})))},ac={toolbar:"toolbar___l1EsZ","chat-dialog":"chat-dialog___VsRFp",button_wrp:"button_wrp___EVZax",button:"button___B9Im0",button_span:"button_span___CqWPB"},Dc=y(39116),Lc=({nodeRef:oe,noRestrictModal:z,onSuccess:te,current:ue,valueHtml:Ee,onCancel:Me})=>{const[Xe,lt]=(0,b.useState)(!1),ht=(0,b.useRef)(null),[zt,sn]=(0,b.useState)(""),[An,Fn]=(0,b.useState)(Ee),Hn=()=>{lt(!Xe),Fn(Ee)};(0,b.useEffect)(()=>{ue&<(!1)},[ue]);const ir=Xn=>{sn(Xn)};return b.createElement("section",{ref:ht},b.createElement("div",{className:ac.button_wrp},b.createElement("i",{className:"iconfont icon-bianji-moren",style:{color:"rgba(48,97,208,0.5)",marginRight:"20px",cursor:"pointer"},onClick:Hn})),b.createElement(pe.default,{centered:!0,open:Xe,title:"\u7F16\u8F91\u5185\u5BB9",width:1e3,onCancel:()=>{lt(!1),Me(),Fn("")},onOk:()=>{te(An),lt(!1)}},b.createElement(Dc.Z,{defaultValue:An,height:400,onChange:Xn=>{Fn(Xn)}})))},Al={wrap:"wrap___MVrHX",edit:"edit___N3N3G",tree:"tree___mdaql",code:"code___tFqtF"},Mc=y(18287),ro=y(34728);const Zc=oe=>{if(!oe||oe.trim()==="")return"other";const z=oe.split(/[\\/]/).pop(),te=z.split(".").pop();if(!te||te.trim()===""||te===z)return"other";const ue=te.toLowerCase(),Ee=["py","h","c","cpp","cc","java","php","html","css","scss","go","r","graphql","swift","xml","yaml","json","lua","scheme","less","ini","coffee","litcoffee","js","cs","kt","md","sql","m","mm","pas","perl","ejs","pl","rb","rs","rust","sh","makefile","circ","readme","yml","sml","thy","conf","txt","gitignore","in","cu","gemfile","scala","net","l","v","config","properties","log","htm","cnf","hex","bat","asm","bash","ts","tsx","sass","jsx","jsp","gitkeep","sv","hql","y","jj","pls","sol","ignore","ctrl","vue","tex","bib","cls","bst","log","toc","sty","g4","sy","cfg","s","ll","mml","hpp","api","vhdl","lex","gradle"],Me=["jpg","jpeg","png","gif","webp","bmp"],Xe=["avi","mp4","mov"],lt=["mp3","wav","ogg"],ht=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];return ue==="tex"?"latex":ue==="pdf"?"pdf":Ee.includes(ue)?"txt":Me.includes(ue)?"image":Xe.includes(ue)?"video":lt.includes(ue)?"audio":ht.includes(ue)?"office":"other"},Pc=oe=>{if(!oe||oe.trim()==="")return"shell";const z=oe.split(/[\\/]/).pop(),te=z.split(".").pop();if(!te||te.trim()===""||te===z)return"shell";const ue=te.toLowerCase();switch(ue){case"py":return"python";case"h":case"c":case"g4":case"sy":case"l":case"y":case"ll":return"c";case"cc":case"cxx":case"c++":case"cu":case"hpp":return"cpp";case"cpp":case"java":case"php":case"html":case"css":case"scss":case"go":case"r":case"graphql":case"swift":case"xml":case"yaml":case"json":case"lua":case"scala":case"scheme":case"less":case"ini":case"jpg":case"jpeg":case"png":case"gif":case"webp":case"bmp":case"avi":case"mp4":case"mov":case"mp3":case"wav":case"ogg":case"vhdl":return ue;case"coffee":case"litcoffee":return"coffeescript";case"js":return"javascript";case"ejs":case"vue":return"html";case"cs":return"csharp";case"kt":return"kotlin";case"md":return"markdown";case"sql":case"ctrl":return"mysql";case"m":case"mm":return"objective-c";case"pas":return"pascal";case"perl":case"pl":return"perl";case"rb":return"ruby";case"rs":case"rust":return"rust";case"sol":return"solidity";default:return"shell"}},ic=(oe,z="")=>{let te=[];return oe.forEach(ue=>{const Ee=z?`${z}/${ue.title}`:ue.title;if(ue.isLeaf){const Me=ue.title,Xe=Pc(Me);te.push({key:ue.key,content:ue.fileContent,language:Xe,mdLanguage:ue.language,filename:Me})}ue.children&&ue.children.length>0&&(te=te.concat(ic(ue.children,Ee)))}),te},Ou=`**\u6587\u4EF6\u540D\u79F0**: src/main.py **\u6587\u4EF6\u5185\u5BB9**: \`\`\`python # \u63A5\u65361\u7528\u6237\u8F93\u5165\u7684\u4E24\u4E2A\u5B57\u7B26\u4E32 @@ -1243,154 +1243,154 @@ result = "" # \u5728\u6B64\u5904\u5B9E\u73B0\u62FC\u63A5\u903B\u8F91 # \u8F93\u51FA\u7ED3\u679C print(result) -\`\`\``,a=oe=>{const z=oe.split("**\u6587\u4EF6\u540D\u79F0**:").slice(1),te=[];let ue=1;const Se=new Map;function Le(st,dt){let Gt=st.find(ln=>ln.title===dt&&!ln.isLeaf);if(!Gt){const ln=`${ue++}`;Se.set(`${st.rootPath||""}/${dt}`,ln),Gt={title:dt,key:ln,children:[],rootPath:st.rootPath?`${st.rootPath}/${dt}`:dt},st.push(Gt)}return Gt}z.forEach(st=>{const[dt,...Gt]=st.trim().split(` -`);if(!dt)return;const Tn=dt.trim().split("/"),_n=Tn.pop(),Gn=Tn,Yn=Gt.join(` -`).match(/```python([\s\S]*?)```/),Cr=Yn?Yn[1].trim():"";let Ar=te,Br="";Gn.forEach(ba=>{Br=Br?`${Br}/${ba}`:ba,Ar=Le(Ar,ba).children});const Wr=`${ue++}`,aa={title:_n,key:Wr,isLeaf:!0,content:Cr};Ar.push(aa)});function qe(st){st.forEach(dt=>{delete dt.rootPath,dt.children&&dt.children.length&&qe(dt.children)})}return qe(te),te};function E(oe){const z=Le=>{const qe=Le.match(/\*\*文件名称\*\*:\s*([^\n]+)/),st=qe?qe[1].trim():"unknown.file",dt=Le.match(/\*\*文件内容\*\*:\s*\n```(\w+)\n([\s\S]*?)\n```/);return dt?{fileName:st,language:dt[1],content:dt[2].trim()}:{fileName:st,language:"unknown",content:Le.replace(/\*\*文件名称\*\*:[^\n]+\n/,"").replace("**\u6587\u4EF6\u5185\u5BB9**:","").trim()}},te=(Le,qe,st,dt)=>{let Gt=Le;const ln=qe.length;qe.forEach((Tn,_n)=>{const Gn=_n===ln-1;let ar=Gt.find(Yn=>Yn.title===Tn);if(!ar){const Yn={title:Tn,key:qe.slice(0,_n+1).join("/"),isLeaf:Gn};Gn?(Yn.fileContent=st,Yn.language=dt):Yn.children=[],Gt.push(Yn),ar=Yn}Gn||(Gt=ar.children)})},ue=[];return oe.split("-----").map(Le=>Le.trim()).filter(Le=>Le).forEach(Le=>{const{fileName:qe,content:st,language:dt}=z(Le),Gt=qe.split("/");te(ue,Gt,st,dt)}),ue}var re=(oe,z,te)=>new Promise((ue,Se)=>{var Le=dt=>{try{st(te.next(dt))}catch(Gt){Se(Gt)}},qe=dt=>{try{st(te.throw(dt))}catch(Gt){Se(Gt)}},st=dt=>dt.done?ue(dt.value):Promise.resolve(dt.value).then(Le,qe);st((te=te.apply(oe,z)).next())});const{DirectoryTree:ne}=kc.default;var ye=({value:oe,style:z={},shixun_generation_id:te,menuValue:ue,upcont:Se})=>{const[Le,qe]=(0,b.useState)([]),[st,dt]=(0,b.useState)([]),[Gt,ln]=(0,b.useState)(void 0),Tn=(0,b.useRef)(null);(0,b.useEffect)(()=>{var Yn;if(oe){const Cr=E(oe);console.log(Cr,"data1"),dt(Cr);const Ar=nc(Cr);ln((Yn=Ar==null?void 0:Ar[0])==null?void 0:Yn.key),qe(Ar)}},[oe]);const _n=(Yn,Cr)=>{const Ar=Cr.node;Ar.isLeaf&&ln(Ar.key)},Gn=Yn=>{const Cr=Le.findIndex(Ar=>Ar.key===Gt);Le[Cr].content!==Yn&&(Le[Cr].content=Yn,qe([...Le]),clearTimeout(Tn.current),Tn.current=setTimeout(()=>{let Ar="";Le.forEach((Br,Wr)=>{const aa=`**\u6587\u4EF6\u540D\u79F0**: ${Br.key} +\`\`\``,a=oe=>{const z=oe.split("**\u6587\u4EF6\u540D\u79F0**:").slice(1),te=[];let ue=1;const Ee=new Map;function Me(lt,ht){let zt=lt.find(sn=>sn.title===ht&&!sn.isLeaf);if(!zt){const sn=`${ue++}`;Ee.set(`${lt.rootPath||""}/${ht}`,sn),zt={title:ht,key:sn,children:[],rootPath:lt.rootPath?`${lt.rootPath}/${ht}`:ht},lt.push(zt)}return zt}z.forEach(lt=>{const[ht,...zt]=lt.trim().split(` +`);if(!ht)return;const An=ht.trim().split("/"),Fn=An.pop(),Hn=An,Xn=zt.join(` +`).match(/```python([\s\S]*?)```/),Cr=Xn?Xn[1].trim():"";let Tr=te,kr="";Hn.forEach(Sa=>{kr=kr?`${kr}/${Sa}`:Sa,Tr=Me(Tr,Sa).children});const jr=`${ue++}`,qr={title:Fn,key:jr,isLeaf:!0,content:Cr};Tr.push(qr)});function Xe(lt){lt.forEach(ht=>{delete ht.rootPath,ht.children&&ht.children.length&&Xe(ht.children)})}return Xe(te),te};function E(oe){const z=Me=>{const Xe=Me.match(/\*\*文件名称\*\*:\s*([^\n]+)/),lt=Xe?Xe[1].trim():"unknown.file",ht=Me.match(/\*\*文件内容\*\*:\s*\n```(\w+)\n([\s\S]*?)\n```/);return ht?{fileName:lt,language:ht[1],content:ht[2].trim()}:{fileName:lt,language:"unknown",content:Me.replace(/\*\*文件名称\*\*:[^\n]+\n/,"").replace("**\u6587\u4EF6\u5185\u5BB9**:","").trim()}},te=(Me,Xe,lt,ht)=>{let zt=Me;const sn=Xe.length;Xe.forEach((An,Fn)=>{const Hn=Fn===sn-1;let ir=zt.find(Xn=>Xn.title===An);if(!ir){const Xn={title:An,key:Xe.slice(0,Fn+1).join("/"),isLeaf:Hn};Hn?(Xn.fileContent=lt,Xn.language=ht):Xn.children=[],zt.push(Xn),ir=Xn}Hn||(zt=ir.children)})},ue=[];return oe.split("-----").map(Me=>Me.trim()).filter(Me=>Me).forEach(Me=>{const{fileName:Xe,content:lt,language:ht}=z(Me),zt=Xe.split("/");te(ue,zt,lt,ht)}),ue}var re=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});const{DirectoryTree:ne}=Mc.default;var ye=({value:oe,style:z={},shixun_generation_id:te,menuValue:ue,upcont:Ee})=>{const[Me,Xe]=(0,b.useState)([]),[lt,ht]=(0,b.useState)([]),[zt,sn]=(0,b.useState)(void 0),An=(0,b.useRef)(null);(0,b.useEffect)(()=>{var Xn;if(oe){const Cr=E(oe);console.log(Cr,"data1"),ht(Cr);const Tr=ic(Cr);sn((Xn=Tr==null?void 0:Tr[0])==null?void 0:Xn.key),Xe(Tr)}},[oe]);const Fn=(Xn,Cr)=>{const Tr=Cr.node;Tr.isLeaf&&sn(Tr.key)},Hn=Xn=>{const Cr=Me.findIndex(Tr=>Tr.key===zt);Me[Cr].content!==Xn&&(Me[Cr].content=Xn,Xe([...Me]),clearTimeout(An.current),An.current=setTimeout(()=>{let Tr="";Me.forEach((kr,jr)=>{const qr=`**\u6587\u4EF6\u540D\u79F0**: ${kr.key} **\u6587\u4EF6\u5185\u5BB9**: \`\`\`sql -${Br.content} -\`\`\``;Wr===0?Ar=Ar+aa:Ar=Ar+` +${kr.content} +\`\`\``;jr===0?Tr=Tr+qr:Tr=Tr+` ----- -`+aa}),Se(Ar,te,"code",ue)},500))},ar=Le.find(Yn=>Yn.key===Gt)||{};return b.createElement("div",{className:Nl.wrap,style:z},b.createElement("div",{className:Nl.edit},b.createElement(Di,{current:2,shixun_generation_id:te,valueHtml:ar==null?void 0:ar.content,onSuccess:Yn=>re(void 0,null,function*(){Gn(Yn)})})),b.createElement("div",{className:Nl.tree},Gt&&b.createElement(ne,{treeData:st,defaultExpandAll:!0,selectedKeys:Gt&&[Gt],onSelect:_n})),b.createElement("div",{className:Nl.code},Gt&&b.createElement(to.ZP,{key:Gt,theme:"vs-light",language:ar==null?void 0:ar.language,value:(ar==null?void 0:ar.content)||"",onChange:Gn})))},Be=Object.defineProperty,Xe=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,cn=(oe,z,te)=>z in oe?Be(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,En=(oe,z)=>{for(var te in z||(z={}))at.call(z,te)&&cn(oe,te,z[te]);if(Xe)for(var te of Xe(z))yt.call(z,te)&&cn(oe,te,z[te]);return oe},Vn=(oe,z,te)=>new Promise((ue,Se)=>{var Le=dt=>{try{st(te.next(dt))}catch(Gt){Se(Gt)}},qe=dt=>{try{st(te.throw(dt))}catch(Gt){Se(Gt)}},st=dt=>dt.done?ue(dt.value):Promise.resolve(dt.value).then(Le,qe);st((te=te.apply(oe,z)).next())});const Hn={0:"info",1:"challege",2:"code",3:"answer",4:"test_set",5:"test"};var zr=({visible:oe,questionnumber:z,onCancel:te})=>{var ue,Se,Le,qe,st;const dt=(0,xe.useDispatch)(),[Gt,ln]=(0,b.useState)(_u),[Tn,_n]=(0,b.useState)(0),[Gn,ar]=(0,b.useState)(3),[Yn,Cr]=(0,b.useState)([]),[Ar]=(0,xe.useSearchParams)(),[Br,Wr]=(0,b.useState)({}),[aa,ba]=(0,b.useState)(!1),[na,ka]=(0,b.useState)(!1),[Ba,Ga]=(0,b.useState)(!1),{openProgress:_a,closeProgress:ei,CreateProgressModal:Za,progressOpen:za}=Zu(),hr=(0,b.useRef)(0),ca=(0,b.useRef)(0),Si=(0,b.useRef)(""),[ji,zo]=(0,b.useState)(""),[oo,fo]=(0,b.useState)("Python3.6"),[hi,po]=(0,b.useState)([]),[Zi,es]=(0,b.useState)({inputValue:"",environment:"",fileList:[]}),[xa,wa]=(0,b.useState)(""),[oi,Li]=(0,b.useState)(""),[Ei,no]=(0,b.useState)(""),[Ho,Zo]=(0,b.useState)(!0),[cs,ts]=(0,b.useState)(!1),[ds,Oo]=(0,b.useState)(""),Os={maxCount:10,showUploadList:!1,fileList:hi,multiple:!1,data:{upload_type:1},accept:".doc,.docx,.pdf,.md,.txt,.xls,.xlsx",beforeUpload:da=>Vn(void 0,null,function*(){var li,$i,Mi,xo;const cl=(xo=(Mi=($i=(li=da==null?void 0:da.name)==null?void 0:li.split("."))==null?void 0:$i.slice(-1))==null?void 0:Mi[0])==null?void 0:xo.toLowerCase(),Xi=["doc","docx","pdf","md","txt","xls","xlsx"].includes(cl);return da.size==0?(he.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),le.default.LIST_IGNORE):Xi?da.size/1024/1024>100?(he.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),le.default.LIST_IGNORE):!0:(he.ZP.warning("\u76EE\u524D\u652F\u6301doc\u3001docx\u3001pdf\u3001md\u3001txt\u3001xls\u3001xlsx\u6587\u4EF6"),le.default.LIST_IGNORE)}),onChange:({fileList:da})=>{po(da)},action:Fe.Z.API_SERVER+"/api/attachments.json"},Rl=[{key:"Python3.6",label:"Python3.6"},{key:"C/C++",label:"C/C++"},{key:"Java",label:"Java"},{key:"MySQL",label:"MySQL"}],{contentRef:ru,value:Ru,status:fu,examName:ad,open:Gc,close:id}=Gt,ed=ju({contentRef:ru,status:fu});function ks(){return Vn(this,null,function*(){var da;let li=yield(0,Ql.ZP)("/api/ai/shixuns/get_shixun_generation.json",{method:"get",params:{shixun_generation_id:xa}});(li==null?void 0:li.status)===0&&(Wr(li==null?void 0:li.data),Oo((da=li==null?void 0:li.data)==null?void 0:da.code_text),Si.current=new Date)})}function Lc(da,li,$i,Mi,xo,cl){return Vn(this,null,function*(){var Ol;Ga(!0);let Xi=yield(0,Ql.ZP)("/api/ai/shixuns/save_shixun_generation.json",{method:"post",body:{text:Mi,shixun_generation_id:xa,type:xo,environment:$i}});if((Xi==null?void 0:Xi.status)==0){ka(!1),wa(Xi==null?void 0:Xi.shixun_generation_id),Xi!=null&&Xi.name&&Li(Xi==null?void 0:Xi.name);const dl={type:cl=="next"?Hn==null?void 0:Hn[hr.current+1]:Hn==null?void 0:Hn[hr.current],shixun_generation_id:Xi==null?void 0:Xi.shixun_generation_id,content:da,shixun_id:Ar.get("shixun_id"),attachment_ids:li==null?void 0:li.map(Ks=>{var ac;return(ac=Ks==null?void 0:Ks.response)==null?void 0:ac.id})};aa||ba(!0),cl=="next"&&(ca.current===2&&(ts(!0),Oo(Mi),yield new Promise(Ks=>setTimeout(Ks,1e3))),(Ol=[4,5])!=null&&Ol.includes(hr.current)?(ks(),aa&&ba(!1),hr.current=6,ca.current=0,Yn[Yn.length-1].answer="\u6210\u529F\u751F\u6210\uFF0C\u7EE7\u7EED\u5BF9\u8BDD\u6765\u4F18\u5316\u4F60\u7684\u5B9E\u8DF5\u9879\u76EE\u5427",Yn[Yn.length-1].isLogin=!1,Cr([...Yn])):(hr.current=hr.current+1,ca.current=ca.current+1,yield Gc(dl))),xo=="create"&&(yield Gc(dl))}else ka(!0),ba(!1),Yn[Yn.length-1].answer="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA",Yn[Yn.length-1].isLogin=!1,Cr([...Yn])})}(0,b.useEffect)(()=>{var da;const li=localStorage.getItem("myChatShixun");if(li&&((da=Gt==null?void 0:Gt.open)==null?void 0:da.length)==1){const{inputValue:$i,fileList:Mi,environment:xo}=JSON.parse(li);fo(xo),es({inputValue:$i,environment:xo,fileList:Mi}),Cr([{question:$i,fileList:Mi,answer:"",isLogin:!0}]),Oo(""),ts(!1),Lc($i==null?void 0:$i.trim(),Mi,xo,"","create","")}},[(ue=Gt==null?void 0:Gt.open)==null?void 0:ue.length]),(0,b.useEffect)(()=>{if(Ei){const da=ed();rc(da,xa,Hn==null?void 0:Hn[ca.current],oo)}},[Ei]);function rc(da,li,$i,Mi){return Vn(this,null,function*(){let xo=yield(0,Ql.ZP)("/api/ai/shixuns/save_shixun_generation.json",{method:"post",body:{text:da,shixun_generation_id:li,type:$i,environment:Mi}});(xo==null?void 0:xo.status)==0&&he.ZP.success("\u64CD\u4F5C\u6210\u529F")})}(0,b.useEffect)(()=>(dt({type:"globalSetting/headerFooterToggle",payload:!1}),()=>{dt({type:"globalSetting/headerFooterToggle",payload:!0})}),[]);const Wc=da=>Vn(void 0,null,function*(){if(aa){he.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}_a();const li=yield(0,Ql.ZP)("/api/ai/shixuns/save.json",{method:"post",body:{shixun_generation_id:xa,shixun_id:Ar.get("shixun_id"),name:oi}});(li==null?void 0:li.status)==0&&(ei(100),he.ZP.success("\u4FDD\u5B58\u6210\u529F"),da?dt({type:"shixunsDetail/execShixun",payload:{id:li==null?void 0:li.shixun_identifier,jump_challenge_setting:!0}}).then($i=>{$i!=null&&$i.game_identifier&&(window.location.href=`/tasks/${$i.game_identifier}`)}):window.location.href=`/shixuns/${li==null?void 0:li.shixun_identifier}/challenges`),(li==null?void 0:li.status)==-66&&pe.default.confirm({centered:!0,icon:null,okText:"\u53BB\u4FEE\u6539",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",null,b.createElement("div",null,"\u4FDD\u5B58\u5931\u8D25"),b.createElement("div",{style:{color:"#FA6400"}},li==null?void 0:li.message)),onOk:()=>{var $i,Mi,xo,cl,Ol;($i=li==null?void 0:li.message)!=null&&$i.includes("\u57FA\u672C\u4FE1\u606F")?ca.current=0:(Mi=li==null?void 0:li.message)!=null&&Mi.includes("\u5B66\u4E60\u5185\u5BB9")?ca.current=1:(xo=li==null?void 0:li.message)!=null&&xo.includes("\u6846\u67B6\u4EE3\u7801")?ca.current=2:(cl=li==null?void 0:li.message)!=null&&cl.includes("\u53C2\u8003\u7B54\u6848")?ca.current=3:(Ol=li==null?void 0:li.message)!=null&&Ol.includes("\u6D4B\u8BD5\u7528\u4F8B")&&(ca.current=4),ks()}}),ei()}),Mc=(da,li)=>Vn(void 0,null,function*(){var $i,Mi,xo,cl,Ol;ba(!0),po([]),zo("");const Xi=yield(0,Ql.ZP)("/api/stream/ai/shixuns/create_stream.json",{method:"post",body:{type:"purpose_identification",shixun_generation_id:xa,content:da==null?void 0:da.trim(),shixun_id:Ar.get("shixun_id"),attachment_ids:li==null?void 0:li.map(dl=>{var Ks;return(Ks=dl==null?void 0:dl.response)==null?void 0:Ks.id})}});(($i=Xi==null?void 0:Xi.data)==null?void 0:$i.msg)=="\u57FA\u672C\u4FE1\u606F\u5DF2\u5B8C\u6210\u4FEE\u6539"?ca.current=0:((Mi=Xi==null?void 0:Xi.data)==null?void 0:Mi.msg)=="\u5B66\u4E60\u5185\u5BB9\u5DF2\u5B8C\u6210\u4FEE\u6539"?ca.current=1:((xo=Xi==null?void 0:Xi.data)==null?void 0:xo.msg)=="\u6846\u67B6\u4EE3\u7801\u5DF2\u5B8C\u6210\u4FEE\u6539"?ca.current=2:((cl=Xi==null?void 0:Xi.data)==null?void 0:cl.msg)=="\u53C2\u8003\u7B54\u6848\u5DF2\u5B8C\u6210\u4FEE\u6539"?ca.current=3:((Ol=Xi==null?void 0:Xi.data)==null?void 0:Ol.msg)=="\u6D4B\u8BD5\u7528\u4F8B\u5DF2\u5B8C\u6210\u4FEE\u6539"&&(ca.current=4),ks(),Cr(dl=>dl.map((Ks,ac)=>{var $c;return ac==(dl==null?void 0:dl.length)-1&&(Ks.answer=(($c=Xi==null?void 0:Xi.data)==null?void 0:$c.msg)||"\u751F\u6210\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u751F\u6210",Ks.isLogin=!1),Ks})),ba(!1)}),Vc=(0,b.useRef)(null);(0,b.useEffect)(()=>{const da=Vc.current;da&&(da.scrollTop=da.scrollHeight)},[Yn]);const Zc=cs&&ca.current===2;return b.createElement(b.Fragment,null,b.createElement("div",{className:je.wrap},Ho?b.createElement("div",{className:je.left},b.createElement("div",{className:je.leftheader},b.createElement("div",{style:{cursor:"pointer"},onClick:()=>{xe.history.push("/shixuns/new?tabs=4")}},b.createElement("i",{className:"iconfont icon-fanhui1 font14 mr5"}),"\u8FD4\u56DE"),b.createElement("div",{className:je.close_ai,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{Zo(!1)}})),b.createElement("div",{className:je.leftcontent,ref:Vc},Yn==null?void 0:Yn.map((da,li)=>{var $i;return b.createElement("div",{key:li},b.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"end",marginTop:"30px"}},b.createElement("div",{className:je.leftcontentright},da==null?void 0:da.question),b.createElement("img",{src:yu,width:40,height:40,style:{marginLeft:10}})),b.createElement("div",{className:je.button_list,style:{textAlign:"right",paddingRight:"40px"}},b.createElement(rt.CopyToClipboard,{text:String((da==null?void 0:da.question)||""),onCopy:()=>he.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("i",{className:"iconfont icon-fuzhi font14"})))),b.createElement("div",{className:je.liaotian_files},($i=da==null?void 0:da.fileList)==null?void 0:$i.map((Mi,xo)=>b.createElement("div",{key:xo,className:je.liaotian_file},b.createElement(fe.Z,{size:"small",spinning:(Mi==null?void 0:Mi.status)==="uploading"},b.createElement(Gu.Z,{filename:Mi==null?void 0:Mi.name,className:"block",width:14})),b.createElement("aside",null,b.createElement(be.Z,{title:(Mi==null?void 0:Mi.name)+" "+(0,xt.RD)(Mi==null?void 0:Mi.size)},b.createElement("div",{className:je.fileName},Mi==null?void 0:Mi.name)))))),b.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"start",marginTop:30}},b.createElement("img",{src:Bl,width:40,height:40,style:{marginRight:10}}),b.createElement("div",{className:je.leftcontentleft},b.createElement("div",{className:je.letitle},da!=null&&da.isLogin?b.createElement("div",{className:je.loadingPic},Ba?"\u5DF2\u63A5\u6536\u5230\u4F60\u7684\u9700\u6C42\uFF0C\u6211\u5C06\u7ACB\u5373\u5F00\u59CB\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE":"\u6B63\u5728\u5904\u7406\u4E2D",b.createElement("span",{className:je.dots})):da==null?void 0:da.answer),b.createElement("div",{className:je.button_list},b.createElement(rt.CopyToClipboard,{text:String((da==null?void 0:da.answer)||""),onCopy:()=>he.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("i",{className:"iconfont icon-fuzhi font14"}))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("i",{className:"iconfont icon-genghuan font12",onClick:()=>{var Mi;if(aa){he.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}(da==null?void 0:da.answer)=="\u6210\u529F\u751F\u6210\uFF0C\u7EE7\u7EED\u5BF9\u8BDD\u6765\u4F18\u5316\u4F60\u7684\u5B9E\u8DF5\u9879\u76EE\u5427"||(da==null?void 0:da.answer)=="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA"||na?(ka(!1),Wr({}),hr.current=0,ca.current=0,Cr([{question:da==null?void 0:da.question,fileList:da==null?void 0:da.fileList,answer:"",isLogin:!0}]),Oo(""),ts(!1),Lc((Mi=Zi==null?void 0:Zi.inputValue)==null?void 0:Mi.trim(),Zi==null?void 0:Zi.fileList,Zi==null?void 0:Zi.environment,"","create","")):(Ga(!1),Cr([...Yn,{question:da==null?void 0:da.question,fileList:da==null?void 0:da.fileList,answer:"",isLogin:!0}]),Mc(da==null?void 0:da.question,da==null?void 0:da.fileList))}}))))),(da==null?void 0:da.isLogin)&&Ba&&b.createElement("div",{className:je.left_step},b.createElement("div",{className:je.left_step_item},hr.current>0?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:je.item_title,style:{color:hr.current>=0?"#3061D0":"#DEDEDE"}},"\u57FA\u672C\u4FE1\u606F"),b.createElement("div",{className:je.item_status,style:{color:hr.current>=0?"#5F6A95":"#DEDEDE"}},hr.current>0?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u60A8\u7684\u9700\u6C42\u751F\u6210\u57FA\u672C\u4FE1\u606F")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:hr.current>0?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.left_step_item},hr.current<1?b.createElement("div",{className:je.stepNum},"2"):hr.current>1?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:je.item_title,style:{color:hr.current>=1?"#3061D0":"#DEDEDE"}},"\u5B66\u4E60\u5185\u5BB9"),b.createElement("div",{className:je.item_status,style:{color:hr.current>=1?"#5F6A95":"#DEDEDE"}},hr.current<1?"\u7B49\u5F85\u4E2D":hr.current>1?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u57FA\u672C\u4FE1\u606F\u751F\u6210\u5B66\u4E60\u5185\u5BB9")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:hr.current>1?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.left_step_item},hr.current<2?b.createElement("div",{className:je.stepNum},"3"):hr.current>2?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:je.item_title,style:{color:hr.current>=2?"#3061D0":"#DEDEDE"}},"\u6846\u67B6\u4EE3\u7801"),b.createElement("div",{className:je.item_status,style:{color:hr.current>=2?"#5F6A95":"#DEDEDE"}},hr.current<2?"\u7B49\u5F85\u4E2D":hr.current>2?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u5B66\u4E60\u5185\u5BB9\u751F\u6210\u6846\u67B6\u4EE3\u7801")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:hr.current>2?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.left_step_item},hr.current<3?b.createElement("div",{className:je.stepNum},"4"):hr.current>3?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:je.item_title,style:{color:hr.current>=3?"#3061D0":"#DEDEDE"}},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:je.item_status,style:{color:hr.current>=3?"#5F6A95":"#DEDEDE"}},hr.current<3?"\u7B49\u5F85\u4E2D":hr.current>3?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u5B66\u4E60\u5185\u5BB9\u548C\u6846\u67B6\u4EE3\u7801\u751F\u6210\u53C2\u8003\u7B54\u6848")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:hr.current>3?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.left_step_item},hr.current<4?b.createElement("div",{className:je.stepNum},"5"):hr.current>4?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:je.item_title,style:{color:hr.current>=4?"#3061D0":"#DEDEDE"}},"\u6D4B\u8BD5\u7528\u4F8B"),b.createElement("div",{className:je.item_status,style:{color:hr.current>=4?"#5F6A95":"#DEDEDE"}},hr.current<4?"\u7B49\u5F85\u4E2D":hr.current>4?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u6846\u67B6\u4EE3\u7801\u548C\u53C2\u8003\u7B54\u6848\u751F\u6210\u6D4B\u8BD5\u7528\u4F8B")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:hr.current>4?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.left_step_item},hr.current<5?b.createElement("div",{className:je.stepNum},"6"):hr.current>5?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:je.item_title,style:{color:hr.current>=5?"#3061D0":"#DEDEDE"}},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:je.item_status,style:{color:hr.current>=5?"#5F6A95":"#DEDEDE"}},hr.current<5?"\u7B49\u5F85\u4E2D":hr.current>5?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u6846\u67B6\u4EE3\u7801\u548C\u6D4B\u8BD5\u7528\u4F8B\u751F\u6210\u8BC4\u6D4B\u811A\u672C"))))})),b.createElement("div",{className:je.practice},!!hi.length&&b.createElement("div",{className:je.files},Tn>0&&(hi==null?void 0:hi.length)>3&&b.createElement("div",{className:je.left_data,onClick:()=>{_n(Tn-1),ar(Gn-1)}},b.createElement("i",{className:"iconfont icon-xiangzuo"})),Gn<(hi==null?void 0:hi.length)&&(hi==null?void 0:hi.length)>3&&b.createElement("div",{className:je.right_data,onClick:()=>{_n(Tn+1),ar(Gn+1)}},b.createElement("i",{className:"iconfont icon-xiangyou"})),(Se=(hi==null?void 0:hi.length)>3?hi==null?void 0:hi.slice(Tn,Gn):hi)==null?void 0:Se.map((da,li)=>b.createElement("div",{key:li,className:je.file},b.createElement(fe.Z,{size:"small",spinning:(da==null?void 0:da.status)==="uploading"},b.createElement(Gu.Z,{filename:da==null?void 0:da.name,className:"block",width:30})),b.createElement("aside",null,b.createElement(be.Z,{title:da==null?void 0:da.name},b.createElement("div",{className:je.fileName},da==null?void 0:da.name)),b.createElement("div",{style:{textAlign:"start"},className:"c-grey-999 font12"},(0,xt.RD)(da==null?void 0:da.size))),b.createElement(be.Z,{title:"\u5220\u9664\u6587\u4EF6"},b.createElement("i",{onClick:()=>{po($i=>$i.filter(Mi=>Mi.uid!==da.uid))},className:`iconfont icon-danceng-guanbijichushezhidanceng ${je.fileDel}`}))))),b.createElement("div",{className:je.inputTop},b.createElement("div",{className:je.dropdown},b.createElement(we.Z,{disabled:!0,menu:{items:Rl,onClick:da=>{fo(da.key)}}},b.createElement("div",{style:{cursor:"no-drop",display:"flex",alignItems:"center",color:"rgba(20, 93, 255, 0.4)",height:"34px",padding:"0 20px"}},b.createElement(be.Z,{title:"\u5B9E\u9A8C\u73AF\u5883"},b.createElement("img",{src:y(21373),style:{width:"16px",height:"16px",marginRight:"8px",opacity:.4}})),b.createElement(be.Z,{title:"\u667A\u80FD\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE\u6A21\u5F0F\uFF0C\u6682\u4E0D\u652F\u6301\u66F4\u6362\u73AF\u5883\u3002"},b.createElement("div",{style:{height:"34px",lineHeight:"32px",width:"150px",textAlign:"left"}},oo)),b.createElement(Cc.Z,null))))),b.createElement("div",{className:je.inputWrap,style:{borderBottom:"none"}},b.createElement("div",{className:je.action},b.createElement(le.default,En({},Os),b.createElement(be.Z,{title:(hi==null?void 0:hi.length)>=10?"\u6700\u591A\u53EA\u80FD\u4E0A\u4F2010\u4E2A\u9644\u4EF6":""},b.createElement(Oe.ZP,{style:{cursor:(hi==null?void 0:hi.length)>=10?"no-drop":"pointer"},disabled:(hi==null?void 0:hi.length)>=10,className:je.uploadBtn,icon:b.createElement($u.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})}))),b.createElement(Re.default,{style:{margin:"0 15px"},size:"large",placeholder:"\u8BF7\u8F93\u5165\u4F60\u7684\u9700\u6C42",value:ji,bordered:!1,onPressEnter:da=>{if(da.shiftKey){if(da.key==="Enter")return}else if(da.key==="Enter"){if(da.preventDefault(),(ji==null?void 0:ji.trim())==="")return;if(aa){he.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}if(na){he.ZP.error("\u5B9E\u8DF5\u9879\u76EE\u6784\u5EFA\u5931\u8D25\uFF0C\u8BF7\u5148\u91CD\u65B0\u6784\u5EFA");return}Ga(!1),Cr([...Yn,{question:ji,fileList:hi,answer:"",isLogin:!0}]),Mc(ji,hi)}},onChange:da=>{zo(da.target.value)}}),b.createElement(Oe.ZP,{style:{marginLeft:"auto"},className:(ji==null?void 0:ji.trim())===""?je.sendBtnDisabled:je.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 font14 c-white"}),disabled:(ji==null?void 0:ji.trim())==="",onClick:()=>{if(aa){he.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}if(na){he.ZP.error("\u5B9E\u8DF5\u9879\u76EE\u6784\u5EFA\u5931\u8D25\uFF0C\u8BF7\u5148\u91CD\u65B0\u6784\u5EFA");return}Ga(!1),Cr([...Yn,{question:ji,fileList:hi,answer:"",isLogin:!0}]),Mc(ji,hi)}}))))):b.createElement("div",{className:je.show_button,onClick:()=>{Zo(!0)}},b.createElement("div",{className:je.show_button_icon})),b.createElement("div",{className:je.right},b.createElement("div",{className:je.right_header},b.createElement("div",{className:je.right_header_title},oi||"\u667A\u80FD\u5B9E\u8BAD"),b.createElement("div",{className:je.button_list},b.createElement("div",{className:je.button_left,onClick:()=>{Wc(!0)}},"\u4FDD\u5B58\u5E76\u9884\u89C8"),b.createElement("div",{className:je.button_right,onClick:()=>{Wc(!1)}},"\u4FDD\u5B58"))),b.createElement("div",{style:{width:"100%",height:"1px",borderBottom:"1px solid #F1F1F1",marginTop:"30px"}}),b.createElement("div",{className:je.right_step},b.createElement("div",{className:je.step_item,onClick:()=>{!aa&&hr.current>=0&&(ca.current=0,ks())},style:{cursor:aa||hr.current<0?"no-drop":"pointer",backgroundColor:!aa&&ca.current==0?"rgba(48,97,208,0.1)":"#F6F7F9"}},hr.current>0?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):hr.current==0&&na?b.createElement("img",{src:Il,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:hr.current==0&&na?"#e53333":hr.current==0?"#3061D0":hr.current>0?"#000":"#DEDEDE",fontSize:14}},"\u57FA\u672C\u4FE1\u606F")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:hr.current>0?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.step_item,onClick:()=>{!aa&&hr.current>=1&&(ca.current=1,ks())},style:{cursor:aa||hr.current<1?"no-drop":"pointer",backgroundColor:!aa&&ca.current==1?"rgba(48,97,208,0.1)":"#F6F7F9"}},hr.current<1?b.createElement("div",{className:je.stepNum},"2"):hr.current>1?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):hr.current==1&&na?b.createElement("img",{src:Il,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:hr.current==1&&na?"#e53333":hr.current==1?"#3061D0":hr.current>1?"#000":"#DEDEDE",fontSize:14}},"\u5B66\u4E60\u5185\u5BB9")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:hr.current>1?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.step_item,onClick:()=>{!aa&&hr.current>=2&&(ca.current=2,ks())},style:{cursor:aa||hr.current<2?"no-drop":"pointer",backgroundColor:!aa&&ca.current==2?"rgba(48,97,208,0.1)":"#F6F7F9"}},hr.current<2?b.createElement("div",{className:je.stepNum},"3"):hr.current>2?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):hr.current==2&&na?b.createElement("img",{src:Il,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:hr.current==2&&na?"#e53333":hr.current==2?"#3061D0":hr.current>2?"#000":"#DEDEDE",fontSize:14}},"\u6846\u67B6\u4EE3\u7801")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:hr.current>2?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.step_item,onClick:()=>{!aa&&hr.current>=3&&(ca.current=3,ks())},style:{cursor:aa||hr.current<3?"no-drop":"pointer",backgroundColor:!aa&&ca.current==3?"rgba(48,97,208,0.1)":"#F6F7F9"}},hr.current<3?b.createElement("div",{className:je.stepNum},"4"):hr.current>3?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):hr.current==3&&na?b.createElement("img",{src:Il,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:hr.current==3&&na?"#e53333":hr.current==3?"#3061D0":hr.current>3?"#000":"#DEDEDE",fontSize:14}},"\u53C2\u8003\u7B54\u6848")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:hr.current>3?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.step_item,onClick:()=>{!aa&&hr.current>=4&&(ca.current=4,ks())},style:{cursor:aa||hr.current<4?"no-drop":"pointer",backgroundColor:!aa&&ca.current==4?"rgba(48,97,208,0.1)":"#F6F7F9"}},hr.current<4?b.createElement("div",{className:je.stepNum},"5"):hr.current>4?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):hr.current==4&&na?b.createElement("img",{src:Il,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:hr.current==4&&na?"#e53333":hr.current==4?"#3061D0":hr.current>4?"#000":"#DEDEDE",fontSize:14}},"\u6D4B\u8BD5\u7528\u4F8B")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:hr.current>4?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:je.step_item,onClick:()=>{!aa&&hr.current>=5&&(ca.current=5,ks())},style:{cursor:aa||hr.current<5?"no-drop":"pointer",backgroundColor:!aa&&ca.current==5?"rgba(48,97,208,0.1)":"#F6F7F9"}},hr.current<5?b.createElement("div",{className:je.stepNum},"6"):hr.current>5?b.createElement("img",{src:_o,style:{width:"16px",height:"16px",marginRight:"6px"}}):hr.current==5&&na?b.createElement("img",{src:Il,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(us.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:hr.current==5&&na?"#e53333":hr.current==5?"#3061D0":hr.current>5?"#000":"#DEDEDE",fontSize:14}},"\u8BC4\u6D4B\u811A\u672C"))),((Le=[2,3,4])==null?void 0:Le.includes(ca.current))&&b.createElement("div",{className:je.stream_header},b.createElement("div",{className:je.stream_header_title},ca.current==2?"\u6846\u67B6\u4EE3\u7801":ca.current==3?"\u53C2\u8003\u7B54\u6848":"\u6D4B\u8BD5\u7528\u4F8B"),b.createElement("div",{style:{marginLeft:"auto"}}),((qe=[3,4])==null?void 0:qe.includes(ca.current))&&b.createElement(b.Fragment,null,b.createElement(Oc,{key:Si.current,current:ca.current,valueHtml:ca.current==2?Br==null?void 0:Br.code_text:ca.current==3?Br==null?void 0:Br.answer_text:Br==null?void 0:Br.test_set_text,onSuccess:da=>Vn(void 0,null,function*(){yield rc(da,xa,Hn==null?void 0:Hn[ca.current],oo),ks()}),onCancel:ks}),b.createElement(Di,{current:ca.current,shixun_generation_id:xa,valueHtml:ca.current==2?Br==null?void 0:Br.code_text:ca.current==3?Br==null?void 0:Br.answer_text:Br==null?void 0:Br.test_set_text,onSuccess:da=>Vn(void 0,null,function*(){yield rc(da,xa,Hn==null?void 0:Hn[ca.current],oo),ks()})}))),ca.current==5&&b.createElement("div",{className:je.stream_header},b.createElement("div",{className:je.stream_header_title},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:je.stream_tootip},b.createElement("i",{className:"iconfont icon-tishi7"}),b.createElement("div",{className:je.tootip_text},"\u8BC4\u6D4B\u811A\u672C\u7531\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210\uFF0C\u4E00\u822C\u60C5\u51B5\u4E0B\u65E0\u9700\u66F4\u6539"))),b.createElement(lu,{style:{width:"calc(100vw - 620px)",display:Zc?"none":"block",background:"#fff",height:(st=[2,3,4,5])!=null&&st.includes(ca.current)?"calc(100vh - 315px)":"calc(100vh - 265px)"},value:ca.current==0?Br==null?void 0:Br.info_text:ca.current==1?Br==null?void 0:Br.challege_text:ca.current==2?Br==null?void 0:Br.code_text:ca.current==3?Br==null?void 0:Br.answer_text:ca.current==4?Br==null?void 0:Br.test_set_text:Br==null?void 0:Br.shixun_script,current:ca.current,shixun_generation_id:xa,onStatusChange:ln,showEditableToolbar:!za&&[0,1].includes(ca.current),showToolbar:[0,1].includes(ca.current),onSuccess:da=>Vn(void 0,null,function*(){console.log(da,"\u4EE3\u7801"),yield Lc(Zi==null?void 0:Zi.inputValue,Zi==null?void 0:Zi.fileList,Zi==null?void 0:Zi.environment,da,Hn==null?void 0:Hn[ca.current],"next")}),loadingText:"\u751F\u6210\u4E2D",onChange:da=>Vn(void 0,null,function*(){no(da)}),fetchUrl:"/api/stream/ai/shixuns/create_stream.json",showEmptyData:!0,onError:da=>{console.log("e",da),ka(!0),ba(!1),Yn[Yn.length-1].answer="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA",Yn[Yn.length-1].isLogin=!1,Cr([...Yn])}}),Zc&&b.createElement(ye,{value:ds,style:{height:"calc(100vh - 315px)"},shixun_generation_id:xa,menuValue:oo,upcont:rc}))),Za("\u5904\u7406\u4E2D"))}},93459:function(Ce,ae,y){"use strict";var b=y(59301),he=Object.defineProperty,le=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,fe=(Fe,xt,nt)=>xt in Fe?he(Fe,xt,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Fe[xt]=nt,we=(Fe,xt)=>{for(var nt in xt||(xt={}))pe.call(xt,nt)&&fe(Fe,nt,xt[nt]);if(le)for(var nt of le(xt))be.call(xt,nt)&&fe(Fe,nt,xt[nt]);return Fe},Oe=(Fe,xt)=>{var nt={};for(var et in Fe)pe.call(Fe,et)&&xt.indexOf(et)<0&&(nt[et]=Fe[et]);if(Fe!=null&&le)for(var et of le(Fe))xt.indexOf(et)<0&&be.call(Fe,et)&&(nt[et]=Fe[et]);return nt};const Re=y(2331),xe={};Re.keys().forEach(Fe=>{const xt=Fe.replace("./","").replace(".svg","");xe[xt]=Re(Fe)});const je=Fe=>{var xt=Fe,{filename:nt}=xt,et=Oe(xt,["filename"]),Je;const Ge=((Je=nt==null?void 0:nt.split(".").pop())==null?void 0:Je.toLowerCase())||"unknown",We=xe[Ge]||xe.default;return b.createElement("img",we({src:We,alt:Ge},et))};ae.Z=je},20047:function(Ce,ae,y){"use strict";y.d(ae,{AL:function(){return He},Iy:function(){return je},Qv:function(){return nt},ez:function(){return Qe},jb:function(){return Fe}});var b=y(32834),he=y.n(b),le=y(11690),pe=y.n(le);let be=1;function fe(rt,It){const mt=rt.match(/^(\s+)(?:```)/);if(mt===null)return It;const ut=mt[1];return It.split(` -`).map(Tt=>{const _t=Tt.match(/^\s+/);if(_t===null)return Tt;const[Ke]=_t;return Ke.length>=ut.length?Tt.slice(ut.length):Tt}).join(` -`)}let we=[],Oe=["

      "];const Re=new(he()).Renderer,xe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function je(){we.length=0,Oe=["
        "]}const Fe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function xt(rt,It,mt,ut){if(It>=rt.length||rt[It].level<=mt)return It;var Tt=rt[It];ut.push("
      • "+Tt.text+""),It++;var _t=[];return It=xt(rt,It,Tt.level,_t),_t.length>0&&(ut.push("
          "),_t.forEach(function(Ke){ut.push(Ke)}),ut.push("
        ")),ut.push("
      • "),It=xt(rt,It,mt,ut),It}function nt(){return xt(we,0,0,Oe),Oe.push("
      "),Oe.join("")}const et={heading(rt){const It=xe.exec(rt);if(be+=1,It)return{type:"heading",raw:It[0],depth:It[1].length,text:It[2]}},fences(rt){const It=this.rules.block.fences.exec(rt);if(It){const mt=It[0];let ut=fe(mt,It[3]||"");const Tt=It[2]?It[2].trim():It[2];if(["latex","katex","math"].indexOf(Tt)>=0){const _t=We(),Ke=ut;ut=_t,Ve[_t]={type:"block",expression:Ke}}return{type:"code",raw:mt,lang:Tt,text:ut}}}},Je=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Ge=0;const We=()=>`__special_katext_id_${Ge++}__`;let Ve={};function Qe(){return Ve}function He(){Ge=0,Ve={}}function _e(rt){return rt=rt.replace(Je,(It,mt)=>{const ut=We();return Ve[ut]={type:"inline",expression:mt},ut}),rt}const Ze=Re.listitem;Re.listitem=function(rt){return Ze(_e(rt))};const tt=Re.paragraph;Re.paragraph=function(rt){return tt(_e(rt))};const gt=Re.tablecell;Re.tablecell=function(rt,It){return gt(_e(rt),It)},Re.code=function(rt,It,mt){const ut=(It||"").match(/\S*/)[0];return ut?["latex","katex","math"].indexOf(ut)>=0?`

      ${rt}

      `:`
      ${mt?rt:(0,le.escape)(rt,!0)}
      -`:'
      '+(mt?rt:(0,le.escape)(rt,!0))+"
      "},Re.heading=function(rt,It,mt){let ut=this.options.headerPrefix+mt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return we.push({anchor:ut,level:It,text:rt}),"'+rt+""},he().setOptions({silent:!0,gfm:!0,pedantic:!1}),he().use({tokenizer:et,renderer:Re}),ae.ZP=he()},86013:function(Ce,ae,y){"use strict";var b=y(59301),he=y(19248);const le=pe=>{let be;return typeof pe=="object"&&(pe!=null&&pe.clearIcon)?be=pe:pe&&(be={clearIcon:b.createElement(he.Z,null)}),be};ae.Z=le},36170:function(Ce,ae,y){"use strict";y.d(ae,{C2:function(){return fe}});var b=y(36237),he=y(63356),le=y(51636),pe=y(16931);const be=we=>{const{checkboxCls:Oe}=we,Re=`${Oe}-wrapper`;return[{[`${Oe}-group`]:Object.assign(Object.assign({},(0,he.Wf)(we)),{display:"inline-flex",flexWrap:"wrap",columnGap:we.marginXS,[`> ${we.antCls}-row`]:{flex:1}}),[Re]:Object.assign(Object.assign({},(0,he.Wf)(we)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Re}`]:{marginInlineStart:0},[`&${Re}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Oe]:Object.assign(Object.assign({},(0,he.Wf)(we)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:we.borderRadiusSM,alignSelf:"center",[`${Oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Oe}-inner`]:Object.assign({},(0,he.oN)(we))},[`${Oe}-inner`]:{boxSizing:"border-box",display:"block",width:we.checkboxSize,height:we.checkboxSize,direction:"ltr",backgroundColor:we.colorBgContainer,border:`${(0,b.unit)(we.lineWidth)} ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusSM,borderCollapse:"separate",transition:`all ${we.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:we.calc(we.checkboxSize).div(14).mul(5).equal(),height:we.calc(we.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(we.lineWidthBold)} solid ${we.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${we.motionDurationFast} ${we.motionEaseInBack}, opacity ${we.motionDurationFast}`}},"& + span":{paddingInlineStart:we.paddingXS,paddingInlineEnd:we.paddingXS}})},{[` +`+qr}),Ee(Tr,te,"code",ue)},500))},ir=Me.find(Xn=>Xn.key===zt)||{};return b.createElement("div",{className:Al.wrap,style:z},b.createElement("div",{className:Al.edit},b.createElement(Di,{current:2,shixun_generation_id:te,valueHtml:ir==null?void 0:ir.content,onSuccess:Xn=>re(void 0,null,function*(){Hn(Xn)})})),b.createElement("div",{className:Al.tree},zt&&b.createElement(ne,{treeData:lt,defaultExpandAll:!0,selectedKeys:zt&&[zt],onSelect:Fn})),b.createElement("div",{className:Al.code},zt&&b.createElement(ro.ZP,{key:zt,theme:"vs-light",language:ir==null?void 0:ir.language,value:(ir==null?void 0:ir.content)||"",onChange:Hn})))},Be=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,dn=(oe,z,te)=>z in oe?Be(oe,z,{enumerable:!0,configurable:!0,writable:!0,value:te}):oe[z]=te,yn=(oe,z)=>{for(var te in z||(z={}))ot.call(z,te)&&dn(oe,te,z[te]);if(Ke)for(var te of Ke(z))xt.call(z,te)&&dn(oe,te,z[te]);return oe},Wn=(oe,z,te)=>new Promise((ue,Ee)=>{var Me=ht=>{try{lt(te.next(ht))}catch(zt){Ee(zt)}},Xe=ht=>{try{lt(te.throw(ht))}catch(zt){Ee(zt)}},lt=ht=>ht.done?ue(ht.value):Promise.resolve(ht.value).then(Me,Xe);lt((te=te.apply(oe,z)).next())});const Un={0:"info",1:"challege",2:"code",3:"answer",4:"test_set",5:"test"};var Fr=({visible:oe,questionnumber:z,onCancel:te})=>{var ue,Ee,Me,Xe,lt;const ht=(0,xe.useDispatch)(),[zt,sn]=(0,b.useState)(Hu),[An,Fn]=(0,b.useState)(0),[Hn,ir]=(0,b.useState)(3),[Xn,Cr]=(0,b.useState)([]),[Tr]=(0,xe.useSearchParams)(),[kr,jr]=(0,b.useState)({}),[qr,Sa]=(0,b.useState)(!1),[na,Oa]=(0,b.useState)(!1),[Fa,Ga]=(0,b.useState)(!1),{openProgress:ka,closeProgress:ni,CreateProgressModal:Ya,progressOpen:Wa}=Yu(),mr=(0,b.useRef)(0),sa=(0,b.useRef)(0),Ci=(0,b.useRef)(""),[Gi,Fo]=(0,b.useState)(""),[oo,po]=(0,b.useState)("Python3.6"),[vi,es]=(0,b.useState)([]),[Li,Zo]=(0,b.useState)({inputValue:"",environment:"",fileList:[]}),[xa,Ta]=(0,b.useState)(""),[si,Mi]=(0,b.useState)(""),[Si,ho]=(0,b.useState)(""),[ts,_o]=(0,b.useState)(!0),[$o,Io]=(0,b.useState)(!1),[ds,Ko]=(0,b.useState)(""),Qs={maxCount:10,showUploadList:!1,fileList:vi,multiple:!1,data:{upload_type:1},accept:".doc,.docx,.pdf,.md,.txt,.xls,.xlsx",beforeUpload:ua=>Wn(void 0,null,function*(){var di,Yi,Pi,bo;const ul=(bo=(Pi=(Yi=(di=ua==null?void 0:ua.name)==null?void 0:di.split("."))==null?void 0:Yi.slice(-1))==null?void 0:Pi[0])==null?void 0:bo.toLowerCase(),Qi=["doc","docx","pdf","md","txt","xls","xlsx"].includes(ul);return ua.size==0?(me.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),le.default.LIST_IGNORE):Qi?ua.size/1024/1024>100?(me.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),le.default.LIST_IGNORE):!0:(me.ZP.warning("\u76EE\u524D\u652F\u6301doc\u3001docx\u3001pdf\u3001md\u3001txt\u3001xls\u3001xlsx\u6587\u4EF6"),le.default.LIST_IGNORE)}),onChange:({fileList:ua})=>{es(ua)},action:Fe.Z.API_SERVER+"/api/attachments.json"},Il=[{key:"Python3.6",label:"Python3.6"},{key:"C/C++",label:"C/C++"},{key:"Java",label:"Java"},{key:"MySQL",label:"MySQL"}],{contentRef:pu,value:ku,status:Bc,examName:$c,open:hu,close:Fc}=zt,oc=Vu({contentRef:pu,status:Bc});function fs(){return Wn(this,null,function*(){var ua;let di=yield(0,ql.ZP)("/api/ai/shixuns/get_shixun_generation.json",{method:"get",params:{shixun_generation_id:xa}});(di==null?void 0:di.status)===0&&(jr(di==null?void 0:di.data),Ko((ua=di==null?void 0:di.data)==null?void 0:ua.code_text),Ci.current=new Date)})}function Du(ua,di,Yi,Pi,bo,ul){return Wn(this,null,function*(){var Rl;Ga(!0);let Qi=yield(0,ql.ZP)("/api/ai/shixuns/save_shixun_generation.json",{method:"post",body:{text:Pi,shixun_generation_id:xa,type:bo,environment:Yi}});if((Qi==null?void 0:Qi.status)==0){Oa(!1),Ta(Qi==null?void 0:Qi.shixun_generation_id),Qi!=null&&Qi.name&&Mi(Qi==null?void 0:Qi.name);const cl={type:ul=="next"?Un==null?void 0:Un[mr.current+1]:Un==null?void 0:Un[mr.current],shixun_generation_id:Qi==null?void 0:Qi.shixun_generation_id,content:ua,shixun_id:Tr.get("shixun_id"),attachment_ids:di==null?void 0:di.map(qs=>{var sc;return(sc=qs==null?void 0:qs.response)==null?void 0:sc.id})};qr||Sa(!0),ul=="next"&&(sa.current===2&&(Io(!0),Ko(Pi),yield new Promise(qs=>setTimeout(qs,1e3))),(Rl=[4,5])!=null&&Rl.includes(mr.current)?(fs(),qr&&Sa(!1),mr.current=6,sa.current=0,Xn[Xn.length-1].answer="\u6210\u529F\u751F\u6210\uFF0C\u7EE7\u7EED\u5BF9\u8BDD\u6765\u4F18\u5316\u4F60\u7684\u5B9E\u8DF5\u9879\u76EE\u5427",Xn[Xn.length-1].isLogin=!1,Cr([...Xn])):(mr.current=mr.current+1,sa.current=sa.current+1,yield hu(cl))),bo=="create"&&(yield hu(cl))}else Oa(!0),Sa(!1),Xn[Xn.length-1].answer="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA",Xn[Xn.length-1].isLogin=!1,Cr([...Xn])})}(0,b.useEffect)(()=>{var ua;const di=localStorage.getItem("myChatShixun");if(di&&((ua=zt==null?void 0:zt.open)==null?void 0:ua.length)==1){const{inputValue:Yi,fileList:Pi,environment:bo}=JSON.parse(di);po(bo),Zo({inputValue:Yi,environment:bo,fileList:Pi}),Cr([{question:Yi,fileList:Pi,answer:"",isLogin:!0}]),Ko(""),Io(!1),Du(Yi==null?void 0:Yi.trim(),Pi,bo,"","create","")}},[(ue=zt==null?void 0:zt.open)==null?void 0:ue.length]),(0,b.useEffect)(()=>{if(Si){const ua=oc();Nl(ua,xa,Un==null?void 0:Un[sa.current],oo)}},[Si]);function Nl(ua,di,Yi,Pi){return Wn(this,null,function*(){let bo=yield(0,ql.ZP)("/api/ai/shixuns/save_shixun_generation.json",{method:"post",body:{text:ua,shixun_generation_id:di,type:Yi,environment:Pi}});(bo==null?void 0:bo.status)==0&&me.ZP.success("\u64CD\u4F5C\u6210\u529F")})}(0,b.useEffect)(()=>(ht({type:"globalSetting/headerFooterToggle",payload:!1}),()=>{ht({type:"globalSetting/headerFooterToggle",payload:!0})}),[]);const au=ua=>Wn(void 0,null,function*(){if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}ka();const di=yield(0,ql.ZP)("/api/ai/shixuns/save.json",{method:"post",body:{shixun_generation_id:xa,shixun_id:Tr.get("shixun_id"),name:si}});(di==null?void 0:di.status)==0&&(ni(100),me.ZP.success("\u4FDD\u5B58\u6210\u529F"),ua?ht({type:"shixunsDetail/execShixun",payload:{id:di==null?void 0:di.shixun_identifier,jump_challenge_setting:!0}}).then(Yi=>{Yi!=null&&Yi.game_identifier&&(window.location.href=`/tasks/${Yi.game_identifier}`)}):window.location.href=`/shixuns/${di==null?void 0:di.shixun_identifier}/challenges`),(di==null?void 0:di.status)==-66&&pe.default.confirm({centered:!0,icon:null,okText:"\u53BB\u4FEE\u6539",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:b.createElement("div",null,b.createElement("div",null,"\u4FDD\u5B58\u5931\u8D25"),b.createElement("div",{style:{color:"#FA6400"}},di==null?void 0:di.message)),onOk:()=>{var Yi,Pi,bo,ul,Rl;(Yi=di==null?void 0:di.message)!=null&&Yi.includes("\u57FA\u672C\u4FE1\u606F")?sa.current=0:(Pi=di==null?void 0:di.message)!=null&&Pi.includes("\u5B66\u4E60\u5185\u5BB9")?sa.current=1:(bo=di==null?void 0:di.message)!=null&&bo.includes("\u6846\u67B6\u4EE3\u7801")?sa.current=2:(ul=di==null?void 0:di.message)!=null&&ul.includes("\u53C2\u8003\u7B54\u6848")?sa.current=3:(Rl=di==null?void 0:di.message)!=null&&Rl.includes("\u6D4B\u8BD5\u7528\u4F8B")&&(sa.current=4),fs()}}),ni()}),_c=(ua,di)=>Wn(void 0,null,function*(){var Yi,Pi,bo,ul,Rl;Sa(!0),es([]),Fo("");const Qi=yield(0,ql.ZP)("/api/stream/ai/shixuns/create_stream.json",{method:"post",body:{type:"purpose_identification",shixun_generation_id:xa,content:ua==null?void 0:ua.trim(),shixun_id:Tr.get("shixun_id"),attachment_ids:di==null?void 0:di.map(cl=>{var qs;return(qs=cl==null?void 0:cl.response)==null?void 0:qs.id})}});((Yi=Qi==null?void 0:Qi.data)==null?void 0:Yi.msg)=="\u57FA\u672C\u4FE1\u606F\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=0:((Pi=Qi==null?void 0:Qi.data)==null?void 0:Pi.msg)=="\u5B66\u4E60\u5185\u5BB9\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=1:((bo=Qi==null?void 0:Qi.data)==null?void 0:bo.msg)=="\u6846\u67B6\u4EE3\u7801\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=2:((ul=Qi==null?void 0:Qi.data)==null?void 0:ul.msg)=="\u53C2\u8003\u7B54\u6848\u5DF2\u5B8C\u6210\u4FEE\u6539"?sa.current=3:((Rl=Qi==null?void 0:Qi.data)==null?void 0:Rl.msg)=="\u6D4B\u8BD5\u7528\u4F8B\u5DF2\u5B8C\u6210\u4FEE\u6539"&&(sa.current=4),fs(),Cr(cl=>cl.map((qs,sc)=>{var Xc;return sc==(cl==null?void 0:cl.length)-1&&(qs.answer=((Xc=Qi==null?void 0:Qi.data)==null?void 0:Xc.msg)||"\u751F\u6210\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u751F\u6210",qs.isLogin=!1),qs})),Sa(!1)}),Kc=(0,b.useRef)(null);(0,b.useEffect)(()=>{const ua=Kc.current;ua&&(ua.scrollTop=ua.scrollHeight)},[Xn]);const Yc=$o&&sa.current===2;return b.createElement(b.Fragment,null,b.createElement("div",{className:Ge.wrap},ts?b.createElement("div",{className:Ge.left},b.createElement("div",{className:Ge.leftheader},b.createElement("div",{style:{cursor:"pointer"},onClick:()=>{xe.history.push("/shixuns/new?tabs=4")}},b.createElement("i",{className:"iconfont icon-fanhui1 font14 mr5"}),"\u8FD4\u56DE"),b.createElement("div",{className:Ge.close_ai,style:{marginLeft:"auto",cursor:"pointer"},onClick:()=>{_o(!1)}})),b.createElement("div",{className:Ge.leftcontent,ref:Kc},Xn==null?void 0:Xn.map((ua,di)=>{var Yi;return b.createElement("div",{key:di},b.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"end",marginTop:"30px"}},b.createElement("div",{className:Ge.leftcontentright},ua==null?void 0:ua.question),b.createElement("img",{src:Su,width:40,height:40,style:{marginLeft:10}})),b.createElement("div",{className:Ge.button_list,style:{textAlign:"right",paddingRight:"40px"}},b.createElement(it.CopyToClipboard,{text:String((ua==null?void 0:ua.question)||""),onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("i",{className:"iconfont icon-fuzhi font14"})))),b.createElement("div",{className:Ge.liaotian_files},(Yi=ua==null?void 0:ua.fileList)==null?void 0:Yi.map((Pi,bo)=>b.createElement("div",{key:bo,className:Ge.liaotian_file},b.createElement(fe.Z,{size:"small",spinning:(Pi==null?void 0:Pi.status)==="uploading"},b.createElement(Zu.Z,{filename:Pi==null?void 0:Pi.name,className:"block",width:14})),b.createElement("aside",null,b.createElement(be.Z,{title:(Pi==null?void 0:Pi.name)+" "+(0,At.RD)(Pi==null?void 0:Pi.size)},b.createElement("div",{className:Ge.fileName},Pi==null?void 0:Pi.name)))))),b.createElement("div",{style:{display:"flex",width:"100%",justifyContent:"start",marginTop:30}},b.createElement("img",{src:Bl,width:40,height:40,style:{marginRight:10}}),b.createElement("div",{className:Ge.leftcontentleft},b.createElement("div",{className:Ge.letitle},ua!=null&&ua.isLogin?b.createElement("div",{className:Ge.loadingPic},Fa?"\u5DF2\u63A5\u6536\u5230\u4F60\u7684\u9700\u6C42\uFF0C\u6211\u5C06\u7ACB\u5373\u5F00\u59CB\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE":"\u6B63\u5728\u5904\u7406\u4E2D",b.createElement("span",{className:Ge.dots})):ua==null?void 0:ua.answer),b.createElement("div",{className:Ge.button_list},b.createElement(it.CopyToClipboard,{text:String((ua==null?void 0:ua.answer)||""),onCopy:()=>me.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},b.createElement(be.Z,{title:"\u590D\u5236"},b.createElement("i",{className:"iconfont icon-fuzhi font14"}))),b.createElement(be.Z,{title:"\u91CD\u65B0\u751F\u6210"},b.createElement("i",{className:"iconfont icon-genghuan font12",onClick:()=>{var Pi;if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}(ua==null?void 0:ua.answer)=="\u6210\u529F\u751F\u6210\uFF0C\u7EE7\u7EED\u5BF9\u8BDD\u6765\u4F18\u5316\u4F60\u7684\u5B9E\u8DF5\u9879\u76EE\u5427"||(ua==null?void 0:ua.answer)=="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA"||na?(Oa(!1),jr({}),mr.current=0,sa.current=0,Cr([{question:ua==null?void 0:ua.question,fileList:ua==null?void 0:ua.fileList,answer:"",isLogin:!0}]),Ko(""),Io(!1),Du((Pi=Li==null?void 0:Li.inputValue)==null?void 0:Pi.trim(),Li==null?void 0:Li.fileList,Li==null?void 0:Li.environment,"","create","")):(Ga(!1),Cr([...Xn,{question:ua==null?void 0:ua.question,fileList:ua==null?void 0:ua.fileList,answer:"",isLogin:!0}]),_c(ua==null?void 0:ua.question,ua==null?void 0:ua.fileList))}}))))),(ua==null?void 0:ua.isLogin)&&Fa&&b.createElement("div",{className:Ge.left_step},b.createElement("div",{className:Ge.left_step_item},mr.current>0?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=0?"#3061D0":"#DEDEDE"}},"\u57FA\u672C\u4FE1\u606F"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=0?"#5F6A95":"#DEDEDE"}},mr.current>0?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u60A8\u7684\u9700\u6C42\u751F\u6210\u57FA\u672C\u4FE1\u606F")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>0?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<1?b.createElement("div",{className:Ge.stepNum},"2"):mr.current>1?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=1?"#3061D0":"#DEDEDE"}},"\u5B66\u4E60\u5185\u5BB9"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=1?"#5F6A95":"#DEDEDE"}},mr.current<1?"\u7B49\u5F85\u4E2D":mr.current>1?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u57FA\u672C\u4FE1\u606F\u751F\u6210\u5B66\u4E60\u5185\u5BB9")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>1?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<2?b.createElement("div",{className:Ge.stepNum},"3"):mr.current>2?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=2?"#3061D0":"#DEDEDE"}},"\u6846\u67B6\u4EE3\u7801"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=2?"#5F6A95":"#DEDEDE"}},mr.current<2?"\u7B49\u5F85\u4E2D":mr.current>2?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u5B66\u4E60\u5185\u5BB9\u751F\u6210\u6846\u67B6\u4EE3\u7801")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>2?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<3?b.createElement("div",{className:Ge.stepNum},"4"):mr.current>3?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=3?"#3061D0":"#DEDEDE"}},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=3?"#5F6A95":"#DEDEDE"}},mr.current<3?"\u7B49\u5F85\u4E2D":mr.current>3?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u5B66\u4E60\u5185\u5BB9\u548C\u6846\u67B6\u4EE3\u7801\u751F\u6210\u53C2\u8003\u7B54\u6848")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>3?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<4?b.createElement("div",{className:Ge.stepNum},"5"):mr.current>4?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=4?"#3061D0":"#DEDEDE"}},"\u6D4B\u8BD5\u7528\u4F8B"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=4?"#5F6A95":"#DEDEDE"}},mr.current<4?"\u7B49\u5F85\u4E2D":mr.current>4?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u6846\u67B6\u4EE3\u7801\u548C\u53C2\u8003\u7B54\u6848\u751F\u6210\u6D4B\u8BD5\u7528\u4F8B")),b.createElement("div",{style:{height:"20px",margin:"3px 0",borderLeft:"1px solid",marginLeft:"8px",borderColor:mr.current>4?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.left_step_item},mr.current<5?b.createElement("div",{className:Ge.stepNum},"6"):mr.current>5?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{marginRight:"6px"}}),b.createElement("div",{className:Ge.item_title,style:{color:mr.current>=5?"#3061D0":"#DEDEDE"}},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:Ge.item_status,style:{color:mr.current>=5?"#5F6A95":"#DEDEDE"}},mr.current<5?"\u7B49\u5F85\u4E2D":mr.current>5?"\u5DF2\u5B8C\u6210":"\u6B63\u5728\u6839\u636E\u6846\u67B6\u4EE3\u7801\u548C\u6D4B\u8BD5\u7528\u4F8B\u751F\u6210\u8BC4\u6D4B\u811A\u672C"))))})),b.createElement("div",{className:Ge.practice},!!vi.length&&b.createElement("div",{className:Ge.files},An>0&&(vi==null?void 0:vi.length)>3&&b.createElement("div",{className:Ge.left_data,onClick:()=>{Fn(An-1),ir(Hn-1)}},b.createElement("i",{className:"iconfont icon-xiangzuo"})),Hn<(vi==null?void 0:vi.length)&&(vi==null?void 0:vi.length)>3&&b.createElement("div",{className:Ge.right_data,onClick:()=>{Fn(An+1),ir(Hn+1)}},b.createElement("i",{className:"iconfont icon-xiangyou"})),(Ee=(vi==null?void 0:vi.length)>3?vi==null?void 0:vi.slice(An,Hn):vi)==null?void 0:Ee.map((ua,di)=>b.createElement("div",{key:di,className:Ge.file},b.createElement(fe.Z,{size:"small",spinning:(ua==null?void 0:ua.status)==="uploading"},b.createElement(Zu.Z,{filename:ua==null?void 0:ua.name,className:"block",width:30})),b.createElement("aside",null,b.createElement(be.Z,{title:ua==null?void 0:ua.name},b.createElement("div",{className:Ge.fileName},ua==null?void 0:ua.name)),b.createElement("div",{style:{textAlign:"start"},className:"c-grey-999 font12"},(0,At.RD)(ua==null?void 0:ua.size))),b.createElement(be.Z,{title:"\u5220\u9664\u6587\u4EF6"},b.createElement("i",{onClick:()=>{es(Yi=>Yi.filter(Pi=>Pi.uid!==ua.uid))},className:`iconfont icon-danceng-guanbijichushezhidanceng ${Ge.fileDel}`}))))),b.createElement("div",{className:Ge.inputTop},b.createElement("div",{className:Ge.dropdown},b.createElement(we.Z,{disabled:!0,menu:{items:Il,onClick:ua=>{po(ua.key)}}},b.createElement("div",{style:{cursor:"no-drop",display:"flex",alignItems:"center",color:"rgba(20, 93, 255, 0.4)",height:"34px",padding:"0 20px"}},b.createElement(be.Z,{title:"\u5B9E\u9A8C\u73AF\u5883"},b.createElement("img",{src:y(21373),style:{width:"16px",height:"16px",marginRight:"8px",opacity:.4}})),b.createElement(be.Z,{title:"\u667A\u80FD\u6784\u5EFA\u5B9E\u8DF5\u9879\u76EE\u6A21\u5F0F\uFF0C\u6682\u4E0D\u652F\u6301\u66F4\u6362\u73AF\u5883\u3002"},b.createElement("div",{style:{height:"34px",lineHeight:"32px",width:"150px",textAlign:"left"}},oo)),b.createElement(Ac.Z,null))))),b.createElement("div",{className:Ge.inputWrap,style:{borderBottom:"none"}},b.createElement("div",{className:Ge.action},b.createElement(le.default,yn({},Qs),b.createElement(be.Z,{title:(vi==null?void 0:vi.length)>=10?"\u6700\u591A\u53EA\u80FD\u4E0A\u4F2010\u4E2A\u9644\u4EF6":""},b.createElement(Oe.ZP,{style:{cursor:(vi==null?void 0:vi.length)>=10?"no-drop":"pointer"},disabled:(vi==null?void 0:vi.length)>=10,className:Ge.uploadBtn,icon:b.createElement(Xu.Z,{rev:"",style:{fontSize:18,color:"#FFF"}})}))),b.createElement(Re.default,{style:{margin:"0 15px"},size:"large",placeholder:"\u8BF7\u8F93\u5165\u4F60\u7684\u9700\u6C42",value:Gi,bordered:!1,onPressEnter:ua=>{if(ua.shiftKey){if(ua.key==="Enter")return}else if(ua.key==="Enter"){if(ua.preventDefault(),(Gi==null?void 0:Gi.trim())==="")return;if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}if(na){me.ZP.error("\u5B9E\u8DF5\u9879\u76EE\u6784\u5EFA\u5931\u8D25\uFF0C\u8BF7\u5148\u91CD\u65B0\u6784\u5EFA");return}Ga(!1),Cr([...Xn,{question:Gi,fileList:vi,answer:"",isLogin:!0}]),_c(Gi,vi)}},onChange:ua=>{Fo(ua.target.value)}}),b.createElement(Oe.ZP,{style:{marginLeft:"auto"},className:(Gi==null?void 0:Gi.trim())===""?Ge.sendBtnDisabled:Ge.sendBtn,icon:b.createElement("i",{className:"iconfont icon-fasong2 font14 c-white"}),disabled:(Gi==null?void 0:Gi.trim())==="",onClick:()=>{if(qr){me.ZP.warning("\u5B9E\u8DF5\u9879\u76EE\u6B63\u5728\u6784\u5EFA\u4E2D");return}if(na){me.ZP.error("\u5B9E\u8DF5\u9879\u76EE\u6784\u5EFA\u5931\u8D25\uFF0C\u8BF7\u5148\u91CD\u65B0\u6784\u5EFA");return}Ga(!1),Cr([...Xn,{question:Gi,fileList:vi,answer:"",isLogin:!0}]),_c(Gi,vi)}}))))):b.createElement("div",{className:Ge.show_button,onClick:()=>{_o(!0)}},b.createElement("div",{className:Ge.show_button_icon})),b.createElement("div",{className:Ge.right},b.createElement("div",{className:Ge.right_header},b.createElement("div",{className:Ge.right_header_title},si||"\u667A\u80FD\u5B9E\u8BAD"),b.createElement("div",{className:Ge.button_list},b.createElement("div",{className:Ge.button_left,onClick:()=>{au(!0)}},"\u4FDD\u5B58\u5E76\u9884\u89C8"),b.createElement("div",{className:Ge.button_right,onClick:()=>{au(!1)}},"\u4FDD\u5B58"))),b.createElement("div",{style:{width:"100%",height:"1px",borderBottom:"1px solid #F1F1F1",marginTop:"30px"}}),b.createElement("div",{className:Ge.right_step},b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=0&&(sa.current=0,fs())},style:{cursor:qr||mr.current<0?"no-drop":"pointer",backgroundColor:!qr&&sa.current==0?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current>0?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==0&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==0&&na?"#e53333":mr.current==0?"#3061D0":mr.current>0?"#000":"#DEDEDE",fontSize:14}},"\u57FA\u672C\u4FE1\u606F")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>0?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=1&&(sa.current=1,fs())},style:{cursor:qr||mr.current<1?"no-drop":"pointer",backgroundColor:!qr&&sa.current==1?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<1?b.createElement("div",{className:Ge.stepNum},"2"):mr.current>1?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==1&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==1&&na?"#e53333":mr.current==1?"#3061D0":mr.current>1?"#000":"#DEDEDE",fontSize:14}},"\u5B66\u4E60\u5185\u5BB9")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>1?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=2&&(sa.current=2,fs())},style:{cursor:qr||mr.current<2?"no-drop":"pointer",backgroundColor:!qr&&sa.current==2?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<2?b.createElement("div",{className:Ge.stepNum},"3"):mr.current>2?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==2&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==2&&na?"#e53333":mr.current==2?"#3061D0":mr.current>2?"#000":"#DEDEDE",fontSize:14}},"\u6846\u67B6\u4EE3\u7801")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>2?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=3&&(sa.current=3,fs())},style:{cursor:qr||mr.current<3?"no-drop":"pointer",backgroundColor:!qr&&sa.current==3?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<3?b.createElement("div",{className:Ge.stepNum},"4"):mr.current>3?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==3&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==3&&na?"#e53333":mr.current==3?"#3061D0":mr.current>3?"#000":"#DEDEDE",fontSize:14}},"\u53C2\u8003\u7B54\u6848")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>3?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=4&&(sa.current=4,fs())},style:{cursor:qr||mr.current<4?"no-drop":"pointer",backgroundColor:!qr&&sa.current==4?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<4?b.createElement("div",{className:Ge.stepNum},"5"):mr.current>4?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==4&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==4&&na?"#e53333":mr.current==4?"#3061D0":mr.current>4?"#000":"#DEDEDE",fontSize:14}},"\u6D4B\u8BD5\u7528\u4F8B")),b.createElement("div",{style:{width:"18px",margin:"0 4px",borderTop:"1px solid",borderColor:mr.current>4?"#3061D0":"#D8DAE2"}}),b.createElement("div",{className:Ge.step_item,onClick:()=>{!qr&&mr.current>=5&&(sa.current=5,fs())},style:{cursor:qr||mr.current<5?"no-drop":"pointer",backgroundColor:!qr&&sa.current==5?"rgba(48,97,208,0.1)":"#F6F7F9"}},mr.current<5?b.createElement("div",{className:Ge.stepNum},"6"):mr.current>5?b.createElement("img",{src:Po,style:{width:"16px",height:"16px",marginRight:"6px"}}):mr.current==5&&na?b.createElement("img",{src:Tl,style:{width:"16px",height:"16px",marginRight:"6px"}}):b.createElement(cs.Z,{spin:!0,style:{color:"#3061D0",marginRight:"6px"}}),b.createElement("div",{style:{color:mr.current==5&&na?"#e53333":mr.current==5?"#3061D0":mr.current>5?"#000":"#DEDEDE",fontSize:14}},"\u8BC4\u6D4B\u811A\u672C"))),((Me=[2,3,4])==null?void 0:Me.includes(sa.current))&&b.createElement("div",{className:Ge.stream_header},b.createElement("div",{className:Ge.stream_header_title},sa.current==2?"\u6846\u67B6\u4EE3\u7801":sa.current==3?"\u53C2\u8003\u7B54\u6848":"\u6D4B\u8BD5\u7528\u4F8B"),b.createElement("div",{style:{marginLeft:"auto"}}),((Xe=[3,4])==null?void 0:Xe.includes(sa.current))&&b.createElement(b.Fragment,null,b.createElement(Lc,{key:Ci.current,current:sa.current,valueHtml:sa.current==2?kr==null?void 0:kr.code_text:sa.current==3?kr==null?void 0:kr.answer_text:kr==null?void 0:kr.test_set_text,onSuccess:ua=>Wn(void 0,null,function*(){yield Nl(ua,xa,Un==null?void 0:Un[sa.current],oo),fs()}),onCancel:fs}),b.createElement(Di,{current:sa.current,shixun_generation_id:xa,valueHtml:sa.current==2?kr==null?void 0:kr.code_text:sa.current==3?kr==null?void 0:kr.answer_text:kr==null?void 0:kr.test_set_text,onSuccess:ua=>Wn(void 0,null,function*(){yield Nl(ua,xa,Un==null?void 0:Un[sa.current],oo),fs()})}))),sa.current==5&&b.createElement("div",{className:Ge.stream_header},b.createElement("div",{className:Ge.stream_header_title},"\u8BC4\u6D4B\u811A\u672C"),b.createElement("div",{className:Ge.stream_tootip},b.createElement("i",{className:"iconfont icon-tishi7"}),b.createElement("div",{className:Ge.tootip_text},"\u8BC4\u6D4B\u811A\u672C\u7531\u7CFB\u7EDF\u81EA\u52A8\u751F\u6210\uFF0C\u4E00\u822C\u60C5\u51B5\u4E0B\u65E0\u9700\u66F4\u6539"))),b.createElement(uu,{style:{width:"calc(100vw - 620px)",display:Yc?"none":"block",background:"#fff",height:(lt=[2,3,4,5])!=null&<.includes(sa.current)?"calc(100vh - 315px)":"calc(100vh - 265px)"},value:sa.current==0?kr==null?void 0:kr.info_text:sa.current==1?kr==null?void 0:kr.challege_text:sa.current==2?kr==null?void 0:kr.code_text:sa.current==3?kr==null?void 0:kr.answer_text:sa.current==4?kr==null?void 0:kr.test_set_text:kr==null?void 0:kr.shixun_script,current:sa.current,shixun_generation_id:xa,onStatusChange:sn,showEditableToolbar:!Wa&&[0,1].includes(sa.current),showToolbar:[0,1].includes(sa.current),onSuccess:ua=>Wn(void 0,null,function*(){console.log(ua,"\u4EE3\u7801"),yield Du(Li==null?void 0:Li.inputValue,Li==null?void 0:Li.fileList,Li==null?void 0:Li.environment,ua,Un==null?void 0:Un[sa.current],"next")}),loadingText:"\u751F\u6210\u4E2D",onChange:ua=>Wn(void 0,null,function*(){ho(ua)}),fetchUrl:"/api/stream/ai/shixuns/create_stream.json",showEmptyData:!0,onError:ua=>{console.log("e",ua),Oa(!0),Sa(!1),Xn[Xn.length-1].answer="\u6784\u5EFA\u5931\u8D25\uFF0C\u4F60\u53EF\u4EE5\u5C1D\u8BD5\u91CD\u65B0\u6784\u5EFA",Xn[Xn.length-1].isLogin=!1,Cr([...Xn])}}),Yc&&b.createElement(ye,{value:ds,style:{height:"calc(100vh - 315px)"},shixun_generation_id:xa,menuValue:oo,upcont:Nl}))),Ya("\u5904\u7406\u4E2D"))}},93459:function(Ce,ae,y){"use strict";var b=y(59301),me=Object.defineProperty,le=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,fe=(Fe,At,at)=>At in Fe?me(Fe,At,{enumerable:!0,configurable:!0,writable:!0,value:at}):Fe[At]=at,we=(Fe,At)=>{for(var at in At||(At={}))pe.call(At,at)&&fe(Fe,at,At[at]);if(le)for(var at of le(At))be.call(At,at)&&fe(Fe,at,At[at]);return Fe},Oe=(Fe,At)=>{var at={};for(var tt in Fe)pe.call(Fe,tt)&&At.indexOf(tt)<0&&(at[tt]=Fe[tt]);if(Fe!=null&&le)for(var tt of le(Fe))At.indexOf(tt)<0&&be.call(Fe,tt)&&(at[tt]=Fe[tt]);return at};const Re=y(2331),xe={};Re.keys().forEach(Fe=>{const At=Fe.replace("./","").replace(".svg","");xe[At]=Re(Fe)});const Ge=Fe=>{var At=Fe,{filename:at}=At,tt=Oe(At,["filename"]),Je;const We=((Je=at==null?void 0:at.split(".").pop())==null?void 0:Je.toLowerCase())||"unknown",Ve=xe[We]||xe.default;return b.createElement("img",we({src:Ve,alt:We},tt))};ae.Z=Ge},20047:function(Ce,ae,y){"use strict";y.d(ae,{AL:function(){return ze},Iy:function(){return Ge},Qv:function(){return at},ez:function(){return Qe},jb:function(){return Fe}});var b=y(32834),me=y.n(b),le=y(11690),pe=y.n(le);let be=1;function fe(it,Nt){const vt=it.match(/^(\s+)(?:```)/);if(vt===null)return Nt;const dt=vt[1];return Nt.split(` +`).map(It=>{const St=It.match(/^\s+/);if(St===null)return It;const[qe]=St;return qe.length>=dt.length?It.slice(dt.length):It}).join(` +`)}let we=[],Oe=["
        "];const Re=new(me()).Renderer,xe=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Ge(){we.length=0,Oe=["
          "]}const Fe={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function At(it,Nt,vt,dt){if(Nt>=it.length||it[Nt].level<=vt)return Nt;var It=it[Nt];dt.push("
        • "+It.text+""),Nt++;var St=[];return Nt=At(it,Nt,It.level,St),St.length>0&&(dt.push("
            "),St.forEach(function(qe){dt.push(qe)}),dt.push("
          ")),dt.push("
        • "),Nt=At(it,Nt,vt,dt),Nt}function at(){return At(we,0,0,Oe),Oe.push("
        "),Oe.join("")}const tt={heading(it){const Nt=xe.exec(it);if(be+=1,Nt)return{type:"heading",raw:Nt[0],depth:Nt[1].length,text:Nt[2]}},fences(it){const Nt=this.rules.block.fences.exec(it);if(Nt){const vt=Nt[0];let dt=fe(vt,Nt[3]||"");const It=Nt[2]?Nt[2].trim():Nt[2];if(["latex","katex","math"].indexOf(It)>=0){const St=Ve(),qe=dt;dt=St,Ze[St]={type:"block",expression:qe}}return{type:"code",raw:vt,lang:It,text:dt}}}},Je=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let We=0;const Ve=()=>`__special_katext_id_${We++}__`;let Ze={};function Qe(){return Ze}function ze(){We=0,Ze={}}function _e(it){return it=it.replace(Je,(Nt,vt)=>{const dt=Ve();return Ze[dt]={type:"inline",expression:vt},dt}),it}const $e=Re.listitem;Re.listitem=function(it){return $e(_e(it))};const nt=Re.paragraph;Re.paragraph=function(it){return nt(_e(it))};const bt=Re.tablecell;Re.tablecell=function(it,Nt){return bt(_e(it),Nt)},Re.code=function(it,Nt,vt){const dt=(Nt||"").match(/\S*/)[0];return dt?["latex","katex","math"].indexOf(dt)>=0?`

        ${it}

        `:`
        ${vt?it:(0,le.escape)(it,!0)}
        +`:'
        '+(vt?it:(0,le.escape)(it,!0))+"
        "},Re.heading=function(it,Nt,vt){let dt=this.options.headerPrefix+vt.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return we.push({anchor:dt,level:Nt,text:it}),"'+it+""},me().setOptions({silent:!0,gfm:!0,pedantic:!1}),me().use({tokenizer:tt,renderer:Re}),ae.ZP=me()},86013:function(Ce,ae,y){"use strict";var b=y(59301),me=y(19248);const le=pe=>{let be;return typeof pe=="object"&&(pe!=null&&pe.clearIcon)?be=pe:pe&&(be={clearIcon:b.createElement(me.Z,null)}),be};ae.Z=le},36170:function(Ce,ae,y){"use strict";y.d(ae,{C2:function(){return fe}});var b=y(36237),me=y(63356),le=y(51636),pe=y(16931);const be=we=>{const{checkboxCls:Oe}=we,Re=`${Oe}-wrapper`;return[{[`${Oe}-group`]:Object.assign(Object.assign({},(0,me.Wf)(we)),{display:"inline-flex",flexWrap:"wrap",columnGap:we.marginXS,[`> ${we.antCls}-row`]:{flex:1}}),[Re]:Object.assign(Object.assign({},(0,me.Wf)(we)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Re}`]:{marginInlineStart:0},[`&${Re}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[Oe]:Object.assign(Object.assign({},(0,me.Wf)(we)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:we.borderRadiusSM,alignSelf:"center",[`${Oe}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${Oe}-inner`]:Object.assign({},(0,me.oN)(we))},[`${Oe}-inner`]:{boxSizing:"border-box",display:"block",width:we.checkboxSize,height:we.checkboxSize,direction:"ltr",backgroundColor:we.colorBgContainer,border:`${(0,b.unit)(we.lineWidth)} ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadiusSM,borderCollapse:"separate",transition:`all ${we.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:we.calc(we.checkboxSize).div(14).mul(5).equal(),height:we.calc(we.checkboxSize).div(14).mul(8).equal(),border:`${(0,b.unit)(we.lineWidthBold)} solid ${we.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${we.motionDurationFast} ${we.motionEaseInBack}, opacity ${we.motionDurationFast}`}},"& + span":{paddingInlineStart:we.paddingXS,paddingInlineEnd:we.paddingXS}})},{[` ${Re}:not(${Re}-disabled), ${Oe}:not(${Oe}-disabled) `]:{[`&:hover ${Oe}-inner`]:{borderColor:we.colorPrimary}},[`${Re}:not(${Re}-disabled)`]:{[`&:hover ${Oe}-checked:not(${Oe}-disabled) ${Oe}-inner`]:{backgroundColor:we.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${Oe}-checked:not(${Oe}-disabled):after`]:{borderColor:we.colorPrimaryHover}}},{[`${Oe}-checked`]:{[`${Oe}-inner`]:{backgroundColor:we.colorPrimary,borderColor:we.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${we.motionDurationMid} ${we.motionEaseOutBack} ${we.motionDurationFast}`}}},[` ${Re}-checked:not(${Re}-disabled), ${Oe}-checked:not(${Oe}-disabled) - `]:{[`&:hover ${Oe}-inner`]:{backgroundColor:we.colorPrimaryHover,borderColor:"transparent"}}},{[Oe]:{"&-indeterminate":{[`${Oe}-inner`]:{backgroundColor:`${we.colorBgContainer} !important`,borderColor:`${we.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:we.calc(we.fontSizeLG).div(2).equal(),height:we.calc(we.fontSizeLG).div(2).equal(),backgroundColor:we.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Oe}-inner`]:{backgroundColor:`${we.colorBgContainer} !important`,borderColor:`${we.colorPrimary} !important`}}}},{[`${Re}-disabled`]:{cursor:"not-allowed"},[`${Oe}-disabled`]:{[`&, ${Oe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Oe}-inner`]:{background:we.colorBgContainerDisabled,borderColor:we.colorBorder,"&:after":{borderColor:we.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:we.colorTextDisabled},[`&${Oe}-indeterminate ${Oe}-inner::after`]:{background:we.colorTextDisabled}}}]};function fe(we,Oe){const Re=(0,le.mergeToken)(Oe,{checkboxCls:`.${we}`,checkboxSize:Oe.controlInteractiveSize});return[be(Re)]}ae.ZP=(0,pe.I$)("Checkbox",(we,Oe)=>{let{prefixCls:Re}=Oe;return[fe(Re,we)]})},38406:function(Ce,ae,y){"use strict";var b=y(59301),he=y(48755),le=y(584);const pe=be=>{const{componentName:fe}=be,{getPrefixCls:we}=(0,b.useContext)(he.E_),Oe=we("empty");switch(fe){case"Table":case"List":return b.createElement(le.Z,{image:le.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(le.Z,{image:le.Z.PRESENTED_IMAGE_SIMPLE,className:`${Oe}-small`});case"Table.filter":return null;default:return b.createElement(le.Z,null)}};ae.Z=pe},36207:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qt}});var b=y(59301),he=y(92310),le=y.n(he),pe=y(85899),be=y(72190),fe=y(43403),we=y(34280),Oe=b.createContext(null),Re=b.createContext({}),xe=Oe,je=y(18642),Fe=y(60499),xt=y(77900),nt=y(10228),et=y(26112),Je=y(42244),Ge=y(8654),We=["prefixCls","className","containerRef"],Ve=function(vt){var Ct=vt.prefixCls,Ut=vt.className,$t=vt.containerRef,fn=(0,Je.Z)(vt,We),dn=b.useContext(Re),Bt=dn.panel,Mn=(0,Ge.x1)(Bt,$t);return b.createElement("div",(0,Fe.Z)({className:le()("".concat(Ct,"-content"),Ut),role:"dialog",ref:Mn},(0,et.Z)(vt,{aria:!0}),{"aria-modal":"true"},fn))},Qe=Ve,He=y(48736);function _e(At){return typeof At=="string"&&String(Number(At))===At?((0,He.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(At)):At}function Ze(At){warning(!("wrapperClassName"in At),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!At.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var tt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function gt(At,vt){var Ct,Ut,$t,fn=At.prefixCls,dn=At.open,Bt=At.placement,Mn=At.inline,Dn=At.push,Cn=At.forceRender,sn=At.autoFocus,An=At.keyboard,xn=At.classNames,Lt=At.rootClassName,qt=At.rootStyle,zt=At.zIndex,bn=At.className,Et=At.id,ft=At.style,de=At.motion,wn=At.width,Un=At.height,mn=At.children,Er=At.mask,Sr=At.maskClosable,or=At.maskMotion,wr=At.maskClassName,St=At.maskStyle,Kn=At.afterOpenChange,ir=At.onClose,br=At.onMouseEnter,qn=At.onMouseOver,Ir=At.onMouseLeave,sr=At.onClick,jn=At.onKeyDown,$r=At.onKeyUp,Jr=At.styles,Gr=At.drawerRender,la=b.useRef(),Hr=b.useRef(),fa=b.useRef();b.useImperativeHandle(vt,function(){return la.current});var Yr=function(Ye){var Xt=Ye.keyCode,Wt=Ye.shiftKey;switch(Xt){case nt.Z.TAB:{if(Xt===nt.Z.TAB){if(!Wt&&document.activeElement===fa.current){var Xn;(Xn=Hr.current)===null||Xn===void 0||Xn.focus({preventScroll:!0})}else if(Wt&&document.activeElement===Hr.current){var Qn;(Qn=fa.current)===null||Qn===void 0||Qn.focus({preventScroll:!0})}}break}case nt.Z.ESC:{ir&&An&&(Ye.stopPropagation(),ir(Ye));break}}};b.useEffect(function(){if(dn&&sn){var Pe;(Pe=la.current)===null||Pe===void 0||Pe.focus({preventScroll:!0})}},[dn]);var Wn=b.useState(!1),ur=(0,be.Z)(Wn,2),_r=ur[0],ea=ur[1],Jt=b.useContext(xe),pn;typeof Dn=="boolean"?pn=Dn?{}:{distance:0}:pn=Dn||{};var kt=(Ct=(Ut=($t=pn)===null||$t===void 0?void 0:$t.distance)!==null&&Ut!==void 0?Ut:Jt==null?void 0:Jt.pushDistance)!==null&&Ct!==void 0?Ct:180,tn=b.useMemo(function(){return{pushDistance:kt,push:function(){ea(!0)},pull:function(){ea(!1)}}},[kt]);b.useEffect(function(){if(dn){var Pe;Jt==null||(Pe=Jt.push)===null||Pe===void 0||Pe.call(Jt)}else{var Ye;Jt==null||(Ye=Jt.pull)===null||Ye===void 0||Ye.call(Jt)}},[dn]),b.useEffect(function(){return function(){var Pe;Jt==null||(Pe=Jt.pull)===null||Pe===void 0||Pe.call(Jt)}},[]);var Mt=Er&&b.createElement(xt.default,(0,Fe.Z)({key:"mask"},or,{visible:dn}),function(Pe,Ye){var Xt=Pe.className,Wt=Pe.style;return b.createElement("div",{className:le()("".concat(fn,"-mask"),Xt,xn==null?void 0:xn.mask,wr),style:(0,pe.Z)((0,pe.Z)((0,pe.Z)({},Wt),St),Jr==null?void 0:Jr.mask),onClick:Sr&&dn?ir:void 0,ref:Ye})}),rn=typeof de=="function"?de(Bt):de,lt={};if(_r&&kt)switch(Bt){case"top":lt.transform="translateY(".concat(kt,"px)");break;case"bottom":lt.transform="translateY(".concat(-kt,"px)");break;case"left":lt.transform="translateX(".concat(kt,"px)");break;default:lt.transform="translateX(".concat(-kt,"px)");break}Bt==="left"||Bt==="right"?lt.width=_e(wn):lt.height=_e(Un);var ve={onMouseEnter:br,onMouseOver:qn,onMouseLeave:Ir,onClick:sr,onKeyDown:jn,onKeyUp:$r},Ie=b.createElement(xt.default,(0,Fe.Z)({key:"panel"},rn,{visible:dn,forceRender:Cn,onVisibleChanged:function(Ye){Kn==null||Kn(Ye)},removeOnLeave:!1,leavedClassName:"".concat(fn,"-content-wrapper-hidden")}),function(Pe,Ye){var Xt=Pe.className,Wt=Pe.style,Xn=b.createElement(Qe,(0,Fe.Z)({id:Et,containerRef:Ye,prefixCls:fn,className:le()(bn,xn==null?void 0:xn.content),style:(0,pe.Z)((0,pe.Z)({},ft),Jr==null?void 0:Jr.content)},(0,et.Z)(At,{aria:!0}),ve),mn);return b.createElement("div",(0,Fe.Z)({className:le()("".concat(fn,"-content-wrapper"),xn==null?void 0:xn.wrapper,Xt),style:(0,pe.Z)((0,pe.Z)((0,pe.Z)({},lt),Wt),Jr==null?void 0:Jr.wrapper)},(0,et.Z)(At,{data:!0})),Gr?Gr(Xn):Xn)}),Ft=(0,pe.Z)({},qt);return zt&&(Ft.zIndex=zt),b.createElement(xe.Provider,{value:tn},b.createElement("div",{className:le()(fn,"".concat(fn,"-").concat(Bt),Lt,(0,je.Z)((0,je.Z)({},"".concat(fn,"-open"),dn),"".concat(fn,"-inline"),Mn)),style:Ft,tabIndex:-1,ref:la,onKeyDown:Yr},Mt,b.createElement("div",{tabIndex:0,ref:Hr,style:tt,"aria-hidden":"true","data-sentinel":"start"}),Ie,b.createElement("div",{tabIndex:0,ref:fa,style:tt,"aria-hidden":"true","data-sentinel":"end"})))}var rt=b.forwardRef(gt),It=rt,mt=function(vt){var Ct=vt.open,Ut=Ct===void 0?!1:Ct,$t=vt.prefixCls,fn=$t===void 0?"rc-drawer":$t,dn=vt.placement,Bt=dn===void 0?"right":dn,Mn=vt.autoFocus,Dn=Mn===void 0?!0:Mn,Cn=vt.keyboard,sn=Cn===void 0?!0:Cn,An=vt.width,xn=An===void 0?378:An,Lt=vt.mask,qt=Lt===void 0?!0:Lt,zt=vt.maskClosable,bn=zt===void 0?!0:zt,Et=vt.getContainer,ft=vt.forceRender,de=vt.afterOpenChange,wn=vt.destroyOnClose,Un=vt.onMouseEnter,mn=vt.onMouseOver,Er=vt.onMouseLeave,Sr=vt.onClick,or=vt.onKeyDown,wr=vt.onKeyUp,St=vt.panelRef,Kn=b.useState(!1),ir=(0,be.Z)(Kn,2),br=ir[0],qn=ir[1],Ir=b.useState(!1),sr=(0,be.Z)(Ir,2),jn=sr[0],$r=sr[1];(0,we.Z)(function(){$r(!0)},[]);var Jr=jn?Ut:!1,Gr=b.useRef(),la=b.useRef();(0,we.Z)(function(){Jr&&(la.current=document.activeElement)},[Jr]);var Hr=function(_r){var ea;if(qn(_r),de==null||de(_r),!_r&&la.current&&!((ea=Gr.current)!==null&&ea!==void 0&&ea.contains(la.current))){var Jt;(Jt=la.current)===null||Jt===void 0||Jt.focus({preventScroll:!0})}},fa=b.useMemo(function(){return{panel:St}},[St]);if(!ft&&!br&&!Jr&&wn)return null;var Yr={onMouseEnter:Un,onMouseOver:mn,onMouseLeave:Er,onClick:Sr,onKeyDown:or,onKeyUp:wr},Wn=(0,pe.Z)((0,pe.Z)({},vt),{},{open:Jr,prefixCls:fn,placement:Bt,autoFocus:Dn,keyboard:sn,width:xn,mask:qt,maskClosable:bn,inline:Et===!1,afterOpenChange:Hr,ref:Gr},Yr);return b.createElement(Re.Provider,{value:fa},b.createElement(fe.Z,{open:Jr||ft||br,autoDestroy:!1,getContainer:Et,autoLock:qt&&(Jr||br)},b.createElement(It,Wn)))},ut=mt,Tt=ut,_t=y(62487),Ke=y(75030),Rt=y(86641),Nt=y(55743),Kt=y(48755),On=y(91190),wt=y(78776),$e=y(458),en=At=>{var vt,Ct;const{prefixCls:Ut,title:$t,footer:fn,extra:dn,loading:Bt,onClose:Mn,headerStyle:Dn,bodyStyle:Cn,footerStyle:sn,children:An,classNames:xn,styles:Lt}=At,qt=(0,Kt.dj)("drawer"),zt=b.useCallback(wn=>b.createElement("button",{type:"button",onClick:Mn,"aria-label":"Close",className:`${Ut}-close`},wn),[Mn]),[bn,Et]=(0,wt.Z)((0,wt.w)(At),(0,wt.w)(qt),{closable:!0,closeIconRender:zt}),ft=b.useMemo(()=>{var wn,Un;return!$t&&!bn?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(wn=qt.styles)===null||wn===void 0?void 0:wn.header),Dn),Lt==null?void 0:Lt.header),className:le()(`${Ut}-header`,{[`${Ut}-header-close-only`]:bn&&!$t&&!dn},(Un=qt.classNames)===null||Un===void 0?void 0:Un.header,xn==null?void 0:xn.header)},b.createElement("div",{className:`${Ut}-header-title`},Et,$t&&b.createElement("div",{className:`${Ut}-title`},$t)),dn&&b.createElement("div",{className:`${Ut}-extra`},dn))},[bn,Et,dn,Dn,Ut,$t]),de=b.useMemo(()=>{var wn,Un;if(!fn)return null;const mn=`${Ut}-footer`;return b.createElement("div",{className:le()(mn,(wn=qt.classNames)===null||wn===void 0?void 0:wn.footer,xn==null?void 0:xn.footer),style:Object.assign(Object.assign(Object.assign({},(Un=qt.styles)===null||Un===void 0?void 0:Un.footer),sn),Lt==null?void 0:Lt.footer)},fn)},[fn,sn,Ut]);return b.createElement(b.Fragment,null,ft,b.createElement("div",{className:le()(`${Ut}-body`,xn==null?void 0:xn.body,(vt=qt.classNames)===null||vt===void 0?void 0:vt.body),style:Object.assign(Object.assign(Object.assign({},(Ct=qt.styles)===null||Ct===void 0?void 0:Ct.body),Cn),Lt==null?void 0:Lt.body)},Bt?b.createElement($e.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Ut}-body-skeleton`}):An),de)},on=y(36237),it=y(63356),Ht=y(16931),Yt=y(51636);const Rn=At=>{const vt="100%";return{left:`translateX(-${vt})`,right:`translateX(${vt})`,top:`translateY(-${vt})`,bottom:`translateY(${vt})`}[At]},ct=(At,vt)=>({"&-enter, &-appear":Object.assign(Object.assign({},At),{"&-active":vt}),"&-leave":Object.assign(Object.assign({},vt),{"&-active":At})}),Sn=(At,vt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${vt}`}}},ct({opacity:At},{opacity:1})),Zt=(At,vt)=>[Sn(.7,vt),ct({transform:Rn(At)},{transform:"none"})];var un=At=>{const{componentCls:vt,motionDurationSlow:Ct}=At;return{[vt]:{[`${vt}-mask-motion`]:Sn(0,Ct),[`${vt}-panel-motion`]:["left","right","top","bottom"].reduce((Ut,$t)=>Object.assign(Object.assign({},Ut),{[`&-${$t}`]:Zt($t,Ct)}),{})}}};const De=At=>{const{borderRadiusSM:vt,componentCls:Ct,zIndexPopup:Ut,colorBgMask:$t,colorBgElevated:fn,motionDurationSlow:dn,motionDurationMid:Bt,paddingXS:Mn,padding:Dn,paddingLG:Cn,fontSizeLG:sn,lineHeightLG:An,lineWidth:xn,lineType:Lt,colorSplit:qt,marginXS:zt,colorIcon:bn,colorIconHover:Et,colorBgTextHover:ft,colorBgTextActive:de,colorText:wn,fontWeightStrong:Un,footerPaddingBlock:mn,footerPaddingInline:Er,calc:Sr}=At,or=`${Ct}-content-wrapper`;return{[Ct]:{position:"fixed",inset:0,zIndex:Ut,pointerEvents:"none",color:wn,"&-pure":{position:"relative",background:fn,display:"flex",flexDirection:"column",[`&${Ct}-left`]:{boxShadow:At.boxShadowDrawerLeft},[`&${Ct}-right`]:{boxShadow:At.boxShadowDrawerRight},[`&${Ct}-top`]:{boxShadow:At.boxShadowDrawerUp},[`&${Ct}-bottom`]:{boxShadow:At.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Ct}-mask`]:{position:"absolute",inset:0,zIndex:Ut,background:$t,pointerEvents:"auto"},[or]:{position:"absolute",zIndex:Ut,maxWidth:"100vw",transition:`all ${dn}`,"&-hidden":{display:"none"}},[`&-left > ${or}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:At.boxShadowDrawerLeft},[`&-right > ${or}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:At.boxShadowDrawerRight},[`&-top > ${or}`]:{top:0,insetInline:0,boxShadow:At.boxShadowDrawerUp},[`&-bottom > ${or}`]:{bottom:0,insetInline:0,boxShadow:At.boxShadowDrawerDown},[`${Ct}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:fn,pointerEvents:"auto"},[`${Ct}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,on.unit)(Dn)} ${(0,on.unit)(Cn)}`,fontSize:sn,lineHeight:An,borderBottom:`${(0,on.unit)(xn)} ${Lt} ${qt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Ct}-extra`]:{flex:"none"},[`${Ct}-close`]:Object.assign({display:"inline-flex",width:Sr(sn).add(Mn).equal(),height:Sr(sn).add(Mn).equal(),borderRadius:vt,justifyContent:"center",alignItems:"center",marginInlineEnd:zt,color:bn,fontWeight:Un,fontSize:sn,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Bt}`,textRendering:"auto","&:hover":{color:Et,backgroundColor:ft,textDecoration:"none"},"&:active":{backgroundColor:de}},(0,it.Qy)(At)),[`${Ct}-title`]:{flex:1,margin:0,fontWeight:At.fontWeightStrong,fontSize:sn,lineHeight:An},[`${Ct}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Cn,overflow:"auto",[`${Ct}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Ct}-footer`]:{flexShrink:0,padding:`${(0,on.unit)(mn)} ${(0,on.unit)(Er)}`,borderTop:`${(0,on.unit)(xn)} ${Lt} ${qt}`},"&-rtl":{direction:"rtl"}}}},me=At=>({zIndexPopup:At.zIndexPopupBase,footerPaddingBlock:At.paddingXS,footerPaddingInline:At.padding});var ce=(0,Ht.I$)("Drawer",At=>{const vt=(0,Yt.mergeToken)(At,{});return[De(vt),un(vt)]},me),Te=function(At,vt){var Ct={};for(var Ut in At)Object.prototype.hasOwnProperty.call(At,Ut)&&vt.indexOf(Ut)<0&&(Ct[Ut]=At[Ut]);if(At!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $t=0,Ut=Object.getOwnPropertySymbols(At);$t{var vt;const{rootClassName:Ct,width:Ut,height:$t,size:fn="default",mask:dn=!0,push:Bt=ge,open:Mn,afterOpenChange:Dn,onClose:Cn,prefixCls:sn,getContainer:An,style:xn,className:Lt,visible:qt,afterVisibleChange:zt,maskStyle:bn,drawerStyle:Et,contentWrapperStyle:ft}=At,de=Te(At,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:wn,getPrefixCls:Un,direction:mn,className:Er,style:Sr,classNames:or,styles:wr}=(0,Kt.dj)("drawer"),St=Un("drawer",sn),[Kn,ir,br]=ce(St),qn=An===void 0&&wn?()=>wn(document.body):An,Ir=le()({"no-mask":!dn,[`${St}-rtl`]:mn==="rtl"},Ct,ir,br),sr=b.useMemo(()=>Ut!=null?Ut:fn==="large"?736:378,[Ut,fn]),jn=b.useMemo(()=>$t!=null?$t:fn==="large"?736:378,[$t,fn]),$r={motionName:(0,Rt.m)(St,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Jr=Wn=>({motionName:(0,Rt.m)(St,`panel-motion-${Wn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Gr=(0,On.H)(),[la,Hr]=(0,Ke.Cn)("Drawer",de.zIndex),{classNames:fa={},styles:Yr={}}=de;return Kn(b.createElement(_t.Z,{form:!0,space:!0},b.createElement(Nt.Z.Provider,{value:Hr},b.createElement(Tt,Object.assign({prefixCls:St,onClose:Cn,maskMotion:$r,motion:Jr},de,{classNames:{mask:le()(fa.mask,or.mask),content:le()(fa.content,or.content),wrapper:le()(fa.wrapper,or.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},Yr.mask),bn),wr.mask),content:Object.assign(Object.assign(Object.assign({},Yr.content),Et),wr.content),wrapper:Object.assign(Object.assign(Object.assign({},Yr.wrapper),ft),wr.wrapper)},open:Mn!=null?Mn:qt,mask:dn,push:Bt,width:sr,height:jn,style:Object.assign(Object.assign({},Sr),xn),className:le()(Er,Lt),rootClassName:Ir,getContainer:qn,afterOpenChange:Dn!=null?Dn:zt,panelRef:Gr,zIndex:la}),b.createElement(en,Object.assign({prefixCls:St},de,{onClose:Cn}))))))},ot=At=>{const{prefixCls:vt,style:Ct,className:Ut,placement:$t="right"}=At,fn=Te(At,["prefixCls","style","className","placement"]),{getPrefixCls:dn}=b.useContext(Kt.E_),Bt=dn("drawer",vt),[Mn,Dn,Cn]=ce(Bt),sn=le()(Bt,`${Bt}-pure`,`${Bt}-${$t}`,Dn,Cn,Ut);return Mn(b.createElement("div",{className:sn,style:Ct},b.createElement(en,Object.assign({prefixCls:Bt},fn))))};Me._InternalPanelDoNotUseOrYouWillBeFired=ot;var Qt=Me},19563:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return on}});var b=y(59301),he=y(33853),le=y(38819),pe=y(92310),be=y.n(pe),fe=y(96478),we=y(6089),Oe=y(18929),Re=y(2738),xe=y(75030),Fe=it=>typeof it!="object"&&typeof it!="function"||it===null,xt=y(52838),nt=y(45915),et=y(22703),Je=y(32383),Ge=y(55743),We=y(48755),Ve=y(83397),Qe=y(93041),He=y(78857),_e=y(57700),Ze=y(36237),tt=y(63356),gt=y(46e3),rt=y(93873),It=y(34925),mt=y(37645),ut=y(36305),Tt=y(16931),_t=y(51636),Rt=it=>{const{componentCls:Ht,menuCls:Yt,colorError:Rn,colorTextLightSolid:ct}=it,Sn=`${Yt}-item`;return{[`${Ht}, ${Ht}-menu-submenu`]:{[`${Yt} ${Sn}`]:{[`&${Sn}-danger:not(${Sn}-disabled)`]:{color:Rn,"&:hover":{color:ct,backgroundColor:Rn}}}}}};const Nt=it=>{const{componentCls:Ht,menuCls:Yt,zIndexPopup:Rn,dropdownArrowDistance:ct,sizePopupArrow:Sn,antCls:Zt,iconCls:vn,motionDurationMid:un,paddingBlock:De,fontSize:me,dropdownEdgeChildPadding:ce,colorTextDisabled:Te,fontSizeIcon:Ue,controlPaddingHorizontal:ge,colorBgElevated:Me}=it;return[{[Ht]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Rn,display:"block","&::before":{position:"absolute",insetBlock:it.calc(Sn).div(2).sub(ct).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Zt}-btn`]:{[`& > ${vn}-down, & > ${Zt}-btn-icon > ${vn}-down`]:{fontSize:Ue}},[`${Ht}-wrap`]:{position:"relative",[`${Zt}-btn > ${vn}-down`]:{fontSize:Ue},[`${vn}-down::before`]:{transition:`transform ${un}`}},[`${Ht}-wrap-open`]:{[`${vn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Zt}-slide-down-enter${Zt}-slide-down-enter-active${Ht}-placement-bottomLeft, - &${Zt}-slide-down-appear${Zt}-slide-down-appear-active${Ht}-placement-bottomLeft, - &${Zt}-slide-down-enter${Zt}-slide-down-enter-active${Ht}-placement-bottom, - &${Zt}-slide-down-appear${Zt}-slide-down-appear-active${Ht}-placement-bottom, - &${Zt}-slide-down-enter${Zt}-slide-down-enter-active${Ht}-placement-bottomRight, - &${Zt}-slide-down-appear${Zt}-slide-down-appear-active${Ht}-placement-bottomRight`]:{animationName:gt.fJ},[`&${Zt}-slide-up-enter${Zt}-slide-up-enter-active${Ht}-placement-topLeft, - &${Zt}-slide-up-appear${Zt}-slide-up-appear-active${Ht}-placement-topLeft, - &${Zt}-slide-up-enter${Zt}-slide-up-enter-active${Ht}-placement-top, - &${Zt}-slide-up-appear${Zt}-slide-up-appear-active${Ht}-placement-top, - &${Zt}-slide-up-enter${Zt}-slide-up-enter-active${Ht}-placement-topRight, - &${Zt}-slide-up-appear${Zt}-slide-up-appear-active${Ht}-placement-topRight`]:{animationName:gt.Qt},[`&${Zt}-slide-down-leave${Zt}-slide-down-leave-active${Ht}-placement-bottomLeft, - &${Zt}-slide-down-leave${Zt}-slide-down-leave-active${Ht}-placement-bottom, - &${Zt}-slide-down-leave${Zt}-slide-down-leave-active${Ht}-placement-bottomRight`]:{animationName:gt.Uw},[`&${Zt}-slide-up-leave${Zt}-slide-up-leave-active${Ht}-placement-topLeft, - &${Zt}-slide-up-leave${Zt}-slide-up-leave-active${Ht}-placement-top, - &${Zt}-slide-up-leave${Zt}-slide-up-leave-active${Ht}-placement-topRight`]:{animationName:gt.ly}}},(0,mt.ZP)(it,Me,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ht} ${Yt}`]:{position:"relative",margin:0},[`${Yt}-submenu-popup`]:{position:"absolute",zIndex:Rn,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ht}, ${Ht}-menu-submenu`]:Object.assign(Object.assign({},(0,tt.Wf)(it)),{[Yt]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:Me,backgroundClip:"padding-box",borderRadius:it.borderRadiusLG,outline:"none",boxShadow:it.boxShadowSecondary},(0,tt.Qy)(it)),{"&:empty":{padding:0,boxShadow:"none"},[`${Yt}-item-group-title`]:{padding:`${(0,Ze.unit)(De)} ${(0,Ze.unit)(ge)}`,color:it.colorTextDescription,transition:`all ${un}`},[`${Yt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Yt}-item-icon`]:{minWidth:me,marginInlineEnd:it.marginXS,fontSize:it.fontSizeSM},[`${Yt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${un}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Yt}-item-extra`]:{paddingInlineStart:it.padding,marginInlineStart:"auto",fontSize:it.fontSizeSM,color:it.colorTextDescription}},[`${Yt}-item, ${Yt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Ze.unit)(De)} ${(0,Ze.unit)(ge)}`,color:it.colorText,fontWeight:"normal",fontSize:me,lineHeight:it.lineHeight,cursor:"pointer",transition:`all ${un}`,borderRadius:it.borderRadiusSM,"&:hover, &-active":{backgroundColor:it.controlItemBgHover}},(0,tt.Qy)(it)),{"&-selected":{color:it.colorPrimary,backgroundColor:it.controlItemBgActive,"&:hover, &-active":{backgroundColor:it.controlItemBgActiveHover}},"&-disabled":{color:Te,cursor:"not-allowed","&:hover":{color:Te,backgroundColor:Me,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Ze.unit)(it.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:it.colorSplit},[`${Ht}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:it.paddingXS,[`${Ht}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:it.colorTextDescription,fontSize:Ue,fontStyle:"normal"}}}),[`${Yt}-item-group-list`]:{margin:`0 ${(0,Ze.unit)(it.marginXS)}`,padding:0,listStyle:"none"},[`${Yt}-submenu-title`]:{paddingInlineEnd:it.calc(ge).add(it.fontSizeSM).equal()},[`${Yt}-submenu-vertical`]:{position:"relative"},[`${Yt}-submenu${Yt}-submenu-disabled ${Ht}-menu-submenu-title`]:{[`&, ${Ht}-menu-submenu-arrow-icon`]:{color:Te,backgroundColor:Me,cursor:"not-allowed"}},[`${Yt}-submenu-selected ${Ht}-menu-submenu-title`]:{color:it.colorPrimary}})})},[(0,gt.oN)(it,"slide-up"),(0,gt.oN)(it,"slide-down"),(0,rt.Fm)(it,"move-up"),(0,rt.Fm)(it,"move-down"),(0,It._y)(it,"zoom-big")]]},Kt=it=>Object.assign(Object.assign({zIndexPopup:it.zIndexPopupBase+50,paddingBlock:(it.controlHeight-it.fontSize*it.lineHeight)/2},(0,mt.wZ)({contentRadius:it.borderRadiusLG,limitVerticalRadius:!0})),(0,ut.w)(it));var On=(0,Tt.I$)("Dropdown",it=>{const{marginXXS:Ht,sizePopupArrow:Yt,paddingXXS:Rn,componentCls:ct}=it,Sn=(0,_t.mergeToken)(it,{menuCls:`${ct}-menu`,dropdownArrowDistance:it.calc(Yt).div(2).add(Ht).equal(),dropdownEdgeChildPadding:Rn});return[Nt(Sn),Rt(Sn)]},Kt,{resetStyle:!1});const wt=null,$e=it=>{var Ht;const{menu:Yt,arrow:Rn,prefixCls:ct,children:Sn,trigger:Zt,disabled:vn,dropdownRender:un,getPopupContainer:De,overlayClassName:me,rootClassName:ce,overlayStyle:Te,open:Ue,onOpenChange:ge,visible:Me,onVisibleChange:ot,mouseEnterDelay:Qt=.15,mouseLeaveDelay:At=.1,autoAdjustOverflow:vt=!0,placement:Ct="",overlay:Ut,transitionName:$t}=it,{getPopupContainer:fn,getPrefixCls:dn,direction:Bt,dropdown:Mn}=b.useContext(We.E_),Dn=(0,Je.ln)("Dropdown"),Cn=b.useMemo(()=>{const qn=dn();return $t!==void 0?$t:Ct.includes("top")?`${qn}-slide-down`:`${qn}-slide-up`},[dn,Ct,$t]),sn=b.useMemo(()=>Ct?Ct.includes("Center")?Ct.slice(0,Ct.indexOf("Center")):Ct:Bt==="rtl"?"bottomRight":"bottomLeft",[Ct,Bt]),An=dn("dropdown",ct),xn=(0,Ve.Z)(An),[Lt,qt,zt]=On(An,xn),[,bn]=(0,_e.ZP)(),Et=b.Children.only(Fe(Sn)?b.createElement("span",null,Sn):Sn),ft=(0,et.Tm)(Et,{className:be()(`${An}-trigger`,{[`${An}-rtl`]:Bt==="rtl"},Et.props.className),disabled:(Ht=Et.props.disabled)!==null&&Ht!==void 0?Ht:vn}),de=vn?[]:Zt,wn=!!(de!=null&&de.includes("contextMenu")),[Un,mn]=(0,Oe.Z)(!1,{value:Ue!=null?Ue:Me}),Er=(0,we.Z)(qn=>{ge==null||ge(qn,{source:"trigger"}),ot==null||ot(qn),mn(qn)}),Sr=be()(me,ce,qt,zt,xn,Mn==null?void 0:Mn.className,{[`${An}-rtl`]:Bt==="rtl"}),or=(0,xt.Z)({arrowPointAtCenter:typeof Rn=="object"&&Rn.pointAtCenter,autoAdjustOverflow:vt,offset:bn.marginXXS,arrowWidth:Rn?bn.sizePopupArrow:0,borderRadius:bn.borderRadius}),wr=b.useCallback(()=>{Yt!=null&&Yt.selectable&&(Yt!=null&&Yt.multiple)||(ge==null||ge(!1,{source:"menu"}),mn(!1))},[Yt==null?void 0:Yt.selectable,Yt==null?void 0:Yt.multiple]),St=()=>{let qn;return Yt!=null&&Yt.items?qn=b.createElement(Qe.default,Object.assign({},Yt)):typeof Ut=="function"?qn=Ut():qn=Ut,un&&(qn=un(qn)),qn=b.Children.only(typeof qn=="string"?b.createElement("span",null,qn):qn),b.createElement(He.J,{prefixCls:`${An}-menu`,rootClassName:be()(zt,xn),expandIcon:b.createElement("span",{className:`${An}-menu-submenu-arrow`},Bt==="rtl"?b.createElement(he.Z,{className:`${An}-menu-submenu-arrow-icon`}):b.createElement(le.Z,{className:`${An}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:wr,validator:Ir=>{let{mode:sr}=Ir}},qn)},[Kn,ir]=(0,xe.Cn)("Dropdown",Te==null?void 0:Te.zIndex);let br=b.createElement(fe.Z,Object.assign({alignPoint:wn},(0,Re.Z)(it,["rootClassName"]),{mouseEnterDelay:Qt,mouseLeaveDelay:At,visible:Un,builtinPlacements:or,arrow:!!Rn,overlayClassName:Sr,prefixCls:An,getPopupContainer:De||fn,transitionName:Cn,trigger:de,overlay:St,placement:sn,onVisibleChange:Er,overlayStyle:Object.assign(Object.assign(Object.assign({},Mn==null?void 0:Mn.style),Te),{zIndex:Kn})}),ft);return Kn&&(br=b.createElement(Ge.Z.Provider,{value:ir},br)),Lt(br)},Ee=(0,nt.Z)($e,"align",void 0,"dropdown",it=>it),en=it=>b.createElement(Ee,Object.assign({},it),b.createElement("span",null));$e._InternalPanelDoNotUseOrYouWillBeFired=en;var on=$e},75727:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return nt}});var b=y(19563),he=y(59301),le=y(18785),pe=y(92310),be=y.n(pe),fe=y(7939),we=y(48755),Oe=y(44104),Re=y(70045),xe=function(et,Je){var Ge={};for(var We in et)Object.prototype.hasOwnProperty.call(et,We)&&Je.indexOf(We)<0&&(Ge[We]=et[We]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,We=Object.getOwnPropertySymbols(et);Ve{const{getPopupContainer:Je,getPrefixCls:Ge,direction:We}=he.useContext(we.E_),{prefixCls:Ve,type:Qe="default",danger:He,disabled:_e,loading:Ze,onClick:tt,htmlType:gt,children:rt,className:It,menu:mt,arrow:ut,autoFocus:Tt,overlay:_t,trigger:Ke,align:Rt,open:Nt,onOpenChange:Kt,placement:On,getPopupContainer:wt,href:$e,icon:Ee=he.createElement(le.Z,null),title:en,buttonsRender:on=Qt=>Qt,mouseEnterDelay:it,mouseLeaveDelay:Ht,overlayClassName:Yt,overlayStyle:Rn,destroyPopupOnHide:ct,dropdownRender:Sn}=et,Zt=xe(et,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),vn=Ge("dropdown",Ve),un=`${vn}-button`,De={menu:mt,arrow:ut,autoFocus:Tt,align:Rt,disabled:_e,trigger:_e?[]:Ke,onOpenChange:Kt,getPopupContainer:wt||Je,mouseEnterDelay:it,mouseLeaveDelay:Ht,overlayClassName:Yt,overlayStyle:Rn,destroyPopupOnHide:ct,dropdownRender:Sn},{compactSize:me,compactItemClassnames:ce}=(0,Re.ri)(vn,We),Te=be()(un,ce,It);"overlay"in et&&(De.overlay=_t),"open"in et&&(De.open=Nt),"placement"in et?De.placement=On:De.placement=We==="rtl"?"bottomLeft":"bottomRight";const Ue=he.createElement(fe.ZP,{type:Qe,danger:He,disabled:_e,loading:Ze,onClick:tt,htmlType:gt,href:$e,title:en},rt),ge=he.createElement(fe.ZP,{type:Qe,danger:He,icon:Ee}),[Me,ot]=on([Ue,ge]);return he.createElement(Oe.Z.Compact,Object.assign({className:Te,size:me,block:!0},Zt),Me,he.createElement(b.Z,Object.assign({},De),ot))};je.__ANT_BUTTON=!0;var Fe=je;const xt=b.Z;xt.Button=Fe;var nt=xt},584:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(59301),he=y(92310),le=y.n(he),pe=y(9017),be=y(17835),fe=y(57700),Oe=()=>{const[,He]=(0,fe.ZP)(),[_e]=(0,pe.Z)("Empty"),tt=new be.FastColor(He.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:tt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),b.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),b.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),b.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),b.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},xe=()=>{const[,He]=(0,fe.ZP)(),[_e]=(0,pe.Z)("Empty"),{colorFill:Ze,colorFillTertiary:tt,colorFillQuaternary:gt,colorBgContainer:rt}=He,{borderColor:It,shadowColor:mt,contentColor:ut}=(0,b.useMemo)(()=>({borderColor:new be.FastColor(Ze).onBackground(rt).toHexString(),shadowColor:new be.FastColor(tt).onBackground(rt).toHexString(),contentColor:new be.FastColor(gt).onBackground(rt).toHexString()}),[Ze,tt,gt,rt]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:mt,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:It},b.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),b.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:ut}))))},je=y(16931),Fe=y(51636);const xt=He=>{const{componentCls:_e,margin:Ze,marginXS:tt,marginXL:gt,fontSize:rt,lineHeight:It}=He;return{[_e]:{marginInline:tt,fontSize:rt,lineHeight:It,textAlign:"center",[`${_e}-image`]:{height:He.emptyImgHeight,marginBottom:tt,opacity:He.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${_e}-description`]:{color:He.colorTextDescription},[`${_e}-footer`]:{marginTop:Ze},"&-normal":{marginBlock:gt,color:He.colorTextDescription,[`${_e}-description`]:{color:He.colorTextDescription},[`${_e}-image`]:{height:He.emptyImgHeightMD}},"&-small":{marginBlock:tt,color:He.colorTextDescription,[`${_e}-image`]:{height:He.emptyImgHeightSM}}}}};var nt=(0,je.I$)("Empty",He=>{const{componentCls:_e,controlHeightLG:Ze,calc:tt}=He,gt=(0,Fe.mergeToken)(He,{emptyImgCls:`${_e}-img`,emptyImgHeight:tt(Ze).mul(2.5).equal(),emptyImgHeightMD:Ze,emptyImgHeightSM:tt(Ze).mul(.875).equal()});return[xt(gt)]}),et=y(48755),Je=function(He,_e){var Ze={};for(var tt in He)Object.prototype.hasOwnProperty.call(He,tt)&&_e.indexOf(tt)<0&&(Ze[tt]=He[tt]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,tt=Object.getOwnPropertySymbols(He);gt{const{className:_e,rootClassName:Ze,prefixCls:tt,image:gt=Ge,description:rt,children:It,imageStyle:mt,style:ut,classNames:Tt,styles:_t}=He,Ke=Je(He,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Rt,direction:Nt,className:Kt,style:On,classNames:wt,styles:$e}=(0,et.dj)("empty"),Ee=Rt("empty",tt),[en,on,it]=nt(Ee),[Ht]=(0,pe.Z)("Empty"),Yt=typeof rt!="undefined"?rt:Ht==null?void 0:Ht.description,Rn=typeof Yt=="string"?Yt:"empty";let ct=null;return typeof gt=="string"?ct=b.createElement("img",{alt:Rn,src:gt}):ct=gt,en(b.createElement("div",Object.assign({className:le()(on,it,Ee,Kt,{[`${Ee}-normal`]:gt===We,[`${Ee}-rtl`]:Nt==="rtl"},_e,Ze,wt.root,Tt==null?void 0:Tt.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},$e.root),On),_t==null?void 0:_t.root),ut)},Ke),b.createElement("div",{className:le()(`${Ee}-image`,wt.image,Tt==null?void 0:Tt.image),style:Object.assign(Object.assign(Object.assign({},mt),$e.image),_t==null?void 0:_t.image)},ct),Yt&&b.createElement("div",{className:le()(`${Ee}-description`,wt.description,Tt==null?void 0:Tt.description),style:Object.assign(Object.assign({},$e.description),_t==null?void 0:_t.description)},Yt),It&&b.createElement("div",{className:le()(`${Ee}-footer`,wt.footer,Tt==null?void 0:Tt.footer),style:Object.assign(Object.assign({},$e.footer),_t==null?void 0:_t.footer)},It)))};Ve.PRESENTED_IMAGE_DEFAULT=Ge,Ve.PRESENTED_IMAGE_SIMPLE=We;var Qe=Ve},28284:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return pn}});var b=y(56553),he=y(77654),le=y(59301),pe=y(92310),be=y.n(pe),fe=y(77900),we=y(86641),Oe=y(83397);function Re(kt){const[tn,Mt]=le.useState(kt);return le.useEffect(()=>{const rn=setTimeout(()=>{Mt(kt)},kt.length?0:10);return()=>{clearTimeout(rn)}},[kt]),tn}var xe=y(36237),je=y(63356),Fe=y(34925),xt=y(34961),nt=y(51636),et=y(16931),Ge=kt=>{const{componentCls:tn}=kt,Mt=`${tn}-show-help`,rn=`${tn}-show-help-item`;return{[Mt]:{transition:`opacity ${kt.motionDurationFast} ${kt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[rn]:{overflow:"hidden",transition:`height ${kt.motionDurationFast} ${kt.motionEaseInOut}, - opacity ${kt.motionDurationFast} ${kt.motionEaseInOut}, - transform ${kt.motionDurationFast} ${kt.motionEaseInOut} !important`,[`&${rn}-appear, &${rn}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${rn}-leave-active`]:{transform:"translateY(-5px)"}}}}};const We=kt=>({legend:{display:"block",width:"100%",marginBottom:kt.marginLG,padding:0,color:kt.colorTextDescription,fontSize:kt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,xe.unit)(kt.lineWidth)} ${kt.lineType} ${kt.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,xe.unit)(kt.controlOutlineWidth)} ${kt.controlOutline}`},output:{display:"block",paddingTop:15,color:kt.colorText,fontSize:kt.fontSize,lineHeight:kt.lineHeight}}),Ve=(kt,tn)=>{const{formItemCls:Mt}=kt;return{[Mt]:{[`${Mt}-label > label`]:{height:tn},[`${Mt}-control-input`]:{minHeight:tn}}}},Qe=kt=>{const{componentCls:tn}=kt;return{[kt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,je.Wf)(kt)),We(kt)),{[`${tn}-text`]:{display:"inline-block",paddingInlineEnd:kt.paddingSM},"&-small":Object.assign({},Ve(kt,kt.controlHeightSM)),"&-large":Object.assign({},Ve(kt,kt.controlHeightLG))})}},He=kt=>{const{formItemCls:tn,iconCls:Mt,rootPrefixCls:rn,antCls:lt,labelRequiredMarkColor:ve,labelColor:Ie,labelFontSize:Ft,labelHeight:Pe,labelColonMarginInlineStart:Ye,labelColonMarginInlineEnd:Xt,itemMarginBottom:Wt}=kt;return{[tn]:Object.assign(Object.assign({},(0,je.Wf)(kt)),{marginBottom:Wt,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden${lt}-row`]:{display:"none"},"&-has-warning":{[`${tn}-split`]:{color:kt.colorError}},"&-has-error":{[`${tn}-split`]:{color:kt.colorWarning}},[`${tn}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:kt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Pe,color:Ie,fontSize:Ft,[`> ${Mt}`]:{fontSize:kt.fontSize,verticalAlign:"top"},[`&${tn}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:kt.marginXXS,color:ve,fontSize:kt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${tn}-required-mark-hidden, &${tn}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${tn}-optional`]:{display:"inline-block",marginInlineStart:kt.marginXXS,color:kt.colorTextDescription,[`&${tn}-required-mark-hidden`]:{display:"none"}},[`${tn}-tooltip`]:{color:kt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:kt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Ye,marginInlineEnd:Xt},[`&${tn}-no-colon::after`]:{content:'"\\a0"'}}},[`${tn}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${rn}-col-'"]):not([class*="' ${rn}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:kt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[tn]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:kt.colorTextDescription,fontSize:kt.fontSize,lineHeight:kt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:kt.controlHeightSM,transition:`color ${kt.motionDurationMid} ${kt.motionEaseOut}`},"&-explain":{"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning}}},[`&-with-help ${tn}-explain`]:{height:"auto",opacity:1},[`${tn}-feedback-icon`]:{fontSize:kt.fontSize,textAlign:"center",visibility:"visible",animationName:Fe.kr,animationDuration:kt.motionDurationMid,animationTimingFunction:kt.motionEaseOutBack,pointerEvents:"none","&-success":{color:kt.colorSuccess},"&-error":{color:kt.colorError},"&-warning":{color:kt.colorWarning},"&-validating":{color:kt.colorPrimary}}})}},_e=(kt,tn)=>{const{formItemCls:Mt}=kt;return{[`${tn}-horizontal`]:{[`${Mt}-label`]:{flexGrow:0},[`${Mt}-control`]:{flex:"1 1 0",minWidth:0},[`${Mt}-label[class$='-24'], ${Mt}-label[class*='-24 ']`]:{[`& + ${Mt}-control`]:{minWidth:"unset"}}}}},Ze=kt=>{const{componentCls:tn,formItemCls:Mt,inlineItemMarginBottom:rn}=kt;return{[`${tn}-inline`]:{display:"flex",flexWrap:"wrap",[Mt]:{flex:"none",marginInlineEnd:kt.margin,marginBottom:rn,"&-row":{flexWrap:"nowrap"},[`> ${Mt}-label, - > ${Mt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Mt}-label`]:{flex:"none"},[`${tn}-text`]:{display:"inline-block"},[`${Mt}-has-feedback`]:{display:"inline-block"}}}}},tt=kt=>({padding:kt.verticalLabelPadding,margin:kt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),gt=kt=>{const{componentCls:tn,formItemCls:Mt,rootPrefixCls:rn}=kt;return{[`${Mt} ${Mt}-label`]:tt(kt),[`${tn}:not(${tn}-inline)`]:{[Mt]:{flexWrap:"wrap",[`${Mt}-label, ${Mt}-control`]:{[`&:not([class*=" ${rn}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},rt=kt=>{const{componentCls:tn,formItemCls:Mt,antCls:rn}=kt;return{[`${tn}-vertical`]:{[`${Mt}:not(${Mt}-horizontal)`]:{[`${Mt}-row`]:{flexDirection:"column"},[`${Mt}-label > label`]:{height:"auto"},[`${Mt}-control`]:{width:"100%"},[`${Mt}-label, - ${rn}-col-24${Mt}-label, - ${rn}-col-xl-24${Mt}-label`]:tt(kt)}},[`@media (max-width: ${(0,xe.unit)(kt.screenXSMax)})`]:[gt(kt),{[tn]:{[`${Mt}:not(${Mt}-horizontal)`]:{[`${rn}-col-xs-24${Mt}-label`]:tt(kt)}}}],[`@media (max-width: ${(0,xe.unit)(kt.screenSMMax)})`]:{[tn]:{[`${Mt}:not(${Mt}-horizontal)`]:{[`${rn}-col-sm-24${Mt}-label`]:tt(kt)}}},[`@media (max-width: ${(0,xe.unit)(kt.screenMDMax)})`]:{[tn]:{[`${Mt}:not(${Mt}-horizontal)`]:{[`${rn}-col-md-24${Mt}-label`]:tt(kt)}}},[`@media (max-width: ${(0,xe.unit)(kt.screenLGMax)})`]:{[tn]:{[`${Mt}:not(${Mt}-horizontal)`]:{[`${rn}-col-lg-24${Mt}-label`]:tt(kt)}}}}},It=kt=>{const{formItemCls:tn,antCls:Mt}=kt;return{[`${tn}-vertical`]:{[`${tn}-row`]:{flexDirection:"column"},[`${tn}-label > label`]:{height:"auto"},[`${tn}-control`]:{width:"100%"}},[`${tn}-vertical ${tn}-label, - ${Mt}-col-24${tn}-label, - ${Mt}-col-xl-24${tn}-label`]:tt(kt),[`@media (max-width: ${(0,xe.unit)(kt.screenXSMax)})`]:[gt(kt),{[tn]:{[`${Mt}-col-xs-24${tn}-label`]:tt(kt)}}],[`@media (max-width: ${(0,xe.unit)(kt.screenSMMax)})`]:{[tn]:{[`${Mt}-col-sm-24${tn}-label`]:tt(kt)}},[`@media (max-width: ${(0,xe.unit)(kt.screenMDMax)})`]:{[tn]:{[`${Mt}-col-md-24${tn}-label`]:tt(kt)}},[`@media (max-width: ${(0,xe.unit)(kt.screenLGMax)})`]:{[tn]:{[`${Mt}-col-lg-24${tn}-label`]:tt(kt)}}}},mt=kt=>({labelRequiredMarkColor:kt.colorError,labelColor:kt.colorTextHeading,labelFontSize:kt.fontSize,labelHeight:kt.controlHeight,labelColonMarginInlineStart:kt.marginXXS/2,labelColonMarginInlineEnd:kt.marginXS,itemMarginBottom:kt.marginLG,verticalLabelPadding:`0 0 ${kt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),ut=(kt,tn)=>(0,nt.mergeToken)(kt,{formItemCls:`${kt.componentCls}-item`,rootPrefixCls:tn});var Tt=(0,et.I$)("Form",(kt,tn)=>{let{rootPrefixCls:Mt}=tn;const rn=ut(kt,Mt);return[Qe(rn),He(rn),Ge(rn),_e(rn,rn.componentCls),_e(rn,rn.formItemCls),Ze(rn),rt(rn),It(rn),(0,xt.Z)(rn),Fe.kr]},mt,{order:-1e3});const _t=[];function Ke(kt,tn,Mt){let rn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof kt=="string"?kt:`${tn}-${rn}`,error:kt,errorStatus:Mt}}var Nt=kt=>{let{help:tn,helpStatus:Mt,errors:rn=_t,warnings:lt=_t,className:ve,fieldId:Ie,onVisibleChanged:Ft}=kt;const{prefixCls:Pe}=le.useContext(b.Rk),Ye=`${Pe}-item-explain`,Xt=(0,Oe.Z)(Pe),[Wt,Xn,Qn]=Tt(Pe,Xt),Pn=le.useMemo(()=>(0,we.Z)(Pe),[Pe]),Nr=Re(rn),gn=Re(lt),an=le.useMemo(()=>tn!=null?[Ke(tn,"help",Mt)]:[].concat((0,he.Z)(Nr.map((Dt,nr)=>Ke(Dt,"error","error",nr))),(0,he.Z)(gn.map((Dt,nr)=>Ke(Dt,"warning","warning",nr)))),[tn,Mt,Nr,gn]),pt=le.useMemo(()=>{const Dt={};return an.forEach(nr=>{let{key:Tr}=nr;Dt[Tr]=(Dt[Tr]||0)+1}),an.map((nr,Tr)=>Object.assign(Object.assign({},nr),{key:Dt[nr.key]>1?`${nr.key}-fallback-${Tr}`:nr.key}))},[an]),kn={};return Ie&&(kn.id=`${Ie}_help`),Wt(le.createElement(fe.default,{motionDeadline:Pn.motionDeadline,motionName:`${Pe}-show-help`,visible:!!pt.length,onVisibleChanged:Ft},Dt=>{const{className:nr,style:Tr}=Dt;return le.createElement("div",Object.assign({},kn,{className:be()(Ye,nr,Qn,Xt,ve,Xn),style:Tr}),le.createElement(fe.CSSMotionList,Object.assign({keys:pt},(0,we.Z)(Pe),{motionName:`${Pe}-show-help-item`,component:!1}),pr=>{const{key:xr,error:er,errorStatus:Dr,className:mr,style:Xr}=pr;return le.createElement("div",{key:xr,className:be()(mr,{[`${Ye}-${Dr}`]:Dr}),style:Xr},er)}))}))},Kt=y(69180),On=y(48755),wt=y(2171),$e=y(31756),Ee=y(23069),en=y(76846),on=y(16722);const it=["parentNode"],Ht="form_item";function Yt(kt){return kt===void 0||kt===!1?[]:Array.isArray(kt)?kt:[kt]}function Rn(kt,tn){if(!kt.length)return;const Mt=kt.join("_");return tn?`${tn}_${Mt}`:it.includes(Mt)?`${Ht}_${Mt}`:Mt}function ct(kt,tn,Mt,rn,lt,ve){let Ie=rn;return ve!==void 0?Ie=ve:Mt.validating?Ie="validating":kt.length?Ie="error":tn.length?Ie="warning":(Mt.touched||lt&&Mt.validated)&&(Ie="success"),Ie}var Sn=function(kt,tn){var Mt={};for(var rn in kt)Object.prototype.hasOwnProperty.call(kt,rn)&&tn.indexOf(rn)<0&&(Mt[rn]=kt[rn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,rn=Object.getOwnPropertySymbols(kt);ltkt!=null?kt:Object.assign(Object.assign({},tn),{__INTERNAL__:{itemRef:lt=>ve=>{const Ie=Zt(lt);ve?Mt.current[Ie]=ve:delete Mt.current[Ie]}},scrollToField:function(lt){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Ie}=ve,Ft=Sn(ve,["focus"]),Pe=vn(lt,rn);Pe&&((0,on.Z)(Pe,Object.assign({scrollMode:"if-needed",block:"nearest"},Ft)),Ie&&rn.focusField(lt))},focusField:lt=>{var ve,Ie;const Ft=rn.getFieldInstance(lt);typeof(Ft==null?void 0:Ft.focus)=="function"?Ft.focus():(Ie=(ve=vn(lt,rn))===null||ve===void 0?void 0:ve.focus)===null||Ie===void 0||Ie.call(ve)},getFieldInstance:lt=>{const ve=Zt(lt);return Mt.current[ve]}}),[kt,tn]);return[rn]}var De=y(98350),me=function(kt,tn){var Mt={};for(var rn in kt)Object.prototype.hasOwnProperty.call(kt,rn)&&tn.indexOf(rn)<0&&(Mt[rn]=kt[rn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,rn=Object.getOwnPropertySymbols(kt);lt{const Mt=le.useContext(wt.Z),{getPrefixCls:rn,direction:lt,requiredMark:ve,colon:Ie,scrollToFirstError:Ft,className:Pe,style:Ye}=(0,On.dj)("form"),{prefixCls:Xt,className:Wt,rootClassName:Xn,size:Qn,disabled:Pn=Mt,form:Nr,colon:gn,labelAlign:an,labelWrap:pt,labelCol:kn,wrapperCol:Dt,hideRequiredMark:nr,layout:Tr="horizontal",scrollToFirstError:pr,requiredMark:xr,onFinishFailed:er,name:Dr,style:mr,feedbackIcons:Xr,variant:Vr}=kt,Zr=me(kt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),vr=(0,$e.Z)(Qn),ta=le.useContext(De.Z),Lr=le.useMemo(()=>xr!==void 0?xr:nr?!1:ve!==void 0?ve:!0,[nr,xr,ve]),sa=gn!=null?gn:Ie,Ur=rn("form",Xt),ua=(0,Oe.Z)(Ur),[Vt,Sa,ra]=Tt(Ur,ua),ia=be()(Ur,`${Ur}-${Tr}`,{[`${Ur}-hide-required-mark`]:Lr===!1,[`${Ur}-rtl`]:lt==="rtl",[`${Ur}-${vr}`]:vr},ra,ua,Sa,Pe,Wt,Xn),[pa]=un(Nr),{__INTERNAL__:ma}=pa;ma.name=Dr;const kr=le.useMemo(()=>({name:Dr,labelAlign:an,labelCol:kn,labelWrap:pt,wrapperCol:Dt,vertical:Tr==="vertical",colon:sa,requiredMark:Lr,itemRef:ma.itemRef,form:pa,feedbackIcons:Xr}),[Dr,an,kn,Dt,Tr,sa,Lr,pa,Xr]),Qr=le.useRef(null);le.useImperativeHandle(tn,()=>{var dr;return Object.assign(Object.assign({},pa),{nativeElement:(dr=Qr.current)===null||dr===void 0?void 0:dr.nativeElement})});const Kr=(dr,fr)=>{if(dr){let tr={block:"nearest"};typeof dr=="object"&&(tr=Object.assign(Object.assign({},tr),dr)),pa.scrollToField(fr,tr)}},Jn=dr=>{if(er==null||er(dr),dr.errorFields.length){const fr=dr.errorFields[0].name;if(pr!==void 0){Kr(pr,fr);return}Ft!==void 0&&Kr(Ft,fr)}};return Vt(le.createElement(b.pg.Provider,{value:Vr},le.createElement(wt.n,{disabled:Pn},le.createElement(Ee.Z.Provider,{value:vr},le.createElement(b.RV,{validateMessages:ta},le.createElement(b.q3.Provider,{value:kr},le.createElement(Kt.default,Object.assign({id:Dr},Zr,{name:Dr,onFinishFailed:Jn,form:pa,ref:Qr,style:Object.assign(Object.assign({},Ye),mr),className:ia}))))))))};var Ue=le.forwardRef(ce),ge=y(41799),Me=y(8654),ot=y(22703),Qt=y(32383),At=y(11592);function vt(kt){if(typeof kt=="function")return kt;const tn=(0,At.Z)(kt);return tn.length<=1?tn[0]:tn}const Ct=()=>{const{status:kt,errors:tn=[],warnings:Mt=[]}=le.useContext(b.aM);return{status:kt,errors:tn,warnings:Mt}};Ct.Context=b.aM;var Ut=Ct,$t=y(16089);function fn(kt){const[tn,Mt]=le.useState(kt),rn=le.useRef(null),lt=le.useRef([]),ve=le.useRef(!1);le.useEffect(()=>(ve.current=!1,()=>{ve.current=!0,$t.Z.cancel(rn.current),rn.current=null}),[]);function Ie(Ft){ve.current||(rn.current===null&&(lt.current=[],rn.current=(0,$t.Z)(()=>{rn.current=null,Mt(Pe=>{let Ye=Pe;return lt.current.forEach(Xt=>{Ye=Xt(Ye)}),Ye})})),lt.current.push(Ft))}return[tn,Ie]}function dn(){const{itemRef:kt}=le.useContext(b.q3),tn=le.useRef({});function Mt(rn,lt){const ve=lt&&typeof lt=="object"&&(0,Me.C4)(lt),Ie=rn.join("_");return(tn.current.name!==Ie||tn.current.originRef!==ve)&&(tn.current.name=Ie,tn.current.originRef=ve,tn.current.ref=(0,Me.sQ)(kt(rn),ve)),tn.current.ref}return Mt}var Bt=y(29194),Mn=y(34280),Dn=y(2738),Cn=y(65970),sn=y(70425),An=y(5472);const xn=kt=>{const{formItemCls:tn}=kt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${tn}-control`]:{display:"flex"}}}};var Lt=(0,et.bk)(["Form","item-item"],(kt,tn)=>{let{rootPrefixCls:Mt}=tn;const rn=ut(kt,Mt);return[xn(rn)]}),qt=function(kt,tn){var Mt={};for(var rn in kt)Object.prototype.hasOwnProperty.call(kt,rn)&&tn.indexOf(rn)<0&&(Mt[rn]=kt[rn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,rn=Object.getOwnPropertySymbols(kt);lt{const{prefixCls:tn,status:Mt,labelCol:rn,wrapperCol:lt,children:ve,errors:Ie,warnings:Ft,_internalItemRender:Pe,extra:Ye,help:Xt,fieldId:Wt,marginBottom:Xn,onErrorVisibleChanged:Qn,label:Pn}=kt,Nr=`${tn}-item`,gn=le.useContext(b.q3),an=le.useMemo(()=>{let Zr=Object.assign({},lt||gn.wrapperCol||{});return Pn===null&&!rn&&!lt&&gn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(ta=>{const Lr=ta?[ta]:[],sa=(0,sn.U2)(gn.labelCol,Lr),Ur=typeof sa=="object"?sa:{},ua=(0,sn.U2)(Zr,Lr),Vt=typeof ua=="object"?ua:{};"span"in Ur&&!("offset"in Vt)&&Ur.span{const{labelCol:Zr,wrapperCol:vr}=gn;return qt(gn,["labelCol","wrapperCol"])},[gn]),Dt=le.useRef(null),[nr,Tr]=le.useState(0);(0,Mn.Z)(()=>{Ye&&Dt.current?Tr(Dt.current.clientHeight):Tr(0)},[Ye]);const pr=le.createElement("div",{className:`${Nr}-control-input`},le.createElement("div",{className:`${Nr}-control-input-content`},ve)),xr=le.useMemo(()=>({prefixCls:tn,status:Mt}),[tn,Mt]),er=Xn!==null||Ie.length||Ft.length?le.createElement(b.Rk.Provider,{value:xr},le.createElement(Nt,{fieldId:Wt,errors:Ie,warnings:Ft,help:Xt,helpStatus:Mt,className:`${Nr}-explain-connected`,onVisibleChanged:Qn})):null,Dr={};Wt&&(Dr.id=`${Wt}_extra`);const mr=Ye?le.createElement("div",Object.assign({},Dr,{className:`${Nr}-extra`,ref:Dt}),Ye):null,Xr=er||mr?le.createElement("div",{className:`${Nr}-additional`,style:Xn?{minHeight:Xn+nr}:{}},er,mr):null,Vr=Pe&&Pe.mark==="pro_table_render"&&Pe.render?Pe.render(kt,{input:pr,errorList:er,extra:mr}):le.createElement(le.Fragment,null,pr,Xr);return le.createElement(b.q3.Provider,{value:kn},le.createElement(An.Z,Object.assign({},an,{className:pt}),Vr),le.createElement(Lt,{prefixCls:tn}))},ft=y(61485),de=y(9017),wn=y(85981),Un=y(25399),mn=function(kt,tn){var Mt={};for(var rn in kt)Object.prototype.hasOwnProperty.call(kt,rn)&&tn.indexOf(rn)<0&&(Mt[rn]=kt[rn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,rn=Object.getOwnPropertySymbols(kt);lt{let{prefixCls:tn,label:Mt,htmlFor:rn,labelCol:lt,labelAlign:ve,colon:Ie,required:Ft,requiredMark:Pe,tooltip:Ye,vertical:Xt}=kt;var Wt;const[Xn]=(0,de.Z)("Form"),{labelAlign:Qn,labelCol:Pn,labelWrap:Nr,colon:gn}=le.useContext(b.q3);if(!Mt)return null;const an=lt||Pn||{},pt=ve||Qn,kn=`${tn}-item-label`,Dt=be()(kn,pt==="left"&&`${kn}-left`,an.className,{[`${kn}-wrap`]:!!Nr});let nr=Mt;const Tr=Ie===!0||gn!==!1&&Ie!==!1;Tr&&!Xt&&typeof Mt=="string"&&Mt.trim()&&(nr=Mt.replace(/[:|:]\s*$/,""));const xr=Er(Ye);if(xr){const{icon:Zr=le.createElement(ft.Z,null)}=xr,vr=mn(xr,["icon"]),ta=le.createElement(Un.Z,Object.assign({},vr),le.cloneElement(Zr,{className:`${tn}-item-tooltip`,title:"",onClick:Lr=>{Lr.preventDefault()},tabIndex:null}));nr=le.createElement(le.Fragment,null,nr,ta)}const er=Pe==="optional",Dr=typeof Pe=="function",mr=Pe===!1;Dr?nr=Pe(nr,{required:!!Ft}):er&&!Ft&&(nr=le.createElement(le.Fragment,null,nr,le.createElement("span",{className:`${tn}-item-optional`,title:""},(Xn==null?void 0:Xn.optional)||((Wt=wn.Z.Form)===null||Wt===void 0?void 0:Wt.optional))));let Xr;mr?Xr="hidden":(er||Dr)&&(Xr="optional");const Vr=be()({[`${tn}-item-required`]:Ft,[`${tn}-item-required-mark-${Xr}`]:Xr,[`${tn}-item-no-colon`]:!Tr});return le.createElement(An.Z,Object.assign({},an,{className:Dt}),le.createElement("label",{htmlFor:rn,className:Vr,title:typeof Mt=="string"?Mt:""},nr))},wr=y(29679),St=y(19248),Kn=y(96512),ir=y(58617);const br={success:wr.Z,warning:Kn.Z,error:St.Z,validating:ir.Z};function qn(kt){let{children:tn,errors:Mt,warnings:rn,hasFeedback:lt,validateStatus:ve,prefixCls:Ie,meta:Ft,noStyle:Pe}=kt;const Ye=`${Ie}-item`,{feedbackIcons:Xt}=le.useContext(b.q3),Wt=ct(Mt,rn,Ft,null,!!lt,ve),{isFormItemInput:Xn,status:Qn,hasFeedback:Pn,feedbackIcon:Nr}=le.useContext(b.aM),gn=le.useMemo(()=>{var an;let pt;if(lt){const Dt=lt!==!0&<.icons||Xt,nr=Wt&&((an=Dt==null?void 0:Dt({status:Wt,errors:Mt,warnings:rn}))===null||an===void 0?void 0:an[Wt]),Tr=Wt&&br[Wt];pt=nr!==!1&&Tr?le.createElement("span",{className:be()(`${Ye}-feedback-icon`,`${Ye}-feedback-icon-${Wt}`)},nr||le.createElement(Tr,null)):null}const kn={status:Wt||"",errors:Mt,warnings:rn,hasFeedback:!!lt,feedbackIcon:pt,isFormItemInput:!0};return Pe&&(kn.status=(Wt!=null?Wt:Qn)||"",kn.isFormItemInput=Xn,kn.hasFeedback=!!(lt!=null?lt:Pn),kn.feedbackIcon=lt!==void 0?kn.feedbackIcon:Nr),kn},[Wt,lt,Pe,Xn,Qn]);return le.createElement(b.aM.Provider,{value:gn},tn)}var Ir=function(kt,tn){var Mt={};for(var rn in kt)Object.prototype.hasOwnProperty.call(kt,rn)&&tn.indexOf(rn)<0&&(Mt[rn]=kt[rn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,rn=Object.getOwnPropertySymbols(kt);lt{if(mr&&pr.current){const Ur=getComputedStyle(pr.current);Zr(parseInt(Ur.marginBottom,10))}},[mr,Xr]);const vr=Ur=>{Ur||Zr(null)},Lr=function(){let Ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const ua=Ur?xr:Ye.errors,Vt=Ur?er:Ye.warnings;return ct(ua,Vt,Ye,"",!!Xt,Pe)}(),sa=be()(kn,Mt,rn,{[`${kn}-with-help`]:Dr||xr.length||er.length,[`${kn}-has-feedback`]:Lr&&Xt,[`${kn}-has-success`]:Lr==="success",[`${kn}-has-warning`]:Lr==="warning",[`${kn}-has-error`]:Lr==="error",[`${kn}-is-validating`]:Lr==="validating",[`${kn}-hidden`]:Wt,[`${kn}-${an}`]:an});return le.createElement("div",{className:sa,style:lt,ref:pr},le.createElement(Cn.Z,Object.assign({className:`${kn}-row`},(0,Dn.Z)(pt,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),le.createElement(or,Object.assign({htmlFor:Qn},kt,{requiredMark:Dt,required:Pn!=null?Pn:Nr,prefixCls:tn,vertical:Tr})),le.createElement(Et,Object.assign({},kt,Ye,{errors:xr,warnings:er,prefixCls:tn,status:Lr,help:ve,marginBottom:Vr,onErrorVisibleChanged:vr}),le.createElement(b.qI.Provider,{value:gn},le.createElement(qn,{prefixCls:tn,meta:Ye,errors:Ye.errors,warnings:Ye.warnings,hasFeedback:Xt,validateStatus:Lr},Xn)))),!!Vr&&le.createElement("div",{className:`${kn}-margin-offset`,style:{marginBottom:-Vr}}))}const jn="__SPLIT__",$r=null;function Jr(kt,tn){const Mt=Object.keys(kt),rn=Object.keys(tn);return Mt.length===rn.length&&Mt.every(lt=>{const ve=kt[lt],Ie=tn[lt];return ve===Ie||typeof ve=="function"||typeof Ie=="function"})}const Gr=le.memo(kt=>{let{children:tn}=kt;return tn},(kt,tn)=>Jr(kt.control,tn.control)&&kt.update===tn.update&&kt.childProps.length===tn.childProps.length&&kt.childProps.every((Mt,rn)=>Mt===tn.childProps[rn]));function la(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Hr(kt){const{name:tn,noStyle:Mt,className:rn,dependencies:lt,prefixCls:ve,shouldUpdate:Ie,rules:Ft,children:Pe,required:Ye,label:Xt,messageVariables:Wt,trigger:Xn="onChange",validateTrigger:Qn,hidden:Pn,help:Nr,layout:gn}=kt,{getPrefixCls:an}=le.useContext(On.E_),{name:pt}=le.useContext(b.q3),kn=vt(Pe),Dt=typeof kn=="function",nr=le.useContext(b.qI),{validateTrigger:Tr}=le.useContext(Kt.FieldContext),pr=Qn!==void 0?Qn:Tr,xr=tn!=null,er=an("form",ve),Dr=(0,Oe.Z)(er),[mr,Xr,Vr]=Tt(er,Dr),Zr=(0,Qt.ln)("Form.Item"),vr=le.useContext(Kt.ListContext),ta=le.useRef(null),[Lr,sa]=fn({}),[Ur,ua]=(0,ge.Z)(()=>la()),Vt=Qr=>{const Kr=vr==null?void 0:vr.getKey(Qr.name);if(ua(Qr.destroy?la():Qr,!0),Mt&&Nr!==!1&&nr){let Jn=Qr.name;if(Qr.destroy)Jn=ta.current||Jn;else if(Kr!==void 0){const[dr,fr]=Kr;Jn=[dr].concat((0,he.Z)(fr)),ta.current=Jn}nr(Qr,Jn)}},Sa=(Qr,Kr)=>{sa(Jn=>{const dr=Object.assign({},Jn),tr=[].concat((0,he.Z)(Qr.name.slice(0,-1)),(0,he.Z)(Kr)).join(jn);return Qr.destroy?delete dr[tr]:dr[tr]=Qr,dr})},[ra,ia]=le.useMemo(()=>{const Qr=(0,he.Z)(Ur.errors),Kr=(0,he.Z)(Ur.warnings);return Object.values(Lr).forEach(Jn=>{Qr.push.apply(Qr,(0,he.Z)(Jn.errors||[])),Kr.push.apply(Kr,(0,he.Z)(Jn.warnings||[]))}),[Qr,Kr]},[Lr,Ur.errors,Ur.warnings]),pa=dn();function ma(Qr,Kr,Jn){return Mt&&!Pn?le.createElement(qn,{prefixCls:er,hasFeedback:kt.hasFeedback,validateStatus:kt.validateStatus,meta:Ur,errors:ra,warnings:ia,noStyle:!0},Qr):le.createElement(sr,Object.assign({key:"row"},kt,{className:be()(rn,Vr,Dr,Xr),prefixCls:er,fieldId:Kr,isRequired:Jn,errors:ra,warnings:ia,meta:Ur,onSubItemMetaChange:Sa,layout:gn}),Qr)}if(!xr&&!Dt&&!lt)return mr(ma(kn));let kr={};return typeof Xt=="string"?kr.label=Xt:tn&&(kr.label=String(tn)),Wt&&(kr=Object.assign(Object.assign({},kr),Wt)),mr(le.createElement(Kt.Field,Object.assign({},kt,{messageVariables:kr,trigger:Xn,validateTrigger:pr,onMetaChange:Vt}),(Qr,Kr,Jn)=>{const dr=Yt(tn).length&&Kr?Kr.name:[],fr=Rn(dr,pt),tr=Ye!==void 0?Ye:!!(Ft!=null&&Ft.some(lr=>{if(lr&&typeof lr=="object"&&lr.required&&!lr.warningOnly)return!0;if(typeof lr=="function"){const rr=lr(Jn);return(rr==null?void 0:rr.required)&&!(rr!=null&&rr.warningOnly)}return!1})),Ln=Object.assign({},Qr);let jr=null;if(Array.isArray(kn)&&xr)jr=kn;else if(!(Dt&&(!(Ie||lt)||xr))){if(!(lt&&!Dt&&!xr))if(le.isValidElement(kn)){const lr=Object.assign(Object.assign({},kn.props),Ln);if(lr.id||(lr.id=fr),Nr||ra.length>0||ia.length>0||kt.extra){const Mr=[];(Nr||ra.length>0)&&Mr.push(`${fr}_help`),kt.extra&&Mr.push(`${fr}_extra`),lr["aria-describedby"]=Mr.join(" ")}ra.length>0&&(lr["aria-invalid"]="true"),tr&&(lr["aria-required"]="true"),(0,Me.Yr)(kn)&&(lr.ref=pa(dr,kn)),new Set([].concat((0,he.Z)(Yt(Xn)),(0,he.Z)(Yt(pr)))).forEach(Mr=>{lr[Mr]=function(){for(var Ea,oa,Ca,Ha,Da,Na=arguments.length,Ua=new Array(Na),ga=0;ga{var{prefixCls:tn,children:Mt}=kt,rn=Wn(kt,["prefixCls","children"]);const{getPrefixCls:lt}=le.useContext(On.E_),ve=lt("form",tn),Ie=le.useMemo(()=>({prefixCls:ve,status:"error"}),[ve]);return le.createElement(Kt.List,Object.assign({},rn),(Ft,Pe,Ye)=>le.createElement(b.Rk.Provider,{value:Ie},Mt(Ft.map(Xt=>Object.assign(Object.assign({},Xt),{fieldKey:Xt.key})),Pe,{errors:Ye.errors,warnings:Ye.warnings})))};function ea(){const{form:kt}=le.useContext(b.q3);return kt}const Jt=Ue;Jt.Item=Yr,Jt.List=_r,Jt.ErrorList=Nt,Jt.useForm=un,Jt.useFormInstance=ea,Jt.useWatch=Kt.useWatch,Jt.Provider=b.RV,Jt.create=()=>{};var pn=Jt},75786:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Nr}});var b=y(59301),he=y(15277),le=y(92310),pe=y.n(le),be=y(60499),fe=y(85899),we=y(18642),Oe=y(72190),Re=y(43749),xe=y(42244),je=/margin|padding|width|height|max|min|offset/,Fe={left:!0,top:!0},xt={cssFloat:1,styleFloat:1,float:1};function nt(gn){return gn.nodeType===1?gn.ownerDocument.defaultView.getComputedStyle(gn,null):{}}function et(gn,an,pt){if(an=an.toLowerCase(),pt==="auto"){if(an==="height")return gn.offsetHeight;if(an==="width")return gn.offsetWidth}return an in Fe||(Fe[an]=je.test(an)),Fe[an]?parseFloat(pt)||0:pt}function Je(gn,an){var pt=arguments.length,kn=nt(gn);return an=xt[an]?"cssFloat"in gn.style?"cssFloat":"styleFloat":an,pt===1?kn:et(gn,an,kn[an]||gn.style[an])}function Ge(gn,an,pt){var kn=arguments.length;if(an=xt[an]?"cssFloat"in gn.style?"cssFloat":"styleFloat":an,kn===3)return typeof pt=="number"&&je.test(an)&&(pt="".concat(pt,"px")),gn.style[an]=pt,pt;for(var Dt in an)an.hasOwnProperty(Dt)&&Ge(gn,Dt,an[Dt]);return nt(gn)}function We(gn){return gn===document.body?document.documentElement.clientWidth:gn.offsetWidth}function Ve(gn){return gn===document.body?window.innerHeight||document.documentElement.clientHeight:gn.offsetHeight}function Qe(){var gn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),an=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:gn,height:an}}function He(){var gn=document.documentElement.clientWidth,an=window.innerHeight||document.documentElement.clientHeight;return{width:gn,height:an}}function _e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ze(gn){var an=gn.getBoundingClientRect(),pt=document.documentElement;return{left:an.left+(window.pageXOffset||pt.scrollLeft)-(pt.clientLeft||document.body.clientLeft||0),top:an.top+(window.pageYOffset||pt.scrollTop)-(pt.clientTop||document.body.clientTop||0)}}var tt=y(18929),gt=y(55311),rt=y(8224),It=y(10228),mt=y(43403),ut=y(77900),Tt=b.createContext(null),_t=function(an){var pt=an.visible,kn=an.maskTransitionName,Dt=an.getContainer,nr=an.prefixCls,Tr=an.rootClassName,pr=an.icons,xr=an.countRender,er=an.showSwitch,Dr=an.showProgress,mr=an.current,Xr=an.transform,Vr=an.count,Zr=an.scale,vr=an.minScale,ta=an.maxScale,Lr=an.closeIcon,sa=an.onActive,Ur=an.onClose,ua=an.onZoomIn,Vt=an.onZoomOut,Sa=an.onRotateRight,ra=an.onRotateLeft,ia=an.onFlipX,pa=an.onFlipY,ma=an.onReset,kr=an.toolbarRender,Qr=an.zIndex,Kr=an.image,Jn=(0,b.useContext)(Tt),dr=pr.rotateLeft,fr=pr.rotateRight,tr=pr.zoomIn,Ln=pr.zoomOut,jr=pr.close,lr=pr.left,rr=pr.right,yr=pr.flipX,Mr=pr.flipY,Ea="".concat(nr,"-operations-operation");b.useEffect(function(){var ui=function(ai){ai.keyCode===It.Z.ESC&&Ur()};return pt&&window.addEventListener("keydown",ui),function(){window.removeEventListener("keydown",ui)}},[pt]);var oa=function(ti,ai){ti.preventDefault(),ti.stopPropagation(),sa(ai)},Ca=b.useCallback(function(ui){var ti=ui.type,ai=ui.disabled,Or=ui.onClick,mi=ui.icon;return b.createElement("div",{key:ti,className:pe()(Ea,"".concat(nr,"-operations-operation-").concat(ti),(0,we.Z)({},"".concat(nr,"-operations-operation-disabled"),!!ai)),onClick:Or},mi)},[Ea,nr]),Ha=er?Ca({icon:lr,onClick:function(ti){return oa(ti,-1)},type:"prev",disabled:mr===0}):void 0,Da=er?Ca({icon:rr,onClick:function(ti){return oa(ti,1)},type:"next",disabled:mr===Vr-1}):void 0,Na=Ca({icon:Mr,onClick:pa,type:"flipY"}),Ua=Ca({icon:yr,onClick:ia,type:"flipX"}),ga=Ca({icon:dr,onClick:ra,type:"rotateLeft"}),Ma=Ca({icon:fr,onClick:Sa,type:"rotateRight"}),Qa=Ca({icon:Ln,onClick:Vt,type:"zoomOut",disabled:Zr<=vr}),Ri=Ca({icon:tr,onClick:ua,type:"zoomIn",disabled:Zr===ta}),Oi=b.createElement("div",{className:"".concat(nr,"-operations")},Na,Ua,ga,Ma,Qa,Ri);return b.createElement(ut.default,{visible:pt,motionName:kn},function(ui){var ti=ui.className,ai=ui.style;return b.createElement(mt.Z,{open:!0,getContainer:Dt!=null?Dt:document.body},b.createElement("div",{className:pe()("".concat(nr,"-operations-wrapper"),ti,Tr),style:(0,fe.Z)((0,fe.Z)({},ai),{},{zIndex:Qr})},Lr===null?null:b.createElement("button",{className:"".concat(nr,"-close"),onClick:Ur},Lr||jr),er&&b.createElement(b.Fragment,null,b.createElement("div",{className:pe()("".concat(nr,"-switch-left"),(0,we.Z)({},"".concat(nr,"-switch-left-disabled"),mr===0)),onClick:function(mi){return oa(mi,-1)}},lr),b.createElement("div",{className:pe()("".concat(nr,"-switch-right"),(0,we.Z)({},"".concat(nr,"-switch-right-disabled"),mr===Vr-1)),onClick:function(mi){return oa(mi,1)}},rr)),b.createElement("div",{className:"".concat(nr,"-footer")},Dr&&b.createElement("div",{className:"".concat(nr,"-progress")},xr?xr(mr+1,Vr):"".concat(mr+1," / ").concat(Vr)),kr?kr(Oi,(0,fe.Z)((0,fe.Z)({icons:{prevIcon:Ha,nextIcon:Da,flipYIcon:Na,flipXIcon:Ua,rotateLeftIcon:ga,rotateRightIcon:Ma,zoomOutIcon:Qa,zoomInIcon:Ri},actions:{onActive:sa,onFlipY:pa,onFlipX:ia,onRotateLeft:ra,onRotateRight:Sa,onZoomOut:Vt,onZoomIn:ua,onReset:ma,onClose:Ur},transform:Xr},Jn?{current:mr,total:Vr}:{}),{},{image:Kr})):Oi)))})},Ke=_t,Rt=y(13697),Nt=y(16089),Kt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function On(gn,an,pt,kn){var Dt=(0,b.useRef)(null),nr=(0,b.useRef)([]),Tr=(0,b.useState)(Kt),pr=(0,Oe.Z)(Tr,2),xr=pr[0],er=pr[1],Dr=function(Zr){er(Kt),(0,Rt.Z)(Kt,xr)||kn==null||kn({transform:Kt,action:Zr})},mr=function(Zr,vr){Dt.current===null&&(nr.current=[],Dt.current=(0,Nt.Z)(function(){er(function(ta){var Lr=ta;return nr.current.forEach(function(sa){Lr=(0,fe.Z)((0,fe.Z)({},Lr),sa)}),Dt.current=null,kn==null||kn({transform:Lr,action:vr}),Lr})})),nr.current.push((0,fe.Z)((0,fe.Z)({},xr),Zr))},Xr=function(Zr,vr,ta,Lr,sa){var Ur=gn.current,ua=Ur.width,Vt=Ur.height,Sa=Ur.offsetWidth,ra=Ur.offsetHeight,ia=Ur.offsetLeft,pa=Ur.offsetTop,ma=Zr,kr=xr.scale*Zr;kr>pt?(kr=pt,ma=pt/xr.scale):krkn){if(an>0)return(0,we.Z)({},gn,nr);if(an<0&&Dtkn)return(0,we.Z)({},gn,an<0?nr:-nr);return{}}function Ee(gn,an,pt,kn){var Dt=He(),nr=Dt.width,Tr=Dt.height,pr=null;return gn<=nr&&an<=Tr?pr={x:0,y:0}:(gn>nr||an>Tr)&&(pr=(0,fe.Z)((0,fe.Z)({},$e("x",pt,gn,nr)),$e("y",kn,an,Tr))),pr}var en=1,on=1;function it(gn,an,pt,kn,Dt,nr,Tr){var pr=Dt.rotate,xr=Dt.scale,er=Dt.x,Dr=Dt.y,mr=(0,b.useState)(!1),Xr=(0,Oe.Z)(mr,2),Vr=Xr[0],Zr=Xr[1],vr=(0,b.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),ta=function(Vt){!an||Vt.button!==0||(Vt.preventDefault(),Vt.stopPropagation(),vr.current={diffX:Vt.pageX-er,diffY:Vt.pageY-Dr,transformX:er,transformY:Dr},Zr(!0))},Lr=function(Vt){pt&&Vr&&nr({x:Vt.pageX-vr.current.diffX,y:Vt.pageY-vr.current.diffY},"move")},sa=function(){if(pt&&Vr){Zr(!1);var Vt=vr.current,Sa=Vt.transformX,ra=Vt.transformY,ia=er!==Sa&&Dr!==ra;if(!ia)return;var pa=gn.current.offsetWidth*xr,ma=gn.current.offsetHeight*xr,kr=gn.current.getBoundingClientRect(),Qr=kr.left,Kr=kr.top,Jn=pr%180!==0,dr=Ee(Jn?ma:pa,Jn?pa:ma,Qr,Kr);dr&&nr((0,fe.Z)({},dr),"dragRebound")}},Ur=function(Vt){if(!(!pt||Vt.deltaY==0)){var Sa=Math.abs(Vt.deltaY/100),ra=Math.min(Sa,on),ia=en+ra*kn;Vt.deltaY>0&&(ia=en/ia),Tr(ia,"wheel",Vt.clientX,Vt.clientY)}};return(0,b.useEffect)(function(){var ua,Vt,Sa,ra;if(an){Sa=(0,rt.Z)(window,"mouseup",sa,!1),ra=(0,rt.Z)(window,"mousemove",Lr,!1);try{window.top!==window.self&&(ua=(0,rt.Z)(window.top,"mouseup",sa,!1),Vt=(0,rt.Z)(window.top,"mousemove",Lr,!1))}catch(ia){(0,wt.Kp)(!1,"[rc-image] ".concat(ia))}}return function(){var ia,pa,ma,kr;(ia=Sa)===null||ia===void 0||ia.remove(),(pa=ra)===null||pa===void 0||pa.remove(),(ma=ua)===null||ma===void 0||ma.remove(),(kr=Vt)===null||kr===void 0||kr.remove()}},[pt,Vr,er,Dr,pr,an]),{isMoving:Vr,onMouseDown:ta,onMouseMove:Lr,onMouseUp:sa,onWheel:Ur}}function Ht(gn){return new Promise(function(an){if(!gn){an(!1);return}var pt=document.createElement("img");pt.onerror=function(){return an(!1)},pt.onload=function(){return an(!0)},pt.src=gn})}function Yt(gn){var an=gn.src,pt=gn.isCustomPlaceholder,kn=gn.fallback,Dt=(0,b.useState)(pt?"loading":"normal"),nr=(0,Oe.Z)(Dt,2),Tr=nr[0],pr=nr[1],xr=(0,b.useRef)(!1),er=Tr==="error";(0,b.useEffect)(function(){var Vr=!0;return Ht(an).then(function(Zr){!Zr&&Vr&&pr("error")}),function(){Vr=!1}},[an]),(0,b.useEffect)(function(){pt&&!xr.current?pr("loading"):er&&pr("normal")},[an]);var Dr=function(){pr("normal")},mr=function(Zr){xr.current=!1,Tr==="loading"&&Zr!==null&&Zr!==void 0&&Zr.complete&&(Zr.naturalWidth||Zr.naturalHeight)&&(xr.current=!0,Dr())},Xr=er&&kn?{src:kn}:{onLoad:Dr,src:an};return[mr,Xr,Tr]}function Rn(gn,an){var pt=gn.x-an.x,kn=gn.y-an.y;return Math.hypot(pt,kn)}function ct(gn,an,pt,kn){var Dt=Rn(gn,pt),nr=Rn(an,kn);if(Dt===0&&nr===0)return[gn.x,gn.y];var Tr=Dt/(Dt+nr),pr=gn.x+Tr*(an.x-gn.x),xr=gn.y+Tr*(an.y-gn.y);return[pr,xr]}function Sn(gn,an,pt,kn,Dt,nr,Tr){var pr=Dt.rotate,xr=Dt.scale,er=Dt.x,Dr=Dt.y,mr=(0,b.useState)(!1),Xr=(0,Oe.Z)(mr,2),Vr=Xr[0],Zr=Xr[1],vr=(0,b.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),ta=function(Vt){vr.current=(0,fe.Z)((0,fe.Z)({},vr.current),Vt)},Lr=function(Vt){if(an){Vt.stopPropagation(),Zr(!0);var Sa=Vt.touches,ra=Sa===void 0?[]:Sa;ra.length>1?ta({point1:{x:ra[0].clientX,y:ra[0].clientY},point2:{x:ra[1].clientX,y:ra[1].clientY},eventType:"touchZoom"}):ta({point1:{x:ra[0].clientX-er,y:ra[0].clientY-Dr},eventType:"move"})}},sa=function(Vt){var Sa=Vt.touches,ra=Sa===void 0?[]:Sa,ia=vr.current,pa=ia.point1,ma=ia.point2,kr=ia.eventType;if(ra.length>1&&kr==="touchZoom"){var Qr={x:ra[0].clientX,y:ra[0].clientY},Kr={x:ra[1].clientX,y:ra[1].clientY},Jn=ct(pa,ma,Qr,Kr),dr=(0,Oe.Z)(Jn,2),fr=dr[0],tr=dr[1],Ln=Rn(Qr,Kr)/Rn(pa,ma);Tr(Ln,"touchZoom",fr,tr,!0),ta({point1:Qr,point2:Kr,eventType:"touchZoom"})}else kr==="move"&&(nr({x:ra[0].clientX-pa.x,y:ra[0].clientY-pa.y},"move"),ta({eventType:"move"}))},Ur=function(){if(pt){if(Vr&&Zr(!1),ta({eventType:"none"}),kn>xr)return nr({x:0,y:0,scale:kn},"touchZoom");var Vt=gn.current.offsetWidth*xr,Sa=gn.current.offsetHeight*xr,ra=gn.current.getBoundingClientRect(),ia=ra.left,pa=ra.top,ma=pr%180!==0,kr=Ee(ma?Sa:Vt,ma?Vt:Sa,ia,pa);kr&&nr((0,fe.Z)({},kr),"dragRebound")}};return(0,b.useEffect)(function(){var ua;return pt&&an&&(ua=(0,rt.Z)(window,"touchmove",function(Vt){return Vt.preventDefault()},{passive:!1})),function(){var Vt;(Vt=ua)===null||Vt===void 0||Vt.remove()}},[pt,an]),{isTouching:Vr,onTouchStart:Lr,onTouchMove:sa,onTouchEnd:Ur}}var Zt=["fallback","src","imgRef"],vn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],un=function(an){var pt=an.fallback,kn=an.src,Dt=an.imgRef,nr=(0,xe.Z)(an,Zt),Tr=Yt({src:kn,fallback:pt}),pr=(0,Oe.Z)(Tr,2),xr=pr[0],er=pr[1];return b.createElement("img",(0,be.Z)({ref:function(mr){Dt.current=mr,xr(mr)}},nr,er))},De=function(an){var pt=an.prefixCls,kn=an.src,Dt=an.alt,nr=an.imageInfo,Tr=an.fallback,pr=an.movable,xr=pr===void 0?!0:pr,er=an.onClose,Dr=an.visible,mr=an.icons,Xr=mr===void 0?{}:mr,Vr=an.rootClassName,Zr=an.closeIcon,vr=an.getContainer,ta=an.current,Lr=ta===void 0?0:ta,sa=an.count,Ur=sa===void 0?1:sa,ua=an.countRender,Vt=an.scaleStep,Sa=Vt===void 0?.5:Vt,ra=an.minScale,ia=ra===void 0?1:ra,pa=an.maxScale,ma=pa===void 0?50:pa,kr=an.transitionName,Qr=kr===void 0?"zoom":kr,Kr=an.maskTransitionName,Jn=Kr===void 0?"fade":Kr,dr=an.imageRender,fr=an.imgCommonProps,tr=an.toolbarRender,Ln=an.onTransform,jr=an.onChange,lr=(0,xe.Z)(an,vn),rr=(0,b.useRef)(),yr=(0,b.useContext)(Tt),Mr=yr&&Ur>1,Ea=yr&&Ur>=1,oa=(0,b.useState)(!0),Ca=(0,Oe.Z)(oa,2),Ha=Ca[0],Da=Ca[1],Na=On(rr,ia,ma,Ln),Ua=Na.transform,ga=Na.resetTransform,Ma=Na.updateTransform,Qa=Na.dispatchZoomChange,Ri=it(rr,xr,Dr,Sa,Ua,Ma,Qa),Oi=Ri.isMoving,ui=Ri.onMouseDown,ti=Ri.onWheel,ai=Sn(rr,xr,Dr,ia,Ua,Ma,Qa),Or=ai.isTouching,mi=ai.onTouchStart,gi=ai.onTouchMove,ha=ai.onTouchEnd,$a=Ua.rotate,qa=Ua.scale,Fa=pe()((0,we.Z)({},"".concat(pt,"-moving"),Oi));(0,b.useEffect)(function(){Ha||Da(!0)},[Ha]);var Ja=function(){ga("close")},Ia=function(){Qa(en+Sa,"zoomIn")},wi=function(){Qa(en/(en+Sa),"zoomOut")},Bi=function(){Ma({rotate:$a+90},"rotateRight")},Fi=function(){Ma({rotate:$a-90},"rotateLeft")},Ti=function(){Ma({flipX:!Ua.flipX},"flipX")},so=function(){Ma({flipY:!Ua.flipY},"flipY")},Va=function(){ga("reset")},Aa=function(Pi){var Vi=Lr+Pi;!Number.isInteger(Vi)||Vi<0||Vi>Ur-1||(Da(!1),ga(Pi<0?"prev":"next"),jr==null||jr(Vi,Lr))},ja=function(Pi){!Dr||!Mr||(Pi.keyCode===It.Z.LEFT?Aa(-1):Pi.keyCode===It.Z.RIGHT&&Aa(1))},Pa=function(Pi){Dr&&(qa!==1?Ma({x:0,y:0,scale:1},"doubleClick"):Qa(en+Sa,"doubleClick",Pi.clientX,Pi.clientY))};(0,b.useEffect)(function(){var ii=(0,rt.Z)(window,"keydown",ja,!1);return function(){ii.remove()}},[Dr,Mr,Lr]);var gr=b.createElement(un,(0,be.Z)({},fr,{width:an.width,height:an.height,imgRef:rr,className:"".concat(pt,"-img"),alt:Dt,style:{transform:"translate3d(".concat(Ua.x,"px, ").concat(Ua.y,"px, 0) scale3d(").concat(Ua.flipX?"-":"").concat(qa,", ").concat(Ua.flipY?"-":"").concat(qa,", 1) rotate(").concat($a,"deg)"),transitionDuration:(!Ha||Or)&&"0s"},fallback:Tr,src:kn,onWheel:ti,onMouseDown:ui,onDoubleClick:Pa,onTouchStart:mi,onTouchMove:gi,onTouchEnd:ha,onTouchCancel:ha})),Oa=(0,fe.Z)({url:kn,alt:Dt},nr);return b.createElement(b.Fragment,null,b.createElement(gt.Z,(0,be.Z)({transitionName:Qr,maskTransitionName:Jn,closable:!1,keyboard:!0,prefixCls:pt,onClose:er,visible:Dr,classNames:{wrapper:Fa},rootClassName:Vr,getContainer:vr},lr,{afterClose:Ja}),b.createElement("div",{className:"".concat(pt,"-img-wrapper")},dr?dr(gr,(0,fe.Z)({transform:Ua,image:Oa},yr?{current:Lr}:{})):gr)),b.createElement(Ke,{visible:Dr,transform:Ua,maskTransitionName:Jn,closeIcon:Zr,getContainer:vr,prefixCls:pt,rootClassName:Vr,icons:Xr,countRender:ua,showSwitch:Mr,showProgress:Ea,current:Lr,count:Ur,scale:qa,minScale:ia,maxScale:ma,toolbarRender:tr,onActive:Aa,onZoomIn:Ia,onZoomOut:wi,onRotateRight:Bi,onRotateLeft:Fi,onFlipX:Ti,onFlipY:so,onClose:er,onReset:Va,zIndex:lr.zIndex!==void 0?lr.zIndex+1:void 0,image:Oa}))},me=De,ce=y(77654),Te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function Ue(gn){var an=b.useState({}),pt=(0,Oe.Z)(an,2),kn=pt[0],Dt=pt[1],nr=b.useCallback(function(pr,xr){return Dt(function(er){return(0,fe.Z)((0,fe.Z)({},er),{},(0,we.Z)({},pr,xr))}),function(){Dt(function(er){var Dr=(0,fe.Z)({},er);return delete Dr[pr],Dr})}},[]),Tr=b.useMemo(function(){return gn?gn.map(function(pr){if(typeof pr=="string")return{data:{src:pr}};var xr={};return Object.keys(pr).forEach(function(er){["src"].concat((0,ce.Z)(Te)).includes(er)&&(xr[er]=pr[er])}),{data:xr}}):Object.keys(kn).reduce(function(pr,xr){var er=kn[xr],Dr=er.canPreview,mr=er.data;return Dr&&pr.push({data:mr,id:xr}),pr},[])},[gn,kn]);return[Tr,nr,!!gn]}var ge=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Me=["src"],ot=function(an){var pt,kn=an.previewPrefixCls,Dt=kn===void 0?"rc-image-preview":kn,nr=an.children,Tr=an.icons,pr=Tr===void 0?{}:Tr,xr=an.items,er=an.preview,Dr=an.fallback,mr=(0,Re.Z)(er)==="object"?er:{},Xr=mr.visible,Vr=mr.onVisibleChange,Zr=mr.getContainer,vr=mr.current,ta=mr.movable,Lr=mr.minScale,sa=mr.maxScale,Ur=mr.countRender,ua=mr.closeIcon,Vt=mr.onChange,Sa=mr.onTransform,ra=mr.toolbarRender,ia=mr.imageRender,pa=(0,xe.Z)(mr,ge),ma=Ue(xr),kr=(0,Oe.Z)(ma,3),Qr=kr[0],Kr=kr[1],Jn=kr[2],dr=(0,tt.Z)(0,{value:vr}),fr=(0,Oe.Z)(dr,2),tr=fr[0],Ln=fr[1],jr=(0,b.useState)(!1),lr=(0,Oe.Z)(jr,2),rr=lr[0],yr=lr[1],Mr=((pt=Qr[tr])===null||pt===void 0?void 0:pt.data)||{},Ea=Mr.src,oa=(0,xe.Z)(Mr,Me),Ca=(0,tt.Z)(!!Xr,{value:Xr,onChange:function(Or,mi){Vr==null||Vr(Or,mi,tr)}}),Ha=(0,Oe.Z)(Ca,2),Da=Ha[0],Na=Ha[1],Ua=(0,b.useState)(null),ga=(0,Oe.Z)(Ua,2),Ma=ga[0],Qa=ga[1],Ri=b.useCallback(function(ai,Or,mi,gi){var ha=Jn?Qr.findIndex(function($a){return $a.data.src===Or}):Qr.findIndex(function($a){return $a.id===ai});Ln(ha<0?0:ha),Na(!0),Qa({x:mi,y:gi}),yr(!0)},[Qr,Jn]);b.useEffect(function(){Da?rr||Ln(0):yr(!1)},[Da]);var Oi=function(Or,mi){Ln(Or),Vt==null||Vt(Or,mi)},ui=function(){Na(!1),Qa(null)},ti=b.useMemo(function(){return{register:Kr,onPreview:Ri}},[Kr,Ri]);return b.createElement(Tt.Provider,{value:ti},nr,b.createElement(me,(0,be.Z)({"aria-hidden":!Da,movable:ta,visible:Da,prefixCls:Dt,closeIcon:ua,onClose:ui,mousePosition:Ma,imgCommonProps:oa,src:Ea,fallback:Dr,icons:pr,minScale:Lr,maxScale:sa,getContainer:Zr,current:tr,count:Qr.length,countRender:Ur,onTransform:Sa,toolbarRender:ra,imageRender:ia,onChange:Oi},pa)))},Qt=ot,At=0;function vt(gn,an){var pt=b.useState(function(){return At+=1,String(At)}),kn=(0,Oe.Z)(pt,1),Dt=kn[0],nr=b.useContext(Tt),Tr={data:an,canPreview:gn};return b.useEffect(function(){if(nr)return nr.register(Dt,Tr)},[]),b.useEffect(function(){nr&&nr.register(Dt,Tr)},[gn,an]),Dt}var Ct=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Ut=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],$t=function(an){var pt=an.src,kn=an.alt,Dt=an.onPreviewClose,nr=an.prefixCls,Tr=nr===void 0?"rc-image":nr,pr=an.previewPrefixCls,xr=pr===void 0?"".concat(Tr,"-preview"):pr,er=an.placeholder,Dr=an.fallback,mr=an.width,Xr=an.height,Vr=an.style,Zr=an.preview,vr=Zr===void 0?!0:Zr,ta=an.className,Lr=an.onClick,sa=an.onError,Ur=an.wrapperClassName,ua=an.wrapperStyle,Vt=an.rootClassName,Sa=(0,xe.Z)(an,Ct),ra=er&&er!==!0,ia=(0,Re.Z)(vr)==="object"?vr:{},pa=ia.src,ma=ia.visible,kr=ma===void 0?void 0:ma,Qr=ia.onVisibleChange,Kr=Qr===void 0?Dt:Qr,Jn=ia.getContainer,dr=Jn===void 0?void 0:Jn,fr=ia.mask,tr=ia.maskClassName,Ln=ia.movable,jr=ia.icons,lr=ia.scaleStep,rr=ia.minScale,yr=ia.maxScale,Mr=ia.imageRender,Ea=ia.toolbarRender,oa=(0,xe.Z)(ia,Ut),Ca=pa!=null?pa:pt,Ha=(0,tt.Z)(!!kr,{value:kr,onChange:Kr}),Da=(0,Oe.Z)(Ha,2),Na=Da[0],Ua=Da[1],ga=Yt({src:pt,isCustomPlaceholder:ra,fallback:Dr}),Ma=(0,Oe.Z)(ga,3),Qa=Ma[0],Ri=Ma[1],Oi=Ma[2],ui=(0,b.useState)(null),ti=(0,Oe.Z)(ui,2),ai=ti[0],Or=ti[1],mi=(0,b.useContext)(Tt),gi=!!vr,ha=function(){Ua(!1),Or(null)},$a=pe()(Tr,Ur,Vt,(0,we.Z)({},"".concat(Tr,"-error"),Oi==="error")),qa=(0,b.useMemo)(function(){var wi={};return Te.forEach(function(Bi){an[Bi]!==void 0&&(wi[Bi]=an[Bi])}),wi},Te.map(function(wi){return an[wi]})),Fa=(0,b.useMemo)(function(){return(0,fe.Z)((0,fe.Z)({},qa),{},{src:Ca})},[Ca,qa]),Ja=vt(gi,Fa),Ia=function(Bi){var Fi=Ze(Bi.target),Ti=Fi.left,so=Fi.top;mi?mi.onPreview(Ja,Ca,Ti,so):(Or({x:Ti,y:so}),Ua(!0)),Lr==null||Lr(Bi)};return b.createElement(b.Fragment,null,b.createElement("div",(0,be.Z)({},Sa,{className:$a,onClick:gi?Ia:Lr,style:(0,fe.Z)({width:mr,height:Xr},ua)}),b.createElement("img",(0,be.Z)({},qa,{className:pe()("".concat(Tr,"-img"),(0,we.Z)({},"".concat(Tr,"-img-placeholder"),er===!0),ta),style:(0,fe.Z)({height:Xr},Vr),ref:Qa},Ri,{width:mr,height:Xr,onError:sa})),Oi==="loading"&&b.createElement("div",{"aria-hidden":"true",className:"".concat(Tr,"-placeholder")},er),fr&&gi&&b.createElement("div",{className:pe()("".concat(Tr,"-mask"),tr),style:{display:(Vr==null?void 0:Vr.display)==="none"?"none":void 0}},fr)),!mi&&gi&&b.createElement(me,(0,be.Z)({"aria-hidden":!Na,visible:Na,prefixCls:xr,onClose:ha,mousePosition:ai,src:Ca,alt:kn,imageInfo:{width:mr,height:Xr},fallback:Dr,getContainer:dr,icons:jr,movable:Ln,scaleStep:lr,minScale:rr,maxScale:yr,rootClassName:Vt,imageRender:Mr,imgCommonProps:qa,toolbarRender:Ea},oa)))};$t.PreviewGroup=Qt;var fn=$t,dn=fn,Bt=y(75030),Mn=y(86641),Dn=y(48755),Cn=y(83397),sn=y(9017),An=y(99267),xn=y(33853),Lt=y(38819),qt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},zt=qt,bn=y(7657),Et=function(an,pt){return b.createElement(bn.Z,(0,be.Z)({},an,{ref:pt,icon:zt}))},ft=b.forwardRef(Et),de=ft,wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Un=wn,mn=function(an,pt){return b.createElement(bn.Z,(0,be.Z)({},an,{ref:pt,icon:Un}))},Er=b.forwardRef(mn),Sr=Er,or={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},wr=or,St=function(an,pt){return b.createElement(bn.Z,(0,be.Z)({},an,{ref:pt,icon:wr}))},Kn=b.forwardRef(St),ir=Kn,br={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},qn=br,Ir=function(an,pt){return b.createElement(bn.Z,(0,be.Z)({},an,{ref:pt,icon:qn}))},sr=b.forwardRef(Ir),jn=sr,$r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Jr=$r,Gr=function(an,pt){return b.createElement(bn.Z,(0,be.Z)({},an,{ref:pt,icon:Jr}))},la=b.forwardRef(Gr),Hr=la,fa=y(36237),Yr=y(17835),Wn=y(64427),ur=y(63356),_r=y(34925),ea=y(99495),Jt=y(16931),pn=y(51636);const kt=gn=>({position:gn||"absolute",inset:0}),tn=gn=>{const{iconCls:an,motionDurationSlow:pt,paddingXXS:kn,marginXXS:Dt,prefixCls:nr,colorTextLightSolid:Tr}=gn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Tr,background:new Yr.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${pt}`,[`.${nr}-mask-info`]:Object.assign(Object.assign({},ur.vS),{padding:`0 ${(0,fa.unit)(kn)}`,[an]:{marginInlineEnd:Dt,svg:{verticalAlign:"baseline"}}})}},Mt=gn=>{const{previewCls:an,modalMaskBg:pt,paddingSM:kn,marginXL:Dt,margin:nr,paddingLG:Tr,previewOperationColorDisabled:pr,previewOperationHoverColor:xr,motionDurationSlow:er,iconCls:Dr,colorTextLightSolid:mr}=gn,Xr=new Yr.FastColor(pt).setA(.1),Vr=Xr.clone().setA(.2);return{[`${an}-footer`]:{position:"fixed",bottom:Dt,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:gn.previewOperationColor,transform:"translateX(-50%)"},[`${an}-progress`]:{marginBottom:nr},[`${an}-close`]:{position:"fixed",top:Dt,right:{_skip_check_:!0,value:Dt},display:"flex",color:mr,backgroundColor:Xr.toRgbString(),borderRadius:"50%",padding:kn,outline:0,border:0,cursor:"pointer",transition:`all ${er}`,"&:hover":{backgroundColor:Vr.toRgbString()},[`& > ${Dr}`]:{fontSize:gn.previewOperationSize}},[`${an}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,fa.unit)(Tr)}`,backgroundColor:Xr.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:kn,padding:kn,cursor:"pointer",transition:`all ${er}`,userSelect:"none",[`&:not(${an}-operations-operation-disabled):hover > ${Dr}`]:{color:xr},"&-disabled":{color:pr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Dr}`]:{fontSize:gn.previewOperationSize}}}}},rn=gn=>{const{modalMaskBg:an,iconCls:pt,previewOperationColorDisabled:kn,previewCls:Dt,zIndexPopup:nr,motionDurationSlow:Tr}=gn,pr=new Yr.FastColor(an).setA(.1),xr=pr.clone().setA(.2);return{[`${Dt}-switch-left, ${Dt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:gn.calc(nr).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:gn.imagePreviewSwitchSize,height:gn.imagePreviewSwitchSize,marginTop:gn.calc(gn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:gn.previewOperationColor,background:pr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Tr}`,userSelect:"none","&:hover":{background:xr.toRgbString()},"&-disabled":{"&, &:hover":{color:kn,background:"transparent",cursor:"not-allowed",[`> ${pt}`]:{cursor:"not-allowed"}}},[`> ${pt}`]:{fontSize:gn.previewOperationSize}},[`${Dt}-switch-left`]:{insetInlineStart:gn.marginSM},[`${Dt}-switch-right`]:{insetInlineEnd:gn.marginSM}}},lt=gn=>{const{motionEaseOut:an,previewCls:pt,motionDurationSlow:kn,componentCls:Dt}=gn;return[{[`${Dt}-preview-root`]:{[pt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${pt}-body`]:Object.assign(Object.assign({},kt()),{overflow:"hidden"}),[`${pt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${kn} ${an} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},kt()),{transition:`transform ${kn} ${an} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${pt}-moving`]:{[`${pt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Dt}-preview-root`]:{[`${pt}-wrap`]:{zIndex:gn.zIndexPopup}}},{[`${Dt}-preview-operations-wrapper`]:{position:"fixed",zIndex:gn.calc(gn.zIndexPopup).add(1).equal()},"&":[Mt(gn),rn(gn)]}]},ve=gn=>{const{componentCls:an}=gn;return{[an]:{position:"relative",display:"inline-block",[`${an}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${an}-img-placeholder`]:{backgroundColor:gn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${an}-mask`]:Object.assign({},tn(gn)),[`${an}-mask:hover`]:{opacity:1},[`${an}-placeholder`]:Object.assign({},kt())}}},Ie=gn=>{const{previewCls:an}=gn;return{[`${an}-root`]:(0,_r._y)(gn,"zoom"),"&":(0,ea.J$)(gn,!0)}},Ft=gn=>({zIndexPopup:gn.zIndexPopupBase+80,previewOperationColor:new Yr.FastColor(gn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new Yr.FastColor(gn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new Yr.FastColor(gn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:gn.fontSizeIcon*1.5});var Pe=(0,Jt.I$)("Image",gn=>{const an=`${gn.componentCls}-preview`,pt=(0,pn.mergeToken)(gn,{previewCls:an,modalMaskBg:new Yr.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:gn.controlHeightLG});return[ve(pt),lt(pt),(0,Wn.QA)((0,pn.mergeToken)(pt,{componentCls:an})),Ie(pt)]},Ft),Ye=function(gn,an){var pt={};for(var kn in gn)Object.prototype.hasOwnProperty.call(gn,kn)&&an.indexOf(kn)<0&&(pt[kn]=gn[kn]);if(gn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,kn=Object.getOwnPropertySymbols(gn);Dt{var{previewPrefixCls:an,preview:pt}=gn,kn=Ye(gn,["previewPrefixCls","preview"]);const{getPrefixCls:Dt}=b.useContext(Dn.E_),nr=Dt("image",an),Tr=`${nr}-preview`,pr=Dt(),xr=(0,Cn.Z)(nr),[er,Dr,mr]=Pe(nr,xr),[Xr]=(0,Bt.Cn)("ImagePreview",typeof pt=="object"?pt.zIndex:void 0),Vr=b.useMemo(()=>{var Zr;if(pt===!1)return pt;const vr=typeof pt=="object"?pt:{},ta=pe()(Dr,mr,xr,(Zr=vr.rootClassName)!==null&&Zr!==void 0?Zr:"");return Object.assign(Object.assign({},vr),{transitionName:(0,Mn.m)(pr,"zoom",vr.transitionName),maskTransitionName:(0,Mn.m)(pr,"fade",vr.maskTransitionName),rootClassName:ta,zIndex:Xr})},[pt]);return er(b.createElement(dn.PreviewGroup,Object.assign({preview:Vr,previewPrefixCls:Tr,icons:Xt},kn)))},Qn=function(gn,an){var pt={};for(var kn in gn)Object.prototype.hasOwnProperty.call(gn,kn)&&an.indexOf(kn)<0&&(pt[kn]=gn[kn]);if(gn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dt=0,kn=Object.getOwnPropertySymbols(gn);Dt{const{prefixCls:an,preview:pt,className:kn,rootClassName:Dt,style:nr}=gn,Tr=Qn(gn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:pr,getPopupContainer:xr,className:er,style:Dr,preview:mr}=(0,Dn.dj)("image"),[Xr]=(0,sn.Z)("Image"),Vr=pr("image",an),Zr=pr(),vr=(0,Cn.Z)(Vr),[ta,Lr,sa]=Pe(Vr,vr),Ur=pe()(Dt,Lr,sa,vr),ua=pe()(kn,Lr,er),[Vt]=(0,Bt.Cn)("ImagePreview",typeof pt=="object"?pt.zIndex:void 0),Sa=b.useMemo(()=>{if(pt===!1)return pt;const ia=typeof pt=="object"?pt:{},{getContainer:pa,closeIcon:ma,rootClassName:kr}=ia,Qr=Qn(ia,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:b.createElement("div",{className:`${Vr}-mask-info`},b.createElement(he.Z,null),Xr==null?void 0:Xr.preview),icons:Xt},Qr),{rootClassName:pe()(Ur,kr),getContainer:pa!=null?pa:xr,transitionName:(0,Mn.m)(Zr,"zoom",ia.transitionName),maskTransitionName:(0,Mn.m)(Zr,"fade",ia.maskTransitionName),zIndex:Vt,closeIcon:ma!=null?ma:mr==null?void 0:mr.closeIcon})},[pt,Xr,mr==null?void 0:mr.closeIcon]),ra=Object.assign(Object.assign({},Dr),nr);return ta(b.createElement(dn,Object.assign({prefixCls:Vr,preview:Sa,rootClassName:Ur,className:ua,style:ra},Tr)))};Pn.PreviewGroup=Xn;var Nr=Pn},4875:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return bn}});var b=y(59301),he=y(84105),le=y(87395),pe=y(92310),be=y.n(pe),fe=y(60499),we=y(18642),Oe=y(43749),Re=y(72190),xe=y(42244),je=y(38705),Fe=y(17212);function xt(){return typeof BigInt=="function"}function nt(Et){return!Et&&Et!==0&&!Number.isNaN(Et)||!String(Et).trim()}function et(Et){var ft=Et.trim(),de=ft.startsWith("-");de&&(ft=ft.slice(1)),ft=ft.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),ft.startsWith(".")&&(ft="0".concat(ft));var wn=ft||"0",Un=wn.split("."),mn=Un[0]||"0",Er=Un[1]||"0";mn==="0"&&Er==="0"&&(de=!1);var Sr=de?"-":"";return{negative:de,negativeStr:Sr,trimStr:wn,integerStr:mn,decimalStr:Er,fullStr:"".concat(Sr).concat(wn)}}function Je(Et){var ft=String(Et);return!Number.isNaN(Number(ft))&&ft.includes("e")}function Ge(Et){var ft=String(Et);if(Je(Et)){var de=Number(ft.slice(ft.indexOf("e-")+2)),wn=ft.match(/\.(\d+)/);return wn!=null&&wn[1]&&(de+=wn[1].length),de}return ft.includes(".")&&Ve(ft)?ft.length-ft.indexOf(".")-1:0}function We(Et){var ft=String(Et);if(Je(Et)){if(Et>Number.MAX_SAFE_INTEGER)return String(xt()?BigInt(Et).toString():Number.MAX_SAFE_INTEGER);if(Et0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":et("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Et}(),He=function(){function Et(ft){if((0,je.Z)(this,Et),(0,we.Z)(this,"origin",""),(0,we.Z)(this,"number",void 0),(0,we.Z)(this,"empty",void 0),nt(ft)){this.empty=!0;return}this.origin=String(ft),this.number=Number(ft)}return(0,Fe.Z)(Et,[{key:"negate",value:function(){return new Et(-this.toNumber())}},{key:"add",value:function(de){if(this.isInvalidate())return new Et(de);var wn=Number(de);if(Number.isNaN(wn))return this;var Un=this.number+wn;if(Un>Number.MAX_SAFE_INTEGER)return new Et(Number.MAX_SAFE_INTEGER);if(UnNumber.MAX_SAFE_INTEGER)return new Et(Number.MAX_SAFE_INTEGER);if(Un0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":We(this.number):this.origin}}]),Et}();function _e(Et){return xt()?new Qe(Et):new He(Et)}function Ze(Et,ft,de){var wn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Et==="")return"";var Un=et(Et),mn=Un.negativeStr,Er=Un.integerStr,Sr=Un.decimalStr,or="".concat(ft).concat(Sr),wr="".concat(mn).concat(Er);if(de>=0){var St=Number(Sr[de]);if(St>=5&&!wn){var Kn=_e(Et).add("".concat(mn,"0.").concat("0".repeat(de)).concat(10-St));return Ze(Kn.toString(),ft,de,wn)}return de===0?wr:"".concat(wr).concat(ft).concat(Sr.padEnd(de,"0").slice(0,de))}return or===".0"?wr:"".concat(wr).concat(or)}var tt=_e,gt=y(36901),rt=y(34280);function It(Et,ft){return typeof Proxy!="undefined"&&Et?new Proxy(Et,{get:function(wn,Un){if(ft[Un])return ft[Un];var mn=wn[Un];return typeof mn=="function"?mn.bind(wn):mn}}):Et}var mt=y(8654),ut=y(48736);function Tt(Et,ft){var de=(0,b.useRef)(null);function wn(){try{var mn=Et.selectionStart,Er=Et.selectionEnd,Sr=Et.value,or=Sr.substring(0,mn),wr=Sr.substring(Er);de.current={start:mn,end:Er,value:Sr,beforeTxt:or,afterTxt:wr}}catch(St){}}function Un(){if(Et&&de.current&&ft)try{var mn=Et.value,Er=de.current,Sr=Er.beforeTxt,or=Er.afterTxt,wr=Er.start,St=mn.length;if(mn.startsWith(Sr))St=Sr.length;else if(mn.endsWith(or))St=mn.length-de.current.afterTxt.length;else{var Kn=Sr[wr-1],ir=mn.indexOf(Kn,wr-1);ir!==-1&&(St=ir+1)}Et.setSelectionRange(St,St)}catch(br){(0,ut.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(br.message))}}return[wn,Un]}var _t=y(49658),Ke=function(){var ft=(0,b.useState)(!1),de=(0,Re.Z)(ft,2),wn=de[0],Un=de[1];return(0,rt.Z)(function(){Un((0,_t.Z)())},[]),wn},Rt=Ke,Nt=y(16089),Kt=200,On=600;function wt(Et){var ft=Et.prefixCls,de=Et.upNode,wn=Et.downNode,Un=Et.upDisabled,mn=Et.downDisabled,Er=Et.onStep,Sr=b.useRef(),or=b.useRef([]),wr=b.useRef();wr.current=Er;var St=function(){clearTimeout(Sr.current)},Kn=function(Jr,Gr){Jr.preventDefault(),St(),wr.current(Gr);function la(){wr.current(Gr),Sr.current=setTimeout(la,Kt)}Sr.current=setTimeout(la,On)};b.useEffect(function(){return function(){St(),or.current.forEach(function($r){return Nt.Z.cancel($r)})}},[]);var ir=Rt();if(ir)return null;var br="".concat(ft,"-handler"),qn=be()(br,"".concat(br,"-up"),(0,we.Z)({},"".concat(br,"-up-disabled"),Un)),Ir=be()(br,"".concat(br,"-down"),(0,we.Z)({},"".concat(br,"-down-disabled"),mn)),sr=function(){return or.current.push((0,Nt.Z)(St))},jn={unselectable:"on",role:"button",onMouseUp:sr,onMouseLeave:sr};return b.createElement("div",{className:"".concat(br,"-wrap")},b.createElement("span",(0,fe.Z)({},jn,{onMouseDown:function(Jr){Kn(Jr,!0)},"aria-label":"Increase Value","aria-disabled":Un,className:qn}),de||b.createElement("span",{unselectable:"on",className:"".concat(ft,"-handler-up-inner")})),b.createElement("span",(0,fe.Z)({},jn,{onMouseDown:function(Jr){Kn(Jr,!1)},"aria-label":"Decrease Value","aria-disabled":mn,className:Ir}),wn||b.createElement("span",{unselectable:"on",className:"".concat(ft,"-handler-down-inner")})))}function $e(Et){var ft=typeof Et=="number"?We(Et):et(Et).fullStr,de=ft.includes(".");return de?et(ft.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Et+"0"}var Ee=y(30292),en=function(){var Et=(0,b.useRef)(0),ft=function(){Nt.Z.cancel(Et.current)};return(0,b.useEffect)(function(){return ft},[]),function(de){ft(),Et.current=(0,Nt.Z)(function(){de()})}},on=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],it=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Ht=function(ft,de){return ft||de.isEmpty()?de.toString():de.toNumber()},Yt=function(ft){var de=tt(ft);return de.isInvalidate()?null:de},Rn=b.forwardRef(function(Et,ft){var de=Et.prefixCls,wn=Et.className,Un=Et.style,mn=Et.min,Er=Et.max,Sr=Et.step,or=Sr===void 0?1:Sr,wr=Et.defaultValue,St=Et.value,Kn=Et.disabled,ir=Et.readOnly,br=Et.upHandler,qn=Et.downHandler,Ir=Et.keyboard,sr=Et.changeOnWheel,jn=sr===void 0?!1:sr,$r=Et.controls,Jr=$r===void 0?!0:$r,Gr=Et.classNames,la=Et.stringMode,Hr=Et.parser,fa=Et.formatter,Yr=Et.precision,Wn=Et.decimalSeparator,ur=Et.onChange,_r=Et.onInput,ea=Et.onPressEnter,Jt=Et.onStep,pn=Et.changeOnBlur,kt=pn===void 0?!0:pn,tn=Et.domRef,Mt=(0,xe.Z)(Et,on),rn="".concat(de,"-input"),lt=b.useRef(null),ve=b.useState(!1),Ie=(0,Re.Z)(ve,2),Ft=Ie[0],Pe=Ie[1],Ye=b.useRef(!1),Xt=b.useRef(!1),Wt=b.useRef(!1),Xn=b.useState(function(){return tt(St!=null?St:wr)}),Qn=(0,Re.Z)(Xn,2),Pn=Qn[0],Nr=Qn[1];function gn(fr){St===void 0&&Nr(fr)}var an=b.useCallback(function(fr,tr){if(!tr)return Yr>=0?Yr:Math.max(Ge(fr),Ge(or))},[Yr,or]),pt=b.useCallback(function(fr){var tr=String(fr);if(Hr)return Hr(tr);var Ln=tr;return Wn&&(Ln=Ln.replace(Wn,".")),Ln.replace(/[^\w.-]+/g,"")},[Hr,Wn]),kn=b.useRef(""),Dt=b.useCallback(function(fr,tr){if(fa)return fa(fr,{userTyping:tr,input:String(kn.current)});var Ln=typeof fr=="number"?We(fr):fr;if(!tr){var jr=an(Ln,tr);if(Ve(Ln)&&(Wn||jr>=0)){var lr=Wn||".";Ln=Ze(Ln,lr,jr)}}return Ln},[fa,an,Wn]),nr=b.useState(function(){var fr=wr!=null?wr:St;return Pn.isInvalidate()&&["string","number"].includes((0,Oe.Z)(fr))?Number.isNaN(fr)?"":fr:Dt(Pn.toString(),!1)}),Tr=(0,Re.Z)(nr,2),pr=Tr[0],xr=Tr[1];kn.current=pr;function er(fr,tr){xr(Dt(fr.isInvalidate()?fr.toString(!1):fr.toString(!tr),tr))}var Dr=b.useMemo(function(){return Yt(Er)},[Er,Yr]),mr=b.useMemo(function(){return Yt(mn)},[mn,Yr]),Xr=b.useMemo(function(){return!Dr||!Pn||Pn.isInvalidate()?!1:Dr.lessEquals(Pn)},[Dr,Pn]),Vr=b.useMemo(function(){return!mr||!Pn||Pn.isInvalidate()?!1:Pn.lessEquals(mr)},[mr,Pn]),Zr=Tt(lt.current,Ft),vr=(0,Re.Z)(Zr,2),ta=vr[0],Lr=vr[1],sa=function(tr){return Dr&&!tr.lessEquals(Dr)?Dr:mr&&!mr.lessEquals(tr)?mr:null},Ur=function(tr){return!sa(tr)},ua=function(tr,Ln){var jr=tr,lr=Ur(jr)||jr.isEmpty();if(!jr.isEmpty()&&!Ln&&(jr=sa(jr)||jr,lr=!0),!ir&&!Kn&&lr){var rr=jr.toString(),yr=an(rr,Ln);return yr>=0&&(jr=tt(Ze(rr,".",yr)),Ur(jr)||(jr=tt(Ze(rr,".",yr,!0)))),jr.equals(Pn)||(gn(jr),ur==null||ur(jr.isEmpty()?null:Ht(la,jr)),St===void 0&&er(jr,Ln)),jr}return Pn},Vt=en(),Sa=function fr(tr){if(ta(),kn.current=tr,xr(tr),!Xt.current){var Ln=pt(tr),jr=tt(Ln);jr.isNaN()||ua(jr,!0)}_r==null||_r(tr),Vt(function(){var lr=tr;Hr||(lr=tr.replace(/。/g,".")),lr!==tr&&fr(lr)})},ra=function(){Xt.current=!0},ia=function(){Xt.current=!1,Sa(lt.current.value)},pa=function(tr){Sa(tr.target.value)},ma=function(tr){var Ln;if(!(tr&&Xr||!tr&&Vr)){Ye.current=!1;var jr=tt(Wt.current?$e(or):or);tr||(jr=jr.negate());var lr=(Pn||tt(0)).add(jr.toString()),rr=ua(lr,!1);Jt==null||Jt(Ht(la,rr),{offset:Wt.current?$e(or):or,type:tr?"up":"down"}),(Ln=lt.current)===null||Ln===void 0||Ln.focus()}},kr=function(tr){var Ln=tt(pt(pr)),jr;Ln.isNaN()?jr=ua(Pn,tr):jr=ua(Ln,tr),St!==void 0?er(Pn,!1):jr.isNaN()||er(jr,!1)},Qr=function(){Ye.current=!0},Kr=function(tr){var Ln=tr.key,jr=tr.shiftKey;Ye.current=!0,Wt.current=jr,Ln==="Enter"&&(Xt.current||(Ye.current=!1),kr(!1),ea==null||ea(tr)),Ir!==!1&&!Xt.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ln)&&(ma(Ln==="Up"||Ln==="ArrowUp"),tr.preventDefault())},Jn=function(){Ye.current=!1,Wt.current=!1};b.useEffect(function(){if(jn&&Ft){var fr=function(jr){ma(jr.deltaY<0),jr.preventDefault()},tr=lt.current;if(tr)return tr.addEventListener("wheel",fr,{passive:!1}),function(){return tr.removeEventListener("wheel",fr)}}});var dr=function(){kt&&kr(!1),Pe(!1),Ye.current=!1};return(0,rt.o)(function(){Pn.isInvalidate()||er(Pn,!1)},[Yr,fa]),(0,rt.o)(function(){var fr=tt(St);Nr(fr);var tr=tt(pt(pr));(!fr.equals(tr)||!Ye.current||fa)&&er(fr,Ye.current)},[St]),(0,rt.o)(function(){fa&&Lr()},[pr]),b.createElement("div",{ref:tn,className:be()(de,wn,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(de,"-focused"),Ft),"".concat(de,"-disabled"),Kn),"".concat(de,"-readonly"),ir),"".concat(de,"-not-a-number"),Pn.isNaN()),"".concat(de,"-out-of-range"),!Pn.isInvalidate()&&!Ur(Pn))),style:Un,onFocus:function(){Pe(!0)},onBlur:dr,onKeyDown:Kr,onKeyUp:Jn,onCompositionStart:ra,onCompositionEnd:ia,onBeforeInput:Qr},Jr&&b.createElement(wt,{prefixCls:de,upNode:br,downNode:qn,upDisabled:Xr,downDisabled:Vr,onStep:ma}),b.createElement("div",{className:"".concat(rn,"-wrap")},b.createElement("input",(0,fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":mn,"aria-valuemax":Er,"aria-valuenow":Pn.isInvalidate()?null:Pn.toString(),step:or},Mt,{ref:(0,mt.sQ)(lt,ft),className:rn,value:pr,onChange:pa,disabled:Kn,readOnly:ir}))))}),ct=b.forwardRef(function(Et,ft){var de=Et.disabled,wn=Et.style,Un=Et.prefixCls,mn=Un===void 0?"rc-input-number":Un,Er=Et.value,Sr=Et.prefix,or=Et.suffix,wr=Et.addonBefore,St=Et.addonAfter,Kn=Et.className,ir=Et.classNames,br=(0,xe.Z)(Et,it),qn=b.useRef(null),Ir=b.useRef(null),sr=b.useRef(null),jn=function(Jr){sr.current&&(0,Ee.nH)(sr.current,Jr)};return b.useImperativeHandle(ft,function(){return It(sr.current,{focus:jn,nativeElement:qn.current.nativeElement||Ir.current})}),b.createElement(gt.BaseInput,{className:Kn,triggerFocus:jn,prefixCls:mn,value:Er,disabled:de,style:wn,prefix:Sr,suffix:or,addonAfter:St,addonBefore:wr,classNames:ir,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:qn},b.createElement(Rn,(0,fe.Z)({prefixCls:mn,disabled:de,ref:sr,domRef:Ir,className:ir==null?void 0:ir.input},br)))}),Sn=ct,Zt=Sn,vn=y(62487),un=y(82855),De=y(48755),me=y(60840),ce=y(2171),Te=y(83397),Ue=y(31756),ge=y(56553),Me=y(24971),ot=y(70045),Qt=y(36237),At=y(53075),vt=y(64910),Ct=y(39082),Ut=y(63356),$t=y(56119),fn=y(16931),dn=y(51636),Bt=y(17835);const Mn=Et=>{var ft;const de=(ft=Et.handleVisible)!==null&&ft!==void 0?ft:"auto",wn=Et.controlHeightSM-Et.lineWidth*2;return Object.assign(Object.assign({},(0,vt.T)(Et)),{controlWidth:90,handleWidth:wn,handleFontSize:Et.fontSize/2,handleVisible:de,handleActiveBg:Et.colorFillAlter,handleBg:Et.colorBgContainer,filledHandleBg:new Bt.FastColor(Et.colorFillSecondary).onBackground(Et.colorBgContainer).toHexString(),handleHoverColor:Et.colorPrimary,handleBorderColor:Et.colorBorder,handleOpacity:de===!0?1:0,handleVisibleWidth:de===!0?wn:0})},Dn=(Et,ft)=>{let{componentCls:de,borderRadiusSM:wn,borderRadiusLG:Un}=Et;const mn=ft==="lg"?Un:wn;return{[`&-${ft}`]:{[`${de}-handler-wrap`]:{borderStartEndRadius:mn,borderEndEndRadius:mn},[`${de}-handler-up`]:{borderStartEndRadius:mn},[`${de}-handler-down`]:{borderEndEndRadius:mn}}}},Cn=Et=>{const{componentCls:ft,lineWidth:de,lineType:wn,borderRadius:Un,inputFontSizeSM:mn,inputFontSizeLG:Er,controlHeightLG:Sr,controlHeightSM:or,colorError:wr,paddingInlineSM:St,paddingBlockSM:Kn,paddingBlockLG:ir,paddingInlineLG:br,colorTextDescription:qn,motionDurationMid:Ir,handleHoverColor:sr,handleOpacity:jn,paddingInline:$r,paddingBlock:Jr,handleBg:Gr,handleActiveBg:la,colorTextDisabled:Hr,borderRadiusSM:fa,borderRadiusLG:Yr,controlWidth:Wn,handleBorderColor:ur,filledHandleBg:_r,lineHeightLG:ea,calc:Jt}=Et;return[{[ft]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ut.Wf)(Et)),(0,At.ik)(Et)),{display:"inline-block",width:Wn,margin:0,padding:0,borderRadius:Un}),(0,Ct.qG)(Et,{[`${ft}-handler-wrap`]:{background:Gr,[`${ft}-handler-down`]:{borderBlockStart:`${(0,Qt.unit)(de)} ${wn} ${ur}`}}})),(0,Ct.H8)(Et,{[`${ft}-handler-wrap`]:{background:_r,[`${ft}-handler-down`]:{borderBlockStart:`${(0,Qt.unit)(de)} ${wn} ${ur}`}},"&:focus-within":{[`${ft}-handler-wrap`]:{background:Gr}}})),(0,Ct.vc)(Et,{[`${ft}-handler-wrap`]:{background:Gr,[`${ft}-handler-down`]:{borderBlockStart:`${(0,Qt.unit)(de)} ${wn} ${ur}`}}})),(0,Ct.Mu)(Et)),{"&-rtl":{direction:"rtl",[`${ft}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Er,lineHeight:ea,borderRadius:Yr,[`input${ft}-input`]:{height:Jt(Sr).sub(Jt(de).mul(2)).equal(),padding:`${(0,Qt.unit)(ir)} ${(0,Qt.unit)(br)}`}},"&-sm":{padding:0,fontSize:mn,borderRadius:fa,[`input${ft}-input`]:{height:Jt(or).sub(Jt(de).mul(2)).equal(),padding:`${(0,Qt.unit)(Kn)} ${(0,Qt.unit)(St)}`}},"&-out-of-range":{[`${ft}-input-wrap`]:{input:{color:wr}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Ut.Wf)(Et)),(0,At.s7)(Et)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${ft}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${ft}-group-addon`]:{borderRadius:Yr,fontSize:Et.fontSizeLG}},"&-sm":{[`${ft}-group-addon`]:{borderRadius:fa}}},(0,Ct.ir)(Et)),(0,Ct.S5)(Et)),{[`&:not(${ft}-compact-first-item):not(${ft}-compact-last-item)${ft}-compact-item`]:{[`${ft}, ${ft}-group-addon`]:{borderRadius:0}},[`&:not(${ft}-compact-last-item)${ft}-compact-first-item`]:{[`${ft}, ${ft}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${ft}-compact-first-item)${ft}-compact-last-item`]:{[`${ft}, ${ft}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${ft}-input`]:{cursor:"not-allowed"},[ft]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ut.Wf)(Et)),{width:"100%",padding:`${(0,Qt.unit)(Jr)} ${(0,Qt.unit)($r)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Un,outline:0,transition:`all ${Ir} linear`,appearance:"textfield",fontSize:"inherit"}),(0,At.nz)(Et.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${ft}-handler-wrap, &-focused ${ft}-handler-wrap`]:{width:Et.handleWidth,opacity:1}})},{[ft]:Object.assign(Object.assign(Object.assign({[`${ft}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Et.handleVisibleWidth,opacity:jn,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Un,borderEndEndRadius:Un,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Ir}`,overflow:"hidden",[`${ft}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${ft}-handler-up-inner, - ${ft}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:Et.handleFontSize}}},[`${ft}-handler`]:{height:"50%",overflow:"hidden",color:qn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,Qt.unit)(de)} ${wn} ${ur}`,transition:`all ${Ir} linear`,"&:active":{background:la},"&:hover":{height:"60%",[` - ${ft}-handler-up-inner, - ${ft}-handler-down-inner - `]:{color:sr}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Ut.Ro)()),{color:qn,transition:`all ${Ir} linear`,userSelect:"none"})},[`${ft}-handler-up`]:{borderStartEndRadius:Un},[`${ft}-handler-down`]:{borderEndEndRadius:Un}},Dn(Et,"lg")),Dn(Et,"sm")),{"&-disabled, &-readonly":{[`${ft}-handler-wrap`]:{display:"none"},[`${ft}-input`]:{color:"inherit"}},[` - ${ft}-handler-up-disabled, - ${ft}-handler-down-disabled + `]:{[`&:hover ${Oe}-inner`]:{backgroundColor:we.colorPrimaryHover,borderColor:"transparent"}}},{[Oe]:{"&-indeterminate":{[`${Oe}-inner`]:{backgroundColor:`${we.colorBgContainer} !important`,borderColor:`${we.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:we.calc(we.fontSizeLG).div(2).equal(),height:we.calc(we.fontSizeLG).div(2).equal(),backgroundColor:we.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${Oe}-inner`]:{backgroundColor:`${we.colorBgContainer} !important`,borderColor:`${we.colorPrimary} !important`}}}},{[`${Re}-disabled`]:{cursor:"not-allowed"},[`${Oe}-disabled`]:{[`&, ${Oe}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${Oe}-inner`]:{background:we.colorBgContainerDisabled,borderColor:we.colorBorder,"&:after":{borderColor:we.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:we.colorTextDisabled},[`&${Oe}-indeterminate ${Oe}-inner::after`]:{background:we.colorTextDisabled}}}]};function fe(we,Oe){const Re=(0,le.mergeToken)(Oe,{checkboxCls:`.${we}`,checkboxSize:Oe.controlInteractiveSize});return[be(Re)]}ae.ZP=(0,pe.I$)("Checkbox",(we,Oe)=>{let{prefixCls:Re}=Oe;return[fe(Re,we)]})},38406:function(Ce,ae,y){"use strict";var b=y(59301),me=y(48755),le=y(584);const pe=be=>{const{componentName:fe}=be,{getPrefixCls:we}=(0,b.useContext)(me.E_),Oe=we("empty");switch(fe){case"Table":case"List":return b.createElement(le.Z,{image:le.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(le.Z,{image:le.Z.PRESENTED_IMAGE_SIMPLE,className:`${Oe}-small`});case"Table.filter":return null;default:return b.createElement(le.Z,null)}};ae.Z=pe},36207:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return $t}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(85899),be=y(72190),fe=y(43403),we=y(34280),Oe=b.createContext(null),Re=b.createContext({}),xe=Oe,Ge=y(18642),Fe=y(60499),At=y(77900),at=y(10228),tt=y(26112),Je=y(42244),We=y(8654),Ve=["prefixCls","className","containerRef"],Ze=function(yt){var Dt=yt.prefixCls,Pt=yt.className,Wt=yt.containerRef,pn=(0,Je.Z)(yt,Ve),fn=b.useContext(Re),Mt=fn.panel,Ln=(0,We.x1)(Mt,Wt);return b.createElement("div",(0,Fe.Z)({className:le()("".concat(Dt,"-content"),Pt),role:"dialog",ref:Ln},(0,tt.Z)(yt,{aria:!0}),{"aria-modal":"true"},pn))},Qe=Ze,ze=y(48736);function _e(gt){return typeof gt=="string"&&String(Number(gt))===gt?((0,ze.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(gt)):gt}function $e(gt){warning(!("wrapperClassName"in gt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!gt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var nt={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function bt(gt,yt){var Dt,Pt,Wt,pn=gt.prefixCls,fn=gt.open,Mt=gt.placement,Ln=gt.inline,kn=gt.push,wn=gt.forceRender,ln=gt.autoFocus,In=gt.keyboard,xn=gt.classNames,kt=gt.rootClassName,Yt=gt.rootStyle,Ft=gt.zIndex,vn=gt.className,Ct=gt.id,pt=gt.style,de=gt.motion,qt=gt.width,Dn=gt.height,mn=gt.children,vr=gt.mask,yr=gt.maskClosable,ar=gt.maskMotion,Er=gt.maskClassName,wt=gt.maskStyle,Qn=gt.afterOpenChange,lr=gt.onClose,cr=gt.onMouseEnter,Yn=gt.onMouseOver,Sr=gt.onMouseLeave,br=gt.onClick,Nr=gt.onKeyDown,Jr=gt.onKeyUp,$r=gt.styles,Ur=gt.drawerRender,aa=b.useRef(),Hr=b.useRef(),pa=b.useRef();b.useImperativeHandle(yt,function(){return aa.current});var ea=function(Kt){var nn=Kt.keyCode,rt=Kt.shiftKey;switch(nn){case at.Z.TAB:{if(nn===at.Z.TAB){if(!rt&&document.activeElement===pa.current){var Jn;(Jn=Hr.current)===null||Jn===void 0||Jn.focus({preventScroll:!0})}else if(rt&&document.activeElement===Hr.current){var Bt;(Bt=pa.current)===null||Bt===void 0||Bt.focus({preventScroll:!0})}}break}case at.Z.ESC:{lr&&In&&(Kt.stopPropagation(),lr(Kt));break}}};b.useEffect(function(){if(fn&&ln){var an;(an=aa.current)===null||an===void 0||an.focus({preventScroll:!0})}},[fn]);var jn=b.useState(!1),sr=(0,be.Z)(jn,2),Kr=sr[0],zr=sr[1],ve=b.useContext(xe),Ie;typeof kn=="boolean"?Ie=kn?{}:{distance:0}:Ie=kn||{};var ut=(Dt=(Pt=(Wt=Ie)===null||Wt===void 0?void 0:Wt.distance)!==null&&Pt!==void 0?Pt:ve==null?void 0:ve.pushDistance)!==null&&Dt!==void 0?Dt:180,Le=b.useMemo(function(){return{pushDistance:ut,push:function(){zr(!0)},pull:function(){zr(!1)}}},[ut]);b.useEffect(function(){if(fn){var an;ve==null||(an=ve.push)===null||an===void 0||an.call(ve)}else{var Kt;ve==null||(Kt=ve.pull)===null||Kt===void 0||Kt.call(ve)}},[fn]),b.useEffect(function(){return function(){var an;ve==null||(an=ve.pull)===null||an===void 0||an.call(ve)}},[]);var He=vr&&b.createElement(At.default,(0,Fe.Z)({key:"mask"},ar,{visible:fn}),function(an,Kt){var nn=an.className,rt=an.style;return b.createElement("div",{className:le()("".concat(pn,"-mask"),nn,xn==null?void 0:xn.mask,Er),style:(0,pe.Z)((0,pe.Z)((0,pe.Z)({},rt),wt),$r==null?void 0:$r.mask),onClick:yr&&fn?lr:void 0,ref:Kt})}),Vt=typeof de=="function"?de(Mt):de,et={};if(Kr&&ut)switch(Mt){case"top":et.transform="translateY(".concat(ut,"px)");break;case"bottom":et.transform="translateY(".concat(-ut,"px)");break;case"left":et.transform="translateX(".concat(ut,"px)");break;default:et.transform="translateX(".concat(-ut,"px)");break}Mt==="left"||Mt==="right"?et.width=_e(qt):et.height=_e(Dn);var en={onMouseEnter:cr,onMouseOver:Yn,onMouseLeave:Sr,onClick:br,onKeyDown:Nr,onKeyUp:Jr},cn=b.createElement(At.default,(0,Fe.Z)({key:"panel"},Vt,{visible:fn,forceRender:wn,onVisibleChanged:function(Kt){Qn==null||Qn(Kt)},removeOnLeave:!1,leavedClassName:"".concat(pn,"-content-wrapper-hidden")}),function(an,Kt){var nn=an.className,rt=an.style,Jn=b.createElement(Qe,(0,Fe.Z)({id:Ct,containerRef:Kt,prefixCls:pn,className:le()(vn,xn==null?void 0:xn.content),style:(0,pe.Z)((0,pe.Z)({},pt),$r==null?void 0:$r.content)},(0,tt.Z)(gt,{aria:!0}),en),mn);return b.createElement("div",(0,Fe.Z)({className:le()("".concat(pn,"-content-wrapper"),xn==null?void 0:xn.wrapper,nn),style:(0,pe.Z)((0,pe.Z)((0,pe.Z)({},et),rt),$r==null?void 0:$r.wrapper)},(0,tt.Z)(gt,{data:!0})),Ur?Ur(Jn):Jn)}),Xt=(0,pe.Z)({},Yt);return Ft&&(Xt.zIndex=Ft),b.createElement(xe.Provider,{value:Le},b.createElement("div",{className:le()(pn,"".concat(pn,"-").concat(Mt),kt,(0,Ge.Z)((0,Ge.Z)({},"".concat(pn,"-open"),fn),"".concat(pn,"-inline"),Ln)),style:Xt,tabIndex:-1,ref:aa,onKeyDown:ea},He,b.createElement("div",{tabIndex:0,ref:Hr,style:nt,"aria-hidden":"true","data-sentinel":"start"}),cn,b.createElement("div",{tabIndex:0,ref:pa,style:nt,"aria-hidden":"true","data-sentinel":"end"})))}var it=b.forwardRef(bt),Nt=it,vt=function(yt){var Dt=yt.open,Pt=Dt===void 0?!1:Dt,Wt=yt.prefixCls,pn=Wt===void 0?"rc-drawer":Wt,fn=yt.placement,Mt=fn===void 0?"right":fn,Ln=yt.autoFocus,kn=Ln===void 0?!0:Ln,wn=yt.keyboard,ln=wn===void 0?!0:wn,In=yt.width,xn=In===void 0?378:In,kt=yt.mask,Yt=kt===void 0?!0:kt,Ft=yt.maskClosable,vn=Ft===void 0?!0:Ft,Ct=yt.getContainer,pt=yt.forceRender,de=yt.afterOpenChange,qt=yt.destroyOnClose,Dn=yt.onMouseEnter,mn=yt.onMouseOver,vr=yt.onMouseLeave,yr=yt.onClick,ar=yt.onKeyDown,Er=yt.onKeyUp,wt=yt.panelRef,Qn=b.useState(!1),lr=(0,be.Z)(Qn,2),cr=lr[0],Yn=lr[1],Sr=b.useState(!1),br=(0,be.Z)(Sr,2),Nr=br[0],Jr=br[1];(0,we.Z)(function(){Jr(!0)},[]);var $r=Nr?Pt:!1,Ur=b.useRef(),aa=b.useRef();(0,we.Z)(function(){$r&&(aa.current=document.activeElement)},[$r]);var Hr=function(Kr){var zr;if(Yn(Kr),de==null||de(Kr),!Kr&&aa.current&&!((zr=Ur.current)!==null&&zr!==void 0&&zr.contains(aa.current))){var ve;(ve=aa.current)===null||ve===void 0||ve.focus({preventScroll:!0})}},pa=b.useMemo(function(){return{panel:wt}},[wt]);if(!pt&&!cr&&!$r&&qt)return null;var ea={onMouseEnter:Dn,onMouseOver:mn,onMouseLeave:vr,onClick:yr,onKeyDown:ar,onKeyUp:Er},jn=(0,pe.Z)((0,pe.Z)({},yt),{},{open:$r,prefixCls:pn,placement:Mt,autoFocus:kn,keyboard:ln,width:xn,mask:Yt,maskClosable:vn,inline:Ct===!1,afterOpenChange:Hr,ref:Ur},ea);return b.createElement(Re.Provider,{value:pa},b.createElement(fe.Z,{open:$r||pt||cr,autoDestroy:!1,getContainer:Ct,autoLock:Yt&&($r||cr)},b.createElement(Nt,jn)))},dt=vt,It=dt,St=y(62487),qe=y(75030),Jt=y(86641),Rt=y(55743),Zt=y(48755),Tn=y(91190),Tt=y(78776),Ye=y(458),Qt=gt=>{var yt,Dt;const{prefixCls:Pt,title:Wt,footer:pn,extra:fn,loading:Mt,onClose:Ln,headerStyle:kn,bodyStyle:wn,footerStyle:ln,children:In,classNames:xn,styles:kt}=gt,Yt=(0,Zt.dj)("drawer"),Ft=b.useCallback(qt=>b.createElement("button",{type:"button",onClick:Ln,"aria-label":"Close",className:`${Pt}-close`},qt),[Ln]),[vn,Ct]=(0,Tt.Z)((0,Tt.w)(gt),(0,Tt.w)(Yt),{closable:!0,closeIconRender:Ft}),pt=b.useMemo(()=>{var qt,Dn;return!Wt&&!vn?null:b.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(qt=Yt.styles)===null||qt===void 0?void 0:qt.header),kn),kt==null?void 0:kt.header),className:le()(`${Pt}-header`,{[`${Pt}-header-close-only`]:vn&&!Wt&&!fn},(Dn=Yt.classNames)===null||Dn===void 0?void 0:Dn.header,xn==null?void 0:xn.header)},b.createElement("div",{className:`${Pt}-header-title`},Ct,Wt&&b.createElement("div",{className:`${Pt}-title`},Wt)),fn&&b.createElement("div",{className:`${Pt}-extra`},fn))},[vn,Ct,fn,kn,Pt,Wt]),de=b.useMemo(()=>{var qt,Dn;if(!pn)return null;const mn=`${Pt}-footer`;return b.createElement("div",{className:le()(mn,(qt=Yt.classNames)===null||qt===void 0?void 0:qt.footer,xn==null?void 0:xn.footer),style:Object.assign(Object.assign(Object.assign({},(Dn=Yt.styles)===null||Dn===void 0?void 0:Dn.footer),ln),kt==null?void 0:kt.footer)},pn)},[pn,ln,Pt]);return b.createElement(b.Fragment,null,pt,b.createElement("div",{className:le()(`${Pt}-body`,xn==null?void 0:xn.body,(yt=Yt.classNames)===null||yt===void 0?void 0:yt.body),style:Object.assign(Object.assign(Object.assign({},(Dt=Yt.styles)===null||Dt===void 0?void 0:Dt.body),wn),kt==null?void 0:kt.body)},Mt?b.createElement(Ye.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${Pt}-body-skeleton`}):In),de)},on=y(36237),st=y(63356),Ut=y(16931),Gt=y(51636);const On=gt=>{const yt="100%";return{left:`translateX(-${yt})`,right:`translateX(${yt})`,top:`translateY(-${yt})`,bottom:`translateY(${yt})`}[gt]},ft=(gt,yt)=>({"&-enter, &-appear":Object.assign(Object.assign({},gt),{"&-active":yt}),"&-leave":Object.assign(Object.assign({},yt),{"&-active":gt})}),En=(gt,yt)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${yt}`}}},ft({opacity:gt},{opacity:1})),Ht=(gt,yt)=>[En(.7,yt),ft({transform:On(gt)},{transform:"none"})];var un=gt=>{const{componentCls:yt,motionDurationSlow:Dt}=gt;return{[yt]:{[`${yt}-mask-motion`]:En(0,Dt),[`${yt}-panel-motion`]:["left","right","top","bottom"].reduce((Pt,Wt)=>Object.assign(Object.assign({},Pt),{[`&-${Wt}`]:Ht(Wt,Dt)}),{})}}};const De=gt=>{const{borderRadiusSM:yt,componentCls:Dt,zIndexPopup:Pt,colorBgMask:Wt,colorBgElevated:pn,motionDurationSlow:fn,motionDurationMid:Mt,paddingXS:Ln,padding:kn,paddingLG:wn,fontSizeLG:ln,lineHeightLG:In,lineWidth:xn,lineType:kt,colorSplit:Yt,marginXS:Ft,colorIcon:vn,colorIconHover:Ct,colorBgTextHover:pt,colorBgTextActive:de,colorText:qt,fontWeightStrong:Dn,footerPaddingBlock:mn,footerPaddingInline:vr,calc:yr}=gt,ar=`${Dt}-content-wrapper`;return{[Dt]:{position:"fixed",inset:0,zIndex:Pt,pointerEvents:"none",color:qt,"&-pure":{position:"relative",background:pn,display:"flex",flexDirection:"column",[`&${Dt}-left`]:{boxShadow:gt.boxShadowDrawerLeft},[`&${Dt}-right`]:{boxShadow:gt.boxShadowDrawerRight},[`&${Dt}-top`]:{boxShadow:gt.boxShadowDrawerUp},[`&${Dt}-bottom`]:{boxShadow:gt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Dt}-mask`]:{position:"absolute",inset:0,zIndex:Pt,background:Wt,pointerEvents:"auto"},[ar]:{position:"absolute",zIndex:Pt,maxWidth:"100vw",transition:`all ${fn}`,"&-hidden":{display:"none"}},[`&-left > ${ar}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:gt.boxShadowDrawerLeft},[`&-right > ${ar}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:gt.boxShadowDrawerRight},[`&-top > ${ar}`]:{top:0,insetInline:0,boxShadow:gt.boxShadowDrawerUp},[`&-bottom > ${ar}`]:{bottom:0,insetInline:0,boxShadow:gt.boxShadowDrawerDown},[`${Dt}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:pn,pointerEvents:"auto"},[`${Dt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,on.unit)(kn)} ${(0,on.unit)(wn)}`,fontSize:ln,lineHeight:In,borderBottom:`${(0,on.unit)(xn)} ${kt} ${Yt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Dt}-extra`]:{flex:"none"},[`${Dt}-close`]:Object.assign({display:"inline-flex",width:yr(ln).add(Ln).equal(),height:yr(ln).add(Ln).equal(),borderRadius:yt,justifyContent:"center",alignItems:"center",marginInlineEnd:Ft,color:vn,fontWeight:Dn,fontSize:ln,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Mt}`,textRendering:"auto","&:hover":{color:Ct,backgroundColor:pt,textDecoration:"none"},"&:active":{backgroundColor:de}},(0,st.Qy)(gt)),[`${Dt}-title`]:{flex:1,margin:0,fontWeight:gt.fontWeightStrong,fontSize:ln,lineHeight:In},[`${Dt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:wn,overflow:"auto",[`${Dt}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${Dt}-footer`]:{flexShrink:0,padding:`${(0,on.unit)(mn)} ${(0,on.unit)(vr)}`,borderTop:`${(0,on.unit)(xn)} ${kt} ${Yt}`},"&-rtl":{direction:"rtl"}}}},he=gt=>({zIndexPopup:gt.zIndexPopupBase,footerPaddingBlock:gt.paddingXS,footerPaddingInline:gt.padding});var ce=(0,Ut.I$)("Drawer",gt=>{const yt=(0,Gt.mergeToken)(gt,{});return[De(yt),un(yt)]},he),Te=function(gt,yt){var Dt={};for(var Pt in gt)Object.prototype.hasOwnProperty.call(gt,Pt)&&yt.indexOf(Pt)<0&&(Dt[Pt]=gt[Pt]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Pt=Object.getOwnPropertySymbols(gt);Wt{var yt;const{rootClassName:Dt,width:Pt,height:Wt,size:pn="default",mask:fn=!0,push:Mt=ge,open:Ln,afterOpenChange:kn,onClose:wn,prefixCls:ln,getContainer:In,style:xn,className:kt,visible:Yt,afterVisibleChange:Ft,maskStyle:vn,drawerStyle:Ct,contentWrapperStyle:pt}=gt,de=Te(gt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:qt,getPrefixCls:Dn,direction:mn,className:vr,style:yr,classNames:ar,styles:Er}=(0,Zt.dj)("drawer"),wt=Dn("drawer",ln),[Qn,lr,cr]=ce(wt),Yn=In===void 0&&qt?()=>qt(document.body):In,Sr=le()({"no-mask":!fn,[`${wt}-rtl`]:mn==="rtl"},Dt,lr,cr),br=b.useMemo(()=>Pt!=null?Pt:pn==="large"?736:378,[Pt,pn]),Nr=b.useMemo(()=>Wt!=null?Wt:pn==="large"?736:378,[Wt,pn]),Jr={motionName:(0,Jt.m)(wt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$r=jn=>({motionName:(0,Jt.m)(wt,`panel-motion-${jn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ur=(0,Tn.H)(),[aa,Hr]=(0,qe.Cn)("Drawer",de.zIndex),{classNames:pa={},styles:ea={}}=de;return Qn(b.createElement(St.Z,{form:!0,space:!0},b.createElement(Rt.Z.Provider,{value:Hr},b.createElement(It,Object.assign({prefixCls:wt,onClose:wn,maskMotion:Jr,motion:$r},de,{classNames:{mask:le()(pa.mask,ar.mask),content:le()(pa.content,ar.content),wrapper:le()(pa.wrapper,ar.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},ea.mask),vn),Er.mask),content:Object.assign(Object.assign(Object.assign({},ea.content),Ct),Er.content),wrapper:Object.assign(Object.assign(Object.assign({},ea.wrapper),pt),Er.wrapper)},open:Ln!=null?Ln:Yt,mask:fn,push:Mt,width:br,height:Nr,style:Object.assign(Object.assign({},yr),xn),className:le()(vr,kt),rootClassName:Sr,getContainer:Yn,afterOpenChange:kn!=null?kn:Ft,panelRef:Ur,zIndex:aa}),b.createElement(Qt,Object.assign({prefixCls:wt},de,{onClose:wn}))))))},ct=gt=>{const{prefixCls:yt,style:Dt,className:Pt,placement:Wt="right"}=gt,pn=Te(gt,["prefixCls","style","className","placement"]),{getPrefixCls:fn}=b.useContext(Zt.E_),Mt=fn("drawer",yt),[Ln,kn,wn]=ce(Mt),ln=le()(Mt,`${Mt}-pure`,`${Mt}-${Wt}`,kn,wn,Pt);return Ln(b.createElement("div",{className:ln,style:Dt},b.createElement(Qt,Object.assign({prefixCls:Mt},pn))))};Pe._InternalPanelDoNotUseOrYouWillBeFired=ct;var $t=Pe},19563:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return on}});var b=y(59301),me=y(33853),le=y(38819),pe=y(92310),be=y.n(pe),fe=y(96478),we=y(6089),Oe=y(18929),Re=y(2738),xe=y(75030),Fe=st=>typeof st!="object"&&typeof st!="function"||st===null,At=y(52838),at=y(45915),tt=y(22703),Je=y(32383),We=y(55743),Ve=y(48755),Ze=y(83397),Qe=y(93041),ze=y(78857),_e=y(57700),$e=y(36237),nt=y(63356),bt=y(46e3),it=y(93873),Nt=y(34925),vt=y(37645),dt=y(36305),It=y(16931),St=y(51636),Jt=st=>{const{componentCls:Ut,menuCls:Gt,colorError:On,colorTextLightSolid:ft}=st,En=`${Gt}-item`;return{[`${Ut}, ${Ut}-menu-submenu`]:{[`${Gt} ${En}`]:{[`&${En}-danger:not(${En}-disabled)`]:{color:On,"&:hover":{color:ft,backgroundColor:On}}}}}};const Rt=st=>{const{componentCls:Ut,menuCls:Gt,zIndexPopup:On,dropdownArrowDistance:ft,sizePopupArrow:En,antCls:Ht,iconCls:gn,motionDurationMid:un,paddingBlock:De,fontSize:he,dropdownEdgeChildPadding:ce,colorTextDisabled:Te,fontSizeIcon:je,controlPaddingHorizontal:ge,colorBgElevated:Pe}=st;return[{[Ut]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:On,display:"block","&::before":{position:"absolute",insetBlock:st.calc(En).div(2).sub(ft).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Ht}-btn`]:{[`& > ${gn}-down, & > ${Ht}-btn-icon > ${gn}-down`]:{fontSize:je}},[`${Ut}-wrap`]:{position:"relative",[`${Ht}-btn > ${gn}-down`]:{fontSize:je},[`${gn}-down::before`]:{transition:`transform ${un}`}},[`${Ut}-wrap-open`]:{[`${gn}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ht}-slide-down-enter${Ht}-slide-down-enter-active${Ut}-placement-bottomLeft, + &${Ht}-slide-down-appear${Ht}-slide-down-appear-active${Ut}-placement-bottomLeft, + &${Ht}-slide-down-enter${Ht}-slide-down-enter-active${Ut}-placement-bottom, + &${Ht}-slide-down-appear${Ht}-slide-down-appear-active${Ut}-placement-bottom, + &${Ht}-slide-down-enter${Ht}-slide-down-enter-active${Ut}-placement-bottomRight, + &${Ht}-slide-down-appear${Ht}-slide-down-appear-active${Ut}-placement-bottomRight`]:{animationName:bt.fJ},[`&${Ht}-slide-up-enter${Ht}-slide-up-enter-active${Ut}-placement-topLeft, + &${Ht}-slide-up-appear${Ht}-slide-up-appear-active${Ut}-placement-topLeft, + &${Ht}-slide-up-enter${Ht}-slide-up-enter-active${Ut}-placement-top, + &${Ht}-slide-up-appear${Ht}-slide-up-appear-active${Ut}-placement-top, + &${Ht}-slide-up-enter${Ht}-slide-up-enter-active${Ut}-placement-topRight, + &${Ht}-slide-up-appear${Ht}-slide-up-appear-active${Ut}-placement-topRight`]:{animationName:bt.Qt},[`&${Ht}-slide-down-leave${Ht}-slide-down-leave-active${Ut}-placement-bottomLeft, + &${Ht}-slide-down-leave${Ht}-slide-down-leave-active${Ut}-placement-bottom, + &${Ht}-slide-down-leave${Ht}-slide-down-leave-active${Ut}-placement-bottomRight`]:{animationName:bt.Uw},[`&${Ht}-slide-up-leave${Ht}-slide-up-leave-active${Ut}-placement-topLeft, + &${Ht}-slide-up-leave${Ht}-slide-up-leave-active${Ut}-placement-top, + &${Ht}-slide-up-leave${Ht}-slide-up-leave-active${Ut}-placement-topRight`]:{animationName:bt.ly}}},(0,vt.ZP)(st,Pe,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ut} ${Gt}`]:{position:"relative",margin:0},[`${Gt}-submenu-popup`]:{position:"absolute",zIndex:On,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ut}, ${Ut}-menu-submenu`]:Object.assign(Object.assign({},(0,nt.Wf)(st)),{[Gt]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:st.borderRadiusLG,outline:"none",boxShadow:st.boxShadowSecondary},(0,nt.Qy)(st)),{"&:empty":{padding:0,boxShadow:"none"},[`${Gt}-item-group-title`]:{padding:`${(0,$e.unit)(De)} ${(0,$e.unit)(ge)}`,color:st.colorTextDescription,transition:`all ${un}`},[`${Gt}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Gt}-item-icon`]:{minWidth:he,marginInlineEnd:st.marginXS,fontSize:st.fontSizeSM},[`${Gt}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${un}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Gt}-item-extra`]:{paddingInlineStart:st.padding,marginInlineStart:"auto",fontSize:st.fontSizeSM,color:st.colorTextDescription}},[`${Gt}-item, ${Gt}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,$e.unit)(De)} ${(0,$e.unit)(ge)}`,color:st.colorText,fontWeight:"normal",fontSize:he,lineHeight:st.lineHeight,cursor:"pointer",transition:`all ${un}`,borderRadius:st.borderRadiusSM,"&:hover, &-active":{backgroundColor:st.controlItemBgHover}},(0,nt.Qy)(st)),{"&-selected":{color:st.colorPrimary,backgroundColor:st.controlItemBgActive,"&:hover, &-active":{backgroundColor:st.controlItemBgActiveHover}},"&-disabled":{color:Te,cursor:"not-allowed","&:hover":{color:Te,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,$e.unit)(st.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:st.colorSplit},[`${Ut}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:st.paddingXS,[`${Ut}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:st.colorTextDescription,fontSize:je,fontStyle:"normal"}}}),[`${Gt}-item-group-list`]:{margin:`0 ${(0,$e.unit)(st.marginXS)}`,padding:0,listStyle:"none"},[`${Gt}-submenu-title`]:{paddingInlineEnd:st.calc(ge).add(st.fontSizeSM).equal()},[`${Gt}-submenu-vertical`]:{position:"relative"},[`${Gt}-submenu${Gt}-submenu-disabled ${Ut}-menu-submenu-title`]:{[`&, ${Ut}-menu-submenu-arrow-icon`]:{color:Te,backgroundColor:Pe,cursor:"not-allowed"}},[`${Gt}-submenu-selected ${Ut}-menu-submenu-title`]:{color:st.colorPrimary}})})},[(0,bt.oN)(st,"slide-up"),(0,bt.oN)(st,"slide-down"),(0,it.Fm)(st,"move-up"),(0,it.Fm)(st,"move-down"),(0,Nt._y)(st,"zoom-big")]]},Zt=st=>Object.assign(Object.assign({zIndexPopup:st.zIndexPopupBase+50,paddingBlock:(st.controlHeight-st.fontSize*st.lineHeight)/2},(0,vt.wZ)({contentRadius:st.borderRadiusLG,limitVerticalRadius:!0})),(0,dt.w)(st));var Tn=(0,It.I$)("Dropdown",st=>{const{marginXXS:Ut,sizePopupArrow:Gt,paddingXXS:On,componentCls:ft}=st,En=(0,St.mergeToken)(st,{menuCls:`${ft}-menu`,dropdownArrowDistance:st.calc(Gt).div(2).add(Ut).equal(),dropdownEdgeChildPadding:On});return[Rt(En),Jt(En)]},Zt,{resetStyle:!1});const Tt=null,Ye=st=>{var Ut;const{menu:Gt,arrow:On,prefixCls:ft,children:En,trigger:Ht,disabled:gn,dropdownRender:un,getPopupContainer:De,overlayClassName:he,rootClassName:ce,overlayStyle:Te,open:je,onOpenChange:ge,visible:Pe,onVisibleChange:ct,mouseEnterDelay:$t=.15,mouseLeaveDelay:gt=.1,autoAdjustOverflow:yt=!0,placement:Dt="",overlay:Pt,transitionName:Wt}=st,{getPopupContainer:pn,getPrefixCls:fn,direction:Mt,dropdown:Ln}=b.useContext(Ve.E_),kn=(0,Je.ln)("Dropdown"),wn=b.useMemo(()=>{const Yn=fn();return Wt!==void 0?Wt:Dt.includes("top")?`${Yn}-slide-down`:`${Yn}-slide-up`},[fn,Dt,Wt]),ln=b.useMemo(()=>Dt?Dt.includes("Center")?Dt.slice(0,Dt.indexOf("Center")):Dt:Mt==="rtl"?"bottomRight":"bottomLeft",[Dt,Mt]),In=fn("dropdown",ft),xn=(0,Ze.Z)(In),[kt,Yt,Ft]=Tn(In,xn),[,vn]=(0,_e.ZP)(),Ct=b.Children.only(Fe(En)?b.createElement("span",null,En):En),pt=(0,tt.Tm)(Ct,{className:be()(`${In}-trigger`,{[`${In}-rtl`]:Mt==="rtl"},Ct.props.className),disabled:(Ut=Ct.props.disabled)!==null&&Ut!==void 0?Ut:gn}),de=gn?[]:Ht,qt=!!(de!=null&&de.includes("contextMenu")),[Dn,mn]=(0,Oe.Z)(!1,{value:je!=null?je:Pe}),vr=(0,we.Z)(Yn=>{ge==null||ge(Yn,{source:"trigger"}),ct==null||ct(Yn),mn(Yn)}),yr=be()(he,ce,Yt,Ft,xn,Ln==null?void 0:Ln.className,{[`${In}-rtl`]:Mt==="rtl"}),ar=(0,At.Z)({arrowPointAtCenter:typeof On=="object"&&On.pointAtCenter,autoAdjustOverflow:yt,offset:vn.marginXXS,arrowWidth:On?vn.sizePopupArrow:0,borderRadius:vn.borderRadius}),Er=b.useCallback(()=>{Gt!=null&&Gt.selectable&&(Gt!=null&&Gt.multiple)||(ge==null||ge(!1,{source:"menu"}),mn(!1))},[Gt==null?void 0:Gt.selectable,Gt==null?void 0:Gt.multiple]),wt=()=>{let Yn;return Gt!=null&&Gt.items?Yn=b.createElement(Qe.default,Object.assign({},Gt)):typeof Pt=="function"?Yn=Pt():Yn=Pt,un&&(Yn=un(Yn)),Yn=b.Children.only(typeof Yn=="string"?b.createElement("span",null,Yn):Yn),b.createElement(ze.J,{prefixCls:`${In}-menu`,rootClassName:be()(Ft,xn),expandIcon:b.createElement("span",{className:`${In}-menu-submenu-arrow`},Mt==="rtl"?b.createElement(me.Z,{className:`${In}-menu-submenu-arrow-icon`}):b.createElement(le.Z,{className:`${In}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Er,validator:Sr=>{let{mode:br}=Sr}},Yn)},[Qn,lr]=(0,xe.Cn)("Dropdown",Te==null?void 0:Te.zIndex);let cr=b.createElement(fe.Z,Object.assign({alignPoint:qt},(0,Re.Z)(st,["rootClassName"]),{mouseEnterDelay:$t,mouseLeaveDelay:gt,visible:Dn,builtinPlacements:ar,arrow:!!On,overlayClassName:yr,prefixCls:In,getPopupContainer:De||pn,transitionName:wn,trigger:de,overlay:wt,placement:ln,onVisibleChange:vr,overlayStyle:Object.assign(Object.assign(Object.assign({},Ln==null?void 0:Ln.style),Te),{zIndex:Qn})}),pt);return Qn&&(cr=b.createElement(We.Z.Provider,{value:lr},cr)),kt(cr)},Se=(0,at.Z)(Ye,"align",void 0,"dropdown",st=>st),Qt=st=>b.createElement(Se,Object.assign({},st),b.createElement("span",null));Ye._InternalPanelDoNotUseOrYouWillBeFired=Qt;var on=Ye},75727:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return at}});var b=y(19563),me=y(59301),le=y(18785),pe=y(92310),be=y.n(pe),fe=y(7939),we=y(48755),Oe=y(44104),Re=y(70045),xe=function(tt,Je){var We={};for(var Ve in tt)Object.prototype.hasOwnProperty.call(tt,Ve)&&Je.indexOf(Ve)<0&&(We[Ve]=tt[Ve]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Ve=Object.getOwnPropertySymbols(tt);Ze{const{getPopupContainer:Je,getPrefixCls:We,direction:Ve}=me.useContext(we.E_),{prefixCls:Ze,type:Qe="default",danger:ze,disabled:_e,loading:$e,onClick:nt,htmlType:bt,children:it,className:Nt,menu:vt,arrow:dt,autoFocus:It,overlay:St,trigger:qe,align:Jt,open:Rt,onOpenChange:Zt,placement:Tn,getPopupContainer:Tt,href:Ye,icon:Se=me.createElement(le.Z,null),title:Qt,buttonsRender:on=$t=>$t,mouseEnterDelay:st,mouseLeaveDelay:Ut,overlayClassName:Gt,overlayStyle:On,destroyPopupOnHide:ft,dropdownRender:En}=tt,Ht=xe(tt,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),gn=We("dropdown",Ze),un=`${gn}-button`,De={menu:vt,arrow:dt,autoFocus:It,align:Jt,disabled:_e,trigger:_e?[]:qe,onOpenChange:Zt,getPopupContainer:Tt||Je,mouseEnterDelay:st,mouseLeaveDelay:Ut,overlayClassName:Gt,overlayStyle:On,destroyPopupOnHide:ft,dropdownRender:En},{compactSize:he,compactItemClassnames:ce}=(0,Re.ri)(gn,Ve),Te=be()(un,ce,Nt);"overlay"in tt&&(De.overlay=St),"open"in tt&&(De.open=Rt),"placement"in tt?De.placement=Tn:De.placement=Ve==="rtl"?"bottomLeft":"bottomRight";const je=me.createElement(fe.ZP,{type:Qe,danger:ze,disabled:_e,loading:$e,onClick:nt,htmlType:bt,href:Ye,title:Qt},it),ge=me.createElement(fe.ZP,{type:Qe,danger:ze,icon:Se}),[Pe,ct]=on([je,ge]);return me.createElement(Oe.Z.Compact,Object.assign({className:Te,size:he,block:!0},Ht),Pe,me.createElement(b.Z,Object.assign({},De),ct))};Ge.__ANT_BUTTON=!0;var Fe=Ge;const At=b.Z;At.Button=Fe;var at=At},584:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(9017),be=y(17835),fe=y(57700),Oe=()=>{const[,ze]=(0,fe.ZP)(),[_e]=(0,pe.Z)("Empty"),nt=new be.FastColor(ze.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return b.createElement("svg",{style:nt,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),b.createElement("g",{fill:"none",fillRule:"evenodd"},b.createElement("g",{transform:"translate(24 31.67)"},b.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),b.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),b.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),b.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),b.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),b.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),b.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},b.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),b.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},xe=()=>{const[,ze]=(0,fe.ZP)(),[_e]=(0,pe.Z)("Empty"),{colorFill:$e,colorFillTertiary:nt,colorFillQuaternary:bt,colorBgContainer:it}=ze,{borderColor:Nt,shadowColor:vt,contentColor:dt}=(0,b.useMemo)(()=>({borderColor:new be.FastColor($e).onBackground(it).toHexString(),shadowColor:new be.FastColor(nt).onBackground(it).toHexString(),contentColor:new be.FastColor(bt).onBackground(it).toHexString()}),[$e,nt,bt,it]);return b.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},b.createElement("title",null,(_e==null?void 0:_e.description)||"Empty"),b.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},b.createElement("ellipse",{fill:vt,cx:"32",cy:"33",rx:"32",ry:"7"}),b.createElement("g",{fillRule:"nonzero",stroke:Nt},b.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),b.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:dt}))))},Ge=y(16931),Fe=y(51636);const At=ze=>{const{componentCls:_e,margin:$e,marginXS:nt,marginXL:bt,fontSize:it,lineHeight:Nt}=ze;return{[_e]:{marginInline:nt,fontSize:it,lineHeight:Nt,textAlign:"center",[`${_e}-image`]:{height:ze.emptyImgHeight,marginBottom:nt,opacity:ze.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${_e}-description`]:{color:ze.colorTextDescription},[`${_e}-footer`]:{marginTop:$e},"&-normal":{marginBlock:bt,color:ze.colorTextDescription,[`${_e}-description`]:{color:ze.colorTextDescription},[`${_e}-image`]:{height:ze.emptyImgHeightMD}},"&-small":{marginBlock:nt,color:ze.colorTextDescription,[`${_e}-image`]:{height:ze.emptyImgHeightSM}}}}};var at=(0,Ge.I$)("Empty",ze=>{const{componentCls:_e,controlHeightLG:$e,calc:nt}=ze,bt=(0,Fe.mergeToken)(ze,{emptyImgCls:`${_e}-img`,emptyImgHeight:nt($e).mul(2.5).equal(),emptyImgHeightMD:$e,emptyImgHeightSM:nt($e).mul(.875).equal()});return[At(bt)]}),tt=y(48755),Je=function(ze,_e){var $e={};for(var nt in ze)Object.prototype.hasOwnProperty.call(ze,nt)&&_e.indexOf(nt)<0&&($e[nt]=ze[nt]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var bt=0,nt=Object.getOwnPropertySymbols(ze);bt{const{className:_e,rootClassName:$e,prefixCls:nt,image:bt=We,description:it,children:Nt,imageStyle:vt,style:dt,classNames:It,styles:St}=ze,qe=Je(ze,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:Jt,direction:Rt,className:Zt,style:Tn,classNames:Tt,styles:Ye}=(0,tt.dj)("empty"),Se=Jt("empty",nt),[Qt,on,st]=at(Se),[Ut]=(0,pe.Z)("Empty"),Gt=typeof it!="undefined"?it:Ut==null?void 0:Ut.description,On=typeof Gt=="string"?Gt:"empty";let ft=null;return typeof bt=="string"?ft=b.createElement("img",{alt:On,src:bt}):ft=bt,Qt(b.createElement("div",Object.assign({className:le()(on,st,Se,Zt,{[`${Se}-normal`]:bt===Ve,[`${Se}-rtl`]:Rt==="rtl"},_e,$e,Tt.root,It==null?void 0:It.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},Ye.root),Tn),St==null?void 0:St.root),dt)},qe),b.createElement("div",{className:le()(`${Se}-image`,Tt.image,It==null?void 0:It.image),style:Object.assign(Object.assign(Object.assign({},vt),Ye.image),St==null?void 0:St.image)},ft),Gt&&b.createElement("div",{className:le()(`${Se}-description`,Tt.description,It==null?void 0:It.description),style:Object.assign(Object.assign({},Ye.description),St==null?void 0:St.description)},Gt),Nt&&b.createElement("div",{className:le()(`${Se}-footer`,Tt.footer,It==null?void 0:It.footer),style:Object.assign(Object.assign({},Ye.footer),St==null?void 0:St.footer)},Nt)))};Ze.PRESENTED_IMAGE_DEFAULT=We,Ze.PRESENTED_IMAGE_SIMPLE=Ve;var Qe=Ze},28284:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return Ie}});var b=y(56553),me=y(77654),le=y(59301),pe=y(92310),be=y.n(pe),fe=y(77900),we=y(86641),Oe=y(83397);function Re(ut){const[Le,He]=le.useState(ut);return le.useEffect(()=>{const Vt=setTimeout(()=>{He(ut)},ut.length?0:10);return()=>{clearTimeout(Vt)}},[ut]),Le}var xe=y(36237),Ge=y(63356),Fe=y(34925),At=y(34961),at=y(51636),tt=y(16931),We=ut=>{const{componentCls:Le}=ut,He=`${Le}-show-help`,Vt=`${Le}-show-help-item`;return{[He]:{transition:`opacity ${ut.motionDurationFast} ${ut.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Vt]:{overflow:"hidden",transition:`height ${ut.motionDurationFast} ${ut.motionEaseInOut}, + opacity ${ut.motionDurationFast} ${ut.motionEaseInOut}, + transform ${ut.motionDurationFast} ${ut.motionEaseInOut} !important`,[`&${Vt}-appear, &${Vt}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Vt}-leave-active`]:{transform:"translateY(-5px)"}}}}};const Ve=ut=>({legend:{display:"block",width:"100%",marginBottom:ut.marginLG,padding:0,color:ut.colorTextDescription,fontSize:ut.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,xe.unit)(ut.lineWidth)} ${ut.lineType} ${ut.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${(0,xe.unit)(ut.controlOutlineWidth)} ${ut.controlOutline}`},output:{display:"block",paddingTop:15,color:ut.colorText,fontSize:ut.fontSize,lineHeight:ut.lineHeight}}),Ze=(ut,Le)=>{const{formItemCls:He}=ut;return{[He]:{[`${He}-label > label`]:{height:Le},[`${He}-control-input`]:{minHeight:Le}}}},Qe=ut=>{const{componentCls:Le}=ut;return{[ut.componentCls]:Object.assign(Object.assign(Object.assign({},(0,Ge.Wf)(ut)),Ve(ut)),{[`${Le}-text`]:{display:"inline-block",paddingInlineEnd:ut.paddingSM},"&-small":Object.assign({},Ze(ut,ut.controlHeightSM)),"&-large":Object.assign({},Ze(ut,ut.controlHeightLG))})}},ze=ut=>{const{formItemCls:Le,iconCls:He,rootPrefixCls:Vt,antCls:et,labelRequiredMarkColor:en,labelColor:cn,labelFontSize:Xt,labelHeight:an,labelColonMarginInlineStart:Kt,labelColonMarginInlineEnd:nn,itemMarginBottom:rt}=ut;return{[Le]:Object.assign(Object.assign({},(0,Ge.Wf)(ut)),{marginBottom:rt,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden${et}-row`]:{display:"none"},"&-has-warning":{[`${Le}-split`]:{color:ut.colorError}},"&-has-error":{[`${Le}-split`]:{color:ut.colorWarning}},[`${Le}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:ut.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:an,color:cn,fontSize:Xt,[`> ${He}`]:{fontSize:ut.fontSize,verticalAlign:"top"},[`&${Le}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:ut.marginXXS,color:en,fontSize:ut.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${Le}-required-mark-hidden, &${Le}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${Le}-optional`]:{display:"inline-block",marginInlineStart:ut.marginXXS,color:ut.colorTextDescription,[`&${Le}-required-mark-hidden`]:{display:"none"}},[`${Le}-tooltip`]:{color:ut.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:ut.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Kt,marginInlineEnd:nn},[`&${Le}-no-colon::after`]:{content:'"\\a0"'}}},[`${Le}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${Vt}-col-'"]):not([class*="' ${Vt}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:ut.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Le]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:ut.colorTextDescription,fontSize:ut.fontSize,lineHeight:ut.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:ut.controlHeightSM,transition:`color ${ut.motionDurationMid} ${ut.motionEaseOut}`},"&-explain":{"&-error":{color:ut.colorError},"&-warning":{color:ut.colorWarning}}},[`&-with-help ${Le}-explain`]:{height:"auto",opacity:1},[`${Le}-feedback-icon`]:{fontSize:ut.fontSize,textAlign:"center",visibility:"visible",animationName:Fe.kr,animationDuration:ut.motionDurationMid,animationTimingFunction:ut.motionEaseOutBack,pointerEvents:"none","&-success":{color:ut.colorSuccess},"&-error":{color:ut.colorError},"&-warning":{color:ut.colorWarning},"&-validating":{color:ut.colorPrimary}}})}},_e=(ut,Le)=>{const{formItemCls:He}=ut;return{[`${Le}-horizontal`]:{[`${He}-label`]:{flexGrow:0},[`${He}-control`]:{flex:"1 1 0",minWidth:0},[`${He}-label[class$='-24'], ${He}-label[class*='-24 ']`]:{[`& + ${He}-control`]:{minWidth:"unset"}}}}},$e=ut=>{const{componentCls:Le,formItemCls:He,inlineItemMarginBottom:Vt}=ut;return{[`${Le}-inline`]:{display:"flex",flexWrap:"wrap",[He]:{flex:"none",marginInlineEnd:ut.margin,marginBottom:Vt,"&-row":{flexWrap:"nowrap"},[`> ${He}-label, + > ${He}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${He}-label`]:{flex:"none"},[`${Le}-text`]:{display:"inline-block"},[`${He}-has-feedback`]:{display:"inline-block"}}}}},nt=ut=>({padding:ut.verticalLabelPadding,margin:ut.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),bt=ut=>{const{componentCls:Le,formItemCls:He,rootPrefixCls:Vt}=ut;return{[`${He} ${He}-label`]:nt(ut),[`${Le}:not(${Le}-inline)`]:{[He]:{flexWrap:"wrap",[`${He}-label, ${He}-control`]:{[`&:not([class*=" ${Vt}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},it=ut=>{const{componentCls:Le,formItemCls:He,antCls:Vt}=ut;return{[`${Le}-vertical`]:{[`${He}:not(${He}-horizontal)`]:{[`${He}-row`]:{flexDirection:"column"},[`${He}-label > label`]:{height:"auto"},[`${He}-control`]:{width:"100%"},[`${He}-label, + ${Vt}-col-24${He}-label, + ${Vt}-col-xl-24${He}-label`]:nt(ut)}},[`@media (max-width: ${(0,xe.unit)(ut.screenXSMax)})`]:[bt(ut),{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-xs-24${He}-label`]:nt(ut)}}}],[`@media (max-width: ${(0,xe.unit)(ut.screenSMMax)})`]:{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-sm-24${He}-label`]:nt(ut)}}},[`@media (max-width: ${(0,xe.unit)(ut.screenMDMax)})`]:{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-md-24${He}-label`]:nt(ut)}}},[`@media (max-width: ${(0,xe.unit)(ut.screenLGMax)})`]:{[Le]:{[`${He}:not(${He}-horizontal)`]:{[`${Vt}-col-lg-24${He}-label`]:nt(ut)}}}}},Nt=ut=>{const{formItemCls:Le,antCls:He}=ut;return{[`${Le}-vertical`]:{[`${Le}-row`]:{flexDirection:"column"},[`${Le}-label > label`]:{height:"auto"},[`${Le}-control`]:{width:"100%"}},[`${Le}-vertical ${Le}-label, + ${He}-col-24${Le}-label, + ${He}-col-xl-24${Le}-label`]:nt(ut),[`@media (max-width: ${(0,xe.unit)(ut.screenXSMax)})`]:[bt(ut),{[Le]:{[`${He}-col-xs-24${Le}-label`]:nt(ut)}}],[`@media (max-width: ${(0,xe.unit)(ut.screenSMMax)})`]:{[Le]:{[`${He}-col-sm-24${Le}-label`]:nt(ut)}},[`@media (max-width: ${(0,xe.unit)(ut.screenMDMax)})`]:{[Le]:{[`${He}-col-md-24${Le}-label`]:nt(ut)}},[`@media (max-width: ${(0,xe.unit)(ut.screenLGMax)})`]:{[Le]:{[`${He}-col-lg-24${Le}-label`]:nt(ut)}}}},vt=ut=>({labelRequiredMarkColor:ut.colorError,labelColor:ut.colorTextHeading,labelFontSize:ut.fontSize,labelHeight:ut.controlHeight,labelColonMarginInlineStart:ut.marginXXS/2,labelColonMarginInlineEnd:ut.marginXS,itemMarginBottom:ut.marginLG,verticalLabelPadding:`0 0 ${ut.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),dt=(ut,Le)=>(0,at.mergeToken)(ut,{formItemCls:`${ut.componentCls}-item`,rootPrefixCls:Le});var It=(0,tt.I$)("Form",(ut,Le)=>{let{rootPrefixCls:He}=Le;const Vt=dt(ut,He);return[Qe(Vt),ze(Vt),We(Vt),_e(Vt,Vt.componentCls),_e(Vt,Vt.formItemCls),$e(Vt),it(Vt),Nt(Vt),(0,At.Z)(Vt),Fe.kr]},vt,{order:-1e3});const St=[];function qe(ut,Le,He){let Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof ut=="string"?ut:`${Le}-${Vt}`,error:ut,errorStatus:He}}var Rt=ut=>{let{help:Le,helpStatus:He,errors:Vt=St,warnings:et=St,className:en,fieldId:cn,onVisibleChanged:Xt}=ut;const{prefixCls:an}=le.useContext(b.Rk),Kt=`${an}-item-explain`,nn=(0,Oe.Z)(an),[rt,Jn,Bt]=It(an,nn),rr=le.useMemo(()=>(0,we.Z)(an),[an]),Pr=Re(Vt),Sn=Re(et),rn=le.useMemo(()=>Le!=null?[qe(Le,"help",He)]:[].concat((0,me.Z)(Pr.map((zn,tr)=>qe(zn,"error","error",tr))),(0,me.Z)(Sn.map((zn,tr)=>qe(zn,"warning","warning",tr)))),[Le,He,Pr,Sn]),Cn=le.useMemo(()=>{const zn={};return rn.forEach(tr=>{let{key:wr}=tr;zn[wr]=(zn[wr]||0)+1}),rn.map((tr,wr)=>Object.assign(Object.assign({},tr),{key:zn[tr.key]>1?`${tr.key}-fallback-${wr}`:tr.key}))},[rn]),Pn={};return cn&&(Pn.id=`${cn}_help`),rt(le.createElement(fe.default,{motionDeadline:rr.motionDeadline,motionName:`${an}-show-help`,visible:!!Cn.length,onVisibleChanged:Xt},zn=>{const{className:tr,style:wr}=zn;return le.createElement("div",Object.assign({},Pn,{className:be()(Kt,tr,Bt,nn,en,Jn),style:wr}),le.createElement(fe.CSSMotionList,Object.assign({keys:Cn},(0,we.Z)(an),{motionName:`${an}-show-help-item`,component:!1}),pr=>{const{key:Zn,error:Kn,errorStatus:gr,className:dr,style:Yr}=pr;return le.createElement("div",{key:Zn,className:be()(dr,{[`${Kt}-${gr}`]:gr}),style:Yr},Kn)}))}))},Zt=y(69180),Tn=y(48755),Tt=y(2171),Ye=y(31756),Se=y(23069),Qt=y(76846),on=y(16722);const st=["parentNode"],Ut="form_item";function Gt(ut){return ut===void 0||ut===!1?[]:Array.isArray(ut)?ut:[ut]}function On(ut,Le){if(!ut.length)return;const He=ut.join("_");return Le?`${Le}_${He}`:st.includes(He)?`${Ut}_${He}`:He}function ft(ut,Le,He,Vt,et,en){let cn=Vt;return en!==void 0?cn=en:He.validating?cn="validating":ut.length?cn="error":Le.length?cn="warning":(He.touched||et&&He.validated)&&(cn="success"),cn}var En=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);etut!=null?ut:Object.assign(Object.assign({},Le),{__INTERNAL__:{itemRef:et=>en=>{const cn=Ht(et);en?He.current[cn]=en:delete He.current[cn]}},scrollToField:function(et){let en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:cn}=en,Xt=En(en,["focus"]),an=gn(et,Vt);an&&((0,on.Z)(an,Object.assign({scrollMode:"if-needed",block:"nearest"},Xt)),cn&&Vt.focusField(et))},focusField:et=>{var en,cn;const Xt=Vt.getFieldInstance(et);typeof(Xt==null?void 0:Xt.focus)=="function"?Xt.focus():(cn=(en=gn(et,Vt))===null||en===void 0?void 0:en.focus)===null||cn===void 0||cn.call(en)},getFieldInstance:et=>{const en=Ht(et);return He.current[en]}}),[ut,Le]);return[Vt]}var De=y(98350),he=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et{const He=le.useContext(Tt.Z),{getPrefixCls:Vt,direction:et,requiredMark:en,colon:cn,scrollToFirstError:Xt,className:an,style:Kt}=(0,Tn.dj)("form"),{prefixCls:nn,className:rt,rootClassName:Jn,size:Bt,disabled:rr=He,form:Pr,colon:Sn,labelAlign:rn,labelWrap:Cn,labelCol:Pn,wrapperCol:zn,hideRequiredMark:tr,layout:wr="horizontal",scrollToFirstError:pr,requiredMark:Zn,onFinishFailed:Kn,name:gr,style:dr,feedbackIcons:Yr,variant:Wr}=ut,Zr=he(ut,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),Qr=(0,Ye.Z)(Bt),ca=le.useContext(De.Z),Xr=le.useMemo(()=>Zn!==void 0?Zn:tr?!1:en!==void 0?en:!0,[tr,Zn,en]),la=Sn!=null?Sn:cn,_r=Vt("form",nn),oa=(0,Oe.Z)(_r),[_t,Ea,ia]=It(_r,oa),ra=be()(_r,`${_r}-${wr}`,{[`${_r}-hide-required-mark`]:Xr===!1,[`${_r}-rtl`]:et==="rtl",[`${_r}-${Qr}`]:Qr},ia,oa,Ea,an,rt,Jn),[fa]=un(Pr),{__INTERNAL__:ha}=fa;ha.name=gr;const Br=le.useMemo(()=>({name:gr,labelAlign:rn,labelCol:Pn,labelWrap:Cn,wrapperCol:zn,vertical:wr==="vertical",colon:la,requiredMark:Xr,itemRef:ha.itemRef,form:fa,feedbackIcons:Yr}),[gr,rn,Pn,zn,wr,la,Xr,fa,Yr]),Gn=le.useRef(null);le.useImperativeHandle(Le,()=>{var hr;return Object.assign(Object.assign({},fa),{nativeElement:(hr=Gn.current)===null||hr===void 0?void 0:hr.nativeElement})});const Vr=(hr,or)=>{if(hr){let er={block:"nearest"};typeof hr=="object"&&(er=Object.assign(Object.assign({},er),hr)),fa.scrollToField(or,er)}},qn=hr=>{if(Kn==null||Kn(hr),hr.errorFields.length){const or=hr.errorFields[0].name;if(pr!==void 0){Vr(pr,or);return}Xt!==void 0&&Vr(Xt,or)}};return _t(le.createElement(b.pg.Provider,{value:Wr},le.createElement(Tt.n,{disabled:rr},le.createElement(Se.Z.Provider,{value:Qr},le.createElement(b.RV,{validateMessages:ca},le.createElement(b.q3.Provider,{value:Br},le.createElement(Zt.default,Object.assign({id:gr},Zr,{name:gr,onFinishFailed:qn,form:fa,ref:Gn,style:Object.assign(Object.assign({},Kt),dr),className:ra}))))))))};var je=le.forwardRef(ce),ge=y(41799),Pe=y(8654),ct=y(22703),$t=y(32383),gt=y(11592);function yt(ut){if(typeof ut=="function")return ut;const Le=(0,gt.Z)(ut);return Le.length<=1?Le[0]:Le}const Dt=()=>{const{status:ut,errors:Le=[],warnings:He=[]}=le.useContext(b.aM);return{status:ut,errors:Le,warnings:He}};Dt.Context=b.aM;var Pt=Dt,Wt=y(16089);function pn(ut){const[Le,He]=le.useState(ut),Vt=le.useRef(null),et=le.useRef([]),en=le.useRef(!1);le.useEffect(()=>(en.current=!1,()=>{en.current=!0,Wt.Z.cancel(Vt.current),Vt.current=null}),[]);function cn(Xt){en.current||(Vt.current===null&&(et.current=[],Vt.current=(0,Wt.Z)(()=>{Vt.current=null,He(an=>{let Kt=an;return et.current.forEach(nn=>{Kt=nn(Kt)}),Kt})})),et.current.push(Xt))}return[Le,cn]}function fn(){const{itemRef:ut}=le.useContext(b.q3),Le=le.useRef({});function He(Vt,et){const en=et&&typeof et=="object"&&(0,Pe.C4)(et),cn=Vt.join("_");return(Le.current.name!==cn||Le.current.originRef!==en)&&(Le.current.name=cn,Le.current.originRef=en,Le.current.ref=(0,Pe.sQ)(ut(Vt),en)),Le.current.ref}return He}var Mt=y(29194),Ln=y(34280),kn=y(2738),wn=y(65970),ln=y(70425),In=y(5472);const xn=ut=>{const{formItemCls:Le}=ut;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Le}-control`]:{display:"flex"}}}};var kt=(0,tt.bk)(["Form","item-item"],(ut,Le)=>{let{rootPrefixCls:He}=Le;const Vt=dt(ut,He);return[xn(Vt)]}),Yt=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et{const{prefixCls:Le,status:He,labelCol:Vt,wrapperCol:et,children:en,errors:cn,warnings:Xt,_internalItemRender:an,extra:Kt,help:nn,fieldId:rt,marginBottom:Jn,onErrorVisibleChanged:Bt,label:rr}=ut,Pr=`${Le}-item`,Sn=le.useContext(b.q3),rn=le.useMemo(()=>{let Zr=Object.assign({},et||Sn.wrapperCol||{});return rr===null&&!Vt&&!et&&Sn.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(ca=>{const Xr=ca?[ca]:[],la=(0,ln.U2)(Sn.labelCol,Xr),_r=typeof la=="object"?la:{},oa=(0,ln.U2)(Zr,Xr),_t=typeof oa=="object"?oa:{};"span"in _r&&!("offset"in _t)&&_r.span{const{labelCol:Zr,wrapperCol:Qr}=Sn;return Yt(Sn,["labelCol","wrapperCol"])},[Sn]),zn=le.useRef(null),[tr,wr]=le.useState(0);(0,Ln.Z)(()=>{Kt&&zn.current?wr(zn.current.clientHeight):wr(0)},[Kt]);const pr=le.createElement("div",{className:`${Pr}-control-input`},le.createElement("div",{className:`${Pr}-control-input-content`},en)),Zn=le.useMemo(()=>({prefixCls:Le,status:He}),[Le,He]),Kn=Jn!==null||cn.length||Xt.length?le.createElement(b.Rk.Provider,{value:Zn},le.createElement(Rt,{fieldId:rt,errors:cn,warnings:Xt,help:nn,helpStatus:He,className:`${Pr}-explain-connected`,onVisibleChanged:Bt})):null,gr={};rt&&(gr.id=`${rt}_extra`);const dr=Kt?le.createElement("div",Object.assign({},gr,{className:`${Pr}-extra`,ref:zn}),Kt):null,Yr=Kn||dr?le.createElement("div",{className:`${Pr}-additional`,style:Jn?{minHeight:Jn+tr}:{}},Kn,dr):null,Wr=an&&an.mark==="pro_table_render"&&an.render?an.render(ut,{input:pr,errorList:Kn,extra:dr}):le.createElement(le.Fragment,null,pr,Yr);return le.createElement(b.q3.Provider,{value:Pn},le.createElement(In.Z,Object.assign({},rn,{className:Cn}),Wr),le.createElement(kt,{prefixCls:Le}))},pt=y(61485),de=y(9017),qt=y(85981),Dn=y(25399),mn=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et{let{prefixCls:Le,label:He,htmlFor:Vt,labelCol:et,labelAlign:en,colon:cn,required:Xt,requiredMark:an,tooltip:Kt,vertical:nn}=ut;var rt;const[Jn]=(0,de.Z)("Form"),{labelAlign:Bt,labelCol:rr,labelWrap:Pr,colon:Sn}=le.useContext(b.q3);if(!He)return null;const rn=et||rr||{},Cn=en||Bt,Pn=`${Le}-item-label`,zn=be()(Pn,Cn==="left"&&`${Pn}-left`,rn.className,{[`${Pn}-wrap`]:!!Pr});let tr=He;const wr=cn===!0||Sn!==!1&&cn!==!1;wr&&!nn&&typeof He=="string"&&He.trim()&&(tr=He.replace(/[:|:]\s*$/,""));const Zn=vr(Kt);if(Zn){const{icon:Zr=le.createElement(pt.Z,null)}=Zn,Qr=mn(Zn,["icon"]),ca=le.createElement(Dn.Z,Object.assign({},Qr),le.cloneElement(Zr,{className:`${Le}-item-tooltip`,title:"",onClick:Xr=>{Xr.preventDefault()},tabIndex:null}));tr=le.createElement(le.Fragment,null,tr,ca)}const Kn=an==="optional",gr=typeof an=="function",dr=an===!1;gr?tr=an(tr,{required:!!Xt}):Kn&&!Xt&&(tr=le.createElement(le.Fragment,null,tr,le.createElement("span",{className:`${Le}-item-optional`,title:""},(Jn==null?void 0:Jn.optional)||((rt=qt.Z.Form)===null||rt===void 0?void 0:rt.optional))));let Yr;dr?Yr="hidden":(Kn||gr)&&(Yr="optional");const Wr=be()({[`${Le}-item-required`]:Xt,[`${Le}-item-required-mark-${Yr}`]:Yr,[`${Le}-item-no-colon`]:!wr});return le.createElement(In.Z,Object.assign({},rn,{className:zn}),le.createElement("label",{htmlFor:Vt,className:Wr,title:typeof He=="string"?He:""},tr))},Er=y(29679),wt=y(19248),Qn=y(96512),lr=y(58617);const cr={success:Er.Z,warning:Qn.Z,error:wt.Z,validating:lr.Z};function Yn(ut){let{children:Le,errors:He,warnings:Vt,hasFeedback:et,validateStatus:en,prefixCls:cn,meta:Xt,noStyle:an}=ut;const Kt=`${cn}-item`,{feedbackIcons:nn}=le.useContext(b.q3),rt=ft(He,Vt,Xt,null,!!et,en),{isFormItemInput:Jn,status:Bt,hasFeedback:rr,feedbackIcon:Pr}=le.useContext(b.aM),Sn=le.useMemo(()=>{var rn;let Cn;if(et){const zn=et!==!0&&et.icons||nn,tr=rt&&((rn=zn==null?void 0:zn({status:rt,errors:He,warnings:Vt}))===null||rn===void 0?void 0:rn[rt]),wr=rt&&cr[rt];Cn=tr!==!1&&wr?le.createElement("span",{className:be()(`${Kt}-feedback-icon`,`${Kt}-feedback-icon-${rt}`)},tr||le.createElement(wr,null)):null}const Pn={status:rt||"",errors:He,warnings:Vt,hasFeedback:!!et,feedbackIcon:Cn,isFormItemInput:!0};return an&&(Pn.status=(rt!=null?rt:Bt)||"",Pn.isFormItemInput=Jn,Pn.hasFeedback=!!(et!=null?et:rr),Pn.feedbackIcon=et!==void 0?Pn.feedbackIcon:Pr),Pn},[rt,et,an,Jn,Bt]);return le.createElement(b.aM.Provider,{value:Sn},Le)}var Sr=function(ut,Le){var He={};for(var Vt in ut)Object.prototype.hasOwnProperty.call(ut,Vt)&&Le.indexOf(Vt)<0&&(He[Vt]=ut[Vt]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Vt=Object.getOwnPropertySymbols(ut);et{if(dr&&pr.current){const _r=getComputedStyle(pr.current);Zr(parseInt(_r.marginBottom,10))}},[dr,Yr]);const Qr=_r=>{_r||Zr(null)},Xr=function(){let _r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const oa=_r?Zn:Kt.errors,_t=_r?Kn:Kt.warnings;return ft(oa,_t,Kt,"",!!nn,an)}(),la=be()(Pn,He,Vt,{[`${Pn}-with-help`]:gr||Zn.length||Kn.length,[`${Pn}-has-feedback`]:Xr&&nn,[`${Pn}-has-success`]:Xr==="success",[`${Pn}-has-warning`]:Xr==="warning",[`${Pn}-has-error`]:Xr==="error",[`${Pn}-is-validating`]:Xr==="validating",[`${Pn}-hidden`]:rt,[`${Pn}-${rn}`]:rn});return le.createElement("div",{className:la,style:et,ref:pr},le.createElement(wn.Z,Object.assign({className:`${Pn}-row`},(0,kn.Z)(Cn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),le.createElement(ar,Object.assign({htmlFor:Bt},ut,{requiredMark:zn,required:rr!=null?rr:Pr,prefixCls:Le,vertical:wr})),le.createElement(Ct,Object.assign({},ut,Kt,{errors:Zn,warnings:Kn,prefixCls:Le,status:Xr,help:en,marginBottom:Wr,onErrorVisibleChanged:Qr}),le.createElement(b.qI.Provider,{value:Sn},le.createElement(Yn,{prefixCls:Le,meta:Kt,errors:Kt.errors,warnings:Kt.warnings,hasFeedback:nn,validateStatus:Xr},Jn)))),!!Wr&&le.createElement("div",{className:`${Pn}-margin-offset`,style:{marginBottom:-Wr}}))}const Nr="__SPLIT__",Jr=null;function $r(ut,Le){const He=Object.keys(ut),Vt=Object.keys(Le);return He.length===Vt.length&&He.every(et=>{const en=ut[et],cn=Le[et];return en===cn||typeof en=="function"||typeof cn=="function"})}const Ur=le.memo(ut=>{let{children:Le}=ut;return Le},(ut,Le)=>$r(ut.control,Le.control)&&ut.update===Le.update&&ut.childProps.length===Le.childProps.length&&ut.childProps.every((He,Vt)=>He===Le.childProps[Vt]));function aa(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Hr(ut){const{name:Le,noStyle:He,className:Vt,dependencies:et,prefixCls:en,shouldUpdate:cn,rules:Xt,children:an,required:Kt,label:nn,messageVariables:rt,trigger:Jn="onChange",validateTrigger:Bt,hidden:rr,help:Pr,layout:Sn}=ut,{getPrefixCls:rn}=le.useContext(Tn.E_),{name:Cn}=le.useContext(b.q3),Pn=yt(an),zn=typeof Pn=="function",tr=le.useContext(b.qI),{validateTrigger:wr}=le.useContext(Zt.FieldContext),pr=Bt!==void 0?Bt:wr,Zn=Le!=null,Kn=rn("form",en),gr=(0,Oe.Z)(Kn),[dr,Yr,Wr]=It(Kn,gr),Zr=(0,$t.ln)("Form.Item"),Qr=le.useContext(Zt.ListContext),ca=le.useRef(null),[Xr,la]=pn({}),[_r,oa]=(0,ge.Z)(()=>aa()),_t=Gn=>{const Vr=Qr==null?void 0:Qr.getKey(Gn.name);if(oa(Gn.destroy?aa():Gn,!0),He&&Pr!==!1&&tr){let qn=Gn.name;if(Gn.destroy)qn=ca.current||qn;else if(Vr!==void 0){const[hr,or]=Vr;qn=[hr].concat((0,me.Z)(or)),ca.current=qn}tr(Gn,qn)}},Ea=(Gn,Vr)=>{la(qn=>{const hr=Object.assign({},qn),er=[].concat((0,me.Z)(Gn.name.slice(0,-1)),(0,me.Z)(Vr)).join(Nr);return Gn.destroy?delete hr[er]:hr[er]=Gn,hr})},[ia,ra]=le.useMemo(()=>{const Gn=(0,me.Z)(_r.errors),Vr=(0,me.Z)(_r.warnings);return Object.values(Xr).forEach(qn=>{Gn.push.apply(Gn,(0,me.Z)(qn.errors||[])),Vr.push.apply(Vr,(0,me.Z)(qn.warnings||[]))}),[Gn,Vr]},[Xr,_r.errors,_r.warnings]),fa=fn();function ha(Gn,Vr,qn){return He&&!rr?le.createElement(Yn,{prefixCls:Kn,hasFeedback:ut.hasFeedback,validateStatus:ut.validateStatus,meta:_r,errors:ia,warnings:ra,noStyle:!0},Gn):le.createElement(br,Object.assign({key:"row"},ut,{className:be()(Vt,Wr,gr,Yr),prefixCls:Kn,fieldId:Vr,isRequired:qn,errors:ia,warnings:ra,meta:_r,onSubItemMetaChange:Ea,layout:Sn}),Gn)}if(!Zn&&!zn&&!et)return dr(ha(Pn));let Br={};return typeof nn=="string"?Br.label=nn:Le&&(Br.label=String(Le)),rt&&(Br=Object.assign(Object.assign({},Br),rt)),dr(le.createElement(Zt.Field,Object.assign({},ut,{messageVariables:Br,trigger:Jn,validateTrigger:pr,onMetaChange:_t}),(Gn,Vr,qn)=>{const hr=Gt(Le).length&&Vr?Vr.name:[],or=On(hr,Cn),er=Kt!==void 0?Kt:!!(Xt!=null&&Xt.some(ur=>{if(ur&&typeof ur=="object"&&ur.required&&!ur.warningOnly)return!0;if(typeof ur=="function"){const nr=ur(qn);return(nr==null?void 0:nr.required)&&!(nr!=null&&nr.warningOnly)}return!1})),Dr=Object.assign({},Gn);let Ar=null;if(Array.isArray(Pn)&&Zn)Ar=Pn;else if(!(zn&&(!(cn||et)||Zn))){if(!(et&&!zn&&!Zn))if(le.isValidElement(Pn)){const ur=Object.assign(Object.assign({},Pn.props),Dr);if(ur.id||(ur.id=or),Pr||ia.length>0||ra.length>0||ut.extra){const Or=[];(Pr||ia.length>0)&&Or.push(`${or}_help`),ut.extra&&Or.push(`${or}_extra`),ur["aria-describedby"]=Or.join(" ")}ia.length>0&&(ur["aria-invalid"]="true"),er&&(ur["aria-required"]="true"),(0,Pe.Yr)(Pn)&&(ur.ref=fa(hr,Pn)),new Set([].concat((0,me.Z)(Gt(Jn)),(0,me.Z)(Gt(pr)))).forEach(Or=>{ur[Or]=function(){for(var ba,da,ya,Ma,_a,Na=arguments.length,Ha=new Array(Na),Da=0;Da{var{prefixCls:Le,children:He}=ut,Vt=jn(ut,["prefixCls","children"]);const{getPrefixCls:et}=le.useContext(Tn.E_),en=et("form",Le),cn=le.useMemo(()=>({prefixCls:en,status:"error"}),[en]);return le.createElement(Zt.List,Object.assign({},Vt),(Xt,an,Kt)=>le.createElement(b.Rk.Provider,{value:cn},He(Xt.map(nn=>Object.assign(Object.assign({},nn),{fieldKey:nn.key})),an,{errors:Kt.errors,warnings:Kt.warnings})))};function zr(){const{form:ut}=le.useContext(b.q3);return ut}const ve=je;ve.Item=ea,ve.List=Kr,ve.ErrorList=Rt,ve.useForm=un,ve.useFormInstance=zr,ve.useWatch=Zt.useWatch,ve.Provider=b.RV,ve.create=()=>{};var Ie=ve},75786:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Pr}});var b=y(59301),me=y(15277),le=y(92310),pe=y.n(le),be=y(60499),fe=y(85899),we=y(18642),Oe=y(72190),Re=y(43749),xe=y(42244),Ge=/margin|padding|width|height|max|min|offset/,Fe={left:!0,top:!0},At={cssFloat:1,styleFloat:1,float:1};function at(Sn){return Sn.nodeType===1?Sn.ownerDocument.defaultView.getComputedStyle(Sn,null):{}}function tt(Sn,rn,Cn){if(rn=rn.toLowerCase(),Cn==="auto"){if(rn==="height")return Sn.offsetHeight;if(rn==="width")return Sn.offsetWidth}return rn in Fe||(Fe[rn]=Ge.test(rn)),Fe[rn]?parseFloat(Cn)||0:Cn}function Je(Sn,rn){var Cn=arguments.length,Pn=at(Sn);return rn=At[rn]?"cssFloat"in Sn.style?"cssFloat":"styleFloat":rn,Cn===1?Pn:tt(Sn,rn,Pn[rn]||Sn.style[rn])}function We(Sn,rn,Cn){var Pn=arguments.length;if(rn=At[rn]?"cssFloat"in Sn.style?"cssFloat":"styleFloat":rn,Pn===3)return typeof Cn=="number"&&Ge.test(rn)&&(Cn="".concat(Cn,"px")),Sn.style[rn]=Cn,Cn;for(var zn in rn)rn.hasOwnProperty(zn)&&We(Sn,zn,rn[zn]);return at(Sn)}function Ve(Sn){return Sn===document.body?document.documentElement.clientWidth:Sn.offsetWidth}function Ze(Sn){return Sn===document.body?window.innerHeight||document.documentElement.clientHeight:Sn.offsetHeight}function Qe(){var Sn=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),rn=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:Sn,height:rn}}function ze(){var Sn=document.documentElement.clientWidth,rn=window.innerHeight||document.documentElement.clientHeight;return{width:Sn,height:rn}}function _e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function $e(Sn){var rn=Sn.getBoundingClientRect(),Cn=document.documentElement;return{left:rn.left+(window.pageXOffset||Cn.scrollLeft)-(Cn.clientLeft||document.body.clientLeft||0),top:rn.top+(window.pageYOffset||Cn.scrollTop)-(Cn.clientTop||document.body.clientTop||0)}}var nt=y(18929),bt=y(55311),it=y(8224),Nt=y(10228),vt=y(43403),dt=y(77900),It=b.createContext(null),St=function(rn){var Cn=rn.visible,Pn=rn.maskTransitionName,zn=rn.getContainer,tr=rn.prefixCls,wr=rn.rootClassName,pr=rn.icons,Zn=rn.countRender,Kn=rn.showSwitch,gr=rn.showProgress,dr=rn.current,Yr=rn.transform,Wr=rn.count,Zr=rn.scale,Qr=rn.minScale,ca=rn.maxScale,Xr=rn.closeIcon,la=rn.onActive,_r=rn.onClose,oa=rn.onZoomIn,_t=rn.onZoomOut,Ea=rn.onRotateRight,ia=rn.onRotateLeft,ra=rn.onFlipX,fa=rn.onFlipY,ha=rn.onReset,Br=rn.toolbarRender,Gn=rn.zIndex,Vr=rn.image,qn=(0,b.useContext)(It),hr=pr.rotateLeft,or=pr.rotateRight,er=pr.zoomIn,Dr=pr.zoomOut,Ar=pr.close,ur=pr.left,nr=pr.right,xr=pr.flipX,Or=pr.flipY,ba="".concat(tr,"-operations-operation");b.useEffect(function(){var Pa=function(fi){fi.keyCode===Nt.Z.ESC&&_r()};return Cn&&window.addEventListener("keydown",Pa),function(){window.removeEventListener("keydown",Pa)}},[Cn]);var da=function(li,fi){li.preventDefault(),li.stopPropagation(),la(fi)},ya=b.useCallback(function(Pa){var li=Pa.type,fi=Pa.disabled,Ua=Pa.onClick,Ni=Pa.icon;return b.createElement("div",{key:li,className:pe()(ba,"".concat(tr,"-operations-operation-").concat(li),(0,we.Z)({},"".concat(tr,"-operations-operation-disabled"),!!fi)),onClick:Ua},Ni)},[ba,tr]),Ma=Kn?ya({icon:ur,onClick:function(li){return da(li,-1)},type:"prev",disabled:dr===0}):void 0,_a=Kn?ya({icon:nr,onClick:function(li){return da(li,1)},type:"next",disabled:dr===Wr-1}):void 0,Na=ya({icon:Or,onClick:fa,type:"flipY"}),Ha=ya({icon:xr,onClick:ra,type:"flipX"}),Da=ya({icon:hr,onClick:ia,type:"rotateLeft"}),ja=ya({icon:or,onClick:Ea,type:"rotateRight"}),Gr=ya({icon:Dr,onClick:_t,type:"zoomOut",disabled:Zr<=Qr}),bi=ya({icon:er,onClick:oa,type:"zoomIn",disabled:Zr===ca}),wi=b.createElement("div",{className:"".concat(tr,"-operations")},Na,Ha,Da,ja,Gr,bi);return b.createElement(dt.default,{visible:Cn,motionName:Pn},function(Pa){var li=Pa.className,fi=Pa.style;return b.createElement(vt.Z,{open:!0,getContainer:zn!=null?zn:document.body},b.createElement("div",{className:pe()("".concat(tr,"-operations-wrapper"),li,wr),style:(0,fe.Z)((0,fe.Z)({},fi),{},{zIndex:Gn})},Xr===null?null:b.createElement("button",{className:"".concat(tr,"-close"),onClick:_r},Xr||Ar),Kn&&b.createElement(b.Fragment,null,b.createElement("div",{className:pe()("".concat(tr,"-switch-left"),(0,we.Z)({},"".concat(tr,"-switch-left-disabled"),dr===0)),onClick:function(Ni){return da(Ni,-1)}},ur),b.createElement("div",{className:pe()("".concat(tr,"-switch-right"),(0,we.Z)({},"".concat(tr,"-switch-right-disabled"),dr===Wr-1)),onClick:function(Ni){return da(Ni,1)}},nr)),b.createElement("div",{className:"".concat(tr,"-footer")},gr&&b.createElement("div",{className:"".concat(tr,"-progress")},Zn?Zn(dr+1,Wr):"".concat(dr+1," / ").concat(Wr)),Br?Br(wi,(0,fe.Z)((0,fe.Z)({icons:{prevIcon:Ma,nextIcon:_a,flipYIcon:Na,flipXIcon:Ha,rotateLeftIcon:Da,rotateRightIcon:ja,zoomOutIcon:Gr,zoomInIcon:bi},actions:{onActive:la,onFlipY:fa,onFlipX:ra,onRotateLeft:ia,onRotateRight:Ea,onZoomOut:_t,onZoomIn:oa,onReset:ha,onClose:_r},transform:Yr},qn?{current:dr,total:Wr}:{}),{},{image:Vr})):wi)))})},qe=St,Jt=y(13697),Rt=y(16089),Zt={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Tn(Sn,rn,Cn,Pn){var zn=(0,b.useRef)(null),tr=(0,b.useRef)([]),wr=(0,b.useState)(Zt),pr=(0,Oe.Z)(wr,2),Zn=pr[0],Kn=pr[1],gr=function(Zr){Kn(Zt),(0,Jt.Z)(Zt,Zn)||Pn==null||Pn({transform:Zt,action:Zr})},dr=function(Zr,Qr){zn.current===null&&(tr.current=[],zn.current=(0,Rt.Z)(function(){Kn(function(ca){var Xr=ca;return tr.current.forEach(function(la){Xr=(0,fe.Z)((0,fe.Z)({},Xr),la)}),zn.current=null,Pn==null||Pn({transform:Xr,action:Qr}),Xr})})),tr.current.push((0,fe.Z)((0,fe.Z)({},Zn),Zr))},Yr=function(Zr,Qr,ca,Xr,la){var _r=Sn.current,oa=_r.width,_t=_r.height,Ea=_r.offsetWidth,ia=_r.offsetHeight,ra=_r.offsetLeft,fa=_r.offsetTop,ha=Zr,Br=Zn.scale*Zr;Br>Cn?(Br=Cn,ha=Cn/Zn.scale):BrPn){if(rn>0)return(0,we.Z)({},Sn,tr);if(rn<0&&znPn)return(0,we.Z)({},Sn,rn<0?tr:-tr);return{}}function Se(Sn,rn,Cn,Pn){var zn=ze(),tr=zn.width,wr=zn.height,pr=null;return Sn<=tr&&rn<=wr?pr={x:0,y:0}:(Sn>tr||rn>wr)&&(pr=(0,fe.Z)((0,fe.Z)({},Ye("x",Cn,Sn,tr)),Ye("y",Pn,rn,wr))),pr}var Qt=1,on=1;function st(Sn,rn,Cn,Pn,zn,tr,wr){var pr=zn.rotate,Zn=zn.scale,Kn=zn.x,gr=zn.y,dr=(0,b.useState)(!1),Yr=(0,Oe.Z)(dr,2),Wr=Yr[0],Zr=Yr[1],Qr=(0,b.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}),ca=function(_t){!rn||_t.button!==0||(_t.preventDefault(),_t.stopPropagation(),Qr.current={diffX:_t.pageX-Kn,diffY:_t.pageY-gr,transformX:Kn,transformY:gr},Zr(!0))},Xr=function(_t){Cn&&Wr&&tr({x:_t.pageX-Qr.current.diffX,y:_t.pageY-Qr.current.diffY},"move")},la=function(){if(Cn&&Wr){Zr(!1);var _t=Qr.current,Ea=_t.transformX,ia=_t.transformY,ra=Kn!==Ea&&gr!==ia;if(!ra)return;var fa=Sn.current.offsetWidth*Zn,ha=Sn.current.offsetHeight*Zn,Br=Sn.current.getBoundingClientRect(),Gn=Br.left,Vr=Br.top,qn=pr%180!==0,hr=Se(qn?ha:fa,qn?fa:ha,Gn,Vr);hr&&tr((0,fe.Z)({},hr),"dragRebound")}},_r=function(_t){if(!(!Cn||_t.deltaY==0)){var Ea=Math.abs(_t.deltaY/100),ia=Math.min(Ea,on),ra=Qt+ia*Pn;_t.deltaY>0&&(ra=Qt/ra),wr(ra,"wheel",_t.clientX,_t.clientY)}};return(0,b.useEffect)(function(){var oa,_t,Ea,ia;if(rn){Ea=(0,it.Z)(window,"mouseup",la,!1),ia=(0,it.Z)(window,"mousemove",Xr,!1);try{window.top!==window.self&&(oa=(0,it.Z)(window.top,"mouseup",la,!1),_t=(0,it.Z)(window.top,"mousemove",Xr,!1))}catch(ra){(0,Tt.Kp)(!1,"[rc-image] ".concat(ra))}}return function(){var ra,fa,ha,Br;(ra=Ea)===null||ra===void 0||ra.remove(),(fa=ia)===null||fa===void 0||fa.remove(),(ha=oa)===null||ha===void 0||ha.remove(),(Br=_t)===null||Br===void 0||Br.remove()}},[Cn,Wr,Kn,gr,pr,rn]),{isMoving:Wr,onMouseDown:ca,onMouseMove:Xr,onMouseUp:la,onWheel:_r}}function Ut(Sn){return new Promise(function(rn){if(!Sn){rn(!1);return}var Cn=document.createElement("img");Cn.onerror=function(){return rn(!1)},Cn.onload=function(){return rn(!0)},Cn.src=Sn})}function Gt(Sn){var rn=Sn.src,Cn=Sn.isCustomPlaceholder,Pn=Sn.fallback,zn=(0,b.useState)(Cn?"loading":"normal"),tr=(0,Oe.Z)(zn,2),wr=tr[0],pr=tr[1],Zn=(0,b.useRef)(!1),Kn=wr==="error";(0,b.useEffect)(function(){var Wr=!0;return Ut(rn).then(function(Zr){!Zr&&Wr&&pr("error")}),function(){Wr=!1}},[rn]),(0,b.useEffect)(function(){Cn&&!Zn.current?pr("loading"):Kn&&pr("normal")},[rn]);var gr=function(){pr("normal")},dr=function(Zr){Zn.current=!1,wr==="loading"&&Zr!==null&&Zr!==void 0&&Zr.complete&&(Zr.naturalWidth||Zr.naturalHeight)&&(Zn.current=!0,gr())},Yr=Kn&&Pn?{src:Pn}:{onLoad:gr,src:rn};return[dr,Yr,wr]}function On(Sn,rn){var Cn=Sn.x-rn.x,Pn=Sn.y-rn.y;return Math.hypot(Cn,Pn)}function ft(Sn,rn,Cn,Pn){var zn=On(Sn,Cn),tr=On(rn,Pn);if(zn===0&&tr===0)return[Sn.x,Sn.y];var wr=zn/(zn+tr),pr=Sn.x+wr*(rn.x-Sn.x),Zn=Sn.y+wr*(rn.y-Sn.y);return[pr,Zn]}function En(Sn,rn,Cn,Pn,zn,tr,wr){var pr=zn.rotate,Zn=zn.scale,Kn=zn.x,gr=zn.y,dr=(0,b.useState)(!1),Yr=(0,Oe.Z)(dr,2),Wr=Yr[0],Zr=Yr[1],Qr=(0,b.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),ca=function(_t){Qr.current=(0,fe.Z)((0,fe.Z)({},Qr.current),_t)},Xr=function(_t){if(rn){_t.stopPropagation(),Zr(!0);var Ea=_t.touches,ia=Ea===void 0?[]:Ea;ia.length>1?ca({point1:{x:ia[0].clientX,y:ia[0].clientY},point2:{x:ia[1].clientX,y:ia[1].clientY},eventType:"touchZoom"}):ca({point1:{x:ia[0].clientX-Kn,y:ia[0].clientY-gr},eventType:"move"})}},la=function(_t){var Ea=_t.touches,ia=Ea===void 0?[]:Ea,ra=Qr.current,fa=ra.point1,ha=ra.point2,Br=ra.eventType;if(ia.length>1&&Br==="touchZoom"){var Gn={x:ia[0].clientX,y:ia[0].clientY},Vr={x:ia[1].clientX,y:ia[1].clientY},qn=ft(fa,ha,Gn,Vr),hr=(0,Oe.Z)(qn,2),or=hr[0],er=hr[1],Dr=On(Gn,Vr)/On(fa,ha);wr(Dr,"touchZoom",or,er,!0),ca({point1:Gn,point2:Vr,eventType:"touchZoom"})}else Br==="move"&&(tr({x:ia[0].clientX-fa.x,y:ia[0].clientY-fa.y},"move"),ca({eventType:"move"}))},_r=function(){if(Cn){if(Wr&&Zr(!1),ca({eventType:"none"}),Pn>Zn)return tr({x:0,y:0,scale:Pn},"touchZoom");var _t=Sn.current.offsetWidth*Zn,Ea=Sn.current.offsetHeight*Zn,ia=Sn.current.getBoundingClientRect(),ra=ia.left,fa=ia.top,ha=pr%180!==0,Br=Se(ha?Ea:_t,ha?_t:Ea,ra,fa);Br&&tr((0,fe.Z)({},Br),"dragRebound")}};return(0,b.useEffect)(function(){var oa;return Cn&&rn&&(oa=(0,it.Z)(window,"touchmove",function(_t){return _t.preventDefault()},{passive:!1})),function(){var _t;(_t=oa)===null||_t===void 0||_t.remove()}},[Cn,rn]),{isTouching:Wr,onTouchStart:Xr,onTouchMove:la,onTouchEnd:_r}}var Ht=["fallback","src","imgRef"],gn=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],un=function(rn){var Cn=rn.fallback,Pn=rn.src,zn=rn.imgRef,tr=(0,xe.Z)(rn,Ht),wr=Gt({src:Pn,fallback:Cn}),pr=(0,Oe.Z)(wr,2),Zn=pr[0],Kn=pr[1];return b.createElement("img",(0,be.Z)({ref:function(dr){zn.current=dr,Zn(dr)}},tr,Kn))},De=function(rn){var Cn=rn.prefixCls,Pn=rn.src,zn=rn.alt,tr=rn.imageInfo,wr=rn.fallback,pr=rn.movable,Zn=pr===void 0?!0:pr,Kn=rn.onClose,gr=rn.visible,dr=rn.icons,Yr=dr===void 0?{}:dr,Wr=rn.rootClassName,Zr=rn.closeIcon,Qr=rn.getContainer,ca=rn.current,Xr=ca===void 0?0:ca,la=rn.count,_r=la===void 0?1:la,oa=rn.countRender,_t=rn.scaleStep,Ea=_t===void 0?.5:_t,ia=rn.minScale,ra=ia===void 0?1:ia,fa=rn.maxScale,ha=fa===void 0?50:fa,Br=rn.transitionName,Gn=Br===void 0?"zoom":Br,Vr=rn.maskTransitionName,qn=Vr===void 0?"fade":Vr,hr=rn.imageRender,or=rn.imgCommonProps,er=rn.toolbarRender,Dr=rn.onTransform,Ar=rn.onChange,ur=(0,xe.Z)(rn,gn),nr=(0,b.useRef)(),xr=(0,b.useContext)(It),Or=xr&&_r>1,ba=xr&&_r>=1,da=(0,b.useState)(!0),ya=(0,Oe.Z)(da,2),Ma=ya[0],_a=ya[1],Na=Tn(nr,ra,ha,Dr),Ha=Na.transform,Da=Na.resetTransform,ja=Na.updateTransform,Gr=Na.dispatchZoomChange,bi=st(nr,Zn,gr,Ea,Ha,ja,Gr),wi=bi.isMoving,Pa=bi.onMouseDown,li=bi.onWheel,fi=En(nr,Zn,gr,ra,Ha,ja,Gr),Ua=fi.isTouching,Ni=fi.onTouchStart,Va=fi.onTouchMove,Aa=fi.onTouchEnd,$a=Ha.rotate,Ja=Ha.scale,Ba=pe()((0,we.Z)({},"".concat(Cn,"-moving"),wi));(0,b.useEffect)(function(){Ma||_a(!0)},[Ma]);var Xa=function(){Da("close")},ma=function(){Gr(Qt+Ea,"zoomIn")},xi=function(){Gr(Qt/(Qt+Ea),"zoomOut")},Bi=function(){ja({rotate:$a+90},"rotateRight")},Fi=function(){ja({rotate:$a-90},"rotateLeft")},Rr=function(){ja({flipX:!Ha.flipX},"flipX")},Ti=function(){ja({flipY:!Ha.flipY},"flipY")},qi=function(){Da("reset")},Ra=function(ci){var ki=Xr+ci;!Number.isInteger(ki)||ki<0||ki>_r-1||(_a(!1),Da(ci<0?"prev":"next"),Ar==null||Ar(ki,Xr))},Ka=function(ci){!gr||!Or||(ci.keyCode===Nt.Z.LEFT?Ra(-1):ci.keyCode===Nt.Z.RIGHT&&Ra(1))},Ca=function(ci){gr&&(Ja!==1?ja({x:0,y:0,scale:1},"doubleClick"):Gr(Qt+Ea,"doubleClick",ci.clientX,ci.clientY))};(0,b.useEffect)(function(){var ii=(0,it.Z)(window,"keydown",Ka,!1);return function(){ii.remove()}},[gr,Or,Xr]);var za=b.createElement(un,(0,be.Z)({},or,{width:rn.width,height:rn.height,imgRef:nr,className:"".concat(Cn,"-img"),alt:zn,style:{transform:"translate3d(".concat(Ha.x,"px, ").concat(Ha.y,"px, 0) scale3d(").concat(Ha.flipX?"-":"").concat(Ja,", ").concat(Ha.flipY?"-":"").concat(Ja,", 1) rotate(").concat($a,"deg)"),transitionDuration:(!Ma||Ua)&&"0s"},fallback:wr,src:Pn,onWheel:li,onMouseDown:Pa,onDoubleClick:Ca,onTouchStart:Ni,onTouchMove:Va,onTouchEnd:Aa,onTouchCancel:Aa})),ri=(0,fe.Z)({url:Pn,alt:zn},tr);return b.createElement(b.Fragment,null,b.createElement(bt.Z,(0,be.Z)({transitionName:Gn,maskTransitionName:qn,closable:!1,keyboard:!0,prefixCls:Cn,onClose:Kn,visible:gr,classNames:{wrapper:Ba},rootClassName:Wr,getContainer:Qr},ur,{afterClose:Xa}),b.createElement("div",{className:"".concat(Cn,"-img-wrapper")},hr?hr(za,(0,fe.Z)({transform:Ha,image:ri},xr?{current:Xr}:{})):za)),b.createElement(qe,{visible:gr,transform:Ha,maskTransitionName:qn,closeIcon:Zr,getContainer:Qr,prefixCls:Cn,rootClassName:Wr,icons:Yr,countRender:oa,showSwitch:Or,showProgress:ba,current:Xr,count:_r,scale:Ja,minScale:ra,maxScale:ha,toolbarRender:er,onActive:Ra,onZoomIn:ma,onZoomOut:xi,onRotateRight:Bi,onRotateLeft:Fi,onFlipX:Rr,onFlipY:Ti,onClose:Kn,onReset:qi,zIndex:ur.zIndex!==void 0?ur.zIndex+1:void 0,image:ri}))},he=De,ce=y(77654),Te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function je(Sn){var rn=b.useState({}),Cn=(0,Oe.Z)(rn,2),Pn=Cn[0],zn=Cn[1],tr=b.useCallback(function(pr,Zn){return zn(function(Kn){return(0,fe.Z)((0,fe.Z)({},Kn),{},(0,we.Z)({},pr,Zn))}),function(){zn(function(Kn){var gr=(0,fe.Z)({},Kn);return delete gr[pr],gr})}},[]),wr=b.useMemo(function(){return Sn?Sn.map(function(pr){if(typeof pr=="string")return{data:{src:pr}};var Zn={};return Object.keys(pr).forEach(function(Kn){["src"].concat((0,ce.Z)(Te)).includes(Kn)&&(Zn[Kn]=pr[Kn])}),{data:Zn}}):Object.keys(Pn).reduce(function(pr,Zn){var Kn=Pn[Zn],gr=Kn.canPreview,dr=Kn.data;return gr&&pr.push({data:dr,id:Zn}),pr},[])},[Sn,Pn]);return[wr,tr,!!Sn]}var ge=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Pe=["src"],ct=function(rn){var Cn,Pn=rn.previewPrefixCls,zn=Pn===void 0?"rc-image-preview":Pn,tr=rn.children,wr=rn.icons,pr=wr===void 0?{}:wr,Zn=rn.items,Kn=rn.preview,gr=rn.fallback,dr=(0,Re.Z)(Kn)==="object"?Kn:{},Yr=dr.visible,Wr=dr.onVisibleChange,Zr=dr.getContainer,Qr=dr.current,ca=dr.movable,Xr=dr.minScale,la=dr.maxScale,_r=dr.countRender,oa=dr.closeIcon,_t=dr.onChange,Ea=dr.onTransform,ia=dr.toolbarRender,ra=dr.imageRender,fa=(0,xe.Z)(dr,ge),ha=je(Zn),Br=(0,Oe.Z)(ha,3),Gn=Br[0],Vr=Br[1],qn=Br[2],hr=(0,nt.Z)(0,{value:Qr}),or=(0,Oe.Z)(hr,2),er=or[0],Dr=or[1],Ar=(0,b.useState)(!1),ur=(0,Oe.Z)(Ar,2),nr=ur[0],xr=ur[1],Or=((Cn=Gn[er])===null||Cn===void 0?void 0:Cn.data)||{},ba=Or.src,da=(0,xe.Z)(Or,Pe),ya=(0,nt.Z)(!!Yr,{value:Yr,onChange:function(Ua,Ni){Wr==null||Wr(Ua,Ni,er)}}),Ma=(0,Oe.Z)(ya,2),_a=Ma[0],Na=Ma[1],Ha=(0,b.useState)(null),Da=(0,Oe.Z)(Ha,2),ja=Da[0],Gr=Da[1],bi=b.useCallback(function(fi,Ua,Ni,Va){var Aa=qn?Gn.findIndex(function($a){return $a.data.src===Ua}):Gn.findIndex(function($a){return $a.id===fi});Dr(Aa<0?0:Aa),Na(!0),Gr({x:Ni,y:Va}),xr(!0)},[Gn,qn]);b.useEffect(function(){_a?nr||Dr(0):xr(!1)},[_a]);var wi=function(Ua,Ni){Dr(Ua),_t==null||_t(Ua,Ni)},Pa=function(){Na(!1),Gr(null)},li=b.useMemo(function(){return{register:Vr,onPreview:bi}},[Vr,bi]);return b.createElement(It.Provider,{value:li},tr,b.createElement(he,(0,be.Z)({"aria-hidden":!_a,movable:ca,visible:_a,prefixCls:zn,closeIcon:oa,onClose:Pa,mousePosition:ja,imgCommonProps:da,src:ba,fallback:gr,icons:pr,minScale:Xr,maxScale:la,getContainer:Zr,current:er,count:Gn.length,countRender:_r,onTransform:Ea,toolbarRender:ia,imageRender:ra,onChange:wi},fa)))},$t=ct,gt=0;function yt(Sn,rn){var Cn=b.useState(function(){return gt+=1,String(gt)}),Pn=(0,Oe.Z)(Cn,1),zn=Pn[0],tr=b.useContext(It),wr={data:rn,canPreview:Sn};return b.useEffect(function(){if(tr)return tr.register(zn,wr)},[]),b.useEffect(function(){tr&&tr.register(zn,wr)},[Sn,rn]),zn}var Dt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Pt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Wt=function(rn){var Cn=rn.src,Pn=rn.alt,zn=rn.onPreviewClose,tr=rn.prefixCls,wr=tr===void 0?"rc-image":tr,pr=rn.previewPrefixCls,Zn=pr===void 0?"".concat(wr,"-preview"):pr,Kn=rn.placeholder,gr=rn.fallback,dr=rn.width,Yr=rn.height,Wr=rn.style,Zr=rn.preview,Qr=Zr===void 0?!0:Zr,ca=rn.className,Xr=rn.onClick,la=rn.onError,_r=rn.wrapperClassName,oa=rn.wrapperStyle,_t=rn.rootClassName,Ea=(0,xe.Z)(rn,Dt),ia=Kn&&Kn!==!0,ra=(0,Re.Z)(Qr)==="object"?Qr:{},fa=ra.src,ha=ra.visible,Br=ha===void 0?void 0:ha,Gn=ra.onVisibleChange,Vr=Gn===void 0?zn:Gn,qn=ra.getContainer,hr=qn===void 0?void 0:qn,or=ra.mask,er=ra.maskClassName,Dr=ra.movable,Ar=ra.icons,ur=ra.scaleStep,nr=ra.minScale,xr=ra.maxScale,Or=ra.imageRender,ba=ra.toolbarRender,da=(0,xe.Z)(ra,Pt),ya=fa!=null?fa:Cn,Ma=(0,nt.Z)(!!Br,{value:Br,onChange:Vr}),_a=(0,Oe.Z)(Ma,2),Na=_a[0],Ha=_a[1],Da=Gt({src:Cn,isCustomPlaceholder:ia,fallback:gr}),ja=(0,Oe.Z)(Da,3),Gr=ja[0],bi=ja[1],wi=ja[2],Pa=(0,b.useState)(null),li=(0,Oe.Z)(Pa,2),fi=li[0],Ua=li[1],Ni=(0,b.useContext)(It),Va=!!Qr,Aa=function(){Ha(!1),Ua(null)},$a=pe()(wr,_r,_t,(0,we.Z)({},"".concat(wr,"-error"),wi==="error")),Ja=(0,b.useMemo)(function(){var xi={};return Te.forEach(function(Bi){rn[Bi]!==void 0&&(xi[Bi]=rn[Bi])}),xi},Te.map(function(xi){return rn[xi]})),Ba=(0,b.useMemo)(function(){return(0,fe.Z)((0,fe.Z)({},Ja),{},{src:ya})},[ya,Ja]),Xa=yt(Va,Ba),ma=function(Bi){var Fi=$e(Bi.target),Rr=Fi.left,Ti=Fi.top;Ni?Ni.onPreview(Xa,ya,Rr,Ti):(Ua({x:Rr,y:Ti}),Ha(!0)),Xr==null||Xr(Bi)};return b.createElement(b.Fragment,null,b.createElement("div",(0,be.Z)({},Ea,{className:$a,onClick:Va?ma:Xr,style:(0,fe.Z)({width:dr,height:Yr},oa)}),b.createElement("img",(0,be.Z)({},Ja,{className:pe()("".concat(wr,"-img"),(0,we.Z)({},"".concat(wr,"-img-placeholder"),Kn===!0),ca),style:(0,fe.Z)({height:Yr},Wr),ref:Gr},bi,{width:dr,height:Yr,onError:la})),wi==="loading"&&b.createElement("div",{"aria-hidden":"true",className:"".concat(wr,"-placeholder")},Kn),or&&Va&&b.createElement("div",{className:pe()("".concat(wr,"-mask"),er),style:{display:(Wr==null?void 0:Wr.display)==="none"?"none":void 0}},or)),!Ni&&Va&&b.createElement(he,(0,be.Z)({"aria-hidden":!Na,visible:Na,prefixCls:Zn,onClose:Aa,mousePosition:fi,src:ya,alt:Pn,imageInfo:{width:dr,height:Yr},fallback:gr,getContainer:hr,icons:Ar,movable:Dr,scaleStep:ur,minScale:nr,maxScale:xr,rootClassName:_t,imageRender:Or,imgCommonProps:Ja,toolbarRender:ba},da)))};Wt.PreviewGroup=$t;var pn=Wt,fn=pn,Mt=y(75030),Ln=y(86641),kn=y(48755),wn=y(83397),ln=y(9017),In=y(99267),xn=y(33853),kt=y(38819),Yt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ft=Yt,vn=y(7657),Ct=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Ft}))},pt=b.forwardRef(Ct),de=pt,qt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Dn=qt,mn=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Dn}))},vr=b.forwardRef(mn),yr=vr,ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Er=ar,wt=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Er}))},Qn=b.forwardRef(wt),lr=Qn,cr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Yn=cr,Sr=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:Yn}))},br=b.forwardRef(Sr),Nr=br,Jr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},$r=Jr,Ur=function(rn,Cn){return b.createElement(vn.Z,(0,be.Z)({},rn,{ref:Cn,icon:$r}))},aa=b.forwardRef(Ur),Hr=aa,pa=y(36237),ea=y(17835),jn=y(64427),sr=y(63356),Kr=y(34925),zr=y(99495),ve=y(16931),Ie=y(51636);const ut=Sn=>({position:Sn||"absolute",inset:0}),Le=Sn=>{const{iconCls:rn,motionDurationSlow:Cn,paddingXXS:Pn,marginXXS:zn,prefixCls:tr,colorTextLightSolid:wr}=Sn;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:wr,background:new ea.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Cn}`,[`.${tr}-mask-info`]:Object.assign(Object.assign({},sr.vS),{padding:`0 ${(0,pa.unit)(Pn)}`,[rn]:{marginInlineEnd:zn,svg:{verticalAlign:"baseline"}}})}},He=Sn=>{const{previewCls:rn,modalMaskBg:Cn,paddingSM:Pn,marginXL:zn,margin:tr,paddingLG:wr,previewOperationColorDisabled:pr,previewOperationHoverColor:Zn,motionDurationSlow:Kn,iconCls:gr,colorTextLightSolid:dr}=Sn,Yr=new ea.FastColor(Cn).setA(.1),Wr=Yr.clone().setA(.2);return{[`${rn}-footer`]:{position:"fixed",bottom:zn,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Sn.previewOperationColor,transform:"translateX(-50%)"},[`${rn}-progress`]:{marginBottom:tr},[`${rn}-close`]:{position:"fixed",top:zn,right:{_skip_check_:!0,value:zn},display:"flex",color:dr,backgroundColor:Yr.toRgbString(),borderRadius:"50%",padding:Pn,outline:0,border:0,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{backgroundColor:Wr.toRgbString()},[`& > ${gr}`]:{fontSize:Sn.previewOperationSize}},[`${rn}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,pa.unit)(wr)}`,backgroundColor:Yr.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Pn,padding:Pn,cursor:"pointer",transition:`all ${Kn}`,userSelect:"none",[`&:not(${rn}-operations-operation-disabled):hover > ${gr}`]:{color:Zn},"&-disabled":{color:pr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${gr}`]:{fontSize:Sn.previewOperationSize}}}}},Vt=Sn=>{const{modalMaskBg:rn,iconCls:Cn,previewOperationColorDisabled:Pn,previewCls:zn,zIndexPopup:tr,motionDurationSlow:wr}=Sn,pr=new ea.FastColor(rn).setA(.1),Zn=pr.clone().setA(.2);return{[`${zn}-switch-left, ${zn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Sn.calc(tr).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Sn.imagePreviewSwitchSize,height:Sn.imagePreviewSwitchSize,marginTop:Sn.calc(Sn.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Sn.previewOperationColor,background:pr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${wr}`,userSelect:"none","&:hover":{background:Zn.toRgbString()},"&-disabled":{"&, &:hover":{color:Pn,background:"transparent",cursor:"not-allowed",[`> ${Cn}`]:{cursor:"not-allowed"}}},[`> ${Cn}`]:{fontSize:Sn.previewOperationSize}},[`${zn}-switch-left`]:{insetInlineStart:Sn.marginSM},[`${zn}-switch-right`]:{insetInlineEnd:Sn.marginSM}}},et=Sn=>{const{motionEaseOut:rn,previewCls:Cn,motionDurationSlow:Pn,componentCls:zn}=Sn;return[{[`${zn}-preview-root`]:{[Cn]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Cn}-body`]:Object.assign(Object.assign({},ut()),{overflow:"hidden"}),[`${Cn}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Pn} ${rn} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ut()),{transition:`transform ${Pn} ${rn} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Cn}-moving`]:{[`${Cn}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${zn}-preview-root`]:{[`${Cn}-wrap`]:{zIndex:Sn.zIndexPopup}}},{[`${zn}-preview-operations-wrapper`]:{position:"fixed",zIndex:Sn.calc(Sn.zIndexPopup).add(1).equal()},"&":[He(Sn),Vt(Sn)]}]},en=Sn=>{const{componentCls:rn}=Sn;return{[rn]:{position:"relative",display:"inline-block",[`${rn}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${rn}-img-placeholder`]:{backgroundColor:Sn.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${rn}-mask`]:Object.assign({},Le(Sn)),[`${rn}-mask:hover`]:{opacity:1},[`${rn}-placeholder`]:Object.assign({},ut())}}},cn=Sn=>{const{previewCls:rn}=Sn;return{[`${rn}-root`]:(0,Kr._y)(Sn,"zoom"),"&":(0,zr.J$)(Sn,!0)}},Xt=Sn=>({zIndexPopup:Sn.zIndexPopupBase+80,previewOperationColor:new ea.FastColor(Sn.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new ea.FastColor(Sn.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new ea.FastColor(Sn.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Sn.fontSizeIcon*1.5});var an=(0,ve.I$)("Image",Sn=>{const rn=`${Sn.componentCls}-preview`,Cn=(0,Ie.mergeToken)(Sn,{previewCls:rn,modalMaskBg:new ea.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Sn.controlHeightLG});return[en(Cn),et(Cn),(0,jn.QA)((0,Ie.mergeToken)(Cn,{componentCls:rn})),cn(Cn)]},Xt),Kt=function(Sn,rn){var Cn={};for(var Pn in Sn)Object.prototype.hasOwnProperty.call(Sn,Pn)&&rn.indexOf(Pn)<0&&(Cn[Pn]=Sn[Pn]);if(Sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zn=0,Pn=Object.getOwnPropertySymbols(Sn);zn{var{previewPrefixCls:rn,preview:Cn}=Sn,Pn=Kt(Sn,["previewPrefixCls","preview"]);const{getPrefixCls:zn}=b.useContext(kn.E_),tr=zn("image",rn),wr=`${tr}-preview`,pr=zn(),Zn=(0,wn.Z)(tr),[Kn,gr,dr]=an(tr,Zn),[Yr]=(0,Mt.Cn)("ImagePreview",typeof Cn=="object"?Cn.zIndex:void 0),Wr=b.useMemo(()=>{var Zr;if(Cn===!1)return Cn;const Qr=typeof Cn=="object"?Cn:{},ca=pe()(gr,dr,Zn,(Zr=Qr.rootClassName)!==null&&Zr!==void 0?Zr:"");return Object.assign(Object.assign({},Qr),{transitionName:(0,Ln.m)(pr,"zoom",Qr.transitionName),maskTransitionName:(0,Ln.m)(pr,"fade",Qr.maskTransitionName),rootClassName:ca,zIndex:Yr})},[Cn]);return Kn(b.createElement(fn.PreviewGroup,Object.assign({preview:Wr,previewPrefixCls:wr,icons:nn},Pn)))},Bt=function(Sn,rn){var Cn={};for(var Pn in Sn)Object.prototype.hasOwnProperty.call(Sn,Pn)&&rn.indexOf(Pn)<0&&(Cn[Pn]=Sn[Pn]);if(Sn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zn=0,Pn=Object.getOwnPropertySymbols(Sn);zn{const{prefixCls:rn,preview:Cn,className:Pn,rootClassName:zn,style:tr}=Sn,wr=Bt(Sn,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:pr,getPopupContainer:Zn,className:Kn,style:gr,preview:dr}=(0,kn.dj)("image"),[Yr]=(0,ln.Z)("Image"),Wr=pr("image",rn),Zr=pr(),Qr=(0,wn.Z)(Wr),[ca,Xr,la]=an(Wr,Qr),_r=pe()(zn,Xr,la,Qr),oa=pe()(Pn,Xr,Kn),[_t]=(0,Mt.Cn)("ImagePreview",typeof Cn=="object"?Cn.zIndex:void 0),Ea=b.useMemo(()=>{if(Cn===!1)return Cn;const ra=typeof Cn=="object"?Cn:{},{getContainer:fa,closeIcon:ha,rootClassName:Br}=ra,Gn=Bt(ra,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:b.createElement("div",{className:`${Wr}-mask-info`},b.createElement(me.Z,null),Yr==null?void 0:Yr.preview),icons:nn},Gn),{rootClassName:pe()(_r,Br),getContainer:fa!=null?fa:Zn,transitionName:(0,Ln.m)(Zr,"zoom",ra.transitionName),maskTransitionName:(0,Ln.m)(Zr,"fade",ra.maskTransitionName),zIndex:_t,closeIcon:ha!=null?ha:dr==null?void 0:dr.closeIcon})},[Cn,Yr,dr==null?void 0:dr.closeIcon]),ia=Object.assign(Object.assign({},gr),tr);return ca(b.createElement(fn,Object.assign({prefixCls:Wr,preview:Ea,rootClassName:_r,className:oa,style:ia},wr)))};rr.PreviewGroup=Jn;var Pr=rr},4875:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return vn}});var b=y(59301),me=y(84105),le=y(87395),pe=y(92310),be=y.n(pe),fe=y(60499),we=y(18642),Oe=y(43749),Re=y(72190),xe=y(42244),Ge=y(38705),Fe=y(17212);function At(){return typeof BigInt=="function"}function at(Ct){return!Ct&&Ct!==0&&!Number.isNaN(Ct)||!String(Ct).trim()}function tt(Ct){var pt=Ct.trim(),de=pt.startsWith("-");de&&(pt=pt.slice(1)),pt=pt.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),pt.startsWith(".")&&(pt="0".concat(pt));var qt=pt||"0",Dn=qt.split("."),mn=Dn[0]||"0",vr=Dn[1]||"0";mn==="0"&&vr==="0"&&(de=!1);var yr=de?"-":"";return{negative:de,negativeStr:yr,trimStr:qt,integerStr:mn,decimalStr:vr,fullStr:"".concat(yr).concat(qt)}}function Je(Ct){var pt=String(Ct);return!Number.isNaN(Number(pt))&&pt.includes("e")}function We(Ct){var pt=String(Ct);if(Je(Ct)){var de=Number(pt.slice(pt.indexOf("e-")+2)),qt=pt.match(/\.(\d+)/);return qt!=null&&qt[1]&&(de+=qt[1].length),de}return pt.includes(".")&&Ze(pt)?pt.length-pt.indexOf(".")-1:0}function Ve(Ct){var pt=String(Ct);if(Je(Ct)){if(Ct>Number.MAX_SAFE_INTEGER)return String(At()?BigInt(Ct).toString():Number.MAX_SAFE_INTEGER);if(Ct0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":tt("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),Ct}(),ze=function(){function Ct(pt){if((0,Ge.Z)(this,Ct),(0,we.Z)(this,"origin",""),(0,we.Z)(this,"number",void 0),(0,we.Z)(this,"empty",void 0),at(pt)){this.empty=!0;return}this.origin=String(pt),this.number=Number(pt)}return(0,Fe.Z)(Ct,[{key:"negate",value:function(){return new Ct(-this.toNumber())}},{key:"add",value:function(de){if(this.isInvalidate())return new Ct(de);var qt=Number(de);if(Number.isNaN(qt))return this;var Dn=this.number+qt;if(Dn>Number.MAX_SAFE_INTEGER)return new Ct(Number.MAX_SAFE_INTEGER);if(DnNumber.MAX_SAFE_INTEGER)return new Ct(Number.MAX_SAFE_INTEGER);if(Dn0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":Ve(this.number):this.origin}}]),Ct}();function _e(Ct){return At()?new Qe(Ct):new ze(Ct)}function $e(Ct,pt,de){var qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(Ct==="")return"";var Dn=tt(Ct),mn=Dn.negativeStr,vr=Dn.integerStr,yr=Dn.decimalStr,ar="".concat(pt).concat(yr),Er="".concat(mn).concat(vr);if(de>=0){var wt=Number(yr[de]);if(wt>=5&&!qt){var Qn=_e(Ct).add("".concat(mn,"0.").concat("0".repeat(de)).concat(10-wt));return $e(Qn.toString(),pt,de,qt)}return de===0?Er:"".concat(Er).concat(pt).concat(yr.padEnd(de,"0").slice(0,de))}return ar===".0"?Er:"".concat(Er).concat(ar)}var nt=_e,bt=y(36901),it=y(34280);function Nt(Ct,pt){return typeof Proxy!="undefined"&&Ct?new Proxy(Ct,{get:function(qt,Dn){if(pt[Dn])return pt[Dn];var mn=qt[Dn];return typeof mn=="function"?mn.bind(qt):mn}}):Ct}var vt=y(8654),dt=y(48736);function It(Ct,pt){var de=(0,b.useRef)(null);function qt(){try{var mn=Ct.selectionStart,vr=Ct.selectionEnd,yr=Ct.value,ar=yr.substring(0,mn),Er=yr.substring(vr);de.current={start:mn,end:vr,value:yr,beforeTxt:ar,afterTxt:Er}}catch(wt){}}function Dn(){if(Ct&&de.current&&pt)try{var mn=Ct.value,vr=de.current,yr=vr.beforeTxt,ar=vr.afterTxt,Er=vr.start,wt=mn.length;if(mn.startsWith(yr))wt=yr.length;else if(mn.endsWith(ar))wt=mn.length-de.current.afterTxt.length;else{var Qn=yr[Er-1],lr=mn.indexOf(Qn,Er-1);lr!==-1&&(wt=lr+1)}Ct.setSelectionRange(wt,wt)}catch(cr){(0,dt.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(cr.message))}}return[qt,Dn]}var St=y(49658),qe=function(){var pt=(0,b.useState)(!1),de=(0,Re.Z)(pt,2),qt=de[0],Dn=de[1];return(0,it.Z)(function(){Dn((0,St.Z)())},[]),qt},Jt=qe,Rt=y(16089),Zt=200,Tn=600;function Tt(Ct){var pt=Ct.prefixCls,de=Ct.upNode,qt=Ct.downNode,Dn=Ct.upDisabled,mn=Ct.downDisabled,vr=Ct.onStep,yr=b.useRef(),ar=b.useRef([]),Er=b.useRef();Er.current=vr;var wt=function(){clearTimeout(yr.current)},Qn=function($r,Ur){$r.preventDefault(),wt(),Er.current(Ur);function aa(){Er.current(Ur),yr.current=setTimeout(aa,Zt)}yr.current=setTimeout(aa,Tn)};b.useEffect(function(){return function(){wt(),ar.current.forEach(function(Jr){return Rt.Z.cancel(Jr)})}},[]);var lr=Jt();if(lr)return null;var cr="".concat(pt,"-handler"),Yn=be()(cr,"".concat(cr,"-up"),(0,we.Z)({},"".concat(cr,"-up-disabled"),Dn)),Sr=be()(cr,"".concat(cr,"-down"),(0,we.Z)({},"".concat(cr,"-down-disabled"),mn)),br=function(){return ar.current.push((0,Rt.Z)(wt))},Nr={unselectable:"on",role:"button",onMouseUp:br,onMouseLeave:br};return b.createElement("div",{className:"".concat(cr,"-wrap")},b.createElement("span",(0,fe.Z)({},Nr,{onMouseDown:function($r){Qn($r,!0)},"aria-label":"Increase Value","aria-disabled":Dn,className:Yn}),de||b.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-up-inner")})),b.createElement("span",(0,fe.Z)({},Nr,{onMouseDown:function($r){Qn($r,!1)},"aria-label":"Decrease Value","aria-disabled":mn,className:Sr}),qt||b.createElement("span",{unselectable:"on",className:"".concat(pt,"-handler-down-inner")})))}function Ye(Ct){var pt=typeof Ct=="number"?Ve(Ct):tt(Ct).fullStr,de=pt.includes(".");return de?tt(pt.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:Ct+"0"}var Se=y(30292),Qt=function(){var Ct=(0,b.useRef)(0),pt=function(){Rt.Z.cancel(Ct.current)};return(0,b.useEffect)(function(){return pt},[]),function(de){pt(),Ct.current=(0,Rt.Z)(function(){de()})}},on=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],st=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Ut=function(pt,de){return pt||de.isEmpty()?de.toString():de.toNumber()},Gt=function(pt){var de=nt(pt);return de.isInvalidate()?null:de},On=b.forwardRef(function(Ct,pt){var de=Ct.prefixCls,qt=Ct.className,Dn=Ct.style,mn=Ct.min,vr=Ct.max,yr=Ct.step,ar=yr===void 0?1:yr,Er=Ct.defaultValue,wt=Ct.value,Qn=Ct.disabled,lr=Ct.readOnly,cr=Ct.upHandler,Yn=Ct.downHandler,Sr=Ct.keyboard,br=Ct.changeOnWheel,Nr=br===void 0?!1:br,Jr=Ct.controls,$r=Jr===void 0?!0:Jr,Ur=Ct.classNames,aa=Ct.stringMode,Hr=Ct.parser,pa=Ct.formatter,ea=Ct.precision,jn=Ct.decimalSeparator,sr=Ct.onChange,Kr=Ct.onInput,zr=Ct.onPressEnter,ve=Ct.onStep,Ie=Ct.changeOnBlur,ut=Ie===void 0?!0:Ie,Le=Ct.domRef,He=(0,xe.Z)(Ct,on),Vt="".concat(de,"-input"),et=b.useRef(null),en=b.useState(!1),cn=(0,Re.Z)(en,2),Xt=cn[0],an=cn[1],Kt=b.useRef(!1),nn=b.useRef(!1),rt=b.useRef(!1),Jn=b.useState(function(){return nt(wt!=null?wt:Er)}),Bt=(0,Re.Z)(Jn,2),rr=Bt[0],Pr=Bt[1];function Sn(or){wt===void 0&&Pr(or)}var rn=b.useCallback(function(or,er){if(!er)return ea>=0?ea:Math.max(We(or),We(ar))},[ea,ar]),Cn=b.useCallback(function(or){var er=String(or);if(Hr)return Hr(er);var Dr=er;return jn&&(Dr=Dr.replace(jn,".")),Dr.replace(/[^\w.-]+/g,"")},[Hr,jn]),Pn=b.useRef(""),zn=b.useCallback(function(or,er){if(pa)return pa(or,{userTyping:er,input:String(Pn.current)});var Dr=typeof or=="number"?Ve(or):or;if(!er){var Ar=rn(Dr,er);if(Ze(Dr)&&(jn||Ar>=0)){var ur=jn||".";Dr=$e(Dr,ur,Ar)}}return Dr},[pa,rn,jn]),tr=b.useState(function(){var or=Er!=null?Er:wt;return rr.isInvalidate()&&["string","number"].includes((0,Oe.Z)(or))?Number.isNaN(or)?"":or:zn(rr.toString(),!1)}),wr=(0,Re.Z)(tr,2),pr=wr[0],Zn=wr[1];Pn.current=pr;function Kn(or,er){Zn(zn(or.isInvalidate()?or.toString(!1):or.toString(!er),er))}var gr=b.useMemo(function(){return Gt(vr)},[vr,ea]),dr=b.useMemo(function(){return Gt(mn)},[mn,ea]),Yr=b.useMemo(function(){return!gr||!rr||rr.isInvalidate()?!1:gr.lessEquals(rr)},[gr,rr]),Wr=b.useMemo(function(){return!dr||!rr||rr.isInvalidate()?!1:rr.lessEquals(dr)},[dr,rr]),Zr=It(et.current,Xt),Qr=(0,Re.Z)(Zr,2),ca=Qr[0],Xr=Qr[1],la=function(er){return gr&&!er.lessEquals(gr)?gr:dr&&!dr.lessEquals(er)?dr:null},_r=function(er){return!la(er)},oa=function(er,Dr){var Ar=er,ur=_r(Ar)||Ar.isEmpty();if(!Ar.isEmpty()&&!Dr&&(Ar=la(Ar)||Ar,ur=!0),!lr&&!Qn&&ur){var nr=Ar.toString(),xr=rn(nr,Dr);return xr>=0&&(Ar=nt($e(nr,".",xr)),_r(Ar)||(Ar=nt($e(nr,".",xr,!0)))),Ar.equals(rr)||(Sn(Ar),sr==null||sr(Ar.isEmpty()?null:Ut(aa,Ar)),wt===void 0&&Kn(Ar,Dr)),Ar}return rr},_t=Qt(),Ea=function or(er){if(ca(),Pn.current=er,Zn(er),!nn.current){var Dr=Cn(er),Ar=nt(Dr);Ar.isNaN()||oa(Ar,!0)}Kr==null||Kr(er),_t(function(){var ur=er;Hr||(ur=er.replace(/。/g,".")),ur!==er&&or(ur)})},ia=function(){nn.current=!0},ra=function(){nn.current=!1,Ea(et.current.value)},fa=function(er){Ea(er.target.value)},ha=function(er){var Dr;if(!(er&&Yr||!er&&Wr)){Kt.current=!1;var Ar=nt(rt.current?Ye(ar):ar);er||(Ar=Ar.negate());var ur=(rr||nt(0)).add(Ar.toString()),nr=oa(ur,!1);ve==null||ve(Ut(aa,nr),{offset:rt.current?Ye(ar):ar,type:er?"up":"down"}),(Dr=et.current)===null||Dr===void 0||Dr.focus()}},Br=function(er){var Dr=nt(Cn(pr)),Ar;Dr.isNaN()?Ar=oa(rr,er):Ar=oa(Dr,er),wt!==void 0?Kn(rr,!1):Ar.isNaN()||Kn(Ar,!1)},Gn=function(){Kt.current=!0},Vr=function(er){var Dr=er.key,Ar=er.shiftKey;Kt.current=!0,rt.current=Ar,Dr==="Enter"&&(nn.current||(Kt.current=!1),Br(!1),zr==null||zr(er)),Sr!==!1&&!nn.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Dr)&&(ha(Dr==="Up"||Dr==="ArrowUp"),er.preventDefault())},qn=function(){Kt.current=!1,rt.current=!1};b.useEffect(function(){if(Nr&&Xt){var or=function(Ar){ha(Ar.deltaY<0),Ar.preventDefault()},er=et.current;if(er)return er.addEventListener("wheel",or,{passive:!1}),function(){return er.removeEventListener("wheel",or)}}});var hr=function(){ut&&Br(!1),an(!1),Kt.current=!1};return(0,it.o)(function(){rr.isInvalidate()||Kn(rr,!1)},[ea,pa]),(0,it.o)(function(){var or=nt(wt);Pr(or);var er=nt(Cn(pr));(!or.equals(er)||!Kt.current||pa)&&Kn(or,Kt.current)},[wt]),(0,it.o)(function(){pa&&Xr()},[pr]),b.createElement("div",{ref:Le,className:be()(de,qt,(0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)((0,we.Z)({},"".concat(de,"-focused"),Xt),"".concat(de,"-disabled"),Qn),"".concat(de,"-readonly"),lr),"".concat(de,"-not-a-number"),rr.isNaN()),"".concat(de,"-out-of-range"),!rr.isInvalidate()&&!_r(rr))),style:Dn,onFocus:function(){an(!0)},onBlur:hr,onKeyDown:Vr,onKeyUp:qn,onCompositionStart:ia,onCompositionEnd:ra,onBeforeInput:Gn},$r&&b.createElement(Tt,{prefixCls:de,upNode:cr,downNode:Yn,upDisabled:Yr,downDisabled:Wr,onStep:ha}),b.createElement("div",{className:"".concat(Vt,"-wrap")},b.createElement("input",(0,fe.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":mn,"aria-valuemax":vr,"aria-valuenow":rr.isInvalidate()?null:rr.toString(),step:ar},He,{ref:(0,vt.sQ)(et,pt),className:Vt,value:pr,onChange:fa,disabled:Qn,readOnly:lr}))))}),ft=b.forwardRef(function(Ct,pt){var de=Ct.disabled,qt=Ct.style,Dn=Ct.prefixCls,mn=Dn===void 0?"rc-input-number":Dn,vr=Ct.value,yr=Ct.prefix,ar=Ct.suffix,Er=Ct.addonBefore,wt=Ct.addonAfter,Qn=Ct.className,lr=Ct.classNames,cr=(0,xe.Z)(Ct,st),Yn=b.useRef(null),Sr=b.useRef(null),br=b.useRef(null),Nr=function($r){br.current&&(0,Se.nH)(br.current,$r)};return b.useImperativeHandle(pt,function(){return Nt(br.current,{focus:Nr,nativeElement:Yn.current.nativeElement||Sr.current})}),b.createElement(bt.BaseInput,{className:Qn,triggerFocus:Nr,prefixCls:mn,value:vr,disabled:de,style:qt,prefix:yr,suffix:ar,addonAfter:wt,addonBefore:Er,classNames:lr,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:Yn},b.createElement(On,(0,fe.Z)({prefixCls:mn,disabled:de,ref:br,domRef:Sr,className:lr==null?void 0:lr.input},cr)))}),En=ft,Ht=En,gn=y(62487),un=y(82855),De=y(48755),he=y(60840),ce=y(2171),Te=y(83397),je=y(31756),ge=y(56553),Pe=y(24971),ct=y(70045),$t=y(36237),gt=y(53075),yt=y(64910),Dt=y(39082),Pt=y(63356),Wt=y(56119),pn=y(16931),fn=y(51636),Mt=y(17835);const Ln=Ct=>{var pt;const de=(pt=Ct.handleVisible)!==null&&pt!==void 0?pt:"auto",qt=Ct.controlHeightSM-Ct.lineWidth*2;return Object.assign(Object.assign({},(0,yt.T)(Ct)),{controlWidth:90,handleWidth:qt,handleFontSize:Ct.fontSize/2,handleVisible:de,handleActiveBg:Ct.colorFillAlter,handleBg:Ct.colorBgContainer,filledHandleBg:new Mt.FastColor(Ct.colorFillSecondary).onBackground(Ct.colorBgContainer).toHexString(),handleHoverColor:Ct.colorPrimary,handleBorderColor:Ct.colorBorder,handleOpacity:de===!0?1:0,handleVisibleWidth:de===!0?qt:0})},kn=(Ct,pt)=>{let{componentCls:de,borderRadiusSM:qt,borderRadiusLG:Dn}=Ct;const mn=pt==="lg"?Dn:qt;return{[`&-${pt}`]:{[`${de}-handler-wrap`]:{borderStartEndRadius:mn,borderEndEndRadius:mn},[`${de}-handler-up`]:{borderStartEndRadius:mn},[`${de}-handler-down`]:{borderEndEndRadius:mn}}}},wn=Ct=>{const{componentCls:pt,lineWidth:de,lineType:qt,borderRadius:Dn,inputFontSizeSM:mn,inputFontSizeLG:vr,controlHeightLG:yr,controlHeightSM:ar,colorError:Er,paddingInlineSM:wt,paddingBlockSM:Qn,paddingBlockLG:lr,paddingInlineLG:cr,colorTextDescription:Yn,motionDurationMid:Sr,handleHoverColor:br,handleOpacity:Nr,paddingInline:Jr,paddingBlock:$r,handleBg:Ur,handleActiveBg:aa,colorTextDisabled:Hr,borderRadiusSM:pa,borderRadiusLG:ea,controlWidth:jn,handleBorderColor:sr,filledHandleBg:Kr,lineHeightLG:zr,calc:ve}=Ct;return[{[pt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Ct)),(0,gt.ik)(Ct)),{display:"inline-block",width:jn,margin:0,padding:0,borderRadius:Dn}),(0,Dt.qG)(Ct,{[`${pt}-handler-wrap`]:{background:Ur,[`${pt}-handler-down`]:{borderBlockStart:`${(0,$t.unit)(de)} ${qt} ${sr}`}}})),(0,Dt.H8)(Ct,{[`${pt}-handler-wrap`]:{background:Kr,[`${pt}-handler-down`]:{borderBlockStart:`${(0,$t.unit)(de)} ${qt} ${sr}`}},"&:focus-within":{[`${pt}-handler-wrap`]:{background:Ur}}})),(0,Dt.vc)(Ct,{[`${pt}-handler-wrap`]:{background:Ur,[`${pt}-handler-down`]:{borderBlockStart:`${(0,$t.unit)(de)} ${qt} ${sr}`}}})),(0,Dt.Mu)(Ct)),{"&-rtl":{direction:"rtl",[`${pt}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:vr,lineHeight:zr,borderRadius:ea,[`input${pt}-input`]:{height:ve(yr).sub(ve(de).mul(2)).equal(),padding:`${(0,$t.unit)(lr)} ${(0,$t.unit)(cr)}`}},"&-sm":{padding:0,fontSize:mn,borderRadius:pa,[`input${pt}-input`]:{height:ve(ar).sub(ve(de).mul(2)).equal(),padding:`${(0,$t.unit)(Qn)} ${(0,$t.unit)(wt)}`}},"&-out-of-range":{[`${pt}-input-wrap`]:{input:{color:Er}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Ct)),(0,gt.s7)(Ct)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${pt}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${pt}-group-addon`]:{borderRadius:ea,fontSize:Ct.fontSizeLG}},"&-sm":{[`${pt}-group-addon`]:{borderRadius:pa}}},(0,Dt.ir)(Ct)),(0,Dt.S5)(Ct)),{[`&:not(${pt}-compact-first-item):not(${pt}-compact-last-item)${pt}-compact-item`]:{[`${pt}, ${pt}-group-addon`]:{borderRadius:0}},[`&:not(${pt}-compact-last-item)${pt}-compact-first-item`]:{[`${pt}, ${pt}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${pt}-compact-first-item)${pt}-compact-last-item`]:{[`${pt}, ${pt}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${pt}-input`]:{cursor:"not-allowed"},[pt]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,Pt.Wf)(Ct)),{width:"100%",padding:`${(0,$t.unit)($r)} ${(0,$t.unit)(Jr)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Dn,outline:0,transition:`all ${Sr} linear`,appearance:"textfield",fontSize:"inherit"}),(0,gt.nz)(Ct.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${pt}-handler-wrap, &-focused ${pt}-handler-wrap`]:{width:Ct.handleWidth,opacity:1}})},{[pt]:Object.assign(Object.assign(Object.assign({[`${pt}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:Ct.handleVisibleWidth,opacity:Nr,height:"100%",borderStartStartRadius:0,borderStartEndRadius:Dn,borderEndEndRadius:Dn,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${Sr}`,overflow:"hidden",[`${pt}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${pt}-handler-up-inner, + ${pt}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:Ct.handleFontSize}}},[`${pt}-handler`]:{height:"50%",overflow:"hidden",color:Yn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,$t.unit)(de)} ${qt} ${sr}`,transition:`all ${Sr} linear`,"&:active":{background:aa},"&:hover":{height:"60%",[` + ${pt}-handler-up-inner, + ${pt}-handler-down-inner + `]:{color:br}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,Pt.Ro)()),{color:Yn,transition:`all ${Sr} linear`,userSelect:"none"})},[`${pt}-handler-up`]:{borderStartEndRadius:Dn},[`${pt}-handler-down`]:{borderEndEndRadius:Dn}},kn(Ct,"lg")),kn(Ct,"sm")),{"&-disabled, &-readonly":{[`${pt}-handler-wrap`]:{display:"none"},[`${pt}-input`]:{color:"inherit"}},[` + ${pt}-handler-up-disabled, + ${pt}-handler-down-disabled `]:{cursor:"not-allowed"},[` - ${ft}-handler-up-disabled:hover &-handler-up-inner, - ${ft}-handler-down-disabled:hover &-handler-down-inner - `]:{color:Hr}})}]},sn=Et=>{const{componentCls:ft,paddingBlock:de,paddingInline:wn,inputAffixPadding:Un,controlWidth:mn,borderRadiusLG:Er,borderRadiusSM:Sr,paddingInlineLG:or,paddingInlineSM:wr,paddingBlockLG:St,paddingBlockSM:Kn,motionDurationMid:ir}=Et;return{[`${ft}-affix-wrapper`]:Object.assign(Object.assign({[`input${ft}-input`]:{padding:`${(0,Qt.unit)(de)} 0`}},(0,At.ik)(Et)),{position:"relative",display:"inline-flex",alignItems:"center",width:mn,padding:0,paddingInlineStart:wn,"&-lg":{borderRadius:Er,paddingInlineStart:or,[`input${ft}-input`]:{padding:`${(0,Qt.unit)(St)} 0`}},"&-sm":{borderRadius:Sr,paddingInlineStart:wr,[`input${ft}-input`]:{padding:`${(0,Qt.unit)(Kn)} 0`}},[`&:not(${ft}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${ft}-disabled`]:{background:"transparent"},[`> div${ft}`]:{width:"100%",border:"none",outline:"none",[`&${ft}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${ft}-handler-wrap`]:{zIndex:2},[ft]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Un},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:wn,marginInlineStart:Un,transition:`margin ${ir}`}},[`&:hover ${ft}-handler-wrap, &-focused ${ft}-handler-wrap`]:{width:Et.handleWidth,opacity:1},[`&:not(${ft}-affix-wrapper-without-controls):hover ${ft}-suffix`]:{marginInlineEnd:Et.calc(Et.handleWidth).add(wn).equal()}})}};var An=(0,fn.I$)("InputNumber",Et=>{const ft=(0,dn.mergeToken)(Et,(0,vt.e)(Et));return[Cn(ft),sn(ft),(0,$t.c)(ft)]},Mn,{unitless:{handleOpacity:!0}}),xn=function(Et,ft){var de={};for(var wn in Et)Object.prototype.hasOwnProperty.call(Et,wn)&&ft.indexOf(wn)<0&&(de[wn]=Et[wn]);if(Et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Un=0,wn=Object.getOwnPropertySymbols(Et);Un{const{getPrefixCls:de,direction:wn}=b.useContext(De.E_),Un=b.useRef(null);b.useImperativeHandle(ft,()=>Un.current);const{className:mn,rootClassName:Er,size:Sr,disabled:or,prefixCls:wr,addonBefore:St,addonAfter:Kn,prefix:ir,suffix:br,bordered:qn,readOnly:Ir,status:sr,controls:jn,variant:$r}=Et,Jr=xn(Et,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Gr=de("input-number",wr),la=(0,Te.Z)(Gr),[Hr,fa,Yr]=An(Gr,la),{compactSize:Wn,compactItemClassnames:ur}=(0,ot.ri)(Gr,wn);let _r=b.createElement(le.Z,{className:`${Gr}-handler-up-inner`}),ea=b.createElement(he.Z,{className:`${Gr}-handler-down-inner`});const Jt=typeof jn=="boolean"?jn:void 0;typeof jn=="object"&&(_r=typeof jn.upIcon=="undefined"?_r:b.createElement("span",{className:`${Gr}-handler-up-inner`},jn.upIcon),ea=typeof jn.downIcon=="undefined"?ea:b.createElement("span",{className:`${Gr}-handler-down-inner`},jn.downIcon));const{hasFeedback:pn,status:kt,isFormItemInput:tn,feedbackIcon:Mt}=b.useContext(ge.aM),rn=(0,un.F)(kt,sr),lt=(0,Ue.Z)(Qn=>{var Pn;return(Pn=Sr!=null?Sr:Wn)!==null&&Pn!==void 0?Pn:Qn}),ve=b.useContext(ce.Z),Ie=or!=null?or:ve,[Ft,Pe]=(0,Me.Z)("inputNumber",$r,qn),Ye=pn&&b.createElement(b.Fragment,null,Mt),Xt=be()({[`${Gr}-lg`]:lt==="large",[`${Gr}-sm`]:lt==="small",[`${Gr}-rtl`]:wn==="rtl",[`${Gr}-in-form-item`]:tn},fa),Wt=`${Gr}-group`,Xn=b.createElement(Zt,Object.assign({ref:Un,disabled:Ie,className:be()(Yr,la,mn,Er,ur),upHandler:_r,downHandler:ea,prefixCls:Gr,readOnly:Ir,controls:Jt,prefix:ir,suffix:Ye||br,addonBefore:St&&b.createElement(vn.Z,{form:!0,space:!0},St),addonAfter:Kn&&b.createElement(vn.Z,{form:!0,space:!0},Kn),classNames:{input:Xt,variant:be()({[`${Gr}-${Ft}`]:Pe},(0,un.Z)(Gr,rn,pn)),affixWrapper:be()({[`${Gr}-affix-wrapper-sm`]:lt==="small",[`${Gr}-affix-wrapper-lg`]:lt==="large",[`${Gr}-affix-wrapper-rtl`]:wn==="rtl",[`${Gr}-affix-wrapper-without-controls`]:jn===!1||Ie},fa),wrapper:be()({[`${Wt}-rtl`]:wn==="rtl"},fa),groupWrapper:be()({[`${Gr}-group-wrapper-sm`]:lt==="small",[`${Gr}-group-wrapper-lg`]:lt==="large",[`${Gr}-group-wrapper-rtl`]:wn==="rtl",[`${Gr}-group-wrapper-${Ft}`]:Pe},(0,un.Z)(`${Gr}-group-wrapper`,rn,pn),fa)}},Jr));return Hr(Xn)}),qt=Lt,zt=Et=>b.createElement(me.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(Lt,Object.assign({},Et)));qt._InternalPanelDoNotUseOrYouWillBeFired=zt;var bn=qt},49397:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return He}});var b=y(59301),he=y(92310),le=y.n(he),pe=y(36901),be=y(8654),fe=y(62487),we=y(86013),Oe=y(82855),Re=y(48755),xe=y(2171),je=y(83397),Fe=y(31756),xt=y(56553),nt=y(24971),et=y(70045),Je=y(23826),Ge=y(53075);function We(_e){return!!(_e.prefix||_e.suffix||_e.allowClear||_e.showCount)}var Ve=function(_e,Ze){var tt={};for(var gt in _e)Object.prototype.hasOwnProperty.call(_e,gt)&&Ze.indexOf(gt)<0&&(tt[gt]=_e[gt]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,gt=Object.getOwnPropertySymbols(_e);rt{const{prefixCls:tt,bordered:gt=!0,status:rt,size:It,disabled:mt,onBlur:ut,onFocus:Tt,suffix:_t,allowClear:Ke,addonAfter:Rt,addonBefore:Nt,className:Kt,style:On,styles:wt,rootClassName:$e,onChange:Ee,classNames:en,variant:on}=_e,it=Ve(_e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ht,direction:Yt,allowClear:Rn,autoComplete:ct,className:Sn,style:Zt,classNames:vn,styles:un}=(0,Re.dj)("input"),De=Ht("input",tt),me=(0,b.useRef)(null),ce=(0,je.Z)(De),[Te,Ue,ge]=(0,Ge.TI)(De,$e),[Me]=(0,Ge.ZP)(De,ce),{compactSize:ot,compactItemClassnames:Qt}=(0,et.ri)(De,Yt),At=(0,Fe.Z)(bn=>{var Et;return(Et=It!=null?It:ot)!==null&&Et!==void 0?Et:bn}),vt=b.useContext(xe.Z),Ct=mt!=null?mt:vt,{status:Ut,hasFeedback:$t,feedbackIcon:fn}=(0,b.useContext)(xt.aM),dn=(0,Oe.F)(Ut,rt),Bt=We(_e)||!!$t,Mn=(0,b.useRef)(Bt),Dn=(0,Je.Z)(me,!0),Cn=bn=>{Dn(),ut==null||ut(bn)},sn=bn=>{Dn(),Tt==null||Tt(bn)},An=bn=>{Dn(),Ee==null||Ee(bn)},xn=($t||_t)&&b.createElement(b.Fragment,null,_t,$t&&fn),Lt=(0,we.Z)(Ke!=null?Ke:Rn),[qt,zt]=(0,nt.Z)("input",on,gt);return Te(Me(b.createElement(pe.default,Object.assign({ref:(0,be.sQ)(Ze,me),prefixCls:De,autoComplete:ct},it,{disabled:Ct,onBlur:Cn,onFocus:sn,style:Object.assign(Object.assign({},Zt),On),styles:Object.assign(Object.assign({},un),wt),suffix:xn,allowClear:Lt,className:le()(Kt,$e,ge,ce,Qt,Sn),onChange:An,addonBefore:Nt&&b.createElement(fe.Z,{form:!0,space:!0},Nt),addonAfter:Rt&&b.createElement(fe.Z,{form:!0,space:!0},Rt),classNames:Object.assign(Object.assign(Object.assign({},en),vn),{input:le()({[`${De}-sm`]:At==="small",[`${De}-lg`]:At==="large",[`${De}-rtl`]:Yt==="rtl"},en==null?void 0:en.input,vn.input,Ue),variant:le()({[`${De}-${qt}`]:zt},(0,Oe.Z)(De,dn)),affixWrapper:le()({[`${De}-affix-wrapper-sm`]:At==="small",[`${De}-affix-wrapper-lg`]:At==="large",[`${De}-affix-wrapper-rtl`]:Yt==="rtl"},Ue),wrapper:le()({[`${De}-group-rtl`]:Yt==="rtl"},Ue),groupWrapper:le()({[`${De}-group-wrapper-sm`]:At==="small",[`${De}-group-wrapper-lg`]:At==="large",[`${De}-group-wrapper-rtl`]:Yt==="rtl",[`${De}-group-wrapper-${qt}`]:zt},(0,Oe.Z)(`${De}-group-wrapper`,dn,$t),Ue)})}))))})},79809:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Ze}});var b=y(59301),he=y(92310),le=y.n(he),pe=y(22711),be=y(86013),fe=y(82855),we=y(48755),Oe=y(2171),Re=y(83397),xe=y(31756),je=y(56553),Fe=y(24971),xt=y(70045),nt=y(30292),et=y(53075),Je=y(16931),Ge=y(51636),We=y(64910);const Ve=tt=>{const{componentCls:gt,paddingLG:rt}=tt,It=`${gt}-textarea`;return{[`textarea${gt}`]:{maxWidth:"100%",height:"auto",minHeight:tt.controlHeight,lineHeight:tt.lineHeight,verticalAlign:"bottom",transition:`all ${tt.motionDurationSlow}`,resize:"vertical",[`&${gt}-mouse-active`]:{transition:`all ${tt.motionDurationSlow}, height 0s, width 0s`}},[`${gt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[It]:{position:"relative","&-show-count":{[`> ${gt}`]:{height:"100%"},[`${gt}-data-count`]:{position:"absolute",bottom:tt.calc(tt.fontSize).mul(tt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:tt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` - &-allow-clear > ${gt}, - &-affix-wrapper${It}-has-feedback ${gt} - `]:{paddingInlineEnd:rt},[`&-affix-wrapper${gt}-affix-wrapper`]:{padding:0,[`> textarea${gt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:tt.calc(tt.controlHeight).sub(tt.calc(tt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${gt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${gt}-clear-icon`]:{position:"absolute",insetInlineEnd:tt.paddingInline,insetBlockStart:tt.paddingXS},[`${It}-suffix`]:{position:"absolute",top:0,insetInlineEnd:tt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${gt}-affix-wrapper-sm`]:{[`${gt}-suffix`]:{[`${gt}-clear-icon`]:{insetInlineEnd:tt.paddingInlineSM}}}}}};var Qe=(0,Je.I$)(["Input","TextArea"],tt=>{const gt=(0,Ge.mergeToken)(tt,(0,We.e)(tt));return[Ve(gt)]},We.T,{resetFont:!1}),He=function(tt,gt){var rt={};for(var It in tt)Object.prototype.hasOwnProperty.call(tt,It)&>.indexOf(It)<0&&(rt[It]=tt[It]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,It=Object.getOwnPropertySymbols(tt);mt{var rt;const{prefixCls:It,bordered:mt=!0,size:ut,disabled:Tt,status:_t,allowClear:Ke,classNames:Rt,rootClassName:Nt,className:Kt,style:On,styles:wt,variant:$e,showCount:Ee,onMouseDown:en,onResize:on}=tt,it=He(tt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ht,direction:Yt,allowClear:Rn,autoComplete:ct,className:Sn,style:Zt,classNames:vn,styles:un}=(0,we.dj)("textArea"),De=b.useContext(Oe.Z),me=Tt!=null?Tt:De,{status:ce,hasFeedback:Te,feedbackIcon:Ue}=b.useContext(je.aM),ge=(0,fe.F)(ce,_t),Me=b.useRef(null);b.useImperativeHandle(gt,()=>{var zt;return{resizableTextArea:(zt=Me.current)===null||zt===void 0?void 0:zt.resizableTextArea,focus:bn=>{var Et,ft;(0,nt.nH)((ft=(Et=Me.current)===null||Et===void 0?void 0:Et.resizableTextArea)===null||ft===void 0?void 0:ft.textArea,bn)},blur:()=>{var bn;return(bn=Me.current)===null||bn===void 0?void 0:bn.blur()}}});const ot=Ht("input",It),Qt=(0,Re.Z)(ot),[At,vt,Ct]=(0,et.TI)(ot,Nt),[Ut]=Qe(ot,Qt),{compactSize:$t,compactItemClassnames:fn}=(0,xt.ri)(ot,Yt),dn=(0,xe.Z)(zt=>{var bn;return(bn=ut!=null?ut:$t)!==null&&bn!==void 0?bn:zt}),[Bt,Mn]=(0,Fe.Z)("textArea",$e,mt),Dn=(0,be.Z)(Ke!=null?Ke:Rn),[Cn,sn]=b.useState(!1),[An,xn]=b.useState(!1),Lt=zt=>{sn(!0),en==null||en(zt);const bn=()=>{sn(!1),document.removeEventListener("mouseup",bn)};document.addEventListener("mouseup",bn)},qt=zt=>{var bn,Et;if(on==null||on(zt),Cn&&typeof getComputedStyle=="function"){const ft=(Et=(bn=Me.current)===null||bn===void 0?void 0:bn.nativeElement)===null||Et===void 0?void 0:Et.querySelector("textarea");ft&&getComputedStyle(ft).resize==="both"&&xn(!0)}};return At(Ut(b.createElement(pe.default,Object.assign({autoComplete:ct},it,{style:Object.assign(Object.assign({},Zt),On),styles:Object.assign(Object.assign({},un),wt),disabled:me,allowClear:Dn,className:le()(Ct,Qt,Kt,Nt,fn,Sn,An&&`${ot}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Rt),vn),{textarea:le()({[`${ot}-sm`]:dn==="small",[`${ot}-lg`]:dn==="large"},vt,Rt==null?void 0:Rt.textarea,vn.textarea,Cn&&`${ot}-mouse-active`),variant:le()({[`${ot}-${Bt}`]:Mn},(0,fe.Z)(ot,ge)),affixWrapper:le()(`${ot}-textarea-affix-wrapper`,{[`${ot}-affix-wrapper-rtl`]:Yt==="rtl",[`${ot}-affix-wrapper-sm`]:dn==="small",[`${ot}-affix-wrapper-lg`]:dn==="large",[`${ot}-textarea-show-count`]:Ee||((rt=tt.count)===null||rt===void 0?void 0:rt.show)},vt)}),prefixCls:ot,suffix:Te&&b.createElement("span",{className:`${ot}-textarea-suffix`},Ue),showCount:Ee,ref:Me,onResize:qt,onMouseDown:Lt}))))})},23826:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return he}});var b=y(59301);function he(le,pe){const be=(0,b.useRef)([]),fe=()=>{be.current.push(setTimeout(()=>{var we,Oe,Re,xe;!((we=le.current)===null||we===void 0)&&we.input&&((Oe=le.current)===null||Oe===void 0?void 0:Oe.input.getAttribute("type"))==="password"&&(!((Re=le.current)===null||Re===void 0)&&Re.input.hasAttribute("value"))&&((xe=le.current)===null||xe===void 0||xe.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(pe&&fe(),()=>be.current.forEach(we=>{we&&clearTimeout(we)})),[]),fe}},37568:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return vn}});var b=y(59301),he=y(92310),le=y.n(he),pe=y(48755),be=y(56553),fe=y(53075),Oe=un=>{const{getPrefixCls:De,direction:me}=(0,b.useContext)(pe.E_),{prefixCls:ce,className:Te}=un,Ue=De("input-group",ce),ge=De("input"),[Me,ot,Qt]=(0,fe.ZP)(ge),At=le()(Ue,Qt,{[`${Ue}-lg`]:un.size==="large",[`${Ue}-sm`]:un.size==="small",[`${Ue}-compact`]:un.compact,[`${Ue}-rtl`]:me==="rtl"},ot,Te),vt=(0,b.useContext)(be.aM),Ct=(0,b.useMemo)(()=>Object.assign(Object.assign({},vt),{isFormItemInput:!1}),[vt]);return Me(b.createElement("span",{className:At,style:un.style,onMouseEnter:un.onMouseEnter,onMouseLeave:un.onMouseLeave,onFocus:un.onFocus,onBlur:un.onBlur},b.createElement(be.aM.Provider,{value:Ct},un.children)))},Re=y(49397),xe=y(77654),je=y(6089),Fe=y(26112),xt=y(82855),nt=y(31756),et=y(16931),Je=y(51636),Ge=y(64910);const We=un=>{const{componentCls:De,paddingXS:me}=un;return{[De]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:me,"&-rtl":{direction:"rtl"},[`${De}-input`]:{textAlign:"center",paddingInline:un.paddingXXS},[`&${De}-sm ${De}-input`]:{paddingInline:un.calc(un.paddingXXS).div(2).equal()},[`&${De}-lg ${De}-input`]:{paddingInline:un.paddingXS}}}};var Ve=(0,et.I$)(["Input","OTP"],un=>{const De=(0,Je.mergeToken)(un,(0,Ge.e)(un));return[We(De)]},Ge.T),Qe=y(16089),He=function(un,De){var me={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(me[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te{const{value:me,onChange:ce,onActiveChange:Te,index:Ue,mask:ge}=un,Me=He(un,["value","onChange","onActiveChange","index","mask"]),ot=me&&typeof ge=="string"?ge:me,Qt=$t=>{ce(Ue,$t.target.value)},At=b.useRef(null);b.useImperativeHandle(De,()=>At.current);const vt=()=>{(0,Qe.Z)(()=>{var $t;const fn=($t=At.current)===null||$t===void 0?void 0:$t.input;document.activeElement===fn&&fn&&fn.select()})},Ct=$t=>{const{key:fn,ctrlKey:dn,metaKey:Bt}=$t;fn==="ArrowLeft"?Te(Ue-1):fn==="ArrowRight"?Te(Ue+1):fn==="z"&&(dn||Bt)&&$t.preventDefault(),vt()},Ut=$t=>{$t.key==="Backspace"&&!me&&Te(Ue-1),vt()};return b.createElement(Re.Z,Object.assign({type:ge===!0?"password":"text"},Me,{ref:At,value:ot,onInput:Qt,onFocus:vt,onKeyDown:Ct,onKeyUp:Ut,onMouseDown:vt,onMouseUp:vt}))}),tt=function(un,De){var me={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(me[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te{const{index:De,prefixCls:me,separator:ce}=un,Te=typeof ce=="function"?ce(De):ce;return Te?b.createElement("span",{className:`${me}-separator`},Te):null};var mt=b.forwardRef((un,De)=>{const{prefixCls:me,length:ce=6,size:Te,defaultValue:Ue,value:ge,onChange:Me,formatter:ot,separator:Qt,variant:At,disabled:vt,status:Ct,autoFocus:Ut,mask:$t,type:fn,onInput:dn,inputMode:Bt}=un,Mn=tt(un,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Dn,direction:Cn}=b.useContext(pe.E_),sn=Dn("otp",me),An=(0,Fe.Z)(Mn,{aria:!0,data:!0,attr:!0}),[xn,Lt,qt]=Ve(sn),zt=(0,nt.Z)(ir=>Te!=null?Te:ir),bn=b.useContext(be.aM),Et=(0,xt.F)(bn.status,Ct),ft=b.useMemo(()=>Object.assign(Object.assign({},bn),{status:Et,hasFeedback:!1,feedbackIcon:null}),[bn,Et]),de=b.useRef(null),wn=b.useRef({});b.useImperativeHandle(De,()=>({focus:()=>{var ir;(ir=wn.current[0])===null||ir===void 0||ir.focus()},blur:()=>{var ir;for(let br=0;brot?ot(ir):ir,[mn,Er]=b.useState(()=>gt(Un(Ue||"")));b.useEffect(()=>{ge!==void 0&&Er(gt(ge))},[ge]);const Sr=(0,je.Z)(ir=>{Er(ir),dn&&dn(ir),Me&&ir.length===ce&&ir.every(br=>br)&&ir.some((br,qn)=>mn[qn]!==br)&&Me(ir.join(""))}),or=(0,je.Z)((ir,br)=>{let qn=(0,xe.Z)(mn);for(let sr=0;sr=0&&!qn[sr];sr-=1)qn.pop();const Ir=Un(qn.map(sr=>sr||" ").join(""));return qn=gt(Ir).map((sr,jn)=>sr===" "&&!qn[jn]?qn[jn]:sr),qn}),wr=(ir,br)=>{var qn;const Ir=or(ir,br),sr=Math.min(ir+br.length,ce-1);sr!==ir&&Ir[ir]!==void 0&&((qn=wn.current[sr])===null||qn===void 0||qn.focus()),Sr(Ir)},St=ir=>{var br;(br=wn.current[ir])===null||br===void 0||br.focus()},Kn={variant:At,disabled:vt,status:Et,mask:$t,type:fn,inputMode:Bt};return xn(b.createElement("div",Object.assign({},An,{ref:de,className:le()(sn,{[`${sn}-sm`]:zt==="small",[`${sn}-lg`]:zt==="large",[`${sn}-rtl`]:Cn==="rtl"},qt,Lt)}),b.createElement(be.aM.Provider,{value:ft},Array.from({length:ce}).map((ir,br)=>{const qn=`otp-${br}`,Ir=mn[br]||"";return b.createElement(b.Fragment,{key:qn},b.createElement(Ze,Object.assign({ref:sr=>{wn.current[br]=sr},index:br,size:zt,htmlSize:1,className:`${sn}-input`,onChange:wr,value:Ir,onActiveChange:St,autoFocus:br===0&&Ut},Kn)),brun?b.createElement(Tt.Z,null):b.createElement(ut.Z,null),wt={click:"onClick",hover:"onMouseOver"};var Ee=b.forwardRef((un,De)=>{const{disabled:me,action:ce="click",visibilityToggle:Te=!0,iconRender:Ue=On}=un,ge=b.useContext(Rt.Z),Me=me!=null?me:ge,ot=typeof Te=="object"&&Te.visible!==void 0,[Qt,At]=(0,b.useState)(()=>ot?Te.visible:!1),vt=(0,b.useRef)(null);b.useEffect(()=>{ot&&At(Te.visible)},[ot,Te]);const Ct=(0,Nt.Z)(vt),Ut=()=>{var zt;if(Me)return;Qt&&Ct();const bn=!Qt;At(bn),typeof Te=="object"&&((zt=Te.onVisibleChange)===null||zt===void 0||zt.call(Te,bn))},$t=zt=>{const bn=wt[ce]||"",Et=Ue(Qt),ft={[bn]:Ut,className:`${zt}-icon`,key:"passwordIcon",onMouseDown:de=>{de.preventDefault()},onMouseUp:de=>{de.preventDefault()}};return b.cloneElement(b.isValidElement(Et)?Et:b.createElement("span",null,Et),ft)},{className:fn,prefixCls:dn,inputPrefixCls:Bt,size:Mn}=un,Dn=Kt(un,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Cn}=b.useContext(pe.E_),sn=Cn("input",Bt),An=Cn("input-password",dn),xn=Te&&$t(An),Lt=le()(An,fn,{[`${An}-${Mn}`]:!!Mn}),qt=Object.assign(Object.assign({},(0,_t.Z)(Dn,["suffix","iconRender","visibilityToggle"])),{type:Qt?"text":"password",className:Lt,prefixCls:sn,suffix:xn});return Mn&&(qt.size=Mn),b.createElement(Re.Z,Object.assign({ref:(0,Ke.sQ)(De,vt)},qt))}),en=y(47472),on=y(22703),it=y(7939),Ht=y(70045),Yt=function(un,De){var me={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(me[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te{const{prefixCls:me,inputPrefixCls:ce,className:Te,size:Ue,suffix:ge,enterButton:Me=!1,addonAfter:ot,loading:Qt,disabled:At,onSearch:vt,onChange:Ct,onCompositionStart:Ut,onCompositionEnd:$t}=un,fn=Yt(un,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:dn,direction:Bt}=b.useContext(pe.E_),Mn=b.useRef(!1),Dn=dn("input-search",me),Cn=dn("input",ce),{compactSize:sn}=(0,Ht.ri)(Dn,Bt),An=(0,nt.Z)(wr=>{var St;return(St=Ue!=null?Ue:sn)!==null&&St!==void 0?St:wr}),xn=b.useRef(null),Lt=wr=>{wr!=null&&wr.target&&wr.type==="click"&&vt&&vt(wr.target.value,wr,{source:"clear"}),Ct==null||Ct(wr)},qt=wr=>{var St;document.activeElement===((St=xn.current)===null||St===void 0?void 0:St.input)&&wr.preventDefault()},zt=wr=>{var St,Kn;vt&&vt((Kn=(St=xn.current)===null||St===void 0?void 0:St.input)===null||Kn===void 0?void 0:Kn.value,wr,{source:"input"})},bn=wr=>{Mn.current||Qt||zt(wr)},Et=typeof Me=="boolean"?b.createElement(en.Z,null):null,ft=`${Dn}-button`;let de;const wn=Me||{},Un=wn.type&&wn.type.__ANT_BUTTON===!0;Un||wn.type==="button"?de=(0,on.Tm)(wn,Object.assign({onMouseDown:qt,onClick:wr=>{var St,Kn;(Kn=(St=wn==null?void 0:wn.props)===null||St===void 0?void 0:St.onClick)===null||Kn===void 0||Kn.call(St,wr),zt(wr)},key:"enterButton"},Un?{className:ft,size:An}:{})):de=b.createElement(it.ZP,{className:ft,type:Me?"primary":void 0,size:An,disabled:At,key:"enterButton",onMouseDown:qt,onClick:zt,loading:Qt,icon:Et},Me),ot&&(de=[de,(0,on.Tm)(ot,{key:"addonAfter"})]);const mn=le()(Dn,{[`${Dn}-rtl`]:Bt==="rtl",[`${Dn}-${An}`]:!!An,[`${Dn}-with-button`]:!!Me},Te),Er=Object.assign(Object.assign({},fn),{className:mn,prefixCls:Cn,type:"search"}),Sr=wr=>{Mn.current=!0,Ut==null||Ut(wr)},or=wr=>{Mn.current=!1,$t==null||$t(wr)};return b.createElement(Re.Z,Object.assign({ref:(0,Ke.sQ)(xn,De),onPressEnter:bn},Er,{size:An,onCompositionStart:Sr,onCompositionEnd:or,addonAfter:de,suffix:ge,onChange:Lt,disabled:At}))}),Sn=y(79809);const Zt=Re.Z;Zt.Group=Oe,Zt.Search=ct,Zt.TextArea=Sn.Z,Zt.Password=Ee,Zt.OTP=mt;var vn=Zt},24303:function(Ce,ae,y){"use strict";y.d(ae,{D:function(){return tt},Z:function(){return It}});var b=y(59301),he=y(60499),le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},pe=le,be=y(7657),fe=function(ut,Tt){return b.createElement(be.Z,(0,he.Z)({},ut,{ref:Tt,icon:pe}))},we=b.forwardRef(fe),Oe=we,Re=y(33853),xe=y(38819),je=y(92310),Fe=y.n(je),xt=y(2738),nt=y(48755),et=y(6989),Je=y(36237),Ge=y(48923),We=y(16931);const Ve=mt=>{const{componentCls:ut,siderBg:Tt,motionDurationMid:_t,motionDurationSlow:Ke,antCls:Rt,triggerHeight:Nt,triggerColor:Kt,triggerBg:On,headerHeight:wt,zeroTriggerWidth:$e,zeroTriggerHeight:Ee,borderRadiusLG:en,lightSiderBg:on,lightTriggerColor:it,lightTriggerBg:Ht,bodyBg:Yt}=mt;return{[ut]:{position:"relative",minWidth:0,background:Tt,transition:`all ${_t}, background 0s`,"&-has-trigger":{paddingBottom:Nt},"&-right":{order:1},[`${ut}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Rt}-menu${Rt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${ut}-children`]:{overflow:"hidden"},[`${ut}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Nt,color:Kt,lineHeight:(0,Je.unit)(Nt),textAlign:"center",background:On,cursor:"pointer",transition:`all ${_t}`},[`${ut}-zero-width-trigger`]:{position:"absolute",top:wt,insetInlineEnd:mt.calc($e).mul(-1).equal(),zIndex:1,width:$e,height:Ee,color:Kt,fontSize:mt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Tt,borderRadius:`0 ${(0,Je.unit)(en)} ${(0,Je.unit)(en)} 0`,cursor:"pointer",transition:`background ${Ke} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ke}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:mt.calc($e).mul(-1).equal(),borderRadius:`${(0,Je.unit)(en)} 0 0 ${(0,Je.unit)(en)}`}},"&-light":{background:on,[`${ut}-trigger`]:{color:it,background:Ht},[`${ut}-zero-width-trigger`]:{color:it,background:Ht,border:`1px solid ${Yt}`,borderInlineStart:0}}}}};var Qe=(0,We.I$)(["Layout","Sider"],mt=>[Ve(mt)],Ge.eh,{deprecatedTokens:Ge.jn}),He=function(mt,ut){var Tt={};for(var _t in mt)Object.prototype.hasOwnProperty.call(mt,_t)&&ut.indexOf(_t)<0&&(Tt[_t]=mt[_t]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,_t=Object.getOwnPropertySymbols(mt);Ke<_t.length;Ke++)ut.indexOf(_t[Ke])<0&&Object.prototype.propertyIsEnumerable.call(mt,_t[Ke])&&(Tt[_t[Ke]]=mt[_t[Ke]]);return Tt};const _e={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ze=mt=>!Number.isNaN(Number.parseFloat(mt))&&isFinite(mt),tt=b.createContext({}),gt=(()=>{let mt=0;return function(){let ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return mt+=1,`${ut}${mt}`}})();var It=b.forwardRef((mt,ut)=>{const{prefixCls:Tt,className:_t,trigger:Ke,children:Rt,defaultCollapsed:Nt=!1,theme:Kt="dark",style:On={},collapsible:wt=!1,reverseArrow:$e=!1,width:Ee=200,collapsedWidth:en=80,zeroWidthTriggerStyle:on,breakpoint:it,onCollapse:Ht,onBreakpoint:Yt}=mt,Rn=He(mt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ct}=(0,b.useContext)(et.V),[Sn,Zt]=(0,b.useState)("collapsed"in mt?mt.collapsed:Nt),[vn,un]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in mt&&Zt(mt.collapsed)},[mt.collapsed]);const De=(An,xn)=>{"collapsed"in mt||Zt(An),Ht==null||Ht(An,xn)},{getPrefixCls:me,direction:ce}=(0,b.useContext)(nt.E_),Te=me("layout-sider",Tt),[Ue,ge,Me]=Qe(Te),ot=(0,b.useRef)(null);ot.current=An=>{un(An.matches),Yt==null||Yt(An.matches),Sn!==An.matches&&De(An.matches,"responsive")},(0,b.useEffect)(()=>{function An(Lt){return ot.current(Lt)}let xn;if(typeof window!="undefined"){const{matchMedia:Lt}=window;if(Lt&&it&&it in _e){xn=Lt(`screen and (max-width: ${_e[it]})`);try{xn.addEventListener("change",An)}catch(qt){xn.addListener(An)}An(xn)}}return()=>{try{xn==null||xn.removeEventListener("change",An)}catch(Lt){xn==null||xn.removeListener(An)}}},[it]),(0,b.useEffect)(()=>{const An=gt("ant-sider-");return ct.addSider(An),()=>ct.removeSider(An)},[]);const Qt=()=>{De(!Sn,"clickTrigger")},At=(0,xt.Z)(Rn,["collapsed"]),vt=Sn?en:Ee,Ct=Ze(vt)?`${vt}px`:String(vt),Ut=parseFloat(String(en||0))===0?b.createElement("span",{onClick:Qt,className:Fe()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${$e?"right":"left"}`),style:on},Ke||b.createElement(Oe,null)):null,$t=ce==="rtl"==!$e,Bt={expanded:$t?b.createElement(xe.Z,null):b.createElement(Re.Z,null),collapsed:$t?b.createElement(Re.Z,null):b.createElement(xe.Z,null)}[Sn?"collapsed":"expanded"],Mn=Ke!==null?Ut||b.createElement("div",{className:`${Te}-trigger`,onClick:Qt,style:{width:Ct}},Ke||Bt):null,Dn=Object.assign(Object.assign({},On),{flex:`0 0 ${Ct}`,maxWidth:Ct,minWidth:Ct,width:Ct}),Cn=Fe()(Te,`${Te}-${Kt}`,{[`${Te}-collapsed`]:!!Sn,[`${Te}-has-trigger`]:wt&&Ke!==null&&!Ut,[`${Te}-below`]:!!vn,[`${Te}-zero-width`]:parseFloat(Ct)===0},_t,ge,Me),sn=b.useMemo(()=>({siderCollapsed:Sn}),[Sn]);return Ue(b.createElement(tt.Provider,{value:sn},b.createElement("aside",Object.assign({className:Cn},At,{style:Dn,ref:ut}),b.createElement("div",{className:`${Te}-children`},Rt),wt||vn&&Ut?Mn:null)))})},6989:function(Ce,ae,y){"use strict";y.d(ae,{V:function(){return he}});var b=y(59301);const he=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Ce,ae,y){"use strict";y.d(ae,{eh:function(){return pe},jn:function(){return be}});var b=y(36237),he=y(16931);const le=fe=>{const{antCls:we,componentCls:Oe,colorText:Re,footerBg:xe,headerHeight:je,headerPadding:Fe,headerColor:xt,footerPadding:nt,fontSize:et,bodyBg:Je,headerBg:Ge}=fe;return{[Oe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Je,"&, *":{boxSizing:"border-box"},[`&${Oe}-has-sider`]:{flexDirection:"row",[`> ${Oe}, > ${Oe}-content`]:{width:0}},[`${Oe}-header, &${Oe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Oe}-header`]:{height:je,padding:Fe,color:xt,lineHeight:(0,b.unit)(je),background:Ge,[`${we}-menu`]:{lineHeight:"inherit"}},[`${Oe}-footer`]:{padding:nt,color:Re,fontSize:et,background:xe},[`${Oe}-content`]:{flex:"auto",color:Re,minHeight:0}}},pe=fe=>{const{colorBgLayout:we,controlHeight:Oe,controlHeightLG:Re,colorText:xe,controlHeightSM:je,marginXXS:Fe,colorTextLightSolid:xt,colorBgContainer:nt}=fe,et=Re*1.25;return{colorBgHeader:"#001529",colorBgBody:we,colorBgTrigger:"#002140",bodyBg:we,headerBg:"#001529",headerHeight:Oe*2,headerPadding:`0 ${et}px`,headerColor:xe,footerPadding:`${je}px ${et}px`,footerBg:we,siderBg:"#001529",triggerHeight:Re+Fe*2,triggerBg:"#002140",triggerColor:xt,zeroTriggerWidth:Re,zeroTriggerHeight:Re,lightSiderBg:nt,lightTriggerBg:nt,lightTriggerColor:xe}},be=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];ae.ZP=(0,he.I$)("Layout",fe=>[le(fe)],pe,{deprecatedTokens:be})},78857:function(Ce,ae,y){"use strict";y.d(ae,{J:function(){return fe}});var b=y(59301),he=y(8654),le=y(62487),pe=function(we,Oe){var Re={};for(var xe in we)Object.prototype.hasOwnProperty.call(we,xe)&&Oe.indexOf(xe)<0&&(Re[xe]=we[xe]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,xe=Object.getOwnPropertySymbols(we);je{const{children:Re}=we,xe=pe(we,["children"]),je=b.useContext(be),Fe=b.useMemo(()=>Object.assign(Object.assign({},je),xe),[je,xe.prefixCls,xe.mode,xe.selectable,xe.rootClassName]),xt=(0,he.t4)(Re),nt=(0,he.x1)(Oe,xt?(0,he.C4)(Re):null);return b.createElement(be.Provider,{value:Fe},b.createElement(le.Z,{space:!0},xt?b.cloneElement(Re,{ref:nt}):Re))});ae.Z=be},93041:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return Ue}});var b=y(59301),he=y(28321),le=y(24303),pe=y(18785),be=y(92310),fe=y.n(be),we=y(6089),Oe=y(2738),Re=y(86641),xe=y(22703),je=y(48755),Fe=y(83397),nt=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),et=function(ge,Me){var ot={};for(var Qt in ge)Object.prototype.hasOwnProperty.call(ge,Qt)&&Me.indexOf(Qt)<0&&(ot[Qt]=ge[Qt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Qt=Object.getOwnPropertySymbols(ge);At{const{prefixCls:Me,className:ot,dashed:Qt}=ge,At=et(ge,["prefixCls","className","dashed"]),{getPrefixCls:vt}=b.useContext(je.E_),Ct=vt("menu",Me),Ut=fe()({[`${Ct}-item-divider-dashed`]:!!Qt},ot);return b.createElement(he.iz,Object.assign({className:Ut},At))},We=y(11592),Ve=y(25399),He=ge=>{var Me;const{className:ot,children:Qt,icon:At,title:vt,danger:Ct,extra:Ut}=ge,{prefixCls:$t,firstLevel:fn,direction:dn,disableMenuItemTitleTooltip:Bt,inlineCollapsed:Mn}=b.useContext(nt),Dn=qt=>{const zt=Qt==null?void 0:Qt[0],bn=b.createElement("span",{className:fe()(`${$t}-title-content`,{[`${$t}-title-content-with-extra`]:!!Ut||Ut===0})},Qt);return(!At||b.isValidElement(Qt)&&Qt.type==="span")&&Qt&&qt&&fn&&typeof zt=="string"?b.createElement("div",{className:`${$t}-inline-collapsed-noicon`},zt.charAt(0)):bn},{siderCollapsed:Cn}=b.useContext(le.D);let sn=vt;typeof vt=="undefined"?sn=fn?Qt:"":vt===!1&&(sn="");const An={title:sn};!Cn&&!Mn&&(An.title=null,An.open=!1);const xn=(0,We.Z)(Qt).length;let Lt=b.createElement(he.ck,Object.assign({},(0,Oe.Z)(ge,["title","icon","danger"]),{className:fe()({[`${$t}-item-danger`]:Ct,[`${$t}-item-only-child`]:(At?xn+1:xn)===1},ot),title:typeof vt=="string"?vt:void 0}),(0,xe.Tm)(At,{className:fe()(b.isValidElement(At)?(Me=At.props)===null||Me===void 0?void 0:Me.className:"",`${$t}-item-icon`)}),Dn(Mn));return Bt||(Lt=b.createElement(Ve.Z,Object.assign({},An,{placement:dn==="rtl"?"left":"right",classNames:{root:`${$t}-inline-collapsed-tooltip`}}),Lt)),Lt},_e=y(78857),Ze=y(36237),tt=y(17835),gt=y(63356),rt=y(34961),It=y(46e3),mt=y(34925),ut=y(16931),Tt=y(51636),Ke=ge=>{const{componentCls:Me,motionDurationSlow:ot,horizontalLineHeight:Qt,colorSplit:At,lineWidth:vt,lineType:Ct,itemPaddingInline:Ut}=ge;return{[`${Me}-horizontal`]:{lineHeight:Qt,border:0,borderBottom:`${(0,Ze.unit)(vt)} ${Ct} ${At}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Me}-item, ${Me}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ut},[`> ${Me}-item:hover, - > ${Me}-item-active, - > ${Me}-submenu ${Me}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Me}-item, ${Me}-submenu-title`]:{transition:[`border-color ${ot}`,`background ${ot}`].join(",")},[`${Me}-submenu-arrow`]:{display:"none"}}}},Nt=ge=>{let{componentCls:Me,menuArrowOffset:ot,calc:Qt}=ge;return{[`${Me}-rtl`]:{direction:"rtl"},[`${Me}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Me}-rtl${Me}-vertical, - ${Me}-submenu-rtl ${Me}-vertical`]:{[`${Me}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Ze.unit)(Qt(ot).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Ze.unit)(ot)})`}}}}};const Kt=ge=>Object.assign({},(0,gt.oN)(ge));var wt=(ge,Me)=>{const{componentCls:ot,itemColor:Qt,itemSelectedColor:At,subMenuItemSelectedColor:vt,groupTitleColor:Ct,itemBg:Ut,subMenuItemBg:$t,itemSelectedBg:fn,activeBarHeight:dn,activeBarWidth:Bt,activeBarBorderWidth:Mn,motionDurationSlow:Dn,motionEaseInOut:Cn,motionEaseOut:sn,itemPaddingInline:An,motionDurationMid:xn,itemHoverColor:Lt,lineType:qt,colorSplit:zt,itemDisabledColor:bn,dangerItemColor:Et,dangerItemHoverColor:ft,dangerItemSelectedColor:de,dangerItemActiveBg:wn,dangerItemSelectedBg:Un,popupBg:mn,itemHoverBg:Er,itemActiveBg:Sr,menuSubMenuBg:or,horizontalItemSelectedColor:wr,horizontalItemSelectedBg:St,horizontalItemBorderRadius:Kn,horizontalItemHoverBg:ir}=ge;return{[`${ot}-${Me}, ${ot}-${Me} > ${ot}`]:{color:Qt,background:Ut,[`&${ot}-root:focus-visible`]:Object.assign({},Kt(ge)),[`${ot}-item`]:{"&-group-title, &-extra":{color:Ct}},[`${ot}-submenu-selected > ${ot}-submenu-title`]:{color:vt},[`${ot}-item, ${ot}-submenu-title`]:{color:Qt,[`&:not(${ot}-item-disabled):focus-visible`]:Object.assign({},Kt(ge))},[`${ot}-item-disabled, ${ot}-submenu-disabled`]:{color:`${bn} !important`},[`${ot}-item:not(${ot}-item-selected):not(${ot}-submenu-selected)`]:{[`&:hover, > ${ot}-submenu-title:hover`]:{color:Lt}},[`&:not(${ot}-horizontal)`]:{[`${ot}-item:not(${ot}-item-selected)`]:{"&:hover":{backgroundColor:Er},"&:active":{backgroundColor:Sr}},[`${ot}-submenu-title`]:{"&:hover":{backgroundColor:Er},"&:active":{backgroundColor:Sr}}},[`${ot}-item-danger`]:{color:Et,[`&${ot}-item:hover`]:{[`&:not(${ot}-item-selected):not(${ot}-submenu-selected)`]:{color:ft}},[`&${ot}-item:active`]:{background:wn}},[`${ot}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ot}-item-selected`]:{color:At,[`&${ot}-item-danger`]:{color:de},"a, a:hover":{color:"inherit"}},[`& ${ot}-item-selected`]:{backgroundColor:fn,[`&${ot}-item-danger`]:{backgroundColor:Un}},[`&${ot}-submenu > ${ot}`]:{backgroundColor:or},[`&${ot}-popup > ${ot}`]:{backgroundColor:mn},[`&${ot}-submenu-popup > ${ot}`]:{backgroundColor:mn},[`&${ot}-horizontal`]:Object.assign(Object.assign({},Me==="dark"?{borderBottom:0}:{}),{[`> ${ot}-item, > ${ot}-submenu`]:{top:Mn,marginTop:ge.calc(Mn).mul(-1).equal(),marginBottom:0,borderRadius:Kn,"&::after":{position:"absolute",insetInline:An,bottom:0,borderBottom:`${(0,Ze.unit)(dn)} solid transparent`,transition:`border-color ${Dn} ${Cn}`,content:'""'},"&:hover, &-active, &-open":{background:ir,"&::after":{borderBottomWidth:dn,borderBottomColor:wr}},"&-selected":{color:wr,backgroundColor:St,"&:hover":{backgroundColor:St},"&::after":{borderBottomWidth:dn,borderBottomColor:wr}}}}),[`&${ot}-root`]:{[`&${ot}-inline, &${ot}-vertical`]:{borderInlineEnd:`${(0,Ze.unit)(Mn)} ${qt} ${zt}`}},[`&${ot}-inline`]:{[`${ot}-sub${ot}-inline`]:{background:$t},[`${ot}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Ze.unit)(Bt)} solid ${At}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${xn} ${sn}`,`opacity ${xn} ${sn}`].join(","),content:'""'},[`&${ot}-item-danger`]:{"&::after":{borderInlineEndColor:de}}},[`${ot}-selected, ${ot}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${xn} ${Cn}`,`opacity ${xn} ${Cn}`].join(",")}}}}}};const $e=ge=>{const{componentCls:Me,itemHeight:ot,itemMarginInline:Qt,padding:At,menuArrowSize:vt,marginXS:Ct,itemMarginBlock:Ut,itemWidth:$t,itemPaddingInline:fn}=ge,dn=ge.calc(vt).add(At).add(Ct).equal();return{[`${Me}-item`]:{position:"relative",overflow:"hidden"},[`${Me}-item, ${Me}-submenu-title`]:{height:ot,lineHeight:(0,Ze.unit)(ot),paddingInline:fn,overflow:"hidden",textOverflow:"ellipsis",marginInline:Qt,marginBlock:Ut,width:$t},[`> ${Me}-item, - > ${Me}-submenu > ${Me}-submenu-title`]:{height:ot,lineHeight:(0,Ze.unit)(ot)},[`${Me}-item-group-list ${Me}-submenu-title, - ${Me}-submenu-title`]:{paddingInlineEnd:dn}}};var en=ge=>{const{componentCls:Me,iconCls:ot,itemHeight:Qt,colorTextLightSolid:At,dropdownWidth:vt,controlHeightLG:Ct,motionEaseOut:Ut,paddingXL:$t,itemMarginInline:fn,fontSizeLG:dn,motionDurationFast:Bt,motionDurationSlow:Mn,paddingXS:Dn,boxShadowSecondary:Cn,collapsedWidth:sn,collapsedIconSize:An}=ge,xn={height:Qt,lineHeight:(0,Ze.unit)(Qt),listStylePosition:"inside",listStyleType:"disc"};return[{[Me]:{"&-inline, &-vertical":Object.assign({[`&${Me}-root`]:{boxShadow:"none"}},$e(ge))},[`${Me}-submenu-popup`]:{[`${Me}-vertical`]:Object.assign(Object.assign({},$e(ge)),{boxShadow:Cn})}},{[`${Me}-submenu-popup ${Me}-vertical${Me}-sub`]:{minWidth:vt,maxHeight:`calc(100vh - ${(0,Ze.unit)(ge.calc(Ct).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Me}-inline`]:{width:"100%",[`&${Me}-root`]:{[`${Me}-item, ${Me}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Mn}`,`background ${Mn}`,`padding ${Bt} ${Ut}`].join(","),[`> ${Me}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Me}-sub${Me}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Me}-submenu > ${Me}-submenu-title`]:xn,[`& ${Me}-item-group-title`]:{paddingInlineStart:$t}},[`${Me}-item`]:xn}},{[`${Me}-inline-collapsed`]:{width:sn,[`&${Me}-root`]:{[`${Me}-item, ${Me}-submenu ${Me}-submenu-title`]:{[`> ${Me}-inline-collapsed-noicon`]:{fontSize:dn,textAlign:"center"}}},[`> ${Me}-item, - > ${Me}-item-group > ${Me}-item-group-list > ${Me}-item, - > ${Me}-item-group > ${Me}-item-group-list > ${Me}-submenu > ${Me}-submenu-title, - > ${Me}-submenu > ${Me}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Ze.unit)(ge.calc(An).div(2).equal())} - ${(0,Ze.unit)(fn)})`,textOverflow:"clip",[` - ${Me}-submenu-arrow, - ${Me}-submenu-expand-icon - `]:{opacity:0},[`${Me}-item-icon, ${ot}`]:{margin:0,fontSize:An,lineHeight:(0,Ze.unit)(Qt),"+ span":{display:"inline-block",opacity:0}}},[`${Me}-item-icon, ${ot}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Me}-item-icon, ${ot}`]:{display:"none"},"a, a:hover":{color:At}},[`${Me}-item-group-title`]:Object.assign(Object.assign({},gt.vS),{paddingInline:Dn})}}]};const on=ge=>{const{componentCls:Me,motionDurationSlow:ot,motionDurationMid:Qt,motionEaseInOut:At,motionEaseOut:vt,iconCls:Ct,iconSize:Ut,iconMarginInlineEnd:$t}=ge;return{[`${Me}-item, ${Me}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ot}`,`background ${ot}`,`padding calc(${ot} + 0.1s) ${At}`].join(","),[`${Me}-item-icon, ${Ct}`]:{minWidth:Ut,fontSize:Ut,transition:[`font-size ${Qt} ${vt}`,`margin ${ot} ${At}`,`color ${ot}`].join(","),"+ span":{marginInlineStart:$t,opacity:1,transition:[`opacity ${ot} ${At}`,`margin ${ot}`,`color ${ot}`].join(",")}},[`${Me}-item-icon`]:Object.assign({},(0,gt.Ro)()),[`&${Me}-item-only-child`]:{[`> ${Ct}, > ${Me}-item-icon`]:{marginInlineEnd:0}}},[`${Me}-item-disabled, ${Me}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Me}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},it=ge=>{const{componentCls:Me,motionDurationSlow:ot,motionEaseInOut:Qt,borderRadius:At,menuArrowSize:vt,menuArrowOffset:Ct}=ge;return{[`${Me}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ge.margin,width:vt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ot} ${Qt}, opacity ${ot}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ge.calc(vt).mul(.6).equal(),height:ge.calc(vt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:At,transition:[`background ${ot} ${Qt}`,`transform ${ot} ${Qt}`,`top ${ot} ${Qt}`,`color ${ot} ${Qt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Ze.unit)(ge.calc(Ct).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Ze.unit)(Ct)})`}}}}},Ht=ge=>{const{antCls:Me,componentCls:ot,fontSize:Qt,motionDurationSlow:At,motionDurationMid:vt,motionEaseInOut:Ct,paddingXS:Ut,padding:$t,colorSplit:fn,lineWidth:dn,zIndexPopup:Bt,borderRadiusLG:Mn,subMenuItemBorderRadius:Dn,menuArrowSize:Cn,menuArrowOffset:sn,lineType:An,groupTitleLineHeight:xn,groupTitleFontSize:Lt}=ge;return[{"":{[ot]:Object.assign(Object.assign({},(0,gt.dF)()),{"&-hidden":{display:"none"}})},[`${ot}-submenu-hidden`]:{display:"none"}},{[ot]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,gt.Wf)(ge)),(0,gt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Qt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${At} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ot}-item`]:{flex:"none"}},[`${ot}-item, ${ot}-submenu, ${ot}-submenu-title`]:{borderRadius:ge.itemBorderRadius},[`${ot}-item-group-title`]:{padding:`${(0,Ze.unit)(Ut)} ${(0,Ze.unit)($t)}`,fontSize:Lt,lineHeight:xn,transition:`all ${At}`},[`&-horizontal ${ot}-submenu`]:{transition:[`border-color ${At} ${Ct}`,`background ${At} ${Ct}`].join(",")},[`${ot}-submenu, ${ot}-submenu-inline`]:{transition:[`border-color ${At} ${Ct}`,`background ${At} ${Ct}`,`padding ${vt} ${Ct}`].join(",")},[`${ot}-submenu ${ot}-sub`]:{cursor:"initial",transition:[`background ${At} ${Ct}`,`padding ${At} ${Ct}`].join(",")},[`${ot}-title-content`]:{transition:`color ${At}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Me}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${ot}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:ge.padding}},[`${ot}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ot}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:fn,borderStyle:An,borderWidth:0,borderTopWidth:dn,marginBlock:dn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),on(ge)),{[`${ot}-item-group`]:{[`${ot}-item-group-list`]:{margin:0,padding:0,[`${ot}-item, ${ot}-submenu-title`]:{paddingInline:`${(0,Ze.unit)(ge.calc(Qt).mul(2).equal())} ${(0,Ze.unit)($t)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Bt,borderRadius:Mn,boxShadow:"none",transformOrigin:"0 0",[`&${ot}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${ot}`]:Object.assign(Object.assign(Object.assign({borderRadius:Mn},on(ge)),it(ge)),{[`${ot}-item, ${ot}-submenu > ${ot}-submenu-title`]:{borderRadius:Dn},[`${ot}-submenu-title::after`]:{transition:`transform ${At} ${Ct}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:ge.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ge.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ge.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ge.paddingXS}}}),it(ge)),{[`&-inline-collapsed ${ot}-submenu-arrow, - &-inline ${ot}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Ze.unit)(sn)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Ze.unit)(ge.calc(sn).mul(-1).equal())})`}},[`${ot}-submenu-open${ot}-submenu-inline > ${ot}-submenu-title > ${ot}-submenu-arrow`]:{transform:`translateY(${(0,Ze.unit)(ge.calc(Cn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Ze.unit)(ge.calc(sn).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Ze.unit)(sn)})`}}})},{[`${Me}-layout-header`]:{[ot]:{lineHeight:"inherit"}}}]},Yt=ge=>{var Me,ot,Qt;const{colorPrimary:At,colorError:vt,colorTextDisabled:Ct,colorErrorBg:Ut,colorText:$t,colorTextDescription:fn,colorBgContainer:dn,colorFillAlter:Bt,colorFillContent:Mn,lineWidth:Dn,lineWidthBold:Cn,controlItemBgActive:sn,colorBgTextHover:An,controlHeightLG:xn,lineHeight:Lt,colorBgElevated:qt,marginXXS:zt,padding:bn,fontSize:Et,controlHeightSM:ft,fontSizeLG:de,colorTextLightSolid:wn,colorErrorHover:Un}=ge,mn=(Me=ge.activeBarWidth)!==null&&Me!==void 0?Me:0,Er=(ot=ge.activeBarBorderWidth)!==null&&ot!==void 0?ot:Dn,Sr=(Qt=ge.itemMarginInline)!==null&&Qt!==void 0?Qt:ge.marginXXS,or=new tt.FastColor(wn).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ge.zIndexPopupBase+50,radiusItem:ge.borderRadiusLG,itemBorderRadius:ge.borderRadiusLG,radiusSubMenuItem:ge.borderRadiusSM,subMenuItemBorderRadius:ge.borderRadiusSM,colorItemText:$t,itemColor:$t,colorItemTextHover:$t,itemHoverColor:$t,colorItemTextHoverHorizontal:At,horizontalItemHoverColor:At,colorGroupTitle:fn,groupTitleColor:fn,colorItemTextSelected:At,itemSelectedColor:At,subMenuItemSelectedColor:At,colorItemTextSelectedHorizontal:At,horizontalItemSelectedColor:At,colorItemBg:dn,itemBg:dn,colorItemBgHover:An,itemHoverBg:An,colorItemBgActive:Mn,itemActiveBg:sn,colorSubItemBg:Bt,subMenuItemBg:Bt,colorItemBgSelected:sn,itemSelectedBg:sn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:mn,colorActiveBarHeight:Cn,activeBarHeight:Cn,colorActiveBarBorderSize:Dn,activeBarBorderWidth:Er,colorItemTextDisabled:Ct,itemDisabledColor:Ct,colorDangerItemText:vt,dangerItemColor:vt,colorDangerItemTextHover:vt,dangerItemHoverColor:vt,colorDangerItemTextSelected:vt,dangerItemSelectedColor:vt,colorDangerItemBgActive:Ut,dangerItemActiveBg:Ut,colorDangerItemBgSelected:Ut,dangerItemSelectedBg:Ut,itemMarginInline:Sr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:xn,groupTitleLineHeight:Lt,collapsedWidth:xn*2,popupBg:qt,itemMarginBlock:zt,itemPaddingInline:bn,horizontalLineHeight:`${xn*1.15}px`,iconSize:Et,iconMarginInlineEnd:ft-Et,collapsedIconSize:de,groupTitleFontSize:Et,darkItemDisabledColor:new tt.FastColor(wn).setA(.25).toRgbString(),darkItemColor:or,darkDangerItemColor:vt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:wn,darkItemSelectedBg:At,darkDangerItemSelectedBg:vt,darkItemHoverBg:"transparent",darkGroupTitleColor:or,darkItemHoverColor:wn,darkDangerItemHoverColor:Un,darkDangerItemSelectedColor:wn,darkDangerItemActiveBg:vt,itemWidth:mn?`calc(100% + ${Er}px)`:`calc(100% - ${Sr*2}px)`}};var Rn=function(ge){let Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge,ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,ut.I$)("Menu",At=>{const{colorBgElevated:vt,controlHeightLG:Ct,fontSize:Ut,darkItemColor:$t,darkDangerItemColor:fn,darkItemBg:dn,darkSubMenuItemBg:Bt,darkItemSelectedColor:Mn,darkItemSelectedBg:Dn,darkDangerItemSelectedBg:Cn,darkItemHoverBg:sn,darkGroupTitleColor:An,darkItemHoverColor:xn,darkItemDisabledColor:Lt,darkDangerItemHoverColor:qt,darkDangerItemSelectedColor:zt,darkDangerItemActiveBg:bn,popupBg:Et,darkPopupBg:ft}=At,de=At.calc(Ut).div(7).mul(5).equal(),wn=(0,Tt.mergeToken)(At,{menuArrowSize:de,menuHorizontalHeight:At.calc(Ct).mul(1.15).equal(),menuArrowOffset:At.calc(de).mul(.25).equal(),menuSubMenuBg:vt,calc:At.calc,popupBg:Et}),Un=(0,Tt.mergeToken)(wn,{itemColor:$t,itemHoverColor:xn,groupTitleColor:An,itemSelectedColor:Mn,subMenuItemSelectedColor:Mn,itemBg:dn,popupBg:ft,subMenuItemBg:Bt,itemActiveBg:"transparent",itemSelectedBg:Dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:sn,itemDisabledColor:Lt,dangerItemColor:fn,dangerItemHoverColor:qt,dangerItemSelectedColor:zt,dangerItemActiveBg:bn,dangerItemSelectedBg:Cn,menuSubMenuBg:Bt,horizontalItemSelectedColor:Mn,horizontalItemSelectedBg:Dn});return[Ht(wn),Ke(wn),en(wn),wt(wn,"light"),wt(Un,"dark"),Nt(wn),(0,rt.Z)(wn),(0,It.oN)(wn,"slide-up"),(0,It.oN)(wn,"slide-down"),(0,mt._y)(wn,"zoom-big")]},Yt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:ot,unitless:{groupTitleLineHeight:!0}})(ge,Me)},ct=y(75030),Zt=ge=>{var Me;const{popupClassName:ot,icon:Qt,title:At,theme:vt}=ge,Ct=b.useContext(nt),{prefixCls:Ut,inlineCollapsed:$t,theme:fn}=Ct,dn=(0,he.Xl)();let Bt;if(!Qt)Bt=$t&&!dn.length&&At&&typeof At=="string"?b.createElement("div",{className:`${Ut}-inline-collapsed-noicon`},At.charAt(0)):b.createElement("span",{className:`${Ut}-title-content`},At);else{const Cn=b.isValidElement(At)&&At.type==="span";Bt=b.createElement(b.Fragment,null,(0,xe.Tm)(Qt,{className:fe()(b.isValidElement(Qt)?(Me=Qt.props)===null||Me===void 0?void 0:Me.className:"",`${Ut}-item-icon`)}),Cn?At:b.createElement("span",{className:`${Ut}-title-content`},At))}const Mn=b.useMemo(()=>Object.assign(Object.assign({},Ct),{firstLevel:!1}),[Ct]),[Dn]=(0,ct.Cn)("Menu");return b.createElement(nt.Provider,{value:Mn},b.createElement(he.Wd,Object.assign({},(0,Oe.Z)(ge,["icon"]),{title:Bt,popupClassName:fe()(Ut,ot,`${Ut}-${vt||fn}`),popupStyle:Object.assign({zIndex:Dn},ge.popupStyle)})))},vn=function(ge,Me){var ot={};for(var Qt in ge)Object.prototype.hasOwnProperty.call(ge,Qt)&&Me.indexOf(Qt)<0&&(ot[Qt]=ge[Qt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,Qt=Object.getOwnPropertySymbols(ge);At{var ot;const Qt=b.useContext(_e.Z),At=Qt||{},{getPrefixCls:vt,getPopupContainer:Ct,direction:Ut,menu:$t}=b.useContext(je.E_),fn=vt(),{prefixCls:dn,className:Bt,style:Mn,theme:Dn="light",expandIcon:Cn,_internalDisableMenuItemTitleTooltip:sn,inlineCollapsed:An,siderCollapsed:xn,rootClassName:Lt,mode:qt,selectable:zt,onClick:bn,overflowedIndicatorPopupClassName:Et}=ge,ft=vn(ge,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),de=(0,Oe.Z)(ft,["collapsedWidth"]);(ot=At.validator)===null||ot===void 0||ot.call(At,{mode:qt});const wn=(0,we.Z)(function(){var sr;bn==null||bn.apply(void 0,arguments),(sr=At.onClick)===null||sr===void 0||sr.call(At)}),Un=At.mode||qt,mn=zt!=null?zt:At.selectable,Er=An!=null?An:xn,Sr={horizontal:{motionName:`${fn}-slide-up`},inline:(0,Re.Z)(fn),other:{motionName:`${fn}-zoom-big`}},or=vt("menu",dn||At.prefixCls),wr=(0,Fe.Z)(or),[St,Kn,ir]=Rn(or,wr,!Qt),br=fe()(`${or}-${Dn}`,$t==null?void 0:$t.className,Bt),qn=b.useMemo(()=>{var sr,jn;if(typeof Cn=="function"||un(Cn))return Cn||null;if(typeof At.expandIcon=="function"||un(At.expandIcon))return At.expandIcon||null;if(typeof($t==null?void 0:$t.expandIcon)=="function"||un($t==null?void 0:$t.expandIcon))return($t==null?void 0:$t.expandIcon)||null;const $r=(sr=Cn!=null?Cn:At==null?void 0:At.expandIcon)!==null&&sr!==void 0?sr:$t==null?void 0:$t.expandIcon;return(0,xe.Tm)($r,{className:fe()(`${or}-submenu-expand-icon`,b.isValidElement($r)?(jn=$r.props)===null||jn===void 0?void 0:jn.className:void 0)})},[Cn,At==null?void 0:At.expandIcon,$t==null?void 0:$t.expandIcon,or]),Ir=b.useMemo(()=>({prefixCls:or,inlineCollapsed:Er||!1,direction:Ut,firstLevel:!0,theme:Dn,mode:Un,disableMenuItemTitleTooltip:sn}),[or,Er,Ut,sn,Dn]);return St(b.createElement(_e.Z.Provider,{value:null},b.createElement(nt.Provider,{value:Ir},b.createElement(he.ZP,Object.assign({getPopupContainer:Ct,overflowedIndicator:b.createElement(pe.Z,null),overflowedIndicatorPopupClassName:fe()(or,`${or}-${Dn}`,Et),mode:Un,selectable:mn,onClick:wn},de,{inlineCollapsed:Er,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),Mn),className:br,prefixCls:or,direction:Ut,defaultMotions:Sr,expandIcon:qn,ref:Me,rootClassName:fe()(Lt,Kn,At.rootClassName,ir,wr),_internalComponents:De})))))});const Te=(0,b.forwardRef)((ge,Me)=>{const ot=(0,b.useRef)(null),Qt=b.useContext(le.D);return(0,b.useImperativeHandle)(Me,()=>({menu:ot.current,focus:At=>{var vt;(vt=ot.current)===null||vt===void 0||vt.focus(At)}})),b.createElement(ce,Object.assign({ref:ot},ge,Qt))});Te.Item=He,Te.SubMenu=Zt,Te.Divider=Ge,Te.ItemGroup=he.BW;var Ue=Te},89787:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return xn}});var b=y(59301),he=y(17835),le=y(29679),pe=y(40001),be=y(19248),fe=y(99267),we=y(92310),Oe=y.n(we),Re=y(2738),xe=y(48755),je=y(60499),Fe=y(85899),xt=y(42244),nt={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},et=function(){var qt=(0,b.useRef)([]),zt=(0,b.useRef)(null);return(0,b.useEffect)(function(){var bn=Date.now(),Et=!1;qt.current.forEach(function(ft){if(ft){Et=!0;var de=ft.style;de.transitionDuration=".3s, .3s, .3s, .06s",zt.current&&bn-zt.current<100&&(de.transitionDuration="0s, 0s")}}),Et&&(zt.current=Date.now())}),qt.current},Je=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],Ge=function(qt){var zt=(0,Fe.Z)((0,Fe.Z)({},nt),qt),bn=zt.className,Et=zt.percent,ft=zt.prefixCls,de=zt.strokeColor,wn=zt.strokeLinecap,Un=zt.strokeWidth,mn=zt.style,Er=zt.trailColor,Sr=zt.trailWidth,or=zt.transition,wr=(0,xt.Z)(zt,Je);delete wr.gapPosition;var St=Array.isArray(Et)?Et:[Et],Kn=Array.isArray(de)?de:[de],ir=et(),br=Un/2,qn=100-Un/2,Ir="M ".concat(wn==="round"?br:0,",").concat(br,` - L `).concat(wn==="round"?qn:100,",").concat(br),sr="0 0 100 ".concat(Un),jn=0;return b.createElement("svg",(0,je.Z)({className:Oe()("".concat(ft,"-line"),bn),viewBox:sr,preserveAspectRatio:"none",style:mn},wr),b.createElement("path",{className:"".concat(ft,"-line-trail"),d:Ir,strokeLinecap:wn,stroke:Er,strokeWidth:Sr||Un,fillOpacity:"0"}),St.map(function($r,Jr){var Gr=1;switch(wn){case"round":Gr=1-Un/100;break;case"square":Gr=1-Un/2/100;break;default:Gr=1;break}var la={strokeDasharray:"".concat($r*Gr,"px, 100px"),strokeDashoffset:"-".concat(jn,"px"),transition:or||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Hr=Kn[Jr]||Kn[Kn.length-1];return jn+=$r,b.createElement("path",{key:Jr,className:"".concat(ft,"-line-path"),d:Ir,strokeLinecap:wn,stroke:Hr,strokeWidth:Un,fillOpacity:"0",ref:function(Yr){ir[Jr]=Yr},style:la})}))},We=Ge,Ve=y(43749),Qe=y(72190),He=y(47273),_e=0,Ze=(0,He.Z)();function tt(){var Lt;return Ze?(Lt=_e,_e+=1):Lt="TEST_OR_SSR",Lt}var gt=function(Lt){var qt=b.useState(),zt=(0,Qe.Z)(qt,2),bn=zt[0],Et=zt[1];return b.useEffect(function(){Et("rc_progress_".concat(tt()))},[]),Lt||bn},rt=function(qt){var zt=qt.bg,bn=qt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:zt}},bn)};function It(Lt,qt){return Object.keys(Lt).map(function(zt){var bn=parseFloat(zt),Et="".concat(Math.floor(bn*qt),"%");return"".concat(Lt[zt]," ").concat(Et)})}var mt=b.forwardRef(function(Lt,qt){var zt=Lt.prefixCls,bn=Lt.color,Et=Lt.gradientId,ft=Lt.radius,de=Lt.style,wn=Lt.ptg,Un=Lt.strokeLinecap,mn=Lt.strokeWidth,Er=Lt.size,Sr=Lt.gapDegree,or=bn&&(0,Ve.Z)(bn)==="object",wr=or?"#FFF":void 0,St=Er/2,Kn=b.createElement("circle",{className:"".concat(zt,"-circle-path"),r:ft,cx:St,cy:St,stroke:wr,strokeLinecap:Un,strokeWidth:mn,opacity:wn===0?0:1,style:de,ref:qt});if(!or)return Kn;var ir="".concat(Et,"-conic"),br=Sr?"".concat(180+Sr/2,"deg"):"0deg",qn=It(bn,(360-Sr)/360),Ir=It(bn,1),sr="conic-gradient(from ".concat(br,", ").concat(qn.join(", "),")"),jn="linear-gradient(to ".concat(Sr?"bottom":"top",", ").concat(Ir.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:ir},Kn),b.createElement("foreignObject",{x:0,y:0,width:Er,height:Er,mask:"url(#".concat(ir,")")},b.createElement(rt,{bg:jn},b.createElement(rt,{bg:sr}))))}),ut=mt,Tt=100,_t=function(qt,zt,bn,Et,ft,de,wn,Un,mn,Er){var Sr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,or=bn/100*360*((360-de)/360),wr=de===0?0:{bottom:0,top:180,left:90,right:-90}[wn],St=(100-Et)/100*zt;mn==="round"&&Et!==100&&(St+=Er/2,St>=zt&&(St=zt-.01));var Kn=Tt/2;return{stroke:typeof Un=="string"?Un:void 0,strokeDasharray:"".concat(zt,"px ").concat(qt),strokeDashoffset:St+Sr,transform:"rotate(".concat(ft+or+wr,"deg)"),transformOrigin:"".concat(Kn,"px ").concat(Kn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Ke=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Rt(Lt){var qt=Lt!=null?Lt:[];return Array.isArray(qt)?qt:[qt]}var Nt=function(qt){var zt=(0,Fe.Z)((0,Fe.Z)({},nt),qt),bn=zt.id,Et=zt.prefixCls,ft=zt.steps,de=zt.strokeWidth,wn=zt.trailWidth,Un=zt.gapDegree,mn=Un===void 0?0:Un,Er=zt.gapPosition,Sr=zt.trailColor,or=zt.strokeLinecap,wr=zt.style,St=zt.className,Kn=zt.strokeColor,ir=zt.percent,br=(0,xt.Z)(zt,Ke),qn=Tt/2,Ir=gt(bn),sr="".concat(Ir,"-gradient"),jn=qn-de/2,$r=Math.PI*2*jn,Jr=mn>0?90+mn/2:-90,Gr=$r*((360-mn)/360),la=(0,Ve.Z)(ft)==="object"?ft:{count:ft,gap:2},Hr=la.count,fa=la.gap,Yr=Rt(ir),Wn=Rt(Kn),ur=Wn.find(function(Mt){return Mt&&(0,Ve.Z)(Mt)==="object"}),_r=ur&&(0,Ve.Z)(ur)==="object",ea=_r?"butt":or,Jt=_t($r,Gr,0,100,Jr,mn,Er,Sr,ea,de),pn=et(),kt=function(){var rn=0;return Yr.map(function(lt,ve){var Ie=Wn[ve]||Wn[Wn.length-1],Ft=_t($r,Gr,rn,lt,Jr,mn,Er,Ie,ea,de);return rn+=lt,b.createElement(ut,{key:ve,color:Ie,ptg:lt,radius:jn,prefixCls:Et,gradientId:sr,style:Ft,strokeLinecap:ea,strokeWidth:de,gapDegree:mn,ref:function(Ye){pn[ve]=Ye},size:Tt})}).reverse()},tn=function(){var rn=Math.round(Hr*(Yr[0]/100)),lt=100/Hr,ve=0;return new Array(Hr).fill(null).map(function(Ie,Ft){var Pe=Ft<=rn-1?Wn[0]:Sr,Ye=Pe&&(0,Ve.Z)(Pe)==="object"?"url(#".concat(sr,")"):void 0,Xt=_t($r,Gr,ve,lt,Jr,mn,Er,Pe,"butt",de,fa);return ve+=(Gr-Xt.strokeDashoffset+fa)*100/Gr,b.createElement("circle",{key:Ft,className:"".concat(Et,"-circle-path"),r:jn,cx:qn,cy:qn,stroke:Ye,strokeWidth:de,opacity:1,style:Xt,ref:function(Xn){pn[Ft]=Xn}})})};return b.createElement("svg",(0,je.Z)({className:Oe()("".concat(Et,"-circle"),St),viewBox:"0 0 ".concat(Tt," ").concat(Tt),style:wr,id:bn,role:"presentation"},br),!Hr&&b.createElement("circle",{className:"".concat(Et,"-circle-trail"),r:jn,cx:qn,cy:qn,stroke:Sr,strokeLinecap:ea,strokeWidth:wn||de,style:Jt}),Hr?tn():kt())},Kt=Nt,On={Line:We,Circle:Kt},wt=y(25399),$e=y(68361);function Ee(Lt){return!Lt||Lt<0?0:Lt>100?100:Lt}function en(Lt){let{success:qt,successPercent:zt}=Lt,bn=zt;return qt&&"progress"in qt&&(bn=qt.progress),qt&&"percent"in qt&&(bn=qt.percent),bn}const on=Lt=>{let{percent:qt,success:zt,successPercent:bn}=Lt;const Et=Ee(en({success:zt,successPercent:bn}));return[Et,Ee(Ee(qt)-Et)]},it=Lt=>{let{success:qt={},strokeColor:zt}=Lt;const{strokeColor:bn}=qt;return[bn||$e.presetPrimaryColors.green,zt||null]},Ht=(Lt,qt,zt)=>{var bn,Et,ft,de;let wn=-1,Un=-1;if(qt==="step"){const mn=zt.steps,Er=zt.strokeWidth;typeof Lt=="string"||typeof Lt=="undefined"?(wn=Lt==="small"?2:14,Un=Er!=null?Er:8):typeof Lt=="number"?[wn,Un]=[Lt,Lt]:[wn=14,Un=8]=Array.isArray(Lt)?Lt:[Lt.width,Lt.height],wn*=mn}else if(qt==="line"){const mn=zt==null?void 0:zt.strokeWidth;typeof Lt=="string"||typeof Lt=="undefined"?Un=mn||(Lt==="small"?6:8):typeof Lt=="number"?[wn,Un]=[Lt,Lt]:[wn=-1,Un=8]=Array.isArray(Lt)?Lt:[Lt.width,Lt.height]}else(qt==="circle"||qt==="dashboard")&&(typeof Lt=="string"||typeof Lt=="undefined"?[wn,Un]=Lt==="small"?[60,60]:[120,120]:typeof Lt=="number"?[wn,Un]=[Lt,Lt]:Array.isArray(Lt)&&(wn=(Et=(bn=Lt[0])!==null&&bn!==void 0?bn:Lt[1])!==null&&Et!==void 0?Et:120,Un=(de=(ft=Lt[0])!==null&&ft!==void 0?ft:Lt[1])!==null&&de!==void 0?de:120));return[wn,Un]},Yt=3,Rn=Lt=>Yt/Lt*100;var Sn=Lt=>{const{prefixCls:qt,trailColor:zt=null,strokeLinecap:bn="round",gapPosition:Et,gapDegree:ft,width:de=120,type:wn,children:Un,success:mn,size:Er=de,steps:Sr}=Lt,[or,wr]=Ht(Er,"circle");let{strokeWidth:St}=Lt;St===void 0&&(St=Math.max(Rn(or),6));const Kn={width:or,height:wr,fontSize:or*.15+6},ir=b.useMemo(()=>{if(ft||ft===0)return ft;if(wn==="dashboard")return 75},[ft,wn]),br=on(Lt),qn=Et||wn==="dashboard"&&"bottom"||void 0,Ir=Object.prototype.toString.call(Lt.strokeColor)==="[object Object]",sr=it({success:mn,strokeColor:Lt.strokeColor}),jn=Oe()(`${qt}-inner`,{[`${qt}-circle-gradient`]:Ir}),$r=b.createElement(Kt,{steps:Sr,percent:Sr?br[1]:br,strokeWidth:St,trailWidth:St,strokeColor:Sr?sr[1]:sr,strokeLinecap:bn,trailColor:zt,prefixCls:qt,gapDegree:ir,gapPosition:qn}),Jr=or<=20,Gr=b.createElement("div",{className:jn,style:Kn},$r,!Jr&&Un);return Jr?b.createElement(wt.Z,{title:Un},Gr):Gr},Zt=y(36237),vn=y(63356),un=y(16931),De=y(51636);const me="--progress-line-stroke-color",ce="--progress-percent",Te=Lt=>{const qt=Lt?"100%":"-100%";return new Zt.Keyframes(`antProgress${Lt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${qt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${qt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ue=Lt=>{const{componentCls:qt,iconCls:zt}=Lt;return{[qt]:Object.assign(Object.assign({},(0,vn.Wf)(Lt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Lt.fontSize},[`${qt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${qt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:Lt.remainingColor,borderRadius:Lt.lineBorderRadius},[`${qt}-inner:not(${qt}-circle-gradient)`]:{[`${qt}-circle-path`]:{stroke:Lt.defaultColor}},[`${qt}-success-bg, ${qt}-bg`]:{position:"relative",background:Lt.defaultColor,borderRadius:Lt.lineBorderRadius,transition:`all ${Lt.motionDurationSlow} ${Lt.motionEaseInOutCirc}`},[`${qt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${qt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Lt.marginXXS}},[`${qt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${me})`]},height:"100%",width:`calc(1 / var(${ce}) * 100%)`,display:"block"},[`&${qt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${qt}-text-inner`]:{color:Lt.colorWhite,[`&${qt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${qt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Lt.colorSuccess},[`${qt}-text`]:{display:"inline-block",marginInlineStart:Lt.marginXS,color:Lt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[zt]:{fontSize:Lt.fontSize},[`&${qt}-text-outer`]:{width:"max-content"},[`&${qt}-text-outer${qt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Lt.marginXS}},[`${qt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Zt.unit)(Lt.paddingXXS)}`,[`&${qt}-text-start`]:{justifyContent:"start"},[`&${qt}-text-end`]:{justifyContent:"end"}},[`&${qt}-status-active`]:{[`${qt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Lt.colorBgContainer,borderRadius:Lt.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:Lt.progressActiveMotionDuration,animationTimingFunction:Lt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${qt}-rtl${qt}-status-active`]:{[`${qt}-bg::before`]:{animationName:Te(!0)}},[`&${qt}-status-exception`]:{[`${qt}-bg`]:{backgroundColor:Lt.colorError},[`${qt}-text`]:{color:Lt.colorError}},[`&${qt}-status-exception ${qt}-inner:not(${qt}-circle-gradient)`]:{[`${qt}-circle-path`]:{stroke:Lt.colorError}},[`&${qt}-status-success`]:{[`${qt}-bg`]:{backgroundColor:Lt.colorSuccess},[`${qt}-text`]:{color:Lt.colorSuccess}},[`&${qt}-status-success ${qt}-inner:not(${qt}-circle-gradient)`]:{[`${qt}-circle-path`]:{stroke:Lt.colorSuccess}}})}},ge=Lt=>{const{componentCls:qt,iconCls:zt}=Lt;return{[qt]:{[`${qt}-circle-trail`]:{stroke:Lt.remainingColor},[`&${qt}-circle ${qt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${qt}-circle ${qt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Lt.circleTextColor,fontSize:Lt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[zt]:{fontSize:Lt.circleIconFontSize}},[`${qt}-circle&-status-exception`]:{[`${qt}-text`]:{color:Lt.colorError}},[`${qt}-circle&-status-success`]:{[`${qt}-text`]:{color:Lt.colorSuccess}}},[`${qt}-inline-circle`]:{lineHeight:1,[`${qt}-inner`]:{verticalAlign:"bottom"}}}},Me=Lt=>{const{componentCls:qt}=Lt;return{[qt]:{[`${qt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Lt.progressStepMinWidth,marginInlineEnd:Lt.progressStepMarginInlineEnd,backgroundColor:Lt.remainingColor,transition:`all ${Lt.motionDurationSlow}`,"&-active":{backgroundColor:Lt.defaultColor}}}}}},ot=Lt=>{const{componentCls:qt,iconCls:zt}=Lt;return{[qt]:{[`${qt}-small&-line, ${qt}-small&-line ${qt}-text ${zt}`]:{fontSize:Lt.fontSizeSM}}}},Qt=Lt=>({circleTextColor:Lt.colorText,defaultColor:Lt.colorInfo,remainingColor:Lt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Lt.fontSize/Lt.fontSizeSM}em`});var At=(0,un.I$)("Progress",Lt=>{const qt=Lt.calc(Lt.marginXXS).div(2).equal(),zt=(0,De.mergeToken)(Lt,{progressStepMarginInlineEnd:qt,progressStepMinWidth:qt,progressActiveMotionDuration:"2.4s"});return[Ue(zt),ge(zt),Me(zt),ot(zt)]},Qt),vt=function(Lt,qt){var zt={};for(var bn in Lt)Object.prototype.hasOwnProperty.call(Lt,bn)&&qt.indexOf(bn)<0&&(zt[bn]=Lt[bn]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,bn=Object.getOwnPropertySymbols(Lt);Et{let qt=[];return Object.keys(Lt).forEach(zt=>{const bn=parseFloat(zt.replace(/%/g,""));Number.isNaN(bn)||qt.push({key:bn,value:Lt[zt]})}),qt=qt.sort((zt,bn)=>zt.key-bn.key),qt.map(zt=>{let{key:bn,value:Et}=zt;return`${Et} ${bn}%`}).join(", ")},Ut=(Lt,qt)=>{const{from:zt=$e.presetPrimaryColors.blue,to:bn=$e.presetPrimaryColors.blue,direction:Et=qt==="rtl"?"to left":"to right"}=Lt,ft=vt(Lt,["from","to","direction"]);if(Object.keys(ft).length!==0){const wn=Ct(ft),Un=`linear-gradient(${Et}, ${wn})`;return{background:Un,[me]:Un}}const de=`linear-gradient(${Et}, ${zt}, ${bn})`;return{background:de,[me]:de}};var fn=Lt=>{const{prefixCls:qt,direction:zt,percent:bn,size:Et,strokeWidth:ft,strokeColor:de,strokeLinecap:wn="round",children:Un,trailColor:mn=null,percentPosition:Er,success:Sr}=Lt,{align:or,type:wr}=Er,St=de&&typeof de!="string"?Ut(de,zt):{[me]:de,background:de},Kn=wn==="square"||wn==="butt"?0:void 0,ir=Et!=null?Et:[-1,ft||(Et==="small"?6:8)],[br,qn]=Ht(ir,"line",{strokeWidth:ft}),Ir={backgroundColor:mn||void 0,borderRadius:Kn},sr=Object.assign(Object.assign({width:`${Ee(bn)}%`,height:qn,borderRadius:Kn},St),{[ce]:Ee(bn)/100}),jn=en(Lt),$r={width:`${Ee(jn)}%`,height:qn,borderRadius:Kn,backgroundColor:Sr==null?void 0:Sr.strokeColor},Jr={width:br<0?"100%":br},Gr=b.createElement("div",{className:`${qt}-inner`,style:Ir},b.createElement("div",{className:Oe()(`${qt}-bg`,`${qt}-bg-${wr}`),style:sr},wr==="inner"&&Un),jn!==void 0&&b.createElement("div",{className:`${qt}-success-bg`,style:$r})),la=wr==="outer"&&or==="start",Hr=wr==="outer"&&or==="end";return wr==="outer"&&or==="center"?b.createElement("div",{className:`${qt}-layout-bottom`},Gr,Un):b.createElement("div",{className:`${qt}-outer`,style:Jr},la&&Un,Gr,Hr&&Un)},Bt=Lt=>{const{size:qt,steps:zt,rounding:bn=Math.round,percent:Et=0,strokeWidth:ft=8,strokeColor:de,trailColor:wn=null,prefixCls:Un,children:mn}=Lt,Er=bn(zt*(Et/100)),Sr=qt==="small"?2:14,or=qt!=null?qt:[Sr,ft],[wr,St]=Ht(or,"step",{steps:zt,strokeWidth:ft}),Kn=wr/zt,ir=Array.from({length:zt});for(let br=0;br{const{prefixCls:zt,className:bn,rootClassName:Et,steps:ft,strokeColor:de,percent:wn=0,size:Un="default",showInfo:mn=!0,type:Er="line",status:Sr,format:or,style:wr,percentPosition:St={}}=Lt,Kn=Mn(Lt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:ir="end",type:br="outer"}=St,qn=Array.isArray(de)?de[0]:de,Ir=typeof de=="string"||Array.isArray(de)?de:void 0,sr=b.useMemo(()=>{if(qn){const kt=typeof qn=="string"?qn:Object.values(qn)[0];return new he.FastColor(kt).isLight()}return!1},[de]),jn=b.useMemo(()=>{var kt,tn;const Mt=en(Lt);return parseInt(Mt!==void 0?(kt=Mt!=null?Mt:0)===null||kt===void 0?void 0:kt.toString():(tn=wn!=null?wn:0)===null||tn===void 0?void 0:tn.toString(),10)},[wn,Lt.success,Lt.successPercent]),$r=b.useMemo(()=>!Cn.includes(Sr)&&jn>=100?"success":Sr||"normal",[Sr,jn]),{getPrefixCls:Jr,direction:Gr,progress:la}=b.useContext(xe.E_),Hr=Jr("progress",zt),[fa,Yr,Wn]=At(Hr),ur=Er==="line",_r=ur&&!ft,ea=b.useMemo(()=>{if(!mn)return null;const kt=en(Lt);let tn;const Mt=or||(lt=>`${lt}%`),rn=ur&&sr&&br==="inner";return br==="inner"||or||$r!=="exception"&&$r!=="success"?tn=Mt(Ee(wn),Ee(kt)):$r==="exception"?tn=ur?b.createElement(be.Z,null):b.createElement(fe.Z,null):$r==="success"&&(tn=ur?b.createElement(le.Z,null):b.createElement(pe.Z,null)),b.createElement("span",{className:Oe()(`${Hr}-text`,{[`${Hr}-text-bright`]:rn,[`${Hr}-text-${ir}`]:_r,[`${Hr}-text-${br}`]:_r}),title:typeof tn=="string"?tn:void 0},tn)},[mn,wn,jn,$r,Er,Hr,or]);let Jt;Er==="line"?Jt=ft?b.createElement(Bt,Object.assign({},Lt,{strokeColor:Ir,prefixCls:Hr,steps:typeof ft=="object"?ft.count:ft}),ea):b.createElement(fn,Object.assign({},Lt,{strokeColor:qn,prefixCls:Hr,direction:Gr,percentPosition:{align:ir,type:br}}),ea):(Er==="circle"||Er==="dashboard")&&(Jt=b.createElement(Sn,Object.assign({},Lt,{strokeColor:qn,prefixCls:Hr,progressStatus:$r}),ea));const pn=Oe()(Hr,`${Hr}-status-${$r}`,{[`${Hr}-${Er==="dashboard"&&"circle"||Er}`]:Er!=="line",[`${Hr}-inline-circle`]:Er==="circle"&&Ht(Un,"circle")[0]<=20,[`${Hr}-line`]:_r,[`${Hr}-line-align-${ir}`]:_r,[`${Hr}-line-position-${br}`]:_r,[`${Hr}-steps`]:ft,[`${Hr}-show-info`]:mn,[`${Hr}-${Un}`]:typeof Un=="string",[`${Hr}-rtl`]:Gr==="rtl"},la==null?void 0:la.className,bn,Et,Yr,Wn);return fa(b.createElement("div",Object.assign({ref:qt,style:Object.assign(Object.assign({},la==null?void 0:la.style),wr),className:pn,role:"progressbar","aria-valuenow":jn,"aria-valuemin":0,"aria-valuemax":100},(0,Re.Z)(Kn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Jt))}),xn=An},82326:function(Ce,ae,y){"use strict";var b=y(59301),he=y(92310),le=y.n(he),pe=y(37463),be=y(2738),fe=y(75030),we=y(86641),Oe=y(45915),Re=y(82855),xe=y(48755),je=y(38406),Fe=y(2171),xt=y(83397),nt=y(31756),et=y(56553),Je=y(24971),Ge=y(70045),We=y(57700),Ve=y(1722),Qe=y(90376),He=y(68525),_e=y(90005),Ze=function(mt,ut){var Tt={};for(var _t in mt)Object.prototype.hasOwnProperty.call(mt,_t)&&ut.indexOf(_t)<0&&(Tt[_t]=mt[_t]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,_t=Object.getOwnPropertySymbols(mt);Ke<_t.length;Ke++)ut.indexOf(_t[Ke])<0&&Object.prototype.propertyIsEnumerable.call(mt,_t[Ke])&&(Tt[_t[Ke]]=mt[_t[Ke]]);return Tt};const tt="SECRET_COMBOBOX_MODE_DO_NOT_USE",gt=(mt,ut)=>{var Tt;const{prefixCls:_t,bordered:Ke,className:Rt,rootClassName:Nt,getPopupContainer:Kt,popupClassName:On,dropdownClassName:wt,listHeight:$e=256,placement:Ee,listItemHeight:en,size:on,disabled:it,notFoundContent:Ht,status:Yt,builtinPlacements:Rn,dropdownMatchSelectWidth:ct,popupMatchSelectWidth:Sn,direction:Zt,style:vn,allowClear:un,variant:De,dropdownStyle:me,transitionName:ce,tagRender:Te,maxCount:Ue,prefix:ge}=mt,Me=Ze(mt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:ot,getPrefixCls:Qt,renderEmpty:At,direction:vt,virtual:Ct,popupMatchSelectWidth:Ut,popupOverflow:$t}=b.useContext(xe.E_),fn=(0,xe.dj)("select"),[,dn]=(0,We.ZP)(),Bt=en!=null?en:dn==null?void 0:dn.controlHeight,Mn=Qt("select",_t),Dn=Qt(),Cn=Zt!=null?Zt:vt,{compactSize:sn,compactItemClassnames:An}=(0,Ge.ri)(Mn,Cn),[xn,Lt]=(0,Je.Z)("select",De,Ke),qt=(0,xt.Z)(Mn),[zt,bn,Et]=(0,Qe.Z)(Mn,qt),ft=b.useMemo(()=>{const{mode:Yr}=mt;if(Yr!=="combobox")return Yr===tt?"combobox":Yr},[mt.mode]),de=ft==="multiple"||ft==="tags",wn=(0,_e.Z)(mt.suffixIcon,mt.showArrow),Un=(Tt=Sn!=null?Sn:ct)!==null&&Tt!==void 0?Tt:Ut,{status:mn,hasFeedback:Er,isFormItemInput:Sr,feedbackIcon:or}=b.useContext(et.aM),wr=(0,Re.F)(mn,Yt);let St;Ht!==void 0?St=Ht:ft==="combobox"?St=null:St=(At==null?void 0:At("Select"))||b.createElement(je.Z,{componentName:"Select"});const{suffixIcon:Kn,itemIcon:ir,removeIcon:br,clearIcon:qn}=(0,He.Z)(Object.assign(Object.assign({},Me),{multiple:de,hasFeedback:Er,feedbackIcon:or,showSuffixIcon:wn,prefixCls:Mn,componentName:"Select"})),Ir=un===!0?{clearIcon:qn}:un,sr=(0,be.Z)(Me,["suffixIcon","itemIcon"]),jn=le()(On||wt,{[`${Mn}-dropdown-${Cn}`]:Cn==="rtl"},Nt,Et,qt,bn),$r=(0,nt.Z)(Yr=>{var Wn;return(Wn=on!=null?on:sn)!==null&&Wn!==void 0?Wn:Yr}),Jr=b.useContext(Fe.Z),Gr=it!=null?it:Jr,la=le()({[`${Mn}-lg`]:$r==="large",[`${Mn}-sm`]:$r==="small",[`${Mn}-rtl`]:Cn==="rtl",[`${Mn}-${xn}`]:Lt,[`${Mn}-in-form-item`]:Sr},(0,Re.Z)(Mn,wr,Er),An,fn.className,Rt,Nt,Et,qt,bn),Hr=b.useMemo(()=>Ee!==void 0?Ee:Cn==="rtl"?"bottomRight":"bottomLeft",[Ee,Cn]),[fa]=(0,fe.Cn)("SelectLike",me==null?void 0:me.zIndex);return zt(b.createElement(pe.ZP,Object.assign({ref:ut,virtual:Ct,showSearch:fn.showSearch},sr,{style:Object.assign(Object.assign({},fn.style),vn),dropdownMatchSelectWidth:Un,transitionName:(0,we.m)(Dn,"slide-up",ce),builtinPlacements:(0,Ve.Z)(Rn,$t),listHeight:$e,listItemHeight:Bt,mode:ft,prefixCls:Mn,placement:Hr,direction:Cn,prefix:ge,suffixIcon:Kn,menuItemSelectedIcon:ir,removeIcon:br,allowClear:Ir,notFoundContent:St,className:la,getPopupContainer:Kt||ot,dropdownClassName:jn,disabled:Gr,dropdownStyle:Object.assign(Object.assign({},me),{zIndex:fa}),maxCount:de?Ue:void 0,tagRender:de?Te:void 0})))},rt=b.forwardRef(gt),It=(0,Oe.Z)(rt,"dropdownAlign");rt.SECRET_COMBOBOX_MODE_DO_NOT_USE=tt,rt.Option=pe.Wx,rt.OptGroup=pe.Xo,rt._InternalPanelDoNotUseOrYouWillBeFired=It,ae.default=rt},1722:function(Ce,ae){"use strict";const y=he=>{const pe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:he==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},pe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},pe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},pe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},pe),{points:["br","tr"],offset:[0,-4]})}};function b(he,le){return he||y(le)}ae.Z=b},90376:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return _t}});var b=y(63356),he=y(56119),le=y(16931),pe=y(51636),be=y(46e3),fe=y(93873);const we=Ke=>{const{optionHeight:Rt,optionFontSize:Nt,optionLineHeight:Kt,optionPadding:On}=Ke;return{position:"relative",display:"block",minHeight:Rt,padding:On,color:Ke.colorText,fontWeight:"normal",fontSize:Nt,lineHeight:Kt,boxSizing:"border-box"}};var Re=Ke=>{const{antCls:Rt,componentCls:Nt}=Ke,Kt=`${Nt}-item`,On=`&${Rt}-slide-up-enter${Rt}-slide-up-enter-active`,wt=`&${Rt}-slide-up-appear${Rt}-slide-up-appear-active`,$e=`&${Rt}-slide-up-leave${Rt}-slide-up-leave-active`,Ee=`${Nt}-dropdown-placement-`,en=`${Kt}-option-selected`;return[{[`${Nt}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(Ke)),{position:"absolute",top:-9999,zIndex:Ke.zIndexPopup,boxSizing:"border-box",padding:Ke.paddingXXS,overflow:"hidden",fontSize:Ke.fontSize,fontVariant:"initial",backgroundColor:Ke.colorBgElevated,borderRadius:Ke.borderRadiusLG,outline:"none",boxShadow:Ke.boxShadowSecondary,[` - ${On}${Ee}bottomLeft, - ${wt}${Ee}bottomLeft + ${pt}-handler-up-disabled:hover &-handler-up-inner, + ${pt}-handler-down-disabled:hover &-handler-down-inner + `]:{color:Hr}})}]},ln=Ct=>{const{componentCls:pt,paddingBlock:de,paddingInline:qt,inputAffixPadding:Dn,controlWidth:mn,borderRadiusLG:vr,borderRadiusSM:yr,paddingInlineLG:ar,paddingInlineSM:Er,paddingBlockLG:wt,paddingBlockSM:Qn,motionDurationMid:lr}=Ct;return{[`${pt}-affix-wrapper`]:Object.assign(Object.assign({[`input${pt}-input`]:{padding:`${(0,$t.unit)(de)} 0`}},(0,gt.ik)(Ct)),{position:"relative",display:"inline-flex",alignItems:"center",width:mn,padding:0,paddingInlineStart:qt,"&-lg":{borderRadius:vr,paddingInlineStart:ar,[`input${pt}-input`]:{padding:`${(0,$t.unit)(wt)} 0`}},"&-sm":{borderRadius:yr,paddingInlineStart:Er,[`input${pt}-input`]:{padding:`${(0,$t.unit)(Qn)} 0`}},[`&:not(${pt}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${pt}-disabled`]:{background:"transparent"},[`> div${pt}`]:{width:"100%",border:"none",outline:"none",[`&${pt}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${pt}-handler-wrap`]:{zIndex:2},[pt]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Dn},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:qt,marginInlineStart:Dn,transition:`margin ${lr}`}},[`&:hover ${pt}-handler-wrap, &-focused ${pt}-handler-wrap`]:{width:Ct.handleWidth,opacity:1},[`&:not(${pt}-affix-wrapper-without-controls):hover ${pt}-suffix`]:{marginInlineEnd:Ct.calc(Ct.handleWidth).add(qt).equal()}})}};var In=(0,pn.I$)("InputNumber",Ct=>{const pt=(0,fn.mergeToken)(Ct,(0,yt.e)(Ct));return[wn(pt),ln(pt),(0,Wt.c)(pt)]},Ln,{unitless:{handleOpacity:!0}}),xn=function(Ct,pt){var de={};for(var qt in Ct)Object.prototype.hasOwnProperty.call(Ct,qt)&&pt.indexOf(qt)<0&&(de[qt]=Ct[qt]);if(Ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dn=0,qt=Object.getOwnPropertySymbols(Ct);Dn{const{getPrefixCls:de,direction:qt}=b.useContext(De.E_),Dn=b.useRef(null);b.useImperativeHandle(pt,()=>Dn.current);const{className:mn,rootClassName:vr,size:yr,disabled:ar,prefixCls:Er,addonBefore:wt,addonAfter:Qn,prefix:lr,suffix:cr,bordered:Yn,readOnly:Sr,status:br,controls:Nr,variant:Jr}=Ct,$r=xn(Ct,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),Ur=de("input-number",Er),aa=(0,Te.Z)(Ur),[Hr,pa,ea]=In(Ur,aa),{compactSize:jn,compactItemClassnames:sr}=(0,ct.ri)(Ur,qt);let Kr=b.createElement(le.Z,{className:`${Ur}-handler-up-inner`}),zr=b.createElement(me.Z,{className:`${Ur}-handler-down-inner`});const ve=typeof Nr=="boolean"?Nr:void 0;typeof Nr=="object"&&(Kr=typeof Nr.upIcon=="undefined"?Kr:b.createElement("span",{className:`${Ur}-handler-up-inner`},Nr.upIcon),zr=typeof Nr.downIcon=="undefined"?zr:b.createElement("span",{className:`${Ur}-handler-down-inner`},Nr.downIcon));const{hasFeedback:Ie,status:ut,isFormItemInput:Le,feedbackIcon:He}=b.useContext(ge.aM),Vt=(0,un.F)(ut,br),et=(0,je.Z)(Bt=>{var rr;return(rr=yr!=null?yr:jn)!==null&&rr!==void 0?rr:Bt}),en=b.useContext(ce.Z),cn=ar!=null?ar:en,[Xt,an]=(0,Pe.Z)("inputNumber",Jr,Yn),Kt=Ie&&b.createElement(b.Fragment,null,He),nn=be()({[`${Ur}-lg`]:et==="large",[`${Ur}-sm`]:et==="small",[`${Ur}-rtl`]:qt==="rtl",[`${Ur}-in-form-item`]:Le},pa),rt=`${Ur}-group`,Jn=b.createElement(Ht,Object.assign({ref:Dn,disabled:cn,className:be()(ea,aa,mn,vr,sr),upHandler:Kr,downHandler:zr,prefixCls:Ur,readOnly:Sr,controls:ve,prefix:lr,suffix:Kt||cr,addonBefore:wt&&b.createElement(gn.Z,{form:!0,space:!0},wt),addonAfter:Qn&&b.createElement(gn.Z,{form:!0,space:!0},Qn),classNames:{input:nn,variant:be()({[`${Ur}-${Xt}`]:an},(0,un.Z)(Ur,Vt,Ie)),affixWrapper:be()({[`${Ur}-affix-wrapper-sm`]:et==="small",[`${Ur}-affix-wrapper-lg`]:et==="large",[`${Ur}-affix-wrapper-rtl`]:qt==="rtl",[`${Ur}-affix-wrapper-without-controls`]:Nr===!1||cn},pa),wrapper:be()({[`${rt}-rtl`]:qt==="rtl"},pa),groupWrapper:be()({[`${Ur}-group-wrapper-sm`]:et==="small",[`${Ur}-group-wrapper-lg`]:et==="large",[`${Ur}-group-wrapper-rtl`]:qt==="rtl",[`${Ur}-group-wrapper-${Xt}`]:an},(0,un.Z)(`${Ur}-group-wrapper`,Vt,Ie),pa)}},$r));return Hr(Jn)}),Yt=kt,Ft=Ct=>b.createElement(he.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},b.createElement(kt,Object.assign({},Ct)));Yt._InternalPanelDoNotUseOrYouWillBeFired=Ft;var vn=Yt},49397:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return ze}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(36901),be=y(8654),fe=y(62487),we=y(86013),Oe=y(82855),Re=y(48755),xe=y(2171),Ge=y(83397),Fe=y(31756),At=y(56553),at=y(24971),tt=y(70045),Je=y(23826),We=y(53075);function Ve(_e){return!!(_e.prefix||_e.suffix||_e.allowClear||_e.showCount)}var Ze=function(_e,$e){var nt={};for(var bt in _e)Object.prototype.hasOwnProperty.call(_e,bt)&&$e.indexOf(bt)<0&&(nt[bt]=_e[bt]);if(_e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,bt=Object.getOwnPropertySymbols(_e);it{const{prefixCls:nt,bordered:bt=!0,status:it,size:Nt,disabled:vt,onBlur:dt,onFocus:It,suffix:St,allowClear:qe,addonAfter:Jt,addonBefore:Rt,className:Zt,style:Tn,styles:Tt,rootClassName:Ye,onChange:Se,classNames:Qt,variant:on}=_e,st=Ze(_e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ut,direction:Gt,allowClear:On,autoComplete:ft,className:En,style:Ht,classNames:gn,styles:un}=(0,Re.dj)("input"),De=Ut("input",nt),he=(0,b.useRef)(null),ce=(0,Ge.Z)(De),[Te,je,ge]=(0,We.TI)(De,Ye),[Pe]=(0,We.ZP)(De,ce),{compactSize:ct,compactItemClassnames:$t}=(0,tt.ri)(De,Gt),gt=(0,Fe.Z)(vn=>{var Ct;return(Ct=Nt!=null?Nt:ct)!==null&&Ct!==void 0?Ct:vn}),yt=b.useContext(xe.Z),Dt=vt!=null?vt:yt,{status:Pt,hasFeedback:Wt,feedbackIcon:pn}=(0,b.useContext)(At.aM),fn=(0,Oe.F)(Pt,it),Mt=Ve(_e)||!!Wt,Ln=(0,b.useRef)(Mt),kn=(0,Je.Z)(he,!0),wn=vn=>{kn(),dt==null||dt(vn)},ln=vn=>{kn(),It==null||It(vn)},In=vn=>{kn(),Se==null||Se(vn)},xn=(Wt||St)&&b.createElement(b.Fragment,null,St,Wt&&pn),kt=(0,we.Z)(qe!=null?qe:On),[Yt,Ft]=(0,at.Z)("input",on,bt);return Te(Pe(b.createElement(pe.default,Object.assign({ref:(0,be.sQ)($e,he),prefixCls:De,autoComplete:ft},st,{disabled:Dt,onBlur:wn,onFocus:ln,style:Object.assign(Object.assign({},Ht),Tn),styles:Object.assign(Object.assign({},un),Tt),suffix:xn,allowClear:kt,className:le()(Zt,Ye,ge,ce,$t,En),onChange:In,addonBefore:Rt&&b.createElement(fe.Z,{form:!0,space:!0},Rt),addonAfter:Jt&&b.createElement(fe.Z,{form:!0,space:!0},Jt),classNames:Object.assign(Object.assign(Object.assign({},Qt),gn),{input:le()({[`${De}-sm`]:gt==="small",[`${De}-lg`]:gt==="large",[`${De}-rtl`]:Gt==="rtl"},Qt==null?void 0:Qt.input,gn.input,je),variant:le()({[`${De}-${Yt}`]:Ft},(0,Oe.Z)(De,fn)),affixWrapper:le()({[`${De}-affix-wrapper-sm`]:gt==="small",[`${De}-affix-wrapper-lg`]:gt==="large",[`${De}-affix-wrapper-rtl`]:Gt==="rtl"},je),wrapper:le()({[`${De}-group-rtl`]:Gt==="rtl"},je),groupWrapper:le()({[`${De}-group-wrapper-sm`]:gt==="small",[`${De}-group-wrapper-lg`]:gt==="large",[`${De}-group-wrapper-rtl`]:Gt==="rtl",[`${De}-group-wrapper-${Yt}`]:Ft},(0,Oe.Z)(`${De}-group-wrapper`,fn,Wt),je)})}))))})},79809:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return $e}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(22711),be=y(86013),fe=y(82855),we=y(48755),Oe=y(2171),Re=y(83397),xe=y(31756),Ge=y(56553),Fe=y(24971),At=y(70045),at=y(30292),tt=y(53075),Je=y(16931),We=y(51636),Ve=y(64910);const Ze=nt=>{const{componentCls:bt,paddingLG:it}=nt,Nt=`${bt}-textarea`;return{[`textarea${bt}`]:{maxWidth:"100%",height:"auto",minHeight:nt.controlHeight,lineHeight:nt.lineHeight,verticalAlign:"bottom",transition:`all ${nt.motionDurationSlow}`,resize:"vertical",[`&${bt}-mouse-active`]:{transition:`all ${nt.motionDurationSlow}, height 0s, width 0s`}},[`${bt}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[Nt]:{position:"relative","&-show-count":{[`> ${bt}`]:{height:"100%"},[`${bt}-data-count`]:{position:"absolute",bottom:nt.calc(nt.fontSize).mul(nt.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:nt.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` + &-allow-clear > ${bt}, + &-affix-wrapper${Nt}-has-feedback ${bt} + `]:{paddingInlineEnd:it},[`&-affix-wrapper${bt}-affix-wrapper`]:{padding:0,[`> textarea${bt}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:nt.calc(nt.controlHeight).sub(nt.calc(nt.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${bt}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${bt}-clear-icon`]:{position:"absolute",insetInlineEnd:nt.paddingInline,insetBlockStart:nt.paddingXS},[`${Nt}-suffix`]:{position:"absolute",top:0,insetInlineEnd:nt.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${bt}-affix-wrapper-sm`]:{[`${bt}-suffix`]:{[`${bt}-clear-icon`]:{insetInlineEnd:nt.paddingInlineSM}}}}}};var Qe=(0,Je.I$)(["Input","TextArea"],nt=>{const bt=(0,We.mergeToken)(nt,(0,Ve.e)(nt));return[Ze(bt)]},Ve.T,{resetFont:!1}),ze=function(nt,bt){var it={};for(var Nt in nt)Object.prototype.hasOwnProperty.call(nt,Nt)&&bt.indexOf(Nt)<0&&(it[Nt]=nt[Nt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vt=0,Nt=Object.getOwnPropertySymbols(nt);vt{var it;const{prefixCls:Nt,bordered:vt=!0,size:dt,disabled:It,status:St,allowClear:qe,classNames:Jt,rootClassName:Rt,className:Zt,style:Tn,styles:Tt,variant:Ye,showCount:Se,onMouseDown:Qt,onResize:on}=nt,st=ze(nt,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ut,direction:Gt,allowClear:On,autoComplete:ft,className:En,style:Ht,classNames:gn,styles:un}=(0,we.dj)("textArea"),De=b.useContext(Oe.Z),he=It!=null?It:De,{status:ce,hasFeedback:Te,feedbackIcon:je}=b.useContext(Ge.aM),ge=(0,fe.F)(ce,St),Pe=b.useRef(null);b.useImperativeHandle(bt,()=>{var Ft;return{resizableTextArea:(Ft=Pe.current)===null||Ft===void 0?void 0:Ft.resizableTextArea,focus:vn=>{var Ct,pt;(0,at.nH)((pt=(Ct=Pe.current)===null||Ct===void 0?void 0:Ct.resizableTextArea)===null||pt===void 0?void 0:pt.textArea,vn)},blur:()=>{var vn;return(vn=Pe.current)===null||vn===void 0?void 0:vn.blur()}}});const ct=Ut("input",Nt),$t=(0,Re.Z)(ct),[gt,yt,Dt]=(0,tt.TI)(ct,Rt),[Pt]=Qe(ct,$t),{compactSize:Wt,compactItemClassnames:pn}=(0,At.ri)(ct,Gt),fn=(0,xe.Z)(Ft=>{var vn;return(vn=dt!=null?dt:Wt)!==null&&vn!==void 0?vn:Ft}),[Mt,Ln]=(0,Fe.Z)("textArea",Ye,vt),kn=(0,be.Z)(qe!=null?qe:On),[wn,ln]=b.useState(!1),[In,xn]=b.useState(!1),kt=Ft=>{ln(!0),Qt==null||Qt(Ft);const vn=()=>{ln(!1),document.removeEventListener("mouseup",vn)};document.addEventListener("mouseup",vn)},Yt=Ft=>{var vn,Ct;if(on==null||on(Ft),wn&&typeof getComputedStyle=="function"){const pt=(Ct=(vn=Pe.current)===null||vn===void 0?void 0:vn.nativeElement)===null||Ct===void 0?void 0:Ct.querySelector("textarea");pt&&getComputedStyle(pt).resize==="both"&&xn(!0)}};return gt(Pt(b.createElement(pe.default,Object.assign({autoComplete:ft},st,{style:Object.assign(Object.assign({},Ht),Tn),styles:Object.assign(Object.assign({},un),Tt),disabled:he,allowClear:kn,className:le()(Dt,$t,Zt,Rt,pn,En,In&&`${ct}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},Jt),gn),{textarea:le()({[`${ct}-sm`]:fn==="small",[`${ct}-lg`]:fn==="large"},yt,Jt==null?void 0:Jt.textarea,gn.textarea,wn&&`${ct}-mouse-active`),variant:le()({[`${ct}-${Mt}`]:Ln},(0,fe.Z)(ct,ge)),affixWrapper:le()(`${ct}-textarea-affix-wrapper`,{[`${ct}-affix-wrapper-rtl`]:Gt==="rtl",[`${ct}-affix-wrapper-sm`]:fn==="small",[`${ct}-affix-wrapper-lg`]:fn==="large",[`${ct}-textarea-show-count`]:Se||((it=nt.count)===null||it===void 0?void 0:it.show)},yt)}),prefixCls:ct,suffix:Te&&b.createElement("span",{className:`${ct}-textarea-suffix`},je),showCount:Se,ref:Pe,onResize:Yt,onMouseDown:kt}))))})},23826:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return me}});var b=y(59301);function me(le,pe){const be=(0,b.useRef)([]),fe=()=>{be.current.push(setTimeout(()=>{var we,Oe,Re,xe;!((we=le.current)===null||we===void 0)&&we.input&&((Oe=le.current)===null||Oe===void 0?void 0:Oe.input.getAttribute("type"))==="password"&&(!((Re=le.current)===null||Re===void 0)&&Re.input.hasAttribute("value"))&&((xe=le.current)===null||xe===void 0||xe.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(pe&&fe(),()=>be.current.forEach(we=>{we&&clearTimeout(we)})),[]),fe}},37568:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return gn}});var b=y(59301),me=y(92310),le=y.n(me),pe=y(48755),be=y(56553),fe=y(53075),Oe=un=>{const{getPrefixCls:De,direction:he}=(0,b.useContext)(pe.E_),{prefixCls:ce,className:Te}=un,je=De("input-group",ce),ge=De("input"),[Pe,ct,$t]=(0,fe.ZP)(ge),gt=le()(je,$t,{[`${je}-lg`]:un.size==="large",[`${je}-sm`]:un.size==="small",[`${je}-compact`]:un.compact,[`${je}-rtl`]:he==="rtl"},ct,Te),yt=(0,b.useContext)(be.aM),Dt=(0,b.useMemo)(()=>Object.assign(Object.assign({},yt),{isFormItemInput:!1}),[yt]);return Pe(b.createElement("span",{className:gt,style:un.style,onMouseEnter:un.onMouseEnter,onMouseLeave:un.onMouseLeave,onFocus:un.onFocus,onBlur:un.onBlur},b.createElement(be.aM.Provider,{value:Dt},un.children)))},Re=y(49397),xe=y(77654),Ge=y(6089),Fe=y(26112),At=y(82855),at=y(31756),tt=y(16931),Je=y(51636),We=y(64910);const Ve=un=>{const{componentCls:De,paddingXS:he}=un;return{[De]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:he,"&-rtl":{direction:"rtl"},[`${De}-input`]:{textAlign:"center",paddingInline:un.paddingXXS},[`&${De}-sm ${De}-input`]:{paddingInline:un.calc(un.paddingXXS).div(2).equal()},[`&${De}-lg ${De}-input`]:{paddingInline:un.paddingXS}}}};var Ze=(0,tt.I$)(["Input","OTP"],un=>{const De=(0,Je.mergeToken)(un,(0,We.e)(un));return[Ve(De)]},We.T),Qe=y(16089),ze=function(un,De){var he={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(he[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te{const{value:he,onChange:ce,onActiveChange:Te,index:je,mask:ge}=un,Pe=ze(un,["value","onChange","onActiveChange","index","mask"]),ct=he&&typeof ge=="string"?ge:he,$t=Wt=>{ce(je,Wt.target.value)},gt=b.useRef(null);b.useImperativeHandle(De,()=>gt.current);const yt=()=>{(0,Qe.Z)(()=>{var Wt;const pn=(Wt=gt.current)===null||Wt===void 0?void 0:Wt.input;document.activeElement===pn&&pn&&pn.select()})},Dt=Wt=>{const{key:pn,ctrlKey:fn,metaKey:Mt}=Wt;pn==="ArrowLeft"?Te(je-1):pn==="ArrowRight"?Te(je+1):pn==="z"&&(fn||Mt)&&Wt.preventDefault(),yt()},Pt=Wt=>{Wt.key==="Backspace"&&!he&&Te(je-1),yt()};return b.createElement(Re.Z,Object.assign({type:ge===!0?"password":"text"},Pe,{ref:gt,value:ct,onInput:$t,onFocus:yt,onKeyDown:Dt,onKeyUp:Pt,onMouseDown:yt,onMouseUp:yt}))}),nt=function(un,De){var he={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(he[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te{const{index:De,prefixCls:he,separator:ce}=un,Te=typeof ce=="function"?ce(De):ce;return Te?b.createElement("span",{className:`${he}-separator`},Te):null};var vt=b.forwardRef((un,De)=>{const{prefixCls:he,length:ce=6,size:Te,defaultValue:je,value:ge,onChange:Pe,formatter:ct,separator:$t,variant:gt,disabled:yt,status:Dt,autoFocus:Pt,mask:Wt,type:pn,onInput:fn,inputMode:Mt}=un,Ln=nt(un,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:kn,direction:wn}=b.useContext(pe.E_),ln=kn("otp",he),In=(0,Fe.Z)(Ln,{aria:!0,data:!0,attr:!0}),[xn,kt,Yt]=Ze(ln),Ft=(0,at.Z)(lr=>Te!=null?Te:lr),vn=b.useContext(be.aM),Ct=(0,At.F)(vn.status,Dt),pt=b.useMemo(()=>Object.assign(Object.assign({},vn),{status:Ct,hasFeedback:!1,feedbackIcon:null}),[vn,Ct]),de=b.useRef(null),qt=b.useRef({});b.useImperativeHandle(De,()=>({focus:()=>{var lr;(lr=qt.current[0])===null||lr===void 0||lr.focus()},blur:()=>{var lr;for(let cr=0;crct?ct(lr):lr,[mn,vr]=b.useState(()=>bt(Dn(je||"")));b.useEffect(()=>{ge!==void 0&&vr(bt(ge))},[ge]);const yr=(0,Ge.Z)(lr=>{vr(lr),fn&&fn(lr),Pe&&lr.length===ce&&lr.every(cr=>cr)&&lr.some((cr,Yn)=>mn[Yn]!==cr)&&Pe(lr.join(""))}),ar=(0,Ge.Z)((lr,cr)=>{let Yn=(0,xe.Z)(mn);for(let br=0;br=0&&!Yn[br];br-=1)Yn.pop();const Sr=Dn(Yn.map(br=>br||" ").join(""));return Yn=bt(Sr).map((br,Nr)=>br===" "&&!Yn[Nr]?Yn[Nr]:br),Yn}),Er=(lr,cr)=>{var Yn;const Sr=ar(lr,cr),br=Math.min(lr+cr.length,ce-1);br!==lr&&Sr[lr]!==void 0&&((Yn=qt.current[br])===null||Yn===void 0||Yn.focus()),yr(Sr)},wt=lr=>{var cr;(cr=qt.current[lr])===null||cr===void 0||cr.focus()},Qn={variant:gt,disabled:yt,status:Ct,mask:Wt,type:pn,inputMode:Mt};return xn(b.createElement("div",Object.assign({},In,{ref:de,className:le()(ln,{[`${ln}-sm`]:Ft==="small",[`${ln}-lg`]:Ft==="large",[`${ln}-rtl`]:wn==="rtl"},Yt,kt)}),b.createElement(be.aM.Provider,{value:pt},Array.from({length:ce}).map((lr,cr)=>{const Yn=`otp-${cr}`,Sr=mn[cr]||"";return b.createElement(b.Fragment,{key:Yn},b.createElement($e,Object.assign({ref:br=>{qt.current[cr]=br},index:cr,size:Ft,htmlSize:1,className:`${ln}-input`,onChange:Er,value:Sr,onActiveChange:wt,autoFocus:cr===0&&Pt},Qn)),crun?b.createElement(It.Z,null):b.createElement(dt.Z,null),Tt={click:"onClick",hover:"onMouseOver"};var Se=b.forwardRef((un,De)=>{const{disabled:he,action:ce="click",visibilityToggle:Te=!0,iconRender:je=Tn}=un,ge=b.useContext(Jt.Z),Pe=he!=null?he:ge,ct=typeof Te=="object"&&Te.visible!==void 0,[$t,gt]=(0,b.useState)(()=>ct?Te.visible:!1),yt=(0,b.useRef)(null);b.useEffect(()=>{ct&>(Te.visible)},[ct,Te]);const Dt=(0,Rt.Z)(yt),Pt=()=>{var Ft;if(Pe)return;$t&&Dt();const vn=!$t;gt(vn),typeof Te=="object"&&((Ft=Te.onVisibleChange)===null||Ft===void 0||Ft.call(Te,vn))},Wt=Ft=>{const vn=Tt[ce]||"",Ct=je($t),pt={[vn]:Pt,className:`${Ft}-icon`,key:"passwordIcon",onMouseDown:de=>{de.preventDefault()},onMouseUp:de=>{de.preventDefault()}};return b.cloneElement(b.isValidElement(Ct)?Ct:b.createElement("span",null,Ct),pt)},{className:pn,prefixCls:fn,inputPrefixCls:Mt,size:Ln}=un,kn=Zt(un,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:wn}=b.useContext(pe.E_),ln=wn("input",Mt),In=wn("input-password",fn),xn=Te&&Wt(In),kt=le()(In,pn,{[`${In}-${Ln}`]:!!Ln}),Yt=Object.assign(Object.assign({},(0,St.Z)(kn,["suffix","iconRender","visibilityToggle"])),{type:$t?"text":"password",className:kt,prefixCls:ln,suffix:xn});return Ln&&(Yt.size=Ln),b.createElement(Re.Z,Object.assign({ref:(0,qe.sQ)(De,yt)},Yt))}),Qt=y(47472),on=y(22703),st=y(7939),Ut=y(70045),Gt=function(un,De){var he={};for(var ce in un)Object.prototype.hasOwnProperty.call(un,ce)&&De.indexOf(ce)<0&&(he[ce]=un[ce]);if(un!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,ce=Object.getOwnPropertySymbols(un);Te{const{prefixCls:he,inputPrefixCls:ce,className:Te,size:je,suffix:ge,enterButton:Pe=!1,addonAfter:ct,loading:$t,disabled:gt,onSearch:yt,onChange:Dt,onCompositionStart:Pt,onCompositionEnd:Wt}=un,pn=Gt(un,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:fn,direction:Mt}=b.useContext(pe.E_),Ln=b.useRef(!1),kn=fn("input-search",he),wn=fn("input",ce),{compactSize:ln}=(0,Ut.ri)(kn,Mt),In=(0,at.Z)(Er=>{var wt;return(wt=je!=null?je:ln)!==null&&wt!==void 0?wt:Er}),xn=b.useRef(null),kt=Er=>{Er!=null&&Er.target&&Er.type==="click"&&yt&&yt(Er.target.value,Er,{source:"clear"}),Dt==null||Dt(Er)},Yt=Er=>{var wt;document.activeElement===((wt=xn.current)===null||wt===void 0?void 0:wt.input)&&Er.preventDefault()},Ft=Er=>{var wt,Qn;yt&&yt((Qn=(wt=xn.current)===null||wt===void 0?void 0:wt.input)===null||Qn===void 0?void 0:Qn.value,Er,{source:"input"})},vn=Er=>{Ln.current||$t||Ft(Er)},Ct=typeof Pe=="boolean"?b.createElement(Qt.Z,null):null,pt=`${kn}-button`;let de;const qt=Pe||{},Dn=qt.type&&qt.type.__ANT_BUTTON===!0;Dn||qt.type==="button"?de=(0,on.Tm)(qt,Object.assign({onMouseDown:Yt,onClick:Er=>{var wt,Qn;(Qn=(wt=qt==null?void 0:qt.props)===null||wt===void 0?void 0:wt.onClick)===null||Qn===void 0||Qn.call(wt,Er),Ft(Er)},key:"enterButton"},Dn?{className:pt,size:In}:{})):de=b.createElement(st.ZP,{className:pt,type:Pe?"primary":void 0,size:In,disabled:gt,key:"enterButton",onMouseDown:Yt,onClick:Ft,loading:$t,icon:Ct},Pe),ct&&(de=[de,(0,on.Tm)(ct,{key:"addonAfter"})]);const mn=le()(kn,{[`${kn}-rtl`]:Mt==="rtl",[`${kn}-${In}`]:!!In,[`${kn}-with-button`]:!!Pe},Te),vr=Object.assign(Object.assign({},pn),{className:mn,prefixCls:wn,type:"search"}),yr=Er=>{Ln.current=!0,Pt==null||Pt(Er)},ar=Er=>{Ln.current=!1,Wt==null||Wt(Er)};return b.createElement(Re.Z,Object.assign({ref:(0,qe.sQ)(xn,De),onPressEnter:vn},vr,{size:In,onCompositionStart:yr,onCompositionEnd:ar,addonAfter:de,suffix:ge,onChange:kt,disabled:gt}))}),En=y(79809);const Ht=Re.Z;Ht.Group=Oe,Ht.Search=ft,Ht.TextArea=En.Z,Ht.Password=Se,Ht.OTP=vt;var gn=Ht},24303:function(Ce,ae,y){"use strict";y.d(ae,{D:function(){return nt},Z:function(){return Nt}});var b=y(59301),me=y(60499),le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},pe=le,be=y(7657),fe=function(dt,It){return b.createElement(be.Z,(0,me.Z)({},dt,{ref:It,icon:pe}))},we=b.forwardRef(fe),Oe=we,Re=y(33853),xe=y(38819),Ge=y(92310),Fe=y.n(Ge),At=y(2738),at=y(48755),tt=y(6989),Je=y(36237),We=y(48923),Ve=y(16931);const Ze=vt=>{const{componentCls:dt,siderBg:It,motionDurationMid:St,motionDurationSlow:qe,antCls:Jt,triggerHeight:Rt,triggerColor:Zt,triggerBg:Tn,headerHeight:Tt,zeroTriggerWidth:Ye,zeroTriggerHeight:Se,borderRadiusLG:Qt,lightSiderBg:on,lightTriggerColor:st,lightTriggerBg:Ut,bodyBg:Gt}=vt;return{[dt]:{position:"relative",minWidth:0,background:It,transition:`all ${St}, background 0s`,"&-has-trigger":{paddingBottom:Rt},"&-right":{order:1},[`${dt}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${Jt}-menu${Jt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${dt}-children`]:{overflow:"hidden"},[`${dt}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Rt,color:Zt,lineHeight:(0,Je.unit)(Rt),textAlign:"center",background:Tn,cursor:"pointer",transition:`all ${St}`},[`${dt}-zero-width-trigger`]:{position:"absolute",top:Tt,insetInlineEnd:vt.calc(Ye).mul(-1).equal(),zIndex:1,width:Ye,height:Se,color:Zt,fontSize:vt.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:It,borderRadius:`0 ${(0,Je.unit)(Qt)} ${(0,Je.unit)(Qt)} 0`,cursor:"pointer",transition:`background ${qe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${qe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:vt.calc(Ye).mul(-1).equal(),borderRadius:`${(0,Je.unit)(Qt)} 0 0 ${(0,Je.unit)(Qt)}`}},"&-light":{background:on,[`${dt}-trigger`]:{color:st,background:Ut},[`${dt}-zero-width-trigger`]:{color:st,background:Ut,border:`1px solid ${Gt}`,borderInlineStart:0}}}}};var Qe=(0,Ve.I$)(["Layout","Sider"],vt=>[Ze(vt)],We.eh,{deprecatedTokens:We.jn}),ze=function(vt,dt){var It={};for(var St in vt)Object.prototype.hasOwnProperty.call(vt,St)&&dt.indexOf(St)<0&&(It[St]=vt[St]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,St=Object.getOwnPropertySymbols(vt);qe!Number.isNaN(Number.parseFloat(vt))&&isFinite(vt),nt=b.createContext({}),bt=(()=>{let vt=0;return function(){let dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return vt+=1,`${dt}${vt}`}})();var Nt=b.forwardRef((vt,dt)=>{const{prefixCls:It,className:St,trigger:qe,children:Jt,defaultCollapsed:Rt=!1,theme:Zt="dark",style:Tn={},collapsible:Tt=!1,reverseArrow:Ye=!1,width:Se=200,collapsedWidth:Qt=80,zeroWidthTriggerStyle:on,breakpoint:st,onCollapse:Ut,onBreakpoint:Gt}=vt,On=ze(vt,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ft}=(0,b.useContext)(tt.V),[En,Ht]=(0,b.useState)("collapsed"in vt?vt.collapsed:Rt),[gn,un]=(0,b.useState)(!1);(0,b.useEffect)(()=>{"collapsed"in vt&&Ht(vt.collapsed)},[vt.collapsed]);const De=(In,xn)=>{"collapsed"in vt||Ht(In),Ut==null||Ut(In,xn)},{getPrefixCls:he,direction:ce}=(0,b.useContext)(at.E_),Te=he("layout-sider",It),[je,ge,Pe]=Qe(Te),ct=(0,b.useRef)(null);ct.current=In=>{un(In.matches),Gt==null||Gt(In.matches),En!==In.matches&&De(In.matches,"responsive")},(0,b.useEffect)(()=>{function In(kt){return ct.current(kt)}let xn;if(typeof window!="undefined"){const{matchMedia:kt}=window;if(kt&&st&&st in _e){xn=kt(`screen and (max-width: ${_e[st]})`);try{xn.addEventListener("change",In)}catch(Yt){xn.addListener(In)}In(xn)}}return()=>{try{xn==null||xn.removeEventListener("change",In)}catch(kt){xn==null||xn.removeListener(In)}}},[st]),(0,b.useEffect)(()=>{const In=bt("ant-sider-");return ft.addSider(In),()=>ft.removeSider(In)},[]);const $t=()=>{De(!En,"clickTrigger")},gt=(0,At.Z)(On,["collapsed"]),yt=En?Qt:Se,Dt=$e(yt)?`${yt}px`:String(yt),Pt=parseFloat(String(Qt||0))===0?b.createElement("span",{onClick:$t,className:Fe()(`${Te}-zero-width-trigger`,`${Te}-zero-width-trigger-${Ye?"right":"left"}`),style:on},qe||b.createElement(Oe,null)):null,Wt=ce==="rtl"==!Ye,Mt={expanded:Wt?b.createElement(xe.Z,null):b.createElement(Re.Z,null),collapsed:Wt?b.createElement(Re.Z,null):b.createElement(xe.Z,null)}[En?"collapsed":"expanded"],Ln=qe!==null?Pt||b.createElement("div",{className:`${Te}-trigger`,onClick:$t,style:{width:Dt}},qe||Mt):null,kn=Object.assign(Object.assign({},Tn),{flex:`0 0 ${Dt}`,maxWidth:Dt,minWidth:Dt,width:Dt}),wn=Fe()(Te,`${Te}-${Zt}`,{[`${Te}-collapsed`]:!!En,[`${Te}-has-trigger`]:Tt&&qe!==null&&!Pt,[`${Te}-below`]:!!gn,[`${Te}-zero-width`]:parseFloat(Dt)===0},St,ge,Pe),ln=b.useMemo(()=>({siderCollapsed:En}),[En]);return je(b.createElement(nt.Provider,{value:ln},b.createElement("aside",Object.assign({className:wn},gt,{style:kn,ref:dt}),b.createElement("div",{className:`${Te}-children`},Jt),Tt||gn&&Pt?Ln:null)))})},6989:function(Ce,ae,y){"use strict";y.d(ae,{V:function(){return me}});var b=y(59301);const me=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(Ce,ae,y){"use strict";y.d(ae,{eh:function(){return pe},jn:function(){return be}});var b=y(36237),me=y(16931);const le=fe=>{const{antCls:we,componentCls:Oe,colorText:Re,footerBg:xe,headerHeight:Ge,headerPadding:Fe,headerColor:At,footerPadding:at,fontSize:tt,bodyBg:Je,headerBg:We}=fe;return{[Oe]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Je,"&, *":{boxSizing:"border-box"},[`&${Oe}-has-sider`]:{flexDirection:"row",[`> ${Oe}, > ${Oe}-content`]:{width:0}},[`${Oe}-header, &${Oe}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${Oe}-header`]:{height:Ge,padding:Fe,color:At,lineHeight:(0,b.unit)(Ge),background:We,[`${we}-menu`]:{lineHeight:"inherit"}},[`${Oe}-footer`]:{padding:at,color:Re,fontSize:tt,background:xe},[`${Oe}-content`]:{flex:"auto",color:Re,minHeight:0}}},pe=fe=>{const{colorBgLayout:we,controlHeight:Oe,controlHeightLG:Re,colorText:xe,controlHeightSM:Ge,marginXXS:Fe,colorTextLightSolid:At,colorBgContainer:at}=fe,tt=Re*1.25;return{colorBgHeader:"#001529",colorBgBody:we,colorBgTrigger:"#002140",bodyBg:we,headerBg:"#001529",headerHeight:Oe*2,headerPadding:`0 ${tt}px`,headerColor:xe,footerPadding:`${Ge}px ${tt}px`,footerBg:we,siderBg:"#001529",triggerHeight:Re+Fe*2,triggerBg:"#002140",triggerColor:At,zeroTriggerWidth:Re,zeroTriggerHeight:Re,lightSiderBg:at,lightTriggerBg:at,lightTriggerColor:xe}},be=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];ae.ZP=(0,me.I$)("Layout",fe=>[le(fe)],pe,{deprecatedTokens:be})},78857:function(Ce,ae,y){"use strict";y.d(ae,{J:function(){return fe}});var b=y(59301),me=y(8654),le=y(62487),pe=function(we,Oe){var Re={};for(var xe in we)Object.prototype.hasOwnProperty.call(we,xe)&&Oe.indexOf(xe)<0&&(Re[xe]=we[xe]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,xe=Object.getOwnPropertySymbols(we);Ge{const{children:Re}=we,xe=pe(we,["children"]),Ge=b.useContext(be),Fe=b.useMemo(()=>Object.assign(Object.assign({},Ge),xe),[Ge,xe.prefixCls,xe.mode,xe.selectable,xe.rootClassName]),At=(0,me.t4)(Re),at=(0,me.x1)(Oe,At?(0,me.C4)(Re):null);return b.createElement(be.Provider,{value:Fe},b.createElement(le.Z,{space:!0},At?b.cloneElement(Re,{ref:at}):Re))});ae.Z=be},93041:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return je}});var b=y(59301),me=y(28321),le=y(24303),pe=y(18785),be=y(92310),fe=y.n(be),we=y(6089),Oe=y(2738),Re=y(86641),xe=y(22703),Ge=y(48755),Fe=y(83397),at=(0,b.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),tt=function(ge,Pe){var ct={};for(var $t in ge)Object.prototype.hasOwnProperty.call(ge,$t)&&Pe.indexOf($t)<0&&(ct[$t]=ge[$t]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,$t=Object.getOwnPropertySymbols(ge);gt<$t.length;gt++)Pe.indexOf($t[gt])<0&&Object.prototype.propertyIsEnumerable.call(ge,$t[gt])&&(ct[$t[gt]]=ge[$t[gt]]);return ct},We=ge=>{const{prefixCls:Pe,className:ct,dashed:$t}=ge,gt=tt(ge,["prefixCls","className","dashed"]),{getPrefixCls:yt}=b.useContext(Ge.E_),Dt=yt("menu",Pe),Pt=fe()({[`${Dt}-item-divider-dashed`]:!!$t},ct);return b.createElement(me.iz,Object.assign({className:Pt},gt))},Ve=y(11592),Ze=y(25399),ze=ge=>{var Pe;const{className:ct,children:$t,icon:gt,title:yt,danger:Dt,extra:Pt}=ge,{prefixCls:Wt,firstLevel:pn,direction:fn,disableMenuItemTitleTooltip:Mt,inlineCollapsed:Ln}=b.useContext(at),kn=Yt=>{const Ft=$t==null?void 0:$t[0],vn=b.createElement("span",{className:fe()(`${Wt}-title-content`,{[`${Wt}-title-content-with-extra`]:!!Pt||Pt===0})},$t);return(!gt||b.isValidElement($t)&&$t.type==="span")&&$t&&Yt&&pn&&typeof Ft=="string"?b.createElement("div",{className:`${Wt}-inline-collapsed-noicon`},Ft.charAt(0)):vn},{siderCollapsed:wn}=b.useContext(le.D);let ln=yt;typeof yt=="undefined"?ln=pn?$t:"":yt===!1&&(ln="");const In={title:ln};!wn&&!Ln&&(In.title=null,In.open=!1);const xn=(0,Ve.Z)($t).length;let kt=b.createElement(me.ck,Object.assign({},(0,Oe.Z)(ge,["title","icon","danger"]),{className:fe()({[`${Wt}-item-danger`]:Dt,[`${Wt}-item-only-child`]:(gt?xn+1:xn)===1},ct),title:typeof yt=="string"?yt:void 0}),(0,xe.Tm)(gt,{className:fe()(b.isValidElement(gt)?(Pe=gt.props)===null||Pe===void 0?void 0:Pe.className:"",`${Wt}-item-icon`)}),kn(Ln));return Mt||(kt=b.createElement(Ze.Z,Object.assign({},In,{placement:fn==="rtl"?"left":"right",classNames:{root:`${Wt}-inline-collapsed-tooltip`}}),kt)),kt},_e=y(78857),$e=y(36237),nt=y(17835),bt=y(63356),it=y(34961),Nt=y(46e3),vt=y(34925),dt=y(16931),It=y(51636),qe=ge=>{const{componentCls:Pe,motionDurationSlow:ct,horizontalLineHeight:$t,colorSplit:gt,lineWidth:yt,lineType:Dt,itemPaddingInline:Pt}=ge;return{[`${Pe}-horizontal`]:{lineHeight:$t,border:0,borderBottom:`${(0,$e.unit)(yt)} ${Dt} ${gt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Pe}-item, ${Pe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Pt},[`> ${Pe}-item:hover, + > ${Pe}-item-active, + > ${Pe}-submenu ${Pe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Pe}-item, ${Pe}-submenu-title`]:{transition:[`border-color ${ct}`,`background ${ct}`].join(",")},[`${Pe}-submenu-arrow`]:{display:"none"}}}},Rt=ge=>{let{componentCls:Pe,menuArrowOffset:ct,calc:$t}=ge;return{[`${Pe}-rtl`]:{direction:"rtl"},[`${Pe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Pe}-rtl${Pe}-vertical, + ${Pe}-submenu-rtl ${Pe}-vertical`]:{[`${Pe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,$e.unit)($t(ct).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,$e.unit)(ct)})`}}}}};const Zt=ge=>Object.assign({},(0,bt.oN)(ge));var Tt=(ge,Pe)=>{const{componentCls:ct,itemColor:$t,itemSelectedColor:gt,subMenuItemSelectedColor:yt,groupTitleColor:Dt,itemBg:Pt,subMenuItemBg:Wt,itemSelectedBg:pn,activeBarHeight:fn,activeBarWidth:Mt,activeBarBorderWidth:Ln,motionDurationSlow:kn,motionEaseInOut:wn,motionEaseOut:ln,itemPaddingInline:In,motionDurationMid:xn,itemHoverColor:kt,lineType:Yt,colorSplit:Ft,itemDisabledColor:vn,dangerItemColor:Ct,dangerItemHoverColor:pt,dangerItemSelectedColor:de,dangerItemActiveBg:qt,dangerItemSelectedBg:Dn,popupBg:mn,itemHoverBg:vr,itemActiveBg:yr,menuSubMenuBg:ar,horizontalItemSelectedColor:Er,horizontalItemSelectedBg:wt,horizontalItemBorderRadius:Qn,horizontalItemHoverBg:lr}=ge;return{[`${ct}-${Pe}, ${ct}-${Pe} > ${ct}`]:{color:$t,background:Pt,[`&${ct}-root:focus-visible`]:Object.assign({},Zt(ge)),[`${ct}-item`]:{"&-group-title, &-extra":{color:Dt}},[`${ct}-submenu-selected > ${ct}-submenu-title`]:{color:yt},[`${ct}-item, ${ct}-submenu-title`]:{color:$t,[`&:not(${ct}-item-disabled):focus-visible`]:Object.assign({},Zt(ge))},[`${ct}-item-disabled, ${ct}-submenu-disabled`]:{color:`${vn} !important`},[`${ct}-item:not(${ct}-item-selected):not(${ct}-submenu-selected)`]:{[`&:hover, > ${ct}-submenu-title:hover`]:{color:kt}},[`&:not(${ct}-horizontal)`]:{[`${ct}-item:not(${ct}-item-selected)`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:yr}},[`${ct}-submenu-title`]:{"&:hover":{backgroundColor:vr},"&:active":{backgroundColor:yr}}},[`${ct}-item-danger`]:{color:Ct,[`&${ct}-item:hover`]:{[`&:not(${ct}-item-selected):not(${ct}-submenu-selected)`]:{color:pt}},[`&${ct}-item:active`]:{background:qt}},[`${ct}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ct}-item-selected`]:{color:gt,[`&${ct}-item-danger`]:{color:de},"a, a:hover":{color:"inherit"}},[`& ${ct}-item-selected`]:{backgroundColor:pn,[`&${ct}-item-danger`]:{backgroundColor:Dn}},[`&${ct}-submenu > ${ct}`]:{backgroundColor:ar},[`&${ct}-popup > ${ct}`]:{backgroundColor:mn},[`&${ct}-submenu-popup > ${ct}`]:{backgroundColor:mn},[`&${ct}-horizontal`]:Object.assign(Object.assign({},Pe==="dark"?{borderBottom:0}:{}),{[`> ${ct}-item, > ${ct}-submenu`]:{top:Ln,marginTop:ge.calc(Ln).mul(-1).equal(),marginBottom:0,borderRadius:Qn,"&::after":{position:"absolute",insetInline:In,bottom:0,borderBottom:`${(0,$e.unit)(fn)} solid transparent`,transition:`border-color ${kn} ${wn}`,content:'""'},"&:hover, &-active, &-open":{background:lr,"&::after":{borderBottomWidth:fn,borderBottomColor:Er}},"&-selected":{color:Er,backgroundColor:wt,"&:hover":{backgroundColor:wt},"&::after":{borderBottomWidth:fn,borderBottomColor:Er}}}}),[`&${ct}-root`]:{[`&${ct}-inline, &${ct}-vertical`]:{borderInlineEnd:`${(0,$e.unit)(Ln)} ${Yt} ${Ft}`}},[`&${ct}-inline`]:{[`${ct}-sub${ct}-inline`]:{background:Wt},[`${ct}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,$e.unit)(Mt)} solid ${gt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${xn} ${ln}`,`opacity ${xn} ${ln}`].join(","),content:'""'},[`&${ct}-item-danger`]:{"&::after":{borderInlineEndColor:de}}},[`${ct}-selected, ${ct}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${xn} ${wn}`,`opacity ${xn} ${wn}`].join(",")}}}}}};const Ye=ge=>{const{componentCls:Pe,itemHeight:ct,itemMarginInline:$t,padding:gt,menuArrowSize:yt,marginXS:Dt,itemMarginBlock:Pt,itemWidth:Wt,itemPaddingInline:pn}=ge,fn=ge.calc(yt).add(gt).add(Dt).equal();return{[`${Pe}-item`]:{position:"relative",overflow:"hidden"},[`${Pe}-item, ${Pe}-submenu-title`]:{height:ct,lineHeight:(0,$e.unit)(ct),paddingInline:pn,overflow:"hidden",textOverflow:"ellipsis",marginInline:$t,marginBlock:Pt,width:Wt},[`> ${Pe}-item, + > ${Pe}-submenu > ${Pe}-submenu-title`]:{height:ct,lineHeight:(0,$e.unit)(ct)},[`${Pe}-item-group-list ${Pe}-submenu-title, + ${Pe}-submenu-title`]:{paddingInlineEnd:fn}}};var Qt=ge=>{const{componentCls:Pe,iconCls:ct,itemHeight:$t,colorTextLightSolid:gt,dropdownWidth:yt,controlHeightLG:Dt,motionEaseOut:Pt,paddingXL:Wt,itemMarginInline:pn,fontSizeLG:fn,motionDurationFast:Mt,motionDurationSlow:Ln,paddingXS:kn,boxShadowSecondary:wn,collapsedWidth:ln,collapsedIconSize:In}=ge,xn={height:$t,lineHeight:(0,$e.unit)($t),listStylePosition:"inside",listStyleType:"disc"};return[{[Pe]:{"&-inline, &-vertical":Object.assign({[`&${Pe}-root`]:{boxShadow:"none"}},Ye(ge))},[`${Pe}-submenu-popup`]:{[`${Pe}-vertical`]:Object.assign(Object.assign({},Ye(ge)),{boxShadow:wn})}},{[`${Pe}-submenu-popup ${Pe}-vertical${Pe}-sub`]:{minWidth:yt,maxHeight:`calc(100vh - ${(0,$e.unit)(ge.calc(Dt).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Pe}-inline`]:{width:"100%",[`&${Pe}-root`]:{[`${Pe}-item, ${Pe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ln}`,`background ${Ln}`,`padding ${Mt} ${Pt}`].join(","),[`> ${Pe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Pe}-sub${Pe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Pe}-submenu > ${Pe}-submenu-title`]:xn,[`& ${Pe}-item-group-title`]:{paddingInlineStart:Wt}},[`${Pe}-item`]:xn}},{[`${Pe}-inline-collapsed`]:{width:ln,[`&${Pe}-root`]:{[`${Pe}-item, ${Pe}-submenu ${Pe}-submenu-title`]:{[`> ${Pe}-inline-collapsed-noicon`]:{fontSize:fn,textAlign:"center"}}},[`> ${Pe}-item, + > ${Pe}-item-group > ${Pe}-item-group-list > ${Pe}-item, + > ${Pe}-item-group > ${Pe}-item-group-list > ${Pe}-submenu > ${Pe}-submenu-title, + > ${Pe}-submenu > ${Pe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,$e.unit)(ge.calc(In).div(2).equal())} - ${(0,$e.unit)(pn)})`,textOverflow:"clip",[` + ${Pe}-submenu-arrow, + ${Pe}-submenu-expand-icon + `]:{opacity:0},[`${Pe}-item-icon, ${ct}`]:{margin:0,fontSize:In,lineHeight:(0,$e.unit)($t),"+ span":{display:"inline-block",opacity:0}}},[`${Pe}-item-icon, ${ct}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Pe}-item-icon, ${ct}`]:{display:"none"},"a, a:hover":{color:gt}},[`${Pe}-item-group-title`]:Object.assign(Object.assign({},bt.vS),{paddingInline:kn})}}]};const on=ge=>{const{componentCls:Pe,motionDurationSlow:ct,motionDurationMid:$t,motionEaseInOut:gt,motionEaseOut:yt,iconCls:Dt,iconSize:Pt,iconMarginInlineEnd:Wt}=ge;return{[`${Pe}-item, ${Pe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ct}`,`background ${ct}`,`padding calc(${ct} + 0.1s) ${gt}`].join(","),[`${Pe}-item-icon, ${Dt}`]:{minWidth:Pt,fontSize:Pt,transition:[`font-size ${$t} ${yt}`,`margin ${ct} ${gt}`,`color ${ct}`].join(","),"+ span":{marginInlineStart:Wt,opacity:1,transition:[`opacity ${ct} ${gt}`,`margin ${ct}`,`color ${ct}`].join(",")}},[`${Pe}-item-icon`]:Object.assign({},(0,bt.Ro)()),[`&${Pe}-item-only-child`]:{[`> ${Dt}, > ${Pe}-item-icon`]:{marginInlineEnd:0}}},[`${Pe}-item-disabled, ${Pe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Pe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},st=ge=>{const{componentCls:Pe,motionDurationSlow:ct,motionEaseInOut:$t,borderRadius:gt,menuArrowSize:yt,menuArrowOffset:Dt}=ge;return{[`${Pe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ge.margin,width:yt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ct} ${$t}, opacity ${ct}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ge.calc(yt).mul(.6).equal(),height:ge.calc(yt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:gt,transition:[`background ${ct} ${$t}`,`transform ${ct} ${$t}`,`top ${ct} ${$t}`,`color ${ct} ${$t}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,$e.unit)(ge.calc(Dt).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,$e.unit)(Dt)})`}}}}},Ut=ge=>{const{antCls:Pe,componentCls:ct,fontSize:$t,motionDurationSlow:gt,motionDurationMid:yt,motionEaseInOut:Dt,paddingXS:Pt,padding:Wt,colorSplit:pn,lineWidth:fn,zIndexPopup:Mt,borderRadiusLG:Ln,subMenuItemBorderRadius:kn,menuArrowSize:wn,menuArrowOffset:ln,lineType:In,groupTitleLineHeight:xn,groupTitleFontSize:kt}=ge;return[{"":{[ct]:Object.assign(Object.assign({},(0,bt.dF)()),{"&-hidden":{display:"none"}})},[`${ct}-submenu-hidden`]:{display:"none"}},{[ct]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,bt.Wf)(ge)),(0,bt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:$t,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${gt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ct}-item`]:{flex:"none"}},[`${ct}-item, ${ct}-submenu, ${ct}-submenu-title`]:{borderRadius:ge.itemBorderRadius},[`${ct}-item-group-title`]:{padding:`${(0,$e.unit)(Pt)} ${(0,$e.unit)(Wt)}`,fontSize:kt,lineHeight:xn,transition:`all ${gt}`},[`&-horizontal ${ct}-submenu`]:{transition:[`border-color ${gt} ${Dt}`,`background ${gt} ${Dt}`].join(",")},[`${ct}-submenu, ${ct}-submenu-inline`]:{transition:[`border-color ${gt} ${Dt}`,`background ${gt} ${Dt}`,`padding ${yt} ${Dt}`].join(",")},[`${ct}-submenu ${ct}-sub`]:{cursor:"initial",transition:[`background ${gt} ${Dt}`,`padding ${gt} ${Dt}`].join(",")},[`${ct}-title-content`]:{transition:`color ${gt}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Pe}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${ct}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:ge.padding}},[`${ct}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ct}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:pn,borderStyle:In,borderWidth:0,borderTopWidth:fn,marginBlock:fn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),on(ge)),{[`${ct}-item-group`]:{[`${ct}-item-group-list`]:{margin:0,padding:0,[`${ct}-item, ${ct}-submenu-title`]:{paddingInline:`${(0,$e.unit)(ge.calc($t).mul(2).equal())} ${(0,$e.unit)(Wt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Mt,borderRadius:Ln,boxShadow:"none",transformOrigin:"0 0",[`&${ct}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${ct}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ln},on(ge)),st(ge)),{[`${ct}-item, ${ct}-submenu > ${ct}-submenu-title`]:{borderRadius:kn},[`${ct}-submenu-title::after`]:{transition:`transform ${gt} ${Dt}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:ge.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ge.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ge.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ge.paddingXS}}}),st(ge)),{[`&-inline-collapsed ${ct}-submenu-arrow, + &-inline ${ct}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(ln)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,$e.unit)(ge.calc(ln).mul(-1).equal())})`}},[`${ct}-submenu-open${ct}-submenu-inline > ${ct}-submenu-title > ${ct}-submenu-arrow`]:{transform:`translateY(${(0,$e.unit)(ge.calc(wn).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(ge.calc(ln).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,$e.unit)(ln)})`}}})},{[`${Pe}-layout-header`]:{[ct]:{lineHeight:"inherit"}}}]},Gt=ge=>{var Pe,ct,$t;const{colorPrimary:gt,colorError:yt,colorTextDisabled:Dt,colorErrorBg:Pt,colorText:Wt,colorTextDescription:pn,colorBgContainer:fn,colorFillAlter:Mt,colorFillContent:Ln,lineWidth:kn,lineWidthBold:wn,controlItemBgActive:ln,colorBgTextHover:In,controlHeightLG:xn,lineHeight:kt,colorBgElevated:Yt,marginXXS:Ft,padding:vn,fontSize:Ct,controlHeightSM:pt,fontSizeLG:de,colorTextLightSolid:qt,colorErrorHover:Dn}=ge,mn=(Pe=ge.activeBarWidth)!==null&&Pe!==void 0?Pe:0,vr=(ct=ge.activeBarBorderWidth)!==null&&ct!==void 0?ct:kn,yr=($t=ge.itemMarginInline)!==null&&$t!==void 0?$t:ge.marginXXS,ar=new nt.FastColor(qt).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:ge.zIndexPopupBase+50,radiusItem:ge.borderRadiusLG,itemBorderRadius:ge.borderRadiusLG,radiusSubMenuItem:ge.borderRadiusSM,subMenuItemBorderRadius:ge.borderRadiusSM,colorItemText:Wt,itemColor:Wt,colorItemTextHover:Wt,itemHoverColor:Wt,colorItemTextHoverHorizontal:gt,horizontalItemHoverColor:gt,colorGroupTitle:pn,groupTitleColor:pn,colorItemTextSelected:gt,itemSelectedColor:gt,subMenuItemSelectedColor:gt,colorItemTextSelectedHorizontal:gt,horizontalItemSelectedColor:gt,colorItemBg:fn,itemBg:fn,colorItemBgHover:In,itemHoverBg:In,colorItemBgActive:Ln,itemActiveBg:ln,colorSubItemBg:Mt,subMenuItemBg:Mt,colorItemBgSelected:ln,itemSelectedBg:ln,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:mn,colorActiveBarHeight:wn,activeBarHeight:wn,colorActiveBarBorderSize:kn,activeBarBorderWidth:vr,colorItemTextDisabled:Dt,itemDisabledColor:Dt,colorDangerItemText:yt,dangerItemColor:yt,colorDangerItemTextHover:yt,dangerItemHoverColor:yt,colorDangerItemTextSelected:yt,dangerItemSelectedColor:yt,colorDangerItemBgActive:Pt,dangerItemActiveBg:Pt,colorDangerItemBgSelected:Pt,dangerItemSelectedBg:Pt,itemMarginInline:yr,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:xn,groupTitleLineHeight:kt,collapsedWidth:xn*2,popupBg:Yt,itemMarginBlock:Ft,itemPaddingInline:vn,horizontalLineHeight:`${xn*1.15}px`,iconSize:Ct,iconMarginInlineEnd:pt-Ct,collapsedIconSize:de,groupTitleFontSize:Ct,darkItemDisabledColor:new nt.FastColor(qt).setA(.25).toRgbString(),darkItemColor:ar,darkDangerItemColor:yt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:qt,darkItemSelectedBg:gt,darkDangerItemSelectedBg:yt,darkItemHoverBg:"transparent",darkGroupTitleColor:ar,darkItemHoverColor:qt,darkDangerItemHoverColor:Dn,darkDangerItemSelectedColor:qt,darkDangerItemActiveBg:yt,itemWidth:mn?`calc(100% + ${vr}px)`:`calc(100% - ${yr*2}px)`}};var On=function(ge){let Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ge,ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,dt.I$)("Menu",gt=>{const{colorBgElevated:yt,controlHeightLG:Dt,fontSize:Pt,darkItemColor:Wt,darkDangerItemColor:pn,darkItemBg:fn,darkSubMenuItemBg:Mt,darkItemSelectedColor:Ln,darkItemSelectedBg:kn,darkDangerItemSelectedBg:wn,darkItemHoverBg:ln,darkGroupTitleColor:In,darkItemHoverColor:xn,darkItemDisabledColor:kt,darkDangerItemHoverColor:Yt,darkDangerItemSelectedColor:Ft,darkDangerItemActiveBg:vn,popupBg:Ct,darkPopupBg:pt}=gt,de=gt.calc(Pt).div(7).mul(5).equal(),qt=(0,It.mergeToken)(gt,{menuArrowSize:de,menuHorizontalHeight:gt.calc(Dt).mul(1.15).equal(),menuArrowOffset:gt.calc(de).mul(.25).equal(),menuSubMenuBg:yt,calc:gt.calc,popupBg:Ct}),Dn=(0,It.mergeToken)(qt,{itemColor:Wt,itemHoverColor:xn,groupTitleColor:In,itemSelectedColor:Ln,subMenuItemSelectedColor:Ln,itemBg:fn,popupBg:pt,subMenuItemBg:Mt,itemActiveBg:"transparent",itemSelectedBg:kn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ln,itemDisabledColor:kt,dangerItemColor:pn,dangerItemHoverColor:Yt,dangerItemSelectedColor:Ft,dangerItemActiveBg:vn,dangerItemSelectedBg:wn,menuSubMenuBg:Mt,horizontalItemSelectedColor:Ln,horizontalItemSelectedBg:kn});return[Ut(qt),qe(qt),Qt(qt),Tt(qt,"light"),Tt(Dn,"dark"),Rt(qt),(0,it.Z)(qt),(0,Nt.oN)(qt,"slide-up"),(0,Nt.oN)(qt,"slide-down"),(0,vt._y)(qt,"zoom-big")]},Gt,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:ct,unitless:{groupTitleLineHeight:!0}})(ge,Pe)},ft=y(75030),Ht=ge=>{var Pe;const{popupClassName:ct,icon:$t,title:gt,theme:yt}=ge,Dt=b.useContext(at),{prefixCls:Pt,inlineCollapsed:Wt,theme:pn}=Dt,fn=(0,me.Xl)();let Mt;if(!$t)Mt=Wt&&!fn.length&>&&typeof gt=="string"?b.createElement("div",{className:`${Pt}-inline-collapsed-noicon`},gt.charAt(0)):b.createElement("span",{className:`${Pt}-title-content`},gt);else{const wn=b.isValidElement(gt)&>.type==="span";Mt=b.createElement(b.Fragment,null,(0,xe.Tm)($t,{className:fe()(b.isValidElement($t)?(Pe=$t.props)===null||Pe===void 0?void 0:Pe.className:"",`${Pt}-item-icon`)}),wn?gt:b.createElement("span",{className:`${Pt}-title-content`},gt))}const Ln=b.useMemo(()=>Object.assign(Object.assign({},Dt),{firstLevel:!1}),[Dt]),[kn]=(0,ft.Cn)("Menu");return b.createElement(at.Provider,{value:Ln},b.createElement(me.Wd,Object.assign({},(0,Oe.Z)(ge,["icon"]),{title:Mt,popupClassName:fe()(Pt,ct,`${Pt}-${yt||pn}`),popupStyle:Object.assign({zIndex:kn},ge.popupStyle)})))},gn=function(ge,Pe){var ct={};for(var $t in ge)Object.prototype.hasOwnProperty.call(ge,$t)&&Pe.indexOf($t)<0&&(ct[$t]=ge[$t]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,$t=Object.getOwnPropertySymbols(ge);gt<$t.length;gt++)Pe.indexOf($t[gt])<0&&Object.prototype.propertyIsEnumerable.call(ge,$t[gt])&&(ct[$t[gt]]=ge[$t[gt]]);return ct};function un(ge){return ge===null||ge===!1}const De={item:ze,submenu:Ht,divider:We};var ce=(0,b.forwardRef)((ge,Pe)=>{var ct;const $t=b.useContext(_e.Z),gt=$t||{},{getPrefixCls:yt,getPopupContainer:Dt,direction:Pt,menu:Wt}=b.useContext(Ge.E_),pn=yt(),{prefixCls:fn,className:Mt,style:Ln,theme:kn="light",expandIcon:wn,_internalDisableMenuItemTitleTooltip:ln,inlineCollapsed:In,siderCollapsed:xn,rootClassName:kt,mode:Yt,selectable:Ft,onClick:vn,overflowedIndicatorPopupClassName:Ct}=ge,pt=gn(ge,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),de=(0,Oe.Z)(pt,["collapsedWidth"]);(ct=gt.validator)===null||ct===void 0||ct.call(gt,{mode:Yt});const qt=(0,we.Z)(function(){var br;vn==null||vn.apply(void 0,arguments),(br=gt.onClick)===null||br===void 0||br.call(gt)}),Dn=gt.mode||Yt,mn=Ft!=null?Ft:gt.selectable,vr=In!=null?In:xn,yr={horizontal:{motionName:`${pn}-slide-up`},inline:(0,Re.Z)(pn),other:{motionName:`${pn}-zoom-big`}},ar=yt("menu",fn||gt.prefixCls),Er=(0,Fe.Z)(ar),[wt,Qn,lr]=On(ar,Er,!$t),cr=fe()(`${ar}-${kn}`,Wt==null?void 0:Wt.className,Mt),Yn=b.useMemo(()=>{var br,Nr;if(typeof wn=="function"||un(wn))return wn||null;if(typeof gt.expandIcon=="function"||un(gt.expandIcon))return gt.expandIcon||null;if(typeof(Wt==null?void 0:Wt.expandIcon)=="function"||un(Wt==null?void 0:Wt.expandIcon))return(Wt==null?void 0:Wt.expandIcon)||null;const Jr=(br=wn!=null?wn:gt==null?void 0:gt.expandIcon)!==null&&br!==void 0?br:Wt==null?void 0:Wt.expandIcon;return(0,xe.Tm)(Jr,{className:fe()(`${ar}-submenu-expand-icon`,b.isValidElement(Jr)?(Nr=Jr.props)===null||Nr===void 0?void 0:Nr.className:void 0)})},[wn,gt==null?void 0:gt.expandIcon,Wt==null?void 0:Wt.expandIcon,ar]),Sr=b.useMemo(()=>({prefixCls:ar,inlineCollapsed:vr||!1,direction:Pt,firstLevel:!0,theme:kn,mode:Dn,disableMenuItemTitleTooltip:ln}),[ar,vr,Pt,ln,kn]);return wt(b.createElement(_e.Z.Provider,{value:null},b.createElement(at.Provider,{value:Sr},b.createElement(me.ZP,Object.assign({getPopupContainer:Dt,overflowedIndicator:b.createElement(pe.Z,null),overflowedIndicatorPopupClassName:fe()(ar,`${ar}-${kn}`,Ct),mode:Dn,selectable:mn,onClick:qt},de,{inlineCollapsed:vr,style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Ln),className:cr,prefixCls:ar,direction:Pt,defaultMotions:yr,expandIcon:Yn,ref:Pe,rootClassName:fe()(kt,Qn,gt.rootClassName,lr,Er),_internalComponents:De})))))});const Te=(0,b.forwardRef)((ge,Pe)=>{const ct=(0,b.useRef)(null),$t=b.useContext(le.D);return(0,b.useImperativeHandle)(Pe,()=>({menu:ct.current,focus:gt=>{var yt;(yt=ct.current)===null||yt===void 0||yt.focus(gt)}})),b.createElement(ce,Object.assign({ref:ct},ge,$t))});Te.Item=ze,Te.SubMenu=Ht,Te.Divider=We,Te.ItemGroup=me.BW;var je=Te},89787:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return xn}});var b=y(59301),me=y(17835),le=y(29679),pe=y(40001),be=y(19248),fe=y(99267),we=y(92310),Oe=y.n(we),Re=y(2738),xe=y(48755),Ge=y(60499),Fe=y(85899),At=y(42244),at={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},tt=function(){var Yt=(0,b.useRef)([]),Ft=(0,b.useRef)(null);return(0,b.useEffect)(function(){var vn=Date.now(),Ct=!1;Yt.current.forEach(function(pt){if(pt){Ct=!0;var de=pt.style;de.transitionDuration=".3s, .3s, .3s, .06s",Ft.current&&vn-Ft.current<100&&(de.transitionDuration="0s, 0s")}}),Ct&&(Ft.current=Date.now())}),Yt.current},Je=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],We=function(Yt){var Ft=(0,Fe.Z)((0,Fe.Z)({},at),Yt),vn=Ft.className,Ct=Ft.percent,pt=Ft.prefixCls,de=Ft.strokeColor,qt=Ft.strokeLinecap,Dn=Ft.strokeWidth,mn=Ft.style,vr=Ft.trailColor,yr=Ft.trailWidth,ar=Ft.transition,Er=(0,At.Z)(Ft,Je);delete Er.gapPosition;var wt=Array.isArray(Ct)?Ct:[Ct],Qn=Array.isArray(de)?de:[de],lr=tt(),cr=Dn/2,Yn=100-Dn/2,Sr="M ".concat(qt==="round"?cr:0,",").concat(cr,` + L `).concat(qt==="round"?Yn:100,",").concat(cr),br="0 0 100 ".concat(Dn),Nr=0;return b.createElement("svg",(0,Ge.Z)({className:Oe()("".concat(pt,"-line"),vn),viewBox:br,preserveAspectRatio:"none",style:mn},Er),b.createElement("path",{className:"".concat(pt,"-line-trail"),d:Sr,strokeLinecap:qt,stroke:vr,strokeWidth:yr||Dn,fillOpacity:"0"}),wt.map(function(Jr,$r){var Ur=1;switch(qt){case"round":Ur=1-Dn/100;break;case"square":Ur=1-Dn/2/100;break;default:Ur=1;break}var aa={strokeDasharray:"".concat(Jr*Ur,"px, 100px"),strokeDashoffset:"-".concat(Nr,"px"),transition:ar||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Hr=Qn[$r]||Qn[Qn.length-1];return Nr+=Jr,b.createElement("path",{key:$r,className:"".concat(pt,"-line-path"),d:Sr,strokeLinecap:qt,stroke:Hr,strokeWidth:Dn,fillOpacity:"0",ref:function(ea){lr[$r]=ea},style:aa})}))},Ve=We,Ze=y(43749),Qe=y(72190),ze=y(47273),_e=0,$e=(0,ze.Z)();function nt(){var kt;return $e?(kt=_e,_e+=1):kt="TEST_OR_SSR",kt}var bt=function(kt){var Yt=b.useState(),Ft=(0,Qe.Z)(Yt,2),vn=Ft[0],Ct=Ft[1];return b.useEffect(function(){Ct("rc_progress_".concat(nt()))},[]),kt||vn},it=function(Yt){var Ft=Yt.bg,vn=Yt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:Ft}},vn)};function Nt(kt,Yt){return Object.keys(kt).map(function(Ft){var vn=parseFloat(Ft),Ct="".concat(Math.floor(vn*Yt),"%");return"".concat(kt[Ft]," ").concat(Ct)})}var vt=b.forwardRef(function(kt,Yt){var Ft=kt.prefixCls,vn=kt.color,Ct=kt.gradientId,pt=kt.radius,de=kt.style,qt=kt.ptg,Dn=kt.strokeLinecap,mn=kt.strokeWidth,vr=kt.size,yr=kt.gapDegree,ar=vn&&(0,Ze.Z)(vn)==="object",Er=ar?"#FFF":void 0,wt=vr/2,Qn=b.createElement("circle",{className:"".concat(Ft,"-circle-path"),r:pt,cx:wt,cy:wt,stroke:Er,strokeLinecap:Dn,strokeWidth:mn,opacity:qt===0?0:1,style:de,ref:Yt});if(!ar)return Qn;var lr="".concat(Ct,"-conic"),cr=yr?"".concat(180+yr/2,"deg"):"0deg",Yn=Nt(vn,(360-yr)/360),Sr=Nt(vn,1),br="conic-gradient(from ".concat(cr,", ").concat(Yn.join(", "),")"),Nr="linear-gradient(to ".concat(yr?"bottom":"top",", ").concat(Sr.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:lr},Qn),b.createElement("foreignObject",{x:0,y:0,width:vr,height:vr,mask:"url(#".concat(lr,")")},b.createElement(it,{bg:Nr},b.createElement(it,{bg:br}))))}),dt=vt,It=100,St=function(Yt,Ft,vn,Ct,pt,de,qt,Dn,mn,vr){var yr=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ar=vn/100*360*((360-de)/360),Er=de===0?0:{bottom:0,top:180,left:90,right:-90}[qt],wt=(100-Ct)/100*Ft;mn==="round"&&Ct!==100&&(wt+=vr/2,wt>=Ft&&(wt=Ft-.01));var Qn=It/2;return{stroke:typeof Dn=="string"?Dn:void 0,strokeDasharray:"".concat(Ft,"px ").concat(Yt),strokeDashoffset:wt+yr,transform:"rotate(".concat(pt+ar+Er,"deg)"),transformOrigin:"".concat(Qn,"px ").concat(Qn,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Jt(kt){var Yt=kt!=null?kt:[];return Array.isArray(Yt)?Yt:[Yt]}var Rt=function(Yt){var Ft=(0,Fe.Z)((0,Fe.Z)({},at),Yt),vn=Ft.id,Ct=Ft.prefixCls,pt=Ft.steps,de=Ft.strokeWidth,qt=Ft.trailWidth,Dn=Ft.gapDegree,mn=Dn===void 0?0:Dn,vr=Ft.gapPosition,yr=Ft.trailColor,ar=Ft.strokeLinecap,Er=Ft.style,wt=Ft.className,Qn=Ft.strokeColor,lr=Ft.percent,cr=(0,At.Z)(Ft,qe),Yn=It/2,Sr=bt(vn),br="".concat(Sr,"-gradient"),Nr=Yn-de/2,Jr=Math.PI*2*Nr,$r=mn>0?90+mn/2:-90,Ur=Jr*((360-mn)/360),aa=(0,Ze.Z)(pt)==="object"?pt:{count:pt,gap:2},Hr=aa.count,pa=aa.gap,ea=Jt(lr),jn=Jt(Qn),sr=jn.find(function(He){return He&&(0,Ze.Z)(He)==="object"}),Kr=sr&&(0,Ze.Z)(sr)==="object",zr=Kr?"butt":ar,ve=St(Jr,Ur,0,100,$r,mn,vr,yr,zr,de),Ie=tt(),ut=function(){var Vt=0;return ea.map(function(et,en){var cn=jn[en]||jn[jn.length-1],Xt=St(Jr,Ur,Vt,et,$r,mn,vr,cn,zr,de);return Vt+=et,b.createElement(dt,{key:en,color:cn,ptg:et,radius:Nr,prefixCls:Ct,gradientId:br,style:Xt,strokeLinecap:zr,strokeWidth:de,gapDegree:mn,ref:function(Kt){Ie[en]=Kt},size:It})}).reverse()},Le=function(){var Vt=Math.round(Hr*(ea[0]/100)),et=100/Hr,en=0;return new Array(Hr).fill(null).map(function(cn,Xt){var an=Xt<=Vt-1?jn[0]:yr,Kt=an&&(0,Ze.Z)(an)==="object"?"url(#".concat(br,")"):void 0,nn=St(Jr,Ur,en,et,$r,mn,vr,an,"butt",de,pa);return en+=(Ur-nn.strokeDashoffset+pa)*100/Ur,b.createElement("circle",{key:Xt,className:"".concat(Ct,"-circle-path"),r:Nr,cx:Yn,cy:Yn,stroke:Kt,strokeWidth:de,opacity:1,style:nn,ref:function(Jn){Ie[Xt]=Jn}})})};return b.createElement("svg",(0,Ge.Z)({className:Oe()("".concat(Ct,"-circle"),wt),viewBox:"0 0 ".concat(It," ").concat(It),style:Er,id:vn,role:"presentation"},cr),!Hr&&b.createElement("circle",{className:"".concat(Ct,"-circle-trail"),r:Nr,cx:Yn,cy:Yn,stroke:yr,strokeLinecap:zr,strokeWidth:qt||de,style:ve}),Hr?Le():ut())},Zt=Rt,Tn={Line:Ve,Circle:Zt},Tt=y(25399),Ye=y(68361);function Se(kt){return!kt||kt<0?0:kt>100?100:kt}function Qt(kt){let{success:Yt,successPercent:Ft}=kt,vn=Ft;return Yt&&"progress"in Yt&&(vn=Yt.progress),Yt&&"percent"in Yt&&(vn=Yt.percent),vn}const on=kt=>{let{percent:Yt,success:Ft,successPercent:vn}=kt;const Ct=Se(Qt({success:Ft,successPercent:vn}));return[Ct,Se(Se(Yt)-Ct)]},st=kt=>{let{success:Yt={},strokeColor:Ft}=kt;const{strokeColor:vn}=Yt;return[vn||Ye.presetPrimaryColors.green,Ft||null]},Ut=(kt,Yt,Ft)=>{var vn,Ct,pt,de;let qt=-1,Dn=-1;if(Yt==="step"){const mn=Ft.steps,vr=Ft.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?(qt=kt==="small"?2:14,Dn=vr!=null?vr:8):typeof kt=="number"?[qt,Dn]=[kt,kt]:[qt=14,Dn=8]=Array.isArray(kt)?kt:[kt.width,kt.height],qt*=mn}else if(Yt==="line"){const mn=Ft==null?void 0:Ft.strokeWidth;typeof kt=="string"||typeof kt=="undefined"?Dn=mn||(kt==="small"?6:8):typeof kt=="number"?[qt,Dn]=[kt,kt]:[qt=-1,Dn=8]=Array.isArray(kt)?kt:[kt.width,kt.height]}else(Yt==="circle"||Yt==="dashboard")&&(typeof kt=="string"||typeof kt=="undefined"?[qt,Dn]=kt==="small"?[60,60]:[120,120]:typeof kt=="number"?[qt,Dn]=[kt,kt]:Array.isArray(kt)&&(qt=(Ct=(vn=kt[0])!==null&&vn!==void 0?vn:kt[1])!==null&&Ct!==void 0?Ct:120,Dn=(de=(pt=kt[0])!==null&&pt!==void 0?pt:kt[1])!==null&&de!==void 0?de:120));return[qt,Dn]},Gt=3,On=kt=>Gt/kt*100;var En=kt=>{const{prefixCls:Yt,trailColor:Ft=null,strokeLinecap:vn="round",gapPosition:Ct,gapDegree:pt,width:de=120,type:qt,children:Dn,success:mn,size:vr=de,steps:yr}=kt,[ar,Er]=Ut(vr,"circle");let{strokeWidth:wt}=kt;wt===void 0&&(wt=Math.max(On(ar),6));const Qn={width:ar,height:Er,fontSize:ar*.15+6},lr=b.useMemo(()=>{if(pt||pt===0)return pt;if(qt==="dashboard")return 75},[pt,qt]),cr=on(kt),Yn=Ct||qt==="dashboard"&&"bottom"||void 0,Sr=Object.prototype.toString.call(kt.strokeColor)==="[object Object]",br=st({success:mn,strokeColor:kt.strokeColor}),Nr=Oe()(`${Yt}-inner`,{[`${Yt}-circle-gradient`]:Sr}),Jr=b.createElement(Zt,{steps:yr,percent:yr?cr[1]:cr,strokeWidth:wt,trailWidth:wt,strokeColor:yr?br[1]:br,strokeLinecap:vn,trailColor:Ft,prefixCls:Yt,gapDegree:lr,gapPosition:Yn}),$r=ar<=20,Ur=b.createElement("div",{className:Nr,style:Qn},Jr,!$r&&Dn);return $r?b.createElement(Tt.Z,{title:Dn},Ur):Ur},Ht=y(36237),gn=y(63356),un=y(16931),De=y(51636);const he="--progress-line-stroke-color",ce="--progress-percent",Te=kt=>{const Yt=kt?"100%":"-100%";return new Ht.Keyframes(`antProgress${kt?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Yt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},je=kt=>{const{componentCls:Yt,iconCls:Ft}=kt;return{[Yt]:Object.assign(Object.assign({},(0,gn.Wf)(kt)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:kt.fontSize},[`${Yt}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Yt}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:kt.remainingColor,borderRadius:kt.lineBorderRadius},[`${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:kt.defaultColor}},[`${Yt}-success-bg, ${Yt}-bg`]:{position:"relative",background:kt.defaultColor,borderRadius:kt.lineBorderRadius,transition:`all ${kt.motionDurationSlow} ${kt.motionEaseInOutCirc}`},[`${Yt}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Yt}-text`]:{width:"max-content",marginInlineStart:0,marginTop:kt.marginXXS}},[`${Yt}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${he})`]},height:"100%",width:`calc(1 / var(${ce}) * 100%)`,display:"block"},[`&${Yt}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Yt}-text-inner`]:{color:kt.colorWhite,[`&${Yt}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Yt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:kt.colorSuccess},[`${Yt}-text`]:{display:"inline-block",marginInlineStart:kt.marginXS,color:kt.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ft]:{fontSize:kt.fontSize},[`&${Yt}-text-outer`]:{width:"max-content"},[`&${Yt}-text-outer${Yt}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:kt.marginXS}},[`${Yt}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Ht.unit)(kt.paddingXXS)}`,[`&${Yt}-text-start`]:{justifyContent:"start"},[`&${Yt}-text-end`]:{justifyContent:"end"}},[`&${Yt}-status-active`]:{[`${Yt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:kt.colorBgContainer,borderRadius:kt.lineBorderRadius,opacity:0,animationName:Te(),animationDuration:kt.progressActiveMotionDuration,animationTimingFunction:kt.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Yt}-rtl${Yt}-status-active`]:{[`${Yt}-bg::before`]:{animationName:Te(!0)}},[`&${Yt}-status-exception`]:{[`${Yt}-bg`]:{backgroundColor:kt.colorError},[`${Yt}-text`]:{color:kt.colorError}},[`&${Yt}-status-exception ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:kt.colorError}},[`&${Yt}-status-success`]:{[`${Yt}-bg`]:{backgroundColor:kt.colorSuccess},[`${Yt}-text`]:{color:kt.colorSuccess}},[`&${Yt}-status-success ${Yt}-inner:not(${Yt}-circle-gradient)`]:{[`${Yt}-circle-path`]:{stroke:kt.colorSuccess}}})}},ge=kt=>{const{componentCls:Yt,iconCls:Ft}=kt;return{[Yt]:{[`${Yt}-circle-trail`]:{stroke:kt.remainingColor},[`&${Yt}-circle ${Yt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Yt}-circle ${Yt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:kt.circleTextColor,fontSize:kt.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ft]:{fontSize:kt.circleIconFontSize}},[`${Yt}-circle&-status-exception`]:{[`${Yt}-text`]:{color:kt.colorError}},[`${Yt}-circle&-status-success`]:{[`${Yt}-text`]:{color:kt.colorSuccess}}},[`${Yt}-inline-circle`]:{lineHeight:1,[`${Yt}-inner`]:{verticalAlign:"bottom"}}}},Pe=kt=>{const{componentCls:Yt}=kt;return{[Yt]:{[`${Yt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:kt.progressStepMinWidth,marginInlineEnd:kt.progressStepMarginInlineEnd,backgroundColor:kt.remainingColor,transition:`all ${kt.motionDurationSlow}`,"&-active":{backgroundColor:kt.defaultColor}}}}}},ct=kt=>{const{componentCls:Yt,iconCls:Ft}=kt;return{[Yt]:{[`${Yt}-small&-line, ${Yt}-small&-line ${Yt}-text ${Ft}`]:{fontSize:kt.fontSizeSM}}}},$t=kt=>({circleTextColor:kt.colorText,defaultColor:kt.colorInfo,remainingColor:kt.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${kt.fontSize/kt.fontSizeSM}em`});var gt=(0,un.I$)("Progress",kt=>{const Yt=kt.calc(kt.marginXXS).div(2).equal(),Ft=(0,De.mergeToken)(kt,{progressStepMarginInlineEnd:Yt,progressStepMinWidth:Yt,progressActiveMotionDuration:"2.4s"});return[je(Ft),ge(Ft),Pe(Ft),ct(Ft)]},$t),yt=function(kt,Yt){var Ft={};for(var vn in kt)Object.prototype.hasOwnProperty.call(kt,vn)&&Yt.indexOf(vn)<0&&(Ft[vn]=kt[vn]);if(kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,vn=Object.getOwnPropertySymbols(kt);Ct{let Yt=[];return Object.keys(kt).forEach(Ft=>{const vn=parseFloat(Ft.replace(/%/g,""));Number.isNaN(vn)||Yt.push({key:vn,value:kt[Ft]})}),Yt=Yt.sort((Ft,vn)=>Ft.key-vn.key),Yt.map(Ft=>{let{key:vn,value:Ct}=Ft;return`${Ct} ${vn}%`}).join(", ")},Pt=(kt,Yt)=>{const{from:Ft=Ye.presetPrimaryColors.blue,to:vn=Ye.presetPrimaryColors.blue,direction:Ct=Yt==="rtl"?"to left":"to right"}=kt,pt=yt(kt,["from","to","direction"]);if(Object.keys(pt).length!==0){const qt=Dt(pt),Dn=`linear-gradient(${Ct}, ${qt})`;return{background:Dn,[he]:Dn}}const de=`linear-gradient(${Ct}, ${Ft}, ${vn})`;return{background:de,[he]:de}};var pn=kt=>{const{prefixCls:Yt,direction:Ft,percent:vn,size:Ct,strokeWidth:pt,strokeColor:de,strokeLinecap:qt="round",children:Dn,trailColor:mn=null,percentPosition:vr,success:yr}=kt,{align:ar,type:Er}=vr,wt=de&&typeof de!="string"?Pt(de,Ft):{[he]:de,background:de},Qn=qt==="square"||qt==="butt"?0:void 0,lr=Ct!=null?Ct:[-1,pt||(Ct==="small"?6:8)],[cr,Yn]=Ut(lr,"line",{strokeWidth:pt}),Sr={backgroundColor:mn||void 0,borderRadius:Qn},br=Object.assign(Object.assign({width:`${Se(vn)}%`,height:Yn,borderRadius:Qn},wt),{[ce]:Se(vn)/100}),Nr=Qt(kt),Jr={width:`${Se(Nr)}%`,height:Yn,borderRadius:Qn,backgroundColor:yr==null?void 0:yr.strokeColor},$r={width:cr<0?"100%":cr},Ur=b.createElement("div",{className:`${Yt}-inner`,style:Sr},b.createElement("div",{className:Oe()(`${Yt}-bg`,`${Yt}-bg-${Er}`),style:br},Er==="inner"&&Dn),Nr!==void 0&&b.createElement("div",{className:`${Yt}-success-bg`,style:Jr})),aa=Er==="outer"&&ar==="start",Hr=Er==="outer"&&ar==="end";return Er==="outer"&&ar==="center"?b.createElement("div",{className:`${Yt}-layout-bottom`},Ur,Dn):b.createElement("div",{className:`${Yt}-outer`,style:$r},aa&&Dn,Ur,Hr&&Dn)},Mt=kt=>{const{size:Yt,steps:Ft,rounding:vn=Math.round,percent:Ct=0,strokeWidth:pt=8,strokeColor:de,trailColor:qt=null,prefixCls:Dn,children:mn}=kt,vr=vn(Ft*(Ct/100)),yr=Yt==="small"?2:14,ar=Yt!=null?Yt:[yr,pt],[Er,wt]=Ut(ar,"step",{steps:Ft,strokeWidth:pt}),Qn=Er/Ft,lr=Array.from({length:Ft});for(let cr=0;cr{const{prefixCls:Ft,className:vn,rootClassName:Ct,steps:pt,strokeColor:de,percent:qt=0,size:Dn="default",showInfo:mn=!0,type:vr="line",status:yr,format:ar,style:Er,percentPosition:wt={}}=kt,Qn=Ln(kt,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:lr="end",type:cr="outer"}=wt,Yn=Array.isArray(de)?de[0]:de,Sr=typeof de=="string"||Array.isArray(de)?de:void 0,br=b.useMemo(()=>{if(Yn){const ut=typeof Yn=="string"?Yn:Object.values(Yn)[0];return new me.FastColor(ut).isLight()}return!1},[de]),Nr=b.useMemo(()=>{var ut,Le;const He=Qt(kt);return parseInt(He!==void 0?(ut=He!=null?He:0)===null||ut===void 0?void 0:ut.toString():(Le=qt!=null?qt:0)===null||Le===void 0?void 0:Le.toString(),10)},[qt,kt.success,kt.successPercent]),Jr=b.useMemo(()=>!wn.includes(yr)&&Nr>=100?"success":yr||"normal",[yr,Nr]),{getPrefixCls:$r,direction:Ur,progress:aa}=b.useContext(xe.E_),Hr=$r("progress",Ft),[pa,ea,jn]=gt(Hr),sr=vr==="line",Kr=sr&&!pt,zr=b.useMemo(()=>{if(!mn)return null;const ut=Qt(kt);let Le;const He=ar||(et=>`${et}%`),Vt=sr&&br&&cr==="inner";return cr==="inner"||ar||Jr!=="exception"&&Jr!=="success"?Le=He(Se(qt),Se(ut)):Jr==="exception"?Le=sr?b.createElement(be.Z,null):b.createElement(fe.Z,null):Jr==="success"&&(Le=sr?b.createElement(le.Z,null):b.createElement(pe.Z,null)),b.createElement("span",{className:Oe()(`${Hr}-text`,{[`${Hr}-text-bright`]:Vt,[`${Hr}-text-${lr}`]:Kr,[`${Hr}-text-${cr}`]:Kr}),title:typeof Le=="string"?Le:void 0},Le)},[mn,qt,Nr,Jr,vr,Hr,ar]);let ve;vr==="line"?ve=pt?b.createElement(Mt,Object.assign({},kt,{strokeColor:Sr,prefixCls:Hr,steps:typeof pt=="object"?pt.count:pt}),zr):b.createElement(pn,Object.assign({},kt,{strokeColor:Yn,prefixCls:Hr,direction:Ur,percentPosition:{align:lr,type:cr}}),zr):(vr==="circle"||vr==="dashboard")&&(ve=b.createElement(En,Object.assign({},kt,{strokeColor:Yn,prefixCls:Hr,progressStatus:Jr}),zr));const Ie=Oe()(Hr,`${Hr}-status-${Jr}`,{[`${Hr}-${vr==="dashboard"&&"circle"||vr}`]:vr!=="line",[`${Hr}-inline-circle`]:vr==="circle"&&Ut(Dn,"circle")[0]<=20,[`${Hr}-line`]:Kr,[`${Hr}-line-align-${lr}`]:Kr,[`${Hr}-line-position-${cr}`]:Kr,[`${Hr}-steps`]:pt,[`${Hr}-show-info`]:mn,[`${Hr}-${Dn}`]:typeof Dn=="string",[`${Hr}-rtl`]:Ur==="rtl"},aa==null?void 0:aa.className,vn,Ct,ea,jn);return pa(b.createElement("div",Object.assign({ref:Yt,style:Object.assign(Object.assign({},aa==null?void 0:aa.style),Er),className:Ie,role:"progressbar","aria-valuenow":Nr,"aria-valuemin":0,"aria-valuemax":100},(0,Re.Z)(Qn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),ve))}),xn=In},82326:function(Ce,ae,y){"use strict";var b=y(59301),me=y(92310),le=y.n(me),pe=y(37463),be=y(2738),fe=y(75030),we=y(86641),Oe=y(45915),Re=y(82855),xe=y(48755),Ge=y(38406),Fe=y(2171),At=y(83397),at=y(31756),tt=y(56553),Je=y(24971),We=y(70045),Ve=y(57700),Ze=y(1722),Qe=y(90376),ze=y(68525),_e=y(90005),$e=function(vt,dt){var It={};for(var St in vt)Object.prototype.hasOwnProperty.call(vt,St)&&dt.indexOf(St)<0&&(It[St]=vt[St]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,St=Object.getOwnPropertySymbols(vt);qe{var It;const{prefixCls:St,bordered:qe,className:Jt,rootClassName:Rt,getPopupContainer:Zt,popupClassName:Tn,dropdownClassName:Tt,listHeight:Ye=256,placement:Se,listItemHeight:Qt,size:on,disabled:st,notFoundContent:Ut,status:Gt,builtinPlacements:On,dropdownMatchSelectWidth:ft,popupMatchSelectWidth:En,direction:Ht,style:gn,allowClear:un,variant:De,dropdownStyle:he,transitionName:ce,tagRender:Te,maxCount:je,prefix:ge}=vt,Pe=$e(vt,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:ct,getPrefixCls:$t,renderEmpty:gt,direction:yt,virtual:Dt,popupMatchSelectWidth:Pt,popupOverflow:Wt}=b.useContext(xe.E_),pn=(0,xe.dj)("select"),[,fn]=(0,Ve.ZP)(),Mt=Qt!=null?Qt:fn==null?void 0:fn.controlHeight,Ln=$t("select",St),kn=$t(),wn=Ht!=null?Ht:yt,{compactSize:ln,compactItemClassnames:In}=(0,We.ri)(Ln,wn),[xn,kt]=(0,Je.Z)("select",De,qe),Yt=(0,At.Z)(Ln),[Ft,vn,Ct]=(0,Qe.Z)(Ln,Yt),pt=b.useMemo(()=>{const{mode:ea}=vt;if(ea!=="combobox")return ea===nt?"combobox":ea},[vt.mode]),de=pt==="multiple"||pt==="tags",qt=(0,_e.Z)(vt.suffixIcon,vt.showArrow),Dn=(It=En!=null?En:ft)!==null&&It!==void 0?It:Pt,{status:mn,hasFeedback:vr,isFormItemInput:yr,feedbackIcon:ar}=b.useContext(tt.aM),Er=(0,Re.F)(mn,Gt);let wt;Ut!==void 0?wt=Ut:pt==="combobox"?wt=null:wt=(gt==null?void 0:gt("Select"))||b.createElement(Ge.Z,{componentName:"Select"});const{suffixIcon:Qn,itemIcon:lr,removeIcon:cr,clearIcon:Yn}=(0,ze.Z)(Object.assign(Object.assign({},Pe),{multiple:de,hasFeedback:vr,feedbackIcon:ar,showSuffixIcon:qt,prefixCls:Ln,componentName:"Select"})),Sr=un===!0?{clearIcon:Yn}:un,br=(0,be.Z)(Pe,["suffixIcon","itemIcon"]),Nr=le()(Tn||Tt,{[`${Ln}-dropdown-${wn}`]:wn==="rtl"},Rt,Ct,Yt,vn),Jr=(0,at.Z)(ea=>{var jn;return(jn=on!=null?on:ln)!==null&&jn!==void 0?jn:ea}),$r=b.useContext(Fe.Z),Ur=st!=null?st:$r,aa=le()({[`${Ln}-lg`]:Jr==="large",[`${Ln}-sm`]:Jr==="small",[`${Ln}-rtl`]:wn==="rtl",[`${Ln}-${xn}`]:kt,[`${Ln}-in-form-item`]:yr},(0,Re.Z)(Ln,Er,vr),In,pn.className,Jt,Rt,Ct,Yt,vn),Hr=b.useMemo(()=>Se!==void 0?Se:wn==="rtl"?"bottomRight":"bottomLeft",[Se,wn]),[pa]=(0,fe.Cn)("SelectLike",he==null?void 0:he.zIndex);return Ft(b.createElement(pe.ZP,Object.assign({ref:dt,virtual:Dt,showSearch:pn.showSearch},br,{style:Object.assign(Object.assign({},pn.style),gn),dropdownMatchSelectWidth:Dn,transitionName:(0,we.m)(kn,"slide-up",ce),builtinPlacements:(0,Ze.Z)(On,Wt),listHeight:Ye,listItemHeight:Mt,mode:pt,prefixCls:Ln,placement:Hr,direction:wn,prefix:ge,suffixIcon:Qn,menuItemSelectedIcon:lr,removeIcon:cr,allowClear:Sr,notFoundContent:wt,className:aa,getPopupContainer:Zt||ct,dropdownClassName:Nr,disabled:Ur,dropdownStyle:Object.assign(Object.assign({},he),{zIndex:pa}),maxCount:de?je:void 0,tagRender:de?Te:void 0})))},it=b.forwardRef(bt),Nt=(0,Oe.Z)(it,"dropdownAlign");it.SECRET_COMBOBOX_MODE_DO_NOT_USE=nt,it.Option=pe.Wx,it.OptGroup=pe.Xo,it._InternalPanelDoNotUseOrYouWillBeFired=Nt,ae.default=it},1722:function(Ce,ae){"use strict";const y=me=>{const pe={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:me==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},pe),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},pe),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},pe),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},pe),{points:["br","tr"],offset:[0,-4]})}};function b(me,le){return me||y(le)}ae.Z=b},90376:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return St}});var b=y(63356),me=y(56119),le=y(16931),pe=y(51636),be=y(46e3),fe=y(93873);const we=qe=>{const{optionHeight:Jt,optionFontSize:Rt,optionLineHeight:Zt,optionPadding:Tn}=qe;return{position:"relative",display:"block",minHeight:Jt,padding:Tn,color:qe.colorText,fontWeight:"normal",fontSize:Rt,lineHeight:Zt,boxSizing:"border-box"}};var Re=qe=>{const{antCls:Jt,componentCls:Rt}=qe,Zt=`${Rt}-item`,Tn=`&${Jt}-slide-up-enter${Jt}-slide-up-enter-active`,Tt=`&${Jt}-slide-up-appear${Jt}-slide-up-appear-active`,Ye=`&${Jt}-slide-up-leave${Jt}-slide-up-leave-active`,Se=`${Rt}-dropdown-placement-`,Qt=`${Zt}-option-selected`;return[{[`${Rt}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(qe)),{position:"absolute",top:-9999,zIndex:qe.zIndexPopup,boxSizing:"border-box",padding:qe.paddingXXS,overflow:"hidden",fontSize:qe.fontSize,fontVariant:"initial",backgroundColor:qe.colorBgElevated,borderRadius:qe.borderRadiusLG,outline:"none",boxShadow:qe.boxShadowSecondary,[` + ${Tn}${Se}bottomLeft, + ${Tt}${Se}bottomLeft `]:{animationName:be.fJ},[` - ${On}${Ee}topLeft, - ${wt}${Ee}topLeft, - ${On}${Ee}topRight, - ${wt}${Ee}topRight - `]:{animationName:be.Qt},[`${$e}${Ee}bottomLeft`]:{animationName:be.Uw},[` - ${$e}${Ee}topLeft, - ${$e}${Ee}topRight - `]:{animationName:be.ly},"&-hidden":{display:"none"},[Kt]:Object.assign(Object.assign({},we(Ke)),{cursor:"pointer",transition:`background ${Ke.motionDurationSlow} ease`,borderRadius:Ke.borderRadiusSM,"&-group":{color:Ke.colorTextDescription,fontSize:Ke.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Kt}-option-disabled)`]:{backgroundColor:Ke.optionActiveBg},[`&-selected:not(${Kt}-option-disabled)`]:{color:Ke.optionSelectedColor,fontWeight:Ke.optionSelectedFontWeight,backgroundColor:Ke.optionSelectedBg,[`${Kt}-option-state`]:{color:Ke.colorPrimary}},"&-disabled":{[`&${Kt}-option-selected`]:{backgroundColor:Ke.colorBgContainerDisabled},color:Ke.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:Ke.calc(Ke.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},we(Ke)),{color:Ke.colorTextDisabled})}),[`${en}:has(+ ${en})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${en}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,be.oN)(Ke,"slide-up"),(0,be.oN)(Ke,"slide-down"),(0,fe.Fm)(Ke,"move-up"),(0,fe.Fm)(Ke,"move-down")]},xe=y(26743),je=y(36237);function Fe(Ke,Rt){const{componentCls:Nt,inputPaddingHorizontalBase:Kt,borderRadius:On}=Ke,wt=Ke.calc(Ke.controlHeight).sub(Ke.calc(Ke.lineWidth).mul(2)).equal(),$e=Rt?`${Nt}-${Rt}`:"";return{[`${Nt}-single${$e}`]:{fontSize:Ke.fontSize,height:Ke.controlHeight,[`${Nt}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(Ke,!0)),{display:"flex",borderRadius:On,flex:"1 1 auto",[`${Nt}-selection-wrap:after`]:{lineHeight:(0,je.unit)(wt)},[`${Nt}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` - ${Nt}-selection-item, - ${Nt}-selection-placeholder - `]:{display:"block",padding:0,lineHeight:(0,je.unit)(wt),transition:`all ${Ke.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Nt}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Nt}-selection-item:empty:after`,`${Nt}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${Nt}-show-arrow ${Nt}-selection-item, - &${Nt}-show-arrow ${Nt}-selection-search, - &${Nt}-show-arrow ${Nt}-selection-placeholder - `]:{paddingInlineEnd:Ke.showArrowPaddingInlineEnd},[`&${Nt}-open ${Nt}-selection-item`]:{color:Ke.colorTextPlaceholder},[`&:not(${Nt}-customize-input)`]:{[`${Nt}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,je.unit)(Kt)}`,[`${Nt}-selection-search-input`]:{height:wt,fontSize:Ke.fontSize},"&:after":{lineHeight:(0,je.unit)(wt)}}},[`&${Nt}-customize-input`]:{[`${Nt}-selector`]:{"&:after":{display:"none"},[`${Nt}-selection-search`]:{position:"static",width:"100%"},[`${Nt}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,je.unit)(Kt)}`,"&:after":{display:"none"}}}}}}}function xt(Ke){const{componentCls:Rt}=Ke,Nt=Ke.calc(Ke.controlPaddingHorizontalSM).sub(Ke.lineWidth).equal();return[Fe(Ke),Fe((0,pe.mergeToken)(Ke,{controlHeight:Ke.controlHeightSM,borderRadius:Ke.borderRadiusSM}),"sm"),{[`${Rt}-single${Rt}-sm`]:{[`&:not(${Rt}-customize-input)`]:{[`${Rt}-selector`]:{padding:`0 ${(0,je.unit)(Nt)}`},[`&${Rt}-show-arrow ${Rt}-selection-search`]:{insetInlineEnd:Ke.calc(Nt).add(Ke.calc(Ke.fontSize).mul(1.5)).equal()},[` - &${Rt}-show-arrow ${Rt}-selection-item, - &${Rt}-show-arrow ${Rt}-selection-placeholder - `]:{paddingInlineEnd:Ke.calc(Ke.fontSize).mul(1.5).equal()}}}},Fe((0,pe.mergeToken)(Ke,{controlHeight:Ke.singleItemHeightLG,fontSize:Ke.fontSizeLG,borderRadius:Ke.borderRadiusLG}),"lg")]}const nt=Ke=>{const{fontSize:Rt,lineHeight:Nt,lineWidth:Kt,controlHeight:On,controlHeightSM:wt,controlHeightLG:$e,paddingXXS:Ee,controlPaddingHorizontal:en,zIndexPopupBase:on,colorText:it,fontWeightStrong:Ht,controlItemBgActive:Yt,controlItemBgHover:Rn,colorBgContainer:ct,colorFillSecondary:Sn,colorBgContainerDisabled:Zt,colorTextDisabled:vn,colorPrimaryHover:un,colorPrimary:De,controlOutline:me}=Ke,ce=Ee*2,Te=Kt*2,Ue=Math.min(On-ce,On-Te),ge=Math.min(wt-ce,wt-Te),Me=Math.min($e-ce,$e-Te);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Ee/2),zIndexPopup:on+50,optionSelectedColor:it,optionSelectedFontWeight:Ht,optionSelectedBg:Yt,optionActiveBg:Rn,optionPadding:`${(On-Rt*Nt)/2}px ${en}px`,optionFontSize:Rt,optionLineHeight:Nt,optionHeight:On,selectorBg:ct,clearBg:ct,singleItemHeightLG:$e,multipleItemBg:Sn,multipleItemBorderColor:"transparent",multipleItemHeight:Ue,multipleItemHeightSM:ge,multipleItemHeightLG:Me,multipleSelectorBgDisabled:Zt,multipleItemColorDisabled:vn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(Ke.fontSize*1.25),hoverBorderColor:un,activeBorderColor:De,activeOutlineColor:me,selectAffixPadding:Ee}},et=(Ke,Rt)=>{const{componentCls:Nt,antCls:Kt,controlOutlineWidth:On}=Ke;return{[`&:not(${Nt}-customize-input) ${Nt}-selector`]:{border:`${(0,je.unit)(Ke.lineWidth)} ${Ke.lineType} ${Rt.borderColor}`,background:Ke.selectorBg},[`&:not(${Nt}-disabled):not(${Nt}-customize-input):not(${Kt}-pagination-size-changer)`]:{[`&:hover ${Nt}-selector`]:{borderColor:Rt.hoverBorderHover},[`${Nt}-focused& ${Nt}-selector`]:{borderColor:Rt.activeBorderColor,boxShadow:`0 0 0 ${(0,je.unit)(On)} ${Rt.activeOutlineColor}`,outline:0},[`${Nt}-prefix`]:{color:Rt.color}}}},Je=(Ke,Rt)=>({[`&${Ke.componentCls}-status-${Rt.status}`]:Object.assign({},et(Ke,Rt))}),Ge=Ke=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},et(Ke,{borderColor:Ke.colorBorder,hoverBorderHover:Ke.hoverBorderColor,activeBorderColor:Ke.activeBorderColor,activeOutlineColor:Ke.activeOutlineColor,color:Ke.colorText})),Je(Ke,{status:"error",borderColor:Ke.colorError,hoverBorderHover:Ke.colorErrorHover,activeBorderColor:Ke.colorError,activeOutlineColor:Ke.colorErrorOutline,color:Ke.colorError})),Je(Ke,{status:"warning",borderColor:Ke.colorWarning,hoverBorderHover:Ke.colorWarningHover,activeBorderColor:Ke.colorWarning,activeOutlineColor:Ke.colorWarningOutline,color:Ke.colorWarning})),{[`&${Ke.componentCls}-disabled`]:{[`&:not(${Ke.componentCls}-customize-input) ${Ke.componentCls}-selector`]:{background:Ke.colorBgContainerDisabled,color:Ke.colorTextDisabled}},[`&${Ke.componentCls}-multiple ${Ke.componentCls}-selection-item`]:{background:Ke.multipleItemBg,border:`${(0,je.unit)(Ke.lineWidth)} ${Ke.lineType} ${Ke.multipleItemBorderColor}`}})}),We=(Ke,Rt)=>{const{componentCls:Nt,antCls:Kt}=Ke;return{[`&:not(${Nt}-customize-input) ${Nt}-selector`]:{background:Rt.bg,border:`${(0,je.unit)(Ke.lineWidth)} ${Ke.lineType} transparent`,color:Rt.color},[`&:not(${Nt}-disabled):not(${Nt}-customize-input):not(${Kt}-pagination-size-changer)`]:{[`&:hover ${Nt}-selector`]:{background:Rt.hoverBg},[`${Nt}-focused& ${Nt}-selector`]:{background:Ke.selectorBg,borderColor:Rt.activeBorderColor,outline:0}}}},Ve=(Ke,Rt)=>({[`&${Ke.componentCls}-status-${Rt.status}`]:Object.assign({},We(Ke,Rt))}),Qe=Ke=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},We(Ke,{bg:Ke.colorFillTertiary,hoverBg:Ke.colorFillSecondary,activeBorderColor:Ke.activeBorderColor,color:Ke.colorText})),Ve(Ke,{status:"error",bg:Ke.colorErrorBg,hoverBg:Ke.colorErrorBgHover,activeBorderColor:Ke.colorError,color:Ke.colorError})),Ve(Ke,{status:"warning",bg:Ke.colorWarningBg,hoverBg:Ke.colorWarningBgHover,activeBorderColor:Ke.colorWarning,color:Ke.colorWarning})),{[`&${Ke.componentCls}-disabled`]:{[`&:not(${Ke.componentCls}-customize-input) ${Ke.componentCls}-selector`]:{borderColor:Ke.colorBorder,background:Ke.colorBgContainerDisabled,color:Ke.colorTextDisabled}},[`&${Ke.componentCls}-multiple ${Ke.componentCls}-selection-item`]:{background:Ke.colorBgContainer,border:`${(0,je.unit)(Ke.lineWidth)} ${Ke.lineType} ${Ke.colorSplit}`}})}),He=Ke=>({"&-borderless":{[`${Ke.componentCls}-selector`]:{background:"transparent",border:`${(0,je.unit)(Ke.lineWidth)} ${Ke.lineType} transparent`},[`&${Ke.componentCls}-disabled`]:{[`&:not(${Ke.componentCls}-customize-input) ${Ke.componentCls}-selector`]:{color:Ke.colorTextDisabled}},[`&${Ke.componentCls}-multiple ${Ke.componentCls}-selection-item`]:{background:Ke.multipleItemBg,border:`${(0,je.unit)(Ke.lineWidth)} ${Ke.lineType} ${Ke.multipleItemBorderColor}`},[`&${Ke.componentCls}-status-error`]:{[`${Ke.componentCls}-prefix, ${Ke.componentCls}-selection-item`]:{color:Ke.colorError}},[`&${Ke.componentCls}-status-warning`]:{[`${Ke.componentCls}-prefix, ${Ke.componentCls}-selection-item`]:{color:Ke.colorWarning}}}}),_e=(Ke,Rt)=>{const{componentCls:Nt,antCls:Kt}=Ke;return{[`&:not(${Nt}-customize-input) ${Nt}-selector`]:{borderWidth:`0 0 ${(0,je.unit)(Ke.lineWidth)} 0`,borderStyle:`none none ${Ke.lineType} none`,borderColor:Rt.borderColor,background:Ke.selectorBg,borderRadius:0},[`&:not(${Nt}-disabled):not(${Nt}-customize-input):not(${Kt}-pagination-size-changer)`]:{[`&:hover ${Nt}-selector`]:{borderColor:Rt.hoverBorderHover},[`${Nt}-focused& ${Nt}-selector`]:{borderColor:Rt.activeBorderColor,outline:0},[`${Nt}-prefix`]:{color:Rt.color}}}},Ze=(Ke,Rt)=>({[`&${Ke.componentCls}-status-${Rt.status}`]:Object.assign({},_e(Ke,Rt))}),tt=Ke=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(Ke,{borderColor:Ke.colorBorder,hoverBorderHover:Ke.hoverBorderColor,activeBorderColor:Ke.activeBorderColor,activeOutlineColor:Ke.activeOutlineColor,color:Ke.colorText})),Ze(Ke,{status:"error",borderColor:Ke.colorError,hoverBorderHover:Ke.colorErrorHover,activeBorderColor:Ke.colorError,activeOutlineColor:Ke.colorErrorOutline,color:Ke.colorError})),Ze(Ke,{status:"warning",borderColor:Ke.colorWarning,hoverBorderHover:Ke.colorWarningHover,activeBorderColor:Ke.colorWarning,activeOutlineColor:Ke.colorWarningOutline,color:Ke.colorWarning})),{[`&${Ke.componentCls}-disabled`]:{[`&:not(${Ke.componentCls}-customize-input) ${Ke.componentCls}-selector`]:{color:Ke.colorTextDisabled}},[`&${Ke.componentCls}-multiple ${Ke.componentCls}-selection-item`]:{background:Ke.multipleItemBg,border:`${(0,je.unit)(Ke.lineWidth)} ${Ke.lineType} ${Ke.multipleItemBorderColor}`}})});var rt=Ke=>({[Ke.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},Ge(Ke)),Qe(Ke)),He(Ke)),tt(Ke))});const It=Ke=>{const{componentCls:Rt}=Ke;return{position:"relative",transition:`all ${Ke.motionDurationMid} ${Ke.motionEaseInOut}`,input:{cursor:"pointer"},[`${Rt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Rt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},mt=Ke=>{const{componentCls:Rt}=Ke;return{[`${Rt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},ut=Ke=>{const{antCls:Rt,componentCls:Nt,inputPaddingHorizontalBase:Kt,iconCls:On}=Ke;return{[Nt]:Object.assign(Object.assign({},(0,b.Wf)(Ke)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Nt}-customize-input) ${Nt}-selector`]:Object.assign(Object.assign({},It(Ke)),mt(Ke)),[`${Nt}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${Rt}-typography`]:{display:"inline"}}),[`${Nt}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:Ke.colorTextPlaceholder,pointerEvents:"none"}),[`${Nt}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Kt,height:Ke.fontSizeIcon,marginTop:Ke.calc(Ke.fontSizeIcon).mul(-1).div(2).equal(),color:Ke.colorTextQuaternary,fontSize:Ke.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${Ke.motionDurationSlow} ease`,[On]:{verticalAlign:"top",transition:`transform ${Ke.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Nt}-suffix)`]:{pointerEvents:"auto"}},[`${Nt}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Nt}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Nt}-prefix`]:{flex:"none",marginInlineEnd:Ke.selectAffixPadding},[`${Nt}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Kt,zIndex:1,display:"inline-block",width:Ke.fontSizeIcon,height:Ke.fontSizeIcon,marginTop:Ke.calc(Ke.fontSizeIcon).mul(-1).div(2).equal(),color:Ke.colorTextQuaternary,fontSize:Ke.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${Ke.motionDurationMid} ease, opacity ${Ke.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:Ke.colorTextTertiary}},[`&:hover ${Nt}-clear`]:{opacity:1,background:Ke.colorBgBase,borderRadius:"50%"}}),[`${Nt}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Nt}-has-feedback`]:{[`${Nt}-clear`]:{insetInlineEnd:Ke.calc(Kt).add(Ke.fontSize).add(Ke.paddingXS).equal()}}}}}},Tt=Ke=>{const{componentCls:Rt}=Ke;return[{[Rt]:{[`&${Rt}-in-form-item`]:{width:"100%"}}},ut(Ke),xt(Ke),(0,xe.ZP)(Ke),Re(Ke),{[`${Rt}-rtl`]:{direction:"rtl"}},(0,he.c)(Ke,{borderElCls:`${Rt}-selector`,focusElCls:`${Rt}-focused`})]};var _t=(0,le.I$)("Select",(Ke,Rt)=>{let{rootPrefixCls:Nt}=Rt;const Kt=(0,pe.mergeToken)(Ke,{rootPrefixCls:Nt,inputPaddingHorizontalBase:Ke.calc(Ke.paddingSM).sub(1).equal(),multipleSelectItemHeight:Ke.multipleItemHeight,selectHeight:Ke.controlHeight});return[Tt(Kt),rt(Kt)]},nt,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Ce,ae,y){"use strict";y.d(ae,{_z:function(){return fe},gp:function(){return pe}});var b=y(36237),he=y(63356),le=y(51636);const pe=xe=>{const{multipleSelectItemHeight:je,paddingXXS:Fe,lineWidth:xt,INTERNAL_FIXED_ITEM_MARGIN:nt}=xe,et=xe.max(xe.calc(Fe).sub(xt).equal(),0),Je=xe.max(xe.calc(et).sub(nt).equal(),0);return{basePadding:et,containerPadding:Je,itemHeight:(0,b.unit)(je),itemLineHeight:(0,b.unit)(xe.calc(je).sub(xe.calc(xe.lineWidth).mul(2)).equal())}},be=xe=>{const{multipleSelectItemHeight:je,selectHeight:Fe,lineWidth:xt}=xe;return xe.calc(Fe).sub(je).div(2).sub(xt).equal()},fe=xe=>{const{componentCls:je,iconCls:Fe,borderRadiusSM:xt,motionDurationSlow:nt,paddingXS:et,multipleItemColorDisabled:Je,multipleItemBorderColorDisabled:Ge,colorIcon:We,colorIconHover:Ve,INTERNAL_FIXED_ITEM_MARGIN:Qe}=xe;return{[`${je}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${je}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Qe,borderRadius:xt,cursor:"default",transition:`font-size ${nt}, line-height ${nt}, height ${nt}`,marginInlineEnd:xe.calc(Qe).mul(2).equal(),paddingInlineStart:et,paddingInlineEnd:xe.calc(et).div(2).equal(),[`${je}-disabled&`]:{color:Je,borderColor:Ge,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:xe.calc(et).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,he.Ro)()),{display:"inline-flex",alignItems:"center",color:We,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Fe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ve}})}}}},we=(xe,je)=>{const{componentCls:Fe,INTERNAL_FIXED_ITEM_MARGIN:xt}=xe,nt=`${Fe}-selection-overflow`,et=xe.multipleSelectItemHeight,Je=be(xe),Ge=je?`${Fe}-${je}`:"",We=pe(xe);return{[`${Fe}-multiple${Ge}`]:Object.assign(Object.assign({},fe(xe)),{[`${Fe}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:We.basePadding,paddingBlock:We.containerPadding,borderRadius:xe.borderRadius,[`${Fe}-disabled&`]:{background:xe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(xt)} 0`,lineHeight:(0,b.unit)(et),visibility:"hidden",content:'"\\a0"'}},[`${Fe}-selection-item`]:{height:We.itemHeight,lineHeight:(0,b.unit)(We.itemLineHeight)},[`${Fe}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(et),marginBlock:xt}},[`${Fe}-prefix`]:{marginInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(We.basePadding).equal()},[`${nt}-item + ${nt}-item, + ${Tn}${Se}topLeft, + ${Tt}${Se}topLeft, + ${Tn}${Se}topRight, + ${Tt}${Se}topRight + `]:{animationName:be.Qt},[`${Ye}${Se}bottomLeft`]:{animationName:be.Uw},[` + ${Ye}${Se}topLeft, + ${Ye}${Se}topRight + `]:{animationName:be.ly},"&-hidden":{display:"none"},[Zt]:Object.assign(Object.assign({},we(qe)),{cursor:"pointer",transition:`background ${qe.motionDurationSlow} ease`,borderRadius:qe.borderRadiusSM,"&-group":{color:qe.colorTextDescription,fontSize:qe.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${Zt}-option-disabled)`]:{backgroundColor:qe.optionActiveBg},[`&-selected:not(${Zt}-option-disabled)`]:{color:qe.optionSelectedColor,fontWeight:qe.optionSelectedFontWeight,backgroundColor:qe.optionSelectedBg,[`${Zt}-option-state`]:{color:qe.colorPrimary}},"&-disabled":{[`&${Zt}-option-selected`]:{backgroundColor:qe.colorBgContainerDisabled},color:qe.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:qe.calc(qe.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},we(qe)),{color:qe.colorTextDisabled})}),[`${Qt}:has(+ ${Qt})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${Qt}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,be.oN)(qe,"slide-up"),(0,be.oN)(qe,"slide-down"),(0,fe.Fm)(qe,"move-up"),(0,fe.Fm)(qe,"move-down")]},xe=y(26743),Ge=y(36237);function Fe(qe,Jt){const{componentCls:Rt,inputPaddingHorizontalBase:Zt,borderRadius:Tn}=qe,Tt=qe.calc(qe.controlHeight).sub(qe.calc(qe.lineWidth).mul(2)).equal(),Ye=Jt?`${Rt}-${Jt}`:"";return{[`${Rt}-single${Ye}`]:{fontSize:qe.fontSize,height:qe.controlHeight,[`${Rt}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(qe,!0)),{display:"flex",borderRadius:Tn,flex:"1 1 auto",[`${Rt}-selection-wrap:after`]:{lineHeight:(0,Ge.unit)(Tt)},[`${Rt}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${Rt}-selection-item, + ${Rt}-selection-placeholder + `]:{display:"block",padding:0,lineHeight:(0,Ge.unit)(Tt),transition:`all ${qe.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${Rt}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${Rt}-selection-item:empty:after`,`${Rt}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${Rt}-show-arrow ${Rt}-selection-item, + &${Rt}-show-arrow ${Rt}-selection-search, + &${Rt}-show-arrow ${Rt}-selection-placeholder + `]:{paddingInlineEnd:qe.showArrowPaddingInlineEnd},[`&${Rt}-open ${Rt}-selection-item`]:{color:qe.colorTextPlaceholder},[`&:not(${Rt}-customize-input)`]:{[`${Rt}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,Ge.unit)(Zt)}`,[`${Rt}-selection-search-input`]:{height:Tt,fontSize:qe.fontSize},"&:after":{lineHeight:(0,Ge.unit)(Tt)}}},[`&${Rt}-customize-input`]:{[`${Rt}-selector`]:{"&:after":{display:"none"},[`${Rt}-selection-search`]:{position:"static",width:"100%"},[`${Rt}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,Ge.unit)(Zt)}`,"&:after":{display:"none"}}}}}}}function At(qe){const{componentCls:Jt}=qe,Rt=qe.calc(qe.controlPaddingHorizontalSM).sub(qe.lineWidth).equal();return[Fe(qe),Fe((0,pe.mergeToken)(qe,{controlHeight:qe.controlHeightSM,borderRadius:qe.borderRadiusSM}),"sm"),{[`${Jt}-single${Jt}-sm`]:{[`&:not(${Jt}-customize-input)`]:{[`${Jt}-selector`]:{padding:`0 ${(0,Ge.unit)(Rt)}`},[`&${Jt}-show-arrow ${Jt}-selection-search`]:{insetInlineEnd:qe.calc(Rt).add(qe.calc(qe.fontSize).mul(1.5)).equal()},[` + &${Jt}-show-arrow ${Jt}-selection-item, + &${Jt}-show-arrow ${Jt}-selection-placeholder + `]:{paddingInlineEnd:qe.calc(qe.fontSize).mul(1.5).equal()}}}},Fe((0,pe.mergeToken)(qe,{controlHeight:qe.singleItemHeightLG,fontSize:qe.fontSizeLG,borderRadius:qe.borderRadiusLG}),"lg")]}const at=qe=>{const{fontSize:Jt,lineHeight:Rt,lineWidth:Zt,controlHeight:Tn,controlHeightSM:Tt,controlHeightLG:Ye,paddingXXS:Se,controlPaddingHorizontal:Qt,zIndexPopupBase:on,colorText:st,fontWeightStrong:Ut,controlItemBgActive:Gt,controlItemBgHover:On,colorBgContainer:ft,colorFillSecondary:En,colorBgContainerDisabled:Ht,colorTextDisabled:gn,colorPrimaryHover:un,colorPrimary:De,controlOutline:he}=qe,ce=Se*2,Te=Zt*2,je=Math.min(Tn-ce,Tn-Te),ge=Math.min(Tt-ce,Tt-Te),Pe=Math.min(Ye-ce,Ye-Te);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(Se/2),zIndexPopup:on+50,optionSelectedColor:st,optionSelectedFontWeight:Ut,optionSelectedBg:Gt,optionActiveBg:On,optionPadding:`${(Tn-Jt*Rt)/2}px ${Qt}px`,optionFontSize:Jt,optionLineHeight:Rt,optionHeight:Tn,selectorBg:ft,clearBg:ft,singleItemHeightLG:Ye,multipleItemBg:En,multipleItemBorderColor:"transparent",multipleItemHeight:je,multipleItemHeightSM:ge,multipleItemHeightLG:Pe,multipleSelectorBgDisabled:Ht,multipleItemColorDisabled:gn,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(qe.fontSize*1.25),hoverBorderColor:un,activeBorderColor:De,activeOutlineColor:he,selectAffixPadding:Se}},tt=(qe,Jt)=>{const{componentCls:Rt,antCls:Zt,controlOutlineWidth:Tn}=qe;return{[`&:not(${Rt}-customize-input) ${Rt}-selector`]:{border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${Jt.borderColor}`,background:qe.selectorBg},[`&:not(${Rt}-disabled):not(${Rt}-customize-input):not(${Zt}-pagination-size-changer)`]:{[`&:hover ${Rt}-selector`]:{borderColor:Jt.hoverBorderHover},[`${Rt}-focused& ${Rt}-selector`]:{borderColor:Jt.activeBorderColor,boxShadow:`0 0 0 ${(0,Ge.unit)(Tn)} ${Jt.activeOutlineColor}`,outline:0},[`${Rt}-prefix`]:{color:Jt.color}}}},Je=(qe,Jt)=>({[`&${qe.componentCls}-status-${Jt.status}`]:Object.assign({},tt(qe,Jt))}),We=qe=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},tt(qe,{borderColor:qe.colorBorder,hoverBorderHover:qe.hoverBorderColor,activeBorderColor:qe.activeBorderColor,activeOutlineColor:qe.activeOutlineColor,color:qe.colorText})),Je(qe,{status:"error",borderColor:qe.colorError,hoverBorderHover:qe.colorErrorHover,activeBorderColor:qe.colorError,activeOutlineColor:qe.colorErrorOutline,color:qe.colorError})),Je(qe,{status:"warning",borderColor:qe.colorWarning,hoverBorderHover:qe.colorWarningHover,activeBorderColor:qe.colorWarning,activeOutlineColor:qe.colorWarningOutline,color:qe.colorWarning})),{[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{background:qe.colorBgContainerDisabled,color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.multipleItemBg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.multipleItemBorderColor}`}})}),Ve=(qe,Jt)=>{const{componentCls:Rt,antCls:Zt}=qe;return{[`&:not(${Rt}-customize-input) ${Rt}-selector`]:{background:Jt.bg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} transparent`,color:Jt.color},[`&:not(${Rt}-disabled):not(${Rt}-customize-input):not(${Zt}-pagination-size-changer)`]:{[`&:hover ${Rt}-selector`]:{background:Jt.hoverBg},[`${Rt}-focused& ${Rt}-selector`]:{background:qe.selectorBg,borderColor:Jt.activeBorderColor,outline:0}}}},Ze=(qe,Jt)=>({[`&${qe.componentCls}-status-${Jt.status}`]:Object.assign({},Ve(qe,Jt))}),Qe=qe=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},Ve(qe,{bg:qe.colorFillTertiary,hoverBg:qe.colorFillSecondary,activeBorderColor:qe.activeBorderColor,color:qe.colorText})),Ze(qe,{status:"error",bg:qe.colorErrorBg,hoverBg:qe.colorErrorBgHover,activeBorderColor:qe.colorError,color:qe.colorError})),Ze(qe,{status:"warning",bg:qe.colorWarningBg,hoverBg:qe.colorWarningBgHover,activeBorderColor:qe.colorWarning,color:qe.colorWarning})),{[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{borderColor:qe.colorBorder,background:qe.colorBgContainerDisabled,color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.colorBgContainer,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.colorSplit}`}})}),ze=qe=>({"&-borderless":{[`${qe.componentCls}-selector`]:{background:"transparent",border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} transparent`},[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.multipleItemBg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.multipleItemBorderColor}`},[`&${qe.componentCls}-status-error`]:{[`${qe.componentCls}-prefix, ${qe.componentCls}-selection-item`]:{color:qe.colorError}},[`&${qe.componentCls}-status-warning`]:{[`${qe.componentCls}-prefix, ${qe.componentCls}-selection-item`]:{color:qe.colorWarning}}}}),_e=(qe,Jt)=>{const{componentCls:Rt,antCls:Zt}=qe;return{[`&:not(${Rt}-customize-input) ${Rt}-selector`]:{borderWidth:`0 0 ${(0,Ge.unit)(qe.lineWidth)} 0`,borderStyle:`none none ${qe.lineType} none`,borderColor:Jt.borderColor,background:qe.selectorBg,borderRadius:0},[`&:not(${Rt}-disabled):not(${Rt}-customize-input):not(${Zt}-pagination-size-changer)`]:{[`&:hover ${Rt}-selector`]:{borderColor:Jt.hoverBorderHover},[`${Rt}-focused& ${Rt}-selector`]:{borderColor:Jt.activeBorderColor,outline:0},[`${Rt}-prefix`]:{color:Jt.color}}}},$e=(qe,Jt)=>({[`&${qe.componentCls}-status-${Jt.status}`]:Object.assign({},_e(qe,Jt))}),nt=qe=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},_e(qe,{borderColor:qe.colorBorder,hoverBorderHover:qe.hoverBorderColor,activeBorderColor:qe.activeBorderColor,activeOutlineColor:qe.activeOutlineColor,color:qe.colorText})),$e(qe,{status:"error",borderColor:qe.colorError,hoverBorderHover:qe.colorErrorHover,activeBorderColor:qe.colorError,activeOutlineColor:qe.colorErrorOutline,color:qe.colorError})),$e(qe,{status:"warning",borderColor:qe.colorWarning,hoverBorderHover:qe.colorWarningHover,activeBorderColor:qe.colorWarning,activeOutlineColor:qe.colorWarningOutline,color:qe.colorWarning})),{[`&${qe.componentCls}-disabled`]:{[`&:not(${qe.componentCls}-customize-input) ${qe.componentCls}-selector`]:{color:qe.colorTextDisabled}},[`&${qe.componentCls}-multiple ${qe.componentCls}-selection-item`]:{background:qe.multipleItemBg,border:`${(0,Ge.unit)(qe.lineWidth)} ${qe.lineType} ${qe.multipleItemBorderColor}`}})});var it=qe=>({[qe.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},We(qe)),Qe(qe)),ze(qe)),nt(qe))});const Nt=qe=>{const{componentCls:Jt}=qe;return{position:"relative",transition:`all ${qe.motionDurationMid} ${qe.motionEaseInOut}`,input:{cursor:"pointer"},[`${Jt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${Jt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},vt=qe=>{const{componentCls:Jt}=qe;return{[`${Jt}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},dt=qe=>{const{antCls:Jt,componentCls:Rt,inputPaddingHorizontalBase:Zt,iconCls:Tn}=qe;return{[Rt]:Object.assign(Object.assign({},(0,b.Wf)(qe)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${Rt}-customize-input) ${Rt}-selector`]:Object.assign(Object.assign({},Nt(qe)),vt(qe)),[`${Rt}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},b.vS),{[`> ${Jt}-typography`]:{display:"inline"}}),[`${Rt}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:qe.colorTextPlaceholder,pointerEvents:"none"}),[`${Rt}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Zt,height:qe.fontSizeIcon,marginTop:qe.calc(qe.fontSizeIcon).mul(-1).div(2).equal(),color:qe.colorTextQuaternary,fontSize:qe.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${qe.motionDurationSlow} ease`,[Tn]:{verticalAlign:"top",transition:`transform ${qe.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${Rt}-suffix)`]:{pointerEvents:"auto"}},[`${Rt}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${Rt}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${Rt}-prefix`]:{flex:"none",marginInlineEnd:qe.selectAffixPadding},[`${Rt}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:Zt,zIndex:1,display:"inline-block",width:qe.fontSizeIcon,height:qe.fontSizeIcon,marginTop:qe.calc(qe.fontSizeIcon).mul(-1).div(2).equal(),color:qe.colorTextQuaternary,fontSize:qe.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${qe.motionDurationMid} ease, opacity ${qe.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:qe.colorTextTertiary}},[`&:hover ${Rt}-clear`]:{opacity:1,background:qe.colorBgBase,borderRadius:"50%"}}),[`${Rt}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${Rt}-has-feedback`]:{[`${Rt}-clear`]:{insetInlineEnd:qe.calc(Zt).add(qe.fontSize).add(qe.paddingXS).equal()}}}}}},It=qe=>{const{componentCls:Jt}=qe;return[{[Jt]:{[`&${Jt}-in-form-item`]:{width:"100%"}}},dt(qe),At(qe),(0,xe.ZP)(qe),Re(qe),{[`${Jt}-rtl`]:{direction:"rtl"}},(0,me.c)(qe,{borderElCls:`${Jt}-selector`,focusElCls:`${Jt}-focused`})]};var St=(0,le.I$)("Select",(qe,Jt)=>{let{rootPrefixCls:Rt}=Jt;const Zt=(0,pe.mergeToken)(qe,{rootPrefixCls:Rt,inputPaddingHorizontalBase:qe.calc(qe.paddingSM).sub(1).equal(),multipleSelectItemHeight:qe.multipleItemHeight,selectHeight:qe.controlHeight});return[It(Zt),it(Zt)]},at,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Ce,ae,y){"use strict";y.d(ae,{_z:function(){return fe},gp:function(){return pe}});var b=y(36237),me=y(63356),le=y(51636);const pe=xe=>{const{multipleSelectItemHeight:Ge,paddingXXS:Fe,lineWidth:At,INTERNAL_FIXED_ITEM_MARGIN:at}=xe,tt=xe.max(xe.calc(Fe).sub(At).equal(),0),Je=xe.max(xe.calc(tt).sub(at).equal(),0);return{basePadding:tt,containerPadding:Je,itemHeight:(0,b.unit)(Ge),itemLineHeight:(0,b.unit)(xe.calc(Ge).sub(xe.calc(xe.lineWidth).mul(2)).equal())}},be=xe=>{const{multipleSelectItemHeight:Ge,selectHeight:Fe,lineWidth:At}=xe;return xe.calc(Fe).sub(Ge).div(2).sub(At).equal()},fe=xe=>{const{componentCls:Ge,iconCls:Fe,borderRadiusSM:At,motionDurationSlow:at,paddingXS:tt,multipleItemColorDisabled:Je,multipleItemBorderColorDisabled:We,colorIcon:Ve,colorIconHover:Ze,INTERNAL_FIXED_ITEM_MARGIN:Qe}=xe;return{[`${Ge}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${Ge}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:Qe,borderRadius:At,cursor:"default",transition:`font-size ${at}, line-height ${at}, height ${at}`,marginInlineEnd:xe.calc(Qe).mul(2).equal(),paddingInlineStart:tt,paddingInlineEnd:xe.calc(tt).div(2).equal(),[`${Ge}-disabled&`]:{color:Je,borderColor:We,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:xe.calc(tt).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,me.Ro)()),{display:"inline-flex",alignItems:"center",color:Ve,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${Fe}`]:{verticalAlign:"-0.2em"},"&:hover":{color:Ze}})}}}},we=(xe,Ge)=>{const{componentCls:Fe,INTERNAL_FIXED_ITEM_MARGIN:At}=xe,at=`${Fe}-selection-overflow`,tt=xe.multipleSelectItemHeight,Je=be(xe),We=Ge?`${Fe}-${Ge}`:"",Ve=pe(xe);return{[`${Fe}-multiple${We}`]:Object.assign(Object.assign({},fe(xe)),{[`${Fe}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:Ve.basePadding,paddingBlock:Ve.containerPadding,borderRadius:xe.borderRadius,[`${Fe}-disabled&`]:{background:xe.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,b.unit)(At)} 0`,lineHeight:(0,b.unit)(tt),visibility:"hidden",content:'"\\a0"'}},[`${Fe}-selection-item`]:{height:Ve.itemHeight,lineHeight:(0,b.unit)(Ve.itemLineHeight)},[`${Fe}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,b.unit)(tt),marginBlock:At}},[`${Fe}-prefix`]:{marginInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(Ve.basePadding).equal()},[`${at}-item + ${at}-item, ${Fe}-prefix + ${Fe}-selection-wrap - `]:{[`${Fe}-selection-search`]:{marginInlineStart:0},[`${Fe}-selection-placeholder`]:{insetInlineStart:0}},[`${nt}-item-suffix`]:{minHeight:We.itemHeight,marginBlock:xt},[`${Fe}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(Je).equal(),"\n &-input,\n &-mirror\n ":{height:et,fontFamily:xe.fontFamily,lineHeight:(0,b.unit)(et),transition:`all ${xe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Fe}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(We.basePadding).equal(),insetInlineEnd:xe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${xe.motionDurationSlow}`}})}};function Oe(xe,je){const{componentCls:Fe}=xe,xt=je?`${Fe}-${je}`:"",nt={[`${Fe}-multiple${xt}`]:{fontSize:xe.fontSize,[`${Fe}-selector`]:{[`${Fe}-show-search&`]:{cursor:"text"}},[` + `]:{[`${Fe}-selection-search`]:{marginInlineStart:0},[`${Fe}-selection-placeholder`]:{insetInlineStart:0}},[`${at}-item-suffix`]:{minHeight:Ve.itemHeight,marginBlock:At},[`${Fe}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(Je).equal(),"\n &-input,\n &-mirror\n ":{height:tt,fontFamily:xe.fontFamily,lineHeight:(0,b.unit)(tt),transition:`all ${xe.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${Fe}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:xe.calc(xe.inputPaddingHorizontalBase).sub(Ve.basePadding).equal(),insetInlineEnd:xe.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${xe.motionDurationSlow}`}})}};function Oe(xe,Ge){const{componentCls:Fe}=xe,At=Ge?`${Fe}-${Ge}`:"",at={[`${Fe}-multiple${At}`]:{fontSize:xe.fontSize,[`${Fe}-selector`]:{[`${Fe}-show-search&`]:{cursor:"text"}},[` &${Fe}-show-arrow ${Fe}-selector, &${Fe}-allow-clear ${Fe}-selector - `]:{paddingInlineEnd:xe.calc(xe.fontSizeIcon).add(xe.controlPaddingHorizontal).equal()}}};return[we(xe,je),nt]}const Re=xe=>{const{componentCls:je}=xe,Fe=(0,le.mergeToken)(xe,{selectHeight:xe.controlHeightSM,multipleSelectItemHeight:xe.multipleItemHeightSM,borderRadius:xe.borderRadiusSM,borderRadiusSM:xe.borderRadiusXS}),xt=(0,le.mergeToken)(xe,{fontSize:xe.fontSizeLG,selectHeight:xe.controlHeightLG,multipleSelectItemHeight:xe.multipleItemHeightLG,borderRadius:xe.borderRadiusLG,borderRadiusSM:xe.borderRadius});return[Oe(xe),Oe(Fe,"sm"),{[`${je}-multiple${je}-sm`]:{[`${je}-selection-placeholder`]:{insetInline:xe.calc(xe.controlPaddingHorizontalSM).sub(xe.lineWidth).equal()},[`${je}-selection-search`]:{marginInlineStart:2}}},Oe(xt,"lg")]};ae.ZP=Re},68525:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(59301),he=y(40001),le=y(19248),pe=y(99267),be=y(84105),fe=y(58617),we=y(47472);function Oe(Re){let{suffixIcon:xe,clearIcon:je,menuItemSelectedIcon:Fe,removeIcon:xt,loading:nt,multiple:et,hasFeedback:Je,prefixCls:Ge,showSuffixIcon:We,feedbackIcon:Ve,showArrow:Qe,componentName:He}=Re;const _e=je!=null?je:b.createElement(le.Z,null),Ze=It=>xe===null&&!Je&&!Qe?null:b.createElement(b.Fragment,null,We!==!1&&It,Je&&Ve);let tt=null;if(xe!==void 0)tt=Ze(xe);else if(nt)tt=Ze(b.createElement(fe.Z,{spin:!0}));else{const It=`${Ge}-suffix`;tt=mt=>{let{open:ut,showSearch:Tt}=mt;return Ze(ut&&Tt?b.createElement(we.Z,{className:It}):b.createElement(be.Z,{className:It}))}}let gt=null;Fe!==void 0?gt=Fe:et?gt=b.createElement(he.Z,null):gt=null;let rt=null;return xt!==void 0?rt=xt:rt=b.createElement(pe.Z,null),{clearIcon:_e,suffixIcon:tt,itemIcon:gt,removeIcon:rt}}},90005:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return b}});function b(he,le){return le!==void 0?le:he!==null}},58755:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Rt}});var b=y(59301),he=y(58617),le=y(92310),pe=y.n(le),be=y(60499),fe=y(18642),we=y(72190),Oe=y(42244),Re=y(18929),xe=y(10228),je=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Fe=b.forwardRef(function(Nt,Kt){var On,wt=Nt.prefixCls,$e=wt===void 0?"rc-switch":wt,Ee=Nt.className,en=Nt.checked,on=Nt.defaultChecked,it=Nt.disabled,Ht=Nt.loadingIcon,Yt=Nt.checkedChildren,Rn=Nt.unCheckedChildren,ct=Nt.onClick,Sn=Nt.onChange,Zt=Nt.onKeyDown,vn=(0,Oe.Z)(Nt,je),un=(0,Re.Z)(!1,{value:en,defaultValue:on}),De=(0,we.Z)(un,2),me=De[0],ce=De[1];function Te(ot,Qt){var At=me;return it||(At=ot,ce(At),Sn==null||Sn(At,Qt)),At}function Ue(ot){ot.which===xe.Z.LEFT?Te(!1,ot):ot.which===xe.Z.RIGHT&&Te(!0,ot),Zt==null||Zt(ot)}function ge(ot){var Qt=Te(!me,ot);ct==null||ct(Qt,ot)}var Me=pe()($e,Ee,(On={},(0,fe.Z)(On,"".concat($e,"-checked"),me),(0,fe.Z)(On,"".concat($e,"-disabled"),it),On));return b.createElement("button",(0,be.Z)({},vn,{type:"button",role:"switch","aria-checked":me,disabled:it,className:Me,ref:Kt,onKeyDown:Ue,onClick:ge}),Ht,b.createElement("span",{className:"".concat($e,"-inner")},b.createElement("span",{className:"".concat($e,"-inner-checked")},Yt),b.createElement("span",{className:"".concat($e,"-inner-unchecked")},Rn)))});Fe.displayName="Switch";var xt=Fe,nt=y(12919),et=y(48755),Je=y(2171),Ge=y(31756),We=y(36237),Ve=y(17835),Qe=y(63356),He=y(16931),_e=y(51636);const Ze=Nt=>{const{componentCls:Kt,trackHeightSM:On,trackPadding:wt,trackMinWidthSM:$e,innerMinMarginSM:Ee,innerMaxMarginSM:en,handleSizeSM:on,calc:it}=Nt,Ht=`${Kt}-inner`,Yt=(0,We.unit)(it(on).add(it(wt).mul(2)).equal()),Rn=(0,We.unit)(it(en).mul(2).equal());return{[Kt]:{[`&${Kt}-small`]:{minWidth:$e,height:On,lineHeight:(0,We.unit)(On),[`${Kt}-inner`]:{paddingInlineStart:en,paddingInlineEnd:Ee,[`${Ht}-checked, ${Ht}-unchecked`]:{minHeight:On},[`${Ht}-checked`]:{marginInlineStart:`calc(-100% + ${Yt} - ${Rn})`,marginInlineEnd:`calc(100% - ${Yt} + ${Rn})`},[`${Ht}-unchecked`]:{marginTop:it(On).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Kt}-handle`]:{width:on,height:on},[`${Kt}-loading-icon`]:{top:it(it(on).sub(Nt.switchLoadingIconSize)).div(2).equal(),fontSize:Nt.switchLoadingIconSize},[`&${Kt}-checked`]:{[`${Kt}-inner`]:{paddingInlineStart:Ee,paddingInlineEnd:en,[`${Ht}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ht}-unchecked`]:{marginInlineStart:`calc(100% - ${Yt} + ${Rn})`,marginInlineEnd:`calc(-100% + ${Yt} - ${Rn})`}},[`${Kt}-handle`]:{insetInlineStart:`calc(100% - ${(0,We.unit)(it(on).add(wt).equal())})`}},[`&:not(${Kt}-disabled):active`]:{[`&:not(${Kt}-checked) ${Ht}`]:{[`${Ht}-unchecked`]:{marginInlineStart:it(Nt.marginXXS).div(2).equal(),marginInlineEnd:it(Nt.marginXXS).mul(-1).div(2).equal()}},[`&${Kt}-checked ${Ht}`]:{[`${Ht}-checked`]:{marginInlineStart:it(Nt.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:it(Nt.marginXXS).div(2).equal()}}}}}}},tt=Nt=>{const{componentCls:Kt,handleSize:On,calc:wt}=Nt;return{[Kt]:{[`${Kt}-loading-icon${Nt.iconCls}`]:{position:"relative",top:wt(wt(On).sub(Nt.fontSize)).div(2).equal(),color:Nt.switchLoadingIconColor,verticalAlign:"top"},[`&${Kt}-checked ${Kt}-loading-icon`]:{color:Nt.switchColor}}}},gt=Nt=>{const{componentCls:Kt,trackPadding:On,handleBg:wt,handleShadow:$e,handleSize:Ee,calc:en}=Nt,on=`${Kt}-handle`;return{[Kt]:{[on]:{position:"absolute",top:On,insetInlineStart:On,width:Ee,height:Ee,transition:`all ${Nt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:wt,borderRadius:en(Ee).div(2).equal(),boxShadow:$e,transition:`all ${Nt.switchDuration} ease-in-out`,content:'""'}},[`&${Kt}-checked ${on}`]:{insetInlineStart:`calc(100% - ${(0,We.unit)(en(Ee).add(On).equal())})`},[`&:not(${Kt}-disabled):active`]:{[`${on}::before`]:{insetInlineEnd:Nt.switchHandleActiveInset,insetInlineStart:0},[`&${Kt}-checked ${on}::before`]:{insetInlineEnd:0,insetInlineStart:Nt.switchHandleActiveInset}}}}},rt=Nt=>{const{componentCls:Kt,trackHeight:On,trackPadding:wt,innerMinMargin:$e,innerMaxMargin:Ee,handleSize:en,calc:on}=Nt,it=`${Kt}-inner`,Ht=(0,We.unit)(on(en).add(on(wt).mul(2)).equal()),Yt=(0,We.unit)(on(Ee).mul(2).equal());return{[Kt]:{[it]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Ee,paddingInlineEnd:$e,transition:`padding-inline-start ${Nt.switchDuration} ease-in-out, padding-inline-end ${Nt.switchDuration} ease-in-out`,[`${it}-checked, ${it}-unchecked`]:{display:"block",color:Nt.colorTextLightSolid,fontSize:Nt.fontSizeSM,transition:`margin-inline-start ${Nt.switchDuration} ease-in-out, margin-inline-end ${Nt.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:On},[`${it}-checked`]:{marginInlineStart:`calc(-100% + ${Ht} - ${Yt})`,marginInlineEnd:`calc(100% - ${Ht} + ${Yt})`},[`${it}-unchecked`]:{marginTop:on(On).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Kt}-checked ${it}`]:{paddingInlineStart:$e,paddingInlineEnd:Ee,[`${it}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${it}-unchecked`]:{marginInlineStart:`calc(100% - ${Ht} + ${Yt})`,marginInlineEnd:`calc(-100% + ${Ht} - ${Yt})`}},[`&:not(${Kt}-disabled):active`]:{[`&:not(${Kt}-checked) ${it}`]:{[`${it}-unchecked`]:{marginInlineStart:on(wt).mul(2).equal(),marginInlineEnd:on(wt).mul(-1).mul(2).equal()}},[`&${Kt}-checked ${it}`]:{[`${it}-checked`]:{marginInlineStart:on(wt).mul(-1).mul(2).equal(),marginInlineEnd:on(wt).mul(2).equal()}}}}}},It=Nt=>{const{componentCls:Kt,trackHeight:On,trackMinWidth:wt}=Nt;return{[Kt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Nt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:wt,height:On,lineHeight:(0,We.unit)(On),verticalAlign:"middle",background:Nt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Nt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Kt}-disabled)`]:{background:Nt.colorTextTertiary}}),(0,Qe.Qy)(Nt)),{[`&${Kt}-checked`]:{background:Nt.switchColor,[`&:hover:not(${Kt}-disabled)`]:{background:Nt.colorPrimaryHover}},[`&${Kt}-loading, &${Kt}-disabled`]:{cursor:"not-allowed",opacity:Nt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Kt}-rtl`]:{direction:"rtl"}})}},mt=Nt=>{const{fontSize:Kt,lineHeight:On,controlHeight:wt,colorWhite:$e}=Nt,Ee=Kt*On,en=wt/2,on=2,it=Ee-on*2,Ht=en-on*2;return{trackHeight:Ee,trackHeightSM:en,trackMinWidth:it*2+on*4,trackMinWidthSM:Ht*2+on*2,trackPadding:on,handleBg:$e,handleSize:it,handleSizeSM:Ht,handleShadow:`0 2px 4px 0 ${new Ve.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:it/2,innerMaxMargin:it+on+on*2,innerMinMarginSM:Ht/2,innerMaxMarginSM:Ht+on+on*2}};var ut=(0,He.I$)("Switch",Nt=>{const Kt=(0,_e.mergeToken)(Nt,{switchDuration:Nt.motionDurationMid,switchColor:Nt.colorPrimary,switchDisabledOpacity:Nt.opacityLoading,switchLoadingIconSize:Nt.calc(Nt.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Nt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[It(Kt),rt(Kt),gt(Kt),tt(Kt),Ze(Kt)]},mt),Tt=function(Nt,Kt){var On={};for(var wt in Nt)Object.prototype.hasOwnProperty.call(Nt,wt)&&Kt.indexOf(wt)<0&&(On[wt]=Nt[wt]);if(Nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,wt=Object.getOwnPropertySymbols(Nt);$e{const{prefixCls:On,size:wt,disabled:$e,loading:Ee,className:en,rootClassName:on,style:it,checked:Ht,value:Yt,defaultChecked:Rn,defaultValue:ct,onChange:Sn}=Nt,Zt=Tt(Nt,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[vn,un]=(0,Re.Z)(!1,{value:Ht!=null?Ht:Yt,defaultValue:Rn!=null?Rn:ct}),{getPrefixCls:De,direction:me,switch:ce}=b.useContext(et.E_),Te=b.useContext(Je.Z),Ue=($e!=null?$e:Te)||Ee,ge=De("switch",On),Me=b.createElement("div",{className:`${ge}-handle`},Ee&&b.createElement(he.Z,{className:`${ge}-loading-icon`})),[ot,Qt,At]=ut(ge),vt=(0,Ge.Z)(wt),Ct=pe()(ce==null?void 0:ce.className,{[`${ge}-small`]:vt==="small",[`${ge}-loading`]:Ee,[`${ge}-rtl`]:me==="rtl"},en,on,Qt,At),Ut=Object.assign(Object.assign({},ce==null?void 0:ce.style),it),$t=function(){un(arguments.length<=0?void 0:arguments[0]),Sn==null||Sn.apply(void 0,arguments)};return ot(b.createElement(nt.Z,{component:"Switch"},b.createElement(xt,Object.assign({},Zt,{checked:vn,onChange:$t,prefixCls:ge,className:Ct,style:Ut,disabled:Ue,ref:Kt,loadingIcon:Me}))))});Ke.__ANT_SWITCH=!0;var Rt=Ke},18287:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return on}});var b=y(87632),he=y(77654),le=y(59301),pe=y(52671),be=y(8657),fe=y(60499),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Oe=we,Re=y(7657),xe=function(Ht,Yt){return le.createElement(Re.Z,(0,fe.Z)({},Ht,{ref:Yt,icon:Oe}))},je=le.forwardRef(xe),Fe=je,xt=y(92310),nt=y.n(xt),et=y(82661),Je=y(34061),Ge=y(48755),We=y(56082),Ve=y(86641),Qe=y(57700),He=y(12425);const _e=4;function Ze(it){const{dropPosition:Ht,dropLevelOffset:Yt,prefixCls:Rn,indent:ct,direction:Sn="ltr"}=it,Zt=Sn==="ltr"?"left":"right",vn=Sn==="ltr"?"right":"left",un={[Zt]:-Yt*ct+_e,[vn]:0};switch(Ht){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[Zt]=ct+_e;break}return le.createElement("div",{style:un,className:`${Rn}-drop-indicator`})}var tt=Ze,gt=y(85278),It=le.forwardRef((it,Ht)=>{var Yt;const{getPrefixCls:Rn,direction:ct,virtual:Sn,tree:Zt}=le.useContext(Ge.E_),{prefixCls:vn,className:un,showIcon:De=!1,showLine:me,switcherIcon:ce,switcherLoadingIcon:Te,blockNode:Ue=!1,children:ge,checkable:Me=!1,selectable:ot=!0,draggable:Qt,motion:At,style:vt}=it,Ct=Rn("tree",vn),Ut=Rn(),$t=At!=null?At:Object.assign(Object.assign({},(0,Ve.Z)(Ut)),{motionAppear:!1}),fn=Object.assign(Object.assign({},it),{checkable:Me,selectable:ot,showIcon:De,motion:$t,blockNode:Ue,showLine:!!me,dropIndicatorRender:tt}),[dn,Bt,Mn]=(0,He.ZP)(Ct),[,Dn]=(0,Qe.ZP)(),Cn=Dn.paddingXS/2+(((Yt=Dn.Tree)===null||Yt===void 0?void 0:Yt.titleHeight)||Dn.controlHeightSM),sn=le.useMemo(()=>{if(!Qt)return!1;let xn={};switch(typeof Qt){case"function":xn.nodeDraggable=Qt;break;case"object":xn=Object.assign({},Qt);break;default:break}return xn.icon!==!1&&(xn.icon=xn.icon||le.createElement(We.Z,null)),xn},[Qt]),An=xn=>le.createElement(gt.Z,{prefixCls:Ct,switcherIcon:ce,switcherLoadingIcon:Te,treeNodeProps:xn,showLine:me});return dn(le.createElement(b.ZP,Object.assign({itemHeight:Cn,ref:Ht,virtual:Sn},fn,{style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),vt),prefixCls:Ct,className:nt()({[`${Ct}-icon-hide`]:!De,[`${Ct}-block-node`]:Ue,[`${Ct}-unselectable`]:!ot,[`${Ct}-rtl`]:ct==="rtl"},Zt==null?void 0:Zt.className,un,Bt,Mn),direction:ct,checkable:Me&&le.createElement("span",{className:`${Ct}-checkbox-inner`}),selectable:ot,switcherIcon:An,draggable:sn}),ge))});const mt=0,ut=1,Tt=2;function _t(it,Ht,Yt){const{key:Rn,children:ct}=Yt;function Sn(Zt){const vn=Zt[Rn],un=Zt[ct];Ht(vn,Zt)!==!1&&_t(un||[],Ht,Yt)}it.forEach(Sn)}function Ke(it){let{treeData:Ht,expandedKeys:Yt,startKey:Rn,endKey:ct,fieldNames:Sn}=it;const Zt=[];let vn=mt;if(Rn&&Rn===ct)return[Rn];if(!Rn||!ct)return[];function un(De){return De===Rn||De===ct}return _t(Ht,De=>{if(vn===Tt)return!1;if(un(De)){if(Zt.push(De),vn===mt)vn=ut;else if(vn===ut)return vn=Tt,!1}else vn===ut&&Zt.push(De);return Yt.includes(De)},(0,Je.w$)(Sn)),Zt}function Rt(it,Ht,Yt){const Rn=(0,he.Z)(Ht),ct=[];return _t(it,(Sn,Zt)=>{const vn=Rn.indexOf(Sn);return vn!==-1&&(ct.push(Zt),Rn.splice(vn,1)),!!Rn.length},(0,Je.w$)(Yt)),ct}var Nt=function(it,Ht){var Yt={};for(var Rn in it)Object.prototype.hasOwnProperty.call(it,Rn)&&Ht.indexOf(Rn)<0&&(Yt[Rn]=it[Rn]);if(it!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ct=0,Rn=Object.getOwnPropertySymbols(it);ct{var{defaultExpandAll:Yt,defaultExpandParent:Rn,defaultExpandedKeys:ct}=it,Sn=Nt(it,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Zt=le.useRef(null),vn=le.useRef(null),un=()=>{const{keyEntities:dn}=(0,Je.I8)(On(Sn));let Bt;return Yt?Bt=Object.keys(dn):Rn?Bt=(0,et.r7)(Sn.expandedKeys||ct||[],dn):Bt=Sn.expandedKeys||ct||[],Bt},[De,me]=le.useState(Sn.selectedKeys||Sn.defaultSelectedKeys||[]),[ce,Te]=le.useState(()=>un());le.useEffect(()=>{"selectedKeys"in Sn&&me(Sn.selectedKeys)},[Sn.selectedKeys]),le.useEffect(()=>{"expandedKeys"in Sn&&Te(Sn.expandedKeys)},[Sn.expandedKeys]);const Ue=(dn,Bt)=>{var Mn;return"expandedKeys"in Sn||Te(dn),(Mn=Sn.onExpand)===null||Mn===void 0?void 0:Mn.call(Sn,dn,Bt)},ge=(dn,Bt)=>{var Mn;const{multiple:Dn,fieldNames:Cn}=Sn,{node:sn,nativeEvent:An}=Bt,{key:xn=""}=sn,Lt=On(Sn),qt=Object.assign(Object.assign({},Bt),{selected:!0}),zt=(An==null?void 0:An.ctrlKey)||(An==null?void 0:An.metaKey),bn=An==null?void 0:An.shiftKey;let Et;Dn&&zt?(Et=dn,Zt.current=xn,vn.current=Et,qt.selectedNodes=Rt(Lt,Et,Cn)):Dn&&bn?(Et=Array.from(new Set([].concat((0,he.Z)(vn.current||[]),(0,he.Z)(Ke({treeData:Lt,expandedKeys:ce,startKey:xn,endKey:Zt.current,fieldNames:Cn}))))),qt.selectedNodes=Rt(Lt,Et,Cn)):(Et=[xn],Zt.current=xn,vn.current=Et,qt.selectedNodes=Rt(Lt,Et,Cn)),(Mn=Sn.onSelect)===null||Mn===void 0||Mn.call(Sn,Et,qt),"selectedKeys"in Sn||me(Et)},{getPrefixCls:Me,direction:ot}=le.useContext(Ge.E_),{prefixCls:Qt,className:At,showIcon:vt=!0,expandAction:Ct="click"}=Sn,Ut=Nt(Sn,["prefixCls","className","showIcon","expandAction"]),$t=Me("tree",Qt),fn=nt()(`${$t}-directory`,{[`${$t}-directory-rtl`]:ot==="rtl"},At);return le.createElement(It,Object.assign({icon:Kt,ref:Ht,blockNode:!0},Ut,{showIcon:vt,expandAction:Ct,prefixCls:$t,className:fn,expandedKeys:ce,selectedKeys:De,onSelect:ge,onExpand:Ue}))};var Ee=le.forwardRef(wt);const en=It;en.DirectoryTree=Ee,en.TreeNode=b.OF;var on=en},12425:function(Ce,ae,y){"use strict";y.d(ae,{ZP:function(){return et},Yk:function(){return Fe},TM:function(){return xt}});var b=y(36237),he=y(36170),le=y(63356),pe=y(34961),be=y(51636),fe=y(16931);const we=Je=>{let{treeCls:Ge,treeNodeCls:We,directoryNodeSelectedBg:Ve,directoryNodeSelectedColor:Qe,motionDurationMid:He,borderRadius:_e,controlItemBgHover:Ze}=Je;return{[`${Ge}${Ge}-directory ${We}`]:{[`${Ge}-node-content-wrapper`]:{position:"static",[`> *:not(${Ge}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${He}`,content:'""',borderRadius:_e},"&:hover:before":{background:Ze}},[`${Ge}-switcher, ${Ge}-checkbox, ${Ge}-draggable-icon`]:{zIndex:1},"&-selected":{[`${Ge}-switcher, ${Ge}-draggable-icon`]:{color:Qe},[`${Ge}-node-content-wrapper`]:{color:Qe,background:"transparent","&:before, &:hover:before":{background:Ve}}}}}},Oe=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Re=(Je,Ge)=>({[`.${Je}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${Ge.motionDurationSlow}`}}}),xe=(Je,Ge)=>({[`.${Je}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:Ge.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(Ge.lineWidthBold)} solid ${Ge.colorPrimary}`,borderRadius:"50%",content:'""'}}}),je=(Je,Ge)=>{const{treeCls:We,treeNodeCls:Ve,treeNodePadding:Qe,titleHeight:He,indentSize:_e,nodeSelectedBg:Ze,nodeHoverBg:tt,colorTextQuaternary:gt,controlItemBgActiveDisabled:rt}=Ge;return{[We]:Object.assign(Object.assign({},(0,le.Wf)(Ge)),{background:Ge.colorBgContainer,borderRadius:Ge.borderRadius,transition:`background-color ${Ge.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${We}-rtl ${We}-switcher_close ${We}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${We}-active-focused)`]:Object.assign({},(0,le.oN)(Ge)),[`${We}-list-holder-inner`]:{alignItems:"flex-start"},[`&${We}-block-node`]:{[`${We}-list-holder-inner`]:{alignItems:"stretch",[`${We}-node-content-wrapper`]:{flex:"auto"},[`${Ve}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${Ge.colorPrimary}`,opacity:0,animationName:Oe,animationDuration:Ge.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:Ge.borderRadius}}},[Ve]:{display:"flex",alignItems:"flex-start",marginBottom:Qe,lineHeight:(0,b.unit)(He),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Qe},[`&-disabled ${We}-node-content-wrapper`]:{color:Ge.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${We}-checkbox-disabled + ${We}-node-selected,&${Ve}-disabled${Ve}-selected ${We}-node-content-wrapper`]:{backgroundColor:rt},[`${We}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ve}-disabled)`]:{[`${We}-node-content-wrapper`]:{"&:hover":{color:Ge.nodeHoverColor}}},[`&-active ${We}-node-content-wrapper`]:{background:Ge.controlItemBgHover},[`&:not(${Ve}-disabled).filter-node ${We}-title`]:{color:Ge.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${We}-draggable-icon`]:{flexShrink:0,width:He,textAlign:"center",visibility:"visible",color:gt},[`&${Ve}-disabled ${We}-draggable-icon`]:{visibility:"hidden"}}},[`${We}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:_e}},[`${We}-draggable-icon`]:{visibility:"hidden"},[`${We}-switcher, ${We}-checkbox`]:{marginInlineEnd:Ge.calc(Ge.calc(He).sub(Ge.controlInteractiveSize)).div(2).equal()},[`${We}-switcher`]:Object.assign(Object.assign({},Re(Je,Ge)),{position:"relative",flex:"none",alignSelf:"stretch",width:He,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${Ge.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:He,height:He,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:Ge.borderRadius,transition:`all ${Ge.motionDurationSlow}`},[`&:not(${We}-switcher-noop):hover:before`]:{backgroundColor:Ge.colorBgTextHover},[`&_close ${We}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:Ge.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ge.calc(He).div(2).equal(),bottom:Ge.calc(Qe).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${Ge.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:Ge.calc(Ge.calc(He).div(2).equal()).mul(.8).equal(),height:Ge.calc(He).div(2).equal(),borderBottom:`1px solid ${Ge.colorBorder}`,content:'""'}}}),[`${We}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:He,paddingBlock:0,paddingInline:Ge.paddingXS,background:"transparent",borderRadius:Ge.borderRadius,cursor:"pointer",transition:`all ${Ge.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},xe(Je,Ge)),{"&:hover":{backgroundColor:tt},[`&${We}-node-selected`]:{color:Ge.nodeSelectedColor,backgroundColor:Ze},[`${We}-iconEle`]:{display:"inline-block",width:He,height:He,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${We}-unselectable ${We}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ve}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${Ge.colorPrimary}`},"&-show-line":{[`${We}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:Ge.calc(He).div(2).equal(),bottom:Ge.calc(Qe).mul(-1).equal(),borderInlineEnd:`1px solid ${Ge.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${We}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ve}-leaf-last ${We}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(Ge.calc(He).div(2).equal())} !important`}})}},Fe=function(Je,Ge){let We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ve=`.${Je}`,Qe=`${Ve}-treenode`,He=Ge.calc(Ge.paddingXS).div(2).equal(),_e=(0,be.mergeToken)(Ge,{treeCls:Ve,treeNodeCls:Qe,treeNodePadding:He});return[je(Je,_e),We&&we(_e)].filter(Boolean)},xt=Je=>{const{controlHeightSM:Ge,controlItemBgHover:We,controlItemBgActive:Ve}=Je,Qe=Ge;return{titleHeight:Qe,indentSize:Qe,nodeHoverBg:We,nodeHoverColor:Je.colorText,nodeSelectedBg:Ve,nodeSelectedColor:Je.colorText}},nt=Je=>{const{colorTextLightSolid:Ge,colorPrimary:We}=Je;return Object.assign(Object.assign({},xt(Je)),{directoryNodeSelectedColor:Ge,directoryNodeSelectedBg:We})};var et=(0,fe.I$)("Tree",(Je,Ge)=>{let{prefixCls:We}=Ge;return[{[Je.componentCls]:(0,he.C2)(`${We}-checkbox`,Je)},Fe(We,Je),(0,pe.Z)(Je)]},nt)},85278:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Ge}});var b=y(59301),he=y(60499),le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},pe=le,be=y(7657),fe=function(Ve,Qe){return b.createElement(be.Z,(0,he.Z)({},Ve,{ref:Qe,icon:pe}))},we=b.forwardRef(fe),Oe=we,Re=y(52671),xe=y(58617),je=y(15075),Fe=y(43531),xt=y(92310),nt=y.n(xt),et=y(22703),Ge=We=>{const{prefixCls:Ve,switcherIcon:Qe,treeNodeProps:He,showLine:_e,switcherLoadingIcon:Ze}=We,{isLeaf:tt,expanded:gt,loading:rt}=He;if(rt)return b.isValidElement(Ze)?Ze:b.createElement(xe.Z,{className:`${Ve}-switcher-loading-icon`});let It;if(_e&&typeof _e=="object"&&(It=_e.showLeafIcon),tt){if(!_e)return null;if(typeof It!="boolean"&&It){const Tt=typeof It=="function"?It(He):It,_t=`${Ve}-switcher-line-custom-icon`;return b.isValidElement(Tt)?(0,et.Tm)(Tt,{className:nt()(Tt.props.className||"",_t)}):Tt}return It?b.createElement(Re.Z,{className:`${Ve}-switcher-line-icon`}):b.createElement("span",{className:`${Ve}-switcher-leaf-line`})}const mt=`${Ve}-switcher-icon`,ut=typeof Qe=="function"?Qe(He):Qe;return b.isValidElement(ut)?(0,et.Tm)(ut,{className:nt()(ut.props.className||"",mt)}):ut!==void 0?ut:_e?gt?b.createElement(je.Z,{className:`${Ve}-switcher-line-icon`}):b.createElement(Fe.Z,{className:`${Ve}-switcher-line-icon`}):b.createElement(Oe,{className:mt})}},94968:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return rn}});var b=y(59301),he=y(77654),le=y(4676),pe=y(92310),be=y.n(pe),fe=y(60499),we=y(38705),Oe=y(17212),Re=y(15793),xe=y(39153),je=y(55401),Fe=y(18642),xt=y(85899),nt=y(42244),et=y(43749),Je=y(73001),Ge=y(11576),We=y(26112),Ve=y(48736),Qe=function(lt,ve){if(lt&&ve){var Ie=Array.isArray(ve)?ve:ve.split(","),Ft=lt.name||"",Pe=lt.type||"",Ye=Pe.replace(/\/.*$/,"");return Ie.some(function(Xt){var Wt=Xt.trim();if(/^\*(\/\*)?$/.test(Xt))return!0;if(Wt.charAt(0)==="."){var Xn=Ft.toLowerCase(),Qn=Wt.toLowerCase(),Pn=[Qn];return(Qn===".jpg"||Qn===".jpeg")&&(Pn=[".jpg",".jpeg"]),Pn.some(function(Nr){return Xn.endsWith(Nr)})}return/\/\*$/.test(Wt)?Ye===Wt.replace(/\/.*$/,""):Pe===Wt?!0:/^\w+$/.test(Wt)?((0,Ve.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Wt,"'.Skip for check.")),!0):!1})}return!0};function He(lt,ve){var Ie="cannot ".concat(lt.method," ").concat(lt.action," ").concat(ve.status,"'"),Ft=new Error(Ie);return Ft.status=ve.status,Ft.method=lt.method,Ft.url=lt.action,Ft}function _e(lt){var ve=lt.responseText||lt.response;if(!ve)return ve;try{return JSON.parse(ve)}catch(Ie){return ve}}function Ze(lt){var ve=new XMLHttpRequest;lt.onProgress&&ve.upload&&(ve.upload.onprogress=function(Ye){Ye.total>0&&(Ye.percent=Ye.loaded/Ye.total*100),lt.onProgress(Ye)});var Ie=new FormData;lt.data&&Object.keys(lt.data).forEach(function(Pe){var Ye=lt.data[Pe];if(Array.isArray(Ye)){Ye.forEach(function(Xt){Ie.append("".concat(Pe,"[]"),Xt)});return}Ie.append(Pe,Ye)}),lt.file instanceof Blob?Ie.append(lt.filename,lt.file,lt.file.name):Ie.append(lt.filename,lt.file),ve.onerror=function(Ye){lt.onError(Ye)},ve.onload=function(){return ve.status<200||ve.status>=300?lt.onError(He(lt,ve),_e(ve)):lt.onSuccess(_e(ve),ve)},ve.open(lt.method,lt.action,!0),lt.withCredentials&&"withCredentials"in ve&&(ve.withCredentials=!0);var Ft=lt.headers||{};return Ft["X-Requested-With"]!==null&&ve.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Ft).forEach(function(Pe){Ft[Pe]!==null&&ve.setRequestHeader(Pe,Ft[Pe])}),ve.send(Ie),{abort:function(){ve.abort()}}}var tt=function(){var lt=(0,Ge.Z)((0,Je.Z)().mark(function ve(Ie,Ft){var Pe,Ye,Xt,Wt,Xn,Qn,Pn,Nr;return(0,Je.Z)().wrap(function(an){for(;;)switch(an.prev=an.next){case 0:Qn=function(){return Qn=(0,Ge.Z)((0,Je.Z)().mark(function kn(Dt){return(0,Je.Z)().wrap(function(Tr){for(;;)switch(Tr.prev=Tr.next){case 0:return Tr.abrupt("return",new Promise(function(pr){Dt.file(function(xr){Ft(xr)?(Dt.fullPath&&!xr.webkitRelativePath&&(Object.defineProperties(xr,{webkitRelativePath:{writable:!0}}),xr.webkitRelativePath=Dt.fullPath.replace(/^\//,""),Object.defineProperties(xr,{webkitRelativePath:{writable:!1}})),pr(xr)):pr(null)})}));case 1:case"end":return Tr.stop()}},kn)})),Qn.apply(this,arguments)},Xn=function(kn){return Qn.apply(this,arguments)},Wt=function(){return Wt=(0,Ge.Z)((0,Je.Z)().mark(function kn(Dt){var nr,Tr,pr,xr,er;return(0,Je.Z)().wrap(function(mr){for(;;)switch(mr.prev=mr.next){case 0:nr=Dt.createReader(),Tr=[];case 2:return mr.next=5,new Promise(function(Xr){nr.readEntries(Xr,function(){return Xr([])})});case 5:if(pr=mr.sent,xr=pr.length,xr){mr.next=9;break}return mr.abrupt("break",12);case 9:for(er=0;er{const{componentCls:ve,iconCls:Ie}=lt;return{[`${ve}-wrapper`]:{[`${ve}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:lt.colorFillAlter,border:`${(0,Rn.unit)(lt.lineWidth)} dashed ${lt.colorBorder}`,borderRadius:lt.borderRadiusLG,cursor:"pointer",transition:`border-color ${lt.motionDurationSlow}`,[ve]:{padding:lt.padding},[`${ve}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:lt.borderRadiusLG,"&:focus-visible":{outline:`${(0,Rn.unit)(lt.lineWidthFocus)} solid ${lt.colorPrimaryBorder}`}},[`${ve}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` - &:not(${ve}-disabled):hover, - &-hover:not(${ve}-disabled) - `]:{borderColor:lt.colorPrimaryHover},[`p${ve}-drag-icon`]:{marginBottom:lt.margin,[Ie]:{color:lt.colorPrimary,fontSize:lt.uploadThumbnailSize}},[`p${ve}-text`]:{margin:`0 0 ${(0,Rn.unit)(lt.marginXXS)}`,color:lt.colorTextHeading,fontSize:lt.fontSizeLG},[`p${ve}-hint`]:{color:lt.colorTextDescription,fontSize:lt.fontSize},[`&${ve}-disabled`]:{[`p${ve}-drag-icon ${Ie}, - p${ve}-text, - p${ve}-hint - `]:{color:lt.colorTextDisabled}}}}}},vn=lt=>{const{componentCls:ve,iconCls:Ie,fontSize:Ft,lineHeight:Pe,calc:Ye}=lt,Xt=`${ve}-list-item`,Wt=`${Xt}-actions`,Xn=`${Xt}-action`;return{[`${ve}-wrapper`]:{[`${ve}-list`]:Object.assign(Object.assign({},(0,on.dF)()),{lineHeight:lt.lineHeight,[Xt]:{position:"relative",height:Ye(lt.lineHeight).mul(Ft).equal(),marginTop:lt.marginXS,fontSize:Ft,display:"flex",alignItems:"center",transition:`background-color ${lt.motionDurationSlow}`,borderRadius:lt.borderRadiusSM,"&:hover":{backgroundColor:lt.controlItemBgHover},[`${Xt}-name`]:Object.assign(Object.assign({},on.vS),{padding:`0 ${(0,Rn.unit)(lt.paddingXS)}`,lineHeight:Pe,flex:"auto",transition:`all ${lt.motionDurationSlow}`}),[Wt]:{whiteSpace:"nowrap",[Xn]:{opacity:0},[Ie]:{color:lt.actionsColor,transition:`all ${lt.motionDurationSlow}`},[` - ${Xn}:focus-visible, - &.picture ${Xn} - `]:{opacity:1}},[`${ve}-icon ${Ie}`]:{color:lt.colorTextDescription,fontSize:Ft},[`${Xt}-progress`]:{position:"absolute",bottom:lt.calc(lt.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Ye(Ft).add(lt.paddingXS).equal(),fontSize:Ft,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Xt}:hover ${Xn}`]:{opacity:1},[`${Xt}-error`]:{color:lt.colorError,[`${Xt}-name, ${ve}-icon ${Ie}`]:{color:lt.colorError},[Wt]:{[`${Ie}, ${Ie}:hover`]:{color:lt.colorError},[Xn]:{opacity:1}}},[`${ve}-list-item-container`]:{transition:`opacity ${lt.motionDurationSlow}, height ${lt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},un=y(99495),me=lt=>{const{componentCls:ve}=lt,Ie=new Rn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:lt.calc(lt.marginXS).div(-2).equal()}}),Ft=new Rn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:lt.calc(lt.marginXS).div(-2).equal()}}),Pe=`${ve}-animate-inline`;return[{[`${ve}-wrapper`]:{[`${Pe}-appear, ${Pe}-enter, ${Pe}-leave`]:{animationDuration:lt.motionDurationSlow,animationTimingFunction:lt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Pe}-appear, ${Pe}-enter`]:{animationName:Ie},[`${Pe}-leave`]:{animationName:Ft}}},{[`${ve}-wrapper`]:(0,un.J$)(lt)},Ie,Ft]},ce=y(68361);const Te=lt=>{const{componentCls:ve,iconCls:Ie,uploadThumbnailSize:Ft,uploadProgressOffset:Pe,calc:Ye}=lt,Xt=`${ve}-list`,Wt=`${Xt}-item`;return{[`${ve}-wrapper`]:{[` - ${Xt}${Xt}-picture, - ${Xt}${Xt}-picture-card, - ${Xt}${Xt}-picture-circle - `]:{[Wt]:{position:"relative",height:Ye(Ft).add(Ye(lt.lineWidth).mul(2)).add(Ye(lt.paddingXS).mul(2)).equal(),padding:lt.paddingXS,border:`${(0,Rn.unit)(lt.lineWidth)} ${lt.lineType} ${lt.colorBorder}`,borderRadius:lt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Wt}-thumbnail`]:Object.assign(Object.assign({},on.vS),{width:Ft,height:Ft,lineHeight:(0,Rn.unit)(Ye(Ft).add(lt.paddingSM).equal()),textAlign:"center",flex:"none",[Ie]:{fontSize:lt.fontSizeHeading2,color:lt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Wt}-progress`]:{bottom:Pe,width:`calc(100% - ${(0,Rn.unit)(Ye(lt.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Ye(Ft).add(lt.paddingXS).equal()}},[`${Wt}-error`]:{borderColor:lt.colorError,[`${Wt}-thumbnail ${Ie}`]:{[`svg path[fill='${ce.blue[0]}']`]:{fill:lt.colorErrorBg},[`svg path[fill='${ce.blue.primary}']`]:{fill:lt.colorError}}},[`${Wt}-uploading`]:{borderStyle:"dashed",[`${Wt}-name`]:{marginBottom:Pe}}},[`${Xt}${Xt}-picture-circle ${Wt}`]:{[`&, &::before, ${Wt}-thumbnail`]:{borderRadius:"50%"}}}}},Ue=lt=>{const{componentCls:ve,iconCls:Ie,fontSizeLG:Ft,colorTextLightSolid:Pe,calc:Ye}=lt,Xt=`${ve}-list`,Wt=`${Xt}-item`,Xn=lt.uploadPicCardSize;return{[` - ${ve}-wrapper${ve}-picture-card-wrapper, - ${ve}-wrapper${ve}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,on.dF)()),{display:"block",[`${ve}${ve}-select`]:{width:Xn,height:Xn,textAlign:"center",verticalAlign:"top",backgroundColor:lt.colorFillAlter,border:`${(0,Rn.unit)(lt.lineWidth)} dashed ${lt.colorBorder}`,borderRadius:lt.borderRadiusLG,cursor:"pointer",transition:`border-color ${lt.motionDurationSlow}`,[`> ${ve}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${ve}-disabled):hover`]:{borderColor:lt.colorPrimary}},[`${Xt}${Xt}-picture-card, ${Xt}${Xt}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:lt.marginXS,marginInlineEnd:lt.marginXS}},"@supports (gap: 1px)":{gap:lt.marginXS},[`${Xt}-item-container`]:{display:"inline-block",width:Xn,height:Xn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[Wt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,Rn.unit)(Ye(lt.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,Rn.unit)(Ye(lt.paddingXS).mul(2).equal())})`,backgroundColor:lt.colorBgMask,opacity:0,transition:`all ${lt.motionDurationSlow}`,content:'" "'}},[`${Wt}:hover`]:{[`&::before, ${Wt}-actions`]:{opacity:1}},[`${Wt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${lt.motionDurationSlow}`,[` - ${Ie}-eye, - ${Ie}-download, - ${Ie}-delete - `]:{zIndex:10,width:Ft,margin:`0 ${(0,Rn.unit)(lt.marginXXS)}`,fontSize:Ft,cursor:"pointer",transition:`all ${lt.motionDurationSlow}`,color:Pe,"&:hover":{color:Pe},svg:{verticalAlign:"baseline"}}},[`${Wt}-thumbnail, ${Wt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Wt}-name`]:{display:"none",textAlign:"center"},[`${Wt}-file + ${Wt}-name`]:{position:"absolute",bottom:lt.margin,display:"block",width:`calc(100% - ${(0,Rn.unit)(Ye(lt.paddingXS).mul(2).equal())})`},[`${Wt}-uploading`]:{[`&${Wt}`]:{backgroundColor:lt.colorFillAlter},[`&::before, ${Ie}-eye, ${Ie}-download, ${Ie}-delete`]:{display:"none"}},[`${Wt}-progress`]:{bottom:lt.marginXL,width:`calc(100% - ${(0,Rn.unit)(Ye(lt.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${ve}-wrapper${ve}-picture-circle-wrapper`]:{[`${ve}${ve}-select`]:{borderRadius:"50%"}}}};var Me=lt=>{const{componentCls:ve}=lt;return{[`${ve}-rtl`]:{direction:"rtl"}}};const ot=lt=>{const{componentCls:ve,colorTextDisabled:Ie}=lt;return{[`${ve}-wrapper`]:Object.assign(Object.assign({},(0,on.Wf)(lt)),{[ve]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${ve}-select`]:{display:"inline-block"},[`${ve}-hidden`]:{display:"none"},[`${ve}-disabled`]:{color:Ie,cursor:"not-allowed"}})}},Qt=lt=>({actionsColor:lt.colorTextDescription});var At=(0,Ht.I$)("Upload",lt=>{const{fontSizeHeading3:ve,fontHeight:Ie,lineWidth:Ft,controlHeightLG:Pe,calc:Ye}=lt,Xt=(0,Yt.mergeToken)(lt,{uploadThumbnailSize:Ye(ve).mul(2).equal(),uploadProgressOffset:Ye(Ye(Ie).div(2)).add(Ft).equal(),uploadPicCardSize:Ye(Pe).mul(2.55).equal()});return[ot(Xt),Sn(Xt),Te(Xt),Ue(Xt),vn(Xt),me(Xt),Me(Xt),(0,it.Z)(Xt)]},Qt),vt={icon:function(ve,Ie){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Ie}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:ve}}]}},name:"file",theme:"twotone"},Ct=vt,Ut=y(7657),$t=function(ve,Ie){return b.createElement(Ut.Z,(0,fe.Z)({},ve,{ref:Ie,icon:Ct}))},fn=b.forwardRef($t),dn=fn,Bt=y(58617),Mn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Dn=Mn,Cn=function(ve,Ie){return b.createElement(Ut.Z,(0,fe.Z)({},ve,{ref:Ie,icon:Dn}))},sn=b.forwardRef(Cn),An=sn,xn={icon:function(ve,Ie){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:ve}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Ie}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Ie}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Ie}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:ve}}]}},name:"picture",theme:"twotone"},Lt=xn,qt=function(ve,Ie){return b.createElement(Ut.Z,(0,fe.Z)({},ve,{ref:Ie,icon:Lt}))},zt=b.forwardRef(qt),bn=zt,Et=y(77900),ft=y(2738),de=y(40192),wn=y(86641),Un=y(22703),mn=y(7939);function Er(lt){return Object.assign(Object.assign({},lt),{lastModified:lt.lastModified,lastModifiedDate:lt.lastModifiedDate,name:lt.name,size:lt.size,type:lt.type,uid:lt.uid,percent:0,originFileObj:lt})}function Sr(lt,ve){const Ie=(0,he.Z)(ve),Ft=Ie.findIndex(Pe=>{let{uid:Ye}=Pe;return Ye===lt.uid});return Ft===-1?Ie.push(lt):Ie[Ft]=lt,Ie}function or(lt,ve){const Ie=lt.uid!==void 0?"uid":"name";return ve.filter(Ft=>Ft[Ie]===lt[Ie])[0]}function wr(lt,ve){const Ie=lt.uid!==void 0?"uid":"name",Ft=ve.filter(Pe=>Pe[Ie]!==lt[Ie]);return Ft.length===ve.length?null:Ft}const St=function(){const ve=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Ft=ve[ve.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Ft)||[""])[0]},Kn=lt=>lt.indexOf("image/")===0,ir=lt=>{if(lt.type&&!lt.thumbUrl)return Kn(lt.type);const ve=lt.thumbUrl||lt.url||"",Ie=St(ve);return/^data:image\//.test(ve)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Ie)?!0:!(/^data:/.test(ve)||Ie)},br=200;function qn(lt){return new Promise(ve=>{if(!lt.type||!Kn(lt.type)){ve("");return}const Ie=document.createElement("canvas");Ie.width=br,Ie.height=br,Ie.style.cssText=`position: fixed; left: 0; top: 0; width: ${br}px; height: ${br}px; z-index: 9999; display: none;`,document.body.appendChild(Ie);const Ft=Ie.getContext("2d"),Pe=new Image;if(Pe.onload=()=>{const{width:Ye,height:Xt}=Pe;let Wt=br,Xn=br,Qn=0,Pn=0;Ye>Xt?(Xn=Xt*(br/Ye),Pn=-(Xn-Wt)/2):(Wt=Ye*(br/Xt),Qn=-(Wt-Xn)/2),Ft.drawImage(Pe,Qn,Pn,Wt,Xn);const Nr=Ie.toDataURL();document.body.removeChild(Ie),window.URL.revokeObjectURL(Pe.src),ve(Nr)},Pe.crossOrigin="anonymous",lt.type.startsWith("image/svg+xml")){const Ye=new FileReader;Ye.onload=()=>{Ye.result&&typeof Ye.result=="string"&&(Pe.src=Ye.result)},Ye.readAsDataURL(lt)}else if(lt.type.startsWith("image/gif")){const Ye=new FileReader;Ye.onload=()=>{Ye.result&&ve(Ye.result)},Ye.readAsDataURL(lt)}else Pe.src=window.URL.createObjectURL(lt)})}var Ir=y(26227),sr=y(41464),jn=y(15277),$r=y(89787),Jr=y(25399),la=b.forwardRef((lt,ve)=>{let{prefixCls:Ie,className:Ft,style:Pe,locale:Ye,listType:Xt,file:Wt,items:Xn,progress:Qn,iconRender:Pn,actionIconRender:Nr,itemRender:gn,isImgUrl:an,showPreviewIcon:pt,showRemoveIcon:kn,showDownloadIcon:Dt,previewIcon:nr,removeIcon:Tr,downloadIcon:pr,extra:xr,onPreview:er,onDownload:Dr,onClose:mr}=lt;var Xr,Vr;const{status:Zr}=Wt,[vr,ta]=b.useState(Zr);b.useEffect(()=>{Zr!=="removed"&&ta(Zr)},[Zr]);const[Lr,sa]=b.useState(!1);b.useEffect(()=>{const rr=setTimeout(()=>{sa(!0)},300);return()=>{clearTimeout(rr)}},[]);const Ur=Pn(Wt);let ua=b.createElement("div",{className:`${Ie}-icon`},Ur);if(Xt==="picture"||Xt==="picture-card"||Xt==="picture-circle")if(vr==="uploading"||!Wt.thumbUrl&&!Wt.url){const rr=be()(`${Ie}-list-item-thumbnail`,{[`${Ie}-list-item-file`]:vr!=="uploading"});ua=b.createElement("div",{className:rr},Ur)}else{const rr=an!=null&&an(Wt)?b.createElement("img",{src:Wt.thumbUrl||Wt.url,alt:Wt.name,className:`${Ie}-list-item-image`,crossOrigin:Wt.crossOrigin}):Ur,yr=be()(`${Ie}-list-item-thumbnail`,{[`${Ie}-list-item-file`]:an&&!an(Wt)});ua=b.createElement("a",{className:yr,onClick:Mr=>er(Wt,Mr),href:Wt.url||Wt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},rr)}const Vt=be()(`${Ie}-list-item`,`${Ie}-list-item-${vr}`),Sa=typeof Wt.linkProps=="string"?JSON.parse(Wt.linkProps):Wt.linkProps,ra=(typeof kn=="function"?kn(Wt):kn)?Nr((typeof Tr=="function"?Tr(Wt):Tr)||b.createElement(Ir.Z,null),()=>mr(Wt),Ie,Ye.removeFile,!0):null,ia=(typeof Dt=="function"?Dt(Wt):Dt)&&vr==="done"?Nr((typeof pr=="function"?pr(Wt):pr)||b.createElement(sr.Z,null),()=>Dr(Wt),Ie,Ye.downloadFile):null,pa=Xt!=="picture-card"&&Xt!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:be()(`${Ie}-list-item-actions`,{picture:Xt==="picture"})},ia,ra),ma=typeof xr=="function"?xr(Wt):xr,kr=ma&&b.createElement("span",{className:`${Ie}-list-item-extra`},ma),Qr=be()(`${Ie}-list-item-name`),Kr=Wt.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Qr,title:Wt.name},Sa,{href:Wt.url,onClick:rr=>er(Wt,rr)}),Wt.name,kr):b.createElement("span",{key:"view",className:Qr,onClick:rr=>er(Wt,rr),title:Wt.name},Wt.name,kr),Jn=(typeof pt=="function"?pt(Wt):pt)&&(Wt.url||Wt.thumbUrl)?b.createElement("a",{href:Wt.url||Wt.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:rr=>er(Wt,rr),title:Ye.previewFile},typeof nr=="function"?nr(Wt):nr||b.createElement(jn.Z,null)):null,dr=(Xt==="picture-card"||Xt==="picture-circle")&&vr!=="uploading"&&b.createElement("span",{className:`${Ie}-list-item-actions`},Jn,vr==="done"&&ia,ra),{getPrefixCls:fr}=b.useContext(wt.E_),tr=fr(),Ln=b.createElement("div",{className:Vt},ua,Kr,pa,dr,Lr&&b.createElement(Et.default,{motionName:`${tr}-fade`,visible:vr==="uploading",motionDeadline:2e3},rr=>{let{className:yr}=rr;const Mr="percent"in Wt?b.createElement($r.Z,Object.assign({},Qn,{type:"line",percent:Wt.percent,"aria-label":Wt["aria-label"],"aria-labelledby":Wt["aria-labelledby"]})):null;return b.createElement("div",{className:be()(`${Ie}-list-item-progress`,yr)},Mr)})),jr=Wt.response&&typeof Wt.response=="string"?Wt.response:((Xr=Wt.error)===null||Xr===void 0?void 0:Xr.statusText)||((Vr=Wt.error)===null||Vr===void 0?void 0:Vr.message)||Ye.uploadError,lr=vr==="error"?b.createElement(Jr.Z,{title:jr,getPopupContainer:rr=>rr.parentNode},Ln):Ln;return b.createElement("div",{className:be()(`${Ie}-list-item-container`,Ft),style:Pe,ref:ve},gn?gn(lr,Wt,Xn,{download:Dr.bind(null,Wt),preview:er.bind(null,Wt),remove:mr.bind(null,Wt)}):lr)});const Hr=(lt,ve)=>{const{listType:Ie="text",previewFile:Ft=qn,onPreview:Pe,onDownload:Ye,onRemove:Xt,locale:Wt,iconRender:Xn,isImageUrl:Qn=ir,prefixCls:Pn,items:Nr=[],showPreviewIcon:gn=!0,showRemoveIcon:an=!0,showDownloadIcon:pt=!1,removeIcon:kn,previewIcon:Dt,downloadIcon:nr,extra:Tr,progress:pr={size:[-1,2],showInfo:!1},appendAction:xr,appendActionVisible:er=!0,itemRender:Dr,disabled:mr}=lt,Xr=(0,de.Z)(),[Vr,Zr]=b.useState(!1),vr=["picture-card","picture-circle"].includes(Ie);b.useEffect(()=>{Ie.startsWith("picture")&&(Nr||[]).forEach(kr=>{!(kr.originFileObj instanceof File||kr.originFileObj instanceof Blob)||kr.thumbUrl!==void 0||(kr.thumbUrl="",Ft==null||Ft(kr.originFileObj).then(Qr=>{kr.thumbUrl=Qr||"",Xr()}))})},[Ie,Nr,Ft]),b.useEffect(()=>{Zr(!0)},[]);const ta=(kr,Qr)=>{if(Pe)return Qr==null||Qr.preventDefault(),Pe(kr)},Lr=kr=>{typeof Ye=="function"?Ye(kr):kr.url&&window.open(kr.url)},sa=kr=>{Xt==null||Xt(kr)},Ur=kr=>{if(Xn)return Xn(kr,Ie);const Qr=kr.status==="uploading";if(Ie.startsWith("picture")){const Kr=Ie==="picture"?b.createElement(Bt.Z,null):Wt.uploading,Jn=Qn!=null&&Qn(kr)?b.createElement(bn,null):b.createElement(dn,null);return Qr?Kr:Jn}return Qr?b.createElement(Bt.Z,null):b.createElement(An,null)},ua=(kr,Qr,Kr,Jn,dr)=>{const fr={type:"text",size:"small",title:Jn,onClick:tr=>{var Ln,jr;Qr(),b.isValidElement(kr)&&((jr=(Ln=kr.props).onClick)===null||jr===void 0||jr.call(Ln,tr))},className:`${Kr}-list-item-action`};return dr&&(fr.disabled=mr),b.isValidElement(kr)?b.createElement(mn.ZP,Object.assign({},fr,{icon:(0,Un.Tm)(kr,Object.assign(Object.assign({},kr.props),{onClick:()=>{}}))})):b.createElement(mn.ZP,Object.assign({},fr),b.createElement("span",null,kr))};b.useImperativeHandle(ve,()=>({handlePreview:ta,handleDownload:Lr}));const{getPrefixCls:Vt}=b.useContext(wt.E_),Sa=Vt("upload",Pn),ra=Vt(),ia=be()(`${Sa}-list`,`${Sa}-list-${Ie}`),pa=b.useMemo(()=>(0,ft.Z)((0,wn.Z)(ra),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[ra]),ma=Object.assign(Object.assign({},vr?{}:pa),{motionDeadline:2e3,motionName:`${Sa}-${vr?"animate-inline":"animate"}`,keys:(0,he.Z)(Nr.map(kr=>({key:kr.uid,file:kr}))),motionAppear:Vr});return b.createElement("div",{className:ia},b.createElement(Et.CSSMotionList,Object.assign({},ma,{component:!1}),kr=>{let{key:Qr,file:Kr,className:Jn,style:dr}=kr;return b.createElement(la,{key:Qr,locale:Wt,prefixCls:Sa,className:Jn,style:dr,file:Kr,items:Nr,progress:pr,listType:Ie,isImgUrl:Qn,showPreviewIcon:gn,showRemoveIcon:an,showDownloadIcon:pt,removeIcon:kn,previewIcon:Dt,downloadIcon:nr,extra:Tr,iconRender:Ur,actionIconRender:ua,itemRender:Dr,onPreview:ta,onDownload:Lr,onClose:sa})}),xr&&b.createElement(Et.default,Object.assign({},ma,{visible:er,forceRender:!0}),kr=>{let{className:Qr,style:Kr}=kr;return(0,Un.Tm)(xr,Jn=>({className:be()(Jn.className,Qr),style:Object.assign(Object.assign(Object.assign({},Kr),{pointerEvents:Qr?"none":void 0}),Jn.style)}))}))};var Yr=b.forwardRef(Hr),Wn=function(lt,ve,Ie,Ft){function Pe(Ye){return Ye instanceof Ie?Ye:new Ie(function(Xt){Xt(Ye)})}return new(Ie||(Ie=Promise))(function(Ye,Xt){function Wt(Pn){try{Qn(Ft.next(Pn))}catch(Nr){Xt(Nr)}}function Xn(Pn){try{Qn(Ft.throw(Pn))}catch(Nr){Xt(Nr)}}function Qn(Pn){Pn.done?Ye(Pn.value):Pe(Pn.value).then(Wt,Xn)}Qn((Ft=Ft.apply(lt,ve||[])).next())})};const ur=`__LIST_IGNORE_${Date.now()}__`,_r=(lt,ve)=>{const{fileList:Ie,defaultFileList:Ft,onRemove:Pe,showUploadList:Ye=!0,listType:Xt="text",onPreview:Wt,onDownload:Xn,onChange:Qn,onDrop:Pn,previewFile:Nr,disabled:gn,locale:an,iconRender:pt,isImageUrl:kn,progress:Dt,prefixCls:nr,className:Tr,type:pr="select",children:xr,style:er,itemRender:Dr,maxCount:mr,data:Xr={},multiple:Vr=!1,hasControlInside:Zr=!0,action:vr="",accept:ta="",supportServerRender:Lr=!0,rootClassName:sa}=lt,Ur=b.useContext($e.Z),ua=gn!=null?gn:Ur,[Vt,Sa]=(0,On.Z)(Ft||[],{value:Ie,postState:ha=>ha!=null?ha:[]}),[ra,ia]=b.useState("drop"),pa=b.useRef(null),ma=b.useRef(null);b.useMemo(()=>{const ha=Date.now();(Ie||[]).forEach(($a,qa)=>{!$a.uid&&!Object.isFrozen($a)&&($a.uid=`__AUTO__${ha}_${qa}__`)})},[Ie]);const kr=(ha,$a,qa)=>{let Fa=(0,he.Z)($a),Ja=!1;mr===1?Fa=Fa.slice(-1):mr&&(Ja=Fa.length>mr,Fa=Fa.slice(0,mr)),(0,le.flushSync)(()=>{Sa(Fa)});const Ia={file:ha,fileList:Fa};qa&&(Ia.event=qa),(!Ja||ha.status==="removed"||Fa.some(wi=>wi.uid===ha.uid))&&(0,le.flushSync)(()=>{Qn==null||Qn(Ia)})},Qr=(ha,$a)=>Wn(void 0,void 0,void 0,function*(){const{beforeUpload:qa,transformFile:Fa}=lt;let Ja=ha;if(qa){const Ia=yield qa(ha,$a);if(Ia===!1)return!1;if(delete ha[ur],Ia===ur)return Object.defineProperty(ha,ur,{value:!0,configurable:!0}),!1;typeof Ia=="object"&&Ia&&(Ja=Ia)}return Fa&&(Ja=yield Fa(Ja)),Ja}),Kr=ha=>{const $a=ha.filter(Ja=>!Ja.file[ur]);if(!$a.length)return;const qa=$a.map(Ja=>Er(Ja.file));let Fa=(0,he.Z)(Vt);qa.forEach(Ja=>{Fa=Sr(Ja,Fa)}),qa.forEach((Ja,Ia)=>{let wi=Ja;if($a[Ia].parsedFile)Ja.status="uploading";else{const{originFileObj:Bi}=Ja;let Fi;try{Fi=new File([Bi],Bi.name,{type:Bi.type})}catch(Ti){Fi=new Blob([Bi],{type:Bi.type}),Fi.name=Bi.name,Fi.lastModifiedDate=new Date,Fi.lastModified=new Date().getTime()}Fi.uid=Ja.uid,wi=Fi}kr(wi,Fa)})},Jn=(ha,$a,qa)=>{try{typeof ha=="string"&&(ha=JSON.parse(ha))}catch(Ia){}if(!or($a,Vt))return;const Fa=Er($a);Fa.status="done",Fa.percent=100,Fa.response=ha,Fa.xhr=qa;const Ja=Sr(Fa,Vt);kr(Fa,Ja)},dr=(ha,$a)=>{if(!or($a,Vt))return;const qa=Er($a);qa.status="uploading",qa.percent=ha.percent;const Fa=Sr(qa,Vt);kr(qa,Fa,ha)},fr=(ha,$a,qa)=>{if(!or(qa,Vt))return;const Fa=Er(qa);Fa.error=ha,Fa.response=$a,Fa.status="error";const Ja=Sr(Fa,Vt);kr(Fa,Ja)},tr=ha=>{let $a;Promise.resolve(typeof Pe=="function"?Pe(ha):Pe).then(qa=>{var Fa;if(qa===!1)return;const Ja=wr(ha,Vt);Ja&&($a=Object.assign(Object.assign({},ha),{status:"removed"}),Vt==null||Vt.forEach(Ia=>{const wi=$a.uid!==void 0?"uid":"name";Ia[wi]===$a[wi]&&!Object.isFrozen(Ia)&&(Ia.status="removed")}),(Fa=pa.current)===null||Fa===void 0||Fa.abort($a),kr($a,Ja))})},Ln=ha=>{ia(ha.type),ha.type==="drop"&&(Pn==null||Pn(ha))};b.useImperativeHandle(ve,()=>({onBatchStart:Kr,onSuccess:Jn,onProgress:dr,onError:fr,fileList:Vt,upload:pa.current,nativeElement:ma.current}));const{getPrefixCls:jr,direction:lr,upload:rr}=b.useContext(wt.E_),yr=jr("upload",nr),Mr=Object.assign(Object.assign({onBatchStart:Kr,onError:fr,onProgress:dr,onSuccess:Jn},lt),{data:Xr,multiple:Vr,action:vr,accept:ta,supportServerRender:Lr,prefixCls:yr,disabled:ua,beforeUpload:Qr,onChange:void 0,hasControlInside:Zr});delete Mr.className,delete Mr.style,(!xr||ua)&&delete Mr.id;const Ea=`${yr}-wrapper`,[oa,Ca,Ha]=At(yr,Ea),[Da]=(0,Ee.Z)("Upload",en.Z.Upload),{showRemoveIcon:Na,showPreviewIcon:Ua,showDownloadIcon:ga,removeIcon:Ma,previewIcon:Qa,downloadIcon:Ri,extra:Oi}=typeof Ye=="boolean"?{}:Ye,ui=typeof Na=="undefined"?!ua:Na,ti=(ha,$a)=>Ye?b.createElement(Yr,{prefixCls:yr,listType:Xt,items:Vt,previewFile:Nr,onPreview:Wt,onDownload:Xn,onRemove:tr,showRemoveIcon:ui,showPreviewIcon:Ua,showDownloadIcon:ga,removeIcon:Ma,previewIcon:Qa,downloadIcon:Ri,iconRender:pt,extra:Oi,locale:Object.assign(Object.assign({},Da),an),isImageUrl:kn,progress:Dt,appendAction:ha,appendActionVisible:$a,itemRender:Dr,disabled:ua}):ha,ai=be()(Ea,Tr,sa,Ca,Ha,rr==null?void 0:rr.className,{[`${yr}-rtl`]:lr==="rtl",[`${yr}-picture-card-wrapper`]:Xt==="picture-card",[`${yr}-picture-circle-wrapper`]:Xt==="picture-circle"}),Or=Object.assign(Object.assign({},rr==null?void 0:rr.style),er);if(pr==="drag"){const ha=be()(Ca,yr,`${yr}-drag`,{[`${yr}-drag-uploading`]:Vt.some($a=>$a.status==="uploading"),[`${yr}-drag-hover`]:ra==="dragover",[`${yr}-disabled`]:ua,[`${yr}-rtl`]:lr==="rtl"});return oa(b.createElement("span",{className:ai,ref:ma},b.createElement("div",{className:ha,style:Or,onDrop:Ln,onDragOver:Ln,onDragLeave:Ln},b.createElement(Kt,Object.assign({},Mr,{ref:pa,className:`${yr}-btn`}),b.createElement("div",{className:`${yr}-drag-container`},xr))),ti()))}const mi=be()(yr,`${yr}-select`,{[`${yr}-disabled`]:ua,[`${yr}-hidden`]:!xr}),gi=b.createElement("div",{className:mi},b.createElement(Kt,Object.assign({},Mr,{ref:pa})));return oa(Xt==="picture-card"||Xt==="picture-circle"?b.createElement("span",{className:ai,ref:ma},ti(gi,!!xr)):b.createElement("span",{className:ai,ref:ma},gi,ti()))};var Jt=b.forwardRef(_r),pn=function(lt,ve){var Ie={};for(var Ft in lt)Object.prototype.hasOwnProperty.call(lt,Ft)&&ve.indexOf(Ft)<0&&(Ie[Ft]=lt[Ft]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,Ft=Object.getOwnPropertySymbols(lt);Pe{var{style:Ie,height:Ft,hasControlInside:Pe=!1}=lt,Ye=pn(lt,["style","height","hasControlInside"]);return b.createElement(Jt,Object.assign({ref:ve,hasControlInside:Pe},Ye,{type:"drag",style:Object.assign(Object.assign({},Ie),{height:Ft})}))});const Mt=Jt;Mt.Dragger=tn,Mt.LIST_IGNORE=ur;var rn=Mt},99498:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){b.defineOption("placeholder","",function(Oe,Re,xe){var je=xe&&xe!=b.Init;if(Re&&!je)Oe.on("blur",be),Oe.on("change",fe),Oe.on("swapDoc",fe),b.on(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose=function(){pe(Oe)}),fe(Oe);else if(!Re&&je){Oe.off("blur",be),Oe.off("change",fe),Oe.off("swapDoc",fe),b.off(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose),he(Oe);var Fe=Oe.getWrapperElement();Fe.className=Fe.className.replace(" CodeMirror-empty","")}Re&&!Oe.hasFocus()&&be(Oe)});function he(Oe){Oe.state.placeholder&&(Oe.state.placeholder.parentNode.removeChild(Oe.state.placeholder),Oe.state.placeholder=null)}function le(Oe){he(Oe);var Re=Oe.state.placeholder=document.createElement("pre");Re.style.cssText="height: 0; overflow: visible",Re.style.direction=Oe.getOption("direction"),Re.className="CodeMirror-placeholder CodeMirror-line-like";var xe=Oe.getOption("placeholder");typeof xe=="string"&&(xe=document.createTextNode(xe)),Re.appendChild(xe),Oe.display.lineSpace.insertBefore(Re,Oe.display.lineSpace.firstChild)}function pe(Oe){setTimeout(function(){var Re=!1,xe=Oe.getInputField();xe.nodeName=="TEXTAREA"?Re=!xe.value:Oe.lineCount()==1&&(Re=!/[^\u200b]/.test(xe.querySelector(".CodeMirror-line").textContent)),Re?le(Oe):he(Oe)},20)}function be(Oe){we(Oe)&&le(Oe)}function fe(Oe){var Re=Oe.getWrapperElement(),xe=we(Oe);Re.className=Re.className.replace(" CodeMirror-empty","")+(xe?" CodeMirror-empty":""),xe?le(Oe):he(Oe)}function we(Oe){return Oe.lineCount()===1&&Oe.getLine(0)===""}})},25717:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){var he={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},le=b.Pos;b.defineOption("autoCloseBrackets",!1,function(et,Je,Ge){Ge&&Ge!=b.Init&&(et.removeKeyMap(be),et.state.closeBrackets=null),Je&&(fe(pe(Je,"pairs")),et.state.closeBrackets=Je,et.addKeyMap(be))});function pe(et,Je){return Je=="pairs"&&typeof et=="string"?et:typeof et=="object"&&et[Je]!=null?et[Je]:he[Je]}var be={Backspace:Re,Enter:xe};function fe(et){for(var Je=0;Je=0;Ve--){var He=We[Ve].head;et.replaceRange("",le(He.line,He.ch-1),le(He.line,He.ch+1),"+delete")}}function xe(et){var Je=Oe(et),Ge=Je&&pe(Je,"explode");if(!Ge||et.getOption("disableInput"))return b.Pass;for(var We=et.listSelections(),Ve=0;Ve0;return{anchor:new le(et.anchor.line,et.anchor.ch+(Je?-1:1)),head:new le(et.head.line,et.head.ch+(Je?1:-1))}}function Fe(et,Je){var Ge=Oe(et);if(!Ge||et.getOption("disableInput"))return b.Pass;var We=pe(Ge,"pairs"),Ve=We.indexOf(Je);if(Ve==-1)return b.Pass;for(var Qe=pe(Ge,"closeBefore"),He=pe(Ge,"triples"),_e=We.charAt(Ve+1)==Je,Ze=et.listSelections(),tt=Ve%2==0,gt,rt=0;rt=0&&et.getRange(mt,le(mt.line,mt.ch+3))==Je+Je+Je?ut="skipThree":ut="skip";else if(_e&&mt.ch>1&&He.indexOf(Je)>=0&&et.getRange(le(mt.line,mt.ch-2),mt)==Je+Je){if(mt.ch>2&&/\bstring/.test(et.getTokenTypeAt(le(mt.line,mt.ch-2))))return b.Pass;ut="addFour"}else if(_e){var _t=mt.ch==0?" ":et.getRange(le(mt.line,mt.ch-1),mt);if(!b.isWordChar(Tt)&&_t!=Je&&!b.isWordChar(_t))ut="both";else return b.Pass}else if(tt&&(Tt.length===0||/\s/.test(Tt)||Qe.indexOf(Tt)>-1))ut="both";else return b.Pass;if(!gt)gt=ut;else if(gt!=ut)return b.Pass}var Ke=Ve%2?We.charAt(Ve-1):Je,Rt=Ve%2?Je:We.charAt(Ve+1);et.operation(function(){if(gt=="skip")et.execCommand("goCharRight");else if(gt=="skipThree")for(var Nt=0;Nt<3;Nt++)et.execCommand("goCharRight");else if(gt=="surround"){for(var Kt=et.getSelections(),Nt=0;Nt'"]=function(xt){return pe(xt)}),Re.addKeyMap(Fe)}});var he=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],le=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function pe(Re){if(Re.getOption("disableInput"))return b.Pass;for(var xe=Re.listSelections(),je=[],Fe=Re.getOption("autoCloseTags"),xt=0;xtnt.ch&&(Ve=Ve.slice(0,Ve.length-et.end+nt.ch));var Ze=Ve.toLowerCase();if(!Ve||et.type=="string"&&(et.end!=nt.ch||!/[\"\']/.test(et.string.charAt(et.string.length-1))||et.string.length==1)||et.type=="tag"&&We.close||et.string.indexOf("/")==nt.ch-et.start-1||He&&we(He,Ze)>-1||Oe(Re,Je.mode.xmlCurrentContext&&Je.mode.xmlCurrentContext(Ge)||[],Ve,nt,!0))return b.Pass;var tt=typeof Fe=="object"&&Fe.emptyTags;if(tt&&we(tt,Ve)>-1){je[xt]={text:"/>",newPos:b.Pos(nt.line,nt.ch+2)};continue}var gt=_e&&we(_e,Ze)>-1;je[xt]={indent:gt,text:">"+(gt?` - -`:"")+"",newPos:gt?b.Pos(nt.line+1,0):b.Pos(nt.line,nt.ch+1)}}for(var rt=typeof Fe=="object"&&Fe.dontIndentOnAutoClose,xt=xe.length-1;xt>=0;xt--){var It=je[xt];Re.replaceRange(It.text,xe[xt].head,xe[xt].anchor,"+insert");var mt=Re.listSelections().slice(0);mt[xt]={head:It.newPos,anchor:It.newPos},Re.setSelections(mt),!rt&&It.indent&&(Re.indentLine(It.newPos.line,null,!0),Re.indentLine(It.newPos.line+1,null,!0))}}function be(Re,xe){for(var je=Re.listSelections(),Fe=[],xt=xe?"/":""&&(He+=">"),Fe[Je]=He}if(Re.replaceSelections(Fe),je=Re.listSelections(),!et)for(var Je=0;Je=0&&xe[Ge]==je;Ge--)++Je;Fe=et.to;for(var Ge=1;Ge=Ge.max))return Ge.ch=0,Ge.text=Ge.cm.getLine(++Ge.line),!0}function xe(Ge){if(!(Ge.line<=Ge.min))return Ge.text=Ge.cm.getLine(--Ge.line),Ge.ch=Ge.text.length,!0}function je(Ge){for(;;){var We=Ge.text.indexOf(">",Ge.ch);if(We==-1){if(Re(Ge))continue;return}if(!Oe(Ge,We+1)){Ge.ch=We+1;continue}var Ve=Ge.text.lastIndexOf("/",We),Qe=Ve>-1&&!/\S/.test(Ge.text.slice(Ve+1,We));return Ge.ch=We+1,Qe?"selfClose":"regular"}}function Fe(Ge){for(;;){var We=Ge.ch?Ge.text.lastIndexOf("<",Ge.ch-1):-1;if(We==-1){if(xe(Ge))continue;return}if(!Oe(Ge,We+1)){Ge.ch=We;continue}fe.lastIndex=We,Ge.ch=We;var Ve=fe.exec(Ge.text);if(Ve&&Ve.index==We)return Ve}}function xt(Ge){for(;;){fe.lastIndex=Ge.ch;var We=fe.exec(Ge.text);if(!We){if(Re(Ge))continue;return}if(!Oe(Ge,We.index+1)){Ge.ch=We.index+1;continue}return Ge.ch=We.index+We[0].length,We}}function nt(Ge){for(;;){var We=Ge.ch?Ge.text.lastIndexOf(">",Ge.ch-1):-1;if(We==-1){if(xe(Ge))continue;return}if(!Oe(Ge,We+1)){Ge.ch=We;continue}var Ve=Ge.text.lastIndexOf("/",We),Qe=Ve>-1&&!/\S/.test(Ge.text.slice(Ve+1,We));return Ge.ch=We+1,Qe?"selfClose":"regular"}}function et(Ge,We){for(var Ve=[];;){var Qe=xt(Ge),He,_e=Ge.line,Ze=Ge.ch-(Qe?Qe[0].length:0);if(!Qe||!(He=je(Ge)))return;if(He!="selfClose")if(Qe[1]){for(var tt=Ve.length-1;tt>=0;--tt)if(Ve[tt]==Qe[2]){Ve.length=tt;break}if(tt<0&&(!We||We==Qe[2]))return{tag:Qe[2],from:he(_e,Ze),to:he(Ge.line,Ge.ch)}}else Ve.push(Qe[2])}}function Je(Ge,We){for(var Ve=[];;){var Qe=nt(Ge);if(!Qe)return;if(Qe=="selfClose"){Fe(Ge);continue}var He=Ge.line,_e=Ge.ch,Ze=Fe(Ge);if(!Ze)return;if(Ze[1])Ve.push(Ze[2]);else{for(var tt=Ve.length-1;tt>=0;--tt)if(Ve[tt]==Ze[2]){Ve.length=tt;break}if(tt<0&&(!We||We==Ze[2]))return{tag:Ze[2],from:he(Ge.line,Ge.ch),to:he(He,_e)}}}}b.registerHelper("fold","xml",function(Ge,We){for(var Ve=new we(Ge,We.line,0);;){var Qe=xt(Ve);if(!Qe||Ve.line!=We.line)return;var He=je(Ve);if(!He)return;if(!Qe[1]&&He!="selfClose"){var _e=he(Ve.line,Ve.ch),Ze=et(Ve,Qe[2]);return Ze&&le(Ze.from,_e)>0?{from:_e,to:Ze.from}:null}}}),b.findMatchingTag=function(Ge,We,Ve){var Qe=new we(Ge,We.line,We.ch,Ve);if(!(Qe.text.indexOf(">")==-1&&Qe.text.indexOf("<")==-1)){var He=je(Qe),_e=He&&he(Qe.line,Qe.ch),Ze=He&&Fe(Qe);if(!(!He||!Ze||le(Qe,We)>0)){var tt={from:he(Qe.line,Qe.ch),to:_e,tag:Ze[2]};return He=="selfClose"?{open:tt,close:null,at:"open"}:Ze[1]?{open:Je(Qe,Ze[2]),close:tt,at:"close"}:(Qe=new we(Ge,_e.line,_e.ch,Ve),{open:tt,close:et(Qe,Ze[2]),at:"open"})}}},b.findEnclosingTag=function(Ge,We,Ve,Qe){for(var He=new we(Ge,We.line,We.ch,Ve);;){var _e=Je(He,Qe);if(!_e)break;var Ze=new we(Ge,We.line,We.ch,Ve),tt=et(Ze,_e.tag);if(tt)return{open:_e,close:tt}}},b.scanForClosingTag=function(Ge,We,Ve,Qe){var He=new we(Ge,We.line,We.ch,Qe?{from:0,to:Qe}:null);return et(He,Ve)}})},89780:function(Ce){(function(ae,y){Ce.exports=y()})(this,function(){"use strict";var ae=navigator.userAgent,y=navigator.platform,b=/gecko\/\d/i.test(ae),he=/MSIE \d/.test(ae),le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ae),pe=/Edge\/(\d+)/.exec(ae),be=he||le||pe,fe=be&&(he?document.documentMode||6:+(pe||le)[1]),we=!pe&&/WebKit\//.test(ae),Oe=we&&/Qt\/\d+\.\d+/.test(ae),Re=!pe&&/Chrome\//.test(ae),xe=/Opera\//.test(ae),je=/Apple Computer/.test(navigator.vendor),Fe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ae),xt=/PhantomJS/.test(ae),nt=!pe&&/AppleWebKit/.test(ae)&&/Mobile\/\w+/.test(ae),et=/Android/.test(ae),Je=nt||et||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ae),Ge=nt||/Mac/.test(y),We=/\bCrOS\b/.test(ae),Ve=/win/i.test(y),Qe=xe&&ae.match(/Version\/(\d*\.\d*)/);Qe&&(Qe=Number(Qe[1])),Qe&&Qe>=15&&(xe=!1,we=!0);var He=Ge&&(Oe||xe&&(Qe==null||Qe<12.11)),_e=b||be&&fe>=9;function Ze(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var tt=function(a,E){var re=a.className,ne=Ze(E).exec(re);if(ne){var ie=re.slice(ne.index+ne[0].length);a.className=re.slice(0,ne.index)+(ie?ne[1]+ie:"")}};function gt(a){for(var E=a.childNodes.length;E>0;--E)a.removeChild(a.firstChild);return a}function rt(a,E){return gt(a).appendChild(E)}function It(a,E,re,ne){var ie=document.createElement(a);if(re&&(ie.className=re),ne&&(ie.style.cssText=ne),typeof E=="string")ie.appendChild(document.createTextNode(E));else if(E)for(var ye=0;ye=E)return Be+(E-ye);Be+=Xe-ye,Be+=re-Be%re,ye=Xe+1}}var $e=function(){this.id=null,this.f=null,this.time=0,this.handler=Kt(this.onTimeout,this)};$e.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},$e.prototype.set=function(a,E){this.f=E;var re=+new Date+a;(!this.id||re=E)return ne+Math.min(Be,E-ie);if(ie+=ye-ne,ie+=re-ie%re,ne=ye+1,ie>=E)return ne}}var ct=[""];function Sn(a){for(;ct.length<=a;)ct.push(Zt(ct)+" ");return ct[a]}function Zt(a){return a[a.length-1]}function vn(a,E){for(var re=[],ne=0;ne"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ce.test(a))}function Ue(a,E){return E?E.source.indexOf("\\w")>-1&&Te(a)?!0:E.test(a):Te(a)}function ge(a){for(var E in a)if(a.hasOwnProperty(E)&&a[E])return!1;return!0}var Me=/[\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 ot(a){return a.charCodeAt(0)>=768&&Me.test(a)}function Qt(a,E,re){for(;(re<0?E>0:Ere?-1:1;;){if(E==re)return E;var ie=(E+re)/2,ye=ne<0?Math.ceil(ie):Math.floor(ie);if(ye==E)return a(ye)?E:re;a(ye)?re=ye:E=ye+ne}}function vt(a,E,re,ne){if(!a)return ne(E,re,"ltr",0);for(var ie=!1,ye=0;yeE||E==re&&Be.to==E)&&(ne(Math.max(Be.from,E),Math.min(Be.to,re),Be.level==1?"rtl":"ltr",ye),ie=!0)}ie||ne(E,re,"ltr")}var Ct=null;function Ut(a,E,re){var ne;Ct=null;for(var ie=0;ieE)return ie;ye.to==E&&(ye.from!=ye.to&&re=="before"?ne=ie:Ct=ie),ye.from==E&&(ye.from!=ye.to&&re!="before"?ne=ie:Ct=ie)}return ne!=null?ne:Ct}var $t=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",E="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function re(yt){return yt<=247?a.charAt(yt):1424<=yt&&yt<=1524?"R":1536<=yt&&yt<=1785?E.charAt(yt-1536):1774<=yt&&yt<=2220?"r":8192<=yt&&yt<=8203?"w":yt==8204?"b":"L"}var ne=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,ye=/[LRr]/,Be=/[Lb1n]/,Xe=/[1n]/;function at(yt,cn,En){this.level=yt,this.from=cn,this.to=En}return function(yt,cn){var En=cn=="ltr"?"L":"R";if(yt.length==0||cn=="ltr"&&!ne.test(yt))return!1;for(var Vn=yt.length,Hn=[],Rr=0;Rr-1&&(ne[E]=ie.slice(0,ye).concat(ie.slice(ye+1)))}}}function Cn(a,E){var re=Mn(a,E);if(re.length)for(var ne=Array.prototype.slice.call(arguments,2),ie=0;ie0}function Lt(a){a.prototype.on=function(E,re){Bt(this,E,re)},a.prototype.off=function(E,re){Dn(this,E,re)}}function qt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function zt(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function bn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Et(a){qt(a),zt(a)}function ft(a){return a.target||a.srcElement}function de(a){var E=a.which;return E==null&&(a.button&1?E=1:a.button&2?E=3:a.button&4&&(E=2)),Ge&&a.ctrlKey&&E==1&&(E=3),E}var wn=function(){if(be&&fe<9)return!1;var a=It("div");return"draggable"in a||"dragDrop"in a}(),Un;function mn(a){if(Un==null){var E=It("span","\u200B");rt(a,It("span",[E,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Un=E.offsetWidth<=1&&E.offsetHeight>2&&!(be&&fe<8))}var re=Un?It("span","\u200B"):It("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return re.setAttribute("cm-text",""),re}var Er;function Sr(a){if(Er!=null)return Er;var E=rt(a,document.createTextNode("A\u062EA")),re=ut(E,0,1).getBoundingClientRect(),ne=ut(E,1,2).getBoundingClientRect();return gt(a),!re||re.left==re.right?!1:Er=ne.right-re.right<3}var or=` + `]:{paddingInlineEnd:xe.calc(xe.fontSizeIcon).add(xe.controlPaddingHorizontal).equal()}}};return[we(xe,Ge),at]}const Re=xe=>{const{componentCls:Ge}=xe,Fe=(0,le.mergeToken)(xe,{selectHeight:xe.controlHeightSM,multipleSelectItemHeight:xe.multipleItemHeightSM,borderRadius:xe.borderRadiusSM,borderRadiusSM:xe.borderRadiusXS}),At=(0,le.mergeToken)(xe,{fontSize:xe.fontSizeLG,selectHeight:xe.controlHeightLG,multipleSelectItemHeight:xe.multipleItemHeightLG,borderRadius:xe.borderRadiusLG,borderRadiusSM:xe.borderRadius});return[Oe(xe),Oe(Fe,"sm"),{[`${Ge}-multiple${Ge}-sm`]:{[`${Ge}-selection-placeholder`]:{insetInline:xe.calc(xe.controlPaddingHorizontalSM).sub(xe.lineWidth).equal()},[`${Ge}-selection-search`]:{marginInlineStart:2}}},Oe(At,"lg")]};ae.ZP=Re},68525:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Oe}});var b=y(59301),me=y(40001),le=y(19248),pe=y(99267),be=y(84105),fe=y(58617),we=y(47472);function Oe(Re){let{suffixIcon:xe,clearIcon:Ge,menuItemSelectedIcon:Fe,removeIcon:At,loading:at,multiple:tt,hasFeedback:Je,prefixCls:We,showSuffixIcon:Ve,feedbackIcon:Ze,showArrow:Qe,componentName:ze}=Re;const _e=Ge!=null?Ge:b.createElement(le.Z,null),$e=Nt=>xe===null&&!Je&&!Qe?null:b.createElement(b.Fragment,null,Ve!==!1&&Nt,Je&&Ze);let nt=null;if(xe!==void 0)nt=$e(xe);else if(at)nt=$e(b.createElement(fe.Z,{spin:!0}));else{const Nt=`${We}-suffix`;nt=vt=>{let{open:dt,showSearch:It}=vt;return $e(dt&&It?b.createElement(we.Z,{className:Nt}):b.createElement(be.Z,{className:Nt}))}}let bt=null;Fe!==void 0?bt=Fe:tt?bt=b.createElement(me.Z,null):bt=null;let it=null;return At!==void 0?it=At:it=b.createElement(pe.Z,null),{clearIcon:_e,suffixIcon:nt,itemIcon:bt,removeIcon:it}}},90005:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return b}});function b(me,le){return le!==void 0?le:me!==null}},58755:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Jt}});var b=y(59301),me=y(58617),le=y(92310),pe=y.n(le),be=y(60499),fe=y(18642),we=y(72190),Oe=y(42244),Re=y(18929),xe=y(10228),Ge=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Fe=b.forwardRef(function(Rt,Zt){var Tn,Tt=Rt.prefixCls,Ye=Tt===void 0?"rc-switch":Tt,Se=Rt.className,Qt=Rt.checked,on=Rt.defaultChecked,st=Rt.disabled,Ut=Rt.loadingIcon,Gt=Rt.checkedChildren,On=Rt.unCheckedChildren,ft=Rt.onClick,En=Rt.onChange,Ht=Rt.onKeyDown,gn=(0,Oe.Z)(Rt,Ge),un=(0,Re.Z)(!1,{value:Qt,defaultValue:on}),De=(0,we.Z)(un,2),he=De[0],ce=De[1];function Te(ct,$t){var gt=he;return st||(gt=ct,ce(gt),En==null||En(gt,$t)),gt}function je(ct){ct.which===xe.Z.LEFT?Te(!1,ct):ct.which===xe.Z.RIGHT&&Te(!0,ct),Ht==null||Ht(ct)}function ge(ct){var $t=Te(!he,ct);ft==null||ft($t,ct)}var Pe=pe()(Ye,Se,(Tn={},(0,fe.Z)(Tn,"".concat(Ye,"-checked"),he),(0,fe.Z)(Tn,"".concat(Ye,"-disabled"),st),Tn));return b.createElement("button",(0,be.Z)({},gn,{type:"button",role:"switch","aria-checked":he,disabled:st,className:Pe,ref:Zt,onKeyDown:je,onClick:ge}),Ut,b.createElement("span",{className:"".concat(Ye,"-inner")},b.createElement("span",{className:"".concat(Ye,"-inner-checked")},Gt),b.createElement("span",{className:"".concat(Ye,"-inner-unchecked")},On)))});Fe.displayName="Switch";var At=Fe,at=y(12919),tt=y(48755),Je=y(2171),We=y(31756),Ve=y(36237),Ze=y(17835),Qe=y(63356),ze=y(16931),_e=y(51636);const $e=Rt=>{const{componentCls:Zt,trackHeightSM:Tn,trackPadding:Tt,trackMinWidthSM:Ye,innerMinMarginSM:Se,innerMaxMarginSM:Qt,handleSizeSM:on,calc:st}=Rt,Ut=`${Zt}-inner`,Gt=(0,Ve.unit)(st(on).add(st(Tt).mul(2)).equal()),On=(0,Ve.unit)(st(Qt).mul(2).equal());return{[Zt]:{[`&${Zt}-small`]:{minWidth:Ye,height:Tn,lineHeight:(0,Ve.unit)(Tn),[`${Zt}-inner`]:{paddingInlineStart:Qt,paddingInlineEnd:Se,[`${Ut}-checked, ${Ut}-unchecked`]:{minHeight:Tn},[`${Ut}-checked`]:{marginInlineStart:`calc(-100% + ${Gt} - ${On})`,marginInlineEnd:`calc(100% - ${Gt} + ${On})`},[`${Ut}-unchecked`]:{marginTop:st(Tn).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Zt}-handle`]:{width:on,height:on},[`${Zt}-loading-icon`]:{top:st(st(on).sub(Rt.switchLoadingIconSize)).div(2).equal(),fontSize:Rt.switchLoadingIconSize},[`&${Zt}-checked`]:{[`${Zt}-inner`]:{paddingInlineStart:Se,paddingInlineEnd:Qt,[`${Ut}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${Ut}-unchecked`]:{marginInlineStart:`calc(100% - ${Gt} + ${On})`,marginInlineEnd:`calc(-100% + ${Gt} - ${On})`}},[`${Zt}-handle`]:{insetInlineStart:`calc(100% - ${(0,Ve.unit)(st(on).add(Tt).equal())})`}},[`&:not(${Zt}-disabled):active`]:{[`&:not(${Zt}-checked) ${Ut}`]:{[`${Ut}-unchecked`]:{marginInlineStart:st(Rt.marginXXS).div(2).equal(),marginInlineEnd:st(Rt.marginXXS).mul(-1).div(2).equal()}},[`&${Zt}-checked ${Ut}`]:{[`${Ut}-checked`]:{marginInlineStart:st(Rt.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:st(Rt.marginXXS).div(2).equal()}}}}}}},nt=Rt=>{const{componentCls:Zt,handleSize:Tn,calc:Tt}=Rt;return{[Zt]:{[`${Zt}-loading-icon${Rt.iconCls}`]:{position:"relative",top:Tt(Tt(Tn).sub(Rt.fontSize)).div(2).equal(),color:Rt.switchLoadingIconColor,verticalAlign:"top"},[`&${Zt}-checked ${Zt}-loading-icon`]:{color:Rt.switchColor}}}},bt=Rt=>{const{componentCls:Zt,trackPadding:Tn,handleBg:Tt,handleShadow:Ye,handleSize:Se,calc:Qt}=Rt,on=`${Zt}-handle`;return{[Zt]:{[on]:{position:"absolute",top:Tn,insetInlineStart:Tn,width:Se,height:Se,transition:`all ${Rt.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Tt,borderRadius:Qt(Se).div(2).equal(),boxShadow:Ye,transition:`all ${Rt.switchDuration} ease-in-out`,content:'""'}},[`&${Zt}-checked ${on}`]:{insetInlineStart:`calc(100% - ${(0,Ve.unit)(Qt(Se).add(Tn).equal())})`},[`&:not(${Zt}-disabled):active`]:{[`${on}::before`]:{insetInlineEnd:Rt.switchHandleActiveInset,insetInlineStart:0},[`&${Zt}-checked ${on}::before`]:{insetInlineEnd:0,insetInlineStart:Rt.switchHandleActiveInset}}}}},it=Rt=>{const{componentCls:Zt,trackHeight:Tn,trackPadding:Tt,innerMinMargin:Ye,innerMaxMargin:Se,handleSize:Qt,calc:on}=Rt,st=`${Zt}-inner`,Ut=(0,Ve.unit)(on(Qt).add(on(Tt).mul(2)).equal()),Gt=(0,Ve.unit)(on(Se).mul(2).equal());return{[Zt]:{[st]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:Se,paddingInlineEnd:Ye,transition:`padding-inline-start ${Rt.switchDuration} ease-in-out, padding-inline-end ${Rt.switchDuration} ease-in-out`,[`${st}-checked, ${st}-unchecked`]:{display:"block",color:Rt.colorTextLightSolid,fontSize:Rt.fontSizeSM,transition:`margin-inline-start ${Rt.switchDuration} ease-in-out, margin-inline-end ${Rt.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:Tn},[`${st}-checked`]:{marginInlineStart:`calc(-100% + ${Ut} - ${Gt})`,marginInlineEnd:`calc(100% - ${Ut} + ${Gt})`},[`${st}-unchecked`]:{marginTop:on(Tn).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Zt}-checked ${st}`]:{paddingInlineStart:Ye,paddingInlineEnd:Se,[`${st}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${st}-unchecked`]:{marginInlineStart:`calc(100% - ${Ut} + ${Gt})`,marginInlineEnd:`calc(-100% + ${Ut} - ${Gt})`}},[`&:not(${Zt}-disabled):active`]:{[`&:not(${Zt}-checked) ${st}`]:{[`${st}-unchecked`]:{marginInlineStart:on(Tt).mul(2).equal(),marginInlineEnd:on(Tt).mul(-1).mul(2).equal()}},[`&${Zt}-checked ${st}`]:{[`${st}-checked`]:{marginInlineStart:on(Tt).mul(-1).mul(2).equal(),marginInlineEnd:on(Tt).mul(2).equal()}}}}}},Nt=Rt=>{const{componentCls:Zt,trackHeight:Tn,trackMinWidth:Tt}=Rt;return{[Zt]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(Rt)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Tt,height:Tn,lineHeight:(0,Ve.unit)(Tn),verticalAlign:"middle",background:Rt.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Rt.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Zt}-disabled)`]:{background:Rt.colorTextTertiary}}),(0,Qe.Qy)(Rt)),{[`&${Zt}-checked`]:{background:Rt.switchColor,[`&:hover:not(${Zt}-disabled)`]:{background:Rt.colorPrimaryHover}},[`&${Zt}-loading, &${Zt}-disabled`]:{cursor:"not-allowed",opacity:Rt.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Zt}-rtl`]:{direction:"rtl"}})}},vt=Rt=>{const{fontSize:Zt,lineHeight:Tn,controlHeight:Tt,colorWhite:Ye}=Rt,Se=Zt*Tn,Qt=Tt/2,on=2,st=Se-on*2,Ut=Qt-on*2;return{trackHeight:Se,trackHeightSM:Qt,trackMinWidth:st*2+on*4,trackMinWidthSM:Ut*2+on*2,trackPadding:on,handleBg:Ye,handleSize:st,handleSizeSM:Ut,handleShadow:`0 2px 4px 0 ${new Ze.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:st/2,innerMaxMargin:st+on+on*2,innerMinMarginSM:Ut/2,innerMaxMarginSM:Ut+on+on*2}};var dt=(0,ze.I$)("Switch",Rt=>{const Zt=(0,_e.mergeToken)(Rt,{switchDuration:Rt.motionDurationMid,switchColor:Rt.colorPrimary,switchDisabledOpacity:Rt.opacityLoading,switchLoadingIconSize:Rt.calc(Rt.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Rt.opacityLoading})`,switchHandleActiveInset:"-30%"});return[Nt(Zt),it(Zt),bt(Zt),nt(Zt),$e(Zt)]},vt),It=function(Rt,Zt){var Tn={};for(var Tt in Rt)Object.prototype.hasOwnProperty.call(Rt,Tt)&&Zt.indexOf(Tt)<0&&(Tn[Tt]=Rt[Tt]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Tt=Object.getOwnPropertySymbols(Rt);Ye{const{prefixCls:Tn,size:Tt,disabled:Ye,loading:Se,className:Qt,rootClassName:on,style:st,checked:Ut,value:Gt,defaultChecked:On,defaultValue:ft,onChange:En}=Rt,Ht=It(Rt,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[gn,un]=(0,Re.Z)(!1,{value:Ut!=null?Ut:Gt,defaultValue:On!=null?On:ft}),{getPrefixCls:De,direction:he,switch:ce}=b.useContext(tt.E_),Te=b.useContext(Je.Z),je=(Ye!=null?Ye:Te)||Se,ge=De("switch",Tn),Pe=b.createElement("div",{className:`${ge}-handle`},Se&&b.createElement(me.Z,{className:`${ge}-loading-icon`})),[ct,$t,gt]=dt(ge),yt=(0,We.Z)(Tt),Dt=pe()(ce==null?void 0:ce.className,{[`${ge}-small`]:yt==="small",[`${ge}-loading`]:Se,[`${ge}-rtl`]:he==="rtl"},Qt,on,$t,gt),Pt=Object.assign(Object.assign({},ce==null?void 0:ce.style),st),Wt=function(){un(arguments.length<=0?void 0:arguments[0]),En==null||En.apply(void 0,arguments)};return ct(b.createElement(at.Z,{component:"Switch"},b.createElement(At,Object.assign({},Ht,{checked:gn,onChange:Wt,prefixCls:ge,className:Dt,style:Pt,disabled:je,ref:Zt,loadingIcon:Pe}))))});qe.__ANT_SWITCH=!0;var Jt=qe},18287:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return on}});var b=y(87632),me=y(77654),le=y(59301),pe=y(52671),be=y(8657),fe=y(60499),we={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Oe=we,Re=y(7657),xe=function(Ut,Gt){return le.createElement(Re.Z,(0,fe.Z)({},Ut,{ref:Gt,icon:Oe}))},Ge=le.forwardRef(xe),Fe=Ge,At=y(92310),at=y.n(At),tt=y(82661),Je=y(34061),We=y(48755),Ve=y(56082),Ze=y(86641),Qe=y(57700),ze=y(12425);const _e=4;function $e(st){const{dropPosition:Ut,dropLevelOffset:Gt,prefixCls:On,indent:ft,direction:En="ltr"}=st,Ht=En==="ltr"?"left":"right",gn=En==="ltr"?"right":"left",un={[Ht]:-Gt*ft+_e,[gn]:0};switch(Ut){case-1:un.top=-3;break;case 1:un.bottom=-3;break;default:un.bottom=-3,un[Ht]=ft+_e;break}return le.createElement("div",{style:un,className:`${On}-drop-indicator`})}var nt=$e,bt=y(85278),Nt=le.forwardRef((st,Ut)=>{var Gt;const{getPrefixCls:On,direction:ft,virtual:En,tree:Ht}=le.useContext(We.E_),{prefixCls:gn,className:un,showIcon:De=!1,showLine:he,switcherIcon:ce,switcherLoadingIcon:Te,blockNode:je=!1,children:ge,checkable:Pe=!1,selectable:ct=!0,draggable:$t,motion:gt,style:yt}=st,Dt=On("tree",gn),Pt=On(),Wt=gt!=null?gt:Object.assign(Object.assign({},(0,Ze.Z)(Pt)),{motionAppear:!1}),pn=Object.assign(Object.assign({},st),{checkable:Pe,selectable:ct,showIcon:De,motion:Wt,blockNode:je,showLine:!!he,dropIndicatorRender:nt}),[fn,Mt,Ln]=(0,ze.ZP)(Dt),[,kn]=(0,Qe.ZP)(),wn=kn.paddingXS/2+(((Gt=kn.Tree)===null||Gt===void 0?void 0:Gt.titleHeight)||kn.controlHeightSM),ln=le.useMemo(()=>{if(!$t)return!1;let xn={};switch(typeof $t){case"function":xn.nodeDraggable=$t;break;case"object":xn=Object.assign({},$t);break;default:break}return xn.icon!==!1&&(xn.icon=xn.icon||le.createElement(Ve.Z,null)),xn},[$t]),In=xn=>le.createElement(bt.Z,{prefixCls:Dt,switcherIcon:ce,switcherLoadingIcon:Te,treeNodeProps:xn,showLine:he});return fn(le.createElement(b.ZP,Object.assign({itemHeight:wn,ref:Ut,virtual:En},pn,{style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),yt),prefixCls:Dt,className:at()({[`${Dt}-icon-hide`]:!De,[`${Dt}-block-node`]:je,[`${Dt}-unselectable`]:!ct,[`${Dt}-rtl`]:ft==="rtl"},Ht==null?void 0:Ht.className,un,Mt,Ln),direction:ft,checkable:Pe&&le.createElement("span",{className:`${Dt}-checkbox-inner`}),selectable:ct,switcherIcon:In,draggable:ln}),ge))});const vt=0,dt=1,It=2;function St(st,Ut,Gt){const{key:On,children:ft}=Gt;function En(Ht){const gn=Ht[On],un=Ht[ft];Ut(gn,Ht)!==!1&&St(un||[],Ut,Gt)}st.forEach(En)}function qe(st){let{treeData:Ut,expandedKeys:Gt,startKey:On,endKey:ft,fieldNames:En}=st;const Ht=[];let gn=vt;if(On&&On===ft)return[On];if(!On||!ft)return[];function un(De){return De===On||De===ft}return St(Ut,De=>{if(gn===It)return!1;if(un(De)){if(Ht.push(De),gn===vt)gn=dt;else if(gn===dt)return gn=It,!1}else gn===dt&&Ht.push(De);return Gt.includes(De)},(0,Je.w$)(En)),Ht}function Jt(st,Ut,Gt){const On=(0,me.Z)(Ut),ft=[];return St(st,(En,Ht)=>{const gn=On.indexOf(En);return gn!==-1&&(ft.push(Ht),On.splice(gn,1)),!!On.length},(0,Je.w$)(Gt)),ft}var Rt=function(st,Ut){var Gt={};for(var On in st)Object.prototype.hasOwnProperty.call(st,On)&&Ut.indexOf(On)<0&&(Gt[On]=st[On]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,On=Object.getOwnPropertySymbols(st);ft{var{defaultExpandAll:Gt,defaultExpandParent:On,defaultExpandedKeys:ft}=st,En=Rt(st,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ht=le.useRef(null),gn=le.useRef(null),un=()=>{const{keyEntities:fn}=(0,Je.I8)(Tn(En));let Mt;return Gt?Mt=Object.keys(fn):On?Mt=(0,tt.r7)(En.expandedKeys||ft||[],fn):Mt=En.expandedKeys||ft||[],Mt},[De,he]=le.useState(En.selectedKeys||En.defaultSelectedKeys||[]),[ce,Te]=le.useState(()=>un());le.useEffect(()=>{"selectedKeys"in En&&he(En.selectedKeys)},[En.selectedKeys]),le.useEffect(()=>{"expandedKeys"in En&&Te(En.expandedKeys)},[En.expandedKeys]);const je=(fn,Mt)=>{var Ln;return"expandedKeys"in En||Te(fn),(Ln=En.onExpand)===null||Ln===void 0?void 0:Ln.call(En,fn,Mt)},ge=(fn,Mt)=>{var Ln;const{multiple:kn,fieldNames:wn}=En,{node:ln,nativeEvent:In}=Mt,{key:xn=""}=ln,kt=Tn(En),Yt=Object.assign(Object.assign({},Mt),{selected:!0}),Ft=(In==null?void 0:In.ctrlKey)||(In==null?void 0:In.metaKey),vn=In==null?void 0:In.shiftKey;let Ct;kn&&Ft?(Ct=fn,Ht.current=xn,gn.current=Ct,Yt.selectedNodes=Jt(kt,Ct,wn)):kn&&vn?(Ct=Array.from(new Set([].concat((0,me.Z)(gn.current||[]),(0,me.Z)(qe({treeData:kt,expandedKeys:ce,startKey:xn,endKey:Ht.current,fieldNames:wn}))))),Yt.selectedNodes=Jt(kt,Ct,wn)):(Ct=[xn],Ht.current=xn,gn.current=Ct,Yt.selectedNodes=Jt(kt,Ct,wn)),(Ln=En.onSelect)===null||Ln===void 0||Ln.call(En,Ct,Yt),"selectedKeys"in En||he(Ct)},{getPrefixCls:Pe,direction:ct}=le.useContext(We.E_),{prefixCls:$t,className:gt,showIcon:yt=!0,expandAction:Dt="click"}=En,Pt=Rt(En,["prefixCls","className","showIcon","expandAction"]),Wt=Pe("tree",$t),pn=at()(`${Wt}-directory`,{[`${Wt}-directory-rtl`]:ct==="rtl"},gt);return le.createElement(Nt,Object.assign({icon:Zt,ref:Ut,blockNode:!0},Pt,{showIcon:yt,expandAction:Dt,prefixCls:Wt,className:pn,expandedKeys:ce,selectedKeys:De,onSelect:ge,onExpand:je}))};var Se=le.forwardRef(Tt);const Qt=Nt;Qt.DirectoryTree=Se,Qt.TreeNode=b.OF;var on=Qt},12425:function(Ce,ae,y){"use strict";y.d(ae,{ZP:function(){return tt},Yk:function(){return Fe},TM:function(){return At}});var b=y(36237),me=y(36170),le=y(63356),pe=y(34961),be=y(51636),fe=y(16931);const we=Je=>{let{treeCls:We,treeNodeCls:Ve,directoryNodeSelectedBg:Ze,directoryNodeSelectedColor:Qe,motionDurationMid:ze,borderRadius:_e,controlItemBgHover:$e}=Je;return{[`${We}${We}-directory ${Ve}`]:{[`${We}-node-content-wrapper`]:{position:"static",[`> *:not(${We}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${ze}`,content:'""',borderRadius:_e},"&:hover:before":{background:$e}},[`${We}-switcher, ${We}-checkbox, ${We}-draggable-icon`]:{zIndex:1},"&-selected":{[`${We}-switcher, ${We}-draggable-icon`]:{color:Qe},[`${We}-node-content-wrapper`]:{color:Qe,background:"transparent","&:before, &:hover:before":{background:Ze}}}}}},Oe=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Re=(Je,We)=>({[`.${Je}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${We.motionDurationSlow}`}}}),xe=(Je,We)=>({[`.${Je}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:We.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,b.unit)(We.lineWidthBold)} solid ${We.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ge=(Je,We)=>{const{treeCls:Ve,treeNodeCls:Ze,treeNodePadding:Qe,titleHeight:ze,indentSize:_e,nodeSelectedBg:$e,nodeHoverBg:nt,colorTextQuaternary:bt,controlItemBgActiveDisabled:it}=We;return{[Ve]:Object.assign(Object.assign({},(0,le.Wf)(We)),{background:We.colorBgContainer,borderRadius:We.borderRadius,transition:`background-color ${We.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${Ve}-rtl ${Ve}-switcher_close ${Ve}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${Ve}-active-focused)`]:Object.assign({},(0,le.oN)(We)),[`${Ve}-list-holder-inner`]:{alignItems:"flex-start"},[`&${Ve}-block-node`]:{[`${Ve}-list-holder-inner`]:{alignItems:"stretch",[`${Ve}-node-content-wrapper`]:{flex:"auto"},[`${Ze}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${We.colorPrimary}`,opacity:0,animationName:Oe,animationDuration:We.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:We.borderRadius}}},[Ze]:{display:"flex",alignItems:"flex-start",marginBottom:Qe,lineHeight:(0,b.unit)(ze),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:Qe},[`&-disabled ${Ve}-node-content-wrapper`]:{color:We.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${Ve}-checkbox-disabled + ${Ve}-node-selected,&${Ze}-disabled${Ze}-selected ${Ve}-node-content-wrapper`]:{backgroundColor:it},[`${Ve}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${Ze}-disabled)`]:{[`${Ve}-node-content-wrapper`]:{"&:hover":{color:We.nodeHoverColor}}},[`&-active ${Ve}-node-content-wrapper`]:{background:We.controlItemBgHover},[`&:not(${Ze}-disabled).filter-node ${Ve}-title`]:{color:We.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${Ve}-draggable-icon`]:{flexShrink:0,width:ze,textAlign:"center",visibility:"visible",color:bt},[`&${Ze}-disabled ${Ve}-draggable-icon`]:{visibility:"hidden"}}},[`${Ve}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:_e}},[`${Ve}-draggable-icon`]:{visibility:"hidden"},[`${Ve}-switcher, ${Ve}-checkbox`]:{marginInlineEnd:We.calc(We.calc(ze).sub(We.controlInteractiveSize)).div(2).equal()},[`${Ve}-switcher`]:Object.assign(Object.assign({},Re(Je,We)),{position:"relative",flex:"none",alignSelf:"stretch",width:ze,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${We.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:ze,height:ze,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:We.borderRadius,transition:`all ${We.motionDurationSlow}`},[`&:not(${Ve}-switcher-noop):hover:before`]:{backgroundColor:We.colorBgTextHover},[`&_close ${Ve}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:We.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:We.calc(ze).div(2).equal(),bottom:We.calc(Qe).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${We.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:We.calc(We.calc(ze).div(2).equal()).mul(.8).equal(),height:We.calc(ze).div(2).equal(),borderBottom:`1px solid ${We.colorBorder}`,content:'""'}}}),[`${Ve}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:ze,paddingBlock:0,paddingInline:We.paddingXS,background:"transparent",borderRadius:We.borderRadius,cursor:"pointer",transition:`all ${We.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},xe(Je,We)),{"&:hover":{backgroundColor:nt},[`&${Ve}-node-selected`]:{color:We.nodeSelectedColor,backgroundColor:$e},[`${Ve}-iconEle`]:{display:"inline-block",width:ze,height:ze,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${Ve}-unselectable ${Ve}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${Ze}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${We.colorPrimary}`},"&-show-line":{[`${Ve}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:We.calc(ze).div(2).equal(),bottom:We.calc(Qe).mul(-1).equal(),borderInlineEnd:`1px solid ${We.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${Ve}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${Ze}-leaf-last ${Ve}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,b.unit)(We.calc(ze).div(2).equal())} !important`}})}},Fe=function(Je,We){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Ze=`.${Je}`,Qe=`${Ze}-treenode`,ze=We.calc(We.paddingXS).div(2).equal(),_e=(0,be.mergeToken)(We,{treeCls:Ze,treeNodeCls:Qe,treeNodePadding:ze});return[Ge(Je,_e),Ve&&we(_e)].filter(Boolean)},At=Je=>{const{controlHeightSM:We,controlItemBgHover:Ve,controlItemBgActive:Ze}=Je,Qe=We;return{titleHeight:Qe,indentSize:Qe,nodeHoverBg:Ve,nodeHoverColor:Je.colorText,nodeSelectedBg:Ze,nodeSelectedColor:Je.colorText}},at=Je=>{const{colorTextLightSolid:We,colorPrimary:Ve}=Je;return Object.assign(Object.assign({},At(Je)),{directoryNodeSelectedColor:We,directoryNodeSelectedBg:Ve})};var tt=(0,fe.I$)("Tree",(Je,We)=>{let{prefixCls:Ve}=We;return[{[Je.componentCls]:(0,me.C2)(`${Ve}-checkbox`,Je)},Fe(Ve,Je),(0,pe.Z)(Je)]},at)},85278:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return We}});var b=y(59301),me=y(60499),le={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},pe=le,be=y(7657),fe=function(Ze,Qe){return b.createElement(be.Z,(0,me.Z)({},Ze,{ref:Qe,icon:pe}))},we=b.forwardRef(fe),Oe=we,Re=y(52671),xe=y(58617),Ge=y(15075),Fe=y(43531),At=y(92310),at=y.n(At),tt=y(22703),We=Ve=>{const{prefixCls:Ze,switcherIcon:Qe,treeNodeProps:ze,showLine:_e,switcherLoadingIcon:$e}=Ve,{isLeaf:nt,expanded:bt,loading:it}=ze;if(it)return b.isValidElement($e)?$e:b.createElement(xe.Z,{className:`${Ze}-switcher-loading-icon`});let Nt;if(_e&&typeof _e=="object"&&(Nt=_e.showLeafIcon),nt){if(!_e)return null;if(typeof Nt!="boolean"&&Nt){const It=typeof Nt=="function"?Nt(ze):Nt,St=`${Ze}-switcher-line-custom-icon`;return b.isValidElement(It)?(0,tt.Tm)(It,{className:at()(It.props.className||"",St)}):It}return Nt?b.createElement(Re.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement("span",{className:`${Ze}-switcher-leaf-line`})}const vt=`${Ze}-switcher-icon`,dt=typeof Qe=="function"?Qe(ze):Qe;return b.isValidElement(dt)?(0,tt.Tm)(dt,{className:at()(dt.props.className||"",vt)}):dt!==void 0?dt:_e?bt?b.createElement(Ge.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement(Fe.Z,{className:`${Ze}-switcher-line-icon`}):b.createElement(Oe,{className:vt})}},94968:function(Ce,ae,y){"use strict";y.d(ae,{default:function(){return Vt}});var b=y(59301),me=y(77654),le=y(4676),pe=y(92310),be=y.n(pe),fe=y(60499),we=y(38705),Oe=y(17212),Re=y(15793),xe=y(39153),Ge=y(55401),Fe=y(18642),At=y(85899),at=y(42244),tt=y(43749),Je=y(73001),We=y(11576),Ve=y(26112),Ze=y(48736),Qe=function(et,en){if(et&&en){var cn=Array.isArray(en)?en:en.split(","),Xt=et.name||"",an=et.type||"",Kt=an.replace(/\/.*$/,"");return cn.some(function(nn){var rt=nn.trim();if(/^\*(\/\*)?$/.test(nn))return!0;if(rt.charAt(0)==="."){var Jn=Xt.toLowerCase(),Bt=rt.toLowerCase(),rr=[Bt];return(Bt===".jpg"||Bt===".jpeg")&&(rr=[".jpg",".jpeg"]),rr.some(function(Pr){return Jn.endsWith(Pr)})}return/\/\*$/.test(rt)?Kt===rt.replace(/\/.*$/,""):an===rt?!0:/^\w+$/.test(rt)?((0,Ze.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(rt,"'.Skip for check.")),!0):!1})}return!0};function ze(et,en){var cn="cannot ".concat(et.method," ").concat(et.action," ").concat(en.status,"'"),Xt=new Error(cn);return Xt.status=en.status,Xt.method=et.method,Xt.url=et.action,Xt}function _e(et){var en=et.responseText||et.response;if(!en)return en;try{return JSON.parse(en)}catch(cn){return en}}function $e(et){var en=new XMLHttpRequest;et.onProgress&&en.upload&&(en.upload.onprogress=function(Kt){Kt.total>0&&(Kt.percent=Kt.loaded/Kt.total*100),et.onProgress(Kt)});var cn=new FormData;et.data&&Object.keys(et.data).forEach(function(an){var Kt=et.data[an];if(Array.isArray(Kt)){Kt.forEach(function(nn){cn.append("".concat(an,"[]"),nn)});return}cn.append(an,Kt)}),et.file instanceof Blob?cn.append(et.filename,et.file,et.file.name):cn.append(et.filename,et.file),en.onerror=function(Kt){et.onError(Kt)},en.onload=function(){return en.status<200||en.status>=300?et.onError(ze(et,en),_e(en)):et.onSuccess(_e(en),en)},en.open(et.method,et.action,!0),et.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var Xt=et.headers||{};return Xt["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Xt).forEach(function(an){Xt[an]!==null&&en.setRequestHeader(an,Xt[an])}),en.send(cn),{abort:function(){en.abort()}}}var nt=function(){var et=(0,We.Z)((0,Je.Z)().mark(function en(cn,Xt){var an,Kt,nn,rt,Jn,Bt,rr,Pr;return(0,Je.Z)().wrap(function(rn){for(;;)switch(rn.prev=rn.next){case 0:Bt=function(){return Bt=(0,We.Z)((0,Je.Z)().mark(function Pn(zn){return(0,Je.Z)().wrap(function(wr){for(;;)switch(wr.prev=wr.next){case 0:return wr.abrupt("return",new Promise(function(pr){zn.file(function(Zn){Xt(Zn)?(zn.fullPath&&!Zn.webkitRelativePath&&(Object.defineProperties(Zn,{webkitRelativePath:{writable:!0}}),Zn.webkitRelativePath=zn.fullPath.replace(/^\//,""),Object.defineProperties(Zn,{webkitRelativePath:{writable:!1}})),pr(Zn)):pr(null)})}));case 1:case"end":return wr.stop()}},Pn)})),Bt.apply(this,arguments)},Jn=function(Pn){return Bt.apply(this,arguments)},rt=function(){return rt=(0,We.Z)((0,Je.Z)().mark(function Pn(zn){var tr,wr,pr,Zn,Kn;return(0,Je.Z)().wrap(function(dr){for(;;)switch(dr.prev=dr.next){case 0:tr=zn.createReader(),wr=[];case 2:return dr.next=5,new Promise(function(Yr){tr.readEntries(Yr,function(){return Yr([])})});case 5:if(pr=dr.sent,Zn=pr.length,Zn){dr.next=9;break}return dr.abrupt("break",12);case 9:for(Kn=0;Kn{const{componentCls:en,iconCls:cn}=et;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:et.colorFillAlter,border:`${(0,On.unit)(et.lineWidth)} dashed ${et.colorBorder}`,borderRadius:et.borderRadiusLG,cursor:"pointer",transition:`border-color ${et.motionDurationSlow}`,[en]:{padding:et.padding},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:et.borderRadiusLG,"&:focus-visible":{outline:`${(0,On.unit)(et.lineWidthFocus)} solid ${et.colorPrimaryBorder}`}},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + &:not(${en}-disabled):hover, + &-hover:not(${en}-disabled) + `]:{borderColor:et.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:et.margin,[cn]:{color:et.colorPrimary,fontSize:et.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${(0,On.unit)(et.marginXXS)}`,color:et.colorTextHeading,fontSize:et.fontSizeLG},[`p${en}-hint`]:{color:et.colorTextDescription,fontSize:et.fontSize},[`&${en}-disabled`]:{[`p${en}-drag-icon ${cn}, + p${en}-text, + p${en}-hint + `]:{color:et.colorTextDisabled}}}}}},gn=et=>{const{componentCls:en,iconCls:cn,fontSize:Xt,lineHeight:an,calc:Kt}=et,nn=`${en}-list-item`,rt=`${nn}-actions`,Jn=`${nn}-action`;return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,on.dF)()),{lineHeight:et.lineHeight,[nn]:{position:"relative",height:Kt(et.lineHeight).mul(Xt).equal(),marginTop:et.marginXS,fontSize:Xt,display:"flex",alignItems:"center",transition:`background-color ${et.motionDurationSlow}`,borderRadius:et.borderRadiusSM,"&:hover":{backgroundColor:et.controlItemBgHover},[`${nn}-name`]:Object.assign(Object.assign({},on.vS),{padding:`0 ${(0,On.unit)(et.paddingXS)}`,lineHeight:an,flex:"auto",transition:`all ${et.motionDurationSlow}`}),[rt]:{whiteSpace:"nowrap",[Jn]:{opacity:0},[cn]:{color:et.actionsColor,transition:`all ${et.motionDurationSlow}`},[` + ${Jn}:focus-visible, + &.picture ${Jn} + `]:{opacity:1}},[`${en}-icon ${cn}`]:{color:et.colorTextDescription,fontSize:Xt},[`${nn}-progress`]:{position:"absolute",bottom:et.calc(et.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Kt(Xt).add(et.paddingXS).equal(),fontSize:Xt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${nn}:hover ${Jn}`]:{opacity:1},[`${nn}-error`]:{color:et.colorError,[`${nn}-name, ${en}-icon ${cn}`]:{color:et.colorError},[rt]:{[`${cn}, ${cn}:hover`]:{color:et.colorError},[Jn]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${et.motionDurationSlow}, height ${et.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},un=y(99495),he=et=>{const{componentCls:en}=et,cn=new On.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:et.calc(et.marginXS).div(-2).equal()}}),Xt=new On.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:et.calc(et.marginXS).div(-2).equal()}}),an=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${an}-appear, ${an}-enter, ${an}-leave`]:{animationDuration:et.motionDurationSlow,animationTimingFunction:et.motionEaseInOutCirc,animationFillMode:"forwards"},[`${an}-appear, ${an}-enter`]:{animationName:cn},[`${an}-leave`]:{animationName:Xt}}},{[`${en}-wrapper`]:(0,un.J$)(et)},cn,Xt]},ce=y(68361);const Te=et=>{const{componentCls:en,iconCls:cn,uploadThumbnailSize:Xt,uploadProgressOffset:an,calc:Kt}=et,nn=`${en}-list`,rt=`${nn}-item`;return{[`${en}-wrapper`]:{[` + ${nn}${nn}-picture, + ${nn}${nn}-picture-card, + ${nn}${nn}-picture-circle + `]:{[rt]:{position:"relative",height:Kt(Xt).add(Kt(et.lineWidth).mul(2)).add(Kt(et.paddingXS).mul(2)).equal(),padding:et.paddingXS,border:`${(0,On.unit)(et.lineWidth)} ${et.lineType} ${et.colorBorder}`,borderRadius:et.borderRadiusLG,"&:hover":{background:"transparent"},[`${rt}-thumbnail`]:Object.assign(Object.assign({},on.vS),{width:Xt,height:Xt,lineHeight:(0,On.unit)(Kt(Xt).add(et.paddingSM).equal()),textAlign:"center",flex:"none",[cn]:{fontSize:et.fontSizeHeading2,color:et.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${rt}-progress`]:{bottom:an,width:`calc(100% - ${(0,On.unit)(Kt(et.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Kt(Xt).add(et.paddingXS).equal()}},[`${rt}-error`]:{borderColor:et.colorError,[`${rt}-thumbnail ${cn}`]:{[`svg path[fill='${ce.blue[0]}']`]:{fill:et.colorErrorBg},[`svg path[fill='${ce.blue.primary}']`]:{fill:et.colorError}}},[`${rt}-uploading`]:{borderStyle:"dashed",[`${rt}-name`]:{marginBottom:an}}},[`${nn}${nn}-picture-circle ${rt}`]:{[`&, &::before, ${rt}-thumbnail`]:{borderRadius:"50%"}}}}},je=et=>{const{componentCls:en,iconCls:cn,fontSizeLG:Xt,colorTextLightSolid:an,calc:Kt}=et,nn=`${en}-list`,rt=`${nn}-item`,Jn=et.uploadPicCardSize;return{[` + ${en}-wrapper${en}-picture-card-wrapper, + ${en}-wrapper${en}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,on.dF)()),{display:"block",[`${en}${en}-select`]:{width:Jn,height:Jn,textAlign:"center",verticalAlign:"top",backgroundColor:et.colorFillAlter,border:`${(0,On.unit)(et.lineWidth)} dashed ${et.colorBorder}`,borderRadius:et.borderRadiusLG,cursor:"pointer",transition:`border-color ${et.motionDurationSlow}`,[`> ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:et.colorPrimary}},[`${nn}${nn}-picture-card, ${nn}${nn}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:et.marginXS,marginInlineEnd:et.marginXS}},"@supports (gap: 1px)":{gap:et.marginXS},[`${nn}-item-container`]:{display:"inline-block",width:Jn,height:Jn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[rt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`,backgroundColor:et.colorBgMask,opacity:0,transition:`all ${et.motionDurationSlow}`,content:'" "'}},[`${rt}:hover`]:{[`&::before, ${rt}-actions`]:{opacity:1}},[`${rt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${et.motionDurationSlow}`,[` + ${cn}-eye, + ${cn}-download, + ${cn}-delete + `]:{zIndex:10,width:Xt,margin:`0 ${(0,On.unit)(et.marginXXS)}`,fontSize:Xt,cursor:"pointer",transition:`all ${et.motionDurationSlow}`,color:an,"&:hover":{color:an},svg:{verticalAlign:"baseline"}}},[`${rt}-thumbnail, ${rt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${rt}-name`]:{display:"none",textAlign:"center"},[`${rt}-file + ${rt}-name`]:{position:"absolute",bottom:et.margin,display:"block",width:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`},[`${rt}-uploading`]:{[`&${rt}`]:{backgroundColor:et.colorFillAlter},[`&::before, ${cn}-eye, ${cn}-download, ${cn}-delete`]:{display:"none"}},[`${rt}-progress`]:{bottom:et.marginXL,width:`calc(100% - ${(0,On.unit)(Kt(et.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var Pe=et=>{const{componentCls:en}=et;return{[`${en}-rtl`]:{direction:"rtl"}}};const ct=et=>{const{componentCls:en,colorTextDisabled:cn}=et;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,on.Wf)(et)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-hidden`]:{display:"none"},[`${en}-disabled`]:{color:cn,cursor:"not-allowed"}})}},$t=et=>({actionsColor:et.colorTextDescription});var gt=(0,Ut.I$)("Upload",et=>{const{fontSizeHeading3:en,fontHeight:cn,lineWidth:Xt,controlHeightLG:an,calc:Kt}=et,nn=(0,Gt.mergeToken)(et,{uploadThumbnailSize:Kt(en).mul(2).equal(),uploadProgressOffset:Kt(Kt(cn).div(2)).add(Xt).equal(),uploadPicCardSize:Kt(an).mul(2.55).equal()});return[ct(nn),En(nn),Te(nn),je(nn),gn(nn),he(nn),Pe(nn),(0,st.Z)(nn)]},$t),yt={icon:function(en,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:cn}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:en}}]}},name:"file",theme:"twotone"},Dt=yt,Pt=y(7657),Wt=function(en,cn){return b.createElement(Pt.Z,(0,fe.Z)({},en,{ref:cn,icon:Dt}))},pn=b.forwardRef(Wt),fn=pn,Mt=y(58617),Ln={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},kn=Ln,wn=function(en,cn){return b.createElement(Pt.Z,(0,fe.Z)({},en,{ref:cn,icon:kn}))},ln=b.forwardRef(wn),In=ln,xn={icon:function(en,cn){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:en}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:cn}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:cn}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:cn}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:en}}]}},name:"picture",theme:"twotone"},kt=xn,Yt=function(en,cn){return b.createElement(Pt.Z,(0,fe.Z)({},en,{ref:cn,icon:kt}))},Ft=b.forwardRef(Yt),vn=Ft,Ct=y(77900),pt=y(2738),de=y(40192),qt=y(86641),Dn=y(22703),mn=y(7939);function vr(et){return Object.assign(Object.assign({},et),{lastModified:et.lastModified,lastModifiedDate:et.lastModifiedDate,name:et.name,size:et.size,type:et.type,uid:et.uid,percent:0,originFileObj:et})}function yr(et,en){const cn=(0,me.Z)(en),Xt=cn.findIndex(an=>{let{uid:Kt}=an;return Kt===et.uid});return Xt===-1?cn.push(et):cn[Xt]=et,cn}function ar(et,en){const cn=et.uid!==void 0?"uid":"name";return en.filter(Xt=>Xt[cn]===et[cn])[0]}function Er(et,en){const cn=et.uid!==void 0?"uid":"name",Xt=en.filter(an=>an[cn]!==et[cn]);return Xt.length===en.length?null:Xt}const wt=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Xt=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Xt)||[""])[0]},Qn=et=>et.indexOf("image/")===0,lr=et=>{if(et.type&&!et.thumbUrl)return Qn(et.type);const en=et.thumbUrl||et.url||"",cn=wt(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(cn)?!0:!(/^data:/.test(en)||cn)},cr=200;function Yn(et){return new Promise(en=>{if(!et.type||!Qn(et.type)){en("");return}const cn=document.createElement("canvas");cn.width=cr,cn.height=cr,cn.style.cssText=`position: fixed; left: 0; top: 0; width: ${cr}px; height: ${cr}px; z-index: 9999; display: none;`,document.body.appendChild(cn);const Xt=cn.getContext("2d"),an=new Image;if(an.onload=()=>{const{width:Kt,height:nn}=an;let rt=cr,Jn=cr,Bt=0,rr=0;Kt>nn?(Jn=nn*(cr/Kt),rr=-(Jn-rt)/2):(rt=Kt*(cr/nn),Bt=-(rt-Jn)/2),Xt.drawImage(an,Bt,rr,rt,Jn);const Pr=cn.toDataURL();document.body.removeChild(cn),window.URL.revokeObjectURL(an.src),en(Pr)},an.crossOrigin="anonymous",et.type.startsWith("image/svg+xml")){const Kt=new FileReader;Kt.onload=()=>{Kt.result&&typeof Kt.result=="string"&&(an.src=Kt.result)},Kt.readAsDataURL(et)}else if(et.type.startsWith("image/gif")){const Kt=new FileReader;Kt.onload=()=>{Kt.result&&en(Kt.result)},Kt.readAsDataURL(et)}else an.src=window.URL.createObjectURL(et)})}var Sr=y(26227),br=y(41464),Nr=y(15277),Jr=y(89787),$r=y(25399),aa=b.forwardRef((et,en)=>{let{prefixCls:cn,className:Xt,style:an,locale:Kt,listType:nn,file:rt,items:Jn,progress:Bt,iconRender:rr,actionIconRender:Pr,itemRender:Sn,isImgUrl:rn,showPreviewIcon:Cn,showRemoveIcon:Pn,showDownloadIcon:zn,previewIcon:tr,removeIcon:wr,downloadIcon:pr,extra:Zn,onPreview:Kn,onDownload:gr,onClose:dr}=et;var Yr,Wr;const{status:Zr}=rt,[Qr,ca]=b.useState(Zr);b.useEffect(()=>{Zr!=="removed"&&ca(Zr)},[Zr]);const[Xr,la]=b.useState(!1);b.useEffect(()=>{const nr=setTimeout(()=>{la(!0)},300);return()=>{clearTimeout(nr)}},[]);const _r=rr(rt);let oa=b.createElement("div",{className:`${cn}-icon`},_r);if(nn==="picture"||nn==="picture-card"||nn==="picture-circle")if(Qr==="uploading"||!rt.thumbUrl&&!rt.url){const nr=be()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:Qr!=="uploading"});oa=b.createElement("div",{className:nr},_r)}else{const nr=rn!=null&&rn(rt)?b.createElement("img",{src:rt.thumbUrl||rt.url,alt:rt.name,className:`${cn}-list-item-image`,crossOrigin:rt.crossOrigin}):_r,xr=be()(`${cn}-list-item-thumbnail`,{[`${cn}-list-item-file`]:rn&&!rn(rt)});oa=b.createElement("a",{className:xr,onClick:Or=>Kn(rt,Or),href:rt.url||rt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},nr)}const _t=be()(`${cn}-list-item`,`${cn}-list-item-${Qr}`),Ea=typeof rt.linkProps=="string"?JSON.parse(rt.linkProps):rt.linkProps,ia=(typeof Pn=="function"?Pn(rt):Pn)?Pr((typeof wr=="function"?wr(rt):wr)||b.createElement(Sr.Z,null),()=>dr(rt),cn,Kt.removeFile,!0):null,ra=(typeof zn=="function"?zn(rt):zn)&&Qr==="done"?Pr((typeof pr=="function"?pr(rt):pr)||b.createElement(br.Z,null),()=>gr(rt),cn,Kt.downloadFile):null,fa=nn!=="picture-card"&&nn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:be()(`${cn}-list-item-actions`,{picture:nn==="picture"})},ra,ia),ha=typeof Zn=="function"?Zn(rt):Zn,Br=ha&&b.createElement("span",{className:`${cn}-list-item-extra`},ha),Gn=be()(`${cn}-list-item-name`),Vr=rt.url?b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Gn,title:rt.name},Ea,{href:rt.url,onClick:nr=>Kn(rt,nr)}),rt.name,Br):b.createElement("span",{key:"view",className:Gn,onClick:nr=>Kn(rt,nr),title:rt.name},rt.name,Br),qn=(typeof Cn=="function"?Cn(rt):Cn)&&(rt.url||rt.thumbUrl)?b.createElement("a",{href:rt.url||rt.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:nr=>Kn(rt,nr),title:Kt.previewFile},typeof tr=="function"?tr(rt):tr||b.createElement(Nr.Z,null)):null,hr=(nn==="picture-card"||nn==="picture-circle")&&Qr!=="uploading"&&b.createElement("span",{className:`${cn}-list-item-actions`},qn,Qr==="done"&&ra,ia),{getPrefixCls:or}=b.useContext(Tt.E_),er=or(),Dr=b.createElement("div",{className:_t},oa,Vr,fa,hr,Xr&&b.createElement(Ct.default,{motionName:`${er}-fade`,visible:Qr==="uploading",motionDeadline:2e3},nr=>{let{className:xr}=nr;const Or="percent"in rt?b.createElement(Jr.Z,Object.assign({},Bt,{type:"line",percent:rt.percent,"aria-label":rt["aria-label"],"aria-labelledby":rt["aria-labelledby"]})):null;return b.createElement("div",{className:be()(`${cn}-list-item-progress`,xr)},Or)})),Ar=rt.response&&typeof rt.response=="string"?rt.response:((Yr=rt.error)===null||Yr===void 0?void 0:Yr.statusText)||((Wr=rt.error)===null||Wr===void 0?void 0:Wr.message)||Kt.uploadError,ur=Qr==="error"?b.createElement($r.Z,{title:Ar,getPopupContainer:nr=>nr.parentNode},Dr):Dr;return b.createElement("div",{className:be()(`${cn}-list-item-container`,Xt),style:an,ref:en},Sn?Sn(ur,rt,Jn,{download:gr.bind(null,rt),preview:Kn.bind(null,rt),remove:dr.bind(null,rt)}):ur)});const Hr=(et,en)=>{const{listType:cn="text",previewFile:Xt=Yn,onPreview:an,onDownload:Kt,onRemove:nn,locale:rt,iconRender:Jn,isImageUrl:Bt=lr,prefixCls:rr,items:Pr=[],showPreviewIcon:Sn=!0,showRemoveIcon:rn=!0,showDownloadIcon:Cn=!1,removeIcon:Pn,previewIcon:zn,downloadIcon:tr,extra:wr,progress:pr={size:[-1,2],showInfo:!1},appendAction:Zn,appendActionVisible:Kn=!0,itemRender:gr,disabled:dr}=et,Yr=(0,de.Z)(),[Wr,Zr]=b.useState(!1),Qr=["picture-card","picture-circle"].includes(cn);b.useEffect(()=>{cn.startsWith("picture")&&(Pr||[]).forEach(Br=>{!(Br.originFileObj instanceof File||Br.originFileObj instanceof Blob)||Br.thumbUrl!==void 0||(Br.thumbUrl="",Xt==null||Xt(Br.originFileObj).then(Gn=>{Br.thumbUrl=Gn||"",Yr()}))})},[cn,Pr,Xt]),b.useEffect(()=>{Zr(!0)},[]);const ca=(Br,Gn)=>{if(an)return Gn==null||Gn.preventDefault(),an(Br)},Xr=Br=>{typeof Kt=="function"?Kt(Br):Br.url&&window.open(Br.url)},la=Br=>{nn==null||nn(Br)},_r=Br=>{if(Jn)return Jn(Br,cn);const Gn=Br.status==="uploading";if(cn.startsWith("picture")){const Vr=cn==="picture"?b.createElement(Mt.Z,null):rt.uploading,qn=Bt!=null&&Bt(Br)?b.createElement(vn,null):b.createElement(fn,null);return Gn?Vr:qn}return Gn?b.createElement(Mt.Z,null):b.createElement(In,null)},oa=(Br,Gn,Vr,qn,hr)=>{const or={type:"text",size:"small",title:qn,onClick:er=>{var Dr,Ar;Gn(),b.isValidElement(Br)&&((Ar=(Dr=Br.props).onClick)===null||Ar===void 0||Ar.call(Dr,er))},className:`${Vr}-list-item-action`};return hr&&(or.disabled=dr),b.isValidElement(Br)?b.createElement(mn.ZP,Object.assign({},or,{icon:(0,Dn.Tm)(Br,Object.assign(Object.assign({},Br.props),{onClick:()=>{}}))})):b.createElement(mn.ZP,Object.assign({},or),b.createElement("span",null,Br))};b.useImperativeHandle(en,()=>({handlePreview:ca,handleDownload:Xr}));const{getPrefixCls:_t}=b.useContext(Tt.E_),Ea=_t("upload",rr),ia=_t(),ra=be()(`${Ea}-list`,`${Ea}-list-${cn}`),fa=b.useMemo(()=>(0,pt.Z)((0,qt.Z)(ia),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[ia]),ha=Object.assign(Object.assign({},Qr?{}:fa),{motionDeadline:2e3,motionName:`${Ea}-${Qr?"animate-inline":"animate"}`,keys:(0,me.Z)(Pr.map(Br=>({key:Br.uid,file:Br}))),motionAppear:Wr});return b.createElement("div",{className:ra},b.createElement(Ct.CSSMotionList,Object.assign({},ha,{component:!1}),Br=>{let{key:Gn,file:Vr,className:qn,style:hr}=Br;return b.createElement(aa,{key:Gn,locale:rt,prefixCls:Ea,className:qn,style:hr,file:Vr,items:Pr,progress:pr,listType:cn,isImgUrl:Bt,showPreviewIcon:Sn,showRemoveIcon:rn,showDownloadIcon:Cn,removeIcon:Pn,previewIcon:zn,downloadIcon:tr,extra:wr,iconRender:_r,actionIconRender:oa,itemRender:gr,onPreview:ca,onDownload:Xr,onClose:la})}),Zn&&b.createElement(Ct.default,Object.assign({},ha,{visible:Kn,forceRender:!0}),Br=>{let{className:Gn,style:Vr}=Br;return(0,Dn.Tm)(Zn,qn=>({className:be()(qn.className,Gn),style:Object.assign(Object.assign(Object.assign({},Vr),{pointerEvents:Gn?"none":void 0}),qn.style)}))}))};var ea=b.forwardRef(Hr),jn=function(et,en,cn,Xt){function an(Kt){return Kt instanceof cn?Kt:new cn(function(nn){nn(Kt)})}return new(cn||(cn=Promise))(function(Kt,nn){function rt(rr){try{Bt(Xt.next(rr))}catch(Pr){nn(Pr)}}function Jn(rr){try{Bt(Xt.throw(rr))}catch(Pr){nn(Pr)}}function Bt(rr){rr.done?Kt(rr.value):an(rr.value).then(rt,Jn)}Bt((Xt=Xt.apply(et,en||[])).next())})};const sr=`__LIST_IGNORE_${Date.now()}__`,Kr=(et,en)=>{const{fileList:cn,defaultFileList:Xt,onRemove:an,showUploadList:Kt=!0,listType:nn="text",onPreview:rt,onDownload:Jn,onChange:Bt,onDrop:rr,previewFile:Pr,disabled:Sn,locale:rn,iconRender:Cn,isImageUrl:Pn,progress:zn,prefixCls:tr,className:wr,type:pr="select",children:Zn,style:Kn,itemRender:gr,maxCount:dr,data:Yr={},multiple:Wr=!1,hasControlInside:Zr=!0,action:Qr="",accept:ca="",supportServerRender:Xr=!0,rootClassName:la}=et,_r=b.useContext(Ye.Z),oa=Sn!=null?Sn:_r,[_t,Ea]=(0,Tn.Z)(Xt||[],{value:cn,postState:Aa=>Aa!=null?Aa:[]}),[ia,ra]=b.useState("drop"),fa=b.useRef(null),ha=b.useRef(null);b.useMemo(()=>{const Aa=Date.now();(cn||[]).forEach(($a,Ja)=>{!$a.uid&&!Object.isFrozen($a)&&($a.uid=`__AUTO__${Aa}_${Ja}__`)})},[cn]);const Br=(Aa,$a,Ja)=>{let Ba=(0,me.Z)($a),Xa=!1;dr===1?Ba=Ba.slice(-1):dr&&(Xa=Ba.length>dr,Ba=Ba.slice(0,dr)),(0,le.flushSync)(()=>{Ea(Ba)});const ma={file:Aa,fileList:Ba};Ja&&(ma.event=Ja),(!Xa||Aa.status==="removed"||Ba.some(xi=>xi.uid===Aa.uid))&&(0,le.flushSync)(()=>{Bt==null||Bt(ma)})},Gn=(Aa,$a)=>jn(void 0,void 0,void 0,function*(){const{beforeUpload:Ja,transformFile:Ba}=et;let Xa=Aa;if(Ja){const ma=yield Ja(Aa,$a);if(ma===!1)return!1;if(delete Aa[sr],ma===sr)return Object.defineProperty(Aa,sr,{value:!0,configurable:!0}),!1;typeof ma=="object"&&ma&&(Xa=ma)}return Ba&&(Xa=yield Ba(Xa)),Xa}),Vr=Aa=>{const $a=Aa.filter(Xa=>!Xa.file[sr]);if(!$a.length)return;const Ja=$a.map(Xa=>vr(Xa.file));let Ba=(0,me.Z)(_t);Ja.forEach(Xa=>{Ba=yr(Xa,Ba)}),Ja.forEach((Xa,ma)=>{let xi=Xa;if($a[ma].parsedFile)Xa.status="uploading";else{const{originFileObj:Bi}=Xa;let Fi;try{Fi=new File([Bi],Bi.name,{type:Bi.type})}catch(Rr){Fi=new Blob([Bi],{type:Bi.type}),Fi.name=Bi.name,Fi.lastModifiedDate=new Date,Fi.lastModified=new Date().getTime()}Fi.uid=Xa.uid,xi=Fi}Br(xi,Ba)})},qn=(Aa,$a,Ja)=>{try{typeof Aa=="string"&&(Aa=JSON.parse(Aa))}catch(ma){}if(!ar($a,_t))return;const Ba=vr($a);Ba.status="done",Ba.percent=100,Ba.response=Aa,Ba.xhr=Ja;const Xa=yr(Ba,_t);Br(Ba,Xa)},hr=(Aa,$a)=>{if(!ar($a,_t))return;const Ja=vr($a);Ja.status="uploading",Ja.percent=Aa.percent;const Ba=yr(Ja,_t);Br(Ja,Ba,Aa)},or=(Aa,$a,Ja)=>{if(!ar(Ja,_t))return;const Ba=vr(Ja);Ba.error=Aa,Ba.response=$a,Ba.status="error";const Xa=yr(Ba,_t);Br(Ba,Xa)},er=Aa=>{let $a;Promise.resolve(typeof an=="function"?an(Aa):an).then(Ja=>{var Ba;if(Ja===!1)return;const Xa=Er(Aa,_t);Xa&&($a=Object.assign(Object.assign({},Aa),{status:"removed"}),_t==null||_t.forEach(ma=>{const xi=$a.uid!==void 0?"uid":"name";ma[xi]===$a[xi]&&!Object.isFrozen(ma)&&(ma.status="removed")}),(Ba=fa.current)===null||Ba===void 0||Ba.abort($a),Br($a,Xa))})},Dr=Aa=>{ra(Aa.type),Aa.type==="drop"&&(rr==null||rr(Aa))};b.useImperativeHandle(en,()=>({onBatchStart:Vr,onSuccess:qn,onProgress:hr,onError:or,fileList:_t,upload:fa.current,nativeElement:ha.current}));const{getPrefixCls:Ar,direction:ur,upload:nr}=b.useContext(Tt.E_),xr=Ar("upload",tr),Or=Object.assign(Object.assign({onBatchStart:Vr,onError:or,onProgress:hr,onSuccess:qn},et),{data:Yr,multiple:Wr,action:Qr,accept:ca,supportServerRender:Xr,prefixCls:xr,disabled:oa,beforeUpload:Gn,onChange:void 0,hasControlInside:Zr});delete Or.className,delete Or.style,(!Zn||oa)&&delete Or.id;const ba=`${xr}-wrapper`,[da,ya,Ma]=gt(xr,ba),[_a]=(0,Se.Z)("Upload",Qt.Z.Upload),{showRemoveIcon:Na,showPreviewIcon:Ha,showDownloadIcon:Da,removeIcon:ja,previewIcon:Gr,downloadIcon:bi,extra:wi}=typeof Kt=="boolean"?{}:Kt,Pa=typeof Na=="undefined"?!oa:Na,li=(Aa,$a)=>Kt?b.createElement(ea,{prefixCls:xr,listType:nn,items:_t,previewFile:Pr,onPreview:rt,onDownload:Jn,onRemove:er,showRemoveIcon:Pa,showPreviewIcon:Ha,showDownloadIcon:Da,removeIcon:ja,previewIcon:Gr,downloadIcon:bi,iconRender:Cn,extra:wi,locale:Object.assign(Object.assign({},_a),rn),isImageUrl:Pn,progress:zn,appendAction:Aa,appendActionVisible:$a,itemRender:gr,disabled:oa}):Aa,fi=be()(ba,wr,la,ya,Ma,nr==null?void 0:nr.className,{[`${xr}-rtl`]:ur==="rtl",[`${xr}-picture-card-wrapper`]:nn==="picture-card",[`${xr}-picture-circle-wrapper`]:nn==="picture-circle"}),Ua=Object.assign(Object.assign({},nr==null?void 0:nr.style),Kn);if(pr==="drag"){const Aa=be()(ya,xr,`${xr}-drag`,{[`${xr}-drag-uploading`]:_t.some($a=>$a.status==="uploading"),[`${xr}-drag-hover`]:ia==="dragover",[`${xr}-disabled`]:oa,[`${xr}-rtl`]:ur==="rtl"});return da(b.createElement("span",{className:fi,ref:ha},b.createElement("div",{className:Aa,style:Ua,onDrop:Dr,onDragOver:Dr,onDragLeave:Dr},b.createElement(Zt,Object.assign({},Or,{ref:fa,className:`${xr}-btn`}),b.createElement("div",{className:`${xr}-drag-container`},Zn))),li()))}const Ni=be()(xr,`${xr}-select`,{[`${xr}-disabled`]:oa,[`${xr}-hidden`]:!Zn}),Va=b.createElement("div",{className:Ni},b.createElement(Zt,Object.assign({},Or,{ref:fa})));return da(nn==="picture-card"||nn==="picture-circle"?b.createElement("span",{className:fi,ref:ha},li(Va,!!Zn)):b.createElement("span",{className:fi,ref:ha},Va,li()))};var ve=b.forwardRef(Kr),Ie=function(et,en){var cn={};for(var Xt in et)Object.prototype.hasOwnProperty.call(et,Xt)&&en.indexOf(Xt)<0&&(cn[Xt]=et[Xt]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var an=0,Xt=Object.getOwnPropertySymbols(et);an{var{style:cn,height:Xt,hasControlInside:an=!1}=et,Kt=Ie(et,["style","height","hasControlInside"]);return b.createElement(ve,Object.assign({ref:en,hasControlInside:an},Kt,{type:"drag",style:Object.assign(Object.assign({},cn),{height:Xt})}))});const He=ve;He.Dragger=Le,He.LIST_IGNORE=sr;var Vt=He},99498:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){b.defineOption("placeholder","",function(Oe,Re,xe){var Ge=xe&&xe!=b.Init;if(Re&&!Ge)Oe.on("blur",be),Oe.on("change",fe),Oe.on("swapDoc",fe),b.on(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose=function(){pe(Oe)}),fe(Oe);else if(!Re&&Ge){Oe.off("blur",be),Oe.off("change",fe),Oe.off("swapDoc",fe),b.off(Oe.getInputField(),"compositionupdate",Oe.state.placeholderCompose),me(Oe);var Fe=Oe.getWrapperElement();Fe.className=Fe.className.replace(" CodeMirror-empty","")}Re&&!Oe.hasFocus()&&be(Oe)});function me(Oe){Oe.state.placeholder&&(Oe.state.placeholder.parentNode.removeChild(Oe.state.placeholder),Oe.state.placeholder=null)}function le(Oe){me(Oe);var Re=Oe.state.placeholder=document.createElement("pre");Re.style.cssText="height: 0; overflow: visible",Re.style.direction=Oe.getOption("direction"),Re.className="CodeMirror-placeholder CodeMirror-line-like";var xe=Oe.getOption("placeholder");typeof xe=="string"&&(xe=document.createTextNode(xe)),Re.appendChild(xe),Oe.display.lineSpace.insertBefore(Re,Oe.display.lineSpace.firstChild)}function pe(Oe){setTimeout(function(){var Re=!1,xe=Oe.getInputField();xe.nodeName=="TEXTAREA"?Re=!xe.value:Oe.lineCount()==1&&(Re=!/[^\u200b]/.test(xe.querySelector(".CodeMirror-line").textContent)),Re?le(Oe):me(Oe)},20)}function be(Oe){we(Oe)&&le(Oe)}function fe(Oe){var Re=Oe.getWrapperElement(),xe=we(Oe);Re.className=Re.className.replace(" CodeMirror-empty","")+(xe?" CodeMirror-empty":""),xe?le(Oe):me(Oe)}function we(Oe){return Oe.lineCount()===1&&Oe.getLine(0)===""}})},25717:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){var me={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},le=b.Pos;b.defineOption("autoCloseBrackets",!1,function(tt,Je,We){We&&We!=b.Init&&(tt.removeKeyMap(be),tt.state.closeBrackets=null),Je&&(fe(pe(Je,"pairs")),tt.state.closeBrackets=Je,tt.addKeyMap(be))});function pe(tt,Je){return Je=="pairs"&&typeof tt=="string"?tt:typeof tt=="object"&&tt[Je]!=null?tt[Je]:me[Je]}var be={Backspace:Re,Enter:xe};function fe(tt){for(var Je=0;Je=0;Ze--){var ze=Ve[Ze].head;tt.replaceRange("",le(ze.line,ze.ch-1),le(ze.line,ze.ch+1),"+delete")}}function xe(tt){var Je=Oe(tt),We=Je&&pe(Je,"explode");if(!We||tt.getOption("disableInput"))return b.Pass;for(var Ve=tt.listSelections(),Ze=0;Ze0;return{anchor:new le(tt.anchor.line,tt.anchor.ch+(Je?-1:1)),head:new le(tt.head.line,tt.head.ch+(Je?1:-1))}}function Fe(tt,Je){var We=Oe(tt);if(!We||tt.getOption("disableInput"))return b.Pass;var Ve=pe(We,"pairs"),Ze=Ve.indexOf(Je);if(Ze==-1)return b.Pass;for(var Qe=pe(We,"closeBefore"),ze=pe(We,"triples"),_e=Ve.charAt(Ze+1)==Je,$e=tt.listSelections(),nt=Ze%2==0,bt,it=0;it<$e.length;it++){var Nt=$e[it],vt=Nt.head,dt,It=tt.getRange(vt,le(vt.line,vt.ch+1));if(nt&&!Nt.empty())dt="surround";else if((_e||!nt)&&It==Je)_e&&at(tt,vt)?dt="both":ze.indexOf(Je)>=0&&tt.getRange(vt,le(vt.line,vt.ch+3))==Je+Je+Je?dt="skipThree":dt="skip";else if(_e&&vt.ch>1&&ze.indexOf(Je)>=0&&tt.getRange(le(vt.line,vt.ch-2),vt)==Je+Je){if(vt.ch>2&&/\bstring/.test(tt.getTokenTypeAt(le(vt.line,vt.ch-2))))return b.Pass;dt="addFour"}else if(_e){var St=vt.ch==0?" ":tt.getRange(le(vt.line,vt.ch-1),vt);if(!b.isWordChar(It)&&St!=Je&&!b.isWordChar(St))dt="both";else return b.Pass}else if(nt&&(It.length===0||/\s/.test(It)||Qe.indexOf(It)>-1))dt="both";else return b.Pass;if(!bt)bt=dt;else if(bt!=dt)return b.Pass}var qe=Ze%2?Ve.charAt(Ze-1):Je,Jt=Ze%2?Je:Ve.charAt(Ze+1);tt.operation(function(){if(bt=="skip")tt.execCommand("goCharRight");else if(bt=="skipThree")for(var Rt=0;Rt<3;Rt++)tt.execCommand("goCharRight");else if(bt=="surround"){for(var Zt=tt.getSelections(),Rt=0;Rt'"]=function(At){return pe(At)}),Re.addKeyMap(Fe)}});var me=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],le=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function pe(Re){if(Re.getOption("disableInput"))return b.Pass;for(var xe=Re.listSelections(),Ge=[],Fe=Re.getOption("autoCloseTags"),At=0;Atat.ch&&(Ze=Ze.slice(0,Ze.length-tt.end+at.ch));var $e=Ze.toLowerCase();if(!Ze||tt.type=="string"&&(tt.end!=at.ch||!/[\"\']/.test(tt.string.charAt(tt.string.length-1))||tt.string.length==1)||tt.type=="tag"&&Ve.close||tt.string.indexOf("/")==at.ch-tt.start-1||ze&&we(ze,$e)>-1||Oe(Re,Je.mode.xmlCurrentContext&&Je.mode.xmlCurrentContext(We)||[],Ze,at,!0))return b.Pass;var nt=typeof Fe=="object"&&Fe.emptyTags;if(nt&&we(nt,Ze)>-1){Ge[At]={text:"/>",newPos:b.Pos(at.line,at.ch+2)};continue}var bt=_e&&we(_e,$e)>-1;Ge[At]={indent:bt,text:">"+(bt?` + +`:"")+"",newPos:bt?b.Pos(at.line+1,0):b.Pos(at.line,at.ch+1)}}for(var it=typeof Fe=="object"&&Fe.dontIndentOnAutoClose,At=xe.length-1;At>=0;At--){var Nt=Ge[At];Re.replaceRange(Nt.text,xe[At].head,xe[At].anchor,"+insert");var vt=Re.listSelections().slice(0);vt[At]={head:Nt.newPos,anchor:Nt.newPos},Re.setSelections(vt),!it&&Nt.indent&&(Re.indentLine(Nt.newPos.line,null,!0),Re.indentLine(Nt.newPos.line+1,null,!0))}}function be(Re,xe){for(var Ge=Re.listSelections(),Fe=[],At=xe?"/":""&&(ze+=">"),Fe[Je]=ze}if(Re.replaceSelections(Fe),Ge=Re.listSelections(),!tt)for(var Je=0;Je=0&&xe[We]==Ge;We--)++Je;Fe=tt.to;for(var We=1;We=We.max))return We.ch=0,We.text=We.cm.getLine(++We.line),!0}function xe(We){if(!(We.line<=We.min))return We.text=We.cm.getLine(--We.line),We.ch=We.text.length,!0}function Ge(We){for(;;){var Ve=We.text.indexOf(">",We.ch);if(Ve==-1){if(Re(We))continue;return}if(!Oe(We,Ve+1)){We.ch=Ve+1;continue}var Ze=We.text.lastIndexOf("/",Ve),Qe=Ze>-1&&!/\S/.test(We.text.slice(Ze+1,Ve));return We.ch=Ve+1,Qe?"selfClose":"regular"}}function Fe(We){for(;;){var Ve=We.ch?We.text.lastIndexOf("<",We.ch-1):-1;if(Ve==-1){if(xe(We))continue;return}if(!Oe(We,Ve+1)){We.ch=Ve;continue}fe.lastIndex=Ve,We.ch=Ve;var Ze=fe.exec(We.text);if(Ze&&Ze.index==Ve)return Ze}}function At(We){for(;;){fe.lastIndex=We.ch;var Ve=fe.exec(We.text);if(!Ve){if(Re(We))continue;return}if(!Oe(We,Ve.index+1)){We.ch=Ve.index+1;continue}return We.ch=Ve.index+Ve[0].length,Ve}}function at(We){for(;;){var Ve=We.ch?We.text.lastIndexOf(">",We.ch-1):-1;if(Ve==-1){if(xe(We))continue;return}if(!Oe(We,Ve+1)){We.ch=Ve;continue}var Ze=We.text.lastIndexOf("/",Ve),Qe=Ze>-1&&!/\S/.test(We.text.slice(Ze+1,Ve));return We.ch=Ve+1,Qe?"selfClose":"regular"}}function tt(We,Ve){for(var Ze=[];;){var Qe=At(We),ze,_e=We.line,$e=We.ch-(Qe?Qe[0].length:0);if(!Qe||!(ze=Ge(We)))return;if(ze!="selfClose")if(Qe[1]){for(var nt=Ze.length-1;nt>=0;--nt)if(Ze[nt]==Qe[2]){Ze.length=nt;break}if(nt<0&&(!Ve||Ve==Qe[2]))return{tag:Qe[2],from:me(_e,$e),to:me(We.line,We.ch)}}else Ze.push(Qe[2])}}function Je(We,Ve){for(var Ze=[];;){var Qe=at(We);if(!Qe)return;if(Qe=="selfClose"){Fe(We);continue}var ze=We.line,_e=We.ch,$e=Fe(We);if(!$e)return;if($e[1])Ze.push($e[2]);else{for(var nt=Ze.length-1;nt>=0;--nt)if(Ze[nt]==$e[2]){Ze.length=nt;break}if(nt<0&&(!Ve||Ve==$e[2]))return{tag:$e[2],from:me(We.line,We.ch),to:me(ze,_e)}}}}b.registerHelper("fold","xml",function(We,Ve){for(var Ze=new we(We,Ve.line,0);;){var Qe=At(Ze);if(!Qe||Ze.line!=Ve.line)return;var ze=Ge(Ze);if(!ze)return;if(!Qe[1]&&ze!="selfClose"){var _e=me(Ze.line,Ze.ch),$e=tt(Ze,Qe[2]);return $e&&le($e.from,_e)>0?{from:_e,to:$e.from}:null}}}),b.findMatchingTag=function(We,Ve,Ze){var Qe=new we(We,Ve.line,Ve.ch,Ze);if(!(Qe.text.indexOf(">")==-1&&Qe.text.indexOf("<")==-1)){var ze=Ge(Qe),_e=ze&&me(Qe.line,Qe.ch),$e=ze&&Fe(Qe);if(!(!ze||!$e||le(Qe,Ve)>0)){var nt={from:me(Qe.line,Qe.ch),to:_e,tag:$e[2]};return ze=="selfClose"?{open:nt,close:null,at:"open"}:$e[1]?{open:Je(Qe,$e[2]),close:nt,at:"close"}:(Qe=new we(We,_e.line,_e.ch,Ze),{open:nt,close:tt(Qe,$e[2]),at:"open"})}}},b.findEnclosingTag=function(We,Ve,Ze,Qe){for(var ze=new we(We,Ve.line,Ve.ch,Ze);;){var _e=Je(ze,Qe);if(!_e)break;var $e=new we(We,Ve.line,Ve.ch,Ze),nt=tt($e,_e.tag);if(nt)return{open:_e,close:nt}}},b.scanForClosingTag=function(We,Ve,Ze,Qe){var ze=new we(We,Ve.line,Ve.ch,Qe?{from:0,to:Qe}:null);return tt(ze,Ze)}})},89780:function(Ce){(function(ae,y){Ce.exports=y()})(this,function(){"use strict";var ae=navigator.userAgent,y=navigator.platform,b=/gecko\/\d/i.test(ae),me=/MSIE \d/.test(ae),le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ae),pe=/Edge\/(\d+)/.exec(ae),be=me||le||pe,fe=be&&(me?document.documentMode||6:+(pe||le)[1]),we=!pe&&/WebKit\//.test(ae),Oe=we&&/Qt\/\d+\.\d+/.test(ae),Re=!pe&&/Chrome\//.test(ae),xe=/Opera\//.test(ae),Ge=/Apple Computer/.test(navigator.vendor),Fe=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(ae),At=/PhantomJS/.test(ae),at=!pe&&/AppleWebKit/.test(ae)&&/Mobile\/\w+/.test(ae),tt=/Android/.test(ae),Je=at||tt||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(ae),We=at||/Mac/.test(y),Ve=/\bCrOS\b/.test(ae),Ze=/win/i.test(y),Qe=xe&&ae.match(/Version\/(\d*\.\d*)/);Qe&&(Qe=Number(Qe[1])),Qe&&Qe>=15&&(xe=!1,we=!0);var ze=We&&(Oe||xe&&(Qe==null||Qe<12.11)),_e=b||be&&fe>=9;function $e(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var nt=function(a,E){var re=a.className,ne=$e(E).exec(re);if(ne){var ie=re.slice(ne.index+ne[0].length);a.className=re.slice(0,ne.index)+(ie?ne[1]+ie:"")}};function bt(a){for(var E=a.childNodes.length;E>0;--E)a.removeChild(a.firstChild);return a}function it(a,E){return bt(a).appendChild(E)}function Nt(a,E,re,ne){var ie=document.createElement(a);if(re&&(ie.className=re),ne&&(ie.style.cssText=ne),typeof E=="string")ie.appendChild(document.createTextNode(E));else if(E)for(var ye=0;ye=E)return Be+(E-ye);Be+=Ke-ye,Be+=re-Be%re,ye=Ke+1}}var Ye=function(){this.id=null,this.f=null,this.time=0,this.handler=Zt(this.onTimeout,this)};Ye.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},Ye.prototype.set=function(a,E){this.f=E;var re=+new Date+a;(!this.id||re=E)return ne+Math.min(Be,E-ie);if(ie+=ye-ne,ie+=re-ie%re,ne=ye+1,ie>=E)return ne}}var ft=[""];function En(a){for(;ft.length<=a;)ft.push(Ht(ft)+" ");return ft[a]}function Ht(a){return a[a.length-1]}function gn(a,E){for(var re=[],ne=0;ne"\x80"&&(a.toUpperCase()!=a.toLowerCase()||ce.test(a))}function je(a,E){return E?E.source.indexOf("\\w")>-1&&Te(a)?!0:E.test(a):Te(a)}function ge(a){for(var E in a)if(a.hasOwnProperty(E)&&a[E])return!1;return!0}var Pe=/[\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 ct(a){return a.charCodeAt(0)>=768&&Pe.test(a)}function $t(a,E,re){for(;(re<0?E>0:Ere?-1:1;;){if(E==re)return E;var ie=(E+re)/2,ye=ne<0?Math.ceil(ie):Math.floor(ie);if(ye==E)return a(ye)?E:re;a(ye)?re=ye:E=ye+ne}}function yt(a,E,re,ne){if(!a)return ne(E,re,"ltr",0);for(var ie=!1,ye=0;yeE||E==re&&Be.to==E)&&(ne(Math.max(Be.from,E),Math.min(Be.to,re),Be.level==1?"rtl":"ltr",ye),ie=!0)}ie||ne(E,re,"ltr")}var Dt=null;function Pt(a,E,re){var ne;Dt=null;for(var ie=0;ieE)return ie;ye.to==E&&(ye.from!=ye.to&&re=="before"?ne=ie:Dt=ie),ye.from==E&&(ye.from!=ye.to&&re!="before"?ne=ie:Dt=ie)}return ne!=null?ne:Dt}var Wt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",E="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function re(xt){return xt<=247?a.charAt(xt):1424<=xt&&xt<=1524?"R":1536<=xt&&xt<=1785?E.charAt(xt-1536):1774<=xt&&xt<=2220?"r":8192<=xt&&xt<=8203?"w":xt==8204?"b":"L"}var ne=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,ie=/[stwN]/,ye=/[LRr]/,Be=/[Lb1n]/,Ke=/[1n]/;function ot(xt,dn,yn){this.level=xt,this.from=dn,this.to=yn}return function(xt,dn){var yn=dn=="ltr"?"L":"R";if(xt.length==0||dn=="ltr"&&!ne.test(xt))return!1;for(var Wn=xt.length,Un=[],Ir=0;Ir-1&&(ne[E]=ie.slice(0,ye).concat(ie.slice(ye+1)))}}}function wn(a,E){var re=Ln(a,E);if(re.length)for(var ne=Array.prototype.slice.call(arguments,2),ie=0;ie0}function kt(a){a.prototype.on=function(E,re){Mt(this,E,re)},a.prototype.off=function(E,re){kn(this,E,re)}}function Yt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function Ft(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function vn(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function Ct(a){Yt(a),Ft(a)}function pt(a){return a.target||a.srcElement}function de(a){var E=a.which;return E==null&&(a.button&1?E=1:a.button&2?E=3:a.button&4&&(E=2)),We&&a.ctrlKey&&E==1&&(E=3),E}var qt=function(){if(be&&fe<9)return!1;var a=Nt("div");return"draggable"in a||"dragDrop"in a}(),Dn;function mn(a){if(Dn==null){var E=Nt("span","\u200B");it(a,Nt("span",[E,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(Dn=E.offsetWidth<=1&&E.offsetHeight>2&&!(be&&fe<8))}var re=Dn?Nt("span","\u200B"):Nt("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return re.setAttribute("cm-text",""),re}var vr;function yr(a){if(vr!=null)return vr;var E=it(a,document.createTextNode("A\u062EA")),re=dt(E,0,1).getBoundingClientRect(),ne=dt(E,1,2).getBoundingClientRect();return bt(a),!re||re.left==re.right?!1:vr=ne.right-re.right<3}var ar=` b`.split(/\n/).length!=3?function(a){for(var E=0,re=[],ne=a.length;E<=ne;){var ie=a.indexOf(` -`,E);ie==-1&&(ie=a.length);var ye=a.slice(E,a.charAt(ie-1)=="\r"?ie-1:ie),Be=ye.indexOf("\r");Be!=-1?(re.push(ye.slice(0,Be)),E+=Be+1):(re.push(ye),E=ie+1)}return re}:function(a){return a.split(/\r\n?|\n/)},wr=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(E){return!1}}:function(a){var E;try{E=a.ownerDocument.selection.createRange()}catch(re){}return!E||E.parentElement()!=a?!1:E.compareEndPoints("StartToEnd",E)!=0},St=function(){var a=It("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Kn=null;function ir(a){if(Kn!=null)return Kn;var E=rt(a,It("span","x")),re=E.getBoundingClientRect(),ne=ut(E,0,1).getBoundingClientRect();return Kn=Math.abs(re.left-ne.left)>1}var br={},qn={};function Ir(a,E){arguments.length>2&&(E.dependencies=Array.prototype.slice.call(arguments,2)),br[a]=E}function sr(a,E){qn[a]=E}function jn(a){if(typeof a=="string"&&qn.hasOwnProperty(a))a=qn[a];else if(a&&typeof a.name=="string"&&qn.hasOwnProperty(a.name)){var E=qn[a.name];typeof E=="string"&&(E={name:E}),a=me(E,a),a.name=E.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return jn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return jn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function $r(a,E){E=jn(E);var re=br[E.name];if(!re)return $r(a,"text/plain");var ne=re(a,E);if(Jr.hasOwnProperty(E.name)){var ie=Jr[E.name];for(var ye in ie)ie.hasOwnProperty(ye)&&(ne.hasOwnProperty(ye)&&(ne["_"+ye]=ne[ye]),ne[ye]=ie[ye])}if(ne.name=E.name,E.helperType&&(ne.helperType=E.helperType),E.modeProps)for(var Be in E.modeProps)ne[Be]=E.modeProps[Be];return ne}var Jr={};function Gr(a,E){var re=Jr.hasOwnProperty(a)?Jr[a]:Jr[a]={};On(E,re)}function la(a,E){if(E===!0)return E;if(a.copyState)return a.copyState(E);var re={};for(var ne in E){var ie=E[ne];ie instanceof Array&&(ie=ie.concat([])),re[ne]=ie}return re}function Hr(a,E){for(var re;a.innerMode&&(re=a.innerMode(E),!(!re||re.mode==a));)E=re.state,a=re.mode;return re||{mode:a,state:E}}function fa(a,E,re){return a.startState?a.startState(E,re):!0}var Yr=function(a,E,re){this.pos=this.start=0,this.string=a,this.tabSize=E||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};Yr.prototype.eol=function(){return this.pos>=this.string.length},Yr.prototype.sol=function(){return this.pos==this.lineStart},Yr.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Yr.prototype.next=function(){if(this.posE},Yr.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Yr.prototype.skipToEnd=function(){this.pos=this.string.length},Yr.prototype.skipTo=function(a){var E=this.string.indexOf(a,this.pos);if(E>-1)return this.pos=E,!0},Yr.prototype.backUp=function(a){this.pos-=a},Yr.prototype.column=function(){return this.lastColumnPos0?null:(ye&&E!==!1&&(this.pos+=ye[0].length),ye)}},Yr.prototype.current=function(){return this.string.slice(this.start,this.pos)},Yr.prototype.hideFirstChars=function(a,E){this.lineStart+=a;try{return E()}finally{this.lineStart-=a}},Yr.prototype.lookAhead=function(a){var E=this.lineOracle;return E&&E.lookAhead(a)},Yr.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function Wn(a,E){if(E-=a.first,E<0||E>=a.size)throw new Error("There is no line "+(E+a.first)+" in the document.");for(var re=a;!re.lines;)for(var ne=0;;++ne){var ie=re.children[ne],ye=ie.chunkSize();if(E=a.first&&Ere?Mt(re,Wn(a,re).text.length):Xt(E,Wn(a,E.line).text.length)}function Xt(a,E){var re=a.ch;return re==null||re>E?Mt(a.line,E):re<0?Mt(a.line,0):a}function Wt(a,E){for(var re=[],ne=0;nethis.maxLookAhead&&(this.maxLookAhead=a),E},Qn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var E=this.baseTokens[this.baseTokenPos+1];return{type:E&&E.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Qn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Qn.fromSaved=function(a,E,re){return E instanceof Xn?new Qn(a,la(a.mode,E.state),re,E.lookAhead):new Qn(a,la(a.mode,E),re)},Qn.prototype.save=function(a){var E=a!==!1?la(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Xn(E,this.maxLookAhead):E};function Pn(a,E,re,ne){var ie=[a.state.modeGen],ye={};pr(a,E.text,a.doc.mode,re,function(yt,cn){return ie.push(yt,cn)},ye,ne);for(var Be=re.state,Xe=function(yt){re.baseTokens=ie;var cn=a.state.overlays[yt],En=1,Vn=0;re.state=!0,pr(a,E.text,cn.mode,re,function(Hn,Rr){for(var zr=En;VnHn&&ie.splice(En,1,Hn,ie[En+1],oe),En+=2,Vn=Math.min(Hn,oe)}if(Rr)if(cn.opaque)ie.splice(zr,En-zr,Hn,"overlay "+Rr),En=zr+2;else for(;zra.options.maxHighlightLength&&la(a.doc.mode,ne.state),ye=Pn(a,E,ne);ie&&(ne.state=ie),E.stateAfter=ne.save(!ie),E.styles=ye.styles,ye.classes?E.styleClasses=ye.classes:E.styleClasses&&(E.styleClasses=null),re===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return E.styles}function gn(a,E,re){var ne=a.doc,ie=a.display;if(!ne.mode.startState)return new Qn(ne,!0,E);var ye=xr(a,E,re),Be=ye>ne.first&&Wn(ne,ye-1).stateAfter,Xe=Be?Qn.fromSaved(ne,Be,ye):new Qn(ne,fa(ne.mode),ye);return ne.iter(ye,E,function(at){an(a,at.text,Xe);var yt=Xe.line;at.stateAfter=yt==E-1||yt%5==0||yt>=ie.viewFrom&&ytE.start)return ye}throw new Error("Mode "+a.name+" failed to advance stream.")}var Dt=function(a,E,re){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=E||null,this.state=re};function nr(a,E,re,ne){var ie=a.doc,ye=ie.mode,Be;E=Ye(ie,E);var Xe=Wn(ie,E.line),at=gn(a,E.line,re),yt=new Yr(Xe.text,a.options.tabSize,at),cn;for(ne&&(cn=[]);(ne||yt.posa.options.maxHighlightLength?(Xe=!1,Be&&an(a,E,ne,cn.pos),cn.pos=E.length,En=null):En=Tr(kn(re,cn,ne.state,Vn),ye),Vn){var Hn=Vn[0].name;Hn&&(En="m-"+(En?Hn+" "+En:Hn))}if(!Xe||yt!=En){for(;atBe;--Xe){if(Xe<=ye.first)return ye.first;var at=Wn(ye,Xe-1),yt=at.stateAfter;if(yt&&(!re||Xe+(yt instanceof Xn?yt.lookAhead:0)<=ye.modeFrontier))return Xe;var cn=wt(at.text,null,a.options.tabSize);(ie==null||ne>cn)&&(ie=Xe-1,ne=cn)}return ie}function er(a,E){if(a.modeFrontier=Math.min(a.modeFrontier,E),!(a.highlightFrontierre;ne--){var ie=Wn(a,ne).stateAfter;if(ie&&(!(ie instanceof Xn)||ne+ie.lookAhead=E:ye.to>E);(ne||(ne=[])).push(new Zr(Be,ye.from,at?null:ye.to))}}return ne}function Ur(a,E,re){var ne;if(a)for(var ie=0;ie=E:ye.to>E);if(Xe||ye.from==E&&Be.type=="bookmark"&&(!re||ye.marker.insertLeft)){var at=ye.from==null||(Be.inclusiveLeft?ye.from<=E:ye.from0&&Xe)for(var Se=0;Se0)){var cn=[at,1],En=rn(yt.from,Xe.from),Vn=rn(yt.to,Xe.to);(En<0||!Be.inclusiveLeft&&!En)&&cn.push({from:yt.from,to:Xe.from}),(Vn>0||!Be.inclusiveRight&&!Vn)&&cn.push({from:Xe.to,to:yt.to}),ie.splice.apply(ie,cn),at+=cn.length-3}}return ie}function ra(a){var E=a.markedSpans;if(E){for(var re=0;reE)&&(!ne||kr(ne,ye.marker)<0)&&(ne=ye.marker)}return ne}function fr(a,E,re,ne,ie){var ye=Wn(a,E),Be=mr&&ye.markedSpans;if(Be)for(var Xe=0;Xe=0&&En<=0||cn<=0&&En>=0)&&(cn<=0&&(at.marker.inclusiveRight&&ie.inclusiveLeft?rn(yt.to,re)>=0:rn(yt.to,re)>0)||cn>=0&&(at.marker.inclusiveRight&&ie.inclusiveLeft?rn(yt.from,ne)<=0:rn(yt.from,ne)<0)))return!0}}}function tr(a){for(var E;E=Kr(a);)a=E.find(-1,!0).line;return a}function Ln(a){for(var E;E=Jn(a);)a=E.find(1,!0).line;return a}function jr(a){for(var E,re;E=Jn(a);)a=E.find(1,!0).line,(re||(re=[])).push(a);return re}function lr(a,E){var re=Wn(a,E),ne=tr(re);return re==ne?E:Jt(ne)}function rr(a,E){if(E>a.lastLine())return E;var re=Wn(a,E),ne;if(!yr(a,re))return E;for(;ne=Jn(re);)re=ne.find(1,!0).line;return Jt(re)+1}function yr(a,E){var re=mr&&E.markedSpans;if(re){for(var ne=void 0,ie=0;ieE.maxLineLength&&(E.maxLineLength=ie,E.maxLine=ne)})}var Ha=function(a,E,re){this.text=a,ia(this,E),this.height=re?re(this):1};Ha.prototype.lineNo=function(){return Jt(this)},Lt(Ha);function Da(a,E,re,ne){a.text=E,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),ra(a),ia(a,re);var ie=ne?ne(a):1;ie!=a.height&&ea(a,ie)}function Na(a){a.parent=null,ra(a)}var Ua={},ga={};function Ma(a,E){if(!a||/^\s*$/.test(a))return null;var re=E.addModeClass?ga:Ua;return re[a]||(re[a]=a.replace(/\S+/g,"cm-$&"))}function Qa(a,E){var re=mt("span",null,null,we?"padding-right: .1px":null),ne={pre:mt("pre",[re],"CodeMirror-line"),content:re,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};E.measure={};for(var ie=0;ie<=(E.rest?E.rest.length:0);ie++){var ye=ie?E.rest[ie-1]:E.line,Be=void 0;ne.pos=0,ne.addToken=Oi,Sr(a.display.measure)&&(Be=fn(ye,a.doc.direction))&&(ne.addToken=ti(ne.addToken,Be)),ne.map=[];var Xe=E!=a.display.externalMeasured&&Jt(ye);Or(ye,ne,Nr(a,ye,Xe)),ye.styleClasses&&(ye.styleClasses.bgClass&&(ne.bgClass=Rt(ye.styleClasses.bgClass,ne.bgClass||"")),ye.styleClasses.textClass&&(ne.textClass=Rt(ye.styleClasses.textClass,ne.textClass||""))),ne.map.length==0&&ne.map.push(0,0,ne.content.appendChild(mn(a.display.measure))),ie==0?(E.measure.map=ne.map,E.measure.cache={}):((E.measure.maps||(E.measure.maps=[])).push(ne.map),(E.measure.caches||(E.measure.caches=[])).push({}))}if(we){var at=ne.content.lastChild;(/\bcm-tab\b/.test(at.className)||at.querySelector&&at.querySelector(".cm-tab"))&&(ne.content.className="cm-tab-wrap-hack")}return Cn(a,"renderLine",a,E.line,ne.pre),ne.pre.className&&(ne.textClass=Rt(ne.pre.className,ne.textClass||"")),ne}function Ri(a){var E=It("span","\u2022","cm-invalidchar");return E.title="\\u"+a.charCodeAt(0).toString(16),E.setAttribute("aria-label",E.title),E}function Oi(a,E,re,ne,ie,ye,Be){if(E){var Xe=a.splitSpaces?ui(E,a.trailingSpace):E,at=a.cm.state.specialChars,yt=!1,cn;if(!at.test(E))a.col+=E.length,cn=document.createTextNode(Xe),a.map.push(a.pos,a.pos+E.length,cn),be&&fe<9&&(yt=!0),a.pos+=E.length;else{cn=document.createDocumentFragment();for(var En=0;;){at.lastIndex=En;var Vn=at.exec(E),Hn=Vn?Vn.index-En:E.length-En;if(Hn){var Rr=document.createTextNode(Xe.slice(En,En+Hn));be&&fe<9?cn.appendChild(It("span",[Rr])):cn.appendChild(Rr),a.map.push(a.pos,a.pos+Hn,Rr),a.col+=Hn,a.pos+=Hn}if(!Vn)break;En+=Hn+1;var zr=void 0;if(Vn[0]==" "){var oe=a.cm.options.tabSize,z=oe-a.col%oe;zr=cn.appendChild(It("span",Sn(z),"cm-tab")),zr.setAttribute("role","presentation"),zr.setAttribute("cm-text"," "),a.col+=z}else Vn[0]=="\r"||Vn[0]==` -`?(zr=cn.appendChild(It("span",Vn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),zr.setAttribute("cm-text",Vn[0]),a.col+=1):(zr=a.cm.options.specialCharPlaceholder(Vn[0]),zr.setAttribute("cm-text",Vn[0]),be&&fe<9?cn.appendChild(It("span",[zr])):cn.appendChild(zr),a.col+=1);a.map.push(a.pos,a.pos+1,zr),a.pos++}}if(a.trailingSpace=Xe.charCodeAt(E.length-1)==32,re||ne||ie||yt||ye||Be){var te=re||"";ne&&(te+=ne),ie&&(te+=ie);var ue=It("span",[cn],te,ye);if(Be)for(var Se in Be)Be.hasOwnProperty(Se)&&Se!="style"&&Se!="class"&&ue.setAttribute(Se,Be[Se]);return a.content.appendChild(ue)}a.content.appendChild(cn)}}function ui(a,E){if(a.length>1&&!/ /.test(a))return a;for(var re=E,ne="",ie=0;ieyt&&En.from<=yt));Vn++);if(En.to>=cn)return a(re,ne,ie,ye,Be,Xe,at);a(re,ne.slice(0,En.to-yt),ie,ye,null,Xe,at),ye=null,ne=ne.slice(En.to-yt),yt=En.to}}}function ai(a,E,re,ne){var ie=!ne&&re.widgetNode;ie&&a.map.push(a.pos,a.pos+E,ie),!ne&&a.cm.display.input.needsContentAttribute&&(ie||(ie=a.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",re.id)),ie&&(a.cm.display.input.setUneditable(ie),a.content.appendChild(ie)),a.pos+=E,a.trailingSpace=!1}function Or(a,E,re){var ne=a.markedSpans,ie=a.text,ye=0;if(!ne){for(var Be=1;Beat||st.collapsed&&qe.to==at&&qe.from==at)){if(qe.to!=null&&qe.to!=at&&Hn>qe.to&&(Hn=qe.to,zr=""),st.className&&(Rr+=" "+st.className),st.css&&(Vn=(Vn?Vn+";":"")+st.css),st.startStyle&&qe.from==at&&(oe+=" "+st.startStyle),st.endStyle&&qe.to==Hn&&(Se||(Se=[])).push(st.endStyle,qe.to),st.title&&((te||(te={})).title=st.title),st.attributes)for(var dt in st.attributes)(te||(te={}))[dt]=st.attributes[dt];st.collapsed&&(!z||kr(z.marker,st)<0)&&(z=qe)}else qe.from>at&&Hn>qe.from&&(Hn=qe.from)}if(Se)for(var Gt=0;Gt=Xe)break;for(var Tn=Math.min(Xe,Hn);;){if(cn){var _n=at+cn.length;if(!z){var Gn=_n>Tn?cn.slice(0,Tn-at):cn;E.addToken(E,Gn,En?En+Rr:Rr,oe,at+Gn.length==Hn?zr:"",Vn,te)}if(_n>=Tn){cn=cn.slice(Tn-at),at=Tn;break}at=_n,oe=""}cn=ie.slice(ye,ye=re[yt++]),En=Ma(re[yt++],E.cm.options)}}}function mi(a,E,re){this.line=E,this.rest=jr(E),this.size=this.rest?Jt(Zt(this.rest))-re+1:1,this.node=this.text=null,this.hidden=yr(a,E)}function gi(a,E,re){for(var ne=[],ie,ye=E;ye2&&ye.push((at.bottom+yt.top)/2-re.top)}}ye.push(re.bottom-re.top)}}function fs(a,E,re){if(a.line==E)return{map:a.measure.map,cache:a.measure.cache};for(var ne=0;nere)return{map:a.measure.maps[ie],cache:a.measure.caches[ie],before:!0}}function Ys(a,E){E=tr(E);var re=Jt(E),ne=a.display.externalMeasured=new mi(a.doc,E,re);ne.lineN=re;var ie=ne.built=Qa(a,ne);return ne.text=ie.pre,rt(a.display.lineMeasure,ie.pre),ne}function Xs(a,E,re,ne){return mo(a,Hi(a,E),re,ne)}function No(a,E){if(E>=a.display.viewFrom&&E=re.lineN&&EE)&&(ye=at-Xe,ie=ye-1,E>=at&&(Be="right")),ie!=null){if(ne=a[yt+2],Xe==at&&re==(ne.insertLeft?"left":"right")&&(Be=re),re=="left"&&ie==0)for(;yt&&a[yt-2]==a[yt-3]&&a[yt-1].insertLeft;)ne=a[(yt-=3)+2],Be="left";if(re=="right"&&ie==at-Xe)for(;yt=0&&(re=a[ie]).left==re.right;ie--);return re}function Js(a,E,re,ne){var ie=qs(E.map,re,ne),ye=ie.node,Be=ie.start,Xe=ie.end,at=ie.collapse,yt;if(ye.nodeType==3){for(var cn=0;cn<4;cn++){for(;Be&&ot(E.line.text.charAt(ie.coverStart+Be));)--Be;for(;ie.coverStart+Xe0&&(at=ne="right");var En;a.options.lineWrapping&&(En=ye.getClientRects()).length>1?yt=En[ne=="right"?En.length-1:0]:yt=ye.getBoundingClientRect()}if(be&&fe<9&&!Be&&(!yt||!yt.left&&!yt.right)){var Vn=ye.parentNode.getClientRects()[0];Vn?yt={left:Vn.left,right:Vn.left+lo(a.display),top:Vn.top,bottom:Vn.bottom}:yt=Qs}for(var Hn=yt.top-E.rect.top,Rr=yt.bottom-E.rect.top,zr=(Hn+Rr)/2,oe=E.view.measure.heights,z=0;z=ne.text.length?(at=ne.text.length,yt="before"):at<=0&&(at=0,yt="after"),!Xe)return Be(yt=="before"?at-1:at,yt=="before");function cn(Rr,zr,oe){var z=Xe[zr],te=z.level==1;return Be(oe?Rr-1:Rr,te!=oe)}var En=Ut(Xe,at,yt),Vn=Ct,Hn=cn(at,En,yt=="before");return Vn!=null&&(Hn.other=cn(at,Vn,yt!="before")),Hn}function ci(a,E){var re=0;E=Ye(a.doc,E),a.options.lineWrapping||(re=lo(a.display)*E.ch);var ne=Wn(a.doc,E.line),ie=Ea(ne)+Ui(a.display);return{left:re,right:re,top:ie,bottom:ie+ne.height}}function Ya(a,E,re,ne,ie){var ye=Mt(a,E,re);return ye.xRel=ie,ne&&(ye.outside=ne),ye}function qi(a,E,re){var ne=a.doc;if(re+=a.display.viewOffset,re<0)return Ya(ne.first,0,null,-1,-1);var ie=pn(ne,re),ye=ne.first+ne.size-1;if(ie>ye)return Ya(ne.first+ne.size-1,Wn(ne,ye).text.length,null,1,1);E<0&&(E=0);for(var Be=Wn(ne,ie);;){var Xe=yo(a,Be,ie,E,re),at=dr(Be,Xe.ch+(Xe.xRel>0||Xe.outside>0?1:0));if(!at)return Xe;var yt=at.find(1);if(yt.line==ie)return yt;Be=Wn(ne,ie=yt.line)}}function ao(a,E,re,ne){ne-=ko(E);var ie=E.text.length,ye=At(function(Be){return mo(a,re,Be-1).bottom<=ne},ie,0);return ie=At(function(Be){return mo(a,re,Be).top>ne},ye,ie),{begin:ye,end:ie}}function Gi(a,E,re,ne){re||(re=Hi(a,E));var ie=as(a,E,mo(a,re,ne),"line").top;return ao(a,E,re,ie)}function zi(a,E,re,ne){return a.bottom<=re?!1:a.top>re?!0:(ne?a.left:a.right)>E}function yo(a,E,re,ne,ie){ie-=Ea(E);var ye=Hi(a,E),Be=ko(E),Xe=0,at=E.text.length,yt=!0,cn=fn(E,a.doc.direction);if(cn){var En=(a.options.lineWrapping?go:Eo)(a,E,re,ye,cn,ne,ie);yt=En.level!=1,Xe=yt?En.from:En.to-1,at=yt?En.to:En.from-1}var Vn=null,Hn=null,Rr=At(function(Le){var qe=mo(a,ye,Le);return qe.top+=Be,qe.bottom+=Be,zi(qe,ne,ie,!1)?(qe.top<=ie&&qe.left<=ne&&(Vn=Le,Hn=qe),!0):!1},Xe,at),zr,oe,z=!1;if(Hn){var te=ne-Hn.left=Se.bottom?1:0}return Rr=Qt(E.text,Rr,1),Ya(re,Rr,oe,z,ne-zr)}function Eo(a,E,re,ne,ie,ye,Be){var Xe=At(function(En){var Vn=ie[En],Hn=Vn.level!=1;return zi(Qi(a,Mt(re,Hn?Vn.to:Vn.from,Hn?"before":"after"),"line",E,ne),ye,Be,!0)},0,ie.length-1),at=ie[Xe];if(Xe>0){var yt=at.level!=1,cn=Qi(a,Mt(re,yt?at.from:at.to,yt?"after":"before"),"line",E,ne);zi(cn,ye,Be,!0)&&cn.top>Be&&(at=ie[Xe-1])}return at}function go(a,E,re,ne,ie,ye,Be){var Xe=ao(a,E,ne,Be),at=Xe.begin,yt=Xe.end;/\s/.test(E.text.charAt(yt-1))&&yt--;for(var cn=null,En=null,Vn=0;Vn=yt||Hn.to<=at)){var Rr=Hn.level!=1,zr=mo(a,ne,Rr?Math.min(yt,Hn.to)-1:Math.max(at,Hn.from)).right,oe=zroe)&&(cn=Hn,En=oe)}}return cn||(cn=ie[ie.length-1]),cn.fromyt&&(cn={from:cn.from,to:yt,level:cn.level}),cn}var Ji;function Ki(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Ji==null){Ji=It("pre",null,"CodeMirror-line-like");for(var E=0;E<49;++E)Ji.appendChild(document.createTextNode("x")),Ji.appendChild(It("br"));Ji.appendChild(document.createTextNode("x"))}rt(a.measure,Ji);var re=Ji.offsetHeight/50;return re>3&&(a.cachedTextHeight=re),gt(a.measure),re||1}function lo(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var E=It("span","xxxxxxxxxx"),re=It("pre",[E],"CodeMirror-line-like");rt(a.measure,re);var ne=E.getBoundingClientRect(),ie=(ne.right-ne.left)/10;return ie>2&&(a.cachedCharWidth=ie),ie||10}function Do(a){for(var E=a.display,re={},ne={},ie=E.gutters.clientLeft,ye=E.gutters.firstChild,Be=0;ye;ye=ye.nextSibling,++Be){var Xe=a.display.gutterSpecs[Be].className;re[Xe]=ye.offsetLeft+ye.clientLeft+ie,ne[Xe]=ye.clientWidth}return{fixedPos:Ko(E),gutterTotalWidth:E.gutters.offsetWidth,gutterLeft:re,gutterWidth:ne,wrapperWidth:E.wrapper.clientWidth}}function Ko(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function el(a){var E=Ki(a.display),re=a.options.lineWrapping,ne=re&&Math.max(5,a.display.scroller.clientWidth/lo(a.display)-3);return function(ie){if(yr(a.doc,ie))return 0;var ye=0;if(ie.widgets)for(var Be=0;Be0&&(yt=Wn(a.doc,at.line).text).length==at.ch){var cn=wt(yt,yt.length,a.options.tabSize)-yt.length;at=Mt(at.line,Math.max(0,Math.round((ye-Ao(a.display).left)/lo(a.display))-cn))}return at}function Co(a,E){if(E>=a.display.viewTo||(E-=a.display.viewFrom,E<0))return null;for(var re=a.display.view,ne=0;neE)&&(ie.updateLineNumbers=E),a.curOp.viewChanged=!0,E>=ie.viewTo)mr&&lr(a.doc,E)ie.viewFrom?So(a):(ie.viewFrom+=ne,ie.viewTo+=ne);else if(E<=ie.viewFrom&&re>=ie.viewTo)So(a);else if(E<=ie.viewFrom){var ye=vo(a,re,re+ne,1);ye?(ie.view=ie.view.slice(ye.index),ie.viewFrom=ye.lineN,ie.viewTo+=ne):So(a)}else if(re>=ie.viewTo){var Be=vo(a,E,E,-1);Be?(ie.view=ie.view.slice(0,Be.index),ie.viewTo=Be.lineN):So(a)}else{var Xe=vo(a,E,E,-1),at=vo(a,re,re+ne,1);Xe&&at?(ie.view=ie.view.slice(0,Xe.index).concat(gi(a,Xe.lineN,at.lineN)).concat(ie.view.slice(at.index)),ie.viewTo+=ne):So(a)}var yt=ie.externalMeasured;yt&&(re=ie.lineN&&E=ne.viewTo)){var ye=ne.view[Co(a,E)];if(ye.node!=null){var Be=ye.changes||(ye.changes=[]);Ee(Be,re)==-1&&Be.push(re)}}}function So(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function vo(a,E,re,ne){var ie=Co(a,E),ye,Be=a.display.view;if(!mr||re==a.doc.first+a.doc.size)return{index:ie,lineN:re};for(var Xe=a.display.viewFrom,at=0;at0){if(ie==Be.length-1)return null;ye=Xe+Be[ie].size-E,ie++}else ye=Xe-E;E+=ye,re+=ye}for(;lr(a.doc,re)!=re;){if(ie==(ne<0?0:Be.length-1))return null;re+=ne*Be[ie-(ne<0?1:0)].size,ie+=ne}return{index:ie,lineN:re}}function tl(a,E,re){var ne=a.display,ie=ne.view;ie.length==0||E>=ne.viewTo||re<=ne.viewFrom?(ne.view=gi(a,E,re),ne.viewFrom=E):(ne.viewFrom>E?ne.view=gi(a,E,ne.viewFrom).concat(ne.view):ne.viewFromre&&(ne.view=ne.view.slice(0,Co(a,re)))),ne.viewTo=re}function nl(a){for(var E=a.display.view,re=0,ne=0;ne=a.display.viewTo||Xe.to().line0?E.blinker=setInterval(function(){a.hasFocus()||Ss(a),E.cursorDiv.style.visibility=(re=!re)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(E.cursorDiv.style.visibility="hidden")}}function hl(a){a.state.focused||(a.display.input.focus(),Bs(a))}function is(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,Ss(a))},100)}function Bs(a,E){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Cn(a,"focus",a,E),a.state.focused=!0,Ke(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),we&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),pl(a))}function Ss(a,E){a.state.delayingBlurEvent||(a.state.focused&&(Cn(a,"blur",a,E),a.state.focused=!1,tt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function hs(a){for(var E=a.display,re=E.lineDiv.offsetTop,ne=0;ne.005||cn<-.005)&&(ea(ie.line,Be),ms(ie.line),ie.rest))for(var En=0;Ena.display.sizerWidth){var Vn=Math.ceil(Xe/lo(a.display));Vn>a.display.maxLineLength&&(a.display.maxLineLength=Vn,a.display.maxLine=ie.line,a.display.maxLineChanged=!0)}}}}function ms(a){if(a.widgets)for(var E=0;E=Be&&(ye=pn(E,Ea(Wn(E,at))-a.wrapper.clientHeight),Be=at)}return{from:ye,to:Math.max(Be,ye+1)}}function al(a,E){if(!sn(a,"scrollCursorIntoView")){var re=a.display,ne=re.sizer.getBoundingClientRect(),ie=null;if(E.top+ne.top<0?ie=!0:E.bottom+ne.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!xt){var ye=It("div","\u200B",null,`position: absolute; - top: `+(E.top-re.viewOffset-Ui(a.display))+`px; - height: `+(E.bottom-E.top+ki(a)+re.barHeight)+`px; - left: `+E.left+"px; width: "+Math.max(2,E.right-E.left)+"px;");a.display.lineSpace.appendChild(ye),ye.scrollIntoView(ie),a.display.lineSpace.removeChild(ye)}}}function il(a,E,re,ne){ne==null&&(ne=0);var ie;!a.options.lineWrapping&&E==re&&(E=E.ch?Mt(E.line,E.sticky=="before"?E.ch-1:E.ch,"after"):E,re=E.sticky=="before"?Mt(E.line,E.ch+1,"before"):E);for(var ye=0;ye<5;ye++){var Be=!1,Xe=Qi(a,E),at=!re||re==E?Xe:Qi(a,re);ie={left:Math.min(Xe.left,at.left),top:Math.min(Xe.top,at.top)-ne,right:Math.max(Xe.left,at.left),bottom:Math.max(Xe.bottom,at.bottom)+ne};var yt=ol(a,ie),cn=a.doc.scrollTop,En=a.doc.scrollLeft;if(yt.scrollTop!=null&&(bo(a,yt.scrollTop),Math.abs(a.doc.scrollTop-cn)>1&&(Be=!0)),yt.scrollLeft!=null&&(jt(a,yt.scrollLeft),Math.abs(a.doc.scrollLeft-En)>1&&(Be=!0)),!Be)break}return ie}function ml(a,E){var re=ol(a,E);re.scrollTop!=null&&bo(a,re.scrollTop),re.scrollLeft!=null&&jt(a,re.scrollLeft)}function ol(a,E){var re=a.display,ne=Ki(a.display);E.top<0&&(E.top=0);var ie=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:re.scroller.scrollTop,ye=vi(a),Be={};E.bottom-E.top>ye&&(E.bottom=E.top+ye);var Xe=a.doc.height+ho(re),at=E.topXe-ne;if(E.topie+ye){var cn=Math.min(E.top,(yt?Xe:E.bottom)-ye);cn!=ie&&(Be.scrollTop=cn)}var En=a.options.fixedGutter?0:re.gutters.offsetWidth,Vn=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:re.scroller.scrollLeft-En,Hn=ro(a)-re.gutters.offsetWidth,Rr=E.right-E.left>Hn;return Rr&&(E.right=E.left+Hn),E.left<10?Be.scrollLeft=0:E.leftHn+Vn-3&&(Be.scrollLeft=E.right+(Rr?0:10)-Hn),Be}function Cs(a,E){E!=null&&(Xo(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+E)}function Lo(a){Xo(a);var E=a.getCursor();a.curOp.scrollToPos={from:E,to:E,margin:a.options.cursorScrollMargin}}function ws(a,E,re){(E!=null||re!=null)&&Xo(a),E!=null&&(a.curOp.scrollLeft=E),re!=null&&(a.curOp.scrollTop=re)}function Fs(a,E){Xo(a),a.curOp.scrollToPos=E}function Xo(a){var E=a.curOp.scrollToPos;if(E){a.curOp.scrollToPos=null;var re=ci(a,E.from),ne=ci(a,E.to);_s(a,re,ne,E.margin)}}function _s(a,E,re,ne){var ie=ol(a,{left:Math.min(E.left,re.left),top:Math.min(E.top,re.top)-ne,right:Math.max(E.right,re.right),bottom:Math.max(E.bottom,re.bottom)+ne});ws(a,ie.scrollLeft,ie.scrollTop)}function bo(a,E){Math.abs(a.doc.scrollTop-E)<2||(b||In(a,{top:E}),Us(a,E,!0),b&&In(a),bt(a,100))}function Us(a,E,re){E=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,E)),!(a.display.scroller.scrollTop==E&&!re)&&(a.doc.scrollTop=E,a.display.scrollbars.setScrollTop(E),a.display.scroller.scrollTop!=E&&(a.display.scroller.scrollTop=E))}function jt(a,E,re,ne){E=Math.max(0,Math.min(E,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((re?E==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-E)<2)&&!ne)&&(a.doc.scrollLeft=E,ya(a),a.display.scroller.scrollLeft!=E&&(a.display.scroller.scrollLeft=E),a.display.scrollbars.setScrollLeft(E))}function Ts(a){var E=a.display,re=E.gutters.offsetWidth,ne=Math.round(a.doc.height+ho(a.display));return{clientHeight:E.scroller.clientHeight,viewHeight:E.wrapper.clientHeight,scrollWidth:E.scroller.scrollWidth,clientWidth:E.scroller.clientWidth,viewWidth:E.wrapper.clientWidth,barLeft:a.options.fixedGutter?re:0,docHeight:ne,scrollHeight:ne+ki(a)+E.barHeight,nativeBarWidth:E.nativeBarWidth,gutterWidth:re}}var Qo=function(a,E,re){this.cm=re;var ne=this.vert=It("div",[It("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ie=this.horiz=It("div",[It("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ne.tabIndex=ie.tabIndex=-1,a(ne),a(ie),Bt(ne,"scroll",function(){ne.clientHeight&&E(ne.scrollTop,"vertical")}),Bt(ie,"scroll",function(){ie.clientWidth&&E(ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,be&&fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Qo.prototype.update=function(a){var E=a.scrollWidth>a.clientWidth+1,re=a.scrollHeight>a.clientHeight+1,ne=a.nativeBarWidth;if(re){this.vert.style.display="block",this.vert.style.bottom=E?ne+"px":"0";var ie=a.viewHeight-(E?ne:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(E){this.horiz.style.display="block",this.horiz.style.right=re?ne+"px":"0",this.horiz.style.left=a.barLeft+"px";var ye=a.viewWidth-a.barLeft-(re?ne:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ye)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(ne==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:re?ne:0,bottom:E?ne:0}},Qo.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Qo.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Qo.prototype.zeroWidthHack=function(){var a=Ge&&!Fe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new $e,this.disableVert=new $e},Qo.prototype.enableZeroWidthBar=function(a,E,re){a.style.pointerEvents="auto";function ne(){var ie=a.getBoundingClientRect(),ye=re=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);ye!=a?a.style.pointerEvents="none":E.set(1e3,ne)}E.set(1e3,ne)},Qo.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var sl=function(){};sl.prototype.update=function(){return{bottom:0,right:0}},sl.prototype.setScrollLeft=function(){},sl.prototype.setScrollTop=function(){},sl.prototype.clear=function(){};function qo(a,E){E||(E=Ts(a));var re=a.display.barWidth,ne=a.display.barHeight;Jo(a,E);for(var ie=0;ie<4&&re!=a.display.barWidth||ne!=a.display.barHeight;ie++)re!=a.display.barWidth&&a.options.lineWrapping&&hs(a),Jo(a,Ts(a)),re=a.display.barWidth,ne=a.display.barHeight}function Jo(a,E){var re=a.display,ne=re.scrollbars.update(E);re.sizer.style.paddingRight=(re.barWidth=ne.right)+"px",re.sizer.style.paddingBottom=(re.barHeight=ne.bottom)+"px",re.heightForcer.style.borderBottom=ne.bottom+"px solid transparent",ne.right&&ne.bottom?(re.scrollbarFiller.style.display="block",re.scrollbarFiller.style.height=ne.bottom+"px",re.scrollbarFiller.style.width=ne.right+"px"):re.scrollbarFiller.style.display="",ne.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(re.gutterFiller.style.display="block",re.gutterFiller.style.height=ne.bottom+"px",re.gutterFiller.style.width=E.gutterWidth+"px"):re.gutterFiller.style.display=""}var ll={native:Qo,null:sl};function Go(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&tt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new ll[a.options.scrollbarStyle](function(E){a.display.wrapper.insertBefore(E,a.display.scrollbarFiller),Bt(E,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),E.setAttribute("cm-not-content","true")},function(E,re){re=="horizontal"?jt(a,E):bo(a,E)},a),a.display.scrollbars.addClass&&Ke(a.display.wrapper,a.display.scrollbars.addClass)}var _l=0;function io(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++_l},$a(a.curOp)}function os(a){var E=a.curOp;E&&Fa(E,function(re){for(var ne=0;ne=re.viewTo)||re.maxLineChanged&&E.options.lineWrapping,a.update=a.mustUpdate&&new nn(E,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function zs(a){a.updatedDisplay=a.mustUpdate&&Zn(a.cm,a.update)}function Hs(a){var E=a.cm,re=E.display;a.updatedDisplay&&hs(E),a.barMeasure=Ts(E),re.maxLineChanged&&!E.options.lineWrapping&&(a.adjustWidthTo=Xs(E,re.maxLine,re.maxLine.text.length).left+3,E.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(re.scroller.clientWidth,re.sizer.offsetLeft+a.adjustWidthTo+ki(E)+E.display.barWidth),a.maxScrollLeft=Math.max(0,re.sizer.offsetLeft+a.adjustWidthTo-ro(E))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=re.input.prepareSelection())}function Ul(a){var E=a.cm;a.adjustWidthTo!=null&&(E.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var re=+new Date+a.options.workTime,ne=gn(a,E.highlightFrontier),ie=[];E.iter(ne.line,Math.min(E.first+E.size,a.display.viewTo+500),function(ye){if(ne.line>=a.display.viewFrom){var Be=ye.styles,Xe=ye.text.length>a.options.maxHighlightLength?la(E.mode,ne.state):null,at=Pn(a,ye,ne,!0);Xe&&(ne.state=Xe),ye.styles=at.styles;var yt=ye.styleClasses,cn=at.classes;cn?ye.styleClasses=cn:yt&&(ye.styleClasses=null);for(var En=!Be||Be.length!=ye.styles.length||yt!=cn&&(!yt||!cn||yt.bgClass!=cn.bgClass||yt.textClass!=cn.textClass),Vn=0;!En&&Vnre)return bt(a,a.options.workDelay),!0}),E.highlightFrontier=ne.line,E.modeFrontier=Math.max(E.modeFrontier,ne.line),ie.length&&Ae(a,function(){for(var ye=0;ye=re.viewFrom&&E.visible.to<=re.viewTo&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo)&&re.renderedView==re.view&&nl(a)==0)return!1;di(a)&&(So(a),E.dims=Do(a));var ie=ne.first+ne.size,ye=Math.max(E.visible.from-a.options.viewportMargin,ne.first),Be=Math.min(ie,E.visible.to+a.options.viewportMargin);re.viewFromBe&&re.viewTo-Be<20&&(Be=Math.min(ie,re.viewTo)),mr&&(ye=lr(a.doc,ye),Be=rr(a.doc,Be));var Xe=ye!=re.viewFrom||Be!=re.viewTo||re.lastWrapHeight!=E.wrapperHeight||re.lastWrapWidth!=E.wrapperWidth;tl(a,ye,Be),re.viewOffset=Ea(Wn(a.doc,re.viewFrom)),a.display.mover.style.top=re.viewOffset+"px";var at=nl(a);if(!Xe&&at==0&&!E.force&&re.renderedView==re.view&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo))return!1;var yt=Bn(a);return at>4&&(re.lineDiv.style.display="none"),Ra(a,re.updateLineNumbers,E.dims),at>4&&(re.lineDiv.style.display=""),re.renderedView=re.view,yn(yt),gt(re.cursorDiv),gt(re.selectionDiv),re.gutters.style.height=re.sizer.style.minHeight=0,Xe&&(re.lastWrapHeight=E.wrapperHeight,re.lastWrapWidth=E.wrapperWidth,bt(a,400)),re.updateLineNumbers=null,!0}function $n(a,E){for(var re=E.viewport,ne=!0;;ne=!1){if(!ne||!a.options.lineWrapping||E.oldDisplayWidth==ro(a)){if(re&&re.top!=null&&(re={top:Math.min(a.doc.height+ho(a.display)-vi(a),re.top)}),E.visible=xs(a.display,a.doc,re),E.visible.from>=a.display.viewFrom&&E.visible.to<=a.display.viewTo)break}else ne&&(E.visible=xs(a.display,a.doc,re));if(!Zn(a,E))break;hs(a);var ie=Ts(a);ps(a),qo(a,ie),pi(a,ie),E.force=!1}E.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(E.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function In(a,E){var re=new nn(a,E);if(Zn(a,re)){hs(a),$n(a,re);var ne=Ts(a);ps(a),qo(a,ne),pi(a,ne),re.finish()}}function Ra(a,E,re){var ne=a.display,ie=a.options.lineNumbers,ye=ne.lineDiv,Be=ye.firstChild;function Xe(Rr){var zr=Rr.nextSibling;return we&&Ge&&a.display.currentWheelTarget==Rr?Rr.style.display="none":Rr.parentNode.removeChild(Rr),zr}for(var at=ne.view,yt=ne.viewFrom,cn=0;cn-1&&(Hn=!1),Bi(a,En,yt,re)),Hn&&(gt(En.lineNumber),En.lineNumber.appendChild(document.createTextNode(tn(a.options,yt)))),Be=En.node.nextSibling}yt+=En.size}for(;Be;)Be=Xe(Be)}function Ka(a){var E=a.gutters.offsetWidth;a.sizer.style.marginLeft=E+"px"}function pi(a,E){a.display.sizer.style.minHeight=E.docHeight+"px",a.display.heightForcer.style.top=E.docHeight+"px",a.display.gutters.style.height=E.docHeight+a.display.barHeight+ki(a)+"px"}function ya(a){var E=a.display,re=E.view;if(!(!E.alignWidgets&&(!E.gutters.firstChild||!a.options.fixedGutter))){for(var ne=Ko(E)-E.scroller.scrollLeft+a.doc.scrollLeft,ie=E.gutters.offsetWidth,ye=ne+"px",Be=0;BeBe.clientWidth,at=Be.scrollHeight>Be.clientHeight;if(ne&&Xe||ie&&at){if(ie&&Ge&&we){e:for(var yt=E.target,cn=ye.view;yt!=Be;yt=yt.parentNode)for(var En=0;En=0&&rn(a,ne.to())<=0)return re}return-1};var x=function(a,E){this.anchor=a,this.head=E};x.prototype.from=function(){return Ft(this.anchor,this.head)},x.prototype.to=function(){return Ie(this.anchor,this.head)},x.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ee(a,E,re){var ne=a&&a.options.selectionsMayTouch,ie=E[re];E.sort(function(Vn,Hn){return rn(Vn.from(),Hn.from())}),re=Ee(E,ie);for(var ye=1;ye0:at>=0){var yt=Ft(Xe.from(),Be.from()),cn=Ie(Xe.to(),Be.to()),En=Xe.empty()?Be.from()==Be.head:Xe.from()==Xe.head;ye<=re&&--re,E.splice(--ye,2,new x(En?cn:yt,En?yt:cn))}}return new si(E,re)}function Ne(a,E){return new si([new x(a,E||a)],0)}function Ot(a){return a.text?Mt(a.from.line+a.text.length-1,Zt(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Nn(a,E){if(rn(a,E.from)<0)return a;if(rn(a,E.to)<=0)return Ot(E);var re=a.line+E.text.length-(E.to.line-E.from.line)-1,ne=a.ch;return a.line==E.to.line&&(ne+=Ot(E).ch-E.to.ch),Mt(re,ne)}function cr(a,E){for(var re=[],ne=0;ne1&&a.remove(Xe.line+1,Rr-1),a.insert(Xe.line+1,z)}Ia(a,"change",a,E)}function Ro(a,E,re){function ne(ie,ye,Be){if(ie.linked)for(var Xe=0;Xe1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Zt(a.done)}function bl(a,E,re,ne){var ie=a.history;ie.undone.length=0;var ye=+new Date,Be,Xe;if((ie.lastOp==ne||ie.lastOrigin==E.origin&&E.origin&&(E.origin.charAt(0)=="+"&&ie.lastModTime>ye-(a.cm?a.cm.options.historyEventDelay:500)||E.origin.charAt(0)=="*"))&&(Be=Gs(ie,ie.lastOp==ne)))Xe=Zt(Be.changes),rn(E.from,E.to)==0&&rn(E.from,Xe.to)==0?Xe.to=Ot(E):Be.changes.push(Mo(a,E));else{var at=Zt(ie.done);for((!at||!at.ranges)&&Is(a.sel,ie.done),Be={changes:[Mo(a,E)],generation:ie.generation},ie.done.push(Be);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(re),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=ye,ie.lastOp=ie.lastSelOp=ne,ie.lastOrigin=ie.lastSelOrigin=E.origin,Xe||Cn(a,"historyAdded")}function pu(a,E,re,ne){var ie=E.charAt(0);return ie=="*"||ie=="+"&&re.ranges.length==ne.ranges.length&&re.somethingSelected()==ne.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function zl(a,E,re,ne){var ie=a.history,ye=ne&&ne.origin;re==ie.lastSelOp||ye&&ie.lastSelOrigin==ye&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==ye||pu(a,ye,Zt(ie.done),E))?ie.done[ie.done.length-1]=E:Is(E,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=ye,ie.lastSelOp=re,ne&&ne.clearRedo!==!1&&gs(ie.undone)}function Is(a,E){var re=Zt(E);re&&re.ranges&&re.equals(a)||E.push(a)}function yl(a,E,re,ne){var ie=E["spans_"+a.id],ye=0;a.iter(Math.max(a.first,re),Math.min(a.first+a.size,ne),function(Be){Be.markedSpans&&((ie||(ie=E["spans_"+a.id]={}))[ye]=Be.markedSpans),++ye})}function iu(a){if(!a)return null;for(var E,re=0;re-1&&(Zt(Xe)[En]=yt[En],delete yt[En])}}return ne}function Hl(a,E,re,ne){if(ne){var ie=a.anchor;if(re){var ye=rn(E,ie)<0;ye!=rn(re,ie)<0?(ie=E,E=re):ye!=rn(E,re)<0&&(E=re)}return new x(ie,E)}else return new x(re||E,E)}function Dl(a,E,re,ne,ie){ie==null&&(ie=a.cm&&(a.cm.display.shift||a.extend)),Wa(a,new si([Hl(a.sel.primary(),E,re,ie)],0),ne)}function jl(a,E,re){for(var ne=[],ie=a.cm&&(a.cm.display.shift||a.extend),ye=0;ye=E.ch:Xe.to>E.ch))){if(ie&&(Cn(at,"beforeCursorEnter"),at.explicitlyCleared))if(ye.markedSpans){--Be;continue}else break;if(!at.atomic)continue;if(re){var En=at.find(ne<0?1:-1),Vn=void 0;if((ne<0?cn:yt)&&(En=Po(a,En,-ne,En&&En.line==E.line?ye:null)),En&&En.line==E.line&&(Vn=rn(En,re))&&(ne<0?Vn<0:Vn>0))return ls(a,En,E,ne,ie)}var Hn=at.find(ne<0?-1:1);return(ne<0?yt:cn)&&(Hn=Po(a,Hn,ne,Hn.line==E.line?ye:null)),Hn?ls(a,Hn,E,ne,ie):null}}return E}function Rs(a,E,re,ne,ie){var ye=ne||1,Be=ls(a,E,re,ye,ie)||!ie&&ls(a,E,re,ye,!0)||ls(a,E,re,-ye,ie)||!ie&&ls(a,E,re,-ye,!0);return Be||(a.cantEdit=!0,Mt(a.first,0))}function Po(a,E,re,ne){return re<0&&E.ch==0?E.line>a.first?Ye(a,Mt(E.line-1)):null:re>0&&E.ch==(ne||Wn(a,E.line)).text.length?E.line=0;--ie)hu(a,{from:ne[ie].from,to:ne[ie].to,text:ie?[""]:E.text,origin:E.origin});else hu(a,E)}}function hu(a,E){if(!(E.text.length==1&&E.text[0]==""&&rn(E.from,E.to)==0)){var re=cr(a,E);bl(a,E,re,a.cm?a.cm.curOp.id:NaN),Wl(a,E,re,ua(a,E));var ne=[];Ro(a,function(ie,ye){!ye&&Ee(ne,ie.history)==-1&&(Ou(ie.history,E),ne.push(ie.history)),Wl(ie,E,null,ua(ie,E))})}}function Gl(a,E,re){var ne=a.cm&&a.cm.state.suppressEdits;if(!(ne&&!re)){for(var ie=a.history,ye,Be=a.sel,Xe=E=="undo"?ie.done:ie.undone,at=E=="undo"?ie.undone:ie.done,yt=0;yt=0;--Hn){var Rr=Vn(Hn);if(Rr)return Rr.v}}}}function mu(a,E){if(E!=0&&(a.first+=E,a.sel=new si(vn(a.sel.ranges,function(ie){return new x(Mt(ie.anchor.line+E,ie.anchor.ch),Mt(ie.head.line+E,ie.head.ch))}),a.sel.primIndex),a.cm)){Yi(a.cm,a.first,a.first-E,E);for(var re=a.cm.display,ne=re.viewFrom;nea.lastLine())){if(E.from.lineye&&(E={from:E.from,to:Mt(ye,Wn(a,ye).text.length),text:[E.text[0]],origin:E.origin}),E.removed=ur(a,E.from,E.to),re||(re=cr(a,E)),a.cm?Bc(a.cm,E,ne):eo(a,E,ne),Ni(a,re,it),a.cantEdit&&Rs(a,Mt(a.firstLine(),0))&&(a.cantEdit=!1)}}function Bc(a,E,re){var ne=a.doc,ie=a.display,ye=E.from,Be=E.to,Xe=!1,at=ye.line;a.options.lineWrapping||(at=Jt(tr(Wn(ne,ye.line))),ne.iter(at,Be.line+1,function(Hn){if(Hn==ie.maxLine)return Xe=!0,!0})),ne.sel.contains(E.from,E.to)>-1&&An(a),eo(ne,E,re,el(a)),a.options.lineWrapping||(ne.iter(at,ye.line+E.text.length,function(Hn){var Rr=oa(Hn);Rr>ie.maxLineLength&&(ie.maxLine=Hn,ie.maxLineLength=Rr,ie.maxLineChanged=!0,Xe=!1)}),Xe&&(a.curOp.updateMaxLine=!0)),er(ne,ye.line),bt(a,400);var yt=E.text.length-(Be.line-ye.line)-1;E.full?Yi(a):ye.line==Be.line&&E.text.length==1&&!Fn(a.doc,E)?wo(a,ye.line,"text"):Yi(a,ye.line,Be.line+1,yt);var cn=xn(a,"changes"),En=xn(a,"change");if(En||cn){var Vn={from:ye,to:Be,text:E.text,removed:E.removed,origin:E.origin};En&&Ia(a,"change",a,Vn),cn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Vn)}a.display.selForContextMenu=null}function ul(a,E,re,ne,ie){var ye;ne||(ne=re),rn(ne,re)<0&&(ye=[ne,re],re=ye[0],ne=ye[1]),typeof E=="string"&&(E=a.splitLines(E)),Cl(a,{from:re,to:ne,text:E,origin:ie})}function Vo(a,E,re,ne){re1||!(this.children[0]instanceof Zl))){var Xe=[];this.collapse(Xe),this.children=[new Zl(Xe)],this.children[0].parent=this}},collapse:function(a){for(var E=0;E50){for(var Be=ie.lines.length%25+25,Xe=Be;Xe10);a.parent.maybeSpill()}},iterN:function(a,E,re){for(var ne=0;nea.display.maxLineLength&&(a.display.maxLine=yt,a.display.maxLineLength=cn,a.display.maxLineChanged=!0)}ne!=null&&a&&this.collapsed&&Yi(a,ne,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Ns(a.doc)),a&&Ia(a,"markerCleared",a,this,ne,ie),E&&os(a),this.parent&&this.parent.clear()}},Zs.prototype.find=function(a,E){a==null&&this.type=="bookmark"&&(a=1);for(var re,ne,ie=0;ie0||Be==0&&ye.clearWhenEmpty!==!1)return ye;if(ye.replacedWith&&(ye.collapsed=!0,ye.widgetNode=mt("span",[ye.replacedWith],"CodeMirror-widget"),ne.handleMouseEvents||ye.widgetNode.setAttribute("cm-ignore-events","true"),ne.insertLeft&&(ye.widgetNode.insertLeft=!0)),ye.collapsed){if(fr(a,E.line,E,re,ye)||E.line!=re.line&&fr(a,re.line,E,re,ye))throw new Error("Inserting collapsed marker partially overlapping an existing one");Vr()}ye.addToHistory&&bl(a,{from:E,to:re,origin:"markText"},a.sel,NaN);var Xe=E.line,at=a.cm,yt;if(a.iter(Xe,re.line+1,function(En){at&&ye.collapsed&&!at.options.lineWrapping&&tr(En)==at.display.maxLine&&(yt=!0),ye.collapsed&&Xe!=E.line&&ea(En,0),Lr(En,new Zr(ye,Xe==E.line?E.ch:null,Xe==re.line?re.ch:null)),++Xe}),ye.collapsed&&a.iter(E.line,re.line+1,function(En){yr(a,En)&&ea(En,0)}),ye.clearOnEnter&&Bt(ye,"beforeCursorEnter",function(){return ye.clear()}),ye.readOnly&&(Xr(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ye.collapsed&&(ye.id=++gu,ye.atomic=!0),at){if(yt&&(at.curOp.updateMaxLine=!0),ye.collapsed)Yi(at,E.line,re.line+1);else if(ye.className||ye.startStyle||ye.endStyle||ye.css||ye.attributes||ye.title)for(var cn=E.line;cn<=re.line;cn++)wo(at,cn,"text");ye.atomic&&Ns(at.doc),Ia(at,"markerAdded",at,ye)}return ye}var Ml=function(a,E){this.markers=a,this.primary=E;for(var re=0;re=0;at--)Cl(this,ne[at]);Xe?ri(this,Xe):this.cm&&Lo(this.cm)}),undo:ht(function(){Gl(this,"undo")}),redo:ht(function(){Gl(this,"redo")}),undoSelection:ht(function(){Gl(this,"undo",!0)}),redoSelection:ht(function(){Gl(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,E=0,re=0,ne=0;ne=a.ch)&&E.push(ie.marker.parent||ie.marker)}return E},findMarks:function(a,E,re){a=Ye(this,a),E=Ye(this,E);var ne=[],ie=a.line;return this.iter(a.line,E.line+1,function(ye){var Be=ye.markedSpans;if(Be)for(var Xe=0;Xe=at.to||at.from==null&&ie!=a.line||at.from!=null&&ie==E.line&&at.from>=E.ch)&&(!re||re(at.marker))&&ne.push(at.marker.parent||at.marker)}++ie}),ne},getAllMarks:function(){var a=[];return this.iter(function(E){var re=E.markedSpans;if(re)for(var ne=0;nea)return E=a,!0;a-=ye,++re}),Ye(this,Mt(re,E))},indexFromPos:function(a){a=Ye(this,a);var E=a.ch;if(a.lineE&&(E=a.from),a.to!=null&&a.to-1){E.state.draggingText(a),setTimeout(function(){return E.display.input.focus()},20);return}try{var cn=a.dataTransfer.getData("Text");if(cn){var En;if(E.state.draggingText&&!E.state.draggingText.copy&&(En=E.listSelections()),Ni(E.doc,Ne(re,re)),En)for(var Vn=0;Vn=0;Xe--)ul(a.doc,"",ne[Xe].from,ne[Xe].to,"+delete");Lo(a)})}function yu(a,E,re){var ne=Qt(a.text,E+re,re);return ne<0||ne>a.text.length?null:ne}function Eu(a,E,re){var ne=yu(a,E.ch,re);return ne==null?null:new Mt(E.line,ne,re<0?"after":"before")}function uu(a,E,re,ne,ie){if(a){E.doc.direction=="rtl"&&(ie=-ie);var ye=fn(re,E.doc.direction);if(ye){var Be=ie<0?Zt(ye):ye[0],Xe=ie<0==(Be.level==1),at=Xe?"after":"before",yt;if(Be.level>0||E.doc.direction=="rtl"){var cn=Hi(E,re);yt=ie<0?re.text.length-1:0;var En=mo(E,cn,yt).top;yt=At(function(Vn){return mo(E,cn,Vn).top==En},ie<0==(Be.level==1)?Be.from:Be.to-1,yt),at=="before"&&(yt=yu(re,yt,1))}else yt=ie<0?Be.to:Be.from;return new Mt(ne,yt,at)}}return new Mt(ne,ie<0?re.text.length:0,ie<0?"before":"after")}function mc(a,E,re,ne){var ie=fn(E,a.doc.direction);if(!ie)return Eu(E,re,ne);re.ch>=E.text.length?(re.ch=E.text.length,re.sticky="before"):re.ch<=0&&(re.ch=0,re.sticky="after");var ye=Ut(ie,re.ch,re.sticky),Be=ie[ye];if(a.doc.direction=="ltr"&&Be.level%2==0&&(ne>0?Be.to>re.ch:Be.from=Be.from&&Vn>=cn.begin)){var Hn=En?"before":"after";return new Mt(re.line,Vn,Hn)}}var Rr=function(z,te,ue){for(var Se=function(dt,Gt){return Gt?new Mt(re.line,Xe(dt,1),"before"):new Mt(re.line,dt,"after")};z>=0&&z0==(Le.level!=1),st=qe?ue.begin:Xe(ue.end,-1);if(Le.from<=st&&st0?cn.end:Xe(cn.begin,-1);return oe!=null&&!(ne>0&&oe==E.text.length)&&(zr=Rr(ne>0?0:ie.length-1,ne,yt(oe)),zr)?zr:null}var Yl={selectAll:Vs,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),it)},killLine:function(a){return Bl(a,function(E){if(E.empty()){var re=Wn(a.doc,E.head.line).text.length;return E.head.ch==re&&E.head.line0)ie=new Mt(ie.line,ie.ch+1),a.replaceRange(ye.charAt(ie.ch-1)+ye.charAt(ie.ch-2),Mt(ie.line,ie.ch-2),ie,"+transpose");else if(ie.line>a.doc.first){var Be=Wn(a.doc,ie.line-1).text;Be&&(ie=new Mt(ie.line,1),a.replaceRange(ye.charAt(0)+a.doc.lineSeparator()+Be.charAt(Be.length-1),Mt(ie.line-1,Be.length-1),ie,"+transpose"))}}re.push(new x(ie,ie))}a.setSelections(re)})},newlineAndIndent:function(a){return Ae(a,function(){for(var E=a.listSelections(),re=E.length-1;re>=0;re--)a.replaceRange(a.doc.lineSeparator(),E[re].anchor,E[re].head,"+input");E=a.listSelections();for(var ne=0;nea&&rn(E,this.pos)==0&&re==this.button};var ql,Jl;function Sc(a,E){var re=+new Date;return Jl&&Jl.compare(re,a,E)?(ql=Jl=null,"triple"):ql&&ql.compare(re,a,E)?(Jl=new Cu(re,a,E),ql=null,"double"):(ql=new Cu(re,a,E),Jl=null,"single")}function Wu(a){var E=this,re=E.display;if(!(sn(E,a)||re.activeTouch&&re.input.supportsTouch())){if(re.input.ensurePolled(),re.shift=a.shiftKey,Ai(re,a)){we||(re.scroller.draggable=!1,setTimeout(function(){return re.scroller.draggable=!0},100));return}if(!Uo(E,a)){var ne=Yo(E,a),ie=de(a),ye=ne?Sc(ne,ie):"single";window.focus(),ie==1&&E.state.selectingText&&E.state.selectingText(a),!(ne&&Vu(E,ie,ne,ye,a))&&(ie==1?ne?xc(E,ne,ye,a):ft(a)==re.scroller&&qt(a):ie==2?(ne&&Dl(E.doc,ne),setTimeout(function(){return re.input.focus()},20)):ie==3&&(_e?E.display.input.onContextMenu(a):is(E)))}}}function Vu(a,E,re,ne,ie){var ye="Click";return ne=="double"?ye="Double"+ye:ne=="triple"&&(ye="Triple"+ye),ye=(E==1?"Left":E==2?"Middle":"Right")+ye,Xl(a,_u(ye,ie),ie,function(Be){if(typeof Be=="string"&&(Be=Yl[Be]),!Be)return!1;var Xe=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Xe=Be(a,re)!=on}finally{a.state.suppressEdits=!1}return Xe})}function co(a,E,re){var ne=a.getOption("configureMouse"),ie=ne?ne(a,E,re):{};if(ie.unit==null){var ye=We?re.shiftKey&&re.metaKey:re.altKey;ie.unit=ye?"rectangle":E=="single"?"char":E=="double"?"word":"line"}return(ie.extend==null||a.doc.extend)&&(ie.extend=a.doc.extend||re.shiftKey),ie.addNew==null&&(ie.addNew=Ge?re.metaKey:re.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(Ge?re.altKey:re.ctrlKey)),ie}function xc(a,E,re,ne){be?setTimeout(Kt(hl,a),0):a.curOp.focus=_t();var ie=co(a,re,ne),ye=a.doc.sel,Be;a.options.dragDrop&&wn&&!a.isReadOnly()&&re=="single"&&(Be=ye.contains(E))>-1&&(rn((Be=ye.ranges[Be]).from(),E)<0||E.xRel>0)&&(rn(Be.to(),E)>0||E.xRel<0)?zc(a,ne,E,ie):us(a,ne,E,ie)}function zc(a,E,re,ne){var ie=a.display,ye=!1,Be=ke(a,function(yt){we&&(ie.scroller.draggable=!1),a.state.draggingText=!1,Dn(ie.wrapper.ownerDocument,"mouseup",Be),Dn(ie.wrapper.ownerDocument,"mousemove",Xe),Dn(ie.scroller,"dragstart",at),Dn(ie.scroller,"drop",Be),ye||(qt(yt),ne.addNew||Dl(a.doc,re,null,null,ne.extend),we&&!je||be&&fe==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),Xe=function(yt){ye=ye||Math.abs(E.clientX-yt.clientX)+Math.abs(E.clientY-yt.clientY)>=10},at=function(){return ye=!0};we&&(ie.scroller.draggable=!0),a.state.draggingText=Be,Be.copy=!ne.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),Bt(ie.wrapper.ownerDocument,"mouseup",Be),Bt(ie.wrapper.ownerDocument,"mousemove",Xe),Bt(ie.scroller,"dragstart",at),Bt(ie.scroller,"drop",Be),is(a),setTimeout(function(){return ie.input.focus()},20)}function Zu(a,E,re){if(re=="char")return new x(E,E);if(re=="word")return a.findWordAt(E);if(re=="line")return new x(Mt(E.line,0),Ye(a.doc,Mt(E.line+1,0)));var ne=re(a,E);return new x(ne.from,ne.to)}function us(a,E,re,ne){var ie=a.display,ye=a.doc;qt(E);var Be,Xe,at=ye.sel,yt=at.ranges;if(ne.addNew&&!ne.extend?(Xe=ye.sel.contains(re),Xe>-1?Be=yt[Xe]:Be=new x(re,re)):(Be=ye.sel.primary(),Xe=ye.sel.primIndex),ne.unit=="rectangle")ne.addNew||(Be=new x(re,re)),re=Yo(a,E,!0,!0),Xe=-1;else{var cn=Zu(a,re,ne.unit);ne.extend?Be=Hl(Be,cn.anchor,cn.head,ne.extend):Be=cn}ne.addNew?Xe==-1?(Xe=yt.length,Wa(ye,ee(a,yt.concat([Be]),Xe),{scroll:!1,origin:"*mouse"})):yt.length>1&&yt[Xe].empty()&&ne.unit=="char"&&!ne.extend?(Wa(ye,ee(a,yt.slice(0,Xe).concat(yt.slice(Xe+1)),0),{scroll:!1,origin:"*mouse"}),at=ye.sel):xl(ye,Xe,Be,Ht):(Xe=0,Wa(ye,new si([Be],0),Ht),at=ye.sel);var En=re;function Vn(ue){if(rn(En,ue)!=0)if(En=ue,ne.unit=="rectangle"){for(var Se=[],Le=a.options.tabSize,qe=wt(Wn(ye,re.line).text,re.ch,Le),st=wt(Wn(ye,ue.line).text,ue.ch,Le),dt=Math.min(qe,st),Gt=Math.max(qe,st),ln=Math.min(re.line,ue.line),Tn=Math.min(a.lastLine(),Math.max(re.line,ue.line));ln<=Tn;ln++){var _n=Wn(ye,ln).text,Gn=Rn(_n,dt,Le);dt==Gt?Se.push(new x(Mt(ln,Gn),Mt(ln,Gn))):_n.length>Gn&&Se.push(new x(Mt(ln,Gn),Mt(ln,Rn(_n,Gt,Le))))}Se.length||Se.push(new x(re,re)),Wa(ye,ee(a,at.ranges.slice(0,Xe).concat(Se),Xe),{origin:"*mouse",scroll:!1}),a.scrollIntoView(ue)}else{var ar=Be,Yn=Zu(a,ue,ne.unit),Cr=ar.anchor,Ar;rn(Yn.anchor,Cr)>0?(Ar=Yn.head,Cr=Ft(ar.from(),Yn.anchor)):(Ar=Yn.anchor,Cr=Ie(ar.to(),Yn.head));var Br=at.ranges.slice(0);Br[Xe]=Cc(a,new x(Ye(ye,Cr),Ar)),Wa(ye,ee(a,Br,Xe),Ht)}}var Hn=ie.wrapper.getBoundingClientRect(),Rr=0;function zr(ue){var Se=++Rr,Le=Yo(a,ue,!0,ne.unit=="rectangle");if(Le)if(rn(Le,En)!=0){a.curOp.focus=_t(),Vn(Le);var qe=xs(ie,ye);(Le.line>=qe.to||Le.lineHn.bottom?20:0;st&&setTimeout(ke(a,function(){Rr==Se&&(ie.scroller.scrollTop+=st,zr(ue))}),50)}}function oe(ue){a.state.selectingText=!1,Rr=1/0,ue&&(qt(ue),ie.input.focus()),Dn(ie.wrapper.ownerDocument,"mousemove",z),Dn(ie.wrapper.ownerDocument,"mouseup",te),ye.history.lastSelOrigin=null}var z=ke(a,function(ue){ue.buttons===0||!de(ue)?oe(ue):zr(ue)}),te=ke(a,oe);a.state.selectingText=te,Bt(ie.wrapper.ownerDocument,"mousemove",z),Bt(ie.wrapper.ownerDocument,"mouseup",te)}function Cc(a,E){var re=E.anchor,ne=E.head,ie=Wn(a.doc,re.line);if(rn(re,ne)==0&&re.sticky==ne.sticky)return E;var ye=fn(ie);if(!ye)return E;var Be=Ut(ye,re.ch,re.sticky),Xe=ye[Be];if(Xe.from!=re.ch&&Xe.to!=re.ch)return E;var at=Be+(Xe.from==re.ch==(Xe.level!=1)?0:1);if(at==0||at==ye.length)return E;var yt;if(ne.line!=re.line)yt=(ne.line-re.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var cn=Ut(ye,ne.ch,ne.sticky),En=cn-Be||(ne.ch-re.ch)*(Xe.level==1?-1:1);cn==at-1||cn==at?yt=En<0:yt=En>0}var Vn=ye[at+(yt?-1:0)],Hn=yt==(Vn.level==1),Rr=Hn?Vn.from:Vn.to,zr=Hn?"after":"before";return re.ch==Rr&&re.sticky==zr?E:new x(new Mt(re.line,Rr,zr),ne)}function $u(a,E,re,ne){var ie,ye;if(E.touches)ie=E.touches[0].clientX,ye=E.touches[0].clientY;else try{ie=E.clientX,ye=E.clientY}catch(Vn){return!1}if(ie>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;ne&&qt(E);var Be=a.display,Xe=Be.lineDiv.getBoundingClientRect();if(ye>Xe.bottom||!xn(a,re))return bn(E);ye-=Xe.top-Be.viewOffset;for(var at=0;at=ie){var cn=pn(a.doc,ye),En=a.display.gutterSpecs[at];return Cn(a,re,a,cn,En.className,E),bn(E)}}}function Uo(a,E){return $u(a,E,"gutterClick",!0)}function wc(a,E){Ai(a.display,E)||Tc(a,E)||sn(a,E,"contextmenu")||_e||a.display.input.onContextMenu(E)}function Tc(a,E){return xn(a,"gutterContextMenu")?$u(a,E,"gutterContextMenu",!1):!1}function Ku(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),$o(a)}var Fl={toString:function(){return"CodeMirror.Init"}},Yu={},eu={};function Ac(a){var E=a.optionHandlers;function re(ne,ie,ye,Be){a.defaults[ne]=ie,ye&&(E[ne]=Be?function(Xe,at,yt){yt!=Fl&&ye(Xe,at,yt)}:ye)}a.defineOption=re,a.Init=Fl,re("value","",function(ne,ie){return ne.setValue(ie)},!0),re("mode",null,function(ne,ie){ne.doc.modeOption=ie,Ta(ne)},!0),re("indentUnit",2,Ta,!0),re("indentWithTabs",!1),re("smartIndent",!0),re("tabSize",4,function(ne){fi(ne),$o(ne),Yi(ne)},!0),re("lineSeparator",null,function(ne,ie){if(ne.doc.lineSep=ie,!!ie){var ye=[],Be=ne.doc.first;ne.doc.iter(function(at){for(var yt=0;;){var cn=at.text.indexOf(ie,yt);if(cn==-1)break;yt=cn+ie.length,ye.push(Mt(Be,cn))}Be++});for(var Xe=ye.length-1;Xe>=0;Xe--)ul(ne.doc,ie,ye[Xe],Mt(ye[Xe].line,ye[Xe].ch+ie.length))}}),re("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ne,ie,ye){ne.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),ye!=Fl&&ne.refresh()}),re("specialCharPlaceholder",Ri,function(ne){return ne.refresh()},!0),re("electricChars",!0),re("inputStyle",Je?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),re("spellcheck",!1,function(ne,ie){return ne.getInputField().spellcheck=ie},!0),re("autocorrect",!1,function(ne,ie){return ne.getInputField().autocorrect=ie},!0),re("autocapitalize",!1,function(ne,ie){return ne.getInputField().autocapitalize=ie},!0),re("rtlMoveVisually",!Ve),re("wholeLineUpdateBefore",!0),re("theme","default",function(ne){Ku(ne),bi(ne)},!0),re("keyMap","default",function(ne,ie,ye){var Be=lu(ie),Xe=ye!=Fl&&lu(ye);Xe&&Xe.detach&&Xe.detach(ne,Be),Be.attach&&Be.attach(ne,Xe||null)}),re("extraKeys",null),re("configureMouse",null),re("lineWrapping",!1,Xu,!0),re("gutters",[],function(ne,ie){ne.display.gutterSpecs=La(ie,ne.options.lineNumbers),bi(ne)},!0),re("fixedGutter",!0,function(ne,ie){ne.display.gutters.style.left=ie?Ko(ne.display)+"px":"0",ne.refresh()},!0),re("coverGutterNextToScrollbar",!1,function(ne){return qo(ne)},!0),re("scrollbarStyle","native",function(ne){Go(ne),qo(ne),ne.display.scrollbars.setScrollTop(ne.doc.scrollTop),ne.display.scrollbars.setScrollLeft(ne.doc.scrollLeft)},!0),re("lineNumbers",!1,function(ne,ie){ne.display.gutterSpecs=La(ne.options.gutters,ie),bi(ne)},!0),re("firstLineNumber",1,bi,!0),re("lineNumberFormatter",function(ne){return ne},bi,!0),re("showCursorWhenSelecting",!1,ps,!0),re("resetSelectionOnContextMenu",!0),re("lineWiseCopyCut",!0),re("pasteLinesPerSelection",!0),re("selectionsMayTouch",!1),re("readOnly",!1,function(ne,ie){ie=="nocursor"&&(Ss(ne),ne.display.input.blur()),ne.display.input.readOnlyChanged(ie)}),re("screenReaderLabel",null,function(ne,ie){ie=ie===""?null:ie,ne.display.input.screenReaderLabelChanged(ie)}),re("disableInput",!1,function(ne,ie){ie||ne.display.input.reset()},!0),re("dragDrop",!0,Ic),re("allowDropFileTypes",null),re("cursorBlinkRate",530),re("cursorScrollMargin",0),re("cursorHeight",1,ps,!0),re("singleCursorHeightPerLine",!0,ps,!0),re("workTime",100),re("workDelay",100),re("flattenSpans",!0,fi,!0),re("addModeClass",!1,fi,!0),re("pollInterval",100),re("undoDepth",200,function(ne,ie){return ne.doc.history.undoDepth=ie}),re("historyEventDelay",1250),re("viewportMargin",10,function(ne){return ne.refresh()},!0),re("maxHighlightLength",1e4,fi,!0),re("moveInputWithCursor",!0,function(ne,ie){ie||ne.display.input.resetPosition()}),re("tabindex",null,function(ne,ie){return ne.display.input.getField().tabIndex=ie||""}),re("autofocus",null),re("direction","ltr",function(ne,ie){return ne.doc.setDirection(ie)},!0),re("phrases",null)}function Ic(a,E,re){var ne=re&&re!=Fl;if(!E!=!ne){var ie=a.display.dragFunctions,ye=E?Bt:Dn;ye(a.display.scroller,"dragstart",ie.start),ye(a.display.scroller,"dragenter",ie.enter),ye(a.display.scroller,"dragover",ie.over),ye(a.display.scroller,"dragleave",ie.leave),ye(a.display.scroller,"drop",ie.drop)}}function Xu(a){a.options.lineWrapping?(Ke(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(tt(a.display.wrapper,"CodeMirror-wrap"),Ca(a)),fl(a),Yi(a),$o(a),setTimeout(function(){return qo(a)},100)}function Wi(a,E){var re=this;if(!(this instanceof Wi))return new Wi(a,E);this.options=E=E?On(E):{},On(Yu,E,!1);var ne=E.value;typeof ne=="string"?ne=new Fo(ne,E.mode,null,E.lineSeparator,E.direction):E.mode&&(ne.modeOption=E.mode),this.doc=ne;var ie=new Wi.inputStyles[E.inputStyle](this),ye=this.display=new qr(a,ne,ie,E);ye.wrapper.CodeMirror=this,Ku(this),E.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Go(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 $e,keySeq:null,specialChars:null},E.autofocus&&!Je&&ye.input.focus(),be&&fe<11&&setTimeout(function(){return re.display.input.reset(!0)},20),Qu(this),Fu(),io(this),this.curOp.forceUpdate=!0,vl(this,ne),E.autofocus&&!Je||this.hasFocus()?setTimeout(function(){re.hasFocus()&&!re.state.focused&&Bs(re)},20):Ss(this);for(var Be in eu)eu.hasOwnProperty(Be)&&eu[Be](this,E[Be],Fl);di(this),E.finishInit&&E.finishInit(this);for(var Xe=0;Xe20*20}Bt(E.scroller,"touchstart",function(at){if(!sn(a,at)&&!ye(at)&&!Uo(a,at)){E.input.ensurePolled(),clearTimeout(re);var yt=+new Date;E.activeTouch={start:yt,moved:!1,prev:yt-ne.end<=300?ne:null},at.touches.length==1&&(E.activeTouch.left=at.touches[0].pageX,E.activeTouch.top=at.touches[0].pageY)}}),Bt(E.scroller,"touchmove",function(){E.activeTouch&&(E.activeTouch.moved=!0)}),Bt(E.scroller,"touchend",function(at){var yt=E.activeTouch;if(yt&&!Ai(E,at)&&yt.left!=null&&!yt.moved&&new Date-yt.start<300){var cn=a.coordsChar(E.activeTouch,"page"),En;!yt.prev||Be(yt,yt.prev)?En=new x(cn,cn):!yt.prev.prev||Be(yt,yt.prev.prev)?En=a.findWordAt(cn):En=new x(Mt(cn.line,0),Ye(a.doc,Mt(cn.line+1,0))),a.setSelection(En.anchor,En.head),a.focus(),qt(at)}ie()}),Bt(E.scroller,"touchcancel",ie),Bt(E.scroller,"scroll",function(){E.scroller.clientHeight&&(bo(a,E.scroller.scrollTop),jt(a,E.scroller.scrollLeft,!0),Cn(a,"scroll",a))}),Bt(E.scroller,"mousewheel",function(at){return To(a,at)}),Bt(E.scroller,"DOMMouseScroll",function(at){return To(a,at)}),Bt(E.wrapper,"scroll",function(){return E.wrapper.scrollTop=E.wrapper.scrollLeft=0}),E.dragFunctions={enter:function(at){sn(a,at)||Et(at)},over:function(at){sn(a,at)||(_c(a,at),Et(at))},start:function(at){return uc(a,at)},drop:ke(a,Pu),leave:function(at){sn(a,at)||bu(a)}};var Xe=E.input.getField();Bt(Xe,"keyup",function(at){return Ec.call(a,at)}),Bt(Xe,"keydown",ke(a,Il)),Bt(Xe,"keypress",ke(a,ju)),Bt(Xe,"focus",function(at){return Bs(a,at)}),Bt(Xe,"blur",function(at){return Ss(a,at)})}var cu=[];Wi.defineInitHook=function(a){return cu.push(a)};function du(a,E,re,ne){var ie=a.doc,ye;re==null&&(re="add"),re=="smart"&&(ie.mode.indent?ye=gn(a,E).state:re="prev");var Be=a.options.tabSize,Xe=Wn(ie,E),at=wt(Xe.text,null,Be);Xe.stateAfter&&(Xe.stateAfter=null);var yt=Xe.text.match(/^\s*/)[0],cn;if(!ne&&!/\S/.test(Xe.text))cn=0,re="not";else if(re=="smart"&&(cn=ie.mode.indent(ye,Xe.text.slice(yt.length),Xe.text),cn==on||cn>150)){if(!ne)return;re="prev"}re=="prev"?E>ie.first?cn=wt(Wn(ie,E-1).text,null,Be):cn=0:re=="add"?cn=at+a.options.indentUnit:re=="subtract"?cn=at-a.options.indentUnit:typeof re=="number"&&(cn=at+re),cn=Math.max(0,cn);var En="",Vn=0;if(a.options.indentWithTabs)for(var Hn=Math.floor(cn/Be);Hn;--Hn)Vn+=Be,En+=" ";if(VnBe,at=or(E),yt=null;if(Xe&&ne.ranges.length>1)if(vs&&vs.text.join(` -`)==E){if(ne.ranges.length%vs.text.length==0){yt=[];for(var cn=0;cn=0;Vn--){var Hn=ne.ranges[Vn],Rr=Hn.from(),zr=Hn.to();Hn.empty()&&(re&&re>0?Rr=Mt(Rr.line,Rr.ch-re):a.state.overwrite&&!Xe?zr=Mt(zr.line,Math.min(Wn(ye,zr.line).text.length,zr.ch+Zt(at).length)):Xe&&vs&&vs.lineWise&&vs.text.join(` -`)==at.join(` -`)&&(Rr=zr=Mt(Rr.line,0)));var oe={from:Rr,to:zr,text:yt?yt[Vn%yt.length]:at,origin:ie||(Xe?"paste":a.state.cutIncoming>Be?"cut":"+input")};Cl(a.doc,oe),Ia(a,"inputRead",a,oe)}E&&!Xe&&qu(a,E),Lo(a),a.curOp.updateInput<2&&(a.curOp.updateInput=En),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Tu(a,E){var re=a.clipboardData&&a.clipboardData.getData("Text");if(re)return a.preventDefault(),!E.isReadOnly()&&!E.options.disableInput&&Ae(E,function(){return wu(E,re,0,null,"paste")}),!0}function qu(a,E){if(!(!a.options.electricChars||!a.options.smartIndent))for(var re=a.doc.sel,ne=re.ranges.length-1;ne>=0;ne--){var ie=re.ranges[ne];if(!(ie.head.ch>100||ne&&re.ranges[ne-1].head.line==ie.head.line)){var ye=a.getModeAt(ie.head),Be=!1;if(ye.electricChars){for(var Xe=0;Xe-1){Be=du(a,ie.head.line,"smart");break}}else ye.electricInput&&ye.electricInput.test(Wn(a.doc,ie.head.line).text.slice(0,ie.head.ch))&&(Be=du(a,ie.head.line,"smart"));Be&&Ia(a,"electricInput",a,ie.head.line)}}}function Ju(a){for(var E=[],re=[],ne=0;neye&&(du(this,Xe.head.line,ne,!0),ye=Xe.head.line,Be==this.doc.sel.primIndex&&Lo(this));else{var at=Xe.from(),yt=Xe.to(),cn=Math.max(ye,at.line);ye=Math.min(this.lastLine(),yt.line-(yt.ch?0:1))+1;for(var En=cn;En0&&xl(this.doc,Be,new x(at,Vn[Be].to()),it)}}}),getTokenAt:function(ne,ie){return nr(this,ne,ie)},getLineTokens:function(ne,ie){return nr(this,Mt(ne),ie,!0)},getTokenTypeAt:function(ne){ne=Ye(this.doc,ne);var ie=Nr(this,Wn(this.doc,ne.line)),ye=0,Be=(ie.length-1)/2,Xe=ne.ch,at;if(Xe==0)at=ie[2];else for(;;){var yt=ye+Be>>1;if((yt?ie[yt*2-1]:0)>=Xe)Be=yt;else if(ie[yt*2+1]at&&(ne=at,Be=!0),Xe=Wn(this.doc,ne)}else Xe=ne;return as(this,Xe,{top:0,left:0},ie||"page",ye||Be).top+(Be?this.doc.height-Ea(Xe):0)},defaultTextHeight:function(){return Ki(this.display)},defaultCharWidth:function(){return lo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ne,ie,ye,Be,Xe){var at=this.display;ne=Qi(this,Ye(this.doc,ne));var yt=ne.bottom,cn=ne.left;if(ie.style.position="absolute",ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ie),at.sizer.appendChild(ie),Be=="over")yt=ne.top;else if(Be=="above"||Be=="near"){var En=Math.max(at.wrapper.clientHeight,this.doc.height),Vn=Math.max(at.sizer.clientWidth,at.lineSpace.clientWidth);(Be=="above"||ne.bottom+ie.offsetHeight>En)&&ne.top>ie.offsetHeight?yt=ne.top-ie.offsetHeight:ne.bottom+ie.offsetHeight<=En&&(yt=ne.bottom),cn+ie.offsetWidth>Vn&&(cn=Vn-ie.offsetWidth)}ie.style.top=yt+"px",ie.style.left=ie.style.right="",Xe=="right"?(cn=at.sizer.clientWidth-ie.offsetWidth,ie.style.right="0px"):(Xe=="left"?cn=0:Xe=="middle"&&(cn=(at.sizer.clientWidth-ie.offsetWidth)/2),ie.style.left=cn+"px"),ye&&ml(this,{left:cn,top:yt,right:cn+ie.offsetWidth,bottom:yt+ie.offsetHeight})},triggerOnKeyDown:ze(Il),triggerOnKeyPress:ze(ju),triggerOnKeyUp:Ec,triggerOnMouseDown:ze(Wu),execCommand:function(ne){if(Yl.hasOwnProperty(ne))return Yl[ne].call(null,this)},triggerElectric:ze(function(ne){qu(this,ne)}),findPosH:function(ne,ie,ye,Be){var Xe=1;ie<0&&(Xe=-1,ie=-ie);for(var at=Ye(this.doc,ne),yt=0;yt0&&cn(ye.charAt(Be-1));)--Be;for(;Xe.5||this.options.lineWrapping)&&fl(this),Cn(this,"refresh",this)}),swapDoc:ze(function(ne){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),vl(this,ne),$o(this),this.display.input.reset(),ws(this,ne.scrollLeft,ne.scrollTop),this.curOp.forceScroll=!0,Ia(this,"swapDoc",this,ie),ie}),phrase:function(ne){var ie=this.options.phrases;return ie&&Object.prototype.hasOwnProperty.call(ie,ne)?ie[ne]:ne},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}},Lt(a),a.registerHelper=function(ne,ie,ye){re.hasOwnProperty(ne)||(re[ne]=a[ne]={_global:[]}),re[ne][ie]=ye},a.registerGlobalHelper=function(ne,ie,ye,Be){a.registerHelper(ne,ie,Be),re[ne]._global.push({pred:ye,val:Be})}}function Iu(a,E,re,ne,ie){var ye=E,Be=re,Xe=Wn(a,E.line),at=ie&&a.direction=="rtl"?-re:re;function yt(){var te=E.line+at;return te=a.first+a.size?!1:(E=new Mt(te,E.ch,E.sticky),Xe=Wn(a,te))}function cn(te){var ue;if(ne=="codepoint"){var Se=Xe.text.charCodeAt(E.ch+(ne>0?0:-1));isNaN(Se)?ue=null:ue=new Mt(E.line,Math.max(0,Math.min(Xe.text.length,E.ch+re*(Se>=55296&&Se<56320?2:1))),-re)}else ie?ue=mc(a.cm,Xe,E,re):ue=Eu(Xe,E,re);if(ue==null)if(!te&&yt())E=uu(ie,a.cm,Xe,E.line,at);else return!1;else E=ue;return!0}if(ne=="char"||ne=="codepoint")cn();else if(ne=="column")cn(!0);else if(ne=="word"||ne=="group")for(var En=null,Vn=ne=="group",Hn=a.cm&&a.cm.getHelper(E,"wordChars"),Rr=!0;!(re<0&&!cn(!Rr));Rr=!1){var zr=Xe.text.charAt(E.ch)||` -`,oe=Ue(zr,Hn)?"w":Vn&&zr==` -`?"n":!Vn||/\s/.test(zr)?null:"p";if(Vn&&!Rr&&!oe&&(oe="s"),En&&En!=oe){re<0&&(re=1,cn(),E.sticky="after");break}if(oe&&(En=oe),re>0&&!cn(!Rr))break}var z=Rs(a,E,ye,Be,!0);return lt(ye,z)&&(z.hitSide=!0),z}function Nc(a,E,re,ne){var ie=a.doc,ye=E.left,Be;if(ne=="page"){var Xe=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),at=Math.max(Xe-.5*Ki(a.display),3);Be=(re>0?E.bottom:E.top)+re*at}else ne=="line"&&(Be=re>0?E.bottom+3:E.top-3);for(var yt;yt=qi(a,ye,Be),!!yt.outside;){if(re<0?Be<=0:Be>=ie.height){yt.hitSide=!0;break}Be+=re*5}return yt}var Di=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new $e,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Di.prototype.init=function(a){var E=this,re=this,ne=re.cm,ie=re.div=a.lineDiv;Au(ie,ne.options.spellcheck,ne.options.autocorrect,ne.options.autocapitalize);function ye(Xe){for(var at=Xe.target;at;at=at.parentNode){if(at==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(at.className))break}return!1}Bt(ie,"paste",function(Xe){!ye(Xe)||sn(ne,Xe)||Tu(Xe,ne)||fe<=11&&setTimeout(ke(ne,function(){return E.updateFromDOM()}),20)}),Bt(ie,"compositionstart",function(Xe){E.composing={data:Xe.data,done:!1}}),Bt(ie,"compositionupdate",function(Xe){E.composing||(E.composing={data:Xe.data,done:!1})}),Bt(ie,"compositionend",function(Xe){E.composing&&(Xe.data!=E.composing.data&&E.readFromDOMSoon(),E.composing.done=!0)}),Bt(ie,"touchstart",function(){return re.forceCompositionEnd()}),Bt(ie,"input",function(){E.composing||E.readFromDOMSoon()});function Be(Xe){if(!(!ye(Xe)||sn(ne,Xe))){if(ne.somethingSelected())tu({lineWise:!1,text:ne.getSelections()}),Xe.type=="cut"&&ne.replaceSelection("",null,"cut");else if(ne.options.lineWiseCopyCut){var at=Ju(ne);tu({lineWise:!0,text:at.text}),Xe.type=="cut"&&ne.operation(function(){ne.setSelections(at.ranges,0,it),ne.replaceSelection("",null,"cut")})}else return;if(Xe.clipboardData){Xe.clipboardData.clearData();var yt=vs.text.join(` -`);if(Xe.clipboardData.setData("Text",yt),Xe.clipboardData.getData("Text")==yt){Xe.preventDefault();return}}var cn=ec(),En=cn.firstChild;ne.display.lineSpace.insertBefore(cn,ne.display.lineSpace.firstChild),En.value=vs.text.join(` -`);var Vn=document.activeElement;Nt(En),setTimeout(function(){ne.display.lineSpace.removeChild(cn),Vn.focus(),Vn==ie&&re.showPrimarySelection()},50)}}Bt(ie,"copy",Be),Bt(ie,"cut",Be)},Di.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Di.prototype.prepareSelection=function(){var a=rl(this.cm,!1);return a.focus=document.activeElement==this.div,a},Di.prototype.showSelection=function(a,E){!a||!this.cm.display.view.length||((a.focus||E)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Di.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Di.prototype.showPrimarySelection=function(){var a=this.getSelection(),E=this.cm,re=E.doc.sel.primary(),ne=re.from(),ie=re.to();if(E.display.viewTo==E.display.viewFrom||ne.line>=E.display.viewTo||ie.line=E.display.viewFrom&&tc(E,ne)||{node:Xe[0].measure.map[2],offset:0},yt=ie.linea.firstLine()&&(ne=Mt(ne.line-1,Wn(a.doc,ne.line-1).length)),ie.ch==Wn(a.doc,ie.line).text.length&&ie.lineE.viewTo-1)return!1;var ye,Be,Xe;ne.line==E.viewFrom||(ye=Co(a,ne.line))==0?(Be=Jt(E.view[0].line),Xe=E.view[0].node):(Be=Jt(E.view[ye].line),Xe=E.view[ye-1].node.nextSibling);var at=Co(a,ie.line),yt,cn;if(at==E.view.length-1?(yt=E.viewTo-1,cn=E.lineDiv.lastChild):(yt=Jt(E.view[at+1].line)-1,cn=E.view[at+1].node.previousSibling),!Xe)return!1;for(var En=a.doc.splitLines(Oc(a,Xe,cn,Be,yt)),Vn=ur(a.doc,Mt(Be,0),Mt(yt,Wn(a.doc,yt).text.length));En.length>1&&Vn.length>1;)if(Zt(En)==Zt(Vn))En.pop(),Vn.pop(),yt--;else if(En[0]==Vn[0])En.shift(),Vn.shift(),Be++;else break;for(var Hn=0,Rr=0,zr=En[0],oe=Vn[0],z=Math.min(zr.length,oe.length);Hnne.ch&&te.charCodeAt(te.length-Rr-1)==ue.charCodeAt(ue.length-Rr-1);)Hn--,Rr++;En[En.length-1]=te.slice(0,te.length-Rr).replace(/^\u200b+/,""),En[0]=En[0].slice(Hn).replace(/\u200b+$/,"");var Le=Mt(Be,Hn),qe=Mt(yt,Vn.length?Zt(Vn).length-Rr:0);if(En.length>1||En[0]||rn(Le,qe))return ul(a.doc,En,Le,qe,"+input"),!0},Di.prototype.ensurePolled=function(){this.forceCompositionEnd()},Di.prototype.reset=function(){this.forceCompositionEnd()},Di.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Di.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Di.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Ae(this.cm,function(){return Yi(a.cm)})},Di.prototype.setUneditable=function(a){a.contentEditable="false"},Di.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||ke(this.cm,wu)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Di.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Di.prototype.onContextMenu=function(){},Di.prototype.resetPosition=function(){},Di.prototype.needsContentAttribute=!0;function tc(a,E){var re=No(a,E.line);if(!re||re.hidden)return null;var ne=Wn(a.doc,E.line),ie=fs(re,ne,E.line),ye=fn(ne,a.doc.direction),Be="left";if(ye){var Xe=Ut(ye,E.ch);Be=Xe%2?"right":"left"}var at=qs(ie.map,E.ch,Be);return at.offset=at.collapse=="right"?at.end:at.start,at}function Rc(a){for(var E=a;E;E=E.parentNode)if(/CodeMirror-gutter-wrapper/.test(E.className))return!0;return!1}function nu(a,E){return E&&(a.bad=!0),a}function Oc(a,E,re,ne,ie){var ye="",Be=!1,Xe=a.doc.lineSeparator(),at=!1;function yt(Hn){return function(Rr){return Rr.id==Hn}}function cn(){Be&&(ye+=Xe,at&&(ye+=Xe),Be=at=!1)}function En(Hn){Hn&&(cn(),ye+=Hn)}function Vn(Hn){if(Hn.nodeType==1){var Rr=Hn.getAttribute("cm-text");if(Rr){En(Rr);return}var zr=Hn.getAttribute("cm-marker"),oe;if(zr){var z=a.findMarks(Mt(ne,0),Mt(ie+1,0),yt(+zr));z.length&&(oe=z[0].find(0))&&En(ur(a.doc,oe.from,oe.to).join(Xe));return}if(Hn.getAttribute("contenteditable")=="false")return;var te=/^(pre|div|p|li|table|br)$/i.test(Hn.nodeName);if(!/^br$/i.test(Hn.nodeName)&&Hn.textContent.length==0)return;te&&cn();for(var ue=0;ue=9&&E.hasSelection&&(E.hasSelection=null),re.poll()}),Bt(ie,"paste",function(Be){sn(ne,Be)||Tu(Be,ne)||(ne.state.pasteIncoming=+new Date,re.fastPoll())});function ye(Be){if(!sn(ne,Be)){if(ne.somethingSelected())tu({lineWise:!1,text:ne.getSelections()});else if(ne.options.lineWiseCopyCut){var Xe=Ju(ne);tu({lineWise:!0,text:Xe.text}),Be.type=="cut"?ne.setSelections(Xe.ranges,null,it):(re.prevInput="",ie.value=Xe.text.join(` -`),Nt(ie))}else return;Be.type=="cut"&&(ne.state.cutIncoming=+new Date)}}Bt(ie,"cut",ye),Bt(ie,"copy",ye),Bt(a.scroller,"paste",function(Be){if(!(Ai(a,Be)||sn(ne,Be))){if(!ie.dispatchEvent){ne.state.pasteIncoming=+new Date,re.focus();return}var Xe=new Event("paste");Xe.clipboardData=Be.clipboardData,ie.dispatchEvent(Xe)}}),Bt(a.lineSpace,"selectstart",function(Be){Ai(a,Be)||qt(Be)}),Bt(ie,"compositionstart",function(){var Be=ne.getCursor("from");re.composing&&re.composing.range.clear(),re.composing={start:Be,range:ne.markText(Be,ne.getCursor("to"),{className:"CodeMirror-composing"})}}),Bt(ie,"compositionend",function(){re.composing&&(re.poll(),re.composing.range.clear(),re.composing=null)})},to.prototype.createField=function(a){this.wrapper=ec(),this.textarea=this.wrapper.firstChild},to.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},to.prototype.prepareSelection=function(){var a=this.cm,E=a.display,re=a.doc,ne=rl(a);if(a.options.moveInputWithCursor){var ie=Qi(a,re.sel.primary().head,"div"),ye=E.wrapper.getBoundingClientRect(),Be=E.lineDiv.getBoundingClientRect();ne.teTop=Math.max(0,Math.min(E.wrapper.clientHeight-10,ie.top+Be.top-ye.top)),ne.teLeft=Math.max(0,Math.min(E.wrapper.clientWidth-10,ie.left+Be.left-ye.left))}return ne},to.prototype.showSelection=function(a){var E=this.cm,re=E.display;rt(re.cursorDiv,a.cursors),rt(re.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},to.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var E=this.cm;if(E.somethingSelected()){this.prevInput="";var re=E.getSelection();this.textarea.value=re,E.state.focused&&Nt(this.textarea),be&&fe>=9&&(this.hasSelection=re)}else a||(this.prevInput=this.textarea.value="",be&&fe>=9&&(this.hasSelection=null))}},to.prototype.getField=function(){return this.textarea},to.prototype.supportsTouch=function(){return!1},to.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Je||_t()!=this.textarea))try{this.textarea.focus()}catch(a){}},to.prototype.blur=function(){this.textarea.blur()},to.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},to.prototype.receivedFocus=function(){this.slowPoll()},to.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},to.prototype.fastPoll=function(){var a=!1,E=this;E.pollingFast=!0;function re(){var ne=E.poll();!ne&&!a?(a=!0,E.polling.set(60,re)):(E.pollingFast=!1,E.slowPoll())}E.polling.set(20,re)},to.prototype.poll=function(){var a=this,E=this.cm,re=this.textarea,ne=this.prevInput;if(this.contextMenuPending||!E.state.focused||wr(re)&&!ne&&!this.composing||E.isReadOnly()||E.options.disableInput||E.state.keySeq)return!1;var ie=re.value;if(ie==ne&&!E.somethingSelected())return!1;if(be&&fe>=9&&this.hasSelection===ie||Ge&&/[\uf700-\uf7ff]/.test(ie))return E.display.input.reset(),!1;if(E.doc.sel==E.display.selForContextMenu){var ye=ie.charCodeAt(0);if(ye==8203&&!ne&&(ne="\u200B"),ye==8666)return this.reset(),this.cm.execCommand("undo")}for(var Be=0,Xe=Math.min(ne.length,ie.length);Be1e3||ie.indexOf(` -`)>-1?re.value=a.prevInput="":a.prevInput=ie,a.composing&&(a.composing.range.clear(),a.composing.range=E.markText(a.composing.start,E.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},to.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},to.prototype.onKeyPress=function(){be&&fe>=9&&(this.hasSelection=null),this.fastPoll()},to.prototype.onContextMenu=function(a){var E=this,re=E.cm,ne=re.display,ie=E.textarea;E.contextMenuPending&&E.contextMenuPending();var ye=Yo(re,a),Be=ne.scroller.scrollTop;if(!ye||xe)return;var Xe=re.options.resetSelectionOnContextMenu;Xe&&re.doc.sel.contains(ye)==-1&&ke(re,Wa)(re.doc,Ne(ye),it);var at=ie.style.cssText,yt=E.wrapper.style.cssText,cn=E.wrapper.offsetParent.getBoundingClientRect();E.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px; - top: `+(a.clientY-cn.top-5)+"px; left: "+(a.clientX-cn.left-5)+`px; +`,E);ie==-1&&(ie=a.length);var ye=a.slice(E,a.charAt(ie-1)=="\r"?ie-1:ie),Be=ye.indexOf("\r");Be!=-1?(re.push(ye.slice(0,Be)),E+=Be+1):(re.push(ye),E=ie+1)}return re}:function(a){return a.split(/\r\n?|\n/)},Er=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(E){return!1}}:function(a){var E;try{E=a.ownerDocument.selection.createRange()}catch(re){}return!E||E.parentElement()!=a?!1:E.compareEndPoints("StartToEnd",E)!=0},wt=function(){var a=Nt("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Qn=null;function lr(a){if(Qn!=null)return Qn;var E=it(a,Nt("span","x")),re=E.getBoundingClientRect(),ne=dt(E,0,1).getBoundingClientRect();return Qn=Math.abs(re.left-ne.left)>1}var cr={},Yn={};function Sr(a,E){arguments.length>2&&(E.dependencies=Array.prototype.slice.call(arguments,2)),cr[a]=E}function br(a,E){Yn[a]=E}function Nr(a){if(typeof a=="string"&&Yn.hasOwnProperty(a))a=Yn[a];else if(a&&typeof a.name=="string"&&Yn.hasOwnProperty(a.name)){var E=Yn[a.name];typeof E=="string"&&(E={name:E}),a=he(E,a),a.name=E.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return Nr("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return Nr("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function Jr(a,E){E=Nr(E);var re=cr[E.name];if(!re)return Jr(a,"text/plain");var ne=re(a,E);if($r.hasOwnProperty(E.name)){var ie=$r[E.name];for(var ye in ie)ie.hasOwnProperty(ye)&&(ne.hasOwnProperty(ye)&&(ne["_"+ye]=ne[ye]),ne[ye]=ie[ye])}if(ne.name=E.name,E.helperType&&(ne.helperType=E.helperType),E.modeProps)for(var Be in E.modeProps)ne[Be]=E.modeProps[Be];return ne}var $r={};function Ur(a,E){var re=$r.hasOwnProperty(a)?$r[a]:$r[a]={};Tn(E,re)}function aa(a,E){if(E===!0)return E;if(a.copyState)return a.copyState(E);var re={};for(var ne in E){var ie=E[ne];ie instanceof Array&&(ie=ie.concat([])),re[ne]=ie}return re}function Hr(a,E){for(var re;a.innerMode&&(re=a.innerMode(E),!(!re||re.mode==a));)E=re.state,a=re.mode;return re||{mode:a,state:E}}function pa(a,E,re){return a.startState?a.startState(E,re):!0}var ea=function(a,E,re){this.pos=this.start=0,this.string=a,this.tabSize=E||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=re};ea.prototype.eol=function(){return this.pos>=this.string.length},ea.prototype.sol=function(){return this.pos==this.lineStart},ea.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},ea.prototype.next=function(){if(this.posE},ea.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},ea.prototype.skipToEnd=function(){this.pos=this.string.length},ea.prototype.skipTo=function(a){var E=this.string.indexOf(a,this.pos);if(E>-1)return this.pos=E,!0},ea.prototype.backUp=function(a){this.pos-=a},ea.prototype.column=function(){return this.lastColumnPos0?null:(ye&&E!==!1&&(this.pos+=ye[0].length),ye)}},ea.prototype.current=function(){return this.string.slice(this.start,this.pos)},ea.prototype.hideFirstChars=function(a,E){this.lineStart+=a;try{return E()}finally{this.lineStart-=a}},ea.prototype.lookAhead=function(a){var E=this.lineOracle;return E&&E.lookAhead(a)},ea.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function jn(a,E){if(E-=a.first,E<0||E>=a.size)throw new Error("There is no line "+(E+a.first)+" in the document.");for(var re=a;!re.lines;)for(var ne=0;;++ne){var ie=re.children[ne],ye=ie.chunkSize();if(E=a.first&&Ere?He(re,jn(a,re).text.length):nn(E,jn(a,E.line).text.length)}function nn(a,E){var re=a.ch;return re==null||re>E?He(a.line,E):re<0?He(a.line,0):a}function rt(a,E){for(var re=[],ne=0;nethis.maxLookAhead&&(this.maxLookAhead=a),E},Bt.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var E=this.baseTokens[this.baseTokenPos+1];return{type:E&&E.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Bt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Bt.fromSaved=function(a,E,re){return E instanceof Jn?new Bt(a,aa(a.mode,E.state),re,E.lookAhead):new Bt(a,aa(a.mode,E),re)},Bt.prototype.save=function(a){var E=a!==!1?aa(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Jn(E,this.maxLookAhead):E};function rr(a,E,re,ne){var ie=[a.state.modeGen],ye={};pr(a,E.text,a.doc.mode,re,function(xt,dn){return ie.push(xt,dn)},ye,ne);for(var Be=re.state,Ke=function(xt){re.baseTokens=ie;var dn=a.state.overlays[xt],yn=1,Wn=0;re.state=!0,pr(a,E.text,dn.mode,re,function(Un,Ir){for(var Fr=yn;WnUn&&ie.splice(yn,1,Un,ie[yn+1],oe),yn+=2,Wn=Math.min(Un,oe)}if(Ir)if(dn.opaque)ie.splice(Fr,yn-Fr,Un,"overlay "+Ir),yn=Fr+2;else for(;Fra.options.maxHighlightLength&&aa(a.doc.mode,ne.state),ye=rr(a,E,ne);ie&&(ne.state=ie),E.stateAfter=ne.save(!ie),E.styles=ye.styles,ye.classes?E.styleClasses=ye.classes:E.styleClasses&&(E.styleClasses=null),re===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return E.styles}function Sn(a,E,re){var ne=a.doc,ie=a.display;if(!ne.mode.startState)return new Bt(ne,!0,E);var ye=Zn(a,E,re),Be=ye>ne.first&&jn(ne,ye-1).stateAfter,Ke=Be?Bt.fromSaved(ne,Be,ye):new Bt(ne,pa(ne.mode),ye);return ne.iter(ye,E,function(ot){rn(a,ot.text,Ke);var xt=Ke.line;ot.stateAfter=xt==E-1||xt%5==0||xt>=ie.viewFrom&&xtE.start)return ye}throw new Error("Mode "+a.name+" failed to advance stream.")}var zn=function(a,E,re){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=E||null,this.state=re};function tr(a,E,re,ne){var ie=a.doc,ye=ie.mode,Be;E=Kt(ie,E);var Ke=jn(ie,E.line),ot=Sn(a,E.line,re),xt=new ea(Ke.text,a.options.tabSize,ot),dn;for(ne&&(dn=[]);(ne||xt.posa.options.maxHighlightLength?(Ke=!1,Be&&rn(a,E,ne,dn.pos),dn.pos=E.length,yn=null):yn=wr(Pn(re,dn,ne.state,Wn),ye),Wn){var Un=Wn[0].name;Un&&(yn="m-"+(yn?Un+" "+yn:Un))}if(!Ke||xt!=yn){for(;otBe;--Ke){if(Ke<=ye.first)return ye.first;var ot=jn(ye,Ke-1),xt=ot.stateAfter;if(xt&&(!re||Ke+(xt instanceof Jn?xt.lookAhead:0)<=ye.modeFrontier))return Ke;var dn=Tt(ot.text,null,a.options.tabSize);(ie==null||ne>dn)&&(ie=Ke-1,ne=dn)}return ie}function Kn(a,E){if(a.modeFrontier=Math.min(a.modeFrontier,E),!(a.highlightFrontierre;ne--){var ie=jn(a,ne).stateAfter;if(ie&&(!(ie instanceof Jn)||ne+ie.lookAhead=E:ye.to>E);(ne||(ne=[])).push(new Zr(Be,ye.from,ot?null:ye.to))}}return ne}function _r(a,E,re){var ne;if(a)for(var ie=0;ie=E:ye.to>E);if(Ke||ye.from==E&&Be.type=="bookmark"&&(!re||ye.marker.insertLeft)){var ot=ye.from==null||(Be.inclusiveLeft?ye.from<=E:ye.from0&&Ke)for(var Ee=0;Ee0)){var dn=[ot,1],yn=Vt(xt.from,Ke.from),Wn=Vt(xt.to,Ke.to);(yn<0||!Be.inclusiveLeft&&!yn)&&dn.push({from:xt.from,to:Ke.from}),(Wn>0||!Be.inclusiveRight&&!Wn)&&dn.push({from:Ke.to,to:xt.to}),ie.splice.apply(ie,dn),ot+=dn.length-3}}return ie}function ia(a){var E=a.markedSpans;if(E){for(var re=0;reE)&&(!ne||Br(ne,ye.marker)<0)&&(ne=ye.marker)}return ne}function or(a,E,re,ne,ie){var ye=jn(a,E),Be=dr&&ye.markedSpans;if(Be)for(var Ke=0;Ke=0&&yn<=0||dn<=0&&yn>=0)&&(dn<=0&&(ot.marker.inclusiveRight&&ie.inclusiveLeft?Vt(xt.to,re)>=0:Vt(xt.to,re)>0)||dn>=0&&(ot.marker.inclusiveRight&&ie.inclusiveLeft?Vt(xt.from,ne)<=0:Vt(xt.from,ne)<0)))return!0}}}function er(a){for(var E;E=Vr(a);)a=E.find(-1,!0).line;return a}function Dr(a){for(var E;E=qn(a);)a=E.find(1,!0).line;return a}function Ar(a){for(var E,re;E=qn(a);)a=E.find(1,!0).line,(re||(re=[])).push(a);return re}function ur(a,E){var re=jn(a,E),ne=er(re);return re==ne?E:ve(ne)}function nr(a,E){if(E>a.lastLine())return E;var re=jn(a,E),ne;if(!xr(a,re))return E;for(;ne=qn(re);)re=ne.find(1,!0).line;return ve(re)+1}function xr(a,E){var re=dr&&E.markedSpans;if(re){for(var ne=void 0,ie=0;ieE.maxLineLength&&(E.maxLineLength=ie,E.maxLine=ne)})}var Ma=function(a,E,re){this.text=a,ra(this,E),this.height=re?re(this):1};Ma.prototype.lineNo=function(){return ve(this)},kt(Ma);function _a(a,E,re,ne){a.text=E,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),ia(a),ra(a,re);var ie=ne?ne(a):1;ie!=a.height&&zr(a,ie)}function Na(a){a.parent=null,ia(a)}var Ha={},Da={};function ja(a,E){if(!a||/^\s*$/.test(a))return null;var re=E.addModeClass?Da:Ha;return re[a]||(re[a]=a.replace(/\S+/g,"cm-$&"))}function Gr(a,E){var re=vt("span",null,null,we?"padding-right: .1px":null),ne={pre:vt("pre",[re],"CodeMirror-line"),content:re,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};E.measure={};for(var ie=0;ie<=(E.rest?E.rest.length:0);ie++){var ye=ie?E.rest[ie-1]:E.line,Be=void 0;ne.pos=0,ne.addToken=wi,yr(a.display.measure)&&(Be=pn(ye,a.doc.direction))&&(ne.addToken=li(ne.addToken,Be)),ne.map=[];var Ke=E!=a.display.externalMeasured&&ve(ye);Ua(ye,ne,Pr(a,ye,Ke)),ye.styleClasses&&(ye.styleClasses.bgClass&&(ne.bgClass=Jt(ye.styleClasses.bgClass,ne.bgClass||"")),ye.styleClasses.textClass&&(ne.textClass=Jt(ye.styleClasses.textClass,ne.textClass||""))),ne.map.length==0&&ne.map.push(0,0,ne.content.appendChild(mn(a.display.measure))),ie==0?(E.measure.map=ne.map,E.measure.cache={}):((E.measure.maps||(E.measure.maps=[])).push(ne.map),(E.measure.caches||(E.measure.caches=[])).push({}))}if(we){var ot=ne.content.lastChild;(/\bcm-tab\b/.test(ot.className)||ot.querySelector&&ot.querySelector(".cm-tab"))&&(ne.content.className="cm-tab-wrap-hack")}return wn(a,"renderLine",a,E.line,ne.pre),ne.pre.className&&(ne.textClass=Jt(ne.pre.className,ne.textClass||"")),ne}function bi(a){var E=Nt("span","\u2022","cm-invalidchar");return E.title="\\u"+a.charCodeAt(0).toString(16),E.setAttribute("aria-label",E.title),E}function wi(a,E,re,ne,ie,ye,Be){if(E){var Ke=a.splitSpaces?Pa(E,a.trailingSpace):E,ot=a.cm.state.specialChars,xt=!1,dn;if(!ot.test(E))a.col+=E.length,dn=document.createTextNode(Ke),a.map.push(a.pos,a.pos+E.length,dn),be&&fe<9&&(xt=!0),a.pos+=E.length;else{dn=document.createDocumentFragment();for(var yn=0;;){ot.lastIndex=yn;var Wn=ot.exec(E),Un=Wn?Wn.index-yn:E.length-yn;if(Un){var Ir=document.createTextNode(Ke.slice(yn,yn+Un));be&&fe<9?dn.appendChild(Nt("span",[Ir])):dn.appendChild(Ir),a.map.push(a.pos,a.pos+Un,Ir),a.col+=Un,a.pos+=Un}if(!Wn)break;yn+=Un+1;var Fr=void 0;if(Wn[0]==" "){var oe=a.cm.options.tabSize,z=oe-a.col%oe;Fr=dn.appendChild(Nt("span",En(z),"cm-tab")),Fr.setAttribute("role","presentation"),Fr.setAttribute("cm-text"," "),a.col+=z}else Wn[0]=="\r"||Wn[0]==` +`?(Fr=dn.appendChild(Nt("span",Wn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Fr.setAttribute("cm-text",Wn[0]),a.col+=1):(Fr=a.cm.options.specialCharPlaceholder(Wn[0]),Fr.setAttribute("cm-text",Wn[0]),be&&fe<9?dn.appendChild(Nt("span",[Fr])):dn.appendChild(Fr),a.col+=1);a.map.push(a.pos,a.pos+1,Fr),a.pos++}}if(a.trailingSpace=Ke.charCodeAt(E.length-1)==32,re||ne||ie||xt||ye||Be){var te=re||"";ne&&(te+=ne),ie&&(te+=ie);var ue=Nt("span",[dn],te,ye);if(Be)for(var Ee in Be)Be.hasOwnProperty(Ee)&&Ee!="style"&&Ee!="class"&&ue.setAttribute(Ee,Be[Ee]);return a.content.appendChild(ue)}a.content.appendChild(dn)}}function Pa(a,E){if(a.length>1&&!/ /.test(a))return a;for(var re=E,ne="",ie=0;iext&&yn.from<=xt));Wn++);if(yn.to>=dn)return a(re,ne,ie,ye,Be,Ke,ot);a(re,ne.slice(0,yn.to-xt),ie,ye,null,Ke,ot),ye=null,ne=ne.slice(yn.to-xt),xt=yn.to}}}function fi(a,E,re,ne){var ie=!ne&&re.widgetNode;ie&&a.map.push(a.pos,a.pos+E,ie),!ne&&a.cm.display.input.needsContentAttribute&&(ie||(ie=a.content.appendChild(document.createElement("span"))),ie.setAttribute("cm-marker",re.id)),ie&&(a.cm.display.input.setUneditable(ie),a.content.appendChild(ie)),a.pos+=E,a.trailingSpace=!1}function Ua(a,E,re){var ne=a.markedSpans,ie=a.text,ye=0;if(!ne){for(var Be=1;Beot||lt.collapsed&&Xe.to==ot&&Xe.from==ot)){if(Xe.to!=null&&Xe.to!=ot&&Un>Xe.to&&(Un=Xe.to,Fr=""),lt.className&&(Ir+=" "+lt.className),lt.css&&(Wn=(Wn?Wn+";":"")+lt.css),lt.startStyle&&Xe.from==ot&&(oe+=" "+lt.startStyle),lt.endStyle&&Xe.to==Un&&(Ee||(Ee=[])).push(lt.endStyle,Xe.to),lt.title&&((te||(te={})).title=lt.title),lt.attributes)for(var ht in lt.attributes)(te||(te={}))[ht]=lt.attributes[ht];lt.collapsed&&(!z||Br(z.marker,lt)<0)&&(z=Xe)}else Xe.from>ot&&Un>Xe.from&&(Un=Xe.from)}if(Ee)for(var zt=0;zt=Ke)break;for(var An=Math.min(Ke,Un);;){if(dn){var Fn=ot+dn.length;if(!z){var Hn=Fn>An?dn.slice(0,An-ot):dn;E.addToken(E,Hn,yn?yn+Ir:Ir,oe,ot+Hn.length==Un?Fr:"",Wn,te)}if(Fn>=An){dn=dn.slice(An-ot),ot=An;break}ot=Fn,oe=""}dn=ie.slice(ye,ye=re[xt++]),yn=ja(re[xt++],E.cm.options)}}}function Ni(a,E,re){this.line=E,this.rest=Ar(E),this.size=this.rest?ve(Ht(this.rest))-re+1:1,this.node=this.text=null,this.hidden=xr(a,E)}function Va(a,E,re){for(var ne=[],ie,ye=E;ye2&&ye.push((ot.bottom+xt.top)/2-re.top)}}ye.push(re.bottom-re.top)}}function Ts(a,E,re){if(a.line==E)return{map:a.measure.map,cache:a.measure.cache};for(var ne=0;nere)return{map:a.measure.maps[ie],cache:a.measure.caches[ie],before:!0}}function dl(a,E){E=er(E);var re=ve(E),ne=a.display.externalMeasured=new Ni(a.doc,E,re);ne.lineN=re;var ie=ne.built=Gr(a,ne);return ne.text=ie.pre,it(a.display.lineMeasure,ie.pre),ne}function Js(a,E,re,ne){return wo(a,Hi(a,E),re,ne)}function mo(a,E){if(E>=a.display.viewFrom&&E=re.lineN&&EE)&&(ye=ot-Ke,ie=ye-1,E>=ot&&(Be="right")),ie!=null){if(ne=a[xt+2],Ke==ot&&re==(ne.insertLeft?"left":"right")&&(Be=re),re=="left"&&ie==0)for(;xt&&a[xt-2]==a[xt-3]&&a[xt-1].insertLeft;)ne=a[(xt-=3)+2],Be="left";if(re=="right"&&ie==ot-Ke)for(;xt=0&&(re=a[ie]).left==re.right;ie--);return re}function hs(a,E,re,ne){var ie=el(E.map,re,ne),ye=ie.node,Be=ie.start,Ke=ie.end,ot=ie.collapse,xt;if(ye.nodeType==3){for(var dn=0;dn<4;dn++){for(;Be&&ct(E.line.text.charAt(ie.coverStart+Be));)--Be;for(;ie.coverStart+Ke0&&(ot=ne="right");var yn;a.options.lineWrapping&&(yn=ye.getClientRects()).length>1?xt=yn[ne=="right"?yn.length-1:0]:xt=ye.getBoundingClientRect()}if(be&&fe<9&&!Be&&(!xt||!xt.left&&!xt.right)){var Wn=ye.parentNode.getClientRects()[0];Wn?xt={left:Wn.left,right:Wn.left+Eo(a.display),top:Wn.top,bottom:Wn.bottom}:xt=ps}for(var Un=xt.top-E.rect.top,Ir=xt.bottom-E.rect.top,Fr=(Un+Ir)/2,oe=E.view.measure.heights,z=0;z=ne.text.length?(ot=ne.text.length,xt="before"):ot<=0&&(ot=0,xt="after"),!Ke)return Be(xt=="before"?ot-1:ot,xt=="before");function dn(Ir,Fr,oe){var z=Ke[Fr],te=z.level==1;return Be(oe?Ir-1:Ir,te!=oe)}var yn=Pt(Ke,ot,xt),Wn=Dt,Un=dn(ot,yn,xt=="before");return Wn!=null&&(Un.other=dn(ot,Wn,xt!="before")),Un}function mi(a,E){var re=0;E=Kt(a.doc,E),a.options.lineWrapping||(re=Eo(a.display)*E.ch);var ne=jn(a.doc,E.line),ie=ba(ne)+zi(a.display);return{left:re,right:re,top:ie,bottom:ie+ne.height}}function ei(a,E,re,ne,ie){var ye=He(a,E,re);return ye.xRel=ie,ne&&(ye.outside=ne),ye}function eo(a,E,re){var ne=a.doc;if(re+=a.display.viewOffset,re<0)return ei(ne.first,0,null,-1,-1);var ie=Ie(ne,re),ye=ne.first+ne.size-1;if(ie>ye)return ei(ne.first+ne.size-1,jn(ne,ye).text.length,null,1,1);E<0&&(E=0);for(var Be=jn(ne,ie);;){var Ke=vo(a,Be,ie,E,re),ot=hr(Be,Ke.ch+(Ke.xRel>0||Ke.outside>0?1:0));if(!ot)return Ke;var xt=ot.find(1);if(xt.line==ie)return xt;Be=jn(ne,ie=xt.line)}}function to(a,E,re,ne){ne-=Yo(E);var ie=E.text.length,ye=gt(function(Be){return wo(a,re,Be-1).bottom<=ne},ie,0);return ie=gt(function(Be){return wo(a,re,Be).top>ne},ye,ie),{begin:ye,end:ie}}function ji(a,E,re,ne){re||(re=Hi(a,E));var ie=zo(a,E,wo(a,re,ne),"line").top;return to(a,E,re,ie)}function _i(a,E,re,ne){return a.bottom<=re?!1:a.top>re?!0:(ne?a.left:a.right)>E}function vo(a,E,re,ne,ie){ie-=ba(E);var ye=Hi(a,E),Be=Yo(E),Ke=0,ot=E.text.length,xt=!0,dn=pn(E,a.doc.direction);if(dn){var yn=(a.options.lineWrapping?go:To)(a,E,re,ye,dn,ne,ie);xt=yn.level!=1,Ke=xt?yn.from:yn.to-1,ot=xt?yn.to:yn.from-1}var Wn=null,Un=null,Ir=gt(function(Me){var Xe=wo(a,ye,Me);return Xe.top+=Be,Xe.bottom+=Be,_i(Xe,ne,ie,!1)?(Xe.top<=ie&&Xe.left<=ne&&(Wn=Me,Un=Xe),!0):!1},Ke,ot),Fr,oe,z=!1;if(Un){var te=ne-Un.left=Ee.bottom?1:0}return Ir=$t(E.text,Ir,1),ei(re,Ir,oe,z,ne-Fr)}function To(a,E,re,ne,ie,ye,Be){var Ke=gt(function(yn){var Wn=ie[yn],Un=Wn.level!=1;return _i(Xi(a,He(re,Un?Wn.to:Wn.from,Un?"before":"after"),"line",E,ne),ye,Be,!0)},0,ie.length-1),ot=ie[Ke];if(Ke>0){var xt=ot.level!=1,dn=Xi(a,He(re,xt?ot.from:ot.to,xt?"after":"before"),"line",E,ne);_i(dn,ye,Be,!0)&&dn.top>Be&&(ot=ie[Ke-1])}return ot}function go(a,E,re,ne,ie,ye,Be){var Ke=to(a,E,ne,Be),ot=Ke.begin,xt=Ke.end;/\s/.test(E.text.charAt(xt-1))&&xt--;for(var dn=null,yn=null,Wn=0;Wn=xt||Un.to<=ot)){var Ir=Un.level!=1,Fr=wo(a,ne,Ir?Math.min(xt,Un.to)-1:Math.max(ot,Un.from)).right,oe=Froe)&&(dn=Un,yn=oe)}}return dn||(dn=ie[ie.length-1]),dn.fromxt&&(dn={from:dn.from,to:xt,level:dn.level}),dn}var Wi;function $i(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Wi==null){Wi=Nt("pre",null,"CodeMirror-line-like");for(var E=0;E<49;++E)Wi.appendChild(document.createTextNode("x")),Wi.appendChild(Nt("br"));Wi.appendChild(document.createTextNode("x"))}it(a.measure,Wi);var re=Wi.offsetHeight/50;return re>3&&(a.cachedTextHeight=re),bt(a.measure),re||1}function Eo(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var E=Nt("span","xxxxxxxxxx"),re=Nt("pre",[E],"CodeMirror-line-like");it(a.measure,re);var ne=E.getBoundingClientRect(),ie=(ne.right-ne.left)/10;return ie>2&&(a.cachedCharWidth=ie),ie||10}function Xo(a){for(var E=a.display,re={},ne={},ie=E.gutters.clientLeft,ye=E.gutters.firstChild,Be=0;ye;ye=ye.nextSibling,++Be){var Ke=a.display.gutterSpecs[Be].className;re[Ke]=ye.offsetLeft+ye.clientLeft+ie,ne[Ke]=ye.clientWidth}return{fixedPos:is(E),gutterTotalWidth:E.gutters.offsetWidth,gutterLeft:re,gutterWidth:ne,wrapperWidth:E.wrapper.clientWidth}}function is(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function Fs(a){var E=$i(a.display),re=a.options.lineWrapping,ne=re&&Math.max(5,a.display.scroller.clientWidth/Eo(a.display)-3);return function(ie){if(xr(a.doc,ie))return 0;var ye=0;if(ie.widgets)for(var Be=0;Be0&&(xt=jn(a.doc,ot.line).text).length==ot.ch){var dn=Tt(xt,xt.length,a.options.tabSize)-xt.length;ot=He(ot.line,Math.max(0,Math.round((ye-No(a.display).left)/Eo(a.display))-dn))}return ot}function So(a,E){if(E>=a.display.viewTo||(E-=a.display.viewFrom,E<0))return null;for(var re=a.display.view,ne=0;neE)&&(ie.updateLineNumbers=E),a.curOp.viewChanged=!0,E>=ie.viewTo)dr&&ur(a.doc,E)ie.viewFrom?Oo(a):(ie.viewFrom+=ne,ie.viewTo+=ne);else if(E<=ie.viewFrom&&re>=ie.viewTo)Oo(a);else if(E<=ie.viewFrom){var ye=lo(a,re,re+ne,1);ye?(ie.view=ie.view.slice(ye.index),ie.viewFrom=ye.lineN,ie.viewTo+=ne):Oo(a)}else if(re>=ie.viewTo){var Be=lo(a,E,E,-1);Be?(ie.view=ie.view.slice(0,Be.index),ie.viewTo=Be.lineN):Oo(a)}else{var Ke=lo(a,E,E,-1),ot=lo(a,re,re+ne,1);Ke&&ot?(ie.view=ie.view.slice(0,Ke.index).concat(Va(a,Ke.lineN,ot.lineN)).concat(ie.view.slice(ot.index)),ie.viewTo+=ne):Oo(a)}var xt=ie.externalMeasured;xt&&(re=ie.lineN&&E=ne.viewTo)){var ye=ne.view[So(a,E)];if(ye.node!=null){var Be=ye.changes||(ye.changes=[]);Se(Be,re)==-1&&Be.push(re)}}}function Oo(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function lo(a,E,re,ne){var ie=So(a,E),ye,Be=a.display.view;if(!dr||re==a.doc.first+a.doc.size)return{index:ie,lineN:re};for(var Ke=a.display.viewFrom,ot=0;ot0){if(ie==Be.length-1)return null;ye=Ke+Be[ie].size-E,ie++}else ye=Ke-E;E+=ye,re+=ye}for(;ur(a.doc,re)!=re;){if(ie==(ne<0?0:Be.length-1))return null;re+=ne*Be[ie-(ne<0?1:0)].size,ie+=ne}return{index:ie,lineN:re}}function Rs(a,E,re){var ne=a.display,ie=ne.view;ie.length==0||E>=ne.viewTo||re<=ne.viewFrom?(ne.view=Va(a,E,re),ne.viewFrom=E):(ne.viewFrom>E?ne.view=Va(a,E,ne.viewFrom).concat(ne.view):ne.viewFromre&&(ne.view=ne.view.slice(0,So(a,re)))),ne.viewTo=re}function Us(a){for(var E=a.display.view,re=0,ne=0;ne=a.display.viewTo||Ke.to().line0?E.blinker=setInterval(function(){a.hasFocus()||bs(a),E.cursorDiv.style.visibility=(re=!re)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(E.cursorDiv.style.visibility="hidden")}}function fl(a){a.state.focused||(a.display.input.focus(),al(a))}function rl(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,bs(a))},100)}function al(a,E){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(wn(a,"focus",a,E),a.state.focused=!0,qe(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),we&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),vs(a))}function bs(a,E){a.state.delayingBlurEvent||(a.state.focused&&(wn(a,"blur",a,E),a.state.focused=!1,nt(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function ys(a){for(var E=a.display,re=E.lineDiv.offsetTop,ne=0;ne.005||dn<-.005)&&(zr(ie.line,Be),Es(ie.line),ie.rest))for(var yn=0;yna.display.sizerWidth){var Wn=Math.ceil(Ke/Eo(a.display));Wn>a.display.maxLineLength&&(a.display.maxLineLength=Wn,a.display.maxLine=ie.line,a.display.maxLineChanged=!0)}}}}function Es(a){if(a.widgets)for(var E=0;E=Be&&(ye=Ie(E,ba(jn(E,ot))-a.wrapper.clientHeight),Be=ot)}return{from:ye,to:Math.max(Be,ye+1)}}function Hs(a,E){if(!ln(a,"scrollCursorIntoView")){var re=a.display,ne=re.sizer.getBoundingClientRect(),ie=null;if(E.top+ne.top<0?ie=!0:E.bottom+ne.top>(window.innerHeight||document.documentElement.clientHeight)&&(ie=!1),ie!=null&&!At){var ye=Nt("div","\u200B",null,`position: absolute; + top: `+(E.top-re.viewOffset-zi(a.display))+`px; + height: `+(E.bottom-E.top+so(a)+re.barHeight)+`px; + left: `+E.left+"px; width: "+Math.max(2,E.right-E.left)+"px;");a.display.lineSpace.appendChild(ye),ye.scrollIntoView(ie),a.display.lineSpace.removeChild(ye)}}}function pl(a,E,re,ne){ne==null&&(ne=0);var ie;!a.options.lineWrapping&&E==re&&(E=E.ch?He(E.line,E.sticky=="before"?E.ch-1:E.ch,"after"):E,re=E.sticky=="before"?He(E.line,E.ch+1,"before"):E);for(var ye=0;ye<5;ye++){var Be=!1,Ke=Xi(a,E),ot=!re||re==E?Ke:Xi(a,re);ie={left:Math.min(Ke.left,ot.left),top:Math.min(Ke.top,ot.top)-ne,right:Math.max(Ke.left,ot.left),bottom:Math.max(Ke.bottom,ot.bottom)+ne};var xt=ks(a,ie),dn=a.doc.scrollTop,yn=a.doc.scrollLeft;if(xt.scrollTop!=null&&(jt(a,xt.scrollTop),Math.abs(a.doc.scrollTop-dn)>1&&(Be=!0)),xt.scrollLeft!=null&&(Vi(a,xt.scrollLeft),Math.abs(a.doc.scrollLeft-yn)>1&&(Be=!0)),!Be)break}return ie}function _l(a,E){var re=ks(a,E);re.scrollTop!=null&&jt(a,re.scrollTop),re.scrollLeft!=null&&Vi(a,re.scrollLeft)}function ks(a,E){var re=a.display,ne=$i(a.display);E.top<0&&(E.top=0);var ie=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:re.scroller.scrollTop,ye=Uo(a),Be={};E.bottom-E.top>ye&&(E.bottom=E.top+ye);var Ke=a.doc.height+yo(re),ot=E.topKe-ne;if(E.topie+ye){var dn=Math.min(E.top,(xt?Ke:E.bottom)-ye);dn!=ie&&(Be.scrollTop=dn)}var yn=a.options.fixedGutter?0:re.gutters.offsetWidth,Wn=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:re.scroller.scrollLeft-yn,Un=Ji(a)-re.gutters.offsetWidth,Ir=E.right-E.left>Un;return Ir&&(E.right=E.left+Un),E.left<10?Be.scrollLeft=0:E.leftUn+Wn-3&&(Be.scrollLeft=E.right+(Ir?0:10)-Un),Be}function Ss(a,E){E!=null&&(uo(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+E)}function jo(a){uo(a);var E=a.getCursor();a.curOp.scrollToPos={from:E,to:E,margin:a.options.cursorScrollMargin}}function xs(a,E,re){(E!=null||re!=null)&&uo(a),E!=null&&(a.curOp.scrollLeft=E),re!=null&&(a.curOp.scrollTop=re)}function il(a,E){uo(a),a.curOp.scrollToPos=E}function uo(a){var E=a.curOp.scrollToPos;if(E){a.curOp.scrollToPos=null;var re=mi(a,E.from),ne=mi(a,E.to);js(a,re,ne,E.margin)}}function js(a,E,re,ne){var ie=ks(a,{left:Math.min(E.left,re.left),top:Math.min(E.top,re.top)-ne,right:Math.max(E.right,re.right),bottom:Math.max(E.bottom,re.bottom)+ne});xs(a,ie.scrollLeft,ie.scrollTop)}function jt(a,E){Math.abs(a.doc.scrollTop-E)<2||(b||Nn(a,{top:E}),ao(a,E,!0),b&&Nn(a),Et(a,100))}function ao(a,E,re){E=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,E)),!(a.display.scroller.scrollTop==E&&!re)&&(a.doc.scrollTop=E,a.display.scrollbars.setScrollTop(E),a.display.scroller.scrollTop!=E&&(a.display.scroller.scrollTop=E))}function Vi(a,E,re,ne){E=Math.max(0,Math.min(E,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((re?E==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-E)<2)&&!ne)&&(a.doc.scrollLeft=E,va(a),a.display.scroller.scrollLeft!=E&&(a.display.scroller.scrollLeft=E),a.display.scrollbars.setScrollLeft(E))}function Ds(a){var E=a.display,re=E.gutters.offsetWidth,ne=Math.round(a.doc.height+yo(a.display));return{clientHeight:E.scroller.clientHeight,viewHeight:E.wrapper.clientHeight,scrollWidth:E.scroller.scrollWidth,clientWidth:E.scroller.clientWidth,viewWidth:E.wrapper.clientWidth,barLeft:a.options.fixedGutter?re:0,docHeight:ne,scrollHeight:ne+so(a)+E.barHeight,nativeBarWidth:E.nativeBarWidth,gutterWidth:re}}var Qo=function(a,E,re){this.cm=re;var ne=this.vert=Nt("div",[Nt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),ie=this.horiz=Nt("div",[Nt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");ne.tabIndex=ie.tabIndex=-1,a(ne),a(ie),Mt(ne,"scroll",function(){ne.clientHeight&&E(ne.scrollTop,"vertical")}),Mt(ie,"scroll",function(){ie.clientWidth&&E(ie.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,be&&fe<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Qo.prototype.update=function(a){var E=a.scrollWidth>a.clientWidth+1,re=a.scrollHeight>a.clientHeight+1,ne=a.nativeBarWidth;if(re){this.vert.style.display="block",this.vert.style.bottom=E?ne+"px":"0";var ie=a.viewHeight-(E?ne:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+ie)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(E){this.horiz.style.display="block",this.horiz.style.right=re?ne+"px":"0",this.horiz.style.left=a.barLeft+"px";var ye=a.viewWidth-a.barLeft-(re?ne:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+ye)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(ne==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:re?ne:0,bottom:E?ne:0}},Qo.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Qo.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Qo.prototype.zeroWidthHack=function(){var a=We&&!Fe?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Ye,this.disableVert=new Ye},Qo.prototype.enableZeroWidthBar=function(a,E,re){a.style.pointerEvents="auto";function ne(){var ie=a.getBoundingClientRect(),ye=re=="vert"?document.elementFromPoint(ie.right-1,(ie.top+ie.bottom)/2):document.elementFromPoint((ie.right+ie.left)/2,ie.bottom-1);ye!=a?a.style.pointerEvents="none":E.set(1e3,ne)}E.set(1e3,ne)},Qo.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var ol=function(){};ol.prototype.update=function(){return{bottom:0,right:0}},ol.prototype.setScrollLeft=function(){},ol.prototype.setScrollTop=function(){},ol.prototype.clear=function(){};function qo(a,E){E||(E=Ds(a));var re=a.display.barWidth,ne=a.display.barHeight;Jo(a,E);for(var ie=0;ie<4&&re!=a.display.barWidth||ne!=a.display.barHeight;ie++)re!=a.display.barWidth&&a.options.lineWrapping&&ys(a),Jo(a,Ds(a)),re=a.display.barWidth,ne=a.display.barHeight}function Jo(a,E){var re=a.display,ne=re.scrollbars.update(E);re.sizer.style.paddingRight=(re.barWidth=ne.right)+"px",re.sizer.style.paddingBottom=(re.barHeight=ne.bottom)+"px",re.heightForcer.style.borderBottom=ne.bottom+"px solid transparent",ne.right&&ne.bottom?(re.scrollbarFiller.style.display="block",re.scrollbarFiller.style.height=ne.bottom+"px",re.scrollbarFiller.style.width=ne.right+"px"):re.scrollbarFiller.style.display="",ne.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(re.gutterFiller.style.display="block",re.gutterFiller.style.height=ne.bottom+"px",re.gutterFiller.style.width=E.gutterWidth+"px"):re.gutterFiller.style.display=""}var sl={native:Qo,null:ol};function Go(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&nt(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new sl[a.options.scrollbarStyle](function(E){a.display.wrapper.insertBefore(E,a.display.scrollbarFiller),Mt(E,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),E.setAttribute("cm-not-content","true")},function(E,re){re=="horizontal"?Vi(a,E):jt(a,E)},a),a.display.scrollbars.addClass&&qe(a.display.wrapper,a.display.scrollbars.addClass)}var Ul=0;function io(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.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:++Ul},$a(a.curOp)}function ss(a){var E=a.curOp;E&&Ba(E,function(re){for(var ne=0;ne=re.viewTo)||re.maxLineChanged&&E.options.lineWrapping,a.update=a.mustUpdate&&new tn(E,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Gs(a){a.updatedDisplay=a.mustUpdate&&Vn(a.cm,a.update)}function Ws(a){var E=a.cm,re=E.display;a.updatedDisplay&&ys(E),a.barMeasure=Ds(E),re.maxLineChanged&&!E.options.lineWrapping&&(a.adjustWidthTo=Js(E,re.maxLine,re.maxLine.text.length).left+3,E.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(re.scroller.clientWidth,re.sizer.offsetLeft+a.adjustWidthTo+so(E)+E.display.barWidth),a.maxScrollLeft=Math.max(0,re.sizer.offsetLeft+a.adjustWidthTo-Ji(E))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=re.input.prepareSelection())}function zl(a){var E=a.cm;a.adjustWidthTo!=null&&(E.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft=a.display.viewTo)){var re=+new Date+a.options.workTime,ne=Sn(a,E.highlightFrontier),ie=[];E.iter(ne.line,Math.min(E.first+E.size,a.display.viewTo+500),function(ye){if(ne.line>=a.display.viewFrom){var Be=ye.styles,Ke=ye.text.length>a.options.maxHighlightLength?aa(E.mode,ne.state):null,ot=rr(a,ye,ne,!0);Ke&&(ne.state=Ke),ye.styles=ot.styles;var xt=ye.styleClasses,dn=ot.classes;dn?ye.styleClasses=dn:xt&&(ye.styleClasses=null);for(var yn=!Be||Be.length!=ye.styles.length||xt!=dn&&(!xt||!dn||xt.bgClass!=dn.bgClass||xt.textClass!=dn.textClass),Wn=0;!yn&&Wnre)return Et(a,a.options.workDelay),!0}),E.highlightFrontier=ne.line,E.modeFrontier=Math.max(E.modeFrontier,ne.line),ie.length&&Ae(a,function(){for(var ye=0;ye=re.viewFrom&&E.visible.to<=re.viewTo&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo)&&re.renderedView==re.view&&Us(a)==0)return!1;pi(a)&&(Oo(a),E.dims=Xo(a));var ie=ne.first+ne.size,ye=Math.max(E.visible.from-a.options.viewportMargin,ne.first),Be=Math.min(ie,E.visible.to+a.options.viewportMargin);re.viewFromBe&&re.viewTo-Be<20&&(Be=Math.min(ie,re.viewTo)),dr&&(ye=ur(a.doc,ye),Be=nr(a.doc,Be));var Ke=ye!=re.viewFrom||Be!=re.viewTo||re.lastWrapHeight!=E.wrapperHeight||re.lastWrapWidth!=E.wrapperWidth;Rs(a,ye,Be),re.viewOffset=ba(jn(a.doc,re.viewFrom)),a.display.mover.style.top=re.viewOffset+"px";var ot=Us(a);if(!Ke&&ot==0&&!E.force&&re.renderedView==re.view&&(re.updateLineNumbers==null||re.updateLineNumbers>=re.viewTo))return!1;var xt=Mn(a);return ot>4&&(re.lineDiv.style.display="none"),Ia(a,re.updateLineNumbers,E.dims),ot>4&&(re.lineDiv.style.display=""),re.renderedView=re.view,bn(xt),bt(re.cursorDiv),bt(re.selectionDiv),re.gutters.style.height=re.sizer.style.minHeight=0,Ke&&(re.lastWrapHeight=E.wrapperHeight,re.lastWrapWidth=E.wrapperWidth,Et(a,400)),re.updateLineNumbers=null,!0}function $n(a,E){for(var re=E.viewport,ne=!0;;ne=!1){if(!ne||!a.options.lineWrapping||E.oldDisplayWidth==Ji(a)){if(re&&re.top!=null&&(re={top:Math.min(a.doc.height+yo(a.display)-Uo(a),re.top)}),E.visible=os(a.display,a.doc,re),E.visible.from>=a.display.viewFrom&&E.visible.to<=a.display.viewTo)break}else ne&&(E.visible=os(a.display,a.doc,re));if(!Vn(a,E))break;ys(a);var ie=Ds(a);gs(a),qo(a,ie),gi(a,ie),E.force=!1}E.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(E.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function Nn(a,E){var re=new tn(a,E);if(Vn(a,re)){ys(a),$n(a,re);var ne=Ds(a);gs(a),qo(a,ne),gi(a,ne),re.finish()}}function Ia(a,E,re){var ne=a.display,ie=a.options.lineNumbers,ye=ne.lineDiv,Be=ye.firstChild;function Ke(Ir){var Fr=Ir.nextSibling;return we&&We&&a.display.currentWheelTarget==Ir?Ir.style.display="none":Ir.parentNode.removeChild(Ir),Fr}for(var ot=ne.view,xt=ne.viewFrom,dn=0;dn-1&&(Un=!1),Bi(a,yn,xt,re)),Un&&(bt(yn.lineNumber),yn.lineNumber.appendChild(document.createTextNode(Le(a.options,xt)))),Be=yn.node.nextSibling}xt+=yn.size}for(;Be;)Be=Ke(Be)}function Qa(a){var E=a.gutters.offsetWidth;a.sizer.style.marginLeft=E+"px"}function gi(a,E){a.display.sizer.style.minHeight=E.docHeight+"px",a.display.heightForcer.style.top=E.docHeight+"px",a.display.gutters.style.height=E.docHeight+a.display.barHeight+so(a)+"px"}function va(a){var E=a.display,re=E.view;if(!(!E.alignWidgets&&(!E.gutters.firstChild||!a.options.fixedGutter))){for(var ne=is(E)-E.scroller.scrollLeft+a.doc.scrollLeft,ie=E.gutters.offsetWidth,ye=ne+"px",Be=0;BeBe.clientWidth,ot=Be.scrollHeight>Be.clientHeight;if(ne&&Ke||ie&&ot){if(ie&&We&&we){e:for(var xt=E.target,dn=ye.view;xt!=Be;xt=xt.parentNode)for(var yn=0;yn=0&&Vt(a,ne.to())<=0)return re}return-1};var x=function(a,E){this.anchor=a,this.head=E};x.prototype.from=function(){return Xt(this.anchor,this.head)},x.prototype.to=function(){return cn(this.anchor,this.head)},x.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ee(a,E,re){var ne=a&&a.options.selectionsMayTouch,ie=E[re];E.sort(function(Wn,Un){return Vt(Wn.from(),Un.from())}),re=Se(E,ie);for(var ye=1;ye0:ot>=0){var xt=Xt(Ke.from(),Be.from()),dn=cn(Ke.to(),Be.to()),yn=Ke.empty()?Be.from()==Be.head:Ke.from()==Ke.head;ye<=re&&--re,E.splice(--ye,2,new x(yn?dn:xt,yn?xt:dn))}}return new ui(E,re)}function Ne(a,E){return new ui([new x(a,E||a)],0)}function Ot(a){return a.text?He(a.from.line+a.text.length-1,Ht(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Rn(a,E){if(Vt(a,E.from)<0)return a;if(Vt(a,E.to)<=0)return Ot(E);var re=a.line+E.text.length-(E.to.line-E.from.line)-1,ne=a.ch;return a.line==E.to.line&&(ne+=Ot(E).ch-E.to.ch),He(re,ne)}function fr(a,E){for(var re=[],ne=0;ne1&&a.remove(Ke.line+1,Ir-1),a.insert(Ke.line+1,z)}ma(a,"change",a,E)}function Ao(a,E,re){function ne(ie,ye,Be){if(ie.linked)for(var Ke=0;Ke1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Ht(a.done)}function gl(a,E,re,ne){var ie=a.history;ie.undone.length=0;var ye=+new Date,Be,Ke;if((ie.lastOp==ne||ie.lastOrigin==E.origin&&E.origin&&(E.origin.charAt(0)=="+"&&ie.lastModTime>ye-(a.cm?a.cm.options.historyEventDelay:500)||E.origin.charAt(0)=="*"))&&(Be=Zs(ie,ie.lastOp==ne)))Ke=Ht(Be.changes),Vt(E.from,E.to)==0&&Vt(E.from,Ke.to)==0?Ke.to=Ot(E):Be.changes.push(ko(a,E));else{var ot=Ht(ie.done);for((!ot||!ot.ranges)&&Ms(a.sel,ie.done),Be={changes:[ko(a,E)],generation:ie.generation},ie.done.push(Be);ie.done.length>ie.undoDepth;)ie.done.shift(),ie.done[0].ranges||ie.done.shift()}ie.done.push(re),ie.generation=++ie.maxGeneration,ie.lastModTime=ie.lastSelTime=ye,ie.lastOp=ie.lastSelOp=ne,ie.lastOrigin=ie.lastSelOrigin=E.origin,Ke||wn(a,"historyAdded")}function mu(a,E,re,ne){var ie=E.charAt(0);return ie=="*"||ie=="+"&&re.ranges.length==ne.ranges.length&&re.somethingSelected()==ne.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function Hl(a,E,re,ne){var ie=a.history,ye=ne&&ne.origin;re==ie.lastSelOp||ye&&ie.lastSelOrigin==ye&&(ie.lastModTime==ie.lastSelTime&&ie.lastOrigin==ye||mu(a,ye,Ht(ie.done),E))?ie.done[ie.done.length-1]=E:Ms(E,ie.done),ie.lastSelTime=+new Date,ie.lastSelOrigin=ye,ie.lastSelOp=re,ne&&ne.clearRedo!==!1&&Cs(ie.undone)}function Ms(a,E){var re=Ht(E);re&&re.ranges&&re.equals(a)||E.push(a)}function vl(a,E,re,ne){var ie=E["spans_"+a.id],ye=0;a.iter(Math.max(a.first,re),Math.min(a.first+a.size,ne),function(Be){Be.markedSpans&&((ie||(ie=E["spans_"+a.id]={}))[ye]=Be.markedSpans),++ye})}function ou(a){if(!a)return null;for(var E,re=0;re-1&&(Ht(Ke)[yn]=xt[yn],delete xt[yn])}}return ne}function jl(a,E,re,ne){if(ne){var ie=a.anchor;if(re){var ye=Vt(E,ie)<0;ye!=Vt(re,ie)<0?(ie=E,E=re):ye!=Vt(E,re)<0&&(E=re)}return new x(ie,E)}else return new x(re||E,E)}function Dl(a,E,re,ne,ie){ie==null&&(ie=a.cm&&(a.cm.display.shift||a.extend)),Za(a,new ui([jl(a.sel.primary(),E,re,ie)],0),ne)}function Gl(a,E,re){for(var ne=[],ie=a.cm&&(a.cm.display.shift||a.extend),ye=0;ye=E.ch:Ke.to>E.ch))){if(ie&&(wn(ot,"beforeCursorEnter"),ot.explicitlyCleared))if(ye.markedSpans){--Be;continue}else break;if(!ot.atomic)continue;if(re){var yn=ot.find(ne<0?1:-1),Wn=void 0;if((ne<0?dn:xt)&&(yn=Do(a,yn,-ne,yn&&yn.line==E.line?ye:null)),yn&&yn.line==E.line&&(Wn=Vt(yn,re))&&(ne<0?Wn<0:Wn>0))return us(a,yn,E,ne,ie)}var Un=ot.find(ne<0?-1:1);return(ne<0?xt:dn)&&(Un=Do(a,Un,ne,Un.line==E.line?ye:null)),Un?us(a,Un,E,ne,ie):null}}return E}function Bs(a,E,re,ne,ie){var ye=ne||1,Be=us(a,E,re,ye,ie)||!ie&&us(a,E,re,ye,!0)||us(a,E,re,-ye,ie)||!ie&&us(a,E,re,-ye,!0);return Be||(a.cantEdit=!0,He(a.first,0))}function Do(a,E,re,ne){return re<0&&E.ch==0?E.line>a.first?Kt(a,He(E.line-1)):null:re>0&&E.ch==(ne||jn(a,E.line)).text.length?E.line=0;--ie)gu(a,{from:ne[ie].from,to:ne[ie].to,text:ie?[""]:E.text,origin:E.origin});else gu(a,E)}}function gu(a,E){if(!(E.text.length==1&&E.text[0]==""&&Vt(E.from,E.to)==0)){var re=fr(a,E);gl(a,E,re,a.cm?a.cm.curOp.id:NaN),Vl(a,E,re,oa(a,E));var ne=[];Ao(a,function(ie,ye){!ye&&Se(ne,ie.history)==-1&&(Lu(ie.history,E),ne.push(ie.history)),Vl(ie,E,null,oa(ie,E))})}}function Wl(a,E,re){var ne=a.cm&&a.cm.state.suppressEdits;if(!(ne&&!re)){for(var ie=a.history,ye,Be=a.sel,Ke=E=="undo"?ie.done:ie.undone,ot=E=="undo"?ie.undone:ie.done,xt=0;xt=0;--Un){var Ir=Wn(Un);if(Ir)return Ir.v}}}}function vu(a,E){if(E!=0&&(a.first+=E,a.sel=new ui(gn(a.sel.ranges,function(ie){return new x(He(ie.anchor.line+E,ie.anchor.ch),He(ie.head.line+E,ie.head.ch))}),a.sel.primIndex),a.cm)){Ki(a.cm,a.first,a.first-E,E);for(var re=a.cm.display,ne=re.viewFrom;nea.lastLine())){if(E.from.lineye&&(E={from:E.from,to:He(ye,jn(a,ye).text.length),text:[E.text[0]],origin:E.origin}),E.removed=sr(a,E.from,E.to),re||(re=fr(a,E)),a.cm?zc(a.cm,E,ne):no(a,E,ne),Oi(a,re,st),a.cantEdit&&Bs(a,He(a.firstLine(),0))&&(a.cantEdit=!1)}}function zc(a,E,re){var ne=a.doc,ie=a.display,ye=E.from,Be=E.to,Ke=!1,ot=ye.line;a.options.lineWrapping||(ot=ve(er(jn(ne,ye.line))),ne.iter(ot,Be.line+1,function(Un){if(Un==ie.maxLine)return Ke=!0,!0})),ne.sel.contains(E.from,E.to)>-1&&In(a),no(ne,E,re,Fs(a)),a.options.lineWrapping||(ne.iter(ot,ye.line+E.text.length,function(Un){var Ir=da(Un);Ir>ie.maxLineLength&&(ie.maxLine=Un,ie.maxLineLength=Ir,ie.maxLineChanged=!0,Ke=!1)}),Ke&&(a.curOp.updateMaxLine=!0)),Kn(ne,ye.line),Et(a,400);var xt=E.text.length-(Be.line-ye.line)-1;E.full?Ki(a):ye.line==Be.line&&E.text.length==1&&!Bn(a.doc,E)?Ro(a,ye.line,"text"):Ki(a,ye.line,Be.line+1,xt);var dn=xn(a,"changes"),yn=xn(a,"change");if(yn||dn){var Wn={from:ye,to:Be,text:E.text,removed:E.removed,origin:E.origin};yn&&ma(a,"change",a,Wn),dn&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(Wn)}a.display.selForContextMenu=null}function ll(a,E,re,ne,ie){var ye;ne||(ne=re),Vt(ne,re)<0&&(ye=[ne,re],re=ye[0],ne=ye[1]),typeof E=="string"&&(E=a.splitLines(E)),Sl(a,{from:re,to:ne,text:E,origin:ie})}function Vo(a,E,re,ne){re1||!(this.children[0]instanceof $l))){var Ke=[];this.collapse(Ke),this.children=[new $l(Ke)],this.children[0].parent=this}},collapse:function(a){for(var E=0;E50){for(var Be=ie.lines.length%25+25,Ke=Be;Ke10);a.parent.maybeSpill()}},iterN:function(a,E,re){for(var ne=0;nea.display.maxLineLength&&(a.display.maxLine=xt,a.display.maxLineLength=dn,a.display.maxLineChanged=!0)}ne!=null&&a&&this.collapsed&&Ki(a,ne,ie+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&Ps(a.doc)),a&&ma(a,"markerCleared",a,this,ne,ie),E&&ss(a),this.parent&&this.parent.clear()}},Ys.prototype.find=function(a,E){a==null&&this.type=="bookmark"&&(a=1);for(var re,ne,ie=0;ie0||Be==0&&ye.clearWhenEmpty!==!1)return ye;if(ye.replacedWith&&(ye.collapsed=!0,ye.widgetNode=vt("span",[ye.replacedWith],"CodeMirror-widget"),ne.handleMouseEvents||ye.widgetNode.setAttribute("cm-ignore-events","true"),ne.insertLeft&&(ye.widgetNode.insertLeft=!0)),ye.collapsed){if(or(a,E.line,E,re,ye)||E.line!=re.line&&or(a,re.line,E,re,ye))throw new Error("Inserting collapsed marker partially overlapping an existing one");Wr()}ye.addToHistory&&gl(a,{from:E,to:re,origin:"markText"},a.sel,NaN);var Ke=E.line,ot=a.cm,xt;if(a.iter(Ke,re.line+1,function(yn){ot&&ye.collapsed&&!ot.options.lineWrapping&&er(yn)==ot.display.maxLine&&(xt=!0),ye.collapsed&&Ke!=E.line&&zr(yn,0),Xr(yn,new Zr(ye,Ke==E.line?E.ch:null,Ke==re.line?re.ch:null)),++Ke}),ye.collapsed&&a.iter(E.line,re.line+1,function(yn){xr(a,yn)&&zr(yn,0)}),ye.clearOnEnter&&Mt(ye,"beforeCursorEnter",function(){return ye.clear()}),ye.readOnly&&(Yr(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),ye.collapsed&&(ye.id=++bu,ye.atomic=!0),ot){if(xt&&(ot.curOp.updateMaxLine=!0),ye.collapsed)Ki(ot,E.line,re.line+1);else if(ye.className||ye.startStyle||ye.endStyle||ye.css||ye.attributes||ye.title)for(var dn=E.line;dn<=re.line;dn++)Ro(ot,dn,"text");ye.atomic&&Ps(ot.doc),ma(ot,"markerAdded",ot,ye)}return ye}var Ml=function(a,E){this.markers=a,this.primary=E;for(var re=0;re=0;ot--)Sl(this,ne[ot]);Ke?oi(this,Ke):this.cm&&jo(this.cm)}),undo:mt(function(){Wl(this,"undo")}),redo:mt(function(){Wl(this,"redo")}),undoSelection:mt(function(){Wl(this,"undo",!0)}),redoSelection:mt(function(){Wl(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,E=0,re=0,ne=0;ne=a.ch)&&E.push(ie.marker.parent||ie.marker)}return E},findMarks:function(a,E,re){a=Kt(this,a),E=Kt(this,E);var ne=[],ie=a.line;return this.iter(a.line,E.line+1,function(ye){var Be=ye.markedSpans;if(Be)for(var Ke=0;Ke=ot.to||ot.from==null&&ie!=a.line||ot.from!=null&&ie==E.line&&ot.from>=E.ch)&&(!re||re(ot.marker))&&ne.push(ot.marker.parent||ot.marker)}++ie}),ne},getAllMarks:function(){var a=[];return this.iter(function(E){var re=E.markedSpans;if(re)for(var ne=0;nea)return E=a,!0;a-=ye,++re}),Kt(this,He(re,E))},indexFromPos:function(a){a=Kt(this,a);var E=a.ch;if(a.lineE&&(E=a.from),a.to!=null&&a.to-1){E.state.draggingText(a),setTimeout(function(){return E.display.input.focus()},20);return}try{var dn=a.dataTransfer.getData("Text");if(dn){var yn;if(E.state.draggingText&&!E.state.draggingText.copy&&(yn=E.listSelections()),Oi(E.doc,Ne(re,re)),yn)for(var Wn=0;Wn=0;Ke--)ll(a.doc,"",ne[Ke].from,ne[Ke].to,"+delete");jo(a)})}function Su(a,E,re){var ne=$t(a.text,E+re,re);return ne<0||ne>a.text.length?null:ne}function xu(a,E,re){var ne=Su(a,E.ch,re);return ne==null?null:new He(E.line,ne,re<0?"after":"before")}function cu(a,E,re,ne,ie){if(a){E.doc.direction=="rtl"&&(ie=-ie);var ye=pn(re,E.doc.direction);if(ye){var Be=ie<0?Ht(ye):ye[0],Ke=ie<0==(Be.level==1),ot=Ke?"after":"before",xt;if(Be.level>0||E.doc.direction=="rtl"){var dn=Hi(E,re);xt=ie<0?re.text.length-1:0;var yn=wo(E,dn,xt).top;xt=gt(function(Wn){return wo(E,dn,Wn).top==yn},ie<0==(Be.level==1)?Be.from:Be.to-1,xt),ot=="before"&&(xt=Su(re,xt,1))}else xt=ie<0?Be.to:Be.from;return new He(ne,xt,ot)}}return new He(ne,ie<0?re.text.length:0,ie<0?"before":"after")}function bc(a,E,re,ne){var ie=pn(E,a.doc.direction);if(!ie)return xu(E,re,ne);re.ch>=E.text.length?(re.ch=E.text.length,re.sticky="before"):re.ch<=0&&(re.ch=0,re.sticky="after");var ye=Pt(ie,re.ch,re.sticky),Be=ie[ye];if(a.doc.direction=="ltr"&&Be.level%2==0&&(ne>0?Be.to>re.ch:Be.from=Be.from&&Wn>=dn.begin)){var Un=yn?"before":"after";return new He(re.line,Wn,Un)}}var Ir=function(z,te,ue){for(var Ee=function(ht,zt){return zt?new He(re.line,Ke(ht,1),"before"):new He(re.line,ht,"after")};z>=0&&z0==(Me.level!=1),lt=Xe?ue.begin:Ke(ue.end,-1);if(Me.from<=lt&<0?dn.end:Ke(dn.begin,-1);return oe!=null&&!(ne>0&&oe==E.text.length)&&(Fr=Ir(ne>0?0:ie.length-1,ne,xt(oe)),Fr)?Fr:null}var Xl={selectAll:Ks,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),st)},killLine:function(a){return Bl(a,function(E){if(E.empty()){var re=jn(a.doc,E.head.line).text.length;return E.head.ch==re&&E.head.line0)ie=new He(ie.line,ie.ch+1),a.replaceRange(ye.charAt(ie.ch-1)+ye.charAt(ie.ch-2),He(ie.line,ie.ch-2),ie,"+transpose");else if(ie.line>a.doc.first){var Be=jn(a.doc,ie.line-1).text;Be&&(ie=new He(ie.line,1),a.replaceRange(ye.charAt(0)+a.doc.lineSeparator()+Be.charAt(Be.length-1),He(ie.line-1,Be.length-1),ie,"+transpose"))}}re.push(new x(ie,ie))}a.setSelections(re)})},newlineAndIndent:function(a){return Ae(a,function(){for(var E=a.listSelections(),re=E.length-1;re>=0;re--)a.replaceRange(a.doc.lineSeparator(),E[re].anchor,E[re].head,"+input");E=a.listSelections();for(var ne=0;nea&&Vt(E,this.pos)==0&&re==this.button};var Jl,eu;function wc(a,E){var re=+new Date;return eu&&eu.compare(re,a,E)?(Jl=eu=null,"triple"):Jl&&Jl.compare(re,a,E)?(eu=new Tu(re,a,E),Jl=null,"double"):(Jl=new Tu(re,a,E),eu=null,"single")}function $u(a){var E=this,re=E.display;if(!(ln(E,a)||re.activeTouch&&re.input.supportsTouch())){if(re.input.ensurePolled(),re.shift=a.shiftKey,ti(re,a)){we||(re.scroller.draggable=!1,setTimeout(function(){return re.scroller.draggable=!0},100));return}if(!Bo(E,a)){var ne=Ho(E,a),ie=de(a),ye=ne?wc(ne,ie):"single";window.focus(),ie==1&&E.state.selectingText&&E.state.selectingText(a),!(ne&&Ku(E,ie,ne,ye,a))&&(ie==1?ne?Tc(E,ne,ye,a):pt(a)==re.scroller&&Yt(a):ie==2?(ne&&Dl(E.doc,ne),setTimeout(function(){return re.input.focus()},20)):ie==3&&(_e?E.display.input.onContextMenu(a):rl(E)))}}}function Ku(a,E,re,ne,ie){var ye="Click";return ne=="double"?ye="Double"+ye:ne=="triple"&&(ye="Triple"+ye),ye=(E==1?"Left":E==2?"Middle":"Right")+ye,Ql(a,Hu(ye,ie),ie,function(Be){if(typeof Be=="string"&&(Be=Xl[Be]),!Be)return!1;var Ke=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),Ke=Be(a,re)!=on}finally{a.state.suppressEdits=!1}return Ke})}function fo(a,E,re){var ne=a.getOption("configureMouse"),ie=ne?ne(a,E,re):{};if(ie.unit==null){var ye=Ve?re.shiftKey&&re.metaKey:re.altKey;ie.unit=ye?"rectangle":E=="single"?"char":E=="double"?"word":"line"}return(ie.extend==null||a.doc.extend)&&(ie.extend=a.doc.extend||re.shiftKey),ie.addNew==null&&(ie.addNew=We?re.metaKey:re.ctrlKey),ie.moveOnDrag==null&&(ie.moveOnDrag=!(We?re.altKey:re.ctrlKey)),ie}function Tc(a,E,re,ne){be?setTimeout(Zt(fl,a),0):a.curOp.focus=St();var ie=fo(a,re,ne),ye=a.doc.sel,Be;a.options.dragDrop&&qt&&!a.isReadOnly()&&re=="single"&&(Be=ye.contains(E))>-1&&(Vt((Be=ye.ranges[Be]).from(),E)<0||E.xRel>0)&&(Vt(Be.to(),E)>0||E.xRel<0)?Wc(a,ne,E,ie):cs(a,ne,E,ie)}function Wc(a,E,re,ne){var ie=a.display,ye=!1,Be=ke(a,function(xt){we&&(ie.scroller.draggable=!1),a.state.draggingText=!1,kn(ie.wrapper.ownerDocument,"mouseup",Be),kn(ie.wrapper.ownerDocument,"mousemove",Ke),kn(ie.scroller,"dragstart",ot),kn(ie.scroller,"drop",Be),ye||(Yt(xt),ne.addNew||Dl(a.doc,re,null,null,ne.extend),we&&!Ge||be&&fe==9?setTimeout(function(){ie.wrapper.ownerDocument.body.focus({preventScroll:!0}),ie.input.focus()},20):ie.input.focus())}),Ke=function(xt){ye=ye||Math.abs(E.clientX-xt.clientX)+Math.abs(E.clientY-xt.clientY)>=10},ot=function(){return ye=!0};we&&(ie.scroller.draggable=!0),a.state.draggingText=Be,Be.copy=!ne.moveOnDrag,ie.scroller.dragDrop&&ie.scroller.dragDrop(),Mt(ie.wrapper.ownerDocument,"mouseup",Be),Mt(ie.wrapper.ownerDocument,"mousemove",Ke),Mt(ie.scroller,"dragstart",ot),Mt(ie.scroller,"drop",Be),rl(a),setTimeout(function(){return ie.input.focus()},20)}function Yu(a,E,re){if(re=="char")return new x(E,E);if(re=="word")return a.findWordAt(E);if(re=="line")return new x(He(E.line,0),Kt(a.doc,He(E.line+1,0)));var ne=re(a,E);return new x(ne.from,ne.to)}function cs(a,E,re,ne){var ie=a.display,ye=a.doc;Yt(E);var Be,Ke,ot=ye.sel,xt=ot.ranges;if(ne.addNew&&!ne.extend?(Ke=ye.sel.contains(re),Ke>-1?Be=xt[Ke]:Be=new x(re,re)):(Be=ye.sel.primary(),Ke=ye.sel.primIndex),ne.unit=="rectangle")ne.addNew||(Be=new x(re,re)),re=Ho(a,E,!0,!0),Ke=-1;else{var dn=Yu(a,re,ne.unit);ne.extend?Be=jl(Be,dn.anchor,dn.head,ne.extend):Be=dn}ne.addNew?Ke==-1?(Ke=xt.length,Za(ye,ee(a,xt.concat([Be]),Ke),{scroll:!1,origin:"*mouse"})):xt.length>1&&xt[Ke].empty()&&ne.unit=="char"&&!ne.extend?(Za(ye,ee(a,xt.slice(0,Ke).concat(xt.slice(Ke+1)),0),{scroll:!1,origin:"*mouse"}),ot=ye.sel):El(ye,Ke,Be,Ut):(Ke=0,Za(ye,new ui([Be],0),Ut),ot=ye.sel);var yn=re;function Wn(ue){if(Vt(yn,ue)!=0)if(yn=ue,ne.unit=="rectangle"){for(var Ee=[],Me=a.options.tabSize,Xe=Tt(jn(ye,re.line).text,re.ch,Me),lt=Tt(jn(ye,ue.line).text,ue.ch,Me),ht=Math.min(Xe,lt),zt=Math.max(Xe,lt),sn=Math.min(re.line,ue.line),An=Math.min(a.lastLine(),Math.max(re.line,ue.line));sn<=An;sn++){var Fn=jn(ye,sn).text,Hn=On(Fn,ht,Me);ht==zt?Ee.push(new x(He(sn,Hn),He(sn,Hn))):Fn.length>Hn&&Ee.push(new x(He(sn,Hn),He(sn,On(Fn,zt,Me))))}Ee.length||Ee.push(new x(re,re)),Za(ye,ee(a,ot.ranges.slice(0,Ke).concat(Ee),Ke),{origin:"*mouse",scroll:!1}),a.scrollIntoView(ue)}else{var ir=Be,Xn=Yu(a,ue,ne.unit),Cr=ir.anchor,Tr;Vt(Xn.anchor,Cr)>0?(Tr=Xn.head,Cr=Xt(ir.from(),Xn.anchor)):(Tr=Xn.anchor,Cr=cn(ir.to(),Xn.head));var kr=ot.ranges.slice(0);kr[Ke]=Ac(a,new x(Kt(ye,Cr),Tr)),Za(ye,ee(a,kr,Ke),Ut)}}var Un=ie.wrapper.getBoundingClientRect(),Ir=0;function Fr(ue){var Ee=++Ir,Me=Ho(a,ue,!0,ne.unit=="rectangle");if(Me)if(Vt(Me,yn)!=0){a.curOp.focus=St(),Wn(Me);var Xe=os(ie,ye);(Me.line>=Xe.to||Me.lineUn.bottom?20:0;lt&&setTimeout(ke(a,function(){Ir==Ee&&(ie.scroller.scrollTop+=lt,Fr(ue))}),50)}}function oe(ue){a.state.selectingText=!1,Ir=1/0,ue&&(Yt(ue),ie.input.focus()),kn(ie.wrapper.ownerDocument,"mousemove",z),kn(ie.wrapper.ownerDocument,"mouseup",te),ye.history.lastSelOrigin=null}var z=ke(a,function(ue){ue.buttons===0||!de(ue)?oe(ue):Fr(ue)}),te=ke(a,oe);a.state.selectingText=te,Mt(ie.wrapper.ownerDocument,"mousemove",z),Mt(ie.wrapper.ownerDocument,"mouseup",te)}function Ac(a,E){var re=E.anchor,ne=E.head,ie=jn(a.doc,re.line);if(Vt(re,ne)==0&&re.sticky==ne.sticky)return E;var ye=pn(ie);if(!ye)return E;var Be=Pt(ye,re.ch,re.sticky),Ke=ye[Be];if(Ke.from!=re.ch&&Ke.to!=re.ch)return E;var ot=Be+(Ke.from==re.ch==(Ke.level!=1)?0:1);if(ot==0||ot==ye.length)return E;var xt;if(ne.line!=re.line)xt=(ne.line-re.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var dn=Pt(ye,ne.ch,ne.sticky),yn=dn-Be||(ne.ch-re.ch)*(Ke.level==1?-1:1);dn==ot-1||dn==ot?xt=yn<0:xt=yn>0}var Wn=ye[ot+(xt?-1:0)],Un=xt==(Wn.level==1),Ir=Un?Wn.from:Wn.to,Fr=Un?"after":"before";return re.ch==Ir&&re.sticky==Fr?E:new x(new He(re.line,Ir,Fr),ne)}function Xu(a,E,re,ne){var ie,ye;if(E.touches)ie=E.touches[0].clientX,ye=E.touches[0].clientY;else try{ie=E.clientX,ye=E.clientY}catch(Wn){return!1}if(ie>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;ne&&Yt(E);var Be=a.display,Ke=Be.lineDiv.getBoundingClientRect();if(ye>Ke.bottom||!xn(a,re))return vn(E);ye-=Ke.top-Be.viewOffset;for(var ot=0;ot=ie){var dn=Ie(a.doc,ye),yn=a.display.gutterSpecs[ot];return wn(a,re,a,dn,yn.className,E),vn(E)}}}function Bo(a,E){return Xu(a,E,"gutterClick",!0)}function Ic(a,E){ti(a.display,E)||Nc(a,E)||ln(a,E,"contextmenu")||_e||a.display.input.onContextMenu(E)}function Nc(a,E){return xn(a,"gutterContextMenu")?Xu(a,E,"gutterContextMenu",!1):!1}function Qu(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),ms(a)}var Fl={toString:function(){return"CodeMirror.Init"}},qu={},tu={};function Rc(a){var E=a.optionHandlers;function re(ne,ie,ye,Be){a.defaults[ne]=ie,ye&&(E[ne]=Be?function(Ke,ot,xt){xt!=Fl&&ye(Ke,ot,xt)}:ye)}a.defineOption=re,a.Init=Fl,re("value","",function(ne,ie){return ne.setValue(ie)},!0),re("mode",null,function(ne,ie){ne.doc.modeOption=ie,wa(ne)},!0),re("indentUnit",2,wa,!0),re("indentWithTabs",!1),re("smartIndent",!0),re("tabSize",4,function(ne){hi(ne),ms(ne),Ki(ne)},!0),re("lineSeparator",null,function(ne,ie){if(ne.doc.lineSep=ie,!!ie){var ye=[],Be=ne.doc.first;ne.doc.iter(function(ot){for(var xt=0;;){var dn=ot.text.indexOf(ie,xt);if(dn==-1)break;xt=dn+ie.length,ye.push(He(Be,dn))}Be++});for(var Ke=ye.length-1;Ke>=0;Ke--)ll(ne.doc,ie,ye[Ke],He(ye[Ke].line,ye[Ke].ch+ie.length))}}),re("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(ne,ie,ye){ne.state.specialChars=new RegExp(ie.source+(ie.test(" ")?"":"| "),"g"),ye!=Fl&&ne.refresh()}),re("specialCharPlaceholder",bi,function(ne){return ne.refresh()},!0),re("electricChars",!0),re("inputStyle",Je?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),re("spellcheck",!1,function(ne,ie){return ne.getInputField().spellcheck=ie},!0),re("autocorrect",!1,function(ne,ie){return ne.getInputField().autocorrect=ie},!0),re("autocapitalize",!1,function(ne,ie){return ne.getInputField().autocapitalize=ie},!0),re("rtlMoveVisually",!Ze),re("wholeLineUpdateBefore",!0),re("theme","default",function(ne){Qu(ne),yi(ne)},!0),re("keyMap","default",function(ne,ie,ye){var Be=uu(ie),Ke=ye!=Fl&&uu(ye);Ke&&Ke.detach&&Ke.detach(ne,Be),Be.attach&&Be.attach(ne,Ke||null)}),re("extraKeys",null),re("configureMouse",null),re("lineWrapping",!1,Ju,!0),re("gutters",[],function(ne,ie){ne.display.gutterSpecs=La(ie,ne.options.lineNumbers),yi(ne)},!0),re("fixedGutter",!0,function(ne,ie){ne.display.gutters.style.left=ie?is(ne.display)+"px":"0",ne.refresh()},!0),re("coverGutterNextToScrollbar",!1,function(ne){return qo(ne)},!0),re("scrollbarStyle","native",function(ne){Go(ne),qo(ne),ne.display.scrollbars.setScrollTop(ne.doc.scrollTop),ne.display.scrollbars.setScrollLeft(ne.doc.scrollLeft)},!0),re("lineNumbers",!1,function(ne,ie){ne.display.gutterSpecs=La(ne.options.gutters,ie),yi(ne)},!0),re("firstLineNumber",1,yi,!0),re("lineNumberFormatter",function(ne){return ne},yi,!0),re("showCursorWhenSelecting",!1,gs,!0),re("resetSelectionOnContextMenu",!0),re("lineWiseCopyCut",!0),re("pasteLinesPerSelection",!0),re("selectionsMayTouch",!1),re("readOnly",!1,function(ne,ie){ie=="nocursor"&&(bs(ne),ne.display.input.blur()),ne.display.input.readOnlyChanged(ie)}),re("screenReaderLabel",null,function(ne,ie){ie=ie===""?null:ie,ne.display.input.screenReaderLabelChanged(ie)}),re("disableInput",!1,function(ne,ie){ie||ne.display.input.reset()},!0),re("dragDrop",!0,Oc),re("allowDropFileTypes",null),re("cursorBlinkRate",530),re("cursorScrollMargin",0),re("cursorHeight",1,gs,!0),re("singleCursorHeightPerLine",!0,gs,!0),re("workTime",100),re("workDelay",100),re("flattenSpans",!0,hi,!0),re("addModeClass",!1,hi,!0),re("pollInterval",100),re("undoDepth",200,function(ne,ie){return ne.doc.history.undoDepth=ie}),re("historyEventDelay",1250),re("viewportMargin",10,function(ne){return ne.refresh()},!0),re("maxHighlightLength",1e4,hi,!0),re("moveInputWithCursor",!0,function(ne,ie){ie||ne.display.input.resetPosition()}),re("tabindex",null,function(ne,ie){return ne.display.input.getField().tabIndex=ie||""}),re("autofocus",null),re("direction","ltr",function(ne,ie){return ne.doc.setDirection(ie)},!0),re("phrases",null)}function Oc(a,E,re){var ne=re&&re!=Fl;if(!E!=!ne){var ie=a.display.dragFunctions,ye=E?Mt:kn;ye(a.display.scroller,"dragstart",ie.start),ye(a.display.scroller,"dragenter",ie.enter),ye(a.display.scroller,"dragover",ie.over),ye(a.display.scroller,"dragleave",ie.leave),ye(a.display.scroller,"drop",ie.drop)}}function Ju(a){a.options.lineWrapping?(qe(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(nt(a.display.wrapper,"CodeMirror-wrap"),ya(a)),_s(a),Ki(a),ms(a),setTimeout(function(){return qo(a)},100)}function Zi(a,E){var re=this;if(!(this instanceof Zi))return new Zi(a,E);this.options=E=E?Tn(E):{},Tn(qu,E,!1);var ne=E.value;typeof ne=="string"?ne=new Mo(ne,E.mode,null,E.lineSeparator,E.direction):E.mode&&(ne.modeOption=E.mode),this.doc=ne;var ie=new Zi.inputStyles[E.inputStyle](this),ye=this.display=new ta(a,ne,ie,E);ye.wrapper.CodeMirror=this,Qu(this),E.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Go(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 Ye,keySeq:null,specialChars:null},E.autofocus&&!Je&&ye.input.focus(),be&&fe<11&&setTimeout(function(){return re.display.input.reset(!0)},20),ec(this),zu(),io(this),this.curOp.forceUpdate=!0,ml(this,ne),E.autofocus&&!Je||this.hasFocus()?setTimeout(function(){re.hasFocus()&&!re.state.focused&&al(re)},20):bs(this);for(var Be in tu)tu.hasOwnProperty(Be)&&tu[Be](this,E[Be],Fl);pi(this),E.finishInit&&E.finishInit(this);for(var Ke=0;Ke20*20}Mt(E.scroller,"touchstart",function(ot){if(!ln(a,ot)&&!ye(ot)&&!Bo(a,ot)){E.input.ensurePolled(),clearTimeout(re);var xt=+new Date;E.activeTouch={start:xt,moved:!1,prev:xt-ne.end<=300?ne:null},ot.touches.length==1&&(E.activeTouch.left=ot.touches[0].pageX,E.activeTouch.top=ot.touches[0].pageY)}}),Mt(E.scroller,"touchmove",function(){E.activeTouch&&(E.activeTouch.moved=!0)}),Mt(E.scroller,"touchend",function(ot){var xt=E.activeTouch;if(xt&&!ti(E,ot)&&xt.left!=null&&!xt.moved&&new Date-xt.start<300){var dn=a.coordsChar(E.activeTouch,"page"),yn;!xt.prev||Be(xt,xt.prev)?yn=new x(dn,dn):!xt.prev.prev||Be(xt,xt.prev.prev)?yn=a.findWordAt(dn):yn=new x(He(dn.line,0),Kt(a.doc,He(dn.line+1,0))),a.setSelection(yn.anchor,yn.head),a.focus(),Yt(ot)}ie()}),Mt(E.scroller,"touchcancel",ie),Mt(E.scroller,"scroll",function(){E.scroller.clientHeight&&(jt(a,E.scroller.scrollTop),Vi(a,E.scroller.scrollLeft,!0),wn(a,"scroll",a))}),Mt(E.scroller,"mousewheel",function(ot){return xo(a,ot)}),Mt(E.scroller,"DOMMouseScroll",function(ot){return xo(a,ot)}),Mt(E.wrapper,"scroll",function(){return E.wrapper.scrollTop=E.wrapper.scrollLeft=0}),E.dragFunctions={enter:function(ot){ln(a,ot)||Ct(ot)},over:function(ot){ln(a,ot)||(jc(a,ot),Ct(ot))},start:function(ot){return fc(a,ot)},drop:ke(a,_u),leave:function(ot){ln(a,ot)||Eu(a)}};var Ke=E.input.getField();Mt(Ke,"keyup",function(ot){return Cc.call(a,ot)}),Mt(Ke,"keydown",ke(a,Tl)),Mt(Ke,"keypress",ke(a,Vu)),Mt(Ke,"focus",function(ot){return al(a,ot)}),Mt(Ke,"blur",function(ot){return bs(a,ot)})}var du=[];Zi.defineInitHook=function(a){return du.push(a)};function fu(a,E,re,ne){var ie=a.doc,ye;re==null&&(re="add"),re=="smart"&&(ie.mode.indent?ye=Sn(a,E).state:re="prev");var Be=a.options.tabSize,Ke=jn(ie,E),ot=Tt(Ke.text,null,Be);Ke.stateAfter&&(Ke.stateAfter=null);var xt=Ke.text.match(/^\s*/)[0],dn;if(!ne&&!/\S/.test(Ke.text))dn=0,re="not";else if(re=="smart"&&(dn=ie.mode.indent(ye,Ke.text.slice(xt.length),Ke.text),dn==on||dn>150)){if(!ne)return;re="prev"}re=="prev"?E>ie.first?dn=Tt(jn(ie,E-1).text,null,Be):dn=0:re=="add"?dn=ot+a.options.indentUnit:re=="subtract"?dn=ot-a.options.indentUnit:typeof re=="number"&&(dn=ot+re),dn=Math.max(0,dn);var yn="",Wn=0;if(a.options.indentWithTabs)for(var Un=Math.floor(dn/Be);Un;--Un)Wn+=Be,yn+=" ";if(WnBe,ot=ar(E),xt=null;if(Ke&&ne.ranges.length>1)if(ws&&ws.text.join(` +`)==E){if(ne.ranges.length%ws.text.length==0){xt=[];for(var dn=0;dn=0;Wn--){var Un=ne.ranges[Wn],Ir=Un.from(),Fr=Un.to();Un.empty()&&(re&&re>0?Ir=He(Ir.line,Ir.ch-re):a.state.overwrite&&!Ke?Fr=He(Fr.line,Math.min(jn(ye,Fr.line).text.length,Fr.ch+Ht(ot).length)):Ke&&ws&&ws.lineWise&&ws.text.join(` +`)==ot.join(` +`)&&(Ir=Fr=He(Ir.line,0)));var oe={from:Ir,to:Fr,text:xt?xt[Wn%xt.length]:ot,origin:ie||(Ke?"paste":a.state.cutIncoming>Be?"cut":"+input")};Sl(a.doc,oe),ma(a,"inputRead",a,oe)}E&&!Ke&&tc(a,E),jo(a),a.curOp.updateInput<2&&(a.curOp.updateInput=yn),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Iu(a,E){var re=a.clipboardData&&a.clipboardData.getData("Text");if(re)return a.preventDefault(),!E.isReadOnly()&&!E.options.disableInput&&Ae(E,function(){return Au(E,re,0,null,"paste")}),!0}function tc(a,E){if(!(!a.options.electricChars||!a.options.smartIndent))for(var re=a.doc.sel,ne=re.ranges.length-1;ne>=0;ne--){var ie=re.ranges[ne];if(!(ie.head.ch>100||ne&&re.ranges[ne-1].head.line==ie.head.line)){var ye=a.getModeAt(ie.head),Be=!1;if(ye.electricChars){for(var Ke=0;Ke-1){Be=fu(a,ie.head.line,"smart");break}}else ye.electricInput&&ye.electricInput.test(jn(a.doc,ie.head.line).text.slice(0,ie.head.ch))&&(Be=fu(a,ie.head.line,"smart"));Be&&ma(a,"electricInput",a,ie.head.line)}}}function nc(a){for(var E=[],re=[],ne=0;neye&&(fu(this,Ke.head.line,ne,!0),ye=Ke.head.line,Be==this.doc.sel.primIndex&&jo(this));else{var ot=Ke.from(),xt=Ke.to(),dn=Math.max(ye,ot.line);ye=Math.min(this.lastLine(),xt.line-(xt.ch?0:1))+1;for(var yn=dn;yn0&&El(this.doc,Be,new x(ot,Wn[Be].to()),st)}}}),getTokenAt:function(ne,ie){return tr(this,ne,ie)},getLineTokens:function(ne,ie){return tr(this,He(ne),ie,!0)},getTokenTypeAt:function(ne){ne=Kt(this.doc,ne);var ie=Pr(this,jn(this.doc,ne.line)),ye=0,Be=(ie.length-1)/2,Ke=ne.ch,ot;if(Ke==0)ot=ie[2];else for(;;){var xt=ye+Be>>1;if((xt?ie[xt*2-1]:0)>=Ke)Be=xt;else if(ie[xt*2+1]ot&&(ne=ot,Be=!0),Ke=jn(this.doc,ne)}else Ke=ne;return zo(this,Ke,{top:0,left:0},ie||"page",ye||Be).top+(Be?this.doc.height-ba(Ke):0)},defaultTextHeight:function(){return $i(this.display)},defaultCharWidth:function(){return Eo(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(ne,ie,ye,Be,Ke){var ot=this.display;ne=Xi(this,Kt(this.doc,ne));var xt=ne.bottom,dn=ne.left;if(ie.style.position="absolute",ie.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(ie),ot.sizer.appendChild(ie),Be=="over")xt=ne.top;else if(Be=="above"||Be=="near"){var yn=Math.max(ot.wrapper.clientHeight,this.doc.height),Wn=Math.max(ot.sizer.clientWidth,ot.lineSpace.clientWidth);(Be=="above"||ne.bottom+ie.offsetHeight>yn)&&ne.top>ie.offsetHeight?xt=ne.top-ie.offsetHeight:ne.bottom+ie.offsetHeight<=yn&&(xt=ne.bottom),dn+ie.offsetWidth>Wn&&(dn=Wn-ie.offsetWidth)}ie.style.top=xt+"px",ie.style.left=ie.style.right="",Ke=="right"?(dn=ot.sizer.clientWidth-ie.offsetWidth,ie.style.right="0px"):(Ke=="left"?dn=0:Ke=="middle"&&(dn=(ot.sizer.clientWidth-ie.offsetWidth)/2),ie.style.left=dn+"px"),ye&&_l(this,{left:dn,top:xt,right:dn+ie.offsetWidth,bottom:xt+ie.offsetHeight})},triggerOnKeyDown:Ue(Tl),triggerOnKeyPress:Ue(Vu),triggerOnKeyUp:Cc,triggerOnMouseDown:Ue($u),execCommand:function(ne){if(Xl.hasOwnProperty(ne))return Xl[ne].call(null,this)},triggerElectric:Ue(function(ne){tc(this,ne)}),findPosH:function(ne,ie,ye,Be){var Ke=1;ie<0&&(Ke=-1,ie=-ie);for(var ot=Kt(this.doc,ne),xt=0;xt0&&dn(ye.charAt(Be-1));)--Be;for(;Ke.5||this.options.lineWrapping)&&_s(this),wn(this,"refresh",this)}),swapDoc:Ue(function(ne){var ie=this.doc;return ie.cm=null,this.state.selectingText&&this.state.selectingText(),ml(this,ne),ms(this),this.display.input.reset(),xs(this,ne.scrollLeft,ne.scrollTop),this.curOp.forceScroll=!0,ma(this,"swapDoc",this,ie),ie}),phrase:function(ne){var ie=this.options.phrases;return ie&&Object.prototype.hasOwnProperty.call(ie,ne)?ie[ne]:ne},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}},kt(a),a.registerHelper=function(ne,ie,ye){re.hasOwnProperty(ne)||(re[ne]=a[ne]={_global:[]}),re[ne][ie]=ye},a.registerGlobalHelper=function(ne,ie,ye,Be){a.registerHelper(ne,ie,Be),re[ne]._global.push({pred:ye,val:Be})}}function Ru(a,E,re,ne,ie){var ye=E,Be=re,Ke=jn(a,E.line),ot=ie&&a.direction=="rtl"?-re:re;function xt(){var te=E.line+ot;return te=a.first+a.size?!1:(E=new He(te,E.ch,E.sticky),Ke=jn(a,te))}function dn(te){var ue;if(ne=="codepoint"){var Ee=Ke.text.charCodeAt(E.ch+(ne>0?0:-1));isNaN(Ee)?ue=null:ue=new He(E.line,Math.max(0,Math.min(Ke.text.length,E.ch+re*(Ee>=55296&&Ee<56320?2:1))),-re)}else ie?ue=bc(a.cm,Ke,E,re):ue=xu(Ke,E,re);if(ue==null)if(!te&&xt())E=cu(ie,a.cm,Ke,E.line,ot);else return!1;else E=ue;return!0}if(ne=="char"||ne=="codepoint")dn();else if(ne=="column")dn(!0);else if(ne=="word"||ne=="group")for(var yn=null,Wn=ne=="group",Un=a.cm&&a.cm.getHelper(E,"wordChars"),Ir=!0;!(re<0&&!dn(!Ir));Ir=!1){var Fr=Ke.text.charAt(E.ch)||` +`,oe=je(Fr,Un)?"w":Wn&&Fr==` +`?"n":!Wn||/\s/.test(Fr)?null:"p";if(Wn&&!Ir&&!oe&&(oe="s"),yn&&yn!=oe){re<0&&(re=1,dn(),E.sticky="after");break}if(oe&&(yn=oe),re>0&&!dn(!Ir))break}var z=Bs(a,E,ye,Be,!0);return et(ye,z)&&(z.hitSide=!0),z}function kc(a,E,re,ne){var ie=a.doc,ye=E.left,Be;if(ne=="page"){var Ke=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ot=Math.max(Ke-.5*$i(a.display),3);Be=(re>0?E.bottom:E.top)+re*ot}else ne=="line"&&(Be=re>0?E.bottom+3:E.top-3);for(var xt;xt=eo(a,ye,Be),!!xt.outside;){if(re<0?Be<=0:Be>=ie.height){xt.hitSide=!0;break}Be+=re*5}return xt}var Di=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Ye,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Di.prototype.init=function(a){var E=this,re=this,ne=re.cm,ie=re.div=a.lineDiv;Nu(ie,ne.options.spellcheck,ne.options.autocorrect,ne.options.autocapitalize);function ye(Ke){for(var ot=Ke.target;ot;ot=ot.parentNode){if(ot==ie)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ot.className))break}return!1}Mt(ie,"paste",function(Ke){!ye(Ke)||ln(ne,Ke)||Iu(Ke,ne)||fe<=11&&setTimeout(ke(ne,function(){return E.updateFromDOM()}),20)}),Mt(ie,"compositionstart",function(Ke){E.composing={data:Ke.data,done:!1}}),Mt(ie,"compositionupdate",function(Ke){E.composing||(E.composing={data:Ke.data,done:!1})}),Mt(ie,"compositionend",function(Ke){E.composing&&(Ke.data!=E.composing.data&&E.readFromDOMSoon(),E.composing.done=!0)}),Mt(ie,"touchstart",function(){return re.forceCompositionEnd()}),Mt(ie,"input",function(){E.composing||E.readFromDOMSoon()});function Be(Ke){if(!(!ye(Ke)||ln(ne,Ke))){if(ne.somethingSelected())nu({lineWise:!1,text:ne.getSelections()}),Ke.type=="cut"&&ne.replaceSelection("",null,"cut");else if(ne.options.lineWiseCopyCut){var ot=nc(ne);nu({lineWise:!0,text:ot.text}),Ke.type=="cut"&&ne.operation(function(){ne.setSelections(ot.ranges,0,st),ne.replaceSelection("",null,"cut")})}else return;if(Ke.clipboardData){Ke.clipboardData.clearData();var xt=ws.text.join(` +`);if(Ke.clipboardData.setData("Text",xt),Ke.clipboardData.getData("Text")==xt){Ke.preventDefault();return}}var dn=rc(),yn=dn.firstChild;ne.display.lineSpace.insertBefore(dn,ne.display.lineSpace.firstChild),yn.value=ws.text.join(` +`);var Wn=document.activeElement;Rt(yn),setTimeout(function(){ne.display.lineSpace.removeChild(dn),Wn.focus(),Wn==ie&&re.showPrimarySelection()},50)}}Mt(ie,"copy",Be),Mt(ie,"cut",Be)},Di.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Di.prototype.prepareSelection=function(){var a=kl(this.cm,!1);return a.focus=document.activeElement==this.div,a},Di.prototype.showSelection=function(a,E){!a||!this.cm.display.view.length||((a.focus||E)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Di.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Di.prototype.showPrimarySelection=function(){var a=this.getSelection(),E=this.cm,re=E.doc.sel.primary(),ne=re.from(),ie=re.to();if(E.display.viewTo==E.display.viewFrom||ne.line>=E.display.viewTo||ie.line=E.display.viewFrom&&ac(E,ne)||{node:Ke[0].measure.map[2],offset:0},xt=ie.linea.firstLine()&&(ne=He(ne.line-1,jn(a.doc,ne.line-1).length)),ie.ch==jn(a.doc,ie.line).text.length&&ie.lineE.viewTo-1)return!1;var ye,Be,Ke;ne.line==E.viewFrom||(ye=So(a,ne.line))==0?(Be=ve(E.view[0].line),Ke=E.view[0].node):(Be=ve(E.view[ye].line),Ke=E.view[ye-1].node.nextSibling);var ot=So(a,ie.line),xt,dn;if(ot==E.view.length-1?(xt=E.viewTo-1,dn=E.lineDiv.lastChild):(xt=ve(E.view[ot+1].line)-1,dn=E.view[ot+1].node.previousSibling),!Ke)return!1;for(var yn=a.doc.splitLines(Lc(a,Ke,dn,Be,xt)),Wn=sr(a.doc,He(Be,0),He(xt,jn(a.doc,xt).text.length));yn.length>1&&Wn.length>1;)if(Ht(yn)==Ht(Wn))yn.pop(),Wn.pop(),xt--;else if(yn[0]==Wn[0])yn.shift(),Wn.shift(),Be++;else break;for(var Un=0,Ir=0,Fr=yn[0],oe=Wn[0],z=Math.min(Fr.length,oe.length);Unne.ch&&te.charCodeAt(te.length-Ir-1)==ue.charCodeAt(ue.length-Ir-1);)Un--,Ir++;yn[yn.length-1]=te.slice(0,te.length-Ir).replace(/^\u200b+/,""),yn[0]=yn[0].slice(Un).replace(/\u200b+$/,"");var Me=He(Be,Un),Xe=He(xt,Wn.length?Ht(Wn).length-Ir:0);if(yn.length>1||yn[0]||Vt(Me,Xe))return ll(a.doc,yn,Me,Xe,"+input"),!0},Di.prototype.ensurePolled=function(){this.forceCompositionEnd()},Di.prototype.reset=function(){this.forceCompositionEnd()},Di.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Di.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Di.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Ae(this.cm,function(){return Ki(a.cm)})},Di.prototype.setUneditable=function(a){a.contentEditable="false"},Di.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||ke(this.cm,Au)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Di.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Di.prototype.onContextMenu=function(){},Di.prototype.resetPosition=function(){},Di.prototype.needsContentAttribute=!0;function ac(a,E){var re=mo(a,E.line);if(!re||re.hidden)return null;var ne=jn(a.doc,E.line),ie=Ts(re,ne,E.line),ye=pn(ne,a.doc.direction),Be="left";if(ye){var Ke=Pt(ye,E.ch);Be=Ke%2?"right":"left"}var ot=el(ie.map,E.ch,Be);return ot.offset=ot.collapse=="right"?ot.end:ot.start,ot}function Dc(a){for(var E=a;E;E=E.parentNode)if(/CodeMirror-gutter-wrapper/.test(E.className))return!0;return!1}function ru(a,E){return E&&(a.bad=!0),a}function Lc(a,E,re,ne,ie){var ye="",Be=!1,Ke=a.doc.lineSeparator(),ot=!1;function xt(Un){return function(Ir){return Ir.id==Un}}function dn(){Be&&(ye+=Ke,ot&&(ye+=Ke),Be=ot=!1)}function yn(Un){Un&&(dn(),ye+=Un)}function Wn(Un){if(Un.nodeType==1){var Ir=Un.getAttribute("cm-text");if(Ir){yn(Ir);return}var Fr=Un.getAttribute("cm-marker"),oe;if(Fr){var z=a.findMarks(He(ne,0),He(ie+1,0),xt(+Fr));z.length&&(oe=z[0].find(0))&&yn(sr(a.doc,oe.from,oe.to).join(Ke));return}if(Un.getAttribute("contenteditable")=="false")return;var te=/^(pre|div|p|li|table|br)$/i.test(Un.nodeName);if(!/^br$/i.test(Un.nodeName)&&Un.textContent.length==0)return;te&&dn();for(var ue=0;ue=9&&E.hasSelection&&(E.hasSelection=null),re.poll()}),Mt(ie,"paste",function(Be){ln(ne,Be)||Iu(Be,ne)||(ne.state.pasteIncoming=+new Date,re.fastPoll())});function ye(Be){if(!ln(ne,Be)){if(ne.somethingSelected())nu({lineWise:!1,text:ne.getSelections()});else if(ne.options.lineWiseCopyCut){var Ke=nc(ne);nu({lineWise:!0,text:Ke.text}),Be.type=="cut"?ne.setSelections(Ke.ranges,null,st):(re.prevInput="",ie.value=Ke.text.join(` +`),Rt(ie))}else return;Be.type=="cut"&&(ne.state.cutIncoming=+new Date)}}Mt(ie,"cut",ye),Mt(ie,"copy",ye),Mt(a.scroller,"paste",function(Be){if(!(ti(a,Be)||ln(ne,Be))){if(!ie.dispatchEvent){ne.state.pasteIncoming=+new Date,re.focus();return}var Ke=new Event("paste");Ke.clipboardData=Be.clipboardData,ie.dispatchEvent(Ke)}}),Mt(a.lineSpace,"selectstart",function(Be){ti(a,Be)||Yt(Be)}),Mt(ie,"compositionstart",function(){var Be=ne.getCursor("from");re.composing&&re.composing.range.clear(),re.composing={start:Be,range:ne.markText(Be,ne.getCursor("to"),{className:"CodeMirror-composing"})}}),Mt(ie,"compositionend",function(){re.composing&&(re.poll(),re.composing.range.clear(),re.composing=null)})},ro.prototype.createField=function(a){this.wrapper=rc(),this.textarea=this.wrapper.firstChild},ro.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},ro.prototype.prepareSelection=function(){var a=this.cm,E=a.display,re=a.doc,ne=kl(a);if(a.options.moveInputWithCursor){var ie=Xi(a,re.sel.primary().head,"div"),ye=E.wrapper.getBoundingClientRect(),Be=E.lineDiv.getBoundingClientRect();ne.teTop=Math.max(0,Math.min(E.wrapper.clientHeight-10,ie.top+Be.top-ye.top)),ne.teLeft=Math.max(0,Math.min(E.wrapper.clientWidth-10,ie.left+Be.left-ye.left))}return ne},ro.prototype.showSelection=function(a){var E=this.cm,re=E.display;it(re.cursorDiv,a.cursors),it(re.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},ro.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var E=this.cm;if(E.somethingSelected()){this.prevInput="";var re=E.getSelection();this.textarea.value=re,E.state.focused&&Rt(this.textarea),be&&fe>=9&&(this.hasSelection=re)}else a||(this.prevInput=this.textarea.value="",be&&fe>=9&&(this.hasSelection=null))}},ro.prototype.getField=function(){return this.textarea},ro.prototype.supportsTouch=function(){return!1},ro.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Je||St()!=this.textarea))try{this.textarea.focus()}catch(a){}},ro.prototype.blur=function(){this.textarea.blur()},ro.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ro.prototype.receivedFocus=function(){this.slowPoll()},ro.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},ro.prototype.fastPoll=function(){var a=!1,E=this;E.pollingFast=!0;function re(){var ne=E.poll();!ne&&!a?(a=!0,E.polling.set(60,re)):(E.pollingFast=!1,E.slowPoll())}E.polling.set(20,re)},ro.prototype.poll=function(){var a=this,E=this.cm,re=this.textarea,ne=this.prevInput;if(this.contextMenuPending||!E.state.focused||Er(re)&&!ne&&!this.composing||E.isReadOnly()||E.options.disableInput||E.state.keySeq)return!1;var ie=re.value;if(ie==ne&&!E.somethingSelected())return!1;if(be&&fe>=9&&this.hasSelection===ie||We&&/[\uf700-\uf7ff]/.test(ie))return E.display.input.reset(),!1;if(E.doc.sel==E.display.selForContextMenu){var ye=ie.charCodeAt(0);if(ye==8203&&!ne&&(ne="\u200B"),ye==8666)return this.reset(),this.cm.execCommand("undo")}for(var Be=0,Ke=Math.min(ne.length,ie.length);Be1e3||ie.indexOf(` +`)>-1?re.value=a.prevInput="":a.prevInput=ie,a.composing&&(a.composing.range.clear(),a.composing.range=E.markText(a.composing.start,E.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ro.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ro.prototype.onKeyPress=function(){be&&fe>=9&&(this.hasSelection=null),this.fastPoll()},ro.prototype.onContextMenu=function(a){var E=this,re=E.cm,ne=re.display,ie=E.textarea;E.contextMenuPending&&E.contextMenuPending();var ye=Ho(re,a),Be=ne.scroller.scrollTop;if(!ye||xe)return;var Ke=re.options.resetSelectionOnContextMenu;Ke&&re.doc.sel.contains(ye)==-1&&ke(re,Za)(re.doc,Ne(ye),st);var ot=ie.style.cssText,xt=E.wrapper.style.cssText,dn=E.wrapper.offsetParent.getBoundingClientRect();E.wrapper.style.cssText="position: static",ie.style.cssText=`position: absolute; width: 30px; height: 30px; + top: `+(a.clientY-dn.top-5)+"px; left: "+(a.clientX-dn.left-5)+`px; z-index: 1000; background: `+(be?"rgba(255, 255, 255, .05)":"transparent")+`; - outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var En;we&&(En=window.scrollY),ne.input.focus(),we&&window.scrollTo(null,En),ne.input.reset(),re.somethingSelected()||(ie.value=E.prevInput=" "),E.contextMenuPending=Hn,ne.selForContextMenu=re.doc.sel,clearTimeout(ne.detectingSelectAll);function Vn(){if(ie.selectionStart!=null){var zr=re.somethingSelected(),oe="\u200B"+(zr?ie.value:"");ie.value="\u21DA",ie.value=oe,E.prevInput=zr?"":"\u200B",ie.selectionStart=1,ie.selectionEnd=oe.length,ne.selForContextMenu=re.doc.sel}}function Hn(){if(E.contextMenuPending==Hn&&(E.contextMenuPending=!1,E.wrapper.style.cssText=yt,ie.style.cssText=at,be&&fe<9&&ne.scrollbars.setScrollTop(ne.scroller.scrollTop=Be),ie.selectionStart!=null)){(!be||be&&fe<9)&&Vn();var zr=0,oe=function(){ne.selForContextMenu==re.doc.sel&&ie.selectionStart==0&&ie.selectionEnd>0&&E.prevInput=="\u200B"?ke(re,Vs)(re):zr++<10?ne.detectingSelectAll=setTimeout(oe,500):(ne.selForContextMenu=null,ne.input.reset())};ne.detectingSelectAll=setTimeout(oe,200)}}if(be&&fe>=9&&Vn(),_e){Et(a);var Rr=function(){Dn(window,"mouseup",Rr),setTimeout(Hn,20)};Bt(window,"mouseup",Rr)}else setTimeout(Hn,50)},to.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},to.prototype.setUneditable=function(){},to.prototype.needsContentAttribute=!1;function jc(a,E){if(E=E?On(E):{},E.value=a.value,!E.tabindex&&a.tabIndex&&(E.tabindex=a.tabIndex),!E.placeholder&&a.placeholder&&(E.placeholder=a.placeholder),E.autofocus==null){var re=_t();E.autofocus=re==a||a.getAttribute("autofocus")!=null&&re==document.body}function ne(){a.value=Xe.getValue()}var ie;if(a.form&&(Bt(a.form,"submit",ne),!E.leaveSubmitMethodAlone)){var ye=a.form;ie=ye.submit;try{var Be=ye.submit=function(){ne(),ye.submit=ie,ye.submit(),ye.submit=Be}}catch(at){}}E.finishInit=function(at){at.save=ne,at.getTextArea=function(){return a},at.toTextArea=function(){at.toTextArea=isNaN,ne(),a.parentNode.removeChild(at.getWrapperElement()),a.style.display="",a.form&&(Dn(a.form,"submit",ne),!E.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ie))}},a.style.display="none";var Xe=Wi(function(at){return a.parentNode.insertBefore(at,a.nextSibling)},E);return Xe}function Dc(a){a.off=Dn,a.on=Bt,a.wheelEventPixels=Ii,a.Doc=Fo,a.splitLines=or,a.countColumn=wt,a.findColumn=Rn,a.isWordChar=Te,a.Pass=on,a.signal=Cn,a.Line=Ha,a.changeEnd=Ot,a.scrollbarModel=ll,a.Pos=Mt,a.cmpPos=rn,a.modes=br,a.mimeModes=qn,a.resolveMode=jn,a.getMode=$r,a.modeExtensions=Jr,a.extendMode=Gr,a.copyState=la,a.startState=fa,a.innerMode=Hr,a.commands=Yl,a.keyMap=$s,a.keyName=hc,a.isModifierKey=su,a.lookupKey=Pl,a.normalizeKeyMap=pc,a.StringStream=Yr,a.SharedTextMarker=Ml,a.TextMarker=Zs,a.LineWidget=Ll,a.e_preventDefault=qt,a.e_stopPropagation=zt,a.e_stop=Et,a.addClass=Ke,a.contains=Tt,a.rmClass=tt,a.keyNames=Tl}Ac(Wi),Hc(Wi);var nc="iter insert remove copy getEditor constructor".split(" ");for(var Nu in Fo.prototype)Fo.prototype.hasOwnProperty(Nu)&&Ee(nc,Nu)<0&&(Wi.prototype[Nu]=function(a){return function(){return a.apply(this.doc,arguments)}}(Fo.prototype[Nu]));return Lt(Fo),Wi.inputStyles={textarea:to,contenteditable:Di},Wi.defineMode=function(a){!Wi.defaults.mode&&a!="null"&&(Wi.defaults.mode=a),Ir.apply(this,arguments)},Wi.defineMIME=sr,Wi.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Wi.defineMIME("text/plain","null"),Wi.defineExtension=function(a,E){Wi.prototype[a]=E},Wi.defineDocExtension=function(a,E){Fo.prototype[a]=E},Wi.fromTextArea=jc,Dc(Wi),Wi.version="5.58.2",Wi})},25419:function(Ce,ae,y){(function(b){b(y(89780),y(15525),y(98101))})(function(b){"use strict";b.defineMode("markdown",function(he,le){var pe=b.getMode(he,"text/html"),be=pe.name=="null";function fe(wt){if(b.findModeByName){var $e=b.findModeByName(wt);$e&&(wt=$e.mime||$e.mimes[0])}var Ee=b.getMode(he,wt);return Ee.name=="null"?null:Ee}le.highlightFormatting===void 0&&(le.highlightFormatting=!1),le.maxBlockquoteDepth===void 0&&(le.maxBlockquoteDepth=0),le.taskLists===void 0&&(le.taskLists=!1),le.strikethrough===void 0&&(le.strikethrough=!1),le.emoji===void 0&&(le.emoji=!1),le.fencedCodeBlockHighlighting===void 0&&(le.fencedCodeBlockHighlighting=!0),le.fencedCodeBlockDefaultMode===void 0&&(le.fencedCodeBlockDefaultMode="text/plain"),le.xml===void 0&&(le.xml=!0),le.tokenTypeOverrides===void 0&&(le.tokenTypeOverrides={});var we={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Oe in we)we.hasOwnProperty(Oe)&&le.tokenTypeOverrides[Oe]&&(we[Oe]=le.tokenTypeOverrides[Oe]);var Re=/^([*\-_])(?:\s*\1){2,}\s*$/,xe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,je=/^\[(x| )\](?=\s)/i,Fe=le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,xt=/^ {0,3}(?:\={1,}|-{2,})\s*$/,nt=/^[^#!\[\]*_\\<>` "'(~:]+/,et=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Je=/^\s*\[[^\]]+?\]:.*$/,Ge=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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\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\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\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]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,We=" ";function Ve(wt,$e,Ee){return $e.f=$e.inline=Ee,Ee(wt,$e)}function Qe(wt,$e,Ee){return $e.f=$e.block=Ee,Ee(wt,$e)}function He(wt){return!wt||!/\S/.test(wt.string)}function _e(wt){if(wt.linkTitle=!1,wt.linkHref=!1,wt.linkText=!1,wt.em=!1,wt.strong=!1,wt.strikethrough=!1,wt.quote=0,wt.indentedCode=!1,wt.f==tt){var $e=be;if(!$e){var Ee=b.innerMode(pe,wt.htmlState);$e=Ee.mode.name=="xml"&&Ee.state.tagStart===null&&!Ee.state.context&&Ee.state.tokenize.isInText}$e&&(wt.f=mt,wt.block=Ze,wt.htmlState=null)}return wt.trailingSpace=0,wt.trailingSpaceNewLine=!1,wt.prevLine=wt.thisLine,wt.thisLine={stream:null},null}function Ze(wt,$e){var Ee=wt.column()===$e.indentation,en=He($e.prevLine.stream),on=$e.indentedCode,it=$e.prevLine.hr,Ht=$e.list!==!1,Yt=($e.listStack[$e.listStack.length-1]||0)+3;$e.indentedCode=!1;var Rn=$e.indentation;if($e.indentationDiff===null&&($e.indentationDiff=$e.indentation,Ht)){for($e.list=null;Rn<$e.listStack[$e.listStack.length-1];)$e.listStack.pop(),$e.listStack.length?$e.indentation=$e.listStack[$e.listStack.length-1]:$e.list=!1;$e.list!==!1&&($e.indentationDiff=Rn-$e.listStack[$e.listStack.length-1])}var ct=!en&&!it&&!$e.prevLine.header&&(!Ht||!on)&&!$e.prevLine.fencedCodeEnd,Sn=($e.list===!1||it||en)&&$e.indentation<=Yt&&wt.match(Re),Zt=null;if($e.indentationDiff>=4&&(on||$e.prevLine.fencedCodeEnd||$e.prevLine.header||en))return wt.skipToEnd(),$e.indentedCode=!0,we.code;if(wt.eatSpace())return null;if(Ee&&$e.indentation<=Yt&&(Zt=wt.match(Fe))&&Zt[1].length<=6)return $e.quote=0,$e.header=Zt[1].length,$e.thisLine.header=!0,le.highlightFormatting&&($e.formatting="header"),$e.f=$e.inline,rt($e);if($e.indentation<=Yt&&wt.eat(">"))return $e.quote=Ee?1:$e.quote+1,le.highlightFormatting&&($e.formatting="quote"),wt.eatSpace(),rt($e);if(!Sn&&!$e.setext&&Ee&&$e.indentation<=Yt&&(Zt=wt.match(xe))){var vn=Zt[1]?"ol":"ul";return $e.indentation=Rn+wt.current().length,$e.list=!0,$e.quote=0,$e.listStack.push($e.indentation),$e.em=!1,$e.strong=!1,$e.code=!1,$e.strikethrough=!1,le.taskLists&&wt.match(je,!1)&&($e.taskList=!0),$e.f=$e.inline,le.highlightFormatting&&($e.formatting=["list","list-"+vn]),rt($e)}else{if(Ee&&$e.indentation<=Yt&&(Zt=wt.match(et,!0)))return $e.quote=0,$e.fencedEndRE=new RegExp(Zt[1]+"+ *$"),$e.localMode=le.fencedCodeBlockHighlighting&&fe(Zt[2]||le.fencedCodeBlockDefaultMode),$e.localMode&&($e.localState=b.startState($e.localMode)),$e.f=$e.block=gt,le.highlightFormatting&&($e.formatting="code-block"),$e.code=-1,rt($e);if($e.setext||(!ct||!Ht)&&!$e.quote&&$e.list===!1&&!$e.code&&!Sn&&!Je.test(wt.string)&&(Zt=wt.lookAhead(1))&&(Zt=Zt.match(xt)))return $e.setext?($e.header=$e.setext,$e.setext=0,wt.skipToEnd(),le.highlightFormatting&&($e.formatting="header")):($e.header=Zt[0].charAt(0)=="="?1:2,$e.setext=$e.header),$e.thisLine.header=!0,$e.f=$e.inline,rt($e);if(Sn)return wt.skipToEnd(),$e.hr=!0,$e.thisLine.hr=!0,we.hr;if(wt.peek()==="[")return Ve(wt,$e,Rt)}return Ve(wt,$e,$e.inline)}function tt(wt,$e){var Ee=pe.token(wt,$e.htmlState);if(!be){var en=b.innerMode(pe,$e.htmlState);(en.mode.name=="xml"&&en.state.tagStart===null&&!en.state.context&&en.state.tokenize.isInText||$e.md_inside&&wt.current().indexOf(">")>-1)&&($e.f=mt,$e.block=Ze,$e.htmlState=null)}return Ee}function gt(wt,$e){var Ee=$e.listStack[$e.listStack.length-1]||0,en=$e.indentation=wt.quote?$e.push(we.formatting+"-"+wt.formatting[Ee]+"-"+wt.quote):$e.push("error"))}if(wt.taskOpen)return $e.push("meta"),$e.length?$e.join(" "):null;if(wt.taskClosed)return $e.push("property"),$e.length?$e.join(" "):null;if(wt.linkHref?$e.push(we.linkHref,"url"):(wt.strong&&$e.push(we.strong),wt.em&&$e.push(we.em),wt.strikethrough&&$e.push(we.strikethrough),wt.emoji&&$e.push(we.emoji),wt.linkText&&$e.push(we.linkText),wt.code&&$e.push(we.code),wt.image&&$e.push(we.image),wt.imageAltText&&$e.push(we.imageAltText,"link"),wt.imageMarker&&$e.push(we.imageMarker)),wt.header&&$e.push(we.header,we.header+"-"+wt.header),wt.quote&&($e.push(we.quote),!le.maxBlockquoteDepth||le.maxBlockquoteDepth>=wt.quote?$e.push(we.quote+"-"+wt.quote):$e.push(we.quote+"-"+le.maxBlockquoteDepth)),wt.list!==!1){var en=(wt.listStack.length-1)%3;en?en===1?$e.push(we.list2):$e.push(we.list3):$e.push(we.list1)}return wt.trailingSpaceNewLine?$e.push("trailing-space-new-line"):wt.trailingSpace&&$e.push("trailing-space-"+(wt.trailingSpace%2?"a":"b")),$e.length?$e.join(" "):null}function It(wt,$e){if(wt.match(nt,!0))return rt($e)}function mt(wt,$e){var Ee=$e.text(wt,$e);if(typeof Ee!="undefined")return Ee;if($e.list)return $e.list=null,rt($e);if($e.taskList){var en=wt.match(je,!0)[1]===" ";return en?$e.taskOpen=!0:$e.taskClosed=!0,le.highlightFormatting&&($e.formatting="task"),$e.taskList=!1,rt($e)}if($e.taskOpen=!1,$e.taskClosed=!1,$e.header&&wt.match(/^#+$/,!0))return le.highlightFormatting&&($e.formatting="header"),rt($e);var on=wt.next();if($e.linkTitle){$e.linkTitle=!1;var it=on;on==="("&&(it=")"),it=(it+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ht="^\\s*(?:[^"+it+"\\\\]+|\\\\\\\\|\\\\.)"+it;if(wt.match(new RegExp(Ht),!0))return we.linkHref}if(on==="`"){var Yt=$e.formatting;le.highlightFormatting&&($e.formatting="code"),wt.eatWhile("`");var Rn=wt.current().length;if($e.code==0&&(!$e.quote||Rn==1))return $e.code=Rn,rt($e);if(Rn==$e.code){var ct=rt($e);return $e.code=0,ct}else return $e.formatting=Yt,rt($e)}else if($e.code)return rt($e);if(on==="\\"&&(wt.next(),le.highlightFormatting)){var Sn=rt($e),Zt=we.formatting+"-escape";return Sn?Sn+" "+Zt:Zt}if(on==="!"&&wt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return $e.imageMarker=!0,$e.image=!0,le.highlightFormatting&&($e.formatting="image"),rt($e);if(on==="["&&$e.imageMarker&&wt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return $e.imageMarker=!1,$e.imageAltText=!0,le.highlightFormatting&&($e.formatting="image"),rt($e);if(on==="]"&&$e.imageAltText){le.highlightFormatting&&($e.formatting="image");var Sn=rt($e);return $e.imageAltText=!1,$e.image=!1,$e.inline=$e.f=Tt,Sn}if(on==="["&&!$e.image)return $e.linkText&&wt.match(/^.*?\]/)||($e.linkText=!0,le.highlightFormatting&&($e.formatting="link")),rt($e);if(on==="]"&&$e.linkText){le.highlightFormatting&&($e.formatting="link");var Sn=rt($e);return $e.linkText=!1,$e.inline=$e.f=wt.match(/\(.*?\)| ?\[.*?\]/,!1)?Tt:mt,Sn}if(on==="<"&&wt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){$e.f=$e.inline=ut,le.highlightFormatting&&($e.formatting="link");var Sn=rt($e);return Sn?Sn+=" ":Sn="",Sn+we.linkInline}if(on==="<"&&wt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){$e.f=$e.inline=ut,le.highlightFormatting&&($e.formatting="link");var Sn=rt($e);return Sn?Sn+=" ":Sn="",Sn+we.linkEmail}if(le.xml&&on==="<"&&wt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var vn=wt.string.indexOf(">",wt.pos);if(vn!=-1){var un=wt.string.substring(wt.start,vn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(un)&&($e.md_inside=!0)}return wt.backUp(1),$e.htmlState=b.startState(pe),Qe(wt,$e,tt)}if(le.xml&&on==="<"&&wt.match(/^\/\w*?>/))return $e.md_inside=!1,"tag";if(on==="*"||on==="_"){for(var De=1,me=wt.pos==1?" ":wt.string.charAt(wt.pos-2);De<3&&wt.eat(on);)De++;var ce=wt.peek()||" ",Te=!/\s/.test(ce)&&(!Ge.test(ce)||/\s/.test(me)||Ge.test(me)),Ue=!/\s/.test(me)&&(!Ge.test(me)||/\s/.test(ce)||Ge.test(ce)),ge=null,Me=null;if(De%2&&(!$e.em&&Te&&(on==="*"||!Ue||Ge.test(me))?ge=!0:$e.em==on&&Ue&&(on==="*"||!Te||Ge.test(ce))&&(ge=!1)),De>1&&(!$e.strong&&Te&&(on==="*"||!Ue||Ge.test(me))?Me=!0:$e.strong==on&&Ue&&(on==="*"||!Te||Ge.test(ce))&&(Me=!1)),Me!=null||ge!=null){le.highlightFormatting&&($e.formatting=ge==null?"strong":Me==null?"em":"strong em"),ge===!0&&($e.em=on),Me===!0&&($e.strong=on);var ct=rt($e);return ge===!1&&($e.em=!1),Me===!1&&($e.strong=!1),ct}}else if(on===" "&&(wt.eat("*")||wt.eat("_"))){if(wt.peek()===" ")return rt($e);wt.backUp(1)}if(le.strikethrough){if(on==="~"&&wt.eatWhile(on)){if($e.strikethrough){le.highlightFormatting&&($e.formatting="strikethrough");var ct=rt($e);return $e.strikethrough=!1,ct}else if(wt.match(/^[^\s]/,!1))return $e.strikethrough=!0,le.highlightFormatting&&($e.formatting="strikethrough"),rt($e)}else if(on===" "&&wt.match(/^~~/,!0)){if(wt.peek()===" ")return rt($e);wt.backUp(2)}}if(le.emoji&&on===":"&&wt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){$e.emoji=!0,le.highlightFormatting&&($e.formatting="emoji");var ot=rt($e);return $e.emoji=!1,ot}return on===" "&&(wt.match(/^ +$/,!1)?$e.trailingSpace++:$e.trailingSpace&&($e.trailingSpaceNewLine=!0)),rt($e)}function ut(wt,$e){var Ee=wt.next();if(Ee===">"){$e.f=$e.inline=mt,le.highlightFormatting&&($e.formatting="link");var en=rt($e);return en?en+=" ":en="",en+we.linkInline}return wt.match(/^[^>]+/,!0),we.linkInline}function Tt(wt,$e){if(wt.eatSpace())return null;var Ee=wt.next();return Ee==="("||Ee==="["?($e.f=$e.inline=Ke(Ee==="("?")":"]"),le.highlightFormatting&&($e.formatting="link-string"),$e.linkHref=!0,rt($e)):"error"}var _t={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ke(wt){return function($e,Ee){var en=$e.next();if(en===wt){Ee.f=Ee.inline=mt,le.highlightFormatting&&(Ee.formatting="link-string");var on=rt(Ee);return Ee.linkHref=!1,on}return $e.match(_t[wt]),Ee.linkHref=!0,rt(Ee)}}function Rt(wt,$e){return wt.match(/^([^\]\\]|\\.)*\]:/,!1)?($e.f=Nt,wt.next(),le.highlightFormatting&&($e.formatting="link"),$e.linkText=!0,rt($e)):Ve(wt,$e,mt)}function Nt(wt,$e){if(wt.match(/^\]:/,!0)){$e.f=$e.inline=Kt,le.highlightFormatting&&($e.formatting="link");var Ee=rt($e);return $e.linkText=!1,Ee}return wt.match(/^([^\]\\]|\\.)+/,!0),we.linkText}function Kt(wt,$e){return wt.eatSpace()?null:(wt.match(/^[^\s]+/,!0),wt.peek()===void 0?$e.linkTitle=!0:wt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),$e.f=$e.inline=mt,we.linkHref+" url")}var On={startState:function(){return{f:Ze,prevLine:{stream:null},thisLine:{stream:null},block:Ze,htmlState:null,indentation:0,inline:mt,text:It,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(wt){return{f:wt.f,prevLine:wt.prevLine,thisLine:wt.thisLine,block:wt.block,htmlState:wt.htmlState&&b.copyState(pe,wt.htmlState),indentation:wt.indentation,localMode:wt.localMode,localState:wt.localMode?b.copyState(wt.localMode,wt.localState):null,inline:wt.inline,text:wt.text,formatting:!1,linkText:wt.linkText,linkTitle:wt.linkTitle,linkHref:wt.linkHref,code:wt.code,em:wt.em,strong:wt.strong,strikethrough:wt.strikethrough,emoji:wt.emoji,header:wt.header,setext:wt.setext,hr:wt.hr,taskList:wt.taskList,list:wt.list,listStack:wt.listStack.slice(0),quote:wt.quote,indentedCode:wt.indentedCode,trailingSpace:wt.trailingSpace,trailingSpaceNewLine:wt.trailingSpaceNewLine,md_inside:wt.md_inside,fencedEndRE:wt.fencedEndRE}},token:function(wt,$e){if($e.formatting=!1,wt!=$e.thisLine.stream){if($e.header=0,$e.hr=!1,wt.match(/^\s*$/,!0))return _e($e),null;if($e.prevLine=$e.thisLine,$e.thisLine={stream:wt},$e.taskList=!1,$e.trailingSpace=0,$e.trailingSpaceNewLine=!1,!$e.localState&&($e.f=$e.block,$e.f!=tt)){var Ee=wt.match(/^\s*/,!0)[0].replace(/\t/g,We).length;if($e.indentation=Ee,$e.indentationDiff=null,Ee>0)return null}}return $e.f(wt,$e)},innerMode:function(wt){return wt.block==tt?{state:wt.htmlState,mode:pe}:wt.localState?{state:wt.localState,mode:wt.localMode}:{state:wt,mode:On}},indent:function(wt,$e,Ee){return wt.block==tt&&pe.indent?pe.indent(wt.htmlState,$e,Ee):wt.localState&&wt.localMode.indent?wt.localMode.indent(wt.localState,$e,Ee):b.Pass},blankLine:_e,getType:rt,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return On},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";b.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var he=0;he-1&&pe.substring(we+1,pe.length);if(Oe)return b.findModeByExtension(Oe)},b.findModeByName=function(pe){pe=pe.toLowerCase();for(var be=0;be0?nt.cmdState[nt.cmdState.length-1]:null}function fe(nt){var et=nt.cmdState.pop();et&&et.closeBracket()}function we(nt){for(var et=nt.cmdState,Je=et.length-1;Je>=0;Je--){var Ge=et[Je];if(Ge.name!="DEFAULT")return Ge}return{styleIdentifier:function(){return null}}}function Oe(nt,et,Je){return function(){this.name=nt,this.bracketNo=0,this.style=et,this.styles=Je,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Re={};Re.importmodule=Oe("importmodule","tag",["string","builtin"]),Re.documentclass=Oe("documentclass","tag",["","atom"]),Re.usepackage=Oe("usepackage","tag",["atom"]),Re.begin=Oe("begin","tag",["atom"]),Re.end=Oe("end","tag",["atom"]),Re.label=Oe("label","tag",["atom"]),Re.ref=Oe("ref","tag",["atom"]),Re.eqref=Oe("eqref","tag",["atom"]),Re.cite=Oe("cite","tag",["atom"]),Re.bibitem=Oe("bibitem","tag",["atom"]),Re.Bibitem=Oe("Bibitem","tag",["atom"]),Re.RBibitem=Oe("RBibitem","tag",["atom"]),Re.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function xe(nt,et){nt.f=et}function je(nt,et){var Je;if(nt.match(/^\\[a-zA-Z@]+/)){var Ge=nt.current().slice(1);return Je=Re.hasOwnProperty(Ge)?Re[Ge]:Re.DEFAULT,Je=new Je,pe(et,Je),xe(et,xt),Je.style}if(nt.match(/^\\[$&%#{}_]/)||nt.match(/^\\[,;!\/\\]/))return"tag";if(nt.match("\\["))return xe(et,function(Ve,Qe){return Fe(Ve,Qe,"\\]")}),"keyword";if(nt.match("\\("))return xe(et,function(Ve,Qe){return Fe(Ve,Qe,"\\)")}),"keyword";if(nt.match("$$"))return xe(et,function(Ve,Qe){return Fe(Ve,Qe,"$$")}),"keyword";if(nt.match("$"))return xe(et,function(Ve,Qe){return Fe(Ve,Qe,"$")}),"keyword";var We=nt.next();if(We=="%")return nt.skipToEnd(),"comment";if(We=="}"||We=="]"){if(Je=be(et),Je)Je.closeBracket(We),xe(et,xt);else return"error";return"bracket"}else return We=="{"||We=="["?(Je=Re.DEFAULT,Je=new Je,pe(et,Je),"bracket"):/\d/.test(We)?(nt.eatWhile(/[\w.%]/),"atom"):(nt.eatWhile(/[\w\-_]/),Je=we(et),Je.name=="begin"&&(Je.argument=nt.current()),Je.styleIdentifier())}function Fe(nt,et,Je){if(nt.eatSpace())return null;if(Je&&nt.match(Je))return xe(et,je),"keyword";if(nt.match(/^\\[a-zA-Z@]+/))return"tag";if(nt.match(/^[a-zA-Z]+/))return"variable-2";if(nt.match(/^\\[$&%#{}_]/)||nt.match(/^\\[,;!\/]/)||nt.match(/^[\^_&]/))return"tag";if(nt.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(nt.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Ge=nt.next();return Ge=="{"||Ge=="}"||Ge=="["||Ge=="]"||Ge=="("||Ge==")"?"bracket":Ge=="%"?(nt.skipToEnd(),"comment"):"error"}function xt(nt,et){var Je=nt.peek(),Ge;return Je=="{"||Je=="["?(Ge=be(et),Ge.openBracket(Je),nt.eat(Je),xe(et,je),"bracket"):/[ \t\r]/.test(Je)?(nt.eat(Je),null):(xe(et,je),fe(et),je(nt,et))}return{startState:function(){var nt=le.inMathMode?function(et,Je){return Fe(et,Je)}:je;return{cmdState:[],f:nt}},copyState:function(nt){return{cmdState:nt.cmdState.slice(),f:nt.f}},token:function(nt,et){return et.f(nt,et)},blankLine:function(nt){nt.f=je,nt.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";var he={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},le={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(pe,be){var fe=pe.indentUnit,we={},Oe=be.htmlMode?he:le;for(var Re in Oe)we[Re]=Oe[Re];for(var Re in be)we[Re]=be[Re];var xe,je;function Fe(ut,Tt){function _t(Nt){return Tt.tokenize=Nt,Nt(ut,Tt)}var Ke=ut.next();if(Ke=="<")return ut.eat("!")?ut.eat("[")?ut.match("CDATA[")?_t(et("atom","]]>")):null:ut.match("--")?_t(et("comment","-->")):ut.match("DOCTYPE",!0,!0)?(ut.eatWhile(/[\w\._\-]/),_t(Je(1))):null:ut.eat("?")?(ut.eatWhile(/[\w\._\-]/),Tt.tokenize=et("meta","?>"),"meta"):(xe=ut.eat("/")?"closeTag":"openTag",Tt.tokenize=xt,"tag bracket");if(Ke=="&"){var Rt;return ut.eat("#")?ut.eat("x")?Rt=ut.eatWhile(/[a-fA-F\d]/)&&ut.eat(";"):Rt=ut.eatWhile(/[\d]/)&&ut.eat(";"):Rt=ut.eatWhile(/[\w\.\-:]/)&&ut.eat(";"),Rt?"atom":"error"}else return ut.eatWhile(/[^&<]/),null}Fe.isInText=!0;function xt(ut,Tt){var _t=ut.next();if(_t==">"||_t=="/"&&ut.eat(">"))return Tt.tokenize=Fe,xe=_t==">"?"endTag":"selfcloseTag","tag bracket";if(_t=="=")return xe="equals",null;if(_t=="<"){Tt.tokenize=Fe,Tt.state=Qe,Tt.tagName=Tt.tagStart=null;var Ke=Tt.tokenize(ut,Tt);return Ke?Ke+" tag error":"tag error"}else return/[\'\"]/.test(_t)?(Tt.tokenize=nt(_t),Tt.stringStartCol=ut.column(),Tt.tokenize(ut,Tt)):(ut.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function nt(ut){var Tt=function(_t,Ke){for(;!_t.eol();)if(_t.next()==ut){Ke.tokenize=xt;break}return"string"};return Tt.isInAttribute=!0,Tt}function et(ut,Tt){return function(_t,Ke){for(;!_t.eol();){if(_t.match(Tt)){Ke.tokenize=Fe;break}_t.next()}return ut}}function Je(ut){return function(Tt,_t){for(var Ke;(Ke=Tt.next())!=null;){if(Ke=="<")return _t.tokenize=Je(ut+1),_t.tokenize(Tt,_t);if(Ke==">")if(ut==1){_t.tokenize=Fe;break}else return _t.tokenize=Je(ut-1),_t.tokenize(Tt,_t)}return"meta"}}function Ge(ut,Tt,_t){this.prev=ut.context,this.tagName=Tt,this.indent=ut.indented,this.startOfLine=_t,(we.doNotIndent.hasOwnProperty(Tt)||ut.context&&ut.context.noIndent)&&(this.noIndent=!0)}function We(ut){ut.context&&(ut.context=ut.context.prev)}function Ve(ut,Tt){for(var _t;;){if(!ut.context||(_t=ut.context.tagName,!we.contextGrabbers.hasOwnProperty(_t)||!we.contextGrabbers[_t].hasOwnProperty(Tt)))return;We(ut)}}function Qe(ut,Tt,_t){return ut=="openTag"?(_t.tagStart=Tt.column(),He):ut=="closeTag"?_e:Qe}function He(ut,Tt,_t){return ut=="word"?(_t.tagName=Tt.current(),je="tag",gt):we.allowMissingTagName&&ut=="endTag"?(je="tag bracket",gt(ut,Tt,_t)):(je="error",He)}function _e(ut,Tt,_t){if(ut=="word"){var Ke=Tt.current();return _t.context&&_t.context.tagName!=Ke&&we.implicitlyClosed.hasOwnProperty(_t.context.tagName)&&We(_t),_t.context&&_t.context.tagName==Ke||we.matchClosing===!1?(je="tag",Ze):(je="tag error",tt)}else return we.allowMissingTagName&&ut=="endTag"?(je="tag bracket",Ze(ut,Tt,_t)):(je="error",tt)}function Ze(ut,Tt,_t){return ut!="endTag"?(je="error",Ze):(We(_t),Qe)}function tt(ut,Tt,_t){return je="error",Ze(ut,Tt,_t)}function gt(ut,Tt,_t){if(ut=="word")return je="attribute",rt;if(ut=="endTag"||ut=="selfcloseTag"){var Ke=_t.tagName,Rt=_t.tagStart;return _t.tagName=_t.tagStart=null,ut=="selfcloseTag"||we.autoSelfClosers.hasOwnProperty(Ke)?Ve(_t,Ke):(Ve(_t,Ke),_t.context=new Ge(_t,Ke,Rt==_t.indented)),Qe}return je="error",gt}function rt(ut,Tt,_t){return ut=="equals"?It:(we.allowMissing||(je="error"),gt(ut,Tt,_t))}function It(ut,Tt,_t){return ut=="string"?mt:ut=="word"&&we.allowUnquoted?(je="string",gt):(je="error",gt(ut,Tt,_t))}function mt(ut,Tt,_t){return ut=="string"?mt:gt(ut,Tt,_t)}return{startState:function(ut){var Tt={tokenize:Fe,state:Qe,indented:ut||0,tagName:null,tagStart:null,context:null};return ut!=null&&(Tt.baseIndent=ut),Tt},token:function(ut,Tt){if(!Tt.tagName&&ut.sol()&&(Tt.indented=ut.indentation()),ut.eatSpace())return null;xe=null;var _t=Tt.tokenize(ut,Tt);return(_t||xe)&&_t!="comment"&&(je=null,Tt.state=Tt.state(xe||_t,ut,Tt),je&&(_t=je=="error"?_t+" error":je)),_t},indent:function(ut,Tt,_t){var Ke=ut.context;if(ut.tokenize.isInAttribute)return ut.tagStart==ut.indented?ut.stringStartCol+1:ut.indented+fe;if(Ke&&Ke.noIndent)return b.Pass;if(ut.tokenize!=xt&&ut.tokenize!=Fe)return _t?_t.match(/^(\s*)/)[0].length:0;if(ut.tagName)return we.multilineTagIndentPastTag!==!1?ut.tagStart+ut.tagName.length+2:ut.tagStart+fe*(we.multilineTagIndentFactor||1);if(we.alignCDATA&&/$/,blockCommentStart:"",configuration:we.htmlMode?"html":"xml",helperType:we.htmlMode?"html":"xml",skipAttribute:function(ut){ut.state==It&&(ut.state=gt)},xmlCurrentTag:function(ut){return ut.tagName?{name:ut.tagName,close:ut.type=="closeTag"}:null},xmlCurrentContext:function(ut){for(var Tt=[],_t=ut.context;_t;_t=_t.prev)_t.tagName&&Tt.push(_t.tagName);return Tt.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(Ce,ae){"use strict";var y;ae.Q=pe,y=be;var b=",",he=" ",le="";function pe(fe){for(var we=[],Oe=String(fe||le),Re=Oe.indexOf(b),xe=0,je=!1,Fe;!je;)Re===-1&&(Re=Oe.length,je=!0),Fe=Oe.slice(xe,Re).trim(),(Fe||!je)&&we.push(Fe),xe=Re+1,Re=Oe.indexOf(b,xe);return we}function be(fe,we){var Oe=we||{},Re=Oe.padLeft===!1?le:he,xe=Oe.padRight?he:le;return fe[fe.length-1]===le&&(fe=fe.concat(le)),fe.join(xe+b+Re).trim()}},86204:function(Ce){"use strict";var ae=typeof Reflect=="object"?Reflect:null,y=ae&&typeof ae.apply=="function"?ae.apply:function(Qe,He,_e){return Function.prototype.apply.call(Qe,He,_e)},b;ae&&typeof ae.ownKeys=="function"?b=ae.ownKeys:Object.getOwnPropertySymbols?b=function(Qe){return Object.getOwnPropertyNames(Qe).concat(Object.getOwnPropertySymbols(Qe))}:b=function(Qe){return Object.getOwnPropertyNames(Qe)};function he(Ve){console&&console.warn&&console.warn(Ve)}var le=Number.isNaN||function(Qe){return Qe!==Qe};function pe(){pe.init.call(this)}Ce.exports=pe,Ce.exports.once=Je,pe.EventEmitter=pe,pe.prototype._events=void 0,pe.prototype._eventsCount=0,pe.prototype._maxListeners=void 0;var be=10;function fe(Ve){if(typeof Ve!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ve)}Object.defineProperty(pe,"defaultMaxListeners",{enumerable:!0,get:function(){return be},set:function(Ve){if(typeof Ve!="number"||Ve<0||le(Ve))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ve+".");be=Ve}}),pe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},pe.prototype.setMaxListeners=function(Qe){if(typeof Qe!="number"||Qe<0||le(Qe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Qe+".");return this._maxListeners=Qe,this};function we(Ve){return Ve._maxListeners===void 0?pe.defaultMaxListeners:Ve._maxListeners}pe.prototype.getMaxListeners=function(){return we(this)},pe.prototype.emit=function(Qe){for(var He=[],_e=1;_e0&&(gt=He[0]),gt instanceof Error)throw gt;var rt=new Error("Unhandled error."+(gt?" ("+gt.message+")":""));throw rt.context=gt,rt}var It=tt[Qe];if(It===void 0)return!1;if(typeof It=="function")y(It,this,He);else for(var mt=It.length,ut=xt(It,mt),_e=0;_e0&>.length>Ze&&!gt.warned){gt.warned=!0;var rt=new Error("Possible EventEmitter memory leak detected. "+gt.length+" "+String(Qe)+" listeners added. Use emitter.setMaxListeners() to increase limit");rt.name="MaxListenersExceededWarning",rt.emitter=Ve,rt.type=Qe,rt.count=gt.length,he(rt)}return Ve}pe.prototype.addListener=function(Qe,He){return Oe(this,Qe,He,!1)},pe.prototype.on=pe.prototype.addListener,pe.prototype.prependListener=function(Qe,He){return Oe(this,Qe,He,!0)};function Re(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function xe(Ve,Qe,He){var _e={fired:!1,wrapFn:void 0,target:Ve,type:Qe,listener:He},Ze=Re.bind(_e);return Ze.listener=He,_e.wrapFn=Ze,Ze}pe.prototype.once=function(Qe,He){return fe(He),this.on(Qe,xe(this,Qe,He)),this},pe.prototype.prependOnceListener=function(Qe,He){return fe(He),this.prependListener(Qe,xe(this,Qe,He)),this},pe.prototype.removeListener=function(Qe,He){var _e,Ze,tt,gt,rt;if(fe(He),Ze=this._events,Ze===void 0)return this;if(_e=Ze[Qe],_e===void 0)return this;if(_e===He||_e.listener===He)--this._eventsCount===0?this._events=Object.create(null):(delete Ze[Qe],Ze.removeListener&&this.emit("removeListener",Qe,_e.listener||He));else if(typeof _e!="function"){for(tt=-1,gt=_e.length-1;gt>=0;gt--)if(_e[gt]===He||_e[gt].listener===He){rt=_e[gt].listener,tt=gt;break}if(tt<0)return this;tt===0?_e.shift():nt(_e,tt),_e.length===1&&(Ze[Qe]=_e[0]),Ze.removeListener!==void 0&&this.emit("removeListener",Qe,rt||He)}return this},pe.prototype.off=pe.prototype.removeListener,pe.prototype.removeAllListeners=function(Qe){var He,_e,Ze;if(_e=this._events,_e===void 0)return this;if(_e.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_e[Qe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete _e[Qe]),this;if(arguments.length===0){var tt=Object.keys(_e),gt;for(Ze=0;Ze=0;Ze--)this.removeListener(Qe,He[Ze]);return this};function je(Ve,Qe,He){var _e=Ve._events;if(_e===void 0)return[];var Ze=_e[Qe];return Ze===void 0?[]:typeof Ze=="function"?He?[Ze.listener||Ze]:[Ze]:He?et(Ze):xt(Ze,Ze.length)}pe.prototype.listeners=function(Qe){return je(this,Qe,!0)},pe.prototype.rawListeners=function(Qe){return je(this,Qe,!1)},pe.listenerCount=function(Ve,Qe){return typeof Ve.listenerCount=="function"?Ve.listenerCount(Qe):Fe.call(Ve,Qe)},pe.prototype.listenerCount=Fe;function Fe(Ve){var Qe=this._events;if(Qe!==void 0){var He=Qe[Ve];if(typeof He=="function")return 1;if(He!==void 0)return He.length}return 0}pe.prototype.eventNames=function(){return this._eventsCount>0?b(this._events):[]};function xt(Ve,Qe){for(var He=new Array(Qe),_e=0;_e=97&&b<=122||b>=65&&b<=90}},21127:function(Ce,ae,y){"use strict";var b=y(91241),he=y(22347);Ce.exports=le;function le(pe){return b(pe)||he(pe)}},22347:function(Ce){"use strict";Ce.exports=ae;function ae(y){var b=typeof y=="string"?y.charCodeAt(0):y;return b>=48&&b<=57}},65207:function(Ce){"use strict";Ce.exports=ae;function ae(y){var b=typeof y=="string"?y.charCodeAt(0):y;return b>=97&&b<=102||b>=65&&b<=70||b>=48&&b<=57}},2859:function(Ce,ae,y){"use strict";y.d(ae,{hP:function(){return un}});var b=function(De,me){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,Te){ce.__proto__=Te}||function(ce,Te){for(var Ue in Te)Object.prototype.hasOwnProperty.call(Te,Ue)&&(ce[Ue]=Te[Ue])})(De,me)};function he(De,me){function ce(){this.constructor=De}b(De,me),De.prototype=me===null?Object.create(me):(ce.prototype=me.prototype,new ce)}function le(De,me,ce,Te){return new(ce||(ce=Promise))(function(Ue,ge){function Me(At){try{Qt(Te.next(At))}catch(vt){ge(vt)}}function ot(At){try{Qt(Te.throw(At))}catch(vt){ge(vt)}}function Qt(At){var vt;At.done?Ue(At.value):(vt=At.value,vt instanceof ce?vt:new ce(function(Ct){Ct(vt)})).then(Me,ot)}Qt((Te=Te.apply(De,me||[])).next())})}function pe(De,me){var ce,Te,Ue,ge,Me={label:0,sent:function(){if(1&Ue[0])throw Ue[1];return Ue[1]},trys:[],ops:[]};return ge={next:ot(0),throw:ot(1),return:ot(2)},typeof Symbol=="function"&&(ge[Symbol.iterator]=function(){return this}),ge;function ot(Qt){return function(At){return function(vt){if(ce)throw new TypeError("Generator is already executing.");for(;Me;)try{if(ce=1,Te&&(Ue=2&vt[0]?Te.return:vt[0]?Te.throw||((Ue=Te.return)&&Ue.call(Te),0):Te.next)&&!(Ue=Ue.call(Te,vt[1])).done)return Ue;switch(Te=0,Ue&&(vt=[2&vt[0],Ue.value]),vt[0]){case 0:case 1:Ue=vt;break;case 4:return Me.label++,{value:vt[1],done:!1};case 5:Me.label++,Te=vt[1],vt=[0];continue;case 7:vt=Me.ops.pop(),Me.trys.pop();continue;default:if(Ue=Me.trys,!((Ue=Ue.length>0&&Ue[Ue.length-1])||vt[0]!==6&&vt[0]!==2)){Me=0;continue}if(vt[0]===3&&(!Ue||vt[1]>Ue[0]&&vt[1]0&&E.prevInput=="\u200B"?ke(re,Ks)(re):Fr++<10?ne.detectingSelectAll=setTimeout(oe,500):(ne.selForContextMenu=null,ne.input.reset())};ne.detectingSelectAll=setTimeout(oe,200)}}if(be&&fe>=9&&Wn(),_e){Ct(a);var Ir=function(){kn(window,"mouseup",Ir),setTimeout(Un,20)};Mt(window,"mouseup",Ir)}else setTimeout(Un,50)},ro.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},ro.prototype.setUneditable=function(){},ro.prototype.needsContentAttribute=!1;function Zc(a,E){if(E=E?Tn(E):{},E.value=a.value,!E.tabindex&&a.tabIndex&&(E.tabindex=a.tabIndex),!E.placeholder&&a.placeholder&&(E.placeholder=a.placeholder),E.autofocus==null){var re=St();E.autofocus=re==a||a.getAttribute("autofocus")!=null&&re==document.body}function ne(){a.value=Ke.getValue()}var ie;if(a.form&&(Mt(a.form,"submit",ne),!E.leaveSubmitMethodAlone)){var ye=a.form;ie=ye.submit;try{var Be=ye.submit=function(){ne(),ye.submit=ie,ye.submit(),ye.submit=Be}}catch(ot){}}E.finishInit=function(ot){ot.save=ne,ot.getTextArea=function(){return a},ot.toTextArea=function(){ot.toTextArea=isNaN,ne(),a.parentNode.removeChild(ot.getWrapperElement()),a.style.display="",a.form&&(kn(a.form,"submit",ne),!E.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=ie))}},a.style.display="none";var Ke=Zi(function(ot){return a.parentNode.insertBefore(ot,a.nextSibling)},E);return Ke}function Pc(a){a.off=kn,a.on=Mt,a.wheelEventPixels=Ri,a.Doc=Mo,a.splitLines=ar,a.countColumn=Tt,a.findColumn=On,a.isWordChar=Te,a.Pass=on,a.signal=wn,a.Line=Ma,a.changeEnd=Ot,a.scrollbarModel=sl,a.Pos=He,a.cmpPos=Vt,a.modes=cr,a.mimeModes=Yn,a.resolveMode=Nr,a.getMode=Jr,a.modeExtensions=$r,a.extendMode=Ur,a.copyState=aa,a.startState=pa,a.innerMode=Hr,a.commands=Xl,a.keyMap=Xs,a.keyName=vc,a.isModifierKey=lu,a.lookupKey=Pl,a.normalizeKeyMap=gc,a.StringStream=ea,a.SharedTextMarker=Ml,a.TextMarker=Ys,a.LineWidget=Ll,a.e_preventDefault=Yt,a.e_stopPropagation=Ft,a.e_stop=Ct,a.addClass=qe,a.contains=It,a.rmClass=nt,a.keyNames=Cl}Rc(Zi),Vc(Zi);var ic="iter insert remove copy getEditor constructor".split(" ");for(var Ou in Mo.prototype)Mo.prototype.hasOwnProperty(Ou)&&Se(ic,Ou)<0&&(Zi.prototype[Ou]=function(a){return function(){return a.apply(this.doc,arguments)}}(Mo.prototype[Ou]));return kt(Mo),Zi.inputStyles={textarea:ro,contenteditable:Di},Zi.defineMode=function(a){!Zi.defaults.mode&&a!="null"&&(Zi.defaults.mode=a),Sr.apply(this,arguments)},Zi.defineMIME=br,Zi.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Zi.defineMIME("text/plain","null"),Zi.defineExtension=function(a,E){Zi.prototype[a]=E},Zi.defineDocExtension=function(a,E){Mo.prototype[a]=E},Zi.fromTextArea=Zc,Pc(Zi),Zi.version="5.58.2",Zi})},25419:function(Ce,ae,y){(function(b){b(y(89780),y(15525),y(98101))})(function(b){"use strict";b.defineMode("markdown",function(me,le){var pe=b.getMode(me,"text/html"),be=pe.name=="null";function fe(Tt){if(b.findModeByName){var Ye=b.findModeByName(Tt);Ye&&(Tt=Ye.mime||Ye.mimes[0])}var Se=b.getMode(me,Tt);return Se.name=="null"?null:Se}le.highlightFormatting===void 0&&(le.highlightFormatting=!1),le.maxBlockquoteDepth===void 0&&(le.maxBlockquoteDepth=0),le.taskLists===void 0&&(le.taskLists=!1),le.strikethrough===void 0&&(le.strikethrough=!1),le.emoji===void 0&&(le.emoji=!1),le.fencedCodeBlockHighlighting===void 0&&(le.fencedCodeBlockHighlighting=!0),le.fencedCodeBlockDefaultMode===void 0&&(le.fencedCodeBlockDefaultMode="text/plain"),le.xml===void 0&&(le.xml=!0),le.tokenTypeOverrides===void 0&&(le.tokenTypeOverrides={});var we={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Oe in we)we.hasOwnProperty(Oe)&&le.tokenTypeOverrides[Oe]&&(we[Oe]=le.tokenTypeOverrides[Oe]);var Re=/^([*\-_])(?:\s*\1){2,}\s*$/,xe=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Ge=/^\[(x| )\](?=\s)/i,Fe=le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,At=/^ {0,3}(?:\={1,}|-{2,})\s*$/,at=/^[^#!\[\]*_\\<>` "'(~:]+/,tt=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Je=/^\s*\[[^\]]+?\]:.*$/,We=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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\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\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\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]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ve=" ";function Ze(Tt,Ye,Se){return Ye.f=Ye.inline=Se,Se(Tt,Ye)}function Qe(Tt,Ye,Se){return Ye.f=Ye.block=Se,Se(Tt,Ye)}function ze(Tt){return!Tt||!/\S/.test(Tt.string)}function _e(Tt){if(Tt.linkTitle=!1,Tt.linkHref=!1,Tt.linkText=!1,Tt.em=!1,Tt.strong=!1,Tt.strikethrough=!1,Tt.quote=0,Tt.indentedCode=!1,Tt.f==nt){var Ye=be;if(!Ye){var Se=b.innerMode(pe,Tt.htmlState);Ye=Se.mode.name=="xml"&&Se.state.tagStart===null&&!Se.state.context&&Se.state.tokenize.isInText}Ye&&(Tt.f=vt,Tt.block=$e,Tt.htmlState=null)}return Tt.trailingSpace=0,Tt.trailingSpaceNewLine=!1,Tt.prevLine=Tt.thisLine,Tt.thisLine={stream:null},null}function $e(Tt,Ye){var Se=Tt.column()===Ye.indentation,Qt=ze(Ye.prevLine.stream),on=Ye.indentedCode,st=Ye.prevLine.hr,Ut=Ye.list!==!1,Gt=(Ye.listStack[Ye.listStack.length-1]||0)+3;Ye.indentedCode=!1;var On=Ye.indentation;if(Ye.indentationDiff===null&&(Ye.indentationDiff=Ye.indentation,Ut)){for(Ye.list=null;On=4&&(on||Ye.prevLine.fencedCodeEnd||Ye.prevLine.header||Qt))return Tt.skipToEnd(),Ye.indentedCode=!0,we.code;if(Tt.eatSpace())return null;if(Se&&Ye.indentation<=Gt&&(Ht=Tt.match(Fe))&&Ht[1].length<=6)return Ye.quote=0,Ye.header=Ht[1].length,Ye.thisLine.header=!0,le.highlightFormatting&&(Ye.formatting="header"),Ye.f=Ye.inline,it(Ye);if(Ye.indentation<=Gt&&Tt.eat(">"))return Ye.quote=Se?1:Ye.quote+1,le.highlightFormatting&&(Ye.formatting="quote"),Tt.eatSpace(),it(Ye);if(!En&&!Ye.setext&&Se&&Ye.indentation<=Gt&&(Ht=Tt.match(xe))){var gn=Ht[1]?"ol":"ul";return Ye.indentation=On+Tt.current().length,Ye.list=!0,Ye.quote=0,Ye.listStack.push(Ye.indentation),Ye.em=!1,Ye.strong=!1,Ye.code=!1,Ye.strikethrough=!1,le.taskLists&&Tt.match(Ge,!1)&&(Ye.taskList=!0),Ye.f=Ye.inline,le.highlightFormatting&&(Ye.formatting=["list","list-"+gn]),it(Ye)}else{if(Se&&Ye.indentation<=Gt&&(Ht=Tt.match(tt,!0)))return Ye.quote=0,Ye.fencedEndRE=new RegExp(Ht[1]+"+ *$"),Ye.localMode=le.fencedCodeBlockHighlighting&&fe(Ht[2]||le.fencedCodeBlockDefaultMode),Ye.localMode&&(Ye.localState=b.startState(Ye.localMode)),Ye.f=Ye.block=bt,le.highlightFormatting&&(Ye.formatting="code-block"),Ye.code=-1,it(Ye);if(Ye.setext||(!ft||!Ut)&&!Ye.quote&&Ye.list===!1&&!Ye.code&&!En&&!Je.test(Tt.string)&&(Ht=Tt.lookAhead(1))&&(Ht=Ht.match(At)))return Ye.setext?(Ye.header=Ye.setext,Ye.setext=0,Tt.skipToEnd(),le.highlightFormatting&&(Ye.formatting="header")):(Ye.header=Ht[0].charAt(0)=="="?1:2,Ye.setext=Ye.header),Ye.thisLine.header=!0,Ye.f=Ye.inline,it(Ye);if(En)return Tt.skipToEnd(),Ye.hr=!0,Ye.thisLine.hr=!0,we.hr;if(Tt.peek()==="[")return Ze(Tt,Ye,Jt)}return Ze(Tt,Ye,Ye.inline)}function nt(Tt,Ye){var Se=pe.token(Tt,Ye.htmlState);if(!be){var Qt=b.innerMode(pe,Ye.htmlState);(Qt.mode.name=="xml"&&Qt.state.tagStart===null&&!Qt.state.context&&Qt.state.tokenize.isInText||Ye.md_inside&&Tt.current().indexOf(">")>-1)&&(Ye.f=vt,Ye.block=$e,Ye.htmlState=null)}return Se}function bt(Tt,Ye){var Se=Ye.listStack[Ye.listStack.length-1]||0,Qt=Ye.indentation=Tt.quote?Ye.push(we.formatting+"-"+Tt.formatting[Se]+"-"+Tt.quote):Ye.push("error"))}if(Tt.taskOpen)return Ye.push("meta"),Ye.length?Ye.join(" "):null;if(Tt.taskClosed)return Ye.push("property"),Ye.length?Ye.join(" "):null;if(Tt.linkHref?Ye.push(we.linkHref,"url"):(Tt.strong&&Ye.push(we.strong),Tt.em&&Ye.push(we.em),Tt.strikethrough&&Ye.push(we.strikethrough),Tt.emoji&&Ye.push(we.emoji),Tt.linkText&&Ye.push(we.linkText),Tt.code&&Ye.push(we.code),Tt.image&&Ye.push(we.image),Tt.imageAltText&&Ye.push(we.imageAltText,"link"),Tt.imageMarker&&Ye.push(we.imageMarker)),Tt.header&&Ye.push(we.header,we.header+"-"+Tt.header),Tt.quote&&(Ye.push(we.quote),!le.maxBlockquoteDepth||le.maxBlockquoteDepth>=Tt.quote?Ye.push(we.quote+"-"+Tt.quote):Ye.push(we.quote+"-"+le.maxBlockquoteDepth)),Tt.list!==!1){var Qt=(Tt.listStack.length-1)%3;Qt?Qt===1?Ye.push(we.list2):Ye.push(we.list3):Ye.push(we.list1)}return Tt.trailingSpaceNewLine?Ye.push("trailing-space-new-line"):Tt.trailingSpace&&Ye.push("trailing-space-"+(Tt.trailingSpace%2?"a":"b")),Ye.length?Ye.join(" "):null}function Nt(Tt,Ye){if(Tt.match(at,!0))return it(Ye)}function vt(Tt,Ye){var Se=Ye.text(Tt,Ye);if(typeof Se!="undefined")return Se;if(Ye.list)return Ye.list=null,it(Ye);if(Ye.taskList){var Qt=Tt.match(Ge,!0)[1]===" ";return Qt?Ye.taskOpen=!0:Ye.taskClosed=!0,le.highlightFormatting&&(Ye.formatting="task"),Ye.taskList=!1,it(Ye)}if(Ye.taskOpen=!1,Ye.taskClosed=!1,Ye.header&&Tt.match(/^#+$/,!0))return le.highlightFormatting&&(Ye.formatting="header"),it(Ye);var on=Tt.next();if(Ye.linkTitle){Ye.linkTitle=!1;var st=on;on==="("&&(st=")"),st=(st+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ut="^\\s*(?:[^"+st+"\\\\]+|\\\\\\\\|\\\\.)"+st;if(Tt.match(new RegExp(Ut),!0))return we.linkHref}if(on==="`"){var Gt=Ye.formatting;le.highlightFormatting&&(Ye.formatting="code"),Tt.eatWhile("`");var On=Tt.current().length;if(Ye.code==0&&(!Ye.quote||On==1))return Ye.code=On,it(Ye);if(On==Ye.code){var ft=it(Ye);return Ye.code=0,ft}else return Ye.formatting=Gt,it(Ye)}else if(Ye.code)return it(Ye);if(on==="\\"&&(Tt.next(),le.highlightFormatting)){var En=it(Ye),Ht=we.formatting+"-escape";return En?En+" "+Ht:Ht}if(on==="!"&&Tt.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Ye.imageMarker=!0,Ye.image=!0,le.highlightFormatting&&(Ye.formatting="image"),it(Ye);if(on==="["&&Ye.imageMarker&&Tt.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Ye.imageMarker=!1,Ye.imageAltText=!0,le.highlightFormatting&&(Ye.formatting="image"),it(Ye);if(on==="]"&&Ye.imageAltText){le.highlightFormatting&&(Ye.formatting="image");var En=it(Ye);return Ye.imageAltText=!1,Ye.image=!1,Ye.inline=Ye.f=It,En}if(on==="["&&!Ye.image)return Ye.linkText&&Tt.match(/^.*?\]/)||(Ye.linkText=!0,le.highlightFormatting&&(Ye.formatting="link")),it(Ye);if(on==="]"&&Ye.linkText){le.highlightFormatting&&(Ye.formatting="link");var En=it(Ye);return Ye.linkText=!1,Ye.inline=Ye.f=Tt.match(/\(.*?\)| ?\[.*?\]/,!1)?It:vt,En}if(on==="<"&&Tt.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Ye.f=Ye.inline=dt,le.highlightFormatting&&(Ye.formatting="link");var En=it(Ye);return En?En+=" ":En="",En+we.linkInline}if(on==="<"&&Tt.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Ye.f=Ye.inline=dt,le.highlightFormatting&&(Ye.formatting="link");var En=it(Ye);return En?En+=" ":En="",En+we.linkEmail}if(le.xml&&on==="<"&&Tt.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var gn=Tt.string.indexOf(">",Tt.pos);if(gn!=-1){var un=Tt.string.substring(Tt.start,gn);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(un)&&(Ye.md_inside=!0)}return Tt.backUp(1),Ye.htmlState=b.startState(pe),Qe(Tt,Ye,nt)}if(le.xml&&on==="<"&&Tt.match(/^\/\w*?>/))return Ye.md_inside=!1,"tag";if(on==="*"||on==="_"){for(var De=1,he=Tt.pos==1?" ":Tt.string.charAt(Tt.pos-2);De<3&&Tt.eat(on);)De++;var ce=Tt.peek()||" ",Te=!/\s/.test(ce)&&(!We.test(ce)||/\s/.test(he)||We.test(he)),je=!/\s/.test(he)&&(!We.test(he)||/\s/.test(ce)||We.test(ce)),ge=null,Pe=null;if(De%2&&(!Ye.em&&Te&&(on==="*"||!je||We.test(he))?ge=!0:Ye.em==on&&je&&(on==="*"||!Te||We.test(ce))&&(ge=!1)),De>1&&(!Ye.strong&&Te&&(on==="*"||!je||We.test(he))?Pe=!0:Ye.strong==on&&je&&(on==="*"||!Te||We.test(ce))&&(Pe=!1)),Pe!=null||ge!=null){le.highlightFormatting&&(Ye.formatting=ge==null?"strong":Pe==null?"em":"strong em"),ge===!0&&(Ye.em=on),Pe===!0&&(Ye.strong=on);var ft=it(Ye);return ge===!1&&(Ye.em=!1),Pe===!1&&(Ye.strong=!1),ft}}else if(on===" "&&(Tt.eat("*")||Tt.eat("_"))){if(Tt.peek()===" ")return it(Ye);Tt.backUp(1)}if(le.strikethrough){if(on==="~"&&Tt.eatWhile(on)){if(Ye.strikethrough){le.highlightFormatting&&(Ye.formatting="strikethrough");var ft=it(Ye);return Ye.strikethrough=!1,ft}else if(Tt.match(/^[^\s]/,!1))return Ye.strikethrough=!0,le.highlightFormatting&&(Ye.formatting="strikethrough"),it(Ye)}else if(on===" "&&Tt.match(/^~~/,!0)){if(Tt.peek()===" ")return it(Ye);Tt.backUp(2)}}if(le.emoji&&on===":"&&Tt.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Ye.emoji=!0,le.highlightFormatting&&(Ye.formatting="emoji");var ct=it(Ye);return Ye.emoji=!1,ct}return on===" "&&(Tt.match(/^ +$/,!1)?Ye.trailingSpace++:Ye.trailingSpace&&(Ye.trailingSpaceNewLine=!0)),it(Ye)}function dt(Tt,Ye){var Se=Tt.next();if(Se===">"){Ye.f=Ye.inline=vt,le.highlightFormatting&&(Ye.formatting="link");var Qt=it(Ye);return Qt?Qt+=" ":Qt="",Qt+we.linkInline}return Tt.match(/^[^>]+/,!0),we.linkInline}function It(Tt,Ye){if(Tt.eatSpace())return null;var Se=Tt.next();return Se==="("||Se==="["?(Ye.f=Ye.inline=qe(Se==="("?")":"]"),le.highlightFormatting&&(Ye.formatting="link-string"),Ye.linkHref=!0,it(Ye)):"error"}var St={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function qe(Tt){return function(Ye,Se){var Qt=Ye.next();if(Qt===Tt){Se.f=Se.inline=vt,le.highlightFormatting&&(Se.formatting="link-string");var on=it(Se);return Se.linkHref=!1,on}return Ye.match(St[Tt]),Se.linkHref=!0,it(Se)}}function Jt(Tt,Ye){return Tt.match(/^([^\]\\]|\\.)*\]:/,!1)?(Ye.f=Rt,Tt.next(),le.highlightFormatting&&(Ye.formatting="link"),Ye.linkText=!0,it(Ye)):Ze(Tt,Ye,vt)}function Rt(Tt,Ye){if(Tt.match(/^\]:/,!0)){Ye.f=Ye.inline=Zt,le.highlightFormatting&&(Ye.formatting="link");var Se=it(Ye);return Ye.linkText=!1,Se}return Tt.match(/^([^\]\\]|\\.)+/,!0),we.linkText}function Zt(Tt,Ye){return Tt.eatSpace()?null:(Tt.match(/^[^\s]+/,!0),Tt.peek()===void 0?Ye.linkTitle=!0:Tt.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),Ye.f=Ye.inline=vt,we.linkHref+" url")}var Tn={startState:function(){return{f:$e,prevLine:{stream:null},thisLine:{stream:null},block:$e,htmlState:null,indentation:0,inline:vt,text:Nt,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Tt){return{f:Tt.f,prevLine:Tt.prevLine,thisLine:Tt.thisLine,block:Tt.block,htmlState:Tt.htmlState&&b.copyState(pe,Tt.htmlState),indentation:Tt.indentation,localMode:Tt.localMode,localState:Tt.localMode?b.copyState(Tt.localMode,Tt.localState):null,inline:Tt.inline,text:Tt.text,formatting:!1,linkText:Tt.linkText,linkTitle:Tt.linkTitle,linkHref:Tt.linkHref,code:Tt.code,em:Tt.em,strong:Tt.strong,strikethrough:Tt.strikethrough,emoji:Tt.emoji,header:Tt.header,setext:Tt.setext,hr:Tt.hr,taskList:Tt.taskList,list:Tt.list,listStack:Tt.listStack.slice(0),quote:Tt.quote,indentedCode:Tt.indentedCode,trailingSpace:Tt.trailingSpace,trailingSpaceNewLine:Tt.trailingSpaceNewLine,md_inside:Tt.md_inside,fencedEndRE:Tt.fencedEndRE}},token:function(Tt,Ye){if(Ye.formatting=!1,Tt!=Ye.thisLine.stream){if(Ye.header=0,Ye.hr=!1,Tt.match(/^\s*$/,!0))return _e(Ye),null;if(Ye.prevLine=Ye.thisLine,Ye.thisLine={stream:Tt},Ye.taskList=!1,Ye.trailingSpace=0,Ye.trailingSpaceNewLine=!1,!Ye.localState&&(Ye.f=Ye.block,Ye.f!=nt)){var Se=Tt.match(/^\s*/,!0)[0].replace(/\t/g,Ve).length;if(Ye.indentation=Se,Ye.indentationDiff=null,Se>0)return null}}return Ye.f(Tt,Ye)},innerMode:function(Tt){return Tt.block==nt?{state:Tt.htmlState,mode:pe}:Tt.localState?{state:Tt.localState,mode:Tt.localMode}:{state:Tt,mode:Tn}},indent:function(Tt,Ye,Se){return Tt.block==nt&&pe.indent?pe.indent(Tt.htmlState,Ye,Se):Tt.localState&&Tt.localMode.indent?Tt.localMode.indent(Tt.localState,Ye,Se):b.Pass},blankLine:_e,getType:it,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Tn},"xml"),b.defineMIME("text/markdown","markdown"),b.defineMIME("text/x-markdown","markdown")})},98101:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";b.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var me=0;me-1&&pe.substring(we+1,pe.length);if(Oe)return b.findModeByExtension(Oe)},b.findModeByName=function(pe){pe=pe.toLowerCase();for(var be=0;be0?at.cmdState[at.cmdState.length-1]:null}function fe(at){var tt=at.cmdState.pop();tt&&tt.closeBracket()}function we(at){for(var tt=at.cmdState,Je=tt.length-1;Je>=0;Je--){var We=tt[Je];if(We.name!="DEFAULT")return We}return{styleIdentifier:function(){return null}}}function Oe(at,tt,Je){return function(){this.name=at,this.bracketNo=0,this.style=tt,this.styles=Je,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var Re={};Re.importmodule=Oe("importmodule","tag",["string","builtin"]),Re.documentclass=Oe("documentclass","tag",["","atom"]),Re.usepackage=Oe("usepackage","tag",["atom"]),Re.begin=Oe("begin","tag",["atom"]),Re.end=Oe("end","tag",["atom"]),Re.label=Oe("label","tag",["atom"]),Re.ref=Oe("ref","tag",["atom"]),Re.eqref=Oe("eqref","tag",["atom"]),Re.cite=Oe("cite","tag",["atom"]),Re.bibitem=Oe("bibitem","tag",["atom"]),Re.Bibitem=Oe("Bibitem","tag",["atom"]),Re.RBibitem=Oe("RBibitem","tag",["atom"]),Re.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function xe(at,tt){at.f=tt}function Ge(at,tt){var Je;if(at.match(/^\\[a-zA-Z@]+/)){var We=at.current().slice(1);return Je=Re.hasOwnProperty(We)?Re[We]:Re.DEFAULT,Je=new Je,pe(tt,Je),xe(tt,At),Je.style}if(at.match(/^\\[$&%#{}_]/)||at.match(/^\\[,;!\/\\]/))return"tag";if(at.match("\\["))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"\\]")}),"keyword";if(at.match("\\("))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"\\)")}),"keyword";if(at.match("$$"))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"$$")}),"keyword";if(at.match("$"))return xe(tt,function(Ze,Qe){return Fe(Ze,Qe,"$")}),"keyword";var Ve=at.next();if(Ve=="%")return at.skipToEnd(),"comment";if(Ve=="}"||Ve=="]"){if(Je=be(tt),Je)Je.closeBracket(Ve),xe(tt,At);else return"error";return"bracket"}else return Ve=="{"||Ve=="["?(Je=Re.DEFAULT,Je=new Je,pe(tt,Je),"bracket"):/\d/.test(Ve)?(at.eatWhile(/[\w.%]/),"atom"):(at.eatWhile(/[\w\-_]/),Je=we(tt),Je.name=="begin"&&(Je.argument=at.current()),Je.styleIdentifier())}function Fe(at,tt,Je){if(at.eatSpace())return null;if(Je&&at.match(Je))return xe(tt,Ge),"keyword";if(at.match(/^\\[a-zA-Z@]+/))return"tag";if(at.match(/^[a-zA-Z]+/))return"variable-2";if(at.match(/^\\[$&%#{}_]/)||at.match(/^\\[,;!\/]/)||at.match(/^[\^_&]/))return"tag";if(at.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(at.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var We=at.next();return We=="{"||We=="}"||We=="["||We=="]"||We=="("||We==")"?"bracket":We=="%"?(at.skipToEnd(),"comment"):"error"}function At(at,tt){var Je=at.peek(),We;return Je=="{"||Je=="["?(We=be(tt),We.openBracket(Je),at.eat(Je),xe(tt,Ge),"bracket"):/[ \t\r]/.test(Je)?(at.eat(Je),null):(xe(tt,Ge),fe(tt),Ge(at,tt))}return{startState:function(){var at=le.inMathMode?function(tt,Je){return Fe(tt,Je)}:Ge;return{cmdState:[],f:at}},copyState:function(at){return{cmdState:at.cmdState.slice(),f:at.f}},token:function(at,tt){return tt.f(at,tt)},blankLine:function(at){at.f=Ge,at.cmdState.length=0},lineComment:"%"}}),b.defineMIME("text/x-stex","stex"),b.defineMIME("text/x-latex","stex")})},15525:function(Ce,ae,y){(function(b){b(y(89780))})(function(b){"use strict";var me={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},le={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};b.defineMode("xml",function(pe,be){var fe=pe.indentUnit,we={},Oe=be.htmlMode?me:le;for(var Re in Oe)we[Re]=Oe[Re];for(var Re in be)we[Re]=be[Re];var xe,Ge;function Fe(dt,It){function St(Rt){return It.tokenize=Rt,Rt(dt,It)}var qe=dt.next();if(qe=="<")return dt.eat("!")?dt.eat("[")?dt.match("CDATA[")?St(tt("atom","]]>")):null:dt.match("--")?St(tt("comment","-->")):dt.match("DOCTYPE",!0,!0)?(dt.eatWhile(/[\w\._\-]/),St(Je(1))):null:dt.eat("?")?(dt.eatWhile(/[\w\._\-]/),It.tokenize=tt("meta","?>"),"meta"):(xe=dt.eat("/")?"closeTag":"openTag",It.tokenize=At,"tag bracket");if(qe=="&"){var Jt;return dt.eat("#")?dt.eat("x")?Jt=dt.eatWhile(/[a-fA-F\d]/)&&dt.eat(";"):Jt=dt.eatWhile(/[\d]/)&&dt.eat(";"):Jt=dt.eatWhile(/[\w\.\-:]/)&&dt.eat(";"),Jt?"atom":"error"}else return dt.eatWhile(/[^&<]/),null}Fe.isInText=!0;function At(dt,It){var St=dt.next();if(St==">"||St=="/"&&dt.eat(">"))return It.tokenize=Fe,xe=St==">"?"endTag":"selfcloseTag","tag bracket";if(St=="=")return xe="equals",null;if(St=="<"){It.tokenize=Fe,It.state=Qe,It.tagName=It.tagStart=null;var qe=It.tokenize(dt,It);return qe?qe+" tag error":"tag error"}else return/[\'\"]/.test(St)?(It.tokenize=at(St),It.stringStartCol=dt.column(),It.tokenize(dt,It)):(dt.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function at(dt){var It=function(St,qe){for(;!St.eol();)if(St.next()==dt){qe.tokenize=At;break}return"string"};return It.isInAttribute=!0,It}function tt(dt,It){return function(St,qe){for(;!St.eol();){if(St.match(It)){qe.tokenize=Fe;break}St.next()}return dt}}function Je(dt){return function(It,St){for(var qe;(qe=It.next())!=null;){if(qe=="<")return St.tokenize=Je(dt+1),St.tokenize(It,St);if(qe==">")if(dt==1){St.tokenize=Fe;break}else return St.tokenize=Je(dt-1),St.tokenize(It,St)}return"meta"}}function We(dt,It,St){this.prev=dt.context,this.tagName=It,this.indent=dt.indented,this.startOfLine=St,(we.doNotIndent.hasOwnProperty(It)||dt.context&&dt.context.noIndent)&&(this.noIndent=!0)}function Ve(dt){dt.context&&(dt.context=dt.context.prev)}function Ze(dt,It){for(var St;;){if(!dt.context||(St=dt.context.tagName,!we.contextGrabbers.hasOwnProperty(St)||!we.contextGrabbers[St].hasOwnProperty(It)))return;Ve(dt)}}function Qe(dt,It,St){return dt=="openTag"?(St.tagStart=It.column(),ze):dt=="closeTag"?_e:Qe}function ze(dt,It,St){return dt=="word"?(St.tagName=It.current(),Ge="tag",bt):we.allowMissingTagName&&dt=="endTag"?(Ge="tag bracket",bt(dt,It,St)):(Ge="error",ze)}function _e(dt,It,St){if(dt=="word"){var qe=It.current();return St.context&&St.context.tagName!=qe&&we.implicitlyClosed.hasOwnProperty(St.context.tagName)&&Ve(St),St.context&&St.context.tagName==qe||we.matchClosing===!1?(Ge="tag",$e):(Ge="tag error",nt)}else return we.allowMissingTagName&&dt=="endTag"?(Ge="tag bracket",$e(dt,It,St)):(Ge="error",nt)}function $e(dt,It,St){return dt!="endTag"?(Ge="error",$e):(Ve(St),Qe)}function nt(dt,It,St){return Ge="error",$e(dt,It,St)}function bt(dt,It,St){if(dt=="word")return Ge="attribute",it;if(dt=="endTag"||dt=="selfcloseTag"){var qe=St.tagName,Jt=St.tagStart;return St.tagName=St.tagStart=null,dt=="selfcloseTag"||we.autoSelfClosers.hasOwnProperty(qe)?Ze(St,qe):(Ze(St,qe),St.context=new We(St,qe,Jt==St.indented)),Qe}return Ge="error",bt}function it(dt,It,St){return dt=="equals"?Nt:(we.allowMissing||(Ge="error"),bt(dt,It,St))}function Nt(dt,It,St){return dt=="string"?vt:dt=="word"&&we.allowUnquoted?(Ge="string",bt):(Ge="error",bt(dt,It,St))}function vt(dt,It,St){return dt=="string"?vt:bt(dt,It,St)}return{startState:function(dt){var It={tokenize:Fe,state:Qe,indented:dt||0,tagName:null,tagStart:null,context:null};return dt!=null&&(It.baseIndent=dt),It},token:function(dt,It){if(!It.tagName&&dt.sol()&&(It.indented=dt.indentation()),dt.eatSpace())return null;xe=null;var St=It.tokenize(dt,It);return(St||xe)&&St!="comment"&&(Ge=null,It.state=It.state(xe||St,dt,It),Ge&&(St=Ge=="error"?St+" error":Ge)),St},indent:function(dt,It,St){var qe=dt.context;if(dt.tokenize.isInAttribute)return dt.tagStart==dt.indented?dt.stringStartCol+1:dt.indented+fe;if(qe&&qe.noIndent)return b.Pass;if(dt.tokenize!=At&&dt.tokenize!=Fe)return St?St.match(/^(\s*)/)[0].length:0;if(dt.tagName)return we.multilineTagIndentPastTag!==!1?dt.tagStart+dt.tagName.length+2:dt.tagStart+fe*(we.multilineTagIndentFactor||1);if(we.alignCDATA&&/$/,blockCommentStart:"",configuration:we.htmlMode?"html":"xml",helperType:we.htmlMode?"html":"xml",skipAttribute:function(dt){dt.state==Nt&&(dt.state=bt)},xmlCurrentTag:function(dt){return dt.tagName?{name:dt.tagName,close:dt.type=="closeTag"}:null},xmlCurrentContext:function(dt){for(var It=[],St=dt.context;St;St=St.prev)St.tagName&&It.push(St.tagName);return It.reverse()}}}),b.defineMIME("text/xml","xml"),b.defineMIME("application/xml","xml"),b.mimeModes.hasOwnProperty("text/html")||b.defineMIME("text/html",{name:"xml",htmlMode:!0})})},58951:function(Ce,ae){"use strict";var y;ae.Q=pe,y=be;var b=",",me=" ",le="";function pe(fe){for(var we=[],Oe=String(fe||le),Re=Oe.indexOf(b),xe=0,Ge=!1,Fe;!Ge;)Re===-1&&(Re=Oe.length,Ge=!0),Fe=Oe.slice(xe,Re).trim(),(Fe||!Ge)&&we.push(Fe),xe=Re+1,Re=Oe.indexOf(b,xe);return we}function be(fe,we){var Oe=we||{},Re=Oe.padLeft===!1?le:me,xe=Oe.padRight?me:le;return fe[fe.length-1]===le&&(fe=fe.concat(le)),fe.join(xe+b+Re).trim()}},86204:function(Ce){"use strict";var ae=typeof Reflect=="object"?Reflect:null,y=ae&&typeof ae.apply=="function"?ae.apply:function(Qe,ze,_e){return Function.prototype.apply.call(Qe,ze,_e)},b;ae&&typeof ae.ownKeys=="function"?b=ae.ownKeys:Object.getOwnPropertySymbols?b=function(Qe){return Object.getOwnPropertyNames(Qe).concat(Object.getOwnPropertySymbols(Qe))}:b=function(Qe){return Object.getOwnPropertyNames(Qe)};function me(Ze){console&&console.warn&&console.warn(Ze)}var le=Number.isNaN||function(Qe){return Qe!==Qe};function pe(){pe.init.call(this)}Ce.exports=pe,Ce.exports.once=Je,pe.EventEmitter=pe,pe.prototype._events=void 0,pe.prototype._eventsCount=0,pe.prototype._maxListeners=void 0;var be=10;function fe(Ze){if(typeof Ze!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ze)}Object.defineProperty(pe,"defaultMaxListeners",{enumerable:!0,get:function(){return be},set:function(Ze){if(typeof Ze!="number"||Ze<0||le(Ze))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ze+".");be=Ze}}),pe.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},pe.prototype.setMaxListeners=function(Qe){if(typeof Qe!="number"||Qe<0||le(Qe))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Qe+".");return this._maxListeners=Qe,this};function we(Ze){return Ze._maxListeners===void 0?pe.defaultMaxListeners:Ze._maxListeners}pe.prototype.getMaxListeners=function(){return we(this)},pe.prototype.emit=function(Qe){for(var ze=[],_e=1;_e0&&(bt=ze[0]),bt instanceof Error)throw bt;var it=new Error("Unhandled error."+(bt?" ("+bt.message+")":""));throw it.context=bt,it}var Nt=nt[Qe];if(Nt===void 0)return!1;if(typeof Nt=="function")y(Nt,this,ze);else for(var vt=Nt.length,dt=At(Nt,vt),_e=0;_e0&&bt.length>$e&&!bt.warned){bt.warned=!0;var it=new Error("Possible EventEmitter memory leak detected. "+bt.length+" "+String(Qe)+" listeners added. Use emitter.setMaxListeners() to increase limit");it.name="MaxListenersExceededWarning",it.emitter=Ze,it.type=Qe,it.count=bt.length,me(it)}return Ze}pe.prototype.addListener=function(Qe,ze){return Oe(this,Qe,ze,!1)},pe.prototype.on=pe.prototype.addListener,pe.prototype.prependListener=function(Qe,ze){return Oe(this,Qe,ze,!0)};function Re(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function xe(Ze,Qe,ze){var _e={fired:!1,wrapFn:void 0,target:Ze,type:Qe,listener:ze},$e=Re.bind(_e);return $e.listener=ze,_e.wrapFn=$e,$e}pe.prototype.once=function(Qe,ze){return fe(ze),this.on(Qe,xe(this,Qe,ze)),this},pe.prototype.prependOnceListener=function(Qe,ze){return fe(ze),this.prependListener(Qe,xe(this,Qe,ze)),this},pe.prototype.removeListener=function(Qe,ze){var _e,$e,nt,bt,it;if(fe(ze),$e=this._events,$e===void 0)return this;if(_e=$e[Qe],_e===void 0)return this;if(_e===ze||_e.listener===ze)--this._eventsCount===0?this._events=Object.create(null):(delete $e[Qe],$e.removeListener&&this.emit("removeListener",Qe,_e.listener||ze));else if(typeof _e!="function"){for(nt=-1,bt=_e.length-1;bt>=0;bt--)if(_e[bt]===ze||_e[bt].listener===ze){it=_e[bt].listener,nt=bt;break}if(nt<0)return this;nt===0?_e.shift():at(_e,nt),_e.length===1&&($e[Qe]=_e[0]),$e.removeListener!==void 0&&this.emit("removeListener",Qe,it||ze)}return this},pe.prototype.off=pe.prototype.removeListener,pe.prototype.removeAllListeners=function(Qe){var ze,_e,$e;if(_e=this._events,_e===void 0)return this;if(_e.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_e[Qe]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete _e[Qe]),this;if(arguments.length===0){var nt=Object.keys(_e),bt;for($e=0;$e=0;$e--)this.removeListener(Qe,ze[$e]);return this};function Ge(Ze,Qe,ze){var _e=Ze._events;if(_e===void 0)return[];var $e=_e[Qe];return $e===void 0?[]:typeof $e=="function"?ze?[$e.listener||$e]:[$e]:ze?tt($e):At($e,$e.length)}pe.prototype.listeners=function(Qe){return Ge(this,Qe,!0)},pe.prototype.rawListeners=function(Qe){return Ge(this,Qe,!1)},pe.listenerCount=function(Ze,Qe){return typeof Ze.listenerCount=="function"?Ze.listenerCount(Qe):Fe.call(Ze,Qe)},pe.prototype.listenerCount=Fe;function Fe(Ze){var Qe=this._events;if(Qe!==void 0){var ze=Qe[Ze];if(typeof ze=="function")return 1;if(ze!==void 0)return ze.length}return 0}pe.prototype.eventNames=function(){return this._eventsCount>0?b(this._events):[]};function At(Ze,Qe){for(var ze=new Array(Qe),_e=0;_e=97&&b<=122||b>=65&&b<=90}},21127:function(Ce,ae,y){"use strict";var b=y(91241),me=y(22347);Ce.exports=le;function le(pe){return b(pe)||me(pe)}},22347:function(Ce){"use strict";Ce.exports=ae;function ae(y){var b=typeof y=="string"?y.charCodeAt(0):y;return b>=48&&b<=57}},65207:function(Ce){"use strict";Ce.exports=ae;function ae(y){var b=typeof y=="string"?y.charCodeAt(0):y;return b>=97&&b<=102||b>=65&&b<=70||b>=48&&b<=57}},2859:function(Ce,ae,y){"use strict";y.d(ae,{hP:function(){return un}});var b=function(De,he){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ce,Te){ce.__proto__=Te}||function(ce,Te){for(var je in Te)Object.prototype.hasOwnProperty.call(Te,je)&&(ce[je]=Te[je])})(De,he)};function me(De,he){function ce(){this.constructor=De}b(De,he),De.prototype=he===null?Object.create(he):(ce.prototype=he.prototype,new ce)}function le(De,he,ce,Te){return new(ce||(ce=Promise))(function(je,ge){function Pe(gt){try{$t(Te.next(gt))}catch(yt){ge(yt)}}function ct(gt){try{$t(Te.throw(gt))}catch(yt){ge(yt)}}function $t(gt){var yt;gt.done?je(gt.value):(yt=gt.value,yt instanceof ce?yt:new ce(function(Dt){Dt(yt)})).then(Pe,ct)}$t((Te=Te.apply(De,he||[])).next())})}function pe(De,he){var ce,Te,je,ge,Pe={label:0,sent:function(){if(1&je[0])throw je[1];return je[1]},trys:[],ops:[]};return ge={next:ct(0),throw:ct(1),return:ct(2)},typeof Symbol=="function"&&(ge[Symbol.iterator]=function(){return this}),ge;function ct($t){return function(gt){return function(yt){if(ce)throw new TypeError("Generator is already executing.");for(;Pe;)try{if(ce=1,Te&&(je=2&yt[0]?Te.return:yt[0]?Te.throw||((je=Te.return)&&je.call(Te),0):Te.next)&&!(je=je.call(Te,yt[1])).done)return je;switch(Te=0,je&&(yt=[2&yt[0],je.value]),yt[0]){case 0:case 1:je=yt;break;case 4:return Pe.label++,{value:yt[1],done:!1};case 5:Pe.label++,Te=yt[1],yt=[0];continue;case 7:yt=Pe.ops.pop(),Pe.trys.pop();continue;default:if(je=Pe.trys,!((je=je.length>0&&je[je.length-1])||yt[0]!==6&&yt[0]!==2)){Pe=0;continue}if(yt[0]===3&&(!je||yt[1]>je[0]&&yt[1]',"select"),this.addActionButton(Te,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(Te,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(Te,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(Te,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(Te,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(Te,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(Te,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(ge){var Me=document.createElement("div");Me.className=""+ce.toolbarButtonStyleClass.name,Me.setAttribute("data-type-name",ge.typeName),Me.innerHTML=ge.icon,Me.addEventListener("click",function(){ce.markerToolbarButtonClicked(Me,ge)}),ce.buttons.push(Me),ce.markerButtons.push(Me)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var Ue=document.createElement("div");Ue.className=this.toolbarBlockStyleClass.name,Ue.style.whiteSpace="nowrap",Ue.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(Ue),this.addActionButton(Ue,'',"render"),this.addActionButton(Ue,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},De.prototype.addButtonClickListener=function(me){this.buttonClickListeners.push(me)},De.prototype.removeButtonClickListener=function(me){this.buttonClickListeners.indexOf(me)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(me),1)},De.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},De.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var me=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ce=0;ce',"select"),this.addActionButton(Te,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(Te,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(Te,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(Te,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(Te,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(Te,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(Te,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(ge){var Pe=document.createElement("div");Pe.className=""+ce.toolbarButtonStyleClass.name,Pe.setAttribute("data-type-name",ge.typeName),Pe.innerHTML=ge.icon,Pe.addEventListener("click",function(){ce.markerToolbarButtonClicked(Pe,ge)}),ce.buttons.push(Pe),ce.markerButtons.push(Pe)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var je=document.createElement("div");je.className=this.toolbarBlockStyleClass.name,je.style.whiteSpace="nowrap",je.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(je),this.addActionButton(je,'',"render"),this.addActionButton(je,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},De.prototype.addButtonClickListener=function(he){this.buttonClickListeners.push(he)},De.prototype.removeButtonClickListener=function(he){this.buttonClickListeners.indexOf(he)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(he),1)},De.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},De.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var he=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var ce=0;ce0&&this.buttonClickListeners.forEach(function(Te){return Te("marker",ce)}),this.markerButtonOverflowBlock.style.display="none"},De.prototype.actionToolbarButtonClicked=function(me,ce){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Te){return Te("action",ce)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},De.prototype.setActiveButton=function(me){this.resetButtonStyles(),me.className=me.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),me.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},De.prototype.setActiveMarkerButton=function(me){var ce=this.markerButtons.find(function(Te){return Te.getAttribute("data-type-name")===me});ce&&this.setActiveButton(ce)},De.prototype.setCurrentMarker=function(me){var ce=this;this.currentMarker=me,this.buttons.filter(function(Te){return/delete|notes/.test(Te.getAttribute("data-action"))}).forEach(function(Te){ce.currentMarker===void 0?(Te.style.fillOpacity="0.4",Te.style.pointerEvents="none"):(Te.style.fillOpacity="1",Te.style.pointerEvents="all")})},De}(),nt=function(){function De(me,ce,Te,Ue){this.panels=[],this.panelButtons=[],this.markerjsContainer=me,this.displayMode=ce,this.uiStyleSettings=Te,this.styles=Ue,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return De.prototype.addStyles=function(){var me;this.toolboxStyleClass=this.styles.addClass(new Fe("toolbox",` + `))},De.prototype.markerToolbarButtonClicked=function(he,ce){this.setActiveButton(he),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Te){return Te("marker",ce)}),this.markerButtonOverflowBlock.style.display="none"},De.prototype.actionToolbarButtonClicked=function(he,ce){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(Te){return Te("action",ce)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},De.prototype.setActiveButton=function(he){this.resetButtonStyles(),he.className=he.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),he.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},De.prototype.setActiveMarkerButton=function(he){var ce=this.markerButtons.find(function(Te){return Te.getAttribute("data-type-name")===he});ce&&this.setActiveButton(ce)},De.prototype.setCurrentMarker=function(he){var ce=this;this.currentMarker=he,this.buttons.filter(function(Te){return/delete|notes/.test(Te.getAttribute("data-action"))}).forEach(function(Te){ce.currentMarker===void 0?(Te.style.fillOpacity="0.4",Te.style.pointerEvents="none"):(Te.style.fillOpacity="1",Te.style.pointerEvents="all")})},De}(),at=function(){function De(he,ce,Te,je){this.panels=[],this.panelButtons=[],this.markerjsContainer=he,this.displayMode=ce,this.uiStyleSettings=Te,this.styles=je,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return De.prototype.addStyles=function(){var he;this.toolboxStyleClass=this.styles.addClass(new Fe("toolbox",` width: 100%; flex-shrink: 0; display: flex; @@ -1472,7 +1472,7 @@ b`.split(/\n/).length!=3?function(a){for(var E=0,re=[],ne=a.length;E<=ne;){var i `+(this.displayMode==="inline"?"width: 100%;":"")+` box-sizing: content-box; `)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new Fe("toolbox-panel-row_colors",` - background-color: `+((me=this.uiStyleSettings.toolboxBackgroundColor)!==null&&me!==void 0?me:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; + background-color: `+((he=this.uiStyleSettings.toolboxBackgroundColor)!==null&&he!==void 0?he:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; `)),this.toolboxButtonStyleClass=this.styles.addClass(new Fe("toolbox_button",` display: inline-block; width: `+(this.uiStyleSettings.toolbarHeight-2*ce)+`px; @@ -1484,21 +1484,21 @@ b`.split(/\n/).length!=3?function(a){for(var E=0,re=[],ne=a.length;E<=ne;){var i `)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new Fe("toolbox-active-button_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`; fill: `+this.uiStyleSettings.toolbarColor+`; - `)),this.styles.addRule(new je("."+this.toolboxButtonStyleColorsClass.name+":hover",` + `)),this.styles.addRule(new Ge("."+this.toolboxButtonStyleColorsClass.name+":hover",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` - `)),this.styles.addRule(new je("."+this.toolboxButtonStyleClass.name+" svg",` + `)),this.styles.addRule(new Ge("."+this.toolboxButtonStyleClass.name+" svg",` height: `+this.uiStyleSettings.toolbarHeight/2+`px; - `))},De.prototype.show=function(me){var ce;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=me,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ce=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ce!==void 0?ce:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},De.prototype.setPanelButtons=function(me){var ce,Te,Ue=this;this.panels=me,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ce=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ce!==void 0?ce:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Te=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Te!==void 0?Te:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ge){var Me;ge.uiStyleSettings=Ue.uiStyleSettings;var ot=document.createElement("div");ot.className=Ue.toolboxButtonStyleClass.name+" "+((Me=Ue.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Me!==void 0?Me:Ue.toolboxButtonStyleColorsClass.name),ot.innerHTML=ge.icon,ot.title=ge.title,ot.addEventListener("click",function(){Ue.panelButtonClick(ge)}),Ue.panelButtons.push(ot),Ue.buttonRow.appendChild(ot)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},De.prototype.panelButtonClick=function(me){var ce=this,Te=-1;if(me!==this.activePanel){Te=this.panels.indexOf(me),this.panelRow.innerHTML="";var Ue=me.getUi();Ue.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(Ue),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=me}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ce.displayMode==="inline"?ce.panelRow.style.display="none":ce.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ge,Me){var ot,Qt;ge.className=ce.toolboxButtonStyleClass.name+" "+(Me===Te?""+((ot=ce.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&ot!==void 0?ot:ce.toolboxActiveButtonStyleColorsClass.name):""+((Qt=ce.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Qt!==void 0?Qt:ce.toolboxButtonStyleColorsClass.name))})},De}(),et=function(De,me){this.title=De,this.icon=me},Je=function(De){function me(ce,Te,Ue,ge){var Me=De.call(this,ce,ge||'')||this;return Me.colors=[],Me.addTransparent=!1,Me.colorBoxes=[],Me.colors=Te,Me.currentColor=Ue,Me.setCurrentColor=Me.setCurrentColor.bind(Me),Me.getColorBox=Me.getColorBox.bind(Me),Me}return he(me,De),me.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.whiteSpace="nowrap",this.colors.forEach(function(Ue){var ge=ce.getColorBox(Ue);Te.appendChild(ge),ce.colorBoxes.push(ge)}),Te},me.prototype.getColorBox=function(ce){var Te=this,Ue=this.uiStyleSettings.toolbarHeight/4,ge=this.uiStyleSettings.toolbarHeight-Ue,Me=document.createElement("div");Me.style.display="inline-block",Me.style.boxSizing="content-box",Me.style.width=ge-2+"px",Me.style.height=ge-2+"px",Me.style.padding="1px",Me.style.marginRight="2px",Me.style.marginBottom="2px",Me.style.borderWidth="2px",Me.style.borderStyle="solid",Me.style.borderRadius=(ge+2)/2+"px",Me.style.borderColor=ce===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Me.addEventListener("click",function(){Te.setCurrentColor(ce,Me)});var ot=document.createElement("div");return ot.style.display="inline-block",ot.style.width=ge-2+"px",ot.style.height=ge-2+"px",ot.style.backgroundColor=ce,ot.style.borderRadius=ge/2+"px",ce==="transparent"&&(ot.style.fill=this.uiStyleSettings.toolboxAccentColor,ot.innerHTML=` + `))},De.prototype.show=function(he){var ce;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=he,this.uiContainer.className=this.toolboxStyleClass.name+" "+((ce=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&ce!==void 0?ce:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},De.prototype.setPanelButtons=function(he){var ce,Te,je=this;this.panels=he,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((ce=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&ce!==void 0?ce:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((Te=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&Te!==void 0?Te:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(ge){var Pe;ge.uiStyleSettings=je.uiStyleSettings;var ct=document.createElement("div");ct.className=je.toolboxButtonStyleClass.name+" "+((Pe=je.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Pe!==void 0?Pe:je.toolboxButtonStyleColorsClass.name),ct.innerHTML=ge.icon,ct.title=ge.title,ct.addEventListener("click",function(){je.panelButtonClick(ge)}),je.panelButtons.push(ct),je.buttonRow.appendChild(ct)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},De.prototype.panelButtonClick=function(he){var ce=this,Te=-1;if(he!==this.activePanel){Te=this.panels.indexOf(he),this.panelRow.innerHTML="";var je=he.getUi();je.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(je),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=he}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){ce.displayMode==="inline"?ce.panelRow.style.display="none":ce.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(ge,Pe){var ct,$t;ge.className=ce.toolboxButtonStyleClass.name+" "+(Pe===Te?""+((ct=ce.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&ct!==void 0?ct:ce.toolboxActiveButtonStyleColorsClass.name):""+(($t=ce.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&$t!==void 0?$t:ce.toolboxButtonStyleColorsClass.name))})},De}(),tt=function(De,he){this.title=De,this.icon=he},Je=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'')||this;return Pe.colors=[],Pe.addTransparent=!1,Pe.colorBoxes=[],Pe.colors=Te,Pe.currentColor=je,Pe.setCurrentColor=Pe.setCurrentColor.bind(Pe),Pe.getColorBox=Pe.getColorBox.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.whiteSpace="nowrap",this.colors.forEach(function(je){var ge=ce.getColorBox(je);Te.appendChild(ge),ce.colorBoxes.push(ge)}),Te},he.prototype.getColorBox=function(ce){var Te=this,je=this.uiStyleSettings.toolbarHeight/4,ge=this.uiStyleSettings.toolbarHeight-je,Pe=document.createElement("div");Pe.style.display="inline-block",Pe.style.boxSizing="content-box",Pe.style.width=ge-2+"px",Pe.style.height=ge-2+"px",Pe.style.padding="1px",Pe.style.marginRight="2px",Pe.style.marginBottom="2px",Pe.style.borderWidth="2px",Pe.style.borderStyle="solid",Pe.style.borderRadius=(ge+2)/2+"px",Pe.style.borderColor=ce===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Pe.addEventListener("click",function(){Te.setCurrentColor(ce,Pe)});var ct=document.createElement("div");return ct.style.display="inline-block",ct.style.width=ge-2+"px",ct.style.height=ge-2+"px",ct.style.backgroundColor=ce,ct.style.borderRadius=ge/2+"px",ce==="transparent"&&(ct.style.fill=this.uiStyleSettings.toolboxAccentColor,ct.innerHTML=` - `),Me.appendChild(ot),Me},me.prototype.setCurrentColor=function(ce,Te){var Ue=this;this.currentColor=ce,this.colorBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ce)},me}(et),Ge=function(){function De(me,ce,Te){this._state="new",this._isSelected=!1,this._container=me,this._overlayContainer=ce,this.globalSettings=Te,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(De.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),De.prototype.ownsTarget=function(me){return!1},Object.defineProperty(De.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),De.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},De.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},De.prototype.pointerDown=function(me,ce){},De.prototype.dblClick=function(me,ce){},De.prototype.manipulate=function(me){},De.prototype.pointerUp=function(me){this.stateChanged()},De.prototype.dispose=function(){},De.prototype.addMarkerVisualToContainer=function(me){this.container.childNodes.length>0?this.container.insertBefore(me,this.container.childNodes[0]):this.container.appendChild(me)},De.prototype.getState=function(){return{typeName:De.typeName,state:this.state,notes:this.notes}},De.prototype.restoreState=function(me){this._state=me.state,this.notes=me.notes},De.prototype.scale=function(me,ce){},De.prototype.colorChanged=function(me){this.onColorChanged&&this.onColorChanged(me),this.stateChanged()},De.prototype.fillColorChanged=function(me){this.onFillColorChanged&&this.onFillColorChanged(me),this.stateChanged()},De.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var me=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),me.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(me)&&this.onStateChanged(this)}},De.typeName="MarkerBase",De}(),We=function(){function De(){this.findGripByVisual=this.findGripByVisual.bind(this)}return De.prototype.findGripByVisual=function(me){return this.topLeft.ownsTarget(me)?this.topLeft:this.topCenter.ownsTarget(me)?this.topCenter:this.topRight.ownsTarget(me)?this.topRight:this.centerLeft.ownsTarget(me)?this.centerLeft:this.centerRight.ownsTarget(me)?this.centerRight:this.bottomLeft.ownsTarget(me)?this.bottomLeft:this.bottomCenter.ownsTarget(me)?this.bottomCenter:this.bottomRight.ownsTarget(me)?this.bottomRight:void 0},De}(),Ve=function(){function De(){this.GRIP_SIZE=10,this.visual=fe.createGroup(),this.visual.appendChild(fe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(fe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return De.prototype.ownsTarget=function(me){return me===this.visual||me===this.visual.childNodes[0]||me===this.visual.childNodes[1]},De}(),Qe=function(){function De(){}return De.toITransformMatrix=function(me){return{a:me.a,b:me.b,c:me.c,d:me.d,e:me.e,f:me.f}},De.toSVGMatrix=function(me,ce){return me.a=ce.a,me.b=ce.b,me.c=ce.c,me.d=ce.d,me.e=ce.e,me.f=ce.f,me},De}(),He=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.left=0,ge.top=0,ge.width=0,ge.height=0,ge.defaultSize={x:50,y:20},ge.offsetX=0,ge.offsetY=0,ge.rotationAngle=0,ge.CB_DISTANCE=10,ge._suppressMarkerCreateEvent=!1,ge.container.transform.baseVal.appendItem(fe.createTransform()),ge.setupControlBox(),ge}return he(me,De),Object.defineProperty(me.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(me.prototype,"visual",{get:function(){return this._visual},set:function(ce){this._visual=ce;var Te=fe.createTransform();this._visual.transform.baseVal.appendItem(Te)},enumerable:!1,configurable:!0}),me.prototype.ownsTarget=function(ce){return!!De.prototype.ownsTarget.call(this,ce)||!!(this.controlGrips.findGripByVisual(ce)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ce))},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.left=ce.x,this.top=ce.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var Ue=this.unrotatePoint(ce);if(this.manipulationStartX=Ue.x,this.manipulationStartY=Ue.y,this.offsetX=Ue.x-this.left,this.offsetY=Ue.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Te),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Te)){this.activeGrip=this.rotatorGrip;var ge=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ge.x-this.width/2,this.top=ge.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Me=this.container.transform.baseVal.getItem(0);Me.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Me,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},me.prototype.pointerUp=function(ce){var Te=this.state;De.prototype.pointerUp.call(this,ce),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ce),this._state="select",Te==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},me.prototype.moveVisual=function(ce){this.visual.style.transform="translate("+ce.x+"px, "+ce.y+"px)"},me.prototype.manipulate=function(ce){var Te=this.unrotatePoint(ce);this.state==="creating"?this.resize(ce):this.state==="move"?(this.left=this.manipulationStartLeft+(Te.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Te.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Te):this.state==="rotate"&&this.rotate(ce)},me.prototype.resize=function(ce){var Te=this.manipulationStartLeft,Ue=this.manipulationStartWidth,ge=this.manipulationStartTop,Me=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Te=this.manipulationStartLeft+ce.x-this.manipulationStartX,Ue=this.manipulationStartWidth+this.manipulationStartLeft-Te;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:Ue=this.manipulationStartWidth+ce.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ge=this.manipulationStartTop+ce.y-this.manipulationStartY,Me=this.manipulationStartHeight+this.manipulationStartTop-ge;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Me=this.manipulationStartHeight+ce.y-this.manipulationStartY}Ue>=0?(this.left=Te,this.width=Ue):(this.left=Te+Ue,this.width=-Ue),Me>=0?(this.top=ge,this.height=Me):(this.top=ge+Me,this.height=-Me),this.setSize()},me.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},me.prototype.rotate=function(ce){if(Math.abs(ce.x-this.centerX)>.1){var Te=Math.sign(ce.x-this.centerX);this.rotationAngle=180*Math.atan((ce.y-this.centerY)/(ce.x-this.centerX))/Math.PI+90*Te,this.applyRotation()}},me.prototype.applyRotation=function(){var ce=this.container.transform.baseVal.getItem(0);ce.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ce,0)},me.prototype.rotatePoint=function(ce){if(this.rotationAngle===0)return ce;var Te=this.container.getCTM(),Ue=fe.createPoint(ce.x,ce.y);return{x:(Ue=Ue.matrixTransform(Te)).x,y:Ue.y}},me.prototype.unrotatePoint=function(ce){if(this.rotationAngle===0)return ce;var Te=this.container.getCTM();Te=Te.inverse();var Ue=fe.createPoint(ce.x,ce.y);return{x:(Ue=Ue.matrixTransform(Te)).x,y:Ue.y}},me.prototype.select=function(){De.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},me.prototype.deselect=function(){De.prototype.deselect.call(this),this.controlBox.style.display="none"},me.prototype.setupControlBox=function(){this.controlBox=fe.createGroup();var ce=fe.createTransform();ce.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ce),this.container.appendChild(this.controlBox),this.controlRect=fe.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=fe.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new We,this.addControlGrips(),this.controlBox.style.display="none"},me.prototype.adjustControlBox=function(){var ce=this.controlBox.transform.baseVal.getItem(0);ce.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ce,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},me.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},me.prototype.createGrip=function(){var ce=new Ve;return ce.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(ce.visual),ce},me.prototype.positionGrips=function(){var ce=this.controlGrips.topLeft.GRIP_SIZE,Te=-ce/2,Ue=Te,ge=(this.width+this.CB_DISTANCE)/2-ce/2,Me=(this.height+this.CB_DISTANCE)/2-ce/2,ot=this.height+this.CB_DISTANCE-ce/2,Qt=this.width+this.CB_DISTANCE-ce/2;this.positionGrip(this.controlGrips.topLeft.visual,Te,Ue),this.positionGrip(this.controlGrips.topCenter.visual,ge,Ue),this.positionGrip(this.controlGrips.topRight.visual,Qt,Ue),this.positionGrip(this.controlGrips.centerLeft.visual,Te,Me),this.positionGrip(this.controlGrips.centerRight.visual,Qt,Me),this.positionGrip(this.controlGrips.bottomLeft.visual,Te,ot),this.positionGrip(this.controlGrips.bottomCenter.visual,ge,ot),this.positionGrip(this.controlGrips.bottomRight.visual,Qt,ot),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ge,Ue-3*this.CB_DISTANCE)},me.prototype.positionGrip=function(ce,Te,Ue){var ge=ce.transform.baseVal.getItem(0);ge.setTranslate(Te,Ue),ce.transform.baseVal.replaceItem(ge,0)},me.prototype.hideControlBox=function(){this.controlBox.style.display="none"},me.prototype.showControlBox=function(){this.controlBox.style.display=""},me.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Qe.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Qe.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},De.prototype.getState.call(this))},me.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.left=Te.left,this.top=Te.top,this.width=Te.width,this.height=Te.height,this.rotationAngle=Te.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Te.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Te.containerTransformMatrix))},me.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te);var Ue=this.rotatePoint({x:this.left,y:this.top}),ge=this.unrotatePoint({x:Ue.x*ce,y:Ue.y*Te});this.left=ge.x,this.top=ge.y,this.width=this.width*ce,this.height=this.height*Te,this.adjustControlBox()},me}(Ge),_e=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.fillColor="transparent",ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.opacity=1,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setFillColor=ge.setFillColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.createVisual=ge.createVisual.bind(ge),ge}return he(me,De),me.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual)},me.prototype.createVisual=function(){this.visual=fe.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},me.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce)},me.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.setSize()},me.prototype.setSize=function(){De.prototype.setSize.call(this),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},me.prototype.pointerUp=function(ce){De.prototype.pointerUp.call(this,ce),this.setSize()},me.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.visual&&fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ce),this.stateChanged()},me.prototype.setFillColor=function(ce){this.fillColor=ce,this.visual&&fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},me.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},me.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},me.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},De.prototype.getState.call(this))},me.prototype.restoreState=function(ce){var Te=ce;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.opacity=Te.opacity,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},me.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize()},me.title="Rectangle marker",me}(He),Ze=function(De){function me(ce,Te,Ue,ge){var Me=De.call(this,ce,ge||'')||this;return Me.widths=[],Me.widthBoxes=[],Me.widths=Te,Me.currentWidth=Ue,Me.setCurrentWidth=Me.setCurrentWidth.bind(Me),Me}return he(me,De),me.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.widths.forEach(function(Ue){var ge=document.createElement("div");ge.style.display="flex",ge.style.flexGrow="2",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.borderColor=Ue===ce.currentWidth?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentWidth(Ue,ge)}),Te.appendChild(ge);var Me=document.createElement("div");Me.innerText=Ue.toString(),Me.style.marginRight="5px",ge.appendChild(Me);var ot=document.createElement("div");ot.style.minHeight="20px",ot.style.flexGrow="2",ot.style.display="flex",ot.style.alignItems="center";var Qt=document.createElement("hr");Qt.style.minWidth="20px",Qt.style.border="0px",Qt.style.borderTop=Ue+"px solid "+ce.uiStyleSettings.toolboxColor,Qt.style.flexGrow="2",ot.appendChild(Qt),ge.appendChild(ot),ce.widthBoxes.push(ge)}),Te},me.prototype.setCurrentWidth=function(ce,Te){var Ue=this;this.currentWidth=ce,this.widthBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},me}(et),tt=function(De){function me(ce,Te,Ue,ge){var Me=De.call(this,ce,ge||'')||this;return Me.styles=[],Me.styleBoxes=[],Me.styles=Te,Me.currentStyle=Ue,Me.setCurrentStyle=Me.setCurrentStyle.bind(Me),Me}return he(me,De),me.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.styles.forEach(function(Ue){var ge=document.createElement("div");ge.style.display="flex",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.overflow="hidden",ge.style.maxWidth=100/ce.styles.length-5+"%",ge.style.borderColor=Ue===ce.currentStyle?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentStyle(Ue,ge)}),Te.appendChild(ge);var Me=document.createElement("div");Me.style.minHeight="20px",Me.style.flexGrow="2",Me.style.overflow="hidden";var ot=` - - `;Me.innerHTML=ot,ge.appendChild(Me),ce.styleBoxes.push(ge)}),Te},me.prototype.setCurrentStyle=function(ce,Te){var Ue=this;this.currentStyle=ce,this.styleBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},me}(et),gt=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.strokeColor=Ue.defaultColor,ge.strokeWidth=Ue.defaultStrokeWidth,ge.strokeDasharray=Ue.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",Ue.defaultColorSet,Ue.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new Ze("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new tt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return he(me,De),Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=me.typeName,ce},me.typeName="FrameMarker",me.title="Frame marker",me.icon='',me}(_e),rt=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},It=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.x1=0,ge.y1=0,ge.x2=0,ge.y2=0,ge.defaultLength=50,ge.manipulationStartX=0,ge.manipulationStartY=0,ge.manipulationStartX1=0,ge.manipulationStartY1=0,ge.manipulationStartX2=0,ge.manipulationStartY2=0,ge.setupControlBox(),ge}return he(me,De),me.prototype.ownsTarget=function(ce){return!!De.prototype.ownsTarget.call(this,ce)||!(!this.grip1.ownsTarget(ce)&&!this.grip2.ownsTarget(ce))},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.manipulationStartX=ce.x,this.manipulationStartY=ce.y,this.state==="new"&&(this.x1=ce.x,this.y1=ce.y,this.x2=ce.x,this.y2=ce.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(Te)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Te)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},me.prototype.pointerUp=function(ce){var Te=this.state;De.prototype.pointerUp.call(this,ce),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(ce),this._state="select",Te==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},me.prototype.adjustVisual=function(){},me.prototype.manipulate=function(ce){this.state==="creating"?this.resize(ce):this.state==="move"?(this.x1=this.manipulationStartX1+ce.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ce.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ce.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ce.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ce)},me.prototype.resize=function(ce){switch(this.activeGrip){case this.grip1:this.x1=ce.x,this.y1=ce.y;break;case this.grip2:case void 0:this.x2=ce.x,this.y2=ce.y}this.adjustVisual(),this.adjustControlBox()},me.prototype.select=function(){De.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},me.prototype.deselect=function(){De.prototype.deselect.call(this),this.controlBox.style.display="none"},me.prototype.setupControlBox=function(){this.controlBox=fe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},me.prototype.adjustControlBox=function(){this.positionGrips()},me.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},me.prototype.createGrip=function(){var ce=new Ve;return ce.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(ce.visual),ce},me.prototype.positionGrips=function(){var ce=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ce/2,this.y1-ce/2),this.positionGrip(this.grip2.visual,this.x2-ce/2,this.y2-ce/2)},me.prototype.positionGrip=function(ce,Te,Ue){var ge=ce.transform.baseVal.getItem(0);ge.setTranslate(Te,Ue),ce.transform.baseVal.replaceItem(ge,0)},me.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},De.prototype.getState.call(this))},me.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.x1=Te.x1,this.y1=Te.y1,this.x2=Te.x2,this.y2=Te.y2},me.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.x1=this.x1*ce,this.y1=this.y1*Te,this.x2=this.x2*ce,this.y2=this.y2*Te,this.adjustVisual(),this.adjustControlBox()},me}(Ge),mt=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.strokeColor=Ue.defaultColor,ge.strokeWidth=Ue.defaultStrokeWidth,ge.strokeDasharray=Ue.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",Ue.defaultColorSet,Ue.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new Ze("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new tt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return he(me,De),me.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.selectorLine&&ce!==this.visibleLine)},me.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorLine=fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},me.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),fe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},me.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.adjustVisual(),this.colorChanged(ce)},me.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.adjustVisual()},me.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},De.prototype.getState.call(this));return ce.typeName=me.typeName,ce},me.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.createVisual(),this.adjustVisual()},me.typeName="LineMarker",me.title="Line marker",me.icon='',me}(It),ut=function(De){function me(ce,Te,Ue,ge){var Me=De.call(this,ce,ge||'')||this;return Me.fonts=[],Me.fontBoxes=[],Me.fonts=Te,Me.currentFont=Ue,Me.setCurrentFont=Me.setCurrentFont.bind(Me),Me}return he(me,De),me.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.flexGrow="2",this.fonts.forEach(function(Ue){var ge=document.createElement("div");ge.style.display="inline-block",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.overflow="hidden",ge.style.maxWidth=100/ce.fonts.length-5+"%",ge.style.borderColor=Ue===ce.currentFont?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentFont(Ue,ge)}),Te.appendChild(ge);var Me=document.createElement("div");Me.style.display="flex",Me.style.minHeight="20px",Me.style.flexGrow="2",Me.style.fontFamily=Ue,Me.style.overflow="hidden";var ot=document.createElement("div");ot.style.whiteSpace="nowrap",ot.style.overflow="hidden",ot.style.textOverflow="ellipsis",ot.innerHTML="The quick brown fox jumps over the lazy dog",Me.appendChild(ot),ge.appendChild(Me),ce.fontBoxes.push(ge)}),Te},me.prototype.setCurrentFont=function(ce,Te){var Ue=this;this.currentFont=ce,this.fontBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},me}(et),Tt=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.color="transparent",ge.padding=5,ge.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ge.text=ge.DEFAULT_TEXT,ge.isMoved=!1,ge.color=Ue.defaultColor,ge.fontFamily=Ue.defaultFontFamily,ge.defaultSize={x:100,y:30},ge.setColor=ge.setColor.bind(ge),ge.setFont=ge.setFont.bind(ge),ge.renderText=ge.renderText.bind(ge),ge.sizeText=ge.sizeText.bind(ge),ge.textEditDivClicked=ge.textEditDivClicked.bind(ge),ge.showTextEditor=ge.showTextEditor.bind(ge),ge.setSize=ge.setSize.bind(ge),ge.positionTextEditor=ge.positionTextEditor.bind(ge),ge.colorPanel=new Je("Color",Ue.defaultColorSet,Ue.defaultColor),ge.colorPanel.onColorChanged=ge.setColor,ge.fontFamilyPanel=new ut("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge}return he(me,De),me.prototype.ownsTarget=function(ce){if(De.prototype.ownsTarget.call(this,ce)||ce===this.visual||ce===this.textElement||ce===this.bgRectangle)return!0;var Te=!1;return this.textElement.childNodes.forEach(function(Ue){Ue===ce&&(Te=!0)}),Te},me.prototype.createVisual=function(){this.visual=fe.createGroup(),this.bgRectangle=fe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=fe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.isMoved=!1,this.pointerDownPoint=ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},me.prototype.renderText=function(){var ce=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(Te){ce.textElement.appendChild(fe.createTSpan(Te.trim()===""?" ":Te.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},me.prototype.getTextScale=function(){var ce=this.textElement.getBBox(),Te=1;if(ce.width>0&&ce.height>0){var Ue=(1*this.width-this.width*this.padding*2/100)/ce.width,ge=(1*this.height-this.height*this.padding*2/100)/ce.height;Te=Math.min(Ue,ge)}return Te},me.prototype.getTextPosition=function(ce){var Te=this.textElement.getBBox(),Ue=0,ge=0;return Te.width>0&&Te.height>0&&(Ue=(this.width-Te.width*ce)/2,ge=this.height/2-Te.height*ce/2),{x:Ue,y:ge}},me.prototype.sizeText=function(){var ce=this.textElement.getBBox(),Te=this.getTextScale(),Ue=this.getTextPosition(Te);Ue.y-=ce.y*Te,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+Ue.x+"px, "+Ue.y+"px) scale("+Te+", "+Te+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(Ue.x,Ue.y),this.textElement.transform.baseVal.getItem(1).setScale(Te,Te))},me.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ce.x-this.pointerDownPoint.x)>5||Math.abs(ce.y-this.pointerDownPoint.y)>5)},me.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.isMoved=!0,this.setSize(),this.sizeText()},me.prototype.setSize=function(){De.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},me.prototype.pointerUp=function(ce){var Te=this.state;Te==="creating"&&(this._suppressMarkerCreateEvent=!0),De.prototype.pointerUp.call(this,ce),this.setSize(),(Te==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},me.prototype.showTextEditor=function(){var ce=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Te=Number.parseFloat(ce.textEditor.style.fontSize);ce.textEditor.clientWidth>=Number.parseInt(ce.textEditor.style.maxWidth)&&Te>.9;)Te-=.1,ce.textEditor.style.fontSize=Math.max(Te,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Te){if(Te.clipboardData){var Ue=Te.clipboardData.getData("text"),ge=window.getSelection();if(!ge.rangeCount)return!1;ge.deleteFromDocument(),ge.getRangeAt(0).insertNode(document.createTextNode(Ue)),Te.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ce.textEditDivClicked(ce.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},me.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ce=this.getTextScale(),Te=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),Ue=this.textElement.getBBox(),ge={x:Ue.width*ce,y:Ue.height*ce};Te.x-=ge.x/2,Te.y-=ge.y/2,this.textEditor.style.top=Te.y+"px",this.textEditor.style.left=Te.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Te.x+"px",this.textEditor.style.fontSize=Math.max(16*ce,12)+"px",this.textElement.style.display="none"}},me.prototype.textEditDivClicked=function(ce){this.text=ce.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},me.prototype.select=function(){De.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},me.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),De.prototype.deselect.call(this)},me.prototype.dblClick=function(ce,Te){De.prototype.dblClick.call(this,ce,Te),this.showTextEditor()},me.prototype.setColor=function(ce){this.textElement&&fe.setAttributes(this.textElement,[["fill",ce]]),this.color=ce,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ce)},me.prototype.setFont=function(ce){this.textElement&&fe.setAttributes(this.textElement,[["font-family",ce]]),this.fontFamily=ce,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},me.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},me.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},De.prototype.getState.call(this));return ce.typeName=me.typeName,ce},me.prototype.restoreState=function(ce){var Te=ce;this.color=Te.color,this.fontFamily=Te.fontFamily,this.padding=Te.padding,this.text=Te.text,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},me.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize(),this.sizeText(),this.positionTextEditor()},me.typeName="TextMarker",me.title="Text marker",me.icon='',me}(He),_t=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.color="transparent",ge.lineWidth=3,ge.drawing=!1,ge.pixelRatio=1,ge.color=Ue.defaultColor,ge.lineWidth=Ue.defaultStrokeWidth,ge.pixelRatio=Ue.freehandPixelRatio,ge.setColor=ge.setColor.bind(ge),ge.addCanvas=ge.addCanvas.bind(ge),ge.finishCreation=ge.finishCreation.bind(ge),ge.setLineWidth=ge.setLineWidth.bind(ge),ge.colorPanel=new Je("Color",Ue.defaultColorSet,Ue.defaultColor),ge.colorPanel.onColorChanged=ge.setColor,ge.lineWidthPanel=new Ze("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),ge.lineWidthPanel.onWidthChanged=ge.setLineWidth,ge}return he(me,De),me.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.drawingImage)},me.prototype.createVisual=function(){this.visual=fe.createGroup(),this.drawingImage=fe.createImage(),this.visual.appendChild(this.drawingImage);var ce=fe.createTransform();this.visual.transform.baseVal.appendItem(ce),this.addMarkerVisualToContainer(this.visual)},me.prototype.pointerDown=function(ce,Te){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(ce.x,ce.y),this.drawing=!0):De.prototype.pointerDown.call(this,ce,Te)},me.prototype.manipulate=function(ce){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ce.x,ce.y),this.canvasContext.stroke()):De.prototype.manipulate.call(this,ce)},me.prototype.resize=function(ce){De.prototype.resize.call(this,ce),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},me.prototype.pointerUp=function(ce){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):De.prototype.pointerUp.call(this,ce)},me.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},me.prototype.select=function(){this.state==="creating"&&this.finishCreation(),De.prototype.select.call(this)},me.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),De.prototype.deselect.call(this)},me.prototype.finishCreation=function(){for(var ce=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Te=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],Ue=Te[0],ge=Te[1],Me=Te[2],ot=Te[3],Qt=!1,At=0;At0&&(Qt=!0,Atot&&(ot=At),vt>Me&&(Me=vt));if(Qt){this.left=Ue/this.pixelRatio,this.top=ge/this.pixelRatio,this.width=(Me-Ue)/this.pixelRatio,this.height=(ot-ge)/this.pixelRatio;var Ct=document.createElement("canvas");Ct.width=Me-Ue,Ct.height=ot-ge,Ct.getContext("2d").putImageData(this.canvasContext.getImageData(Ue,ge,Me-Ue,ot-ge),0,0),this.drawingImgUrl=Ct.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},me.prototype.setDrawingImage=function(){fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},me.prototype.setColor=function(ce){this.color=ce,this.colorChanged(ce)},me.prototype.setLineWidth=function(ce){this.lineWidth=ce},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=Object.assign({drawingImgUrl:this.drawingImgUrl},De.prototype.getState.call(this));return ce.typeName=me.typeName,ce},me.prototype.restoreState=function(ce){this.createVisual(),De.prototype.restoreState.call(this,ce),this.drawingImgUrl=ce.drawingImgUrl,this.setDrawingImage()},me.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setDrawingImage()},me.typeName="FreehandMarker",me.title="Freehand marker",me.icon='',me}(He),Ke=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Ue||'')||this;return ge.typeBoxes=[],ge.currentType=Te,ge.setCurrentType=ge.setCurrentType.bind(ge),ge}return he(me,De),me.prototype.getUi=function(){var ce=this,Te=document.createElement("div");Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2";for(var Ue=function(ot){var Qt="both";switch(ot){case 0:Qt="both";break;case 1:Qt="start";break;case 2:Qt="end";break;case 3:Qt="none"}var At=document.createElement("div");if(At.style.display="flex",At.style.flexGrow="2",At.style.alignItems="center",At.style.justifyContent="space-between",At.style.padding="5px",At.style.borderWidth="2px",At.style.borderStyle="solid",At.style.borderColor=Qt===ge.currentType?ge.uiStyleSettings.toolboxAccentColor:"transparent",At.addEventListener("click",function(){ce.setCurrentType(Qt,At)}),Te.appendChild(At),Qt==="both"||Qt==="start"){var vt=document.createElement("div");vt.style.display="flex",vt.style.alignItems="center",vt.style.minHeight="20px",vt.innerHTML=` + `),Pe.appendChild(ct),Pe},he.prototype.setCurrentColor=function(ce,Te){var je=this;this.currentColor=ce,this.colorBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(ce)},he}(tt),We=function(){function De(he,ce,Te){this._state="new",this._isSelected=!1,this._container=he,this._overlayContainer=ce,this.globalSettings=Te,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(De.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),De.prototype.ownsTarget=function(he){return!1},Object.defineProperty(De.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),De.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},De.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},De.prototype.pointerDown=function(he,ce){},De.prototype.dblClick=function(he,ce){},De.prototype.manipulate=function(he){},De.prototype.pointerUp=function(he){this.stateChanged()},De.prototype.dispose=function(){},De.prototype.addMarkerVisualToContainer=function(he){this.container.childNodes.length>0?this.container.insertBefore(he,this.container.childNodes[0]):this.container.appendChild(he)},De.prototype.getState=function(){return{typeName:De.typeName,state:this.state,notes:this.notes}},De.prototype.restoreState=function(he){this._state=he.state,this.notes=he.notes},De.prototype.scale=function(he,ce){},De.prototype.colorChanged=function(he){this.onColorChanged&&this.onColorChanged(he),this.stateChanged()},De.prototype.fillColorChanged=function(he){this.onFillColorChanged&&this.onFillColorChanged(he),this.stateChanged()},De.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var he=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),he.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(he)&&this.onStateChanged(this)}},De.typeName="MarkerBase",De}(),Ve=function(){function De(){this.findGripByVisual=this.findGripByVisual.bind(this)}return De.prototype.findGripByVisual=function(he){return this.topLeft.ownsTarget(he)?this.topLeft:this.topCenter.ownsTarget(he)?this.topCenter:this.topRight.ownsTarget(he)?this.topRight:this.centerLeft.ownsTarget(he)?this.centerLeft:this.centerRight.ownsTarget(he)?this.centerRight:this.bottomLeft.ownsTarget(he)?this.bottomLeft:this.bottomCenter.ownsTarget(he)?this.bottomCenter:this.bottomRight.ownsTarget(he)?this.bottomRight:void 0},De}(),Ze=function(){function De(){this.GRIP_SIZE=10,this.visual=fe.createGroup(),this.visual.appendChild(fe.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(fe.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return De.prototype.ownsTarget=function(he){return he===this.visual||he===this.visual.childNodes[0]||he===this.visual.childNodes[1]},De}(),Qe=function(){function De(){}return De.toITransformMatrix=function(he){return{a:he.a,b:he.b,c:he.c,d:he.d,e:he.e,f:he.f}},De.toSVGMatrix=function(he,ce){return he.a=ce.a,he.b=ce.b,he.c=ce.c,he.d=ce.d,he.e=ce.e,he.f=ce.f,he},De}(),ze=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.left=0,ge.top=0,ge.width=0,ge.height=0,ge.defaultSize={x:50,y:20},ge.offsetX=0,ge.offsetY=0,ge.rotationAngle=0,ge.CB_DISTANCE=10,ge._suppressMarkerCreateEvent=!1,ge.container.transform.baseVal.appendItem(fe.createTransform()),ge.setupControlBox(),ge}return me(he,De),Object.defineProperty(he.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"visual",{get:function(){return this._visual},set:function(ce){this._visual=ce;var Te=fe.createTransform();this._visual.transform.baseVal.appendItem(Te)},enumerable:!1,configurable:!0}),he.prototype.ownsTarget=function(ce){return!!De.prototype.ownsTarget.call(this,ce)||!!(this.controlGrips.findGripByVisual(ce)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ce))},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.left=ce.x,this.top=ce.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var je=this.unrotatePoint(ce);if(this.manipulationStartX=je.x,this.manipulationStartY=je.y,this.offsetX=je.x-this.left,this.offsetY=je.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(Te),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Te)){this.activeGrip=this.rotatorGrip;var ge=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=ge.x-this.width/2,this.top=ge.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Pe=this.container.transform.baseVal.getItem(0);Pe.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Pe,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},he.prototype.pointerUp=function(ce){var Te=this.state;De.prototype.pointerUp.call(this,ce),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(ce),this._state="select",Te==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},he.prototype.moveVisual=function(ce){this.visual.style.transform="translate("+ce.x+"px, "+ce.y+"px)"},he.prototype.manipulate=function(ce){var Te=this.unrotatePoint(ce);this.state==="creating"?this.resize(ce):this.state==="move"?(this.left=this.manipulationStartLeft+(Te.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(Te.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(Te):this.state==="rotate"&&this.rotate(ce)},he.prototype.resize=function(ce){var Te=this.manipulationStartLeft,je=this.manipulationStartWidth,ge=this.manipulationStartTop,Pe=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:Te=this.manipulationStartLeft+ce.x-this.manipulationStartX,je=this.manipulationStartWidth+this.manipulationStartLeft-Te;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:je=this.manipulationStartWidth+ce.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:ge=this.manipulationStartTop+ce.y-this.manipulationStartY,Pe=this.manipulationStartHeight+this.manipulationStartTop-ge;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Pe=this.manipulationStartHeight+ce.y-this.manipulationStartY}je>=0?(this.left=Te,this.width=je):(this.left=Te+je,this.width=-je),Pe>=0?(this.top=ge,this.height=Pe):(this.top=ge+Pe,this.height=-Pe),this.setSize()},he.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},he.prototype.rotate=function(ce){if(Math.abs(ce.x-this.centerX)>.1){var Te=Math.sign(ce.x-this.centerX);this.rotationAngle=180*Math.atan((ce.y-this.centerY)/(ce.x-this.centerX))/Math.PI+90*Te,this.applyRotation()}},he.prototype.applyRotation=function(){var ce=this.container.transform.baseVal.getItem(0);ce.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ce,0)},he.prototype.rotatePoint=function(ce){if(this.rotationAngle===0)return ce;var Te=this.container.getCTM(),je=fe.createPoint(ce.x,ce.y);return{x:(je=je.matrixTransform(Te)).x,y:je.y}},he.prototype.unrotatePoint=function(ce){if(this.rotationAngle===0)return ce;var Te=this.container.getCTM();Te=Te.inverse();var je=fe.createPoint(ce.x,ce.y);return{x:(je=je.matrixTransform(Te)).x,y:je.y}},he.prototype.select=function(){De.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},he.prototype.deselect=function(){De.prototype.deselect.call(this),this.controlBox.style.display="none"},he.prototype.setupControlBox=function(){this.controlBox=fe.createGroup();var ce=fe.createTransform();ce.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(ce),this.container.appendChild(this.controlBox),this.controlRect=fe.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=fe.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new Ve,this.addControlGrips(),this.controlBox.style.display="none"},he.prototype.adjustControlBox=function(){var ce=this.controlBox.transform.baseVal.getItem(0);ce.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(ce,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},he.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},he.prototype.createGrip=function(){var ce=new Ze;return ce.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(ce.visual),ce},he.prototype.positionGrips=function(){var ce=this.controlGrips.topLeft.GRIP_SIZE,Te=-ce/2,je=Te,ge=(this.width+this.CB_DISTANCE)/2-ce/2,Pe=(this.height+this.CB_DISTANCE)/2-ce/2,ct=this.height+this.CB_DISTANCE-ce/2,$t=this.width+this.CB_DISTANCE-ce/2;this.positionGrip(this.controlGrips.topLeft.visual,Te,je),this.positionGrip(this.controlGrips.topCenter.visual,ge,je),this.positionGrip(this.controlGrips.topRight.visual,$t,je),this.positionGrip(this.controlGrips.centerLeft.visual,Te,Pe),this.positionGrip(this.controlGrips.centerRight.visual,$t,Pe),this.positionGrip(this.controlGrips.bottomLeft.visual,Te,ct),this.positionGrip(this.controlGrips.bottomCenter.visual,ge,ct),this.positionGrip(this.controlGrips.bottomRight.visual,$t,ct),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,ge,je-3*this.CB_DISTANCE)},he.prototype.positionGrip=function(ce,Te,je){var ge=ce.transform.baseVal.getItem(0);ge.setTranslate(Te,je),ce.transform.baseVal.replaceItem(ge,0)},he.prototype.hideControlBox=function(){this.controlBox.style.display="none"},he.prototype.showControlBox=function(){this.controlBox.style.display=""},he.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Qe.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Qe.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},De.prototype.getState.call(this))},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.left=Te.left,this.top=Te.top,this.width=Te.width,this.height=Te.height,this.rotationAngle=Te.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,Te.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Qe.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,Te.containerTransformMatrix))},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te);var je=this.rotatePoint({x:this.left,y:this.top}),ge=this.unrotatePoint({x:je.x*ce,y:je.y*Te});this.left=ge.x,this.top=ge.y,this.width=this.width*ce,this.height=this.height*Te,this.adjustControlBox()},he}(We),_e=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.fillColor="transparent",ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.opacity=1,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setFillColor=ge.setFillColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.createVisual=ge.createVisual.bind(ge),ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual)},he.prototype.createVisual=function(){this.visual=fe.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},he.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.setSize()},he.prototype.setSize=function(){De.prototype.setSize.call(this),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},he.prototype.pointerUp=function(ce){De.prototype.pointerUp.call(this,ce),this.setSize()},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.visual&&fe.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(ce),this.stateChanged()},he.prototype.setFillColor=function(ce){this.fillColor=ce,this.visual&&fe.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.visual&&fe.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},he.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},De.prototype.getState.call(this))},he.prototype.restoreState=function(ce){var Te=ce;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.opacity=Te.opacity,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize()},he.title="Rectangle marker",he}(ze),$e=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'')||this;return Pe.widths=[],Pe.widthBoxes=[],Pe.widths=Te,Pe.currentWidth=je,Pe.setCurrentWidth=Pe.setCurrentWidth.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.widths.forEach(function(je){var ge=document.createElement("div");ge.style.display="flex",ge.style.flexGrow="2",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.borderColor=je===ce.currentWidth?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentWidth(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.innerText=je.toString(),Pe.style.marginRight="5px",ge.appendChild(Pe);var ct=document.createElement("div");ct.style.minHeight="20px",ct.style.flexGrow="2",ct.style.display="flex",ct.style.alignItems="center";var $t=document.createElement("hr");$t.style.minWidth="20px",$t.style.border="0px",$t.style.borderTop=je+"px solid "+ce.uiStyleSettings.toolboxColor,$t.style.flexGrow="2",ct.appendChild($t),ge.appendChild(ct),ce.widthBoxes.push(ge)}),Te},he.prototype.setCurrentWidth=function(ce,Te){var je=this;this.currentWidth=ce,this.widthBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},he}(tt),nt=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'')||this;return Pe.styles=[],Pe.styleBoxes=[],Pe.styles=Te,Pe.currentStyle=je,Pe.setCurrentStyle=Pe.setCurrentStyle.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",this.styles.forEach(function(je){var ge=document.createElement("div");ge.style.display="flex",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.overflow="hidden",ge.style.maxWidth=100/ce.styles.length-5+"%",ge.style.borderColor=je===ce.currentStyle?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentStyle(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.overflow="hidden";var ct=` + + `;Pe.innerHTML=ct,ge.appendChild(Pe),ce.styleBoxes.push(ge)}),Te},he.prototype.setCurrentStyle=function(ce,Te){var je=this;this.currentStyle=ce,this.styleBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},he}(tt),bt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",je.defaultColorSet,je.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return me(he,De),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="FrameMarker",he.title="Frame marker",he.icon='',he}(_e),it=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Nt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.x1=0,ge.y1=0,ge.x2=0,ge.y2=0,ge.defaultLength=50,ge.manipulationStartX=0,ge.manipulationStartY=0,ge.manipulationStartX1=0,ge.manipulationStartY1=0,ge.manipulationStartX2=0,ge.manipulationStartY2=0,ge.setupControlBox(),ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!!De.prototype.ownsTarget.call(this,ce)||!(!this.grip1.ownsTarget(ce)&&!this.grip2.ownsTarget(ce))},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.manipulationStartX=ce.x,this.manipulationStartY=ce.y,this.state==="new"&&(this.x1=ce.x,this.y1=ce.y,this.x2=ce.x,this.y2=ce.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(Te)?this.activeGrip=this.grip1:this.grip2.ownsTarget(Te)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},he.prototype.pointerUp=function(ce){var Te=this.state;De.prototype.pointerUp.call(this,ce),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(ce),this._state="select",Te==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},he.prototype.adjustVisual=function(){},he.prototype.manipulate=function(ce){this.state==="creating"?this.resize(ce):this.state==="move"?(this.x1=this.manipulationStartX1+ce.x-this.manipulationStartX,this.y1=this.manipulationStartY1+ce.y-this.manipulationStartY,this.x2=this.manipulationStartX2+ce.x-this.manipulationStartX,this.y2=this.manipulationStartY2+ce.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(ce)},he.prototype.resize=function(ce){switch(this.activeGrip){case this.grip1:this.x1=ce.x,this.y1=ce.y;break;case this.grip2:case void 0:this.x2=ce.x,this.y2=ce.y}this.adjustVisual(),this.adjustControlBox()},he.prototype.select=function(){De.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},he.prototype.deselect=function(){De.prototype.deselect.call(this),this.controlBox.style.display="none"},he.prototype.setupControlBox=function(){this.controlBox=fe.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},he.prototype.adjustControlBox=function(){this.positionGrips()},he.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},he.prototype.createGrip=function(){var ce=new Ze;return ce.visual.transform.baseVal.appendItem(fe.createTransform()),this.controlBox.appendChild(ce.visual),ce},he.prototype.positionGrips=function(){var ce=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-ce/2,this.y1-ce/2),this.positionGrip(this.grip2.visual,this.x2-ce/2,this.y2-ce/2)},he.prototype.positionGrip=function(ce,Te,je){var ge=ce.transform.baseVal.getItem(0);ge.setTranslate(Te,je),ce.transform.baseVal.replaceItem(ge,0)},he.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},De.prototype.getState.call(this))},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.x1=Te.x1,this.y1=Te.y1,this.x2=Te.x2,this.y2=Te.y2},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.x1=this.x1*ce,this.y1=this.y1*Te,this.x2=this.x2*ce,this.y2=this.y2*Te,this.adjustVisual(),this.adjustControlBox()},he}(We),vt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",je.defaultColorSet,je.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.selectorLine&&ce!==this.visibleLine)},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorLine=fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=fe.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},he.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),fe.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.adjustVisual(),this.colorChanged(ce)},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.adjustVisual()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.createVisual(),this.adjustVisual()},he.typeName="LineMarker",he.title="Line marker",he.icon='',he}(Nt),dt=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'')||this;return Pe.fonts=[],Pe.fontBoxes=[],Pe.fonts=Te,Pe.currentFont=je,Pe.setCurrentFont=Pe.setCurrentFont.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.overflow="hidden",Te.style.flexGrow="2",this.fonts.forEach(function(je){var ge=document.createElement("div");ge.style.display="inline-block",ge.style.alignItems="center",ge.style.justifyContent="space-between",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.overflow="hidden",ge.style.maxWidth=100/ce.fonts.length-5+"%",ge.style.borderColor=je===ce.currentFont?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentFont(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.style.display="flex",Pe.style.minHeight="20px",Pe.style.flexGrow="2",Pe.style.fontFamily=je,Pe.style.overflow="hidden";var ct=document.createElement("div");ct.style.whiteSpace="nowrap",ct.style.overflow="hidden",ct.style.textOverflow="ellipsis",ct.innerHTML="The quick brown fox jumps over the lazy dog",Pe.appendChild(ct),ge.appendChild(Pe),ce.fontBoxes.push(ge)}),Te},he.prototype.setCurrentFont=function(ce,Te){var je=this;this.currentFont=ce,this.fontBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},he}(tt),It=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.color="transparent",ge.padding=5,ge.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",ge.text=ge.DEFAULT_TEXT,ge.isMoved=!1,ge.color=je.defaultColor,ge.fontFamily=je.defaultFontFamily,ge.defaultSize={x:100,y:30},ge.setColor=ge.setColor.bind(ge),ge.setFont=ge.setFont.bind(ge),ge.renderText=ge.renderText.bind(ge),ge.sizeText=ge.sizeText.bind(ge),ge.textEditDivClicked=ge.textEditDivClicked.bind(ge),ge.showTextEditor=ge.showTextEditor.bind(ge),ge.setSize=ge.setSize.bind(ge),ge.positionTextEditor=ge.positionTextEditor.bind(ge),ge.colorPanel=new Je("Color",je.defaultColorSet,je.defaultColor),ge.colorPanel.onColorChanged=ge.setColor,ge.fontFamilyPanel=new dt("Font",je.defaultFontFamilies,je.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge}return me(he,De),he.prototype.ownsTarget=function(ce){if(De.prototype.ownsTarget.call(this,ce)||ce===this.visual||ce===this.textElement||ce===this.bgRectangle)return!0;var Te=!1;return this.textElement.childNodes.forEach(function(je){je===ce&&(Te=!0)}),Te},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.bgRectangle=fe.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=fe.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.textElement.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.isMoved=!1,this.pointerDownPoint=ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},he.prototype.renderText=function(){var ce=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(Te){ce.textElement.appendChild(fe.createTSpan(Te.trim()===""?" ":Te.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},he.prototype.getTextScale=function(){var ce=this.textElement.getBBox(),Te=1;if(ce.width>0&&ce.height>0){var je=(1*this.width-this.width*this.padding*2/100)/ce.width,ge=(1*this.height-this.height*this.padding*2/100)/ce.height;Te=Math.min(je,ge)}return Te},he.prototype.getTextPosition=function(ce){var Te=this.textElement.getBBox(),je=0,ge=0;return Te.width>0&&Te.height>0&&(je=(this.width-Te.width*ce)/2,ge=this.height/2-Te.height*ce/2),{x:je,y:ge}},he.prototype.sizeText=function(){var ce=this.textElement.getBBox(),Te=this.getTextScale(),je=this.getTextPosition(Te);je.y-=ce.y*Te,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+je.x+"px, "+je.y+"px) scale("+Te+", "+Te+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(je.x,je.y),this.textElement.transform.baseVal.getItem(1).setScale(Te,Te))},he.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ce.x-this.pointerDownPoint.x)>5||Math.abs(ce.y-this.pointerDownPoint.y)>5)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.isMoved=!0,this.setSize(),this.sizeText()},he.prototype.setSize=function(){De.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},he.prototype.pointerUp=function(ce){var Te=this.state;Te==="creating"&&(this._suppressMarkerCreateEvent=!0),De.prototype.pointerUp.call(this,ce),this.setSize(),(Te==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},he.prototype.showTextEditor=function(){var ce=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var Te=Number.parseFloat(ce.textEditor.style.fontSize);ce.textEditor.clientWidth>=Number.parseInt(ce.textEditor.style.maxWidth)&&Te>.9;)Te-=.1,ce.textEditor.style.fontSize=Math.max(Te,.9)+"em"}),this.textEditor.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(Te){if(Te.clipboardData){var je=Te.clipboardData.getData("text"),ge=window.getSelection();if(!ge.rangeCount)return!1;ge.deleteFromDocument(),ge.getRangeAt(0).insertNode(document.createTextNode(je)),Te.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){ce.textEditDivClicked(ce.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},he.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var ce=this.getTextScale(),Te=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),je=this.textElement.getBBox(),ge={x:je.width*ce,y:je.height*ce};Te.x-=ge.x/2,Te.y-=ge.y/2,this.textEditor.style.top=Te.y+"px",this.textEditor.style.left=Te.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-Te.x+"px",this.textEditor.style.fontSize=Math.max(16*ce,12)+"px",this.textElement.style.display="none"}},he.prototype.textEditDivClicked=function(ce){this.text=ce.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},he.prototype.select=function(){De.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},he.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),De.prototype.deselect.call(this)},he.prototype.dblClick=function(ce,Te){De.prototype.dblClick.call(this,ce,Te),this.showTextEditor()},he.prototype.setColor=function(ce){this.textElement&&fe.setAttributes(this.textElement,[["fill",ce]]),this.color=ce,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(ce)},he.prototype.setFont=function(ce){this.textElement&&fe.setAttributes(this.textElement,[["font-family",ce]]),this.fontFamily=ce,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},he.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},he.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){var Te=ce;this.color=Te.color,this.fontFamily=Te.fontFamily,this.padding=Te.padding,this.text=Te.text,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize(),this.sizeText(),this.positionTextEditor()},he.typeName="TextMarker",he.title="Text marker",he.icon='',he}(ze),St=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.color="transparent",ge.lineWidth=3,ge.drawing=!1,ge.pixelRatio=1,ge.color=je.defaultColor,ge.lineWidth=je.defaultStrokeWidth,ge.pixelRatio=je.freehandPixelRatio,ge.setColor=ge.setColor.bind(ge),ge.addCanvas=ge.addCanvas.bind(ge),ge.finishCreation=ge.finishCreation.bind(ge),ge.setLineWidth=ge.setLineWidth.bind(ge),ge.colorPanel=new Je("Color",je.defaultColorSet,je.defaultColor),ge.colorPanel.onColorChanged=ge.setColor,ge.lineWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.lineWidthPanel.onWidthChanged=ge.setLineWidth,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.drawingImage)},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.drawingImage=fe.createImage(),this.visual.appendChild(this.drawingImage);var ce=fe.createTransform();this.visual.transform.baseVal.appendItem(ce),this.addMarkerVisualToContainer(this.visual)},he.prototype.pointerDown=function(ce,Te){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(ce.x,ce.y),this.drawing=!0):De.prototype.pointerDown.call(this,ce,Te)},he.prototype.manipulate=function(ce){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(ce.x,ce.y),this.canvasContext.stroke()):De.prototype.manipulate.call(this,ce)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),fe.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},he.prototype.pointerUp=function(ce){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):De.prototype.pointerUp.call(this,ce)},he.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},he.prototype.select=function(){this.state==="creating"&&this.finishCreation(),De.prototype.select.call(this)},he.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),De.prototype.deselect.call(this)},he.prototype.finishCreation=function(){for(var ce=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),Te=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],je=Te[0],ge=Te[1],Pe=Te[2],ct=Te[3],$t=!1,gt=0;gt0&&($t=!0,gtct&&(ct=gt),yt>Pe&&(Pe=yt));if($t){this.left=je/this.pixelRatio,this.top=ge/this.pixelRatio,this.width=(Pe-je)/this.pixelRatio,this.height=(ct-ge)/this.pixelRatio;var Dt=document.createElement("canvas");Dt.width=Pe-je,Dt.height=ct-ge,Dt.getContext("2d").putImageData(this.canvasContext.getImageData(je,ge,Pe-je,ct-ge),0,0),this.drawingImgUrl=Dt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},he.prototype.setDrawingImage=function(){fe.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),fe.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},he.prototype.setColor=function(ce){this.color=ce,this.colorChanged(ce)},he.prototype.setLineWidth=function(ce){this.lineWidth=ce},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({drawingImgUrl:this.drawingImgUrl},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){this.createVisual(),De.prototype.restoreState.call(this,ce),this.drawingImgUrl=ce.drawingImgUrl,this.setDrawingImage()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setDrawingImage()},he.typeName="FreehandMarker",he.title="Freehand marker",he.icon='',he}(ze),qe=function(De){function he(ce,Te,je){var ge=De.call(this,ce,je||'')||this;return ge.typeBoxes=[],ge.currentType=Te,ge.setCurrentType=ge.setCurrentType.bind(ge),ge}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2";for(var je=function(ct){var $t="both";switch(ct){case 0:$t="both";break;case 1:$t="start";break;case 2:$t="end";break;case 3:$t="none"}var gt=document.createElement("div");if(gt.style.display="flex",gt.style.flexGrow="2",gt.style.alignItems="center",gt.style.justifyContent="space-between",gt.style.padding="5px",gt.style.borderWidth="2px",gt.style.borderStyle="solid",gt.style.borderColor=$t===ge.currentType?ge.uiStyleSettings.toolboxAccentColor:"transparent",gt.addEventListener("click",function(){ce.setCurrentType($t,gt)}),Te.appendChild(gt),$t==="both"||$t==="start"){var yt=document.createElement("div");yt.style.display="flex",yt.style.alignItems="center",yt.style.minHeight="20px",yt.innerHTML=` - `,vt.style.marginLeft="5px",At.appendChild(vt)}var Ct=document.createElement("div");Ct.style.display="flex",Ct.style.alignItems="center",Ct.style.minHeight="20px",Ct.style.flexGrow="2";var Ut=document.createElement("hr");if(Ut.style.minWidth="20px",Ut.style.border="0px",Ut.style.borderTop="3px solid "+(ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxColor:"#eeeeee"),Ut.style.flexGrow="2",Ct.appendChild(Ut),At.appendChild(Ct),Qt==="both"||Qt==="end"){var $t=document.createElement("div");$t.style.display="flex",$t.style.alignItems="center",$t.style.minHeight="20px",$t.innerHTML=` + `,yt.style.marginLeft="5px",gt.appendChild(yt)}var Dt=document.createElement("div");Dt.style.display="flex",Dt.style.alignItems="center",Dt.style.minHeight="20px",Dt.style.flexGrow="2";var Pt=document.createElement("hr");if(Pt.style.minWidth="20px",Pt.style.border="0px",Pt.style.borderTop="3px solid "+(ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxColor:"#eeeeee"),Pt.style.flexGrow="2",Dt.appendChild(Pt),gt.appendChild(Dt),$t==="both"||$t==="end"){var Wt=document.createElement("div");Wt.style.display="flex",Wt.style.alignItems="center",Wt.style.minHeight="20px",Wt.innerHTML=` - `,$t.style.marginRight="5px",At.appendChild($t)}ge.typeBoxes.push(At)},ge=this,Me=0;Me<4;Me++)Ue(Me);return Te},me.prototype.setCurrentType=function(ce,Te){var Ue=this;this.currentType=ce,this.typeBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?Ue.uiStyleSettings!==void 0?Ue.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},me}(et),Rt=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.arrowType="end",ge.arrowBaseHeight=10,ge.arrowBaseWidth=10,ge.getArrowPoints=ge.getArrowPoints.bind(ge),ge.setArrowType=ge.setArrowType.bind(ge),ge.arrowTypePanel=new Ke("Arrow type","end"),ge.arrowTypePanel.onArrowTypeChanged=ge.setArrowType,ge}return he(me,De),me.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.arrow1&&ce!==this.arrow2)},me.prototype.getArrowPoints=function(ce,Te){var Ue=this.arrowBaseWidth+2*this.strokeWidth,ge=this.arrowBaseHeight+2*this.strokeWidth;return ce-Ue/2+","+(Te+ge/2)+" "+ce+","+(Te-ge/2)+" "+(ce+Ue/2)+","+(Te+ge/2)},me.prototype.createTips=function(){this.arrow1=fe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=fe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow2)},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="creating"&&this.createTips()},me.prototype.adjustVisual=function(){if(De.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",fe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),fe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ce=0;Math.abs(this.x1-this.x2)>.1&&(ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Te=this.arrow1.transform.baseVal.getItem(0);Te.setRotate(ce,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Te,0);var Ue=this.arrow2.transform.baseVal.getItem(0);Ue.setRotate(ce+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(Ue,0)}},me.prototype.setArrowType=function(ce){this.arrowType=ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=Object.assign({arrowType:this.arrowType},De.prototype.getState.call(this));return ce.typeName=me.typeName,ce},me.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.arrowType=Te.arrowType,this.createTips(),this.adjustVisual()},me.typeName="ArrowMarker",me.title="Arrow marker",me.icon='',me}(mt),Nt=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.fillColor=Ue.defaultFillColor,ge.strokeWidth=0,ge.fillPanel=new Je("Color",Ue.defaultColorSet,Ue.defaultFillColor),ge.fillPanel.onColorChanged=ge.setFillColor,ge}return he(me,De),Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=me.typeName,ce},me.typeName="CoverMarker",me.title="Cover marker",me.icon='',me}(_e),Kt=function(De){function me(ce,Te,Ue,ge){var Me=De.call(this,ce,ge||'')||this;return Me.opacities=[],Me.opacityBoxes=[],Me.opacities=Te,Me.currentOpacity=Ue,Me.setCurrentOpacity=Me.setCurrentOpacity.bind(Me),Me}return he(me,De),me.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",Te.style.justifyContent="space-between",this.opacities.forEach(function(Ue){var ge=document.createElement("div");ge.style.display="flex",ge.style.alignItems="center",ge.style.justifyContent="center",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.borderColor=Ue===ce.currentOpacity?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentOpacity(Ue,ge)}),Te.appendChild(ge);var Me=document.createElement("div");Me.innerText=100*Ue+"%",ge.appendChild(Me),ce.opacityBoxes.push(ge)}),Te},me.prototype.setCurrentOpacity=function(ce,Te){var Ue=this;this.currentOpacity=ce,this.opacityBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?Ue.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},me}(et),On=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.setOpacity=ge.setOpacity.bind(ge),ge.fillColor=Ue.defaultHighlightColor,ge.strokeWidth=0,ge.opacity=Ue.defaultHighlightOpacity,ge.fillPanel=new Je("Color",Ue.defaultColorSet,ge.fillColor),ge.fillPanel.onColorChanged=ge.setFillColor,ge.opacityPanel=new Kt("Opacity",Ue.defaultOpacitySteps,ge.opacity),ge.opacityPanel.onOpacityChanged=ge.setOpacity,ge}return he(me,De),me.prototype.setOpacity=function(ce){this.opacity=ce,this.visual&&fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=me.typeName,ce},me.typeName="HighlightMarker",me.title="Highlight marker",me.icon='',me}(Nt),wt='',$e='',Ee=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.bgColor="transparent",ge.tipPosition={x:0,y:0},ge.tipBase1Position={x:0,y:0},ge.tipBase2Position={x:0,y:0},ge.tipMoving=!1,ge.color=Ue.defaultStrokeColor,ge.bgColor=Ue.defaultFillColor,ge.fontFamily=Ue.defaultFontFamily,ge.defaultSize={x:100,y:30},ge.setBgColor=ge.setBgColor.bind(ge),ge.getTipPoints=ge.getTipPoints.bind(ge),ge.positionTip=ge.positionTip.bind(ge),ge.setTipPoints=ge.setTipPoints.bind(ge),ge.colorPanel=new Je("Text color",Ue.defaultColorSet,ge.color,wt),ge.colorPanel.onColorChanged=ge.setColor,ge.bgColorPanel=new Je("Fill color",Ue.defaultColorSet,ge.bgColor,$e),ge.bgColorPanel.onColorChanged=ge.setBgColor,ge.fontFamilyPanel=new ut("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge.tipGrip=new Ve,ge.tipGrip.visual.transform.baseVal.appendItem(fe.createTransform()),ge.controlBox.appendChild(ge.tipGrip.visual),ge}return he(me,De),me.prototype.ownsTarget=function(ce){return De.prototype.ownsTarget.call(this,ce)||this.tipGrip.ownsTarget(ce)||this.tip===ce},me.prototype.createTip=function(){fe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=fe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},me.prototype.pointerDown=function(ce,Te){this.state==="new"&&De.prototype.pointerDown.call(this,ce,Te),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Te)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):De.prototype.pointerDown.call(this,ce,Te)},me.prototype.pointerUp=function(ce){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,De.prototype.pointerUp.call(this,ce);else{var Te=this.state==="creating";De.prototype.pointerUp.call(this,ce),this.setTipPoints(Te),this.positionTip()}},me.prototype.manipulate=function(ce){if(this.tipMoving){var Te=this.unrotatePoint(ce);this.tipPosition={x:Te.x-this.manipulationStartLeft,y:Te.y-this.manipulationStartTop},this.positionTip()}else De.prototype.manipulate.call(this,ce)},me.prototype.setBgColor=function(ce){this.bgRectangle&&this.tip&&(fe.setAttributes(this.bgRectangle,[["fill",ce]]),fe.setAttributes(this.tip,[["fill",ce]])),this.bgColor=ce,this.fillColorChanged(ce)},me.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},me.prototype.setTipPoints=function(ce){ce===void 0&&(ce=!1);var Te=Math.min(this.height/2,15),Ue=this.height/5;ce&&(this.tipPosition={x:Te+Ue/2,y:this.height+20});var ge=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?ge.1)){var ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Te=this.tip1.transform.baseVal.getItem(0);Te.setRotate(ce,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Te,0);var Ue=this.tip2.transform.baseVal.getItem(0);Ue.setRotate(ce+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(Ue,0)}},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=me.typeName,ce},me.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce),this.createTips(),this.adjustVisual()},me.typeName="MeasurementMarker",me.title="Measurement marker",me.icon='',me}(mt),it=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.strokePanel.colors=Ue.defaultColorSet,ge.fillColor="transparent",ge}return he(me,De),Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=me.typeName,ce},me.typeName="EllipseFrameMarker",me.title="Ellipse frame marker",me.icon='',me}(en),Ht=function(){function De(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(De.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),De.prototype.addUndoStep=function(me){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(me)||(this.undoStack.push(me),JSON.stringify(this.lastRedoStep)!==JSON.stringify(me)&&this.redoStack.splice(0,this.redoStack.length))},De.prototype.replaceLastUndoStep=function(me){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=me)},De.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},De.prototype.undo=function(){if(this.undoStack.length>1){var me=this.undoStack.pop();return me!==void 0&&this.redoStack.push(me),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},De.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},De}(),Yt=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.curveX=0,ge.curveY=0,ge.manipulationStartCurveX=0,ge.manipulationStartCurveY=0,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.positionGrips=ge.positionGrips.bind(ge),ge.addControlGrips=ge.addControlGrips.bind(ge),ge.adjustVisual=ge.adjustVisual.bind(ge),ge.setupControlBox=ge.setupControlBox.bind(ge),ge.resize=ge.resize.bind(ge),ge.strokeColor=Ue.defaultColor,ge.strokeWidth=Ue.defaultStrokeWidth,ge.strokeDasharray=Ue.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",Ue.defaultColorSet,Ue.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new Ze("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new tt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return he(me,De),me.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.selectorCurve&&ce!==this.visibleCurve&&!this.curveGrip.ownsTarget(ce))},me.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},me.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorCurve=fe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=fe.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ce.x,this.curveY=ce.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Te)&&(this.activeGrip=this.curveGrip,this._state="resize")},me.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),fe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},me.prototype.setupControlBox=function(){De.prototype.setupControlBox.call(this),this.curveControlLine1=fe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=fe.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},me.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,De.prototype.addControlGrips.call(this)},me.prototype.positionGrips=function(){De.prototype.positionGrips.call(this);var ce=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ce/2,this.curveY-ce/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},me.prototype.manipulate=function(ce){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ce.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ce.y-this.manipulationStartY),De.prototype.manipulate.call(this,ce)},me.prototype.resize=function(ce){this.activeGrip===this.curveGrip&&(this.curveX=ce.x,this.curveY=ce.y),De.prototype.resize.call(this,ce),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},me.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.adjustVisual(),this.colorChanged(ce)},me.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.adjustVisual()},me.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.adjustVisual()},me.prototype.scale=function(ce,Te){this.curveX=this.curveX*ce,this.curveY=this.curveY*Te,De.prototype.scale.call(this,ce,Te)},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},De.prototype.getState.call(this));return ce.typeName=me.typeName,ce},me.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.curveX=Te.curveX,this.curveY=Te.curveY,this.createVisual(),this.adjustVisual()},me.typeName="CurveMarker",me.title="Curve marker",me.icon='',me}(It),Rn=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,Te,Ue)||this;return ge.fillColor="transparent",ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.textColor="transparent",ge.fontSize="1rem",ge.isMoved=!1,ge.captionText="Caption",ge.PADDING=5,ge.captionBoxWidth=0,ge.captionBoxHeight=0,ge.strokeColor=Ue.defaultColor,ge.strokeWidth=Ue.defaultStrokeWidth,ge.strokeDasharray=Ue.defaultStrokeDasharray,ge.fillColor=Ue.defaultFillColor,ge.textColor=Ue.defaultStrokeColor,ge.fontFamily=Ue.defaultFontFamily,ge.fontSize=Ue.defaultCaptionFontSize,ge.captionText=Ue.defaultCaptionText,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setFillColor=ge.setFillColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.createVisual=ge.createVisual.bind(ge),ge.sizeCaption=ge.sizeCaption.bind(ge),ge.setCaptionText=ge.setCaptionText.bind(ge),ge.showTextEditor=ge.showTextEditor.bind(ge),ge.positionTextEditor=ge.positionTextEditor.bind(ge),ge.finishTextEditing=ge.finishTextEditing.bind(ge),ge.setFont=ge.setFont.bind(ge),ge.setTextColor=ge.setTextColor.bind(ge),ge.strokePanel=new Je("Line color",be(Ue.defaultColorSet,["transparent"]),ge.strokeColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.fillPanel=new Je("Fill color",be(Ue.defaultColorSet,["transparent"]),ge.fillColor,$e),ge.fillPanel.onColorChanged=ge.setFillColor,ge.strokeWidthPanel=new Ze("Line width",Ue.defaultStrokeWidths,Ue.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new tt("Line style",Ue.defaultStrokeDasharrays,Ue.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge.fontFamilyPanel=new ut("Font",Ue.defaultFontFamilies,Ue.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge.textColorPanel=new Je("Text color",Ue.defaultColorSet,ge.textColor,wt),ge.textColorPanel.onColorChanged=ge.setTextColor,ge}return he(me,De),me.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.frame&&ce!==this.captionBg&&ce!==this.captionElement)},me.prototype.createVisual=function(){this.visual=fe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=fe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=fe.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=fe.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},me.prototype.setCaptionText=function(ce){this.captionText=ce,this.captionElement.textContent=this.captionText,this.sizeCaption()},me.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.isMoved=!1,this.pointerDownPoint=ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},me.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ce.x-this.pointerDownPoint.x)>5||Math.abs(ce.y-this.pointerDownPoint.y)>5)},me.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.setSize()},me.prototype.sizeCaption=function(){var ce=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ce.width+2*this.PADDING,this.captionBoxHeight=ce.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),fe.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),fe.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},me.prototype.showTextEditor=function(){var ce=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Te){Te.key==="Enter"&&ce.finishTextEditing(ce.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ce.finishTextEditing(ce.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ce.finishTextEditing(ce.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},me.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},me.prototype.finishTextEditing=function(ce){this.setCaptionText(ce.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},me.prototype.setFont=function(ce){this.captionElement&&fe.setAttributes(this.captionElement,[["font-family",ce]]),this.fontFamily=ce,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},me.prototype.setTextColor=function(ce){this.captionElement&&fe.setAttributes(this.captionElement,[["fill",ce]]),this.textColor=ce,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},me.prototype.setSize=function(){De.prototype.setSize.call(this),fe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},me.prototype.pointerUp=function(ce){De.prototype.pointerUp.call(this,ce),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},me.prototype.dblClick=function(ce,Te){De.prototype.dblClick.call(this,ce,Te),this.showTextEditor()},me.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.frame&&fe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ce),this.stateChanged()},me.prototype.setFillColor=function(ce){this.fillColor=ce,this.captionBg&&fe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ce),this.stateChanged()},me.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.frame&&fe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},me.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.frame&&fe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(me.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),me.prototype.getState=function(){var ce=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},De.prototype.getState.call(this));return ce.typeName=this.typeName,ce},me.prototype.restoreState=function(ce){var Te=ce;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.textColor=Te.textColor,this.fontFamily=Te.fontFamily,this.captionText=Te.captionText,this.fontSize=Te.fontSize,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},me.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize()},me.typeName="CaptionFrameMarker",me.title="Caption frame marker",me.icon='',me}(He),ct=function(){function De(me,ce){ce===void 0&&(ce=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=me,this.cancelable=ce}return Object.defineProperty(De.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),De.prototype.preventDefault=function(){this._defaultPrevented=!0},De}(),Sn=function(De){function me(ce,Te,Ue){var ge=De.call(this,ce,!1)||this;return ge.dataUrl=Te,ge.state=Ue,ge}return he(me,De),me}(ct),Zt=function(De){function me(ce,Te,Ue){Ue===void 0&&(Ue=!1);var ge=De.call(this,ce,Ue)||this;return ge.marker=Te,ge}return he(me,De),me}(ct),vn=function(){function De(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return De.prototype.addEventListener=function(me,ce){this[me].push(ce)},De.prototype.removeEventListener=function(me,ce){var Te=this[me].indexOf(ce);Te>-1&&this[me].splice(Te,1)},De}(),un=function(){function De(me){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new rt,this._isOpen=!1,this.undoRedoManager=new Ht,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new vn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=De.instanceCounter++,this.styles=new xe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=me,this.targetRoot=document.body,this.width=me.clientWidth,this.height=me.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(De.prototype,"ALL_MARKER_TYPES",{get:function(){return[gt,_t,Rt,Tt,it,en,On,Ee,on,Nt,mt,Yt,Rn]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[gt,_t,Rt,Tt,en,On,Ee]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"BASIC_MARKER_TYPES",{get:function(){return[gt,_t,Rt,Tt,On]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(me){var ce=this;this._availableMarkerTypes.splice(0),me.forEach(function(Te){if(typeof Te=="string"){var Ue=ce.ALL_MARKER_TYPES.find(function(ge){return ge.typeName===Te});Ue!==void 0&&ce._availableMarkerTypes.push(Ue)}else ce._availableMarkerTypes.push(Te)})},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(me){this._zoomLevel=me,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),De.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),we.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},De.prototype.show=function(){var me=this;this.styles.styleSheetRoot===void 0&&Re.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Re.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ce){return ce(new ct(me))})},De.prototype.render=function(){return le(this,void 0,void 0,function(){var me;return pe(this,function(ce){switch(ce.label){case 0:return this.setCurrentMarker(),(me=new Oe).naturalSize=this.renderAtNaturalSize,me.imageType=this.renderImageType,me.imageQuality=this.renderImageQuality,me.markersOnly=this.renderMarkersOnly,me.width=this.renderWidth,me.height=this.renderHeight,[4,me.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ce.sent(),[4,me.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ce.sent()]}})})},De.prototype.close=function(me){var ce=this;if(me===void 0&&(me=!1),this.isOpen){var Te=!1;me||this.eventListeners.beforeclose.forEach(function(Ue){var ge=new ct(ce,!0);Ue(ge),ge.defaultPrevented&&(Te=!0)}),Te||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(Ue){return Ue(new ct(ce))}),this.detachEvents(),this._isOpen=!1)}},De.prototype.addMarkersToToolbar=function(){for(var me,ce=[],Te=0;Tethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*me:this.editorCanvas.clientWidth,Te=ce',me.title="Powered by marker.js",me.style.display="grid",me.style.alignItems="center",me.style.justifyItems="center",me.style.padding="3px",me.style.width="20px",me.style.height="20px",this.logoUI.appendChild(me),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},De.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},De.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},De.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},De.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var me=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=me+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new xt(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(me),1),me.dispose()},De.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},De.prototype.toolbarButtonClicked=function(me,ce){if(me==="marker"&&ce!==void 0)this.createNewMarker(ce);else if(me==="action")switch(ce){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},De.prototype.deleteSelectedMarker=function(){var me=this;if(this._currentMarker!==void 0){var ce=!1;if(this.eventListeners.markerbeforedelete.forEach(function(Ue){var ge=new Zt(me,me._currentMarker,!0);Ue(ge),ge.defaultPrevented&&(ce=!0)}),!ce){var Te=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(Ue){return Ue(new Zt(me,Te))})}}},De.prototype.clear=function(){var me=this,ce=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Me){var ot=new Zt(me,void 0,!0);Me(ot),ot.defaultPrevented&&(ce=!0)}),!ce)){this.setCurrentMarker();for(var Te=function(Me){var ot=Ue.markers[Me];Ue.setCurrentMarker(Ue.markers[Me]),Ue._currentMarker.dispose(),Ue.markerImage.removeChild(Ue._currentMarker.container),Ue.markers.splice(Ue.markers.indexOf(Ue._currentMarker),1),Ue.eventListeners.markerdelete.forEach(function(Qt){return Qt(new Zt(me,ot))})},Ue=this,ge=this.markers.length-1;ge>=0;ge--)Te(ge);this.addUndoStep()}},Object.defineProperty(De.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),De.prototype.showNotesEditor=function(){var me;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(me=this._currentMarker.notes)!==null&&me!==void 0?me:"",this.overlayContainer.appendChild(this.notesArea))},De.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},De.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},De.prototype.addUndoStep=function(){var me=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ce=this.getState(),Te=this.undoRedoManager.getLastUndoStep();if(!Te||Te.width===ce.width&&Te.height===ce.height){var Ue=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ce),Ue1&&this.panTo({x:me.clientX,y:me.clientY}))},De.prototype.onPointerUp=function(me){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(me.clientX,me.clientY)),this.isDragging=!1,this.addUndoStep()},De.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},De.prototype.onKeyUp=function(me){this._currentMarker===void 0||this.notesArea!==void 0||me.key!=="Delete"&&me.key!=="Backspace"||this.deleteSelectedMarker()},De.prototype.clientToLocalCoordinates=function(me,ce){var Te=this.markerImage.getBoundingClientRect();return{x:(me-Te.left)/this.zoomLevel,y:(ce-Te.top)/this.zoomLevel}},De.prototype.onWindowResize=function(){this.positionUI()},De.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var me=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=me+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},De.prototype.addLicenseKey=function(me){we.addKey(me)},De.prototype.addEventListener=function(me,ce){this.eventListeners.addEventListener(me,ce)},De.prototype.removeEventListener=function(me,ce){this.eventListeners.removeEventListener(me,ce)},De.prototype.renderState=function(me){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(me),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(De.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),De.prototype.focus=function(){var me=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ce){return ce(new ct(me))}))},De.prototype.blur=function(){var me=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ce){return ce(new ct(me))}))},De.instanceCounter=0,De}()},67842:function(Ce){"use strict";var ae,y=59;Ce.exports=b;function b(he){var le="&"+he+";",pe;return ae=ae||document.createElement("i"),ae.innerHTML=le,pe=ae.textContent,pe.charCodeAt(pe.length-1)===y&&he!=="semi"||pe===le?!1:pe}},12256:function(Ce,ae,y){"use strict";var b=y(47854),he=y(80501),le=y(22347),pe=y(65207),be=y(21127),fe=y(67842);Ce.exports=On;var we={}.hasOwnProperty,Oe=String.fromCharCode,Re=Function.prototype,xe={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},je=9,Fe=10,xt=12,nt=32,et=38,Je=59,Ge=60,We=61,Ve=35,Qe=88,He=120,_e=65533,Ze="named",tt="hexadecimal",gt="decimal",rt={};rt[tt]=16,rt[gt]=10;var It={};It[Ze]=be,It[gt]=le,It[tt]=pe;var mt=1,ut=2,Tt=3,_t=4,Ke=5,Rt=6,Nt=7,Kt={};Kt[mt]="Named character references must be terminated by a semicolon",Kt[ut]="Numeric character references must be terminated by a semicolon",Kt[Tt]="Named character references cannot be empty",Kt[_t]="Numeric character references cannot be empty",Kt[Ke]="Named character references must be known",Kt[Rt]="Numeric character references cannot be disallowed",Kt[Nt]="Numeric character references cannot be outside the permissible Unicode range";function On(en,on){var it={},Ht,Yt;on||(on={});for(Yt in xe)Ht=on[Yt],it[Yt]=Ht==null?xe[Yt]:Ht;return(it.position.indent||it.position.start)&&(it.indent=it.position.indent||[],it.position=it.position.start),wt(en,it)}function wt(en,on){var it=on.additional,Ht=on.nonTerminated,Yt=on.text,Rn=on.reference,ct=on.warning,Sn=on.textContext,Zt=on.referenceContext,vn=on.warningContext,un=on.position,De=on.indent||[],me=en.length,ce=0,Te=-1,Ue=un.column||1,ge=un.line||1,Me="",ot=[],Qt,At,vt,Ct,Ut,$t,fn,dn,Bt,Mn,Dn,Cn,sn,An,xn,Lt,qt,zt,bn;for(typeof it=="string"&&(it=it.charCodeAt(0)),Lt=Et(),dn=ct?ft:Re,ce--,me++;++ce65535&&($t-=65536,Mn+=Oe($t>>>10|55296),$t=56320|$t&1023),$t=Mn+Oe($t))):An!==Ze&&dn(_t,zt)),$t?(de(),Lt=Et(),ce=bn-1,Ue+=bn-sn+1,ot.push($t),qt=Et(),qt.offset++,Rn&&Rn.call(Zt,$t,{start:Lt,end:qt},en.slice(sn-1,bn)),Lt=qt):(Ct=en.slice(sn-1,bn),Me+=Ct,Ue+=Ct.length,ce=bn-1)}else Ut===10&&(ge++,Te++,Ue=0),Ut===Ut?(Me+=Oe(Ut),Ue++):de();return ot.join("");function Et(){return{line:ge,column:Ue,offset:ce+(un.offset||0)}}function ft(wn,Un){var mn=Et();mn.column+=Un,mn.offset+=Un,ct.call(vn,Kt[wn],mn,wn)}function de(){Me&&(ot.push(Me),Yt&&Yt.call(Sn,Me,{start:Lt,end:Et()}),Me="")}}function $e(en){return en>=55296&&en<=57343||en>1114111}function Ee(en){return en>=1&&en<=8||en===11||en>=13&&en<=31||en>=127&&en<=159||en>=64976&&en<=65007||(en&65535)===65535||(en&65535)===65534}},68398:function(Ce,ae,y){var b=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var he=function(le){var pe=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,be=0,fe={},we={manual:le.Prism&&le.Prism.manual,disableWorkerMessageHandler:le.Prism&&le.Prism.disableWorkerMessageHandler,util:{encode:function We(Ve){return Ve instanceof Oe?new Oe(Ve.type,We(Ve.content),Ve.alias):Array.isArray(Ve)?Ve.map(We):Ve.replace(/&/g,"&").replace(/"+_e.content+""};function Re(We,Ve,Qe,He){We.lastIndex=Ve;var _e=We.exec(Qe);if(_e&&He&&_e[1]){var Ze=_e[1].length;_e.index+=Ze,_e[0]=_e[0].slice(Ze)}return _e}function xe(We,Ve,Qe,He,_e,Ze){for(var tt in Qe)if(!(!Qe.hasOwnProperty(tt)||!Qe[tt])){var gt=Qe[tt];gt=Array.isArray(gt)?gt:[gt];for(var rt=0;rt=Ze.reach);Kt+=Nt.value.length,Nt=Nt.next){var On=Nt.value;if(Ve.length>We.length)return;if(!(On instanceof Oe)){var wt=1,$e;if(Tt){if($e=Re(Rt,Kt,We,ut),!$e||$e.index>=We.length)break;var it=$e.index,Ee=$e.index+$e[0].length,en=Kt;for(en+=Nt.value.length;it>=en;)Nt=Nt.next,en+=Nt.value.length;if(en-=Nt.value.length,Kt=en,Nt.value instanceof Oe)continue;for(var on=Nt;on!==Ve.tail&&(enZe.reach&&(Ze.reach=ct);var Sn=Nt.prev;Yt&&(Sn=Fe(Ve,Sn,Yt),Kt+=Yt.length),xt(Ve,Sn,wt);var Zt=new Oe(tt,mt?we.tokenize(Ht,mt):Ht,_t,Ht);if(Nt=Fe(Ve,Sn,Zt),Rn&&Fe(Ve,Nt,Rn),wt>1){var vn={cause:tt+","+rt,reach:ct};xe(We,Ve,Qe,Nt.prev,Kt,vn),Ze&&vn.reach>Ze.reach&&(Ze.reach=vn.reach)}}}}}}function je(){var We={value:null,prev:null,next:null},Ve={value:null,prev:We,next:null};We.next=Ve,this.head=We,this.tail=Ve,this.length=0}function Fe(We,Ve,Qe){var He=Ve.next,_e={value:Qe,prev:Ve,next:He};return Ve.next=_e,He.prev=_e,We.length++,_e}function xt(We,Ve,Qe){for(var He=Ve.next,_e=0;_e4&&et.slice(0,4)===pe&&be.test(nt)&&(nt.charAt(4)==="-"?Je=Re(nt):nt=xe(nt),Ge=he),new Ge(Je,nt))}function Re(xt){var nt=xt.slice(5).replace(fe,Fe);return pe+nt.charAt(0).toUpperCase()+nt.slice(1)}function xe(xt){var nt=xt.slice(4);return fe.test(nt)?xt:(nt=nt.replace(we,je),nt.charAt(0)!=="-"&&(nt="-"+nt),pe+nt)}function je(xt){return"-"+xt.toLowerCase()}function Fe(xt){return xt.charAt(1).toUpperCase()}},18795:function(Ce,ae,y){"use strict";var b=y(83576),he=y(8179),le=y(59780),pe=y(68244),be=y(20019),fe=y(38567);Ce.exports=b([le,he,pe,be,fe])},20019:function(Ce,ae,y){"use strict";var b=y(70167),he=y(79318),le=b.booleanish,pe=b.number,be=b.spaceSeparated;Ce.exports=he({transform:fe,properties:{ariaActiveDescendant:null,ariaAtomic:le,ariaAutoComplete:null,ariaBusy:le,ariaChecked:le,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:be,ariaCurrent:null,ariaDescribedBy:be,ariaDetails:null,ariaDisabled:le,ariaDropEffect:be,ariaErrorMessage:null,ariaExpanded:le,ariaFlowTo:be,ariaGrabbed:le,ariaHasPopup:null,ariaHidden:le,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:be,ariaLevel:pe,ariaLive:null,ariaModal:le,ariaMultiLine:le,ariaMultiSelectable:le,ariaOrientation:null,ariaOwns:be,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:le,ariaReadOnly:le,ariaRelevant:null,ariaRequired:le,ariaRoleDescription:be,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:le,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}});function fe(we,Oe){return Oe==="role"?Oe:"aria-"+Oe.slice(4).toLowerCase()}},38567:function(Ce,ae,y){"use strict";var b=y(70167),he=y(79318),le=y(85804),pe=b.boolean,be=b.overloadedBoolean,fe=b.booleanish,we=b.number,Oe=b.spaceSeparated,Re=b.commaSeparated;Ce.exports=he({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:le,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Re,acceptCharset:Oe,accessKey:Oe,action:null,allow:null,allowFullScreen:pe,allowPaymentRequest:pe,allowUserMedia:pe,alt:null,as:null,async:pe,autoCapitalize:null,autoComplete:Oe,autoFocus:pe,autoPlay:pe,capture:pe,charSet:null,checked:pe,cite:null,className:Oe,cols:we,colSpan:null,content:null,contentEditable:fe,controls:pe,controlsList:Oe,coords:we|Re,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pe,defer:pe,dir:null,dirName:null,disabled:pe,download:be,draggable:fe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pe,formTarget:null,headers:Oe,height:we,hidden:pe,high:we,href:null,hrefLang:null,htmlFor:Oe,httpEquiv:Oe,id:null,imageSizes:null,imageSrcSet:Re,inputMode:null,integrity:null,is:null,isMap:pe,itemId:null,itemProp:Oe,itemRef:Oe,itemScope:pe,itemType:Oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pe,low:we,manifest:null,max:null,maxLength:we,media:null,method:null,min:null,minLength:we,multiple:pe,muted:pe,name:null,nonce:null,noModule:pe,noValidate:pe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:pe,optimum:we,pattern:null,ping:Oe,placeholder:null,playsInline:pe,poster:null,preload:null,readOnly:pe,referrerPolicy:null,rel:Oe,required:pe,reversed:pe,rows:we,rowSpan:we,sandbox:Oe,scope:null,scoped:pe,seamless:pe,selected:pe,shape:null,size:we,sizes:null,slot:null,span:we,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:Re,start:we,step:null,style:null,tabIndex:we,target:null,title:null,translate:null,type:null,typeMustMatch:pe,useMap:null,value:fe,width:we,wrap:null,align:null,aLink:null,archive:Oe,axis:null,background:null,bgColor:null,border:we,borderColor:null,bottomMargin:we,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pe,declare:pe,event:null,face:null,frame:null,frameBorder:null,hSpace:we,leftMargin:we,link:null,longDesc:null,lowSrc:null,marginHeight:we,marginWidth:we,noResize:pe,noHref:pe,noShade:pe,noWrap:pe,object:null,profile:null,prompt:null,rev:null,rightMargin:we,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:we,valueType:null,version:null,vAlign:null,vLink:null,vSpace:we,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pe,disableRemotePlayback:pe,prefix:null,property:null,results:we,security:null,unselectable:null}})},85804:function(Ce,ae,y){"use strict";var b=y(56432);Ce.exports=he;function he(le,pe){return b(le,pe.toLowerCase())}},56432:function(Ce){"use strict";Ce.exports=ae;function ae(y,b){return b in y?y[b]:b}},79318:function(Ce,ae,y){"use strict";var b=y(47178),he=y(44347),le=y(19095);Ce.exports=pe;function pe(be){var fe=be.space,we=be.mustUseProperty||[],Oe=be.attributes||{},Re=be.properties,xe=be.transform,je={},Fe={},xt,nt;for(xt in Re)nt=new le(xt,xe(Oe,xt),Re[xt],fe),we.indexOf(xt)!==-1&&(nt.mustUseProperty=!0),je[xt]=nt,Fe[b(xt)]=xt,Fe[b(nt.attribute)]=xt;return new he(je,Fe,fe)}},19095:function(Ce,ae,y){"use strict";var b=y(1969),he=y(70167);Ce.exports=be,be.prototype=new b,be.prototype.defined=!0;var le=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],pe=le.length;function be(we,Oe,Re,xe){var je=-1,Fe;for(fe(this,"space",xe),b.call(this,we,Oe);++je5&&arguments[5]!==void 0?arguments[5]:!1,ve=arguments.length>6?arguments[6]:void 0,Ie=arguments.length>7?arguments[7]:void 0,Ft=xe.useMemo(function(){if((0,we.Z)(Mt)==="object")return Mt.clearIcon;if(rn)return rn},[Mt,rn]),Pe=xe.useMemo(function(){return!!(!lt&&Mt&&(tn.length||ve)&&!(Ie==="combobox"&&ve===""))},[Mt,lt,tn.length,ve,Ie]);return{allowClear:Pe,clearIcon:xe.createElement(Ge,{className:"".concat(pn,"-clear"),onMouseDown:kt,customizeIcon:Ft},"\xD7")}},Ve=xe.createContext(null);function Qe(){return xe.useContext(Ve)}function He(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,pn=xe.useState(!1),kt=(0,be.Z)(pn,2),tn=kt[0],Mt=kt[1],rn=xe.useRef(null),lt=function(){window.clearTimeout(rn.current)};xe.useEffect(function(){return lt},[]);var ve=function(Ft,Pe){lt(),rn.current=window.setTimeout(function(){Mt(Ft),Pe&&Pe()},Jt)};return[tn,ve,lt]}function _e(){var Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,pn=xe.useRef(null),kt=xe.useRef(null);xe.useEffect(function(){return function(){window.clearTimeout(kt.current)}},[]);function tn(Mt){(Mt||pn.current===null)&&(pn.current=Mt),window.clearTimeout(kt.current),kt.current=window.setTimeout(function(){pn.current=null},Jt)}return[function(){return pn.current},tn]}function Ze(Jt,pn,kt,tn){var Mt=xe.useRef(null);Mt.current={open:pn,triggerOpen:kt,customizedTrigger:tn},xe.useEffect(function(){function rn(lt){var ve;if(!((ve=Mt.current)!==null&&ve!==void 0&&ve.customizedTrigger)){var Ie=lt.target;Ie.shadowRoot&<.composed&&(Ie=lt.composedPath()[0]||Ie),Mt.current.open&&Jt().filter(function(Ft){return Ft}).every(function(Ft){return!Ft.contains(Ie)&&Ft!==Ie})&&Mt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",rn),function(){return window.removeEventListener("mousedown",rn)}},[])}var tt=y(10228);function gt(Jt){return Jt&&![tt.Z.ESC,tt.Z.SHIFT,tt.Z.BACKSPACE,tt.Z.TAB,tt.Z.WIN_KEY,tt.Z.ALT,tt.Z.META,tt.Z.WIN_KEY_RIGHT,tt.Z.CTRL,tt.Z.SEMICOLON,tt.Z.EQUALS,tt.Z.CAPS_LOCK,tt.Z.CONTEXT_MENU,tt.Z.F1,tt.Z.F2,tt.Z.F3,tt.Z.F4,tt.Z.F5,tt.Z.F6,tt.Z.F7,tt.Z.F8,tt.Z.F9,tt.Z.F10,tt.Z.F11,tt.Z.F12].includes(Jt)}var rt=y(26112),It=y(83836);function mt(Jt,pn,kt){var tn=(0,pe.Z)((0,pe.Z)({},Jt),kt?pn:{});return Object.keys(pn).forEach(function(Mt){var rn=pn[Mt];typeof rn=="function"&&(tn[Mt]=function(){for(var lt,ve=arguments.length,Ie=new Array(ve),Ft=0;Ftan&&(yr="".concat(Mr.slice(0,an),"..."))}var Ea=function(Ca){Ca&&Ca.stopPropagation(),Tr(tr)};return typeof Dt=="function"?kr(lr,yr,Ln,rr,Ea):ma(tr,yr,Ln,rr,Ea)},Kr=function(tr){if(!Mt.length)return null;var Ln=typeof kn=="function"?kn(tr):kn;return typeof Dt=="function"?kr(void 0,Ln,!1,!1,void 0,!0):ma({title:Ln},Ln,!1)},Jn=xe.createElement("div",{className:"".concat(ra,"-search"),style:{width:Lr},onFocus:function(){Sa(!0)},onBlur:function(){Sa(!1)}},xe.createElement(Rt,{ref:Ie,open:rn,prefixCls:tn,id:kt,inputElement:null,disabled:Pe,autoFocus:Wt,autoComplete:Xn,editable:pa,activeDescendantId:Qn,value:ia,onKeyDown:er,onMouseDown:Dr,onChange:pr,onPaste:xr,onCompositionStart:mr,onCompositionEnd:Xr,onBlur:Vr,tabIndex:Pn,attrs:(0,rt.Z)(pn,!0)}),xe.createElement("span",{ref:Zr,className:"".concat(ra,"-search-mirror"),"aria-hidden":!0},ia,"\xA0")),dr=xe.createElement(It.Z,{prefixCls:"".concat(ra,"-overflow"),data:Mt,renderItem:Qr,renderRest:Kr,suffix:Jn,itemKey:it,maxCount:gn});return xe.createElement("span",{className:"".concat(ra,"-wrap")},dr,!Mt.length&&!ia&&xe.createElement("span",{className:"".concat(ra,"-placeholder")},Ft))},Rn=Yt,ct=function(pn){var kt=pn.inputElement,tn=pn.prefixCls,Mt=pn.id,rn=pn.inputRef,lt=pn.disabled,ve=pn.autoFocus,Ie=pn.autoComplete,Ft=pn.activeDescendantId,Pe=pn.mode,Ye=pn.open,Xt=pn.values,Wt=pn.placeholder,Xn=pn.tabIndex,Qn=pn.showSearch,Pn=pn.searchValue,Nr=pn.activeValue,gn=pn.maxLength,an=pn.onInputKeyDown,pt=pn.onInputMouseDown,kn=pn.onInputChange,Dt=pn.onInputPaste,nr=pn.onInputCompositionStart,Tr=pn.onInputCompositionEnd,pr=pn.onInputBlur,xr=pn.title,er=xe.useState(!1),Dr=(0,be.Z)(er,2),mr=Dr[0],Xr=Dr[1],Vr=Pe==="combobox",Zr=Vr||Qn,vr=Xt[0],ta=Pn||"";Vr&&Nr&&!mr&&(ta=Nr),xe.useEffect(function(){Vr&&Xr(!1)},[Vr,Nr]);var Lr=Pe!=="combobox"&&!Ye&&!Qn?!1:!!ta,sa=xr===void 0?en(vr):xr,Ur=xe.useMemo(function(){return vr?null:xe.createElement("span",{className:"".concat(tn,"-selection-placeholder"),style:Lr?{visibility:"hidden"}:void 0},Wt)},[vr,Lr,Wt,tn]);return xe.createElement("span",{className:"".concat(tn,"-selection-wrap")},xe.createElement("span",{className:"".concat(tn,"-selection-search")},xe.createElement(Rt,{ref:rn,prefixCls:tn,id:Mt,open:Ye,inputElement:kt,disabled:lt,autoFocus:ve,autoComplete:Ie,editable:Zr,activeDescendantId:Ft,value:ta,onKeyDown:an,onMouseDown:pt,onChange:function(Vt){Xr(!0),kn(Vt)},onPaste:Dt,onCompositionStart:nr,onCompositionEnd:Tr,onBlur:pr,tabIndex:Xn,attrs:(0,rt.Z)(pn,!0),maxLength:Vr?gn:void 0})),!Vr&&vr?xe.createElement("span",{className:"".concat(tn,"-selection-item"),title:sa,style:Lr?{visibility:"hidden"}:void 0},vr.label):null,Ur)},Sn=ct,Zt=function(pn,kt){var tn=(0,xe.useRef)(null),Mt=(0,xe.useRef)(!1),rn=pn.prefixCls,lt=pn.open,ve=pn.mode,Ie=pn.showSearch,Ft=pn.tokenWithEnter,Pe=pn.disabled,Ye=pn.prefix,Xt=pn.autoClearSearchValue,Wt=pn.onSearch,Xn=pn.onSearchSubmit,Qn=pn.onToggleOpen,Pn=pn.onInputKeyDown,Nr=pn.onInputBlur,gn=pn.domRef;xe.useImperativeHandle(kt,function(){return{focus:function(sa){tn.current.focus(sa)},blur:function(){tn.current.blur()}}});var an=_e(0),pt=(0,be.Z)(an,2),kn=pt[0],Dt=pt[1],nr=function(sa){var Ur=sa.which,ua=tn.current instanceof HTMLTextAreaElement;!ua&<&&(Ur===tt.Z.UP||Ur===tt.Z.DOWN)&&sa.preventDefault(),Pn&&Pn(sa),Ur===tt.Z.ENTER&&ve==="tags"&&!Mt.current&&!lt&&(Xn==null||Xn(sa.target.value)),!(ua&&!lt&&~[tt.Z.UP,tt.Z.DOWN,tt.Z.LEFT,tt.Z.RIGHT].indexOf(Ur))&>(Ur)&&Qn(!0)},Tr=function(){Dt(!0)},pr=(0,xe.useRef)(null),xr=function(sa){Wt(sa,!0,Mt.current)!==!1&&Qn(!0)},er=function(){Mt.current=!0},Dr=function(sa){Mt.current=!1,ve!=="combobox"&&xr(sa.target.value)},mr=function(sa){var Ur=sa.target.value;if(Ft&&pr.current&&/[\r\n]/.test(pr.current)){var ua=pr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Ur=Ur.replace(ua,pr.current)}pr.current=null,xr(Ur)},Xr=function(sa){var Ur=sa.clipboardData,ua=Ur==null?void 0:Ur.getData("text");pr.current=ua||""},Vr=function(sa){var Ur=sa.target;if(Ur!==tn.current){var ua=document.body.style.msTouchAction!==void 0;ua?setTimeout(function(){tn.current.focus()}):tn.current.focus()}},Zr=function(sa){var Ur=kn();sa.target!==tn.current&&!Ur&&!(ve==="combobox"&&Pe)&&sa.preventDefault(),(ve!=="combobox"&&(!Ie||!Ur)||!lt)&&(lt&&Xt!==!1&&Wt("",!0,!1),Qn())},vr={inputRef:tn,onInputKeyDown:nr,onInputMouseDown:Tr,onInputChange:mr,onInputPaste:Xr,onInputCompositionStart:er,onInputCompositionEnd:Dr,onInputBlur:Nr},ta=ve==="multiple"||ve==="tags"?xe.createElement(Rn,(0,b.Z)({},pn,vr)):xe.createElement(Sn,(0,b.Z)({},pn,vr));return xe.createElement("div",{ref:gn,className:"".concat(rn,"-selector"),onClick:Vr,onMouseDown:Zr},Ye&&xe.createElement("div",{className:"".concat(rn,"-prefix")},Ye),ta)},vn=xe.forwardRef(Zt),un=vn,De=y(68196),me=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ce=function(pn){var kt=pn===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:kt,adjustY:1},htmlRegion:"scroll"}}},Te=function(pn,kt){var tn=pn.prefixCls,Mt=pn.disabled,rn=pn.visible,lt=pn.children,ve=pn.popupElement,Ie=pn.animation,Ft=pn.transitionName,Pe=pn.dropdownStyle,Ye=pn.dropdownClassName,Xt=pn.direction,Wt=Xt===void 0?"ltr":Xt,Xn=pn.placement,Qn=pn.builtinPlacements,Pn=pn.dropdownMatchSelectWidth,Nr=pn.dropdownRender,gn=pn.dropdownAlign,an=pn.getPopupContainer,pt=pn.empty,kn=pn.getTriggerDOMNode,Dt=pn.onPopupVisibleChange,nr=pn.onPopupMouseEnter,Tr=(0,fe.Z)(pn,me),pr="".concat(tn,"-dropdown"),xr=ve;Nr&&(xr=Nr(ve));var er=xe.useMemo(function(){return Qn||ce(Pn)},[Qn,Pn]),Dr=Ie?"".concat(pr,"-").concat(Ie):Ft,mr=typeof Pn=="number",Xr=xe.useMemo(function(){return mr?null:Pn===!1?"minWidth":"width"},[Pn,mr]),Vr=Pe;mr&&(Vr=(0,pe.Z)((0,pe.Z)({},Vr),{},{width:Pn}));var Zr=xe.useRef(null);return xe.useImperativeHandle(kt,function(){return{getPopupElement:function(){var ta;return(ta=Zr.current)===null||ta===void 0?void 0:ta.popupElement}}}),xe.createElement(De.Z,(0,b.Z)({},Tr,{showAction:Dt?["click"]:[],hideAction:Dt?["click"]:[],popupPlacement:Xn||(Wt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:er,prefixCls:pr,popupTransitionName:Dr,popup:xe.createElement("div",{onMouseEnter:nr},xr),ref:Zr,stretch:Xr,popupAlign:gn,popupVisible:rn,getPopupContainer:an,popupClassName:Fe()(Ye,(0,le.Z)({},"".concat(pr,"-empty"),pt)),popupStyle:Vr,getTriggerDOMNode:kn,onPopupVisibleChange:Dt}),lt)},Ue=xe.forwardRef(Te),ge=Ue,Me=y(48745);function ot(Jt,pn){var kt=Jt.key,tn;return"value"in Jt&&(tn=Jt.value),kt!=null?kt:tn!==void 0?tn:"rc-index-key-".concat(pn)}function Qt(Jt){return typeof Jt!="undefined"&&!Number.isNaN(Jt)}function At(Jt,pn){var kt=Jt||{},tn=kt.label,Mt=kt.value,rn=kt.options,lt=kt.groupLabel,ve=tn||(pn?"children":"label");return{label:ve,value:Mt||"value",options:rn||"options",groupLabel:lt||ve}}function vt(Jt){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},kt=pn.fieldNames,tn=pn.childrenAsData,Mt=[],rn=At(kt,!1),lt=rn.label,ve=rn.value,Ie=rn.options,Ft=rn.groupLabel;function Pe(Ye,Xt){Array.isArray(Ye)&&Ye.forEach(function(Wt){if(Xt||!(Ie in Wt)){var Xn=Wt[ve];Mt.push({key:ot(Wt,Mt.length),groupOption:Xt,data:Wt,label:Wt[lt],value:Xn})}else{var Qn=Wt[Ft];Qn===void 0&&tn&&(Qn=Wt.label),Mt.push({key:ot(Wt,Mt.length),group:!0,data:Wt,label:Qn}),Pe(Wt[Ie],!0)}})}return Pe(Jt,!1),Mt}function Ct(Jt){var pn=(0,pe.Z)({},Jt);return"props"in pn||Object.defineProperty(pn,"props",{get:function(){return(0,Re.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),pn}}),pn}var Ut=function(pn,kt,tn){if(!kt||!kt.length)return null;var Mt=!1,rn=function ve(Ie,Ft){var Pe=(0,Me.Z)(Ft),Ye=Pe[0],Xt=Pe.slice(1);if(!Ye)return[Ie];var Wt=Ie.split(Ye);return Mt=Mt||Wt.length>1,Wt.reduce(function(Xn,Qn){return[].concat((0,he.Z)(Xn),(0,he.Z)(ve(Qn,Xt)))},[]).filter(Boolean)},lt=rn(pn,kt);return Mt?typeof tn!="undefined"?lt.slice(0,tn):lt:null},$t=xe.createContext(null),fn=$t;function dn(Jt){var pn=Jt.visible,kt=Jt.values;if(!pn)return null;var tn=50;return xe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(kt.slice(0,tn).map(function(Mt){var rn=Mt.label,lt=Mt.value;return["number","string"].includes((0,we.Z)(rn))?rn:lt}).join(", ")),kt.length>tn?", ...":null)}var Bt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Mn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Dn=function(pn){return pn==="tags"||pn==="multiple"},Cn=xe.forwardRef(function(Jt,pn){var kt,tn=Jt.id,Mt=Jt.prefixCls,rn=Jt.className,lt=Jt.showSearch,ve=Jt.tagRender,Ie=Jt.direction,Ft=Jt.omitDomProps,Pe=Jt.displayValues,Ye=Jt.onDisplayValuesChange,Xt=Jt.emptyOptions,Wt=Jt.notFoundContent,Xn=Wt===void 0?"Not Found":Wt,Qn=Jt.onClear,Pn=Jt.mode,Nr=Jt.disabled,gn=Jt.loading,an=Jt.getInputElement,pt=Jt.getRawInputElement,kn=Jt.open,Dt=Jt.defaultOpen,nr=Jt.onDropdownVisibleChange,Tr=Jt.activeValue,pr=Jt.onActiveValueChange,xr=Jt.activeDescendantId,er=Jt.searchValue,Dr=Jt.autoClearSearchValue,mr=Jt.onSearch,Xr=Jt.onSearchSplit,Vr=Jt.tokenSeparators,Zr=Jt.allowClear,vr=Jt.prefix,ta=Jt.suffixIcon,Lr=Jt.clearIcon,sa=Jt.OptionList,Ur=Jt.animation,ua=Jt.transitionName,Vt=Jt.dropdownStyle,Sa=Jt.dropdownClassName,ra=Jt.dropdownMatchSelectWidth,ia=Jt.dropdownRender,pa=Jt.dropdownAlign,ma=Jt.placement,kr=Jt.builtinPlacements,Qr=Jt.getPopupContainer,Kr=Jt.showAction,Jn=Kr===void 0?[]:Kr,dr=Jt.onFocus,fr=Jt.onBlur,tr=Jt.onKeyUp,Ln=Jt.onKeyDown,jr=Jt.onMouseDown,lr=(0,fe.Z)(Jt,Bt),rr=Dn(Pn),yr=(lt!==void 0?lt:rr)||Pn==="combobox",Mr=(0,pe.Z)({},lr);Mn.forEach(function(ci){delete Mr[ci]}),Ft==null||Ft.forEach(function(ci){delete Mr[ci]});var Ea=xe.useState(!1),oa=(0,be.Z)(Ea,2),Ca=oa[0],Ha=oa[1];xe.useEffect(function(){Ha((0,nt.Z)())},[]);var Da=xe.useRef(null),Na=xe.useRef(null),Ua=xe.useRef(null),ga=xe.useRef(null),Ma=xe.useRef(null),Qa=xe.useRef(!1),Ri=He(),Oi=(0,be.Z)(Ri,3),ui=Oi[0],ti=Oi[1],ai=Oi[2];xe.useImperativeHandle(pn,function(){var ci,Ya;return{focus:(ci=ga.current)===null||ci===void 0?void 0:ci.focus,blur:(Ya=ga.current)===null||Ya===void 0?void 0:Ya.blur,scrollTo:function(ao){var Gi;return(Gi=Ma.current)===null||Gi===void 0?void 0:Gi.scrollTo(ao)},nativeElement:Da.current||Na.current}});var Or=xe.useMemo(function(){var ci;if(Pn!=="combobox")return er;var Ya=(ci=Pe[0])===null||ci===void 0?void 0:ci.value;return typeof Ya=="string"||typeof Ya=="number"?String(Ya):""},[er,Pn,Pe]),mi=Pn==="combobox"&&typeof an=="function"&&an()||null,gi=typeof pt=="function"&&pt(),ha=(0,et.x1)(Na,gi==null||(kt=gi.props)===null||kt===void 0?void 0:kt.ref),$a=xe.useState(!1),qa=(0,be.Z)($a,2),Fa=qa[0],Ja=qa[1];(0,xt.Z)(function(){Ja(!0)},[]);var Ia=(0,Oe.Z)(!1,{defaultValue:Dt,value:kn}),wi=(0,be.Z)(Ia,2),Bi=wi[0],Fi=wi[1],Ti=Fa?Bi:!1,so=!Xn&&Xt;(Nr||so&&Ti&&Pn==="combobox")&&(Ti=!1);var Va=so?!1:Ti,Aa=xe.useCallback(function(ci){var Ya=ci!==void 0?ci:!Ti;Nr||(Fi(Ya),Ti!==Ya&&(nr==null||nr(Ya)))},[Nr,Ti,Fi,nr]),ja=xe.useMemo(function(){return(Vr||[]).some(function(ci){return[` + `,Wt.style.marginRight="5px",gt.appendChild(Wt)}ge.typeBoxes.push(gt)},ge=this,Pe=0;Pe<4;Pe++)je(Pe);return Te},he.prototype.setCurrentType=function(ce,Te){var je=this;this.currentType=ce,this.typeBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings!==void 0?je.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},he}(tt),Jt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.arrowType="end",ge.arrowBaseHeight=10,ge.arrowBaseWidth=10,ge.getArrowPoints=ge.getArrowPoints.bind(ge),ge.setArrowType=ge.setArrowType.bind(ge),ge.arrowTypePanel=new qe("Arrow type","end"),ge.arrowTypePanel.onArrowTypeChanged=ge.setArrowType,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.arrow1&&ce!==this.arrow2)},he.prototype.getArrowPoints=function(ce,Te){var je=this.arrowBaseWidth+2*this.strokeWidth,ge=this.arrowBaseHeight+2*this.strokeWidth;return ce-je/2+","+(Te+ge/2)+" "+ce+","+(Te-ge/2)+" "+(ce+je/2)+","+(Te+ge/2)},he.prototype.createTips=function(){this.arrow1=fe.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=fe.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(fe.createTransform()),this.visual.appendChild(this.arrow2)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.state==="creating"&&this.createTips()},he.prototype.adjustVisual=function(){if(De.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",fe.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),fe.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var ce=0;Math.abs(this.x1-this.x2)>.1&&(ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var Te=this.arrow1.transform.baseVal.getItem(0);Te.setRotate(ce,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(Te,0);var je=this.arrow2.transform.baseVal.getItem(0);je.setRotate(ce+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(je,0)}},he.prototype.setArrowType=function(ce){this.arrowType=ce,this.adjustVisual(),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({arrowType:this.arrowType},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.arrowType=Te.arrowType,this.createTips(),this.adjustVisual()},he.typeName="ArrowMarker",he.title="Arrow marker",he.icon='',he}(vt),Rt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.fillColor=je.defaultFillColor,ge.strokeWidth=0,ge.fillPanel=new Je("Color",je.defaultColorSet,je.defaultFillColor),ge.fillPanel.onColorChanged=ge.setFillColor,ge}return me(he,De),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="CoverMarker",he.title="Cover marker",he.icon='',he}(_e),Zt=function(De){function he(ce,Te,je,ge){var Pe=De.call(this,ce,ge||'')||this;return Pe.opacities=[],Pe.opacityBoxes=[],Pe.opacities=Te,Pe.currentOpacity=je,Pe.setCurrentOpacity=Pe.setCurrentOpacity.bind(Pe),Pe}return me(he,De),he.prototype.getUi=function(){var ce=this,Te=document.createElement("div");return Te.style.display="flex",Te.style.overflow="hidden",Te.style.flexGrow="2",Te.style.justifyContent="space-between",this.opacities.forEach(function(je){var ge=document.createElement("div");ge.style.display="flex",ge.style.alignItems="center",ge.style.justifyContent="center",ge.style.padding="5px",ge.style.borderWidth="2px",ge.style.borderStyle="solid",ge.style.borderColor=je===ce.currentOpacity?ce.uiStyleSettings.toolboxAccentColor:"transparent",ge.addEventListener("click",function(){ce.setCurrentOpacity(je,ge)}),Te.appendChild(ge);var Pe=document.createElement("div");Pe.innerText=100*je+"%",ge.appendChild(Pe),ce.opacityBoxes.push(ge)}),Te},he.prototype.setCurrentOpacity=function(ce,Te){var je=this;this.currentOpacity=ce,this.opacityBoxes.forEach(function(ge){ge.style.borderColor=ge===Te?je.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},he}(tt),Tn=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.setOpacity=ge.setOpacity.bind(ge),ge.fillColor=je.defaultHighlightColor,ge.strokeWidth=0,ge.opacity=je.defaultHighlightOpacity,ge.fillPanel=new Je("Color",je.defaultColorSet,ge.fillColor),ge.fillPanel.onColorChanged=ge.setFillColor,ge.opacityPanel=new Zt("Opacity",je.defaultOpacitySteps,ge.opacity),ge.opacityPanel.onOpacityChanged=ge.setOpacity,ge}return me(he,De),he.prototype.setOpacity=function(ce){this.opacity=ce,this.visual&&fe.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="HighlightMarker",he.title="Highlight marker",he.icon='',he}(Rt),Tt='',Ye='',Se=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.bgColor="transparent",ge.tipPosition={x:0,y:0},ge.tipBase1Position={x:0,y:0},ge.tipBase2Position={x:0,y:0},ge.tipMoving=!1,ge.color=je.defaultStrokeColor,ge.bgColor=je.defaultFillColor,ge.fontFamily=je.defaultFontFamily,ge.defaultSize={x:100,y:30},ge.setBgColor=ge.setBgColor.bind(ge),ge.getTipPoints=ge.getTipPoints.bind(ge),ge.positionTip=ge.positionTip.bind(ge),ge.setTipPoints=ge.setTipPoints.bind(ge),ge.colorPanel=new Je("Text color",je.defaultColorSet,ge.color,Tt),ge.colorPanel.onColorChanged=ge.setColor,ge.bgColorPanel=new Je("Fill color",je.defaultColorSet,ge.bgColor,Ye),ge.bgColorPanel.onColorChanged=ge.setBgColor,ge.fontFamilyPanel=new dt("Font",je.defaultFontFamilies,je.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge.tipGrip=new Ze,ge.tipGrip.visual.transform.baseVal.appendItem(fe.createTransform()),ge.controlBox.appendChild(ge.tipGrip.visual),ge}return me(he,De),he.prototype.ownsTarget=function(ce){return De.prototype.ownsTarget.call(this,ce)||this.tipGrip.ownsTarget(ce)||this.tip===ce},he.prototype.createTip=function(){fe.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=fe.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},he.prototype.pointerDown=function(ce,Te){this.state==="new"&&De.prototype.pointerDown.call(this,ce,Te),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(Te)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):De.prototype.pointerDown.call(this,ce,Te)},he.prototype.pointerUp=function(ce){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,De.prototype.pointerUp.call(this,ce);else{var Te=this.state==="creating";De.prototype.pointerUp.call(this,ce),this.setTipPoints(Te),this.positionTip()}},he.prototype.manipulate=function(ce){if(this.tipMoving){var Te=this.unrotatePoint(ce);this.tipPosition={x:Te.x-this.manipulationStartLeft,y:Te.y-this.manipulationStartTop},this.positionTip()}else De.prototype.manipulate.call(this,ce)},he.prototype.setBgColor=function(ce){this.bgRectangle&&this.tip&&(fe.setAttributes(this.bgRectangle,[["fill",ce]]),fe.setAttributes(this.tip,[["fill",ce]])),this.bgColor=ce,this.fillColorChanged(ce)},he.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},he.prototype.setTipPoints=function(ce){ce===void 0&&(ce=!1);var Te=Math.min(this.height/2,15),je=this.height/5;ce&&(this.tipPosition={x:Te+je/2,y:this.height+20});var ge=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?ge.1)){var ce=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),Te=this.tip1.transform.baseVal.getItem(0);Te.setRotate(ce,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(Te,0);var je=this.tip2.transform.baseVal.getItem(0);je.setRotate(ce+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(je,0)}},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce),this.createTips(),this.adjustVisual()},he.typeName="MeasurementMarker",he.title="Measurement marker",he.icon='',he}(vt),st=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokePanel.colors=je.defaultColorSet,ge.fillColor="transparent",ge}return me(he,De),Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=De.prototype.getState.call(this);return ce.typeName=he.typeName,ce},he.typeName="EllipseFrameMarker",he.title="Ellipse frame marker",he.icon='',he}(Qt),Ut=function(){function De(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(De.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),De.prototype.addUndoStep=function(he){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(he)||(this.undoStack.push(he),JSON.stringify(this.lastRedoStep)!==JSON.stringify(he)&&this.redoStack.splice(0,this.redoStack.length))},De.prototype.replaceLastUndoStep=function(he){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=he)},De.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},De.prototype.undo=function(){if(this.undoStack.length>1){var he=this.undoStack.pop();return he!==void 0&&this.redoStack.push(he),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},De.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},De}(),Gt=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.curveX=0,ge.curveY=0,ge.manipulationStartCurveX=0,ge.manipulationStartCurveY=0,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.positionGrips=ge.positionGrips.bind(ge),ge.addControlGrips=ge.addControlGrips.bind(ge),ge.adjustVisual=ge.adjustVisual.bind(ge),ge.setupControlBox=ge.setupControlBox.bind(ge),ge.resize=ge.resize.bind(ge),ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.strokePanel=new Je("Line color",je.defaultColorSet,je.defaultColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.selectorCurve&&ce!==this.visibleCurve&&!this.curveGrip.ownsTarget(ce))},he.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.selectorCurve=fe.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=fe.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=ce.x,this.curveY=ce.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(Te)&&(this.activeGrip=this.curveGrip,this._state="resize")},he.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),fe.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),fe.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),fe.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},he.prototype.setupControlBox=function(){De.prototype.setupControlBox.call(this),this.curveControlLine1=fe.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=fe.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},he.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,De.prototype.addControlGrips.call(this)},he.prototype.positionGrips=function(){De.prototype.positionGrips.call(this);var ce=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-ce/2,this.curveY-ce/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},he.prototype.manipulate=function(ce){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+ce.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+ce.y-this.manipulationStartY),De.prototype.manipulate.call(this,ce)},he.prototype.resize=function(ce){this.activeGrip===this.curveGrip&&(this.curveX=ce.x,this.curveY=ce.y),De.prototype.resize.call(this,ce),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.adjustVisual(),this.colorChanged(ce)},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.adjustVisual()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.adjustVisual()},he.prototype.scale=function(ce,Te){this.curveX=this.curveX*ce,this.curveY=this.curveY*Te,De.prototype.scale.call(this,ce,Te)},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},De.prototype.getState.call(this));return ce.typeName=he.typeName,ce},he.prototype.restoreState=function(ce){De.prototype.restoreState.call(this,ce);var Te=ce;this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.curveX=Te.curveX,this.curveY=Te.curveY,this.createVisual(),this.adjustVisual()},he.typeName="CurveMarker",he.title="Curve marker",he.icon='',he}(Nt),On=function(De){function he(ce,Te,je){var ge=De.call(this,ce,Te,je)||this;return ge.fillColor="transparent",ge.strokeColor="transparent",ge.strokeWidth=0,ge.strokeDasharray="",ge.textColor="transparent",ge.fontSize="1rem",ge.isMoved=!1,ge.captionText="Caption",ge.PADDING=5,ge.captionBoxWidth=0,ge.captionBoxHeight=0,ge.strokeColor=je.defaultColor,ge.strokeWidth=je.defaultStrokeWidth,ge.strokeDasharray=je.defaultStrokeDasharray,ge.fillColor=je.defaultFillColor,ge.textColor=je.defaultStrokeColor,ge.fontFamily=je.defaultFontFamily,ge.fontSize=je.defaultCaptionFontSize,ge.captionText=je.defaultCaptionText,ge.setStrokeColor=ge.setStrokeColor.bind(ge),ge.setFillColor=ge.setFillColor.bind(ge),ge.setStrokeWidth=ge.setStrokeWidth.bind(ge),ge.setStrokeDasharray=ge.setStrokeDasharray.bind(ge),ge.createVisual=ge.createVisual.bind(ge),ge.sizeCaption=ge.sizeCaption.bind(ge),ge.setCaptionText=ge.setCaptionText.bind(ge),ge.showTextEditor=ge.showTextEditor.bind(ge),ge.positionTextEditor=ge.positionTextEditor.bind(ge),ge.finishTextEditing=ge.finishTextEditing.bind(ge),ge.setFont=ge.setFont.bind(ge),ge.setTextColor=ge.setTextColor.bind(ge),ge.strokePanel=new Je("Line color",be(je.defaultColorSet,["transparent"]),ge.strokeColor),ge.strokePanel.onColorChanged=ge.setStrokeColor,ge.fillPanel=new Je("Fill color",be(je.defaultColorSet,["transparent"]),ge.fillColor,Ye),ge.fillPanel.onColorChanged=ge.setFillColor,ge.strokeWidthPanel=new $e("Line width",je.defaultStrokeWidths,je.defaultStrokeWidth),ge.strokeWidthPanel.onWidthChanged=ge.setStrokeWidth,ge.strokeStylePanel=new nt("Line style",je.defaultStrokeDasharrays,je.defaultStrokeDasharray),ge.strokeStylePanel.onStyleChanged=ge.setStrokeDasharray,ge.fontFamilyPanel=new dt("Font",je.defaultFontFamilies,je.defaultFontFamily),ge.fontFamilyPanel.onFontChanged=ge.setFont,ge.textColorPanel=new Je("Text color",je.defaultColorSet,ge.textColor,Tt),ge.textColorPanel.onColorChanged=ge.setTextColor,ge}return me(he,De),he.prototype.ownsTarget=function(ce){return!(!De.prototype.ownsTarget.call(this,ce)&&ce!==this.visual&&ce!==this.frame&&ce!==this.captionBg&&ce!==this.captionElement)},he.prototype.createVisual=function(){this.visual=fe.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=fe.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=fe.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=fe.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},he.prototype.setCaptionText=function(ce){this.captionText=ce,this.captionElement.textContent=this.captionText,this.sizeCaption()},he.prototype.pointerDown=function(ce,Te){De.prototype.pointerDown.call(this,ce,Te),this.isMoved=!1,this.pointerDownPoint=ce,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(ce),this._state="creating")},he.prototype.manipulate=function(ce){De.prototype.manipulate.call(this,ce),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(ce.x-this.pointerDownPoint.x)>5||Math.abs(ce.y-this.pointerDownPoint.y)>5)},he.prototype.resize=function(ce){De.prototype.resize.call(this,ce),this.setSize()},he.prototype.sizeCaption=function(){var ce=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=ce.width+2*this.PADDING,this.captionBoxHeight=ce.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),fe.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),fe.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},he.prototype.showTextEditor=function(){var ce=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(Te){Te.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(Te){Te.key==="Enter"&&ce.finishTextEditing(ce.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(Te){Te.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){ce.finishTextEditing(ce.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){ce.finishTextEditing(ce.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},he.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},he.prototype.finishTextEditing=function(ce){this.setCaptionText(ce.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},he.prototype.setFont=function(ce){this.captionElement&&fe.setAttributes(this.captionElement,[["font-family",ce]]),this.fontFamily=ce,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},he.prototype.setTextColor=function(ce){this.captionElement&&fe.setAttributes(this.captionElement,[["fill",ce]]),this.textColor=ce,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},he.prototype.setSize=function(){De.prototype.setSize.call(this),fe.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},he.prototype.pointerUp=function(ce){De.prototype.pointerUp.call(this,ce),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},he.prototype.dblClick=function(ce,Te){De.prototype.dblClick.call(this,ce,Te),this.showTextEditor()},he.prototype.setStrokeColor=function(ce){this.strokeColor=ce,this.frame&&fe.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(ce),this.stateChanged()},he.prototype.setFillColor=function(ce){this.fillColor=ce,this.captionBg&&fe.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(ce),this.stateChanged()},he.prototype.setStrokeWidth=function(ce){this.strokeWidth=ce,this.frame&&fe.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},he.prototype.setStrokeDasharray=function(ce){this.strokeDasharray=ce,this.frame&&fe.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(he.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),he.prototype.getState=function(){var ce=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},De.prototype.getState.call(this));return ce.typeName=this.typeName,ce},he.prototype.restoreState=function(ce){var Te=ce;this.fillColor=Te.fillColor,this.strokeColor=Te.strokeColor,this.strokeWidth=Te.strokeWidth,this.strokeDasharray=Te.strokeDasharray,this.textColor=Te.textColor,this.fontFamily=Te.fontFamily,this.captionText=Te.captionText,this.fontSize=Te.fontSize,this.createVisual(),De.prototype.restoreState.call(this,ce),this.setSize()},he.prototype.scale=function(ce,Te){De.prototype.scale.call(this,ce,Te),this.setSize()},he.typeName="CaptionFrameMarker",he.title="Caption frame marker",he.icon='',he}(ze),ft=function(){function De(he,ce){ce===void 0&&(ce=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=he,this.cancelable=ce}return Object.defineProperty(De.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),De.prototype.preventDefault=function(){this._defaultPrevented=!0},De}(),En=function(De){function he(ce,Te,je){var ge=De.call(this,ce,!1)||this;return ge.dataUrl=Te,ge.state=je,ge}return me(he,De),he}(ft),Ht=function(De){function he(ce,Te,je){je===void 0&&(je=!1);var ge=De.call(this,ce,je)||this;return ge.marker=Te,ge}return me(he,De),he}(ft),gn=function(){function De(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return De.prototype.addEventListener=function(he,ce){this[he].push(ce)},De.prototype.removeEventListener=function(he,ce){var Te=this[he].indexOf(ce);Te>-1&&this[he].splice(Te,1)},De}(),un=function(){function De(he){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new it,this._isOpen=!1,this.undoRedoManager=new Ut,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new gn,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=De.instanceCounter++,this.styles=new xe(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=he,this.targetRoot=document.body,this.width=he.clientWidth,this.height=he.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(De.prototype,"ALL_MARKER_TYPES",{get:function(){return[bt,St,Jt,It,st,Qt,Tn,Se,on,Rt,vt,Gt,On]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[bt,St,Jt,It,Qt,Tn,Se]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"BASIC_MARKER_TYPES",{get:function(){return[bt,St,Jt,It,Tn]},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(he){var ce=this;this._availableMarkerTypes.splice(0),he.forEach(function(Te){if(typeof Te=="string"){var je=ce.ALL_MARKER_TYPES.find(function(ge){return ge.typeName===Te});je!==void 0&&ce._availableMarkerTypes.push(je)}else ce._availableMarkerTypes.push(Te)})},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(he){this._zoomLevel=he,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(De.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),De.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),we.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},De.prototype.show=function(){var he=this;this.styles.styleSheetRoot===void 0&&Re.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=Re.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(ce){return ce(new ft(he))})},De.prototype.render=function(){return le(this,void 0,void 0,function(){var he;return pe(this,function(ce){switch(ce.label){case 0:return this.setCurrentMarker(),(he=new Oe).naturalSize=this.renderAtNaturalSize,he.imageType=this.renderImageType,he.imageQuality=this.renderImageQuality,he.markersOnly=this.renderMarkersOnly,he.width=this.renderWidth,he.height=this.renderHeight,[4,he.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return ce.sent(),[4,he.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,ce.sent()]}})})},De.prototype.close=function(he){var ce=this;if(he===void 0&&(he=!1),this.isOpen){var Te=!1;he||this.eventListeners.beforeclose.forEach(function(je){var ge=new ft(ce,!0);je(ge),ge.defaultPrevented&&(Te=!0)}),Te||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(je){return je(new ft(ce))}),this.detachEvents(),this._isOpen=!1)}},De.prototype.addMarkersToToolbar=function(){for(var he,ce=[],Te=0;Tethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*he:this.editorCanvas.clientWidth,Te=ce',he.title="Powered by marker.js",he.style.display="grid",he.style.alignItems="center",he.style.justifyItems="center",he.style.padding="3px",he.style.width="20px",he.style.height="20px",this.logoUI.appendChild(he),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},De.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},De.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},De.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},De.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var he=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=he+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new At(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(he),1),he.dispose()},De.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},De.prototype.toolbarButtonClicked=function(he,ce){if(he==="marker"&&ce!==void 0)this.createNewMarker(ce);else if(he==="action")switch(ce){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},De.prototype.deleteSelectedMarker=function(){var he=this;if(this._currentMarker!==void 0){var ce=!1;if(this.eventListeners.markerbeforedelete.forEach(function(je){var ge=new Ht(he,he._currentMarker,!0);je(ge),ge.defaultPrevented&&(ce=!0)}),!ce){var Te=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(je){return je(new Ht(he,Te))})}}},De.prototype.clear=function(){var he=this,ce=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Pe){var ct=new Ht(he,void 0,!0);Pe(ct),ct.defaultPrevented&&(ce=!0)}),!ce)){this.setCurrentMarker();for(var Te=function(Pe){var ct=je.markers[Pe];je.setCurrentMarker(je.markers[Pe]),je._currentMarker.dispose(),je.markerImage.removeChild(je._currentMarker.container),je.markers.splice(je.markers.indexOf(je._currentMarker),1),je.eventListeners.markerdelete.forEach(function($t){return $t(new Ht(he,ct))})},je=this,ge=this.markers.length-1;ge>=0;ge--)Te(ge);this.addUndoStep()}},Object.defineProperty(De.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),De.prototype.showNotesEditor=function(){var he;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(he=this._currentMarker.notes)!==null&&he!==void 0?he:"",this.overlayContainer.appendChild(this.notesArea))},De.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},De.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},De.prototype.addUndoStep=function(){var he=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var ce=this.getState(),Te=this.undoRedoManager.getLastUndoStep();if(!Te||Te.width===ce.width&&Te.height===ce.height){var je=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(ce),je1&&this.panTo({x:he.clientX,y:he.clientY}))},De.prototype.onPointerUp=function(he){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(he.clientX,he.clientY)),this.isDragging=!1,this.addUndoStep()},De.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},De.prototype.onKeyUp=function(he){this._currentMarker===void 0||this.notesArea!==void 0||he.key!=="Delete"&&he.key!=="Backspace"||this.deleteSelectedMarker()},De.prototype.clientToLocalCoordinates=function(he,ce){var Te=this.markerImage.getBoundingClientRect();return{x:(he-Te.left)/this.zoomLevel,y:(ce-Te.top)/this.zoomLevel}},De.prototype.onWindowResize=function(){this.positionUI()},De.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var he=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=he+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},De.prototype.addLicenseKey=function(he){we.addKey(he)},De.prototype.addEventListener=function(he,ce){this.eventListeners.addEventListener(he,ce)},De.prototype.removeEventListener=function(he,ce){this.eventListeners.removeEventListener(he,ce)},De.prototype.renderState=function(he){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(he),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(De.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),De.prototype.focus=function(){var he=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(ce){return ce(new ft(he))}))},De.prototype.blur=function(){var he=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(ce){return ce(new ft(he))}))},De.instanceCounter=0,De}()},67842:function(Ce){"use strict";var ae,y=59;Ce.exports=b;function b(me){var le="&"+me+";",pe;return ae=ae||document.createElement("i"),ae.innerHTML=le,pe=ae.textContent,pe.charCodeAt(pe.length-1)===y&&me!=="semi"||pe===le?!1:pe}},12256:function(Ce,ae,y){"use strict";var b=y(47854),me=y(80501),le=y(22347),pe=y(65207),be=y(21127),fe=y(67842);Ce.exports=Tn;var we={}.hasOwnProperty,Oe=String.fromCharCode,Re=Function.prototype,xe={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},Ge=9,Fe=10,At=12,at=32,tt=38,Je=59,We=60,Ve=61,Ze=35,Qe=88,ze=120,_e=65533,$e="named",nt="hexadecimal",bt="decimal",it={};it[nt]=16,it[bt]=10;var Nt={};Nt[$e]=be,Nt[bt]=le,Nt[nt]=pe;var vt=1,dt=2,It=3,St=4,qe=5,Jt=6,Rt=7,Zt={};Zt[vt]="Named character references must be terminated by a semicolon",Zt[dt]="Numeric character references must be terminated by a semicolon",Zt[It]="Named character references cannot be empty",Zt[St]="Numeric character references cannot be empty",Zt[qe]="Named character references must be known",Zt[Jt]="Numeric character references cannot be disallowed",Zt[Rt]="Numeric character references cannot be outside the permissible Unicode range";function Tn(Qt,on){var st={},Ut,Gt;on||(on={});for(Gt in xe)Ut=on[Gt],st[Gt]=Ut==null?xe[Gt]:Ut;return(st.position.indent||st.position.start)&&(st.indent=st.position.indent||[],st.position=st.position.start),Tt(Qt,st)}function Tt(Qt,on){var st=on.additional,Ut=on.nonTerminated,Gt=on.text,On=on.reference,ft=on.warning,En=on.textContext,Ht=on.referenceContext,gn=on.warningContext,un=on.position,De=on.indent||[],he=Qt.length,ce=0,Te=-1,je=un.column||1,ge=un.line||1,Pe="",ct=[],$t,gt,yt,Dt,Pt,Wt,pn,fn,Mt,Ln,kn,wn,ln,In,xn,kt,Yt,Ft,vn;for(typeof st=="string"&&(st=st.charCodeAt(0)),kt=Ct(),fn=ft?pt:Re,ce--,he++;++ce65535&&(Wt-=65536,Ln+=Oe(Wt>>>10|55296),Wt=56320|Wt&1023),Wt=Ln+Oe(Wt))):In!==$e&&fn(St,Ft)),Wt?(de(),kt=Ct(),ce=vn-1,je+=vn-ln+1,ct.push(Wt),Yt=Ct(),Yt.offset++,On&&On.call(Ht,Wt,{start:kt,end:Yt},Qt.slice(ln-1,vn)),kt=Yt):(Dt=Qt.slice(ln-1,vn),Pe+=Dt,je+=Dt.length,ce=vn-1)}else Pt===10&&(ge++,Te++,je=0),Pt===Pt?(Pe+=Oe(Pt),je++):de();return ct.join("");function Ct(){return{line:ge,column:je,offset:ce+(un.offset||0)}}function pt(qt,Dn){var mn=Ct();mn.column+=Dn,mn.offset+=Dn,ft.call(gn,Zt[qt],mn,qt)}function de(){Pe&&(ct.push(Pe),Gt&&Gt.call(En,Pe,{start:kt,end:Ct()}),Pe="")}}function Ye(Qt){return Qt>=55296&&Qt<=57343||Qt>1114111}function Se(Qt){return Qt>=1&&Qt<=8||Qt===11||Qt>=13&&Qt<=31||Qt>=127&&Qt<=159||Qt>=64976&&Qt<=65007||(Qt&65535)===65535||(Qt&65535)===65534}},68398:function(Ce,ae,y){var b=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var me=function(le){var pe=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,be=0,fe={},we={manual:le.Prism&&le.Prism.manual,disableWorkerMessageHandler:le.Prism&&le.Prism.disableWorkerMessageHandler,util:{encode:function Ve(Ze){return Ze instanceof Oe?new Oe(Ze.type,Ve(Ze.content),Ze.alias):Array.isArray(Ze)?Ze.map(Ve):Ze.replace(/&/g,"&").replace(/"+_e.content+""};function Re(Ve,Ze,Qe,ze){Ve.lastIndex=Ze;var _e=Ve.exec(Qe);if(_e&&ze&&_e[1]){var $e=_e[1].length;_e.index+=$e,_e[0]=_e[0].slice($e)}return _e}function xe(Ve,Ze,Qe,ze,_e,$e){for(var nt in Qe)if(!(!Qe.hasOwnProperty(nt)||!Qe[nt])){var bt=Qe[nt];bt=Array.isArray(bt)?bt:[bt];for(var it=0;it=$e.reach);Zt+=Rt.value.length,Rt=Rt.next){var Tn=Rt.value;if(Ze.length>Ve.length)return;if(!(Tn instanceof Oe)){var Tt=1,Ye;if(It){if(Ye=Re(Jt,Zt,Ve,dt),!Ye||Ye.index>=Ve.length)break;var st=Ye.index,Se=Ye.index+Ye[0].length,Qt=Zt;for(Qt+=Rt.value.length;st>=Qt;)Rt=Rt.next,Qt+=Rt.value.length;if(Qt-=Rt.value.length,Zt=Qt,Rt.value instanceof Oe)continue;for(var on=Rt;on!==Ze.tail&&(Qt$e.reach&&($e.reach=ft);var En=Rt.prev;Gt&&(En=Fe(Ze,En,Gt),Zt+=Gt.length),At(Ze,En,Tt);var Ht=new Oe(nt,vt?we.tokenize(Ut,vt):Ut,St,Ut);if(Rt=Fe(Ze,En,Ht),On&&Fe(Ze,Rt,On),Tt>1){var gn={cause:nt+","+it,reach:ft};xe(Ve,Ze,Qe,Rt.prev,Zt,gn),$e&&gn.reach>$e.reach&&($e.reach=gn.reach)}}}}}}function Ge(){var Ve={value:null,prev:null,next:null},Ze={value:null,prev:Ve,next:null};Ve.next=Ze,this.head=Ve,this.tail=Ze,this.length=0}function Fe(Ve,Ze,Qe){var ze=Ze.next,_e={value:Qe,prev:Ze,next:ze};return Ze.next=_e,ze.prev=_e,Ve.length++,_e}function At(Ve,Ze,Qe){for(var ze=Ze.next,_e=0;_e4&&tt.slice(0,4)===pe&&be.test(at)&&(at.charAt(4)==="-"?Je=Re(at):at=xe(at),We=me),new We(Je,at))}function Re(At){var at=At.slice(5).replace(fe,Fe);return pe+at.charAt(0).toUpperCase()+at.slice(1)}function xe(At){var at=At.slice(4);return fe.test(at)?At:(at=at.replace(we,Ge),at.charAt(0)!=="-"&&(at="-"+at),pe+at)}function Ge(At){return"-"+At.toLowerCase()}function Fe(At){return At.charAt(1).toUpperCase()}},18795:function(Ce,ae,y){"use strict";var b=y(83576),me=y(8179),le=y(59780),pe=y(68244),be=y(20019),fe=y(38567);Ce.exports=b([le,me,pe,be,fe])},20019:function(Ce,ae,y){"use strict";var b=y(70167),me=y(79318),le=b.booleanish,pe=b.number,be=b.spaceSeparated;Ce.exports=me({transform:fe,properties:{ariaActiveDescendant:null,ariaAtomic:le,ariaAutoComplete:null,ariaBusy:le,ariaChecked:le,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:be,ariaCurrent:null,ariaDescribedBy:be,ariaDetails:null,ariaDisabled:le,ariaDropEffect:be,ariaErrorMessage:null,ariaExpanded:le,ariaFlowTo:be,ariaGrabbed:le,ariaHasPopup:null,ariaHidden:le,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:be,ariaLevel:pe,ariaLive:null,ariaModal:le,ariaMultiLine:le,ariaMultiSelectable:le,ariaOrientation:null,ariaOwns:be,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:le,ariaReadOnly:le,ariaRelevant:null,ariaRequired:le,ariaRoleDescription:be,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:le,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null}});function fe(we,Oe){return Oe==="role"?Oe:"aria-"+Oe.slice(4).toLowerCase()}},38567:function(Ce,ae,y){"use strict";var b=y(70167),me=y(79318),le=y(85804),pe=b.boolean,be=b.overloadedBoolean,fe=b.booleanish,we=b.number,Oe=b.spaceSeparated,Re=b.commaSeparated;Ce.exports=me({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:le,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Re,acceptCharset:Oe,accessKey:Oe,action:null,allow:null,allowFullScreen:pe,allowPaymentRequest:pe,allowUserMedia:pe,alt:null,as:null,async:pe,autoCapitalize:null,autoComplete:Oe,autoFocus:pe,autoPlay:pe,capture:pe,charSet:null,checked:pe,cite:null,className:Oe,cols:we,colSpan:null,content:null,contentEditable:fe,controls:pe,controlsList:Oe,coords:we|Re,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pe,defer:pe,dir:null,dirName:null,disabled:pe,download:be,draggable:fe,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pe,formTarget:null,headers:Oe,height:we,hidden:pe,high:we,href:null,hrefLang:null,htmlFor:Oe,httpEquiv:Oe,id:null,imageSizes:null,imageSrcSet:Re,inputMode:null,integrity:null,is:null,isMap:pe,itemId:null,itemProp:Oe,itemRef:Oe,itemScope:pe,itemType:Oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pe,low:we,manifest:null,max:null,maxLength:we,media:null,method:null,min:null,minLength:we,multiple:pe,muted:pe,name:null,nonce:null,noModule:pe,noValidate:pe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:pe,optimum:we,pattern:null,ping:Oe,placeholder:null,playsInline:pe,poster:null,preload:null,readOnly:pe,referrerPolicy:null,rel:Oe,required:pe,reversed:pe,rows:we,rowSpan:we,sandbox:Oe,scope:null,scoped:pe,seamless:pe,selected:pe,shape:null,size:we,sizes:null,slot:null,span:we,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:Re,start:we,step:null,style:null,tabIndex:we,target:null,title:null,translate:null,type:null,typeMustMatch:pe,useMap:null,value:fe,width:we,wrap:null,align:null,aLink:null,archive:Oe,axis:null,background:null,bgColor:null,border:we,borderColor:null,bottomMargin:we,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pe,declare:pe,event:null,face:null,frame:null,frameBorder:null,hSpace:we,leftMargin:we,link:null,longDesc:null,lowSrc:null,marginHeight:we,marginWidth:we,noResize:pe,noHref:pe,noShade:pe,noWrap:pe,object:null,profile:null,prompt:null,rev:null,rightMargin:we,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:we,valueType:null,version:null,vAlign:null,vLink:null,vSpace:we,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pe,disableRemotePlayback:pe,prefix:null,property:null,results:we,security:null,unselectable:null}})},85804:function(Ce,ae,y){"use strict";var b=y(56432);Ce.exports=me;function me(le,pe){return b(le,pe.toLowerCase())}},56432:function(Ce){"use strict";Ce.exports=ae;function ae(y,b){return b in y?y[b]:b}},79318:function(Ce,ae,y){"use strict";var b=y(47178),me=y(44347),le=y(19095);Ce.exports=pe;function pe(be){var fe=be.space,we=be.mustUseProperty||[],Oe=be.attributes||{},Re=be.properties,xe=be.transform,Ge={},Fe={},At,at;for(At in Re)at=new le(At,xe(Oe,At),Re[At],fe),we.indexOf(At)!==-1&&(at.mustUseProperty=!0),Ge[At]=at,Fe[b(At)]=At,Fe[b(at.attribute)]=At;return new me(Ge,Fe,fe)}},19095:function(Ce,ae,y){"use strict";var b=y(1969),me=y(70167);Ce.exports=be,be.prototype=new b,be.prototype.defined=!0;var le=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],pe=le.length;function be(we,Oe,Re,xe){var Ge=-1,Fe;for(fe(this,"space",xe),b.call(this,we,Oe);++Ge5&&arguments[5]!==void 0?arguments[5]:!1,en=arguments.length>6?arguments[6]:void 0,cn=arguments.length>7?arguments[7]:void 0,Xt=xe.useMemo(function(){if((0,we.Z)(He)==="object")return He.clearIcon;if(Vt)return Vt},[He,Vt]),an=xe.useMemo(function(){return!!(!et&&He&&(Le.length||en)&&!(cn==="combobox"&&en===""))},[He,et,Le.length,en,cn]);return{allowClear:an,clearIcon:xe.createElement(We,{className:"".concat(Ie,"-clear"),onMouseDown:ut,customizeIcon:Xt},"\xD7")}},Ze=xe.createContext(null);function Qe(){return xe.useContext(Ze)}function ze(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Ie=xe.useState(!1),ut=(0,be.Z)(Ie,2),Le=ut[0],He=ut[1],Vt=xe.useRef(null),et=function(){window.clearTimeout(Vt.current)};xe.useEffect(function(){return et},[]);var en=function(Xt,an){et(),Vt.current=window.setTimeout(function(){He(Xt),an&&an()},ve)};return[Le,en,et]}function _e(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ie=xe.useRef(null),ut=xe.useRef(null);xe.useEffect(function(){return function(){window.clearTimeout(ut.current)}},[]);function Le(He){(He||Ie.current===null)&&(Ie.current=He),window.clearTimeout(ut.current),ut.current=window.setTimeout(function(){Ie.current=null},ve)}return[function(){return Ie.current},Le]}function $e(ve,Ie,ut,Le){var He=xe.useRef(null);He.current={open:Ie,triggerOpen:ut,customizedTrigger:Le},xe.useEffect(function(){function Vt(et){var en;if(!((en=He.current)!==null&&en!==void 0&&en.customizedTrigger)){var cn=et.target;cn.shadowRoot&&et.composed&&(cn=et.composedPath()[0]||cn),He.current.open&&ve().filter(function(Xt){return Xt}).every(function(Xt){return!Xt.contains(cn)&&Xt!==cn})&&He.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Vt),function(){return window.removeEventListener("mousedown",Vt)}},[])}var nt=y(10228);function bt(ve){return ve&&![nt.Z.ESC,nt.Z.SHIFT,nt.Z.BACKSPACE,nt.Z.TAB,nt.Z.WIN_KEY,nt.Z.ALT,nt.Z.META,nt.Z.WIN_KEY_RIGHT,nt.Z.CTRL,nt.Z.SEMICOLON,nt.Z.EQUALS,nt.Z.CAPS_LOCK,nt.Z.CONTEXT_MENU,nt.Z.F1,nt.Z.F2,nt.Z.F3,nt.Z.F4,nt.Z.F5,nt.Z.F6,nt.Z.F7,nt.Z.F8,nt.Z.F9,nt.Z.F10,nt.Z.F11,nt.Z.F12].includes(ve)}var it=y(26112),Nt=y(83836);function vt(ve,Ie,ut){var Le=(0,pe.Z)((0,pe.Z)({},ve),ut?Ie:{});return Object.keys(Ie).forEach(function(He){var Vt=Ie[He];typeof Vt=="function"&&(Le[He]=function(){for(var et,en=arguments.length,cn=new Array(en),Xt=0;Xtrn&&(xr="".concat(Or.slice(0,rn),"..."))}var ba=function(ya){ya&&ya.stopPropagation(),wr(er)};return typeof zn=="function"?Br(ur,xr,Dr,nr,ba):ha(er,xr,Dr,nr,ba)},Vr=function(er){if(!He.length)return null;var Dr=typeof Pn=="function"?Pn(er):Pn;return typeof zn=="function"?Br(void 0,Dr,!1,!1,void 0,!0):ha({title:Dr},Dr,!1)},qn=xe.createElement("div",{className:"".concat(ia,"-search"),style:{width:Xr},onFocus:function(){Ea(!0)},onBlur:function(){Ea(!1)}},xe.createElement(Jt,{ref:cn,open:Vt,prefixCls:Le,id:ut,inputElement:null,disabled:an,autoFocus:rt,autoComplete:Jn,editable:fa,activeDescendantId:Bt,value:ra,onKeyDown:Kn,onMouseDown:gr,onChange:pr,onPaste:Zn,onCompositionStart:dr,onCompositionEnd:Yr,onBlur:Wr,tabIndex:rr,attrs:(0,it.Z)(Ie,!0)}),xe.createElement("span",{ref:Zr,className:"".concat(ia,"-search-mirror"),"aria-hidden":!0},ra,"\xA0")),hr=xe.createElement(Nt.Z,{prefixCls:"".concat(ia,"-overflow"),data:He,renderItem:Gn,renderRest:Vr,suffix:qn,itemKey:st,maxCount:Sn});return xe.createElement("span",{className:"".concat(ia,"-wrap")},hr,!He.length&&!ra&&xe.createElement("span",{className:"".concat(ia,"-placeholder")},Xt))},On=Gt,ft=function(Ie){var ut=Ie.inputElement,Le=Ie.prefixCls,He=Ie.id,Vt=Ie.inputRef,et=Ie.disabled,en=Ie.autoFocus,cn=Ie.autoComplete,Xt=Ie.activeDescendantId,an=Ie.mode,Kt=Ie.open,nn=Ie.values,rt=Ie.placeholder,Jn=Ie.tabIndex,Bt=Ie.showSearch,rr=Ie.searchValue,Pr=Ie.activeValue,Sn=Ie.maxLength,rn=Ie.onInputKeyDown,Cn=Ie.onInputMouseDown,Pn=Ie.onInputChange,zn=Ie.onInputPaste,tr=Ie.onInputCompositionStart,wr=Ie.onInputCompositionEnd,pr=Ie.onInputBlur,Zn=Ie.title,Kn=xe.useState(!1),gr=(0,be.Z)(Kn,2),dr=gr[0],Yr=gr[1],Wr=an==="combobox",Zr=Wr||Bt,Qr=nn[0],ca=rr||"";Wr&&Pr&&!dr&&(ca=Pr),xe.useEffect(function(){Wr&&Yr(!1)},[Wr,Pr]);var Xr=an!=="combobox"&&!Kt&&!Bt?!1:!!ca,la=Zn===void 0?Qt(Qr):Zn,_r=xe.useMemo(function(){return Qr?null:xe.createElement("span",{className:"".concat(Le,"-selection-placeholder"),style:Xr?{visibility:"hidden"}:void 0},rt)},[Qr,Xr,rt,Le]);return xe.createElement("span",{className:"".concat(Le,"-selection-wrap")},xe.createElement("span",{className:"".concat(Le,"-selection-search")},xe.createElement(Jt,{ref:Vt,prefixCls:Le,id:He,open:Kt,inputElement:ut,disabled:et,autoFocus:en,autoComplete:cn,editable:Zr,activeDescendantId:Xt,value:ca,onKeyDown:rn,onMouseDown:Cn,onChange:function(_t){Yr(!0),Pn(_t)},onPaste:zn,onCompositionStart:tr,onCompositionEnd:wr,onBlur:pr,tabIndex:Jn,attrs:(0,it.Z)(Ie,!0),maxLength:Wr?Sn:void 0})),!Wr&&Qr?xe.createElement("span",{className:"".concat(Le,"-selection-item"),title:la,style:Xr?{visibility:"hidden"}:void 0},Qr.label):null,_r)},En=ft,Ht=function(Ie,ut){var Le=(0,xe.useRef)(null),He=(0,xe.useRef)(!1),Vt=Ie.prefixCls,et=Ie.open,en=Ie.mode,cn=Ie.showSearch,Xt=Ie.tokenWithEnter,an=Ie.disabled,Kt=Ie.prefix,nn=Ie.autoClearSearchValue,rt=Ie.onSearch,Jn=Ie.onSearchSubmit,Bt=Ie.onToggleOpen,rr=Ie.onInputKeyDown,Pr=Ie.onInputBlur,Sn=Ie.domRef;xe.useImperativeHandle(ut,function(){return{focus:function(la){Le.current.focus(la)},blur:function(){Le.current.blur()}}});var rn=_e(0),Cn=(0,be.Z)(rn,2),Pn=Cn[0],zn=Cn[1],tr=function(la){var _r=la.which,oa=Le.current instanceof HTMLTextAreaElement;!oa&&et&&(_r===nt.Z.UP||_r===nt.Z.DOWN)&&la.preventDefault(),rr&&rr(la),_r===nt.Z.ENTER&&en==="tags"&&!He.current&&!et&&(Jn==null||Jn(la.target.value)),!(oa&&!et&&~[nt.Z.UP,nt.Z.DOWN,nt.Z.LEFT,nt.Z.RIGHT].indexOf(_r))&&bt(_r)&&Bt(!0)},wr=function(){zn(!0)},pr=(0,xe.useRef)(null),Zn=function(la){rt(la,!0,He.current)!==!1&&Bt(!0)},Kn=function(){He.current=!0},gr=function(la){He.current=!1,en!=="combobox"&&Zn(la.target.value)},dr=function(la){var _r=la.target.value;if(Xt&&pr.current&&/[\r\n]/.test(pr.current)){var oa=pr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");_r=_r.replace(oa,pr.current)}pr.current=null,Zn(_r)},Yr=function(la){var _r=la.clipboardData,oa=_r==null?void 0:_r.getData("text");pr.current=oa||""},Wr=function(la){var _r=la.target;if(_r!==Le.current){var oa=document.body.style.msTouchAction!==void 0;oa?setTimeout(function(){Le.current.focus()}):Le.current.focus()}},Zr=function(la){var _r=Pn();la.target!==Le.current&&!_r&&!(en==="combobox"&&an)&&la.preventDefault(),(en!=="combobox"&&(!cn||!_r)||!et)&&(et&&nn!==!1&&rt("",!0,!1),Bt())},Qr={inputRef:Le,onInputKeyDown:tr,onInputMouseDown:wr,onInputChange:dr,onInputPaste:Yr,onInputCompositionStart:Kn,onInputCompositionEnd:gr,onInputBlur:Pr},ca=en==="multiple"||en==="tags"?xe.createElement(On,(0,b.Z)({},Ie,Qr)):xe.createElement(En,(0,b.Z)({},Ie,Qr));return xe.createElement("div",{ref:Sn,className:"".concat(Vt,"-selector"),onClick:Wr,onMouseDown:Zr},Kt&&xe.createElement("div",{className:"".concat(Vt,"-prefix")},Kt),ca)},gn=xe.forwardRef(Ht),un=gn,De=y(68196),he=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],ce=function(Ie){var ut=Ie===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:ut,adjustY:1},htmlRegion:"scroll"}}},Te=function(Ie,ut){var Le=Ie.prefixCls,He=Ie.disabled,Vt=Ie.visible,et=Ie.children,en=Ie.popupElement,cn=Ie.animation,Xt=Ie.transitionName,an=Ie.dropdownStyle,Kt=Ie.dropdownClassName,nn=Ie.direction,rt=nn===void 0?"ltr":nn,Jn=Ie.placement,Bt=Ie.builtinPlacements,rr=Ie.dropdownMatchSelectWidth,Pr=Ie.dropdownRender,Sn=Ie.dropdownAlign,rn=Ie.getPopupContainer,Cn=Ie.empty,Pn=Ie.getTriggerDOMNode,zn=Ie.onPopupVisibleChange,tr=Ie.onPopupMouseEnter,wr=(0,fe.Z)(Ie,he),pr="".concat(Le,"-dropdown"),Zn=en;Pr&&(Zn=Pr(en));var Kn=xe.useMemo(function(){return Bt||ce(rr)},[Bt,rr]),gr=cn?"".concat(pr,"-").concat(cn):Xt,dr=typeof rr=="number",Yr=xe.useMemo(function(){return dr?null:rr===!1?"minWidth":"width"},[rr,dr]),Wr=an;dr&&(Wr=(0,pe.Z)((0,pe.Z)({},Wr),{},{width:rr}));var Zr=xe.useRef(null);return xe.useImperativeHandle(ut,function(){return{getPopupElement:function(){var ca;return(ca=Zr.current)===null||ca===void 0?void 0:ca.popupElement}}}),xe.createElement(De.Z,(0,b.Z)({},wr,{showAction:zn?["click"]:[],hideAction:zn?["click"]:[],popupPlacement:Jn||(rt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Kn,prefixCls:pr,popupTransitionName:gr,popup:xe.createElement("div",{onMouseEnter:tr},Zn),ref:Zr,stretch:Yr,popupAlign:Sn,popupVisible:Vt,getPopupContainer:rn,popupClassName:Fe()(Kt,(0,le.Z)({},"".concat(pr,"-empty"),Cn)),popupStyle:Wr,getTriggerDOMNode:Pn,onPopupVisibleChange:zn}),et)},je=xe.forwardRef(Te),ge=je,Pe=y(48745);function ct(ve,Ie){var ut=ve.key,Le;return"value"in ve&&(Le=ve.value),ut!=null?ut:Le!==void 0?Le:"rc-index-key-".concat(Ie)}function $t(ve){return typeof ve!="undefined"&&!Number.isNaN(ve)}function gt(ve,Ie){var ut=ve||{},Le=ut.label,He=ut.value,Vt=ut.options,et=ut.groupLabel,en=Le||(Ie?"children":"label");return{label:en,value:He||"value",options:Vt||"options",groupLabel:et||en}}function yt(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ut=Ie.fieldNames,Le=Ie.childrenAsData,He=[],Vt=gt(ut,!1),et=Vt.label,en=Vt.value,cn=Vt.options,Xt=Vt.groupLabel;function an(Kt,nn){Array.isArray(Kt)&&Kt.forEach(function(rt){if(nn||!(cn in rt)){var Jn=rt[en];He.push({key:ct(rt,He.length),groupOption:nn,data:rt,label:rt[et],value:Jn})}else{var Bt=rt[Xt];Bt===void 0&&Le&&(Bt=rt.label),He.push({key:ct(rt,He.length),group:!0,data:rt,label:Bt}),an(rt[cn],!0)}})}return an(ve,!1),He}function Dt(ve){var Ie=(0,pe.Z)({},ve);return"props"in Ie||Object.defineProperty(Ie,"props",{get:function(){return(0,Re.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Ie}}),Ie}var Pt=function(Ie,ut,Le){if(!ut||!ut.length)return null;var He=!1,Vt=function en(cn,Xt){var an=(0,Pe.Z)(Xt),Kt=an[0],nn=an.slice(1);if(!Kt)return[cn];var rt=cn.split(Kt);return He=He||rt.length>1,rt.reduce(function(Jn,Bt){return[].concat((0,me.Z)(Jn),(0,me.Z)(en(Bt,nn)))},[]).filter(Boolean)},et=Vt(Ie,ut);return He?typeof Le!="undefined"?et.slice(0,Le):et:null},Wt=xe.createContext(null),pn=Wt;function fn(ve){var Ie=ve.visible,ut=ve.values;if(!Ie)return null;var Le=50;return xe.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(ut.slice(0,Le).map(function(He){var Vt=He.label,et=He.value;return["number","string"].includes((0,we.Z)(Vt))?Vt:et}).join(", ")),ut.length>Le?", ...":null)}var Mt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Ln=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],kn=function(Ie){return Ie==="tags"||Ie==="multiple"},wn=xe.forwardRef(function(ve,Ie){var ut,Le=ve.id,He=ve.prefixCls,Vt=ve.className,et=ve.showSearch,en=ve.tagRender,cn=ve.direction,Xt=ve.omitDomProps,an=ve.displayValues,Kt=ve.onDisplayValuesChange,nn=ve.emptyOptions,rt=ve.notFoundContent,Jn=rt===void 0?"Not Found":rt,Bt=ve.onClear,rr=ve.mode,Pr=ve.disabled,Sn=ve.loading,rn=ve.getInputElement,Cn=ve.getRawInputElement,Pn=ve.open,zn=ve.defaultOpen,tr=ve.onDropdownVisibleChange,wr=ve.activeValue,pr=ve.onActiveValueChange,Zn=ve.activeDescendantId,Kn=ve.searchValue,gr=ve.autoClearSearchValue,dr=ve.onSearch,Yr=ve.onSearchSplit,Wr=ve.tokenSeparators,Zr=ve.allowClear,Qr=ve.prefix,ca=ve.suffixIcon,Xr=ve.clearIcon,la=ve.OptionList,_r=ve.animation,oa=ve.transitionName,_t=ve.dropdownStyle,Ea=ve.dropdownClassName,ia=ve.dropdownMatchSelectWidth,ra=ve.dropdownRender,fa=ve.dropdownAlign,ha=ve.placement,Br=ve.builtinPlacements,Gn=ve.getPopupContainer,Vr=ve.showAction,qn=Vr===void 0?[]:Vr,hr=ve.onFocus,or=ve.onBlur,er=ve.onKeyUp,Dr=ve.onKeyDown,Ar=ve.onMouseDown,ur=(0,fe.Z)(ve,Mt),nr=kn(rr),xr=(et!==void 0?et:nr)||rr==="combobox",Or=(0,pe.Z)({},ur);Ln.forEach(function(mi){delete Or[mi]}),Xt==null||Xt.forEach(function(mi){delete Or[mi]});var ba=xe.useState(!1),da=(0,be.Z)(ba,2),ya=da[0],Ma=da[1];xe.useEffect(function(){Ma((0,at.Z)())},[]);var _a=xe.useRef(null),Na=xe.useRef(null),Ha=xe.useRef(null),Da=xe.useRef(null),ja=xe.useRef(null),Gr=xe.useRef(!1),bi=ze(),wi=(0,be.Z)(bi,3),Pa=wi[0],li=wi[1],fi=wi[2];xe.useImperativeHandle(Ie,function(){var mi,ei;return{focus:(mi=Da.current)===null||mi===void 0?void 0:mi.focus,blur:(ei=Da.current)===null||ei===void 0?void 0:ei.blur,scrollTo:function(to){var ji;return(ji=ja.current)===null||ji===void 0?void 0:ji.scrollTo(to)},nativeElement:_a.current||Na.current}});var Ua=xe.useMemo(function(){var mi;if(rr!=="combobox")return Kn;var ei=(mi=an[0])===null||mi===void 0?void 0:mi.value;return typeof ei=="string"||typeof ei=="number"?String(ei):""},[Kn,rr,an]),Ni=rr==="combobox"&&typeof rn=="function"&&rn()||null,Va=typeof Cn=="function"&&Cn(),Aa=(0,tt.x1)(Na,Va==null||(ut=Va.props)===null||ut===void 0?void 0:ut.ref),$a=xe.useState(!1),Ja=(0,be.Z)($a,2),Ba=Ja[0],Xa=Ja[1];(0,At.Z)(function(){Xa(!0)},[]);var ma=(0,Oe.Z)(!1,{defaultValue:zn,value:Pn}),xi=(0,be.Z)(ma,2),Bi=xi[0],Fi=xi[1],Rr=Ba?Bi:!1,Ti=!Jn&&nn;(Pr||Ti&&Rr&&rr==="combobox")&&(Rr=!1);var qi=Ti?!1:Rr,Ra=xe.useCallback(function(mi){var ei=mi!==void 0?mi:!Rr;Pr||(Fi(ei),Rr!==ei&&(tr==null||tr(ei)))},[Pr,Rr,Fi,tr]),Ka=xe.useMemo(function(){return(Wr||[]).some(function(mi){return[` `,`\r -`].includes(ci)})},[Vr]),Pa=xe.useContext(fn)||{},gr=Pa.maxCount,Oa=Pa.rawValues,ii=function(Ya,qi,ao){if(!(rr&&Qt(gr)&&(Oa==null?void 0:Oa.size)>=gr)){var Gi=!0,zi=Ya;pr==null||pr(null);var yo=Ut(Ya,Vr,Qt(gr)?gr-Oa.size:void 0),Eo=ao?null:yo;return Pn!=="combobox"&&Eo&&(zi="",Xr==null||Xr(Eo),Aa(!1),Gi=!1),mr&&Or!==zi&&mr(zi,{source:qi?"typing":"effect"}),Gi}},Pi=function(Ya){!Ya||!Ya.trim()||mr(Ya,{source:"submit"})};xe.useEffect(function(){!Ti&&!rr&&Pn!=="combobox"&&ii("",!1,!1)},[Ti]),xe.useEffect(function(){Bi&&Nr&&Fi(!1),Nr&&!Qa.current&&ti(!1)},[Nr]);var Vi=_e(),Ai=(0,be.Z)(Vi,2),Ui=Ai[0],ho=Ai[1],Ao=xe.useRef(!1),ki=function(Ya){var qi=Ui(),ao=Ya.key,Gi=ao==="Enter";if(Gi&&(Pn!=="combobox"&&Ya.preventDefault(),Ti||Aa(!0)),ho(!!Or),ao==="Backspace"&&!qi&&rr&&!Or&&Pe.length){for(var zi=(0,he.Z)(Pe),yo=null,Eo=zi.length-1;Eo>=0;Eo-=1){var go=zi[Eo];if(!go.disabled){zi.splice(Eo,1),yo=go;break}}yo&&Ye(zi,{type:"remove",values:[yo]})}for(var Ji=arguments.length,Ki=new Array(Ji>1?Ji-1:0),lo=1;lo1?qi-1:0),Gi=1;Gi1?yo-1:0),go=1;go=Xn},[ve,Xn,pt==null?void 0:pt.size]),Vr=function(Jn){Jn.preventDefault()},Zr=function(Jn){var dr;(dr=mr.current)===null||dr===void 0||dr.scrollTo(typeof Jn=="number"?{index:Jn}:Jn)},vr=xe.useCallback(function(Kr){return Ie==="combobox"?!1:pt.has(Kr)},[Ie,(0,he.Z)(pt).toString(),pt.size]),ta=function(Jn){for(var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,fr=Dr.length,tr=0;tr1&&arguments[1]!==void 0?arguments[1]:!1;ua(Jn);var fr={source:dr?"keyboard":"mouse"},tr=Dr[Jn];if(!tr){Pn(null,-1,fr);return}Pn(tr.value,Jn,fr)};(0,xe.useEffect)(function(){Vt(Nr!==!1?ta(0):-1)},[Dr.length,Ft]);var Sa=xe.useCallback(function(Kr){return Ie==="combobox"?String(Kr).toLowerCase()===Ft.toLowerCase():pt.has(Kr)},[Ie,Ft,(0,he.Z)(pt).toString(),pt.size]);(0,xe.useEffect)(function(){var Kr=setTimeout(function(){if(!ve&<&&pt.size===1){var dr=Array.from(pt)[0],fr=Dr.findIndex(function(tr){var Ln=tr.data;return Ft?String(Ln.value).startsWith(Ft):Ln.value===dr});fr!==-1&&(Vt(fr),Zr(fr))}});if(lt){var Jn;(Jn=mr.current)===null||Jn===void 0||Jn.scrollTo(void 0)}return function(){return clearTimeout(Kr)}},[lt,Ft]);var ra=function(Jn){Jn!==void 0&&gn(Jn,{selected:!pt.has(Jn)}),ve||Pe(!1)};if(xe.useImperativeHandle(kt,function(){return{onKeyDown:function(Jn){var dr=Jn.which,fr=Jn.ctrlKey;switch(dr){case tt.Z.N:case tt.Z.P:case tt.Z.UP:case tt.Z.DOWN:{var tr=0;if(dr===tt.Z.UP?tr=-1:dr===tt.Z.DOWN?tr=1:ft()&&fr&&(dr===tt.Z.N?tr=1:dr===tt.Z.P&&(tr=-1)),tr!==0){var Ln=ta(Ur+tr,tr);Zr(Ln),Vt(Ln,!0)}break}case tt.Z.TAB:case tt.Z.ENTER:{var jr,lr=Dr[Ur];lr&&!(lr!=null&&(jr=lr.data)!==null&&jr!==void 0&&jr.disabled)&&!Xr?ra(lr.value):ra(void 0),lt&&Jn.preventDefault();break}case tt.Z.ESC:Pe(!1),lt&&Jn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Jn){Zr(Jn)}}}),Dr.length===0)return xe.createElement("div",{role:"listbox",id:"".concat(rn,"_list"),className:"".concat(er,"-empty"),onMouseDown:Vr},Ye);var ia=Object.keys(kn).map(function(Kr){return kn[Kr]}),pa=function(Jn){return Jn.label};function ma(Kr,Jn){var dr=Kr.group;return{role:dr?"presentation":"option",id:"".concat(rn,"_list_").concat(Jn)}}var kr=function(Jn){var dr=Dr[Jn];if(!dr)return null;var fr=dr.data||{},tr=fr.value,Ln=dr.group,jr=(0,rt.Z)(fr,!0),lr=pa(dr);return dr?xe.createElement("div",(0,b.Z)({"aria-label":typeof lr=="string"&&!Ln?lr:null},jr,{key:Jn},ma(dr,Jn),{"aria-selected":Sa(tr)}),tr):null},Qr={role:"listbox",id:"".concat(rn,"_list")};return xe.createElement(xe.Fragment,null,Dt&&xe.createElement("div",(0,b.Z)({},Qr,{style:{height:0,width:0,overflow:"hidden"}}),kr(Ur-1),kr(Ur),kr(Ur+1)),xe.createElement(Et.Z,{itemKey:"key",ref:mr,data:Dr,height:Tr,itemHeight:pr,fullHeight:!1,onMouseDown:Vr,onScroll:Xt,virtual:Dt,direction:nr,innerProps:Dt?null:Qr},function(Kr,Jn){var dr=Kr.group,fr=Kr.groupOption,tr=Kr.data,Ln=Kr.label,jr=Kr.value,lr=tr.key;if(dr){var rr,yr=(rr=tr.title)!==null&&rr!==void 0?rr:wn(Ln)?Ln.toString():void 0;return xe.createElement("div",{className:Fe()(er,"".concat(er,"-group"),tr.className),title:yr},Ln!==void 0?Ln:lr)}var Mr=tr.disabled,Ea=tr.title,oa=tr.children,Ca=tr.style,Ha=tr.className,Da=(0,fe.Z)(tr,de),Na=(0,bn.Z)(Da,ia),Ua=vr(jr),ga=Mr||!Ua&&Xr,Ma="".concat(er,"-option"),Qa=Fe()(er,Ma,Ha,(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({},"".concat(Ma,"-grouped"),fr),"".concat(Ma,"-active"),Ur===Jn&&!ga),"".concat(Ma,"-disabled"),ga),"".concat(Ma,"-selected"),Ua)),Ri=pa(Kr),Oi=!an||typeof an=="function"||Ua,ui=typeof Ri=="number"?Ri:Ri||jr,ti=wn(ui)?ui.toString():void 0;return Ea!==void 0&&(ti=Ea),xe.createElement("div",(0,b.Z)({},(0,rt.Z)(Na),Dt?{}:ma(Kr,Jn),{"aria-selected":Sa(jr),className:Qa,title:ti,onMouseMove:function(){Ur===Jn||ga||Vt(Jn)},onClick:function(){ga||ra(jr)},style:Ca}),xe.createElement("div",{className:"".concat(Ma,"-content")},typeof xr=="function"?xr(Kr,{index:Jn}):ui),xe.isValidElement(an)||Ua,Oi&&xe.createElement(Ge,{className:"".concat(er,"-option-state"),customizeIcon:an,customizeIconProps:{value:jr,disabled:ga,isSelected:Ua}},Ua?"\u2713":null))}))},mn=xe.forwardRef(Un),Er=mn,Sr=function(Jt,pn){var kt=xe.useRef({values:new Map,options:new Map}),tn=xe.useMemo(function(){var rn=kt.current,lt=rn.values,ve=rn.options,Ie=Jt.map(function(Ye){if(Ye.label===void 0){var Xt;return(0,pe.Z)((0,pe.Z)({},Ye),{},{label:(Xt=lt.get(Ye.value))===null||Xt===void 0?void 0:Xt.label})}return Ye}),Ft=new Map,Pe=new Map;return Ie.forEach(function(Ye){Ft.set(Ye.value,Ye),Pe.set(Ye.value,pn.get(Ye.value)||ve.get(Ye.value))}),kt.current.values=Ft,kt.current.options=Pe,Ie},[Jt,pn]),Mt=xe.useCallback(function(rn){return pn.get(rn)||kt.current.options.get(rn)},[pn]);return[tn,Mt]};function or(Jt,pn){return Nt(Jt).join("").toUpperCase().includes(pn)}var wr=function(Jt,pn,kt,tn,Mt){return xe.useMemo(function(){if(!kt||tn===!1)return Jt;var rn=pn.options,lt=pn.label,ve=pn.value,Ie=[],Ft=typeof tn=="function",Pe=kt.toUpperCase(),Ye=Ft?tn:function(Wt,Xn){return Mt?or(Xn[Mt],Pe):Xn[rn]?or(Xn[lt!=="children"?lt:"label"],Pe):or(Xn[ve],Pe)},Xt=Ft?function(Wt){return Ct(Wt)}:function(Wt){return Wt};return Jt.forEach(function(Wt){if(Wt[rn]){var Xn=Ye(kt,Xt(Wt));if(Xn)Ie.push(Wt);else{var Qn=Wt[rn].filter(function(Pn){return Ye(kt,Xt(Pn))});Qn.length&&Ie.push((0,pe.Z)((0,pe.Z)({},Wt),{},(0,le.Z)({},rn,Qn)))}return}Ye(kt,Xt(Wt))&&Ie.push(Wt)}),Ie},[Jt,tn,Mt,kt,pn])},St=y(6551),Kn=y(11592),ir=["children","value"],br=["children"];function qn(Jt){var pn=Jt,kt=pn.key,tn=pn.props,Mt=tn.children,rn=tn.value,lt=(0,fe.Z)(tn,ir);return(0,pe.Z)({key:kt,value:rn!==void 0?rn:kt,children:Mt},lt)}function Ir(Jt){var pn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Kn.Z)(Jt).map(function(kt,tn){if(!xe.isValidElement(kt)||!kt.type)return null;var Mt=kt,rn=Mt.type.isSelectOptGroup,lt=Mt.key,ve=Mt.props,Ie=ve.children,Ft=(0,fe.Z)(ve,br);return pn||!rn?qn(kt):(0,pe.Z)((0,pe.Z)({key:"__RC_SELECT_GRP__".concat(lt===null?tn:lt,"__"),label:lt},Ft),{},{options:Ir(Ie)})}).filter(function(kt){return kt})}var sr=function(pn,kt,tn,Mt,rn){return xe.useMemo(function(){var lt=pn,ve=!pn;ve&&(lt=Ir(kt));var Ie=new Map,Ft=new Map,Pe=function(Wt,Xn,Qn){Qn&&typeof Qn=="string"&&Wt.set(Xn[Qn],Xn)},Ye=function Xt(Wt){for(var Xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qn=0;Qn1&&arguments[1]!==void 0?arguments[1]:!1,lt=0;lt0?Aa(gr.options):gr.options}):gr})},Oi=xe.useMemo(function(){return gn?Ri(Qa):Qa},[Qa,gn,Qr]),ui=xe.useMemo(function(){return vt(Oi,{fieldNames:pa,childrenAsData:ra})},[Oi,pa,ra]),ti=function(ja){var Pa=Ln(ja);if(yr(Pa),sa&&(Pa.length!==Ca.length||Pa.some(function(ii,Pi){var Vi;return((Vi=Ca[Pi])===null||Vi===void 0?void 0:Vi.value)!==(ii==null?void 0:ii.value)}))){var gr=Lr?Pa:Pa.map(function(ii){return ii.value}),Oa=Pa.map(function(ii){return Ct(Ha(ii.value))});sa(Sa?gr:gr[0],Sa?Oa:Oa[0])}},ai=xe.useState(null),Or=(0,be.Z)(ai,2),mi=Or[0],gi=Or[1],ha=xe.useState(0),$a=(0,be.Z)(ha,2),qa=$a[0],Fa=$a[1],Ja=Tr!==void 0?Tr:tn!=="combobox",Ia=xe.useCallback(function(Aa,ja){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},gr=Pa.source,Oa=gr===void 0?"keyboard":gr;Fa(ja),lt&&tn==="combobox"&&Aa!==null&&Oa==="keyboard"&&gi(String(Aa))},[lt,tn]),wi=function(ja,Pa,gr){var Oa=function(){var vi,Io=Ha(ja);return[Lr?{label:Io==null?void 0:Io[pa.label],value:ja,key:(vi=Io==null?void 0:Io.key)!==null&&vi!==void 0?vi:ja}:ja,Ct(Io)]};if(Pa&&Wt){var ii=Oa(),Pi=(0,be.Z)(ii,2),Vi=Pi[0],Ai=Pi[1];Wt(Vi,Ai)}else if(!Pa&&Xn&&gr!=="clear"){var Ui=Oa(),ho=(0,be.Z)(Ui,2),Ao=ho[0],ki=ho[1];Xn(Ao,ki)}},Bi=$r(function(Aa,ja){var Pa,gr=Sa?ja.selected:!0;gr?Pa=Sa?[].concat((0,he.Z)(Ca),[Aa]):[Aa]:Pa=Ca.filter(function(Oa){return Oa.value!==Aa}),ti(Pa),wi(Aa,gr),tn==="combobox"?gi(""):(!Dn||Xt)&&(Kr(""),gi(""))}),Fi=function(ja,Pa){ti(ja);var gr=Pa.type,Oa=Pa.values;(gr==="remove"||gr==="clear")&&Oa.forEach(function(ii){wi(ii.value,!1,gr)})},Ti=function(ja,Pa){if(Kr(ja),gi(null),Pa.source==="submit"){var gr=(ja||"").trim();if(gr){var Oa=Array.from(new Set([].concat((0,he.Z)(Na),[gr])));ti(Oa),wi(gr,!0),Kr("")}return}Pa.source!=="blur"&&(tn==="combobox"&&ti(ja),Pe==null||Pe(ja))},so=function(ja){var Pa=ja;tn!=="tags"&&(Pa=ja.map(function(Oa){var ii=fr.get(Oa);return ii==null?void 0:ii.value}).filter(function(Oa){return Oa!==void 0}));var gr=Array.from(new Set([].concat((0,he.Z)(Na),(0,he.Z)(Pa))));ti(gr),gr.forEach(function(Oa){wi(Oa,!0)})},Va=xe.useMemo(function(){var Aa=xr!==!1&&Pn!==!1;return(0,pe.Z)((0,pe.Z)({},Jn),{},{flattenOptions:ui,onActiveValue:Ia,defaultActiveFirstOption:Ja,onSelect:Bi,menuItemSelectedIcon:pr,rawValues:Na,fieldNames:pa,virtual:Aa,direction:er,listHeight:mr,listItemHeight:Vr,childrenAsData:ra,maxCount:Ur,optionRender:Dt})},[Ur,Jn,ui,Ia,Ja,Bi,pr,Na,pa,xr,Pn,er,mr,Vr,ra,Dt]);return xe.createElement(fn.Provider,{value:Va},xe.createElement(sn,(0,b.Z)({},ua,{id:Vt,prefixCls:rn,ref:pn,omitDomProps:fa,mode:tn,displayValues:Da,onDisplayValuesChange:Fi,direction:er,searchValue:Qr,onSearch:Ti,autoClearSearchValue:Xt,onSearchSplit:so,dropdownMatchSelectWidth:Pn,OptionList:Er,emptyOptions:!ui.length,activeValue:mi,activeDescendantId:"".concat(Vt,"_list_").concat(qa)})))}),ur=Wn;ur.Option=qt,ur.OptGroup=xn;var _r=ur,ea=_r},22711:function(Ce,ae,y){"use strict";y.r(ae),y.d(ae,{ResizableTextArea:function(){return ut},default:function(){return Rt}});var b=y(60499),he=y(18642),le=y(85899),pe=y(77654),be=y(72190),fe=y(42244),we=y(92310),Oe=y.n(we),Re=y(36901),xe=y(66003),je=y(30292),Fe=y(18929),xt=y(59301),nt=y(43749),et=y(29301),Je=y(34280),Ge=y(16089),We=` +`].includes(mi)})},[Wr]),Ca=xe.useContext(pn)||{},za=Ca.maxCount,ri=Ca.rawValues,ii=function(ei,eo,to){if(!(nr&&$t(za)&&(ri==null?void 0:ri.size)>=za)){var ji=!0,_i=ei;pr==null||pr(null);var vo=Pt(ei,Wr,$t(za)?za-ri.size:void 0),To=to?null:vo;return rr!=="combobox"&&To&&(_i="",Yr==null||Yr(To),Ra(!1),ji=!1),dr&&Ua!==_i&&dr(_i,{source:eo?"typing":"effect"}),ji}},ci=function(ei){!ei||!ei.trim()||dr(ei,{source:"submit"})};xe.useEffect(function(){!Rr&&!nr&&rr!=="combobox"&&ii("",!1,!1)},[Rr]),xe.useEffect(function(){Bi&&Pr&&Fi(!1),Pr&&!Gr.current&&li(!1)},[Pr]);var ki=_e(),ti=(0,be.Z)(ki,2),zi=ti[0],yo=ti[1],No=xe.useRef(!1),so=function(ei){var eo=zi(),to=ei.key,ji=to==="Enter";if(ji&&(rr!=="combobox"&&ei.preventDefault(),Rr||Ra(!0)),yo(!!Ua),to==="Backspace"&&!eo&&nr&&!Ua&&an.length){for(var _i=(0,me.Z)(an),vo=null,To=_i.length-1;To>=0;To-=1){var go=_i[To];if(!go.disabled){_i.splice(To,1),vo=go;break}}vo&&Kt(_i,{type:"remove",values:[vo]})}for(var Wi=arguments.length,$i=new Array(Wi>1?Wi-1:0),Eo=1;Eo1?eo-1:0),ji=1;ji1?vo-1:0),go=1;go=Jn},[en,Jn,Cn==null?void 0:Cn.size]),Wr=function(qn){qn.preventDefault()},Zr=function(qn){var hr;(hr=dr.current)===null||hr===void 0||hr.scrollTo(typeof qn=="number"?{index:qn}:qn)},Qr=xe.useCallback(function(Vr){return cn==="combobox"?!1:Cn.has(Vr)},[cn,(0,me.Z)(Cn).toString(),Cn.size]),ca=function(qn){for(var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,or=gr.length,er=0;er1&&arguments[1]!==void 0?arguments[1]:!1;oa(qn);var or={source:hr?"keyboard":"mouse"},er=gr[qn];if(!er){rr(null,-1,or);return}rr(er.value,qn,or)};(0,xe.useEffect)(function(){_t(Pr!==!1?ca(0):-1)},[gr.length,Xt]);var Ea=xe.useCallback(function(Vr){return cn==="combobox"?String(Vr).toLowerCase()===Xt.toLowerCase():Cn.has(Vr)},[cn,Xt,(0,me.Z)(Cn).toString(),Cn.size]);(0,xe.useEffect)(function(){var Vr=setTimeout(function(){if(!en&&et&&Cn.size===1){var hr=Array.from(Cn)[0],or=gr.findIndex(function(er){var Dr=er.data;return Xt?String(Dr.value).startsWith(Xt):Dr.value===hr});or!==-1&&(_t(or),Zr(or))}});if(et){var qn;(qn=dr.current)===null||qn===void 0||qn.scrollTo(void 0)}return function(){return clearTimeout(Vr)}},[et,Xt]);var ia=function(qn){qn!==void 0&&Sn(qn,{selected:!Cn.has(qn)}),en||an(!1)};if(xe.useImperativeHandle(ut,function(){return{onKeyDown:function(qn){var hr=qn.which,or=qn.ctrlKey;switch(hr){case nt.Z.N:case nt.Z.P:case nt.Z.UP:case nt.Z.DOWN:{var er=0;if(hr===nt.Z.UP?er=-1:hr===nt.Z.DOWN?er=1:pt()&&or&&(hr===nt.Z.N?er=1:hr===nt.Z.P&&(er=-1)),er!==0){var Dr=ca(_r+er,er);Zr(Dr),_t(Dr,!0)}break}case nt.Z.TAB:case nt.Z.ENTER:{var Ar,ur=gr[_r];ur&&!(ur!=null&&(Ar=ur.data)!==null&&Ar!==void 0&&Ar.disabled)&&!Yr?ia(ur.value):ia(void 0),et&&qn.preventDefault();break}case nt.Z.ESC:an(!1),et&&qn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(qn){Zr(qn)}}}),gr.length===0)return xe.createElement("div",{role:"listbox",id:"".concat(Vt,"_list"),className:"".concat(Kn,"-empty"),onMouseDown:Wr},Kt);var ra=Object.keys(Pn).map(function(Vr){return Pn[Vr]}),fa=function(qn){return qn.label};function ha(Vr,qn){var hr=Vr.group;return{role:hr?"presentation":"option",id:"".concat(Vt,"_list_").concat(qn)}}var Br=function(qn){var hr=gr[qn];if(!hr)return null;var or=hr.data||{},er=or.value,Dr=hr.group,Ar=(0,it.Z)(or,!0),ur=fa(hr);return hr?xe.createElement("div",(0,b.Z)({"aria-label":typeof ur=="string"&&!Dr?ur:null},Ar,{key:qn},ha(hr,qn),{"aria-selected":Ea(er)}),er):null},Gn={role:"listbox",id:"".concat(Vt,"_list")};return xe.createElement(xe.Fragment,null,zn&&xe.createElement("div",(0,b.Z)({},Gn,{style:{height:0,width:0,overflow:"hidden"}}),Br(_r-1),Br(_r),Br(_r+1)),xe.createElement(Ct.Z,{itemKey:"key",ref:dr,data:gr,height:wr,itemHeight:pr,fullHeight:!1,onMouseDown:Wr,onScroll:nn,virtual:zn,direction:tr,innerProps:zn?null:Gn},function(Vr,qn){var hr=Vr.group,or=Vr.groupOption,er=Vr.data,Dr=Vr.label,Ar=Vr.value,ur=er.key;if(hr){var nr,xr=(nr=er.title)!==null&&nr!==void 0?nr:qt(Dr)?Dr.toString():void 0;return xe.createElement("div",{className:Fe()(Kn,"".concat(Kn,"-group"),er.className),title:xr},Dr!==void 0?Dr:ur)}var Or=er.disabled,ba=er.title,da=er.children,ya=er.style,Ma=er.className,_a=(0,fe.Z)(er,de),Na=(0,vn.Z)(_a,ra),Ha=Qr(Ar),Da=Or||!Ha&&Yr,ja="".concat(Kn,"-option"),Gr=Fe()(Kn,ja,Ma,(0,le.Z)((0,le.Z)((0,le.Z)((0,le.Z)({},"".concat(ja,"-grouped"),or),"".concat(ja,"-active"),_r===qn&&!Da),"".concat(ja,"-disabled"),Da),"".concat(ja,"-selected"),Ha)),bi=fa(Vr),wi=!rn||typeof rn=="function"||Ha,Pa=typeof bi=="number"?bi:bi||Ar,li=qt(Pa)?Pa.toString():void 0;return ba!==void 0&&(li=ba),xe.createElement("div",(0,b.Z)({},(0,it.Z)(Na),zn?{}:ha(Vr,qn),{"aria-selected":Ea(Ar),className:Gr,title:li,onMouseMove:function(){_r===qn||Da||_t(qn)},onClick:function(){Da||ia(Ar)},style:ya}),xe.createElement("div",{className:"".concat(ja,"-content")},typeof Zn=="function"?Zn(Vr,{index:qn}):Pa),xe.isValidElement(rn)||Ha,wi&&xe.createElement(We,{className:"".concat(Kn,"-option-state"),customizeIcon:rn,customizeIconProps:{value:Ar,disabled:Da,isSelected:Ha}},Ha?"\u2713":null))}))},mn=xe.forwardRef(Dn),vr=mn,yr=function(ve,Ie){var ut=xe.useRef({values:new Map,options:new Map}),Le=xe.useMemo(function(){var Vt=ut.current,et=Vt.values,en=Vt.options,cn=ve.map(function(Kt){if(Kt.label===void 0){var nn;return(0,pe.Z)((0,pe.Z)({},Kt),{},{label:(nn=et.get(Kt.value))===null||nn===void 0?void 0:nn.label})}return Kt}),Xt=new Map,an=new Map;return cn.forEach(function(Kt){Xt.set(Kt.value,Kt),an.set(Kt.value,Ie.get(Kt.value)||en.get(Kt.value))}),ut.current.values=Xt,ut.current.options=an,cn},[ve,Ie]),He=xe.useCallback(function(Vt){return Ie.get(Vt)||ut.current.options.get(Vt)},[Ie]);return[Le,He]};function ar(ve,Ie){return Rt(ve).join("").toUpperCase().includes(Ie)}var Er=function(ve,Ie,ut,Le,He){return xe.useMemo(function(){if(!ut||Le===!1)return ve;var Vt=Ie.options,et=Ie.label,en=Ie.value,cn=[],Xt=typeof Le=="function",an=ut.toUpperCase(),Kt=Xt?Le:function(rt,Jn){return He?ar(Jn[He],an):Jn[Vt]?ar(Jn[et!=="children"?et:"label"],an):ar(Jn[en],an)},nn=Xt?function(rt){return Dt(rt)}:function(rt){return rt};return ve.forEach(function(rt){if(rt[Vt]){var Jn=Kt(ut,nn(rt));if(Jn)cn.push(rt);else{var Bt=rt[Vt].filter(function(rr){return Kt(ut,nn(rr))});Bt.length&&cn.push((0,pe.Z)((0,pe.Z)({},rt),{},(0,le.Z)({},Vt,Bt)))}return}Kt(ut,nn(rt))&&cn.push(rt)}),cn},[ve,Le,He,ut,Ie])},wt=y(6551),Qn=y(11592),lr=["children","value"],cr=["children"];function Yn(ve){var Ie=ve,ut=Ie.key,Le=Ie.props,He=Le.children,Vt=Le.value,et=(0,fe.Z)(Le,lr);return(0,pe.Z)({key:ut,value:Vt!==void 0?Vt:ut,children:He},et)}function Sr(ve){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Qn.Z)(ve).map(function(ut,Le){if(!xe.isValidElement(ut)||!ut.type)return null;var He=ut,Vt=He.type.isSelectOptGroup,et=He.key,en=He.props,cn=en.children,Xt=(0,fe.Z)(en,cr);return Ie||!Vt?Yn(ut):(0,pe.Z)((0,pe.Z)({key:"__RC_SELECT_GRP__".concat(et===null?Le:et,"__"),label:et},Xt),{},{options:Sr(cn)})}).filter(function(ut){return ut})}var br=function(Ie,ut,Le,He,Vt){return xe.useMemo(function(){var et=Ie,en=!Ie;en&&(et=Sr(ut));var cn=new Map,Xt=new Map,an=function(rt,Jn,Bt){Bt&&typeof Bt=="string"&&rt.set(Jn[Bt],Jn)},Kt=function nn(rt){for(var Jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Bt=0;Bt1&&arguments[1]!==void 0?arguments[1]:!1,et=0;et0?Ra(za.options):za.options}):za})},wi=xe.useMemo(function(){return Sn?bi(Gr):Gr},[Gr,Sn,Gn]),Pa=xe.useMemo(function(){return yt(wi,{fieldNames:fa,childrenAsData:ia})},[wi,fa,ia]),li=function(Ka){var Ca=Dr(Ka);if(xr(Ca),la&&(Ca.length!==ya.length||Ca.some(function(ii,ci){var ki;return((ki=ya[ci])===null||ki===void 0?void 0:ki.value)!==(ii==null?void 0:ii.value)}))){var za=Xr?Ca:Ca.map(function(ii){return ii.value}),ri=Ca.map(function(ii){return Dt(Ma(ii.value))});la(Ea?za:za[0],Ea?ri:ri[0])}},fi=xe.useState(null),Ua=(0,be.Z)(fi,2),Ni=Ua[0],Va=Ua[1],Aa=xe.useState(0),$a=(0,be.Z)(Aa,2),Ja=$a[0],Ba=$a[1],Xa=wr!==void 0?wr:Le!=="combobox",ma=xe.useCallback(function(Ra,Ka){var Ca=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},za=Ca.source,ri=za===void 0?"keyboard":za;Ba(Ka),et&&Le==="combobox"&&Ra!==null&&ri==="keyboard"&&Va(String(Ra))},[et,Le]),xi=function(Ka,Ca,za){var ri=function(){var Uo,Co=Ma(Ka);return[Xr?{label:Co==null?void 0:Co[fa.label],value:Ka,key:(Uo=Co==null?void 0:Co.key)!==null&&Uo!==void 0?Uo:Ka}:Ka,Dt(Co)]};if(Ca&&rt){var ii=ri(),ci=(0,be.Z)(ii,2),ki=ci[0],ti=ci[1];rt(ki,ti)}else if(!Ca&&Jn&&za!=="clear"){var zi=ri(),yo=(0,be.Z)(zi,2),No=yo[0],so=yo[1];Jn(No,so)}},Bi=Jr(function(Ra,Ka){var Ca,za=Ea?Ka.selected:!0;za?Ca=Ea?[].concat((0,me.Z)(ya),[Ra]):[Ra]:Ca=ya.filter(function(ri){return ri.value!==Ra}),li(Ca),xi(Ra,za),Le==="combobox"?Va(""):(!kn||nn)&&(Vr(""),Va(""))}),Fi=function(Ka,Ca){li(Ka);var za=Ca.type,ri=Ca.values;(za==="remove"||za==="clear")&&ri.forEach(function(ii){xi(ii.value,!1,za)})},Rr=function(Ka,Ca){if(Vr(Ka),Va(null),Ca.source==="submit"){var za=(Ka||"").trim();if(za){var ri=Array.from(new Set([].concat((0,me.Z)(Na),[za])));li(ri),xi(za,!0),Vr("")}return}Ca.source!=="blur"&&(Le==="combobox"&&li(Ka),an==null||an(Ka))},Ti=function(Ka){var Ca=Ka;Le!=="tags"&&(Ca=Ka.map(function(ri){var ii=or.get(ri);return ii==null?void 0:ii.value}).filter(function(ri){return ri!==void 0}));var za=Array.from(new Set([].concat((0,me.Z)(Na),(0,me.Z)(Ca))));li(za),za.forEach(function(ri){xi(ri,!0)})},qi=xe.useMemo(function(){var Ra=Zn!==!1&&rr!==!1;return(0,pe.Z)((0,pe.Z)({},qn),{},{flattenOptions:Pa,onActiveValue:ma,defaultActiveFirstOption:Xa,onSelect:Bi,menuItemSelectedIcon:pr,rawValues:Na,fieldNames:fa,virtual:Ra,direction:Kn,listHeight:dr,listItemHeight:Wr,childrenAsData:ia,maxCount:_r,optionRender:zn})},[_r,qn,Pa,ma,Xa,Bi,pr,Na,fa,Zn,rr,Kn,dr,Wr,ia,zn]);return xe.createElement(pn.Provider,{value:qi},xe.createElement(ln,(0,b.Z)({},oa,{id:_t,prefixCls:Vt,ref:Ie,omitDomProps:pa,mode:Le,displayValues:_a,onDisplayValuesChange:Fi,direction:Kn,searchValue:Gn,onSearch:Rr,autoClearSearchValue:nn,onSearchSplit:Ti,dropdownMatchSelectWidth:rr,OptionList:vr,emptyOptions:!Pa.length,activeValue:Ni,activeDescendantId:"".concat(_t,"_list_").concat(Ja)})))}),sr=jn;sr.Option=Yt,sr.OptGroup=xn;var Kr=sr,zr=Kr},22711:function(Ce,ae,y){"use strict";y.r(ae),y.d(ae,{ResizableTextArea:function(){return dt},default:function(){return Jt}});var b=y(60499),me=y(18642),le=y(85899),pe=y(77654),be=y(72190),fe=y(42244),we=y(92310),Oe=y.n(we),Re=y(36901),xe=y(66003),Ge=y(30292),Fe=y(18929),At=y(59301),at=y(43749),tt=y(29301),Je=y(34280),We=y(16089),Ve=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -1509,31 +1509,31 @@ b`.split(/\n/).length!=3?function(a){for(var E=0,re=[],ne=a.length;E<=ne;){var i top:0 !important; right:0 !important; pointer-events: none !important; -`,Ve=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Qe={},He;function _e(Nt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,On=Nt.getAttribute("id")||Nt.getAttribute("data-reactid")||Nt.getAttribute("name");if(Kt&&Qe[On])return Qe[On];var wt=window.getComputedStyle(Nt),$e=wt.getPropertyValue("box-sizing")||wt.getPropertyValue("-moz-box-sizing")||wt.getPropertyValue("-webkit-box-sizing"),Ee=parseFloat(wt.getPropertyValue("padding-bottom"))+parseFloat(wt.getPropertyValue("padding-top")),en=parseFloat(wt.getPropertyValue("border-bottom-width"))+parseFloat(wt.getPropertyValue("border-top-width")),on=Ve.map(function(Ht){return"".concat(Ht,":").concat(wt.getPropertyValue(Ht))}).join(";"),it={sizingStyle:on,paddingSize:Ee,borderSize:en,boxSizing:$e};return Kt&&On&&(Qe[On]=it),it}function Ze(Nt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;He||(He=document.createElement("textarea"),He.setAttribute("tab-index","-1"),He.setAttribute("aria-hidden","true"),He.setAttribute("name","hiddenTextarea"),document.body.appendChild(He)),Nt.getAttribute("wrap")?He.setAttribute("wrap",Nt.getAttribute("wrap")):He.removeAttribute("wrap");var $e=_e(Nt,Kt),Ee=$e.paddingSize,en=$e.borderSize,on=$e.boxSizing,it=$e.sizingStyle;He.setAttribute("style","".concat(it,";").concat(We)),He.value=Nt.value||Nt.placeholder||"";var Ht=void 0,Yt=void 0,Rn,ct=He.scrollHeight;if(on==="border-box"?ct+=en:on==="content-box"&&(ct-=Ee),On!==null||wt!==null){He.value=" ";var Sn=He.scrollHeight-Ee;On!==null&&(Ht=Sn*On,on==="border-box"&&(Ht=Ht+Ee+en),ct=Math.max(Ht,ct)),wt!==null&&(Yt=Sn*wt,on==="border-box"&&(Yt=Yt+Ee+en),Rn=ct>Yt?"":"hidden",ct=Math.min(Yt,ct))}var Zt={height:ct,overflowY:Rn,resize:"none"};return Ht&&(Zt.minHeight=Ht),Yt&&(Zt.maxHeight=Yt),Zt}var tt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],gt=0,rt=1,It=2,mt=xt.forwardRef(function(Nt,Kt){var On=Nt,wt=On.prefixCls,$e=On.defaultValue,Ee=On.value,en=On.autoSize,on=On.onResize,it=On.className,Ht=On.style,Yt=On.disabled,Rn=On.onChange,ct=On.onInternalAutoSize,Sn=(0,fe.Z)(On,tt),Zt=(0,Fe.Z)($e,{value:Ee,postState:function(qt){return qt!=null?qt:""}}),vn=(0,be.Z)(Zt,2),un=vn[0],De=vn[1],me=function(qt){De(qt.target.value),Rn==null||Rn(qt)},ce=xt.useRef();xt.useImperativeHandle(Kt,function(){return{textArea:ce.current}});var Te=xt.useMemo(function(){return en&&(0,nt.Z)(en)==="object"?[en.minRows,en.maxRows]:[]},[en]),Ue=(0,be.Z)(Te,2),ge=Ue[0],Me=Ue[1],ot=!!en,Qt=function(){try{if(document.activeElement===ce.current){var qt=ce.current,zt=qt.selectionStart,bn=qt.selectionEnd,Et=qt.scrollTop;ce.current.setSelectionRange(zt,bn),ce.current.scrollTop=Et}}catch(ft){}},At=xt.useState(It),vt=(0,be.Z)(At,2),Ct=vt[0],Ut=vt[1],$t=xt.useState(),fn=(0,be.Z)($t,2),dn=fn[0],Bt=fn[1],Mn=function(){Ut(gt)};(0,Je.Z)(function(){ot&&Mn()},[Ee,ge,Me,ot]),(0,Je.Z)(function(){if(Ct===gt)Ut(rt);else if(Ct===rt){var Lt=Ze(ce.current,!1,ge,Me);Ut(It),Bt(Lt)}else Qt()},[Ct]);var Dn=xt.useRef(),Cn=function(){Ge.Z.cancel(Dn.current)},sn=function(qt){Ct===It&&(on==null||on(qt),en&&(Cn(),Dn.current=(0,Ge.Z)(function(){Mn()})))};xt.useEffect(function(){return Cn},[]);var An=ot?dn:null,xn=(0,le.Z)((0,le.Z)({},Ht),An);return(Ct===gt||Ct===rt)&&(xn.overflowY="hidden",xn.overflowX="hidden"),xt.createElement(et.Z,{onResize:sn,disabled:!(en||on)},xt.createElement("textarea",(0,b.Z)({},Sn,{ref:ce,style:xn,className:Oe()(wt,it,(0,he.Z)({},"".concat(wt,"-disabled"),Yt)),disabled:Yt,value:un,onChange:me})))}),ut=mt,Tt=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],_t=xt.forwardRef(function(Nt,Kt){var On,wt=Nt.defaultValue,$e=Nt.value,Ee=Nt.onFocus,en=Nt.onBlur,on=Nt.onChange,it=Nt.allowClear,Ht=Nt.maxLength,Yt=Nt.onCompositionStart,Rn=Nt.onCompositionEnd,ct=Nt.suffix,Sn=Nt.prefixCls,Zt=Sn===void 0?"rc-textarea":Sn,vn=Nt.showCount,un=Nt.count,De=Nt.className,me=Nt.style,ce=Nt.disabled,Te=Nt.hidden,Ue=Nt.classNames,ge=Nt.styles,Me=Nt.onResize,ot=Nt.onClear,Qt=Nt.onPressEnter,At=Nt.readOnly,vt=Nt.autoSize,Ct=Nt.onKeyDown,Ut=(0,fe.Z)(Nt,Tt),$t=(0,Fe.Z)(wt,{value:$e,defaultValue:wt}),fn=(0,be.Z)($t,2),dn=fn[0],Bt=fn[1],Mn=dn==null?"":String(dn),Dn=xt.useState(!1),Cn=(0,be.Z)(Dn,2),sn=Cn[0],An=Cn[1],xn=xt.useRef(!1),Lt=xt.useState(null),qt=(0,be.Z)(Lt,2),zt=qt[0],bn=qt[1],Et=(0,xt.useRef)(null),ft=(0,xt.useRef)(null),de=function(){var ur;return(ur=ft.current)===null||ur===void 0?void 0:ur.textArea},wn=function(){de().focus()};(0,xt.useImperativeHandle)(Kt,function(){var Wn;return{resizableTextArea:ft.current,focus:wn,blur:function(){de().blur()},nativeElement:((Wn=Et.current)===null||Wn===void 0?void 0:Wn.nativeElement)||de()}}),(0,xt.useEffect)(function(){An(function(Wn){return!ce&&Wn})},[ce]);var Un=xt.useState(null),mn=(0,be.Z)(Un,2),Er=mn[0],Sr=mn[1];xt.useEffect(function(){if(Er){var Wn;(Wn=de()).setSelectionRange.apply(Wn,(0,pe.Z)(Er))}},[Er]);var or=(0,xe.Z)(un,vn),wr=(On=or.max)!==null&&On!==void 0?On:Ht,St=Number(wr)>0,Kn=or.strategy(Mn),ir=!!wr&&Kn>wr,br=function(ur,_r){var ea=_r;!xn.current&&or.exceedFormatter&&or.max&&or.strategy(_r)>or.max&&(ea=or.exceedFormatter(_r,{max:or.max}),_r!==ea&&Sr([de().selectionStart||0,de().selectionEnd||0])),Bt(ea),(0,je.rJ)(ur.currentTarget,ur,on,ea)},qn=function(ur){xn.current=!0,Yt==null||Yt(ur)},Ir=function(ur){xn.current=!1,br(ur,ur.currentTarget.value),Rn==null||Rn(ur)},sr=function(ur){br(ur,ur.target.value)},jn=function(ur){ur.key==="Enter"&&Qt&&Qt(ur),Ct==null||Ct(ur)},$r=function(ur){An(!0),Ee==null||Ee(ur)},Jr=function(ur){An(!1),en==null||en(ur)},Gr=function(ur){Bt(""),wn(),(0,je.rJ)(de(),ur,on)},la=ct,Hr;or.show&&(or.showFormatter?Hr=or.showFormatter({value:Mn,count:Kn,maxLength:wr}):Hr="".concat(Kn).concat(St?" / ".concat(wr):""),la=xt.createElement(xt.Fragment,null,la,xt.createElement("span",{className:Oe()("".concat(Zt,"-data-count"),Ue==null?void 0:Ue.count),style:ge==null?void 0:ge.count},Hr)));var fa=function(ur){var _r;Me==null||Me(ur),(_r=de())!==null&&_r!==void 0&&_r.style.height&&bn(!0)},Yr=!vt&&!vn&&!it;return xt.createElement(Re.BaseInput,{ref:Et,value:Mn,allowClear:it,handleReset:Gr,suffix:la,prefixCls:Zt,classNames:(0,le.Z)((0,le.Z)({},Ue),{},{affixWrapper:Oe()(Ue==null?void 0:Ue.affixWrapper,(0,he.Z)((0,he.Z)({},"".concat(Zt,"-show-count"),vn),"".concat(Zt,"-textarea-allow-clear"),it))}),disabled:ce,focused:sn,className:Oe()(De,ir&&"".concat(Zt,"-out-of-range")),style:(0,le.Z)((0,le.Z)({},me),zt&&!Yr?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Hr=="string"?Hr:void 0}},hidden:Te,readOnly:At,onClear:ot},xt.createElement(ut,(0,b.Z)({},Ut,{autoSize:vt,maxLength:Ht,onKeyDown:jn,onChange:sr,onFocus:$r,onBlur:Jr,onCompositionStart:qn,onCompositionEnd:Ir,className:Oe()(Ue==null?void 0:Ue.textarea),style:(0,le.Z)((0,le.Z)({},ge==null?void 0:ge.textarea),{},{resize:me==null?void 0:me.resize}),disabled:ce,prefixCls:Zt,onResize:fa,ref:ft,readOnly:At})))}),Ke=_t,Rt=Ke},639:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(60499),he=y(18642),le=y(85899),pe=y(72190),be=y(42244),fe=y(59301),we=y(92310),Oe=y.n(we),Re=y(26112),xe=y(30699),je=function(_e){for(var Ze=_e.prefixCls,tt=_e.level,gt=_e.isStart,rt=_e.isEnd,It="".concat(Ze,"-indent-unit"),mt=[],ut=0;ut0&&arguments[0]!==void 0?arguments[0]:[],Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ge=Te.length,Me=Ue.length;if(Math.abs(ge-Me)!==1)return{add:!1,key:null};function ot(Qt,At){var vt=new Map;Qt.forEach(function(Ut){vt.set(Ut,!0)});var Ct=At.filter(function(Ut){return!vt.has(Ut)});return Ct.length===1?Ct[0]:null}return ge ").concat(Ue);return Ue}var Rn=Je.forwardRef(function(Te,Ue){var ge=Te.prefixCls,Me=Te.data,ot=Te.selectable,Qt=Te.checkable,At=Te.expandedKeys,vt=Te.selectedKeys,Ct=Te.checkedKeys,Ut=Te.loadedKeys,$t=Te.loadingKeys,fn=Te.halfCheckedKeys,dn=Te.keyEntities,Bt=Te.disabled,Mn=Te.dragging,Dn=Te.dragOverNodeKey,Cn=Te.dropPosition,sn=Te.motion,An=Te.height,xn=Te.itemHeight,Lt=Te.virtual,qt=Te.scrollWidth,zt=Te.focusable,bn=Te.activeItem,Et=Te.focused,ft=Te.tabIndex,de=Te.onKeyDown,wn=Te.onFocus,Un=Te.onBlur,mn=Te.onActiveChange,Er=Te.onListChangeStart,Sr=Te.onListChangeEnd,or=(0,_e.Z)(Te,Kt),wr=Je.useRef(null),St=Je.useRef(null);Je.useImperativeHandle(Ue,function(){return{scrollTo:function(ve){wr.current.scrollTo(ve)},getIndentWidth:function(){return St.current.offsetWidth}}});var Kn=Je.useState(At),ir=(0,He.Z)(Kn,2),br=ir[0],qn=ir[1],Ir=Je.useState(Me),sr=(0,He.Z)(Ir,2),jn=sr[0],$r=sr[1],Jr=Je.useState(Me),Gr=(0,He.Z)(Jr,2),la=Gr[0],Hr=Gr[1],fa=Je.useState([]),Yr=(0,He.Z)(fa,2),Wn=Yr[0],ur=Yr[1],_r=Je.useState(null),ea=(0,He.Z)(_r,2),Jt=ea[0],pn=ea[1],kt=Je.useRef(Me);kt.current=Me;function tn(){var lt=kt.current;$r(lt),Hr(lt),ur([]),pn(null),Sr()}(0,Ze.Z)(function(){qn(At);var lt=Rt(br,At);if(lt.key!==null)if(lt.add){var ve=jn.findIndex(function(Wt){var Xn=Wt.key;return Xn===lt.key}),Ie=it(Nt(jn,Me,lt.key),Lt,An,xn),Ft=jn.slice();Ft.splice(ve+1,0,on),Hr(Ft),ur(Ie),pn("show")}else{var Pe=Me.findIndex(function(Wt){var Xn=Wt.key;return Xn===lt.key}),Ye=it(Nt(Me,jn,lt.key),Lt,An,xn),Xt=Me.slice();Xt.splice(Pe+1,0,on),Hr(Xt),ur(Ye),pn("hide")}else jn!==Me&&($r(Me),Hr(Me))},[At,Me]),Je.useEffect(function(){Mn||tn()},[Mn]);var Mt=sn?la:Me,rn={expandedKeys:At,selectedKeys:vt,loadedKeys:Ut,loadingKeys:$t,checkedKeys:Ct,halfCheckedKeys:fn,dragOverNodeKey:Dn,dropPosition:Cn,keyEntities:dn};return Je.createElement(Je.Fragment,null,Et&&bn&&Je.createElement("span",{style:On,"aria-live":"assertive"},Yt(bn)),Je.createElement("div",null,Je.createElement("input",{style:On,disabled:zt===!1||Bt,tabIndex:zt!==!1?ft:null,onKeyDown:de,onFocus:wn,onBlur:Un,value:"",onChange:wt,"aria-label":"for screen reader"})),Je.createElement("div",{className:"".concat(ge,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Je.createElement("div",{className:"".concat(ge,"-indent")},Je.createElement("div",{ref:St,className:"".concat(ge,"-indent-unit")}))),Je.createElement(tt.Z,(0,b.Z)({},or,{data:Mt,itemKey:Ht,height:An,fullHeight:!1,virtual:Lt,itemHeight:xn,scrollWidth:qt,prefixCls:"".concat(ge,"-list"),ref:wr,role:"tree",onVisibleChange:function(ve){ve.every(function(Ie){return Ht(Ie)!==$e})&&tn()}}),function(lt){var ve=lt.pos,Ie=Object.assign({},(Qe(lt.data),lt.data)),Ft=lt.title,Pe=lt.key,Ye=lt.isStart,Xt=lt.isEnd,Wt=(0,ut.km)(Pe,ve);delete Ie.key,delete Ie.children;var Xn=(0,ut.H8)(Wt,rn);return Je.createElement(Ke,(0,b.Z)({},Ie,Xn,{title:Ft,active:!!bn&&Pe===bn.key,pos:ve,data:lt.data,isStart:Ye,isEnd:Xt,motion:sn,motionNodes:Pe===$e?Wn:null,motionType:Jt,onMotionStart:Er,onMotionEnd:tn,treeNodeRequiredProps:rn,onMouseMove:function(){mn(null)}}))}))}),ct=Rn,Sn=y(82661),Zt=y(34643),vn=y(65065),un=10,De=function(Te){(0,Oe.Z)(ge,Te);var Ue=(0,Re.Z)(ge);function ge(){var Me;(0,be.Z)(this,ge);for(var ot=arguments.length,Qt=new Array(ot),At=0;At2&&arguments[2]!==void 0?arguments[2]:!1,fn=Me.state,dn=fn.dragChildrenKeys,Bt=fn.dropPosition,Mn=fn.dropTargetKey,Dn=fn.dropTargetPos,Cn=fn.dropAllowed;if(Cn){var sn=Me.props.onDrop;if(Me.setState({dragOverNodeKey:null}),Me.cleanDragState(),Mn!==null){var An=(0,le.Z)((0,le.Z)({},(0,ut.H8)(Mn,Me.getTreeNodeRequiredProps())),{},{active:((Ut=Me.getActiveItem())===null||Ut===void 0?void 0:Ut.key)===Mn,data:(0,vn.Z)(Me.state.keyEntities,Mn).node}),xn=dn.includes(Mn);(0,et.ZP)(!xn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Lt=(0,Sn.yx)(Dn),qt={event:vt,node:(0,ut.F)(An),dragNode:Me.dragNodeProps?(0,ut.F)(Me.dragNodeProps):null,dragNodesKeys:[Me.dragNodeProps.eventKey].concat(dn),dropToGap:Bt!==0,dropPosition:Bt+Number(Lt[Lt.length-1])};$t||sn==null||sn(qt),Me.dragNodeProps=null}}}),(0,xe.Z)((0,we.Z)(Me),"cleanDragState",function(){var vt=Me.state.draggingNodeKey;vt!==null&&Me.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Me.dragStartMousePosition=null,Me.currentMouseOverDroppableNodeKey=null}),(0,xe.Z)((0,we.Z)(Me),"triggerExpandActionExpand",function(vt,Ct){var Ut=Me.state,$t=Ut.expandedKeys,fn=Ut.flattenNodes,dn=Ct.expanded,Bt=Ct.key,Mn=Ct.isLeaf;if(!(Mn||vt.shiftKey||vt.metaKey||vt.ctrlKey)){var Dn=fn.filter(function(sn){return sn.key===Bt})[0],Cn=(0,ut.F)((0,le.Z)((0,le.Z)({},(0,ut.H8)(Bt,Me.getTreeNodeRequiredProps())),{},{data:Dn.data}));Me.setExpandedKeys(dn?(0,Sn._5)($t,Bt):(0,Sn.L0)($t,Bt)),Me.onNodeExpand(vt,Cn)}}),(0,xe.Z)((0,we.Z)(Me),"onNodeClick",function(vt,Ct){var Ut=Me.props,$t=Ut.onClick,fn=Ut.expandAction;fn==="click"&&Me.triggerExpandActionExpand(vt,Ct),$t==null||$t(vt,Ct)}),(0,xe.Z)((0,we.Z)(Me),"onNodeDoubleClick",function(vt,Ct){var Ut=Me.props,$t=Ut.onDoubleClick,fn=Ut.expandAction;fn==="doubleClick"&&Me.triggerExpandActionExpand(vt,Ct),$t==null||$t(vt,Ct)}),(0,xe.Z)((0,we.Z)(Me),"onNodeSelect",function(vt,Ct){var Ut=Me.state.selectedKeys,$t=Me.state,fn=$t.keyEntities,dn=$t.fieldNames,Bt=Me.props,Mn=Bt.onSelect,Dn=Bt.multiple,Cn=Ct.selected,sn=Ct[dn.key],An=!Cn;An?Dn?Ut=(0,Sn.L0)(Ut,sn):Ut=[sn]:Ut=(0,Sn._5)(Ut,sn);var xn=Ut.map(function(Lt){var qt=(0,vn.Z)(fn,Lt);return qt?qt.node:null}).filter(Boolean);Me.setUncontrolledState({selectedKeys:Ut}),Mn==null||Mn(Ut,{event:"select",selected:An,node:Ct,selectedNodes:xn,nativeEvent:vt.nativeEvent})}),(0,xe.Z)((0,we.Z)(Me),"onNodeCheck",function(vt,Ct,Ut){var $t=Me.state,fn=$t.keyEntities,dn=$t.checkedKeys,Bt=$t.halfCheckedKeys,Mn=Me.props,Dn=Mn.checkStrictly,Cn=Mn.onCheck,sn=Ct.key,An,xn={event:"check",node:Ct,checked:Ut,nativeEvent:vt.nativeEvent};if(Dn){var Lt=Ut?(0,Sn.L0)(dn,sn):(0,Sn._5)(dn,sn),qt=(0,Sn._5)(Bt,sn);An={checked:Lt,halfChecked:qt},xn.checkedNodes=Lt.map(function(wn){return(0,vn.Z)(fn,wn)}).filter(Boolean).map(function(wn){return wn.node}),Me.setUncontrolledState({checkedKeys:Lt})}else{var zt=(0,Zt.S)([].concat((0,pe.Z)(dn),[sn]),!0,fn),bn=zt.checkedKeys,Et=zt.halfCheckedKeys;if(!Ut){var ft=new Set(bn);ft.delete(sn);var de=(0,Zt.S)(Array.from(ft),{checked:!1,halfCheckedKeys:Et},fn);bn=de.checkedKeys,Et=de.halfCheckedKeys}An=bn,xn.checkedNodes=[],xn.checkedNodesPositions=[],xn.halfCheckedKeys=Et,bn.forEach(function(wn){var Un=(0,vn.Z)(fn,wn);if(Un){var mn=Un.node,Er=Un.pos;xn.checkedNodes.push(mn),xn.checkedNodesPositions.push({node:mn,pos:Er})}}),Me.setUncontrolledState({checkedKeys:bn},!1,{halfCheckedKeys:Et})}Cn==null||Cn(An,xn)}),(0,xe.Z)((0,we.Z)(Me),"onNodeLoad",function(vt){var Ct,Ut=vt.key,$t=Me.state.keyEntities,fn=(0,vn.Z)($t,Ut);if(!(fn!=null&&(Ct=fn.children)!==null&&Ct!==void 0&&Ct.length)){var dn=new Promise(function(Bt,Mn){Me.setState(function(Dn){var Cn=Dn.loadedKeys,sn=Cn===void 0?[]:Cn,An=Dn.loadingKeys,xn=An===void 0?[]:An,Lt=Me.props,qt=Lt.loadData,zt=Lt.onLoad;if(!qt||sn.includes(Ut)||xn.includes(Ut))return null;var bn=qt(vt);return bn.then(function(){var Et=Me.state.loadedKeys,ft=(0,Sn.L0)(Et,Ut);zt==null||zt(ft,{event:"load",node:vt}),Me.setUncontrolledState({loadedKeys:ft}),Me.setState(function(de){return{loadingKeys:(0,Sn._5)(de.loadingKeys,Ut)}}),Bt()}).catch(function(Et){if(Me.setState(function(de){return{loadingKeys:(0,Sn._5)(de.loadingKeys,Ut)}}),Me.loadingRetryTimes[Ut]=(Me.loadingRetryTimes[Ut]||0)+1,Me.loadingRetryTimes[Ut]>=un){var ft=Me.state.loadedKeys;(0,et.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Me.setUncontrolledState({loadedKeys:(0,Sn.L0)(ft,Ut)}),Bt()}Mn(Et)}),{loadingKeys:(0,Sn.L0)(xn,Ut)}})});return dn.catch(function(){}),dn}}),(0,xe.Z)((0,we.Z)(Me),"onNodeMouseEnter",function(vt,Ct){var Ut=Me.props.onMouseEnter;Ut==null||Ut({event:vt,node:Ct})}),(0,xe.Z)((0,we.Z)(Me),"onNodeMouseLeave",function(vt,Ct){var Ut=Me.props.onMouseLeave;Ut==null||Ut({event:vt,node:Ct})}),(0,xe.Z)((0,we.Z)(Me),"onNodeContextMenu",function(vt,Ct){var Ut=Me.props.onRightClick;Ut&&(vt.preventDefault(),Ut({event:vt,node:Ct}))}),(0,xe.Z)((0,we.Z)(Me),"onFocus",function(){var vt=Me.props.onFocus;Me.setState({focused:!0});for(var Ct=arguments.length,Ut=new Array(Ct),$t=0;$t1&&arguments[1]!==void 0?arguments[1]:!1,Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Me.destroyed){var $t=!1,fn=!0,dn={};Object.keys(vt).forEach(function(Bt){if(Me.props.hasOwnProperty(Bt)){fn=!1;return}$t=!0,dn[Bt]=vt[Bt]}),$t&&(!Ct||fn)&&Me.setState((0,le.Z)((0,le.Z)({},dn),Ut))}}),(0,xe.Z)((0,we.Z)(Me),"scrollTo",function(vt){Me.listRef.current.scrollTo(vt)}),Me}return(0,fe.Z)(ge,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ot=this.props,Qt=ot.activeKey,At=ot.itemScrollOffset,vt=At===void 0?0:At;Qt!==void 0&&Qt!==this.state.activeKey&&(this.setState({activeKey:Qt}),Qt!==null&&this.scrollTo({key:Qt,offset:vt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ot=this.state,Qt=ot.focused,At=ot.flattenNodes,vt=ot.keyEntities,Ct=ot.draggingNodeKey,Ut=ot.activeKey,$t=ot.dropLevelOffset,fn=ot.dropContainerKey,dn=ot.dropTargetKey,Bt=ot.dropPosition,Mn=ot.dragOverNodeKey,Dn=ot.indent,Cn=this.props,sn=Cn.prefixCls,An=Cn.className,xn=Cn.style,Lt=Cn.showLine,qt=Cn.focusable,zt=Cn.tabIndex,bn=zt===void 0?0:zt,Et=Cn.selectable,ft=Cn.showIcon,de=Cn.icon,wn=Cn.switcherIcon,Un=Cn.draggable,mn=Cn.checkable,Er=Cn.checkStrictly,Sr=Cn.disabled,or=Cn.motion,wr=Cn.loadData,St=Cn.filterTreeNode,Kn=Cn.height,ir=Cn.itemHeight,br=Cn.scrollWidth,qn=Cn.virtual,Ir=Cn.titleRender,sr=Cn.dropIndicatorRender,jn=Cn.onContextMenu,$r=Cn.onScroll,Jr=Cn.direction,Gr=Cn.rootClassName,la=Cn.rootStyle,Hr=(0,nt.Z)(this.props,{aria:!0,data:!0}),fa;Un&&((0,he.Z)(Un)==="object"?fa=Un:typeof Un=="function"?fa={nodeDraggable:Un}:fa={});var Yr={prefixCls:sn,selectable:Et,showIcon:ft,icon:de,switcherIcon:wn,draggable:fa,draggingNodeKey:Ct,checkable:mn,checkStrictly:Er,disabled:Sr,keyEntities:vt,dropLevelOffset:$t,dropContainerKey:fn,dropTargetKey:dn,dropPosition:Bt,dragOverNodeKey:Mn,indent:Dn,direction:Jr,dropIndicatorRender:sr,loadData:wr,filterTreeNode:St,titleRender:Ir,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Je.createElement(Ge.k.Provider,{value:Yr},Je.createElement("div",{className:Fe()(sn,An,Gr,(0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(sn,"-show-line"),Lt),"".concat(sn,"-focused"),Qt),"".concat(sn,"-active-focused"),Ut!==null)),style:la},Je.createElement(ct,(0,b.Z)({ref:this.listRef,prefixCls:sn,style:xn,data:At,disabled:Sr,selectable:Et,checkable:!!mn,motion:or,dragging:Ct!==null,height:Kn,itemHeight:ir,virtual:qn,focusable:qt,focused:Qt,tabIndex:bn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:jn,onScroll:$r,scrollWidth:br},this.getTreeNodeRequiredProps(),Hr))))}}],[{key:"getDerivedStateFromProps",value:function(ot,Qt){var At=Qt.prevProps,vt={prevProps:ot};function Ct(bn){return!At&&ot.hasOwnProperty(bn)||At&&At[bn]!==ot[bn]}var Ut,$t=Qt.fieldNames;if(Ct("fieldNames")&&($t=(0,ut.w$)(ot.fieldNames),vt.fieldNames=$t),Ct("treeData")?Ut=ot.treeData:Ct("children")&&((0,et.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ut=(0,ut.zn)(ot.children)),Ut){vt.treeData=Ut;var fn=(0,ut.I8)(Ut,{fieldNames:$t});vt.keyEntities=(0,le.Z)((0,xe.Z)({},$e,en),fn.keyEntities)}var dn=vt.keyEntities||Qt.keyEntities;if(Ct("expandedKeys")||At&&Ct("autoExpandParent"))vt.expandedKeys=ot.autoExpandParent||!At&&ot.defaultExpandParent?(0,Sn.r7)(ot.expandedKeys,dn):ot.expandedKeys;else if(!At&&ot.defaultExpandAll){var Bt=(0,le.Z)({},dn);delete Bt[$e];var Mn=[];Object.keys(Bt).forEach(function(bn){var Et=Bt[bn];Et.children&&Et.children.length&&Mn.push(Et.key)}),vt.expandedKeys=Mn}else!At&&ot.defaultExpandedKeys&&(vt.expandedKeys=ot.autoExpandParent||ot.defaultExpandParent?(0,Sn.r7)(ot.defaultExpandedKeys,dn):ot.defaultExpandedKeys);if(vt.expandedKeys||delete vt.expandedKeys,Ut||vt.expandedKeys){var Dn=(0,ut.oH)(Ut||Qt.treeData,vt.expandedKeys||Qt.expandedKeys,$t);vt.flattenNodes=Dn}if(ot.selectable&&(Ct("selectedKeys")?vt.selectedKeys=(0,Sn.BT)(ot.selectedKeys,ot):!At&&ot.defaultSelectedKeys&&(vt.selectedKeys=(0,Sn.BT)(ot.defaultSelectedKeys,ot))),ot.checkable){var Cn;if(Ct("checkedKeys")?Cn=(0,Sn.E6)(ot.checkedKeys)||{}:!At&&ot.defaultCheckedKeys?Cn=(0,Sn.E6)(ot.defaultCheckedKeys)||{}:Ut&&(Cn=(0,Sn.E6)(ot.checkedKeys)||{checkedKeys:Qt.checkedKeys,halfCheckedKeys:Qt.halfCheckedKeys}),Cn){var sn=Cn,An=sn.checkedKeys,xn=An===void 0?[]:An,Lt=sn.halfCheckedKeys,qt=Lt===void 0?[]:Lt;if(!ot.checkStrictly){var zt=(0,Zt.S)(xn,!0,dn);xn=zt.checkedKeys,qt=zt.halfCheckedKeys}vt.checkedKeys=xn,vt.halfCheckedKeys=qt}}return Ct("loadedKeys")&&(vt.loadedKeys=ot.loadedKeys),vt}}]),ge}(Je.Component);(0,xe.Z)(De,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Ve,allowDrop:function(){return!0},expandAction:!1}),(0,xe.Z)(De,"TreeNode",rt.Z);var me=De,ce=me},82661:function(Ce,ae,y){"use strict";y.d(ae,{BT:function(){return Je},E6:function(){return Ve},L0:function(){return xe},OM:function(){return et},_5:function(){return Re},r7:function(){return Qe},wA:function(){return Fe},yx:function(){return je}});var b=y(77654),he=y(43749),le=y(48736),pe=y(59301),be=y(639),fe=y(65065),we=y(34061),Oe=null;function Re(He,_e){if(!He)return[];var Ze=He.slice(),tt=Ze.indexOf(_e);return tt>=0&&Ze.splice(tt,1),Ze}function xe(He,_e){var Ze=(He||[]).slice();return Ze.indexOf(_e)===-1&&Ze.push(_e),Ze}function je(He){return He.split("-")}function Fe(He,_e){var Ze=[],tt=(0,fe.Z)(_e,He);function gt(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];rt.forEach(function(It){var mt=It.key,ut=It.children;Ze.push(mt),gt(ut)})}return gt(tt.children),Ze}function xt(He){if(He.parent){var _e=je(He.pos);return Number(_e[_e.length-1])===He.parent.children.length-1}return!1}function nt(He){var _e=je(He.pos);return Number(_e[_e.length-1])===0}function et(He,_e,Ze,tt,gt,rt,It,mt,ut,Tt){var _t,Ke=He.clientX,Rt=He.clientY,Nt=He.target.getBoundingClientRect(),Kt=Nt.top,On=Nt.height,wt=(Tt==="rtl"?-1:1)*(((gt==null?void 0:gt.x)||0)-Ke),$e=(wt-12)/tt,Ee=ut.filter(function(ce){var Te;return(Te=mt[ce])===null||Te===void 0||(Te=Te.children)===null||Te===void 0?void 0:Te.length}),en=(0,fe.Z)(mt,Ze.eventKey);if(Rt-1.5?rt({dragNode:un,dropNode:De,dropPosition:1})?Sn=1:me=!1:rt({dragNode:un,dropNode:De,dropPosition:0})?Sn=0:rt({dragNode:un,dropNode:De,dropPosition:1})?Sn=1:me=!1:rt({dragNode:un,dropNode:De,dropPosition:1})?Sn=1:me=!1,{dropPosition:Sn,dropLevelOffset:Zt,dropTargetKey:en.key,dropTargetPos:en.pos,dragOverNodeKey:ct,dropContainerKey:Sn===0?null:((_t=en.parent)===null||_t===void 0?void 0:_t.key)||null,dropAllowed:me}}function Je(He,_e){if(He){var Ze=_e.multiple;return Ze?He.slice():He.length?[He[0]]:He}}var Ge=function(_e){return _e};function We(He,_e){if(!He)return[];var Ze=_e||{},tt=Ze.processProps,gt=tt===void 0?Ge:tt,rt=Array.isArray(He)?He:[He];return rt.map(function(It){var mt=It.children,ut=_objectWithoutProperties(It,Oe),Tt=We(mt,_e);return React.createElement(TreeNode,_extends({key:ut.key},gt(ut)),Tt)})}function Ve(He){if(!He)return null;var _e;if(Array.isArray(He))_e={checkedKeys:He,halfCheckedKeys:void 0};else if((0,he.Z)(He)==="object")_e={checkedKeys:He.checked||void 0,halfCheckedKeys:He.halfChecked||void 0};else return(0,le.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return _e}function Qe(He,_e){var Ze=new Set;function tt(gt){if(!Ze.has(gt)){var rt=(0,fe.Z)(_e,gt);if(rt){Ze.add(gt);var It=rt.parent,mt=rt.node;mt.disabled||It&&tt(It.key)}}}return(He||[]).forEach(function(gt){tt(gt)}),(0,b.Z)(Ze)}},34643:function(Ce,ae,y){"use strict";y.d(ae,{S:function(){return we}});var b=y(48736),he=y(65065);function le(Oe,Re){var xe=new Set;return Oe.forEach(function(je){Re.has(je)||xe.add(je)}),xe}function pe(Oe){var Re=Oe||{},xe=Re.disabled,je=Re.disableCheckbox,Fe=Re.checkable;return!!(xe||je)||Fe===!1}function be(Oe,Re,xe,je){for(var Fe=new Set(Oe),xt=new Set,nt=0;nt<=xe;nt+=1){var et=Re.get(nt)||new Set;et.forEach(function(Ve){var Qe=Ve.key,He=Ve.node,_e=Ve.children,Ze=_e===void 0?[]:_e;Fe.has(Qe)&&!je(He)&&Ze.filter(function(tt){return!je(tt.node)}).forEach(function(tt){Fe.add(tt.key)})})}for(var Je=new Set,Ge=xe;Ge>=0;Ge-=1){var We=Re.get(Ge)||new Set;We.forEach(function(Ve){var Qe=Ve.parent,He=Ve.node;if(!(je(He)||!Ve.parent||Je.has(Ve.parent.key))){if(je(Ve.parent.node)){Je.add(Qe.key);return}var _e=!0,Ze=!1;(Qe.children||[]).filter(function(tt){return!je(tt.node)}).forEach(function(tt){var gt=tt.key,rt=Fe.has(gt);_e&&!rt&&(_e=!1),!Ze&&(rt||xt.has(gt))&&(Ze=!0)}),_e&&Fe.add(Qe.key),Ze&&xt.add(Qe.key),Je.add(Qe.key)}})}return{checkedKeys:Array.from(Fe),halfCheckedKeys:Array.from(le(xt,Fe))}}function fe(Oe,Re,xe,je,Fe){for(var xt=new Set(Oe),nt=new Set(Re),et=0;et<=je;et+=1){var Je=xe.get(et)||new Set;Je.forEach(function(Qe){var He=Qe.key,_e=Qe.node,Ze=Qe.children,tt=Ze===void 0?[]:Ze;!xt.has(He)&&!nt.has(He)&&!Fe(_e)&&tt.filter(function(gt){return!Fe(gt.node)}).forEach(function(gt){xt.delete(gt.key)})})}nt=new Set;for(var Ge=new Set,We=je;We>=0;We-=1){var Ve=xe.get(We)||new Set;Ve.forEach(function(Qe){var He=Qe.parent,_e=Qe.node;if(!(Fe(_e)||!Qe.parent||Ge.has(Qe.parent.key))){if(Fe(Qe.parent.node)){Ge.add(He.key);return}var Ze=!0,tt=!1;(He.children||[]).filter(function(gt){return!Fe(gt.node)}).forEach(function(gt){var rt=gt.key,It=xt.has(rt);Ze&&!It&&(Ze=!1),!tt&&(It||nt.has(rt))&&(tt=!0)}),Ze||xt.delete(He.key),tt&&nt.add(He.key),Ge.add(He.key)}})}return{checkedKeys:Array.from(xt),halfCheckedKeys:Array.from(le(nt,xt))}}function we(Oe,Re,xe,je){var Fe=[],xt;je?xt=je:xt=pe;var nt=new Set(Oe.filter(function(We){var Ve=!!(0,he.Z)(xe,We);return Ve||Fe.push(We),Ve})),et=new Map,Je=0;Object.keys(xe).forEach(function(We){var Ve=xe[We],Qe=Ve.level,He=et.get(Qe);He||(He=new Set,et.set(Qe,He)),He.add(Ve),Je=Math.max(Je,Qe)}),(0,b.ZP)(!Fe.length,"Tree missing follow keys: ".concat(Fe.slice(0,100).map(function(We){return"'".concat(We,"'")}).join(", ")));var Ge;return Re===!0?Ge=be(nt,et,Je,xt):Ge=fe(nt,Re.halfCheckedKeys,et,Je,xt),Ge}},65065:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return b}});function b(he,le){return he[le]}},34061:function(Ce,ae,y){"use strict";y.d(ae,{F:function(){return Qe},H8:function(){return Ve},I8:function(){return We},km:function(){return Fe},oH:function(){return Je},w$:function(){return xt},zn:function(){return et}});var b=y(43749),he=y(77654),le=y(85899),pe=y(42244),be=y(11592),fe=y(2738),we=y(48736),Oe=y(65065),Re=["children"];function xe(He,_e){return"".concat(He,"-").concat(_e)}function je(He){return He&&He.type&&He.type.isTreeNode}function Fe(He,_e){return He!=null?He:_e}function xt(He){var _e=He||{},Ze=_e.title,tt=_e._title,gt=_e.key,rt=_e.children,It=Ze||"title";return{title:It,_title:tt||[It],key:gt||"key",children:rt||"children"}}function nt(He,_e){var Ze=new Map;function tt(gt){var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(gt||[]).forEach(function(It){var mt=It[_e.key],ut=It[_e.children];warning(mt!=null,"Tree node must have a certain key: [".concat(rt).concat(mt,"]"));var Tt=String(mt);warning(!Ze.has(Tt)||mt===null||mt===void 0,"Same 'key' exist in the Tree: ".concat(Tt)),Ze.set(Tt,!0),tt(ut,"".concat(rt).concat(Tt," > "))})}tt(He)}function et(He){function _e(Ze){var tt=(0,be.Z)(Ze);return tt.map(function(gt){if(!je(gt))return(0,we.ZP)(!gt,"Tree/TreeNode can only accept TreeNode as children."),null;var rt=gt.key,It=gt.props,mt=It.children,ut=(0,pe.Z)(It,Re),Tt=(0,le.Z)({key:rt},ut),_t=_e(mt);return _t.length&&(Tt.children=_t),Tt}).filter(function(gt){return gt})}return _e(He)}function Je(He,_e,Ze){var tt=xt(Ze),gt=tt._title,rt=tt.key,It=tt.children,mt=new Set(_e===!0?[]:_e),ut=[];function Tt(_t){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return _t.map(function(Rt,Nt){for(var Kt=xe(Ke?Ke.pos:"0",Nt),On=Fe(Rt[rt],Kt),wt,$e=0;$e1&&arguments[1]!==void 0?arguments[1]:{},Ze=_e.initWrapper,tt=_e.processEntity,gt=_e.onProcessFinished,rt=_e.externalGetKey,It=_e.childrenPropName,mt=_e.fieldNames,ut=arguments.length>2?arguments[2]:void 0,Tt=rt||ut,_t={},Ke={},Rt={posEntities:_t,keyEntities:Ke};return Ze&&(Rt=Ze(Rt)||Rt),Ge(He,function(Nt){var Kt=Nt.node,On=Nt.index,wt=Nt.pos,$e=Nt.key,Ee=Nt.parentPos,en=Nt.level,on=Nt.nodes,it={node:Kt,nodes:on,index:On,key:$e,pos:wt,level:en},Ht=Fe($e,wt);_t[wt]=it,Ke[Ht]=it,it.parent=_t[Ee],it.parent&&(it.parent.children=it.parent.children||[],it.parent.children.push(it)),tt&&tt(it,Rt)},{externalGetKey:Tt,childrenPropName:It,fieldNames:mt}),gt&>(Rt),Rt}function Ve(He,_e){var Ze=_e.expandedKeys,tt=_e.selectedKeys,gt=_e.loadedKeys,rt=_e.loadingKeys,It=_e.checkedKeys,mt=_e.halfCheckedKeys,ut=_e.dragOverNodeKey,Tt=_e.dropPosition,_t=_e.keyEntities,Ke=(0,Oe.Z)(_t,He),Rt={eventKey:He,expanded:Ze.indexOf(He)!==-1,selected:tt.indexOf(He)!==-1,loaded:gt.indexOf(He)!==-1,loading:rt.indexOf(He)!==-1,checked:It.indexOf(He)!==-1,halfChecked:mt.indexOf(He)!==-1,pos:String(Ke?Ke.pos:""),dragOver:ut===He&&Tt===0,dragOverGapTop:ut===He&&Tt===-1,dragOverGapBottom:ut===He&&Tt===1};return Rt}function Qe(He){var _e=He.data,Ze=He.expanded,tt=He.selected,gt=He.checked,rt=He.loaded,It=He.loading,mt=He.halfChecked,ut=He.dragOver,Tt=He.dragOverGapTop,_t=He.dragOverGapBottom,Ke=He.pos,Rt=He.active,Nt=He.eventKey,Kt=(0,le.Z)((0,le.Z)({},_e),{},{expanded:Ze,selected:tt,checked:gt,loaded:rt,loading:It,halfChecked:mt,dragOver:ut,dragOverGapTop:Tt,dragOverGapBottom:_t,pos:Ke,active:Rt,key:Nt});return"props"in Kt||Object.defineProperty(Kt,"props",{get:function(){return(0,we.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),He}}),Kt}},8224:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return he}});var b=y(4676);function he(le,pe,be,fe){var we=b.unstable_batchedUpdates?function(Re){b.unstable_batchedUpdates(be,Re)}:be;return le!=null&&le.addEventListener&&le.addEventListener(pe,we,fe),{remove:function(){le!=null&&le.removeEventListener&&le.removeEventListener(pe,we,fe)}}}},48911:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return un}});var b=y(60499),he=y(43749),le=y(85899),pe=y(18642),be=y(72190),fe=y(42244),we=y(92310),Oe=y.n(we),Re=y(29301),xe=y(70425),je=y(34280),Fe=y(59301),xt=y(4676),nt=Fe.forwardRef(function(De,me){var ce=De.height,Te=De.offsetY,Ue=De.offsetX,ge=De.children,Me=De.prefixCls,ot=De.onInnerResize,Qt=De.innerProps,At=De.rtl,vt=De.extra,Ct={},Ut={display:"flex",flexDirection:"column"};return Te!==void 0&&(Ct={height:ce,position:"relative",overflow:"hidden"},Ut=(0,le.Z)((0,le.Z)({},Ut),{},(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({transform:"translateY(".concat(Te,"px)")},At?"marginRight":"marginLeft",-Ue),"position","absolute"),"left",0),"right",0),"top",0))),Fe.createElement("div",{style:Ct},Fe.createElement(Re.Z,{onResize:function(fn){var dn=fn.offsetHeight;dn&&ot&&ot()}},Fe.createElement("div",(0,b.Z)({style:Ut,className:Oe()((0,pe.Z)({},"".concat(Me,"-holder-inner"),Me)),ref:me},Qt),ge,vt)))});nt.displayName="Filler";var et=nt;function Je(De){var me=De.children,ce=De.setRef,Te=Fe.useCallback(function(Ue){ce(Ue)},[]);return Fe.cloneElement(me,{ref:Te})}function Ge(De,me,ce,Te,Ue,ge,Me,ot){var Qt=ot.getKey;return De.slice(me,ce+1).map(function(At,vt){var Ct=me+vt,Ut=Me(At,Ct,{style:{width:Te},offsetX:Ue}),$t=Qt(At);return Fe.createElement(Je,{key:$t,setRef:function(dn){return ge(At,dn)}},Ut)})}function We(De,me,ce,Te){var Ue=ce-De,ge=me-ce,Me=Math.min(Ue,ge)*2;if(Te<=Me){var ot=Math.floor(Te/2);return Te%2?ce+ot+1:ce-ot}return Ue>ge?ce-(Te-ge):ce+(Te-Ue)}function Ve(De,me,ce){var Te=De.length,Ue=me.length,ge,Me;if(Te===0&&Ue===0)return null;Te2&&arguments[2]!==void 0?arguments[2]:!1,Ct=Qt?At<0&&ot.current.left||At>0&&ot.current.right:At<0&&ot.current.top||At>0&&ot.current.bottom;return vt&&Ct?(clearTimeout(ge.current),Ue.current=!1):(!Ct||Ue.current)&&Me(),!Ue.current&&Ct}};function gt(De,me,ce,Te,Ue,ge,Me){var ot=(0,Fe.useRef)(0),Qt=(0,Fe.useRef)(null),At=(0,Fe.useRef)(null),vt=(0,Fe.useRef)(!1),Ct=tt(me,ce,Te,Ue);function Ut(Dn,Cn){if(He.Z.cancel(Qt.current),!Ct(!1,Cn)){var sn=Dn;if(!sn._virtualHandled)sn._virtualHandled=!0;else return;ot.current+=Cn,At.current=Cn,Ze||sn.preventDefault(),Qt.current=(0,He.Z)(function(){var An=vt.current?10:1;Me(ot.current*An,!1),ot.current=0})}}function $t(Dn,Cn){Me(Cn,!0),Ze||Dn.preventDefault()}var fn=(0,Fe.useRef)(null),dn=(0,Fe.useRef)(null);function Bt(Dn){if(De){He.Z.cancel(dn.current),dn.current=(0,He.Z)(function(){fn.current=null},2);var Cn=Dn.deltaX,sn=Dn.deltaY,An=Dn.shiftKey,xn=Cn,Lt=sn;(fn.current==="sx"||!fn.current&&An&&sn&&!Cn)&&(xn=sn,Lt=0,fn.current="sx");var qt=Math.abs(xn),zt=Math.abs(Lt);fn.current===null&&(fn.current=ge&&qt>zt?"x":"y"),fn.current==="y"?Ut(Dn,Lt):$t(Dn,xn)}}function Mn(Dn){De&&(vt.current=Dn.detail===At.current)}return[Bt,Mn]}function rt(De,me,ce,Te){var Ue=Fe.useMemo(function(){return[new Map,[]]},[De,ce.id,Te]),ge=(0,be.Z)(Ue,2),Me=ge[0],ot=ge[1],Qt=function(vt){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:vt,Ut=Me.get(vt),$t=Me.get(Ct);if(Ut===void 0||$t===void 0)for(var fn=De.length,dn=ot.length;dn0&&arguments[0]!==void 0?arguments[0]:!1;vt();var fn=function(){var Mn=!1;ot.current.forEach(function(Dn,Cn){if(Dn&&Dn.offsetParent){var sn=Dn.offsetHeight,An=getComputedStyle(Dn),xn=An.marginTop,Lt=An.marginBottom,qt=_t(xn),zt=_t(Lt),bn=sn+qt+zt;Qt.current.get(Cn)!==bn&&(Qt.current.set(Cn,bn),Mn=!0)}}),Mn&&Me(function(Dn){return Dn+1})};if($t)fn();else{At.current+=1;var dn=At.current;Promise.resolve().then(function(){dn===At.current&&fn()})}}function Ut($t,fn){var dn=De($t),Bt=ot.current.get(dn);fn?(ot.current.set(dn,fn),Ct()):ot.current.delete(dn),!Bt!=!fn&&(fn?me==null||me($t):ce==null||ce($t))}return(0,Fe.useEffect)(function(){return vt},[]),[Ut,Ct,Qt.current,ge]}var Rt=14/15;function Nt(De,me,ce){var Te=(0,Fe.useRef)(!1),Ue=(0,Fe.useRef)(0),ge=(0,Fe.useRef)(0),Me=(0,Fe.useRef)(null),ot=(0,Fe.useRef)(null),Qt,At=function($t){if(Te.current){var fn=Math.ceil($t.touches[0].pageX),dn=Math.ceil($t.touches[0].pageY),Bt=Ue.current-fn,Mn=ge.current-dn,Dn=Math.abs(Bt)>Math.abs(Mn);Dn?Ue.current=fn:ge.current=dn;var Cn=ce(Dn,Dn?Bt:Mn,!1,$t);Cn&&$t.preventDefault(),clearInterval(ot.current),Cn&&(ot.current=setInterval(function(){Dn?Bt*=Rt:Mn*=Rt;var sn=Math.floor(Dn?Bt:Mn);(!ce(Dn,sn,!0)||Math.abs(sn)<=.1)&&clearInterval(ot.current)},16))}},vt=function(){Te.current=!1,Qt()},Ct=function($t){Qt(),$t.touches.length===1&&!Te.current&&(Te.current=!0,Ue.current=Math.ceil($t.touches[0].pageX),ge.current=Math.ceil($t.touches[0].pageY),Me.current=$t.target,Me.current.addEventListener("touchmove",At,{passive:!1}),Me.current.addEventListener("touchend",vt,{passive:!0}))};Qt=function(){Me.current&&(Me.current.removeEventListener("touchmove",At),Me.current.removeEventListener("touchend",vt))},(0,je.Z)(function(){return De&&me.current.addEventListener("touchstart",Ct,{passive:!0}),function(){var Ut;(Ut=me.current)===null||Ut===void 0||Ut.removeEventListener("touchstart",Ct),Qt(),clearInterval(ot.current)}},[De])}function Kt(De){return Math.floor(Math.pow(De,.5))}function On(De,me){var ce="touches"in De?De.touches[0]:De;return ce[me?"pageX":"pageY"]-window[me?"scrollX":"scrollY"]}function wt(De,me,ce){Fe.useEffect(function(){var Te=me.current;if(De&&Te){var Ue=!1,ge,Me,ot=function(){He.Z.cancel(ge)},Qt=function Ut(){ot(),ge=(0,He.Z)(function(){ce(Me),Ut()})},At=function(){Ue=!1,ot()},vt=function($t){if(!($t.target.draggable||$t.button!==0)){var fn=$t;fn._virtualHandled||(fn._virtualHandled=!0,Ue=!0)}},Ct=function($t){if(Ue){var fn=On($t,!1),dn=Te.getBoundingClientRect(),Bt=dn.top,Mn=dn.bottom;if(fn<=Bt){var Dn=Bt-fn;Me=-Kt(Dn),Qt()}else if(fn>=Mn){var Cn=fn-Mn;Me=Kt(Cn),Qt()}else ot()}};return Te.addEventListener("mousedown",vt),Te.ownerDocument.addEventListener("mouseup",At),Te.ownerDocument.addEventListener("mousemove",Ct),Te.ownerDocument.addEventListener("dragend",At),function(){Te.removeEventListener("mousedown",vt),Te.ownerDocument.removeEventListener("mouseup",At),Te.ownerDocument.removeEventListener("mousemove",Ct),Te.ownerDocument.removeEventListener("dragend",At),ot()}}},[De])}var $e=10;function Ee(De,me,ce,Te,Ue,ge,Me,ot){var Qt=Fe.useRef(),At=Fe.useState(null),vt=(0,be.Z)(At,2),Ct=vt[0],Ut=vt[1];return(0,je.Z)(function(){if(Ct&&Ct.times<$e){if(!De.current){Ut(function(or){return(0,le.Z)({},or)});return}ge();var $t=Ct.targetAlign,fn=Ct.originAlign,dn=Ct.index,Bt=Ct.offset,Mn=De.current.clientHeight,Dn=!1,Cn=$t,sn=null;if(Mn){for(var An=$t||fn,xn=0,Lt=0,qt=0,zt=Math.min(me.length-1,dn),bn=0;bn<=zt;bn+=1){var Et=Ue(me[bn]);Lt=xn;var ft=ce.get(Et);qt=Lt+(ft===void 0?Te:ft),xn=qt}for(var de=An==="top"?Bt:Mn-Bt,wn=zt;wn>=0;wn-=1){var Un=Ue(me[wn]),mn=ce.get(Un);if(mn===void 0){Dn=!0;break}if(de-=mn,de<=0)break}switch(An){case"top":sn=Lt-Bt;break;case"bottom":sn=qt-Mn+Bt;break;default:{var Er=De.current.scrollTop,Sr=Er+Mn;LtSr&&(Cn="bottom")}}sn!==null&&Me(sn),sn!==Ct.lastTop&&(Dn=!0)}Dn&&Ut((0,le.Z)((0,le.Z)({},Ct),{},{times:Ct.times+1,targetAlign:Cn,lastTop:sn}))}},[Ct,De.current]),function($t){if($t==null){ot();return}if(He.Z.cancel(Qt.current),typeof $t=="number")Me($t);else if($t&&(0,he.Z)($t)==="object"){var fn,dn=$t.align;"index"in $t?fn=$t.index:fn=me.findIndex(function(Dn){return Ue(Dn)===$t.key});var Bt=$t.offset,Mn=Bt===void 0?0:Bt;Ut({times:0,index:fn,offset:Mn,originAlign:dn})}}}var en=Fe.forwardRef(function(De,me){var ce=De.prefixCls,Te=De.rtl,Ue=De.scrollOffset,ge=De.scrollRange,Me=De.onStartMove,ot=De.onStopMove,Qt=De.onScroll,At=De.horizontal,vt=De.spinSize,Ct=De.containerSize,Ut=De.style,$t=De.thumbStyle,fn=De.showScrollBar,dn=Fe.useState(!1),Bt=(0,be.Z)(dn,2),Mn=Bt[0],Dn=Bt[1],Cn=Fe.useState(null),sn=(0,be.Z)(Cn,2),An=sn[0],xn=sn[1],Lt=Fe.useState(null),qt=(0,be.Z)(Lt,2),zt=qt[0],bn=qt[1],Et=!Te,ft=Fe.useRef(),de=Fe.useRef(),wn=Fe.useState(fn),Un=(0,be.Z)(wn,2),mn=Un[0],Er=Un[1],Sr=Fe.useRef(),or=function(){fn===!0||fn===!1||(clearTimeout(Sr.current),Er(!0),Sr.current=setTimeout(function(){Er(!1)},3e3))},wr=ge-Ct||0,St=Ct-vt||0,Kn=Fe.useMemo(function(){if(Ue===0||wr===0)return 0;var Gr=Ue/wr;return Gr*St},[Ue,wr,St]),ir=function(la){la.stopPropagation(),la.preventDefault()},br=Fe.useRef({top:Kn,dragging:Mn,pageY:An,startTop:zt});br.current={top:Kn,dragging:Mn,pageY:An,startTop:zt};var qn=function(la){Dn(!0),xn(On(la,At)),bn(br.current.top),Me(),la.stopPropagation(),la.preventDefault()};Fe.useEffect(function(){var Gr=function(Yr){Yr.preventDefault()},la=ft.current,Hr=de.current;return la.addEventListener("touchstart",Gr,{passive:!1}),Hr.addEventListener("touchstart",qn,{passive:!1}),function(){la.removeEventListener("touchstart",Gr),Hr.removeEventListener("touchstart",qn)}},[]);var Ir=Fe.useRef();Ir.current=wr;var sr=Fe.useRef();sr.current=St,Fe.useEffect(function(){if(Mn){var Gr,la=function(Yr){var Wn=br.current,ur=Wn.dragging,_r=Wn.pageY,ea=Wn.startTop;He.Z.cancel(Gr);var Jt=ft.current.getBoundingClientRect(),pn=Ct/(At?Jt.width:Jt.height);if(ur){var kt=(On(Yr,At)-_r)*pn,tn=ea;!Et&&At?tn-=kt:tn+=kt;var Mt=Ir.current,rn=sr.current,lt=rn?tn/rn:0,ve=Math.ceil(lt*Mt);ve=Math.max(ve,0),ve=Math.min(ve,Mt),Gr=(0,He.Z)(function(){Qt(ve,At)})}},Hr=function(){Dn(!1),ot()};return window.addEventListener("mousemove",la,{passive:!0}),window.addEventListener("touchmove",la,{passive:!0}),window.addEventListener("mouseup",Hr,{passive:!0}),window.addEventListener("touchend",Hr,{passive:!0}),function(){window.removeEventListener("mousemove",la),window.removeEventListener("touchmove",la),window.removeEventListener("mouseup",Hr),window.removeEventListener("touchend",Hr),He.Z.cancel(Gr)}}},[Mn]),Fe.useEffect(function(){return or(),function(){clearTimeout(Sr.current)}},[Ue]),Fe.useImperativeHandle(me,function(){return{delayHidden:or}});var jn="".concat(ce,"-scrollbar"),$r={position:"absolute",visibility:mn?null:"hidden"},Jr={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return At?(Object.assign($r,{height:8,left:0,right:0,bottom:0}),Object.assign(Jr,(0,pe.Z)({height:"100%",width:vt},Et?"left":"right",Kn))):(Object.assign($r,(0,pe.Z)({width:8,top:0,bottom:0},Et?"right":"left",0)),Object.assign(Jr,{width:"100%",height:vt,top:Kn})),Fe.createElement("div",{ref:ft,className:Oe()(jn,(0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(jn,"-horizontal"),At),"".concat(jn,"-vertical"),!At),"".concat(jn,"-visible"),mn)),style:(0,le.Z)((0,le.Z)({},$r),Ut),onMouseDown:ir,onMouseMove:or},Fe.createElement("div",{ref:de,className:Oe()("".concat(jn,"-thumb"),(0,pe.Z)({},"".concat(jn,"-thumb-moving"),Mn)),style:(0,le.Z)((0,le.Z)({},Jr),$t),onMouseDown:qn}))}),on=en,it=20;function Ht(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ce=De/me*De;return isNaN(ce)&&(ce=0),ce=Math.max(ce,it),Math.floor(ce)}var Yt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Rn=[],ct={overflowY:"auto",overflowAnchor:"none"};function Sn(De,me){var ce=De.prefixCls,Te=ce===void 0?"rc-virtual-list":ce,Ue=De.className,ge=De.height,Me=De.itemHeight,ot=De.fullHeight,Qt=ot===void 0?!0:ot,At=De.style,vt=De.data,Ct=De.children,Ut=De.itemKey,$t=De.virtual,fn=De.direction,dn=De.scrollWidth,Bt=De.component,Mn=Bt===void 0?"div":Bt,Dn=De.onScroll,Cn=De.onVirtualScroll,sn=De.onVisibleChange,An=De.innerProps,xn=De.extraRender,Lt=De.styles,qt=De.showScrollBar,zt=qt===void 0?"optional":qt,bn=(0,fe.Z)(De,Yt),Et=Fe.useCallback(function(Jn){return typeof Ut=="function"?Ut(Jn):Jn==null?void 0:Jn[Ut]},[Ut]),ft=Ke(Et,null,null),de=(0,be.Z)(ft,4),wn=de[0],Un=de[1],mn=de[2],Er=de[3],Sr=!!($t!==!1&&ge&&Me),or=Fe.useMemo(function(){return Object.values(mn.maps).reduce(function(Jn,dr){return Jn+dr},0)},[mn.id,mn.maps]),wr=Sr&&vt&&(Math.max(Me*vt.length,or)>ge||!!dn),St=fn==="rtl",Kn=Oe()(Te,(0,pe.Z)({},"".concat(Te,"-rtl"),St),Ue),ir=vt||Rn,br=(0,Fe.useRef)(),qn=(0,Fe.useRef)(),Ir=(0,Fe.useRef)(),sr=(0,Fe.useState)(0),jn=(0,be.Z)(sr,2),$r=jn[0],Jr=jn[1],Gr=(0,Fe.useState)(0),la=(0,be.Z)(Gr,2),Hr=la[0],fa=la[1],Yr=(0,Fe.useState)(!1),Wn=(0,be.Z)(Yr,2),ur=Wn[0],_r=Wn[1],ea=function(){_r(!0)},Jt=function(){_r(!1)},pn={getKey:Et};function kt(Jn){Jr(function(dr){var fr;typeof Jn=="function"?fr=Jn(dr):fr=Jn;var tr=Tr(fr);return br.current.scrollTop=tr,tr})}var tn=(0,Fe.useRef)({start:0,end:ir.length}),Mt=(0,Fe.useRef)(),rn=Qe(ir,Et),lt=(0,be.Z)(rn,1),ve=lt[0];Mt.current=ve;var Ie=Fe.useMemo(function(){if(!Sr)return{scrollHeight:void 0,start:0,end:ir.length-1,offset:void 0};if(!wr){var Jn;return{scrollHeight:((Jn=qn.current)===null||Jn===void 0?void 0:Jn.offsetHeight)||0,start:0,end:ir.length-1,offset:void 0}}for(var dr=0,fr,tr,Ln,jr=ir.length,lr=0;lr=$r&&fr===void 0&&(fr=lr,tr=dr),Ea>$r+ge&&Ln===void 0&&(Ln=lr),dr=Ea}return fr===void 0&&(fr=0,tr=0,Ln=Math.ceil(ge/Me)),Ln===void 0&&(Ln=ir.length-1),Ln=Math.min(Ln+1,ir.length-1),{scrollHeight:dr,start:fr,end:Ln,offset:tr}},[wr,Sr,$r,ir,Er,ge]),Ft=Ie.scrollHeight,Pe=Ie.start,Ye=Ie.end,Xt=Ie.offset;tn.current.start=Pe,tn.current.end=Ye,Fe.useLayoutEffect(function(){var Jn=mn.getRecord();if(Jn.size===1){var dr=Array.from(Jn.keys())[0],fr=Jn.get(dr),tr=ir[Pe];if(tr&&fr===void 0){var Ln=Et(tr);if(Ln===dr){var jr=mn.get(dr),lr=jr-Me;kt(function(rr){return rr+lr})}}}mn.resetRecord()},[Ft]);var Wt=Fe.useState({width:0,height:ge}),Xn=(0,be.Z)(Wt,2),Qn=Xn[0],Pn=Xn[1],Nr=function(dr){Pn({width:dr.offsetWidth,height:dr.offsetHeight})},gn=(0,Fe.useRef)(),an=(0,Fe.useRef)(),pt=Fe.useMemo(function(){return Ht(Qn.width,dn)},[Qn.width,dn]),kn=Fe.useMemo(function(){return Ht(Qn.height,Ft)},[Qn.height,Ft]),Dt=Ft-ge,nr=(0,Fe.useRef)(Dt);nr.current=Dt;function Tr(Jn){var dr=Jn;return Number.isNaN(nr.current)||(dr=Math.min(dr,nr.current)),dr=Math.max(dr,0),dr}var pr=$r<=0,xr=$r>=Dt,er=Hr<=0,Dr=Hr>=dn,mr=tt(pr,xr,er,Dr),Xr=function(){return{x:St?-Hr:Hr,y:$r}},Vr=(0,Fe.useRef)(Xr()),Zr=(0,xe.zX)(function(Jn){if(Cn){var dr=(0,le.Z)((0,le.Z)({},Xr()),Jn);(Vr.current.x!==dr.x||Vr.current.y!==dr.y)&&(Cn(dr),Vr.current=dr)}});function vr(Jn,dr){var fr=Jn;dr?((0,xt.flushSync)(function(){fa(fr)}),Zr()):kt(fr)}function ta(Jn){var dr=Jn.currentTarget.scrollTop;dr!==$r&&kt(dr),Dn==null||Dn(Jn),Zr()}var Lr=function(dr){var fr=dr,tr=dn?dn-Qn.width:0;return fr=Math.max(fr,0),fr=Math.min(fr,tr),fr},sa=(0,xe.zX)(function(Jn,dr){dr?((0,xt.flushSync)(function(){fa(function(fr){var tr=fr+(St?-Jn:Jn);return Lr(tr)})}),Zr()):kt(function(fr){var tr=fr+Jn;return tr})}),Ur=gt(Sr,pr,xr,er,Dr,!!dn,sa),ua=(0,be.Z)(Ur,2),Vt=ua[0],Sa=ua[1];Nt(Sr,br,function(Jn,dr,fr,tr){var Ln=tr;return mr(Jn,dr,fr)?!1:!Ln||!Ln._virtualHandled?(Ln&&(Ln._virtualHandled=!0),Vt({preventDefault:function(){},deltaX:Jn?dr:0,deltaY:Jn?0:dr}),!0):!1}),wt(wr,br,function(Jn){kt(function(dr){return dr+Jn})}),(0,je.Z)(function(){function Jn(fr){var tr=pr&&fr.detail<0,Ln=xr&&fr.detail>0;Sr&&!tr&&!Ln&&fr.preventDefault()}var dr=br.current;return dr.addEventListener("wheel",Vt,{passive:!1}),dr.addEventListener("DOMMouseScroll",Sa,{passive:!0}),dr.addEventListener("MozMousePixelScroll",Jn,{passive:!1}),function(){dr.removeEventListener("wheel",Vt),dr.removeEventListener("DOMMouseScroll",Sa),dr.removeEventListener("MozMousePixelScroll",Jn)}},[Sr,pr,xr]),(0,je.Z)(function(){if(dn){var Jn=Lr(Hr);fa(Jn),Zr({x:Jn})}},[Qn.width,dn]);var ra=function(){var dr,fr;(dr=gn.current)===null||dr===void 0||dr.delayHidden(),(fr=an.current)===null||fr===void 0||fr.delayHidden()},ia=Ee(br,ir,mn,Me,Et,function(){return Un(!0)},kt,ra);Fe.useImperativeHandle(me,function(){return{nativeElement:Ir.current,getScrollInfo:Xr,scrollTo:function(dr){function fr(tr){return tr&&(0,he.Z)(tr)==="object"&&("left"in tr||"top"in tr)}fr(dr)?(dr.left!==void 0&&fa(Lr(dr.left)),ia(dr.top)):ia(dr)}}}),(0,je.Z)(function(){if(sn){var Jn=ir.slice(Pe,Ye+1);sn(Jn,ir)}},[Pe,Ye,ir]);var pa=rt(ir,Et,mn,Me),ma=xn==null?void 0:xn({start:Pe,end:Ye,virtual:wr,offsetX:Hr,offsetY:Xt,rtl:St,getSize:pa}),kr=Ge(ir,Pe,Ye,dn,Hr,wn,Ct,pn),Qr=null;ge&&(Qr=(0,le.Z)((0,pe.Z)({},Qt?"height":"maxHeight",ge),ct),Sr&&(Qr.overflowY="hidden",dn&&(Qr.overflowX="hidden"),ur&&(Qr.pointerEvents="none")));var Kr={};return St&&(Kr.dir="rtl"),Fe.createElement("div",(0,b.Z)({ref:Ir,style:(0,le.Z)((0,le.Z)({},At),{},{position:"relative"}),className:Kn},Kr,bn),Fe.createElement(Re.Z,{onResize:Nr},Fe.createElement(Mn,{className:"".concat(Te,"-holder"),style:Qr,ref:br,onScroll:ta,onMouseEnter:ra},Fe.createElement(et,{prefixCls:Te,height:Ft,offsetX:Hr,offsetY:Xt,scrollWidth:dn,onInnerResize:Un,ref:qn,innerProps:An,rtl:St,extra:ma},kr))),wr&&Ft>ge&&Fe.createElement(on,{ref:gn,prefixCls:Te,scrollOffset:$r,scrollRange:Ft,rtl:St,onScroll:vr,onStartMove:ea,onStopMove:Jt,spinSize:kn,containerSize:Qn.height,style:Lt==null?void 0:Lt.verticalScrollBar,thumbStyle:Lt==null?void 0:Lt.verticalScrollBarThumb,showScrollBar:zt}),wr&&dn>Qn.width&&Fe.createElement(on,{ref:an,prefixCls:Te,scrollOffset:Hr,scrollRange:dn,rtl:St,onScroll:vr,onStartMove:ea,onStopMove:Jt,spinSize:pt,containerSize:Qn.width,horizontal:!0,style:Lt==null?void 0:Lt.horizontalScrollBar,thumbStyle:Lt==null?void 0:Lt.horizontalScrollBarThumb,showScrollBar:zt}))}var Zt=Fe.forwardRef(Sn);Zt.displayName="List";var vn=Zt,un=vn},66328:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return $e}});var b=y(42244),he=y(77654),le=y(18642),pe=y(59301),be=y(60499);function fe(Ee,en){var on=Object.keys(Ee);if(Object.getOwnPropertySymbols){var it=Object.getOwnPropertySymbols(Ee);en&&(it=it.filter(function(Ht){return Object.getOwnPropertyDescriptor(Ee,Ht).enumerable})),on.push.apply(on,it)}return on}function we(Ee){for(var en=1;en=4)return[Ee[0],Ee[1],Ee[2],Ee[3],"".concat(Ee[0],".").concat(Ee[1]),"".concat(Ee[0],".").concat(Ee[2]),"".concat(Ee[0],".").concat(Ee[3]),"".concat(Ee[1],".").concat(Ee[0]),"".concat(Ee[1],".").concat(Ee[2]),"".concat(Ee[1],".").concat(Ee[3]),"".concat(Ee[2],".").concat(Ee[0]),"".concat(Ee[2],".").concat(Ee[1]),"".concat(Ee[2],".").concat(Ee[3]),"".concat(Ee[3],".").concat(Ee[0]),"".concat(Ee[3],".").concat(Ee[1]),"".concat(Ee[3],".").concat(Ee[2]),"".concat(Ee[0],".").concat(Ee[1],".").concat(Ee[2]),"".concat(Ee[0],".").concat(Ee[1],".").concat(Ee[3]),"".concat(Ee[0],".").concat(Ee[2],".").concat(Ee[1]),"".concat(Ee[0],".").concat(Ee[2],".").concat(Ee[3]),"".concat(Ee[0],".").concat(Ee[3],".").concat(Ee[1]),"".concat(Ee[0],".").concat(Ee[3],".").concat(Ee[2]),"".concat(Ee[1],".").concat(Ee[0],".").concat(Ee[2]),"".concat(Ee[1],".").concat(Ee[0],".").concat(Ee[3]),"".concat(Ee[1],".").concat(Ee[2],".").concat(Ee[0]),"".concat(Ee[1],".").concat(Ee[2],".").concat(Ee[3]),"".concat(Ee[1],".").concat(Ee[3],".").concat(Ee[0]),"".concat(Ee[1],".").concat(Ee[3],".").concat(Ee[2]),"".concat(Ee[2],".").concat(Ee[0],".").concat(Ee[1]),"".concat(Ee[2],".").concat(Ee[0],".").concat(Ee[3]),"".concat(Ee[2],".").concat(Ee[1],".").concat(Ee[0]),"".concat(Ee[2],".").concat(Ee[1],".").concat(Ee[3]),"".concat(Ee[2],".").concat(Ee[3],".").concat(Ee[0]),"".concat(Ee[2],".").concat(Ee[3],".").concat(Ee[1]),"".concat(Ee[3],".").concat(Ee[0],".").concat(Ee[1]),"".concat(Ee[3],".").concat(Ee[0],".").concat(Ee[2]),"".concat(Ee[3],".").concat(Ee[1],".").concat(Ee[0]),"".concat(Ee[3],".").concat(Ee[1],".").concat(Ee[2]),"".concat(Ee[3],".").concat(Ee[2],".").concat(Ee[0]),"".concat(Ee[3],".").concat(Ee[2],".").concat(Ee[1]),"".concat(Ee[0],".").concat(Ee[1],".").concat(Ee[2],".").concat(Ee[3]),"".concat(Ee[0],".").concat(Ee[1],".").concat(Ee[3],".").concat(Ee[2]),"".concat(Ee[0],".").concat(Ee[2],".").concat(Ee[1],".").concat(Ee[3]),"".concat(Ee[0],".").concat(Ee[2],".").concat(Ee[3],".").concat(Ee[1]),"".concat(Ee[0],".").concat(Ee[3],".").concat(Ee[1],".").concat(Ee[2]),"".concat(Ee[0],".").concat(Ee[3],".").concat(Ee[2],".").concat(Ee[1]),"".concat(Ee[1],".").concat(Ee[0],".").concat(Ee[2],".").concat(Ee[3]),"".concat(Ee[1],".").concat(Ee[0],".").concat(Ee[3],".").concat(Ee[2]),"".concat(Ee[1],".").concat(Ee[2],".").concat(Ee[0],".").concat(Ee[3]),"".concat(Ee[1],".").concat(Ee[2],".").concat(Ee[3],".").concat(Ee[0]),"".concat(Ee[1],".").concat(Ee[3],".").concat(Ee[0],".").concat(Ee[2]),"".concat(Ee[1],".").concat(Ee[3],".").concat(Ee[2],".").concat(Ee[0]),"".concat(Ee[2],".").concat(Ee[0],".").concat(Ee[1],".").concat(Ee[3]),"".concat(Ee[2],".").concat(Ee[0],".").concat(Ee[3],".").concat(Ee[1]),"".concat(Ee[2],".").concat(Ee[1],".").concat(Ee[0],".").concat(Ee[3]),"".concat(Ee[2],".").concat(Ee[1],".").concat(Ee[3],".").concat(Ee[0]),"".concat(Ee[2],".").concat(Ee[3],".").concat(Ee[0],".").concat(Ee[1]),"".concat(Ee[2],".").concat(Ee[3],".").concat(Ee[1],".").concat(Ee[0]),"".concat(Ee[3],".").concat(Ee[0],".").concat(Ee[1],".").concat(Ee[2]),"".concat(Ee[3],".").concat(Ee[0],".").concat(Ee[2],".").concat(Ee[1]),"".concat(Ee[3],".").concat(Ee[1],".").concat(Ee[0],".").concat(Ee[2]),"".concat(Ee[3],".").concat(Ee[1],".").concat(Ee[2],".").concat(Ee[0]),"".concat(Ee[3],".").concat(Ee[2],".").concat(Ee[0],".").concat(Ee[1]),"".concat(Ee[3],".").concat(Ee[2],".").concat(Ee[1],".").concat(Ee[0])]}var Re={};function xe(Ee){if(Ee.length===0||Ee.length===1)return Ee;var en=Ee.join(".");return Re[en]||(Re[en]=Oe(Ee)),Re[en]}function je(Ee){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=arguments.length>2?arguments[2]:void 0,it=Ee.filter(function(Yt){return Yt!=="token"}),Ht=xe(it);return Ht.reduce(function(Yt,Rn){return we(we({},Yt),on[Rn])},en)}function Fe(Ee){return Ee.join(" ")}function xt(Ee,en){var on=0;return function(it){return on+=1,it.map(function(Ht,Yt){return nt({node:Ht,stylesheet:Ee,useInlineStyles:en,key:"code-segment-".concat(on,"-").concat(Yt)})})}}function nt(Ee){var en=Ee.node,on=Ee.stylesheet,it=Ee.style,Ht=it===void 0?{}:it,Yt=Ee.useInlineStyles,Rn=Ee.key,ct=en.properties,Sn=en.type,Zt=en.tagName,vn=en.value;if(Sn==="text")return vn;if(Zt){var un=xt(on,Yt),De;if(!Yt)De=we(we({},ct),{},{className:Fe(ct.className)});else{var me=Object.keys(on).reduce(function(ge,Me){return Me.split(".").forEach(function(ot){ge.includes(ot)||ge.push(ot)}),ge},[]),ce=ct.className&&ct.className.includes("token")?["token"]:[],Te=ct.className&&ce.concat(ct.className.filter(function(ge){return!me.includes(ge)}));De=we(we({},ct),{},{className:Fe(Te)||void 0,style:je(ct.className,Object.assign({},ct.style,Ht),on)})}var Ue=un(en.children);return pe.createElement(Zt,(0,be.Z)({key:Rn},De),Ue)}}var et=function(Ee,en){var on=Ee.listLanguages();return on.indexOf(en)!==-1},Je=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Ge(Ee,en){var on=Object.keys(Ee);if(Object.getOwnPropertySymbols){var it=Object.getOwnPropertySymbols(Ee);en&&(it=it.filter(function(Ht){return Object.getOwnPropertyDescriptor(Ee,Ht).enumerable})),on.push.apply(on,it)}return on}function We(Ee){for(var en=1;en1&&arguments[1]!==void 0?arguments[1]:[],on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],it=0;it2&&arguments[2]!==void 0?arguments[2]:[];return rt({children:At,lineNumber:vt,lineNumberStyle:ct,largestLineNumber:Rn,showInlineLineNumbers:Ht,lineProps:on,className:Ct,showLineNumbers:it,wrapLongLines:Sn,wrapLines:en})}function Te(At,vt){if(it&&vt&&Ht){var Ct=gt(ct,vt,Rn);At.unshift(tt(vt,Ct))}return At}function Ue(At,vt){var Ct=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return en||Ct.length>0?ce(At,vt,Ct):Te(At,vt)}for(var ge=function(){var vt=vn[me],Ct=vt.children[0].value,Ut=Qe(Ct);if(Ut){var $t=Ct.split(` -`);$t.forEach(function(fn,dn){var Bt=it&&un.length+Yt,Mn={type:"text",value:"".concat(fn,` -`)};if(dn===0){var Dn=vn.slice(De+1,me).concat(rt({children:[Mn],className:vt.properties.className})),Cn=Ue(Dn,Bt);un.push(Cn)}else if(dn===$t.length-1){var sn=vn[me+1]&&vn[me+1].children&&vn[me+1].children[0],An={type:"text",value:"".concat(fn)};if(sn){var xn=rt({children:[An],className:vt.properties.className});vn.splice(me+1,0,xn)}else{var Lt=[An],qt=Ue(Lt,Bt,vt.properties.className);un.push(qt)}}else{var zt=[Mn],bn=Ue(zt,Bt,vt.properties.className);un.push(bn)}}),De=me}me++};me code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Nt=y(11594),Kt=y.n(Nt),On=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],wt=Ke(Kt(),Rt);wt.supportedLanguages=On;var $e=wt},18369:function(Ce,ae){"use strict";ae.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(Ce,ae,y){"use strict";y(84126);var b=y(59301),he=60103;if(ae.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var le=Symbol.for;he=le("react.element"),ae.Fragment=le("react.fragment")}var pe=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,be=Object.prototype.hasOwnProperty,fe={key:!0,ref:!0,__self:!0,__source:!0};function we(Oe,Re,xe){var je,Fe={},xt=null,nt=null;xe!==void 0&&(xt=""+xe),Re.key!==void 0&&(xt=""+Re.key),Re.ref!==void 0&&(nt=Re.ref);for(je in Re)be.call(Re,je)&&!fe.hasOwnProperty(je)&&(Fe[je]=Re[je]);if(Oe&&Oe.defaultProps)for(je in Re=Oe.defaultProps,Re)Fe[je]===void 0&&(Fe[je]=Re[je]);return{$$typeof:he,type:Oe,key:xt,ref:nt,props:Fe,_owner:pe.current}}ae.jsx=we,ae.jsxs=we},37712:function(Ce,ae,y){"use strict";Ce.exports=y(19524)},95489:function(Ce,ae,y){"use strict";var b=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof y.g=="object"?y.g:{},he=_e();b.Prism={manual:!0,disableWorkerMessageHandler:!0};var le=y(43621),pe=y(12256),be=y(68398),fe=y(70614),we=y(54212),Oe=y(9720),Re=y(88786);he();var xe={}.hasOwnProperty;function je(){}je.prototype=be;var Fe=new je;Ce.exports=Fe,Fe.highlight=et,Fe.register=xt,Fe.alias=nt,Fe.registered=Je,Fe.listLanguages=Ge,xt(fe),xt(we),xt(Oe),xt(Re),Fe.util.encode=Qe,Fe.Token.stringify=We;function xt(Ze){if(typeof Ze!="function"||!Ze.displayName)throw new Error("Expected `function` for `grammar`, got `"+Ze+"`");Fe.languages[Ze.displayName]===void 0&&Ze(Fe)}function nt(Ze,tt){var gt=Fe.languages,rt=Ze,It,mt,ut,Tt;tt&&(rt={},rt[Ze]=tt);for(It in rt)for(mt=rt[It],mt=typeof mt=="string"?[mt]:mt,ut=mt.length,Tt=-1;++Tt]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(Ce){"use strict";Ce.exports=ae,ae.displayName="abnf",ae.aliases=[];function ae(y){(function(b){var he="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";b.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+he+"|<"+he+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(y)}},42746:function(Ce){"use strict";Ce.exports=ae,ae.displayName="actionscript",ae.aliases=[];function ae(y){y.languages.actionscript=y.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),y.languages.actionscript["class-name"].alias="function",delete y.languages.actionscript.parameter,delete y.languages.actionscript["literal-property"],y.languages.markup&&y.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:y.languages.markup}})}},93281:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ada",ae.aliases=[];function ae(y){y.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(Ce){"use strict";Ce.exports=ae,ae.displayName="agda",ae.aliases=[];function ae(y){(function(b){b.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(y)}},65924:function(Ce){"use strict";Ce.exports=ae,ae.displayName="al",ae.aliases=[];function ae(y){y.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(Ce){"use strict";Ce.exports=ae,ae.displayName="antlr4",ae.aliases=["g4"];function ae(y){y.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},y.languages.g4=y.languages.antlr4}},43556:function(Ce){"use strict";Ce.exports=ae,ae.displayName="apacheconf",ae.aliases=[];function ae(y){y.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(Ce,ae,y){"use strict";var b=y(69435);Ce.exports=he,he.displayName="apex",he.aliases=[];function he(le){le.register(b),function(pe){var be=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,fe=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return be.source});function we(Re){return RegExp(Re.replace(//g,function(){return fe}),"i")}var Oe={keyword:be,punctuation:/[()\[\]{};,:.<>]/};pe.languages.apex={comment:pe.languages.clike.comment,string:pe.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:pe.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:we(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:Oe},{pattern:we(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:Oe},{pattern:we(/(?=\s*\w+\s*[;=,(){:])/.source),inside:Oe}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:be,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(le)}},4248:function(Ce){"use strict";Ce.exports=ae,ae.displayName="apl",ae.aliases=[];function ae(y){y.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(Ce){"use strict";Ce.exports=ae,ae.displayName="applescript",ae.aliases=[];function ae(y){y.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(Ce){"use strict";Ce.exports=ae,ae.displayName="aql",ae.aliases=[];function ae(y){y.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(Ce,ae,y){"use strict";var b=y(87071);Ce.exports=he,he.displayName="arduino",he.aliases=["ino"];function he(le){le.register(b),le.languages.arduino=le.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),le.languages.ino=le.languages.arduino}},22956:function(Ce){"use strict";Ce.exports=ae,ae.displayName="arff",ae.aliases=[];function ae(y){y.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(Ce){"use strict";Ce.exports=ae,ae.displayName="asciidoc",ae.aliases=["adoc"];function ae(y){(function(b){var he={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},le=b.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:he,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:he.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:he,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function pe(be){be=be.split(" ");for(var fe={},we=0,Oe=be.length;we>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(Ce,ae,y){"use strict";var b=y(87648);Ce.exports=he,he.displayName="aspnet",he.aliases=[];function he(le){le.register(b),le.languages.aspnet=le.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:le.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:le.languages.csharp}}}),le.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,le.languages.insertBefore("inside","punctuation",{directive:le.languages.aspnet.directive},le.languages.aspnet.tag.inside["attr-value"]),le.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),le.languages.insertBefore("aspnet",le.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:le.languages.csharp||{}}})}},20803:function(Ce){"use strict";Ce.exports=ae,ae.displayName="autohotkey",ae.aliases=[];function ae(y){y.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(Ce){"use strict";Ce.exports=ae,ae.displayName="autoit",ae.aliases=[];function ae(y){y.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(Ce){"use strict";Ce.exports=ae,ae.displayName="avisynth",ae.aliases=["avs"];function ae(y){(function(b){function he(Re,xe){return Re.replace(/<<(\d+)>>/g,function(je,Fe){return xe[+Fe]})}function le(Re,xe,je){return RegExp(he(Re,xe),je||"")}var pe=/bool|clip|float|int|string|val/.source,be=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),fe=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),we=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),Oe=[be,fe,we].join("|");b.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:le(/\b(?:<<0>>)\s+("?)\w+\1/.source,[pe],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:le(/\b(?:<<0>>)\b/.source,[Oe],"i"),alias:"function"},"type-cast":{pattern:le(/\b(?:<<0>>)(?=\s*\()/.source,[pe],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},b.languages.avs=b.languages.avisynth})(y)}},79571:function(Ce){"use strict";Ce.exports=ae,ae.displayName="avroIdl",ae.aliases=[];function ae(y){y.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},y.languages.avdl=y.languages["avro-idl"]}},3058:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bash",ae.aliases=["shell"];function ae(y){(function(b){var he="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",le={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},pe={bash:le,environment:{pattern:RegExp("\\$"+he),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+he),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};b.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+he),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:pe},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:le}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:pe},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:pe.entity}}],environment:{pattern:RegExp("\\$?"+he),alias:"constant"},variable:pe.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},le.inside=b.languages.bash;for(var be=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],fe=pe.variable[1].inside,we=0;we?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(Ce){"use strict";Ce.exports=ae,ae.displayName="batch",ae.aliases=[];function ae(y){(function(b){var he=/%%?[~:\w]+%?|!\S+!/,le={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},pe=/"(?:[\\"]"|[^"])*"(?!")/,be=/(?:\b|-)\d+\b/;b.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:pe,parameter:le,variable:he,number:be,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:pe,parameter:le,variable:he,number:be,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:pe,parameter:le,variable:[he,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:be,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:pe,parameter:le,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:he,number:be,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(y)}},2505:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bbcode",ae.aliases=["shortcode"];function ae(y){y.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},y.languages.shortcode=y.languages.bbcode}},51274:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bicep",ae.aliases=[];function ae(y){y.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},y.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=y.languages.bicep}},23796:function(Ce){"use strict";Ce.exports=ae,ae.displayName="birb",ae.aliases=[];function ae(y){y.languages.birb=y.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),y.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=he,he.displayName="bison",he.aliases=[];function he(le){le.register(b),le.languages.bison=le.languages.extend("c",{}),le.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:le.languages.c}},comment:le.languages.c.comment,string:le.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bnf",ae.aliases=["rbnf"];function ae(y){y.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},y.languages.rbnf=y.languages.bnf}},47035:function(Ce){"use strict";Ce.exports=ae,ae.displayName="brainfuck",ae.aliases=[];function ae(y){y.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(Ce){"use strict";Ce.exports=ae,ae.displayName="brightscript",ae.aliases=[];function ae(y){y.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},y.languages.brightscript["directive-statement"].inside.expression.inside=y.languages.brightscript}},85290:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bro",ae.aliases=[];function ae(y){y.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bsl",ae.aliases=[];function ae(y){y.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},y.languages.oscript=y.languages.bsl}},79440:function(Ce){"use strict";Ce.exports=ae,ae.displayName="c",ae.aliases=[];function ae(y){y.languages.c=y.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),y.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),y.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},y.languages.c.string],char:y.languages.c.char,comment:y.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:y.languages.c}}}}),y.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete y.languages.c.boolean}},7110:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cfscript",ae.aliases=[];function ae(y){y.languages.cfscript=y.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),y.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete y.languages.cfscript["class-name"],y.languages.cfc=y.languages.cfscript}},73435:function(Ce,ae,y){"use strict";var b=y(87071);Ce.exports=he,he.displayName="chaiscript",he.aliases=[];function he(le){le.register(b),le.languages.chaiscript=le.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[le.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),le.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),le.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:le.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cil",ae.aliases=[];function ae(y){y.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(Ce){"use strict";Ce.exports=ae,ae.displayName="clike",ae.aliases=[];function ae(y){y.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(Ce){"use strict";Ce.exports=ae,ae.displayName="clojure",ae.aliases=[];function ae(y){y.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cmake",ae.aliases=[];function ae(y){y.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?: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|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|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|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|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|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cobol",ae.aliases=[];function ae(y){y.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(Ce){"use strict";Ce.exports=ae,ae.displayName="coffeescript",ae.aliases=["coffee"];function ae(y){(function(b){var he=/#(?!\{).+/,le={pattern:/#\{[^}]+\}/,alias:"variable"};b.languages.coffeescript=b.languages.extend("javascript",{comment:he,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:le}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),b.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:he,interpolation:le}}}),b.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:b.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:le}}]}),b.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete b.languages.coffeescript["template-string"],b.languages.coffee=b.languages.coffeescript})(y)}},35348:function(Ce){"use strict";Ce.exports=ae,ae.displayName="concurnas",ae.aliases=["conc"];function ae(y){y.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},y.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:y.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:y.languages.concurnas},string:/[\s\S]+/}}}),y.languages.conc=y.languages.concurnas}},26841:function(Ce){"use strict";Ce.exports=ae,ae.displayName="coq",ae.aliases=[];function ae(y){(function(b){for(var he=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,le=0;le<2;le++)he=he.replace(//g,function(){return he});he=he.replace(//g,"[]"),b.languages.coq={comment:RegExp(he),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return he})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(he),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(y)}},87071:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=he,he.displayName="cpp",he.aliases=[];function he(le){le.register(b),function(pe){var be=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,fe=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return be.source});pe.languages.cpp=pe.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return be.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:be,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),pe.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return fe})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),pe.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:pe.languages.cpp}}}}),pe.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),pe.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:pe.languages.extend("cpp",{})}}),pe.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},pe.languages.cpp["base-clause"])}(le)}},13652:function(Ce,ae,y){"use strict";var b=y(75308);Ce.exports=he,he.displayName="crystal",he.aliases=[];function he(le){le.register(b),function(pe){pe.languages.crystal=pe.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,pe.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),pe.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:pe.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:pe.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(le)}},87648:function(Ce){"use strict";Ce.exports=ae,ae.displayName="csharp",ae.aliases=["dotnet","cs"];function ae(y){(function(b){function he(On,wt){return On.replace(/<<(\d+)>>/g,function($e,Ee){return"(?:"+wt[+Ee]+")"})}function le(On,wt,$e){return RegExp(he(On,wt),$e||"")}function pe(On,wt){for(var $e=0;$e>/g,function(){return"(?:"+On+")"});return On.replace(/<>/g,"[^\\s\\S]")}var be={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function fe(On){return"\\b(?:"+On.trim().replace(/ /g,"|")+")\\b"}var we=fe(be.typeDeclaration),Oe=RegExp(fe(be.type+" "+be.typeDeclaration+" "+be.contextual+" "+be.other)),Re=fe(be.typeDeclaration+" "+be.contextual+" "+be.other),xe=fe(be.type+" "+be.typeDeclaration+" "+be.other),je=pe(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),Fe=pe(/\((?:[^()]|<>)*\)/.source,2),xt=/@?\b[A-Za-z_]\w*\b/.source,nt=he(/<<0>>(?:\s*<<1>>)?/.source,[xt,je]),et=he(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Re,nt]),Je=/\[\s*(?:,\s*)*\]/.source,Ge=he(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[et,Je]),We=he(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[je,Fe,Je]),Ve=he(/\(<<0>>+(?:,<<0>>+)+\)/.source,[We]),Qe=he(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[Ve,et,Je]),He={keyword:Oe,punctuation:/[<>()?,.:[\]]/},_e=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,Ze=/"(?:\\.|[^\\"\r\n])*"/.source,tt=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;b.languages.csharp=b.languages.extend("clike",{string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[tt]),lookbehind:!0,greedy:!0},{pattern:le(/(^|[^@$\\])<<0>>/.source,[Ze]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[et]),lookbehind:!0,inside:He},{pattern:le(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[xt,Qe]),lookbehind:!0,inside:He},{pattern:le(/(\busing\s+)<<0>>(?=\s*=)/.source,[xt]),lookbehind:!0},{pattern:le(/(\b<<0>>\s+)<<1>>/.source,[we,nt]),lookbehind:!0,inside:He},{pattern:le(/(\bcatch\s*\(\s*)<<0>>/.source,[et]),lookbehind:!0,inside:He},{pattern:le(/(\bwhere\s+)<<0>>/.source,[xt]),lookbehind:!0},{pattern:le(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[Ge]),lookbehind:!0,inside:He},{pattern:le(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Qe,xe,xt]),inside:He}],keyword:Oe,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),b.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),b.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:le(/([(,]\s*)<<0>>(?=\s*:)/.source,[xt]),lookbehind:!0,alias:"punctuation"}}),b.languages.insertBefore("csharp","class-name",{namespace:{pattern:le(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[xt]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:le(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[Fe]),lookbehind:!0,alias:"class-name",inside:He},"return-type":{pattern:le(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Qe,et]),inside:He,alias:"class-name"},"constructor-invocation":{pattern:le(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Qe]),lookbehind:!0,inside:He,alias:"class-name"},"generic-method":{pattern:le(/<<0>>\s*<<1>>(?=\s*\()/.source,[xt,je]),inside:{function:le(/^<<0>>/.source,[xt]),generic:{pattern:RegExp(je),alias:"class-name",inside:He}}},"type-list":{pattern:le(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[we,nt,xt,Qe,Oe.source,Fe,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:le(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[nt,Fe]),lookbehind:!0,greedy:!0,inside:b.languages.csharp},keyword:Oe,"class-name":{pattern:RegExp(Qe),greedy:!0,inside:He},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var gt=Ze+"|"+_e,rt=he(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[gt]),It=pe(he(/[^"'/()]|<<0>>|\(<>*\)/.source,[rt]),2),mt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ut=he(/<<0>>(?:\s*\(<<1>>*\))?/.source,[et,It]);b.languages.insertBefore("csharp","class-name",{attribute:{pattern:le(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[mt,ut]),lookbehind:!0,greedy:!0,inside:{target:{pattern:le(/^<<0>>(?=\s*:)/.source,[mt]),alias:"keyword"},"attribute-arguments":{pattern:le(/\(<<0>>*\)/.source,[It]),inside:b.languages.csharp},"class-name":{pattern:RegExp(et),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Tt=/:[^}\r\n]+/.source,_t=pe(he(/[^"'/()]|<<0>>|\(<>*\)/.source,[rt]),2),Ke=he(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[_t,Tt]),Rt=pe(he(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[gt]),2),Nt=he(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Rt,Tt]);function Kt(On,wt){return{interpolation:{pattern:le(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[On]),lookbehind:!0,inside:{"format-string":{pattern:le(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[wt,Tt]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:b.languages.csharp}}},string:/[\s\S]+/}}b.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:le(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Ke]),lookbehind:!0,greedy:!0,inside:Kt(Ke,_t)},{pattern:le(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Nt]),lookbehind:!0,greedy:!0,inside:Kt(Nt,Rt)}],char:{pattern:RegExp(_e),greedy:!0}}),b.languages.dotnet=b.languages.cs=b.languages.csharp})(y)}},10617:function(Ce,ae,y){"use strict";var b=y(87648);Ce.exports=he,he.displayName="cshtml",he.aliases=["razor"];function he(le){le.register(b),function(pe){var be=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,fe=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function we(Ge,We){for(var Ve=0;Ve/g,function(){return"(?:"+Ge+")"});return Ge.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+fe+")").replace(//g,"(?:"+be+")")}var Oe=we(/\((?:[^()'"@/]|||)*\)/.source,2),Re=we(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),xe=we(/\{(?:[^{}'"@/]|||)*\}/.source,2),je=we(/<(?:[^<>'"@/]|||)*>/.source,2),Fe=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,xt=/(?!\d)[^\s>\/=$<%]+/.source+Fe+/\s*\/?>/.source,nt=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+Fe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+xt+"|"+we(/<\1/.source+Fe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+xt+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},b.languages.css.atrule.inside["selector-function-argument"].inside=le,b.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var pe={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},be={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};b.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:pe,number:be,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:pe,number:be})})(y)}},54212:function(Ce){"use strict";Ce.exports=ae,ae.displayName="css",ae.aliases=[];function ae(y){(function(b){var he=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;b.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+he.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+he.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+he.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:he,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css;var le=b.languages.markup;le&&(le.tag.addInlined("style","css"),le.tag.addAttribute("style","css"))})(y)}},69820:function(Ce){"use strict";Ce.exports=ae,ae.displayName="csv",ae.aliases=[];function ae(y){y.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cypher",ae.aliases=[];function ae(y){y.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(Ce){"use strict";Ce.exports=ae,ae.displayName="d",ae.aliases=[];function ae(y){y.languages.d=y.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),y.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),y.languages.insertBefore("d","keyword",{property:/\B@\w*/}),y.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dart",ae.aliases=[];function ae(y){(function(b){var he=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,pe={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};b.languages.dart=b.languages.extend("clike",{"class-name":[pe,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:pe.inside}],keyword:he,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),b.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.dart}}},string:/[\s\S]+/}},string:void 0}),b.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),b.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":pe,keyword:he,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(y)}},22117:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dataweave",ae.aliases=[];function ae(y){(function(b){b.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(y)}},95627:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dax",ae.aliases=[];function ae(y){y.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dhall",ae.aliases=[];function ae(y){y.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},y.languages.dhall.string.inside.interpolation.inside.expression.inside=y.languages.dhall}},50618:function(Ce){"use strict";Ce.exports=ae,ae.displayName="diff",ae.aliases=[];function ae(y){(function(b){b.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var he={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(he).forEach(function(le){var pe=he[le],be=[];/^\w+$/.test(le)||be.push(/\w+/.exec(le)[0]),le==="diff"&&be.push("bold"),b.languages.diff[le]={pattern:RegExp("^(?:["+pe+`].*(?:\r +`,Ze=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],Qe={},ze;function _e(Rt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tn=Rt.getAttribute("id")||Rt.getAttribute("data-reactid")||Rt.getAttribute("name");if(Zt&&Qe[Tn])return Qe[Tn];var Tt=window.getComputedStyle(Rt),Ye=Tt.getPropertyValue("box-sizing")||Tt.getPropertyValue("-moz-box-sizing")||Tt.getPropertyValue("-webkit-box-sizing"),Se=parseFloat(Tt.getPropertyValue("padding-bottom"))+parseFloat(Tt.getPropertyValue("padding-top")),Qt=parseFloat(Tt.getPropertyValue("border-bottom-width"))+parseFloat(Tt.getPropertyValue("border-top-width")),on=Ze.map(function(Ut){return"".concat(Ut,":").concat(Tt.getPropertyValue(Ut))}).join(";"),st={sizingStyle:on,paddingSize:Se,borderSize:Qt,boxSizing:Ye};return Zt&&Tn&&(Qe[Tn]=st),st}function $e(Rt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,Tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ze||(ze=document.createElement("textarea"),ze.setAttribute("tab-index","-1"),ze.setAttribute("aria-hidden","true"),ze.setAttribute("name","hiddenTextarea"),document.body.appendChild(ze)),Rt.getAttribute("wrap")?ze.setAttribute("wrap",Rt.getAttribute("wrap")):ze.removeAttribute("wrap");var Ye=_e(Rt,Zt),Se=Ye.paddingSize,Qt=Ye.borderSize,on=Ye.boxSizing,st=Ye.sizingStyle;ze.setAttribute("style","".concat(st,";").concat(Ve)),ze.value=Rt.value||Rt.placeholder||"";var Ut=void 0,Gt=void 0,On,ft=ze.scrollHeight;if(on==="border-box"?ft+=Qt:on==="content-box"&&(ft-=Se),Tn!==null||Tt!==null){ze.value=" ";var En=ze.scrollHeight-Se;Tn!==null&&(Ut=En*Tn,on==="border-box"&&(Ut=Ut+Se+Qt),ft=Math.max(Ut,ft)),Tt!==null&&(Gt=En*Tt,on==="border-box"&&(Gt=Gt+Se+Qt),On=ft>Gt?"":"hidden",ft=Math.min(Gt,ft))}var Ht={height:ft,overflowY:On,resize:"none"};return Ut&&(Ht.minHeight=Ut),Gt&&(Ht.maxHeight=Gt),Ht}var nt=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],bt=0,it=1,Nt=2,vt=At.forwardRef(function(Rt,Zt){var Tn=Rt,Tt=Tn.prefixCls,Ye=Tn.defaultValue,Se=Tn.value,Qt=Tn.autoSize,on=Tn.onResize,st=Tn.className,Ut=Tn.style,Gt=Tn.disabled,On=Tn.onChange,ft=Tn.onInternalAutoSize,En=(0,fe.Z)(Tn,nt),Ht=(0,Fe.Z)(Ye,{value:Se,postState:function(Yt){return Yt!=null?Yt:""}}),gn=(0,be.Z)(Ht,2),un=gn[0],De=gn[1],he=function(Yt){De(Yt.target.value),On==null||On(Yt)},ce=At.useRef();At.useImperativeHandle(Zt,function(){return{textArea:ce.current}});var Te=At.useMemo(function(){return Qt&&(0,at.Z)(Qt)==="object"?[Qt.minRows,Qt.maxRows]:[]},[Qt]),je=(0,be.Z)(Te,2),ge=je[0],Pe=je[1],ct=!!Qt,$t=function(){try{if(document.activeElement===ce.current){var Yt=ce.current,Ft=Yt.selectionStart,vn=Yt.selectionEnd,Ct=Yt.scrollTop;ce.current.setSelectionRange(Ft,vn),ce.current.scrollTop=Ct}}catch(pt){}},gt=At.useState(Nt),yt=(0,be.Z)(gt,2),Dt=yt[0],Pt=yt[1],Wt=At.useState(),pn=(0,be.Z)(Wt,2),fn=pn[0],Mt=pn[1],Ln=function(){Pt(bt)};(0,Je.Z)(function(){ct&&Ln()},[Se,ge,Pe,ct]),(0,Je.Z)(function(){if(Dt===bt)Pt(it);else if(Dt===it){var kt=$e(ce.current,!1,ge,Pe);Pt(Nt),Mt(kt)}else $t()},[Dt]);var kn=At.useRef(),wn=function(){We.Z.cancel(kn.current)},ln=function(Yt){Dt===Nt&&(on==null||on(Yt),Qt&&(wn(),kn.current=(0,We.Z)(function(){Ln()})))};At.useEffect(function(){return wn},[]);var In=ct?fn:null,xn=(0,le.Z)((0,le.Z)({},Ut),In);return(Dt===bt||Dt===it)&&(xn.overflowY="hidden",xn.overflowX="hidden"),At.createElement(tt.Z,{onResize:ln,disabled:!(Qt||on)},At.createElement("textarea",(0,b.Z)({},En,{ref:ce,style:xn,className:Oe()(Tt,st,(0,me.Z)({},"".concat(Tt,"-disabled"),Gt)),disabled:Gt,value:un,onChange:he})))}),dt=vt,It=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],St=At.forwardRef(function(Rt,Zt){var Tn,Tt=Rt.defaultValue,Ye=Rt.value,Se=Rt.onFocus,Qt=Rt.onBlur,on=Rt.onChange,st=Rt.allowClear,Ut=Rt.maxLength,Gt=Rt.onCompositionStart,On=Rt.onCompositionEnd,ft=Rt.suffix,En=Rt.prefixCls,Ht=En===void 0?"rc-textarea":En,gn=Rt.showCount,un=Rt.count,De=Rt.className,he=Rt.style,ce=Rt.disabled,Te=Rt.hidden,je=Rt.classNames,ge=Rt.styles,Pe=Rt.onResize,ct=Rt.onClear,$t=Rt.onPressEnter,gt=Rt.readOnly,yt=Rt.autoSize,Dt=Rt.onKeyDown,Pt=(0,fe.Z)(Rt,It),Wt=(0,Fe.Z)(Tt,{value:Ye,defaultValue:Tt}),pn=(0,be.Z)(Wt,2),fn=pn[0],Mt=pn[1],Ln=fn==null?"":String(fn),kn=At.useState(!1),wn=(0,be.Z)(kn,2),ln=wn[0],In=wn[1],xn=At.useRef(!1),kt=At.useState(null),Yt=(0,be.Z)(kt,2),Ft=Yt[0],vn=Yt[1],Ct=(0,At.useRef)(null),pt=(0,At.useRef)(null),de=function(){var sr;return(sr=pt.current)===null||sr===void 0?void 0:sr.textArea},qt=function(){de().focus()};(0,At.useImperativeHandle)(Zt,function(){var jn;return{resizableTextArea:pt.current,focus:qt,blur:function(){de().blur()},nativeElement:((jn=Ct.current)===null||jn===void 0?void 0:jn.nativeElement)||de()}}),(0,At.useEffect)(function(){In(function(jn){return!ce&&jn})},[ce]);var Dn=At.useState(null),mn=(0,be.Z)(Dn,2),vr=mn[0],yr=mn[1];At.useEffect(function(){if(vr){var jn;(jn=de()).setSelectionRange.apply(jn,(0,pe.Z)(vr))}},[vr]);var ar=(0,xe.Z)(un,gn),Er=(Tn=ar.max)!==null&&Tn!==void 0?Tn:Ut,wt=Number(Er)>0,Qn=ar.strategy(Ln),lr=!!Er&&Qn>Er,cr=function(sr,Kr){var zr=Kr;!xn.current&&ar.exceedFormatter&&ar.max&&ar.strategy(Kr)>ar.max&&(zr=ar.exceedFormatter(Kr,{max:ar.max}),Kr!==zr&&yr([de().selectionStart||0,de().selectionEnd||0])),Mt(zr),(0,Ge.rJ)(sr.currentTarget,sr,on,zr)},Yn=function(sr){xn.current=!0,Gt==null||Gt(sr)},Sr=function(sr){xn.current=!1,cr(sr,sr.currentTarget.value),On==null||On(sr)},br=function(sr){cr(sr,sr.target.value)},Nr=function(sr){sr.key==="Enter"&&$t&&$t(sr),Dt==null||Dt(sr)},Jr=function(sr){In(!0),Se==null||Se(sr)},$r=function(sr){In(!1),Qt==null||Qt(sr)},Ur=function(sr){Mt(""),qt(),(0,Ge.rJ)(de(),sr,on)},aa=ft,Hr;ar.show&&(ar.showFormatter?Hr=ar.showFormatter({value:Ln,count:Qn,maxLength:Er}):Hr="".concat(Qn).concat(wt?" / ".concat(Er):""),aa=At.createElement(At.Fragment,null,aa,At.createElement("span",{className:Oe()("".concat(Ht,"-data-count"),je==null?void 0:je.count),style:ge==null?void 0:ge.count},Hr)));var pa=function(sr){var Kr;Pe==null||Pe(sr),(Kr=de())!==null&&Kr!==void 0&&Kr.style.height&&vn(!0)},ea=!yt&&!gn&&!st;return At.createElement(Re.BaseInput,{ref:Ct,value:Ln,allowClear:st,handleReset:Ur,suffix:aa,prefixCls:Ht,classNames:(0,le.Z)((0,le.Z)({},je),{},{affixWrapper:Oe()(je==null?void 0:je.affixWrapper,(0,me.Z)((0,me.Z)({},"".concat(Ht,"-show-count"),gn),"".concat(Ht,"-textarea-allow-clear"),st))}),disabled:ce,focused:ln,className:Oe()(De,lr&&"".concat(Ht,"-out-of-range")),style:(0,le.Z)((0,le.Z)({},he),Ft&&!ea?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Hr=="string"?Hr:void 0}},hidden:Te,readOnly:gt,onClear:ct},At.createElement(dt,(0,b.Z)({},Pt,{autoSize:yt,maxLength:Ut,onKeyDown:Nr,onChange:br,onFocus:Jr,onBlur:$r,onCompositionStart:Yn,onCompositionEnd:Sr,className:Oe()(je==null?void 0:je.textarea),style:(0,le.Z)((0,le.Z)({},ge==null?void 0:ge.textarea),{},{resize:he==null?void 0:he.resize}),disabled:ce,prefixCls:Ht,onResize:pa,ref:pt,readOnly:gt})))}),qe=St,Jt=qe},639:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Qe}});var b=y(60499),me=y(18642),le=y(85899),pe=y(72190),be=y(42244),fe=y(59301),we=y(92310),Oe=y.n(we),Re=y(26112),xe=y(30699),Ge=function(_e){for(var $e=_e.prefixCls,nt=_e.level,bt=_e.isStart,it=_e.isEnd,Nt="".concat($e,"-indent-unit"),vt=[],dt=0;dt0&&arguments[0]!==void 0?arguments[0]:[],je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ge=Te.length,Pe=je.length;if(Math.abs(ge-Pe)!==1)return{add:!1,key:null};function ct($t,gt){var yt=new Map;$t.forEach(function(Pt){yt.set(Pt,!0)});var Dt=gt.filter(function(Pt){return!yt.has(Pt)});return Dt.length===1?Dt[0]:null}return ge ").concat(je);return je}var On=Je.forwardRef(function(Te,je){var ge=Te.prefixCls,Pe=Te.data,ct=Te.selectable,$t=Te.checkable,gt=Te.expandedKeys,yt=Te.selectedKeys,Dt=Te.checkedKeys,Pt=Te.loadedKeys,Wt=Te.loadingKeys,pn=Te.halfCheckedKeys,fn=Te.keyEntities,Mt=Te.disabled,Ln=Te.dragging,kn=Te.dragOverNodeKey,wn=Te.dropPosition,ln=Te.motion,In=Te.height,xn=Te.itemHeight,kt=Te.virtual,Yt=Te.scrollWidth,Ft=Te.focusable,vn=Te.activeItem,Ct=Te.focused,pt=Te.tabIndex,de=Te.onKeyDown,qt=Te.onFocus,Dn=Te.onBlur,mn=Te.onActiveChange,vr=Te.onListChangeStart,yr=Te.onListChangeEnd,ar=(0,_e.Z)(Te,Zt),Er=Je.useRef(null),wt=Je.useRef(null);Je.useImperativeHandle(je,function(){return{scrollTo:function(en){Er.current.scrollTo(en)},getIndentWidth:function(){return wt.current.offsetWidth}}});var Qn=Je.useState(gt),lr=(0,ze.Z)(Qn,2),cr=lr[0],Yn=lr[1],Sr=Je.useState(Pe),br=(0,ze.Z)(Sr,2),Nr=br[0],Jr=br[1],$r=Je.useState(Pe),Ur=(0,ze.Z)($r,2),aa=Ur[0],Hr=Ur[1],pa=Je.useState([]),ea=(0,ze.Z)(pa,2),jn=ea[0],sr=ea[1],Kr=Je.useState(null),zr=(0,ze.Z)(Kr,2),ve=zr[0],Ie=zr[1],ut=Je.useRef(Pe);ut.current=Pe;function Le(){var et=ut.current;Jr(et),Hr(et),sr([]),Ie(null),yr()}(0,$e.Z)(function(){Yn(gt);var et=Jt(cr,gt);if(et.key!==null)if(et.add){var en=Nr.findIndex(function(rt){var Jn=rt.key;return Jn===et.key}),cn=st(Rt(Nr,Pe,et.key),kt,In,xn),Xt=Nr.slice();Xt.splice(en+1,0,on),Hr(Xt),sr(cn),Ie("show")}else{var an=Pe.findIndex(function(rt){var Jn=rt.key;return Jn===et.key}),Kt=st(Rt(Pe,Nr,et.key),kt,In,xn),nn=Pe.slice();nn.splice(an+1,0,on),Hr(nn),sr(Kt),Ie("hide")}else Nr!==Pe&&(Jr(Pe),Hr(Pe))},[gt,Pe]),Je.useEffect(function(){Ln||Le()},[Ln]);var He=ln?aa:Pe,Vt={expandedKeys:gt,selectedKeys:yt,loadedKeys:Pt,loadingKeys:Wt,checkedKeys:Dt,halfCheckedKeys:pn,dragOverNodeKey:kn,dropPosition:wn,keyEntities:fn};return Je.createElement(Je.Fragment,null,Ct&&vn&&Je.createElement("span",{style:Tn,"aria-live":"assertive"},Gt(vn)),Je.createElement("div",null,Je.createElement("input",{style:Tn,disabled:Ft===!1||Mt,tabIndex:Ft!==!1?pt:null,onKeyDown:de,onFocus:qt,onBlur:Dn,value:"",onChange:Tt,"aria-label":"for screen reader"})),Je.createElement("div",{className:"".concat(ge,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},Je.createElement("div",{className:"".concat(ge,"-indent")},Je.createElement("div",{ref:wt,className:"".concat(ge,"-indent-unit")}))),Je.createElement(nt.Z,(0,b.Z)({},ar,{data:He,itemKey:Ut,height:In,fullHeight:!1,virtual:kt,itemHeight:xn,scrollWidth:Yt,prefixCls:"".concat(ge,"-list"),ref:Er,role:"tree",onVisibleChange:function(en){en.every(function(cn){return Ut(cn)!==Ye})&&Le()}}),function(et){var en=et.pos,cn=Object.assign({},(Qe(et.data),et.data)),Xt=et.title,an=et.key,Kt=et.isStart,nn=et.isEnd,rt=(0,dt.km)(an,en);delete cn.key,delete cn.children;var Jn=(0,dt.H8)(rt,Vt);return Je.createElement(qe,(0,b.Z)({},cn,Jn,{title:Xt,active:!!vn&&an===vn.key,pos:en,data:et.data,isStart:Kt,isEnd:nn,motion:ln,motionNodes:an===Ye?jn:null,motionType:ve,onMotionStart:vr,onMotionEnd:Le,treeNodeRequiredProps:Vt,onMouseMove:function(){mn(null)}}))}))}),ft=On,En=y(82661),Ht=y(34643),gn=y(65065),un=10,De=function(Te){(0,Oe.Z)(ge,Te);var je=(0,Re.Z)(ge);function ge(){var Pe;(0,be.Z)(this,ge);for(var ct=arguments.length,$t=new Array(ct),gt=0;gt2&&arguments[2]!==void 0?arguments[2]:!1,pn=Pe.state,fn=pn.dragChildrenKeys,Mt=pn.dropPosition,Ln=pn.dropTargetKey,kn=pn.dropTargetPos,wn=pn.dropAllowed;if(wn){var ln=Pe.props.onDrop;if(Pe.setState({dragOverNodeKey:null}),Pe.cleanDragState(),Ln!==null){var In=(0,le.Z)((0,le.Z)({},(0,dt.H8)(Ln,Pe.getTreeNodeRequiredProps())),{},{active:((Pt=Pe.getActiveItem())===null||Pt===void 0?void 0:Pt.key)===Ln,data:(0,gn.Z)(Pe.state.keyEntities,Ln).node}),xn=fn.includes(Ln);(0,tt.ZP)(!xn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var kt=(0,En.yx)(kn),Yt={event:yt,node:(0,dt.F)(In),dragNode:Pe.dragNodeProps?(0,dt.F)(Pe.dragNodeProps):null,dragNodesKeys:[Pe.dragNodeProps.eventKey].concat(fn),dropToGap:Mt!==0,dropPosition:Mt+Number(kt[kt.length-1])};Wt||ln==null||ln(Yt),Pe.dragNodeProps=null}}}),(0,xe.Z)((0,we.Z)(Pe),"cleanDragState",function(){var yt=Pe.state.draggingNodeKey;yt!==null&&Pe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Pe.dragStartMousePosition=null,Pe.currentMouseOverDroppableNodeKey=null}),(0,xe.Z)((0,we.Z)(Pe),"triggerExpandActionExpand",function(yt,Dt){var Pt=Pe.state,Wt=Pt.expandedKeys,pn=Pt.flattenNodes,fn=Dt.expanded,Mt=Dt.key,Ln=Dt.isLeaf;if(!(Ln||yt.shiftKey||yt.metaKey||yt.ctrlKey)){var kn=pn.filter(function(ln){return ln.key===Mt})[0],wn=(0,dt.F)((0,le.Z)((0,le.Z)({},(0,dt.H8)(Mt,Pe.getTreeNodeRequiredProps())),{},{data:kn.data}));Pe.setExpandedKeys(fn?(0,En._5)(Wt,Mt):(0,En.L0)(Wt,Mt)),Pe.onNodeExpand(yt,wn)}}),(0,xe.Z)((0,we.Z)(Pe),"onNodeClick",function(yt,Dt){var Pt=Pe.props,Wt=Pt.onClick,pn=Pt.expandAction;pn==="click"&&Pe.triggerExpandActionExpand(yt,Dt),Wt==null||Wt(yt,Dt)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeDoubleClick",function(yt,Dt){var Pt=Pe.props,Wt=Pt.onDoubleClick,pn=Pt.expandAction;pn==="doubleClick"&&Pe.triggerExpandActionExpand(yt,Dt),Wt==null||Wt(yt,Dt)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeSelect",function(yt,Dt){var Pt=Pe.state.selectedKeys,Wt=Pe.state,pn=Wt.keyEntities,fn=Wt.fieldNames,Mt=Pe.props,Ln=Mt.onSelect,kn=Mt.multiple,wn=Dt.selected,ln=Dt[fn.key],In=!wn;In?kn?Pt=(0,En.L0)(Pt,ln):Pt=[ln]:Pt=(0,En._5)(Pt,ln);var xn=Pt.map(function(kt){var Yt=(0,gn.Z)(pn,kt);return Yt?Yt.node:null}).filter(Boolean);Pe.setUncontrolledState({selectedKeys:Pt}),Ln==null||Ln(Pt,{event:"select",selected:In,node:Dt,selectedNodes:xn,nativeEvent:yt.nativeEvent})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeCheck",function(yt,Dt,Pt){var Wt=Pe.state,pn=Wt.keyEntities,fn=Wt.checkedKeys,Mt=Wt.halfCheckedKeys,Ln=Pe.props,kn=Ln.checkStrictly,wn=Ln.onCheck,ln=Dt.key,In,xn={event:"check",node:Dt,checked:Pt,nativeEvent:yt.nativeEvent};if(kn){var kt=Pt?(0,En.L0)(fn,ln):(0,En._5)(fn,ln),Yt=(0,En._5)(Mt,ln);In={checked:kt,halfChecked:Yt},xn.checkedNodes=kt.map(function(qt){return(0,gn.Z)(pn,qt)}).filter(Boolean).map(function(qt){return qt.node}),Pe.setUncontrolledState({checkedKeys:kt})}else{var Ft=(0,Ht.S)([].concat((0,pe.Z)(fn),[ln]),!0,pn),vn=Ft.checkedKeys,Ct=Ft.halfCheckedKeys;if(!Pt){var pt=new Set(vn);pt.delete(ln);var de=(0,Ht.S)(Array.from(pt),{checked:!1,halfCheckedKeys:Ct},pn);vn=de.checkedKeys,Ct=de.halfCheckedKeys}In=vn,xn.checkedNodes=[],xn.checkedNodesPositions=[],xn.halfCheckedKeys=Ct,vn.forEach(function(qt){var Dn=(0,gn.Z)(pn,qt);if(Dn){var mn=Dn.node,vr=Dn.pos;xn.checkedNodes.push(mn),xn.checkedNodesPositions.push({node:mn,pos:vr})}}),Pe.setUncontrolledState({checkedKeys:vn},!1,{halfCheckedKeys:Ct})}wn==null||wn(In,xn)}),(0,xe.Z)((0,we.Z)(Pe),"onNodeLoad",function(yt){var Dt,Pt=yt.key,Wt=Pe.state.keyEntities,pn=(0,gn.Z)(Wt,Pt);if(!(pn!=null&&(Dt=pn.children)!==null&&Dt!==void 0&&Dt.length)){var fn=new Promise(function(Mt,Ln){Pe.setState(function(kn){var wn=kn.loadedKeys,ln=wn===void 0?[]:wn,In=kn.loadingKeys,xn=In===void 0?[]:In,kt=Pe.props,Yt=kt.loadData,Ft=kt.onLoad;if(!Yt||ln.includes(Pt)||xn.includes(Pt))return null;var vn=Yt(yt);return vn.then(function(){var Ct=Pe.state.loadedKeys,pt=(0,En.L0)(Ct,Pt);Ft==null||Ft(pt,{event:"load",node:yt}),Pe.setUncontrolledState({loadedKeys:pt}),Pe.setState(function(de){return{loadingKeys:(0,En._5)(de.loadingKeys,Pt)}}),Mt()}).catch(function(Ct){if(Pe.setState(function(de){return{loadingKeys:(0,En._5)(de.loadingKeys,Pt)}}),Pe.loadingRetryTimes[Pt]=(Pe.loadingRetryTimes[Pt]||0)+1,Pe.loadingRetryTimes[Pt]>=un){var pt=Pe.state.loadedKeys;(0,tt.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Pe.setUncontrolledState({loadedKeys:(0,En.L0)(pt,Pt)}),Mt()}Ln(Ct)}),{loadingKeys:(0,En.L0)(xn,Pt)}})});return fn.catch(function(){}),fn}}),(0,xe.Z)((0,we.Z)(Pe),"onNodeMouseEnter",function(yt,Dt){var Pt=Pe.props.onMouseEnter;Pt==null||Pt({event:yt,node:Dt})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeMouseLeave",function(yt,Dt){var Pt=Pe.props.onMouseLeave;Pt==null||Pt({event:yt,node:Dt})}),(0,xe.Z)((0,we.Z)(Pe),"onNodeContextMenu",function(yt,Dt){var Pt=Pe.props.onRightClick;Pt&&(yt.preventDefault(),Pt({event:yt,node:Dt}))}),(0,xe.Z)((0,we.Z)(Pe),"onFocus",function(){var yt=Pe.props.onFocus;Pe.setState({focused:!0});for(var Dt=arguments.length,Pt=new Array(Dt),Wt=0;Wt1&&arguments[1]!==void 0?arguments[1]:!1,Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Pe.destroyed){var Wt=!1,pn=!0,fn={};Object.keys(yt).forEach(function(Mt){if(Pe.props.hasOwnProperty(Mt)){pn=!1;return}Wt=!0,fn[Mt]=yt[Mt]}),Wt&&(!Dt||pn)&&Pe.setState((0,le.Z)((0,le.Z)({},fn),Pt))}}),(0,xe.Z)((0,we.Z)(Pe),"scrollTo",function(yt){Pe.listRef.current.scrollTo(yt)}),Pe}return(0,fe.Z)(ge,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ct=this.props,$t=ct.activeKey,gt=ct.itemScrollOffset,yt=gt===void 0?0:gt;$t!==void 0&&$t!==this.state.activeKey&&(this.setState({activeKey:$t}),$t!==null&&this.scrollTo({key:$t,offset:yt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var ct=this.state,$t=ct.focused,gt=ct.flattenNodes,yt=ct.keyEntities,Dt=ct.draggingNodeKey,Pt=ct.activeKey,Wt=ct.dropLevelOffset,pn=ct.dropContainerKey,fn=ct.dropTargetKey,Mt=ct.dropPosition,Ln=ct.dragOverNodeKey,kn=ct.indent,wn=this.props,ln=wn.prefixCls,In=wn.className,xn=wn.style,kt=wn.showLine,Yt=wn.focusable,Ft=wn.tabIndex,vn=Ft===void 0?0:Ft,Ct=wn.selectable,pt=wn.showIcon,de=wn.icon,qt=wn.switcherIcon,Dn=wn.draggable,mn=wn.checkable,vr=wn.checkStrictly,yr=wn.disabled,ar=wn.motion,Er=wn.loadData,wt=wn.filterTreeNode,Qn=wn.height,lr=wn.itemHeight,cr=wn.scrollWidth,Yn=wn.virtual,Sr=wn.titleRender,br=wn.dropIndicatorRender,Nr=wn.onContextMenu,Jr=wn.onScroll,$r=wn.direction,Ur=wn.rootClassName,aa=wn.rootStyle,Hr=(0,at.Z)(this.props,{aria:!0,data:!0}),pa;Dn&&((0,me.Z)(Dn)==="object"?pa=Dn:typeof Dn=="function"?pa={nodeDraggable:Dn}:pa={});var ea={prefixCls:ln,selectable:Ct,showIcon:pt,icon:de,switcherIcon:qt,draggable:pa,draggingNodeKey:Dt,checkable:mn,checkStrictly:vr,disabled:yr,keyEntities:yt,dropLevelOffset:Wt,dropContainerKey:pn,dropTargetKey:fn,dropPosition:Mt,dragOverNodeKey:Ln,indent:kn,direction:$r,dropIndicatorRender:br,loadData:Er,filterTreeNode:wt,titleRender:Sr,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return Je.createElement(We.k.Provider,{value:ea},Je.createElement("div",{className:Fe()(ln,In,Ur,(0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(ln,"-show-line"),kt),"".concat(ln,"-focused"),$t),"".concat(ln,"-active-focused"),Pt!==null)),style:aa},Je.createElement(ft,(0,b.Z)({ref:this.listRef,prefixCls:ln,style:xn,data:gt,disabled:yr,selectable:Ct,checkable:!!mn,motion:ar,dragging:Dt!==null,height:Qn,itemHeight:lr,virtual:Yn,focusable:Yt,focused:$t,tabIndex:vn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Nr,onScroll:Jr,scrollWidth:cr},this.getTreeNodeRequiredProps(),Hr))))}}],[{key:"getDerivedStateFromProps",value:function(ct,$t){var gt=$t.prevProps,yt={prevProps:ct};function Dt(vn){return!gt&&ct.hasOwnProperty(vn)||gt&>[vn]!==ct[vn]}var Pt,Wt=$t.fieldNames;if(Dt("fieldNames")&&(Wt=(0,dt.w$)(ct.fieldNames),yt.fieldNames=Wt),Dt("treeData")?Pt=ct.treeData:Dt("children")&&((0,tt.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Pt=(0,dt.zn)(ct.children)),Pt){yt.treeData=Pt;var pn=(0,dt.I8)(Pt,{fieldNames:Wt});yt.keyEntities=(0,le.Z)((0,xe.Z)({},Ye,Qt),pn.keyEntities)}var fn=yt.keyEntities||$t.keyEntities;if(Dt("expandedKeys")||gt&&Dt("autoExpandParent"))yt.expandedKeys=ct.autoExpandParent||!gt&&ct.defaultExpandParent?(0,En.r7)(ct.expandedKeys,fn):ct.expandedKeys;else if(!gt&&ct.defaultExpandAll){var Mt=(0,le.Z)({},fn);delete Mt[Ye];var Ln=[];Object.keys(Mt).forEach(function(vn){var Ct=Mt[vn];Ct.children&&Ct.children.length&&Ln.push(Ct.key)}),yt.expandedKeys=Ln}else!gt&&ct.defaultExpandedKeys&&(yt.expandedKeys=ct.autoExpandParent||ct.defaultExpandParent?(0,En.r7)(ct.defaultExpandedKeys,fn):ct.defaultExpandedKeys);if(yt.expandedKeys||delete yt.expandedKeys,Pt||yt.expandedKeys){var kn=(0,dt.oH)(Pt||$t.treeData,yt.expandedKeys||$t.expandedKeys,Wt);yt.flattenNodes=kn}if(ct.selectable&&(Dt("selectedKeys")?yt.selectedKeys=(0,En.BT)(ct.selectedKeys,ct):!gt&&ct.defaultSelectedKeys&&(yt.selectedKeys=(0,En.BT)(ct.defaultSelectedKeys,ct))),ct.checkable){var wn;if(Dt("checkedKeys")?wn=(0,En.E6)(ct.checkedKeys)||{}:!gt&&ct.defaultCheckedKeys?wn=(0,En.E6)(ct.defaultCheckedKeys)||{}:Pt&&(wn=(0,En.E6)(ct.checkedKeys)||{checkedKeys:$t.checkedKeys,halfCheckedKeys:$t.halfCheckedKeys}),wn){var ln=wn,In=ln.checkedKeys,xn=In===void 0?[]:In,kt=ln.halfCheckedKeys,Yt=kt===void 0?[]:kt;if(!ct.checkStrictly){var Ft=(0,Ht.S)(xn,!0,fn);xn=Ft.checkedKeys,Yt=Ft.halfCheckedKeys}yt.checkedKeys=xn,yt.halfCheckedKeys=Yt}}return Dt("loadedKeys")&&(yt.loadedKeys=ct.loadedKeys),yt}}]),ge}(Je.Component);(0,xe.Z)(De,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Ze,allowDrop:function(){return!0},expandAction:!1}),(0,xe.Z)(De,"TreeNode",it.Z);var he=De,ce=he},82661:function(Ce,ae,y){"use strict";y.d(ae,{BT:function(){return Je},E6:function(){return Ze},L0:function(){return xe},OM:function(){return tt},_5:function(){return Re},r7:function(){return Qe},wA:function(){return Fe},yx:function(){return Ge}});var b=y(77654),me=y(43749),le=y(48736),pe=y(59301),be=y(639),fe=y(65065),we=y(34061),Oe=null;function Re(ze,_e){if(!ze)return[];var $e=ze.slice(),nt=$e.indexOf(_e);return nt>=0&&$e.splice(nt,1),$e}function xe(ze,_e){var $e=(ze||[]).slice();return $e.indexOf(_e)===-1&&$e.push(_e),$e}function Ge(ze){return ze.split("-")}function Fe(ze,_e){var $e=[],nt=(0,fe.Z)(_e,ze);function bt(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];it.forEach(function(Nt){var vt=Nt.key,dt=Nt.children;$e.push(vt),bt(dt)})}return bt(nt.children),$e}function At(ze){if(ze.parent){var _e=Ge(ze.pos);return Number(_e[_e.length-1])===ze.parent.children.length-1}return!1}function at(ze){var _e=Ge(ze.pos);return Number(_e[_e.length-1])===0}function tt(ze,_e,$e,nt,bt,it,Nt,vt,dt,It){var St,qe=ze.clientX,Jt=ze.clientY,Rt=ze.target.getBoundingClientRect(),Zt=Rt.top,Tn=Rt.height,Tt=(It==="rtl"?-1:1)*(((bt==null?void 0:bt.x)||0)-qe),Ye=(Tt-12)/nt,Se=dt.filter(function(ce){var Te;return(Te=vt[ce])===null||Te===void 0||(Te=Te.children)===null||Te===void 0?void 0:Te.length}),Qt=(0,fe.Z)(vt,$e.eventKey);if(Jt-1.5?it({dragNode:un,dropNode:De,dropPosition:1})?En=1:he=!1:it({dragNode:un,dropNode:De,dropPosition:0})?En=0:it({dragNode:un,dropNode:De,dropPosition:1})?En=1:he=!1:it({dragNode:un,dropNode:De,dropPosition:1})?En=1:he=!1,{dropPosition:En,dropLevelOffset:Ht,dropTargetKey:Qt.key,dropTargetPos:Qt.pos,dragOverNodeKey:ft,dropContainerKey:En===0?null:((St=Qt.parent)===null||St===void 0?void 0:St.key)||null,dropAllowed:he}}function Je(ze,_e){if(ze){var $e=_e.multiple;return $e?ze.slice():ze.length?[ze[0]]:ze}}var We=function(_e){return _e};function Ve(ze,_e){if(!ze)return[];var $e=_e||{},nt=$e.processProps,bt=nt===void 0?We:nt,it=Array.isArray(ze)?ze:[ze];return it.map(function(Nt){var vt=Nt.children,dt=_objectWithoutProperties(Nt,Oe),It=Ve(vt,_e);return React.createElement(TreeNode,_extends({key:dt.key},bt(dt)),It)})}function Ze(ze){if(!ze)return null;var _e;if(Array.isArray(ze))_e={checkedKeys:ze,halfCheckedKeys:void 0};else if((0,me.Z)(ze)==="object")_e={checkedKeys:ze.checked||void 0,halfCheckedKeys:ze.halfChecked||void 0};else return(0,le.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return _e}function Qe(ze,_e){var $e=new Set;function nt(bt){if(!$e.has(bt)){var it=(0,fe.Z)(_e,bt);if(it){$e.add(bt);var Nt=it.parent,vt=it.node;vt.disabled||Nt&&nt(Nt.key)}}}return(ze||[]).forEach(function(bt){nt(bt)}),(0,b.Z)($e)}},34643:function(Ce,ae,y){"use strict";y.d(ae,{S:function(){return we}});var b=y(48736),me=y(65065);function le(Oe,Re){var xe=new Set;return Oe.forEach(function(Ge){Re.has(Ge)||xe.add(Ge)}),xe}function pe(Oe){var Re=Oe||{},xe=Re.disabled,Ge=Re.disableCheckbox,Fe=Re.checkable;return!!(xe||Ge)||Fe===!1}function be(Oe,Re,xe,Ge){for(var Fe=new Set(Oe),At=new Set,at=0;at<=xe;at+=1){var tt=Re.get(at)||new Set;tt.forEach(function(Ze){var Qe=Ze.key,ze=Ze.node,_e=Ze.children,$e=_e===void 0?[]:_e;Fe.has(Qe)&&!Ge(ze)&&$e.filter(function(nt){return!Ge(nt.node)}).forEach(function(nt){Fe.add(nt.key)})})}for(var Je=new Set,We=xe;We>=0;We-=1){var Ve=Re.get(We)||new Set;Ve.forEach(function(Ze){var Qe=Ze.parent,ze=Ze.node;if(!(Ge(ze)||!Ze.parent||Je.has(Ze.parent.key))){if(Ge(Ze.parent.node)){Je.add(Qe.key);return}var _e=!0,$e=!1;(Qe.children||[]).filter(function(nt){return!Ge(nt.node)}).forEach(function(nt){var bt=nt.key,it=Fe.has(bt);_e&&!it&&(_e=!1),!$e&&(it||At.has(bt))&&($e=!0)}),_e&&Fe.add(Qe.key),$e&&At.add(Qe.key),Je.add(Qe.key)}})}return{checkedKeys:Array.from(Fe),halfCheckedKeys:Array.from(le(At,Fe))}}function fe(Oe,Re,xe,Ge,Fe){for(var At=new Set(Oe),at=new Set(Re),tt=0;tt<=Ge;tt+=1){var Je=xe.get(tt)||new Set;Je.forEach(function(Qe){var ze=Qe.key,_e=Qe.node,$e=Qe.children,nt=$e===void 0?[]:$e;!At.has(ze)&&!at.has(ze)&&!Fe(_e)&&nt.filter(function(bt){return!Fe(bt.node)}).forEach(function(bt){At.delete(bt.key)})})}at=new Set;for(var We=new Set,Ve=Ge;Ve>=0;Ve-=1){var Ze=xe.get(Ve)||new Set;Ze.forEach(function(Qe){var ze=Qe.parent,_e=Qe.node;if(!(Fe(_e)||!Qe.parent||We.has(Qe.parent.key))){if(Fe(Qe.parent.node)){We.add(ze.key);return}var $e=!0,nt=!1;(ze.children||[]).filter(function(bt){return!Fe(bt.node)}).forEach(function(bt){var it=bt.key,Nt=At.has(it);$e&&!Nt&&($e=!1),!nt&&(Nt||at.has(it))&&(nt=!0)}),$e||At.delete(ze.key),nt&&at.add(ze.key),We.add(ze.key)}})}return{checkedKeys:Array.from(At),halfCheckedKeys:Array.from(le(at,At))}}function we(Oe,Re,xe,Ge){var Fe=[],At;Ge?At=Ge:At=pe;var at=new Set(Oe.filter(function(Ve){var Ze=!!(0,me.Z)(xe,Ve);return Ze||Fe.push(Ve),Ze})),tt=new Map,Je=0;Object.keys(xe).forEach(function(Ve){var Ze=xe[Ve],Qe=Ze.level,ze=tt.get(Qe);ze||(ze=new Set,tt.set(Qe,ze)),ze.add(Ze),Je=Math.max(Je,Qe)}),(0,b.ZP)(!Fe.length,"Tree missing follow keys: ".concat(Fe.slice(0,100).map(function(Ve){return"'".concat(Ve,"'")}).join(", ")));var We;return Re===!0?We=be(at,tt,Je,At):We=fe(at,Re.halfCheckedKeys,tt,Je,At),We}},65065:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return b}});function b(me,le){return me[le]}},34061:function(Ce,ae,y){"use strict";y.d(ae,{F:function(){return Qe},H8:function(){return Ze},I8:function(){return Ve},km:function(){return Fe},oH:function(){return Je},w$:function(){return At},zn:function(){return tt}});var b=y(43749),me=y(77654),le=y(85899),pe=y(42244),be=y(11592),fe=y(2738),we=y(48736),Oe=y(65065),Re=["children"];function xe(ze,_e){return"".concat(ze,"-").concat(_e)}function Ge(ze){return ze&&ze.type&&ze.type.isTreeNode}function Fe(ze,_e){return ze!=null?ze:_e}function At(ze){var _e=ze||{},$e=_e.title,nt=_e._title,bt=_e.key,it=_e.children,Nt=$e||"title";return{title:Nt,_title:nt||[Nt],key:bt||"key",children:it||"children"}}function at(ze,_e){var $e=new Map;function nt(bt){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(bt||[]).forEach(function(Nt){var vt=Nt[_e.key],dt=Nt[_e.children];warning(vt!=null,"Tree node must have a certain key: [".concat(it).concat(vt,"]"));var It=String(vt);warning(!$e.has(It)||vt===null||vt===void 0,"Same 'key' exist in the Tree: ".concat(It)),$e.set(It,!0),nt(dt,"".concat(it).concat(It," > "))})}nt(ze)}function tt(ze){function _e($e){var nt=(0,be.Z)($e);return nt.map(function(bt){if(!Ge(bt))return(0,we.ZP)(!bt,"Tree/TreeNode can only accept TreeNode as children."),null;var it=bt.key,Nt=bt.props,vt=Nt.children,dt=(0,pe.Z)(Nt,Re),It=(0,le.Z)({key:it},dt),St=_e(vt);return St.length&&(It.children=St),It}).filter(function(bt){return bt})}return _e(ze)}function Je(ze,_e,$e){var nt=At($e),bt=nt._title,it=nt.key,Nt=nt.children,vt=new Set(_e===!0?[]:_e),dt=[];function It(St){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return St.map(function(Jt,Rt){for(var Zt=xe(qe?qe.pos:"0",Rt),Tn=Fe(Jt[it],Zt),Tt,Ye=0;Ye1&&arguments[1]!==void 0?arguments[1]:{},$e=_e.initWrapper,nt=_e.processEntity,bt=_e.onProcessFinished,it=_e.externalGetKey,Nt=_e.childrenPropName,vt=_e.fieldNames,dt=arguments.length>2?arguments[2]:void 0,It=it||dt,St={},qe={},Jt={posEntities:St,keyEntities:qe};return $e&&(Jt=$e(Jt)||Jt),We(ze,function(Rt){var Zt=Rt.node,Tn=Rt.index,Tt=Rt.pos,Ye=Rt.key,Se=Rt.parentPos,Qt=Rt.level,on=Rt.nodes,st={node:Zt,nodes:on,index:Tn,key:Ye,pos:Tt,level:Qt},Ut=Fe(Ye,Tt);St[Tt]=st,qe[Ut]=st,st.parent=St[Se],st.parent&&(st.parent.children=st.parent.children||[],st.parent.children.push(st)),nt&&nt(st,Jt)},{externalGetKey:It,childrenPropName:Nt,fieldNames:vt}),bt&&bt(Jt),Jt}function Ze(ze,_e){var $e=_e.expandedKeys,nt=_e.selectedKeys,bt=_e.loadedKeys,it=_e.loadingKeys,Nt=_e.checkedKeys,vt=_e.halfCheckedKeys,dt=_e.dragOverNodeKey,It=_e.dropPosition,St=_e.keyEntities,qe=(0,Oe.Z)(St,ze),Jt={eventKey:ze,expanded:$e.indexOf(ze)!==-1,selected:nt.indexOf(ze)!==-1,loaded:bt.indexOf(ze)!==-1,loading:it.indexOf(ze)!==-1,checked:Nt.indexOf(ze)!==-1,halfChecked:vt.indexOf(ze)!==-1,pos:String(qe?qe.pos:""),dragOver:dt===ze&&It===0,dragOverGapTop:dt===ze&&It===-1,dragOverGapBottom:dt===ze&&It===1};return Jt}function Qe(ze){var _e=ze.data,$e=ze.expanded,nt=ze.selected,bt=ze.checked,it=ze.loaded,Nt=ze.loading,vt=ze.halfChecked,dt=ze.dragOver,It=ze.dragOverGapTop,St=ze.dragOverGapBottom,qe=ze.pos,Jt=ze.active,Rt=ze.eventKey,Zt=(0,le.Z)((0,le.Z)({},_e),{},{expanded:$e,selected:nt,checked:bt,loaded:it,loading:Nt,halfChecked:vt,dragOver:dt,dragOverGapTop:It,dragOverGapBottom:St,pos:qe,active:Jt,key:Rt});return"props"in Zt||Object.defineProperty(Zt,"props",{get:function(){return(0,we.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ze}}),Zt}},8224:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return me}});var b=y(4676);function me(le,pe,be,fe){var we=b.unstable_batchedUpdates?function(Re){b.unstable_batchedUpdates(be,Re)}:be;return le!=null&&le.addEventListener&&le.addEventListener(pe,we,fe),{remove:function(){le!=null&&le.removeEventListener&&le.removeEventListener(pe,we,fe)}}}},48911:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return un}});var b=y(60499),me=y(43749),le=y(85899),pe=y(18642),be=y(72190),fe=y(42244),we=y(92310),Oe=y.n(we),Re=y(29301),xe=y(70425),Ge=y(34280),Fe=y(59301),At=y(4676),at=Fe.forwardRef(function(De,he){var ce=De.height,Te=De.offsetY,je=De.offsetX,ge=De.children,Pe=De.prefixCls,ct=De.onInnerResize,$t=De.innerProps,gt=De.rtl,yt=De.extra,Dt={},Pt={display:"flex",flexDirection:"column"};return Te!==void 0&&(Dt={height:ce,position:"relative",overflow:"hidden"},Pt=(0,le.Z)((0,le.Z)({},Pt),{},(0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)((0,pe.Z)({transform:"translateY(".concat(Te,"px)")},gt?"marginRight":"marginLeft",-je),"position","absolute"),"left",0),"right",0),"top",0))),Fe.createElement("div",{style:Dt},Fe.createElement(Re.Z,{onResize:function(pn){var fn=pn.offsetHeight;fn&&ct&&ct()}},Fe.createElement("div",(0,b.Z)({style:Pt,className:Oe()((0,pe.Z)({},"".concat(Pe,"-holder-inner"),Pe)),ref:he},$t),ge,yt)))});at.displayName="Filler";var tt=at;function Je(De){var he=De.children,ce=De.setRef,Te=Fe.useCallback(function(je){ce(je)},[]);return Fe.cloneElement(he,{ref:Te})}function We(De,he,ce,Te,je,ge,Pe,ct){var $t=ct.getKey;return De.slice(he,ce+1).map(function(gt,yt){var Dt=he+yt,Pt=Pe(gt,Dt,{style:{width:Te},offsetX:je}),Wt=$t(gt);return Fe.createElement(Je,{key:Wt,setRef:function(fn){return ge(gt,fn)}},Pt)})}function Ve(De,he,ce,Te){var je=ce-De,ge=he-ce,Pe=Math.min(je,ge)*2;if(Te<=Pe){var ct=Math.floor(Te/2);return Te%2?ce+ct+1:ce-ct}return je>ge?ce-(Te-ge):ce+(Te-je)}function Ze(De,he,ce){var Te=De.length,je=he.length,ge,Pe;if(Te===0&&je===0)return null;Te2&&arguments[2]!==void 0?arguments[2]:!1,Dt=$t?gt<0&&ct.current.left||gt>0&&ct.current.right:gt<0&&ct.current.top||gt>0&&ct.current.bottom;return yt&&Dt?(clearTimeout(ge.current),je.current=!1):(!Dt||je.current)&&Pe(),!je.current&&Dt}};function bt(De,he,ce,Te,je,ge,Pe){var ct=(0,Fe.useRef)(0),$t=(0,Fe.useRef)(null),gt=(0,Fe.useRef)(null),yt=(0,Fe.useRef)(!1),Dt=nt(he,ce,Te,je);function Pt(kn,wn){if(ze.Z.cancel($t.current),!Dt(!1,wn)){var ln=kn;if(!ln._virtualHandled)ln._virtualHandled=!0;else return;ct.current+=wn,gt.current=wn,$e||ln.preventDefault(),$t.current=(0,ze.Z)(function(){var In=yt.current?10:1;Pe(ct.current*In,!1),ct.current=0})}}function Wt(kn,wn){Pe(wn,!0),$e||kn.preventDefault()}var pn=(0,Fe.useRef)(null),fn=(0,Fe.useRef)(null);function Mt(kn){if(De){ze.Z.cancel(fn.current),fn.current=(0,ze.Z)(function(){pn.current=null},2);var wn=kn.deltaX,ln=kn.deltaY,In=kn.shiftKey,xn=wn,kt=ln;(pn.current==="sx"||!pn.current&&In&&ln&&!wn)&&(xn=ln,kt=0,pn.current="sx");var Yt=Math.abs(xn),Ft=Math.abs(kt);pn.current===null&&(pn.current=ge&&Yt>Ft?"x":"y"),pn.current==="y"?Pt(kn,kt):Wt(kn,xn)}}function Ln(kn){De&&(yt.current=kn.detail===gt.current)}return[Mt,Ln]}function it(De,he,ce,Te){var je=Fe.useMemo(function(){return[new Map,[]]},[De,ce.id,Te]),ge=(0,be.Z)(je,2),Pe=ge[0],ct=ge[1],$t=function(yt){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:yt,Pt=Pe.get(yt),Wt=Pe.get(Dt);if(Pt===void 0||Wt===void 0)for(var pn=De.length,fn=ct.length;fn0&&arguments[0]!==void 0?arguments[0]:!1;yt();var pn=function(){var Ln=!1;ct.current.forEach(function(kn,wn){if(kn&&kn.offsetParent){var ln=kn.offsetHeight,In=getComputedStyle(kn),xn=In.marginTop,kt=In.marginBottom,Yt=St(xn),Ft=St(kt),vn=ln+Yt+Ft;$t.current.get(wn)!==vn&&($t.current.set(wn,vn),Ln=!0)}}),Ln&&Pe(function(kn){return kn+1})};if(Wt)pn();else{gt.current+=1;var fn=gt.current;Promise.resolve().then(function(){fn===gt.current&&pn()})}}function Pt(Wt,pn){var fn=De(Wt),Mt=ct.current.get(fn);pn?(ct.current.set(fn,pn),Dt()):ct.current.delete(fn),!Mt!=!pn&&(pn?he==null||he(Wt):ce==null||ce(Wt))}return(0,Fe.useEffect)(function(){return yt},[]),[Pt,Dt,$t.current,ge]}var Jt=14/15;function Rt(De,he,ce){var Te=(0,Fe.useRef)(!1),je=(0,Fe.useRef)(0),ge=(0,Fe.useRef)(0),Pe=(0,Fe.useRef)(null),ct=(0,Fe.useRef)(null),$t,gt=function(Wt){if(Te.current){var pn=Math.ceil(Wt.touches[0].pageX),fn=Math.ceil(Wt.touches[0].pageY),Mt=je.current-pn,Ln=ge.current-fn,kn=Math.abs(Mt)>Math.abs(Ln);kn?je.current=pn:ge.current=fn;var wn=ce(kn,kn?Mt:Ln,!1,Wt);wn&&Wt.preventDefault(),clearInterval(ct.current),wn&&(ct.current=setInterval(function(){kn?Mt*=Jt:Ln*=Jt;var ln=Math.floor(kn?Mt:Ln);(!ce(kn,ln,!0)||Math.abs(ln)<=.1)&&clearInterval(ct.current)},16))}},yt=function(){Te.current=!1,$t()},Dt=function(Wt){$t(),Wt.touches.length===1&&!Te.current&&(Te.current=!0,je.current=Math.ceil(Wt.touches[0].pageX),ge.current=Math.ceil(Wt.touches[0].pageY),Pe.current=Wt.target,Pe.current.addEventListener("touchmove",gt,{passive:!1}),Pe.current.addEventListener("touchend",yt,{passive:!0}))};$t=function(){Pe.current&&(Pe.current.removeEventListener("touchmove",gt),Pe.current.removeEventListener("touchend",yt))},(0,Ge.Z)(function(){return De&&he.current.addEventListener("touchstart",Dt,{passive:!0}),function(){var Pt;(Pt=he.current)===null||Pt===void 0||Pt.removeEventListener("touchstart",Dt),$t(),clearInterval(ct.current)}},[De])}function Zt(De){return Math.floor(Math.pow(De,.5))}function Tn(De,he){var ce="touches"in De?De.touches[0]:De;return ce[he?"pageX":"pageY"]-window[he?"scrollX":"scrollY"]}function Tt(De,he,ce){Fe.useEffect(function(){var Te=he.current;if(De&&Te){var je=!1,ge,Pe,ct=function(){ze.Z.cancel(ge)},$t=function Pt(){ct(),ge=(0,ze.Z)(function(){ce(Pe),Pt()})},gt=function(){je=!1,ct()},yt=function(Wt){if(!(Wt.target.draggable||Wt.button!==0)){var pn=Wt;pn._virtualHandled||(pn._virtualHandled=!0,je=!0)}},Dt=function(Wt){if(je){var pn=Tn(Wt,!1),fn=Te.getBoundingClientRect(),Mt=fn.top,Ln=fn.bottom;if(pn<=Mt){var kn=Mt-pn;Pe=-Zt(kn),$t()}else if(pn>=Ln){var wn=pn-Ln;Pe=Zt(wn),$t()}else ct()}};return Te.addEventListener("mousedown",yt),Te.ownerDocument.addEventListener("mouseup",gt),Te.ownerDocument.addEventListener("mousemove",Dt),Te.ownerDocument.addEventListener("dragend",gt),function(){Te.removeEventListener("mousedown",yt),Te.ownerDocument.removeEventListener("mouseup",gt),Te.ownerDocument.removeEventListener("mousemove",Dt),Te.ownerDocument.removeEventListener("dragend",gt),ct()}}},[De])}var Ye=10;function Se(De,he,ce,Te,je,ge,Pe,ct){var $t=Fe.useRef(),gt=Fe.useState(null),yt=(0,be.Z)(gt,2),Dt=yt[0],Pt=yt[1];return(0,Ge.Z)(function(){if(Dt&&Dt.times=0;qt-=1){var Dn=je(he[qt]),mn=ce.get(Dn);if(mn===void 0){kn=!0;break}if(de-=mn,de<=0)break}switch(In){case"top":ln=kt-Mt;break;case"bottom":ln=Yt-Ln+Mt;break;default:{var vr=De.current.scrollTop,yr=vr+Ln;ktyr&&(wn="bottom")}}ln!==null&&Pe(ln),ln!==Dt.lastTop&&(kn=!0)}kn&&Pt((0,le.Z)((0,le.Z)({},Dt),{},{times:Dt.times+1,targetAlign:wn,lastTop:ln}))}},[Dt,De.current]),function(Wt){if(Wt==null){ct();return}if(ze.Z.cancel($t.current),typeof Wt=="number")Pe(Wt);else if(Wt&&(0,me.Z)(Wt)==="object"){var pn,fn=Wt.align;"index"in Wt?pn=Wt.index:pn=he.findIndex(function(kn){return je(kn)===Wt.key});var Mt=Wt.offset,Ln=Mt===void 0?0:Mt;Pt({times:0,index:pn,offset:Ln,originAlign:fn})}}}var Qt=Fe.forwardRef(function(De,he){var ce=De.prefixCls,Te=De.rtl,je=De.scrollOffset,ge=De.scrollRange,Pe=De.onStartMove,ct=De.onStopMove,$t=De.onScroll,gt=De.horizontal,yt=De.spinSize,Dt=De.containerSize,Pt=De.style,Wt=De.thumbStyle,pn=De.showScrollBar,fn=Fe.useState(!1),Mt=(0,be.Z)(fn,2),Ln=Mt[0],kn=Mt[1],wn=Fe.useState(null),ln=(0,be.Z)(wn,2),In=ln[0],xn=ln[1],kt=Fe.useState(null),Yt=(0,be.Z)(kt,2),Ft=Yt[0],vn=Yt[1],Ct=!Te,pt=Fe.useRef(),de=Fe.useRef(),qt=Fe.useState(pn),Dn=(0,be.Z)(qt,2),mn=Dn[0],vr=Dn[1],yr=Fe.useRef(),ar=function(){pn===!0||pn===!1||(clearTimeout(yr.current),vr(!0),yr.current=setTimeout(function(){vr(!1)},3e3))},Er=ge-Dt||0,wt=Dt-yt||0,Qn=Fe.useMemo(function(){if(je===0||Er===0)return 0;var Ur=je/Er;return Ur*wt},[je,Er,wt]),lr=function(aa){aa.stopPropagation(),aa.preventDefault()},cr=Fe.useRef({top:Qn,dragging:Ln,pageY:In,startTop:Ft});cr.current={top:Qn,dragging:Ln,pageY:In,startTop:Ft};var Yn=function(aa){kn(!0),xn(Tn(aa,gt)),vn(cr.current.top),Pe(),aa.stopPropagation(),aa.preventDefault()};Fe.useEffect(function(){var Ur=function(ea){ea.preventDefault()},aa=pt.current,Hr=de.current;return aa.addEventListener("touchstart",Ur,{passive:!1}),Hr.addEventListener("touchstart",Yn,{passive:!1}),function(){aa.removeEventListener("touchstart",Ur),Hr.removeEventListener("touchstart",Yn)}},[]);var Sr=Fe.useRef();Sr.current=Er;var br=Fe.useRef();br.current=wt,Fe.useEffect(function(){if(Ln){var Ur,aa=function(ea){var jn=cr.current,sr=jn.dragging,Kr=jn.pageY,zr=jn.startTop;ze.Z.cancel(Ur);var ve=pt.current.getBoundingClientRect(),Ie=Dt/(gt?ve.width:ve.height);if(sr){var ut=(Tn(ea,gt)-Kr)*Ie,Le=zr;!Ct&>?Le-=ut:Le+=ut;var He=Sr.current,Vt=br.current,et=Vt?Le/Vt:0,en=Math.ceil(et*He);en=Math.max(en,0),en=Math.min(en,He),Ur=(0,ze.Z)(function(){$t(en,gt)})}},Hr=function(){kn(!1),ct()};return window.addEventListener("mousemove",aa,{passive:!0}),window.addEventListener("touchmove",aa,{passive:!0}),window.addEventListener("mouseup",Hr,{passive:!0}),window.addEventListener("touchend",Hr,{passive:!0}),function(){window.removeEventListener("mousemove",aa),window.removeEventListener("touchmove",aa),window.removeEventListener("mouseup",Hr),window.removeEventListener("touchend",Hr),ze.Z.cancel(Ur)}}},[Ln]),Fe.useEffect(function(){return ar(),function(){clearTimeout(yr.current)}},[je]),Fe.useImperativeHandle(he,function(){return{delayHidden:ar}});var Nr="".concat(ce,"-scrollbar"),Jr={position:"absolute",visibility:mn?null:"hidden"},$r={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return gt?(Object.assign(Jr,{height:8,left:0,right:0,bottom:0}),Object.assign($r,(0,pe.Z)({height:"100%",width:yt},Ct?"left":"right",Qn))):(Object.assign(Jr,(0,pe.Z)({width:8,top:0,bottom:0},Ct?"right":"left",0)),Object.assign($r,{width:"100%",height:yt,top:Qn})),Fe.createElement("div",{ref:pt,className:Oe()(Nr,(0,pe.Z)((0,pe.Z)((0,pe.Z)({},"".concat(Nr,"-horizontal"),gt),"".concat(Nr,"-vertical"),!gt),"".concat(Nr,"-visible"),mn)),style:(0,le.Z)((0,le.Z)({},Jr),Pt),onMouseDown:lr,onMouseMove:ar},Fe.createElement("div",{ref:de,className:Oe()("".concat(Nr,"-thumb"),(0,pe.Z)({},"".concat(Nr,"-thumb-moving"),Ln)),style:(0,le.Z)((0,le.Z)({},$r),Wt),onMouseDown:Yn}))}),on=Qt,st=20;function Ut(){var De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ce=De/he*De;return isNaN(ce)&&(ce=0),ce=Math.max(ce,st),Math.floor(ce)}var Gt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],On=[],ft={overflowY:"auto",overflowAnchor:"none"};function En(De,he){var ce=De.prefixCls,Te=ce===void 0?"rc-virtual-list":ce,je=De.className,ge=De.height,Pe=De.itemHeight,ct=De.fullHeight,$t=ct===void 0?!0:ct,gt=De.style,yt=De.data,Dt=De.children,Pt=De.itemKey,Wt=De.virtual,pn=De.direction,fn=De.scrollWidth,Mt=De.component,Ln=Mt===void 0?"div":Mt,kn=De.onScroll,wn=De.onVirtualScroll,ln=De.onVisibleChange,In=De.innerProps,xn=De.extraRender,kt=De.styles,Yt=De.showScrollBar,Ft=Yt===void 0?"optional":Yt,vn=(0,fe.Z)(De,Gt),Ct=Fe.useCallback(function(qn){return typeof Pt=="function"?Pt(qn):qn==null?void 0:qn[Pt]},[Pt]),pt=qe(Ct,null,null),de=(0,be.Z)(pt,4),qt=de[0],Dn=de[1],mn=de[2],vr=de[3],yr=!!(Wt!==!1&&ge&&Pe),ar=Fe.useMemo(function(){return Object.values(mn.maps).reduce(function(qn,hr){return qn+hr},0)},[mn.id,mn.maps]),Er=yr&&yt&&(Math.max(Pe*yt.length,ar)>ge||!!fn),wt=pn==="rtl",Qn=Oe()(Te,(0,pe.Z)({},"".concat(Te,"-rtl"),wt),je),lr=yt||On,cr=(0,Fe.useRef)(),Yn=(0,Fe.useRef)(),Sr=(0,Fe.useRef)(),br=(0,Fe.useState)(0),Nr=(0,be.Z)(br,2),Jr=Nr[0],$r=Nr[1],Ur=(0,Fe.useState)(0),aa=(0,be.Z)(Ur,2),Hr=aa[0],pa=aa[1],ea=(0,Fe.useState)(!1),jn=(0,be.Z)(ea,2),sr=jn[0],Kr=jn[1],zr=function(){Kr(!0)},ve=function(){Kr(!1)},Ie={getKey:Ct};function ut(qn){$r(function(hr){var or;typeof qn=="function"?or=qn(hr):or=qn;var er=wr(or);return cr.current.scrollTop=er,er})}var Le=(0,Fe.useRef)({start:0,end:lr.length}),He=(0,Fe.useRef)(),Vt=Qe(lr,Ct),et=(0,be.Z)(Vt,1),en=et[0];He.current=en;var cn=Fe.useMemo(function(){if(!yr)return{scrollHeight:void 0,start:0,end:lr.length-1,offset:void 0};if(!Er){var qn;return{scrollHeight:((qn=Yn.current)===null||qn===void 0?void 0:qn.offsetHeight)||0,start:0,end:lr.length-1,offset:void 0}}for(var hr=0,or,er,Dr,Ar=lr.length,ur=0;ur=Jr&&or===void 0&&(or=ur,er=hr),ba>Jr+ge&&Dr===void 0&&(Dr=ur),hr=ba}return or===void 0&&(or=0,er=0,Dr=Math.ceil(ge/Pe)),Dr===void 0&&(Dr=lr.length-1),Dr=Math.min(Dr+1,lr.length-1),{scrollHeight:hr,start:or,end:Dr,offset:er}},[Er,yr,Jr,lr,vr,ge]),Xt=cn.scrollHeight,an=cn.start,Kt=cn.end,nn=cn.offset;Le.current.start=an,Le.current.end=Kt,Fe.useLayoutEffect(function(){var qn=mn.getRecord();if(qn.size===1){var hr=Array.from(qn.keys())[0],or=qn.get(hr),er=lr[an];if(er&&or===void 0){var Dr=Ct(er);if(Dr===hr){var Ar=mn.get(hr),ur=Ar-Pe;ut(function(nr){return nr+ur})}}}mn.resetRecord()},[Xt]);var rt=Fe.useState({width:0,height:ge}),Jn=(0,be.Z)(rt,2),Bt=Jn[0],rr=Jn[1],Pr=function(hr){rr({width:hr.offsetWidth,height:hr.offsetHeight})},Sn=(0,Fe.useRef)(),rn=(0,Fe.useRef)(),Cn=Fe.useMemo(function(){return Ut(Bt.width,fn)},[Bt.width,fn]),Pn=Fe.useMemo(function(){return Ut(Bt.height,Xt)},[Bt.height,Xt]),zn=Xt-ge,tr=(0,Fe.useRef)(zn);tr.current=zn;function wr(qn){var hr=qn;return Number.isNaN(tr.current)||(hr=Math.min(hr,tr.current)),hr=Math.max(hr,0),hr}var pr=Jr<=0,Zn=Jr>=zn,Kn=Hr<=0,gr=Hr>=fn,dr=nt(pr,Zn,Kn,gr),Yr=function(){return{x:wt?-Hr:Hr,y:Jr}},Wr=(0,Fe.useRef)(Yr()),Zr=(0,xe.zX)(function(qn){if(wn){var hr=(0,le.Z)((0,le.Z)({},Yr()),qn);(Wr.current.x!==hr.x||Wr.current.y!==hr.y)&&(wn(hr),Wr.current=hr)}});function Qr(qn,hr){var or=qn;hr?((0,At.flushSync)(function(){pa(or)}),Zr()):ut(or)}function ca(qn){var hr=qn.currentTarget.scrollTop;hr!==Jr&&ut(hr),kn==null||kn(qn),Zr()}var Xr=function(hr){var or=hr,er=fn?fn-Bt.width:0;return or=Math.max(or,0),or=Math.min(or,er),or},la=(0,xe.zX)(function(qn,hr){hr?((0,At.flushSync)(function(){pa(function(or){var er=or+(wt?-qn:qn);return Xr(er)})}),Zr()):ut(function(or){var er=or+qn;return er})}),_r=bt(yr,pr,Zn,Kn,gr,!!fn,la),oa=(0,be.Z)(_r,2),_t=oa[0],Ea=oa[1];Rt(yr,cr,function(qn,hr,or,er){var Dr=er;return dr(qn,hr,or)?!1:!Dr||!Dr._virtualHandled?(Dr&&(Dr._virtualHandled=!0),_t({preventDefault:function(){},deltaX:qn?hr:0,deltaY:qn?0:hr}),!0):!1}),Tt(Er,cr,function(qn){ut(function(hr){return hr+qn})}),(0,Ge.Z)(function(){function qn(or){var er=pr&&or.detail<0,Dr=Zn&&or.detail>0;yr&&!er&&!Dr&&or.preventDefault()}var hr=cr.current;return hr.addEventListener("wheel",_t,{passive:!1}),hr.addEventListener("DOMMouseScroll",Ea,{passive:!0}),hr.addEventListener("MozMousePixelScroll",qn,{passive:!1}),function(){hr.removeEventListener("wheel",_t),hr.removeEventListener("DOMMouseScroll",Ea),hr.removeEventListener("MozMousePixelScroll",qn)}},[yr,pr,Zn]),(0,Ge.Z)(function(){if(fn){var qn=Xr(Hr);pa(qn),Zr({x:qn})}},[Bt.width,fn]);var ia=function(){var hr,or;(hr=Sn.current)===null||hr===void 0||hr.delayHidden(),(or=rn.current)===null||or===void 0||or.delayHidden()},ra=Se(cr,lr,mn,Pe,Ct,function(){return Dn(!0)},ut,ia);Fe.useImperativeHandle(he,function(){return{nativeElement:Sr.current,getScrollInfo:Yr,scrollTo:function(hr){function or(er){return er&&(0,me.Z)(er)==="object"&&("left"in er||"top"in er)}or(hr)?(hr.left!==void 0&&pa(Xr(hr.left)),ra(hr.top)):ra(hr)}}}),(0,Ge.Z)(function(){if(ln){var qn=lr.slice(an,Kt+1);ln(qn,lr)}},[an,Kt,lr]);var fa=it(lr,Ct,mn,Pe),ha=xn==null?void 0:xn({start:an,end:Kt,virtual:Er,offsetX:Hr,offsetY:nn,rtl:wt,getSize:fa}),Br=We(lr,an,Kt,fn,Hr,qt,Dt,Ie),Gn=null;ge&&(Gn=(0,le.Z)((0,pe.Z)({},$t?"height":"maxHeight",ge),ft),yr&&(Gn.overflowY="hidden",fn&&(Gn.overflowX="hidden"),sr&&(Gn.pointerEvents="none")));var Vr={};return wt&&(Vr.dir="rtl"),Fe.createElement("div",(0,b.Z)({ref:Sr,style:(0,le.Z)((0,le.Z)({},gt),{},{position:"relative"}),className:Qn},Vr,vn),Fe.createElement(Re.Z,{onResize:Pr},Fe.createElement(Ln,{className:"".concat(Te,"-holder"),style:Gn,ref:cr,onScroll:ca,onMouseEnter:ia},Fe.createElement(tt,{prefixCls:Te,height:Xt,offsetX:Hr,offsetY:nn,scrollWidth:fn,onInnerResize:Dn,ref:Yn,innerProps:In,rtl:wt,extra:ha},Br))),Er&&Xt>ge&&Fe.createElement(on,{ref:Sn,prefixCls:Te,scrollOffset:Jr,scrollRange:Xt,rtl:wt,onScroll:Qr,onStartMove:zr,onStopMove:ve,spinSize:Pn,containerSize:Bt.height,style:kt==null?void 0:kt.verticalScrollBar,thumbStyle:kt==null?void 0:kt.verticalScrollBarThumb,showScrollBar:Ft}),Er&&fn>Bt.width&&Fe.createElement(on,{ref:rn,prefixCls:Te,scrollOffset:Hr,scrollRange:fn,rtl:wt,onScroll:Qr,onStartMove:zr,onStopMove:ve,spinSize:Cn,containerSize:Bt.width,horizontal:!0,style:kt==null?void 0:kt.horizontalScrollBar,thumbStyle:kt==null?void 0:kt.horizontalScrollBarThumb,showScrollBar:Ft}))}var Ht=Fe.forwardRef(En);Ht.displayName="List";var gn=Ht,un=gn},66328:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Ye}});var b=y(42244),me=y(77654),le=y(18642),pe=y(59301),be=y(60499);function fe(Se,Qt){var on=Object.keys(Se);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Se);Qt&&(st=st.filter(function(Ut){return Object.getOwnPropertyDescriptor(Se,Ut).enumerable})),on.push.apply(on,st)}return on}function we(Se){for(var Qt=1;Qt=4)return[Se[0],Se[1],Se[2],Se[3],"".concat(Se[0],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[3]),"".concat(Se[3],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[1],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[0],".").concat(Se[2],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[0],".").concat(Se[3],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[2],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[0],".").concat(Se[3],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[1],".").concat(Se[2],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[1],".").concat(Se[3],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[1],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[0],".").concat(Se[3],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[0],".").concat(Se[3]),"".concat(Se[2],".").concat(Se[1],".").concat(Se[3],".").concat(Se[0]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[2],".").concat(Se[3],".").concat(Se[1],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[1],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[0],".").concat(Se[2],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[0],".").concat(Se[2]),"".concat(Se[3],".").concat(Se[1],".").concat(Se[2],".").concat(Se[0]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[0],".").concat(Se[1]),"".concat(Se[3],".").concat(Se[2],".").concat(Se[1],".").concat(Se[0])]}var Re={};function xe(Se){if(Se.length===0||Se.length===1)return Se;var Qt=Se.join(".");return Re[Qt]||(Re[Qt]=Oe(Se)),Re[Qt]}function Ge(Se){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},on=arguments.length>2?arguments[2]:void 0,st=Se.filter(function(Gt){return Gt!=="token"}),Ut=xe(st);return Ut.reduce(function(Gt,On){return we(we({},Gt),on[On])},Qt)}function Fe(Se){return Se.join(" ")}function At(Se,Qt){var on=0;return function(st){return on+=1,st.map(function(Ut,Gt){return at({node:Ut,stylesheet:Se,useInlineStyles:Qt,key:"code-segment-".concat(on,"-").concat(Gt)})})}}function at(Se){var Qt=Se.node,on=Se.stylesheet,st=Se.style,Ut=st===void 0?{}:st,Gt=Se.useInlineStyles,On=Se.key,ft=Qt.properties,En=Qt.type,Ht=Qt.tagName,gn=Qt.value;if(En==="text")return gn;if(Ht){var un=At(on,Gt),De;if(!Gt)De=we(we({},ft),{},{className:Fe(ft.className)});else{var he=Object.keys(on).reduce(function(ge,Pe){return Pe.split(".").forEach(function(ct){ge.includes(ct)||ge.push(ct)}),ge},[]),ce=ft.className&&ft.className.includes("token")?["token"]:[],Te=ft.className&&ce.concat(ft.className.filter(function(ge){return!he.includes(ge)}));De=we(we({},ft),{},{className:Fe(Te)||void 0,style:Ge(ft.className,Object.assign({},ft.style,Ut),on)})}var je=un(Qt.children);return pe.createElement(Ht,(0,be.Z)({key:On},De),je)}}var tt=function(Se,Qt){var on=Se.listLanguages();return on.indexOf(Qt)!==-1},Je=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function We(Se,Qt){var on=Object.keys(Se);if(Object.getOwnPropertySymbols){var st=Object.getOwnPropertySymbols(Se);Qt&&(st=st.filter(function(Ut){return Object.getOwnPropertyDescriptor(Se,Ut).enumerable})),on.push.apply(on,st)}return on}function Ve(Se){for(var Qt=1;Qt1&&arguments[1]!==void 0?arguments[1]:[],on=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],st=0;st2&&arguments[2]!==void 0?arguments[2]:[];return it({children:gt,lineNumber:yt,lineNumberStyle:ft,largestLineNumber:On,showInlineLineNumbers:Ut,lineProps:on,className:Dt,showLineNumbers:st,wrapLongLines:En,wrapLines:Qt})}function Te(gt,yt){if(st&&yt&&Ut){var Dt=bt(ft,yt,On);gt.unshift(nt(yt,Dt))}return gt}function je(gt,yt){var Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Qt||Dt.length>0?ce(gt,yt,Dt):Te(gt,yt)}for(var ge=function(){var yt=gn[he],Dt=yt.children[0].value,Pt=Qe(Dt);if(Pt){var Wt=Dt.split(` +`);Wt.forEach(function(pn,fn){var Mt=st&&un.length+Gt,Ln={type:"text",value:"".concat(pn,` +`)};if(fn===0){var kn=gn.slice(De+1,he).concat(it({children:[Ln],className:yt.properties.className})),wn=je(kn,Mt);un.push(wn)}else if(fn===Wt.length-1){var ln=gn[he+1]&&gn[he+1].children&&gn[he+1].children[0],In={type:"text",value:"".concat(pn)};if(ln){var xn=it({children:[In],className:yt.properties.className});gn.splice(he+1,0,xn)}else{var kt=[In],Yt=je(kt,Mt,yt.properties.className);un.push(Yt)}}else{var Ft=[Ln],vn=je(Ft,Mt,yt.properties.className);un.push(vn)}}),De=he}he++};he code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},Rt=y(11594),Zt=y.n(Rt),Tn=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"],Tt=qe(Zt(),Jt);Tt.supportedLanguages=Tn;var Ye=Tt},18369:function(Ce,ae){"use strict";ae.Z={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}},19524:function(Ce,ae,y){"use strict";y(84126);var b=y(59301),me=60103;if(ae.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var le=Symbol.for;me=le("react.element"),ae.Fragment=le("react.fragment")}var pe=b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,be=Object.prototype.hasOwnProperty,fe={key:!0,ref:!0,__self:!0,__source:!0};function we(Oe,Re,xe){var Ge,Fe={},At=null,at=null;xe!==void 0&&(At=""+xe),Re.key!==void 0&&(At=""+Re.key),Re.ref!==void 0&&(at=Re.ref);for(Ge in Re)be.call(Re,Ge)&&!fe.hasOwnProperty(Ge)&&(Fe[Ge]=Re[Ge]);if(Oe&&Oe.defaultProps)for(Ge in Re=Oe.defaultProps,Re)Fe[Ge]===void 0&&(Fe[Ge]=Re[Ge]);return{$$typeof:me,type:Oe,key:At,ref:at,props:Fe,_owner:pe.current}}ae.jsx=we,ae.jsxs=we},37712:function(Ce,ae,y){"use strict";Ce.exports=y(19524)},95489:function(Ce,ae,y){"use strict";var b=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof y.g=="object"?y.g:{},me=_e();b.Prism={manual:!0,disableWorkerMessageHandler:!0};var le=y(43621),pe=y(12256),be=y(68398),fe=y(70614),we=y(54212),Oe=y(9720),Re=y(88786);me();var xe={}.hasOwnProperty;function Ge(){}Ge.prototype=be;var Fe=new Ge;Ce.exports=Fe,Fe.highlight=tt,Fe.register=At,Fe.alias=at,Fe.registered=Je,Fe.listLanguages=We,At(fe),At(we),At(Oe),At(Re),Fe.util.encode=Qe,Fe.Token.stringify=Ve;function At($e){if(typeof $e!="function"||!$e.displayName)throw new Error("Expected `function` for `grammar`, got `"+$e+"`");Fe.languages[$e.displayName]===void 0&&$e(Fe)}function at($e,nt){var bt=Fe.languages,it=$e,Nt,vt,dt,It;nt&&(it={},it[$e]=nt);for(Nt in it)for(vt=it[Nt],vt=typeof vt=="string"?[vt]:vt,dt=vt.length,It=-1;++It]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(Ce){"use strict";Ce.exports=ae,ae.displayName="abnf",ae.aliases=[];function ae(y){(function(b){var me="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";b.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+me+"|<"+me+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(y)}},42746:function(Ce){"use strict";Ce.exports=ae,ae.displayName="actionscript",ae.aliases=[];function ae(y){y.languages.actionscript=y.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),y.languages.actionscript["class-name"].alias="function",delete y.languages.actionscript.parameter,delete y.languages.actionscript["literal-property"],y.languages.markup&&y.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:y.languages.markup}})}},93281:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ada",ae.aliases=[];function ae(y){y.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(Ce){"use strict";Ce.exports=ae,ae.displayName="agda",ae.aliases=[];function ae(y){(function(b){b.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(y)}},65924:function(Ce){"use strict";Ce.exports=ae,ae.displayName="al",ae.aliases=[];function ae(y){y.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(Ce){"use strict";Ce.exports=ae,ae.displayName="antlr4",ae.aliases=["g4"];function ae(y){y.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},y.languages.g4=y.languages.antlr4}},43556:function(Ce){"use strict";Ce.exports=ae,ae.displayName="apacheconf",ae.aliases=[];function ae(y){y.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(Ce,ae,y){"use strict";var b=y(69435);Ce.exports=me,me.displayName="apex",me.aliases=[];function me(le){le.register(b),function(pe){var be=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,fe=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return be.source});function we(Re){return RegExp(Re.replace(//g,function(){return fe}),"i")}var Oe={keyword:be,punctuation:/[()\[\]{};,:.<>]/};pe.languages.apex={comment:pe.languages.clike.comment,string:pe.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:pe.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:we(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:Oe},{pattern:we(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:Oe},{pattern:we(/(?=\s*\w+\s*[;=,(){:])/.source),inside:Oe}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:be,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(le)}},4248:function(Ce){"use strict";Ce.exports=ae,ae.displayName="apl",ae.aliases=[];function ae(y){y.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(Ce){"use strict";Ce.exports=ae,ae.displayName="applescript",ae.aliases=[];function ae(y){y.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(Ce){"use strict";Ce.exports=ae,ae.displayName="aql",ae.aliases=[];function ae(y){y.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(Ce,ae,y){"use strict";var b=y(87071);Ce.exports=me,me.displayName="arduino",me.aliases=["ino"];function me(le){le.register(b),le.languages.arduino=le.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),le.languages.ino=le.languages.arduino}},22956:function(Ce){"use strict";Ce.exports=ae,ae.displayName="arff",ae.aliases=[];function ae(y){y.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(Ce){"use strict";Ce.exports=ae,ae.displayName="asciidoc",ae.aliases=["adoc"];function ae(y){(function(b){var me={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},le=b.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:me,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:me.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:me,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function pe(be){be=be.split(" ");for(var fe={},we=0,Oe=be.length;we>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(Ce,ae,y){"use strict";var b=y(87648);Ce.exports=me,me.displayName="aspnet",me.aliases=[];function me(le){le.register(b),le.languages.aspnet=le.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:le.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:le.languages.csharp}}}),le.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,le.languages.insertBefore("inside","punctuation",{directive:le.languages.aspnet.directive},le.languages.aspnet.tag.inside["attr-value"]),le.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),le.languages.insertBefore("aspnet",le.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:le.languages.csharp||{}}})}},20803:function(Ce){"use strict";Ce.exports=ae,ae.displayName="autohotkey",ae.aliases=[];function ae(y){y.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}},65235:function(Ce){"use strict";Ce.exports=ae,ae.displayName="autoit",ae.aliases=[];function ae(y){y.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}},52406:function(Ce){"use strict";Ce.exports=ae,ae.displayName="avisynth",ae.aliases=["avs"];function ae(y){(function(b){function me(Re,xe){return Re.replace(/<<(\d+)>>/g,function(Ge,Fe){return xe[+Fe]})}function le(Re,xe,Ge){return RegExp(me(Re,xe),Ge||"")}var pe=/bool|clip|float|int|string|val/.source,be=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),fe=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),we=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),Oe=[be,fe,we].join("|");b.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:le(/\b(?:<<0>>)\s+("?)\w+\1/.source,[pe],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:le(/\b(?:<<0>>)\b/.source,[Oe],"i"),alias:"function"},"type-cast":{pattern:le(/\b(?:<<0>>)(?=\s*\()/.source,[pe],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},b.languages.avs=b.languages.avisynth})(y)}},79571:function(Ce){"use strict";Ce.exports=ae,ae.displayName="avroIdl",ae.aliases=[];function ae(y){y.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},y.languages.avdl=y.languages["avro-idl"]}},3058:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bash",ae.aliases=["shell"];function ae(y){(function(b){var me="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",le={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},pe={bash:le,environment:{pattern:RegExp("\\$"+me),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+me),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};b.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+me),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:pe},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:le}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:pe},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:pe.entity}}],environment:{pattern:RegExp("\\$?"+me),alias:"constant"},variable:pe.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},le.inside=b.languages.bash;for(var be=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],fe=pe.variable[1].inside,we=0;we?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}},1618:function(Ce){"use strict";Ce.exports=ae,ae.displayName="batch",ae.aliases=[];function ae(y){(function(b){var me=/%%?[~:\w]+%?|!\S+!/,le={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},pe=/"(?:[\\"]"|[^"])*"(?!")/,be=/(?:\b|-)\d+\b/;b.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:pe,parameter:le,variable:me,number:be,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:pe,parameter:le,variable:me,number:be,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:pe,parameter:le,variable:[me,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:be,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:pe,parameter:le,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:me,number:be,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(y)}},2505:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bbcode",ae.aliases=["shortcode"];function ae(y){y.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},y.languages.shortcode=y.languages.bbcode}},51274:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bicep",ae.aliases=[];function ae(y){y.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},y.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=y.languages.bicep}},23796:function(Ce){"use strict";Ce.exports=ae,ae.displayName="birb",ae.aliases=[];function ae(y){y.languages.birb=y.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),y.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}},13979:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="bison",me.aliases=[];function me(le){le.register(b),le.languages.bison=le.languages.extend("c",{}),le.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:le.languages.c}},comment:le.languages.c.comment,string:le.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}},87994:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bnf",ae.aliases=["rbnf"];function ae(y){y.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},y.languages.rbnf=y.languages.bnf}},47035:function(Ce){"use strict";Ce.exports=ae,ae.displayName="brainfuck",ae.aliases=[];function ae(y){y.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}},36142:function(Ce){"use strict";Ce.exports=ae,ae.displayName="brightscript",ae.aliases=[];function ae(y){y.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},y.languages.brightscript["directive-statement"].inside.expression.inside=y.languages.brightscript}},85290:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bro",ae.aliases=[];function ae(y){y.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}},7407:function(Ce){"use strict";Ce.exports=ae,ae.displayName="bsl",ae.aliases=[];function ae(y){y.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},y.languages.oscript=y.languages.bsl}},79440:function(Ce){"use strict";Ce.exports=ae,ae.displayName="c",ae.aliases=[];function ae(y){y.languages.c=y.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),y.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),y.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},y.languages.c.string],char:y.languages.c.char,comment:y.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:y.languages.c}}}}),y.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete y.languages.c.boolean}},7110:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cfscript",ae.aliases=[];function ae(y){y.languages.cfscript=y.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),y.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete y.languages.cfscript["class-name"],y.languages.cfc=y.languages.cfscript}},73435:function(Ce,ae,y){"use strict";var b=y(87071);Ce.exports=me,me.displayName="chaiscript",me.aliases=[];function me(le){le.register(b),le.languages.chaiscript=le.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[le.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),le.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),le.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:le.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}},91372:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cil",ae.aliases=[];function ae(y){y.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}},9720:function(Ce){"use strict";Ce.exports=ae,ae.displayName="clike",ae.aliases=[];function ae(y){y.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}},63663:function(Ce){"use strict";Ce.exports=ae,ae.displayName="clojure",ae.aliases=[];function ae(y){y.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}},92987:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cmake",ae.aliases=[];function ae(y){y.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?: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|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|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|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|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|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}},91657:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cobol",ae.aliases=[];function ae(y){y.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}},34367:function(Ce){"use strict";Ce.exports=ae,ae.displayName="coffeescript",ae.aliases=["coffee"];function ae(y){(function(b){var me=/#(?!\{).+/,le={pattern:/#\{[^}]+\}/,alias:"variable"};b.languages.coffeescript=b.languages.extend("javascript",{comment:me,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:le}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),b.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:me,interpolation:le}}}),b.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:b.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:le}}]}),b.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete b.languages.coffeescript["template-string"],b.languages.coffee=b.languages.coffeescript})(y)}},35348:function(Ce){"use strict";Ce.exports=ae,ae.displayName="concurnas",ae.aliases=["conc"];function ae(y){y.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},y.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:y.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:y.languages.concurnas},string:/[\s\S]+/}}}),y.languages.conc=y.languages.concurnas}},26841:function(Ce){"use strict";Ce.exports=ae,ae.displayName="coq",ae.aliases=[];function ae(y){(function(b){for(var me=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,le=0;le<2;le++)me=me.replace(//g,function(){return me});me=me.replace(//g,"[]"),b.languages.coq={comment:RegExp(me),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return me})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(me),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(y)}},87071:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="cpp",me.aliases=[];function me(le){le.register(b),function(pe){var be=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,fe=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return be.source});pe.languages.cpp=pe.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return be.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:be,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),pe.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return fe})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),pe.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:pe.languages.cpp}}}}),pe.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),pe.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:pe.languages.extend("cpp",{})}}),pe.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},pe.languages.cpp["base-clause"])}(le)}},13652:function(Ce,ae,y){"use strict";var b=y(75308);Ce.exports=me,me.displayName="crystal",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.crystal=pe.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,pe.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),pe.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:pe.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:pe.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(le)}},87648:function(Ce){"use strict";Ce.exports=ae,ae.displayName="csharp",ae.aliases=["dotnet","cs"];function ae(y){(function(b){function me(Tn,Tt){return Tn.replace(/<<(\d+)>>/g,function(Ye,Se){return"(?:"+Tt[+Se]+")"})}function le(Tn,Tt,Ye){return RegExp(me(Tn,Tt),Ye||"")}function pe(Tn,Tt){for(var Ye=0;Ye>/g,function(){return"(?:"+Tn+")"});return Tn.replace(/<>/g,"[^\\s\\S]")}var be={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function fe(Tn){return"\\b(?:"+Tn.trim().replace(/ /g,"|")+")\\b"}var we=fe(be.typeDeclaration),Oe=RegExp(fe(be.type+" "+be.typeDeclaration+" "+be.contextual+" "+be.other)),Re=fe(be.typeDeclaration+" "+be.contextual+" "+be.other),xe=fe(be.type+" "+be.typeDeclaration+" "+be.other),Ge=pe(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),Fe=pe(/\((?:[^()]|<>)*\)/.source,2),At=/@?\b[A-Za-z_]\w*\b/.source,at=me(/<<0>>(?:\s*<<1>>)?/.source,[At,Ge]),tt=me(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[Re,at]),Je=/\[\s*(?:,\s*)*\]/.source,We=me(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[tt,Je]),Ve=me(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[Ge,Fe,Je]),Ze=me(/\(<<0>>+(?:,<<0>>+)+\)/.source,[Ve]),Qe=me(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[Ze,tt,Je]),ze={keyword:Oe,punctuation:/[<>()?,.:[\]]/},_e=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,$e=/"(?:\\.|[^\\"\r\n])*"/.source,nt=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;b.languages.csharp=b.languages.extend("clike",{string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[nt]),lookbehind:!0,greedy:!0},{pattern:le(/(^|[^@$\\])<<0>>/.source,[$e]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[tt]),lookbehind:!0,inside:ze},{pattern:le(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[At,Qe]),lookbehind:!0,inside:ze},{pattern:le(/(\busing\s+)<<0>>(?=\s*=)/.source,[At]),lookbehind:!0},{pattern:le(/(\b<<0>>\s+)<<1>>/.source,[we,at]),lookbehind:!0,inside:ze},{pattern:le(/(\bcatch\s*\(\s*)<<0>>/.source,[tt]),lookbehind:!0,inside:ze},{pattern:le(/(\bwhere\s+)<<0>>/.source,[At]),lookbehind:!0},{pattern:le(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[We]),lookbehind:!0,inside:ze},{pattern:le(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Qe,xe,At]),inside:ze}],keyword:Oe,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),b.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),b.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:le(/([(,]\s*)<<0>>(?=\s*:)/.source,[At]),lookbehind:!0,alias:"punctuation"}}),b.languages.insertBefore("csharp","class-name",{namespace:{pattern:le(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[At]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:le(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[Fe]),lookbehind:!0,alias:"class-name",inside:ze},"return-type":{pattern:le(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Qe,tt]),inside:ze,alias:"class-name"},"constructor-invocation":{pattern:le(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Qe]),lookbehind:!0,inside:ze,alias:"class-name"},"generic-method":{pattern:le(/<<0>>\s*<<1>>(?=\s*\()/.source,[At,Ge]),inside:{function:le(/^<<0>>/.source,[At]),generic:{pattern:RegExp(Ge),alias:"class-name",inside:ze}}},"type-list":{pattern:le(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[we,at,At,Qe,Oe.source,Fe,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:le(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[at,Fe]),lookbehind:!0,greedy:!0,inside:b.languages.csharp},keyword:Oe,"class-name":{pattern:RegExp(Qe),greedy:!0,inside:ze},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var bt=$e+"|"+_e,it=me(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[bt]),Nt=pe(me(/[^"'/()]|<<0>>|\(<>*\)/.source,[it]),2),vt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,dt=me(/<<0>>(?:\s*\(<<1>>*\))?/.source,[tt,Nt]);b.languages.insertBefore("csharp","class-name",{attribute:{pattern:le(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[vt,dt]),lookbehind:!0,greedy:!0,inside:{target:{pattern:le(/^<<0>>(?=\s*:)/.source,[vt]),alias:"keyword"},"attribute-arguments":{pattern:le(/\(<<0>>*\)/.source,[Nt]),inside:b.languages.csharp},"class-name":{pattern:RegExp(tt),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var It=/:[^}\r\n]+/.source,St=pe(me(/[^"'/()]|<<0>>|\(<>*\)/.source,[it]),2),qe=me(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[St,It]),Jt=pe(me(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[bt]),2),Rt=me(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Jt,It]);function Zt(Tn,Tt){return{interpolation:{pattern:le(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Tn]),lookbehind:!0,inside:{"format-string":{pattern:le(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Tt,It]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:b.languages.csharp}}},string:/[\s\S]+/}}b.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:le(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[qe]),lookbehind:!0,greedy:!0,inside:Zt(qe,St)},{pattern:le(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[Rt]),lookbehind:!0,greedy:!0,inside:Zt(Rt,Jt)}],char:{pattern:RegExp(_e),greedy:!0}}),b.languages.dotnet=b.languages.cs=b.languages.csharp})(y)}},10617:function(Ce,ae,y){"use strict";var b=y(87648);Ce.exports=me,me.displayName="cshtml",me.aliases=["razor"];function me(le){le.register(b),function(pe){var be=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,fe=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function we(We,Ve){for(var Ze=0;Ze/g,function(){return"(?:"+We+")"});return We.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+fe+")").replace(//g,"(?:"+be+")")}var Oe=we(/\((?:[^()'"@/]|||)*\)/.source,2),Re=we(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),xe=we(/\{(?:[^{}'"@/]|||)*\}/.source,2),Ge=we(/<(?:[^<>'"@/]|||)*>/.source,2),Fe=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,At=/(?!\d)[^\s>\/=$<%]+/.source+Fe+/\s*\/?>/.source,at=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+Fe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+At+"|"+we(/<\1/.source+Fe+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+At+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},b.languages.css.atrule.inside["selector-function-argument"].inside=le,b.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var pe={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},be={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};b.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:pe,number:be,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:pe,number:be})})(y)}},54212:function(Ce){"use strict";Ce.exports=ae,ae.displayName="css",ae.aliases=[];function ae(y){(function(b){var me=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;b.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+me.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+me.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+me.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:me,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css;var le=b.languages.markup;le&&(le.tag.addInlined("style","css"),le.tag.addAttribute("style","css"))})(y)}},69820:function(Ce){"use strict";Ce.exports=ae,ae.displayName="csv",ae.aliases=[];function ae(y){y.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}},41929:function(Ce){"use strict";Ce.exports=ae,ae.displayName="cypher",ae.aliases=[];function ae(y){y.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}},51837:function(Ce){"use strict";Ce.exports=ae,ae.displayName="d",ae.aliases=[];function ae(y){y.languages.d=y.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),y.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),y.languages.insertBefore("d","keyword",{property:/\B@\w*/}),y.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}},4182:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dart",ae.aliases=[];function ae(y){(function(b){var me=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,pe={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};b.languages.dart=b.languages.extend("clike",{"class-name":[pe,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:pe.inside}],keyword:me,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),b.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.dart}}},string:/[\s\S]+/}},string:void 0}),b.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),b.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":pe,keyword:me,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(y)}},22117:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dataweave",ae.aliases=[];function ae(y){(function(b){b.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(y)}},95627:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dax",ae.aliases=[];function ae(y){y.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}},34265:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dhall",ae.aliases=[];function ae(y){y.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},y.languages.dhall.string.inside.interpolation.inside.expression.inside=y.languages.dhall}},50618:function(Ce){"use strict";Ce.exports=ae,ae.displayName="diff",ae.aliases=[];function ae(y){(function(b){b.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var me={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(me).forEach(function(le){var pe=me[le],be=[];/^\w+$/.test(le)||be.push(/\w+/.exec(le)[0]),le==="diff"&&be.push("bold"),b.languages.diff[le]={pattern:RegExp("^(?:["+pe+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:be,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(le)[0]}}}}),Object.defineProperty(b.languages.diff,"PREFIXES",{value:he})})(y)}},32126:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="django",he.aliases=["jinja2"];function he(le){le.register(b),function(pe){pe.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var be=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,fe=pe.languages["markup-templating"];pe.hooks.add("before-tokenize",function(we){fe.buildPlaceholders(we,"django",be)}),pe.hooks.add("after-tokenize",function(we){fe.tokenizePlaceholders(we,"django")}),pe.languages.jinja2=pe.languages.django,pe.hooks.add("before-tokenize",function(we){fe.buildPlaceholders(we,"jinja2",be)}),pe.hooks.add("after-tokenize",function(we){fe.tokenizePlaceholders(we,"jinja2")})}(le)}},26737:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dnsZoneFile",ae.aliases=[];function ae(y){y.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},y.languages["dns-zone"]=y.languages["dns-zone-file"]}},90134:function(Ce){"use strict";Ce.exports=ae,ae.displayName="docker",ae.aliases=["dockerfile"];function ae(y){(function(b){var he=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,le=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return he}),pe=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,be=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return pe}),fe={pattern:RegExp(pe),greedy:!0},we={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function Oe(Re,xe){return Re=Re.replace(//g,function(){return be}).replace(//g,function(){return le}),RegExp(Re,xe)}b.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:Oe(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[fe,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:Oe(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:we,string:fe,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:we},b.languages.dockerfile=b.languages.docker})(y)}},51348:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dot",ae.aliases=["gv"];function ae(y){(function(b){var he="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",le={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:b.languages.markup}};function pe(be,fe){return RegExp(be.replace(//g,function(){return he}),fe)}b.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:pe(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:le},"attr-value":{pattern:pe(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:le},"attr-name":{pattern:pe(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:le},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:pe(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:le},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},b.languages.gv=b.languages.dot})(y)}},60841:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ebnf",ae.aliases=[];function ae(y){y.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(Ce){"use strict";Ce.exports=ae,ae.displayName="editorconfig",ae.aliases=[];function ae(y){y.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(Ce){"use strict";Ce.exports=ae,ae.displayName="eiffel",ae.aliases=[];function ae(y){y.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="ejs",he.aliases=["eta"];function he(le){le.register(b),function(pe){pe.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:pe.languages.javascript}},pe.hooks.add("before-tokenize",function(be){var fe=/<%(?!%)[\s\S]+?%>/g;pe.languages["markup-templating"].buildPlaceholders(be,"ejs",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"ejs")}),pe.languages.eta=pe.languages.ejs}(le)}},83125:function(Ce){"use strict";Ce.exports=ae,ae.displayName="elixir",ae.aliases=[];function ae(y){y.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},y.languages.elixir.string.forEach(function(b){b.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:y.languages.elixir}}}})}},9438:function(Ce){"use strict";Ce.exports=ae,ae.displayName="elm",ae.aliases=[];function ae(y){y.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(Ce,ae,y){"use strict";var b=y(75308),he=y(51478);Ce.exports=le,le.displayName="erb",le.aliases=[];function le(pe){pe.register(b),pe.register(he),function(be){be.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:be.languages.ruby}},be.hooks.add("before-tokenize",function(fe){var we=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;be.languages["markup-templating"].buildPlaceholders(fe,"erb",we)}),be.hooks.add("after-tokenize",function(fe){be.languages["markup-templating"].tokenizePlaceholders(fe,"erb")})}(pe)}},86549:function(Ce){"use strict";Ce.exports=ae,ae.displayName="erlang",ae.aliases=[];function ae(y){y.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(Ce,ae,y){"use strict";var b=y(33978),he=y(51478);Ce.exports=le,le.displayName="etlua",le.aliases=[];function le(pe){pe.register(b),pe.register(he),function(be){be.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:be.languages.lua}},be.hooks.add("before-tokenize",function(fe){var we=/<%[\s\S]+?%>/g;be.languages["markup-templating"].buildPlaceholders(fe,"etlua",we)}),be.hooks.add("after-tokenize",function(fe){be.languages["markup-templating"].tokenizePlaceholders(fe,"etlua")})}(pe)}},59250:function(Ce){"use strict";Ce.exports=ae,ae.displayName="excelFormula",ae.aliases=[];function ae(y){y.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},y.languages.xlsx=y.languages.xls=y.languages["excel-formula"]}},81226:function(Ce){"use strict";Ce.exports=ae,ae.displayName="factor",ae.aliases=[];function ae(y){(function(b){var he={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},le={number:/\\[^\s']|%\w/},pe={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:he},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:he},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:he}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:le.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:le}},be=function(Re){return(Re+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},fe=function(Re){return new RegExp("(^|\\s)(?:"+Re.map(be).join("|")+")(?=\\s|$)")},we={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(we).forEach(function(Re){pe[Re].pattern=fe(we[Re])});var Oe=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];pe.combinators.pattern=fe(Oe),b.languages.factor=pe})(y)}},65245:function(Ce){"use strict";Ce.exports=ae,ae.displayName="$false",ae.aliases=[];function ae(y){(function(b){b.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete y.languages["firestore-security-rules"]["class-name"],y.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(Ce){"use strict";Ce.exports=ae,ae.displayName="flow",ae.aliases=[];function ae(y){(function(b){b.languages.flow=b.languages.extend("javascript",{}),b.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),b.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete b.languages.flow.parameter,b.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(b.languages.flow.keyword)||(b.languages.flow.keyword=[b.languages.flow.keyword]),b.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(y)}},39187:function(Ce){"use strict";Ce.exports=ae,ae.displayName="fortran",ae.aliases=[];function ae(y){y.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(Ce){"use strict";Ce.exports=ae,ae.displayName="fsharp",ae.aliases=[];function ae(y){y.languages.fsharp=y.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),y.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),y.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),y.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:y.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="ftl",he.aliases=[];function he(le){le.register(b),function(pe){for(var be=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,fe=0;fe<2;fe++)be=be.replace(//g,function(){return be});be=be.replace(//g,/[^\s\S]/.source);var we={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return be})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return be})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};we.string[1].inside.interpolation.inside.rest=we,pe.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:we}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:we}}}},pe.hooks.add("before-tokenize",function(Oe){var Re=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return be}),"gi");pe.languages["markup-templating"].buildPlaceholders(Oe,"ftl",Re)}),pe.hooks.add("after-tokenize",function(Oe){pe.languages["markup-templating"].tokenizePlaceholders(Oe,"ftl")})}(le)}},33534:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gap",ae.aliases=[];function ae(y){y.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},y.languages.gap.shell.inside.gap.inside=y.languages.gap}},9885:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gcode",ae.aliases=[];function ae(y){y.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gdscript",ae.aliases=[];function ae(y){y.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gedcom",ae.aliases=[];function ae(y){y.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gherkin",ae.aliases=[];function ae(y){(function(b){var he=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;b.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+he+")(?:"+he+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(he),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(y)}},58230:function(Ce){"use strict";Ce.exports=ae,ae.displayName="git",ae.aliases=[];function ae(y){y.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=he,he.displayName="glsl",he.aliases=[];function he(le){le.register(b),le.languages.glsl=le.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gml",ae.aliases=[];function ae(y){y.languages.gamemakerlanguage=y.languages.gml=y.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gn",ae.aliases=["gni"];function ae(y){y.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},y.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=y.languages.gn,y.languages.gni=y.languages.gn}},95769:function(Ce){"use strict";Ce.exports=ae,ae.displayName="goModule",ae.aliases=[];function ae(y){y.languages["go-mod"]=y.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(Ce){"use strict";Ce.exports=ae,ae.displayName="go",ae.aliases=[];function ae(y){y.languages.go=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete y.languages.go["class-name"]}},92823:function(Ce){"use strict";Ce.exports=ae,ae.displayName="graphql",ae.aliases=[];function ae(y){y.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:y.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},y.hooks.add("after-tokenize",function(he){if(he.language!=="graphql")return;var le=he.tokens.filter(function(Je){return typeof Je!="string"&&Je.type!=="comment"&&Je.type!=="scalar"}),pe=0;function be(Je){return le[pe+Je]}function fe(Je,Ge){Ge=Ge||0;for(var We=0;We0)){var xt=we(/^\{$/,/^\}$/);if(xt===-1)continue;for(var nt=pe;nt=0&&Oe(et,"variable-input")}}}}})}},63092:function(Ce){"use strict";Ce.exports=ae,ae.displayName="groovy",ae.aliases=[];function ae(y){y.languages.groovy=y.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),y.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),y.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),y.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),y.hooks.add("wrap",function(b){if(b.language==="groovy"&&b.type==="string"){var he=b.content.value[0];if(he!="'"){var le=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;he==="$"&&(le=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),b.content.value=b.content.value.replace(/</g,"<").replace(/&/g,"&"),b.content=y.highlight(b.content.value,{expression:{pattern:le,lookbehind:!0,inside:y.languages.groovy}}),b.classes.push(he==="/"?"regex":"gstring")}}})}},21550:function(Ce,ae,y){"use strict";var b=y(75308);Ce.exports=he,he.displayName="haml",he.aliases=[];function he(le){le.register(b),function(pe){pe.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:pe.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:pe.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:pe.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:pe.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:pe.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:pe.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:pe.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var be="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",fe=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],we={},Oe=0,Re=fe.length;Oe@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},pe.hooks.add("before-tokenize",function(be){var fe=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;pe.languages["markup-templating"].buildPlaceholders(be,"handlebars",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"handlebars")}),pe.languages.hbs=pe.languages.handlebars}(le)}},2050:function(Ce){"use strict";Ce.exports=ae,ae.displayName="haskell",ae.aliases=["hs"];function ae(y){y.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},y.languages.hs=y.languages.haskell}},67967:function(Ce){"use strict";Ce.exports=ae,ae.displayName="haxe",ae.aliases=[];function ae(y){y.languages.haxe=y.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),y.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:y.languages.haxe}}},string:/[\s\S]+/}}}),y.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),y.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hcl",ae.aliases=[];function ae(y){y.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=he,he.displayName="hlsl",he.aliases=[];function he(le){le.register(b),le.languages.hlsl=le.languages.extend("c",{"class-name":[le.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hoon",ae.aliases=[];function ae(y){y.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hpkp",ae.aliases=[];function ae(y){y.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hsts",ae.aliases=[];function ae(y){y.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(Ce){"use strict";Ce.exports=ae,ae.displayName="http",ae.aliases=[];function ae(y){(function(b){function he(xe){return RegExp("(^(?:"+xe+"):[ ]*(?![ ]))[^]+","i")}b.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:b.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:he(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:b.languages.csp},{pattern:he(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:b.languages.hpkp},{pattern:he(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:b.languages.hsts},{pattern:he(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var le=b.languages,pe={"application/javascript":le.javascript,"application/json":le.json||le.javascript,"application/xml":le.xml,"text/xml":le.xml,"text/html":le.html,"text/css":le.css,"text/plain":le.plain},be={"application/json":!0,"application/xml":!0};function fe(xe){var je=xe.replace(/^[a-z]+\//,""),Fe="\\w+/(?:[\\w.-]+\\+)+"+je+"(?![+\\w.-])";return"(?:"+xe+"|"+Fe+")"}var we;for(var Oe in pe)if(pe[Oe]){we=we||{};var Re=be[Oe]?fe(Oe):Oe;we[Oe.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+Re+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:pe[Oe]}}we&&b.languages.insertBefore("http","header",we)})(y)}},72252:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ichigojam",ae.aliases=[];function ae(y){y.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(Ce){"use strict";Ce.exports=ae,ae.displayName="icon",ae.aliases=[];function ae(y){y.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(Ce){"use strict";Ce.exports=ae,ae.displayName="icuMessageFormat",ae.aliases=[];function ae(y){(function(b){function he(Oe,Re){return Re<=0?/[]/.source:Oe.replace(//g,function(){return he(Oe,Re-1)})}var le=/'[{}:=,](?:[^']|'')*'(?!')/,pe={pattern:/''/,greedy:!0,alias:"operator"},be={pattern:le,greedy:!0,inside:{escape:pe}},fe=he(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return le.source}),8),we={pattern:RegExp(fe),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};b.languages["icu-message-format"]={argument:{pattern:RegExp(fe),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":we,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":we,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+he(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:pe,string:be},we.inside.message.inside=b.languages["icu-message-format"],b.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=b.languages["icu-message-format"]})(y)}},23328:function(Ce,ae,y){"use strict";var b=y(2050);Ce.exports=he,he.displayName="idris",he.aliases=["idr"];function he(le){le.register(b),le.languages.idris=le.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),le.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),le.languages.idr=le.languages.idris}},74494:function(Ce){"use strict";Ce.exports=ae,ae.displayName="iecst",ae.aliases=[];function ae(y){y.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ignore",ae.aliases=["gitignore","hgignore","npmignore"];function ae(y){(function(b){b.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},b.languages.gitignore=b.languages.ignore,b.languages.hgignore=b.languages.ignore,b.languages.npmignore=b.languages.ignore})(y)}},22152:function(Ce){"use strict";Ce.exports=ae,ae.displayName="inform7",ae.aliases=[];function ae(y){y.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},y.languages.inform7.string.inside.substitution.inside.rest=y.languages.inform7,y.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ini",ae.aliases=[];function ae(y){y.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(Ce){"use strict";Ce.exports=ae,ae.displayName="io",ae.aliases=[];function ae(y){y.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(Ce){"use strict";Ce.exports=ae,ae.displayName="java",ae.aliases=[];function ae(y){(function(b){var he=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,pe={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};b.languages.java=b.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[pe,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:pe.inside}],keyword:he,function:[b.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),b.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),b.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":pe,keyword:he,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return he.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(y)}},4005:function(Ce,ae,y){"use strict";var b=y(7093),he=y(53510);Ce.exports=le,le.displayName="javadoc",le.aliases=[];function le(pe){pe.register(b),pe.register(he),function(be){var fe=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,we=/#\s*\w+(?:\s*\([^()]*\))?/.source,Oe=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return we});be.languages.javadoc=be.languages.extend("javadoclike",{}),be.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+Oe+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:be.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:fe,lookbehind:!0,inside:be.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:fe,lookbehind:!0,inside:{tag:be.languages.markup.tag,entity:be.languages.markup.entity,code:{pattern:/.+/,inside:be.languages.java,alias:"language-java"}}}}}],tag:be.languages.markup.tag,entity:be.languages.markup.entity}),be.languages.javadoclike.addSupport("java",be.languages.javadoc)}(pe)}},53510:function(Ce){"use strict";Ce.exports=ae,ae.displayName="javadoclike",ae.aliases=[];function ae(y){(function(b){var he=b.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function le(be,fe){var we="doc-comment",Oe=b.languages[be];if(Oe){var Re=Oe[we];if(!Re){var xe={};xe[we]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},Oe=b.languages.insertBefore(be,"comment",xe),Re=Oe[we]}if(Re instanceof RegExp&&(Re=Oe[we]={pattern:Re}),Array.isArray(Re))for(var je=0,Fe=Re.length;je|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,y.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:y.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),y.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:y.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),y.languages.markup&&(y.languages.markup.tag.addInlined("script","javascript"),y.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),y.languages.js=y.languages.javascript}},24799:function(Ce){"use strict";Ce.exports=ae,ae.displayName="javastacktrace",ae.aliases=[];function ae(y){y.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jexl",ae.aliases=[];function ae(y){y.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jolie",ae.aliases=[];function ae(y){y.languages.jolie=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),y.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jq",ae.aliases=[];function ae(y){(function(b){var he=/\\\((?:[^()]|\([^()]*\))*\)/.source,le=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return he})),pe={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+he),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},be=b.languages.jq={comment:/#.*/,property:{pattern:RegExp(le.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:pe},string:{pattern:le,lookbehind:!0,greedy:!0,inside:pe},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};pe.interpolation.inside.content.inside=be})(y)}},89246:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsExtras",ae.aliases=[];function ae(y){(function(b){b.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+b.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),b.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+b.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),b.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function he(Oe,Re){return RegExp(Oe.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Re)}b.languages.insertBefore("javascript","keyword",{imports:{pattern:he(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:b.languages.javascript},exports:{pattern:he(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:b.languages.javascript}}),b.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),b.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),b.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:he(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var le=["function","function-variable","method","method-variable","property-access"],pe=0;pe=_e.length)return;var rt=tt[gt];if(typeof rt=="string"||typeof rt.content=="string"){var It=_e[We],mt=typeof rt=="string"?rt:rt.content,ut=mt.indexOf(It);if(ut!==-1){++We;var Tt=mt.substring(0,ut),_t=xe(Ve[It]),Ke=mt.substring(ut+It.length),Rt=[];if(Tt&&Rt.push(Tt),Rt.push(_t),Ke){var Nt=[Ke];Ze(Nt),Rt.push.apply(Rt,Nt)}typeof rt=="string"?(tt.splice.apply(tt,[gt,1].concat(Rt)),gt+=Rt.length-1):rt.content=Rt}}else{var Kt=rt.content;Array.isArray(Kt)?Ze(Kt):Ze([Kt])}}}return Ze(He),new b.Token(Je,He,"language-"+Je,nt)}var Fe={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};b.hooks.add("after-tokenize",function(nt){if(!(nt.language in Fe))return;function et(Je){for(var Ge=0,We=Je.length;Ge\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return we})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+we),lookbehind:!0,inside:{string:fe.string,number:fe.number,boolean:fe.boolean,keyword:be.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:fe,alias:"language-javascript"}}}}),be.languages.javadoclike.addSupport("javascript",be.languages.jsdoc)}(pe)}},15628:function(Ce){"use strict";Ce.exports=ae,ae.displayName="json",ae.aliases=["webmanifest"];function ae(y){y.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},y.languages.webmanifest=y.languages.json}},14320:function(Ce,ae,y){"use strict";var b=y(15628);Ce.exports=he,he.displayName="json5",he.aliases=[];function he(le){le.register(b),function(pe){var be=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;pe.languages.json5=pe.languages.extend("json",{property:[{pattern:RegExp(be.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:be,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(le)}},73222:function(Ce,ae,y){"use strict";var b=y(15628);Ce.exports=he,he.displayName="jsonp",he.aliases=[];function he(le){le.register(b),le.languages.jsonp=le.languages.extend("json",{punctuation:/[{}[\]();,.]/}),le.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsstacktrace",ae.aliases=[];function ae(y){y.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsx",ae.aliases=[];function ae(y){(function(b){var he=b.util.clone(b.languages.javascript),le=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,pe=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,be=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function fe(Re,xe){return Re=Re.replace(//g,function(){return le}).replace(//g,function(){return pe}).replace(//g,function(){return be}),RegExp(Re,xe)}be=fe(be).source,b.languages.jsx=b.languages.extend("markup",he),b.languages.jsx.tag.pattern=fe(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),b.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,b.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,b.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,b.languages.jsx.tag.inside.comment=he.comment,b.languages.insertBefore("inside","attr-name",{spread:{pattern:fe(//.source),inside:b.languages.jsx}},b.languages.jsx.tag),b.languages.insertBefore("inside","special-attr",{script:{pattern:fe(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:b.languages.jsx}}},b.languages.jsx.tag);var we=function(Re){return Re?typeof Re=="string"?Re:typeof Re.content=="string"?Re.content:Re.content.map(we).join(""):""},Oe=function(Re){for(var xe=[],je=0;je0&&xe[xe.length-1].tagName===we(Fe.content[0].content[1])&&xe.pop():Fe.content[Fe.content.length-1].content==="/>"||xe.push({tagName:we(Fe.content[0].content[1]),openedBraces:0}):xe.length>0&&Fe.type==="punctuation"&&Fe.content==="{"?xe[xe.length-1].openedBraces++:xe.length>0&&xe[xe.length-1].openedBraces>0&&Fe.type==="punctuation"&&Fe.content==="}"?xe[xe.length-1].openedBraces--:xt=!0),(xt||typeof Fe=="string")&&xe.length>0&&xe[xe.length-1].openedBraces===0){var nt=we(Fe);je0&&(typeof Re[je-1]=="string"||Re[je-1].type==="plain-text")&&(nt=we(Re[je-1])+nt,Re.splice(je-1,1),je--),Re[je]=new b.Token("plain-text",nt,null,nt)}Fe.content&&typeof Fe.content!="string"&&Oe(Fe.content)}};b.hooks.add("after-tokenize",function(Re){Re.language!=="jsx"&&Re.language!=="tsx"||Oe(Re.tokens)})})(y)}},40604:function(Ce){"use strict";Ce.exports=ae,ae.displayName="julia",ae.aliases=[];function ae(y){y.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(Ce){"use strict";Ce.exports=ae,ae.displayName="keepalived",ae.aliases=[];function ae(y){y.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(Ce){"use strict";Ce.exports=ae,ae.displayName="keyman",ae.aliases=[];function ae(y){y.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kotlin",ae.aliases=["kt","kts"];function ae(y){(function(b){b.languages.kotlin=b.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete b.languages.kotlin["class-name"];var he={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:b.languages.kotlin}};b.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:he},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:he},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete b.languages.kotlin.string,b.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),b.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),b.languages.kt=b.languages.kotlin,b.languages.kts=b.languages.kotlin})(y)}},37524:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kumir",ae.aliases=["kum"];function ae(y){(function(b){var he=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function le(pe,be){return RegExp(pe.replace(//g,he),be)}b.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:le(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:le(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:le(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:le(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:le(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:le(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:le(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:le(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},b.languages.kum=b.languages.kumir})(y)}},6658:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kusto",ae.aliases=[];function ae(y){y.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(Ce){"use strict";Ce.exports=ae,ae.displayName="latex",ae.aliases=["tex","context"];function ae(y){(function(b){var he=/\\(?:[^a-z()[\]]|[a-z*]+)/i,le={"equation-command":{pattern:he,alias:"regex"}};b.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:le,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:le,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:he,alias:"selector"},punctuation:/[[\]{}&]/},b.languages.tex=b.languages.latex,b.languages.context=b.languages.latex})(y)}},22776:function(Ce,ae,y){"use strict";var b=y(51478),he=y(53852);Ce.exports=le,le.displayName="latte",le.aliases=[];function le(pe){pe.register(b),pe.register(he),function(be){be.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:be.languages.php}};var fe=be.languages.extend("markup",{});be.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:be.languages.php}}}}}},fe.tag),be.hooks.add("before-tokenize",function(we){if(we.language==="latte"){var Oe=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;be.languages["markup-templating"].buildPlaceholders(we,"latte",Oe),we.grammar=fe}}),be.hooks.add("after-tokenize",function(we){be.languages["markup-templating"].tokenizePlaceholders(we,"latte")})}(pe)}},89700:function(Ce){"use strict";Ce.exports=ae,ae.displayName="less",ae.aliases=[];function ae(y){y.languages.less=y.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),y.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(Ce,ae,y){"use strict";var b=y(48780);Ce.exports=he,he.displayName="lilypond",he.aliases=[];function he(le){le.register(b),function(pe){for(var be=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,fe=5,we=0;we/g,function(){return be});be=be.replace(//g,/[^\s\S]/.source);var Oe=pe.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return be}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:pe.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};Oe["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=Oe,pe.languages.ly=Oe}(le)}},39940:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="liquid",he.aliases=[];function he(le){le.register(b),le.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},le.hooks.add("before-tokenize",function(pe){var be=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,fe=!1;le.languages["markup-templating"].buildPlaceholders(pe,"liquid",be,function(we){var Oe=/^\{%-?\s*(\w+)/.exec(we);if(Oe){var Re=Oe[1];if(Re==="raw"&&!fe)return fe=!0,!0;if(Re==="endraw")return fe=!1,!0}return!fe})}),le.hooks.add("after-tokenize",function(pe){le.languages["markup-templating"].tokenizePlaceholders(pe,"liquid")})}},34973:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lisp",ae.aliases=[];function ae(y){(function(b){function he(nt){return RegExp(/(\()/.source+"(?:"+nt+")"+/(?=[\s\)])/.source)}function le(nt){return RegExp(/([\s([])/.source+"(?:"+nt+")"+/(?=[\s)])/.source)}var pe=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,be="&"+pe,fe="(\\()",we="(?=\\))",Oe="(?=\\s)",Re=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,xe={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+pe+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+pe),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+pe),alias:"property"},splice:{pattern:RegExp(",@?"+pe),alias:["symbol","variable"]},keyword:[{pattern:RegExp(fe+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+Oe),lookbehind:!0},{pattern:RegExp(fe+"(?:append|by|collect|concat|do|finally|for|in|return)"+Oe),lookbehind:!0}],declare:{pattern:he(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:he(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:le(/nil|t/.source),lookbehind:!0},number:{pattern:le(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(fe+"def(?:const|custom|group|var)\\s+"+pe),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(pe)}},defun:{pattern:RegExp(fe+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+pe+/\s+\(/.source+Re+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+pe),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(fe+"lambda\\s+\\(\\s*(?:&?"+pe+"(?:\\s+&?"+pe+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(fe+pe),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},je={"lisp-marker":RegExp(be),varform:{pattern:RegExp(/\(/.source+pe+/\s+(?=\S)/.source+Re+/\)/.source),inside:xe},argument:{pattern:RegExp(/(^|[\s(])/.source+pe),lookbehind:!0,alias:"variable"},rest:xe},Fe="\\S+(?:\\s+\\S+)*",xt={pattern:RegExp(fe+Re+we),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+Fe),inside:je},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+Fe),inside:je},keys:{pattern:RegExp("&key\\s+"+Fe+"(?:\\s+&allow-other-keys)?"),inside:je},argument:{pattern:RegExp(pe),alias:"variable"},punctuation:/[()]/}};xe.lambda.inside.arguments=xt,xe.defun.inside.arguments=b.util.clone(xt),xe.defun.inside.arguments.inside.sublist=xt,b.languages.lisp=xe,b.languages.elisp=xe,b.languages.emacs=xe,b.languages["emacs-lisp"]=xe})(y)}},98135:function(Ce){"use strict";Ce.exports=ae,ae.displayName="livescript",ae.aliases=[];function ae(y){y.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},y.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=y.languages.livescript}},36907:function(Ce){"use strict";Ce.exports=ae,ae.displayName="llvm",ae.aliases=[];function ae(y){(function(b){b.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(y)}},3567:function(Ce){"use strict";Ce.exports=ae,ae.displayName="log",ae.aliases=[];function ae(y){y.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:y.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lolcode",ae.aliases=[];function ae(y){y.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},33978:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lua",ae.aliases=[];function ae(y){y.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(Ce){"use strict";Ce.exports=ae,ae.displayName="magma",ae.aliases=[];function ae(y){y.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(Ce){"use strict";Ce.exports=ae,ae.displayName="makefile",ae.aliases=[];function ae(y){y.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},98096:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markdown",ae.aliases=["md"];function ae(y){(function(b){var he=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function le(je){return je=je.replace(//g,function(){return he}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+je+")")}var pe=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,be=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return pe}),fe=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;b.languages.markdown=b.languages.extend("markup",{}),b.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:b.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+be+fe+"(?:"+be+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+be+fe+")(?:"+be+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(pe),inside:b.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+be+")"+fe+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+be+"$"),inside:{"table-header":{pattern:RegExp(pe),alias:"important",inside:b.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:le(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:le(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:le(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:le(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(je){["url","bold","italic","strike","code-snippet"].forEach(function(Fe){je!==Fe&&(b.languages.markdown[je].inside.content.inside[Fe]=b.languages.markdown[Fe])})}),b.hooks.add("after-tokenize",function(je){if(je.language!=="markdown"&&je.language!=="md")return;function Fe(xt){if(!(!xt||typeof xt=="string"))for(var nt=0,et=xt.length;nt",quot:'"'},Re=String.fromCodePoint||String.fromCharCode;function xe(je){var Fe=je.replace(we,"");return Fe=Fe.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(xt,nt){if(nt=nt.toLowerCase(),nt[0]==="#"){var et;return nt[1]==="x"?et=parseInt(nt.slice(2),16):et=Number(nt.slice(1)),Re(et)}else{var Je=Oe[nt];return Je||xt}}),Fe}b.languages.md=b.languages.markdown})(y)}},51478:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markupTemplating",ae.aliases=[];function ae(y){(function(b){function he(le,pe){return"___"+le.toUpperCase()+pe+"___"}Object.defineProperties(b.languages["markup-templating"]={},{buildPlaceholders:{value:function(le,pe,be,fe){if(le.language===pe){var we=le.tokenStack=[];le.code=le.code.replace(be,function(Oe){if(typeof fe=="function"&&!fe(Oe))return Oe;for(var Re=we.length,xe;le.code.indexOf(xe=he(pe,Re))!==-1;)++Re;return we[Re]=Oe,xe}),le.grammar=b.languages.markup}}},tokenizePlaceholders:{value:function(le,pe){if(le.language!==pe||!le.tokenStack)return;le.grammar=b.languages[pe];var be=0,fe=Object.keys(le.tokenStack);function we(Oe){for(var Re=0;Re=fe.length);Re++){var xe=Oe[Re];if(typeof xe=="string"||xe.content&&typeof xe.content=="string"){var je=fe[be],Fe=le.tokenStack[je],xt=typeof xe=="string"?xe:xe.content,nt=he(pe,je),et=xt.indexOf(nt);if(et>-1){++be;var Je=xt.substring(0,et),Ge=new b.Token(pe,b.tokenize(Fe,le.grammar),"language-"+pe,Fe),We=xt.substring(et+nt.length),Ve=[];Je&&Ve.push.apply(Ve,we([Je])),Ve.push(Ge),We&&Ve.push.apply(Ve,we([We])),typeof xe=="string"?Oe.splice.apply(Oe,[Re,1].concat(Ve)):xe.content=Ve}}else xe.content&&we(xe.content)}return Oe}we(le.tokens)}}})})(y)}},70614:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markup",ae.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function ae(y){y.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},y.languages.markup.tag.inside["attr-value"].inside.entity=y.languages.markup.entity,y.languages.markup.doctype.inside["internal-subset"].inside=y.languages.markup,y.hooks.add("wrap",function(b){b.type==="entity"&&(b.attributes.title=b.content.value.replace(/&/,"&"))}),Object.defineProperty(y.languages.markup.tag,"addInlined",{value:function(he,le){var pe={};pe["language-"+le]={pattern:/(^$)/i,lookbehind:!0,inside:y.languages[le]},pe.cdata=/^$/i;var be={"included-cdata":{pattern://i,inside:pe}};be["language-"+le]={pattern:/[\s\S]+/,inside:y.languages[le]};var fe={};fe[he]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return he}),"i"),lookbehind:!0,greedy:!0,inside:be},y.languages.insertBefore("markup","cdata",fe)}}),Object.defineProperty(y.languages.markup.tag,"addAttribute",{value:function(b,he){y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+b+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[he,"language-"+he],inside:y.languages[he]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),y.languages.html=y.languages.markup,y.languages.mathml=y.languages.markup,y.languages.svg=y.languages.markup,y.languages.xml=y.languages.extend("markup",{}),y.languages.ssml=y.languages.xml,y.languages.atom=y.languages.xml,y.languages.rss=y.languages.xml}},16928:function(Ce){"use strict";Ce.exports=ae,ae.displayName="matlab",ae.aliases=[];function ae(y){y.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(Ce){"use strict";Ce.exports=ae,ae.displayName="maxscript",ae.aliases=[];function ae(y){(function(b){var he=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;b.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+he.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+he.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:he,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(y)}},37164:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mel",ae.aliases=[];function ae(y){y.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|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|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|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|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)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},y.languages.mel.code.inside.rest=y.languages.mel}},25153:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mermaid",ae.aliases=[];function ae(y){y.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mizar",ae.aliases=[];function ae(y){y.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mongodb",ae.aliases=[];function ae(y){(function(b){var he=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],le=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];he=he.map(function(be){return be.replace("$","\\$")});var pe="(?:"+he.join("|")+")\\b";b.languages.mongodb=b.languages.extend("javascript",{}),b.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+pe+"(?:\\1)?$")}}}),b.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},b.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+le.join("|")+")\\b"),alias:"keyword"}})})(y)}},65626:function(Ce){"use strict";Ce.exports=ae,ae.displayName="monkey",ae.aliases=[];function ae(y){y.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(Ce){"use strict";Ce.exports=ae,ae.displayName="moonscript",ae.aliases=["moon"];function ae(y){y.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},y.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=y.languages.moonscript,y.languages.moon=y.languages.moonscript}},40722:function(Ce){"use strict";Ce.exports=ae,ae.displayName="n1ql",ae.aliases=[];function ae(y){y.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(Ce){"use strict";Ce.exports=ae,ae.displayName="n4js",ae.aliases=["n4jsd"];function ae(y){y.languages.n4js=y.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),y.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),y.languages.n4jsd=y.languages.n4js}},41224:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nand2tetrisHdl",ae.aliases=[];function ae(y){y.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(Ce){"use strict";Ce.exports=ae,ae.displayName="naniscript",ae.aliases=[];function ae(y){(function(b){var he=/\{[^\r\n\[\]{}]*\}/,le={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:he,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};b.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:he,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:le}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:he,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:le},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},b.languages.nani=b.languages.naniscript,b.hooks.add("after-tokenize",function(fe){var we=fe.tokens;we.forEach(function(Oe){if(typeof Oe!="string"&&Oe.type==="generic-text"){var Re=be(Oe);pe(Re)||(Oe.type="bad-line",Oe.content=Re)}})});function pe(fe){for(var we="[]{}",Oe=[],Re=0;Re=&|$!]/}}},32964:function(Ce){"use strict";Ce.exports=ae,ae.displayName="neon",ae.aliases=[];function ae(y){y.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nevod",ae.aliases=[];function ae(y){y.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nginx",ae.aliases=[];function ae(y){(function(b){var he=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;b.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:he}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:he}},punctuation:/[{};]/}})(y)}},66791:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nim",ae.aliases=[];function ae(y){y.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nix",ae.aliases=[];function ae(y){y.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},y.languages.nix.string.inside.interpolation.inside=y.languages.nix}},13490:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nsis",ae.aliases=[];function ae(y){y.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?: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|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=he,he.displayName="objectivec",he.aliases=["objc"];function he(le){le.register(b),le.languages.objectivec=le.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete le.languages.objectivec["class-name"],le.languages.objc=le.languages.objectivec}},66894:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ocaml",ae.aliases=[];function ae(y){y.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=he,he.displayName="opencl",he.aliases=[];function he(le){le.register(b),function(pe){pe.languages.opencl=pe.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),pe.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var be={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};pe.languages.insertBefore("c","keyword",be),pe.languages.cpp&&(be["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},pe.languages.insertBefore("cpp","keyword",be))}(le)}},27734:function(Ce){"use strict";Ce.exports=ae,ae.displayName="openqasm",ae.aliases=["qasm"];function ae(y){y.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},y.languages.qasm=y.languages.openqasm}},91889:function(Ce){"use strict";Ce.exports=ae,ae.displayName="oz",ae.aliases=[];function ae(y){y.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(Ce){"use strict";Ce.exports=ae,ae.displayName="parigp",ae.aliases=[];function ae(y){y.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var b=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return b=b.map(function(he){return he.split("").join(" *")}).join("|"),RegExp("\\b(?:"+b+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(Ce){"use strict";Ce.exports=ae,ae.displayName="parser",ae.aliases=[];function ae(y){(function(b){var he=b.languages.parser=b.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});he=b.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:he.keyword,variable:he.variable,function:he.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:he.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:he.punctuation}}}),b.languages.insertBefore("inside","punctuation",{expression:he.expression,keyword:he.keyword,variable:he.variable,function:he.function,escape:he.escape,"parser-punctuation":{pattern:he.punctuation,alias:"punctuation"}},he.tag.inside["attr-value"])})(y)}},92949:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pascal",ae.aliases=["objectpascal"];function ae(y){y.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},y.languages.pascal.asm.inside=y.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),y.languages.objectpascal=y.languages.pascal}},5681:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pascaligo",ae.aliases=[];function ae(y){(function(b){var he=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,le=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return he}),pe=b.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return le}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return le}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return le})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},be=["comment","keyword","builtin","operator","punctuation"].reduce(function(fe,we){return fe[we]=pe[we],fe},{});pe["class-name"].forEach(function(fe){fe.inside=be})})(y)}},70696:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pcaxis",ae.aliases=["px"];function ae(y){y.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},y.languages.px=y.languages.pcaxis}},35790:function(Ce){"use strict";Ce.exports=ae,ae.displayName="peoplecode",ae.aliases=["pcode"];function ae(y){y.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},y.languages.pcode=y.languages.peoplecode}},25777:function(Ce){"use strict";Ce.exports=ae,ae.displayName="perl",ae.aliases=[];function ae(y){(function(b){var he=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;b.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,he].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,he].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,he+/\s*/.source+he].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(y)}},65889:function(Ce,ae,y){"use strict";var b=y(53852);Ce.exports=he,he.displayName="phpExtras",he.aliases=[];function he(le){le.register(b),le.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="php",he.aliases=[];function he(le){le.register(b),function(pe){var be=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,fe=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],we=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,Oe=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,Re=/[{}\[\](),:;]/;pe.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:be,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:fe,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:we,operator:Oe,punctuation:Re};var xe={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:pe.languages.php},je=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:xe}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:xe}}];pe.languages.insertBefore("php","variable",{string:je,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:be,string:je,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:fe,number:we,operator:Oe,punctuation:Re}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),pe.hooks.add("before-tokenize",function(Fe){if(/<\?/.test(Fe.code)){var xt=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;pe.languages["markup-templating"].buildPlaceholders(Fe,"php",xt)}}),pe.hooks.add("after-tokenize",function(Fe){pe.languages["markup-templating"].tokenizePlaceholders(Fe,"php")})}(le)}},97719:function(Ce,ae,y){"use strict";var b=y(53852),he=y(53510);Ce.exports=le,le.displayName="phpdoc",le.aliases=[];function le(pe){pe.register(b),pe.register(he),function(be){var fe=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;be.languages.phpdoc=be.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+fe+"\\s+)?)\\$\\w+"),lookbehind:!0}}),be.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+fe),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),be.languages.javadoclike.addSupport("php",be.languages.phpdoc)}(pe)}},63839:function(Ce,ae,y){"use strict";var b=y(69435);Ce.exports=he,he.displayName="plsql",he.aliases=[];function he(le){le.register(b),le.languages.plsql=le.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),le.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(Ce){"use strict";Ce.exports=ae,ae.displayName="powerquery",ae.aliases=[];function ae(y){y.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},y.languages.pq=y.languages.powerquery,y.languages.mscript=y.languages.powerquery}},32530:function(Ce){"use strict";Ce.exports=ae,ae.displayName="powershell",ae.aliases=[];function ae(y){(function(b){var he=b.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};he.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:he},boolean:he.boolean,variable:he.variable}})(y)}},8938:function(Ce){"use strict";Ce.exports=ae,ae.displayName="processing",ae.aliases=[];function ae(y){y.languages.processing=y.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),y.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(Ce){"use strict";Ce.exports=ae,ae.displayName="prolog",ae.aliases=[];function ae(y){y.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(Ce){"use strict";Ce.exports=ae,ae.displayName="promql",ae.aliases=[];function ae(y){(function(b){var he=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],le=["on","ignoring","group_right","group_left","by","without"],pe=["offset"],be=he.concat(le,pe);b.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+le.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+be.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(y)}},15375:function(Ce){"use strict";Ce.exports=ae,ae.displayName="properties",ae.aliases=[];function ae(y){y.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(Ce){"use strict";Ce.exports=ae,ae.displayName="protobuf",ae.aliases=[];function ae(y){(function(b){var he=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;b.languages.protobuf=b.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),b.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:he}},builtin:he,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(y)}},83588:function(Ce){"use strict";Ce.exports=ae,ae.displayName="psl",ae.aliases=[];function ae(y){y.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pug",ae.aliases=[];function ae(y){(function(b){b.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:b.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:b.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:b.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:b.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:b.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:b.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:b.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:b.languages.javascript}],punctuation:/[.\-!=|]+/};for(var he=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,le=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],pe={},be=0,fe=le.length;be",function(){return we.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[we.language,"language-"+we.language],inside:b.languages[we.language]}}})}b.languages.insertBefore("pug","filter",pe)})(y)}},21294:function(Ce){"use strict";Ce.exports=ae,ae.displayName="puppet",ae.aliases=[];function ae(y){(function(b){b.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var he=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:b.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];b.languages.puppet.heredoc[0].inside.interpolation=he,b.languages.puppet.string.inside["double-quoted"].inside.interpolation=he})(y)}},38709:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pure",ae.aliases=[];function ae(y){(function(b){b.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var he=["c",{lang:"c++",alias:"cpp"},"fortran"],le=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;he.forEach(function(pe){var be=pe;if(typeof pe!="string"&&(be=pe.alias,pe=pe.lang),b.languages[be]){var fe={};fe["inline-lang-"+be]={pattern:RegExp(le.replace("",pe.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:b.util.clone(b.languages.pure["inline-lang"].inside)},fe["inline-lang-"+be].inside.rest=b.util.clone(b.languages[be]),b.languages.insertBefore("pure","inline-lang",fe)}}),b.languages.c&&(b.languages.pure["inline-lang"].inside.rest=b.util.clone(b.languages.c))})(y)}},15008:function(Ce){"use strict";Ce.exports=ae,ae.displayName="purebasic",ae.aliases=[];function ae(y){y.languages.purebasic=y.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|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|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),y.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete y.languages.purebasic["class-name"],delete y.languages.purebasic.boolean,y.languages.pbfasm=y.languages.purebasic}},96549:function(Ce,ae,y){"use strict";var b=y(2050);Ce.exports=he,he.displayName="purescript",he.aliases=["purs"];function he(le){le.register(b),le.languages.purescript=le.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[le.languages.haskell.operator[0],le.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),le.languages.purs=le.languages.purescript}},5221:function(Ce){"use strict";Ce.exports=ae,ae.displayName="python",ae.aliases=["py"];function ae(y){y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.python["string-interpolation"].inside.interpolation.inside.rest=y.languages.python,y.languages.py=y.languages.python}},27447:function(Ce){"use strict";Ce.exports=ae,ae.displayName="q",ae.aliases=[];function ae(y){y.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qml",ae.aliases=[];function ae(y){(function(b){for(var he=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,le=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,pe=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return he}).replace(//g,function(){return le}),be=0;be<2;be++)pe=pe.replace(//g,function(){return pe});pe=pe.replace(//g,"[^\\s\\S]"),b.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return pe}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return pe}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(y)}},75542:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qore",ae.aliases=[];function ae(y){y.languages.qore=y.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qsharp",ae.aliases=["qs"];function ae(y){(function(b){function he(xt,nt){return xt.replace(/<<(\d+)>>/g,function(et,Je){return"(?:"+nt[+Je]+")"})}function le(xt,nt,et){return RegExp(he(xt,nt),et||"")}function pe(xt,nt){for(var et=0;et>/g,function(){return"(?:"+xt+")"});return xt.replace(/<>/g,"[^\\s\\S]")}var be={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function fe(xt){return"\\b(?:"+xt.trim().replace(/ /g,"|")+")\\b"}var we=RegExp(fe(be.type+" "+be.other)),Oe=/\b[A-Za-z_]\w*\b/.source,Re=he(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[Oe]),xe={keyword:we,punctuation:/[<>()?,.:[\]]/},je=/"(?:\\.|[^\\"])*"/.source;b.languages.qsharp=b.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[je]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[Re]),lookbehind:!0,inside:xe},{pattern:le(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[Re]),lookbehind:!0,inside:xe}],keyword:we,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),b.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var Fe=pe(he(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[je]),2);b.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:le(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[Fe]),greedy:!0,inside:{interpolation:{pattern:le(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[Fe]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:b.languages.qsharp}}},string:/[\s\S]+/}}})})(y),y.languages.qs=y.languages.qsharp}},44298:function(Ce){"use strict";Ce.exports=ae,ae.displayName="r",ae.aliases=[];function ae(y){y.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(Ce,ae,y){"use strict";var b=y(48780);Ce.exports=he,he.displayName="racket",he.aliases=["rkt"];function he(le){le.register(b),le.languages.racket=le.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),le.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),le.languages.rkt=le.languages.racket}},75266:function(Ce){"use strict";Ce.exports=ae,ae.displayName="reason",ae.aliases=[];function ae(y){y.languages.reason=y.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),y.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete y.languages.reason.function}},48139:function(Ce){"use strict";Ce.exports=ae,ae.displayName="regex",ae.aliases=[];function ae(y){(function(b){var he={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},le=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,pe={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},be={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},fe="(?:[^\\\\-]|"+le.source+")",we=RegExp(fe+"-"+fe),Oe={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};b.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:we,inside:{escape:le,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":he,"char-set":be,escape:le}},"special-escape":he,"char-set":pe,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":Oe}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:le,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(Ce){"use strict";Ce.exports=ae,ae.displayName="renpy",ae.aliases=["rpy"];function ae(y){y.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},y.languages.rpy=y.languages.renpy}},63919:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rest",ae.aliases=[];function ae(y){y.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rip",ae.aliases=[];function ae(y){y.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(Ce){"use strict";Ce.exports=ae,ae.displayName="roboconf",ae.aliases=[];function ae(y){y.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(Ce){"use strict";Ce.exports=ae,ae.displayName="robotframework",ae.aliases=[];function ae(y){(function(b){var he={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},le={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function pe(Oe,Re){var xe={};xe["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var je in Re)xe[je]=Re[je];return xe.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},xe.variable=le,xe.comment=he,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return Oe}),"im"),alias:"section",inside:xe}}var be={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},fe={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:le}},we={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:le}};b.languages.robotframework={settings:pe("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:pe("Variables"),"test-cases":pe("Test Cases",{"test-name":fe,documentation:be,property:we}),keywords:pe("Keywords",{"keyword-name":fe,documentation:be,property:we}),tasks:pe("Tasks",{"task-name":fe,documentation:be,property:we}),comment:he},b.languages.robot=b.languages.robotframework})(y)}},75308:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ruby",ae.aliases=["rb"];function ae(y){(function(b){b.languages.ruby=b.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),b.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var he={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:b.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete b.languages.ruby.function;var le="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",pe=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;b.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+le+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:he,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:he,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+pe),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+pe+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),b.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+le),greedy:!0,inside:{interpolation:he,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:he,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:he,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+le),greedy:!0,inside:{interpolation:he,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:he,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete b.languages.ruby.string,b.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),b.languages.rb=b.languages.ruby})(y)}},45315:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rust",ae.aliases=[];function ae(y){(function(b){for(var he=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,le=0;le<2;le++)he=he.replace(//g,function(){return he});he=he.replace(//g,function(){return/[^\s\S]/.source}),b.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+he),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},b.languages.rust["closure-params"].inside.rest=b.languages.rust,b.languages.rust.attribute.inside.string=b.languages.rust.string})(y)}},13794:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sas",ae.aliases=[];function ae(y){(function(b){var he=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,le=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,pe={pattern:RegExp(he+"[bx]"),alias:"number"},be={pattern:/&[a-z_]\w*/i},fe={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},we={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},Oe=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],Re={pattern:RegExp(he),greedy:!0},xe=/[$%@.(){}\[\];,\\]/,je={pattern:/%?\b\w+(?=\()/,alias:"keyword"},Fe={function:je,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":be,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:le,"numeric-constant":pe,punctuation:xe,string:Re},xt={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},nt={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},et={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},Je={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},Ge=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,We={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return Ge}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return Ge}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:Oe,function:je,"arg-value":Fe["arg-value"],operator:Fe.operator,argument:Fe.arg,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},Ve={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};b.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return he}),"im"),alias:"language-sql",inside:b.languages.sql},"global-statements":et,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return he}),"im"),lookbehind:!0,alias:"language-groovy",inside:b.languages.groovy},keyword:Ve,"submit-statement":Je,"global-statements":et,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return he}),"im"),lookbehind:!0,alias:"language-lua",inside:b.languages.lua},keyword:Ve,"submit-statement":Je,"global-statements":et,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:Fe}},"cas-actions":We,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:Fe},step:we,keyword:Ve,function:je,format:xt,altformat:nt,"global-statements":et,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return he}),"im"),lookbehind:!0,inside:Fe},"macro-keyword":fe,"macro-variable":be,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":fe,"macro-variable":be,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:xe}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:Oe,number:le,"numeric-constant":pe}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:Fe},"cas-actions":We,comment:Oe,function:je,format:xt,altformat:nt,"numeric-constant":pe,datetime:{pattern:RegExp(he+"(?:dt?|t)"),alias:"number"},string:Re,step:we,keyword:Ve,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:le,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:xe}})(y)}},41299:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sass",ae.aliases=[];function ae(y){(function(b){b.languages.sass=b.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),b.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete b.languages.sass.atrule;var he=/\$[-\w]+|#\{\$[-\w]+\}/,le=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];b.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:he,operator:le}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:he,operator:le,important:b.languages.sass.important}}}),delete b.languages.sass.property,delete b.languages.sass.important,b.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(y)}},98177:function(Ce,ae,y){"use strict";var b=y(7093);Ce.exports=he,he.displayName="scala",he.aliases=[];function he(le){le.register(b),le.languages.scala=le.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),le.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:le.languages.scala}}},string:/[\s\S]+/}}}),delete le.languages.scala["class-name"],delete le.languages.scala.function}},48780:function(Ce){"use strict";Ce.exports=ae,ae.displayName="scheme",ae.aliases=[];function ae(y){(function(b){b.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(he({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function he(le){for(var pe in le)le[pe]=le[pe].replace(/<[\w\s]+>/g,function(be){return"(?:"+le[be].trim()+")"});return le[pe]}})(y)}},79793:function(Ce){"use strict";Ce.exports=ae,ae.displayName="scss",ae.aliases=[];function ae(y){y.languages.scss=y.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),y.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),y.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),y.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),y.languages.scss.atrule.inside.rest=y.languages.scss}},52085:function(Ce,ae,y){"use strict";var b=y(3058);Ce.exports=he,he.displayName="shellSession",he.aliases=[];function he(le){le.register(b),function(pe){var be=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");pe.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return be}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:pe.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},pe.languages["sh-session"]=pe.languages.shellsession=pe.languages["shell-session"]}(le)}},65411:function(Ce){"use strict";Ce.exports=ae,ae.displayName="smali",ae.aliases=[];function ae(y){y.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(Ce){"use strict";Ce.exports=ae,ae.displayName="smalltalk",ae.aliases=[];function ae(y){y.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="smarty",he.aliases=[];function he(le){le.register(b),function(pe){pe.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:pe.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},pe.languages.smarty["embedded-php"].inside.smarty.inside=pe.languages.smarty,pe.languages.smarty.string[0].inside.interpolation.inside.expression.inside=pe.languages.smarty;var be=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,fe=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return be.source}),"g");pe.hooks.add("before-tokenize",function(we){var Oe="{literal}",Re="{/literal}",xe=!1;pe.languages["markup-templating"].buildPlaceholders(we,"smarty",fe,function(je){return je===Re&&(xe=!1),xe?!1:(je===Oe&&(xe=!0),!0)})}),pe.hooks.add("after-tokenize",function(we){pe.languages["markup-templating"].tokenizePlaceholders(we,"smarty")})}(le)}},66433:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sml",ae.aliases=["smlnj"];function ae(y){(function(b){var he=/\b(?: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|where|while|with|withtype)\b/i;b.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return he.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:he,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},b.languages.sml["class-name"][0].inside=b.languages.sml,b.languages.smlnj=b.languages.sml})(y)}},34855:function(Ce){"use strict";Ce.exports=ae,ae.displayName="solidity",ae.aliases=["sol"];function ae(y){y.languages.solidity=y.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),y.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),y.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),y.languages.sol=y.languages.solidity}},12998:function(Ce){"use strict";Ce.exports=ae,ae.displayName="solutionFile",ae.aliases=[];function ae(y){(function(b){var he={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};b.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:he}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:he}},guid:he,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},b.languages.sln=b.languages["solution-file"]})(y)}},10202:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="soy",he.aliases=[];function he(le){le.register(b),function(pe){var be=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,fe=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;pe.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:be,greedy:!0},number:fe,punctuation:/[\[\].?]/}},string:{pattern:be,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:fe,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},pe.hooks.add("before-tokenize",function(we){var Oe=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,Re="{literal}",xe="{/literal}",je=!1;pe.languages["markup-templating"].buildPlaceholders(we,"soy",Oe,function(Fe){return Fe===xe&&(je=!1),je?!1:(Fe===Re&&(je=!0),!0)})}),pe.hooks.add("after-tokenize",function(we){pe.languages["markup-templating"].tokenizePlaceholders(we,"soy")})}(le)}},41186:function(Ce,ae,y){"use strict";var b=y(58710);Ce.exports=he,he.displayName="sparql",he.aliases=["rq"];function he(le){le.register(b),le.languages.sparql=le.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),le.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),le.languages.rq=le.languages.sparql}},68963:function(Ce){"use strict";Ce.exports=ae,ae.displayName="splunkSpl",ae.aliases=[];function ae(y){y.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sqf",ae.aliases=[];function ae(y){y.languages.sqf=y.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?: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|addForceGeneratorRTD|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|airDensityCurveRTD|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|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|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|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|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|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|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|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|ctrlSetDisabledColor|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|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|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_dynamicSimulationEnd|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|displayNull|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|east|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|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|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|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|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|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|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|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|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|isStressDamageEnabled|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|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|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|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|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|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|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|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|resistance|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|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|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|setForceGeneratorRTD|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|setToneMapping|setToneMappingParams|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|setVehicleInit|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|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|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|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|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|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|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|useAIOperMapObstructionTest|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|waitUntil|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|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),y.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:y.languages.sqf.comment}}}),delete y.languages.sqf["class-name"]}},69435:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sql",ae.aliases=[];function ae(y){y.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(Ce){"use strict";Ce.exports=ae,ae.displayName="squirrel",ae.aliases=[];function ae(y){y.languages.squirrel=y.languages.extend("clike",{comment:[y.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),y.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),y.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(Ce){"use strict";Ce.exports=ae,ae.displayName="stan",ae.aliases=[];function ae(y){(function(b){var he=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;b.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+he.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,he],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},b.languages.stan.constraint.inside.expression.inside=b.languages.stan})(y)}},89032:function(Ce){"use strict";Ce.exports=ae,ae.displayName="stylus",ae.aliases=[];function ae(y){(function(b){var he={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},le={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},pe={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:he,number:le,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:he,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:le,punctuation:/[{}()\[\];:,]/};pe.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:pe}},pe.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:pe}},b.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:pe}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:pe}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:pe}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:pe.interpolation}},rest:pe}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:pe.interpolation,comment:pe.comment,punctuation:/[{},]/}},func:pe.func,string:pe.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:pe.interpolation,punctuation:/[{}()\[\];:.]/}})(y)}},40241:function(Ce){"use strict";Ce.exports=ae,ae.displayName="swift",ae.aliases=[];function ae(y){y.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},y.languages.swift["string-literal"].forEach(function(b){b.inside.interpolation.inside=y.languages.swift})}},24812:function(Ce){"use strict";Ce.exports=ae,ae.displayName="systemd",ae.aliases=[];function ae(y){(function(b){var he={pattern:/^[;#].*/m,greedy:!0},le=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;b.languages.systemd={comment:he,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+le+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+le+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:he,quoted:{pattern:RegExp(/(^|\s)/.source+le),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(y)}},16747:function(Ce,ae,y){"use strict";var b=y(73584),he=y(87648);Ce.exports=le,le.displayName="t4Cs",le.aliases=[];function le(pe){pe.register(b),pe.register(he),pe.languages.t4=pe.languages["t4-cs"]=pe.languages["t4-templating"].createT4("csharp")}},73584:function(Ce){"use strict";Ce.exports=ae,ae.displayName="t4Templating",ae.aliases=[];function ae(y){(function(b){function he(pe,be,fe){return{pattern:RegExp("<#"+pe+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+pe+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:be,alias:fe}}}}function le(pe){var be=b.languages[pe],fe="language-"+pe;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:he("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:he("=",be,fe),"class-feature":he("\\+",be,fe),standard:he("",be,fe)}}}}b.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:le})})(y)}},79243:function(Ce,ae,y){"use strict";var b=y(73584),he=y(55686);Ce.exports=le,le.displayName="t4Vb",le.aliases=[];function le(pe){pe.register(b),pe.register(he),pe.languages["t4-vb"]=pe.languages["t4-templating"].createT4("vbnet")}},31788:function(Ce,ae,y){"use strict";var b=y(14409);Ce.exports=he,he.displayName="tap",he.aliases=[];function he(le){le.register(b),le.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:le.languages.yaml,alias:"language-yaml"}}}},60871:function(Ce){"use strict";Ce.exports=ae,ae.displayName="tcl",ae.aliases=[];function ae(y){y.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(Ce){"use strict";Ce.exports=ae,ae.displayName="textile",ae.aliases=[];function ae(y){(function(b){var he=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,le=/\)|\((?![^|()\n]+\))/.source;function pe(je,Fe){return RegExp(je.replace(//g,function(){return"(?:"+he+")"}).replace(//g,function(){return"(?:"+le+")"}),Fe||"")}var be={css:{pattern:/\{[^{}]+\}/,inside:{rest:b.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},fe=b.languages.textile=b.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:pe(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:pe(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:be},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:pe(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:pe(/(^[*#]+)+/.source),lookbehind:!0,inside:be},punctuation:/^[*#]+/}},table:{pattern:pe(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:pe(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:be},punctuation:/\||^\./}},inline:{pattern:pe(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:pe(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:pe(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:pe(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:pe(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:pe(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:pe(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:pe(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:pe(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:be},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:pe(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:pe(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:pe(/(^")+/.source),lookbehind:!0,inside:be},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:pe(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:pe(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:pe(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:be},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),we=fe.phrase.inside,Oe={inline:we.inline,link:we.link,image:we.image,footnote:we.footnote,acronym:we.acronym,mark:we.mark};fe.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Re=we.inline.inside;Re.bold.inside=Oe,Re.italic.inside=Oe,Re.inserted.inside=Oe,Re.deleted.inside=Oe,Re.span.inside=Oe;var xe=we.table.inside;xe.inline=Oe.inline,xe.link=Oe.link,xe.image=Oe.image,xe.footnote=Oe.footnote,xe.acronym=Oe.acronym,xe.mark=Oe.mark})(y)}},14693:function(Ce){"use strict";Ce.exports=ae,ae.displayName="toml",ae.aliases=[];function ae(y){(function(b){var he=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function le(pe){return pe.replace(/__/g,function(){return he})}b.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(le(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(le(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(y)}},8743:function(Ce){"use strict";Ce.exports=ae,ae.displayName="tremor",ae.aliases=[];function ae(y){(function(b){b.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var he=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;b.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+he+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+he+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(he),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.tremor}}},string:/[\s\S]+/}},b.languages.troy=b.languages.tremor,b.languages.trickle=b.languages.tremor})(y)}},1689:function(Ce,ae,y){"use strict";var b=y(24103),he=y(92784);Ce.exports=le,le.displayName="tsx",le.aliases=[];function le(pe){pe.register(b),pe.register(he),function(be){var fe=be.util.clone(be.languages.typescript);be.languages.tsx=be.languages.extend("jsx",fe),delete be.languages.tsx.parameter,delete be.languages.tsx["literal-property"];var we=be.languages.tsx.tag;we.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+we.pattern.source+")",we.pattern.flags),we.lookbehind=!0}(pe)}},69210:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="tt2",he.aliases=[];function he(le){le.register(b),function(pe){pe.languages.tt2=pe.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),pe.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),pe.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),pe.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete pe.languages.tt2.string,pe.hooks.add("before-tokenize",function(be){var fe=/\[%[\s\S]+?%\]/g;pe.languages["markup-templating"].buildPlaceholders(be,"tt2",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"tt2")})}(le)}},58710:function(Ce){"use strict";Ce.exports=ae,ae.displayName="turtle",ae.aliases=[];function ae(y){y.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},y.languages.trig=y.languages.turtle}},60452:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=he,he.displayName="twig",he.aliases=[];function he(le){le.register(b),le.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},le.hooks.add("before-tokenize",function(pe){if(pe.language==="twig"){var be=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;le.languages["markup-templating"].buildPlaceholders(pe,"twig",be)}}),le.hooks.add("after-tokenize",function(pe){le.languages["markup-templating"].tokenizePlaceholders(pe,"twig")})}},92784:function(Ce){"use strict";Ce.exports=ae,ae.displayName="typescript",ae.aliases=["ts"];function ae(y){(function(b){b.languages.typescript=b.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),b.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete b.languages.typescript.parameter,delete b.languages.typescript["literal-property"];var he=b.languages.extend("typescript",{});delete he["class-name"],b.languages.typescript["class-name"].inside=he,b.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:he}}}}),b.languages.ts=b.languages.typescript})(y)}},36489:function(Ce){"use strict";Ce.exports=ae,ae.displayName="typoscript",ae.aliases=["tsconfig"];function ae(y){(function(b){var he=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;b.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:he}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:he,number:/^\d+$/,punctuation:/[,|:]/}},keyword:he,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},b.languages.tsconfig=b.languages.typoscript})(y)}},78380:function(Ce){"use strict";Ce.exports=ae,ae.displayName="unrealscript",ae.aliases=["uc","uscript"];function ae(y){y.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},y.languages.uc=y.languages.uscript=y.languages.unrealscript}},10409:function(Ce){"use strict";Ce.exports=ae,ae.displayName="uorazor",ae.aliases=[];function ae(y){y.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(Ce){"use strict";Ce.exports=ae,ae.displayName="uri",ae.aliases=["url"];function ae(y){y.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},y.languages.url=y.languages.uri}},82028:function(Ce){"use strict";Ce.exports=ae,ae.displayName="v",ae.aliases=[];function ae(y){(function(b){var he={pattern:/[\s\S]+/,inside:null};b.languages.v=b.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":he}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),he.inside=b.languages.v,b.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),b.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),b.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:b.languages.v.generic.inside}}}})})(y)}},62282:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vala",ae.aliases=[];function ae(y){y.languages.vala=y.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),y.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:y.languages.vala}},string:/[\s\S]+/}}}),y.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(Ce,ae,y){"use strict";var b=y(51422);Ce.exports=he,he.displayName="vbnet",he.aliases=[];function he(le){le.register(b),le.languages.vbnet=le.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(Ce){"use strict";Ce.exports=ae,ae.displayName="velocity",ae.aliases=[];function ae(y){(function(b){b.languages.velocity=b.languages.extend("markup",{});var he={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};he.variable.inside={string:he.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:he.number,boolean:he.boolean,punctuation:he.punctuation},b.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:he}},variable:he.variable}),b.languages.velocity.tag.inside["attr-value"].inside.rest=b.languages.velocity})(y)}},37116:function(Ce){"use strict";Ce.exports=ae,ae.displayName="verilog",ae.aliases=[];function ae(y){y.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|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|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vhdl",ae.aliases=[];function ae(y){y.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vim",ae.aliases=[];function ae(y){y.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(Ce){"use strict";Ce.exports=ae,ae.displayName="visualBasic",ae.aliases=[];function ae(y){y.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},y.languages.vb=y.languages["visual-basic"],y.languages.vba=y.languages["visual-basic"]}},17723:function(Ce){"use strict";Ce.exports=ae,ae.displayName="warpscript",ae.aliases=[];function ae(y){y.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wasm",ae.aliases=[];function ae(y){y.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(Ce){"use strict";Ce.exports=ae,ae.displayName="webIdl",ae.aliases=[];function ae(y){(function(b){var he=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,le="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+he+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,pe={};b.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+he),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:pe},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+le),lookbehind:!0,inside:pe},{pattern:RegExp("("+/\bcallback\s+/.source+he+/\s*=\s*/.source+")"+le),lookbehind:!0,inside:pe},{pattern:RegExp(/(\btypedef\b\s*)/.source+le),lookbehind:!0,inside:pe},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+he),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+he),lookbehind:!0},RegExp(he+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+he),lookbehind:!0},{pattern:RegExp(le+"(?="+/\s*(?:\.{3}\s*)?/.source+he+/\s*[(),;=]/.source+")"),inside:pe}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var be in b.languages["web-idl"])be!=="class-name"&&(pe[be]=b.languages["web-idl"][be]);b.languages.webidl=b.languages["web-idl"]})(y)}},8921:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wiki",ae.aliases=[];function ae(y){y.languages.wiki=y.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:y.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),y.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:y.languages.markup.tag.inside}}}})}},13429:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wolfram",ae.aliases=["mathematica","wl","nb"];function ae(y){y.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.mathematica=y.languages.wolfram,y.languages.wl=y.languages.wolfram,y.languages.nb=y.languages.wolfram}},65197:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wren",ae.aliases=[];function ae(y){y.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},y.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:y.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xeora",ae.aliases=["xeoracube"];function ae(y){(function(b){b.languages.xeora=b.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),b.languages.insertBefore("inside","punctuation",{variable:b.languages.xeora["function-inline"].inside.variable},b.languages.xeora["function-block"]),b.languages.xeoracube=b.languages.xeora})(y)}},35:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xmlDoc",ae.aliases=[];function ae(y){(function(b){function he(fe,we){b.languages[fe]&&b.languages.insertBefore(fe,"comment",{"doc-comment":we})}var le=b.languages.markup.tag,pe={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:le}},be={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:le}};he("csharp",pe),he("fsharp",pe),he("vbnet",be)})(y)}},86095:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xojo",ae.aliases=[];function ae(y){y.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xquery",ae.aliases=[];function ae(y){(function(b){b.languages.xquery=b.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),b.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,b.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,b.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,b.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:b.languages.xquery,alias:"language-xquery"};var he=function(pe){return typeof pe=="string"?pe:typeof pe.content=="string"?pe.content:pe.content.map(he).join("")},le=function(pe){for(var be=[],fe=0;fe0&&be[be.length-1].tagName===he(we.content[0].content[1])&&be.pop():we.content[we.content.length-1].content==="/>"||be.push({tagName:he(we.content[0].content[1]),openedBraces:0}):be.length>0&&we.type==="punctuation"&&we.content==="{"&&(!pe[fe+1]||pe[fe+1].type!=="punctuation"||pe[fe+1].content!=="{")&&(!pe[fe-1]||pe[fe-1].type!=="plain-text"||pe[fe-1].content!=="{")?be[be.length-1].openedBraces++:be.length>0&&be[be.length-1].openedBraces>0&&we.type==="punctuation"&&we.content==="}"?be[be.length-1].openedBraces--:we.type!=="comment"&&(Oe=!0)),(Oe||typeof we=="string")&&be.length>0&&be[be.length-1].openedBraces===0){var Re=he(we);fe0&&(typeof pe[fe-1]=="string"||pe[fe-1].type==="plain-text")&&(Re=he(pe[fe-1])+Re,pe.splice(fe-1,1),fe--),/^\s+$/.test(Re)?pe[fe]=Re:pe[fe]=new b.Token("plain-text",Re,null,Re)}we.content&&typeof we.content!="string"&&le(we.content)}};b.hooks.add("after-tokenize",function(pe){pe.language==="xquery"&&le(pe.tokens)})})(y)}},14409:function(Ce){"use strict";Ce.exports=ae,ae.displayName="yaml",ae.aliases=["yml"];function ae(y){(function(b){var he=/[*&][^\s[\]{},]+/,le=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,pe="(?:"+le.source+"(?:[ ]+"+he.source+")?|"+he.source+"(?:[ ]+"+le.source+")?)",be=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),fe=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function we(Oe,Re){Re=(Re||"").replace(/m/g,"")+"m";var xe=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return pe}).replace(/<>/g,function(){return Oe});return RegExp(xe,Re)}b.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return pe})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return pe}).replace(/<>/g,function(){return"(?:"+be+"|"+fe+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:we(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:we(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:we(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:we(fe),lookbehind:!0,greedy:!0},number:{pattern:we(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:le,important:he,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},b.languages.yml=b.languages.yaml})(y)}},33460:function(Ce){"use strict";Ce.exports=ae,ae.displayName="yang",ae.aliases=[];function ae(y){y.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(Ce){"use strict";Ce.exports=ae,ae.displayName="zig",ae.aliases=[];function ae(y){(function(b){function he(Re){return function(){return Re}}var le=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,pe="\\b(?!"+le.source+")(?!\\d)\\w+\\b",be=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,fe=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,he(be)),we=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,he(pe)),Oe="(?!\\s)(?:!?\\s*(?:"+fe+"\\s*)*"+we+")+";b.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,he(Oe)).replace(//g,he(be))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,he(Oe)).replace(//g,he(be))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:le,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},b.languages.zig["class-name"].forEach(function(Re){Re.inside===null&&(Re.inside=b.languages.zig)})})(y)}},92848:function(Ce,ae){"use strict";var y;ae.Q=pe,y=be;var b="",he=" ",le=/[ \t\n\r\f]+/g;function pe(fe){var we=String(fe||b).trim();return we===b?[]:we.split(le)}function be(fe){return fe.join(he).trim()}},24177:function(Ce,ae,y){"use strict";var b=this&&this.__importDefault||function(be){return be&&be.__esModule?be:{default:be}},he=b(y(39534)),le=y(30883);function pe(be,fe){var we={};return!be||typeof be!="string"||(0,he.default)(be,function(Oe,Re){Oe&&Re&&(we[(0,le.camelCase)(Oe,fe)]=Re)}),we}pe.default=pe,Ce.exports=pe},30883:function(Ce,ae){"use strict";Object.defineProperty(ae,"__esModule",{value:!0}),ae.camelCase=void 0;var y=/^--[a-zA-Z0-9_-]+$/,b=/-([a-z])/g,he=/^[^-]+$/,le=/^-(webkit|moz|ms|o|khtml)-/,pe=/^-(ms)-/,be=function(Re){return!Re||he.test(Re)||y.test(Re)},fe=function(Re,xe){return xe.toUpperCase()},we=function(Re,xe){return"".concat(xe,"-")},Oe=function(Re,xe){return xe===void 0&&(xe={}),be(Re)?Re:(Re=Re.toLowerCase(),xe.reactCompat?Re=Re.replace(pe,we):Re=Re.replace(le,we),Re.replace(b,fe))};ae.camelCase=Oe},39534:function(Ce,ae,y){"use strict";var b=this&&this.__importDefault||function(pe){return pe&&pe.__esModule?pe:{default:pe}};Object.defineProperty(ae,"__esModule",{value:!0}),ae.default=le;const he=b(y(60976));function le(pe,be){let fe=null;if(!pe||typeof pe!="string")return fe;const we=(0,he.default)(pe),Oe=typeof be=="function";return we.forEach(Re=>{if(Re.type!=="declaration")return;const{property:xe,value:je}=Re;Oe?be(xe,je,Re):je&&(fe=fe||{},fe[xe]=je)}),fe}},97270:function(Ce){Ce.exports=y;var ae=Object.prototype.hasOwnProperty;function y(){for(var b={},he=0;he{const tt=(rt,It)=>(_e.set(It,rt),rt),gt=rt=>{if(_e.has(rt))return _e.get(rt);const[It,mt]=Ze[rt];switch(It){case he:case b:return tt(mt,rt);case le:{const ut=tt([],rt);for(const Tt of mt)ut.push(gt(Tt));return ut}case pe:{const ut=tt({},rt);for(const[Tt,_t]of mt)ut[gt(Tt)]=gt(_t);return ut}case be:return tt(new Date(mt),rt);case fe:{const{source:ut,flags:Tt}=mt;return tt(new RegExp(ut,Tt),rt)}case we:{const ut=tt(new Map,rt);for(const[Tt,_t]of mt)ut.set(gt(Tt),gt(_t));return ut}case Oe:{const ut=tt(new Set,rt);for(const Tt of mt)ut.add(gt(Tt));return ut}case Re:{const{name:ut,message:Tt}=mt;return tt(new je[ut](Tt),rt)}case xe:return tt(BigInt(mt),rt);case"BigInt":return tt(Object(BigInt(mt)),rt);case"ArrayBuffer":return tt(new Uint8Array(mt).buffer,mt);case"DataView":{const{buffer:ut}=new Uint8Array(mt);return tt(new DataView(ut),mt)}}return tt(new je[It](mt),rt)};return gt},xt=_e=>Fe(new Map,_e)(0),nt="",{toString:et}={},{keys:Je}=Object,Ge=_e=>{const Ze=typeof _e;if(Ze!=="object"||!_e)return[he,Ze];const tt=et.call(_e).slice(8,-1);switch(tt){case"Array":return[le,nt];case"Object":return[pe,nt];case"Date":return[be,nt];case"RegExp":return[fe,nt];case"Map":return[we,nt];case"Set":return[Oe,nt];case"DataView":return[le,tt]}return tt.includes("Array")?[le,tt]:tt.includes("Error")?[Re,tt]:[pe,tt]},We=([_e,Ze])=>_e===he&&(Ze==="function"||Ze==="symbol"),Ve=(_e,Ze,tt,gt)=>{const rt=(mt,ut)=>{const Tt=gt.push(mt)-1;return tt.set(ut,Tt),Tt},It=mt=>{if(tt.has(mt))return tt.get(mt);let[ut,Tt]=Ge(mt);switch(ut){case he:{let Ke=mt;switch(Tt){case"bigint":ut=xe,Ke=mt.toString();break;case"function":case"symbol":if(_e)throw new TypeError("unable to serialize "+Tt);Ke=null;break;case"undefined":return rt([b],mt)}return rt([ut,Ke],mt)}case le:{if(Tt){let Nt=mt;return Tt==="DataView"?Nt=new Uint8Array(mt.buffer):Tt==="ArrayBuffer"&&(Nt=new Uint8Array(mt)),rt([Tt,[...Nt]],mt)}const Ke=[],Rt=rt([ut,Ke],mt);for(const Nt of mt)Ke.push(It(Nt));return Rt}case pe:{if(Tt)switch(Tt){case"BigInt":return rt([Tt,mt.toString()],mt);case"Boolean":case"Number":case"String":return rt([Tt,mt.valueOf()],mt)}if(Ze&&"toJSON"in mt)return It(mt.toJSON());const Ke=[],Rt=rt([ut,Ke],mt);for(const Nt of Je(mt))(_e||!We(Ge(mt[Nt])))&&Ke.push([It(Nt),It(mt[Nt])]);return Rt}case be:return rt([ut,mt.toISOString()],mt);case fe:{const{source:Ke,flags:Rt}=mt;return rt([ut,{source:Ke,flags:Rt}],mt)}case we:{const Ke=[],Rt=rt([ut,Ke],mt);for(const[Nt,Kt]of mt)(_e||!(We(Ge(Nt))||We(Ge(Kt))))&&Ke.push([It(Nt),It(Kt)]);return Rt}case Oe:{const Ke=[],Rt=rt([ut,Ke],mt);for(const Nt of mt)(_e||!We(Ge(Nt)))&&Ke.push(It(Nt));return Rt}}const{message:_t}=mt;return rt([ut,{name:Tt,message:_t}],mt)};return It},Qe=(_e,{json:Ze,lossy:tt}={})=>{const gt=[];return Ve(!(Ze||tt),!!Ze,new Map,gt)(_e),gt};var He=typeof structuredClone=="function"?(_e,Ze)=>Ze&&("json"in Ze||"lossy"in Ze)?xt(Qe(_e,Ze)):structuredClone(_e):(_e,Ze)=>xt(Qe(_e,Ze))},11630:function(Ce,ae,y){"use strict";y.d(ae,{P:function(){return he},Q:function(){return b}});function b(le){const pe=[],be=String(le||"");let fe=be.indexOf(","),we=0,Oe=!1;for(;!Oe;){fe===-1&&(fe=be.length,Oe=!0);const Re=be.slice(we,fe).trim();(Re||!Oe)&&pe.push(Re),we=fe+1,fe=be.indexOf(",",we)}return pe}function he(le,pe){const be=pe||{};return(le[le.length-1]===""?[...le,""]:le).join((be.padRight?" ":"")+","+(be.padLeft===!1?"":" ")).trim()}},87342:function(Ce,ae,y){"use strict";y.d(ae,{ok:function(){return le},t1:function(){return pe}});function b(be){return be}function he(){}function le(){}function pe(){}},40797:function(Ce,ae,y){"use strict";y.d(ae,{N:function(){return xt}});var b=y(81994),he=y(43309);function le(et,Je){return pe(et,Je||{})||{type:"root",children:[]}}function pe(et,Je){const Ge=be(et,Je);return Ge&&Je.afterTransform&&Je.afterTransform(et,Ge),Ge}function be(et,Je){switch(et.nodeType){case 1:return xe(et,Je);case 3:return Oe(et);case 8:return Re(et);case 9:return fe(et,Je);case 10:return we();case 11:return fe(et,Je);default:return}}function fe(et,Je){return{type:"root",children:je(et,Je)}}function we(){return{type:"doctype"}}function Oe(et){return{type:"text",value:et.nodeValue||""}}function Re(et){return{type:"comment",value:et.nodeValue||""}}function xe(et,Je){const Ge=et.namespaceURI,We=Ge===he.t.svg?b.s:b.h,Ve=Ge===he.t.html?et.tagName.toLowerCase():et.tagName,Qe=Ge===he.t.html&&Ve==="template"?et.content:et,He=et.getAttributeNames(),_e={};let Ze=-1;for(;++Zewt&&(wt=$e):$e&&(wt!==void 0&&wt>-1&&On.push(` -`.repeat(wt)||" "),wt=-1,On.push($e))}return On.join("")}function Ve(mt,ut,Tt){return mt.type==="element"?Qe(mt,ut,Tt):mt.type==="text"?Tt.whitespace==="normal"?He(mt,Tt):_e(mt):[]}function Qe(mt,ut,Tt){const _t=tt(mt,Tt),Ke=mt.children||[];let Rt=-1,Nt=[];if(Je(mt))return Nt;let Kt,On;for(Fe(mt)||et(mt)&&he(ut,mt,et)?On=` -`:nt(mt)?(Kt=2,On=2):Ge(mt)&&(Kt=1,On=1);++RtOe&&(Oe=we):we=1,fe=be+le.length,be=pe.indexOf(le,fe);return Oe}},91614:function(Ce,ae,y){"use strict";y.d(ae,{n:function(){return pe}});function b(Oe){if(typeof Oe!="string")throw new TypeError("Expected a string");return Oe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var he=y(19453),le=y(33511);function pe(Oe,Re,xe){const je=xe||{},Fe=(0,le.O)(je.ignore||[]),xt=be(Re);let nt=-1;for(;++nt0?{type:"text",value:Tt}:void 0),Tt===!1?Qe.lastIndex=mt+1:(_e!==mt&&rt.push({type:"text",value:Ge.value.slice(_e,mt)}),Array.isArray(Tt)?rt.push(...Tt):Tt&&rt.push(Tt),_e=mt+It[0].length,gt=!0),!Qe.global)break;It=Qe.exec(Ge.value)}return gt?(_e-1&&nt.test(String.fromCharCode(Je))}}},36335:function(Ce,ae,y){"use strict";y.d(ae,{V:function(){return he},d:function(){return b}});function b(le,pe,be,fe){const we=le.length;let Oe=0,Re;if(pe<0?pe=-pe>we?0:we+pe:pe=pe>we?we:pe,be=be>0?be:0,fe.length<1e4)Re=Array.from(fe),Re.unshift(pe,be),le.splice(...Re);else for(be&&le.splice(pe,be);Oe0?(b(le,le.length,0,pe),le):pe}},97864:function(Ce,ae,y){"use strict";y.d(ae,{r:function(){return he}});var b=y(80722);function he(le){if(le===null||(0,b.z3)(le)||(0,b.B8)(le))return 1;if((0,b.Xh)(le))return 2}},64997:function(Ce,ae,y){"use strict";y.d(ae,{W:function(){return le}});var b=y(36335);const he={}.hasOwnProperty;function le(Oe){const Re={};let xe=-1;for(;++xe4&&Fe.slice(0,4)==="data"&&fe.test(je)){if(je.charAt(4)==="-"){const et=je.slice(5).replace(be,Re);xt="data"+et.charAt(0).toUpperCase()+et.slice(1)}else{const et=je.slice(4);if(!be.test(et)){let Je=et.replace(pe,Oe);Je.charAt(0)!=="-"&&(Je="-"+Je),je="data"+Je}}nt=b.I}return new nt(xt,je)}function Oe(xe){return"-"+xe.toLowerCase()}function Re(xe){return xe.charAt(1).toUpperCase()}},13830:function(Ce,ae,y){"use strict";y.d(ae,{F:function(){return b}});function b(he){return he.toLowerCase()}},53538:function(Ce,ae,y){"use strict";y.d(ae,{I:function(){return pe}});var b=y(25629),he=y(71337);const le=Object.keys(he);class pe extends b.k{constructor(we,Oe,Re,xe){let je=-1;if(super(we,Oe),be(this,"space",xe),typeof Re=="number")for(;++je0){const ke=Ae.length>1?Ae:Ae[0];ke&&(se.children=ke)}}function Ht(se,Ae,ke){return ze;function ze(ht,bt,Pt,nn){const Bn=Array.isArray(Pt.children)?ke:Ae;return nn?Bn(bt,Pt,nn):Bn(bt,Pt)}}function Yt(se,Ae){return ke;function ke(ze,ht,bt,Pt){const nn=Array.isArray(bt.children),zn=(0,He.Pk)(ze);return Ae(ht,bt,Pt,nn,{columnNumber:zn?zn.column-1:void 0,fileName:se,lineNumber:zn?zn.line:void 0},void 0)}}function Rn(se,Ae){const ke={};let ze,ht;for(ht in Ae.properties)if(ht!=="children"&&It.call(Ae.properties,ht)){const bt=Zt(se,ht,Ae.properties[ht]);if(bt){const[Pt,nn]=bt;se.tableCellAlignToStyle&&Pt==="align"&&typeof nn=="string"&&_t.has(Ae.tagName)?ze=nn:ke[Pt]=nn}}if(ze){const bt=ke.style||(ke.style={});bt[se.stylePropertyNameCase==="css"?"text-align":"textAlign"]=ze}return ke}function ct(se,Ae){const ke={};for(const ze of Ae.attributes)if(ze.type==="mdxJsxExpressionAttribute")if(ze.data&&ze.data.estree&&se.evaluater){const bt=ze.data.estree.body[0];(0,he.ok)(bt.type==="ExpressionStatement");const Pt=bt.expression;(0,he.ok)(Pt.type==="ObjectExpression");const nn=Pt.properties[0];(0,he.ok)(nn.type==="SpreadElement"),Object.assign(ke,se.evaluater.evaluateExpression(nn.argument))}else De(se,Ae.position);else{const ht=ze.name;let bt;if(ze.value&&typeof ze.value=="object")if(ze.value.data&&ze.value.data.estree&&se.evaluater){const nn=ze.value.data.estree.body[0];(0,he.ok)(nn.type==="ExpressionStatement"),bt=se.evaluater.evaluateExpression(nn.expression)}else De(se,Ae.position);else bt=ze.value===null?!0:ze.value;ke[ht]=bt}return ke}function Sn(se,Ae){const ke=[];let ze=-1;const ht=se.passKeys?new Map:mt;for(;++ze=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+Ae+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Aethis.left.length?this.right.slice(this.right.length-ze+this.left.length,this.right.length-Ae+this.left.length).reverse():this.left.slice(Ae).concat(this.right.slice(this.right.length-ze+this.left.length).reverse())}splice(Ae,ke,ze){const ht=ke||0;this.setCursor(Math.trunc(Ae));const bt=this.right.splice(this.right.length-ht,Number.POSITIVE_INFINITY);return ze&&vt(this.left,ze),bt.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(Ae){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(Ae)}pushMany(Ae){this.setCursor(Number.POSITIVE_INFINITY),vt(this.left,Ae)}unshift(Ae){this.setCursor(0),this.right.push(Ae)}unshiftMany(Ae){this.setCursor(0),vt(this.right,Ae.reverse())}setCursor(Ae){if(!(Ae===this.left.length||Ae>this.left.length&&this.right.length===0||Ae<0&&this.left.length===0))if(AePt))return;const xi=Ae.events.length;let yi=xi,Ci,Ii;for(;yi--;)if(Ae.events[yi][0]==="exit"&&Ae.events[yi][1].type==="chunkFlow"){if(Ci){Ii=Ae.events[yi][1].end;break}Ci=!0}for(ya(ze),qr=xi;qrLa;){const bi=ke[_i];Ae.containerState=bi[1],bi[0].exit.call(Ae,se)}ke.length=La}function di(){ht.write([null]),bt=void 0,ht=void 0,Ae.containerState._closeFlow=void 0}}function xn(se,Ae,ke){return(0,dn.f)(se,se.attempt(this.parser.constructs.document,Ae,ke),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var Lt=y(35691);const qt={resolve:bn,tokenize:Et},zt={partial:!0,tokenize:ft};function bn(se){return Ct(se),se}function Et(se,Ae){let ke;return ze;function ze(nn){return se.enter("content"),ke=se.enter("chunkContent",{contentType:"content"}),ht(nn)}function ht(nn){return nn===null?bt(nn):(0,Bt.Ch)(nn)?se.check(zt,Pt,bt)(nn):(se.consume(nn),ht)}function bt(nn){return se.exit("chunkContent"),se.exit("content"),Ae(nn)}function Pt(nn){return se.consume(nn),se.exit("chunkContent"),ke.next=se.enter("chunkContent",{contentType:"content",previous:ke}),ke=ke.next,ht}}function ft(se,Ae,ke){const ze=this;return ht;function ht(Pt){return se.exit("chunkContent"),se.enter("lineEnding"),se.consume(Pt),se.exit("lineEnding"),(0,dn.f)(se,bt,"linePrefix")}function bt(Pt){if(Pt===null||(0,Bt.Ch)(Pt))return ke(Pt);const nn=ze.events[ze.events.length-1];return!ze.parser.constructs.disable.null.includes("codeIndented")&&nn&&nn[1].type==="linePrefix"&&nn[2].sliceSerialize(nn[1],!0).length>=4?Ae(Pt):se.interrupt(ze.parser.constructs.flow,ke,Ae)(Pt)}}const de={tokenize:wn};function wn(se){const Ae=this,ke=se.attempt(Lt.w,ze,se.attempt(this.parser.constructs.flowInitial,ht,(0,dn.f)(se,se.attempt(this.parser.constructs.flow,ht,se.attempt(qt,ht)),"linePrefix")));return ke;function ze(bt){if(bt===null){se.consume(bt);return}return se.enter("lineEndingBlank"),se.consume(bt),se.exit("lineEndingBlank"),Ae.currentConstruct=void 0,ke}function ht(bt){if(bt===null){se.consume(bt);return}return se.enter("lineEnding"),se.consume(bt),se.exit("lineEnding"),Ae.currentConstruct=void 0,ke}}const Un={resolveAll:or()},mn=Sr("string"),Er=Sr("text");function Sr(se){return{resolveAll:or(se==="text"?wr:void 0),tokenize:Ae};function Ae(ke){const ze=this,ht=this.parser.constructs[se],bt=ke.attempt(ht,Pt,nn);return Pt;function Pt(yn){return Bn(yn)?bt(yn):nn(yn)}function nn(yn){if(yn===null){ke.consume(yn);return}return ke.enter("data"),ke.consume(yn),zn}function zn(yn){return Bn(yn)?(ke.exit("data"),bt(yn)):(ke.consume(yn),zn)}function Bn(yn){if(yn===null)return!0;const Zn=ht[yn];let $n=-1;if(Zn)for(;++$n=3&&(Bn===null||(0,Bt.Ch)(Bn))?(se.exit("thematicBreak"),Ae(Bn)):ke(Bn)}function zn(Bn){return Bn===ht?(se.consume(Bn),ze++,zn):(se.exit("thematicBreakSequence"),(0,Bt.xz)(Bn)?(0,dn.f)(se,nn,"whitespace")(Bn):nn(Bn))}}const ir={continuation:{tokenize:sr},exit:$r,name:"list",tokenize:Ir},br={partial:!0,tokenize:Jr},qn={partial:!0,tokenize:jn};function Ir(se,Ae,ke){const ze=this,ht=ze.events[ze.events.length-1];let bt=ht&&ht[1].type==="linePrefix"?ht[2].sliceSerialize(ht[1],!0).length:0,Pt=0;return nn;function nn(In){const Ra=ze.containerState.type||(In===42||In===43||In===45?"listUnordered":"listOrdered");if(Ra==="listUnordered"?!ze.containerState.marker||In===ze.containerState.marker:(0,Bt.pY)(In)){if(ze.containerState.type||(ze.containerState.type=Ra,se.enter(Ra,{_container:!0})),Ra==="listUnordered")return se.enter("listItemPrefix"),In===42||In===45?se.check(St,ke,Bn)(In):Bn(In);if(!ze.interrupt||In===49)return se.enter("listItemPrefix"),se.enter("listItemValue"),zn(In)}return ke(In)}function zn(In){return(0,Bt.pY)(In)&&++Pt<10?(se.consume(In),zn):(!ze.interrupt||Pt<2)&&(ze.containerState.marker?In===ze.containerState.marker:In===41||In===46)?(se.exit("listItemValue"),Bn(In)):ke(In)}function Bn(In){return se.enter("listItemMarker"),se.consume(In),se.exit("listItemMarker"),ze.containerState.marker=ze.containerState.marker||In,se.check(Lt.w,ze.interrupt?ke:yn,se.attempt(br,$n,Zn))}function yn(In){return ze.containerState.initialBlankLine=!0,bt++,$n(In)}function Zn(In){return(0,Bt.xz)(In)?(se.enter("listItemPrefixWhitespace"),se.consume(In),se.exit("listItemPrefixWhitespace"),$n):ke(In)}function $n(In){return ze.containerState.size=bt+ze.sliceSerialize(se.exit("listItemPrefix"),!0).length,Ae(In)}}function sr(se,Ae,ke){const ze=this;return ze.containerState._closeFlow=void 0,se.check(Lt.w,ht,bt);function ht(nn){return ze.containerState.furtherBlankLines=ze.containerState.furtherBlankLines||ze.containerState.initialBlankLine,(0,dn.f)(se,Ae,"listItemIndent",ze.containerState.size+1)(nn)}function bt(nn){return ze.containerState.furtherBlankLines||!(0,Bt.xz)(nn)?(ze.containerState.furtherBlankLines=void 0,ze.containerState.initialBlankLine=void 0,Pt(nn)):(ze.containerState.furtherBlankLines=void 0,ze.containerState.initialBlankLine=void 0,se.attempt(qn,Ae,Pt)(nn))}function Pt(nn){return ze.containerState._closeFlow=!0,ze.interrupt=void 0,(0,dn.f)(se,se.attempt(ir,Ae,ke),"linePrefix",ze.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(nn)}}function jn(se,Ae,ke){const ze=this;return(0,dn.f)(se,ht,"listItemIndent",ze.containerState.size+1);function ht(bt){const Pt=ze.events[ze.events.length-1];return Pt&&Pt[1].type==="listItemIndent"&&Pt[2].sliceSerialize(Pt[1],!0).length===ze.containerState.size?Ae(bt):ke(bt)}}function $r(se){se.exit(this.containerState.type)}function Jr(se,Ae,ke){const ze=this;return(0,dn.f)(se,ht,"listItemPrefixWhitespace",ze.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function ht(bt){const Pt=ze.events[ze.events.length-1];return!(0,Bt.xz)(bt)&&Pt&&Pt[1].type==="listItemPrefixWhitespace"?Ae(bt):ke(bt)}}const Gr={continuation:{tokenize:Hr},exit:fa,name:"blockQuote",tokenize:la};function la(se,Ae,ke){const ze=this;return ht;function ht(Pt){if(Pt===62){const nn=ze.containerState;return nn.open||(se.enter("blockQuote",{_container:!0}),nn.open=!0),se.enter("blockQuotePrefix"),se.enter("blockQuoteMarker"),se.consume(Pt),se.exit("blockQuoteMarker"),bt}return ke(Pt)}function bt(Pt){return(0,Bt.xz)(Pt)?(se.enter("blockQuotePrefixWhitespace"),se.consume(Pt),se.exit("blockQuotePrefixWhitespace"),se.exit("blockQuotePrefix"),Ae):(se.exit("blockQuotePrefix"),Ae(Pt))}}function Hr(se,Ae,ke){const ze=this;return ht;function ht(Pt){return(0,Bt.xz)(Pt)?(0,dn.f)(se,bt,"linePrefix",ze.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Pt):bt(Pt)}function bt(Pt){return se.attempt(Gr,Ae,ke)(Pt)}}function fa(se){se.exit("blockQuote")}function Yr(se,Ae,ke,ze,ht,bt,Pt,nn,zn){const Bn=zn||Number.POSITIVE_INFINITY;let yn=0;return Zn;function Zn(ya){return ya===60?(se.enter(ze),se.enter(ht),se.enter(bt),se.consume(ya),se.exit(bt),$n):ya===null||ya===32||ya===41||(0,Bt.Av)(ya)?ke(ya):(se.enter(ze),se.enter(Pt),se.enter(nn),se.enter("chunkString",{contentType:"string"}),Ka(ya))}function $n(ya){return ya===62?(se.enter(bt),se.consume(ya),se.exit(bt),se.exit(ht),se.exit(ze),Ae):(se.enter(nn),se.enter("chunkString",{contentType:"string"}),In(ya))}function In(ya){return ya===62?(se.exit("chunkString"),se.exit(nn),$n(ya)):ya===null||ya===60||(0,Bt.Ch)(ya)?ke(ya):(se.consume(ya),ya===92?Ra:In)}function Ra(ya){return ya===60||ya===62||ya===92?(se.consume(ya),In):In(ya)}function Ka(ya){return!yn&&(ya===null||ya===41||(0,Bt.z3)(ya))?(se.exit("chunkString"),se.exit(nn),se.exit(Pt),se.exit(ze),Ae(ya)):yn999||In===null||In===91||In===93&&!zn||In===94&&!nn&&"_hiddenFootnoteSupport"in Pt.parser.constructs?ke(In):In===93?(se.exit(bt),se.enter(ht),se.consume(In),se.exit(ht),se.exit(ze),Ae):(0,Bt.Ch)(In)?(se.enter("lineEnding"),se.consume(In),se.exit("lineEnding"),yn):(se.enter("chunkString",{contentType:"string"}),Zn(In))}function Zn(In){return In===null||In===91||In===93||(0,Bt.Ch)(In)||nn++>999?(se.exit("chunkString"),yn(In)):(se.consume(In),zn||(zn=!(0,Bt.xz)(In)),In===92?$n:Zn)}function $n(In){return In===91||In===92||In===93?(se.consume(In),nn++,Zn):Zn(In)}}function ur(se,Ae,ke,ze,ht,bt){let Pt;return nn;function nn($n){return $n===34||$n===39||$n===40?(se.enter(ze),se.enter(ht),se.consume($n),se.exit(ht),Pt=$n===40?41:$n,zn):ke($n)}function zn($n){return $n===Pt?(se.enter(ht),se.consume($n),se.exit(ht),se.exit(ze),Ae):(se.enter(bt),Bn($n))}function Bn($n){return $n===Pt?(se.exit(bt),zn(Pt)):$n===null?ke($n):(0,Bt.Ch)($n)?(se.enter("lineEnding"),se.consume($n),se.exit("lineEnding"),(0,dn.f)(se,Bn,"linePrefix")):(se.enter("chunkString",{contentType:"string"}),yn($n))}function yn($n){return $n===Pt||$n===null||(0,Bt.Ch)($n)?(se.exit("chunkString"),Bn($n)):(se.consume($n),$n===92?Zn:yn)}function Zn($n){return $n===Pt||$n===92?(se.consume($n),yn):yn($n)}}function _r(se,Ae){let ke;return ze;function ze(ht){return(0,Bt.Ch)(ht)?(se.enter("lineEnding"),se.consume(ht),se.exit("lineEnding"),ke=!0,ze):(0,Bt.xz)(ht)?(0,dn.f)(se,ze,ke?"linePrefix":"lineSuffix")(ht):Ae(ht)}}var ea=y(95099);const Jt={name:"definition",tokenize:kt},pn={partial:!0,tokenize:tn};function kt(se,Ae,ke){const ze=this;let ht;return bt;function bt(In){return se.enter("definition"),Pt(In)}function Pt(In){return Wn.call(ze,se,nn,ke,"definitionLabel","definitionLabelMarker","definitionLabelString")(In)}function nn(In){return ht=(0,ea.d)(ze.sliceSerialize(ze.events[ze.events.length-1][1]).slice(1,-1)),In===58?(se.enter("definitionMarker"),se.consume(In),se.exit("definitionMarker"),zn):ke(In)}function zn(In){return(0,Bt.z3)(In)?_r(se,Bn)(In):Bn(In)}function Bn(In){return Yr(se,yn,ke,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(In)}function yn(In){return se.attempt(pn,Zn,Zn)(In)}function Zn(In){return(0,Bt.xz)(In)?(0,dn.f)(se,$n,"whitespace")(In):$n(In)}function $n(In){return In===null||(0,Bt.Ch)(In)?(se.exit("definition"),ze.parser.defined.push(ht),Ae(In)):ke(In)}}function tn(se,Ae,ke){return ze;function ze(nn){return(0,Bt.z3)(nn)?_r(se,ht)(nn):ke(nn)}function ht(nn){return ur(se,bt,ke,"definitionTitle","definitionTitleMarker","definitionTitleString")(nn)}function bt(nn){return(0,Bt.xz)(nn)?(0,dn.f)(se,Pt,"whitespace")(nn):Pt(nn)}function Pt(nn){return nn===null||(0,Bt.Ch)(nn)?Ae(nn):ke(nn)}}const Mt={name:"codeIndented",tokenize:lt},rn={partial:!0,tokenize:ve};function lt(se,Ae,ke){const ze=this;return ht;function ht(Bn){return se.enter("codeIndented"),(0,dn.f)(se,bt,"linePrefix",5)(Bn)}function bt(Bn){const yn=ze.events[ze.events.length-1];return yn&&yn[1].type==="linePrefix"&&yn[2].sliceSerialize(yn[1],!0).length>=4?Pt(Bn):ke(Bn)}function Pt(Bn){return Bn===null?zn(Bn):(0,Bt.Ch)(Bn)?se.attempt(rn,Pt,zn)(Bn):(se.enter("codeFlowValue"),nn(Bn))}function nn(Bn){return Bn===null||(0,Bt.Ch)(Bn)?(se.exit("codeFlowValue"),Pt(Bn)):(se.consume(Bn),nn)}function zn(Bn){return se.exit("codeIndented"),Ae(Bn)}}function ve(se,Ae,ke){const ze=this;return ht;function ht(Pt){return ze.parser.lazy[ze.now().line]?ke(Pt):(0,Bt.Ch)(Pt)?(se.enter("lineEnding"),se.consume(Pt),se.exit("lineEnding"),ht):(0,dn.f)(se,bt,"linePrefix",5)(Pt)}function bt(Pt){const nn=ze.events[ze.events.length-1];return nn&&nn[1].type==="linePrefix"&&nn[2].sliceSerialize(nn[1],!0).length>=4?Ae(Pt):(0,Bt.Ch)(Pt)?ht(Pt):ke(Pt)}}const Ie={name:"headingAtx",resolve:Ft,tokenize:Pe};function Ft(se,Ae){let ke=se.length-2,ze=3,ht,bt;return se[ze][1].type==="whitespace"&&(ze+=2),ke-2>ze&&se[ke][1].type==="whitespace"&&(ke-=2),se[ke][1].type==="atxHeadingSequence"&&(ze===ke-1||ke-4>ze&&se[ke-2][1].type==="whitespace")&&(ke-=ze+1===ke?2:4),ke>ze&&(ht={type:"atxHeadingText",start:se[ze][1].start,end:se[ke][1].end},bt={type:"chunkText",start:se[ze][1].start,end:se[ke][1].end,contentType:"text"},(0,Qt.d)(se,ze,ke-ze+1,[["enter",ht,Ae],["enter",bt,Ae],["exit",bt,Ae],["exit",ht,Ae]])),se}function Pe(se,Ae,ke){let ze=0;return ht;function ht(yn){return se.enter("atxHeading"),bt(yn)}function bt(yn){return se.enter("atxHeadingSequence"),Pt(yn)}function Pt(yn){return yn===35&&ze++<6?(se.consume(yn),Pt):yn===null||(0,Bt.z3)(yn)?(se.exit("atxHeadingSequence"),nn(yn)):ke(yn)}function nn(yn){return yn===35?(se.enter("atxHeadingSequence"),zn(yn)):yn===null||(0,Bt.Ch)(yn)?(se.exit("atxHeading"),Ae(yn)):(0,Bt.xz)(yn)?(0,dn.f)(se,nn,"whitespace")(yn):(se.enter("atxHeadingText"),Bn(yn))}function zn(yn){return yn===35?(se.consume(yn),zn):(se.exit("atxHeadingSequence"),nn(yn))}function Bn(yn){return yn===null||yn===35||(0,Bt.z3)(yn)?(se.exit("atxHeadingText"),nn(yn)):(se.consume(yn),Bn)}}const Ye={name:"setextUnderline",resolveTo:Xt,tokenize:Wt};function Xt(se,Ae){let ke=se.length,ze,ht,bt;for(;ke--;)if(se[ke][0]==="enter"){if(se[ke][1].type==="content"){ze=ke;break}se[ke][1].type==="paragraph"&&(ht=ke)}else se[ke][1].type==="content"&&se.splice(ke,1),!bt&&se[ke][1].type==="definition"&&(bt=ke);const Pt={type:"setextHeading",start:Xa({},se[ze][1].start),end:Xa({},se[se.length-1][1].end)};return se[ht][1].type="setextHeadingText",bt?(se.splice(ht,0,["enter",Pt,Ae]),se.splice(bt+1,0,["exit",se[ze][1],Ae]),se[ze][1].end=Xa({},se[bt][1].end)):se[ze][1]=Pt,se.push(["exit",Pt,Ae]),se}function Wt(se,Ae,ke){const ze=this;let ht;return bt;function bt(Bn){let yn=ze.events.length,Zn;for(;yn--;)if(ze.events[yn][1].type!=="lineEnding"&&ze.events[yn][1].type!=="linePrefix"&&ze.events[yn][1].type!=="content"){Zn=ze.events[yn][1].type==="paragraph";break}return!ze.parser.lazy[ze.now().line]&&(ze.interrupt||Zn)?(se.enter("setextHeadingLine"),ht=Bn,Pt(Bn)):ke(Bn)}function Pt(Bn){return se.enter("setextHeadingLineSequence"),nn(Bn)}function nn(Bn){return Bn===ht?(se.consume(Bn),nn):(se.exit("setextHeadingLineSequence"),(0,Bt.xz)(Bn)?(0,dn.f)(se,zn,"lineSuffix")(Bn):zn(Bn))}function zn(Bn){return Bn===null||(0,Bt.Ch)(Bn)?(se.exit("setextHeadingLine"),Ae(Bn)):ke(Bn)}}const Xn=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Qn=["pre","script","style","textarea"],Pn={concrete:!0,name:"htmlFlow",resolveTo:an,tokenize:pt},Nr={partial:!0,tokenize:Dt},gn={partial:!0,tokenize:kn};function an(se){let Ae=se.length;for(;Ae--&&!(se[Ae][0]==="enter"&&se[Ae][1].type==="htmlFlow"););return Ae>1&&se[Ae-2][1].type==="linePrefix"&&(se[Ae][1].start=se[Ae-2][1].start,se[Ae+1][1].start=se[Ae-2][1].start,se.splice(Ae-2,2)),se}function pt(se,Ae,ke){const ze=this;let ht,bt,Pt,nn,zn;return Bn;function Bn(Fn){return yn(Fn)}function yn(Fn){return se.enter("htmlFlow"),se.enter("htmlFlowData"),se.consume(Fn),Zn}function Zn(Fn){return Fn===33?(se.consume(Fn),$n):Fn===47?(se.consume(Fn),bt=!0,Ka):Fn===63?(se.consume(Fn),ht=3,ze.interrupt?Ae:hn):(0,Bt.jv)(Fn)?(se.consume(Fn),Pt=String.fromCharCode(Fn),pi):ke(Fn)}function $n(Fn){return Fn===45?(se.consume(Fn),ht=2,In):Fn===91?(se.consume(Fn),ht=5,nn=0,Ra):(0,Bt.jv)(Fn)?(se.consume(Fn),ht=4,ze.interrupt?Ae:hn):ke(Fn)}function In(Fn){return Fn===45?(se.consume(Fn),ze.interrupt?Ae:hn):ke(Fn)}function Ra(Fn){const eo="CDATA[";return Fn===eo.charCodeAt(nn++)?(se.consume(Fn),nn===eo.length?ze.interrupt?Ae:si:Ra):ke(Fn)}function Ka(Fn){return(0,Bt.jv)(Fn)?(se.consume(Fn),Pt=String.fromCharCode(Fn),pi):ke(Fn)}function pi(Fn){if(Fn===null||Fn===47||Fn===62||(0,Bt.z3)(Fn)){const eo=Fn===47,Ro=Pt.toLowerCase();return!eo&&!bt&&Qn.includes(Ro)?(ht=1,ze.interrupt?Ae(Fn):si(Fn)):Xn.includes(Pt.toLowerCase())?(ht=6,eo?(se.consume(Fn),ya):ze.interrupt?Ae(Fn):si(Fn)):(ht=7,ze.interrupt&&!ze.parser.lazy[ze.now().line]?ke(Fn):bt?di(Fn):La(Fn))}return Fn===45||(0,Bt.H$)(Fn)?(se.consume(Fn),Pt+=String.fromCharCode(Fn),pi):ke(Fn)}function ya(Fn){return Fn===62?(se.consume(Fn),ze.interrupt?Ae:si):ke(Fn)}function di(Fn){return(0,Bt.xz)(Fn)?(se.consume(Fn),di):Ii(Fn)}function La(Fn){return Fn===47?(se.consume(Fn),Ii):Fn===58||Fn===95||(0,Bt.jv)(Fn)?(se.consume(Fn),_i):(0,Bt.xz)(Fn)?(se.consume(Fn),La):Ii(Fn)}function _i(Fn){return Fn===45||Fn===46||Fn===58||Fn===95||(0,Bt.H$)(Fn)?(se.consume(Fn),_i):bi(Fn)}function bi(Fn){return Fn===61?(se.consume(Fn),qr):(0,Bt.xz)(Fn)?(se.consume(Fn),bi):La(Fn)}function qr(Fn){return Fn===null||Fn===60||Fn===61||Fn===62||Fn===96?ke(Fn):Fn===34||Fn===39?(se.consume(Fn),zn=Fn,xi):(0,Bt.xz)(Fn)?(se.consume(Fn),qr):yi(Fn)}function xi(Fn){return Fn===zn?(se.consume(Fn),zn=null,Ci):Fn===null||(0,Bt.Ch)(Fn)?ke(Fn):(se.consume(Fn),xi)}function yi(Fn){return Fn===null||Fn===34||Fn===39||Fn===47||Fn===60||Fn===61||Fn===62||Fn===96||(0,Bt.z3)(Fn)?bi(Fn):(se.consume(Fn),yi)}function Ci(Fn){return Fn===47||Fn===62||(0,Bt.xz)(Fn)?La(Fn):ke(Fn)}function Ii(Fn){return Fn===62?(se.consume(Fn),To):ke(Fn)}function To(Fn){return Fn===null||(0,Bt.Ch)(Fn)?si(Fn):(0,Bt.xz)(Fn)?(se.consume(Fn),To):ke(Fn)}function si(Fn){return Fn===45&&ht===2?(se.consume(Fn),Ot):Fn===60&&ht===1?(se.consume(Fn),Nn):Fn===62&&ht===4?(se.consume(Fn),Ta):Fn===63&&ht===3?(se.consume(Fn),hn):Fn===93&&ht===5?(se.consume(Fn),Fr):(0,Bt.Ch)(Fn)&&(ht===6||ht===7)?(se.exit("htmlFlowData"),se.check(Nr,fi,x)(Fn)):Fn===null||(0,Bt.Ch)(Fn)?(se.exit("htmlFlowData"),x(Fn)):(se.consume(Fn),si)}function x(Fn){return se.check(gn,ee,fi)(Fn)}function ee(Fn){return se.enter("lineEnding"),se.consume(Fn),se.exit("lineEnding"),Ne}function Ne(Fn){return Fn===null||(0,Bt.Ch)(Fn)?x(Fn):(se.enter("htmlFlowData"),si(Fn))}function Ot(Fn){return Fn===45?(se.consume(Fn),hn):si(Fn)}function Nn(Fn){return Fn===47?(se.consume(Fn),Pt="",cr):si(Fn)}function cr(Fn){if(Fn===62){const eo=Pt.toLowerCase();return Qn.includes(eo)?(se.consume(Fn),Ta):si(Fn)}return(0,Bt.jv)(Fn)&&Pt.length<8?(se.consume(Fn),Pt+=String.fromCharCode(Fn),cr):si(Fn)}function Fr(Fn){return Fn===93?(se.consume(Fn),hn):si(Fn)}function hn(Fn){return Fn===62?(se.consume(Fn),Ta):Fn===45&&ht===2?(se.consume(Fn),hn):si(Fn)}function Ta(Fn){return Fn===null||(0,Bt.Ch)(Fn)?(se.exit("htmlFlowData"),fi(Fn)):(se.consume(Fn),Ta)}function fi(Fn){return se.exit("htmlFlow"),Ae(Fn)}}function kn(se,Ae,ke){const ze=this;return ht;function ht(Pt){return(0,Bt.Ch)(Pt)?(se.enter("lineEnding"),se.consume(Pt),se.exit("lineEnding"),bt):ke(Pt)}function bt(Pt){return ze.parser.lazy[ze.now().line]?ke(Pt):Ae(Pt)}}function Dt(se,Ae,ke){return ze;function ze(ht){return se.enter("lineEnding"),se.consume(ht),se.exit("lineEnding"),se.attempt(Lt.w,Ae,ke)}}const nr={partial:!0,tokenize:xr},Tr={concrete:!0,name:"codeFenced",tokenize:pr};function pr(se,Ae,ke){const ze=this,ht={partial:!0,tokenize:bi};let bt=0,Pt=0,nn;return zn;function zn(qr){return Bn(qr)}function Bn(qr){const xi=ze.events[ze.events.length-1];return bt=xi&&xi[1].type==="linePrefix"?xi[2].sliceSerialize(xi[1],!0).length:0,nn=qr,se.enter("codeFenced"),se.enter("codeFencedFence"),se.enter("codeFencedFenceSequence"),yn(qr)}function yn(qr){return qr===nn?(Pt++,se.consume(qr),yn):Pt<3?ke(qr):(se.exit("codeFencedFenceSequence"),(0,Bt.xz)(qr)?(0,dn.f)(se,Zn,"whitespace")(qr):Zn(qr))}function Zn(qr){return qr===null||(0,Bt.Ch)(qr)?(se.exit("codeFencedFence"),ze.interrupt?Ae(qr):se.check(nr,Ka,_i)(qr)):(se.enter("codeFencedFenceInfo"),se.enter("chunkString",{contentType:"string"}),$n(qr))}function $n(qr){return qr===null||(0,Bt.Ch)(qr)?(se.exit("chunkString"),se.exit("codeFencedFenceInfo"),Zn(qr)):(0,Bt.xz)(qr)?(se.exit("chunkString"),se.exit("codeFencedFenceInfo"),(0,dn.f)(se,In,"whitespace")(qr)):qr===96&&qr===nn?ke(qr):(se.consume(qr),$n)}function In(qr){return qr===null||(0,Bt.Ch)(qr)?Zn(qr):(se.enter("codeFencedFenceMeta"),se.enter("chunkString",{contentType:"string"}),Ra(qr))}function Ra(qr){return qr===null||(0,Bt.Ch)(qr)?(se.exit("chunkString"),se.exit("codeFencedFenceMeta"),Zn(qr)):qr===96&&qr===nn?ke(qr):(se.consume(qr),Ra)}function Ka(qr){return se.attempt(ht,_i,pi)(qr)}function pi(qr){return se.enter("lineEnding"),se.consume(qr),se.exit("lineEnding"),ya}function ya(qr){return bt>0&&(0,Bt.xz)(qr)?(0,dn.f)(se,di,"linePrefix",bt+1)(qr):di(qr)}function di(qr){return qr===null||(0,Bt.Ch)(qr)?se.check(nr,Ka,_i)(qr):(se.enter("codeFlowValue"),La(qr))}function La(qr){return qr===null||(0,Bt.Ch)(qr)?(se.exit("codeFlowValue"),di(qr)):(se.consume(qr),La)}function _i(qr){return se.exit("codeFenced"),Ae(qr)}function bi(qr,xi,yi){let Ci=0;return Ii;function Ii(Ne){return qr.enter("lineEnding"),qr.consume(Ne),qr.exit("lineEnding"),To}function To(Ne){return qr.enter("codeFencedFence"),(0,Bt.xz)(Ne)?(0,dn.f)(qr,si,"linePrefix",ze.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ne):si(Ne)}function si(Ne){return Ne===nn?(qr.enter("codeFencedFenceSequence"),x(Ne)):yi(Ne)}function x(Ne){return Ne===nn?(Ci++,qr.consume(Ne),x):Ci>=Pt?(qr.exit("codeFencedFenceSequence"),(0,Bt.xz)(Ne)?(0,dn.f)(qr,ee,"whitespace")(Ne):ee(Ne)):yi(Ne)}function ee(Ne){return Ne===null||(0,Bt.Ch)(Ne)?(qr.exit("codeFencedFence"),xi(Ne)):yi(Ne)}}}function xr(se,Ae,ke){const ze=this;return ht;function ht(Pt){return Pt===null?ke(Pt):(se.enter("lineEnding"),se.consume(Pt),se.exit("lineEnding"),bt)}function bt(Pt){return ze.parser.lazy[ze.now().line]?ke(Pt):Ae(Pt)}}const er=document.createElement("i");function Dr(se){const Ae="&"+se+";";er.innerHTML=Ae;const ke=er.textContent;return ke.charCodeAt(ke.length-1)===59&&se!=="semi"||ke===Ae?!1:ke}const mr={name:"characterReference",tokenize:Xr};function Xr(se,Ae,ke){const ze=this;let ht=0,bt,Pt;return nn;function nn(Zn){return se.enter("characterReference"),se.enter("characterReferenceMarker"),se.consume(Zn),se.exit("characterReferenceMarker"),zn}function zn(Zn){return Zn===35?(se.enter("characterReferenceMarkerNumeric"),se.consume(Zn),se.exit("characterReferenceMarkerNumeric"),Bn):(se.enter("characterReferenceValue"),bt=31,Pt=Bt.H$,yn(Zn))}function Bn(Zn){return Zn===88||Zn===120?(se.enter("characterReferenceMarkerHexadecimal"),se.consume(Zn),se.exit("characterReferenceMarkerHexadecimal"),se.enter("characterReferenceValue"),bt=6,Pt=Bt.AF,yn):(se.enter("characterReferenceValue"),bt=7,Pt=Bt.pY,yn(Zn))}function yn(Zn){if(Zn===59&&ht){const $n=se.exit("characterReferenceValue");return Pt===Bt.H$&&!Dr(ze.sliceSerialize($n))?ke(Zn):(se.enter("characterReferenceMarker"),se.consume(Zn),se.exit("characterReferenceMarker"),se.exit("characterReference"),Ae)}return Pt(Zn)&&ht++1&&se[ke][1].end.offset-se[ke][1].start.offset>1?2:1;const Zn=Xa({},se[ze][1].end),$n=Xa({},se[ke][1].start);Ln(Zn,-zn),Ln($n,zn),Pt={type:zn>1?"strongSequence":"emphasisSequence",start:Zn,end:Xa({},se[ze][1].end)},nn={type:zn>1?"strongSequence":"emphasisSequence",start:Xa({},se[ke][1].start),end:$n},bt={type:zn>1?"strongText":"emphasisText",start:Xa({},se[ze][1].end),end:Xa({},se[ke][1].start)},ht={type:zn>1?"strong":"emphasis",start:Xa({},Pt.start),end:Xa({},nn.end)},se[ze][1].end=Xa({},Pt.start),se[ke][1].start=Xa({},nn.end),Bn=[],se[ze][1].end.offset-se[ze][1].start.offset&&(Bn=(0,Qt.V)(Bn,[["enter",se[ze][1],Ae],["exit",se[ze][1],Ae]])),Bn=(0,Qt.V)(Bn,[["enter",ht,Ae],["enter",Pt,Ae],["exit",Pt,Ae],["enter",bt,Ae]]),Bn=(0,Qt.V)(Bn,(0,Lr.C)(Ae.parser.constructs.insideSpan.null,se.slice(ze+1,ke),Ae)),Bn=(0,Qt.V)(Bn,[["exit",bt,Ae],["enter",nn,Ae],["exit",nn,Ae],["exit",ht,Ae]]),se[ke][1].end.offset-se[ke][1].start.offset?(yn=2,Bn=(0,Qt.V)(Bn,[["enter",se[ke][1],Ae],["exit",se[ke][1],Ae]])):yn=0,(0,Qt.d)(se,ze-1,ke-ze+3,Bn),ke=ze+Bn.length-yn-2;break}}for(ke=-1;++ke-1){const nn=Pt[0];typeof nn=="string"?Pt[0]=nn.slice(ze):Pt.shift()}bt>0&&Pt.push(se[ht].slice(0,bt))}return Pt}function ha(se,Ae){let ke=-1;const ze=[];let ht;for(;++ke13&&ke<32||ke>126&&ke<160||ke>55295&&ke<57344||ke>64975&&ke<65008||(ke&65535)===65535||(ke&65535)===65534||ke>1114111?"\uFFFD":String.fromCodePoint(ke)}const Ia=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wi(se){return se.replace(Ia,Bi)}function Bi(se,Ae,ke){if(Ae)return Ae;if(ke.charCodeAt(0)===35){const ht=ke.charCodeAt(1),bt=ht===120||ht===88;return Ja(ke.slice(bt?2:1),bt?16:10)}return Dr(ke)||se}const Fi={}.hasOwnProperty;function Ti(se,Ae,ke){return Ae&&typeof Ae=="object"&&(ke=Ae,Ae=void 0),so(ke)($t($a(ke).document().write(Fa()(se,Ae,!0))))}function so(se){const Ae={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:bt(El),autolinkProtocol:Ci,autolinkEmail:Ci,atxHeading:bt(zl),blockQuote:bt(Mo),characterEscape:Ci,characterReference:Ci,codeFenced:bt(gs),codeFencedFenceInfo:Pt,codeFencedFenceMeta:Pt,codeIndented:bt(gs,Pt),codeText:bt(Gs,Pt),codeTextData:Ci,data:Ci,codeFlowValue:Ci,definition:bt(bl),definitionDestinationString:Pt,definitionLabelString:Pt,definitionTitleString:Pt,emphasis:bt(pu),hardBreakEscape:bt(Is),hardBreakTrailing:bt(Is),htmlFlow:bt(yl,Pt),htmlFlowData:Ci,htmlText:bt(yl,Pt),htmlTextData:Ci,image:bt(iu),label:Pt,link:bt(El),listItem:bt(Ws),listItemValue:$n,listOrdered:bt(Sl,Zn),listUnordered:bt(Sl),paragraph:bt(Hl),reference:Fn,referenceString:Pt,resourceDestinationString:Pt,resourceTitleString:Pt,setextHeading:bt(zl),strong:bt(Dl),thematicBreak:bt(xl)},exit:{atxHeading:zn(),atxHeadingSequence:bi,autolink:zn(),autolinkEmail:As,autolinkProtocol:uo,blockQuote:zn(),characterEscapeValue:Ii,characterReferenceMarkerHexadecimal:Ro,characterReferenceMarkerNumeric:Ro,characterReferenceValue:vl,characterReference:js,codeFenced:zn(pi),codeFencedFence:Ka,codeFencedFenceInfo:In,codeFencedFenceMeta:Ra,codeFlowValue:Ii,codeIndented:zn(ya),codeText:zn(Ne),codeTextData:Ii,data:Ii,definition:zn(),definitionDestinationString:_i,definitionLabelString:di,definitionTitleString:La,emphasis:zn(),hardBreakEscape:zn(si),hardBreakTrailing:zn(si),htmlFlow:zn(x),htmlFlowData:Ii,htmlText:zn(ee),htmlTextData:Ii,image:zn(Nn),label:Fr,labelText:cr,lineEnding:To,link:zn(Ot),listItem:zn(),listOrdered:zn(),listUnordered:zn(),paragraph:zn(),referenceString:eo,resourceDestinationString:hn,resourceTitleString:Ta,resource:fi,setextHeading:zn(yi),setextHeadingLineSequence:xi,setextHeadingText:qr,strong:zn(),thematicBreak:zn()}};Aa(Ae,(se||{}).mdastExtensions||[]);const ke={};return ze;function ze(Pr){let va={type:"root",children:[]};const ri={stack:[va],tokenStack:[],config:Ae,enter:nn,exit:Bn,buffer:Pt,resume:yn,data:ke},Wa=[];let Ni=-1;for(;++Ni0){const Wo=ri.tokenStack[ri.tokenStack.length-1];(Wo[1]||Pa).call(ri,void 0,Wo[0])}for(va.position={start:Va(Pr.length>0?Pr[0][1].start:{line:1,column:1,offset:0}),end:Va(Pr.length>0?Pr[Pr.length-2][1].end:{line:1,column:1,offset:0})},Ni=-1;++Ni-1&&ze>Pt||ht>-1&&ze>ht||bt>-1&&ze>bt||Ae.test(ke.slice(0,ze))?ke:""}function Pi(se){const Ae=[];let ke=-1,ze=0,ht=0;for(;++ke55295&&bt<57344){const nn=se.charCodeAt(ke+1);bt<56320&&nn>56319&&nn<57344?(Pt=String.fromCharCode(bt,nn),ht=1):Pt="\uFFFD"}else Pt=String.fromCharCode(bt);Pt&&(Ae.push(se.slice(ze,ke),encodeURIComponent(Pt)),ze=ke+ht+1,Pt=""),ht&&(ke+=ht,ht=0)}return Ae.join("")+se.slice(ze)}function Vi(se,Ae){const ke=[{type:"text",value:"\u21A9"}];return Ae>1&&ke.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(Ae)}]}),ke}function Ai(se,Ae){return"Back to reference "+(se+1)+(Ae>1?"-"+Ae:"")}function Ui(se){const Ae=typeof se.options.clobberPrefix=="string"?se.options.clobberPrefix:"user-content-",ke=se.options.footnoteBackContent||Vi,ze=se.options.footnoteBackLabel||Ai,ht=se.options.footnoteLabel||"Footnotes",bt=se.options.footnoteLabelTagName||"h2",Pt=se.options.footnoteLabelProperties||{className:["sr-only"]},nn=[];let zn=-1;for(;++zn0&&Ra.push({type:"text",value:" "});let di=typeof ke=="string"?ke:ke(zn,In);typeof di=="string"&&(di={type:"text",value:di}),Ra.push({type:"element",tagName:"a",properties:{href:"#"+Ae+"fnref-"+$n+(In>1?"-"+In:""),dataFootnoteBackref:"",ariaLabel:typeof ze=="string"?ze:ze(zn,In),className:["data-footnote-backref"]},children:Array.isArray(di)?di:[di]})}const pi=yn[yn.length-1];if(pi&&pi.type==="element"&&pi.tagName==="p"){const di=pi.children[pi.children.length-1];di&&di.type==="text"?di.value+=" ":pi.children.push({type:"text",value:" "}),pi.children.push(...Ra)}else yn.push(...Ra);const ya={type:"element",tagName:"li",properties:{id:Ae+"fn-"+$n},children:se.wrap(yn,!0)};se.patch(Bn,ya),nn.push(ya)}if(nn.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:bt,properties:kl(Xa({},(0,Oa.ZP)(Pt)),{id:"footnote-label"}),children:[{type:"text",value:ht}]},{type:"text",value:` -`},{type:"element",tagName:"ol",properties:{},children:se.wrap(nn,!0)},{type:"text",value:` -`}]}}var ho=y(28470);function Ao(se,Ae){const ke={type:"element",tagName:"blockquote",properties:{},children:se.wrap(se.all(Ae),!0)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function ki(se,Ae){const ke={type:"element",tagName:"br",properties:{},children:[]};return se.patch(Ae,ke),[se.applyData(Ae,ke),{type:"text",value:` -`}]}function ro(se,Ae){const ke=Ae.value?Ae.value+` -`:"",ze={},ht=Ae.lang?Ae.lang.split(/\s+/):[];ht.length>0&&(ze.className=["language-"+ht[0]]);let bt={type:"element",tagName:"code",properties:ze,children:[{type:"text",value:ke}]};return Ae.meta&&(bt.data={meta:Ae.meta}),se.patch(Ae,bt),bt=se.applyData(Ae,bt),bt={type:"element",tagName:"pre",properties:{},children:[bt]},se.patch(Ae,bt),bt}function vi(se,Ae){const ke={type:"element",tagName:"del",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Io(se,Ae){const ke={type:"element",tagName:"em",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function fs(se,Ae){const ke=typeof se.options.clobberPrefix=="string"?se.options.clobberPrefix:"user-content-",ze=String(Ae.identifier).toUpperCase(),ht=Pi(ze.toLowerCase()),bt=se.footnoteOrder.indexOf(ze);let Pt,nn=se.footnoteCounts.get(ze);nn===void 0?(nn=0,se.footnoteOrder.push(ze),Pt=se.footnoteOrder.length):Pt=bt+1,nn+=1,se.footnoteCounts.set(ze,nn);const zn={type:"element",tagName:"a",properties:{href:"#"+ke+"fn-"+ht,id:ke+"fnref-"+ht+(nn>1?"-"+nn:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(Pt)}]};se.patch(Ae,zn);const Bn={type:"element",tagName:"sup",properties:{},children:[zn]};return se.patch(Ae,Bn),se.applyData(Ae,Bn)}function Ys(se,Ae){const ke={type:"element",tagName:"h"+Ae.depth,properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Xs(se,Ae){if(se.options.allowDangerousHtml){const ke={type:"raw",value:Ae.value};return se.patch(Ae,ke),se.applyData(Ae,ke)}}function No(se,Ae){const ke=Ae.referenceType;let ze="]";if(ke==="collapsed"?ze+="[]":ke==="full"&&(ze+="["+(Ae.label||Ae.identifier)+"]"),Ae.type==="imageReference")return[{type:"text",value:"!["+Ae.alt+ze}];const ht=se.all(Ae),bt=ht[0];bt&&bt.type==="text"?bt.value="["+bt.value:ht.unshift({type:"text",value:"["});const Pt=ht[ht.length-1];return Pt&&Pt.type==="text"?Pt.value+=ze:ht.push({type:"text",value:ze}),ht}function Hi(se,Ae){const ke=String(Ae.identifier).toUpperCase(),ze=se.definitionById.get(ke);if(!ze)return No(se,Ae);const ht={src:Pi(ze.url||""),alt:Ae.alt};ze.title!==null&&ze.title!==void 0&&(ht.title=ze.title);const bt={type:"element",tagName:"img",properties:ht,children:[]};return se.patch(Ae,bt),se.applyData(Ae,bt)}function mo(se,Ae){const ke={src:Pi(Ae.url)};Ae.alt!==null&&Ae.alt!==void 0&&(ke.alt=Ae.alt),Ae.title!==null&&Ae.title!==void 0&&(ke.title=Ae.title);const ze={type:"element",tagName:"img",properties:ke,children:[]};return se.patch(Ae,ze),se.applyData(Ae,ze)}function Qs(se,Ae){const ke={type:"text",value:Ae.value.replace(/\r?\n|\r/g," ")};se.patch(Ae,ke);const ze={type:"element",tagName:"code",properties:{},children:[ke]};return se.patch(Ae,ze),se.applyData(Ae,ze)}function qs(se,Ae){const ke=String(Ae.identifier).toUpperCase(),ze=se.definitionById.get(ke);if(!ze)return No(se,Ae);const ht={href:Pi(ze.url||"")};ze.title!==null&&ze.title!==void 0&&(ht.title=ze.title);const bt={type:"element",tagName:"a",properties:ht,children:se.all(Ae)};return se.patch(Ae,bt),se.applyData(Ae,bt)}function bs(se,Ae){const ke={href:Pi(Ae.url)};Ae.title!==null&&Ae.title!==void 0&&(ke.title=Ae.title);const ze={type:"element",tagName:"a",properties:ke,children:se.all(Ae)};return se.patch(Ae,ze),se.applyData(Ae,ze)}function Js(se,Ae,ke){const ze=se.all(Ae),ht=ke?ni(ke):ns(Ae),bt={},Pt=[];if(typeof Ae.checked=="boolean"){const yn=ze[0];let Zn;yn&&yn.type==="element"&&yn.tagName==="p"?Zn=yn:(Zn={type:"element",tagName:"p",properties:{},children:[]},ze.unshift(Zn)),Zn.children.length>0&&Zn.children.unshift({type:"text",value:" "}),Zn.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:Ae.checked,disabled:!0},children:[]}),bt.className=["task-list-item"]}let nn=-1;for(;++nn1:Ae}function rs(se,Ae){const ke={},ze=se.all(Ae);let ht=-1;for(typeof Ae.start=="number"&&Ae.start!==1&&(ke.start=Ae.start);++ht0){const Pt={type:"element",tagName:"tbody",properties:{},children:se.wrap(ke,!0)},nn=(0,He.Pk)(Ae.children[1]),zn=(0,He.rb)(Ae.children[Ae.children.length-1]);nn&&zn&&(Pt.position={start:nn,end:zn}),ht.push(Pt)}const bt={type:"element",tagName:"table",properties:{},children:se.wrap(ht,!0)};return se.patch(Ae,bt),se.applyData(Ae,bt)}function as(se,Ae,ke){const ze=ke?ke.children:void 0,bt=(ze?ze.indexOf(Ae):1)===0?"th":"td",Pt=ke&&ke.type==="table"?ke.align:void 0,nn=Pt?Pt.length:Ae.children.length;let zn=-1;const Bn=[];for(;++zn0,!0),ze[0]),ht=ze.index+ze[0].length,ze=ke.exec(Ae);return bt.push(Ya(Ae.slice(ht),ht>0,!1)),bt.join("")}function Ya(se,Ae,ke){let ze=0,ht=se.length;if(Ae){let bt=se.codePointAt(ze);for(;bt===jo||bt===Qi;)ze++,bt=se.codePointAt(ze)}if(ke){let bt=se.codePointAt(ht-1);for(;bt===jo||bt===Qi;)ht--,bt=se.codePointAt(ht-1)}return ht>ze?se.slice(ze,ht):""}function qi(se,Ae){const ke={type:"text",value:ci(String(Ae.value))};return se.patch(Ae,ke),se.applyData(Ae,ke)}function ao(se,Ae){const ke={type:"element",tagName:"hr",properties:{},children:[]};return se.patch(Ae,ke),se.applyData(Ae,ke)}const Gi={blockquote:Ao,break:ki,code:ro,delete:vi,emphasis:Io,footnoteReference:fs,heading:Ys,html:Xs,imageReference:Hi,image:mo,inlineCode:Qs,linkReference:qs,link:bs,listItem:Js,list:rs,paragraph:$o,root:ys,strong:Ds,table:ko,tableCell:Ls,tableRow:as,text:qi,thematicBreak:ao,toml:zi,yaml:zi,definition:zi,footnoteDefinition:zi};function zi(){}const yo={}.hasOwnProperty,Eo={};function go(se,Ae){const ke=Ae||Eo,ze=new Map,ht=new Map,bt=new Map,Pt=Xa(Xa({},Gi),ke.handlers),nn={all:Bn,applyData:Ki,definitionById:ze,footnoteById:ht,footnoteCounts:bt,footnoteOrder:[],handlers:Pt,one:zn,options:ke,patch:Ji,wrap:Do};return(0,ho.Vn)(se,function(yn){if(yn.type==="definition"||yn.type==="footnoteDefinition"){const Zn=yn.type==="definition"?ze:ht,$n=String(yn.identifier).toUpperCase();Zn.has($n)||Zn.set($n,yn)}}),nn;function zn(yn,Zn){const $n=yn.type,In=nn.handlers[$n];if(yo.call(nn.handlers,$n)&&In)return In(nn,yn,Zn);if(nn.options.passThrough&&nn.options.passThrough.includes($n)){if("children"in yn){const Ka=yn,{children:pi}=Ka,ya=qc(Ka,["children"]),di=(0,Oa.ZP)(ya);return di.children=nn.all(yn),di}return(0,Oa.ZP)(yn)}return(nn.options.unknownHandler||lo)(nn,yn,Zn)}function Bn(yn){const Zn=[];if("children"in yn){const $n=yn.children;let In=-1;for(;++In<$n.length;){const Ra=nn.one($n[In],yn);if(Ra){if(In&&$n[In-1].type==="break"&&(!Array.isArray(Ra)&&Ra.type==="text"&&(Ra.value=Ko(Ra.value)),!Array.isArray(Ra)&&Ra.type==="element")){const Ka=Ra.children[0];Ka&&Ka.type==="text"&&(Ka.value=Ko(Ka.value))}Array.isArray(Ra)?Zn.push(...Ra):Zn.push(Ra)}}}return Zn}}function Ji(se,Ae){se.position&&(Ae.position=(0,He.FK)(se))}function Ki(se,Ae){let ke=Ae;if(se&&se.data){const ze=se.data.hName,ht=se.data.hChildren,bt=se.data.hProperties;if(typeof ze=="string")if(ke.type==="element")ke.tagName=ze;else{const Pt="children"in ke?ke.children:[ke];ke={type:"element",tagName:ze,properties:{},children:Pt}}ke.type==="element"&&bt&&Object.assign(ke.properties,(0,Oa.ZP)(bt)),"children"in ke&&ke.children&&ht!==null&&ht!==void 0&&(ke.children=ht)}return ke}function lo(se,Ae){const ke=Ae.data||{},ze="value"in Ae&&!(yo.call(ke,"hProperties")||yo.call(ke,"hChildren"))?{type:"text",value:Ae.value}:{type:"element",tagName:"div",properties:{},children:se.all(Ae)};return se.patch(Ae,ze),se.applyData(Ae,ze)}function Do(se,Ae){const ke=[];let ze=-1;for(Ae&&ke.push({type:"text",value:` -`});++ze0&&ke.push({type:"text",value:` -`}),ke}function Ko(se){let Ae=0,ke=se.charCodeAt(Ae);for(;ke===9||ke===32;)Ae++,ke=se.charCodeAt(Ae);return se.slice(Ae)}function el(se,Ae){const ke=go(se,Ae),ze=ke.one(se,void 0),ht=Ui(ke),bt=Array.isArray(ze)?{type:"root",children:ze}:ze||{type:"root",children:[]};return ht&&((0,he.ok)("children"in bt),bt.children.push({type:"text",value:` -`},ht)),bt}function fl(se,Ae){return se&&"run"in se?function(ke,ze){return Pc(this,null,function*(){const ht=el(ke,Xa({file:ze},Ae));yield se.run(ht,ze)})}:function(ke,ze){return el(ke,Xa({file:ze},se||Ae))}}function Yo(se){if(se)throw se}var Co=y(58847);function Yi(se){if(typeof se!="object"||se===null)return!1;const Ae=Object.getPrototypeOf(se);return(Ae===null||Ae===Object.prototype||Object.getPrototypeOf(Ae)===null)&&!(Symbol.toStringTag in se)&&!(Symbol.iterator in se)}function wo(){const se=[],Ae={run:ke,use:ze};return Ae;function ke(...ht){let bt=-1;const Pt=ht.pop();if(typeof Pt!="function")throw new TypeError("Expected function as last argument, not "+Pt);nn(null,...ht);function nn(zn,...Bn){const yn=se[++bt];let Zn=-1;if(zn){Pt(zn);return}for(;++ZnPt.length;let zn;nn&&Pt.push(ht);try{zn=se.apply(this,Pt)}catch(Bn){const yn=Bn;if(nn&&ke)throw yn;return ht(yn)}nn||(zn&&zn.then&&typeof zn.then=="function"?zn.then(bt,ht):zn instanceof Error?ht(zn):bt(zn))}function ht(Pt,...nn){ke||(ke=!0,Ae(Pt,...nn))}function bt(Pt){ht(null,Pt)}}const vo={basename:tl,dirname:nl,extname:ps,join:rl,sep:"/"};function tl(se,Ae){if(Ae!==void 0&&typeof Ae!="string")throw new TypeError('"ext" argument must be a string');Es(se);let ke=0,ze=-1,ht=se.length,bt;if(Ae===void 0||Ae.length===0||Ae.length>se.length){for(;ht--;)if(se.codePointAt(ht)===47){if(bt){ke=ht+1;break}}else ze<0&&(bt=!0,ze=ht+1);return ze<0?"":se.slice(ke,ze)}if(Ae===se)return"";let Pt=-1,nn=Ae.length-1;for(;ht--;)if(se.codePointAt(ht)===47){if(bt){ke=ht+1;break}}else Pt<0&&(bt=!0,Pt=ht+1),nn>-1&&(se.codePointAt(ht)===Ae.codePointAt(nn--)?nn<0&&(ze=ht):(nn=-1,ze=Pt));return ke===ze?ze=Pt:ze<0&&(ze=se.length),se.slice(ke,ze)}function nl(se){if(Es(se),se.length===0)return".";let Ae=-1,ke=se.length,ze;for(;--ke;)if(se.codePointAt(ke)===47){if(ze){Ae=ke;break}}else ze||(ze=!0);return Ae<0?se.codePointAt(0)===47?"/":".":Ae===1&&se.codePointAt(0)===47?"//":se.slice(0,Ae)}function ps(se){Es(se);let Ae=se.length,ke=-1,ze=0,ht=-1,bt=0,Pt;for(;Ae--;){const nn=se.codePointAt(Ae);if(nn===47){if(Pt){ze=Ae+1;break}continue}ke<0&&(Pt=!0,ke=Ae+1),nn===46?ht<0?ht=Ae:bt!==1&&(bt=1):ht>-1&&(bt=-1)}return ht<0||ke<0||bt===0||bt===1&&ht===ke-1&&ht===ze+1?"":se.slice(ht,ke)}function rl(...se){let Ae=-1,ke;for(;++Ae0&&se.codePointAt(se.length-1)===47&&(ke+="/"),Ae?"/"+ke:ke}function Ps(se,Ae){let ke="",ze=0,ht=-1,bt=0,Pt=-1,nn,zn;for(;++Pt<=se.length;){if(Pt2){if(zn=ke.lastIndexOf("/"),zn!==ke.length-1){zn<0?(ke="",ze=0):(ke=ke.slice(0,zn),ze=ke.length-1-ke.lastIndexOf("/")),ht=Pt,bt=0;continue}}else if(ke.length>0){ke="",ze=0,ht=Pt,bt=0;continue}}Ae&&(ke=ke.length>0?ke+"/..":"..",ze=2)}else ke.length>0?ke+="/"+se.slice(ht+1,Pt):ke=se.slice(ht+1,Pt),ze=Pt-ht-1;ht=Pt,bt=0}else nn===46&&bt>-1?bt++:bt=-1}return ke}function Es(se){if(typeof se!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(se))}const pl={cwd:hl};function hl(){return"/"}function is(se){return!!(se!==null&&typeof se=="object"&&"href"in se&&se.href&&"protocol"in se&&se.protocol&&se.auth===void 0)}function Bs(se){if(typeof se=="string")se=new URL(se);else if(!is(se)){const Ae=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+se+"`");throw Ae.code="ERR_INVALID_ARG_TYPE",Ae}if(se.protocol!=="file:"){const Ae=new TypeError("The URL must be of scheme file");throw Ae.code="ERR_INVALID_URL_SCHEME",Ae}return Ss(se)}function Ss(se){if(se.hostname!==""){const ze=new TypeError('File URL host must be "localhost" or empty on darwin');throw ze.code="ERR_INVALID_FILE_URL_HOST",ze}const Ae=se.pathname;let ke=-1;for(;++ke0){let[In,...Ra]=yn;const Ka=ze[$n][1];Yi(Ka)&&Yi(In)&&(In=Co(!0,Ka,In)),ze[$n]=[Bn,In,...Ra]}}}}const ws=new Lo().freeze();function Fs(se,Ae){if(typeof Ae!="function")throw new TypeError("Cannot `"+se+"` without `parser`")}function Xo(se,Ae){if(typeof Ae!="function")throw new TypeError("Cannot `"+se+"` without `compiler`")}function _s(se,Ae){if(Ae)throw new Error("Cannot call `"+se+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function bo(se){if(!Yi(se)||typeof se.type!="string")throw new TypeError("Expected node, got `"+se+"`")}function Us(se,Ae,ke){if(!ke)throw new Error("`"+se+"` finished async. Use `"+Ae+"` instead")}function jt(se){return Ts(se)?se:new ms(se)}function Ts(se){return!!(se&&typeof se=="object"&&"message"in se&&"messages"in se)}function Qo(se){return typeof se=="string"||sl(se)}function sl(se){return!!(se&&typeof se=="object"&&"byteLength"in se&&"byteOffset"in se)}const qo="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Jo=[],ll={allowDangerousHtml:!0},Go=/^(https?|ircs?|mailto|xmpp)$/i,_l=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function io(se){const Ae=gl(se),ke=zs(se);return Hs(Ae.runSync(Ae.parse(ke),ke),se)}function os(se){return Pc(this,null,function*(){const Ae=gl(se),ke=zs(se),ze=yield Ae.run(Ae.parse(ke),ke);return Hs(ze,se)})}function au(se){const Ae=gl(se),[ke,ze]=useState(void 0),[ht,bt]=useState(void 0);if(useEffect(function(){const Pt=zs(se);Ae.run(Ae.parse(Pt),Pt,function(nn,zn){ze(nn),bt(zn)})},[se.children,se.rehypePlugins,se.remarkPlugins,se.remarkRehypeOptions]),ke)throw ke;return ht?Hs(ht,se):createElement(Fragment)}function gl(se){const Ae=se.rehypePlugins||Jo,ke=se.remarkPlugins||Jo,ze=se.remarkRehypeOptions?Xa(Xa({},se.remarkRehypeOptions),ll):ll;return ws().use(gr).use(ke).use(fl,ze).use(Ae)}function zs(se){const Ae=se.children||"",ke=new ms;return typeof Ae=="string"?ke.value=Ae:(0,he.t1)("Unexpected value `"+Ae+"` for `children` prop, expected `string`"),ke}function Hs(se,Ae){const ke=Ae.allowedElements,ze=Ae.allowElement,ht=Ae.components,bt=Ae.disallowedElements,Pt=Ae.skipHtml,nn=Ae.unwrapDisallowed,zn=Ae.urlTransform||Ul;for(const yn of _l)Object.hasOwn(Ae,yn.from)&&(0,he.t1)("Unexpected `"+yn.from+"` prop, "+(yn.to?"use `"+yn.to+"` instead":"remove it")+" (see <"+qo+"#"+yn.id+"> for more info)");return ke&&bt&&(0,he.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),Ae.className&&(se={type:"element",tagName:"div",properties:{className:Ae.className},children:se.type==="root"?se.children:[se]}),(0,ho.Vn)(se,Bn),Rt(se,{Fragment:ge.Fragment,components:ht,ignoreInvalidStyle:!0,jsx:ge.jsx,jsxs:ge.jsxs,passKeys:!0,passNode:!0});function Bn(yn,Zn,$n){if(yn.type==="raw"&&$n&&typeof Zn=="number")return Pt?$n.children.splice(Zn,1):$n.children[Zn]={type:"text",value:yn.value},Zn;if(yn.type==="element"){let In;for(In in Ue)if(Object.hasOwn(Ue,In)&&Object.hasOwn(yn.properties,In)){const Ra=yn.properties[In],Ka=Ue[In];(Ka===null||Ka.includes(yn.tagName))&&(yn.properties[In]=zn(String(Ra||""),In,yn))}}if(yn.type==="element"){let In=ke?!ke.includes(yn.tagName):bt?bt.includes(yn.tagName):!1;if(!In&&ze&&typeof Zn=="number"&&(In=!ze(yn,Zn,$n)),In&&$n&&typeof Zn=="number")return nn&&yn.children?$n.children.splice(Zn,1,...yn.children):$n.children.splice(Zn,1),Zn}}}function Ul(se){const Ae=se.indexOf(":"),ke=se.indexOf("?"),ze=se.indexOf("#"),ht=se.indexOf("/");return Ae===-1||ht!==-1&&Ae>ht||ke!==-1&&Ae>ke||ze!==-1&&Ae>ze||Go.test(se.slice(0,Ae))?se:""}},84821:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return si}});var b=y(90302),he=y(87342),le=y(81994),pe=y(14470),be=y(86825);function fe(x){const ee=String(x),Ne=[];return{toOffset:Nn,toPoint:Ot};function Ot(cr){if(typeof cr=="number"&&cr>-1&&cr<=ee.length){let Fr=0;for(;;){let hn=Ne[Fr];if(hn===void 0){const Ta=we(ee,Ne[Fr-1]);hn=Ta===-1?ee.length+1:Ta+1,Ne[Fr]=hn}if(hn>cr)return{line:Fr+1,column:cr-(Fr>0?Ne[Fr-1]:0)+1,offset:cr};Fr++}}}function Nn(cr){if(cr&&typeof cr.line=="number"&&typeof cr.column=="number"&&!Number.isNaN(cr.line)&&!Number.isNaN(cr.column)){for(;Ne.length1?Ne[cr.line-2]:0)+cr.column-1;if(Fr=55296&&x<=57343}function it(x){return x>=56320&&x<=57343}function Ht(x,ee){return(x-55296)*1024+9216+ee}function Yt(x){return x!==32&&x!==10&&x!==13&&x!==9&&x!==12&&x>=1&&x<=31||x>=127&&x<=159}function Rn(x){return x>=64976&&x<=65007||wt.has(x)}var ct;(function(x){x.controlCharacterInInputStream="control-character-in-input-stream",x.noncharacterInInputStream="noncharacter-in-input-stream",x.surrogateInInputStream="surrogate-in-input-stream",x.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",x.endTagWithAttributes="end-tag-with-attributes",x.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",x.unexpectedSolidusInTag="unexpected-solidus-in-tag",x.unexpectedNullCharacter="unexpected-null-character",x.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",x.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",x.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",x.missingEndTagName="missing-end-tag-name",x.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",x.unknownNamedCharacterReference="unknown-named-character-reference",x.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",x.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",x.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",x.eofBeforeTagName="eof-before-tag-name",x.eofInTag="eof-in-tag",x.missingAttributeValue="missing-attribute-value",x.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",x.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",x.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",x.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",x.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",x.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",x.missingDoctypePublicIdentifier="missing-doctype-public-identifier",x.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",x.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",x.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",x.cdataInHtmlContent="cdata-in-html-content",x.incorrectlyOpenedComment="incorrectly-opened-comment",x.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",x.eofInDoctype="eof-in-doctype",x.nestedComment="nested-comment",x.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",x.eofInComment="eof-in-comment",x.incorrectlyClosedComment="incorrectly-closed-comment",x.eofInCdata="eof-in-cdata",x.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",x.nullCharacterReference="null-character-reference",x.surrogateCharacterReference="surrogate-character-reference",x.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",x.controlCharacterReference="control-character-reference",x.noncharacterCharacterReference="noncharacter-character-reference",x.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",x.missingDoctypeName="missing-doctype-name",x.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",x.duplicateAttribute="duplicate-attribute",x.nonConformingDoctype="non-conforming-doctype",x.missingDoctype="missing-doctype",x.misplacedDoctype="misplaced-doctype",x.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",x.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",x.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",x.openElementsLeftAfterEof="open-elements-left-after-eof",x.abandonedHeadElementChild="abandoned-head-element-child",x.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",x.nestedNoscriptInHead="nested-noscript-in-head",x.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ct||(ct={}));const Sn=65536;class Zt{constructor(ee){this.handler=ee,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Sn,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(ee,Ne){const{line:Ot,col:Nn,offset:cr}=this,Fr=Nn+Ne,hn=cr+Ne;return{code:ee,startLine:Ot,endLine:Ot,startCol:Fr,endCol:Fr,startOffset:hn,endOffset:hn}}_err(ee){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(ee,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(ee){if(this.pos!==this.html.length-1){const Ne=this.html.charCodeAt(this.pos+1);if(it(Ne))return this.pos++,this._addGap(),Ht(ee,Ne)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Ee.EOF;return this._err(ct.surrogateInInputStream),ee}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(ee,Ne){this.html.length>0?this.html+=ee:this.html=ee,this.endOfChunkHit=!1,this.lastChunkWritten=Ne}insertHtmlAtCurrentPos(ee){this.html=this.html.substring(0,this.pos+1)+ee+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(ee,Ne){if(this.pos+ee.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(Ne)return this.html.startsWith(ee,this.pos);for(let Ot=0;Ot=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ee.EOF;const Ot=this.html.charCodeAt(Ne);return Ot===Ee.CARRIAGE_RETURN?Ee.LINE_FEED:Ot}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Ee.EOF;let ee=this.html.charCodeAt(this.pos);return ee===Ee.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Ee.LINE_FEED):ee===Ee.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,on(ee)&&(ee=this._processSurrogate(ee)),this.handler.onParseError===null||ee>31&&ee<127||ee===Ee.LINE_FEED||ee===Ee.CARRIAGE_RETURN||ee>159&&ee<64976||this._checkForProblematicCharacters(ee),ee)}_checkForProblematicCharacters(ee){Yt(ee)?this._err(ct.controlCharacterInInputStream):Rn(ee)&&this._err(ct.noncharacterInInputStream)}retreat(ee){for(this.pos-=ee;this.pos=0;Ne--)if(x.attrs[Ne].name===ee)return x.attrs[Ne].value;return null}const De=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(x=>x.charCodeAt(0))),me=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(x=>x.charCodeAt(0)));var ce;const Te=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]]),Ue=(ce=String.fromCodePoint)!==null&&ce!==void 0?ce:function(x){let ee="";return x>65535&&(x-=65536,ee+=String.fromCharCode(x>>>10&1023|55296),x=56320|x&1023),ee+=String.fromCharCode(x),ee};function ge(x){var ee;return x>=55296&&x<=57343||x>1114111?65533:(ee=Te.get(x))!==null&&ee!==void 0?ee:x}function Me(x){return Ue(ge(x))}var ot;(function(x){x[x.NUM=35]="NUM",x[x.SEMI=59]="SEMI",x[x.EQUALS=61]="EQUALS",x[x.ZERO=48]="ZERO",x[x.NINE=57]="NINE",x[x.LOWER_A=97]="LOWER_A",x[x.LOWER_F=102]="LOWER_F",x[x.LOWER_X=120]="LOWER_X",x[x.LOWER_Z=122]="LOWER_Z",x[x.UPPER_A=65]="UPPER_A",x[x.UPPER_F=70]="UPPER_F",x[x.UPPER_Z=90]="UPPER_Z"})(ot||(ot={}));const Qt=32;var At;(function(x){x[x.VALUE_LENGTH=49152]="VALUE_LENGTH",x[x.BRANCH_LENGTH=16256]="BRANCH_LENGTH",x[x.JUMP_TABLE=127]="JUMP_TABLE"})(At||(At={}));function vt(x){return x>=ot.ZERO&&x<=ot.NINE}function Ct(x){return x>=ot.UPPER_A&&x<=ot.UPPER_F||x>=ot.LOWER_A&&x<=ot.LOWER_F}function Ut(x){return x>=ot.UPPER_A&&x<=ot.UPPER_Z||x>=ot.LOWER_A&&x<=ot.LOWER_Z||vt(x)}function $t(x){return x===ot.EQUALS||Ut(x)}var fn;(function(x){x[x.EntityStart=0]="EntityStart",x[x.NumericStart=1]="NumericStart",x[x.NumericDecimal=2]="NumericDecimal",x[x.NumericHex=3]="NumericHex",x[x.NamedEntity=4]="NamedEntity"})(fn||(fn={}));var dn;(function(x){x[x.Legacy=0]="Legacy",x[x.Strict=1]="Strict",x[x.Attribute=2]="Attribute"})(dn||(dn={}));class Bt{constructor(ee,Ne,Ot){this.decodeTree=ee,this.emitCodePoint=Ne,this.errors=Ot,this.state=fn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=dn.Strict}startEntity(ee){this.decodeMode=ee,this.state=fn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(ee,Ne){switch(this.state){case fn.EntityStart:return ee.charCodeAt(Ne)===ot.NUM?(this.state=fn.NumericStart,this.consumed+=1,this.stateNumericStart(ee,Ne+1)):(this.state=fn.NamedEntity,this.stateNamedEntity(ee,Ne));case fn.NumericStart:return this.stateNumericStart(ee,Ne);case fn.NumericDecimal:return this.stateNumericDecimal(ee,Ne);case fn.NumericHex:return this.stateNumericHex(ee,Ne);case fn.NamedEntity:return this.stateNamedEntity(ee,Ne)}}stateNumericStart(ee,Ne){return Ne>=ee.length?-1:(ee.charCodeAt(Ne)|Qt)===ot.LOWER_X?(this.state=fn.NumericHex,this.consumed+=1,this.stateNumericHex(ee,Ne+1)):(this.state=fn.NumericDecimal,this.stateNumericDecimal(ee,Ne))}addToNumericResult(ee,Ne,Ot,Nn){if(Ne!==Ot){const cr=Ot-Ne;this.result=this.result*Math.pow(Nn,cr)+Number.parseInt(ee.substr(Ne,cr),Nn),this.consumed+=cr}}stateNumericHex(ee,Ne){const Ot=Ne;for(;Ne>14;for(;Ne>14,cr!==0){if(Fr===ot.SEMI)return this.emitNamedEntityData(this.treeIndex,cr,this.consumed+this.excess);this.decodeMode!==dn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var ee;const{result:Ne,decodeTree:Ot}=this,Nn=(Ot[Ne]&At.VALUE_LENGTH)>>14;return this.emitNamedEntityData(Ne,Nn,this.consumed),(ee=this.errors)===null||ee===void 0||ee.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(ee,Ne,Ot){const{decodeTree:Nn}=this;return this.emitCodePoint(Ne===1?Nn[ee]&~At.VALUE_LENGTH:Nn[ee+1],Ot),Ne===3&&this.emitCodePoint(Nn[ee+2],Ot),Ot}end(){var ee;switch(this.state){case fn.NamedEntity:return this.result!==0&&(this.decodeMode!==dn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case fn.NumericDecimal:return this.emitNumericEntity(0,2);case fn.NumericHex:return this.emitNumericEntity(0,3);case fn.NumericStart:return(ee=this.errors)===null||ee===void 0||ee.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case fn.EntityStart:return 0}}}function Mn(x){let ee="";const Ne=new Bt(x,Ot=>ee+=fromCodePoint(Ot));return function(Nn,cr){let Fr=0,hn=0;for(;(hn=Nn.indexOf("&",hn))>=0;){ee+=Nn.slice(Fr,hn),Ne.startEntity(cr);const fi=Ne.write(Nn,hn+1);if(fi<0){Fr=hn+Ne.end();break}Fr=hn+fi,hn=fi===0?Fr+1:Fr}const Ta=ee+Nn.slice(Fr);return ee="",Ta}}function Dn(x,ee,Ne,Ot){const Nn=(ee&At.BRANCH_LENGTH)>>7,cr=ee&At.JUMP_TABLE;if(Nn===0)return cr!==0&&Ot===cr?Ne:-1;if(cr){const Ta=Ot-cr;return Ta<0||Ta>=Nn?-1:x[Ne+Ta]-1}let Fr=Ne,hn=Fr+Nn-1;for(;Fr<=hn;){const Ta=Fr+hn>>>1,fi=x[Ta];if(fiOt)hn=Ta-1;else return x[Ta+Nn]}return-1}const Cn=null,sn=null;function An(x,ee=dn.Legacy){return Cn(x,ee)}function xn(x){return Cn(x,dn.Attribute)}function Lt(x){return Cn(x,dn.Strict)}function qt(x){return sn(x,dn.Strict)}var zt;(function(x){x.HTML="http://www.w3.org/1999/xhtml",x.MATHML="http://www.w3.org/1998/Math/MathML",x.SVG="http://www.w3.org/2000/svg",x.XLINK="http://www.w3.org/1999/xlink",x.XML="http://www.w3.org/XML/1998/namespace",x.XMLNS="http://www.w3.org/2000/xmlns/"})(zt||(zt={}));var bn;(function(x){x.TYPE="type",x.ACTION="action",x.ENCODING="encoding",x.PROMPT="prompt",x.NAME="name",x.COLOR="color",x.FACE="face",x.SIZE="size"})(bn||(bn={}));var Et;(function(x){x.NO_QUIRKS="no-quirks",x.QUIRKS="quirks",x.LIMITED_QUIRKS="limited-quirks"})(Et||(Et={}));var ft;(function(x){x.A="a",x.ADDRESS="address",x.ANNOTATION_XML="annotation-xml",x.APPLET="applet",x.AREA="area",x.ARTICLE="article",x.ASIDE="aside",x.B="b",x.BASE="base",x.BASEFONT="basefont",x.BGSOUND="bgsound",x.BIG="big",x.BLOCKQUOTE="blockquote",x.BODY="body",x.BR="br",x.BUTTON="button",x.CAPTION="caption",x.CENTER="center",x.CODE="code",x.COL="col",x.COLGROUP="colgroup",x.DD="dd",x.DESC="desc",x.DETAILS="details",x.DIALOG="dialog",x.DIR="dir",x.DIV="div",x.DL="dl",x.DT="dt",x.EM="em",x.EMBED="embed",x.FIELDSET="fieldset",x.FIGCAPTION="figcaption",x.FIGURE="figure",x.FONT="font",x.FOOTER="footer",x.FOREIGN_OBJECT="foreignObject",x.FORM="form",x.FRAME="frame",x.FRAMESET="frameset",x.H1="h1",x.H2="h2",x.H3="h3",x.H4="h4",x.H5="h5",x.H6="h6",x.HEAD="head",x.HEADER="header",x.HGROUP="hgroup",x.HR="hr",x.HTML="html",x.I="i",x.IMG="img",x.IMAGE="image",x.INPUT="input",x.IFRAME="iframe",x.KEYGEN="keygen",x.LABEL="label",x.LI="li",x.LINK="link",x.LISTING="listing",x.MAIN="main",x.MALIGNMARK="malignmark",x.MARQUEE="marquee",x.MATH="math",x.MENU="menu",x.META="meta",x.MGLYPH="mglyph",x.MI="mi",x.MO="mo",x.MN="mn",x.MS="ms",x.MTEXT="mtext",x.NAV="nav",x.NOBR="nobr",x.NOFRAMES="noframes",x.NOEMBED="noembed",x.NOSCRIPT="noscript",x.OBJECT="object",x.OL="ol",x.OPTGROUP="optgroup",x.OPTION="option",x.P="p",x.PARAM="param",x.PLAINTEXT="plaintext",x.PRE="pre",x.RB="rb",x.RP="rp",x.RT="rt",x.RTC="rtc",x.RUBY="ruby",x.S="s",x.SCRIPT="script",x.SEARCH="search",x.SECTION="section",x.SELECT="select",x.SOURCE="source",x.SMALL="small",x.SPAN="span",x.STRIKE="strike",x.STRONG="strong",x.STYLE="style",x.SUB="sub",x.SUMMARY="summary",x.SUP="sup",x.TABLE="table",x.TBODY="tbody",x.TEMPLATE="template",x.TEXTAREA="textarea",x.TFOOT="tfoot",x.TD="td",x.TH="th",x.THEAD="thead",x.TITLE="title",x.TR="tr",x.TRACK="track",x.TT="tt",x.U="u",x.UL="ul",x.SVG="svg",x.VAR="var",x.WBR="wbr",x.XMP="xmp"})(ft||(ft={}));var de;(function(x){x[x.UNKNOWN=0]="UNKNOWN",x[x.A=1]="A",x[x.ADDRESS=2]="ADDRESS",x[x.ANNOTATION_XML=3]="ANNOTATION_XML",x[x.APPLET=4]="APPLET",x[x.AREA=5]="AREA",x[x.ARTICLE=6]="ARTICLE",x[x.ASIDE=7]="ASIDE",x[x.B=8]="B",x[x.BASE=9]="BASE",x[x.BASEFONT=10]="BASEFONT",x[x.BGSOUND=11]="BGSOUND",x[x.BIG=12]="BIG",x[x.BLOCKQUOTE=13]="BLOCKQUOTE",x[x.BODY=14]="BODY",x[x.BR=15]="BR",x[x.BUTTON=16]="BUTTON",x[x.CAPTION=17]="CAPTION",x[x.CENTER=18]="CENTER",x[x.CODE=19]="CODE",x[x.COL=20]="COL",x[x.COLGROUP=21]="COLGROUP",x[x.DD=22]="DD",x[x.DESC=23]="DESC",x[x.DETAILS=24]="DETAILS",x[x.DIALOG=25]="DIALOG",x[x.DIR=26]="DIR",x[x.DIV=27]="DIV",x[x.DL=28]="DL",x[x.DT=29]="DT",x[x.EM=30]="EM",x[x.EMBED=31]="EMBED",x[x.FIELDSET=32]="FIELDSET",x[x.FIGCAPTION=33]="FIGCAPTION",x[x.FIGURE=34]="FIGURE",x[x.FONT=35]="FONT",x[x.FOOTER=36]="FOOTER",x[x.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",x[x.FORM=38]="FORM",x[x.FRAME=39]="FRAME",x[x.FRAMESET=40]="FRAMESET",x[x.H1=41]="H1",x[x.H2=42]="H2",x[x.H3=43]="H3",x[x.H4=44]="H4",x[x.H5=45]="H5",x[x.H6=46]="H6",x[x.HEAD=47]="HEAD",x[x.HEADER=48]="HEADER",x[x.HGROUP=49]="HGROUP",x[x.HR=50]="HR",x[x.HTML=51]="HTML",x[x.I=52]="I",x[x.IMG=53]="IMG",x[x.IMAGE=54]="IMAGE",x[x.INPUT=55]="INPUT",x[x.IFRAME=56]="IFRAME",x[x.KEYGEN=57]="KEYGEN",x[x.LABEL=58]="LABEL",x[x.LI=59]="LI",x[x.LINK=60]="LINK",x[x.LISTING=61]="LISTING",x[x.MAIN=62]="MAIN",x[x.MALIGNMARK=63]="MALIGNMARK",x[x.MARQUEE=64]="MARQUEE",x[x.MATH=65]="MATH",x[x.MENU=66]="MENU",x[x.META=67]="META",x[x.MGLYPH=68]="MGLYPH",x[x.MI=69]="MI",x[x.MO=70]="MO",x[x.MN=71]="MN",x[x.MS=72]="MS",x[x.MTEXT=73]="MTEXT",x[x.NAV=74]="NAV",x[x.NOBR=75]="NOBR",x[x.NOFRAMES=76]="NOFRAMES",x[x.NOEMBED=77]="NOEMBED",x[x.NOSCRIPT=78]="NOSCRIPT",x[x.OBJECT=79]="OBJECT",x[x.OL=80]="OL",x[x.OPTGROUP=81]="OPTGROUP",x[x.OPTION=82]="OPTION",x[x.P=83]="P",x[x.PARAM=84]="PARAM",x[x.PLAINTEXT=85]="PLAINTEXT",x[x.PRE=86]="PRE",x[x.RB=87]="RB",x[x.RP=88]="RP",x[x.RT=89]="RT",x[x.RTC=90]="RTC",x[x.RUBY=91]="RUBY",x[x.S=92]="S",x[x.SCRIPT=93]="SCRIPT",x[x.SEARCH=94]="SEARCH",x[x.SECTION=95]="SECTION",x[x.SELECT=96]="SELECT",x[x.SOURCE=97]="SOURCE",x[x.SMALL=98]="SMALL",x[x.SPAN=99]="SPAN",x[x.STRIKE=100]="STRIKE",x[x.STRONG=101]="STRONG",x[x.STYLE=102]="STYLE",x[x.SUB=103]="SUB",x[x.SUMMARY=104]="SUMMARY",x[x.SUP=105]="SUP",x[x.TABLE=106]="TABLE",x[x.TBODY=107]="TBODY",x[x.TEMPLATE=108]="TEMPLATE",x[x.TEXTAREA=109]="TEXTAREA",x[x.TFOOT=110]="TFOOT",x[x.TD=111]="TD",x[x.TH=112]="TH",x[x.THEAD=113]="THEAD",x[x.TITLE=114]="TITLE",x[x.TR=115]="TR",x[x.TRACK=116]="TRACK",x[x.TT=117]="TT",x[x.U=118]="U",x[x.UL=119]="UL",x[x.SVG=120]="SVG",x[x.VAR=121]="VAR",x[x.WBR=122]="WBR",x[x.XMP=123]="XMP"})(de||(de={}));const wn=new Map([[ft.A,de.A],[ft.ADDRESS,de.ADDRESS],[ft.ANNOTATION_XML,de.ANNOTATION_XML],[ft.APPLET,de.APPLET],[ft.AREA,de.AREA],[ft.ARTICLE,de.ARTICLE],[ft.ASIDE,de.ASIDE],[ft.B,de.B],[ft.BASE,de.BASE],[ft.BASEFONT,de.BASEFONT],[ft.BGSOUND,de.BGSOUND],[ft.BIG,de.BIG],[ft.BLOCKQUOTE,de.BLOCKQUOTE],[ft.BODY,de.BODY],[ft.BR,de.BR],[ft.BUTTON,de.BUTTON],[ft.CAPTION,de.CAPTION],[ft.CENTER,de.CENTER],[ft.CODE,de.CODE],[ft.COL,de.COL],[ft.COLGROUP,de.COLGROUP],[ft.DD,de.DD],[ft.DESC,de.DESC],[ft.DETAILS,de.DETAILS],[ft.DIALOG,de.DIALOG],[ft.DIR,de.DIR],[ft.DIV,de.DIV],[ft.DL,de.DL],[ft.DT,de.DT],[ft.EM,de.EM],[ft.EMBED,de.EMBED],[ft.FIELDSET,de.FIELDSET],[ft.FIGCAPTION,de.FIGCAPTION],[ft.FIGURE,de.FIGURE],[ft.FONT,de.FONT],[ft.FOOTER,de.FOOTER],[ft.FOREIGN_OBJECT,de.FOREIGN_OBJECT],[ft.FORM,de.FORM],[ft.FRAME,de.FRAME],[ft.FRAMESET,de.FRAMESET],[ft.H1,de.H1],[ft.H2,de.H2],[ft.H3,de.H3],[ft.H4,de.H4],[ft.H5,de.H5],[ft.H6,de.H6],[ft.HEAD,de.HEAD],[ft.HEADER,de.HEADER],[ft.HGROUP,de.HGROUP],[ft.HR,de.HR],[ft.HTML,de.HTML],[ft.I,de.I],[ft.IMG,de.IMG],[ft.IMAGE,de.IMAGE],[ft.INPUT,de.INPUT],[ft.IFRAME,de.IFRAME],[ft.KEYGEN,de.KEYGEN],[ft.LABEL,de.LABEL],[ft.LI,de.LI],[ft.LINK,de.LINK],[ft.LISTING,de.LISTING],[ft.MAIN,de.MAIN],[ft.MALIGNMARK,de.MALIGNMARK],[ft.MARQUEE,de.MARQUEE],[ft.MATH,de.MATH],[ft.MENU,de.MENU],[ft.META,de.META],[ft.MGLYPH,de.MGLYPH],[ft.MI,de.MI],[ft.MO,de.MO],[ft.MN,de.MN],[ft.MS,de.MS],[ft.MTEXT,de.MTEXT],[ft.NAV,de.NAV],[ft.NOBR,de.NOBR],[ft.NOFRAMES,de.NOFRAMES],[ft.NOEMBED,de.NOEMBED],[ft.NOSCRIPT,de.NOSCRIPT],[ft.OBJECT,de.OBJECT],[ft.OL,de.OL],[ft.OPTGROUP,de.OPTGROUP],[ft.OPTION,de.OPTION],[ft.P,de.P],[ft.PARAM,de.PARAM],[ft.PLAINTEXT,de.PLAINTEXT],[ft.PRE,de.PRE],[ft.RB,de.RB],[ft.RP,de.RP],[ft.RT,de.RT],[ft.RTC,de.RTC],[ft.RUBY,de.RUBY],[ft.S,de.S],[ft.SCRIPT,de.SCRIPT],[ft.SEARCH,de.SEARCH],[ft.SECTION,de.SECTION],[ft.SELECT,de.SELECT],[ft.SOURCE,de.SOURCE],[ft.SMALL,de.SMALL],[ft.SPAN,de.SPAN],[ft.STRIKE,de.STRIKE],[ft.STRONG,de.STRONG],[ft.STYLE,de.STYLE],[ft.SUB,de.SUB],[ft.SUMMARY,de.SUMMARY],[ft.SUP,de.SUP],[ft.TABLE,de.TABLE],[ft.TBODY,de.TBODY],[ft.TEMPLATE,de.TEMPLATE],[ft.TEXTAREA,de.TEXTAREA],[ft.TFOOT,de.TFOOT],[ft.TD,de.TD],[ft.TH,de.TH],[ft.THEAD,de.THEAD],[ft.TITLE,de.TITLE],[ft.TR,de.TR],[ft.TRACK,de.TRACK],[ft.TT,de.TT],[ft.U,de.U],[ft.UL,de.UL],[ft.SVG,de.SVG],[ft.VAR,de.VAR],[ft.WBR,de.WBR],[ft.XMP,de.XMP]]);function Un(x){var ee;return(ee=wn.get(x))!==null&&ee!==void 0?ee:de.UNKNOWN}const mn=de,Er={[zt.HTML]:new Set([mn.ADDRESS,mn.APPLET,mn.AREA,mn.ARTICLE,mn.ASIDE,mn.BASE,mn.BASEFONT,mn.BGSOUND,mn.BLOCKQUOTE,mn.BODY,mn.BR,mn.BUTTON,mn.CAPTION,mn.CENTER,mn.COL,mn.COLGROUP,mn.DD,mn.DETAILS,mn.DIR,mn.DIV,mn.DL,mn.DT,mn.EMBED,mn.FIELDSET,mn.FIGCAPTION,mn.FIGURE,mn.FOOTER,mn.FORM,mn.FRAME,mn.FRAMESET,mn.H1,mn.H2,mn.H3,mn.H4,mn.H5,mn.H6,mn.HEAD,mn.HEADER,mn.HGROUP,mn.HR,mn.HTML,mn.IFRAME,mn.IMG,mn.INPUT,mn.LI,mn.LINK,mn.LISTING,mn.MAIN,mn.MARQUEE,mn.MENU,mn.META,mn.NAV,mn.NOEMBED,mn.NOFRAMES,mn.NOSCRIPT,mn.OBJECT,mn.OL,mn.P,mn.PARAM,mn.PLAINTEXT,mn.PRE,mn.SCRIPT,mn.SECTION,mn.SELECT,mn.SOURCE,mn.STYLE,mn.SUMMARY,mn.TABLE,mn.TBODY,mn.TD,mn.TEMPLATE,mn.TEXTAREA,mn.TFOOT,mn.TH,mn.THEAD,mn.TITLE,mn.TR,mn.TRACK,mn.UL,mn.WBR,mn.XMP]),[zt.MATHML]:new Set([mn.MI,mn.MO,mn.MN,mn.MS,mn.MTEXT,mn.ANNOTATION_XML]),[zt.SVG]:new Set([mn.TITLE,mn.FOREIGN_OBJECT,mn.DESC]),[zt.XLINK]:new Set,[zt.XML]:new Set,[zt.XMLNS]:new Set},Sr=new Set([mn.H1,mn.H2,mn.H3,mn.H4,mn.H5,mn.H6]),or=new Set([ft.STYLE,ft.SCRIPT,ft.XMP,ft.IFRAME,ft.NOEMBED,ft.NOFRAMES,ft.PLAINTEXT]);function wr(x,ee){return or.has(x)||ee&&x===ft.NOSCRIPT}var St;(function(x){x[x.DATA=0]="DATA",x[x.RCDATA=1]="RCDATA",x[x.RAWTEXT=2]="RAWTEXT",x[x.SCRIPT_DATA=3]="SCRIPT_DATA",x[x.PLAINTEXT=4]="PLAINTEXT",x[x.TAG_OPEN=5]="TAG_OPEN",x[x.END_TAG_OPEN=6]="END_TAG_OPEN",x[x.TAG_NAME=7]="TAG_NAME",x[x.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",x[x.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",x[x.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",x[x.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",x[x.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",x[x.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",x[x.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",x[x.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",x[x.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",x[x.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",x[x.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",x[x.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",x[x.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",x[x.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",x[x.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",x[x.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",x[x.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",x[x.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",x[x.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",x[x.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",x[x.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",x[x.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",x[x.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",x[x.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",x[x.BOGUS_COMMENT=40]="BOGUS_COMMENT",x[x.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",x[x.COMMENT_START=42]="COMMENT_START",x[x.COMMENT_START_DASH=43]="COMMENT_START_DASH",x[x.COMMENT=44]="COMMENT",x[x.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",x[x.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",x[x.COMMENT_END_DASH=49]="COMMENT_END_DASH",x[x.COMMENT_END=50]="COMMENT_END",x[x.COMMENT_END_BANG=51]="COMMENT_END_BANG",x[x.DOCTYPE=52]="DOCTYPE",x[x.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",x[x.DOCTYPE_NAME=54]="DOCTYPE_NAME",x[x.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",x[x.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",x[x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",x[x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",x[x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",x[x.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",x[x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",x[x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",x[x.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",x[x.CDATA_SECTION=68]="CDATA_SECTION",x[x.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",x[x.CDATA_SECTION_END=70]="CDATA_SECTION_END",x[x.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",x[x.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(St||(St={}));const Kn={DATA:St.DATA,RCDATA:St.RCDATA,RAWTEXT:St.RAWTEXT,SCRIPT_DATA:St.SCRIPT_DATA,PLAINTEXT:St.PLAINTEXT,CDATA_SECTION:St.CDATA_SECTION};function ir(x){return x>=Ee.DIGIT_0&&x<=Ee.DIGIT_9}function br(x){return x>=Ee.LATIN_CAPITAL_A&&x<=Ee.LATIN_CAPITAL_Z}function qn(x){return x>=Ee.LATIN_SMALL_A&&x<=Ee.LATIN_SMALL_Z}function Ir(x){return qn(x)||br(x)}function sr(x){return Ir(x)||ir(x)}function jn(x){return x+32}function $r(x){return x===Ee.SPACE||x===Ee.LINE_FEED||x===Ee.TABULATION||x===Ee.FORM_FEED}function Jr(x){return $r(x)||x===Ee.SOLIDUS||x===Ee.GREATER_THAN_SIGN}function Gr(x){return x===Ee.NULL?ct.nullCharacterReference:x>1114111?ct.characterReferenceOutsideUnicodeRange:on(x)?ct.surrogateCharacterReference:Rn(x)?ct.noncharacterCharacterReference:Yt(x)||x===Ee.CARRIAGE_RETURN?ct.controlCharacterReference:null}class la{constructor(ee,Ne){this.options=ee,this.handler=Ne,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=St.DATA,this.returnState=St.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Zt(Ne),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Bt(De,(Ot,Nn)=>{this.preprocessor.pos=this.entityStartPos+Nn-1,this._flushCodePointConsumedAsCharacterReference(Ot)},Ne.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ct.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:Ot=>{this._err(ct.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+Ot)},validateNumericCharacterReference:Ot=>{const Nn=Gr(Ot);Nn&&this._err(Nn,1)}}:void 0)}_err(ee,Ne=0){var Ot,Nn;(Nn=(Ot=this.handler).onParseError)===null||Nn===void 0||Nn.call(Ot,this.preprocessor.getError(ee,Ne))}getCurrentLocation(ee){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-ee,startOffset:this.preprocessor.offset-ee,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const ee=this._consume();this._ensureHibernation()||this._callState(ee)}this.inLoop=!1}}pause(){this.paused=!0}resume(ee){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||ee==null||ee())}write(ee,Ne,Ot){this.active=!0,this.preprocessor.write(ee,Ne),this._runParsingLoop(),this.paused||Ot==null||Ot()}insertHtmlAtCurrentPos(ee){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(ee),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(ee){this.consumedAfterSnapshot+=ee;for(let Ne=0;Ne0&&this._err(ct.endTagWithAttributes),ee.selfClosing&&this._err(ct.endTagWithTrailingSolidus),this.handler.onEndTag(ee)),this.preprocessor.dropParsedChunk()}emitCurrentComment(ee){this.prepareToken(ee),this.handler.onComment(ee),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(ee){this.prepareToken(ee),this.handler.onDoctype(ee),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(ee){if(this.currentCharacterToken){switch(ee&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=ee.startLine,this.currentCharacterToken.location.endCol=ee.startCol,this.currentCharacterToken.location.endOffset=ee.startOffset),this.currentCharacterToken.type){case vn.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case vn.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case vn.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const ee=this.getCurrentLocation(0);ee&&(ee.endLine=ee.startLine,ee.endCol=ee.startCol,ee.endOffset=ee.startOffset),this._emitCurrentCharacterToken(ee),this.handler.onEof({type:vn.EOF,location:ee}),this.active=!1}_appendCharToCurrentCharacterToken(ee,Ne){if(this.currentCharacterToken)if(this.currentCharacterToken.type===ee){this.currentCharacterToken.chars+=Ne;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(ee,Ne)}_emitCodePoint(ee){const Ne=$r(ee)?vn.WHITESPACE_CHARACTER:ee===Ee.NULL?vn.NULL_CHARACTER:vn.CHARACTER;this._appendCharToCurrentCharacterToken(Ne,String.fromCodePoint(ee))}_emitChars(ee){this._appendCharToCurrentCharacterToken(vn.CHARACTER,ee)}_startCharacterReference(){this.returnState=this.state,this.state=St.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?dn.Attribute:dn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===St.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===St.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===St.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(ee){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(ee):this._emitCodePoint(ee)}_callState(ee){switch(this.state){case St.DATA:{this._stateData(ee);break}case St.RCDATA:{this._stateRcdata(ee);break}case St.RAWTEXT:{this._stateRawtext(ee);break}case St.SCRIPT_DATA:{this._stateScriptData(ee);break}case St.PLAINTEXT:{this._statePlaintext(ee);break}case St.TAG_OPEN:{this._stateTagOpen(ee);break}case St.END_TAG_OPEN:{this._stateEndTagOpen(ee);break}case St.TAG_NAME:{this._stateTagName(ee);break}case St.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(ee);break}case St.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(ee);break}case St.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(ee);break}case St.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(ee);break}case St.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(ee);break}case St.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(ee);break}case St.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(ee);break}case St.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(ee);break}case St.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(ee);break}case St.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(ee);break}case St.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(ee);break}case St.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(ee);break}case St.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(ee);break}case St.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(ee);break}case St.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(ee);break}case St.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(ee);break}case St.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(ee);break}case St.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(ee);break}case St.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(ee);break}case St.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(ee);break}case St.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(ee);break}case St.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(ee);break}case St.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(ee);break}case St.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(ee);break}case St.ATTRIBUTE_NAME:{this._stateAttributeName(ee);break}case St.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(ee);break}case St.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(ee);break}case St.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(ee);break}case St.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(ee);break}case St.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(ee);break}case St.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(ee);break}case St.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(ee);break}case St.BOGUS_COMMENT:{this._stateBogusComment(ee);break}case St.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(ee);break}case St.COMMENT_START:{this._stateCommentStart(ee);break}case St.COMMENT_START_DASH:{this._stateCommentStartDash(ee);break}case St.COMMENT:{this._stateComment(ee);break}case St.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(ee);break}case St.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(ee);break}case St.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(ee);break}case St.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(ee);break}case St.COMMENT_END_DASH:{this._stateCommentEndDash(ee);break}case St.COMMENT_END:{this._stateCommentEnd(ee);break}case St.COMMENT_END_BANG:{this._stateCommentEndBang(ee);break}case St.DOCTYPE:{this._stateDoctype(ee);break}case St.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(ee);break}case St.DOCTYPE_NAME:{this._stateDoctypeName(ee);break}case St.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(ee);break}case St.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(ee);break}case St.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(ee);break}case St.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(ee);break}case St.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(ee);break}case St.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(ee);break}case St.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(ee);break}case St.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(ee);break}case St.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(ee);break}case St.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(ee);break}case St.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(ee);break}case St.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(ee);break}case St.BOGUS_DOCTYPE:{this._stateBogusDoctype(ee);break}case St.CDATA_SECTION:{this._stateCdataSection(ee);break}case St.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(ee);break}case St.CDATA_SECTION_END:{this._stateCdataSectionEnd(ee);break}case St.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case St.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(ee);break}default:throw new Error("Unknown state")}}_stateData(ee){switch(ee){case Ee.LESS_THAN_SIGN:{this.state=St.TAG_OPEN;break}case Ee.AMPERSAND:{this._startCharacterReference();break}case Ee.NULL:{this._err(ct.unexpectedNullCharacter),this._emitCodePoint(ee);break}case Ee.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateRcdata(ee){switch(ee){case Ee.AMPERSAND:{this._startCharacterReference();break}case Ee.LESS_THAN_SIGN:{this.state=St.RCDATA_LESS_THAN_SIGN;break}case Ee.NULL:{this._err(ct.unexpectedNullCharacter),this._emitChars($e);break}case Ee.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateRawtext(ee){switch(ee){case Ee.LESS_THAN_SIGN:{this.state=St.RAWTEXT_LESS_THAN_SIGN;break}case Ee.NULL:{this._err(ct.unexpectedNullCharacter),this._emitChars($e);break}case Ee.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateScriptData(ee){switch(ee){case Ee.LESS_THAN_SIGN:{this.state=St.SCRIPT_DATA_LESS_THAN_SIGN;break}case Ee.NULL:{this._err(ct.unexpectedNullCharacter),this._emitChars($e);break}case Ee.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_statePlaintext(ee){switch(ee){case Ee.NULL:{this._err(ct.unexpectedNullCharacter),this._emitChars($e);break}case Ee.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateTagOpen(ee){if(Ir(ee))this._createStartTagToken(),this.state=St.TAG_NAME,this._stateTagName(ee);else switch(ee){case Ee.EXCLAMATION_MARK:{this.state=St.MARKUP_DECLARATION_OPEN;break}case Ee.SOLIDUS:{this.state=St.END_TAG_OPEN;break}case Ee.QUESTION_MARK:{this._err(ct.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=St.BOGUS_COMMENT,this._stateBogusComment(ee);break}case Ee.EOF:{this._err(ct.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ct.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=St.DATA,this._stateData(ee)}}_stateEndTagOpen(ee){if(Ir(ee))this._createEndTagToken(),this.state=St.TAG_NAME,this._stateTagName(ee);else switch(ee){case Ee.GREATER_THAN_SIGN:{this._err(ct.missingEndTagName),this.state=St.DATA;break}case Ee.EOF:{this._err(ct.eofBeforeTagName),this._emitChars("");break}case Ee.NULL:{this._err(ct.unexpectedNullCharacter),this.state=St.SCRIPT_DATA_ESCAPED,this._emitChars($e);break}case Ee.EOF:{this._err(ct.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=St.SCRIPT_DATA_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataEscapedLessThanSign(ee){ee===Ee.SOLIDUS?this.state=St.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ir(ee)?(this._emitChars("<"),this.state=St.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(ee)):(this._emitChars("<"),this.state=St.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(ee))}_stateScriptDataEscapedEndTagOpen(ee){Ir(ee)?(this.state=St.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(ee)):(this._emitChars("");break}case Ee.NULL:{this._err(ct.unexpectedNullCharacter),this.state=St.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars($e);break}case Ee.EOF:{this._err(ct.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=St.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataDoubleEscapedLessThanSign(ee){ee===Ee.SOLIDUS?(this.state=St.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=St.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(ee))}_stateScriptDataDoubleEscapeEnd(ee){if(this.preprocessor.startsWith(en.SCRIPT,!1)&&Jr(this.preprocessor.peek(en.SCRIPT.length))){this._emitCodePoint(ee);for(let Ne=0;Ne0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(ee,!0)}replace(ee,Ne){const Ot=this._indexOf(ee);this.items[Ot]=Ne,Ot===this.stackTop&&(this.current=Ne)}insertAfter(ee,Ne,Ot){const Nn=this._indexOf(ee)+1;this.items.splice(Nn,0,Ne),this.tagIDs.splice(Nn,0,Ot),this.stackTop++,Nn===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,Nn===this.stackTop)}popUntilTagNamePopped(ee){let Ne=this.stackTop+1;do Ne=this.tagIDs.lastIndexOf(ee,Ne-1);while(Ne>0&&this.treeAdapter.getNamespaceURI(this.items[Ne])!==zt.HTML);this.shortenToLength(Math.max(Ne,0))}shortenToLength(ee){for(;this.stackTop>=ee;){const Ne=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(Ne,this.stackTop=0;Ot--)if(ee.has(this.tagIDs[Ot])&&this.treeAdapter.getNamespaceURI(this.items[Ot])===Ne)return Ot;return-1}clearBackTo(ee,Ne){const Ot=this._indexOfTagNames(ee,Ne);this.shortenToLength(Ot+1)}clearBackToTableContext(){this.clearBackTo(kt,zt.HTML)}clearBackToTableBodyContext(){this.clearBackTo(pn,zt.HTML)}clearBackToTableRowContext(){this.clearBackTo(Jt,zt.HTML)}remove(ee){const Ne=this._indexOf(ee);Ne>=0&&(Ne===this.stackTop?this.pop():(this.items.splice(Ne,1),this.tagIDs.splice(Ne,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(ee,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===de.BODY?this.items[1]:null}contains(ee){return this._indexOf(ee)>-1}getCommonAncestor(ee){const Ne=this._indexOf(ee)-1;return Ne>=0?this.items[Ne]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===de.HTML}hasInDynamicScope(ee,Ne){for(let Ot=this.stackTop;Ot>=0;Ot--){const Nn=this.tagIDs[Ot];switch(this.treeAdapter.getNamespaceURI(this.items[Ot])){case zt.HTML:{if(Nn===ee)return!0;if(Ne.has(Nn))return!1;break}case zt.SVG:{if(ea.has(Nn))return!1;break}case zt.MATHML:{if(_r.has(Nn))return!1;break}}}return!0}hasInScope(ee){return this.hasInDynamicScope(ee,Yr)}hasInListItemScope(ee){return this.hasInDynamicScope(ee,Wn)}hasInButtonScope(ee){return this.hasInDynamicScope(ee,ur)}hasNumberedHeaderInScope(){for(let ee=this.stackTop;ee>=0;ee--){const Ne=this.tagIDs[ee];switch(this.treeAdapter.getNamespaceURI(this.items[ee])){case zt.HTML:{if(Sr.has(Ne))return!0;if(Yr.has(Ne))return!1;break}case zt.SVG:{if(ea.has(Ne))return!1;break}case zt.MATHML:{if(_r.has(Ne))return!1;break}}}return!0}hasInTableScope(ee){for(let Ne=this.stackTop;Ne>=0;Ne--)if(this.treeAdapter.getNamespaceURI(this.items[Ne])===zt.HTML)switch(this.tagIDs[Ne]){case ee:return!0;case de.TABLE:case de.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let ee=this.stackTop;ee>=0;ee--)if(this.treeAdapter.getNamespaceURI(this.items[ee])===zt.HTML)switch(this.tagIDs[ee]){case de.TBODY:case de.THEAD:case de.TFOOT:return!0;case de.TABLE:case de.HTML:return!1}return!0}hasInSelectScope(ee){for(let Ne=this.stackTop;Ne>=0;Ne--)if(this.treeAdapter.getNamespaceURI(this.items[Ne])===zt.HTML)switch(this.tagIDs[Ne]){case ee:return!0;case de.OPTION:case de.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Hr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&fa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(ee){for(;this.currentTagId!==void 0&&this.currentTagId!==ee&&fa.has(this.currentTagId);)this.pop()}}const rn=3;var lt;(function(x){x[x.Marker=0]="Marker",x[x.Element=1]="Element"})(lt||(lt={}));const ve={type:lt.Marker};class Ie{constructor(ee){this.treeAdapter=ee,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(ee,Ne){const Ot=[],Nn=Ne.length,cr=this.treeAdapter.getTagName(ee),Fr=this.treeAdapter.getNamespaceURI(ee);for(let hn=0;hn[Fr.name,Fr.value]));let cr=0;for(let Fr=0;FrNn.get(Ta.name)===Ta.value)&&(cr+=1,cr>=rn&&this.entries.splice(hn.idx,1))}}insertMarker(){this.entries.unshift(ve)}pushElement(ee,Ne){this._ensureNoahArkCondition(ee),this.entries.unshift({type:lt.Element,element:ee,token:Ne})}insertElementAfterBookmark(ee,Ne){const Ot=this.entries.indexOf(this.bookmark);this.entries.splice(Ot,0,{type:lt.Element,element:ee,token:Ne})}removeEntry(ee){const Ne=this.entries.indexOf(ee);Ne!==-1&&this.entries.splice(Ne,1)}clearToLastMarker(){const ee=this.entries.indexOf(ve);ee===-1?this.entries.length=0:this.entries.splice(0,ee+1)}getElementEntryInScopeWithTagName(ee){const Ne=this.entries.find(Ot=>Ot.type===lt.Marker||this.treeAdapter.getTagName(Ot.element)===ee);return Ne&&Ne.type===lt.Element?Ne:null}getElementEntry(ee){return this.entries.find(Ne=>Ne.type===lt.Element&&Ne.element===ee)}}const Ft={createDocument(){return{nodeName:"#document",mode:Et.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(x,ee,Ne){return{nodeName:x,tagName:x,attrs:Ne,namespaceURI:ee,childNodes:[],parentNode:null}},createCommentNode(x){return{nodeName:"#comment",data:x,parentNode:null}},createTextNode(x){return{nodeName:"#text",value:x,parentNode:null}},appendChild(x,ee){x.childNodes.push(ee),ee.parentNode=x},insertBefore(x,ee,Ne){const Ot=x.childNodes.indexOf(Ne);x.childNodes.splice(Ot,0,ee),ee.parentNode=x},setTemplateContent(x,ee){x.content=ee},getTemplateContent(x){return x.content},setDocumentType(x,ee,Ne,Ot){const Nn=x.childNodes.find(cr=>cr.nodeName==="#documentType");if(Nn)Nn.name=ee,Nn.publicId=Ne,Nn.systemId=Ot;else{const cr={nodeName:"#documentType",name:ee,publicId:Ne,systemId:Ot,parentNode:null};Ft.appendChild(x,cr)}},setDocumentMode(x,ee){x.mode=ee},getDocumentMode(x){return x.mode},detachNode(x){if(x.parentNode){const ee=x.parentNode.childNodes.indexOf(x);x.parentNode.childNodes.splice(ee,1),x.parentNode=null}},insertText(x,ee){if(x.childNodes.length>0){const Ne=x.childNodes[x.childNodes.length-1];if(Ft.isTextNode(Ne)){Ne.value+=ee;return}}Ft.appendChild(x,Ft.createTextNode(ee))},insertTextBefore(x,ee,Ne){const Ot=x.childNodes[x.childNodes.indexOf(Ne)-1];Ot&&Ft.isTextNode(Ot)?Ot.value+=ee:Ft.insertBefore(x,Ft.createTextNode(ee),Ne)},adoptAttributes(x,ee){const Ne=new Set(x.attrs.map(Ot=>Ot.name));for(let Ot=0;Otx.startsWith(Ne))}function an(x){return x.name===Pe&&x.publicId===null&&(x.systemId===null||x.systemId===Ye)}function pt(x){if(x.name!==Pe)return Et.QUIRKS;const{systemId:ee}=x;if(ee&&ee.toLowerCase()===Xt)return Et.QUIRKS;let{publicId:Ne}=x;if(Ne!==null){if(Ne=Ne.toLowerCase(),Qn.has(Ne))return Et.QUIRKS;let Ot=ee===null?Xn:Wt;if(gn(Ne,Ot))return Et.QUIRKS;if(Ot=ee===null?Pn:Nr,gn(Ne,Ot))return Et.LIMITED_QUIRKS}return Et.NO_QUIRKS}const kn={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Dt="definitionurl",nr="definitionURL",Tr=new Map(["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(x=>[x.toLowerCase(),x])),pr=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:zt.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:zt.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:zt.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:zt.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:zt.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:zt.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:zt.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:zt.XML}],["xml:space",{prefix:"xml",name:"space",namespace:zt.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:zt.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:zt.XMLNS}]]),xr=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(x=>[x.toLowerCase(),x])),er=new Set([de.B,de.BIG,de.BLOCKQUOTE,de.BODY,de.BR,de.CENTER,de.CODE,de.DD,de.DIV,de.DL,de.DT,de.EM,de.EMBED,de.H1,de.H2,de.H3,de.H4,de.H5,de.H6,de.HEAD,de.HR,de.I,de.IMG,de.LI,de.LISTING,de.MENU,de.META,de.NOBR,de.OL,de.P,de.PRE,de.RUBY,de.S,de.SMALL,de.SPAN,de.STRONG,de.STRIKE,de.SUB,de.SUP,de.TABLE,de.TT,de.U,de.UL,de.VAR]);function Dr(x){const ee=x.tagID;return ee===de.FONT&&x.attrs.some(({name:Ot})=>Ot===bn.COLOR||Ot===bn.SIZE||Ot===bn.FACE)||er.has(ee)}function mr(x){for(let ee=0;ee0&&this._setContextModes(ee,Ne)}onItemPop(ee,Ne){var Ot,Nn;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(ee,this.currentToken),(Nn=(Ot=this.treeAdapter).onItemPop)===null||Nn===void 0||Nn.call(Ot,ee,this.openElements.current),Ne){let cr,Fr;this.openElements.stackTop===0&&this.fragmentContext?(cr=this.fragmentContext,Fr=this.fragmentContextID):{current:cr,currentTagId:Fr}=this.openElements,this._setContextModes(cr,Fr)}}_setContextModes(ee,Ne){const Ot=ee===this.document||ee&&this.treeAdapter.getNamespaceURI(ee)===zt.HTML;this.currentNotInHTML=!Ot,this.tokenizer.inForeignNode=!Ot&&ee!==void 0&&Ne!==void 0&&!this._isIntegrationPoint(Ne,ee)}_switchToTextParsing(ee,Ne){this._insertElement(ee,zt.HTML),this.tokenizer.state=Ne,this.originalInsertionMode=this.insertionMode,this.insertionMode=Vt.TEXT}switchToPlaintextParsing(){this.insertionMode=Vt.TEXT,this.originalInsertionMode=Vt.IN_BODY,this.tokenizer.state=Kn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let ee=this.fragmentContext;for(;ee;){if(this.treeAdapter.getTagName(ee)===ft.FORM){this.formElement=ee;break}ee=this.treeAdapter.getParentNode(ee)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==zt.HTML))switch(this.fragmentContextID){case de.TITLE:case de.TEXTAREA:{this.tokenizer.state=Kn.RCDATA;break}case de.STYLE:case de.XMP:case de.IFRAME:case de.NOEMBED:case de.NOFRAMES:case de.NOSCRIPT:{this.tokenizer.state=Kn.RAWTEXT;break}case de.SCRIPT:{this.tokenizer.state=Kn.SCRIPT_DATA;break}case de.PLAINTEXT:{this.tokenizer.state=Kn.PLAINTEXT;break}default:}}_setDocumentType(ee){const Ne=ee.name||"",Ot=ee.publicId||"",Nn=ee.systemId||"";if(this.treeAdapter.setDocumentType(this.document,Ne,Ot,Nn),ee.location){const Fr=this.treeAdapter.getChildNodes(this.document).find(hn=>this.treeAdapter.isDocumentTypeNode(hn));Fr&&this.treeAdapter.setNodeSourceCodeLocation(Fr,ee.location)}}_attachElementToTree(ee,Ne){if(this.options.sourceCodeLocationInfo){const Ot=Ne&&kl(Xa({},Ne),{startTag:Ne});this.treeAdapter.setNodeSourceCodeLocation(ee,Ot)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(ee);else{const Ot=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(Ot!=null?Ot:this.document,ee)}}_appendElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee.tagName,Ne,ee.attrs);this._attachElementToTree(Ot,ee.location)}_insertElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee.tagName,Ne,ee.attrs);this._attachElementToTree(Ot,ee.location),this.openElements.push(Ot,ee.tagID)}_insertFakeElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee,zt.HTML,[]);this._attachElementToTree(Ot,null),this.openElements.push(Ot,Ne)}_insertTemplate(ee){const Ne=this.treeAdapter.createElement(ee.tagName,zt.HTML,ee.attrs),Ot=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(Ne,Ot),this._attachElementToTree(Ne,ee.location),this.openElements.push(Ne,ee.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ot,null)}_insertFakeRootElement(){const ee=this.treeAdapter.createElement(ft.HTML,zt.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ee,null),this.treeAdapter.appendChild(this.openElements.current,ee),this.openElements.push(ee,de.HTML)}_appendCommentNode(ee,Ne){const Ot=this.treeAdapter.createCommentNode(ee.data);this.treeAdapter.appendChild(Ne,Ot),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ot,ee.location)}_insertCharacters(ee){let Ne,Ot;if(this._shouldFosterParentOnInsertion()?({parent:Ne,beforeElement:Ot}=this._findFosterParentingLocation(),Ot?this.treeAdapter.insertTextBefore(Ne,ee.chars,Ot):this.treeAdapter.insertText(Ne,ee.chars)):(Ne=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(Ne,ee.chars)),!ee.location)return;const Nn=this.treeAdapter.getChildNodes(Ne),cr=Ot?Nn.lastIndexOf(Ot):Nn.length,Fr=Nn[cr-1];if(this.treeAdapter.getNodeSourceCodeLocation(Fr)){const{endLine:Ta,endCol:fi,endOffset:Fn}=ee.location;this.treeAdapter.updateNodeSourceCodeLocation(Fr,{endLine:Ta,endCol:fi,endOffset:Fn})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Fr,ee.location)}_adoptNodes(ee,Ne){for(let Ot=this.treeAdapter.getFirstChild(ee);Ot;Ot=this.treeAdapter.getFirstChild(ee))this.treeAdapter.detachNode(Ot),this.treeAdapter.appendChild(Ne,Ot)}_setEndLocation(ee,Ne){if(this.treeAdapter.getNodeSourceCodeLocation(ee)&&Ne.location){const Ot=Ne.location,Nn=this.treeAdapter.getTagName(ee),cr=Ne.type===vn.END_TAG&&Nn===Ne.tagName?{endTag:Xa({},Ot),endLine:Ot.endLine,endCol:Ot.endCol,endOffset:Ot.endOffset}:{endLine:Ot.startLine,endCol:Ot.startCol,endOffset:Ot.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(ee,cr)}}shouldProcessStartTagTokenInForeignContent(ee){if(!this.currentNotInHTML)return!1;let Ne,Ot;return this.openElements.stackTop===0&&this.fragmentContext?(Ne=this.fragmentContext,Ot=this.fragmentContextID):{current:Ne,currentTagId:Ot}=this.openElements,ee.tagID===de.SVG&&this.treeAdapter.getTagName(Ne)===ft.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(Ne)===zt.MATHML?!1:this.tokenizer.inForeignNode||(ee.tagID===de.MGLYPH||ee.tagID===de.MALIGNMARK)&&Ot!==void 0&&!this._isIntegrationPoint(Ot,Ne,zt.HTML)}_processToken(ee){switch(ee.type){case vn.CHARACTER:{this.onCharacter(ee);break}case vn.NULL_CHARACTER:{this.onNullCharacter(ee);break}case vn.COMMENT:{this.onComment(ee);break}case vn.DOCTYPE:{this.onDoctype(ee);break}case vn.START_TAG:{this._processStartTag(ee);break}case vn.END_TAG:{this.onEndTag(ee);break}case vn.EOF:{this.onEof(ee);break}case vn.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(ee);break}}}_isIntegrationPoint(ee,Ne,Ot){const Nn=this.treeAdapter.getNamespaceURI(Ne),cr=this.treeAdapter.getAttrList(Ne);return Lr(ee,Nn,cr,Ot)}_reconstructActiveFormattingElements(){const ee=this.activeFormattingElements.entries.length;if(ee){const Ne=this.activeFormattingElements.entries.findIndex(Nn=>Nn.type===lt.Marker||this.openElements.contains(Nn.element)),Ot=Ne===-1?ee-1:Ne-1;for(let Nn=Ot;Nn>=0;Nn--){const cr=this.activeFormattingElements.entries[Nn];this._insertElement(cr.token,this.treeAdapter.getNamespaceURI(cr.element)),cr.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Vt.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(de.P),this.openElements.popUntilTagNamePopped(de.P)}_resetInsertionMode(){for(let ee=this.openElements.stackTop;ee>=0;ee--)switch(ee===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[ee]){case de.TR:{this.insertionMode=Vt.IN_ROW;return}case de.TBODY:case de.THEAD:case de.TFOOT:{this.insertionMode=Vt.IN_TABLE_BODY;return}case de.CAPTION:{this.insertionMode=Vt.IN_CAPTION;return}case de.COLGROUP:{this.insertionMode=Vt.IN_COLUMN_GROUP;return}case de.TABLE:{this.insertionMode=Vt.IN_TABLE;return}case de.BODY:{this.insertionMode=Vt.IN_BODY;return}case de.FRAMESET:{this.insertionMode=Vt.IN_FRAMESET;return}case de.SELECT:{this._resetInsertionModeForSelect(ee);return}case de.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case de.HTML:{this.insertionMode=this.headElement?Vt.AFTER_HEAD:Vt.BEFORE_HEAD;return}case de.TD:case de.TH:{if(ee>0){this.insertionMode=Vt.IN_CELL;return}break}case de.HEAD:{if(ee>0){this.insertionMode=Vt.IN_HEAD;return}break}}this.insertionMode=Vt.IN_BODY}_resetInsertionModeForSelect(ee){if(ee>0)for(let Ne=ee-1;Ne>0;Ne--){const Ot=this.openElements.tagIDs[Ne];if(Ot===de.TEMPLATE)break;if(Ot===de.TABLE){this.insertionMode=Vt.IN_SELECT_IN_TABLE;return}}this.insertionMode=Vt.IN_SELECT}_isElementCausesFosterParenting(ee){return ra.has(ee)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let ee=this.openElements.stackTop;ee>=0;ee--){const Ne=this.openElements.items[ee];switch(this.openElements.tagIDs[ee]){case de.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(Ne)===zt.HTML)return{parent:this.treeAdapter.getTemplateContent(Ne),beforeElement:null};break}case de.TABLE:{const Ot=this.treeAdapter.getParentNode(Ne);return Ot?{parent:Ot,beforeElement:Ne}:{parent:this.openElements.items[ee-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(ee){const Ne=this._findFosterParentingLocation();Ne.beforeElement?this.treeAdapter.insertBefore(Ne.parent,ee,Ne.beforeElement):this.treeAdapter.appendChild(Ne.parent,ee)}_isSpecialElement(ee,Ne){const Ot=this.treeAdapter.getNamespaceURI(ee);return Er[Ot].has(Ne)}onCharacter(ee){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Fs(this,ee);return}switch(this.insertionMode){case Vt.INITIAL:{yr(this,ee);break}case Vt.BEFORE_HTML:{oa(this,ee);break}case Vt.BEFORE_HEAD:{Da(this,ee);break}case Vt.IN_HEAD:{Ma(this,ee);break}case Vt.IN_HEAD_NO_SCRIPT:{Oi(this,ee);break}case Vt.AFTER_HEAD:{ai(this,ee);break}case Vt.IN_BODY:case Vt.IN_CAPTION:case Vt.IN_CELL:case Vt.IN_TEMPLATE:{gi(this,ee);break}case Vt.TEXT:case Vt.IN_SELECT:case Vt.IN_SELECT_IN_TABLE:{this._insertCharacters(ee);break}case Vt.IN_TABLE:case Vt.IN_TABLE_BODY:case Vt.IN_ROW:{Qi(this,ee);break}case Vt.IN_TABLE_TEXT:{Do(this,ee);break}case Vt.IN_COLUMN_GROUP:{wo(this,ee);break}case Vt.AFTER_BODY:{ms(this,ee);break}case Vt.AFTER_AFTER_BODY:{Cs(this,ee);break}default:}}onNullCharacter(ee){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){ws(this,ee);return}switch(this.insertionMode){case Vt.INITIAL:{yr(this,ee);break}case Vt.BEFORE_HTML:{oa(this,ee);break}case Vt.BEFORE_HEAD:{Da(this,ee);break}case Vt.IN_HEAD:{Ma(this,ee);break}case Vt.IN_HEAD_NO_SCRIPT:{Oi(this,ee);break}case Vt.AFTER_HEAD:{ai(this,ee);break}case Vt.TEXT:{this._insertCharacters(ee);break}case Vt.IN_TABLE:case Vt.IN_TABLE_BODY:case Vt.IN_ROW:{Qi(this,ee);break}case Vt.IN_COLUMN_GROUP:{wo(this,ee);break}case Vt.AFTER_BODY:{ms(this,ee);break}case Vt.AFTER_AFTER_BODY:{Cs(this,ee);break}default:}}onComment(ee){if(this.skipNextNewLine=!1,this.currentNotInHTML){tr(this,ee);return}switch(this.insertionMode){case Vt.INITIAL:case Vt.BEFORE_HTML:case Vt.BEFORE_HEAD:case Vt.IN_HEAD:case Vt.IN_HEAD_NO_SCRIPT:case Vt.AFTER_HEAD:case Vt.IN_BODY:case Vt.IN_TABLE:case Vt.IN_CAPTION:case Vt.IN_COLUMN_GROUP:case Vt.IN_TABLE_BODY:case Vt.IN_ROW:case Vt.IN_CELL:case Vt.IN_SELECT:case Vt.IN_SELECT_IN_TABLE:case Vt.IN_TEMPLATE:case Vt.IN_FRAMESET:case Vt.AFTER_FRAMESET:{tr(this,ee);break}case Vt.IN_TABLE_TEXT:{Ko(this,ee);break}case Vt.AFTER_BODY:{Ln(this,ee);break}case Vt.AFTER_AFTER_BODY:case Vt.AFTER_AFTER_FRAMESET:{jr(this,ee);break}default:}}onDoctype(ee){switch(this.skipNextNewLine=!1,this.insertionMode){case Vt.INITIAL:{rr(this,ee);break}case Vt.BEFORE_HEAD:case Vt.IN_HEAD:case Vt.IN_HEAD_NO_SCRIPT:case Vt.AFTER_HEAD:{this._err(ee,ct.misplacedDoctype);break}case Vt.IN_TABLE_TEXT:{Ko(this,ee);break}default:}}onStartTag(ee){this.skipNextNewLine=!1,this.currentToken=ee,this._processStartTag(ee),ee.selfClosing&&!ee.ackSelfClosing&&this._err(ee,ct.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(ee){this.shouldProcessStartTagTokenInForeignContent(ee)?_s(this,ee):this._startTagOutsideForeignContent(ee)}_startTagOutsideForeignContent(ee){switch(this.insertionMode){case Vt.INITIAL:{yr(this,ee);break}case Vt.BEFORE_HTML:{Mr(this,ee);break}case Vt.BEFORE_HEAD:{Ca(this,ee);break}case Vt.IN_HEAD:{Na(this,ee);break}case Vt.IN_HEAD_NO_SCRIPT:{Qa(this,ee);break}case Vt.AFTER_HEAD:{ui(this,ee);break}case Vt.IN_BODY:{Hi(this,ee);break}case Vt.IN_TABLE:{go(this,ee);break}case Vt.IN_TABLE_TEXT:{Ko(this,ee);break}case Vt.IN_CAPTION:{fl(this,ee);break}case Vt.IN_COLUMN_GROUP:{Co(this,ee);break}case Vt.IN_TABLE_BODY:{So(this,ee);break}case Vt.IN_ROW:{tl(this,ee);break}case Vt.IN_CELL:{ps(this,ee);break}case Vt.IN_SELECT:{Ms(this,ee);break}case Vt.IN_SELECT_IN_TABLE:{Es(this,ee);break}case Vt.IN_TEMPLATE:{hl(this,ee);break}case Vt.AFTER_BODY:{Ss(this,ee);break}case Vt.IN_FRAMESET:{xs(this,ee);break}case Vt.AFTER_FRAMESET:{il(this,ee);break}case Vt.AFTER_AFTER_BODY:{ol(this,ee);break}case Vt.AFTER_AFTER_FRAMESET:{Lo(this,ee);break}default:}}onEndTag(ee){this.skipNextNewLine=!1,this.currentToken=ee,this.currentNotInHTML?bo(this,ee):this._endTagOutsideForeignContent(ee)}_endTagOutsideForeignContent(ee){switch(this.insertionMode){case Vt.INITIAL:{yr(this,ee);break}case Vt.BEFORE_HTML:{Ea(this,ee);break}case Vt.BEFORE_HEAD:{Ha(this,ee);break}case Vt.IN_HEAD:{Ua(this,ee);break}case Vt.IN_HEAD_NO_SCRIPT:{Ri(this,ee);break}case Vt.AFTER_HEAD:{ti(this,ee);break}case Vt.IN_BODY:{ko(this,ee);break}case Vt.TEXT:{Ls(this,ee);break}case Vt.IN_TABLE:{Ji(this,ee);break}case Vt.IN_TABLE_TEXT:{Ko(this,ee);break}case Vt.IN_CAPTION:{Yo(this,ee);break}case Vt.IN_COLUMN_GROUP:{Yi(this,ee);break}case Vt.IN_TABLE_BODY:{vo(this,ee);break}case Vt.IN_ROW:{nl(this,ee);break}case Vt.IN_CELL:{rl(this,ee);break}case Vt.IN_SELECT:{Ps(this,ee);break}case Vt.IN_SELECT_IN_TABLE:{pl(this,ee);break}case Vt.IN_TEMPLATE:{is(this,ee);break}case Vt.AFTER_BODY:{hs(this,ee);break}case Vt.IN_FRAMESET:{al(this,ee);break}case Vt.AFTER_FRAMESET:{ml(this,ee);break}case Vt.AFTER_AFTER_BODY:{Cs(this,ee);break}default:}}onEof(ee){switch(this.insertionMode){case Vt.INITIAL:{yr(this,ee);break}case Vt.BEFORE_HTML:{oa(this,ee);break}case Vt.BEFORE_HEAD:{Da(this,ee);break}case Vt.IN_HEAD:{Ma(this,ee);break}case Vt.IN_HEAD_NO_SCRIPT:{Oi(this,ee);break}case Vt.AFTER_HEAD:{ai(this,ee);break}case Vt.IN_BODY:case Vt.IN_TABLE:case Vt.IN_CAPTION:case Vt.IN_COLUMN_GROUP:case Vt.IN_TABLE_BODY:case Vt.IN_ROW:case Vt.IN_CELL:case Vt.IN_SELECT:case Vt.IN_SELECT_IN_TABLE:{as(this,ee);break}case Vt.TEXT:{jo(this,ee);break}case Vt.IN_TABLE_TEXT:{Ko(this,ee);break}case Vt.IN_TEMPLATE:{Bs(this,ee);break}case Vt.AFTER_BODY:case Vt.IN_FRAMESET:case Vt.AFTER_FRAMESET:case Vt.AFTER_AFTER_BODY:case Vt.AFTER_AFTER_FRAMESET:{lr(this,ee);break}default:}}onWhitespaceCharacter(ee){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,ee.chars.charCodeAt(0)===Ee.LINE_FEED)){if(ee.chars.length===1)return;ee.chars=ee.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(ee);return}switch(this.insertionMode){case Vt.IN_HEAD:case Vt.IN_HEAD_NO_SCRIPT:case Vt.AFTER_HEAD:case Vt.TEXT:case Vt.IN_COLUMN_GROUP:case Vt.IN_SELECT:case Vt.IN_SELECT_IN_TABLE:case Vt.IN_FRAMESET:case Vt.AFTER_FRAMESET:{this._insertCharacters(ee);break}case Vt.IN_BODY:case Vt.IN_CAPTION:case Vt.IN_CELL:case Vt.IN_TEMPLATE:case Vt.AFTER_BODY:case Vt.AFTER_AFTER_BODY:case Vt.AFTER_AFTER_FRAMESET:{mi(this,ee);break}case Vt.IN_TABLE:case Vt.IN_TABLE_BODY:case Vt.IN_ROW:{Qi(this,ee);break}case Vt.IN_TABLE_TEXT:{lo(this,ee);break}default:}}}function ma(x,ee){let Ne=x.activeFormattingElements.getElementEntryInScopeWithTagName(ee.tagName);return Ne?x.openElements.contains(Ne.element)?x.openElements.hasInScope(ee.tagID)||(Ne=null):(x.activeFormattingElements.removeEntry(Ne),Ne=null):Ds(x,ee),Ne}function kr(x,ee){let Ne=null,Ot=x.openElements.stackTop;for(;Ot>=0;Ot--){const Nn=x.openElements.items[Ot];if(Nn===ee.element)break;x._isSpecialElement(Nn,x.openElements.tagIDs[Ot])&&(Ne=Nn)}return Ne||(x.openElements.shortenToLength(Math.max(Ot,0)),x.activeFormattingElements.removeEntry(ee)),Ne}function Qr(x,ee,Ne){let Ot=ee,Nn=x.openElements.getCommonAncestor(ee);for(let cr=0,Fr=Nn;Fr!==Ne;cr++,Fr=Nn){Nn=x.openElements.getCommonAncestor(Fr);const hn=x.activeFormattingElements.getElementEntry(Fr),Ta=hn&&cr>=ua;!hn||Ta?(Ta&&x.activeFormattingElements.removeEntry(hn),x.openElements.remove(Fr)):(Fr=Kr(x,hn),Ot===ee&&(x.activeFormattingElements.bookmark=hn),x.treeAdapter.detachNode(Ot),x.treeAdapter.appendChild(Fr,Ot),Ot=Fr)}return Ot}function Kr(x,ee){const Ne=x.treeAdapter.getNamespaceURI(ee.element),Ot=x.treeAdapter.createElement(ee.token.tagName,Ne,ee.token.attrs);return x.openElements.replace(ee.element,Ot),ee.element=Ot,Ot}function Jn(x,ee,Ne){const Ot=x.treeAdapter.getTagName(ee),Nn=Un(Ot);if(x._isElementCausesFosterParenting(Nn))x._fosterParentElement(Ne);else{const cr=x.treeAdapter.getNamespaceURI(ee);Nn===de.TEMPLATE&&cr===zt.HTML&&(ee=x.treeAdapter.getTemplateContent(ee)),x.treeAdapter.appendChild(ee,Ne)}}function dr(x,ee,Ne){const Ot=x.treeAdapter.getNamespaceURI(Ne.element),{token:Nn}=Ne,cr=x.treeAdapter.createElement(Nn.tagName,Ot,Nn.attrs);x._adoptNodes(ee,cr),x.treeAdapter.appendChild(ee,cr),x.activeFormattingElements.insertElementAfterBookmark(cr,Nn),x.activeFormattingElements.removeEntry(Ne),x.openElements.remove(Ne.element),x.openElements.insertAfter(ee,cr,Nn.tagID)}function fr(x,ee){for(let Ne=0;Ne=Ne;Ot--)x._setEndLocation(x.openElements.items[Ot],ee);if(!x.fragmentContext&&x.openElements.stackTop>=0){const Ot=x.openElements.items[0],Nn=x.treeAdapter.getNodeSourceCodeLocation(Ot);if(Nn&&!Nn.endTag&&(x._setEndLocation(Ot,ee),x.openElements.stackTop>=1)){const cr=x.openElements.items[1],Fr=x.treeAdapter.getNodeSourceCodeLocation(cr);Fr&&!Fr.endTag&&x._setEndLocation(cr,ee)}}}}function rr(x,ee){x._setDocumentType(ee);const Ne=ee.forceQuirks?Et.QUIRKS:pt(ee);an(ee)||x._err(ee,ct.nonConformingDoctype),x.treeAdapter.setDocumentMode(x.document,Ne),x.insertionMode=Vt.BEFORE_HTML}function yr(x,ee){x._err(ee,ct.missingDoctype,!0),x.treeAdapter.setDocumentMode(x.document,Et.QUIRKS),x.insertionMode=Vt.BEFORE_HTML,x._processToken(ee)}function Mr(x,ee){ee.tagID===de.HTML?(x._insertElement(ee,zt.HTML),x.insertionMode=Vt.BEFORE_HEAD):oa(x,ee)}function Ea(x,ee){const Ne=ee.tagID;(Ne===de.HTML||Ne===de.HEAD||Ne===de.BODY||Ne===de.BR)&&oa(x,ee)}function oa(x,ee){x._insertFakeRootElement(),x.insertionMode=Vt.BEFORE_HEAD,x._processToken(ee)}function Ca(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.HEAD:{x._insertElement(ee,zt.HTML),x.headElement=x.openElements.current,x.insertionMode=Vt.IN_HEAD;break}default:Da(x,ee)}}function Ha(x,ee){const Ne=ee.tagID;Ne===de.HEAD||Ne===de.BODY||Ne===de.HTML||Ne===de.BR?Da(x,ee):x._err(ee,ct.endTagWithoutMatchingOpenElement)}function Da(x,ee){x._insertFakeElement(ft.HEAD,de.HEAD),x.headElement=x.openElements.current,x.insertionMode=Vt.IN_HEAD,x._processToken(ee)}function Na(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:{x._appendElement(ee,zt.HTML),ee.ackSelfClosing=!0;break}case de.TITLE:{x._switchToTextParsing(ee,Kn.RCDATA);break}case de.NOSCRIPT:{x.options.scriptingEnabled?x._switchToTextParsing(ee,Kn.RAWTEXT):(x._insertElement(ee,zt.HTML),x.insertionMode=Vt.IN_HEAD_NO_SCRIPT);break}case de.NOFRAMES:case de.STYLE:{x._switchToTextParsing(ee,Kn.RAWTEXT);break}case de.SCRIPT:{x._switchToTextParsing(ee,Kn.SCRIPT_DATA);break}case de.TEMPLATE:{x._insertTemplate(ee),x.activeFormattingElements.insertMarker(),x.framesetOk=!1,x.insertionMode=Vt.IN_TEMPLATE,x.tmplInsertionModeStack.unshift(Vt.IN_TEMPLATE);break}case de.HEAD:{x._err(ee,ct.misplacedStartTagForHeadElement);break}default:Ma(x,ee)}}function Ua(x,ee){switch(ee.tagID){case de.HEAD:{x.openElements.pop(),x.insertionMode=Vt.AFTER_HEAD;break}case de.BODY:case de.BR:case de.HTML:{Ma(x,ee);break}case de.TEMPLATE:{ga(x,ee);break}default:x._err(ee,ct.endTagWithoutMatchingOpenElement)}}function ga(x,ee){x.openElements.tmplCount>0?(x.openElements.generateImpliedEndTagsThoroughly(),x.openElements.currentTagId!==de.TEMPLATE&&x._err(ee,ct.closingOfElementWithOpenChildElements),x.openElements.popUntilTagNamePopped(de.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode()):x._err(ee,ct.endTagWithoutMatchingOpenElement)}function Ma(x,ee){x.openElements.pop(),x.insertionMode=Vt.AFTER_HEAD,x._processToken(ee)}function Qa(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BASEFONT:case de.BGSOUND:case de.HEAD:case de.LINK:case de.META:case de.NOFRAMES:case de.STYLE:{Na(x,ee);break}case de.NOSCRIPT:{x._err(ee,ct.nestedNoscriptInHead);break}default:Oi(x,ee)}}function Ri(x,ee){switch(ee.tagID){case de.NOSCRIPT:{x.openElements.pop(),x.insertionMode=Vt.IN_HEAD;break}case de.BR:{Oi(x,ee);break}default:x._err(ee,ct.endTagWithoutMatchingOpenElement)}}function Oi(x,ee){const Ne=ee.type===vn.EOF?ct.openElementsLeftAfterEof:ct.disallowedContentInNoscriptInHead;x._err(ee,Ne),x.openElements.pop(),x.insertionMode=Vt.IN_HEAD,x._processToken(ee)}function ui(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BODY:{x._insertElement(ee,zt.HTML),x.framesetOk=!1,x.insertionMode=Vt.IN_BODY;break}case de.FRAMESET:{x._insertElement(ee,zt.HTML),x.insertionMode=Vt.IN_FRAMESET;break}case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:case de.NOFRAMES:case de.SCRIPT:case de.STYLE:case de.TEMPLATE:case de.TITLE:{x._err(ee,ct.abandonedHeadElementChild),x.openElements.push(x.headElement,de.HEAD),Na(x,ee),x.openElements.remove(x.headElement);break}case de.HEAD:{x._err(ee,ct.misplacedStartTagForHeadElement);break}default:ai(x,ee)}}function ti(x,ee){switch(ee.tagID){case de.BODY:case de.HTML:case de.BR:{ai(x,ee);break}case de.TEMPLATE:{ga(x,ee);break}default:x._err(ee,ct.endTagWithoutMatchingOpenElement)}}function ai(x,ee){x._insertFakeElement(ft.BODY,de.BODY),x.insertionMode=Vt.IN_BODY,Or(x,ee)}function Or(x,ee){switch(ee.type){case vn.CHARACTER:{gi(x,ee);break}case vn.WHITESPACE_CHARACTER:{mi(x,ee);break}case vn.COMMENT:{tr(x,ee);break}case vn.START_TAG:{Hi(x,ee);break}case vn.END_TAG:{ko(x,ee);break}case vn.EOF:{as(x,ee);break}default:}}function mi(x,ee){x._reconstructActiveFormattingElements(),x._insertCharacters(ee)}function gi(x,ee){x._reconstructActiveFormattingElements(),x._insertCharacters(ee),x.framesetOk=!1}function ha(x,ee){x.openElements.tmplCount===0&&x.treeAdapter.adoptAttributes(x.openElements.items[0],ee.attrs)}function $a(x,ee){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();Ne&&x.openElements.tmplCount===0&&(x.framesetOk=!1,x.treeAdapter.adoptAttributes(Ne,ee.attrs))}function qa(x,ee){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();x.framesetOk&&Ne&&(x.treeAdapter.detachNode(Ne),x.openElements.popAllUpToHtmlElement(),x._insertElement(ee,zt.HTML),x.insertionMode=Vt.IN_FRAMESET)}function Fa(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,zt.HTML)}function Ja(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x.openElements.currentTagId!==void 0&&Sr.has(x.openElements.currentTagId)&&x.openElements.pop(),x._insertElement(ee,zt.HTML)}function Ia(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,zt.HTML),x.skipNextNewLine=!0,x.framesetOk=!1}function wi(x,ee){const Ne=x.openElements.tmplCount>0;(!x.formElement||Ne)&&(x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,zt.HTML),Ne||(x.formElement=x.openElements.current))}function Bi(x,ee){x.framesetOk=!1;const Ne=ee.tagID;for(let Ot=x.openElements.stackTop;Ot>=0;Ot--){const Nn=x.openElements.tagIDs[Ot];if(Ne===de.LI&&Nn===de.LI||(Ne===de.DD||Ne===de.DT)&&(Nn===de.DD||Nn===de.DT)){x.openElements.generateImpliedEndTagsWithExclusion(Nn),x.openElements.popUntilTagNamePopped(Nn);break}if(Nn!==de.ADDRESS&&Nn!==de.DIV&&Nn!==de.P&&x._isSpecialElement(x.openElements.items[Ot],Nn))break}x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,zt.HTML)}function Fi(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,zt.HTML),x.tokenizer.state=Kn.PLAINTEXT}function Ti(x,ee){x.openElements.hasInScope(de.BUTTON)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(de.BUTTON)),x._reconstructActiveFormattingElements(),x._insertElement(ee,zt.HTML),x.framesetOk=!1}function so(x,ee){const Ne=x.activeFormattingElements.getElementEntryInScopeWithTagName(ft.A);Ne&&(fr(x,ee),x.openElements.remove(Ne.element),x.activeFormattingElements.removeEntry(Ne)),x._reconstructActiveFormattingElements(),x._insertElement(ee,zt.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function Va(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,zt.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function Aa(x,ee){x._reconstructActiveFormattingElements(),x.openElements.hasInScope(de.NOBR)&&(fr(x,ee),x._reconstructActiveFormattingElements()),x._insertElement(ee,zt.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function ja(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,zt.HTML),x.activeFormattingElements.insertMarker(),x.framesetOk=!1}function Pa(x,ee){x.treeAdapter.getDocumentMode(x.document)!==Et.QUIRKS&&x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,zt.HTML),x.framesetOk=!1,x.insertionMode=Vt.IN_TABLE}function gr(x,ee){x._reconstructActiveFormattingElements(),x._appendElement(ee,zt.HTML),x.framesetOk=!1,ee.ackSelfClosing=!0}function Oa(x){const ee=un(x,bn.TYPE);return ee!=null&&ee.toLowerCase()===sa}function ii(x,ee){x._reconstructActiveFormattingElements(),x._appendElement(ee,zt.HTML),Oa(ee)||(x.framesetOk=!1),ee.ackSelfClosing=!0}function Pi(x,ee){x._appendElement(ee,zt.HTML),ee.ackSelfClosing=!0}function Vi(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._appendElement(ee,zt.HTML),x.framesetOk=!1,ee.ackSelfClosing=!0}function Ai(x,ee){ee.tagName=ft.IMG,ee.tagID=de.IMG,gr(x,ee)}function Ui(x,ee){x._insertElement(ee,zt.HTML),x.skipNextNewLine=!0,x.tokenizer.state=Kn.RCDATA,x.originalInsertionMode=x.insertionMode,x.framesetOk=!1,x.insertionMode=Vt.TEXT}function ho(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._reconstructActiveFormattingElements(),x.framesetOk=!1,x._switchToTextParsing(ee,Kn.RAWTEXT)}function Ao(x,ee){x.framesetOk=!1,x._switchToTextParsing(ee,Kn.RAWTEXT)}function ki(x,ee){x._switchToTextParsing(ee,Kn.RAWTEXT)}function ro(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,zt.HTML),x.framesetOk=!1,x.insertionMode=x.insertionMode===Vt.IN_TABLE||x.insertionMode===Vt.IN_CAPTION||x.insertionMode===Vt.IN_TABLE_BODY||x.insertionMode===Vt.IN_ROW||x.insertionMode===Vt.IN_CELL?Vt.IN_SELECT_IN_TABLE:Vt.IN_SELECT}function vi(x,ee){x.openElements.currentTagId===de.OPTION&&x.openElements.pop(),x._reconstructActiveFormattingElements(),x._insertElement(ee,zt.HTML)}function Io(x,ee){x.openElements.hasInScope(de.RUBY)&&x.openElements.generateImpliedEndTags(),x._insertElement(ee,zt.HTML)}function fs(x,ee){x.openElements.hasInScope(de.RUBY)&&x.openElements.generateImpliedEndTagsWithExclusion(de.RTC),x._insertElement(ee,zt.HTML)}function Ys(x,ee){x._reconstructActiveFormattingElements(),mr(ee),Vr(ee),ee.selfClosing?x._appendElement(ee,zt.MATHML):x._insertElement(ee,zt.MATHML),ee.ackSelfClosing=!0}function Xs(x,ee){x._reconstructActiveFormattingElements(),Xr(ee),Vr(ee),ee.selfClosing?x._appendElement(ee,zt.SVG):x._insertElement(ee,zt.SVG),ee.ackSelfClosing=!0}function No(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,zt.HTML)}function Hi(x,ee){switch(ee.tagID){case de.I:case de.S:case de.B:case de.U:case de.EM:case de.TT:case de.BIG:case de.CODE:case de.FONT:case de.SMALL:case de.STRIKE:case de.STRONG:{Va(x,ee);break}case de.A:{so(x,ee);break}case de.H1:case de.H2:case de.H3:case de.H4:case de.H5:case de.H6:{Ja(x,ee);break}case de.P:case de.DL:case de.OL:case de.UL:case de.DIV:case de.DIR:case de.NAV:case de.MAIN:case de.MENU:case de.ASIDE:case de.CENTER:case de.FIGURE:case de.FOOTER:case de.HEADER:case de.HGROUP:case de.DIALOG:case de.DETAILS:case de.ADDRESS:case de.ARTICLE:case de.SEARCH:case de.SECTION:case de.SUMMARY:case de.FIELDSET:case de.BLOCKQUOTE:case de.FIGCAPTION:{Fa(x,ee);break}case de.LI:case de.DD:case de.DT:{Bi(x,ee);break}case de.BR:case de.IMG:case de.WBR:case de.AREA:case de.EMBED:case de.KEYGEN:{gr(x,ee);break}case de.HR:{Vi(x,ee);break}case de.RB:case de.RTC:{Io(x,ee);break}case de.RT:case de.RP:{fs(x,ee);break}case de.PRE:case de.LISTING:{Ia(x,ee);break}case de.XMP:{ho(x,ee);break}case de.SVG:{Xs(x,ee);break}case de.HTML:{ha(x,ee);break}case de.BASE:case de.LINK:case de.META:case de.STYLE:case de.TITLE:case de.SCRIPT:case de.BGSOUND:case de.BASEFONT:case de.TEMPLATE:{Na(x,ee);break}case de.BODY:{$a(x,ee);break}case de.FORM:{wi(x,ee);break}case de.NOBR:{Aa(x,ee);break}case de.MATH:{Ys(x,ee);break}case de.TABLE:{Pa(x,ee);break}case de.INPUT:{ii(x,ee);break}case de.PARAM:case de.TRACK:case de.SOURCE:{Pi(x,ee);break}case de.IMAGE:{Ai(x,ee);break}case de.BUTTON:{Ti(x,ee);break}case de.APPLET:case de.OBJECT:case de.MARQUEE:{ja(x,ee);break}case de.IFRAME:{Ao(x,ee);break}case de.SELECT:{ro(x,ee);break}case de.OPTION:case de.OPTGROUP:{vi(x,ee);break}case de.NOEMBED:case de.NOFRAMES:{ki(x,ee);break}case de.FRAMESET:{qa(x,ee);break}case de.TEXTAREA:{Ui(x,ee);break}case de.NOSCRIPT:{x.options.scriptingEnabled?ki(x,ee):No(x,ee);break}case de.PLAINTEXT:{Fi(x,ee);break}case de.COL:case de.TH:case de.TD:case de.TR:case de.HEAD:case de.FRAME:case de.TBODY:case de.TFOOT:case de.THEAD:case de.CAPTION:case de.COLGROUP:break;default:No(x,ee)}}function mo(x,ee){if(x.openElements.hasInScope(de.BODY)&&(x.insertionMode=Vt.AFTER_BODY,x.options.sourceCodeLocationInfo)){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();Ne&&x._setEndLocation(Ne,ee)}}function Qs(x,ee){x.openElements.hasInScope(de.BODY)&&(x.insertionMode=Vt.AFTER_BODY,hs(x,ee))}function qs(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(Ne))}function bs(x){const ee=x.openElements.tmplCount>0,{formElement:Ne}=x;ee||(x.formElement=null),(Ne||ee)&&x.openElements.hasInScope(de.FORM)&&(x.openElements.generateImpliedEndTags(),ee?x.openElements.popUntilTagNamePopped(de.FORM):Ne&&x.openElements.remove(Ne))}function Js(x){x.openElements.hasInButtonScope(de.P)||x._insertFakeElement(ft.P,de.P),x._closePElement()}function ni(x){x.openElements.hasInListItemScope(de.LI)&&(x.openElements.generateImpliedEndTagsWithExclusion(de.LI),x.openElements.popUntilTagNamePopped(de.LI))}function ns(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTagsWithExclusion(Ne),x.openElements.popUntilTagNamePopped(Ne))}function rs(x){x.openElements.hasNumberedHeaderInScope()&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilNumberedHeaderPopped())}function $o(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(Ne),x.activeFormattingElements.clearToLastMarker())}function ys(x){x._reconstructActiveFormattingElements(),x._insertFakeElement(ft.BR,de.BR),x.openElements.pop(),x.framesetOk=!1}function Ds(x,ee){const Ne=ee.tagName,Ot=ee.tagID;for(let Nn=x.openElements.stackTop;Nn>0;Nn--){const cr=x.openElements.items[Nn],Fr=x.openElements.tagIDs[Nn];if(Ot===Fr&&(Ot!==de.UNKNOWN||x.treeAdapter.getTagName(cr)===Ne)){x.openElements.generateImpliedEndTagsWithExclusion(Ot),x.openElements.stackTop>=Nn&&x.openElements.shortenToLength(Nn);break}if(x._isSpecialElement(cr,Fr))break}}function ko(x,ee){switch(ee.tagID){case de.A:case de.B:case de.I:case de.S:case de.U:case de.EM:case de.TT:case de.BIG:case de.CODE:case de.FONT:case de.NOBR:case de.SMALL:case de.STRIKE:case de.STRONG:{fr(x,ee);break}case de.P:{Js(x);break}case de.DL:case de.UL:case de.OL:case de.DIR:case de.DIV:case de.NAV:case de.PRE:case de.MAIN:case de.MENU:case de.ASIDE:case de.BUTTON:case de.CENTER:case de.FIGURE:case de.FOOTER:case de.HEADER:case de.HGROUP:case de.DIALOG:case de.ADDRESS:case de.ARTICLE:case de.DETAILS:case de.SEARCH:case de.SECTION:case de.SUMMARY:case de.LISTING:case de.FIELDSET:case de.BLOCKQUOTE:case de.FIGCAPTION:{qs(x,ee);break}case de.LI:{ni(x);break}case de.DD:case de.DT:{ns(x,ee);break}case de.H1:case de.H2:case de.H3:case de.H4:case de.H5:case de.H6:{rs(x);break}case de.BR:{ys(x);break}case de.BODY:{mo(x,ee);break}case de.HTML:{Qs(x,ee);break}case de.FORM:{bs(x);break}case de.APPLET:case de.OBJECT:case de.MARQUEE:{$o(x,ee);break}case de.TEMPLATE:{ga(x,ee);break}default:Ds(x,ee)}}function as(x,ee){x.tmplInsertionModeStack.length>0?Bs(x,ee):lr(x,ee)}function Ls(x,ee){var Ne;ee.tagID===de.SCRIPT&&((Ne=x.scriptHandler)===null||Ne===void 0||Ne.call(x,x.openElements.current)),x.openElements.pop(),x.insertionMode=x.originalInsertionMode}function jo(x,ee){x._err(ee,ct.eofInElementThatCanContainOnlyText),x.openElements.pop(),x.insertionMode=x.originalInsertionMode,x.onEof(ee)}function Qi(x,ee){if(x.openElements.currentTagId!==void 0&&ra.has(x.openElements.currentTagId))switch(x.pendingCharacterTokens.length=0,x.hasNonWhitespacePendingCharacterToken=!1,x.originalInsertionMode=x.insertionMode,x.insertionMode=Vt.IN_TABLE_TEXT,ee.type){case vn.CHARACTER:{Do(x,ee);break}case vn.WHITESPACE_CHARACTER:{lo(x,ee);break}}else Ki(x,ee)}function ci(x,ee){x.openElements.clearBackToTableContext(),x.activeFormattingElements.insertMarker(),x._insertElement(ee,zt.HTML),x.insertionMode=Vt.IN_CAPTION}function Ya(x,ee){x.openElements.clearBackToTableContext(),x._insertElement(ee,zt.HTML),x.insertionMode=Vt.IN_COLUMN_GROUP}function qi(x,ee){x.openElements.clearBackToTableContext(),x._insertFakeElement(ft.COLGROUP,de.COLGROUP),x.insertionMode=Vt.IN_COLUMN_GROUP,Co(x,ee)}function ao(x,ee){x.openElements.clearBackToTableContext(),x._insertElement(ee,zt.HTML),x.insertionMode=Vt.IN_TABLE_BODY}function Gi(x,ee){x.openElements.clearBackToTableContext(),x._insertFakeElement(ft.TBODY,de.TBODY),x.insertionMode=Vt.IN_TABLE_BODY,So(x,ee)}function zi(x,ee){x.openElements.hasInTableScope(de.TABLE)&&(x.openElements.popUntilTagNamePopped(de.TABLE),x._resetInsertionMode(),x._processStartTag(ee))}function yo(x,ee){Oa(ee)?x._appendElement(ee,zt.HTML):Ki(x,ee),ee.ackSelfClosing=!0}function Eo(x,ee){!x.formElement&&x.openElements.tmplCount===0&&(x._insertElement(ee,zt.HTML),x.formElement=x.openElements.current,x.openElements.pop())}function go(x,ee){switch(ee.tagID){case de.TD:case de.TH:case de.TR:{Gi(x,ee);break}case de.STYLE:case de.SCRIPT:case de.TEMPLATE:{Na(x,ee);break}case de.COL:{qi(x,ee);break}case de.FORM:{Eo(x,ee);break}case de.TABLE:{zi(x,ee);break}case de.TBODY:case de.TFOOT:case de.THEAD:{ao(x,ee);break}case de.INPUT:{yo(x,ee);break}case de.CAPTION:{ci(x,ee);break}case de.COLGROUP:{Ya(x,ee);break}default:Ki(x,ee)}}function Ji(x,ee){switch(ee.tagID){case de.TABLE:{x.openElements.hasInTableScope(de.TABLE)&&(x.openElements.popUntilTagNamePopped(de.TABLE),x._resetInsertionMode());break}case de.TEMPLATE:{ga(x,ee);break}case de.BODY:case de.CAPTION:case de.COL:case de.COLGROUP:case de.HTML:case de.TBODY:case de.TD:case de.TFOOT:case de.TH:case de.THEAD:case de.TR:break;default:Ki(x,ee)}}function Ki(x,ee){const Ne=x.fosterParentingEnabled;x.fosterParentingEnabled=!0,Or(x,ee),x.fosterParentingEnabled=Ne}function lo(x,ee){x.pendingCharacterTokens.push(ee)}function Do(x,ee){x.pendingCharacterTokens.push(ee),x.hasNonWhitespacePendingCharacterToken=!0}function Ko(x,ee){let Ne=0;if(x.hasNonWhitespacePendingCharacterToken)for(;Ne0&&x.openElements.currentTagId===de.OPTION&&x.openElements.tagIDs[x.openElements.stackTop-1]===de.OPTGROUP&&x.openElements.pop(),x.openElements.currentTagId===de.OPTGROUP&&x.openElements.pop();break}case de.OPTION:{x.openElements.currentTagId===de.OPTION&&x.openElements.pop();break}case de.SELECT:{x.openElements.hasInSelectScope(de.SELECT)&&(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode());break}case de.TEMPLATE:{ga(x,ee);break}default:}}function Es(x,ee){const Ne=ee.tagID;Ne===de.CAPTION||Ne===de.TABLE||Ne===de.TBODY||Ne===de.TFOOT||Ne===de.THEAD||Ne===de.TR||Ne===de.TD||Ne===de.TH?(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode(),x._processStartTag(ee)):Ms(x,ee)}function pl(x,ee){const Ne=ee.tagID;Ne===de.CAPTION||Ne===de.TABLE||Ne===de.TBODY||Ne===de.TFOOT||Ne===de.THEAD||Ne===de.TR||Ne===de.TD||Ne===de.TH?x.openElements.hasInTableScope(Ne)&&(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode(),x.onEndTag(ee)):Ps(x,ee)}function hl(x,ee){switch(ee.tagID){case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:case de.NOFRAMES:case de.SCRIPT:case de.STYLE:case de.TEMPLATE:case de.TITLE:{Na(x,ee);break}case de.CAPTION:case de.COLGROUP:case de.TBODY:case de.TFOOT:case de.THEAD:{x.tmplInsertionModeStack[0]=Vt.IN_TABLE,x.insertionMode=Vt.IN_TABLE,go(x,ee);break}case de.COL:{x.tmplInsertionModeStack[0]=Vt.IN_COLUMN_GROUP,x.insertionMode=Vt.IN_COLUMN_GROUP,Co(x,ee);break}case de.TR:{x.tmplInsertionModeStack[0]=Vt.IN_TABLE_BODY,x.insertionMode=Vt.IN_TABLE_BODY,So(x,ee);break}case de.TD:case de.TH:{x.tmplInsertionModeStack[0]=Vt.IN_ROW,x.insertionMode=Vt.IN_ROW,tl(x,ee);break}default:x.tmplInsertionModeStack[0]=Vt.IN_BODY,x.insertionMode=Vt.IN_BODY,Hi(x,ee)}}function is(x,ee){ee.tagID===de.TEMPLATE&&ga(x,ee)}function Bs(x,ee){x.openElements.tmplCount>0?(x.openElements.popUntilTagNamePopped(de.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode(),x.onEof(ee)):lr(x,ee)}function Ss(x,ee){ee.tagID===de.HTML?Hi(x,ee):ms(x,ee)}function hs(x,ee){var Ne;if(ee.tagID===de.HTML){if(x.fragmentContext||(x.insertionMode=Vt.AFTER_AFTER_BODY),x.options.sourceCodeLocationInfo&&x.openElements.tagIDs[0]===de.HTML){x._setEndLocation(x.openElements.items[0],ee);const Ot=x.openElements.items[1];Ot&&!(!((Ne=x.treeAdapter.getNodeSourceCodeLocation(Ot))===null||Ne===void 0)&&Ne.endTag)&&x._setEndLocation(Ot,ee)}}else ms(x,ee)}function ms(x,ee){x.insertionMode=Vt.IN_BODY,Or(x,ee)}function xs(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.FRAMESET:{x._insertElement(ee,zt.HTML);break}case de.FRAME:{x._appendElement(ee,zt.HTML),ee.ackSelfClosing=!0;break}case de.NOFRAMES:{Na(x,ee);break}default:}}function al(x,ee){ee.tagID===de.FRAMESET&&!x.openElements.isRootHtmlElementCurrent()&&(x.openElements.pop(),!x.fragmentContext&&x.openElements.currentTagId!==de.FRAMESET&&(x.insertionMode=Vt.AFTER_FRAMESET))}function il(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.NOFRAMES:{Na(x,ee);break}default:}}function ml(x,ee){ee.tagID===de.HTML&&(x.insertionMode=Vt.AFTER_AFTER_FRAMESET)}function ol(x,ee){ee.tagID===de.HTML?Hi(x,ee):Cs(x,ee)}function Cs(x,ee){x.insertionMode=Vt.IN_BODY,Or(x,ee)}function Lo(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.NOFRAMES:{Na(x,ee);break}default:}}function ws(x,ee){ee.chars=$e,x._insertCharacters(ee)}function Fs(x,ee){x._insertCharacters(ee),x.framesetOk=!1}function Xo(x){for(;x.treeAdapter.getNamespaceURI(x.openElements.current)!==zt.HTML&&x.openElements.currentTagId!==void 0&&!x._isIntegrationPoint(x.openElements.currentTagId,x.openElements.current);)x.openElements.pop()}function _s(x,ee){if(Dr(ee))Xo(x),x._startTagOutsideForeignContent(ee);else{const Ne=x._getAdjustedCurrentElement(),Ot=x.treeAdapter.getNamespaceURI(Ne);Ot===zt.MATHML?mr(ee):Ot===zt.SVG&&(Zr(ee),Xr(ee)),Vr(ee),ee.selfClosing?x._appendElement(ee,Ot):x._insertElement(ee,Ot),ee.ackSelfClosing=!0}}function bo(x,ee){if(ee.tagID===de.P||ee.tagID===de.BR){Xo(x),x._endTagOutsideForeignContent(ee);return}for(let Ne=x.openElements.stackTop;Ne>0;Ne--){const Ot=x.openElements.items[Ne];if(x.treeAdapter.getNamespaceURI(Ot)===zt.HTML){x._endTagOutsideForeignContent(ee);break}const Nn=x.treeAdapter.getTagName(Ot);if(Nn.toLowerCase()===ee.tagName){ee.tagName=Nn,x.openElements.shortenToLength(Ne);break}}}const Us=/["$&'<>\u0080-\uFFFF]/g,jt=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Ts=String.prototype.codePointAt==null?(x,ee)=>(x.charCodeAt(ee)&64512)===55296?(x.charCodeAt(ee)-55296)*1024+x.charCodeAt(ee+1)-56320+65536:x.charCodeAt(ee):(x,ee)=>x.codePointAt(ee);function Qo(x){let ee="",Ne=0,Ot;for(;(Ot=Us.exec(x))!==null;){const{index:Nn}=Ot,cr=x.charCodeAt(Nn),Fr=jt.get(cr);Fr===void 0?(ee+=`${x.substring(Ne,Nn)}&#x${Ts(x,Nn).toString(16)};`,Ne=Us.lastIndex+=+((cr&64512)===55296)):(ee+=x.substring(Ne,Nn)+Fr,Ne=Nn+1)}return ee+x.substr(Ne)}const sl=null;function qo(x,ee){return function(Ot){let Nn,cr=0,Fr="";for(;Nn=x.exec(Ot);)cr!==Nn.index&&(Fr+=Ot.substring(cr,Nn.index)),Fr+=ee.get(Nn[0].charCodeAt(0)),cr=Nn.index+1;return Fr+Ot.substring(cr)}}const Jo=null,ll=qo(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Go=qo(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),_l=new Set([ft.AREA,ft.BASE,ft.BASEFONT,ft.BGSOUND,ft.BR,ft.COL,ft.EMBED,ft.FRAME,ft.HR,ft.IMG,ft.INPUT,ft.KEYGEN,ft.LINK,ft.META,ft.PARAM,ft.SOURCE,ft.TRACK,ft.WBR]);function io(x,ee){return ee.treeAdapter.isElementNode(x)&&ee.treeAdapter.getNamespaceURI(x)===NS.HTML&&_l.has(ee.treeAdapter.getTagName(x))}const os={treeAdapter:Ft,scriptingEnabled:!0};function au(x,ee){const Ne=Xa(Xa({},os),ee);return io(x,Ne)?"":zs(x,Ne)}function gl(x,ee){const Ne=Xa(Xa({},os),ee);return Hs(x,Ne)}function zs(x,ee){let Ne="";const Ot=ee.treeAdapter.isElementNode(x)&&ee.treeAdapter.getTagName(x)===$.TEMPLATE&&ee.treeAdapter.getNamespaceURI(x)===NS.HTML?ee.treeAdapter.getTemplateContent(x):x,Nn=ee.treeAdapter.getChildNodes(Ot);if(Nn)for(const cr of Nn)Ne+=Hs(cr,ee);return Ne}function Hs(x,ee){return ee.treeAdapter.isElementNode(x)?Ul(x,ee):ee.treeAdapter.isTextNode(x)?Ae(x,ee):ee.treeAdapter.isCommentNode(x)?ke(x,ee):ee.treeAdapter.isDocumentTypeNode(x)?ze(x,ee):""}function Ul(x,ee){const Ne=ee.treeAdapter.getTagName(x);return`<${Ne}${se(x,ee)}>${io(x,ee)?"":`${zs(x,ee)}`}`}function se(x,{treeAdapter:ee}){let Ne="";for(const Ot of ee.getAttrList(x)){if(Ne+=" ",Ot.namespace)switch(Ot.namespace){case NS.XML:{Ne+=`xml:${Ot.name}`;break}case NS.XMLNS:{Ot.name!=="xmlns"&&(Ne+="xmlns:"),Ne+=Ot.name;break}case NS.XLINK:{Ne+=`xlink:${Ot.name}`;break}default:Ne+=`${Ot.prefix}:${Ot.name}`}else Ne+=Ot.name;Ne+=`="${escapeAttribute(Ot.value)}"`}return Ne}function Ae(x,ee){const{treeAdapter:Ne}=ee,Ot=Ne.getTextNodeContent(x),Nn=Ne.getParentNode(x),cr=Nn&&Ne.isElementNode(Nn)&&Ne.getTagName(Nn);return cr&&Ne.getNamespaceURI(Nn)===NS.HTML&&hasUnescapedText(cr,ee.scriptingEnabled)?Ot:escapeText(Ot)}function ke(x,{treeAdapter:ee}){return``}function ze(x,{treeAdapter:ee}){return``}function ht(x,ee){return Parser.parse(x,ee)}function bt(x,ee,Ne){typeof x=="string"&&(Ne=ee,ee=x,x=null);const Ot=Parser.getFragmentParser(x,Ne);return Ot.tokenizer.write(ee,!0),Ot.getFragment()}var Pt=y(17970),nn=y(28470);const zn=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Bn=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),yn={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Zn(x,ee){const Ne=Ci(x),Ot=_e("type",{handlers:{root:In,element:Ra,text:Ka,comment:di,doctype:pi,raw:La},unknown:_i}),Nn={parser:Ne?new pa(yn):pa.getFragmentParser(void 0,yn),handle(hn){Ot(hn,Nn)},stitches:!1,options:ee||{}};Ot(x,Nn),bi(Nn,(0,Pt.Pk)());const cr=Ne?Nn.parser.document:Nn.parser.getFragment(),Fr=je(cr,{file:Nn.options.file});return Nn.stitches&&(0,nn.Vn)(Fr,"comment",function(hn,Ta,fi){const Fn=hn;if(Fn.value.stitch&&fi&&Ta!==void 0){const eo=fi.children;return eo[Ta]=Fn.value.stitch,Ta}}),Fr.type==="root"&&Fr.children.length===1&&Fr.children[0].type===x.type?Fr.children[0]:Fr}function $n(x,ee){let Ne=-1;if(x)for(;++Ne4&&(ee.parser.tokenizer.state=0);const Ne={type:vn.CHARACTER,chars:x.value,location:Ii(x)};bi(ee,(0,Pt.Pk)(x)),ee.parser.currentToken=Ne,ee.parser._processToken(ee.parser.currentToken)}function pi(x,ee){const Ne={type:vn.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ii(x)};bi(ee,(0,Pt.Pk)(x)),ee.parser.currentToken=Ne,ee.parser._processToken(ee.parser.currentToken)}function ya(x,ee){ee.stitches=!0;const Ne=To(x);if("children"in x&&"children"in Ne){const Ot=Zn({type:"root",children:x.children},ee.options);Ne.children=Ot.children}di({type:"comment",value:{stitch:Ne}},ee)}function di(x,ee){const Ne=x.value,Ot={type:vn.COMMENT,data:Ne,location:Ii(x)};bi(ee,(0,Pt.Pk)(x)),ee.parser.currentToken=Ot,ee.parser._processToken(ee.parser.currentToken)}function La(x,ee){if(ee.parser.tokenizer.preprocessor.html="",ee.parser.tokenizer.preprocessor.pos=-1,ee.parser.tokenizer.preprocessor.lastGapPos=-2,ee.parser.tokenizer.preprocessor.gapStack=[],ee.parser.tokenizer.preprocessor.skipNextNewLine=!1,ee.parser.tokenizer.preprocessor.lastChunkWritten=!1,ee.parser.tokenizer.preprocessor.endOfChunkHit=!1,ee.parser.tokenizer.preprocessor.isEol=!1,qr(ee,(0,Pt.Pk)(x)),ee.parser.tokenizer.write(ee.options.tagfilter?x.value.replace(zn,"<$1$2"):x.value,!1),ee.parser.tokenizer._runParsingLoop(),ee.parser.tokenizer.state===72||ee.parser.tokenizer.state===78){ee.parser.tokenizer.preprocessor.lastChunkWritten=!0;const Ne=ee.parser.tokenizer._consume();ee.parser.tokenizer._callState(Ne)}}function _i(x,ee){const Ne=x;if(ee.options.passThrough&&ee.options.passThrough.includes(Ne.type))ya(Ne,ee);else{let Ot="";throw Bn.has(Ne.type)&&(Ot=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+Ne.type+"` node"+Ot)}}function bi(x,ee){qr(x,ee);const Ne=x.parser.tokenizer.currentCharacterToken;Ne&&Ne.location&&(Ne.location.endLine=x.parser.tokenizer.preprocessor.line,Ne.location.endCol=x.parser.tokenizer.preprocessor.col+1,Ne.location.endOffset=x.parser.tokenizer.preprocessor.offset+1,x.parser.currentToken=Ne,x.parser._processToken(x.parser.currentToken)),x.parser.tokenizer.paused=!1,x.parser.tokenizer.inLoop=!1,x.parser.tokenizer.active=!1,x.parser.tokenizer.returnState=Kn.DATA,x.parser.tokenizer.charRefCode=-1,x.parser.tokenizer.consumedAfterSnapshot=-1,x.parser.tokenizer.currentLocation=null,x.parser.tokenizer.currentCharacterToken=null,x.parser.tokenizer.currentToken=null,x.parser.tokenizer.currentAttr={name:"",value:""}}function qr(x,ee){if(ee&&ee.offset!==void 0){const Ne={startLine:ee.line,startCol:ee.column,startOffset:ee.offset,endLine:-1,endCol:-1,endOffset:-1};x.parser.tokenizer.preprocessor.lineStartPos=-ee.column+1,x.parser.tokenizer.preprocessor.droppedBufferSize=ee.offset,x.parser.tokenizer.preprocessor.line=ee.line,x.parser.tokenizer.currentLocation=Ne}}function xi(x,ee){const Ne=x.tagName.toLowerCase();if(ee.parser.tokenizer.state===Kn.PLAINTEXT)return;bi(ee,(0,Pt.Pk)(x));const Ot=ee.parser.openElements.current;let Nn="namespaceURI"in Ot?Ot.namespaceURI:Oe.t.html;Nn===Oe.t.html&&Ne==="svg"&&(Nn=Oe.t.svg);const cr=rt(kl(Xa({},x),{children:[]}),{space:Nn===Oe.t.svg?"svg":"html"}),Fr={type:vn.START_TAG,tagName:Ne,tagID:Un(Ne),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in cr?cr.attrs:[],location:Ii(x)};ee.parser.currentToken=Fr,ee.parser._processToken(ee.parser.currentToken),ee.parser.tokenizer.lastStartTagName=Ne}function yi(x,ee){const Ne=x.tagName.toLowerCase();if(!ee.parser.tokenizer.inForeignNode&&On.includes(Ne)||ee.parser.tokenizer.state===Kn.PLAINTEXT)return;bi(ee,(0,Pt.rb)(x));const Ot={type:vn.END_TAG,tagName:Ne,tagID:Un(Ne),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ii(x)};ee.parser.currentToken=Ot,ee.parser._processToken(ee.parser.currentToken),Ne===ee.parser.tokenizer.lastStartTagName&&(ee.parser.tokenizer.state===Kn.RCDATA||ee.parser.tokenizer.state===Kn.RAWTEXT||ee.parser.tokenizer.state===Kn.SCRIPT_DATA)&&(ee.parser.tokenizer.state=Kn.DATA)}function Ci(x){const ee=x.type==="root"?x.children[0]:x;return!!(ee&&(ee.type==="doctype"||ee.type==="element"&&ee.tagName.toLowerCase()==="html"))}function Ii(x){const ee=(0,Pt.Pk)(x)||{line:void 0,column:void 0,offset:void 0},Ne=(0,Pt.rb)(x)||{line:void 0,column:void 0,offset:void 0};return{startLine:ee.line,startCol:ee.column,startOffset:ee.offset,endLine:Ne.line,endCol:Ne.column,endOffset:Ne.offset}}function To(x){return"children"in x?(0,b.ZP)(kl(Xa({},x),{children:[]})):(0,b.ZP)(x)}function si(x){return function(ee,Ne){return Zn(ee,kl(Xa({},x),{file:Ne}))}}},3369:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return pe}});var b=y(91614);function he(be){(0,b.n)(be,[/\r?\n|\r/g,le])}function le(){return{type:"break"}}function pe(){return function(be){he(be)}}},55468:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Je}});var b=y(87342),he=y(52509);function le(){return{enter:{mathFlow:Ge,mathFlowFenceMeta:We,mathText:_e},exit:{mathFlow:He,mathFlowFence:Qe,mathFlowFenceMeta:Ve,mathFlowValue:tt,mathText:Ze,mathTextData:tt}};function Ge(gt){const rt={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[rt]}},gt)}function We(){this.buffer()}function Ve(){const gt=this.resume(),rt=this.stack[this.stack.length-1];(0,b.ok)(rt.type==="math"),rt.meta=gt}function Qe(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function He(gt){const rt=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),It=this.stack[this.stack.length-1];(0,b.ok)(It.type==="math"),this.exit(gt),It.value=rt;const mt=It.data.hChildren[0];(0,b.ok)(mt.type==="element"),(0,b.ok)(mt.tagName==="code"),mt.children.push({type:"text",value:rt}),this.data.mathFlowInside=void 0}function _e(gt){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},gt),this.buffer()}function Ze(gt){const rt=this.resume(),It=this.stack[this.stack.length-1];(0,b.ok)(It.type==="inlineMath"),this.exit(gt),It.value=rt,It.data.hChildren.push({type:"text",value:rt})}function tt(gt){this.config.enter.data.call(this,gt),this.config.exit.data.call(this,gt)}}function pe(Ge){let We=(Ge||{}).singleDollarTextMath;return We==null&&(We=!0),Qe.peek=He,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` -`,inConstruct:"mathFlowMeta"},{character:"$",after:We?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:Ve,inlineMath:Qe}};function Ve(_e,Ze,tt,gt){const rt=_e.value||"",It=tt.createTracker(gt),mt="$".repeat(Math.max((0,he.J)(rt,"$")+1,2)),ut=tt.enter("mathFlow");let Tt=It.move(mt);if(_e.meta){const _t=tt.enter("mathFlowMeta");Tt+=It.move(tt.safe(_e.meta,Xa({after:` -`,before:Tt,encode:["$"]},It.current()))),_t()}return Tt+=It.move(` -`),rt&&(Tt+=It.move(rt+` -`)),Tt+=It.move(mt),ut(),Tt}function Qe(_e,Ze,tt){let gt=_e.value||"",rt=1;for(We||rt++;new RegExp("(^|[^$])"+"\\$".repeat(rt)+"([^$]|$)").test(gt);)rt++;const It="$".repeat(rt);/[^ \r\n]/.test(gt)&&(/^[ \r\n]/.test(gt)&&/[ \r\n]$/.test(gt)||/^\$|\$$/.test(gt))&&(gt=" "+gt+" ");let mt=-1;for(;++mttypeof Re=="object"&&Re!=null&&Re.nodeType===1,he=(Re,xe)=>(!xe||Re!=="hidden")&&Re!=="visible"&&Re!=="clip",le=(Re,xe)=>{if(Re.clientHeight{const xt=(nt=>{if(!nt.ownerDocument||!nt.ownerDocument.defaultView)return null;try{return nt.ownerDocument.defaultView.frameElement}catch(et){return null}})(Fe);return!!xt&&(xt.clientHeightntxe||nt>Re&&et=xe&&Je>=je?nt-Re-Fe:et>xe&&Jeje?et-xe+xt:0,be=Re=>{const xe=Re.parentElement;return xe==null?Re.getRootNode().host||null:xe},fe=(Re,xe)=>{var je,Fe,xt,nt;if(typeof document=="undefined")return[];const{scrollMode:et,block:Je,inline:Ge,boundary:We,skipOverflowHiddenElements:Ve}=xe,Qe=typeof We=="function"?We:on=>on!==We;if(!b(Re))throw new TypeError("Invalid target");const He=document.scrollingElement||document.documentElement,_e=[];let Ze=Re;for(;b(Ze)&&Qe(Ze);){if(Ze=be(Ze),Ze===He){_e.push(Ze);break}Ze!=null&&Ze===document.body&&le(Ze)&&!le(document.documentElement)||Ze!=null&&le(Ze,Ve)&&_e.push(Ze)}const tt=(Fe=(je=window.visualViewport)==null?void 0:je.width)!=null?Fe:innerWidth,gt=(nt=(xt=window.visualViewport)==null?void 0:xt.height)!=null?nt:innerHeight,{scrollX:rt,scrollY:It}=window,{height:mt,width:ut,top:Tt,right:_t,bottom:Ke,left:Rt}=Re.getBoundingClientRect(),{top:Nt,right:Kt,bottom:On,left:wt}=(on=>{const it=window.getComputedStyle(on);return{top:parseFloat(it.scrollMarginTop)||0,right:parseFloat(it.scrollMarginRight)||0,bottom:parseFloat(it.scrollMarginBottom)||0,left:parseFloat(it.scrollMarginLeft)||0}})(Re);let $e=Je==="start"||Je==="nearest"?Tt-Nt:Je==="end"?Ke+On:Tt+mt/2-Nt+On,Ee=Ge==="center"?Rt+ut/2-wt+Kt:Ge==="end"?_t+Kt:Rt-wt;const en=[];for(let on=0;on<_e.length;on++){const it=_e[on],{height:Ht,width:Yt,top:Rn,right:ct,bottom:Sn,left:Zt}=it.getBoundingClientRect();if(et==="if-needed"&&Tt>=0&&Rt>=0&&Ke<=gt&&_t<=tt&&(it===He&&!le(it)||Tt>=Rn&&Ke<=Sn&&Rt>=Zt&&_t<=ct))return en;const vn=getComputedStyle(it),un=parseInt(vn.borderLeftWidth,10),De=parseInt(vn.borderTopWidth,10),me=parseInt(vn.borderRightWidth,10),ce=parseInt(vn.borderBottomWidth,10);let Te=0,Ue=0;const ge="offsetWidth"in it?it.offsetWidth-it.clientWidth-un-me:0,Me="offsetHeight"in it?it.offsetHeight-it.clientHeight-De-ce:0,ot="offsetWidth"in it?it.offsetWidth===0?0:Yt/it.offsetWidth:0,Qt="offsetHeight"in it?it.offsetHeight===0?0:Ht/it.offsetHeight:0;if(He===it)Te=Je==="start"?$e:Je==="end"?$e-gt:Je==="nearest"?pe(It,It+gt,gt,De,ce,It+$e,It+$e+mt,mt):$e-gt/2,Ue=Ge==="start"?Ee:Ge==="center"?Ee-tt/2:Ge==="end"?Ee-tt:pe(rt,rt+tt,tt,un,me,rt+Ee,rt+Ee+ut,ut),Te=Math.max(0,Te+It),Ue=Math.max(0,Ue+rt);else{Te=Je==="start"?$e-Rn-De:Je==="end"?$e-Sn+ce+Me:Je==="nearest"?pe(Rn,Sn,Ht,De,ce+Me,$e,$e+mt,mt):$e-(Rn+Ht/2)+Me/2,Ue=Ge==="start"?Ee-Zt-un:Ge==="center"?Ee-(Zt+Yt/2)+ge/2:Ge==="end"?Ee-ct+me+ge:pe(Zt,ct,Yt,un,me+ge,Ee,Ee+ut,ut);const{scrollLeft:At,scrollTop:vt}=it;Te=Qt===0?0:Math.max(0,Math.min(vt+Te/Qt,it.scrollHeight-Ht/Qt+Me)),Ue=ot===0?0:Math.max(0,Math.min(At+Ue/ot,it.scrollWidth-Yt/ot+ge)),$e+=vt-Te,Ee+=At-Ue}en.push({el:it,top:Te,left:Ue})}return en},we=Re=>Re===!1?{block:"end",inline:"nearest"}:(xe=>xe===Object(xe)&&Object.keys(xe).length!==0)(Re)?Re:{block:"start",inline:"nearest"};function Oe(Re,xe){if(!Re.isConnected||!(xt=>{let nt=xt;for(;nt&&nt.parentNode;){if(nt.parentNode===document)return!0;nt=nt.parentNode instanceof ShadowRoot?nt.parentNode.host:nt.parentNode}return!1})(Re))return;const je=(xt=>{const nt=window.getComputedStyle(xt);return{top:parseFloat(nt.scrollMarginTop)||0,right:parseFloat(nt.scrollMarginRight)||0,bottom:parseFloat(nt.scrollMarginBottom)||0,left:parseFloat(nt.scrollMarginLeft)||0}})(Re);if((xt=>typeof xt=="object"&&typeof xt.behavior=="function")(xe))return xe.behavior(fe(Re,xe));const Fe=typeof xe=="boolean"||xe==null?void 0:xe.behavior;for(const{el:xt,top:nt,left:et}of fe(Re,we(xe))){const Je=nt-je.top+je.bottom,Ge=et-je.left+je.right;xt.scroll({top:Je,left:Ge,behavior:Fe})}}},71523:function(Ce,ae,y){"use strict";y.d(ae,{P:function(){return he},Q:function(){return b}});function b(le){const pe=String(le||"").trim();return pe?pe.split(/[ \t\n\r\f]+/g):[]}function he(le){return le.join(" ").trim()}},33511:function(Ce,ae,y){"use strict";y.d(ae,{O:function(){return he}});const b=function(Re,xe,je,Fe,xt){const nt=he(xe);if(je!=null&&(typeof je!="number"||je<0||je===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(Fe!=null&&(!b(Fe)||!Fe.children))throw new Error("Expected parent node");if(Fe==null!=(je==null))throw new Error("Expected both parent and index");return Oe(Re)?nt.call(xt,Re,je,Fe):!1},he=function(Re){if(Re==null)return we;if(typeof Re=="function")return fe(Re);if(typeof Re=="object")return Array.isArray(Re)?le(Re):pe(Re);if(typeof Re=="string")return be(Re);throw new Error("Expected function, string, or object as test")};function le(Re){const xe=[];let je=-1;for(;++je0&&typeof Oe.column=="number"&&Oe.column>0)return{line:Oe.line,column:Oe.column,offset:typeof Oe.offset=="number"&&Oe.offset>-1?Oe.offset:void 0}}}function pe(be){const fe=he(be),we=b(be);if(fe&&we)return{start:fe,end:we}}},19453:function(Ce,ae,y){"use strict";y.d(ae,{BK:function(){return be},AM:function(){return fe},S4:function(){return we}});var b=y(33511);function he(Re){return Re}const le=[],pe=!0,be=!1,fe="skip";function we(Re,xe,je,Fe){let xt;typeof xe=="function"&&typeof je!="function"?(Fe=je,je=xe):xt=xe;const nt=(0,b.O)(xt),et=Fe?-1:1;Je(Re,void 0,[])();function Je(Ge,We,Ve){const Qe=Ge&&typeof Ge=="object"?Ge:{};if(typeof Qe.type=="string"){const _e=typeof Qe.tagName=="string"?Qe.tagName:typeof Qe.name=="string"?Qe.name:void 0;Object.defineProperty(He,"name",{value:"node ("+(Ge.type+(_e?"<"+_e+">":""))+")"})}return He;function He(){let _e=le,Ze,tt,gt;if((!xe||nt(Ge,We,Ve[Ve.length-1]||void 0))&&(_e=Oe(je(Ge,Ve)),_e[0]===be))return _e;if("children"in Ge&&Ge.children){const rt=Ge;if(rt.children&&_e[0]!==fe)for(tt=(Fe?rt.children.length:-1)+et,gt=Ve.concat(rt);tt>-1&&tt","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(Ce){"use strict";Ce.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]); +|(?![\\s\\S])))+`,"m"),alias:be,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(le)[0]}}}}),Object.defineProperty(b.languages.diff,"PREFIXES",{value:me})})(y)}},32126:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="django",me.aliases=["jinja2"];function me(le){le.register(b),function(pe){pe.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var be=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,fe=pe.languages["markup-templating"];pe.hooks.add("before-tokenize",function(we){fe.buildPlaceholders(we,"django",be)}),pe.hooks.add("after-tokenize",function(we){fe.tokenizePlaceholders(we,"django")}),pe.languages.jinja2=pe.languages.django,pe.hooks.add("before-tokenize",function(we){fe.buildPlaceholders(we,"jinja2",be)}),pe.hooks.add("after-tokenize",function(we){fe.tokenizePlaceholders(we,"jinja2")})}(le)}},26737:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dnsZoneFile",ae.aliases=[];function ae(y){y.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},y.languages["dns-zone"]=y.languages["dns-zone-file"]}},90134:function(Ce){"use strict";Ce.exports=ae,ae.displayName="docker",ae.aliases=["dockerfile"];function ae(y){(function(b){var me=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,le=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return me}),pe=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,be=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return pe}),fe={pattern:RegExp(pe),greedy:!0},we={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function Oe(Re,xe){return Re=Re.replace(//g,function(){return be}).replace(//g,function(){return le}),RegExp(Re,xe)}b.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:Oe(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[fe,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:Oe(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:Oe(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:we,string:fe,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:we},b.languages.dockerfile=b.languages.docker})(y)}},51348:function(Ce){"use strict";Ce.exports=ae,ae.displayName="dot",ae.aliases=["gv"];function ae(y){(function(b){var me="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",le={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:b.languages.markup}};function pe(be,fe){return RegExp(be.replace(//g,function(){return me}),fe)}b.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:pe(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:le},"attr-value":{pattern:pe(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:le},"attr-name":{pattern:pe(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:le},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:pe(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:le},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},b.languages.gv=b.languages.dot})(y)}},60841:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ebnf",ae.aliases=[];function ae(y){y.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}},42857:function(Ce){"use strict";Ce.exports=ae,ae.displayName="editorconfig",ae.aliases=[];function ae(y){y.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}},81269:function(Ce){"use strict";Ce.exports=ae,ae.displayName="eiffel",ae.aliases=[];function ae(y){y.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}},31134:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="ejs",me.aliases=["eta"];function me(le){le.register(b),function(pe){pe.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:pe.languages.javascript}},pe.hooks.add("before-tokenize",function(be){var fe=/<%(?!%)[\s\S]+?%>/g;pe.languages["markup-templating"].buildPlaceholders(be,"ejs",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"ejs")}),pe.languages.eta=pe.languages.ejs}(le)}},83125:function(Ce){"use strict";Ce.exports=ae,ae.displayName="elixir",ae.aliases=[];function ae(y){y.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},y.languages.elixir.string.forEach(function(b){b.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:y.languages.elixir}}}})}},9438:function(Ce){"use strict";Ce.exports=ae,ae.displayName="elm",ae.aliases=[];function ae(y){y.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}},27771:function(Ce,ae,y){"use strict";var b=y(75308),me=y(51478);Ce.exports=le,le.displayName="erb",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){be.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:be.languages.ruby}},be.hooks.add("before-tokenize",function(fe){var we=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;be.languages["markup-templating"].buildPlaceholders(fe,"erb",we)}),be.hooks.add("after-tokenize",function(fe){be.languages["markup-templating"].tokenizePlaceholders(fe,"erb")})}(pe)}},86549:function(Ce){"use strict";Ce.exports=ae,ae.displayName="erlang",ae.aliases=[];function ae(y){y.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}},37079:function(Ce,ae,y){"use strict";var b=y(33978),me=y(51478);Ce.exports=le,le.displayName="etlua",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){be.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:be.languages.lua}},be.hooks.add("before-tokenize",function(fe){var we=/<%[\s\S]+?%>/g;be.languages["markup-templating"].buildPlaceholders(fe,"etlua",we)}),be.hooks.add("after-tokenize",function(fe){be.languages["markup-templating"].tokenizePlaceholders(fe,"etlua")})}(pe)}},59250:function(Ce){"use strict";Ce.exports=ae,ae.displayName="excelFormula",ae.aliases=[];function ae(y){y.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},y.languages.xlsx=y.languages.xls=y.languages["excel-formula"]}},81226:function(Ce){"use strict";Ce.exports=ae,ae.displayName="factor",ae.aliases=[];function ae(y){(function(b){var me={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},le={number:/\\[^\s']|%\w/},pe={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:me},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:me},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:me}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:le.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:le}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:le}},be=function(Re){return(Re+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},fe=function(Re){return new RegExp("(^|\\s)(?:"+Re.map(be).join("|")+")(?=\\s|$)")},we={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(we).forEach(function(Re){pe[Re].pattern=fe(we[Re])});var Oe=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];pe.combinators.pattern=fe(Oe),b.languages.factor=pe})(y)}},65245:function(Ce){"use strict";Ce.exports=ae,ae.displayName="$false",ae.aliases=[];function ae(y){(function(b){b.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete y.languages["firestore-security-rules"]["class-name"],y.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}},40284:function(Ce){"use strict";Ce.exports=ae,ae.displayName="flow",ae.aliases=[];function ae(y){(function(b){b.languages.flow=b.languages.extend("javascript",{}),b.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),b.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete b.languages.flow.parameter,b.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(b.languages.flow.keyword)||(b.languages.flow.keyword=[b.languages.flow.keyword]),b.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(y)}},39187:function(Ce){"use strict";Ce.exports=ae,ae.displayName="fortran",ae.aliases=[];function ae(y){y.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}},34302:function(Ce){"use strict";Ce.exports=ae,ae.displayName="fsharp",ae.aliases=[];function ae(y){y.languages.fsharp=y.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),y.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),y.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),y.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:y.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}},90515:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="ftl",me.aliases=[];function me(le){le.register(b),function(pe){for(var be=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,fe=0;fe<2;fe++)be=be.replace(//g,function(){return be});be=be.replace(//g,/[^\s\S]/.source);var we={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return be})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return be})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};we.string[1].inside.interpolation.inside.rest=we,pe.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:we}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:we}}}},pe.hooks.add("before-tokenize",function(Oe){var Re=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return be}),"gi");pe.languages["markup-templating"].buildPlaceholders(Oe,"ftl",Re)}),pe.hooks.add("after-tokenize",function(Oe){pe.languages["markup-templating"].tokenizePlaceholders(Oe,"ftl")})}(le)}},33534:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gap",ae.aliases=[];function ae(y){y.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},y.languages.gap.shell.inside.gap.inside=y.languages.gap}},9885:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gcode",ae.aliases=[];function ae(y){y.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}},76364:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gdscript",ae.aliases=[];function ae(y){y.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}},56452:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gedcom",ae.aliases=[];function ae(y){y.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}},8477:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gherkin",ae.aliases=[];function ae(y){(function(b){var me=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;b.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+me+")(?:"+me+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(me),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(y)}},58230:function(Ce){"use strict";Ce.exports=ae,ae.displayName="git",ae.aliases=[];function ae(y){y.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}},66192:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="glsl",me.aliases=[];function me(le){le.register(b),le.languages.glsl=le.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}},81084:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gml",ae.aliases=[];function ae(y){y.languages.gamemakerlanguage=y.languages.gml=y.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}},50318:function(Ce){"use strict";Ce.exports=ae,ae.displayName="gn",ae.aliases=["gni"];function ae(y){y.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},y.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=y.languages.gn,y.languages.gni=y.languages.gn}},95769:function(Ce){"use strict";Ce.exports=ae,ae.displayName="goModule",ae.aliases=[];function ae(y){y.languages["go-mod"]=y.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}},14155:function(Ce){"use strict";Ce.exports=ae,ae.displayName="go",ae.aliases=[];function ae(y){y.languages.go=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),y.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete y.languages.go["class-name"]}},92823:function(Ce){"use strict";Ce.exports=ae,ae.displayName="graphql",ae.aliases=[];function ae(y){y.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:y.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},y.hooks.add("after-tokenize",function(me){if(me.language!=="graphql")return;var le=me.tokens.filter(function(Je){return typeof Je!="string"&&Je.type!=="comment"&&Je.type!=="scalar"}),pe=0;function be(Je){return le[pe+Je]}function fe(Je,We){We=We||0;for(var Ve=0;Ve0)){var At=we(/^\{$/,/^\}$/);if(At===-1)continue;for(var at=pe;at=0&&Oe(tt,"variable-input")}}}}})}},63092:function(Ce){"use strict";Ce.exports=ae,ae.displayName="groovy",ae.aliases=[];function ae(y){y.languages.groovy=y.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),y.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),y.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),y.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),y.hooks.add("wrap",function(b){if(b.language==="groovy"&&b.type==="string"){var me=b.content.value[0];if(me!="'"){var le=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;me==="$"&&(le=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),b.content.value=b.content.value.replace(/</g,"<").replace(/&/g,"&"),b.content=y.highlight(b.content.value,{expression:{pattern:le,lookbehind:!0,inside:y.languages.groovy}}),b.classes.push(me==="/"?"regex":"gstring")}}})}},21550:function(Ce,ae,y){"use strict";var b=y(75308);Ce.exports=me,me.displayName="haml",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:pe.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:pe.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:pe.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:pe.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:pe.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:pe.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:pe.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var be="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",fe=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],we={},Oe=0,Re=fe.length;Oe@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},pe.hooks.add("before-tokenize",function(be){var fe=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;pe.languages["markup-templating"].buildPlaceholders(be,"handlebars",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"handlebars")}),pe.languages.hbs=pe.languages.handlebars}(le)}},2050:function(Ce){"use strict";Ce.exports=ae,ae.displayName="haskell",ae.aliases=["hs"];function ae(y){y.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},y.languages.hs=y.languages.haskell}},67967:function(Ce){"use strict";Ce.exports=ae,ae.displayName="haxe",ae.aliases=[];function ae(y){y.languages.haxe=y.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),y.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:y.languages.haxe}}},string:/[\s\S]+/}}}),y.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),y.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}},29138:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hcl",ae.aliases=[];function ae(y){y.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}},67915:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="hlsl",me.aliases=[];function me(le){le.register(b),le.languages.hlsl=le.languages.extend("c",{"class-name":[le.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}},54853:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hoon",ae.aliases=[];function ae(y){y.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}},68330:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hpkp",ae.aliases=[];function ae(y){y.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},76823:function(Ce){"use strict";Ce.exports=ae,ae.displayName="hsts",ae.aliases=[];function ae(y){y.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}},86712:function(Ce){"use strict";Ce.exports=ae,ae.displayName="http",ae.aliases=[];function ae(y){(function(b){function me(xe){return RegExp("(^(?:"+xe+"):[ ]*(?![ ]))[^]+","i")}b.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:b.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:me(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:b.languages.csp},{pattern:me(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:b.languages.hpkp},{pattern:me(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:b.languages.hsts},{pattern:me(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var le=b.languages,pe={"application/javascript":le.javascript,"application/json":le.json||le.javascript,"application/xml":le.xml,"text/xml":le.xml,"text/html":le.html,"text/css":le.css,"text/plain":le.plain},be={"application/json":!0,"application/xml":!0};function fe(xe){var Ge=xe.replace(/^[a-z]+\//,""),Fe="\\w+/(?:[\\w.-]+\\+)+"+Ge+"(?![+\\w.-])";return"(?:"+xe+"|"+Fe+")"}var we;for(var Oe in pe)if(pe[Oe]){we=we||{};var Re=be[Oe]?fe(Oe):Oe;we[Oe.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+Re+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:pe[Oe]}}we&&b.languages.insertBefore("http","header",we)})(y)}},72252:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ichigojam",ae.aliases=[];function ae(y){y.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}},78634:function(Ce){"use strict";Ce.exports=ae,ae.displayName="icon",ae.aliases=[];function ae(y){y.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}},43583:function(Ce){"use strict";Ce.exports=ae,ae.displayName="icuMessageFormat",ae.aliases=[];function ae(y){(function(b){function me(Oe,Re){return Re<=0?/[]/.source:Oe.replace(//g,function(){return me(Oe,Re-1)})}var le=/'[{}:=,](?:[^']|'')*'(?!')/,pe={pattern:/''/,greedy:!0,alias:"operator"},be={pattern:le,greedy:!0,inside:{escape:pe}},fe=me(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return le.source}),8),we={pattern:RegExp(fe),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};b.languages["icu-message-format"]={argument:{pattern:RegExp(fe),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":we,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":we,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+me(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:pe,string:be},we.inside.message.inside=b.languages["icu-message-format"],b.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=b.languages["icu-message-format"]})(y)}},23328:function(Ce,ae,y){"use strict";var b=y(2050);Ce.exports=me,me.displayName="idris",me.aliases=["idr"];function me(le){le.register(b),le.languages.idris=le.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),le.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),le.languages.idr=le.languages.idris}},74494:function(Ce){"use strict";Ce.exports=ae,ae.displayName="iecst",ae.aliases=[];function ae(y){y.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}},46745:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ignore",ae.aliases=["gitignore","hgignore","npmignore"];function ae(y){(function(b){b.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},b.languages.gitignore=b.languages.ignore,b.languages.hgignore=b.languages.ignore,b.languages.npmignore=b.languages.ignore})(y)}},22152:function(Ce){"use strict";Ce.exports=ae,ae.displayName="inform7",ae.aliases=[];function ae(y){y.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},y.languages.inform7.string.inside.substitution.inside.rest=y.languages.inform7,y.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}},83698:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ini",ae.aliases=[];function ae(y){y.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}},26619:function(Ce){"use strict";Ce.exports=ae,ae.displayName="io",ae.aliases=[];function ae(y){y.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}},7093:function(Ce){"use strict";Ce.exports=ae,ae.displayName="java",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,le=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,pe={pattern:RegExp(le+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};b.languages.java=b.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[pe,{pattern:RegExp(le+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:pe.inside}],keyword:me,function:[b.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),b.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),b.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":pe,keyword:me,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return me.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(y)}},4005:function(Ce,ae,y){"use strict";var b=y(7093),me=y(53510);Ce.exports=le,le.displayName="javadoc",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){var fe=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,we=/#\s*\w+(?:\s*\([^()]*\))?/.source,Oe=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return we});be.languages.javadoc=be.languages.extend("javadoclike",{}),be.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+Oe+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:be.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:fe,lookbehind:!0,inside:be.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:fe,lookbehind:!0,inside:{tag:be.languages.markup.tag,entity:be.languages.markup.entity,code:{pattern:/.+/,inside:be.languages.java,alias:"language-java"}}}}}],tag:be.languages.markup.tag,entity:be.languages.markup.entity}),be.languages.javadoclike.addSupport("java",be.languages.javadoc)}(pe)}},53510:function(Ce){"use strict";Ce.exports=ae,ae.displayName="javadoclike",ae.aliases=[];function ae(y){(function(b){var me=b.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function le(be,fe){var we="doc-comment",Oe=b.languages[be];if(Oe){var Re=Oe[we];if(!Re){var xe={};xe[we]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},Oe=b.languages.insertBefore(be,"comment",xe),Re=Oe[we]}if(Re instanceof RegExp&&(Re=Oe[we]={pattern:Re}),Array.isArray(Re))for(var Ge=0,Fe=Re.length;Ge|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),y.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,y.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:y.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:y.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:y.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:y.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),y.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:y.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),y.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),y.languages.markup&&(y.languages.markup.tag.addInlined("script","javascript"),y.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),y.languages.js=y.languages.javascript}},24799:function(Ce){"use strict";Ce.exports=ae,ae.displayName="javastacktrace",ae.aliases=[];function ae(y){y.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}},97443:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jexl",ae.aliases=[];function ae(y){y.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}},80746:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jolie",ae.aliases=[];function ae(y){y.languages.jolie=y.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),y.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}},17015:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jq",ae.aliases=[];function ae(y){(function(b){var me=/\\\((?:[^()]|\([^()]*\))*\)/.source,le=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return me})),pe={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+me),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},be=b.languages.jq={comment:/#.*/,property:{pattern:RegExp(le.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:pe},string:{pattern:le,lookbehind:!0,greedy:!0,inside:pe},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};pe.interpolation.inside.content.inside=be})(y)}},89246:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsExtras",ae.aliases=[];function ae(y){(function(b){b.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+b.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),b.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+b.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),b.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function me(Oe,Re){return RegExp(Oe.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),Re)}b.languages.insertBefore("javascript","keyword",{imports:{pattern:me(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:b.languages.javascript},exports:{pattern:me(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:b.languages.javascript}}),b.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),b.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),b.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:me(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var le=["function","function-variable","method","method-variable","property-access"],pe=0;pe=_e.length)return;var it=nt[bt];if(typeof it=="string"||typeof it.content=="string"){var Nt=_e[Ve],vt=typeof it=="string"?it:it.content,dt=vt.indexOf(Nt);if(dt!==-1){++Ve;var It=vt.substring(0,dt),St=xe(Ze[Nt]),qe=vt.substring(dt+Nt.length),Jt=[];if(It&&Jt.push(It),Jt.push(St),qe){var Rt=[qe];$e(Rt),Jt.push.apply(Jt,Rt)}typeof it=="string"?(nt.splice.apply(nt,[bt,1].concat(Jt)),bt+=Jt.length-1):it.content=Jt}}else{var Zt=it.content;Array.isArray(Zt)?$e(Zt):$e([Zt])}}}return $e(ze),new b.Token(Je,ze,"language-"+Je,at)}var Fe={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};b.hooks.add("after-tokenize",function(at){if(!(at.language in Fe))return;function tt(Je){for(var We=0,Ve=Je.length;We\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return we})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+we),lookbehind:!0,inside:{string:fe.string,number:fe.number,boolean:fe.boolean,keyword:be.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:fe,alias:"language-javascript"}}}}),be.languages.javadoclike.addSupport("javascript",be.languages.jsdoc)}(pe)}},15628:function(Ce){"use strict";Ce.exports=ae,ae.displayName="json",ae.aliases=["webmanifest"];function ae(y){y.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},y.languages.webmanifest=y.languages.json}},14320:function(Ce,ae,y){"use strict";var b=y(15628);Ce.exports=me,me.displayName="json5",me.aliases=[];function me(le){le.register(b),function(pe){var be=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;pe.languages.json5=pe.languages.extend("json",{property:[{pattern:RegExp(be.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:be,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(le)}},73222:function(Ce,ae,y){"use strict";var b=y(15628);Ce.exports=me,me.displayName="jsonp",me.aliases=[];function me(le){le.register(b),le.languages.jsonp=le.languages.extend("json",{punctuation:/[{}[\]();,.]/}),le.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}},92486:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsstacktrace",ae.aliases=[];function ae(y){y.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}},24103:function(Ce){"use strict";Ce.exports=ae,ae.displayName="jsx",ae.aliases=[];function ae(y){(function(b){var me=b.util.clone(b.languages.javascript),le=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,pe=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,be=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function fe(Re,xe){return Re=Re.replace(//g,function(){return le}).replace(//g,function(){return pe}).replace(//g,function(){return be}),RegExp(Re,xe)}be=fe(be).source,b.languages.jsx=b.languages.extend("markup",me),b.languages.jsx.tag.pattern=fe(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),b.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,b.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,b.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,b.languages.jsx.tag.inside.comment=me.comment,b.languages.insertBefore("inside","attr-name",{spread:{pattern:fe(//.source),inside:b.languages.jsx}},b.languages.jsx.tag),b.languages.insertBefore("inside","special-attr",{script:{pattern:fe(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:b.languages.jsx}}},b.languages.jsx.tag);var we=function(Re){return Re?typeof Re=="string"?Re:typeof Re.content=="string"?Re.content:Re.content.map(we).join(""):""},Oe=function(Re){for(var xe=[],Ge=0;Ge0&&xe[xe.length-1].tagName===we(Fe.content[0].content[1])&&xe.pop():Fe.content[Fe.content.length-1].content==="/>"||xe.push({tagName:we(Fe.content[0].content[1]),openedBraces:0}):xe.length>0&&Fe.type==="punctuation"&&Fe.content==="{"?xe[xe.length-1].openedBraces++:xe.length>0&&xe[xe.length-1].openedBraces>0&&Fe.type==="punctuation"&&Fe.content==="}"?xe[xe.length-1].openedBraces--:At=!0),(At||typeof Fe=="string")&&xe.length>0&&xe[xe.length-1].openedBraces===0){var at=we(Fe);Ge0&&(typeof Re[Ge-1]=="string"||Re[Ge-1].type==="plain-text")&&(at=we(Re[Ge-1])+at,Re.splice(Ge-1,1),Ge--),Re[Ge]=new b.Token("plain-text",at,null,at)}Fe.content&&typeof Fe.content!="string"&&Oe(Fe.content)}};b.hooks.add("after-tokenize",function(Re){Re.language!=="jsx"&&Re.language!=="tsx"||Oe(Re.tokens)})})(y)}},40604:function(Ce){"use strict";Ce.exports=ae,ae.displayName="julia",ae.aliases=[];function ae(y){y.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}},23109:function(Ce){"use strict";Ce.exports=ae,ae.displayName="keepalived",ae.aliases=[];function ae(y){y.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}},32082:function(Ce){"use strict";Ce.exports=ae,ae.displayName="keyman",ae.aliases=[];function ae(y){y.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}},77674:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kotlin",ae.aliases=["kt","kts"];function ae(y){(function(b){b.languages.kotlin=b.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete b.languages.kotlin["class-name"];var me={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:b.languages.kotlin}};b.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:me},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:me},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete b.languages.kotlin.string,b.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),b.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),b.languages.kt=b.languages.kotlin,b.languages.kts=b.languages.kotlin})(y)}},37524:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kumir",ae.aliases=["kum"];function ae(y){(function(b){var me=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function le(pe,be){return RegExp(pe.replace(//g,me),be)}b.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:le(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:le(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:le(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:le(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:le(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:le(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:le(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:le(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},b.languages.kum=b.languages.kumir})(y)}},6658:function(Ce){"use strict";Ce.exports=ae,ae.displayName="kusto",ae.aliases=[];function ae(y){y.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}},24824:function(Ce){"use strict";Ce.exports=ae,ae.displayName="latex",ae.aliases=["tex","context"];function ae(y){(function(b){var me=/\\(?:[^a-z()[\]]|[a-z*]+)/i,le={"equation-command":{pattern:me,alias:"regex"}};b.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:le,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:le,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:me,alias:"selector"},punctuation:/[[\]{}&]/},b.languages.tex=b.languages.latex,b.languages.context=b.languages.latex})(y)}},22776:function(Ce,ae,y){"use strict";var b=y(51478),me=y(53852);Ce.exports=le,le.displayName="latte",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){be.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:be.languages.php}};var fe=be.languages.extend("markup",{});be.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:be.languages.php}}}}}},fe.tag),be.hooks.add("before-tokenize",function(we){if(we.language==="latte"){var Oe=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;be.languages["markup-templating"].buildPlaceholders(we,"latte",Oe),we.grammar=fe}}),be.hooks.add("after-tokenize",function(we){be.languages["markup-templating"].tokenizePlaceholders(we,"latte")})}(pe)}},89700:function(Ce){"use strict";Ce.exports=ae,ae.displayName="less",ae.aliases=[];function ae(y){y.languages.less=y.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),y.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}},99296:function(Ce,ae,y){"use strict";var b=y(48780);Ce.exports=me,me.displayName="lilypond",me.aliases=[];function me(le){le.register(b),function(pe){for(var be=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,fe=5,we=0;we/g,function(){return be});be=be.replace(//g,/[^\s\S]/.source);var Oe=pe.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return be}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:pe.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};Oe["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=Oe,pe.languages.ly=Oe}(le)}},39940:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="liquid",me.aliases=[];function me(le){le.register(b),le.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},le.hooks.add("before-tokenize",function(pe){var be=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,fe=!1;le.languages["markup-templating"].buildPlaceholders(pe,"liquid",be,function(we){var Oe=/^\{%-?\s*(\w+)/.exec(we);if(Oe){var Re=Oe[1];if(Re==="raw"&&!fe)return fe=!0,!0;if(Re==="endraw")return fe=!1,!0}return!fe})}),le.hooks.add("after-tokenize",function(pe){le.languages["markup-templating"].tokenizePlaceholders(pe,"liquid")})}},34973:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lisp",ae.aliases=[];function ae(y){(function(b){function me(at){return RegExp(/(\()/.source+"(?:"+at+")"+/(?=[\s\)])/.source)}function le(at){return RegExp(/([\s([])/.source+"(?:"+at+")"+/(?=[\s)])/.source)}var pe=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,be="&"+pe,fe="(\\()",we="(?=\\))",Oe="(?=\\s)",Re=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,xe={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+pe+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+pe),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+pe),alias:"property"},splice:{pattern:RegExp(",@?"+pe),alias:["symbol","variable"]},keyword:[{pattern:RegExp(fe+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+Oe),lookbehind:!0},{pattern:RegExp(fe+"(?:append|by|collect|concat|do|finally|for|in|return)"+Oe),lookbehind:!0}],declare:{pattern:me(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:me(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:le(/nil|t/.source),lookbehind:!0},number:{pattern:le(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(fe+"def(?:const|custom|group|var)\\s+"+pe),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(pe)}},defun:{pattern:RegExp(fe+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+pe+/\s+\(/.source+Re+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+pe),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(fe+"lambda\\s+\\(\\s*(?:&?"+pe+"(?:\\s+&?"+pe+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(fe+pe),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},Ge={"lisp-marker":RegExp(be),varform:{pattern:RegExp(/\(/.source+pe+/\s+(?=\S)/.source+Re+/\)/.source),inside:xe},argument:{pattern:RegExp(/(^|[\s(])/.source+pe),lookbehind:!0,alias:"variable"},rest:xe},Fe="\\S+(?:\\s+\\S+)*",At={pattern:RegExp(fe+Re+we),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+Fe),inside:Ge},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+Fe),inside:Ge},keys:{pattern:RegExp("&key\\s+"+Fe+"(?:\\s+&allow-other-keys)?"),inside:Ge},argument:{pattern:RegExp(pe),alias:"variable"},punctuation:/[()]/}};xe.lambda.inside.arguments=At,xe.defun.inside.arguments=b.util.clone(At),xe.defun.inside.arguments.inside.sublist=At,b.languages.lisp=xe,b.languages.elisp=xe,b.languages.emacs=xe,b.languages["emacs-lisp"]=xe})(y)}},98135:function(Ce){"use strict";Ce.exports=ae,ae.displayName="livescript",ae.aliases=[];function ae(y){y.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},y.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=y.languages.livescript}},36907:function(Ce){"use strict";Ce.exports=ae,ae.displayName="llvm",ae.aliases=[];function ae(y){(function(b){b.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(y)}},3567:function(Ce){"use strict";Ce.exports=ae,ae.displayName="log",ae.aliases=[];function ae(y){y.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:y.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}},23763:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lolcode",ae.aliases=[];function ae(y){y.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}},33978:function(Ce){"use strict";Ce.exports=ae,ae.displayName="lua",ae.aliases=[];function ae(y){y.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}},40472:function(Ce){"use strict";Ce.exports=ae,ae.displayName="magma",ae.aliases=[];function ae(y){y.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}},44695:function(Ce){"use strict";Ce.exports=ae,ae.displayName="makefile",ae.aliases=[];function ae(y){y.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}},98096:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markdown",ae.aliases=["md"];function ae(y){(function(b){var me=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function le(Ge){return Ge=Ge.replace(//g,function(){return me}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+Ge+")")}var pe=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,be=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return pe}),fe=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;b.languages.markdown=b.languages.extend("markup",{}),b.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:b.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+be+fe+"(?:"+be+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+be+fe+")(?:"+be+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(pe),inside:b.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+be+")"+fe+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+be+"$"),inside:{"table-header":{pattern:RegExp(pe),alias:"important",inside:b.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:le(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:le(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:le(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:le(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(Ge){["url","bold","italic","strike","code-snippet"].forEach(function(Fe){Ge!==Fe&&(b.languages.markdown[Ge].inside.content.inside[Fe]=b.languages.markdown[Fe])})}),b.hooks.add("after-tokenize",function(Ge){if(Ge.language!=="markdown"&&Ge.language!=="md")return;function Fe(At){if(!(!At||typeof At=="string"))for(var at=0,tt=At.length;at",quot:'"'},Re=String.fromCodePoint||String.fromCharCode;function xe(Ge){var Fe=Ge.replace(we,"");return Fe=Fe.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(At,at){if(at=at.toLowerCase(),at[0]==="#"){var tt;return at[1]==="x"?tt=parseInt(at.slice(2),16):tt=Number(at.slice(1)),Re(tt)}else{var Je=Oe[at];return Je||At}}),Fe}b.languages.md=b.languages.markdown})(y)}},51478:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markupTemplating",ae.aliases=[];function ae(y){(function(b){function me(le,pe){return"___"+le.toUpperCase()+pe+"___"}Object.defineProperties(b.languages["markup-templating"]={},{buildPlaceholders:{value:function(le,pe,be,fe){if(le.language===pe){var we=le.tokenStack=[];le.code=le.code.replace(be,function(Oe){if(typeof fe=="function"&&!fe(Oe))return Oe;for(var Re=we.length,xe;le.code.indexOf(xe=me(pe,Re))!==-1;)++Re;return we[Re]=Oe,xe}),le.grammar=b.languages.markup}}},tokenizePlaceholders:{value:function(le,pe){if(le.language!==pe||!le.tokenStack)return;le.grammar=b.languages[pe];var be=0,fe=Object.keys(le.tokenStack);function we(Oe){for(var Re=0;Re=fe.length);Re++){var xe=Oe[Re];if(typeof xe=="string"||xe.content&&typeof xe.content=="string"){var Ge=fe[be],Fe=le.tokenStack[Ge],At=typeof xe=="string"?xe:xe.content,at=me(pe,Ge),tt=At.indexOf(at);if(tt>-1){++be;var Je=At.substring(0,tt),We=new b.Token(pe,b.tokenize(Fe,le.grammar),"language-"+pe,Fe),Ve=At.substring(tt+at.length),Ze=[];Je&&Ze.push.apply(Ze,we([Je])),Ze.push(We),Ve&&Ze.push.apply(Ze,we([Ve])),typeof xe=="string"?Oe.splice.apply(Oe,[Re,1].concat(Ze)):xe.content=Ze}}else xe.content&&we(xe.content)}return Oe}we(le.tokens)}}})})(y)}},70614:function(Ce){"use strict";Ce.exports=ae,ae.displayName="markup",ae.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function ae(y){y.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},y.languages.markup.tag.inside["attr-value"].inside.entity=y.languages.markup.entity,y.languages.markup.doctype.inside["internal-subset"].inside=y.languages.markup,y.hooks.add("wrap",function(b){b.type==="entity"&&(b.attributes.title=b.content.value.replace(/&/,"&"))}),Object.defineProperty(y.languages.markup.tag,"addInlined",{value:function(me,le){var pe={};pe["language-"+le]={pattern:/(^$)/i,lookbehind:!0,inside:y.languages[le]},pe.cdata=/^$/i;var be={"included-cdata":{pattern://i,inside:pe}};be["language-"+le]={pattern:/[\s\S]+/,inside:y.languages[le]};var fe={};fe[me]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return me}),"i"),lookbehind:!0,greedy:!0,inside:be},y.languages.insertBefore("markup","cdata",fe)}}),Object.defineProperty(y.languages.markup.tag,"addAttribute",{value:function(b,me){y.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+b+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[me,"language-"+me],inside:y.languages[me]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),y.languages.html=y.languages.markup,y.languages.mathml=y.languages.markup,y.languages.svg=y.languages.markup,y.languages.xml=y.languages.extend("markup",{}),y.languages.ssml=y.languages.xml,y.languages.atom=y.languages.xml,y.languages.rss=y.languages.xml}},16928:function(Ce){"use strict";Ce.exports=ae,ae.displayName="matlab",ae.aliases=[];function ae(y){y.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}},13586:function(Ce){"use strict";Ce.exports=ae,ae.displayName="maxscript",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;b.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+me.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+me.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:me,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(y)}},37164:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mel",ae.aliases=[];function ae(y){y.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|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|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|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|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)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},y.languages.mel.code.inside.rest=y.languages.mel}},25153:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mermaid",ae.aliases=[];function ae(y){y.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}},33245:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mizar",ae.aliases=[];function ae(y){y.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}},32218:function(Ce){"use strict";Ce.exports=ae,ae.displayName="mongodb",ae.aliases=[];function ae(y){(function(b){var me=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],le=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];me=me.map(function(be){return be.replace("$","\\$")});var pe="(?:"+me.join("|")+")\\b";b.languages.mongodb=b.languages.extend("javascript",{}),b.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+pe+"(?:\\1)?$")}}}),b.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},b.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+le.join("|")+")\\b"),alias:"keyword"}})})(y)}},65626:function(Ce){"use strict";Ce.exports=ae,ae.displayName="monkey",ae.aliases=[];function ae(y){y.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}},60090:function(Ce){"use strict";Ce.exports=ae,ae.displayName="moonscript",ae.aliases=["moon"];function ae(y){y.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},y.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=y.languages.moonscript,y.languages.moon=y.languages.moonscript}},40722:function(Ce){"use strict";Ce.exports=ae,ae.displayName="n1ql",ae.aliases=[];function ae(y){y.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}},37783:function(Ce){"use strict";Ce.exports=ae,ae.displayName="n4js",ae.aliases=["n4jsd"];function ae(y){y.languages.n4js=y.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),y.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),y.languages.n4jsd=y.languages.n4js}},41224:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nand2tetrisHdl",ae.aliases=[];function ae(y){y.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}},71365:function(Ce){"use strict";Ce.exports=ae,ae.displayName="naniscript",ae.aliases=[];function ae(y){(function(b){var me=/\{[^\r\n\[\]{}]*\}/,le={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:me,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};b.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:me,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:le}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:me,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:le},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},b.languages.nani=b.languages.naniscript,b.hooks.add("after-tokenize",function(fe){var we=fe.tokens;we.forEach(function(Oe){if(typeof Oe!="string"&&Oe.type==="generic-text"){var Re=be(Oe);pe(Re)||(Oe.type="bad-line",Oe.content=Re)}})});function pe(fe){for(var we="[]{}",Oe=[],Re=0;Re=&|$!]/}}},32964:function(Ce){"use strict";Ce.exports=ae,ae.displayName="neon",ae.aliases=[];function ae(y){y.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}},78830:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nevod",ae.aliases=[];function ae(y){y.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}},88799:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nginx",ae.aliases=[];function ae(y){(function(b){var me=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;b.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:me}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:me}},punctuation:/[{};]/}})(y)}},66791:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nim",ae.aliases=[];function ae(y){y.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}},41735:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nix",ae.aliases=[];function ae(y){y.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},y.languages.nix.string.inside.interpolation.inside=y.languages.nix}},13490:function(Ce){"use strict";Ce.exports=ae,ae.displayName="nsis",ae.aliases=[];function ae(y){y.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?: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|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}},7383:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="objectivec",me.aliases=["objc"];function me(le){le.register(b),le.languages.objectivec=le.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete le.languages.objectivec["class-name"],le.languages.objc=le.languages.objectivec}},66894:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ocaml",ae.aliases=[];function ae(y){y.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}},45779:function(Ce,ae,y){"use strict";var b=y(79440);Ce.exports=me,me.displayName="opencl",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.opencl=pe.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),pe.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var be={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};pe.languages.insertBefore("c","keyword",be),pe.languages.cpp&&(be["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},pe.languages.insertBefore("cpp","keyword",be))}(le)}},27734:function(Ce){"use strict";Ce.exports=ae,ae.displayName="openqasm",ae.aliases=["qasm"];function ae(y){y.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},y.languages.qasm=y.languages.openqasm}},91889:function(Ce){"use strict";Ce.exports=ae,ae.displayName="oz",ae.aliases=[];function ae(y){y.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}},55965:function(Ce){"use strict";Ce.exports=ae,ae.displayName="parigp",ae.aliases=[];function ae(y){y.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var b=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return b=b.map(function(me){return me.split("").join(" *")}).join("|"),RegExp("\\b(?:"+b+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}},37326:function(Ce){"use strict";Ce.exports=ae,ae.displayName="parser",ae.aliases=[];function ae(y){(function(b){var me=b.languages.parser=b.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});me=b.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:me.keyword,variable:me.variable,function:me.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:me.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:me.punctuation}}}),b.languages.insertBefore("inside","punctuation",{expression:me.expression,keyword:me.keyword,variable:me.variable,function:me.function,escape:me.escape,"parser-punctuation":{pattern:me.punctuation,alias:"punctuation"}},me.tag.inside["attr-value"])})(y)}},92949:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pascal",ae.aliases=["objectpascal"];function ae(y){y.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},y.languages.pascal.asm.inside=y.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),y.languages.objectpascal=y.languages.pascal}},5681:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pascaligo",ae.aliases=[];function ae(y){(function(b){var me=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,le=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return me}),pe=b.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return le}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return le}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return le})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},be=["comment","keyword","builtin","operator","punctuation"].reduce(function(fe,we){return fe[we]=pe[we],fe},{});pe["class-name"].forEach(function(fe){fe.inside=be})})(y)}},70696:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pcaxis",ae.aliases=["px"];function ae(y){y.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},y.languages.px=y.languages.pcaxis}},35790:function(Ce){"use strict";Ce.exports=ae,ae.displayName="peoplecode",ae.aliases=["pcode"];function ae(y){y.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},y.languages.pcode=y.languages.peoplecode}},25777:function(Ce){"use strict";Ce.exports=ae,ae.displayName="perl",ae.aliases=[];function ae(y){(function(b){var me=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;b.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,me].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,me].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,me+/\s*/.source+me].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(y)}},65889:function(Ce,ae,y){"use strict";var b=y(53852);Ce.exports=me,me.displayName="phpExtras",me.aliases=[];function me(le){le.register(b),le.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}},53852:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="php",me.aliases=[];function me(le){le.register(b),function(pe){var be=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,fe=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],we=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,Oe=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,Re=/[{}\[\](),:;]/;pe.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:be,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:fe,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:we,operator:Oe,punctuation:Re};var xe={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:pe.languages.php},Ge=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:xe}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:xe}}];pe.languages.insertBefore("php","variable",{string:Ge,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:be,string:Ge,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:fe,number:we,operator:Oe,punctuation:Re}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),pe.hooks.add("before-tokenize",function(Fe){if(/<\?/.test(Fe.code)){var At=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;pe.languages["markup-templating"].buildPlaceholders(Fe,"php",At)}}),pe.hooks.add("after-tokenize",function(Fe){pe.languages["markup-templating"].tokenizePlaceholders(Fe,"php")})}(le)}},97719:function(Ce,ae,y){"use strict";var b=y(53852),me=y(53510);Ce.exports=le,le.displayName="phpdoc",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){var fe=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;be.languages.phpdoc=be.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+fe+"\\s+)?)\\$\\w+"),lookbehind:!0}}),be.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+fe),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),be.languages.javadoclike.addSupport("php",be.languages.phpdoc)}(pe)}},63839:function(Ce,ae,y){"use strict";var b=y(69435);Ce.exports=me,me.displayName="plsql",me.aliases=[];function me(le){le.register(b),le.languages.plsql=le.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),le.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}},67623:function(Ce){"use strict";Ce.exports=ae,ae.displayName="powerquery",ae.aliases=[];function ae(y){y.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},y.languages.pq=y.languages.powerquery,y.languages.mscript=y.languages.powerquery}},32530:function(Ce){"use strict";Ce.exports=ae,ae.displayName="powershell",ae.aliases=[];function ae(y){(function(b){var me=b.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};me.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:me},boolean:me.boolean,variable:me.variable}})(y)}},8938:function(Ce){"use strict";Ce.exports=ae,ae.displayName="processing",ae.aliases=[];function ae(y){y.languages.processing=y.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),y.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}},55259:function(Ce){"use strict";Ce.exports=ae,ae.displayName="prolog",ae.aliases=[];function ae(y){y.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}},67411:function(Ce){"use strict";Ce.exports=ae,ae.displayName="promql",ae.aliases=[];function ae(y){(function(b){var me=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],le=["on","ignoring","group_right","group_left","by","without"],pe=["offset"],be=me.concat(le,pe);b.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+le.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+be.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(y)}},15375:function(Ce){"use strict";Ce.exports=ae,ae.displayName="properties",ae.aliases=[];function ae(y){y.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}},12093:function(Ce){"use strict";Ce.exports=ae,ae.displayName="protobuf",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;b.languages.protobuf=b.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),b.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:me}},builtin:me,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(y)}},83588:function(Ce){"use strict";Ce.exports=ae,ae.displayName="psl",ae.aliases=[];function ae(y){y.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}},94127:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pug",ae.aliases=[];function ae(y){(function(b){b.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:b.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:b.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:b.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:b.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:b.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:b.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:b.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:b.languages.javascript}],punctuation:/[.\-!=|]+/};for(var me=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,le=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],pe={},be=0,fe=le.length;be",function(){return we.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[we.language,"language-"+we.language],inside:b.languages[we.language]}}})}b.languages.insertBefore("pug","filter",pe)})(y)}},21294:function(Ce){"use strict";Ce.exports=ae,ae.displayName="puppet",ae.aliases=[];function ae(y){(function(b){b.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var me=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:b.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];b.languages.puppet.heredoc[0].inside.interpolation=me,b.languages.puppet.string.inside["double-quoted"].inside.interpolation=me})(y)}},38709:function(Ce){"use strict";Ce.exports=ae,ae.displayName="pure",ae.aliases=[];function ae(y){(function(b){b.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var me=["c",{lang:"c++",alias:"cpp"},"fortran"],le=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;me.forEach(function(pe){var be=pe;if(typeof pe!="string"&&(be=pe.alias,pe=pe.lang),b.languages[be]){var fe={};fe["inline-lang-"+be]={pattern:RegExp(le.replace("",pe.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:b.util.clone(b.languages.pure["inline-lang"].inside)},fe["inline-lang-"+be].inside.rest=b.util.clone(b.languages[be]),b.languages.insertBefore("pure","inline-lang",fe)}}),b.languages.c&&(b.languages.pure["inline-lang"].inside.rest=b.util.clone(b.languages.c))})(y)}},15008:function(Ce){"use strict";Ce.exports=ae,ae.displayName="purebasic",ae.aliases=[];function ae(y){y.languages.purebasic=y.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|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|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),y.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete y.languages.purebasic["class-name"],delete y.languages.purebasic.boolean,y.languages.pbfasm=y.languages.purebasic}},96549:function(Ce,ae,y){"use strict";var b=y(2050);Ce.exports=me,me.displayName="purescript",me.aliases=["purs"];function me(le){le.register(b),le.languages.purescript=le.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[le.languages.haskell.operator[0],le.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),le.languages.purs=le.languages.purescript}},5221:function(Ce){"use strict";Ce.exports=ae,ae.displayName="python",ae.aliases=["py"];function ae(y){y.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.python["string-interpolation"].inside.interpolation.inside.rest=y.languages.python,y.languages.py=y.languages.python}},27447:function(Ce){"use strict";Ce.exports=ae,ae.displayName="q",ae.aliases=[];function ae(y){y.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}},73191:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qml",ae.aliases=[];function ae(y){(function(b){for(var me=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,le=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,pe=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return me}).replace(//g,function(){return le}),be=0;be<2;be++)pe=pe.replace(//g,function(){return pe});pe=pe.replace(//g,"[^\\s\\S]"),b.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return pe}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return pe}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:b.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(y)}},75542:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qore",ae.aliases=[];function ae(y){y.languages.qore=y.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}},50323:function(Ce){"use strict";Ce.exports=ae,ae.displayName="qsharp",ae.aliases=["qs"];function ae(y){(function(b){function me(At,at){return At.replace(/<<(\d+)>>/g,function(tt,Je){return"(?:"+at[+Je]+")"})}function le(At,at,tt){return RegExp(me(At,at),tt||"")}function pe(At,at){for(var tt=0;tt>/g,function(){return"(?:"+At+")"});return At.replace(/<>/g,"[^\\s\\S]")}var be={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function fe(At){return"\\b(?:"+At.trim().replace(/ /g,"|")+")\\b"}var we=RegExp(fe(be.type+" "+be.other)),Oe=/\b[A-Za-z_]\w*\b/.source,Re=me(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[Oe]),xe={keyword:we,punctuation:/[<>()?,.:[\]]/},Ge=/"(?:\\.|[^\\"])*"/.source;b.languages.qsharp=b.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:le(/(^|[^$\\])<<0>>/.source,[Ge]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:le(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[Re]),lookbehind:!0,inside:xe},{pattern:le(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[Re]),lookbehind:!0,inside:xe}],keyword:we,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),b.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var Fe=pe(me(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[Ge]),2);b.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:le(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[Fe]),greedy:!0,inside:{interpolation:{pattern:le(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[Fe]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:b.languages.qsharp}}},string:/[\s\S]+/}}})})(y),y.languages.qs=y.languages.qsharp}},44298:function(Ce){"use strict";Ce.exports=ae,ae.displayName="r",ae.aliases=[];function ae(y){y.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}},9634:function(Ce,ae,y){"use strict";var b=y(48780);Ce.exports=me,me.displayName="racket",me.aliases=["rkt"];function me(le){le.register(b),le.languages.racket=le.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),le.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),le.languages.rkt=le.languages.racket}},75266:function(Ce){"use strict";Ce.exports=ae,ae.displayName="reason",ae.aliases=[];function ae(y){y.languages.reason=y.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),y.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete y.languages.reason.function}},48139:function(Ce){"use strict";Ce.exports=ae,ae.displayName="regex",ae.aliases=[];function ae(y){(function(b){var me={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},le=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,pe={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},be={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},fe="(?:[^\\\\-]|"+le.source+")",we=RegExp(fe+"-"+fe),Oe={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};b.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:we,inside:{escape:le,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":me,"char-set":be,escape:le}},"special-escape":me,"char-set":pe,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":Oe}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:le,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}},90826:function(Ce){"use strict";Ce.exports=ae,ae.displayName="renpy",ae.aliases=["rpy"];function ae(y){y.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},y.languages.rpy=y.languages.renpy}},63919:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rest",ae.aliases=[];function ae(y){y.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}},68862:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rip",ae.aliases=[];function ae(y){y.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}},39523:function(Ce){"use strict";Ce.exports=ae,ae.displayName="roboconf",ae.aliases=[];function ae(y){y.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}},31207:function(Ce){"use strict";Ce.exports=ae,ae.displayName="robotframework",ae.aliases=[];function ae(y){(function(b){var me={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},le={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function pe(Oe,Re){var xe={};xe["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var Ge in Re)xe[Ge]=Re[Ge];return xe.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},xe.variable=le,xe.comment=me,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return Oe}),"im"),alias:"section",inside:xe}}var be={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},fe={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:le}},we={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:le}};b.languages.robotframework={settings:pe("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:pe("Variables"),"test-cases":pe("Test Cases",{"test-name":fe,documentation:be,property:we}),keywords:pe("Keywords",{"keyword-name":fe,documentation:be,property:we}),tasks:pe("Tasks",{"task-name":fe,documentation:be,property:we}),comment:me},b.languages.robot=b.languages.robotframework})(y)}},75308:function(Ce){"use strict";Ce.exports=ae,ae.displayName="ruby",ae.aliases=["rb"];function ae(y){(function(b){b.languages.ruby=b.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),b.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var me={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:b.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete b.languages.ruby.function;var le="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",pe=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;b.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+le+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:me,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:me,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+pe),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+pe+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),b.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+le),greedy:!0,inside:{interpolation:me,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:me,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:me,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+le),greedy:!0,inside:{interpolation:me,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:me,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete b.languages.ruby.string,b.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),b.languages.rb=b.languages.ruby})(y)}},45315:function(Ce){"use strict";Ce.exports=ae,ae.displayName="rust",ae.aliases=[];function ae(y){(function(b){for(var me=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,le=0;le<2;le++)me=me.replace(//g,function(){return me});me=me.replace(//g,function(){return/[^\s\S]/.source}),b.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+me),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},b.languages.rust["closure-params"].inside.rest=b.languages.rust,b.languages.rust.attribute.inside.string=b.languages.rust.string})(y)}},13794:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sas",ae.aliases=[];function ae(y){(function(b){var me=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,le=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,pe={pattern:RegExp(me+"[bx]"),alias:"number"},be={pattern:/&[a-z_]\w*/i},fe={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},we={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},Oe=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],Re={pattern:RegExp(me),greedy:!0},xe=/[$%@.(){}\[\];,\\]/,Ge={pattern:/%?\b\w+(?=\()/,alias:"keyword"},Fe={function:Ge,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":be,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:le,"numeric-constant":pe,punctuation:xe,string:Re},At={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},at={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},tt={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},Je={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},We=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,Ve={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return We}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return We}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:Oe,function:Ge,"arg-value":Fe["arg-value"],operator:Fe.operator,argument:Fe.arg,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},Ze={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};b.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return me}),"im"),alias:"language-sql",inside:b.languages.sql},"global-statements":tt,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return me}),"im"),lookbehind:!0,alias:"language-groovy",inside:b.languages.groovy},keyword:Ze,"submit-statement":Je,"global-statements":tt,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return me}),"im"),lookbehind:!0,alias:"language-lua",inside:b.languages.lua},keyword:Ze,"submit-statement":Je,"global-statements":tt,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:Oe,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:Fe}},"cas-actions":Ve,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:Fe},step:we,keyword:Ze,function:Ge,format:At,altformat:at,"global-statements":tt,number:le,"numeric-constant":pe,punctuation:xe,string:Re}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return me}),"im"),lookbehind:!0,inside:Fe},"macro-keyword":fe,"macro-variable":be,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":fe,"macro-variable":be,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:xe}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:Oe,number:le,"numeric-constant":pe}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:Fe},"cas-actions":Ve,comment:Oe,function:Ge,format:At,altformat:at,"numeric-constant":pe,datetime:{pattern:RegExp(me+"(?:dt?|t)"),alias:"number"},string:Re,step:we,keyword:Ze,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:le,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:xe}})(y)}},41299:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sass",ae.aliases=[];function ae(y){(function(b){b.languages.sass=b.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),b.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete b.languages.sass.atrule;var me=/\$[-\w]+|#\{\$[-\w]+\}/,le=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];b.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:me,operator:le}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:me,operator:le,important:b.languages.sass.important}}}),delete b.languages.sass.property,delete b.languages.sass.important,b.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(y)}},98177:function(Ce,ae,y){"use strict";var b=y(7093);Ce.exports=me,me.displayName="scala",me.aliases=[];function me(le){le.register(b),le.languages.scala=le.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),le.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:le.languages.scala}}},string:/[\s\S]+/}}}),delete le.languages.scala["class-name"],delete le.languages.scala.function}},48780:function(Ce){"use strict";Ce.exports=ae,ae.displayName="scheme",ae.aliases=[];function ae(y){(function(b){b.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(me({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function me(le){for(var pe in le)le[pe]=le[pe].replace(/<[\w\s]+>/g,function(be){return"(?:"+le[be].trim()+")"});return le[pe]}})(y)}},79793:function(Ce){"use strict";Ce.exports=ae,ae.displayName="scss",ae.aliases=[];function ae(y){y.languages.scss=y.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),y.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),y.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),y.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),y.languages.scss.atrule.inside.rest=y.languages.scss}},52085:function(Ce,ae,y){"use strict";var b=y(3058);Ce.exports=me,me.displayName="shellSession",me.aliases=[];function me(le){le.register(b),function(pe){var be=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");pe.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return be}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:pe.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},pe.languages["sh-session"]=pe.languages.shellsession=pe.languages["shell-session"]}(le)}},65411:function(Ce){"use strict";Ce.exports=ae,ae.displayName="smali",ae.aliases=[];function ae(y){y.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}},84750:function(Ce){"use strict";Ce.exports=ae,ae.displayName="smalltalk",ae.aliases=[];function ae(y){y.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}},88216:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="smarty",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:pe.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},pe.languages.smarty["embedded-php"].inside.smarty.inside=pe.languages.smarty,pe.languages.smarty.string[0].inside.interpolation.inside.expression.inside=pe.languages.smarty;var be=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,fe=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return be.source}),"g");pe.hooks.add("before-tokenize",function(we){var Oe="{literal}",Re="{/literal}",xe=!1;pe.languages["markup-templating"].buildPlaceholders(we,"smarty",fe,function(Ge){return Ge===Re&&(xe=!1),xe?!1:(Ge===Oe&&(xe=!0),!0)})}),pe.hooks.add("after-tokenize",function(we){pe.languages["markup-templating"].tokenizePlaceholders(we,"smarty")})}(le)}},66433:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sml",ae.aliases=["smlnj"];function ae(y){(function(b){var me=/\b(?: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|where|while|with|withtype)\b/i;b.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return me.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:me,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},b.languages.sml["class-name"][0].inside=b.languages.sml,b.languages.smlnj=b.languages.sml})(y)}},34855:function(Ce){"use strict";Ce.exports=ae,ae.displayName="solidity",ae.aliases=["sol"];function ae(y){y.languages.solidity=y.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),y.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),y.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),y.languages.sol=y.languages.solidity}},12998:function(Ce){"use strict";Ce.exports=ae,ae.displayName="solutionFile",ae.aliases=[];function ae(y){(function(b){var me={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};b.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:me}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:me}},guid:me,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},b.languages.sln=b.languages["solution-file"]})(y)}},10202:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="soy",me.aliases=[];function me(le){le.register(b),function(pe){var be=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,fe=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;pe.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:be,greedy:!0},number:fe,punctuation:/[\[\].?]/}},string:{pattern:be,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:fe,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},pe.hooks.add("before-tokenize",function(we){var Oe=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,Re="{literal}",xe="{/literal}",Ge=!1;pe.languages["markup-templating"].buildPlaceholders(we,"soy",Oe,function(Fe){return Fe===xe&&(Ge=!1),Ge?!1:(Fe===Re&&(Ge=!0),!0)})}),pe.hooks.add("after-tokenize",function(we){pe.languages["markup-templating"].tokenizePlaceholders(we,"soy")})}(le)}},41186:function(Ce,ae,y){"use strict";var b=y(58710);Ce.exports=me,me.displayName="sparql",me.aliases=["rq"];function me(le){le.register(b),le.languages.sparql=le.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),le.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),le.languages.rq=le.languages.sparql}},68963:function(Ce){"use strict";Ce.exports=ae,ae.displayName="splunkSpl",ae.aliases=[];function ae(y){y.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}},5569:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sqf",ae.aliases=[];function ae(y){y.languages.sqf=y.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?: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|addForceGeneratorRTD|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|airDensityCurveRTD|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|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|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|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|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|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|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|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|ctrlSetDisabledColor|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|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|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_dynamicSimulationEnd|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|displayNull|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|east|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|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|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|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|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|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|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|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|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|isStressDamageEnabled|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|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|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|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|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|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|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|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|resistance|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|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|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|setForceGeneratorRTD|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|setToneMapping|setToneMappingParams|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|setVehicleInit|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|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|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|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|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|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|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|useAIOperMapObstructionTest|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|waitUntil|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|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),y.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:y.languages.sqf.comment}}}),delete y.languages.sqf["class-name"]}},69435:function(Ce){"use strict";Ce.exports=ae,ae.displayName="sql",ae.aliases=[];function ae(y){y.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}},42766:function(Ce){"use strict";Ce.exports=ae,ae.displayName="squirrel",ae.aliases=[];function ae(y){y.languages.squirrel=y.languages.extend("clike",{comment:[y.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),y.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),y.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}},46449:function(Ce){"use strict";Ce.exports=ae,ae.displayName="stan",ae.aliases=[];function ae(y){(function(b){var me=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;b.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+me.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,me],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},b.languages.stan.constraint.inside.expression.inside=b.languages.stan})(y)}},89032:function(Ce){"use strict";Ce.exports=ae,ae.displayName="stylus",ae.aliases=[];function ae(y){(function(b){var me={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},le={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},pe={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:me,number:le,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:me,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:le,punctuation:/[{}()\[\];:,]/};pe.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:pe}},pe.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:pe}},b.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:pe}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:pe}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:pe}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:pe.interpolation}},rest:pe}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:pe.interpolation,comment:pe.comment,punctuation:/[{},]/}},func:pe.func,string:pe.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:pe.interpolation,punctuation:/[{}()\[\];:.]/}})(y)}},40241:function(Ce){"use strict";Ce.exports=ae,ae.displayName="swift",ae.aliases=[];function ae(y){y.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},y.languages.swift["string-literal"].forEach(function(b){b.inside.interpolation.inside=y.languages.swift})}},24812:function(Ce){"use strict";Ce.exports=ae,ae.displayName="systemd",ae.aliases=[];function ae(y){(function(b){var me={pattern:/^[;#].*/m,greedy:!0},le=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;b.languages.systemd={comment:me,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+le+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+le+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:me,quoted:{pattern:RegExp(/(^|\s)/.source+le),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(y)}},16747:function(Ce,ae,y){"use strict";var b=y(73584),me=y(87648);Ce.exports=le,le.displayName="t4Cs",le.aliases=[];function le(pe){pe.register(b),pe.register(me),pe.languages.t4=pe.languages["t4-cs"]=pe.languages["t4-templating"].createT4("csharp")}},73584:function(Ce){"use strict";Ce.exports=ae,ae.displayName="t4Templating",ae.aliases=[];function ae(y){(function(b){function me(pe,be,fe){return{pattern:RegExp("<#"+pe+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+pe+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:be,alias:fe}}}}function le(pe){var be=b.languages[pe],fe="language-"+pe;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:me("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:me("=",be,fe),"class-feature":me("\\+",be,fe),standard:me("",be,fe)}}}}b.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:le})})(y)}},79243:function(Ce,ae,y){"use strict";var b=y(73584),me=y(55686);Ce.exports=le,le.displayName="t4Vb",le.aliases=[];function le(pe){pe.register(b),pe.register(me),pe.languages["t4-vb"]=pe.languages["t4-templating"].createT4("vbnet")}},31788:function(Ce,ae,y){"use strict";var b=y(14409);Ce.exports=me,me.displayName="tap",me.aliases=[];function me(le){le.register(b),le.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:le.languages.yaml,alias:"language-yaml"}}}},60871:function(Ce){"use strict";Ce.exports=ae,ae.displayName="tcl",ae.aliases=[];function ae(y){y.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}},21023:function(Ce){"use strict";Ce.exports=ae,ae.displayName="textile",ae.aliases=[];function ae(y){(function(b){var me=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,le=/\)|\((?![^|()\n]+\))/.source;function pe(Ge,Fe){return RegExp(Ge.replace(//g,function(){return"(?:"+me+")"}).replace(//g,function(){return"(?:"+le+")"}),Fe||"")}var be={css:{pattern:/\{[^{}]+\}/,inside:{rest:b.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},fe=b.languages.textile=b.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:pe(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:pe(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:be},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:pe(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:pe(/(^[*#]+)+/.source),lookbehind:!0,inside:be},punctuation:/^[*#]+/}},table:{pattern:pe(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:pe(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:be},punctuation:/\||^\./}},inline:{pattern:pe(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:pe(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:pe(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:pe(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:pe(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:pe(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:pe(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:pe(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:pe(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:be},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:pe(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:pe(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:pe(/(^")+/.source),lookbehind:!0,inside:be},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:pe(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:pe(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:pe(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:be},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),we=fe.phrase.inside,Oe={inline:we.inline,link:we.link,image:we.image,footnote:we.footnote,acronym:we.acronym,mark:we.mark};fe.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var Re=we.inline.inside;Re.bold.inside=Oe,Re.italic.inside=Oe,Re.inserted.inside=Oe,Re.deleted.inside=Oe,Re.span.inside=Oe;var xe=we.table.inside;xe.inline=Oe.inline,xe.link=Oe.link,xe.image=Oe.image,xe.footnote=Oe.footnote,xe.acronym=Oe.acronym,xe.mark=Oe.mark})(y)}},14693:function(Ce){"use strict";Ce.exports=ae,ae.displayName="toml",ae.aliases=[];function ae(y){(function(b){var me=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function le(pe){return pe.replace(/__/g,function(){return me})}b.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(le(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(le(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(y)}},8743:function(Ce){"use strict";Ce.exports=ae,ae.displayName="tremor",ae.aliases=[];function ae(y){(function(b){b.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var me=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;b.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+me+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+me+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(me),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:b.languages.tremor}}},string:/[\s\S]+/}},b.languages.troy=b.languages.tremor,b.languages.trickle=b.languages.tremor})(y)}},1689:function(Ce,ae,y){"use strict";var b=y(24103),me=y(92784);Ce.exports=le,le.displayName="tsx",le.aliases=[];function le(pe){pe.register(b),pe.register(me),function(be){var fe=be.util.clone(be.languages.typescript);be.languages.tsx=be.languages.extend("jsx",fe),delete be.languages.tsx.parameter,delete be.languages.tsx["literal-property"];var we=be.languages.tsx.tag;we.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+we.pattern.source+")",we.pattern.flags),we.lookbehind=!0}(pe)}},69210:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="tt2",me.aliases=[];function me(le){le.register(b),function(pe){pe.languages.tt2=pe.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),pe.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),pe.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),pe.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete pe.languages.tt2.string,pe.hooks.add("before-tokenize",function(be){var fe=/\[%[\s\S]+?%\]/g;pe.languages["markup-templating"].buildPlaceholders(be,"tt2",fe)}),pe.hooks.add("after-tokenize",function(be){pe.languages["markup-templating"].tokenizePlaceholders(be,"tt2")})}(le)}},58710:function(Ce){"use strict";Ce.exports=ae,ae.displayName="turtle",ae.aliases=[];function ae(y){y.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},y.languages.trig=y.languages.turtle}},60452:function(Ce,ae,y){"use strict";var b=y(51478);Ce.exports=me,me.displayName="twig",me.aliases=[];function me(le){le.register(b),le.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},le.hooks.add("before-tokenize",function(pe){if(pe.language==="twig"){var be=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;le.languages["markup-templating"].buildPlaceholders(pe,"twig",be)}}),le.hooks.add("after-tokenize",function(pe){le.languages["markup-templating"].tokenizePlaceholders(pe,"twig")})}},92784:function(Ce){"use strict";Ce.exports=ae,ae.displayName="typescript",ae.aliases=["ts"];function ae(y){(function(b){b.languages.typescript=b.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),b.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete b.languages.typescript.parameter,delete b.languages.typescript["literal-property"];var me=b.languages.extend("typescript",{});delete me["class-name"],b.languages.typescript["class-name"].inside=me,b.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:me}}}}),b.languages.ts=b.languages.typescript})(y)}},36489:function(Ce){"use strict";Ce.exports=ae,ae.displayName="typoscript",ae.aliases=["tsconfig"];function ae(y){(function(b){var me=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;b.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:me}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:me,number:/^\d+$/,punctuation:/[,|:]/}},keyword:me,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},b.languages.tsconfig=b.languages.typoscript})(y)}},78380:function(Ce){"use strict";Ce.exports=ae,ae.displayName="unrealscript",ae.aliases=["uc","uscript"];function ae(y){y.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},y.languages.uc=y.languages.uscript=y.languages.unrealscript}},10409:function(Ce){"use strict";Ce.exports=ae,ae.displayName="uorazor",ae.aliases=[];function ae(y){y.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}},6539:function(Ce){"use strict";Ce.exports=ae,ae.displayName="uri",ae.aliases=["url"];function ae(y){y.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},y.languages.url=y.languages.uri}},82028:function(Ce){"use strict";Ce.exports=ae,ae.displayName="v",ae.aliases=[];function ae(y){(function(b){var me={pattern:/[\s\S]+/,inside:null};b.languages.v=b.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":me}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),me.inside=b.languages.v,b.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),b.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),b.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:b.languages.v.generic.inside}}}})})(y)}},62282:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vala",ae.aliases=[];function ae(y){y.languages.vala=y.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),y.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:y.languages.vala}},string:/[\s\S]+/}}}),y.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:y.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}},55686:function(Ce,ae,y){"use strict";var b=y(51422);Ce.exports=me,me.displayName="vbnet",me.aliases=[];function me(le){le.register(b),le.languages.vbnet=le.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}},70889:function(Ce){"use strict";Ce.exports=ae,ae.displayName="velocity",ae.aliases=[];function ae(y){(function(b){b.languages.velocity=b.languages.extend("markup",{});var me={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};me.variable.inside={string:me.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:me.number,boolean:me.boolean,punctuation:me.punctuation},b.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:me}},variable:me.variable}),b.languages.velocity.tag.inside["attr-value"].inside.rest=b.languages.velocity})(y)}},37116:function(Ce){"use strict";Ce.exports=ae,ae.displayName="verilog",ae.aliases=[];function ae(y){y.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|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|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}},66963:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vhdl",ae.aliases=[];function ae(y){y.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}},21078:function(Ce){"use strict";Ce.exports=ae,ae.displayName="vim",ae.aliases=[];function ae(y){y.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}},96198:function(Ce){"use strict";Ce.exports=ae,ae.displayName="visualBasic",ae.aliases=[];function ae(y){y.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},y.languages.vb=y.languages["visual-basic"],y.languages.vba=y.languages["visual-basic"]}},17723:function(Ce){"use strict";Ce.exports=ae,ae.displayName="warpscript",ae.aliases=[];function ae(y){y.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}},67771:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wasm",ae.aliases=[];function ae(y){y.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}},30307:function(Ce){"use strict";Ce.exports=ae,ae.displayName="webIdl",ae.aliases=[];function ae(y){(function(b){var me=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,le="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+me+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,pe={};b.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+me),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:pe},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+le),lookbehind:!0,inside:pe},{pattern:RegExp("("+/\bcallback\s+/.source+me+/\s*=\s*/.source+")"+le),lookbehind:!0,inside:pe},{pattern:RegExp(/(\btypedef\b\s*)/.source+le),lookbehind:!0,inside:pe},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+me),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+me),lookbehind:!0},RegExp(me+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+me),lookbehind:!0},{pattern:RegExp(le+"(?="+/\s*(?:\.{3}\s*)?/.source+me+/\s*[(),;=]/.source+")"),inside:pe}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var be in b.languages["web-idl"])be!=="class-name"&&(pe[be]=b.languages["web-idl"][be]);b.languages.webidl=b.languages["web-idl"]})(y)}},8921:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wiki",ae.aliases=[];function ae(y){y.languages.wiki=y.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:y.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),y.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:y.languages.markup.tag.inside}}}})}},13429:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wolfram",ae.aliases=["mathematica","wl","nb"];function ae(y){y.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},y.languages.mathematica=y.languages.wolfram,y.languages.wl=y.languages.wolfram,y.languages.nb=y.languages.wolfram}},65197:function(Ce){"use strict";Ce.exports=ae,ae.displayName="wren",ae.aliases=[];function ae(y){y.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},y.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:y.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}},88904:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xeora",ae.aliases=["xeoracube"];function ae(y){(function(b){b.languages.xeora=b.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),b.languages.insertBefore("inside","punctuation",{variable:b.languages.xeora["function-inline"].inside.variable},b.languages.xeora["function-block"]),b.languages.xeoracube=b.languages.xeora})(y)}},35:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xmlDoc",ae.aliases=[];function ae(y){(function(b){function me(fe,we){b.languages[fe]&&b.languages.insertBefore(fe,"comment",{"doc-comment":we})}var le=b.languages.markup.tag,pe={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:le}},be={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:le}};me("csharp",pe),me("fsharp",pe),me("vbnet",be)})(y)}},86095:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xojo",ae.aliases=[];function ae(y){y.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}},76998:function(Ce){"use strict";Ce.exports=ae,ae.displayName="xquery",ae.aliases=[];function ae(y){(function(b){b.languages.xquery=b.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),b.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,b.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,b.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,b.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:b.languages.xquery,alias:"language-xquery"};var me=function(pe){return typeof pe=="string"?pe:typeof pe.content=="string"?pe.content:pe.content.map(me).join("")},le=function(pe){for(var be=[],fe=0;fe0&&be[be.length-1].tagName===me(we.content[0].content[1])&&be.pop():we.content[we.content.length-1].content==="/>"||be.push({tagName:me(we.content[0].content[1]),openedBraces:0}):be.length>0&&we.type==="punctuation"&&we.content==="{"&&(!pe[fe+1]||pe[fe+1].type!=="punctuation"||pe[fe+1].content!=="{")&&(!pe[fe-1]||pe[fe-1].type!=="plain-text"||pe[fe-1].content!=="{")?be[be.length-1].openedBraces++:be.length>0&&be[be.length-1].openedBraces>0&&we.type==="punctuation"&&we.content==="}"?be[be.length-1].openedBraces--:we.type!=="comment"&&(Oe=!0)),(Oe||typeof we=="string")&&be.length>0&&be[be.length-1].openedBraces===0){var Re=me(we);fe0&&(typeof pe[fe-1]=="string"||pe[fe-1].type==="plain-text")&&(Re=me(pe[fe-1])+Re,pe.splice(fe-1,1),fe--),/^\s+$/.test(Re)?pe[fe]=Re:pe[fe]=new b.Token("plain-text",Re,null,Re)}we.content&&typeof we.content!="string"&&le(we.content)}};b.hooks.add("after-tokenize",function(pe){pe.language==="xquery"&&le(pe.tokens)})})(y)}},14409:function(Ce){"use strict";Ce.exports=ae,ae.displayName="yaml",ae.aliases=["yml"];function ae(y){(function(b){var me=/[*&][^\s[\]{},]+/,le=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,pe="(?:"+le.source+"(?:[ ]+"+me.source+")?|"+me.source+"(?:[ ]+"+le.source+")?)",be=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),fe=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function we(Oe,Re){Re=(Re||"").replace(/m/g,"")+"m";var xe=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return pe}).replace(/<>/g,function(){return Oe});return RegExp(xe,Re)}b.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return pe})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return pe}).replace(/<>/g,function(){return"(?:"+be+"|"+fe+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:we(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:we(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:we(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:we(fe),lookbehind:!0,greedy:!0},number:{pattern:we(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:le,important:me,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},b.languages.yml=b.languages.yaml})(y)}},33460:function(Ce){"use strict";Ce.exports=ae,ae.displayName="yang",ae.aliases=[];function ae(y){y.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}},28108:function(Ce){"use strict";Ce.exports=ae,ae.displayName="zig",ae.aliases=[];function ae(y){(function(b){function me(Re){return function(){return Re}}var le=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,pe="\\b(?!"+le.source+")(?!\\d)\\w+\\b",be=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,fe=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,me(be)),we=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,me(pe)),Oe="(?!\\s)(?:!?\\s*(?:"+fe+"\\s*)*"+we+")+";b.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,me(Oe)).replace(//g,me(be))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,me(Oe)).replace(//g,me(be))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:le,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},b.languages.zig["class-name"].forEach(function(Re){Re.inside===null&&(Re.inside=b.languages.zig)})})(y)}},92848:function(Ce,ae){"use strict";var y;ae.Q=pe,y=be;var b="",me=" ",le=/[ \t\n\r\f]+/g;function pe(fe){var we=String(fe||b).trim();return we===b?[]:we.split(le)}function be(fe){return fe.join(me).trim()}},24177:function(Ce,ae,y){"use strict";var b=this&&this.__importDefault||function(be){return be&&be.__esModule?be:{default:be}},me=b(y(39534)),le=y(30883);function pe(be,fe){var we={};return!be||typeof be!="string"||(0,me.default)(be,function(Oe,Re){Oe&&Re&&(we[(0,le.camelCase)(Oe,fe)]=Re)}),we}pe.default=pe,Ce.exports=pe},30883:function(Ce,ae){"use strict";Object.defineProperty(ae,"__esModule",{value:!0}),ae.camelCase=void 0;var y=/^--[a-zA-Z0-9_-]+$/,b=/-([a-z])/g,me=/^[^-]+$/,le=/^-(webkit|moz|ms|o|khtml)-/,pe=/^-(ms)-/,be=function(Re){return!Re||me.test(Re)||y.test(Re)},fe=function(Re,xe){return xe.toUpperCase()},we=function(Re,xe){return"".concat(xe,"-")},Oe=function(Re,xe){return xe===void 0&&(xe={}),be(Re)?Re:(Re=Re.toLowerCase(),xe.reactCompat?Re=Re.replace(pe,we):Re=Re.replace(le,we),Re.replace(b,fe))};ae.camelCase=Oe},39534:function(Ce,ae,y){"use strict";var b=this&&this.__importDefault||function(pe){return pe&&pe.__esModule?pe:{default:pe}};Object.defineProperty(ae,"__esModule",{value:!0}),ae.default=le;const me=b(y(60976));function le(pe,be){let fe=null;if(!pe||typeof pe!="string")return fe;const we=(0,me.default)(pe),Oe=typeof be=="function";return we.forEach(Re=>{if(Re.type!=="declaration")return;const{property:xe,value:Ge}=Re;Oe?be(xe,Ge,Re):Ge&&(fe=fe||{},fe[xe]=Ge)}),fe}},97270:function(Ce){Ce.exports=y;var ae=Object.prototype.hasOwnProperty;function y(){for(var b={},me=0;me{const nt=(it,Nt)=>(_e.set(Nt,it),it),bt=it=>{if(_e.has(it))return _e.get(it);const[Nt,vt]=$e[it];switch(Nt){case me:case b:return nt(vt,it);case le:{const dt=nt([],it);for(const It of vt)dt.push(bt(It));return dt}case pe:{const dt=nt({},it);for(const[It,St]of vt)dt[bt(It)]=bt(St);return dt}case be:return nt(new Date(vt),it);case fe:{const{source:dt,flags:It}=vt;return nt(new RegExp(dt,It),it)}case we:{const dt=nt(new Map,it);for(const[It,St]of vt)dt.set(bt(It),bt(St));return dt}case Oe:{const dt=nt(new Set,it);for(const It of vt)dt.add(bt(It));return dt}case Re:{const{name:dt,message:It}=vt;return nt(new Ge[dt](It),it)}case xe:return nt(BigInt(vt),it);case"BigInt":return nt(Object(BigInt(vt)),it);case"ArrayBuffer":return nt(new Uint8Array(vt).buffer,vt);case"DataView":{const{buffer:dt}=new Uint8Array(vt);return nt(new DataView(dt),vt)}}return nt(new Ge[Nt](vt),it)};return bt},At=_e=>Fe(new Map,_e)(0),at="",{toString:tt}={},{keys:Je}=Object,We=_e=>{const $e=typeof _e;if($e!=="object"||!_e)return[me,$e];const nt=tt.call(_e).slice(8,-1);switch(nt){case"Array":return[le,at];case"Object":return[pe,at];case"Date":return[be,at];case"RegExp":return[fe,at];case"Map":return[we,at];case"Set":return[Oe,at];case"DataView":return[le,nt]}return nt.includes("Array")?[le,nt]:nt.includes("Error")?[Re,nt]:[pe,nt]},Ve=([_e,$e])=>_e===me&&($e==="function"||$e==="symbol"),Ze=(_e,$e,nt,bt)=>{const it=(vt,dt)=>{const It=bt.push(vt)-1;return nt.set(dt,It),It},Nt=vt=>{if(nt.has(vt))return nt.get(vt);let[dt,It]=We(vt);switch(dt){case me:{let qe=vt;switch(It){case"bigint":dt=xe,qe=vt.toString();break;case"function":case"symbol":if(_e)throw new TypeError("unable to serialize "+It);qe=null;break;case"undefined":return it([b],vt)}return it([dt,qe],vt)}case le:{if(It){let Rt=vt;return It==="DataView"?Rt=new Uint8Array(vt.buffer):It==="ArrayBuffer"&&(Rt=new Uint8Array(vt)),it([It,[...Rt]],vt)}const qe=[],Jt=it([dt,qe],vt);for(const Rt of vt)qe.push(Nt(Rt));return Jt}case pe:{if(It)switch(It){case"BigInt":return it([It,vt.toString()],vt);case"Boolean":case"Number":case"String":return it([It,vt.valueOf()],vt)}if($e&&"toJSON"in vt)return Nt(vt.toJSON());const qe=[],Jt=it([dt,qe],vt);for(const Rt of Je(vt))(_e||!Ve(We(vt[Rt])))&&qe.push([Nt(Rt),Nt(vt[Rt])]);return Jt}case be:return it([dt,vt.toISOString()],vt);case fe:{const{source:qe,flags:Jt}=vt;return it([dt,{source:qe,flags:Jt}],vt)}case we:{const qe=[],Jt=it([dt,qe],vt);for(const[Rt,Zt]of vt)(_e||!(Ve(We(Rt))||Ve(We(Zt))))&&qe.push([Nt(Rt),Nt(Zt)]);return Jt}case Oe:{const qe=[],Jt=it([dt,qe],vt);for(const Rt of vt)(_e||!Ve(We(Rt)))&&qe.push(Nt(Rt));return Jt}}const{message:St}=vt;return it([dt,{name:It,message:St}],vt)};return Nt},Qe=(_e,{json:$e,lossy:nt}={})=>{const bt=[];return Ze(!($e||nt),!!$e,new Map,bt)(_e),bt};var ze=typeof structuredClone=="function"?(_e,$e)=>$e&&("json"in $e||"lossy"in $e)?At(Qe(_e,$e)):structuredClone(_e):(_e,$e)=>At(Qe(_e,$e))},11630:function(Ce,ae,y){"use strict";y.d(ae,{P:function(){return me},Q:function(){return b}});function b(le){const pe=[],be=String(le||"");let fe=be.indexOf(","),we=0,Oe=!1;for(;!Oe;){fe===-1&&(fe=be.length,Oe=!0);const Re=be.slice(we,fe).trim();(Re||!Oe)&&pe.push(Re),we=fe+1,fe=be.indexOf(",",we)}return pe}function me(le,pe){const be=pe||{};return(le[le.length-1]===""?[...le,""]:le).join((be.padRight?" ":"")+","+(be.padLeft===!1?"":" ")).trim()}},87342:function(Ce,ae,y){"use strict";y.d(ae,{ok:function(){return le},t1:function(){return pe}});function b(be){return be}function me(){}function le(){}function pe(){}},40797:function(Ce,ae,y){"use strict";y.d(ae,{N:function(){return At}});var b=y(81994),me=y(43309);function le(tt,Je){return pe(tt,Je||{})||{type:"root",children:[]}}function pe(tt,Je){const We=be(tt,Je);return We&&Je.afterTransform&&Je.afterTransform(tt,We),We}function be(tt,Je){switch(tt.nodeType){case 1:return xe(tt,Je);case 3:return Oe(tt);case 8:return Re(tt);case 9:return fe(tt,Je);case 10:return we();case 11:return fe(tt,Je);default:return}}function fe(tt,Je){return{type:"root",children:Ge(tt,Je)}}function we(){return{type:"doctype"}}function Oe(tt){return{type:"text",value:tt.nodeValue||""}}function Re(tt){return{type:"comment",value:tt.nodeValue||""}}function xe(tt,Je){const We=tt.namespaceURI,Ve=We===me.t.svg?b.s:b.h,Ze=We===me.t.html?tt.tagName.toLowerCase():tt.tagName,Qe=We===me.t.html&&Ze==="template"?tt.content:tt,ze=tt.getAttributeNames(),_e={};let $e=-1;for(;++$eTt&&(Tt=Ye):Ye&&(Tt!==void 0&&Tt>-1&&Tn.push(` +`.repeat(Tt)||" "),Tt=-1,Tn.push(Ye))}return Tn.join("")}function Ze(vt,dt,It){return vt.type==="element"?Qe(vt,dt,It):vt.type==="text"?It.whitespace==="normal"?ze(vt,It):_e(vt):[]}function Qe(vt,dt,It){const St=nt(vt,It),qe=vt.children||[];let Jt=-1,Rt=[];if(Je(vt))return Rt;let Zt,Tn;for(Fe(vt)||tt(vt)&&me(dt,vt,tt)?Tn=` +`:at(vt)?(Zt=2,Tn=2):We(vt)&&(Zt=1,Tn=1);++JtOe&&(Oe=we):we=1,fe=be+le.length,be=pe.indexOf(le,fe);return Oe}},91614:function(Ce,ae,y){"use strict";y.d(ae,{n:function(){return pe}});function b(Oe){if(typeof Oe!="string")throw new TypeError("Expected a string");return Oe.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var me=y(19453),le=y(33511);function pe(Oe,Re,xe){const Ge=xe||{},Fe=(0,le.O)(Ge.ignore||[]),At=be(Re);let at=-1;for(;++at0?{type:"text",value:It}:void 0),It===!1?Qe.lastIndex=vt+1:(_e!==vt&&it.push({type:"text",value:We.value.slice(_e,vt)}),Array.isArray(It)?it.push(...It):It&&it.push(It),_e=vt+Nt[0].length,bt=!0),!Qe.global)break;Nt=Qe.exec(We.value)}return bt?(_e-1&&at.test(String.fromCharCode(Je))}}},36335:function(Ce,ae,y){"use strict";y.d(ae,{V:function(){return me},d:function(){return b}});function b(le,pe,be,fe){const we=le.length;let Oe=0,Re;if(pe<0?pe=-pe>we?0:we+pe:pe=pe>we?we:pe,be=be>0?be:0,fe.length<1e4)Re=Array.from(fe),Re.unshift(pe,be),le.splice(...Re);else for(be&&le.splice(pe,be);Oe0?(b(le,le.length,0,pe),le):pe}},97864:function(Ce,ae,y){"use strict";y.d(ae,{r:function(){return me}});var b=y(80722);function me(le){if(le===null||(0,b.z3)(le)||(0,b.B8)(le))return 1;if((0,b.Xh)(le))return 2}},64997:function(Ce,ae,y){"use strict";y.d(ae,{W:function(){return le}});var b=y(36335);const me={}.hasOwnProperty;function le(Oe){const Re={};let xe=-1;for(;++xe4&&Fe.slice(0,4)==="data"&&fe.test(Ge)){if(Ge.charAt(4)==="-"){const tt=Ge.slice(5).replace(be,Re);At="data"+tt.charAt(0).toUpperCase()+tt.slice(1)}else{const tt=Ge.slice(4);if(!be.test(tt)){let Je=tt.replace(pe,Oe);Je.charAt(0)!=="-"&&(Je="-"+Je),Ge="data"+Je}}at=b.I}return new at(At,Ge)}function Oe(xe){return"-"+xe.toLowerCase()}function Re(xe){return xe.charAt(1).toUpperCase()}},13830:function(Ce,ae,y){"use strict";y.d(ae,{F:function(){return b}});function b(me){return me.toLowerCase()}},53538:function(Ce,ae,y){"use strict";y.d(ae,{I:function(){return pe}});var b=y(25629),me=y(71337);const le=Object.keys(me);class pe extends b.k{constructor(we,Oe,Re,xe){let Ge=-1;if(super(we,Oe),be(this,"space",xe),typeof Re=="number")for(;++Ge0){const ke=Ae.length>1?Ae:Ae[0];ke&&(se.children=ke)}}function Ut(se,Ae,ke){return Ue;function Ue(mt,Et,Lt,tn){const Mn=Array.isArray(Lt.children)?ke:Ae;return tn?Mn(Et,Lt,tn):Mn(Et,Lt)}}function Gt(se,Ae){return ke;function ke(Ue,mt,Et,Lt){const tn=Array.isArray(Et.children),_n=(0,ze.Pk)(Ue);return Ae(mt,Et,Lt,tn,{columnNumber:_n?_n.column-1:void 0,fileName:se,lineNumber:_n?_n.line:void 0},void 0)}}function On(se,Ae){const ke={};let Ue,mt;for(mt in Ae.properties)if(mt!=="children"&&Nt.call(Ae.properties,mt)){const Et=Ht(se,mt,Ae.properties[mt]);if(Et){const[Lt,tn]=Et;se.tableCellAlignToStyle&&Lt==="align"&&typeof tn=="string"&&St.has(Ae.tagName)?Ue=tn:ke[Lt]=tn}}if(Ue){const Et=ke.style||(ke.style={});Et[se.stylePropertyNameCase==="css"?"text-align":"textAlign"]=Ue}return ke}function ft(se,Ae){const ke={};for(const Ue of Ae.attributes)if(Ue.type==="mdxJsxExpressionAttribute")if(Ue.data&&Ue.data.estree&&se.evaluater){const Et=Ue.data.estree.body[0];(0,me.ok)(Et.type==="ExpressionStatement");const Lt=Et.expression;(0,me.ok)(Lt.type==="ObjectExpression");const tn=Lt.properties[0];(0,me.ok)(tn.type==="SpreadElement"),Object.assign(ke,se.evaluater.evaluateExpression(tn.argument))}else De(se,Ae.position);else{const mt=Ue.name;let Et;if(Ue.value&&typeof Ue.value=="object")if(Ue.value.data&&Ue.value.data.estree&&se.evaluater){const tn=Ue.value.data.estree.body[0];(0,me.ok)(tn.type==="ExpressionStatement"),Et=se.evaluater.evaluateExpression(tn.expression)}else De(se,Ae.position);else Et=Ue.value===null?!0:Ue.value;ke[mt]=Et}return ke}function En(se,Ae){const ke=[];let Ue=-1;const mt=se.passKeys?new Map:vt;for(;++Ue=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+Ae+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return Aethis.left.length?this.right.slice(this.right.length-Ue+this.left.length,this.right.length-Ae+this.left.length).reverse():this.left.slice(Ae).concat(this.right.slice(this.right.length-Ue+this.left.length).reverse())}splice(Ae,ke,Ue){const mt=ke||0;this.setCursor(Math.trunc(Ae));const Et=this.right.splice(this.right.length-mt,Number.POSITIVE_INFINITY);return Ue&&yt(this.left,Ue),Et.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(Ae){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(Ae)}pushMany(Ae){this.setCursor(Number.POSITIVE_INFINITY),yt(this.left,Ae)}unshift(Ae){this.setCursor(0),this.right.push(Ae)}unshiftMany(Ae){this.setCursor(0),yt(this.right,Ae.reverse())}setCursor(Ae){if(!(Ae===this.left.length||Ae>this.left.length&&this.right.length===0||Ae<0&&this.left.length===0))if(AeLt))return;const Ai=Ae.events.length;let Ei=Ai,Ii,Ri;for(;Ei--;)if(Ae.events[Ei][0]==="exit"&&Ae.events[Ei][1].type==="chunkFlow"){if(Ii){Ri=Ae.events[Ei][1].end;break}Ii=!0}for(va(Ue),ta=Ai;taLa;){const yi=ke[Ui];Ae.containerState=yi[1],yi[0].exit.call(Ae,se)}ke.length=La}function pi(){mt.write([null]),Et=void 0,mt=void 0,Ae.containerState._closeFlow=void 0}}function xn(se,Ae,ke){return(0,fn.f)(se,se.attempt(this.parser.constructs.document,Ae,ke),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var kt=y(35691);const Yt={resolve:vn,tokenize:Ct},Ft={partial:!0,tokenize:pt};function vn(se){return Dt(se),se}function Ct(se,Ae){let ke;return Ue;function Ue(tn){return se.enter("content"),ke=se.enter("chunkContent",{contentType:"content"}),mt(tn)}function mt(tn){return tn===null?Et(tn):(0,Mt.Ch)(tn)?se.check(Ft,Lt,Et)(tn):(se.consume(tn),mt)}function Et(tn){return se.exit("chunkContent"),se.exit("content"),Ae(tn)}function Lt(tn){return se.consume(tn),se.exit("chunkContent"),ke.next=se.enter("chunkContent",{contentType:"content",previous:ke}),ke=ke.next,mt}}function pt(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return se.exit("chunkContent"),se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),(0,fn.f)(se,Et,"linePrefix")}function Et(Lt){if(Lt===null||(0,Mt.Ch)(Lt))return ke(Lt);const tn=Ue.events[Ue.events.length-1];return!Ue.parser.constructs.disable.null.includes("codeIndented")&&tn&&tn[1].type==="linePrefix"&&tn[2].sliceSerialize(tn[1],!0).length>=4?Ae(Lt):se.interrupt(Ue.parser.constructs.flow,ke,Ae)(Lt)}}const de={tokenize:qt};function qt(se){const Ae=this,ke=se.attempt(kt.w,Ue,se.attempt(this.parser.constructs.flowInitial,mt,(0,fn.f)(se,se.attempt(this.parser.constructs.flow,mt,se.attempt(Yt,mt)),"linePrefix")));return ke;function Ue(Et){if(Et===null){se.consume(Et);return}return se.enter("lineEndingBlank"),se.consume(Et),se.exit("lineEndingBlank"),Ae.currentConstruct=void 0,ke}function mt(Et){if(Et===null){se.consume(Et);return}return se.enter("lineEnding"),se.consume(Et),se.exit("lineEnding"),Ae.currentConstruct=void 0,ke}}const Dn={resolveAll:ar()},mn=yr("string"),vr=yr("text");function yr(se){return{resolveAll:ar(se==="text"?Er:void 0),tokenize:Ae};function Ae(ke){const Ue=this,mt=this.parser.constructs[se],Et=ke.attempt(mt,Lt,tn);return Lt;function Lt(bn){return Mn(bn)?Et(bn):tn(bn)}function tn(bn){if(bn===null){ke.consume(bn);return}return ke.enter("data"),ke.consume(bn),_n}function _n(bn){return Mn(bn)?(ke.exit("data"),Et(bn)):(ke.consume(bn),_n)}function Mn(bn){if(bn===null)return!0;const Vn=mt[bn];let $n=-1;if(Vn)for(;++$n=3&&(Mn===null||(0,Mt.Ch)(Mn))?(se.exit("thematicBreak"),Ae(Mn)):ke(Mn)}function _n(Mn){return Mn===mt?(se.consume(Mn),Ue++,_n):(se.exit("thematicBreakSequence"),(0,Mt.xz)(Mn)?(0,fn.f)(se,tn,"whitespace")(Mn):tn(Mn))}}const lr={continuation:{tokenize:br},exit:Jr,name:"list",tokenize:Sr},cr={partial:!0,tokenize:$r},Yn={partial:!0,tokenize:Nr};function Sr(se,Ae,ke){const Ue=this,mt=Ue.events[Ue.events.length-1];let Et=mt&&mt[1].type==="linePrefix"?mt[2].sliceSerialize(mt[1],!0).length:0,Lt=0;return tn;function tn(Nn){const Ia=Ue.containerState.type||(Nn===42||Nn===43||Nn===45?"listUnordered":"listOrdered");if(Ia==="listUnordered"?!Ue.containerState.marker||Nn===Ue.containerState.marker:(0,Mt.pY)(Nn)){if(Ue.containerState.type||(Ue.containerState.type=Ia,se.enter(Ia,{_container:!0})),Ia==="listUnordered")return se.enter("listItemPrefix"),Nn===42||Nn===45?se.check(wt,ke,Mn)(Nn):Mn(Nn);if(!Ue.interrupt||Nn===49)return se.enter("listItemPrefix"),se.enter("listItemValue"),_n(Nn)}return ke(Nn)}function _n(Nn){return(0,Mt.pY)(Nn)&&++Lt<10?(se.consume(Nn),_n):(!Ue.interrupt||Lt<2)&&(Ue.containerState.marker?Nn===Ue.containerState.marker:Nn===41||Nn===46)?(se.exit("listItemValue"),Mn(Nn)):ke(Nn)}function Mn(Nn){return se.enter("listItemMarker"),se.consume(Nn),se.exit("listItemMarker"),Ue.containerState.marker=Ue.containerState.marker||Nn,se.check(kt.w,Ue.interrupt?ke:bn,se.attempt(cr,$n,Vn))}function bn(Nn){return Ue.containerState.initialBlankLine=!0,Et++,$n(Nn)}function Vn(Nn){return(0,Mt.xz)(Nn)?(se.enter("listItemPrefixWhitespace"),se.consume(Nn),se.exit("listItemPrefixWhitespace"),$n):ke(Nn)}function $n(Nn){return Ue.containerState.size=Et+Ue.sliceSerialize(se.exit("listItemPrefix"),!0).length,Ae(Nn)}}function br(se,Ae,ke){const Ue=this;return Ue.containerState._closeFlow=void 0,se.check(kt.w,mt,Et);function mt(tn){return Ue.containerState.furtherBlankLines=Ue.containerState.furtherBlankLines||Ue.containerState.initialBlankLine,(0,fn.f)(se,Ae,"listItemIndent",Ue.containerState.size+1)(tn)}function Et(tn){return Ue.containerState.furtherBlankLines||!(0,Mt.xz)(tn)?(Ue.containerState.furtherBlankLines=void 0,Ue.containerState.initialBlankLine=void 0,Lt(tn)):(Ue.containerState.furtherBlankLines=void 0,Ue.containerState.initialBlankLine=void 0,se.attempt(Yn,Ae,Lt)(tn))}function Lt(tn){return Ue.containerState._closeFlow=!0,Ue.interrupt=void 0,(0,fn.f)(se,se.attempt(lr,Ae,ke),"linePrefix",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(tn)}}function Nr(se,Ae,ke){const Ue=this;return(0,fn.f)(se,mt,"listItemIndent",Ue.containerState.size+1);function mt(Et){const Lt=Ue.events[Ue.events.length-1];return Lt&&Lt[1].type==="listItemIndent"&&Lt[2].sliceSerialize(Lt[1],!0).length===Ue.containerState.size?Ae(Et):ke(Et)}}function Jr(se){se.exit(this.containerState.type)}function $r(se,Ae,ke){const Ue=this;return(0,fn.f)(se,mt,"listItemPrefixWhitespace",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function mt(Et){const Lt=Ue.events[Ue.events.length-1];return!(0,Mt.xz)(Et)&&Lt&&Lt[1].type==="listItemPrefixWhitespace"?Ae(Et):ke(Et)}}const Ur={continuation:{tokenize:Hr},exit:pa,name:"blockQuote",tokenize:aa};function aa(se,Ae,ke){const Ue=this;return mt;function mt(Lt){if(Lt===62){const tn=Ue.containerState;return tn.open||(se.enter("blockQuote",{_container:!0}),tn.open=!0),se.enter("blockQuotePrefix"),se.enter("blockQuoteMarker"),se.consume(Lt),se.exit("blockQuoteMarker"),Et}return ke(Lt)}function Et(Lt){return(0,Mt.xz)(Lt)?(se.enter("blockQuotePrefixWhitespace"),se.consume(Lt),se.exit("blockQuotePrefixWhitespace"),se.exit("blockQuotePrefix"),Ae):(se.exit("blockQuotePrefix"),Ae(Lt))}}function Hr(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return(0,Mt.xz)(Lt)?(0,fn.f)(se,Et,"linePrefix",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Lt):Et(Lt)}function Et(Lt){return se.attempt(Ur,Ae,ke)(Lt)}}function pa(se){se.exit("blockQuote")}function ea(se,Ae,ke,Ue,mt,Et,Lt,tn,_n){const Mn=_n||Number.POSITIVE_INFINITY;let bn=0;return Vn;function Vn(va){return va===60?(se.enter(Ue),se.enter(mt),se.enter(Et),se.consume(va),se.exit(Et),$n):va===null||va===32||va===41||(0,Mt.Av)(va)?ke(va):(se.enter(Ue),se.enter(Lt),se.enter(tn),se.enter("chunkString",{contentType:"string"}),Qa(va))}function $n(va){return va===62?(se.enter(Et),se.consume(va),se.exit(Et),se.exit(mt),se.exit(Ue),Ae):(se.enter(tn),se.enter("chunkString",{contentType:"string"}),Nn(va))}function Nn(va){return va===62?(se.exit("chunkString"),se.exit(tn),$n(va)):va===null||va===60||(0,Mt.Ch)(va)?ke(va):(se.consume(va),va===92?Ia:Nn)}function Ia(va){return va===60||va===62||va===92?(se.consume(va),Nn):Nn(va)}function Qa(va){return!bn&&(va===null||va===41||(0,Mt.z3)(va))?(se.exit("chunkString"),se.exit(tn),se.exit(Lt),se.exit(Ue),Ae(va)):bn999||Nn===null||Nn===91||Nn===93&&!_n||Nn===94&&!tn&&"_hiddenFootnoteSupport"in Lt.parser.constructs?ke(Nn):Nn===93?(se.exit(Et),se.enter(mt),se.consume(Nn),se.exit(mt),se.exit(Ue),Ae):(0,Mt.Ch)(Nn)?(se.enter("lineEnding"),se.consume(Nn),se.exit("lineEnding"),bn):(se.enter("chunkString",{contentType:"string"}),Vn(Nn))}function Vn(Nn){return Nn===null||Nn===91||Nn===93||(0,Mt.Ch)(Nn)||tn++>999?(se.exit("chunkString"),bn(Nn)):(se.consume(Nn),_n||(_n=!(0,Mt.xz)(Nn)),Nn===92?$n:Vn)}function $n(Nn){return Nn===91||Nn===92||Nn===93?(se.consume(Nn),tn++,Vn):Vn(Nn)}}function sr(se,Ae,ke,Ue,mt,Et){let Lt;return tn;function tn($n){return $n===34||$n===39||$n===40?(se.enter(Ue),se.enter(mt),se.consume($n),se.exit(mt),Lt=$n===40?41:$n,_n):ke($n)}function _n($n){return $n===Lt?(se.enter(mt),se.consume($n),se.exit(mt),se.exit(Ue),Ae):(se.enter(Et),Mn($n))}function Mn($n){return $n===Lt?(se.exit(Et),_n(Lt)):$n===null?ke($n):(0,Mt.Ch)($n)?(se.enter("lineEnding"),se.consume($n),se.exit("lineEnding"),(0,fn.f)(se,Mn,"linePrefix")):(se.enter("chunkString",{contentType:"string"}),bn($n))}function bn($n){return $n===Lt||$n===null||(0,Mt.Ch)($n)?(se.exit("chunkString"),Mn($n)):(se.consume($n),$n===92?Vn:bn)}function Vn($n){return $n===Lt||$n===92?(se.consume($n),bn):bn($n)}}function Kr(se,Ae){let ke;return Ue;function Ue(mt){return(0,Mt.Ch)(mt)?(se.enter("lineEnding"),se.consume(mt),se.exit("lineEnding"),ke=!0,Ue):(0,Mt.xz)(mt)?(0,fn.f)(se,Ue,ke?"linePrefix":"lineSuffix")(mt):Ae(mt)}}var zr=y(95099);const ve={name:"definition",tokenize:ut},Ie={partial:!0,tokenize:Le};function ut(se,Ae,ke){const Ue=this;let mt;return Et;function Et(Nn){return se.enter("definition"),Lt(Nn)}function Lt(Nn){return jn.call(Ue,se,tn,ke,"definitionLabel","definitionLabelMarker","definitionLabelString")(Nn)}function tn(Nn){return mt=(0,zr.d)(Ue.sliceSerialize(Ue.events[Ue.events.length-1][1]).slice(1,-1)),Nn===58?(se.enter("definitionMarker"),se.consume(Nn),se.exit("definitionMarker"),_n):ke(Nn)}function _n(Nn){return(0,Mt.z3)(Nn)?Kr(se,Mn)(Nn):Mn(Nn)}function Mn(Nn){return ea(se,bn,ke,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(Nn)}function bn(Nn){return se.attempt(Ie,Vn,Vn)(Nn)}function Vn(Nn){return(0,Mt.xz)(Nn)?(0,fn.f)(se,$n,"whitespace")(Nn):$n(Nn)}function $n(Nn){return Nn===null||(0,Mt.Ch)(Nn)?(se.exit("definition"),Ue.parser.defined.push(mt),Ae(Nn)):ke(Nn)}}function Le(se,Ae,ke){return Ue;function Ue(tn){return(0,Mt.z3)(tn)?Kr(se,mt)(tn):ke(tn)}function mt(tn){return sr(se,Et,ke,"definitionTitle","definitionTitleMarker","definitionTitleString")(tn)}function Et(tn){return(0,Mt.xz)(tn)?(0,fn.f)(se,Lt,"whitespace")(tn):Lt(tn)}function Lt(tn){return tn===null||(0,Mt.Ch)(tn)?Ae(tn):ke(tn)}}const He={name:"codeIndented",tokenize:et},Vt={partial:!0,tokenize:en};function et(se,Ae,ke){const Ue=this;return mt;function mt(Mn){return se.enter("codeIndented"),(0,fn.f)(se,Et,"linePrefix",5)(Mn)}function Et(Mn){const bn=Ue.events[Ue.events.length-1];return bn&&bn[1].type==="linePrefix"&&bn[2].sliceSerialize(bn[1],!0).length>=4?Lt(Mn):ke(Mn)}function Lt(Mn){return Mn===null?_n(Mn):(0,Mt.Ch)(Mn)?se.attempt(Vt,Lt,_n)(Mn):(se.enter("codeFlowValue"),tn(Mn))}function tn(Mn){return Mn===null||(0,Mt.Ch)(Mn)?(se.exit("codeFlowValue"),Lt(Mn)):(se.consume(Mn),tn)}function _n(Mn){return se.exit("codeIndented"),Ae(Mn)}}function en(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return Ue.parser.lazy[Ue.now().line]?ke(Lt):(0,Mt.Ch)(Lt)?(se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),mt):(0,fn.f)(se,Et,"linePrefix",5)(Lt)}function Et(Lt){const tn=Ue.events[Ue.events.length-1];return tn&&tn[1].type==="linePrefix"&&tn[2].sliceSerialize(tn[1],!0).length>=4?Ae(Lt):(0,Mt.Ch)(Lt)?mt(Lt):ke(Lt)}}const cn={name:"headingAtx",resolve:Xt,tokenize:an};function Xt(se,Ae){let ke=se.length-2,Ue=3,mt,Et;return se[Ue][1].type==="whitespace"&&(Ue+=2),ke-2>Ue&&se[ke][1].type==="whitespace"&&(ke-=2),se[ke][1].type==="atxHeadingSequence"&&(Ue===ke-1||ke-4>Ue&&se[ke-2][1].type==="whitespace")&&(ke-=Ue+1===ke?2:4),ke>Ue&&(mt={type:"atxHeadingText",start:se[Ue][1].start,end:se[ke][1].end},Et={type:"chunkText",start:se[Ue][1].start,end:se[ke][1].end,contentType:"text"},(0,$t.d)(se,Ue,ke-Ue+1,[["enter",mt,Ae],["enter",Et,Ae],["exit",Et,Ae],["exit",mt,Ae]])),se}function an(se,Ae,ke){let Ue=0;return mt;function mt(bn){return se.enter("atxHeading"),Et(bn)}function Et(bn){return se.enter("atxHeadingSequence"),Lt(bn)}function Lt(bn){return bn===35&&Ue++<6?(se.consume(bn),Lt):bn===null||(0,Mt.z3)(bn)?(se.exit("atxHeadingSequence"),tn(bn)):ke(bn)}function tn(bn){return bn===35?(se.enter("atxHeadingSequence"),_n(bn)):bn===null||(0,Mt.Ch)(bn)?(se.exit("atxHeading"),Ae(bn)):(0,Mt.xz)(bn)?(0,fn.f)(se,tn,"whitespace")(bn):(se.enter("atxHeadingText"),Mn(bn))}function _n(bn){return bn===35?(se.consume(bn),_n):(se.exit("atxHeadingSequence"),tn(bn))}function Mn(bn){return bn===null||bn===35||(0,Mt.z3)(bn)?(se.exit("atxHeadingText"),tn(bn)):(se.consume(bn),Mn)}}const Kt={name:"setextUnderline",resolveTo:nn,tokenize:rt};function nn(se,Ae){let ke=se.length,Ue,mt,Et;for(;ke--;)if(se[ke][0]==="enter"){if(se[ke][1].type==="content"){Ue=ke;break}se[ke][1].type==="paragraph"&&(mt=ke)}else se[ke][1].type==="content"&&se.splice(ke,1),!Et&&se[ke][1].type==="definition"&&(Et=ke);const Lt={type:"setextHeading",start:qa({},se[Ue][1].start),end:qa({},se[se.length-1][1].end)};return se[mt][1].type="setextHeadingText",Et?(se.splice(mt,0,["enter",Lt,Ae]),se.splice(Et+1,0,["exit",se[Ue][1],Ae]),se[Ue][1].end=qa({},se[Et][1].end)):se[Ue][1]=Lt,se.push(["exit",Lt,Ae]),se}function rt(se,Ae,ke){const Ue=this;let mt;return Et;function Et(Mn){let bn=Ue.events.length,Vn;for(;bn--;)if(Ue.events[bn][1].type!=="lineEnding"&&Ue.events[bn][1].type!=="linePrefix"&&Ue.events[bn][1].type!=="content"){Vn=Ue.events[bn][1].type==="paragraph";break}return!Ue.parser.lazy[Ue.now().line]&&(Ue.interrupt||Vn)?(se.enter("setextHeadingLine"),mt=Mn,Lt(Mn)):ke(Mn)}function Lt(Mn){return se.enter("setextHeadingLineSequence"),tn(Mn)}function tn(Mn){return Mn===mt?(se.consume(Mn),tn):(se.exit("setextHeadingLineSequence"),(0,Mt.xz)(Mn)?(0,fn.f)(se,_n,"lineSuffix")(Mn):_n(Mn))}function _n(Mn){return Mn===null||(0,Mt.Ch)(Mn)?(se.exit("setextHeadingLine"),Ae(Mn)):ke(Mn)}}const Jn=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Bt=["pre","script","style","textarea"],rr={concrete:!0,name:"htmlFlow",resolveTo:rn,tokenize:Cn},Pr={partial:!0,tokenize:zn},Sn={partial:!0,tokenize:Pn};function rn(se){let Ae=se.length;for(;Ae--&&!(se[Ae][0]==="enter"&&se[Ae][1].type==="htmlFlow"););return Ae>1&&se[Ae-2][1].type==="linePrefix"&&(se[Ae][1].start=se[Ae-2][1].start,se[Ae+1][1].start=se[Ae-2][1].start,se.splice(Ae-2,2)),se}function Cn(se,Ae,ke){const Ue=this;let mt,Et,Lt,tn,_n;return Mn;function Mn(Bn){return bn(Bn)}function bn(Bn){return se.enter("htmlFlow"),se.enter("htmlFlowData"),se.consume(Bn),Vn}function Vn(Bn){return Bn===33?(se.consume(Bn),$n):Bn===47?(se.consume(Bn),Et=!0,Qa):Bn===63?(se.consume(Bn),mt=3,Ue.interrupt?Ae:hn):(0,Mt.jv)(Bn)?(se.consume(Bn),Lt=String.fromCharCode(Bn),gi):ke(Bn)}function $n(Bn){return Bn===45?(se.consume(Bn),mt=2,Nn):Bn===91?(se.consume(Bn),mt=5,tn=0,Ia):(0,Mt.jv)(Bn)?(se.consume(Bn),mt=4,Ue.interrupt?Ae:hn):ke(Bn)}function Nn(Bn){return Bn===45?(se.consume(Bn),Ue.interrupt?Ae:hn):ke(Bn)}function Ia(Bn){const no="CDATA[";return Bn===no.charCodeAt(tn++)?(se.consume(Bn),tn===no.length?Ue.interrupt?Ae:ui:Ia):ke(Bn)}function Qa(Bn){return(0,Mt.jv)(Bn)?(se.consume(Bn),Lt=String.fromCharCode(Bn),gi):ke(Bn)}function gi(Bn){if(Bn===null||Bn===47||Bn===62||(0,Mt.z3)(Bn)){const no=Bn===47,Ao=Lt.toLowerCase();return!no&&!Et&&Bt.includes(Ao)?(mt=1,Ue.interrupt?Ae(Bn):ui(Bn)):Jn.includes(Lt.toLowerCase())?(mt=6,no?(se.consume(Bn),va):Ue.interrupt?Ae(Bn):ui(Bn)):(mt=7,Ue.interrupt&&!Ue.parser.lazy[Ue.now().line]?ke(Bn):Et?pi(Bn):La(Bn))}return Bn===45||(0,Mt.H$)(Bn)?(se.consume(Bn),Lt+=String.fromCharCode(Bn),gi):ke(Bn)}function va(Bn){return Bn===62?(se.consume(Bn),Ue.interrupt?Ae:ui):ke(Bn)}function pi(Bn){return(0,Mt.xz)(Bn)?(se.consume(Bn),pi):Ri(Bn)}function La(Bn){return Bn===47?(se.consume(Bn),Ri):Bn===58||Bn===95||(0,Mt.jv)(Bn)?(se.consume(Bn),Ui):(0,Mt.xz)(Bn)?(se.consume(Bn),La):Ri(Bn)}function Ui(Bn){return Bn===45||Bn===46||Bn===58||Bn===95||(0,Mt.H$)(Bn)?(se.consume(Bn),Ui):yi(Bn)}function yi(Bn){return Bn===61?(se.consume(Bn),ta):(0,Mt.xz)(Bn)?(se.consume(Bn),yi):La(Bn)}function ta(Bn){return Bn===null||Bn===60||Bn===61||Bn===62||Bn===96?ke(Bn):Bn===34||Bn===39?(se.consume(Bn),_n=Bn,Ai):(0,Mt.xz)(Bn)?(se.consume(Bn),ta):Ei(Bn)}function Ai(Bn){return Bn===_n?(se.consume(Bn),_n=null,Ii):Bn===null||(0,Mt.Ch)(Bn)?ke(Bn):(se.consume(Bn),Ai)}function Ei(Bn){return Bn===null||Bn===34||Bn===39||Bn===47||Bn===60||Bn===61||Bn===62||Bn===96||(0,Mt.z3)(Bn)?yi(Bn):(se.consume(Bn),Ei)}function Ii(Bn){return Bn===47||Bn===62||(0,Mt.xz)(Bn)?La(Bn):ke(Bn)}function Ri(Bn){return Bn===62?(se.consume(Bn),xo):ke(Bn)}function xo(Bn){return Bn===null||(0,Mt.Ch)(Bn)?ui(Bn):(0,Mt.xz)(Bn)?(se.consume(Bn),xo):ke(Bn)}function ui(Bn){return Bn===45&&mt===2?(se.consume(Bn),Ot):Bn===60&&mt===1?(se.consume(Bn),Rn):Bn===62&&mt===4?(se.consume(Bn),wa):Bn===63&&mt===3?(se.consume(Bn),hn):Bn===93&&mt===5?(se.consume(Bn),Mr):(0,Mt.Ch)(Bn)&&(mt===6||mt===7)?(se.exit("htmlFlowData"),se.check(Pr,hi,x)(Bn)):Bn===null||(0,Mt.Ch)(Bn)?(se.exit("htmlFlowData"),x(Bn)):(se.consume(Bn),ui)}function x(Bn){return se.check(Sn,ee,hi)(Bn)}function ee(Bn){return se.enter("lineEnding"),se.consume(Bn),se.exit("lineEnding"),Ne}function Ne(Bn){return Bn===null||(0,Mt.Ch)(Bn)?x(Bn):(se.enter("htmlFlowData"),ui(Bn))}function Ot(Bn){return Bn===45?(se.consume(Bn),hn):ui(Bn)}function Rn(Bn){return Bn===47?(se.consume(Bn),Lt="",fr):ui(Bn)}function fr(Bn){if(Bn===62){const no=Lt.toLowerCase();return Bt.includes(no)?(se.consume(Bn),wa):ui(Bn)}return(0,Mt.jv)(Bn)&&Lt.length<8?(se.consume(Bn),Lt+=String.fromCharCode(Bn),fr):ui(Bn)}function Mr(Bn){return Bn===93?(se.consume(Bn),hn):ui(Bn)}function hn(Bn){return Bn===62?(se.consume(Bn),wa):Bn===45&&mt===2?(se.consume(Bn),hn):ui(Bn)}function wa(Bn){return Bn===null||(0,Mt.Ch)(Bn)?(se.exit("htmlFlowData"),hi(Bn)):(se.consume(Bn),wa)}function hi(Bn){return se.exit("htmlFlow"),Ae(Bn)}}function Pn(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return(0,Mt.Ch)(Lt)?(se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),Et):ke(Lt)}function Et(Lt){return Ue.parser.lazy[Ue.now().line]?ke(Lt):Ae(Lt)}}function zn(se,Ae,ke){return Ue;function Ue(mt){return se.enter("lineEnding"),se.consume(mt),se.exit("lineEnding"),se.attempt(kt.w,Ae,ke)}}const tr={partial:!0,tokenize:Zn},wr={concrete:!0,name:"codeFenced",tokenize:pr};function pr(se,Ae,ke){const Ue=this,mt={partial:!0,tokenize:yi};let Et=0,Lt=0,tn;return _n;function _n(ta){return Mn(ta)}function Mn(ta){const Ai=Ue.events[Ue.events.length-1];return Et=Ai&&Ai[1].type==="linePrefix"?Ai[2].sliceSerialize(Ai[1],!0).length:0,tn=ta,se.enter("codeFenced"),se.enter("codeFencedFence"),se.enter("codeFencedFenceSequence"),bn(ta)}function bn(ta){return ta===tn?(Lt++,se.consume(ta),bn):Lt<3?ke(ta):(se.exit("codeFencedFenceSequence"),(0,Mt.xz)(ta)?(0,fn.f)(se,Vn,"whitespace")(ta):Vn(ta))}function Vn(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("codeFencedFence"),Ue.interrupt?Ae(ta):se.check(tr,Qa,Ui)(ta)):(se.enter("codeFencedFenceInfo"),se.enter("chunkString",{contentType:"string"}),$n(ta))}function $n(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("chunkString"),se.exit("codeFencedFenceInfo"),Vn(ta)):(0,Mt.xz)(ta)?(se.exit("chunkString"),se.exit("codeFencedFenceInfo"),(0,fn.f)(se,Nn,"whitespace")(ta)):ta===96&&ta===tn?ke(ta):(se.consume(ta),$n)}function Nn(ta){return ta===null||(0,Mt.Ch)(ta)?Vn(ta):(se.enter("codeFencedFenceMeta"),se.enter("chunkString",{contentType:"string"}),Ia(ta))}function Ia(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("chunkString"),se.exit("codeFencedFenceMeta"),Vn(ta)):ta===96&&ta===tn?ke(ta):(se.consume(ta),Ia)}function Qa(ta){return se.attempt(mt,Ui,gi)(ta)}function gi(ta){return se.enter("lineEnding"),se.consume(ta),se.exit("lineEnding"),va}function va(ta){return Et>0&&(0,Mt.xz)(ta)?(0,fn.f)(se,pi,"linePrefix",Et+1)(ta):pi(ta)}function pi(ta){return ta===null||(0,Mt.Ch)(ta)?se.check(tr,Qa,Ui)(ta):(se.enter("codeFlowValue"),La(ta))}function La(ta){return ta===null||(0,Mt.Ch)(ta)?(se.exit("codeFlowValue"),pi(ta)):(se.consume(ta),La)}function Ui(ta){return se.exit("codeFenced"),Ae(ta)}function yi(ta,Ai,Ei){let Ii=0;return Ri;function Ri(Ne){return ta.enter("lineEnding"),ta.consume(Ne),ta.exit("lineEnding"),xo}function xo(Ne){return ta.enter("codeFencedFence"),(0,Mt.xz)(Ne)?(0,fn.f)(ta,ui,"linePrefix",Ue.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ne):ui(Ne)}function ui(Ne){return Ne===tn?(ta.enter("codeFencedFenceSequence"),x(Ne)):Ei(Ne)}function x(Ne){return Ne===tn?(Ii++,ta.consume(Ne),x):Ii>=Lt?(ta.exit("codeFencedFenceSequence"),(0,Mt.xz)(Ne)?(0,fn.f)(ta,ee,"whitespace")(Ne):ee(Ne)):Ei(Ne)}function ee(Ne){return Ne===null||(0,Mt.Ch)(Ne)?(ta.exit("codeFencedFence"),Ai(Ne)):Ei(Ne)}}}function Zn(se,Ae,ke){const Ue=this;return mt;function mt(Lt){return Lt===null?ke(Lt):(se.enter("lineEnding"),se.consume(Lt),se.exit("lineEnding"),Et)}function Et(Lt){return Ue.parser.lazy[Ue.now().line]?ke(Lt):Ae(Lt)}}const Kn=document.createElement("i");function gr(se){const Ae="&"+se+";";Kn.innerHTML=Ae;const ke=Kn.textContent;return ke.charCodeAt(ke.length-1)===59&&se!=="semi"||ke===Ae?!1:ke}const dr={name:"characterReference",tokenize:Yr};function Yr(se,Ae,ke){const Ue=this;let mt=0,Et,Lt;return tn;function tn(Vn){return se.enter("characterReference"),se.enter("characterReferenceMarker"),se.consume(Vn),se.exit("characterReferenceMarker"),_n}function _n(Vn){return Vn===35?(se.enter("characterReferenceMarkerNumeric"),se.consume(Vn),se.exit("characterReferenceMarkerNumeric"),Mn):(se.enter("characterReferenceValue"),Et=31,Lt=Mt.H$,bn(Vn))}function Mn(Vn){return Vn===88||Vn===120?(se.enter("characterReferenceMarkerHexadecimal"),se.consume(Vn),se.exit("characterReferenceMarkerHexadecimal"),se.enter("characterReferenceValue"),Et=6,Lt=Mt.AF,bn):(se.enter("characterReferenceValue"),Et=7,Lt=Mt.pY,bn(Vn))}function bn(Vn){if(Vn===59&&mt){const $n=se.exit("characterReferenceValue");return Lt===Mt.H$&&!gr(Ue.sliceSerialize($n))?ke(Vn):(se.enter("characterReferenceMarker"),se.consume(Vn),se.exit("characterReferenceMarker"),se.exit("characterReference"),Ae)}return Lt(Vn)&&mt++1&&se[ke][1].end.offset-se[ke][1].start.offset>1?2:1;const Vn=qa({},se[Ue][1].end),$n=qa({},se[ke][1].start);Dr(Vn,-_n),Dr($n,_n),Lt={type:_n>1?"strongSequence":"emphasisSequence",start:Vn,end:qa({},se[Ue][1].end)},tn={type:_n>1?"strongSequence":"emphasisSequence",start:qa({},se[ke][1].start),end:$n},Et={type:_n>1?"strongText":"emphasisText",start:qa({},se[Ue][1].end),end:qa({},se[ke][1].start)},mt={type:_n>1?"strong":"emphasis",start:qa({},Lt.start),end:qa({},tn.end)},se[Ue][1].end=qa({},Lt.start),se[ke][1].start=qa({},tn.end),Mn=[],se[Ue][1].end.offset-se[Ue][1].start.offset&&(Mn=(0,$t.V)(Mn,[["enter",se[Ue][1],Ae],["exit",se[Ue][1],Ae]])),Mn=(0,$t.V)(Mn,[["enter",mt,Ae],["enter",Lt,Ae],["exit",Lt,Ae],["enter",Et,Ae]]),Mn=(0,$t.V)(Mn,(0,Xr.C)(Ae.parser.constructs.insideSpan.null,se.slice(Ue+1,ke),Ae)),Mn=(0,$t.V)(Mn,[["exit",Et,Ae],["enter",tn,Ae],["exit",tn,Ae],["exit",mt,Ae]]),se[ke][1].end.offset-se[ke][1].start.offset?(bn=2,Mn=(0,$t.V)(Mn,[["enter",se[ke][1],Ae],["exit",se[ke][1],Ae]])):bn=0,(0,$t.d)(se,Ue-1,ke-Ue+3,Mn),ke=Ue+Mn.length-bn-2;break}}for(ke=-1;++ke-1){const tn=Lt[0];typeof tn=="string"?Lt[0]=tn.slice(Ue):Lt.shift()}Et>0&&Lt.push(se[mt].slice(0,Et))}return Lt}function Aa(se,Ae){let ke=-1;const Ue=[];let mt;for(;++ke13&&ke<32||ke>126&&ke<160||ke>55295&&ke<57344||ke>64975&&ke<65008||(ke&65535)===65535||(ke&65535)===65534||ke>1114111?"\uFFFD":String.fromCodePoint(ke)}const ma=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function xi(se){return se.replace(ma,Bi)}function Bi(se,Ae,ke){if(Ae)return Ae;if(ke.charCodeAt(0)===35){const mt=ke.charCodeAt(1),Et=mt===120||mt===88;return Xa(ke.slice(Et?2:1),Et?16:10)}return gr(ke)||se}const Fi={}.hasOwnProperty;function Rr(se,Ae,ke){return Ae&&typeof Ae=="object"&&(ke=Ae,Ae=void 0),Ti(ke)(Wt($a(ke).document().write(Ba()(se,Ae,!0))))}function Ti(se){const Ae={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:Et(bl),autolinkProtocol:Ii,autolinkEmail:Ii,atxHeading:Et(Hl),blockQuote:Et(ko),characterEscape:Ii,characterReference:Ii,codeFenced:Et(Cs),codeFencedFenceInfo:Lt,codeFencedFenceMeta:Lt,codeIndented:Et(Cs,Lt),codeText:Et(Zs,Lt),codeTextData:Ii,data:Ii,codeFlowValue:Ii,definition:Et(gl),definitionDestinationString:Lt,definitionLabelString:Lt,definitionTitleString:Lt,emphasis:Et(mu),hardBreakEscape:Et(Ms),hardBreakTrailing:Et(Ms),htmlFlow:Et(vl,Lt),htmlFlowData:Ii,htmlText:Et(vl,Lt),htmlTextData:Ii,image:Et(ou),label:Lt,link:Et(bl),listItem:Et($s),listItemValue:$n,listOrdered:Et(yl,Vn),listUnordered:Et(yl),paragraph:Et(jl),reference:Bn,referenceString:Lt,resourceDestinationString:Lt,resourceTitleString:Lt,setextHeading:Et(Hl),strong:Et(Dl),thematicBreak:Et(El)},exit:{atxHeading:_n(),atxHeadingSequence:yi,autolink:_n(),autolinkEmail:Ls,autolinkProtocol:co,blockQuote:_n(),characterEscapeValue:Ri,characterReferenceMarkerHexadecimal:Ao,characterReferenceMarkerNumeric:Ao,characterReferenceValue:ml,characterReference:Vs,codeFenced:_n(gi),codeFencedFence:Qa,codeFencedFenceInfo:Nn,codeFencedFenceMeta:Ia,codeFlowValue:Ri,codeIndented:_n(va),codeText:_n(Ne),codeTextData:Ri,data:Ri,definition:_n(),definitionDestinationString:Ui,definitionLabelString:pi,definitionTitleString:La,emphasis:_n(),hardBreakEscape:_n(ui),hardBreakTrailing:_n(ui),htmlFlow:_n(x),htmlFlowData:Ri,htmlText:_n(ee),htmlTextData:Ri,image:_n(Rn),label:Mr,labelText:fr,lineEnding:xo,link:_n(Ot),listItem:_n(),listOrdered:_n(),listUnordered:_n(),paragraph:_n(),referenceString:no,resourceDestinationString:hn,resourceTitleString:wa,resource:hi,setextHeading:_n(Ei),setextHeadingLineSequence:Ai,setextHeadingText:ta,strong:_n(),thematicBreak:_n()}};Ra(Ae,(se||{}).mdastExtensions||[]);const ke={};return Ue;function Ue(Lr){let ga={type:"root",children:[]};const oi={stack:[ga],tokenStack:[],config:Ae,enter:tn,exit:Mn,buffer:Lt,resume:bn,data:ke},Za=[];let Oi=-1;for(;++Oi0){const Wo=oi.tokenStack[oi.tokenStack.length-1];(Wo[1]||Ca).call(oi,void 0,Wo[0])}for(ga.position={start:qi(Lr.length>0?Lr[0][1].start:{line:1,column:1,offset:0}),end:qi(Lr.length>0?Lr[Lr.length-2][1].end:{line:1,column:1,offset:0})},Oi=-1;++Oi-1&&Ue>Lt||mt>-1&&Ue>mt||Et>-1&&Ue>Et||Ae.test(ke.slice(0,Ue))?ke:""}function ci(se){const Ae=[];let ke=-1,Ue=0,mt=0;for(;++ke55295&&Et<57344){const tn=se.charCodeAt(ke+1);Et<56320&&tn>56319&&tn<57344?(Lt=String.fromCharCode(Et,tn),mt=1):Lt="\uFFFD"}else Lt=String.fromCharCode(Et);Lt&&(Ae.push(se.slice(Ue,ke),encodeURIComponent(Lt)),Ue=ke+mt+1,Lt=""),mt&&(ke+=mt,mt=0)}return Ae.join("")+se.slice(Ue)}function ki(se,Ae){const ke=[{type:"text",value:"\u21A9"}];return Ae>1&&ke.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(Ae)}]}),ke}function ti(se,Ae){return"Back to reference "+(se+1)+(Ae>1?"-"+Ae:"")}function zi(se){const Ae=typeof se.options.clobberPrefix=="string"?se.options.clobberPrefix:"user-content-",ke=se.options.footnoteBackContent||ki,Ue=se.options.footnoteBackLabel||ti,mt=se.options.footnoteLabel||"Footnotes",Et=se.options.footnoteLabelTagName||"h2",Lt=se.options.footnoteLabelProperties||{className:["sr-only"]},tn=[];let _n=-1;for(;++_n0&&Ia.push({type:"text",value:" "});let pi=typeof ke=="string"?ke:ke(_n,Nn);typeof pi=="string"&&(pi={type:"text",value:pi}),Ia.push({type:"element",tagName:"a",properties:{href:"#"+Ae+"fnref-"+$n+(Nn>1?"-"+Nn:""),dataFootnoteBackref:"",ariaLabel:typeof Ue=="string"?Ue:Ue(_n,Nn),className:["data-footnote-backref"]},children:Array.isArray(pi)?pi:[pi]})}const gi=bn[bn.length-1];if(gi&&gi.type==="element"&&gi.tagName==="p"){const pi=gi.children[gi.children.length-1];pi&&pi.type==="text"?pi.value+=" ":gi.children.push({type:"text",value:" "}),gi.children.push(...Ia)}else bn.push(...Ia);const va={type:"element",tagName:"li",properties:{id:Ae+"fn-"+$n},children:se.wrap(bn,!0)};se.patch(Mn,va),tn.push(va)}if(tn.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:Et,properties:Ol(qa({},(0,ri.ZP)(Lt)),{id:"footnote-label"}),children:[{type:"text",value:mt}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:se.wrap(tn,!0)},{type:"text",value:` +`}]}}var yo=y(28470);function No(se,Ae){const ke={type:"element",tagName:"blockquote",properties:{},children:se.wrap(se.all(Ae),!0)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function so(se,Ae){const ke={type:"element",tagName:"br",properties:{},children:[]};return se.patch(Ae,ke),[se.applyData(Ae,ke),{type:"text",value:` +`}]}function Ji(se,Ae){const ke=Ae.value?Ae.value+` +`:"",Ue={},mt=Ae.lang?Ae.lang.split(/\s+/):[];mt.length>0&&(Ue.className=["language-"+mt[0]]);let Et={type:"element",tagName:"code",properties:Ue,children:[{type:"text",value:ke}]};return Ae.meta&&(Et.data={meta:Ae.meta}),se.patch(Ae,Et),Et=se.applyData(Ae,Et),Et={type:"element",tagName:"pre",properties:{},children:[Et]},se.patch(Ae,Et),Et}function Uo(se,Ae){const ke={type:"element",tagName:"del",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Co(se,Ae){const ke={type:"element",tagName:"em",properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Ts(se,Ae){const ke=typeof se.options.clobberPrefix=="string"?se.options.clobberPrefix:"user-content-",Ue=String(Ae.identifier).toUpperCase(),mt=ci(Ue.toLowerCase()),Et=se.footnoteOrder.indexOf(Ue);let Lt,tn=se.footnoteCounts.get(Ue);tn===void 0?(tn=0,se.footnoteOrder.push(Ue),Lt=se.footnoteOrder.length):Lt=Et+1,tn+=1,se.footnoteCounts.set(Ue,tn);const _n={type:"element",tagName:"a",properties:{href:"#"+ke+"fn-"+mt,id:ke+"fnref-"+mt+(tn>1?"-"+tn:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(Lt)}]};se.patch(Ae,_n);const Mn={type:"element",tagName:"sup",properties:{},children:[_n]};return se.patch(Ae,Mn),se.applyData(Ae,Mn)}function dl(se,Ae){const ke={type:"element",tagName:"h"+Ae.depth,properties:{},children:se.all(Ae)};return se.patch(Ae,ke),se.applyData(Ae,ke)}function Js(se,Ae){if(se.options.allowDangerousHtml){const ke={type:"raw",value:Ae.value};return se.patch(Ae,ke),se.applyData(Ae,ke)}}function mo(se,Ae){const ke=Ae.referenceType;let Ue="]";if(ke==="collapsed"?Ue+="[]":ke==="full"&&(Ue+="["+(Ae.label||Ae.identifier)+"]"),Ae.type==="imageReference")return[{type:"text",value:"!["+Ae.alt+Ue}];const mt=se.all(Ae),Et=mt[0];Et&&Et.type==="text"?Et.value="["+Et.value:mt.unshift({type:"text",value:"["});const Lt=mt[mt.length-1];return Lt&&Lt.type==="text"?Lt.value+=Ue:mt.push({type:"text",value:Ue}),mt}function Hi(se,Ae){const ke=String(Ae.identifier).toUpperCase(),Ue=se.definitionById.get(ke);if(!Ue)return mo(se,Ae);const mt={src:ci(Ue.url||""),alt:Ae.alt};Ue.title!==null&&Ue.title!==void 0&&(mt.title=Ue.title);const Et={type:"element",tagName:"img",properties:mt,children:[]};return se.patch(Ae,Et),se.applyData(Ae,Et)}function wo(se,Ae){const ke={src:ci(Ae.url)};Ae.alt!==null&&Ae.alt!==void 0&&(ke.alt=Ae.alt),Ae.title!==null&&Ae.title!==void 0&&(ke.title=Ae.title);const Ue={type:"element",tagName:"img",properties:ke,children:[]};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function ps(se,Ae){const ke={type:"text",value:Ae.value.replace(/\r?\n|\r/g," ")};se.patch(Ae,ke);const Ue={type:"element",tagName:"code",properties:{},children:[ke]};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function el(se,Ae){const ke=String(Ae.identifier).toUpperCase(),Ue=se.definitionById.get(ke);if(!Ue)return mo(se,Ae);const mt={href:ci(Ue.url||"")};Ue.title!==null&&Ue.title!==void 0&&(mt.title=Ue.title);const Et={type:"element",tagName:"a",properties:mt,children:se.all(Ae)};return se.patch(Ae,Et),se.applyData(Ae,Et)}function ai(se,Ae){const ke={href:ci(Ae.url)};Ae.title!==null&&Ae.title!==void 0&&(ke.title=Ae.title);const Ue={type:"element",tagName:"a",properties:ke,children:se.all(Ae)};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function hs(se,Ae,ke){const Ue=se.all(Ae),mt=ke?As(ke):ns(Ae),Et={},Lt=[];if(typeof Ae.checked=="boolean"){const bn=Ue[0];let Vn;bn&&bn.type==="element"&&bn.tagName==="p"?Vn=bn:(Vn={type:"element",tagName:"p",properties:{},children:[]},Ue.unshift(Vn)),Vn.children.length>0&&Vn.children.unshift({type:"text",value:" "}),Vn.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:Ae.checked,disabled:!0},children:[]}),Et.className=["task-list-item"]}let tn=-1;for(;++tn1:Ae}function Is(se,Ae){const ke={},Ue=se.all(Ae);let mt=-1;for(typeof Ae.start=="number"&&Ae.start!==1&&(ke.start=Ae.start);++mt0){const Lt={type:"element",tagName:"tbody",properties:{},children:se.wrap(ke,!0)},tn=(0,ze.Pk)(Ae.children[1]),_n=(0,ze.rb)(Ae.children[Ae.children.length-1]);tn&&_n&&(Lt.position={start:tn,end:_n}),mt.push(Lt)}const Et={type:"element",tagName:"table",properties:{},children:se.wrap(mt,!0)};return se.patch(Ae,Et),se.applyData(Ae,Et)}function zo(se,Ae,ke){const Ue=ke?ke.children:void 0,Et=(Ue?Ue.indexOf(Ae):1)===0?"th":"td",Lt=ke&&ke.type==="table"?ke.align:void 0,tn=Lt?Lt.length:Ae.children.length;let _n=-1;const Mn=[];for(;++_n0,!0),Ue[0]),mt=Ue.index+Ue[0].length,Ue=ke.exec(Ae);return Et.push(ei(Ae.slice(mt),mt>0,!1)),Et.join("")}function ei(se,Ae,ke){let Ue=0,mt=se.length;if(Ae){let Et=se.codePointAt(Ue);for(;Et===as||Et===Xi;)Ue++,Et=se.codePointAt(Ue)}if(ke){let Et=se.codePointAt(mt-1);for(;Et===as||Et===Xi;)mt--,Et=se.codePointAt(mt-1)}return mt>Ue?se.slice(Ue,mt):""}function eo(se,Ae){const ke={type:"text",value:mi(String(Ae.value))};return se.patch(Ae,ke),se.applyData(Ae,ke)}function to(se,Ae){const ke={type:"element",tagName:"hr",properties:{},children:[]};return se.patch(Ae,ke),se.applyData(Ae,ke)}const ji={blockquote:No,break:so,code:Ji,delete:Uo,emphasis:Co,footnoteReference:Ts,heading:dl,html:Js,imageReference:Hi,image:wo,inlineCode:ps,linkReference:el,link:ai,listItem:hs,list:Is,paragraph:ms,root:rs,strong:Ns,table:Yo,tableCell:tl,tableRow:zo,text:eo,thematicBreak:to,toml:_i,yaml:_i,definition:_i,footnoteDefinition:_i};function _i(){}const vo={}.hasOwnProperty,To={};function go(se,Ae){const ke=Ae||To,Ue=new Map,mt=new Map,Et=new Map,Lt=qa(qa({},ji),ke.handlers),tn={all:Mn,applyData:$i,definitionById:Ue,footnoteById:mt,footnoteCounts:Et,footnoteOrder:[],handlers:Lt,one:_n,options:ke,patch:Wi,wrap:Xo};return(0,yo.Vn)(se,function(bn){if(bn.type==="definition"||bn.type==="footnoteDefinition"){const Vn=bn.type==="definition"?Ue:mt,$n=String(bn.identifier).toUpperCase();Vn.has($n)||Vn.set($n,bn)}}),tn;function _n(bn,Vn){const $n=bn.type,Nn=tn.handlers[$n];if(vo.call(tn.handlers,$n)&&Nn)return Nn(tn,bn,Vn);if(tn.options.passThrough&&tn.options.passThrough.includes($n)){if("children"in bn){const Qa=bn,{children:gi}=Qa,va=td(Qa,["children"]),pi=(0,ri.ZP)(va);return pi.children=tn.all(bn),pi}return(0,ri.ZP)(bn)}return(tn.options.unknownHandler||Eo)(tn,bn,Vn)}function Mn(bn){const Vn=[];if("children"in bn){const $n=bn.children;let Nn=-1;for(;++Nn<$n.length;){const Ia=tn.one($n[Nn],bn);if(Ia){if(Nn&&$n[Nn-1].type==="break"&&(!Array.isArray(Ia)&&Ia.type==="text"&&(Ia.value=is(Ia.value)),!Array.isArray(Ia)&&Ia.type==="element")){const Qa=Ia.children[0];Qa&&Qa.type==="text"&&(Qa.value=is(Qa.value))}Array.isArray(Ia)?Vn.push(...Ia):Vn.push(Ia)}}}return Vn}}function Wi(se,Ae){se.position&&(Ae.position=(0,ze.FK)(se))}function $i(se,Ae){let ke=Ae;if(se&&se.data){const Ue=se.data.hName,mt=se.data.hChildren,Et=se.data.hProperties;if(typeof Ue=="string")if(ke.type==="element")ke.tagName=Ue;else{const Lt="children"in ke?ke.children:[ke];ke={type:"element",tagName:Ue,properties:{},children:Lt}}ke.type==="element"&&Et&&Object.assign(ke.properties,(0,ri.ZP)(Et)),"children"in ke&&ke.children&&mt!==null&&mt!==void 0&&(ke.children=mt)}return ke}function Eo(se,Ae){const ke=Ae.data||{},Ue="value"in Ae&&!(vo.call(ke,"hProperties")||vo.call(ke,"hChildren"))?{type:"text",value:Ae.value}:{type:"element",tagName:"div",properties:{},children:se.all(Ae)};return se.patch(Ae,Ue),se.applyData(Ae,Ue)}function Xo(se,Ae){const ke=[];let Ue=-1;for(Ae&&ke.push({type:"text",value:` +`});++Ue0&&ke.push({type:"text",value:` +`}),ke}function is(se){let Ae=0,ke=se.charCodeAt(Ae);for(;ke===9||ke===32;)Ae++,ke=se.charCodeAt(Ae);return se.slice(Ae)}function Fs(se,Ae){const ke=go(se,Ae),Ue=ke.one(se,void 0),mt=zi(ke),Et=Array.isArray(Ue)?{type:"root",children:Ue}:Ue||{type:"root",children:[]};return mt&&((0,me.ok)("children"in Et),Et.children.push({type:"text",value:` +`},mt)),Et}function _s(se,Ae){return se&&"run"in se?function(ke,Ue){return Uc(this,null,function*(){const mt=Fs(ke,qa({file:Ue},Ae));yield se.run(mt,Ue)})}:function(ke,Ue){return Fs(ke,qa({file:Ue},se||Ae))}}function Ho(se){if(se)throw se}var So=y(58847);function Ki(se){if(typeof se!="object"||se===null)return!1;const Ae=Object.getPrototypeOf(se);return(Ae===null||Ae===Object.prototype||Object.getPrototypeOf(Ae)===null)&&!(Symbol.toStringTag in se)&&!(Symbol.iterator in se)}function Ro(){const se=[],Ae={run:ke,use:Ue};return Ae;function ke(...mt){let Et=-1;const Lt=mt.pop();if(typeof Lt!="function")throw new TypeError("Expected function as last argument, not "+Lt);tn(null,...mt);function tn(_n,...Mn){const bn=se[++Et];let Vn=-1;if(_n){Lt(_n);return}for(;++VnLt.length;let _n;tn&&Lt.push(mt);try{_n=se.apply(this,Lt)}catch(Mn){const bn=Mn;if(tn&&ke)throw bn;return mt(bn)}tn||(_n&&_n.then&&typeof _n.then=="function"?_n.then(Et,mt):_n instanceof Error?mt(_n):Et(_n))}function mt(Lt,...tn){ke||(ke=!0,Ae(Lt,...tn))}function Et(Lt){mt(null,Lt)}}const lo={basename:Rs,dirname:Us,extname:gs,join:kl,sep:"/"};function Rs(se,Ae){if(Ae!==void 0&&typeof Ae!="string")throw new TypeError('"ext" argument must be a string');Os(se);let ke=0,Ue=-1,mt=se.length,Et;if(Ae===void 0||Ae.length===0||Ae.length>se.length){for(;mt--;)if(se.codePointAt(mt)===47){if(Et){ke=mt+1;break}}else Ue<0&&(Et=!0,Ue=mt+1);return Ue<0?"":se.slice(ke,Ue)}if(Ae===se)return"";let Lt=-1,tn=Ae.length-1;for(;mt--;)if(se.codePointAt(mt)===47){if(Et){ke=mt+1;break}}else Lt<0&&(Et=!0,Lt=mt+1),tn>-1&&(se.codePointAt(mt)===Ae.codePointAt(tn--)?tn<0&&(Ue=mt):(tn=-1,Ue=Lt));return ke===Ue?Ue=Lt:Ue<0&&(Ue=se.length),se.slice(ke,Ue)}function Us(se){if(Os(se),se.length===0)return".";let Ae=-1,ke=se.length,Ue;for(;--ke;)if(se.codePointAt(ke)===47){if(Ue){Ae=ke;break}}else Ue||(Ue=!0);return Ae<0?se.codePointAt(0)===47?"/":".":Ae===1&&se.codePointAt(0)===47?"//":se.slice(0,Ae)}function gs(se){Os(se);let Ae=se.length,ke=-1,Ue=0,mt=-1,Et=0,Lt;for(;Ae--;){const tn=se.codePointAt(Ae);if(tn===47){if(Lt){Ue=Ae+1;break}continue}ke<0&&(Lt=!0,ke=Ae+1),tn===46?mt<0?mt=Ae:Et!==1&&(Et=1):mt>-1&&(Et=-1)}return mt<0||ke<0||Et===0||Et===1&&mt===ke-1&&mt===Ue+1?"":se.slice(mt,ke)}function kl(...se){let Ae=-1,ke;for(;++Ae0&&se.codePointAt(se.length-1)===47&&(ke+="/"),Ae?"/"+ke:ke}function zs(se,Ae){let ke="",Ue=0,mt=-1,Et=0,Lt=-1,tn,_n;for(;++Lt<=se.length;){if(Lt2){if(_n=ke.lastIndexOf("/"),_n!==ke.length-1){_n<0?(ke="",Ue=0):(ke=ke.slice(0,_n),Ue=ke.length-1-ke.lastIndexOf("/")),mt=Lt,Et=0;continue}}else if(ke.length>0){ke="",Ue=0,mt=Lt,Et=0;continue}}Ae&&(ke=ke.length>0?ke+"/..":"..",Ue=2)}else ke.length>0?ke+="/"+se.slice(mt+1,Lt):ke=se.slice(mt+1,Lt),Ue=Lt-mt-1;mt=Lt,Et=0}else tn===46&&Et>-1?Et++:Et=-1}return ke}function Os(se){if(typeof se!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(se))}const vs={cwd:fl};function fl(){return"/"}function rl(se){return!!(se!==null&&typeof se=="object"&&"href"in se&&se.href&&"protocol"in se&&se.protocol&&se.auth===void 0)}function al(se){if(typeof se=="string")se=new URL(se);else if(!rl(se)){const Ae=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+se+"`");throw Ae.code="ERR_INVALID_ARG_TYPE",Ae}if(se.protocol!=="file:"){const Ae=new TypeError("The URL must be of scheme file");throw Ae.code="ERR_INVALID_URL_SCHEME",Ae}return bs(se)}function bs(se){if(se.hostname!==""){const Ue=new TypeError('File URL host must be "localhost" or empty on darwin');throw Ue.code="ERR_INVALID_FILE_URL_HOST",Ue}const Ae=se.pathname;let ke=-1;for(;++ke0){let[Nn,...Ia]=bn;const Qa=Ue[$n][1];Ki(Qa)&&Ki(Nn)&&(Nn=So(!0,Qa,Nn)),Ue[$n]=[Mn,Nn,...Ia]}}}}const xs=new jo().freeze();function il(se,Ae){if(typeof Ae!="function")throw new TypeError("Cannot `"+se+"` without `parser`")}function uo(se,Ae){if(typeof Ae!="function")throw new TypeError("Cannot `"+se+"` without `compiler`")}function js(se,Ae){if(Ae)throw new Error("Cannot call `"+se+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function jt(se){if(!Ki(se)||typeof se.type!="string")throw new TypeError("Expected node, got `"+se+"`")}function ao(se,Ae,ke){if(!ke)throw new Error("`"+se+"` finished async. Use `"+Ae+"` instead")}function Vi(se){return Ds(se)?se:new Es(se)}function Ds(se){return!!(se&&typeof se=="object"&&"message"in se&&"messages"in se)}function Qo(se){return typeof se=="string"||ol(se)}function ol(se){return!!(se&&typeof se=="object"&&"byteLength"in se&&"byteOffset"in se)}const qo="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Jo=[],sl={allowDangerousHtml:!0},Go=/^(https?|ircs?|mailto|xmpp)$/i,Ul=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function io(se){const Ae=hl(se),ke=Gs(se);return Ws(Ae.runSync(Ae.parse(ke),ke),se)}function ss(se){return Uc(this,null,function*(){const Ae=hl(se),ke=Gs(se),Ue=yield Ae.run(Ae.parse(ke),ke);return Ws(Ue,se)})}function iu(se){const Ae=hl(se),[ke,Ue]=useState(void 0),[mt,Et]=useState(void 0);if(useEffect(function(){const Lt=Gs(se);Ae.run(Ae.parse(Lt),Lt,function(tn,_n){Ue(tn),Et(_n)})},[se.children,se.rehypePlugins,se.remarkPlugins,se.remarkRehypeOptions]),ke)throw ke;return mt?Ws(mt,se):createElement(Fragment)}function hl(se){const Ae=se.rehypePlugins||Jo,ke=se.remarkPlugins||Jo,Ue=se.remarkRehypeOptions?qa(qa({},se.remarkRehypeOptions),sl):sl;return xs().use(za).use(ke).use(_s,Ue).use(Ae)}function Gs(se){const Ae=se.children||"",ke=new Es;return typeof Ae=="string"?ke.value=Ae:(0,me.t1)("Unexpected value `"+Ae+"` for `children` prop, expected `string`"),ke}function Ws(se,Ae){const ke=Ae.allowedElements,Ue=Ae.allowElement,mt=Ae.components,Et=Ae.disallowedElements,Lt=Ae.skipHtml,tn=Ae.unwrapDisallowed,_n=Ae.urlTransform||zl;for(const bn of Ul)Object.hasOwn(Ae,bn.from)&&(0,me.t1)("Unexpected `"+bn.from+"` prop, "+(bn.to?"use `"+bn.to+"` instead":"remove it")+" (see <"+qo+"#"+bn.id+"> for more info)");return ke&&Et&&(0,me.t1)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),Ae.className&&(se={type:"element",tagName:"div",properties:{className:Ae.className},children:se.type==="root"?se.children:[se]}),(0,yo.Vn)(se,Mn),Jt(se,{Fragment:ge.Fragment,components:mt,ignoreInvalidStyle:!0,jsx:ge.jsx,jsxs:ge.jsxs,passKeys:!0,passNode:!0});function Mn(bn,Vn,$n){if(bn.type==="raw"&&$n&&typeof Vn=="number")return Lt?$n.children.splice(Vn,1):$n.children[Vn]={type:"text",value:bn.value},Vn;if(bn.type==="element"){let Nn;for(Nn in je)if(Object.hasOwn(je,Nn)&&Object.hasOwn(bn.properties,Nn)){const Ia=bn.properties[Nn],Qa=je[Nn];(Qa===null||Qa.includes(bn.tagName))&&(bn.properties[Nn]=_n(String(Ia||""),Nn,bn))}}if(bn.type==="element"){let Nn=ke?!ke.includes(bn.tagName):Et?Et.includes(bn.tagName):!1;if(!Nn&&Ue&&typeof Vn=="number"&&(Nn=!Ue(bn,Vn,$n)),Nn&&$n&&typeof Vn=="number")return tn&&bn.children?$n.children.splice(Vn,1,...bn.children):$n.children.splice(Vn,1),Vn}}}function zl(se){const Ae=se.indexOf(":"),ke=se.indexOf("?"),Ue=se.indexOf("#"),mt=se.indexOf("/");return Ae===-1||mt!==-1&&Ae>mt||ke!==-1&&Ae>ke||Ue!==-1&&Ae>Ue||Go.test(se.slice(0,Ae))?se:""}},84821:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return ui}});var b=y(90302),me=y(87342),le=y(81994),pe=y(14470),be=y(86825);function fe(x){const ee=String(x),Ne=[];return{toOffset:Rn,toPoint:Ot};function Ot(fr){if(typeof fr=="number"&&fr>-1&&fr<=ee.length){let Mr=0;for(;;){let hn=Ne[Mr];if(hn===void 0){const wa=we(ee,Ne[Mr-1]);hn=wa===-1?ee.length+1:wa+1,Ne[Mr]=hn}if(hn>fr)return{line:Mr+1,column:fr-(Mr>0?Ne[Mr-1]:0)+1,offset:fr};Mr++}}}function Rn(fr){if(fr&&typeof fr.line=="number"&&typeof fr.column=="number"&&!Number.isNaN(fr.line)&&!Number.isNaN(fr.column)){for(;Ne.length1?Ne[fr.line-2]:0)+fr.column-1;if(Mr=55296&&x<=57343}function st(x){return x>=56320&&x<=57343}function Ut(x,ee){return(x-55296)*1024+9216+ee}function Gt(x){return x!==32&&x!==10&&x!==13&&x!==9&&x!==12&&x>=1&&x<=31||x>=127&&x<=159}function On(x){return x>=64976&&x<=65007||Tt.has(x)}var ft;(function(x){x.controlCharacterInInputStream="control-character-in-input-stream",x.noncharacterInInputStream="noncharacter-in-input-stream",x.surrogateInInputStream="surrogate-in-input-stream",x.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",x.endTagWithAttributes="end-tag-with-attributes",x.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",x.unexpectedSolidusInTag="unexpected-solidus-in-tag",x.unexpectedNullCharacter="unexpected-null-character",x.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",x.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",x.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",x.missingEndTagName="missing-end-tag-name",x.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",x.unknownNamedCharacterReference="unknown-named-character-reference",x.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",x.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",x.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",x.eofBeforeTagName="eof-before-tag-name",x.eofInTag="eof-in-tag",x.missingAttributeValue="missing-attribute-value",x.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",x.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",x.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",x.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",x.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",x.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",x.missingDoctypePublicIdentifier="missing-doctype-public-identifier",x.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",x.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",x.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",x.cdataInHtmlContent="cdata-in-html-content",x.incorrectlyOpenedComment="incorrectly-opened-comment",x.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",x.eofInDoctype="eof-in-doctype",x.nestedComment="nested-comment",x.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",x.eofInComment="eof-in-comment",x.incorrectlyClosedComment="incorrectly-closed-comment",x.eofInCdata="eof-in-cdata",x.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",x.nullCharacterReference="null-character-reference",x.surrogateCharacterReference="surrogate-character-reference",x.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",x.controlCharacterReference="control-character-reference",x.noncharacterCharacterReference="noncharacter-character-reference",x.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",x.missingDoctypeName="missing-doctype-name",x.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",x.duplicateAttribute="duplicate-attribute",x.nonConformingDoctype="non-conforming-doctype",x.missingDoctype="missing-doctype",x.misplacedDoctype="misplaced-doctype",x.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",x.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",x.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",x.openElementsLeftAfterEof="open-elements-left-after-eof",x.abandonedHeadElementChild="abandoned-head-element-child",x.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",x.nestedNoscriptInHead="nested-noscript-in-head",x.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ft||(ft={}));const En=65536;class Ht{constructor(ee){this.handler=ee,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=En,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(ee,Ne){const{line:Ot,col:Rn,offset:fr}=this,Mr=Rn+Ne,hn=fr+Ne;return{code:ee,startLine:Ot,endLine:Ot,startCol:Mr,endCol:Mr,startOffset:hn,endOffset:hn}}_err(ee){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(ee,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(ee){if(this.pos!==this.html.length-1){const Ne=this.html.charCodeAt(this.pos+1);if(st(Ne))return this.pos++,this._addGap(),Ut(ee,Ne)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Se.EOF;return this._err(ft.surrogateInInputStream),ee}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(ee,Ne){this.html.length>0?this.html+=ee:this.html=ee,this.endOfChunkHit=!1,this.lastChunkWritten=Ne}insertHtmlAtCurrentPos(ee){this.html=this.html.substring(0,this.pos+1)+ee+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(ee,Ne){if(this.pos+ee.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(Ne)return this.html.startsWith(ee,this.pos);for(let Ot=0;Ot=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Se.EOF;const Ot=this.html.charCodeAt(Ne);return Ot===Se.CARRIAGE_RETURN?Se.LINE_FEED:Ot}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Se.EOF;let ee=this.html.charCodeAt(this.pos);return ee===Se.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Se.LINE_FEED):ee===Se.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,on(ee)&&(ee=this._processSurrogate(ee)),this.handler.onParseError===null||ee>31&&ee<127||ee===Se.LINE_FEED||ee===Se.CARRIAGE_RETURN||ee>159&&ee<64976||this._checkForProblematicCharacters(ee),ee)}_checkForProblematicCharacters(ee){Gt(ee)?this._err(ft.controlCharacterInInputStream):On(ee)&&this._err(ft.noncharacterInInputStream)}retreat(ee){for(this.pos-=ee;this.pos=0;Ne--)if(x.attrs[Ne].name===ee)return x.attrs[Ne].value;return null}const De=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(x=>x.charCodeAt(0))),he=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(x=>x.charCodeAt(0)));var ce;const Te=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]]),je=(ce=String.fromCodePoint)!==null&&ce!==void 0?ce:function(x){let ee="";return x>65535&&(x-=65536,ee+=String.fromCharCode(x>>>10&1023|55296),x=56320|x&1023),ee+=String.fromCharCode(x),ee};function ge(x){var ee;return x>=55296&&x<=57343||x>1114111?65533:(ee=Te.get(x))!==null&&ee!==void 0?ee:x}function Pe(x){return je(ge(x))}var ct;(function(x){x[x.NUM=35]="NUM",x[x.SEMI=59]="SEMI",x[x.EQUALS=61]="EQUALS",x[x.ZERO=48]="ZERO",x[x.NINE=57]="NINE",x[x.LOWER_A=97]="LOWER_A",x[x.LOWER_F=102]="LOWER_F",x[x.LOWER_X=120]="LOWER_X",x[x.LOWER_Z=122]="LOWER_Z",x[x.UPPER_A=65]="UPPER_A",x[x.UPPER_F=70]="UPPER_F",x[x.UPPER_Z=90]="UPPER_Z"})(ct||(ct={}));const $t=32;var gt;(function(x){x[x.VALUE_LENGTH=49152]="VALUE_LENGTH",x[x.BRANCH_LENGTH=16256]="BRANCH_LENGTH",x[x.JUMP_TABLE=127]="JUMP_TABLE"})(gt||(gt={}));function yt(x){return x>=ct.ZERO&&x<=ct.NINE}function Dt(x){return x>=ct.UPPER_A&&x<=ct.UPPER_F||x>=ct.LOWER_A&&x<=ct.LOWER_F}function Pt(x){return x>=ct.UPPER_A&&x<=ct.UPPER_Z||x>=ct.LOWER_A&&x<=ct.LOWER_Z||yt(x)}function Wt(x){return x===ct.EQUALS||Pt(x)}var pn;(function(x){x[x.EntityStart=0]="EntityStart",x[x.NumericStart=1]="NumericStart",x[x.NumericDecimal=2]="NumericDecimal",x[x.NumericHex=3]="NumericHex",x[x.NamedEntity=4]="NamedEntity"})(pn||(pn={}));var fn;(function(x){x[x.Legacy=0]="Legacy",x[x.Strict=1]="Strict",x[x.Attribute=2]="Attribute"})(fn||(fn={}));class Mt{constructor(ee,Ne,Ot){this.decodeTree=ee,this.emitCodePoint=Ne,this.errors=Ot,this.state=pn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=fn.Strict}startEntity(ee){this.decodeMode=ee,this.state=pn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(ee,Ne){switch(this.state){case pn.EntityStart:return ee.charCodeAt(Ne)===ct.NUM?(this.state=pn.NumericStart,this.consumed+=1,this.stateNumericStart(ee,Ne+1)):(this.state=pn.NamedEntity,this.stateNamedEntity(ee,Ne));case pn.NumericStart:return this.stateNumericStart(ee,Ne);case pn.NumericDecimal:return this.stateNumericDecimal(ee,Ne);case pn.NumericHex:return this.stateNumericHex(ee,Ne);case pn.NamedEntity:return this.stateNamedEntity(ee,Ne)}}stateNumericStart(ee,Ne){return Ne>=ee.length?-1:(ee.charCodeAt(Ne)|$t)===ct.LOWER_X?(this.state=pn.NumericHex,this.consumed+=1,this.stateNumericHex(ee,Ne+1)):(this.state=pn.NumericDecimal,this.stateNumericDecimal(ee,Ne))}addToNumericResult(ee,Ne,Ot,Rn){if(Ne!==Ot){const fr=Ot-Ne;this.result=this.result*Math.pow(Rn,fr)+Number.parseInt(ee.substr(Ne,fr),Rn),this.consumed+=fr}}stateNumericHex(ee,Ne){const Ot=Ne;for(;Ne>14;for(;Ne>14,fr!==0){if(Mr===ct.SEMI)return this.emitNamedEntityData(this.treeIndex,fr,this.consumed+this.excess);this.decodeMode!==fn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var ee;const{result:Ne,decodeTree:Ot}=this,Rn=(Ot[Ne]>.VALUE_LENGTH)>>14;return this.emitNamedEntityData(Ne,Rn,this.consumed),(ee=this.errors)===null||ee===void 0||ee.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(ee,Ne,Ot){const{decodeTree:Rn}=this;return this.emitCodePoint(Ne===1?Rn[ee]&~gt.VALUE_LENGTH:Rn[ee+1],Ot),Ne===3&&this.emitCodePoint(Rn[ee+2],Ot),Ot}end(){var ee;switch(this.state){case pn.NamedEntity:return this.result!==0&&(this.decodeMode!==fn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case pn.NumericDecimal:return this.emitNumericEntity(0,2);case pn.NumericHex:return this.emitNumericEntity(0,3);case pn.NumericStart:return(ee=this.errors)===null||ee===void 0||ee.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case pn.EntityStart:return 0}}}function Ln(x){let ee="";const Ne=new Mt(x,Ot=>ee+=fromCodePoint(Ot));return function(Rn,fr){let Mr=0,hn=0;for(;(hn=Rn.indexOf("&",hn))>=0;){ee+=Rn.slice(Mr,hn),Ne.startEntity(fr);const hi=Ne.write(Rn,hn+1);if(hi<0){Mr=hn+Ne.end();break}Mr=hn+hi,hn=hi===0?Mr+1:Mr}const wa=ee+Rn.slice(Mr);return ee="",wa}}function kn(x,ee,Ne,Ot){const Rn=(ee>.BRANCH_LENGTH)>>7,fr=ee>.JUMP_TABLE;if(Rn===0)return fr!==0&&Ot===fr?Ne:-1;if(fr){const wa=Ot-fr;return wa<0||wa>=Rn?-1:x[Ne+wa]-1}let Mr=Ne,hn=Mr+Rn-1;for(;Mr<=hn;){const wa=Mr+hn>>>1,hi=x[wa];if(hiOt)hn=wa-1;else return x[wa+Rn]}return-1}const wn=null,ln=null;function In(x,ee=fn.Legacy){return wn(x,ee)}function xn(x){return wn(x,fn.Attribute)}function kt(x){return wn(x,fn.Strict)}function Yt(x){return ln(x,fn.Strict)}var Ft;(function(x){x.HTML="http://www.w3.org/1999/xhtml",x.MATHML="http://www.w3.org/1998/Math/MathML",x.SVG="http://www.w3.org/2000/svg",x.XLINK="http://www.w3.org/1999/xlink",x.XML="http://www.w3.org/XML/1998/namespace",x.XMLNS="http://www.w3.org/2000/xmlns/"})(Ft||(Ft={}));var vn;(function(x){x.TYPE="type",x.ACTION="action",x.ENCODING="encoding",x.PROMPT="prompt",x.NAME="name",x.COLOR="color",x.FACE="face",x.SIZE="size"})(vn||(vn={}));var Ct;(function(x){x.NO_QUIRKS="no-quirks",x.QUIRKS="quirks",x.LIMITED_QUIRKS="limited-quirks"})(Ct||(Ct={}));var pt;(function(x){x.A="a",x.ADDRESS="address",x.ANNOTATION_XML="annotation-xml",x.APPLET="applet",x.AREA="area",x.ARTICLE="article",x.ASIDE="aside",x.B="b",x.BASE="base",x.BASEFONT="basefont",x.BGSOUND="bgsound",x.BIG="big",x.BLOCKQUOTE="blockquote",x.BODY="body",x.BR="br",x.BUTTON="button",x.CAPTION="caption",x.CENTER="center",x.CODE="code",x.COL="col",x.COLGROUP="colgroup",x.DD="dd",x.DESC="desc",x.DETAILS="details",x.DIALOG="dialog",x.DIR="dir",x.DIV="div",x.DL="dl",x.DT="dt",x.EM="em",x.EMBED="embed",x.FIELDSET="fieldset",x.FIGCAPTION="figcaption",x.FIGURE="figure",x.FONT="font",x.FOOTER="footer",x.FOREIGN_OBJECT="foreignObject",x.FORM="form",x.FRAME="frame",x.FRAMESET="frameset",x.H1="h1",x.H2="h2",x.H3="h3",x.H4="h4",x.H5="h5",x.H6="h6",x.HEAD="head",x.HEADER="header",x.HGROUP="hgroup",x.HR="hr",x.HTML="html",x.I="i",x.IMG="img",x.IMAGE="image",x.INPUT="input",x.IFRAME="iframe",x.KEYGEN="keygen",x.LABEL="label",x.LI="li",x.LINK="link",x.LISTING="listing",x.MAIN="main",x.MALIGNMARK="malignmark",x.MARQUEE="marquee",x.MATH="math",x.MENU="menu",x.META="meta",x.MGLYPH="mglyph",x.MI="mi",x.MO="mo",x.MN="mn",x.MS="ms",x.MTEXT="mtext",x.NAV="nav",x.NOBR="nobr",x.NOFRAMES="noframes",x.NOEMBED="noembed",x.NOSCRIPT="noscript",x.OBJECT="object",x.OL="ol",x.OPTGROUP="optgroup",x.OPTION="option",x.P="p",x.PARAM="param",x.PLAINTEXT="plaintext",x.PRE="pre",x.RB="rb",x.RP="rp",x.RT="rt",x.RTC="rtc",x.RUBY="ruby",x.S="s",x.SCRIPT="script",x.SEARCH="search",x.SECTION="section",x.SELECT="select",x.SOURCE="source",x.SMALL="small",x.SPAN="span",x.STRIKE="strike",x.STRONG="strong",x.STYLE="style",x.SUB="sub",x.SUMMARY="summary",x.SUP="sup",x.TABLE="table",x.TBODY="tbody",x.TEMPLATE="template",x.TEXTAREA="textarea",x.TFOOT="tfoot",x.TD="td",x.TH="th",x.THEAD="thead",x.TITLE="title",x.TR="tr",x.TRACK="track",x.TT="tt",x.U="u",x.UL="ul",x.SVG="svg",x.VAR="var",x.WBR="wbr",x.XMP="xmp"})(pt||(pt={}));var de;(function(x){x[x.UNKNOWN=0]="UNKNOWN",x[x.A=1]="A",x[x.ADDRESS=2]="ADDRESS",x[x.ANNOTATION_XML=3]="ANNOTATION_XML",x[x.APPLET=4]="APPLET",x[x.AREA=5]="AREA",x[x.ARTICLE=6]="ARTICLE",x[x.ASIDE=7]="ASIDE",x[x.B=8]="B",x[x.BASE=9]="BASE",x[x.BASEFONT=10]="BASEFONT",x[x.BGSOUND=11]="BGSOUND",x[x.BIG=12]="BIG",x[x.BLOCKQUOTE=13]="BLOCKQUOTE",x[x.BODY=14]="BODY",x[x.BR=15]="BR",x[x.BUTTON=16]="BUTTON",x[x.CAPTION=17]="CAPTION",x[x.CENTER=18]="CENTER",x[x.CODE=19]="CODE",x[x.COL=20]="COL",x[x.COLGROUP=21]="COLGROUP",x[x.DD=22]="DD",x[x.DESC=23]="DESC",x[x.DETAILS=24]="DETAILS",x[x.DIALOG=25]="DIALOG",x[x.DIR=26]="DIR",x[x.DIV=27]="DIV",x[x.DL=28]="DL",x[x.DT=29]="DT",x[x.EM=30]="EM",x[x.EMBED=31]="EMBED",x[x.FIELDSET=32]="FIELDSET",x[x.FIGCAPTION=33]="FIGCAPTION",x[x.FIGURE=34]="FIGURE",x[x.FONT=35]="FONT",x[x.FOOTER=36]="FOOTER",x[x.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",x[x.FORM=38]="FORM",x[x.FRAME=39]="FRAME",x[x.FRAMESET=40]="FRAMESET",x[x.H1=41]="H1",x[x.H2=42]="H2",x[x.H3=43]="H3",x[x.H4=44]="H4",x[x.H5=45]="H5",x[x.H6=46]="H6",x[x.HEAD=47]="HEAD",x[x.HEADER=48]="HEADER",x[x.HGROUP=49]="HGROUP",x[x.HR=50]="HR",x[x.HTML=51]="HTML",x[x.I=52]="I",x[x.IMG=53]="IMG",x[x.IMAGE=54]="IMAGE",x[x.INPUT=55]="INPUT",x[x.IFRAME=56]="IFRAME",x[x.KEYGEN=57]="KEYGEN",x[x.LABEL=58]="LABEL",x[x.LI=59]="LI",x[x.LINK=60]="LINK",x[x.LISTING=61]="LISTING",x[x.MAIN=62]="MAIN",x[x.MALIGNMARK=63]="MALIGNMARK",x[x.MARQUEE=64]="MARQUEE",x[x.MATH=65]="MATH",x[x.MENU=66]="MENU",x[x.META=67]="META",x[x.MGLYPH=68]="MGLYPH",x[x.MI=69]="MI",x[x.MO=70]="MO",x[x.MN=71]="MN",x[x.MS=72]="MS",x[x.MTEXT=73]="MTEXT",x[x.NAV=74]="NAV",x[x.NOBR=75]="NOBR",x[x.NOFRAMES=76]="NOFRAMES",x[x.NOEMBED=77]="NOEMBED",x[x.NOSCRIPT=78]="NOSCRIPT",x[x.OBJECT=79]="OBJECT",x[x.OL=80]="OL",x[x.OPTGROUP=81]="OPTGROUP",x[x.OPTION=82]="OPTION",x[x.P=83]="P",x[x.PARAM=84]="PARAM",x[x.PLAINTEXT=85]="PLAINTEXT",x[x.PRE=86]="PRE",x[x.RB=87]="RB",x[x.RP=88]="RP",x[x.RT=89]="RT",x[x.RTC=90]="RTC",x[x.RUBY=91]="RUBY",x[x.S=92]="S",x[x.SCRIPT=93]="SCRIPT",x[x.SEARCH=94]="SEARCH",x[x.SECTION=95]="SECTION",x[x.SELECT=96]="SELECT",x[x.SOURCE=97]="SOURCE",x[x.SMALL=98]="SMALL",x[x.SPAN=99]="SPAN",x[x.STRIKE=100]="STRIKE",x[x.STRONG=101]="STRONG",x[x.STYLE=102]="STYLE",x[x.SUB=103]="SUB",x[x.SUMMARY=104]="SUMMARY",x[x.SUP=105]="SUP",x[x.TABLE=106]="TABLE",x[x.TBODY=107]="TBODY",x[x.TEMPLATE=108]="TEMPLATE",x[x.TEXTAREA=109]="TEXTAREA",x[x.TFOOT=110]="TFOOT",x[x.TD=111]="TD",x[x.TH=112]="TH",x[x.THEAD=113]="THEAD",x[x.TITLE=114]="TITLE",x[x.TR=115]="TR",x[x.TRACK=116]="TRACK",x[x.TT=117]="TT",x[x.U=118]="U",x[x.UL=119]="UL",x[x.SVG=120]="SVG",x[x.VAR=121]="VAR",x[x.WBR=122]="WBR",x[x.XMP=123]="XMP"})(de||(de={}));const qt=new Map([[pt.A,de.A],[pt.ADDRESS,de.ADDRESS],[pt.ANNOTATION_XML,de.ANNOTATION_XML],[pt.APPLET,de.APPLET],[pt.AREA,de.AREA],[pt.ARTICLE,de.ARTICLE],[pt.ASIDE,de.ASIDE],[pt.B,de.B],[pt.BASE,de.BASE],[pt.BASEFONT,de.BASEFONT],[pt.BGSOUND,de.BGSOUND],[pt.BIG,de.BIG],[pt.BLOCKQUOTE,de.BLOCKQUOTE],[pt.BODY,de.BODY],[pt.BR,de.BR],[pt.BUTTON,de.BUTTON],[pt.CAPTION,de.CAPTION],[pt.CENTER,de.CENTER],[pt.CODE,de.CODE],[pt.COL,de.COL],[pt.COLGROUP,de.COLGROUP],[pt.DD,de.DD],[pt.DESC,de.DESC],[pt.DETAILS,de.DETAILS],[pt.DIALOG,de.DIALOG],[pt.DIR,de.DIR],[pt.DIV,de.DIV],[pt.DL,de.DL],[pt.DT,de.DT],[pt.EM,de.EM],[pt.EMBED,de.EMBED],[pt.FIELDSET,de.FIELDSET],[pt.FIGCAPTION,de.FIGCAPTION],[pt.FIGURE,de.FIGURE],[pt.FONT,de.FONT],[pt.FOOTER,de.FOOTER],[pt.FOREIGN_OBJECT,de.FOREIGN_OBJECT],[pt.FORM,de.FORM],[pt.FRAME,de.FRAME],[pt.FRAMESET,de.FRAMESET],[pt.H1,de.H1],[pt.H2,de.H2],[pt.H3,de.H3],[pt.H4,de.H4],[pt.H5,de.H5],[pt.H6,de.H6],[pt.HEAD,de.HEAD],[pt.HEADER,de.HEADER],[pt.HGROUP,de.HGROUP],[pt.HR,de.HR],[pt.HTML,de.HTML],[pt.I,de.I],[pt.IMG,de.IMG],[pt.IMAGE,de.IMAGE],[pt.INPUT,de.INPUT],[pt.IFRAME,de.IFRAME],[pt.KEYGEN,de.KEYGEN],[pt.LABEL,de.LABEL],[pt.LI,de.LI],[pt.LINK,de.LINK],[pt.LISTING,de.LISTING],[pt.MAIN,de.MAIN],[pt.MALIGNMARK,de.MALIGNMARK],[pt.MARQUEE,de.MARQUEE],[pt.MATH,de.MATH],[pt.MENU,de.MENU],[pt.META,de.META],[pt.MGLYPH,de.MGLYPH],[pt.MI,de.MI],[pt.MO,de.MO],[pt.MN,de.MN],[pt.MS,de.MS],[pt.MTEXT,de.MTEXT],[pt.NAV,de.NAV],[pt.NOBR,de.NOBR],[pt.NOFRAMES,de.NOFRAMES],[pt.NOEMBED,de.NOEMBED],[pt.NOSCRIPT,de.NOSCRIPT],[pt.OBJECT,de.OBJECT],[pt.OL,de.OL],[pt.OPTGROUP,de.OPTGROUP],[pt.OPTION,de.OPTION],[pt.P,de.P],[pt.PARAM,de.PARAM],[pt.PLAINTEXT,de.PLAINTEXT],[pt.PRE,de.PRE],[pt.RB,de.RB],[pt.RP,de.RP],[pt.RT,de.RT],[pt.RTC,de.RTC],[pt.RUBY,de.RUBY],[pt.S,de.S],[pt.SCRIPT,de.SCRIPT],[pt.SEARCH,de.SEARCH],[pt.SECTION,de.SECTION],[pt.SELECT,de.SELECT],[pt.SOURCE,de.SOURCE],[pt.SMALL,de.SMALL],[pt.SPAN,de.SPAN],[pt.STRIKE,de.STRIKE],[pt.STRONG,de.STRONG],[pt.STYLE,de.STYLE],[pt.SUB,de.SUB],[pt.SUMMARY,de.SUMMARY],[pt.SUP,de.SUP],[pt.TABLE,de.TABLE],[pt.TBODY,de.TBODY],[pt.TEMPLATE,de.TEMPLATE],[pt.TEXTAREA,de.TEXTAREA],[pt.TFOOT,de.TFOOT],[pt.TD,de.TD],[pt.TH,de.TH],[pt.THEAD,de.THEAD],[pt.TITLE,de.TITLE],[pt.TR,de.TR],[pt.TRACK,de.TRACK],[pt.TT,de.TT],[pt.U,de.U],[pt.UL,de.UL],[pt.SVG,de.SVG],[pt.VAR,de.VAR],[pt.WBR,de.WBR],[pt.XMP,de.XMP]]);function Dn(x){var ee;return(ee=qt.get(x))!==null&&ee!==void 0?ee:de.UNKNOWN}const mn=de,vr={[Ft.HTML]:new Set([mn.ADDRESS,mn.APPLET,mn.AREA,mn.ARTICLE,mn.ASIDE,mn.BASE,mn.BASEFONT,mn.BGSOUND,mn.BLOCKQUOTE,mn.BODY,mn.BR,mn.BUTTON,mn.CAPTION,mn.CENTER,mn.COL,mn.COLGROUP,mn.DD,mn.DETAILS,mn.DIR,mn.DIV,mn.DL,mn.DT,mn.EMBED,mn.FIELDSET,mn.FIGCAPTION,mn.FIGURE,mn.FOOTER,mn.FORM,mn.FRAME,mn.FRAMESET,mn.H1,mn.H2,mn.H3,mn.H4,mn.H5,mn.H6,mn.HEAD,mn.HEADER,mn.HGROUP,mn.HR,mn.HTML,mn.IFRAME,mn.IMG,mn.INPUT,mn.LI,mn.LINK,mn.LISTING,mn.MAIN,mn.MARQUEE,mn.MENU,mn.META,mn.NAV,mn.NOEMBED,mn.NOFRAMES,mn.NOSCRIPT,mn.OBJECT,mn.OL,mn.P,mn.PARAM,mn.PLAINTEXT,mn.PRE,mn.SCRIPT,mn.SECTION,mn.SELECT,mn.SOURCE,mn.STYLE,mn.SUMMARY,mn.TABLE,mn.TBODY,mn.TD,mn.TEMPLATE,mn.TEXTAREA,mn.TFOOT,mn.TH,mn.THEAD,mn.TITLE,mn.TR,mn.TRACK,mn.UL,mn.WBR,mn.XMP]),[Ft.MATHML]:new Set([mn.MI,mn.MO,mn.MN,mn.MS,mn.MTEXT,mn.ANNOTATION_XML]),[Ft.SVG]:new Set([mn.TITLE,mn.FOREIGN_OBJECT,mn.DESC]),[Ft.XLINK]:new Set,[Ft.XML]:new Set,[Ft.XMLNS]:new Set},yr=new Set([mn.H1,mn.H2,mn.H3,mn.H4,mn.H5,mn.H6]),ar=new Set([pt.STYLE,pt.SCRIPT,pt.XMP,pt.IFRAME,pt.NOEMBED,pt.NOFRAMES,pt.PLAINTEXT]);function Er(x,ee){return ar.has(x)||ee&&x===pt.NOSCRIPT}var wt;(function(x){x[x.DATA=0]="DATA",x[x.RCDATA=1]="RCDATA",x[x.RAWTEXT=2]="RAWTEXT",x[x.SCRIPT_DATA=3]="SCRIPT_DATA",x[x.PLAINTEXT=4]="PLAINTEXT",x[x.TAG_OPEN=5]="TAG_OPEN",x[x.END_TAG_OPEN=6]="END_TAG_OPEN",x[x.TAG_NAME=7]="TAG_NAME",x[x.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",x[x.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",x[x.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",x[x.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",x[x.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",x[x.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",x[x.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",x[x.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",x[x.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",x[x.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",x[x.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",x[x.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",x[x.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",x[x.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",x[x.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",x[x.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",x[x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",x[x.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",x[x.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",x[x.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",x[x.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",x[x.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",x[x.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",x[x.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",x[x.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",x[x.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",x[x.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",x[x.BOGUS_COMMENT=40]="BOGUS_COMMENT",x[x.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",x[x.COMMENT_START=42]="COMMENT_START",x[x.COMMENT_START_DASH=43]="COMMENT_START_DASH",x[x.COMMENT=44]="COMMENT",x[x.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",x[x.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",x[x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",x[x.COMMENT_END_DASH=49]="COMMENT_END_DASH",x[x.COMMENT_END=50]="COMMENT_END",x[x.COMMENT_END_BANG=51]="COMMENT_END_BANG",x[x.DOCTYPE=52]="DOCTYPE",x[x.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",x[x.DOCTYPE_NAME=54]="DOCTYPE_NAME",x[x.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",x[x.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",x[x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",x[x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",x[x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",x[x.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",x[x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",x[x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",x[x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",x[x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",x[x.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",x[x.CDATA_SECTION=68]="CDATA_SECTION",x[x.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",x[x.CDATA_SECTION_END=70]="CDATA_SECTION_END",x[x.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",x[x.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(wt||(wt={}));const Qn={DATA:wt.DATA,RCDATA:wt.RCDATA,RAWTEXT:wt.RAWTEXT,SCRIPT_DATA:wt.SCRIPT_DATA,PLAINTEXT:wt.PLAINTEXT,CDATA_SECTION:wt.CDATA_SECTION};function lr(x){return x>=Se.DIGIT_0&&x<=Se.DIGIT_9}function cr(x){return x>=Se.LATIN_CAPITAL_A&&x<=Se.LATIN_CAPITAL_Z}function Yn(x){return x>=Se.LATIN_SMALL_A&&x<=Se.LATIN_SMALL_Z}function Sr(x){return Yn(x)||cr(x)}function br(x){return Sr(x)||lr(x)}function Nr(x){return x+32}function Jr(x){return x===Se.SPACE||x===Se.LINE_FEED||x===Se.TABULATION||x===Se.FORM_FEED}function $r(x){return Jr(x)||x===Se.SOLIDUS||x===Se.GREATER_THAN_SIGN}function Ur(x){return x===Se.NULL?ft.nullCharacterReference:x>1114111?ft.characterReferenceOutsideUnicodeRange:on(x)?ft.surrogateCharacterReference:On(x)?ft.noncharacterCharacterReference:Gt(x)||x===Se.CARRIAGE_RETURN?ft.controlCharacterReference:null}class aa{constructor(ee,Ne){this.options=ee,this.handler=Ne,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=wt.DATA,this.returnState=wt.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ht(Ne),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Mt(De,(Ot,Rn)=>{this.preprocessor.pos=this.entityStartPos+Rn-1,this._flushCodePointConsumedAsCharacterReference(Ot)},Ne.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ft.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:Ot=>{this._err(ft.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+Ot)},validateNumericCharacterReference:Ot=>{const Rn=Ur(Ot);Rn&&this._err(Rn,1)}}:void 0)}_err(ee,Ne=0){var Ot,Rn;(Rn=(Ot=this.handler).onParseError)===null||Rn===void 0||Rn.call(Ot,this.preprocessor.getError(ee,Ne))}getCurrentLocation(ee){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-ee,startOffset:this.preprocessor.offset-ee,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const ee=this._consume();this._ensureHibernation()||this._callState(ee)}this.inLoop=!1}}pause(){this.paused=!0}resume(ee){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||ee==null||ee())}write(ee,Ne,Ot){this.active=!0,this.preprocessor.write(ee,Ne),this._runParsingLoop(),this.paused||Ot==null||Ot()}insertHtmlAtCurrentPos(ee){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(ee),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(ee){this.consumedAfterSnapshot+=ee;for(let Ne=0;Ne0&&this._err(ft.endTagWithAttributes),ee.selfClosing&&this._err(ft.endTagWithTrailingSolidus),this.handler.onEndTag(ee)),this.preprocessor.dropParsedChunk()}emitCurrentComment(ee){this.prepareToken(ee),this.handler.onComment(ee),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(ee){this.prepareToken(ee),this.handler.onDoctype(ee),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(ee){if(this.currentCharacterToken){switch(ee&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=ee.startLine,this.currentCharacterToken.location.endCol=ee.startCol,this.currentCharacterToken.location.endOffset=ee.startOffset),this.currentCharacterToken.type){case gn.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case gn.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case gn.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const ee=this.getCurrentLocation(0);ee&&(ee.endLine=ee.startLine,ee.endCol=ee.startCol,ee.endOffset=ee.startOffset),this._emitCurrentCharacterToken(ee),this.handler.onEof({type:gn.EOF,location:ee}),this.active=!1}_appendCharToCurrentCharacterToken(ee,Ne){if(this.currentCharacterToken)if(this.currentCharacterToken.type===ee){this.currentCharacterToken.chars+=Ne;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(ee,Ne)}_emitCodePoint(ee){const Ne=Jr(ee)?gn.WHITESPACE_CHARACTER:ee===Se.NULL?gn.NULL_CHARACTER:gn.CHARACTER;this._appendCharToCurrentCharacterToken(Ne,String.fromCodePoint(ee))}_emitChars(ee){this._appendCharToCurrentCharacterToken(gn.CHARACTER,ee)}_startCharacterReference(){this.returnState=this.state,this.state=wt.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?fn.Attribute:fn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===wt.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===wt.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===wt.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(ee){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(ee):this._emitCodePoint(ee)}_callState(ee){switch(this.state){case wt.DATA:{this._stateData(ee);break}case wt.RCDATA:{this._stateRcdata(ee);break}case wt.RAWTEXT:{this._stateRawtext(ee);break}case wt.SCRIPT_DATA:{this._stateScriptData(ee);break}case wt.PLAINTEXT:{this._statePlaintext(ee);break}case wt.TAG_OPEN:{this._stateTagOpen(ee);break}case wt.END_TAG_OPEN:{this._stateEndTagOpen(ee);break}case wt.TAG_NAME:{this._stateTagName(ee);break}case wt.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(ee);break}case wt.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(ee);break}case wt.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(ee);break}case wt.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(ee);break}case wt.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(ee);break}case wt.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(ee);break}case wt.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(ee);break}case wt.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(ee);break}case wt.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(ee);break}case wt.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(ee);break}case wt.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(ee);break}case wt.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(ee);break}case wt.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(ee);break}case wt.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(ee);break}case wt.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(ee);break}case wt.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(ee);break}case wt.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(ee);break}case wt.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(ee);break}case wt.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(ee);break}case wt.ATTRIBUTE_NAME:{this._stateAttributeName(ee);break}case wt.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(ee);break}case wt.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(ee);break}case wt.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(ee);break}case wt.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(ee);break}case wt.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(ee);break}case wt.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(ee);break}case wt.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(ee);break}case wt.BOGUS_COMMENT:{this._stateBogusComment(ee);break}case wt.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(ee);break}case wt.COMMENT_START:{this._stateCommentStart(ee);break}case wt.COMMENT_START_DASH:{this._stateCommentStartDash(ee);break}case wt.COMMENT:{this._stateComment(ee);break}case wt.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(ee);break}case wt.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(ee);break}case wt.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(ee);break}case wt.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(ee);break}case wt.COMMENT_END_DASH:{this._stateCommentEndDash(ee);break}case wt.COMMENT_END:{this._stateCommentEnd(ee);break}case wt.COMMENT_END_BANG:{this._stateCommentEndBang(ee);break}case wt.DOCTYPE:{this._stateDoctype(ee);break}case wt.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(ee);break}case wt.DOCTYPE_NAME:{this._stateDoctypeName(ee);break}case wt.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(ee);break}case wt.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(ee);break}case wt.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(ee);break}case wt.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(ee);break}case wt.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(ee);break}case wt.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(ee);break}case wt.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(ee);break}case wt.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(ee);break}case wt.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(ee);break}case wt.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(ee);break}case wt.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(ee);break}case wt.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(ee);break}case wt.BOGUS_DOCTYPE:{this._stateBogusDoctype(ee);break}case wt.CDATA_SECTION:{this._stateCdataSection(ee);break}case wt.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(ee);break}case wt.CDATA_SECTION_END:{this._stateCdataSectionEnd(ee);break}case wt.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case wt.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(ee);break}default:throw new Error("Unknown state")}}_stateData(ee){switch(ee){case Se.LESS_THAN_SIGN:{this.state=wt.TAG_OPEN;break}case Se.AMPERSAND:{this._startCharacterReference();break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitCodePoint(ee);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateRcdata(ee){switch(ee){case Se.AMPERSAND:{this._startCharacterReference();break}case Se.LESS_THAN_SIGN:{this.state=wt.RCDATA_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateRawtext(ee){switch(ee){case Se.LESS_THAN_SIGN:{this.state=wt.RAWTEXT_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateScriptData(ee){switch(ee){case Se.LESS_THAN_SIGN:{this.state=wt.SCRIPT_DATA_LESS_THAN_SIGN;break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_statePlaintext(ee){switch(ee){case Se.NULL:{this._err(ft.unexpectedNullCharacter),this._emitChars(Ye);break}case Se.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(ee)}}_stateTagOpen(ee){if(Sr(ee))this._createStartTagToken(),this.state=wt.TAG_NAME,this._stateTagName(ee);else switch(ee){case Se.EXCLAMATION_MARK:{this.state=wt.MARKUP_DECLARATION_OPEN;break}case Se.SOLIDUS:{this.state=wt.END_TAG_OPEN;break}case Se.QUESTION_MARK:{this._err(ft.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=wt.BOGUS_COMMENT,this._stateBogusComment(ee);break}case Se.EOF:{this._err(ft.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ft.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=wt.DATA,this._stateData(ee)}}_stateEndTagOpen(ee){if(Sr(ee))this._createEndTagToken(),this.state=wt.TAG_NAME,this._stateTagName(ee);else switch(ee){case Se.GREATER_THAN_SIGN:{this._err(ft.missingEndTagName),this.state=wt.DATA;break}case Se.EOF:{this._err(ft.eofBeforeTagName),this._emitChars("");break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.state=wt.SCRIPT_DATA_ESCAPED,this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=wt.SCRIPT_DATA_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataEscapedLessThanSign(ee){ee===Se.SOLIDUS?this.state=wt.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Sr(ee)?(this._emitChars("<"),this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(ee)):(this._emitChars("<"),this.state=wt.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(ee))}_stateScriptDataEscapedEndTagOpen(ee){Sr(ee)?(this.state=wt.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(ee)):(this._emitChars("");break}case Se.NULL:{this._err(ft.unexpectedNullCharacter),this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ye);break}case Se.EOF:{this._err(ft.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(ee)}}_stateScriptDataDoubleEscapedLessThanSign(ee){ee===Se.SOLIDUS?(this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=wt.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(ee))}_stateScriptDataDoubleEscapeEnd(ee){if(this.preprocessor.startsWith(Qt.SCRIPT,!1)&&$r(this.preprocessor.peek(Qt.SCRIPT.length))){this._emitCodePoint(ee);for(let Ne=0;Ne0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(ee,!0)}replace(ee,Ne){const Ot=this._indexOf(ee);this.items[Ot]=Ne,Ot===this.stackTop&&(this.current=Ne)}insertAfter(ee,Ne,Ot){const Rn=this._indexOf(ee)+1;this.items.splice(Rn,0,Ne),this.tagIDs.splice(Rn,0,Ot),this.stackTop++,Rn===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,Rn===this.stackTop)}popUntilTagNamePopped(ee){let Ne=this.stackTop+1;do Ne=this.tagIDs.lastIndexOf(ee,Ne-1);while(Ne>0&&this.treeAdapter.getNamespaceURI(this.items[Ne])!==Ft.HTML);this.shortenToLength(Math.max(Ne,0))}shortenToLength(ee){for(;this.stackTop>=ee;){const Ne=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(Ne,this.stackTop=0;Ot--)if(ee.has(this.tagIDs[Ot])&&this.treeAdapter.getNamespaceURI(this.items[Ot])===Ne)return Ot;return-1}clearBackTo(ee,Ne){const Ot=this._indexOfTagNames(ee,Ne);this.shortenToLength(Ot+1)}clearBackToTableContext(){this.clearBackTo(ut,Ft.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Ie,Ft.HTML)}clearBackToTableRowContext(){this.clearBackTo(ve,Ft.HTML)}remove(ee){const Ne=this._indexOf(ee);Ne>=0&&(Ne===this.stackTop?this.pop():(this.items.splice(Ne,1),this.tagIDs.splice(Ne,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(ee,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===de.BODY?this.items[1]:null}contains(ee){return this._indexOf(ee)>-1}getCommonAncestor(ee){const Ne=this._indexOf(ee)-1;return Ne>=0?this.items[Ne]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===de.HTML}hasInDynamicScope(ee,Ne){for(let Ot=this.stackTop;Ot>=0;Ot--){const Rn=this.tagIDs[Ot];switch(this.treeAdapter.getNamespaceURI(this.items[Ot])){case Ft.HTML:{if(Rn===ee)return!0;if(Ne.has(Rn))return!1;break}case Ft.SVG:{if(zr.has(Rn))return!1;break}case Ft.MATHML:{if(Kr.has(Rn))return!1;break}}}return!0}hasInScope(ee){return this.hasInDynamicScope(ee,ea)}hasInListItemScope(ee){return this.hasInDynamicScope(ee,jn)}hasInButtonScope(ee){return this.hasInDynamicScope(ee,sr)}hasNumberedHeaderInScope(){for(let ee=this.stackTop;ee>=0;ee--){const Ne=this.tagIDs[ee];switch(this.treeAdapter.getNamespaceURI(this.items[ee])){case Ft.HTML:{if(yr.has(Ne))return!0;if(ea.has(Ne))return!1;break}case Ft.SVG:{if(zr.has(Ne))return!1;break}case Ft.MATHML:{if(Kr.has(Ne))return!1;break}}}return!0}hasInTableScope(ee){for(let Ne=this.stackTop;Ne>=0;Ne--)if(this.treeAdapter.getNamespaceURI(this.items[Ne])===Ft.HTML)switch(this.tagIDs[Ne]){case ee:return!0;case de.TABLE:case de.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let ee=this.stackTop;ee>=0;ee--)if(this.treeAdapter.getNamespaceURI(this.items[ee])===Ft.HTML)switch(this.tagIDs[ee]){case de.TBODY:case de.THEAD:case de.TFOOT:return!0;case de.TABLE:case de.HTML:return!1}return!0}hasInSelectScope(ee){for(let Ne=this.stackTop;Ne>=0;Ne--)if(this.treeAdapter.getNamespaceURI(this.items[Ne])===Ft.HTML)switch(this.tagIDs[Ne]){case ee:return!0;case de.OPTION:case de.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Hr.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&pa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(ee){for(;this.currentTagId!==void 0&&this.currentTagId!==ee&&pa.has(this.currentTagId);)this.pop()}}const Vt=3;var et;(function(x){x[x.Marker=0]="Marker",x[x.Element=1]="Element"})(et||(et={}));const en={type:et.Marker};class cn{constructor(ee){this.treeAdapter=ee,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(ee,Ne){const Ot=[],Rn=Ne.length,fr=this.treeAdapter.getTagName(ee),Mr=this.treeAdapter.getNamespaceURI(ee);for(let hn=0;hn[Mr.name,Mr.value]));let fr=0;for(let Mr=0;MrRn.get(wa.name)===wa.value)&&(fr+=1,fr>=Vt&&this.entries.splice(hn.idx,1))}}insertMarker(){this.entries.unshift(en)}pushElement(ee,Ne){this._ensureNoahArkCondition(ee),this.entries.unshift({type:et.Element,element:ee,token:Ne})}insertElementAfterBookmark(ee,Ne){const Ot=this.entries.indexOf(this.bookmark);this.entries.splice(Ot,0,{type:et.Element,element:ee,token:Ne})}removeEntry(ee){const Ne=this.entries.indexOf(ee);Ne!==-1&&this.entries.splice(Ne,1)}clearToLastMarker(){const ee=this.entries.indexOf(en);ee===-1?this.entries.length=0:this.entries.splice(0,ee+1)}getElementEntryInScopeWithTagName(ee){const Ne=this.entries.find(Ot=>Ot.type===et.Marker||this.treeAdapter.getTagName(Ot.element)===ee);return Ne&&Ne.type===et.Element?Ne:null}getElementEntry(ee){return this.entries.find(Ne=>Ne.type===et.Element&&Ne.element===ee)}}const Xt={createDocument(){return{nodeName:"#document",mode:Ct.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(x,ee,Ne){return{nodeName:x,tagName:x,attrs:Ne,namespaceURI:ee,childNodes:[],parentNode:null}},createCommentNode(x){return{nodeName:"#comment",data:x,parentNode:null}},createTextNode(x){return{nodeName:"#text",value:x,parentNode:null}},appendChild(x,ee){x.childNodes.push(ee),ee.parentNode=x},insertBefore(x,ee,Ne){const Ot=x.childNodes.indexOf(Ne);x.childNodes.splice(Ot,0,ee),ee.parentNode=x},setTemplateContent(x,ee){x.content=ee},getTemplateContent(x){return x.content},setDocumentType(x,ee,Ne,Ot){const Rn=x.childNodes.find(fr=>fr.nodeName==="#documentType");if(Rn)Rn.name=ee,Rn.publicId=Ne,Rn.systemId=Ot;else{const fr={nodeName:"#documentType",name:ee,publicId:Ne,systemId:Ot,parentNode:null};Xt.appendChild(x,fr)}},setDocumentMode(x,ee){x.mode=ee},getDocumentMode(x){return x.mode},detachNode(x){if(x.parentNode){const ee=x.parentNode.childNodes.indexOf(x);x.parentNode.childNodes.splice(ee,1),x.parentNode=null}},insertText(x,ee){if(x.childNodes.length>0){const Ne=x.childNodes[x.childNodes.length-1];if(Xt.isTextNode(Ne)){Ne.value+=ee;return}}Xt.appendChild(x,Xt.createTextNode(ee))},insertTextBefore(x,ee,Ne){const Ot=x.childNodes[x.childNodes.indexOf(Ne)-1];Ot&&Xt.isTextNode(Ot)?Ot.value+=ee:Xt.insertBefore(x,Xt.createTextNode(ee),Ne)},adoptAttributes(x,ee){const Ne=new Set(x.attrs.map(Ot=>Ot.name));for(let Ot=0;Otx.startsWith(Ne))}function rn(x){return x.name===an&&x.publicId===null&&(x.systemId===null||x.systemId===Kt)}function Cn(x){if(x.name!==an)return Ct.QUIRKS;const{systemId:ee}=x;if(ee&&ee.toLowerCase()===nn)return Ct.QUIRKS;let{publicId:Ne}=x;if(Ne!==null){if(Ne=Ne.toLowerCase(),Bt.has(Ne))return Ct.QUIRKS;let Ot=ee===null?Jn:rt;if(Sn(Ne,Ot))return Ct.QUIRKS;if(Ot=ee===null?rr:Pr,Sn(Ne,Ot))return Ct.LIMITED_QUIRKS}return Ct.NO_QUIRKS}const Pn={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},zn="definitionurl",tr="definitionURL",wr=new Map(["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(x=>[x.toLowerCase(),x])),pr=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Ft.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Ft.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Ft.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Ft.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Ft.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Ft.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Ft.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Ft.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Ft.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Ft.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Ft.XMLNS}]]),Zn=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(x=>[x.toLowerCase(),x])),Kn=new Set([de.B,de.BIG,de.BLOCKQUOTE,de.BODY,de.BR,de.CENTER,de.CODE,de.DD,de.DIV,de.DL,de.DT,de.EM,de.EMBED,de.H1,de.H2,de.H3,de.H4,de.H5,de.H6,de.HEAD,de.HR,de.I,de.IMG,de.LI,de.LISTING,de.MENU,de.META,de.NOBR,de.OL,de.P,de.PRE,de.RUBY,de.S,de.SMALL,de.SPAN,de.STRONG,de.STRIKE,de.SUB,de.SUP,de.TABLE,de.TT,de.U,de.UL,de.VAR]);function gr(x){const ee=x.tagID;return ee===de.FONT&&x.attrs.some(({name:Ot})=>Ot===vn.COLOR||Ot===vn.SIZE||Ot===vn.FACE)||Kn.has(ee)}function dr(x){for(let ee=0;ee0&&this._setContextModes(ee,Ne)}onItemPop(ee,Ne){var Ot,Rn;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(ee,this.currentToken),(Rn=(Ot=this.treeAdapter).onItemPop)===null||Rn===void 0||Rn.call(Ot,ee,this.openElements.current),Ne){let fr,Mr;this.openElements.stackTop===0&&this.fragmentContext?(fr=this.fragmentContext,Mr=this.fragmentContextID):{current:fr,currentTagId:Mr}=this.openElements,this._setContextModes(fr,Mr)}}_setContextModes(ee,Ne){const Ot=ee===this.document||ee&&this.treeAdapter.getNamespaceURI(ee)===Ft.HTML;this.currentNotInHTML=!Ot,this.tokenizer.inForeignNode=!Ot&&ee!==void 0&&Ne!==void 0&&!this._isIntegrationPoint(Ne,ee)}_switchToTextParsing(ee,Ne){this._insertElement(ee,Ft.HTML),this.tokenizer.state=Ne,this.originalInsertionMode=this.insertionMode,this.insertionMode=_t.TEXT}switchToPlaintextParsing(){this.insertionMode=_t.TEXT,this.originalInsertionMode=_t.IN_BODY,this.tokenizer.state=Qn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let ee=this.fragmentContext;for(;ee;){if(this.treeAdapter.getTagName(ee)===pt.FORM){this.formElement=ee;break}ee=this.treeAdapter.getParentNode(ee)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Ft.HTML))switch(this.fragmentContextID){case de.TITLE:case de.TEXTAREA:{this.tokenizer.state=Qn.RCDATA;break}case de.STYLE:case de.XMP:case de.IFRAME:case de.NOEMBED:case de.NOFRAMES:case de.NOSCRIPT:{this.tokenizer.state=Qn.RAWTEXT;break}case de.SCRIPT:{this.tokenizer.state=Qn.SCRIPT_DATA;break}case de.PLAINTEXT:{this.tokenizer.state=Qn.PLAINTEXT;break}default:}}_setDocumentType(ee){const Ne=ee.name||"",Ot=ee.publicId||"",Rn=ee.systemId||"";if(this.treeAdapter.setDocumentType(this.document,Ne,Ot,Rn),ee.location){const Mr=this.treeAdapter.getChildNodes(this.document).find(hn=>this.treeAdapter.isDocumentTypeNode(hn));Mr&&this.treeAdapter.setNodeSourceCodeLocation(Mr,ee.location)}}_attachElementToTree(ee,Ne){if(this.options.sourceCodeLocationInfo){const Ot=Ne&&Ol(qa({},Ne),{startTag:Ne});this.treeAdapter.setNodeSourceCodeLocation(ee,Ot)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(ee);else{const Ot=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(Ot!=null?Ot:this.document,ee)}}_appendElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee.tagName,Ne,ee.attrs);this._attachElementToTree(Ot,ee.location)}_insertElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee.tagName,Ne,ee.attrs);this._attachElementToTree(Ot,ee.location),this.openElements.push(Ot,ee.tagID)}_insertFakeElement(ee,Ne){const Ot=this.treeAdapter.createElement(ee,Ft.HTML,[]);this._attachElementToTree(Ot,null),this.openElements.push(Ot,Ne)}_insertTemplate(ee){const Ne=this.treeAdapter.createElement(ee.tagName,Ft.HTML,ee.attrs),Ot=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(Ne,Ot),this._attachElementToTree(Ne,ee.location),this.openElements.push(Ne,ee.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ot,null)}_insertFakeRootElement(){const ee=this.treeAdapter.createElement(pt.HTML,Ft.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(ee,null),this.treeAdapter.appendChild(this.openElements.current,ee),this.openElements.push(ee,de.HTML)}_appendCommentNode(ee,Ne){const Ot=this.treeAdapter.createCommentNode(ee.data);this.treeAdapter.appendChild(Ne,Ot),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Ot,ee.location)}_insertCharacters(ee){let Ne,Ot;if(this._shouldFosterParentOnInsertion()?({parent:Ne,beforeElement:Ot}=this._findFosterParentingLocation(),Ot?this.treeAdapter.insertTextBefore(Ne,ee.chars,Ot):this.treeAdapter.insertText(Ne,ee.chars)):(Ne=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(Ne,ee.chars)),!ee.location)return;const Rn=this.treeAdapter.getChildNodes(Ne),fr=Ot?Rn.lastIndexOf(Ot):Rn.length,Mr=Rn[fr-1];if(this.treeAdapter.getNodeSourceCodeLocation(Mr)){const{endLine:wa,endCol:hi,endOffset:Bn}=ee.location;this.treeAdapter.updateNodeSourceCodeLocation(Mr,{endLine:wa,endCol:hi,endOffset:Bn})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(Mr,ee.location)}_adoptNodes(ee,Ne){for(let Ot=this.treeAdapter.getFirstChild(ee);Ot;Ot=this.treeAdapter.getFirstChild(ee))this.treeAdapter.detachNode(Ot),this.treeAdapter.appendChild(Ne,Ot)}_setEndLocation(ee,Ne){if(this.treeAdapter.getNodeSourceCodeLocation(ee)&&Ne.location){const Ot=Ne.location,Rn=this.treeAdapter.getTagName(ee),fr=Ne.type===gn.END_TAG&&Rn===Ne.tagName?{endTag:qa({},Ot),endLine:Ot.endLine,endCol:Ot.endCol,endOffset:Ot.endOffset}:{endLine:Ot.startLine,endCol:Ot.startCol,endOffset:Ot.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(ee,fr)}}shouldProcessStartTagTokenInForeignContent(ee){if(!this.currentNotInHTML)return!1;let Ne,Ot;return this.openElements.stackTop===0&&this.fragmentContext?(Ne=this.fragmentContext,Ot=this.fragmentContextID):{current:Ne,currentTagId:Ot}=this.openElements,ee.tagID===de.SVG&&this.treeAdapter.getTagName(Ne)===pt.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(Ne)===Ft.MATHML?!1:this.tokenizer.inForeignNode||(ee.tagID===de.MGLYPH||ee.tagID===de.MALIGNMARK)&&Ot!==void 0&&!this._isIntegrationPoint(Ot,Ne,Ft.HTML)}_processToken(ee){switch(ee.type){case gn.CHARACTER:{this.onCharacter(ee);break}case gn.NULL_CHARACTER:{this.onNullCharacter(ee);break}case gn.COMMENT:{this.onComment(ee);break}case gn.DOCTYPE:{this.onDoctype(ee);break}case gn.START_TAG:{this._processStartTag(ee);break}case gn.END_TAG:{this.onEndTag(ee);break}case gn.EOF:{this.onEof(ee);break}case gn.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(ee);break}}}_isIntegrationPoint(ee,Ne,Ot){const Rn=this.treeAdapter.getNamespaceURI(Ne),fr=this.treeAdapter.getAttrList(Ne);return Xr(ee,Rn,fr,Ot)}_reconstructActiveFormattingElements(){const ee=this.activeFormattingElements.entries.length;if(ee){const Ne=this.activeFormattingElements.entries.findIndex(Rn=>Rn.type===et.Marker||this.openElements.contains(Rn.element)),Ot=Ne===-1?ee-1:Ne-1;for(let Rn=Ot;Rn>=0;Rn--){const fr=this.activeFormattingElements.entries[Rn];this._insertElement(fr.token,this.treeAdapter.getNamespaceURI(fr.element)),fr.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=_t.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(de.P),this.openElements.popUntilTagNamePopped(de.P)}_resetInsertionMode(){for(let ee=this.openElements.stackTop;ee>=0;ee--)switch(ee===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[ee]){case de.TR:{this.insertionMode=_t.IN_ROW;return}case de.TBODY:case de.THEAD:case de.TFOOT:{this.insertionMode=_t.IN_TABLE_BODY;return}case de.CAPTION:{this.insertionMode=_t.IN_CAPTION;return}case de.COLGROUP:{this.insertionMode=_t.IN_COLUMN_GROUP;return}case de.TABLE:{this.insertionMode=_t.IN_TABLE;return}case de.BODY:{this.insertionMode=_t.IN_BODY;return}case de.FRAMESET:{this.insertionMode=_t.IN_FRAMESET;return}case de.SELECT:{this._resetInsertionModeForSelect(ee);return}case de.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case de.HTML:{this.insertionMode=this.headElement?_t.AFTER_HEAD:_t.BEFORE_HEAD;return}case de.TD:case de.TH:{if(ee>0){this.insertionMode=_t.IN_CELL;return}break}case de.HEAD:{if(ee>0){this.insertionMode=_t.IN_HEAD;return}break}}this.insertionMode=_t.IN_BODY}_resetInsertionModeForSelect(ee){if(ee>0)for(let Ne=ee-1;Ne>0;Ne--){const Ot=this.openElements.tagIDs[Ne];if(Ot===de.TEMPLATE)break;if(Ot===de.TABLE){this.insertionMode=_t.IN_SELECT_IN_TABLE;return}}this.insertionMode=_t.IN_SELECT}_isElementCausesFosterParenting(ee){return ia.has(ee)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let ee=this.openElements.stackTop;ee>=0;ee--){const Ne=this.openElements.items[ee];switch(this.openElements.tagIDs[ee]){case de.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(Ne)===Ft.HTML)return{parent:this.treeAdapter.getTemplateContent(Ne),beforeElement:null};break}case de.TABLE:{const Ot=this.treeAdapter.getParentNode(Ne);return Ot?{parent:Ot,beforeElement:Ne}:{parent:this.openElements.items[ee-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(ee){const Ne=this._findFosterParentingLocation();Ne.beforeElement?this.treeAdapter.insertBefore(Ne.parent,ee,Ne.beforeElement):this.treeAdapter.appendChild(Ne.parent,ee)}_isSpecialElement(ee,Ne){const Ot=this.treeAdapter.getNamespaceURI(ee);return vr[Ot].has(Ne)}onCharacter(ee){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){il(this,ee);return}switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{da(this,ee);break}case _t.BEFORE_HEAD:{_a(this,ee);break}case _t.IN_HEAD:{ja(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{wi(this,ee);break}case _t.AFTER_HEAD:{fi(this,ee);break}case _t.IN_BODY:case _t.IN_CAPTION:case _t.IN_CELL:case _t.IN_TEMPLATE:{Va(this,ee);break}case _t.TEXT:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:{this._insertCharacters(ee);break}case _t.IN_TABLE:case _t.IN_TABLE_BODY:case _t.IN_ROW:{Xi(this,ee);break}case _t.IN_TABLE_TEXT:{Xo(this,ee);break}case _t.IN_COLUMN_GROUP:{Ro(this,ee);break}case _t.AFTER_BODY:{Es(this,ee);break}case _t.AFTER_AFTER_BODY:{Ss(this,ee);break}default:}}onNullCharacter(ee){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){xs(this,ee);return}switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{da(this,ee);break}case _t.BEFORE_HEAD:{_a(this,ee);break}case _t.IN_HEAD:{ja(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{wi(this,ee);break}case _t.AFTER_HEAD:{fi(this,ee);break}case _t.TEXT:{this._insertCharacters(ee);break}case _t.IN_TABLE:case _t.IN_TABLE_BODY:case _t.IN_ROW:{Xi(this,ee);break}case _t.IN_COLUMN_GROUP:{Ro(this,ee);break}case _t.AFTER_BODY:{Es(this,ee);break}case _t.AFTER_AFTER_BODY:{Ss(this,ee);break}default:}}onComment(ee){if(this.skipNextNewLine=!1,this.currentNotInHTML){er(this,ee);return}switch(this.insertionMode){case _t.INITIAL:case _t.BEFORE_HTML:case _t.BEFORE_HEAD:case _t.IN_HEAD:case _t.IN_HEAD_NO_SCRIPT:case _t.AFTER_HEAD:case _t.IN_BODY:case _t.IN_TABLE:case _t.IN_CAPTION:case _t.IN_COLUMN_GROUP:case _t.IN_TABLE_BODY:case _t.IN_ROW:case _t.IN_CELL:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:case _t.IN_TEMPLATE:case _t.IN_FRAMESET:case _t.AFTER_FRAMESET:{er(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.AFTER_BODY:{Dr(this,ee);break}case _t.AFTER_AFTER_BODY:case _t.AFTER_AFTER_FRAMESET:{Ar(this,ee);break}default:}}onDoctype(ee){switch(this.skipNextNewLine=!1,this.insertionMode){case _t.INITIAL:{nr(this,ee);break}case _t.BEFORE_HEAD:case _t.IN_HEAD:case _t.IN_HEAD_NO_SCRIPT:case _t.AFTER_HEAD:{this._err(ee,ft.misplacedDoctype);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}default:}}onStartTag(ee){this.skipNextNewLine=!1,this.currentToken=ee,this._processStartTag(ee),ee.selfClosing&&!ee.ackSelfClosing&&this._err(ee,ft.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(ee){this.shouldProcessStartTagTokenInForeignContent(ee)?js(this,ee):this._startTagOutsideForeignContent(ee)}_startTagOutsideForeignContent(ee){switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{Or(this,ee);break}case _t.BEFORE_HEAD:{ya(this,ee);break}case _t.IN_HEAD:{Na(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{Gr(this,ee);break}case _t.AFTER_HEAD:{Pa(this,ee);break}case _t.IN_BODY:{Hi(this,ee);break}case _t.IN_TABLE:{go(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.IN_CAPTION:{_s(this,ee);break}case _t.IN_COLUMN_GROUP:{So(this,ee);break}case _t.IN_TABLE_BODY:{Oo(this,ee);break}case _t.IN_ROW:{Rs(this,ee);break}case _t.IN_CELL:{gs(this,ee);break}case _t.IN_SELECT:{nl(this,ee);break}case _t.IN_SELECT_IN_TABLE:{Os(this,ee);break}case _t.IN_TEMPLATE:{fl(this,ee);break}case _t.AFTER_BODY:{bs(this,ee);break}case _t.IN_FRAMESET:{os(this,ee);break}case _t.AFTER_FRAMESET:{pl(this,ee);break}case _t.AFTER_AFTER_BODY:{ks(this,ee);break}case _t.AFTER_AFTER_FRAMESET:{jo(this,ee);break}default:}}onEndTag(ee){this.skipNextNewLine=!1,this.currentToken=ee,this.currentNotInHTML?jt(this,ee):this._endTagOutsideForeignContent(ee)}_endTagOutsideForeignContent(ee){switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{ba(this,ee);break}case _t.BEFORE_HEAD:{Ma(this,ee);break}case _t.IN_HEAD:{Ha(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{bi(this,ee);break}case _t.AFTER_HEAD:{li(this,ee);break}case _t.IN_BODY:{Yo(this,ee);break}case _t.TEXT:{tl(this,ee);break}case _t.IN_TABLE:{Wi(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.IN_CAPTION:{Ho(this,ee);break}case _t.IN_COLUMN_GROUP:{Ki(this,ee);break}case _t.IN_TABLE_BODY:{lo(this,ee);break}case _t.IN_ROW:{Us(this,ee);break}case _t.IN_CELL:{kl(this,ee);break}case _t.IN_SELECT:{zs(this,ee);break}case _t.IN_SELECT_IN_TABLE:{vs(this,ee);break}case _t.IN_TEMPLATE:{rl(this,ee);break}case _t.AFTER_BODY:{ys(this,ee);break}case _t.IN_FRAMESET:{Hs(this,ee);break}case _t.AFTER_FRAMESET:{_l(this,ee);break}case _t.AFTER_AFTER_BODY:{Ss(this,ee);break}default:}}onEof(ee){switch(this.insertionMode){case _t.INITIAL:{xr(this,ee);break}case _t.BEFORE_HTML:{da(this,ee);break}case _t.BEFORE_HEAD:{_a(this,ee);break}case _t.IN_HEAD:{ja(this,ee);break}case _t.IN_HEAD_NO_SCRIPT:{wi(this,ee);break}case _t.AFTER_HEAD:{fi(this,ee);break}case _t.IN_BODY:case _t.IN_TABLE:case _t.IN_CAPTION:case _t.IN_COLUMN_GROUP:case _t.IN_TABLE_BODY:case _t.IN_ROW:case _t.IN_CELL:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:{zo(this,ee);break}case _t.TEXT:{as(this,ee);break}case _t.IN_TABLE_TEXT:{is(this,ee);break}case _t.IN_TEMPLATE:{al(this,ee);break}case _t.AFTER_BODY:case _t.IN_FRAMESET:case _t.AFTER_FRAMESET:case _t.AFTER_AFTER_BODY:case _t.AFTER_AFTER_FRAMESET:{ur(this,ee);break}default:}}onWhitespaceCharacter(ee){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,ee.chars.charCodeAt(0)===Se.LINE_FEED)){if(ee.chars.length===1)return;ee.chars=ee.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(ee);return}switch(this.insertionMode){case _t.IN_HEAD:case _t.IN_HEAD_NO_SCRIPT:case _t.AFTER_HEAD:case _t.TEXT:case _t.IN_COLUMN_GROUP:case _t.IN_SELECT:case _t.IN_SELECT_IN_TABLE:case _t.IN_FRAMESET:case _t.AFTER_FRAMESET:{this._insertCharacters(ee);break}case _t.IN_BODY:case _t.IN_CAPTION:case _t.IN_CELL:case _t.IN_TEMPLATE:case _t.AFTER_BODY:case _t.AFTER_AFTER_BODY:case _t.AFTER_AFTER_FRAMESET:{Ni(this,ee);break}case _t.IN_TABLE:case _t.IN_TABLE_BODY:case _t.IN_ROW:{Xi(this,ee);break}case _t.IN_TABLE_TEXT:{Eo(this,ee);break}default:}}}function ha(x,ee){let Ne=x.activeFormattingElements.getElementEntryInScopeWithTagName(ee.tagName);return Ne?x.openElements.contains(Ne.element)?x.openElements.hasInScope(ee.tagID)||(Ne=null):(x.activeFormattingElements.removeEntry(Ne),Ne=null):Ns(x,ee),Ne}function Br(x,ee){let Ne=null,Ot=x.openElements.stackTop;for(;Ot>=0;Ot--){const Rn=x.openElements.items[Ot];if(Rn===ee.element)break;x._isSpecialElement(Rn,x.openElements.tagIDs[Ot])&&(Ne=Rn)}return Ne||(x.openElements.shortenToLength(Math.max(Ot,0)),x.activeFormattingElements.removeEntry(ee)),Ne}function Gn(x,ee,Ne){let Ot=ee,Rn=x.openElements.getCommonAncestor(ee);for(let fr=0,Mr=Rn;Mr!==Ne;fr++,Mr=Rn){Rn=x.openElements.getCommonAncestor(Mr);const hn=x.activeFormattingElements.getElementEntry(Mr),wa=hn&&fr>=oa;!hn||wa?(wa&&x.activeFormattingElements.removeEntry(hn),x.openElements.remove(Mr)):(Mr=Vr(x,hn),Ot===ee&&(x.activeFormattingElements.bookmark=hn),x.treeAdapter.detachNode(Ot),x.treeAdapter.appendChild(Mr,Ot),Ot=Mr)}return Ot}function Vr(x,ee){const Ne=x.treeAdapter.getNamespaceURI(ee.element),Ot=x.treeAdapter.createElement(ee.token.tagName,Ne,ee.token.attrs);return x.openElements.replace(ee.element,Ot),ee.element=Ot,Ot}function qn(x,ee,Ne){const Ot=x.treeAdapter.getTagName(ee),Rn=Dn(Ot);if(x._isElementCausesFosterParenting(Rn))x._fosterParentElement(Ne);else{const fr=x.treeAdapter.getNamespaceURI(ee);Rn===de.TEMPLATE&&fr===Ft.HTML&&(ee=x.treeAdapter.getTemplateContent(ee)),x.treeAdapter.appendChild(ee,Ne)}}function hr(x,ee,Ne){const Ot=x.treeAdapter.getNamespaceURI(Ne.element),{token:Rn}=Ne,fr=x.treeAdapter.createElement(Rn.tagName,Ot,Rn.attrs);x._adoptNodes(ee,fr),x.treeAdapter.appendChild(ee,fr),x.activeFormattingElements.insertElementAfterBookmark(fr,Rn),x.activeFormattingElements.removeEntry(Ne),x.openElements.remove(Ne.element),x.openElements.insertAfter(ee,fr,Rn.tagID)}function or(x,ee){for(let Ne=0;Ne<_r;Ne++){const Ot=ha(x,ee);if(!Ot)break;const Rn=Br(x,Ot);if(!Rn)break;x.activeFormattingElements.bookmark=Ot;const fr=Gn(x,Rn,Ot.element),Mr=x.openElements.getCommonAncestor(Ot.element);x.treeAdapter.detachNode(fr),Mr&&qn(x,Mr,fr),hr(x,Rn,Ot)}}function er(x,ee){x._appendCommentNode(ee,x.openElements.currentTmplContentOrNode)}function Dr(x,ee){x._appendCommentNode(ee,x.openElements.items[0])}function Ar(x,ee){x._appendCommentNode(ee,x.document)}function ur(x,ee){if(x.stopped=!0,ee.location){const Ne=x.fragmentContext?0:2;for(let Ot=x.openElements.stackTop;Ot>=Ne;Ot--)x._setEndLocation(x.openElements.items[Ot],ee);if(!x.fragmentContext&&x.openElements.stackTop>=0){const Ot=x.openElements.items[0],Rn=x.treeAdapter.getNodeSourceCodeLocation(Ot);if(Rn&&!Rn.endTag&&(x._setEndLocation(Ot,ee),x.openElements.stackTop>=1)){const fr=x.openElements.items[1],Mr=x.treeAdapter.getNodeSourceCodeLocation(fr);Mr&&!Mr.endTag&&x._setEndLocation(fr,ee)}}}}function nr(x,ee){x._setDocumentType(ee);const Ne=ee.forceQuirks?Ct.QUIRKS:Cn(ee);rn(ee)||x._err(ee,ft.nonConformingDoctype),x.treeAdapter.setDocumentMode(x.document,Ne),x.insertionMode=_t.BEFORE_HTML}function xr(x,ee){x._err(ee,ft.missingDoctype,!0),x.treeAdapter.setDocumentMode(x.document,Ct.QUIRKS),x.insertionMode=_t.BEFORE_HTML,x._processToken(ee)}function Or(x,ee){ee.tagID===de.HTML?(x._insertElement(ee,Ft.HTML),x.insertionMode=_t.BEFORE_HEAD):da(x,ee)}function ba(x,ee){const Ne=ee.tagID;(Ne===de.HTML||Ne===de.HEAD||Ne===de.BODY||Ne===de.BR)&&da(x,ee)}function da(x,ee){x._insertFakeRootElement(),x.insertionMode=_t.BEFORE_HEAD,x._processToken(ee)}function ya(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.HEAD:{x._insertElement(ee,Ft.HTML),x.headElement=x.openElements.current,x.insertionMode=_t.IN_HEAD;break}default:_a(x,ee)}}function Ma(x,ee){const Ne=ee.tagID;Ne===de.HEAD||Ne===de.BODY||Ne===de.HTML||Ne===de.BR?_a(x,ee):x._err(ee,ft.endTagWithoutMatchingOpenElement)}function _a(x,ee){x._insertFakeElement(pt.HEAD,de.HEAD),x.headElement=x.openElements.current,x.insertionMode=_t.IN_HEAD,x._processToken(ee)}function Na(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:{x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0;break}case de.TITLE:{x._switchToTextParsing(ee,Qn.RCDATA);break}case de.NOSCRIPT:{x.options.scriptingEnabled?x._switchToTextParsing(ee,Qn.RAWTEXT):(x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_HEAD_NO_SCRIPT);break}case de.NOFRAMES:case de.STYLE:{x._switchToTextParsing(ee,Qn.RAWTEXT);break}case de.SCRIPT:{x._switchToTextParsing(ee,Qn.SCRIPT_DATA);break}case de.TEMPLATE:{x._insertTemplate(ee),x.activeFormattingElements.insertMarker(),x.framesetOk=!1,x.insertionMode=_t.IN_TEMPLATE,x.tmplInsertionModeStack.unshift(_t.IN_TEMPLATE);break}case de.HEAD:{x._err(ee,ft.misplacedStartTagForHeadElement);break}default:ja(x,ee)}}function Ha(x,ee){switch(ee.tagID){case de.HEAD:{x.openElements.pop(),x.insertionMode=_t.AFTER_HEAD;break}case de.BODY:case de.BR:case de.HTML:{ja(x,ee);break}case de.TEMPLATE:{Da(x,ee);break}default:x._err(ee,ft.endTagWithoutMatchingOpenElement)}}function Da(x,ee){x.openElements.tmplCount>0?(x.openElements.generateImpliedEndTagsThoroughly(),x.openElements.currentTagId!==de.TEMPLATE&&x._err(ee,ft.closingOfElementWithOpenChildElements),x.openElements.popUntilTagNamePopped(de.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode()):x._err(ee,ft.endTagWithoutMatchingOpenElement)}function ja(x,ee){x.openElements.pop(),x.insertionMode=_t.AFTER_HEAD,x._processToken(ee)}function Gr(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BASEFONT:case de.BGSOUND:case de.HEAD:case de.LINK:case de.META:case de.NOFRAMES:case de.STYLE:{Na(x,ee);break}case de.NOSCRIPT:{x._err(ee,ft.nestedNoscriptInHead);break}default:wi(x,ee)}}function bi(x,ee){switch(ee.tagID){case de.NOSCRIPT:{x.openElements.pop(),x.insertionMode=_t.IN_HEAD;break}case de.BR:{wi(x,ee);break}default:x._err(ee,ft.endTagWithoutMatchingOpenElement)}}function wi(x,ee){const Ne=ee.type===gn.EOF?ft.openElementsLeftAfterEof:ft.disallowedContentInNoscriptInHead;x._err(ee,Ne),x.openElements.pop(),x.insertionMode=_t.IN_HEAD,x._processToken(ee)}function Pa(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.BODY:{x._insertElement(ee,Ft.HTML),x.framesetOk=!1,x.insertionMode=_t.IN_BODY;break}case de.FRAMESET:{x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_FRAMESET;break}case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:case de.NOFRAMES:case de.SCRIPT:case de.STYLE:case de.TEMPLATE:case de.TITLE:{x._err(ee,ft.abandonedHeadElementChild),x.openElements.push(x.headElement,de.HEAD),Na(x,ee),x.openElements.remove(x.headElement);break}case de.HEAD:{x._err(ee,ft.misplacedStartTagForHeadElement);break}default:fi(x,ee)}}function li(x,ee){switch(ee.tagID){case de.BODY:case de.HTML:case de.BR:{fi(x,ee);break}case de.TEMPLATE:{Da(x,ee);break}default:x._err(ee,ft.endTagWithoutMatchingOpenElement)}}function fi(x,ee){x._insertFakeElement(pt.BODY,de.BODY),x.insertionMode=_t.IN_BODY,Ua(x,ee)}function Ua(x,ee){switch(ee.type){case gn.CHARACTER:{Va(x,ee);break}case gn.WHITESPACE_CHARACTER:{Ni(x,ee);break}case gn.COMMENT:{er(x,ee);break}case gn.START_TAG:{Hi(x,ee);break}case gn.END_TAG:{Yo(x,ee);break}case gn.EOF:{zo(x,ee);break}default:}}function Ni(x,ee){x._reconstructActiveFormattingElements(),x._insertCharacters(ee)}function Va(x,ee){x._reconstructActiveFormattingElements(),x._insertCharacters(ee),x.framesetOk=!1}function Aa(x,ee){x.openElements.tmplCount===0&&x.treeAdapter.adoptAttributes(x.openElements.items[0],ee.attrs)}function $a(x,ee){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();Ne&&x.openElements.tmplCount===0&&(x.framesetOk=!1,x.treeAdapter.adoptAttributes(Ne,ee.attrs))}function Ja(x,ee){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();x.framesetOk&&Ne&&(x.treeAdapter.detachNode(Ne),x.openElements.popAllUpToHtmlElement(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_FRAMESET)}function Ba(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML)}function Xa(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x.openElements.currentTagId!==void 0&&yr.has(x.openElements.currentTagId)&&x.openElements.pop(),x._insertElement(ee,Ft.HTML)}function ma(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),x.skipNextNewLine=!0,x.framesetOk=!1}function xi(x,ee){const Ne=x.openElements.tmplCount>0;(!x.formElement||Ne)&&(x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),Ne||(x.formElement=x.openElements.current))}function Bi(x,ee){x.framesetOk=!1;const Ne=ee.tagID;for(let Ot=x.openElements.stackTop;Ot>=0;Ot--){const Rn=x.openElements.tagIDs[Ot];if(Ne===de.LI&&Rn===de.LI||(Ne===de.DD||Ne===de.DT)&&(Rn===de.DD||Rn===de.DT)){x.openElements.generateImpliedEndTagsWithExclusion(Rn),x.openElements.popUntilTagNamePopped(Rn);break}if(Rn!==de.ADDRESS&&Rn!==de.DIV&&Rn!==de.P&&x._isSpecialElement(x.openElements.items[Ot],Rn))break}x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML)}function Fi(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),x.tokenizer.state=Qn.PLAINTEXT}function Rr(x,ee){x.openElements.hasInScope(de.BUTTON)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(de.BUTTON)),x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.framesetOk=!1}function Ti(x,ee){const Ne=x.activeFormattingElements.getElementEntryInScopeWithTagName(pt.A);Ne&&(or(x,ee),x.openElements.remove(Ne.element),x.activeFormattingElements.removeEntry(Ne)),x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function qi(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function Ra(x,ee){x._reconstructActiveFormattingElements(),x.openElements.hasInScope(de.NOBR)&&(or(x,ee),x._reconstructActiveFormattingElements()),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.pushElement(x.openElements.current,ee)}function Ka(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.activeFormattingElements.insertMarker(),x.framesetOk=!1}function Ca(x,ee){x.treeAdapter.getDocumentMode(x.document)!==Ct.QUIRKS&&x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._insertElement(ee,Ft.HTML),x.framesetOk=!1,x.insertionMode=_t.IN_TABLE}function za(x,ee){x._reconstructActiveFormattingElements(),x._appendElement(ee,Ft.HTML),x.framesetOk=!1,ee.ackSelfClosing=!0}function ri(x){const ee=un(x,vn.TYPE);return ee!=null&&ee.toLowerCase()===la}function ii(x,ee){x._reconstructActiveFormattingElements(),x._appendElement(ee,Ft.HTML),ri(ee)||(x.framesetOk=!1),ee.ackSelfClosing=!0}function ci(x,ee){x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0}function ki(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._appendElement(ee,Ft.HTML),x.framesetOk=!1,ee.ackSelfClosing=!0}function ti(x,ee){ee.tagName=pt.IMG,ee.tagID=de.IMG,za(x,ee)}function zi(x,ee){x._insertElement(ee,Ft.HTML),x.skipNextNewLine=!0,x.tokenizer.state=Qn.RCDATA,x.originalInsertionMode=x.insertionMode,x.framesetOk=!1,x.insertionMode=_t.TEXT}function yo(x,ee){x.openElements.hasInButtonScope(de.P)&&x._closePElement(),x._reconstructActiveFormattingElements(),x.framesetOk=!1,x._switchToTextParsing(ee,Qn.RAWTEXT)}function No(x,ee){x.framesetOk=!1,x._switchToTextParsing(ee,Qn.RAWTEXT)}function so(x,ee){x._switchToTextParsing(ee,Qn.RAWTEXT)}function Ji(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML),x.framesetOk=!1,x.insertionMode=x.insertionMode===_t.IN_TABLE||x.insertionMode===_t.IN_CAPTION||x.insertionMode===_t.IN_TABLE_BODY||x.insertionMode===_t.IN_ROW||x.insertionMode===_t.IN_CELL?_t.IN_SELECT_IN_TABLE:_t.IN_SELECT}function Uo(x,ee){x.openElements.currentTagId===de.OPTION&&x.openElements.pop(),x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML)}function Co(x,ee){x.openElements.hasInScope(de.RUBY)&&x.openElements.generateImpliedEndTags(),x._insertElement(ee,Ft.HTML)}function Ts(x,ee){x.openElements.hasInScope(de.RUBY)&&x.openElements.generateImpliedEndTagsWithExclusion(de.RTC),x._insertElement(ee,Ft.HTML)}function dl(x,ee){x._reconstructActiveFormattingElements(),dr(ee),Wr(ee),ee.selfClosing?x._appendElement(ee,Ft.MATHML):x._insertElement(ee,Ft.MATHML),ee.ackSelfClosing=!0}function Js(x,ee){x._reconstructActiveFormattingElements(),Yr(ee),Wr(ee),ee.selfClosing?x._appendElement(ee,Ft.SVG):x._insertElement(ee,Ft.SVG),ee.ackSelfClosing=!0}function mo(x,ee){x._reconstructActiveFormattingElements(),x._insertElement(ee,Ft.HTML)}function Hi(x,ee){switch(ee.tagID){case de.I:case de.S:case de.B:case de.U:case de.EM:case de.TT:case de.BIG:case de.CODE:case de.FONT:case de.SMALL:case de.STRIKE:case de.STRONG:{qi(x,ee);break}case de.A:{Ti(x,ee);break}case de.H1:case de.H2:case de.H3:case de.H4:case de.H5:case de.H6:{Xa(x,ee);break}case de.P:case de.DL:case de.OL:case de.UL:case de.DIV:case de.DIR:case de.NAV:case de.MAIN:case de.MENU:case de.ASIDE:case de.CENTER:case de.FIGURE:case de.FOOTER:case de.HEADER:case de.HGROUP:case de.DIALOG:case de.DETAILS:case de.ADDRESS:case de.ARTICLE:case de.SEARCH:case de.SECTION:case de.SUMMARY:case de.FIELDSET:case de.BLOCKQUOTE:case de.FIGCAPTION:{Ba(x,ee);break}case de.LI:case de.DD:case de.DT:{Bi(x,ee);break}case de.BR:case de.IMG:case de.WBR:case de.AREA:case de.EMBED:case de.KEYGEN:{za(x,ee);break}case de.HR:{ki(x,ee);break}case de.RB:case de.RTC:{Co(x,ee);break}case de.RT:case de.RP:{Ts(x,ee);break}case de.PRE:case de.LISTING:{ma(x,ee);break}case de.XMP:{yo(x,ee);break}case de.SVG:{Js(x,ee);break}case de.HTML:{Aa(x,ee);break}case de.BASE:case de.LINK:case de.META:case de.STYLE:case de.TITLE:case de.SCRIPT:case de.BGSOUND:case de.BASEFONT:case de.TEMPLATE:{Na(x,ee);break}case de.BODY:{$a(x,ee);break}case de.FORM:{xi(x,ee);break}case de.NOBR:{Ra(x,ee);break}case de.MATH:{dl(x,ee);break}case de.TABLE:{Ca(x,ee);break}case de.INPUT:{ii(x,ee);break}case de.PARAM:case de.TRACK:case de.SOURCE:{ci(x,ee);break}case de.IMAGE:{ti(x,ee);break}case de.BUTTON:{Rr(x,ee);break}case de.APPLET:case de.OBJECT:case de.MARQUEE:{Ka(x,ee);break}case de.IFRAME:{No(x,ee);break}case de.SELECT:{Ji(x,ee);break}case de.OPTION:case de.OPTGROUP:{Uo(x,ee);break}case de.NOEMBED:case de.NOFRAMES:{so(x,ee);break}case de.FRAMESET:{Ja(x,ee);break}case de.TEXTAREA:{zi(x,ee);break}case de.NOSCRIPT:{x.options.scriptingEnabled?so(x,ee):mo(x,ee);break}case de.PLAINTEXT:{Fi(x,ee);break}case de.COL:case de.TH:case de.TD:case de.TR:case de.HEAD:case de.FRAME:case de.TBODY:case de.TFOOT:case de.THEAD:case de.CAPTION:case de.COLGROUP:break;default:mo(x,ee)}}function wo(x,ee){if(x.openElements.hasInScope(de.BODY)&&(x.insertionMode=_t.AFTER_BODY,x.options.sourceCodeLocationInfo)){const Ne=x.openElements.tryPeekProperlyNestedBodyElement();Ne&&x._setEndLocation(Ne,ee)}}function ps(x,ee){x.openElements.hasInScope(de.BODY)&&(x.insertionMode=_t.AFTER_BODY,ys(x,ee))}function el(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(Ne))}function ai(x){const ee=x.openElements.tmplCount>0,{formElement:Ne}=x;ee||(x.formElement=null),(Ne||ee)&&x.openElements.hasInScope(de.FORM)&&(x.openElements.generateImpliedEndTags(),ee?x.openElements.popUntilTagNamePopped(de.FORM):Ne&&x.openElements.remove(Ne))}function hs(x){x.openElements.hasInButtonScope(de.P)||x._insertFakeElement(pt.P,de.P),x._closePElement()}function As(x){x.openElements.hasInListItemScope(de.LI)&&(x.openElements.generateImpliedEndTagsWithExclusion(de.LI),x.openElements.popUntilTagNamePopped(de.LI))}function ns(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTagsWithExclusion(Ne),x.openElements.popUntilTagNamePopped(Ne))}function Is(x){x.openElements.hasNumberedHeaderInScope()&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilNumberedHeaderPopped())}function ms(x,ee){const Ne=ee.tagID;x.openElements.hasInScope(Ne)&&(x.openElements.generateImpliedEndTags(),x.openElements.popUntilTagNamePopped(Ne),x.activeFormattingElements.clearToLastMarker())}function rs(x){x._reconstructActiveFormattingElements(),x._insertFakeElement(pt.BR,de.BR),x.openElements.pop(),x.framesetOk=!1}function Ns(x,ee){const Ne=ee.tagName,Ot=ee.tagID;for(let Rn=x.openElements.stackTop;Rn>0;Rn--){const fr=x.openElements.items[Rn],Mr=x.openElements.tagIDs[Rn];if(Ot===Mr&&(Ot!==de.UNKNOWN||x.treeAdapter.getTagName(fr)===Ne)){x.openElements.generateImpliedEndTagsWithExclusion(Ot),x.openElements.stackTop>=Rn&&x.openElements.shortenToLength(Rn);break}if(x._isSpecialElement(fr,Mr))break}}function Yo(x,ee){switch(ee.tagID){case de.A:case de.B:case de.I:case de.S:case de.U:case de.EM:case de.TT:case de.BIG:case de.CODE:case de.FONT:case de.NOBR:case de.SMALL:case de.STRIKE:case de.STRONG:{or(x,ee);break}case de.P:{hs(x);break}case de.DL:case de.UL:case de.OL:case de.DIR:case de.DIV:case de.NAV:case de.PRE:case de.MAIN:case de.MENU:case de.ASIDE:case de.BUTTON:case de.CENTER:case de.FIGURE:case de.FOOTER:case de.HEADER:case de.HGROUP:case de.DIALOG:case de.ADDRESS:case de.ARTICLE:case de.DETAILS:case de.SEARCH:case de.SECTION:case de.SUMMARY:case de.LISTING:case de.FIELDSET:case de.BLOCKQUOTE:case de.FIGCAPTION:{el(x,ee);break}case de.LI:{As(x);break}case de.DD:case de.DT:{ns(x,ee);break}case de.H1:case de.H2:case de.H3:case de.H4:case de.H5:case de.H6:{Is(x);break}case de.BR:{rs(x);break}case de.BODY:{wo(x,ee);break}case de.HTML:{ps(x,ee);break}case de.FORM:{ai(x);break}case de.APPLET:case de.OBJECT:case de.MARQUEE:{ms(x,ee);break}case de.TEMPLATE:{Da(x,ee);break}default:Ns(x,ee)}}function zo(x,ee){x.tmplInsertionModeStack.length>0?al(x,ee):ur(x,ee)}function tl(x,ee){var Ne;ee.tagID===de.SCRIPT&&((Ne=x.scriptHandler)===null||Ne===void 0||Ne.call(x,x.openElements.current)),x.openElements.pop(),x.insertionMode=x.originalInsertionMode}function as(x,ee){x._err(ee,ft.eofInElementThatCanContainOnlyText),x.openElements.pop(),x.insertionMode=x.originalInsertionMode,x.onEof(ee)}function Xi(x,ee){if(x.openElements.currentTagId!==void 0&&ia.has(x.openElements.currentTagId))switch(x.pendingCharacterTokens.length=0,x.hasNonWhitespacePendingCharacterToken=!1,x.originalInsertionMode=x.insertionMode,x.insertionMode=_t.IN_TABLE_TEXT,ee.type){case gn.CHARACTER:{Xo(x,ee);break}case gn.WHITESPACE_CHARACTER:{Eo(x,ee);break}}else $i(x,ee)}function mi(x,ee){x.openElements.clearBackToTableContext(),x.activeFormattingElements.insertMarker(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_CAPTION}function ei(x,ee){x.openElements.clearBackToTableContext(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_COLUMN_GROUP}function eo(x,ee){x.openElements.clearBackToTableContext(),x._insertFakeElement(pt.COLGROUP,de.COLGROUP),x.insertionMode=_t.IN_COLUMN_GROUP,So(x,ee)}function to(x,ee){x.openElements.clearBackToTableContext(),x._insertElement(ee,Ft.HTML),x.insertionMode=_t.IN_TABLE_BODY}function ji(x,ee){x.openElements.clearBackToTableContext(),x._insertFakeElement(pt.TBODY,de.TBODY),x.insertionMode=_t.IN_TABLE_BODY,Oo(x,ee)}function _i(x,ee){x.openElements.hasInTableScope(de.TABLE)&&(x.openElements.popUntilTagNamePopped(de.TABLE),x._resetInsertionMode(),x._processStartTag(ee))}function vo(x,ee){ri(ee)?x._appendElement(ee,Ft.HTML):$i(x,ee),ee.ackSelfClosing=!0}function To(x,ee){!x.formElement&&x.openElements.tmplCount===0&&(x._insertElement(ee,Ft.HTML),x.formElement=x.openElements.current,x.openElements.pop())}function go(x,ee){switch(ee.tagID){case de.TD:case de.TH:case de.TR:{ji(x,ee);break}case de.STYLE:case de.SCRIPT:case de.TEMPLATE:{Na(x,ee);break}case de.COL:{eo(x,ee);break}case de.FORM:{To(x,ee);break}case de.TABLE:{_i(x,ee);break}case de.TBODY:case de.TFOOT:case de.THEAD:{to(x,ee);break}case de.INPUT:{vo(x,ee);break}case de.CAPTION:{mi(x,ee);break}case de.COLGROUP:{ei(x,ee);break}default:$i(x,ee)}}function Wi(x,ee){switch(ee.tagID){case de.TABLE:{x.openElements.hasInTableScope(de.TABLE)&&(x.openElements.popUntilTagNamePopped(de.TABLE),x._resetInsertionMode());break}case de.TEMPLATE:{Da(x,ee);break}case de.BODY:case de.CAPTION:case de.COL:case de.COLGROUP:case de.HTML:case de.TBODY:case de.TD:case de.TFOOT:case de.TH:case de.THEAD:case de.TR:break;default:$i(x,ee)}}function $i(x,ee){const Ne=x.fosterParentingEnabled;x.fosterParentingEnabled=!0,Ua(x,ee),x.fosterParentingEnabled=Ne}function Eo(x,ee){x.pendingCharacterTokens.push(ee)}function Xo(x,ee){x.pendingCharacterTokens.push(ee),x.hasNonWhitespacePendingCharacterToken=!0}function is(x,ee){let Ne=0;if(x.hasNonWhitespacePendingCharacterToken)for(;Ne0&&x.openElements.currentTagId===de.OPTION&&x.openElements.tagIDs[x.openElements.stackTop-1]===de.OPTGROUP&&x.openElements.pop(),x.openElements.currentTagId===de.OPTGROUP&&x.openElements.pop();break}case de.OPTION:{x.openElements.currentTagId===de.OPTION&&x.openElements.pop();break}case de.SELECT:{x.openElements.hasInSelectScope(de.SELECT)&&(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode());break}case de.TEMPLATE:{Da(x,ee);break}default:}}function Os(x,ee){const Ne=ee.tagID;Ne===de.CAPTION||Ne===de.TABLE||Ne===de.TBODY||Ne===de.TFOOT||Ne===de.THEAD||Ne===de.TR||Ne===de.TD||Ne===de.TH?(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode(),x._processStartTag(ee)):nl(x,ee)}function vs(x,ee){const Ne=ee.tagID;Ne===de.CAPTION||Ne===de.TABLE||Ne===de.TBODY||Ne===de.TFOOT||Ne===de.THEAD||Ne===de.TR||Ne===de.TD||Ne===de.TH?x.openElements.hasInTableScope(Ne)&&(x.openElements.popUntilTagNamePopped(de.SELECT),x._resetInsertionMode(),x.onEndTag(ee)):zs(x,ee)}function fl(x,ee){switch(ee.tagID){case de.BASE:case de.BASEFONT:case de.BGSOUND:case de.LINK:case de.META:case de.NOFRAMES:case de.SCRIPT:case de.STYLE:case de.TEMPLATE:case de.TITLE:{Na(x,ee);break}case de.CAPTION:case de.COLGROUP:case de.TBODY:case de.TFOOT:case de.THEAD:{x.tmplInsertionModeStack[0]=_t.IN_TABLE,x.insertionMode=_t.IN_TABLE,go(x,ee);break}case de.COL:{x.tmplInsertionModeStack[0]=_t.IN_COLUMN_GROUP,x.insertionMode=_t.IN_COLUMN_GROUP,So(x,ee);break}case de.TR:{x.tmplInsertionModeStack[0]=_t.IN_TABLE_BODY,x.insertionMode=_t.IN_TABLE_BODY,Oo(x,ee);break}case de.TD:case de.TH:{x.tmplInsertionModeStack[0]=_t.IN_ROW,x.insertionMode=_t.IN_ROW,Rs(x,ee);break}default:x.tmplInsertionModeStack[0]=_t.IN_BODY,x.insertionMode=_t.IN_BODY,Hi(x,ee)}}function rl(x,ee){ee.tagID===de.TEMPLATE&&Da(x,ee)}function al(x,ee){x.openElements.tmplCount>0?(x.openElements.popUntilTagNamePopped(de.TEMPLATE),x.activeFormattingElements.clearToLastMarker(),x.tmplInsertionModeStack.shift(),x._resetInsertionMode(),x.onEof(ee)):ur(x,ee)}function bs(x,ee){ee.tagID===de.HTML?Hi(x,ee):Es(x,ee)}function ys(x,ee){var Ne;if(ee.tagID===de.HTML){if(x.fragmentContext||(x.insertionMode=_t.AFTER_AFTER_BODY),x.options.sourceCodeLocationInfo&&x.openElements.tagIDs[0]===de.HTML){x._setEndLocation(x.openElements.items[0],ee);const Ot=x.openElements.items[1];Ot&&!(!((Ne=x.treeAdapter.getNodeSourceCodeLocation(Ot))===null||Ne===void 0)&&Ne.endTag)&&x._setEndLocation(Ot,ee)}}else Es(x,ee)}function Es(x,ee){x.insertionMode=_t.IN_BODY,Ua(x,ee)}function os(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.FRAMESET:{x._insertElement(ee,Ft.HTML);break}case de.FRAME:{x._appendElement(ee,Ft.HTML),ee.ackSelfClosing=!0;break}case de.NOFRAMES:{Na(x,ee);break}default:}}function Hs(x,ee){ee.tagID===de.FRAMESET&&!x.openElements.isRootHtmlElementCurrent()&&(x.openElements.pop(),!x.fragmentContext&&x.openElements.currentTagId!==de.FRAMESET&&(x.insertionMode=_t.AFTER_FRAMESET))}function pl(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.NOFRAMES:{Na(x,ee);break}default:}}function _l(x,ee){ee.tagID===de.HTML&&(x.insertionMode=_t.AFTER_AFTER_FRAMESET)}function ks(x,ee){ee.tagID===de.HTML?Hi(x,ee):Ss(x,ee)}function Ss(x,ee){x.insertionMode=_t.IN_BODY,Ua(x,ee)}function jo(x,ee){switch(ee.tagID){case de.HTML:{Hi(x,ee);break}case de.NOFRAMES:{Na(x,ee);break}default:}}function xs(x,ee){ee.chars=Ye,x._insertCharacters(ee)}function il(x,ee){x._insertCharacters(ee),x.framesetOk=!1}function uo(x){for(;x.treeAdapter.getNamespaceURI(x.openElements.current)!==Ft.HTML&&x.openElements.currentTagId!==void 0&&!x._isIntegrationPoint(x.openElements.currentTagId,x.openElements.current);)x.openElements.pop()}function js(x,ee){if(gr(ee))uo(x),x._startTagOutsideForeignContent(ee);else{const Ne=x._getAdjustedCurrentElement(),Ot=x.treeAdapter.getNamespaceURI(Ne);Ot===Ft.MATHML?dr(ee):Ot===Ft.SVG&&(Zr(ee),Yr(ee)),Wr(ee),ee.selfClosing?x._appendElement(ee,Ot):x._insertElement(ee,Ot),ee.ackSelfClosing=!0}}function jt(x,ee){if(ee.tagID===de.P||ee.tagID===de.BR){uo(x),x._endTagOutsideForeignContent(ee);return}for(let Ne=x.openElements.stackTop;Ne>0;Ne--){const Ot=x.openElements.items[Ne];if(x.treeAdapter.getNamespaceURI(Ot)===Ft.HTML){x._endTagOutsideForeignContent(ee);break}const Rn=x.treeAdapter.getTagName(Ot);if(Rn.toLowerCase()===ee.tagName){ee.tagName=Rn,x.openElements.shortenToLength(Ne);break}}}const ao=/["$&'<>\u0080-\uFFFF]/g,Vi=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),Ds=String.prototype.codePointAt==null?(x,ee)=>(x.charCodeAt(ee)&64512)===55296?(x.charCodeAt(ee)-55296)*1024+x.charCodeAt(ee+1)-56320+65536:x.charCodeAt(ee):(x,ee)=>x.codePointAt(ee);function Qo(x){let ee="",Ne=0,Ot;for(;(Ot=ao.exec(x))!==null;){const{index:Rn}=Ot,fr=x.charCodeAt(Rn),Mr=Vi.get(fr);Mr===void 0?(ee+=`${x.substring(Ne,Rn)}&#x${Ds(x,Rn).toString(16)};`,Ne=ao.lastIndex+=+((fr&64512)===55296)):(ee+=x.substring(Ne,Rn)+Mr,Ne=Rn+1)}return ee+x.substr(Ne)}const ol=null;function qo(x,ee){return function(Ot){let Rn,fr=0,Mr="";for(;Rn=x.exec(Ot);)fr!==Rn.index&&(Mr+=Ot.substring(fr,Rn.index)),Mr+=ee.get(Rn[0].charCodeAt(0)),fr=Rn.index+1;return Mr+Ot.substring(fr)}}const Jo=null,sl=qo(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Go=qo(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),Ul=new Set([pt.AREA,pt.BASE,pt.BASEFONT,pt.BGSOUND,pt.BR,pt.COL,pt.EMBED,pt.FRAME,pt.HR,pt.IMG,pt.INPUT,pt.KEYGEN,pt.LINK,pt.META,pt.PARAM,pt.SOURCE,pt.TRACK,pt.WBR]);function io(x,ee){return ee.treeAdapter.isElementNode(x)&&ee.treeAdapter.getNamespaceURI(x)===NS.HTML&&Ul.has(ee.treeAdapter.getTagName(x))}const ss={treeAdapter:Xt,scriptingEnabled:!0};function iu(x,ee){const Ne=qa(qa({},ss),ee);return io(x,Ne)?"":Gs(x,Ne)}function hl(x,ee){const Ne=qa(qa({},ss),ee);return Ws(x,Ne)}function Gs(x,ee){let Ne="";const Ot=ee.treeAdapter.isElementNode(x)&&ee.treeAdapter.getTagName(x)===$.TEMPLATE&&ee.treeAdapter.getNamespaceURI(x)===NS.HTML?ee.treeAdapter.getTemplateContent(x):x,Rn=ee.treeAdapter.getChildNodes(Ot);if(Rn)for(const fr of Rn)Ne+=Ws(fr,ee);return Ne}function Ws(x,ee){return ee.treeAdapter.isElementNode(x)?zl(x,ee):ee.treeAdapter.isTextNode(x)?Ae(x,ee):ee.treeAdapter.isCommentNode(x)?ke(x,ee):ee.treeAdapter.isDocumentTypeNode(x)?Ue(x,ee):""}function zl(x,ee){const Ne=ee.treeAdapter.getTagName(x);return`<${Ne}${se(x,ee)}>${io(x,ee)?"":`${Gs(x,ee)}`}`}function se(x,{treeAdapter:ee}){let Ne="";for(const Ot of ee.getAttrList(x)){if(Ne+=" ",Ot.namespace)switch(Ot.namespace){case NS.XML:{Ne+=`xml:${Ot.name}`;break}case NS.XMLNS:{Ot.name!=="xmlns"&&(Ne+="xmlns:"),Ne+=Ot.name;break}case NS.XLINK:{Ne+=`xlink:${Ot.name}`;break}default:Ne+=`${Ot.prefix}:${Ot.name}`}else Ne+=Ot.name;Ne+=`="${escapeAttribute(Ot.value)}"`}return Ne}function Ae(x,ee){const{treeAdapter:Ne}=ee,Ot=Ne.getTextNodeContent(x),Rn=Ne.getParentNode(x),fr=Rn&&Ne.isElementNode(Rn)&&Ne.getTagName(Rn);return fr&&Ne.getNamespaceURI(Rn)===NS.HTML&&hasUnescapedText(fr,ee.scriptingEnabled)?Ot:escapeText(Ot)}function ke(x,{treeAdapter:ee}){return``}function Ue(x,{treeAdapter:ee}){return``}function mt(x,ee){return Parser.parse(x,ee)}function Et(x,ee,Ne){typeof x=="string"&&(Ne=ee,ee=x,x=null);const Ot=Parser.getFragmentParser(x,Ne);return Ot.tokenizer.write(ee,!0),Ot.getFragment()}var Lt=y(17970),tn=y(28470);const _n=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Mn=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),bn={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Vn(x,ee){const Ne=Ii(x),Ot=_e("type",{handlers:{root:Nn,element:Ia,text:Qa,comment:pi,doctype:gi,raw:La},unknown:Ui}),Rn={parser:Ne?new fa(bn):fa.getFragmentParser(void 0,bn),handle(hn){Ot(hn,Rn)},stitches:!1,options:ee||{}};Ot(x,Rn),yi(Rn,(0,Lt.Pk)());const fr=Ne?Rn.parser.document:Rn.parser.getFragment(),Mr=Ge(fr,{file:Rn.options.file});return Rn.stitches&&(0,tn.Vn)(Mr,"comment",function(hn,wa,hi){const Bn=hn;if(Bn.value.stitch&&hi&&wa!==void 0){const no=hi.children;return no[wa]=Bn.value.stitch,wa}}),Mr.type==="root"&&Mr.children.length===1&&Mr.children[0].type===x.type?Mr.children[0]:Mr}function $n(x,ee){let Ne=-1;if(x)for(;++Ne4&&(ee.parser.tokenizer.state=0);const Ne={type:gn.CHARACTER,chars:x.value,location:Ri(x)};yi(ee,(0,Lt.Pk)(x)),ee.parser.currentToken=Ne,ee.parser._processToken(ee.parser.currentToken)}function gi(x,ee){const Ne={type:gn.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ri(x)};yi(ee,(0,Lt.Pk)(x)),ee.parser.currentToken=Ne,ee.parser._processToken(ee.parser.currentToken)}function va(x,ee){ee.stitches=!0;const Ne=xo(x);if("children"in x&&"children"in Ne){const Ot=Vn({type:"root",children:x.children},ee.options);Ne.children=Ot.children}pi({type:"comment",value:{stitch:Ne}},ee)}function pi(x,ee){const Ne=x.value,Ot={type:gn.COMMENT,data:Ne,location:Ri(x)};yi(ee,(0,Lt.Pk)(x)),ee.parser.currentToken=Ot,ee.parser._processToken(ee.parser.currentToken)}function La(x,ee){if(ee.parser.tokenizer.preprocessor.html="",ee.parser.tokenizer.preprocessor.pos=-1,ee.parser.tokenizer.preprocessor.lastGapPos=-2,ee.parser.tokenizer.preprocessor.gapStack=[],ee.parser.tokenizer.preprocessor.skipNextNewLine=!1,ee.parser.tokenizer.preprocessor.lastChunkWritten=!1,ee.parser.tokenizer.preprocessor.endOfChunkHit=!1,ee.parser.tokenizer.preprocessor.isEol=!1,ta(ee,(0,Lt.Pk)(x)),ee.parser.tokenizer.write(ee.options.tagfilter?x.value.replace(_n,"<$1$2"):x.value,!1),ee.parser.tokenizer._runParsingLoop(),ee.parser.tokenizer.state===72||ee.parser.tokenizer.state===78){ee.parser.tokenizer.preprocessor.lastChunkWritten=!0;const Ne=ee.parser.tokenizer._consume();ee.parser.tokenizer._callState(Ne)}}function Ui(x,ee){const Ne=x;if(ee.options.passThrough&&ee.options.passThrough.includes(Ne.type))va(Ne,ee);else{let Ot="";throw Mn.has(Ne.type)&&(Ot=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+Ne.type+"` node"+Ot)}}function yi(x,ee){ta(x,ee);const Ne=x.parser.tokenizer.currentCharacterToken;Ne&&Ne.location&&(Ne.location.endLine=x.parser.tokenizer.preprocessor.line,Ne.location.endCol=x.parser.tokenizer.preprocessor.col+1,Ne.location.endOffset=x.parser.tokenizer.preprocessor.offset+1,x.parser.currentToken=Ne,x.parser._processToken(x.parser.currentToken)),x.parser.tokenizer.paused=!1,x.parser.tokenizer.inLoop=!1,x.parser.tokenizer.active=!1,x.parser.tokenizer.returnState=Qn.DATA,x.parser.tokenizer.charRefCode=-1,x.parser.tokenizer.consumedAfterSnapshot=-1,x.parser.tokenizer.currentLocation=null,x.parser.tokenizer.currentCharacterToken=null,x.parser.tokenizer.currentToken=null,x.parser.tokenizer.currentAttr={name:"",value:""}}function ta(x,ee){if(ee&&ee.offset!==void 0){const Ne={startLine:ee.line,startCol:ee.column,startOffset:ee.offset,endLine:-1,endCol:-1,endOffset:-1};x.parser.tokenizer.preprocessor.lineStartPos=-ee.column+1,x.parser.tokenizer.preprocessor.droppedBufferSize=ee.offset,x.parser.tokenizer.preprocessor.line=ee.line,x.parser.tokenizer.currentLocation=Ne}}function Ai(x,ee){const Ne=x.tagName.toLowerCase();if(ee.parser.tokenizer.state===Qn.PLAINTEXT)return;yi(ee,(0,Lt.Pk)(x));const Ot=ee.parser.openElements.current;let Rn="namespaceURI"in Ot?Ot.namespaceURI:Oe.t.html;Rn===Oe.t.html&&Ne==="svg"&&(Rn=Oe.t.svg);const fr=it(Ol(qa({},x),{children:[]}),{space:Rn===Oe.t.svg?"svg":"html"}),Mr={type:gn.START_TAG,tagName:Ne,tagID:Dn(Ne),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in fr?fr.attrs:[],location:Ri(x)};ee.parser.currentToken=Mr,ee.parser._processToken(ee.parser.currentToken),ee.parser.tokenizer.lastStartTagName=Ne}function Ei(x,ee){const Ne=x.tagName.toLowerCase();if(!ee.parser.tokenizer.inForeignNode&&Tn.includes(Ne)||ee.parser.tokenizer.state===Qn.PLAINTEXT)return;yi(ee,(0,Lt.rb)(x));const Ot={type:gn.END_TAG,tagName:Ne,tagID:Dn(Ne),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ri(x)};ee.parser.currentToken=Ot,ee.parser._processToken(ee.parser.currentToken),Ne===ee.parser.tokenizer.lastStartTagName&&(ee.parser.tokenizer.state===Qn.RCDATA||ee.parser.tokenizer.state===Qn.RAWTEXT||ee.parser.tokenizer.state===Qn.SCRIPT_DATA)&&(ee.parser.tokenizer.state=Qn.DATA)}function Ii(x){const ee=x.type==="root"?x.children[0]:x;return!!(ee&&(ee.type==="doctype"||ee.type==="element"&&ee.tagName.toLowerCase()==="html"))}function Ri(x){const ee=(0,Lt.Pk)(x)||{line:void 0,column:void 0,offset:void 0},Ne=(0,Lt.rb)(x)||{line:void 0,column:void 0,offset:void 0};return{startLine:ee.line,startCol:ee.column,startOffset:ee.offset,endLine:Ne.line,endCol:Ne.column,endOffset:Ne.offset}}function xo(x){return"children"in x?(0,b.ZP)(Ol(qa({},x),{children:[]})):(0,b.ZP)(x)}function ui(x){return function(ee,Ne){return Vn(ee,Ol(qa({},x),{file:Ne}))}}},3369:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return pe}});var b=y(91614);function me(be){(0,b.n)(be,[/\r?\n|\r/g,le])}function le(){return{type:"break"}}function pe(){return function(be){me(be)}}},55468:function(Ce,ae,y){"use strict";y.d(ae,{Z:function(){return Je}});var b=y(87342),me=y(52509);function le(){return{enter:{mathFlow:We,mathFlowFenceMeta:Ve,mathText:_e},exit:{mathFlow:ze,mathFlowFence:Qe,mathFlowFenceMeta:Ze,mathFlowValue:nt,mathText:$e,mathTextData:nt}};function We(bt){const it={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[it]}},bt)}function Ve(){this.buffer()}function Ze(){const bt=this.resume(),it=this.stack[this.stack.length-1];(0,b.ok)(it.type==="math"),it.meta=bt}function Qe(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function ze(bt){const it=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),Nt=this.stack[this.stack.length-1];(0,b.ok)(Nt.type==="math"),this.exit(bt),Nt.value=it;const vt=Nt.data.hChildren[0];(0,b.ok)(vt.type==="element"),(0,b.ok)(vt.tagName==="code"),vt.children.push({type:"text",value:it}),this.data.mathFlowInside=void 0}function _e(bt){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},bt),this.buffer()}function $e(bt){const it=this.resume(),Nt=this.stack[this.stack.length-1];(0,b.ok)(Nt.type==="inlineMath"),this.exit(bt),Nt.value=it,Nt.data.hChildren.push({type:"text",value:it})}function nt(bt){this.config.enter.data.call(this,bt),this.config.exit.data.call(this,bt)}}function pe(We){let Ve=(We||{}).singleDollarTextMath;return Ve==null&&(Ve=!0),Qe.peek=ze,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` +`,inConstruct:"mathFlowMeta"},{character:"$",after:Ve?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:Ze,inlineMath:Qe}};function Ze(_e,$e,nt,bt){const it=_e.value||"",Nt=nt.createTracker(bt),vt="$".repeat(Math.max((0,me.J)(it,"$")+1,2)),dt=nt.enter("mathFlow");let It=Nt.move(vt);if(_e.meta){const St=nt.enter("mathFlowMeta");It+=Nt.move(nt.safe(_e.meta,qa({after:` +`,before:It,encode:["$"]},Nt.current()))),St()}return It+=Nt.move(` +`),it&&(It+=Nt.move(it+` +`)),It+=Nt.move(vt),dt(),It}function Qe(_e,$e,nt){let bt=_e.value||"",it=1;for(Ve||it++;new RegExp("(^|[^$])"+"\\$".repeat(it)+"([^$]|$)").test(bt);)it++;const Nt="$".repeat(it);/[^ \r\n]/.test(bt)&&(/^[ \r\n]/.test(bt)&&/[ \r\n]$/.test(bt)||/^\$|\$$/.test(bt))&&(bt=" "+bt+" ");let vt=-1;for(;++vttypeof Re=="object"&&Re!=null&&Re.nodeType===1,me=(Re,xe)=>(!xe||Re!=="hidden")&&Re!=="visible"&&Re!=="clip",le=(Re,xe)=>{if(Re.clientHeight{const At=(at=>{if(!at.ownerDocument||!at.ownerDocument.defaultView)return null;try{return at.ownerDocument.defaultView.frameElement}catch(tt){return null}})(Fe);return!!At&&(At.clientHeightatxe||at>Re&&tt=xe&&Je>=Ge?at-Re-Fe:tt>xe&&JeGe?tt-xe+At:0,be=Re=>{const xe=Re.parentElement;return xe==null?Re.getRootNode().host||null:xe},fe=(Re,xe)=>{var Ge,Fe,At,at;if(typeof document=="undefined")return[];const{scrollMode:tt,block:Je,inline:We,boundary:Ve,skipOverflowHiddenElements:Ze}=xe,Qe=typeof Ve=="function"?Ve:on=>on!==Ve;if(!b(Re))throw new TypeError("Invalid target");const ze=document.scrollingElement||document.documentElement,_e=[];let $e=Re;for(;b($e)&&Qe($e);){if($e=be($e),$e===ze){_e.push($e);break}$e!=null&&$e===document.body&&le($e)&&!le(document.documentElement)||$e!=null&&le($e,Ze)&&_e.push($e)}const nt=(Fe=(Ge=window.visualViewport)==null?void 0:Ge.width)!=null?Fe:innerWidth,bt=(at=(At=window.visualViewport)==null?void 0:At.height)!=null?at:innerHeight,{scrollX:it,scrollY:Nt}=window,{height:vt,width:dt,top:It,right:St,bottom:qe,left:Jt}=Re.getBoundingClientRect(),{top:Rt,right:Zt,bottom:Tn,left:Tt}=(on=>{const st=window.getComputedStyle(on);return{top:parseFloat(st.scrollMarginTop)||0,right:parseFloat(st.scrollMarginRight)||0,bottom:parseFloat(st.scrollMarginBottom)||0,left:parseFloat(st.scrollMarginLeft)||0}})(Re);let Ye=Je==="start"||Je==="nearest"?It-Rt:Je==="end"?qe+Tn:It+vt/2-Rt+Tn,Se=We==="center"?Jt+dt/2-Tt+Zt:We==="end"?St+Zt:Jt-Tt;const Qt=[];for(let on=0;on<_e.length;on++){const st=_e[on],{height:Ut,width:Gt,top:On,right:ft,bottom:En,left:Ht}=st.getBoundingClientRect();if(tt==="if-needed"&&It>=0&&Jt>=0&&qe<=bt&&St<=nt&&(st===ze&&!le(st)||It>=On&&qe<=En&&Jt>=Ht&&St<=ft))return Qt;const gn=getComputedStyle(st),un=parseInt(gn.borderLeftWidth,10),De=parseInt(gn.borderTopWidth,10),he=parseInt(gn.borderRightWidth,10),ce=parseInt(gn.borderBottomWidth,10);let Te=0,je=0;const ge="offsetWidth"in st?st.offsetWidth-st.clientWidth-un-he:0,Pe="offsetHeight"in st?st.offsetHeight-st.clientHeight-De-ce:0,ct="offsetWidth"in st?st.offsetWidth===0?0:Gt/st.offsetWidth:0,$t="offsetHeight"in st?st.offsetHeight===0?0:Ut/st.offsetHeight:0;if(ze===st)Te=Je==="start"?Ye:Je==="end"?Ye-bt:Je==="nearest"?pe(Nt,Nt+bt,bt,De,ce,Nt+Ye,Nt+Ye+vt,vt):Ye-bt/2,je=We==="start"?Se:We==="center"?Se-nt/2:We==="end"?Se-nt:pe(it,it+nt,nt,un,he,it+Se,it+Se+dt,dt),Te=Math.max(0,Te+Nt),je=Math.max(0,je+it);else{Te=Je==="start"?Ye-On-De:Je==="end"?Ye-En+ce+Pe:Je==="nearest"?pe(On,En,Ut,De,ce+Pe,Ye,Ye+vt,vt):Ye-(On+Ut/2)+Pe/2,je=We==="start"?Se-Ht-un:We==="center"?Se-(Ht+Gt/2)+ge/2:We==="end"?Se-ft+he+ge:pe(Ht,ft,Gt,un,he+ge,Se,Se+dt,dt);const{scrollLeft:gt,scrollTop:yt}=st;Te=$t===0?0:Math.max(0,Math.min(yt+Te/$t,st.scrollHeight-Ut/$t+Pe)),je=ct===0?0:Math.max(0,Math.min(gt+je/ct,st.scrollWidth-Gt/ct+ge)),Ye+=yt-Te,Se+=gt-je}Qt.push({el:st,top:Te,left:je})}return Qt},we=Re=>Re===!1?{block:"end",inline:"nearest"}:(xe=>xe===Object(xe)&&Object.keys(xe).length!==0)(Re)?Re:{block:"start",inline:"nearest"};function Oe(Re,xe){if(!Re.isConnected||!(At=>{let at=At;for(;at&&at.parentNode;){if(at.parentNode===document)return!0;at=at.parentNode instanceof ShadowRoot?at.parentNode.host:at.parentNode}return!1})(Re))return;const Ge=(At=>{const at=window.getComputedStyle(At);return{top:parseFloat(at.scrollMarginTop)||0,right:parseFloat(at.scrollMarginRight)||0,bottom:parseFloat(at.scrollMarginBottom)||0,left:parseFloat(at.scrollMarginLeft)||0}})(Re);if((At=>typeof At=="object"&&typeof At.behavior=="function")(xe))return xe.behavior(fe(Re,xe));const Fe=typeof xe=="boolean"||xe==null?void 0:xe.behavior;for(const{el:At,top:at,left:tt}of fe(Re,we(xe))){const Je=at-Ge.top+Ge.bottom,We=tt-Ge.left+Ge.right;At.scroll({top:Je,left:We,behavior:Fe})}}},71523:function(Ce,ae,y){"use strict";y.d(ae,{P:function(){return me},Q:function(){return b}});function b(le){const pe=String(le||"").trim();return pe?pe.split(/[ \t\n\r\f]+/g):[]}function me(le){return le.join(" ").trim()}},33511:function(Ce,ae,y){"use strict";y.d(ae,{O:function(){return me}});const b=function(Re,xe,Ge,Fe,At){const at=me(xe);if(Ge!=null&&(typeof Ge!="number"||Ge<0||Ge===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(Fe!=null&&(!b(Fe)||!Fe.children))throw new Error("Expected parent node");if(Fe==null!=(Ge==null))throw new Error("Expected both parent and index");return Oe(Re)?at.call(At,Re,Ge,Fe):!1},me=function(Re){if(Re==null)return we;if(typeof Re=="function")return fe(Re);if(typeof Re=="object")return Array.isArray(Re)?le(Re):pe(Re);if(typeof Re=="string")return be(Re);throw new Error("Expected function, string, or object as test")};function le(Re){const xe=[];let Ge=-1;for(;++Ge0&&typeof Oe.column=="number"&&Oe.column>0)return{line:Oe.line,column:Oe.column,offset:typeof Oe.offset=="number"&&Oe.offset>-1?Oe.offset:void 0}}}function pe(be){const fe=me(be),we=b(be);if(fe&&we)return{start:fe,end:we}}},19453:function(Ce,ae,y){"use strict";y.d(ae,{BK:function(){return be},AM:function(){return fe},S4:function(){return we}});var b=y(33511);function me(Re){return Re}const le=[],pe=!0,be=!1,fe="skip";function we(Re,xe,Ge,Fe){let At;typeof xe=="function"&&typeof Ge!="function"?(Fe=Ge,Ge=xe):At=xe;const at=(0,b.O)(At),tt=Fe?-1:1;Je(Re,void 0,[])();function Je(We,Ve,Ze){const Qe=We&&typeof We=="object"?We:{};if(typeof Qe.type=="string"){const _e=typeof Qe.tagName=="string"?Qe.tagName:typeof Qe.name=="string"?Qe.name:void 0;Object.defineProperty(ze,"name",{value:"node ("+(We.type+(_e?"<"+_e+">":""))+")"})}return ze;function ze(){let _e=le,$e,nt,bt;if((!xe||at(We,Ve,Ze[Ze.length-1]||void 0))&&(_e=Oe(Ge(We,Ze)),_e[0]===be))return _e;if("children"in We&&We.children){const it=We;if(it.children&&_e[0]!==fe)for(nt=(Fe?it.children.length:-1)+tt,bt=Ze.concat(it);nt>-1&&nt","Iacute":"\xCD","Icirc":"\xCE","Igrave":"\xCC","Iuml":"\xCF","LT":"<","Ntilde":"\xD1","Oacute":"\xD3","Ocirc":"\xD4","Ograve":"\xD2","Oslash":"\xD8","Otilde":"\xD5","Ouml":"\xD6","QUOT":"\\"","REG":"\xAE","THORN":"\xDE","Uacute":"\xDA","Ucirc":"\xDB","Ugrave":"\xD9","Uuml":"\xDC","Yacute":"\xDD","aacute":"\xE1","acirc":"\xE2","acute":"\xB4","aelig":"\xE6","agrave":"\xE0","amp":"&","aring":"\xE5","atilde":"\xE3","auml":"\xE4","brvbar":"\xA6","ccedil":"\xE7","cedil":"\xB8","cent":"\xA2","copy":"\xA9","curren":"\xA4","deg":"\xB0","divide":"\xF7","eacute":"\xE9","ecirc":"\xEA","egrave":"\xE8","eth":"\xF0","euml":"\xEB","frac12":"\xBD","frac14":"\xBC","frac34":"\xBE","gt":">","iacute":"\xED","icirc":"\xEE","iexcl":"\xA1","igrave":"\xEC","iquest":"\xBF","iuml":"\xEF","laquo":"\xAB","lt":"<","macr":"\xAF","micro":"\xB5","middot":"\xB7","nbsp":"\xA0","not":"\xAC","ntilde":"\xF1","oacute":"\xF3","ocirc":"\xF4","ograve":"\xF2","ordf":"\xAA","ordm":"\xBA","oslash":"\xF8","otilde":"\xF5","ouml":"\xF6","para":"\xB6","plusmn":"\xB1","pound":"\xA3","quot":"\\"","raquo":"\xBB","reg":"\xAE","sect":"\xA7","shy":"\xAD","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","szlig":"\xDF","thorn":"\xFE","times":"\xD7","uacute":"\xFA","ucirc":"\xFB","ugrave":"\xF9","uml":"\xA8","uuml":"\xFC","yacute":"\xFD","yen":"\xA5","yuml":"\xFF"}')},80501:function(Ce){"use strict";Ce.exports=JSON.parse('{"0":"\uFFFD","128":"\u20AC","130":"\u201A","131":"\u0192","132":"\u201E","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02C6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017D","145":"\u2018","146":"\u2019","147":"\u201C","148":"\u201D","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02DC","153":"\u2122","154":"\u0161","155":"\u203A","156":"\u0153","158":"\u017E","159":"\u0178"}')}}]); }()); \ No newline at end of file diff --git a/p__User__Detail__Certificate__index.dc8d58eb.async.js b/p__User__Detail__Certificate__index.07d0c636.async.js similarity index 99% rename from p__User__Detail__Certificate__index.dc8d58eb.async.js rename to p__User__Detail__Certificate__index.07d0c636.async.js index 335bbdcf1e..cbdf093699 100644 --- a/p__User__Detail__Certificate__index.dc8d58eb.async.js +++ b/p__User__Detail__Certificate__index.07d0c636.async.js @@ -203,7 +203,7 @@ T* `):m.join(` Tj `),n}},Cross:{createAppearanceStream:function(e){var n={D:{Off:Kr.RadioButton.Cross.OffPushDown},N:{}};return n.N[e]=Kr.RadioButton.Cross.YesNormal,n.D[e]=Kr.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(e){var n=ic(e);n.scope=e.scope;var t=[],r=Kr.internal.calculateCross(e);return t.push("q"),t.push("1 1 "+Ma(Kr.internal.getWidth(e)-2)+" "+Ma(Kr.internal.getHeight(e)-2)+" re"),t.push("W"),t.push("n"),t.push(Ma(r.x1.x)+" "+Ma(r.x1.y)+" m"),t.push(Ma(r.x2.x)+" "+Ma(r.x2.y)+" l"),t.push(Ma(r.x4.x)+" "+Ma(r.x4.y)+" m"),t.push(Ma(r.x3.x)+" "+Ma(r.x3.y)+" l"),t.push("s"),t.push("Q"),n.stream=t.join(` `),n},YesPushDown:function(e){var n=ic(e);n.scope=e.scope;var t=Kr.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+Ma(Kr.internal.getWidth(e))+" "+Ma(Kr.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Ma(Kr.internal.getWidth(e)-2)+" "+Ma(Kr.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(Ma(t.x1.x)+" "+Ma(t.x1.y)+" m"),r.push(Ma(t.x2.x)+" "+Ma(t.x2.y)+" l"),r.push(Ma(t.x4.x)+" "+Ma(t.x4.y)+" m"),r.push(Ma(t.x3.x)+" "+Ma(t.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join(` `),n},OffPushDown:function(e){var n=ic(e);n.scope=e.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+Ma(Kr.internal.getWidth(e))+" "+Ma(Kr.internal.getHeight(e))+" re"),t.push("f"),n.stream=t.join(` -`),n}}},createDefaultAppearanceStream:function(e){var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,t=e.scope.__private__.encodeColorString(e.color);return"/"+n+" "+e.fontSize+" Tf "+t}};Kr.internal={Bezier_C:.551915024494,calculateCross:function(e){var n=Kr.internal.getWidth(e),t=Kr.internal.getHeight(e),r=Math.min(n,t);return{x1:{x:(n-r)/2,y:(t-r)/2+r},x2:{x:(n-r)/2+r,y:(t-r)/2},x3:{x:(n-r)/2,y:(t-r)/2},x4:{x:(n-r)/2+r,y:(t-r)/2+r}}}},Kr.internal.getWidth=function(e){var n=0;return(0,a.Z)(e)==="object"&&(n=z0(e.Rect[2])),n},Kr.internal.getHeight=function(e){var n=0;return(0,a.Z)(e)==="object"&&(n=z0(e.Rect[3])),n};var wl=$A.addField=function(e){if(Je(this,e),!(e instanceof pr))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=e).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};$A.AcroFormChoiceField=Wr,$A.AcroFormListBox=Ua,$A.AcroFormComboBox=Uo,$A.AcroFormEditBox=Oo,$A.AcroFormButton=va,$A.AcroFormPushButton=Ta,$A.AcroFormRadioButton=Aa,$A.AcroFormCheckBox=di,$A.AcroFormTextField=Va,$A.AcroFormPasswordField=pa,$A.AcroFormAppearance=Kr,$A.AcroForm={ChoiceField:Wr,ListBox:Ua,ComboBox:Uo,EditBox:Oo,Button:va,PushButton:Ta,RadioButton:Aa,CheckBox:di,TextField:Va,PasswordField:pa,Appearance:Kr},_o.AcroForm={ChoiceField:Wr,ListBox:Ua,ComboBox:Uo,EditBox:Oo,Button:va,PushButton:Ta,RadioButton:Aa,CheckBox:di,TextField:Va,PasswordField:pa,Appearance:Kr};var Fl=_o.AcroForm;function sA(e){return e.reduce(function(n,t,r){return n[t]=r,n},{})}(function(e){var n="addImage_";e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},o=e.__addimage__.getImageFileTypeByImageData=function(Oe,ot){var Tt,Dt,Sn,Rn,jn,bn=t;if((ot=ot||t)==="RGBA"||Oe.data!==void 0&&Oe.data instanceof Uint8ClampedArray&&"height"in Oe&&"width"in Oe)return"RGBA";if(Xn(Oe))for(jn in r)for(Sn=r[jn],Tt=0;Tt>"}),"transparency"in ot&&Array.isArray(ot.transparency)&&ot.transparency.length>0){for(var jn="",bn=0,Zn=ot.transparency.length;bn>",Xe.content=A;var Pt=Xe.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length>=3};var S=e.__arabicParser__.arabicLetterHasMedialForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length==4},V=e.__arabicParser__.resolveLigatures=function(Xe){var rt=0,Le=t,jt="",Pt=0;for(rt=0;rt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(g){o=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(_o.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var p=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return p},set:function(Xe){p=Xe}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(Xe){y=Xe}});var S=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return S},set:function(Xe){S=Xe}});var V=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return V},set:function(Xe){V=Xe}});var ge=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return ge},set:function(Xe){ge=Xe}});var E=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return E},set:function(Xe){E=Xe}});var nt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return nt},set:function(Xe){nt=Xe}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(p){return r.call(this),this.internal.__cell__.headerFunction=typeof p=="function"?p:void 0,this},e.getTextDimensions=function(p,y){r.call(this);var S=(y=y||{}).fontSize||this.getFontSize(),V=y.font||this.getFont(),ge=y.scaleFactor||this.internal.scaleFactor,E=0,nt=0,Xe=0,rt=this;if(!Array.isArray(p)&&typeof p!="string"){if(typeof p!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");p=String(p)}var Le=y.maxWidth;Le>0?typeof p=="string"?p=this.splitTextToSize(p,Le):Object.prototype.toString.call(p)==="[object Array]"&&(p=p.reduce(function(Pt,mt){return Pt.concat(rt.splitTextToSize(mt,Le))},[])):p=Array.isArray(p)?p:[p];for(var jt=0;jtthis.getPageHeight()?(this.cellAddPage(),p.y=V.top,E&&ge&&(this.printHeaderRow(p.lineNumber,!0),p.y+=ge[0].height)):p.y=y.y+y.height||p.y),p.text[0]!==void 0&&(this.rect(p.x,p.y,p.width,p.height,t===!0?"FD":void 0),p.align==="right"?this.text(p.text,p.x+p.width-S,p.y+S,{align:"right",baseline:"top"}):p.align==="center"?this.text(p.text,p.x+p.width/2,p.y+S,{align:"center",baseline:"top",maxWidth:p.width-S-S}):this.text(p.text,p.x+S,p.y+S,{align:"left",baseline:"top",maxWidth:p.width-S-S})),this.internal.__cell__.lastCell=p,this};e.table=function(p,y,S,V,ge){if(r.call(this),!S)throw new Error("No data for PDF table.");var E,nt,Xe,rt,Le=[],jt=[],Pt=[],mt={},Cn={},Xn=[],Mn=[],$t=(ge=ge||{}).autoSize||!1,yt=ge.printHeaders!==!1,un=ge.css&&ge.css["font-size"]!==void 0?16*ge.css["font-size"]:ge.fontSize||12,Oe=ge.margins||Object.assign({width:this.getPageWidth()},n),ot=typeof ge.padding=="number"?ge.padding:3,Tt=ge.headerBackgroundColor||"#c8c8c8",Dt=ge.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=yt,this.internal.__cell__.margins=Oe,this.internal.__cell__.table_font_size=un,this.internal.__cell__.padding=ot,this.internal.__cell__.headerBackgroundColor=Tt,this.internal.__cell__.headerTextColor=Dt,this.setFontSize(un),V==null)jt=Le=Object.keys(S[0]),Pt=Le.map(function(){return"left"});else if(Array.isArray(V)&&(0,a.Z)(V[0])==="object")for(Le=V.map(function(jr){return jr.name}),jt=V.map(function(jr){return jr.prompt||jr.name||""}),Pt=V.map(function(jr){return jr.align||"left"}),E=0;E0&&this.setTableHeaderRow(ge),this.setFont(void 0,"normal"),t=!1}}(_o.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Pc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Js=sA(Pc),rl=[100,200,300,400,500,600,700,800,900],Ru=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),o=function(A){return typeof Js[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function Rc(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Kv(e,n,t){var r=e.length,o=[];o[0]=4;for(var A=0;A>A&v}function Zv(e,n,t,r){var o=t*r,A=Math.floor(o/8),v=16-(o-8*A+r),g=(1<>8&255;y.setUint8(S,ge)}})(e,A,zv(e,A)&~(g<>7,v=1<<1+(7&o);e[n++],e[n++];var g=null,p=null;A&&(g=n,p=v,n+=3*v);var y=!0,S=[],V=0,ge=null,E=0,nt=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Oe===0)break;n+=Oe}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var Xe=e[n++];V=e[n++]|e[n++]<<8,ge=e[n++],1&Xe||(ge=null),E=Xe>>2&7,n++;break;case 254:for(;;){if(!((Oe=e[n++])>=0))throw Error("Invalid block size");if(Oe===0)break;n+=Oe}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var rt=e[n++]|e[n++]<<8,Le=e[n++]|e[n++]<<8,jt=e[n++]|e[n++]<<8,Pt=e[n++]|e[n++]<<8,mt=e[n++],Cn=mt>>6&1,Xn=1<<1+(7&mt),Mn=g,$t=p,yt=!1;mt>>7&&(yt=!0,Mn=n,$t=Xn,n+=3*Xn);var un=n;for(n++;;){var Oe;if(!((Oe=e[n++])>=0))throw Error("Invalid block size");if(Oe===0)break;n+=Oe}S.push({x:rt,y:Le,width:jt,height:Pt,has_local_palette:yt,palette_offset:Mn,palette_size:$t,data_offset:un,data_length:n-un,transparent_index:ge,interlaced:!!Cn,delay:V,disposal:E});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return S.length},this.loopCount=function(){return nt},this.frameInfo=function(ot){if(ot<0||ot>=S.length)throw new Error("Frame index out of range.");return S[ot]},this.decodeAndBlitFrameBGRA=function(ot,Tt){var Dt=this.frameInfo(ot),Sn=Dt.width*Dt.height,Rn=new Uint8Array(Sn);_v(e,Dt.data_offset,Rn,Sn);var jn=Dt.palette_offset,bn=Dt.transparent_index;bn===null&&(bn=256);var Zn=Dt.width,jr=t-Zn,lr=Zn,Se=4*(Dt.y*t+Dt.x),vt=4*((Dt.y+Dt.height)*t+Dt.x),Ft=Se,Kt=4*jr;Dt.interlaced===!0&&(Kt+=4*t*7);for(var en=8,mn=0,Tn=Rn.length;mn=vt&&(Kt=4*jr+4*t*(en-1),Ft=Se+(Zn+jr)*(en<<1),en>>=1)),Hn===bn)Ft+=4;else{var tr=e[jn+3*Hn],Lr=e[jn+3*Hn+1],po=e[jn+3*Hn+2];Tt[Ft++]=po,Tt[Ft++]=Lr,Tt[Ft++]=tr,Tt[Ft++]=255}--lr}},this.decodeAndBlitFrameRGBA=function(ot,Tt){var Dt=this.frameInfo(ot),Sn=Dt.width*Dt.height,Rn=new Uint8Array(Sn);_v(e,Dt.data_offset,Rn,Sn);var jn=Dt.palette_offset,bn=Dt.transparent_index;bn===null&&(bn=256);var Zn=Dt.width,jr=t-Zn,lr=Zn,Se=4*(Dt.y*t+Dt.x),vt=4*((Dt.y+Dt.height)*t+Dt.x),Ft=Se,Kt=4*jr;Dt.interlaced===!0&&(Kt+=4*t*7);for(var en=8,mn=0,Tn=Rn.length;mn=vt&&(Kt=4*jr+4*t*(en-1),Ft=Se+(Zn+jr)*(en<<1),en>>=1)),Hn===bn)Ft+=4;else{var tr=e[jn+3*Hn],Lr=e[jn+3*Hn+1],po=e[jn+3*Hn+2];Tt[Ft++]=tr,Tt[Ft++]=Lr,Tt[Ft++]=po,Tt[Ft++]=255}--lr}}}function _v(e,n,t,r){for(var o=e[n++],A=1<>=p,S-=p,rt!==A){if(rt===v)break;for(var Le=rtA;)Pt=nt[Pt]>>8,++jt;var mt=Pt;if(ge+jt+(Le!==rt?1:0)>r)return void wA.log("Warning, gif stream longer than expected.");t[ge++]=mt;var Cn=ge+=jt;for(Le!==rt&&(t[ge++]=mt),Pt=Le;jt--;)Pt=nt[Pt],t[--Cn]=255&Pt,Pt>>=8;Xe!==null&&g<4096&&(nt[g++]=Xe<<8|mt,g>=y+1&&p<12&&(++p,y=y<<1|1)),Xe=rt}else g=v+1,y=(1<<(p=o+1))-1,Xe=null}return ge!==r&&wA.log("Warning, gif stream shorter than expected."),t}function Vg(e){var n,t,r,o,A,v=Math.floor,g=new Array(64),p=new Array(64),y=new Array(64),S=new Array(64),V=new Array(65535),ge=new Array(65535),E=new Array(64),nt=new Array(64),Xe=[],rt=0,Le=7,jt=new Array(64),Pt=new Array(64),mt=new Array(64),Cn=new Array(256),Xn=new Array(2048),Mn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],$t=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],yt=[0,1,2,3,4,5,6,7,8,9,10,11],un=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Oe=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ot=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Tt=[0,1,2,3,4,5,6,7,8,9,10,11],Dt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Sn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Rn(Se,vt){for(var Ft=0,Kt=0,en=new Array,mn=1;mn<=16;mn++){for(var Tn=1;Tn<=Se[mn];Tn++)en[vt[Kt]]=[],en[vt[Kt]][0]=Ft,en[vt[Kt]][1]=mn,Kt++,Ft++;Ft*=2}return en}function jn(Se){for(var vt=Se[0],Ft=Se[1]-1;Ft>=0;)vt&1<>8&255),bn(255&Se)}function jr(Se,vt,Ft,Kt,en){for(var mn,Tn=en[0],Hn=en[240],tr=function(mr,xa){var jo,ma,ua,dA,Li,Ga,Ti,Ni,Xo,ni,na=0;for(Xo=0;Xo<8;++Xo){jo=mr[na],ma=mr[na+1],ua=mr[na+2],dA=mr[na+3],Li=mr[na+4],Ga=mr[na+5],Ti=mr[na+6];var Cs=jo+(Ni=mr[na+7]),$i=jo-Ni,mi=ma+Ti,yi=ma-Ti,XA=ua+Ga,ha=ua-Ga,RA=dA+Li,La=dA-Li,$a=Cs+RA,YA=Cs-RA,xi=mi+XA,Sa=mi-XA;mr[na]=$a+xi,mr[na+4]=$a-xi;var fA=.707106781*(Sa+YA);mr[na+2]=YA+fA,mr[na+6]=YA-fA;var of=.382683433*(($a=La+ha)-(Sa=yi+$i)),Bl=.5411961*$a+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Ia=$i+du,Tu=$i-du;mr[na+5]=Tu+Bl,mr[na+3]=Tu-Bl,mr[na+1]=Ia+Mu,mr[na+7]=Ia-Mu,na+=8}for(na=0,Xo=0;Xo<8;++Xo){jo=mr[na],ma=mr[na+8],ua=mr[na+16],dA=mr[na+24],Li=mr[na+32],Ga=mr[na+40],Ti=mr[na+48];var ju=jo+(Ni=mr[na+56]),sc=jo-Ni,lc=ma+Ti,us=ma-Ti,qs=ua+Ga,ol=ua-Ga,af=dA+Li,bd=dA-Li,jc=ju+af,fu=ju-af,Hc=lc+qs,Kc=lc-qs;mr[na]=jc+Hc,mr[na+32]=jc-Hc;var cc=.707106781*(Kc+fu);mr[na+16]=fu+cc,mr[na+48]=fu-cc;var Af=.382683433*((jc=bd+ol)-(Kc=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*Kc+Af,kf=.707106781*(Hc=ol+us),Wf=sc+kf,Vf=sc-kf;mr[na+40]=Vf+hu,mr[na+24]=Vf-hu,mr[na+8]=Wf+sf,mr[na+56]=Wf-sf,na++}for(Xo=0;Xo<64;++Xo)ni=mr[Xo]*xa[Xo],E[Xo]=ni>0?ni+.5|0:ni-.5|0;return E}(Se,vt),Lr=0;Lr<64;++Lr)nt[Mn[Lr]]=tr[Lr];var po=nt[0]-Ft;Ft=nt[0],po==0?jn(Kt[0]):(jn(Kt[ge[mn=32767+po]]),jn(V[mn]));for(var ho=63;ho>0&&nt[ho]==0;)ho--;if(ho==0)return jn(Tn),Ft;for(var sa,at=1;at<=ho;){for(var mo=at;nt[at]==0&&at<=ho;)++at;var fi=at-mo;if(fi>=16){sa=fi>>4;for(var Ca=1;Ca<=sa;++Ca)jn(Hn);fi&=15}mn=32767+nt[at],jn(en[(fi<<4)+ge[mn]]),jn(V[mn]),at++}return ho!=63&&jn(Tn),Ft}function lr(Se){Se=Math.min(Math.max(Se,1),100),A!=Se&&(function(vt){for(var Ft=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Kt=0;Kt<64;Kt++){var en=v((Ft[Kt]*vt+50)/100);en=Math.min(Math.max(en,1),255),g[Mn[Kt]]=en}for(var mn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Tn=0;Tn<64;Tn++){var Hn=v((mn[Tn]*vt+50)/100);Hn=Math.min(Math.max(Hn,1),255),p[Mn[Tn]]=Hn}for(var tr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,po=0;po<8;po++)for(var ho=0;ho<8;ho++)y[Lr]=1/(g[Mn[Lr]]*tr[po]*tr[ho]*8),S[Lr]=1/(p[Mn[Lr]]*tr[po]*tr[ho]*8),Lr++}(Se<50?Math.floor(5e3/Se):Math.floor(200-2*Se)),A=Se)}this.encode=function(Se,vt){vt&&lr(vt),Xe=new Array,rt=0,Le=7,Zn(65496),Zn(65504),Zn(16),bn(74),bn(70),bn(73),bn(70),bn(0),bn(1),bn(1),bn(0),Zn(1),Zn(1),bn(0),bn(0),function(){Zn(65499),Zn(132),bn(0);for(var ma=0;ma<64;ma++)bn(g[ma]);bn(1);for(var ua=0;ua<64;ua++)bn(p[ua])}(),function(ma,ua){Zn(65472),Zn(17),bn(8),Zn(ua),Zn(ma),bn(3),bn(1),bn(17),bn(0),bn(2),bn(17),bn(1),bn(3),bn(17),bn(1)}(Se.width,Se.height),function(){Zn(65476),Zn(418),bn(0);for(var ma=0;ma<16;ma++)bn($t[ma+1]);for(var ua=0;ua<=11;ua++)bn(yt[ua]);bn(16);for(var dA=0;dA<16;dA++)bn(un[dA+1]);for(var Li=0;Li<=161;Li++)bn(Oe[Li]);bn(1);for(var Ga=0;Ga<16;Ga++)bn(ot[Ga+1]);for(var Ti=0;Ti<=11;Ti++)bn(Tt[Ti]);bn(17);for(var Ni=0;Ni<16;Ni++)bn(Dt[Ni+1]);for(var Xo=0;Xo<=161;Xo++)bn(Sn[Xo])}(),Zn(65498),Zn(12),bn(3),bn(1),bn(0),bn(2),bn(17),bn(3),bn(17),bn(0),bn(63),bn(0);var Ft=0,Kt=0,en=0;rt=0,Le=7,this.encode.displayName="_encode_";for(var mn,Tn,Hn,tr,Lr,po,ho,sa,at,mo=Se.data,fi=Se.width,Ca=Se.height,mr=4*fi,xa=0;xa>3)*mr+(ho=4*(7&at)),xa+sa>=Ca&&(po-=mr*(xa+1+sa-Ca)),mn+ho>=mr&&(po-=mn+ho-mr+4),Tn=mo[po++],Hn=mo[po++],tr=mo[po++],jt[at]=(Xn[Tn]+Xn[Hn+256|0]+Xn[tr+512|0]>>16)-128,Pt[at]=(Xn[Tn+768|0]+Xn[Hn+1024|0]+Xn[tr+1280|0]>>16)-128,mt[at]=(Xn[Tn+1280|0]+Xn[Hn+1536|0]+Xn[tr+1792|0]>>16)-128;Ft=jr(jt,y,Ft,n,r),Kt=jr(Pt,S,Kt,t,o),en=jr(mt,S,en,t,o),mn+=32}xa+=8}if(Le>=0){var jo=[];jo[1]=Le+1,jo[0]=(1<ot;ot++)if(yt[un+ot]!=Oe.charCodeAt(ot))return!0;return!1}function r(yt,un,Oe,ot,Tt){for(var Dt=0;DtDt+1?[]:new un),!(Sn.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Oe(s,h,B,P,te){n(!(P%B));do s[h+(P-=B)]=te;while(0=te),512>=te)var pe=A(512);else if((pe=A(te))==null)return 0;return function(Ee,je,Ge,st,Vt,wn){var lt,Jt,fn=je,Gn=1<lt;++lt){if(yn[lt]>1<(si-=yn[lt]))return 0;for(;0=lt;++lt,Vt<<=1){if(Mo+=si<<=1,0>(si-=yn[lt]))return 0;for(;0Sr&&!(0>=(qn-=yn[Sr]));)++Sr,qn<<=1;Gn+=ko=1<<(qn=Sr-Ge),Ee[je+(Sr=ea&dr)].g=qn+Ge,Ee[je+Sr].value=fn-je-Sr}st.g=lt-Ge,st.value=wn[Jt++],Oe(Ee,fn+(ea>>Ge),Vt,ko,st),ea=un(ea,lt)}}return Mo!=2*Yn[15]-1?0:Gn}(s,h,B,P,te,pe)}function Tt(){this.value=this.g=0}function Dt(){this.value=this.g=0}function Sn(){this.G=v(5,Tt),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Dt)}function Rn(s,h,B,P){n(s!=null),n(h!=null),n(2147483648>P),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+P,s.Zc=4<=P?B+P-4+1:B,Tn(s)}function jn(s,h){for(var B=0;0P),s.Sb=P,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;Kt(s)&&(s.h=1,s.u=0)}function lr(s,h){if(n(0<=h),!s.h&&h<=Vl){var B=Ft(s)&Wl[h];return s.u+=h,jr(s),B}return s.h=1,s.u=0}function Se(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function vt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ft(s){return s.Ra>>>(s.u&xd-1)>>>0}function Kt(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function en(s,h){s.u=h,s.h=Kt(s)}function mn(s){s.u>=Xu&&(n(s.u>=Xu),jr(s))}function Tn(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&Tn(s);var P=s.b,te=B*h>>>8,pe=(s.I>>>P>te)+0;for(pe?(B-=te,s.I-=te+1<

        >>0):B=te+1,P=B,te=0;256<=P;)te+=8,P>>=8;return P=7^te+Ed[P],s.b-=P,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function po(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return po(s,h)|s[h+2]<<16}function sa(s,h){return po(s,h)|po(s,h+2)<<16}function at(s,h){var B=1<=te||0>=pe?0:(B[0]=te,P[0]=pe,1)}function mr(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){yt[h]=function(B,P,te,pe,Ee,je,Ge){var st;for(st=0;st>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Ga(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,P,te,pe,Ee){for(P=pe[Ee-1],B=0;B>8&255,Ge=16711935&(Ge=(Ge=16711935&Ee)+((je<<16)+je));P[te+pe]=(4278255360&Ee)+Ge>>>0}}function Xo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,P,te,pe){var Ee;for(Ee=0;Ee>>8,st=je,Vt=255&(Vt=(Vt=je>>>16)+((s.jd<<24>>24)*(Ge<<24>>24)>>>5));st=255&(st=(st+=(s.hd<<24>>24)*(Ge<<24>>24)>>>5)+((s.ud<<24>>24)*(Vt<<24>>24)>>>5)),te[pe+Ee]=(4278255360&je)+(Vt<<16)+st}}function na(s,h,B,P,te){yt[h]=function(pe,Ee,je,Ge,st,Vt,wn,lt,Jt){for(Ge=wn;Ge>pe.b,Jt=pe.Ea,fn=pe.K[0],Gn=pe.w;if(8>lt)for(pe=(1<>=lt}else yt["VP8LMapColor"+B](Ge,st,fn,Gn,Vt,wn,Ee,je,Jt)}}function Cs(s,h,B,P,te){for(B=h+B;h>16&255,P[te++]=pe>>8&255,P[te++]=255&pe}}function $i(s,h,B,P,te){for(B=h+B;h>16&255,P[te++]=pe>>8&255,P[te++]=255&pe,P[te++]=pe>>24&255}}function mi(s,h,B,P,te){for(B=h+B;h>16&240|Ee>>12&15,Ee=240&Ee|Ee>>28&15;P[te++]=pe,P[te++]=Ee}}function yi(s,h,B,P,te){for(B=h+B;h>16&248|Ee>>13&7,Ee=Ee>>5&224|Ee>>3&31;P[te++]=pe,P[te++]=Ee}}function XA(s,h,B,P,te){for(B=h+B;h>8&255,P[te++]=pe>>16&255}}function ha(s,h,B,P,te,pe){if(pe==0)for(B=h+B;h>24|pe[1]>>8&65280|pe[2]<<8&16711680|pe[3]<<24)>>>0),te+=32;else r(P,te,s,h,B)}function RA(s,h){yt[h][0]=yt[s+"0"],yt[h][1]=yt[s+"1"],yt[h][2]=yt[s+"2"],yt[h][3]=yt[s+"3"],yt[h][4]=yt[s+"4"],yt[h][5]=yt[s+"5"],yt[h][6]=yt[s+"6"],yt[h][7]=yt[s+"7"],yt[h][8]=yt[s+"8"],yt[h][9]=yt[s+"9"],yt[h][10]=yt[s+"10"],yt[h][11]=yt[s+"11"],yt[h][12]=yt[s+"12"],yt[h][13]=yt[s+"13"],yt[h][14]=yt[s+"0"],yt[h][15]=yt[s+"0"]}function La(s){return s==dv||s==fv||s==vg||s==hv}function $a(){this.eb=[],this.size=this.A=this.fb=0}function YA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new $a,this.f.kb=new YA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Bl(s,h){var B=s.T,P=h.ba.f.RGBA,te=P.eb,pe=P.fb+s.ka*P.A,Ee=vc[h.ba.S],je=s.y,Ge=s.O,st=s.f,Vt=s.N,wn=s.ea,lt=s.W,Jt=h.cc,fn=h.dc,Gn=h.Mc,yn=h.Nc,Yn=s.ka,qn=s.ka+s.T,Sr=s.U,dr=Sr+1>>1;for(Yn==0?Ee(je,Ge,null,null,st,Vt,wn,lt,st,Vt,wn,lt,te,pe,null,null,Sr):(Ee(h.ec,h.fc,je,Ge,Jt,fn,Gn,yn,st,Vt,wn,lt,te,pe-P.A,te,pe,Sr),++B);Yn+2B,te=B==fg||B==hg||B==gg||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!e0(h.Oa,s,te?11:12))return 0;if(te&&La(B)&&Yh(),s.da)alert("todo:use_scaling");else{if(P){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Bl,Yh()}}else alert("todo:EmitYUV");te&&(h.Jb=Mu,P&&zc())}if(P&&!yp){for(s=0;256>s;++s)pm[s]=89858*(s-128)+mg>>pg,bm[s]=-22014*(s-128)+mg,ym[s]=-45773*(s-128),mm[s]=113618*(s-128)+mg>>pg;for(s=c0;s>pg,wm[s-c0]=gu(h,255),Bm[s-c0]=gu(h+8>>4,15);yp=1}return 1}function Ia(s){var h=s.ma,B=s.U,P=s.T;return n(!(1&s.ka)),0>=B||0>=P?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,P){return lr(s,8)!=47?0:(h[0]=lr(s,14)+1,B[0]=lr(s,14)+1,P[0]=lr(s,1),lr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var P=Ft(B),te=s[h+=255&P].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var P=s.xc;return n((h=P==0?0:s.vc[s.md*(B>>P)+(h>>P)])>ko.b)*Mo;GnSr&&(Wo=Sr),(0,o0[ji[Zs++]>>8&15])(lt,Jt+ +li,Yn,qn+li-Sr,Wo-li,Yn,qn+li),li=Wo}Jt+=Sr,qn+=Sr,++Gn&ea||(ko+=Mo)}wn!=st.nc&&r(Ge,je-fn,Ge,je+(wn-Vt-1)*fn,fn);break;case 1:for(fn=lt,yn=Jt,Sr=(lt=st.Ea)-(qn=lt&~(Yn=(Jt=1<>st.b)*Gn;Vt=te),0pe.o&&(P=pe.o),B=P?B=0:(te[0]+=4*pe.v,pe.ka=B-pe.j,pe.U=pe.va-pe.v,pe.T=P-B,B=1),B){if(je=je[0],11>(B=s.ca).S){var Vt=B.f.RGBA,wn=(P=B.S,te=pe.U,pe=pe.T,st=Vt.eb,Vt.A),lt=pe;for(Vt=Vt.fb+s.Ma*Vt.A;0P){var te=s.l.width,pe=B.ca,Ee=B.tb+te*P,je=s.V,Ge=s.Ba+s.c*P,st=s.gc;n(s.ab==1),n(st[0].hc==3),yu(st[0],P,h,je,Ge,pe,Ee),fu(B,P,h,pe,Ee,te)}s.C=s.Ma=h}function Kc(s,h,B,P,te,pe,Ee){var je=s.$/P,Ge=s.$%P,st=s.m,Vt=s.s,wn=B+s.$,lt=wn;te=B+P*te;var Jt=B+P*pe,fn=280+Vt.ua,Gn=s.Pb?je:16777216,yn=0=Gn){var ea=wn-B;n((Gn=s).Pb),Gn.wd=Gn.m,Gn.xd=ea,0si.g?(en(dr,dr.u+si.g),ea[Mo]=si.value,dr=0):(en(dr,dr.u+si.g-256),n(256<=si.value),dr=si.value),dr==0&&(Sr=!0)}else dr=us(qn.G[0],qn.H[0],st);if(st.h)break;if(Sr||256>dr){if(!Sr)if(qn.nd)h[wn]=(qn.qb|dr<<8)>>>0;else{if(mn(st),Sr=us(qn.G[1],qn.H[1],st),mn(st),ea=us(qn.G[2],qn.H[2],st),Mo=us(qn.G[3],qn.H[3],st),st.h)break;h[wn]=(Mo<<24|Sr<<16|dr<<8|ea)>>>0}if(Sr=!1,++wn,++Ge>=P&&(Ge=0,++je,Ee!=null&&je<=pe&&!(je%16)&&Ee(s,je),yn!=null))for(;lt>>yn.Mb]=dr}else if(280>dr){if(dr=sc(dr-256,st),ea=us(qn.G[4],qn.H[4],st),mn(st),ea=lc(P,ea=sc(ea,st)),st.h)break;if(wn-B=P;)Ge-=P,++je,Ee!=null&&je<=pe&&!(je%16)&&Ee(s,je);if(n(wn<=te),Ge&Yn&&(qn=ol(Vt,Ge,je)),yn!=null)for(;lt>>yn.Mb]=dr}else{if(!(dr>>yn.Mb]=dr;dr=wn,n(!(Sr>>>(ea=yn).Xa)),h[dr]=ea.X[Sr],Sr=!0}Sr||n(st.h==Kt(st))}if(s.Pb&&st.h&&wnpe?pe:je),s.a=0,s.$=wn-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fp,RA("Predictor","VP8LPredictors"),RA("Predictor","VP8LPredictors_C"),RA("PredictorAdd","VP8LPredictorsAdd"),RA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,a0=ni,i0=Cs,Sd=$i,Id=mi,Fd=yi,bf=XA,yt.VP8LMapColor32b=mu,yt.VP8LMapColor8b=r0,s)}function hu(s,h,B,P,te){var pe=1,Ee=[s],je=[h],Ge=P.m,st=P.s,Vt=null,wn=0;e:for(;;){if(B)for(;pe&&lr(Ge,1);){var lt=Ee,Jt=je,fn=P,Gn=1,yn=fn.m,Yn=fn.gc[fn.ab],qn=lr(yn,2);if(fn.Oc&1<=fn.ab),qn){case 0:case 1:Yn.b=lr(yn,3)+2,Gn=hu(mr(Yn.Ea,Yn.b),mr(Yn.nc,Yn.b),0,fn,Yn.K),Yn.K=Yn.K[0];break;case 3:var Sr,dr=lr(yn,8)+1,ea=16>ko.b),Zs=A(ji);if(Zs==null)Sr=0;else{var li=ko.K[0],Wo=ko.w;for(Zs[0]=ko.K[0][0],Mo=1;Mo<1*si;++Mo)Zs[Mo]=xa(li[Wo+Mo],Zs[Mo-1]);for(;Mo<4*ji;++Mo)Zs[Mo]=0;ko.K[0]=null,ko.K[0]=Zs,Sr=1}}Gn=Sr;break;case 2:break;default:n(0)}pe=Gn}}if(Ee=Ee[0],je=je[0],pe&&lr(Ge,1)&&!(pe=1<=(wn=lr(Ge,4))&&11>=wn)){P.a=3;break e}var Ao;if(Ao=pe)t:{var Ss,Xa,_i,_A=P,Al=Ee,Ul=je,ds=wn,Cl=B,Ll=_A.m,zs=_A.s,Yi=[null],BA=1,fs=0,CA=om[ds];n:for(;;){if(Cl&&lr(Ll,1)){var sl=lr(Ll,3)+2,kc=mr(Al,sl),Is=mr(Ul,sl),jl=kc*Is;if(!hu(kc,Is,0,_A,Yi))break n;for(Yi=Yi[0],zs.xc=sl,Ss=0;Ss>8&65535;Yi[Ss]=UA,UA>=BA&&(BA=UA+1)}}if(Ll.h)break n;for(Xa=0;5>Xa;++Xa){var _s=up[Xa];!Xa&&0=Nl),Yl=Xl;var Hl=A(fs);if(Yl==null||Hl==null||$l==null){_A.a=1;break n}var Jl=$l;for(Ss=_i=0;SsXa;++Xa){_s=up[Xa],ql[Xa]=Jl,Wc[Xa]=_i,!Xa&&0xg)break r}else bv=xg;for(d0=0;d0rh)Sp[d0++]=rh,rh!=0&&(Ip=rh);else{var Nm=rh==16,Up=rh-16,Qm=em[Up],Lp=lr(Qd,qp[Up])+Qm;if(d0+Lp>xg)break r;for(var Pm=Nm?Ip:0;0=Xa){var f0,Bv=Hl[0];for(f0=1;f0<_s;++f0)Hl[f0]>Bv&&(Bv=Hl[f0]);ll+=Bv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][Wc[3]+0].value<<24|ql[1][Wc[1]+0].value<<16|ql[2][Wc[2]+0].value)>>>0,Bf==0&&256>ql[0][Wc[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][Wc[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var Eg,ed=MA;for(Eg=0;Eg>=qs(Sg,8,Rd),Pd>>=qs(ed.G[1][ed.H[1]+Pd],16,Rd),Pd>>=qs(ed.G[2][ed.H[2]+Pd],0,Rd),qs(ed.G[3][ed.H[3]+Pd],24,Rd))}}}zs.vc=Yi,zs.Wb=BA,zs.Ya=Yl,zs.yc=$l,Ao=1;break t}Ao=0}if(!(pe=Ao)){P.a=3;break e}if(0P+1?[]:0),!(te.lengths?0:s>h?h:s}function Gf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function $g(){var s=new X0;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,l0||(l0=$f)),s}function Qs(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function Y0(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Qs(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,P=h.w,te=h.ha;if(4>te)return Qs(s,7,"Truncated header.");var pe=B[P+0]|B[P+1]<<8|B[P+2]<<16,Ee=s.Od;if(Ee.Rb=!(1&pe),Ee.td=pe>>1&7,Ee.yd=pe>>4&1,Ee.ub=pe>>5,3te)return Qs(s,7,"cannot parse picture header");if(!Y0(B,P,te))return Qs(s,3,"Bad code word");je.c=16383&(B[P+4]<<8|B[P+3]),je.Td=B[P+4]>>6,je.i=16383&(B[P+6]<<8|B[P+5]),je.Ud=B[P+6]>>6,P+=7,te-=7,s.za=je.c+15>>4,s.Ub=je.i+15>>4,h.width=je.c,h.height=je.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,o((pe=s.Pa).jb,0,255,pe.jb.length),n((pe=s.Qa)!=null),pe.Cb=0,pe.Bb=0,pe.Fb=1,o(pe.Zb,0,0,pe.Zb.length),o(pe.Lb,0,0,pe.Lb)}if(Ee.ub>te)return Qs(s,7,"bad partition length");Rn(pe=s.m,B,P,Ee.ub),P+=Ee.ub,te-=Ee.ub,Ee.Rb&&(je.Ld=Hn(pe),je.Kd=Hn(pe)),je=s.Qa;var Ge,st=s.Pa;if(n(pe!=null),n(je!=null),je.Cb=Hn(pe),je.Cb){if(je.Bb=Hn(pe),Hn(pe)){for(je.Fb=Hn(pe),Ge=0;4>Ge;++Ge)je.Zb[Ge]=Hn(pe)?bn(pe,7):0;for(Ge=0;4>Ge;++Ge)je.Lb[Ge]=Hn(pe)?bn(pe,6):0}if(je.Bb)for(Ge=0;3>Ge;++Ge)st.jb[Ge]=Hn(pe)?jn(pe,8):255}else je.Bb=0;if(pe.Ka)return Qs(s,3,"cannot parse segment header");if((je=s.ed).zd=Hn(pe),je.Tb=jn(pe,6),je.wb=jn(pe,3),je.Pc=Hn(pe),je.Pc&&Hn(pe)){for(st=0;4>st;++st)Hn(pe)&&(je.vd[st]=bn(pe,6));for(st=0;4>st;++st)Hn(pe)&&(je.od[st]=bn(pe,6))}if(s.L=je.Tb==0?0:je.zd?1:2,pe.Ka)return Qs(s,3,"cannot parse filter header");var Vt=te;if(te=Ge=P,P=Ge+Vt,je=Vt,s.Xb=(1<je&&(wn=je),Rn(s.Jc[+Vt],B,Ge,wn),Ge+=wn,je-=wn,te+=3}Rn(s.Jc[+st],B,Ge,je),B=Gewn;++wn){if(Vt.Cb){var lt=Vt.Zb[wn];Vt.Fb||(lt+=B)}else{if(0>16,8>Jt.Eb[1]&&(Jt.Eb[1]=8),Jt.Qc[0]=gv[gu(lt+st,117)],Jt.Qc[1]=vv[gu(lt+Ge,127)],Jt.lc=lt+Ge}if(!Ee.Rb)return Qs(s,4,"Not a key frame.");for(Hn(pe),Ee=s.Pa,B=0;4>B;++B){for(te=0;8>te;++te)for(P=0;3>P;++P)for(je=0;11>je;++je)st=tr(pe,cm[B][te][P][je])?jn(pe,8):sm[B][te][P][je],Ee.Wc[B][te].Yb[P][je]=st;for(te=0;17>te;++te)Ee.Xc[B][te]=Ee.Wc[B][um[te]]}return s.kc=Hn(pe),s.kc&&(s.Bd=jn(pe,8)),s.cb=1}function $f(s,h,B,P,te,pe,Ee){var je=h[te].Yb[B];for(B=0;16>te;++te){if(!tr(s,je[B+0]))return te;for(;!tr(s,je[B+1]);)if(je=h[++te].Yb[0],B=0,te==16)return 16;var Ge=h[te+1].Yb;if(tr(s,je[B+2])){var st=s,Vt=0;if(tr(st,(lt=je)[(wn=B)+3]))if(tr(st,lt[wn+6])){for(je=0,wn=2*(Vt=tr(st,lt[wn+8]))+(lt=tr(st,lt[wn+9+Vt])),Vt=0,lt=im[wn];lt[je];++je)Vt+=Vt+tr(st,lt[je]);Vt+=3+(8<(st=s).b&&Tn(st);var wn,lt=st.b,Jt=(wn=st.Ca>>1)-(st.I>>lt)>>31;--st.b,st.Ca+=Jt,st.Ca|=1,st.I-=(wn+1&Jt)<>3),s[h+B+32*P]=-256&te?0>te?0:255:te}function js(s,h,B,P,te,pe){dc(s,h,0,B,P+te),dc(s,h,1,B,P+pe),dc(s,h,2,B,P-pe),dc(s,h,3,B,P-te)}function Hu(s){return(20091*s>>16)+s}function q0(s,h,B,P){var te,pe=0,Ee=A(16);for(te=0;4>te;++te){var je=s[h+0]+s[h+8],Ge=s[h+0]-s[h+8],st=(35468*s[h+4]>>16)-Hu(s[h+12]),Vt=Hu(s[h+4])+(35468*s[h+12]>>16);Ee[pe+0]=je+Vt,Ee[pe+1]=Ge+st,Ee[pe+2]=Ge-st,Ee[pe+3]=je-Vt,pe+=4,h++}for(te=pe=0;4>te;++te)je=(s=Ee[pe+0]+4)+Ee[pe+8],Ge=s-Ee[pe+8],st=(35468*Ee[pe+4]>>16)-Hu(Ee[pe+12]),dc(B,P,0,0,je+(Vt=Hu(Ee[pe+4])+(35468*Ee[pe+12]>>16))),dc(B,P,1,0,Ge+st),dc(B,P,2,0,Ge-st),dc(B,P,3,0,je-Vt),pe++,P+=32}function Xg(s,h,B,P){var te=s[h+0]+4,pe=35468*s[h+4]>>16,Ee=Hu(s[h+4]),je=35468*s[h+1]>>16;js(B,P,0,te+Ee,s=Hu(s[h+1]),je),js(B,P,1,te+pe,s,je),js(B,P,2,te-pe,s,je),js(B,P,3,te-Ee,s,je)}function Yg(s,h,B,P,te){q0(s,h,B,P),te&&q0(s,h+16,B,P+4)}function pu(s,h,B,P){wf(s,h+0,B,P,1),wf(s,h+32,B,P+128,1)}function eg(s,h,B,P){var te;for(s=s[h+0]+4,te=0;4>te;++te)for(h=0;4>h;++h)dc(B,P,h,te,s)}function tg(s,h,B,P){s[h+0]&&hA(s,h+0,B,P),s[h+16]&&hA(s,h+16,B,P+4),s[h+32]&&hA(s,h+32,B,P+128),s[h+48]&&hA(s,h+48,B,P+128+4)}function Xf(s,h,B,P){var te,pe=A(16);for(te=0;4>te;++te){var Ee=s[h+0+te]+s[h+12+te],je=s[h+4+te]+s[h+8+te],Ge=s[h+4+te]-s[h+8+te],st=s[h+0+te]-s[h+12+te];pe[0+te]=Ee+je,pe[8+te]=Ee-je,pe[4+te]=st+Ge,pe[12+te]=st-Ge}for(te=0;4>te;++te)Ee=(s=pe[0+4*te]+3)+pe[3+4*te],je=pe[1+4*te]+pe[2+4*te],Ge=pe[1+4*te]-pe[2+4*te],st=s-pe[3+4*te],B[P+0]=Ee+je>>3,B[P+16]=st+Ge>>3,B[P+32]=Ee-je>>3,B[P+48]=st-Ge>>3,P+=64}function lf(s,h,B){var P,te=h-32,pe=Gl,Ee=255-s[te-1];for(P=0;PB;++B)r(s,h+32*B,s,h-32,16)}function ng(s,h){var B;for(B=16;0P;++P)o(h,B+32*P,s,16)}function tv(s,h){var B,P=16;for(B=0;16>B;++B)P+=s[h-1+32*B]+s[h+B-32];Zc(P>>5,s,h)}function cf(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h-1+32*B];Zc(P>>4,s,h)}function _h(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h+B-32];Zc(P>>4,s,h)}function nv(s,h){Zc(128,s,h)}function Ka(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,P=h-32;for(P=new Uint8Array([Ka(s[P-1],s[P+0],s[P+1]),Ka(s[P+0],s[P+1],s[P+2]),Ka(s[P+1],s[P+2],s[P+3]),Ka(s[P+2],s[P+3],s[P+4])]),B=0;4>B;++B)r(s,h+32*B,P,0,P.length)}function ov(s,h){var B=s[h-1],P=s[h-1+32],te=s[h-1+64],pe=s[h-1+96];Lr(s,h+0,16843009*Ka(s[h-1-32],B,P)),Lr(s,h+32,16843009*Ka(B,P,te)),Lr(s,h+64,16843009*Ka(P,te,pe)),Lr(s,h+96,16843009*Ka(te,pe,pe))}function av(s,h){var B,P=4;for(B=0;4>B;++B)P+=s[h+B-32]+s[h-1+32*B];for(P>>=3,B=0;4>B;++B)o(s,h+32*B,P,4)}function Ku(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1-32],Ee=s[h+0-32],je=s[h+1-32],Ge=s[h+2-32],st=s[h+3-32];s[h+0+96]=Ka(P,te,s[h-1+96]),s[h+1+96]=s[h+0+64]=Ka(B,P,te),s[h+2+96]=s[h+1+64]=s[h+0+32]=Ka(pe,B,P),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=Ka(Ee,pe,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=Ka(je,Ee,pe),s[h+3+32]=s[h+2+0]=Ka(Ge,je,Ee),s[h+3+0]=Ka(st,Ge,je)}function Zu(s,h){var B=s[h+1-32],P=s[h+2-32],te=s[h+3-32],pe=s[h+4-32],Ee=s[h+5-32],je=s[h+6-32],Ge=s[h+7-32];s[h+0+0]=Ka(s[h+0-32],B,P),s[h+1+0]=s[h+0+32]=Ka(B,P,te),s[h+2+0]=s[h+1+32]=s[h+0+64]=Ka(P,te,pe),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=Ka(te,pe,Ee),s[h+3+32]=s[h+2+64]=s[h+1+96]=Ka(pe,Ee,je),s[h+3+64]=s[h+2+96]=Ka(Ee,je,Ge),s[h+3+96]=Ka(je,Ge,Ge)}function iv(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1-32],Ee=s[h+0-32],je=s[h+1-32],Ge=s[h+2-32],st=s[h+3-32];s[h+0+0]=s[h+1+64]=pe+Ee+1>>1,s[h+1+0]=s[h+2+64]=Ee+je+1>>1,s[h+2+0]=s[h+3+64]=je+Ge+1>>1,s[h+3+0]=Ge+st+1>>1,s[h+0+96]=Ka(te,P,B),s[h+0+64]=Ka(P,B,pe),s[h+0+32]=s[h+1+96]=Ka(B,pe,Ee),s[h+1+32]=s[h+2+96]=Ka(pe,Ee,je),s[h+2+32]=s[h+3+96]=Ka(Ee,je,Ge),s[h+3+32]=Ka(je,Ge,st)}function Av(s,h){var B=s[h+0-32],P=s[h+1-32],te=s[h+2-32],pe=s[h+3-32],Ee=s[h+4-32],je=s[h+5-32],Ge=s[h+6-32],st=s[h+7-32];s[h+0+0]=B+P+1>>1,s[h+1+0]=s[h+0+64]=P+te+1>>1,s[h+2+0]=s[h+1+64]=te+pe+1>>1,s[h+3+0]=s[h+2+64]=pe+Ee+1>>1,s[h+0+32]=Ka(B,P,te),s[h+1+32]=s[h+0+96]=Ka(P,te,pe),s[h+2+32]=s[h+1+96]=Ka(te,pe,Ee),s[h+3+32]=s[h+2+96]=Ka(pe,Ee,je),s[h+3+64]=Ka(Ee,je,Ge),s[h+3+96]=Ka(je,Ge,st)}function Yf(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1+96];s[h+0+0]=B+P+1>>1,s[h+2+0]=s[h+0+32]=P+te+1>>1,s[h+2+32]=s[h+0+64]=te+pe+1>>1,s[h+1+0]=Ka(B,P,te),s[h+3+0]=s[h+1+32]=Ka(P,te,pe),s[h+3+32]=s[h+1+64]=Ka(te,pe,pe),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=pe}function kh(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1+96],Ee=s[h-1-32],je=s[h+0-32],Ge=s[h+1-32],st=s[h+2-32];s[h+0+0]=s[h+2+32]=B+Ee+1>>1,s[h+0+32]=s[h+2+64]=P+B+1>>1,s[h+0+64]=s[h+2+96]=te+P+1>>1,s[h+0+96]=pe+te+1>>1,s[h+3+0]=Ka(je,Ge,st),s[h+2+0]=Ka(Ee,je,Ge),s[h+1+0]=s[h+3+32]=Ka(B,Ee,je),s[h+1+32]=s[h+3+64]=Ka(P,B,Ee),s[h+1+64]=s[h+3+96]=Ka(te,P,B),s[h+1+96]=Ka(pe,te,P)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)o(s,h,s[h-1],8),h+=32}function zu(s,h,B){var P;for(P=0;8>P;++P)o(h,B+32*P,s,8)}function lv(s,h){var B,P=8;for(B=0;8>B;++B)P+=s[h+B-32]+s[h-1+32*B];zu(P>>4,s,h)}function Wh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h+B-32];zu(P>>3,s,h)}function Vh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h-1+32*B];zu(P>>3,s,h)}function rg(s,h){zu(128,s,h)}function _u(s,h,B){var P=s[h-B],te=s[h+0],pe=3*(te-P)+cv[1020+s[h-2*B]-s[h+B]],Ee=ug[112+(pe+4>>3)];s[h-B]=Gl[255+P+ug[112+(pe+3>>3)]],s[h+0]=Gl[255+te-Ee]}function Gh(s,h,B,P){var te=s[h+0],pe=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>P||gc[255+pe-te]>P}function Jf(s,h,B,P){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=P}function $h(s,h,B,P,te){var pe=s[h-3*B],Ee=s[h-2*B],je=s[h-B],Ge=s[h+0],st=s[h+B],Vt=s[h+2*B],wn=s[h+3*B];return 4*gc[255+je-Ge]+gc[255+Ee-st]>P?0:gc[255+s[h-4*B]-pe]<=te&&gc[255+pe-Ee]<=te&&gc[255+Ee-je]<=te&&gc[255+wn-Vt]<=te&&gc[255+Vt-st]<=te&&gc[255+st-Ge]<=te}function df(s,h,B,P){var te=2*P+1;for(P=0;16>P;++P)Jf(s,h+P,B,te)&&_u(s,h+P,B)}function Xh(s,h,B,P){var te=2*P+1;for(P=0;16>P;++P)Jf(s,h+P*B,1,te)&&_u(s,h+P*B,1)}function og(s,h,B,P){var te;for(te=3;0>7,Yn=18*qn+63>>7,qn=9*qn+63>>7;Ge[st-3*Vt]=Gl[255+Ge[st-3*Vt]+qn],Ge[st-2*Vt]=Gl[255+wn+Yn],Ge[st-Vt]=Gl[255+lt+yn],Ge[st+0]=Gl[255+Jt-yn],Ge[st+Vt]=Gl[255+fn-Yn],Ge[st+2*Vt]=Gl[255+Gn-qn]}h+=P}}function Wu(s,h,B,P,te,pe,Ee,je){for(pe=2*pe+1;0>3)],Gn=ug[112+(Gn+3>>3)],yn=fn+1>>1;Ge[st-2*Vt]=Gl[255+Ge[st-2*Vt]+yn],Ge[st-Vt]=Gl[255+wn+Gn],Ge[st+0]=Gl[255+lt-fn],Ge[st+Vt]=Gl[255+Jt-yn]}h+=P}}function ig(s,h,B,P,te,pe){ku(s,h,B,1,16,P,te,pe)}function ff(s,h,B,P,te,pe){ku(s,h,1,B,16,P,te,pe)}function Ag(s,h,B,P,te,pe){var Ee;for(Ee=3;0st?0:255:st)&255,st=Ge,te[pe+je]=Vt}}function DA(s,h,B,P){var te=h.width,pe=h.o;if(n(s!=null&&h!=null),0>B||0>=P||B+P>pe)return null;if(!s.Cc){if(s.ga==null){var Ee;if(s.ga=new ri,(Ee=s.ga==null)||(Ee=h.width*h.o,n(s.Gb.length==0),s.Gb=A(Ee),s.Uc=0,s.Gb==null?Ee=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,Ee=1),Ee=!Ee),!Ee){Ee=s.ga;var je=s.Fa,Ge=s.P,st=s.qc,Vt=s.mb,wn=s.nb,lt=Ge+1,Jt=st-1,fn=Ee.l;if(n(je!=null&&Vt!=null&&h!=null),Ld[0]=null,Ld[1]=Xi,Ld[2]=ns,Ld[3]=Ps,Ee.ca=Vt,Ee.tb=wn,Ee.c=h.width,Ee.i=h.height,n(0=st)h=0;else if(Ee.$a=3&je[Ge+0],Ee.Z=je[Ge+0]>>2&3,Ee.Lc=je[Ge+0]>>4&3,Ge=je[Ge+0]>>6&3,0>Ee.$a||1=Ee.c*Ee.i;Ee=!h}if(Ee)return null;s.ga.Lc!=1?s.Ga=0:P=pe-B}n(s.ga!=null),n(B+P<=pe);e:{if(h=(je=s.ga).c,pe=je.l.o,je.$a==0){if(lt=s.rc,Jt=s.Vc,fn=s.Fa,Ge=s.P+1+B*h,st=s.mb,Vt=s.nb+B*h,n(Ge<=s.P+s.qc),je.Z!=0)for(n(Ld[je.Z]!=null),Ee=0;Ee=h)h=1;else if(je.ic||zc(),je.ic){je=Ee.V,lt=Ee.Ba,Jt=Ee.c;var Gn=Ee.i,yn=(fn=1,Ge=Ee.$/Jt,st=Ee.$%Jt,Vt=Ee.m,wn=Ee.s,Ee.$),Yn=Jt*Gn,qn=Jt*h,Sr=wn.wc,dr=yn(Gn=us(dr.G[0],dr.H[0],Vt)))je[lt+yn]=Gn,++yn,++st>=Jt&&(st=0,++Ge<=h&&!(Ge%16)&&Hc(Ee,Ge));else{if(!(280>Gn)){fn=0;break t}Gn=sc(Gn-256,Vt);var ea,Mo=us(dr.G[4],dr.H[4],Vt);if(mn(Vt),!(yn>=(Mo=lc(Jt,Mo=sc(Mo,Vt)))&&Yn-yn>=Gn)){fn=0;break t}for(ea=0;ea=Jt;)st-=Jt,++Ge<=h&&!(Ge%16)&&Hc(Ee,Ge);ynh?h:Ge);break t}!fn||Vt.h&&yn=pe&&(s.Cc=1),P=1}if(!P)return null;if(s.Cc&&((P=s.ga)!=null&&(P.mc=null),s.ga=null,0>23,je[Ge+4*Ee+1]=je[Ge+4*Ee+1]*wn>>23,je[Ge+4*Ee+2]=je[Ge+4*Ee+2]*wn>>23)}h+=pe}}function Rs(s,h,B,P,te){for(;0>4)*Ge>>16;s[h+2*pe+0]=(240&Ee|Ee>>4)*Ge>>16&240|(15&Ee|Ee<<4)*Ge>>16>>4&15,s[h+2*pe+1]=240&st|je}h+=te}}function al(s,h,B,P,te,pe,Ee,je){var Ge,st,Vt=255;for(st=0;st>8}function zc(){s0=Hs,tp=Rs,np=al,rp=Vu}function Gu(s,h,B){yt[s]=function(P,te,pe,Ee,je,Ge,st,Vt,wn,lt,Jt,fn,Gn,yn,Yn,qn,Sr){var dr,ea=Sr-1>>1,Mo=je[Ge+0]|st[Vt+0]<<16,si=wn[lt+0]|Jt[fn+0]<<16;n(P!=null);var ko=3*Mo+si+131074>>2;for(h(P[te+0],255&ko,ko>>16,Gn,yn),pe!=null&&(ko=3*si+Mo+131074>>2,h(pe[Ee+0],255&ko,ko>>16,Yn,qn)),dr=1;dr<=ea;++dr){var ji=je[Ge+dr]|st[Vt+dr]<<16,Zs=wn[lt+dr]|Jt[fn+dr]<<16,li=Mo+ji+si+Zs+524296,Wo=li+2*(ji+si)>>3;ko=Wo+Mo>>1,Mo=(li=li+2*(Mo+Zs)>>3)+ji>>1,h(P[te+2*dr-1],255&ko,ko>>16,Gn,yn+(2*dr-1)*B),h(P[te+2*dr-0],255&Mo,Mo>>16,Gn,yn+(2*dr-0)*B),pe!=null&&(ko=li+si>>1,Mo=Wo+Zs>>1,h(pe[Ee+2*dr-1],255&ko,ko>>16,Yn,qn+(2*dr-1)*B),h(pe[Ee+2*dr+0],255&Mo,Mo>>16,Yn,qn+(2*dr+0)*B)),Mo=ji,si=Zs}1&Sr||(ko=3*Mo+si+131074>>2,h(P[te+Sr-1],255&ko,ko>>16,Gn,yn+(Sr-1)*B),pe!=null&&(ko=3*si+Mo+131074>>2,h(pe[Ee+Sr-1],255&ko,ko>>16,Yn,qn+(Sr-1)*B)))}}function Yh(){vc[dg]=fm,vc[fg]=hp,vc[lp]=hm,vc[hg]=gp,vc[gg]=vp,vc[uv]=pp,vc[cp]=gm,vc[dv]=hp,vc[fv]=gp,vc[vg]=vp,vc[hv]=pp}function qf(s){return s&~vm?0>s?0:255:s>>mp}function wd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Bd(s,h,B,P,te){P[te+0]=wd(s,B),P[te+1]=hf(s,h,B),P[te+2]=gf(s,h)}function il(s,h,B,P,te){P[te+0]=gf(s,h),P[te+1]=hf(s,h,B),P[te+2]=wd(s,B)}function vf(s,h,B,P,te){var pe=hf(s,h,B);h=pe<<3&224|gf(s,h)>>3,P[te+0]=248&wd(s,B)|pe>>5,P[te+1]=h}function pf(s,h,B,P,te){var pe=240&gf(s,h)|15;P[te+0]=240&wd(s,B)|hf(s,h,B)>>4,P[te+1]=pe}function Jh(s,h,B,P,te){P[te+0]=255,Bd(s,h,B,P,te+1)}function qh(s,h,B,P,te){il(s,h,B,P,te),P[te+3]=255}function Ol(s,h,B,P,te){Bd(s,h,B,P,te),P[te+3]=255}function $u(s,h,B){yt[s]=function(P,te,pe,Ee,je,Ge,st,Vt,wn){for(var lt=Vt+(-2&wn)*B;Vt!=lt;)h(P[te+0],pe[Ee+0],je[Ge+0],st,Vt),h(P[te+1],pe[Ee+0],je[Ge+0],st,Vt+B),te+=2,++Ee,++Ge,Vt+=2*B;1&wn&&h(P[te+0],pe[Ee+0],je[Ge+0],st,Vt)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function sg(s,h,B,P,te){switch(s>>>30){case 3:wf(h,B,P,te,0);break;case 2:hc(h,B,P,te);break;case 1:hA(h,B,P,te)}}function fc(s,h){var B,P,te=h.M,pe=h.Nb,Ee=s.oc,je=s.pc+40,Ge=s.oc,st=s.pc+584,Vt=s.oc,wn=s.pc+600;for(B=0;16>B;++B)Ee[je+32*B-1]=129;for(B=0;8>B;++B)Ge[st+32*B-1]=129,Vt[wn+32*B-1]=129;for(0B;++B)r(Ee,je+32*B-4,Ee,je+32*B+12,4);for(B=-1;8>B;++B)r(Ge,st+32*B-4,Ge,st+32*B+4,4),r(Vt,wn+32*B-4,Vt,wn+32*B+4,4)}var Jt=s.Gd,fn=s.Hd+P,Gn=lt.ad,yn=lt.Hc;if(0=s.za-1?o(Yn,qn,Jt[fn].y[15],4):r(Yn,qn,Jt[fn+1].y,0,4)),B=0;4>B;B++)Yn[qn+128+B]=Yn[qn+256+B]=Yn[qn+384+B]=Yn[qn+0+B];for(B=0;16>B;++B,yn<<=2)Yn=Ee,qn=je+bp[B],_c[lt.Ob[B]](Yn,qn),sg(yn,Gn,16*+B,Yn,qn)}else if(Yn=eh(P,te,lt.Ob[0]),Ud[Yn](Ee,je),yn!=0)for(B=0;16>B;++B,yn<<=2)sg(yn,Gn,16*+B,Ee,je+bp[B]);for(B=lt.Gc,Yn=eh(P,te,lt.Dd),Ju[Yn](Ge,st),Ju[Yn](Vt,wn),yn=Gn,Yn=Ge,qn=st,255&(lt=0|B)&&(170<?bu(yn,256,Yn,qn):OA(yn,256,Yn,qn)),lt=Vt,yn=wn,255&(B>>=8)&&(170&B?bu(Gn,320,lt,yn):OA(Gn,320,lt,yn)),teB;++B)r(Jt,fn+B*s.R,Ee,je+32*B,16);for(B=0;8>B;++B)r(Gn,lt+B*s.B,Ge,st+32*B,8),r(yn,Yn+B*s.B,Vt,wn+32*B,8)}}function mf(s,h,B,P,te,pe,Ee,je,Ge){var st=[0],Vt=[0],wn=0,lt=Ge!=null?Ge.kd:0,Jt=Ge!=null?Ge:new ur;if(s==null||12>B)return 7;Jt.data=s,Jt.w=h,Jt.ha=B,h=[h],B=[B],Jt.gb=[Jt.gb];e:{var fn=h,Gn=B,yn=Jt.gb;if(n(s!=null),n(Gn!=null),n(yn!=null),yn[0]=0,12<=Gn[0]&&!t(s,fn[0],"RIFF")){if(t(s,fn[0]+8,"WEBP")){yn=3;break e}var Yn=sa(s,fn[0]+4);if(12>Yn||4294967286Gn[0]-8){yn=7;break e}yn[0]=Yn,fn[0]+=12,Gn[0]-=12}yn=0}if(yn!=0)return yn;for(Yn=0yn[0])yn=7;else{if(!t(qn,Gn[0],"VP8X")){if(sa(qn,Gn[0]+4)!=10){yn=3;break e}if(18>yn[0]){yn=7;break e}var Mo=sa(qn,Gn[0]+8),si=1+ho(qn,Gn[0]+12);if(2147483648<=si*(qn=1+ho(qn,Gn[0]+15))){yn=3;break e}ea!=null&&(ea[0]=Mo),Sr!=null&&(Sr[0]=si),dr!=null&&(dr[0]=qn),Gn[0]+=18,yn[0]-=18,ko[0]=1}yn=0}}if(wn=wn[0],fn=fn[0],yn!=0)return yn;if(Gn=!!(2&fn),!Yn&&wn)return 3;if(pe!=null&&(pe[0]=!!(16&fn)),Ee!=null&&(Ee[0]=Gn),je!=null&&(je[0]=0),Ee=st[0],fn=Vt[0],wn&&Gn&&Ge==null){yn=0;break}if(4>B){yn=7;break}if(Yn&&wn||!Yn&&!wn&&!t(s,h[0],"ALPH")){B=[B],Jt.na=[Jt.na],Jt.P=[Jt.P],Jt.Sa=[Jt.Sa];e:{Mo=s,yn=h,Yn=B;var ko=Jt.gb;Sr=Jt.na,dr=Jt.P,ea=Jt.Sa,si=22,n(Mo!=null),n(Yn!=null),qn=yn[0];var ji=Yn[0];for(n(Sr!=null),n(ea!=null),Sr[0]=null,dr[0]=null,ea[0]=0;;){if(yn[0]=qn,Yn[0]=ji,8>ji){yn=7;break e}var Zs=sa(Mo,qn+4);if(4294967286ko){yn=3;break e}if(!t(Mo,qn,"VP8 ")||!t(Mo,qn,"VP8L")){yn=0;break e}if(ji[0]Yn[0])yn=7;else{if(qn||si){if(ko=sa(ko,Mo+4),12<=Sr&&ko>Sr-12){yn=3;break e}if(lt&&ko>Yn[0]-8){yn=7;break e}dr[0]=ko,yn[0]+=8,Yn[0]-=8,ea[0]=si}else ea[0]=5<=Yn[0]&&ko[Mo+0]==47&&!(ko[Mo+4]>>5),dr[0]=Yn[0];yn=0}if(B=B[0],Jt.Ja=Jt.Ja[0],Jt.xa=Jt.xa[0],h=h[0],yn!=0)break;if(4294967286B){yn=7;break}je=Ee,lt=fn,Gn=pe,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?(Yn=[0],ko=[0],Sr=[0],Zn(dr=new vt,s,h,B),ju(dr,Yn,ko,Sr)?(je!=null&&(je[0]=Yn[0]),lt!=null&&(lt[0]=ko[0]),Gn!=null&&(Gn[0]=Sr[0]),s=1):s=0):s=0}else{if(10>B){yn=7;break}je=fn,s==null||10>B||!Y0(s,h+3,B-3)?s=0:(lt=s[h+0]|s[h+1]<<8|s[h+2]<<16,Gn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1<||3<(lt>>1&7)||!(lt>>4&1)||lt>>5>=Jt.Ja||!Gn||!s?s=0:(Ee&&(Ee[0]=Gn),je&&(je[0]=s),s=1))}if(!s||(Ee=Ee[0],fn=fn[0],wn&&(st[0]!=Ee||Vt[0]!=fn)))return 3;Ge!=null&&(Ge[0]=Jt,Ge.offset=h-Ge.w,n(4294967286>h-Ge.w),n(Ge.offset==Ge.ha-B));break}return yn==0||yn==7&&wn&&Ge==null?(pe!=null&&(pe[0]|=Jt.na!=null&&0B||(pe&=-2,Ee&=-2),0>pe||0>Ee||0>=je||0>=Ge||pe+je>P||Ee+Ge>te))return 0;if(h.v=pe,h.j=Ee,h.va=pe+je,h.o=Ee+Ge,h.U=je,h.T=Ge,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Cd(s,h,B,P){if(P==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var te=B.cd,pe=B.bd,Ee=-2&B.v,je=-2&B.j;if(0>Ee||0>je||0>=te||0>=pe||Ee+te>s||je+pe>h)return 2;s=te,h=pe}if(B.da){if(!Ca(s,h,te=[B.ib],pe=[B.hb]))return 2;s=te[0],h=pe[0]}}P.width=s,P.height=h;e:{var Ge=P.width,st=P.height;if(s=P.S,0>=Ge||0>=st||!(s>=dg&&13>s))s=2;else{if(0>=P.Rd&&P.sd==null){Ee=pe=te=h=0;var Vt=(je=Ge*wp[s])*st;if(11>s||(pe=(st+1)/2*(h=(Ge+1)/2),s==12&&(Ee=(te=Ge)*st)),(st=A(Vt+2*pe+Ee))==null){s=1;break e}P.sd=st,11>s?((Ge=P.f.RGBA).eb=st,Ge.fb=0,Ge.A=je,Ge.size=Vt):((Ge=P.f.kb).y=st,Ge.O=0,Ge.fa=je,Ge.Fd=Vt,Ge.f=st,Ge.N=0+Vt,Ge.Ab=h,Ge.Cd=pe,Ge.ea=st,Ge.W=0+Vt+pe,Ge.Db=h,Ge.Ed=pe,s==12&&(Ge.F=st,Ge.J=0+Vt+2*pe),Ge.Tc=Ee,Ge.lb=te)}if(h=1,te=P.S,pe=P.width,Ee=P.height,te>=dg&&13>te)if(11>te)s=P.f.RGBA,h&=(je=Math.abs(s.A))*(Ee-1)+pe<=s.size,h&=je>=pe*wp[te],h&=s.eb!=null;else{s=P.f.kb,je=(pe+1)/2,Vt=(Ee+1)/2,Ge=Math.abs(s.fa),st=Math.abs(s.Ab);var wn=Math.abs(s.Db),lt=Math.abs(s.lb),Jt=lt*(Ee-1)+pe;h&=Ge*(Ee-1)+pe<=s.Fd,h&=st*(Vt-1)+je<=s.Cd,h=(h&=wn*(Vt-1)+je<=s.Ed)&Ge>=pe&st>=je&wn>=je,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,te==12&&(h&=lt>=pe,h&=Jt<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=t0(P)),s}var yf=64,Wl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Vl=24,xd=32,Xu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),yt.Predictor0=function(){return 4278190080},yt.Predictor1=function(s){return s},yt.Predictor2=function(s,h,B){return h[B+0]},yt.Predictor3=function(s,h,B){return h[B+1]},yt.Predictor4=function(s,h,B){return h[B-1]},yt.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},yt.Predictor6=function(s,h,B){return ua(s,h[B-1])},yt.Predictor7=function(s,h,B){return ua(s,h[B+0])},yt.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},yt.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},yt.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},yt.Predictor11=function(s,h,B){var P=h[B+0];return 0>=Ga(P>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Ga(P>>16&255,s>>16&255,h>>16&255)+Ga(P>>8&255,s>>8&255,h>>8&255)+Ga(255&P,255&s,255&h)?P:s},yt.Predictor12=function(s,h,B){var P=h[B+0];return(dA((s>>24&255)+(P>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(P>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(P>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&P)-(255&h)))>>>0},yt.Predictor13=function(s,h,B){var P=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,P>>24&255)<<24|Li(s>>16&255,P>>16&255)<<16|Li(s>>8&255,P>>8&255)<<8|Li(255&s,255&P))>>>0};var n0=yt.PredictorAdd0;yt.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=yt.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,lg=yt.ColorIndexInverseTransform,mu=yt.MapARGB,yu=yt.VP8LColorIndexInverseTransformAlpha,r0=yt.MapAlpha,o0=yt.VP8LPredictorsAdd=[];o0.length=16,(yt.VP8LPredictors=[]).length=16,(yt.VP8LPredictorsAdd_C=[]).length=16,(yt.VP8LPredictors_C=[]).length=16;var a0,i0,Sd,Id,Fd,bf,Od,wf,hc,bu,hA,OA,Es,Ks,Yu,A0,nh,cg,$v,Xv,Yv,Jv,qv,ep,s0,tp,np,rp,op=A(511),ap=A(2041),ip=A(225),Ap=A(767),sp=0,cv=ap,ug=ip,Gl=Ap,gc=op,dg=0,fg=1,lp=2,hg=3,gg=4,uv=5,cp=6,dv=7,fv=8,vg=9,hv=10,qp=[2,3,7],em=[3,3,11],up=[280,256,256,256,40],tm=[0,1,1,1,0],nm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rm=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Am=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],um=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],_c=[],Ju=[],dm=1,fp=2,Ld=[],vc=[];Gu("UpsampleRgbLinePair",Bd,3),Gu("UpsampleBgrLinePair",il,3),Gu("UpsampleRgbaLinePair",Ol,4),Gu("UpsampleBgraLinePair",qh,4),Gu("UpsampleArgbLinePair",Jh,4),Gu("UpsampleRgba4444LinePair",pf,2),Gu("UpsampleRgb565LinePair",vf,2);var fm=yt.UpsampleRgbLinePair,hm=yt.UpsampleBgrLinePair,hp=yt.UpsampleRgbaLinePair,gp=yt.UpsampleBgraLinePair,vp=yt.UpsampleArgbLinePair,pp=yt.UpsampleRgba4444LinePair,gm=yt.UpsampleRgb565LinePair,pg=16,mg=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&zc()),P.Pb&&0(Ge=B.Md)?0:100st;++st)12>(wn=te.pb[st]).lc&&(wn.ia=Ge*Cm[0>wn.lc?0:wn.lc]>>3),Vt|=wn.ia;Vt&&(alert("todo:VP8InitRandom"),te.ia=1)}te.Ga=B.Id,100te.Ga&&(te.Ga=0)}(function(lt,Jt){if(lt==null)return 0;if(Jt==null)return Qs(lt,2,"NULL VP8Io parameter in VP8Decode().");if(!lt.cb&&!vu(lt,Jt))return 0;if(n(lt.cb),Jt.ac==null||Jt.ac(Jt)){Jt.ob&&(lt.L=0);var fn=yg[lt.L];if(lt.L==2?(lt.yb=0,lt.zb=0):(lt.yb=Jt.v-fn>>4,lt.zb=Jt.j-fn>>4,0>lt.yb&&(lt.yb=0),0>lt.zb&&(lt.zb=0)),lt.Va=Jt.o+15+fn>>4,lt.Hb=Jt.va+15+fn>>4,lt.Hb>lt.za&&(lt.Hb=lt.za),lt.Va>lt.Ub&&(lt.Va=lt.Ub),0fn;++fn){var yn;if(lt.Qa.Cb){var Yn=lt.Qa.Lb[fn];lt.Qa.Fb||(Yn+=Gn.Tb)}else Yn=Gn.Tb;for(yn=0;1>=yn;++yn){var qn=lt.gd[fn][yn],Sr=Yn;if(Gn.Pc&&(Sr+=Gn.vd[0],yn&&(Sr+=Gn.od[0])),0<(Sr=0>Sr?0:63>2:dr>>1)>9-Gn.wb&&(dr=9-Gn.wb),1>dr&&(dr=1),qn.dd=dr,qn.tc=2*Sr+dr,qn.ld=40<=Sr?2:15<=Sr?1:0}else qn.tc=0;qn.La=yn}}}fn=0}else Qs(lt,6,"Frame setup failed"),fn=lt.a;if(fn=fn==0){if(fn){lt.$c=0,0lt.Vb){if(lt.Vb=0,lt.Ec=A(qn),lt.Fc=0,lt.Ec==null){fn=Qs(lt,1,"no memory during frame initialization.");break t}lt.Vb=qn}qn=lt.Ec,Sr=lt.Fc,lt.Ac=qn,lt.Bc=Sr,Sr+=Gn,lt.Gd=v(ea,$0),lt.Hd=0,lt.rb=v(Mo+1,Kh),lt.sb=1,lt.wa=si?v(si,uc):null,lt.Y=0,lt.D.Nb=0,lt.D.wa=lt.wa,lt.D.Y=lt.Y,0=fn;++fn)op[255+fn]=0>fn?-fn:fn;for(fn=-1020;1020>=fn;++fn)ap[1020+fn]=-128>fn?-128:127=fn;++fn)ip[112+fn]=-16>fn?-16:15=fn;++fn)Ap[255+fn]=0>fn?0:255_i;++_i){var zs,Yi=Ul[0+_i];for(zs=0;4>zs;++zs){Yi=lm[_A[Al+zs]][Yi];for(var BA=dp[tr(Xa,Yi[0])];0>3;for(BA=0;256>BA;BA+=16)_i[Cl+BA]=jl}sl=1,kc=Al[0]}var UA=15&Xa.la,_s=15&Ll.la;for(BA=0;4>BA;++BA){var $l=1&_s;for(jl=CA=0;4>jl;++jl)UA=UA>>1|($l=(Is=l0(_A,kc,Is=$l+(1&UA),ds.Sc,sl,_i,Cl))>sl)<<7,CA=CA<<2|(3>=4,_s=_s>>1|$l<<7,zs=(zs<<8|CA)>>>0}for(kc=UA,sl=_s>>4,fs=0;4>fs;fs+=2){for(CA=0,UA=Xa.la>>4+fs,_s=Ll.la>>4+fs,BA=0;2>BA;++BA){for($l=1&_s,jl=0;2>jl;++jl)Is=$l+(1&UA),UA=UA>>1|($l=0<(Is=l0(_A,Al[2],Is,ds.Qc,0,_i,Cl)))<<3,CA=CA<<2|(3>=2,_s=_s>>1|$l<<5}Yi|=CA<<4*fs,kc|=UA<<4<=Wo.zb&&Wo.M<=Wo.Va,Wo.Aa==0)t:{if(li.M=Wo.M,li.uc=Xa,fc(Wo,li),Ss=1,li=(CA=Wo.D).Nb,Xa=(Yi=yg[Wo.L])*Wo.R,_A=Yi/2*Wo.B,BA=16*li*Wo.R,jl=8*li*Wo.B,Al=Wo.sa,Ul=Wo.ta-Xa+BA,ds=Wo.qa,_i=Wo.ra-_A+jl,Cl=Wo.Ha,Ll=Wo.Ia-_A+jl,_s=(UA=CA.M)==0,zs=UA>=Wo.Va-1,Wo.Aa==2&&fc(Wo,CA),CA.uc)for($l=(Is=Wo).D.M,n(Is.D.uc),CA=Is.yb;CAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,Wo.Fa!=null&&0>1),Ao.W+=Wo.B*(Yi>>1),Ao.F!=null&&(Ao.J+=Ao.width*Yi)),CA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=CA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-CA,Ss=Ao.put(Ao))}li+1!=Wo.Ic||zs||(r(Wo.sa,Wo.ta-Xa,Al,Ul+16*Wo.R,Xa),r(Wo.qa,Wo.ra-_A,ds,_i+8*Wo.B,_A),r(Wo.Ha,Wo.Ia-_A,Cl,Ll+8*Wo.B,_A))}if(!Ss)return Qs(ji,6,"Output aborted.")}return 1}(lt,Jt)),Jt.bc!=null&&Jt.bc(Jt),fn&=1}return fn?(lt.cb=0,fn):0})(s,P)||(h=s.a)}}else h=s.a}h==0&&Ee.Oa!=null&&Ee.Oa.fd&&(h=t0(Ee.ba))}Ee=h}pe=Ee!=0?null:11>pe?je.f.RGBA.eb:je.f.kb.y}else pe=null;return pe};var wp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(yt,un){for(var Oe="",ot=0;ot<4;ot++)Oe+=String.fromCharCode(yt[un++]);return Oe}function S(yt,un){return yt[un+0]|yt[un+1]<<8}function V(yt,un){return(yt[un+0]|yt[un+1]<<8|yt[un+2]<<16)>>>0}function ge(yt,un){return(yt[un+0]|yt[un+1]<<8|yt[un+2]<<16|yt[un+3]<<24)>>>0}new p;var E=[0],nt=[0],Xe=[],rt=new p,Le=e,jt=function(yt,un){var Oe={},ot=0,Tt=!1,Dt=0,Sn=0;if(Oe.frames=[],!function(Se,vt){for(var Ft=0;Ft<4;Ft++)if(Se[vt+Ft]!="RIFF".charCodeAt(Ft))return!0;return!1}(yt,un)){for(ge(yt,un+=4),un+=8;un>1&1}Rn!="ANMF"&&(un+=bn)}return Oe}}(Le,0);jt.response=Le,jt.rgbaoutput=!0,jt.dataurl=!1;var Pt=jt.header?jt.header:null,mt=jt.frames?jt.frames:null;if(Pt){Pt.loop_counter=Pt.loop_count,E=[Pt.canvas_height],nt=[Pt.canvas_width];for(var Cn=0;Cn=2?at[1]:mo[0],mo[2]=at.length>=3?at[2]:mo[0],mo[3]=at.length>=4?at[3]:mo[1]),y.margin=mo}});var Tn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Tn},set:function(at){Tn=at}});var Hn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Hn},set:function(at){Hn=at}});var tr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return tr},set:function(at){tr=at}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(at){at instanceof S&&(y=at)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(at){y.path=at}});var Lr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Lr},set:function(at){Lr=at}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(at){var mo;mo=ge(at),this.ctx.fillStyle=mo.style,this.ctx.isFillTransparent=mo.a===0,this.ctx.fillOpacity=mo.a,this.pdf.setFillColor(mo.r,mo.g,mo.b,{a:mo.a}),this.pdf.setTextColor(mo.r,mo.g,mo.b,{a:mo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(at){var mo=ge(at);this.ctx.strokeStyle=mo.style,this.ctx.isStrokeTransparent=mo.a===0,this.ctx.strokeOpacity=mo.a,mo.a===0?this.pdf.setDrawColor(255,255,255):(mo.a,this.pdf.setDrawColor(mo.r,mo.g,mo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(at){["butt","round","square"].indexOf(at)!==-1&&(this.ctx.lineCap=at,this.pdf.setLineCap(at))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(at){isNaN(at)||(this.ctx.lineWidth=at,this.pdf.setLineWidth(at))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(at){["bevel","round","miter"].indexOf(at)!==-1&&(this.ctx.lineJoin=at,this.pdf.setLineJoin(at))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(at){isNaN(at)||(this.ctx.miterLimit=at,this.pdf.setMiterLimit(at))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(at){this.ctx.textBaseline=at}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(at){["right","end","center","left","start"].indexOf(at)!==-1&&(this.ctx.textAlign=at)}});var po=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(at){po=null,ho=null,sa=at}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(at){var mo;if(this.ctx.font=at,(mo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(at))!==null){var fi=mo[1];mo[2];var Ca=mo[3],mr=mo[4];mo[5];var xa=mo[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mr)[2];mr=Math.floor(jo==="px"?parseFloat(mr)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(mr)*this.pdf.getFontSize():parseFloat(mr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mr);var ma=function(na){var Cs,$i,mi=[],yi=na.trim();if(yi==="")return kg;if(yi in su)return[su[yi]];for(;yi!=="";){switch($i=null,Cs=(yi=lu(yi)).charAt(0)){case'"':case"'":$i=Dc(yi.substring(1),Cs);break;default:$i=md(yi)}if($i===null||(mi.push($i[0]),(yi=lu($i[1]))!==""&&yi.charAt(0)!==","))return kg;yi=yi.replace(/^,/,"")}return mi}(xa);if(this.fontFaces){var ua=function(na,Cs){var $i=na.getFontList(),mi=JSON.stringify($i);if(po===null||ho!==mi){var yi=function(XA){var ha=[];return Object.keys(XA).forEach(function(RA){XA[RA].forEach(function(La){var $a=null;switch(La){case"bold":$a={family:RA,weight:"bold"};break;case"italic":$a={family:RA,style:"italic"};break;case"bolditalic":$a={family:RA,weight:"bold",style:"italic"};break;case"":case"normal":$a={family:RA}}$a!==null&&($a.ref={name:RA,style:La},ha.push($a))})}),ha}($i);po=function(XA){for(var ha={},RA=0;RA=700||fi==="bold")&&(Ga="bold"),fi==="italic"&&(Ga+="italic"),Ga.length===0&&(Ga="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Kt=0,en=2*Math.PI),this.path.push({type:"arc",x:Se,y:vt,radius:Ft,startAngle:Kt,endAngle:en,counterclockwise:mn})},V.prototype.arcTo=function(Se,vt,Ft,Kt,en){throw new Error("arcTo not implemented.")},V.prototype.rect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Se,vt),this.lineTo(Se+Ft,vt),this.lineTo(Se+Ft,vt+Kt),this.lineTo(Se,vt+Kt),this.lineTo(Se,vt),this.lineTo(Se+Ft,vt),this.lineTo(Se,vt)},V.prototype.fillRect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!E.call(this)){var en={};this.lineCap!=="butt"&&(en.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(en.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Se,vt,Ft,Kt),this.fill(),en.hasOwnProperty("lineCap")&&(this.lineCap=en.lineCap),en.hasOwnProperty("lineJoin")&&(this.lineJoin=en.lineJoin)}},V.prototype.strokeRect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");nt.call(this)||(this.beginPath(),this.rect(Se,vt,Ft,Kt),this.stroke())},V.prototype.clearRect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Se,vt,Ft,Kt))},V.prototype.save=function(Se){Se=typeof Se!="boolean"||Se;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ft=0;Ft0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};V.prototype.drawImage=function(Se,vt,Ft,Kt,en,mn,Tn,Hn,tr){var Lr=this.pdf.getImageProperties(Se),po=1,ho=1,sa=1,at=1;Kt!==void 0&&Hn!==void 0&&(sa=Hn/Kt,at=tr/en,po=Lr.width/Kt*Hn/Kt,ho=Lr.height/en*tr/en),mn===void 0&&(mn=vt,Tn=Ft,vt=0,Ft=0),Kt!==void 0&&Hn===void 0&&(Hn=Kt,tr=en),Kt===void 0&&Hn===void 0&&(Hn=Lr.width,tr=Lr.height);var mo=this.ctx.transform.decompose(),fi=bn(mo.rotate.shx),Ca=new p,mr=(Ca=(Ca=(Ca=Ca.multiply(mo.translate)).multiply(mo.skew)).multiply(mo.scale)).applyToRectangle(new g(mn-vt*sa,Tn-Ft*at,Kt*po,en*ho));if(this.autoPaging){for(var xa,jo=rt.call(this,mr),ma=[],ua=0;uadA||Gamr||jo0)){for(;tr>=0;tr--)if(en[tr-1].close!==!0&&en[tr-1].begin!==!0){en[tr-1].deltas.push(Ft),en[tr-1].abs.push(Hn);break}}break;case"bct":Ft=[Hn.x1-mn[Tn-1].x,Hn.y1-mn[Tn-1].y,Hn.x2-mn[Tn-1].x,Hn.y2-mn[Tn-1].y,Hn.x-mn[Tn-1].x,Hn.y-mn[Tn-1].y],en[en.length-1].deltas.push(Ft);break;case"qct":var Lr=mn[Tn-1].x+2/3*(Hn.x1-mn[Tn-1].x),po=mn[Tn-1].y+2/3*(Hn.y1-mn[Tn-1].y),ho=Hn.x+2/3*(Hn.x1-Hn.x),sa=Hn.y+2/3*(Hn.y1-Hn.y),at=Hn.x,mo=Hn.y;Ft=[Lr-mn[Tn-1].x,po-mn[Tn-1].y,ho-mn[Tn-1].x,sa-mn[Tn-1].y,at-mn[Tn-1].x,mo-mn[Tn-1].y],en[en.length-1].deltas.push(Ft);break;case"arc":en.push({deltas:[],abs:[],arc:!0}),Array.isArray(en[en.length-1].abs)&&en[en.length-1].abs.push(Hn)}}Kt=vt?null:Se==="stroke"?"stroke":"fill";for(var fi=!1,Ca=0;Ca=.01&&(Kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Kt*Se.scale),en=this.lineWidth,this.lineWidth=en*Se.scale);var ni=this.autoPaging!=="text";if(ni||Xo.y+Xo.h<=ua){if(ni||Xo.y>=jo&&Xo.x<=Li){var na=ni?Se.text:this.pdf.splitTextToSize(Se.text,Se.maxWidth||Li-Xo.x)[0],Cs=jt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],$i=ni&&(xa>Ca||xa=.01&&(this.pdf.setFontSize(Kt),this.lineWidth=en)}}else Se.scale>=.01&&(Kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Kt*Se.scale),en=this.lineWidth,this.lineWidth=en*Se.scale),this.pdf.text(Se.text,tr.x+this.posX,tr.y+this.posY,{angle:Se.angle,align:vt,renderingMode:Se.renderingMode,maxWidth:Se.maxWidth}),Se.scale>=.01&&(this.pdf.setFontSize(Kt),this.lineWidth=en)},Tt=function(Se,vt,Ft,Kt){Ft=Ft||0,Kt=Kt||0,this.pdf.internal.out(t(Se+Ft)+" "+r(vt+Kt)+" l")},Dt=function(Se,vt,Ft){return this.pdf.lines(Se,vt,Ft,null,null)},Sn=function(Se,vt,Ft,Kt,en,mn,Tn,Hn){this.pdf.internal.out([n(o(Ft+Se)),n(A(Kt+vt)),n(o(en+Se)),n(A(mn+vt)),n(o(Tn+Se)),n(A(Hn+vt)),"c"].join(" "))},Rn=function(Se,vt,Ft,Kt){for(var en=2*Math.PI,mn=Math.PI/2;vt>Ft;)vt-=en;var Tn=Math.abs(Ft-vt);Tn1e-5;){var po=Lr+tr*Math.min(Tn,mn);Hn.push(jn.call(this,Se,Lr,po)),Tn-=Math.abs(po-Lr),Lr=po}return Hn},jn=function(Se,vt,Ft){var Kt=(Ft-vt)/2,en=Se*Math.cos(Kt),mn=Se*Math.sin(Kt),Tn=en,Hn=-mn,tr=Tn*Tn+Hn*Hn,Lr=tr+Tn*en+Hn*mn,po=4/3*(Math.sqrt(2*tr*Lr)-Lr)/(Tn*mn-Hn*en),ho=Tn-po*Hn,sa=Hn+po*Tn,at=ho,mo=-sa,fi=Kt+vt,Ca=Math.cos(fi),mr=Math.sin(fi);return{x1:Se*Math.cos(vt),y1:Se*Math.sin(vt),x2:ho*Ca-sa*mr,y2:ho*mr+sa*Ca,x3:at*Ca-mo*mr,y3:at*mr+mo*Ca,x4:Se*Math.cos(Ft),y4:Se*Math.sin(Ft)}},bn=function(Se){return 180*Se/Math.PI},Zn=function(Se,vt,Ft,Kt,en,mn){var Tn=Se+.5*(Ft-Se),Hn=vt+.5*(Kt-vt),tr=en+.5*(Ft-en),Lr=mn+.5*(Kt-mn),po=Math.min(Se,en,Tn,tr),ho=Math.max(Se,en,Tn,tr),sa=Math.min(vt,mn,Hn,Lr),at=Math.max(vt,mn,Hn,Lr);return new g(po,sa,ho-po,at-sa)},jr=function(Se,vt,Ft,Kt,en,mn,Tn,Hn){var tr,Lr,po,ho,sa,at,mo,fi,Ca,mr,xa,jo,ma,ua,dA=Ft-Se,Li=Kt-vt,Ga=en-Ft,Ti=mn-Kt,Ni=Tn-en,Xo=Hn-mn;for(Lr=0;Lr<41;Lr++)Ca=(mo=(po=Se+(tr=Lr/40)*dA)+tr*((sa=Ft+tr*Ga)-po))+tr*(sa+tr*(en+tr*Ni-sa)-mo),mr=(fi=(ho=vt+tr*Li)+tr*((at=Kt+tr*Ti)-ho))+tr*(at+tr*(mn+tr*Xo-at)-fi),Lr==0?(xa=Ca,jo=mr,ma=Ca,ua=mr):(xa=Math.min(xa,Ca),jo=Math.min(jo,mr),ma=Math.max(ma,Ca),ua=Math.max(ua,mr));return new g(Math.round(xa),Math.round(jo),Math.round(ma-xa),Math.round(ua-jo))},lr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Se,vt,Ft=(Se=this.ctx.lineDash,vt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Se,lineDashOffset:vt}));this.prevLineDash!==Ft&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ft)}}})(_o.API),function(e){var n=function(v){var g,p,y,S,V,ge,E,nt,Xe,rt;for(/[^\x00-\xFF]/.test(v),p=[],y=0,S=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;S>y;y+=4)(V=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(ge=(V=((V=((V=((V=(V-(rt=V%85))/85)-(Xe=V%85))/85)-(nt=V%85))/85)-(E=V%85))/85)%85,p.push(ge+33,E+33,nt+33,Xe+33,rt+33)):p.push(122);return function(Le,jt){for(var Pt=jt;Pt>0;Pt--)Le.pop()}(p,g.length),String.fromCharCode.apply(String,p)+"~>"},t=function(v){var g,p,y,S,V,ge=String,E="length",nt=255,Xe="charCodeAt",rt="slice",Le="replace";for(v[rt](-2),v=v[rt](0,-2)[Le](/\s/g,"")[Le]("z","!!!!!"),y=[],S=0,V=(v+=g="uuuuu"[rt](v[E]%5||5))[E];V>S;S+=5)p=52200625*(v[Xe](S)-33)+614125*(v[Xe](S+1)-33)+7225*(v[Xe](S+2)-33)+85*(v[Xe](S+3)-33)+(v[Xe](S+4)-33),y.push(nt&p>>24,nt&p>>16,nt&p>>8,nt&p);return function(jt,Pt){for(var mt=Pt;mt>0;mt--)jt.pop()}(y,g[E]),ge.fromCharCode.apply(ge,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var p="",y=0;yXe&&(nt=rt,rt=Xe,Xe=nt);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",Xe>rt&&(nt=rt,rt=Xe,Xe=nt)}return{width:rt,height:Xe,unit:p,k:V,orientation:g}},e.html=function(g,p){(p=p||{}).callback=p.callback||function(){},p.html2canvas=p.html2canvas||{},p.html2canvas.canvas=p.html2canvas.canvas||this.canvas,p.jsPDF=p.jsPDF||this,p.fontFaces=p.fontFaces?p.fontFaces.map(Tl):null;var y=new v(p);return p.worker?y:y.from(g).doCallback()}}(_o.API),_o.API.addJS=function(e){return Qv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Qv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),A=0;A> endobj")}var E=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+E+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,A){var v={title:o,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var p=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+p.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var y=0;y>"}),"transparency"in ot&&Array.isArray(ot.transparency)&&ot.transparency.length>0){for(var jn="",bn=0,Zn=ot.transparency.length;bn>",Xe.content=A;var Pt=Xe.objId+" 0 R";A="<>";else if(r.options.pageNumber)switch(A="<=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length>=1};var y=e.__arabicParser__.arabicLetterHasFinalForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length>=3};var S=e.__arabicParser__.arabicLetterHasMedialForm=function(Xe){return v(Xe)&&A(Xe)&&n[Xe.charCodeAt(0)].length==4},V=e.__arabicParser__.resolveLigatures=function(Xe){var rt=0,Le=t,jt="",Pt=0;for(rt=0;rt>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(g){t=g}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(g){r=isNaN(g)||Number.isInteger(g)===!1||g<0?150:g,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var o=300;Object.defineProperty(this,"height",{get:function(){return o},set:function(g){o=isNaN(g)||Number.isInteger(g)===!1||g<0?300:g,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=o+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(g){A=g}});var v={};Object.defineProperty(this,"style",{get:function(){return v},set:function(g){v=g}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var o;if((t=t||"2d")!=="2d")return null;for(o in r)this.pdf.context2d.hasOwnProperty(o)&&(this.pdf.context2d[o]=r[o]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(_o.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),o.call(this))},o=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var p=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return p},set:function(Xe){p=Xe}});var y=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return y},set:function(Xe){y=Xe}});var S=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return S},set:function(Xe){S=Xe}});var V=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return V},set:function(Xe){V=Xe}});var ge=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return ge},set:function(Xe){ge=Xe}});var E=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return E},set:function(Xe){E=Xe}});var nt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return nt},set:function(Xe){nt=Xe}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(p){return r.call(this),this.internal.__cell__.headerFunction=typeof p=="function"?p:void 0,this},e.getTextDimensions=function(p,y){r.call(this);var S=(y=y||{}).fontSize||this.getFontSize(),V=y.font||this.getFont(),ge=y.scaleFactor||this.internal.scaleFactor,E=0,nt=0,Xe=0,rt=this;if(!Array.isArray(p)&&typeof p!="string"){if(typeof p!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");p=String(p)}var Le=y.maxWidth;Le>0?typeof p=="string"?p=this.splitTextToSize(p,Le):Object.prototype.toString.call(p)==="[object Array]"&&(p=p.reduce(function(Pt,mt){return Pt.concat(rt.splitTextToSize(mt,Le))},[])):p=Array.isArray(p)?p:[p];for(var jt=0;jtthis.getPageHeight()?(this.cellAddPage(),p.y=V.top,E&&ge&&(this.printHeaderRow(p.lineNumber,!0),p.y+=ge[0].height)):p.y=y.y+y.height||p.y),p.text[0]!==void 0&&(this.rect(p.x,p.y,p.width,p.height,t===!0?"FD":void 0),p.align==="right"?this.text(p.text,p.x+p.width-S,p.y+S,{align:"right",baseline:"top"}):p.align==="center"?this.text(p.text,p.x+p.width/2,p.y+S,{align:"center",baseline:"top",maxWidth:p.width-S-S}):this.text(p.text,p.x+S,p.y+S,{align:"left",baseline:"top",maxWidth:p.width-S-S})),this.internal.__cell__.lastCell=p,this};e.table=function(p,y,S,V,ge){if(r.call(this),!S)throw new Error("No data for PDF table.");var E,nt,Xe,rt,Le=[],jt=[],Pt=[],mt={},Cn={},Xn=[],Mn=[],$t=(ge=ge||{}).autoSize||!1,yt=ge.printHeaders!==!1,un=ge.css&&ge.css["font-size"]!==void 0?16*ge.css["font-size"]:ge.fontSize||12,Oe=ge.margins||Object.assign({width:this.getPageWidth()},n),ot=typeof ge.padding=="number"?ge.padding:3,Tt=ge.headerBackgroundColor||"#c8c8c8",Dt=ge.headerTextColor||"#000";if(o.call(this),this.internal.__cell__.printHeaders=yt,this.internal.__cell__.margins=Oe,this.internal.__cell__.table_font_size=un,this.internal.__cell__.padding=ot,this.internal.__cell__.headerBackgroundColor=Tt,this.internal.__cell__.headerTextColor=Dt,this.setFontSize(un),V==null)jt=Le=Object.keys(S[0]),Pt=Le.map(function(){return"left"});else if(Array.isArray(V)&&(0,a.Z)(V[0])==="object")for(Le=V.map(function(jr){return jr.name}),jt=V.map(function(jr){return jr.prompt||jr.name||""}),Pt=V.map(function(jr){return jr.align||"left"}),E=0;E0&&this.setTableHeaderRow(ge),this.setFont(void 0,"normal"),t=!1}}(_o.API);var Ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Pc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Js=sA(Pc),rl=[100,200,300,400,500,600,700,800,900],Ru=sA(rl);function Tl(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return Ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),o=function(A){return typeof Js[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:o,src:e.src||[],ref:e.ref||{name:n,style:[o,t,r].join(" ")}}}function Rc(e,n,t,r){var o;for(o=t;o>=0&&o=0&&o>>1)&255}return o}function Kv(e,n,t){var r=e.length,o=[];o[0]=4;for(var A=0;A>A&v}function Zv(e,n,t,r){var o=t*r,A=Math.floor(o/8),v=16-(o-8*A+r),g=(1<>8&255;y.setUint8(S,ge)}})(e,A,zv(e,A)&~(g<>7,v=1<<1+(7&o);e[n++],e[n++];var g=null,p=null;A&&(g=n,p=v,n+=3*v);var y=!0,S=[],V=0,ge=null,E=0,nt=null;for(this.width=t,this.height=r;y&&n=0))throw Error("Invalid block size");if(Oe===0)break;n+=Oe}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var Xe=e[n++];V=e[n++]|e[n++]<<8,ge=e[n++],1&Xe||(ge=null),E=Xe>>2&7,n++;break;case 254:for(;;){if(!((Oe=e[n++])>=0))throw Error("Invalid block size");if(Oe===0)break;n+=Oe}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var rt=e[n++]|e[n++]<<8,Le=e[n++]|e[n++]<<8,jt=e[n++]|e[n++]<<8,Pt=e[n++]|e[n++]<<8,mt=e[n++],Cn=mt>>6&1,Xn=1<<1+(7&mt),Mn=g,$t=p,yt=!1;mt>>7&&(yt=!0,Mn=n,$t=Xn,n+=3*Xn);var un=n;for(n++;;){var Oe;if(!((Oe=e[n++])>=0))throw Error("Invalid block size");if(Oe===0)break;n+=Oe}S.push({x:rt,y:Le,width:jt,height:Pt,has_local_palette:yt,palette_offset:Mn,palette_size:$t,data_offset:un,data_length:n-un,transparent_index:ge,interlaced:!!Cn,delay:V,disposal:E});break;case 59:y=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return S.length},this.loopCount=function(){return nt},this.frameInfo=function(ot){if(ot<0||ot>=S.length)throw new Error("Frame index out of range.");return S[ot]},this.decodeAndBlitFrameBGRA=function(ot,Tt){var Dt=this.frameInfo(ot),Sn=Dt.width*Dt.height,Rn=new Uint8Array(Sn);_v(e,Dt.data_offset,Rn,Sn);var jn=Dt.palette_offset,bn=Dt.transparent_index;bn===null&&(bn=256);var Zn=Dt.width,jr=t-Zn,lr=Zn,Se=4*(Dt.y*t+Dt.x),vt=4*((Dt.y+Dt.height)*t+Dt.x),Ft=Se,Kt=4*jr;Dt.interlaced===!0&&(Kt+=4*t*7);for(var en=8,mn=0,Tn=Rn.length;mn=vt&&(Kt=4*jr+4*t*(en-1),Ft=Se+(Zn+jr)*(en<<1),en>>=1)),Hn===bn)Ft+=4;else{var tr=e[jn+3*Hn],Lr=e[jn+3*Hn+1],po=e[jn+3*Hn+2];Tt[Ft++]=po,Tt[Ft++]=Lr,Tt[Ft++]=tr,Tt[Ft++]=255}--lr}},this.decodeAndBlitFrameRGBA=function(ot,Tt){var Dt=this.frameInfo(ot),Sn=Dt.width*Dt.height,Rn=new Uint8Array(Sn);_v(e,Dt.data_offset,Rn,Sn);var jn=Dt.palette_offset,bn=Dt.transparent_index;bn===null&&(bn=256);var Zn=Dt.width,jr=t-Zn,lr=Zn,Se=4*(Dt.y*t+Dt.x),vt=4*((Dt.y+Dt.height)*t+Dt.x),Ft=Se,Kt=4*jr;Dt.interlaced===!0&&(Kt+=4*t*7);for(var en=8,mn=0,Tn=Rn.length;mn=vt&&(Kt=4*jr+4*t*(en-1),Ft=Se+(Zn+jr)*(en<<1),en>>=1)),Hn===bn)Ft+=4;else{var tr=e[jn+3*Hn],Lr=e[jn+3*Hn+1],po=e[jn+3*Hn+2];Tt[Ft++]=tr,Tt[Ft++]=Lr,Tt[Ft++]=po,Tt[Ft++]=255}--lr}}}function _v(e,n,t,r){for(var o=e[n++],A=1<>=p,S-=p,rt!==A){if(rt===v)break;for(var Le=rtA;)Pt=nt[Pt]>>8,++jt;var mt=Pt;if(ge+jt+(Le!==rt?1:0)>r)return void wA.log("Warning, gif stream longer than expected.");t[ge++]=mt;var Cn=ge+=jt;for(Le!==rt&&(t[ge++]=mt),Pt=Le;jt--;)Pt=nt[Pt],t[--Cn]=255&Pt,Pt>>=8;Xe!==null&&g<4096&&(nt[g++]=Xe<<8|mt,g>=y+1&&p<12&&(++p,y=y<<1|1)),Xe=rt}else g=v+1,y=(1<<(p=o+1))-1,Xe=null}return ge!==r&&wA.log("Warning, gif stream shorter than expected."),t}function Vg(e){var n,t,r,o,A,v=Math.floor,g=new Array(64),p=new Array(64),y=new Array(64),S=new Array(64),V=new Array(65535),ge=new Array(65535),E=new Array(64),nt=new Array(64),Xe=[],rt=0,Le=7,jt=new Array(64),Pt=new Array(64),mt=new Array(64),Cn=new Array(256),Xn=new Array(2048),Mn=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],$t=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],yt=[0,1,2,3,4,5,6,7,8,9,10,11],un=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Oe=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],ot=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Tt=[0,1,2,3,4,5,6,7,8,9,10,11],Dt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],Sn=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Rn(Se,vt){for(var Ft=0,Kt=0,en=new Array,mn=1;mn<=16;mn++){for(var Tn=1;Tn<=Se[mn];Tn++)en[vt[Kt]]=[],en[vt[Kt]][0]=Ft,en[vt[Kt]][1]=mn,Kt++,Ft++;Ft*=2}return en}function jn(Se){for(var vt=Se[0],Ft=Se[1]-1;Ft>=0;)vt&1<>8&255),bn(255&Se)}function jr(Se,vt,Ft,Kt,en){for(var mn,Tn=en[0],Hn=en[240],tr=function(mr,xa){var jo,ma,ua,dA,Li,Ga,Ti,Ni,Xo,ni,na=0;for(Xo=0;Xo<8;++Xo){jo=mr[na],ma=mr[na+1],ua=mr[na+2],dA=mr[na+3],Li=mr[na+4],Ga=mr[na+5],Ti=mr[na+6];var Cs=jo+(Ni=mr[na+7]),$i=jo-Ni,mi=ma+Ti,yi=ma-Ti,XA=ua+Ga,ha=ua-Ga,RA=dA+Li,La=dA-Li,$a=Cs+RA,YA=Cs-RA,xi=mi+XA,Sa=mi-XA;mr[na]=$a+xi,mr[na+4]=$a-xi;var fA=.707106781*(Sa+YA);mr[na+2]=YA+fA,mr[na+6]=YA-fA;var of=.382683433*(($a=La+ha)-(Sa=yi+$i)),Bl=.5411961*$a+of,Mu=1.306562965*Sa+of,du=.707106781*(xi=ha+yi),Ia=$i+du,Tu=$i-du;mr[na+5]=Tu+Bl,mr[na+3]=Tu-Bl,mr[na+1]=Ia+Mu,mr[na+7]=Ia-Mu,na+=8}for(na=0,Xo=0;Xo<8;++Xo){jo=mr[na],ma=mr[na+8],ua=mr[na+16],dA=mr[na+24],Li=mr[na+32],Ga=mr[na+40],Ti=mr[na+48];var ju=jo+(Ni=mr[na+56]),sc=jo-Ni,lc=ma+Ti,us=ma-Ti,qs=ua+Ga,ol=ua-Ga,af=dA+Li,bd=dA-Li,jc=ju+af,fu=ju-af,Hc=lc+qs,Kc=lc-qs;mr[na]=jc+Hc,mr[na+32]=jc-Hc;var cc=.707106781*(Kc+fu);mr[na+16]=fu+cc,mr[na+48]=fu-cc;var Af=.382683433*((jc=bd+ol)-(Kc=us+sc)),hu=.5411961*jc+Af,sf=1.306562965*Kc+Af,kf=.707106781*(Hc=ol+us),Wf=sc+kf,Vf=sc-kf;mr[na+40]=Vf+hu,mr[na+24]=Vf-hu,mr[na+8]=Wf+sf,mr[na+56]=Wf-sf,na++}for(Xo=0;Xo<64;++Xo)ni=mr[Xo]*xa[Xo],E[Xo]=ni>0?ni+.5|0:ni-.5|0;return E}(Se,vt),Lr=0;Lr<64;++Lr)nt[Mn[Lr]]=tr[Lr];var po=nt[0]-Ft;Ft=nt[0],po==0?jn(Kt[0]):(jn(Kt[ge[mn=32767+po]]),jn(V[mn]));for(var ho=63;ho>0&&nt[ho]==0;)ho--;if(ho==0)return jn(Tn),Ft;for(var sa,at=1;at<=ho;){for(var mo=at;nt[at]==0&&at<=ho;)++at;var fi=at-mo;if(fi>=16){sa=fi>>4;for(var Ca=1;Ca<=sa;++Ca)jn(Hn);fi&=15}mn=32767+nt[at],jn(en[(fi<<4)+ge[mn]]),jn(V[mn]),at++}return ho!=63&&jn(Tn),Ft}function lr(Se){Se=Math.min(Math.max(Se,1),100),A!=Se&&(function(vt){for(var Ft=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],Kt=0;Kt<64;Kt++){var en=v((Ft[Kt]*vt+50)/100);en=Math.min(Math.max(en,1),255),g[Mn[Kt]]=en}for(var mn=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],Tn=0;Tn<64;Tn++){var Hn=v((mn[Tn]*vt+50)/100);Hn=Math.min(Math.max(Hn,1),255),p[Mn[Tn]]=Hn}for(var tr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Lr=0,po=0;po<8;po++)for(var ho=0;ho<8;ho++)y[Lr]=1/(g[Mn[Lr]]*tr[po]*tr[ho]*8),S[Lr]=1/(p[Mn[Lr]]*tr[po]*tr[ho]*8),Lr++}(Se<50?Math.floor(5e3/Se):Math.floor(200-2*Se)),A=Se)}this.encode=function(Se,vt){vt&&lr(vt),Xe=new Array,rt=0,Le=7,Zn(65496),Zn(65504),Zn(16),bn(74),bn(70),bn(73),bn(70),bn(0),bn(1),bn(1),bn(0),Zn(1),Zn(1),bn(0),bn(0),function(){Zn(65499),Zn(132),bn(0);for(var ma=0;ma<64;ma++)bn(g[ma]);bn(1);for(var ua=0;ua<64;ua++)bn(p[ua])}(),function(ma,ua){Zn(65472),Zn(17),bn(8),Zn(ua),Zn(ma),bn(3),bn(1),bn(17),bn(0),bn(2),bn(17),bn(1),bn(3),bn(17),bn(1)}(Se.width,Se.height),function(){Zn(65476),Zn(418),bn(0);for(var ma=0;ma<16;ma++)bn($t[ma+1]);for(var ua=0;ua<=11;ua++)bn(yt[ua]);bn(16);for(var dA=0;dA<16;dA++)bn(un[dA+1]);for(var Li=0;Li<=161;Li++)bn(Oe[Li]);bn(1);for(var Ga=0;Ga<16;Ga++)bn(ot[Ga+1]);for(var Ti=0;Ti<=11;Ti++)bn(Tt[Ti]);bn(17);for(var Ni=0;Ni<16;Ni++)bn(Dt[Ni+1]);for(var Xo=0;Xo<=161;Xo++)bn(Sn[Xo])}(),Zn(65498),Zn(12),bn(3),bn(1),bn(0),bn(2),bn(17),bn(3),bn(17),bn(0),bn(63),bn(0);var Ft=0,Kt=0,en=0;rt=0,Le=7,this.encode.displayName="_encode_";for(var mn,Tn,Hn,tr,Lr,po,ho,sa,at,mo=Se.data,fi=Se.width,Ca=Se.height,mr=4*fi,xa=0;xa>3)*mr+(ho=4*(7&at)),xa+sa>=Ca&&(po-=mr*(xa+1+sa-Ca)),mn+ho>=mr&&(po-=mn+ho-mr+4),Tn=mo[po++],Hn=mo[po++],tr=mo[po++],jt[at]=(Xn[Tn]+Xn[Hn+256|0]+Xn[tr+512|0]>>16)-128,Pt[at]=(Xn[Tn+768|0]+Xn[Hn+1024|0]+Xn[tr+1280|0]>>16)-128,mt[at]=(Xn[Tn+1280|0]+Xn[Hn+1536|0]+Xn[tr+1792|0]>>16)-128;Ft=jr(jt,y,Ft,n,r),Kt=jr(Pt,S,Kt,t,o),en=jr(mt,S,en,t,o),mn+=32}xa+=8}if(Le>=0){var jo=[];jo[1]=Le+1,jo[0]=(1<ot;ot++)if(yt[un+ot]!=Oe.charCodeAt(ot))return!0;return!1}function r(yt,un,Oe,ot,Tt){for(var Dt=0;DtDt+1?[]:new un),!(Sn.length>>0;s&B;)B>>>=1;return B?(s&B-1)+B:s}function Oe(s,h,B,P,te){n(!(P%B));do s[h+(P-=B)]=te;while(0=te),512>=te)var pe=A(512);else if((pe=A(te))==null)return 0;return function(Ee,je,Ge,st,Vt,wn){var lt,Jt,fn=je,Gn=1<lt;++lt){if(yn[lt]>1<(si-=yn[lt]))return 0;for(;0=lt;++lt,Vt<<=1){if(Mo+=si<<=1,0>(si-=yn[lt]))return 0;for(;0Sr&&!(0>=(qn-=yn[Sr]));)++Sr,qn<<=1;Gn+=ko=1<<(qn=Sr-Ge),Ee[je+(Sr=ea&dr)].g=qn+Ge,Ee[je+Sr].value=fn-je-Sr}st.g=lt-Ge,st.value=wn[Jt++],Oe(Ee,fn+(ea>>Ge),Vt,ko,st),ea=un(ea,lt)}}return Mo!=2*Yn[15]-1?0:Gn}(s,h,B,P,te,pe)}function Tt(){this.value=this.g=0}function Dt(){this.value=this.g=0}function Sn(){this.G=v(5,Tt),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=v(yf,Dt)}function Rn(s,h,B,P){n(s!=null),n(h!=null),n(2147483648>P),s.Ca=254,s.I=0,s.b=-8,s.Ka=0,s.oa=h,s.pa=B,s.Jd=h,s.Yc=B+P,s.Zc=4<=P?B+P-4+1:B,Tn(s)}function jn(s,h){for(var B=0;0P),s.Sb=P,s.Ra=0,s.u=0,s.h=0,4>>=8,s.Ra+=s.oa[s.pa+s.bb]<>>0,++s.bb,s.u-=8;Kt(s)&&(s.h=1,s.u=0)}function lr(s,h){if(n(0<=h),!s.h&&h<=Vl){var B=Ft(s)&Wl[h];return s.u+=h,jr(s),B}return s.h=1,s.u=0}function Se(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function vt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Ft(s){return s.Ra>>>(s.u&xd-1)>>>0}function Kt(s){return n(s.bb<=s.Sb),s.h||s.bb==s.Sb&&s.u>xd}function en(s,h){s.u=h,s.h=Kt(s)}function mn(s){s.u>=Xu&&(n(s.u>=Xu),jr(s))}function Tn(s){n(s!=null&&s.oa!=null),s.pa>>0,s.b+=8):(n(s!=null&&s.oa!=null),s.pas.b&&Tn(s);var P=s.b,te=B*h>>>8,pe=(s.I>>>P>te)+0;for(pe?(B-=te,s.I-=te+1<

        >>0):B=te+1,P=B,te=0;256<=P;)te+=8,P>>=8;return P=7^te+Ed[P],s.b-=P,s.Ca=(B<>24&255,s[h+1]=B>>16&255,s[h+2]=B>>8&255,s[h+3]=255&B}function po(s,h){return s[h+0]|s[h+1]<<8}function ho(s,h){return po(s,h)|s[h+2]<<16}function sa(s,h){return po(s,h)|po(s,h+2)<<16}function at(s,h){var B=1<=te||0>=pe?0:(B[0]=te,P[0]=pe,1)}function mr(s,h){return s+(1<>>h}function xa(s,h){return((4278255360&s)+(4278255360&h)>>>0&4278255360)+((16711935&s)+(16711935&h)>>>0&16711935)>>>0}function jo(s,h){yt[h]=function(B,P,te,pe,Ee,je,Ge){var st;for(st=0;st>>1)+(s&h)>>>0}function dA(s){return 0<=s&&256>s?s:0>s?0:255>1))}function Ga(s,h,B){return Math.abs(h-B)-Math.abs(s-B)}function Ti(s,h,B,P,te,pe,Ee){for(P=pe[Ee-1],B=0;B>8&255,Ge=16711935&(Ge=(Ge=16711935&Ee)+((je<<16)+je));P[te+pe]=(4278255360&Ee)+Ge>>>0}}function Xo(s,h){h.jd=255&s,h.hd=s>>8&255,h.ud=s>>16&255}function ni(s,h,B,P,te,pe){var Ee;for(Ee=0;Ee>>8,st=je,Vt=255&(Vt=(Vt=je>>>16)+((s.jd<<24>>24)*(Ge<<24>>24)>>>5));st=255&(st=(st+=(s.hd<<24>>24)*(Ge<<24>>24)>>>5)+((s.ud<<24>>24)*(Vt<<24>>24)>>>5)),te[pe+Ee]=(4278255360&je)+(Vt<<16)+st}}function na(s,h,B,P,te){yt[h]=function(pe,Ee,je,Ge,st,Vt,wn,lt,Jt){for(Ge=wn;Ge>pe.b,Jt=pe.Ea,fn=pe.K[0],Gn=pe.w;if(8>lt)for(pe=(1<>=lt}else yt["VP8LMapColor"+B](Ge,st,fn,Gn,Vt,wn,Ee,je,Jt)}}function Cs(s,h,B,P,te){for(B=h+B;h>16&255,P[te++]=pe>>8&255,P[te++]=255&pe}}function $i(s,h,B,P,te){for(B=h+B;h>16&255,P[te++]=pe>>8&255,P[te++]=255&pe,P[te++]=pe>>24&255}}function mi(s,h,B,P,te){for(B=h+B;h>16&240|Ee>>12&15,Ee=240&Ee|Ee>>28&15;P[te++]=pe,P[te++]=Ee}}function yi(s,h,B,P,te){for(B=h+B;h>16&248|Ee>>13&7,Ee=Ee>>5&224|Ee>>3&31;P[te++]=pe,P[te++]=Ee}}function XA(s,h,B,P,te){for(B=h+B;h>8&255,P[te++]=pe>>16&255}}function ha(s,h,B,P,te,pe){if(pe==0)for(B=h+B;h>24|pe[1]>>8&65280|pe[2]<<8&16711680|pe[3]<<24)>>>0),te+=32;else r(P,te,s,h,B)}function RA(s,h){yt[h][0]=yt[s+"0"],yt[h][1]=yt[s+"1"],yt[h][2]=yt[s+"2"],yt[h][3]=yt[s+"3"],yt[h][4]=yt[s+"4"],yt[h][5]=yt[s+"5"],yt[h][6]=yt[s+"6"],yt[h][7]=yt[s+"7"],yt[h][8]=yt[s+"8"],yt[h][9]=yt[s+"9"],yt[h][10]=yt[s+"10"],yt[h][11]=yt[s+"11"],yt[h][12]=yt[s+"12"],yt[h][13]=yt[s+"13"],yt[h][14]=yt[s+"0"],yt[h][15]=yt[s+"0"]}function La(s){return s==dv||s==fv||s==vg||s==hv}function $a(){this.eb=[],this.size=this.A=this.fb=0}function YA(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function xi(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new $a,this.f.kb=new YA,this.sd=null}function Sa(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fA(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function of(s){return alert("todo:WebPSamplerProcessPlane"),s.T}function Bl(s,h){var B=s.T,P=h.ba.f.RGBA,te=P.eb,pe=P.fb+s.ka*P.A,Ee=vc[h.ba.S],je=s.y,Ge=s.O,st=s.f,Vt=s.N,wn=s.ea,lt=s.W,Jt=h.cc,fn=h.dc,Gn=h.Mc,yn=h.Nc,Yn=s.ka,qn=s.ka+s.T,Sr=s.U,dr=Sr+1>>1;for(Yn==0?Ee(je,Ge,null,null,st,Vt,wn,lt,st,Vt,wn,lt,te,pe,null,null,Sr):(Ee(h.ec,h.fc,je,Ge,Jt,fn,Gn,yn,st,Vt,wn,lt,te,pe-P.A,te,pe,Sr),++B);Yn+2B,te=B==fg||B==hg||B==gg||B==uv||B==12||La(B);if(h.memory=null,h.Ib=null,h.Jb=null,h.Nd=null,!e0(h.Oa,s,te?11:12))return 0;if(te&&La(B)&&Yh(),s.da)alert("todo:use_scaling");else{if(P){if(h.Ib=of,s.Kb){if(B=s.U+1>>1,h.memory=A(s.U+2*B),h.memory==null)return 0;h.ec=h.memory,h.fc=0,h.cc=h.ec,h.dc=h.fc+s.U,h.Mc=h.cc,h.Nc=h.dc+B,h.Ib=Bl,Yh()}}else alert("todo:EmitYUV");te&&(h.Jb=Mu,P&&zc())}if(P&&!yp){for(s=0;256>s;++s)pm[s]=89858*(s-128)+mg>>pg,bm[s]=-22014*(s-128)+mg,ym[s]=-45773*(s-128),mm[s]=113618*(s-128)+mg>>pg;for(s=c0;s>pg,wm[s-c0]=gu(h,255),Bm[s-c0]=gu(h+8>>4,15);yp=1}return 1}function Ia(s){var h=s.ma,B=s.U,P=s.T;return n(!(1&s.ka)),0>=B||0>=P?0:(B=h.Ib(s,h),h.Jb!=null&&h.Jb(s,h,B),h.Dc+=B,1)}function Tu(s){s.ma.memory=null}function ju(s,h,B,P){return lr(s,8)!=47?0:(h[0]=lr(s,14)+1,B[0]=lr(s,14)+1,P[0]=lr(s,1),lr(s,3)!=0?0:!s.h)}function sc(s,h){if(4>s)return s+1;var B=s-2>>1;return(2+(1&s)<>4)*s+(8-(15&B)))?B:1;var B}function us(s,h,B){var P=Ft(B),te=s[h+=255&P].g-8;return 0>>0,n(8>=B.g),s.g}function ol(s,h,B){var P=s.xc;return n((h=P==0?0:s.vc[s.md*(B>>P)+(h>>P)])>ko.b)*Mo;GnSr&&(Wo=Sr),(0,o0[ji[Zs++]>>8&15])(lt,Jt+ +li,Yn,qn+li-Sr,Wo-li,Yn,qn+li),li=Wo}Jt+=Sr,qn+=Sr,++Gn&ea||(ko+=Mo)}wn!=st.nc&&r(Ge,je-fn,Ge,je+(wn-Vt-1)*fn,fn);break;case 1:for(fn=lt,yn=Jt,Sr=(lt=st.Ea)-(qn=lt&~(Yn=(Jt=1<>st.b)*Gn;Vt=te),0pe.o&&(P=pe.o),B=P?B=0:(te[0]+=4*pe.v,pe.ka=B-pe.j,pe.U=pe.va-pe.v,pe.T=P-B,B=1),B){if(je=je[0],11>(B=s.ca).S){var Vt=B.f.RGBA,wn=(P=B.S,te=pe.U,pe=pe.T,st=Vt.eb,Vt.A),lt=pe;for(Vt=Vt.fb+s.Ma*Vt.A;0P){var te=s.l.width,pe=B.ca,Ee=B.tb+te*P,je=s.V,Ge=s.Ba+s.c*P,st=s.gc;n(s.ab==1),n(st[0].hc==3),yu(st[0],P,h,je,Ge,pe,Ee),fu(B,P,h,pe,Ee,te)}s.C=s.Ma=h}function Kc(s,h,B,P,te,pe,Ee){var je=s.$/P,Ge=s.$%P,st=s.m,Vt=s.s,wn=B+s.$,lt=wn;te=B+P*te;var Jt=B+P*pe,fn=280+Vt.ua,Gn=s.Pb?je:16777216,yn=0=Gn){var ea=wn-B;n((Gn=s).Pb),Gn.wd=Gn.m,Gn.xd=ea,0si.g?(en(dr,dr.u+si.g),ea[Mo]=si.value,dr=0):(en(dr,dr.u+si.g-256),n(256<=si.value),dr=si.value),dr==0&&(Sr=!0)}else dr=us(qn.G[0],qn.H[0],st);if(st.h)break;if(Sr||256>dr){if(!Sr)if(qn.nd)h[wn]=(qn.qb|dr<<8)>>>0;else{if(mn(st),Sr=us(qn.G[1],qn.H[1],st),mn(st),ea=us(qn.G[2],qn.H[2],st),Mo=us(qn.G[3],qn.H[3],st),st.h)break;h[wn]=(Mo<<24|Sr<<16|dr<<8|ea)>>>0}if(Sr=!1,++wn,++Ge>=P&&(Ge=0,++je,Ee!=null&&je<=pe&&!(je%16)&&Ee(s,je),yn!=null))for(;lt>>yn.Mb]=dr}else if(280>dr){if(dr=sc(dr-256,st),ea=us(qn.G[4],qn.H[4],st),mn(st),ea=lc(P,ea=sc(ea,st)),st.h)break;if(wn-B=P;)Ge-=P,++je,Ee!=null&&je<=pe&&!(je%16)&&Ee(s,je);if(n(wn<=te),Ge&Yn&&(qn=ol(Vt,Ge,je)),yn!=null)for(;lt>>yn.Mb]=dr}else{if(!(dr>>yn.Mb]=dr;dr=wn,n(!(Sr>>>(ea=yn).Xa)),h[dr]=ea.X[Sr],Sr=!0}Sr||n(st.h==Kt(st))}if(s.Pb&&st.h&&wnpe?pe:je),s.a=0,s.$=wn-B}return 1}return s.a=3,0}function cc(s){n(s!=null),s.vc=null,s.yc=null,s.Ya=null;var h=s.Wa;h!=null&&(h.X=null),s.vb=null,n(s!=null)}function Af(){var s=new ja;return s==null?null:(s.a=0,s.xb=fp,RA("Predictor","VP8LPredictors"),RA("Predictor","VP8LPredictors_C"),RA("PredictorAdd","VP8LPredictorsAdd"),RA("PredictorAdd","VP8LPredictorsAdd_C"),xs=Ni,a0=ni,i0=Cs,Sd=$i,Id=mi,Fd=yi,bf=XA,yt.VP8LMapColor32b=mu,yt.VP8LMapColor8b=r0,s)}function hu(s,h,B,P,te){var pe=1,Ee=[s],je=[h],Ge=P.m,st=P.s,Vt=null,wn=0;e:for(;;){if(B)for(;pe&&lr(Ge,1);){var lt=Ee,Jt=je,fn=P,Gn=1,yn=fn.m,Yn=fn.gc[fn.ab],qn=lr(yn,2);if(fn.Oc&1<=fn.ab),qn){case 0:case 1:Yn.b=lr(yn,3)+2,Gn=hu(mr(Yn.Ea,Yn.b),mr(Yn.nc,Yn.b),0,fn,Yn.K),Yn.K=Yn.K[0];break;case 3:var Sr,dr=lr(yn,8)+1,ea=16>ko.b),Zs=A(ji);if(Zs==null)Sr=0;else{var li=ko.K[0],Wo=ko.w;for(Zs[0]=ko.K[0][0],Mo=1;Mo<1*si;++Mo)Zs[Mo]=xa(li[Wo+Mo],Zs[Mo-1]);for(;Mo<4*ji;++Mo)Zs[Mo]=0;ko.K[0]=null,ko.K[0]=Zs,Sr=1}}Gn=Sr;break;case 2:break;default:n(0)}pe=Gn}}if(Ee=Ee[0],je=je[0],pe&&lr(Ge,1)&&!(pe=1<=(wn=lr(Ge,4))&&11>=wn)){P.a=3;break e}var Ao;if(Ao=pe)t:{var Ss,Xa,_i,_A=P,Al=Ee,Ul=je,ds=wn,Cl=B,Ll=_A.m,zs=_A.s,Yi=[null],BA=1,fs=0,CA=om[ds];n:for(;;){if(Cl&&lr(Ll,1)){var sl=lr(Ll,3)+2,kc=mr(Al,sl),Is=mr(Ul,sl),jl=kc*Is;if(!hu(kc,Is,0,_A,Yi))break n;for(Yi=Yi[0],zs.xc=sl,Ss=0;Ss>8&65535;Yi[Ss]=UA,UA>=BA&&(BA=UA+1)}}if(Ll.h)break n;for(Xa=0;5>Xa;++Xa){var _s=up[Xa];!Xa&&0=Nl),Yl=Xl;var Hl=A(fs);if(Yl==null||Hl==null||$l==null){_A.a=1;break n}var Jl=$l;for(Ss=_i=0;SsXa;++Xa){_s=up[Xa],ql[Xa]=Jl,Wc[Xa]=_i,!Xa&&0xg)break r}else bv=xg;for(d0=0;d0rh)Sp[d0++]=rh,rh!=0&&(Ip=rh);else{var Nm=rh==16,Up=rh-16,Qm=em[Up],Lp=lr(Qd,qp[Up])+Qm;if(d0+Lp>xg)break r;for(var Pm=Nm?Ip:0;0=Xa){var f0,Bv=Hl[0];for(f0=1;f0<_s;++f0)Hl[f0]>Bv&&(Bv=Hl[f0]);ll+=Bv}}if(MA.nd=qu,MA.Qb=0,qu&&(MA.qb=(ql[3][Wc[3]+0].value<<24|ql[1][Wc[1]+0].value<<16|ql[2][Wc[2]+0].value)>>>0,Bf==0&&256>ql[0][Wc[0]+0].value&&(MA.Qb=1,MA.qb+=ql[0][Wc[0]+0].value<<8)),MA.jc=!MA.Qb&&6>ll,MA.jc){var Eg,ed=MA;for(Eg=0;Eg>=qs(Sg,8,Rd),Pd>>=qs(ed.G[1][ed.H[1]+Pd],16,Rd),Pd>>=qs(ed.G[2][ed.H[2]+Pd],0,Rd),qs(ed.G[3][ed.H[3]+Pd],24,Rd))}}}zs.vc=Yi,zs.Wb=BA,zs.Ya=Yl,zs.yc=$l,Ao=1;break t}Ao=0}if(!(pe=Ao)){P.a=3;break e}if(0P+1?[]:0),!(te.lengths?0:s>h?h:s}function Gf(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function $g(){var s=new X0;return s!=null&&(s.a=0,s.sc="OK",s.cb=0,s.Xb=0,l0||(l0=$f)),s}function Qs(s,h,B){return s.a==0&&(s.a=h,s.sc=B,s.cb=0),0}function Y0(s,h,B){return 3<=B&&s[h+0]==157&&s[h+1]==1&&s[h+2]==42}function vu(s,h){if(s==null)return 0;if(s.a=0,s.sc="OK",h==null)return Qs(s,2,"null VP8Io passed to VP8GetHeaders()");var B=h.data,P=h.w,te=h.ha;if(4>te)return Qs(s,7,"Truncated header.");var pe=B[P+0]|B[P+1]<<8|B[P+2]<<16,Ee=s.Od;if(Ee.Rb=!(1&pe),Ee.td=pe>>1&7,Ee.yd=pe>>4&1,Ee.ub=pe>>5,3te)return Qs(s,7,"cannot parse picture header");if(!Y0(B,P,te))return Qs(s,3,"Bad code word");je.c=16383&(B[P+4]<<8|B[P+3]),je.Td=B[P+4]>>6,je.i=16383&(B[P+6]<<8|B[P+5]),je.Ud=B[P+6]>>6,P+=7,te-=7,s.za=je.c+15>>4,s.Ub=je.i+15>>4,h.width=je.c,h.height=je.i,h.Da=0,h.j=0,h.v=0,h.va=h.width,h.o=h.height,h.da=0,h.ib=h.width,h.hb=h.height,h.U=h.width,h.T=h.height,o((pe=s.Pa).jb,0,255,pe.jb.length),n((pe=s.Qa)!=null),pe.Cb=0,pe.Bb=0,pe.Fb=1,o(pe.Zb,0,0,pe.Zb.length),o(pe.Lb,0,0,pe.Lb)}if(Ee.ub>te)return Qs(s,7,"bad partition length");Rn(pe=s.m,B,P,Ee.ub),P+=Ee.ub,te-=Ee.ub,Ee.Rb&&(je.Ld=Hn(pe),je.Kd=Hn(pe)),je=s.Qa;var Ge,st=s.Pa;if(n(pe!=null),n(je!=null),je.Cb=Hn(pe),je.Cb){if(je.Bb=Hn(pe),Hn(pe)){for(je.Fb=Hn(pe),Ge=0;4>Ge;++Ge)je.Zb[Ge]=Hn(pe)?bn(pe,7):0;for(Ge=0;4>Ge;++Ge)je.Lb[Ge]=Hn(pe)?bn(pe,6):0}if(je.Bb)for(Ge=0;3>Ge;++Ge)st.jb[Ge]=Hn(pe)?jn(pe,8):255}else je.Bb=0;if(pe.Ka)return Qs(s,3,"cannot parse segment header");if((je=s.ed).zd=Hn(pe),je.Tb=jn(pe,6),je.wb=jn(pe,3),je.Pc=Hn(pe),je.Pc&&Hn(pe)){for(st=0;4>st;++st)Hn(pe)&&(je.vd[st]=bn(pe,6));for(st=0;4>st;++st)Hn(pe)&&(je.od[st]=bn(pe,6))}if(s.L=je.Tb==0?0:je.zd?1:2,pe.Ka)return Qs(s,3,"cannot parse filter header");var Vt=te;if(te=Ge=P,P=Ge+Vt,je=Vt,s.Xb=(1<je&&(wn=je),Rn(s.Jc[+Vt],B,Ge,wn),Ge+=wn,je-=wn,te+=3}Rn(s.Jc[+st],B,Ge,je),B=Gewn;++wn){if(Vt.Cb){var lt=Vt.Zb[wn];Vt.Fb||(lt+=B)}else{if(0>16,8>Jt.Eb[1]&&(Jt.Eb[1]=8),Jt.Qc[0]=gv[gu(lt+st,117)],Jt.Qc[1]=vv[gu(lt+Ge,127)],Jt.lc=lt+Ge}if(!Ee.Rb)return Qs(s,4,"Not a key frame.");for(Hn(pe),Ee=s.Pa,B=0;4>B;++B){for(te=0;8>te;++te)for(P=0;3>P;++P)for(je=0;11>je;++je)st=tr(pe,cm[B][te][P][je])?jn(pe,8):sm[B][te][P][je],Ee.Wc[B][te].Yb[P][je]=st;for(te=0;17>te;++te)Ee.Xc[B][te]=Ee.Wc[B][um[te]]}return s.kc=Hn(pe),s.kc&&(s.Bd=jn(pe,8)),s.cb=1}function $f(s,h,B,P,te,pe,Ee){var je=h[te].Yb[B];for(B=0;16>te;++te){if(!tr(s,je[B+0]))return te;for(;!tr(s,je[B+1]);)if(je=h[++te].Yb[0],B=0,te==16)return 16;var Ge=h[te+1].Yb;if(tr(s,je[B+2])){var st=s,Vt=0;if(tr(st,(lt=je)[(wn=B)+3]))if(tr(st,lt[wn+6])){for(je=0,wn=2*(Vt=tr(st,lt[wn+8]))+(lt=tr(st,lt[wn+9+Vt])),Vt=0,lt=im[wn];lt[je];++je)Vt+=Vt+tr(st,lt[je]);Vt+=3+(8<(st=s).b&&Tn(st);var wn,lt=st.b,Jt=(wn=st.Ca>>1)-(st.I>>lt)>>31;--st.b,st.Ca+=Jt,st.Ca|=1,st.I-=(wn+1&Jt)<>3),s[h+B+32*P]=-256&te?0>te?0:255:te}function js(s,h,B,P,te,pe){dc(s,h,0,B,P+te),dc(s,h,1,B,P+pe),dc(s,h,2,B,P-pe),dc(s,h,3,B,P-te)}function Hu(s){return(20091*s>>16)+s}function q0(s,h,B,P){var te,pe=0,Ee=A(16);for(te=0;4>te;++te){var je=s[h+0]+s[h+8],Ge=s[h+0]-s[h+8],st=(35468*s[h+4]>>16)-Hu(s[h+12]),Vt=Hu(s[h+4])+(35468*s[h+12]>>16);Ee[pe+0]=je+Vt,Ee[pe+1]=Ge+st,Ee[pe+2]=Ge-st,Ee[pe+3]=je-Vt,pe+=4,h++}for(te=pe=0;4>te;++te)je=(s=Ee[pe+0]+4)+Ee[pe+8],Ge=s-Ee[pe+8],st=(35468*Ee[pe+4]>>16)-Hu(Ee[pe+12]),dc(B,P,0,0,je+(Vt=Hu(Ee[pe+4])+(35468*Ee[pe+12]>>16))),dc(B,P,1,0,Ge+st),dc(B,P,2,0,Ge-st),dc(B,P,3,0,je-Vt),pe++,P+=32}function Xg(s,h,B,P){var te=s[h+0]+4,pe=35468*s[h+4]>>16,Ee=Hu(s[h+4]),je=35468*s[h+1]>>16;js(B,P,0,te+Ee,s=Hu(s[h+1]),je),js(B,P,1,te+pe,s,je),js(B,P,2,te-pe,s,je),js(B,P,3,te-Ee,s,je)}function Yg(s,h,B,P,te){q0(s,h,B,P),te&&q0(s,h+16,B,P+4)}function pu(s,h,B,P){wf(s,h+0,B,P,1),wf(s,h+32,B,P+128,1)}function eg(s,h,B,P){var te;for(s=s[h+0]+4,te=0;4>te;++te)for(h=0;4>h;++h)dc(B,P,h,te,s)}function tg(s,h,B,P){s[h+0]&&hA(s,h+0,B,P),s[h+16]&&hA(s,h+16,B,P+4),s[h+32]&&hA(s,h+32,B,P+128),s[h+48]&&hA(s,h+48,B,P+128+4)}function Xf(s,h,B,P){var te,pe=A(16);for(te=0;4>te;++te){var Ee=s[h+0+te]+s[h+12+te],je=s[h+4+te]+s[h+8+te],Ge=s[h+4+te]-s[h+8+te],st=s[h+0+te]-s[h+12+te];pe[0+te]=Ee+je,pe[8+te]=Ee-je,pe[4+te]=st+Ge,pe[12+te]=st-Ge}for(te=0;4>te;++te)Ee=(s=pe[0+4*te]+3)+pe[3+4*te],je=pe[1+4*te]+pe[2+4*te],Ge=pe[1+4*te]-pe[2+4*te],st=s-pe[3+4*te],B[P+0]=Ee+je>>3,B[P+16]=st+Ge>>3,B[P+32]=Ee-je>>3,B[P+48]=st-Ge>>3,P+=64}function lf(s,h,B){var P,te=h-32,pe=Gl,Ee=255-s[te-1];for(P=0;PB;++B)r(s,h+32*B,s,h-32,16)}function ng(s,h){var B;for(B=16;0P;++P)o(h,B+32*P,s,16)}function tv(s,h){var B,P=16;for(B=0;16>B;++B)P+=s[h-1+32*B]+s[h+B-32];Zc(P>>5,s,h)}function cf(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h-1+32*B];Zc(P>>4,s,h)}function _h(s,h){var B,P=8;for(B=0;16>B;++B)P+=s[h+B-32];Zc(P>>4,s,h)}function nv(s,h){Zc(128,s,h)}function Ka(s,h,B){return s+2*h+B+2>>2}function rv(s,h){var B,P=h-32;for(P=new Uint8Array([Ka(s[P-1],s[P+0],s[P+1]),Ka(s[P+0],s[P+1],s[P+2]),Ka(s[P+1],s[P+2],s[P+3]),Ka(s[P+2],s[P+3],s[P+4])]),B=0;4>B;++B)r(s,h+32*B,P,0,P.length)}function ov(s,h){var B=s[h-1],P=s[h-1+32],te=s[h-1+64],pe=s[h-1+96];Lr(s,h+0,16843009*Ka(s[h-1-32],B,P)),Lr(s,h+32,16843009*Ka(B,P,te)),Lr(s,h+64,16843009*Ka(P,te,pe)),Lr(s,h+96,16843009*Ka(te,pe,pe))}function av(s,h){var B,P=4;for(B=0;4>B;++B)P+=s[h+B-32]+s[h-1+32*B];for(P>>=3,B=0;4>B;++B)o(s,h+32*B,P,4)}function Ku(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1-32],Ee=s[h+0-32],je=s[h+1-32],Ge=s[h+2-32],st=s[h+3-32];s[h+0+96]=Ka(P,te,s[h-1+96]),s[h+1+96]=s[h+0+64]=Ka(B,P,te),s[h+2+96]=s[h+1+64]=s[h+0+32]=Ka(pe,B,P),s[h+3+96]=s[h+2+64]=s[h+1+32]=s[h+0+0]=Ka(Ee,pe,B),s[h+3+64]=s[h+2+32]=s[h+1+0]=Ka(je,Ee,pe),s[h+3+32]=s[h+2+0]=Ka(Ge,je,Ee),s[h+3+0]=Ka(st,Ge,je)}function Zu(s,h){var B=s[h+1-32],P=s[h+2-32],te=s[h+3-32],pe=s[h+4-32],Ee=s[h+5-32],je=s[h+6-32],Ge=s[h+7-32];s[h+0+0]=Ka(s[h+0-32],B,P),s[h+1+0]=s[h+0+32]=Ka(B,P,te),s[h+2+0]=s[h+1+32]=s[h+0+64]=Ka(P,te,pe),s[h+3+0]=s[h+2+32]=s[h+1+64]=s[h+0+96]=Ka(te,pe,Ee),s[h+3+32]=s[h+2+64]=s[h+1+96]=Ka(pe,Ee,je),s[h+3+64]=s[h+2+96]=Ka(Ee,je,Ge),s[h+3+96]=Ka(je,Ge,Ge)}function iv(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1-32],Ee=s[h+0-32],je=s[h+1-32],Ge=s[h+2-32],st=s[h+3-32];s[h+0+0]=s[h+1+64]=pe+Ee+1>>1,s[h+1+0]=s[h+2+64]=Ee+je+1>>1,s[h+2+0]=s[h+3+64]=je+Ge+1>>1,s[h+3+0]=Ge+st+1>>1,s[h+0+96]=Ka(te,P,B),s[h+0+64]=Ka(P,B,pe),s[h+0+32]=s[h+1+96]=Ka(B,pe,Ee),s[h+1+32]=s[h+2+96]=Ka(pe,Ee,je),s[h+2+32]=s[h+3+96]=Ka(Ee,je,Ge),s[h+3+32]=Ka(je,Ge,st)}function Av(s,h){var B=s[h+0-32],P=s[h+1-32],te=s[h+2-32],pe=s[h+3-32],Ee=s[h+4-32],je=s[h+5-32],Ge=s[h+6-32],st=s[h+7-32];s[h+0+0]=B+P+1>>1,s[h+1+0]=s[h+0+64]=P+te+1>>1,s[h+2+0]=s[h+1+64]=te+pe+1>>1,s[h+3+0]=s[h+2+64]=pe+Ee+1>>1,s[h+0+32]=Ka(B,P,te),s[h+1+32]=s[h+0+96]=Ka(P,te,pe),s[h+2+32]=s[h+1+96]=Ka(te,pe,Ee),s[h+3+32]=s[h+2+96]=Ka(pe,Ee,je),s[h+3+64]=Ka(Ee,je,Ge),s[h+3+96]=Ka(je,Ge,st)}function Yf(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1+96];s[h+0+0]=B+P+1>>1,s[h+2+0]=s[h+0+32]=P+te+1>>1,s[h+2+32]=s[h+0+64]=te+pe+1>>1,s[h+1+0]=Ka(B,P,te),s[h+3+0]=s[h+1+32]=Ka(P,te,pe),s[h+3+32]=s[h+1+64]=Ka(te,pe,pe),s[h+3+64]=s[h+2+64]=s[h+0+96]=s[h+1+96]=s[h+2+96]=s[h+3+96]=pe}function kh(s,h){var B=s[h-1+0],P=s[h-1+32],te=s[h-1+64],pe=s[h-1+96],Ee=s[h-1-32],je=s[h+0-32],Ge=s[h+1-32],st=s[h+2-32];s[h+0+0]=s[h+2+32]=B+Ee+1>>1,s[h+0+32]=s[h+2+64]=P+B+1>>1,s[h+0+64]=s[h+2+96]=te+P+1>>1,s[h+0+96]=pe+te+1>>1,s[h+3+0]=Ka(je,Ge,st),s[h+2+0]=Ka(Ee,je,Ge),s[h+1+0]=s[h+3+32]=Ka(B,Ee,je),s[h+1+32]=s[h+3+64]=Ka(P,B,Ee),s[h+1+64]=s[h+3+96]=Ka(te,P,B),s[h+1+96]=Ka(pe,te,P)}function uf(s,h){var B;for(B=0;8>B;++B)r(s,h+32*B,s,h-32,8)}function sv(s,h){var B;for(B=0;8>B;++B)o(s,h,s[h-1],8),h+=32}function zu(s,h,B){var P;for(P=0;8>P;++P)o(h,B+32*P,s,8)}function lv(s,h){var B,P=8;for(B=0;8>B;++B)P+=s[h+B-32]+s[h-1+32*B];zu(P>>4,s,h)}function Wh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h+B-32];zu(P>>3,s,h)}function Vh(s,h){var B,P=4;for(B=0;8>B;++B)P+=s[h-1+32*B];zu(P>>3,s,h)}function rg(s,h){zu(128,s,h)}function _u(s,h,B){var P=s[h-B],te=s[h+0],pe=3*(te-P)+cv[1020+s[h-2*B]-s[h+B]],Ee=ug[112+(pe+4>>3)];s[h-B]=Gl[255+P+ug[112+(pe+3>>3)]],s[h+0]=Gl[255+te-Ee]}function Gh(s,h,B,P){var te=s[h+0],pe=s[h+B];return gc[255+s[h-2*B]-s[h-B]]>P||gc[255+pe-te]>P}function Jf(s,h,B,P){return 4*gc[255+s[h-B]-s[h+0]]+gc[255+s[h-2*B]-s[h+B]]<=P}function $h(s,h,B,P,te){var pe=s[h-3*B],Ee=s[h-2*B],je=s[h-B],Ge=s[h+0],st=s[h+B],Vt=s[h+2*B],wn=s[h+3*B];return 4*gc[255+je-Ge]+gc[255+Ee-st]>P?0:gc[255+s[h-4*B]-pe]<=te&&gc[255+pe-Ee]<=te&&gc[255+Ee-je]<=te&&gc[255+wn-Vt]<=te&&gc[255+Vt-st]<=te&&gc[255+st-Ge]<=te}function df(s,h,B,P){var te=2*P+1;for(P=0;16>P;++P)Jf(s,h+P,B,te)&&_u(s,h+P,B)}function Xh(s,h,B,P){var te=2*P+1;for(P=0;16>P;++P)Jf(s,h+P*B,1,te)&&_u(s,h+P*B,1)}function og(s,h,B,P){var te;for(te=3;0>7,Yn=18*qn+63>>7,qn=9*qn+63>>7;Ge[st-3*Vt]=Gl[255+Ge[st-3*Vt]+qn],Ge[st-2*Vt]=Gl[255+wn+Yn],Ge[st-Vt]=Gl[255+lt+yn],Ge[st+0]=Gl[255+Jt-yn],Ge[st+Vt]=Gl[255+fn-Yn],Ge[st+2*Vt]=Gl[255+Gn-qn]}h+=P}}function Wu(s,h,B,P,te,pe,Ee,je){for(pe=2*pe+1;0>3)],Gn=ug[112+(Gn+3>>3)],yn=fn+1>>1;Ge[st-2*Vt]=Gl[255+Ge[st-2*Vt]+yn],Ge[st-Vt]=Gl[255+wn+Gn],Ge[st+0]=Gl[255+lt-fn],Ge[st+Vt]=Gl[255+Jt-yn]}h+=P}}function ig(s,h,B,P,te,pe){ku(s,h,B,1,16,P,te,pe)}function ff(s,h,B,P,te,pe){ku(s,h,1,B,16,P,te,pe)}function Ag(s,h,B,P,te,pe){var Ee;for(Ee=3;0st?0:255:st)&255,st=Ge,te[pe+je]=Vt}}function DA(s,h,B,P){var te=h.width,pe=h.o;if(n(s!=null&&h!=null),0>B||0>=P||B+P>pe)return null;if(!s.Cc){if(s.ga==null){var Ee;if(s.ga=new ri,(Ee=s.ga==null)||(Ee=h.width*h.o,n(s.Gb.length==0),s.Gb=A(Ee),s.Uc=0,s.Gb==null?Ee=0:(s.mb=s.Gb,s.nb=s.Uc,s.rc=null,Ee=1),Ee=!Ee),!Ee){Ee=s.ga;var je=s.Fa,Ge=s.P,st=s.qc,Vt=s.mb,wn=s.nb,lt=Ge+1,Jt=st-1,fn=Ee.l;if(n(je!=null&&Vt!=null&&h!=null),Ld[0]=null,Ld[1]=Xi,Ld[2]=ns,Ld[3]=Ps,Ee.ca=Vt,Ee.tb=wn,Ee.c=h.width,Ee.i=h.height,n(0=st)h=0;else if(Ee.$a=3&je[Ge+0],Ee.Z=je[Ge+0]>>2&3,Ee.Lc=je[Ge+0]>>4&3,Ge=je[Ge+0]>>6&3,0>Ee.$a||1=Ee.c*Ee.i;Ee=!h}if(Ee)return null;s.ga.Lc!=1?s.Ga=0:P=pe-B}n(s.ga!=null),n(B+P<=pe);e:{if(h=(je=s.ga).c,pe=je.l.o,je.$a==0){if(lt=s.rc,Jt=s.Vc,fn=s.Fa,Ge=s.P+1+B*h,st=s.mb,Vt=s.nb+B*h,n(Ge<=s.P+s.qc),je.Z!=0)for(n(Ld[je.Z]!=null),Ee=0;Ee=h)h=1;else if(je.ic||zc(),je.ic){je=Ee.V,lt=Ee.Ba,Jt=Ee.c;var Gn=Ee.i,yn=(fn=1,Ge=Ee.$/Jt,st=Ee.$%Jt,Vt=Ee.m,wn=Ee.s,Ee.$),Yn=Jt*Gn,qn=Jt*h,Sr=wn.wc,dr=yn(Gn=us(dr.G[0],dr.H[0],Vt)))je[lt+yn]=Gn,++yn,++st>=Jt&&(st=0,++Ge<=h&&!(Ge%16)&&Hc(Ee,Ge));else{if(!(280>Gn)){fn=0;break t}Gn=sc(Gn-256,Vt);var ea,Mo=us(dr.G[4],dr.H[4],Vt);if(mn(Vt),!(yn>=(Mo=lc(Jt,Mo=sc(Mo,Vt)))&&Yn-yn>=Gn)){fn=0;break t}for(ea=0;ea=Jt;)st-=Jt,++Ge<=h&&!(Ge%16)&&Hc(Ee,Ge);ynh?h:Ge);break t}!fn||Vt.h&&yn=pe&&(s.Cc=1),P=1}if(!P)return null;if(s.Cc&&((P=s.ga)!=null&&(P.mc=null),s.ga=null,0>23,je[Ge+4*Ee+1]=je[Ge+4*Ee+1]*wn>>23,je[Ge+4*Ee+2]=je[Ge+4*Ee+2]*wn>>23)}h+=pe}}function Rs(s,h,B,P,te){for(;0>4)*Ge>>16;s[h+2*pe+0]=(240&Ee|Ee>>4)*Ge>>16&240|(15&Ee|Ee<<4)*Ge>>16>>4&15,s[h+2*pe+1]=240&st|je}h+=te}}function al(s,h,B,P,te,pe,Ee,je){var Ge,st,Vt=255;for(st=0;st>8}function zc(){s0=Hs,tp=Rs,np=al,rp=Vu}function Gu(s,h,B){yt[s]=function(P,te,pe,Ee,je,Ge,st,Vt,wn,lt,Jt,fn,Gn,yn,Yn,qn,Sr){var dr,ea=Sr-1>>1,Mo=je[Ge+0]|st[Vt+0]<<16,si=wn[lt+0]|Jt[fn+0]<<16;n(P!=null);var ko=3*Mo+si+131074>>2;for(h(P[te+0],255&ko,ko>>16,Gn,yn),pe!=null&&(ko=3*si+Mo+131074>>2,h(pe[Ee+0],255&ko,ko>>16,Yn,qn)),dr=1;dr<=ea;++dr){var ji=je[Ge+dr]|st[Vt+dr]<<16,Zs=wn[lt+dr]|Jt[fn+dr]<<16,li=Mo+ji+si+Zs+524296,Wo=li+2*(ji+si)>>3;ko=Wo+Mo>>1,Mo=(li=li+2*(Mo+Zs)>>3)+ji>>1,h(P[te+2*dr-1],255&ko,ko>>16,Gn,yn+(2*dr-1)*B),h(P[te+2*dr-0],255&Mo,Mo>>16,Gn,yn+(2*dr-0)*B),pe!=null&&(ko=li+si>>1,Mo=Wo+Zs>>1,h(pe[Ee+2*dr-1],255&ko,ko>>16,Yn,qn+(2*dr-1)*B),h(pe[Ee+2*dr+0],255&Mo,Mo>>16,Yn,qn+(2*dr+0)*B)),Mo=ji,si=Zs}1&Sr||(ko=3*Mo+si+131074>>2,h(P[te+Sr-1],255&ko,ko>>16,Gn,yn+(Sr-1)*B),pe!=null&&(ko=3*si+Mo+131074>>2,h(pe[Ee+Sr-1],255&ko,ko>>16,Yn,qn+(Sr-1)*B)))}}function Yh(){vc[dg]=fm,vc[fg]=hp,vc[lp]=hm,vc[hg]=gp,vc[gg]=vp,vc[uv]=pp,vc[cp]=gm,vc[dv]=hp,vc[fv]=gp,vc[vg]=vp,vc[hv]=pp}function qf(s){return s&~vm?0>s?0:255:s>>mp}function wd(s,h){return qf((19077*s>>8)+(26149*h>>8)-14234)}function hf(s,h,B){return qf((19077*s>>8)-(6419*h>>8)-(13320*B>>8)+8708)}function gf(s,h){return qf((19077*s>>8)+(33050*h>>8)-17685)}function Bd(s,h,B,P,te){P[te+0]=wd(s,B),P[te+1]=hf(s,h,B),P[te+2]=gf(s,h)}function il(s,h,B,P,te){P[te+0]=gf(s,h),P[te+1]=hf(s,h,B),P[te+2]=wd(s,B)}function vf(s,h,B,P,te){var pe=hf(s,h,B);h=pe<<3&224|gf(s,h)>>3,P[te+0]=248&wd(s,B)|pe>>5,P[te+1]=h}function pf(s,h,B,P,te){var pe=240&gf(s,h)|15;P[te+0]=240&wd(s,B)|hf(s,h,B)>>4,P[te+1]=pe}function Jh(s,h,B,P,te){P[te+0]=255,Bd(s,h,B,P,te+1)}function qh(s,h,B,P,te){il(s,h,B,P,te),P[te+3]=255}function Ol(s,h,B,P,te){Bd(s,h,B,P,te),P[te+3]=255}function $u(s,h,B){yt[s]=function(P,te,pe,Ee,je,Ge,st,Vt,wn){for(var lt=Vt+(-2&wn)*B;Vt!=lt;)h(P[te+0],pe[Ee+0],je[Ge+0],st,Vt),h(P[te+1],pe[Ee+0],je[Ge+0],st,Vt+B),te+=2,++Ee,++Ge,Vt+=2*B;1&wn&&h(P[te+0],pe[Ee+0],je[Ge+0],st,Vt)}}function eh(s,h,B){return B==0?s==0?h==0?6:5:h==0?4:0:B}function sg(s,h,B,P,te){switch(s>>>30){case 3:wf(h,B,P,te,0);break;case 2:hc(h,B,P,te);break;case 1:hA(h,B,P,te)}}function fc(s,h){var B,P,te=h.M,pe=h.Nb,Ee=s.oc,je=s.pc+40,Ge=s.oc,st=s.pc+584,Vt=s.oc,wn=s.pc+600;for(B=0;16>B;++B)Ee[je+32*B-1]=129;for(B=0;8>B;++B)Ge[st+32*B-1]=129,Vt[wn+32*B-1]=129;for(0B;++B)r(Ee,je+32*B-4,Ee,je+32*B+12,4);for(B=-1;8>B;++B)r(Ge,st+32*B-4,Ge,st+32*B+4,4),r(Vt,wn+32*B-4,Vt,wn+32*B+4,4)}var Jt=s.Gd,fn=s.Hd+P,Gn=lt.ad,yn=lt.Hc;if(0=s.za-1?o(Yn,qn,Jt[fn].y[15],4):r(Yn,qn,Jt[fn+1].y,0,4)),B=0;4>B;B++)Yn[qn+128+B]=Yn[qn+256+B]=Yn[qn+384+B]=Yn[qn+0+B];for(B=0;16>B;++B,yn<<=2)Yn=Ee,qn=je+bp[B],_c[lt.Ob[B]](Yn,qn),sg(yn,Gn,16*+B,Yn,qn)}else if(Yn=eh(P,te,lt.Ob[0]),Ud[Yn](Ee,je),yn!=0)for(B=0;16>B;++B,yn<<=2)sg(yn,Gn,16*+B,Ee,je+bp[B]);for(B=lt.Gc,Yn=eh(P,te,lt.Dd),Ju[Yn](Ge,st),Ju[Yn](Vt,wn),yn=Gn,Yn=Ge,qn=st,255&(lt=0|B)&&(170<?bu(yn,256,Yn,qn):OA(yn,256,Yn,qn)),lt=Vt,yn=wn,255&(B>>=8)&&(170&B?bu(Gn,320,lt,yn):OA(Gn,320,lt,yn)),teB;++B)r(Jt,fn+B*s.R,Ee,je+32*B,16);for(B=0;8>B;++B)r(Gn,lt+B*s.B,Ge,st+32*B,8),r(yn,Yn+B*s.B,Vt,wn+32*B,8)}}function mf(s,h,B,P,te,pe,Ee,je,Ge){var st=[0],Vt=[0],wn=0,lt=Ge!=null?Ge.kd:0,Jt=Ge!=null?Ge:new ur;if(s==null||12>B)return 7;Jt.data=s,Jt.w=h,Jt.ha=B,h=[h],B=[B],Jt.gb=[Jt.gb];e:{var fn=h,Gn=B,yn=Jt.gb;if(n(s!=null),n(Gn!=null),n(yn!=null),yn[0]=0,12<=Gn[0]&&!t(s,fn[0],"RIFF")){if(t(s,fn[0]+8,"WEBP")){yn=3;break e}var Yn=sa(s,fn[0]+4);if(12>Yn||4294967286Gn[0]-8){yn=7;break e}yn[0]=Yn,fn[0]+=12,Gn[0]-=12}yn=0}if(yn!=0)return yn;for(Yn=0yn[0])yn=7;else{if(!t(qn,Gn[0],"VP8X")){if(sa(qn,Gn[0]+4)!=10){yn=3;break e}if(18>yn[0]){yn=7;break e}var Mo=sa(qn,Gn[0]+8),si=1+ho(qn,Gn[0]+12);if(2147483648<=si*(qn=1+ho(qn,Gn[0]+15))){yn=3;break e}ea!=null&&(ea[0]=Mo),Sr!=null&&(Sr[0]=si),dr!=null&&(dr[0]=qn),Gn[0]+=18,yn[0]-=18,ko[0]=1}yn=0}}if(wn=wn[0],fn=fn[0],yn!=0)return yn;if(Gn=!!(2&fn),!Yn&&wn)return 3;if(pe!=null&&(pe[0]=!!(16&fn)),Ee!=null&&(Ee[0]=Gn),je!=null&&(je[0]=0),Ee=st[0],fn=Vt[0],wn&&Gn&&Ge==null){yn=0;break}if(4>B){yn=7;break}if(Yn&&wn||!Yn&&!wn&&!t(s,h[0],"ALPH")){B=[B],Jt.na=[Jt.na],Jt.P=[Jt.P],Jt.Sa=[Jt.Sa];e:{Mo=s,yn=h,Yn=B;var ko=Jt.gb;Sr=Jt.na,dr=Jt.P,ea=Jt.Sa,si=22,n(Mo!=null),n(Yn!=null),qn=yn[0];var ji=Yn[0];for(n(Sr!=null),n(ea!=null),Sr[0]=null,dr[0]=null,ea[0]=0;;){if(yn[0]=qn,Yn[0]=ji,8>ji){yn=7;break e}var Zs=sa(Mo,qn+4);if(4294967286ko){yn=3;break e}if(!t(Mo,qn,"VP8 ")||!t(Mo,qn,"VP8L")){yn=0;break e}if(ji[0]Yn[0])yn=7;else{if(qn||si){if(ko=sa(ko,Mo+4),12<=Sr&&ko>Sr-12){yn=3;break e}if(lt&&ko>Yn[0]-8){yn=7;break e}dr[0]=ko,yn[0]+=8,Yn[0]-=8,ea[0]=si}else ea[0]=5<=Yn[0]&&ko[Mo+0]==47&&!(ko[Mo+4]>>5),dr[0]=Yn[0];yn=0}if(B=B[0],Jt.Ja=Jt.Ja[0],Jt.xa=Jt.xa[0],h=h[0],yn!=0)break;if(4294967286B){yn=7;break}je=Ee,lt=fn,Gn=pe,s==null||5>B?s=0:5<=B&&s[h+0]==47&&!(s[h+4]>>5)?(Yn=[0],ko=[0],Sr=[0],Zn(dr=new vt,s,h,B),ju(dr,Yn,ko,Sr)?(je!=null&&(je[0]=Yn[0]),lt!=null&&(lt[0]=ko[0]),Gn!=null&&(Gn[0]=Sr[0]),s=1):s=0):s=0}else{if(10>B){yn=7;break}je=fn,s==null||10>B||!Y0(s,h+3,B-3)?s=0:(lt=s[h+0]|s[h+1]<<8|s[h+2]<<16,Gn=16383&(s[h+7]<<8|s[h+6]),s=16383&(s[h+9]<<8|s[h+8]),1<||3<(lt>>1&7)||!(lt>>4&1)||lt>>5>=Jt.Ja||!Gn||!s?s=0:(Ee&&(Ee[0]=Gn),je&&(je[0]=s),s=1))}if(!s||(Ee=Ee[0],fn=fn[0],wn&&(st[0]!=Ee||Vt[0]!=fn)))return 3;Ge!=null&&(Ge[0]=Jt,Ge.offset=h-Ge.w,n(4294967286>h-Ge.w),n(Ge.offset==Ge.ha-B));break}return yn==0||yn==7&&wn&&Ge==null?(pe!=null&&(pe[0]|=Jt.na!=null&&0B||(pe&=-2,Ee&=-2),0>pe||0>Ee||0>=je||0>=Ge||pe+je>P||Ee+Ge>te))return 0;if(h.v=pe,h.j=Ee,h.va=pe+je,h.o=Ee+Ge,h.U=je,h.T=Ge,h.da=s!=null&&0s.S){var h=s.f.RGBA;h.fb+=(s.height-1)*h.A,h.A=-h.A}else h=s.f.kb,s=s.height,h.O+=(s-1)*h.fa,h.fa=-h.fa,h.N+=(s-1>>1)*h.Ab,h.Ab=-h.Ab,h.W+=(s-1>>1)*h.Db,h.Db=-h.Db,h.F!=null&&(h.J+=(s-1)*h.lb,h.lb=-h.lb);return 0}function Cd(s,h,B,P){if(P==null||0>=s||0>=h)return 2;if(B!=null){if(B.Da){var te=B.cd,pe=B.bd,Ee=-2&B.v,je=-2&B.j;if(0>Ee||0>je||0>=te||0>=pe||Ee+te>s||je+pe>h)return 2;s=te,h=pe}if(B.da){if(!Ca(s,h,te=[B.ib],pe=[B.hb]))return 2;s=te[0],h=pe[0]}}P.width=s,P.height=h;e:{var Ge=P.width,st=P.height;if(s=P.S,0>=Ge||0>=st||!(s>=dg&&13>s))s=2;else{if(0>=P.Rd&&P.sd==null){Ee=pe=te=h=0;var Vt=(je=Ge*wp[s])*st;if(11>s||(pe=(st+1)/2*(h=(Ge+1)/2),s==12&&(Ee=(te=Ge)*st)),(st=A(Vt+2*pe+Ee))==null){s=1;break e}P.sd=st,11>s?((Ge=P.f.RGBA).eb=st,Ge.fb=0,Ge.A=je,Ge.size=Vt):((Ge=P.f.kb).y=st,Ge.O=0,Ge.fa=je,Ge.Fd=Vt,Ge.f=st,Ge.N=0+Vt,Ge.Ab=h,Ge.Cd=pe,Ge.ea=st,Ge.W=0+Vt+pe,Ge.Db=h,Ge.Ed=pe,s==12&&(Ge.F=st,Ge.J=0+Vt+2*pe),Ge.Tc=Ee,Ge.lb=te)}if(h=1,te=P.S,pe=P.width,Ee=P.height,te>=dg&&13>te)if(11>te)s=P.f.RGBA,h&=(je=Math.abs(s.A))*(Ee-1)+pe<=s.size,h&=je>=pe*wp[te],h&=s.eb!=null;else{s=P.f.kb,je=(pe+1)/2,Vt=(Ee+1)/2,Ge=Math.abs(s.fa),st=Math.abs(s.Ab);var wn=Math.abs(s.Db),lt=Math.abs(s.lb),Jt=lt*(Ee-1)+pe;h&=Ge*(Ee-1)+pe<=s.Fd,h&=st*(Vt-1)+je<=s.Cd,h=(h&=wn*(Vt-1)+je<=s.Ed)&Ge>=pe&st>=je&wn>=je,h&=s.y!=null,h&=s.f!=null,h&=s.ea!=null,te==12&&(h&=lt>=pe,h&=Jt<=s.Tc,h&=s.F!=null)}else h=0;s=h?0:2}}return s!=0||B!=null&&B.fd&&(s=t0(P)),s}var yf=64,Wl=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Vl=24,xd=32,Xu=8,Ed=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];jo("Predictor0","PredictorAdd0"),yt.Predictor0=function(){return 4278190080},yt.Predictor1=function(s){return s},yt.Predictor2=function(s,h,B){return h[B+0]},yt.Predictor3=function(s,h,B){return h[B+1]},yt.Predictor4=function(s,h,B){return h[B-1]},yt.Predictor5=function(s,h,B){return ua(ua(s,h[B+1]),h[B+0])},yt.Predictor6=function(s,h,B){return ua(s,h[B-1])},yt.Predictor7=function(s,h,B){return ua(s,h[B+0])},yt.Predictor8=function(s,h,B){return ua(h[B-1],h[B+0])},yt.Predictor9=function(s,h,B){return ua(h[B+0],h[B+1])},yt.Predictor10=function(s,h,B){return ua(ua(s,h[B-1]),ua(h[B+0],h[B+1]))},yt.Predictor11=function(s,h,B){var P=h[B+0];return 0>=Ga(P>>24&255,s>>24&255,(h=h[B-1])>>24&255)+Ga(P>>16&255,s>>16&255,h>>16&255)+Ga(P>>8&255,s>>8&255,h>>8&255)+Ga(255&P,255&s,255&h)?P:s},yt.Predictor12=function(s,h,B){var P=h[B+0];return(dA((s>>24&255)+(P>>24&255)-((h=h[B-1])>>24&255))<<24|dA((s>>16&255)+(P>>16&255)-(h>>16&255))<<16|dA((s>>8&255)+(P>>8&255)-(h>>8&255))<<8|dA((255&s)+(255&P)-(255&h)))>>>0},yt.Predictor13=function(s,h,B){var P=h[B-1];return(Li((s=ua(s,h[B+0]))>>24&255,P>>24&255)<<24|Li(s>>16&255,P>>16&255)<<16|Li(s>>8&255,P>>8&255)<<8|Li(255&s,255&P))>>>0};var n0=yt.PredictorAdd0;yt.PredictorAdd1=Ti,jo("Predictor2","PredictorAdd2"),jo("Predictor3","PredictorAdd3"),jo("Predictor4","PredictorAdd4"),jo("Predictor5","PredictorAdd5"),jo("Predictor6","PredictorAdd6"),jo("Predictor7","PredictorAdd7"),jo("Predictor8","PredictorAdd8"),jo("Predictor9","PredictorAdd9"),jo("Predictor10","PredictorAdd10"),jo("Predictor11","PredictorAdd11"),jo("Predictor12","PredictorAdd12"),jo("Predictor13","PredictorAdd13");var th=yt.PredictorAdd2;na("ColorIndexInverseTransform","MapARGB","32b",function(s){return s>>8&255},function(s){return s}),na("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(s){return s},function(s){return s>>8&255});var xs,lg=yt.ColorIndexInverseTransform,mu=yt.MapARGB,yu=yt.VP8LColorIndexInverseTransformAlpha,r0=yt.MapAlpha,o0=yt.VP8LPredictorsAdd=[];o0.length=16,(yt.VP8LPredictors=[]).length=16,(yt.VP8LPredictorsAdd_C=[]).length=16,(yt.VP8LPredictors_C=[]).length=16;var a0,i0,Sd,Id,Fd,bf,Od,wf,hc,bu,hA,OA,Es,Ks,Yu,A0,nh,cg,$v,Xv,Yv,Jv,qv,ep,s0,tp,np,rp,op=A(511),ap=A(2041),ip=A(225),Ap=A(767),sp=0,cv=ap,ug=ip,Gl=Ap,gc=op,dg=0,fg=1,lp=2,hg=3,gg=4,uv=5,cp=6,dv=7,fv=8,vg=9,hv=10,qp=[2,3,7],em=[3,3,11],up=[280,256,256,256,40],tm=[0,1,1,1,0],nm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rm=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],om=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],am=8,gv=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],vv=[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,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],l0=null,im=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],Am=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dp=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sm=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],lm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],cm=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],um=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Ud=[],_c=[],Ju=[],dm=1,fp=2,Ld=[],vc=[];Gu("UpsampleRgbLinePair",Bd,3),Gu("UpsampleBgrLinePair",il,3),Gu("UpsampleRgbaLinePair",Ol,4),Gu("UpsampleBgraLinePair",qh,4),Gu("UpsampleArgbLinePair",Jh,4),Gu("UpsampleRgba4444LinePair",pf,2),Gu("UpsampleRgb565LinePair",vf,2);var fm=yt.UpsampleRgbLinePair,hm=yt.UpsampleBgrLinePair,hp=yt.UpsampleRgbaLinePair,gp=yt.UpsampleBgraLinePair,vp=yt.UpsampleArgbLinePair,pp=yt.UpsampleRgba4444LinePair,gm=yt.UpsampleRgb565LinePair,pg=16,mg=1<P.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),P.ca.f.kb.F!=null&&zc()),P.Pb&&0(Ge=B.Md)?0:100st;++st)12>(wn=te.pb[st]).lc&&(wn.ia=Ge*Cm[0>wn.lc?0:wn.lc]>>3),Vt|=wn.ia;Vt&&(alert("todo:VP8InitRandom"),te.ia=1)}te.Ga=B.Id,100te.Ga&&(te.Ga=0)}(function(lt,Jt){if(lt==null)return 0;if(Jt==null)return Qs(lt,2,"NULL VP8Io parameter in VP8Decode().");if(!lt.cb&&!vu(lt,Jt))return 0;if(n(lt.cb),Jt.ac==null||Jt.ac(Jt)){Jt.ob&&(lt.L=0);var fn=yg[lt.L];if(lt.L==2?(lt.yb=0,lt.zb=0):(lt.yb=Jt.v-fn>>4,lt.zb=Jt.j-fn>>4,0>lt.yb&&(lt.yb=0),0>lt.zb&&(lt.zb=0)),lt.Va=Jt.o+15+fn>>4,lt.Hb=Jt.va+15+fn>>4,lt.Hb>lt.za&&(lt.Hb=lt.za),lt.Va>lt.Ub&&(lt.Va=lt.Ub),0fn;++fn){var yn;if(lt.Qa.Cb){var Yn=lt.Qa.Lb[fn];lt.Qa.Fb||(Yn+=Gn.Tb)}else Yn=Gn.Tb;for(yn=0;1>=yn;++yn){var qn=lt.gd[fn][yn],Sr=Yn;if(Gn.Pc&&(Sr+=Gn.vd[0],yn&&(Sr+=Gn.od[0])),0<(Sr=0>Sr?0:63>2:dr>>1)>9-Gn.wb&&(dr=9-Gn.wb),1>dr&&(dr=1),qn.dd=dr,qn.tc=2*Sr+dr,qn.ld=40<=Sr?2:15<=Sr?1:0}else qn.tc=0;qn.La=yn}}}fn=0}else Qs(lt,6,"Frame setup failed"),fn=lt.a;if(fn=fn==0){if(fn){lt.$c=0,0lt.Vb){if(lt.Vb=0,lt.Ec=A(qn),lt.Fc=0,lt.Ec==null){fn=Qs(lt,1,"no memory during frame initialization.");break t}lt.Vb=qn}qn=lt.Ec,Sr=lt.Fc,lt.Ac=qn,lt.Bc=Sr,Sr+=Gn,lt.Gd=v(ea,$0),lt.Hd=0,lt.rb=v(Mo+1,Kh),lt.sb=1,lt.wa=si?v(si,uc):null,lt.Y=0,lt.D.Nb=0,lt.D.wa=lt.wa,lt.D.Y=lt.Y,0=fn;++fn)op[255+fn]=0>fn?-fn:fn;for(fn=-1020;1020>=fn;++fn)ap[1020+fn]=-128>fn?-128:127=fn;++fn)ip[112+fn]=-16>fn?-16:15=fn;++fn)Ap[255+fn]=0>fn?0:255_i;++_i){var zs,Yi=Ul[0+_i];for(zs=0;4>zs;++zs){Yi=lm[_A[Al+zs]][Yi];for(var BA=dp[tr(Xa,Yi[0])];0>3;for(BA=0;256>BA;BA+=16)_i[Cl+BA]=jl}sl=1,kc=Al[0]}var UA=15&Xa.la,_s=15&Ll.la;for(BA=0;4>BA;++BA){var $l=1&_s;for(jl=CA=0;4>jl;++jl)UA=UA>>1|($l=(Is=l0(_A,kc,Is=$l+(1&UA),ds.Sc,sl,_i,Cl))>sl)<<7,CA=CA<<2|(3>=4,_s=_s>>1|$l<<7,zs=(zs<<8|CA)>>>0}for(kc=UA,sl=_s>>4,fs=0;4>fs;fs+=2){for(CA=0,UA=Xa.la>>4+fs,_s=Ll.la>>4+fs,BA=0;2>BA;++BA){for($l=1&_s,jl=0;2>jl;++jl)Is=$l+(1&UA),UA=UA>>1|($l=0<(Is=l0(_A,Al[2],Is,ds.Qc,0,_i,Cl)))<<3,CA=CA<<2|(3>=2,_s=_s>>1|$l<<5}Yi|=CA<<4*fs,kc|=UA<<4<=Wo.zb&&Wo.M<=Wo.Va,Wo.Aa==0)t:{if(li.M=Wo.M,li.uc=Xa,fc(Wo,li),Ss=1,li=(CA=Wo.D).Nb,Xa=(Yi=yg[Wo.L])*Wo.R,_A=Yi/2*Wo.B,BA=16*li*Wo.R,jl=8*li*Wo.B,Al=Wo.sa,Ul=Wo.ta-Xa+BA,ds=Wo.qa,_i=Wo.ra-_A+jl,Cl=Wo.Ha,Ll=Wo.Ia-_A+jl,_s=(UA=CA.M)==0,zs=UA>=Wo.Va-1,Wo.Aa==2&&fc(Wo,CA),CA.uc)for($l=(Is=Wo).D.M,n(Is.D.uc),CA=Is.yb;CAAo.o&&(UA=Ao.o),Ao.F=null,Ao.J=null,Wo.Fa!=null&&0>1),Ao.W+=Wo.B*(Yi>>1),Ao.F!=null&&(Ao.J+=Ao.width*Yi)),CA>1,Ao.W+=Ao.v>>1,Ao.F!=null&&(Ao.J+=Ao.v),Ao.ka=CA-Ao.j,Ao.U=Ao.va-Ao.v,Ao.T=UA-CA,Ss=Ao.put(Ao))}li+1!=Wo.Ic||zs||(r(Wo.sa,Wo.ta-Xa,Al,Ul+16*Wo.R,Xa),r(Wo.qa,Wo.ra-_A,ds,_i+8*Wo.B,_A),r(Wo.Ha,Wo.Ia-_A,Cl,Ll+8*Wo.B,_A))}if(!Ss)return Qs(ji,6,"Output aborted.")}return 1}(lt,Jt)),Jt.bc!=null&&Jt.bc(Jt),fn&=1}return fn?(lt.cb=0,fn):0})(s,P)||(h=s.a)}}else h=s.a}h==0&&Ee.Oa!=null&&Ee.Oa.fd&&(h=t0(Ee.ba))}Ee=h}pe=Ee!=0?null:11>pe?je.f.RGBA.eb:je.f.kb.y}else pe=null;return pe};var wp=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function y(yt,un){for(var Oe="",ot=0;ot<4;ot++)Oe+=String.fromCharCode(yt[un++]);return Oe}function S(yt,un){return yt[un+0]|yt[un+1]<<8}function V(yt,un){return(yt[un+0]|yt[un+1]<<8|yt[un+2]<<16)>>>0}function ge(yt,un){return(yt[un+0]|yt[un+1]<<8|yt[un+2]<<16|yt[un+3]<<24)>>>0}new p;var E=[0],nt=[0],Xe=[],rt=new p,Le=e,jt=function(yt,un){var Oe={},ot=0,Tt=!1,Dt=0,Sn=0;if(Oe.frames=[],!function(Se,vt){for(var Ft=0;Ft<4;Ft++)if(Se[vt+Ft]!="RIFF".charCodeAt(Ft))return!0;return!1}(yt,un)){for(ge(yt,un+=4),un+=8;un>1&1}Rn!="ANMF"&&(un+=bn)}return Oe}}(Le,0);jt.response=Le,jt.rgbaoutput=!0,jt.dataurl=!1;var Pt=jt.header?jt.header:null,mt=jt.frames?jt.frames:null;if(Pt){Pt.loop_counter=Pt.loop_count,E=[Pt.canvas_height],nt=[Pt.canvas_width];for(var Cn=0;Cn=2?at[1]:mo[0],mo[2]=at.length>=3?at[2]:mo[0],mo[3]=at.length>=4?at[3]:mo[1]),y.margin=mo}});var Tn=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Tn},set:function(at){Tn=at}});var Hn=0;Object.defineProperty(this,"lastBreak",{get:function(){return Hn},set:function(at){Hn=at}});var tr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return tr},set:function(at){tr=at}}),Object.defineProperty(this,"ctx",{get:function(){return y},set:function(at){at instanceof S&&(y=at)}}),Object.defineProperty(this,"path",{get:function(){return y.path},set:function(at){y.path=at}});var Lr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Lr},set:function(at){Lr=at}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(at){var mo;mo=ge(at),this.ctx.fillStyle=mo.style,this.ctx.isFillTransparent=mo.a===0,this.ctx.fillOpacity=mo.a,this.pdf.setFillColor(mo.r,mo.g,mo.b,{a:mo.a}),this.pdf.setTextColor(mo.r,mo.g,mo.b,{a:mo.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(at){var mo=ge(at);this.ctx.strokeStyle=mo.style,this.ctx.isStrokeTransparent=mo.a===0,this.ctx.strokeOpacity=mo.a,mo.a===0?this.pdf.setDrawColor(255,255,255):(mo.a,this.pdf.setDrawColor(mo.r,mo.g,mo.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(at){["butt","round","square"].indexOf(at)!==-1&&(this.ctx.lineCap=at,this.pdf.setLineCap(at))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(at){isNaN(at)||(this.ctx.lineWidth=at,this.pdf.setLineWidth(at))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(at){["bevel","round","miter"].indexOf(at)!==-1&&(this.ctx.lineJoin=at,this.pdf.setLineJoin(at))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(at){isNaN(at)||(this.ctx.miterLimit=at,this.pdf.setMiterLimit(at))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(at){this.ctx.textBaseline=at}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(at){["right","end","center","left","start"].indexOf(at)!==-1&&(this.ctx.textAlign=at)}});var po=null,ho=null,sa=null;Object.defineProperty(this,"fontFaces",{get:function(){return sa},set:function(at){po=null,ho=null,sa=at}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(at){var mo;if(this.ctx.font=at,(mo=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(at))!==null){var fi=mo[1];mo[2];var Ca=mo[3],mr=mo[4];mo[5];var xa=mo[6],jo=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(mr)[2];mr=Math.floor(jo==="px"?parseFloat(mr)*this.pdf.internal.scaleFactor:jo==="em"?parseFloat(mr)*this.pdf.getFontSize():parseFloat(mr)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(mr);var ma=function(na){var Cs,$i,mi=[],yi=na.trim();if(yi==="")return kg;if(yi in su)return[su[yi]];for(;yi!=="";){switch($i=null,Cs=(yi=lu(yi)).charAt(0)){case'"':case"'":$i=Dc(yi.substring(1),Cs);break;default:$i=md(yi)}if($i===null||(mi.push($i[0]),(yi=lu($i[1]))!==""&&yi.charAt(0)!==","))return kg;yi=yi.replace(/^,/,"")}return mi}(xa);if(this.fontFaces){var ua=function(na,Cs){var $i=na.getFontList(),mi=JSON.stringify($i);if(po===null||ho!==mi){var yi=function(XA){var ha=[];return Object.keys(XA).forEach(function(RA){XA[RA].forEach(function(La){var $a=null;switch(La){case"bold":$a={family:RA,weight:"bold"};break;case"italic":$a={family:RA,style:"italic"};break;case"bolditalic":$a={family:RA,weight:"bold",style:"italic"};break;case"":case"normal":$a={family:RA}}$a!==null&&($a.ref={name:RA,style:La},ha.push($a))})}),ha}($i);po=function(XA){for(var ha={},RA=0;RA=700||fi==="bold")&&(Ga="bold"),fi==="italic"&&(Ga+="italic"),Ga.length===0&&(Ga="normal");for(var Ti="",Ni={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Xo=0;Xo=2*Math.PI&&(Kt=0,en=2*Math.PI),this.path.push({type:"arc",x:Se,y:vt,radius:Ft,startAngle:Kt,endAngle:en,counterclockwise:mn})},V.prototype.arcTo=function(Se,vt,Ft,Kt,en){throw new Error("arcTo not implemented.")},V.prototype.rect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Se,vt),this.lineTo(Se+Ft,vt),this.lineTo(Se+Ft,vt+Kt),this.lineTo(Se,vt+Kt),this.lineTo(Se,vt),this.lineTo(Se+Ft,vt),this.lineTo(Se,vt)},V.prototype.fillRect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!E.call(this)){var en={};this.lineCap!=="butt"&&(en.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(en.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Se,vt,Ft,Kt),this.fill(),en.hasOwnProperty("lineCap")&&(this.lineCap=en.lineCap),en.hasOwnProperty("lineJoin")&&(this.lineJoin=en.lineJoin)}},V.prototype.strokeRect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");nt.call(this)||(this.beginPath(),this.rect(Se,vt,Ft,Kt),this.stroke())},V.prototype.clearRect=function(Se,vt,Ft,Kt){if(isNaN(Se)||isNaN(vt)||isNaN(Ft)||isNaN(Kt))throw wA.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Se,vt,Ft,Kt))},V.prototype.save=function(Se){Se=typeof Se!="boolean"||Se;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,Ft=0;Ft0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};V.prototype.drawImage=function(Se,vt,Ft,Kt,en,mn,Tn,Hn,tr){var Lr=this.pdf.getImageProperties(Se),po=1,ho=1,sa=1,at=1;Kt!==void 0&&Hn!==void 0&&(sa=Hn/Kt,at=tr/en,po=Lr.width/Kt*Hn/Kt,ho=Lr.height/en*tr/en),mn===void 0&&(mn=vt,Tn=Ft,vt=0,Ft=0),Kt!==void 0&&Hn===void 0&&(Hn=Kt,tr=en),Kt===void 0&&Hn===void 0&&(Hn=Lr.width,tr=Lr.height);var mo=this.ctx.transform.decompose(),fi=bn(mo.rotate.shx),Ca=new p,mr=(Ca=(Ca=(Ca=Ca.multiply(mo.translate)).multiply(mo.skew)).multiply(mo.scale)).applyToRectangle(new g(mn-vt*sa,Tn-Ft*at,Kt*po,en*ho));if(this.autoPaging){for(var xa,jo=rt.call(this,mr),ma=[],ua=0;uadA||Gamr||jo0)){for(;tr>=0;tr--)if(en[tr-1].close!==!0&&en[tr-1].begin!==!0){en[tr-1].deltas.push(Ft),en[tr-1].abs.push(Hn);break}}break;case"bct":Ft=[Hn.x1-mn[Tn-1].x,Hn.y1-mn[Tn-1].y,Hn.x2-mn[Tn-1].x,Hn.y2-mn[Tn-1].y,Hn.x-mn[Tn-1].x,Hn.y-mn[Tn-1].y],en[en.length-1].deltas.push(Ft);break;case"qct":var Lr=mn[Tn-1].x+2/3*(Hn.x1-mn[Tn-1].x),po=mn[Tn-1].y+2/3*(Hn.y1-mn[Tn-1].y),ho=Hn.x+2/3*(Hn.x1-Hn.x),sa=Hn.y+2/3*(Hn.y1-Hn.y),at=Hn.x,mo=Hn.y;Ft=[Lr-mn[Tn-1].x,po-mn[Tn-1].y,ho-mn[Tn-1].x,sa-mn[Tn-1].y,at-mn[Tn-1].x,mo-mn[Tn-1].y],en[en.length-1].deltas.push(Ft);break;case"arc":en.push({deltas:[],abs:[],arc:!0}),Array.isArray(en[en.length-1].abs)&&en[en.length-1].abs.push(Hn)}}Kt=vt?null:Se==="stroke"?"stroke":"fill";for(var fi=!1,Ca=0;Ca=.01&&(Kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Kt*Se.scale),en=this.lineWidth,this.lineWidth=en*Se.scale);var ni=this.autoPaging!=="text";if(ni||Xo.y+Xo.h<=ua){if(ni||Xo.y>=jo&&Xo.x<=Li){var na=ni?Se.text:this.pdf.splitTextToSize(Se.text,Se.maxWidth||Li-Xo.x)[0],Cs=jt([JSON.parse(JSON.stringify(ho))],this.posX+this.margin[3],-Ti+jo+this.ctx.prevPageLastElemOffset)[0],$i=ni&&(xa>Ca||xa=.01&&(this.pdf.setFontSize(Kt),this.lineWidth=en)}}else Se.scale>=.01&&(Kt=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Kt*Se.scale),en=this.lineWidth,this.lineWidth=en*Se.scale),this.pdf.text(Se.text,tr.x+this.posX,tr.y+this.posY,{angle:Se.angle,align:vt,renderingMode:Se.renderingMode,maxWidth:Se.maxWidth}),Se.scale>=.01&&(this.pdf.setFontSize(Kt),this.lineWidth=en)},Tt=function(Se,vt,Ft,Kt){Ft=Ft||0,Kt=Kt||0,this.pdf.internal.out(t(Se+Ft)+" "+r(vt+Kt)+" l")},Dt=function(Se,vt,Ft){return this.pdf.lines(Se,vt,Ft,null,null)},Sn=function(Se,vt,Ft,Kt,en,mn,Tn,Hn){this.pdf.internal.out([n(o(Ft+Se)),n(A(Kt+vt)),n(o(en+Se)),n(A(mn+vt)),n(o(Tn+Se)),n(A(Hn+vt)),"c"].join(" "))},Rn=function(Se,vt,Ft,Kt){for(var en=2*Math.PI,mn=Math.PI/2;vt>Ft;)vt-=en;var Tn=Math.abs(Ft-vt);Tn1e-5;){var po=Lr+tr*Math.min(Tn,mn);Hn.push(jn.call(this,Se,Lr,po)),Tn-=Math.abs(po-Lr),Lr=po}return Hn},jn=function(Se,vt,Ft){var Kt=(Ft-vt)/2,en=Se*Math.cos(Kt),mn=Se*Math.sin(Kt),Tn=en,Hn=-mn,tr=Tn*Tn+Hn*Hn,Lr=tr+Tn*en+Hn*mn,po=4/3*(Math.sqrt(2*tr*Lr)-Lr)/(Tn*mn-Hn*en),ho=Tn-po*Hn,sa=Hn+po*Tn,at=ho,mo=-sa,fi=Kt+vt,Ca=Math.cos(fi),mr=Math.sin(fi);return{x1:Se*Math.cos(vt),y1:Se*Math.sin(vt),x2:ho*Ca-sa*mr,y2:ho*mr+sa*Ca,x3:at*Ca-mo*mr,y3:at*mr+mo*Ca,x4:Se*Math.cos(Ft),y4:Se*Math.sin(Ft)}},bn=function(Se){return 180*Se/Math.PI},Zn=function(Se,vt,Ft,Kt,en,mn){var Tn=Se+.5*(Ft-Se),Hn=vt+.5*(Kt-vt),tr=en+.5*(Ft-en),Lr=mn+.5*(Kt-mn),po=Math.min(Se,en,Tn,tr),ho=Math.max(Se,en,Tn,tr),sa=Math.min(vt,mn,Hn,Lr),at=Math.max(vt,mn,Hn,Lr);return new g(po,sa,ho-po,at-sa)},jr=function(Se,vt,Ft,Kt,en,mn,Tn,Hn){var tr,Lr,po,ho,sa,at,mo,fi,Ca,mr,xa,jo,ma,ua,dA=Ft-Se,Li=Kt-vt,Ga=en-Ft,Ti=mn-Kt,Ni=Tn-en,Xo=Hn-mn;for(Lr=0;Lr<41;Lr++)Ca=(mo=(po=Se+(tr=Lr/40)*dA)+tr*((sa=Ft+tr*Ga)-po))+tr*(sa+tr*(en+tr*Ni-sa)-mo),mr=(fi=(ho=vt+tr*Li)+tr*((at=Kt+tr*Ti)-ho))+tr*(at+tr*(mn+tr*Xo-at)-fi),Lr==0?(xa=Ca,jo=mr,ma=Ca,ua=mr):(xa=Math.min(xa,Ca),jo=Math.min(jo,mr),ma=Math.max(ma,Ca),ua=Math.max(ua,mr));return new g(Math.round(xa),Math.round(jo),Math.round(ma-xa),Math.round(ua-jo))},lr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Se,vt,Ft=(Se=this.ctx.lineDash,vt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Se,lineDashOffset:vt}));this.prevLineDash!==Ft&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Ft)}}})(_o.API),function(e){var n=function(v){var g,p,y,S,V,ge,E,nt,Xe,rt;for(/[^\x00-\xFF]/.test(v),p=[],y=0,S=(v+=g="\0\0\0\0".slice(v.length%4||4)).length;S>y;y+=4)(V=(v.charCodeAt(y)<<24)+(v.charCodeAt(y+1)<<16)+(v.charCodeAt(y+2)<<8)+v.charCodeAt(y+3))!==0?(ge=(V=((V=((V=((V=(V-(rt=V%85))/85)-(Xe=V%85))/85)-(nt=V%85))/85)-(E=V%85))/85)%85,p.push(ge+33,E+33,nt+33,Xe+33,rt+33)):p.push(122);return function(Le,jt){for(var Pt=jt;Pt>0;Pt--)Le.pop()}(p,g.length),String.fromCharCode.apply(String,p)+"~>"},t=function(v){var g,p,y,S,V,ge=String,E="length",nt=255,Xe="charCodeAt",rt="slice",Le="replace";for(v[rt](-2),v=v[rt](0,-2)[Le](/\s/g,"")[Le]("z","!!!!!"),y=[],S=0,V=(v+=g="uuuuu"[rt](v[E]%5||5))[E];V>S;S+=5)p=52200625*(v[Xe](S)-33)+614125*(v[Xe](S+1)-33)+7225*(v[Xe](S+2)-33)+85*(v[Xe](S+3)-33)+(v[Xe](S+4)-33),y.push(nt&p>>24,nt&p>>16,nt&p>>8,nt&p);return function(jt,Pt){for(var mt=Pt;mt>0;mt--)jt.pop()}(y,g[E]),ge.fromCharCode.apply(ge,y)},r=function(v){return v.split("").map(function(g){return("0"+g.charCodeAt().toString(16)).slice(-2)}).join("")+">"},o=function(v){var g=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((v=v.replace(/\s/g,"")).indexOf(">")!==-1&&(v=v.substr(0,v.indexOf(">"))),v.length%2&&(v+="0"),g.test(v)===!1)return"";for(var p="",y=0;yXe&&(nt=rt,rt=Xe,Xe=nt);else{if(g!=="l"&&g!=="landscape")throw"Invalid orientation: "+g;g="l",Xe>rt&&(nt=rt,rt=Xe,Xe=nt)}return{width:rt,height:Xe,unit:p,k:V,orientation:g}},e.html=function(g,p){(p=p||{}).callback=p.callback||function(){},p.html2canvas=p.html2canvas||{},p.html2canvas.canvas=p.html2canvas.canvas||this.canvas,p.jsPDF=p.jsPDF||this,p.fontFaces=p.fontFaces?p.fontFaces.map(Tl):null;var y=new v(p);return p.worker?y:y.from(g).doCallback()}}(_o.API),_o.API.addJS=function(e){return Qv=e,this.internal.events.subscribe("postPutResources",function(){cu=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(cu+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Nv=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Qv+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){cu!==void 0&&Nv!==void 0&&this.internal.out("/Names <>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var o=t.outline.render().split(/\r\n/),A=0;A> endobj")}var E=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+E+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,o,A){var v={title:o,options:A,children:[]};return r==null&&(r=this.root),r.children.push(v),v},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var o=0;o0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var o=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A0&&(this.line("/First "+this.makeRef(v.children[0])),this.line("/Last "+this.makeRef(v.children[v.children.length-1])));var g=this.count=this.count_r({count:0},v);if(g>0&&this.line("/Count "+g),v.options&&v.options.pageNumber){var p=t.internal.getPageInfo(v.options.pageNumber);this.line("/Dest ["+p.objId+" 0 R /XYZ 0 "+o(0)+" 0]")}this.objEnd()}for(var y=0;y=60&&Math.round(He.h)<=240?vt=st?Math.round(He.h)-r*ze:Math.round(He.h)+r*ze:vt=st?Math.round(He.h)+r*ze:Math.round(He.h)-r*ze,vt<0?vt+=360:vt>=360&&(vt-=360),vt}function p(He,ze,st){if(He.h===0&&He.s===0)return He.s;var vt;return st?vt=He.s-n*ze:ze===o?vt=He.s+n:vt=He.s+a*ze,vt>1&&(vt=1),st&&ze===c&&vt>.1&&(vt=.1),vt<.06&&(vt=.06),Math.round(vt*100)/100}function x(He,ze,st){var vt;return st?vt=He.v+s*ze:vt=He.v-u*ze,vt=Math.max(0,Math.min(1,vt)),Math.round(vt*100)/100}function g(He){for(var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},st=[],vt=new t.FastColor(He),Je=vt.toHsv(),Ke=c;Ke>0;Ke-=1){var Re=new t.FastColor({h:_(Je,Ke,!0),s:p(Je,Ke,!0),v:x(Je,Ke,!0)});st.push(Re)}st.push(vt);for(var Ce=1;Ce<=o;Ce+=1){var me=new t.FastColor({h:_(Je,Ce),s:p(Je,Ce),v:x(Je,Ce)});st.push(me)}return ze.theme==="dark"?f.map(function(at){var ct=at.index,St=at.amount;return new t.FastColor(ze.backgroundColor||"#141414").mix(st[ct],St).toHexString()}):st.map(function(at){return at.toHexString()})}var P={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},O=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];O.primary=O[5];var S=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];S.primary=S[5];var I=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];I.primary=I[5];var E=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];E.primary=E[5];var A=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];A.primary=A[5];var R=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];R.primary=R[5];var T=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];T.primary=T[5];var D=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];D.primary=D[5];var k=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];k.primary=k[5];var B=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];B.primary=B[5];var j=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];j.primary=j[5];var V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var H=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];H.primary=H[5];var Y=H,F={red:O,volcano:S,orange:I,gold:E,yellow:A,lime:R,green:T,cyan:D,blue:k,geekblue:B,purple:j,magenta:V,grey:H},K=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];K.primary=K[5];var X=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];X.primary=X[5];var Q=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];Q.primary=Q[5];var W=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];W.primary=W[5];var N=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];N.primary=N[5];var J=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];J.primary=J[5];var M=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];M.primary=M[5];var Z=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Z.primary=Z[5];var G=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];G.primary=G[5];var ee=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];ee.primary=ee[5];var ie=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];ie.primary=ie[5];var se=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];se.primary=se[5];var le=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];le.primary=le[5];var de={red:K,volcano:X,orange:Q,gold:W,yellow:N,lime:J,green:M,cyan:Z,blue:G,geekblue:ee,purple:ie,magenta:se,grey:le}},51636:function(i,d,e){"use strict";e.r(d),e.d(d,{genCalc:function(){return T},genStyleUtils:function(){return vt},mergeToken:function(){return F},statistic:function(){return K},statisticToken:function(){return N}});var t=e(43749),r=e(72190),n=e(18642),a=e(85899),s=e(59301),u=e(36237),c=e(38705),o=e(17212),f=e(15793),_=e(39153),p=e(55401),x=(0,o.Z)(function Je(){(0,c.Z)(this,Je)}),g=x,P="CALC_UNIT",O=new RegExp(P,"g");function S(Je){return typeof Je=="number"?"".concat(Je).concat(P):Je}var I=function(Je){(0,_.Z)(Re,Je);var Ke=(0,p.Z)(Re);function Re(Ce,me){var at;(0,c.Z)(this,Re),at=Ke.call(this),(0,n.Z)((0,f.Z)(at),"result",""),(0,n.Z)((0,f.Z)(at),"unitlessCssVar",void 0),(0,n.Z)((0,f.Z)(at),"lowPriority",void 0);var ct=(0,t.Z)(Ce);return at.unitlessCssVar=me,Ce instanceof Re?at.result="(".concat(Ce.result,")"):ct==="number"?at.result=S(Ce):ct==="string"&&(at.result=Ce),at}return(0,o.Z)(Re,[{key:"add",value:function(me){return me instanceof Re?this.result="".concat(this.result," + ").concat(me.getResult()):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," + ").concat(S(me))),this.lowPriority=!0,this}},{key:"sub",value:function(me){return me instanceof Re?this.result="".concat(this.result," - ").concat(me.getResult()):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," - ").concat(S(me))),this.lowPriority=!0,this}},{key:"mul",value:function(me){return this.lowPriority&&(this.result="(".concat(this.result,")")),me instanceof Re?this.result="".concat(this.result," * ").concat(me.getResult(!0)):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," * ").concat(me)),this.lowPriority=!1,this}},{key:"div",value:function(me){return this.lowPriority&&(this.result="(".concat(this.result,")")),me instanceof Re?this.result="".concat(this.result," / ").concat(me.getResult(!0)):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," / ").concat(me)),this.lowPriority=!1,this}},{key:"getResult",value:function(me){return this.lowPriority||me?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(me){var at=this,ct=me||{},St=ct.unit,bt=!0;return typeof St=="boolean"?bt=St:Array.from(this.unitlessCssVar).some(function(Ie){return at.result.includes(Ie)})&&(bt=!1),this.result=this.result.replace(O,bt?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),Re}(g),E=function(Je){(0,_.Z)(Re,Je);var Ke=(0,p.Z)(Re);function Re(Ce){var me;return(0,c.Z)(this,Re),me=Ke.call(this),(0,n.Z)((0,f.Z)(me),"result",0),Ce instanceof Re?me.result=Ce.result:typeof Ce=="number"&&(me.result=Ce),me}return(0,o.Z)(Re,[{key:"add",value:function(me){return me instanceof Re?this.result+=me.result:typeof me=="number"&&(this.result+=me),this}},{key:"sub",value:function(me){return me instanceof Re?this.result-=me.result:typeof me=="number"&&(this.result-=me),this}},{key:"mul",value:function(me){return me instanceof Re?this.result*=me.result:typeof me=="number"&&(this.result*=me),this}},{key:"div",value:function(me){return me instanceof Re?this.result/=me.result:typeof me=="number"&&(this.result/=me),this}},{key:"equal",value:function(){return this.result}}]),Re}(g),A=E,R=function(Ke,Re){var Ce=Ke==="css"?I:A;return function(me){return new Ce(me,Re)}},T=R,D=function(Ke,Re){return"".concat([Re,Ke.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))},k=D,B=e(70425);function j(Je,Ke,Re,Ce){var me=(0,a.Z)({},Ke[Je]);if(Ce!=null&&Ce.deprecatedTokens){var at=Ce.deprecatedTokens;at.forEach(function(St){var bt=(0,r.Z)(St,2),Ie=bt[0],$e=bt[1];if(me!=null&&me[Ie]||me!=null&&me[$e]){var ft;(ft=me[$e])!==null&&ft!==void 0||(me[$e]=me==null?void 0:me[Ie])}})}var ct=(0,a.Z)((0,a.Z)({},Re),me);return Object.keys(ct).forEach(function(St){ct[St]===Ke[St]&&delete ct[St]}),ct}var V=j,H=typeof CSSINJS_STATISTIC!="undefined",Y=!0;function F(){for(var Je=arguments.length,Ke=new Array(Je),Re=0;Re1e4){var Ce=Date.now();this.lastAccessBeat.forEach(function(me,at){Ce-me>ee&&(Re.map.delete(at),Re.lastAccessBeat.delete(at))}),this.accessBeat=0}}}]),Je}(),se=new ie;function le(Je,Ke){return s.useMemo(function(){var Re=se.get(Ke);if(Re)return Re;var Ce=Je();return se.set(Ke,Ce),Ce},Ke)}var de=le,He=function(){return{}},ze=He;function st(Je){var Ke=Je.useCSP,Re=Ke===void 0?ze:Ke,Ce=Je.useToken,me=Je.usePrefix,at=Je.getResetStyles,ct=Je.getCommonStyle,St=Je.getCompUnitless;function bt(Me,ye,fe,Oe){var Ee=Array.isArray(Me)?Me[0]:Me;function et(it){return"".concat(String(Ee)).concat(it.slice(0,1).toUpperCase()).concat(it.slice(1))}var mt=(Oe==null?void 0:Oe.unitless)||{},pe=typeof St=="function"?St(Me):{},ge=(0,a.Z)((0,a.Z)({},pe),{},(0,n.Z)({},et("zIndexPopup"),!0));Object.keys(mt).forEach(function(it){ge[et(it)]=mt[it]});var lt=(0,a.Z)((0,a.Z)({},Oe),{},{unitless:ge,prefixToken:et}),Qe=$e(Me,ye,fe,lt),Ve=Ie(Ee,fe,lt);return function(it){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:it,Yt=Qe(it,Dt),Se=(0,r.Z)(Yt,2),je=Se[1],Be=Ve(Dt),ht=(0,r.Z)(Be,2),At=ht[0],ce=ht[1];return[At,je,ce]}}function Ie(Me,ye,fe){var Oe=fe.unitless,Ee=fe.injectStyle,et=Ee===void 0?!0:Ee,mt=fe.prefixToken,pe=fe.ignore,ge=function(Ve){var it=Ve.rootCls,Dt=Ve.cssVar,Yt=Dt===void 0?{}:Dt,Se=Ce(),je=Se.realToken;return(0,u.useCSSVarRegister)({path:[Me],prefix:Yt.prefix,key:Yt.key,unitless:Oe,ignore:pe,token:je,scope:it},function(){var Be=M(Me,je,ye),ht=V(Me,je,Be,{deprecatedTokens:fe==null?void 0:fe.deprecatedTokens});return Object.keys(Be).forEach(function(At){ht[mt(At)]=ht[At],delete ht[At]}),ht}),null},lt=function(Ve){var it=Ce(),Dt=it.cssVar;return[function(Yt){return et&&Dt?s.createElement(s.Fragment,null,s.createElement(ge,{rootCls:Ve,cssVar:Dt,component:Me}),Yt):Yt},Dt==null?void 0:Dt.key]};return lt}function $e(Me,ye,fe){var Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ee=Array.isArray(Me)?Me:[Me,Me],et=(0,r.Z)(Ee,1),mt=et[0],pe=Ee.join("-"),ge=Je.layer||{name:"antd"};return function(lt){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lt,Ve=Ce(),it=Ve.theme,Dt=Ve.realToken,Yt=Ve.hashId,Se=Ve.token,je=Ve.cssVar,Be=me(),ht=Be.rootPrefixCls,At=Be.iconPrefixCls,ce=Re(),_t=je?"css":"js",qt=de(function(){var Mt=new Set;return je&&Object.keys(Oe.unitless||{}).forEach(function(ar){Mt.add((0,u.token2CSSVar)(ar,je.prefix)),Mt.add((0,u.token2CSSVar)(ar,k(mt,je.prefix)))}),T(_t,Mt)},[_t,mt,je==null?void 0:je.prefix]),Ht=G(_t),Ut=Ht.max,cr=Ht.min,Ze={theme:it,token:Se,hashId:Yt,nonce:function(){return ce.nonce},clientOnly:Oe.clientOnly,layer:ge,order:Oe.order||-999};typeof at=="function"&&(0,u.useStyleRegister)((0,a.Z)((0,a.Z)({},Ze),{},{clientOnly:!1,path:["Shared",ht]}),function(){return at(Se,{prefix:{rootPrefixCls:ht,iconPrefixCls:At},csp:ce})});var dt=(0,u.useStyleRegister)((0,a.Z)((0,a.Z)({},Ze),{},{path:[pe,lt,At]}),function(){if(Oe.injectStyle===!1)return[];var Mt=N(Se),ar=Mt.token,$t=Mt.flush,pr=M(mt,Dt,fe),Ir=".".concat(lt),Mr=V(mt,Dt,pr,{deprecatedTokens:Oe.deprecatedTokens});je&&pr&&(0,t.Z)(pr)==="object"&&Object.keys(pr).forEach(function(Qt){pr[Qt]="var(".concat((0,u.token2CSSVar)(Qt,k(mt,je.prefix)),")")});var er=F(ar,{componentCls:Ir,prefixCls:lt,iconCls:".".concat(At),antCls:".".concat(ht),calc:qt,max:Ut,min:cr},je?pr:Mr),Nt=ye(er,{hashId:Yt,prefixCls:lt,rootPrefixCls:ht,iconPrefixCls:At});$t(mt,Mr);var Kt=typeof ct=="function"?ct(er,lt,Qe,Oe.resetFont):null;return[Oe.resetStyle===!1?null:Kt,Nt]});return[dt,Yt]}}function ft(Me,ye,fe){var Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ee=$e(Me,ye,fe,(0,a.Z)({resetStyle:!1,order:-998},Oe)),et=function(pe){var ge=pe.prefixCls,lt=pe.rootCls,Qe=lt===void 0?ge:lt;return Ee(ge,Qe),null};return et}return{genStyleHooks:bt,genSubStyleComponent:ft,genComponentStyleHook:$e}}var vt=st},36237:function(i,d,e){"use strict";e.r(d),e.d(d,{Keyframes:function(){return qi},NaNLinter:function(){return Ra},StyleContext:function(){return H},StyleProvider:function(){return V},Theme:function(){return st},_experimental:function(){return Cu},createCache:function(){return B},createTheme:function(){return Je},extractStyle:function(){return vs},genCalc:function(){return se},getComputedToken:function(){return Kt},legacyLogicalPropertiesTransformer:function(){return es},legacyNotSelectorLinter:function(){return la},logicalPropertiesLinter:function(){return Fn},parentSelectorLinter:function(){return ia},px2remTransformer:function(){return Ai},token2CSSVar:function(){return pe},unit:function(){return et},useCSSVarRegister:function(){return ps},useCacheToken:function(){return Cr},useStyleRegister:function(){return Is}});var t=e(72190),r=e(18642),n=e(77654),a=e(85899);function s(ut){for(var Et=0,gt,Ot=0,jt=ut.length;jt>=4;++Ot,jt-=4)gt=ut.charCodeAt(Ot)&255|(ut.charCodeAt(++Ot)&255)<<8|(ut.charCodeAt(++Ot)&255)<<16|(ut.charCodeAt(++Ot)&255)<<24,gt=(gt&65535)*1540483477+((gt>>>16)*59797<<16),gt^=gt>>>24,Et=(gt&65535)*1540483477+((gt>>>16)*59797<<16)^(Et&65535)*1540483477+((Et>>>16)*59797<<16);switch(jt){case 3:Et^=(ut.charCodeAt(Ot+2)&255)<<16;case 2:Et^=(ut.charCodeAt(Ot+1)&255)<<8;case 1:Et^=ut.charCodeAt(Ot)&255,Et=(Et&65535)*1540483477+((Et>>>16)*59797<<16)}return Et^=Et>>>13,Et=(Et&65535)*1540483477+((Et>>>16)*59797<<16),((Et^Et>>>15)>>>0).toString(36)}var u=s,c=e(810),o=e(59301),f=e.t(o,2),_=e(42244),p=e(80547),x=e(13697),g=e(38705),P=e(17212),O="%";function S(ut){return ut.join(O)}var I=function(){function ut(Et){(0,g.Z)(this,ut),(0,r.Z)(this,"instanceId",void 0),(0,r.Z)(this,"cache",new Map),(0,r.Z)(this,"extracted",new Set),this.instanceId=Et}return(0,P.Z)(ut,[{key:"get",value:function(gt){return this.opGet(S(gt))}},{key:"opGet",value:function(gt){return this.cache.get(gt)||null}},{key:"update",value:function(gt,Ot){return this.opUpdate(S(gt),Ot)}},{key:"opUpdate",value:function(gt,Ot){var jt=this.cache.get(gt),Or=Ot(jt);Or===null?this.cache.delete(gt):this.cache.set(gt,Or)}}]),ut}(),E=I,A=["children"],R="data-token-hash",T="data-css-hash",D="data-cache-path",k="__cssinjs_instance__";function B(){var ut=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var Et=document.body.querySelectorAll("style[".concat(T,"]"))||[],gt=document.head.firstChild;Array.from(Et).forEach(function(jt){jt[k]=jt[k]||ut,jt[k]===ut&&document.head.insertBefore(jt,gt)});var Ot={};Array.from(document.querySelectorAll("style[".concat(T,"]"))).forEach(function(jt){var Or=jt.getAttribute(T);if(Ot[Or]){if(jt[k]===ut){var Kr;(Kr=jt.parentNode)===null||Kr===void 0||Kr.removeChild(jt)}}else Ot[Or]=!0})}return new E(ut)}var j=o.createContext({hashPriority:"low",cache:B(),defaultCache:!0}),V=function(Et){var gt=Et.children,Ot=(0,_.Z)(Et,A),jt=o.useContext(j),Or=(0,p.Z)(function(){var Kr=(0,a.Z)({},jt);Object.keys(Ot).forEach(function(Xr){var vn=Ot[Xr];Ot[Xr]!==void 0&&(Kr[Xr]=vn)});var Yr=Ot.cache;return Kr.cache=Kr.cache||B(),Kr.defaultCache=!Yr&&jt.defaultCache,Kr},[jt,Ot],function(Kr,Yr){return!(0,x.Z)(Kr[0],Yr[0],!0)||!(0,x.Z)(Kr[1],Yr[1],!0)});return o.createElement(j.Provider,{value:Or},gt)},H=j,Y=e(43749),F=e(47273),K=e(15793),X=e(39153),Q=e(55401),W=(0,P.Z)(function ut(){(0,g.Z)(this,ut)}),N=W,J="CALC_UNIT",M=new RegExp(J,"g");function Z(ut){return typeof ut=="number"?"".concat(ut).concat(J):ut}var G=function(ut){(0,X.Z)(gt,ut);var Et=(0,Q.Z)(gt);function gt(Ot,jt){var Or;(0,g.Z)(this,gt),Or=Et.call(this),(0,r.Z)((0,K.Z)(Or),"result",""),(0,r.Z)((0,K.Z)(Or),"unitlessCssVar",void 0),(0,r.Z)((0,K.Z)(Or),"lowPriority",void 0);var Kr=(0,Y.Z)(Ot);return Or.unitlessCssVar=jt,Ot instanceof gt?Or.result="(".concat(Ot.result,")"):Kr==="number"?Or.result=Z(Ot):Kr==="string"&&(Or.result=Ot),Or}return(0,P.Z)(gt,[{key:"add",value:function(jt){return jt instanceof gt?this.result="".concat(this.result," + ").concat(jt.getResult()):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," + ").concat(Z(jt))),this.lowPriority=!0,this}},{key:"sub",value:function(jt){return jt instanceof gt?this.result="".concat(this.result," - ").concat(jt.getResult()):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," - ").concat(Z(jt))),this.lowPriority=!0,this}},{key:"mul",value:function(jt){return this.lowPriority&&(this.result="(".concat(this.result,")")),jt instanceof gt?this.result="".concat(this.result," * ").concat(jt.getResult(!0)):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," * ").concat(jt)),this.lowPriority=!1,this}},{key:"div",value:function(jt){return this.lowPriority&&(this.result="(".concat(this.result,")")),jt instanceof gt?this.result="".concat(this.result," / ").concat(jt.getResult(!0)):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," / ").concat(jt)),this.lowPriority=!1,this}},{key:"getResult",value:function(jt){return this.lowPriority||jt?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(jt){var Or=this,Kr=jt||{},Yr=Kr.unit,Xr=!0;return typeof Yr=="boolean"?Xr=Yr:Array.from(this.unitlessCssVar).some(function(vn){return Or.result.includes(vn)})&&(Xr=!1),this.result=this.result.replace(M,Xr?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),gt}(N),ee=function(ut){(0,X.Z)(gt,ut);var Et=(0,Q.Z)(gt);function gt(Ot){var jt;return(0,g.Z)(this,gt),jt=Et.call(this),(0,r.Z)((0,K.Z)(jt),"result",0),Ot instanceof gt?jt.result=Ot.result:typeof Ot=="number"&&(jt.result=Ot),jt}return(0,P.Z)(gt,[{key:"add",value:function(jt){return jt instanceof gt?this.result+=jt.result:typeof jt=="number"&&(this.result+=jt),this}},{key:"sub",value:function(jt){return jt instanceof gt?this.result-=jt.result:typeof jt=="number"&&(this.result-=jt),this}},{key:"mul",value:function(jt){return jt instanceof gt?this.result*=jt.result:typeof jt=="number"&&(this.result*=jt),this}},{key:"div",value:function(jt){return jt instanceof gt?this.result/=jt.result:typeof jt=="number"&&(this.result/=jt),this}},{key:"equal",value:function(){return this.result}}]),gt}(N),ie=function(Et,gt){var Ot=Et==="css"?G:ee;return function(jt){return new Ot(jt,gt)}},se=ie;function le(ut,Et){if(ut.length!==Et.length)return!1;for(var gt=0;gt1&&arguments[1]!==void 0?arguments[1]:!1,Kr={map:this.cache};return gt.forEach(function(Yr){if(!Kr)Kr=void 0;else{var Xr;Kr=(Xr=Kr)===null||Xr===void 0||(Xr=Xr.map)===null||Xr===void 0?void 0:Xr.get(Yr)}}),(Ot=Kr)!==null&&Ot!==void 0&&Ot.value&&Or&&(Kr.value[1]=this.cacheCallTimes++),(jt=Kr)===null||jt===void 0?void 0:jt.value}},{key:"get",value:function(gt){var Ot;return(Ot=this.internalGet(gt,!0))===null||Ot===void 0?void 0:Ot[0]}},{key:"has",value:function(gt){return!!this.internalGet(gt)}},{key:"set",value:function(gt,Ot){var jt=this;if(!this.has(gt)){if(this.size()+1>ut.MAX_CACHE_SIZE+ut.MAX_CACHE_OFFSET){var Or=this.keys.reduce(function(vn,xn){var Pt=(0,t.Z)(vn,2),Gt=Pt[1];return jt.internalGet(xn)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ze+=1}return(0,P.Z)(ut,[{key:"getDerivativeToken",value:function(gt){return this.derivatives.reduce(function(Ot,jt){return jt(gt,Ot)},void 0)}}]),ut}(),vt=new de;function Je(ut){var Et=Array.isArray(ut)?ut:[ut];return vt.has(Et)||vt.set(Et,new st(Et)),vt.get(Et)}var Ke=new WeakMap,Re={};function Ce(ut,Et){for(var gt=Ke,Ot=0;Ot3&&arguments[3]!==void 0?arguments[3]:{},jt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(jt)return ut;var Or=(0,a.Z)((0,a.Z)({},Ot),{},(0,r.Z)((0,r.Z)({},R,Et),T,gt)),Kr=Object.keys(Or).map(function(Yr){var Xr=Or[Yr];return Xr?"".concat(Yr,'="').concat(Xr,'"'):null}).filter(function(Yr){return Yr}).join(" ");return"")}var pe=function(Et){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(gt?"".concat(gt,"-"):"").concat(Et).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},ge=function(Et,gt,Ot){return Object.keys(Et).length?".".concat(gt).concat(Ot!=null&&Ot.scope?".".concat(Ot.scope):"","{").concat(Object.entries(Et).map(function(jt){var Or=(0,t.Z)(jt,2),Kr=Or[0],Yr=Or[1];return"".concat(Kr,":").concat(Yr,";")}).join(""),"}"):""},lt=function(Et,gt,Ot){var jt={},Or={};return Object.entries(Et).forEach(function(Kr){var Yr,Xr,vn=(0,t.Z)(Kr,2),xn=vn[0],Pt=vn[1];if(Ot!=null&&(Yr=Ot.preserve)!==null&&Yr!==void 0&&Yr[xn])Or[xn]=Pt;else if((typeof Pt=="string"||typeof Pt=="number")&&!(Ot!=null&&(Xr=Ot.ignore)!==null&&Xr!==void 0&&Xr[xn])){var Gt,Vt=pe(xn,Ot==null?void 0:Ot.prefix);jt[Vt]=typeof Pt=="number"&&!(Ot!=null&&(Gt=Ot.unitless)!==null&&Gt!==void 0&&Gt[xn])?"".concat(Pt,"px"):String(Pt),Or[xn]="var(".concat(Vt,")")}}),[Or,ge(jt,gt,{scope:Ot==null?void 0:Ot.scope})]},Qe=e(34280),Ve=(0,a.Z)({},f),it=Ve.useInsertionEffect,Dt=function(Et,gt,Ot){o.useMemo(Et,Ot),(0,Qe.Z)(function(){return gt(!0)},Ot)},Yt=it?function(ut,Et,gt){return it(function(){return ut(),Et()},gt)}:Dt,Se=Yt,je=(0,a.Z)({},f),Be=je.useInsertionEffect,ht=function(Et){var gt=[],Ot=!1;function jt(Or){Ot||gt.push(Or)}return o.useEffect(function(){return Ot=!1,function(){Ot=!0,gt.length&>.forEach(function(Or){return Or()})}},Et),jt},At=function(){return function(Et){Et()}},ce=typeof Be!="undefined"?ht:At,_t=ce;function qt(){return!1}var Ht=!1;function Ut(){return Ht}var cr=qt;if(0)var Ze,dt;function Mt(ut,Et,gt,Ot,jt){var Or=o.useContext(H),Kr=Or.cache,Yr=[ut].concat((0,n.Z)(Et)),Xr=S(Yr),vn=_t([Xr]),xn=cr(),Pt=function(Hr){Kr.opUpdate(Xr,function(Ae){var rn=Ae||[void 0,void 0],Qr=(0,t.Z)(rn,2),Yn=Qr[0],Un=Yn===void 0?0:Yn,rr=Qr[1],ga=rr,Vn=ga||gt(),ra=[Un,Vn];return Hr?Hr(ra):ra})};o.useMemo(function(){Pt()},[Xr]);var Gt=Kr.opGet(Xr),Vt=Gt[1];return Se(function(){jt==null||jt(Vt)},function(Tr){return Pt(function(Hr){var Ae=(0,t.Z)(Hr,2),rn=Ae[0],Qr=Ae[1];return Tr&&rn===0&&(jt==null||jt(Vt)),[rn+1,Qr]}),function(){Kr.opUpdate(Xr,function(Hr){var Ae=Hr||[],rn=(0,t.Z)(Ae,2),Qr=rn[0],Yn=Qr===void 0?0:Qr,Un=rn[1],rr=Yn-1;return rr===0?(vn(function(){(Tr||!Kr.opGet(Xr))&&(Ot==null||Ot(Un,!1))}),null):[Yn-1,Un]})}},[Xr]),Vt}var ar={},$t="css",pr=new Map;function Ir(ut){pr.set(ut,(pr.get(ut)||0)+1)}function Mr(ut,Et){if(typeof document!="undefined"){var gt=document.querySelectorAll("style[".concat(R,'="').concat(ut,'"]'));gt.forEach(function(Ot){if(Ot[k]===Et){var jt;(jt=Ot.parentNode)===null||jt===void 0||jt.removeChild(Ot)}})}}var er=0;function Nt(ut,Et){pr.set(ut,(pr.get(ut)||0)-1);var gt=new Set;pr.forEach(function(Ot,jt){Ot<=0&>.add(jt)}),pr.size-gt.size>er&>.forEach(function(Ot){Mr(Ot,Et),pr.delete(Ot)})}var Kt=function(Et,gt,Ot,jt){var Or=Ot.getDerivativeToken(Et),Kr=(0,a.Z)((0,a.Z)({},Or),gt);return jt&&(Kr=jt(Kr)),Kr},Qt="token";function Cr(ut,Et){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ot=(0,o.useContext)(H),jt=Ot.cache.instanceId,Or=Ot.container,Kr=gt.salt,Yr=Kr===void 0?"":Kr,Xr=gt.override,vn=Xr===void 0?ar:Xr,xn=gt.formatToken,Pt=gt.getComputedToken,Gt=gt.cssVar,Vt=Ce(function(){return Object.assign.apply(Object,[{}].concat((0,n.Z)(Et)))},Et),Tr=at(Vt),Hr=at(vn),Ae=Gt?at(Gt):"",rn=Mt(Qt,[Yr,ut.id,Tr,Hr,Ae],function(){var Qr,Yn=Pt?Pt(Vt,vn,ut):Kt(Vt,vn,ut,xn),Un=(0,a.Z)({},Yn),rr="";if(Gt){var ga=lt(Yn,Gt.key,{prefix:Gt.prefix,ignore:Gt.ignore,unitless:Gt.unitless,preserve:Gt.preserve}),Vn=(0,t.Z)(ga,2);Yn=Vn[0],rr=Vn[1]}var ra=ct(Yn,Yr);Yn._tokenKey=ra,Un._tokenKey=ct(Un,Yr);var Co=(Qr=Gt==null?void 0:Gt.key)!==null&&Qr!==void 0?Qr:ra;Yn._themeKey=Co,Ir(Co);var bo="".concat($t,"-").concat(u(ra));return Yn._hashId=bo,[Yn,bo,Un,rr,(Gt==null?void 0:Gt.key)||""]},function(Qr){Nt(Qr[0]._themeKey,jt)},function(Qr){var Yn=(0,t.Z)(Qr,4),Un=Yn[0],rr=Yn[3];if(Gt&&rr){var ga=(0,c.hq)(rr,u("css-variables-".concat(Un._themeKey)),{mark:T,prepend:"queue",attachTo:Or,priority:-999});ga[k]=jt,ga.setAttribute(R,Un._themeKey)}});return rn}var Er=function(Et,gt,Ot){var jt=(0,t.Z)(Et,5),Or=jt[2],Kr=jt[3],Yr=jt[4],Xr=Ot||{},vn=Xr.plain;if(!Kr)return null;var xn=Or._tokenKey,Pt=-999,Gt={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Pt)},Vt=mt(Kr,Yr,xn,Gt,vn);return[Pt,xn,Vt]},wt=e(60499),qe={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},Ue=qe,Le="-ms-",rt="-moz-",Tt="-webkit-",Lt="comm",gr="rule",yr="decl",Ur="@page",bn="@media",sr="@import",_n="@charset",on="@viewport",Fe="@supports",Ne="@document",en="@namespace",pn="@keyframes",ha="@font-face",ma="@counter-style",On="@font-feature-values",za="@layer",ja="@scope",gn=Math.abs,Va=String.fromCharCode,va=Object.assign;function _o(ut,Et){return ya(ut,0)^45?(((Et<<2^ya(ut,0))<<2^ya(ut,1))<<2^ya(ut,2))<<2^ya(ut,3):0}function no(ut){return ut.trim()}function Ja(ut,Et){return(ut=Et.exec(ut))?ut[0]:ut}function Za(ut,Et,gt){return ut.replace(Et,gt)}function No(ut,Et,gt){return ut.indexOf(Et,gt)}function ya(ut,Et){return ut.charCodeAt(Et)|0}function na(ut,Et,gt){return ut.slice(Et,gt)}function En(ut){return ut.length}function wa(ut){return ut.length}function Pe(ut,Et){return Et.push(ut),ut}function $n(ut,Et){return ut.map(Et).join("")}function aa(ut,Et){return ut.filter(function(gt){return!Ja(gt,Et)})}function yo(ut,Et){for(var gt="",Ot=0;Ot0?ya(q,--xe):0,Ha--,Xe===10&&(Ha=1,Wa--),Xe}function Gr(){return Xe=xe2||nt(Xe)>3?"":" "}function xt(ut){for(;Gr();)switch(nt(Xe)){case 0:append(or(xe-1),ut);break;case 2:append(Ye(Xe),ut);break;default:append(from(Xe),ut)}return ut}function Zt(ut,Et){for(;--Et&&Gr()&&!(Xe<48||Xe>102||Xe>57&&Xe<65||Xe>70&&Xe<97););return sn(ut,kr()+(Et<6&&ea()==32&&Gr()==32))}function hr(ut){for(;Gr();)switch(Xe){case ut:return xe;case 34:case 39:ut!==34&&ut!==39&&hr(Xe);break;case 40:ut===41&&hr(ut);break;case 92:Gr();break}return xe}function xr(ut,Et){for(;Gr()&&ut+Xe!==57;)if(ut+Xe===84&&ea()===47)break;return"/*"+sn(Et,xe-1)+"*"+Va(ut===47?ut:Gr())}function or(ut){for(;!nt(ea());)Gr();return sn(ut,xe)}function wr(ut){return ue(an("",null,null,null,[""],ut=be(ut),0,[0],ut))}function an(ut,Et,gt,Ot,jt,Or,Kr,Yr,Xr){for(var vn=0,xn=0,Pt=Kr,Gt=0,Vt=0,Tr=0,Hr=1,Ae=1,rn=1,Qr=0,Yn="",Un=jt,rr=Or,ga=Ot,Vn=Yn;Ae;)switch(Tr=Qr,Qr=Gr()){case 40:if(Tr!=108&&ya(Vn,Pt-1)==58){No(Vn+=Za(Ye(Qr),"&","&\f"),"&\f",gn(vn?Yr[vn-1]:0))!=-1&&(rn=-1);break}case 34:case 39:case 91:Vn+=Ye(Qr);break;case 9:case 10:case 13:case 32:Vn+=yt(Tr);break;case 92:Vn+=Zt(kr()-1,7);continue;case 47:switch(ea()){case 42:case 47:Pe(un(xr(Gr(),kr()),Et,gt,Xr),Xr),(nt(Tr||1)==5||nt(ea()||1)==5)&&En(Vn)&&na(Vn,-1,void 0)!==" "&&(Vn+=" ");break;default:Vn+="/"}break;case 123*Hr:Yr[vn++]=En(Vn)*rn;case 125*Hr:case 59:case 0:switch(Qr){case 0:case 125:Ae=0;case 59+xn:rn==-1&&(Vn=Za(Vn,/\f/g,"")),Vt>0&&(En(Vn)-Pt||Hr===0&&Tr===47)&&Pe(Vt>32?tn(Vn+";",Ot,gt,Pt-1,Xr):tn(Za(Vn," ","")+";",Ot,gt,Pt-2,Xr),Xr);break;case 59:Vn+=";";default:if(Pe(ga=zn(Vn,Et,gt,vn,xn,jt,Yr,Yn,Un=[],rr=[],Pt,Or),Or),Qr===123)if(xn===0)an(Vn,Et,ga,ga,Un,Or,Pt,Yr,rr);else{switch(Gt){case 99:if(ya(Vn,3)===110)break;case 108:if(ya(Vn,2)===97)break;default:xn=0;case 100:case 109:case 115:}xn?an(ut,ga,ga,Ot&&Pe(zn(ut,ga,ga,0,0,jt,Yr,Yn,jt,Un=[],Pt,rr),rr),jt,rr,Pt,Yr,Ot?Un:rr):an(Vn,ga,ga,ga,[""],rr,0,Yr,rr)}}vn=xn=Vt=0,Hr=rn=1,Yn=Vn="",Pt=Kr;break;case 58:Pt=1+En(Vn),Vt=Tr;default:if(Hr<1){if(Qr==123)--Hr;else if(Qr==125&&Hr++==0&&Sr()==125)continue}switch(Vn+=Va(Qr),Qr*Hr){case 38:rn=xn>0?1:(Vn+="\f",-1);break;case 44:Yr[vn++]=(En(Vn)-1)*rn,rn=1;break;case 64:ea()===45&&(Vn+=Ye(Gr())),Gt=ea(),xn=Pt=En(Yn=Vn+=or(kr())),Qr++;break;case 45:Tr===45&&En(Vn)==2&&(Hr=0)}}return Or}function zn(ut,Et,gt,Ot,jt,Or,Kr,Yr,Xr,vn,xn,Pt){for(var Gt=jt-1,Vt=jt===0?Or:[""],Tr=wa(Vt),Hr=0,Ae=0,rn=0;Hr0?Vt[Qr]+" "+Yn:Za(Yn,/&\f/g,Vt[Qr])))&&(Xr[rn++]=Un);return It(ut,Et,gt,jt===0?gr:Yr,Xr,vn,xn,Pt)}function un(ut,Et,gt,Ot){return It(ut,Et,gt,Lt,Va(Rr()),na(ut,2,-2),0,Ot)}function tn(ut,Et,gt,Ot,jt){return It(ut,Et,gt,yr,na(ut,0,Ot),na(ut,Ot+1,-1),Ot,jt)}function vr(ut,Et){var gt=Et.path,Ot=Et.parentSelectors;(0,He.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(gt?"Error in ".concat(gt,": "):"").concat(ut).concat(Ot.length?" Selector: ".concat(Ot.join(" | ")):""))}var mn=function(Et,gt,Ot){if(Et==="content"){var jt=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Or=["normal","none","initial","inherit","unset"];(typeof gt!="string"||Or.indexOf(gt)===-1&&!jt.test(gt)&&(gt.charAt(0)!==gt.charAt(gt.length-1)||gt.charAt(0)!=='"'&>.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(gt,"\"'`."),Ot)}},Wr=null,Sn=function(Et,gt,Ot){Et==="animation"&&Ot.hashId&>!=="none"&&lintWarning("You seem to be using hashed animation '".concat(gt,"', in which case 'animationName' with Keyframe as value is recommended."),Ot)},jn=null;function wn(ut){var Et,gt=((Et=ut.match(/:not\(([^)]*)\)/))===null||Et===void 0?void 0:Et[1])||"",Ot=gt.split(/(\[[^[]*])|(?=[.#])/).filter(function(jt){return jt});return Ot.length>1}function Ea(ut){return ut.parentSelectors.reduce(function(Et,gt){return Et?gt.includes("&")?gt.replace(/&/g,Et):"".concat(Et," ").concat(gt):gt},"")}var Pn=function(Et,gt,Ot){var jt=Ea(Ot),Or=jt.match(/:not\([^)]*\)/g)||[];Or.length>0&&Or.some(wn)&&vr("Concat ':not' selector not support in legacy browsers.",Ot)},la=Pn,dn=function(Et,gt,Ot){switch(Et){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":vr("You seem to be using non-logical property '".concat(Et,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof gt=="string"){var jt=gt.split(" ").map(function(Yr){return Yr.trim()});jt.length===4&&jt[1]!==jt[3]&&vr("You seem to be using '".concat(Et,"' property with different left ").concat(Et," and right ").concat(Et,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot)}return;case"clear":case"textAlign":(gt==="left"||gt==="right")&&vr("You seem to be using non-logical value '".concat(gt,"' of ").concat(Et,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot);return;case"borderRadius":if(typeof gt=="string"){var Or=gt.split("/").map(function(Yr){return Yr.trim()}),Kr=Or.reduce(function(Yr,Xr){if(Yr)return Yr;var vn=Xr.split(" ").map(function(xn){return xn.trim()});return vn.length>=2&&vn[0]!==vn[1]||vn.length===3&&vn[1]!==vn[2]||vn.length===4&&vn[2]!==vn[3]?!0:Yr},!1);Kr&&vr("You seem to be using non-logical value '".concat(gt,"' of ").concat(Et,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot)}return;default:}},Fn=dn,xa=function(Et,gt,Ot){(typeof gt=="string"&&/NaN/g.test(gt)||Number.isNaN(gt))&&vr("Unexpected 'NaN' in property '".concat(Et,": ").concat(gt,"'."),Ot)},Ra=xa,oa=function(Et,gt,Ot){Ot.parentSelectors.some(function(jt){var Or=jt.split(",");return Or.some(function(Kr){return Kr.split("&").length>2})})&&vr("Should not use more than one `&` in a selector.",Ot)},ia=oa,sa="data-ant-cssinjs-cache-path",fo="_FILE_STYLE__";function Bo(ut){return Object.keys(ut).map(function(Et){var gt=ut[Et];return"".concat(Et,":").concat(gt)}).join(";")}var Jo,Si=!0;function Bi(ut){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Jo=ut,Si=Et}function cs(){if(!Jo&&(Jo={},(0,F.Z)())){var ut=document.createElement("div");ut.className=sa,ut.style.position="fixed",ut.style.visibility="hidden",ut.style.top="-9999px",document.body.appendChild(ut);var Et=getComputedStyle(ut).content||"";Et=Et.replace(/^"/,"").replace(/"$/,""),Et.split(";").forEach(function(jt){var Or=jt.split(":"),Kr=(0,t.Z)(Or,2),Yr=Kr[0],Xr=Kr[1];Jo[Yr]=Xr});var gt=document.querySelector("style[".concat(sa,"]"));if(gt){var Ot;Si=!1,(Ot=gt.parentNode)===null||Ot===void 0||Ot.removeChild(gt)}document.body.removeChild(ut)}}function ls(ut){return cs(),!!Jo[ut]}function Ci(ut){var Et=Jo[ut],gt=null;if(Et&&(0,F.Z)())if(Si)gt=fo;else{var Ot=document.querySelector("style[".concat(T,'="').concat(Jo[ut],'"]'));Ot?gt=Ot.innerHTML:delete Jo[ut]}return[gt,Et]}var xo="_skip_check_",zo="_multi_value_";function Oi(ut){var Et=yo(wr(ut),ai);return Et.replace(/\{%%%\:[^;];}/g,";")}function yi(ut){return(0,Y.Z)(ut)==="object"&&ut&&(xo in ut||zo in ut)}function Yi(ut,Et,gt){if(!Et)return ut;var Ot=".".concat(Et),jt=gt==="low"?":where(".concat(Ot,")"):Ot,Or=ut.split(",").map(function(Kr){var Yr,Xr=Kr.trim().split(/\s+/),vn=Xr[0]||"",xn=((Yr=vn.match(/^\w+/))===null||Yr===void 0?void 0:Yr[0])||"";return vn="".concat(xn).concat(jt).concat(vn.slice(xn.length)),[vn].concat((0,n.Z)(Xr.slice(1))).join(" ")});return Or.join(",")}var Os=function ut(Et){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},jt=Ot.root,Or=Ot.injectHash,Kr=Ot.parentSelectors,Yr=gt.hashId,Xr=gt.layer,vn=gt.path,xn=gt.hashPriority,Pt=gt.transformers,Gt=Pt===void 0?[]:Pt,Vt=gt.linters,Tr=Vt===void 0?[]:Vt,Hr="",Ae={};function rn(Un){var rr=Un.getName(Yr);if(!Ae[rr]){var ga=ut(Un.style,gt,{root:!1,parentSelectors:Kr}),Vn=(0,t.Z)(ga,1),ra=Vn[0];Ae[rr]="@keyframes ".concat(Un.getName(Yr)).concat(ra)}}function Qr(Un){var rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Un.forEach(function(ga){Array.isArray(ga)?Qr(ga,rr):ga&&rr.push(ga)}),rr}var Yn=Qr(Array.isArray(Et)?Et:[Et]);return Yn.forEach(function(Un){var rr=typeof Un=="string"&&!jt?{}:Un;if(typeof rr=="string")Hr+="".concat(rr,` -`);else if(rr._keyframe)rn(rr);else{var ga=Gt.reduce(function(Vn,ra){var Co;return(ra==null||(Co=ra.visit)===null||Co===void 0?void 0:Co.call(ra,Vn))||Vn},rr);Object.keys(ga).forEach(function(Vn){var ra=ga[Vn];if((0,Y.Z)(ra)==="object"&&ra&&(Vn!=="animationName"||!ra._keyframe)&&!yi(ra)){var Co=!1,bo=Vn.trim(),Zn=!1;(jt||Or)&&Yr?bo.startsWith("@")?Co=!0:bo==="&"?bo=Yi("",Yr,xn):bo=Yi(Vn,Yr,xn):jt&&!Yr&&(bo==="&"||bo==="")&&(bo="",Zn=!0);var oi=ut(ra,gt,{root:Zn,injectHash:Co,parentSelectors:[].concat((0,n.Z)(Kr),[bo])}),Oo=(0,t.Z)(oi,2),so=Oo[0],Ka=Oo[1];Ae=(0,a.Z)((0,a.Z)({},Ae),Ka),Hr+="".concat(bo).concat(so)}else{let Vr=function(wo,ko){var ve=wo.replace(/[A-Z]/g,function(We){return"-".concat(We.toLowerCase())}),he=ko;!Ue[wo]&&typeof he=="number"&&he!==0&&(he="".concat(he,"px")),wo==="animationName"&&ko!==null&&ko!==void 0&&ko._keyframe&&(rn(ko),he=ko.getName(Yr)),Hr+="".concat(ve,":").concat(he,";")};var li,ei=(li=ra==null?void 0:ra.value)!==null&&li!==void 0?li:ra;(0,Y.Z)(ra)==="object"&&ra!==null&&ra!==void 0&&ra[zo]&&Array.isArray(ei)?ei.forEach(function(wo){Vr(Vn,wo)}):Vr(Vn,ei)}})}}),jt?Xr&&(Hr&&(Hr="@layer ".concat(Xr.name," {").concat(Hr,"}")),Xr.dependencies&&(Ae["@layer ".concat(Xr.name)]=Xr.dependencies.map(function(Un){return"@layer ".concat(Un,", ").concat(Xr.name,";")}).join(` -`))):Hr="{".concat(Hr,"}"),[Hr,Ae]};function $o(ut,Et){return u("".concat(ut.join("%")).concat(Et))}function ds(){return null}var zi="style";function Is(ut,Et){var gt=ut.token,Ot=ut.path,jt=ut.hashId,Or=ut.layer,Kr=ut.nonce,Yr=ut.clientOnly,Xr=ut.order,vn=Xr===void 0?0:Xr,xn=o.useContext(H),Pt=xn.autoClear,Gt=xn.mock,Vt=xn.defaultCache,Tr=xn.hashPriority,Hr=xn.container,Ae=xn.ssrInline,rn=xn.transformers,Qr=xn.linters,Yn=xn.cache,Un=xn.layer,rr=gt._tokenKey,ga=[rr];Un&&ga.push("layer"),ga.push.apply(ga,(0,n.Z)(Ot));var Vn=Ee,ra=Mt(zi,ga,function(){var Oo=ga.join("|");if(ls(Oo)){var so=Ci(Oo),Ka=(0,t.Z)(so,2),li=Ka[0],ei=Ka[1];if(li)return[li,rr,ei,{},Yr,vn]}var Vr=Et(),wo=Os(Vr,{hashId:jt,hashPriority:Tr,layer:Un?Or:void 0,path:Ot.join("-"),transformers:rn,linters:Qr}),ko=(0,t.Z)(wo,2),ve=ko[0],he=ko[1],We=Oi(ve),tt=$o(ga,We);return[We,rr,tt,he,Yr,vn]},function(Oo,so){var Ka=(0,t.Z)(Oo,3),li=Ka[2];(so||Pt)&&Ee&&(0,c.jL)(li,{mark:T,attachTo:Hr})},function(Oo){var so=(0,t.Z)(Oo,4),Ka=so[0],li=so[1],ei=so[2],Vr=so[3];if(Vn&&Ka!==fo){var wo={mark:T,prepend:Un?!1:"queue",attachTo:Hr,priority:vn},ko=typeof Kr=="function"?Kr():Kr;ko&&(wo.csp={nonce:ko});var ve=[],he=[];Object.keys(Vr).forEach(function(tt){tt.startsWith("@layer")?ve.push(tt):he.push(tt)}),ve.forEach(function(tt){(0,c.hq)(Oi(Vr[tt]),"_layer-".concat(tt),(0,a.Z)((0,a.Z)({},wo),{},{prepend:!0}))});var We=(0,c.hq)(Ka,ei,wo);We[k]=Yn.instanceId,We.setAttribute(R,rr),he.forEach(function(tt){(0,c.hq)(Oi(Vr[tt]),"_effect-".concat(tt),wo)})}}),Co=(0,t.Z)(ra,3),bo=Co[0],Zn=Co[1],oi=Co[2];return function(Oo){var so;return!Ae||Vn||!Vt?so=o.createElement(ds,null):so=o.createElement("style",(0,wt.Z)({},(0,r.Z)((0,r.Z)({},R,Zn),T,oi),{dangerouslySetInnerHTML:{__html:bo}})),o.createElement(o.Fragment,null,so,Oo)}}var fs=function(Et,gt,Ot){var jt=(0,t.Z)(Et,6),Or=jt[0],Kr=jt[1],Yr=jt[2],Xr=jt[3],vn=jt[4],xn=jt[5],Pt=Ot||{},Gt=Pt.plain;if(vn)return null;var Vt=Or,Tr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(xn)};return Vt=mt(Or,Kr,Yr,Tr,Gt),Xr&&Object.keys(Xr).forEach(function(Hr){if(!gt[Hr]){gt[Hr]=!0;var Ae=Oi(Xr[Hr]),rn=mt(Ae,Kr,"_effect-".concat(Hr),Tr,Gt);Hr.startsWith("@layer")?Vt=rn+Vt:Vt+=rn}}),[xn,Yr,Vt]},Zi="cssVar",Vs=function(Et,gt){var Ot=Et.key,jt=Et.prefix,Or=Et.unitless,Kr=Et.ignore,Yr=Et.token,Xr=Et.scope,vn=Xr===void 0?"":Xr,xn=(0,o.useContext)(H),Pt=xn.cache.instanceId,Gt=xn.container,Vt=Yr._tokenKey,Tr=[].concat((0,n.Z)(Et.path),[Ot,vn,Vt]),Hr=Mt(Zi,Tr,function(){var Ae=gt(),rn=lt(Ae,Ot,{prefix:jt,unitless:Or,ignore:Kr,scope:vn}),Qr=(0,t.Z)(rn,2),Yn=Qr[0],Un=Qr[1],rr=$o(Tr,Un);return[Yn,Un,rr,Ot]},function(Ae){var rn=(0,t.Z)(Ae,3),Qr=rn[2];Ee&&(0,c.jL)(Qr,{mark:T,attachTo:Gt})},function(Ae){var rn=(0,t.Z)(Ae,3),Qr=rn[1],Yn=rn[2];if(Qr){var Un=(0,c.hq)(Qr,Yn,{mark:T,prepend:"queue",attachTo:Gt,priority:-999});Un[k]=Pt,Un.setAttribute(R,Ot)}});return Hr},qo=function(Et,gt,Ot){var jt=(0,t.Z)(Et,4),Or=jt[1],Kr=jt[2],Yr=jt[3],Xr=Ot||{},vn=Xr.plain;if(!Or)return null;var xn=-999,Pt={"data-rc-order":"prependQueue","data-rc-priority":"".concat(xn)},Gt=mt(Or,Yr,Kr,Pt,vn);return[xn,Kr,Gt]},ps=Vs,Qi=(0,r.Z)((0,r.Z)((0,r.Z)({},zi,fs),Qt,Er),Zi,qo);function Ji(ut){return ut!==null}function vs(ut,Et){var gt=typeof Et=="boolean"?{plain:Et}:Et||{},Ot=gt.plain,jt=Ot===void 0?!1:Ot,Or=gt.types,Kr=Or===void 0?["style","token","cssVar"]:Or,Yr=gt.once,Xr=Yr===void 0?!1:Yr,vn=new RegExp("^(".concat((typeof Kr=="string"?[Kr]:Kr).join("|"),")%")),xn=Array.from(ut.cache.keys()).filter(function(Tr){return vn.test(Tr)}),Pt={},Gt={},Vt="";return xn.map(function(Tr){if(Xr&&ut.extracted.has(Tr))return null;var Hr=Tr.replace(vn,"").replace(/%/g,"|"),Ae=Tr.split("%"),rn=(0,t.Z)(Ae,1),Qr=rn[0],Yn=Qi[Qr],Un=Yn(ut.cache.get(Tr)[1],Pt,{plain:jt});if(!Un)return null;var rr=(0,t.Z)(Un,3),ga=rr[0],Vn=rr[1],ra=rr[2];return Tr.startsWith("style")&&(Gt[Hr]=Vn),ut.extracted.add(Tr),[ga,ra]}).filter(Ji).sort(function(Tr,Hr){var Ae=(0,t.Z)(Tr,1),rn=Ae[0],Qr=(0,t.Z)(Hr,1),Yn=Qr[0];return rn-Yn}).forEach(function(Tr){var Hr=(0,t.Z)(Tr,2),Ae=Hr[1];Vt+=Ae}),Vt+=mt(".".concat(sa,'{content:"').concat(Bo(Gt),'";}'),void 0,void 0,(0,r.Z)({},sa,sa),jt),Vt}var $i=function(){function ut(Et,gt){(0,g.Z)(this,ut),(0,r.Z)(this,"name",void 0),(0,r.Z)(this,"style",void 0),(0,r.Z)(this,"_keyframe",!0),this.name=Et,this.style=gt}return(0,P.Z)(ut,[{key:"getName",value:function(){var gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return gt?"".concat(gt,"-").concat(this.name):this.name}}]),ut}(),qi=$i;function hs(ut){if(typeof ut=="number")return[[ut],!1];var Et=String(ut).trim(),gt=Et.match(/(.*)(!important)/),Ot=(gt?gt[1]:Et).trim().split(/\s+/),jt=[],Or=0;return[Ot.reduce(function(Kr,Yr){if(Yr.includes("(")||Yr.includes(")")){var Xr=Yr.split("(").length-1,vn=Yr.split(")").length-1;Or+=Xr-vn}return Or>=0&&jt.push(Yr),Or===0&&(Kr.push(jt.join(" ")),jt=[]),Kr},[]),!!gt]}function Hi(ut){return ut.notSplit=!0,ut}var Ks={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Hi(["borderTop","borderBottom"]),borderBlockStart:Hi(["borderTop"]),borderBlockEnd:Hi(["borderBottom"]),borderInline:Hi(["borderLeft","borderRight"]),borderInlineStart:Hi(["borderLeft"]),borderInlineEnd:Hi(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Eo(ut,Et){var gt=ut;return Et&&(gt="".concat(gt," !important")),{_skip_check_:!0,value:gt}}var Xs={visit:function(Et){var gt={};return Object.keys(Et).forEach(function(Ot){var jt=Et[Ot],Or=Ks[Ot];if(Or&&(typeof jt=="number"||typeof jt=="string")){var Kr=hs(jt),Yr=(0,t.Z)(Kr,2),Xr=Yr[0],vn=Yr[1];Or.length&&Or.notSplit?Or.forEach(function(xn){gt[xn]=Eo(jt,vn)}):Or.length===1?gt[Or[0]]=Eo(Xr[0],vn):Or.length===2?Or.forEach(function(xn,Pt){var Gt;gt[xn]=Eo((Gt=Xr[Pt])!==null&&Gt!==void 0?Gt:Xr[0],vn)}):Or.length===4?Or.forEach(function(xn,Pt){var Gt,Vt;gt[xn]=Eo((Gt=(Vt=Xr[Pt])!==null&&Vt!==void 0?Vt:Xr[Pt-2])!==null&&Gt!==void 0?Gt:Xr[0],vn)}):gt[Ot]=jt}else gt[Ot]=jt}),gt}},es=Xs,Di=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Ii(ut,Et){var gt=Math.pow(10,Et+1),Ot=Math.floor(ut*gt);return Math.round(Ot/10)*10/gt}var Ro=function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},gt=Et.rootValue,Ot=gt===void 0?16:gt,jt=Et.precision,Or=jt===void 0?5:jt,Kr=Et.mediaQuery,Yr=Kr===void 0?!1:Kr,Xr=function(Pt,Gt){if(!Gt)return Pt;var Vt=parseFloat(Gt);if(Vt<=1)return Pt;var Tr=Ii(Vt/Ot,Or);return"".concat(Tr,"rem")},vn=function(Pt){var Gt=(0,a.Z)({},Pt);return Object.entries(Pt).forEach(function(Vt){var Tr=(0,t.Z)(Vt,2),Hr=Tr[0],Ae=Tr[1];if(typeof Ae=="string"&&Ae.includes("px")){var rn=Ae.replace(Di,Xr);Gt[Hr]=rn}!Ue[Hr]&&typeof Ae=="number"&&Ae!==0&&(Gt[Hr]="".concat(Ae,"px").replace(Di,Xr));var Qr=Hr.trim();if(Qr.startsWith("@")&&Qr.includes("px")&&Yr){var Yn=Hr.replace(Di,Xr);Gt[Yn]=Gt[Hr],delete Gt[Hr]}}),Gt};return{visit:vn}},Ai=Ro,Cu={supportModernCSS:function(){return ye()&&Oe()}}},17835:function(i,d,e){"use strict";e.r(d),e.d(d,{FastColor:function(){return u}});var t=e(18642);const r=Math.round;function n(c,o){const f=c.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],_=f.map(p=>parseFloat(p));for(let p=0;p<3;p+=1)_[p]=o(_[p]||0,f[p]||"",p);return f[3]?_[3]=f[3].includes("%")?_[3]/100:_[3]:_[3]=1,_}const a=(c,o,f)=>f===0?c:c/100;function s(c,o){const f=o||255;return c>f?f:c<0?0:c}class u{constructor(o){(0,t.Z)(this,"isValid",!0),(0,t.Z)(this,"r",0),(0,t.Z)(this,"g",0),(0,t.Z)(this,"b",0),(0,t.Z)(this,"a",1),(0,t.Z)(this,"_h",void 0),(0,t.Z)(this,"_s",void 0),(0,t.Z)(this,"_l",void 0),(0,t.Z)(this,"_v",void 0),(0,t.Z)(this,"_max",void 0),(0,t.Z)(this,"_min",void 0),(0,t.Z)(this,"_brightness",void 0);function f(_){return _[0]in o&&_[1]in o&&_[2]in o}if(o)if(typeof o=="string"){let p=function(x){return _.startsWith(x)};const _=o.trim();/^#?[A-F\d]{3,8}$/i.test(_)?this.fromHexString(_):p("rgb")?this.fromRgbString(_):p("hsl")?this.fromHslString(_):(p("hsv")||p("hsb"))&&this.fromHsvString(_)}else if(o instanceof u)this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this._h=o._h,this._s=o._s,this._l=o._l,this._v=o._v;else if(f("rgb"))this.r=s(o.r),this.g=s(o.g),this.b=s(o.b),this.a=typeof o.a=="number"?s(o.a,1):1;else if(f("hsl"))this.fromHsl(o);else if(f("hsv"))this.fromHsv(o);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(o))}setR(o){return this._sc("r",o)}setG(o){return this._sc("g",o)}setB(o){return this._sc("b",o)}setA(o){return this._sc("a",o,1)}setHue(o){const f=this.toHsv();return f.h=o,this._c(f)}getLuminance(){function o(x){const g=x/255;return g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4)}const f=o(this.r),_=o(this.g),p=o(this.b);return .2126*f+.7152*_+.0722*p}getHue(){if(typeof this._h=="undefined"){const o=this.getMax()-this.getMin();o===0?this._h=0:this._h=r(60*(this.r===this.getMax()?(this.g-this.b)/o+(this.g1&&(p=1),this._c({h:f,s:_,l:p,a:this.a})}mix(o,f=50){const _=this._c(o),p=f/100,x=P=>(_[P]-this[P])*p+this[P],g={r:r(x("r")),g:r(x("g")),b:r(x("b")),a:r(x("a")*100)/100};return this._c(g)}tint(o=10){return this.mix({r:255,g:255,b:255,a:1},o)}shade(o=10){return this.mix({r:0,g:0,b:0,a:1},o)}onBackground(o){const f=this._c(o),_=this.a+f.a*(1-this.a),p=x=>r((this[x]*this.a+f[x]*f.a*(1-this.a))/_);return this._c({r:p("r"),g:p("g"),b:p("b"),a:_})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(o){return this.r===o.r&&this.g===o.g&&this.b===o.b&&this.a===o.a}clone(){return this._c(this)}toHexString(){let o="#";const f=(this.r||0).toString(16);o+=f.length===2?f:"0"+f;const _=(this.g||0).toString(16);o+=_.length===2?_:"0"+_;const p=(this.b||0).toString(16);if(o+=p.length===2?p:"0"+p,typeof this.a=="number"&&this.a>=0&&this.a<1){const x=r(this.a*255).toString(16);o+=x.length===2?x:"0"+x}return o}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const o=this.getHue(),f=r(this.getSaturation()*100),_=r(this.getLightness()*100);return this.a!==1?`hsla(${o},${f}%,${_}%,${this.a})`:`hsl(${o},${f}%,${_}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(o,f,_){const p=this.clone();return p[o]=s(f,_),p}_c(o){return new this.constructor(o)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(o){const f=o.replace("#","");function _(p,x){return parseInt(f[p]+f[x||p],16)}f.length<6?(this.r=_(0),this.g=_(1),this.b=_(2),this.a=f[3]?_(3)/255:1):(this.r=_(0,1),this.g=_(2,3),this.b=_(4,5),this.a=f[6]?_(6,7)/255:1)}fromHsl({h:o,s:f,l:_,a:p}){if(this._h=o%360,this._s=f,this._l=_,this.a=typeof p=="number"?p:1,f<=0){const A=r(_*255);this.r=A,this.g=A,this.b=A}let x=0,g=0,P=0;const O=o/60,S=(1-Math.abs(2*_-1))*f,I=S*(1-Math.abs(O%2-1));O>=0&&O<1?(x=S,g=I):O>=1&&O<2?(x=I,g=S):O>=2&&O<3?(g=S,P=I):O>=3&&O<4?(g=I,P=S):O>=4&&O<5?(x=I,P=S):O>=5&&O<6&&(x=S,P=I);const E=_-S/2;this.r=r((x+E)*255),this.g=r((g+E)*255),this.b=r((P+E)*255)}fromHsv({h:o,s:f,v:_,a:p}){this._h=o%360,this._s=f,this._v=_,this.a=typeof p=="number"?p:1;const x=r(_*255);if(this.r=x,this.g=x,this.b=x,f<=0)return;const g=o/60,P=Math.floor(g),O=g-P,S=r(_*(1-f)*255),I=r(_*(1-f*O)*255),E=r(_*(1-f*(1-O))*255);switch(P){case 0:this.g=E,this.b=S;break;case 1:this.r=I,this.b=S;break;case 2:this.r=S,this.b=E;break;case 3:this.r=S,this.g=I;break;case 4:this.r=E,this.g=S;break;case 5:default:this.g=S,this.b=I;break}}fromHsvString(o){const f=n(o,a);this.fromHsv({h:f[0],s:f[1],v:f[2],a:f[3]})}fromHslString(o){const f=n(o,a);this.fromHsl({h:f[0],s:f[1],l:f[2],a:f[3]})}fromRgbString(o){const f=n(o,(_,p)=>p.includes("%")?r(_/100*255):_);this.r=f[0],this.g=f[1],this.b=f[2],this.a=f[3]}}},7657:function(i,d,e){"use strict";e.d(d,{Z:function(){return J}});var t=e(60499),r=e(72190),n=e(18642),a=e(42244),s=e(59301),u=e(92310),c=e.n(u),o=e(68361),f=e(18418),_=e(85899),p=e(43749),x=e(810),g=e(96452),P=e(48736);function O(M){return M.replace(/-(.)/g,function(Z,G){return G.toUpperCase()})}function S(M,Z){(0,P.ZP)(M,"[@ant-design/icons] ".concat(Z))}function I(M){return(0,p.Z)(M)==="object"&&typeof M.name=="string"&&typeof M.theme=="string"&&((0,p.Z)(M.icon)==="object"||typeof M.icon=="function")}function E(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(M).reduce(function(Z,G){var ee=M[G];switch(G){case"class":Z.className=ee,delete Z.class;break;default:delete Z[G],Z[O(G)]=ee}return Z},{})}function A(M,Z,G){return G?s.createElement(M.tag,(0,_.Z)((0,_.Z)({key:Z},E(M.attrs)),G),(M.children||[]).map(function(ee,ie){return A(ee,"".concat(Z,"-").concat(M.tag,"-").concat(ie))})):s.createElement(M.tag,(0,_.Z)({key:Z},E(M.attrs)),(M.children||[]).map(function(ee,ie){return A(ee,"".concat(Z,"-").concat(M.tag,"-").concat(ie))}))}function R(M){return(0,o.generate)(M)[0]}function T(M){return M?Array.isArray(M)?M:[M]:[]}var D={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},k=` +(function(){var __webpack_modules__={68361:function(i,d,e){"use strict";e.r(d),e.d(d,{blue:function(){return M},blueDark:function(){return G},cyan:function(){return D},cyanDark:function(){return Z},geekblue:function(){return B},geekblueDark:function(){return ee},generate:function(){return g},gold:function(){return E},goldDark:function(){return W},gray:function(){return Y},green:function(){return T},greenDark:function(){return k},grey:function(){return H},greyDark:function(){return le},lime:function(){return R},limeDark:function(){return J},magenta:function(){return V},magentaDark:function(){return se},orange:function(){return I},orangeDark:function(){return Q},presetDarkPalettes:function(){return de},presetPalettes:function(){return F},presetPrimaryColors:function(){return P},purple:function(){return j},purpleDark:function(){return ie},red:function(){return O},redDark:function(){return K},volcano:function(){return S},volcanoDark:function(){return X},yellow:function(){return A},yellowDark:function(){return N}});var t=e(17835),r=2,n=.16,a=.05,s=.05,u=.15,c=5,o=4,f=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function _(He,ze,st){var vt;return Math.round(He.h)>=60&&Math.round(He.h)<=240?vt=st?Math.round(He.h)-r*ze:Math.round(He.h)+r*ze:vt=st?Math.round(He.h)+r*ze:Math.round(He.h)-r*ze,vt<0?vt+=360:vt>=360&&(vt-=360),vt}function p(He,ze,st){if(He.h===0&&He.s===0)return He.s;var vt;return st?vt=He.s-n*ze:ze===o?vt=He.s+n:vt=He.s+a*ze,vt>1&&(vt=1),st&&ze===c&&vt>.1&&(vt=.1),vt<.06&&(vt=.06),Math.round(vt*100)/100}function x(He,ze,st){var vt;return st?vt=He.v+s*ze:vt=He.v-u*ze,vt=Math.max(0,Math.min(1,vt)),Math.round(vt*100)/100}function g(He){for(var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},st=[],vt=new t.FastColor(He),Je=vt.toHsv(),Ke=c;Ke>0;Ke-=1){var Re=new t.FastColor({h:_(Je,Ke,!0),s:p(Je,Ke,!0),v:x(Je,Ke,!0)});st.push(Re)}st.push(vt);for(var Ce=1;Ce<=o;Ce+=1){var me=new t.FastColor({h:_(Je,Ce),s:p(Je,Ce),v:x(Je,Ce)});st.push(me)}return ze.theme==="dark"?f.map(function(at){var ct=at.index,St=at.amount;return new t.FastColor(ze.backgroundColor||"#141414").mix(st[ct],St).toHexString()}):st.map(function(at){return at.toHexString()})}var P={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},O=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];O.primary=O[5];var S=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];S.primary=S[5];var I=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];I.primary=I[5];var E=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];E.primary=E[5];var A=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];A.primary=A[5];var R=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];R.primary=R[5];var T=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];T.primary=T[5];var D=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];D.primary=D[5];var M=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];M.primary=M[5];var B=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];B.primary=B[5];var j=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];j.primary=j[5];var V=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];V.primary=V[5];var H=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];H.primary=H[5];var Y=H,F={red:O,volcano:S,orange:I,gold:E,yellow:A,lime:R,green:T,cyan:D,blue:M,geekblue:B,purple:j,magenta:V,grey:H},K=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];K.primary=K[5];var X=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];X.primary=X[5];var Q=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];Q.primary=Q[5];var W=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];W.primary=W[5];var N=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];N.primary=N[5];var J=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];J.primary=J[5];var k=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];k.primary=k[5];var Z=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Z.primary=Z[5];var G=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];G.primary=G[5];var ee=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];ee.primary=ee[5];var ie=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];ie.primary=ie[5];var se=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];se.primary=se[5];var le=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];le.primary=le[5];var de={red:K,volcano:X,orange:Q,gold:W,yellow:N,lime:J,green:k,cyan:Z,blue:G,geekblue:ee,purple:ie,magenta:se,grey:le}},51636:function(i,d,e){"use strict";e.r(d),e.d(d,{genCalc:function(){return T},genStyleUtils:function(){return vt},mergeToken:function(){return F},statistic:function(){return K},statisticToken:function(){return N}});var t=e(43749),r=e(72190),n=e(18642),a=e(85899),s=e(59301),u=e(36237),c=e(38705),o=e(17212),f=e(15793),_=e(39153),p=e(55401),x=(0,o.Z)(function Je(){(0,c.Z)(this,Je)}),g=x,P="CALC_UNIT",O=new RegExp(P,"g");function S(Je){return typeof Je=="number"?"".concat(Je).concat(P):Je}var I=function(Je){(0,_.Z)(Re,Je);var Ke=(0,p.Z)(Re);function Re(Ce,me){var at;(0,c.Z)(this,Re),at=Ke.call(this),(0,n.Z)((0,f.Z)(at),"result",""),(0,n.Z)((0,f.Z)(at),"unitlessCssVar",void 0),(0,n.Z)((0,f.Z)(at),"lowPriority",void 0);var ct=(0,t.Z)(Ce);return at.unitlessCssVar=me,Ce instanceof Re?at.result="(".concat(Ce.result,")"):ct==="number"?at.result=S(Ce):ct==="string"&&(at.result=Ce),at}return(0,o.Z)(Re,[{key:"add",value:function(me){return me instanceof Re?this.result="".concat(this.result," + ").concat(me.getResult()):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," + ").concat(S(me))),this.lowPriority=!0,this}},{key:"sub",value:function(me){return me instanceof Re?this.result="".concat(this.result," - ").concat(me.getResult()):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," - ").concat(S(me))),this.lowPriority=!0,this}},{key:"mul",value:function(me){return this.lowPriority&&(this.result="(".concat(this.result,")")),me instanceof Re?this.result="".concat(this.result," * ").concat(me.getResult(!0)):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," * ").concat(me)),this.lowPriority=!1,this}},{key:"div",value:function(me){return this.lowPriority&&(this.result="(".concat(this.result,")")),me instanceof Re?this.result="".concat(this.result," / ").concat(me.getResult(!0)):(typeof me=="number"||typeof me=="string")&&(this.result="".concat(this.result," / ").concat(me)),this.lowPriority=!1,this}},{key:"getResult",value:function(me){return this.lowPriority||me?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(me){var at=this,ct=me||{},St=ct.unit,bt=!0;return typeof St=="boolean"?bt=St:Array.from(this.unitlessCssVar).some(function(Ie){return at.result.includes(Ie)})&&(bt=!1),this.result=this.result.replace(O,bt?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),Re}(g),E=function(Je){(0,_.Z)(Re,Je);var Ke=(0,p.Z)(Re);function Re(Ce){var me;return(0,c.Z)(this,Re),me=Ke.call(this),(0,n.Z)((0,f.Z)(me),"result",0),Ce instanceof Re?me.result=Ce.result:typeof Ce=="number"&&(me.result=Ce),me}return(0,o.Z)(Re,[{key:"add",value:function(me){return me instanceof Re?this.result+=me.result:typeof me=="number"&&(this.result+=me),this}},{key:"sub",value:function(me){return me instanceof Re?this.result-=me.result:typeof me=="number"&&(this.result-=me),this}},{key:"mul",value:function(me){return me instanceof Re?this.result*=me.result:typeof me=="number"&&(this.result*=me),this}},{key:"div",value:function(me){return me instanceof Re?this.result/=me.result:typeof me=="number"&&(this.result/=me),this}},{key:"equal",value:function(){return this.result}}]),Re}(g),A=E,R=function(Ke,Re){var Ce=Ke==="css"?I:A;return function(me){return new Ce(me,Re)}},T=R,D=function(Ke,Re){return"".concat([Re,Ke.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))},M=D,B=e(70425);function j(Je,Ke,Re,Ce){var me=(0,a.Z)({},Ke[Je]);if(Ce!=null&&Ce.deprecatedTokens){var at=Ce.deprecatedTokens;at.forEach(function(St){var bt=(0,r.Z)(St,2),Ie=bt[0],$e=bt[1];if(me!=null&&me[Ie]||me!=null&&me[$e]){var ft;(ft=me[$e])!==null&&ft!==void 0||(me[$e]=me==null?void 0:me[Ie])}})}var ct=(0,a.Z)((0,a.Z)({},Re),me);return Object.keys(ct).forEach(function(St){ct[St]===Ke[St]&&delete ct[St]}),ct}var V=j,H=typeof CSSINJS_STATISTIC!="undefined",Y=!0;function F(){for(var Je=arguments.length,Ke=new Array(Je),Re=0;Re1e4){var Ce=Date.now();this.lastAccessBeat.forEach(function(me,at){Ce-me>ee&&(Re.map.delete(at),Re.lastAccessBeat.delete(at))}),this.accessBeat=0}}}]),Je}(),se=new ie;function le(Je,Ke){return s.useMemo(function(){var Re=se.get(Ke);if(Re)return Re;var Ce=Je();return se.set(Ke,Ce),Ce},Ke)}var de=le,He=function(){return{}},ze=He;function st(Je){var Ke=Je.useCSP,Re=Ke===void 0?ze:Ke,Ce=Je.useToken,me=Je.usePrefix,at=Je.getResetStyles,ct=Je.getCommonStyle,St=Je.getCompUnitless;function bt(ke,ye,fe,Oe){var Ee=Array.isArray(ke)?ke[0]:ke;function et(it){return"".concat(String(Ee)).concat(it.slice(0,1).toUpperCase()).concat(it.slice(1))}var mt=(Oe==null?void 0:Oe.unitless)||{},pe=typeof St=="function"?St(ke):{},ge=(0,a.Z)((0,a.Z)({},pe),{},(0,n.Z)({},et("zIndexPopup"),!0));Object.keys(mt).forEach(function(it){ge[et(it)]=mt[it]});var lt=(0,a.Z)((0,a.Z)({},Oe),{},{unitless:ge,prefixToken:et}),Qe=$e(ke,ye,fe,lt),Ve=Ie(Ee,fe,lt);return function(it){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:it,Yt=Qe(it,Dt),Se=(0,r.Z)(Yt,2),je=Se[1],Be=Ve(Dt),ht=(0,r.Z)(Be,2),At=ht[0],ce=ht[1];return[At,je,ce]}}function Ie(ke,ye,fe){var Oe=fe.unitless,Ee=fe.injectStyle,et=Ee===void 0?!0:Ee,mt=fe.prefixToken,pe=fe.ignore,ge=function(Ve){var it=Ve.rootCls,Dt=Ve.cssVar,Yt=Dt===void 0?{}:Dt,Se=Ce(),je=Se.realToken;return(0,u.useCSSVarRegister)({path:[ke],prefix:Yt.prefix,key:Yt.key,unitless:Oe,ignore:pe,token:je,scope:it},function(){var Be=k(ke,je,ye),ht=V(ke,je,Be,{deprecatedTokens:fe==null?void 0:fe.deprecatedTokens});return Object.keys(Be).forEach(function(At){ht[mt(At)]=ht[At],delete ht[At]}),ht}),null},lt=function(Ve){var it=Ce(),Dt=it.cssVar;return[function(Yt){return et&&Dt?s.createElement(s.Fragment,null,s.createElement(ge,{rootCls:Ve,cssVar:Dt,component:ke}),Yt):Yt},Dt==null?void 0:Dt.key]};return lt}function $e(ke,ye,fe){var Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ee=Array.isArray(ke)?ke:[ke,ke],et=(0,r.Z)(Ee,1),mt=et[0],pe=Ee.join("-"),ge=Je.layer||{name:"antd"};return function(lt){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lt,Ve=Ce(),it=Ve.theme,Dt=Ve.realToken,Yt=Ve.hashId,Se=Ve.token,je=Ve.cssVar,Be=me(),ht=Be.rootPrefixCls,At=Be.iconPrefixCls,ce=Re(),_t=je?"css":"js",qt=de(function(){var kt=new Set;return je&&Object.keys(Oe.unitless||{}).forEach(function(ar){kt.add((0,u.token2CSSVar)(ar,je.prefix)),kt.add((0,u.token2CSSVar)(ar,M(mt,je.prefix)))}),T(_t,kt)},[_t,mt,je==null?void 0:je.prefix]),Ht=G(_t),Ut=Ht.max,cr=Ht.min,Ze={theme:it,token:Se,hashId:Yt,nonce:function(){return ce.nonce},clientOnly:Oe.clientOnly,layer:ge,order:Oe.order||-999};typeof at=="function"&&(0,u.useStyleRegister)((0,a.Z)((0,a.Z)({},Ze),{},{clientOnly:!1,path:["Shared",ht]}),function(){return at(Se,{prefix:{rootPrefixCls:ht,iconPrefixCls:At},csp:ce})});var dt=(0,u.useStyleRegister)((0,a.Z)((0,a.Z)({},Ze),{},{path:[pe,lt,At]}),function(){if(Oe.injectStyle===!1)return[];var kt=N(Se),ar=kt.token,$t=kt.flush,pr=k(mt,Dt,fe),Ir=".".concat(lt),kr=V(mt,Dt,pr,{deprecatedTokens:Oe.deprecatedTokens});je&&pr&&(0,t.Z)(pr)==="object"&&Object.keys(pr).forEach(function(Qt){pr[Qt]="var(".concat((0,u.token2CSSVar)(Qt,M(mt,je.prefix)),")")});var er=F(ar,{componentCls:Ir,prefixCls:lt,iconCls:".".concat(At),antCls:".".concat(ht),calc:qt,max:Ut,min:cr},je?pr:kr),Nt=ye(er,{hashId:Yt,prefixCls:lt,rootPrefixCls:ht,iconPrefixCls:At});$t(mt,kr);var Kt=typeof ct=="function"?ct(er,lt,Qe,Oe.resetFont):null;return[Oe.resetStyle===!1?null:Kt,Nt]});return[dt,Yt]}}function ft(ke,ye,fe){var Oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ee=$e(ke,ye,fe,(0,a.Z)({resetStyle:!1,order:-998},Oe)),et=function(pe){var ge=pe.prefixCls,lt=pe.rootCls,Qe=lt===void 0?ge:lt;return Ee(ge,Qe),null};return et}return{genStyleHooks:bt,genSubStyleComponent:ft,genComponentStyleHook:$e}}var vt=st},36237:function(i,d,e){"use strict";e.r(d),e.d(d,{Keyframes:function(){return qi},NaNLinter:function(){return Ra},StyleContext:function(){return H},StyleProvider:function(){return V},Theme:function(){return st},_experimental:function(){return Cu},createCache:function(){return B},createTheme:function(){return Je},extractStyle:function(){return vs},genCalc:function(){return se},getComputedToken:function(){return Kt},legacyLogicalPropertiesTransformer:function(){return es},legacyNotSelectorLinter:function(){return la},logicalPropertiesLinter:function(){return Fn},parentSelectorLinter:function(){return ia},px2remTransformer:function(){return Ai},token2CSSVar:function(){return pe},unit:function(){return et},useCSSVarRegister:function(){return ps},useCacheToken:function(){return Cr},useStyleRegister:function(){return Is}});var t=e(72190),r=e(18642),n=e(77654),a=e(85899);function s(ut){for(var Et=0,gt,Ot=0,jt=ut.length;jt>=4;++Ot,jt-=4)gt=ut.charCodeAt(Ot)&255|(ut.charCodeAt(++Ot)&255)<<8|(ut.charCodeAt(++Ot)&255)<<16|(ut.charCodeAt(++Ot)&255)<<24,gt=(gt&65535)*1540483477+((gt>>>16)*59797<<16),gt^=gt>>>24,Et=(gt&65535)*1540483477+((gt>>>16)*59797<<16)^(Et&65535)*1540483477+((Et>>>16)*59797<<16);switch(jt){case 3:Et^=(ut.charCodeAt(Ot+2)&255)<<16;case 2:Et^=(ut.charCodeAt(Ot+1)&255)<<8;case 1:Et^=ut.charCodeAt(Ot)&255,Et=(Et&65535)*1540483477+((Et>>>16)*59797<<16)}return Et^=Et>>>13,Et=(Et&65535)*1540483477+((Et>>>16)*59797<<16),((Et^Et>>>15)>>>0).toString(36)}var u=s,c=e(810),o=e(59301),f=e.t(o,2),_=e(42244),p=e(80547),x=e(13697),g=e(38705),P=e(17212),O="%";function S(ut){return ut.join(O)}var I=function(){function ut(Et){(0,g.Z)(this,ut),(0,r.Z)(this,"instanceId",void 0),(0,r.Z)(this,"cache",new Map),(0,r.Z)(this,"extracted",new Set),this.instanceId=Et}return(0,P.Z)(ut,[{key:"get",value:function(gt){return this.opGet(S(gt))}},{key:"opGet",value:function(gt){return this.cache.get(gt)||null}},{key:"update",value:function(gt,Ot){return this.opUpdate(S(gt),Ot)}},{key:"opUpdate",value:function(gt,Ot){var jt=this.cache.get(gt),Or=Ot(jt);Or===null?this.cache.delete(gt):this.cache.set(gt,Or)}}]),ut}(),E=I,A=["children"],R="data-token-hash",T="data-css-hash",D="data-cache-path",M="__cssinjs_instance__";function B(){var ut=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var Et=document.body.querySelectorAll("style[".concat(T,"]"))||[],gt=document.head.firstChild;Array.from(Et).forEach(function(jt){jt[M]=jt[M]||ut,jt[M]===ut&&document.head.insertBefore(jt,gt)});var Ot={};Array.from(document.querySelectorAll("style[".concat(T,"]"))).forEach(function(jt){var Or=jt.getAttribute(T);if(Ot[Or]){if(jt[M]===ut){var Kr;(Kr=jt.parentNode)===null||Kr===void 0||Kr.removeChild(jt)}}else Ot[Or]=!0})}return new E(ut)}var j=o.createContext({hashPriority:"low",cache:B(),defaultCache:!0}),V=function(Et){var gt=Et.children,Ot=(0,_.Z)(Et,A),jt=o.useContext(j),Or=(0,p.Z)(function(){var Kr=(0,a.Z)({},jt);Object.keys(Ot).forEach(function(Xr){var vn=Ot[Xr];Ot[Xr]!==void 0&&(Kr[Xr]=vn)});var Yr=Ot.cache;return Kr.cache=Kr.cache||B(),Kr.defaultCache=!Yr&&jt.defaultCache,Kr},[jt,Ot],function(Kr,Yr){return!(0,x.Z)(Kr[0],Yr[0],!0)||!(0,x.Z)(Kr[1],Yr[1],!0)});return o.createElement(j.Provider,{value:Or},gt)},H=j,Y=e(43749),F=e(47273),K=e(15793),X=e(39153),Q=e(55401),W=(0,P.Z)(function ut(){(0,g.Z)(this,ut)}),N=W,J="CALC_UNIT",k=new RegExp(J,"g");function Z(ut){return typeof ut=="number"?"".concat(ut).concat(J):ut}var G=function(ut){(0,X.Z)(gt,ut);var Et=(0,Q.Z)(gt);function gt(Ot,jt){var Or;(0,g.Z)(this,gt),Or=Et.call(this),(0,r.Z)((0,K.Z)(Or),"result",""),(0,r.Z)((0,K.Z)(Or),"unitlessCssVar",void 0),(0,r.Z)((0,K.Z)(Or),"lowPriority",void 0);var Kr=(0,Y.Z)(Ot);return Or.unitlessCssVar=jt,Ot instanceof gt?Or.result="(".concat(Ot.result,")"):Kr==="number"?Or.result=Z(Ot):Kr==="string"&&(Or.result=Ot),Or}return(0,P.Z)(gt,[{key:"add",value:function(jt){return jt instanceof gt?this.result="".concat(this.result," + ").concat(jt.getResult()):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," + ").concat(Z(jt))),this.lowPriority=!0,this}},{key:"sub",value:function(jt){return jt instanceof gt?this.result="".concat(this.result," - ").concat(jt.getResult()):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," - ").concat(Z(jt))),this.lowPriority=!0,this}},{key:"mul",value:function(jt){return this.lowPriority&&(this.result="(".concat(this.result,")")),jt instanceof gt?this.result="".concat(this.result," * ").concat(jt.getResult(!0)):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," * ").concat(jt)),this.lowPriority=!1,this}},{key:"div",value:function(jt){return this.lowPriority&&(this.result="(".concat(this.result,")")),jt instanceof gt?this.result="".concat(this.result," / ").concat(jt.getResult(!0)):(typeof jt=="number"||typeof jt=="string")&&(this.result="".concat(this.result," / ").concat(jt)),this.lowPriority=!1,this}},{key:"getResult",value:function(jt){return this.lowPriority||jt?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(jt){var Or=this,Kr=jt||{},Yr=Kr.unit,Xr=!0;return typeof Yr=="boolean"?Xr=Yr:Array.from(this.unitlessCssVar).some(function(vn){return Or.result.includes(vn)})&&(Xr=!1),this.result=this.result.replace(k,Xr?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),gt}(N),ee=function(ut){(0,X.Z)(gt,ut);var Et=(0,Q.Z)(gt);function gt(Ot){var jt;return(0,g.Z)(this,gt),jt=Et.call(this),(0,r.Z)((0,K.Z)(jt),"result",0),Ot instanceof gt?jt.result=Ot.result:typeof Ot=="number"&&(jt.result=Ot),jt}return(0,P.Z)(gt,[{key:"add",value:function(jt){return jt instanceof gt?this.result+=jt.result:typeof jt=="number"&&(this.result+=jt),this}},{key:"sub",value:function(jt){return jt instanceof gt?this.result-=jt.result:typeof jt=="number"&&(this.result-=jt),this}},{key:"mul",value:function(jt){return jt instanceof gt?this.result*=jt.result:typeof jt=="number"&&(this.result*=jt),this}},{key:"div",value:function(jt){return jt instanceof gt?this.result/=jt.result:typeof jt=="number"&&(this.result/=jt),this}},{key:"equal",value:function(){return this.result}}]),gt}(N),ie=function(Et,gt){var Ot=Et==="css"?G:ee;return function(jt){return new Ot(jt,gt)}},se=ie;function le(ut,Et){if(ut.length!==Et.length)return!1;for(var gt=0;gt1&&arguments[1]!==void 0?arguments[1]:!1,Kr={map:this.cache};return gt.forEach(function(Yr){if(!Kr)Kr=void 0;else{var Xr;Kr=(Xr=Kr)===null||Xr===void 0||(Xr=Xr.map)===null||Xr===void 0?void 0:Xr.get(Yr)}}),(Ot=Kr)!==null&&Ot!==void 0&&Ot.value&&Or&&(Kr.value[1]=this.cacheCallTimes++),(jt=Kr)===null||jt===void 0?void 0:jt.value}},{key:"get",value:function(gt){var Ot;return(Ot=this.internalGet(gt,!0))===null||Ot===void 0?void 0:Ot[0]}},{key:"has",value:function(gt){return!!this.internalGet(gt)}},{key:"set",value:function(gt,Ot){var jt=this;if(!this.has(gt)){if(this.size()+1>ut.MAX_CACHE_SIZE+ut.MAX_CACHE_OFFSET){var Or=this.keys.reduce(function(vn,xn){var Pt=(0,t.Z)(vn,2),Gt=Pt[1];return jt.internalGet(xn)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ze+=1}return(0,P.Z)(ut,[{key:"getDerivativeToken",value:function(gt){return this.derivatives.reduce(function(Ot,jt){return jt(gt,Ot)},void 0)}}]),ut}(),vt=new de;function Je(ut){var Et=Array.isArray(ut)?ut:[ut];return vt.has(Et)||vt.set(Et,new st(Et)),vt.get(Et)}var Ke=new WeakMap,Re={};function Ce(ut,Et){for(var gt=Ke,Ot=0;Ot3&&arguments[3]!==void 0?arguments[3]:{},jt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(jt)return ut;var Or=(0,a.Z)((0,a.Z)({},Ot),{},(0,r.Z)((0,r.Z)({},R,Et),T,gt)),Kr=Object.keys(Or).map(function(Yr){var Xr=Or[Yr];return Xr?"".concat(Yr,'="').concat(Xr,'"'):null}).filter(function(Yr){return Yr}).join(" ");return"")}var pe=function(Et){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(gt?"".concat(gt,"-"):"").concat(Et).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},ge=function(Et,gt,Ot){return Object.keys(Et).length?".".concat(gt).concat(Ot!=null&&Ot.scope?".".concat(Ot.scope):"","{").concat(Object.entries(Et).map(function(jt){var Or=(0,t.Z)(jt,2),Kr=Or[0],Yr=Or[1];return"".concat(Kr,":").concat(Yr,";")}).join(""),"}"):""},lt=function(Et,gt,Ot){var jt={},Or={};return Object.entries(Et).forEach(function(Kr){var Yr,Xr,vn=(0,t.Z)(Kr,2),xn=vn[0],Pt=vn[1];if(Ot!=null&&(Yr=Ot.preserve)!==null&&Yr!==void 0&&Yr[xn])Or[xn]=Pt;else if((typeof Pt=="string"||typeof Pt=="number")&&!(Ot!=null&&(Xr=Ot.ignore)!==null&&Xr!==void 0&&Xr[xn])){var Gt,Vt=pe(xn,Ot==null?void 0:Ot.prefix);jt[Vt]=typeof Pt=="number"&&!(Ot!=null&&(Gt=Ot.unitless)!==null&&Gt!==void 0&&Gt[xn])?"".concat(Pt,"px"):String(Pt),Or[xn]="var(".concat(Vt,")")}}),[Or,ge(jt,gt,{scope:Ot==null?void 0:Ot.scope})]},Qe=e(34280),Ve=(0,a.Z)({},f),it=Ve.useInsertionEffect,Dt=function(Et,gt,Ot){o.useMemo(Et,Ot),(0,Qe.Z)(function(){return gt(!0)},Ot)},Yt=it?function(ut,Et,gt){return it(function(){return ut(),Et()},gt)}:Dt,Se=Yt,je=(0,a.Z)({},f),Be=je.useInsertionEffect,ht=function(Et){var gt=[],Ot=!1;function jt(Or){Ot||gt.push(Or)}return o.useEffect(function(){return Ot=!1,function(){Ot=!0,gt.length&>.forEach(function(Or){return Or()})}},Et),jt},At=function(){return function(Et){Et()}},ce=typeof Be!="undefined"?ht:At,_t=ce;function qt(){return!1}var Ht=!1;function Ut(){return Ht}var cr=qt;if(0)var Ze,dt;function kt(ut,Et,gt,Ot,jt){var Or=o.useContext(H),Kr=Or.cache,Yr=[ut].concat((0,n.Z)(Et)),Xr=S(Yr),vn=_t([Xr]),xn=cr(),Pt=function(Hr){Kr.opUpdate(Xr,function(Ae){var rn=Ae||[void 0,void 0],Qr=(0,t.Z)(rn,2),Yn=Qr[0],Un=Yn===void 0?0:Yn,rr=Qr[1],ga=rr,Vn=ga||gt(),ra=[Un,Vn];return Hr?Hr(ra):ra})};o.useMemo(function(){Pt()},[Xr]);var Gt=Kr.opGet(Xr),Vt=Gt[1];return Se(function(){jt==null||jt(Vt)},function(Tr){return Pt(function(Hr){var Ae=(0,t.Z)(Hr,2),rn=Ae[0],Qr=Ae[1];return Tr&&rn===0&&(jt==null||jt(Vt)),[rn+1,Qr]}),function(){Kr.opUpdate(Xr,function(Hr){var Ae=Hr||[],rn=(0,t.Z)(Ae,2),Qr=rn[0],Yn=Qr===void 0?0:Qr,Un=rn[1],rr=Yn-1;return rr===0?(vn(function(){(Tr||!Kr.opGet(Xr))&&(Ot==null||Ot(Un,!1))}),null):[Yn-1,Un]})}},[Xr]),Vt}var ar={},$t="css",pr=new Map;function Ir(ut){pr.set(ut,(pr.get(ut)||0)+1)}function kr(ut,Et){if(typeof document!="undefined"){var gt=document.querySelectorAll("style[".concat(R,'="').concat(ut,'"]'));gt.forEach(function(Ot){if(Ot[M]===Et){var jt;(jt=Ot.parentNode)===null||jt===void 0||jt.removeChild(Ot)}})}}var er=0;function Nt(ut,Et){pr.set(ut,(pr.get(ut)||0)-1);var gt=new Set;pr.forEach(function(Ot,jt){Ot<=0&>.add(jt)}),pr.size-gt.size>er&>.forEach(function(Ot){kr(Ot,Et),pr.delete(Ot)})}var Kt=function(Et,gt,Ot,jt){var Or=Ot.getDerivativeToken(Et),Kr=(0,a.Z)((0,a.Z)({},Or),gt);return jt&&(Kr=jt(Kr)),Kr},Qt="token";function Cr(ut,Et){var gt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Ot=(0,o.useContext)(H),jt=Ot.cache.instanceId,Or=Ot.container,Kr=gt.salt,Yr=Kr===void 0?"":Kr,Xr=gt.override,vn=Xr===void 0?ar:Xr,xn=gt.formatToken,Pt=gt.getComputedToken,Gt=gt.cssVar,Vt=Ce(function(){return Object.assign.apply(Object,[{}].concat((0,n.Z)(Et)))},Et),Tr=at(Vt),Hr=at(vn),Ae=Gt?at(Gt):"",rn=kt(Qt,[Yr,ut.id,Tr,Hr,Ae],function(){var Qr,Yn=Pt?Pt(Vt,vn,ut):Kt(Vt,vn,ut,xn),Un=(0,a.Z)({},Yn),rr="";if(Gt){var ga=lt(Yn,Gt.key,{prefix:Gt.prefix,ignore:Gt.ignore,unitless:Gt.unitless,preserve:Gt.preserve}),Vn=(0,t.Z)(ga,2);Yn=Vn[0],rr=Vn[1]}var ra=ct(Yn,Yr);Yn._tokenKey=ra,Un._tokenKey=ct(Un,Yr);var Co=(Qr=Gt==null?void 0:Gt.key)!==null&&Qr!==void 0?Qr:ra;Yn._themeKey=Co,Ir(Co);var bo="".concat($t,"-").concat(u(ra));return Yn._hashId=bo,[Yn,bo,Un,rr,(Gt==null?void 0:Gt.key)||""]},function(Qr){Nt(Qr[0]._themeKey,jt)},function(Qr){var Yn=(0,t.Z)(Qr,4),Un=Yn[0],rr=Yn[3];if(Gt&&rr){var ga=(0,c.hq)(rr,u("css-variables-".concat(Un._themeKey)),{mark:T,prepend:"queue",attachTo:Or,priority:-999});ga[M]=jt,ga.setAttribute(R,Un._themeKey)}});return rn}var Er=function(Et,gt,Ot){var jt=(0,t.Z)(Et,5),Or=jt[2],Kr=jt[3],Yr=jt[4],Xr=Ot||{},vn=Xr.plain;if(!Kr)return null;var xn=Or._tokenKey,Pt=-999,Gt={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Pt)},Vt=mt(Kr,Yr,xn,Gt,vn);return[Pt,xn,Vt]},wt=e(60499),qe={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},Ue=qe,Le="-ms-",rt="-moz-",Tt="-webkit-",Lt="comm",gr="rule",yr="decl",Ur="@page",bn="@media",sr="@import",_n="@charset",on="@viewport",Fe="@supports",Ne="@document",en="@namespace",pn="@keyframes",ha="@font-face",ma="@counter-style",On="@font-feature-values",za="@layer",ja="@scope",gn=Math.abs,Va=String.fromCharCode,va=Object.assign;function _o(ut,Et){return ya(ut,0)^45?(((Et<<2^ya(ut,0))<<2^ya(ut,1))<<2^ya(ut,2))<<2^ya(ut,3):0}function no(ut){return ut.trim()}function Ja(ut,Et){return(ut=Et.exec(ut))?ut[0]:ut}function Za(ut,Et,gt){return ut.replace(Et,gt)}function No(ut,Et,gt){return ut.indexOf(Et,gt)}function ya(ut,Et){return ut.charCodeAt(Et)|0}function na(ut,Et,gt){return ut.slice(Et,gt)}function En(ut){return ut.length}function wa(ut){return ut.length}function Pe(ut,Et){return Et.push(ut),ut}function $n(ut,Et){return ut.map(Et).join("")}function aa(ut,Et){return ut.filter(function(gt){return!Ja(gt,Et)})}function yo(ut,Et){for(var gt="",Ot=0;Ot0?ya(q,--xe):0,Ha--,Xe===10&&(Ha=1,Wa--),Xe}function Gr(){return Xe=xe2||nt(Xe)>3?"":" "}function xt(ut){for(;Gr();)switch(nt(Xe)){case 0:append(or(xe-1),ut);break;case 2:append(Ye(Xe),ut);break;default:append(from(Xe),ut)}return ut}function Zt(ut,Et){for(;--Et&&Gr()&&!(Xe<48||Xe>102||Xe>57&&Xe<65||Xe>70&&Xe<97););return sn(ut,Mr()+(Et<6&&ea()==32&&Gr()==32))}function hr(ut){for(;Gr();)switch(Xe){case ut:return xe;case 34:case 39:ut!==34&&ut!==39&&hr(Xe);break;case 40:ut===41&&hr(ut);break;case 92:Gr();break}return xe}function xr(ut,Et){for(;Gr()&&ut+Xe!==57;)if(ut+Xe===84&&ea()===47)break;return"/*"+sn(Et,xe-1)+"*"+Va(ut===47?ut:Gr())}function or(ut){for(;!nt(ea());)Gr();return sn(ut,xe)}function wr(ut){return ue(an("",null,null,null,[""],ut=be(ut),0,[0],ut))}function an(ut,Et,gt,Ot,jt,Or,Kr,Yr,Xr){for(var vn=0,xn=0,Pt=Kr,Gt=0,Vt=0,Tr=0,Hr=1,Ae=1,rn=1,Qr=0,Yn="",Un=jt,rr=Or,ga=Ot,Vn=Yn;Ae;)switch(Tr=Qr,Qr=Gr()){case 40:if(Tr!=108&&ya(Vn,Pt-1)==58){No(Vn+=Za(Ye(Qr),"&","&\f"),"&\f",gn(vn?Yr[vn-1]:0))!=-1&&(rn=-1);break}case 34:case 39:case 91:Vn+=Ye(Qr);break;case 9:case 10:case 13:case 32:Vn+=yt(Tr);break;case 92:Vn+=Zt(Mr()-1,7);continue;case 47:switch(ea()){case 42:case 47:Pe(un(xr(Gr(),Mr()),Et,gt,Xr),Xr),(nt(Tr||1)==5||nt(ea()||1)==5)&&En(Vn)&&na(Vn,-1,void 0)!==" "&&(Vn+=" ");break;default:Vn+="/"}break;case 123*Hr:Yr[vn++]=En(Vn)*rn;case 125*Hr:case 59:case 0:switch(Qr){case 0:case 125:Ae=0;case 59+xn:rn==-1&&(Vn=Za(Vn,/\f/g,"")),Vt>0&&(En(Vn)-Pt||Hr===0&&Tr===47)&&Pe(Vt>32?tn(Vn+";",Ot,gt,Pt-1,Xr):tn(Za(Vn," ","")+";",Ot,gt,Pt-2,Xr),Xr);break;case 59:Vn+=";";default:if(Pe(ga=zn(Vn,Et,gt,vn,xn,jt,Yr,Yn,Un=[],rr=[],Pt,Or),Or),Qr===123)if(xn===0)an(Vn,Et,ga,ga,Un,Or,Pt,Yr,rr);else{switch(Gt){case 99:if(ya(Vn,3)===110)break;case 108:if(ya(Vn,2)===97)break;default:xn=0;case 100:case 109:case 115:}xn?an(ut,ga,ga,Ot&&Pe(zn(ut,ga,ga,0,0,jt,Yr,Yn,jt,Un=[],Pt,rr),rr),jt,rr,Pt,Yr,Ot?Un:rr):an(Vn,ga,ga,ga,[""],rr,0,Yr,rr)}}vn=xn=Vt=0,Hr=rn=1,Yn=Vn="",Pt=Kr;break;case 58:Pt=1+En(Vn),Vt=Tr;default:if(Hr<1){if(Qr==123)--Hr;else if(Qr==125&&Hr++==0&&Sr()==125)continue}switch(Vn+=Va(Qr),Qr*Hr){case 38:rn=xn>0?1:(Vn+="\f",-1);break;case 44:Yr[vn++]=(En(Vn)-1)*rn,rn=1;break;case 64:ea()===45&&(Vn+=Ye(Gr())),Gt=ea(),xn=Pt=En(Yn=Vn+=or(Mr())),Qr++;break;case 45:Tr===45&&En(Vn)==2&&(Hr=0)}}return Or}function zn(ut,Et,gt,Ot,jt,Or,Kr,Yr,Xr,vn,xn,Pt){for(var Gt=jt-1,Vt=jt===0?Or:[""],Tr=wa(Vt),Hr=0,Ae=0,rn=0;Hr0?Vt[Qr]+" "+Yn:Za(Yn,/&\f/g,Vt[Qr])))&&(Xr[rn++]=Un);return It(ut,Et,gt,jt===0?gr:Yr,Xr,vn,xn,Pt)}function un(ut,Et,gt,Ot){return It(ut,Et,gt,Lt,Va(Rr()),na(ut,2,-2),0,Ot)}function tn(ut,Et,gt,Ot,jt){return It(ut,Et,gt,yr,na(ut,0,Ot),na(ut,Ot+1,-1),Ot,jt)}function vr(ut,Et){var gt=Et.path,Ot=Et.parentSelectors;(0,He.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(gt?"Error in ".concat(gt,": "):"").concat(ut).concat(Ot.length?" Selector: ".concat(Ot.join(" | ")):""))}var mn=function(Et,gt,Ot){if(Et==="content"){var jt=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Or=["normal","none","initial","inherit","unset"];(typeof gt!="string"||Or.indexOf(gt)===-1&&!jt.test(gt)&&(gt.charAt(0)!==gt.charAt(gt.length-1)||gt.charAt(0)!=='"'&>.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(gt,"\"'`."),Ot)}},Wr=null,Sn=function(Et,gt,Ot){Et==="animation"&&Ot.hashId&>!=="none"&&lintWarning("You seem to be using hashed animation '".concat(gt,"', in which case 'animationName' with Keyframe as value is recommended."),Ot)},jn=null;function wn(ut){var Et,gt=((Et=ut.match(/:not\(([^)]*)\)/))===null||Et===void 0?void 0:Et[1])||"",Ot=gt.split(/(\[[^[]*])|(?=[.#])/).filter(function(jt){return jt});return Ot.length>1}function Ea(ut){return ut.parentSelectors.reduce(function(Et,gt){return Et?gt.includes("&")?gt.replace(/&/g,Et):"".concat(Et," ").concat(gt):gt},"")}var Pn=function(Et,gt,Ot){var jt=Ea(Ot),Or=jt.match(/:not\([^)]*\)/g)||[];Or.length>0&&Or.some(wn)&&vr("Concat ':not' selector not support in legacy browsers.",Ot)},la=Pn,dn=function(Et,gt,Ot){switch(Et){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":vr("You seem to be using non-logical property '".concat(Et,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof gt=="string"){var jt=gt.split(" ").map(function(Yr){return Yr.trim()});jt.length===4&&jt[1]!==jt[3]&&vr("You seem to be using '".concat(Et,"' property with different left ").concat(Et," and right ").concat(Et,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot)}return;case"clear":case"textAlign":(gt==="left"||gt==="right")&&vr("You seem to be using non-logical value '".concat(gt,"' of ").concat(Et,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot);return;case"borderRadius":if(typeof gt=="string"){var Or=gt.split("/").map(function(Yr){return Yr.trim()}),Kr=Or.reduce(function(Yr,Xr){if(Yr)return Yr;var vn=Xr.split(" ").map(function(xn){return xn.trim()});return vn.length>=2&&vn[0]!==vn[1]||vn.length===3&&vn[1]!==vn[2]||vn.length===4&&vn[2]!==vn[3]?!0:Yr},!1);Kr&&vr("You seem to be using non-logical value '".concat(gt,"' of ").concat(Et,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),Ot)}return;default:}},Fn=dn,xa=function(Et,gt,Ot){(typeof gt=="string"&&/NaN/g.test(gt)||Number.isNaN(gt))&&vr("Unexpected 'NaN' in property '".concat(Et,": ").concat(gt,"'."),Ot)},Ra=xa,oa=function(Et,gt,Ot){Ot.parentSelectors.some(function(jt){var Or=jt.split(",");return Or.some(function(Kr){return Kr.split("&").length>2})})&&vr("Should not use more than one `&` in a selector.",Ot)},ia=oa,sa="data-ant-cssinjs-cache-path",fo="_FILE_STYLE__";function Bo(ut){return Object.keys(ut).map(function(Et){var gt=ut[Et];return"".concat(Et,":").concat(gt)}).join(";")}var Jo,Si=!0;function Bi(ut){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Jo=ut,Si=Et}function cs(){if(!Jo&&(Jo={},(0,F.Z)())){var ut=document.createElement("div");ut.className=sa,ut.style.position="fixed",ut.style.visibility="hidden",ut.style.top="-9999px",document.body.appendChild(ut);var Et=getComputedStyle(ut).content||"";Et=Et.replace(/^"/,"").replace(/"$/,""),Et.split(";").forEach(function(jt){var Or=jt.split(":"),Kr=(0,t.Z)(Or,2),Yr=Kr[0],Xr=Kr[1];Jo[Yr]=Xr});var gt=document.querySelector("style[".concat(sa,"]"));if(gt){var Ot;Si=!1,(Ot=gt.parentNode)===null||Ot===void 0||Ot.removeChild(gt)}document.body.removeChild(ut)}}function ls(ut){return cs(),!!Jo[ut]}function Ci(ut){var Et=Jo[ut],gt=null;if(Et&&(0,F.Z)())if(Si)gt=fo;else{var Ot=document.querySelector("style[".concat(T,'="').concat(Jo[ut],'"]'));Ot?gt=Ot.innerHTML:delete Jo[ut]}return[gt,Et]}var xo="_skip_check_",zo="_multi_value_";function Oi(ut){var Et=yo(wr(ut),ai);return Et.replace(/\{%%%\:[^;];}/g,";")}function yi(ut){return(0,Y.Z)(ut)==="object"&&ut&&(xo in ut||zo in ut)}function Yi(ut,Et,gt){if(!Et)return ut;var Ot=".".concat(Et),jt=gt==="low"?":where(".concat(Ot,")"):Ot,Or=ut.split(",").map(function(Kr){var Yr,Xr=Kr.trim().split(/\s+/),vn=Xr[0]||"",xn=((Yr=vn.match(/^\w+/))===null||Yr===void 0?void 0:Yr[0])||"";return vn="".concat(xn).concat(jt).concat(vn.slice(xn.length)),[vn].concat((0,n.Z)(Xr.slice(1))).join(" ")});return Or.join(",")}var Os=function ut(Et){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},jt=Ot.root,Or=Ot.injectHash,Kr=Ot.parentSelectors,Yr=gt.hashId,Xr=gt.layer,vn=gt.path,xn=gt.hashPriority,Pt=gt.transformers,Gt=Pt===void 0?[]:Pt,Vt=gt.linters,Tr=Vt===void 0?[]:Vt,Hr="",Ae={};function rn(Un){var rr=Un.getName(Yr);if(!Ae[rr]){var ga=ut(Un.style,gt,{root:!1,parentSelectors:Kr}),Vn=(0,t.Z)(ga,1),ra=Vn[0];Ae[rr]="@keyframes ".concat(Un.getName(Yr)).concat(ra)}}function Qr(Un){var rr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Un.forEach(function(ga){Array.isArray(ga)?Qr(ga,rr):ga&&rr.push(ga)}),rr}var Yn=Qr(Array.isArray(Et)?Et:[Et]);return Yn.forEach(function(Un){var rr=typeof Un=="string"&&!jt?{}:Un;if(typeof rr=="string")Hr+="".concat(rr,` +`);else if(rr._keyframe)rn(rr);else{var ga=Gt.reduce(function(Vn,ra){var Co;return(ra==null||(Co=ra.visit)===null||Co===void 0?void 0:Co.call(ra,Vn))||Vn},rr);Object.keys(ga).forEach(function(Vn){var ra=ga[Vn];if((0,Y.Z)(ra)==="object"&&ra&&(Vn!=="animationName"||!ra._keyframe)&&!yi(ra)){var Co=!1,bo=Vn.trim(),Zn=!1;(jt||Or)&&Yr?bo.startsWith("@")?Co=!0:bo==="&"?bo=Yi("",Yr,xn):bo=Yi(Vn,Yr,xn):jt&&!Yr&&(bo==="&"||bo==="")&&(bo="",Zn=!0);var oi=ut(ra,gt,{root:Zn,injectHash:Co,parentSelectors:[].concat((0,n.Z)(Kr),[bo])}),Oo=(0,t.Z)(oi,2),so=Oo[0],Ka=Oo[1];Ae=(0,a.Z)((0,a.Z)({},Ae),Ka),Hr+="".concat(bo).concat(so)}else{let Vr=function(wo,Mo){var ve=wo.replace(/[A-Z]/g,function(We){return"-".concat(We.toLowerCase())}),he=Mo;!Ue[wo]&&typeof he=="number"&&he!==0&&(he="".concat(he,"px")),wo==="animationName"&&Mo!==null&&Mo!==void 0&&Mo._keyframe&&(rn(Mo),he=Mo.getName(Yr)),Hr+="".concat(ve,":").concat(he,";")};var li,ei=(li=ra==null?void 0:ra.value)!==null&&li!==void 0?li:ra;(0,Y.Z)(ra)==="object"&&ra!==null&&ra!==void 0&&ra[zo]&&Array.isArray(ei)?ei.forEach(function(wo){Vr(Vn,wo)}):Vr(Vn,ei)}})}}),jt?Xr&&(Hr&&(Hr="@layer ".concat(Xr.name," {").concat(Hr,"}")),Xr.dependencies&&(Ae["@layer ".concat(Xr.name)]=Xr.dependencies.map(function(Un){return"@layer ".concat(Un,", ").concat(Xr.name,";")}).join(` +`))):Hr="{".concat(Hr,"}"),[Hr,Ae]};function $o(ut,Et){return u("".concat(ut.join("%")).concat(Et))}function ds(){return null}var zi="style";function Is(ut,Et){var gt=ut.token,Ot=ut.path,jt=ut.hashId,Or=ut.layer,Kr=ut.nonce,Yr=ut.clientOnly,Xr=ut.order,vn=Xr===void 0?0:Xr,xn=o.useContext(H),Pt=xn.autoClear,Gt=xn.mock,Vt=xn.defaultCache,Tr=xn.hashPriority,Hr=xn.container,Ae=xn.ssrInline,rn=xn.transformers,Qr=xn.linters,Yn=xn.cache,Un=xn.layer,rr=gt._tokenKey,ga=[rr];Un&&ga.push("layer"),ga.push.apply(ga,(0,n.Z)(Ot));var Vn=Ee,ra=kt(zi,ga,function(){var Oo=ga.join("|");if(ls(Oo)){var so=Ci(Oo),Ka=(0,t.Z)(so,2),li=Ka[0],ei=Ka[1];if(li)return[li,rr,ei,{},Yr,vn]}var Vr=Et(),wo=Os(Vr,{hashId:jt,hashPriority:Tr,layer:Un?Or:void 0,path:Ot.join("-"),transformers:rn,linters:Qr}),Mo=(0,t.Z)(wo,2),ve=Mo[0],he=Mo[1],We=Oi(ve),tt=$o(ga,We);return[We,rr,tt,he,Yr,vn]},function(Oo,so){var Ka=(0,t.Z)(Oo,3),li=Ka[2];(so||Pt)&&Ee&&(0,c.jL)(li,{mark:T,attachTo:Hr})},function(Oo){var so=(0,t.Z)(Oo,4),Ka=so[0],li=so[1],ei=so[2],Vr=so[3];if(Vn&&Ka!==fo){var wo={mark:T,prepend:Un?!1:"queue",attachTo:Hr,priority:vn},Mo=typeof Kr=="function"?Kr():Kr;Mo&&(wo.csp={nonce:Mo});var ve=[],he=[];Object.keys(Vr).forEach(function(tt){tt.startsWith("@layer")?ve.push(tt):he.push(tt)}),ve.forEach(function(tt){(0,c.hq)(Oi(Vr[tt]),"_layer-".concat(tt),(0,a.Z)((0,a.Z)({},wo),{},{prepend:!0}))});var We=(0,c.hq)(Ka,ei,wo);We[M]=Yn.instanceId,We.setAttribute(R,rr),he.forEach(function(tt){(0,c.hq)(Oi(Vr[tt]),"_effect-".concat(tt),wo)})}}),Co=(0,t.Z)(ra,3),bo=Co[0],Zn=Co[1],oi=Co[2];return function(Oo){var so;return!Ae||Vn||!Vt?so=o.createElement(ds,null):so=o.createElement("style",(0,wt.Z)({},(0,r.Z)((0,r.Z)({},R,Zn),T,oi),{dangerouslySetInnerHTML:{__html:bo}})),o.createElement(o.Fragment,null,so,Oo)}}var fs=function(Et,gt,Ot){var jt=(0,t.Z)(Et,6),Or=jt[0],Kr=jt[1],Yr=jt[2],Xr=jt[3],vn=jt[4],xn=jt[5],Pt=Ot||{},Gt=Pt.plain;if(vn)return null;var Vt=Or,Tr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(xn)};return Vt=mt(Or,Kr,Yr,Tr,Gt),Xr&&Object.keys(Xr).forEach(function(Hr){if(!gt[Hr]){gt[Hr]=!0;var Ae=Oi(Xr[Hr]),rn=mt(Ae,Kr,"_effect-".concat(Hr),Tr,Gt);Hr.startsWith("@layer")?Vt=rn+Vt:Vt+=rn}}),[xn,Yr,Vt]},Zi="cssVar",Vs=function(Et,gt){var Ot=Et.key,jt=Et.prefix,Or=Et.unitless,Kr=Et.ignore,Yr=Et.token,Xr=Et.scope,vn=Xr===void 0?"":Xr,xn=(0,o.useContext)(H),Pt=xn.cache.instanceId,Gt=xn.container,Vt=Yr._tokenKey,Tr=[].concat((0,n.Z)(Et.path),[Ot,vn,Vt]),Hr=kt(Zi,Tr,function(){var Ae=gt(),rn=lt(Ae,Ot,{prefix:jt,unitless:Or,ignore:Kr,scope:vn}),Qr=(0,t.Z)(rn,2),Yn=Qr[0],Un=Qr[1],rr=$o(Tr,Un);return[Yn,Un,rr,Ot]},function(Ae){var rn=(0,t.Z)(Ae,3),Qr=rn[2];Ee&&(0,c.jL)(Qr,{mark:T,attachTo:Gt})},function(Ae){var rn=(0,t.Z)(Ae,3),Qr=rn[1],Yn=rn[2];if(Qr){var Un=(0,c.hq)(Qr,Yn,{mark:T,prepend:"queue",attachTo:Gt,priority:-999});Un[M]=Pt,Un.setAttribute(R,Ot)}});return Hr},qo=function(Et,gt,Ot){var jt=(0,t.Z)(Et,4),Or=jt[1],Kr=jt[2],Yr=jt[3],Xr=Ot||{},vn=Xr.plain;if(!Or)return null;var xn=-999,Pt={"data-rc-order":"prependQueue","data-rc-priority":"".concat(xn)},Gt=mt(Or,Yr,Kr,Pt,vn);return[xn,Kr,Gt]},ps=Vs,Qi=(0,r.Z)((0,r.Z)((0,r.Z)({},zi,fs),Qt,Er),Zi,qo);function Ji(ut){return ut!==null}function vs(ut,Et){var gt=typeof Et=="boolean"?{plain:Et}:Et||{},Ot=gt.plain,jt=Ot===void 0?!1:Ot,Or=gt.types,Kr=Or===void 0?["style","token","cssVar"]:Or,Yr=gt.once,Xr=Yr===void 0?!1:Yr,vn=new RegExp("^(".concat((typeof Kr=="string"?[Kr]:Kr).join("|"),")%")),xn=Array.from(ut.cache.keys()).filter(function(Tr){return vn.test(Tr)}),Pt={},Gt={},Vt="";return xn.map(function(Tr){if(Xr&&ut.extracted.has(Tr))return null;var Hr=Tr.replace(vn,"").replace(/%/g,"|"),Ae=Tr.split("%"),rn=(0,t.Z)(Ae,1),Qr=rn[0],Yn=Qi[Qr],Un=Yn(ut.cache.get(Tr)[1],Pt,{plain:jt});if(!Un)return null;var rr=(0,t.Z)(Un,3),ga=rr[0],Vn=rr[1],ra=rr[2];return Tr.startsWith("style")&&(Gt[Hr]=Vn),ut.extracted.add(Tr),[ga,ra]}).filter(Ji).sort(function(Tr,Hr){var Ae=(0,t.Z)(Tr,1),rn=Ae[0],Qr=(0,t.Z)(Hr,1),Yn=Qr[0];return rn-Yn}).forEach(function(Tr){var Hr=(0,t.Z)(Tr,2),Ae=Hr[1];Vt+=Ae}),Vt+=mt(".".concat(sa,'{content:"').concat(Bo(Gt),'";}'),void 0,void 0,(0,r.Z)({},sa,sa),jt),Vt}var $i=function(){function ut(Et,gt){(0,g.Z)(this,ut),(0,r.Z)(this,"name",void 0),(0,r.Z)(this,"style",void 0),(0,r.Z)(this,"_keyframe",!0),this.name=Et,this.style=gt}return(0,P.Z)(ut,[{key:"getName",value:function(){var gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return gt?"".concat(gt,"-").concat(this.name):this.name}}]),ut}(),qi=$i;function hs(ut){if(typeof ut=="number")return[[ut],!1];var Et=String(ut).trim(),gt=Et.match(/(.*)(!important)/),Ot=(gt?gt[1]:Et).trim().split(/\s+/),jt=[],Or=0;return[Ot.reduce(function(Kr,Yr){if(Yr.includes("(")||Yr.includes(")")){var Xr=Yr.split("(").length-1,vn=Yr.split(")").length-1;Or+=Xr-vn}return Or>=0&&jt.push(Yr),Or===0&&(Kr.push(jt.join(" ")),jt=[]),Kr},[]),!!gt]}function Hi(ut){return ut.notSplit=!0,ut}var Ks={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Hi(["borderTop","borderBottom"]),borderBlockStart:Hi(["borderTop"]),borderBlockEnd:Hi(["borderBottom"]),borderInline:Hi(["borderLeft","borderRight"]),borderInlineStart:Hi(["borderLeft"]),borderInlineEnd:Hi(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Eo(ut,Et){var gt=ut;return Et&&(gt="".concat(gt," !important")),{_skip_check_:!0,value:gt}}var Xs={visit:function(Et){var gt={};return Object.keys(Et).forEach(function(Ot){var jt=Et[Ot],Or=Ks[Ot];if(Or&&(typeof jt=="number"||typeof jt=="string")){var Kr=hs(jt),Yr=(0,t.Z)(Kr,2),Xr=Yr[0],vn=Yr[1];Or.length&&Or.notSplit?Or.forEach(function(xn){gt[xn]=Eo(jt,vn)}):Or.length===1?gt[Or[0]]=Eo(Xr[0],vn):Or.length===2?Or.forEach(function(xn,Pt){var Gt;gt[xn]=Eo((Gt=Xr[Pt])!==null&&Gt!==void 0?Gt:Xr[0],vn)}):Or.length===4?Or.forEach(function(xn,Pt){var Gt,Vt;gt[xn]=Eo((Gt=(Vt=Xr[Pt])!==null&&Vt!==void 0?Vt:Xr[Pt-2])!==null&&Gt!==void 0?Gt:Xr[0],vn)}):gt[Ot]=jt}else gt[Ot]=jt}),gt}},es=Xs,Di=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Ii(ut,Et){var gt=Math.pow(10,Et+1),Ot=Math.floor(ut*gt);return Math.round(Ot/10)*10/gt}var Ro=function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},gt=Et.rootValue,Ot=gt===void 0?16:gt,jt=Et.precision,Or=jt===void 0?5:jt,Kr=Et.mediaQuery,Yr=Kr===void 0?!1:Kr,Xr=function(Pt,Gt){if(!Gt)return Pt;var Vt=parseFloat(Gt);if(Vt<=1)return Pt;var Tr=Ii(Vt/Ot,Or);return"".concat(Tr,"rem")},vn=function(Pt){var Gt=(0,a.Z)({},Pt);return Object.entries(Pt).forEach(function(Vt){var Tr=(0,t.Z)(Vt,2),Hr=Tr[0],Ae=Tr[1];if(typeof Ae=="string"&&Ae.includes("px")){var rn=Ae.replace(Di,Xr);Gt[Hr]=rn}!Ue[Hr]&&typeof Ae=="number"&&Ae!==0&&(Gt[Hr]="".concat(Ae,"px").replace(Di,Xr));var Qr=Hr.trim();if(Qr.startsWith("@")&&Qr.includes("px")&&Yr){var Yn=Hr.replace(Di,Xr);Gt[Yn]=Gt[Hr],delete Gt[Hr]}}),Gt};return{visit:vn}},Ai=Ro,Cu={supportModernCSS:function(){return ye()&&Oe()}}},17835:function(i,d,e){"use strict";e.r(d),e.d(d,{FastColor:function(){return u}});var t=e(18642);const r=Math.round;function n(c,o){const f=c.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],_=f.map(p=>parseFloat(p));for(let p=0;p<3;p+=1)_[p]=o(_[p]||0,f[p]||"",p);return f[3]?_[3]=f[3].includes("%")?_[3]/100:_[3]:_[3]=1,_}const a=(c,o,f)=>f===0?c:c/100;function s(c,o){const f=o||255;return c>f?f:c<0?0:c}class u{constructor(o){(0,t.Z)(this,"isValid",!0),(0,t.Z)(this,"r",0),(0,t.Z)(this,"g",0),(0,t.Z)(this,"b",0),(0,t.Z)(this,"a",1),(0,t.Z)(this,"_h",void 0),(0,t.Z)(this,"_s",void 0),(0,t.Z)(this,"_l",void 0),(0,t.Z)(this,"_v",void 0),(0,t.Z)(this,"_max",void 0),(0,t.Z)(this,"_min",void 0),(0,t.Z)(this,"_brightness",void 0);function f(_){return _[0]in o&&_[1]in o&&_[2]in o}if(o)if(typeof o=="string"){let p=function(x){return _.startsWith(x)};const _=o.trim();/^#?[A-F\d]{3,8}$/i.test(_)?this.fromHexString(_):p("rgb")?this.fromRgbString(_):p("hsl")?this.fromHslString(_):(p("hsv")||p("hsb"))&&this.fromHsvString(_)}else if(o instanceof u)this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this._h=o._h,this._s=o._s,this._l=o._l,this._v=o._v;else if(f("rgb"))this.r=s(o.r),this.g=s(o.g),this.b=s(o.b),this.a=typeof o.a=="number"?s(o.a,1):1;else if(f("hsl"))this.fromHsl(o);else if(f("hsv"))this.fromHsv(o);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(o))}setR(o){return this._sc("r",o)}setG(o){return this._sc("g",o)}setB(o){return this._sc("b",o)}setA(o){return this._sc("a",o,1)}setHue(o){const f=this.toHsv();return f.h=o,this._c(f)}getLuminance(){function o(x){const g=x/255;return g<=.03928?g/12.92:Math.pow((g+.055)/1.055,2.4)}const f=o(this.r),_=o(this.g),p=o(this.b);return .2126*f+.7152*_+.0722*p}getHue(){if(typeof this._h=="undefined"){const o=this.getMax()-this.getMin();o===0?this._h=0:this._h=r(60*(this.r===this.getMax()?(this.g-this.b)/o+(this.g1&&(p=1),this._c({h:f,s:_,l:p,a:this.a})}mix(o,f=50){const _=this._c(o),p=f/100,x=P=>(_[P]-this[P])*p+this[P],g={r:r(x("r")),g:r(x("g")),b:r(x("b")),a:r(x("a")*100)/100};return this._c(g)}tint(o=10){return this.mix({r:255,g:255,b:255,a:1},o)}shade(o=10){return this.mix({r:0,g:0,b:0,a:1},o)}onBackground(o){const f=this._c(o),_=this.a+f.a*(1-this.a),p=x=>r((this[x]*this.a+f[x]*f.a*(1-this.a))/_);return this._c({r:p("r"),g:p("g"),b:p("b"),a:_})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(o){return this.r===o.r&&this.g===o.g&&this.b===o.b&&this.a===o.a}clone(){return this._c(this)}toHexString(){let o="#";const f=(this.r||0).toString(16);o+=f.length===2?f:"0"+f;const _=(this.g||0).toString(16);o+=_.length===2?_:"0"+_;const p=(this.b||0).toString(16);if(o+=p.length===2?p:"0"+p,typeof this.a=="number"&&this.a>=0&&this.a<1){const x=r(this.a*255).toString(16);o+=x.length===2?x:"0"+x}return o}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const o=this.getHue(),f=r(this.getSaturation()*100),_=r(this.getLightness()*100);return this.a!==1?`hsla(${o},${f}%,${_}%,${this.a})`:`hsl(${o},${f}%,${_}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(o,f,_){const p=this.clone();return p[o]=s(f,_),p}_c(o){return new this.constructor(o)}getMax(){return typeof this._max=="undefined"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min=="undefined"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(o){const f=o.replace("#","");function _(p,x){return parseInt(f[p]+f[x||p],16)}f.length<6?(this.r=_(0),this.g=_(1),this.b=_(2),this.a=f[3]?_(3)/255:1):(this.r=_(0,1),this.g=_(2,3),this.b=_(4,5),this.a=f[6]?_(6,7)/255:1)}fromHsl({h:o,s:f,l:_,a:p}){if(this._h=o%360,this._s=f,this._l=_,this.a=typeof p=="number"?p:1,f<=0){const A=r(_*255);this.r=A,this.g=A,this.b=A}let x=0,g=0,P=0;const O=o/60,S=(1-Math.abs(2*_-1))*f,I=S*(1-Math.abs(O%2-1));O>=0&&O<1?(x=S,g=I):O>=1&&O<2?(x=I,g=S):O>=2&&O<3?(g=S,P=I):O>=3&&O<4?(g=I,P=S):O>=4&&O<5?(x=I,P=S):O>=5&&O<6&&(x=S,P=I);const E=_-S/2;this.r=r((x+E)*255),this.g=r((g+E)*255),this.b=r((P+E)*255)}fromHsv({h:o,s:f,v:_,a:p}){this._h=o%360,this._s=f,this._v=_,this.a=typeof p=="number"?p:1;const x=r(_*255);if(this.r=x,this.g=x,this.b=x,f<=0)return;const g=o/60,P=Math.floor(g),O=g-P,S=r(_*(1-f)*255),I=r(_*(1-f*O)*255),E=r(_*(1-f*(1-O))*255);switch(P){case 0:this.g=E,this.b=S;break;case 1:this.r=I,this.b=S;break;case 2:this.r=S,this.b=E;break;case 3:this.r=S,this.g=I;break;case 4:this.r=E,this.g=S;break;case 5:default:this.g=S,this.b=I;break}}fromHsvString(o){const f=n(o,a);this.fromHsv({h:f[0],s:f[1],v:f[2],a:f[3]})}fromHslString(o){const f=n(o,a);this.fromHsl({h:f[0],s:f[1],l:f[2],a:f[3]})}fromRgbString(o){const f=n(o,(_,p)=>p.includes("%")?r(_/100*255):_);this.r=f[0],this.g=f[1],this.b=f[2],this.a=f[3]}}},7657:function(i,d,e){"use strict";e.d(d,{Z:function(){return J}});var t=e(60499),r=e(72190),n=e(18642),a=e(42244),s=e(59301),u=e(92310),c=e.n(u),o=e(68361),f=e(18418),_=e(85899),p=e(43749),x=e(810),g=e(96452),P=e(48736);function O(k){return k.replace(/-(.)/g,function(Z,G){return G.toUpperCase()})}function S(k,Z){(0,P.ZP)(k,"[@ant-design/icons] ".concat(Z))}function I(k){return(0,p.Z)(k)==="object"&&typeof k.name=="string"&&typeof k.theme=="string"&&((0,p.Z)(k.icon)==="object"||typeof k.icon=="function")}function E(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(k).reduce(function(Z,G){var ee=k[G];switch(G){case"class":Z.className=ee,delete Z.class;break;default:delete Z[G],Z[O(G)]=ee}return Z},{})}function A(k,Z,G){return G?s.createElement(k.tag,(0,_.Z)((0,_.Z)({key:Z},E(k.attrs)),G),(k.children||[]).map(function(ee,ie){return A(ee,"".concat(Z,"-").concat(k.tag,"-").concat(ie))})):s.createElement(k.tag,(0,_.Z)({key:Z},E(k.attrs)),(k.children||[]).map(function(ee,ie){return A(ee,"".concat(Z,"-").concat(k.tag,"-").concat(ie))}))}function R(k){return(0,o.generate)(k)[0]}function T(k){return k?Array.isArray(k)?k:[k]:[]}var D={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},M=` .anticon { display: inline-flex; align-items: center; @@ -55,48 +55,48 @@ transform: rotate(360deg); } } -`,B=function(Z){var G=(0,s.useContext)(f.Z),ee=G.csp,ie=G.prefixCls,se=G.layer,le=k;ie&&(le=le.replace(/anticon/g,ie)),se&&(le="@layer ".concat(se,` { +`,B=function(Z){var G=(0,s.useContext)(f.Z),ee=G.csp,ie=G.prefixCls,se=G.layer,le=M;ie&&(le=le.replace(/anticon/g,ie)),se&&(le="@layer ".concat(se,` { `).concat(le,` -}`)),(0,s.useEffect)(function(){var de=Z.current,He=(0,g.A)(de);(0,x.hq)(le,"@ant-design-icons",{prepend:!se,csp:ee,attachTo:He})},[])},j=["icon","className","onClick","style","primaryColor","secondaryColor"],V={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function H(M){var Z=M.primaryColor,G=M.secondaryColor;V.primaryColor=Z,V.secondaryColor=G||R(Z),V.calculated=!!G}function Y(){return(0,_.Z)({},V)}var F=function(Z){var G=Z.icon,ee=Z.className,ie=Z.onClick,se=Z.style,le=Z.primaryColor,de=Z.secondaryColor,He=(0,a.Z)(Z,j),ze=s.useRef(),st=V;if(le&&(st={primaryColor:le,secondaryColor:de||R(le)}),B(ze),S(I(G),"icon should be icon definiton, but got ".concat(G)),!I(G))return null;var vt=G;return vt&&typeof vt.icon=="function"&&(vt=(0,_.Z)((0,_.Z)({},vt),{},{icon:vt.icon(st.primaryColor,st.secondaryColor)})),A(vt.icon,"svg-".concat(vt.name),(0,_.Z)((0,_.Z)({className:ee,onClick:ie,style:se,"data-icon":vt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},He),{},{ref:ze}))};F.displayName="IconReact",F.getTwoToneColors=Y,F.setTwoToneColors=H;var K=F;function X(M){var Z=T(M),G=(0,r.Z)(Z,2),ee=G[0],ie=G[1];return K.setTwoToneColors({primaryColor:ee,secondaryColor:ie})}function Q(){var M=K.getTwoToneColors();return M.calculated?[M.primaryColor,M.secondaryColor]:M.primaryColor}var W=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];X(o.blue.primary);var N=s.forwardRef(function(M,Z){var G=M.className,ee=M.icon,ie=M.spin,se=M.rotate,le=M.tabIndex,de=M.onClick,He=M.twoToneColor,ze=(0,a.Z)(M,W),st=s.useContext(f.Z),vt=st.prefixCls,Je=vt===void 0?"anticon":vt,Ke=st.rootClassName,Re=c()(Ke,Je,(0,n.Z)((0,n.Z)({},"".concat(Je,"-").concat(ee.name),!!ee.name),"".concat(Je,"-spin"),!!ie||ee.name==="loading"),G),Ce=le;Ce===void 0&&de&&(Ce=-1);var me=se?{msTransform:"rotate(".concat(se,"deg)"),transform:"rotate(".concat(se,"deg)")}:void 0,at=T(He),ct=(0,r.Z)(at,2),St=ct[0],bt=ct[1];return s.createElement("span",(0,t.Z)({role:"img","aria-label":ee.name},ze,{ref:Z,tabIndex:Ce,onClick:de,className:Re}),s.createElement(K,{icon:ee,primaryColor:St,secondaryColor:bt,style:me}))});N.displayName="AntdIcon",N.getTwoToneColor=Q,N.setTwoToneColor=X;var J=N},18418:function(i,d,e){"use strict";var t=e(59301),r=(0,t.createContext)({});d.Z=r},29679:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},19248:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},99267:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},96512:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},78987:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},58617:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},38819:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},76196:function(i,d,e){"use strict";e.r(d),e.d(d,{Color:function(){return I},ColorBlock:function(){return V},default:function(){return Ke}});var t=e(60499),r=e(18642),n=e(72190),a=e(59301),s=e(85899),u=e(38705),c=e(17212),o=e(39153),f=e(55401),_=e(42244),p=e(43749),x=e(17835),g=["b"],P=["v"],O=function(Ce){return Math.round(Number(Ce||0))},S=function(Ce){if(Ce instanceof x.FastColor)return Ce;if(Ce&&(0,p.Z)(Ce)==="object"&&"h"in Ce&&"b"in Ce){var me=Ce,at=me.b,ct=(0,_.Z)(me,g);return(0,s.Z)((0,s.Z)({},ct),{},{v:at})}return typeof Ce=="string"&&/hsb/.test(Ce)?Ce.replace(/hsb/,"hsv"):Ce},I=function(Re){(0,o.Z)(me,Re);var Ce=(0,f.Z)(me);function me(at){return(0,u.Z)(this,me),Ce.call(this,S(at))}return(0,c.Z)(me,[{key:"toHsbString",value:function(){var ct=this.toHsb(),St=O(ct.s*100),bt=O(ct.b*100),Ie=O(ct.h),$e=ct.a,ft="hsb(".concat(Ie,", ").concat(St,"%, ").concat(bt,"%)"),Me="hsba(".concat(Ie,", ").concat(St,"%, ").concat(bt,"%, ").concat($e.toFixed($e===0?0:2),")");return $e===1?ft:Me}},{key:"toHsb",value:function(){var ct=this.toHsv(),St=ct.v,bt=(0,_.Z)(ct,P);return(0,s.Z)((0,s.Z)({},bt),{},{b:St,a:this.a})}}]),me}(x.FastColor),E="rc-color-picker",A=function(Ce){return Ce instanceof I?Ce:new I(Ce)},R=A("#1677ff"),T=function(Ce){var me=Ce.offset,at=Ce.targetRef,ct=Ce.containerRef,St=Ce.color,bt=Ce.type,Ie=ct.current.getBoundingClientRect(),$e=Ie.width,ft=Ie.height,Me=at.current.getBoundingClientRect(),ye=Me.width,fe=Me.height,Oe=ye/2,Ee=fe/2,et=(me.x+Oe)/$e,mt=1-(me.y+Ee)/ft,pe=St.toHsb(),ge=et,lt=(me.x+Oe)/$e*360;if(bt)switch(bt){case"hue":return A((0,s.Z)((0,s.Z)({},pe),{},{h:lt<=0?0:lt}));case"alpha":return A((0,s.Z)((0,s.Z)({},pe),{},{a:ge<=0?0:ge}))}return A({h:pe.h,s:et<=0?0:et,b:mt>=1?1:mt,a:pe.a})},D=function(Ce,me){var at=Ce.toHsb();switch(me){case"hue":return{x:at.h/360*100,y:50};case"alpha":return{x:Ce.a*100,y:50};default:return{x:at.s*100,y:(1-at.b)*100}}},k=e(92310),B=e.n(k),j=function(Ce){var me=Ce.color,at=Ce.prefixCls,ct=Ce.className,St=Ce.style,bt=Ce.onClick,Ie="".concat(at,"-color-block");return a.createElement("div",{className:B()(Ie,ct),style:St,onClick:bt},a.createElement("div",{className:"".concat(Ie,"-inner"),style:{background:me}}))},V=j;function H(Re){var Ce="touches"in Re?Re.touches[0]:Re,me=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,at=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:Ce.pageX-me,pageY:Ce.pageY-at}}function Y(Re){var Ce=Re.targetRef,me=Re.containerRef,at=Re.direction,ct=Re.onDragChange,St=Re.onDragChangeComplete,bt=Re.calculate,Ie=Re.color,$e=Re.disabledDrag,ft=(0,a.useState)({x:0,y:0}),Me=(0,n.Z)(ft,2),ye=Me[0],fe=Me[1],Oe=(0,a.useRef)(null),Ee=(0,a.useRef)(null);(0,a.useEffect)(function(){fe(bt())},[Ie]),(0,a.useEffect)(function(){return function(){document.removeEventListener("mousemove",Oe.current),document.removeEventListener("mouseup",Ee.current),document.removeEventListener("touchmove",Oe.current),document.removeEventListener("touchend",Ee.current),Oe.current=null,Ee.current=null}},[]);var et=function(Qe){var Ve=H(Qe),it=Ve.pageX,Dt=Ve.pageY,Yt=me.current.getBoundingClientRect(),Se=Yt.x,je=Yt.y,Be=Yt.width,ht=Yt.height,At=Ce.current.getBoundingClientRect(),ce=At.width,_t=At.height,qt=ce/2,Ht=_t/2,Ut=Math.max(0,Math.min(it-Se,Be))-qt,cr=Math.max(0,Math.min(Dt-je,ht))-Ht,Ze={x:Ut,y:at==="x"?ye.y:cr};if(ce===0&&_t===0||ce!==_t)return!1;ct==null||ct(Ze)},mt=function(Qe){Qe.preventDefault(),et(Qe)},pe=function(Qe){Qe.preventDefault(),document.removeEventListener("mousemove",Oe.current),document.removeEventListener("mouseup",Ee.current),document.removeEventListener("touchmove",Oe.current),document.removeEventListener("touchend",Ee.current),Oe.current=null,Ee.current=null,St==null||St()},ge=function(Qe){document.removeEventListener("mousemove",Oe.current),document.removeEventListener("mouseup",Ee.current),!$e&&(et(Qe),document.addEventListener("mousemove",mt),document.addEventListener("mouseup",pe),document.addEventListener("touchmove",mt),document.addEventListener("touchend",pe),Oe.current=mt,Ee.current=pe)};return[ye,ge]}var F=Y,K=e(70425),X=function(Ce){var me=Ce.size,at=me===void 0?"default":me,ct=Ce.color,St=Ce.prefixCls;return a.createElement("div",{className:B()("".concat(St,"-handler"),(0,r.Z)({},"".concat(St,"-handler-sm"),at==="small")),style:{backgroundColor:ct}})},Q=X,W=function(Ce){var me=Ce.children,at=Ce.style,ct=Ce.prefixCls;return a.createElement("div",{className:"".concat(ct,"-palette"),style:(0,s.Z)({position:"relative"},at)},me)},N=W,J=(0,a.forwardRef)(function(Re,Ce){var me=Re.children,at=Re.x,ct=Re.y;return a.createElement("div",{ref:Ce,style:{position:"absolute",left:"".concat(at,"%"),top:"".concat(ct,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},me)}),M=J,Z=function(Ce){var me=Ce.color,at=Ce.onChange,ct=Ce.prefixCls,St=Ce.onChangeComplete,bt=Ce.disabled,Ie=(0,a.useRef)(),$e=(0,a.useRef)(),ft=(0,a.useRef)(me),Me=(0,K.zX)(function(et){var mt=T({offset:et,targetRef:$e,containerRef:Ie,color:me});ft.current=mt,at(mt)}),ye=F({color:me,containerRef:Ie,targetRef:$e,calculate:function(){return D(me)},onDragChange:Me,onDragChangeComplete:function(){return St==null?void 0:St(ft.current)},disabledDrag:bt}),fe=(0,n.Z)(ye,2),Oe=fe[0],Ee=fe[1];return a.createElement("div",{ref:Ie,className:"".concat(ct,"-select"),onMouseDown:Ee,onTouchStart:Ee},a.createElement(N,{prefixCls:ct},a.createElement(M,{x:Oe.x,y:Oe.y,ref:$e},a.createElement(Q,{color:me.toRgbString(),prefixCls:ct})),a.createElement("div",{className:"".concat(ct,"-saturation"),style:{backgroundColor:"hsl(".concat(me.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},G=Z,ee=function(Ce,me){var at=(0,K.C8)(Ce,{value:me}),ct=(0,n.Z)(at,2),St=ct[0],bt=ct[1],Ie=(0,a.useMemo)(function(){return A(St)},[St]);return[Ie,bt]},ie=ee,se=function(Ce){var me=Ce.colors,at=Ce.children,ct=Ce.direction,St=ct===void 0?"to right":ct,bt=Ce.type,Ie=Ce.prefixCls,$e=(0,a.useMemo)(function(){return me.map(function(ft,Me){var ye=A(ft);return bt==="alpha"&&Me===me.length-1&&(ye=new I(ye.setA(1))),ye.toRgbString()}).join(",")},[me,bt]);return a.createElement("div",{className:"".concat(Ie,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(St,", ").concat($e,")")}},at)},le=se,de=function(Ce){var me=Ce.prefixCls,at=Ce.colors,ct=Ce.disabled,St=Ce.onChange,bt=Ce.onChangeComplete,Ie=Ce.color,$e=Ce.type,ft=(0,a.useRef)(),Me=(0,a.useRef)(),ye=(0,a.useRef)(Ie),fe=function(Ve){return $e==="hue"?Ve.getHue():Ve.a*100},Oe=(0,K.zX)(function(Qe){var Ve=T({offset:Qe,targetRef:Me,containerRef:ft,color:Ie,type:$e});ye.current=Ve,St(fe(Ve))}),Ee=F({color:Ie,targetRef:Me,containerRef:ft,calculate:function(){return D(Ie,$e)},onDragChange:Oe,onDragChangeComplete:function(){bt(fe(ye.current))},direction:"x",disabledDrag:ct}),et=(0,n.Z)(Ee,2),mt=et[0],pe=et[1],ge=a.useMemo(function(){if($e==="hue"){var Qe=Ie.toHsb();Qe.s=1,Qe.b=1,Qe.a=1;var Ve=new I(Qe);return Ve}return Ie},[Ie,$e]),lt=a.useMemo(function(){return at.map(function(Qe){return"".concat(Qe.color," ").concat(Qe.percent,"%")})},[at]);return a.createElement("div",{ref:ft,className:B()("".concat(me,"-slider"),"".concat(me,"-slider-").concat($e)),onMouseDown:pe,onTouchStart:pe},a.createElement(N,{prefixCls:me},a.createElement(M,{x:mt.x,y:mt.y,ref:Me},a.createElement(Q,{size:"small",color:ge.toHexString(),prefixCls:me})),a.createElement(le,{colors:lt,type:$e,prefixCls:me})))},He=de;function ze(Re){return a.useMemo(function(){var Ce=Re||{},me=Ce.slider;return[me||He]},[Re])}var st=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],vt=(0,a.forwardRef)(function(Re,Ce){var me=Re.value,at=Re.defaultValue,ct=Re.prefixCls,St=ct===void 0?E:ct,bt=Re.onChange,Ie=Re.onChangeComplete,$e=Re.className,ft=Re.style,Me=Re.panelRender,ye=Re.disabledAlpha,fe=ye===void 0?!1:ye,Oe=Re.disabled,Ee=Oe===void 0?!1:Oe,et=Re.components,mt=ze(et),pe=(0,n.Z)(mt,1),ge=pe[0],lt=ie(at||R,me),Qe=(0,n.Z)(lt,2),Ve=Qe[0],it=Qe[1],Dt=(0,a.useMemo)(function(){return Ve.setA(1).toRgbString()},[Ve]),Yt=function(cr,Ze){me||it(cr),bt==null||bt(cr,Ze)},Se=function(cr){return new I(Ve.setHue(cr))},je=function(cr){return new I(Ve.setA(cr/100))},Be=function(cr){Yt(Se(cr),{type:"hue",value:cr})},ht=function(cr){Yt(je(cr),{type:"alpha",value:cr})},At=function(cr){Ie&&Ie(Se(cr))},ce=function(cr){Ie&&Ie(je(cr))},_t=B()("".concat(St,"-panel"),$e,(0,r.Z)({},"".concat(St,"-panel-disabled"),Ee)),qt={prefixCls:St,disabled:Ee,color:Ve},Ht=a.createElement(a.Fragment,null,a.createElement(G,(0,t.Z)({onChange:Yt},qt,{onChangeComplete:Ie})),a.createElement("div",{className:"".concat(St,"-slider-container")},a.createElement("div",{className:B()("".concat(St,"-slider-group"),(0,r.Z)({},"".concat(St,"-slider-group-disabled-alpha"),fe))},a.createElement(ge,(0,t.Z)({},qt,{type:"hue",colors:st,min:0,max:359,value:Ve.getHue(),onChange:Be,onChangeComplete:At})),!fe&&a.createElement(ge,(0,t.Z)({},qt,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:Dt}],min:0,max:100,value:Ve.a*100,onChange:ht,onChangeComplete:ce}))),a.createElement(V,{color:Ve.toRgbString(),prefixCls:St})));return a.createElement("div",{className:_t,style:ft,ref:Ce},typeof Me=="function"?Me(Ht):Ht)}),Je=vt,Ke=Je},43403:function(i,d,e){"use strict";e.d(d,{Z:function(){return B}});var t=e(72190),r=e(59301),n=e(4676),a=e(47273),s=e(48736),u=e(8654),c=r.createContext(null),o=c,f=e(77654),_=e(34280),p=[];function x(j,V){var H=r.useState(function(){if(!(0,a.Z)())return null;var ee=document.createElement("div");return ee}),Y=(0,t.Z)(H,1),F=Y[0],K=r.useRef(!1),X=r.useContext(o),Q=r.useState(p),W=(0,t.Z)(Q,2),N=W[0],J=W[1],M=X||(K.current?void 0:function(ee){J(function(ie){var se=[ee].concat((0,f.Z)(ie));return se})});function Z(){F.parentElement||document.body.appendChild(F),K.current=!0}function G(){var ee;(ee=F.parentElement)===null||ee===void 0||ee.removeChild(F),K.current=!1}return(0,_.Z)(function(){return j?X?X(Z):Z():G(),G},[j]),(0,_.Z)(function(){N.length&&(N.forEach(function(ee){return ee()}),J(p))},[N]),[F,M]}var g=e(810),P=e(75152);function O(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var S="rc-util-locker-".concat(Date.now()),I=0;function E(j){var V=!!j,H=r.useState(function(){return I+=1,"".concat(S,"_").concat(I)}),Y=(0,t.Z)(H,1),F=Y[0];(0,_.Z)(function(){if(V){var K=(0,P.o)(document.body).width,X=O();(0,g.hq)(` +}`)),(0,s.useEffect)(function(){var de=Z.current,He=(0,g.A)(de);(0,x.hq)(le,"@ant-design-icons",{prepend:!se,csp:ee,attachTo:He})},[])},j=["icon","className","onClick","style","primaryColor","secondaryColor"],V={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function H(k){var Z=k.primaryColor,G=k.secondaryColor;V.primaryColor=Z,V.secondaryColor=G||R(Z),V.calculated=!!G}function Y(){return(0,_.Z)({},V)}var F=function(Z){var G=Z.icon,ee=Z.className,ie=Z.onClick,se=Z.style,le=Z.primaryColor,de=Z.secondaryColor,He=(0,a.Z)(Z,j),ze=s.useRef(),st=V;if(le&&(st={primaryColor:le,secondaryColor:de||R(le)}),B(ze),S(I(G),"icon should be icon definiton, but got ".concat(G)),!I(G))return null;var vt=G;return vt&&typeof vt.icon=="function"&&(vt=(0,_.Z)((0,_.Z)({},vt),{},{icon:vt.icon(st.primaryColor,st.secondaryColor)})),A(vt.icon,"svg-".concat(vt.name),(0,_.Z)((0,_.Z)({className:ee,onClick:ie,style:se,"data-icon":vt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},He),{},{ref:ze}))};F.displayName="IconReact",F.getTwoToneColors=Y,F.setTwoToneColors=H;var K=F;function X(k){var Z=T(k),G=(0,r.Z)(Z,2),ee=G[0],ie=G[1];return K.setTwoToneColors({primaryColor:ee,secondaryColor:ie})}function Q(){var k=K.getTwoToneColors();return k.calculated?[k.primaryColor,k.secondaryColor]:k.primaryColor}var W=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];X(o.blue.primary);var N=s.forwardRef(function(k,Z){var G=k.className,ee=k.icon,ie=k.spin,se=k.rotate,le=k.tabIndex,de=k.onClick,He=k.twoToneColor,ze=(0,a.Z)(k,W),st=s.useContext(f.Z),vt=st.prefixCls,Je=vt===void 0?"anticon":vt,Ke=st.rootClassName,Re=c()(Ke,Je,(0,n.Z)((0,n.Z)({},"".concat(Je,"-").concat(ee.name),!!ee.name),"".concat(Je,"-spin"),!!ie||ee.name==="loading"),G),Ce=le;Ce===void 0&&de&&(Ce=-1);var me=se?{msTransform:"rotate(".concat(se,"deg)"),transform:"rotate(".concat(se,"deg)")}:void 0,at=T(He),ct=(0,r.Z)(at,2),St=ct[0],bt=ct[1];return s.createElement("span",(0,t.Z)({role:"img","aria-label":ee.name},ze,{ref:Z,tabIndex:Ce,onClick:de,className:Re}),s.createElement(K,{icon:ee,primaryColor:St,secondaryColor:bt,style:me}))});N.displayName="AntdIcon",N.getTwoToneColor=Q,N.setTwoToneColor=X;var J=N},18418:function(i,d,e){"use strict";var t=e(59301),r=(0,t.createContext)({});d.Z=r},29679:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},19248:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},99267:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},96512:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},78987:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},58617:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},38819:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(60499),r=e(59301),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n,s=e(7657),u=function(_,p){return r.createElement(s.Z,(0,t.Z)({},_,{ref:p,icon:a}))},c=r.forwardRef(u),o=c},76196:function(i,d,e){"use strict";e.r(d),e.d(d,{Color:function(){return I},ColorBlock:function(){return V},default:function(){return Ke}});var t=e(60499),r=e(18642),n=e(72190),a=e(59301),s=e(85899),u=e(38705),c=e(17212),o=e(39153),f=e(55401),_=e(42244),p=e(43749),x=e(17835),g=["b"],P=["v"],O=function(Ce){return Math.round(Number(Ce||0))},S=function(Ce){if(Ce instanceof x.FastColor)return Ce;if(Ce&&(0,p.Z)(Ce)==="object"&&"h"in Ce&&"b"in Ce){var me=Ce,at=me.b,ct=(0,_.Z)(me,g);return(0,s.Z)((0,s.Z)({},ct),{},{v:at})}return typeof Ce=="string"&&/hsb/.test(Ce)?Ce.replace(/hsb/,"hsv"):Ce},I=function(Re){(0,o.Z)(me,Re);var Ce=(0,f.Z)(me);function me(at){return(0,u.Z)(this,me),Ce.call(this,S(at))}return(0,c.Z)(me,[{key:"toHsbString",value:function(){var ct=this.toHsb(),St=O(ct.s*100),bt=O(ct.b*100),Ie=O(ct.h),$e=ct.a,ft="hsb(".concat(Ie,", ").concat(St,"%, ").concat(bt,"%)"),ke="hsba(".concat(Ie,", ").concat(St,"%, ").concat(bt,"%, ").concat($e.toFixed($e===0?0:2),")");return $e===1?ft:ke}},{key:"toHsb",value:function(){var ct=this.toHsv(),St=ct.v,bt=(0,_.Z)(ct,P);return(0,s.Z)((0,s.Z)({},bt),{},{b:St,a:this.a})}}]),me}(x.FastColor),E="rc-color-picker",A=function(Ce){return Ce instanceof I?Ce:new I(Ce)},R=A("#1677ff"),T=function(Ce){var me=Ce.offset,at=Ce.targetRef,ct=Ce.containerRef,St=Ce.color,bt=Ce.type,Ie=ct.current.getBoundingClientRect(),$e=Ie.width,ft=Ie.height,ke=at.current.getBoundingClientRect(),ye=ke.width,fe=ke.height,Oe=ye/2,Ee=fe/2,et=(me.x+Oe)/$e,mt=1-(me.y+Ee)/ft,pe=St.toHsb(),ge=et,lt=(me.x+Oe)/$e*360;if(bt)switch(bt){case"hue":return A((0,s.Z)((0,s.Z)({},pe),{},{h:lt<=0?0:lt}));case"alpha":return A((0,s.Z)((0,s.Z)({},pe),{},{a:ge<=0?0:ge}))}return A({h:pe.h,s:et<=0?0:et,b:mt>=1?1:mt,a:pe.a})},D=function(Ce,me){var at=Ce.toHsb();switch(me){case"hue":return{x:at.h/360*100,y:50};case"alpha":return{x:Ce.a*100,y:50};default:return{x:at.s*100,y:(1-at.b)*100}}},M=e(92310),B=e.n(M),j=function(Ce){var me=Ce.color,at=Ce.prefixCls,ct=Ce.className,St=Ce.style,bt=Ce.onClick,Ie="".concat(at,"-color-block");return a.createElement("div",{className:B()(Ie,ct),style:St,onClick:bt},a.createElement("div",{className:"".concat(Ie,"-inner"),style:{background:me}}))},V=j;function H(Re){var Ce="touches"in Re?Re.touches[0]:Re,me=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,at=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:Ce.pageX-me,pageY:Ce.pageY-at}}function Y(Re){var Ce=Re.targetRef,me=Re.containerRef,at=Re.direction,ct=Re.onDragChange,St=Re.onDragChangeComplete,bt=Re.calculate,Ie=Re.color,$e=Re.disabledDrag,ft=(0,a.useState)({x:0,y:0}),ke=(0,n.Z)(ft,2),ye=ke[0],fe=ke[1],Oe=(0,a.useRef)(null),Ee=(0,a.useRef)(null);(0,a.useEffect)(function(){fe(bt())},[Ie]),(0,a.useEffect)(function(){return function(){document.removeEventListener("mousemove",Oe.current),document.removeEventListener("mouseup",Ee.current),document.removeEventListener("touchmove",Oe.current),document.removeEventListener("touchend",Ee.current),Oe.current=null,Ee.current=null}},[]);var et=function(Qe){var Ve=H(Qe),it=Ve.pageX,Dt=Ve.pageY,Yt=me.current.getBoundingClientRect(),Se=Yt.x,je=Yt.y,Be=Yt.width,ht=Yt.height,At=Ce.current.getBoundingClientRect(),ce=At.width,_t=At.height,qt=ce/2,Ht=_t/2,Ut=Math.max(0,Math.min(it-Se,Be))-qt,cr=Math.max(0,Math.min(Dt-je,ht))-Ht,Ze={x:Ut,y:at==="x"?ye.y:cr};if(ce===0&&_t===0||ce!==_t)return!1;ct==null||ct(Ze)},mt=function(Qe){Qe.preventDefault(),et(Qe)},pe=function(Qe){Qe.preventDefault(),document.removeEventListener("mousemove",Oe.current),document.removeEventListener("mouseup",Ee.current),document.removeEventListener("touchmove",Oe.current),document.removeEventListener("touchend",Ee.current),Oe.current=null,Ee.current=null,St==null||St()},ge=function(Qe){document.removeEventListener("mousemove",Oe.current),document.removeEventListener("mouseup",Ee.current),!$e&&(et(Qe),document.addEventListener("mousemove",mt),document.addEventListener("mouseup",pe),document.addEventListener("touchmove",mt),document.addEventListener("touchend",pe),Oe.current=mt,Ee.current=pe)};return[ye,ge]}var F=Y,K=e(70425),X=function(Ce){var me=Ce.size,at=me===void 0?"default":me,ct=Ce.color,St=Ce.prefixCls;return a.createElement("div",{className:B()("".concat(St,"-handler"),(0,r.Z)({},"".concat(St,"-handler-sm"),at==="small")),style:{backgroundColor:ct}})},Q=X,W=function(Ce){var me=Ce.children,at=Ce.style,ct=Ce.prefixCls;return a.createElement("div",{className:"".concat(ct,"-palette"),style:(0,s.Z)({position:"relative"},at)},me)},N=W,J=(0,a.forwardRef)(function(Re,Ce){var me=Re.children,at=Re.x,ct=Re.y;return a.createElement("div",{ref:Ce,style:{position:"absolute",left:"".concat(at,"%"),top:"".concat(ct,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},me)}),k=J,Z=function(Ce){var me=Ce.color,at=Ce.onChange,ct=Ce.prefixCls,St=Ce.onChangeComplete,bt=Ce.disabled,Ie=(0,a.useRef)(),$e=(0,a.useRef)(),ft=(0,a.useRef)(me),ke=(0,K.zX)(function(et){var mt=T({offset:et,targetRef:$e,containerRef:Ie,color:me});ft.current=mt,at(mt)}),ye=F({color:me,containerRef:Ie,targetRef:$e,calculate:function(){return D(me)},onDragChange:ke,onDragChangeComplete:function(){return St==null?void 0:St(ft.current)},disabledDrag:bt}),fe=(0,n.Z)(ye,2),Oe=fe[0],Ee=fe[1];return a.createElement("div",{ref:Ie,className:"".concat(ct,"-select"),onMouseDown:Ee,onTouchStart:Ee},a.createElement(N,{prefixCls:ct},a.createElement(k,{x:Oe.x,y:Oe.y,ref:$e},a.createElement(Q,{color:me.toRgbString(),prefixCls:ct})),a.createElement("div",{className:"".concat(ct,"-saturation"),style:{backgroundColor:"hsl(".concat(me.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},G=Z,ee=function(Ce,me){var at=(0,K.C8)(Ce,{value:me}),ct=(0,n.Z)(at,2),St=ct[0],bt=ct[1],Ie=(0,a.useMemo)(function(){return A(St)},[St]);return[Ie,bt]},ie=ee,se=function(Ce){var me=Ce.colors,at=Ce.children,ct=Ce.direction,St=ct===void 0?"to right":ct,bt=Ce.type,Ie=Ce.prefixCls,$e=(0,a.useMemo)(function(){return me.map(function(ft,ke){var ye=A(ft);return bt==="alpha"&&ke===me.length-1&&(ye=new I(ye.setA(1))),ye.toRgbString()}).join(",")},[me,bt]);return a.createElement("div",{className:"".concat(Ie,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(St,", ").concat($e,")")}},at)},le=se,de=function(Ce){var me=Ce.prefixCls,at=Ce.colors,ct=Ce.disabled,St=Ce.onChange,bt=Ce.onChangeComplete,Ie=Ce.color,$e=Ce.type,ft=(0,a.useRef)(),ke=(0,a.useRef)(),ye=(0,a.useRef)(Ie),fe=function(Ve){return $e==="hue"?Ve.getHue():Ve.a*100},Oe=(0,K.zX)(function(Qe){var Ve=T({offset:Qe,targetRef:ke,containerRef:ft,color:Ie,type:$e});ye.current=Ve,St(fe(Ve))}),Ee=F({color:Ie,targetRef:ke,containerRef:ft,calculate:function(){return D(Ie,$e)},onDragChange:Oe,onDragChangeComplete:function(){bt(fe(ye.current))},direction:"x",disabledDrag:ct}),et=(0,n.Z)(Ee,2),mt=et[0],pe=et[1],ge=a.useMemo(function(){if($e==="hue"){var Qe=Ie.toHsb();Qe.s=1,Qe.b=1,Qe.a=1;var Ve=new I(Qe);return Ve}return Ie},[Ie,$e]),lt=a.useMemo(function(){return at.map(function(Qe){return"".concat(Qe.color," ").concat(Qe.percent,"%")})},[at]);return a.createElement("div",{ref:ft,className:B()("".concat(me,"-slider"),"".concat(me,"-slider-").concat($e)),onMouseDown:pe,onTouchStart:pe},a.createElement(N,{prefixCls:me},a.createElement(k,{x:mt.x,y:mt.y,ref:ke},a.createElement(Q,{size:"small",color:ge.toHexString(),prefixCls:me})),a.createElement(le,{colors:lt,type:$e,prefixCls:me})))},He=de;function ze(Re){return a.useMemo(function(){var Ce=Re||{},me=Ce.slider;return[me||He]},[Re])}var st=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],vt=(0,a.forwardRef)(function(Re,Ce){var me=Re.value,at=Re.defaultValue,ct=Re.prefixCls,St=ct===void 0?E:ct,bt=Re.onChange,Ie=Re.onChangeComplete,$e=Re.className,ft=Re.style,ke=Re.panelRender,ye=Re.disabledAlpha,fe=ye===void 0?!1:ye,Oe=Re.disabled,Ee=Oe===void 0?!1:Oe,et=Re.components,mt=ze(et),pe=(0,n.Z)(mt,1),ge=pe[0],lt=ie(at||R,me),Qe=(0,n.Z)(lt,2),Ve=Qe[0],it=Qe[1],Dt=(0,a.useMemo)(function(){return Ve.setA(1).toRgbString()},[Ve]),Yt=function(cr,Ze){me||it(cr),bt==null||bt(cr,Ze)},Se=function(cr){return new I(Ve.setHue(cr))},je=function(cr){return new I(Ve.setA(cr/100))},Be=function(cr){Yt(Se(cr),{type:"hue",value:cr})},ht=function(cr){Yt(je(cr),{type:"alpha",value:cr})},At=function(cr){Ie&&Ie(Se(cr))},ce=function(cr){Ie&&Ie(je(cr))},_t=B()("".concat(St,"-panel"),$e,(0,r.Z)({},"".concat(St,"-panel-disabled"),Ee)),qt={prefixCls:St,disabled:Ee,color:Ve},Ht=a.createElement(a.Fragment,null,a.createElement(G,(0,t.Z)({onChange:Yt},qt,{onChangeComplete:Ie})),a.createElement("div",{className:"".concat(St,"-slider-container")},a.createElement("div",{className:B()("".concat(St,"-slider-group"),(0,r.Z)({},"".concat(St,"-slider-group-disabled-alpha"),fe))},a.createElement(ge,(0,t.Z)({},qt,{type:"hue",colors:st,min:0,max:359,value:Ve.getHue(),onChange:Be,onChangeComplete:At})),!fe&&a.createElement(ge,(0,t.Z)({},qt,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:Dt}],min:0,max:100,value:Ve.a*100,onChange:ht,onChangeComplete:ce}))),a.createElement(V,{color:Ve.toRgbString(),prefixCls:St})));return a.createElement("div",{className:_t,style:ft,ref:Ce},typeof ke=="function"?ke(Ht):Ht)}),Je=vt,Ke=Je},43403:function(i,d,e){"use strict";e.d(d,{Z:function(){return B}});var t=e(72190),r=e(59301),n=e(4676),a=e(47273),s=e(48736),u=e(8654),c=r.createContext(null),o=c,f=e(77654),_=e(34280),p=[];function x(j,V){var H=r.useState(function(){if(!(0,a.Z)())return null;var ee=document.createElement("div");return ee}),Y=(0,t.Z)(H,1),F=Y[0],K=r.useRef(!1),X=r.useContext(o),Q=r.useState(p),W=(0,t.Z)(Q,2),N=W[0],J=W[1],k=X||(K.current?void 0:function(ee){J(function(ie){var se=[ee].concat((0,f.Z)(ie));return se})});function Z(){F.parentElement||document.body.appendChild(F),K.current=!0}function G(){var ee;(ee=F.parentElement)===null||ee===void 0||ee.removeChild(F),K.current=!1}return(0,_.Z)(function(){return j?X?X(Z):Z():G(),G},[j]),(0,_.Z)(function(){N.length&&(N.forEach(function(ee){return ee()}),J(p))},[N]),[F,k]}var g=e(810),P=e(75152);function O(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var S="rc-util-locker-".concat(Date.now()),I=0;function E(j){var V=!!j,H=r.useState(function(){return I+=1,"".concat(S,"_").concat(I)}),Y=(0,t.Z)(H,1),F=Y[0];(0,_.Z)(function(){if(V){var K=(0,P.o)(document.body).width,X=O();(0,g.hq)(` html body { overflow-y: hidden; `.concat(X?"width: calc(100% - ".concat(K,"px);"):"",` -}`),F)}else(0,g.jL)(F);return function(){(0,g.jL)(F)}},[V,F])}var A=!1;function R(j){return typeof j=="boolean"&&(A=j),A}var T=function(V){return V===!1?!1:!(0,a.Z)()||!V?null:typeof V=="string"?document.querySelector(V):typeof V=="function"?V():V},D=r.forwardRef(function(j,V){var H=j.open,Y=j.autoLock,F=j.getContainer,K=j.debug,X=j.autoDestroy,Q=X===void 0?!0:X,W=j.children,N=r.useState(H),J=(0,t.Z)(N,2),M=J[0],Z=J[1],G=M||H;r.useEffect(function(){(Q||H)&&Z(H)},[H,Q]);var ee=r.useState(function(){return T(F)}),ie=(0,t.Z)(ee,2),se=ie[0],le=ie[1];r.useEffect(function(){var at=T(F);le(at!=null?at:null)});var de=x(G&&!se,K),He=(0,t.Z)(de,2),ze=He[0],st=He[1],vt=se!=null?se:ze;E(Y&&H&&(0,a.Z)()&&(vt===ze||vt===document.body));var Je=null;if(W&&(0,u.Yr)(W)&&V){var Ke=W;Je=Ke.ref}var Re=(0,u.x1)(Je,V);if(!G||!(0,a.Z)()||se===void 0)return null;var Ce=vt===!1||R(),me=W;return V&&(me=r.cloneElement(W,{ref:Re})),r.createElement(o.Provider,{value:st},Ce?me:(0,n.createPortal)(me,vt))}),k=D,B=k},91691:function(i,d){"use strict";d.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},39569:function(i,d,e){"use strict";var t=e(59301),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(f,_,p)=>_ in f?r(f,_,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[_]=p,c=(f,_)=>{for(var p in _||(_={}))a.call(_,p)&&u(f,p,_[p]);if(n)for(var p of n(_))s.call(_,p)&&u(f,p,_[p]);return f};const o=f=>React.createElement("svg",c({width:38,height:12,xmlns:"http://www.w3.org/2000/svg"},f),React.createElement("title",null,"\u4E13\u4E1A\u7248"),React.createElement("path",{d:"M10.541 12v-1.59a41.88 41.88 0 0 0-1.926-.427l1.835-3.608H3.826l.39-1.086h7.496V3.71H4.776l.416-1.138h5.96V.996h-5.4L6.116 0H4.373l-.365.996H.56v1.577h2.889l-.417 1.138H0V5.29h2.473L1.51 7.953H7.9L7 9.71c-1.7-.267-3.643-.461-5.83-.582v1.59c3.089.122 6.212.548 9.37 1.281Zm14.315-.336V9.996h-3.579V.103h-1.665v9.893h-1.484V.103h-1.666v9.893h-3.578v1.668h11.972Zm-8.992-3.427L14.823 1.32H13.13l1.04 6.918h1.693Zm7.704 0 1.04-6.918h-1.69l-1.042 6.918h1.692Zm3.878 3.634c.295-1.337.468-2.712.52-4.125h1.055v4.125h3.045c.32-.923.553-1.856.696-2.8.143-.944.215-1.95.215-3.02v-.84L34.55 8.82a23.215 23.215 0 0 1-1.926 3.052h1.952c.339-.5.664-1.04.976-1.617l.755 1.617H38l-1.588-3.414c.634-1.466 1.128-3.07 1.484-4.81h-4.92V1.914c1.892-.043 3.48-.134 4.764-.272V.052a64.28 64.28 0 0 1-6.299.284v5.716c0 1.051-.065 1.985-.195 2.8-.13.814-.36 1.626-.69 2.437V6.09h-2.564V4.9h2.929V3.246h-.677V.233h-1.51v3.013h-.742V.426h-1.561v5.975c0 1.052-.046 1.998-.137 2.838-.09.84-.267 1.718-.527 2.632h1.679Zm7.951-4.862-.755-1.81h1.393a20.202 20.202 0 0 1-.638 1.81Z",fill:"#602C06",fillRule:"nonzero"}));d.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjU0MSAxMnYtMS41OWE0MS44OCA0MS44OCAwIDAgMC0xLjkyNi0uNDI3bDEuODM1LTMuNjA4SDMuODI2bC4zOS0xLjA4Nmg3LjQ5NlYzLjcxSDQuNzc2bC40MTYtMS4xMzhoNS45NlYuOTk2aC01LjRMNi4xMTYgMEg0LjM3M2wtLjM2NS45OTZILjU2djEuNTc3aDIuODg5bC0uNDE3IDEuMTM4SDBWNS4yOWgyLjQ3M0wxLjUxIDcuOTUzSDcuOUw3IDkuNzFjLTEuNy0uMjY3LTMuNjQzLS40NjEtNS44My0uNTgydjEuNTljMy4wODkuMTIyIDYuMjEyLjU0OCA5LjM3IDEuMjgxWm0xNC4zMTUtLjMzNlY5Ljk5NmgtMy41NzlWLjEwM2gtMS42NjV2OS44OTNoLTEuNDg0Vi4xMDNoLTEuNjY2djkuODkzaC0zLjU3OHYxLjY2OGgxMS45NzJabS04Ljk5Mi0zLjQyN0wxNC44MjMgMS4zMkgxMy4xM2wxLjA0IDYuOTE4aDEuNjkzWm03LjcwNCAwIDEuMDQtNi45MThoLTEuNjlsLTEuMDQyIDYuOTE4aDEuNjkyWm0zLjg3OCAzLjYzNGMuMjk1LTEuMzM3LjQ2OC0yLjcxMi41Mi00LjEyNWgxLjA1NXY0LjEyNWgzLjA0NWMuMzItLjkyMy41NTMtMS44NTYuNjk2LTIuOC4xNDMtLjk0NC4yMTUtMS45NS4yMTUtMy4wMnYtLjg0TDM0LjU1IDguODJhMjMuMjE1IDIzLjIxNSAwIDAgMS0xLjkyNiAzLjA1MmgxLjk1MmMuMzM5LS41LjY2NC0xLjA0Ljk3Ni0xLjYxN2wuNzU1IDEuNjE3SDM4bC0xLjU4OC0zLjQxNGMuNjM0LTEuNDY2IDEuMTI4LTMuMDcgMS40ODQtNC44MWgtNC45MlYxLjkxNGMxLjg5Mi0uMDQzIDMuNDgtLjEzNCA0Ljc2NC0uMjcyVi4wNTJhNjQuMjggNjQuMjggMCAwIDEtNi4yOTkuMjg0djUuNzE2YzAgMS4wNTEtLjA2NSAxLjk4NS0uMTk1IDIuOC0uMTMuODE0LS4zNiAxLjYyNi0uNjkgMi40MzdWNi4wOWgtMi41NjRWNC45aDIuOTI5VjMuMjQ2aC0uNjc3Vi4yMzNoLTEuNTF2My4wMTNoLS43NDJWLjQyNmgtMS41NjF2NS45NzVjMCAxLjA1Mi0uMDQ2IDEuOTk4LS4xMzcgMi44MzgtLjA5Ljg0LS4yNjcgMS43MTgtLjUyNyAyLjYzMmgxLjY3OVptNy45NTEtNC44NjItLjc1NS0xLjgxaDEuMzkzYTIwLjIwMiAyMC4yMDIgMCAwIDEtLjYzOCAxLjgxWiIgZmlsbD0iIzYwMkMwNiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+"},87625:function(i,d,e){"use strict";var t=e(59301),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(f,_,p)=>_ in f?r(f,_,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[_]=p,c=(f,_)=>{for(var p in _||(_={}))a.call(_,p)&&u(f,p,_[p]);if(n)for(var p of n(_))s.call(_,p)&&u(f,p,_[p]);return f};const o=f=>React.createElement("svg",c({width:38,height:12,xmlns:"http://www.w3.org/2000/svg"},f),React.createElement("title",null,"\u6807\u51C6\u7248"),React.createElement("path",{d:"M4.096 12V6.814l.75.578V5.409l-.75-.577V3.164h1.008V1.536H4.096V.118H2.468v1.418H.284v1.628h2.184V12h1.628Zm7.3-10.07V.315H5.582V1.93h5.814ZM9.33 12V5.173h2.7V3.532H4.95v1.64h2.778v5.2H6.719V12h2.61Zm-7.869-.683c.215-1.164.36-2.36.433-3.59.073-1.23.11-2.572.11-4.025H.633c0 2.933-.21 5.47-.633 7.615h1.46Zm4.6.132c.517-1.83.775-3.69.775-5.58H5.388c0 1.864-.323 3.724-.97 5.58H6.06Zm6.073.065c0-1.9-.259-3.76-.776-5.58H9.794c.594 1.847.891 3.707.891 5.58h1.448Zm12.714.315v-1.64h-2.455V8.914h2.196V7.274h-2.196v-1.3h2.196V4.333h-2.196v-1.3h2.325V1.392h-2.325V.21h-1.654l.013 1.182h-1.499c.06-.28.133-.687.22-1.221H17.96c-.31 1.663-.801 3.033-1.473 4.11V6.88c.25-.254.456-.486.62-.696v5.645h7.74ZM16.19 4.228 14.91.59h-1.718l1.28 3.637h1.718Zm4.6.105H18.76V3.164l.039-.131h1.977l.013 1.3Zm-5.88 6.88c.604-1.708 1.043-3.778 1.318-6.21h-1.68a27.714 27.714 0 0 1-1.472 6.21h1.835Zm5.905-3.94h-2.054v-1.3h2.041l.013 1.3Zm.04 2.915H18.76V8.915h2.08l.013 1.273ZM27.52 12c.293-1.357.465-2.753.517-4.188h1.047V12h3.023c.319-.937.55-1.884.691-2.842.143-.959.214-1.98.214-3.066v-.853l1.563 3.663A23.653 23.653 0 0 1 32.664 12h1.938c.336-.508.659-1.055.969-1.641L36.32 12H38l-1.576-3.466c.628-1.488 1.12-3.116 1.473-4.884h-4.884V1.89c1.877-.043 3.454-.135 4.729-.275V0c-1.904.193-3.989.289-6.254.289v5.803c0 1.068-.065 2.015-.194 2.842-.13.827-.357 1.652-.685 2.475V6.131h-2.545V4.923h2.907v-1.68H30.3V.183H28.8v3.06h-.736V.38h-1.55v6.065c0 1.068-.046 2.029-.136 2.882-.09.854-.265 1.744-.524 2.672h1.667Zm7.895-4.937-.75-1.838h1.383a20.826 20.826 0 0 1-.633 1.838Z",fill:"#364559",fillRule:"nonzero"}));d.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuMDk2IDEyVjYuODE0bC43NS41NzhWNS40MDlsLS43NS0uNTc3VjMuMTY0aDEuMDA4VjEuNTM2SDQuMDk2Vi4xMThIMi40Njh2MS40MThILjI4NHYxLjYyOGgyLjE4NFYxMmgxLjYyOFptNy4zLTEwLjA3Vi4zMTVINS41ODJWMS45M2g1LjgxNFpNOS4zMyAxMlY1LjE3M2gyLjdWMy41MzJINC45NXYxLjY0aDIuNzc4djUuMkg2LjcxOVYxMmgyLjYxWm0tNy44NjktLjY4M2MuMjE1LTEuMTY0LjM2LTIuMzYuNDMzLTMuNTkuMDczLTEuMjMuMTEtMi41NzIuMTEtNC4wMjVILjYzM2MwIDIuOTMzLS4yMSA1LjQ3LS42MzMgNy42MTVoMS40NlptNC42LjEzMmMuNTE3LTEuODMuNzc1LTMuNjkuNzc1LTUuNThINS4zODhjMCAxLjg2NC0uMzIzIDMuNzI0LS45NyA1LjU4SDYuMDZabTYuMDczLjA2NWMwLTEuOS0uMjU5LTMuNzYtLjc3Ni01LjU4SDkuNzk0Yy41OTQgMS44NDcuODkxIDMuNzA3Ljg5MSA1LjU4aDEuNDQ4Wm0xMi43MTQuMzE1di0xLjY0aC0yLjQ1NVY4LjkxNGgyLjE5NlY3LjI3NGgtMi4xOTZ2LTEuM2gyLjE5NlY0LjMzM2gtMi4xOTZ2LTEuM2gyLjMyNVYxLjM5MmgtMi4zMjVWLjIxaC0xLjY1NGwuMDEzIDEuMTgyaC0xLjQ5OWMuMDYtLjI4LjEzMy0uNjg3LjIyLTEuMjIxSDE3Ljk2Yy0uMzEgMS42NjMtLjgwMSAzLjAzMy0xLjQ3MyA0LjExVjYuODhjLjI1LS4yNTQuNDU2LS40ODYuNjItLjY5NnY1LjY0NWg3Ljc0Wk0xNi4xOSA0LjIyOCAxNC45MS41OWgtMS43MThsMS4yOCAzLjYzN2gxLjcxOFptNC42LjEwNUgxOC43NlYzLjE2NGwuMDM5LS4xMzFoMS45NzdsLjAxMyAxLjNabS01Ljg4IDYuODhjLjYwNC0xLjcwOCAxLjA0My0zLjc3OCAxLjMxOC02LjIxaC0xLjY4YTI3LjcxNCAyNy43MTQgMCAwIDEtMS40NzIgNi4yMWgxLjgzNVptNS45MDUtMy45NGgtMi4wNTR2LTEuM2gyLjA0MWwuMDEzIDEuM1ptLjA0IDIuOTE1SDE4Ljc2VjguOTE1aDIuMDhsLjAxMyAxLjI3M1pNMjcuNTIgMTJjLjI5My0xLjM1Ny40NjUtMi43NTMuNTE3LTQuMTg4aDEuMDQ3VjEyaDMuMDIzYy4zMTktLjkzNy41NS0xLjg4NC42OTEtMi44NDIuMTQzLS45NTkuMjE0LTEuOTguMjE0LTMuMDY2di0uODUzbDEuNTYzIDMuNjYzQTIzLjY1MyAyMy42NTMgMCAwIDEgMzIuNjY0IDEyaDEuOTM4Yy4zMzYtLjUwOC42NTktMS4wNTUuOTY5LTEuNjQxTDM2LjMyIDEySDM4bC0xLjU3Ni0zLjQ2NmMuNjI4LTEuNDg4IDEuMTItMy4xMTYgMS40NzMtNC44ODRoLTQuODg0VjEuODljMS44NzctLjA0MyAzLjQ1NC0uMTM1IDQuNzI5LS4yNzVWMGMtMS45MDQuMTkzLTMuOTg5LjI4OS02LjI1NC4yODl2NS44MDNjMCAxLjA2OC0uMDY1IDIuMDE1LS4xOTQgMi44NDItLjEzLjgyNy0uMzU3IDEuNjUyLS42ODUgMi40NzVWNi4xMzFoLTIuNTQ1VjQuOTIzaDIuOTA3di0xLjY4SDMwLjNWLjE4M0gyOC44djMuMDZoLS43MzZWLjM4aC0xLjU1djYuMDY1YzAgMS4wNjgtLjA0NiAyLjAyOS0uMTM2IDIuODgyLS4wOS44NTQtLjI2NSAxLjc0NC0uNTI0IDIuNjcyaDEuNjY3Wm03Ljg5NS00LjkzNy0uNzUtMS44MzhoMS4zODNhMjAuODI2IDIwLjgyNiAwIDAgMS0uNjMzIDEuODM4WiIgZmlsbD0iIzM2NDU1OSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+"},47243:function(i,d,e){"use strict";var t=e(59301),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(f,_,p)=>_ in f?r(f,_,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[_]=p,c=(f,_)=>{for(var p in _||(_={}))a.call(_,p)&&u(f,p,_[p]);if(n)for(var p of n(_))s.call(_,p)&&u(f,p,_[p]);return f};const o=f=>React.createElement("svg",c({width:38,height:12,xmlns:"http://www.w3.org/2000/svg"},f),React.createElement("title",null,"\u57FA\u7840\u7248"),React.createElement("path",{d:"M11.432 11.96v-1.512H6.81v-.73h2.875V8.83c.578.627 1.363 1.113 2.356 1.461V8.61c-.69-.261-1.2-.652-1.528-1.174h1.463V5.883h-1.825V2.139h1.463V.64H10.15V0H8.467v.64H3.573V0H1.89v.64H.427v1.5H1.89v3.743H.065v1.552h1.463C1.2 7.957.69 8.348 0 8.609v1.682c.993-.348 1.778-.834 2.356-1.46v.886h2.875v.73H.596v1.514h10.836ZM8.467 2.505H3.573V2.01h4.894v.495Zm0 1.8H3.573v-.547h4.894v.547Zm0 1.761H3.573v-.522h4.894v.522ZM5.231 8.243H2.81a3.87 3.87 0 0 0 .414-.808h5.593c.13.33.268.6.414.808h-2.42v-.495H5.23v.495Zm19.563 3.496V6.626H23.24v3.365h-1.1V5.726h2.486V.704h-1.528v3.274h-.971V.065h-1.58v3.913h-.97V.704h-1.529v5.022h2.486v4.265h-1.1V6.626H17.88v5.113h6.914Zm-7.484-.391V4.604h-2.006c.224-.713.397-1.53.517-2.452h1.606V.457H13.14v1.695h.997a12.71 12.71 0 0 1-.46 2.041 13.21 13.21 0 0 1-.796 1.937h.713v5.218h3.715Zm-1.424-1.63h-.867V6.234h.867v3.482ZM27.5 12c.293-1.348.466-2.735.518-4.16h1.048V12h3.03c.32-.93.55-1.872.693-2.824.142-.952.213-1.967.213-3.046v-.847l1.567 3.639A23.465 23.465 0 0 1 32.653 12h1.942c.337-.504.66-1.048.97-1.63l.752 1.63H38l-1.58-3.443c.63-1.479 1.123-3.096 1.476-4.853h-4.894V1.957c1.882-.044 3.462-.135 4.74-.274V.078c-1.909.192-3.997.287-6.267.287V6.13c0 1.061-.065 2.003-.195 2.824-.13.822-.358 1.642-.686 2.459V6.17h-2.55v-1.2h2.913V3.3h-.674V.26h-1.501V3.3h-.738V.457H26.49v6.026c0 1.06-.045 2.015-.136 2.863-.09.847-.265 1.732-.524 2.654h1.67Zm7.91-4.904-.75-1.826h1.385c-.155.539-.367 1.147-.634 1.826Z",fill:"#364559",fillRule:"nonzero"}));d.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjQzMiAxMS45NnYtMS41MTJINi44MXYtLjczaDIuODc1VjguODNjLjU3OC42MjcgMS4zNjMgMS4xMTMgMi4zNTYgMS40NjFWOC42MWMtLjY5LS4yNjEtMS4yLS42NTItMS41MjgtMS4xNzRoMS40NjNWNS44ODNoLTEuODI1VjIuMTM5aDEuNDYzVi42NEgxMC4xNVYwSDguNDY3di42NEgzLjU3M1YwSDEuODl2LjY0SC40Mjd2MS41SDEuODl2My43NDNILjA2NXYxLjU1MmgxLjQ2M0MxLjIgNy45NTcuNjkgOC4zNDggMCA4LjYwOXYxLjY4MmMuOTkzLS4zNDggMS43NzgtLjgzNCAyLjM1Ni0xLjQ2di44ODZoMi44NzV2LjczSC41OTZ2MS41MTRoMTAuODM2Wk04LjQ2NyAyLjUwNUgzLjU3M1YyLjAxaDQuODk0di40OTVabTAgMS44SDMuNTczdi0uNTQ3aDQuODk0di41NDdabTAgMS43NjFIMy41NzN2LS41MjJoNC44OTR2LjUyMlpNNS4yMzEgOC4yNDNIMi44MWEzLjg3IDMuODcgMCAwIDAgLjQxNC0uODA4aDUuNTkzYy4xMy4zMy4yNjguNi40MTQuODA4aC0yLjQydi0uNDk1SDUuMjN2LjQ5NVptMTkuNTYzIDMuNDk2VjYuNjI2SDIzLjI0djMuMzY1aC0xLjFWNS43MjZoMi40ODZWLjcwNGgtMS41Mjh2My4yNzRoLS45NzFWLjA2NWgtMS41OHYzLjkxM2gtLjk3Vi43MDRoLTEuNTI5djUuMDIyaDIuNDg2djQuMjY1aC0xLjFWNi42MjZIMTcuODh2NS4xMTNoNi45MTRabS03LjQ4NC0uMzkxVjQuNjA0aC0yLjAwNmMuMjI0LS43MTMuMzk3LTEuNTMuNTE3LTIuNDUyaDEuNjA2Vi40NTdIMTMuMTR2MS42OTVoLjk5N2ExMi43MSAxMi43MSAwIDAgMS0uNDYgMi4wNDEgMTMuMjEgMTMuMjEgMCAwIDEtLjc5NiAxLjkzN2guNzEzdjUuMjE4aDMuNzE1Wm0tMS40MjQtMS42M2gtLjg2N1Y2LjIzNGguODY3djMuNDgyWk0yNy41IDEyYy4yOTMtMS4zNDguNDY2LTIuNzM1LjUxOC00LjE2aDEuMDQ4VjEyaDMuMDNjLjMyLS45My41NS0xLjg3Mi42OTMtMi44MjQuMTQyLS45NTIuMjEzLTEuOTY3LjIxMy0zLjA0NnYtLjg0N2wxLjU2NyAzLjYzOUEyMy40NjUgMjMuNDY1IDAgMCAxIDMyLjY1MyAxMmgxLjk0MmMuMzM3LS41MDQuNjYtMS4wNDguOTctMS42M2wuNzUyIDEuNjNIMzhsLTEuNTgtMy40NDNjLjYzLTEuNDc5IDEuMTIzLTMuMDk2IDEuNDc2LTQuODUzaC00Ljg5NFYxLjk1N2MxLjg4Mi0uMDQ0IDMuNDYyLS4xMzUgNC43NC0uMjc0Vi4wNzhjLTEuOTA5LjE5Mi0zLjk5Ny4yODctNi4yNjcuMjg3VjYuMTNjMCAxLjA2MS0uMDY1IDIuMDAzLS4xOTUgMi44MjQtLjEzLjgyMi0uMzU4IDEuNjQyLS42ODYgMi40NTlWNi4xN2gtMi41NXYtMS4yaDIuOTEzVjMuM2gtLjY3NFYuMjZoLTEuNTAxVjMuM2gtLjczOFYuNDU3SDI2LjQ5djYuMDI2YzAgMS4wNi0uMDQ1IDIuMDE1LS4xMzYgMi44NjMtLjA5Ljg0Ny0uMjY1IDEuNzMyLS41MjQgMi42NTRoMS42N1ptNy45MS00LjkwNC0uNzUtMS44MjZoMS4zODVjLS4xNTUuNTM5LS4zNjcgMS4xNDctLjYzNCAxLjgyNloiIGZpbGw9IiMzNjQ1NTkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},33156:function(i,d){"use strict";function e(r){const n={},a={channels:n,subscribe:function(s,u){return n[s]||(n[s]=[]),n[s].push(u),this.unsubscribe.bind(null,s,u)},unsubscribe:function(s,u){let c=n[s],o=-1;if(c){for(let f=0;f=0)return n[s].splice(o,1),!0}return!1},publish:function(s){if(!n[s])return!1;const u=Array.prototype.slice.call(arguments,1);return n[s].forEach(c=>{c.apply(null,u)}),this}};return r?Object.assign(r,a):a}const t=new e;d.Z=t},80679:function(i,d,e){"use strict";e.d(d,{zt:function(){return Co},$j:function(){return Vn},Ue:function(){return Si},I0:function(){return Oo},v9:function(){return Qi}});var t={};e.r(t),e.d(t,{actionChannel:function(){return wt},all:function(){return ar},apply:function(){return Mr},call:function(){return Ir},cancel:function(){return Cr},cancelled:function(){return qe},cps:function(){return er},flush:function(){return Ue},fork:function(){return Nt},getContext:function(){return Le},join:function(){return Qt},put:function(){return Mt},race:function(){return $t},select:function(){return Er},setContext:function(){return rt},spawn:function(){return Kt},take:function(){return Ze},takeEvery:function(){return Pe},takeLatest:function(){return $n},takem:function(){return dt},throttle:function(){return aa}});var r=e(59301),n=e(53885),a=e(59781),s=Object.assign||function(ve){for(var he=1;he=0&&ve.splice(We,1)}var j={from:function(he){var We=Array(he.length);for(var tt in he)T(he,tt)&&(We[tt]=he[tt]);return We}};function V(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},he=s({},ve),We=new Promise(function(tt,Rt){he.resolve=tt,he.reject=Rt});return he.promise=We,he}function H(ve){for(var he=[],We=0;We1&&arguments[1]!==void 0?arguments[1]:!0,We=void 0,tt=new Promise(function(Rt){We=setTimeout(function(){return Rt(he)},ve)});return tt[p]=function(){return clearTimeout(We)},tt}function F(){var ve,he=!0,We=void 0,tt=void 0;return ve={},ve[o]=!0,ve.isRunning=function(){return he},ve.result=function(){return We},ve.error=function(){return tt},ve.setRunning=function(Wt){return he=Wt},ve.setResult=function(Wt){return We=Wt},ve.setError=function(Wt){return tt=Wt},ve}function K(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++ve}}var X=K(),Q=function(he){throw he},W=function(he){return{value:he,done:!0}};function N(ve){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q,We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",tt=arguments[3],Rt={name:We,next:ve,throw:he,return:W};return tt&&(Rt[f]=!0),typeof Symbol!="undefined"&&(Rt[Symbol.iterator]=function(){return Rt}),Rt}function J(ve,he){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+ve+": "+he+` -`+(We&&We.stack||We)):console[ve](he,We)}function M(ve,he){return function(){return ve.apply(void 0,arguments)}}var Z=function(he,We){return he+" has been deprecated in favor of "+We+", please update your code"},G=function(he){return new Error(` +}`),F)}else(0,g.jL)(F);return function(){(0,g.jL)(F)}},[V,F])}var A=!1;function R(j){return typeof j=="boolean"&&(A=j),A}var T=function(V){return V===!1?!1:!(0,a.Z)()||!V?null:typeof V=="string"?document.querySelector(V):typeof V=="function"?V():V},D=r.forwardRef(function(j,V){var H=j.open,Y=j.autoLock,F=j.getContainer,K=j.debug,X=j.autoDestroy,Q=X===void 0?!0:X,W=j.children,N=r.useState(H),J=(0,t.Z)(N,2),k=J[0],Z=J[1],G=k||H;r.useEffect(function(){(Q||H)&&Z(H)},[H,Q]);var ee=r.useState(function(){return T(F)}),ie=(0,t.Z)(ee,2),se=ie[0],le=ie[1];r.useEffect(function(){var at=T(F);le(at!=null?at:null)});var de=x(G&&!se,K),He=(0,t.Z)(de,2),ze=He[0],st=He[1],vt=se!=null?se:ze;E(Y&&H&&(0,a.Z)()&&(vt===ze||vt===document.body));var Je=null;if(W&&(0,u.Yr)(W)&&V){var Ke=W;Je=Ke.ref}var Re=(0,u.x1)(Je,V);if(!G||!(0,a.Z)()||se===void 0)return null;var Ce=vt===!1||R(),me=W;return V&&(me=r.cloneElement(W,{ref:Re})),r.createElement(o.Provider,{value:st},Ce?me:(0,n.createPortal)(me,vt))}),M=D,B=M},91691:function(i,d){"use strict";d.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},39569:function(i,d,e){"use strict";var t=e(59301),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(f,_,p)=>_ in f?r(f,_,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[_]=p,c=(f,_)=>{for(var p in _||(_={}))a.call(_,p)&&u(f,p,_[p]);if(n)for(var p of n(_))s.call(_,p)&&u(f,p,_[p]);return f};const o=f=>React.createElement("svg",c({width:38,height:12,xmlns:"http://www.w3.org/2000/svg"},f),React.createElement("title",null,"\u4E13\u4E1A\u7248"),React.createElement("path",{d:"M10.541 12v-1.59a41.88 41.88 0 0 0-1.926-.427l1.835-3.608H3.826l.39-1.086h7.496V3.71H4.776l.416-1.138h5.96V.996h-5.4L6.116 0H4.373l-.365.996H.56v1.577h2.889l-.417 1.138H0V5.29h2.473L1.51 7.953H7.9L7 9.71c-1.7-.267-3.643-.461-5.83-.582v1.59c3.089.122 6.212.548 9.37 1.281Zm14.315-.336V9.996h-3.579V.103h-1.665v9.893h-1.484V.103h-1.666v9.893h-3.578v1.668h11.972Zm-8.992-3.427L14.823 1.32H13.13l1.04 6.918h1.693Zm7.704 0 1.04-6.918h-1.69l-1.042 6.918h1.692Zm3.878 3.634c.295-1.337.468-2.712.52-4.125h1.055v4.125h3.045c.32-.923.553-1.856.696-2.8.143-.944.215-1.95.215-3.02v-.84L34.55 8.82a23.215 23.215 0 0 1-1.926 3.052h1.952c.339-.5.664-1.04.976-1.617l.755 1.617H38l-1.588-3.414c.634-1.466 1.128-3.07 1.484-4.81h-4.92V1.914c1.892-.043 3.48-.134 4.764-.272V.052a64.28 64.28 0 0 1-6.299.284v5.716c0 1.051-.065 1.985-.195 2.8-.13.814-.36 1.626-.69 2.437V6.09h-2.564V4.9h2.929V3.246h-.677V.233h-1.51v3.013h-.742V.426h-1.561v5.975c0 1.052-.046 1.998-.137 2.838-.09.84-.267 1.718-.527 2.632h1.679Zm7.951-4.862-.755-1.81h1.393a20.202 20.202 0 0 1-.638 1.81Z",fill:"#602C06",fillRule:"nonzero"}));d.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjU0MSAxMnYtMS41OWE0MS44OCA0MS44OCAwIDAgMC0xLjkyNi0uNDI3bDEuODM1LTMuNjA4SDMuODI2bC4zOS0xLjA4Nmg3LjQ5NlYzLjcxSDQuNzc2bC40MTYtMS4xMzhoNS45NlYuOTk2aC01LjRMNi4xMTYgMEg0LjM3M2wtLjM2NS45OTZILjU2djEuNTc3aDIuODg5bC0uNDE3IDEuMTM4SDBWNS4yOWgyLjQ3M0wxLjUxIDcuOTUzSDcuOUw3IDkuNzFjLTEuNy0uMjY3LTMuNjQzLS40NjEtNS44My0uNTgydjEuNTljMy4wODkuMTIyIDYuMjEyLjU0OCA5LjM3IDEuMjgxWm0xNC4zMTUtLjMzNlY5Ljk5NmgtMy41NzlWLjEwM2gtMS42NjV2OS44OTNoLTEuNDg0Vi4xMDNoLTEuNjY2djkuODkzaC0zLjU3OHYxLjY2OGgxMS45NzJabS04Ljk5Mi0zLjQyN0wxNC44MjMgMS4zMkgxMy4xM2wxLjA0IDYuOTE4aDEuNjkzWm03LjcwNCAwIDEuMDQtNi45MThoLTEuNjlsLTEuMDQyIDYuOTE4aDEuNjkyWm0zLjg3OCAzLjYzNGMuMjk1LTEuMzM3LjQ2OC0yLjcxMi41Mi00LjEyNWgxLjA1NXY0LjEyNWgzLjA0NWMuMzItLjkyMy41NTMtMS44NTYuNjk2LTIuOC4xNDMtLjk0NC4yMTUtMS45NS4yMTUtMy4wMnYtLjg0TDM0LjU1IDguODJhMjMuMjE1IDIzLjIxNSAwIDAgMS0xLjkyNiAzLjA1MmgxLjk1MmMuMzM5LS41LjY2NC0xLjA0Ljk3Ni0xLjYxN2wuNzU1IDEuNjE3SDM4bC0xLjU4OC0zLjQxNGMuNjM0LTEuNDY2IDEuMTI4LTMuMDcgMS40ODQtNC44MWgtNC45MlYxLjkxNGMxLjg5Mi0uMDQzIDMuNDgtLjEzNCA0Ljc2NC0uMjcyVi4wNTJhNjQuMjggNjQuMjggMCAwIDEtNi4yOTkuMjg0djUuNzE2YzAgMS4wNTEtLjA2NSAxLjk4NS0uMTk1IDIuOC0uMTMuODE0LS4zNiAxLjYyNi0uNjkgMi40MzdWNi4wOWgtMi41NjRWNC45aDIuOTI5VjMuMjQ2aC0uNjc3Vi4yMzNoLTEuNTF2My4wMTNoLS43NDJWLjQyNmgtMS41NjF2NS45NzVjMCAxLjA1Mi0uMDQ2IDEuOTk4LS4xMzcgMi44MzgtLjA5Ljg0LS4yNjcgMS43MTgtLjUyNyAyLjYzMmgxLjY3OVptNy45NTEtNC44NjItLjc1NS0xLjgxaDEuMzkzYTIwLjIwMiAyMC4yMDIgMCAwIDEtLjYzOCAxLjgxWiIgZmlsbD0iIzYwMkMwNiIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+"},87625:function(i,d,e){"use strict";var t=e(59301),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(f,_,p)=>_ in f?r(f,_,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[_]=p,c=(f,_)=>{for(var p in _||(_={}))a.call(_,p)&&u(f,p,_[p]);if(n)for(var p of n(_))s.call(_,p)&&u(f,p,_[p]);return f};const o=f=>React.createElement("svg",c({width:38,height:12,xmlns:"http://www.w3.org/2000/svg"},f),React.createElement("title",null,"\u6807\u51C6\u7248"),React.createElement("path",{d:"M4.096 12V6.814l.75.578V5.409l-.75-.577V3.164h1.008V1.536H4.096V.118H2.468v1.418H.284v1.628h2.184V12h1.628Zm7.3-10.07V.315H5.582V1.93h5.814ZM9.33 12V5.173h2.7V3.532H4.95v1.64h2.778v5.2H6.719V12h2.61Zm-7.869-.683c.215-1.164.36-2.36.433-3.59.073-1.23.11-2.572.11-4.025H.633c0 2.933-.21 5.47-.633 7.615h1.46Zm4.6.132c.517-1.83.775-3.69.775-5.58H5.388c0 1.864-.323 3.724-.97 5.58H6.06Zm6.073.065c0-1.9-.259-3.76-.776-5.58H9.794c.594 1.847.891 3.707.891 5.58h1.448Zm12.714.315v-1.64h-2.455V8.914h2.196V7.274h-2.196v-1.3h2.196V4.333h-2.196v-1.3h2.325V1.392h-2.325V.21h-1.654l.013 1.182h-1.499c.06-.28.133-.687.22-1.221H17.96c-.31 1.663-.801 3.033-1.473 4.11V6.88c.25-.254.456-.486.62-.696v5.645h7.74ZM16.19 4.228 14.91.59h-1.718l1.28 3.637h1.718Zm4.6.105H18.76V3.164l.039-.131h1.977l.013 1.3Zm-5.88 6.88c.604-1.708 1.043-3.778 1.318-6.21h-1.68a27.714 27.714 0 0 1-1.472 6.21h1.835Zm5.905-3.94h-2.054v-1.3h2.041l.013 1.3Zm.04 2.915H18.76V8.915h2.08l.013 1.273ZM27.52 12c.293-1.357.465-2.753.517-4.188h1.047V12h3.023c.319-.937.55-1.884.691-2.842.143-.959.214-1.98.214-3.066v-.853l1.563 3.663A23.653 23.653 0 0 1 32.664 12h1.938c.336-.508.659-1.055.969-1.641L36.32 12H38l-1.576-3.466c.628-1.488 1.12-3.116 1.473-4.884h-4.884V1.89c1.877-.043 3.454-.135 4.729-.275V0c-1.904.193-3.989.289-6.254.289v5.803c0 1.068-.065 2.015-.194 2.842-.13.827-.357 1.652-.685 2.475V6.131h-2.545V4.923h2.907v-1.68H30.3V.183H28.8v3.06h-.736V.38h-1.55v6.065c0 1.068-.046 2.029-.136 2.882-.09.854-.265 1.744-.524 2.672h1.667Zm7.895-4.937-.75-1.838h1.383a20.826 20.826 0 0 1-.633 1.838Z",fill:"#364559",fillRule:"nonzero"}));d.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuMDk2IDEyVjYuODE0bC43NS41NzhWNS40MDlsLS43NS0uNTc3VjMuMTY0aDEuMDA4VjEuNTM2SDQuMDk2Vi4xMThIMi40Njh2MS40MThILjI4NHYxLjYyOGgyLjE4NFYxMmgxLjYyOFptNy4zLTEwLjA3Vi4zMTVINS41ODJWMS45M2g1LjgxNFpNOS4zMyAxMlY1LjE3M2gyLjdWMy41MzJINC45NXYxLjY0aDIuNzc4djUuMkg2LjcxOVYxMmgyLjYxWm0tNy44NjktLjY4M2MuMjE1LTEuMTY0LjM2LTIuMzYuNDMzLTMuNTkuMDczLTEuMjMuMTEtMi41NzIuMTEtNC4wMjVILjYzM2MwIDIuOTMzLS4yMSA1LjQ3LS42MzMgNy42MTVoMS40NlptNC42LjEzMmMuNTE3LTEuODMuNzc1LTMuNjkuNzc1LTUuNThINS4zODhjMCAxLjg2NC0uMzIzIDMuNzI0LS45NyA1LjU4SDYuMDZabTYuMDczLjA2NWMwLTEuOS0uMjU5LTMuNzYtLjc3Ni01LjU4SDkuNzk0Yy41OTQgMS44NDcuODkxIDMuNzA3Ljg5MSA1LjU4aDEuNDQ4Wm0xMi43MTQuMzE1di0xLjY0aC0yLjQ1NVY4LjkxNGgyLjE5NlY3LjI3NGgtMi4xOTZ2LTEuM2gyLjE5NlY0LjMzM2gtMi4xOTZ2LTEuM2gyLjMyNVYxLjM5MmgtMi4zMjVWLjIxaC0xLjY1NGwuMDEzIDEuMTgyaC0xLjQ5OWMuMDYtLjI4LjEzMy0uNjg3LjIyLTEuMjIxSDE3Ljk2Yy0uMzEgMS42NjMtLjgwMSAzLjAzMy0xLjQ3MyA0LjExVjYuODhjLjI1LS4yNTQuNDU2LS40ODYuNjItLjY5NnY1LjY0NWg3Ljc0Wk0xNi4xOSA0LjIyOCAxNC45MS41OWgtMS43MThsMS4yOCAzLjYzN2gxLjcxOFptNC42LjEwNUgxOC43NlYzLjE2NGwuMDM5LS4xMzFoMS45NzdsLjAxMyAxLjNabS01Ljg4IDYuODhjLjYwNC0xLjcwOCAxLjA0My0zLjc3OCAxLjMxOC02LjIxaC0xLjY4YTI3LjcxNCAyNy43MTQgMCAwIDEtMS40NzIgNi4yMWgxLjgzNVptNS45MDUtMy45NGgtMi4wNTR2LTEuM2gyLjA0MWwuMDEzIDEuM1ptLjA0IDIuOTE1SDE4Ljc2VjguOTE1aDIuMDhsLjAxMyAxLjI3M1pNMjcuNTIgMTJjLjI5My0xLjM1Ny40NjUtMi43NTMuNTE3LTQuMTg4aDEuMDQ3VjEyaDMuMDIzYy4zMTktLjkzNy41NS0xLjg4NC42OTEtMi44NDIuMTQzLS45NTkuMjE0LTEuOTguMjE0LTMuMDY2di0uODUzbDEuNTYzIDMuNjYzQTIzLjY1MyAyMy42NTMgMCAwIDEgMzIuNjY0IDEyaDEuOTM4Yy4zMzYtLjUwOC42NTktMS4wNTUuOTY5LTEuNjQxTDM2LjMyIDEySDM4bC0xLjU3Ni0zLjQ2NmMuNjI4LTEuNDg4IDEuMTItMy4xMTYgMS40NzMtNC44ODRoLTQuODg0VjEuODljMS44NzctLjA0MyAzLjQ1NC0uMTM1IDQuNzI5LS4yNzVWMGMtMS45MDQuMTkzLTMuOTg5LjI4OS02LjI1NC4yODl2NS44MDNjMCAxLjA2OC0uMDY1IDIuMDE1LS4xOTQgMi44NDItLjEzLjgyNy0uMzU3IDEuNjUyLS42ODUgMi40NzVWNi4xMzFoLTIuNTQ1VjQuOTIzaDIuOTA3di0xLjY4SDMwLjNWLjE4M0gyOC44djMuMDZoLS43MzZWLjM4aC0xLjU1djYuMDY1YzAgMS4wNjgtLjA0NiAyLjAyOS0uMTM2IDIuODgyLS4wOS44NTQtLjI2NSAxLjc0NC0uNTI0IDIuNjcyaDEuNjY3Wm03Ljg5NS00LjkzNy0uNzUtMS44MzhoMS4zODNhMjAuODI2IDIwLjgyNiAwIDAgMS0uNjMzIDEuODM4WiIgZmlsbD0iIzM2NDU1OSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PC9zdmc+"},47243:function(i,d,e){"use strict";var t=e(59301),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(f,_,p)=>_ in f?r(f,_,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[_]=p,c=(f,_)=>{for(var p in _||(_={}))a.call(_,p)&&u(f,p,_[p]);if(n)for(var p of n(_))s.call(_,p)&&u(f,p,_[p]);return f};const o=f=>React.createElement("svg",c({width:38,height:12,xmlns:"http://www.w3.org/2000/svg"},f),React.createElement("title",null,"\u57FA\u7840\u7248"),React.createElement("path",{d:"M11.432 11.96v-1.512H6.81v-.73h2.875V8.83c.578.627 1.363 1.113 2.356 1.461V8.61c-.69-.261-1.2-.652-1.528-1.174h1.463V5.883h-1.825V2.139h1.463V.64H10.15V0H8.467v.64H3.573V0H1.89v.64H.427v1.5H1.89v3.743H.065v1.552h1.463C1.2 7.957.69 8.348 0 8.609v1.682c.993-.348 1.778-.834 2.356-1.46v.886h2.875v.73H.596v1.514h10.836ZM8.467 2.505H3.573V2.01h4.894v.495Zm0 1.8H3.573v-.547h4.894v.547Zm0 1.761H3.573v-.522h4.894v.522ZM5.231 8.243H2.81a3.87 3.87 0 0 0 .414-.808h5.593c.13.33.268.6.414.808h-2.42v-.495H5.23v.495Zm19.563 3.496V6.626H23.24v3.365h-1.1V5.726h2.486V.704h-1.528v3.274h-.971V.065h-1.58v3.913h-.97V.704h-1.529v5.022h2.486v4.265h-1.1V6.626H17.88v5.113h6.914Zm-7.484-.391V4.604h-2.006c.224-.713.397-1.53.517-2.452h1.606V.457H13.14v1.695h.997a12.71 12.71 0 0 1-.46 2.041 13.21 13.21 0 0 1-.796 1.937h.713v5.218h3.715Zm-1.424-1.63h-.867V6.234h.867v3.482ZM27.5 12c.293-1.348.466-2.735.518-4.16h1.048V12h3.03c.32-.93.55-1.872.693-2.824.142-.952.213-1.967.213-3.046v-.847l1.567 3.639A23.465 23.465 0 0 1 32.653 12h1.942c.337-.504.66-1.048.97-1.63l.752 1.63H38l-1.58-3.443c.63-1.479 1.123-3.096 1.476-4.853h-4.894V1.957c1.882-.044 3.462-.135 4.74-.274V.078c-1.909.192-3.997.287-6.267.287V6.13c0 1.061-.065 2.003-.195 2.824-.13.822-.358 1.642-.686 2.459V6.17h-2.55v-1.2h2.913V3.3h-.674V.26h-1.501V3.3h-.738V.457H26.49v6.026c0 1.06-.045 2.015-.136 2.863-.09.847-.265 1.732-.524 2.654h1.67Zm7.91-4.904-.75-1.826h1.385c-.155.539-.367 1.147-.634 1.826Z",fill:"#364559",fillRule:"nonzero"}));d.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTExLjQzMiAxMS45NnYtMS41MTJINi44MXYtLjczaDIuODc1VjguODNjLjU3OC42MjcgMS4zNjMgMS4xMTMgMi4zNTYgMS40NjFWOC42MWMtLjY5LS4yNjEtMS4yLS42NTItMS41MjgtMS4xNzRoMS40NjNWNS44ODNoLTEuODI1VjIuMTM5aDEuNDYzVi42NEgxMC4xNVYwSDguNDY3di42NEgzLjU3M1YwSDEuODl2LjY0SC40Mjd2MS41SDEuODl2My43NDNILjA2NXYxLjU1MmgxLjQ2M0MxLjIgNy45NTcuNjkgOC4zNDggMCA4LjYwOXYxLjY4MmMuOTkzLS4zNDggMS43NzgtLjgzNCAyLjM1Ni0xLjQ2di44ODZoMi44NzV2LjczSC41OTZ2MS41MTRoMTAuODM2Wk04LjQ2NyAyLjUwNUgzLjU3M1YyLjAxaDQuODk0di40OTVabTAgMS44SDMuNTczdi0uNTQ3aDQuODk0di41NDdabTAgMS43NjFIMy41NzN2LS41MjJoNC44OTR2LjUyMlpNNS4yMzEgOC4yNDNIMi44MWEzLjg3IDMuODcgMCAwIDAgLjQxNC0uODA4aDUuNTkzYy4xMy4zMy4yNjguNi40MTQuODA4aC0yLjQydi0uNDk1SDUuMjN2LjQ5NVptMTkuNTYzIDMuNDk2VjYuNjI2SDIzLjI0djMuMzY1aC0xLjFWNS43MjZoMi40ODZWLjcwNGgtMS41Mjh2My4yNzRoLS45NzFWLjA2NWgtMS41OHYzLjkxM2gtLjk3Vi43MDRoLTEuNTI5djUuMDIyaDIuNDg2djQuMjY1aC0xLjFWNi42MjZIMTcuODh2NS4xMTNoNi45MTRabS03LjQ4NC0uMzkxVjQuNjA0aC0yLjAwNmMuMjI0LS43MTMuMzk3LTEuNTMuNTE3LTIuNDUyaDEuNjA2Vi40NTdIMTMuMTR2MS42OTVoLjk5N2ExMi43MSAxMi43MSAwIDAgMS0uNDYgMi4wNDEgMTMuMjEgMTMuMjEgMCAwIDEtLjc5NiAxLjkzN2guNzEzdjUuMjE4aDMuNzE1Wm0tMS40MjQtMS42M2gtLjg2N1Y2LjIzNGguODY3djMuNDgyWk0yNy41IDEyYy4yOTMtMS4zNDguNDY2LTIuNzM1LjUxOC00LjE2aDEuMDQ4VjEyaDMuMDNjLjMyLS45My41NS0xLjg3Mi42OTMtMi44MjQuMTQyLS45NTIuMjEzLTEuOTY3LjIxMy0zLjA0NnYtLjg0N2wxLjU2NyAzLjYzOUEyMy40NjUgMjMuNDY1IDAgMCAxIDMyLjY1MyAxMmgxLjk0MmMuMzM3LS41MDQuNjYtMS4wNDguOTctMS42M2wuNzUyIDEuNjNIMzhsLTEuNTgtMy40NDNjLjYzLTEuNDc5IDEuMTIzLTMuMDk2IDEuNDc2LTQuODUzaC00Ljg5NFYxLjk1N2MxLjg4Mi0uMDQ0IDMuNDYyLS4xMzUgNC43NC0uMjc0Vi4wNzhjLTEuOTA5LjE5Mi0zLjk5Ny4yODctNi4yNjcuMjg3VjYuMTNjMCAxLjA2MS0uMDY1IDIuMDAzLS4xOTUgMi44MjQtLjEzLjgyMi0uMzU4IDEuNjQyLS42ODYgMi40NTlWNi4xN2gtMi41NXYtMS4yaDIuOTEzVjMuM2gtLjY3NFYuMjZoLTEuNTAxVjMuM2gtLjczOFYuNDU3SDI2LjQ5djYuMDI2YzAgMS4wNi0uMDQ1IDIuMDE1LS4xMzYgMi44NjMtLjA5Ljg0Ny0uMjY1IDEuNzMyLS41MjQgMi42NTRoMS42N1ptNy45MS00LjkwNC0uNzUtMS44MjZoMS4zODVjLS4xNTUuNTM5LS4zNjcgMS4xNDctLjYzNCAxLjgyNloiIGZpbGw9IiMzNjQ1NTkiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvc3ZnPg=="},33156:function(i,d){"use strict";function e(r){const n={},a={channels:n,subscribe:function(s,u){return n[s]||(n[s]=[]),n[s].push(u),this.unsubscribe.bind(null,s,u)},unsubscribe:function(s,u){let c=n[s],o=-1;if(c){for(let f=0;f=0)return n[s].splice(o,1),!0}return!1},publish:function(s){if(!n[s])return!1;const u=Array.prototype.slice.call(arguments,1);return n[s].forEach(c=>{c.apply(null,u)}),this}};return r?Object.assign(r,a):a}const t=new e;d.Z=t},80679:function(i,d,e){"use strict";e.d(d,{zt:function(){return Co},$j:function(){return Vn},Ue:function(){return Si},I0:function(){return Oo},v9:function(){return Qi}});var t={};e.r(t),e.d(t,{actionChannel:function(){return wt},all:function(){return ar},apply:function(){return kr},call:function(){return Ir},cancel:function(){return Cr},cancelled:function(){return qe},cps:function(){return er},flush:function(){return Ue},fork:function(){return Nt},getContext:function(){return Le},join:function(){return Qt},put:function(){return kt},race:function(){return $t},select:function(){return Er},setContext:function(){return rt},spawn:function(){return Kt},take:function(){return Ze},takeEvery:function(){return Pe},takeLatest:function(){return $n},takem:function(){return dt},throttle:function(){return aa}});var r=e(59301),n=e(53885),a=e(59781),s=Object.assign||function(ve){for(var he=1;he=0&&ve.splice(We,1)}var j={from:function(he){var We=Array(he.length);for(var tt in he)T(he,tt)&&(We[tt]=he[tt]);return We}};function V(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},he=s({},ve),We=new Promise(function(tt,Rt){he.resolve=tt,he.reject=Rt});return he.promise=We,he}function H(ve){for(var he=[],We=0;We1&&arguments[1]!==void 0?arguments[1]:!0,We=void 0,tt=new Promise(function(Rt){We=setTimeout(function(){return Rt(he)},ve)});return tt[p]=function(){return clearTimeout(We)},tt}function F(){var ve,he=!0,We=void 0,tt=void 0;return ve={},ve[o]=!0,ve.isRunning=function(){return he},ve.result=function(){return We},ve.error=function(){return tt},ve.setRunning=function(Wt){return he=Wt},ve.setResult=function(Wt){return We=Wt},ve.setError=function(Wt){return tt=Wt},ve}function K(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++ve}}var X=K(),Q=function(he){throw he},W=function(he){return{value:he,done:!0}};function N(ve){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q,We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",tt=arguments[3],Rt={name:We,next:ve,throw:he,return:W};return tt&&(Rt[f]=!0),typeof Symbol!="undefined"&&(Rt[Symbol.iterator]=function(){return Rt}),Rt}function J(ve,he){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+ve+": "+he+` +`+(We&&We.stack||We)):console[ve](he,We)}function k(ve,he){return function(){return ve.apply(void 0,arguments)}}var Z=function(he,We){return he+" has been deprecated in favor of "+We+", please update your code"},G=function(he){return new Error(` redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug in redux-saga code and not yours. Thanks for reporting this in the project's github repo. Error: `+he+` -`)},ee=function(he,We){return(he?he+".":"")+"setContext(props): argument "+We+" is not a plain object"},ie=function(he){return function(We){return he(Object.defineProperty(We,x,{value:!0}))}},se=function ve(he){return function(){for(var We=arguments.length,tt=Array(We),Rt=0;Rt0&&arguments[0]!==void 0?arguments[0]:10,he=arguments[1],We=new Array(ve),tt=0,Rt=0,Wt=0,tr=function(ln){We[Rt]=ln,Rt=(Rt+1)%ve,tt++},Ar=function(){if(tt!=0){var ln=We[Wt];return We[Wt]=null,tt--,Wt=(Wt+1)%ve,ln}},_r=function(){for(var ln=[];tt;)ln.push(Ar());return ln};return{isEmpty:function(){return tt==0},put:function(ln){if(tt0&&arguments[0]!==void 0?arguments[0]:Ke.fixed(),he=!1,We=[];A(ve,D.buffer,fe);function tt(){if(he&&We.length)throw G("Cannot have a closed channel with pending takers");if(We.length&&!ve.isEmpty())throw G("Cannot have pending takers with non empty buffer")}function Rt(_r){if(tt(),A(_r,D.notUndef,Oe),!he){if(!We.length)return ve.put(_r);for(var Dr=0;Dr1&&arguments[1]!==void 0?arguments[1]:Ke.none(),We=arguments[2];arguments.length>2&&A(We,D.func,"Invalid match function passed to eventChannel");var tt=Ee(he),Rt=function(){tt.__closed__||(Wt&&Wt(),tt.close())},Wt=ve(function(tr){if(Me(tr)){Rt();return}We&&!We(tr)||tt.put(tr)});if(tt.__closed__&&Wt(),!D.func(Wt))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:tt.take,flush:tt.flush,close:Rt}}function mt(ve){var he=et(function(We){return ve(function(tt){if(tt[x]){We(tt);return}at(function(){return We(tt)})})});return Ie({},he,{take:function(tt,Rt){arguments.length>1&&(A(Rt,D.func,"channel.take's matcher argument must be a function"),tt[_]=Rt),he.take(tt)}})}var pe=c("IO"),ge="TAKE",lt="PUT",Qe="ALL",Ve="RACE",it="CALL",Dt="CPS",Yt="FORK",Se="JOIN",je="CANCEL",Be="SELECT",ht="ACTION_CHANNEL",At="CANCELLED",ce="FLUSH",_t="GET_CONTEXT",qt="SET_CONTEXT",Ht=` -(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,Ut=function(he,We){var tt;return tt={},tt[pe]=!0,tt[he]=We,tt},cr=function(he){return A(Lt.fork(he),D.object,"detach(eff): argument must be a fork effect"),he[Yt].detached=!0,he};function Ze(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&A(arguments[0],D.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),D.pattern(ve))return Ut(ge,{pattern:ve});if(D.channel(ve))return Ut(ge,{channel:ve});throw new Error("take(patternOrChannel): argument "+String(ve)+" is not valid channel or a valid pattern")}Ze.maybe=function(){var ve=Ze.apply(void 0,arguments);return ve[ge].maybe=!0,ve};var dt=M(Ze.maybe,Z("takem","take.maybe"));function Mt(ve,he){return arguments.length>1?(A(ve,D.notUndef,"put(channel, action): argument channel is undefined"),A(ve,D.channel,"put(channel, action): argument "+ve+" is not a valid channel"),A(he,D.notUndef,"put(channel, action): argument action is undefined")):(A(ve,D.notUndef,"put(action): argument action is undefined"),he=ve,ve=null),Ut(lt,{channel:ve,action:he})}Mt.resolve=function(){var ve=Mt.apply(void 0,arguments);return ve[lt].resolve=!0,ve},Mt.sync=M(Mt.resolve,Z("put.sync","put.resolve"));function ar(ve){return Ut(Qe,ve)}function $t(ve){return Ut(Ve,ve)}function pr(ve,he,We){A(he,D.notUndef,ve+": argument fn is undefined");var tt=null;if(D.array(he)){var Rt=he;tt=Rt[0],he=Rt[1]}else if(he.fn){var Wt=he;tt=Wt.context,he=Wt.fn}return tt&&D.string(he)&&D.func(tt[he])&&(he=tt[he]),A(he,D.func,ve+": argument "+he+" is not a function"),{context:tt,fn:he,args:We}}function Ir(ve){for(var he=arguments.length,We=Array(he>1?he-1:0),tt=1;tt2&&arguments[2]!==void 0?arguments[2]:[];return Ut(it,pr("apply",{context:ve,fn:he},We))}function er(ve){for(var he=arguments.length,We=Array(he>1?he-1:0),tt=1;tt1?he-1:0),tt=1;tt1?he-1:0),tt=1;tt1)return ar(he.map(function(Rt){return Qt(Rt)}));var tt=he[0];return A(tt,D.notUndef,"join(task): argument task is undefined"),A(tt,D.task,"join(task): argument "+tt+" is not a valid Task object "+Ht),Ut(Se,tt)}function Cr(){for(var ve=arguments.length,he=Array(ve),We=0;We1)return ar(he.map(function(Rt){return Cr(Rt)}));var tt=he[0];return he.length===1&&(A(tt,D.notUndef,"cancel(task): argument task is undefined"),A(tt,D.task,"cancel(task): argument "+tt+" is not a valid Task object "+Ht)),Ut(je,tt||g)}function Er(ve){for(var he=arguments.length,We=Array(he>1?he-1:0),tt=1;tt1&&(A(he,D.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),A(he,D.buffer,"actionChannel(pattern, buffer): argument "+he+" is not a valid buffer")),Ut(ht,{pattern:ve,buffer:he})}function qe(){return Ut(At,{})}function Ue(ve){return A(ve,D.channel,"flush(channel): argument "+ve+" is not valid channel"),Ut(ce,ve)}function Le(ve){return A(ve,D.string,"getContext(prop): argument "+ve+" is not a string"),Ut(_t,ve)}function rt(ve){return A(ve,D.object,ee(null,ve)),Ut(qt,ve)}var Tt=function(he){return function(We){return We&&We[pe]&&We[he]}},Lt={take:Tt(ge),put:Tt(lt),all:Tt(Qe),race:Tt(Ve),call:Tt(it),cps:Tt(Dt),fork:Tt(Yt),join:Tt(Se),cancel:Tt(je),select:Tt(Be),actionChannel:Tt(ht),cancelled:Tt(At),flush:Tt(ce),getContext:Tt(_t),setContext:Tt(qt)},gr=Object.assign||function(ve){for(var he=1;he1&&arguments[1]!==void 0?arguments[1]:function(){return I},We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:I,tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:I,Rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Wt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},tr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,Ar=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",_r=arguments[8];A(ve,D.iterator,bn);var Dr="[...effects]",ln=M(So,Z(Dr,"all("+Dr+")")),hn=Wt.sagaMonitor,Rn=Wt.logger,In=Wt.onError,da=Rn||J,Kn=function(lr){var Br=lr.sagaStack;!Br&&lr.stack&&(Br=lr.stack.split(` +`)},ee=function(he,We){return(he?he+".":"")+"setContext(props): argument "+We+" is not a plain object"},ie=function(he){return function(We){return he(Object.defineProperty(We,x,{value:!0}))}},se=function ve(he){return function(){for(var We=arguments.length,tt=Array(We),Rt=0;Rt0&&arguments[0]!==void 0?arguments[0]:10,he=arguments[1],We=new Array(ve),tt=0,Rt=0,Wt=0,tr=function(ln){We[Rt]=ln,Rt=(Rt+1)%ve,tt++},Ar=function(){if(tt!=0){var ln=We[Wt];return We[Wt]=null,tt--,Wt=(Wt+1)%ve,ln}},_r=function(){for(var ln=[];tt;)ln.push(Ar());return ln};return{isEmpty:function(){return tt==0},put:function(ln){if(tt0&&arguments[0]!==void 0?arguments[0]:Ke.fixed(),he=!1,We=[];A(ve,D.buffer,fe);function tt(){if(he&&We.length)throw G("Cannot have a closed channel with pending takers");if(We.length&&!ve.isEmpty())throw G("Cannot have pending takers with non empty buffer")}function Rt(_r){if(tt(),A(_r,D.notUndef,Oe),!he){if(!We.length)return ve.put(_r);for(var Dr=0;Dr1&&arguments[1]!==void 0?arguments[1]:Ke.none(),We=arguments[2];arguments.length>2&&A(We,D.func,"Invalid match function passed to eventChannel");var tt=Ee(he),Rt=function(){tt.__closed__||(Wt&&Wt(),tt.close())},Wt=ve(function(tr){if(ke(tr)){Rt();return}We&&!We(tr)||tt.put(tr)});if(tt.__closed__&&Wt(),!D.func(Wt))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:tt.take,flush:tt.flush,close:Rt}}function mt(ve){var he=et(function(We){return ve(function(tt){if(tt[x]){We(tt);return}at(function(){return We(tt)})})});return Ie({},he,{take:function(tt,Rt){arguments.length>1&&(A(Rt,D.func,"channel.take's matcher argument must be a function"),tt[_]=Rt),he.take(tt)}})}var pe=c("IO"),ge="TAKE",lt="PUT",Qe="ALL",Ve="RACE",it="CALL",Dt="CPS",Yt="FORK",Se="JOIN",je="CANCEL",Be="SELECT",ht="ACTION_CHANNEL",At="CANCELLED",ce="FLUSH",_t="GET_CONTEXT",qt="SET_CONTEXT",Ht=` +(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,Ut=function(he,We){var tt;return tt={},tt[pe]=!0,tt[he]=We,tt},cr=function(he){return A(Lt.fork(he),D.object,"detach(eff): argument must be a fork effect"),he[Yt].detached=!0,he};function Ze(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&A(arguments[0],D.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),D.pattern(ve))return Ut(ge,{pattern:ve});if(D.channel(ve))return Ut(ge,{channel:ve});throw new Error("take(patternOrChannel): argument "+String(ve)+" is not valid channel or a valid pattern")}Ze.maybe=function(){var ve=Ze.apply(void 0,arguments);return ve[ge].maybe=!0,ve};var dt=k(Ze.maybe,Z("takem","take.maybe"));function kt(ve,he){return arguments.length>1?(A(ve,D.notUndef,"put(channel, action): argument channel is undefined"),A(ve,D.channel,"put(channel, action): argument "+ve+" is not a valid channel"),A(he,D.notUndef,"put(channel, action): argument action is undefined")):(A(ve,D.notUndef,"put(action): argument action is undefined"),he=ve,ve=null),Ut(lt,{channel:ve,action:he})}kt.resolve=function(){var ve=kt.apply(void 0,arguments);return ve[lt].resolve=!0,ve},kt.sync=k(kt.resolve,Z("put.sync","put.resolve"));function ar(ve){return Ut(Qe,ve)}function $t(ve){return Ut(Ve,ve)}function pr(ve,he,We){A(he,D.notUndef,ve+": argument fn is undefined");var tt=null;if(D.array(he)){var Rt=he;tt=Rt[0],he=Rt[1]}else if(he.fn){var Wt=he;tt=Wt.context,he=Wt.fn}return tt&&D.string(he)&&D.func(tt[he])&&(he=tt[he]),A(he,D.func,ve+": argument "+he+" is not a function"),{context:tt,fn:he,args:We}}function Ir(ve){for(var he=arguments.length,We=Array(he>1?he-1:0),tt=1;tt2&&arguments[2]!==void 0?arguments[2]:[];return Ut(it,pr("apply",{context:ve,fn:he},We))}function er(ve){for(var he=arguments.length,We=Array(he>1?he-1:0),tt=1;tt1?he-1:0),tt=1;tt1?he-1:0),tt=1;tt1)return ar(he.map(function(Rt){return Qt(Rt)}));var tt=he[0];return A(tt,D.notUndef,"join(task): argument task is undefined"),A(tt,D.task,"join(task): argument "+tt+" is not a valid Task object "+Ht),Ut(Se,tt)}function Cr(){for(var ve=arguments.length,he=Array(ve),We=0;We1)return ar(he.map(function(Rt){return Cr(Rt)}));var tt=he[0];return he.length===1&&(A(tt,D.notUndef,"cancel(task): argument task is undefined"),A(tt,D.task,"cancel(task): argument "+tt+" is not a valid Task object "+Ht)),Ut(je,tt||g)}function Er(ve){for(var he=arguments.length,We=Array(he>1?he-1:0),tt=1;tt1&&(A(he,D.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),A(he,D.buffer,"actionChannel(pattern, buffer): argument "+he+" is not a valid buffer")),Ut(ht,{pattern:ve,buffer:he})}function qe(){return Ut(At,{})}function Ue(ve){return A(ve,D.channel,"flush(channel): argument "+ve+" is not valid channel"),Ut(ce,ve)}function Le(ve){return A(ve,D.string,"getContext(prop): argument "+ve+" is not a string"),Ut(_t,ve)}function rt(ve){return A(ve,D.object,ee(null,ve)),Ut(qt,ve)}var Tt=function(he){return function(We){return We&&We[pe]&&We[he]}},Lt={take:Tt(ge),put:Tt(lt),all:Tt(Qe),race:Tt(Ve),call:Tt(it),cps:Tt(Dt),fork:Tt(Yt),join:Tt(Se),cancel:Tt(je),select:Tt(Be),actionChannel:Tt(ht),cancelled:Tt(At),flush:Tt(ce),getContext:Tt(_t),setContext:Tt(qt)},gr=Object.assign||function(ve){for(var he=1;he1&&arguments[1]!==void 0?arguments[1]:function(){return I},We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:I,tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:I,Rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Wt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},tr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,Ar=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",_r=arguments[8];A(ve,D.iterator,bn);var Dr="[...effects]",ln=k(So,Z(Dr,"all("+Dr+")")),hn=Wt.sagaMonitor,Rn=Wt.logger,In=Wt.onError,da=Rn||J,Kn=function(lr){var Br=lr.sagaStack;!Br&&lr.stack&&(Br=lr.stack.split(` `)[0].indexOf(lr.message)!==-1?lr.stack:"Error: "+lr.message+` -`+lr.stack),da("error","uncaught at "+Ar,Br||lr.message||lr)},kn=mt(he),Oa=Object.create(Rt);$a.cancel=I;var Ln=fr(tr,Ar,ve,_r),An={name:Ar,cancel:Zo,isRunning:!0},Ia=Ne(Ar,An,ua);function Zo(){An.isRunning&&!An.isCancelled&&(An.isCancelled=!0,$a(_n))}function pa(){ve._isRunning&&!ve._isCancelled&&(ve._isCancelled=!0,Ia.cancelAll(),ua(_n))}return _r&&(_r.cancel=pa),ve._isRunning=!0,$a(),Ln;function $a(kt,lr){if(!An.isRunning)throw new Error("Trying to resume an already finished generator");try{var Br=void 0;lr?Br=ve.throw(kt):kt===_n?(An.isCancelled=!0,$a.cancel(),Br=D.func(ve.return)?ve.return(_n):{done:!0,value:_n}):kt===sr?Br=D.func(ve.return)?ve.return():{done:!0}:Br=ve.next(kt),Br.done?(An.isMainRunning=!1,An.cont&&An.cont(Br.value)):ao(Br.value,tr,"",$a)}catch(fn){An.isCancelled&&Kn(fn),An.isMainRunning=!1,An.cont(fn,!0)}}function ua(kt,lr){ve._isRunning=!1,kn.close(),lr?(kt instanceof Error&&Object.defineProperty(kt,"sagaStack",{value:"at "+Ar+` - `+(kt.sagaStack||kt.stack),configurable:!0}),Ln.cont||(kt instanceof Error&&In?In(kt):Kn(kt)),ve._error=kt,ve._isAborted=!0,ve._deferredEnd&&ve._deferredEnd.reject(kt)):(ve._result=kt,ve._deferredEnd&&ve._deferredEnd.resolve(kt)),Ln.cont&&Ln.cont(kt,lr),Ln.joiners.forEach(function(Br){return Br.cb(kt,lr)}),Ln.joiners=null}function ao(kt,lr){var Br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",fn=arguments[3],Wn=X();hn&&hn.effectTriggered({effectId:Wn,parentEffectId:lr,label:Br,effect:kt});var zr=void 0;function Jr(Dn,ro){zr||(zr=!0,fn.cancel=I,hn&&(ro?hn.effectRejected(Wn,Dn):hn.effectResolved(Wn,Dn)),fn(Dn,ro))}Jr.cancel=I,fn.cancel=function(){if(!zr){zr=!0;try{Jr.cancel()}catch(Dn){Kn(Dn)}Jr.cancel=I,hn&&hn.effectCancelled(Wn)}};var $r=void 0;return D.promise(kt)?Hn(kt,Jr):D.helper(kt)?go(pn(kt),Wn,Jr):D.iterator(kt)?Ba(kt,Wn,Ar,Jr):D.array(kt)?ln(kt,Wn,Jr):($r=Lt.take(kt))?oo($r,Jr):($r=Lt.put(kt))?po($r,Jr):($r=Lt.all(kt))?So($r,Wn,Jr):($r=Lt.race(kt))?Aa($r,Wn,Jr):($r=Lt.call(kt))?Go($r,Wn,Jr):($r=Lt.cps(kt))?io($r,Jr):($r=Lt.fork(kt))?go($r,Wn,Jr):($r=Lt.join(kt))?Vo($r,Jr):($r=Lt.cancel(kt))?Ho($r,Jr):($r=Lt.select(kt))?qa($r,Jr):($r=Lt.actionChannel(kt))?Io($r,Jr):($r=Lt.flush(kt))?_e($r,Jr):($r=Lt.cancelled(kt))?Da($r,Jr):($r=Lt.getContext(kt))?$($r,Jr):($r=Lt.setContext(kt))?Ft($r,Jr):Jr(kt)}function Hn(kt,lr){var Br=kt[p];D.func(Br)?lr.cancel=Br:D.func(kt.abort)&&(lr.cancel=function(){return kt.abort()}),kt.then(lr,function(fn){return lr(fn,!0)})}function Ba(kt,lr,Br,fn){ha(kt,he,We,tt,Oa,Wt,lr,Br,fn)}function oo(kt,lr){var Br=kt.channel,fn=kt.pattern,Wn=kt.maybe;Br=Br||kn;var zr=function($r){return $r instanceof Error?lr($r,!0):Me($r)&&!Wn?lr(sr):lr($r)};try{Br.take(zr,Fe(fn))}catch(Jr){return lr(Jr,!0)}lr.cancel=zr.cancel}function po(kt,lr){var Br=kt.channel,fn=kt.action,Wn=kt.resolve;at(function(){var zr=void 0;try{zr=(Br?Br.put:We)(fn)}catch(Jr){if(Br||Wn)return lr(Jr,!0);Kn(Jr)}if(Wn&&D.promise(zr))Hn(zr,lr);else return lr(zr)})}function Go(kt,lr,Br){var fn=kt.context,Wn=kt.fn,zr=kt.args,Jr=void 0;try{Jr=Wn.apply(fn,zr)}catch($r){return Br($r,!0)}return D.promise(Jr)?Hn(Jr,Br):D.iterator(Jr)?Ba(Jr,lr,Wn.name,Br):Br(Jr)}function io(kt,lr){var Br=kt.context,fn=kt.fn,Wn=kt.args;try{var zr=function($r,Dn){return D.undef($r)?lr(Dn):lr($r,!0)};fn.apply(Br,Wn.concat(zr)),zr.cancel&&(lr.cancel=function(){return zr.cancel()})}catch(Jr){return lr(Jr,!0)}}function go(kt,lr,Br){var fn=kt.context,Wn=kt.fn,zr=kt.args,Jr=kt.detached,$r=en({context:fn,fn:Wn,args:zr});try{ct();var Dn=ha($r,he,We,tt,Oa,Wt,lr,Wn.name,Jr?null:I);Jr?Br(Dn):$r._isRunning?(Ia.addTask(Dn),Br(Dn)):$r._error?Ia.abort($r._error):Br(Dn)}finally{bt()}}function Vo(kt,lr){if(kt.isRunning()){var Br={task:Ln,cb:lr};lr.cancel=function(){return B(kt.joiners,Br)},kt.joiners.push(Br)}else kt.isAborted()?lr(kt.error(),!0):lr(kt.result())}function Ho(kt,lr){kt===g&&(kt=Ln),kt.isRunning()&&kt.cancel(),lr()}function So(kt,lr,Br){var fn=Object.keys(kt);if(!fn.length)return Br(D.array(kt)?[]:{});var Wn=0,zr=void 0,Jr={},$r={};function Dn(){Wn===fn.length&&(zr=!0,Br(D.array(kt)?j.from(gr({},Jr,{length:fn.length})):Jr))}fn.forEach(function(ro){var ii=function(Ui,Zu){zr||(Zu||Me(Ui)||Ui===sr||Ui===_n?(Br.cancel(),Br(Ui,Zu)):(Jr[ro]=Ui,Wn++,Dn()))};ii.cancel=I,$r[ro]=ii}),Br.cancel=function(){zr||(zr=!0,fn.forEach(function(ro){return $r[ro].cancel()}))},fn.forEach(function(ro){return ao(kt[ro],lr,ro,$r[ro])})}function Aa(kt,lr,Br){var fn=void 0,Wn=Object.keys(kt),zr={};Wn.forEach(function(Jr){var $r=function(ro,ii){if(!fn){if(ii)Br.cancel(),Br(ro,!0);else if(!Me(ro)&&ro!==sr&&ro!==_n){var ti;Br.cancel(),fn=!0;var Ui=(ti={},ti[Jr]=ro,ti);Br(D.array(kt)?[].slice.call(gr({},Ui,{length:Wn.length})):Ui)}}};$r.cancel=I,zr[Jr]=$r}),Br.cancel=function(){fn||(fn=!0,Wn.forEach(function(Jr){return zr[Jr].cancel()}))},Wn.forEach(function(Jr){fn||ao(kt[Jr],lr,Jr,zr[Jr])})}function qa(kt,lr){var Br=kt.selector,fn=kt.args;try{var Wn=Br.apply(void 0,[tt()].concat(fn));lr(Wn)}catch(zr){lr(zr,!0)}}function Io(kt,lr){var Br=kt.pattern,fn=kt.buffer,Wn=Fe(Br);Wn.pattern=Br,lr(et(he,fn||Ke.fixed(),Wn))}function Da(kt,lr){lr(!!An.isCancelled)}function _e(kt,lr){kt.flush(lr)}function $(kt,lr){lr(Oa[kt])}function Ft(kt,lr){k.assign(Oa,kt),lr()}function fr(kt,lr,Br,fn){var Wn,zr,Jr;return Br._deferredEnd=null,zr={},zr[o]=!0,zr.id=kt,zr.name=lr,Wn="done",Jr={},Jr[Wn]=Jr[Wn]||{},Jr[Wn].get=function(){if(Br._deferredEnd)return Br._deferredEnd.promise;var $r=V();return Br._deferredEnd=$r,Br._isRunning||(Br._error?$r.reject(Br._error):$r.resolve(Br._result)),$r.promise},zr.cont=fn,zr.joiners=[],zr.cancel=pa,zr.isRunning=function(){return Br._isRunning},zr.isCancelled=function(){return Br._isCancelled},zr.isAborted=function(){return Br._isAborted},zr.result=function(){return Br._result},zr.error=function(){return Br._error},zr.setContext=function(Dn){A(Dn,D.object,ee("task",Dn)),k.assign(Oa,Dn)},Ur(zr,Jr),zr}}var ma="runSaga(storeInterface, saga, ...args)",On=ma+": saga argument must be a Generator function!";function za(ve,he){for(var We=arguments.length,tt=Array(We>2?We-2:0),Rt=2;Rt=0||Object.prototype.hasOwnProperty.call(ve,tt)&&(We[tt]=ve[tt]);return We}function gn(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},he=ve.context,We=he===void 0?{}:he,tt=ja(ve,["context"]),Rt=tt.sagaMonitor,Wt=tt.logger,tr=tt.onError;if(D.func(tt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Wt&&!D.func(Wt))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(tr&&!D.func(tr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(tt.emitter&&!D.func(tt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function Ar(_r){var Dr=_r.getState,ln=_r.dispatch,hn=ye();return hn.emit=(tt.emitter||E)(hn.emit),Ar.run=za.bind(null,{context:We,subscribe:hn.subscribe,dispatch:ln,getState:Dr,sagaMonitor:Rt,logger:Wt,onError:tr}),function(Rn){return function(In){Rt&&Rt.actionDispatched&&Rt.actionDispatched(In);var da=Rn(In);return hn.emit(In),da}}}return Ar.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},Ar.setContext=function(_r){A(_r,D.object,ee("sagaMiddleware",_r)),k.assign(We,_r)},Ar}var Va={done:!0,value:void 0},va={};function _o(ve){return D.channel(ve)?"channel":Array.isArray(ve)?String(ve.map(function(he){return String(he)})):String(ve)}function no(ve,he){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",tt=void 0,Rt=he;function Wt(tr,Ar){if(Rt===va)return Va;if(Ar)throw Rt=va,Ar;tt&&tt(tr);var _r=ve[Rt](),Dr=_r[0],ln=_r[1],hn=_r[2];return Rt=Dr,tt=hn,Rt===va?Va:ln}return N(Wt,function(tr){return Wt(null,tr)},We,!0)}function Ja(ve,he){for(var We=arguments.length,tt=Array(We>2?We-2:0),Rt=2;Rt2?We-2:0),Rt=2;Rt3?tt-3:0),Wt=3;Wt2&&arguments[2]!==void 0?arguments[2]:"",fn=arguments[3],Wn=X();hn&&hn.effectTriggered({effectId:Wn,parentEffectId:lr,label:Br,effect:Mt});var zr=void 0;function Jr(Dn,ro){zr||(zr=!0,fn.cancel=I,hn&&(ro?hn.effectRejected(Wn,Dn):hn.effectResolved(Wn,Dn)),fn(Dn,ro))}Jr.cancel=I,fn.cancel=function(){if(!zr){zr=!0;try{Jr.cancel()}catch(Dn){Kn(Dn)}Jr.cancel=I,hn&&hn.effectCancelled(Wn)}};var $r=void 0;return D.promise(Mt)?Hn(Mt,Jr):D.helper(Mt)?go(pn(Mt),Wn,Jr):D.iterator(Mt)?Ba(Mt,Wn,Ar,Jr):D.array(Mt)?ln(Mt,Wn,Jr):($r=Lt.take(Mt))?oo($r,Jr):($r=Lt.put(Mt))?po($r,Jr):($r=Lt.all(Mt))?So($r,Wn,Jr):($r=Lt.race(Mt))?Aa($r,Wn,Jr):($r=Lt.call(Mt))?Go($r,Wn,Jr):($r=Lt.cps(Mt))?io($r,Jr):($r=Lt.fork(Mt))?go($r,Wn,Jr):($r=Lt.join(Mt))?Vo($r,Jr):($r=Lt.cancel(Mt))?Ho($r,Jr):($r=Lt.select(Mt))?qa($r,Jr):($r=Lt.actionChannel(Mt))?Io($r,Jr):($r=Lt.flush(Mt))?_e($r,Jr):($r=Lt.cancelled(Mt))?Da($r,Jr):($r=Lt.getContext(Mt))?$($r,Jr):($r=Lt.setContext(Mt))?Ft($r,Jr):Jr(Mt)}function Hn(Mt,lr){var Br=Mt[p];D.func(Br)?lr.cancel=Br:D.func(Mt.abort)&&(lr.cancel=function(){return Mt.abort()}),Mt.then(lr,function(fn){return lr(fn,!0)})}function Ba(Mt,lr,Br,fn){ha(Mt,he,We,tt,Oa,Wt,lr,Br,fn)}function oo(Mt,lr){var Br=Mt.channel,fn=Mt.pattern,Wn=Mt.maybe;Br=Br||Mn;var zr=function($r){return $r instanceof Error?lr($r,!0):ke($r)&&!Wn?lr(sr):lr($r)};try{Br.take(zr,Fe(fn))}catch(Jr){return lr(Jr,!0)}lr.cancel=zr.cancel}function po(Mt,lr){var Br=Mt.channel,fn=Mt.action,Wn=Mt.resolve;at(function(){var zr=void 0;try{zr=(Br?Br.put:We)(fn)}catch(Jr){if(Br||Wn)return lr(Jr,!0);Kn(Jr)}if(Wn&&D.promise(zr))Hn(zr,lr);else return lr(zr)})}function Go(Mt,lr,Br){var fn=Mt.context,Wn=Mt.fn,zr=Mt.args,Jr=void 0;try{Jr=Wn.apply(fn,zr)}catch($r){return Br($r,!0)}return D.promise(Jr)?Hn(Jr,Br):D.iterator(Jr)?Ba(Jr,lr,Wn.name,Br):Br(Jr)}function io(Mt,lr){var Br=Mt.context,fn=Mt.fn,Wn=Mt.args;try{var zr=function($r,Dn){return D.undef($r)?lr(Dn):lr($r,!0)};fn.apply(Br,Wn.concat(zr)),zr.cancel&&(lr.cancel=function(){return zr.cancel()})}catch(Jr){return lr(Jr,!0)}}function go(Mt,lr,Br){var fn=Mt.context,Wn=Mt.fn,zr=Mt.args,Jr=Mt.detached,$r=en({context:fn,fn:Wn,args:zr});try{ct();var Dn=ha($r,he,We,tt,Oa,Wt,lr,Wn.name,Jr?null:I);Jr?Br(Dn):$r._isRunning?(Ia.addTask(Dn),Br(Dn)):$r._error?Ia.abort($r._error):Br(Dn)}finally{bt()}}function Vo(Mt,lr){if(Mt.isRunning()){var Br={task:Ln,cb:lr};lr.cancel=function(){return B(Mt.joiners,Br)},Mt.joiners.push(Br)}else Mt.isAborted()?lr(Mt.error(),!0):lr(Mt.result())}function Ho(Mt,lr){Mt===g&&(Mt=Ln),Mt.isRunning()&&Mt.cancel(),lr()}function So(Mt,lr,Br){var fn=Object.keys(Mt);if(!fn.length)return Br(D.array(Mt)?[]:{});var Wn=0,zr=void 0,Jr={},$r={};function Dn(){Wn===fn.length&&(zr=!0,Br(D.array(Mt)?j.from(gr({},Jr,{length:fn.length})):Jr))}fn.forEach(function(ro){var ii=function(Ui,Zu){zr||(Zu||ke(Ui)||Ui===sr||Ui===_n?(Br.cancel(),Br(Ui,Zu)):(Jr[ro]=Ui,Wn++,Dn()))};ii.cancel=I,$r[ro]=ii}),Br.cancel=function(){zr||(zr=!0,fn.forEach(function(ro){return $r[ro].cancel()}))},fn.forEach(function(ro){return ao(Mt[ro],lr,ro,$r[ro])})}function Aa(Mt,lr,Br){var fn=void 0,Wn=Object.keys(Mt),zr={};Wn.forEach(function(Jr){var $r=function(ro,ii){if(!fn){if(ii)Br.cancel(),Br(ro,!0);else if(!ke(ro)&&ro!==sr&&ro!==_n){var ti;Br.cancel(),fn=!0;var Ui=(ti={},ti[Jr]=ro,ti);Br(D.array(Mt)?[].slice.call(gr({},Ui,{length:Wn.length})):Ui)}}};$r.cancel=I,zr[Jr]=$r}),Br.cancel=function(){fn||(fn=!0,Wn.forEach(function(Jr){return zr[Jr].cancel()}))},Wn.forEach(function(Jr){fn||ao(Mt[Jr],lr,Jr,zr[Jr])})}function qa(Mt,lr){var Br=Mt.selector,fn=Mt.args;try{var Wn=Br.apply(void 0,[tt()].concat(fn));lr(Wn)}catch(zr){lr(zr,!0)}}function Io(Mt,lr){var Br=Mt.pattern,fn=Mt.buffer,Wn=Fe(Br);Wn.pattern=Br,lr(et(he,fn||Ke.fixed(),Wn))}function Da(Mt,lr){lr(!!An.isCancelled)}function _e(Mt,lr){Mt.flush(lr)}function $(Mt,lr){lr(Oa[Mt])}function Ft(Mt,lr){M.assign(Oa,Mt),lr()}function fr(Mt,lr,Br,fn){var Wn,zr,Jr;return Br._deferredEnd=null,zr={},zr[o]=!0,zr.id=Mt,zr.name=lr,Wn="done",Jr={},Jr[Wn]=Jr[Wn]||{},Jr[Wn].get=function(){if(Br._deferredEnd)return Br._deferredEnd.promise;var $r=V();return Br._deferredEnd=$r,Br._isRunning||(Br._error?$r.reject(Br._error):$r.resolve(Br._result)),$r.promise},zr.cont=fn,zr.joiners=[],zr.cancel=pa,zr.isRunning=function(){return Br._isRunning},zr.isCancelled=function(){return Br._isCancelled},zr.isAborted=function(){return Br._isAborted},zr.result=function(){return Br._result},zr.error=function(){return Br._error},zr.setContext=function(Dn){A(Dn,D.object,ee("task",Dn)),M.assign(Oa,Dn)},Ur(zr,Jr),zr}}var ma="runSaga(storeInterface, saga, ...args)",On=ma+": saga argument must be a Generator function!";function za(ve,he){for(var We=arguments.length,tt=Array(We>2?We-2:0),Rt=2;Rt=0||Object.prototype.hasOwnProperty.call(ve,tt)&&(We[tt]=ve[tt]);return We}function gn(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},he=ve.context,We=he===void 0?{}:he,tt=ja(ve,["context"]),Rt=tt.sagaMonitor,Wt=tt.logger,tr=tt.onError;if(D.func(tt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Wt&&!D.func(Wt))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(tr&&!D.func(tr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(tt.emitter&&!D.func(tt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function Ar(_r){var Dr=_r.getState,ln=_r.dispatch,hn=ye();return hn.emit=(tt.emitter||E)(hn.emit),Ar.run=za.bind(null,{context:We,subscribe:hn.subscribe,dispatch:ln,getState:Dr,sagaMonitor:Rt,logger:Wt,onError:tr}),function(Rn){return function(In){Rt&&Rt.actionDispatched&&Rt.actionDispatched(In);var da=Rn(In);return hn.emit(In),da}}}return Ar.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},Ar.setContext=function(_r){A(_r,D.object,ee("sagaMiddleware",_r)),M.assign(We,_r)},Ar}var Va={done:!0,value:void 0},va={};function _o(ve){return D.channel(ve)?"channel":Array.isArray(ve)?String(ve.map(function(he){return String(he)})):String(ve)}function no(ve,he){var We=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",tt=void 0,Rt=he;function Wt(tr,Ar){if(Rt===va)return Va;if(Ar)throw Rt=va,Ar;tt&&tt(tr);var _r=ve[Rt](),Dr=_r[0],ln=_r[1],hn=_r[2];return Rt=Dr,tt=hn,Rt===va?Va:ln}return N(Wt,function(tr){return Wt(null,tr)},We,!0)}function Ja(ve,he){for(var We=arguments.length,tt=Array(We>2?We-2:0),Rt=2;Rt2?We-2:0),Rt=2;Rt3?tt-3:0),Wt=3;Wt2?We-2:0),Rt=2;Rt2?We-2:0),Rt=2;Rt3?tt-3:0),Wt=3;Wt-1&&(he[We]=ve[We]),he},{})}var un=function(){function ve(){(0,Pr.Z)(this,ve),this._handleActions=null,this.hooks=an.reduce(function(he,We){return he[We]=[],he},{})}return(0,Rr.Z)(ve,[{key:"use",value:function(We){Wa()(xe()(We),"plugin.use: plugin should be plain object");var tt=this.hooks;for(var Rt in We)Object.prototype.hasOwnProperty.call(We,Rt)&&(Wa()(tt[Rt],"plugin.use: unknown plugin property: ".concat(Rt)),Rt==="_handleActions"?this._handleActions=We[Rt]:Rt==="extraEnhancers"?tt[Rt]=We[Rt]:tt[Rt].push(We[Rt]))}},{key:"apply",value:function(We,tt){var Rt=this.hooks,Wt=["onError","onHmr"];Wa()(Wt.indexOf(We)>-1,"plugin.apply: hook ".concat(We," cannot be applied"));var tr=Rt[We];return function(){if(tr.length){var Ar=!0,_r=!1,Dr=void 0;try{for(var ln=tr[Symbol.iterator](),hn;!(Ar=(hn=ln.next()).done);Ar=!0){var Rn=hn.value;Rn.apply(void 0,arguments)}}catch(In){_r=!0,Dr=In}finally{try{!Ar&&ln.return!=null&&ln.return()}finally{if(_r)throw Dr}}}else tt&&tt.apply(void 0,arguments)}}},{key:"get",value:function(We){var tt=this.hooks;return Wa()(We in tt,"plugin.get: hook ".concat(We," cannot be got")),We==="extraReducers"?tn(tt[We]):We==="onReducer"?vr(tt[We]):tt[We]}}]),ve}();function tn(ve){var he={},We=!0,tt=!1,Rt=void 0;try{for(var Wt=ve[Symbol.iterator](),tr;!(We=(tr=Wt.next()).done);We=!0){var Ar=tr.value;he=(0,n.Z)({},he,Ar)}}catch(_r){tt=!0,Rt=_r}finally{try{!We&&Wt.return!=null&&Wt.return()}finally{if(tt)throw Rt}}return he}function vr(ve){return function(he){var We=!0,tt=!1,Rt=void 0;try{for(var Wt=ve[Symbol.iterator](),tr;!(We=(tr=Wt.next()).done);We=!0){var Ar=tr.value;he=Ar(he)}}catch(_r){tt=!0,Rt=_r}finally{try{!We&&Wt.return!=null&&Wt.return()}finally{if(tt)throw Rt}}return he}}function mn(ve){var he=ve.reducers,We=ve.initialState,tt=ve.plugin,Rt=ve.sagaMiddleware,Wt=ve.promiseMiddleware,tr=ve.createOpts.setupMiddlewares,Ar=tr===void 0?Ye:tr,_r=tt.get("extraEnhancers");Wa()(be(_r),"[app.start] extraEnhancers should be array, but got ".concat((0,Ha.Z)(_r)));var Dr=tt.get("onAction"),ln=Ar([Wt,Rt].concat((0,Xe.Z)(Gr()(Dr)))),hn=a.qC,Rn=[a.md.apply(void 0,(0,Xe.Z)(ln))].concat((0,Xe.Z)(_r));return(0,a.MT)(he,We,hn.apply(void 0,(0,Xe.Z)(Rn)))}function Wr(ve,he){var We="".concat(he.namespace).concat(xr).concat(ve),tt=We.replace(/\/@@[^/]+?$/,""),Rt=Array.isArray(he.reducers)?he.reducers[0][tt]:he.reducers&&he.reducers[tt];return Rt||he.effects&&he.effects[tt]?We:ve}function Sn(ve,he,We,tt){var Rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return nt().mark(function Wt(){var tr;return nt().wrap(function(_r){for(;;)switch(_r.prev=_r.next){case 0:_r.t0=nt().keys(ve);case 1:if((_r.t1=_r.t0()).done){_r.next=7;break}if(tr=_r.t1.value,!Object.prototype.hasOwnProperty.call(ve,tr)){_r.next=5;break}return _r.delegateYield(nt().mark(function Dr(){var ln,hn;return nt().wrap(function(In){for(;;)switch(In.prev=In.next){case 0:return ln=jn(tr,ve[tr],he,We,tt,Rt),In.next=3,Nt(ln);case 3:return hn=In.sent,In.next=6,Nt(nt().mark(function da(){return nt().wrap(function(kn){for(;;)switch(kn.prev=kn.next){case 0:return kn.next=2,Ze("".concat(he.namespace,"/@@CANCEL_EFFECTS"));case 2:return kn.next=4,Cr(hn);case 4:case"end":return kn.stop()}},da)}));case 6:case"end":return In.stop()}},Dr)})(),"t2",5);case 5:_r.next=1;break;case 7:case"end":return _r.stop()}},Wt)})}function jn(ve,he,We,tt,Rt,Wt){var tr=nt().mark(da),Ar=he,_r="takeEvery",Dr,ln;if(Array.isArray(he)){var hn=(0,kr.Z)(he,1);Ar=hn[0];var Rn=he[1];Rn&&Rn.type&&(_r=Rn.type,_r==="throttle"&&(Wa()(Rn.ms,"app.start: opts.ms should be defined if type is throttle"),Dr=Rn.ms),_r==="poll"&&(Wa()(Rn.delay,"app.start: opts.delay should be defined if type is poll"),ln=Rn.delay)),Wa()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(_r)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function In(){}function da(){var kn,Oa,Ln,An,Ia,Zo,pa,$a,ua,ao=arguments;return nt().wrap(function(Ba){for(;;)switch(Ba.prev=Ba.next){case 0:for(kn=ao.length,Oa=new Array(kn),Ln=0;Ln0?Oa[0]:{},Ia=An.__dva_resolve,Zo=Ia===void 0?In:Ia,pa=An.__dva_reject,$a=pa===void 0?In:pa,Ba.prev=2,Ba.next=5,Mt({type:"".concat(ve).concat(xr,"@@start")});case 5:return Ba.next=7,Ar.apply(void 0,(0,Xe.Z)(Oa.concat(wn(We,Wt))));case 7:return ua=Ba.sent,Ba.next=10,Mt({type:"".concat(ve).concat(xr,"@@end")});case 10:Zo(ua),Ba.next=17;break;case 13:Ba.prev=13,Ba.t0=Ba.catch(2),tt(Ba.t0,{key:ve,effectArgs:Oa}),Ba.t0._dontReject||$a(Ba.t0);case 17:case"end":return Ba.stop()}},tr,null,[[2,13]])}var Kn=Ea(Rt,da,We,ve);switch(_r){case"watcher":return da;case"takeLatest":return nt().mark(function kn(){return nt().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:return Ln.next=2,$n(ve,Kn);case 2:case"end":return Ln.stop()}},kn)});case"throttle":return nt().mark(function kn(){return nt().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:return Ln.next=2,aa(Dr,ve,Kn);case 2:case"end":return Ln.stop()}},kn)});case"poll":return nt().mark(function kn(){var Oa,Ln,An,Ia,Zo,pa,$a;return nt().wrap(function(ao){for(;;)switch(ao.prev=ao.next){case 0:An=function(Ba,oo){var po;return nt().wrap(function(io){for(;;)switch(io.prev=io.next){case 0:po=Ba.call;case 1:return io.next=4,po(Kn,oo);case 4:return io.next=6,po(Ln,ln);case 6:io.next=1;break;case 8:case"end":return io.stop()}},Oa)},Ln=function(Ba){return new Promise(function(oo){return setTimeout(oo,Ba)})},Oa=nt().mark(An),Ia=Ir,Zo=Ze,pa=$t;case 4:return ao.next=7,Zo("".concat(ve,"-start"));case 7:return $a=ao.sent,ao.next=10,pa([Ia(An,t,$a),Zo("".concat(ve,"-stop"))]);case 10:ao.next=4;break;case 12:case"end":return ao.stop()}},kn)});default:return nt().mark(function kn(){return nt().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:return Ln.next=2,Pe(ve,Kn);case 2:case"end":return Ln.stop()}},kn)})}}function wn(ve,he){function We(tr,Ar){Wa()(tr,"dispatch: action should be a plain Object with type");var _r=he.namespacePrefixWarning,Dr=_r===void 0?!0:_r;Dr&&Jt()(tr.indexOf("".concat(ve.namespace).concat(xr))!==0,"[".concat(Ar,"] ").concat(tr," should not be prefixed with namespace ").concat(ve.namespace))}function tt(tr){var Ar=tr.type;return We(Ar,"sagaEffects.put"),Mt((0,n.Z)({},tr,{type:Wr(Ar,ve)}))}function Rt(tr){var Ar=tr.type;return We(Ar,"sagaEffects.put.resolve"),Mt.resolve((0,n.Z)({},tr,{type:Wr(Ar,ve)}))}tt.resolve=Rt;function Wt(tr){return typeof tr=="string"?(We(tr,"sagaEffects.take"),Ze(Wr(tr,ve))):Array.isArray(tr)?Ze(tr.map(function(Ar){return typeof Ar=="string"?(We(Ar,"sagaEffects.take"),Wr(Ar,ve)):Ar})):Ze(tr)}return(0,n.Z)({},t,{put:tt,take:Wt})}function Ea(ve,he,We,tt){var Rt=!0,Wt=!1,tr=void 0;try{for(var Ar=ve[Symbol.iterator](),_r;!(Rt=(_r=Ar.next()).done);Rt=!0){var Dr=_r.value;he=Dr(he,t,We,tt)}}catch(ln){Wt=!0,tr=ln}finally{try{!Rt&&Ar.return!=null&&Ar.return()}finally{if(Wt)throw tr}}return he}function Pn(ve){return ve}function la(ve){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pn;return function(We,tt){var Rt=tt.type;return Wa()(Rt,"dispatch: action should be a plain Object with type"),ve===Rt?he(We,tt):We}}function dn(){for(var ve=arguments.length,he=new Array(ve),We=0;We0&&arguments[0]!==void 0?arguments[0]:he,Wt=arguments.length>1?arguments[1]:void 0;return tt(Rt,Wt)}}function xa(ve,he,We){return Array.isArray(ve)?ve[1]((We||Fn)(ve[0],he)):(We||Fn)(ve||{},he)}function Ra(ve){return function(){return function(We){return function(tt){var Rt=tt.type;return he(Rt)?new Promise(function(Wt,tr){We((0,n.Z)({__dva_resolve:Wt,__dva_reject:tr},tt))}):We(tt)}}};function he(We){if(!We||typeof We!="string")return!1;var tt=We.split(xr),Rt=(0,kr.Z)(tt,1),Wt=Rt[0],tr=ve._models.filter(function(Ar){return Ar.namespace===Wt})[0];return!!(tr&&tr.effects&&tr.effects[We])}}function oa(ve,he){return function(We){var tt=We.type;return Wa()(tt,"dispatch: action should be a plain Object with type"),Jt()(tt.indexOf("".concat(he.namespace).concat(xr))!==0,"dispatch: ".concat(tt," should not be prefixed with namespace ").concat(he.namespace)),ve((0,n.Z)({},We,{type:Wr(tt,he)}))}}function ia(ve,he,We,tt){var Rt=[],Wt=[];for(var tr in ve)if(Object.prototype.hasOwnProperty.call(ve,tr)){var Ar=ve[tr],_r=Ar({dispatch:oa(We._store.dispatch,he),history:We._history},tt);ue(_r)?Rt.push(_r):Wt.push(tr)}return{funcs:Rt,nonFuncs:Wt}}function sa(ve,he){if(ve[he]){var We=ve[he],tt=We.funcs,Rt=We.nonFuncs;Jt()(Rt.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(Rt.join(", ")));var Wt=!0,tr=!1,Ar=void 0;try{for(var _r=tt[Symbol.iterator](),Dr;!(Wt=(Dr=_r.next()).done);Wt=!0){var ln=Dr.value;ln()}}catch(hn){tr=!0,Ar=hn}finally{try{!Wt&&_r.return!=null&&_r.return()}finally{if(tr)throw Ar}}delete ve[he]}}var fo=ke,Bo=yt,Jo={namespace:"@@dva",state:0,reducers:{UPDATE:function(he){return he+1}}};function Si(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},We=he.initialReducer,tt=he.setupApp,Rt=tt===void 0?fo:tt,Wt=new un;Wt.use(zn(ve));var tr={_models:[wr((0,n.Z)({},Jo))],_store:null,_plugin:Wt,use:Wt.use.bind(Wt),model:Ar,start:hn};return tr;function Ar(Rn){var In=wr((0,n.Z)({},Rn));return tr._models.push(In),In}function _r(Rn,In,da,Kn){Kn=Ar(Kn);var kn=tr._store;kn.asyncReducers[Kn.namespace]=xa(Kn.reducers,Kn.state,Wt._handleActions),kn.replaceReducer(Rn()),Kn.effects&&kn.runSaga(tr._getSaga(Kn.effects,Kn,In,Wt.get("onEffect"),ve)),Kn.subscriptions&&(da[Kn.namespace]=ia(Kn.subscriptions,Kn,tr,In))}function Dr(Rn,In,da,Kn){var kn=tr._store;delete kn.asyncReducers[Kn],delete In[Kn],kn.replaceReducer(Rn()),kn.dispatch({type:"@@dva/UPDATE"}),kn.dispatch({type:"".concat(Kn,"/@@CANCEL_EFFECTS")}),sa(da,Kn),tr._models=tr._models.filter(function(Oa){return Oa.namespace!==Kn})}function ln(Rn,In,da,Kn,kn){var Oa=tr._store,Ln=kn.namespace,An=Bo(tr._models,function(Ia){return Ia.namespace===Ln});~An&&(Oa.dispatch({type:"".concat(Ln,"/@@CANCEL_EFFECTS")}),delete Oa.asyncReducers[Ln],delete In[Ln],sa(da,Ln),tr._models.splice(An,1)),tr.model(kn),Oa.dispatch({type:"@@dva/UPDATE"})}function hn(){var Rn=function(Ft,fr){Ft&&(typeof Ft=="string"&&(Ft=new Error(Ft)),Ft.preventDefault=function(){Ft._dontReject=!0},Wt.apply("onError",function(kt){throw new Error(kt.stack||kt)})(Ft,tr._store.dispatch,fr))},In=yo(),da=Ra(tr);tr._getSaga=Sn.bind(null);var Kn=[],kn=(0,n.Z)({},We),Oa=!0,Ln=!1,An=void 0;try{for(var Ia=tr._models[Symbol.iterator](),Zo;!(Oa=(Zo=Ia.next()).done);Oa=!0){var pa=Zo.value;kn[pa.namespace]=xa(pa.reducers,pa.state,Wt._handleActions),pa.effects&&Kn.push(tr._getSaga(pa.effects,pa,Rn,Wt.get("onEffect"),ve))}}catch($){Ln=!0,An=$}finally{try{!Oa&&Ia.return!=null&&Ia.return()}finally{if(Ln)throw An}}var $a=Wt.get("onReducer"),ua=Wt.get("extraReducers");Wa()(Object.keys(ua).every(function($){return!($ in kn)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(kn).join(", "))),tr._store=mn({reducers:_e(),initialState:ve.initialState||{},plugin:Wt,createOpts:he,sagaMiddleware:In,promiseMiddleware:da});var ao=tr._store;ao.runSaga=In.run,ao.asyncReducers={};var Hn=Wt.get("onStateChange"),Ba=!0,oo=!1,po=void 0;try{for(var Go=function(){var Ft=go.value;ao.subscribe(function(){Ft(ao.getState())})},io=Hn[Symbol.iterator](),go;!(Ba=(go=io.next()).done);Ba=!0)Go()}catch($){oo=!0,po=$}finally{try{!Ba&&io.return!=null&&io.return()}finally{if(oo)throw po}}Kn.forEach(In.run),Rt(tr);var Vo={},Ho=!0,So=!1,Aa=void 0;try{for(var qa=this._models[Symbol.iterator](),Io;!(Ho=(Io=qa.next()).done);Ho=!0){var Da=Io.value;Da.subscriptions&&(Vo[Da.namespace]=ia(Da.subscriptions,Da,tr,Rn))}}catch($){So=!0,Aa=$}finally{try{!Ho&&qa.return!=null&&qa.return()}finally{if(So)throw Aa}}tr.model=_r.bind(tr,_e,Rn,Vo),tr.unmodel=Dr.bind(tr,_e,kn,Vo),tr.replaceModel=ln.bind(tr,_e,kn,Vo,Rn);function _e(){return $a((0,a.UY)((0,n.Z)({},kn,ua,tr._store?tr._store.asyncReducers:{})))}}}var Bi=e(44718),cs=e(56805),ls=e(4676);function Ci(ve){ve()}let xo=Ci;const zo=ve=>xo=ve,Oi=()=>xo,yi=Symbol.for("react-redux-context"),Yi=typeof globalThis!="undefined"?globalThis:{};function Os(){var ve;if(!r.createContext)return{};const he=(ve=Yi[yi])!=null?ve:Yi[yi]=new Map;let We=he.get(r.createContext);return We||(We=r.createContext(null),he.set(r.createContext,We)),We}const $o=Os();var ds=null;function zi(ve=$o){return function(){return(0,r.useContext)(ve)}}const Is=zi(),fs=()=>{throw new Error("uSES not initialized!")};let Zi=fs;const Vs=ve=>{Zi=ve},qo=(ve,he)=>ve===he;function ps(ve=$o){const he=ve===$o?Is:zi(ve);return function(tt,Rt={}){const{equalityFn:Wt=qo,stabilityCheck:tr=void 0,noopCheck:Ar=void 0}=typeof Rt=="function"?{equalityFn:Rt}:Rt,{store:_r,subscription:Dr,getServerState:ln,stabilityCheck:hn,noopCheck:Rn}=he(),In=(0,r.useRef)(!0),da=(0,r.useCallback)({[tt.name](kn){return tt(kn)}}[tt.name],[tt,hn,tr]),Kn=Zi(Dr.addNestedSub,_r.getState,ln||_r.getState,da,Wt);return(0,r.useDebugValue)(Kn),Kn}}const Qi=ps();var Ji=e(60499),vs=e(69010),$i=e(94266),qi=e.n($i),hs=e(23265);const Hi=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Ks(ve,he,We,tt,{areStatesEqual:Rt,areOwnPropsEqual:Wt,areStatePropsEqual:tr}){let Ar=!1,_r,Dr,ln,hn,Rn;function In(Ln,An){return _r=Ln,Dr=An,ln=ve(_r,Dr),hn=he(tt,Dr),Rn=We(ln,hn,Dr),Ar=!0,Rn}function da(){return ln=ve(_r,Dr),he.dependsOnOwnProps&&(hn=he(tt,Dr)),Rn=We(ln,hn,Dr),Rn}function Kn(){return ve.dependsOnOwnProps&&(ln=ve(_r,Dr)),he.dependsOnOwnProps&&(hn=he(tt,Dr)),Rn=We(ln,hn,Dr),Rn}function kn(){const Ln=ve(_r,Dr),An=!tr(Ln,ln);return ln=Ln,An&&(Rn=We(ln,hn,Dr)),Rn}function Oa(Ln,An){const Ia=!Wt(An,Dr),Zo=!Rt(Ln,_r,An,Dr);return _r=Ln,Dr=An,Ia&&Zo?da():Ia?Kn():Zo?kn():Rn}return function(An,Ia){return Ar?Oa(An,Ia):In(An,Ia)}}function Eo(ve,he){let{initMapStateToProps:We,initMapDispatchToProps:tt,initMergeProps:Rt}=he,Wt=(0,vs.Z)(he,Hi);const tr=We(ve,Wt),Ar=tt(ve,Wt),_r=Rt(ve,Wt);return Ks(tr,Ar,_r,ve,Wt)}function Xs(ve,he){const We={};for(const tt in ve){const Rt=ve[tt];typeof Rt=="function"&&(We[tt]=(...Wt)=>he(Rt(...Wt)))}return We}function es(ve){return function(We){const tt=ve(We);function Rt(){return tt}return Rt.dependsOnOwnProps=!1,Rt}}function Di(ve){return ve.dependsOnOwnProps?!!ve.dependsOnOwnProps:ve.length!==1}function Ii(ve,he){return function(tt,{displayName:Rt}){const Wt=function(Ar,_r){return Wt.dependsOnOwnProps?Wt.mapToProps(Ar,_r):Wt.mapToProps(Ar,void 0)};return Wt.dependsOnOwnProps=!0,Wt.mapToProps=function(Ar,_r){Wt.mapToProps=ve,Wt.dependsOnOwnProps=Di(ve);let Dr=Wt(Ar,_r);return typeof Dr=="function"&&(Wt.mapToProps=Dr,Wt.dependsOnOwnProps=Di(Dr),Dr=Wt(Ar,_r)),Dr},Wt}}function Ro(ve,he){return(We,tt)=>{throw new Error(`Invalid value of type ${typeof ve} for ${he} argument when connecting component ${tt.wrappedComponentName}.`)}}function Ai(ve){return ve&&typeof ve=="object"?es(he=>Xs(ve,he)):ve?typeof ve=="function"?Ii(ve,"mapDispatchToProps"):Ro(ve,"mapDispatchToProps"):es(he=>({dispatch:he}))}function Cu(ve){return ve?typeof ve=="function"?Ii(ve,"mapStateToProps"):Ro(ve,"mapStateToProps"):es(()=>({}))}function ut(ve,he,We){return(0,Ji.Z)({},We,ve,he)}function Et(ve){return function(We,{displayName:tt,areMergedPropsEqual:Rt}){let Wt=!1,tr;return function(_r,Dr,ln){const hn=ve(_r,Dr,ln);return Wt?Rt(hn,tr)||(tr=hn):(Wt=!0,tr=hn),tr}}}function gt(ve){return ve?typeof ve=="function"?Et(ve):Ro(ve,"mergeProps"):()=>ut}function Ot(){const ve=Oi();let he=null,We=null;return{clear(){he=null,We=null},notify(){ve(()=>{let tt=he;for(;tt;)tt.callback(),tt=tt.next})},get(){let tt=[],Rt=he;for(;Rt;)tt.push(Rt),Rt=Rt.next;return tt},subscribe(tt){let Rt=!0,Wt=We={callback:tt,next:null,prev:We};return Wt.prev?Wt.prev.next=Wt:he=Wt,function(){!Rt||he===null||(Rt=!1,Wt.next?Wt.next.prev=Wt.prev:We=Wt.prev,Wt.prev?Wt.prev.next=Wt.next:he=Wt.next)}}}}const jt={notify(){},get:()=>[]};function Or(ve,he){let We,tt=jt,Rt=0,Wt=!1;function tr(Kn){ln();const kn=tt.subscribe(Kn);let Oa=!1;return()=>{Oa||(Oa=!0,kn(),hn())}}function Ar(){tt.notify()}function _r(){da.onStateChange&&da.onStateChange()}function Dr(){return Wt}function ln(){Rt++,We||(We=he?he.addNestedSub(_r):ve.subscribe(_r),tt=Ot())}function hn(){Rt--,We&&Rt===0&&(We(),We=void 0,tt.clear(),tt=jt)}function Rn(){Wt||(Wt=!0,ln())}function In(){Wt&&(Wt=!1,hn())}const da={addNestedSub:tr,notifyNestedSubs:Ar,handleChangeWrapper:_r,isSubscribed:Dr,trySubscribe:Rn,tryUnsubscribe:In,getListeners:()=>tt};return da}const Yr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?r.useLayoutEffect:r.useEffect;function Xr(ve,he){return ve===he?ve!==0||he!==0||1/ve===1/he:ve!==ve&&he!==he}function vn(ve,he){if(Xr(ve,he))return!0;if(typeof ve!="object"||ve===null||typeof he!="object"||he===null)return!1;const We=Object.keys(ve),tt=Object.keys(he);if(We.length!==tt.length)return!1;for(let Rt=0;Rt{Pt=ve},Vt=null,Tr=[null,null],Hr=ve=>{try{return JSON.stringify(ve)}catch(he){return String(ve)}};function Ae(ve,he,We){Yr(()=>ve(...he),We)}function rn(ve,he,We,tt,Rt,Wt){ve.current=tt,We.current=!1,Rt.current&&(Rt.current=null,Wt())}function Qr(ve,he,We,tt,Rt,Wt,tr,Ar,_r,Dr,ln){if(!ve)return()=>{};let hn=!1,Rn=null;const In=()=>{if(hn||!Ar.current)return;const Kn=he.getState();let kn,Oa;try{kn=tt(Kn,Rt.current)}catch(Ln){Oa=Ln,Rn=Ln}Oa||(Rn=null),kn===Wt.current?tr.current||Dr():(Wt.current=kn,_r.current=kn,tr.current=!0,ln())};return We.onStateChange=In,We.trySubscribe(),In(),()=>{if(hn=!0,We.tryUnsubscribe(),We.onStateChange=null,Rn)throw Rn}}const Yn=()=>Vt;function Un(ve,he){return ve===he}let rr=!1;function ga(ve,he,We,{pure:tt,areStatesEqual:Rt=Un,areOwnPropsEqual:Wt=vn,areStatePropsEqual:tr=vn,areMergedPropsEqual:Ar=vn,forwardRef:_r=!1,context:Dr=$o}={}){const ln=Dr,hn=Cu(ve),Rn=Ai(he),In=gt(We),da=!!ve;return kn=>{const Oa=kn.displayName||kn.name||"Component",Ln=`Connect(${Oa})`,An={shouldHandleStateChanges:da,displayName:Ln,wrappedComponentName:Oa,WrappedComponent:kn,initMapStateToProps:hn,initMapDispatchToProps:Rn,initMergeProps:In,areStatesEqual:Rt,areStatePropsEqual:tr,areOwnPropsEqual:Wt,areMergedPropsEqual:Ar};function Ia($a){const[ua,ao,Hn]=r.useMemo(()=>{const{reactReduxForwardedRef:zr}=$a,Jr=(0,vs.Z)($a,xn);return[$a.context,zr,Jr]},[$a]),Ba=r.useMemo(()=>ua&&ua.Consumer&&(0,hs.isContextConsumer)(r.createElement(ua.Consumer,null))?ua:ln,[ua,ln]),oo=r.useContext(Ba),po=!!$a.store&&!!$a.store.getState&&!!$a.store.dispatch,Go=!!oo&&!!oo.store,io=po?$a.store:oo.store,go=Go?oo.getServerState:io.getState,Vo=r.useMemo(()=>Eo(io.dispatch,An),[io]),[Ho,So]=r.useMemo(()=>{if(!da)return Tr;const zr=Or(io,po?void 0:oo.subscription),Jr=zr.notifyNestedSubs.bind(zr);return[zr,Jr]},[io,po,oo]),Aa=r.useMemo(()=>po?oo:(0,Ji.Z)({},oo,{subscription:Ho}),[po,oo,Ho]),qa=r.useRef(),Io=r.useRef(Hn),Da=r.useRef(),_e=r.useRef(!1),$=r.useRef(!1),Ft=r.useRef(!1),fr=r.useRef();Yr(()=>(Ft.current=!0,()=>{Ft.current=!1}),[]);const kt=r.useMemo(()=>()=>Da.current&&Hn===Io.current?Da.current:Vo(io.getState(),Hn),[io,Hn]),lr=r.useMemo(()=>Jr=>Ho?Qr(da,io,Ho,Vo,Io,qa,_e,Ft,Da,So,Jr):()=>{},[Ho]);Ae(rn,[Io,qa,_e,Hn,Da,So]);let Br;try{Br=Pt(lr,kt,go?()=>Vo(go(),Hn):kt)}catch(zr){throw fr.current&&(zr.message+=` +Therefore yield `+he+" will return task descriptor to your saga and execute next lines of code."},na=null,En=null,wa=null;function Pe(ve,he){for(var We=arguments.length,tt=Array(We>2?We-2:0),Rt=2;Rt2?We-2:0),Rt=2;Rt3?tt-3:0),Wt=3;Wt-1&&(he[We]=ve[We]),he},{})}var un=function(){function ve(){(0,Pr.Z)(this,ve),this._handleActions=null,this.hooks=an.reduce(function(he,We){return he[We]=[],he},{})}return(0,Rr.Z)(ve,[{key:"use",value:function(We){Wa()(xe()(We),"plugin.use: plugin should be plain object");var tt=this.hooks;for(var Rt in We)Object.prototype.hasOwnProperty.call(We,Rt)&&(Wa()(tt[Rt],"plugin.use: unknown plugin property: ".concat(Rt)),Rt==="_handleActions"?this._handleActions=We[Rt]:Rt==="extraEnhancers"?tt[Rt]=We[Rt]:tt[Rt].push(We[Rt]))}},{key:"apply",value:function(We,tt){var Rt=this.hooks,Wt=["onError","onHmr"];Wa()(Wt.indexOf(We)>-1,"plugin.apply: hook ".concat(We," cannot be applied"));var tr=Rt[We];return function(){if(tr.length){var Ar=!0,_r=!1,Dr=void 0;try{for(var ln=tr[Symbol.iterator](),hn;!(Ar=(hn=ln.next()).done);Ar=!0){var Rn=hn.value;Rn.apply(void 0,arguments)}}catch(In){_r=!0,Dr=In}finally{try{!Ar&&ln.return!=null&&ln.return()}finally{if(_r)throw Dr}}}else tt&&tt.apply(void 0,arguments)}}},{key:"get",value:function(We){var tt=this.hooks;return Wa()(We in tt,"plugin.get: hook ".concat(We," cannot be got")),We==="extraReducers"?tn(tt[We]):We==="onReducer"?vr(tt[We]):tt[We]}}]),ve}();function tn(ve){var he={},We=!0,tt=!1,Rt=void 0;try{for(var Wt=ve[Symbol.iterator](),tr;!(We=(tr=Wt.next()).done);We=!0){var Ar=tr.value;he=(0,n.Z)({},he,Ar)}}catch(_r){tt=!0,Rt=_r}finally{try{!We&&Wt.return!=null&&Wt.return()}finally{if(tt)throw Rt}}return he}function vr(ve){return function(he){var We=!0,tt=!1,Rt=void 0;try{for(var Wt=ve[Symbol.iterator](),tr;!(We=(tr=Wt.next()).done);We=!0){var Ar=tr.value;he=Ar(he)}}catch(_r){tt=!0,Rt=_r}finally{try{!We&&Wt.return!=null&&Wt.return()}finally{if(tt)throw Rt}}return he}}function mn(ve){var he=ve.reducers,We=ve.initialState,tt=ve.plugin,Rt=ve.sagaMiddleware,Wt=ve.promiseMiddleware,tr=ve.createOpts.setupMiddlewares,Ar=tr===void 0?Ye:tr,_r=tt.get("extraEnhancers");Wa()(be(_r),"[app.start] extraEnhancers should be array, but got ".concat((0,Ha.Z)(_r)));var Dr=tt.get("onAction"),ln=Ar([Wt,Rt].concat((0,Xe.Z)(Gr()(Dr)))),hn=a.qC,Rn=[a.md.apply(void 0,(0,Xe.Z)(ln))].concat((0,Xe.Z)(_r));return(0,a.MT)(he,We,hn.apply(void 0,(0,Xe.Z)(Rn)))}function Wr(ve,he){var We="".concat(he.namespace).concat(xr).concat(ve),tt=We.replace(/\/@@[^/]+?$/,""),Rt=Array.isArray(he.reducers)?he.reducers[0][tt]:he.reducers&&he.reducers[tt];return Rt||he.effects&&he.effects[tt]?We:ve}function Sn(ve,he,We,tt){var Rt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return nt().mark(function Wt(){var tr;return nt().wrap(function(_r){for(;;)switch(_r.prev=_r.next){case 0:_r.t0=nt().keys(ve);case 1:if((_r.t1=_r.t0()).done){_r.next=7;break}if(tr=_r.t1.value,!Object.prototype.hasOwnProperty.call(ve,tr)){_r.next=5;break}return _r.delegateYield(nt().mark(function Dr(){var ln,hn;return nt().wrap(function(In){for(;;)switch(In.prev=In.next){case 0:return ln=jn(tr,ve[tr],he,We,tt,Rt),In.next=3,Nt(ln);case 3:return hn=In.sent,In.next=6,Nt(nt().mark(function da(){return nt().wrap(function(Mn){for(;;)switch(Mn.prev=Mn.next){case 0:return Mn.next=2,Ze("".concat(he.namespace,"/@@CANCEL_EFFECTS"));case 2:return Mn.next=4,Cr(hn);case 4:case"end":return Mn.stop()}},da)}));case 6:case"end":return In.stop()}},Dr)})(),"t2",5);case 5:_r.next=1;break;case 7:case"end":return _r.stop()}},Wt)})}function jn(ve,he,We,tt,Rt,Wt){var tr=nt().mark(da),Ar=he,_r="takeEvery",Dr,ln;if(Array.isArray(he)){var hn=(0,Mr.Z)(he,1);Ar=hn[0];var Rn=he[1];Rn&&Rn.type&&(_r=Rn.type,_r==="throttle"&&(Wa()(Rn.ms,"app.start: opts.ms should be defined if type is throttle"),Dr=Rn.ms),_r==="poll"&&(Wa()(Rn.delay,"app.start: opts.delay should be defined if type is poll"),ln=Rn.delay)),Wa()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(_r)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function In(){}function da(){var Mn,Oa,Ln,An,Ia,Zo,pa,$a,ua,ao=arguments;return nt().wrap(function(Ba){for(;;)switch(Ba.prev=Ba.next){case 0:for(Mn=ao.length,Oa=new Array(Mn),Ln=0;Ln0?Oa[0]:{},Ia=An.__dva_resolve,Zo=Ia===void 0?In:Ia,pa=An.__dva_reject,$a=pa===void 0?In:pa,Ba.prev=2,Ba.next=5,kt({type:"".concat(ve).concat(xr,"@@start")});case 5:return Ba.next=7,Ar.apply(void 0,(0,Xe.Z)(Oa.concat(wn(We,Wt))));case 7:return ua=Ba.sent,Ba.next=10,kt({type:"".concat(ve).concat(xr,"@@end")});case 10:Zo(ua),Ba.next=17;break;case 13:Ba.prev=13,Ba.t0=Ba.catch(2),tt(Ba.t0,{key:ve,effectArgs:Oa}),Ba.t0._dontReject||$a(Ba.t0);case 17:case"end":return Ba.stop()}},tr,null,[[2,13]])}var Kn=Ea(Rt,da,We,ve);switch(_r){case"watcher":return da;case"takeLatest":return nt().mark(function Mn(){return nt().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:return Ln.next=2,$n(ve,Kn);case 2:case"end":return Ln.stop()}},Mn)});case"throttle":return nt().mark(function Mn(){return nt().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:return Ln.next=2,aa(Dr,ve,Kn);case 2:case"end":return Ln.stop()}},Mn)});case"poll":return nt().mark(function Mn(){var Oa,Ln,An,Ia,Zo,pa,$a;return nt().wrap(function(ao){for(;;)switch(ao.prev=ao.next){case 0:An=function(Ba,oo){var po;return nt().wrap(function(io){for(;;)switch(io.prev=io.next){case 0:po=Ba.call;case 1:return io.next=4,po(Kn,oo);case 4:return io.next=6,po(Ln,ln);case 6:io.next=1;break;case 8:case"end":return io.stop()}},Oa)},Ln=function(Ba){return new Promise(function(oo){return setTimeout(oo,Ba)})},Oa=nt().mark(An),Ia=Ir,Zo=Ze,pa=$t;case 4:return ao.next=7,Zo("".concat(ve,"-start"));case 7:return $a=ao.sent,ao.next=10,pa([Ia(An,t,$a),Zo("".concat(ve,"-stop"))]);case 10:ao.next=4;break;case 12:case"end":return ao.stop()}},Mn)});default:return nt().mark(function Mn(){return nt().wrap(function(Ln){for(;;)switch(Ln.prev=Ln.next){case 0:return Ln.next=2,Pe(ve,Kn);case 2:case"end":return Ln.stop()}},Mn)})}}function wn(ve,he){function We(tr,Ar){Wa()(tr,"dispatch: action should be a plain Object with type");var _r=he.namespacePrefixWarning,Dr=_r===void 0?!0:_r;Dr&&Jt()(tr.indexOf("".concat(ve.namespace).concat(xr))!==0,"[".concat(Ar,"] ").concat(tr," should not be prefixed with namespace ").concat(ve.namespace))}function tt(tr){var Ar=tr.type;return We(Ar,"sagaEffects.put"),kt((0,n.Z)({},tr,{type:Wr(Ar,ve)}))}function Rt(tr){var Ar=tr.type;return We(Ar,"sagaEffects.put.resolve"),kt.resolve((0,n.Z)({},tr,{type:Wr(Ar,ve)}))}tt.resolve=Rt;function Wt(tr){return typeof tr=="string"?(We(tr,"sagaEffects.take"),Ze(Wr(tr,ve))):Array.isArray(tr)?Ze(tr.map(function(Ar){return typeof Ar=="string"?(We(Ar,"sagaEffects.take"),Wr(Ar,ve)):Ar})):Ze(tr)}return(0,n.Z)({},t,{put:tt,take:Wt})}function Ea(ve,he,We,tt){var Rt=!0,Wt=!1,tr=void 0;try{for(var Ar=ve[Symbol.iterator](),_r;!(Rt=(_r=Ar.next()).done);Rt=!0){var Dr=_r.value;he=Dr(he,t,We,tt)}}catch(ln){Wt=!0,tr=ln}finally{try{!Rt&&Ar.return!=null&&Ar.return()}finally{if(Wt)throw tr}}return he}function Pn(ve){return ve}function la(ve){var he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pn;return function(We,tt){var Rt=tt.type;return Wa()(Rt,"dispatch: action should be a plain Object with type"),ve===Rt?he(We,tt):We}}function dn(){for(var ve=arguments.length,he=new Array(ve),We=0;We0&&arguments[0]!==void 0?arguments[0]:he,Wt=arguments.length>1?arguments[1]:void 0;return tt(Rt,Wt)}}function xa(ve,he,We){return Array.isArray(ve)?ve[1]((We||Fn)(ve[0],he)):(We||Fn)(ve||{},he)}function Ra(ve){return function(){return function(We){return function(tt){var Rt=tt.type;return he(Rt)?new Promise(function(Wt,tr){We((0,n.Z)({__dva_resolve:Wt,__dva_reject:tr},tt))}):We(tt)}}};function he(We){if(!We||typeof We!="string")return!1;var tt=We.split(xr),Rt=(0,Mr.Z)(tt,1),Wt=Rt[0],tr=ve._models.filter(function(Ar){return Ar.namespace===Wt})[0];return!!(tr&&tr.effects&&tr.effects[We])}}function oa(ve,he){return function(We){var tt=We.type;return Wa()(tt,"dispatch: action should be a plain Object with type"),Jt()(tt.indexOf("".concat(he.namespace).concat(xr))!==0,"dispatch: ".concat(tt," should not be prefixed with namespace ").concat(he.namespace)),ve((0,n.Z)({},We,{type:Wr(tt,he)}))}}function ia(ve,he,We,tt){var Rt=[],Wt=[];for(var tr in ve)if(Object.prototype.hasOwnProperty.call(ve,tr)){var Ar=ve[tr],_r=Ar({dispatch:oa(We._store.dispatch,he),history:We._history},tt);ue(_r)?Rt.push(_r):Wt.push(tr)}return{funcs:Rt,nonFuncs:Wt}}function sa(ve,he){if(ve[he]){var We=ve[he],tt=We.funcs,Rt=We.nonFuncs;Jt()(Rt.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(Rt.join(", ")));var Wt=!0,tr=!1,Ar=void 0;try{for(var _r=tt[Symbol.iterator](),Dr;!(Wt=(Dr=_r.next()).done);Wt=!0){var ln=Dr.value;ln()}}catch(hn){tr=!0,Ar=hn}finally{try{!Wt&&_r.return!=null&&_r.return()}finally{if(tr)throw Ar}}delete ve[he]}}var fo=Me,Bo=yt,Jo={namespace:"@@dva",state:0,reducers:{UPDATE:function(he){return he+1}}};function Si(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},We=he.initialReducer,tt=he.setupApp,Rt=tt===void 0?fo:tt,Wt=new un;Wt.use(zn(ve));var tr={_models:[wr((0,n.Z)({},Jo))],_store:null,_plugin:Wt,use:Wt.use.bind(Wt),model:Ar,start:hn};return tr;function Ar(Rn){var In=wr((0,n.Z)({},Rn));return tr._models.push(In),In}function _r(Rn,In,da,Kn){Kn=Ar(Kn);var Mn=tr._store;Mn.asyncReducers[Kn.namespace]=xa(Kn.reducers,Kn.state,Wt._handleActions),Mn.replaceReducer(Rn()),Kn.effects&&Mn.runSaga(tr._getSaga(Kn.effects,Kn,In,Wt.get("onEffect"),ve)),Kn.subscriptions&&(da[Kn.namespace]=ia(Kn.subscriptions,Kn,tr,In))}function Dr(Rn,In,da,Kn){var Mn=tr._store;delete Mn.asyncReducers[Kn],delete In[Kn],Mn.replaceReducer(Rn()),Mn.dispatch({type:"@@dva/UPDATE"}),Mn.dispatch({type:"".concat(Kn,"/@@CANCEL_EFFECTS")}),sa(da,Kn),tr._models=tr._models.filter(function(Oa){return Oa.namespace!==Kn})}function ln(Rn,In,da,Kn,Mn){var Oa=tr._store,Ln=Mn.namespace,An=Bo(tr._models,function(Ia){return Ia.namespace===Ln});~An&&(Oa.dispatch({type:"".concat(Ln,"/@@CANCEL_EFFECTS")}),delete Oa.asyncReducers[Ln],delete In[Ln],sa(da,Ln),tr._models.splice(An,1)),tr.model(Mn),Oa.dispatch({type:"@@dva/UPDATE"})}function hn(){var Rn=function(Ft,fr){Ft&&(typeof Ft=="string"&&(Ft=new Error(Ft)),Ft.preventDefault=function(){Ft._dontReject=!0},Wt.apply("onError",function(Mt){throw new Error(Mt.stack||Mt)})(Ft,tr._store.dispatch,fr))},In=yo(),da=Ra(tr);tr._getSaga=Sn.bind(null);var Kn=[],Mn=(0,n.Z)({},We),Oa=!0,Ln=!1,An=void 0;try{for(var Ia=tr._models[Symbol.iterator](),Zo;!(Oa=(Zo=Ia.next()).done);Oa=!0){var pa=Zo.value;Mn[pa.namespace]=xa(pa.reducers,pa.state,Wt._handleActions),pa.effects&&Kn.push(tr._getSaga(pa.effects,pa,Rn,Wt.get("onEffect"),ve))}}catch($){Ln=!0,An=$}finally{try{!Oa&&Ia.return!=null&&Ia.return()}finally{if(Ln)throw An}}var $a=Wt.get("onReducer"),ua=Wt.get("extraReducers");Wa()(Object.keys(ua).every(function($){return!($ in Mn)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Mn).join(", "))),tr._store=mn({reducers:_e(),initialState:ve.initialState||{},plugin:Wt,createOpts:he,sagaMiddleware:In,promiseMiddleware:da});var ao=tr._store;ao.runSaga=In.run,ao.asyncReducers={};var Hn=Wt.get("onStateChange"),Ba=!0,oo=!1,po=void 0;try{for(var Go=function(){var Ft=go.value;ao.subscribe(function(){Ft(ao.getState())})},io=Hn[Symbol.iterator](),go;!(Ba=(go=io.next()).done);Ba=!0)Go()}catch($){oo=!0,po=$}finally{try{!Ba&&io.return!=null&&io.return()}finally{if(oo)throw po}}Kn.forEach(In.run),Rt(tr);var Vo={},Ho=!0,So=!1,Aa=void 0;try{for(var qa=this._models[Symbol.iterator](),Io;!(Ho=(Io=qa.next()).done);Ho=!0){var Da=Io.value;Da.subscriptions&&(Vo[Da.namespace]=ia(Da.subscriptions,Da,tr,Rn))}}catch($){So=!0,Aa=$}finally{try{!Ho&&qa.return!=null&&qa.return()}finally{if(So)throw Aa}}tr.model=_r.bind(tr,_e,Rn,Vo),tr.unmodel=Dr.bind(tr,_e,Mn,Vo),tr.replaceModel=ln.bind(tr,_e,Mn,Vo,Rn);function _e(){return $a((0,a.UY)((0,n.Z)({},Mn,ua,tr._store?tr._store.asyncReducers:{})))}}}var Bi=e(44718),cs=e(56805),ls=e(4676);function Ci(ve){ve()}let xo=Ci;const zo=ve=>xo=ve,Oi=()=>xo,yi=Symbol.for("react-redux-context"),Yi=typeof globalThis!="undefined"?globalThis:{};function Os(){var ve;if(!r.createContext)return{};const he=(ve=Yi[yi])!=null?ve:Yi[yi]=new Map;let We=he.get(r.createContext);return We||(We=r.createContext(null),he.set(r.createContext,We)),We}const $o=Os();var ds=null;function zi(ve=$o){return function(){return(0,r.useContext)(ve)}}const Is=zi(),fs=()=>{throw new Error("uSES not initialized!")};let Zi=fs;const Vs=ve=>{Zi=ve},qo=(ve,he)=>ve===he;function ps(ve=$o){const he=ve===$o?Is:zi(ve);return function(tt,Rt={}){const{equalityFn:Wt=qo,stabilityCheck:tr=void 0,noopCheck:Ar=void 0}=typeof Rt=="function"?{equalityFn:Rt}:Rt,{store:_r,subscription:Dr,getServerState:ln,stabilityCheck:hn,noopCheck:Rn}=he(),In=(0,r.useRef)(!0),da=(0,r.useCallback)({[tt.name](Mn){return tt(Mn)}}[tt.name],[tt,hn,tr]),Kn=Zi(Dr.addNestedSub,_r.getState,ln||_r.getState,da,Wt);return(0,r.useDebugValue)(Kn),Kn}}const Qi=ps();var Ji=e(60499),vs=e(69010),$i=e(94266),qi=e.n($i),hs=e(23265);const Hi=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Ks(ve,he,We,tt,{areStatesEqual:Rt,areOwnPropsEqual:Wt,areStatePropsEqual:tr}){let Ar=!1,_r,Dr,ln,hn,Rn;function In(Ln,An){return _r=Ln,Dr=An,ln=ve(_r,Dr),hn=he(tt,Dr),Rn=We(ln,hn,Dr),Ar=!0,Rn}function da(){return ln=ve(_r,Dr),he.dependsOnOwnProps&&(hn=he(tt,Dr)),Rn=We(ln,hn,Dr),Rn}function Kn(){return ve.dependsOnOwnProps&&(ln=ve(_r,Dr)),he.dependsOnOwnProps&&(hn=he(tt,Dr)),Rn=We(ln,hn,Dr),Rn}function Mn(){const Ln=ve(_r,Dr),An=!tr(Ln,ln);return ln=Ln,An&&(Rn=We(ln,hn,Dr)),Rn}function Oa(Ln,An){const Ia=!Wt(An,Dr),Zo=!Rt(Ln,_r,An,Dr);return _r=Ln,Dr=An,Ia&&Zo?da():Ia?Kn():Zo?Mn():Rn}return function(An,Ia){return Ar?Oa(An,Ia):In(An,Ia)}}function Eo(ve,he){let{initMapStateToProps:We,initMapDispatchToProps:tt,initMergeProps:Rt}=he,Wt=(0,vs.Z)(he,Hi);const tr=We(ve,Wt),Ar=tt(ve,Wt),_r=Rt(ve,Wt);return Ks(tr,Ar,_r,ve,Wt)}function Xs(ve,he){const We={};for(const tt in ve){const Rt=ve[tt];typeof Rt=="function"&&(We[tt]=(...Wt)=>he(Rt(...Wt)))}return We}function es(ve){return function(We){const tt=ve(We);function Rt(){return tt}return Rt.dependsOnOwnProps=!1,Rt}}function Di(ve){return ve.dependsOnOwnProps?!!ve.dependsOnOwnProps:ve.length!==1}function Ii(ve,he){return function(tt,{displayName:Rt}){const Wt=function(Ar,_r){return Wt.dependsOnOwnProps?Wt.mapToProps(Ar,_r):Wt.mapToProps(Ar,void 0)};return Wt.dependsOnOwnProps=!0,Wt.mapToProps=function(Ar,_r){Wt.mapToProps=ve,Wt.dependsOnOwnProps=Di(ve);let Dr=Wt(Ar,_r);return typeof Dr=="function"&&(Wt.mapToProps=Dr,Wt.dependsOnOwnProps=Di(Dr),Dr=Wt(Ar,_r)),Dr},Wt}}function Ro(ve,he){return(We,tt)=>{throw new Error(`Invalid value of type ${typeof ve} for ${he} argument when connecting component ${tt.wrappedComponentName}.`)}}function Ai(ve){return ve&&typeof ve=="object"?es(he=>Xs(ve,he)):ve?typeof ve=="function"?Ii(ve,"mapDispatchToProps"):Ro(ve,"mapDispatchToProps"):es(he=>({dispatch:he}))}function Cu(ve){return ve?typeof ve=="function"?Ii(ve,"mapStateToProps"):Ro(ve,"mapStateToProps"):es(()=>({}))}function ut(ve,he,We){return(0,Ji.Z)({},We,ve,he)}function Et(ve){return function(We,{displayName:tt,areMergedPropsEqual:Rt}){let Wt=!1,tr;return function(_r,Dr,ln){const hn=ve(_r,Dr,ln);return Wt?Rt(hn,tr)||(tr=hn):(Wt=!0,tr=hn),tr}}}function gt(ve){return ve?typeof ve=="function"?Et(ve):Ro(ve,"mergeProps"):()=>ut}function Ot(){const ve=Oi();let he=null,We=null;return{clear(){he=null,We=null},notify(){ve(()=>{let tt=he;for(;tt;)tt.callback(),tt=tt.next})},get(){let tt=[],Rt=he;for(;Rt;)tt.push(Rt),Rt=Rt.next;return tt},subscribe(tt){let Rt=!0,Wt=We={callback:tt,next:null,prev:We};return Wt.prev?Wt.prev.next=Wt:he=Wt,function(){!Rt||he===null||(Rt=!1,Wt.next?Wt.next.prev=Wt.prev:We=Wt.prev,Wt.prev?Wt.prev.next=Wt.next:he=Wt.next)}}}}const jt={notify(){},get:()=>[]};function Or(ve,he){let We,tt=jt,Rt=0,Wt=!1;function tr(Kn){ln();const Mn=tt.subscribe(Kn);let Oa=!1;return()=>{Oa||(Oa=!0,Mn(),hn())}}function Ar(){tt.notify()}function _r(){da.onStateChange&&da.onStateChange()}function Dr(){return Wt}function ln(){Rt++,We||(We=he?he.addNestedSub(_r):ve.subscribe(_r),tt=Ot())}function hn(){Rt--,We&&Rt===0&&(We(),We=void 0,tt.clear(),tt=jt)}function Rn(){Wt||(Wt=!0,ln())}function In(){Wt&&(Wt=!1,hn())}const da={addNestedSub:tr,notifyNestedSubs:Ar,handleChangeWrapper:_r,isSubscribed:Dr,trySubscribe:Rn,tryUnsubscribe:In,getListeners:()=>tt};return da}const Yr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?r.useLayoutEffect:r.useEffect;function Xr(ve,he){return ve===he?ve!==0||he!==0||1/ve===1/he:ve!==ve&&he!==he}function vn(ve,he){if(Xr(ve,he))return!0;if(typeof ve!="object"||ve===null||typeof he!="object"||he===null)return!1;const We=Object.keys(ve),tt=Object.keys(he);if(We.length!==tt.length)return!1;for(let Rt=0;Rt{Pt=ve},Vt=null,Tr=[null,null],Hr=ve=>{try{return JSON.stringify(ve)}catch(he){return String(ve)}};function Ae(ve,he,We){Yr(()=>ve(...he),We)}function rn(ve,he,We,tt,Rt,Wt){ve.current=tt,We.current=!1,Rt.current&&(Rt.current=null,Wt())}function Qr(ve,he,We,tt,Rt,Wt,tr,Ar,_r,Dr,ln){if(!ve)return()=>{};let hn=!1,Rn=null;const In=()=>{if(hn||!Ar.current)return;const Kn=he.getState();let Mn,Oa;try{Mn=tt(Kn,Rt.current)}catch(Ln){Oa=Ln,Rn=Ln}Oa||(Rn=null),Mn===Wt.current?tr.current||Dr():(Wt.current=Mn,_r.current=Mn,tr.current=!0,ln())};return We.onStateChange=In,We.trySubscribe(),In(),()=>{if(hn=!0,We.tryUnsubscribe(),We.onStateChange=null,Rn)throw Rn}}const Yn=()=>Vt;function Un(ve,he){return ve===he}let rr=!1;function ga(ve,he,We,{pure:tt,areStatesEqual:Rt=Un,areOwnPropsEqual:Wt=vn,areStatePropsEqual:tr=vn,areMergedPropsEqual:Ar=vn,forwardRef:_r=!1,context:Dr=$o}={}){const ln=Dr,hn=Cu(ve),Rn=Ai(he),In=gt(We),da=!!ve;return Mn=>{const Oa=Mn.displayName||Mn.name||"Component",Ln=`Connect(${Oa})`,An={shouldHandleStateChanges:da,displayName:Ln,wrappedComponentName:Oa,WrappedComponent:Mn,initMapStateToProps:hn,initMapDispatchToProps:Rn,initMergeProps:In,areStatesEqual:Rt,areStatePropsEqual:tr,areOwnPropsEqual:Wt,areMergedPropsEqual:Ar};function Ia($a){const[ua,ao,Hn]=r.useMemo(()=>{const{reactReduxForwardedRef:zr}=$a,Jr=(0,vs.Z)($a,xn);return[$a.context,zr,Jr]},[$a]),Ba=r.useMemo(()=>ua&&ua.Consumer&&(0,hs.isContextConsumer)(r.createElement(ua.Consumer,null))?ua:ln,[ua,ln]),oo=r.useContext(Ba),po=!!$a.store&&!!$a.store.getState&&!!$a.store.dispatch,Go=!!oo&&!!oo.store,io=po?$a.store:oo.store,go=Go?oo.getServerState:io.getState,Vo=r.useMemo(()=>Eo(io.dispatch,An),[io]),[Ho,So]=r.useMemo(()=>{if(!da)return Tr;const zr=Or(io,po?void 0:oo.subscription),Jr=zr.notifyNestedSubs.bind(zr);return[zr,Jr]},[io,po,oo]),Aa=r.useMemo(()=>po?oo:(0,Ji.Z)({},oo,{subscription:Ho}),[po,oo,Ho]),qa=r.useRef(),Io=r.useRef(Hn),Da=r.useRef(),_e=r.useRef(!1),$=r.useRef(!1),Ft=r.useRef(!1),fr=r.useRef();Yr(()=>(Ft.current=!0,()=>{Ft.current=!1}),[]);const Mt=r.useMemo(()=>()=>Da.current&&Hn===Io.current?Da.current:Vo(io.getState(),Hn),[io,Hn]),lr=r.useMemo(()=>Jr=>Ho?Qr(da,io,Ho,Vo,Io,qa,_e,Ft,Da,So,Jr):()=>{},[Ho]);Ae(rn,[Io,qa,_e,Hn,Da,So]);let Br;try{Br=Pt(lr,Mt,go?()=>Vo(go(),Hn):Mt)}catch(zr){throw fr.current&&(zr.message+=` The error may be correlated with this previous error: ${fr.current.stack} -`),zr}Yr(()=>{fr.current=void 0,Da.current=void 0,qa.current=Br});const fn=r.useMemo(()=>r.createElement(kn,(0,Ji.Z)({},Br,{ref:ao})),[ao,kn,Br]);return r.useMemo(()=>da?r.createElement(Ba.Provider,{value:Aa},fn):fn,[Ba,fn,Aa])}const pa=r.memo(Ia);if(pa.WrappedComponent=kn,pa.displayName=Ia.displayName=Ln,_r){const ua=r.forwardRef(function(Hn,Ba){return r.createElement(pa,(0,Ji.Z)({},Hn,{reactReduxForwardedRef:Ba}))});return ua.displayName=Ln,ua.WrappedComponent=kn,qi()(ua,kn)}return qi()(pa,kn)}}var Vn=ga;function ra({store:ve,context:he,children:We,serverState:tt,stabilityCheck:Rt="once",noopCheck:Wt="once"}){const tr=r.useMemo(()=>{const Dr=Or(ve);return{store:ve,subscription:Dr,getServerState:tt?()=>tt:void 0,stabilityCheck:Rt,noopCheck:Wt}},[ve,tt,Rt,Wt]),Ar=r.useMemo(()=>ve.getState(),[ve]);Yr(()=>{const{subscription:Dr}=tr;return Dr.onStateChange=Dr.notifyNestedSubs,Dr.trySubscribe(),Ar!==ve.getState()&&Dr.notifyNestedSubs(),()=>{Dr.tryUnsubscribe(),Dr.onStateChange=void 0}},[tr,Ar]);const _r=he||$o;return r.createElement(_r.Provider,{value:tr},We)}var Co=ra;function bo(ve=$o){const he=ve===$o?Is:zi(ve);return function(){const{store:tt}=he();return tt}}const Zn=bo();function oi(ve=$o){const he=ve===$o?Zn:bo(ve);return function(){return he().dispatch}}const Oo=oi();Vs(cs.useSyncExternalStoreWithSelector),Gt(Bi.useSyncExternalStore),zo(ls.unstable_batchedUpdates);var so=Object.defineProperty,Ka=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable,Vr=(ve,he,We)=>he in ve?so(ve,he,{enumerable:!0,configurable:!0,writable:!0,value:We}):ve[he]=We,wo=(ve,he)=>{for(var We in he||(he={}))li.call(he,We)&&Vr(ve,We,he[We]);if(Ka)for(var We of Ka(he))ei.call(he,We)&&Vr(ve,We,he[We]);return ve};function ko(ve){const he=create(ve,{initialReducer:{},setupApp(){}}),We=he.start;return he.router=tt,he.start=Rt,he;function tt(Wt){he._router=Wt}function Rt(Wt){if(typeof Wt!="undefined")throw new Error("dva.start() should not be called with any arguments.");he._store||We.call(he);const tr=he._store,Ar=he._router;return _r=>React.createElement(Provider,{store:tr},Ar(wo({app:he},_r)))}}},48335:function(i,d,e){"use strict";e.d(d,{fi:function(){return g},m8:function(){return p}});var t=e(19340),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(I,E,A)=>E in I?r(I,E,{enumerable:!0,configurable:!0,writable:!0,value:A}):I[E]=A,f=(I,E)=>{for(var A in E||(E={}))u.call(E,A)&&o(I,A,E[A]);if(s)for(var A of s(E))c.call(E,A)&&o(I,A,E[A]);return I},_=(I,E)=>n(I,a(E));let p,x="/";function g(I){let E;return I.type==="hash"?E=(0,t.q_)():I.type==="memory"?E=(0,t.PP)(I):E=(0,t.lX)(),I.basename&&(x=I.basename),p=_(f({},E),{push(A,R){E.push(O(A,E),R)},replace(A,R){E.replace(O(A,E),R)},get location(){return E.location},get action(){return E.action}}),E}function P(I){I&&(p=I)}function O(I,E){if(typeof I=="string")return`${S(x)}${I}`;if(typeof I=="object"){const A=E.location.pathname;return _(f({},I),{pathname:I.pathname?`${S(x)}${I.pathname}`:A})}else throw new Error(`Unexpected to: ${I}`)}function S(I){return I.slice(-1)==="/"?I.slice(0,-1):I}},62510:function(i,d,e){"use strict";e.d(d,{gD:function(){return Er},We:function(){return wt}});var t={};e.r(t),e.d(t,{dva:function(){return f}});var r={};e.r(r),e.d(r,{innerProvider:function(){return fe}});var n={};e.r(n),e.d(n,{rootContainer:function(){return At}});var a={};e.r(a),e.d(a,{dataflowProvider:function(){return _t}});var s={};e.r(s),e.d(s,{i18nProvider:function(){return er}});var u=e(6767),c=e(66649),o=e.n(c);o().locale("ZH-cn");const f={config:{onError(qe){u.ZP.error(qe.message,3)}}};var _=e(59301),p=e(12708),x=e.n(p),g=e(12373),P=e.n(g),O=e(44520),S=e.n(O),I=e(19747),E=e.n(I);function A(){return A=Object.assign||function(qe){for(var Ue=1;Ue=0||(Tt[Le]=qe[Le]);return Tt}var k={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},B={rel:["amphtml","canonical","alternate"]},j={type:["application/ld+json"]},V={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},H=Object.keys(k).map(function(qe){return k[qe]}),Y={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},F=Object.keys(Y).reduce(function(qe,Ue){return qe[Y[Ue]]=Ue,qe},{}),K=function(qe,Ue){for(var Le=qe.length-1;Le>=0;Le-=1){var rt=qe[Le];if(Object.prototype.hasOwnProperty.call(rt,Ue))return rt[Ue]}return null},X=function(qe){var Ue=K(qe,k.TITLE),Le=K(qe,"titleTemplate");if(Array.isArray(Ue)&&(Ue=Ue.join("")),Le&&Ue)return Le.replace(/%s/g,function(){return Ue});var rt=K(qe,"defaultTitle");return Ue||rt||void 0},Q=function(qe){return K(qe,"onChangeClientState")||function(){}},W=function(qe,Ue){return Ue.filter(function(Le){return Le[qe]!==void 0}).map(function(Le){return Le[qe]}).reduce(function(Le,rt){return A({},Le,rt)},{})},N=function(qe,Ue){return Ue.filter(function(Le){return Le[k.BASE]!==void 0}).map(function(Le){return Le[k.BASE]}).reverse().reduce(function(Le,rt){if(!Le.length)for(var Tt=Object.keys(rt),Lt=0;Lt/g,">").replace(/"/g,""").replace(/'/g,"'")},le=function(qe){return Object.keys(qe).reduce(function(Ue,Le){var rt=qe[Le]!==void 0?Le+'="'+qe[Le]+'"':""+Le;return Ue?Ue+" "+rt:rt},"")},de=function(qe,Ue){return Ue===void 0&&(Ue={}),Object.keys(qe).reduce(function(Le,rt){return Le[Y[rt]||rt]=qe[rt],Le},Ue)},He=function(qe,Ue){return Ue.map(function(Le,rt){var Tt,Lt=((Tt={key:rt})["data-rh"]=!0,Tt);return Object.keys(Le).forEach(function(gr){var yr=Y[gr]||gr;yr==="innerHTML"||yr==="cssText"?Lt.dangerouslySetInnerHTML={__html:Le.innerHTML||Le.cssText}:Lt[yr]=Le[gr]}),_.createElement(qe,Lt)})},ze=function(qe,Ue,Le){switch(qe){case k.TITLE:return{toComponent:function(){return Tt=Ue.titleAttributes,(Lt={key:rt=Ue.title})["data-rh"]=!0,gr=de(Tt,Lt),[_.createElement(k.TITLE,gr,rt)];var rt,Tt,Lt,gr},toString:function(){return function(rt,Tt,Lt,gr){var yr=le(Lt),Ur=Z(Tt);return yr?"<"+rt+' data-rh="true" '+yr+">"+se(Ur,gr)+"":"<"+rt+' data-rh="true">'+se(Ur,gr)+""}(qe,Ue.title,Ue.titleAttributes,Le)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return de(Ue)},toString:function(){return le(Ue)}};default:return{toComponent:function(){return He(qe,Ue)},toString:function(){return function(rt,Tt,Lt){return Tt.reduce(function(gr,yr){var Ur=Object.keys(yr).filter(function(_n){return!(_n==="innerHTML"||_n==="cssText")}).reduce(function(_n,on){var Fe=yr[on]===void 0?on:on+'="'+se(yr[on],Lt)+'"';return _n?_n+" "+Fe:Fe},""),bn=yr.innerHTML||yr.cssText||"",sr=ie.indexOf(rt)===-1;return gr+"<"+rt+' data-rh="true" '+Ur+(sr?"/>":">"+bn+"")},"")}(qe,Ue,Le)}}}},st=function(qe){var Ue=qe.baseTag,Le=qe.bodyAttributes,rt=qe.encode,Tt=qe.htmlAttributes,Lt=qe.noscriptTags,gr=qe.styleTags,yr=qe.title,Ur=yr===void 0?"":yr,bn=qe.titleAttributes,sr=qe.linkTags,_n=qe.metaTags,on=qe.scriptTags,Fe={toComponent:function(){},toString:function(){return""}};if(qe.prioritizeSeoTags){var Ne=function(en){var pn=en.linkTags,ha=en.scriptTags,ma=en.encode,On=G(en.metaTags,V),za=G(pn,B),ja=G(ha,j);return{priorityMethods:{toComponent:function(){return[].concat(He(k.META,On.priority),He(k.LINK,za.priority),He(k.SCRIPT,ja.priority))},toString:function(){return ze(k.META,On.priority,ma)+" "+ze(k.LINK,za.priority,ma)+" "+ze(k.SCRIPT,ja.priority,ma)}},metaTags:On.default,linkTags:za.default,scriptTags:ja.default}}(qe);Fe=Ne.priorityMethods,sr=Ne.linkTags,_n=Ne.metaTags,on=Ne.scriptTags}return{priority:Fe,base:ze(k.BASE,Ue,rt),bodyAttributes:ze("bodyAttributes",Le,rt),htmlAttributes:ze("htmlAttributes",Tt,rt),link:ze(k.LINK,sr,rt),meta:ze(k.META,_n,rt),noscript:ze(k.NOSCRIPT,Lt,rt),script:ze(k.SCRIPT,on,rt),style:ze(k.STYLE,gr,rt),title:ze(k.TITLE,{title:Ur,titleAttributes:bn},rt)}},vt=[],Je=function(qe,Ue){var Le=this;Ue===void 0&&(Ue=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(rt){Le.context.helmet=rt},helmetInstances:{get:function(){return Le.canUseDOM?vt:Le.instances},add:function(rt){(Le.canUseDOM?vt:Le.instances).push(rt)},remove:function(rt){var Tt=(Le.canUseDOM?vt:Le.instances).indexOf(rt);(Le.canUseDOM?vt:Le.instances).splice(Tt,1)}}},this.context=qe,this.canUseDOM=Ue,Ue||(qe.helmet=st({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Ke=_.createContext({}),Re=x().shape({setHelmet:x().func,helmetInstances:x().shape({get:x().func,add:x().func,remove:x().func})}),Ce=typeof document!="undefined",me=function(qe){function Ue(Le){var rt;return(rt=qe.call(this,Le)||this).helmetData=new Je(rt.props.context,Ue.canUseDOM),rt}return R(Ue,qe),Ue.prototype.render=function(){return _.createElement(Ke.Provider,{value:this.helmetData.value},this.props.children)},Ue}(_.Component);me.canUseDOM=Ce,me.propTypes={context:x().shape({helmet:x().shape()}),children:x().node.isRequired},me.defaultProps={context:{}},me.displayName="HelmetProvider";var at=function(qe,Ue){var Le,rt=document.head||document.querySelector(k.HEAD),Tt=rt.querySelectorAll(qe+"[data-rh]"),Lt=[].slice.call(Tt),gr=[];return Ue&&Ue.length&&Ue.forEach(function(yr){var Ur=document.createElement(qe);for(var bn in yr)Object.prototype.hasOwnProperty.call(yr,bn)&&(bn==="innerHTML"?Ur.innerHTML=yr.innerHTML:bn==="cssText"?Ur.styleSheet?Ur.styleSheet.cssText=yr.cssText:Ur.appendChild(document.createTextNode(yr.cssText)):Ur.setAttribute(bn,yr[bn]===void 0?"":yr[bn]));Ur.setAttribute("data-rh","true"),Lt.some(function(sr,_n){return Le=_n,Ur.isEqualNode(sr)})?Lt.splice(Le,1):gr.push(Ur)}),Lt.forEach(function(yr){return yr.parentNode.removeChild(yr)}),gr.forEach(function(yr){return rt.appendChild(yr)}),{oldTags:Lt,newTags:gr}},ct=function(qe,Ue){var Le=document.getElementsByTagName(qe)[0];if(Le){for(var rt=Le.getAttribute("data-rh"),Tt=rt?rt.split(","):[],Lt=[].concat(Tt),gr=Object.keys(Ue),yr=0;yr=0;_n-=1)Le.removeAttribute(Lt[_n]);Tt.length===Lt.length?Le.removeAttribute("data-rh"):Le.getAttribute("data-rh")!==gr.join(",")&&Le.setAttribute("data-rh",gr.join(","))}},St=function(qe,Ue){var Le=qe.baseTag,rt=qe.htmlAttributes,Tt=qe.linkTags,Lt=qe.metaTags,gr=qe.noscriptTags,yr=qe.onChangeClientState,Ur=qe.scriptTags,bn=qe.styleTags,sr=qe.title,_n=qe.titleAttributes;ct(k.BODY,qe.bodyAttributes),ct(k.HTML,rt),function(en,pn){en!==void 0&&document.title!==en&&(document.title=Z(en)),ct(k.TITLE,pn)}(sr,_n);var on={baseTag:at(k.BASE,Le),linkTags:at(k.LINK,Tt),metaTags:at(k.META,Lt),noscriptTags:at(k.NOSCRIPT,gr),scriptTags:at(k.SCRIPT,Ur),styleTags:at(k.STYLE,bn)},Fe={},Ne={};Object.keys(on).forEach(function(en){var pn=on[en],ha=pn.newTags,ma=pn.oldTags;ha.length&&(Fe[en]=ha),ma.length&&(Ne[en]=on[en].oldTags)}),Ue&&Ue(),yr(qe,Fe,Ne)},bt=null,Ie=function(qe){function Ue(){for(var rt,Tt=arguments.length,Lt=new Array(Tt),gr=0;gr elements are self-closing and can not contain children. Refer to our API for more information.")}},Le.flattenArrayTypeChildren=function(rt){var Tt,Lt=rt.child,gr=rt.arrayTypeChildren;return A({},gr,((Tt={})[Lt.type]=[].concat(gr[Lt.type]||[],[A({},rt.newChildProps,this.mapNestedChildrenToProps(Lt,rt.nestedChildren))]),Tt))},Le.mapObjectTypeChildren=function(rt){var Tt,Lt,gr=rt.child,yr=rt.newProps,Ur=rt.newChildProps,bn=rt.nestedChildren;switch(gr.type){case k.TITLE:return A({},yr,((Tt={})[gr.type]=bn,Tt.titleAttributes=A({},Ur),Tt));case k.BODY:return A({},yr,{bodyAttributes:A({},Ur)});case k.HTML:return A({},yr,{htmlAttributes:A({},Ur)});default:return A({},yr,((Lt={})[gr.type]=A({},Ur),Lt))}},Le.mapArrayTypeChildrenToProps=function(rt,Tt){var Lt=A({},Tt);return Object.keys(rt).forEach(function(gr){var yr;Lt=A({},Lt,((yr={})[gr]=rt[gr],yr))}),Lt},Le.warnOnInvalidChildren=function(rt,Tt){return S()(H.some(function(Lt){return rt.type===Lt}),typeof rt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+H.join(", ")+" are allowed. Helmet does not support rendering <"+rt.type+"> elements. Refer to our API for more information."),S()(!Tt||typeof Tt=="string"||Array.isArray(Tt)&&!Tt.some(function(Lt){return typeof Lt!="string"}),"Helmet expects a string as a child of <"+rt.type+">. Did you forget to wrap your children in braces? ( <"+rt.type+">{``} ) Refer to our API for more information."),!0},Le.mapChildrenToProps=function(rt,Tt){var Lt=this,gr={};return _.Children.forEach(rt,function(yr){if(yr&&yr.props){var Ur=yr.props,bn=Ur.children,sr=D(Ur,$e),_n=Object.keys(sr).reduce(function(Fe,Ne){return Fe[F[Ne]||Ne]=sr[Ne],Fe},{}),on=yr.type;switch(typeof on=="symbol"?on=on.toString():Lt.warnOnInvalidChildren(yr,bn),on){case k.FRAGMENT:Tt=Lt.mapChildrenToProps(bn,Tt);break;case k.LINK:case k.META:case k.NOSCRIPT:case k.SCRIPT:case k.STYLE:gr=Lt.flattenArrayTypeChildren({child:yr,arrayTypeChildren:gr,newChildProps:_n,nestedChildren:bn});break;default:Tt=Lt.mapObjectTypeChildren({child:yr,newProps:Tt,newChildProps:_n,nestedChildren:bn})}}}),this.mapArrayTypeChildrenToProps(gr,Tt)},Le.render=function(){var rt=this.props,Tt=rt.children,Lt=D(rt,ft),gr=A({},Lt),yr=Lt.helmetData;return Tt&&(gr=this.mapChildrenToProps(Tt,gr)),!yr||yr instanceof Je||(yr=new Je(yr.context,yr.instances)),yr?_.createElement(Ie,A({},gr,{context:yr.value,helmetData:void 0})):_.createElement(Ke.Consumer,null,function(Ur){return _.createElement(Ie,A({},gr,{context:Ur}))})},Ue}(_.Component);Me.propTypes={base:x().object,bodyAttributes:x().object,children:x().oneOfType([x().arrayOf(x().node),x().node]),defaultTitle:x().string,defer:x().bool,encodeSpecialCharacters:x().bool,htmlAttributes:x().object,link:x().arrayOf(x().object),meta:x().arrayOf(x().object),noscript:x().arrayOf(x().object),onChangeClientState:x().func,script:x().arrayOf(x().object),style:x().arrayOf(x().object),title:x().string,titleAttributes:x().object,titleTemplate:x().string,prioritizeSeoTags:x().bool,helmetData:x().object},Me.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Me.displayName="Helmet";const ye={},fe=qe=>_.createElement(me,{context:ye},qe);var Oe=e(60840),Ee=e(44283),et=e(36237),mt=e(42191),pe=e(55056),ge=e.n(pe),lt=Object.defineProperty,Qe=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,Dt=(qe,Ue,Le)=>Ue in qe?lt(qe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):qe[Ue]=Le,Yt=(qe,Ue)=>{for(var Le in Ue||(Ue={}))Ve.call(Ue,Le)&&Dt(qe,Le,Ue[Le]);if(Qe)for(var Le of Qe(Ue))it.call(Ue,Le)&&Dt(qe,Le,Ue[Le]);return qe},Se=(qe,Ue)=>{var Le={};for(var rt in qe)Ve.call(qe,rt)&&Ue.indexOf(rt)<0&&(Le[rt]=qe[rt]);if(qe!=null&&Qe)for(var rt of Qe(qe))Ue.indexOf(rt)<0&&it.call(qe,rt)&&(Le[rt]=qe[rt]);return Le};let je=null;const Be=()=>(je||(je=wt().applyPlugins({key:"antd",type:Ee.ApplyPluginsType.modify,initialValue:Yt({},{componentSize:"middle"})})),je);function ht({children:qe}){let Ue=qe;const[Le,rt]=_.useState(()=>{const Lt=Be(),{appConfig:gr}=Lt;return Se(Lt,["appConfig"])}),Tt=Lt=>{rt(gr=>ge()({},gr,typeof Lt=="function"?Lt(gr):Lt))};return Le.prefixCls&&Oe.ZP.config({prefixCls:Le.prefixCls}),Le.iconPrefixCls&&Oe.ZP.config({iconPrefixCls:Le.iconPrefixCls}),Le.theme&&Oe.ZP.config({theme:Le.theme}),Ue=_.createElement(Oe.ZP,Yt({},Le),Ue),Ue=_.createElement(et.StyleProvider,{hashPriority:"high"},Ue),Ue=_.createElement(mt.C.Provider,{value:Tt},_.createElement(mt.S.Provider,{value:Le},Ue)),Ue}function At(qe){return _.createElement(ht,null,qe)}var ce=e(51385);function _t(qe,Ue){return _.createElement(ce.j,Ue,qe)}var qt=e(69351),Ht=e(97683),Ut=e(27813),cr=Object.defineProperty,Ze=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,ar=(qe,Ue,Le)=>Ue in qe?cr(qe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):qe[Ue]=Le,$t=(qe,Ue)=>{for(var Le in Ue||(Ue={}))dt.call(Ue,Le)&&ar(qe,Le,Ue[Le]);if(Ze)for(var Le of Ze(Ue))Mt.call(Ue,Le)&&ar(qe,Le,Ue[Le]);return qe};function pr(){var qe,Ue;const Le=getLocale();(qe=moment)!=null&&qe.locale&&moment.locale(((Ue=localeInfo[Le])==null?void 0:Ue.momentLocale)||"zh-cn"),setIntl(Le)}const Ir=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?_.useLayoutEffect:_.useEffect,Mr=qe=>{var Ue;const Le=(0,Ht.Kd)(),[rt,Tt]=_.useState(Le),[Lt,gr]=_.useState(()=>(0,Ht.lw)(rt,!0)),yr=sr=>{var _n,on;(_n=o())!=null&&_n.locale&&o().locale(((on=Ht.H8[sr])==null?void 0:on.momentLocale)||"en"),Tt(sr),gr((0,Ht.lw)(sr))};Ir(()=>(Ht.B.on(Ht.PZ,yr),()=>{Ht.B.off(Ht.PZ,yr)}),[]);const Ur=$t({},Ut.Z),bn=(0,Ht.Mg)();return _.createElement(Oe.ZP,{direction:bn,locale:((Ue=Ht.H8[rt])==null?void 0:Ue.antd)||Ur},_.createElement(Ht.eU,{value:Lt},qe.children))};function er(qe){return _.createElement(Mr,null,qe)}function Nt(qe){return qe.default?typeof qe.default=="function"?qe.default():qe.default:qe}function Kt(){return[{apply:Nt(t),path:void 0},{apply:r,path:void 0},{apply:n,path:void 0},{apply:a,path:void 0},{apply:s,path:void 0}]}function Qt(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let Cr=null;function Er(){return Cr=Ee.PluginManager.create({plugins:Kt(),validKeys:Qt()}),Cr}function wt(){return Cr}},44283:function(i,d,e){"use strict";e.d(d,{ApplyPluginsType:function(){return Ce},Link:function(){return K},Outlet:function(){return X.j3},PluginManager:function(){return me},connect:function(){return s.$j},getDvaApp:function(){return u.Q},history:function(){return at.m8},useAppData:function(){return j.Ov},useDispatch:function(){return s.I0},useLocation:function(){return X.TH},useOutletContext:function(){return X.bx},useParams:function(){return X.UO},useSearchParams:function(){return B.lr},useSelector:function(){return s.v9}});var t=e(59301),r=e(42191);function n(){return React.useContext(AntdConfigContext)}function a(){return React.useContext(AntdConfigContextSetter)}var s=e(80679),u=e(51385),c=e(97683),o=Object.defineProperty,f=Object.defineProperties,_=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,P=(fe,Oe,Ee)=>Oe in fe?o(fe,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):fe[Oe]=Ee,O=(fe,Oe)=>{for(var Ee in Oe||(Oe={}))x.call(Oe,Ee)&&P(fe,Ee,Oe[Ee]);if(p)for(var Ee of p(Oe))g.call(Oe,Ee)&&P(fe,Ee,Oe[Ee]);return fe},S=(fe,Oe)=>f(fe,_(Oe)),I=(fe,Oe)=>{var Ee={};for(var et in fe)x.call(fe,et)&&Oe.indexOf(et)<0&&(Ee[et]=fe[et]);if(fe!=null&&p)for(var et of p(fe))Oe.indexOf(et)<0&&g.call(fe,et)&&(Ee[et]=fe[et]);return Ee};const E=fe=>{var Oe=fe,{overlayClassName:Ee}=Oe,et=I(Oe,["overlayClassName"]);return React.createElement(Dropdown,O({overlayClassName:Ee},et))},A=fe=>fe.reduce((Oe,Ee)=>Ee.lang?S(O({},Oe),{[Ee.lang]:Ee}):Oe,{}),R={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},T=fe=>React.createElement(React.Fragment,null);var D=e(38329),k=e(38127),B=e(32451),j=e(25053),V=e(87296);function H(fe,Oe){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var mt=t.useRef(typeof IntersectionObserver=="function"),pe=t.useRef(null);return t.useEffect(function(){if(!(!fe.current||!mt.current||et.disabled))return pe.current=new IntersectionObserver(function(ge){var lt=(0,V.Z)(ge,1),Qe=lt[0];Oe(Qe)},Ee),pe.current.observe(fe.current),function(){var ge;(ge=pe.current)===null||ge===void 0||ge.disconnect()}},[Oe,Ee,et.disabled,fe]),pe.current}var Y=["prefetch"];function F(fe){var Oe=t.useRef(null);return t.useEffect(function(){fe&&(typeof fe=="function"?fe(Oe.current):fe.current=Oe.current)}),Oe}var K=t.forwardRef(function(fe,Oe){var Ee,et=fe.prefetch,mt=(0,k.Z)(fe,Y),pe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},ge=pe.defaultPrefetch,lt=pe.defaultPrefetchTimeout,Qe=(et===!0?"intent":et===!1?"none":et)||ge;if(!["intent","render","viewport","none"].includes(Qe))throw new Error("Invalid prefetch value ".concat(Qe," found in Link component"));var Ve=(0,j.Ov)(),it=typeof fe.to=="string"?fe.to:(Ee=fe.to)===null||Ee===void 0?void 0:Ee.pathname,Dt=t.useRef(!1),Yt=F(Oe),Se=function(ht){if(Qe==="intent"){var At=ht.target||{};At.preloadTimeout||(At.preloadTimeout=setTimeout(function(){var ce;At.preloadTimeout=null,(ce=Ve.preloadRoute)===null||ce===void 0||ce.call(Ve,it)},fe.prefetchTimeout||lt))}},je=function(ht){if(Qe==="intent"){var At=ht.target||{};At.preloadTimeout&&(clearTimeout(At.preloadTimeout),At.preloadTimeout=null)}};return(0,t.useLayoutEffect)(function(){if(Qe==="render"&&!Dt.current){var Be;(Be=Ve.preloadRoute)===null||Be===void 0||Be.call(Ve,it),Dt.current=!0}},[Qe,it]),H(Yt,function(Be){if(Be!=null&&Be.isIntersecting){var ht;(ht=Ve.preloadRoute)===null||ht===void 0||ht.call(Ve,it)}},{rootMargin:"100px"},{disabled:Qe!=="viewport"}),it?t.createElement(B.rU,(0,D.Z)({onMouseEnter:Se,onMouseLeave:je,ref:Yt},mt),fe.children):null}),X=e(35338),Q=e(8616);function W(){"use strict";W=function(){return Oe};var fe,Oe={},Ee=Object.prototype,et=Ee.hasOwnProperty,mt=Object.defineProperty||function(er,Nt,Kt){er[Nt]=Kt.value},pe=typeof Symbol=="function"?Symbol:{},ge=pe.iterator||"@@iterator",lt=pe.asyncIterator||"@@asyncIterator",Qe=pe.toStringTag||"@@toStringTag";function Ve(er,Nt,Kt){return Object.defineProperty(er,Nt,{value:Kt,enumerable:!0,configurable:!0,writable:!0}),er[Nt]}try{Ve({},"")}catch(er){Ve=function(Kt,Qt,Cr){return Kt[Qt]=Cr}}function it(er,Nt,Kt,Qt){var Cr=Nt&&Nt.prototype instanceof At?Nt:At,Er=Object.create(Cr.prototype),wt=new Ir(Qt||[]);return mt(Er,"_invoke",{value:Mt(er,Kt,wt)}),Er}function Dt(er,Nt,Kt){try{return{type:"normal",arg:er.call(Nt,Kt)}}catch(Qt){return{type:"throw",arg:Qt}}}Oe.wrap=it;var Yt="suspendedStart",Se="suspendedYield",je="executing",Be="completed",ht={};function At(){}function ce(){}function _t(){}var qt={};Ve(qt,ge,function(){return this});var Ht=Object.getPrototypeOf,Ut=Ht&&Ht(Ht(Mr([])));Ut&&Ut!==Ee&&et.call(Ut,ge)&&(qt=Ut);var cr=_t.prototype=At.prototype=Object.create(qt);function Ze(er){["next","throw","return"].forEach(function(Nt){Ve(er,Nt,function(Kt){return this._invoke(Nt,Kt)})})}function dt(er,Nt){function Kt(Cr,Er,wt,qe){var Ue=Dt(er[Cr],er,Er);if(Ue.type!=="throw"){var Le=Ue.arg,rt=Le.value;return rt&&(0,Q.Z)(rt)=="object"&&et.call(rt,"__await")?Nt.resolve(rt.__await).then(function(Tt){Kt("next",Tt,wt,qe)},function(Tt){Kt("throw",Tt,wt,qe)}):Nt.resolve(rt).then(function(Tt){Le.value=Tt,wt(Le)},function(Tt){return Kt("throw",Tt,wt,qe)})}qe(Ue.arg)}var Qt;mt(this,"_invoke",{value:function(Er,wt){function qe(){return new Nt(function(Ue,Le){Kt(Er,wt,Ue,Le)})}return Qt=Qt?Qt.then(qe,qe):qe()}})}function Mt(er,Nt,Kt){var Qt=Yt;return function(Cr,Er){if(Qt===je)throw new Error("Generator is already running");if(Qt===Be){if(Cr==="throw")throw Er;return{value:fe,done:!0}}for(Kt.method=Cr,Kt.arg=Er;;){var wt=Kt.delegate;if(wt){var qe=ar(wt,Kt);if(qe){if(qe===ht)continue;return qe}}if(Kt.method==="next")Kt.sent=Kt._sent=Kt.arg;else if(Kt.method==="throw"){if(Qt===Yt)throw Qt=Be,Kt.arg;Kt.dispatchException(Kt.arg)}else Kt.method==="return"&&Kt.abrupt("return",Kt.arg);Qt=je;var Ue=Dt(er,Nt,Kt);if(Ue.type==="normal"){if(Qt=Kt.done?Be:Se,Ue.arg===ht)continue;return{value:Ue.arg,done:Kt.done}}Ue.type==="throw"&&(Qt=Be,Kt.method="throw",Kt.arg=Ue.arg)}}}function ar(er,Nt){var Kt=Nt.method,Qt=er.iterator[Kt];if(Qt===fe)return Nt.delegate=null,Kt==="throw"&&er.iterator.return&&(Nt.method="return",Nt.arg=fe,ar(er,Nt),Nt.method==="throw")||Kt!=="return"&&(Nt.method="throw",Nt.arg=new TypeError("The iterator does not provide a '"+Kt+"' method")),ht;var Cr=Dt(Qt,er.iterator,Nt.arg);if(Cr.type==="throw")return Nt.method="throw",Nt.arg=Cr.arg,Nt.delegate=null,ht;var Er=Cr.arg;return Er?Er.done?(Nt[er.resultName]=Er.value,Nt.next=er.nextLoc,Nt.method!=="return"&&(Nt.method="next",Nt.arg=fe),Nt.delegate=null,ht):Er:(Nt.method="throw",Nt.arg=new TypeError("iterator result is not an object"),Nt.delegate=null,ht)}function $t(er){var Nt={tryLoc:er[0]};1 in er&&(Nt.catchLoc=er[1]),2 in er&&(Nt.finallyLoc=er[2],Nt.afterLoc=er[3]),this.tryEntries.push(Nt)}function pr(er){var Nt=er.completion||{};Nt.type="normal",delete Nt.arg,er.completion=Nt}function Ir(er){this.tryEntries=[{tryLoc:"root"}],er.forEach($t,this),this.reset(!0)}function Mr(er){if(er||er===""){var Nt=er[ge];if(Nt)return Nt.call(er);if(typeof er.next=="function")return er;if(!isNaN(er.length)){var Kt=-1,Qt=function Cr(){for(;++Kt=0;--Cr){var Er=this.tryEntries[Cr],wt=Er.completion;if(Er.tryLoc==="root")return Qt("end");if(Er.tryLoc<=this.prev){var qe=et.call(Er,"catchLoc"),Ue=et.call(Er,"finallyLoc");if(qe&&Ue){if(this.prev=0;--Qt){var Cr=this.tryEntries[Qt];if(Cr.tryLoc<=this.prev&&et.call(Cr,"finallyLoc")&&this.prev=0;--Kt){var Qt=this.tryEntries[Kt];if(Qt.finallyLoc===Nt)return this.complete(Qt.completion,Qt.afterLoc),pr(Qt),ht}},catch:function(Nt){for(var Kt=this.tryEntries.length-1;Kt>=0;--Kt){var Qt=this.tryEntries[Kt];if(Qt.tryLoc===Nt){var Cr=Qt.completion;if(Cr.type==="throw"){var Er=Cr.arg;pr(Qt)}return Er}}throw new Error("illegal catch attempt")},delegateYield:function(Nt,Kt,Qt){return this.delegate={iterator:Mr(Nt),resultName:Kt,nextLoc:Qt},this.method==="next"&&(this.arg=fe),ht}},Oe}var N=e(63579);function J(fe,Oe,Ee,et,mt,pe,ge){try{var lt=fe[pe](ge),Qe=lt.value}catch(Ve){Ee(Ve);return}lt.done?Oe(Qe):Promise.resolve(Qe).then(et,mt)}function M(fe){return function(){var Oe=this,Ee=arguments;return new Promise(function(et,mt){var pe=fe.apply(Oe,Ee);function ge(Qe){J(pe,et,mt,ge,lt,"next",Qe)}function lt(Qe){J(pe,et,mt,ge,lt,"throw",Qe)}ge(void 0)})}}var Z=e(99227);function G(fe,Oe){var Ee=typeof Symbol!="undefined"&&fe[Symbol.iterator]||fe["@@iterator"];if(!Ee){if(Array.isArray(fe)||(Ee=(0,Z.Z)(fe))||Oe&&fe&&typeof fe.length=="number"){Ee&&(fe=Ee);var et=0,mt=function(){};return{s:mt,n:function(){return et>=fe.length?{done:!0}:{done:!1,value:fe[et++]}},e:function(Ve){throw Ve},f:mt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var pe=!0,ge=!1,lt;return{s:function(){Ee=Ee.call(fe)},n:function(){var Ve=Ee.next();return pe=Ve.done,Ve},e:function(Ve){ge=!0,lt=Ve},f:function(){try{!pe&&Ee.return!=null&&Ee.return()}finally{if(ge)throw lt}}}}var ee=e(73825);function ie(fe){if(typeof Symbol!="undefined"&&fe[Symbol.iterator]!=null||fe["@@iterator"]!=null)return Array.from(fe)}var se=e(66160);function le(fe){return(0,ee.Z)(fe)||ie(fe)||(0,Z.Z)(fe)||(0,se.Z)()}function de(fe,Oe){if(!(fe instanceof Oe))throw new TypeError("Cannot call a class as a function")}var He=e(89878);function ze(fe,Oe){for(var Ee=0;Ee-1,"register failed, invalid key ".concat(mt," ").concat(Ee.path?"from plugin ".concat(Ee.path):"",".")),et.hooks[mt]=(et.hooks[mt]||[]).concat(Ee.apply[mt])})}},{key:"getHooks",value:function(Ee){var et=Ee.split("."),mt=le(et),pe=mt[0],ge=mt.slice(1),lt=this.hooks[pe]||[];return ge.length&&(lt=lt.map(function(Qe){try{var Ve=Qe,it=G(ge),Dt;try{for(it.s();!(Dt=it.n()).done;){var Yt=Dt.value;Ve=Ve[Yt]}}catch(Se){it.e(Se)}finally{it.f()}return Ve}catch(Se){return null}}).filter(Boolean)),lt}},{key:"applyPlugins",value:function(Ee){var et=Ee.key,mt=Ee.type,pe=Ee.initialValue,ge=Ee.args,lt=Ee.async,Qe=this.getHooks(et)||[];switch(ge&&Je((0,Q.Z)(ge)==="object","applyPlugins failed, args must be plain object."),lt&&Je(mt===Ce.modify||mt===Ce.event,"async only works with modify and event type."),mt){case Ce.modify:return lt?Qe.reduce(function(){var Ve=M(W().mark(function it(Dt,Yt){var Se;return W().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(Je(typeof Yt=="function"||(0,Q.Z)(Yt)==="object"||Re(Yt),"applyPlugins failed, all hooks for key ".concat(et," must be function, plain object or Promise.")),!Re(Dt)){Be.next=5;break}return Be.next=4,Dt;case 4:Dt=Be.sent;case 5:if(typeof Yt!="function"){Be.next=16;break}if(Se=Yt(Dt,ge),!Re(Se)){Be.next=13;break}return Be.next=10,Se;case 10:return Be.abrupt("return",Be.sent);case 13:return Be.abrupt("return",Se);case 14:Be.next=21;break;case 16:if(!Re(Yt)){Be.next=20;break}return Be.next=19,Yt;case 19:Yt=Be.sent;case 20:return Be.abrupt("return",(0,N.Z)((0,N.Z)({},Dt),Yt));case 21:case"end":return Be.stop()}},it)}));return function(it,Dt){return Ve.apply(this,arguments)}}(),Re(pe)?pe:Promise.resolve(pe)):Qe.reduce(function(Ve,it){return Je(typeof it=="function"||(0,Q.Z)(it)==="object","applyPlugins failed, all hooks for key ".concat(et," must be function or plain object.")),typeof it=="function"?it(Ve,ge):(0,N.Z)((0,N.Z)({},Ve),it)},pe);case Ce.event:return M(W().mark(function Ve(){var it,Dt,Yt,Se;return W().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:it=G(Qe),Be.prev=1,it.s();case 3:if((Dt=it.n()).done){Be.next=12;break}if(Yt=Dt.value,Je(typeof Yt=="function","applyPlugins failed, all hooks for key ".concat(et," must be function.")),Se=Yt(ge),!(lt&&Re(Se))){Be.next=10;break}return Be.next=10,Se;case 10:Be.next=3;break;case 12:Be.next=17;break;case 14:Be.prev=14,Be.t0=Be.catch(1),it.e(Be.t0);case 17:return Be.prev=17,it.f(),Be.finish(17);case 20:case"end":return Be.stop()}},Ve,null,[[1,14,17,20]])}))();case Ce.compose:return function(){return Ke({fns:Qe.concat(pe),args:ge})()}}}}],[{key:"create",value:function(Ee){var et=new fe({validKeys:Ee.validKeys});return Ee.plugins.forEach(function(mt){et.register(mt)}),et}}]),fe}(),at=e(48335);let ct=0,St=0;function bt(fe,Oe){}function Ie(fe){return JSON.stringify(fe,null,2)}function $e(fe){const Oe=fe.length>1?fe.map(ft).join(" "):fe[0];return typeof Oe=="object"?`${Ie(Oe)}`:Oe.toString()}function ft(fe){return typeof fe=="object"?`${JSON.stringify(fe)}`:fe.toString()}const Me={log(...fe){$e(fe)},info(...fe){$e(fe)},warn(...fe){$e(fe)},error(...fe){$e(fe)},group(){St++},groupCollapsed(){St++},groupEnd(){St&&--St},clear(){},trace(...fe){console.trace(...fe)},profile(...fe){console.profile(...fe)},profileEnd(...fe){console.profileEnd(...fe)}},ye=()=>{}},42191:function(i,d,e){"use strict";e.d(d,{C:function(){return n},S:function(){return r}});var t=e(59301);const r=t.createContext(null),n=t.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},51385:function(i,d,e){"use strict";e.d(d,{j:function(){return vl},Q:function(){return Dl}});var t=e(80679),r=e(89880),n=e.n(r),a=e(59301),s=e(44283),u=e(48404),c=Object.defineProperty,o=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,p=(m,y,b)=>y in m?c(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,x=(m,y)=>{for(var b in y||(y={}))f.call(y,b)&&p(m,b,y[b]);if(o)for(var b of o(y))_.call(y,b)&&p(m,b,y[b]);return m},P={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:m},{call:y,put:b}){return yield y(u.n1,m)},*appplySchool({payload:m},{call:y,put:b}){return yield y(u.bz,m)},*getSchoolOption({payload:m},{call:y,put:b}){return yield y(u.GY,m)},*getDepartmentOption({payload:m},{call:y,put:b}){return yield y(u.Ql,m)},*appplyDepartment({payload:m},{call:y,put:b}){return yield y(u.Zm,m)},*updateAccount({payload:m},{call:y,put:b}){return yield y(u.sG,m)},*cancelRealNameAuth({payload:m},{call:y,put:b}){return yield y(u.P,m)},*cancelProfessionalAuth({payload:m},{call:y,put:b}){return yield y(u.$f,m)},*applyProfessionalAuth({payload:m},{call:y,put:b}){return yield y(u.Ow,m)},*applyRealNameAuth({payload:m},{call:y,put:b}){return yield y(u.ht,m)},*getCode({payload:m},{call:y,put:b}){return yield y(u.Cq,m)},*bindPhone({payload:m},{call:y,put:b}){return yield y(u.eF,m)},*bindEmail({payload:m},{call:y,put:b}){return yield y(u.I8,m)},*updatePassword({payload:m},{call:y,put:b}){return yield y(u.gQ,m)},*unbindAccount({payload:m},{call:y,put:b}){return yield y(u.wi,m)},*getBasicInfo({payload:m},{call:y,put:b}){const z=yield y(u.o9,m);return yield b({type:"save",payload:{basicInfo:x({},z)}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:x({},m)}})}},reducers:{save(m,y){return x(x({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},O=e(69891),S=Object.defineProperty,I=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,R=(m,y,b)=>y in m?S(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,T=(m,y)=>{for(var b in y||(y={}))E.call(y,b)&&R(m,b,y[b]);if(I)for(var b of I(y))A.call(y,b)&&R(m,b,y[b]);return m},k={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:m,callback:y},{call:b,put:z}){return yield b(O.nZ,m)},*informUp({payload:m,callback:y},{call:b,put:z}){return yield b(O.TO,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:T({},m)}})}},reducers:{save(m,y){return T(T({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},B=e(52078),j=Object.defineProperty,V=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,F=(m,y,b)=>y in m?j(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,K=(m,y)=>{for(var b in y||(y={}))H.call(y,b)&&F(m,b,y[b]);if(V)for(var b of V(y))Y.call(y,b)&&F(m,b,y[b]);return m},Q={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:m,callback:y},{call:b,put:z}){const oe=yield b(B.SV,m);return yield z({type:"save",payload:{allList:K({},oe)}}),oe},*mineAttachment({payload:m,callback:y},{call:b,put:z}){const oe=yield b(B.zI,m);return yield z({type:"save",payload:{mineList:K({},oe)}}),oe},*fileImport({payload:m,callback:y},{call:b,put:z}){return yield b(B.tO,m)},*getDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(B.Nm,m);return yield z({type:"save",payload:{detail:K({},oe)}}),oe},*updateVisits({payload:m,callback:y},{call:b,put:z}){return yield b(B.H,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:K({},m)}})}},reducers:{save(m,y){return K(K({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},W=e(70387),N=Object.defineProperty,J=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,G=(m,y,b)=>y in m?N(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,ee=(m,y)=>{for(var b in y||(y={}))M.call(y,b)&&G(m,b,y[b]);if(J)for(var b of J(y))Z.call(y,b)&&G(m,b,y[b]);return m},se={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(W.yq,m);return yield z({type:"save",payload:{boardsCategoryList:ee({},oe.data)}}),oe.data},*getBoardsDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(W.dI,m);return yield z({type:"save",payload:{boardsDetail:ee({},oe.data)}}),oe.data},*setTopping({payload:m,callback:y},{call:b,put:z}){return yield b(W.cc,m)},*escTopping({payload:m,callback:y},{call:b,put:z}){return yield b(W.CJ,m)},*getReplyList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(W.PC,m);yield z({type:"save",payload:{replyList:ee({},oe.data)}})},*createReply({payload:m,callback:y},{call:b,put:z}){return yield b(W.PP,m)},*replyLike({payload:m,callback:y},{call:b,put:z}){return yield b(W.NA,m)},*replyUnLike({payload:m,callback:y},{call:b,put:z}){return yield b(W.YQ,m)},*deleteReply({payload:m,callback:y},{call:b,put:z}){return yield b(W.Mf,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:ee({},m)}})}},reducers:{save(m,y){return ee(ee({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},le=e(84849),de=Object.defineProperty,He=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,vt=(m,y,b)=>y in m?de(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Je=(m,y)=>{for(var b in y||(y={}))ze.call(y,b)&&vt(m,b,y[b]);if(He)for(var b of He(y))st.call(y,b)&&vt(m,b,y[b]);return m},Re={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.$Q,m);return yield z({type:"save",payload:{ScoreRangesData:oe==null?void 0:oe.data}}),oe},*getQuestionResult({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le._U,m);return yield z({type:"save",payload:{NormalResult:oe}}),oe},*getUserExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.xA,m);return yield z({type:"save",payload:{userExerciseList:Je({},(oe==null?void 0:oe.data)||{})}}),console.log("getUserExercise-res:",oe),oe==null?void 0:oe.data},*getExerciseIdentityPhotos({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.J,m);return yield z({type:"save",payload:{exerciseIdentityPhotos:Je({},(oe==null?void 0:oe.data)||{})}}),oe==null?void 0:oe.data},*getExerciseExportHeadData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.iw,m);return yield z({type:"save",payload:{exerciseExportHeadData:Je({},oe)}}),oe},*getExerciseUserInfo({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.Ty,m);return(oe==null?void 0:oe.status)===0&&(yield z({type:"save",payload:Je({},{exerciseUserInfo:Je({},oe.data)})})),oe},*getExaminationIntelligentSettings({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.sA,m);return yield z({type:"save",payload:{examinationIntelligentSettings:Je({},oe)}}),oe},*getRandomEditExercises({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.yu,m);return yield z({type:"save",payload:{editRandomExercises:Je({},oe)}}),oe},*getExerciseList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.G$,m);if(oe!=null&&oe.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(oe.total_exercise_users)}catch(mr){}return yield z({type:"save",payload:{exerciseList:Je({},oe)}}),yield z({type:"save",payload:{order_type:m.order_type,order:m.order}}),oe},*getExerciseStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le._u,m);return yield z({type:"save",payload:{statisticsList:Je({},oe)}}),oe},*getBrankList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.n$,m);return yield z({type:"save",payload:{brankList:Je({},oe)}}),oe},*saveBanks({payload:m,callback:y},{call:b,put:z}){return yield b(le.lf,m)},*getExerciseCourses({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.N3,m);return yield z({type:"save",payload:{exerciseCoursesList:Je({},oe)}}),oe},*addExercise({payload:m,callback:y},{call:b,put:z}){return yield b(le.uR,m)},*editExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.qf,m);return yield z({type:"save",payload:{editData:Je({},oe)}}),oe},*getTagDiscipline({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.YY,m);return yield z({type:"save",payload:{tagDisciplineData:Je({},oe)}}),oe},*editExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(le.Di,m)},*addExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(le.MK,m)},*exeriseMoveUpDown({payload:m,callback:y},{call:b,put:z}){return yield b(le.GK,m)},*getEndGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.KE,m);return yield z({type:"save",payload:{endGroups:Je({},oe)}}),oe},*getPublishGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.ux,m);return yield z({type:"save",payload:{publishGroups:Je({},oe)}}),oe},*getCommonHeader({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.UK,m);return yield z({type:"save",payload:{commonHeader:Je({},oe)}}),oe},*setCommonHeader({payload:m,callback:y},{call:b,put:z,select:oe}){const mr=yield oe(dr=>{var Nn;return((Nn=dr==null?void 0:dr.exercise)==null?void 0:Nn.commonHeader)||{}});yield z({type:"save",payload:{commonHeader:Je(Je({},mr),m)}})},*getReviewExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.BJ,m);return yield z({type:"save",payload:{reviewExercise:Je({},oe)}}),oe},*postReviewExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.pu,m);return yield z({type:"save",payload:{reviewExercise:Je({},oe)}}),oe},*getCentralizeReviewExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.X4,m);return yield z({type:"save",payload:{reviewExercise:Je({},oe)}}),oe},*clearData({payload:m,callback:y},{call:b,put:z}){yield z({type:"save",payload:{[m.key]:{}}})},*getReviewGroupExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.W4,m);return yield z({type:"save",payload:{reviewGroupExercise:Je({},oe)}}),oe},*getWorkSetting({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.Ul,m);return yield z({type:"save",payload:{workSetting:Je({},oe)}}),oe},*getRedoModal({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.tX,m);return yield z({type:"save",payload:{redoModal:Je({},oe)}}),oe},*getRedoListModal({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.s,m);return yield z({type:"save",payload:{redoModal:Je({},oe)}}),oe},*getCodeReviewDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.Xn,m);return yield z({type:"save",payload:{codeReviewDetail:Je({},oe)}}),oe},*changeScore({payload:m,callback:y},{call:b,put:z}){return yield b(le.gG,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Je({},m)}})},*setUpdateIndex({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateIndex:m==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:m},{call:y,put:b}){yield b({type:"save",payload:{saveExerciseDownUsers:m}})}},reducers:{save(m,y){return Je(Je({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Ce=e(79405),me=Object.defineProperty,at=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,bt=(m,y,b)=>y in m?me(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ie=(m,y)=>{for(var b in y||(y={}))ct.call(y,b)&&bt(m,b,y[b]);if(at)for(var b of at(y))St.call(y,b)&&bt(m,b,y[b]);return m},ft={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.x_,m);return yield z({type:"save",payload:{detailList:Ie({},oe)}}),oe},*getTasksListDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.QA,m);return yield z({type:"save",payload:{detailTaskList:Ie({},oe)}}),oe},*getTopisDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.B6,m);return yield z({type:"save",payload:{detail:Ie({},oe)}}),oe},*getTasksDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.y3,m);return yield z({type:"save",payload:{tasksDetail:Ie({},oe)}}),oe},*refuseTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.mM,m)},*agreeTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.je,m)},*getReplyList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.PC,m);yield z({type:"save",payload:{replyList:Ie({},oe)}})},*createReply({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.PP,m)},*replyLike({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.NA,m)},*replyUnLike({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.YQ,m)},*deleteReply({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.Mf,m)},*addTopicDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.y0,m);yield z({type:"save",payload:{addTopicData:Ie({},oe)}})},*editTopicDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.hL,m);return yield z({type:"save",payload:{editTopicData:Ie({},oe)}}),oe},*editTasksDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce._n,m);return yield z({type:"save",payload:{editTasksData:Ie({},oe)}}),oe},*addTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.Gr,m)},*editTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.wA,m)},*addTasks({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.Sv,m)},*editTasks({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.RP,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ie({},m)}})}},reducers:{save(m,y){return Ie(Ie({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Me=e(78267),ye=e(9657),fe=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,mt=(m,y,b)=>y in m?fe(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,pe=(m,y)=>{for(var b in y||(y={}))Ee.call(y,b)&&mt(m,b,y[b]);if(Oe)for(var b of Oe(y))et.call(y,b)&&mt(m,b,y[b]);return m},lt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{},aiWarningList:{}},effects:{*getAiWarningList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.IL,m);return yield z({type:"save",payload:{aiWarningList:(oe==null?void 0:oe.data)||{}}}),oe},*getWorkList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.h$,m);try{sessionStorage.all_student_works=JSON.stringify(oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(m),localStorage.setItem("all_student_works_param",JSON.stringify(m))}catch(mr){}return yield z({type:"save",payload:{workList:pe({},oe)}}),oe},*getShixunWorkHeadInfo({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.fK,m);try{}catch(mr){}return yield z({type:"save",payload:{headerInfo:oe==null?void 0:oe.data}}),oe},*getShixunWorkList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Z8,m);try{sessionStorage.all_student_works=JSON.stringify(oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(m),localStorage.setItem("all_student_works_param",JSON.stringify(m))}catch(mr){}return yield z({type:"save",payload:{shixunWorkList:oe==null?void 0:oe.data,homeworkAssistantPermissions:oe.homework_assistant_permissions,shixunAssistantPermission:oe.shixun_assistant_permission,courseAssistantPermission:oe.course_assistant_permission}}),oe},*getCodeReview({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.RP,m);return yield z({type:"save",payload:{codeReview:pe({},oe)}}),oe},*getCodeReviewDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Xn,m);return yield z({type:"save",payload:{codeReviewDetail:pe({},oe)}}),oe},*getWorkDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.to,m);return yield z({type:"save",payload:{workDetail:pe({},oe)}}),oe},*updateWork({payload:m,callback:y},{call:b,put:z}){return yield b(ye.H,m)},*getShixunWorkReport({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.sw,m);try{oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(mr){}return yield z({type:"save",payload:{shixunWorkReport:pe({},oe)}}),oe},*getShixunWorkReports({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.cz,m);try{oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(mr){}return yield z({type:"save",payload:{shixunWorkReport:pe({},oe)}}),oe},*getWorkSetting({payload:m,callback:y},{call:b,put:z}){var oe,mr;const dr=yield b(ye.Ul,m);(oe=dr==null?void 0:dr.group_settings)==null||oe.map(Xn=>{Xn.value=Xn.group_name,Xn.id=Xn.group_id,Xn.group_id=[Xn.group_id]}),(mr=dr==null?void 0:dr.allow_late_settings)==null||mr.map(Xn=>{Xn.value=Xn.group_name,Xn.id=Xn.group_id,Xn.group_id=[Xn.group_id]});const Nn={shixun_evaluation:dr.shixun_evaluation,challenge_settings:dr.challenge_settings};return yield z({type:"save",payload:{workSetting:pe({},dr),changeData:(0,Me.cloneDeep)(Nn)}}),dr},*updateSetting({payload:m,callback:y},{call:b,put:z}){return yield b(ye.m7,m)},*getCodeReviewCourse({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.JG,m);return yield z({type:"save",payload:{codeReviewCourse:pe({},oe)}}),oe},*exportShixunWorks({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Dx,m)},*getReferenceAnswer({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Q3,m);return yield z({type:"save",payload:{referenceAnswer:pe({},oe)}}),oe},*getPublishGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ux,m);return yield z({type:"save",payload:{publishGroups:pe({},oe)}}),oe},*getEndGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.KE,m);return yield z({type:"save",payload:{endGroups:pe({},oe)}}),oe},*getBrankList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.n$,m);return yield z({type:"save",payload:{brankList:pe({},oe)}}),oe},*changeScore({payload:m,callback:y},{call:b,put:z}){return yield b(ye.gG,m)},*saveBanks({payload:m,callback:y},{call:b,put:z}){return yield b(ye.lf,m)},*addCommonHomeWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Qt,m);return yield z({type:"save",payload:{commonHomeWorkAddDefaultData:pe({},oe)}}),oe},*getSearchMemberList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Lz,m);return yield z({type:"save",payload:{searchMemberList:pe({},oe)}}),oe},*getProjectList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ku,m);return yield z({type:"save",payload:{searchProjectList:pe({},oe)}}),oe},*addStudentWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ak,m);return yield z({type:"save",payload:{studentWorkAddDefaultData:pe({},oe)}}),oe},*editStudentWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.PW,m);return yield z({type:"save",payload:{studentWorkEditDefaultData:pe({},oe)}}),oe},*editCommonHomeWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.BD,m);return yield z({type:"save",payload:{commonHomeWorkEditDefaultData:pe({},oe)}}),oe},*editCommonHomeWorkDefaultBankData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.pH,m);return yield z({type:"save",payload:{commonHomeWorkEditDefaultData:pe({},oe)}}),oe},*getReplyList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.PC,m);yield z({type:"save",payload:{replyList:pe({},oe)}})},*getStudentWorkDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Hj,m);yield z({type:"save",payload:{studentWorkDetail:pe({},oe)}})},*getStudentWorkSupplyDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ub,m);yield z({type:"save",payload:{studentWorkSupplyDetail:pe({},oe)}})},*getStudentWorkCommon({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.JA,m);yield z({type:"save",payload:{studentWorkCommon:pe({},oe)}})},*getAllStudentWorks({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ql,m);return yield z({type:"save",payload:{allStudentWorks:pe({},oe)}}),oe},*getFileRepeatResult({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.oN,m);return yield z({type:"save",payload:{codeReview:pe({},oe)}}),oe},*getFileRepeatDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Ti,m);return yield z({type:"save",payload:{codeReviewDetail:pe({},oe)}}),oe},*createReply({payload:m,callback:y},{call:b,put:z}){return yield b(ye.PP,m)},*replyLike({payload:m,callback:y},{call:b,put:z}){return yield b(ye.NA,m)},*replyUnLike({payload:m,callback:y},{call:b,put:z}){return yield b(ye.YQ,m)},*deleteReply({payload:m,callback:y},{call:b,put:z}){return yield b(ye.Mf,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:pe({},m)}})}},reducers:{save(m,y){return pe(pe({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Qe=e(77996),Ve=e(15267),it=Object.defineProperty,Dt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,je=(m,y,b)=>y in m?it(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Be=(m,y)=>{for(var b in y||(y={}))Yt.call(y,b)&&je(m,b,y[b]);if(Dt)for(var b of Dt(y))Se.call(y,b)&&je(m,b,y[b]);return m},At={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailSmartPlanList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},SmartPlanInfo:{},SmartPlanItemBanks:{},updateData:"",courseAiData:{have_tiding:!1,is_open_ai:!1,name:""}},effects:{*setCourseAiState({payload:m},{call:y,put:b,select:z}){yield y(Qe.zC,m),yield b({type:"getCourseAiData",payload:m})},*getCourseAiData({payload:m},{call:y,put:b}){yield b({type:"user/getUserInfo",payload:m})},*setAssistantPermissions({payload:m},{call:y,put:b}){yield y(Qe.gq,m)},*getAssistantPermissions({payload:m},{call:y,put:b}){if(!(0,Ve.eB)())return;const z=yield y(Qe.rS,m);yield b({type:"save",payload:{AssistantObject:z.permissions}})},*getSmartPlanInfo({payload:m},{call:y,put:b}){const z=yield y(Qe.wH,m);yield b({type:"save",payload:{SmartPlanInfo:z==null?void 0:z.data}})},*getSmartPlanItemBanks({payload:m},{call:y,put:b}){const z=yield y(Qe.l4,m);yield b({type:"save",payload:{SmartPlanItemBanks:z==null?void 0:z.data}})},*getClassroom({payload:m},{call:y,put:b}){const z=m,oe=yield y(Qe.V8,m);return yield b({type:"save",payload:Be({listParams:z},oe)}),oe},*getClassroomTopBanner({payload:m},{call:y,put:b}){const z=yield y(Qe.U_,m);return yield b({type:"save",payload:{detailTopBanner:z.status?{copy_completed:!0}:Be({},z)}}),z.status?{copy_completed:!0}:z},*getClassroomLeftMenus({payload:m},{call:y,put:b}){const z=yield y(Qe.w9,m);let oe=[...(z==null?void 0:z.course_modules)||[],...(z==null?void 0:z.hidden_modules)||[]],mr={};return oe==null||oe.forEach(dr=>{mr[dr.type]=dr.name}),yield b({type:"save",payload:{detailLeftMenus:Be({},z),detailLeftMenusNames:mr}}),z},*getClassroomShixunsList({payload:m},{call:y,put:b}){const z=yield y(Qe.Nd,m);yield b({type:"save",payload:{detailShixunsList:Be({},z)}})},*getClassroomTeacherShixunsList({payload:m},{call:y,put:b}){const z=yield y(Qe.Gk,m);return yield b({type:"save",payload:{detailShixunsList:Be({},z)}}),z},*getClassroomCommonList({payload:m},{call:y,put:b}){const z=yield y(Qe.Nd,m);yield b({type:"save",payload:{detailCommonHomeworksList:Be({},z)}})},*getClassroomTeacherCommonList({payload:m},{call:y,put:b}){const z=yield y(Qe.Gk,m);return yield b({type:"save",payload:{detailCommonHomeworksList:Be({},z)}}),z},*getClassroomGraduationTopicsList({payload:m},{call:y,put:b}){const z=yield y(Qe.yV,m);yield b({type:"save",payload:{detailGraduationTopicsList:Be({},z)}})},*getClassroomGraduationTaskList({payload:m},{call:y,put:b}){const z=yield y(Qe.R2,m);yield b({type:"save",payload:{detailGraduationTaskList:Be({},z)}})},*getClassroomExercisesList({payload:m},{call:y,put:b}){const z=yield y(Qe.N7,m);yield b({type:"save",payload:{detailExerciseList:Be({},z)}})},*getClassroomPollsList({payload:m},{call:y,put:b}){const z=yield y(Qe.BR,m);yield b({type:"save",payload:{detailPollsList:Be({},z)}})},*getSmartPlans({payload:m},{call:y,put:b}){const z=yield y(Qe.Ew,m);yield b({type:"save",payload:{detailSmartPlanList:Be({},z)}})},*getCourseGroups({payload:m},{call:y,put:b}){const z=yield y(Qe.qB,m);yield b({type:"save",payload:{courseGroups:Be({},z)}})},*getAllCourseGroup({payload:m},{call:y,put:b}){const z=yield y(Qe.c_,m);return yield b({type:"save",payload:{allCourseGroups:Be({},z)}}),z},*getClassroomCommonHomeworksList({payload:m},{call:y,put:b}){const z=yield y(Qe.Al,m);yield b({type:"save",payload:{detailCommonHomeworksList:Be({},z)}})},*getClassroomAttendancesList({payload:m},{call:y,put:b}){const z=yield y(Qe.Vw,m);yield b({type:"save",payload:{detailAttendancesList:Be({},z)}})},*getClassroomAttendancesStatistic({payload:m},{call:y,put:b}){const z=yield y(Qe.Ls,m);yield b({type:"save",payload:{detailAttendancesStatistic:Be({},z)}})},*getAttendanceDetail({payload:m},{call:y,put:b}){const z=yield y(Qe.zg,m);return yield b({type:"save",payload:{detailAttendancesDetail:Be({},z)}}),z},*getAnnouncementList({payload:m},{call:y,put:b}){const z=yield y(Qe.QZ,m);yield b({type:"save",payload:{detailAnnouncementList:Be({},z)}})},*getAttachmentList({payload:m},{call:y,put:b}){const z=yield y(Qe.KT,m);yield b({type:"save",payload:{detailAttachmentList:Be({},z.data)}})},*getCourseware({payload:m},{call:y,put:b}){const z=yield y(Qe.ZT,m);yield b({type:"save",payload:{detailCourseware:Be({},z.data)}})},*getVideoList({payload:m},{call:y,put:b}){const z=yield y(Qe.O3,m);yield b({type:"save",payload:{detailVideoList:Be({},z)}})},*getLiveVideoList({payload:m},{call:y,put:b}){const z=yield y(Qe.DJ,m);yield b({type:"save",payload:{detailLiveVideoList:Be({},z)}})},*getCoursesMine({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.Ed,m);return yield z({type:"save",payload:{courseMine:Be({},oe)}}),oe.data},*getBoardList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.KP,m);return yield z({type:"save",payload:{detailBoardList:Be({},oe.data)}}),oe.data},*getCourseGroupsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.kW,m);return yield z({type:"save",payload:{detailCourseGroupsList:Be({},oe)}}),oe},*getCourseStudentsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.J2,m);return yield z({type:"save",payload:{detailCoursStudentsList:Be({},oe)}}),oe.data},*getCourseStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.g4,m);return yield z({type:"save",payload:{detailCourseStatisticsList:Be({},oe)}}),oe},*getCourseActscore({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.t1,m);return yield z({type:"save",payload:{detailCourseActscore:Be({},oe)}}),oe},*getCourseWorkscore({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.GV,m);return yield z({type:"save",payload:{detailCourseWorkscore:Be({},oe)}}),oe},*getShixunLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.Pj,m);return yield z({type:"save",payload:{shixunLists:Be({},oe)}}),oe},*getExperimentLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe._9,m);return yield z({type:"save",payload:{shixunLists:Be({},oe)}}),oe},*getShixunAiRecommendLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.Hn,m);return yield z({type:"save",payload:{shixunAiRecommendLists:Be({},oe)}}),oe},*getCoursesLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.W7,m);return yield z({type:"save",payload:{coursesLists:Be({},oe)}}),oe},*createCoursesHomework({payload:m,callback:y},{call:b,put:z}){return yield b(Qe.Ds,m)},*createShixunHomework({payload:m,callback:y},{call:b,put:z}){return yield b(Qe.aQ,m)},*createExperiment({payload:m,callback:y},{call:b,put:z}){return yield b(Qe.BQ,m)},*getSchoolList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.K$,m);return yield z({type:"save",payload:{schoolList:Be({},oe.school_names)}}),oe.school_names},*searchSchoolTeacherList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.nQ,m);return yield z({type:"save",payload:{searchMemberList:Be({},oe)}}),oe},*getAllTaskList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.km,m);return yield z({type:"save",payload:{taskList:[...oe.tasks]}}),oe},*updateTaskPosition({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.U8,m);return yield z({type:"save",payload:{actionTabs:{key:""}}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Be({},m)}})},*setUpdateData({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateData:m}})}},reducers:{save(m,y){return Be(Be({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},ce=Object.defineProperty,_t=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Ut=(m,y,b)=>y in m?ce(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,cr=(m,y)=>{for(var b in y||(y={}))qt.call(y,b)&&Ut(m,b,y[b]);if(_t)for(var b of _t(y))Ht.call(y,b)&&Ut(m,b,y[b]);return m},dt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:m},{call:y,put:b}){const z=yield y(Qe.K$,m);yield b({type:"save",payload:{schoolList:(z==null?void 0:z.school_names)||[]}})},*getSearchCourseList({payload:m},{call:y,put:b}){const z=yield y(Qe.oM,m);yield b({type:"save",payload:{searchCourseList:(z==null?void 0:z.course_lists)||[]}})},*submitCourses({payload:m},{call:y,put:b}){return yield y(Qe.Bn,m)},*appplySchool({payload:m},{call:y,put:b}){return yield y(Qe.bz,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:cr({},m)}})},*joincoursegroup({payload:m},{call:y,put:b}){return yield y(Qe.WK,m)}},reducers:{save(m,y){return cr(cr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Mt=Object.defineProperty,ar=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,Ir=(m,y,b)=>y in m?Mt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Mr=(m,y)=>{for(var b in y||(y={}))$t.call(y,b)&&Ir(m,b,y[b]);if(ar)for(var b of ar(y))pr.call(y,b)&&Ir(m,b,y[b]);return m},Nt={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:m},{call:y,put:b}){const z=yield y(Qe.Dd,m);yield b({type:"save",payload:{CourseUseInfos:z}})},*getRankList({payload:m},{call:y,put:b}){const z=yield y(Qe.Fg,m);yield b({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(z==null?void 0:z.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(z==null?void 0:z.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(z==null?void 0:z.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(z==null?void 0:z.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(z==null?void 0:z.finish_course_list)||[]]}}})},*getStatisticsBody({payload:m},{call:y,put:b}){const z=yield y(Qe.Gz,m);yield b({type:"save",payload:{SBody:z}})},*getStatisticsHeader({payload:m},{call:y,put:b}){const z=yield y(Qe.Hl,m);yield b({type:"save",payload:{SHeader:z}})}},reducers:{save(m,y){return Mr(Mr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Kt=e(92216),Qt=Object.defineProperty,Cr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,qe=(m,y,b)=>y in m?Qt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ue=(m,y)=>{for(var b in y||(y={}))Er.call(y,b)&&qe(m,b,y[b]);if(Cr)for(var b of Cr(y))wt.call(y,b)&&qe(m,b,y[b]);return m},rt={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.s3,m);return yield z({type:"save",payload:{pollsList:Ue({},oe)}}),oe},*getCommonHeader({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.UK,m);return yield z({type:"save",payload:{commonHeader:Ue({},oe)}}),oe},*getPollsStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Qn,m);return yield z({type:"save",payload:{statisticsList:Ue({},oe)}}),oe},*getBrankList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.n$,m);return yield z({type:"save",payload:{brankList:Ue({},oe)}}),oe},*saveBanks({payload:m,callback:y},{call:b,put:z}){return yield b(Kt.lf,m)},*getPollsCourses({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Q9,m);return yield z({type:"save",payload:{pollsCoursesList:Ue({},oe)}}),oe},*getPollsSetting({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Hi,m);return yield z({type:"save",payload:{pollSetting:Ue({},oe)}}),oe},*editPolls({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Ye,m);return yield z({type:"save",payload:{editData:Ue({},JSON.parse(JSON.stringify(oe)))}}),oe},*getEndGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.KE,m);return yield z({type:"save",payload:{endGroups:Ue({},oe)}}),oe},*getPublishGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.ux,m);return yield z({type:"save",payload:{publishGroups:Ue({},oe)}}),oe},*getExerciseBanks({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.kp,m);return yield z({type:"save",payload:{exerciseBanks:Ue({},oe)}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ue({},m)}})}},reducers:{save(m,y){return Ue(Ue({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Tt=e(9168),Lt=Object.defineProperty,gr=Object.getOwnPropertySymbols,yr=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,bn=(m,y,b)=>y in m?Lt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,sr=(m,y)=>{for(var b in y||(y={}))yr.call(y,b)&&bn(m,b,y[b]);if(gr)for(var b of gr(y))Ur.call(y,b)&&bn(m,b,y[b]);return m},on={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}}},effects:{*getList({payload:m},{call:y,put:b}){var z;const oe=yield y(Tt.gp,m);return(z=oe==null?void 0:oe.teacher_list)==null||z.map(mr=>(mr.key=mr.course_member_id,mr)),yield b({type:"save",payload:{list:oe}}),oe},*getStudentsList({payload:m},{call:y,put:b}){var z;const oe=yield y(Tt.ur,m);return(z=oe==null?void 0:oe.students)==null||z.map(mr=>(mr.key=mr.user_id,mr)),yield b({type:"save",payload:{studentsList:oe}}),oe},*getApplyList({payload:m},{call:y,put:b}){const z=yield y(Tt.s,m);return yield b({type:"save",payload:{applyList:z}}),z},*getAllCourseGroups({payload:m},{call:y,put:b}){const z=yield y(Tt.xV,m);return yield b({type:"save",payload:{allCourseGroups:z}}),z},*getGraduationGroupList({payload:m},{call:y,put:b}){const z=yield y(Tt.Bg,m);return yield b({type:"save",payload:{graduationGroupList:z}}),z},*setAllCourseGroups({payload:m},{call:y,put:b}){const z=yield y(Tt.oZ,m);return yield b({type:"save",payload:{setAllCourseGroups:z}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:sr({},m)}})}},reducers:{save(m,y){return sr(sr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Fe=e(60269),Ne=Object.defineProperty,en=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,ma=(m,y,b)=>y in m?Ne(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,On=(m,y)=>{for(var b in y||(y={}))pn.call(y,b)&&ma(m,b,y[b]);if(en)for(var b of en(y))ha.call(y,b)&&ma(m,b,y[b]);return m},ja={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.BQ,m);return yield z({type:"save",payload:{videoStatisticsList:On({},oe)}}),oe},*getNewVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.cU,m);return yield z({type:"save",payload:{newVideoStatisticsList:On({},oe)}}),oe},*getVideoPeopleStatics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.Zx,m);return yield z({type:"save",payload:{videoPeopleStatics:On({},oe)}}),oe},*getVideoDurationStatics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.Mz,m);return yield z({type:"save",payload:{videoDurationStatics:On({},oe)}}),oe},*getVideoStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.ZY,m);return yield z({type:"save",payload:{videoStatistics:On({},oe)}}),oe},*getOneVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.cU,m);return yield z({type:"save",payload:{oneVideoStatisticsList:On({},oe)}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:On({},m)}})},*getStudentVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.Vg,m);return yield z({type:"save",payload:{StudentvideoStatistics:On({},oe)}}),oe}},reducers:{save(m,y){return On(On({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},gn=e(46831),Va=Object.defineProperty,va=Object.getOwnPropertySymbols,_o=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Ja=(m,y,b)=>y in m?Va(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Za=(m,y)=>{for(var b in y||(y={}))_o.call(y,b)&&Ja(m,b,y[b]);if(va)for(var b of va(y))no.call(y,b)&&Ja(m,b,y[b]);return m},ya={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:m,callback:y},{call:b,put:z}){return yield b(gn.cC,m)},*getGuides({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.Ax,m);return yield z({type:"save",payload:{GuidesData:oe}}),oe},*getWorkSubmitUpdateRes({payload:m,callback:y},{call:b,put:z}){return yield b(gn.zF,m)},*getList({payload:m},{call:y,put:b}){const z=m,oe=yield y(gn.bQ,m);return yield b({type:"save",payload:Za({listParams:z},oe)}),oe},*getMemberWorks({payload:m},{call:y,put:b}){const z=yield y(gn.xx,m);return yield b({type:"save",payload:{MemberWorks:z||{}}}),z},*addApplytojoincourse({payload:m,callback:y},{call:b,put:z}){return yield b(gn.qS,m)},*competitionTeams({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Pt,m)},*getStaff({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.Dh,m);return yield z({type:"save",payload:{Staff:oe}}),oe},*getHeader({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.Pg,m);return yield z({type:"save",payload:{Header:oe}}),oe},*getItem({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.rV,m);return yield z({type:"save",payload:{RightItems:oe}}),oe},*updateMdContent({payload:m,callback:y},{call:b,put:z}){return yield b(gn.zj,m)},*getTeamList({payload:m,callback:y},{call:b,put:z}){return yield b(gn.aq,m)},*getTeamDetail({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Ze,m)},*UpTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.yS,m)},*DeleteTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.ps,m)},*ExitTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.vV,m)},*AddTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.FU,m)},*AddPersonnel({payload:m,callback:y},{call:b,put:z}){return yield b(gn.R9,m)},*JoinTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.zc,m)},*getTeacher({payload:m,callback:y},{call:b,put:z}){return yield b(gn.jS,m)},*getStudents({payload:m,callback:y},{call:b,put:z}){return yield b(gn.sK,m)},*SubmitTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.rm,m)},*Reward({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Qp,m)},*ChartRules({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Ux,m)},*Charts({payload:m,callback:y},{call:b,put:z}){return yield b(gn.GQ,m)},*TabResults({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.ml,m);return yield z({type:"save",payload:{TabResultList:oe}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Za({},m)}})},*Results({payload:m,callback:y},{call:b,put:z}){return yield b(gn.u9,m)},*Prize({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.pU,m);return yield z({type:"save",payload:{Prizes:oe}}),oe},*Accounts({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.XJ,m);return yield z({type:"save",payload:{Account:oe}}),oe},*getVerification({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Ni,m)},*PhoneBind({payload:m,callback:y},{call:b,put:z}){return yield b(gn.uZ,m)},*EmailBind({payload:m,callback:y},{call:b,put:z}){return yield b(gn.rk,m)},*Authentication({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Vy,m)},*Professional({payload:m,callback:y},{call:b,put:z}){return yield b(gn.tC,m)},*setleader({payload:m,callback:y},{call:b,put:z}){return yield b(gn.tO,m)},*getShixun({payload:m,callback:y},{call:b,put:z}){return yield b(gn.qj,m)},*getCourse({payload:m,callback:y},{call:b,put:z}){return yield b(gn.XR,m)},*competition_teams({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.zz,m);return yield z({type:"save",payload:{competition_team:oe}}),oe},*all_team_members({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.$P,m);return yield z({type:"save",payload:{all_team_member:oe}}),oe}},reducers:{save(m,y){return Za(Za({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},na=e(54926),En=e(32503),wa=Object.defineProperty,Pe=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,aa=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable,Wa=(m,y,b)=>y in m?wa(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ha=(m,y)=>{for(var b in y||(y={}))yo.call(y,b)&&Wa(m,b,y[b]);if(aa)for(var b of aa(y))ai.call(y,b)&&Wa(m,b,y[b]);return m},De=(m,y)=>Pe(m,$n(y)),Xe={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ha({},m)}})},*getMajorList({payload:m},{call:y,put:b,select:z}){const{userInfo:oe}=yield z(mr=>mr.user);if(oe!=null&&oe.school_id){const mr=yield y(na.BA,oe.school_id);mr&&mr.data&&(yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:mr.data.map(dr=>({label:dr.name,value:dr.ec_major_school_id}))}}))}},*getYearList({payload:m},{call:y,put:b}){const z=yield y(na.Nx,m);z&&z.data&&(yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:z.data.map(oe=>({label:oe.year,value:oe.ec_year_id}))}}))},*getCourseResultDetail({payload:m},{call:y,put:b}){console.log(m,"payload");const z=yield y(na.p1,m);z&&z.ec_course_target&&(yield b({type:"setEchartsData",payload:z}))},*getCourseResultDetailClass({payload:m},{call:y,put:b}){const z=yield y(na.ff,m);z&&z.class_name&&(yield b({type:"save",payload:{classDataSource:{active:null,dataList:[...z.class_name]}}}))},*setClassActive({payload:m},{call:y,put:b}){yield b({type:"save",payload:{classDataSource:Ha({},m)}})}},reducers:{save(m,y){return Ha(Ha({},m),y.payload)},setMajorOrYearDataSource(m,{payload:y}){return De(Ha({},m),{headerData:De(Ha({},m.headerData),{dataSource:De(Ha({},m.headerData.dataSource),{[y.key]:De(Ha({},m.headerData.dataSource[y.key]),{dataList:y.value})})})})},setMajorOrYearActive(m,{payload:y}){return De(Ha({},m),{headerData:De(Ha({},m.headerData),{active:De(Ha({},m.headerData.active),{[y.key]:y.value})})})},setEchartsData(m,{payload:y}){let b={name:y.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},z={name:y.course_name||"",xData:[],seriesData:[]},oe={};return y.ec_course_target.forEach((mr,dr)=>{mr.position=dr+1,b=De(Ha({},b),{dataSource:{xData:[...b.dataSource.xData,dr+1],yBarData:[...b.dataSource.yBarData,mr.actual_grade],yLineData:[...b.dataSource.yLineData,mr.standard_grade]}});let Nn=[],Xn={min:[],max:[]},ca=[],Yo=[],To=[];mr.student_data.detail.forEach((vo,Ya)=>{let Ki=vo.score;Nn.push(Ya+1),Xn.max.push(Ki>=mr.student_data.goal_score?Ki:null),Xn.min.push(Ki>=mr.student_data.goal_score?null:Ki),ca.push(vo.name),Yo.push(vo.student_id),To.push(vo.clazz)}),oe[dr+1]={name:dr+1,average_score:mr.student_data.average_score,goal_score:mr.student_data.goal_score,xData:Nn,yData:Xn,name_data:ca,student_ids:Yo,class_data:To,goal_scoreData:new Array(mr.student_data.detail.length).fill(mr.student_data.goal_score),average_scoreData:new Array(mr.student_data.detail.length).fill(mr.student_data.average_score)}}),y.history.forEach(mr=>{z=De(Ha({},z),{xData:[...z.xData,mr.year],seriesData:[...z.seriesData,mr.total_score]})}),De(Ha({},m),{name:y.course_name||"",tabListData:y.ec_course_target,echartsData:{barData:b,lineData:z,scatterData:oe}})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},q=Object.defineProperty,It=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Rr=(m,y,b)=>y in m?q(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Sr=(m,y)=>{for(var b in y||(y={}))Jt.call(y,b)&&Rr(m,b,y[b]);if(It)for(var b of It(y))Pr.call(y,b)&&Rr(m,b,y[b]);return m},ea={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Sr({},m)}})},*setShowMenu({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showMenu:m}})},*setMatrixVerify({payload:m},{call:y,put:b}){yield b({type:"save",payload:{matrixVerify:Sr({},m)}})}},reducers:{save(m,y){return Sr(Sr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},kr=e(89621),sn=Object.defineProperty,nt=Object.defineProperties,be=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,yt=(m,y,b)=>y in m?sn(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,xt=(m,y)=>{for(var b in y||(y={}))Ye.call(y,b)&&yt(m,b,y[b]);if(ue)for(var b of ue(y))ke.call(y,b)&&yt(m,b,y[b]);return m},Zt=(m,y)=>nt(m,be(y)),xr={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:xt({},m)}})},*getMajorList({},{call:m,put:y,select:b}){const{userInfo:z}=yield b(oe=>oe.user);if(z!=null&&z.school_id){const oe=yield m(na.BA,z.school_id);if(oe&&oe.data){const mr=kr.U.getItem(z==null?void 0:z.login);yield y({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:oe.data.map(dr=>({label:dr.name,value:dr.ec_major_school_id})),active:oe.data.length>0?mr[0]||oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:m},{call:y,put:b,select:z}){const oe=yield y(na.Nx,m.id),{userInfo:mr}=yield z(dr=>dr.user);if(oe&&oe.data){const dr=kr.U.getItem(mr==null?void 0:mr.login);yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:oe.data.map(Nn=>({label:Nn.year,value:Nn.ec_year_id})),active:oe.data.length>0?m.firstEnter?dr[1]:oe.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:m,put:y,select:b}){const{headerData:z}=yield b(dr=>dr.engineeringNavigtion),{userInfo:oe}=yield b(dr=>dr.user);let mr={};if(z.active[En.k[1]]&&oe.school_id){const dr=[z.active[En.k[0]],z.active[En.k[1]]];kr.U.setItem(oe==null?void 0:oe.login,dr);const Nn=yield m(na.bA,{ec_year_id:z.active[En.k[1]],school_id:oe.school_id});Nn&&Nn.data&&(mr=Nn.data),yield y({type:"setTopPage",payload:mr})}},*putTopPageName({payload:m,callback:y},{call:b,put:z}){try{const oe=yield b(na.ay,m);y(oe)}catch(oe){let mr="";oe&&(mr=JSON.stringify(oe),oe.message&&(mr=oe.message)),y({message:mr,status:999})}}},reducers:{save(m,y){return xt(xt({},m),y.payload)},setMajorOrYearDataSource(m,{payload:y}){let b=m.headerData.active;return y.active&&(b=Zt(xt({},b),{[y.key]:y.active})),Zt(xt({},m),{headerData:Zt(xt({},m.headerData),{dataSource:Zt(xt({},m.headerData.dataSource),{[y.key]:Zt(xt({},m.headerData.dataSource[y.key]),{dataList:y.value})}),active:b})})},setMajorOrYearActive(m,{payload:y}){return Zt(xt({},m),{headerData:Zt(xt({},m.headerData),{active:Zt(xt({},m.headerData.active),{[y.key]:y.value})})})},setTopPage(m,{payload:y}){return Zt(xt({},m),{headerData:Zt(xt({},m.headerData),{name:y.name,tabBarContent:{user_name:y.user_name,user_school:y.user_school,user_type:y.user_type}}),cardListData:Zt(xt({},m.cardListData),{appraiseData:Zt(xt({},m.cardListData.appraiseData),{norm:Zt(xt({},m.cardListData.appraiseData.norm),{result:y.graduaiton_result,listData:m.cardListData.appraiseData.norm.listData.map(b=>Zt(xt({},b),{value:y[b.key]||0}))}),course:Zt(xt({},m.cardListData.appraiseData.course),{result:y.course_result,listData:m.cardListData.appraiseData.course.listData.map(b=>Zt(xt({},b),{value:y[b.key]||0}))})}),teamData:{teach:Zt(xt({},m.cardListData.teamData.teach),{tabBarContent:`${y.course_teachers?y.course_teachers.length:0}\u4EBA`,listData:y.course_teachers||[]}),work:Zt(xt({},m.cardListData.teamData.work),{tabBarContent:`${y.work_teachers?y.work_teachers.length:0}\u4EBA`,listData:y.work_teachers||[]})}}),totalListData:m.totalListData.map(b=>Zt(xt({},b),{value:y[b.key]||0}))})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},or=Object.defineProperty,wr=Object.defineProperties,an=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,vr=(m,y,b)=>y in m?or(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,mn=(m,y)=>{for(var b in y||(y={}))un.call(y,b)&&vr(m,b,y[b]);if(zn)for(var b of zn(y))tn.call(y,b)&&vr(m,b,y[b]);return m},Wr=(m,y)=>wr(m,an(y)),jn={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:mn({},m)}})},*getGraduationResultDetail({payload:m},{call:y,put:b}){const z=yield y(na.gq,m);yield b({type:"save",payload:{dataSource:z}})}},reducers:{save(m,y){return mn(mn({},m),y.payload)},setDataSource(m,{payload:y}){let b=y;return Wr(mn({},m),{dataSource:b})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},wn=e(6767),Ea=Object.defineProperty,Pn=Object.defineProperties,la=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Ra=(m,y,b)=>y in m?Ea(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,oa=(m,y)=>{for(var b in y||(y={}))Fn.call(y,b)&&Ra(m,b,y[b]);if(dn)for(var b of dn(y))xa.call(y,b)&&Ra(m,b,y[b]);return m},ia=(m,y)=>Pn(m,la(y)),sa=(m,y)=>{var b={};for(var z in m)Fn.call(m,z)&&y.indexOf(z)<0&&(b[z]=m[z]);if(m!=null&&dn)for(var z of dn(m))y.indexOf(z)<0&&xa.call(m,z)&&(b[z]=m[z]);return b},Bo={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:oa({},m)}})},*getMajorList({},{call:m,put:y,select:b}){const{userInfo:z}=yield b(oe=>oe.user);if(z!=null&&z.school_id){const oe=yield m(na.BA,z.school_id);if(oe&&oe.data){const mr=kr.U.getItem(z==null?void 0:z.login);yield y({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:oe.data.map(dr=>({label:dr.name,value:dr.ec_major_school_id})),active:oe.data.length>0?mr[0]||oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:m},{call:y,put:b,select:z}){const oe=yield y(na.Nx,m.id),{userInfo:mr}=yield z(dr=>dr.user);if(oe&&oe.data){const dr=kr.U.getItem(mr==null?void 0:mr.login);yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:oe.data.map(Nn=>({label:Nn.year,value:Nn.ec_year_id})),active:oe.data.length>0?m.firstEnter?dr[1]:oe.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:m,put:y,select:b}){const{headerData:z}=yield b(ca=>ca.engineeringNormList),{userInfo:oe}=yield b(ca=>ca.user);let mr=[],dr=[],Nn="";const Xn=z.active[En.k[1]];if(Xn){const ca=[z.active[En.k[0]],z.active[En.k[1]]];kr.U.setItem(oe==null?void 0:oe.login,ca);const Yo=yield m(na.eM,Xn);Yo&&Yo.graduation_requirements&&(Nn=Yo.all_goal_value||"",mr=Yo.graduation_requirements.map(To=>{var vo=To,{subitems:Ya}=vo,Ki=sa(vo,["subitems"]);return dr.push(Ki.id),ia(oa({},Ki),{children:Ya})}))}yield y({type:"save",payload:{tabListData:mr,all_goal_value:Nn,expandedRowKeys:dr}})},*exportGraduation({},{call:m,select:y}){const{headerData:b}=yield y(z=>z.engineeringNormList);b.active[En.k[1]]&&(yield m(na.OE,b.active[En.k[1]]))},*compute({payload:m},{call:y,put:b}){const z=m,{all:oe}=z,mr=sa(z,["all"]),dr=yield y(oe?na.Qx:na.Xl,mr);dr&&dr.status===0?(wn.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield b({type:"getGraduationResults"})):wn.ZP.error(dr.message)},*getFormulas({callback:m},{call:y,select:b}){const{headerData:z}=yield b(oe=>oe.engineeringNormList);if(z.active[En.k[1]]){const oe=yield y(na.mK,z.active[En.k[1]]);m(oe)}},*setFormulas({payload:m,callback:y},{call:b}){const z=yield b(na.y9,m);y(z)},*putGoalValue({payload:m},{call:y,put:b}){const z=yield y(na.No,m);if(z&&z.status===0)wn.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield b({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield b({type:"getGraduationResults"});else{let oe="\u4FDD\u5B58\u5931\u8D25";z&&z.message&&(oe=z.message),wn.ZP.error(oe)}}},reducers:{save(m,y){return oa(oa({},m),y.payload)},setMajorOrYearDataSource(m,{payload:y}){let b=m.headerData.active;return y.active&&(b=ia(oa({},b),{[y.key]:y.active})),ia(oa({},m),{headerData:ia(oa({},m.headerData),{dataSource:ia(oa({},m.headerData.dataSource),{[y.key]:ia(oa({},m.headerData.dataSource[y.key]),{dataList:y.value})}),active:b})})},setMajorOrYearActive(m,{payload:y}){return ia(oa({},m),{headerData:ia(oa({},m.headerData),{active:ia(oa({},m.headerData.active),{[y.key]:y.value})})})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Jo=e(242),Si=Object.defineProperty,Bi=Object.getOwnPropertySymbols,cs=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,Ci=(m,y,b)=>y in m?Si(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,xo=(m,y)=>{for(var b in y||(y={}))cs.call(y,b)&&Ci(m,b,y[b]);if(Bi)for(var b of Bi(y))ls.call(y,b)&&Ci(m,b,y[b]);return m},Oi={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:m},{call:y,put:b}){const z=yield y(Jo.Si,m);return yield b({type:"save",payload:{forumsDetailData:xo({},z)}}),z},*setForumsDetailData({payload:m},{call:y,put:b}){yield b({type:"save",payload:{forumsDetailData:xo({},m)}})}},reducers:{save(m,y){return xo(xo({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},yi=Object.defineProperty,Yi=Object.getOwnPropertySymbols,Os=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,ds=(m,y,b)=>y in m?yi(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,zi=(m,y)=>{for(var b in y||(y={}))Os.call(y,b)&&ds(m,b,y[b]);if(Yi)for(var b of Yi(y))$o.call(y,b)&&ds(m,b,y[b]);return m},fs={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:m},{call:y,put:b}){const z=yield y(m.memoType==="shixun_discuss"?Jo.kd:Jo.bc,m);return delete m.memoType,yield b({type:"save",payload:{listParams:m,forumsData:zi({},z)}}),z}},reducers:{save(m,y){return zi(zi({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Zi=e(88627),Vs=e(14185),qo=Object.defineProperty,ps=Object.getOwnPropertySymbols,Qi=Object.prototype.hasOwnProperty,Ji=Object.prototype.propertyIsEnumerable,vs=(m,y,b)=>y in m?qo(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,$i=(m,y)=>{for(var b in y||(y={}))Qi.call(y,b)&&vs(m,b,y[b]);if(ps)for(var b of ps(y))Ji.call(y,b)&&vs(m,b,y[b]);return m},qi,Hi={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!((document.referrer.indexOf("gitlink.org.cn")>=0||document.referrer.indexOf("gitlink.educoder.net")>=0)&&((qi=window.location.href)==null?void 0:qi.indexOf("gitlink.educoder.net"))>=0),showHeaderFixed:!1,isShowAI:!0,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},isSaiaDomain:window.location.host=="saia.educoder.net"},effects:{*query({payload:m},{call:y,put:b}){const z=yield y(Zi.D2,m);Ks(z),yield b({type:"save",payload:$i({},z)})},*getSystemUpdate({payload:m},{call:y,put:b}){const z=yield y(Zi.n0,m);yield b({type:"save",payload:{updateData:$i({},z)}})},*setTheme({payload:m},{call:y,put:b}){const z=yield y(Zi.n0,m);yield b({type:"save",payload:{theme:m||"default"}})},*setShareData({payload:m},{call:y,put:b}){yield b({type:"save",payload:{shareData:m}})},*setGlobalLoading({payload:m},{call:y,put:b}){yield b({type:"save",payload:{globalLoading:$i({},m)}})},*delayTipToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showTip:m}})},*headerToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showHeader:m}})},*footerToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showFooter:m}})},*headerFooterToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showHeaderFooter:m}})},*headerFixedToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showHeaderFixed:m}})},*AIshow({payload:m},{call:y,put:b}){yield b({type:"save",payload:{isShowAI:m}})},*onlyShowBackTopToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{onlyShowBackTop:m}})},*onlyShowBackTopIconToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{onlyShowBackTopIcons:m}})},*setOperateModel({payload:m},{call:y,put:b}){yield b({type:"save",payload:{operateModel:m}})},*setOperateModelPath({payload:m},{call:y,put:b}){yield b({type:"save",payload:{operateModelPath:m}})},*setShowQuestionBackTop({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showQuestionBackTop:m}})}},reducers:{save(m,y){return $i($i({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{})}}};const Ks=(m={})=>{var y,b,z,oe,mr;if(window.self!==window.top||!((y=m.setting)!=null&&y.tab_logo_url))return;const dr=document.createElement("link"),Nn=document.getElementById("dynamic-favicon");dr.id="dynamic-favicon",dr.rel="shortcut icon",dr.href=(b=m.setting)!=null&&b.tab_logo_url?`${Vs.Z.IMG_SERVER}/${(z=m.setting)==null?void 0:z.tab_logo_url}`:"",Nn&&document.head.removeChild(Nn),document.head.appendChild(dr);try{(oe=m.setting)!=null&&oe.main_site||(document.querySelector('meta[name="keywords"]').content=(mr=m.setting)==null?void 0:mr.name,document.querySelector('meta[name="description"]').remove())}catch(Xn){}};var Eo=e(45567),Xs=Object.defineProperty,es=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Ro=(m,y,b)=>y in m?Xs(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ai=(m,y)=>{for(var b in y||(y={}))Di.call(y,b)&&Ro(m,b,y[b]);if(es)for(var b of es(y))Ii.call(y,b)&&Ro(m,b,y[b]);return m},ut={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:m},{call:y,put:b}){return yield y(Eo.Xh,m)},*getGraduationsFinalScore({payload:m},{call:y,put:b}){return yield y(Eo.H3,m)},*getDelGraduationsTasks({payload:m},{call:y,put:b}){return yield y(Eo.km,m)},*getGraduationsTasks({payload:m},{call:y,put:b}){const z=yield y(Eo.Xw,m);yield b({type:"save",payload:{Tasks:z}})},*getGraduationsTeachers({payload:m},{call:y,put:b}){var z;const oe=yield y(Eo.AA,m);return(z=oe==null?void 0:oe.data)==null||z.map(mr=>(mr.key=mr.id,mr)),yield b({type:"save",payload:{teachers:oe}}),oe},*getGraduationsStudents({payload:m},{call:y,put:b}){var z;const oe=yield y(Eo.eh,m);(z=oe==null?void 0:oe.data)==null||z.map(mr=>(mr.key=mr.id,mr)),yield b({type:"save",payload:{students:oe}})},*getGraduationsNotices({payload:m},{call:y,put:b}){const z=yield y(Eo.Rk,m);yield b({type:"save",payload:{Notices:z}})},*getGraduationsInfo({payload:m},{call:y,put:b}){const z=yield y(Eo.F7,m);yield b({type:"save",payload:{graduation:z.graduation}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ai({},m)}})},*setUpdateIndex({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:m},{call:y,put:b}){const z=yield y(Eo.Ou,m);yield b({type:"save",payload:{details:(z==null?void 0:z.graduation)||{},menus:(z==null?void 0:z.data)||[],forTask:(z==null?void 0:z.for_task)||[]}})}},reducers:{save(m,y){return Ai(Ai({},m),y.payload)}}},Et=e(73505),gt=Object.defineProperty,Ot=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,Xr=(m,y,b)=>y in m?gt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,vn=(m,y)=>{for(var b in y||(y={}))Kr.call(y,b)&&Xr(m,b,y[b]);if(Or)for(var b of Or(y))Yr.call(y,b)&&Xr(m,b,y[b]);return m},xn=(m,y)=>Ot(m,jt(y)),Gt={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:m},{call:y,put:b}){const z=yield y(Et.Tt,{payload:m});yield b({type:"save",payload:xn(vn({},z),{isloading:!0})})},*query({payload:m},{call:y,put:b}){yield b({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:m,callback:y},{call:b,put:z}){return yield b(Et.LA,m)},*UploadNotice({payload:m,callback:y},{call:b,put:z}){return yield b(Et.S_,m)}},reducers:{save(m,y){return vn(vn({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Vt=Object.defineProperty,Tr=Object.defineProperties,Hr=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,Yn=(m,y,b)=>y in m?Vt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Un=(m,y)=>{for(var b in y||(y={}))rn.call(y,b)&&Yn(m,b,y[b]);if(Ae)for(var b of Ae(y))Qr.call(y,b)&&Yn(m,b,y[b]);return m},rr=(m,y)=>Tr(m,Hr(y)),Vn={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(m,y){return Un(Un({},m),y.payload)},openModal(m,y){return rr(Un({},m),{visibleModalName:y.payload})},closeModal(m){return rr(Un({},m),{visibleModalName:""})},openSimpleModal(m,y){return rr(Un({},m),{simpleModalProps:Un({visible:!0},y.payload)})},closeSimpleModal(m){return rr(Un({},m),{simpleModalProps:{visible:!1}})}}},ra=e(49317),Co=Object.defineProperty,bo=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Oo=(m,y,b)=>y in m?Co(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,so=(m,y)=>{for(var b in y||(y={}))Zn.call(y,b)&&Oo(m,b,y[b]);if(bo)for(var b of bo(y))oi.call(y,b)&&Oo(m,b,y[b]);return m},Ka=(m,y,b)=>new Promise((z,oe)=>{var mr=Xn=>{try{Nn(b.next(Xn))}catch(ca){oe(ca)}},dr=Xn=>{try{Nn(b.throw(Xn))}catch(ca){oe(ca)}},Nn=Xn=>Xn.done?z(Xn.value):Promise.resolve(Xn.value).then(mr,dr);Nn((b=b.apply(m,y)).next())});const li=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/banner.json",{method:"get",params:so({},m)})}),ei=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:so({},m)})}),Vr=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:so({},m)})}),wo=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:so({},m)})}),ko=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects.json",{method:"post",body:so({},m)})}),ve=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:so({},m)})}),he=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:so({},m)})}),We=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:so({},m)})});var tt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,Ar=(m,y,b)=>y in m?tt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,_r=(m,y)=>{for(var b in y||(y={}))Wt.call(y,b)&&Ar(m,b,y[b]);if(Rt)for(var b of Rt(y))tr.call(y,b)&&Ar(m,b,y[b]);return m},ln={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:m},{call:y,put:b}){const{data:{adv:z,top_banner:oe}}=yield y(li,m);yield b({type:"save",payload:{BannerList:oe,Adv:z}})},*getTopCategoryList({payload:m},{call:y,put:b}){const{data:{top_category_list:z}}=yield y(ei,m);yield b({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...z]}})},*getHotList({payload:m},{call:y,put:b}){const{data:{hot_list:z}}=yield y(Vr,m);yield b({type:"save",payload:{HotList:z}})},*getDiscountList({payload:m},{call:y,put:b}){const{data:{discount_list:z}}=yield y(wo,m);yield b({type:"save",payload:{DiscountList:z}})},*getPaidSubjects({payload:m},{call:y,put:b}){const{data:z}=yield y(ko,m);yield b({type:"save",payload:{SubjectList:z}})},*getTags({payload:m},{call:y,put:b}){const{data:{list:z}}=yield y(ve,m);yield b({type:"save",payload:{Tags:z}})},*getUserComments({payload:m},{call:y,put:b}){const{data:{list:z}}=yield y(he,m);yield b({type:"save",payload:{UserComments:z}})},*getInfoShow({payload:m},{call:y,put:b}){const{data:z}=yield y(We,m);yield b({type:"save",payload:{InfoShow:z}})}},reducers:{save(m,y){return _r(_r({},m),y.payload)}}},Rn={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},In=e(80007),da=Object.defineProperty,Kn=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,Ln=(m,y,b)=>y in m?da(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,An=(m,y)=>{for(var b in y||(y={}))kn.call(y,b)&&Ln(m,b,y[b]);if(Kn)for(var b of Kn(y))Oa.call(y,b)&&Ln(m,b,y[b]);return m},Zo={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:m},{call:y,put:b}){const z=yield y(In.Ub,m);return yield b({type:"save",payload:{privateMessageDetails:z||[]}}),z},*getTidings({payload:m},{call:y,put:b}){const z=yield y(In.AD,m);yield b({type:"save",payload:{tidingsList:z||[]}})},*getPrivateMessages({payload:m},{call:y,put:b}){const z=yield y(In.V8,m);return yield b({type:"save",payload:{privateMessage:z||[]}}),z},*getUsersForPrivateMessages({payload:m},{call:y,put:b}){const z=yield y(In.QJ,m);return yield b({type:"save",payload:{userPrivateMessage:z||[]}}),z},*unreadMessageInfo({payload:m},{call:y,put:b}){const z=yield y(In.Ig,m);yield b({type:"save",payload:{unreadInfo:z||[]}})},*getRecentContacts({payload:m},{call:y,put:b}){const z=yield y(In.Ko,m);return yield b({type:"save",payload:{recentContacts:z||[]}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:An({},m)}})}},reducers:{save(m,y){return An(An({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},pa=e(37166),$a=e(76406),ua=e(8633),ao=Object.defineProperty,Hn=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,oo=Object.getOwnPropertySymbols,po=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,io=(m,y,b)=>y in m?ao(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,go=(m,y)=>{for(var b in y||(y={}))po.call(y,b)&&io(m,b,y[b]);if(oo)for(var b of oo(y))Go.call(y,b)&&io(m,b,y[b]);return m},Vo=(m,y)=>Hn(m,Ba(y));const Ho=(m,y)=>{var b,z,oe,mr,dr,Nn,Xn,ca,Yo;if(!m)return;const{exam:To,single_questions:vo,multiple_questions:Ya,judgement_questions:Ki,program_questions:Nc,completion_questions:sc,subjective_questions:Bc,practical_questions:iu,combination_questions:Mn,bprogram_questions:uc}=m||{},cc=[go({type:"SINGLE",question_type:0,name:((b=y==null?void 0:y.find(uo=>uo.value==ua.fw[0].nameType))==null?void 0:b.name)||ua.fw[0].name},vo),go({type:"MULTIPLE",question_type:1,name:((z=y==null?void 0:y.find(uo=>uo.value==ua.fw[1].nameType))==null?void 0:z.name)||ua.fw[1].name},Ya),go({type:"JUDGMENT",question_type:2,name:((oe=y==null?void 0:y.find(uo=>uo.value==ua.fw[2].nameType))==null?void 0:oe.name)||ua.fw[2].name},Ki),go({type:"PROGRAM",question_type:6,name:((mr=y==null?void 0:y.find(uo=>uo.value==ua.fw[6].nameType))==null?void 0:mr.name)||ua.fw[6].name},Nc),go({type:"COMPLETION",question_type:3,name:((dr=y==null?void 0:y.find(uo=>uo.value==ua.fw[3].nameType))==null?void 0:dr.name)||ua.fw[3].name},sc),go({type:"SUBJECTIVE",question_type:4,name:((Nn=y==null?void 0:y.find(uo=>uo.value==ua.fw[4].nameType))==null?void 0:Nn.name)||ua.fw[4].name},Bc),go({type:"PRACTICAL",question_type:5,name:((Xn=y==null?void 0:y.find(uo=>uo.value==ua.fw[5].nameType))==null?void 0:Xn.name)||ua.fw[5].name},iu),go({type:"COMBINATION",question_type:7,name:((ca=y==null?void 0:y.find(uo=>uo.value==ua.fw[7].nameType))==null?void 0:ca.name)||ua.fw[7].name},Mn),go({type:"BPROGRAM",question_type:8,name:((Yo=y==null?void 0:y.find(uo=>uo.value==ua.fw[8].nameType))==null?void 0:Yo.name)||ua.fw[8].name},uc)],Qo=[];if(m.sort_by_qustion_type)for(const uo of m.qustion_type_order_name_en)Qo.push(cc.find(uu=>uu.type===uo));const su=(m.sort_by_qustion_type?Qo:cc).filter(uo=>(uo==null?void 0:uo.questions_count)>0).map((uo,uu)=>{var lc;return go(go({},uo),{number:(0,$a.EM)(uu+1),questions:(lc=uo==null?void 0:uo.questions)==null?void 0:lc.map(us=>Vo(go({},us),{shixun:us.examination_bank_shixun_challenges,question_type:uo.question_type}))})});return{exam:To,questionList:su}};var So=e(44192),Aa=Object.defineProperty,qa=Object.getOwnPropertySymbols,Io=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable,_e=(m,y,b)=>y in m?Aa(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,$=(m,y)=>{for(var b in y||(y={}))Io.call(y,b)&&_e(m,b,y[b]);if(qa)for(var b of qa(y))Da.call(y,b)&&_e(m,b,y[b]);return m},fr={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:m},{call:y,put:b}){return yield y(pa.a2,m)},*postCheckExaminationBanks({payload:m},{call:y,put:b}){return yield y(pa.q$,m)},*postPaperlibraryCopy({payload:m},{call:y,put:b}){return yield y(pa.ID,m)},*getDisciplines({payload:m},{call:y,put:b}){const z=yield y(pa.d1,m);return yield b({type:"save",payload:{disciplinesData:$({},z)}}),z},*getCustomDisciplines({payload:m},{call:y,put:b}){const z=yield y(pa.ar,m);return yield b({type:"save",payload:{disciplinesData:$({},z)}}),z},*getEditDisciplines({payload:m},{call:y,put:b}){const z=yield y(pa.d1,m),oe=z==null?void 0:z.disciplines,mr=(0,So.L)(oe);return yield b({type:"save",payload:{courseOptions:mr,disciplinesData:$({},z)}}),z},*getTeachGroupData({payload:m},{call:y,put:b}){const z=yield y(pa.Dm,m);return yield b({type:"save",payload:{teachGroupData:$({},z)}}),z},*getPaperData({payload:m},{call:y,put:b}){const z=yield y(pa.iT,m),oe=yield y(pa.cV,m),mr=Ho(z,oe.data);return yield b({type:"save",payload:{paperData:mr}}),z},*getPaperlibraryList({payload:m},{call:y,put:b}){return yield y(pa.Gd,m)},*setPublic({payload:m},{call:y,put:b}){return yield y(pa.DF,m)},*handleDelete({payload:m},{call:y,put:b}){return yield y(pa.fn,m)},*getCourseList({payload:m},{call:y,put:b}){return yield y(pa.tS,m)},*postBatchSendToCourse({payload:m},{call:y,put:b}){return yield y(pa.lc,m)},*sendToClass({payload:m},{call:y,put:b}){return yield y(pa.kp,m)},*adjustPosition({payload:m},{call:y,put:b}){return yield y(pa.qN,m)},*setScore({payload:m},{call:y,put:b}){return yield y(pa.ts,m)},*handleDeleteEditQuestion({payload:m},{call:y,put:b}){return yield y(pa.NC,m)},*batchSetScore({payload:m},{call:y,put:b}){return yield y(pa.YP,m)},*batchDelete({payload:m},{call:y,put:b}){return yield y(pa.Hm,m)},*updatePaper({payload:m},{call:y,put:b}){return yield y(pa.jK,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:$({},m)}})}},reducers:{save(m,y){return $($({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},kt=Object.defineProperty,lr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,Wn=(m,y,b)=>y in m?kt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,zr=(m,y)=>{for(var b in y||(y={}))Br.call(y,b)&&Wn(m,b,y[b]);if(lr)for(var b of lr(y))fn.call(y,b)&&Wn(m,b,y[b]);return m},$r={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(pa.Dq,m);return yield z({type:"save",payload:{exerciseExportHeadData:zr({},oe)}}),oe},*editExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(pa.Di,m);return yield z({type:"save",payload:{editData:zr({},oe)}}),oe},*getTagDiscipline({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.YY,m);return yield z({type:"save",payload:{tagDisciplineData:zr({},oe)}}),oe},*editExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(pa.oF,m)},*addExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(pa.oF,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:zr({},m)}})}},reducers:{save(m,y){return zr(zr({},m),y.payload)},modifyTitle(m,y){const b=(0,Me.cloneDeep)(m);return b.editData.exercise.exercise_name=y.payload,b}},subscriptions:{setup({dispatch:m,history:y}){}}},Dn=e(3761),ro=Object.defineProperty,ii=Object.getOwnPropertySymbols,ti=Object.prototype.hasOwnProperty,Ui=Object.prototype.propertyIsEnumerable,Zu=(m,y,b)=>y in m?ro(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Wi=(m,y)=>{for(var b in y||(y={}))ti.call(y,b)&&Zu(m,b,y[b]);if(ii)for(var b of ii(y))Ui.call(y,b)&&Zu(m,b,y[b]);return m},Xc,Yc,wl={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:(Xc=(0,$a.UZ)())==null?void 0:Xc.keywords,stage_id:null,visibleType:(Yc=(0,$a.UZ)())==null?void 0:Yc.classifyType,editKey:-1},effects:{*getDiscusses({payload:m},{call:y,put:b}){const z=yield y(Dn.Ax,m);yield b({type:"save",payload:{discusses:Wi({},z)}})},*getKnowledgeGraphs({payload:m},{call:y,put:b}){const z=yield y(Dn.Bz,m);return yield b({type:"save",payload:{detail:Wi({},(z==null?void 0:z.data)||{})}}),(z==null?void 0:z.data)||{}},*getPathsDetail({payload:m},{call:y,put:b}){const z=yield y(Dn.lk,m);return yield b({type:"save",payload:{detail:Wi({},z)}}),z},*getCourseDetail({payload:m},{call:y,put:b}){const z=yield y(Dn.Sp,m);return yield b({type:"save",payload:{detail:Wi({},z)}}),z},*getRightData({payload:m},{call:y,put:b}){const z=yield y(Dn.AQ,m);yield b({type:"save",payload:{rightData:Wi({},z)}})},*getCoureses({payload:m},{call:y,put:b}){const z=yield y(Dn.ue,m);yield b({type:"save",payload:{Courses:Wi({},z)}})},*getStageChildrenData({payload:m},{call:y,put:b}){const z=yield y(Dn.w4,m);return yield b({type:"save",payload:{StageChildrenData:z}}),z},*getStageData({payload:m},{call:y,put:b}){var z,oe;let mr=null;m!=null&&m.show_course_section?mr=yield y(Dn.yN,m):mr=yield y(Dn.p,m),yield b({type:"save",payload:{stageData:((z=mr==null?void 0:mr.data)==null?void 0:z.stages)||(mr==null?void 0:mr.stages)||[],isShowSchedule:((oe=mr==null?void 0:mr.data)==null?void 0:oe.is_show_schedule)||(mr==null?void 0:mr.is_show_schedule)||!1}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Wi({},m)}})}},reducers:{save(m,y){return Wi(Wi({},m),y.payload)}}},Qc=Object.defineProperty,Pl=Object.getOwnPropertySymbols,Ds=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,_s=(m,y,b)=>y in m?Qc(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Hu=(m,y)=>{for(var b in y||(y={}))Ds.call(y,b)&&_s(m,b,y[b]);if(Pl)for(var b of Pl(y))_c.call(y,b)&&_s(m,b,y[b]);return m},fi={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:m},{call:y,put:b}){const z=m,oe=yield y(Dn.tS,m);return yield b({type:"save",payload:Hu({listParams:z},oe)}),oe},*getMenus({payload:m},{call:y,put:b}){const z=yield y(Dn.fh,m);yield b({type:"save",payload:{menus:z}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Hu({},m)}})},*clearListParams({payload:m},{call:y,put:b}){yield b({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(m,y){return Hu(Hu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},El=Object.defineProperty,Ys=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,ms=Object.prototype.propertyIsEnumerable,Jc=(m,y,b)=>y in m?El(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,mc=(m,y)=>{for(var b in y||(y={}))Uu.call(y,b)&&Jc(m,b,y[b]);if(Ys)for(var b of Ys(y))ms.call(y,b)&&Jc(m,b,y[b]);return m},gc={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:m},{call:y,put:b}){return yield y(Dn.tu,m)},*submitCourse({payload:m},{call:y,put:b}){return yield y(Dn.pU,m)},*getEditCourseData({payload:m},{call:y,put:b}){return yield y(Dn.mQ,m)},*getSchoolOption({payload:m},{call:y,put:b}){return yield y(Dn.GY,m)},*appplySchool({payload:m},{call:y,put:b}){return yield y(Dn.bz,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:mc({},m)}})}},reducers:{save(m,y){return mc(mc({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},yc=Object.defineProperty,Qs=Object.defineProperties,Js=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,$c=Object.prototype.hasOwnProperty,qc=Object.prototype.propertyIsEnumerable,_u=(m,y,b)=>y in m?yc(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Mo=(m,y)=>{for(var b in y||(y={}))$c.call(y,b)&&_u(m,b,y[b]);if(hu)for(var b of hu(y))qc.call(y,b)&&_u(m,b,y[b]);return m},gs=(m,y)=>Qs(m,Js(y)),Ti={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:m},{call:y,put:b}){const z=yield y(Dn.nq,m);yield b({type:"save",payload:{SubjectUseInfos:z}})},*getRankList({payload:m},{call:y,put:b}){const z=yield y(Dn.Fg,m);yield b({type:"save",payload:{RankList:gs(Mo({},z),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(z==null?void 0:z.learn_list)||[]]})}})},*getStatisticsBody({payload:m},{call:y,put:b}){const z=yield y(Dn.Gz,m);yield b({type:"save",payload:{SBody:z}})},*getOnlineCount({payload:m},{call:y,put:b}){const z=yield y(Dn.hS,m);yield b({type:"save",payload:{OnlineCount:z==null?void 0:z.data}})},*getStatisticsHeader({payload:m},{call:y,put:b}){const z=yield y(Dn.Hl,m);yield b({type:"save",payload:{SHeader:z}})}},reducers:{save(m,y){return Mo(Mo({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Xa=e(46861),Ts=Object.defineProperty,xc=Object.getOwnPropertySymbols,Rs=Object.prototype.hasOwnProperty,ks=Object.prototype.propertyIsEnumerable,bc=(m,y,b)=>y in m?Ts(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ri=(m,y)=>{for(var b in y||(y={}))Rs.call(y,b)&&bc(m,b,y[b]);if(xc)for(var b of xc(y))ks.call(y,b)&&bc(m,b,y[b]);return m},Sl={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},groupfolderList:{}},effects:{*getGroup({payload:m},{call:y,put:b}){const z=yield y(Xa.ex,m);return yield b({type:"save",payload:{groupfolderList:z}}),z},*getDisciplines({payload:m},{call:y,put:b}){const z=yield y(Xa.d1,m);return yield b({type:"save",payload:{disciplinesData:Ri({},z)}}),z},*getEditDisciplines({payload:m},{call:y,put:b}){const z=yield y(Xa.d1,m),oe=z==null?void 0:z.disciplines,mr=(0,So.L)(oe);return yield b({type:"save",payload:{courseOptions:mr,disciplinesData:Ri({},z)}}),z},*getBasketList({payload:m},{call:y,put:b}){const z=yield y(Xa.Qj,m);return yield b({type:"save",payload:{basketData:Ri({},z)}}),z},*getTeachGroupData({payload:m},{call:y,put:b}){const z=yield y(Xa.Dm,m);return yield b({type:"save",payload:{teachGroupData:Ri({},z)}}),z},*getEditData({payload:m},{call:y,put:b}){const z=yield y(Xa.FG,m);return yield b({type:"save",payload:{editData:Ri({},z)}}),z},*getEditDataBprogram({payload:m},{call:y,put:b}){const z=yield y(Xa.Bo,m);return yield b({type:"save",payload:{editData:Ri({},z)}}),z},*getGroupData({payload:m},{call:y,put:b}){const z=yield y(Xa.hI,m);return yield b({type:"save",payload:{groupData:Ri({},z)}}),z},*getItemBanks({payload:m},{call:y,put:b}){return yield y(Xa.Of,m)},*setPrivate({payload:m},{call:y,put:b}){return yield y(Xa.Pl,m)},*revokePublish({payload:m},{call:y,put:b}){return yield y(Xa.IJ,m)},*setPublic({payload:m},{call:y,put:b}){return yield y(Xa.DF,m)},*handleDelete({payload:m},{call:y,put:b}){return yield y(Xa.fn,m)},*startExperience({payload:m},{call:y,put:b}){return yield y(Xa.Bd,m)},*cancel({payload:m},{call:y,put:b}){return yield y(Xa.al,m)},*select({payload:m},{call:y,put:b}){return yield y(Xa.Ys,m)},*examUnselectAll({payload:m},{call:y,put:b}){return yield y(Xa.rV,m)},*basketDelete({payload:m},{call:y,put:b}){return yield y(Xa.x5,m)},*unselectAll({payload:m},{call:y,put:b}){return yield y(Xa.HF,m)},*addKnowledge({payload:m},{call:y,put:b}){return yield y(Xa.U6,m)},*editProblemset({payload:m},{call:y,put:b}){return yield y(Xa.Wk,m)},*addProblemset({payload:m},{call:y,put:b}){return yield y(Xa.Mr,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ri({},m)}})}},reducers:{save(m,y){return Ri(Ri({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},el=Object.defineProperty,ri=Object.getOwnPropertySymbols,Wu=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,bi=(m,y,b)=>y in m?el(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ms=(m,y)=>{for(var b in y||(y={}))Wu.call(y,b)&&bi(m,b,y[b]);if(ri)for(var b of ri(y))Gu.call(y,b)&&bi(m,b,y[b]);return m},ys={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:m},{call:y,put:b}){const z=yield y(Xa.iT,m),oe=(0,So.r)(z);return yield b({type:"save",payload:{paperData:oe}}),z},*getEditDisciplines({payload:m},{call:y,put:b}){const z=yield y(Xa.d1,m),oe=z==null?void 0:z.disciplines,mr=(0,So.L)(oe);return yield b({type:"save",payload:{courseOptions:mr,disciplinesData:Ms({},z)}}),z},*setScore({payload:m},{call:y,put:b}){return yield y(Xa.ts,m)},*handleDelete({payload:m},{call:y,put:b}){return yield y(Xa.Cn,m)},*batchSetScore({payload:m},{call:y,put:b}){return yield y(Xa.YP,m)},*batchDelete({payload:m},{call:y,put:b}){return yield y(Xa.Hm,m)},*adjustPosition({payload:m},{call:y,put:b}){return yield y(Xa.qN,m)},*newPreviewProblemset({payload:m},{call:y,put:b}){return yield y(Xa.et,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ms({},m)}})}},reducers:{save(m,y){return Ms(Ms({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Pc=e(13159),ni=Object.defineProperty,ki=Object.getOwnPropertySymbols,Vu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable,qs=(m,y,b)=>y in m?ni(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,js=(m,y)=>{for(var b in y||(y={}))Vu.call(y,b)&&qs(m,b,y[b]);if(ki)for(var b of ki(y))Ku.call(y,b)&&qs(m,b,y[b]);return m},Iu={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:m},{call:y,put:b}){const z=yield y(Pc.Go,m);return yield b({type:"save",payload:{restful:js({},z)}}),z},*getRestfulDetail({payload:m},{call:y,put:b}){const z=yield y(Pc.H5,m);return yield b({type:"save",payload:{restfulDetail:js({},(z==null?void 0:z.data)||{})}}),(z==null?void 0:z.data)||{}},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:js({},m)}})}},reducers:{save(m,y){return js(js({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},yn=e(66443);const jo=(m={})=>{var y,b,z,oe,mr,dr;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(y=m==null?void 0:m.content_info)==null?void 0:y.status,username:(b=m==null?void 0:m.content_info)==null?void 0:b.username,time:(z=m==null?void 0:m.content_info)==null?void 0:z.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(oe=m==null?void 0:m.perference_info)==null?void 0:oe.status,username:(mr=m==null?void 0:m.perference_info)==null?void 0:mr.username,time:(dr=m==null?void 0:m.perference_info)==null?void 0:dr.time}]};var Ec=Object.defineProperty,Mi=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,rs=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Cc=(m,y,b)=>y in m?Ec(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,si=(m,y)=>{for(var b in y||(y={}))Sc.call(y,b)&&Cc(m,b,y[b]);if(rs)for(var b of rs(y))tl.call(y,b)&&Cc(m,b,y[b]);return m},Yu=(m,y)=>Mi(m,eu(y)),tu={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}},pollDetail:{}},effects:{*getStartAnswer({payload:m},{call:y,put:b}){const z=yield y(yn.wX,m);return yield b({type:"save",payload:{pollDetail:z==null?void 0:z.data}}),z},*getShixunsDetail({payload:m},{call:y,put:b}){const z=yield y(yn.Po,m);return yield b({type:"save",payload:{detail:si({},z)}}),z},*getMirrorApplies({payload:m},{call:y,put:b}){const z=yield y(yn.tX,m);return yield b({type:"save",payload:{mirrorApplies:si({},(z==null?void 0:z.data)||{})}}),z},*getRightData({payload:m},{call:y,put:b}){const z=yield y(yn.AQ,m);yield b({type:"save",payload:{rightData:si({},z)}})},*getChallengesData({payload:m},{call:y,put:b}){const z=yield y(yn.n5,m);yield b({type:"save",payload:{challenges:si({},z)}})},*saveCopyForExercise({payload:m},{call:y,put:b}){return yield y(yn.FB,m)},*execJupyter({payload:m},{call:y,put:b}){return yield y(yn.BK,m)},*execShixun({payload:m},{call:y,put:b}){const z=yield y(yn.Ir,m);return(z==null?void 0:z.status)===-3&&(0,$a.eF)(),z},*openChallenge({payload:m},{call:y,put:b}){return yield y(yn.dK,m)},*challengeMoveUp({payload:m},{call:y,put:b}){return yield y(yn.zD,m)},*challengeMoveDown({payload:m},{call:y,put:b}){return yield y(yn.hn,m)},*cancelCollect({payload:m},{call:y,put:b}){return yield y(yn.rs,m)},*collect({payload:m},{call:y,put:b}){return yield y(yn.KM,m)},*searchUserCourses({payload:m},{call:y,put:b}){return yield y(yn._7,m)},*sendToCourse({payload:m},{call:y,put:b}){return yield y(yn.Q,m)},*cancelRelease({payload:m},{call:y,put:b}){return yield y(yn.Ne,m)},*cancelPublic({payload:m},{call:y,put:b}){return yield y(yn.Er,m)},*applyPublic({payload:m},{call:y,put:b}){return yield y(yn.WO,m)},*release({payload:m},{call:y,put:b}){return yield y(yn.Ar,m)},*updateAuditSituation({payload:m},{call:y,put:b}){return yield y(yn.LP,m)},*getCollaboratorsData({payload:m},{call:y,put:b}){return yield y(yn.j8,m)},*addCollaborator({payload:m},{call:y,put:b}){return yield y(yn.OV,m)},*addTeachGroupMember({payload:m},{call:y,put:b}){return yield y(yn.l3,m)},*getChangeManager({payload:m},{call:y,put:b}){return yield y(yn.P2,m)},*changeManager({payload:m},{call:y,put:b}){return yield y(yn.X$,m)},*deleteCollaborators({payload:m},{call:y,put:b}){return yield y(yn.xk,m)},*getRankingList({payload:m},{call:y,put:b}){return yield y(yn.h_,m)},*getMirrorScript({payload:m},{call:y,put:b}){return yield y(yn.Z2,m)},*getScriptContent({payload:m},{call:y,put:b}){return yield y(yn.Bj,m)},*getCustomScript({payload:m},{call:y,put:b}){return yield y(yn.Wi,m)},*updateSettingBasicInfo({payload:m},{call:y,put:b}){return yield y(yn.ZO,m)},*getShixunQuote({payload:m},{call:y,put:b}){return yield y(yn.Gr,m)},*deleteShixun({payload:m},{call:y,put:b}){return yield y(yn.Ps,m)},*permanentClose({payload:m},{call:y,put:b}){return yield y(yn.U9,m)},*getDepartments({payload:m},{call:y,put:b}){return yield y(yn.Ql,m)},*updatePermissionSetting({payload:m},{call:y,put:b}){return yield y(yn.aH,m)},*updateLearnSetting({payload:m},{call:y,put:b}){return yield y(yn.yE,m)},*updateSetting({payload:m},{call:y,put:b}){return yield y(yn.m7,m)},*getSetData({payload:m},{call:y,put:b}){return yield y(yn.U0,m)},*deleteDataSet({payload:m},{call:y,put:b}){return yield y(yn.uo,m)},*deleteGitFile({payload:m},{call:y,put:b}){return yield y(yn.sr,m)},*deleteGitFiles({payload:m},{call:y,put:b}){return yield y(yn.p0,m)},*moveGitFile({payload:m},{call:y,put:b}){return yield y(yn.IT,m)},*moveGitFiles({payload:m},{call:y,put:b}){return yield y(yn.t2,m)},*getRepository({payload:m},{call:y,put:b}){const z=yield y(yn.Ag,m);return yield b({type:"save",payload:{repository:si({},z)}}),si({},z)},*getRepositorys({payload:m},{call:y,put:b}){const z=yield y(yn.Wl,m);return yield b({type:"save",payload:{repository:si({},z)}}),si({},z)},*getSecretRepository({payload:m},{call:y,put:b}){const z=yield y(yn.w,m);return yield b({type:"save",payload:{secretRepository:si({},z)}}),z},*addRepositoryFile({payload:m},{call:y,put:b}){return yield y(yn.v3,m)},*addRepositoryFiles({payload:m},{call:y,put:b}){return yield y(yn.fL,m)},*getRepositoryCommit({payload:m},{call:y,put:b}){return yield y(yn.Je,m)},*getFileContent({payload:m},{call:y,put:b}){const z=yield y(yn.LK,m);return yield b({type:"save",payload:{fileContent:Yu(si({},z),{params:m})}}),z},*getFileContents({payload:m},{call:y,put:b}){const z=yield y(yn.nu,m);return yield b({type:"save",payload:{fileContent:Yu(si({},z),{params:m})}}),z},*updateRepositoryFile({payload:m},{call:y,put:b}){return yield y(yn.kF,m)},*updateRepositoryFiles({payload:m},{call:y,put:b}){return yield y(yn.jq,m)},*uploadGitFolder({payload:m},{call:y,put:b}){return yield y(yn.Op,m)},*updateCollaboratorEditable({payload:m},{call:y,put:b}){return yield y(yn.Dz,m)},*getSettingsData({payload:m},{call:y,put:b}){const z=yield y(yn.DC,m);yield b({type:"save",payload:{setting:si({},z)}})},*getChallengesNew({payload:m},{call:y,put:b}){const z=yield y(yn.km,m);yield b({type:"save",payload:{challengesNew:si({},z)}})},*getChallengesEdit({payload:m},{call:y,put:b}){const z=yield y(yn.q0,m);return yield b({type:"save",payload:{challengesEdit:si({},z)}}),z},*getAuditSituationData({payload:m},{call:y,put:b}){const z=yield y(yn.GI,m),oe=jo(z);yield b({type:"save",payload:{auditSituationData:oe}})},*getEditChallengesQuestion({payload:m},{call:y,put:b}){const z=yield y(yn.UQ,m);return yield b({type:"save",payload:{editChallengesQuestion:z}}),z},*getInfoWithJupyterLab({payload:m},{call:y,put:b}){const z=yield y(yn.mI,m);return yield b({type:"save",payload:{infoWithJupyterLab:z}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:si({},m)}})}},reducers:{save(m,y){return console.log("reducers:",m,y),si(si({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},nl=Object.defineProperty,ru=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,Ao=(m,y,b)=>y in m?nl(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Lo=(m,y)=>{for(var b in y||(y={}))ji.call(y,b)&&Ao(m,b,y[b]);if(ru)for(var b of ru(y))Au.call(y,b)&&Ao(m,b,y[b]);return m},Qu={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:m},{call:y,put:b}){const z=yield y(yn.he,m),oe=Lo({},m);return yield b({type:"save",payload:Lo({listParams:oe},z)}),z},*getMenus({payload:m},{call:y,put:b}){var z;const oe=yield y(yn.I_,m);(z=oe==null?void 0:oe.disciplines)==null||z.map(mr=>(mr.sub_repertoires=mr.sub_disciplines,mr)),yield b({type:"save",payload:{menus:[...(oe==null?void 0:oe.disciplines)||[]]}})},*clearListParams({payload:m},{call:y,put:b}){yield b({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(m,y){return Lo(Lo({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Du=Object.defineProperty,wi=Object.getOwnPropertySymbols,Oc=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable,xs=(m,y,b)=>y in m?Du(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Li=(m,y)=>{for(var b in y||(y={}))Oc.call(y,b)&&xs(m,b,y[b]);if(wi)for(var b of wi(y))al.call(y,b)&&xs(m,b,y[b]);return m},Ju={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:m},{call:y,put:b}){const z=yield y(yn.b8,m);return yield b({type:"save",payload:{newData:Li({},z)}}),z},*deleteAttachment({payload:m},{call:y,put:b}){return yield y(yn.OW,m)},*applyShixunMirror({payload:m},{call:y,put:b}){return yield y(yn.EH,m)},*submitShixuns({payload:m},{call:y,put:b}){return yield y(yn.eX,m)},*getShixunsJupyterLab({payload:m},{call:y,put:b}){const z=yield y(yn.Gu,m);return yield b({type:"save",payload:{newData:Li({},z)}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Li({},m)}})},*getEnvironmentData({payload:m},{call:y,put:b}){const z=yield y(yn.K,m);console.log(z,"response"),yield b({type:"save",payload:{environmentData:Li({},z.data)}})}},reducers:{save(m,y){return Li(Li({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},mu=Object.defineProperty,La=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,Ol=Object.prototype.propertyIsEnumerable,bs=(m,y,b)=>y in m?mu(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Tu=(m,y)=>{for(var b in y||(y={}))Cl.call(y,b)&&bs(m,b,y[b]);if(La)for(var b of La(y))Ol.call(y,b)&&bs(m,b,y[b]);return m},Ic={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:m},{call:y,put:b}){const z=yield y(yn.e,m);yield b({type:"save",payload:{ShixunUseInfos:z}})},*getRankList({payload:m},{call:y,put:b}){const z=yield y(yn.Fg,m);yield b({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(z==null?void 0:z.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(z==null?void 0:z.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(z==null?void 0:z.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(z==null?void 0:z.quote_list)||[]]}}})},*getStatisticsBody({payload:m},{call:y,put:b}){const z=yield y(yn.Gz,m);yield b({type:"save",payload:{SBody:z}})},*getOnlineCount({payload:m},{call:y,put:b}){const z=yield y(yn.hS,m);yield b({type:"save",payload:{OnlineCount:z==null?void 0:z.data}})},*getStatisticsHeader({payload:m},{call:y,put:b}){const z=yield y(yn.Hl,m);yield b({type:"save",payload:{SHeader:z}})}},reducers:{save(m,y){return Tu(Tu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Pi=(m,y,b)=>new Promise((z,oe)=>{var mr=Xn=>{try{Nn(b.next(Xn))}catch(ca){oe(ca)}},dr=Xn=>{try{Nn(b.throw(Xn))}catch(ca){oe(ca)}},Nn=Xn=>Xn.done?z(Xn.value):Promise.resolve(Xn.value).then(mr,dr);Nn((b=b.apply(m,y)).next())});function ol(m){return Pi(this,null,function*(){return(0,ra.ZP)("/api/shixuns/new.json",{method:"Get",params:m})})}function $u(m){return Pi(this,null,function*(){return(0,ra.ZP)(`/api/shixuns/${m.id}/required_status.json`,{method:"Get",params:{}})})}var Ru=Object.defineProperty,il=Object.defineProperties,sl=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,ws=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,Dc=(m,y,b)=>y in m?Ru(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,as=(m,y)=>{for(var b in y||(y={}))ws.call(y,b)&&Dc(m,b,y[b]);if(Ei)for(var b of Ei(y))Ac.call(y,b)&&Dc(m,b,y[b]);return m},Tc=(m,y)=>il(m,sl(y)),Il={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:m},{call:y,put:b}){yield b({type:"save",payload:as({},m)})},*getTestData({payload:m},{call:y,put:b}){const z=yield y(ol,m);yield b({type:"save",payload:{data:z}})},*setUpdateIndex({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:m},{call:y,put:b}){const z=yield y($u,m);yield b({type:"save",payload:as({},z.data)})},*setSideBarTabs({payload:m},{call:y,put:b}){yield b({type:"sideBar",payload:as({},m)})}},reducers:{save(m,y){return as(as({},m),y.payload)},sideBar(m,y){return Tc(as({},m),{sideBar:as(as({},m.sideBar),y.payload)})}},subscriptions:{setup({dispatch:m,history:y}){}}},Do=e(32352),ul=Object.defineProperty,Ls=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable,Rc=(m,y,b)=>y in m?ul(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,nu=(m,y)=>{for(var b in y||(y={}))os.call(y,b)&&Rc(m,b,y[b]);if(Ls)for(var b of Ls(y))Uo.call(y,b)&&Rc(m,b,y[b]);return m},ll={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:m},{call:y,put:b}){const z=yield y(Do.JJ,m);return yield b({type:"save",payload:{homeworkBanksDetail:nu({},z)}}),z},*getSystemUpdate({payload:m},{call:y,put:b}){const z=yield y(Do.n0,m);return yield b({type:"save",payload:{systemUpdate:nu({},z)}}),z},*getHomepageInfo({payload:m},{call:y,put:b}){const z=yield y(Do.DA,m);return yield b({type:"save",payload:{homepageInfo:nu({},z)}}),z},*signed({payload:m},{call:y,put:b}){return yield y(Do.qN,m)},*getCourses({payload:m},{call:y,put:b}){return yield y(Do.Ho,m)},*getShixuns({payload:m},{call:y,put:b}){return yield y(Do.rV,m)},*getPaths({payload:m},{call:y,put:b}){return yield y(Do.w3,m)},*getProjects({payload:m},{call:y,put:b}){return yield y(Do.mW,m)},*getVideos({payload:m},{call:y,put:b}){return yield y(Do.WY,m)},*getReviewVideos({payload:m},{call:y,put:b}){return yield y(Do.Qx,m)},*deleteVideo({payload:m},{call:y,put:b}){return yield y(Do.FM,m)},*getQuestionBanks({payload:m},{call:y,put:b}){return yield y(Do.ai,m)},*topicsSetPublic({payload:m},{call:y,put:b}){return yield y(Do.Cx,m)},*topicsDelete({payload:m},{call:y,put:b}){return yield y(Do.WS,m)},*topicGetCourseList({payload:m},{call:y,put:b}){return yield y(Do.gI,m)},*topicSendToClass({payload:m},{call:y,put:b}){return m.object_type==="videos"?yield y(Do.Fn,m):yield y(Do.Ef,m)},*logWatchHistory({payload:m},{call:y,put:b}){const z=yield y(Do.lO,m);return z==null?void 0:z.log_id},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:nu({},m)}})}},reducers:{save(m,y){return nu(nu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},ec=Object.defineProperty,Ko=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,yu=(m,y,b)=>y in m?ec(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Wo=(m,y)=>{for(var b in y||(y={}))gu.call(y,b)&&yu(m,b,y[b]);if(Ko)for(var b of Ko(y))ae.call(y,b)&&yu(m,b,y[b]);return m},xu=(m,y)=>{var b={};for(var z in m)gu.call(m,z)&&y.indexOf(z)<0&&(b[z]=m[z]);if(m!=null&&Ko)for(var z of Ko(m))y.indexOf(z)<0&&ae.call(m,z)&&(b[z]=m[z]);return b},Gi={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showUpdateProfilePanel:!1,backurl:"",isCurrentPage:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:m},{call:y,put:b}){const z=m,{to:oe}=z,mr=xu(z,["to"]);if(!(yield y(Do.Es,mr)).status)try{oe?s.history.replace(oe):location.reload()}catch(Nn){}},*showPopLogin({payload:m},{put:y}){yield y({type:"save",payload:{showPopLogin:m.showPopLogin,showClosable:m.showClosable}})},*showUpdateProfilePanel({payload:m},{put:y}){yield y({type:"save",payload:{showUpdateProfilePanel:m.showUpdateProfilePanel,showClosable:m.showClosable,backurl:m.backurl,isCurrentPage:m.isCurrentPage}})},*setBindAccountModal({payload:m},{put:y}){yield y({type:"save",payload:{bindAccountModalVisible:m.bindAccountModalVisible,userInfoForBindAccountModal:m.userInfoForBindAccountModal,loginInfo:m.loginInfo}})},*getUserInfo({payload:m},{call:y,put:b}){const z=yield y(Do.bG,Wo({},m));return localStorage.userInfo=JSON.stringify(z),yield b({type:"save",payload:{userInfo:Wo({},z)}}),z},*getNavigationInfo({payload:m},{call:y,put:b}){const z=yield y(Do.x4,Wo({},m));yield b({type:"save",payload:{navigationInfo:Wo({},z)}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Wo({},m)}})}},reducers:{save(m,y){return Wo(Wo({},m),y.payload)}}},tc=e(38500),ku=Object.defineProperty,au=Object.defineProperties,ou=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertySymbols,kc=Object.prototype.hasOwnProperty,rc=Object.prototype.propertyIsEnumerable,Mu=(m,y,b)=>y in m?ku(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,ui=(m,y)=>{for(var b in y||(y={}))kc.call(y,b)&&Mu(m,b,y[b]);if(Vi)for(var b of Vi(y))rc.call(y,b)&&Mu(m,b,y[b]);return m},is=(m,y)=>au(m,ou(y));const dl=()=>{var m,y,b,z,oe,mr,dr;let Nn=window.location.href.split("/");if(!Nn.includes("video"))return;let Xn=(m=Nn[Nn.length-1])==null?void 0:m.split("?")[0];Xn=Number(Xn);const ca=(b=(y=Nn[Nn.length-1])==null?void 0:y.split("?")[1])==null?void 0:b.split("=")[1];return((oe=(z=Nn[Nn.length-1])==null?void 0:z.split("?")[1])==null?void 0:oe.split("=")[0])==="subject_id"?{videoId:Xn,subject_id:ca}:((dr=(mr=Nn[Nn.length-1])==null?void 0:mr.split("?")[1])==null?void 0:dr.split("=")[0])==="new_video_id"?{videoId:Xn,new_video_id:ca}:{videoId:Xn,course_id:ca}};var nc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:dl(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.O2,m);return y?y(oe):yield z({type:"save",payload:{detail:ui({},oe)}}),oe},*setVideoValue({payload:m},{call:y,put:b}){yield b({type:"save",payload:{detail:ui({},m)}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:ui({},m)}})},*setVideoTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{videoTabs:ui({},m)}})},*setSelectValue({payload:m},{call:y,put:b}){yield b({type:"save",payload:{selectParams:ui({},m)}})},*getStageData({payload:m},{call:y,put:b,select:z}){const oe=yield y(Fe.yN,m),mr=yield y(Dn.lk,{id:m.subject_id}),{queryParams:dr}=yield z(vo=>vo.videoDetail),{stages:Nn=[]}=oe,Xn=[];let ca=[],Yo={};const To=vo=>{vo.forEach(Ya=>{String(Ya.id)===String(dr.videoId)&&(Yo=Ya),Ya.item_type==="VideoItem"?Xn.push(Ya):Ya.item_type==="Attachment"&&ca.push(Ya),Ya.children&&Ya.children.length&&To(Ya.children)})};Nn==null||Nn.forEach(vo=>{To(vo.items)}),window.filterVideoSign=[...Xn],yield b({type:"save",payload:{stages:Nn,active:Yo,cust_seq:mr.cust_seq,videoList:Xn,attachmentList:ca}})},*getVideoData({payload:m},{call:y,put:b,select:z}){const oe=yield y(Fe.fn,m),{categories:mr=[],coruse_videos:dr=[]}=oe;yield b({type:"save",payload:{stages:(mr==null?void 0:mr.length)>0?mr:[{coruse_videos:dr,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:m},{call:y,put:b,select:z}){const oe=yield y(tc.R7,m),{queryParams:mr}=yield z(To=>To.videoDetail),{stages:dr}=oe;let Nn=[],Xn=[],ca={};const Yo=To=>{To.forEach(vo=>{String(vo.id)===String(mr.videoId)&&(ca=vo),vo.item_type==="VideoItem"?Nn.push(vo):vo.item_type==="Attachment"&&Xn.push(vo),vo.children&&vo.children.length&&Yo(vo.children)})};dr==null||dr.forEach(To=>{Yo(To.items)}),window.filterVideoSign=[...Nn],yield b({type:"save",payload:{active:ca,stages:dr,cust_seq:!0,videoList:Nn,attachmentList:Xn}})}},reducers:{save(m,y){return ui(ui({},m),y.payload)},handleListItemClick(m,y){const{videoList:b,attachmentList:z}=m,oe=y.payload.videoId||y.payload.attachmentId,mr=[...b,...z].find(dr=>`${dr.id}`==`${oe}`);return is(ui({},m),{active:mr,queryParams:ui(ui({},dl()),y.payload)})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Xo=e(45474),pl=Object.defineProperty,bu=Object.getOwnPropertySymbols,ju=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,Mc=(m,y,b)=>y in m?pl(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Lu=(m,y)=>{for(var b in y||(y={}))ju.call(y,b)&&Mc(m,b,y[b]);if(bu)for(var b of bu(y))ac.call(y,b)&&Mc(m,b,y[b]);return m},Lc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:m},{call:y,put:b}){const z=yield y(Xo.y2,m);return yield b({type:"save",payload:{Workplace:{BaseData:z.data}}}),z},*putEditDiscussion({payload:m},{call:y,put:b}){return yield y(Xo.CH,m)},*getDiscussionDetail({payload:m},{call:y,put:b}){const z=yield y(Xo.XQ,m);return yield b({type:"save",payload:{DiscussionDetail:z}}),z},*postDiscussionList({payload:m},{call:y,put:b}){return yield y(Xo.Ll,m)},*getDiscussionList({payload:m},{call:y,put:b}){const z=yield y(Xo.EA,m);return yield b({type:"save",payload:{DiscussionList:z}}),z},*postAddLessonRes({payload:m},{call:y,put:b}){return yield y(Xo.cZ,m)},*getLessonResourcesList({payload:m},{call:y,put:b}){const z=yield y(Xo.b,m);return yield b({type:"save",payload:{LessonResList:z}}),z},*putGoodLessonsDetail({payload:m},{call:y,put:b}){return yield y(Xo.To,m)},*getGoodLessonsDetail({payload:m},{call:y,put:b}){const z=yield y(Xo.FU,m);return yield b({type:"save",payload:{LessonDetail:z}}),z},*postGoodLessonsList({payload:m},{call:y,put:b}){return yield y(Xo.Vf,m)},*getGoodLessonsList({payload:m},{call:y,put:b}){const z=yield y(Xo.G_,m);return yield b({type:"save",payload:{LessonsList:z}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Lu({},m)}})},*setShowMenu({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showMenu:m}})},*getVirtualSpacesDetails({payload:m},{call:y,put:b}){const z=yield y(Xo.sT,m);yield b({type:"save",payload:{virtualSpacesDetails:Lu({},z)}})},*setVirtualSpacesLoading({payload:m},{call:y,put:b}){yield b({type:"save",payload:{loading:m}})},*getVirtualSpacesMenus({payload:m},{call:y,put:b}){const z=yield y(Xo.Sl,m);return yield b({type:"save",payload:{menus:z}}),z}},reducers:{save(m,y){return Lu(Lu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}};const Fs={model_1:{namespace:"account.index",model:P},model_2:{namespace:"classrooms.announcement",model:k},model_3:{namespace:"classrooms.attachment",model:Q},model_4:{namespace:"classrooms.boards",model:se},model_5:{namespace:"classrooms.exercise",model:Re},model_6:{namespace:"classrooms.graduation",model:ft},model_7:{namespace:"classrooms.homeworks",model:lt},model_8:{namespace:"classrooms.index",model:At},model_9:{namespace:"classrooms.new",model:dt},model_10:{namespace:"classrooms.overview",model:Nt},model_11:{namespace:"classrooms.polls",model:rt},model_12:{namespace:"classrooms.teacher",model:on},model_13:{namespace:"classrooms.video",model:ja},model_14:{namespace:"competitions.index",model:ya},model_15:{namespace:"engineering.evaluateDetail",model:Xe},model_16:{namespace:"engineering.evaluateList",model:En.Z},model_17:{namespace:"engineering.index",model:ea},model_18:{namespace:"engineering.navigation",model:xr},model_19:{namespace:"engineering.normDetail",model:jn},model_20:{namespace:"engineering.normList",model:Bo},model_21:{namespace:"forums.detail",model:Oi},model_22:{namespace:"forums.index",model:fs},model_23:{namespace:"globalSetting",model:Hi},model_24:{namespace:"graduations.index",model:ut},model_25:{namespace:"homePage",model:Gt},model_26:{namespace:"innovation.index",model:Vn},model_27:{namespace:"intraincourse.index",model:ln},model_28:{namespace:"loading",model:Rn},model_29:{namespace:"messages.index",model:Zo},model_30:{namespace:"paperlibrary.index",model:fr},model_31:{namespace:"paperlibrary.newPaper",model:$r},model_32:{namespace:"paths.detail",model:wl},model_33:{namespace:"paths.index",model:fi},model_34:{namespace:"paths.new",model:gc},model_35:{namespace:"paths.overview",model:Ti},model_36:{namespace:"problemset.index",model:Sl},model_37:{namespace:"problemset.preview",model:ys},model_38:{namespace:"resetFul.index",model:Iu},model_39:{namespace:"shixuns.detail",model:tu},model_40:{namespace:"shixuns.index",model:Qu},model_41:{namespace:"shixuns.new",model:Ju},model_42:{namespace:"shixuns.overview",model:Ic},model_43:{namespace:"shixuns.practiceSetting",model:Il},model_44:{namespace:"user.detail",model:ll},model_45:{namespace:"user.index",model:Gi},model_46:{namespace:"video.detail",model:nc},model_47:{namespace:"virtualSpaces.index",model:Lc}};var Al=Object.defineProperty,oc=Object.getOwnPropertySymbols,ss=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable,Fu=(m,y,b)=>y in m?Al(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Fc=(m,y)=>{for(var b in y||(y={}))ss.call(y,b)&&Fu(m,b,y[b]);if(oc)for(var b of oc(y))ic.call(y,b)&&Fu(m,b,y[b]);return m};let Nu;function vl(m){const{pluginManager:y}=(0,s.useAppData)(),b=(0,a.useRef)(),z=y.applyPlugins({key:"dva",type:s.ApplyPluginsType.modify,initialValue:{}});if(!b.current){b.current=(0,t.Ue)(Fc({history:s.history},z.config||{}),{initialReducer:{},setupMiddlewares(oe){return[...oe]},setupApp(oe){oe._history=s.history}}),Nu=b.current,b.current.use(n()()),(z.plugins||[]).forEach(oe=>{b.current.use(oe)});for(const oe of Object.keys(Fs))b.current.model(Fc({namespace:Fs[oe].namespace},Fs[oe].model));b.current.start()}return a.createElement(t.zt,{store:b.current._store},m.children)}function Dl(){return Nu}},97683:function(i,d,e){"use strict";e.d(d,{PZ:function(){return Za},eU:function(){return f},B:function(){return Ja},Mg:function(){return yo},lw:function(){return Pe},Kd:function(){return aa},H8:function(){return ya}});var t=e(59301),r=e(94266),n=e.n(r);const a=n()||r;function s(xe){return xe.displayName||xe.name||"Component"}const u=t.createContext(null),{Consumer:c,Provider:o}=u,f=o,_=null;function p(xe,Xe){const{intlPropName:q="intl",forwardRef:It=!1,enforceContext:Jt=!0}=Xe||{},Pr=Rr=>React.createElement(c,null,Sr=>(Jt&&invariantIntlContext(Sr),React.createElement(xe,Object.assign({},Rr,{[q]:Sr},{ref:It?Rr.forwardedRef:null}))));return Pr.displayName=`injectIntl(${s(xe)})`,Pr.WrappedComponent=xe,a(It?React.forwardRef((Rr,Sr)=>React.createElement(Pr,Object.assign({},Rr,{forwardedRef:Sr}))):Pr,xe)}var x;(function(xe){xe[xe.literal=0]="literal",xe[xe.argument=1]="argument",xe[xe.number=2]="number",xe[xe.date=3]="date",xe[xe.time=4]="time",xe[xe.select=5]="select",xe[xe.plural=6]="plural",xe[xe.pound=7]="pound"})(x||(x={}));function g(xe){return xe.type===x.literal}function P(xe){return xe.type===x.argument}function O(xe){return xe.type===x.number}function S(xe){return xe.type===x.date}function I(xe){return xe.type===x.time}function E(xe){return xe.type===x.select}function A(xe){return xe.type===x.plural}function R(xe){return xe.type===x.pound}function T(xe){return!!(xe&&typeof xe=="object"&&xe.type===0)}function D(xe){return!!(xe&&typeof xe=="object"&&xe.type===1)}function k(xe){return{type:x.literal,value:xe}}function B(xe,Xe){return{type:x.number,value:xe,style:Xe}}var j=function(){var xe=function(Xe,q){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,Jt){It.__proto__=Jt}||function(It,Jt){for(var Pr in Jt)Jt.hasOwnProperty(Pr)&&(It[Pr]=Jt[Pr])},xe(Xe,q)};return function(Xe,q){xe(Xe,q);function It(){this.constructor=Xe}Xe.prototype=q===null?Object.create(q):(It.prototype=q.prototype,new It)}}(),V=function(){return V=Object.assign||function(xe){for(var Xe,q=1,It=arguments.length;q0){for(nt=1,be=1;nt{fr.current=void 0,Da.current=void 0,qa.current=Br});const fn=r.useMemo(()=>r.createElement(Mn,(0,Ji.Z)({},Br,{ref:ao})),[ao,Mn,Br]);return r.useMemo(()=>da?r.createElement(Ba.Provider,{value:Aa},fn):fn,[Ba,fn,Aa])}const pa=r.memo(Ia);if(pa.WrappedComponent=Mn,pa.displayName=Ia.displayName=Ln,_r){const ua=r.forwardRef(function(Hn,Ba){return r.createElement(pa,(0,Ji.Z)({},Hn,{reactReduxForwardedRef:Ba}))});return ua.displayName=Ln,ua.WrappedComponent=Mn,qi()(ua,Mn)}return qi()(pa,Mn)}}var Vn=ga;function ra({store:ve,context:he,children:We,serverState:tt,stabilityCheck:Rt="once",noopCheck:Wt="once"}){const tr=r.useMemo(()=>{const Dr=Or(ve);return{store:ve,subscription:Dr,getServerState:tt?()=>tt:void 0,stabilityCheck:Rt,noopCheck:Wt}},[ve,tt,Rt,Wt]),Ar=r.useMemo(()=>ve.getState(),[ve]);Yr(()=>{const{subscription:Dr}=tr;return Dr.onStateChange=Dr.notifyNestedSubs,Dr.trySubscribe(),Ar!==ve.getState()&&Dr.notifyNestedSubs(),()=>{Dr.tryUnsubscribe(),Dr.onStateChange=void 0}},[tr,Ar]);const _r=he||$o;return r.createElement(_r.Provider,{value:tr},We)}var Co=ra;function bo(ve=$o){const he=ve===$o?Is:zi(ve);return function(){const{store:tt}=he();return tt}}const Zn=bo();function oi(ve=$o){const he=ve===$o?Zn:bo(ve);return function(){return he().dispatch}}const Oo=oi();Vs(cs.useSyncExternalStoreWithSelector),Gt(Bi.useSyncExternalStore),zo(ls.unstable_batchedUpdates);var so=Object.defineProperty,Ka=Object.getOwnPropertySymbols,li=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable,Vr=(ve,he,We)=>he in ve?so(ve,he,{enumerable:!0,configurable:!0,writable:!0,value:We}):ve[he]=We,wo=(ve,he)=>{for(var We in he||(he={}))li.call(he,We)&&Vr(ve,We,he[We]);if(Ka)for(var We of Ka(he))ei.call(he,We)&&Vr(ve,We,he[We]);return ve};function Mo(ve){const he=create(ve,{initialReducer:{},setupApp(){}}),We=he.start;return he.router=tt,he.start=Rt,he;function tt(Wt){he._router=Wt}function Rt(Wt){if(typeof Wt!="undefined")throw new Error("dva.start() should not be called with any arguments.");he._store||We.call(he);const tr=he._store,Ar=he._router;return _r=>React.createElement(Provider,{store:tr},Ar(wo({app:he},_r)))}}},48335:function(i,d,e){"use strict";e.d(d,{fi:function(){return g},m8:function(){return p}});var t=e(19340),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(I,E,A)=>E in I?r(I,E,{enumerable:!0,configurable:!0,writable:!0,value:A}):I[E]=A,f=(I,E)=>{for(var A in E||(E={}))u.call(E,A)&&o(I,A,E[A]);if(s)for(var A of s(E))c.call(E,A)&&o(I,A,E[A]);return I},_=(I,E)=>n(I,a(E));let p,x="/";function g(I){let E;return I.type==="hash"?E=(0,t.q_)():I.type==="memory"?E=(0,t.PP)(I):E=(0,t.lX)(),I.basename&&(x=I.basename),p=_(f({},E),{push(A,R){E.push(O(A,E),R)},replace(A,R){E.replace(O(A,E),R)},get location(){return E.location},get action(){return E.action}}),E}function P(I){I&&(p=I)}function O(I,E){if(typeof I=="string")return`${S(x)}${I}`;if(typeof I=="object"){const A=E.location.pathname;return _(f({},I),{pathname:I.pathname?`${S(x)}${I.pathname}`:A})}else throw new Error(`Unexpected to: ${I}`)}function S(I){return I.slice(-1)==="/"?I.slice(0,-1):I}},62510:function(i,d,e){"use strict";e.d(d,{gD:function(){return Er},We:function(){return wt}});var t={};e.r(t),e.d(t,{dva:function(){return f}});var r={};e.r(r),e.d(r,{innerProvider:function(){return fe}});var n={};e.r(n),e.d(n,{rootContainer:function(){return At}});var a={};e.r(a),e.d(a,{dataflowProvider:function(){return _t}});var s={};e.r(s),e.d(s,{i18nProvider:function(){return er}});var u=e(6767),c=e(66649),o=e.n(c);o().locale("ZH-cn");const f={config:{onError(qe){u.ZP.error(qe.message,3)}}};var _=e(59301),p=e(12708),x=e.n(p),g=e(12373),P=e.n(g),O=e(44520),S=e.n(O),I=e(19747),E=e.n(I);function A(){return A=Object.assign||function(qe){for(var Ue=1;Ue=0||(Tt[Le]=qe[Le]);return Tt}var M={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},B={rel:["amphtml","canonical","alternate"]},j={type:["application/ld+json"]},V={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},H=Object.keys(M).map(function(qe){return M[qe]}),Y={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},F=Object.keys(Y).reduce(function(qe,Ue){return qe[Y[Ue]]=Ue,qe},{}),K=function(qe,Ue){for(var Le=qe.length-1;Le>=0;Le-=1){var rt=qe[Le];if(Object.prototype.hasOwnProperty.call(rt,Ue))return rt[Ue]}return null},X=function(qe){var Ue=K(qe,M.TITLE),Le=K(qe,"titleTemplate");if(Array.isArray(Ue)&&(Ue=Ue.join("")),Le&&Ue)return Le.replace(/%s/g,function(){return Ue});var rt=K(qe,"defaultTitle");return Ue||rt||void 0},Q=function(qe){return K(qe,"onChangeClientState")||function(){}},W=function(qe,Ue){return Ue.filter(function(Le){return Le[qe]!==void 0}).map(function(Le){return Le[qe]}).reduce(function(Le,rt){return A({},Le,rt)},{})},N=function(qe,Ue){return Ue.filter(function(Le){return Le[M.BASE]!==void 0}).map(function(Le){return Le[M.BASE]}).reverse().reduce(function(Le,rt){if(!Le.length)for(var Tt=Object.keys(rt),Lt=0;Lt/g,">").replace(/"/g,""").replace(/'/g,"'")},le=function(qe){return Object.keys(qe).reduce(function(Ue,Le){var rt=qe[Le]!==void 0?Le+'="'+qe[Le]+'"':""+Le;return Ue?Ue+" "+rt:rt},"")},de=function(qe,Ue){return Ue===void 0&&(Ue={}),Object.keys(qe).reduce(function(Le,rt){return Le[Y[rt]||rt]=qe[rt],Le},Ue)},He=function(qe,Ue){return Ue.map(function(Le,rt){var Tt,Lt=((Tt={key:rt})["data-rh"]=!0,Tt);return Object.keys(Le).forEach(function(gr){var yr=Y[gr]||gr;yr==="innerHTML"||yr==="cssText"?Lt.dangerouslySetInnerHTML={__html:Le.innerHTML||Le.cssText}:Lt[yr]=Le[gr]}),_.createElement(qe,Lt)})},ze=function(qe,Ue,Le){switch(qe){case M.TITLE:return{toComponent:function(){return Tt=Ue.titleAttributes,(Lt={key:rt=Ue.title})["data-rh"]=!0,gr=de(Tt,Lt),[_.createElement(M.TITLE,gr,rt)];var rt,Tt,Lt,gr},toString:function(){return function(rt,Tt,Lt,gr){var yr=le(Lt),Ur=Z(Tt);return yr?"<"+rt+' data-rh="true" '+yr+">"+se(Ur,gr)+"":"<"+rt+' data-rh="true">'+se(Ur,gr)+""}(qe,Ue.title,Ue.titleAttributes,Le)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return de(Ue)},toString:function(){return le(Ue)}};default:return{toComponent:function(){return He(qe,Ue)},toString:function(){return function(rt,Tt,Lt){return Tt.reduce(function(gr,yr){var Ur=Object.keys(yr).filter(function(_n){return!(_n==="innerHTML"||_n==="cssText")}).reduce(function(_n,on){var Fe=yr[on]===void 0?on:on+'="'+se(yr[on],Lt)+'"';return _n?_n+" "+Fe:Fe},""),bn=yr.innerHTML||yr.cssText||"",sr=ie.indexOf(rt)===-1;return gr+"<"+rt+' data-rh="true" '+Ur+(sr?"/>":">"+bn+"")},"")}(qe,Ue,Le)}}}},st=function(qe){var Ue=qe.baseTag,Le=qe.bodyAttributes,rt=qe.encode,Tt=qe.htmlAttributes,Lt=qe.noscriptTags,gr=qe.styleTags,yr=qe.title,Ur=yr===void 0?"":yr,bn=qe.titleAttributes,sr=qe.linkTags,_n=qe.metaTags,on=qe.scriptTags,Fe={toComponent:function(){},toString:function(){return""}};if(qe.prioritizeSeoTags){var Ne=function(en){var pn=en.linkTags,ha=en.scriptTags,ma=en.encode,On=G(en.metaTags,V),za=G(pn,B),ja=G(ha,j);return{priorityMethods:{toComponent:function(){return[].concat(He(M.META,On.priority),He(M.LINK,za.priority),He(M.SCRIPT,ja.priority))},toString:function(){return ze(M.META,On.priority,ma)+" "+ze(M.LINK,za.priority,ma)+" "+ze(M.SCRIPT,ja.priority,ma)}},metaTags:On.default,linkTags:za.default,scriptTags:ja.default}}(qe);Fe=Ne.priorityMethods,sr=Ne.linkTags,_n=Ne.metaTags,on=Ne.scriptTags}return{priority:Fe,base:ze(M.BASE,Ue,rt),bodyAttributes:ze("bodyAttributes",Le,rt),htmlAttributes:ze("htmlAttributes",Tt,rt),link:ze(M.LINK,sr,rt),meta:ze(M.META,_n,rt),noscript:ze(M.NOSCRIPT,Lt,rt),script:ze(M.SCRIPT,on,rt),style:ze(M.STYLE,gr,rt),title:ze(M.TITLE,{title:Ur,titleAttributes:bn},rt)}},vt=[],Je=function(qe,Ue){var Le=this;Ue===void 0&&(Ue=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(rt){Le.context.helmet=rt},helmetInstances:{get:function(){return Le.canUseDOM?vt:Le.instances},add:function(rt){(Le.canUseDOM?vt:Le.instances).push(rt)},remove:function(rt){var Tt=(Le.canUseDOM?vt:Le.instances).indexOf(rt);(Le.canUseDOM?vt:Le.instances).splice(Tt,1)}}},this.context=qe,this.canUseDOM=Ue,Ue||(qe.helmet=st({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Ke=_.createContext({}),Re=x().shape({setHelmet:x().func,helmetInstances:x().shape({get:x().func,add:x().func,remove:x().func})}),Ce=typeof document!="undefined",me=function(qe){function Ue(Le){var rt;return(rt=qe.call(this,Le)||this).helmetData=new Je(rt.props.context,Ue.canUseDOM),rt}return R(Ue,qe),Ue.prototype.render=function(){return _.createElement(Ke.Provider,{value:this.helmetData.value},this.props.children)},Ue}(_.Component);me.canUseDOM=Ce,me.propTypes={context:x().shape({helmet:x().shape()}),children:x().node.isRequired},me.defaultProps={context:{}},me.displayName="HelmetProvider";var at=function(qe,Ue){var Le,rt=document.head||document.querySelector(M.HEAD),Tt=rt.querySelectorAll(qe+"[data-rh]"),Lt=[].slice.call(Tt),gr=[];return Ue&&Ue.length&&Ue.forEach(function(yr){var Ur=document.createElement(qe);for(var bn in yr)Object.prototype.hasOwnProperty.call(yr,bn)&&(bn==="innerHTML"?Ur.innerHTML=yr.innerHTML:bn==="cssText"?Ur.styleSheet?Ur.styleSheet.cssText=yr.cssText:Ur.appendChild(document.createTextNode(yr.cssText)):Ur.setAttribute(bn,yr[bn]===void 0?"":yr[bn]));Ur.setAttribute("data-rh","true"),Lt.some(function(sr,_n){return Le=_n,Ur.isEqualNode(sr)})?Lt.splice(Le,1):gr.push(Ur)}),Lt.forEach(function(yr){return yr.parentNode.removeChild(yr)}),gr.forEach(function(yr){return rt.appendChild(yr)}),{oldTags:Lt,newTags:gr}},ct=function(qe,Ue){var Le=document.getElementsByTagName(qe)[0];if(Le){for(var rt=Le.getAttribute("data-rh"),Tt=rt?rt.split(","):[],Lt=[].concat(Tt),gr=Object.keys(Ue),yr=0;yr=0;_n-=1)Le.removeAttribute(Lt[_n]);Tt.length===Lt.length?Le.removeAttribute("data-rh"):Le.getAttribute("data-rh")!==gr.join(",")&&Le.setAttribute("data-rh",gr.join(","))}},St=function(qe,Ue){var Le=qe.baseTag,rt=qe.htmlAttributes,Tt=qe.linkTags,Lt=qe.metaTags,gr=qe.noscriptTags,yr=qe.onChangeClientState,Ur=qe.scriptTags,bn=qe.styleTags,sr=qe.title,_n=qe.titleAttributes;ct(M.BODY,qe.bodyAttributes),ct(M.HTML,rt),function(en,pn){en!==void 0&&document.title!==en&&(document.title=Z(en)),ct(M.TITLE,pn)}(sr,_n);var on={baseTag:at(M.BASE,Le),linkTags:at(M.LINK,Tt),metaTags:at(M.META,Lt),noscriptTags:at(M.NOSCRIPT,gr),scriptTags:at(M.SCRIPT,Ur),styleTags:at(M.STYLE,bn)},Fe={},Ne={};Object.keys(on).forEach(function(en){var pn=on[en],ha=pn.newTags,ma=pn.oldTags;ha.length&&(Fe[en]=ha),ma.length&&(Ne[en]=on[en].oldTags)}),Ue&&Ue(),yr(qe,Fe,Ne)},bt=null,Ie=function(qe){function Ue(){for(var rt,Tt=arguments.length,Lt=new Array(Tt),gr=0;gr elements are self-closing and can not contain children. Refer to our API for more information.")}},Le.flattenArrayTypeChildren=function(rt){var Tt,Lt=rt.child,gr=rt.arrayTypeChildren;return A({},gr,((Tt={})[Lt.type]=[].concat(gr[Lt.type]||[],[A({},rt.newChildProps,this.mapNestedChildrenToProps(Lt,rt.nestedChildren))]),Tt))},Le.mapObjectTypeChildren=function(rt){var Tt,Lt,gr=rt.child,yr=rt.newProps,Ur=rt.newChildProps,bn=rt.nestedChildren;switch(gr.type){case M.TITLE:return A({},yr,((Tt={})[gr.type]=bn,Tt.titleAttributes=A({},Ur),Tt));case M.BODY:return A({},yr,{bodyAttributes:A({},Ur)});case M.HTML:return A({},yr,{htmlAttributes:A({},Ur)});default:return A({},yr,((Lt={})[gr.type]=A({},Ur),Lt))}},Le.mapArrayTypeChildrenToProps=function(rt,Tt){var Lt=A({},Tt);return Object.keys(rt).forEach(function(gr){var yr;Lt=A({},Lt,((yr={})[gr]=rt[gr],yr))}),Lt},Le.warnOnInvalidChildren=function(rt,Tt){return S()(H.some(function(Lt){return rt.type===Lt}),typeof rt.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+H.join(", ")+" are allowed. Helmet does not support rendering <"+rt.type+"> elements. Refer to our API for more information."),S()(!Tt||typeof Tt=="string"||Array.isArray(Tt)&&!Tt.some(function(Lt){return typeof Lt!="string"}),"Helmet expects a string as a child of <"+rt.type+">. Did you forget to wrap your children in braces? ( <"+rt.type+">{``} ) Refer to our API for more information."),!0},Le.mapChildrenToProps=function(rt,Tt){var Lt=this,gr={};return _.Children.forEach(rt,function(yr){if(yr&&yr.props){var Ur=yr.props,bn=Ur.children,sr=D(Ur,$e),_n=Object.keys(sr).reduce(function(Fe,Ne){return Fe[F[Ne]||Ne]=sr[Ne],Fe},{}),on=yr.type;switch(typeof on=="symbol"?on=on.toString():Lt.warnOnInvalidChildren(yr,bn),on){case M.FRAGMENT:Tt=Lt.mapChildrenToProps(bn,Tt);break;case M.LINK:case M.META:case M.NOSCRIPT:case M.SCRIPT:case M.STYLE:gr=Lt.flattenArrayTypeChildren({child:yr,arrayTypeChildren:gr,newChildProps:_n,nestedChildren:bn});break;default:Tt=Lt.mapObjectTypeChildren({child:yr,newProps:Tt,newChildProps:_n,nestedChildren:bn})}}}),this.mapArrayTypeChildrenToProps(gr,Tt)},Le.render=function(){var rt=this.props,Tt=rt.children,Lt=D(rt,ft),gr=A({},Lt),yr=Lt.helmetData;return Tt&&(gr=this.mapChildrenToProps(Tt,gr)),!yr||yr instanceof Je||(yr=new Je(yr.context,yr.instances)),yr?_.createElement(Ie,A({},gr,{context:yr.value,helmetData:void 0})):_.createElement(Ke.Consumer,null,function(Ur){return _.createElement(Ie,A({},gr,{context:Ur}))})},Ue}(_.Component);ke.propTypes={base:x().object,bodyAttributes:x().object,children:x().oneOfType([x().arrayOf(x().node),x().node]),defaultTitle:x().string,defer:x().bool,encodeSpecialCharacters:x().bool,htmlAttributes:x().object,link:x().arrayOf(x().object),meta:x().arrayOf(x().object),noscript:x().arrayOf(x().object),onChangeClientState:x().func,script:x().arrayOf(x().object),style:x().arrayOf(x().object),title:x().string,titleAttributes:x().object,titleTemplate:x().string,prioritizeSeoTags:x().bool,helmetData:x().object},ke.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ke.displayName="Helmet";const ye={},fe=qe=>_.createElement(me,{context:ye},qe);var Oe=e(60840),Ee=e(44283),et=e(36237),mt=e(42191),pe=e(55056),ge=e.n(pe),lt=Object.defineProperty,Qe=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,Dt=(qe,Ue,Le)=>Ue in qe?lt(qe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):qe[Ue]=Le,Yt=(qe,Ue)=>{for(var Le in Ue||(Ue={}))Ve.call(Ue,Le)&&Dt(qe,Le,Ue[Le]);if(Qe)for(var Le of Qe(Ue))it.call(Ue,Le)&&Dt(qe,Le,Ue[Le]);return qe},Se=(qe,Ue)=>{var Le={};for(var rt in qe)Ve.call(qe,rt)&&Ue.indexOf(rt)<0&&(Le[rt]=qe[rt]);if(qe!=null&&Qe)for(var rt of Qe(qe))Ue.indexOf(rt)<0&&it.call(qe,rt)&&(Le[rt]=qe[rt]);return Le};let je=null;const Be=()=>(je||(je=wt().applyPlugins({key:"antd",type:Ee.ApplyPluginsType.modify,initialValue:Yt({},{componentSize:"middle"})})),je);function ht({children:qe}){let Ue=qe;const[Le,rt]=_.useState(()=>{const Lt=Be(),{appConfig:gr}=Lt;return Se(Lt,["appConfig"])}),Tt=Lt=>{rt(gr=>ge()({},gr,typeof Lt=="function"?Lt(gr):Lt))};return Le.prefixCls&&Oe.ZP.config({prefixCls:Le.prefixCls}),Le.iconPrefixCls&&Oe.ZP.config({iconPrefixCls:Le.iconPrefixCls}),Le.theme&&Oe.ZP.config({theme:Le.theme}),Ue=_.createElement(Oe.ZP,Yt({},Le),Ue),Ue=_.createElement(et.StyleProvider,{hashPriority:"high"},Ue),Ue=_.createElement(mt.C.Provider,{value:Tt},_.createElement(mt.S.Provider,{value:Le},Ue)),Ue}function At(qe){return _.createElement(ht,null,qe)}var ce=e(51385);function _t(qe,Ue){return _.createElement(ce.j,Ue,qe)}var qt=e(69351),Ht=e(97683),Ut=e(27813),cr=Object.defineProperty,Ze=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,ar=(qe,Ue,Le)=>Ue in qe?cr(qe,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Le}):qe[Ue]=Le,$t=(qe,Ue)=>{for(var Le in Ue||(Ue={}))dt.call(Ue,Le)&&ar(qe,Le,Ue[Le]);if(Ze)for(var Le of Ze(Ue))kt.call(Ue,Le)&&ar(qe,Le,Ue[Le]);return qe};function pr(){var qe,Ue;const Le=getLocale();(qe=moment)!=null&&qe.locale&&moment.locale(((Ue=localeInfo[Le])==null?void 0:Ue.momentLocale)||"zh-cn"),setIntl(Le)}const Ir=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?_.useLayoutEffect:_.useEffect,kr=qe=>{var Ue;const Le=(0,Ht.Kd)(),[rt,Tt]=_.useState(Le),[Lt,gr]=_.useState(()=>(0,Ht.lw)(rt,!0)),yr=sr=>{var _n,on;(_n=o())!=null&&_n.locale&&o().locale(((on=Ht.H8[sr])==null?void 0:on.momentLocale)||"en"),Tt(sr),gr((0,Ht.lw)(sr))};Ir(()=>(Ht.B.on(Ht.PZ,yr),()=>{Ht.B.off(Ht.PZ,yr)}),[]);const Ur=$t({},Ut.Z),bn=(0,Ht.Mg)();return _.createElement(Oe.ZP,{direction:bn,locale:((Ue=Ht.H8[rt])==null?void 0:Ue.antd)||Ur},_.createElement(Ht.eU,{value:Lt},qe.children))};function er(qe){return _.createElement(kr,null,qe)}function Nt(qe){return qe.default?typeof qe.default=="function"?qe.default():qe.default:qe}function Kt(){return[{apply:Nt(t),path:void 0},{apply:r,path:void 0},{apply:n,path:void 0},{apply:a,path:void 0},{apply:s,path:void 0}]}function Qt(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let Cr=null;function Er(){return Cr=Ee.PluginManager.create({plugins:Kt(),validKeys:Qt()}),Cr}function wt(){return Cr}},44283:function(i,d,e){"use strict";e.d(d,{ApplyPluginsType:function(){return Ce},Link:function(){return K},Outlet:function(){return X.j3},PluginManager:function(){return me},connect:function(){return s.$j},getDvaApp:function(){return u.Q},history:function(){return at.m8},useAppData:function(){return j.Ov},useDispatch:function(){return s.I0},useLocation:function(){return X.TH},useOutletContext:function(){return X.bx},useParams:function(){return X.UO},useSearchParams:function(){return B.lr},useSelector:function(){return s.v9}});var t=e(59301),r=e(42191);function n(){return React.useContext(AntdConfigContext)}function a(){return React.useContext(AntdConfigContextSetter)}var s=e(80679),u=e(51385),c=e(97683),o=Object.defineProperty,f=Object.defineProperties,_=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,P=(fe,Oe,Ee)=>Oe in fe?o(fe,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):fe[Oe]=Ee,O=(fe,Oe)=>{for(var Ee in Oe||(Oe={}))x.call(Oe,Ee)&&P(fe,Ee,Oe[Ee]);if(p)for(var Ee of p(Oe))g.call(Oe,Ee)&&P(fe,Ee,Oe[Ee]);return fe},S=(fe,Oe)=>f(fe,_(Oe)),I=(fe,Oe)=>{var Ee={};for(var et in fe)x.call(fe,et)&&Oe.indexOf(et)<0&&(Ee[et]=fe[et]);if(fe!=null&&p)for(var et of p(fe))Oe.indexOf(et)<0&&g.call(fe,et)&&(Ee[et]=fe[et]);return Ee};const E=fe=>{var Oe=fe,{overlayClassName:Ee}=Oe,et=I(Oe,["overlayClassName"]);return React.createElement(Dropdown,O({overlayClassName:Ee},et))},A=fe=>fe.reduce((Oe,Ee)=>Ee.lang?S(O({},Oe),{[Ee.lang]:Ee}):Oe,{}),R={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},T=fe=>React.createElement(React.Fragment,null);var D=e(38329),M=e(38127),B=e(32451),j=e(25053),V=e(87296);function H(fe,Oe){var Ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var mt=t.useRef(typeof IntersectionObserver=="function"),pe=t.useRef(null);return t.useEffect(function(){if(!(!fe.current||!mt.current||et.disabled))return pe.current=new IntersectionObserver(function(ge){var lt=(0,V.Z)(ge,1),Qe=lt[0];Oe(Qe)},Ee),pe.current.observe(fe.current),function(){var ge;(ge=pe.current)===null||ge===void 0||ge.disconnect()}},[Oe,Ee,et.disabled,fe]),pe.current}var Y=["prefetch"];function F(fe){var Oe=t.useRef(null);return t.useEffect(function(){fe&&(typeof fe=="function"?fe(Oe.current):fe.current=Oe.current)}),Oe}var K=t.forwardRef(function(fe,Oe){var Ee,et=fe.prefetch,mt=(0,M.Z)(fe,Y),pe=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},ge=pe.defaultPrefetch,lt=pe.defaultPrefetchTimeout,Qe=(et===!0?"intent":et===!1?"none":et)||ge;if(!["intent","render","viewport","none"].includes(Qe))throw new Error("Invalid prefetch value ".concat(Qe," found in Link component"));var Ve=(0,j.Ov)(),it=typeof fe.to=="string"?fe.to:(Ee=fe.to)===null||Ee===void 0?void 0:Ee.pathname,Dt=t.useRef(!1),Yt=F(Oe),Se=function(ht){if(Qe==="intent"){var At=ht.target||{};At.preloadTimeout||(At.preloadTimeout=setTimeout(function(){var ce;At.preloadTimeout=null,(ce=Ve.preloadRoute)===null||ce===void 0||ce.call(Ve,it)},fe.prefetchTimeout||lt))}},je=function(ht){if(Qe==="intent"){var At=ht.target||{};At.preloadTimeout&&(clearTimeout(At.preloadTimeout),At.preloadTimeout=null)}};return(0,t.useLayoutEffect)(function(){if(Qe==="render"&&!Dt.current){var Be;(Be=Ve.preloadRoute)===null||Be===void 0||Be.call(Ve,it),Dt.current=!0}},[Qe,it]),H(Yt,function(Be){if(Be!=null&&Be.isIntersecting){var ht;(ht=Ve.preloadRoute)===null||ht===void 0||ht.call(Ve,it)}},{rootMargin:"100px"},{disabled:Qe!=="viewport"}),it?t.createElement(B.rU,(0,D.Z)({onMouseEnter:Se,onMouseLeave:je,ref:Yt},mt),fe.children):null}),X=e(35338),Q=e(8616);function W(){"use strict";W=function(){return Oe};var fe,Oe={},Ee=Object.prototype,et=Ee.hasOwnProperty,mt=Object.defineProperty||function(er,Nt,Kt){er[Nt]=Kt.value},pe=typeof Symbol=="function"?Symbol:{},ge=pe.iterator||"@@iterator",lt=pe.asyncIterator||"@@asyncIterator",Qe=pe.toStringTag||"@@toStringTag";function Ve(er,Nt,Kt){return Object.defineProperty(er,Nt,{value:Kt,enumerable:!0,configurable:!0,writable:!0}),er[Nt]}try{Ve({},"")}catch(er){Ve=function(Kt,Qt,Cr){return Kt[Qt]=Cr}}function it(er,Nt,Kt,Qt){var Cr=Nt&&Nt.prototype instanceof At?Nt:At,Er=Object.create(Cr.prototype),wt=new Ir(Qt||[]);return mt(Er,"_invoke",{value:kt(er,Kt,wt)}),Er}function Dt(er,Nt,Kt){try{return{type:"normal",arg:er.call(Nt,Kt)}}catch(Qt){return{type:"throw",arg:Qt}}}Oe.wrap=it;var Yt="suspendedStart",Se="suspendedYield",je="executing",Be="completed",ht={};function At(){}function ce(){}function _t(){}var qt={};Ve(qt,ge,function(){return this});var Ht=Object.getPrototypeOf,Ut=Ht&&Ht(Ht(kr([])));Ut&&Ut!==Ee&&et.call(Ut,ge)&&(qt=Ut);var cr=_t.prototype=At.prototype=Object.create(qt);function Ze(er){["next","throw","return"].forEach(function(Nt){Ve(er,Nt,function(Kt){return this._invoke(Nt,Kt)})})}function dt(er,Nt){function Kt(Cr,Er,wt,qe){var Ue=Dt(er[Cr],er,Er);if(Ue.type!=="throw"){var Le=Ue.arg,rt=Le.value;return rt&&(0,Q.Z)(rt)=="object"&&et.call(rt,"__await")?Nt.resolve(rt.__await).then(function(Tt){Kt("next",Tt,wt,qe)},function(Tt){Kt("throw",Tt,wt,qe)}):Nt.resolve(rt).then(function(Tt){Le.value=Tt,wt(Le)},function(Tt){return Kt("throw",Tt,wt,qe)})}qe(Ue.arg)}var Qt;mt(this,"_invoke",{value:function(Er,wt){function qe(){return new Nt(function(Ue,Le){Kt(Er,wt,Ue,Le)})}return Qt=Qt?Qt.then(qe,qe):qe()}})}function kt(er,Nt,Kt){var Qt=Yt;return function(Cr,Er){if(Qt===je)throw new Error("Generator is already running");if(Qt===Be){if(Cr==="throw")throw Er;return{value:fe,done:!0}}for(Kt.method=Cr,Kt.arg=Er;;){var wt=Kt.delegate;if(wt){var qe=ar(wt,Kt);if(qe){if(qe===ht)continue;return qe}}if(Kt.method==="next")Kt.sent=Kt._sent=Kt.arg;else if(Kt.method==="throw"){if(Qt===Yt)throw Qt=Be,Kt.arg;Kt.dispatchException(Kt.arg)}else Kt.method==="return"&&Kt.abrupt("return",Kt.arg);Qt=je;var Ue=Dt(er,Nt,Kt);if(Ue.type==="normal"){if(Qt=Kt.done?Be:Se,Ue.arg===ht)continue;return{value:Ue.arg,done:Kt.done}}Ue.type==="throw"&&(Qt=Be,Kt.method="throw",Kt.arg=Ue.arg)}}}function ar(er,Nt){var Kt=Nt.method,Qt=er.iterator[Kt];if(Qt===fe)return Nt.delegate=null,Kt==="throw"&&er.iterator.return&&(Nt.method="return",Nt.arg=fe,ar(er,Nt),Nt.method==="throw")||Kt!=="return"&&(Nt.method="throw",Nt.arg=new TypeError("The iterator does not provide a '"+Kt+"' method")),ht;var Cr=Dt(Qt,er.iterator,Nt.arg);if(Cr.type==="throw")return Nt.method="throw",Nt.arg=Cr.arg,Nt.delegate=null,ht;var Er=Cr.arg;return Er?Er.done?(Nt[er.resultName]=Er.value,Nt.next=er.nextLoc,Nt.method!=="return"&&(Nt.method="next",Nt.arg=fe),Nt.delegate=null,ht):Er:(Nt.method="throw",Nt.arg=new TypeError("iterator result is not an object"),Nt.delegate=null,ht)}function $t(er){var Nt={tryLoc:er[0]};1 in er&&(Nt.catchLoc=er[1]),2 in er&&(Nt.finallyLoc=er[2],Nt.afterLoc=er[3]),this.tryEntries.push(Nt)}function pr(er){var Nt=er.completion||{};Nt.type="normal",delete Nt.arg,er.completion=Nt}function Ir(er){this.tryEntries=[{tryLoc:"root"}],er.forEach($t,this),this.reset(!0)}function kr(er){if(er||er===""){var Nt=er[ge];if(Nt)return Nt.call(er);if(typeof er.next=="function")return er;if(!isNaN(er.length)){var Kt=-1,Qt=function Cr(){for(;++Kt=0;--Cr){var Er=this.tryEntries[Cr],wt=Er.completion;if(Er.tryLoc==="root")return Qt("end");if(Er.tryLoc<=this.prev){var qe=et.call(Er,"catchLoc"),Ue=et.call(Er,"finallyLoc");if(qe&&Ue){if(this.prev=0;--Qt){var Cr=this.tryEntries[Qt];if(Cr.tryLoc<=this.prev&&et.call(Cr,"finallyLoc")&&this.prev=0;--Kt){var Qt=this.tryEntries[Kt];if(Qt.finallyLoc===Nt)return this.complete(Qt.completion,Qt.afterLoc),pr(Qt),ht}},catch:function(Nt){for(var Kt=this.tryEntries.length-1;Kt>=0;--Kt){var Qt=this.tryEntries[Kt];if(Qt.tryLoc===Nt){var Cr=Qt.completion;if(Cr.type==="throw"){var Er=Cr.arg;pr(Qt)}return Er}}throw new Error("illegal catch attempt")},delegateYield:function(Nt,Kt,Qt){return this.delegate={iterator:kr(Nt),resultName:Kt,nextLoc:Qt},this.method==="next"&&(this.arg=fe),ht}},Oe}var N=e(63579);function J(fe,Oe,Ee,et,mt,pe,ge){try{var lt=fe[pe](ge),Qe=lt.value}catch(Ve){Ee(Ve);return}lt.done?Oe(Qe):Promise.resolve(Qe).then(et,mt)}function k(fe){return function(){var Oe=this,Ee=arguments;return new Promise(function(et,mt){var pe=fe.apply(Oe,Ee);function ge(Qe){J(pe,et,mt,ge,lt,"next",Qe)}function lt(Qe){J(pe,et,mt,ge,lt,"throw",Qe)}ge(void 0)})}}var Z=e(99227);function G(fe,Oe){var Ee=typeof Symbol!="undefined"&&fe[Symbol.iterator]||fe["@@iterator"];if(!Ee){if(Array.isArray(fe)||(Ee=(0,Z.Z)(fe))||Oe&&fe&&typeof fe.length=="number"){Ee&&(fe=Ee);var et=0,mt=function(){};return{s:mt,n:function(){return et>=fe.length?{done:!0}:{done:!1,value:fe[et++]}},e:function(Ve){throw Ve},f:mt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var pe=!0,ge=!1,lt;return{s:function(){Ee=Ee.call(fe)},n:function(){var Ve=Ee.next();return pe=Ve.done,Ve},e:function(Ve){ge=!0,lt=Ve},f:function(){try{!pe&&Ee.return!=null&&Ee.return()}finally{if(ge)throw lt}}}}var ee=e(73825);function ie(fe){if(typeof Symbol!="undefined"&&fe[Symbol.iterator]!=null||fe["@@iterator"]!=null)return Array.from(fe)}var se=e(66160);function le(fe){return(0,ee.Z)(fe)||ie(fe)||(0,Z.Z)(fe)||(0,se.Z)()}function de(fe,Oe){if(!(fe instanceof Oe))throw new TypeError("Cannot call a class as a function")}var He=e(89878);function ze(fe,Oe){for(var Ee=0;Ee-1,"register failed, invalid key ".concat(mt," ").concat(Ee.path?"from plugin ".concat(Ee.path):"",".")),et.hooks[mt]=(et.hooks[mt]||[]).concat(Ee.apply[mt])})}},{key:"getHooks",value:function(Ee){var et=Ee.split("."),mt=le(et),pe=mt[0],ge=mt.slice(1),lt=this.hooks[pe]||[];return ge.length&&(lt=lt.map(function(Qe){try{var Ve=Qe,it=G(ge),Dt;try{for(it.s();!(Dt=it.n()).done;){var Yt=Dt.value;Ve=Ve[Yt]}}catch(Se){it.e(Se)}finally{it.f()}return Ve}catch(Se){return null}}).filter(Boolean)),lt}},{key:"applyPlugins",value:function(Ee){var et=Ee.key,mt=Ee.type,pe=Ee.initialValue,ge=Ee.args,lt=Ee.async,Qe=this.getHooks(et)||[];switch(ge&&Je((0,Q.Z)(ge)==="object","applyPlugins failed, args must be plain object."),lt&&Je(mt===Ce.modify||mt===Ce.event,"async only works with modify and event type."),mt){case Ce.modify:return lt?Qe.reduce(function(){var Ve=k(W().mark(function it(Dt,Yt){var Se;return W().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(Je(typeof Yt=="function"||(0,Q.Z)(Yt)==="object"||Re(Yt),"applyPlugins failed, all hooks for key ".concat(et," must be function, plain object or Promise.")),!Re(Dt)){Be.next=5;break}return Be.next=4,Dt;case 4:Dt=Be.sent;case 5:if(typeof Yt!="function"){Be.next=16;break}if(Se=Yt(Dt,ge),!Re(Se)){Be.next=13;break}return Be.next=10,Se;case 10:return Be.abrupt("return",Be.sent);case 13:return Be.abrupt("return",Se);case 14:Be.next=21;break;case 16:if(!Re(Yt)){Be.next=20;break}return Be.next=19,Yt;case 19:Yt=Be.sent;case 20:return Be.abrupt("return",(0,N.Z)((0,N.Z)({},Dt),Yt));case 21:case"end":return Be.stop()}},it)}));return function(it,Dt){return Ve.apply(this,arguments)}}(),Re(pe)?pe:Promise.resolve(pe)):Qe.reduce(function(Ve,it){return Je(typeof it=="function"||(0,Q.Z)(it)==="object","applyPlugins failed, all hooks for key ".concat(et," must be function or plain object.")),typeof it=="function"?it(Ve,ge):(0,N.Z)((0,N.Z)({},Ve),it)},pe);case Ce.event:return k(W().mark(function Ve(){var it,Dt,Yt,Se;return W().wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:it=G(Qe),Be.prev=1,it.s();case 3:if((Dt=it.n()).done){Be.next=12;break}if(Yt=Dt.value,Je(typeof Yt=="function","applyPlugins failed, all hooks for key ".concat(et," must be function.")),Se=Yt(ge),!(lt&&Re(Se))){Be.next=10;break}return Be.next=10,Se;case 10:Be.next=3;break;case 12:Be.next=17;break;case 14:Be.prev=14,Be.t0=Be.catch(1),it.e(Be.t0);case 17:return Be.prev=17,it.f(),Be.finish(17);case 20:case"end":return Be.stop()}},Ve,null,[[1,14,17,20]])}))();case Ce.compose:return function(){return Ke({fns:Qe.concat(pe),args:ge})()}}}}],[{key:"create",value:function(Ee){var et=new fe({validKeys:Ee.validKeys});return Ee.plugins.forEach(function(mt){et.register(mt)}),et}}]),fe}(),at=e(48335);let ct=0,St=0;function bt(fe,Oe){}function Ie(fe){return JSON.stringify(fe,null,2)}function $e(fe){const Oe=fe.length>1?fe.map(ft).join(" "):fe[0];return typeof Oe=="object"?`${Ie(Oe)}`:Oe.toString()}function ft(fe){return typeof fe=="object"?`${JSON.stringify(fe)}`:fe.toString()}const ke={log(...fe){$e(fe)},info(...fe){$e(fe)},warn(...fe){$e(fe)},error(...fe){$e(fe)},group(){St++},groupCollapsed(){St++},groupEnd(){St&&--St},clear(){},trace(...fe){console.trace(...fe)},profile(...fe){console.profile(...fe)},profileEnd(...fe){console.profileEnd(...fe)}},ye=()=>{}},42191:function(i,d,e){"use strict";e.d(d,{C:function(){return n},S:function(){return r}});var t=e(59301);const r=t.createContext(null),n=t.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},51385:function(i,d,e){"use strict";e.d(d,{j:function(){return vl},Q:function(){return Dl}});var t=e(80679),r=e(89880),n=e.n(r),a=e(59301),s=e(44283),u=e(48404),c=Object.defineProperty,o=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,p=(m,y,b)=>y in m?c(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,x=(m,y)=>{for(var b in y||(y={}))f.call(y,b)&&p(m,b,y[b]);if(o)for(var b of o(y))_.call(y,b)&&p(m,b,y[b]);return m},P={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:m},{call:y,put:b}){return yield y(u.n1,m)},*appplySchool({payload:m},{call:y,put:b}){return yield y(u.bz,m)},*getSchoolOption({payload:m},{call:y,put:b}){return yield y(u.GY,m)},*getDepartmentOption({payload:m},{call:y,put:b}){return yield y(u.Ql,m)},*appplyDepartment({payload:m},{call:y,put:b}){return yield y(u.Zm,m)},*updateAccount({payload:m},{call:y,put:b}){return yield y(u.sG,m)},*cancelRealNameAuth({payload:m},{call:y,put:b}){return yield y(u.P,m)},*cancelProfessionalAuth({payload:m},{call:y,put:b}){return yield y(u.$f,m)},*applyProfessionalAuth({payload:m},{call:y,put:b}){return yield y(u.Ow,m)},*applyRealNameAuth({payload:m},{call:y,put:b}){return yield y(u.ht,m)},*getCode({payload:m},{call:y,put:b}){return yield y(u.Cq,m)},*bindPhone({payload:m},{call:y,put:b}){return yield y(u.eF,m)},*bindEmail({payload:m},{call:y,put:b}){return yield y(u.I8,m)},*updatePassword({payload:m},{call:y,put:b}){return yield y(u.gQ,m)},*unbindAccount({payload:m},{call:y,put:b}){return yield y(u.wi,m)},*getBasicInfo({payload:m},{call:y,put:b}){const z=yield y(u.o9,m);return yield b({type:"save",payload:{basicInfo:x({},z)}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:x({},m)}})}},reducers:{save(m,y){return x(x({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},O=e(69891),S=Object.defineProperty,I=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,R=(m,y,b)=>y in m?S(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,T=(m,y)=>{for(var b in y||(y={}))E.call(y,b)&&R(m,b,y[b]);if(I)for(var b of I(y))A.call(y,b)&&R(m,b,y[b]);return m},M={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:m,callback:y},{call:b,put:z}){return yield b(O.nZ,m)},*informUp({payload:m,callback:y},{call:b,put:z}){return yield b(O.TO,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:T({},m)}})}},reducers:{save(m,y){return T(T({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},B=e(52078),j=Object.defineProperty,V=Object.getOwnPropertySymbols,H=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,F=(m,y,b)=>y in m?j(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,K=(m,y)=>{for(var b in y||(y={}))H.call(y,b)&&F(m,b,y[b]);if(V)for(var b of V(y))Y.call(y,b)&&F(m,b,y[b]);return m},Q={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:m,callback:y},{call:b,put:z}){const oe=yield b(B.SV,m);return yield z({type:"save",payload:{allList:K({},oe)}}),oe},*mineAttachment({payload:m,callback:y},{call:b,put:z}){const oe=yield b(B.zI,m);return yield z({type:"save",payload:{mineList:K({},oe)}}),oe},*fileImport({payload:m,callback:y},{call:b,put:z}){return yield b(B.tO,m)},*getDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(B.Nm,m);return yield z({type:"save",payload:{detail:K({},oe)}}),oe},*updateVisits({payload:m,callback:y},{call:b,put:z}){return yield b(B.H,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:K({},m)}})}},reducers:{save(m,y){return K(K({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},W=e(70387),N=Object.defineProperty,J=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,G=(m,y,b)=>y in m?N(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,ee=(m,y)=>{for(var b in y||(y={}))k.call(y,b)&&G(m,b,y[b]);if(J)for(var b of J(y))Z.call(y,b)&&G(m,b,y[b]);return m},se={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(W.yq,m);return yield z({type:"save",payload:{boardsCategoryList:ee({},oe.data)}}),oe.data},*getBoardsDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(W.dI,m);return yield z({type:"save",payload:{boardsDetail:ee({},oe.data)}}),oe.data},*setTopping({payload:m,callback:y},{call:b,put:z}){return yield b(W.cc,m)},*escTopping({payload:m,callback:y},{call:b,put:z}){return yield b(W.CJ,m)},*getReplyList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(W.PC,m);yield z({type:"save",payload:{replyList:ee({},oe.data)}})},*createReply({payload:m,callback:y},{call:b,put:z}){return yield b(W.PP,m)},*replyLike({payload:m,callback:y},{call:b,put:z}){return yield b(W.NA,m)},*replyUnLike({payload:m,callback:y},{call:b,put:z}){return yield b(W.YQ,m)},*deleteReply({payload:m,callback:y},{call:b,put:z}){return yield b(W.Mf,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:ee({},m)}})}},reducers:{save(m,y){return ee(ee({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},le=e(84849),de=Object.defineProperty,He=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,vt=(m,y,b)=>y in m?de(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Je=(m,y)=>{for(var b in y||(y={}))ze.call(y,b)&&vt(m,b,y[b]);if(He)for(var b of He(y))st.call(y,b)&&vt(m,b,y[b]);return m},Re={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.$Q,m);return yield z({type:"save",payload:{ScoreRangesData:oe==null?void 0:oe.data}}),oe},*getQuestionResult({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le._U,m);return yield z({type:"save",payload:{NormalResult:oe}}),oe},*getUserExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.xA,m);return yield z({type:"save",payload:{userExerciseList:Je({},(oe==null?void 0:oe.data)||{})}}),console.log("getUserExercise-res:",oe),oe==null?void 0:oe.data},*getExerciseIdentityPhotos({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.J,m);return yield z({type:"save",payload:{exerciseIdentityPhotos:Je({},(oe==null?void 0:oe.data)||{})}}),oe==null?void 0:oe.data},*getExerciseExportHeadData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.iw,m);return yield z({type:"save",payload:{exerciseExportHeadData:Je({},oe)}}),oe},*getExerciseUserInfo({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.Ty,m);return(oe==null?void 0:oe.status)===0&&(yield z({type:"save",payload:Je({},{exerciseUserInfo:Je({},oe.data)})})),oe},*getExaminationIntelligentSettings({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.sA,m);return yield z({type:"save",payload:{examinationIntelligentSettings:Je({},oe)}}),oe},*getRandomEditExercises({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.yu,m);return yield z({type:"save",payload:{editRandomExercises:Je({},oe)}}),oe},*getExerciseList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.G$,m);if(oe!=null&&oe.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(oe.total_exercise_users)}catch(mr){}return yield z({type:"save",payload:{exerciseList:Je({},oe)}}),yield z({type:"save",payload:{order_type:m.order_type,order:m.order}}),oe},*getExerciseStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le._u,m);return yield z({type:"save",payload:{statisticsList:Je({},oe)}}),oe},*getBrankList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.n$,m);return yield z({type:"save",payload:{brankList:Je({},oe)}}),oe},*saveBanks({payload:m,callback:y},{call:b,put:z}){return yield b(le.lf,m)},*getExerciseCourses({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.N3,m);return yield z({type:"save",payload:{exerciseCoursesList:Je({},oe)}}),oe},*addExercise({payload:m,callback:y},{call:b,put:z}){return yield b(le.uR,m)},*editExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.qf,m);return yield z({type:"save",payload:{editData:Je({},oe)}}),oe},*getTagDiscipline({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.YY,m);return yield z({type:"save",payload:{tagDisciplineData:Je({},oe)}}),oe},*editExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(le.Di,m)},*addExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(le.MK,m)},*exeriseMoveUpDown({payload:m,callback:y},{call:b,put:z}){return yield b(le.GK,m)},*getEndGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.KE,m);return yield z({type:"save",payload:{endGroups:Je({},oe)}}),oe},*getPublishGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.ux,m);return yield z({type:"save",payload:{publishGroups:Je({},oe)}}),oe},*getCommonHeader({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.UK,m);return yield z({type:"save",payload:{commonHeader:Je({},oe)}}),oe},*setCommonHeader({payload:m,callback:y},{call:b,put:z,select:oe}){const mr=yield oe(dr=>{var Nn;return((Nn=dr==null?void 0:dr.exercise)==null?void 0:Nn.commonHeader)||{}});yield z({type:"save",payload:{commonHeader:Je(Je({},mr),m)}})},*getReviewExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.BJ,m);return yield z({type:"save",payload:{reviewExercise:Je({},oe)}}),oe},*postReviewExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.pu,m);return yield z({type:"save",payload:{reviewExercise:Je({},oe)}}),oe},*getCentralizeReviewExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.X4,m);return yield z({type:"save",payload:{reviewExercise:Je({},oe)}}),oe},*clearData({payload:m,callback:y},{call:b,put:z}){yield z({type:"save",payload:{[m.key]:{}}})},*getReviewGroupExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.W4,m);return yield z({type:"save",payload:{reviewGroupExercise:Je({},oe)}}),oe},*getWorkSetting({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.Ul,m);return yield z({type:"save",payload:{workSetting:Je({},oe)}}),oe},*getRedoModal({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.tX,m);return yield z({type:"save",payload:{redoModal:Je({},oe)}}),oe},*getRedoListModal({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.s,m);return yield z({type:"save",payload:{redoModal:Je({},oe)}}),oe},*getCodeReviewDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.Xn,m);return yield z({type:"save",payload:{codeReviewDetail:Je({},oe)}}),oe},*changeScore({payload:m,callback:y},{call:b,put:z}){return yield b(le.gG,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Je({},m)}})},*setUpdateIndex({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateIndex:m==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:m},{call:y,put:b}){yield b({type:"save",payload:{saveExerciseDownUsers:m}})}},reducers:{save(m,y){return Je(Je({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Ce=e(79405),me=Object.defineProperty,at=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,bt=(m,y,b)=>y in m?me(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ie=(m,y)=>{for(var b in y||(y={}))ct.call(y,b)&&bt(m,b,y[b]);if(at)for(var b of at(y))St.call(y,b)&&bt(m,b,y[b]);return m},ft={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.x_,m);return yield z({type:"save",payload:{detailList:Ie({},oe)}}),oe},*getTasksListDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.QA,m);return yield z({type:"save",payload:{detailTaskList:Ie({},oe)}}),oe},*getTopisDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.B6,m);return yield z({type:"save",payload:{detail:Ie({},oe)}}),oe},*getTasksDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.y3,m);return yield z({type:"save",payload:{tasksDetail:Ie({},oe)}}),oe},*refuseTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.mM,m)},*agreeTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.je,m)},*getReplyList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.PC,m);yield z({type:"save",payload:{replyList:Ie({},oe)}})},*createReply({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.PP,m)},*replyLike({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.NA,m)},*replyUnLike({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.YQ,m)},*deleteReply({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.Mf,m)},*addTopicDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.y0,m);yield z({type:"save",payload:{addTopicData:Ie({},oe)}})},*editTopicDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce.hL,m);return yield z({type:"save",payload:{editTopicData:Ie({},oe)}}),oe},*editTasksDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Ce._n,m);return yield z({type:"save",payload:{editTasksData:Ie({},oe)}}),oe},*addTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.Gr,m)},*editTopic({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.wA,m)},*addTasks({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.Sv,m)},*editTasks({payload:m,callback:y},{call:b,put:z}){return yield b(Ce.RP,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ie({},m)}})}},reducers:{save(m,y){return Ie(Ie({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},ke=e(78267),ye=e(9657),fe=Object.defineProperty,Oe=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,mt=(m,y,b)=>y in m?fe(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,pe=(m,y)=>{for(var b in y||(y={}))Ee.call(y,b)&&mt(m,b,y[b]);if(Oe)for(var b of Oe(y))et.call(y,b)&&mt(m,b,y[b]);return m},lt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{},aiWarningList:{}},effects:{*getAiWarningList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.IL,m);return yield z({type:"save",payload:{aiWarningList:(oe==null?void 0:oe.data)||{}}}),oe},*getWorkList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.h$,m);try{sessionStorage.all_student_works=JSON.stringify(oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(m),localStorage.setItem("all_student_works_param",JSON.stringify(m))}catch(mr){}return yield z({type:"save",payload:{workList:pe({},oe)}}),oe},*getShixunWorkHeadInfo({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.fK,m);try{}catch(mr){}return yield z({type:"save",payload:{headerInfo:oe==null?void 0:oe.data}}),oe},*getShixunWorkList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Z8,m);try{sessionStorage.all_student_works=JSON.stringify(oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(m),localStorage.setItem("all_student_works_param",JSON.stringify(m))}catch(mr){}return yield z({type:"save",payload:{shixunWorkList:oe==null?void 0:oe.data,homeworkAssistantPermissions:oe.homework_assistant_permissions,shixunAssistantPermission:oe.shixun_assistant_permission,courseAssistantPermission:oe.course_assistant_permission}}),oe},*getCodeReview({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.RP,m);return yield z({type:"save",payload:{codeReview:pe({},oe)}}),oe},*getCodeReviewDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Xn,m);return yield z({type:"save",payload:{codeReviewDetail:pe({},oe)}}),oe},*getWorkDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.to,m);return yield z({type:"save",payload:{workDetail:pe({},oe)}}),oe},*updateWork({payload:m,callback:y},{call:b,put:z}){return yield b(ye.H,m)},*getShixunWorkReport({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.sw,m);try{oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(mr){}return yield z({type:"save",payload:{shixunWorkReport:pe({},oe)}}),oe},*getShixunWorkReports({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.cz,m);try{oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(mr){}return yield z({type:"save",payload:{shixunWorkReport:pe({},oe)}}),oe},*getWorkSetting({payload:m,callback:y},{call:b,put:z}){var oe,mr;const dr=yield b(ye.Ul,m);(oe=dr==null?void 0:dr.group_settings)==null||oe.map(Xn=>{Xn.value=Xn.group_name,Xn.id=Xn.group_id,Xn.group_id=[Xn.group_id]}),(mr=dr==null?void 0:dr.allow_late_settings)==null||mr.map(Xn=>{Xn.value=Xn.group_name,Xn.id=Xn.group_id,Xn.group_id=[Xn.group_id]});const Nn={shixun_evaluation:dr.shixun_evaluation,challenge_settings:dr.challenge_settings};return yield z({type:"save",payload:{workSetting:pe({},dr),changeData:(0,ke.cloneDeep)(Nn)}}),dr},*updateSetting({payload:m,callback:y},{call:b,put:z}){return yield b(ye.m7,m)},*getCodeReviewCourse({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.JG,m);return yield z({type:"save",payload:{codeReviewCourse:pe({},oe)}}),oe},*exportShixunWorks({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Dx,m)},*getReferenceAnswer({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Q3,m);return yield z({type:"save",payload:{referenceAnswer:pe({},oe)}}),oe},*getPublishGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ux,m);return yield z({type:"save",payload:{publishGroups:pe({},oe)}}),oe},*getEndGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.KE,m);return yield z({type:"save",payload:{endGroups:pe({},oe)}}),oe},*getBrankList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.n$,m);return yield z({type:"save",payload:{brankList:pe({},oe)}}),oe},*changeScore({payload:m,callback:y},{call:b,put:z}){return yield b(ye.gG,m)},*saveBanks({payload:m,callback:y},{call:b,put:z}){return yield b(ye.lf,m)},*addCommonHomeWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Qt,m);return yield z({type:"save",payload:{commonHomeWorkAddDefaultData:pe({},oe)}}),oe},*getSearchMemberList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Lz,m);return yield z({type:"save",payload:{searchMemberList:pe({},oe)}}),oe},*getProjectList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ku,m);return yield z({type:"save",payload:{searchProjectList:pe({},oe)}}),oe},*addStudentWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ak,m);return yield z({type:"save",payload:{studentWorkAddDefaultData:pe({},oe)}}),oe},*editStudentWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.PW,m);return yield z({type:"save",payload:{studentWorkEditDefaultData:pe({},oe)}}),oe},*editCommonHomeWorkDefaultData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.BD,m);return yield z({type:"save",payload:{commonHomeWorkEditDefaultData:pe({},oe)}}),oe},*editCommonHomeWorkDefaultBankData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.pH,m);return yield z({type:"save",payload:{commonHomeWorkEditDefaultData:pe({},oe)}}),oe},*getReplyList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.PC,m);yield z({type:"save",payload:{replyList:pe({},oe)}})},*getStudentWorkDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Hj,m);yield z({type:"save",payload:{studentWorkDetail:pe({},oe)}})},*getStudentWorkSupplyDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ub,m);yield z({type:"save",payload:{studentWorkSupplyDetail:pe({},oe)}})},*getStudentWorkCommon({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.JA,m);yield z({type:"save",payload:{studentWorkCommon:pe({},oe)}})},*getAllStudentWorks({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.ql,m);return yield z({type:"save",payload:{allStudentWorks:pe({},oe)}}),oe},*getFileRepeatResult({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.oN,m);return yield z({type:"save",payload:{codeReview:pe({},oe)}}),oe},*getFileRepeatDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(ye.Ti,m);return yield z({type:"save",payload:{codeReviewDetail:pe({},oe)}}),oe},*createReply({payload:m,callback:y},{call:b,put:z}){return yield b(ye.PP,m)},*replyLike({payload:m,callback:y},{call:b,put:z}){return yield b(ye.NA,m)},*replyUnLike({payload:m,callback:y},{call:b,put:z}){return yield b(ye.YQ,m)},*deleteReply({payload:m,callback:y},{call:b,put:z}){return yield b(ye.Mf,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:pe({},m)}})}},reducers:{save(m,y){return pe(pe({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Qe=e(77996),Ve=e(15267),it=Object.defineProperty,Dt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,je=(m,y,b)=>y in m?it(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Be=(m,y)=>{for(var b in y||(y={}))Yt.call(y,b)&&je(m,b,y[b]);if(Dt)for(var b of Dt(y))Se.call(y,b)&&je(m,b,y[b]);return m},At={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailSmartPlanList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},SmartPlanInfo:{},SmartPlanItemBanks:{},updateData:"",courseAiData:{have_tiding:!1,is_open_ai:!1,name:""}},effects:{*setCourseAiState({payload:m},{call:y,put:b,select:z}){yield y(Qe.zC,m),yield b({type:"getCourseAiData",payload:m})},*getCourseAiData({payload:m},{call:y,put:b}){yield b({type:"user/getUserInfo",payload:m})},*setAssistantPermissions({payload:m},{call:y,put:b}){yield y(Qe.gq,m)},*getAssistantPermissions({payload:m},{call:y,put:b}){if(!(0,Ve.eB)())return;const z=yield y(Qe.rS,m);yield b({type:"save",payload:{AssistantObject:z.permissions}})},*getSmartPlanInfo({payload:m},{call:y,put:b}){const z=yield y(Qe.wH,m);yield b({type:"save",payload:{SmartPlanInfo:z==null?void 0:z.data}})},*getSmartPlanItemBanks({payload:m},{call:y,put:b}){const z=yield y(Qe.l4,m);yield b({type:"save",payload:{SmartPlanItemBanks:z==null?void 0:z.data}})},*getClassroom({payload:m},{call:y,put:b}){const z=m,oe=yield y(Qe.V8,m);return yield b({type:"save",payload:Be({listParams:z},oe)}),oe},*getClassroomTopBanner({payload:m},{call:y,put:b}){const z=yield y(Qe.U_,m);return yield b({type:"save",payload:{detailTopBanner:z.status?{copy_completed:!0}:Be({},z)}}),z.status?{copy_completed:!0}:z},*getClassroomLeftMenus({payload:m},{call:y,put:b}){const z=yield y(Qe.w9,m);let oe=[...(z==null?void 0:z.course_modules)||[],...(z==null?void 0:z.hidden_modules)||[]],mr={};return oe==null||oe.forEach(dr=>{mr[dr.type]=dr.name}),yield b({type:"save",payload:{detailLeftMenus:Be({},z),detailLeftMenusNames:mr}}),z},*getClassroomShixunsList({payload:m},{call:y,put:b}){const z=yield y(Qe.Nd,m);yield b({type:"save",payload:{detailShixunsList:Be({},z)}})},*getClassroomTeacherShixunsList({payload:m},{call:y,put:b}){const z=yield y(Qe.Gk,m);return yield b({type:"save",payload:{detailShixunsList:Be({},z)}}),z},*getClassroomCommonList({payload:m},{call:y,put:b}){const z=yield y(Qe.Nd,m);yield b({type:"save",payload:{detailCommonHomeworksList:Be({},z)}})},*getClassroomTeacherCommonList({payload:m},{call:y,put:b}){const z=yield y(Qe.Gk,m);return yield b({type:"save",payload:{detailCommonHomeworksList:Be({},z)}}),z},*getClassroomGraduationTopicsList({payload:m},{call:y,put:b}){const z=yield y(Qe.yV,m);yield b({type:"save",payload:{detailGraduationTopicsList:Be({},z)}})},*getClassroomGraduationTaskList({payload:m},{call:y,put:b}){const z=yield y(Qe.R2,m);yield b({type:"save",payload:{detailGraduationTaskList:Be({},z)}})},*getClassroomExercisesList({payload:m},{call:y,put:b}){const z=yield y(Qe.N7,m);yield b({type:"save",payload:{detailExerciseList:Be({},z)}})},*getClassroomPollsList({payload:m},{call:y,put:b}){const z=yield y(Qe.BR,m);yield b({type:"save",payload:{detailPollsList:Be({},z)}})},*getSmartPlans({payload:m},{call:y,put:b}){const z=yield y(Qe.Ew,m);yield b({type:"save",payload:{detailSmartPlanList:Be({},z)}})},*getCourseGroups({payload:m},{call:y,put:b}){const z=yield y(Qe.qB,m);yield b({type:"save",payload:{courseGroups:Be({},z)}})},*getAllCourseGroup({payload:m},{call:y,put:b}){const z=yield y(Qe.c_,m);return yield b({type:"save",payload:{allCourseGroups:Be({},z)}}),z},*getClassroomCommonHomeworksList({payload:m},{call:y,put:b}){const z=yield y(Qe.Al,m);yield b({type:"save",payload:{detailCommonHomeworksList:Be({},z)}})},*getClassroomAttendancesList({payload:m},{call:y,put:b}){const z=yield y(Qe.Vw,m);yield b({type:"save",payload:{detailAttendancesList:Be({},z)}})},*getClassroomAttendancesStatistic({payload:m},{call:y,put:b}){const z=yield y(Qe.Ls,m);yield b({type:"save",payload:{detailAttendancesStatistic:Be({},z)}})},*getAttendanceDetail({payload:m},{call:y,put:b}){const z=yield y(Qe.zg,m);return yield b({type:"save",payload:{detailAttendancesDetail:Be({},z)}}),z},*getAnnouncementList({payload:m},{call:y,put:b}){const z=yield y(Qe.QZ,m);yield b({type:"save",payload:{detailAnnouncementList:Be({},z)}})},*getAttachmentList({payload:m},{call:y,put:b}){const z=yield y(Qe.KT,m);yield b({type:"save",payload:{detailAttachmentList:Be({},z.data)}})},*getCourseware({payload:m},{call:y,put:b}){const z=yield y(Qe.ZT,m);yield b({type:"save",payload:{detailCourseware:Be({},z.data)}})},*getVideoList({payload:m},{call:y,put:b}){const z=yield y(Qe.O3,m);yield b({type:"save",payload:{detailVideoList:Be({},z)}})},*getLiveVideoList({payload:m},{call:y,put:b}){const z=yield y(Qe.DJ,m);yield b({type:"save",payload:{detailLiveVideoList:Be({},z)}})},*getCoursesMine({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.Ed,m);return yield z({type:"save",payload:{courseMine:Be({},oe)}}),oe.data},*getBoardList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.KP,m);return yield z({type:"save",payload:{detailBoardList:Be({},oe.data)}}),oe.data},*getCourseGroupsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.kW,m);return yield z({type:"save",payload:{detailCourseGroupsList:Be({},oe)}}),oe},*getCourseStudentsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.J2,m);return yield z({type:"save",payload:{detailCoursStudentsList:Be({},oe)}}),oe.data},*getCourseStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.g4,m);return yield z({type:"save",payload:{detailCourseStatisticsList:Be({},oe)}}),oe},*getCourseActscore({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.t1,m);return yield z({type:"save",payload:{detailCourseActscore:Be({},oe)}}),oe},*getCourseWorkscore({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.GV,m);return yield z({type:"save",payload:{detailCourseWorkscore:Be({},oe)}}),oe},*getShixunLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.Pj,m);return yield z({type:"save",payload:{shixunLists:Be({},oe)}}),oe},*getExperimentLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe._9,m);return yield z({type:"save",payload:{shixunLists:Be({},oe)}}),oe},*getShixunAiRecommendLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.Hn,m);return yield z({type:"save",payload:{shixunAiRecommendLists:Be({},oe)}}),oe},*getCoursesLists({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.W7,m);return yield z({type:"save",payload:{coursesLists:Be({},oe)}}),oe},*createCoursesHomework({payload:m,callback:y},{call:b,put:z}){return yield b(Qe.Ds,m)},*createShixunHomework({payload:m,callback:y},{call:b,put:z}){return yield b(Qe.aQ,m)},*createExperiment({payload:m,callback:y},{call:b,put:z}){return yield b(Qe.BQ,m)},*getSchoolList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.K$,m);return yield z({type:"save",payload:{schoolList:Be({},oe.school_names)}}),oe.school_names},*searchSchoolTeacherList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.nQ,m);return yield z({type:"save",payload:{searchMemberList:Be({},oe)}}),oe},*getAllTaskList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.km,m);return yield z({type:"save",payload:{taskList:[...oe.tasks]}}),oe},*updateTaskPosition({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Qe.U8,m);return yield z({type:"save",payload:{actionTabs:{key:""}}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Be({},m)}})},*setUpdateData({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateData:m}})}},reducers:{save(m,y){return Be(Be({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},ce=Object.defineProperty,_t=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Ut=(m,y,b)=>y in m?ce(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,cr=(m,y)=>{for(var b in y||(y={}))qt.call(y,b)&&Ut(m,b,y[b]);if(_t)for(var b of _t(y))Ht.call(y,b)&&Ut(m,b,y[b]);return m},dt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:m},{call:y,put:b}){const z=yield y(Qe.K$,m);yield b({type:"save",payload:{schoolList:(z==null?void 0:z.school_names)||[]}})},*getSearchCourseList({payload:m},{call:y,put:b}){const z=yield y(Qe.oM,m);yield b({type:"save",payload:{searchCourseList:(z==null?void 0:z.course_lists)||[]}})},*submitCourses({payload:m},{call:y,put:b}){return yield y(Qe.Bn,m)},*appplySchool({payload:m},{call:y,put:b}){return yield y(Qe.bz,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:cr({},m)}})},*joincoursegroup({payload:m},{call:y,put:b}){return yield y(Qe.WK,m)}},reducers:{save(m,y){return cr(cr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},kt=Object.defineProperty,ar=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,Ir=(m,y,b)=>y in m?kt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,kr=(m,y)=>{for(var b in y||(y={}))$t.call(y,b)&&Ir(m,b,y[b]);if(ar)for(var b of ar(y))pr.call(y,b)&&Ir(m,b,y[b]);return m},Nt={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:m},{call:y,put:b}){const z=yield y(Qe.Dd,m);yield b({type:"save",payload:{CourseUseInfos:z}})},*getRankList({payload:m},{call:y,put:b}){const z=yield y(Qe.Fg,m);yield b({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(z==null?void 0:z.teacher_list)||[]],student_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",student_id:"\u5B66\u53F7/\u5DE5\u53F7",finish_num:"\u5B8C\u6210\u4F5C\u4E1A\u6570",total_score:"\u603B\u6210\u7EE9"},...(z==null?void 0:z.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(z==null?void 0:z.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(z==null?void 0:z.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(z==null?void 0:z.finish_course_list)||[]]}}})},*getStatisticsBody({payload:m},{call:y,put:b}){const z=yield y(Qe.Gz,m);yield b({type:"save",payload:{SBody:z}})},*getStatisticsHeader({payload:m},{call:y,put:b}){const z=yield y(Qe.Hl,m);yield b({type:"save",payload:{SHeader:z}})}},reducers:{save(m,y){return kr(kr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Kt=e(92216),Qt=Object.defineProperty,Cr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,qe=(m,y,b)=>y in m?Qt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ue=(m,y)=>{for(var b in y||(y={}))Er.call(y,b)&&qe(m,b,y[b]);if(Cr)for(var b of Cr(y))wt.call(y,b)&&qe(m,b,y[b]);return m},rt={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.s3,m);return yield z({type:"save",payload:{pollsList:Ue({},oe)}}),oe},*getCommonHeader({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.UK,m);return yield z({type:"save",payload:{commonHeader:Ue({},oe)}}),oe},*getPollsStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Qn,m);return yield z({type:"save",payload:{statisticsList:Ue({},oe)}}),oe},*getBrankList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.n$,m);return yield z({type:"save",payload:{brankList:Ue({},oe)}}),oe},*saveBanks({payload:m,callback:y},{call:b,put:z}){return yield b(Kt.lf,m)},*getPollsCourses({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Q9,m);return yield z({type:"save",payload:{pollsCoursesList:Ue({},oe)}}),oe},*getPollsSetting({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Hi,m);return yield z({type:"save",payload:{pollSetting:Ue({},oe)}}),oe},*editPolls({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.Ye,m);return yield z({type:"save",payload:{editData:Ue({},JSON.parse(JSON.stringify(oe)))}}),oe},*getEndGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.KE,m);return yield z({type:"save",payload:{endGroups:Ue({},oe)}}),oe},*getPublishGroups({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.ux,m);return yield z({type:"save",payload:{publishGroups:Ue({},oe)}}),oe},*getExerciseBanks({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Kt.kp,m);return yield z({type:"save",payload:{exerciseBanks:Ue({},oe)}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ue({},m)}})}},reducers:{save(m,y){return Ue(Ue({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Tt=e(9168),Lt=Object.defineProperty,gr=Object.getOwnPropertySymbols,yr=Object.prototype.hasOwnProperty,Ur=Object.prototype.propertyIsEnumerable,bn=(m,y,b)=>y in m?Lt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,sr=(m,y)=>{for(var b in y||(y={}))yr.call(y,b)&&bn(m,b,y[b]);if(gr)for(var b of gr(y))Ur.call(y,b)&&bn(m,b,y[b]);return m},on={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}}},effects:{*getList({payload:m},{call:y,put:b}){var z;const oe=yield y(Tt.gp,m);return(z=oe==null?void 0:oe.teacher_list)==null||z.map(mr=>(mr.key=mr.course_member_id,mr)),yield b({type:"save",payload:{list:oe}}),oe},*getStudentsList({payload:m},{call:y,put:b}){var z;const oe=yield y(Tt.ur,m);return(z=oe==null?void 0:oe.students)==null||z.map(mr=>(mr.key=mr.user_id,mr)),yield b({type:"save",payload:{studentsList:oe}}),oe},*getApplyList({payload:m},{call:y,put:b}){const z=yield y(Tt.s,m);return yield b({type:"save",payload:{applyList:z}}),z},*getAllCourseGroups({payload:m},{call:y,put:b}){const z=yield y(Tt.xV,m);return yield b({type:"save",payload:{allCourseGroups:z}}),z},*getGraduationGroupList({payload:m},{call:y,put:b}){const z=yield y(Tt.Bg,m);return yield b({type:"save",payload:{graduationGroupList:z}}),z},*setAllCourseGroups({payload:m},{call:y,put:b}){const z=yield y(Tt.oZ,m);return yield b({type:"save",payload:{setAllCourseGroups:z}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:sr({},m)}})}},reducers:{save(m,y){return sr(sr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},Fe=e(60269),Ne=Object.defineProperty,en=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable,ma=(m,y,b)=>y in m?Ne(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,On=(m,y)=>{for(var b in y||(y={}))pn.call(y,b)&&ma(m,b,y[b]);if(en)for(var b of en(y))ha.call(y,b)&&ma(m,b,y[b]);return m},ja={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.BQ,m);return yield z({type:"save",payload:{videoStatisticsList:On({},oe)}}),oe},*getNewVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.cU,m);return yield z({type:"save",payload:{newVideoStatisticsList:On({},oe)}}),oe},*getVideoPeopleStatics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.Zx,m);return yield z({type:"save",payload:{videoPeopleStatics:On({},oe)}}),oe},*getVideoDurationStatics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.Mz,m);return yield z({type:"save",payload:{videoDurationStatics:On({},oe)}}),oe},*getVideoStatistics({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.ZY,m);return yield z({type:"save",payload:{videoStatistics:On({},oe)}}),oe},*getOneVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.cU,m);return yield z({type:"save",payload:{oneVideoStatisticsList:On({},oe)}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:On({},m)}})},*getStudentVideoStatisticsList({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.Vg,m);return yield z({type:"save",payload:{StudentvideoStatistics:On({},oe)}}),oe}},reducers:{save(m,y){return On(On({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},gn=e(46831),Va=Object.defineProperty,va=Object.getOwnPropertySymbols,_o=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,Ja=(m,y,b)=>y in m?Va(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Za=(m,y)=>{for(var b in y||(y={}))_o.call(y,b)&&Ja(m,b,y[b]);if(va)for(var b of va(y))no.call(y,b)&&Ja(m,b,y[b]);return m},ya={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:m,callback:y},{call:b,put:z}){return yield b(gn.cC,m)},*getGuides({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.Ax,m);return yield z({type:"save",payload:{GuidesData:oe}}),oe},*getWorkSubmitUpdateRes({payload:m,callback:y},{call:b,put:z}){return yield b(gn.zF,m)},*getList({payload:m},{call:y,put:b}){const z=m,oe=yield y(gn.bQ,m);return yield b({type:"save",payload:Za({listParams:z},oe)}),oe},*getMemberWorks({payload:m},{call:y,put:b}){const z=yield y(gn.xx,m);return yield b({type:"save",payload:{MemberWorks:z||{}}}),z},*addApplytojoincourse({payload:m,callback:y},{call:b,put:z}){return yield b(gn.qS,m)},*competitionTeams({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Pt,m)},*getStaff({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.Dh,m);return yield z({type:"save",payload:{Staff:oe}}),oe},*getHeader({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.Pg,m);return yield z({type:"save",payload:{Header:oe}}),oe},*getItem({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.rV,m);return yield z({type:"save",payload:{RightItems:oe}}),oe},*updateMdContent({payload:m,callback:y},{call:b,put:z}){return yield b(gn.zj,m)},*getTeamList({payload:m,callback:y},{call:b,put:z}){return yield b(gn.aq,m)},*getTeamDetail({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Ze,m)},*UpTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.yS,m)},*DeleteTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.ps,m)},*ExitTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.vV,m)},*AddTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.FU,m)},*AddPersonnel({payload:m,callback:y},{call:b,put:z}){return yield b(gn.R9,m)},*JoinTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.zc,m)},*getTeacher({payload:m,callback:y},{call:b,put:z}){return yield b(gn.jS,m)},*getStudents({payload:m,callback:y},{call:b,put:z}){return yield b(gn.sK,m)},*SubmitTeam({payload:m,callback:y},{call:b,put:z}){return yield b(gn.rm,m)},*Reward({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Qp,m)},*ChartRules({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Ux,m)},*Charts({payload:m,callback:y},{call:b,put:z}){return yield b(gn.GQ,m)},*TabResults({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.ml,m);return yield z({type:"save",payload:{TabResultList:oe}}),oe},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Za({},m)}})},*Results({payload:m,callback:y},{call:b,put:z}){return yield b(gn.u9,m)},*Prize({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.pU,m);return yield z({type:"save",payload:{Prizes:oe}}),oe},*Accounts({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.XJ,m);return yield z({type:"save",payload:{Account:oe}}),oe},*getVerification({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Ni,m)},*PhoneBind({payload:m,callback:y},{call:b,put:z}){return yield b(gn.uZ,m)},*EmailBind({payload:m,callback:y},{call:b,put:z}){return yield b(gn.rk,m)},*Authentication({payload:m,callback:y},{call:b,put:z}){return yield b(gn.Vy,m)},*Professional({payload:m,callback:y},{call:b,put:z}){return yield b(gn.tC,m)},*setleader({payload:m,callback:y},{call:b,put:z}){return yield b(gn.tO,m)},*getShixun({payload:m,callback:y},{call:b,put:z}){return yield b(gn.qj,m)},*getCourse({payload:m,callback:y},{call:b,put:z}){return yield b(gn.XR,m)},*competition_teams({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.zz,m);return yield z({type:"save",payload:{competition_team:oe}}),oe},*all_team_members({payload:m,callback:y},{call:b,put:z}){const oe=yield b(gn.$P,m);return yield z({type:"save",payload:{all_team_member:oe}}),oe}},reducers:{save(m,y){return Za(Za({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},na=e(54926),En=e(32503),wa=Object.defineProperty,Pe=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,aa=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,ai=Object.prototype.propertyIsEnumerable,Wa=(m,y,b)=>y in m?wa(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ha=(m,y)=>{for(var b in y||(y={}))yo.call(y,b)&&Wa(m,b,y[b]);if(aa)for(var b of aa(y))ai.call(y,b)&&Wa(m,b,y[b]);return m},De=(m,y)=>Pe(m,$n(y)),Xe={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ha({},m)}})},*getMajorList({payload:m},{call:y,put:b,select:z}){const{userInfo:oe}=yield z(mr=>mr.user);if(oe!=null&&oe.school_id){const mr=yield y(na.BA,oe.school_id);mr&&mr.data&&(yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:mr.data.map(dr=>({label:dr.name,value:dr.ec_major_school_id}))}}))}},*getYearList({payload:m},{call:y,put:b}){const z=yield y(na.Nx,m);z&&z.data&&(yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:z.data.map(oe=>({label:oe.year,value:oe.ec_year_id}))}}))},*getCourseResultDetail({payload:m},{call:y,put:b}){console.log(m,"payload");const z=yield y(na.p1,m);z&&z.ec_course_target&&(yield b({type:"setEchartsData",payload:z}))},*getCourseResultDetailClass({payload:m},{call:y,put:b}){const z=yield y(na.ff,m);z&&z.class_name&&(yield b({type:"save",payload:{classDataSource:{active:null,dataList:[...z.class_name]}}}))},*setClassActive({payload:m},{call:y,put:b}){yield b({type:"save",payload:{classDataSource:Ha({},m)}})}},reducers:{save(m,y){return Ha(Ha({},m),y.payload)},setMajorOrYearDataSource(m,{payload:y}){return De(Ha({},m),{headerData:De(Ha({},m.headerData),{dataSource:De(Ha({},m.headerData.dataSource),{[y.key]:De(Ha({},m.headerData.dataSource[y.key]),{dataList:y.value})})})})},setMajorOrYearActive(m,{payload:y}){return De(Ha({},m),{headerData:De(Ha({},m.headerData),{active:De(Ha({},m.headerData.active),{[y.key]:y.value})})})},setEchartsData(m,{payload:y}){let b={name:y.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},z={name:y.course_name||"",xData:[],seriesData:[]},oe={};return y.ec_course_target.forEach((mr,dr)=>{mr.position=dr+1,b=De(Ha({},b),{dataSource:{xData:[...b.dataSource.xData,dr+1],yBarData:[...b.dataSource.yBarData,mr.actual_grade],yLineData:[...b.dataSource.yLineData,mr.standard_grade]}});let Nn=[],Xn={min:[],max:[]},ca=[],Yo=[],To=[];mr.student_data.detail.forEach((vo,Ya)=>{let Ki=vo.score;Nn.push(Ya+1),Xn.max.push(Ki>=mr.student_data.goal_score?Ki:null),Xn.min.push(Ki>=mr.student_data.goal_score?null:Ki),ca.push(vo.name),Yo.push(vo.student_id),To.push(vo.clazz)}),oe[dr+1]={name:dr+1,average_score:mr.student_data.average_score,goal_score:mr.student_data.goal_score,xData:Nn,yData:Xn,name_data:ca,student_ids:Yo,class_data:To,goal_scoreData:new Array(mr.student_data.detail.length).fill(mr.student_data.goal_score),average_scoreData:new Array(mr.student_data.detail.length).fill(mr.student_data.average_score)}}),y.history.forEach(mr=>{z=De(Ha({},z),{xData:[...z.xData,mr.year],seriesData:[...z.seriesData,mr.total_score]})}),De(Ha({},m),{name:y.course_name||"",tabListData:y.ec_course_target,echartsData:{barData:b,lineData:z,scatterData:oe}})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},q=Object.defineProperty,It=Object.getOwnPropertySymbols,Jt=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Rr=(m,y,b)=>y in m?q(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Sr=(m,y)=>{for(var b in y||(y={}))Jt.call(y,b)&&Rr(m,b,y[b]);if(It)for(var b of It(y))Pr.call(y,b)&&Rr(m,b,y[b]);return m},ea={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Sr({},m)}})},*setShowMenu({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showMenu:m}})},*setMatrixVerify({payload:m},{call:y,put:b}){yield b({type:"save",payload:{matrixVerify:Sr({},m)}})}},reducers:{save(m,y){return Sr(Sr({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Mr=e(89621),sn=Object.defineProperty,nt=Object.defineProperties,be=Object.getOwnPropertyDescriptors,ue=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,yt=(m,y,b)=>y in m?sn(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,xt=(m,y)=>{for(var b in y||(y={}))Ye.call(y,b)&&yt(m,b,y[b]);if(ue)for(var b of ue(y))Me.call(y,b)&&yt(m,b,y[b]);return m},Zt=(m,y)=>nt(m,be(y)),xr={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:xt({},m)}})},*getMajorList({},{call:m,put:y,select:b}){const{userInfo:z}=yield b(oe=>oe.user);if(z!=null&&z.school_id){const oe=yield m(na.BA,z.school_id);if(oe&&oe.data){const mr=Mr.U.getItem(z==null?void 0:z.login);yield y({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:oe.data.map(dr=>({label:dr.name,value:dr.ec_major_school_id})),active:oe.data.length>0?mr[0]||oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:m},{call:y,put:b,select:z}){const oe=yield y(na.Nx,m.id),{userInfo:mr}=yield z(dr=>dr.user);if(oe&&oe.data){const dr=Mr.U.getItem(mr==null?void 0:mr.login);yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:oe.data.map(Nn=>({label:Nn.year,value:Nn.ec_year_id})),active:oe.data.length>0?m.firstEnter?dr[1]:oe.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:m,put:y,select:b}){const{headerData:z}=yield b(dr=>dr.engineeringNavigtion),{userInfo:oe}=yield b(dr=>dr.user);let mr={};if(z.active[En.k[1]]&&oe.school_id){const dr=[z.active[En.k[0]],z.active[En.k[1]]];Mr.U.setItem(oe==null?void 0:oe.login,dr);const Nn=yield m(na.bA,{ec_year_id:z.active[En.k[1]],school_id:oe.school_id});Nn&&Nn.data&&(mr=Nn.data),yield y({type:"setTopPage",payload:mr})}},*putTopPageName({payload:m,callback:y},{call:b,put:z}){try{const oe=yield b(na.ay,m);y(oe)}catch(oe){let mr="";oe&&(mr=JSON.stringify(oe),oe.message&&(mr=oe.message)),y({message:mr,status:999})}}},reducers:{save(m,y){return xt(xt({},m),y.payload)},setMajorOrYearDataSource(m,{payload:y}){let b=m.headerData.active;return y.active&&(b=Zt(xt({},b),{[y.key]:y.active})),Zt(xt({},m),{headerData:Zt(xt({},m.headerData),{dataSource:Zt(xt({},m.headerData.dataSource),{[y.key]:Zt(xt({},m.headerData.dataSource[y.key]),{dataList:y.value})}),active:b})})},setMajorOrYearActive(m,{payload:y}){return Zt(xt({},m),{headerData:Zt(xt({},m.headerData),{active:Zt(xt({},m.headerData.active),{[y.key]:y.value})})})},setTopPage(m,{payload:y}){return Zt(xt({},m),{headerData:Zt(xt({},m.headerData),{name:y.name,tabBarContent:{user_name:y.user_name,user_school:y.user_school,user_type:y.user_type}}),cardListData:Zt(xt({},m.cardListData),{appraiseData:Zt(xt({},m.cardListData.appraiseData),{norm:Zt(xt({},m.cardListData.appraiseData.norm),{result:y.graduaiton_result,listData:m.cardListData.appraiseData.norm.listData.map(b=>Zt(xt({},b),{value:y[b.key]||0}))}),course:Zt(xt({},m.cardListData.appraiseData.course),{result:y.course_result,listData:m.cardListData.appraiseData.course.listData.map(b=>Zt(xt({},b),{value:y[b.key]||0}))})}),teamData:{teach:Zt(xt({},m.cardListData.teamData.teach),{tabBarContent:`${y.course_teachers?y.course_teachers.length:0}\u4EBA`,listData:y.course_teachers||[]}),work:Zt(xt({},m.cardListData.teamData.work),{tabBarContent:`${y.work_teachers?y.work_teachers.length:0}\u4EBA`,listData:y.work_teachers||[]})}}),totalListData:m.totalListData.map(b=>Zt(xt({},b),{value:y[b.key]||0}))})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},or=Object.defineProperty,wr=Object.defineProperties,an=Object.getOwnPropertyDescriptors,zn=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,vr=(m,y,b)=>y in m?or(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,mn=(m,y)=>{for(var b in y||(y={}))un.call(y,b)&&vr(m,b,y[b]);if(zn)for(var b of zn(y))tn.call(y,b)&&vr(m,b,y[b]);return m},Wr=(m,y)=>wr(m,an(y)),jn={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:mn({},m)}})},*getGraduationResultDetail({payload:m},{call:y,put:b}){const z=yield y(na.gq,m);yield b({type:"save",payload:{dataSource:z}})}},reducers:{save(m,y){return mn(mn({},m),y.payload)},setDataSource(m,{payload:y}){let b=y;return Wr(mn({},m),{dataSource:b})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},wn=e(6767),Ea=Object.defineProperty,Pn=Object.defineProperties,la=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,Ra=(m,y,b)=>y in m?Ea(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,oa=(m,y)=>{for(var b in y||(y={}))Fn.call(y,b)&&Ra(m,b,y[b]);if(dn)for(var b of dn(y))xa.call(y,b)&&Ra(m,b,y[b]);return m},ia=(m,y)=>Pn(m,la(y)),sa=(m,y)=>{var b={};for(var z in m)Fn.call(m,z)&&y.indexOf(z)<0&&(b[z]=m[z]);if(m!=null&&dn)for(var z of dn(m))y.indexOf(z)<0&&xa.call(m,z)&&(b[z]=m[z]);return b},Bo={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[En.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${En.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[En.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${En.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:oa({},m)}})},*getMajorList({},{call:m,put:y,select:b}){const{userInfo:z}=yield b(oe=>oe.user);if(z!=null&&z.school_id){const oe=yield m(na.BA,z.school_id);if(oe&&oe.data){const mr=Mr.U.getItem(z==null?void 0:z.login);yield y({type:"setMajorOrYearDataSource",payload:{key:En.k[0],value:oe.data.map(dr=>({label:dr.name,value:dr.ec_major_school_id})),active:oe.data.length>0?mr[0]||oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:m},{call:y,put:b,select:z}){const oe=yield y(na.Nx,m.id),{userInfo:mr}=yield z(dr=>dr.user);if(oe&&oe.data){const dr=Mr.U.getItem(mr==null?void 0:mr.login);yield b({type:"setMajorOrYearDataSource",payload:{key:En.k[1],value:oe.data.map(Nn=>({label:Nn.year,value:Nn.ec_year_id})),active:oe.data.length>0?m.firstEnter?dr[1]:oe.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:m,put:y,select:b}){const{headerData:z}=yield b(ca=>ca.engineeringNormList),{userInfo:oe}=yield b(ca=>ca.user);let mr=[],dr=[],Nn="";const Xn=z.active[En.k[1]];if(Xn){const ca=[z.active[En.k[0]],z.active[En.k[1]]];Mr.U.setItem(oe==null?void 0:oe.login,ca);const Yo=yield m(na.eM,Xn);Yo&&Yo.graduation_requirements&&(Nn=Yo.all_goal_value||"",mr=Yo.graduation_requirements.map(To=>{var vo=To,{subitems:Ya}=vo,Ki=sa(vo,["subitems"]);return dr.push(Ki.id),ia(oa({},Ki),{children:Ya})}))}yield y({type:"save",payload:{tabListData:mr,all_goal_value:Nn,expandedRowKeys:dr}})},*exportGraduation({},{call:m,select:y}){const{headerData:b}=yield y(z=>z.engineeringNormList);b.active[En.k[1]]&&(yield m(na.OE,b.active[En.k[1]]))},*compute({payload:m},{call:y,put:b}){const z=m,{all:oe}=z,mr=sa(z,["all"]),dr=yield y(oe?na.Qx:na.Xl,mr);dr&&dr.status===0?(wn.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield b({type:"getGraduationResults"})):wn.ZP.error(dr.message)},*getFormulas({callback:m},{call:y,select:b}){const{headerData:z}=yield b(oe=>oe.engineeringNormList);if(z.active[En.k[1]]){const oe=yield y(na.mK,z.active[En.k[1]]);m(oe)}},*setFormulas({payload:m,callback:y},{call:b}){const z=yield b(na.y9,m);y(z)},*putGoalValue({payload:m},{call:y,put:b}){const z=yield y(na.No,m);if(z&&z.status===0)wn.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield b({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield b({type:"getGraduationResults"});else{let oe="\u4FDD\u5B58\u5931\u8D25";z&&z.message&&(oe=z.message),wn.ZP.error(oe)}}},reducers:{save(m,y){return oa(oa({},m),y.payload)},setMajorOrYearDataSource(m,{payload:y}){let b=m.headerData.active;return y.active&&(b=ia(oa({},b),{[y.key]:y.active})),ia(oa({},m),{headerData:ia(oa({},m.headerData),{dataSource:ia(oa({},m.headerData.dataSource),{[y.key]:ia(oa({},m.headerData.dataSource[y.key]),{dataList:y.value})}),active:b})})},setMajorOrYearActive(m,{payload:y}){return ia(oa({},m),{headerData:ia(oa({},m.headerData),{active:ia(oa({},m.headerData.active),{[y.key]:y.value})})})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Jo=e(242),Si=Object.defineProperty,Bi=Object.getOwnPropertySymbols,cs=Object.prototype.hasOwnProperty,ls=Object.prototype.propertyIsEnumerable,Ci=(m,y,b)=>y in m?Si(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,xo=(m,y)=>{for(var b in y||(y={}))cs.call(y,b)&&Ci(m,b,y[b]);if(Bi)for(var b of Bi(y))ls.call(y,b)&&Ci(m,b,y[b]);return m},Oi={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:m},{call:y,put:b}){const z=yield y(Jo.Si,m);return yield b({type:"save",payload:{forumsDetailData:xo({},z)}}),z},*setForumsDetailData({payload:m},{call:y,put:b}){yield b({type:"save",payload:{forumsDetailData:xo({},m)}})}},reducers:{save(m,y){return xo(xo({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},yi=Object.defineProperty,Yi=Object.getOwnPropertySymbols,Os=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,ds=(m,y,b)=>y in m?yi(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,zi=(m,y)=>{for(var b in y||(y={}))Os.call(y,b)&&ds(m,b,y[b]);if(Yi)for(var b of Yi(y))$o.call(y,b)&&ds(m,b,y[b]);return m},fs={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:m},{call:y,put:b}){const z=yield y(m.memoType==="shixun_discuss"?Jo.kd:Jo.bc,m);return delete m.memoType,yield b({type:"save",payload:{listParams:m,forumsData:zi({},z)}}),z}},reducers:{save(m,y){return zi(zi({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Zi=e(88627),Vs=e(14185),qo=Object.defineProperty,ps=Object.getOwnPropertySymbols,Qi=Object.prototype.hasOwnProperty,Ji=Object.prototype.propertyIsEnumerable,vs=(m,y,b)=>y in m?qo(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,$i=(m,y)=>{for(var b in y||(y={}))Qi.call(y,b)&&vs(m,b,y[b]);if(ps)for(var b of ps(y))Ji.call(y,b)&&vs(m,b,y[b]);return m},qi,Hi={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!((document.referrer.indexOf("gitlink.org.cn")>=0||document.referrer.indexOf("gitlink.educoder.net")>=0)&&((qi=window.location.href)==null?void 0:qi.indexOf("gitlink.educoder.net"))>=0),showHeaderFixed:!1,isShowAI:!0,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},isSaiaDomain:window.location.host=="saia.educoder.net"},effects:{*query({payload:m},{call:y,put:b}){const z=yield y(Zi.D2,m);Ks(z),yield b({type:"save",payload:$i({},z)})},*getSystemUpdate({payload:m},{call:y,put:b}){const z=yield y(Zi.n0,m);yield b({type:"save",payload:{updateData:$i({},z)}})},*setTheme({payload:m},{call:y,put:b}){const z=yield y(Zi.n0,m);yield b({type:"save",payload:{theme:m||"default"}})},*setShareData({payload:m},{call:y,put:b}){yield b({type:"save",payload:{shareData:m}})},*setGlobalLoading({payload:m},{call:y,put:b}){yield b({type:"save",payload:{globalLoading:$i({},m)}})},*delayTipToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showTip:m}})},*headerToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showHeader:m}})},*footerToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showFooter:m}})},*headerFooterToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showHeaderFooter:m}})},*headerFixedToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showHeaderFixed:m}})},*AIshow({payload:m},{call:y,put:b}){yield b({type:"save",payload:{isShowAI:m}})},*onlyShowBackTopToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{onlyShowBackTop:m}})},*onlyShowBackTopIconToggle({payload:m},{call:y,put:b}){yield b({type:"save",payload:{onlyShowBackTopIcons:m}})},*setOperateModel({payload:m},{call:y,put:b}){yield b({type:"save",payload:{operateModel:m}})},*setOperateModelPath({payload:m},{call:y,put:b}){yield b({type:"save",payload:{operateModelPath:m}})},*setShowQuestionBackTop({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showQuestionBackTop:m}})}},reducers:{save(m,y){return $i($i({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{})}}};const Ks=(m={})=>{var y,b,z,oe,mr;if(window.self!==window.top||!((y=m.setting)!=null&&y.tab_logo_url))return;const dr=document.createElement("link"),Nn=document.getElementById("dynamic-favicon");dr.id="dynamic-favicon",dr.rel="shortcut icon",dr.href=(b=m.setting)!=null&&b.tab_logo_url?`${Vs.Z.IMG_SERVER}/${(z=m.setting)==null?void 0:z.tab_logo_url}`:"",Nn&&document.head.removeChild(Nn),document.head.appendChild(dr);try{(oe=m.setting)!=null&&oe.main_site||(document.querySelector('meta[name="keywords"]').content=(mr=m.setting)==null?void 0:mr.name,document.querySelector('meta[name="description"]').remove())}catch(Xn){}};var Eo=e(45567),Xs=Object.defineProperty,es=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,Ii=Object.prototype.propertyIsEnumerable,Ro=(m,y,b)=>y in m?Xs(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ai=(m,y)=>{for(var b in y||(y={}))Di.call(y,b)&&Ro(m,b,y[b]);if(es)for(var b of es(y))Ii.call(y,b)&&Ro(m,b,y[b]);return m},ut={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:m},{call:y,put:b}){return yield y(Eo.Xh,m)},*getGraduationsFinalScore({payload:m},{call:y,put:b}){return yield y(Eo.H3,m)},*getDelGraduationsTasks({payload:m},{call:y,put:b}){return yield y(Eo.km,m)},*getGraduationsTasks({payload:m},{call:y,put:b}){const z=yield y(Eo.Xw,m);yield b({type:"save",payload:{Tasks:z}})},*getGraduationsTeachers({payload:m},{call:y,put:b}){var z;const oe=yield y(Eo.AA,m);return(z=oe==null?void 0:oe.data)==null||z.map(mr=>(mr.key=mr.id,mr)),yield b({type:"save",payload:{teachers:oe}}),oe},*getGraduationsStudents({payload:m},{call:y,put:b}){var z;const oe=yield y(Eo.eh,m);(z=oe==null?void 0:oe.data)==null||z.map(mr=>(mr.key=mr.id,mr)),yield b({type:"save",payload:{students:oe}})},*getGraduationsNotices({payload:m},{call:y,put:b}){const z=yield y(Eo.Rk,m);yield b({type:"save",payload:{Notices:z}})},*getGraduationsInfo({payload:m},{call:y,put:b}){const z=yield y(Eo.F7,m);yield b({type:"save",payload:{graduation:z.graduation}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ai({},m)}})},*setUpdateIndex({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:m},{call:y,put:b}){const z=yield y(Eo.Ou,m);yield b({type:"save",payload:{details:(z==null?void 0:z.graduation)||{},menus:(z==null?void 0:z.data)||[],forTask:(z==null?void 0:z.for_task)||[]}})}},reducers:{save(m,y){return Ai(Ai({},m),y.payload)}}},Et=e(73505),gt=Object.defineProperty,Ot=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,Xr=(m,y,b)=>y in m?gt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,vn=(m,y)=>{for(var b in y||(y={}))Kr.call(y,b)&&Xr(m,b,y[b]);if(Or)for(var b of Or(y))Yr.call(y,b)&&Xr(m,b,y[b]);return m},xn=(m,y)=>Ot(m,jt(y)),Gt={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:m},{call:y,put:b}){const z=yield y(Et.Tt,{payload:m});yield b({type:"save",payload:xn(vn({},z),{isloading:!0})})},*query({payload:m},{call:y,put:b}){yield b({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:m,callback:y},{call:b,put:z}){return yield b(Et.LA,m)},*UploadNotice({payload:m,callback:y},{call:b,put:z}){return yield b(Et.S_,m)}},reducers:{save(m,y){return vn(vn({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Vt=Object.defineProperty,Tr=Object.defineProperties,Hr=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,rn=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,Yn=(m,y,b)=>y in m?Vt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Un=(m,y)=>{for(var b in y||(y={}))rn.call(y,b)&&Yn(m,b,y[b]);if(Ae)for(var b of Ae(y))Qr.call(y,b)&&Yn(m,b,y[b]);return m},rr=(m,y)=>Tr(m,Hr(y)),Vn={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(m,y){return Un(Un({},m),y.payload)},openModal(m,y){return rr(Un({},m),{visibleModalName:y.payload})},closeModal(m){return rr(Un({},m),{visibleModalName:""})},openSimpleModal(m,y){return rr(Un({},m),{simpleModalProps:Un({visible:!0},y.payload)})},closeSimpleModal(m){return rr(Un({},m),{simpleModalProps:{visible:!1}})}}},ra=e(49317),Co=Object.defineProperty,bo=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Oo=(m,y,b)=>y in m?Co(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,so=(m,y)=>{for(var b in y||(y={}))Zn.call(y,b)&&Oo(m,b,y[b]);if(bo)for(var b of bo(y))oi.call(y,b)&&Oo(m,b,y[b]);return m},Ka=(m,y,b)=>new Promise((z,oe)=>{var mr=Xn=>{try{Nn(b.next(Xn))}catch(ca){oe(ca)}},dr=Xn=>{try{Nn(b.throw(Xn))}catch(ca){oe(ca)}},Nn=Xn=>Xn.done?z(Xn.value):Promise.resolve(Xn.value).then(mr,dr);Nn((b=b.apply(m,y)).next())});const li=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/banner.json",{method:"get",params:so({},m)})}),ei=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:so({},m)})}),Vr=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:so({},m)})}),wo=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:so({},m)})}),Mo=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects.json",{method:"post",body:so({},m)})}),ve=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:so({},m)})}),he=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:so({},m)})}),We=m=>Ka(void 0,null,function*(){return(0,ra.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:so({},m)})});var tt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,Ar=(m,y,b)=>y in m?tt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,_r=(m,y)=>{for(var b in y||(y={}))Wt.call(y,b)&&Ar(m,b,y[b]);if(Rt)for(var b of Rt(y))tr.call(y,b)&&Ar(m,b,y[b]);return m},ln={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:m},{call:y,put:b}){const{data:{adv:z,top_banner:oe}}=yield y(li,m);yield b({type:"save",payload:{BannerList:oe,Adv:z}})},*getTopCategoryList({payload:m},{call:y,put:b}){const{data:{top_category_list:z}}=yield y(ei,m);yield b({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...z]}})},*getHotList({payload:m},{call:y,put:b}){const{data:{hot_list:z}}=yield y(Vr,m);yield b({type:"save",payload:{HotList:z}})},*getDiscountList({payload:m},{call:y,put:b}){const{data:{discount_list:z}}=yield y(wo,m);yield b({type:"save",payload:{DiscountList:z}})},*getPaidSubjects({payload:m},{call:y,put:b}){const{data:z}=yield y(Mo,m);yield b({type:"save",payload:{SubjectList:z}})},*getTags({payload:m},{call:y,put:b}){const{data:{list:z}}=yield y(ve,m);yield b({type:"save",payload:{Tags:z}})},*getUserComments({payload:m},{call:y,put:b}){const{data:{list:z}}=yield y(he,m);yield b({type:"save",payload:{UserComments:z}})},*getInfoShow({payload:m},{call:y,put:b}){const{data:z}=yield y(We,m);yield b({type:"save",payload:{InfoShow:z}})}},reducers:{save(m,y){return _r(_r({},m),y.payload)}}},Rn={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},In=e(80007),da=Object.defineProperty,Kn=Object.getOwnPropertySymbols,Mn=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,Ln=(m,y,b)=>y in m?da(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,An=(m,y)=>{for(var b in y||(y={}))Mn.call(y,b)&&Ln(m,b,y[b]);if(Kn)for(var b of Kn(y))Oa.call(y,b)&&Ln(m,b,y[b]);return m},Zo={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:m},{call:y,put:b}){const z=yield y(In.Ub,m);return yield b({type:"save",payload:{privateMessageDetails:z||[]}}),z},*getTidings({payload:m},{call:y,put:b}){const z=yield y(In.AD,m);yield b({type:"save",payload:{tidingsList:z||[]}})},*getPrivateMessages({payload:m},{call:y,put:b}){const z=yield y(In.V8,m);return yield b({type:"save",payload:{privateMessage:z||[]}}),z},*getUsersForPrivateMessages({payload:m},{call:y,put:b}){const z=yield y(In.QJ,m);return yield b({type:"save",payload:{userPrivateMessage:z||[]}}),z},*unreadMessageInfo({payload:m},{call:y,put:b}){const z=yield y(In.Ig,m);yield b({type:"save",payload:{unreadInfo:z||[]}})},*getRecentContacts({payload:m},{call:y,put:b}){const z=yield y(In.Ko,m);return yield b({type:"save",payload:{recentContacts:z||[]}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:An({},m)}})}},reducers:{save(m,y){return An(An({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},pa=e(37166),$a=e(76406),ua=e(8633),ao=Object.defineProperty,Hn=Object.defineProperties,Ba=Object.getOwnPropertyDescriptors,oo=Object.getOwnPropertySymbols,po=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,io=(m,y,b)=>y in m?ao(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,go=(m,y)=>{for(var b in y||(y={}))po.call(y,b)&&io(m,b,y[b]);if(oo)for(var b of oo(y))Go.call(y,b)&&io(m,b,y[b]);return m},Vo=(m,y)=>Hn(m,Ba(y));const Ho=(m,y)=>{var b,z,oe,mr,dr,Nn,Xn,ca,Yo;if(!m)return;const{exam:To,single_questions:vo,multiple_questions:Ya,judgement_questions:Ki,program_questions:Nc,completion_questions:sc,subjective_questions:Bc,practical_questions:iu,combination_questions:kn,bprogram_questions:uc}=m||{},cc=[go({type:"SINGLE",question_type:0,name:((b=y==null?void 0:y.find(uo=>uo.value==ua.fw[0].nameType))==null?void 0:b.name)||ua.fw[0].name},vo),go({type:"MULTIPLE",question_type:1,name:((z=y==null?void 0:y.find(uo=>uo.value==ua.fw[1].nameType))==null?void 0:z.name)||ua.fw[1].name},Ya),go({type:"JUDGMENT",question_type:2,name:((oe=y==null?void 0:y.find(uo=>uo.value==ua.fw[2].nameType))==null?void 0:oe.name)||ua.fw[2].name},Ki),go({type:"PROGRAM",question_type:6,name:((mr=y==null?void 0:y.find(uo=>uo.value==ua.fw[6].nameType))==null?void 0:mr.name)||ua.fw[6].name},Nc),go({type:"COMPLETION",question_type:3,name:((dr=y==null?void 0:y.find(uo=>uo.value==ua.fw[3].nameType))==null?void 0:dr.name)||ua.fw[3].name},sc),go({type:"SUBJECTIVE",question_type:4,name:((Nn=y==null?void 0:y.find(uo=>uo.value==ua.fw[4].nameType))==null?void 0:Nn.name)||ua.fw[4].name},Bc),go({type:"PRACTICAL",question_type:5,name:((Xn=y==null?void 0:y.find(uo=>uo.value==ua.fw[5].nameType))==null?void 0:Xn.name)||ua.fw[5].name},iu),go({type:"COMBINATION",question_type:7,name:((ca=y==null?void 0:y.find(uo=>uo.value==ua.fw[7].nameType))==null?void 0:ca.name)||ua.fw[7].name},kn),go({type:"BPROGRAM",question_type:8,name:((Yo=y==null?void 0:y.find(uo=>uo.value==ua.fw[8].nameType))==null?void 0:Yo.name)||ua.fw[8].name},uc)],Qo=[];if(m.sort_by_qustion_type)for(const uo of m.qustion_type_order_name_en)Qo.push(cc.find(uu=>uu.type===uo));const su=(m.sort_by_qustion_type?Qo:cc).filter(uo=>(uo==null?void 0:uo.questions_count)>0).map((uo,uu)=>{var lc;return go(go({},uo),{number:(0,$a.EM)(uu+1),questions:(lc=uo==null?void 0:uo.questions)==null?void 0:lc.map(us=>Vo(go({},us),{shixun:us.examination_bank_shixun_challenges,question_type:uo.question_type}))})});return{exam:To,questionList:su}};var So=e(44192),Aa=Object.defineProperty,qa=Object.getOwnPropertySymbols,Io=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable,_e=(m,y,b)=>y in m?Aa(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,$=(m,y)=>{for(var b in y||(y={}))Io.call(y,b)&&_e(m,b,y[b]);if(qa)for(var b of qa(y))Da.call(y,b)&&_e(m,b,y[b]);return m},fr={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:m},{call:y,put:b}){return yield y(pa.a2,m)},*postCheckExaminationBanks({payload:m},{call:y,put:b}){return yield y(pa.q$,m)},*postPaperlibraryCopy({payload:m},{call:y,put:b}){return yield y(pa.ID,m)},*getDisciplines({payload:m},{call:y,put:b}){const z=yield y(pa.d1,m);return yield b({type:"save",payload:{disciplinesData:$({},z)}}),z},*getCustomDisciplines({payload:m},{call:y,put:b}){const z=yield y(pa.ar,m);return yield b({type:"save",payload:{disciplinesData:$({},z)}}),z},*getEditDisciplines({payload:m},{call:y,put:b}){const z=yield y(pa.d1,m),oe=z==null?void 0:z.disciplines,mr=(0,So.L)(oe);return yield b({type:"save",payload:{courseOptions:mr,disciplinesData:$({},z)}}),z},*getTeachGroupData({payload:m},{call:y,put:b}){const z=yield y(pa.Dm,m);return yield b({type:"save",payload:{teachGroupData:$({},z)}}),z},*getPaperData({payload:m},{call:y,put:b}){const z=yield y(pa.iT,m),oe=yield y(pa.cV,m),mr=Ho(z,oe.data);return yield b({type:"save",payload:{paperData:mr}}),z},*getPaperlibraryList({payload:m},{call:y,put:b}){return yield y(pa.Gd,m)},*setPublic({payload:m},{call:y,put:b}){return yield y(pa.DF,m)},*handleDelete({payload:m},{call:y,put:b}){return yield y(pa.fn,m)},*getCourseList({payload:m},{call:y,put:b}){return yield y(pa.tS,m)},*postBatchSendToCourse({payload:m},{call:y,put:b}){return yield y(pa.lc,m)},*sendToClass({payload:m},{call:y,put:b}){return yield y(pa.kp,m)},*adjustPosition({payload:m},{call:y,put:b}){return yield y(pa.qN,m)},*setScore({payload:m},{call:y,put:b}){return yield y(pa.ts,m)},*handleDeleteEditQuestion({payload:m},{call:y,put:b}){return yield y(pa.NC,m)},*batchSetScore({payload:m},{call:y,put:b}){return yield y(pa.YP,m)},*batchDelete({payload:m},{call:y,put:b}){return yield y(pa.Hm,m)},*updatePaper({payload:m},{call:y,put:b}){return yield y(pa.jK,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:$({},m)}})}},reducers:{save(m,y){return $($({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Mt=Object.defineProperty,lr=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,Wn=(m,y,b)=>y in m?Mt(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,zr=(m,y)=>{for(var b in y||(y={}))Br.call(y,b)&&Wn(m,b,y[b]);if(lr)for(var b of lr(y))fn.call(y,b)&&Wn(m,b,y[b]);return m},$r={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:m,callback:y},{call:b,put:z}){const oe=yield b(pa.Dq,m);return yield z({type:"save",payload:{exerciseExportHeadData:zr({},oe)}}),oe},*editExercise({payload:m,callback:y},{call:b,put:z}){const oe=yield b(pa.Di,m);return yield z({type:"save",payload:{editData:zr({},oe)}}),oe},*getTagDiscipline({payload:m,callback:y},{call:b,put:z}){const oe=yield b(le.YY,m);return yield z({type:"save",payload:{tagDisciplineData:zr({},oe)}}),oe},*editExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(pa.oF,m)},*addExerciseQuestion({payload:m,callback:y},{call:b,put:z}){return yield b(pa.oF,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:zr({},m)}})}},reducers:{save(m,y){return zr(zr({},m),y.payload)},modifyTitle(m,y){const b=(0,ke.cloneDeep)(m);return b.editData.exercise.exercise_name=y.payload,b}},subscriptions:{setup({dispatch:m,history:y}){}}},Dn=e(3761),ro=Object.defineProperty,ii=Object.getOwnPropertySymbols,ti=Object.prototype.hasOwnProperty,Ui=Object.prototype.propertyIsEnumerable,Zu=(m,y,b)=>y in m?ro(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Wi=(m,y)=>{for(var b in y||(y={}))ti.call(y,b)&&Zu(m,b,y[b]);if(ii)for(var b of ii(y))Ui.call(y,b)&&Zu(m,b,y[b]);return m},Xc,Yc,wl={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:(Xc=(0,$a.UZ)())==null?void 0:Xc.keywords,stage_id:null,visibleType:(Yc=(0,$a.UZ)())==null?void 0:Yc.classifyType,editKey:-1},effects:{*getDiscusses({payload:m},{call:y,put:b}){const z=yield y(Dn.Ax,m);yield b({type:"save",payload:{discusses:Wi({},z)}})},*getKnowledgeGraphs({payload:m},{call:y,put:b}){const z=yield y(Dn.Bz,m);return yield b({type:"save",payload:{detail:Wi({},(z==null?void 0:z.data)||{})}}),(z==null?void 0:z.data)||{}},*getPathsDetail({payload:m},{call:y,put:b}){const z=yield y(Dn.lk,m);return yield b({type:"save",payload:{detail:Wi({},z)}}),z},*getCourseDetail({payload:m},{call:y,put:b}){const z=yield y(Dn.Sp,m);return yield b({type:"save",payload:{detail:Wi({},z)}}),z},*getRightData({payload:m},{call:y,put:b}){const z=yield y(Dn.AQ,m);yield b({type:"save",payload:{rightData:Wi({},z)}})},*getCoureses({payload:m},{call:y,put:b}){const z=yield y(Dn.ue,m);yield b({type:"save",payload:{Courses:Wi({},z)}})},*getStageChildrenData({payload:m},{call:y,put:b}){const z=yield y(Dn.w4,m);return yield b({type:"save",payload:{StageChildrenData:z}}),z},*getStageData({payload:m},{call:y,put:b}){var z,oe;let mr=null;m!=null&&m.show_course_section?mr=yield y(Dn.yN,m):mr=yield y(Dn.p,m),yield b({type:"save",payload:{stageData:((z=mr==null?void 0:mr.data)==null?void 0:z.stages)||(mr==null?void 0:mr.stages)||[],isShowSchedule:((oe=mr==null?void 0:mr.data)==null?void 0:oe.is_show_schedule)||(mr==null?void 0:mr.is_show_schedule)||!1}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Wi({},m)}})}},reducers:{save(m,y){return Wi(Wi({},m),y.payload)}}},Qc=Object.defineProperty,Pl=Object.getOwnPropertySymbols,Ds=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,_s=(m,y,b)=>y in m?Qc(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Hu=(m,y)=>{for(var b in y||(y={}))Ds.call(y,b)&&_s(m,b,y[b]);if(Pl)for(var b of Pl(y))_c.call(y,b)&&_s(m,b,y[b]);return m},fi={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:m},{call:y,put:b}){const z=m,oe=yield y(Dn.tS,m);return yield b({type:"save",payload:Hu({listParams:z},oe)}),oe},*getMenus({payload:m},{call:y,put:b}){const z=yield y(Dn.fh,m);yield b({type:"save",payload:{menus:z}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Hu({},m)}})},*clearListParams({payload:m},{call:y,put:b}){yield b({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(m,y){return Hu(Hu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},El=Object.defineProperty,Ys=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,ms=Object.prototype.propertyIsEnumerable,Jc=(m,y,b)=>y in m?El(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,mc=(m,y)=>{for(var b in y||(y={}))Uu.call(y,b)&&Jc(m,b,y[b]);if(Ys)for(var b of Ys(y))ms.call(y,b)&&Jc(m,b,y[b]);return m},gc={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:m},{call:y,put:b}){return yield y(Dn.tu,m)},*submitCourse({payload:m},{call:y,put:b}){return yield y(Dn.pU,m)},*getEditCourseData({payload:m},{call:y,put:b}){return yield y(Dn.mQ,m)},*getSchoolOption({payload:m},{call:y,put:b}){return yield y(Dn.GY,m)},*appplySchool({payload:m},{call:y,put:b}){return yield y(Dn.bz,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:mc({},m)}})}},reducers:{save(m,y){return mc(mc({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},yc=Object.defineProperty,Qs=Object.defineProperties,Js=Object.getOwnPropertyDescriptors,hu=Object.getOwnPropertySymbols,$c=Object.prototype.hasOwnProperty,qc=Object.prototype.propertyIsEnumerable,_u=(m,y,b)=>y in m?yc(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,ko=(m,y)=>{for(var b in y||(y={}))$c.call(y,b)&&_u(m,b,y[b]);if(hu)for(var b of hu(y))qc.call(y,b)&&_u(m,b,y[b]);return m},gs=(m,y)=>Qs(m,Js(y)),Ti={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:m},{call:y,put:b}){const z=yield y(Dn.nq,m);yield b({type:"save",payload:{SubjectUseInfos:z}})},*getRankList({payload:m},{call:y,put:b}){const z=yield y(Dn.Fg,m);yield b({type:"save",payload:{RankList:gs(ko({},z),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(z==null?void 0:z.learn_list)||[]]})}})},*getStatisticsBody({payload:m},{call:y,put:b}){const z=yield y(Dn.Gz,m);yield b({type:"save",payload:{SBody:z}})},*getOnlineCount({payload:m},{call:y,put:b}){const z=yield y(Dn.hS,m);yield b({type:"save",payload:{OnlineCount:z==null?void 0:z.data}})},*getStatisticsHeader({payload:m},{call:y,put:b}){const z=yield y(Dn.Hl,m);yield b({type:"save",payload:{SHeader:z}})}},reducers:{save(m,y){return ko(ko({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Xa=e(46861),Ts=Object.defineProperty,xc=Object.getOwnPropertySymbols,Rs=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,bc=(m,y,b)=>y in m?Ts(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Ri=(m,y)=>{for(var b in y||(y={}))Rs.call(y,b)&&bc(m,b,y[b]);if(xc)for(var b of xc(y))Ms.call(y,b)&&bc(m,b,y[b]);return m},Sl={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},groupfolderList:{}},effects:{*getGroup({payload:m},{call:y,put:b}){const z=yield y(Xa.ex,m);return yield b({type:"save",payload:{groupfolderList:z}}),z},*getDisciplines({payload:m},{call:y,put:b}){const z=yield y(Xa.d1,m);return yield b({type:"save",payload:{disciplinesData:Ri({},z)}}),z},*getEditDisciplines({payload:m},{call:y,put:b}){const z=yield y(Xa.d1,m),oe=z==null?void 0:z.disciplines,mr=(0,So.L)(oe);return yield b({type:"save",payload:{courseOptions:mr,disciplinesData:Ri({},z)}}),z},*getBasketList({payload:m},{call:y,put:b}){const z=yield y(Xa.Qj,m);return yield b({type:"save",payload:{basketData:Ri({},z)}}),z},*getTeachGroupData({payload:m},{call:y,put:b}){const z=yield y(Xa.Dm,m);return yield b({type:"save",payload:{teachGroupData:Ri({},z)}}),z},*getEditData({payload:m},{call:y,put:b}){const z=yield y(Xa.FG,m);return yield b({type:"save",payload:{editData:Ri({},z)}}),z},*getEditDataBprogram({payload:m},{call:y,put:b}){const z=yield y(Xa.Bo,m);return yield b({type:"save",payload:{editData:Ri({},z)}}),z},*getGroupData({payload:m},{call:y,put:b}){const z=yield y(Xa.hI,m);return yield b({type:"save",payload:{groupData:Ri({},z)}}),z},*getItemBanks({payload:m},{call:y,put:b}){return yield y(Xa.Of,m)},*setPrivate({payload:m},{call:y,put:b}){return yield y(Xa.Pl,m)},*revokePublish({payload:m},{call:y,put:b}){return yield y(Xa.IJ,m)},*setPublic({payload:m},{call:y,put:b}){return yield y(Xa.DF,m)},*handleDelete({payload:m},{call:y,put:b}){return yield y(Xa.fn,m)},*startExperience({payload:m},{call:y,put:b}){return yield y(Xa.Bd,m)},*cancel({payload:m},{call:y,put:b}){return yield y(Xa.al,m)},*select({payload:m},{call:y,put:b}){return yield y(Xa.Ys,m)},*examUnselectAll({payload:m},{call:y,put:b}){return yield y(Xa.rV,m)},*basketDelete({payload:m},{call:y,put:b}){return yield y(Xa.x5,m)},*unselectAll({payload:m},{call:y,put:b}){return yield y(Xa.HF,m)},*addKnowledge({payload:m},{call:y,put:b}){return yield y(Xa.U6,m)},*editProblemset({payload:m},{call:y,put:b}){return yield y(Xa.Wk,m)},*addProblemset({payload:m},{call:y,put:b}){return yield y(Xa.Mr,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Ri({},m)}})}},reducers:{save(m,y){return Ri(Ri({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},el=Object.defineProperty,ri=Object.getOwnPropertySymbols,Wu=Object.prototype.hasOwnProperty,Gu=Object.prototype.propertyIsEnumerable,bi=(m,y,b)=>y in m?el(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,ks=(m,y)=>{for(var b in y||(y={}))Wu.call(y,b)&&bi(m,b,y[b]);if(ri)for(var b of ri(y))Gu.call(y,b)&&bi(m,b,y[b]);return m},ys={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:m},{call:y,put:b}){const z=yield y(Xa.iT,m),oe=(0,So.r)(z);return yield b({type:"save",payload:{paperData:oe}}),z},*getEditDisciplines({payload:m},{call:y,put:b}){const z=yield y(Xa.d1,m),oe=z==null?void 0:z.disciplines,mr=(0,So.L)(oe);return yield b({type:"save",payload:{courseOptions:mr,disciplinesData:ks({},z)}}),z},*setScore({payload:m},{call:y,put:b}){return yield y(Xa.ts,m)},*handleDelete({payload:m},{call:y,put:b}){return yield y(Xa.Cn,m)},*batchSetScore({payload:m},{call:y,put:b}){return yield y(Xa.YP,m)},*batchDelete({payload:m},{call:y,put:b}){return yield y(Xa.Hm,m)},*adjustPosition({payload:m},{call:y,put:b}){return yield y(Xa.qN,m)},*newPreviewProblemset({payload:m},{call:y,put:b}){return yield y(Xa.et,m)},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:ks({},m)}})}},reducers:{save(m,y){return ks(ks({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Pc=e(13159),ni=Object.defineProperty,Mi=Object.getOwnPropertySymbols,Vu=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable,qs=(m,y,b)=>y in m?ni(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,js=(m,y)=>{for(var b in y||(y={}))Vu.call(y,b)&&qs(m,b,y[b]);if(Mi)for(var b of Mi(y))Ku.call(y,b)&&qs(m,b,y[b]);return m},Iu={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:m},{call:y,put:b}){const z=yield y(Pc.Go,m);return yield b({type:"save",payload:{restful:js({},z)}}),z},*getRestfulDetail({payload:m},{call:y,put:b}){const z=yield y(Pc.H5,m);return yield b({type:"save",payload:{restfulDetail:js({},(z==null?void 0:z.data)||{})}}),(z==null?void 0:z.data)||{}},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:js({},m)}})}},reducers:{save(m,y){return js(js({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},yn=e(66443);const jo=(m={})=>{var y,b,z,oe,mr,dr;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(y=m==null?void 0:m.content_info)==null?void 0:y.status,username:(b=m==null?void 0:m.content_info)==null?void 0:b.username,time:(z=m==null?void 0:m.content_info)==null?void 0:z.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(oe=m==null?void 0:m.perference_info)==null?void 0:oe.status,username:(mr=m==null?void 0:m.perference_info)==null?void 0:mr.username,time:(dr=m==null?void 0:m.perference_info)==null?void 0:dr.time}]};var Ec=Object.defineProperty,ki=Object.defineProperties,eu=Object.getOwnPropertyDescriptors,rs=Object.getOwnPropertySymbols,Sc=Object.prototype.hasOwnProperty,tl=Object.prototype.propertyIsEnumerable,Cc=(m,y,b)=>y in m?Ec(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,si=(m,y)=>{for(var b in y||(y={}))Sc.call(y,b)&&Cc(m,b,y[b]);if(rs)for(var b of rs(y))tl.call(y,b)&&Cc(m,b,y[b]);return m},Yu=(m,y)=>ki(m,eu(y)),tu={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}},pollDetail:{}},effects:{*getStartAnswer({payload:m},{call:y,put:b}){const z=yield y(yn.wX,m);return yield b({type:"save",payload:{pollDetail:z==null?void 0:z.data}}),z},*getShixunsDetail({payload:m},{call:y,put:b}){const z=yield y(yn.Po,m);return yield b({type:"save",payload:{detail:si({},z)}}),z},*getMirrorApplies({payload:m},{call:y,put:b}){const z=yield y(yn.tX,m);return yield b({type:"save",payload:{mirrorApplies:si({},(z==null?void 0:z.data)||{})}}),z},*getRightData({payload:m},{call:y,put:b}){const z=yield y(yn.AQ,m);yield b({type:"save",payload:{rightData:si({},z)}})},*getChallengesData({payload:m},{call:y,put:b}){const z=yield y(yn.n5,m);yield b({type:"save",payload:{challenges:si({},z)}})},*saveCopyForExercise({payload:m},{call:y,put:b}){return yield y(yn.FB,m)},*execJupyter({payload:m},{call:y,put:b}){return yield y(yn.BK,m)},*execShixun({payload:m},{call:y,put:b}){const z=yield y(yn.Ir,m);return(z==null?void 0:z.status)===-3&&(0,$a.eF)(),z},*openChallenge({payload:m},{call:y,put:b}){return yield y(yn.dK,m)},*challengeMoveUp({payload:m},{call:y,put:b}){return yield y(yn.zD,m)},*challengeMoveDown({payload:m},{call:y,put:b}){return yield y(yn.hn,m)},*cancelCollect({payload:m},{call:y,put:b}){return yield y(yn.rs,m)},*collect({payload:m},{call:y,put:b}){return yield y(yn.KM,m)},*searchUserCourses({payload:m},{call:y,put:b}){return yield y(yn._7,m)},*sendToCourse({payload:m},{call:y,put:b}){return yield y(yn.Q,m)},*cancelRelease({payload:m},{call:y,put:b}){return yield y(yn.Ne,m)},*cancelPublic({payload:m},{call:y,put:b}){return yield y(yn.Er,m)},*applyPublic({payload:m},{call:y,put:b}){return yield y(yn.WO,m)},*release({payload:m},{call:y,put:b}){return yield y(yn.Ar,m)},*updateAuditSituation({payload:m},{call:y,put:b}){return yield y(yn.LP,m)},*getCollaboratorsData({payload:m},{call:y,put:b}){return yield y(yn.j8,m)},*addCollaborator({payload:m},{call:y,put:b}){return yield y(yn.OV,m)},*addTeachGroupMember({payload:m},{call:y,put:b}){return yield y(yn.l3,m)},*getChangeManager({payload:m},{call:y,put:b}){return yield y(yn.P2,m)},*changeManager({payload:m},{call:y,put:b}){return yield y(yn.X$,m)},*deleteCollaborators({payload:m},{call:y,put:b}){return yield y(yn.xk,m)},*getRankingList({payload:m},{call:y,put:b}){return yield y(yn.h_,m)},*getMirrorScript({payload:m},{call:y,put:b}){return yield y(yn.Z2,m)},*getScriptContent({payload:m},{call:y,put:b}){return yield y(yn.Bj,m)},*getCustomScript({payload:m},{call:y,put:b}){return yield y(yn.Wi,m)},*updateSettingBasicInfo({payload:m},{call:y,put:b}){return yield y(yn.ZO,m)},*getShixunQuote({payload:m},{call:y,put:b}){return yield y(yn.Gr,m)},*deleteShixun({payload:m},{call:y,put:b}){return yield y(yn.Ps,m)},*permanentClose({payload:m},{call:y,put:b}){return yield y(yn.U9,m)},*getDepartments({payload:m},{call:y,put:b}){return yield y(yn.Ql,m)},*updatePermissionSetting({payload:m},{call:y,put:b}){return yield y(yn.aH,m)},*updateLearnSetting({payload:m},{call:y,put:b}){return yield y(yn.yE,m)},*updateSetting({payload:m},{call:y,put:b}){return yield y(yn.m7,m)},*getSetData({payload:m},{call:y,put:b}){return yield y(yn.U0,m)},*deleteDataSet({payload:m},{call:y,put:b}){return yield y(yn.uo,m)},*deleteGitFile({payload:m},{call:y,put:b}){return yield y(yn.sr,m)},*deleteGitFiles({payload:m},{call:y,put:b}){return yield y(yn.p0,m)},*moveGitFile({payload:m},{call:y,put:b}){return yield y(yn.IT,m)},*moveGitFiles({payload:m},{call:y,put:b}){return yield y(yn.t2,m)},*getRepository({payload:m},{call:y,put:b}){const z=yield y(yn.Ag,m);return yield b({type:"save",payload:{repository:si({},z)}}),si({},z)},*getRepositorys({payload:m},{call:y,put:b}){const z=yield y(yn.Wl,m);return yield b({type:"save",payload:{repository:si({},z)}}),si({},z)},*getSecretRepository({payload:m},{call:y,put:b}){const z=yield y(yn.w,m);return yield b({type:"save",payload:{secretRepository:si({},z)}}),z},*addRepositoryFile({payload:m},{call:y,put:b}){return yield y(yn.v3,m)},*addRepositoryFiles({payload:m},{call:y,put:b}){return yield y(yn.fL,m)},*getRepositoryCommit({payload:m},{call:y,put:b}){return yield y(yn.Je,m)},*getFileContent({payload:m},{call:y,put:b}){const z=yield y(yn.LK,m);return yield b({type:"save",payload:{fileContent:Yu(si({},z),{params:m})}}),z},*getFileContents({payload:m},{call:y,put:b}){const z=yield y(yn.nu,m);return yield b({type:"save",payload:{fileContent:Yu(si({},z),{params:m})}}),z},*updateRepositoryFile({payload:m},{call:y,put:b}){return yield y(yn.kF,m)},*updateRepositoryFiles({payload:m},{call:y,put:b}){return yield y(yn.jq,m)},*uploadGitFolder({payload:m},{call:y,put:b}){return yield y(yn.Op,m)},*updateCollaboratorEditable({payload:m},{call:y,put:b}){return yield y(yn.Dz,m)},*getSettingsData({payload:m},{call:y,put:b}){const z=yield y(yn.DC,m);yield b({type:"save",payload:{setting:si({},z)}})},*getChallengesNew({payload:m},{call:y,put:b}){const z=yield y(yn.km,m);yield b({type:"save",payload:{challengesNew:si({},z)}})},*getChallengesEdit({payload:m},{call:y,put:b}){const z=yield y(yn.q0,m);return yield b({type:"save",payload:{challengesEdit:si({},z)}}),z},*getAuditSituationData({payload:m},{call:y,put:b}){const z=yield y(yn.GI,m),oe=jo(z);yield b({type:"save",payload:{auditSituationData:oe}})},*getEditChallengesQuestion({payload:m},{call:y,put:b}){const z=yield y(yn.UQ,m);return yield b({type:"save",payload:{editChallengesQuestion:z}}),z},*getInfoWithJupyterLab({payload:m},{call:y,put:b}){const z=yield y(yn.mI,m);return yield b({type:"save",payload:{infoWithJupyterLab:z}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:si({},m)}})}},reducers:{save(m,y){return console.log("reducers:",m,y),si(si({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},nl=Object.defineProperty,ru=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,Ao=(m,y,b)=>y in m?nl(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Lo=(m,y)=>{for(var b in y||(y={}))ji.call(y,b)&&Ao(m,b,y[b]);if(ru)for(var b of ru(y))Au.call(y,b)&&Ao(m,b,y[b]);return m},Qu={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:m},{call:y,put:b}){const z=yield y(yn.he,m),oe=Lo({},m);return yield b({type:"save",payload:Lo({listParams:oe},z)}),z},*getMenus({payload:m},{call:y,put:b}){var z;const oe=yield y(yn.I_,m);(z=oe==null?void 0:oe.disciplines)==null||z.map(mr=>(mr.sub_repertoires=mr.sub_disciplines,mr)),yield b({type:"save",payload:{menus:[...(oe==null?void 0:oe.disciplines)||[]]}})},*clearListParams({payload:m},{call:y,put:b}){yield b({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(m,y){return Lo(Lo({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Du=Object.defineProperty,wi=Object.getOwnPropertySymbols,Oc=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable,xs=(m,y,b)=>y in m?Du(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Li=(m,y)=>{for(var b in y||(y={}))Oc.call(y,b)&&xs(m,b,y[b]);if(wi)for(var b of wi(y))al.call(y,b)&&xs(m,b,y[b]);return m},Ju={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:m},{call:y,put:b}){const z=yield y(yn.b8,m);return yield b({type:"save",payload:{newData:Li({},z)}}),z},*deleteAttachment({payload:m},{call:y,put:b}){return yield y(yn.OW,m)},*applyShixunMirror({payload:m},{call:y,put:b}){return yield y(yn.EH,m)},*submitShixuns({payload:m},{call:y,put:b}){return yield y(yn.eX,m)},*getShixunsJupyterLab({payload:m},{call:y,put:b}){const z=yield y(yn.Gu,m);return yield b({type:"save",payload:{newData:Li({},z)}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Li({},m)}})},*getEnvironmentData({payload:m},{call:y,put:b}){const z=yield y(yn.K,m);console.log(z,"response"),yield b({type:"save",payload:{environmentData:Li({},z.data)}})}},reducers:{save(m,y){return Li(Li({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){}}},mu=Object.defineProperty,La=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,Ol=Object.prototype.propertyIsEnumerable,bs=(m,y,b)=>y in m?mu(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Tu=(m,y)=>{for(var b in y||(y={}))Cl.call(y,b)&&bs(m,b,y[b]);if(La)for(var b of La(y))Ol.call(y,b)&&bs(m,b,y[b]);return m},Ic={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:m},{call:y,put:b}){const z=yield y(yn.e,m);yield b({type:"save",payload:{ShixunUseInfos:z}})},*getRankList({payload:m},{call:y,put:b}){const z=yield y(yn.Fg,m);yield b({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(z==null?void 0:z.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(z==null?void 0:z.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(z==null?void 0:z.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(z==null?void 0:z.quote_list)||[]]}}})},*getStatisticsBody({payload:m},{call:y,put:b}){const z=yield y(yn.Gz,m);yield b({type:"save",payload:{SBody:z}})},*getOnlineCount({payload:m},{call:y,put:b}){const z=yield y(yn.hS,m);yield b({type:"save",payload:{OnlineCount:z==null?void 0:z.data}})},*getStatisticsHeader({payload:m},{call:y,put:b}){const z=yield y(yn.Hl,m);yield b({type:"save",payload:{SHeader:z}})}},reducers:{save(m,y){return Tu(Tu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Pi=(m,y,b)=>new Promise((z,oe)=>{var mr=Xn=>{try{Nn(b.next(Xn))}catch(ca){oe(ca)}},dr=Xn=>{try{Nn(b.throw(Xn))}catch(ca){oe(ca)}},Nn=Xn=>Xn.done?z(Xn.value):Promise.resolve(Xn.value).then(mr,dr);Nn((b=b.apply(m,y)).next())});function ol(m){return Pi(this,null,function*(){return(0,ra.ZP)("/api/shixuns/new.json",{method:"Get",params:m})})}function $u(m){return Pi(this,null,function*(){return(0,ra.ZP)(`/api/shixuns/${m.id}/required_status.json`,{method:"Get",params:{}})})}var Ru=Object.defineProperty,il=Object.defineProperties,sl=Object.getOwnPropertyDescriptors,Ei=Object.getOwnPropertySymbols,ws=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,Dc=(m,y,b)=>y in m?Ru(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,as=(m,y)=>{for(var b in y||(y={}))ws.call(y,b)&&Dc(m,b,y[b]);if(Ei)for(var b of Ei(y))Ac.call(y,b)&&Dc(m,b,y[b]);return m},Tc=(m,y)=>il(m,sl(y)),Il={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:m},{call:y,put:b}){yield b({type:"save",payload:as({},m)})},*getTestData({payload:m},{call:y,put:b}){const z=yield y(ol,m);yield b({type:"save",payload:{data:z}})},*setUpdateIndex({payload:m},{call:y,put:b}){yield b({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:m},{call:y,put:b}){const z=yield y($u,m);yield b({type:"save",payload:as({},z.data)})},*setSideBarTabs({payload:m},{call:y,put:b}){yield b({type:"sideBar",payload:as({},m)})}},reducers:{save(m,y){return as(as({},m),y.payload)},sideBar(m,y){return Tc(as({},m),{sideBar:as(as({},m.sideBar),y.payload)})}},subscriptions:{setup({dispatch:m,history:y}){}}},Do=e(32352),ul=Object.defineProperty,Ls=Object.getOwnPropertySymbols,os=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable,Rc=(m,y,b)=>y in m?ul(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,nu=(m,y)=>{for(var b in y||(y={}))os.call(y,b)&&Rc(m,b,y[b]);if(Ls)for(var b of Ls(y))Uo.call(y,b)&&Rc(m,b,y[b]);return m},ll={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:m},{call:y,put:b}){const z=yield y(Do.JJ,m);return yield b({type:"save",payload:{homeworkBanksDetail:nu({},z)}}),z},*getSystemUpdate({payload:m},{call:y,put:b}){const z=yield y(Do.n0,m);return yield b({type:"save",payload:{systemUpdate:nu({},z)}}),z},*getHomepageInfo({payload:m},{call:y,put:b}){const z=yield y(Do.DA,m);return yield b({type:"save",payload:{homepageInfo:nu({},z)}}),z},*signed({payload:m},{call:y,put:b}){return yield y(Do.qN,m)},*getCourses({payload:m},{call:y,put:b}){return yield y(Do.Ho,m)},*getShixuns({payload:m},{call:y,put:b}){return yield y(Do.rV,m)},*getPaths({payload:m},{call:y,put:b}){return yield y(Do.w3,m)},*getProjects({payload:m},{call:y,put:b}){return yield y(Do.mW,m)},*getVideos({payload:m},{call:y,put:b}){return yield y(Do.WY,m)},*getReviewVideos({payload:m},{call:y,put:b}){return yield y(Do.Qx,m)},*deleteVideo({payload:m},{call:y,put:b}){return yield y(Do.FM,m)},*getQuestionBanks({payload:m},{call:y,put:b}){return yield y(Do.ai,m)},*topicsSetPublic({payload:m},{call:y,put:b}){return yield y(Do.Cx,m)},*topicsDelete({payload:m},{call:y,put:b}){return yield y(Do.WS,m)},*topicGetCourseList({payload:m},{call:y,put:b}){return yield y(Do.gI,m)},*topicSendToClass({payload:m},{call:y,put:b}){return m.object_type==="videos"?yield y(Do.Fn,m):yield y(Do.Ef,m)},*logWatchHistory({payload:m},{call:y,put:b}){const z=yield y(Do.lO,m);return z==null?void 0:z.log_id},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:nu({},m)}})}},reducers:{save(m,y){return nu(nu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},ec=Object.defineProperty,Ko=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,yu=(m,y,b)=>y in m?ec(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Wo=(m,y)=>{for(var b in y||(y={}))gu.call(y,b)&&yu(m,b,y[b]);if(Ko)for(var b of Ko(y))ae.call(y,b)&&yu(m,b,y[b]);return m},xu=(m,y)=>{var b={};for(var z in m)gu.call(m,z)&&y.indexOf(z)<0&&(b[z]=m[z]);if(m!=null&&Ko)for(var z of Ko(m))y.indexOf(z)<0&&ae.call(m,z)&&(b[z]=m[z]);return b},Gi={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showUpdateProfilePanel:!1,backurl:"",isCurrentPage:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:m},{call:y,put:b}){const z=m,{to:oe}=z,mr=xu(z,["to"]);if(!(yield y(Do.Es,mr)).status)try{oe?s.history.replace(oe):location.reload()}catch(Nn){}},*showPopLogin({payload:m},{put:y}){yield y({type:"save",payload:{showPopLogin:m.showPopLogin,showClosable:m.showClosable}})},*showUpdateProfilePanel({payload:m},{put:y}){yield y({type:"save",payload:{showUpdateProfilePanel:m.showUpdateProfilePanel,showClosable:m.showClosable,backurl:m.backurl,isCurrentPage:m.isCurrentPage}})},*setBindAccountModal({payload:m},{put:y}){yield y({type:"save",payload:{bindAccountModalVisible:m.bindAccountModalVisible,userInfoForBindAccountModal:m.userInfoForBindAccountModal,loginInfo:m.loginInfo}})},*getUserInfo({payload:m},{call:y,put:b}){const z=yield y(Do.bG,Wo({},m));return localStorage.userInfo=JSON.stringify(z),yield b({type:"save",payload:{userInfo:Wo({},z)}}),z},*getNavigationInfo({payload:m},{call:y,put:b}){const z=yield y(Do.x4,Wo({},m));yield b({type:"save",payload:{navigationInfo:Wo({},z)}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Wo({},m)}})}},reducers:{save(m,y){return Wo(Wo({},m),y.payload)}}},tc=e(38500),Mu=Object.defineProperty,au=Object.defineProperties,ou=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertySymbols,Mc=Object.prototype.hasOwnProperty,rc=Object.prototype.propertyIsEnumerable,ku=(m,y,b)=>y in m?Mu(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,ui=(m,y)=>{for(var b in y||(y={}))Mc.call(y,b)&&ku(m,b,y[b]);if(Vi)for(var b of Vi(y))rc.call(y,b)&&ku(m,b,y[b]);return m},is=(m,y)=>au(m,ou(y));const dl=()=>{var m,y,b,z,oe,mr,dr;let Nn=window.location.href.split("/");if(!Nn.includes("video"))return;let Xn=(m=Nn[Nn.length-1])==null?void 0:m.split("?")[0];Xn=Number(Xn);const ca=(b=(y=Nn[Nn.length-1])==null?void 0:y.split("?")[1])==null?void 0:b.split("=")[1];return((oe=(z=Nn[Nn.length-1])==null?void 0:z.split("?")[1])==null?void 0:oe.split("=")[0])==="subject_id"?{videoId:Xn,subject_id:ca}:((dr=(mr=Nn[Nn.length-1])==null?void 0:mr.split("?")[1])==null?void 0:dr.split("=")[0])==="new_video_id"?{videoId:Xn,new_video_id:ca}:{videoId:Xn,course_id:ca}};var nc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:dl(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:m,callback:y},{call:b,put:z}){const oe=yield b(Fe.O2,m);return y?y(oe):yield z({type:"save",payload:{detail:ui({},oe)}}),oe},*setVideoValue({payload:m},{call:y,put:b}){yield b({type:"save",payload:{detail:ui({},m)}})},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:ui({},m)}})},*setVideoTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{videoTabs:ui({},m)}})},*setSelectValue({payload:m},{call:y,put:b}){yield b({type:"save",payload:{selectParams:ui({},m)}})},*getStageData({payload:m},{call:y,put:b,select:z}){const oe=yield y(Fe.yN,m),mr=yield y(Dn.lk,{id:m.subject_id}),{queryParams:dr}=yield z(vo=>vo.videoDetail),{stages:Nn=[]}=oe,Xn=[];let ca=[],Yo={};const To=vo=>{vo.forEach(Ya=>{String(Ya.id)===String(dr.videoId)&&(Yo=Ya),Ya.item_type==="VideoItem"?Xn.push(Ya):Ya.item_type==="Attachment"&&ca.push(Ya),Ya.children&&Ya.children.length&&To(Ya.children)})};Nn==null||Nn.forEach(vo=>{To(vo.items)}),window.filterVideoSign=[...Xn],yield b({type:"save",payload:{stages:Nn,active:Yo,cust_seq:mr.cust_seq,videoList:Xn,attachmentList:ca}})},*getVideoData({payload:m},{call:y,put:b,select:z}){const oe=yield y(Fe.fn,m),{categories:mr=[],coruse_videos:dr=[]}=oe;yield b({type:"save",payload:{stages:(mr==null?void 0:mr.length)>0?mr:[{coruse_videos:dr,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:m},{call:y,put:b,select:z}){const oe=yield y(tc.R7,m),{queryParams:mr}=yield z(To=>To.videoDetail),{stages:dr}=oe;let Nn=[],Xn=[],ca={};const Yo=To=>{To.forEach(vo=>{String(vo.id)===String(mr.videoId)&&(ca=vo),vo.item_type==="VideoItem"?Nn.push(vo):vo.item_type==="Attachment"&&Xn.push(vo),vo.children&&vo.children.length&&Yo(vo.children)})};dr==null||dr.forEach(To=>{Yo(To.items)}),window.filterVideoSign=[...Nn],yield b({type:"save",payload:{active:ca,stages:dr,cust_seq:!0,videoList:Nn,attachmentList:Xn}})}},reducers:{save(m,y){return ui(ui({},m),y.payload)},handleListItemClick(m,y){const{videoList:b,attachmentList:z}=m,oe=y.payload.videoId||y.payload.attachmentId,mr=[...b,...z].find(dr=>`${dr.id}`==`${oe}`);return is(ui({},m),{active:mr,queryParams:ui(ui({},dl()),y.payload)})}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}},Xo=e(45474),pl=Object.defineProperty,bu=Object.getOwnPropertySymbols,ju=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable,kc=(m,y,b)=>y in m?pl(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Lu=(m,y)=>{for(var b in y||(y={}))ju.call(y,b)&&kc(m,b,y[b]);if(bu)for(var b of bu(y))ac.call(y,b)&&kc(m,b,y[b]);return m},Lc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:m},{call:y,put:b}){const z=yield y(Xo.y2,m);return yield b({type:"save",payload:{Workplace:{BaseData:z.data}}}),z},*putEditDiscussion({payload:m},{call:y,put:b}){return yield y(Xo.CH,m)},*getDiscussionDetail({payload:m},{call:y,put:b}){const z=yield y(Xo.XQ,m);return yield b({type:"save",payload:{DiscussionDetail:z}}),z},*postDiscussionList({payload:m},{call:y,put:b}){return yield y(Xo.Ll,m)},*getDiscussionList({payload:m},{call:y,put:b}){const z=yield y(Xo.EA,m);return yield b({type:"save",payload:{DiscussionList:z}}),z},*postAddLessonRes({payload:m},{call:y,put:b}){return yield y(Xo.cZ,m)},*getLessonResourcesList({payload:m},{call:y,put:b}){const z=yield y(Xo.b,m);return yield b({type:"save",payload:{LessonResList:z}}),z},*putGoodLessonsDetail({payload:m},{call:y,put:b}){return yield y(Xo.To,m)},*getGoodLessonsDetail({payload:m},{call:y,put:b}){const z=yield y(Xo.FU,m);return yield b({type:"save",payload:{LessonDetail:z}}),z},*postGoodLessonsList({payload:m},{call:y,put:b}){return yield y(Xo.Vf,m)},*getGoodLessonsList({payload:m},{call:y,put:b}){const z=yield y(Xo.G_,m);return yield b({type:"save",payload:{LessonsList:z}}),z},*setActionTabs({payload:m},{call:y,put:b}){yield b({type:"save",payload:{actionTabs:Lu({},m)}})},*setShowMenu({payload:m},{call:y,put:b}){yield b({type:"save",payload:{showMenu:m}})},*getVirtualSpacesDetails({payload:m},{call:y,put:b}){const z=yield y(Xo.sT,m);yield b({type:"save",payload:{virtualSpacesDetails:Lu({},z)}})},*setVirtualSpacesLoading({payload:m},{call:y,put:b}){yield b({type:"save",payload:{loading:m}})},*getVirtualSpacesMenus({payload:m},{call:y,put:b}){const z=yield y(Xo.Sl,m);return yield b({type:"save",payload:{menus:z}}),z}},reducers:{save(m,y){return Lu(Lu({},m),y.payload)}},subscriptions:{setup({dispatch:m,history:y}){return y.listen(({pathname:b})=>{b==="/"&&m({type:"query"})})}}};const Fs={model_1:{namespace:"account.index",model:P},model_2:{namespace:"classrooms.announcement",model:M},model_3:{namespace:"classrooms.attachment",model:Q},model_4:{namespace:"classrooms.boards",model:se},model_5:{namespace:"classrooms.exercise",model:Re},model_6:{namespace:"classrooms.graduation",model:ft},model_7:{namespace:"classrooms.homeworks",model:lt},model_8:{namespace:"classrooms.index",model:At},model_9:{namespace:"classrooms.new",model:dt},model_10:{namespace:"classrooms.overview",model:Nt},model_11:{namespace:"classrooms.polls",model:rt},model_12:{namespace:"classrooms.teacher",model:on},model_13:{namespace:"classrooms.video",model:ja},model_14:{namespace:"competitions.index",model:ya},model_15:{namespace:"engineering.evaluateDetail",model:Xe},model_16:{namespace:"engineering.evaluateList",model:En.Z},model_17:{namespace:"engineering.index",model:ea},model_18:{namespace:"engineering.navigation",model:xr},model_19:{namespace:"engineering.normDetail",model:jn},model_20:{namespace:"engineering.normList",model:Bo},model_21:{namespace:"forums.detail",model:Oi},model_22:{namespace:"forums.index",model:fs},model_23:{namespace:"globalSetting",model:Hi},model_24:{namespace:"graduations.index",model:ut},model_25:{namespace:"homePage",model:Gt},model_26:{namespace:"innovation.index",model:Vn},model_27:{namespace:"intraincourse.index",model:ln},model_28:{namespace:"loading",model:Rn},model_29:{namespace:"messages.index",model:Zo},model_30:{namespace:"paperlibrary.index",model:fr},model_31:{namespace:"paperlibrary.newPaper",model:$r},model_32:{namespace:"paths.detail",model:wl},model_33:{namespace:"paths.index",model:fi},model_34:{namespace:"paths.new",model:gc},model_35:{namespace:"paths.overview",model:Ti},model_36:{namespace:"problemset.index",model:Sl},model_37:{namespace:"problemset.preview",model:ys},model_38:{namespace:"resetFul.index",model:Iu},model_39:{namespace:"shixuns.detail",model:tu},model_40:{namespace:"shixuns.index",model:Qu},model_41:{namespace:"shixuns.new",model:Ju},model_42:{namespace:"shixuns.overview",model:Ic},model_43:{namespace:"shixuns.practiceSetting",model:Il},model_44:{namespace:"user.detail",model:ll},model_45:{namespace:"user.index",model:Gi},model_46:{namespace:"video.detail",model:nc},model_47:{namespace:"virtualSpaces.index",model:Lc}};var Al=Object.defineProperty,oc=Object.getOwnPropertySymbols,ss=Object.prototype.hasOwnProperty,ic=Object.prototype.propertyIsEnumerable,Fu=(m,y,b)=>y in m?Al(m,y,{enumerable:!0,configurable:!0,writable:!0,value:b}):m[y]=b,Fc=(m,y)=>{for(var b in y||(y={}))ss.call(y,b)&&Fu(m,b,y[b]);if(oc)for(var b of oc(y))ic.call(y,b)&&Fu(m,b,y[b]);return m};let Nu;function vl(m){const{pluginManager:y}=(0,s.useAppData)(),b=(0,a.useRef)(),z=y.applyPlugins({key:"dva",type:s.ApplyPluginsType.modify,initialValue:{}});if(!b.current){b.current=(0,t.Ue)(Fc({history:s.history},z.config||{}),{initialReducer:{},setupMiddlewares(oe){return[...oe]},setupApp(oe){oe._history=s.history}}),Nu=b.current,b.current.use(n()()),(z.plugins||[]).forEach(oe=>{b.current.use(oe)});for(const oe of Object.keys(Fs))b.current.model(Fc({namespace:Fs[oe].namespace},Fs[oe].model));b.current.start()}return a.createElement(t.zt,{store:b.current._store},m.children)}function Dl(){return Nu}},97683:function(i,d,e){"use strict";e.d(d,{PZ:function(){return Za},eU:function(){return f},B:function(){return Ja},Mg:function(){return yo},lw:function(){return Pe},Kd:function(){return aa},H8:function(){return ya}});var t=e(59301),r=e(94266),n=e.n(r);const a=n()||r;function s(xe){return xe.displayName||xe.name||"Component"}const u=t.createContext(null),{Consumer:c,Provider:o}=u,f=o,_=null;function p(xe,Xe){const{intlPropName:q="intl",forwardRef:It=!1,enforceContext:Jt=!0}=Xe||{},Pr=Rr=>React.createElement(c,null,Sr=>(Jt&&invariantIntlContext(Sr),React.createElement(xe,Object.assign({},Rr,{[q]:Sr},{ref:It?Rr.forwardedRef:null}))));return Pr.displayName=`injectIntl(${s(xe)})`,Pr.WrappedComponent=xe,a(It?React.forwardRef((Rr,Sr)=>React.createElement(Pr,Object.assign({},Rr,{forwardedRef:Sr}))):Pr,xe)}var x;(function(xe){xe[xe.literal=0]="literal",xe[xe.argument=1]="argument",xe[xe.number=2]="number",xe[xe.date=3]="date",xe[xe.time=4]="time",xe[xe.select=5]="select",xe[xe.plural=6]="plural",xe[xe.pound=7]="pound"})(x||(x={}));function g(xe){return xe.type===x.literal}function P(xe){return xe.type===x.argument}function O(xe){return xe.type===x.number}function S(xe){return xe.type===x.date}function I(xe){return xe.type===x.time}function E(xe){return xe.type===x.select}function A(xe){return xe.type===x.plural}function R(xe){return xe.type===x.pound}function T(xe){return!!(xe&&typeof xe=="object"&&xe.type===0)}function D(xe){return!!(xe&&typeof xe=="object"&&xe.type===1)}function M(xe){return{type:x.literal,value:xe}}function B(xe,Xe){return{type:x.number,value:xe,style:Xe}}var j=function(){var xe=function(Xe,q){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,Jt){It.__proto__=Jt}||function(It,Jt){for(var Pr in Jt)Jt.hasOwnProperty(Pr)&&(It[Pr]=Jt[Pr])},xe(Xe,q)};return function(Xe,q){xe(Xe,q);function It(){this.constructor=Xe}Xe.prototype=q===null?Object.create(q):(It.prototype=q.prototype,new It)}}(),V=function(){return V=Object.assign||function(xe){for(var Xe,q=1,It=arguments.length;q0){for(nt=1,be=1;ntYn&&(Yn=Ae,Un=[]),Un.push(_e))}function wo(_e,$){return new H(_e,[],"",$)}function ko(_e,$,Ft){return new H(H.buildMessage(_e,$),_e,$,Ft)}function ve(){var _e;return _e=he(),_e}function he(){var _e,$;for(_e=[],$=We();$!==q;)_e.push($),$=We();return _e}function We(){var _e;return _e=Rt(),_e===q&&(_e=tr(),_e===q&&(_e=Ln(),_e===q&&(_e=An(),_e===q&&(_e=Ia(),_e===q&&(_e=Wt()))))),_e}function tt(){var _e,$,Ft;if(_e=Ae,$=[],Ft=po(),Ft===q&&(Ft=Go(),Ft===q&&(Ft=io())),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=po(),Ft===q&&(Ft=Go(),Ft===q&&(Ft=io()));else $=q;return $!==q&&(rn=_e,$=Pr($)),_e=$,_e}function Rt(){var _e,$;return _e=Ae,$=tt(),$!==q&&(rn=_e,$=Rr($)),_e=$,_e}function Wt(){var _e,$;return _e=Ae,xe.charCodeAt(Ae)===35?($=Sr,Ae++):($=q,rr===0&&Vr(Gr)),$!==q&&(rn=_e,$=ea()),_e=$,_e}function tr(){var _e,$,Ft,fr,kt,lr;return rr++,_e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q?(Ft=Hn(),Ft!==q?(fr=Vo(),fr!==q?(kt=Hn(),kt!==q?(xe.charCodeAt(Ae)===125?(lr=be,Ae++):(lr=q,rr===0&&Vr(ue)),lr!==q?(rn=_e,$=Ye(fr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),rr--,_e===q&&($=q,rr===0&&Vr(kr)),_e}function Ar(){var _e,$,Ft,fr,kt;if(rr++,_e=Ae,$=[],Ft=Ae,fr=Ae,rr++,kt=ua(),kt===q&&(yt.test(xe.charAt(Ae))?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(xt))),rr--,kt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(Zt)),kt!==q?(fr=[fr,kt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=Ae,fr=Ae,rr++,kt=ua(),kt===q&&(yt.test(xe.charAt(Ae))?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(xt))),rr--,kt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(Zt)),kt!==q?(fr=[fr,kt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q);else $=q;return $!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(ke)),_e}function _r(){var _e,$,Ft;return rr++,_e=Ae,xe.charCodeAt(Ae)===47?($=xr,Ae++):($=q,rr===0&&Vr(or)),$!==q?(Ft=Ar(),Ft!==q?(rn=_e,$=wr(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),rr--,_e===q&&($=q,rr===0&&Vr(hr)),_e}function Dr(){var _e,$,Ft,fr,kt;if(rr++,_e=Ae,$=Hn(),$!==q)if(Ft=Ar(),Ft!==q){for(fr=[],kt=_r();kt!==q;)fr.push(kt),kt=_r();fr!==q?(rn=_e,$=zn(Ft,fr),_e=$):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;return rr--,_e===q&&($=q,rr===0&&Vr(an)),_e}function ln(){var _e,$,Ft;if(_e=Ae,$=[],Ft=Dr(),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=Dr();else $=q;return $!==q&&(rn=_e,$=un($)),_e=$,_e}function hn(){var _e,$,Ft;return _e=Ae,xe.substr(Ae,2)===tn?($=tn,Ae+=2):($=q,rr===0&&Vr(vr)),$!==q?(Ft=ln(),Ft!==q?(rn=_e,$=mn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e===q&&(_e=Ae,rn=Ae,$=Wr(),$?$=void 0:$=q,$!==q?(Ft=tt(),Ft!==q?(rn=_e,$=Sn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)),_e}function Rn(){var _e,$,Ft,fr,kt,lr,Br,fn,Wn,zr,Jr,$r,Dn;return _e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q?(Ft=Hn(),Ft!==q?(fr=Vo(),fr!==q?(kt=Hn(),kt!==q?(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q?(Br=Hn(),Br!==q?(xe.substr(Ae,6)===Ea?(fn=Ea,Ae+=6):(fn=q,rr===0&&Vr(Pn)),fn!==q?(Wn=Hn(),Wn!==q?(zr=Ae,xe.charCodeAt(Ae)===44?(Jr=jn,Ae++):(Jr=q,rr===0&&Vr(wn)),Jr!==q?($r=Hn(),$r!==q?(Dn=hn(),Dn!==q?(Jr=[Jr,$r,Dn],zr=Jr):(Ae=zr,zr=q)):(Ae=zr,zr=q)):(Ae=zr,zr=q),zr===q&&(zr=null),zr!==q?(Jr=Hn(),Jr!==q?(xe.charCodeAt(Ae)===125?($r=be,Ae++):($r=q,rr===0&&Vr(ue)),$r!==q?(rn=_e,$=la(fr,fn,zr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function In(){var _e,$,Ft,fr;if(_e=Ae,xe.charCodeAt(Ae)===39?($=dn,Ae++):($=q,rr===0&&Vr(Fn)),$!==q){if(Ft=[],fr=po(),fr===q&&(xa.test(xe.charAt(Ae))?(fr=xe.charAt(Ae),Ae++):(fr=q,rr===0&&Vr(Ra))),fr!==q)for(;fr!==q;)Ft.push(fr),fr=po(),fr===q&&(xa.test(xe.charAt(Ae))?(fr=xe.charAt(Ae),Ae++):(fr=q,rr===0&&Vr(Ra)));else Ft=q;Ft!==q?(xe.charCodeAt(Ae)===39?(fr=dn,Ae++):(fr=q,rr===0&&Vr(Fn)),fr!==q?($=[$,Ft,fr],_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;if(_e===q)if(_e=[],$=po(),$===q&&(oa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(ia))),$!==q)for(;$!==q;)_e.push($),$=po(),$===q&&(oa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(ia)));else _e=q;return _e}function da(){var _e,$;if(_e=[],sa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(fo)),$!==q)for(;$!==q;)_e.push($),sa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(fo));else _e=q;return _e}function Kn(){var _e,$,Ft,fr;if(_e=Ae,$=Ae,Ft=[],fr=In(),fr===q&&(fr=da()),fr!==q)for(;fr!==q;)Ft.push(fr),fr=In(),fr===q&&(fr=da());else Ft=q;return Ft!==q?$=xe.substring($,Ae):$=Ft,$!==q&&(rn=_e,$=Bo($)),_e=$,_e}function kn(){var _e,$,Ft;return _e=Ae,xe.substr(Ae,2)===tn?($=tn,Ae+=2):($=q,rr===0&&Vr(vr)),$!==q?(Ft=Kn(),Ft!==q?(rn=_e,$=mn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e===q&&(_e=Ae,rn=Ae,$=Jo(),$?$=void 0:$=q,$!==q?(Ft=tt(),Ft!==q?(rn=_e,$=Sn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)),_e}function Oa(){var _e,$,Ft,fr,kt,lr,Br,fn,Wn,zr,Jr,$r,Dn;return _e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q?(Ft=Hn(),Ft!==q?(fr=Vo(),fr!==q?(kt=Hn(),kt!==q?(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q?(Br=Hn(),Br!==q?(xe.substr(Ae,4)===Si?(fn=Si,Ae+=4):(fn=q,rr===0&&Vr(Bi)),fn===q&&(xe.substr(Ae,4)===cs?(fn=cs,Ae+=4):(fn=q,rr===0&&Vr(ls))),fn!==q?(Wn=Hn(),Wn!==q?(zr=Ae,xe.charCodeAt(Ae)===44?(Jr=jn,Ae++):(Jr=q,rr===0&&Vr(wn)),Jr!==q?($r=Hn(),$r!==q?(Dn=kn(),Dn!==q?(Jr=[Jr,$r,Dn],zr=Jr):(Ae=zr,zr=q)):(Ae=zr,zr=q)):(Ae=zr,zr=q),zr===q&&(zr=null),zr!==q?(Jr=Hn(),Jr!==q?(xe.charCodeAt(Ae)===125?($r=be,Ae++):($r=q,rr===0&&Vr(ue)),$r!==q?(rn=_e,$=la(fr,fn,zr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function Ln(){var _e;return _e=Rn(),_e===q&&(_e=Oa()),_e}function An(){var _e,$,Ft,fr,kt,lr,Br,fn,Wn,zr,Jr,$r,Dn,ro,ii,ti;if(_e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q)if(Ft=Hn(),Ft!==q)if(fr=Vo(),fr!==q)if(kt=Hn(),kt!==q)if(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q)if(Br=Hn(),Br!==q)if(xe.substr(Ae,6)===Ci?(fn=Ci,Ae+=6):(fn=q,rr===0&&Vr(xo)),fn===q&&(xe.substr(Ae,13)===zo?(fn=zo,Ae+=13):(fn=q,rr===0&&Vr(Oi))),fn!==q)if(Wn=Hn(),Wn!==q)if(xe.charCodeAt(Ae)===44?(zr=jn,Ae++):(zr=q,rr===0&&Vr(wn)),zr!==q)if(Jr=Hn(),Jr!==q)if($r=Ae,xe.substr(Ae,7)===yi?(Dn=yi,Ae+=7):(Dn=q,rr===0&&Vr(Yi)),Dn!==q?(ro=Hn(),ro!==q?(ii=Ba(),ii!==q?(Dn=[Dn,ro,ii],$r=Dn):(Ae=$r,$r=q)):(Ae=$r,$r=q)):(Ae=$r,$r=q),$r===q&&($r=null),$r!==q)if(Dn=Hn(),Dn!==q){if(ro=[],ii=$a(),ii!==q)for(;ii!==q;)ro.push(ii),ii=$a();else ro=q;ro!==q?(ii=Hn(),ii!==q?(xe.charCodeAt(Ae)===125?(ti=be,Ae++):(ti=q,rr===0&&Vr(ue)),ti!==q?(rn=_e,$=Os(fr,fn,$r,ro),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;return _e}function Ia(){var _e,$,Ft,fr,kt,lr,Br,fn,Wn,zr,Jr,$r,Dn,ro;if(_e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q)if(Ft=Hn(),Ft!==q)if(fr=Vo(),fr!==q)if(kt=Hn(),kt!==q)if(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q)if(Br=Hn(),Br!==q)if(xe.substr(Ae,6)===$o?(fn=$o,Ae+=6):(fn=q,rr===0&&Vr(ds)),fn!==q)if(Wn=Hn(),Wn!==q)if(xe.charCodeAt(Ae)===44?(zr=jn,Ae++):(zr=q,rr===0&&Vr(wn)),zr!==q)if(Jr=Hn(),Jr!==q){if($r=[],Dn=pa(),Dn!==q)for(;Dn!==q;)$r.push(Dn),Dn=pa();else $r=q;$r!==q?(Dn=Hn(),Dn!==q?(xe.charCodeAt(Ae)===125?(ro=be,Ae++):(ro=q,rr===0&&Vr(ue)),ro!==q?(rn=_e,$=zi(fr,$r),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;return _e}function Zo(){var _e,$,Ft,fr;return _e=Ae,$=Ae,xe.charCodeAt(Ae)===61?(Ft=Is,Ae++):(Ft=q,rr===0&&Vr(fs)),Ft!==q?(fr=Ba(),fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)):(Ae=$,$=q),$!==q?_e=xe.substring(_e,Ae):_e=$,_e===q&&(_e=So()),_e}function pa(){var _e,$,Ft,fr,kt,lr,Br,fn;return _e=Ae,$=Hn(),$!==q?(Ft=So(),Ft!==q?(fr=Hn(),fr!==q?(xe.charCodeAt(Ae)===123?(kt=sn,Ae++):(kt=q,rr===0&&Vr(nt)),kt!==q?(rn=Ae,lr=Zi(Ft),lr?lr=void 0:lr=q,lr!==q?(Br=he(),Br!==q?(xe.charCodeAt(Ae)===125?(fn=be,Ae++):(fn=q,rr===0&&Vr(ue)),fn!==q?(rn=_e,$=Vs(Ft,Br),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function $a(){var _e,$,Ft,fr,kt,lr,Br,fn;return _e=Ae,$=Hn(),$!==q?(Ft=Zo(),Ft!==q?(fr=Hn(),fr!==q?(xe.charCodeAt(Ae)===123?(kt=sn,Ae++):(kt=q,rr===0&&Vr(nt)),kt!==q?(rn=Ae,lr=qo(Ft),lr?lr=void 0:lr=q,lr!==q?(Br=he(),Br!==q?(xe.charCodeAt(Ae)===125?(fn=be,Ae++):(fn=q,rr===0&&Vr(ue)),fn!==q?(rn=_e,$=ps(Ft,Br),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function ua(){var _e,$;return rr++,Ji.test(xe.charAt(Ae))?(_e=xe.charAt(Ae),Ae++):(_e=q,rr===0&&Vr(vs)),rr--,_e===q&&($=q,rr===0&&Vr(Qi)),_e}function ao(){var _e,$;return rr++,qi.test(xe.charAt(Ae))?(_e=xe.charAt(Ae),Ae++):(_e=q,rr===0&&Vr(hs)),rr--,_e===q&&($=q,rr===0&&Vr($i)),_e}function Hn(){var _e,$,Ft;for(rr++,_e=Ae,$=[],Ft=ua();Ft!==q;)$.push(Ft),Ft=ua();return $!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Hi)),_e}function Ba(){var _e,$,Ft;return rr++,_e=Ae,xe.charCodeAt(Ae)===45?($=Eo,Ae++):($=q,rr===0&&Vr(Xs)),$===q&&($=null),$!==q?(Ft=Ho(),Ft!==q?(rn=_e,$=es($,Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),rr--,_e===q&&($=q,rr===0&&Vr(Ks)),_e}function oo(){var _e,$;return rr++,xe.charCodeAt(Ae)===39?(_e=dn,Ae++):(_e=q,rr===0&&Vr(Fn)),rr--,_e===q&&($=q,rr===0&&Vr(Di)),_e}function po(){var _e,$;return rr++,_e=Ae,xe.substr(Ae,2)===Ro?($=Ro,Ae+=2):($=q,rr===0&&Vr(Ai)),$!==q&&(rn=_e,$=Cu()),_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Ii)),_e}function Go(){var _e,$,Ft,fr,kt,lr;if(_e=Ae,xe.charCodeAt(Ae)===39?($=dn,Ae++):($=q,rr===0&&Vr(Fn)),$!==q)if(Ft=go(),Ft!==q){for(fr=Ae,kt=[],xe.substr(Ae,2)===Ro?(lr=Ro,Ae+=2):(lr=q,rr===0&&Vr(Ai)),lr===q&&(xa.test(xe.charAt(Ae))?(lr=xe.charAt(Ae),Ae++):(lr=q,rr===0&&Vr(Ra)));lr!==q;)kt.push(lr),xe.substr(Ae,2)===Ro?(lr=Ro,Ae+=2):(lr=q,rr===0&&Vr(Ai)),lr===q&&(xa.test(xe.charAt(Ae))?(lr=xe.charAt(Ae),Ae++):(lr=q,rr===0&&Vr(Ra)));kt!==q?fr=xe.substring(fr,Ae):fr=kt,fr!==q?(xe.charCodeAt(Ae)===39?(kt=dn,Ae++):(kt=q,rr===0&&Vr(Fn)),kt===q&&(kt=null),kt!==q?(rn=_e,$=ut(Ft,fr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;return _e}function io(){var _e,$,Ft,fr;return _e=Ae,$=Ae,xe.length>Ae?(Ft=xe.charAt(Ae),Ae++):(Ft=q,rr===0&&Vr(Zt)),Ft!==q?(rn=Ae,fr=Et(Ft),fr?fr=void 0:fr=q,fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)):(Ae=$,$=q),$===q&&(xe.charCodeAt(Ae)===10?($=gt,Ae++):($=q,rr===0&&Vr(Ot))),$!==q?_e=xe.substring(_e,Ae):_e=$,_e}function go(){var _e,$,Ft,fr;return _e=Ae,$=Ae,xe.length>Ae?(Ft=xe.charAt(Ae),Ae++):(Ft=q,rr===0&&Vr(Zt)),Ft!==q?(rn=Ae,fr=jt(Ft),fr?fr=void 0:fr=q,fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)):(Ae=$,$=q),$!==q?_e=xe.substring(_e,Ae):_e=$,_e}function Vo(){var _e,$;return rr++,_e=Ae,$=Ho(),$===q&&($=So()),$!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Or)),_e}function Ho(){var _e,$,Ft,fr,kt;if(rr++,_e=Ae,xe.charCodeAt(Ae)===48?($=Yr,Ae++):($=q,rr===0&&Vr(Xr)),$!==q&&(rn=_e,$=vn()),_e=$,_e===q){if(_e=Ae,$=Ae,xn.test(xe.charAt(Ae))?(Ft=xe.charAt(Ae),Ae++):(Ft=q,rr===0&&Vr(Pt)),Ft!==q){for(fr=[],Gt.test(xe.charAt(Ae))?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(Vt));kt!==q;)fr.push(kt),Gt.test(xe.charAt(Ae))?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(Vt));fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)}else Ae=$,$=q;$!==q&&(rn=_e,$=Tr($)),_e=$}return rr--,_e===q&&($=q,rr===0&&Vr(Kr)),_e}function So(){var _e,$,Ft,fr,kt;if(rr++,_e=Ae,$=[],Ft=Ae,fr=Ae,rr++,kt=ua(),kt===q&&(kt=ao()),rr--,kt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(Zt)),kt!==q?(fr=[fr,kt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=Ae,fr=Ae,rr++,kt=ua(),kt===q&&(kt=ao()),rr--,kt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(kt=xe.charAt(Ae),Ae++):(kt=q,rr===0&&Vr(Zt)),kt!==q?(fr=[fr,kt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q);else $=q;return $!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Hr)),_e}var Aa=["root"];function qa(){return Aa.length>1}function Io(){return Aa[Aa.length-1]==="plural"}function Da(){return Xe&&Xe.captureLocation?{location:ra()}:{}}if(ga=Jt(),ga!==q&&Ae===xe.length)return ga;throw ga!==q&&Ae1)throw new RangeError("Fraction-precision stems only accept a single optional option");Jt.stem.replace(de,function(Rr,Sr,Gr){return Rr==="."?Xe.maximumFractionDigits=0:Gr==="+"?Xe.minimumFractionDigits=Gr.length:Sr[0]==="#"?Xe.maximumFractionDigits=Sr.length:(Xe.minimumFractionDigits=Sr.length,Xe.maximumFractionDigits=Sr.length+(typeof Gr=="string"?Gr.length:0)),""}),Jt.options.length&&(Xe=ee(ee({},Xe),ze(Jt.options[0])));continue}if(He.test(Jt.stem)){Xe=ee(ee({},Xe),ze(Jt.stem));continue}var Pr=st(Jt.stem);Pr&&(Xe=ee(ee({},Xe),Pr))}return Xe}var Ke=function(){var xe=function(Xe,q){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,Jt){It.__proto__=Jt}||function(It,Jt){for(var Pr in Jt)Jt.hasOwnProperty(Pr)&&(It[Pr]=Jt[Pr])},xe(Xe,q)};return function(Xe,q){xe(Xe,q);function It(){this.constructor=Xe}Xe.prototype=q===null?Object.create(q):(It.prototype=q.prototype,new It)}}(),Re=function(){for(var xe=0,Xe=0,q=arguments.length;XeYn&&(Yn=Ae,Un=[]),Un.push(_e))}function wo(_e,$){return new H(_e,[],"",$)}function Mo(_e,$,Ft){return new H(H.buildMessage(_e,$),_e,$,Ft)}function ve(){var _e;return _e=he(),_e}function he(){var _e,$;for(_e=[],$=We();$!==q;)_e.push($),$=We();return _e}function We(){var _e;return _e=Rt(),_e===q&&(_e=tr(),_e===q&&(_e=Ln(),_e===q&&(_e=An(),_e===q&&(_e=Ia(),_e===q&&(_e=Wt()))))),_e}function tt(){var _e,$,Ft;if(_e=Ae,$=[],Ft=po(),Ft===q&&(Ft=Go(),Ft===q&&(Ft=io())),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=po(),Ft===q&&(Ft=Go(),Ft===q&&(Ft=io()));else $=q;return $!==q&&(rn=_e,$=Pr($)),_e=$,_e}function Rt(){var _e,$;return _e=Ae,$=tt(),$!==q&&(rn=_e,$=Rr($)),_e=$,_e}function Wt(){var _e,$;return _e=Ae,xe.charCodeAt(Ae)===35?($=Sr,Ae++):($=q,rr===0&&Vr(Gr)),$!==q&&(rn=_e,$=ea()),_e=$,_e}function tr(){var _e,$,Ft,fr,Mt,lr;return rr++,_e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q?(Ft=Hn(),Ft!==q?(fr=Vo(),fr!==q?(Mt=Hn(),Mt!==q?(xe.charCodeAt(Ae)===125?(lr=be,Ae++):(lr=q,rr===0&&Vr(ue)),lr!==q?(rn=_e,$=Ye(fr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),rr--,_e===q&&($=q,rr===0&&Vr(Mr)),_e}function Ar(){var _e,$,Ft,fr,Mt;if(rr++,_e=Ae,$=[],Ft=Ae,fr=Ae,rr++,Mt=ua(),Mt===q&&(yt.test(xe.charAt(Ae))?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(xt))),rr--,Mt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(Zt)),Mt!==q?(fr=[fr,Mt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=Ae,fr=Ae,rr++,Mt=ua(),Mt===q&&(yt.test(xe.charAt(Ae))?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(xt))),rr--,Mt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(Zt)),Mt!==q?(fr=[fr,Mt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q);else $=q;return $!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Me)),_e}function _r(){var _e,$,Ft;return rr++,_e=Ae,xe.charCodeAt(Ae)===47?($=xr,Ae++):($=q,rr===0&&Vr(or)),$!==q?(Ft=Ar(),Ft!==q?(rn=_e,$=wr(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),rr--,_e===q&&($=q,rr===0&&Vr(hr)),_e}function Dr(){var _e,$,Ft,fr,Mt;if(rr++,_e=Ae,$=Hn(),$!==q)if(Ft=Ar(),Ft!==q){for(fr=[],Mt=_r();Mt!==q;)fr.push(Mt),Mt=_r();fr!==q?(rn=_e,$=zn(Ft,fr),_e=$):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;return rr--,_e===q&&($=q,rr===0&&Vr(an)),_e}function ln(){var _e,$,Ft;if(_e=Ae,$=[],Ft=Dr(),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=Dr();else $=q;return $!==q&&(rn=_e,$=un($)),_e=$,_e}function hn(){var _e,$,Ft;return _e=Ae,xe.substr(Ae,2)===tn?($=tn,Ae+=2):($=q,rr===0&&Vr(vr)),$!==q?(Ft=ln(),Ft!==q?(rn=_e,$=mn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e===q&&(_e=Ae,rn=Ae,$=Wr(),$?$=void 0:$=q,$!==q?(Ft=tt(),Ft!==q?(rn=_e,$=Sn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)),_e}function Rn(){var _e,$,Ft,fr,Mt,lr,Br,fn,Wn,zr,Jr,$r,Dn;return _e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q?(Ft=Hn(),Ft!==q?(fr=Vo(),fr!==q?(Mt=Hn(),Mt!==q?(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q?(Br=Hn(),Br!==q?(xe.substr(Ae,6)===Ea?(fn=Ea,Ae+=6):(fn=q,rr===0&&Vr(Pn)),fn!==q?(Wn=Hn(),Wn!==q?(zr=Ae,xe.charCodeAt(Ae)===44?(Jr=jn,Ae++):(Jr=q,rr===0&&Vr(wn)),Jr!==q?($r=Hn(),$r!==q?(Dn=hn(),Dn!==q?(Jr=[Jr,$r,Dn],zr=Jr):(Ae=zr,zr=q)):(Ae=zr,zr=q)):(Ae=zr,zr=q),zr===q&&(zr=null),zr!==q?(Jr=Hn(),Jr!==q?(xe.charCodeAt(Ae)===125?($r=be,Ae++):($r=q,rr===0&&Vr(ue)),$r!==q?(rn=_e,$=la(fr,fn,zr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function In(){var _e,$,Ft,fr;if(_e=Ae,xe.charCodeAt(Ae)===39?($=dn,Ae++):($=q,rr===0&&Vr(Fn)),$!==q){if(Ft=[],fr=po(),fr===q&&(xa.test(xe.charAt(Ae))?(fr=xe.charAt(Ae),Ae++):(fr=q,rr===0&&Vr(Ra))),fr!==q)for(;fr!==q;)Ft.push(fr),fr=po(),fr===q&&(xa.test(xe.charAt(Ae))?(fr=xe.charAt(Ae),Ae++):(fr=q,rr===0&&Vr(Ra)));else Ft=q;Ft!==q?(xe.charCodeAt(Ae)===39?(fr=dn,Ae++):(fr=q,rr===0&&Vr(Fn)),fr!==q?($=[$,Ft,fr],_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;if(_e===q)if(_e=[],$=po(),$===q&&(oa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(ia))),$!==q)for(;$!==q;)_e.push($),$=po(),$===q&&(oa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(ia)));else _e=q;return _e}function da(){var _e,$;if(_e=[],sa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(fo)),$!==q)for(;$!==q;)_e.push($),sa.test(xe.charAt(Ae))?($=xe.charAt(Ae),Ae++):($=q,rr===0&&Vr(fo));else _e=q;return _e}function Kn(){var _e,$,Ft,fr;if(_e=Ae,$=Ae,Ft=[],fr=In(),fr===q&&(fr=da()),fr!==q)for(;fr!==q;)Ft.push(fr),fr=In(),fr===q&&(fr=da());else Ft=q;return Ft!==q?$=xe.substring($,Ae):$=Ft,$!==q&&(rn=_e,$=Bo($)),_e=$,_e}function Mn(){var _e,$,Ft;return _e=Ae,xe.substr(Ae,2)===tn?($=tn,Ae+=2):($=q,rr===0&&Vr(vr)),$!==q?(Ft=Kn(),Ft!==q?(rn=_e,$=mn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e===q&&(_e=Ae,rn=Ae,$=Jo(),$?$=void 0:$=q,$!==q?(Ft=tt(),Ft!==q?(rn=_e,$=Sn(Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)),_e}function Oa(){var _e,$,Ft,fr,Mt,lr,Br,fn,Wn,zr,Jr,$r,Dn;return _e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q?(Ft=Hn(),Ft!==q?(fr=Vo(),fr!==q?(Mt=Hn(),Mt!==q?(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q?(Br=Hn(),Br!==q?(xe.substr(Ae,4)===Si?(fn=Si,Ae+=4):(fn=q,rr===0&&Vr(Bi)),fn===q&&(xe.substr(Ae,4)===cs?(fn=cs,Ae+=4):(fn=q,rr===0&&Vr(ls))),fn!==q?(Wn=Hn(),Wn!==q?(zr=Ae,xe.charCodeAt(Ae)===44?(Jr=jn,Ae++):(Jr=q,rr===0&&Vr(wn)),Jr!==q?($r=Hn(),$r!==q?(Dn=Mn(),Dn!==q?(Jr=[Jr,$r,Dn],zr=Jr):(Ae=zr,zr=q)):(Ae=zr,zr=q)):(Ae=zr,zr=q),zr===q&&(zr=null),zr!==q?(Jr=Hn(),Jr!==q?(xe.charCodeAt(Ae)===125?($r=be,Ae++):($r=q,rr===0&&Vr(ue)),$r!==q?(rn=_e,$=la(fr,fn,zr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function Ln(){var _e;return _e=Rn(),_e===q&&(_e=Oa()),_e}function An(){var _e,$,Ft,fr,Mt,lr,Br,fn,Wn,zr,Jr,$r,Dn,ro,ii,ti;if(_e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q)if(Ft=Hn(),Ft!==q)if(fr=Vo(),fr!==q)if(Mt=Hn(),Mt!==q)if(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q)if(Br=Hn(),Br!==q)if(xe.substr(Ae,6)===Ci?(fn=Ci,Ae+=6):(fn=q,rr===0&&Vr(xo)),fn===q&&(xe.substr(Ae,13)===zo?(fn=zo,Ae+=13):(fn=q,rr===0&&Vr(Oi))),fn!==q)if(Wn=Hn(),Wn!==q)if(xe.charCodeAt(Ae)===44?(zr=jn,Ae++):(zr=q,rr===0&&Vr(wn)),zr!==q)if(Jr=Hn(),Jr!==q)if($r=Ae,xe.substr(Ae,7)===yi?(Dn=yi,Ae+=7):(Dn=q,rr===0&&Vr(Yi)),Dn!==q?(ro=Hn(),ro!==q?(ii=Ba(),ii!==q?(Dn=[Dn,ro,ii],$r=Dn):(Ae=$r,$r=q)):(Ae=$r,$r=q)):(Ae=$r,$r=q),$r===q&&($r=null),$r!==q)if(Dn=Hn(),Dn!==q){if(ro=[],ii=$a(),ii!==q)for(;ii!==q;)ro.push(ii),ii=$a();else ro=q;ro!==q?(ii=Hn(),ii!==q?(xe.charCodeAt(Ae)===125?(ti=be,Ae++):(ti=q,rr===0&&Vr(ue)),ti!==q?(rn=_e,$=Os(fr,fn,$r,ro),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;return _e}function Ia(){var _e,$,Ft,fr,Mt,lr,Br,fn,Wn,zr,Jr,$r,Dn,ro;if(_e=Ae,xe.charCodeAt(Ae)===123?($=sn,Ae++):($=q,rr===0&&Vr(nt)),$!==q)if(Ft=Hn(),Ft!==q)if(fr=Vo(),fr!==q)if(Mt=Hn(),Mt!==q)if(xe.charCodeAt(Ae)===44?(lr=jn,Ae++):(lr=q,rr===0&&Vr(wn)),lr!==q)if(Br=Hn(),Br!==q)if(xe.substr(Ae,6)===$o?(fn=$o,Ae+=6):(fn=q,rr===0&&Vr(ds)),fn!==q)if(Wn=Hn(),Wn!==q)if(xe.charCodeAt(Ae)===44?(zr=jn,Ae++):(zr=q,rr===0&&Vr(wn)),zr!==q)if(Jr=Hn(),Jr!==q){if($r=[],Dn=pa(),Dn!==q)for(;Dn!==q;)$r.push(Dn),Dn=pa();else $r=q;$r!==q?(Dn=Hn(),Dn!==q?(xe.charCodeAt(Ae)===125?(ro=be,Ae++):(ro=q,rr===0&&Vr(ue)),ro!==q?(rn=_e,$=zi(fr,$r),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;else Ae=_e,_e=q;return _e}function Zo(){var _e,$,Ft,fr;return _e=Ae,$=Ae,xe.charCodeAt(Ae)===61?(Ft=Is,Ae++):(Ft=q,rr===0&&Vr(fs)),Ft!==q?(fr=Ba(),fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)):(Ae=$,$=q),$!==q?_e=xe.substring(_e,Ae):_e=$,_e===q&&(_e=So()),_e}function pa(){var _e,$,Ft,fr,Mt,lr,Br,fn;return _e=Ae,$=Hn(),$!==q?(Ft=So(),Ft!==q?(fr=Hn(),fr!==q?(xe.charCodeAt(Ae)===123?(Mt=sn,Ae++):(Mt=q,rr===0&&Vr(nt)),Mt!==q?(rn=Ae,lr=Zi(Ft),lr?lr=void 0:lr=q,lr!==q?(Br=he(),Br!==q?(xe.charCodeAt(Ae)===125?(fn=be,Ae++):(fn=q,rr===0&&Vr(ue)),fn!==q?(rn=_e,$=Vs(Ft,Br),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function $a(){var _e,$,Ft,fr,Mt,lr,Br,fn;return _e=Ae,$=Hn(),$!==q?(Ft=Zo(),Ft!==q?(fr=Hn(),fr!==q?(xe.charCodeAt(Ae)===123?(Mt=sn,Ae++):(Mt=q,rr===0&&Vr(nt)),Mt!==q?(rn=Ae,lr=qo(Ft),lr?lr=void 0:lr=q,lr!==q?(Br=he(),Br!==q?(xe.charCodeAt(Ae)===125?(fn=be,Ae++):(fn=q,rr===0&&Vr(ue)),fn!==q?(rn=_e,$=ps(Ft,Br),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q)):(Ae=_e,_e=q),_e}function ua(){var _e,$;return rr++,Ji.test(xe.charAt(Ae))?(_e=xe.charAt(Ae),Ae++):(_e=q,rr===0&&Vr(vs)),rr--,_e===q&&($=q,rr===0&&Vr(Qi)),_e}function ao(){var _e,$;return rr++,qi.test(xe.charAt(Ae))?(_e=xe.charAt(Ae),Ae++):(_e=q,rr===0&&Vr(hs)),rr--,_e===q&&($=q,rr===0&&Vr($i)),_e}function Hn(){var _e,$,Ft;for(rr++,_e=Ae,$=[],Ft=ua();Ft!==q;)$.push(Ft),Ft=ua();return $!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Hi)),_e}function Ba(){var _e,$,Ft;return rr++,_e=Ae,xe.charCodeAt(Ae)===45?($=Eo,Ae++):($=q,rr===0&&Vr(Xs)),$===q&&($=null),$!==q?(Ft=Ho(),Ft!==q?(rn=_e,$=es($,Ft),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q),rr--,_e===q&&($=q,rr===0&&Vr(Ks)),_e}function oo(){var _e,$;return rr++,xe.charCodeAt(Ae)===39?(_e=dn,Ae++):(_e=q,rr===0&&Vr(Fn)),rr--,_e===q&&($=q,rr===0&&Vr(Di)),_e}function po(){var _e,$;return rr++,_e=Ae,xe.substr(Ae,2)===Ro?($=Ro,Ae+=2):($=q,rr===0&&Vr(Ai)),$!==q&&(rn=_e,$=Cu()),_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Ii)),_e}function Go(){var _e,$,Ft,fr,Mt,lr;if(_e=Ae,xe.charCodeAt(Ae)===39?($=dn,Ae++):($=q,rr===0&&Vr(Fn)),$!==q)if(Ft=go(),Ft!==q){for(fr=Ae,Mt=[],xe.substr(Ae,2)===Ro?(lr=Ro,Ae+=2):(lr=q,rr===0&&Vr(Ai)),lr===q&&(xa.test(xe.charAt(Ae))?(lr=xe.charAt(Ae),Ae++):(lr=q,rr===0&&Vr(Ra)));lr!==q;)Mt.push(lr),xe.substr(Ae,2)===Ro?(lr=Ro,Ae+=2):(lr=q,rr===0&&Vr(Ai)),lr===q&&(xa.test(xe.charAt(Ae))?(lr=xe.charAt(Ae),Ae++):(lr=q,rr===0&&Vr(Ra)));Mt!==q?fr=xe.substring(fr,Ae):fr=Mt,fr!==q?(xe.charCodeAt(Ae)===39?(Mt=dn,Ae++):(Mt=q,rr===0&&Vr(Fn)),Mt===q&&(Mt=null),Mt!==q?(rn=_e,$=ut(Ft,fr),_e=$):(Ae=_e,_e=q)):(Ae=_e,_e=q)}else Ae=_e,_e=q;else Ae=_e,_e=q;return _e}function io(){var _e,$,Ft,fr;return _e=Ae,$=Ae,xe.length>Ae?(Ft=xe.charAt(Ae),Ae++):(Ft=q,rr===0&&Vr(Zt)),Ft!==q?(rn=Ae,fr=Et(Ft),fr?fr=void 0:fr=q,fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)):(Ae=$,$=q),$===q&&(xe.charCodeAt(Ae)===10?($=gt,Ae++):($=q,rr===0&&Vr(Ot))),$!==q?_e=xe.substring(_e,Ae):_e=$,_e}function go(){var _e,$,Ft,fr;return _e=Ae,$=Ae,xe.length>Ae?(Ft=xe.charAt(Ae),Ae++):(Ft=q,rr===0&&Vr(Zt)),Ft!==q?(rn=Ae,fr=jt(Ft),fr?fr=void 0:fr=q,fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)):(Ae=$,$=q),$!==q?_e=xe.substring(_e,Ae):_e=$,_e}function Vo(){var _e,$;return rr++,_e=Ae,$=Ho(),$===q&&($=So()),$!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Or)),_e}function Ho(){var _e,$,Ft,fr,Mt;if(rr++,_e=Ae,xe.charCodeAt(Ae)===48?($=Yr,Ae++):($=q,rr===0&&Vr(Xr)),$!==q&&(rn=_e,$=vn()),_e=$,_e===q){if(_e=Ae,$=Ae,xn.test(xe.charAt(Ae))?(Ft=xe.charAt(Ae),Ae++):(Ft=q,rr===0&&Vr(Pt)),Ft!==q){for(fr=[],Gt.test(xe.charAt(Ae))?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(Vt));Mt!==q;)fr.push(Mt),Gt.test(xe.charAt(Ae))?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(Vt));fr!==q?(Ft=[Ft,fr],$=Ft):(Ae=$,$=q)}else Ae=$,$=q;$!==q&&(rn=_e,$=Tr($)),_e=$}return rr--,_e===q&&($=q,rr===0&&Vr(Kr)),_e}function So(){var _e,$,Ft,fr,Mt;if(rr++,_e=Ae,$=[],Ft=Ae,fr=Ae,rr++,Mt=ua(),Mt===q&&(Mt=ao()),rr--,Mt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(Zt)),Mt!==q?(fr=[fr,Mt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q),Ft!==q)for(;Ft!==q;)$.push(Ft),Ft=Ae,fr=Ae,rr++,Mt=ua(),Mt===q&&(Mt=ao()),rr--,Mt===q?fr=void 0:(Ae=fr,fr=q),fr!==q?(xe.length>Ae?(Mt=xe.charAt(Ae),Ae++):(Mt=q,rr===0&&Vr(Zt)),Mt!==q?(fr=[fr,Mt],Ft=fr):(Ae=Ft,Ft=q)):(Ae=Ft,Ft=q);else $=q;return $!==q?_e=xe.substring(_e,Ae):_e=$,rr--,_e===q&&($=q,rr===0&&Vr(Hr)),_e}var Aa=["root"];function qa(){return Aa.length>1}function Io(){return Aa[Aa.length-1]==="plural"}function Da(){return Xe&&Xe.captureLocation?{location:ra()}:{}}if(ga=Jt(),ga!==q&&Ae===xe.length)return ga;throw ga!==q&&Ae1)throw new RangeError("Fraction-precision stems only accept a single optional option");Jt.stem.replace(de,function(Rr,Sr,Gr){return Rr==="."?Xe.maximumFractionDigits=0:Gr==="+"?Xe.minimumFractionDigits=Gr.length:Sr[0]==="#"?Xe.maximumFractionDigits=Sr.length:(Xe.minimumFractionDigits=Sr.length,Xe.maximumFractionDigits=Sr.length+(typeof Gr=="string"?Gr.length:0)),""}),Jt.options.length&&(Xe=ee(ee({},Xe),ze(Jt.options[0])));continue}if(He.test(Jt.stem)){Xe=ee(ee({},Xe),ze(Jt.stem));continue}var Pr=st(Jt.stem);Pr&&(Xe=ee(ee({},Xe),Pr))}return Xe}var Ke=function(){var xe=function(Xe,q){return xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(It,Jt){It.__proto__=Jt}||function(It,Jt){for(var Pr in Jt)Jt.hasOwnProperty(Pr)&&(It[Pr]=Jt[Pr])},xe(Xe,q)};return function(Xe,q){xe(Xe,q);function It(){this.constructor=Xe}Xe.prototype=q===null?Object.create(q):(It.prototype=q.prototype,new It)}}(),Re=function(){for(var xe=0,Xe=0,q=arguments.length;Xe(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,fe=Date.now()+"@@",Oe=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Ee(xe,Xe,q){var It=xe.tagName,Jt=xe.outerHTML,Pr=xe.textContent,Rr=xe.childNodes;if(!It)return Me(Pr||"",Xe);It=It.toLowerCase();var Sr=~Oe.indexOf(It),Gr=q[It];if(Gr&&Sr)throw new Ce(It+" is a self-closing tag and can not be used, please use another tag name.");if(!Rr.length)return[Jt];var ea=Array.prototype.slice.call(Rr).reduce(function(kr,sn){return kr.concat(Ee(sn,Xe,q))},[]);return Gr?typeof Gr=="function"?[Gr.apply(void 0,ea)]:[Gr]:Re(["<"+It+">"],ea,[""])}function et(xe,Xe,q,It,Jt,Pr){var Rr=at(xe,Xe,q,It,Jt,void 0,Pr),Sr={},Gr=Rr.reduce(function(nt,be){if(be.type===0)return nt+=be.value;var ue=ft();return Sr[ue]=be.value,nt+=""+bt+ue+bt},"");if(!ye.test(Gr))return Me(Gr,Sr);if(!Jt)throw new Ce("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Ce("Cannot format XML message without DOMParser");St||(St=new DOMParser);var ea=St.parseFromString(''+Gr+"","text/html").getElementById(fe);if(!ea)throw new Ce("Malformed HTML message "+Gr);var kr=Object.keys(Jt).filter(function(nt){return!!ea.getElementsByTagName(nt).length});if(!kr.length)return Me(Gr,Sr);var sn=kr.filter(function(nt){return nt!==nt.toLowerCase()});if(sn.length)throw new Ce("HTML tag must be lowercased but the following tags are not: "+sn.join(", "));return Array.prototype.slice.call(ea.childNodes).reduce(function(nt,be){return nt.concat(Ee(be,Sr,Jt))},[])}var mt=function(){return mt=Object.assign||function(xe){for(var Xe,q=1,It=arguments.length;q<"']/g;function je(xe){return(""+xe).replace(Se,Xe=>Yt[Xe.charCodeAt(0)])}function Be(xe,Xe,q={}){return Xe.reduce((It,Jt)=>(Jt in xe?It[Jt]=xe[Jt]:Jt in q&&(It[Jt]=q[Jt]),It),{})}function ht(xe){Dt(xe,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function At(xe,Xe){const q=Xe?` -${Xe.stack}`:"";return`[React Intl] ${xe}${q}`}function ce(xe){}const _t={formats:{},messages:{},timeZone:void 0,textComponent:t.Fragment,defaultLocale:"en",defaultFormats:{},onError:ce};function qt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ht(xe=qt()){const Xe=Intl.RelativeTimeFormat,q=Intl.ListFormat,It=Intl.DisplayNames;return{getDateTimeFormat:G(Intl.DateTimeFormat,xe.dateTime),getNumberFormat:G(Intl.NumberFormat,xe.number),getMessageFormat:G(it,xe.message),getRelativeTimeFormat:G(Xe,xe.relativeTime),getPluralRules:G(Intl.PluralRules,xe.pluralRules),getListFormat:G(q,xe.list),getDisplayNames:G(It,xe.displayNames)}}function Ut(xe,Xe,q,It){const Jt=xe&&xe[Xe];let Pr;if(Jt&&(Pr=Jt[q]),Pr)return Pr;It(At(`No ${Xe} format named: ${q}`))}const cr=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ze({locale:xe,formats:Xe,onError:q},It,Jt={}){const{format:Pr}=Jt,Rr=Pr&&Ut(Xe,"number",Pr,q)||{},Sr=Be(Jt,cr,Rr);return It(xe,Sr)}function dt(xe,Xe,q,It={}){try{return Ze(xe,Xe,It).format(q)}catch(Jt){xe.onError(At("Error formatting number.",Jt))}return String(q)}function Mt(xe,Xe,q,It={}){try{return Ze(xe,Xe,It).formatToParts(q)}catch(Jt){xe.onError(At("Error formatting number.",Jt))}return[]}const ar=["numeric","style"];function $t({locale:xe,formats:Xe,onError:q},It,Jt={}){const{format:Pr}=Jt,Rr=!!Pr&&Ut(Xe,"relative",Pr,q)||{},Sr=Be(Jt,ar,Rr);return It(xe,Sr)}function pr(xe,Xe,q,It,Jt={}){It||(It="second"),Intl.RelativeTimeFormat||xe.onError(At(`Intl.RelativeTimeFormat is not available in this environment. +`);var Ye=q.getPluralRules(Xe,{type:Mr.pluralType}).select(nt-(Mr.offset||0));ue=Mr.options[Ye]||Mr.options.other}if(!ue)throw new RangeError('Invalid values for "'+Mr.value+'": "'+nt+'". Options are "'+Object.keys(Mr.options).join('", "')+'"');Sr.push.apply(Sr,at(ue.value,Xe,q,It,Jt,nt-(Mr.offset||0)));continue}}return me(Sr)}function ct(xe,Xe,q,It,Jt,Pr){var Rr=at(xe,Xe,q,It,Jt,void 0,Pr);return Rr.length===1?Rr[0].value:Rr.reduce(function(Sr,Gr){return Sr+=Gr.value},"")}var St,bt="@@",Ie=/@@(\d+_\d+)@@/g,$e=0;function ft(){return Date.now()+"_"+ ++$e}function ke(xe,Xe){return xe.split(Ie).filter(Boolean).map(function(q){return Xe[q]!=null?Xe[q]:q}).reduce(function(q,It){return q.length&&typeof It=="string"&&typeof q[q.length-1]=="string"?q[q.length-1]+=It:q.push(It),q},[])}var ye=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,fe=Date.now()+"@@",Oe=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function Ee(xe,Xe,q){var It=xe.tagName,Jt=xe.outerHTML,Pr=xe.textContent,Rr=xe.childNodes;if(!It)return ke(Pr||"",Xe);It=It.toLowerCase();var Sr=~Oe.indexOf(It),Gr=q[It];if(Gr&&Sr)throw new Ce(It+" is a self-closing tag and can not be used, please use another tag name.");if(!Rr.length)return[Jt];var ea=Array.prototype.slice.call(Rr).reduce(function(Mr,sn){return Mr.concat(Ee(sn,Xe,q))},[]);return Gr?typeof Gr=="function"?[Gr.apply(void 0,ea)]:[Gr]:Re(["<"+It+">"],ea,[""])}function et(xe,Xe,q,It,Jt,Pr){var Rr=at(xe,Xe,q,It,Jt,void 0,Pr),Sr={},Gr=Rr.reduce(function(nt,be){if(be.type===0)return nt+=be.value;var ue=ft();return Sr[ue]=be.value,nt+=""+bt+ue+bt},"");if(!ye.test(Gr))return ke(Gr,Sr);if(!Jt)throw new Ce("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Ce("Cannot format XML message without DOMParser");St||(St=new DOMParser);var ea=St.parseFromString(''+Gr+"","text/html").getElementById(fe);if(!ea)throw new Ce("Malformed HTML message "+Gr);var Mr=Object.keys(Jt).filter(function(nt){return!!ea.getElementsByTagName(nt).length});if(!Mr.length)return ke(Gr,Sr);var sn=Mr.filter(function(nt){return nt!==nt.toLowerCase()});if(sn.length)throw new Ce("HTML tag must be lowercased but the following tags are not: "+sn.join(", "));return Array.prototype.slice.call(ea.childNodes).reduce(function(nt,be){return nt.concat(Ee(be,Sr,Jt))},[])}var mt=function(){return mt=Object.assign||function(xe){for(var Xe,q=1,It=arguments.length;q<"']/g;function je(xe){return(""+xe).replace(Se,Xe=>Yt[Xe.charCodeAt(0)])}function Be(xe,Xe,q={}){return Xe.reduce((It,Jt)=>(Jt in xe?It[Jt]=xe[Jt]:Jt in q&&(It[Jt]=q[Jt]),It),{})}function ht(xe){Dt(xe,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function At(xe,Xe){const q=Xe?` +${Xe.stack}`:"";return`[React Intl] ${xe}${q}`}function ce(xe){}const _t={formats:{},messages:{},timeZone:void 0,textComponent:t.Fragment,defaultLocale:"en",defaultFormats:{},onError:ce};function qt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ht(xe=qt()){const Xe=Intl.RelativeTimeFormat,q=Intl.ListFormat,It=Intl.DisplayNames;return{getDateTimeFormat:G(Intl.DateTimeFormat,xe.dateTime),getNumberFormat:G(Intl.NumberFormat,xe.number),getMessageFormat:G(it,xe.message),getRelativeTimeFormat:G(Xe,xe.relativeTime),getPluralRules:G(Intl.PluralRules,xe.pluralRules),getListFormat:G(q,xe.list),getDisplayNames:G(It,xe.displayNames)}}function Ut(xe,Xe,q,It){const Jt=xe&&xe[Xe];let Pr;if(Jt&&(Pr=Jt[q]),Pr)return Pr;It(At(`No ${Xe} format named: ${q}`))}const cr=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ze({locale:xe,formats:Xe,onError:q},It,Jt={}){const{format:Pr}=Jt,Rr=Pr&&Ut(Xe,"number",Pr,q)||{},Sr=Be(Jt,cr,Rr);return It(xe,Sr)}function dt(xe,Xe,q,It={}){try{return Ze(xe,Xe,It).format(q)}catch(Jt){xe.onError(At("Error formatting number.",Jt))}return String(q)}function kt(xe,Xe,q,It={}){try{return Ze(xe,Xe,It).formatToParts(q)}catch(Jt){xe.onError(At("Error formatting number.",Jt))}return[]}const ar=["numeric","style"];function $t({locale:xe,formats:Xe,onError:q},It,Jt={}){const{format:Pr}=Jt,Rr=!!Pr&&Ut(Xe,"relative",Pr,q)||{},Sr=Be(Jt,ar,Rr);return It(xe,Sr)}function pr(xe,Xe,q,It,Jt={}){It||(It="second"),Intl.RelativeTimeFormat||xe.onError(At(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`));try{return $t(xe,Xe,Jt).format(q,It)}catch(Rr){xe.onError(At("Error formatting relative time.",Rr))}return String(q)}const Ir=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Mr({locale:xe,formats:Xe,onError:q,timeZone:It},Jt,Pr,Rr={}){const{format:Sr}=Rr,Gr=Object.assign(Object.assign({},It&&{timeZone:It}),Sr&&Ut(Xe,Jt,Sr,q));let ea=Be(Rr,Ir,Gr);return Jt==="time"&&!ea.hour&&!ea.minute&&!ea.second&&(ea=Object.assign(Object.assign({},ea),{hour:"numeric",minute:"numeric"})),Pr(xe,ea)}function er(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return Mr(xe,"date",Xe,It).format(Jt)}catch(Pr){xe.onError(At("Error formatting date.",Pr))}return String(Jt)}function Nt(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return Mr(xe,"time",Xe,It).format(Jt)}catch(Pr){xe.onError(At("Error formatting time.",Pr))}return String(Jt)}function Kt(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return Mr(xe,"date",Xe,It).formatToParts(Jt)}catch(Pr){xe.onError(At("Error formatting date.",Pr))}return[]}function Qt(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return Mr(xe,"time",Xe,It).formatToParts(Jt)}catch(Pr){xe.onError(At("Error formatting time.",Pr))}return[]}const Cr=["localeMatcher","type"];function Er({locale:xe,onError:Xe},q,It,Jt={}){Intl.PluralRules||Xe(At(`Intl.PluralRules is not available in this environment. +`));try{return $t(xe,Xe,Jt).format(q,It)}catch(Rr){xe.onError(At("Error formatting relative time.",Rr))}return String(q)}const Ir=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function kr({locale:xe,formats:Xe,onError:q,timeZone:It},Jt,Pr,Rr={}){const{format:Sr}=Rr,Gr=Object.assign(Object.assign({},It&&{timeZone:It}),Sr&&Ut(Xe,Jt,Sr,q));let ea=Be(Rr,Ir,Gr);return Jt==="time"&&!ea.hour&&!ea.minute&&!ea.second&&(ea=Object.assign(Object.assign({},ea),{hour:"numeric",minute:"numeric"})),Pr(xe,ea)}function er(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return kr(xe,"date",Xe,It).format(Jt)}catch(Pr){xe.onError(At("Error formatting date.",Pr))}return String(Jt)}function Nt(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return kr(xe,"time",Xe,It).format(Jt)}catch(Pr){xe.onError(At("Error formatting time.",Pr))}return String(Jt)}function Kt(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return kr(xe,"date",Xe,It).formatToParts(Jt)}catch(Pr){xe.onError(At("Error formatting date.",Pr))}return[]}function Qt(xe,Xe,q,It={}){const Jt=typeof q=="string"?new Date(q||0):q;try{return kr(xe,"time",Xe,It).formatToParts(Jt)}catch(Pr){xe.onError(At("Error formatting time.",Pr))}return[]}const Cr=["localeMatcher","type"];function Er({locale:xe,onError:Xe},q,It,Jt={}){Intl.PluralRules||Xe(At(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`));const Pr=Be(Jt,Cr);try{return q(xe,Pr).select(It)}catch(Rr){Xe(At("Error formatting plural.",Rr))}return"other"}function wt(xe,Xe){return Object.keys(xe).reduce((q,It)=>(q[It]=Object.assign({timeZone:Xe},xe[It]),q),{})}function qe(xe,Xe){return Object.keys(Object.assign(Object.assign({},xe),Xe)).reduce((It,Jt)=>(It[Jt]=Object.assign(Object.assign({},xe[Jt]||{}),Xe[Jt]||{}),It),{})}function Ue(xe,Xe){if(!Xe)return xe;const q=it.formats;return Object.assign(Object.assign(Object.assign({},q),xe),{date:qe(wt(q.date,Xe),wt(xe.date||{},Xe)),time:qe(wt(q.time,Xe),wt(xe.time||{},Xe))})}const Le=xe=>t.createElement(t.Fragment,null,...xe);function rt({locale:xe,formats:Xe,messages:q,defaultLocale:It,defaultFormats:Jt,onError:Pr,timeZone:Rr},Sr,Gr={id:""},ea={}){const{id:kr,defaultMessage:sn}=Gr;Dt(!!kr,"[React Intl] An `id` must be provided to format a message.");const nt=q&&q[String(kr)];Xe=Ue(Xe,Rr),Jt=Ue(Jt,Rr);let be=[];if(nt)try{be=Sr.getMessageFormat(nt,xe,Xe,{formatters:Sr}).formatHTMLMessage(ea)}catch(ue){Pr(At(`Error formatting message: "${kr}" for locale: "${xe}"`+(sn?", using default message as fallback.":""),ue))}else(!sn||xe&&xe.toLowerCase()!==It.toLowerCase())&&Pr(At(`Missing message: "${kr}" for locale: "${xe}"`+(sn?", using default message as fallback.":"")));if(!be.length&&sn)try{be=Sr.getMessageFormat(sn,It,Jt).formatHTMLMessage(ea)}catch(ue){Pr(At(`Error formatting the default message for: "${kr}"`,ue))}return be.length?be.length===1&&typeof be[0]=="string"?be[0]||sn||String(kr):Le(be):(Pr(At(`Cannot format message: "${kr}", using message ${nt||sn?"source":"id"} as fallback.`)),typeof nt=="string"?nt||sn||String(kr):sn||String(kr))}function Tt(xe,Xe,q={id:""},It={}){const Jt=Object.keys(It).reduce((Pr,Rr)=>{const Sr=It[Rr];return Pr[Rr]=typeof Sr=="string"?je(Sr):Sr,Pr},{});return rt(xe,Xe,q,Jt)}var Lt=e(18947),gr=e.n(Lt);const yr=["localeMatcher","type","style"],Ur=Date.now();function bn(xe){return`${Ur}_${xe}_${Ur}`}function sr({locale:xe,onError:Xe},q,It,Jt={}){Intl.ListFormat||Xe(At(`Intl.ListFormat is not available in this environment. +`));const Pr=Be(Jt,Cr);try{return q(xe,Pr).select(It)}catch(Rr){Xe(At("Error formatting plural.",Rr))}return"other"}function wt(xe,Xe){return Object.keys(xe).reduce((q,It)=>(q[It]=Object.assign({timeZone:Xe},xe[It]),q),{})}function qe(xe,Xe){return Object.keys(Object.assign(Object.assign({},xe),Xe)).reduce((It,Jt)=>(It[Jt]=Object.assign(Object.assign({},xe[Jt]||{}),Xe[Jt]||{}),It),{})}function Ue(xe,Xe){if(!Xe)return xe;const q=it.formats;return Object.assign(Object.assign(Object.assign({},q),xe),{date:qe(wt(q.date,Xe),wt(xe.date||{},Xe)),time:qe(wt(q.time,Xe),wt(xe.time||{},Xe))})}const Le=xe=>t.createElement(t.Fragment,null,...xe);function rt({locale:xe,formats:Xe,messages:q,defaultLocale:It,defaultFormats:Jt,onError:Pr,timeZone:Rr},Sr,Gr={id:""},ea={}){const{id:Mr,defaultMessage:sn}=Gr;Dt(!!Mr,"[React Intl] An `id` must be provided to format a message.");const nt=q&&q[String(Mr)];Xe=Ue(Xe,Rr),Jt=Ue(Jt,Rr);let be=[];if(nt)try{be=Sr.getMessageFormat(nt,xe,Xe,{formatters:Sr}).formatHTMLMessage(ea)}catch(ue){Pr(At(`Error formatting message: "${Mr}" for locale: "${xe}"`+(sn?", using default message as fallback.":""),ue))}else(!sn||xe&&xe.toLowerCase()!==It.toLowerCase())&&Pr(At(`Missing message: "${Mr}" for locale: "${xe}"`+(sn?", using default message as fallback.":"")));if(!be.length&&sn)try{be=Sr.getMessageFormat(sn,It,Jt).formatHTMLMessage(ea)}catch(ue){Pr(At(`Error formatting the default message for: "${Mr}"`,ue))}return be.length?be.length===1&&typeof be[0]=="string"?be[0]||sn||String(Mr):Le(be):(Pr(At(`Cannot format message: "${Mr}", using message ${nt||sn?"source":"id"} as fallback.`)),typeof nt=="string"?nt||sn||String(Mr):sn||String(Mr))}function Tt(xe,Xe,q={id:""},It={}){const Jt=Object.keys(It).reduce((Pr,Rr)=>{const Sr=It[Rr];return Pr[Rr]=typeof Sr=="string"?je(Sr):Sr,Pr},{});return rt(xe,Xe,q,Jt)}var Lt=e(18947),gr=e.n(Lt);const yr=["localeMatcher","type","style"],Ur=Date.now();function bn(xe){return`${Ur}_${xe}_${Ur}`}function sr({locale:xe,onError:Xe},q,It,Jt={}){Intl.ListFormat||Xe(At(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" -`));const Rr=Be(Jt,yr);try{const Sr={},Gr=It.map((kr,sn)=>{if(typeof kr=="object"){const nt=bn(sn);return Sr[nt]=kr,nt}return String(kr)});return Object.keys(Sr).length?q(xe,Rr).formatToParts(Gr).reduce((kr,sn)=>{const nt=sn.value;return Sr[nt]?kr.push(Sr[nt]):typeof kr[kr.length-1]=="string"?kr[kr.length-1]+=nt:kr.push(nt),kr},[]):q(xe,Rr).format(Gr)}catch(Sr){Xe(At("Error formatting list.",Sr))}return It}const _n=["localeMatcher","style","type","fallback"];function on({locale:xe,onError:Xe},q,It,Jt={}){Intl.DisplayNames||Xe(At(`Intl.DisplayNames is not available in this environment. +`));const Rr=Be(Jt,yr);try{const Sr={},Gr=It.map((Mr,sn)=>{if(typeof Mr=="object"){const nt=bn(sn);return Sr[nt]=Mr,nt}return String(Mr)});return Object.keys(Sr).length?q(xe,Rr).formatToParts(Gr).reduce((Mr,sn)=>{const nt=sn.value;return Sr[nt]?Mr.push(Sr[nt]):typeof Mr[Mr.length-1]=="string"?Mr[Mr.length-1]+=nt:Mr.push(nt),Mr},[]):q(xe,Rr).format(Gr)}catch(Sr){Xe(At("Error formatting list.",Sr))}return It}const _n=["localeMatcher","style","type","fallback"];function on({locale:xe,onError:Xe},q,It,Jt={}){Intl.DisplayNames||Xe(At(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`));const Rr=Be(Jt,_n);try{return q(xe,Rr).of(It)}catch(Sr){Xe(At("Error formatting display name.",Sr))}}const Fe=gr()||Lt;function Ne(xe){return{locale:xe.locale,timeZone:xe.timeZone,formats:xe.formats,textComponent:xe.textComponent,messages:xe.messages,defaultLocale:xe.defaultLocale,defaultFormats:xe.defaultFormats,onError:xe.onError}}function en(xe,Xe){const q=Ht(Xe),It=Object.assign(Object.assign({},_t),xe),{locale:Jt,defaultLocale:Pr,onError:Rr}=It;return Jt?!Intl.NumberFormat.supportedLocalesOf(Jt).length&&Rr?Rr(At(`Missing locale data for locale: "${Jt}" in Intl.NumberFormat. Using default locale: "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(Jt).length&&Rr&&Rr(At(`Missing locale data for locale: "${Jt}" in Intl.DateTimeFormat. Using default locale: "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Rr&&Rr(At(`"locale" was not configured, using "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),It.locale=It.defaultLocale||"en"),Object.assign(Object.assign({},It),{formatters:q,formatNumber:dt.bind(null,It,q.getNumberFormat),formatNumberToParts:Mt.bind(null,It,q.getNumberFormat),formatRelativeTime:pr.bind(null,It,q.getRelativeTimeFormat),formatDate:er.bind(null,It,q.getDateTimeFormat),formatDateToParts:Kt.bind(null,It,q.getDateTimeFormat),formatTime:Nt.bind(null,It,q.getDateTimeFormat),formatTimeToParts:Qt.bind(null,It,q.getDateTimeFormat),formatPlural:Er.bind(null,It,q.getPluralRules),formatMessage:rt.bind(null,It,q),formatHTMLMessage:Tt.bind(null,It,q),formatList:sr.bind(null,It,q.getListFormat),formatDisplayName:on.bind(null,It,q.getDisplayNames)})}class pn extends t.PureComponent{constructor(){super(...arguments),this.cache=qt(),this.state={cache:this.cache,intl:en(Ne(this.props),this.cache),prevConfig:Ne(this.props)}}static getDerivedStateFromProps(Xe,{prevConfig:q,cache:It}){const Jt=Ne(Xe);return Fe(q,Jt)?null:{intl:en(Jt,It),prevConfig:Jt}}render(){return ht(this.state.intl),t.createElement(f,{value:this.state.intl},this.props.children)}}pn.displayName="IntlProvider",pn.defaultProps=_t;var ha=e(62510),ma=e(3424),On=e.n(ma),za=e(85239),ja=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable,va=(xe,Xe)=>{var q={};for(var It in xe)gn.call(xe,It)&&Xe.indexOf(It)<0&&(q[It]=xe[It]);if(xe!=null&&ja)for(var It of ja(xe))Xe.indexOf(It)<0&&Va.call(xe,It)&&(q[It]=xe[It]);return q};let _o;const no=!0,Ja=new(On()),Za=Symbol("LANG_CHANGE"),No=(xe,Xe="")=>Object.keys(xe).reduce((q,It)=>{const Jt=xe[It],Pr=Xe?`${Xe}.${It}`:It;return typeof Jt=="string"?q[Pr]=Jt:Object.assign(q,No(Jt,Pr)),q},{}),ya={},na=(xe,Xe,q)=>{var It,Jt,Pr,Rr;if(!xe)return;const Sr=(It=ya[xe])!=null&&It.messages?Object.assign({},ya[xe].messages,Xe):Xe,{momentLocale:Gr=(Jt=ya[xe])==null?void 0:Jt.momentLocale,antd:ea=(Pr=ya[xe])==null?void 0:Pr.antd}=q||{},kr=(Rr=xe.split("-"))==null?void 0:Rr.join("-");ya[xe]={messages:Sr,locale:kr,momentLocale:Gr,antd:ea},kr===aa()&&Ja.emit(Za,kr)},En=xe=>(0,ha.We)().applyPlugins({key:"locale",type:"modify",initialValue:xe}),wa=xe=>{const q=En(ya[xe]),{cache:It}=q,Jt=va(q,["cache"]);return en(Jt,It)},Pe=(xe,Xe)=>_o&&!Xe&&!xe?_o:(xe||(xe=aa()),xe&&ya[xe]?wa(xe):ya["zh-CN"]?wa("zh-CN"):en({locale:"zh-CN",messages:{}})),$n=xe=>{_o=Pe(xe,!0)},aa=()=>{const xe=En({});return typeof(xe==null?void 0:xe.getLocale)=="function"?xe.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&no?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},yo=()=>{const xe=aa();return["he","ar","fa","ku"].filter(It=>xe.startsWith(It)).length?"rtl":"ltr"},ai=(xe,Xe=!0)=>{(()=>{if(aa()!==xe){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&no&&window.localStorage.setItem("umi_locale",xe||""),$n(xe),Xe)window.location.reload();else if(Ja.emit(Za,xe),window.dispatchEvent){const It=new Event("languagechange");window.dispatchEvent(It)}}})()};let Wa=!0;const Ha=(xe,Xe)=>(Wa&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. +`));const Rr=Be(Jt,_n);try{return q(xe,Rr).of(It)}catch(Sr){Xe(At("Error formatting display name.",Sr))}}const Fe=gr()||Lt;function Ne(xe){return{locale:xe.locale,timeZone:xe.timeZone,formats:xe.formats,textComponent:xe.textComponent,messages:xe.messages,defaultLocale:xe.defaultLocale,defaultFormats:xe.defaultFormats,onError:xe.onError}}function en(xe,Xe){const q=Ht(Xe),It=Object.assign(Object.assign({},_t),xe),{locale:Jt,defaultLocale:Pr,onError:Rr}=It;return Jt?!Intl.NumberFormat.supportedLocalesOf(Jt).length&&Rr?Rr(At(`Missing locale data for locale: "${Jt}" in Intl.NumberFormat. Using default locale: "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(Jt).length&&Rr&&Rr(At(`Missing locale data for locale: "${Jt}" in Intl.DateTimeFormat. Using default locale: "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Rr&&Rr(At(`"locale" was not configured, using "${Pr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),It.locale=It.defaultLocale||"en"),Object.assign(Object.assign({},It),{formatters:q,formatNumber:dt.bind(null,It,q.getNumberFormat),formatNumberToParts:kt.bind(null,It,q.getNumberFormat),formatRelativeTime:pr.bind(null,It,q.getRelativeTimeFormat),formatDate:er.bind(null,It,q.getDateTimeFormat),formatDateToParts:Kt.bind(null,It,q.getDateTimeFormat),formatTime:Nt.bind(null,It,q.getDateTimeFormat),formatTimeToParts:Qt.bind(null,It,q.getDateTimeFormat),formatPlural:Er.bind(null,It,q.getPluralRules),formatMessage:rt.bind(null,It,q),formatHTMLMessage:Tt.bind(null,It,q),formatList:sr.bind(null,It,q.getListFormat),formatDisplayName:on.bind(null,It,q.getDisplayNames)})}class pn extends t.PureComponent{constructor(){super(...arguments),this.cache=qt(),this.state={cache:this.cache,intl:en(Ne(this.props),this.cache),prevConfig:Ne(this.props)}}static getDerivedStateFromProps(Xe,{prevConfig:q,cache:It}){const Jt=Ne(Xe);return Fe(q,Jt)?null:{intl:en(Jt,It),prevConfig:Jt}}render(){return ht(this.state.intl),t.createElement(f,{value:this.state.intl},this.props.children)}}pn.displayName="IntlProvider",pn.defaultProps=_t;var ha=e(62510),ma=e(3424),On=e.n(ma),za=e(85239),ja=Object.getOwnPropertySymbols,gn=Object.prototype.hasOwnProperty,Va=Object.prototype.propertyIsEnumerable,va=(xe,Xe)=>{var q={};for(var It in xe)gn.call(xe,It)&&Xe.indexOf(It)<0&&(q[It]=xe[It]);if(xe!=null&&ja)for(var It of ja(xe))Xe.indexOf(It)<0&&Va.call(xe,It)&&(q[It]=xe[It]);return q};let _o;const no=!0,Ja=new(On()),Za=Symbol("LANG_CHANGE"),No=(xe,Xe="")=>Object.keys(xe).reduce((q,It)=>{const Jt=xe[It],Pr=Xe?`${Xe}.${It}`:It;return typeof Jt=="string"?q[Pr]=Jt:Object.assign(q,No(Jt,Pr)),q},{}),ya={},na=(xe,Xe,q)=>{var It,Jt,Pr,Rr;if(!xe)return;const Sr=(It=ya[xe])!=null&&It.messages?Object.assign({},ya[xe].messages,Xe):Xe,{momentLocale:Gr=(Jt=ya[xe])==null?void 0:Jt.momentLocale,antd:ea=(Pr=ya[xe])==null?void 0:Pr.antd}=q||{},Mr=(Rr=xe.split("-"))==null?void 0:Rr.join("-");ya[xe]={messages:Sr,locale:Mr,momentLocale:Gr,antd:ea},Mr===aa()&&Ja.emit(Za,Mr)},En=xe=>(0,ha.We)().applyPlugins({key:"locale",type:"modify",initialValue:xe}),wa=xe=>{const q=En(ya[xe]),{cache:It}=q,Jt=va(q,["cache"]);return en(Jt,It)},Pe=(xe,Xe)=>_o&&!Xe&&!xe?_o:(xe||(xe=aa()),xe&&ya[xe]?wa(xe):ya["zh-CN"]?wa("zh-CN"):en({locale:"zh-CN",messages:{}})),$n=xe=>{_o=Pe(xe,!0)},aa=()=>{const xe=En({});return typeof(xe==null?void 0:xe.getLocale)=="function"?xe.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&no?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},yo=()=>{const xe=aa();return["he","ar","fa","ku"].filter(It=>xe.startsWith(It)).length?"rtl":"ltr"},ai=(xe,Xe=!0)=>{(()=>{if(aa()!==xe){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&no&&window.localStorage.setItem("umi_locale",xe||""),$n(xe),Xe)window.location.reload();else if(Ja.emit(Za,xe),window.dispatchEvent){const It=new Event("languagechange");window.dispatchEvent(It)}}})()};let Wa=!0;const Ha=(xe,Xe)=>(Wa&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 http://j.mp/37Fkd5Q - `),Wa=!1),_o||$n(aa()),_o.formatMessage(xe,Xe)),De=()=>Object.keys(ya)},92427:function(i,d,e){"use strict";e.d(d,{y:function(){return u}});var t=e(62957),r=e(77019),n=e(5269),a=e(14749),s=e(59301);const u=c=>new Promise((o,f)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return f("WebRTC not supported by browser");let _=new RTCPeerConnection,p=[];_.createDataChannel(""),_.createOffer().then(x=>_.setLocalDescription(x)).catch(x=>f(x)),_.onicecandidate=x=>{console.log("event:",x);const g=[];if(!x||!x.candidate){if(console.log("ips",p),p.length==0||!(0,a.t)(p[0])){const j=t.default.info({title:s.createElement(r.Z,null,s.createElement(n.Z,{flex:"1"},"\u63D0\u793A"),s.createElement(n.Z,null,s.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>j.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:s.createElement(r.Z,null,s.createElement(n.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(c.ip_limit==="inner"||c.ip_bind)&&s.createElement(s.Fragment,null,s.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.createElement("br",null),s.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return f("WebRTC disabled or restricted by browser")}const B=p.filter(j=>(0,a.t)(j));return!B||!B.length?f("IP\u83B7\u53D6\u5931\u8D25"):o(B.join(""))}let P=x.candidate.candidate.split(" "),[O,S,I,E,A,R,,T,...D]=P,k=["rtp","rtpc"];if(console.log("event:",x),p.some(B=>B==A)||p.push(A),console.log(" candidate: "+O.split(":")[1]),console.log(" component: "+k[S-1]),console.log(" protocol: "+I),console.log(" priority: "+E),console.log(" ip: "+A),console.log(" port: "+R),console.log(" type: "+T),D.length){console.log("attributes: ");for(let B=0;B "+D[B]+": "+D[B+1])}}})},32503:function(i,d,e){"use strict";e.d(d,{k:function(){return P}});var t=e(54926),r=e(6767),n=e(89621),a=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,_=(S,I,E)=>I in S?a(S,I,{enumerable:!0,configurable:!0,writable:!0,value:E}):S[I]=E,p=(S,I)=>{for(var E in I||(I={}))o.call(I,E)&&_(S,E,I[E]);if(c)for(var E of c(I))f.call(I,E)&&_(S,E,I[E]);return S},x=(S,I)=>s(S,u(I)),g=(S,I)=>{var E={};for(var A in S)o.call(S,A)&&I.indexOf(A)<0&&(E[A]=S[A]);if(S!=null&&c)for(var A of c(S))I.indexOf(A)<0&&f.call(S,A)&&(E[A]=S[A]);return E};const P=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],O={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[P[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${P[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[P[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${P[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:S},{call:I,put:E}){yield E({type:"save",payload:{actionTabs:p({},S)}})},*getMajorList({payload:S},{call:I,put:E,select:A}){const{userInfo:R}=yield A(T=>T.user);if(R!=null&&R.school_id){const T=yield I(t.BA,R.school_id);if(T&&T.data){const D=n.U.getItem(R==null?void 0:R.login);yield E({type:"setMajorOrYearDataSource",payload:{key:P[0],value:T.data.map(k=>({label:k.name,value:k.ec_major_school_id})),active:T.data.length>0?D[0]||T.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:S},{call:I,put:E,select:A}){const R=yield I(t.Nx,S.id),{userInfo:T}=yield A(D=>D.user);if(R&&R.data){const D=n.U.getItem(T==null?void 0:T.login);yield E({type:"setMajorOrYearDataSource",payload:{key:P[1],value:R.data.map(k=>({label:k.year,value:k.ec_year_id})),active:R.data.length>0?S.firstEnter?D[1]:R.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:S={}},{call:I,put:E,select:A}){const{calc:R,page:T,per_page:D}=S,{headerData:k,tabListData:B}=yield A(H=>H.engineeringEvaluteList),{userInfo:j}=yield A(H=>H.user);let V=k.active[P[1]];if(V){let H={id:V,page:T||1,per_page:D||B.pageSize};R&&(H=x(p({},H),{page:B.pageNo}));const Y=yield I(t._y,H),F=[k.active[P[0]],k.active[P[1]]];n.U.setItem(j==null?void 0:j.login,F),Y&&Y.ec_courses&&(yield E({type:"setCourseResults",payload:x(p({},B),{pageNo:H.page,total:Y.count,pageSize:H.per_page||B.pageSize,dataSource:Y.ec_courses.map((K,X)=>x(p({},K),{key:H.page>1?(H.page-1)*H.per_page+X+1:X+1}))})}))}else yield E({type:"setCourseResults",payload:x(p({},B),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:S},{call:I,select:E}){const{headerData:A}=yield E(R=>R.engineeringEvaluteList);A.active[P[1]]&&(yield I(t.F,A.active[P[1]]))},*compute({payload:S},{call:I,put:E}){const A=S,{all:R}=A,T=g(A,["all"]),D=yield I(R?t.At:t.PX,T);D&&D.status===0?(r.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield E({type:"getCourseResults",payload:{calc:!0}})):r.ZP.error(D.message)}},reducers:{save(S,I){return p(p({},S),I.payload)},setMajorOrYearDataSource(S,{payload:I}){let E=S.headerData.active;return I.active&&(E=x(p({},E),{[I.key]:I.active})),x(p({},S),{headerData:x(p({},S.headerData),{dataSource:x(p({},S.headerData.dataSource),{[I.key]:x(p({},S.headerData.dataSource[I.key]),{dataList:I.value})}),active:E})})},setMajorOrYearActive(S,{payload:I}){return x(p({},S),{headerData:x(p({},S.headerData),{active:x(p({},S.headerData.active),{[I.key]:I.value})})})},setCourseResults(S,{payload:I}){return x(p({},S),{tabListData:p(p({},S.tabListData),I)})}},subscriptions:{setup({dispatch:S,history:I}){return I.listen(({pathname:E})=>{E==="/"&&S({type:"query"})})}}};d.Z=O},44192:function(i,d,e){"use strict";e.d(d,{L:function(){return c},r:function(){return f}});var t=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(_,p,x)=>p in _?t(_,p,{enumerable:!0,configurable:!0,writable:!0,value:x}):_[p]=x,u=(_,p)=>{for(var x in p||(p={}))n.call(p,x)&&s(_,x,p[x]);if(r)for(var x of r(p))a.call(p,x)&&s(_,x,p[x]);return _};const c=_=>_==null?void 0:_.map(p=>{const x=(p.sub_disciplines||[]).map(g=>({value:g.id,label:g.name}));return{value:p.id,label:p.name,children:x}}),o={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},f=_=>{if(!_)return;const{all_questions_count:p,all_score:x,single_questions:g,multiple_questions:P,judgement_questions:O,program_questions:S,completion_questions:I,subjective_questions:E,practical_questions:A,combination_questions:R}=_||{},D=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},g),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},P),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},I),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},O),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},E),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},S),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},A),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},R)].filter(k=>k.questions_count>0).map((k,B)=>u(u({},k),{number:o[B+1]}));return{all_questions_count:p,all_score:x,questionList:D}}},89621:function(i,d,e){"use strict";e.d(d,{U:function(){return a},t:function(){return n}});var t=e(62957),r=e(15267);const n=(s,u="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:s})},a={setItem:(s,u)=>{var c;const o=s+"-engineering"+((c=(0,r.eY)())==null?void 0:c.school_id),f=JSON.stringify(u);localStorage.setItem(o,f)},getItem:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id),o=localStorage.getItem(c);return o!==null&&o!=="[object Object]"?JSON.parse(o):[]},clear:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id);localStorage.removeItem(c)}}},48404:function(i,d,e){"use strict";e.d(d,{$f:function(){return p},Cq:function(){return P},GY:function(){return u},I8:function(){return S},Ow:function(){return x},P:function(){return _},Ql:function(){return c},RA:function(){return A},Zm:function(){return o},bz:function(){return s},eF:function(){return O},gQ:function(){return I},ht:function(){return g},kN:function(){return R},n1:function(){return n},nI:function(){return T},o9:function(){return a},sG:function(){return f},wi:function(){return E}});var t=e(49317),r=(D,k,B)=>new Promise((j,V)=>{var H=K=>{try{F(B.next(K))}catch(X){V(X)}},Y=K=>{try{F(B.throw(K))}catch(X){V(X)}},F=K=>K.done?j(K.value):Promise.resolve(K.value).then(H,Y);F((B=B.apply(D,k)).next())});function n(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/avatar.json`,{method:"put",body:D})})}function a(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}.json`,{method:"get"})})}function s(D){return r(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:D})})}function u(D){return r(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:D})})}function c(D){return r(this,null,function*(){return(0,t.ZP)(`/api/schools/${D.id}/departments/for_option.json`,{method:"get",params:D})})}function o(D){return r(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:D})})}function f(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.id}.json`,{method:"put",body:D})})}function _(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/authentication_apply.json`,{method:"delete"})})}function p(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/professional_auth_apply.json`,{method:"delete"})})}function x(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.id}/professional_auth_apply.json`,{method:"post",body:D})})}function g(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.id}/authentication_apply.json`,{method:"post",body:D})})}function P(D){return r(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:D})})}function O(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/phone_bind.json`,{method:"post",body:D})})}function S(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/email_bind.json`,{method:"post",body:D})})}function I(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/password.json`,{method:"put",body:D})})}function E(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.basicInfoId}/open_users/${D.id}.json`,{method:"delete"})})}function A(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${D.login}/cancel_authentication.json`,{method:"post",body:D})})}function R(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${D.login}/cancel_professional_certification.json`,{method:"post",body:D})})}function T(D,k){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${D.login}/videos/${D.id}/create_subject_video.json`,{method:"post",body:k})})}},69891:function(i,d,e){"use strict";e.d(d,{An:function(){return x},TO:function(){return f},my:function(){return p},nZ:function(){return _}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(g,P,O)=>P in g?r(g,P,{enumerable:!0,configurable:!0,writable:!0,value:O}):g[P]=O,c=(g,P)=>{for(var O in P||(P={}))a.call(P,O)&&u(g,O,P[O]);if(n)for(var O of n(P))s.call(P,O)&&u(g,O,P[O]);return g},o=(g,P,O)=>new Promise((S,I)=>{var E=T=>{try{R(O.next(T))}catch(D){I(D)}},A=T=>{try{R(O.throw(T))}catch(D){I(D)}},R=T=>T.done?S(T.value):Promise.resolve(T.value).then(E,A);R((O=O.apply(g,P)).next())});function f(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/inform_up.json`,{method:"post",body:c({},g)})})}function _(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/inform_down.json`,{method:"post",body:c({},g)})})}function p(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/update_informs.json`,{method:"post",body:c({},g)})})}function x(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/new_informs.json`,{method:"post",body:c({},g)})})}},52078:function(i,d,e){"use strict";e.d(d,{$n:function(){return O},H:function(){return P},Nm:function(){return x},Ot:function(){return g},SV:function(){return f},fc:function(){return I},mn:function(){return S},tO:function(){return p},zI:function(){return _}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(E,A,R)=>A in E?r(E,A,{enumerable:!0,configurable:!0,writable:!0,value:R}):E[A]=R,c=(E,A)=>{for(var R in A||(A={}))a.call(A,R)&&u(E,R,A[R]);if(n)for(var R of n(A))s.call(A,R)&&u(E,R,A[R]);return E},o=(E,A,R)=>new Promise((T,D)=>{var k=V=>{try{j(R.next(V))}catch(H){D(H)}},B=V=>{try{j(R.throw(V))}catch(H){D(H)}},j=V=>V.done?T(V.value):Promise.resolve(V.value).then(k,B);j((R=R.apply(E,A)).next())});function f(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:c({},E)})})}function _(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:c({},E)})})}function p(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:c({},E)})})}function x(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E.id}.json`,{method:"get",params:c({},E)})})}function g(E){return o(this,null,function*(){const{id:A}=E;return delete E.id,(0,t.ZP)(`/api/files/${A}.json`,{method:"put",body:c({},E)})})}function P(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E.id}/update_visits.json`,{method:"post"})})}function O(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E==null?void 0:E.id}/watch_list.json`,{method:"get",params:c({},E)})})}function S(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:c({},E)})})}function I(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E==null?void 0:E.id}/add_file_quantity.json`,{method:"post",body:c({},E)})})}},70387:function(i,d,e){"use strict";e.d(d,{CJ:function(){return x},Mf:function(){return I},NA:function(){return O},PC:function(){return g},PP:function(){return P},YQ:function(){return S},cc:function(){return p},dI:function(){return _},yq:function(){return f}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(E,A,R)=>A in E?r(E,A,{enumerable:!0,configurable:!0,writable:!0,value:R}):E[A]=R,c=(E,A)=>{for(var R in A||(A={}))a.call(A,R)&&u(E,R,A[R]);if(n)for(var R of n(A))s.call(A,R)&&u(E,R,A[R]);return E},o=(E,A,R)=>new Promise((T,D)=>{var k=V=>{try{j(R.next(V))}catch(H){D(H)}},B=V=>{try{j(R.throw(V))}catch(H){D(H)}},j=V=>V.done?T(V.value):Promise.resolve(V.value).then(k,B);j((R=R.apply(E,A)).next())});function f(E){return o(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:c({},E)})})}function _(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.boardId}.json`,{method:"get",params:c({},E)})})}function p(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.id}/sticky_top.json`,{method:"put",body:{course_id:E.coursesId}})})}function x(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.id}/sticky_top.json`,{method:"put",body:{course_id:E.coursesId}})})}function g(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.boardId}/reply_list.json`,{method:"get",params:c({},E)})})}function P(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.boardId}/reply.json`,{method:"post",body:c({},E)})})}function O(E){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},E)})})}function S(E){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},E)})})}function I(E){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},E)})})}},77996:function(i,d,e){"use strict";e.d(d,{$T:function(){return _n},A:function(){return Be},Ab:function(){return Va},Al:function(){return se},BQ:function(){return fe},BR:function(){return ie},Bn:function(){return pe},Cq:function(){return bn},D4:function(){return P},DJ:function(){return Re},Dd:function(){return D},Ds:function(){return Ee},EO:function(){return ht},Ed:function(){return Ce},Ew:function(){return En},FU:function(){return Qe},Fg:function(){return k},GV:function(){return bt},Gk:function(){return M},Gm:function(){return ft},Gz:function(){return B},Hf:function(){return f},Hl:function(){return j},Hn:function(){return X},ID:function(){return rt},IU:function(){return Ut},J2:function(){return ct},K$:function(){return et},KP:function(){return me},KT:function(){return Je},L$:function(){return Yt},Lk:function(){return No},Lm:function(){return S},Ls:function(){return ze},MA:function(){return en},Mc:function(){return Za},N7:function(){return ee},Nd:function(){return J},Nl:function(){return Ht},Ns:function(){return Tt},O3:function(){return Ke},Pj:function(){return $e},Q9:function(){return x},QX:function(){return qt},QZ:function(){return vt},R2:function(){return G},Rk:function(){return sr},S9:function(){return Se},SA:function(){return O},U8:function(){return gr},UD:function(){return Er},U_:function(){return W},Uy:function(){return qe},V8:function(){return K},Vw:function(){return He},W0:function(){return Ze},W7:function(){return Oe},WK:function(){return pn},Wr:function(){return gn},YR:function(){return ce},Z0:function(){return Ir},ZL:function(){return ar},ZT:function(){return va},ZX:function(){return ma},Zj:function(){return wa},_9:function(){return Me},_B:function(){return no},_X:function(){return p},aP:function(){return dt},aQ:function(){return ye},aZ:function(){return it},al:function(){return je},bm:function(){return Cr},bz:function(){return ge},c_:function(){return Ur},ds:function(){return Qt},fN:function(){return ha},fr:function(){return At},g4:function(){return St},gq:function(){return V},hf:function(){return de},i:function(){return Mr},i6:function(){return Fe},i7:function(){return Le},iE:function(){return E},iZ:function(){return I},ih:function(){return On},jA:function(){return g},kW:function(){return at},km:function(){return Lt},l4:function(){return F},nP:function(){return R},nQ:function(){return lt},nX:function(){return Nt},oM:function(){return mt},oR:function(){return Ja},o_:function(){return Mt},pf:function(){return Kt},pr:function(){return _o},pv:function(){return on},qB:function(){return le},rS:function(){return H},s:function(){return za},sK:function(){return _},sb:function(){return Dt},sm:function(){return T},t1:function(){return Ie},tB:function(){return ja},td:function(){return cr},tg:function(){return Ue},uh:function(){return Ve},up:function(){return yr},v2:function(){return A},vV:function(){return $t},w9:function(){return N},wH:function(){return Y},wR:function(){return Ne},yS:function(){return _t},yV:function(){return Z},zC:function(){return na},zg:function(){return st}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Pe,$n,aa)=>$n in Pe?r(Pe,$n,{enumerable:!0,configurable:!0,writable:!0,value:aa}):Pe[$n]=aa,c=(Pe,$n)=>{for(var aa in $n||($n={}))a.call($n,aa)&&u(Pe,aa,$n[aa]);if(n)for(var aa of n($n))s.call($n,aa)&&u(Pe,aa,$n[aa]);return Pe},o=(Pe,$n,aa)=>new Promise((yo,ai)=>{var Wa=xe=>{try{De(aa.next(xe))}catch(Xe){ai(Xe)}},Ha=xe=>{try{De(aa.throw(xe))}catch(Xe){ai(Xe)}},De=xe=>xe.done?yo(xe.value):Promise.resolve(xe.value).then(Wa,Ha);De((aa=aa.apply(Pe,$n)).next())});const f=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/update_group.json`,{method:"put",body:Pe})}),_=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/students.json`,{method:"Get",params:Pe})}),p=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/add_groups.json`,{method:"post",body:Pe})}),x=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/list_groups_by_settings.json`,{method:"post",body:Pe})}),g=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/groups.json`,{method:"Get",params:Pe})}),P=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/update_leader_permission.json`,{method:"put",body:Pe})}),O=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/update_group_settings`,{method:"put",body:Pe})}),S=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/group_settings.json`,{method:"Get",params:Pe})}),I=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.id}/test_result_setting.json`,{method:"post",body:Pe})}),E=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/course_videos/configs.json`,{method:"put",body:Pe})}),A=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Pe})}),R=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Pe})}),T=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Pe})}),D=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Pe})}),k=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Pe})}),B=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Pe})}),j=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Pe})});function V(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.course_id}/set_assistant_permissions.json`,{method:"post",body:c({},Pe.permissions)})})}function H(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.course_id}/assistant_permissions.json`,{method:"Get",params:c({},Pe)})})}function Y(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/smart_plans/${Pe==null?void 0:Pe.id}.json`,{method:"Get",params:c({},Pe)})})}function F(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/smart_plans/${Pe==null?void 0:Pe.id}/item_banks.json`,{method:"Get",params:c({},Pe)})})}function K(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:c({},Pe)})})}function X(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:c({},Pe)})})}function Q(Pe){return o(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:c({},Pe)})})}function W(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/top_banner.json`,{method:"get",params:c({},Pe)})})}function N(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id||Pe.coursesId}/left_banner.json`,{method:"get",params:c({},Pe)})})}function J(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/homework_commons.json`,{method:"get",params:c({},Pe)})})}function M(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/homework_commons/list.json`,{method:"get",params:c({},Pe)})})}function Z(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/graduation_topics.json`,{method:"get",params:c({},Pe)})})}function G(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/graduation_tasks.json`,{method:"get",params:c({},Pe)})})}function ee(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${Pe.id}/exercises.json`,{method:"get",params:c({},Pe)})})}function ie(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/polls.json`,{method:"get",params:c({},Pe)})})}function se(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/homework_commons.json`,{method:"get",params:c({},Pe)})})}function le(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/course_groups.json`,{method:"get",params:c({},Pe)})})}function de(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/all_course_groups.json`,{method:"get",params:c({},Pe)})})}function He(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/attendances.json`,{method:"get",params:c({},Pe)})})}function ze(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${Pe.coursesId}/attendances.json`,{method:"get",params:c({},Pe)})})}function st(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/attendances/${Pe.id}/edit.json`,{method:"get",params:c({},Pe)})})}function vt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/informs.json`,{method:"get",params:c({},Pe)})})}function Je(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:c({},Pe)})})}function Ke(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/course_videos.json`,{method:"get",params:c({},Pe)})})}function Re(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/live_links.json`,{method:"get",params:c({},Pe)})})}function Ce(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:c({},Pe)})})}function me(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${Pe.categoryId}/messages.json`,{method:"get",params:c({},Pe)})})}function at(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/course_groups.json`,{method:"get",params:c({},Pe)})})}function ct(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/students.json`,{method:"get",params:c({},Pe)})})}function St(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/statistics.json`,{method:"get",params:c({},Pe)})})}function bt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/work_score.json`,{method:"get",params:c({},Pe)})})}function Ie(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/act_score.json`,{method:"get",params:c({},Pe)})})}function $e(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:c({},Pe)})})}function ft(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:c({},Pe)})})}function Me(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:c({},Pe)})})}function ye(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:c({},Pe)})})}function fe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:c({},Pe)})})}function Oe(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:c({},Pe)})})}function Ee(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:c({},Pe)})})}function et(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:Pe})})}function mt(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:Pe})})}function pe(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:Pe})})}function ge(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Pe})})}function lt(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:Pe})})}function Qe(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:Pe})})}function Ve(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/add_teacher.json`,{method:"post",body:Pe})})}function it(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/add_students_by_search.json`,{method:"post",body:Pe})})}function Dt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/set_public_or_private.json`,{method:"post",body:Pe})})}function Yt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/set_invite_code_halt.json`,{method:"post",body:Pe})})}function Se(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/duplicate_course.json`,{method:"post",body:Pe})})}function je(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/update_end_date.json`,{method:"put",body:Pe})})}function Be(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}.json`,{method:"delete",body:Pe})})}function ht(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/settings.json`,{method:"get",params:c({},Pe)})})}function At(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}.json`,{method:"put",body:Pe})})}function ce(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function _t(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_member_act_score_async.json`,{method:"get",params:c({export:!0},Pe)})})}function qt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:c({export:!0},Pe)})})}function Ht(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:c({export:!0},Pe)})})}function Ut(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_star_user.json`,{method:"get",params:c({export:!0},Pe)})})}function cr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_mooc_records.json`,{method:"get",params:c({export:!0},Pe)})})}function Ze(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_total_course_score.json`,{method:"get",params:c({export:!0},Pe)})})}function dt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Pe)})})}function Mt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe.categoryId}/export_shixun_report.json`,{method:"get",params:c({export:!0},Pe)})})}function ar(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_exercise_users.json`,{method:"get",params:c({export:!0},Pe)})})}function $t(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_exercise_word.json`,{method:"get",params:c({export:!0},Pe)})})}function pr(Pe){return o(this,null,function*(){return Fetch(`/api/homework_commons/${Pe.categoryId}/works_list.zip`,{method:"get",params:c({export:!0},Pe)})})}function Ir(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${Pe.id}.json`,{method:"delete",params:{export:!0}})})}function Mr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api//boards/${Pe.id}.json`,{method:"delete",params:{export:!0}})})}function er(Pe){return o(this,null,function*(){return Fetch(`/api/course_modules/${Pe.id}/sticky_module.json`,{method:"get"})})}function Nt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Pe.id}/hidden_module.json`,{method:"get"})})}function Kt(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:Pe})})}function Qt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${Pe.id}.json`,{method:"get",params:Pe})})}function Cr(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Pe})})}function Er(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Pe})})}function wt(Pe){return o(this,null,function*(){return Fetch(`/api/polls/${Pe.categoryId}/commit_result.xlsx`,{method:"get",params:c({export:!0},Pe)})})}function qe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Pe)})})}function Ue(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_exercise_reports.json`,{method:"get",params:c({export:!0},Pe)})})}function Le(Pe){return(0,t.ZP)(`/api/polls/${Pe.categoryId}/start_answer.json`,{method:"get",params:c({},Pe)})}function rt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Pe.questionId}/poll_votes.json`,{method:"post",body:Pe})})}function Tt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Pe.categoryId}/commit_poll.json`,{method:"post",body:Pe})})}function Lt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.courseId}/tasks_list.json`,{method:"get",params:Pe})})}function gr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.courseId}/update_task_position.json`,{method:"post",body:Pe})})}function yr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Pe})})}function Ur(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/all_course_groups.json`,{method:"get",params:Pe})})}function bn(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/polls/all_course_groups.json`,{method:"get",params:Pe})})}function sr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/students.json`,{method:"get",params:Pe})})}function _n(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Pe.categoryId}/rename_group.json`,{method:"POST",body:Pe})})}function on(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Pe.categoryId}.json`,{method:"delete",body:Pe})})}function Fe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/join_course_group.json`,{method:"POST",body:Pe})})}function Ne(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/transfer_to_course_group.json`,{method:"post",body:Pe})})}function en(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/delete_from_course.json`,{method:"post",body:Pe})})}function pn(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/join_course_group.json`,{method:"post",body:Pe})})}function ha(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/exit_course.json`,{method:"post"})})}function ma(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:c({},Pe)})})}function On(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/mooc_users/${Pe.user_id}/edit.json`,{method:"get",params:Pe})})}function za(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/mooc_users.json`,{method:"post",body:Pe})})}function ja(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/mooc_users/${Pe.user_id}.json`,{method:"put",body:Pe})})}function gn(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${Pe.id}/move_category.json`,{method:"post",body:Pe})})}function Va(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${Pe.id}/move_category.json`,{method:"post",body:Pe})})}function va(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/courseware.json`,{method:"get",params:Pe})})}function _o(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe}/mark_wrong_topic.json`,{method:"get",params:$n})})}function no(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe}/cancel_wrong_topic.json`,{method:"get",params:$n})})}function Ja(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe}/allow_end_group.json`,{method:"get",params:$n})})}function Za(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:$n})})}function No(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/tasks/${Pe}/get_content_for_commit_id.json`,{method:"get",params:$n})})}function ya(Pe){return o(this,null,function*(){return Fetch(`/api/courses/${Pe.course_id}/course_ai_info.json`,{method:"Get",params:c({},Pe)})})}function na(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.course_id}/set_open_ai.json`,{method:"post",body:Pe})})}function En(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.id}/smart_plans.json`,{method:"get",params:c({},Pe)})})}function wa(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.id}/smart_plans.json`,{method:"post",body:c({},Pe)})})}},46831:function(i,d,e){"use strict";e.d(d,{$M:function(){return Je},$P:function(){return et},Ax:function(){return _},Dh:function(){return S},FU:function(){return j},GQ:function(){return W},IN:function(){return Ie},JM:function(){return ye},Ju:function(){return vt},Mn:function(){return bt},Ni:function(){return G},Pg:function(){return I},Pt:function(){return O},Qp:function(){return X},R9:function(){return V},Ux:function(){return Q},Vy:function(){return le},XJ:function(){return Z},XR:function(){return ze},Ze:function(){return T},aq:function(){return R},bQ:function(){return g},bu:function(){return p},cC:function(){return f},jS:function(){return Y},lm:function(){return $e},ml:function(){return J},o3:function(){return Re},pA:function(){return me},pS:function(){return Me},pU:function(){return M},ps:function(){return B},q0:function(){return ct},qN:function(){return St},qS:function(){return P},qj:function(){return He},qt:function(){return Oe},rV:function(){return E},rZ:function(){return fe},rk:function(){return ie},rm:function(){return K},sK:function(){return F},sL:function(){return at},su:function(){return ft},tC:function(){return se},tO:function(){return de},u9:function(){return N},uZ:function(){return ee},vV:function(){return k},xx:function(){return mt},y8:function(){return st},yS:function(){return D},zF:function(){return x},zc:function(){return H},zj:function(){return A},zz:function(){return Ee}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(pe,ge,lt)=>ge in pe?r(pe,ge,{enumerable:!0,configurable:!0,writable:!0,value:lt}):pe[ge]=lt,c=(pe,ge)=>{for(var lt in ge||(ge={}))a.call(ge,lt)&&u(pe,lt,ge[lt]);if(n)for(var lt of n(ge))s.call(ge,lt)&&u(pe,lt,ge[lt]);return pe},o=(pe,ge,lt)=>new Promise((Qe,Ve)=>{var it=Se=>{try{Yt(lt.next(Se))}catch(je){Ve(je)}},Dt=Se=>{try{Yt(lt.throw(Se))}catch(je){Ve(je)}},Yt=Se=>Se.done?Qe(Se.value):Promise.resolve(Se.value).then(it,Dt);Yt((lt=lt.apply(pe,ge)).next())});const f=pe=>(0,t.ZP)(`/api/competitions/${pe.identifier}/create_guide.json`,{method:"post",body:pe}),_=pe=>(0,t.ZP)(`/api/competitions/${pe.identifier}/guides.json`,{method:"get",params:pe}),p=pe=>(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.competition_team_id}/edit_info.json`,{method:"put",body:pe});function x(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/update_result.json`,{method:"post",body:pe})})}function g(pe){return o(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:c({},pe)})})}function P(pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:pe})})}function O(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"post"})})}function S(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_staff.json`,{method:"get"})})}function I(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/common_header.json`,{method:"get"})})}function E(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/${pe.url}`,{method:"get",params:c({},pe)})})}function A(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/update_md_content.json`,{method:"post",body:pe})})}function R(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"get",params:pe})})}function T(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.Teannameid}/edit.json`,{method:"get",params:pe})})}function D(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.Teannameid}.json`,{method:"put",body:pe})})}function k(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.id}/leave.json`,{method:"post",body:pe})})}function B(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.id}.json`,{method:"delete"})})}function j(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"post",body:pe})})}function V(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.id}/add_managers.json`,{method:"post",body:pe})})}function H(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/join.json`,{method:"post",body:pe})})}function Y(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/teachers.json`,{method:"get",params:pe})})}function F(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/students.json`,{method:"get",params:pe})})}function K(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.teamid}/crud_team_members.json`,{method:"post",body:pe})})}function X(pe){return o(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:pe})})}function Q(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/chart_rules.json`,{method:"get"})})}function W(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/charts.json`,{method:"get",params:pe})})}function N(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/results.json`,{method:"get",params:pe})})}function J(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/md_tab_rules.json`,{method:"get",params:pe})})}function M(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/prize.json`,{method:"get",params:pe})})}function Z(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.id}.json`,{method:"get",params:pe})})}function G(pe){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:pe})})}function ee(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/phone_bind.json`,{method:"post",body:pe})})}function ie(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/email_bind.json`,{method:"post",body:pe})})}function se(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/professional_auth_apply.json`,{method:"delete"})})}function le(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/authentication_apply.json`,{method:"delete"})})}function de(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/prize_leader_account.json`,{method:"put",body:pe})})}function He(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.teamid}/shixun_detail.json`,{method:"get"})})}function ze(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.teamid}/course_detail.json`,{method:"get"})})}function st(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/attachments/${pe.id}.json`,{method:"delete"})})}function vt(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.id}/get_certificate_info.json`,{method:"get",params:pe})})}function Je(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.id}/basic_setting.json`,{method:"post",body:pe})})}function Ke(){return o(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Re(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/common_header.json`,{method:"get"})})}function Ce(pe){return o(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:pe})})}function me(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/search_managers.json`,{method:"get",params:pe})})}function at(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/get_managers.json`,{method:"get"})})}function ct(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/add_managers.json`,{method:"post",body:pe})})}function St(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/delete_managers.json`,{method:"delete",body:pe})})}function bt(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/get_picture.json`,{method:"get"})})}function Ie(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/identifier_exist.json`,{method:"post",body:pe})})}function $e(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/get_shixun_settings.json`,{method:"get"})})}function ft(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/shixun_add.json`,{method:"post",body:pe})})}function Me(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/shixun_delete.json`,{method:"delete",body:pe})})}function ye(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/shixun_select.json`,{method:"post",body:pe})})}function fe(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/info_finish.json`,{method:"get"})})}function Oe(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/competition_review.json`,{method:"post",body:c({},pe)})})}function Ee(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"get",params:pe})})}function et(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/all_team_members.json`,{method:"get",params:pe})})}function mt(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_commit_records/member_works.json`,{method:"get",params:pe})})}},54926:function(i,d,e){"use strict";e.d(d,{F:function(){return P},OE:function(){return A},ff:function(){return O},p1:function(){return S},_y:function(){return g},mK:function(){return k},gq:function(){return j},eM:function(){return D},BA:function(){return Y},bA:function(){return K},Nx:function(){return F},Qx:function(){return R},At:function(){return I},PX:function(){return E},Xl:function(){return T},y9:function(){return B},No:function(){return V},ay:function(){return X}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Q,W,N)=>W in Q?r(Q,W,{enumerable:!0,configurable:!0,writable:!0,value:N}):Q[W]=N,f=(Q,W)=>{for(var N in W||(W={}))u.call(W,N)&&o(Q,N,W[N]);if(s)for(var N of s(W))c.call(W,N)&&o(Q,N,W[N]);return Q},_=(Q,W)=>n(Q,a(W)),p=(Q,W)=>{var N={};for(var J in Q)u.call(Q,J)&&W.indexOf(J)<0&&(N[J]=Q[J]);if(Q!=null&&s)for(var J of s(Q))W.indexOf(J)<0&&c.call(Q,J)&&(N[J]=Q[J]);return N},x=(Q,W,N)=>new Promise((J,M)=>{var Z=ie=>{try{ee(N.next(ie))}catch(se){M(se)}},G=ie=>{try{ee(N.throw(ie))}catch(se){M(se)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(Z,G);ee((N=N.apply(Q,W)).next())});const g=Q=>x(void 0,null,function*(){var W=Q,{id:N}=W,J=p(W,["id"]);return(0,t.ZP)(`/api/ec_years/${N}/course_results.json`,{method:"get",params:J})}),P=Q=>{let W=document.createElement("iframe");W.src=`/api/ec_years/${Q}/course_results.xlsx`,W.style.display="none",document.body.appendChild(W)},O=({ec_year_id:Q})=>(0,t.ZP)(`/api/ec_years/${Q}/course_results/get_class.json`,{method:"get"}),S=({ec_year_id:Q,id:W,class_name:N=null})=>(0,t.ZP)(`/api/ec_years/${Q}/course_results/${W}.json`,{method:"get",params:{class_name:N}}),I=({ec_year_id:Q})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:Q}}),E=({ec_course_id:Q})=>(0,t.ZP)(`/api/ec_courses/${Q}/evaluations/evaluation_data`,{method:"POST"}),A=Q=>{let W=document.createElement("iframe");W.src=`/api/ec_years/${Q}/ec_graduation_results.xlsx`,W.style.display="none",document.body.appendChild(W)},R=({ec_year_id:Q})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/compute_all`,{method:"post"}),T=({ec_year_id:Q,id:W})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/compute_single?id=${W}`,{method:"POST"}),D=Q=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results.json`,{method:"get"}),k=Q=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/get_formulas.json`,{method:"get"}),B=({ec_year_id:Q,formula_one:W,formula_two:N,formula_three:J})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:W,formula_two_id:N,formula_three_id:J}}),j=({ec_year_id:Q,id:W})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/${W}.json`,{method:"get"}),V=Q=>{var W=Q,{ec_year_id:N,type:J,goal_value:M}=W,Z=p(W,["ec_year_id","type","goal_value"]);let G=`?type=${J}`,ee={method:"PUT"};return J==="all"&&(G+=`&goal_value=${M}`),J==="each"&&(ee=_(f({},ee),{body:Z})),(0,t.ZP)(`/api/ec_years/${N}/ec_graduation_results/set_goal_value${G}`,ee)};var H=(Q,W,N)=>new Promise((J,M)=>{var Z=ie=>{try{ee(N.next(ie))}catch(se){M(se)}},G=ie=>{try{ee(N.throw(ie))}catch(se){M(se)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(Z,G);ee((N=N.apply(Q,W)).next())});const Y=Q=>H(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${Q}/ec_majors/get_major_list.json`,{method:"get"})}),F=Q=>H(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${Q}/ec_years/get_year_list.json`,{method:"get"})}),K=({ec_year_id:Q,school_id:W})=>(0,t.ZP)(`/api/ec_years/${Q}/top_pages.json`,{method:"get",params:{school_id:W}}),X=({id:Q,name:W})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${Q}?name=${W}`,{method:"PUT"})},84849:function(i,d,e){"use strict";e.d(d,{$Q:function(){return R},$l:function(){return bn},BJ:function(){return ft},CD:function(){return it},Cd:function(){return pe},Cl:function(){return Mr},Di:function(){return at},FN:function(){return sr},Fl:function(){return bt},G$:function(){return G},GK:function(){return St},Ip:function(){return fe},J:function(){return ee},KE:function(){return Ie},L8:function(){return ht},LP:function(){return Oe},MK:function(){return ct},Mb:function(){return Cr},N0:function(){return H},N3:function(){return st},OL:function(){return _n},OO:function(){return E},P8:function(){return Le},PJ:function(){return se},PT:function(){return wt},Qc:function(){return F},RK:function(){return Z},Ty:function(){return $t},UH:function(){return Ut},UK:function(){return vt},Uj:function(){return Qe},Ul:function(){return mt},VL:function(){return Se},Vj:function(){return ce},W4:function(){return lt},WL:function(){return _t},Wj:function(){return M},Wm:function(){return on},X4:function(){return ye},Xn:function(){return Kt},Xo:function(){return X},YY:function(){return me},Ym:function(){return j},Yu:function(){return rt},ZD:function(){return Ue},Zg:function(){return er},_B:function(){return Ve},_F:function(){return Er},_U:function(){return W},_u:function(){return le},aU:function(){return V},ab:function(){return Ir},cC:function(){return ar},cV:function(){return N},c_:function(){return B},ck:function(){return qe},dp:function(){return Y},eA:function(){return yr},fG:function(){return O},gA:function(){return J},gG:function(){return Qt},gJ:function(){return Tt},hk:function(){return x},hv:function(){return g},iB:function(){return P},iU:function(){return S},iw:function(){return Mt},j:function(){return I},k8:function(){return k},kp:function(){return je},lL:function(){return A},lf:function(){return ze},n$:function(){return He},n7:function(){return Q},nF:function(){return At},o3:function(){return Lt},oS:function(){return Ee},oX:function(){return Yt},oy:function(){return pr},pL:function(){return Dt},pu:function(){return Me},q6:function(){return Be},qf:function(){return Ce},qz:function(){return et},s:function(){return Ze},sA:function(){return qt},sS:function(){return gr},se:function(){return Re},tX:function(){return cr},uR:function(){return Je},ux:function(){return $e},wy:function(){return Ke},xA:function(){return dt},yE:function(){return K},yu:function(){return Ht},zP:function(){return T},zR:function(){return Ur}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Fe,Ne,en)=>Ne in Fe?r(Fe,Ne,{enumerable:!0,configurable:!0,writable:!0,value:en}):Fe[Ne]=en,f=(Fe,Ne)=>{for(var en in Ne||(Ne={}))u.call(Ne,en)&&o(Fe,en,Ne[en]);if(s)for(var en of s(Ne))c.call(Ne,en)&&o(Fe,en,Ne[en]);return Fe},_=(Fe,Ne)=>n(Fe,a(Ne)),p=(Fe,Ne,en)=>new Promise((pn,ha)=>{var ma=ja=>{try{za(en.next(ja))}catch(gn){ha(gn)}},On=ja=>{try{za(en.throw(ja))}catch(gn){ha(gn)}},za=ja=>ja.done?pn(ja.value):Promise.resolve(ja.value).then(ma,On);za((en=en.apply(Fe,Ne)).next())});const x=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:Fe}),g=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:Fe}),P=Fe=>(0,t.ZP)(`/api/exercises/${Fe.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:Fe}),O=Fe=>(0,t.ZP)(`/api/exercises/${Fe.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:Fe}),S=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:Fe}),I=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/exercise_tag_result.json`,{method:"get",params:Fe}),E=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/list_student_score.json`,{method:"get",params:Fe}),A=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:Fe}),R=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/score_ranges.json`,{method:"get",params:Fe}),T=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/sava_exam_summary.json`,{method:"post",body:Fe}),D=Fe=>Fetch("/api/intelligent_reviews/exam_summary.json",{method:"post",body:Fe}),k=Fe=>(0,t.ZP)("/api/ai/exam_summaries.json",{method:"post",body:Fe}),B=Fe=>(0,t.ZP)("/api/ai/exam_summaries/polling.json",{method:"post",body:Fe}),j=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/generate_exam_summary.json`,{method:"post",body:Fe}),V=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/exam_summary_settings.json`,{method:"post",body:Fe}),H=Fe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/review_exercise_user.json`,{method:"post",body:Fe})}),Y=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/code_check.json`,{method:"get",params:Fe}),F=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/reset_pwd.json`,{method:"post",body:Fe}),K=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/encrypt_or_decrypt.json`,{method:"post",body:Fe}),X=Fe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/delayed_time_or_force.json`,{method:"post",body:Fe})}),Q=Fe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/exercise_time.json`,{method:"Get",params:Fe})}),W=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/exercise_question_result.json`,{method:"get",params:Fe}),N=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/get_question_type_alias.json`,{method:"get",params:Fe});function J(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe==null?void 0:Fe.id}/teacher_update.json`,{method:"post",body:f({},Fe)})})}function M(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe==null?void 0:Fe.id}/adjust_comment.json`,{method:"post",body:f({},Fe)})})}function Z(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/edit_question_type_alias.json`,{method:"POST",body:Fe})})}function G(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_lists.json`,{method:"get",params:f({},Fe)})})}function ee(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_identity_photos.json`,{method:"get",params:f({},Fe)})})}function ie(Fe){return p(this,null,function*(){return Fetch(`/api/exercises/${Fe.categoryId}/video_push_url.json`,{method:"get",params:f({},Fe)})})}function se(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/query_identity_photo_state.json`,{method:"get",params:f({},Fe)})})}function le(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_result.json`,{method:"get",params:f({},Fe)})})}function de(Fe){return p(this,null,function*(){return Fetch(`/api/exercises/${Fe.categoryId}/exercise_score_area_setting.json`,{method:"post",body:f({},Fe)})})}function He(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Fe)})})}function ze(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:f({},Fe)})})}function st(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises/publish_modal.json`,{method:"get",params:f({},Fe)})})}function vt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/common_header.json`,{method:"get",params:f({},Fe)})})}function Je(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises.json`,{method:"post",body:f({},Fe)})})}function Ke(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}.json`,{method:"put",body:f({},Fe)})})}function Re(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Fe.exerciseId}/update_name.json`,{method:"post",body:f({},Fe)})})}function Ce(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}.json`,{method:"get",params:f({},Fe)})})}function me(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:f({},Fe)})})}function at(Fe){return p(this,null,function*(){const{id:Ne}=Fe;return delete Fe.id,(0,t.ZP)(`/api/exercise_questions/${Ne}.json`,{method:"put",body:f({},Fe)})})}function ct(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_questions.json`,{method:"post",body:f({},Fe)})})}function St(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}/up_down.json`,{method:"post",body:f({},Fe)})})}function bt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}.json`,{method:"delete"})})}function Ie(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises/end_modal.json`,{method:"get",params:f({},Fe)})})}function $e(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/publish_groups.json`,{method:"get",params:f({},Fe)})})}function ft(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/user_exercise_detail.json`,{method:"get",params:f({},Fe)})})}function Me(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/consult_exercise.json`,{method:"post",body:f({},Fe)})})}function ye(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/teacher_appraise.json`,{method:"get",params:f({},Fe)})})}function fe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}/adjust_score.json`,{method:"post",body:f({},Fe)})})}function Oe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}/batch_adjust_score.json`,{method:"post",body:f({},Fe)})})}function Ee(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/adjust_score.json`,{method:"post",body:f({},Fe)})})}function et(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/delayed_time.json`,{method:"post",body:f({},Fe)})})}function mt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_setting.json`,{method:"get",params:f({},Fe)})})}function pe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${Fe.categoryId}/exercise_setting.json`,{method:"get",params:f({},Fe)})})}function ge(Fe){return p(this,null,function*(){return Fetch(`/api/exercises/${Fe.categoryId}/commit_setting.json`,{method:"post",body:f({},Fe)})})}function lt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/review_exercises_by_students.json`,{method:"post",body:f({},Fe)})})}function Qe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_lists.xlsx`,{method:"get",params:_(f({},Fe),{export:!0})})})}function Ve(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/user_exercise_detail.json`,{method:"get",params:_(f({},Fe),{login:null})})}function it(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/start.json`,{method:"get",params:f({},Fe)})}function Dt(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/start_unlock.json`,{method:"post",body:f({},Fe)})}function Yt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.questionId}/exercise_answers.json`,{method:"post",body:Fe})})}function Se(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/commit_exercise.json`,{method:"post",body:Fe})})}function je(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/simulate_commit_exercise.json`,{method:"post",body:Fe})})}function Be(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/redo_exercise.json`,{method:"post",body:Fe})})}function ht(Fe){return(0,t.ZP)(`/api/${Fe.url}`,{method:"get",params:f({},Fe)})}function At(Fe){return(0,t.ZP)(`/api/problems/${Fe.id}/start.json`,{method:"get",params:f({},Fe)})}function ce(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/begin_commit.json`,{method:"get",params:f({},Fe)})}function _t(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/simulate_begin_commit.json`,{method:"get",params:f({},Fe)})}function qt(Fe){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:f({},Fe)})}function Ht(Fe){return console.log("params:",Fe),(0,t.ZP)(`/api/exercises/${Fe.categoryId}/edit.json`,{method:"get",params:f({},Fe)})}function Ut(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/get_objective_scores.json`,{method:"get",params:f({},Fe)})}function cr(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/redo_modal.json`,{method:"get",params:f({},Fe)})}function Ze(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/student_redo_lists.json`,{method:"get",params:f({},Fe)})}function dt(Fe){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:Fe})}function Mt(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/exercise_header.json`,{method:"get",params:f({},Fe)})}function ar(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/allow_close_camera.json`,{method:"post",body:f({},Fe)})}function $t(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/get_exercise_user_info.json`,{method:"get",params:f({},Fe)})}function pr(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/record_screen`,{method:"post",params:f({},Fe)})}function Ir(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/unbind_ip.json`,{method:"post",body:f({},Fe)})}function Mr(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/check_ip.json`,{method:"get",params:f({},Fe)})}function er(Fe){return(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/check_user_exercise.json`,{method:"get",params:f({},Fe)})}function Nt(Fe){return Fetch(`/api/exercises/${Fe.id}/make_up_students.json`,{method:"get",params:f({},Fe)})}function Kt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises/code_review_detail.json`,{method:"get",params:f({},Fe)})})}function Qt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.question_id}/adjust_score.json`,{method:"post",body:f({},Fe)})})}function Cr(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Fe.categoryId}/simulate_exercise.json`,{method:"post",body:f({},Fe)})})}function Er(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/simulate_start_answer.json`,{method:"get",params:f({},Fe)})})}function wt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_time.json`,{method:"get",params:f({},Fe)})})}function qe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/commit_screen_at.json`,{method:"post",body:f({},Fe)})})}function Ue(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/unlock_user`,{method:"post",body:Ne})})}function Le(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/save_screen_record.json`,{method:"post",body:Ne})})}function rt(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/screen_record_list.json`,{method:"get",params:Ne})})}function Tt(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:f({},Fe)})})}function Lt(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:Fe})})}function gr(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/mark.json`,{method:"post",body:Ne})})}function yr(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Fe}/exit_delete_pod.json`,{method:"post",body:Fe})})}function Ur(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:Fe})})}function bn(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe==null?void 0:Fe.id}/send_to_item_bank.json`,{method:"post",body:f({},Fe)})})}function sr(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${Fe.exercise_id}/wrong_details.json`,{method:"get",params:f({},Fe)})})}function _n(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${Fe.exercise_id}/wrong_question.json`,{method:"get",params:f({},Fe)})})}function on(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${Fe.exercise_id}/wrong_question_lists.json`,{method:"get",params:f({},Fe)})})}},242:function(i,d,e){"use strict";e.d(d,{B0:function(){return p},Si:function(){return I},Sr:function(){return A},YP:function(){return E},b4:function(){return S},bc:function(){return f},dX:function(){return O},eh:function(){return R},iI:function(){return g},kd:function(){return _},qR:function(){return P},sW:function(){return x},ts:function(){return D},vL:function(){return T},z5:function(){return k}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(B,j,V)=>j in B?r(B,j,{enumerable:!0,configurable:!0,writable:!0,value:V}):B[j]=V,c=(B,j)=>{for(var V in j||(j={}))a.call(j,V)&&u(B,V,j[V]);if(n)for(var V of n(j))s.call(j,V)&&u(B,V,j[V]);return B},o=(B,j,V)=>new Promise((H,Y)=>{var F=Q=>{try{X(V.next(Q))}catch(W){Y(W)}},K=Q=>{try{X(V.throw(Q))}catch(W){Y(W)}},X=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(F,K);X((V=V.apply(B,j)).next())});function f(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:B})})}function _(B){return o(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:B})})}function p(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}/sticky_or_cancel.json`,{method:"post",body:B})})}function x(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}.json`,{method:"delete",body:B})})}function g(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:B})})}function P(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}/edit.json`,{method:"get",params:B})})}function O(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:c({},B)})})}function S(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}.json`,{method:"put",body:c({},B)})})}function I(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}.json`,{method:"get",params:B})})}function E(B){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${B.user_id}/watch.json`,{method:"post",body:B})})}function A(B){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${B.user_id}/watch.json`,{method:"delete",body:c({},B)})})}function R(B){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${B.id}/reward_code.json`,{method:"post",body:B})})}function T(B){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${B.id}/plus.json`,{method:"post",body:B})})}function D(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:B})})}function k(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}/more_reply.json`,{method:"get",params:B})})}},88627:function(i,d,e){"use strict";e.d(d,{D2:function(){return n},n0:function(){return a},tk:function(){return s}});var t=e(49317),r=(u,c,o)=>new Promise((f,_)=>{var p=P=>{try{g(o.next(P))}catch(O){_(O)}},x=P=>{try{g(o.throw(P))}catch(O){_(O)}},g=P=>P.done?f(P.value):Promise.resolve(P.value).then(p,x);g((o=o.apply(u,c)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get"})})}function a(){return r(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function s(u){return r(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:u})})}},79405:function(i,d,e){"use strict";e.d(d,{B6:function(){return p},Gr:function(){return D},Mf:function(){return A},NA:function(){return I},PC:function(){return O},PP:function(){return S},QA:function(){return _},RP:function(){return j},Sv:function(){return B},YQ:function(){return E},_n:function(){return V},hL:function(){return T},je:function(){return P},mM:function(){return g},wA:function(){return k},x_:function(){return x},y0:function(){return R},y3:function(){return f}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(H,Y,F)=>Y in H?r(H,Y,{enumerable:!0,configurable:!0,writable:!0,value:F}):H[Y]=F,c=(H,Y)=>{for(var F in Y||(Y={}))a.call(Y,F)&&u(H,F,Y[F]);if(n)for(var F of n(Y))s.call(Y,F)&&u(H,F,Y[F]);return H},o=(H,Y,F)=>new Promise((K,X)=>{var Q=J=>{try{N(F.next(J))}catch(M){X(M)}},W=J=>{try{N(F.throw(J))}catch(M){X(M)}},N=J=>J.done?K(J.value):Promise.resolve(J.value).then(Q,W);N((F=F.apply(H,Y)).next())});function f(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}.json`,{method:"get",params:c({},H)})})}function _(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}/tasks_list.json`,{method:"get",params:c({},H)})})}function p(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/show_detail.json`,{method:"get",params:c({},H)})})}function x(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}.json`,{method:"get",params:c({},H)})})}function g(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/refuse_student_topic.json`,{method:"post",body:c({},H)})})}function P(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/accept_student_topic.json`,{method:"post",body:c({},H)})})}function O(H){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${H.categoryId}/show_comment.json`,{method:"get",params:c({},H)})})}function S(H){return o(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:c({},H)})})}function I(H){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},H)})})}function E(H){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},H)})})}function A(H){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},H)})})}function R(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/new.json`,{method:"get",params:c({},H)})})}function T(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/edit.json`,{method:"get",params:c({},H)})})}function D(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics`,{method:"post",body:c({},H)})})}function k(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}`,{method:"put",body:c({},H)})})}function B(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_tasks`,{method:"post",body:c({},H)})})}function j(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}.json`,{method:"put",body:c({},H)})})}function V(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}/edit.json`,{method:"get",params:c({},H)})})}},45567:function(i,d,e){"use strict";e.d(d,{AA:function(){return k},Db:function(){return _},Dd:function(){return P},F7:function(){return F},Fi:function(){return J},H3:function(){return g},HF:function(){return S},HH:function(){return x},Ib:function(){return Q},J3:function(){return u},NT:function(){return n},NX:function(){return E},Ot:function(){return I},Ou:function(){return K},Ps:function(){return a},Rk:function(){return Y},Tz:function(){return f},V1:function(){return W},Wz:function(){return s},Xh:function(){return p},Xw:function(){return H},YS:function(){return j},Zd:function(){return N},bS:function(){return A},ck:function(){return O},eh:function(){return D},il:function(){return c},j7:function(){return o},jW:function(){return B},km:function(){return V},l5:function(){return T},rU:function(){return M},xF:function(){return R},zC:function(){return X},zT:function(){return Z}});var t=e(49317),r=(G,ee,ie)=>new Promise((se,le)=>{var de=st=>{try{ze(ie.next(st))}catch(vt){le(vt)}},He=st=>{try{ze(ie.throw(st))}catch(vt){le(vt)}},ze=st=>st.done?se(st.value):Promise.resolve(st.value).then(de,He);ze((ie=ie.apply(G,ee)).next())});function n(G){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:G})}function a(G){return(0,t.ZP)(`/api/schools/${G.id}/departments/for_option.json`,{method:"get",params:G})}function s(G){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:G})}function u(G){return(0,t.ZP)("/api/graduations.json",{method:"get",params:G})}function c(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.stageid}/authorized_redelivery.json`,{method:"POST",body:G})})}function o(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.stageid}/submit.json`,{method:"POST",body:G})})}function f(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/export_status.json`,{method:"get",params:G})})}function _(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/export_all_attachments.json`,{method:"get",params:G})})}function p(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.id}.json`,{method:"get",params:G})})}function x(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/set_final_score.json`,{method:"POST",body:G})})}function g(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/final_score.json`,{method:"get",params:G})})}function P(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/set_novice_guide.json`,{method:"POST",body:G})})}function O(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_notices/${G.doid}/set_do.json`,{method:"POST",body:G})})}function S(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers.json`,{method:"POST",body:G})})}function I(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_students/${G.id}/update_major.json`,{method:"PUT",body:G})})}function E(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students.json`,{method:"POST",body:G})})}function A(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers/search.json`,{method:"get",params:G})})}function R(G){return r(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:G})})}function T(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students/search.json`,{method:"get",params:G})})}function D(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students.json`,{method:"get",params:G})})}function k(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers.json`,{method:"get",params:G})})}function B(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.graduation_id}/graduation_tasks.json`,{method:"POST",body:G})})}function j(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.graduation_id}/graduation_tasks/${G.id}.json`,{method:"PUT",body:G})})}function V(G){return r(this,null,function*(){var ee;return(0,t.ZP)(`/api/graduations/${G.id}/graduation_tasks/${(ee=G.ids)==null?void 0:ee[0]}`,{method:"DELETE",body:{ids:G.ids}})})}function H(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_tasks.json`,{method:"get",params:G})})}function Y(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_notices.json`,{method:"get",params:G})})}function F(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}.json`,{method:"get"})})}function K(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G==null?void 0:G.id}/common_header.json`,{method:"get"})})}function X(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/preview.json`,{method:"get"})})}function Q(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/not_pass.json`,{method:"post",body:ee})})}function W(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/pass.json`,{method:"post",body:ee})})}function N(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/not_pass.json`,{method:"post",body:ee})})}function J(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/pass.json`,{method:"post",body:ee})})}function M(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/batch_delete`,{method:"delete",body:ee})})}function Z(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/batch_delete`,{method:"delete",body:ee})})}},73505:function(i,d,e){"use strict";e.d(d,{LA:function(){return u},S_:function(){return c},Tt:function(){return n},cR:function(){return a},vm:function(){return s}});var t=e(49317),r=(o,f,_)=>new Promise((p,x)=>{var g=S=>{try{O(_.next(S))}catch(I){x(I)}},P=S=>{try{O(_.throw(S))}catch(I){x(I)}},O=S=>S.done?p(S.value):Promise.resolve(S.value).then(g,P);O((_=_.apply(o,f)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function a(o){return r(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:o})})}function s(o){return r(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:o})})}function u(o){return r(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function c(o){return r(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:o})})}},80007:function(i,d,e){"use strict";e.d(d,{AD:function(){return f},Ig:function(){return _},Ko:function(){return g},QJ:function(){return P},Ub:function(){return O},V8:function(){return p},dl:function(){return S},w0:function(){return x}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(I,E,A)=>E in I?r(I,E,{enumerable:!0,configurable:!0,writable:!0,value:A}):I[E]=A,c=(I,E)=>{for(var A in E||(E={}))a.call(E,A)&&u(I,A,E[A]);if(n)for(var A of n(E))s.call(E,A)&&u(I,A,E[A]);return I},o=(I,E,A)=>new Promise((R,T)=>{var D=j=>{try{B(A.next(j))}catch(V){T(V)}},k=j=>{try{B(A.throw(j))}catch(V){T(V)}},B=j=>j.done?R(j.value):Promise.resolve(j.value).then(D,k);B((A=A.apply(I,E)).next())});function f(I){return o(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:c({},I)})})}function _(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/unread_message_info.json`,{method:"get",params:c({},I)})})}function p(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"get",params:c({},I)})})}function x(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"post",body:c({},I)})})}function g(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.id}/recent_contacts.json`,{method:"get",params:c({},I)})})}function P(I){return o(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:c({},I)})})}function O(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_message_details.json`,{method:"get",params:c({},I)})})}function S(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages/${I.id}.json`,{method:"delete"})})}},38500:function(i,d,e){"use strict";e.d(d,{A2:function(){return P},CI:function(){return p},Ep:function(){return g},Ex:function(){return R},R7:function(){return f},WW:function(){return T},_V:function(){return A},ms:function(){return I},s0:function(){return O},vf:function(){return x},xn:function(){return _},yy:function(){return E}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(D,k,B)=>k in D?r(D,k,{enumerable:!0,configurable:!0,writable:!0,value:B}):D[k]=B,c=(D,k)=>{for(var B in k||(k={}))a.call(k,B)&&u(D,B,k[B]);if(n)for(var B of n(k))s.call(k,B)&&u(D,B,k[B]);return D},o=(D,k,B)=>new Promise((j,V)=>{var H=K=>{try{F(B.next(K))}catch(X){V(X)}},Y=K=>{try{F(B.throw(K))}catch(X){V(X)}},F=K=>K.done?j(K.value):Promise.resolve(K.value).then(H,Y);F((B=B.apply(D,k)).next())});function f(D){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${D.coursesId}/online_learning.json`,{method:"get"})})}function _(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}.json`,{method:"put",body:D})})}function p(D){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${D.coursesId}/course_stages.json`,{method:"post",body:D})})}function x(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/add_shixun_to_stage.json`,{method:"post",body:D})})}function g(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/select_shixun_to_stage.json`,{method:"post",body:D})})}function P(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/add_video_to_stage.json`,{method:"post",body:D})})}function O(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/add_attachment_to_stage.json`,{method:"post",body:D})})}function S(D){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:D})})}function I(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/up_position.json`,{method:"post"})})}function E(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/down_position.json`,{method:"post"})})}function A(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}.json`,{method:"delete"})})}function R(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.stage_id}/items/move_position.json`,{method:"post",body:c({},D)})})}function T(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.stage_id}/items/${D.id}`,{method:"delete"})})}},37166:function(i,d,e){"use strict";e.d(d,{DF:function(){return P},Di:function(){return W},Dm:function(){return Y},Dq:function(){return ie},Gd:function(){return g},Hb:function(){return se},Hm:function(){return j},ID:function(){return o},JP:function(){return ee},NC:function(){return k},Pl:function(){return O},Qc:function(){return a},Qp:function(){return F},RK:function(){return _},YP:function(){return B},a2:function(){return u},ar:function(){return x},cV:function(){return f},d1:function(){return p},dp:function(){return n},fn:function(){return S},iT:function(){return R},jK:function(){return H},kF:function(){return le},kp:function(){return A},lc:function(){return E},oF:function(){return J},q$:function(){return c},qN:function(){return V},tS:function(){return I},ts:function(){return T},un:function(){return X},w0:function(){return Q},wX:function(){return K},yE:function(){return s}});var t=e(49317),r=(de,He,ze)=>new Promise((st,vt)=>{var Je=Ce=>{try{Re(ze.next(Ce))}catch(me){vt(me)}},Ke=Ce=>{try{Re(ze.throw(Ce))}catch(me){vt(me)}},Re=Ce=>Ce.done?st(Ce.value):Promise.resolve(Ce.value).then(Je,Ke);Re((ze=ze.apply(de,He)).next())});const n=de=>(0,t.ZP)(`/api/examination_banks/${de==null?void 0:de.id}/code_check.json`,{method:"get",params:de}),a=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/reset_pwd.json`,{method:"post",body:de}),s=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/encrypt_or_decrypt.json`,{method:"post",body:de}),u=de=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:de}),c=de=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:de}),o=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/copy.json`,{method:"post",body:de}),f=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/get_question_type_alias.json`,{method:"get",params:de});function _(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/edit_question_type_alias.json`,{method:"POST",body:de})})}function p(de){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:de})})}function x(de){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:de})})}function g(de){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:de})})}function P(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/set_public.json`,{method:"post"})})}function O(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/set_private.json`,{method:"post"})})}function S(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}.json`,{method:"delete"})})}function I(de){return r(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:de})})}const E=de=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:de});function A(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/send_to_course.json`,{method:"post",body:de})})}function R(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}.json`,{method:"get",params:de})})}function T(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}/set_score`,{method:"post",body:de})})}function D(de){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}/set_shixun_score.json`,{method:"post",body:de})})}function k(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}.json`,{method:"delete"})})}function B(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:de})})}function j(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:de})})}function V(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}/adjust_position.json`,{method:"post",body:de})})}function H(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}.json`,{method:"put",body:de})})}function Y(de){return r(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:de})})}function F(de){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:de})})}function K(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de==null?void 0:de.id}/set_public.json`,{method:"post",body:de})})}function X(de){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:de})})}function Q(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/update_exam.json`,{method:"put",body:de})})}function W(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/edit_exam.json`,{method:"get"})})}function N(de,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de}/examination_banks_item_banks.json`,{method:"post",body:He})})}function J(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:de})})}function M(de,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de}/sort_question_type.json`,{method:"post",body:He})})}function Z(de){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de.exam_id}/examination_banks_item_banks/${de.question_id}.json`,{method:"delete"})})}function G(de,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de}/batch_set_score.json`,{method:"post",body:He})})}function ee(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de}/simulate_exercise.json`,{method:"post"})})}function ie(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de}/exercise_header.json`,{method:"get"})})}function se(de,He,ze){return r(this,null,function*(){const st=new FormData;return st.append("file",He),st.append("course_discipline_id",ze),(0,t.ZP)(`/api/examination_banks/${de}/import_item_banks.json`,{method:"post",body:st},!0)})}function le(de){return r(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:de})})}},3761:function(i,d,e){"use strict";e.d(d,{$D:function(){return me},A2:function(){return _t},A7:function(){return rt},AP:function(){return Fe},AQ:function(){return ze},Ax:function(){return $t},Az:function(){return on},Bn:function(){return yr},Bz:function(){return E},CB:function(){return D},CI:function(){return cr},Cc:function(){return bn},D$:function(){return p},DQ:function(){return wt},DU:function(){return Se},EG:function(){return H},EP:function(){return Ce},Ep:function(){return ce},Er:function(){return ye},Eu:function(){return R},Ex:function(){return Mr},FD:function(){return qe},F_:function(){return Yt},Fg:function(){return W},GY:function(){return Qt},Go:function(){return $e},Gz:function(){return N},Hl:function(){return J},Ho:function(){return S},JS:function(){return ge},Jd:function(){return k},Ju:function(){return A},KM:function(){return St},M1:function(){return f},M2:function(){return Ht},Mk:function(){return _n},Mt:function(){return Ut},Mu:function(){return pr},NV:function(){return gr},O9:function(){return O},PQ:function(){return T},Q:function(){return Oe},S$:function(){return x},Sp:function(){return He},VO:function(){return Ue},WD:function(){return Kt},WO:function(){return Me},WW:function(){return er},YP:function(){return F},_C:function(){return Lt},_V:function(){return ar},b:function(){return g},bw:function(){return Re},bz:function(){return Er},c2:function(){return B},c3:function(){return pe},cn:function(){return G},dX:function(){return X},eJ:function(){return Ie},ef:function(){return Dt},fh:function(){return ee},fj:function(){return ft},gU:function(){return Tt},hS:function(){return M},id:function(){return sr},jT:function(){return Le},j_:function(){return K},ke:function(){return Nt},lk:function(){return de},mB:function(){return _},mE:function(){return I},mQ:function(){return le},ms:function(){return dt},mx:function(){return et},nq:function(){return Q},ol:function(){return Cr},p:function(){return vt},p4:function(){return Ee},pU:function(){return se},pf:function(){return V},rS:function(){return lt},rs:function(){return bt},s0:function(){return qt},se:function(){return j},sm:function(){return mt},tS:function(){return Z},tu:function(){return ie},ue:function(){return st},vf:function(){return ht},w4:function(){return Je},wA:function(){return Ur},wv:function(){return Y},xG:function(){return At},xn:function(){return Be},yN:function(){return Ke},yy:function(){return Mt},zc:function(){return P}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Ne,en,pn)=>en in Ne?r(Ne,en,{enumerable:!0,configurable:!0,writable:!0,value:pn}):Ne[en]=pn,c=(Ne,en)=>{for(var pn in en||(en={}))a.call(en,pn)&&u(Ne,pn,en[pn]);if(n)for(var pn of n(en))s.call(en,pn)&&u(Ne,pn,en[pn]);return Ne},o=(Ne,en,pn)=>new Promise((ha,ma)=>{var On=gn=>{try{ja(pn.next(gn))}catch(Va){ma(Va)}},za=gn=>{try{ja(pn.throw(gn))}catch(Va){ma(Va)}},ja=gn=>gn.done?ha(gn.value):Promise.resolve(gn.value).then(On,za);ja((pn=pn.apply(Ne,en)).next())});const f=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/student_detail.json",{method:"get",params:Ne})}),_=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_detail.json",{method:"get",params:Ne})}),p=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/update_statistic.json",{method:"get",params:Ne})}),x=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/statistic_lists.json",{method:"get",params:Ne})}),g=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/route_statistics.json",{method:"get",params:Ne})}),P=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:Ne})}),O=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:Ne})}),S=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:Ne})}),I=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:Ne})}),E=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/v2/knowledge_graphs/${Ne==null?void 0:Ne.graphable_type}/${Ne==null?void 0:Ne.graphable_id}`,{method:"get",params:Ne})}),A=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/detail.json`,{method:"get",params:Ne})}),R=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals/home.json",{method:"get",params:Ne})}),T=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_tags/${Ne==null?void 0:Ne.id}.json`,{method:"delete",body:Ne})}),D=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"POST",body:Ne})}),k=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"get",params:Ne})}),B=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:Ne})}),j=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/edit`,{method:"get",params:Ne})}),V=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}.json`,{method:"delete",body:Ne})}),H=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}.json`,{method:"PUT",body:Ne})}),Y=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"POST",body:Ne})}),F=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"get",params:Ne})}),K=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:Ne})}),X=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:Ne})}),Q=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Ne})}),W=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Ne})}),N=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Ne})}),J=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Ne})}),M=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Ne})});function Z(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:c({},Ne)})})}function G(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:c({},Ne)})})}function ee(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:c({},Ne)})})}function ie(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}.json`,{method:"PUT",body:Ne})})}function se(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:Ne})})}function le(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/edit.json`,{method:"get"})})}function de(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}.json`,{method:"get",params:c({identifier:Ne.id},Ne)})})}function He(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.id}.json`,{method:"get",params:c({identifier:Ne.id},Ne)})})}function ze(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/right_banner.json`,{method:"get",params:Ne})})}function st(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/spoc_courses.json`,{method:"get",params:Ne})})}const vt=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:Ne})}),Je=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${Ne.id}/children.json`,{method:"Get",params:Ne})});function Ke(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:Ne})})}function Re(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/update_team_title.json`,{method:"post",body:Ne})})}function Ce(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/delete_member.json`,{method:"Delete",body:Ne})})}function me(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/spoc_courses/${Ne==null?void 0:Ne.courseid}.json`,{method:"Delete"})})}function at(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/up_member_position.json`,{method:"post",body:Ne})})}function ct(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/down_member_position.json`,{method:"post",body:Ne})})}function St(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:Ne})})}function bt(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:Ne})})}function Ie(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}.json`,{method:"Delete",body:Ne})})}function $e(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/publish.json`,{method:"post",body:Ne})})}function ft(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/cancel_publish.json`,{method:"post",body:Ne})})}function Me(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/apply_public.json`,{method:"post",body:Ne})})}function ye(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/cancel_public.json`,{method:"post",body:Ne})})}function fe(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/choose_course.json`,{method:"get",params:Ne})})}function Oe(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function Ee(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function et(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/add_subject_members.json`,{method:"post",body:Ne})})}function mt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/spoc_courses.json`,{method:"post",body:Ne})})}function pe(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/appointment.json`,{method:"post",body:Ne})})}function ge(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.id}/join_excellent_course.json`,{method:"post",body:Ne})})}function lt(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Ne})})}function Qe(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/statistics_info.json`,{method:"get",params:Ne})})}function Ve(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/shixun_analyze.json`,{method:"get",params:Ne})})}function it(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/learning_analyze.json`,{method:"get",params:Ne})})}function Dt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/learning_statistics.json`,{method:"get",params:Ne})})}function Yt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/shixun_statistics.json`,{method:"get",params:Ne})})}function Se(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/study_analyze/${Ne.type}.json`,{method:"get",params:Ne})})}function je(Ne){return o(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Ne})})}function Be(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}.json`,{method:"put",body:Ne})})}function ht(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_shixun_to_stage.json`,{method:"post",body:Ne})})}const At=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${Ne==null?void 0:Ne.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Ne})});function ce(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/select_shixun_to_stage.json`,{method:"post",body:Ne})})}function _t(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_video_to_stage.json`,{method:"post",body:Ne})})}function qt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_attachment_to_stage.json`,{method:"post",body:Ne})})}function Ht(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Ne.id}.json`,{method:"put",body:Ne})})}function Ut(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_blank_to_stage.json`,{method:"post",body:Ne})})}function cr(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:Ne})})}function Ze(Ne){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Ne})})}function dt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/up_position.json`,{method:"get"})})}function Mt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/down_position.json`,{method:"get"})})}function ar(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}.json`,{method:"delete"})})}function $t(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.pathId}/discusses.json`,{method:"get",params:c({},Ne)})})}function pr(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.coursesId}/excellent_discusses.json`,{method:"get",params:c({},Ne)})})}function Ir(Ne){return o(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:c({},Ne)})})}function Mr(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.stage_id}/items/move_position`,{method:"post",body:c({},Ne)})})}function er(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.stage_id}/items/${Ne.id}`,{method:"delete"})})}function Nt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.id}/excellent_discuss`,{method:"post",body:c({},Ne)})})}function Kt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/post_discuss`,{method:"post",body:c({},Ne)})})}function Qt(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:Ne})})}function Cr(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:Ne})})}function Er(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Ne})})}function wt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne==null?void 0:Ne.id}/add_homework_to_stage.json`,{method:"post",body:Ne})})}function qe(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Ne==null?void 0:Ne.id}/edit.json`,{method:"get",params:Ne})})}function Ue(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Ne==null?void 0:Ne.id}.json`,{method:"put",body:Ne})})}function Le(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Ne==null?void 0:Ne.user_id}/subjects/subject_homework.json`,{method:"get",params:Ne})})}function rt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Ne==null?void 0:Ne.user_id}/courses/course_homework.json`,{method:"get",params:Ne})})}function Tt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne==null?void 0:Ne.course_id}/smart_plans/get_ppt_file.json`,{method:"get",params:Ne})})}function Lt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne==null?void 0:Ne.id}/batch_add_homework_to_stage.json`,{method:"post",body:Ne})})}function gr(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Ne})})}function yr(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Ne==null?void 0:Ne.user_login}/subjects/cancel.json`,{method:"get",params:Ne})})}const Ur=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_graph_statistics.json",{method:"get",params:Ne})}),bn=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_statistic_lists.json",{method:"get",params:Ne})}),sr=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/statistics.json`,{method:"get",params:Ne})}),_n=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/statistic_lists.json`,{method:"get",params:Ne})}),on=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/statistic_detail.json`,{method:"get",params:Ne})}),Fe=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/student_detail.json`,{method:"get",params:Ne})})},92216:function(i,d,e){"use strict";e.d(d,{Fd:function(){return Q},Hi:function(){return x},IU:function(){return k},KE:function(){return P},Kc:function(){return N},MK:function(){return B},Q9:function(){return A},Qg:function(){return D},Qn:function(){return S},UK:function(){return p},W:function(){return M},Ye:function(){return T},_c:function(){return f},hO:function(){return Y},iV:function(){return J},jy:function(){return j},kp:function(){return H},lf:function(){return E},m7:function(){return g},n$:function(){return I},rJ:function(){return R},s3:function(){return _},ux:function(){return O},vf:function(){return X},wh:function(){return V},wo:function(){return W},x$:function(){return K}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Z,G,ee)=>G in Z?r(Z,G,{enumerable:!0,configurable:!0,writable:!0,value:ee}):Z[G]=ee,c=(Z,G)=>{for(var ee in G||(G={}))a.call(G,ee)&&u(Z,ee,G[ee]);if(n)for(var ee of n(G))s.call(G,ee)&&u(Z,ee,G[ee]);return Z},o=(Z,G,ee)=>new Promise((ie,se)=>{var le=ze=>{try{He(ee.next(ze))}catch(st){se(st)}},de=ze=>{try{He(ee.throw(ze))}catch(st){se(st)}},He=ze=>ze.done?ie(ze.value):Promise.resolve(ze.value).then(le,de);He((ee=ee.apply(Z,G)).next())});const f=Z=>o(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z==null?void 0:Z.id}/commit_word_cloud.json`,{method:"Get",params:Z})});function _(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/poll_lists.json`,{method:"get",params:c({},Z)})})}function p(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/common_header.json`,{method:"get"})})}function x(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/poll_setting.json`,{method:"get"})})}function g(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/commit_setting.json`,{method:"post",body:c({},Z)})})}function P(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/polls/end_poll_modal.json`,{method:"get",params:c({},Z)})})}function O(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/publish_groups.json`,{method:"get",params:c({},Z)})})}function S(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/commit_result.json`,{method:"get",params:c({},Z)})})}function I(Z){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:c({},Z)})})}function E(Z){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:c({},Z)})})}function A(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/polls/publish_modal.json`,{method:"get",params:c({},Z)})})}function R(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/polls.json`,{method:"POST",body:c({},Z)})})}function T(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/edit.json`,{method:"get"})})}function D(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.pollsId}.json`,{method:"put",body:c({},Z)})})}function k(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}.json`,{method:"put",body:c({},Z)})})}function B(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.pollsId}/poll_questions.json`,{method:"post",body:c({},Z)})})}function j(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}.json`,{method:"delete",body:c({},Z)})})}function V(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}/up_down.json`,{method:"post",body:c({},Z)})})}function H(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${Z.topicId}.json`,{method:"get"})})}function Y(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${Z.topicId}.json`,{method:"put",body:c({},Z)})})}function F(Z){return o(this,null,function*(){return Fetch(`/api/exercise_banks/${Z.topicId}.json`,{method:"put",body:c({},Z)})})}function K(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${Z.pollsId}.json`,{method:"delete",body:c({},Z)})})}function X(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}/up_down.json`,{method:"post",body:c({},Z)})})}function Q(Z){return o(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:c({},Z)})})}function W(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${Z.pollsId}.json`,{method:"put",body:c({},Z)})})}function N(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${Z.id}.json`,{method:"put",body:c({},Z)})})}function J(Z){return o(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:c({},Z)})})}function M(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${Z.exerciseId}/up_down.json`,{method:"post",body:c({},Z)})})}},46861:function(i,d,e){"use strict";e.d(d,{A1:function(){return ye},Bd:function(){return A},Bo:function(){return F},Cc:function(){return Q},Cn:function(){return J},DF:function(){return I},Dm:function(){return Re},FG:function(){return Y},GW:function(){return Ce},HF:function(){return B},Hm:function(){return Z},IJ:function(){return Me},L5:function(){return Ke},LS:function(){return at},MZ:function(){return $e},Mr:function(){return H},NZ:function(){return He},Of:function(){return O},Pl:function(){return S},Qj:function(){return g},RT:function(){return pe},Rp:function(){return ct},U6:function(){return j},Vl:function(){return W},Wk:function(){return V},YP:function(){return M},Ys:function(){return T},al:function(){return R},bF:function(){return Ee},d1:function(){return x},dt:function(){return et},et:function(){return ee},ex:function(){return P},fn:function(){return E},hI:function(){return ze},hg:function(){return Ie},iT:function(){return K},lS:function(){return de},nD:function(){return me},qN:function(){return G},rV:function(){return D},s:function(){return le},sD:function(){return ft},sS:function(){return Je},ts:function(){return X},vi:function(){return fe},wX:function(){return bt},x5:function(){return k}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(ge,lt,Qe)=>lt in ge?r(ge,lt,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ge[lt]=Qe,f=(ge,lt)=>{for(var Qe in lt||(lt={}))u.call(lt,Qe)&&o(ge,Qe,lt[Qe]);if(s)for(var Qe of s(lt))c.call(lt,Qe)&&o(ge,Qe,lt[Qe]);return ge},_=(ge,lt)=>n(ge,a(lt)),p=(ge,lt,Qe)=>new Promise((Ve,it)=>{var Dt=je=>{try{Se(Qe.next(je))}catch(Be){it(Be)}},Yt=je=>{try{Se(Qe.throw(je))}catch(Be){it(Be)}},Se=je=>je.done?Ve(je.value):Promise.resolve(je.value).then(Dt,Yt);Se((Qe=Qe.apply(ge,lt)).next())});function x(ge){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:_(f({},ge),{clazz:"ItemBanksGroup"})})})}function g(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:ge})})}function P(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ge})})}function O(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:ge})})}function S(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/set_private.json`,{method:"post"})})}function I(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/set_public.json`,{method:"post"})})}function E(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}.json`,{method:"delete"})})}function A(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ge.id}/start.json`,{method:"get"})})}function R(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}.json`,{method:"delete",body:f({},ge)})})}function T(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:ge})})}function D(ge){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ge})})}function k(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:ge.type}})})}function B(ge){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ge})})}function j(ge){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:ge})})}function V(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}.json`,{method:"put",body:ge})})}function H(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:ge})})}function Y(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/edit.json`,{method:"get"})})}function F(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ge.id}/edit.json`,{method:"get"})})}function K(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:ge})})}function X(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/set_score.json`,{method:"post",body:ge})})}function Q(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/set_challenge_score.json`,{method:"post",body:ge})})}function W(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/combination_set_score.json`,{method:"post",body:ge})})}function N(ge){return p(this,null,function*(){return Fetch(`/api/examination_banks//${ge.exerid}/examination_banks_item_banks/${ge.id}/combination_set_score.json`,{method:"post",body:ge})})}function J(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}.json`,{method:"delete"})})}function M(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:ge})})}function Z(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:ge})})}function G(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/adjust_position.json`,{method:"post",body:ge})})}function ee(ge){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:ge})})}function ie(ge){return p(this,null,function*(){return Fetch(`/api/examination_banks/${ge.id}/revoke_item.json`,{method:"delete",body:ge})})}function se(ge){return p(this,null,function*(){return Fetch(`/api/examination_banks/${ge.exam_id}/examination_banks_item_banks.json`,{method:"post",body:ge})})}function le(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/join_to_collection.json`,{method:"post",params:ge})})}function de(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/cancel_collection.json`,{method:"post",params:ge})})}function He(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:ge})})}function ze(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:ge})})}function st(ge){return p(this,null,function*(){return Fetch(`/api/item_banks/${ge.id}/join_to_group.json`,{method:"post",body:ge})})}function vt(ge){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${ge.id}.json`,{method:"put",body:ge})})}function Je(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:ge})})}function Ke(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/feedback.json`,{method:"post",body:ge})})}function Re(ge){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:ge})})}function Ce(ge){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:ge})})}function me(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:ge})})}function at(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:ge})})}function ct(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:ge})})}function St(ge){return p(this,null,function*(){return Fetch("/api/item_banks/set_batch_public.json",{method:"post",body:ge})})}function bt(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge==null?void 0:ge.id}/set_public.json`,{method:"post",body:ge})})}function Ie(ge){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:ge})})}function $e(ge){return(0,t.ZP)(`/api/problems/${ge.identifier}/publish.json`,{method:"post",body:ge})}function ft(ge){return(0,t.ZP)(`/api/problems/${ge.identifier}/cancel_publish.json`,{method:"post",body:ge})}function Me(ge){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...ge.id]}})}function ye(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ge.id}/up_position.json`,{method:"get",params:ge})})}function fe(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ge.id}/down_position.json`,{method:"get",params:ge})})}function Oe(ge){return p(this,null,function*(){return Fetch(`/api/homework_commons/${ge.id}/edit_hack.json`,{method:"get",params:ge})})}function Ee(ge){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:ge})})}function et(ge){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:ge})})}function mt(ge){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:ge})})}function pe(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},13159:function(i,d,e){"use strict";e.d(d,{E1:function(){return s},Go:function(){return n},H5:function(){return a}});var t=e(49317),r=(u,c,o)=>new Promise((f,_)=>{var p=P=>{try{g(o.next(P))}catch(O){_(O)}},x=P=>{try{g(o.throw(P))}catch(O){_(O)}},g=P=>P.done?f(P.value):Promise.resolve(P.value).then(p,x);g((o=o.apply(u,c)).next())});function n(u){return r(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:u})})}function a(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function s(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},9657:function(i,d,e){"use strict";e.d(d,{Am:function(){return S},Ar:function(){return at},BD:function(){return et},Be:function(){return ft},Dx:function(){return M},Fr:function(){return ce},G$:function(){return A},GS:function(){return Y},Gw:function(){return E},H:function(){return Ce},H1:function(){return me},Hj:function(){return pe},IL:function(){return x},JA:function(){return lt},JG:function(){return J},KE:function(){return ee},Lz:function(){return Oe},Mf:function(){return Re},NA:function(){return Je},O:function(){return g},PC:function(){return st},PP:function(){return vt},PW:function(){return bt},Q3:function(){return Z},QC:function(){return Qe},Qt:function(){return Ee},Qz:function(){return D},R$:function(){return ht},RP:function(){return X},Ti:function(){return cr},Uc:function(){return Yt},Ul:function(){return W},VB:function(){return Ht},Vs:function(){return Se},Wr:function(){return R},Xn:function(){return Q},YQ:function(){return Ke},Yn:function(){return I},Z8:function(){return V},ak:function(){return St},cN:function(){return B},co:function(){return Me},cz:function(){return He},e_:function(){return P},fK:function(){return H},gG:function(){return ze},gZ:function(){return Dt},h$:function(){return j},ku:function(){return fe},lf:function(){return se},m7:function(){return N},mQ:function(){return k},mz:function(){return $e},n$:function(){return ie},oK:function(){return O},oN:function(){return Ut},pH:function(){return mt},pb:function(){return qt},qP:function(){return Ve},ql:function(){return it},rN:function(){return ye},sw:function(){return le},t1:function(){return de},to:function(){return K},ub:function(){return ge},ux:function(){return G},wS:function(){return _t},wT:function(){return T},yT:function(){return ct},yy:function(){return je},z2:function(){return Ie}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Ze,dt,Mt)=>dt in Ze?r(Ze,dt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Ze[dt]=Mt,f=(Ze,dt)=>{for(var Mt in dt||(dt={}))u.call(dt,Mt)&&o(Ze,Mt,dt[Mt]);if(s)for(var Mt of s(dt))c.call(dt,Mt)&&o(Ze,Mt,dt[Mt]);return Ze},_=(Ze,dt)=>n(Ze,a(dt)),p=(Ze,dt,Mt)=>new Promise((ar,$t)=>{var pr=er=>{try{Mr(Mt.next(er))}catch(Nt){$t(Nt)}},Ir=er=>{try{Mr(Mt.throw(er))}catch(Nt){$t(Nt)}},Mr=er=>er.done?ar(er.value):Promise.resolve(er.value).then(pr,Ir);Mr((Mt=Mt.apply(Ze,dt)).next())});const x=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.id}/ai_warning_list.json`,{method:"get",params:Ze})}),g=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.id}/submit_test_result.json`,{method:"post",body:Ze})}),P=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.id}/student_work_test_result.json`,{method:"Get",params:Ze})}),O=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.id}/update_journals.json`,{method:"post",body:Ze})}),S=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.homeworkId}/change_score.json`,{method:"post",body:Ze})}),I=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.homeworkId}/history_comment`,{method:"Get",params:Ze})}),E=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.homeworkId}/feedback_know`,{method:"Get",params:Ze})}),A=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.userId}/student_work_feedbacks.json`,{method:"POST",body:Ze})}),R=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.userId}/feedback_list.json`,{method:"Get",params:Ze})}),T=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.userId}/histories.json`,{method:"Get",params:Ze})}),D=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.homeworkId}/feedback_list`,{method:"Get",params:Ze})}),k=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ze})}),B=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.homeworkId}/appeal_list`,{method:"Get",params:Ze})});function j(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/works_list.json`,{method:"post",body:f({},Ze)})})}function V(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ze.categoryId}/student_works.json`,{method:"get",params:f({},Ze)})})}function H(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ze.categoryId}/header_info.json`,{method:"get",params:f({},Ze)})})}function Y(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze}/query_game_url.json`,{method:"get"})})}function F(Ze){return p(this,null,function*(){return Fetch(`/api/student_works/${Ze}/get_newest_shixun_work_comments.json`,{method:"get"})})}function K(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}.json`,{method:"get"})})}function X(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/code_review_results.json`,{method:"get",params:f({},Ze)})})}function Q(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/code_review_detail.json`,{method:"get",params:f({},Ze)})})}function W(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/settings.json`,{method:"get",params:f({},Ze)})})}function N(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/update_settings.json`,{method:"post",body:f({},Ze)})})}function J(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/group_list.json`,{method:"get",params:f({},Ze)})})}function M(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/works_list.xlsx`,{method:"get",params:f({},Ze)})})}function Z(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.coursesId}/reference_answer.json`,{method:"get",params:f({},Ze)})})}function G(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/publish_groups.json`,{method:"get",params:f({},Ze)})})}function ee(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/end_groups.json`,{method:"get",params:f({},Ze)})})}function ie(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Ze)})})}function se(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:f({},Ze)})})}function le(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/shixun_work_report.json`,{method:"get",params:Ze})})}function de(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ze})})}function He(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:_(f({},Ze),{id:Ze.categoryId})})})}function ze(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.categoryId}/adjust_review_score.json`,{method:"post",body:f({},Ze)})})}function st(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/show_comment.json`,{method:"get",params:f({},Ze)})})}function vt(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:f({},Ze)})})}function Je(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:f({},Ze)})})}function Ke(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:f({},Ze)})})}function Re(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:f({},Ze)})})}function Ce(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/update_explanation.json`,{method:"post",body:f({},Ze)})})}function me(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons.json`,{method:"post",body:f({},Ze)})})}function at(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}.json`,{method:"put",body:f({},Ze)})})}function ct(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ze.id}.json`,{method:"put",body:f({},Ze)})})}function St(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.commonHomeworkId}/student_works/new.json`,{method:"get",params:f({},Ze)})})}function bt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/edit.json`,{method:"get",params:f({},Ze)})})}function Ie(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}.json`,{method:"put",body:f({},Ze)})})}function $e(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/revise_attachment.json`,{method:"post",body:f({},Ze)})})}function ft(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.commonHomeworkId}/student_works.json`,{method:"post",body:f({},Ze)})})}function Me(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.homeworkId}/student_works/relate_project.json`,{method:"post",body:f({},Ze)})})}function ye(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function fe(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:f({},Ze)})})}function Oe(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:f({},Ze)})})}function Ee(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/new.json`,{method:"get",params:f({},Ze)})})}function et(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/edit.json`,{method:"get",params:f({},Ze)})})}function mt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ze.id}.json`,{method:"get",params:f({},Ze)})})}function pe(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}.json`,{method:"get",params:f({},Ze)})})}function ge(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/supply_attachments.json`,{method:"get",params:f({},Ze)})})}function lt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/comment_list.json`,{method:"get",params:f({},Ze)})})}function Qe(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/destroy_score.json`,{method:"delete",body:f({},Ze)})})}function Ve(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/add_score_reply.json`,{method:"post",body:f({},Ze)})})}function it(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/all_student_works.json`,{method:"get",params:f({},Ze)})})}function Dt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/destroy_work_comment.json`,{method:"delete",body:f({},Ze)})})}function Yt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/score_status.json`,{method:"get",params:f({},Ze)})})}function Se(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/update_score.json`,{method:"get",params:f({},Ze)})})}function je(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/add_score.json`,{method:"post",body:f({},Ze)})})}function Be(Ze){return p(this,null,function*(){return Fetch(`/api/student_works/${Ze.userId}/cancel_appeal.json`,{method:"post",body:f({},Ze)})})}function ht(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/appeal_anonymous_score.json`,{method:"post",body:f({},Ze)})})}function At(Ze){return p(this,null,function*(){return Fetch(`/api/student_works/${Ze.userId}/deal_appeal_score.json`,{method:"post",body:f({},Ze)})})}function ce(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ze.id}/reset_my_game.json`,{method:"get",params:f({},Ze)})})}function _t(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/commit_des.json`,{method:"get",params:f({},Ze)})})}function qt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/update_des.json`,{method:"post",body:f({},Ze)})})}function Ht(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:f({},Ze)})})}function Ut(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:f({},Ze)})})}function cr(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:f({},Ze)})})}},66443:function(i,d,e){"use strict";e.d(d,{$Q:function(){return sr},AE:function(){return Mt},AQ:function(){return M},Ag:function(){return wt},Ar:function(){return Ce},At:function(){return pn},BK:function(){return ee},Bj:function(){return ge},Cf:function(){return S},DC:function(){return mt},Dz:function(){return ha},E4:function(){return x},EH:function(){return ct},Ee:function(){return va},Er:function(){return Ke},Ez:function(){return E},FB:function(){return G},Fg:function(){return X},Ft:function(){return V},GI:function(){return Ie},Gr:function(){return Ve},Gu:function(){return bt},Gz:function(){return K},HS:function(){return Ha},Hl:function(){return Y},IF:function(){return k},IT:function(){return Cr},I_:function(){return N},Ij:function(){return B},Ir:function(){return ie},Je:function(){return Tt},K:function(){return On},K0:function(){return Va},KM:function(){return ze},K_:function(){return on},LK:function(){return Lt},LP:function(){return $e},Ne:function(){return Je},OL:function(){return I},OQ:function(){return g},OV:function(){return Me},OW:function(){return at},Op:function(){return bn},P2:function(){return fe},P4:function(){return j},Po:function(){return J},Ps:function(){return it},Q:function(){return vt},Q1:function(){return za},QA:function(){return $n},Ql:function(){return Yt},Rs:function(){return Ht},SG:function(){return Wa},Tn:function(){return $t},Tr:function(){return aa},U0:function(){return ht},U9:function(){return Dt},UQ:function(){return Nt},Ui:function(){return _n},Vx:function(){return gn},WO:function(){return Re},WT:function(){return yo},Wi:function(){return lt},Wl:function(){return qe},X$:function(){return Oe},Yn:function(){return Ir},Z2:function(){return pe},ZO:function(){return Qe},Zt:function(){return ma},_7:function(){return st},_9:function(){return Mr},aH:function(){return Se},al:function(){return _t},b8:function(){return me},bV:function(){return D},bk:function(){return O},bq:function(){return pr},dK:function(){return se},e:function(){return Q},eX:function(){return St},eb:function(){return Ut},fH:function(){return A},fL:function(){return rt},h4:function(){return ja},hS:function(){return F},h_:function(){return et},he:function(){return W},hn:function(){return de},hy:function(){return R},ii:function(){return qt},im:function(){return er},j8:function(){return ft},jq:function(){return Ur},kF:function(){return yr},km:function(){return ce},l3:function(){return ye},m7:function(){return Be},mI:function(){return Pe},n5:function(){return Z},np:function(){return T},nu:function(){return gr},p0:function(){return Qt},q0:function(){return dt},q9:function(){return en},qA:function(){return Ne},rO:function(){return Ze},rs:function(){return He},sr:function(){return Kt},t2:function(){return Er},tX:function(){return _o},uo:function(){return At},v3:function(){return Le},w:function(){return Ue},wX:function(){return H},xK:function(){return ar},xM:function(){return P},xg:function(){return cr},xk:function(){return Ee},yE:function(){return je},yx:function(){return wa},zD:function(){return le},zH:function(){return Fe}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(De,xe,Xe)=>xe in De?r(De,xe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):De[xe]=Xe,f=(De,xe)=>{for(var Xe in xe||(xe={}))u.call(xe,Xe)&&o(De,Xe,xe[Xe]);if(s)for(var Xe of s(xe))c.call(xe,Xe)&&o(De,Xe,xe[Xe]);return De},_=(De,xe)=>n(De,a(xe)),p=(De,xe,Xe)=>new Promise((q,It)=>{var Jt=Sr=>{try{Rr(Xe.next(Sr))}catch(Gr){It(Gr)}},Pr=Sr=>{try{Rr(Xe.throw(Sr))}catch(Gr){It(Gr)}},Rr=Sr=>Sr.done?q(Sr.value):Promise.resolve(Sr.value).then(Jt,Pr);Rr((Xe=Xe.apply(De,xe)).next())});const x=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_result.json",{method:"get",params:De})}),g=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/edit.json",{method:"get",params:De})}),P=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls.json",{method:"post",body:De})}),O=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls_list.json",{method:"get",params:De})}),S=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_poll.json",{method:"post",body:De})}),I=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.questionId}/poll_votes.json`,{method:"post",body:De})}),E=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"put",body:De})}),A=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.poll_question_id}/up_down.json`,{method:"post",body:De})}),R=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"post",body:De})}),T=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.poll_question_id}.json`,{method:"put",body:De})}),D=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/poll_questions.json",{method:"post",body:De})}),k=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.poll_question_id}.json`,{method:"delete"})}),B=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/collect.json",{method:"post",body:De})}),j=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/publish.json",{method:"post",body:De})}),V=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/delete.json",{method:"post",body:De})}),H=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/start_answer.json",{method:"Get",params:De})}),Y=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:De})}),F=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:De})}),K=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:De})}),X=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:De})}),Q=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:De})});function W(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:f({},De)})})}function N(De){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:f({source:"shixun"},De||{})})})}function J(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}.json`,{method:"Get",params:De})})}function M(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/show_right.json`,{method:"Get"})})}function Z(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges.json`,{method:"Get",params:De})})}function G(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:De.save_type}})})}function ee(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/jupyter_exec.json${De.reset?`?reset=${De.reset}`:""}`,{method:"Get",params:De})})}function ie(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/shixun_exec.json${De.reset?`?reset=${De.reset}`:""}`,{method:"Get",params:De})})}function se(De){return p(this,null,function*(){return(0,t.ZP)(De.url,{method:"Get"})})}function le(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.shixun_identifier}/challenges/${De.challenge_id}/index_up.json`,{method:"Get"})})}function de(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.shixun_identifier}/challenges/${De.challenge_id}/index_down.json`,{method:"Get"})})}function He(De){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:De.container_id,container_type:De.container_type}})})}function ze(De){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:De.container_id,container_type:De.container_type}})})}function st(De){return p(this,null,function*(){const{id:xe}=De||{};return(0,t.ZP)(`/api/shixuns/${xe}/search_user_courses.json`,{method:"Get",params:De})})}function vt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De==null?void 0:De.id}/send_to_course.json`,{method:"Post",body:f({},De)})})}function Je(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/cancel_publish.json`,{method:"Get"})})}function Ke(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/cancel_apply_public.json`,{method:"Get"})})}function Re(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/apply_public.json`,{method:"post",body:f({},De)})})}function Ce(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/publish.json`,{method:"Get"})})}function me(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function at(De){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function ct(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:De})})}function St(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:De})})}function bt(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:De})})}function Ie(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/review_newest_record.json`,{method:"Get"})})}function $e(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/review_shixun.json`,{method:"post",body:De})})}function ft(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/collaborators.json`,{method:"Get",params:De})})}function Me(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/shixun_members_added.json`,{method:"post",body:De})})}function ye(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.identifier}/add_members_group.json`,{method:"post",body:De})})}function fe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/change_manager.json`,{method:"Get",params:De})})}function Oe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/change_manager.json`,{method:"post",body:De})})}function Ee(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/collaborators_delete.json`,{method:"delete",body:{user_id:De.userId}})})}function et(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/ranking_list.json`,{method:"Get"})})}function mt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/settings.json`,{method:"Get"})})}function pe(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:De.mirror_id}})})}function ge(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/get_script_contents.json`,{method:"Get",params:De})})}function lt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/get_custom_script.json`,{method:"Get",params:De})})}function Qe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_for_jupyter.json`,{method:"put",body:De})})}function Ve(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/shixun_quotes.json`,{method:"Get"})})}function it(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}.json`,{method:"delete"})})}function Dt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/close.json`,{method:"post",body:De})})}function Yt(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:De})})}function Se(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_permission_setting.json`,{method:"post",body:De})})}function je(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_learn_setting.json`,{method:"post",body:De})})}function Be(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_setting`,{method:"post",body:De})})}function ht(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/get_data_sets.json`,{method:"Get",params:De})})}function At(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/destroy_data_sets.json`,{method:"Delete",body:{id:De.deleteId}})})}function ce(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/new.json`,{method:"get"})})}function _t(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.identifier}/challenges.json`,{method:"post",body:f({},De)})})}function qt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengeId}/edit.json`,{method:"get",params:{tab:De.tab}})})}function Ht(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}.json`,{method:"put",body:f({},De)})})}function Ut(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/choose_questions.json`,{method:"get"})})}function cr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/move_position.json`,{method:"post",body:f({},De)})})}function Ze(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}.json`,{method:"delete",body:f({},De)})})}function dt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/edit.json`,{method:"get",params:f({},De)})})}function Mt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengeId}/answer.json`,{method:"get",params:f({},De)})})}function ar(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengeId}/crud_answer.json`,{method:"post",body:f({},De)})})}function $t(De){return p(this,null,function*(){if(De.type===1)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/create_choose_question.json`,{method:"post",body:f({},De)});if(De.type===2)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/create_blank_question.json`,{method:"post",body:f({},De)});if(De.type===3)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/create_judge_question.json`,{method:"post",body:f({},De)})})}function pr(De){return p(this,null,function*(){if(De.type===1)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/update_choose_question.json`,{method:"post",body:_(f({},De),{choose_id:De.questionId})});if(De.type===2)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/update_blank_question.json`,{method:"put",body:_(f({},De),{choose_id:De.questionId})});if(De.type===3)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/update_judge_question.json`,{method:"put",body:_(f({},De),{choose_id:De.questionId})})})}function Ir(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:De.questionId}})})}function Mr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:De.questionId}})})}function er(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:De.questionId}})})}function Nt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/edit_choose_question.json`,{method:"get",params:_(f({},De),{choose_id:De.questionId})})})}function Kt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/delete_git_file.json`,{method:"Delete",body:De})})}function Qt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/delete_git_file.json`,{method:"Delete",body:De})})}function Cr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/mv_file.json`,{method:"post",body:De})})}function Er(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/mv_file.json`,{method:"post",body:De})})}function wt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/repository.json`,{method:"post",body:De})})}function qe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/repository.json`,{method:"post",body:De})})}function Ue(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/secret_repository.json`,{method:"post",body:De})})}function Le(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/add_file.json`,{method:"post",body:De})})}function rt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/add_file.json`,{method:"post",body:De})})}function Tt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/commits.json`,{method:"post",body:De})})}function Lt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/file_content.json`,{method:"post",body:De})})}function gr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/file_content.json`,{method:"post",body:De})})}function yr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_file.json`,{method:"post",body:De})})}function Ur(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/update_file.json`,{method:"post",body:De})})}function bn(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/upload_git_folder.json`,{method:"post",body:{path:De.path,secret_repository:De.secret_repository}})})}function sr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/${De.url}`,{method:"Get"})})}function _n(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:De})})}function on(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:De})})}function Fe(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:De})})}function Ne(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:De})})}function en(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:De})})}function pn(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/fork_list.json`,{method:"Get",params:De})})}function ha(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.identifier}/change_editable.json`,{method:"put",body:f({},De)})})}function ma(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/set_secret_dir.json`,{method:"post",body:f({},De)})})}function On(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:De})})}function za(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:De})})}function ja(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/init_repository.json`,{method:"post",body:f({},De)})})}function gn(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/init_repository.json`,{method:"post",body:f({},De)})})}function Va(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_secret_repository.json`,{method:"post",body:f({},De)})})}function va(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/exist_exercise.json`,{method:"get",params:f({},De)})})}function _o(De){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${De.id}.json`,{method:"get",params:f({},De)})})}function no(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/publish.json`,{method:"post",body:f({},De)})})}function Ja(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/open_vnc.json`,{method:"post",params:f({},De)})})}function Za(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/open_webssh.json`,{method:"post",params:f({},De)})})}function No(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/save_image.json`,{method:"post",body:f({},De)})})}function ya(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/delete_image.json`,{method:"post",body:f({},De)})})}function na(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/extend_vnc.json`,{method:"post",body:f({},De)})})}function En(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/reset_vnc_link.json`,{method:"post",body:f({},De)})})}function wa(De){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:f({},De)})})}function Pe(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:f({},De)})})}function $n(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_jupyter_lab_setting.json`,{method:"post",body:f({},De)})})}function aa(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:De})})}function yo(De){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${De}`,{method:"get",params:{is_initiative_study:1}})})}function ai(De){return p(this,null,function*(){return Fetch(`/api/shixuns/${De.id}/update_shixun_study_num.json`,{method:"post",body:f({},De)})})}function Wa(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:De})})}function Ha(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De}/recommend_config.json`,{method:"get"})})}},9168:function(i,d,e){"use strict";e.d(d,{Bg:function(){return p},FO:function(){return R},eJ:function(){return P},eZ:function(){return O},fd:function(){return B},gp:function(){return f},iU:function(){return D},l3:function(){return I},mw:function(){return E},oZ:function(){return g},rM:function(){return A},r_:function(){return k},s:function(){return _},ur:function(){return T},xV:function(){return x},yb:function(){return S}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(j,V,H)=>V in j?r(j,V,{enumerable:!0,configurable:!0,writable:!0,value:H}):j[V]=H,c=(j,V)=>{for(var H in V||(V={}))a.call(V,H)&&u(j,H,V[H]);if(n)for(var H of n(V))s.call(V,H)&&u(j,H,V[H]);return j},o=(j,V,H)=>new Promise((Y,F)=>{var K=W=>{try{Q(H.next(W))}catch(N){F(N)}},X=W=>{try{Q(H.throw(W))}catch(N){F(N)}},Q=W=>W.done?Y(W.value):Promise.resolve(W.value).then(K,X);Q((H=H.apply(j,V)).next())});function f(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/teachers.json`,{method:"get",params:c({},j)})})}function _(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/apply_teachers.json`,{method:"get",params:c({},j)})})}function p(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_group_list.json`,{method:"get",params:c({},j)})})}function x(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/all_course_groups.json`,{method:"get",params:c({},j)})})}function g(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/set_course_group.json`,{method:"post",body:c({},j)})})}function P(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/join_graduation_group.json`,{method:"post",body:c({},j)})})}function O(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/create_graduation_group.json`,{method:"post",body:c({},j)})})}function S(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/delete_course_teacher.json`,{method:"post",body:c({},j)})})}function I(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/delete_from_course.json`,{method:"post",body:c({},j)})})}function E(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/change_member_role.json`,{method:"post",body:c({},j)})})}function A(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/change_course_admin.json`,{method:"post",body:c({},j)})})}function R(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/teacher_application_review.json`,{method:"post",body:c({},j)})})}function T(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/students.json`,{method:"get",params:c({},j)})})}function D(j,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j}/apply_students.json`,{method:"get",params:V})})}function k(j,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j}/join_student_checkout.json`,{method:"get",params:V})})}function B(j,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j}/student_application_review.json`,{method:"post",body:V})})}},32352:function(i,d,e){"use strict";e.d(d,{B$:function(){return x},Cx:function(){return K},Cy:function(){return ie},DA:function(){return A},DH:function(){return p},Ef:function(){return W},Es:function(){return P},Ex:function(){return vt},FM:function(){return H},Fn:function(){return N},Gq:function(){return Ke},Ho:function(){return T},IU:function(){return ee},JJ:function(){return J},Ol:function(){return de},Qx:function(){return V},Rs:function(){return Re},Tv:function(){return M},V8:function(){return _},WS:function(){return X},WY:function(){return j},ai:function(){return F},bG:function(){return S},bJ:function(){return f},c0:function(){return Je},dt:function(){return Z},gI:function(){return Q},lO:function(){return Y},mW:function(){return B},n0:function(){return E},nV:function(){return le},o1:function(){return He},qE:function(){return g},qN:function(){return R},rV:function(){return D},sh:function(){return se},vR:function(){return O},w3:function(){return k},x4:function(){return I},z2:function(){return ze},zA:function(){return Ce}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(me,at,ct)=>at in me?r(me,at,{enumerable:!0,configurable:!0,writable:!0,value:ct}):me[at]=ct,c=(me,at)=>{for(var ct in at||(at={}))a.call(at,ct)&&u(me,ct,at[ct]);if(n)for(var ct of n(at))s.call(at,ct)&&u(me,ct,at[ct]);return me},o=(me,at,ct)=>new Promise((St,bt)=>{var Ie=Me=>{try{ft(ct.next(Me))}catch(ye){bt(ye)}},$e=Me=>{try{ft(ct.throw(Me))}catch(ye){bt(ye)}},ft=Me=>Me.done?St(Me.value):Promise.resolve(Me.value).then(Ie,$e);ft((ct=ct.apply(me,at)).next())});const f=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}/move.json`,{method:"post",body:me})}),_=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"delete",body:me})}),p=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"put",body:me})}),x=me=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:me})}),g=me=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:me})});function P(me){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:c({},me)})})}function O(me){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function S(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:c({},me)})})}function I(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:c({},me)})})}function E(){return o(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function A(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/homepage_info.json`,{method:"get"})})}function R(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function T(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/courses.json`,{method:"get",params:me})})}function D(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/shixuns.json`,{method:"get",params:me})})}function k(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/subjects.json`,{method:"get",params:me})})}function B(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/projects.json`,{method:"get",params:me})})}function j(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos.json`,{method:"get",params:me})})}function V(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/review.json`,{method:"get",params:me})})}function H(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.id}.json`,{method:"delete"})})}function Y(me){return o(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:me})})}function F(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:me})})}function K(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:me})})}function X(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:me})})}function Q(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:me})})}function W(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:me})})}function N(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.object_id}/create_course_video.json`,{method:"post",body:me})})}function J(me){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${me.topicId}.json`,{method:"get",params:me})})}function M(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:c({},me)})})}function Z(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/batch_publish.json`,{method:"post",body:me})})}function G(me){return o(this,null,function*(){return Fetch(`/api/myshixuns/${me.identifier}/cancel.json`,{method:"delete",body:c({},me)})})}function ee(){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get"})})}function ie(me){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:c({},me)})})}function se(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function le(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function de(me){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:me})}function He(me){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:me})}function ze(me){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:c({},me)})}function st(me){return Fetch("/api/weapps/register.json",{method:"post",body:c({},me)})}function vt(me){return(0,t.ZP)(`/api/users/accounts/${me.login}/password.json`,{method:"put",body:c({},me)})}function Je(me){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:c({},me)})}function Ke(me){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:c({},me)})}function Re(me){return(0,t.ZP)("/api/users/add_hide.json",{method:"post",body:c({},me)})}function Ce(me){return(0,t.ZP)("/api/users/remove_hide.json",{method:"post",body:c({},me)})}},60269:function(i,d,e){"use strict";e.d(d,{BQ:function(){return f},DH:function(){return T},Db:function(){return Y},Ju:function(){return H},Mz:function(){return B},O2:function(){return g},TJ:function(){return S},Vg:function(){return x},ZY:function(){return _},Zx:function(){return k},cU:function(){return p},fn:function(){return V},jK:function(){return I},yN:function(){return j}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(F,K,X)=>K in F?r(F,K,{enumerable:!0,configurable:!0,writable:!0,value:X}):F[K]=X,c=(F,K)=>{for(var X in K||(K={}))a.call(K,X)&&u(F,X,K[X]);if(n)for(var X of n(K))s.call(K,X)&&u(F,X,K[X]);return F},o=(F,K,X)=>new Promise((Q,W)=>{var N=Z=>{try{M(X.next(Z))}catch(G){W(G)}},J=Z=>{try{M(X.throw(Z))}catch(G){W(G)}},M=Z=>Z.done?Q(Z.value):Promise.resolve(Z.value).then(N,J);M((X=X.apply(F,K)).next())});function f(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.coursesId}/watch_video_histories.json`,{method:"Get",params:c({},F)})})}function _(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.coursesId}/watch_statics.json`,{method:"Get",params:c({},F)})})}function p(F){return o(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${F.videoId}/watch_histories.json`,{method:"Get",params:c({},F)})})}function x(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.coursesId}/own_watch_histories.json`,{method:"Get",params:c({},F)})})}function g(F){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${F.id}.json`,{method:"Get",params:c({},F)})})}function P(F){return o(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:F})})}function O(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}/edit.json`,{method:"Get",params:c({},F)})})}function S(F){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${F.id}/edit.json`,{method:"Get",params:c({},F)})})}function I(F){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${F.id}/star.json`,{method:"post",body:F})})}function E(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}.json`,{method:"put",body:F})})}function A(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}/send_to_course.json`,{method:"post",body:F})})}function R(F){return o(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:c({},F)})})}function T(F){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${F.id}/view_video.json`,{method:"post",body:F})})}function D(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}/add_school.json`,{method:"post",body:F})})}function k(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.course_id}/video_people_statics.json`,{method:"get",params:F})})}function B(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.course_id}/video_duration_statics.json`,{method:"get",params:F})})}function j(F){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:F})})}function V(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F==null?void 0:F.id}/course_videos_tree.json`,{method:"get",params:F})})}function H(F){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:F})})}function Y(F){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:F})})}},45474:function(i,d,e){"use strict";e.d(d,{A:function(){return B},CH:function(){return a},EA:function(){return c},FU:function(){return _},G_:function(){return g},LY:function(){return R},Ll:function(){return u},MM:function(){return I},Ps:function(){return T},Sl:function(){return O},To:function(){return p},Vf:function(){return x},XQ:function(){return s},b:function(){return f},bq:function(){return k},cZ:function(){return o},rV:function(){return A},sT:function(){return P},tS:function(){return D},xt:function(){return E},y2:function(){return n}});var t=e(49317),r=(j,V,H)=>new Promise((Y,F)=>{var K=W=>{try{Q(H.next(W))}catch(N){F(N)}},X=W=>{try{Q(H.throw(W))}catch(N){F(N)}},Q=W=>W.done?Y(W.value):Promise.resolve(W.value).then(K,X);Q((H=H.apply(j,V)).next())});const n=j=>r(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:j})});function a(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions/${j.id}.json`,{method:"put",body:j})})}function s(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions/${j.id}.json`,{method:"get",params:j})})}function u(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions.json`,{method:"post",body:j})})}function c(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions.json`,{method:"get",params:j})})}function o(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}/add_resources.json`,{method:"post",body:j})})}function f(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}/lesson_resources_list.json`,{method:"get",params:j})})}function _(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}.json`,{method:"get",params:j})})}function p(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}.json`,{method:"put",body:j})})}function x(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons.json`,{method:"post",body:j})})}function g(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons.json`,{method:"get",params:j})})}function P(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j==null?void 0:j.id}.json`,{method:"get"})})}function O(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j==null?void 0:j.id}/modules.json`,{method:"get"})})}function S(j){return r(this,null,function*(){return Fetch(`/api/virtual_classrooms/${j.id}/videos/batch_publish.json`,{method:"post",body:j})})}function I(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/members.json`,{method:"post",body:j})})}function E(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/members/${j.id}/change_creator.json`,{method:"post",body:j})})}function A(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/shixuns.json`,{method:"get",params:V})})}function R(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/shixuns`,{method:"post",body:V})})}function T(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_classroom_id}/shixuns/${j.shixun_id}.json`,{method:"delete"})})}function D(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/subjects.json`,{method:"get",params:V})})}function k(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/subjects.json`,{method:"post",body:V})})}function B(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_classroom_id}/subjects/${j.subject_id}.json`,{method:"delete"})})}},15267:function(i,d,e){"use strict";e.d(d,{$O:function(){return K},EO:function(){return et},G5:function(){return k},GD:function(){return r},GJ:function(){return _},Gg:function(){return p},I2:function(){return s},IR:function(){return j},JA:function(){return Ee},JL:function(){return E},Jd:function(){return F},Ny:function(){return S},RV:function(){return H},Rb:function(){return D},Rm:function(){return B},V9:function(){return ee},Yh:function(){return M},aN:function(){return P},aQ:function(){return o},ag:function(){return Oe},bg:function(){return pe},d8:function(){return T},dE:function(){return V},eB:function(){return Y},eY:function(){return ge},fn:function(){return fe},h:function(){return Yt},j5:function(){return g},k5:function(){return Q},m$:function(){return lt},oF:function(){return x},qz:function(){return c},t_:function(){return O},tu:function(){return Ve},y8:function(){return mt}});var t=e(44283),r=(Se=>(Se[Se.SuperAdmin=1]="SuperAdmin",Se[Se.Operation=2]="Operation",Se[Se.CertifiedTeacher=5]="CertifiedTeacher",Se[Se.TrainingProduction=8]="TrainingProduction",Se[Se.UncertifiedTeacher=12]="UncertifiedTeacher",Se[Se.Student=15]="Student",Se))(r||{}),n=(Se=>(Se[Se.SuperAdmin=1]="SuperAdmin",Se[Se.Operation=2]="Operation",Se[Se.Admin=5]="Admin",Se[Se.Teacher=8]="Teacher",Se[Se.Assistant=12]="Assistant",Se[Se.Student=15]="Student",Se))(n||{}),a=(Se=>(Se[Se.SuperAdmin=0]="SuperAdmin",Se[Se.Teacher=1]="Teacher",Se[Se.Student=2]="Student",Se))(a||{});const s=Se=>{const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return Se.some(ht=>ht==(Be==null?void 0:Be.role))},u=Se=>{const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return Be!=null&&Be.own?!0:Se.some(ht=>{var At;return ht==((At=Be==null?void 0:Be.course)==null?void 0:At.course_role)})},c=()=>{const{user:Se}=(0,t.getDvaApp)()._store.getState(),{userInfo:je}=Se;return je.main_site},o=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return(Se=Be==null?void 0:Be.course)==null?void 0:Se.course_is_end},f=()=>{const{user:Se}=getDvaApp()._store.getState(),{userInfo:je}=Se;return je.authentication},_=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),x=()=>u([1,8,5]),g=()=>u([1]),P=()=>u([1,2,5]),O=()=>u([1,2]),S=()=>s([1,2]),I=()=>s([1]),E=()=>s([1,2,5]),A=()=>u([1,5]),R=()=>u([5,8]),T=()=>u([5]),D=()=>u([1,5,2]),k=()=>u([1,2,5,8]),B=()=>u([12]),j=()=>u([8]),V=()=>u([15]),H=()=>u([1,2,5,8,12,15]),Y=()=>u([1,2,5,8,12]),F=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return((Se=Be==null?void 0:Be.course)==null?void 0:Se.course_role)===null},K=()=>{const{user:Se}=(0,t.getDvaApp)()._store.getState(),{userInfo:je}=Se;return je==null?void 0:je.has_big_model_permission},X=()=>{const{user:Se}=getDvaApp()._store.getState(),{userInfo:je}=Se;return je==null?void 0:je.big_model_user_unlimited},Q=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return((Se=Be==null?void 0:Be.paid_version)==null?void 0:Se.version_type)==0&&![1,2].includes(Be==null?void 0:Be.role)},W=(Se=!0,je=!1)=>s([1,2,5,8,12,15]),N=(Se=!0,je=!1)=>je||!je&&s([1]),J=(Se=!0,je=!1)=>je||!je&&s([1,2]),M=()=>s([15]),Z=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),G=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),ee=(Se=!0,je=!1)=>{const{user:Be}=(0,t.getDvaApp)()._store.getState(),{userInfo:ht}=Be;return ht!=null&&ht.is_shixun_marker?!0:s([1,2,5,8])},ie=(Se=!0,je=!1)=>Se?s([1]):je||!je&&s([1]),se=(Se=!0,je=!1)=>Se?s([1,2]):je||!je&&s([1,2]),le=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),de=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):je||!je&&s([1,2]),He=(Se=!0,je=!1)=>Se?s([1,2,5]):je||!je&&s([1,2]),ze=(Se=!0,je=!1)=>Se?s([1]):!1,st=(Se=!0,je=!1)=>s([1,2,5,8,12,15]),vt=(Se=!0,je=!1)=>Se?s([1]):je||!je&&s([1]),Je=(Se=!0,je=!1)=>Se?s([1,2]):je||!je&&s([1,2]),Ke=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),Re=(Se=!0,je=!1)=>Se?!1:je||!je&&s([1,2]),Ce=(Se=!0,je=!1)=>Se?je||!je&&s([1,2]):!1,me=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):!1,at=(Se=!0,je=!1)=>Se?!je&&s([1,2,5,8,12]):!1,ct=(Se=!0,je=!1)=>Se?s([1,2,5]):je||!je&&s([1,2]),St=(Se=!0,je=!1)=>s([1,2,5,8,12]),bt=(Se=!0,je=!1)=>Se?s([1]):je||!je&&s([1]),Ie=(Se=!0,je=!1)=>Se?s([1,2]):je||!je&&s([1,2]),$e=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):je||!je&&s([1,2]),ft=(Se=!0,je=!1)=>Se?je||!je&&s([1,2]):!1,Me=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):je||!je&&s([1,2]),ye=(Se=!0,je=!1)=>u([8]),fe=()=>s([1]),Oe=()=>s([1,2]),Ee=()=>s([15]),et=()=>s([1,2,5]),mt=()=>s([1,2,5,12]),pe=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState();return!!((Se=je.userInfo)!=null&&Se.login)},ge=()=>{const{user:Se}=(0,t.getDvaApp)()._store.getState();return Se.userInfo},lt=()=>{var Se,je;const{user:Be}=(0,t.getDvaApp)()._store.getState();return!!((je=(Se=Be.userInfo)==null?void 0:Se.path)!=null&&je.own)},Qe=Se=>{const{graduations:je}=(0,t.getDvaApp)()._store.getState(),{details:Be}=je;return Se.some(ht=>ht===(Be==null?void 0:Be.user_identity))},Ve=()=>Qe([0,1]),it=()=>Qe([0]),Dt=()=>Qe([1]),Yt=()=>Qe([2])},8633:function(i,d,e){"use strict";e.d(d,{Jb:function(){return u},Kx:function(){return c},a2:function(){return a},fw:function(){return t},gW:function(){return n},k:function(){return s},k4:function(){return r}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var n=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(n||{}),a=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(a||{}),s=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(s||{}),u=(o=>(o[o.FAIL=-1]="FAIL",o[o.REQUESTING=0]="REQUESTING",o[o.SUCCESS=1]="SUCCESS",o))(u||{}),c=(o=>(o[o.FAIL=-1]="FAIL",o[o.PADDING=0]="PADDING",o[o.SUCCESS=1]="SUCCESS",o))(c||{})},74877:function(i,d,e){"use strict";e.d(d,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},14185:function(i,d,e){"use strict";e.d(d,{Z:function(){return a}});const t={PROXY_SERVER:"https://testweb-data.educoder.net",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"https://new-testali-cdn.educoder.net",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test3-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"};var r=null,a={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},dev:t,newReactTest:{API_SERVER:(()=>{let s;switch(location.host){case"test4.educoder.net":s="https://test4-data.educoder.net";break;case"test3.educoder.net":s="https://test3-data.educoder.net";break;case"test2.educoder.net":s="https://test2-data.educoder.net";break;default:s="https://testweb-data.educoder.net";break}return s})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let s="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(s="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(s="https://test4-data.educoder.net"),s})(),OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://testweb-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net",AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},preNewBuild:{API_SERVER:(()=>{let s="https://preweb-data.educoder.net";return location.host==="pre2.educoder.net"&&(s="https://preweb-data2.educoder.net"),s})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://preweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},newBuild:{API_SERVER:(()=>{let s="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?s="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(s="https://data.tokcoder.com"),s})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",CABLE_SERVER:"wss://data.educoder.net/cable",MINIPROGRAM_SERVER:"https://data.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net",AI_PLATFORM_URL:"https://ai.educoder.net",Coze_ai_URl:"https://datacoze.educoder.net"},newTest:{API_SERVER:"https://testweb-data.educoder.net",IMG_SERVER:"https://testweb-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://testweb-data.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",CABLE_SERVER:"wss://data.educoder.net/cable",MINIPROGRAM_SERVER:"https://data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net",AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"}}[window.ENV||"dev"]},49317:function(i,d,e){"use strict";e.d(d,{IV:function(){return J},U2:function(){return X},ZP:function(){return H},d4:function(){return Q},gz:function(){return N},rz:function(){return V},v_:function(){return W}});var t=e(14185),r=e(97915),n=e(62957),a=e(6767),s=e(85582),u=e.n(s),c=e(59301),o=e(44283),f=e(76406),_=Object.defineProperty,p=Object.defineProperties,x=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,S=(M,Z,G)=>Z in M?_(M,Z,{enumerable:!0,configurable:!0,writable:!0,value:G}):M[Z]=G,I=(M,Z)=>{for(var G in Z||(Z={}))P.call(Z,G)&&S(M,G,Z[G]);if(g)for(var G of g(Z))O.call(Z,G)&&S(M,G,Z[G]);return M},E=(M,Z)=>p(M,x(Z)),A=(M,Z,G)=>new Promise((ee,ie)=>{var se=He=>{try{de(G.next(He))}catch(ze){ie(ze)}},le=He=>{try{de(G.throw(He))}catch(ze){ie(ze)}},de=He=>He.done?ee(He.value):Promise.resolve(He.value).then(se,le);de((G=G.apply(M,Z)).next())});let R;const T={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},D=M=>{try{typeof M=="string"&&(M=JSON.parse(M));const Z=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,G=/\"\/api\/attachments\/(\d+)\//g,ee=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ie=/\/api\/attachments\/(\d+)/g,se=/\/attachments\/download\/(\d+)/g;return JSON.stringify(M).replace(ie,(de,He,ze,st)=>{const vt=He||ze||st;return"/api/attachments/"+(0,f.Jn)(vt)}).replace(se,(de,He,ze)=>{const st=He||ze;return"/attachments/download/"+(0,f.Jn)(st)}).replace(Z,(de,He,ze,st)=>{const vt=He||ze||st;return"(/api/attachments/"+(0,f.Jn)(vt)}).replace(G,(de,He,ze)=>{const st=He||ze;return'"/api/attachments/'+(0,f.Jn)(st)}).replace(ee,(de,He,ze)=>{const st=He||ze;return"(/files/uploads/"+(0,f.Jn)(st)}).replace(/\r\n/g,` -`)}catch(Z){return null}},k=(M,Z)=>A(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const G=T[M.status]||M.statusText;let ee;var ie=M.json();yield ie.then((le,de)=>{setTimeout(()=>{let He=(0,o.getDvaApp)()},400),ee=le.message,window.showNetworkErrorTip(le.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),r.ZP.error({style:{wordBreak:"break-all"},message:le.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:le.message?"":G})});const se=new Error(G);throw se.name=M.status,se.response=M,{data:M,code:M.status,message:ee||G}}),B=(M,Z)=>{const G=M.headers.get("Content-Type");return G&&G.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function j(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(Z){return!1}}const V=M=>{M=M||{};let Z="";for(let G in M)typeof M[G]=="object"?Array.isArray(M[G])&&M[G].forEach((ee,ie)=>{Z+="&"+G+"[]="+ee}):M[G]!==void 0&&(Z+="&"+G+"="+(j(M[G])?M[G]:encodeURIComponent(M[G])));return Z.substr(1)};function H(M,Z,G,ee,ie){Z.method||(Z.method="get"),Z.method=Z.method.toUpperCase(),Z.mode="cors";const se=I({},Z),{user:le}=(0,o.getDvaApp)()._store.getState(),{userInfo:de}=le,He=M+(se.body?JSON.stringify(se.body):""),ze=u().sha256().update(He).digest("hex"),st={credentials:"include",withCredentials:!0},vt={};de!=null&&de.login&&!ie&&(vt.zzud=de==null?void 0:de.login,de!=null&&de.school_id&&(vt.zzsud=de==null?void 0:de.school_id),se.params=I(I({},se.params||{}),vt));let Je=I(I({},st),JSON.parse(JSON.stringify(se)));(Je.method==="POST"||Je.method==="PUT"||Je.method==="PATCH"||Je.method==="DELETE")&&(G?(Je.headers=E(I({},Je.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),Je.body=se.body):(Je.headers=I({Accept:"application/json","Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,f.ej)("_educoder_session"),Origin:location.origin},Je.headers),Je.body=JSON.stringify(se.body))),Je.method=="GET"?(Je.headers=E(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},Je.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),se.params&&V(se.params)&&(M+="?"+V(se.params))):vt.zzud&&(M+="?"+V(I({},vt)));const Ke=se.expirys&&60;let Re;(ct=>{ct.json="application/json;charset=UTF-8",ct.form="application/x-www-form-urlencoded; charset=UTF-8"})(Re||(Re={}));let Ce;(ct=>{ct.get="GET",ct.post="POST"})(Ce||(Ce={}));const me=ct=>A(this,null,function*(){const St=yield ct.arrayBuffer();let bt;const Ie=new Blob([St]);try{bt=ct.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(ye){bt="userfiles.zip"}const $e=document.createElement("a"),ft=window.URL.createObjectURL(Ie),Me=bt;return $e.href=ft,$e.download=Me,$e.click(),window.URL.revokeObjectURL(ft),St});let at=t.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(at=""),Je.method=="GET"&&Je.params&&Object.keys(Je.params).map(ct=>{if(Je.params[ct]&&!Array.isArray(Je.params[ct]))try{Je.params[ct]=encodeURIComponent(decodeURIComponent(Je.params[ct]))}catch(St){Je.params[ct]=encodeURIComponent(Je.params[ct])}}),(0,f.Ec)(Je,M),ee&&(at=""),fetch(at+M,Je).then(ct=>k(ct,I({url:t.Z.API_SERVER+M},Je))).then(ct=>B(ct,ze)).then(ct=>A(this,null,function*(){var St,bt,Ie,$e;try{const Me=ct.headers.get("cs");Me&&(0,f.d8)("_educoder_session",Me,1)}catch(Me){}if(ct.status===204)return ct.text();let ft;if(ct.headers.get("content-type").indexOf("application/json")>-1){ft=yield ct.json();try{ft=JSON.parse(D(ft))}catch(Me){}}else Je.headers["Content-Type"]==="application/xml"?ft=yield ct.text():(St=se.body)!=null&&St.autoDownload||(bt=se.params)!=null&&bt.autoDownload?ft=yield me(ct):ft=yield ct.arrayBuffer();try{ft.status===401&&(Je.method==="GET"&&((Ie=Je.params)==null?void 0:Ie.hidePopLogin)!=="true"?(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}):Je.method!=="GET"&&!(($e=Je.params)!=null&&$e.hidePopLogin)&&(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})),ft.status===402&&(localStorage.getItem("addinfo")==="2"?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(R=R||n.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),R.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{o.history.push("/account/profile/edit")}})))}catch(Me){console.log("fetcherr",Me)}return K(ft,M),ft})).catch(ct=>{try{const St=ct.code;if(ct instanceof TypeError&&window.showNetworkErrorTip(`${M}${ct.message}`),St){if(St===401){(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(ct,M)}else M.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Je.body}}):ct.message!=="403"&&window.showNetworkErrorTip(`${M}${ct.message}`);return ct}catch(St){}})}let Y=!1,F=!1;const K=(M,Z)=>{var G,ee,ie;if(M.status==-6&&!F){F=!0,(0,f.d8)("_educoder_session","logout",1),(0,f.m5)(),setTimeout(()=>F=!1,500),n.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){F=!0,setTimeout(()=>F=!1,500);let le="";(G=M==null?void 0:M.data)!=null&&G.exercise_list&&((ie=(ee=M==null?void 0:M.data)==null?void 0:ee.exercise_list)==null||ie.map(de=>{le+=`\u300A${de.exercise_name}\u300B`})),n.default.info({title:"\u63D0\u793A",content:c.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`

        \u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${le} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
        `},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!F){F=!0,setTimeout(()=>F=!1,500),a.ZP.warning({content:M.message,key:"message-key"});return}const se={403:"/403",404:"/404",500:"/500"};if(se[M.status]&&!Y){const{user:le}=(0,o.getDvaApp)()._store.getState(),{userInfo:de}=le;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Y=!0),setTimeout(()=>Y=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(se).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(se[M.status]),new Error("403")}};function X(M,Z){return H(`/api/${M}`,{method:"Get",params:Z||{}})}function Q(M,Z){return H(`/${M}`,{method:"Get",params:Z})}function W(M,Z){return H(`/api/${M}`,{method:"Post",body:I({},Z)})}function N(M,Z){return H(`/api/${M}`,{method:"Put",body:I({},Z)})}function J(M,Z){return H(`/api/${M}`,{method:"delete",body:I({},Z||{})})}},58291:function(i,d,e){"use strict";e.d(d,{Bn:function(){return n},hw:function(){return r},mi:function(){return t}});const t="WlRsa1pEVmlORE15TW1ZNVpqZGtPRE5rTURBNVpHVTVZbVpoTVRBd1l6TT0=",r="TW1VelpHRXdObUZsTWpaaVlUbG1OelpoTldRNFpETTFOVGMwTm1ZeVptVT0=",n="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},76406:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},BR:function(){return aiReviewConfigformatChecks},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},Gn:function(){return storageHomeworkId},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},Lm:function(){return AddWX},M:function(){return setmiyah},M2:function(){return randomArray},Mi:function(){return bytesToSize1},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Sv:function(){return downloadFile},TG:function(){return getStorageHomeworkId},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},UZ:function(){return locationPoint},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},Ye:function(){return checkVersion},ZJ:function(){return toDataUrl},ZR:function(){return GetElementHeight},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},bR:function(){return SendModal},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hE:function(){return isInsecureOrLocalhost},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jl:function(){return highlightLastNewline},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},lK:function(){return checkPathname},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},po:function(){return saveAs},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},sc:function(){return releaseRuleDataSmartPlan},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vs:function(){return levelStatus},xU:function(){return bindVIP},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15267),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(6767),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(62957),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(77019),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5269),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(92427),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(84849),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(74877),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(44283),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(14185),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(33156),crypto_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_9__),_key__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(58291),moment__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(66649),moment__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_10__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(64796),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__),uuid__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1012),_assets_images_AssistantCode3_jpeg__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(32637),_assets_images_level_sq_svg__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(47243),_assets_images_level_jc_svg__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(87625),_assets_images_level_gj_svg__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(39569),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(i,d,e)=>d in i?__defProp(i,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[d]=e,__spreadValues=(i,d)=>{for(var e in d||(d={}))__hasOwnProp.call(d,e)&&__defNormalProp(i,e,d[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(d))__propIsEnum.call(d,e)&&__defNormalProp(i,e,d[e]);return i},__spreadProps=(i,d)=>__defProps(i,__getOwnPropDescs(d)),__async=(i,d,e)=>new Promise((t,r)=>{var n=u=>{try{s(e.next(u))}catch(c){r(c)}},a=u=>{try{s(e.throw(u))}catch(c){r(c)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(n,a);s((e=e.apply(i,d)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_10___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default());const GetElementHeight=(i,d="px",e,t=!1)=>{if(!i)return 0;const r=t?i.scrollHeight:i.offsetHeight;if(d==="rem"){const n=e?`${e}`:getComputedStyle(document.documentElement).fontSize,a=parseFloat(n);return r/a}return r},HighLightedContent=(i,d=[],e="#2EC25B")=>(typeof d=="string"&&(d=[d]),i.replace(new RegExp(`(${d.join("|")})`,"gi"),`$1`)),parseParams=i=>{i=i||{};let d="";for(let e in i)typeof i[e]=="object"?Array.isArray(i[e])&&i[e].forEach((t,r)=>{d+="&"+e+"[]="+t}):i[e]!==void 0&&(d+="&"+e+"="+i[e]);return d.substr(1)},getKey=i=>window.atob(window.atob(i));function bytesToSize(i,d=!0){var e=["Bytes","KB","MB","GB","TB"];if(i==0)return d?"0 Byte":"0";var t=parseInt(""+Math.floor(Math.log(i)/Math.log(1024)),10);return(i/Math.pow(1024,t)).toFixed(1)+(d?" "+e[t]:"")}function bytesToSize1(i,d,e=!0){var t=["Bytes","KB","MB","GB","TB"];if(i===0&&d===0)return e?"0/0 Byte":"0/0";var r=d===0?0:parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10),n=i/Math.pow(1024,r),a=d/Math.pow(1024,r);return n.toFixed(1)+"/"+a.toFixed(1)+(e?" "+t[r]:"")}const getTwoDecimalPlaces=i=>Math.round(Math.round(i*1e5)/1e3*100)/100,NewAntdDisabledDate=(i,d=null)=>{const e=imoment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.endTime).endOf("day"),r=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("mm")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),n=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm")),a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("ss"));function s(u,c){const o=[];for(let f=u;fs(0,r),disabledMinutes:()=>s(0,n)};if(d!=null&&d.compared){const u=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("HH")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("mm")),o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared),"day")?{disabledHours:()=>s(0,u),disabledMinutes:()=>e<=u?s(0,c):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>s(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=r?s(0,n):[]}},disabledDate=(i,d,e,t)=>{t=typeof t=="string"?moment__WEBPACK_IMPORTED_MODULE_10___default()(t):t;const r=t?i<(t==null?void 0:t.startOf("day")):imoment__WEBPACK_IMPORTED_MODULE_10___default()(d).endOf("day"),a=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm"));function n(a,s){const u=[];for(let c=a;cn(0,t),disabledMinutes:()=>n(0,r)};if(d){const a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("HH")),s=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d),"day")?{disabledHours:()=>n(0,a),disabledMinutes:()=>e<=a?n(0,s):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>n(0,t),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=t?n(0,r):[]}},preciseCalculation=(i,d,e)=>{typeof i=="string"&&(i=Number(i)),typeof d=="string"&&(d=Number(d));const t=(i.toString().split(".")[1]||"").length,r=(d.toString().split(".")[1]||"").length,n=Math.max(t,r),a=Math.pow(10,n);return(()=>{switch(e){case"+":return(Math.round(i*a)+Math.round(d*a))/a;case"-":return(Math.round(i*a)-Math.round(d*a))/a;case"*":return Math.round(i*a)*Math.round(d*a)/(a*a);case"/":return Math.round(i*a)/Math.round(d*a);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=i=>i/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(i/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):i,toChineseNumber=i=>{const d=i.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],t=["","\u5341","\u767E","\u5343"],r=["","\u4E07","\u4EBF"],n=s=>{let u="";for(let c=0;c{const t=i.splice(d,1)[0];return i.splice(e,0,t),i},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=i=>{if(!i)return"";const d=i.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r + `),Wa=!1),_o||$n(aa()),_o.formatMessage(xe,Xe)),De=()=>Object.keys(ya)},92427:function(i,d,e){"use strict";e.d(d,{y:function(){return u}});var t=e(62957),r=e(77019),n=e(5269),a=e(14749),s=e(59301);const u=c=>new Promise((o,f)=>{if(window.RTCPeerConnection=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,typeof window.RTCPeerConnection=="undefined")return f("WebRTC not supported by browser");let _=new RTCPeerConnection,p=[];_.createDataChannel(""),_.createOffer().then(x=>_.setLocalDescription(x)).catch(x=>f(x)),_.onicecandidate=x=>{console.log("event:",x);const g=[];if(!x||!x.candidate){if(console.log("ips",p),p.length==0||!(0,a.t)(p[0])){const j=t.default.info({title:s.createElement(r.Z,null,s.createElement(n.Z,{flex:"1"},"\u63D0\u793A"),s.createElement(n.Z,null,s.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>j.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:s.createElement(r.Z,null,s.createElement(n.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(c.ip_limit==="inner"||c.ip_bind)&&s.createElement(s.Fragment,null,s.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),s.createElement("br",null),s.createElement("a",{href:"https://www.educoder.net/forums/4478",target:"_blank"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return f("WebRTC disabled or restricted by browser")}const B=p.filter(j=>(0,a.t)(j));return!B||!B.length?f("IP\u83B7\u53D6\u5931\u8D25"):o(B.join(""))}let P=x.candidate.candidate.split(" "),[O,S,I,E,A,R,,T,...D]=P,M=["rtp","rtpc"];if(console.log("event:",x),p.some(B=>B==A)||p.push(A),console.log(" candidate: "+O.split(":")[1]),console.log(" component: "+M[S-1]),console.log(" protocol: "+I),console.log(" priority: "+E),console.log(" ip: "+A),console.log(" port: "+R),console.log(" type: "+T),D.length){console.log("attributes: ");for(let B=0;B "+D[B]+": "+D[B+1])}}})},32503:function(i,d,e){"use strict";e.d(d,{k:function(){return P}});var t=e(54926),r=e(6767),n=e(89621),a=Object.defineProperty,s=Object.defineProperties,u=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,_=(S,I,E)=>I in S?a(S,I,{enumerable:!0,configurable:!0,writable:!0,value:E}):S[I]=E,p=(S,I)=>{for(var E in I||(I={}))o.call(I,E)&&_(S,E,I[E]);if(c)for(var E of c(I))f.call(I,E)&&_(S,E,I[E]);return S},x=(S,I)=>s(S,u(I)),g=(S,I)=>{var E={};for(var A in S)o.call(S,A)&&I.indexOf(A)<0&&(E[A]=S[A]);if(S!=null&&c)for(var A of c(S))I.indexOf(A)<0&&f.call(S,A)&&(E[A]=S[A]);return E};const P=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],O={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[P[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${P[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[P[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${P[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:S},{call:I,put:E}){yield E({type:"save",payload:{actionTabs:p({},S)}})},*getMajorList({payload:S},{call:I,put:E,select:A}){const{userInfo:R}=yield A(T=>T.user);if(R!=null&&R.school_id){const T=yield I(t.BA,R.school_id);if(T&&T.data){const D=n.U.getItem(R==null?void 0:R.login);yield E({type:"setMajorOrYearDataSource",payload:{key:P[0],value:T.data.map(M=>({label:M.name,value:M.ec_major_school_id})),active:T.data.length>0?D[0]||T.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:S},{call:I,put:E,select:A}){const R=yield I(t.Nx,S.id),{userInfo:T}=yield A(D=>D.user);if(R&&R.data){const D=n.U.getItem(T==null?void 0:T.login);yield E({type:"setMajorOrYearDataSource",payload:{key:P[1],value:R.data.map(M=>({label:M.year,value:M.ec_year_id})),active:R.data.length>0?S.firstEnter?D[1]:R.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:S={}},{call:I,put:E,select:A}){const{calc:R,page:T,per_page:D}=S,{headerData:M,tabListData:B}=yield A(H=>H.engineeringEvaluteList),{userInfo:j}=yield A(H=>H.user);let V=M.active[P[1]];if(V){let H={id:V,page:T||1,per_page:D||B.pageSize};R&&(H=x(p({},H),{page:B.pageNo}));const Y=yield I(t._y,H),F=[M.active[P[0]],M.active[P[1]]];n.U.setItem(j==null?void 0:j.login,F),Y&&Y.ec_courses&&(yield E({type:"setCourseResults",payload:x(p({},B),{pageNo:H.page,total:Y.count,pageSize:H.per_page||B.pageSize,dataSource:Y.ec_courses.map((K,X)=>x(p({},K),{key:H.page>1?(H.page-1)*H.per_page+X+1:X+1}))})}))}else yield E({type:"setCourseResults",payload:x(p({},B),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:S},{call:I,select:E}){const{headerData:A}=yield E(R=>R.engineeringEvaluteList);A.active[P[1]]&&(yield I(t.F,A.active[P[1]]))},*compute({payload:S},{call:I,put:E}){const A=S,{all:R}=A,T=g(A,["all"]),D=yield I(R?t.At:t.PX,T);D&&D.status===0?(r.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield E({type:"getCourseResults",payload:{calc:!0}})):r.ZP.error(D.message)}},reducers:{save(S,I){return p(p({},S),I.payload)},setMajorOrYearDataSource(S,{payload:I}){let E=S.headerData.active;return I.active&&(E=x(p({},E),{[I.key]:I.active})),x(p({},S),{headerData:x(p({},S.headerData),{dataSource:x(p({},S.headerData.dataSource),{[I.key]:x(p({},S.headerData.dataSource[I.key]),{dataList:I.value})}),active:E})})},setMajorOrYearActive(S,{payload:I}){return x(p({},S),{headerData:x(p({},S.headerData),{active:x(p({},S.headerData.active),{[I.key]:I.value})})})},setCourseResults(S,{payload:I}){return x(p({},S),{tabListData:p(p({},S.tabListData),I)})}},subscriptions:{setup({dispatch:S,history:I}){return I.listen(({pathname:E})=>{E==="/"&&S({type:"query"})})}}};d.Z=O},44192:function(i,d,e){"use strict";e.d(d,{L:function(){return c},r:function(){return f}});var t=Object.defineProperty,r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(_,p,x)=>p in _?t(_,p,{enumerable:!0,configurable:!0,writable:!0,value:x}):_[p]=x,u=(_,p)=>{for(var x in p||(p={}))n.call(p,x)&&s(_,x,p[x]);if(r)for(var x of r(p))a.call(p,x)&&s(_,x,p[x]);return _};const c=_=>_==null?void 0:_.map(p=>{const x=(p.sub_disciplines||[]).map(g=>({value:g.id,label:g.name}));return{value:p.id,label:p.name,children:x}}),o={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},f=_=>{if(!_)return;const{all_questions_count:p,all_score:x,single_questions:g,multiple_questions:P,judgement_questions:O,program_questions:S,completion_questions:I,subjective_questions:E,practical_questions:A,combination_questions:R}=_||{},D=[u({type:"SINGLE",name:"\u5355\u9009\u9898"},g),u({type:"MULTIPLE",name:"\u591A\u9009\u9898"},P),u({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},I),u({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},O),u({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},E),u({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},S),u({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},A),u({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},R)].filter(M=>M.questions_count>0).map((M,B)=>u(u({},M),{number:o[B+1]}));return{all_questions_count:p,all_score:x,questionList:D}}},89621:function(i,d,e){"use strict";e.d(d,{U:function(){return a},t:function(){return n}});var t=e(62957),r=e(15267);const n=(s,u="")=>{t.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:u,onOk:s})},a={setItem:(s,u)=>{var c;const o=s+"-engineering"+((c=(0,r.eY)())==null?void 0:c.school_id),f=JSON.stringify(u);localStorage.setItem(o,f)},getItem:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id),o=localStorage.getItem(c);return o!==null&&o!=="[object Object]"?JSON.parse(o):[]},clear:s=>{var u;const c=s+"-engineering"+((u=(0,r.eY)())==null?void 0:u.school_id);localStorage.removeItem(c)}}},48404:function(i,d,e){"use strict";e.d(d,{$f:function(){return p},Cq:function(){return P},GY:function(){return u},I8:function(){return S},Ow:function(){return x},P:function(){return _},Ql:function(){return c},RA:function(){return A},Zm:function(){return o},bz:function(){return s},eF:function(){return O},gQ:function(){return I},ht:function(){return g},kN:function(){return R},n1:function(){return n},nI:function(){return T},o9:function(){return a},sG:function(){return f},wi:function(){return E}});var t=e(49317),r=(D,M,B)=>new Promise((j,V)=>{var H=K=>{try{F(B.next(K))}catch(X){V(X)}},Y=K=>{try{F(B.throw(K))}catch(X){V(X)}},F=K=>K.done?j(K.value):Promise.resolve(K.value).then(H,Y);F((B=B.apply(D,M)).next())});function n(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/avatar.json`,{method:"put",body:D})})}function a(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}.json`,{method:"get"})})}function s(D){return r(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:D})})}function u(D){return r(this,null,function*(){return(0,t.ZP)("/api/schools/limit_list.json",{method:"get",params:D})})}function c(D){return r(this,null,function*(){return(0,t.ZP)(`/api/schools/${D.id}/departments/for_option.json`,{method:"get",params:D})})}function o(D){return r(this,null,function*(){return(0,t.ZP)("/api/add_department_applies.json",{method:"post",body:D})})}function f(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.id}.json`,{method:"put",body:D})})}function _(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/authentication_apply.json`,{method:"delete"})})}function p(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/professional_auth_apply.json`,{method:"delete"})})}function x(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.id}/professional_auth_apply.json`,{method:"post",body:D})})}function g(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.id}/authentication_apply.json`,{method:"post",body:D})})}function P(D){return r(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:D})})}function O(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/phone_bind.json`,{method:"post",body:D})})}function S(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/email_bind.json`,{method:"post",body:D})})}function I(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.login}/password.json`,{method:"put",body:D})})}function E(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${D.basicInfoId}/open_users/${D.id}.json`,{method:"delete"})})}function A(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${D.login}/cancel_authentication.json`,{method:"post",body:D})})}function R(D){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${D.login}/cancel_professional_certification.json`,{method:"post",body:D})})}function T(D,M){return r(this,null,function*(){return(0,t.ZP)(`/api/users/${D.login}/videos/${D.id}/create_subject_video.json`,{method:"post",body:M})})}},69891:function(i,d,e){"use strict";e.d(d,{An:function(){return x},TO:function(){return f},my:function(){return p},nZ:function(){return _}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(g,P,O)=>P in g?r(g,P,{enumerable:!0,configurable:!0,writable:!0,value:O}):g[P]=O,c=(g,P)=>{for(var O in P||(P={}))a.call(P,O)&&u(g,O,P[O]);if(n)for(var O of n(P))s.call(P,O)&&u(g,O,P[O]);return g},o=(g,P,O)=>new Promise((S,I)=>{var E=T=>{try{R(O.next(T))}catch(D){I(D)}},A=T=>{try{R(O.throw(T))}catch(D){I(D)}},R=T=>T.done?S(T.value):Promise.resolve(T.value).then(E,A);R((O=O.apply(g,P)).next())});function f(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/inform_up.json`,{method:"post",body:c({},g)})})}function _(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/inform_down.json`,{method:"post",body:c({},g)})})}function p(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/update_informs.json`,{method:"post",body:c({},g)})})}function x(g){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${g.coursesId}/new_informs.json`,{method:"post",body:c({},g)})})}},52078:function(i,d,e){"use strict";e.d(d,{$n:function(){return O},H:function(){return P},Nm:function(){return x},Ot:function(){return g},SV:function(){return f},fc:function(){return I},mn:function(){return S},tO:function(){return p},zI:function(){return _}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(E,A,R)=>A in E?r(E,A,{enumerable:!0,configurable:!0,writable:!0,value:R}):E[A]=R,c=(E,A)=>{for(var R in A||(A={}))a.call(A,R)&&u(E,R,A[R]);if(n)for(var R of n(A))s.call(A,R)&&u(E,R,A[R]);return E},o=(E,A,R)=>new Promise((T,D)=>{var M=V=>{try{j(R.next(V))}catch(H){D(H)}},B=V=>{try{j(R.throw(V))}catch(H){D(H)}},j=V=>V.done?T(V.value):Promise.resolve(V.value).then(M,B);j((R=R.apply(E,A)).next())});function f(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/public_with_course_and_project",{method:"get",params:c({},E)})})}function _(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:c({},E)})})}function p(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/import.json",{method:"post",body:c({},E)})})}function x(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E.id}.json`,{method:"get",params:c({},E)})})}function g(E){return o(this,null,function*(){const{id:A}=E;return delete E.id,(0,t.ZP)(`/api/files/${A}.json`,{method:"put",body:c({},E)})})}function P(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E.id}/update_visits.json`,{method:"post"})})}function O(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E==null?void 0:E.id}/watch_list.json`,{method:"get",params:c({},E)})})}function S(E){return o(this,null,function*(){return(0,t.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:c({},E)})})}function I(E){return o(this,null,function*(){return(0,t.ZP)(`/api/files/${E==null?void 0:E.id}/add_file_quantity.json`,{method:"post",body:c({},E)})})}},70387:function(i,d,e){"use strict";e.d(d,{CJ:function(){return x},Mf:function(){return I},NA:function(){return O},PC:function(){return g},PP:function(){return P},YQ:function(){return S},cc:function(){return p},dI:function(){return _},yq:function(){return f}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(E,A,R)=>A in E?r(E,A,{enumerable:!0,configurable:!0,writable:!0,value:R}):E[A]=R,c=(E,A)=>{for(var R in A||(A={}))a.call(A,R)&&u(E,R,A[R]);if(n)for(var R of n(A))s.call(A,R)&&u(E,R,A[R]);return E},o=(E,A,R)=>new Promise((T,D)=>{var M=V=>{try{j(R.next(V))}catch(H){D(H)}},B=V=>{try{j(R.throw(V))}catch(H){D(H)}},j=V=>V.done?T(V.value):Promise.resolve(V.value).then(M,B);j((R=R.apply(E,A)).next())});function f(E){return o(this,null,function*(){return(0,t.ZP)("/api/courses/board_list.json",{method:"get",params:c({},E)})})}function _(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.boardId}.json`,{method:"get",params:c({},E)})})}function p(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.id}/sticky_top.json`,{method:"put",body:{course_id:E.coursesId}})})}function x(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.id}/sticky_top.json`,{method:"put",body:{course_id:E.coursesId}})})}function g(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.boardId}/reply_list.json`,{method:"get",params:c({},E)})})}function P(E){return o(this,null,function*(){return(0,t.ZP)(`/api/messages/${E.boardId}/reply.json`,{method:"post",body:c({},E)})})}function O(E){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},E)})})}function S(E){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},E)})})}function I(E){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},E)})})}},77996:function(i,d,e){"use strict";e.d(d,{$T:function(){return _n},A:function(){return Be},Ab:function(){return Va},Al:function(){return se},BQ:function(){return fe},BR:function(){return ie},Bn:function(){return pe},Cq:function(){return bn},D4:function(){return P},DJ:function(){return Re},Dd:function(){return D},Ds:function(){return Ee},EO:function(){return ht},Ed:function(){return Ce},Ew:function(){return En},FU:function(){return Qe},Fg:function(){return M},GV:function(){return bt},Gk:function(){return k},Gm:function(){return ft},Gz:function(){return B},Hf:function(){return f},Hl:function(){return j},Hn:function(){return X},ID:function(){return rt},IU:function(){return Ut},J2:function(){return ct},K$:function(){return et},KP:function(){return me},KT:function(){return Je},L$:function(){return Yt},Lk:function(){return No},Lm:function(){return S},Ls:function(){return ze},MA:function(){return en},Mc:function(){return Za},N7:function(){return ee},Nd:function(){return J},Nl:function(){return Ht},Ns:function(){return Tt},O3:function(){return Ke},Pj:function(){return $e},Q9:function(){return x},QX:function(){return qt},QZ:function(){return vt},R2:function(){return G},Rk:function(){return sr},S9:function(){return Se},SA:function(){return O},U8:function(){return gr},UD:function(){return Er},U_:function(){return W},Uy:function(){return qe},V8:function(){return K},Vw:function(){return He},W0:function(){return Ze},W7:function(){return Oe},WK:function(){return pn},Wr:function(){return gn},YR:function(){return ce},Z0:function(){return Ir},ZL:function(){return ar},ZT:function(){return va},ZX:function(){return ma},Zj:function(){return wa},_9:function(){return ke},_B:function(){return no},_X:function(){return p},aP:function(){return dt},aQ:function(){return ye},aZ:function(){return it},al:function(){return je},bm:function(){return Cr},bz:function(){return ge},c_:function(){return Ur},ds:function(){return Qt},fN:function(){return ha},fr:function(){return At},g4:function(){return St},gq:function(){return V},hf:function(){return de},i:function(){return kr},i6:function(){return Fe},i7:function(){return Le},iE:function(){return E},iZ:function(){return I},ih:function(){return On},jA:function(){return g},kW:function(){return at},km:function(){return Lt},l4:function(){return F},nP:function(){return R},nQ:function(){return lt},nX:function(){return Nt},oM:function(){return mt},oR:function(){return Ja},o_:function(){return kt},pf:function(){return Kt},pr:function(){return _o},pv:function(){return on},qB:function(){return le},rS:function(){return H},s:function(){return za},sK:function(){return _},sb:function(){return Dt},sm:function(){return T},t1:function(){return Ie},tB:function(){return ja},td:function(){return cr},tg:function(){return Ue},uh:function(){return Ve},up:function(){return yr},v2:function(){return A},vV:function(){return $t},w9:function(){return N},wH:function(){return Y},wR:function(){return Ne},yS:function(){return _t},yV:function(){return Z},zC:function(){return na},zg:function(){return st}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Pe,$n,aa)=>$n in Pe?r(Pe,$n,{enumerable:!0,configurable:!0,writable:!0,value:aa}):Pe[$n]=aa,c=(Pe,$n)=>{for(var aa in $n||($n={}))a.call($n,aa)&&u(Pe,aa,$n[aa]);if(n)for(var aa of n($n))s.call($n,aa)&&u(Pe,aa,$n[aa]);return Pe},o=(Pe,$n,aa)=>new Promise((yo,ai)=>{var Wa=xe=>{try{De(aa.next(xe))}catch(Xe){ai(Xe)}},Ha=xe=>{try{De(aa.throw(xe))}catch(Xe){ai(Xe)}},De=xe=>xe.done?yo(xe.value):Promise.resolve(xe.value).then(Wa,Ha);De((aa=aa.apply(Pe,$n)).next())});const f=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/update_group.json`,{method:"put",body:Pe})}),_=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/students.json`,{method:"Get",params:Pe})}),p=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/add_groups.json`,{method:"post",body:Pe})}),x=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/list_groups_by_settings.json`,{method:"post",body:Pe})}),g=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/groups.json`,{method:"Get",params:Pe})}),P=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/update_leader_permission.json`,{method:"put",body:Pe})}),O=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/update_group_settings`,{method:"put",body:Pe})}),S=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.coursesId}/group_homeworks/${Pe==null?void 0:Pe.categoryId}/group_settings.json`,{method:"Get",params:Pe})}),I=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe==null?void 0:Pe.id}/test_result_setting.json`,{method:"post",body:Pe})}),E=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/course_videos/configs.json`,{method:"put",body:Pe})}),A=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Pe})}),R=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Pe})}),T=Pe=>o(void 0,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Pe})}),D=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Pe})}),M=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Pe})}),B=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Pe})}),j=Pe=>o(void 0,null,function*(){return(0,t.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Pe})});function V(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.course_id}/set_assistant_permissions.json`,{method:"post",body:c({},Pe.permissions)})})}function H(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.course_id}/assistant_permissions.json`,{method:"Get",params:c({},Pe)})})}function Y(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/smart_plans/${Pe==null?void 0:Pe.id}.json`,{method:"Get",params:c({},Pe)})})}function F(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/smart_plans/${Pe==null?void 0:Pe.id}/item_banks.json`,{method:"Get",params:c({},Pe)})})}function K(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"Get",params:c({},Pe)})})}function X(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:c({},Pe)})})}function Q(Pe){return o(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:c({},Pe)})})}function W(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/top_banner.json`,{method:"get",params:c({},Pe)})})}function N(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id||Pe.coursesId}/left_banner.json`,{method:"get",params:c({},Pe)})})}function J(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/homework_commons.json`,{method:"get",params:c({},Pe)})})}function k(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/homework_commons/list.json`,{method:"get",params:c({},Pe)})})}function Z(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/graduation_topics.json`,{method:"get",params:c({},Pe)})})}function G(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/graduation_tasks.json`,{method:"get",params:c({},Pe)})})}function ee(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/v2/courses/${Pe.id}/exercises.json`,{method:"get",params:c({},Pe)})})}function ie(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/polls.json`,{method:"get",params:c({},Pe)})})}function se(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/homework_commons.json`,{method:"get",params:c({},Pe)})})}function le(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/course_groups.json`,{method:"get",params:c({},Pe)})})}function de(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/all_course_groups.json`,{method:"get",params:c({},Pe)})})}function He(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/attendances.json`,{method:"get",params:c({},Pe)})})}function ze(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/courses/${Pe.coursesId}/attendances.json`,{method:"get",params:c({},Pe)})})}function st(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/attendances/${Pe.id}/edit.json`,{method:"get",params:c({},Pe)})})}function vt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/informs.json`,{method:"get",params:c({},Pe)})})}function Je(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/files.json",{method:"get",params:c({},Pe)})})}function Ke(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/course_videos.json`,{method:"get",params:c({},Pe)})})}function Re(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/live_links.json`,{method:"get",params:c({},Pe)})})}function Ce(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/mine.json",{method:"get",params:c({},Pe)})})}function me(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${Pe.categoryId}/messages.json`,{method:"get",params:c({},Pe)})})}function at(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/course_groups.json`,{method:"get",params:c({},Pe)})})}function ct(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/students.json`,{method:"get",params:c({},Pe)})})}function St(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/statistics.json`,{method:"get",params:c({},Pe)})})}function bt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/work_score.json`,{method:"get",params:c({},Pe)})})}function Ie(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/act_score.json`,{method:"get",params:c({},Pe)})})}function $e(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/shixun_lists.json",{method:"get",params:c({},Pe)})})}function ft(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"get",params:c({},Pe)})})}function ke(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:c({},Pe)})})}function ye(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:c({},Pe)})})}function fe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:c({},Pe)})})}function Oe(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/subject_lists.json",{method:"get",params:c({},Pe)})})}function Ee(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:c({},Pe)})})}function et(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/schools/school_list.json",{method:"get",params:Pe})})}function mt(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_course_list.json",{method:"post",body:Pe})})}function pe(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses.json",{method:"post",body:Pe})})}function ge(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Pe})})}function lt(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/users/member_search.json",{method:"get",params:Pe})})}function Qe(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/search_all.json",{method:"get",params:Pe})})}function Ve(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/add_teacher.json`,{method:"post",body:Pe})})}function it(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/add_students_by_search.json`,{method:"post",body:Pe})})}function Dt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/set_public_or_private.json`,{method:"post",body:Pe})})}function Yt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/set_invite_code_halt.json`,{method:"post",body:Pe})})}function Se(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/duplicate_course.json`,{method:"post",body:Pe})})}function je(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/update_end_date.json`,{method:"put",body:Pe})})}function Be(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}.json`,{method:"delete",body:Pe})})}function ht(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/settings.json`,{method:"get",params:c({},Pe)})})}function At(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}.json`,{method:"put",body:Pe})})}function ce(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function _t(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_member_act_score_async.json`,{method:"get",params:c({export:!0},Pe)})})}function qt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:c({export:!0},Pe)})})}function Ht(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:c({export:!0},Pe)})})}function Ut(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_star_user.json`,{method:"get",params:c({export:!0},Pe)})})}function cr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_mooc_records.json`,{method:"get",params:c({export:!0},Pe)})})}function Ze(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/export_total_course_score.json`,{method:"get",params:c({export:!0},Pe)})})}function dt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Pe)})})}function kt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe.categoryId}/export_shixun_report.json`,{method:"get",params:c({export:!0},Pe)})})}function ar(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_exercise_users.json`,{method:"get",params:c({export:!0},Pe)})})}function $t(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_exercise_word.json`,{method:"get",params:c({export:!0},Pe)})})}function pr(Pe){return o(this,null,function*(){return Fetch(`/api/homework_commons/${Pe.categoryId}/works_list.zip`,{method:"get",params:c({export:!0},Pe)})})}function Ir(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api//course_second_categories/${Pe.id}.json`,{method:"delete",params:{export:!0}})})}function kr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api//boards/${Pe.id}.json`,{method:"delete",params:{export:!0}})})}function er(Pe){return o(this,null,function*(){return Fetch(`/api/course_modules/${Pe.id}/sticky_module.json`,{method:"get"})})}function Nt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_modules/${Pe.id}/hidden_module.json`,{method:"get"})})}function Kt(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/new.json",{method:"get",params:Pe})})}function Qt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/weapps/attendances/${Pe.id}.json`,{method:"get",params:Pe})})}function Cr(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Pe})})}function Er(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Pe})})}function wt(Pe){return o(this,null,function*(){return Fetch(`/api/polls/${Pe.categoryId}/commit_result.xlsx`,{method:"get",params:c({export:!0},Pe)})})}function qe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_scores.json`,{method:"get",params:c({export:!0},Pe)})})}function Ue(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe.categoryId}/export_exercise_reports.json`,{method:"get",params:c({export:!0},Pe)})})}function Le(Pe){return(0,t.ZP)(`/api/polls/${Pe.categoryId}/start_answer.json`,{method:"get",params:c({},Pe)})}function rt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Pe.questionId}/poll_votes.json`,{method:"post",body:Pe})})}function Tt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Pe.categoryId}/commit_poll.json`,{method:"post",body:Pe})})}function Lt(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.courseId}/tasks_list.json`,{method:"get",params:Pe})})}function gr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.courseId}/update_task_position.json`,{method:"post",body:Pe})})}function yr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Pe})})}function Ur(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/all_course_groups.json`,{method:"get",params:Pe})})}function bn(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/polls/all_course_groups.json`,{method:"get",params:Pe})})}function sr(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/students.json`,{method:"get",params:Pe})})}function _n(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Pe.categoryId}/rename_group.json`,{method:"POST",body:Pe})})}function on(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_groups/${Pe.categoryId}.json`,{method:"delete",body:Pe})})}function Fe(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/join_course_group.json`,{method:"POST",body:Pe})})}function Ne(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/transfer_to_course_group.json`,{method:"post",body:Pe})})}function en(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/delete_from_course.json`,{method:"post",body:Pe})})}function pn(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/join_course_group.json`,{method:"post",body:Pe})})}function ha(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/exit_course.json`,{method:"post"})})}function ma(Pe){return o(this,null,function*(){return(0,t.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:c({},Pe)})})}function On(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/mooc_users/${Pe.user_id}/edit.json`,{method:"get",params:Pe})})}function za(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/mooc_users.json`,{method:"post",body:Pe})})}function ja(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.coursesId}/mooc_users/${Pe.user_id}.json`,{method:"put",body:Pe})})}function gn(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/course_second_categories/${Pe.id}/move_category.json`,{method:"post",body:Pe})})}function Va(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/boards/${Pe.id}/move_category.json`,{method:"post",body:Pe})})}function va(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.id}/courseware.json`,{method:"get",params:Pe})})}function _o(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe}/mark_wrong_topic.json`,{method:"get",params:$n})})}function no(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Pe}/cancel_wrong_topic.json`,{method:"get",params:$n})})}function Ja(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Pe}/allow_end_group.json`,{method:"get",params:$n})})}function Za(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:$n})})}function No(Pe,$n){return o(this,null,function*(){return(0,t.ZP)(`/api/tasks/${Pe}/get_content_for_commit_id.json`,{method:"get",params:$n})})}function ya(Pe){return o(this,null,function*(){return Fetch(`/api/courses/${Pe.course_id}/course_ai_info.json`,{method:"Get",params:c({},Pe)})})}function na(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe.course_id}/set_open_ai.json`,{method:"post",body:Pe})})}function En(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.id}/smart_plans.json`,{method:"get",params:c({},Pe)})})}function wa(Pe){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Pe==null?void 0:Pe.id}/smart_plans.json`,{method:"post",body:c({},Pe)})})}},46831:function(i,d,e){"use strict";e.d(d,{$M:function(){return Je},$P:function(){return et},Ax:function(){return _},Dh:function(){return S},FU:function(){return j},GQ:function(){return W},IN:function(){return Ie},JM:function(){return ye},Ju:function(){return vt},Mn:function(){return bt},Ni:function(){return G},Pg:function(){return I},Pt:function(){return O},Qp:function(){return X},R9:function(){return V},Ux:function(){return Q},Vy:function(){return le},XJ:function(){return Z},XR:function(){return ze},Ze:function(){return T},aq:function(){return R},bQ:function(){return g},bu:function(){return p},cC:function(){return f},jS:function(){return Y},lm:function(){return $e},ml:function(){return J},o3:function(){return Re},pA:function(){return me},pS:function(){return ke},pU:function(){return k},ps:function(){return B},q0:function(){return ct},qN:function(){return St},qS:function(){return P},qj:function(){return He},qt:function(){return Oe},rV:function(){return E},rZ:function(){return fe},rk:function(){return ie},rm:function(){return K},sK:function(){return F},sL:function(){return at},su:function(){return ft},tC:function(){return se},tO:function(){return de},u9:function(){return N},uZ:function(){return ee},vV:function(){return M},xx:function(){return mt},y8:function(){return st},yS:function(){return D},zF:function(){return x},zc:function(){return H},zj:function(){return A},zz:function(){return Ee}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(pe,ge,lt)=>ge in pe?r(pe,ge,{enumerable:!0,configurable:!0,writable:!0,value:lt}):pe[ge]=lt,c=(pe,ge)=>{for(var lt in ge||(ge={}))a.call(ge,lt)&&u(pe,lt,ge[lt]);if(n)for(var lt of n(ge))s.call(ge,lt)&&u(pe,lt,ge[lt]);return pe},o=(pe,ge,lt)=>new Promise((Qe,Ve)=>{var it=Se=>{try{Yt(lt.next(Se))}catch(je){Ve(je)}},Dt=Se=>{try{Yt(lt.throw(Se))}catch(je){Ve(je)}},Yt=Se=>Se.done?Qe(Se.value):Promise.resolve(Se.value).then(it,Dt);Yt((lt=lt.apply(pe,ge)).next())});const f=pe=>(0,t.ZP)(`/api/competitions/${pe.identifier}/create_guide.json`,{method:"post",body:pe}),_=pe=>(0,t.ZP)(`/api/competitions/${pe.identifier}/guides.json`,{method:"get",params:pe}),p=pe=>(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.competition_team_id}/edit_info.json`,{method:"put",body:pe});function x(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/update_result.json`,{method:"post",body:pe})})}function g(pe){return o(this,null,function*(){return(0,t.ZP)("/api/competitions.json",{method:"Get",params:c({},pe)})})}function P(pe){return o(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:pe})})}function O(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"post"})})}function S(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_staff.json`,{method:"get"})})}function I(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/common_header.json`,{method:"get"})})}function E(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/${pe.url}`,{method:"get",params:c({},pe)})})}function A(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/update_md_content.json`,{method:"post",body:pe})})}function R(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"get",params:pe})})}function T(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.Teannameid}/edit.json`,{method:"get",params:pe})})}function D(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.Teannameid}.json`,{method:"put",body:pe})})}function M(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.id}/leave.json`,{method:"post",body:pe})})}function B(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.id}.json`,{method:"delete"})})}function j(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"post",body:pe})})}function V(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.id}/add_managers.json`,{method:"post",body:pe})})}function H(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/join.json`,{method:"post",body:pe})})}function Y(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/teachers.json`,{method:"get",params:pe})})}function F(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/students.json`,{method:"get",params:pe})})}function K(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.teamid}/crud_team_members.json`,{method:"post",body:pe})})}function X(pe){return o(this,null,function*(){return(0,t.ZP)("/api/users/competition_reward.json",{method:"post",body:pe})})}function Q(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/chart_rules.json`,{method:"get"})})}function W(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/charts.json`,{method:"get",params:pe})})}function N(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/results.json`,{method:"get",params:pe})})}function J(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/md_tab_rules.json`,{method:"get",params:pe})})}function k(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/prize.json`,{method:"get",params:pe})})}function Z(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.id}.json`,{method:"get",params:pe})})}function G(pe){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:pe})})}function ee(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/phone_bind.json`,{method:"post",body:pe})})}function ie(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/email_bind.json`,{method:"post",body:pe})})}function se(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/professional_auth_apply.json`,{method:"delete"})})}function le(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/users/accounts/${pe.userid}/authentication_apply.json`,{method:"delete"})})}function de(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/prize_leader_account.json`,{method:"put",body:pe})})}function He(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.teamid}/shixun_detail.json`,{method:"get"})})}function ze(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams/${pe.teamid}/course_detail.json`,{method:"get"})})}function st(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/attachments/${pe.id}.json`,{method:"delete"})})}function vt(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.id}/get_certificate_info.json`,{method:"get",params:pe})})}function Je(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.id}/basic_setting.json`,{method:"post",body:pe})})}function Ke(){return o(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Re(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/common_header.json`,{method:"get"})})}function Ce(pe){return o(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:pe})})}function me(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/search_managers.json`,{method:"get",params:pe})})}function at(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/get_managers.json`,{method:"get"})})}function ct(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/add_managers.json`,{method:"post",body:pe})})}function St(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/delete_managers.json`,{method:"delete",body:pe})})}function bt(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/get_picture.json`,{method:"get"})})}function Ie(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/identifier_exist.json`,{method:"post",body:pe})})}function $e(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/get_shixun_settings.json`,{method:"get"})})}function ft(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/shixun_add.json`,{method:"post",body:pe})})}function ke(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/shixun_delete.json`,{method:"delete",body:pe})})}function ye(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/shixun_select.json`,{method:"post",body:pe})})}function fe(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe}/info_finish.json`,{method:"get"})})}function Oe(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe==null?void 0:pe.id}/competition_review.json`,{method:"post",body:c({},pe)})})}function Ee(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_teams.json`,{method:"get",params:pe})})}function et(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/all_team_members.json`,{method:"get",params:pe})})}function mt(pe){return o(this,null,function*(){return(0,t.ZP)(`/api/competitions/${pe.identifier}/competition_commit_records/member_works.json`,{method:"get",params:pe})})}},54926:function(i,d,e){"use strict";e.d(d,{F:function(){return P},OE:function(){return A},ff:function(){return O},p1:function(){return S},_y:function(){return g},mK:function(){return M},gq:function(){return j},eM:function(){return D},BA:function(){return Y},bA:function(){return K},Nx:function(){return F},Qx:function(){return R},At:function(){return I},PX:function(){return E},Xl:function(){return T},y9:function(){return B},No:function(){return V},ay:function(){return X}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Q,W,N)=>W in Q?r(Q,W,{enumerable:!0,configurable:!0,writable:!0,value:N}):Q[W]=N,f=(Q,W)=>{for(var N in W||(W={}))u.call(W,N)&&o(Q,N,W[N]);if(s)for(var N of s(W))c.call(W,N)&&o(Q,N,W[N]);return Q},_=(Q,W)=>n(Q,a(W)),p=(Q,W)=>{var N={};for(var J in Q)u.call(Q,J)&&W.indexOf(J)<0&&(N[J]=Q[J]);if(Q!=null&&s)for(var J of s(Q))W.indexOf(J)<0&&c.call(Q,J)&&(N[J]=Q[J]);return N},x=(Q,W,N)=>new Promise((J,k)=>{var Z=ie=>{try{ee(N.next(ie))}catch(se){k(se)}},G=ie=>{try{ee(N.throw(ie))}catch(se){k(se)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(Z,G);ee((N=N.apply(Q,W)).next())});const g=Q=>x(void 0,null,function*(){var W=Q,{id:N}=W,J=p(W,["id"]);return(0,t.ZP)(`/api/ec_years/${N}/course_results.json`,{method:"get",params:J})}),P=Q=>{let W=document.createElement("iframe");W.src=`/api/ec_years/${Q}/course_results.xlsx`,W.style.display="none",document.body.appendChild(W)},O=({ec_year_id:Q})=>(0,t.ZP)(`/api/ec_years/${Q}/course_results/get_class.json`,{method:"get"}),S=({ec_year_id:Q,id:W,class_name:N=null})=>(0,t.ZP)(`/api/ec_years/${Q}/course_results/${W}.json`,{method:"get",params:{class_name:N}}),I=({ec_year_id:Q})=>(0,t.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:Q}}),E=({ec_course_id:Q})=>(0,t.ZP)(`/api/ec_courses/${Q}/evaluations/evaluation_data`,{method:"POST"}),A=Q=>{let W=document.createElement("iframe");W.src=`/api/ec_years/${Q}/ec_graduation_results.xlsx`,W.style.display="none",document.body.appendChild(W)},R=({ec_year_id:Q})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/compute_all`,{method:"post"}),T=({ec_year_id:Q,id:W})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/compute_single?id=${W}`,{method:"POST"}),D=Q=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results.json`,{method:"get"}),M=Q=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/get_formulas.json`,{method:"get"}),B=({ec_year_id:Q,formula_one:W,formula_two:N,formula_three:J})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:W,formula_two_id:N,formula_three_id:J}}),j=({ec_year_id:Q,id:W})=>(0,t.ZP)(`/api/ec_years/${Q}/ec_graduation_results/${W}.json`,{method:"get"}),V=Q=>{var W=Q,{ec_year_id:N,type:J,goal_value:k}=W,Z=p(W,["ec_year_id","type","goal_value"]);let G=`?type=${J}`,ee={method:"PUT"};return J==="all"&&(G+=`&goal_value=${k}`),J==="each"&&(ee=_(f({},ee),{body:Z})),(0,t.ZP)(`/api/ec_years/${N}/ec_graduation_results/set_goal_value${G}`,ee)};var H=(Q,W,N)=>new Promise((J,k)=>{var Z=ie=>{try{ee(N.next(ie))}catch(se){k(se)}},G=ie=>{try{ee(N.throw(ie))}catch(se){k(se)}},ee=ie=>ie.done?J(ie.value):Promise.resolve(ie.value).then(Z,G);ee((N=N.apply(Q,W)).next())});const Y=Q=>H(void 0,null,function*(){return(0,t.ZP)(`/api/schools/${Q}/ec_majors/get_major_list.json`,{method:"get"})}),F=Q=>H(void 0,null,function*(){return(0,t.ZP)(`/api/ec_major_schools/${Q}/ec_years/get_year_list.json`,{method:"get"})}),K=({ec_year_id:Q,school_id:W})=>(0,t.ZP)(`/api/ec_years/${Q}/top_pages.json`,{method:"get",params:{school_id:W}}),X=({id:Q,name:W})=>(0,t.ZP)(`/api/ec_years/1/top_pages/${Q}?name=${W}`,{method:"PUT"})},84849:function(i,d,e){"use strict";e.d(d,{$Q:function(){return R},$l:function(){return bn},BJ:function(){return ft},CD:function(){return it},Cd:function(){return pe},Cl:function(){return kr},Di:function(){return at},FN:function(){return sr},Fl:function(){return bt},G$:function(){return G},GK:function(){return St},Ip:function(){return fe},J:function(){return ee},KE:function(){return Ie},L8:function(){return ht},LP:function(){return Oe},MK:function(){return ct},Mb:function(){return Cr},N0:function(){return H},N3:function(){return st},OL:function(){return _n},OO:function(){return E},P8:function(){return Le},PJ:function(){return se},PT:function(){return wt},Qc:function(){return F},RK:function(){return Z},Ty:function(){return $t},UH:function(){return Ut},UK:function(){return vt},Uj:function(){return Qe},Ul:function(){return mt},VL:function(){return Se},Vj:function(){return ce},W4:function(){return lt},WL:function(){return _t},Wj:function(){return k},Wm:function(){return on},X4:function(){return ye},Xn:function(){return Kt},Xo:function(){return X},YY:function(){return me},Ym:function(){return j},Yu:function(){return rt},ZD:function(){return Ue},Zg:function(){return er},_B:function(){return Ve},_F:function(){return Er},_U:function(){return W},_u:function(){return le},aU:function(){return V},ab:function(){return Ir},cC:function(){return ar},cV:function(){return N},c_:function(){return B},ck:function(){return qe},dp:function(){return Y},eA:function(){return yr},fG:function(){return O},gA:function(){return J},gG:function(){return Qt},gJ:function(){return Tt},hk:function(){return x},hv:function(){return g},iB:function(){return P},iU:function(){return S},iw:function(){return kt},j:function(){return I},k8:function(){return M},kp:function(){return je},lL:function(){return A},lf:function(){return ze},n$:function(){return He},n7:function(){return Q},nF:function(){return At},o3:function(){return Lt},oS:function(){return Ee},oX:function(){return Yt},oy:function(){return pr},pL:function(){return Dt},pu:function(){return ke},q6:function(){return Be},qf:function(){return Ce},qz:function(){return et},s:function(){return Ze},sA:function(){return qt},sS:function(){return gr},se:function(){return Re},tX:function(){return cr},uR:function(){return Je},ux:function(){return $e},wy:function(){return Ke},xA:function(){return dt},yE:function(){return K},yu:function(){return Ht},zP:function(){return T},zR:function(){return Ur}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Fe,Ne,en)=>Ne in Fe?r(Fe,Ne,{enumerable:!0,configurable:!0,writable:!0,value:en}):Fe[Ne]=en,f=(Fe,Ne)=>{for(var en in Ne||(Ne={}))u.call(Ne,en)&&o(Fe,en,Ne[en]);if(s)for(var en of s(Ne))c.call(Ne,en)&&o(Fe,en,Ne[en]);return Fe},_=(Fe,Ne)=>n(Fe,a(Ne)),p=(Fe,Ne,en)=>new Promise((pn,ha)=>{var ma=ja=>{try{za(en.next(ja))}catch(gn){ha(gn)}},On=ja=>{try{za(en.throw(ja))}catch(gn){ha(gn)}},za=ja=>ja.done?pn(ja.value):Promise.resolve(ja.value).then(ma,On);za((en=en.apply(Fe,Ne)).next())});const x=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:Fe}),g=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:Fe}),P=Fe=>(0,t.ZP)(`/api/exercises/${Fe.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:Fe}),O=Fe=>(0,t.ZP)(`/api/exercises/${Fe.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:Fe}),S=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:Fe}),I=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/exercise_tag_result.json`,{method:"get",params:Fe}),E=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/list_student_score.json`,{method:"get",params:Fe}),A=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:Fe}),R=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/statistics/score_ranges.json`,{method:"get",params:Fe}),T=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/sava_exam_summary.json`,{method:"post",body:Fe}),D=Fe=>Fetch("/api/intelligent_reviews/exam_summary.json",{method:"post",body:Fe}),M=Fe=>(0,t.ZP)("/api/ai/exam_summaries.json",{method:"post",body:Fe}),B=Fe=>(0,t.ZP)("/api/ai/exam_summaries/polling.json",{method:"post",body:Fe}),j=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/generate_exam_summary.json`,{method:"post",body:Fe}),V=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/exam_summary_settings.json`,{method:"post",body:Fe}),H=Fe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.exercise_id}/review_exercise_user.json`,{method:"post",body:Fe})}),Y=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/code_check.json`,{method:"get",params:Fe}),F=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/reset_pwd.json`,{method:"post",body:Fe}),K=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/encrypt_or_decrypt.json`,{method:"post",body:Fe}),X=Fe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/delayed_time_or_force.json`,{method:"post",body:Fe})}),Q=Fe=>p(void 0,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/exercise_time.json`,{method:"Get",params:Fe})}),W=Fe=>(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/exercise_question_result.json`,{method:"get",params:Fe}),N=Fe=>(0,t.ZP)(`/api/exercises/${Fe.id}/get_question_type_alias.json`,{method:"get",params:Fe});function J(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe==null?void 0:Fe.id}/teacher_update.json`,{method:"post",body:f({},Fe)})})}function k(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe==null?void 0:Fe.id}/adjust_comment.json`,{method:"post",body:f({},Fe)})})}function Z(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/edit_question_type_alias.json`,{method:"POST",body:Fe})})}function G(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_lists.json`,{method:"get",params:f({},Fe)})})}function ee(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_identity_photos.json`,{method:"get",params:f({},Fe)})})}function ie(Fe){return p(this,null,function*(){return Fetch(`/api/exercises/${Fe.categoryId}/video_push_url.json`,{method:"get",params:f({},Fe)})})}function se(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/query_identity_photo_state.json`,{method:"get",params:f({},Fe)})})}function le(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_result.json`,{method:"get",params:f({},Fe)})})}function de(Fe){return p(this,null,function*(){return Fetch(`/api/exercises/${Fe.categoryId}/exercise_score_area_setting.json`,{method:"post",body:f({},Fe)})})}function He(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Fe)})})}function ze(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:f({},Fe)})})}function st(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises/publish_modal.json`,{method:"get",params:f({},Fe)})})}function vt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/common_header.json`,{method:"get",params:f({},Fe)})})}function Je(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises.json`,{method:"post",body:f({},Fe)})})}function Ke(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}.json`,{method:"put",body:f({},Fe)})})}function Re(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Fe.exerciseId}/update_name.json`,{method:"post",body:f({},Fe)})})}function Ce(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}.json`,{method:"get",params:f({},Fe)})})}function me(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"get",params:f({},Fe)})})}function at(Fe){return p(this,null,function*(){const{id:Ne}=Fe;return delete Fe.id,(0,t.ZP)(`/api/exercise_questions/${Ne}.json`,{method:"put",body:f({},Fe)})})}function ct(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_questions.json`,{method:"post",body:f({},Fe)})})}function St(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}/up_down.json`,{method:"post",body:f({},Fe)})})}function bt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}.json`,{method:"delete"})})}function Ie(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises/end_modal.json`,{method:"get",params:f({},Fe)})})}function $e(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/publish_groups.json`,{method:"get",params:f({},Fe)})})}function ft(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/user_exercise_detail.json`,{method:"get",params:f({},Fe)})})}function ke(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/consult_exercise.json`,{method:"post",body:f({},Fe)})})}function ye(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/teacher_appraise.json`,{method:"get",params:f({},Fe)})})}function fe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}/adjust_score.json`,{method:"post",body:f({},Fe)})})}function Oe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.id}/batch_adjust_score.json`,{method:"post",body:f({},Fe)})})}function Ee(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/adjust_score.json`,{method:"post",body:f({},Fe)})})}function et(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.id}/delayed_time.json`,{method:"post",body:f({},Fe)})})}function mt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_setting.json`,{method:"get",params:f({},Fe)})})}function pe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/v2/exercises/${Fe.categoryId}/exercise_setting.json`,{method:"get",params:f({},Fe)})})}function ge(Fe){return p(this,null,function*(){return Fetch(`/api/exercises/${Fe.categoryId}/commit_setting.json`,{method:"post",body:f({},Fe)})})}function lt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.exerciseId}/review_exercises_by_students.json`,{method:"post",body:f({},Fe)})})}function Qe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_lists.xlsx`,{method:"get",params:_(f({},Fe),{export:!0})})})}function Ve(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/user_exercise_detail.json`,{method:"get",params:_(f({},Fe),{login:null})})}function it(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/start.json`,{method:"get",params:f({},Fe)})}function Dt(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/start_unlock.json`,{method:"post",body:f({},Fe)})}function Yt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.questionId}/exercise_answers.json`,{method:"post",body:Fe})})}function Se(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/commit_exercise.json`,{method:"post",body:Fe})})}function je(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/simulate_commit_exercise.json`,{method:"post",body:Fe})})}function Be(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/redo_exercise.json`,{method:"post",body:Fe})})}function ht(Fe){return(0,t.ZP)(`/api/${Fe.url}`,{method:"get",params:f({},Fe)})}function At(Fe){return(0,t.ZP)(`/api/problems/${Fe.id}/start.json`,{method:"get",params:f({},Fe)})}function ce(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/begin_commit.json`,{method:"get",params:f({},Fe)})}function _t(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/simulate_begin_commit.json`,{method:"get",params:f({},Fe)})}function qt(Fe){return(0,t.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:f({},Fe)})}function Ht(Fe){return console.log("params:",Fe),(0,t.ZP)(`/api/exercises/${Fe.categoryId}/edit.json`,{method:"get",params:f({},Fe)})}function Ut(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/get_objective_scores.json`,{method:"get",params:f({},Fe)})}function cr(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/redo_modal.json`,{method:"get",params:f({},Fe)})}function Ze(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/student_redo_lists.json`,{method:"get",params:f({},Fe)})}function dt(Fe){return(0,t.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:Fe})}function kt(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/exercise_header.json`,{method:"get",params:f({},Fe)})}function ar(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/allow_close_camera.json`,{method:"post",body:f({},Fe)})}function $t(Fe){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/get_exercise_user_info.json`,{method:"get",params:f({},Fe)})}function pr(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/record_screen`,{method:"post",params:f({},Fe)})}function Ir(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/unbind_ip.json`,{method:"post",body:f({},Fe)})}function kr(Fe){return(0,t.ZP)(`/api/exercises/${Fe.id}/check_ip.json`,{method:"get",params:f({},Fe)})}function er(Fe){return(0,t.ZP)(`/api/exercises/${Fe==null?void 0:Fe.id}/check_user_exercise.json`,{method:"get",params:f({},Fe)})}function Nt(Fe){return Fetch(`/api/exercises/${Fe.id}/make_up_students.json`,{method:"get",params:f({},Fe)})}function Kt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Fe.coursesId}/exercises/code_review_detail.json`,{method:"get",params:f({},Fe)})})}function Qt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe.question_id}/adjust_score.json`,{method:"post",body:f({},Fe)})})}function Cr(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Fe.categoryId}/simulate_exercise.json`,{method:"post",body:f({},Fe)})})}function Er(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/simulate_start_answer.json`,{method:"get",params:f({},Fe)})})}function wt(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/exercise_time.json`,{method:"get",params:f({},Fe)})})}function qe(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe.categoryId}/commit_screen_at.json`,{method:"post",body:f({},Fe)})})}function Ue(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/unlock_user`,{method:"post",body:Ne})})}function Le(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/save_screen_record.json`,{method:"post",body:Ne})})}function rt(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/screen_record_list.json`,{method:"get",params:Ne})})}function Tt(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:f({},Fe)})})}function Lt(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/exercises/need_redo.json",{method:"get",params:Fe})})}function gr(Fe,Ne){return p(this,null,function*(){return(0,t.ZP)(`/api/exercises/${Fe}/mark.json`,{method:"post",body:Ne})})}function yr(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Fe}/exit_delete_pod.json`,{method:"post",body:Fe})})}function Ur(Fe){return p(this,null,function*(){return(0,t.ZP)("/api/users/change_exercise_score.json",{method:"put",body:Fe})})}function bn(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/exercise_questions/${Fe==null?void 0:Fe.id}/send_to_item_bank.json`,{method:"post",body:f({},Fe)})})}function sr(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${Fe.exercise_id}/wrong_details.json`,{method:"get",params:f({},Fe)})})}function _n(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${Fe.exercise_id}/wrong_question.json`,{method:"get",params:f({},Fe)})})}function on(Fe){return p(this,null,function*(){return(0,t.ZP)(`/api/ai/wrong_question_push_charts/${Fe.exercise_id}/wrong_question_lists.json`,{method:"get",params:f({},Fe)})})}},242:function(i,d,e){"use strict";e.d(d,{B0:function(){return p},Si:function(){return I},Sr:function(){return A},YP:function(){return E},b4:function(){return S},bc:function(){return f},dX:function(){return O},eh:function(){return R},iI:function(){return g},kd:function(){return _},qR:function(){return P},sW:function(){return x},ts:function(){return D},vL:function(){return T},z5:function(){return M}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(B,j,V)=>j in B?r(B,j,{enumerable:!0,configurable:!0,writable:!0,value:V}):B[j]=V,c=(B,j)=>{for(var V in j||(j={}))a.call(j,V)&&u(B,V,j[V]);if(n)for(var V of n(j))s.call(j,V)&&u(B,V,j[V]);return B},o=(B,j,V)=>new Promise((H,Y)=>{var F=Q=>{try{X(V.next(Q))}catch(W){Y(W)}},K=Q=>{try{X(V.throw(Q))}catch(W){Y(W)}},X=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(F,K);X((V=V.apply(B,j)).next())});function f(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"get",params:B})})}function _(B){return o(this,null,function*(){return(0,t.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:B})})}function p(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}/sticky_or_cancel.json`,{method:"post",body:B})})}function x(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}.json`,{method:"delete",body:B})})}function g(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos/new.json",{method:"get",params:B})})}function P(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}/edit.json`,{method:"get",params:B})})}function O(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos.json",{method:"post",body:c({},B)})})}function S(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}.json`,{method:"put",body:c({},B)})})}function I(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}.json`,{method:"get",params:B})})}function E(B){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${B.user_id}/watch.json`,{method:"post",body:B})})}function A(B){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${B.user_id}/watch.json`,{method:"delete",body:c({},B)})})}function R(B){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${B.id}/reward_code.json`,{method:"post",body:B})})}function T(B){return o(this,null,function*(){return(0,t.ZP)(`/api/discusses/${B.id}/plus.json`,{method:"post",body:B})})}function D(B){return o(this,null,function*(){return(0,t.ZP)("/api/memos/reply.json",{method:"post",body:B})})}function M(B){return o(this,null,function*(){return(0,t.ZP)(`/api/memos/${B.id}/more_reply.json`,{method:"get",params:B})})}},88627:function(i,d,e){"use strict";e.d(d,{D2:function(){return n},n0:function(){return a},tk:function(){return s}});var t=e(49317),r=(u,c,o)=>new Promise((f,_)=>{var p=P=>{try{g(o.next(P))}catch(O){_(O)}},x=P=>{try{g(o.throw(P))}catch(O){_(O)}},g=P=>P.done?f(P.value):Promise.resolve(P.value).then(p,x);g((o=o.apply(u,c)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/setting.json",{method:"Get"})})}function a(){return r(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"Get"})})}function s(u){return r(this,null,function*(){return(0,t.ZP)("/api/search_records",{method:"post",body:u})})}},79405:function(i,d,e){"use strict";e.d(d,{B6:function(){return p},Gr:function(){return D},Mf:function(){return A},NA:function(){return I},PC:function(){return O},PP:function(){return S},QA:function(){return _},RP:function(){return j},Sv:function(){return B},YQ:function(){return E},_n:function(){return V},hL:function(){return T},je:function(){return P},mM:function(){return g},wA:function(){return M},x_:function(){return x},y0:function(){return R},y3:function(){return f}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(H,Y,F)=>Y in H?r(H,Y,{enumerable:!0,configurable:!0,writable:!0,value:F}):H[Y]=F,c=(H,Y)=>{for(var F in Y||(Y={}))a.call(Y,F)&&u(H,F,Y[F]);if(n)for(var F of n(Y))s.call(Y,F)&&u(H,F,Y[F]);return H},o=(H,Y,F)=>new Promise((K,X)=>{var Q=J=>{try{N(F.next(J))}catch(k){X(k)}},W=J=>{try{N(F.throw(J))}catch(k){X(k)}},N=J=>J.done?K(J.value):Promise.resolve(J.value).then(Q,W);N((F=F.apply(H,Y)).next())});function f(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}.json`,{method:"get",params:c({},H)})})}function _(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}/tasks_list.json`,{method:"get",params:c({},H)})})}function p(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/show_detail.json`,{method:"get",params:c({},H)})})}function x(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}.json`,{method:"get",params:c({},H)})})}function g(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/refuse_student_topic.json`,{method:"post",body:c({},H)})})}function P(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/accept_student_topic.json`,{method:"post",body:c({},H)})})}function O(H){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${H.categoryId}/show_comment.json`,{method:"get",params:c({},H)})})}function S(H){return o(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:c({},H)})})}function I(H){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:c({},H)})})}function E(H){return o(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:c({},H)})})}function A(H){return o(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:c({},H)})})}function R(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/new.json`,{method:"get",params:c({},H)})})}function T(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}/edit.json`,{method:"get",params:c({},H)})})}function D(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics`,{method:"post",body:c({},H)})})}function M(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_topics/${H.categoryId}`,{method:"put",body:c({},H)})})}function B(H){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${H.coursesId}/graduation_tasks`,{method:"post",body:c({},H)})})}function j(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}.json`,{method:"put",body:c({},H)})})}function V(H){return o(this,null,function*(){return(0,t.ZP)(`/api/graduation_tasks/${H.categoryId}/edit.json`,{method:"get",params:c({},H)})})}},45567:function(i,d,e){"use strict";e.d(d,{AA:function(){return M},Db:function(){return _},Dd:function(){return P},F7:function(){return F},Fi:function(){return J},H3:function(){return g},HF:function(){return S},HH:function(){return x},Ib:function(){return Q},J3:function(){return u},NT:function(){return n},NX:function(){return E},Ot:function(){return I},Ou:function(){return K},Ps:function(){return a},Rk:function(){return Y},Tz:function(){return f},V1:function(){return W},Wz:function(){return s},Xh:function(){return p},Xw:function(){return H},YS:function(){return j},Zd:function(){return N},bS:function(){return A},ck:function(){return O},eh:function(){return D},il:function(){return c},j7:function(){return o},jW:function(){return B},km:function(){return V},l5:function(){return T},rU:function(){return k},xF:function(){return R},zC:function(){return X},zT:function(){return Z}});var t=e(49317),r=(G,ee,ie)=>new Promise((se,le)=>{var de=st=>{try{ze(ie.next(st))}catch(vt){le(vt)}},He=st=>{try{ze(ie.throw(st))}catch(vt){le(vt)}},ze=st=>st.done?se(st.value):Promise.resolve(st.value).then(de,He);ze((ie=ie.apply(G,ee)).next())});function n(G){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:G})}function a(G){return(0,t.ZP)(`/api/schools/${G.id}/departments/for_option.json`,{method:"get",params:G})}function s(G){return(0,t.ZP)("/api/graduations.json",{method:"POST",body:G})}function u(G){return(0,t.ZP)("/api/graduations.json",{method:"get",params:G})}function c(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.stageid}/authorized_redelivery.json`,{method:"POST",body:G})})}function o(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.stageid}/submit.json`,{method:"POST",body:G})})}function f(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/export_status.json`,{method:"get",params:G})})}function _(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/export_all_attachments.json`,{method:"get",params:G})})}function p(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_stages/${G.id}.json`,{method:"get",params:G})})}function x(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/set_final_score.json`,{method:"POST",body:G})})}function g(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/student_tasks/final_score.json`,{method:"get",params:G})})}function P(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/set_novice_guide.json`,{method:"POST",body:G})})}function O(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_notices/${G.doid}/set_do.json`,{method:"POST",body:G})})}function S(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers.json`,{method:"POST",body:G})})}function I(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.identifier}/graduation_students/${G.id}/update_major.json`,{method:"PUT",body:G})})}function E(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students.json`,{method:"POST",body:G})})}function A(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers/search.json`,{method:"get",params:G})})}function R(G){return r(this,null,function*(){return(0,t.ZP)("/api/schools/search.json",{method:"get",params:G})})}function T(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students/search.json`,{method:"get",params:G})})}function D(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_students.json`,{method:"get",params:G})})}function M(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_teachers.json`,{method:"get",params:G})})}function B(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.graduation_id}/graduation_tasks.json`,{method:"POST",body:G})})}function j(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.graduation_id}/graduation_tasks/${G.id}.json`,{method:"PUT",body:G})})}function V(G){return r(this,null,function*(){var ee;return(0,t.ZP)(`/api/graduations/${G.id}/graduation_tasks/${(ee=G.ids)==null?void 0:ee[0]}`,{method:"DELETE",body:{ids:G.ids}})})}function H(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_tasks.json`,{method:"get",params:G})})}function Y(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}/graduation_notices.json`,{method:"get",params:G})})}function F(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G.id}.json`,{method:"get"})})}function K(G){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G==null?void 0:G.id}/common_header.json`,{method:"get"})})}function X(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/preview.json`,{method:"get"})})}function Q(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/not_pass.json`,{method:"post",body:ee})})}function W(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/pass.json`,{method:"post",body:ee})})}function N(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/not_pass.json`,{method:"post",body:ee})})}function J(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/pass.json`,{method:"post",body:ee})})}function k(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_students/batch_delete`,{method:"delete",body:ee})})}function Z(G,ee){return r(this,null,function*(){return(0,t.ZP)(`/api/graduations/${G}/graduation_teachers/batch_delete`,{method:"delete",body:ee})})}},73505:function(i,d,e){"use strict";e.d(d,{LA:function(){return u},S_:function(){return c},Tt:function(){return n},cR:function(){return a},vm:function(){return s}});var t=e(49317),r=(o,f,_)=>new Promise((p,x)=>{var g=S=>{try{O(_.next(S))}catch(I){x(I)}},P=S=>{try{O(_.throw(S))}catch(I){x(I)}},O=S=>S.done?p(S.value):Promise.resolve(S.value).then(g,P);O((_=_.apply(o,f)).next())});function n(){return r(this,null,function*(){return(0,t.ZP)("/api/home/index.json",{method:"Get"})})}function a(o){return r(this,null,function*(){return(0,t.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:o})})}function s(o){return r(this,null,function*(){return(0,t.ZP)("/api/project_applies.json",{method:"post",body:o})})}function u(o){return r(this,null,function*(){return(0,t.ZP)("/api/users/home_notice.json",{method:"Get"})})}function c(o){return r(this,null,function*(){return(0,t.ZP)("/api/users/view_notice.json",{method:"post",body:o})})}},80007:function(i,d,e){"use strict";e.d(d,{AD:function(){return f},Ig:function(){return _},Ko:function(){return g},QJ:function(){return P},Ub:function(){return O},V8:function(){return p},dl:function(){return S},w0:function(){return x}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(I,E,A)=>E in I?r(I,E,{enumerable:!0,configurable:!0,writable:!0,value:A}):I[E]=A,c=(I,E)=>{for(var A in E||(E={}))a.call(E,A)&&u(I,A,E[A]);if(n)for(var A of n(E))s.call(E,A)&&u(I,A,E[A]);return I},o=(I,E,A)=>new Promise((R,T)=>{var D=j=>{try{B(A.next(j))}catch(V){T(V)}},M=j=>{try{B(A.throw(j))}catch(V){T(V)}},B=j=>j.done?R(j.value):Promise.resolve(j.value).then(D,M);B((A=A.apply(I,E)).next())});function f(I){return o(this,null,function*(){return(0,t.ZP)("/api/users/tidings.json",{method:"get",params:c({},I)})})}function _(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/unread_message_info.json`,{method:"get",params:c({},I)})})}function p(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"get",params:c({},I)})})}function x(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages.json`,{method:"post",body:c({},I)})})}function g(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.id}/recent_contacts.json`,{method:"get",params:c({},I)})})}function P(I){return o(this,null,function*(){return(0,t.ZP)("/api/users_for_private_messages.json",{method:"get",params:c({},I)})})}function O(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_message_details.json`,{method:"get",params:c({},I)})})}function S(I){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${I.userId}/private_messages/${I.id}.json`,{method:"delete"})})}},38500:function(i,d,e){"use strict";e.d(d,{A2:function(){return P},CI:function(){return p},Ep:function(){return g},Ex:function(){return R},R7:function(){return f},WW:function(){return T},_V:function(){return A},ms:function(){return I},s0:function(){return O},vf:function(){return x},xn:function(){return _},yy:function(){return E}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(D,M,B)=>M in D?r(D,M,{enumerable:!0,configurable:!0,writable:!0,value:B}):D[M]=B,c=(D,M)=>{for(var B in M||(M={}))a.call(M,B)&&u(D,B,M[B]);if(n)for(var B of n(M))s.call(M,B)&&u(D,B,M[B]);return D},o=(D,M,B)=>new Promise((j,V)=>{var H=K=>{try{F(B.next(K))}catch(X){V(X)}},Y=K=>{try{F(B.throw(K))}catch(X){V(X)}},F=K=>K.done?j(K.value):Promise.resolve(K.value).then(H,Y);F((B=B.apply(D,M)).next())});function f(D){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${D.coursesId}/online_learning.json`,{method:"get"})})}function _(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}.json`,{method:"put",body:D})})}function p(D){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${D.coursesId}/course_stages.json`,{method:"post",body:D})})}function x(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/add_shixun_to_stage.json`,{method:"post",body:D})})}function g(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/select_shixun_to_stage.json`,{method:"post",body:D})})}function P(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/add_video_to_stage.json`,{method:"post",body:D})})}function O(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/add_attachment_to_stage.json`,{method:"post",body:D})})}function S(D){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:D})})}function I(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/up_position.json`,{method:"post"})})}function E(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}/down_position.json`,{method:"post"})})}function A(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.id}.json`,{method:"delete"})})}function R(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.stage_id}/items/move_position.json`,{method:"post",body:c({},D)})})}function T(D){return o(this,null,function*(){return(0,t.ZP)(`/api/course_stages/${D.stage_id}/items/${D.id}`,{method:"delete"})})}},37166:function(i,d,e){"use strict";e.d(d,{DF:function(){return P},Di:function(){return W},Dm:function(){return Y},Dq:function(){return ie},Gd:function(){return g},Hb:function(){return se},Hm:function(){return j},ID:function(){return o},JP:function(){return ee},NC:function(){return M},Pl:function(){return O},Qc:function(){return a},Qp:function(){return F},RK:function(){return _},YP:function(){return B},a2:function(){return u},ar:function(){return x},cV:function(){return f},d1:function(){return p},dp:function(){return n},fn:function(){return S},iT:function(){return R},jK:function(){return H},kF:function(){return le},kp:function(){return A},lc:function(){return E},oF:function(){return J},q$:function(){return c},qN:function(){return V},tS:function(){return I},ts:function(){return T},un:function(){return X},w0:function(){return Q},wX:function(){return K},yE:function(){return s}});var t=e(49317),r=(de,He,ze)=>new Promise((st,vt)=>{var Je=Ce=>{try{Re(ze.next(Ce))}catch(me){vt(me)}},Ke=Ce=>{try{Re(ze.throw(Ce))}catch(me){vt(me)}},Re=Ce=>Ce.done?st(Ce.value):Promise.resolve(Ce.value).then(Je,Ke);Re((ze=ze.apply(de,He)).next())});const n=de=>(0,t.ZP)(`/api/examination_banks/${de==null?void 0:de.id}/code_check.json`,{method:"get",params:de}),a=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/reset_pwd.json`,{method:"post",body:de}),s=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/encrypt_or_decrypt.json`,{method:"post",body:de}),u=de=>(0,t.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:de}),c=de=>(0,t.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:de}),o=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/copy.json`,{method:"post",body:de}),f=de=>(0,t.ZP)(`/api/examination_banks/${de.id}/get_question_type_alias.json`,{method:"get",params:de});function _(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/edit_question_type_alias.json`,{method:"POST",body:de})})}function p(de){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:de})})}function x(de){return r(this,null,function*(){return(0,t.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:de})})}function g(de){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"get",params:de})})}function P(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/set_public.json`,{method:"post"})})}function O(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/set_private.json`,{method:"post"})})}function S(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}.json`,{method:"delete"})})}function I(de){return r(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:de})})}const E=de=>(0,t.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:de});function A(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/send_to_course.json`,{method:"post",body:de})})}function R(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}.json`,{method:"get",params:de})})}function T(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}/set_score`,{method:"post",body:de})})}function D(de){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}/set_shixun_score.json`,{method:"post",body:de})})}function M(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}.json`,{method:"delete"})})}function B(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:de})})}function j(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:de})})}function V(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/${de.itemId}/adjust_position.json`,{method:"post",body:de})})}function H(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}.json`,{method:"put",body:de})})}function Y(de){return r(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:de})})}function F(de){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:de})})}function K(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de==null?void 0:de.id}/set_public.json`,{method:"post",body:de})})}function X(de){return r(this,null,function*(){return(0,t.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:de})})}function Q(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/update_exam.json`,{method:"put",body:de})})}function W(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/edit_exam.json`,{method:"get"})})}function N(de,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de}/examination_banks_item_banks.json`,{method:"post",body:He})})}function J(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:de})})}function k(de,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de}/sort_question_type.json`,{method:"post",body:He})})}function Z(de){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de.exam_id}/examination_banks_item_banks/${de.question_id}.json`,{method:"delete"})})}function G(de,He){return r(this,null,function*(){return Fetch(`/api/examination_banks/${de}/batch_set_score.json`,{method:"post",body:He})})}function ee(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de}/simulate_exercise.json`,{method:"post"})})}function ie(de){return r(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${de}/exercise_header.json`,{method:"get"})})}function se(de,He,ze){return r(this,null,function*(){const st=new FormData;return st.append("file",He),st.append("course_discipline_id",ze),(0,t.ZP)(`/api/examination_banks/${de}/import_item_banks.json`,{method:"post",body:st},!0)})}function le(de){return r(this,null,function*(){return(0,t.ZP)("/api/users/change_exam_score.json",{method:"put",body:de})})}},3761:function(i,d,e){"use strict";e.d(d,{$D:function(){return me},A2:function(){return _t},A7:function(){return rt},AP:function(){return Fe},AQ:function(){return ze},Ax:function(){return $t},Az:function(){return on},Bn:function(){return yr},Bz:function(){return E},CB:function(){return D},CI:function(){return cr},Cc:function(){return bn},D$:function(){return p},DQ:function(){return wt},DU:function(){return Se},EG:function(){return H},EP:function(){return Ce},Ep:function(){return ce},Er:function(){return ye},Eu:function(){return R},Ex:function(){return kr},FD:function(){return qe},F_:function(){return Yt},Fg:function(){return W},GY:function(){return Qt},Go:function(){return $e},Gz:function(){return N},Hl:function(){return J},Ho:function(){return S},JS:function(){return ge},Jd:function(){return M},Ju:function(){return A},KM:function(){return St},M1:function(){return f},M2:function(){return Ht},Mk:function(){return _n},Mt:function(){return Ut},Mu:function(){return pr},NV:function(){return gr},O9:function(){return O},PQ:function(){return T},Q:function(){return Oe},S$:function(){return x},Sp:function(){return He},VO:function(){return Ue},WD:function(){return Kt},WO:function(){return ke},WW:function(){return er},YP:function(){return F},_C:function(){return Lt},_V:function(){return ar},b:function(){return g},bw:function(){return Re},bz:function(){return Er},c2:function(){return B},c3:function(){return pe},cn:function(){return G},dX:function(){return X},eJ:function(){return Ie},ef:function(){return Dt},fh:function(){return ee},fj:function(){return ft},gU:function(){return Tt},hS:function(){return k},id:function(){return sr},jT:function(){return Le},j_:function(){return K},ke:function(){return Nt},lk:function(){return de},mB:function(){return _},mE:function(){return I},mQ:function(){return le},ms:function(){return dt},mx:function(){return et},nq:function(){return Q},ol:function(){return Cr},p:function(){return vt},p4:function(){return Ee},pU:function(){return se},pf:function(){return V},rS:function(){return lt},rs:function(){return bt},s0:function(){return qt},se:function(){return j},sm:function(){return mt},tS:function(){return Z},tu:function(){return ie},ue:function(){return st},vf:function(){return ht},w4:function(){return Je},wA:function(){return Ur},wv:function(){return Y},xG:function(){return At},xn:function(){return Be},yN:function(){return Ke},yy:function(){return kt},zc:function(){return P}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Ne,en,pn)=>en in Ne?r(Ne,en,{enumerable:!0,configurable:!0,writable:!0,value:pn}):Ne[en]=pn,c=(Ne,en)=>{for(var pn in en||(en={}))a.call(en,pn)&&u(Ne,pn,en[pn]);if(n)for(var pn of n(en))s.call(en,pn)&&u(Ne,pn,en[pn]);return Ne},o=(Ne,en,pn)=>new Promise((ha,ma)=>{var On=gn=>{try{ja(pn.next(gn))}catch(Va){ma(Va)}},za=gn=>{try{ja(pn.throw(gn))}catch(Va){ma(Va)}},ja=gn=>gn.done?ha(gn.value):Promise.resolve(gn.value).then(On,za);ja((pn=pn.apply(Ne,en)).next())});const f=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/student_detail.json",{method:"get",params:Ne})}),_=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_detail.json",{method:"get",params:Ne})}),p=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/update_statistic.json",{method:"get",params:Ne})}),x=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/statistic_lists.json",{method:"get",params:Ne})}),g=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/route_statistics.json",{method:"get",params:Ne})}),P=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/send_to_course.json",{method:"POST",body:Ne})}),O=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/check_knowledge_repeat.json",{method:"POST",body:Ne})}),S=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/courses.json",{method:"get",params:Ne})}),I=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/toggle.json",{method:"get",params:Ne})}),E=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/v2/knowledge_graphs/${Ne==null?void 0:Ne.graphable_type}/${Ne==null?void 0:Ne.graphable_id}`,{method:"get",params:Ne})}),A=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/detail.json`,{method:"get",params:Ne})}),R=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals/home.json",{method:"get",params:Ne})}),T=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_tags/${Ne==null?void 0:Ne.id}.json`,{method:"delete",body:Ne})}),D=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"POST",body:Ne})}),M=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_tags.json",{method:"get",params:Ne})}),B=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/tree.json",{method:"get",params:Ne})}),j=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/edit`,{method:"get",params:Ne})}),V=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}.json`,{method:"delete",body:Ne})}),H=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}.json`,{method:"PUT",body:Ne})}),Y=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"POST",body:Ne})}),F=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/ability_goals.json",{method:"get",params:Ne})}),K=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/update_knowledge_statistic.json",{method:"POST",body:Ne})}),X=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/knowledge/v2/subject_knowledge_statistic.json",{method:"Get",params:Ne})}),Q=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:Ne})}),W=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:Ne})}),N=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:Ne})}),J=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:Ne})}),k=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:Ne})});function Z(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"Get",params:c({},Ne)})})}function G(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:c({},Ne)})})}function ee(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:c({},Ne)})})}function ie(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}.json`,{method:"PUT",body:Ne})})}function se(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/paths.json",{method:"post",body:Ne})})}function le(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/edit.json`,{method:"get"})})}function de(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}.json`,{method:"get",params:c({identifier:Ne.id},Ne)})})}function He(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.id}.json`,{method:"get",params:c({identifier:Ne.id},Ne)})})}function ze(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/right_banner.json`,{method:"get",params:Ne})})}function st(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/spoc_courses.json`,{method:"get",params:Ne})})}const vt=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/v2/stages.json",{method:"Get",params:Ne})}),Je=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/v2/stage_shixuns/${Ne.id}/children.json`,{method:"Get",params:Ne})});function Ke(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:Ne})})}function Re(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/update_team_title.json`,{method:"post",body:Ne})})}function Ce(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/delete_member.json`,{method:"Delete",body:Ne})})}function me(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/spoc_courses/${Ne==null?void 0:Ne.courseid}.json`,{method:"Delete"})})}function at(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/up_member_position.json`,{method:"post",body:Ne})})}function ct(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/down_member_position.json`,{method:"post",body:Ne})})}function St(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"post",body:Ne})})}function bt(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:Ne})})}function Ie(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}.json`,{method:"Delete",body:Ne})})}function $e(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/publish.json`,{method:"post",body:Ne})})}function ft(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/cancel_publish.json`,{method:"post",body:Ne})})}function ke(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/apply_public.json`,{method:"post",body:Ne})})}function ye(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/cancel_public.json`,{method:"post",body:Ne})})}function fe(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/choose_course.json`,{method:"get",params:Ne})})}function Oe(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function Ee(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/examination_banks/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function et(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/add_subject_members.json`,{method:"post",body:Ne})})}function mt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/spoc_courses.json`,{method:"post",body:Ne})})}function pe(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/appointment.json`,{method:"post",body:Ne})})}function ge(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.id}/join_excellent_course.json`,{method:"post",body:Ne})})}function lt(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/watch_attachment_histories.json",{method:"post",body:Ne})})}function Qe(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/statistics_info.json`,{method:"get",params:Ne})})}function Ve(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/shixun_analyze.json`,{method:"get",params:Ne})})}function it(Ne){return o(this,null,function*(){return Fetch(`/api/paths/${Ne.id}/learning_analyze.json`,{method:"get",params:Ne})})}function Dt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/learning_statistics.json`,{method:"get",params:Ne})})}function Yt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/shixun_statistics.json`,{method:"get",params:Ne})})}function Se(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/study_analyze/${Ne.type}.json`,{method:"get",params:Ne})})}function je(Ne){return o(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:Ne})})}function Be(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}.json`,{method:"put",body:Ne})})}function ht(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_shixun_to_stage.json`,{method:"post",body:Ne})})}const At=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/stages/${Ne==null?void 0:Ne.stage_id}/select_challenge_to_stage.json`,{method:"post",body:Ne})});function ce(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/select_shixun_to_stage.json`,{method:"post",body:Ne})})}function _t(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_video_to_stage.json`,{method:"post",body:Ne})})}function qt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_attachment_to_stage.json`,{method:"post",body:Ne})})}function Ht(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Ne.id}.json`,{method:"put",body:Ne})})}function Ut(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/add_blank_to_stage.json`,{method:"post",body:Ne})})}function cr(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"post",body:Ne})})}function Ze(Ne){return o(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:Ne})})}function dt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/up_position.json`,{method:"get"})})}function kt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}/down_position.json`,{method:"get"})})}function ar(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.id}.json`,{method:"delete"})})}function $t(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.pathId}/discusses.json`,{method:"get",params:c({},Ne)})})}function pr(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.coursesId}/excellent_discusses.json`,{method:"get",params:c({},Ne)})})}function Ir(Ne){return o(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:c({},Ne)})})}function kr(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.stage_id}/items/move_position`,{method:"post",body:c({},Ne)})})}function er(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne.stage_id}/items/${Ne.id}`,{method:"delete"})})}function Nt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne.id}/excellent_discuss`,{method:"post",body:c({},Ne)})})}function Kt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/paths/${Ne.id}/post_discuss`,{method:"post",body:c({},Ne)})})}function Qt(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/schools/for_option.json",{method:"get",params:Ne})})}function Cr(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/schools/province_data.json",{method:"get",params:Ne})})}function Er(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/add_school_applies.json",{method:"post",body:Ne})})}function wt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne==null?void 0:Ne.id}/add_homework_to_stage.json`,{method:"post",body:Ne})})}function qe(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Ne==null?void 0:Ne.id}/edit.json`,{method:"get",params:Ne})})}function Ue(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${Ne==null?void 0:Ne.id}.json`,{method:"put",body:Ne})})}function Le(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Ne==null?void 0:Ne.user_id}/subjects/subject_homework.json`,{method:"get",params:Ne})})}function rt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Ne==null?void 0:Ne.user_id}/courses/course_homework.json`,{method:"get",params:Ne})})}function Tt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ne==null?void 0:Ne.course_id}/smart_plans/get_ppt_file.json`,{method:"get",params:Ne})})}function Lt(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/stages/${Ne==null?void 0:Ne.id}/batch_add_homework_to_stage.json`,{method:"post",body:Ne})})}function gr(Ne){return o(this,null,function*(){return(0,t.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:Ne})})}function yr(Ne){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${Ne==null?void 0:Ne.user_login}/subjects/cancel.json`,{method:"get",params:Ne})})}const Ur=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_graph_statistics.json",{method:"get",params:Ne})}),bn=Ne=>o(void 0,null,function*(){return(0,t.ZP)("/api/subject_knowledge/knowledge_statistic_lists.json",{method:"get",params:Ne})}),sr=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/statistics.json`,{method:"get",params:Ne})}),_n=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/statistic_lists.json`,{method:"get",params:Ne})}),on=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/statistic_detail.json`,{method:"get",params:Ne})}),Fe=Ne=>o(void 0,null,function*(){return(0,t.ZP)(`/api/ability_goals/${Ne==null?void 0:Ne.id}/student_detail.json`,{method:"get",params:Ne})})},92216:function(i,d,e){"use strict";e.d(d,{Fd:function(){return Q},Hi:function(){return x},IU:function(){return M},KE:function(){return P},Kc:function(){return N},MK:function(){return B},Q9:function(){return A},Qg:function(){return D},Qn:function(){return S},UK:function(){return p},W:function(){return k},Ye:function(){return T},_c:function(){return f},hO:function(){return Y},iV:function(){return J},jy:function(){return j},kp:function(){return H},lf:function(){return E},m7:function(){return g},n$:function(){return I},rJ:function(){return R},s3:function(){return _},ux:function(){return O},vf:function(){return X},wh:function(){return V},wo:function(){return W},x$:function(){return K}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(Z,G,ee)=>G in Z?r(Z,G,{enumerable:!0,configurable:!0,writable:!0,value:ee}):Z[G]=ee,c=(Z,G)=>{for(var ee in G||(G={}))a.call(G,ee)&&u(Z,ee,G[ee]);if(n)for(var ee of n(G))s.call(G,ee)&&u(Z,ee,G[ee]);return Z},o=(Z,G,ee)=>new Promise((ie,se)=>{var le=ze=>{try{He(ee.next(ze))}catch(st){se(st)}},de=ze=>{try{He(ee.throw(ze))}catch(st){se(st)}},He=ze=>ze.done?ie(ze.value):Promise.resolve(ze.value).then(le,de);He((ee=ee.apply(Z,G)).next())});const f=Z=>o(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z==null?void 0:Z.id}/commit_word_cloud.json`,{method:"Get",params:Z})});function _(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/poll_lists.json`,{method:"get",params:c({},Z)})})}function p(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/common_header.json`,{method:"get"})})}function x(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/poll_setting.json`,{method:"get"})})}function g(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/commit_setting.json`,{method:"post",body:c({},Z)})})}function P(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/polls/end_poll_modal.json`,{method:"get",params:c({},Z)})})}function O(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/publish_groups.json`,{method:"get",params:c({},Z)})})}function S(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/commit_result.json`,{method:"get",params:c({},Z)})})}function I(Z){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:c({},Z)})})}function E(Z){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:c({},Z)})})}function A(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/polls/publish_modal.json`,{method:"get",params:c({},Z)})})}function R(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${Z.coursesId}/polls.json`,{method:"POST",body:c({},Z)})})}function T(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.categoryId}/edit.json`,{method:"get"})})}function D(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.pollsId}.json`,{method:"put",body:c({},Z)})})}function M(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}.json`,{method:"put",body:c({},Z)})})}function B(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/polls/${Z.pollsId}/poll_questions.json`,{method:"post",body:c({},Z)})})}function j(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}.json`,{method:"delete",body:c({},Z)})})}function V(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}/up_down.json`,{method:"post",body:c({},Z)})})}function H(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${Z.topicId}.json`,{method:"get"})})}function Y(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_banks/${Z.topicId}.json`,{method:"put",body:c({},Z)})})}function F(Z){return o(this,null,function*(){return Fetch(`/api/exercise_banks/${Z.topicId}.json`,{method:"put",body:c({},Z)})})}function K(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${Z.pollsId}.json`,{method:"delete",body:c({},Z)})})}function X(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_questions/${Z.pollsId}/up_down.json`,{method:"post",body:c({},Z)})})}function Q(Z){return o(this,null,function*(){return(0,t.ZP)("/api/poll_bank_questions.json",{method:"post",body:c({},Z)})})}function W(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/poll_bank_questions/${Z.pollsId}.json`,{method:"put",body:c({},Z)})})}function N(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${Z.id}.json`,{method:"put",body:c({},Z)})})}function J(Z){return o(this,null,function*(){return(0,t.ZP)("/api/exercise_bank_questions.json",{method:"post",body:c({},Z)})})}function k(Z){return o(this,null,function*(){return(0,t.ZP)(`/api/exercise_bank_questions/${Z.exerciseId}/up_down.json`,{method:"post",body:c({},Z)})})}},46861:function(i,d,e){"use strict";e.d(d,{A1:function(){return ye},Bd:function(){return A},Bo:function(){return F},Cc:function(){return Q},Cn:function(){return J},DF:function(){return I},Dm:function(){return Re},FG:function(){return Y},GW:function(){return Ce},HF:function(){return B},Hm:function(){return Z},IJ:function(){return ke},L5:function(){return Ke},LS:function(){return at},MZ:function(){return $e},Mr:function(){return H},NZ:function(){return He},Of:function(){return O},Pl:function(){return S},Qj:function(){return g},RT:function(){return pe},Rp:function(){return ct},U6:function(){return j},Vl:function(){return W},Wk:function(){return V},YP:function(){return k},Ys:function(){return T},al:function(){return R},bF:function(){return Ee},d1:function(){return x},dt:function(){return et},et:function(){return ee},ex:function(){return P},fn:function(){return E},hI:function(){return ze},hg:function(){return Ie},iT:function(){return K},lS:function(){return de},nD:function(){return me},qN:function(){return G},rV:function(){return D},s:function(){return le},sD:function(){return ft},sS:function(){return Je},ts:function(){return X},vi:function(){return fe},wX:function(){return bt},x5:function(){return M}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(ge,lt,Qe)=>lt in ge?r(ge,lt,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ge[lt]=Qe,f=(ge,lt)=>{for(var Qe in lt||(lt={}))u.call(lt,Qe)&&o(ge,Qe,lt[Qe]);if(s)for(var Qe of s(lt))c.call(lt,Qe)&&o(ge,Qe,lt[Qe]);return ge},_=(ge,lt)=>n(ge,a(lt)),p=(ge,lt,Qe)=>new Promise((Ve,it)=>{var Dt=je=>{try{Se(Qe.next(je))}catch(Be){it(Be)}},Yt=je=>{try{Se(Qe.throw(je))}catch(Be){it(Be)}},Se=je=>je.done?Ve(je.value):Promise.resolve(je.value).then(Dt,Yt);Se((Qe=Qe.apply(ge,lt)).next())});function x(ge){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"get",params:_(f({},ge),{clazz:"ItemBanksGroup"})})})}function g(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:ge})})}function P(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ge})})}function O(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/list.json",{method:"post",body:ge})})}function S(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/set_private.json`,{method:"post"})})}function I(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/set_public.json`,{method:"post"})})}function E(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}.json`,{method:"delete"})})}function A(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ge.id}/start.json`,{method:"get"})})}function R(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}.json`,{method:"delete",body:f({},ge)})})}function T(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"post",body:ge})})}function D(ge){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ge})})}function M(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:ge.type}})})}function B(ge){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:ge})})}function j(ge){return p(this,null,function*(){return(0,t.ZP)("/api/tag_disciplines.json",{method:"post",body:ge})})}function V(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}.json`,{method:"put",body:ge})})}function H(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks.json",{method:"post",body:ge})})}function Y(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/edit.json`,{method:"get"})})}function F(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/problems/${ge.id}/edit.json`,{method:"get"})})}function K(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets.json",{method:"get",params:ge})})}function X(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/set_score.json`,{method:"post",body:ge})})}function Q(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/set_challenge_score.json`,{method:"post",body:ge})})}function W(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/combination_set_score.json`,{method:"post",body:ge})})}function N(ge){return p(this,null,function*(){return Fetch(`/api/examination_banks//${ge.exerid}/examination_banks_item_banks/${ge.id}/combination_set_score.json`,{method:"post",body:ge})})}function J(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}.json`,{method:"delete"})})}function k(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:ge})})}function Z(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:ge})})}function G(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_baskets/${ge.id}/adjust_position.json`,{method:"post",body:ge})})}function ee(ge){return p(this,null,function*(){return(0,t.ZP)("/api/examination_banks.json",{method:"post",body:ge})})}function ie(ge){return p(this,null,function*(){return Fetch(`/api/examination_banks/${ge.id}/revoke_item.json`,{method:"delete",body:ge})})}function se(ge){return p(this,null,function*(){return Fetch(`/api/examination_banks/${ge.exam_id}/examination_banks_item_banks.json`,{method:"post",body:ge})})}function le(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/join_to_collection.json`,{method:"post",params:ge})})}function de(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/cancel_collection.json`,{method:"post",params:ge})})}function He(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"get",params:ge})})}function ze(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:ge})})}function st(ge){return p(this,null,function*(){return Fetch(`/api/item_banks/${ge.id}/join_to_group.json`,{method:"post",body:ge})})}function vt(ge){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${ge.id}.json`,{method:"put",body:ge})})}function Je(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks_groups.json",{method:"post",body:ge})})}function Ke(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge.id}/feedback.json`,{method:"post",body:ge})})}function Re(ge){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"get",params:ge})})}function Ce(ge){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares.json",{method:"post",body:ge})})}function me(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:ge})})}function at(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:ge})})}function ct(ge){return p(this,null,function*(){return(0,t.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:ge})})}function St(ge){return p(this,null,function*(){return Fetch("/api/item_banks/set_batch_public.json",{method:"post",body:ge})})}function bt(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks/${ge==null?void 0:ge.id}/set_public.json`,{method:"post",body:ge})})}function Ie(ge){return p(this,null,function*(){return(0,t.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:ge})})}function $e(ge){return(0,t.ZP)(`/api/problems/${ge.identifier}/publish.json`,{method:"post",body:ge})}function ft(ge){return(0,t.ZP)(`/api/problems/${ge.identifier}/cancel_publish.json`,{method:"post",body:ge})}function ke(ge){return(0,t.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...ge.id]}})}function ye(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ge.id}/up_position.json`,{method:"get",params:ge})})}function fe(ge){return p(this,null,function*(){return(0,t.ZP)(`/api/item_banks_groups/${ge.id}/down_position.json`,{method:"get",params:ge})})}function Oe(ge){return p(this,null,function*(){return Fetch(`/api/homework_commons/${ge.id}/edit_hack.json`,{method:"get",params:ge})})}function Ee(ge){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:ge})})}function et(ge){return p(this,null,function*(){return(0,t.ZP)("/api/problems/batch_publish.json",{method:"post",body:ge})})}function mt(ge){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:ge})})}function pe(){return p(this,null,function*(){return(0,t.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},13159:function(i,d,e){"use strict";e.d(d,{E1:function(){return s},Go:function(){return n},H5:function(){return a}});var t=e(49317),r=(u,c,o)=>new Promise((f,_)=>{var p=P=>{try{g(o.next(P))}catch(O){_(O)}},x=P=>{try{g(o.throw(P))}catch(O){_(O)}},g=P=>P.done?f(P.value):Promise.resolve(P.value).then(p,x);g((o=o.apply(u,c)).next())});function n(u){return r(this,null,function*(){return(0,t.ZP)("/api/restfuls.json",{method:"get",params:u})})}function a(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"get",params:u})})}function s(u){return r(this,null,function*(){return(0,t.ZP)(`/api/restfuls/${u.id}.json`,{method:"delete",params:u})})}},9657:function(i,d,e){"use strict";e.d(d,{Am:function(){return S},Ar:function(){return at},BD:function(){return et},Be:function(){return ft},Dx:function(){return k},Fr:function(){return ce},G$:function(){return A},GS:function(){return Y},Gw:function(){return E},H:function(){return Ce},H1:function(){return me},Hj:function(){return pe},IL:function(){return x},JA:function(){return lt},JG:function(){return J},KE:function(){return ee},Lz:function(){return Oe},Mf:function(){return Re},NA:function(){return Je},O:function(){return g},PC:function(){return st},PP:function(){return vt},PW:function(){return bt},Q3:function(){return Z},QC:function(){return Qe},Qt:function(){return Ee},Qz:function(){return D},R$:function(){return ht},RP:function(){return X},Ti:function(){return cr},Uc:function(){return Yt},Ul:function(){return W},VB:function(){return Ht},Vs:function(){return Se},Wr:function(){return R},Xn:function(){return Q},YQ:function(){return Ke},Yn:function(){return I},Z8:function(){return V},ak:function(){return St},cN:function(){return B},co:function(){return ke},cz:function(){return He},e_:function(){return P},fK:function(){return H},gG:function(){return ze},gZ:function(){return Dt},h$:function(){return j},ku:function(){return fe},lf:function(){return se},m7:function(){return N},mQ:function(){return M},mz:function(){return $e},n$:function(){return ie},oK:function(){return O},oN:function(){return Ut},pH:function(){return mt},pb:function(){return qt},qP:function(){return Ve},ql:function(){return it},rN:function(){return ye},sw:function(){return le},t1:function(){return de},to:function(){return K},ub:function(){return ge},ux:function(){return G},wS:function(){return _t},wT:function(){return T},yT:function(){return ct},yy:function(){return je},z2:function(){return Ie}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(Ze,dt,kt)=>dt in Ze?r(Ze,dt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Ze[dt]=kt,f=(Ze,dt)=>{for(var kt in dt||(dt={}))u.call(dt,kt)&&o(Ze,kt,dt[kt]);if(s)for(var kt of s(dt))c.call(dt,kt)&&o(Ze,kt,dt[kt]);return Ze},_=(Ze,dt)=>n(Ze,a(dt)),p=(Ze,dt,kt)=>new Promise((ar,$t)=>{var pr=er=>{try{kr(kt.next(er))}catch(Nt){$t(Nt)}},Ir=er=>{try{kr(kt.throw(er))}catch(Nt){$t(Nt)}},kr=er=>er.done?ar(er.value):Promise.resolve(er.value).then(pr,Ir);kr((kt=kt.apply(Ze,dt)).next())});const x=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.id}/ai_warning_list.json`,{method:"get",params:Ze})}),g=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.id}/submit_test_result.json`,{method:"post",body:Ze})}),P=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.id}/student_work_test_result.json`,{method:"Get",params:Ze})}),O=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.id}/update_journals.json`,{method:"post",body:Ze})}),S=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.homeworkId}/change_score.json`,{method:"post",body:Ze})}),I=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.homeworkId}/history_comment`,{method:"Get",params:Ze})}),E=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.homeworkId}/feedback_know`,{method:"Get",params:Ze})}),A=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.userId}/student_work_feedbacks.json`,{method:"POST",body:Ze})}),R=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.userId}/feedback_list.json`,{method:"Get",params:Ze})}),T=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze==null?void 0:Ze.userId}/histories.json`,{method:"Get",params:Ze})}),D=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.homeworkId}/feedback_list`,{method:"Get",params:Ze})}),M=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ze})}),B=Ze=>p(void 0,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze==null?void 0:Ze.homeworkId}/appeal_list`,{method:"Get",params:Ze})});function j(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/works_list.json`,{method:"post",body:f({},Ze)})})}function V(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ze.categoryId}/student_works.json`,{method:"get",params:f({},Ze)})})}function H(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/shixun_homeworks/${Ze.categoryId}/header_info.json`,{method:"get",params:f({},Ze)})})}function Y(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze}/query_game_url.json`,{method:"get"})})}function F(Ze){return p(this,null,function*(){return Fetch(`/api/student_works/${Ze}/get_newest_shixun_work_comments.json`,{method:"get"})})}function K(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}.json`,{method:"get"})})}function X(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/code_review_results.json`,{method:"get",params:f({},Ze)})})}function Q(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/code_review_detail.json`,{method:"get",params:f({},Ze)})})}function W(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/settings.json`,{method:"get",params:f({},Ze)})})}function N(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/update_settings.json`,{method:"post",body:f({},Ze)})})}function J(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/group_list.json`,{method:"get",params:f({},Ze)})})}function k(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/works_list.xlsx`,{method:"get",params:f({},Ze)})})}function Z(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.coursesId}/reference_answer.json`,{method:"get",params:f({},Ze)})})}function G(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/publish_groups.json`,{method:"get",params:f({},Ze)})})}function ee(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/end_groups.json`,{method:"get",params:f({},Ze)})})}function ie(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/bank_list.json",{method:"get",params:f({},Ze)})})}function se(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/question_banks/save_banks.json",{method:"post",body:f({},Ze)})})}function le(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/shixun_work_report.json`,{method:"get",params:Ze})})}function de(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ze})})}function He(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:_(f({},Ze),{id:Ze.categoryId})})})}function ze(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.categoryId}/adjust_review_score.json`,{method:"post",body:f({},Ze)})})}function st(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/show_comment.json`,{method:"get",params:f({},Ze)})})}function vt(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/users/reply_message.json",{method:"post",body:f({},Ze)})})}function Je(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/like.json",{method:"post",body:f({},Ze)})})}function Ke(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:f({},Ze)})})}function Re(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/commons/delete.json",{method:"delete",body:f({},Ze)})})}function Ce(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/update_explanation.json`,{method:"post",body:f({},Ze)})})}function me(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons.json`,{method:"post",body:f({},Ze)})})}function at(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}.json`,{method:"put",body:f({},Ze)})})}function ct(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ze.id}.json`,{method:"put",body:f({},Ze)})})}function St(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.commonHomeworkId}/student_works/new.json`,{method:"get",params:f({},Ze)})})}function bt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/edit.json`,{method:"get",params:f({},Ze)})})}function Ie(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}.json`,{method:"put",body:f({},Ze)})})}function $e(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/revise_attachment.json`,{method:"post",body:f({},Ze)})})}function ft(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.commonHomeworkId}/student_works.json`,{method:"post",body:f({},Ze)})})}function ke(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.homeworkId}/student_works/relate_project.json`,{method:"post",body:f({},Ze)})})}function ye(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function fe(Ze){return p(this,null,function*(){return(0,t.ZP)("/api/users/projects/search.json",{method:"get",params:f({},Ze)})})}function Oe(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:f({},Ze)})})}function Ee(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/new.json`,{method:"get",params:f({},Ze)})})}function et(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/edit.json`,{method:"get",params:f({},Ze)})})}function mt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${Ze.id}.json`,{method:"get",params:f({},Ze)})})}function pe(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}.json`,{method:"get",params:f({},Ze)})})}function ge(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/supply_attachments.json`,{method:"get",params:f({},Ze)})})}function lt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/comment_list.json`,{method:"get",params:f({},Ze)})})}function Qe(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/destroy_score.json`,{method:"delete",body:f({},Ze)})})}function Ve(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/add_score_reply.json`,{method:"post",body:f({},Ze)})})}function it(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/all_student_works.json`,{method:"get",params:f({},Ze)})})}function Dt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/destroy_work_comment.json`,{method:"delete",body:f({},Ze)})})}function Yt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/score_status.json`,{method:"get",params:f({},Ze)})})}function Se(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/homework_commons/${Ze.categoryId}/update_score.json`,{method:"get",params:f({},Ze)})})}function je(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/add_score.json`,{method:"post",body:f({},Ze)})})}function Be(Ze){return p(this,null,function*(){return Fetch(`/api/student_works/${Ze.userId}/cancel_appeal.json`,{method:"post",body:f({},Ze)})})}function ht(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.userId}/appeal_anonymous_score.json`,{method:"post",body:f({},Ze)})})}function At(Ze){return p(this,null,function*(){return Fetch(`/api/student_works/${Ze.userId}/deal_appeal_score.json`,{method:"post",body:f({},Ze)})})}function ce(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/myshixuns/${Ze.id}/reset_my_game.json`,{method:"get",params:f({},Ze)})})}function _t(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/commit_des.json`,{method:"get",params:f({},Ze)})})}function qt(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/student_works/${Ze.homeworkId}/update_des.json`,{method:"post",body:f({},Ze)})})}function Ht(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:f({},Ze)})})}function Ut(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:f({},Ze)})})}function cr(Ze){return p(this,null,function*(){return(0,t.ZP)(`/api/courses/${Ze.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:f({},Ze)})})}},66443:function(i,d,e){"use strict";e.d(d,{$Q:function(){return sr},AE:function(){return kt},AQ:function(){return k},Ag:function(){return wt},Ar:function(){return Ce},At:function(){return pn},BK:function(){return ee},Bj:function(){return ge},Cf:function(){return S},DC:function(){return mt},Dz:function(){return ha},E4:function(){return x},EH:function(){return ct},Ee:function(){return va},Er:function(){return Ke},Ez:function(){return E},FB:function(){return G},Fg:function(){return X},Ft:function(){return V},GI:function(){return Ie},Gr:function(){return Ve},Gu:function(){return bt},Gz:function(){return K},HS:function(){return Ha},Hl:function(){return Y},IF:function(){return M},IT:function(){return Cr},I_:function(){return N},Ij:function(){return B},Ir:function(){return ie},Je:function(){return Tt},K:function(){return On},K0:function(){return Va},KM:function(){return ze},K_:function(){return on},LK:function(){return Lt},LP:function(){return $e},Ne:function(){return Je},OL:function(){return I},OQ:function(){return g},OV:function(){return ke},OW:function(){return at},Op:function(){return bn},P2:function(){return fe},P4:function(){return j},Po:function(){return J},Ps:function(){return it},Q:function(){return vt},Q1:function(){return za},QA:function(){return $n},Ql:function(){return Yt},Rs:function(){return Ht},SG:function(){return Wa},Tn:function(){return $t},Tr:function(){return aa},U0:function(){return ht},U9:function(){return Dt},UQ:function(){return Nt},Ui:function(){return _n},Vx:function(){return gn},WO:function(){return Re},WT:function(){return yo},Wi:function(){return lt},Wl:function(){return qe},X$:function(){return Oe},Yn:function(){return Ir},Z2:function(){return pe},ZO:function(){return Qe},Zt:function(){return ma},_7:function(){return st},_9:function(){return kr},aH:function(){return Se},al:function(){return _t},b8:function(){return me},bV:function(){return D},bk:function(){return O},bq:function(){return pr},dK:function(){return se},e:function(){return Q},eX:function(){return St},eb:function(){return Ut},fH:function(){return A},fL:function(){return rt},h4:function(){return ja},hS:function(){return F},h_:function(){return et},he:function(){return W},hn:function(){return de},hy:function(){return R},ii:function(){return qt},im:function(){return er},j8:function(){return ft},jq:function(){return Ur},kF:function(){return yr},km:function(){return ce},l3:function(){return ye},m7:function(){return Be},mI:function(){return Pe},n5:function(){return Z},np:function(){return T},nu:function(){return gr},p0:function(){return Qt},q0:function(){return dt},q9:function(){return en},qA:function(){return Ne},rO:function(){return Ze},rs:function(){return He},sr:function(){return Kt},t2:function(){return Er},tX:function(){return _o},uo:function(){return At},v3:function(){return Le},w:function(){return Ue},wX:function(){return H},xK:function(){return ar},xM:function(){return P},xg:function(){return cr},xk:function(){return Ee},yE:function(){return je},yx:function(){return wa},zD:function(){return le},zH:function(){return Fe}});var t=e(49317),r=Object.defineProperty,n=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,o=(De,xe,Xe)=>xe in De?r(De,xe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):De[xe]=Xe,f=(De,xe)=>{for(var Xe in xe||(xe={}))u.call(xe,Xe)&&o(De,Xe,xe[Xe]);if(s)for(var Xe of s(xe))c.call(xe,Xe)&&o(De,Xe,xe[Xe]);return De},_=(De,xe)=>n(De,a(xe)),p=(De,xe,Xe)=>new Promise((q,It)=>{var Jt=Sr=>{try{Rr(Xe.next(Sr))}catch(Gr){It(Gr)}},Pr=Sr=>{try{Rr(Xe.throw(Sr))}catch(Gr){It(Gr)}},Rr=Sr=>Sr.done?q(Sr.value):Promise.resolve(Sr.value).then(Jt,Pr);Rr((Xe=Xe.apply(De,xe)).next())});const x=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_result.json",{method:"get",params:De})}),g=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/edit.json",{method:"get",params:De})}),P=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls.json",{method:"post",body:De})}),O=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/select_polls_list.json",{method:"get",params:De})}),S=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/commit_poll.json",{method:"post",body:De})}),I=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.questionId}/poll_votes.json`,{method:"post",body:De})}),E=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"put",body:De})}),A=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.poll_question_id}/up_down.json`,{method:"post",body:De})}),R=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls.json",{method:"post",body:De})}),T=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.poll_question_id}.json`,{method:"put",body:De})}),D=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/poll_questions.json",{method:"post",body:De})}),M=De=>p(void 0,null,function*(){return(0,t.ZP)(`/api/poll_questions/${De==null?void 0:De.poll_question_id}.json`,{method:"delete"})}),B=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/collect.json",{method:"post",body:De})}),j=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/publish.json",{method:"post",body:De})}),V=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/delete.json",{method:"post",body:De})}),H=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_polls/start_answer.json",{method:"Get",params:De})}),Y=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:De})}),F=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:De})}),K=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:De})}),X=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:De})}),Q=De=>p(void 0,null,function*(){return(0,t.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:De})});function W(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"Get",params:f({},De)})})}function N(De){return p(this,null,function*(){return(0,t.ZP)("/api/disciplines.json",{method:"Get",params:f({source:"shixun"},De||{})})})}function J(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}.json`,{method:"Get",params:De})})}function k(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/show_right.json`,{method:"Get"})})}function Z(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges.json`,{method:"Get",params:De})})}function G(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:De.save_type}})})}function ee(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/jupyter_exec.json${De.reset?`?reset=${De.reset}`:""}`,{method:"Get",params:De})})}function ie(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/shixun_exec.json${De.reset?`?reset=${De.reset}`:""}`,{method:"Get",params:De})})}function se(De){return p(this,null,function*(){return(0,t.ZP)(De.url,{method:"Get"})})}function le(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.shixun_identifier}/challenges/${De.challenge_id}/index_up.json`,{method:"Get"})})}function de(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.shixun_identifier}/challenges/${De.challenge_id}/index_down.json`,{method:"Get"})})}function He(De){return p(this,null,function*(){return(0,t.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:De.container_id,container_type:De.container_type}})})}function ze(De){return p(this,null,function*(){return(0,t.ZP)("/api/collections.json",{method:"Post",body:{container_id:De.container_id,container_type:De.container_type}})})}function st(De){return p(this,null,function*(){const{id:xe}=De||{};return(0,t.ZP)(`/api/shixuns/${xe}/search_user_courses.json`,{method:"Get",params:De})})}function vt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De==null?void 0:De.id}/send_to_course.json`,{method:"Post",body:f({},De)})})}function Je(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/cancel_publish.json`,{method:"Get"})})}function Ke(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/cancel_apply_public.json`,{method:"Get"})})}function Re(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/apply_public.json`,{method:"post",body:f({},De)})})}function Ce(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/publish.json`,{method:"Get"})})}function me(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function at(De){return p(this,null,function*(){return(0,t.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function ct(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:De})})}function St(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns.json",{method:"post",body:De})})}function bt(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:De})})}function Ie(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/review_newest_record.json`,{method:"Get"})})}function $e(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/review_shixun.json`,{method:"post",body:De})})}function ft(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/collaborators.json`,{method:"Get",params:De})})}function ke(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/shixun_members_added.json`,{method:"post",body:De})})}function ye(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.identifier}/add_members_group.json`,{method:"post",body:De})})}function fe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/change_manager.json`,{method:"Get",params:De})})}function Oe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/change_manager.json`,{method:"post",body:De})})}function Ee(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/collaborators_delete.json`,{method:"delete",body:{user_id:De.userId}})})}function et(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/ranking_list.json`,{method:"Get"})})}function mt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/settings.json`,{method:"Get"})})}function pe(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:De.mirror_id}})})}function ge(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/get_script_contents.json`,{method:"Get",params:De})})}function lt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/get_custom_script.json`,{method:"Get",params:De})})}function Qe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_for_jupyter.json`,{method:"put",body:De})})}function Ve(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/shixun_quotes.json`,{method:"Get"})})}function it(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}.json`,{method:"delete"})})}function Dt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/close.json`,{method:"post",body:De})})}function Yt(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/departments.json",{method:"Get",params:De})})}function Se(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_permission_setting.json`,{method:"post",body:De})})}function je(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_learn_setting.json`,{method:"post",body:De})})}function Be(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_setting`,{method:"post",body:De})})}function ht(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/get_data_sets.json`,{method:"Get",params:De})})}function At(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/destroy_data_sets.json`,{method:"Delete",body:{id:De.deleteId}})})}function ce(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/new.json`,{method:"get"})})}function _t(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.identifier}/challenges.json`,{method:"post",body:f({},De)})})}function qt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengeId}/edit.json`,{method:"get",params:{tab:De.tab}})})}function Ht(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}.json`,{method:"put",body:f({},De)})})}function Ut(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/choose_questions.json`,{method:"get"})})}function cr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/move_position.json`,{method:"post",body:f({},De)})})}function Ze(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}.json`,{method:"delete",body:f({},De)})})}function dt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/edit.json`,{method:"get",params:f({},De)})})}function kt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengeId}/answer.json`,{method:"get",params:f({},De)})})}function ar(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengeId}/crud_answer.json`,{method:"post",body:f({},De)})})}function $t(De){return p(this,null,function*(){if(De.type===1)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/create_choose_question.json`,{method:"post",body:f({},De)});if(De.type===2)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/create_blank_question.json`,{method:"post",body:f({},De)});if(De.type===3)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/create_judge_question.json`,{method:"post",body:f({},De)})})}function pr(De){return p(this,null,function*(){if(De.type===1)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/update_choose_question.json`,{method:"post",body:_(f({},De),{choose_id:De.questionId})});if(De.type===2)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/update_blank_question.json`,{method:"put",body:_(f({},De),{choose_id:De.questionId})});if(De.type===3)return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/update_judge_question.json`,{method:"put",body:_(f({},De),{choose_id:De.questionId})})})}function Ir(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:De.questionId}})})}function kr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:De.questionId}})})}function er(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:De.questionId}})})}function Nt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/challenges/${De.challengesId}/edit_choose_question.json`,{method:"get",params:_(f({},De),{choose_id:De.questionId})})})}function Kt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/delete_git_file.json`,{method:"Delete",body:De})})}function Qt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/delete_git_file.json`,{method:"Delete",body:De})})}function Cr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/mv_file.json`,{method:"post",body:De})})}function Er(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/mv_file.json`,{method:"post",body:De})})}function wt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/repository.json`,{method:"post",body:De})})}function qe(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/repository.json`,{method:"post",body:De})})}function Ue(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/secret_repository.json`,{method:"post",body:De})})}function Le(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/add_file.json`,{method:"post",body:De})})}function rt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/add_file.json`,{method:"post",body:De})})}function Tt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/commits.json`,{method:"post",body:De})})}function Lt(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/file_content.json`,{method:"post",body:De})})}function gr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/file_content.json`,{method:"post",body:De})})}function yr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_file.json`,{method:"post",body:De})})}function Ur(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/update_file.json`,{method:"post",body:De})})}function bn(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/upload_git_folder.json`,{method:"post",body:{path:De.path,secret_repository:De.secret_repository}})})}function sr(De){return p(this,null,function*(){return(0,t.ZP)(`/api/${De.url}`,{method:"Get"})})}function _n(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:De})})}function on(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:De})})}function Fe(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:De})})}function Ne(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:De})})}function en(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:De})})}function pn(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/fork_list.json`,{method:"Get",params:De})})}function ha(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.identifier}/change_editable.json`,{method:"put",body:f({},De)})})}function ma(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/set_secret_dir.json`,{method:"post",body:f({},De)})})}function On(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/new.json",{method:"Get",params:De})})}function za(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/environment_info",{method:"Get",params:De})})}function ja(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/init_repository.json`,{method:"post",body:f({},De)})})}function gn(De){return p(this,null,function*(){return(0,t.ZP)(`/api/sci/projects/${De.id}/init_repository.json`,{method:"post",body:f({},De)})})}function Va(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_secret_repository.json`,{method:"post",body:f({},De)})})}function va(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/exist_exercise.json`,{method:"get",params:f({},De)})})}function _o(De){return p(this,null,function*(){return(0,t.ZP)(`/api/mirror_applies/${De.id}.json`,{method:"get",params:f({},De)})})}function no(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/publish.json`,{method:"post",body:f({},De)})})}function Ja(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/open_vnc.json`,{method:"post",params:f({},De)})})}function Za(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/open_webssh.json`,{method:"post",params:f({},De)})})}function No(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/save_image.json`,{method:"post",body:f({},De)})})}function ya(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/delete_image.json`,{method:"post",body:f({},De)})})}function na(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/extend_vnc.json`,{method:"post",body:f({},De)})})}function En(De){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${De.id}/reset_vnc_link.json`,{method:"post",body:f({},De)})})}function wa(De){return p(this,null,function*(){return(0,t.ZP)("/api/paths/get_task_pass.json",{method:"get",params:f({},De)})})}function Pe(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:f({},De)})})}function $n(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De.id}/update_jupyter_lab_setting.json`,{method:"post",body:f({},De)})})}function aa(De){return p(this,null,function*(){return(0,t.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:De})})}function yo(De){return p(this,null,function*(){return(0,t.ZP)(`/api/progress_homeworks/${De}`,{method:"get",params:{is_initiative_study:1}})})}function ai(De){return p(this,null,function*(){return Fetch(`/api/shixuns/${De.id}/update_shixun_study_num.json`,{method:"post",body:f({},De)})})}function Wa(De){return p(this,null,function*(){return(0,t.ZP)("/api/jupyters/preview.json",{method:"get",params:De})})}function Ha(De){return p(this,null,function*(){return(0,t.ZP)(`/api/shixuns/${De}/recommend_config.json`,{method:"get"})})}},9168:function(i,d,e){"use strict";e.d(d,{Bg:function(){return p},FO:function(){return R},eJ:function(){return P},eZ:function(){return O},fd:function(){return B},gp:function(){return f},iU:function(){return D},l3:function(){return I},mw:function(){return E},oZ:function(){return g},rM:function(){return A},r_:function(){return M},s:function(){return _},ur:function(){return T},xV:function(){return x},yb:function(){return S}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(j,V,H)=>V in j?r(j,V,{enumerable:!0,configurable:!0,writable:!0,value:H}):j[V]=H,c=(j,V)=>{for(var H in V||(V={}))a.call(V,H)&&u(j,H,V[H]);if(n)for(var H of n(V))s.call(V,H)&&u(j,H,V[H]);return j},o=(j,V,H)=>new Promise((Y,F)=>{var K=W=>{try{Q(H.next(W))}catch(N){F(N)}},X=W=>{try{Q(H.throw(W))}catch(N){F(N)}},Q=W=>W.done?Y(W.value):Promise.resolve(W.value).then(K,X);Q((H=H.apply(j,V)).next())});function f(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/teachers.json`,{method:"get",params:c({},j)})})}function _(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/apply_teachers.json`,{method:"get",params:c({},j)})})}function p(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/graduation_group_list.json`,{method:"get",params:c({},j)})})}function x(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/all_course_groups.json`,{method:"get",params:c({},j)})})}function g(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/set_course_group.json`,{method:"post",body:c({},j)})})}function P(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/join_graduation_group.json`,{method:"post",body:c({},j)})})}function O(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/create_graduation_group.json`,{method:"post",body:c({},j)})})}function S(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/delete_course_teacher.json`,{method:"post",body:c({},j)})})}function I(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/delete_from_course.json`,{method:"post",body:c({},j)})})}function E(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/change_member_role.json`,{method:"post",body:c({},j)})})}function A(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/change_course_admin.json`,{method:"post",body:c({},j)})})}function R(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/teacher_application_review.json`,{method:"post",body:c({},j)})})}function T(j){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j.coursesId}/students.json`,{method:"get",params:c({},j)})})}function D(j,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j}/apply_students.json`,{method:"get",params:V})})}function M(j,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j}/join_student_checkout.json`,{method:"get",params:V})})}function B(j,V){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${j}/student_application_review.json`,{method:"post",body:V})})}},32352:function(i,d,e){"use strict";e.d(d,{B$:function(){return x},Cx:function(){return K},Cy:function(){return ie},DA:function(){return A},DH:function(){return p},Ef:function(){return W},Es:function(){return P},Ex:function(){return vt},FM:function(){return H},Fn:function(){return N},Gq:function(){return Ke},Ho:function(){return T},IU:function(){return ee},JJ:function(){return J},Ol:function(){return de},Qx:function(){return V},Rs:function(){return Re},Tv:function(){return k},V8:function(){return _},WS:function(){return X},WY:function(){return j},ai:function(){return F},bG:function(){return S},bJ:function(){return f},c0:function(){return Je},dt:function(){return Z},gI:function(){return Q},lO:function(){return Y},mW:function(){return B},n0:function(){return E},nV:function(){return le},o1:function(){return He},qE:function(){return g},qN:function(){return R},rV:function(){return D},sh:function(){return se},vR:function(){return O},w3:function(){return M},x4:function(){return I},z2:function(){return ze},zA:function(){return Ce}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(me,at,ct)=>at in me?r(me,at,{enumerable:!0,configurable:!0,writable:!0,value:ct}):me[at]=ct,c=(me,at)=>{for(var ct in at||(at={}))a.call(at,ct)&&u(me,ct,at[ct]);if(n)for(var ct of n(at))s.call(at,ct)&&u(me,ct,at[ct]);return me},o=(me,at,ct)=>new Promise((St,bt)=>{var Ie=ke=>{try{ft(ct.next(ke))}catch(ye){bt(ye)}},$e=ke=>{try{ft(ct.throw(ke))}catch(ye){bt(ye)}},ft=ke=>ke.done?St(ke.value):Promise.resolve(ke.value).then(Ie,$e);ft((ct=ct.apply(me,at)).next())});const f=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}/move.json`,{method:"post",body:me})}),_=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"delete",body:me})}),p=me=>o(void 0,null,function*(){return(0,t.ZP)(`/api/common_comments/${me.id}.json`,{method:"put",body:me})}),x=me=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"post",body:me})}),g=me=>o(void 0,null,function*(){return(0,t.ZP)("/api/common_comments.json",{method:"Get",params:me})});function P(me){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/login.json",{method:"post",body:c({},me)})})}function O(me){return o(this,null,function*(){return(0,t.ZP)("/api/accounts/logout.json",{method:"get"})})}function S(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_user_info.json",{method:"get",params:c({},me)})})}function I(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_notice.json",{method:"get",params:c({},me)})})}function E(){return o(this,null,function*(){return(0,t.ZP)("/api/users/system_update.json",{method:"get"})})}function A(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/homepage_info.json`,{method:"get"})})}function R(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/attendance.json",{method:"post"})})}function T(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/courses.json`,{method:"get",params:me})})}function D(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/shixuns.json`,{method:"get",params:me})})}function M(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/subjects.json`,{method:"get",params:me})})}function B(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/projects.json`,{method:"get",params:me})})}function j(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos.json`,{method:"get",params:me})})}function V(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/review.json`,{method:"get",params:me})})}function H(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.id}.json`,{method:"delete"})})}function Y(me){return o(this,null,function*(){return(0,t.ZP)("/api/watch_video_histories.json",{method:"post",body:me})})}function F(me){return o(this,null,function*(){return(0,t.ZP)("/api/users/question_banks.json",{method:"get",params:me})})}function K(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_public.json",{method:"post",body:me})})}function X(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:me})})}function Q(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/my_courses.json",{method:"get",params:me})})}function W(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:me})})}function N(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/${me.object_id}/create_course_video.json`,{method:"post",body:me})})}function J(me){return o(this,null,function*(){return(0,t.ZP)(`/api/homework_banks/${me.topicId}.json`,{method:"get",params:me})})}function k(me){return o(this,null,function*(){return(0,t.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:c({},me)})})}function Z(me){return o(this,null,function*(){return(0,t.ZP)(`/api/users/${me.username}/videos/batch_publish.json`,{method:"post",body:me})})}function G(me){return o(this,null,function*(){return Fetch(`/api/myshixuns/${me.identifier}/cancel.json`,{method:"delete",body:c({},me)})})}function ee(){return o(this,null,function*(){return(0,t.ZP)("/api/users/get_engineer_url.json",{method:"get"})})}function ie(me){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:c({},me)})})}function se(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function le(){return o(this,null,function*(){return(0,t.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function de(me){return(0,t.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:me})}function He(me){return(0,t.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:me})}function ze(me){return(0,t.ZP)("/api/accounts/register.json",{method:"post",body:c({},me)})}function st(me){return Fetch("/api/weapps/register.json",{method:"post",body:c({},me)})}function vt(me){return(0,t.ZP)(`/api/users/accounts/${me.login}/password.json`,{method:"put",body:c({},me)})}function Je(me){return(0,t.ZP)("/api/accounts/reset_password.json",{method:"post",body:c({},me)})}function Ke(me){return(0,t.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:c({},me)})}function Re(me){return(0,t.ZP)("/api/users/add_hide.json",{method:"post",body:c({},me)})}function Ce(me){return(0,t.ZP)("/api/users/remove_hide.json",{method:"post",body:c({},me)})}},60269:function(i,d,e){"use strict";e.d(d,{BQ:function(){return f},DH:function(){return T},Db:function(){return Y},Ju:function(){return H},Mz:function(){return B},O2:function(){return g},TJ:function(){return S},Vg:function(){return x},ZY:function(){return _},Zx:function(){return M},cU:function(){return p},fn:function(){return V},jK:function(){return I},yN:function(){return j}});var t=e(49317),r=Object.defineProperty,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,u=(F,K,X)=>K in F?r(F,K,{enumerable:!0,configurable:!0,writable:!0,value:X}):F[K]=X,c=(F,K)=>{for(var X in K||(K={}))a.call(K,X)&&u(F,X,K[X]);if(n)for(var X of n(K))s.call(K,X)&&u(F,X,K[X]);return F},o=(F,K,X)=>new Promise((Q,W)=>{var N=Z=>{try{k(X.next(Z))}catch(G){W(G)}},J=Z=>{try{k(X.throw(Z))}catch(G){W(G)}},k=Z=>Z.done?Q(Z.value):Promise.resolve(Z.value).then(N,J);k((X=X.apply(F,K)).next())});function f(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.coursesId}/watch_video_histories.json`,{method:"Get",params:c({},F)})})}function _(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.coursesId}/watch_statics.json`,{method:"Get",params:c({},F)})})}function p(F){return o(this,null,function*(){return(0,t.ZP)(`/api/course_videos/${F.videoId}/watch_histories.json`,{method:"Get",params:c({},F)})})}function x(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.coursesId}/own_watch_histories.json`,{method:"Get",params:c({},F)})})}function g(F){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${F.id}.json`,{method:"Get",params:c({},F)})})}function P(F){return o(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:F})})}function O(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}/edit.json`,{method:"Get",params:c({},F)})})}function S(F){return o(this,null,function*(){return(0,t.ZP)(`/api/stage_shixuns/${F.id}/edit.json`,{method:"Get",params:c({},F)})})}function I(F){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${F.id}/star.json`,{method:"post",body:F})})}function E(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}.json`,{method:"put",body:F})})}function A(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}/send_to_course.json`,{method:"post",body:F})})}function R(F){return o(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:c({},F)})})}function T(F){return o(this,null,function*(){return(0,t.ZP)(`/api/video_items/${F.id}/view_video.json`,{method:"post",body:F})})}function D(F){return o(this,null,function*(){return Fetch(`/api/video_items/${F.id}/add_school.json`,{method:"post",body:F})})}function M(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.course_id}/video_people_statics.json`,{method:"get",params:F})})}function B(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F.course_id}/video_duration_statics.json`,{method:"get",params:F})})}function j(F){return o(this,null,function*(){return(0,t.ZP)("/api/stages.json",{method:"get",params:F})})}function V(F){return o(this,null,function*(){return(0,t.ZP)(`/api/courses/${F==null?void 0:F.id}/course_videos_tree.json`,{method:"get",params:F})})}function H(F){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses.json",{method:"post",body:F})})}function Y(F){return o(this,null,function*(){return(0,t.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:F})})}},45474:function(i,d,e){"use strict";e.d(d,{A:function(){return B},CH:function(){return a},EA:function(){return c},FU:function(){return _},G_:function(){return g},LY:function(){return R},Ll:function(){return u},MM:function(){return I},Ps:function(){return T},Sl:function(){return O},To:function(){return p},Vf:function(){return x},XQ:function(){return s},b:function(){return f},bq:function(){return M},cZ:function(){return o},rV:function(){return A},sT:function(){return P},tS:function(){return D},xt:function(){return E},y2:function(){return n}});var t=e(49317),r=(j,V,H)=>new Promise((Y,F)=>{var K=W=>{try{Q(H.next(W))}catch(N){F(N)}},X=W=>{try{Q(H.throw(W))}catch(N){F(N)}},Q=W=>W.done?Y(W.value):Promise.resolve(W.value).then(K,X);Q((H=H.apply(j,V)).next())});const n=j=>r(void 0,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:j})});function a(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions/${j.id}.json`,{method:"put",body:j})})}function s(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions/${j.id}.json`,{method:"get",params:j})})}function u(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions.json`,{method:"post",body:j})})}function c(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/discussions.json`,{method:"get",params:j})})}function o(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}/add_resources.json`,{method:"post",body:j})})}function f(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}/lesson_resources_list.json`,{method:"get",params:j})})}function _(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}.json`,{method:"get",params:j})})}function p(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons/${j.id}.json`,{method:"put",body:j})})}function x(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons.json`,{method:"post",body:j})})}function g(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/good_lessons.json`,{method:"get",params:j})})}function P(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j==null?void 0:j.id}.json`,{method:"get"})})}function O(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j==null?void 0:j.id}/modules.json`,{method:"get"})})}function S(j){return r(this,null,function*(){return Fetch(`/api/virtual_classrooms/${j.id}/videos/batch_publish.json`,{method:"post",body:j})})}function I(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/members.json`,{method:"post",body:j})})}function E(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_spacesId}/members/${j.id}/change_creator.json`,{method:"post",body:j})})}function A(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/shixuns.json`,{method:"get",params:V})})}function R(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/shixuns`,{method:"post",body:V})})}function T(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_classroom_id}/shixuns/${j.shixun_id}.json`,{method:"delete"})})}function D(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/subjects.json`,{method:"get",params:V})})}function M(j,V){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j}/subjects.json`,{method:"post",body:V})})}function B(j){return r(this,null,function*(){return(0,t.ZP)(`/api/virtual_classrooms/${j.virtual_classroom_id}/subjects/${j.subject_id}.json`,{method:"delete"})})}},15267:function(i,d,e){"use strict";e.d(d,{$O:function(){return K},EO:function(){return et},G5:function(){return M},GD:function(){return r},GJ:function(){return _},Gg:function(){return p},I2:function(){return s},IR:function(){return j},JA:function(){return Ee},JL:function(){return E},Jd:function(){return F},Ny:function(){return S},RV:function(){return H},Rb:function(){return D},Rm:function(){return B},V9:function(){return ee},Yh:function(){return k},aN:function(){return P},aQ:function(){return o},ag:function(){return Oe},bg:function(){return pe},d8:function(){return T},dE:function(){return V},eB:function(){return Y},eY:function(){return ge},fn:function(){return fe},h:function(){return Yt},j5:function(){return g},k5:function(){return Q},m$:function(){return lt},oF:function(){return x},qz:function(){return c},t_:function(){return O},tu:function(){return Ve},y8:function(){return mt}});var t=e(44283),r=(Se=>(Se[Se.SuperAdmin=1]="SuperAdmin",Se[Se.Operation=2]="Operation",Se[Se.CertifiedTeacher=5]="CertifiedTeacher",Se[Se.TrainingProduction=8]="TrainingProduction",Se[Se.UncertifiedTeacher=12]="UncertifiedTeacher",Se[Se.Student=15]="Student",Se))(r||{}),n=(Se=>(Se[Se.SuperAdmin=1]="SuperAdmin",Se[Se.Operation=2]="Operation",Se[Se.Admin=5]="Admin",Se[Se.Teacher=8]="Teacher",Se[Se.Assistant=12]="Assistant",Se[Se.Student=15]="Student",Se))(n||{}),a=(Se=>(Se[Se.SuperAdmin=0]="SuperAdmin",Se[Se.Teacher=1]="Teacher",Se[Se.Student=2]="Student",Se))(a||{});const s=Se=>{const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return Se.some(ht=>ht==(Be==null?void 0:Be.role))},u=Se=>{const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return Be!=null&&Be.own?!0:Se.some(ht=>{var At;return ht==((At=Be==null?void 0:Be.course)==null?void 0:At.course_role)})},c=()=>{const{user:Se}=(0,t.getDvaApp)()._store.getState(),{userInfo:je}=Se;return je.main_site},o=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return(Se=Be==null?void 0:Be.course)==null?void 0:Se.course_is_end},f=()=>{const{user:Se}=getDvaApp()._store.getState(),{userInfo:je}=Se;return je.authentication},_=()=>u([1,2,5,8,12]),p=()=>u([1,8,5,12,2]),x=()=>u([1,8,5]),g=()=>u([1]),P=()=>u([1,2,5]),O=()=>u([1,2]),S=()=>s([1,2]),I=()=>s([1]),E=()=>s([1,2,5]),A=()=>u([1,5]),R=()=>u([5,8]),T=()=>u([5]),D=()=>u([1,5,2]),M=()=>u([1,2,5,8]),B=()=>u([12]),j=()=>u([8]),V=()=>u([15]),H=()=>u([1,2,5,8,12,15]),Y=()=>u([1,2,5,8,12]),F=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return((Se=Be==null?void 0:Be.course)==null?void 0:Se.course_role)===null},K=()=>{const{user:Se}=(0,t.getDvaApp)()._store.getState(),{userInfo:je}=Se;return je==null?void 0:je.has_big_model_permission},X=()=>{const{user:Se}=getDvaApp()._store.getState(),{userInfo:je}=Se;return je==null?void 0:je.big_model_user_unlimited},Q=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState(),{userInfo:Be}=je;return((Se=Be==null?void 0:Be.paid_version)==null?void 0:Se.version_type)==0&&![1,2].includes(Be==null?void 0:Be.role)},W=(Se=!0,je=!1)=>s([1,2,5,8,12,15]),N=(Se=!0,je=!1)=>je||!je&&s([1]),J=(Se=!0,je=!1)=>je||!je&&s([1,2]),k=()=>s([15]),Z=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),G=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),ee=(Se=!0,je=!1)=>{const{user:Be}=(0,t.getDvaApp)()._store.getState(),{userInfo:ht}=Be;return ht!=null&&ht.is_shixun_marker?!0:s([1,2,5,8])},ie=(Se=!0,je=!1)=>Se?s([1]):je||!je&&s([1]),se=(Se=!0,je=!1)=>Se?s([1,2]):je||!je&&s([1,2]),le=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),de=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):je||!je&&s([1,2]),He=(Se=!0,je=!1)=>Se?s([1,2,5]):je||!je&&s([1,2]),ze=(Se=!0,je=!1)=>Se?s([1]):!1,st=(Se=!0,je=!1)=>s([1,2,5,8,12,15]),vt=(Se=!0,je=!1)=>Se?s([1]):je||!je&&s([1]),Je=(Se=!0,je=!1)=>Se?s([1,2]):je||!je&&s([1,2]),Ke=(Se=!0,je=!1)=>Se?s([1,2,5,8,12,15]):je||!je&&s([1,2]),Re=(Se=!0,je=!1)=>Se?!1:je||!je&&s([1,2]),Ce=(Se=!0,je=!1)=>Se?je||!je&&s([1,2]):!1,me=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):!1,at=(Se=!0,je=!1)=>Se?!je&&s([1,2,5,8,12]):!1,ct=(Se=!0,je=!1)=>Se?s([1,2,5]):je||!je&&s([1,2]),St=(Se=!0,je=!1)=>s([1,2,5,8,12]),bt=(Se=!0,je=!1)=>Se?s([1]):je||!je&&s([1]),Ie=(Se=!0,je=!1)=>Se?s([1,2]):je||!je&&s([1,2]),$e=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):je||!je&&s([1,2]),ft=(Se=!0,je=!1)=>Se?je||!je&&s([1,2]):!1,ke=(Se=!0,je=!1)=>Se?s([1,2,5,8,12]):je||!je&&s([1,2]),ye=(Se=!0,je=!1)=>u([8]),fe=()=>s([1]),Oe=()=>s([1,2]),Ee=()=>s([15]),et=()=>s([1,2,5]),mt=()=>s([1,2,5,12]),pe=()=>{var Se;const{user:je}=(0,t.getDvaApp)()._store.getState();return!!((Se=je.userInfo)!=null&&Se.login)},ge=()=>{const{user:Se}=(0,t.getDvaApp)()._store.getState();return Se.userInfo},lt=()=>{var Se,je;const{user:Be}=(0,t.getDvaApp)()._store.getState();return!!((je=(Se=Be.userInfo)==null?void 0:Se.path)!=null&&je.own)},Qe=Se=>{const{graduations:je}=(0,t.getDvaApp)()._store.getState(),{details:Be}=je;return Se.some(ht=>ht===(Be==null?void 0:Be.user_identity))},Ve=()=>Qe([0,1]),it=()=>Qe([0]),Dt=()=>Qe([1]),Yt=()=>Qe([2])},8633:function(i,d,e){"use strict";e.d(d,{Jb:function(){return u},Kx:function(){return c},a2:function(){return a},fw:function(){return t},gW:function(){return n},k:function(){return s},k4:function(){return r}});const t=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],r=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var n=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(n||{}),a=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(a||{}),s=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(s||{}),u=(o=>(o[o.FAIL=-1]="FAIL",o[o.REQUESTING=0]="REQUESTING",o[o.SUCCESS=1]="SUCCESS",o))(u||{}),c=(o=>(o[o.FAIL=-1]="FAIL",o[o.PADDING=0]="PADDING",o[o.SUCCESS=1]="SUCCESS",o))(c||{})},74877:function(i,d,e){"use strict";e.d(d,{F:function(){return t}});const t={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},14185:function(i,d,e){"use strict";e.d(d,{Z:function(){return a}});const t={PROXY_SERVER:"https://testweb-data.educoder.net",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"https://new-testali-cdn.educoder.net",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://test3-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://test-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"};var r=null,a={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},dev:t,newReactTest:{API_SERVER:(()=>{let s;switch(location.host){case"test4.educoder.net":s="https://test4-data.educoder.net";break;case"test3.educoder.net":s="https://test3-data.educoder.net";break;case"test2.educoder.net":s="https://test2-data.educoder.net";break;default:s="https://testweb-data.educoder.net";break}return s})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let s="https://new-testali-cdn.educoder.net";const u=location.host;return u==="test3.educoder.net"&&(s="https://test3-data.educoder.net"),u==="test4.educoder.net"&&(s="https://test4-data.educoder.net"),s})(),OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://testweb-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net",AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},preNewBuild:{API_SERVER:(()=>{let s="https://preweb-data.educoder.net";return location.host==="pre2.educoder.net"&&(s="https://preweb-data2.educoder.net"),s})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://preweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},newBuild:{API_SERVER:(()=>{let s="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?s="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(s="https://data.tokcoder.com"),s})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",CABLE_SERVER:"wss://data.educoder.net/cable",MINIPROGRAM_SERVER:"https://data.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net",AI_PLATFORM_URL:"https://ai.educoder.net",Coze_ai_URl:"https://datacoze.educoder.net"},newTest:{API_SERVER:"https://testweb-data.educoder.net",IMG_SERVER:"https://testweb-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://testweb-data.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",CABLE_SERVER:"wss://testweb-data.educoder.net/cable",MINIPROGRAM_SERVER:"https://testweb-data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net"),AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",CABLE_SERVER:"wss://data.educoder.net/cable",MINIPROGRAM_SERVER:"https://data.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net",AI_PLATFORM_URL:"https://aitest.educoder.net",Coze_ai_URl:"https://test4-datacoze.educoder.net"}}[window.ENV||"dev"]},49317:function(i,d,e){"use strict";e.d(d,{IV:function(){return J},U2:function(){return X},ZP:function(){return H},d4:function(){return Q},gz:function(){return N},rz:function(){return V},v_:function(){return W}});var t=e(14185),r=e(97915),n=e(62957),a=e(6767),s=e(85582),u=e.n(s),c=e(59301),o=e(44283),f=e(76406),_=Object.defineProperty,p=Object.defineProperties,x=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,S=(k,Z,G)=>Z in k?_(k,Z,{enumerable:!0,configurable:!0,writable:!0,value:G}):k[Z]=G,I=(k,Z)=>{for(var G in Z||(Z={}))P.call(Z,G)&&S(k,G,Z[G]);if(g)for(var G of g(Z))O.call(Z,G)&&S(k,G,Z[G]);return k},E=(k,Z)=>p(k,x(Z)),A=(k,Z,G)=>new Promise((ee,ie)=>{var se=He=>{try{de(G.next(He))}catch(ze){ie(ze)}},le=He=>{try{de(G.throw(He))}catch(ze){ie(ze)}},de=He=>He.done?ee(He.value):Promise.resolve(He.value).then(se,le);de((G=G.apply(k,Z)).next())});let R;const T={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},D=k=>{try{typeof k=="string"&&(k=JSON.parse(k));const Z=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,G=/\"\/api\/attachments\/(\d+)\//g,ee=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ie=/\/api\/attachments\/(\d+)/g,se=/\/attachments\/download\/(\d+)/g;return JSON.stringify(k).replace(ie,(de,He,ze,st)=>{const vt=He||ze||st;return"/api/attachments/"+(0,f.Jn)(vt)}).replace(se,(de,He,ze)=>{const st=He||ze;return"/attachments/download/"+(0,f.Jn)(st)}).replace(Z,(de,He,ze,st)=>{const vt=He||ze||st;return"(/api/attachments/"+(0,f.Jn)(vt)}).replace(G,(de,He,ze)=>{const st=He||ze;return'"/api/attachments/'+(0,f.Jn)(st)}).replace(ee,(de,He,ze)=>{const st=He||ze;return"(/files/uploads/"+(0,f.Jn)(st)}).replace(/\r\n/g,` +`)}catch(Z){return null}},M=(k,Z)=>A(void 0,null,function*(){if(k.status>=200&&k.status<300)return k;const G=T[k.status]||k.statusText;let ee;var ie=k.json();yield ie.then((le,de)=>{setTimeout(()=>{let He=(0,o.getDvaApp)()},400),ee=le.message,window.showNetworkErrorTip(le.message||`\u8BF7\u6C42\u9519\u8BEF ${k.status}: ${k.message}`),r.ZP.error({style:{wordBreak:"break-all"},message:le.message||`\u8BF7\u6C42\u9519\u8BEF ${k.status}: ${k.message}`,description:le.message?"":G})});const se=new Error(G);throw se.name=k.status,se.response=k,{data:k,code:k.status,message:ee||G}}),B=(k,Z)=>{const G=k.headers.get("Content-Type");return G&&G.match(/application\/json/i)&&k.clone().text().then(()=>{}),k};function j(k){try{return decodeURIComponent(k),decodeURIComponent(encodeURIComponent(k))===k}catch(Z){return!1}}const V=k=>{k=k||{};let Z="";for(let G in k)typeof k[G]=="object"?Array.isArray(k[G])&&k[G].forEach((ee,ie)=>{Z+="&"+G+"[]="+ee}):k[G]!==void 0&&(Z+="&"+G+"="+(j(k[G])?k[G]:encodeURIComponent(k[G])));return Z.substr(1)};function H(k,Z,G,ee,ie){Z.method||(Z.method="get"),Z.method=Z.method.toUpperCase(),Z.mode="cors";const se=I({},Z),{user:le}=(0,o.getDvaApp)()._store.getState(),{userInfo:de}=le,He=k+(se.body?JSON.stringify(se.body):""),ze=u().sha256().update(He).digest("hex"),st={credentials:"include",withCredentials:!0},vt={};de!=null&&de.login&&!ie&&(vt.zzud=de==null?void 0:de.login,de!=null&&de.school_id&&(vt.zzsud=de==null?void 0:de.school_id),se.params=I(I({},se.params||{}),vt));let Je=I(I({},st),JSON.parse(JSON.stringify(se)));(Je.method==="POST"||Je.method==="PUT"||Je.method==="PATCH"||Je.method==="DELETE")&&(G?(Je.headers=E(I({},Je.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),Je.body=se.body):(Je.headers=I({Accept:"application/json","Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,f.ej)("_educoder_session"),Origin:location.origin},Je.headers),Je.body=JSON.stringify(se.body))),Je.method=="GET"?(Je.headers=E(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8"},Je.headers),{Origin:location.origin,"Pc-Authorization":(0,f.ej)("_educoder_session")}),se.params&&V(se.params)&&(k+="?"+V(se.params))):vt.zzud&&(k+="?"+V(I({},vt)));const Ke=se.expirys&&60;let Re;(ct=>{ct.json="application/json;charset=UTF-8",ct.form="application/x-www-form-urlencoded; charset=UTF-8"})(Re||(Re={}));let Ce;(ct=>{ct.get="GET",ct.post="POST"})(Ce||(Ce={}));const me=ct=>A(this,null,function*(){const St=yield ct.arrayBuffer();let bt;const Ie=new Blob([St]);try{bt=ct.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(ye){bt="userfiles.zip"}const $e=document.createElement("a"),ft=window.URL.createObjectURL(Ie),ke=bt;return $e.href=ft,$e.download=ke,$e.click(),window.URL.revokeObjectURL(ft),St});let at=t.Z.API_SERVER;return(window.ENV==="dev"||k.startsWith("http"))&&(at=""),Je.method=="GET"&&Je.params&&Object.keys(Je.params).map(ct=>{if(Je.params[ct]&&!Array.isArray(Je.params[ct]))try{Je.params[ct]=encodeURIComponent(decodeURIComponent(Je.params[ct]))}catch(St){Je.params[ct]=encodeURIComponent(Je.params[ct])}}),(0,f.Ec)(Je,k),ee&&(at=""),fetch(at+k,Je).then(ct=>M(ct,I({url:t.Z.API_SERVER+k},Je))).then(ct=>B(ct,ze)).then(ct=>A(this,null,function*(){var St,bt,Ie,$e;try{const ke=ct.headers.get("cs");ke&&(0,f.d8)("_educoder_session",ke,1)}catch(ke){}if(ct.status===204)return ct.text();let ft;if(ct.headers.get("content-type").indexOf("application/json")>-1){ft=yield ct.json();try{ft=JSON.parse(D(ft))}catch(ke){}}else Je.headers["Content-Type"]==="application/xml"?ft=yield ct.text():(St=se.body)!=null&&St.autoDownload||(bt=se.params)!=null&&bt.autoDownload?ft=yield me(ct):ft=yield ct.arrayBuffer();try{ft.status===401&&(Je.method==="GET"&&((Ie=Je.params)==null?void 0:Ie.hidePopLogin)!=="true"?(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}):Je.method!=="GET"&&!(($e=Je.params)!=null&&$e.hidePopLogin)&&(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})),ft.status===402&&(localStorage.getItem("addinfo")==="2"?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(R=R||n.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),R.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{o.history.push("/account/profile/edit")}})))}catch(ke){console.log("fetcherr",ke)}return K(ft,k),ft})).catch(ct=>{try{const St=ct.code;if(ct instanceof TypeError&&window.showNetworkErrorTip(`${k}${ct.message}`),St){if(St===401){(0,o.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(ct,k)}else k.includes("/file/filePatchMerge")?(0,o.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Je.body}}):ct.message!=="403"&&window.showNetworkErrorTip(`${k}${ct.message}`);return ct}catch(St){}})}let Y=!1,F=!1;const K=(k,Z)=>{var G,ee,ie;if(k.status==-6&&!F){F=!0,(0,f.d8)("_educoder_session","logout",1),(0,f.m5)(),setTimeout(()=>F=!1,500),n.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:k.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(k.status==-7){F=!0,setTimeout(()=>F=!1,500);let le="";(G=k==null?void 0:k.data)!=null&&G.exercise_list&&((ie=(ee=k==null?void 0:k.data)==null?void 0:ee.exercise_list)==null||ie.map(de=>{le+=`\u300A${de.exercise_name}\u300B`})),n.default.info({title:"\u63D0\u793A",content:c.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
        \u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${le} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
        `},500);return}if((k.status==-1||k.status==-2||k.status==-102||k.status>400)&&k.status!=403&&!F){F=!0,setTimeout(()=>F=!1,500),a.ZP.warning({content:k.message,key:"message-key"});return}const se={403:"/403",404:"/404",500:"/500"};if(se[k.status]&&!Y){const{user:le}=(0,o.getDvaApp)()._store.getState(),{userInfo:de}=le;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(Y=!0),setTimeout(()=>Y=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(k)),Object.values(se).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(se[k.status]),new Error("403")}};function X(k,Z){return H(`/api/${k}`,{method:"Get",params:Z||{}})}function Q(k,Z){return H(`/${k}`,{method:"Get",params:Z})}function W(k,Z){return H(`/api/${k}`,{method:"Post",body:I({},Z)})}function N(k,Z){return H(`/api/${k}`,{method:"Put",body:I({},Z)})}function J(k,Z){return H(`/api/${k}`,{method:"delete",body:I({},Z||{})})}},58291:function(i,d,e){"use strict";e.d(d,{Bn:function(){return n},hw:function(){return r},mi:function(){return t}});const t="WlRsa1pEVmlORE15TW1ZNVpqZGtPRE5rTURBNVpHVTVZbVpoTVRBd1l6TT0=",r="TW1VelpHRXdObUZsTWpaaVlUbG1OelpoTldRNFpETTFOVGMwTm1ZeVptVT0=",n="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},76406:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},BR:function(){return aiReviewConfigformatChecks},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},Gn:function(){return storageHomeworkId},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},Lm:function(){return AddWX},M:function(){return setmiyah},M2:function(){return randomArray},Mi:function(){return bytesToSize1},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Sv:function(){return downloadFile},TG:function(){return getStorageHomeworkId},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},UZ:function(){return locationPoint},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},Ye:function(){return checkVersion},ZJ:function(){return toDataUrl},ZR:function(){return GetElementHeight},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},bR:function(){return SendModal},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hE:function(){return isInsecureOrLocalhost},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jl:function(){return highlightLastNewline},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},lK:function(){return checkPathname},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},po:function(){return saveAs},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},sc:function(){return releaseRuleDataSmartPlan},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vs:function(){return levelStatus},xU:function(){return bindVIP},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(15267),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(6767),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(62957),antd__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(77019),antd__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(5269),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(92427),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(84849),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(74877),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(44283),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(14185),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(33156),crypto_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_9__),_key__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(58291),moment__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(66649),moment__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_10__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(64796),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11__),uuid__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1012),_assets_images_AssistantCode3_jpeg__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(32637),_assets_images_level_sq_svg__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(47243),_assets_images_level_jc_svg__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(87625),_assets_images_level_gj_svg__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(39569),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(i,d,e)=>d in i?__defProp(i,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[d]=e,__spreadValues=(i,d)=>{for(var e in d||(d={}))__hasOwnProp.call(d,e)&&__defNormalProp(i,e,d[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(d))__propIsEnum.call(d,e)&&__defNormalProp(i,e,d[e]);return i},__spreadProps=(i,d)=>__defProps(i,__getOwnPropDescs(d)),__async=(i,d,e)=>new Promise((t,r)=>{var n=u=>{try{s(e.next(u))}catch(c){r(c)}},a=u=>{try{s(e.throw(u))}catch(c){r(c)}},s=u=>u.done?t(u.value):Promise.resolve(u.value).then(n,a);s((e=e.apply(i,d)).next())}),_a,_b;moment__WEBPACK_IMPORTED_MODULE_10___default().extend(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_11___default());const GetElementHeight=(i,d="px",e,t=!1)=>{if(!i)return 0;const r=t?i.scrollHeight:i.offsetHeight;if(d==="rem"){const n=e?`${e}`:getComputedStyle(document.documentElement).fontSize,a=parseFloat(n);return r/a}return r},HighLightedContent=(i,d=[],e="#2EC25B")=>(typeof d=="string"&&(d=[d]),i.replace(new RegExp(`(${d.join("|")})`,"gi"),`$1`)),parseParams=i=>{i=i||{};let d="";for(let e in i)typeof i[e]=="object"?Array.isArray(i[e])&&i[e].forEach((t,r)=>{d+="&"+e+"[]="+t}):i[e]!==void 0&&(d+="&"+e+"="+i[e]);return d.substr(1)},getKey=i=>window.atob(window.atob(i));function bytesToSize(i,d=!0){var e=["Bytes","KB","MB","GB","TB"];if(i==0)return d?"0 Byte":"0";var t=parseInt(""+Math.floor(Math.log(i)/Math.log(1024)),10);return(i/Math.pow(1024,t)).toFixed(1)+(d?" "+e[t]:"")}function bytesToSize1(i,d,e=!0){var t=["Bytes","KB","MB","GB","TB"];if(i===0&&d===0)return e?"0/0 Byte":"0/0";var r=d===0?0:parseInt(""+Math.floor(Math.log(d)/Math.log(1024)),10),n=i/Math.pow(1024,r),a=d/Math.pow(1024,r);return n.toFixed(1)+"/"+a.toFixed(1)+(e?" "+t[r]:"")}const getTwoDecimalPlaces=i=>Math.round(Math.round(i*1e5)/1e3*100)/100,NewAntdDisabledDate=(i,d=null)=>{const e=imoment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.endTime).endOf("day"),r=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("mm")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),n=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm")),a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("ss"));function s(u,c){const o=[];for(let f=u;fs(0,r),disabledMinutes:()=>s(0,n)};if(d!=null&&d.compared){const u=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("HH")),c=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("mm")),o=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared).format("ss"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d==null?void 0:d.compared),"day")?{disabledHours:()=>s(0,u),disabledMinutes:()=>e<=u?s(0,c):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>s(0,r),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=r?s(0,n):[]}},disabledDate=(i,d,e,t)=>{t=typeof t=="string"?moment__WEBPACK_IMPORTED_MODULE_10___default()(t):t;const r=t?i<(t==null?void 0:t.startOf("day")):imoment__WEBPACK_IMPORTED_MODULE_10___default()(d).endOf("day"),a=i{const e=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).format("HH")),t=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("HH")),r=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()().format("mm"));function n(a,s){const u=[];for(let c=a;cn(0,t),disabledMinutes:()=>n(0,r)};if(d){const a=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("HH")),s=parseInt(moment__WEBPACK_IMPORTED_MODULE_10___default()(d).format("mm"));return moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(d),"day")?{disabledHours:()=>n(0,a),disabledMinutes:()=>e<=a?n(0,s):[]}:void 0}if(moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"day"))return{disabledHours:()=>n(0,t),disabledMinutes:()=>moment__WEBPACK_IMPORTED_MODULE_10___default()(i).isSame(moment__WEBPACK_IMPORTED_MODULE_10___default()(),"hour")&&e<=t?n(0,r):[]}},preciseCalculation=(i,d,e)=>{typeof i=="string"&&(i=Number(i)),typeof d=="string"&&(d=Number(d));const t=(i.toString().split(".")[1]||"").length,r=(d.toString().split(".")[1]||"").length,n=Math.max(t,r),a=Math.pow(10,n);return(()=>{switch(e){case"+":return(Math.round(i*a)+Math.round(d*a))/a;case"-":return(Math.round(i*a)-Math.round(d*a))/a;case"*":return Math.round(i*a)*Math.round(d*a)/(a*a);case"/":return Math.round(i*a)/Math.round(d*a);default:throw new Error("\u4E0D\u652F\u6301\u7684\u8FD0\u7B97\u7B26\u53F7")}})()},toWNumber=i=>i/1e4>1?react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,Math.round(i/1e4*100)/100,react__WEBPACK_IMPORTED_MODULE_0__.createElement("i",{className:"font12"},"w")):i,toChineseNumber=i=>{const d=i.toString().replace(/(?=(\d{4})+$)/g,",").split(",").filter(Boolean),e=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],t=["","\u5341","\u767E","\u5343"],r=["","\u4E07","\u4EBF"],n=s=>{let u="";for(let c=0;c{const t=i.splice(d,1)[0];return i.splice(e,0,t),i},ZimuSort=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],JudgeSort=["\u6B63\u786E","\u9519\u8BEF"],RomanNumber=["I","II","III","IV","V","VI","VII","VIII","IX","X","XI","XII","XIII","XIV","XV","XVI","XVII","XVIII","XIX","XX"],findEndWhitespace=i=>{if(!i)return"";const d=i.replace(/(?:\r\n|\n)/g,`\x1B[41m\x1B[37m\u21B5\x1B[0m\r `).replace(/ +$/g,"\x1B[41m \x1B[0m");return console.debug("str:",d,JSON.stringify(i)),d},highlightLastNewline=i=>i?(i=i.replace(/(^|[^\r])\r(?!\n)/g,`$1\r `),i=i.replace(new RegExp("(?{const d={\u5DF2\u622A\u6B62:{class:"tag-style bg-pink ml10"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};return i.data&&i.data.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{key:t,className:d[e]&&d[e].class},e)})},formatHomeWorkStatusToName=i=>({[-1]:"\u91CD\u505A\u4E2D",0:"\u672A\u5F00\u542F",1:"\u672A\u901A\u5173",2:"\u6309\u65F6\u901A\u5173"})[i]||"\u8FDF\u4EA4\u901A\u5173",HomeWorkListStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t==null?void 0:t[i.status])==null?void 0:d.class},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkShixunListStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u5F00\u542F",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t==null?void 0:t[i.status])==null?void 0:d.class},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u901A\u5173",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",width:"65px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkShixunDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange",color:"#999999"},0:{name:"\u672A\u5F00\u542F",class:"c-black",color:"#999999"},1:{name:"\u672A\u901A\u5173",class:"c-red",color:"#d4443d"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green",color:"#57be40"},3:{name:"\u8865\u4EA4\u901A\u5173",class:"c-orange",color:"#f09143"},4:{name:"\u622A\u6B62\u540E\u901A\u5173",class:"c-red",color:"#d4443d"},5:{name:"\u622A\u6B62\u540E\u8BC4\u6D4B",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},HomeWorkCommonDetailStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-black",color:"#999999"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black",color:"#999999"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green",color:"#57be40"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red",color:"#d4443d"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{marginLeft:"10px",color:"#fff",background:(d=t==null?void 0:t[i.status])==null?void 0:d.color,borderRadius:"20px",padding:"0 8px",height:"18px",justifyContent:"center",display:"inline-flex",lineHeight:"18px"}},(e=t==null?void 0:t[i.status])==null?void 0:e.name)},StatusGraduationProjectTags=i=>{const{status:d}=i,e={0:{class:"tag-style bg-blue ml10",name:"\u5F85\u9009\u4E2D"},1:{class:"tag-style bg-blue ml10",name:"\u5F85\u786E\u8BA4"},2:{class:"tag-style bg-pink ml10",name:"\u5DF2\u786E\u8BA4"}};try{return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:e[d].class},e[d].name)}catch(t){console.log("utils.StatusGraduationProjectTags",i.status)}},ExerciseStatus={1:"\u672A\u53D1\u5E03",2:"\u8003\u8BD5\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u96C6\u4E2D\u9605\u5377",99:"\u6A21\u62DF\u8003\u8BD5\u4E2D"},PollsStatus={1:"\u672A\u53D1\u5E03",2:"\u63D0\u4EA4\u4E2D",3:"\u5DF2\u622A\u6B62",4:"\u5DF2\u7ED3\u675F",5:"\u672A\u5F00\u59CB"},StatusClassroomsTags=i=>{let d={\u6A21\u62DF\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-pink ml10"},\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A:{class:"tag-style-fzb ml10 iconfont icon-fangzuobi"},\u516C\u5F00:{class:"tag-style bg-blue ml10"},\u5DF2\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-green ml10soft"},\u672A\u5F00\u542F\u8865\u4EA4:{class:"tag-style bg-pink ml10soft"},\u672A\u53D1\u5E03:{class:"tag-style bgB8B8B8 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-c5d6ff ml10soft"},\u533F\u540D\u4F5C\u54C1:{class:"tag-style bg-cyan ml10"},\u5DF2\u9009\u62E9:{class:"tag-style bg-grey-ede ml10"},\u5DF2\u7ED3\u675F:{class:"tag-style bg-grey-ede ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-blue ml10soft"},\u533F\u8BC4\u4E2D:{class:"tag-style bg-blue ml10"},\u7533\u8BC9\u4E2D:{class:"tag-style bg-blue ml10"},\u8003\u8BD5\u4E2D:{class:"tag-style bg-light-blue ml10"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-blue ml10soft"},\u8BC4\u9605\u4E2D:{class:"tag-style bg-blue ml10"},\u5F85\u9009\u4E2D:{class:"tag-style bg-blue ml10"},\u4EA4\u53C9\u8BC4\u9605\u4E2D:{class:"tag-style bg-light-orange ml10"},\u5DF2\u5F00\u542F\u4EA4\u53C9\u8BC4\u9605:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u786E\u8BA4:{class:"tag-style bg-lightblue-purple ml10"},\u5F85\u5904\u7406:{class:"tag-style bg-lightblue-purple ml10"},\u79C1\u6709:{class:"tag-style bg-lightblue-purple ml10"},\u672A\u63D0\u4EA4:{class:"tag-style bg-lightblue-purple ml10"},\u5DF2\u786E\u8BA4:{class:"tag-style bg-light-pink ml10"},\u5DF2\u53D1\u5E03:{class:"tag-style bg-light-blue ml10"},\u5DF2\u622A\u6B62:{class:"tag-style bg-light-pink ml10soft"},\u5F00\u53D1\u8BFE\u7A0B:{class:"tag-style bg-orange ml10"},\u5DF2\u5F00\u64AD:{class:"tag-style-border border-green c-green ml10"},\u672A\u5F00\u64AD:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u8BFE:{class:"tag-style bg-c5d6ff ml10soft"},\u4E0A\u8BFE\u4E2D:{class:"tag-style bg-blue ml10soft"},\u6309\u65F6\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u8FDF\u4EA4\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u901A\u5173:{class:"tag-style-border border-light-black ml10"},\u672A\u5F00\u542F:{class:"tag-style-border border-light-black ml10"},\u5BFC\u5165:{class:"export ml10"},\u96C6\u4E2D\u9605\u5377:{class:"tag-style bg-light-orangess ml10soft"}};const e={\u672A\u53D1\u5E03:{class:"tag-style bg-C6CED6 ml10soft"},\u672A\u5F00\u59CB:{class:"tag-style bg-C1E2FF ml10soft"},\u8FDB\u884C\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u5DF2\u622A\u6B62:{class:"tag-style bg-E53333 ml10soft"},\u63D0\u4EA4\u4E2D:{class:"tag-style bg-0152d9 ml10soft"},\u8865\u4EA4\u4E2D:{class:"tag-style bg-44D7B6 ml10soft"}};i.temporary&&(d=__spreadValues(__spreadValues({},d),e));const t=[];i.is_random&&t.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"tag-style bg-blue ml10"},"\u968F\u673A"));try{i.status&&i.status.map((r,n)=>{t.push(react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:(i==null?void 0:i.style)||[],key:n,className:d[r]&&d[r].class},r))})}catch(r){console.log("utils.status.tag:",r,i.status)}return t},exerciseTips=(i,d)=>{if(i===5||d)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#f59a23"},className:"tag-style ml5"},"\u96C6\u4E2D\u9605\u5377");if(i===1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#B8B8B8"},className:"tag-style ml5"},"\u672A\u5F00\u59CB");if(i===2)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#007AFF"},className:"tag-style ml5"},"\u8003\u8BD5\u4E2D");if(i===3)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{backgroundColor:"#FC2D6B"},className:"tag-style ml5"},"\u5DF2\u622A\u6B62");if(i===-1)return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"export ml5"},"\u5BFC\u5165")},WorkStatus=i=>{var d,e;const t={[-1]:{name:"\u91CD\u505A\u4E2D",class:"c-orange"},0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u672A\u901A\u5173",class:"c-red"},2:{name:"\u6309\u65F6\u901A\u5173",class:"c-green"},3:{name:"\u8FDF\u4EA4\u901A\u5173",class:"c-orange"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t[i.status])==null?void 0:d.class},(e=t[i.status])==null?void 0:e.name)},CommonWorkStatus=i=>{var d,e;const t={0:{name:"\u672A\u63D0\u4EA4",class:"c-black"},1:{name:"\u6309\u65F6\u63D0\u4EA4",class:"c-green"},2:{name:"\u5EF6\u65F6\u63D0\u4EA4",class:"c-red"},3:{name:"\u90E8\u5206\u63D0\u4EA4",class:"c-green"},4:{name:`\u6309\u65F6\u63D0\u4EA4${i!=null&&i.lineBreak?` `:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-green"},5:{name:`\u672A\u63D0\u4EA4${i!=null&&i.lineBreak?` `:""}\uFF08\u6559\u5E08\u63D0\u4EA4\uFF09`,class:"c-black"},6:{name:"\u6309\u65F6\u63D0\u4EA4\uFF08\u7EBF\u4E0B\uFF09",class:"c-green"}};return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:(d=t[i.status])==null?void 0:d.class},(e=t[i.status])==null?void 0:e.name)},levelStatus={0:{name:"\u57FA\u7840\u7248",nameImg:_assets_images_level_sq_svg__WEBPACK_IMPORTED_MODULE_13__.Z,icon:__webpack_require__(89718),img:__webpack_require__(79390),bg:__webpack_require__(51466),iconSprite:"sprite sprite-1",class:"sq",limit_capacity:50},1:{name:"\u6807\u51C6\u7248",nameImg:_assets_images_level_jc_svg__WEBPACK_IMPORTED_MODULE_14__.Z,icon:__webpack_require__(70689),img:__webpack_require__(65985),bg:__webpack_require__(1938),iconSprite:"sprite sprite-2",class:"jc",limit_capacity:500},2:{name:"\u4E13\u4E1A\u7248",nameImg:_assets_images_level_gj_svg__WEBPACK_IMPORTED_MODULE_15__.Z,icon:__webpack_require__(44649),img:__webpack_require__(34591),bg:__webpack_require__(48742),iconSprite:"sprite sprite-3",class:"gj",limit_capacity:1024}},timego=i=>{i=new Date(i).getTime();let d=1e3*60,e=d*60,t=e*24,r="",a=new Date().getTime()-i;if(a<0)return console.log("\u65F6\u95F4\u4E0D\u5BF9\u52B2,\u670D\u52A1\u5668\u521B\u5EFA\u65F6\u95F4\u4E0E\u5F53\u524D\u65F6\u95F4\u4E0D\u540C\u6B65"),r="\u521A\u521A";let s=parseInt(a/t,10),u=parseInt(a/e,10),c=parseInt(a/d,10);return s>30?r=""+timeformat(i,"yyyy-MM-dd"):s>1?r=""+s+"\u5929\u524D":s==1?r="\u6628\u5929":u>=1?r=""+u+"\u5C0F\u65F6\u524D":c>=5?r=""+c+"\u5206\u949F\u524D":r="\u521A\u521A",r};function replaceParamVal(paramName,replaceWith){var oUrl=window.location.href.toString(),re=eval("/("+paramName+"=)([^&]*)/gi"),nUrl=oUrl.replace(re,paramName+"="+replaceWith);window.history.replaceState(null,"",nUrl)}const timeformat=(i,d)=>{typeof i=="string"&&(i.indexOf("T")>=0&&(i=i.replace("T"," ")),i=new Date(Date.parse(i.replace(/-/g,"/")))),i=new Date(i);let e={"M+":i.getMonth()+1,"d+":i.getDate(),"h+":i.getHours(),"m+":i.getMinutes(),"s+":i.getSeconds(),"q+":Math.floor((i.getMonth()+3)/3),S:i.getMilliseconds()},t=[["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]];/(y+)/.test(d)&&(d=d.replace(RegExp.$1,(i.getFullYear()+"").substr(4-RegExp.$1.length))),/(w+)/.test(d)&&(d=d.replace(RegExp.$1,t[RegExp.$1.length-1][i.getDay()]));for(let r in e)new RegExp("("+r+")").test(d)&&(d=d.replace(RegExp.$1,RegExp.$1.length==1?e[r]:("00"+e[r]).substr((""+e[r]).length)));return d},toTimeFormat=i=>{if(!i||i<0)return"0\u79D2";console.log("time:",i);let d=60,e=d*60,t=e*24,r=i/t,n=i/e,a=i/d,s=i%60;return r>=1?parseInt(r.toString())+"\u5929"+Math.floor(n%24)+"\u65F6"+Math.floor(a%60)+"\u5206"+Math.floor(i%60)+"\u79D2":n>1?parseInt(n.toString())+"\u65F6"+Math.floor(a%60)+"\u5206"+Math.floor(i%60)+"\u79D2":a>=1?parseInt(a.toString())+"\u5206"+Math.floor(i%60)+"\u79D2":Math.ceil(i)+"\u79D2"},validateLength=(i="",d=100)=>{let e=0;if(i){e=i.length;for(let t=0;t=55296&&r<=56319&&(e--,t++)}}return e<=d};function buildTree(i,d){const e={};let t=null;return i.forEach(r=>{e[r.properties.uuid]=__spreadProps(__spreadValues({},r),{children:[]})}),d.forEach(r=>{const n=e[r.startNodeUuid],a=e[r.endNodeUuid];n&&a&&n.children.push(a)}),i.forEach(r=>{!d.some(a=>a.endNodeUuid===r.properties.uuid)&&(t=e[r.properties.uuid])}),t}const handleValidatorNickName=(i,d,e)=>{if(d){let t=/[`~!@#$%^&*()\-+=<>?:"{}|,.\/;'\\[\]~!@#¥%……&*()——\-+={}|《》?:“”【】、;‘’,。、]/im;const n=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(d),a=t.test(d);(n===!0||a===!0||d.length<2||d.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57\u53CA\u4E0B\u5212\u7EBF")}e()},handleValidatorName=(i,d,e)=>{if(d){let t=/[`~!@#$%^&()_\-+=<>?:"{}|,.\/;'\\[\]~!@#¥%……&()——\-+={}|《》?:“”【】、;‘’,。、]/im;const n=/[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF][\u200D|\uFE0F]|[\uD83C|\uD83D|\uD83E][\uDC00-\uDFFF]|[0-9|*|#]\uFE0F\u20E3|[0-9|#]\u20E3|[\u203C-\u3299]\uFE0F\u200D|[\u203C-\u3299]\uFE0F|[\u2122-\u2B55]|\u303D|[\A9|\AE]\u3030|\uA9|\uAE|\u3030/gi.test(d),a=t.test(d);(n===!0||a===!0||d.length<2||d.length>=21)&&e("2-20\u4F4D\u4E2D\u82F1\u6587\u3001\u6570\u5B57")}e()},getHiddenName=i=>{if(!i)return"";let d=i.length-1,e="";for(var t=0;t{const e=new FileReader;e.addEventListener("load",()=>d(e.result)),e.readAsDataURL(i)},getFileContentAndUrl=i=>new Promise((d,e)=>{var t=new FileReader;t.onload=function(){try{const r=window.URL.createObjectURL(i);d({text:this.result,link:r})}catch(r){antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9"),e("\u5F53\u524D\u6587\u4EF6\u65E0\u6CD5\u8BFB\u53D6\u5185\u5BB9")}},t.readAsText(i)});function setmiyah(i){return md5__WEBPACK_IMPORTED_MODULE_6___default()("79e33abd4b6588941ab7622aed1e67e8"+i)}const getCookie=i=>{var d,e=RegExp("(^| )"+i+"=([^;]+)(;|$)");return(d=document.cookie.match(e))?decodeURIComponent(d[2]):null};function setCookie(i,d,e){var t=new Date;t.setTime(t.getTime()+e*24*60*60*1e3);var r="expires="+t.toUTCString();document.cookie=i+"="+d+"; "+r+`;domain=${document.domain.indexOf("educoder.net")>-1?".educoder.net":document.domain};path=/;SameSite=None;secure`}const delCookie=i=>{document.cookie=i+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;"},clearAllCookies=()=>{for(var i=document.cookie.split(";"),d=0;d-1?e.substr(0,t):e;document.cookie=r+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}};function downLoadLink(i,d){let e=document.createElement("a");document.body.appendChild(e),e.href=d,i&&(e.title=i,e.download=i);let t=document.createEvent("MouseEvents");t.initEvent("click",!1,!1),e.dispatchEvent(t),document.body.removeChild(e)}function getFirstLevelDomain(){var i=window.location.hostname,d=i.split(".").reverse();return d.length>2?[d[1],d[0]].join("."):i}function getBlob(i){return new Promise(d=>{const e=new window.XMLHttpRequest;(i.indexOf(getFirstLevelDomain())>-1||location.hostname==="localhost"&&i.indexOf("/api/")>-1)&&(e.withCredentials=!0),e.open("GET",i,!0),e.responseType="blob",e.onload=()=>{e.status===200&&d(e.response)},e.send()})}function saveAs(i,d){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(i,d);else{const e=document.createElement("a"),t=document.querySelector("body");e.href=window.URL.createObjectURL(i),e.download=d,e.style.display="none",t.appendChild(e),e.click(),t.removeChild(e),window.URL.revokeObjectURL(e.href)}}function download(i,d){getBlob(i).then(e=>{saveAs(e,d)})}function downLoadFileIframe(i,d){return new Promise((e,t)=>{var r=d,n=document.createElement("iframe"),a;document.body.appendChild(n),n.src=r,n.style.display="none",n.addEventListener("load",function(){setTimeout(()=>{document.body.removeChild(n)},1e3)},!0),a=setInterval(()=>{getCookie("fileDownload")&&(delCookie("fileDownload"),clearInterval(a),document.body.removeChild(n),e())},1e3)})}function downLoadFile(i,d){downLoadLink(i,d)}const setUrlQuery=i=>{let{url:d,query:e}=i;if(!d)return"";if(e){let t=[];for(const r in e)e.hasOwnProperty(r)&&!isUnOrNull(e[r])&&(typeof e[r]=="object"?e[r].map(n=>{t.push(`${r}[]=${n}`)}):t.push(`${r}=${e[r]}`));d.indexOf("?")!==-1?d=`${d}&${t.join("&")}`:d=`${d}?${t.join("&")}`,console.log("url1111",d)}return d};function isPc(){let i=navigator.userAgent,d=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],e=!0;for(var t=0;t0){e=!1;break}return e}function isChrome(){let i=navigator.userAgent;return["Chrome"].some(e=>i.indexOf(e)>-1)}function isFirefox(){let i=navigator.userAgent;return["Firefox"].some(e=>i.indexOf(e)>-1)}function isChromeOrFirefox(){let i=navigator.userAgent;return["Chrome","Firefox"].some(e=>i.indexOf(e)>-1)}const formatMoney=(i="")=>{var d;return(d=i==null?void 0:i.toString())==null?void 0:d.replace(/\B(?=(\d{3})+(?!\d))/g,",")},openNewWindow=i=>{let d=document.createElement("a");d.target="_blank",document.body.appendChild(d),d.href=i;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),d.dispatchEvent(e),document.body.removeChild(d)},openNewWindows=i=>{let d=document.createElement("a");document.body.appendChild(d),d.href=i;let e=document.createEvent("MouseEvents");e.initEvent("click",!1,!1),d.dispatchEvent(e),document.body.removeChild(d)},formatTextMiddleIntercept=(i="")=>i.length<=6?i:`${i.substring(0,3)}...${i.substring(i.length-3,i.length)}`,HalfPastOne=()=>{let i=new Date().getHours(),d=new Date().getMinutes();return d>=30?(i++,d="00"):d="30",i+":"+d},DayHalfPastOne=(i="-")=>{let d=new Date().getHours(),e=new Date().getMinutes();return e>=30?(d++,e="00"):e="30",new Date().toLocaleDateString().replace(/\//g,i)+" "+d+":"+e};var Type=(i=>(i.Number="Number",i.String="String",i.Boolean="Boolean",i.Object="Object",i.Array="Array",i.Function="Function",i))(Type||{});const type=i=>{const d=Object.prototype.toString.call(i);return d.substring(8,d.length-1)},isEmpty=i=>type(i)==="Array"?i.length===0:type(i)==="Object"?Object.keys(i).length===0:!i,rangeNumber=(i,d)=>{const e=[];for(let t=i;t{let e=d/2-2,t=d/2+3;return i.length>d?i.substr(0,e)+"..."+i.substr(t,d):i},formatRate=i=>i>4.5?5:i>4&&i<=4.5?4.5:i>3.5&&i<=4?4:i>3&&i<=3.5?3.5:i>2.5&&i<=3?3:i>2&&i<=2.5?2.5:i>1.5&&i<=2?2:i>1&&i<=1.5?1.5:i>.5&&i<=1?1:i>0&&i<=.5?.5:0,isUnOrNull=i=>i==null;function getUrlToken(i,d){const e=new RegExp(`(^|&)${i}=([^&]*)(&|$)`,"i"),t=d.substr(1).match(e);return t!=null?decodeURIComponent(t[2]):null}const getMessagesUrl=i=>{var d;if(i.link_url)return window.open(i.link_url);switch(i==null?void 0:i.container_type){case"TeacherChangeUserInfo":return window.open("/account/profile");case"TeacherResetUserPassword":return window.open("/account/secure");case"ApplyUserAuthentication":return window.open("/account/certification")}switch(i.container_type){case"ApplyUserAuthentication":if(i.tiding_type==="Apply"){if(i.auth_type===1)return window.open("/admins/identity_authentications");if(i.auth_type===2)return window.open("/admins/professional_authentications")}return i.tiding_type==="System"?window.open("/account/certification"):i.tiding_type==="Code"?window.open("/account/profile"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddMajor":return window.open("/account/profile");case"Major":return window.open("/account/profile");case"ApplyAddDepartment":return i.tiding_type==="Apply"?window.open("/admins/department_applies"):i.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return i.tiding_type==="Apply"?window.open("/admins/unit_applies"):i.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(i.parent_container_type){case"ApplyShixun":if(i.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(i.tiding_type==="System")return window.open(`/shixuns/${i.identifier}/challenges`);case"ApplySubject":if(i.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(i.tiding_type==="System")return window.open(`/paths/${i.parent_container_id}`);case"TrialAuthorization":if(i.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(i.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open(`/classrooms/${i.belong_container_id}/teachers`);case"StudentJoinCourse":if(i.tiding_type==="Apply")return window.open(`/classrooms/${i.belong_container_id}/teachers`);if(i.tiding_type==="System")return window.open(`/classrooms/${i.belong_container_id}/students`);case"DealCourse":return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/`);case"TeacherJoinCourse":return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/`);case"Course":return i.tiding_type==="Delete"?void 0:window.open(`/classrooms/${i.belong_container_id}/shixun_homework/`);case"ArchiveCourse":return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/`);case"Shixun":return window.open(`/shixuns/${i.identifier}/challenges`);case"Subject":return window.open(`/paths/${i.container_id}`);case"JournalsForMessage":switch(i.parent_container_type){case"Principal":return"";case"HomeworkCommon":return i.homework_type==="normal"?window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}/question`):i.homework_type==="group"?window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}/question`):i.homework_type==="practice"?window.open(`/classrooms/${i.belong_container_id}/shixun_homework/${i.parent_container_id}/detail?tabs=1`):"";case"GraduationTopic":return window.open(`/classrooms/${i.belong_container_id}/graduation_topics/${i.parent_container_id}/detail`);case"StudentWorksScore":return window.open(i.link_url)}case"Memo":return window.open(`/forums/${i.parent_container_id}`);case"Message":return window.open("/forums/");case"Watcher":return window.open(`/users/${i.trigger_user.login}/classrooms`);case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+i.project_url);case"ReporterJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+i.project_url);case"DealProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+i.project_url);case"ManagerJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+i.project_url);case"Poll":switch(i.parent_container_type){case"CommitPoll":return window.open(` /classrooms/${i.belong_container_id}/poll/${i.container_id}/detail`);default:return window.open(` /classrooms/${i.belong_container_id}/poll/${i.container_id}/detail`)}case"Exercise":switch(i.parent_container_type){case"CommitExercise":return window.open(` /classrooms/${i.belong_container_id}/exercise/${i.container_id}/detail?tab=0`);case"ExerciseScore":return window.open(` /classrooms/${i.belong_container_id}/exercise/${i.container_id}/detail?tab=0`);default:return window.open(`/classrooms/${i.belong_container_id}/exercise/${i.container_id}/detail?tab=0`)}case"StudentGraduationTopic":return window.open(`/classrooms/${i.belong_container_id}/graduation_topics/${i.parent_container_id}/detail`);case"DealStudentTopicSelect":return window.open(`/classrooms/${i.belong_container_id}/graduation_topics/${i.parent_container_id}/detail`);case"GraduationTask":return window.open(`/classrooms/${i.belong_container_id}/graduation_tasks/${i.container_id}`);case"GraduationWork":return window.open(`/classrooms/${i.belong_container_id}/graduation_tasks/${i.container_id}`);case"GraduationWorkScore":return window.open(`/classrooms/${i.belong_container_id}/graduation_tasks/${i.parent_container_id}`);case"HomeworkCommon":switch(i.parent_container_type){case"AnonymousCommentFail":if(i.homework_type==="normal")return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}/detail`);if(i.homework_type==="group")return window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}/detail`);if(i.homework_type==="practice")return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/${i.parent_container_id}/detail?tabs=0`);case"HomeworkPublish":if(i.homework_type==="normal")return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}/detail`);if(i.homework_type==="group")return window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}/detail`);if(i.homework_type==="practice")return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/${i.parent_container_id}/detail?tabs=0`);case"AnonymousAppeal":if(i.homework_type==="normal")return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}/detail`);if(i.homework_type==="group")return window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}/detail`);if(i.homework_type==="practice")return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/${i.parent_container_id}/detail?tabs=0`);default:if(i.homework_type==="normal")return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}/detail`);if(i.homework_type==="group")return window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}/detail`);if(i.homework_type==="practice")return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/${i.parent_container_id}/detail?tabs=0`)}case"StudentWork":if(i.homework_type==="normal")return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}/review/${i.container_id}`);if(i.homework_type==="group")return window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}/review/${i.container_id}`);if(i.homework_type==="practice")return window.open(`/classrooms/${i.belong_container_id}/shixun_homework/${i.parent_container_id}/detail`);case"StudentWorksScore":return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.trigger_user.id}/review/${i.parent_container_id}`);case"StudentWorksScoresAppeal":return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.trigger_user.id}/review/${i.parent_container_id}`);case"ChallengeWorkScore":return"";case"SendMessage":return window.open(`${_env__WEBPACK_IMPORTED_MODULE_7__.Z.API_SERVER}/admins/mirror_repositories`);case"Journal":return window.open(`/issues/${i.parent_container_id}`);case"Issue":return window.open(`/issues/${i.container_id}`);case"PullRequest":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+i.project_url);case"Department":return window.open("/account/profile");case"Library":if(i.tiding_type==="Apply")return window.open("/admins/library_applies");if(i.tiding_type==="System")return window.open(`/moop_cases/${i.container_id}`);case"ProjectPackage":return i.tiding_type==="Destroyed"||i.tiding_type==="Destroyed_end"?void 0:i.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open(`/crowdsourcing/${i.container_id}`);case"Discuss":return i.parent_container_type==="Hack"&&i.extra?window.open(`/myproblems/${i.extra}/comment`):i.extra==="ai_reply"&&i.task_identifier?window.open(`/tasks/${i.task_identifier}?extra=extra`):window.open(`/shixuns/${i.identifier}/shixun_discuss`);case"Video":return i.tiding_type==="Apply"?window.open("/admins/video_applies"):i.tiding_type==="System"?window.open(`/users/${(d=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:d.login}/videos`):"";case"PublicCourseStart":return window.open(`/classrooms/${i.container_id}/informs`);case"SubjectStartCourse":return window.open(`/paths/${i.container_id}`);case"ResubmitStudentWork":if(i.homework_type==="normal")return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}/${i.container_id}/appraise`);if(i.homework_type==="group")return window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}/${i.container_id}/appraise`);case"AdjustScore":if(i.homework_type==="normal")return window.open(`/classrooms/${i.belong_container_id}/common_homework/${i.parent_container_id}`);if(i.homework_type==="group")return window.open(`/classrooms/${i.belong_container_id}/group_homework/${i.parent_container_id}`);case"LiveLink":return window.open(`/classrooms/${i.belong_container_id}/course_videos?open=live`);case"Hack":if(i.extra&&i.parent_container_type!=="HackDelete")return window.open(`/problems/${i.extra}/edit`);default:return}},checkLocalOrPublicIp=(i,d)=>__async(void 0,null,function*(){let e="",t;return new Promise((r,n)=>__async(void 0,null,function*(){if(i.ip_limit!=="no"||i.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:i==null?void 0:i.ip_limit,ip_bind:i==null?void 0:i.ip_bind_type}),console.log(e,44)}catch(s){n(void 0)}const a=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:i.exerciseId,ip:e});if(a.status===0)r(a);else if(a.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:a==null?void 0:a.message,exercise_user_id:i==null?void 0:i.exercise_user_id,id:i.exerciseId,unlockClose:i.unlockClose}}});return}else r(a);if(i.errmsgHide||d)return!0;if(a.status===-1)return t=antd__WEBPACK_IMPORTED_MODULE_17__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>t.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(a.status===-2)return t=antd__WEBPACK_IMPORTED_MODULE_17__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_18__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_19__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>t.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},a.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=i=>new Promise((d,e)=>__async(void 0,null,function*(){const t=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:i==null?void 0:i.exerciseId,coursesId:i==null?void 0:i.coursesId});if((t==null?void 0:t.status)===0){d("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=i=>__async(void 0,null,function*(){var d,e,t;sessionStorage.removeItem("studentunlock");let r,n;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_17__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(i),i.ip_limit!=="no"||i.ip_bind){const a=yield checkLocalOrPublicIp(i,!0);if((a==null?void 0:a.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_17__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(i.forbid_screen){const a=new WebSocket("ws://localhost:8082");yield new Promise(s=>setTimeout(()=>s(),200)),sendAppStatus(a,i)}if(i.open_camera||i.screen_open||i.ip_limit!=="no"||i.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_17__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;i.open_phone_video_recording?n=`/classrooms/${i.coursesId}/exercise/${i.exerciseId}/users/${(d=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:d.login}/check`:i.identity_verify&&i.current_status===2?n=`/classrooms/${i.coursesId}/exercise/${i.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:n=`/classrooms/${i.coursesId}/exercise/${i.exerciseId}/users/${(t=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:t.login}`}else i.identity_verify&&i.current_status===2?n=`/classrooms/${i.coursesId}/exercise/${i.exerciseId}/users/${i.login}/check`:n=`/classrooms/${i.coursesId}/exercise/${i.exerciseId}/users/${i.login}`;n&&openNewWindow(n)});var httpBuildQuery=function(i,d,e,t){if(console.log("param:",i),d=d||null,e=e||"&",t=t||null,!i)return"";var r=function(u){for(var c=new Array,o=0;o{const e={},t=Object.assign(!0,i,{}),r=[];return Object.keys(t).sort().forEach(function(n){if(t[n]=t[n]===!0?"true":t[n],t[n]=t[n]===!1?"false":t[n],d==="GET"){if(t[n]!==null){if(typeof t[n]=="object"&&(!Array.isArray(t[n])||Array.isArray(t[n])&&!t[n].length))return;const a=t[n]===null||t[n]==="null"?"":t[n];r.push(`${n}=${typeof a=="string"||typeof a=="number"?decodeURIComponent(a):JSON.stringify(a)}`)}}else{const a=t[n]===null||t[n]==="null"?"":t[n];r.push(`${n}=${typeof a=="string"||typeof a=="number"?a:JSON.stringify(a)}`),t[n],e[n]=t[n]}}),r.join("&").trim()},educationList=[{name:"\u672C\u79D1",id:6},{name:"\u5927\u4E13",id:5},{name:"\u4E2D\u4E13",id:4},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8},{name:"\u9AD8\u4E2D",id:3},{name:"\u521D\u4E2D",id:2},{name:"\u5C0F\u5B66",id:1},{name:"\u5176\u4ED6",id:9},{name:"\u7855\u58EB",id:7},{name:"\u535A\u58EB",id:8}];function getTopLevelDomain(){let i=window.location.hostname;if(/^\d+\.\d+\.\d+\.\d+$/.test(i)||i==="localhost")return i;let d=i.split(".");return d.length>2&&/^[a-z]{2}$/.test(d[d.length-2])?d.slice(-3).join("."):d.slice(-2).join(".")}const setHeader=(i,d)=>{var e;try{const t=Date.now(),r=(0,uuid__WEBPACK_IMPORTED_MODULE_20__.Z)();let n="method="+((e=i.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_21__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_21__.hw)+"&time="+t;return i.headers["X-EDU-Type"]="pc",i.headers["X-EDU-Timestamp"]=t,i.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(n)),i.headers["Pc-Authorization"]=getCookie("_educoder_session"),i.headers["X-Original-Protocol"]=location.protocol,i.headers["X-Original-Host"]=location.host,i.headers["X-Original-Origin"]=location.origin,i.headers["X-Request-Id"]=r,i}catch(t){console.log("error:",t,i,d)}},setThreeComponent=()=>{(function(i){XMLHttpRequest.prototype.open=function(d,e,t=!0){const r=setHeader({method:d,headers:{}});i.call(this,d,e,t);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",r.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",r.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(n){}}})(XMLHttpRequest.prototype.open),function(i){window.fetch=function(d,e){var t;return e=e||{},(t=e.headers)!=null&&t["X-EDU-Timestamp"]||setHeader(e),i.apply(this,arguments).then(function(r){return r})}}(window.fetch)},parseUrl=i=>{const d=/(\w+)=([^\#&]*)/gi,e={};return i.replace(d,function(t,r,n){e[r]=decodeURI(n)}),e},messageInfo=(i,d)=>{const t={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${d}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[i];antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning(t)},base64ToBlob=(i,d)=>{var e;const t=window.atob(i),r=t.length,n=new Uint8Array(r);for(let a=0;a{const t=base64ToBlob(d,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(t,i);else{const r=document.createElement("a");r.href=window.URL.createObjectURL(t),r.download=i,document.body.appendChild(r);const n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),r.dispatchEvent(n),document.body.removeChild(r)}},trackEvent=i=>{var d;if(i.length)try{window._czc.push(["_trackEvent",...i]),window==null||window.gtag("event",i[1],{event_category:i[0],event_label:i[2]||"",value:i[3]||"",user_id:((d=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:d.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=i=>{if(i.length)try{window._czc.push(["_setCustomVar",...i])}catch(d){console.log("trackEvent:err:",d)}},onPreviewImage=i=>{const d=(r,n)=>{if(r.localName===n)return r;for(let a=0,s=r;s=s.parentNode;a++){if(s.localName===n)return s;if(s==document.documentElement)return!1}},e=i.target,t=d(e,"a");if(!(t!=null&&t.href)&&e.tagName.toUpperCase()==="IMG"){let r=e.src||e.getAttribute("src");r&&r.indexOf("/images/avatars/User")===-1&&(i.stopPropagation(),i.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",r))}},getCategoryName=(i,d)=>{var e,t,r,n;if(i){let a=(e=i==null?void 0:i.filter(s=>s.type===location.pathname.split("/")[3]))==null?void 0:e[0];return d?(n=(r=(t=a==null?void 0:a.second_category)==null?void 0:t.filter(s=>s.category_id==d))==null?void 0:r[0])==null?void 0:n.category_name:a==null?void 0:a.name}return null},bindPhone=i=>{const d=antd__WEBPACK_IMPORTED_MODULE_17__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,maskClosable:!1,keyboard:!1,closeIcon:i!=null&&i.hiddenCloseIcon?null:"",onOk:()=>{location.href="/account/secure"},onCancel:()=>{d.destroy(),i!=null&&i.onCancel&&i.onCancel()}})},bindVIP=()=>{const i=antd__WEBPACK_IMPORTED_MODULE_17__.default.confirm({title:"\u63D0\u793A",content:"\u60A8\u5F53\u524D\u7684\u8D26\u53F7\u7248\u672C\u6682\u65E0\u6B64\u529F\u80FD\u6743\u9650\u3002\u5982\u9700\u4F7F\u7528\uFF0C\u8BF7\u5347\u7EA7\u81F3\u66F4\u9AD8\u7248\u672C\u8D26\u53F7\u3002",okText:"\u7ACB\u5373\u5347\u7EA7",cancelText:"\u53D6\u6D88",centered:!0,maskClosable:!1,keyboard:!1,onOk:()=>{var d;openNewWindow(`/users/${(d=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:d.login}/memberCenter`)},onCancel:()=>{i.destroy()}})},AddWX=()=>{antd__WEBPACK_IMPORTED_MODULE_17__.default.confirm({title:"\u6DFB\u52A0\u5FAE\u4FE1\u83B7\u53D6\u8D26\u53F7\u6743\u76CA\u5347\u7EA7\u65B9\u6848",centered:!0,keyboard:!1,icon:null,closable:!0,width:420,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{display:"flex",justifyContent:"center",flexWrap:"wrap",color:"#333",lineHeight:"24px"}},react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",null,"\u5FAE\u4FE1\u626B\u4E00\u626B\uFF0C\u6DFB\u52A0\u5E73\u53F0\u6559\u7814\u52A9\u7406-\u5C0F\u6B4C\u8001\u5E08"),react__WEBPACK_IMPORTED_MODULE_0__.createElement("img",{src:_assets_images_AssistantCode3_jpeg__WEBPACK_IMPORTED_MODULE_12__,width:191,height:181,style:{padding:"0 4px",borderRadius:"2px",border:"1px solid #D8E3E9",marginTop:15}}),react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{style:{color:"#000",fontWeight:"bolder",fontSize:16,margin:"20px 0"}},"\u5FAE\u4FE1\u53F7\uFF1AEduCoder-Coming")),footer:null})},SendModal=i=>{antd__WEBPACK_IMPORTED_MODULE_17__.default.confirm({title:"\u63D0\u793A",centered:!0,keyboard:!1,icon:null,closable:!0,width:420,content:i,okText:"\u7ACB\u5373\u8054\u7CFB",onOk:()=>{AddWX()}})},copyTextFuc=(i="",d=!1)=>{const e=document.createElement("textarea");e.value=i,document.body.appendChild(e),e.select(),document.execCommand("Copy"),d||antd__WEBPACK_IMPORTED_MODULE_16__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=i=>{if(i||(i=window.location.search),!i)return{};let d=i.substring(1),e={};return d.split("&").forEach(function(t){let r=t.split("=");e[r[0]]=decodeURIComponent(r[1])}),e},arrTrans=(i,d)=>{if(!d)return null;const e=[];return d.forEach((t,r)=>{const n=Math.floor(r/i);e[n]||(e[n]=[]),e[n].push(t)}),e},setDocumentTitle=i=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":i!==""&&i&&(document.title=i||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var i;return(i=window==null?void 0:window.localStorage)==null?void 0:i.isClientExam},localSort={setItem:(i,d,e)=>{const t=i,r=localStorage.getItem(t),n=r!==null&&r!=="[object Object]"?JSON.parse(r):{};n[e]=d,localStorage.setItem(t,JSON.stringify(n))},getItem:(i,d)=>{const e=i,t=localStorage.getItem(e);return(t!==null&&t!=="[object Object]"?JSON.parse(t):{})[d]}},ImgSrcConvert=i=>i!=null&&i.startsWith("http")?i:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+i,compareVersion=i=>{const d=getVersion(),e=i.split("."),t=d.split("."),r=Math.max(e.length,t.length);for(;e.lengths)return 1;if(a{i=`${i}${d?","+d:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_9___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_21__.Bn)).substring(0,16)),t=crypto_js__WEBPACK_IMPORTED_MODULE_9___default().AES.encrypt(i||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_9___default().mode.CBC});return window.btoa(t.toString())},getVersion=()=>{const d=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return d&&d[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(i,d){let e=i.length,t,r;d=d||1;let n=function(){var a=Math.sin(d++)*1e3;return a-Math.floor(a)};for(;e!==0;)r=Math.floor(n()*e),e-=1,t=i[e],i[e]=i[r],i[r]=t;return i}function pointerEvents(i){const d=document.getElementsByTagName("iframe");for(let t=0;tnew Promise((d,e)=>{var t=new XMLHttpRequest;t.withCredentials=!0,t.onload=function(){var r=new FileReader;r.onloadend=function(){d(r.result)},r.readAsDataURL(t.response)},t.open("GET",i),t.responseType="blob",t.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(i){var d;(d=document.querySelector(i))==null||d.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(i){var d,e,t,r,n;const a=(d=i.fileList)==null?void 0:d.map(s=>{var u,c;return __spreadProps(__spreadValues({},s),{status:typeof(s==null?void 0:s.response)=="string"||((u=s==null?void 0:s.response)==null?void 0:u.status)===-1?"error":s.status,response:typeof(s==null?void 0:s.response)=="string"?s==null?void 0:s.response:s!=null&&s.response&&(s==null?void 0:s.response.status)===-1?(c=s==null?void 0:s.response)==null?void 0:c.message:s==null?void 0:s.response})});return((t=(e=i.file)==null?void 0:e.response)==null?void 0:t.status)===-1&&(antd__WEBPACK_IMPORTED_MODULE_16__.ZP.destroy(),antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning((n=(r=i.file)==null?void 0:r.response)==null?void 0:n.message)),a}function cutFileName(i="",d){if(!i)return"";const e=i.lastIndexOf(".");let t=[i,""];if(e!==-1&&e!==i.length-1){const r=i.substring(0,e),n=i.substring(e+1);t=[r,n]}return t[0].length>d?t[0].slice(0,d)+"..."+t[1]:i}function cutName(i="",d,e="--"){return i?(i==null?void 0:i.length)>=d?(i==null?void 0:i.slice(0,d))+"...":i:e}function timeContrast(i){return i?moment__WEBPACK_IMPORTED_MODULE_10___default()().isBefore(moment__WEBPACK_IMPORTED_MODULE_10___default()(i)):!0}function showTotal(i){return react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"font14 c-grey-333"},"\u5171",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-light-primary"},"\xA0",i,"\xA0"),"\u6761\u6570\u636E")}const formatRandomPaperData=i=>{const d={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!i)return;const{exam:e,single_questions:t,multiple_questions:r,judgement_questions:n,program_questions:a,completion_questions:s,subjective_questions:u,practical_questions:c,combination_questions:o,bprogram_questions:f}=i||{},_=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},t),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},r),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},s),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},n),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},u),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},a),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},f),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},c),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},o)],p=[];let x=0,g=0;const P=_.filter(O=>O.questions_count>0).map((O,S)=>{var I;return(I=O.questions)==null||I.forEach(E=>{p.push(E.id),x=x+E.score,g=g+1}),__spreadValues(__spreadValues({},O),{number:d[S+1]})});return{all_questions_count:g,all_score:x,questionList:P,ids:p,exam:e}},formatRandomPaperDatas=i=>{var d;const e={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03"};if(!i)return;const{exam:t,single_questions:r,multiple_questions:n,judgement_questions:a,program_questions:s,completion_questions:u,subjective_questions:c,practical_questions:o,combination_questions:f,bprogram_questions:_}=i||{},p=[__spreadValues({type:"SINGLE",name:"\u5355\u9009\u9898"},r),__spreadValues({type:"MULTIPLE",name:"\u591A\u9009\u9898"},n),__spreadValues({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},u),__spreadValues({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},a),__spreadValues({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},c),__spreadValues({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},s),__spreadValues({type:"BPROGRAM",name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"},_),__spreadValues({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},o),__spreadValues({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},f)];let x=[];(d=t==null?void 0:t.question_type_position)==null||d.map((I,E)=>{p==null||p.map((A,R)=>{I.type===A.type&&x.push(A)})});const g=[];let P=0,O=0;const S=x.filter(I=>I.questions_count>0).map((I,E)=>{var A;return(A=I.questions)==null||A.forEach(R=>{g.push(R.id),P=P+R.score,O=O+1}),__spreadValues(__spreadValues({},I),{number:e[E+1]})});return{all_questions_count:O,all_score:P,questionList:S,ids:g,exam:t}},isWechatBrowser=()=>navigator.userAgent.toLowerCase().match(/MicroMessenger/i)=="micromessenger",toWechatLogin=()=>{localStorage.setItem("addinfo","1"),localStorage.setItem("classromeurl",location.href),isWechatBrowser()?window.location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx6b119e2d829c13fa&redirect_uri=https%3A%2F%2Fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect":window.location.href="/wxlogin.html"},isMobileDevice=()=>typeof window.orientation!="undefined"||navigator.userAgent.indexOf("Mobi")!==-1,sendAppStatus=(i,d)=>{var e;try{if(d){if(i.send(JSON.stringify({type:"toggleLockExit",data:!0})),d!=null&&d.forbid_screen&&i.send(JSON.stringify({type:"open-disabled-switchscreen"})),d!=null&&d.use_white_list&&i.send(JSON.stringify({type:"open-only-allow-runapp",data:d==null?void 0:d.white_list})),d!=null&&d.net_limit){if(d!=null&&d.is_unlimit_user){i.send(JSON.stringify({type:"network-open"}));return}i.send(JSON.stringify({type:"network-close",data:(e=d==null?void 0:d.net_limit_list)==null?void 0:e.split(` -`)}))}}else i.send(JSON.stringify({type:"toggleLockExit",data:!1})),i.send(JSON.stringify({type:"close-disabled-switchscreen"})),i.send(JSON.stringify({type:"close-only-allow-runapp"})),i.send(JSON.stringify({type:"network-open"}))}catch(t){}},addJumping=()=>{const i=document.querySelector('a[title="\u589E\u52A0\u586B\u7A7A"]'),d=i==null?void 0:i.querySelector("span");d&&(d.classList.remove("jumping-icon"),d.offsetWidth,d.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=d==null?void 0:d.classList)==null||e.remove("jumping-icon")},2e3))},showClassroomsmodal=i=>i!=null&&i.forbid_student_visit?(antd__WEBPACK_IMPORTED_MODULE_17__.default.warning({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{fontWeight:600}},i==null?void 0:i.username,"\u8001\u5E08 "),"\u5DF2\u5173\u95ED\u8BE5\u8BFE\u5802\uFF0C\u5B66\u751F\u7528\u6237\u6682\u65F6\u65E0\u6CD5\u8BBF\u95EE ")}),!0):!1,getExamRestrictionInfo=i=>{const d=[];return i.is_locked&&d.push("\u8003\u8BD5\u89E3\u9501\u7801"),i.login_restrict&&d.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),i.screen_open&&d.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),i.ip_bind&&d.push("IP\u5730\u5740\u7ED1\u5B9A"),(i.ip_limit==="pub"||i.ip_limit==="inner")&&d.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),i.open_camera&&d.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),i.identity_verify&&d.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),i.open_phone_video_recording&&d.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),d.length>0?d.join("\u3001"):""},releaseRuleDataAdjust=i=>{const d=i.reduce((t,r)=>{const n=`${r.publish_time}_${r.end_time}_${r.is_admin}`;return t[n]?(t[n].group_name.push(r.group_name),t[n].group_id.push(r.group_id)):t[n]={publish_time:r.publish_time,end_time:r.end_time,is_admin:r.is_admin,group_name:[r.group_name],group_id:[r.group_id]},t},{});return Object.values(d).map(t=>__spreadProps(__spreadValues({},t),{group_name:t.group_name.flat(),group_id:t.group_id.flat()}))},releaseRuleDataSmartPlan=i=>{console.log(i);const d=i.reduce((t,r)=>{const n=`${r.start_at}_${r.end_at}_${r.lesson_mode}`;return t[n]?(t[n].group_name.push(r.group_name),t[n].group_id.push(r.group_id)):t[n]={start_at:r.start_at,end_at:r.end_at,is_admin:r.is_admin,group_name:[r.group_name],group_id:[r.group_id],lesson_mode:r.lesson_mode,status:r.status},t},{});return Object.values(d).map(t=>__spreadProps(__spreadValues({},t),{group_name:t.group_name.flat(),group_id:t.group_id.flat()}))},aiReviewConfigformatChecks=(i,d=!0)=>{if(!i||i.length===0)return!0;const e=new Set,t=new Set;let r=!0,n=!0,a=!0,s=!0,u=!0;const c=i==null?void 0:i.reduce((o,f)=>{e!=null&&e.has(f.name)&&(r=!1),f.name||(a=!1),e==null||e.add(f.name),t!=null&&t.has(f.content)&&(n=!1),f.content||(s=!1),f.weight||(u=!1),t==null||t.add(f.content);const _=parseFloat(f.weight);return o+_},0);return r?n?parseFloat(c.toFixed(2))!=100?(d&&antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning("\u6240\u6709\u8BC4\u5206\u70B9\u7684\u6743\u91CD\u4E4B\u548C\u5FC5\u987B\u4E3A100%"),!1):!(!a||!s||!u):(d&&antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning("\u8BC4\u5206\u6807\u51C6\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1):(d&&antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning("\u8BC4\u5206\u70B9\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1)},storageHomeworkId=i=>{localStorage.setItem("homework_common_id",i)},getStorageHomeworkId=()=>{var i=localStorage.getItem("homework_common_id");return i},locationPoint=()=>{var i;let d=(i=getJsonFromUrl())==null?void 0:i.position;return d=d==null?void 0:d.split(","),{keywords:(d==null?void 0:d[0])||"",classifyType:(d==null?void 0:d[1])||"All",stageId:(d==null?void 0:d[2])||"",expandId:(d==null?void 0:d[3])||"",itemId:(d==null?void 0:d[4])||"",serial:(d==null?void 0:d[5])||""}},checkVersion=i=>{if((0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.k5)())return i({type:"user/setActionTabs",payload:{key:"\u6682\u65E0\u6743\u9650"}}),!0},checkPathname=()=>{const i=window.location.pathname;return i==="/classrooms"||i==="/paths"||i==="/shixuns"||i.startsWith("/classrooms/")||i.startsWith("/paths/")||i.startsWith("/shixuns/")}},14749:function(i,d,e){"use strict";e.d(d,{t:function(){return t}});const t=n=>{var a=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return a.test(n)},r=n=>{var a=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return a.test(n)}},25053:function(i,d,e){"use strict";e.d(d,{Il:function(){return s},Ov:function(){return u},T$:function(){return o}});var t=e(38127),r=e(59301),n=e(35338),a=["element"],s=r.createContext({});function u(){return r.useContext(s)}function c(){var x=(0,n.TH)(),g=u(),P=g.clientRoutes,O=(0,n.fp)(P,x.pathname);return O||[]}function o(){var x,g=c().slice(-1),P=((x=g[0])===null||x===void 0?void 0:x.route)||{},O=P.element,S=(0,t.Z)(P,a);return S}function f(){var x=c(),g=u(),P=g.serverLoaderData,O=g.basename,S=React.useState(function(){var R={},T=!1;return x.forEach(function(D){var k=P[D.route.id];k&&(Object.assign(R,k),T=!0)}),T?R:void 0}),I=_slicedToArray(S,2),E=I[0],A=I[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(x.filter(function(R){return R.route.hasServerLoader}).map(function(R){return new Promise(function(T){fetchServerLoader({id:R.route.id,basename:O,cb:T})})})).then(function(R){if(R.length){var T={};R.forEach(function(D){Object.assign(T,D)}),A(T)}})},[]),{data:E}}function _(){var x=useRouteData(),g=u();return{data:g.clientLoaderData[x.route.id]}}function p(){var x=f(),g=_();return{data:_objectSpread(_objectSpread({},x.data),g.data)}}},91392:function(i){var d={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(r){var n=d[r];return n||r.split("_")[0]};i.exports=function(t,r,n){var a=r.prototype.locale;r.prototype.locale=function(s){return typeof s=="string"&&(s=e(s)),a.call(this,s)}}},15565:function(i,d,e){"use strict";var t=e(59301),r=e(41799),n=e(7939),a=e(61670);function s(c){return!!(c!=null&&c.then)}const u=c=>{const{type:o,children:f,prefixCls:_,buttonProps:p,close:x,autoFocus:g,emitEvent:P,isSilent:O,quitOnNullishReturnValue:S,actionFn:I}=c,E=t.useRef(!1),A=t.useRef(null),[R,T]=(0,r.Z)(!1),D=function(){x==null||x.apply(void 0,arguments)};t.useEffect(()=>{let j=null;return g&&(j=setTimeout(()=>{var V;(V=A.current)===null||V===void 0||V.focus({preventScroll:!0})})),()=>{j&&clearTimeout(j)}},[]);const k=j=>{s(j)&&(T(!0),j.then(function(){T(!1,!0),D.apply(void 0,arguments),E.current=!1},V=>{if(T(!1,!0),E.current=!1,!(O!=null&&O()))return Promise.reject(V)}))},B=j=>{if(E.current)return;if(E.current=!0,!I){D();return}let V;if(P){if(V=I(j),S&&!s(V)){E.current=!1,D(j);return}}else if(I.length)V=I(x),E.current=!1;else if(V=I(),!s(V)){D();return}k(V)};return t.createElement(n.ZP,Object.assign({},(0,a.nx)(o),{onClick:B,loading:R,prefixCls:_},p,{ref:A}),f)};d.Z=u},62487:function(i,d,e){"use strict";var t=e(59301),r=e(56553),n=e(70045);const a=s=>{const{space:u,form:c,children:o}=s;if(o==null)return null;let f=o;return c&&(f=t.createElement(r.Ux,{override:!0,status:!0},f)),u&&(f=t.createElement(n.BR,null,f)),f};d.Z=a},45915:function(i,d,e){"use strict";e.d(d,{i:function(){return s}});var t=e(59301),r=e(18929),n=e(60840),a=e(48755);function s(c){return o=>t.createElement(n.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},t.createElement(c,Object.assign({},o)))}const u=(c,o,f,_,p)=>s(g=>{const{prefixCls:P,style:O}=g,S=t.useRef(null),[I,E]=t.useState(0),[A,R]=t.useState(0),[T,D]=(0,r.Z)(!1,{value:g.open}),{getPrefixCls:k}=t.useContext(a.E_),B=k(_||"select",P);t.useEffect(()=>{if(D(!0),typeof ResizeObserver!="undefined"){const H=new ResizeObserver(F=>{const K=F[0].target;E(K.offsetHeight+8),R(K.offsetWidth)}),Y=setInterval(()=>{var F;const K=p?`.${p(B)}`:`.${B}-dropdown`,X=(F=S.current)===null||F===void 0?void 0:F.querySelector(K);X&&(clearInterval(Y),H.observe(X))},10);return()=>{clearInterval(Y),H.disconnect()}}},[]);let j=Object.assign(Object.assign({},g),{style:Object.assign(Object.assign({},O),{margin:0}),open:T,visible:T,getPopupContainer:()=>S.current});f&&(j=f(j)),o&&Object.assign(j,{[o]:{overflow:{adjustX:!1,adjustY:!1}}});const V={paddingBottom:I,position:"relative",minWidth:A};return t.createElement("div",{ref:S,style:V},t.createElement(c,Object.assign({},j)))});d.Z=u},78776:function(i,d,e){"use strict";e.d(d,{Z:function(){return o},w:function(){return a}});var t=e(59301),r=e(99267),n=e(26112);function a(f){if(f)return{closable:f.closable,closeIcon:f.closeIcon}}function s(f){const{closable:_,closeIcon:p}=f||{};return t.useMemo(()=>{if(!_&&(_===!1||p===!1||p===null))return!1;if(_===void 0&&p===void 0)return null;let x={closeIcon:typeof p!="boolean"&&p!==null?p:void 0};return _&&typeof _=="object"&&(x=Object.assign(Object.assign({},x),_)),x},[_,p])}function u(){const f={};for(var _=arguments.length,p=new Array(_),x=0;x<_;x++)p[x]=arguments[x];return p.forEach(g=>{g&&Object.keys(g).forEach(P=>{g[P]!==void 0&&(f[P]=g[P])})}),f}const c={};function o(f,_){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c;const x=s(f),g=s(_),P=typeof x!="boolean"?!!(x!=null&&x.disabled):!1,O=t.useMemo(()=>Object.assign({closeIcon:t.createElement(r.Z,null)},p),[p]),S=t.useMemo(()=>x===!1?!1:x?u(O,g,x):g===!1?!1:g?u(O,g):O.closable?O:!1,[x,g,O]);return t.useMemo(()=>{if(S===!1)return[!1,null,P];const{closeIconRender:I}=O,{closeIcon:E}=S;let A=E;if(A!=null){I&&(A=I(E));const R=(0,n.Z)(S,!0);Object.keys(R).length&&(A=t.isValidElement(A)?t.cloneElement(A,R):t.createElement("span",Object.assign({},R),A))}return[!0,A,P]},[S,O])}},40192:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(59301);function r(){const[,n]=t.useReducer(a=>a+1,0);return n}},75030:function(i,d,e){"use strict";e.d(d,{Cn:function(){return p},u6:function(){return u}});var t=e(59301),r=e(57700),n=e(55743);const a=100,u=a*10,c=u+a,o={Modal:a,Drawer:a,Popover:a,Popconfirm:a,Tooltip:a,Tour:a,FloatButton:a},f={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function _(x){return x in o}const p=(x,g)=>{const[,P]=(0,r.ZP)(),O=t.useContext(n.Z),S=_(x);let I;if(g!==void 0)I=[g,g];else{let E=O!=null?O:0;S?E+=(O?0:P.zIndexPopupBase)+o[x]:E+=f[x],I=[O===void 0?g:E,E]}return I}},86641:function(i,d,e){"use strict";e.d(d,{m:function(){return o}});var t=e(48755);const r=()=>({height:0,opacity:0}),n=f=>{const{scrollHeight:_}=f;return{height:_,opacity:1}},a=f=>({height:f?f.offsetHeight:0}),s=(f,_)=>(_==null?void 0:_.deadline)===!0||_.propertyName==="height",u=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.Rf}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:n,onEnterActive:n,onLeaveStart:a,onLeaveActive:r,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}},c=null,o=(f,_,p)=>p!==void 0?p:`${f}-${_}`;d.Z=u},22703:function(i,d,e){"use strict";e.d(d,{M2:function(){return r},Tm:function(){return a},wm:function(){return n}});var t=e(59301);function r(s){return s&&t.isValidElement(s)&&s.type===t.Fragment}const n=(s,u,c)=>t.isValidElement(s)?t.cloneElement(s,typeof c=="function"?c(s.props||{}):c):u;function a(s,u){return n(s,s,u)}},47999:function(i,d,e){"use strict";e.d(d,{c4:function(){return n},m9:function(){return u}});var t=e(59301),r=e(57700);const n=["xxl","xl","lg","md","sm","xs"],a=o=>({xs:`(max-width: ${o.screenXSMax}px)`,sm:`(min-width: ${o.screenSM}px)`,md:`(min-width: ${o.screenMD}px)`,lg:`(min-width: ${o.screenLG}px)`,xl:`(min-width: ${o.screenXL}px)`,xxl:`(min-width: ${o.screenXXL}px)`}),s=o=>{const f=o,_=[].concat(n).reverse();return _.forEach((p,x)=>{const g=p.toUpperCase(),P=`screen${g}Min`,O=`screen${g}`;if(!(f[P]<=f[O]))throw new Error(`${P}<=${O} fails : !(${f[P]}<=${f[O]})`);if(x<_.length-1){const S=`screen${g}Max`;if(!(f[O]<=f[S]))throw new Error(`${O}<=${S} fails : !(${f[O]}<=${f[S]})`);const E=`screen${_[x+1].toUpperCase()}Min`;if(!(f[S]<=f[E]))throw new Error(`${S}<=${E} fails : !(${f[S]}<=${f[E]})`)}}),o},u=(o,f)=>{if(f){for(const _ of n)if(o[_]&&(f==null?void 0:f[_])!==void 0)return f[_]}},c=()=>{const[,o]=(0,r.ZP)(),f=a(s(o));return t.useMemo(()=>{const _=new Map;let p=-1,x={};return{responsiveMap:f,matchHandlers:{},dispatch(g){return x=g,_.forEach(P=>P(x)),_.size>=1},subscribe(g){return _.size||this.register(),p+=1,_.set(p,g),g(x),p},unsubscribe(g){_.delete(g),_.size||this.unregister()},register(){Object.keys(f).forEach(g=>{const P=f[g],O=I=>{let{matches:E}=I;this.dispatch(Object.assign(Object.assign({},x),{[g]:E}))},S=window.matchMedia(P);S.addListener(O),this.matchHandlers[P]={mql:S,listener:O},O(S)})},unregister(){Object.keys(f).forEach(g=>{const P=f[g],O=this.matchHandlers[P];O==null||O.mql.removeListener(O==null?void 0:O.listener)}),_.clear()}}},[o])};d.ZP=c},32383:function(i,d,e){"use strict";e.d(d,{G8:function(){return c},ln:function(){return o}});var t=e(59301),r=e(48736);function n(){}let a=null;function s(){a=null,rcResetWarned()}let u=null;const c=t.createContext({}),o=()=>{const _=()=>{};return _.deprecated=n,_};var f=null},12919:function(i,d,e){"use strict";e.d(d,{Z:function(){return V}});var t=e(59301),r=e(92310),n=e.n(r),a=e(29194),s=e(8654),u=e(48755),c=e(22703),o=e(16931);const f=H=>{const{componentCls:Y,colorPrimary:F}=H;return{[Y]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${F})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${H.motionEaseOutCirc}`,`opacity 2s ${H.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${H.motionDurationSlow} ${H.motionEaseInOut}`,`opacity ${H.motionDurationSlow} ${H.motionEaseInOut}`].join(",")}}}}};var _=(0,o.A1)("Wave",H=>[f(H)]),p=e(6089),x=e(16089),g=e(57700),P=e(63872),O=e(77900),S=e(11774);function I(H){return H&&H!=="#fff"&&H!=="#ffffff"&&H!=="rgb(255, 255, 255)"&&H!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(H)&&H!=="transparent"}function E(H){const{borderTopColor:Y,borderColor:F,backgroundColor:K}=getComputedStyle(H);return I(Y)?Y:I(F)?F:I(K)?K:null}function A(H){return Number.isNaN(H)?0:H}const R=H=>{const{className:Y,target:F,component:K,registerUnmount:X}=H,Q=t.useRef(null),W=t.useRef(null);t.useEffect(()=>{W.current=X()},[]);const[N,J]=t.useState(null),[M,Z]=t.useState([]),[G,ee]=t.useState(0),[ie,se]=t.useState(0),[le,de]=t.useState(0),[He,ze]=t.useState(0),[st,vt]=t.useState(!1),Je={left:G,top:ie,width:le,height:He,borderRadius:M.map(Ce=>`${Ce}px`).join(" ")};N&&(Je["--wave-color"]=N);function Ke(){const Ce=getComputedStyle(F);J(E(F));const me=Ce.position==="static",{borderLeftWidth:at,borderTopWidth:ct}=Ce;ee(me?F.offsetLeft:A(-parseFloat(at))),se(me?F.offsetTop:A(-parseFloat(ct))),de(F.offsetWidth),ze(F.offsetHeight);const{borderTopLeftRadius:St,borderTopRightRadius:bt,borderBottomLeftRadius:Ie,borderBottomRightRadius:$e}=Ce;Z([St,bt,$e,Ie].map(ft=>A(parseFloat(ft))))}if(t.useEffect(()=>{if(F){const Ce=(0,x.Z)(()=>{Ke(),vt(!0)});let me;return typeof ResizeObserver!="undefined"&&(me=new ResizeObserver(Ke),me.observe(F)),()=>{x.Z.cancel(Ce),me==null||me.disconnect()}}},[]),!st)return null;const Re=(K==="Checkbox"||K==="Radio")&&(F==null?void 0:F.classList.contains(P.A));return t.createElement(O.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Ce,me)=>{var at,ct;if(me.deadline||me.propertyName==="opacity"){const St=(at=Q.current)===null||at===void 0?void 0:at.parentElement;(ct=W.current)===null||ct===void 0||ct.call(W).then(()=>{St==null||St.remove()})}return!1}},(Ce,me)=>{let{className:at}=Ce;return t.createElement("div",{ref:(0,s.sQ)(Q,me),className:n()(Y,at,{"wave-quick":Re}),style:Je})})};var D=(H,Y)=>{var F;const{component:K}=Y;if(K==="Checkbox"&&!(!((F=H.querySelector("input"))===null||F===void 0)&&F.checked))return;const X=document.createElement("div");X.style.position="absolute",X.style.left="0px",X.style.top="0px",H==null||H.insertBefore(X,H==null?void 0:H.firstChild);const Q=(0,S.x)();let W=null;function N(){return W}W=Q(t.createElement(R,Object.assign({},Y,{target:H,registerUnmount:N})),X)},B=(H,Y,F)=>{const{wave:K}=t.useContext(u.E_),[,X,Q]=(0,g.ZP)(),W=(0,p.Z)(M=>{const Z=H.current;if(K!=null&&K.disabled||!Z)return;const G=Z.querySelector(`.${P.A}`)||Z,{showEffect:ee}=K||{};(ee||D)(G,{className:Y,token:X,component:F,event:M,hashId:Q})}),N=t.useRef(null);return M=>{x.Z.cancel(N.current),N.current=(0,x.Z)(()=>{W(M)})}},V=H=>{const{children:Y,disabled:F,component:K}=H,{getPrefixCls:X}=(0,t.useContext)(u.E_),Q=(0,t.useRef)(null),W=X("wave"),[,N]=_(W),J=B(Q,n()(W,N),K);if(t.useEffect(()=>{const Z=Q.current;if(!Z||Z.nodeType!==1||F)return;const G=ee=>{!(0,a.Z)(ee.target)||!Z.getAttribute||Z.getAttribute("disabled")||Z.disabled||Z.className.includes("disabled")||Z.className.includes("-leave")||J(ee)};return Z.addEventListener("click",G,!0),()=>{Z.removeEventListener("click",G,!0)}},[F]),!t.isValidElement(Y))return Y!=null?Y:null;const M=(0,s.Yr)(Y)?(0,s.sQ)((0,s.C4)(Y),Q):Q;return(0,c.Tm)(Y,{ref:M})}},63872:function(i,d,e){"use strict";e.d(d,{A:function(){return r}});var t=e(48755);const r=`${t.Rf}-wave-target`},55743:function(i,d,e){"use strict";var t=e(59301);const r=t.createContext(void 0);d.Z=r},17004:function(i,d,e){"use strict";e.d(d,{J:function(){return r}});var t=e(59301);const r=t.createContext({}),n=t.createContext({message:{},notification:{},modal:{}});var a=null},61670:function(i,d,e){"use strict";e.d(d,{Dn:function(){return f},aG:function(){return u},hU:function(){return p},nx:function(){return c}});var t=e(77654),r=e(59301),n=e(22703),a=e(34998);const s=/^[\u4E00-\u9FA5]{2}$/,u=s.test.bind(s);function c(I){return I==="danger"?{danger:!0}:{type:I}}function o(I){return typeof I=="string"}function f(I){return I==="text"||I==="link"}function _(I,E){if(I==null)return;const A=E?" ":"";return typeof I!="string"&&typeof I!="number"&&o(I.type)&&u(I.props.children)?(0,n.Tm)(I,{children:I.props.children.split("").join(A)}):o(I)?u(I)?r.createElement("span",null,I.split("").join(A)):r.createElement("span",null,I):(0,n.M2)(I)?r.createElement("span",null,I):I}function p(I,E){let A=!1;const R=[];return r.Children.forEach(I,T=>{const D=typeof T,k=D==="string"||D==="number";if(A&&k){const B=R.length-1,j=R[B];R[B]=`${j}${T}`}else R.push(T);A=k}),r.Children.map(R,T=>_(T,E))}const x=null,g=null,P=null,O=null,S=["default","primary","danger"].concat((0,t.Z)(a.i))},7939:function(i,d,e){"use strict";e.d(d,{ZP:function(){return At}});var t=e(59301),r=e(92310),n=e.n(r),a=e(2738),s=e(8654),u=e(12919),c=e(48755),o=e(2171),f=e(31756),_=e(70045),p=e(57700),x=function(ce,_t){var qt={};for(var Ht in ce)Object.prototype.hasOwnProperty.call(ce,Ht)&&_t.indexOf(Ht)<0&&(qt[Ht]=ce[Ht]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Ht=Object.getOwnPropertySymbols(ce);Ut{const{getPrefixCls:_t,direction:qt}=t.useContext(c.E_),{prefixCls:Ht,size:Ut,className:cr}=ce,Ze=x(ce,["prefixCls","size","className"]),dt=_t("btn-group",Ht),[,,Mt]=(0,p.ZP)(),ar=t.useMemo(()=>{switch(Ut){case"large":return"lg";case"small":return"sm";default:return""}},[Ut]),$t=n()(dt,{[`${dt}-${ar}`]:ar,[`${dt}-rtl`]:qt==="rtl"},cr,Mt);return t.createElement(g.Provider,{value:Ut},t.createElement("div",Object.assign({},Ze,{className:$t})))},S=e(61670),I=e(58617),E=e(77900),R=(0,t.forwardRef)((ce,_t)=>{const{className:qt,style:Ht,children:Ut,prefixCls:cr}=ce,Ze=n()(`${cr}-icon`,qt);return t.createElement("span",{ref:_t,className:Ze,style:Ht},Ut)});const T=(0,t.forwardRef)((ce,_t)=>{const{prefixCls:qt,className:Ht,style:Ut,iconClassName:cr}=ce,Ze=n()(`${qt}-loading-icon`,Ht);return t.createElement(R,{prefixCls:qt,className:Ze,style:Ut,ref:_t},t.createElement(I.Z,{className:cr}))}),D=()=>({width:0,opacity:0,transform:"scale(0)"}),k=ce=>({width:ce.scrollWidth,opacity:1,transform:"scale(1)"});var j=ce=>{const{prefixCls:_t,loading:qt,existIcon:Ht,className:Ut,style:cr,mount:Ze}=ce,dt=!!qt;return Ht?t.createElement(T,{prefixCls:_t,className:Ut,style:cr}):t.createElement(E.default,{visible:dt,motionName:`${_t}-loading-icon-motion`,motionAppear:!Ze,motionEnter:!Ze,motionLeave:!Ze,removeOnLeave:!0,onAppearStart:D,onAppearActive:k,onEnterStart:D,onEnterActive:k,onLeaveStart:k,onLeaveActive:D},(Mt,ar)=>{let{className:$t,style:pr}=Mt;const Ir=Object.assign(Object.assign({},cr),pr);return t.createElement(T,{prefixCls:_t,className:n()(Ut,$t),style:Ir,ref:ar})})},V=e(36237),H=e(63356),Y=e(34998),F=e(51636),K=e(16931);const X=(ce,_t)=>({[`> span, > ${ce}`]:{"&:not(:last-child)":{[`&, & > ${ce}`]:{"&:not(:disabled)":{borderInlineEndColor:_t}}},"&:not(:first-child)":{[`&, & > ${ce}`]:{"&:not(:disabled)":{borderInlineStartColor:_t}}}}});var W=ce=>{const{componentCls:_t,fontSize:qt,lineWidth:Ht,groupBorderColor:Ut,colorErrorHover:cr}=ce;return{[`${_t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${_t}`]:{"&:not(:last-child)":{[`&, & > ${_t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:ce.calc(Ht).mul(-1).equal(),[`&, & > ${_t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[_t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${_t}-icon-only`]:{fontSize:qt}},X(`${_t}-primary`,Ut),X(`${_t}-danger`,cr)]}},N=e(6074),J=e(88911),M=e(45156),Z=e(28620);const G=ce=>{const{paddingInline:_t,onlyIconSize:qt}=ce;return(0,F.mergeToken)(ce,{buttonPaddingHorizontal:_t,buttonPaddingVertical:0,buttonIconOnlyFontSize:qt})},ee=ce=>{var _t,qt,Ht,Ut,cr,Ze;const dt=(_t=ce.contentFontSize)!==null&&_t!==void 0?_t:ce.fontSize,Mt=(qt=ce.contentFontSizeSM)!==null&&qt!==void 0?qt:ce.fontSize,ar=(Ht=ce.contentFontSizeLG)!==null&&Ht!==void 0?Ht:ce.fontSizeLG,$t=(Ut=ce.contentLineHeight)!==null&&Ut!==void 0?Ut:(0,M.D)(dt),pr=(cr=ce.contentLineHeightSM)!==null&&cr!==void 0?cr:(0,M.D)(Mt),Ir=(Ze=ce.contentLineHeightLG)!==null&&Ze!==void 0?Ze:(0,M.D)(ar),Mr=(0,J.U)(new N.y9(ce.colorBgSolid),"#fff")?"#000":"#fff",er=Y.i.reduce((Nt,Kt)=>Object.assign(Object.assign({},Nt),{[`${Kt}ShadowColor`]:`0 ${(0,V.unit)(ce.controlOutlineWidth)} 0 ${(0,Z.Z)(ce[`${Kt}1`],ce.colorBgContainer)}`}),{});return Object.assign(Object.assign({},er),{fontWeight:400,defaultShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.controlTmpOutline}`,primaryShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.controlOutline}`,dangerShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.colorErrorOutline}`,primaryColor:ce.colorTextLightSolid,dangerColor:ce.colorTextLightSolid,borderColorDisabled:ce.colorBorder,defaultGhostColor:ce.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:ce.colorBgContainer,paddingInline:ce.paddingContentHorizontal-ce.lineWidth,paddingInlineLG:ce.paddingContentHorizontal-ce.lineWidth,paddingInlineSM:8-ce.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:ce.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:ce.colorText,textTextHoverColor:ce.colorText,textTextActiveColor:ce.colorText,textHoverBg:ce.colorFillTertiary,defaultColor:ce.colorText,defaultBg:ce.colorBgContainer,defaultBorderColor:ce.colorBorder,defaultBorderColorDisabled:ce.colorBorder,defaultHoverBg:ce.colorBgContainer,defaultHoverColor:ce.colorPrimaryHover,defaultHoverBorderColor:ce.colorPrimaryHover,defaultActiveBg:ce.colorBgContainer,defaultActiveColor:ce.colorPrimaryActive,defaultActiveBorderColor:ce.colorPrimaryActive,solidTextColor:Mr,contentFontSize:dt,contentFontSizeSM:Mt,contentFontSizeLG:ar,contentLineHeight:$t,contentLineHeightSM:pr,contentLineHeightLG:Ir,paddingBlock:Math.max((ce.controlHeight-dt*$t)/2-ce.lineWidth,0),paddingBlockSM:Math.max((ce.controlHeightSM-Mt*pr)/2-ce.lineWidth,0),paddingBlockLG:Math.max((ce.controlHeightLG-ar*Ir)/2-ce.lineWidth,0)})},ie=ce=>{const{componentCls:_t,iconCls:qt,fontWeight:Ht,opacityLoading:Ut,motionDurationSlow:cr,motionEaseInOut:Ze,marginXS:dt,calc:Mt}=ce;return{[_t]:{outline:"none",position:"relative",display:"inline-flex",gap:ce.marginXS,alignItems:"center",justifyContent:"center",fontWeight:Ht,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,V.unit)(ce.lineWidth)} ${ce.lineType} transparent`,cursor:"pointer",transition:`all ${ce.motionDurationMid} ${ce.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:ce.colorText,"&:disabled > *":{pointerEvents:"none"},[`${_t}-icon > svg`]:(0,H.Ro)(),"> a":{color:"currentColor"},"&:not(:disabled)":(0,H.Qy)(ce),[`&${_t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${_t}-two-chinese-chars > *:not(${qt})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${_t}-icon-only`]:{paddingInline:0,[`&${_t}-compact-item`]:{flex:"none"},[`&${_t}-round`]:{width:"auto"}},[`&${_t}-loading`]:{opacity:Ut,cursor:"default"},[`${_t}-loading-icon`]:{transition:["width","opacity","margin"].map(ar=>`${ar} ${cr} ${Ze}`).join(",")},[`&:not(${_t}-icon-end)`]:{[`${_t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:Mt(dt).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:Mt(dt).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${_t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:Mt(dt).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:Mt(dt).mul(-1).equal()}}}}}},se=(ce,_t,qt)=>({[`&:not(:disabled):not(${ce}-disabled)`]:{"&:hover":_t,"&:active":qt}}),le=ce=>({minWidth:ce.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),de=ce=>({borderRadius:ce.controlHeight,paddingInlineStart:ce.calc(ce.controlHeight).div(2).equal(),paddingInlineEnd:ce.calc(ce.controlHeight).div(2).equal()}),He=ce=>({cursor:"not-allowed",borderColor:ce.borderColorDisabled,color:ce.colorTextDisabled,background:ce.colorBgContainerDisabled,boxShadow:"none"}),ze=(ce,_t,qt,Ht,Ut,cr,Ze,dt)=>({[`&${ce}-background-ghost`]:Object.assign(Object.assign({color:qt||void 0,background:_t,borderColor:Ht||void 0,boxShadow:"none"},se(ce,Object.assign({background:_t},Ze),Object.assign({background:_t},dt))),{"&:disabled":{cursor:"not-allowed",color:Ut||void 0,borderColor:cr||void 0}})}),st=ce=>({[`&:disabled, &${ce.componentCls}-disabled`]:Object.assign({},He(ce))}),vt=ce=>({[`&:disabled, &${ce.componentCls}-disabled`]:{cursor:"not-allowed",color:ce.colorTextDisabled}}),Je=(ce,_t,qt,Ht)=>{const cr=Ht&&["link","text"].includes(Ht)?vt:st;return Object.assign(Object.assign({},cr(ce)),se(ce.componentCls,_t,qt))},Ke=(ce,_t,qt,Ht,Ut)=>({[`&${ce.componentCls}-variant-solid`]:Object.assign({color:_t,background:qt},Je(ce,Ht,Ut))}),Re=(ce,_t,qt,Ht,Ut)=>({[`&${ce.componentCls}-variant-outlined, &${ce.componentCls}-variant-dashed`]:Object.assign({borderColor:_t,background:qt},Je(ce,Ht,Ut))}),Ce=ce=>({[`&${ce.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),me=(ce,_t,qt,Ht)=>({[`&${ce.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:_t},Je(ce,qt,Ht))}),at=(ce,_t,qt,Ht,Ut)=>({[`&${ce.componentCls}-variant-${qt}`]:Object.assign({color:_t,boxShadow:"none"},Je(ce,Ht,Ut,qt))}),ct=ce=>{const{componentCls:_t}=ce;return Y.i.reduce((qt,Ht)=>{const Ut=ce[`${Ht}6`],cr=ce[`${Ht}1`],Ze=ce[`${Ht}5`],dt=ce[`${Ht}2`],Mt=ce[`${Ht}3`],ar=ce[`${Ht}7`];return Object.assign(Object.assign({},qt),{[`&${_t}-color-${Ht}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:Ut,boxShadow:ce[`${Ht}ShadowColor`]},Ke(ce,ce.colorTextLightSolid,Ut,{background:Ze},{background:ar})),Re(ce,Ut,ce.colorBgContainer,{color:Ze,borderColor:Ze,background:ce.colorBgContainer},{color:ar,borderColor:ar,background:ce.colorBgContainer})),Ce(ce)),me(ce,cr,{background:dt},{background:Mt})),at(ce,Ut,"link",{color:Ze},{color:ar})),at(ce,Ut,"text",{color:Ze,background:cr},{color:ar,background:Mt}))})},{})},St=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ce.defaultColor,boxShadow:ce.defaultShadow},Ke(ce,ce.solidTextColor,ce.colorBgSolid,{color:ce.solidTextColor,background:ce.colorBgSolidHover},{color:ce.solidTextColor,background:ce.colorBgSolidActive})),Ce(ce)),me(ce,ce.colorFillTertiary,{background:ce.colorFillSecondary},{background:ce.colorFill})),ze(ce.componentCls,ce.ghostBg,ce.defaultGhostColor,ce.defaultGhostBorderColor,ce.colorTextDisabled,ce.colorBorder)),at(ce,ce.textTextColor,"link",{color:ce.colorLinkHover,background:ce.linkHoverBg},{color:ce.colorLinkActive})),bt=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ce.colorPrimary,boxShadow:ce.primaryShadow},Re(ce,ce.colorPrimary,ce.colorBgContainer,{color:ce.colorPrimaryTextHover,borderColor:ce.colorPrimaryHover,background:ce.colorBgContainer},{color:ce.colorPrimaryTextActive,borderColor:ce.colorPrimaryActive,background:ce.colorBgContainer})),Ce(ce)),me(ce,ce.colorPrimaryBg,{background:ce.colorPrimaryBgHover},{background:ce.colorPrimaryBorder})),at(ce,ce.colorPrimaryText,"text",{color:ce.colorPrimaryTextHover,background:ce.colorPrimaryBg},{color:ce.colorPrimaryTextActive,background:ce.colorPrimaryBorder})),at(ce,ce.colorPrimaryText,"link",{color:ce.colorPrimaryTextHover,background:ce.linkHoverBg},{color:ce.colorPrimaryTextActive})),ze(ce.componentCls,ce.ghostBg,ce.colorPrimary,ce.colorPrimary,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorPrimaryHover,borderColor:ce.colorPrimaryHover},{color:ce.colorPrimaryActive,borderColor:ce.colorPrimaryActive})),Ie=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ce.colorError,boxShadow:ce.dangerShadow},Ke(ce,ce.dangerColor,ce.colorError,{background:ce.colorErrorHover},{background:ce.colorErrorActive})),Re(ce,ce.colorError,ce.colorBgContainer,{color:ce.colorErrorHover,borderColor:ce.colorErrorBorderHover},{color:ce.colorErrorActive,borderColor:ce.colorErrorActive})),Ce(ce)),me(ce,ce.colorErrorBg,{background:ce.colorErrorBgFilledHover},{background:ce.colorErrorBgActive})),at(ce,ce.colorError,"text",{color:ce.colorErrorHover,background:ce.colorErrorBg},{color:ce.colorErrorHover,background:ce.colorErrorBgActive})),at(ce,ce.colorError,"link",{color:ce.colorErrorHover},{color:ce.colorErrorActive})),ze(ce.componentCls,ce.ghostBg,ce.colorError,ce.colorError,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorErrorHover,borderColor:ce.colorErrorHover},{color:ce.colorErrorActive,borderColor:ce.colorErrorActive})),$e=ce=>Object.assign(Object.assign({},at(ce,ce.colorLink,"link",{color:ce.colorLinkHover},{color:ce.colorLinkActive})),ze(ce.componentCls,ce.ghostBg,ce.colorInfo,ce.colorInfo,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorInfoHover,borderColor:ce.colorInfoHover},{color:ce.colorInfoActive,borderColor:ce.colorInfoActive})),ft=ce=>{const{componentCls:_t}=ce;return Object.assign({[`${_t}-color-default`]:St(ce),[`${_t}-color-primary`]:bt(ce),[`${_t}-color-dangerous`]:Ie(ce),[`${_t}-color-link`]:$e(ce)},ct(ce))},Me=ce=>Object.assign(Object.assign(Object.assign(Object.assign({},Re(ce,ce.defaultBorderColor,ce.defaultBg,{color:ce.defaultHoverColor,borderColor:ce.defaultHoverBorderColor,background:ce.defaultHoverBg},{color:ce.defaultActiveColor,borderColor:ce.defaultActiveBorderColor,background:ce.defaultActiveBg})),at(ce,ce.textTextColor,"text",{color:ce.textTextHoverColor,background:ce.textHoverBg},{color:ce.textTextActiveColor,background:ce.colorBgTextActive})),Ke(ce,ce.primaryColor,ce.colorPrimary,{background:ce.colorPrimaryHover,color:ce.primaryColor},{background:ce.colorPrimaryActive,color:ce.primaryColor})),at(ce,ce.colorLink,"link",{color:ce.colorLinkHover,background:ce.linkHoverBg},{color:ce.colorLinkActive})),ye=function(ce){let _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:qt,controlHeight:Ht,fontSize:Ut,borderRadius:cr,buttonPaddingHorizontal:Ze,iconCls:dt,buttonPaddingVertical:Mt,buttonIconOnlyFontSize:ar}=ce;return[{[_t]:{fontSize:Ut,height:Ht,padding:`${(0,V.unit)(Mt)} ${(0,V.unit)(Ze)}`,borderRadius:cr,[`&${qt}-icon-only`]:{width:Ht,[dt]:{fontSize:ar}}}},{[`${qt}${qt}-circle${_t}`]:le(ce)},{[`${qt}${qt}-round${_t}`]:de(ce)}]},fe=ce=>{const _t=(0,F.mergeToken)(ce,{fontSize:ce.contentFontSize});return ye(_t,ce.componentCls)},Oe=ce=>{const _t=(0,F.mergeToken)(ce,{controlHeight:ce.controlHeightSM,fontSize:ce.contentFontSizeSM,padding:ce.paddingXS,buttonPaddingHorizontal:ce.paddingInlineSM,buttonPaddingVertical:0,borderRadius:ce.borderRadiusSM,buttonIconOnlyFontSize:ce.onlyIconSizeSM});return ye(_t,`${ce.componentCls}-sm`)},Ee=ce=>{const _t=(0,F.mergeToken)(ce,{controlHeight:ce.controlHeightLG,fontSize:ce.contentFontSizeLG,buttonPaddingHorizontal:ce.paddingInlineLG,buttonPaddingVertical:0,borderRadius:ce.borderRadiusLG,buttonIconOnlyFontSize:ce.onlyIconSizeLG});return ye(_t,`${ce.componentCls}-lg`)},et=ce=>{const{componentCls:_t}=ce;return{[_t]:{[`&${_t}-block`]:{width:"100%"}}}};var mt=(0,K.I$)("Button",ce=>{const _t=G(ce);return[ie(_t),fe(_t),Oe(_t),Ee(_t),et(_t),ft(_t),Me(_t),W(_t)]},ee,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),pe=e(56119);function ge(ce,_t){return{[`&-item:not(${_t}-last-item)`]:{marginBottom:ce.calc(ce.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function lt(ce,_t){return{[`&-item:not(${_t}-first-item):not(${_t}-last-item)`]:{borderRadius:0},[`&-item${_t}-first-item:not(${_t}-last-item)`]:{[`&, &${ce}-sm, &${ce}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${_t}-last-item:not(${_t}-first-item)`]:{[`&, &${ce}-sm, &${ce}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Qe(ce){const _t=`${ce.componentCls}-compact-vertical`;return{[_t]:Object.assign(Object.assign({},ge(ce,_t)),lt(ce.componentCls,_t))}}const Ve=ce=>{const{componentCls:_t,colorPrimaryHover:qt,lineWidth:Ht,calc:Ut}=ce,cr=Ut(Ht).mul(-1).equal(),Ze=dt=>{const Mt=`${_t}-compact${dt?"-vertical":""}-item${_t}-primary:not([disabled])`;return{[`${Mt} + ${Mt}::before`]:{position:"absolute",top:dt?cr:0,insetInlineStart:dt?0:cr,backgroundColor:qt,content:'""',width:dt?"100%":Ht,height:dt?Ht:"100%"}}};return Object.assign(Object.assign({},Ze()),Ze(!0))};var it=(0,K.bk)(["Button","compact"],ce=>{const _t=G(ce);return[(0,pe.c)(_t),Qe(_t),Ve(_t)]},ee),Dt=function(ce,_t){var qt={};for(var Ht in ce)Object.prototype.hasOwnProperty.call(ce,Ht)&&_t.indexOf(Ht)<0&&(qt[Ht]=ce[Ht]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Ht=Object.getOwnPropertySymbols(ce);Ut{var qt,Ht;const{loading:Ut=!1,prefixCls:cr,color:Ze,variant:dt,type:Mt,danger:ar=!1,shape:$t="default",size:pr,styles:Ir,disabled:Mr,className:er,rootClassName:Nt,children:Kt,icon:Qt,iconPosition:Cr="start",ghost:Er=!1,block:wt=!1,htmlType:qe="button",classNames:Ue,style:Le={},autoInsertSpace:rt,autoFocus:Tt}=ce,Lt=Dt(ce,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),gr=Mt||"default",[yr,Ur]=(0,t.useMemo)(()=>{if(Ze&&dt)return[Ze,dt];const Gr=Se[gr]||[];return ar?["danger",Gr[1]]:Gr},[Mt,Ze,dt,ar]),sr=yr==="danger"?"dangerous":yr,{getPrefixCls:_n,direction:on,autoInsertSpace:Fe,className:Ne,style:en,classNames:pn,styles:ha}=(0,c.dj)("button"),ma=(qt=rt!=null?rt:Fe)!==null&&qt!==void 0?qt:!0,On=_n("btn",cr),[za,ja,gn]=mt(On),Va=(0,t.useContext)(o.Z),va=Mr!=null?Mr:Va,_o=(0,t.useContext)(g),no=(0,t.useMemo)(()=>Yt(Ut),[Ut]),[Ja,Za]=(0,t.useState)(no.loading),[No,ya]=(0,t.useState)(!1),na=(0,t.useRef)(null),En=(0,s.x1)(_t,na),wa=t.Children.count(Kt)===1&&!Qt&&!(0,S.Dn)(Ur),Pe=(0,t.useRef)(!0);t.useEffect(()=>(Pe.current=!1,()=>{Pe.current=!0}),[]),(0,t.useEffect)(()=>{let Gr=null;no.delay>0?Gr=setTimeout(()=>{Gr=null,Za(!0)},no.delay):Za(no.loading);function ea(){Gr&&(clearTimeout(Gr),Gr=null)}return ea},[no]),(0,t.useEffect)(()=>{if(!na.current||!ma)return;const Gr=na.current.textContent||"";wa&&(0,S.aG)(Gr)?No||ya(!0):No&&ya(!1)}),(0,t.useEffect)(()=>{Tt&&na.current&&na.current.focus()},[]);const $n=t.useCallback(Gr=>{var ea;if(Ja||va){Gr.preventDefault();return}(ea=ce.onClick)===null||ea===void 0||ea.call(ce,("href"in ce,Gr))},[ce.onClick,Ja,va]),{compactSize:aa,compactItemClassnames:yo}=(0,_.ri)(On,on),ai={large:"lg",small:"sm",middle:void 0},Wa=(0,f.Z)(Gr=>{var ea,kr;return(kr=(ea=pr!=null?pr:aa)!==null&&ea!==void 0?ea:_o)!==null&&kr!==void 0?kr:Gr}),Ha=Wa&&(Ht=ai[Wa])!==null&&Ht!==void 0?Ht:"",De=Ja?"loading":Qt,xe=(0,a.Z)(Lt,["navigate"]),Xe=n()(On,ja,gn,{[`${On}-${$t}`]:$t!=="default"&&$t,[`${On}-${gr}`]:gr,[`${On}-dangerous`]:ar,[`${On}-color-${sr}`]:sr,[`${On}-variant-${Ur}`]:Ur,[`${On}-${Ha}`]:Ha,[`${On}-icon-only`]:!Kt&&Kt!==0&&!!De,[`${On}-background-ghost`]:Er&&!(0,S.Dn)(Ur),[`${On}-loading`]:Ja,[`${On}-two-chinese-chars`]:No&&ma&&!Ja,[`${On}-block`]:wt,[`${On}-rtl`]:on==="rtl",[`${On}-icon-end`]:Cr==="end"},yo,er,Nt,Ne),q=Object.assign(Object.assign({},en),Le),It=n()(Ue==null?void 0:Ue.icon,pn.icon),Jt=Object.assign(Object.assign({},(Ir==null?void 0:Ir.icon)||{}),ha.icon||{}),Pr=Qt&&!Ja?t.createElement(R,{prefixCls:On,className:It,style:Jt},Qt):Ut&&typeof Ut=="object"&&Ut.icon?t.createElement(R,{prefixCls:On,className:It,style:Jt},Ut.icon):t.createElement(j,{existIcon:!!Qt,prefixCls:On,loading:Ja,mount:Pe.current}),Rr=Kt||Kt===0?(0,S.hU)(Kt,wa&&ma):null;if(xe.href!==void 0)return za(t.createElement("a",Object.assign({},xe,{className:n()(Xe,{[`${On}-disabled`]:va}),href:va?void 0:xe.href,style:q,onClick:$n,ref:En,tabIndex:va?-1:0}),Pr,Rr));let Sr=t.createElement("button",Object.assign({},Lt,{type:qe,className:Xe,style:q,onClick:$n,disabled:va,ref:En}),Pr,Rr,yo&&t.createElement(it,{prefixCls:On}));return(0,S.Dn)(Ur)||(Sr=t.createElement(u.Z,{component:"Button",disabled:Ja},Sr)),za(Sr)});Be.Group=O,Be.__ANT_BUTTON=!0;var ht=Be,At=ht},5269:function(i,d,e){"use strict";var t=e(5472);d.Z=t.Z},8848:function(i,d,e){"use strict";e.d(d,{default:function(){return H}});var t=e(59301),r=e(38819),n=e(92310),a=e.n(n),s=e(98535),u=e(11592),c=e(2738),o=e(86641),f=e(22703),_=e(48755),p=e(31756),g=t.forwardRef((Y,F)=>{const{getPrefixCls:K}=t.useContext(_.E_),{prefixCls:X,className:Q,showArrow:W=!0}=Y,N=K("collapse",X),J=a()({[`${N}-no-arrow`]:!W},Q);return t.createElement(s.default.Panel,Object.assign({ref:F},Y,{prefixCls:N,className:J}))}),P=e(36237),O=e(63356),S=e(34961),I=e(16931),E=e(51636);const A=Y=>{const{componentCls:F,contentBg:K,padding:X,headerBg:Q,headerPadding:W,collapseHeaderPaddingSM:N,collapseHeaderPaddingLG:J,collapsePanelBorderRadius:M,lineWidth:Z,lineType:G,colorBorder:ee,colorText:ie,colorTextHeading:se,colorTextDisabled:le,fontSizeLG:de,lineHeight:He,lineHeightLG:ze,marginSM:st,paddingSM:vt,paddingLG:Je,paddingXS:Ke,motionDurationSlow:Re,fontSizeIcon:Ce,contentPadding:me,fontHeight:at,fontHeightLG:ct}=Y,St=`${(0,P.unit)(Z)} ${G} ${ee}`;return{[F]:Object.assign(Object.assign({},(0,O.Wf)(Y)),{backgroundColor:Q,border:St,borderRadius:M,"&-rtl":{direction:"rtl"},[`& > ${F}-item`]:{borderBottom:St,"&:first-child":{[` +`)}))}}else i.send(JSON.stringify({type:"toggleLockExit",data:!1})),i.send(JSON.stringify({type:"close-disabled-switchscreen"})),i.send(JSON.stringify({type:"close-only-allow-runapp"})),i.send(JSON.stringify({type:"network-open"}))}catch(t){}},addJumping=()=>{const i=document.querySelector('a[title="\u589E\u52A0\u586B\u7A7A"]'),d=i==null?void 0:i.querySelector("span");d&&(d.classList.remove("jumping-icon"),d.offsetWidth,d.classList.add("jumping-icon"),setTimeout(()=>{var e;(e=d==null?void 0:d.classList)==null||e.remove("jumping-icon")},2e3))},showClassroomsmodal=i=>i!=null&&i.forbid_student_visit?(antd__WEBPACK_IMPORTED_MODULE_17__.default.warning({title:"\u63D0\u793A",icon:null,centered:!0,okText:"\u6211\u77E5\u9053\u4E86",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{style:{fontWeight:600}},i==null?void 0:i.username,"\u8001\u5E08 "),"\u5DF2\u5173\u95ED\u8BE5\u8BFE\u5802\uFF0C\u5B66\u751F\u7528\u6237\u6682\u65F6\u65E0\u6CD5\u8BBF\u95EE ")}),!0):!1,getExamRestrictionInfo=i=>{const d=[];return i.is_locked&&d.push("\u8003\u8BD5\u89E3\u9501\u7801"),i.login_restrict&&d.push("\u8003\u8BD5\u767B\u5F55\u9650\u5236"),i.screen_open&&d.push("\u5207\u5C4F\u540E\u5F3A\u5236\u4EA4\u5377"),i.ip_bind&&d.push("IP\u5730\u5740\u7ED1\u5B9A"),(i.ip_limit==="pub"||i.ip_limit==="inner")&&d.push("\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP"),i.open_camera&&d.push("\u8003\u8BD5\u4E2D\u542F\u7528\u62CD\u7167\u529F\u80FD\u8FDB\u884C\u76D1\u8003\u548C\u884C\u4E3A\u5206\u6790"),i.identity_verify&&d.push("\u8003\u8BD5\u524D\u4EBA\u8138\u8EAB\u4EFD\u6838\u9A8C"),i.open_phone_video_recording&&d.push("\u8003\u8BD5\u4E2D\u5F00\u542F\u624B\u673A\u89C6\u9891\u5F55\u5236"),d.length>0?d.join("\u3001"):""},releaseRuleDataAdjust=i=>{const d=i.reduce((t,r)=>{const n=`${r.publish_time}_${r.end_time}_${r.is_admin}`;return t[n]?(t[n].group_name.push(r.group_name),t[n].group_id.push(r.group_id)):t[n]={publish_time:r.publish_time,end_time:r.end_time,is_admin:r.is_admin,group_name:[r.group_name],group_id:[r.group_id]},t},{});return Object.values(d).map(t=>__spreadProps(__spreadValues({},t),{group_name:t.group_name.flat(),group_id:t.group_id.flat()}))},releaseRuleDataSmartPlan=i=>{console.log(i);const d=i.reduce((t,r)=>{const n=`${r.start_at}_${r.end_at}_${r.lesson_mode}`;return t[n]?(t[n].group_name.push(r.group_name),t[n].group_id.push(r.group_id)):t[n]={start_at:r.start_at,end_at:r.end_at,is_admin:r.is_admin,group_name:[r.group_name],group_id:[r.group_id],lesson_mode:r.lesson_mode,status:r.status},t},{});return Object.values(d).map(t=>__spreadProps(__spreadValues({},t),{group_name:t.group_name.flat(),group_id:t.group_id.flat()}))},aiReviewConfigformatChecks=(i,d=!0)=>{if(!i||i.length===0)return!0;const e=new Set,t=new Set;let r=!0,n=!0,a=!0,s=!0,u=!0;const c=i==null?void 0:i.reduce((o,f)=>{e!=null&&e.has(f.name)&&(r=!1),f.name||(a=!1),e==null||e.add(f.name),t!=null&&t.has(f.content)&&(n=!1),f.content||(s=!1),f.weight||(u=!1),t==null||t.add(f.content);const _=parseFloat(f.weight);return o+_},0);return r?n?parseFloat(c.toFixed(2))!=100?(d&&antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning("\u6240\u6709\u8BC4\u5206\u70B9\u7684\u6743\u91CD\u4E4B\u548C\u5FC5\u987B\u4E3A100%"),!1):!(!a||!s||!u):(d&&antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning("\u8BC4\u5206\u6807\u51C6\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1):(d&&antd__WEBPACK_IMPORTED_MODULE_16__.ZP.warning("\u8BC4\u5206\u70B9\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D!"),!1)},storageHomeworkId=i=>{localStorage.setItem("homework_common_id",i)},getStorageHomeworkId=()=>{var i=localStorage.getItem("homework_common_id");return i},locationPoint=()=>{var i;let d=(i=getJsonFromUrl())==null?void 0:i.position;return d=d==null?void 0:d.split(","),{keywords:(d==null?void 0:d[0])||"",classifyType:(d==null?void 0:d[1])||"All",stageId:(d==null?void 0:d[2])||"",expandId:(d==null?void 0:d[3])||"",itemId:(d==null?void 0:d[4])||"",serial:(d==null?void 0:d[5])||""}},checkVersion=i=>{if((0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.k5)())return i({type:"user/setActionTabs",payload:{key:"\u6682\u65E0\u6743\u9650"}}),!0},checkPathname=()=>{const i=window.location.pathname;return i==="/classrooms"||i==="/paths"||i==="/shixuns"||i.startsWith("/classrooms/")||i.startsWith("/paths/")||i.startsWith("/shixuns/")}},14749:function(i,d,e){"use strict";e.d(d,{t:function(){return t}});const t=n=>{var a=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return a.test(n)},r=n=>{var a=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return a.test(n)}},25053:function(i,d,e){"use strict";e.d(d,{Il:function(){return s},Ov:function(){return u},T$:function(){return o}});var t=e(38127),r=e(59301),n=e(35338),a=["element"],s=r.createContext({});function u(){return r.useContext(s)}function c(){var x=(0,n.TH)(),g=u(),P=g.clientRoutes,O=(0,n.fp)(P,x.pathname);return O||[]}function o(){var x,g=c().slice(-1),P=((x=g[0])===null||x===void 0?void 0:x.route)||{},O=P.element,S=(0,t.Z)(P,a);return S}function f(){var x=c(),g=u(),P=g.serverLoaderData,O=g.basename,S=React.useState(function(){var R={},T=!1;return x.forEach(function(D){var M=P[D.route.id];M&&(Object.assign(R,M),T=!0)}),T?R:void 0}),I=_slicedToArray(S,2),E=I[0],A=I[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(x.filter(function(R){return R.route.hasServerLoader}).map(function(R){return new Promise(function(T){fetchServerLoader({id:R.route.id,basename:O,cb:T})})})).then(function(R){if(R.length){var T={};R.forEach(function(D){Object.assign(T,D)}),A(T)}})},[]),{data:E}}function _(){var x=useRouteData(),g=u();return{data:g.clientLoaderData[x.route.id]}}function p(){var x=f(),g=_();return{data:_objectSpread(_objectSpread({},x.data),g.data)}}},91392:function(i){var d={en_GB:"en-gb",en_US:"en",zh_CN:"zh-cn",zh_TW:"zh-tw"},e=function(r){var n=d[r];return n||r.split("_")[0]};i.exports=function(t,r,n){var a=r.prototype.locale;r.prototype.locale=function(s){return typeof s=="string"&&(s=e(s)),a.call(this,s)}}},15565:function(i,d,e){"use strict";var t=e(59301),r=e(41799),n=e(7939),a=e(61670);function s(c){return!!(c!=null&&c.then)}const u=c=>{const{type:o,children:f,prefixCls:_,buttonProps:p,close:x,autoFocus:g,emitEvent:P,isSilent:O,quitOnNullishReturnValue:S,actionFn:I}=c,E=t.useRef(!1),A=t.useRef(null),[R,T]=(0,r.Z)(!1),D=function(){x==null||x.apply(void 0,arguments)};t.useEffect(()=>{let j=null;return g&&(j=setTimeout(()=>{var V;(V=A.current)===null||V===void 0||V.focus({preventScroll:!0})})),()=>{j&&clearTimeout(j)}},[]);const M=j=>{s(j)&&(T(!0),j.then(function(){T(!1,!0),D.apply(void 0,arguments),E.current=!1},V=>{if(T(!1,!0),E.current=!1,!(O!=null&&O()))return Promise.reject(V)}))},B=j=>{if(E.current)return;if(E.current=!0,!I){D();return}let V;if(P){if(V=I(j),S&&!s(V)){E.current=!1,D(j);return}}else if(I.length)V=I(x),E.current=!1;else if(V=I(),!s(V)){D();return}M(V)};return t.createElement(n.ZP,Object.assign({},(0,a.nx)(o),{onClick:B,loading:R,prefixCls:_},p,{ref:A}),f)};d.Z=u},62487:function(i,d,e){"use strict";var t=e(59301),r=e(56553),n=e(70045);const a=s=>{const{space:u,form:c,children:o}=s;if(o==null)return null;let f=o;return c&&(f=t.createElement(r.Ux,{override:!0,status:!0},f)),u&&(f=t.createElement(n.BR,null,f)),f};d.Z=a},45915:function(i,d,e){"use strict";e.d(d,{i:function(){return s}});var t=e(59301),r=e(18929),n=e(60840),a=e(48755);function s(c){return o=>t.createElement(n.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},t.createElement(c,Object.assign({},o)))}const u=(c,o,f,_,p)=>s(g=>{const{prefixCls:P,style:O}=g,S=t.useRef(null),[I,E]=t.useState(0),[A,R]=t.useState(0),[T,D]=(0,r.Z)(!1,{value:g.open}),{getPrefixCls:M}=t.useContext(a.E_),B=M(_||"select",P);t.useEffect(()=>{if(D(!0),typeof ResizeObserver!="undefined"){const H=new ResizeObserver(F=>{const K=F[0].target;E(K.offsetHeight+8),R(K.offsetWidth)}),Y=setInterval(()=>{var F;const K=p?`.${p(B)}`:`.${B}-dropdown`,X=(F=S.current)===null||F===void 0?void 0:F.querySelector(K);X&&(clearInterval(Y),H.observe(X))},10);return()=>{clearInterval(Y),H.disconnect()}}},[]);let j=Object.assign(Object.assign({},g),{style:Object.assign(Object.assign({},O),{margin:0}),open:T,visible:T,getPopupContainer:()=>S.current});f&&(j=f(j)),o&&Object.assign(j,{[o]:{overflow:{adjustX:!1,adjustY:!1}}});const V={paddingBottom:I,position:"relative",minWidth:A};return t.createElement("div",{ref:S,style:V},t.createElement(c,Object.assign({},j)))});d.Z=u},78776:function(i,d,e){"use strict";e.d(d,{Z:function(){return o},w:function(){return a}});var t=e(59301),r=e(99267),n=e(26112);function a(f){if(f)return{closable:f.closable,closeIcon:f.closeIcon}}function s(f){const{closable:_,closeIcon:p}=f||{};return t.useMemo(()=>{if(!_&&(_===!1||p===!1||p===null))return!1;if(_===void 0&&p===void 0)return null;let x={closeIcon:typeof p!="boolean"&&p!==null?p:void 0};return _&&typeof _=="object"&&(x=Object.assign(Object.assign({},x),_)),x},[_,p])}function u(){const f={};for(var _=arguments.length,p=new Array(_),x=0;x<_;x++)p[x]=arguments[x];return p.forEach(g=>{g&&Object.keys(g).forEach(P=>{g[P]!==void 0&&(f[P]=g[P])})}),f}const c={};function o(f,_){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c;const x=s(f),g=s(_),P=typeof x!="boolean"?!!(x!=null&&x.disabled):!1,O=t.useMemo(()=>Object.assign({closeIcon:t.createElement(r.Z,null)},p),[p]),S=t.useMemo(()=>x===!1?!1:x?u(O,g,x):g===!1?!1:g?u(O,g):O.closable?O:!1,[x,g,O]);return t.useMemo(()=>{if(S===!1)return[!1,null,P];const{closeIconRender:I}=O,{closeIcon:E}=S;let A=E;if(A!=null){I&&(A=I(E));const R=(0,n.Z)(S,!0);Object.keys(R).length&&(A=t.isValidElement(A)?t.cloneElement(A,R):t.createElement("span",Object.assign({},R),A))}return[!0,A,P]},[S,O])}},40192:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(59301);function r(){const[,n]=t.useReducer(a=>a+1,0);return n}},75030:function(i,d,e){"use strict";e.d(d,{Cn:function(){return p},u6:function(){return u}});var t=e(59301),r=e(57700),n=e(55743);const a=100,u=a*10,c=u+a,o={Modal:a,Drawer:a,Popover:a,Popconfirm:a,Tooltip:a,Tour:a,FloatButton:a},f={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function _(x){return x in o}const p=(x,g)=>{const[,P]=(0,r.ZP)(),O=t.useContext(n.Z),S=_(x);let I;if(g!==void 0)I=[g,g];else{let E=O!=null?O:0;S?E+=(O?0:P.zIndexPopupBase)+o[x]:E+=f[x],I=[O===void 0?g:E,E]}return I}},86641:function(i,d,e){"use strict";e.d(d,{m:function(){return o}});var t=e(48755);const r=()=>({height:0,opacity:0}),n=f=>{const{scrollHeight:_}=f;return{height:_,opacity:1}},a=f=>({height:f?f.offsetHeight:0}),s=(f,_)=>(_==null?void 0:_.deadline)===!0||_.propertyName==="height",u=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:t.Rf}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:n,onEnterActive:n,onLeaveStart:a,onLeaveActive:r,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}},c=null,o=(f,_,p)=>p!==void 0?p:`${f}-${_}`;d.Z=u},22703:function(i,d,e){"use strict";e.d(d,{M2:function(){return r},Tm:function(){return a},wm:function(){return n}});var t=e(59301);function r(s){return s&&t.isValidElement(s)&&s.type===t.Fragment}const n=(s,u,c)=>t.isValidElement(s)?t.cloneElement(s,typeof c=="function"?c(s.props||{}):c):u;function a(s,u){return n(s,s,u)}},47999:function(i,d,e){"use strict";e.d(d,{c4:function(){return n},m9:function(){return u}});var t=e(59301),r=e(57700);const n=["xxl","xl","lg","md","sm","xs"],a=o=>({xs:`(max-width: ${o.screenXSMax}px)`,sm:`(min-width: ${o.screenSM}px)`,md:`(min-width: ${o.screenMD}px)`,lg:`(min-width: ${o.screenLG}px)`,xl:`(min-width: ${o.screenXL}px)`,xxl:`(min-width: ${o.screenXXL}px)`}),s=o=>{const f=o,_=[].concat(n).reverse();return _.forEach((p,x)=>{const g=p.toUpperCase(),P=`screen${g}Min`,O=`screen${g}`;if(!(f[P]<=f[O]))throw new Error(`${P}<=${O} fails : !(${f[P]}<=${f[O]})`);if(x<_.length-1){const S=`screen${g}Max`;if(!(f[O]<=f[S]))throw new Error(`${O}<=${S} fails : !(${f[O]}<=${f[S]})`);const E=`screen${_[x+1].toUpperCase()}Min`;if(!(f[S]<=f[E]))throw new Error(`${S}<=${E} fails : !(${f[S]}<=${f[E]})`)}}),o},u=(o,f)=>{if(f){for(const _ of n)if(o[_]&&(f==null?void 0:f[_])!==void 0)return f[_]}},c=()=>{const[,o]=(0,r.ZP)(),f=a(s(o));return t.useMemo(()=>{const _=new Map;let p=-1,x={};return{responsiveMap:f,matchHandlers:{},dispatch(g){return x=g,_.forEach(P=>P(x)),_.size>=1},subscribe(g){return _.size||this.register(),p+=1,_.set(p,g),g(x),p},unsubscribe(g){_.delete(g),_.size||this.unregister()},register(){Object.keys(f).forEach(g=>{const P=f[g],O=I=>{let{matches:E}=I;this.dispatch(Object.assign(Object.assign({},x),{[g]:E}))},S=window.matchMedia(P);S.addListener(O),this.matchHandlers[P]={mql:S,listener:O},O(S)})},unregister(){Object.keys(f).forEach(g=>{const P=f[g],O=this.matchHandlers[P];O==null||O.mql.removeListener(O==null?void 0:O.listener)}),_.clear()}}},[o])};d.ZP=c},32383:function(i,d,e){"use strict";e.d(d,{G8:function(){return c},ln:function(){return o}});var t=e(59301),r=e(48736);function n(){}let a=null;function s(){a=null,rcResetWarned()}let u=null;const c=t.createContext({}),o=()=>{const _=()=>{};return _.deprecated=n,_};var f=null},12919:function(i,d,e){"use strict";e.d(d,{Z:function(){return V}});var t=e(59301),r=e(92310),n=e.n(r),a=e(29194),s=e(8654),u=e(48755),c=e(22703),o=e(16931);const f=H=>{const{componentCls:Y,colorPrimary:F}=H;return{[Y]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${F})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${H.motionEaseOutCirc}`,`opacity 2s ${H.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${H.motionDurationSlow} ${H.motionEaseInOut}`,`opacity ${H.motionDurationSlow} ${H.motionEaseInOut}`].join(",")}}}}};var _=(0,o.A1)("Wave",H=>[f(H)]),p=e(6089),x=e(16089),g=e(57700),P=e(63872),O=e(77900),S=e(11774);function I(H){return H&&H!=="#fff"&&H!=="#ffffff"&&H!=="rgb(255, 255, 255)"&&H!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(H)&&H!=="transparent"}function E(H){const{borderTopColor:Y,borderColor:F,backgroundColor:K}=getComputedStyle(H);return I(Y)?Y:I(F)?F:I(K)?K:null}function A(H){return Number.isNaN(H)?0:H}const R=H=>{const{className:Y,target:F,component:K,registerUnmount:X}=H,Q=t.useRef(null),W=t.useRef(null);t.useEffect(()=>{W.current=X()},[]);const[N,J]=t.useState(null),[k,Z]=t.useState([]),[G,ee]=t.useState(0),[ie,se]=t.useState(0),[le,de]=t.useState(0),[He,ze]=t.useState(0),[st,vt]=t.useState(!1),Je={left:G,top:ie,width:le,height:He,borderRadius:k.map(Ce=>`${Ce}px`).join(" ")};N&&(Je["--wave-color"]=N);function Ke(){const Ce=getComputedStyle(F);J(E(F));const me=Ce.position==="static",{borderLeftWidth:at,borderTopWidth:ct}=Ce;ee(me?F.offsetLeft:A(-parseFloat(at))),se(me?F.offsetTop:A(-parseFloat(ct))),de(F.offsetWidth),ze(F.offsetHeight);const{borderTopLeftRadius:St,borderTopRightRadius:bt,borderBottomLeftRadius:Ie,borderBottomRightRadius:$e}=Ce;Z([St,bt,$e,Ie].map(ft=>A(parseFloat(ft))))}if(t.useEffect(()=>{if(F){const Ce=(0,x.Z)(()=>{Ke(),vt(!0)});let me;return typeof ResizeObserver!="undefined"&&(me=new ResizeObserver(Ke),me.observe(F)),()=>{x.Z.cancel(Ce),me==null||me.disconnect()}}},[]),!st)return null;const Re=(K==="Checkbox"||K==="Radio")&&(F==null?void 0:F.classList.contains(P.A));return t.createElement(O.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Ce,me)=>{var at,ct;if(me.deadline||me.propertyName==="opacity"){const St=(at=Q.current)===null||at===void 0?void 0:at.parentElement;(ct=W.current)===null||ct===void 0||ct.call(W).then(()=>{St==null||St.remove()})}return!1}},(Ce,me)=>{let{className:at}=Ce;return t.createElement("div",{ref:(0,s.sQ)(Q,me),className:n()(Y,at,{"wave-quick":Re}),style:Je})})};var D=(H,Y)=>{var F;const{component:K}=Y;if(K==="Checkbox"&&!(!((F=H.querySelector("input"))===null||F===void 0)&&F.checked))return;const X=document.createElement("div");X.style.position="absolute",X.style.left="0px",X.style.top="0px",H==null||H.insertBefore(X,H==null?void 0:H.firstChild);const Q=(0,S.x)();let W=null;function N(){return W}W=Q(t.createElement(R,Object.assign({},Y,{target:H,registerUnmount:N})),X)},B=(H,Y,F)=>{const{wave:K}=t.useContext(u.E_),[,X,Q]=(0,g.ZP)(),W=(0,p.Z)(k=>{const Z=H.current;if(K!=null&&K.disabled||!Z)return;const G=Z.querySelector(`.${P.A}`)||Z,{showEffect:ee}=K||{};(ee||D)(G,{className:Y,token:X,component:F,event:k,hashId:Q})}),N=t.useRef(null);return k=>{x.Z.cancel(N.current),N.current=(0,x.Z)(()=>{W(k)})}},V=H=>{const{children:Y,disabled:F,component:K}=H,{getPrefixCls:X}=(0,t.useContext)(u.E_),Q=(0,t.useRef)(null),W=X("wave"),[,N]=_(W),J=B(Q,n()(W,N),K);if(t.useEffect(()=>{const Z=Q.current;if(!Z||Z.nodeType!==1||F)return;const G=ee=>{!(0,a.Z)(ee.target)||!Z.getAttribute||Z.getAttribute("disabled")||Z.disabled||Z.className.includes("disabled")||Z.className.includes("-leave")||J(ee)};return Z.addEventListener("click",G,!0),()=>{Z.removeEventListener("click",G,!0)}},[F]),!t.isValidElement(Y))return Y!=null?Y:null;const k=(0,s.Yr)(Y)?(0,s.sQ)((0,s.C4)(Y),Q):Q;return(0,c.Tm)(Y,{ref:k})}},63872:function(i,d,e){"use strict";e.d(d,{A:function(){return r}});var t=e(48755);const r=`${t.Rf}-wave-target`},55743:function(i,d,e){"use strict";var t=e(59301);const r=t.createContext(void 0);d.Z=r},17004:function(i,d,e){"use strict";e.d(d,{J:function(){return r}});var t=e(59301);const r=t.createContext({}),n=t.createContext({message:{},notification:{},modal:{}});var a=null},61670:function(i,d,e){"use strict";e.d(d,{Dn:function(){return f},aG:function(){return u},hU:function(){return p},nx:function(){return c}});var t=e(77654),r=e(59301),n=e(22703),a=e(34998);const s=/^[\u4E00-\u9FA5]{2}$/,u=s.test.bind(s);function c(I){return I==="danger"?{danger:!0}:{type:I}}function o(I){return typeof I=="string"}function f(I){return I==="text"||I==="link"}function _(I,E){if(I==null)return;const A=E?" ":"";return typeof I!="string"&&typeof I!="number"&&o(I.type)&&u(I.props.children)?(0,n.Tm)(I,{children:I.props.children.split("").join(A)}):o(I)?u(I)?r.createElement("span",null,I.split("").join(A)):r.createElement("span",null,I):(0,n.M2)(I)?r.createElement("span",null,I):I}function p(I,E){let A=!1;const R=[];return r.Children.forEach(I,T=>{const D=typeof T,M=D==="string"||D==="number";if(A&&M){const B=R.length-1,j=R[B];R[B]=`${j}${T}`}else R.push(T);A=M}),r.Children.map(R,T=>_(T,E))}const x=null,g=null,P=null,O=null,S=["default","primary","danger"].concat((0,t.Z)(a.i))},7939:function(i,d,e){"use strict";e.d(d,{ZP:function(){return At}});var t=e(59301),r=e(92310),n=e.n(r),a=e(2738),s=e(8654),u=e(12919),c=e(48755),o=e(2171),f=e(31756),_=e(70045),p=e(57700),x=function(ce,_t){var qt={};for(var Ht in ce)Object.prototype.hasOwnProperty.call(ce,Ht)&&_t.indexOf(Ht)<0&&(qt[Ht]=ce[Ht]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Ht=Object.getOwnPropertySymbols(ce);Ut{const{getPrefixCls:_t,direction:qt}=t.useContext(c.E_),{prefixCls:Ht,size:Ut,className:cr}=ce,Ze=x(ce,["prefixCls","size","className"]),dt=_t("btn-group",Ht),[,,kt]=(0,p.ZP)(),ar=t.useMemo(()=>{switch(Ut){case"large":return"lg";case"small":return"sm";default:return""}},[Ut]),$t=n()(dt,{[`${dt}-${ar}`]:ar,[`${dt}-rtl`]:qt==="rtl"},cr,kt);return t.createElement(g.Provider,{value:Ut},t.createElement("div",Object.assign({},Ze,{className:$t})))},S=e(61670),I=e(58617),E=e(77900),R=(0,t.forwardRef)((ce,_t)=>{const{className:qt,style:Ht,children:Ut,prefixCls:cr}=ce,Ze=n()(`${cr}-icon`,qt);return t.createElement("span",{ref:_t,className:Ze,style:Ht},Ut)});const T=(0,t.forwardRef)((ce,_t)=>{const{prefixCls:qt,className:Ht,style:Ut,iconClassName:cr}=ce,Ze=n()(`${qt}-loading-icon`,Ht);return t.createElement(R,{prefixCls:qt,className:Ze,style:Ut,ref:_t},t.createElement(I.Z,{className:cr}))}),D=()=>({width:0,opacity:0,transform:"scale(0)"}),M=ce=>({width:ce.scrollWidth,opacity:1,transform:"scale(1)"});var j=ce=>{const{prefixCls:_t,loading:qt,existIcon:Ht,className:Ut,style:cr,mount:Ze}=ce,dt=!!qt;return Ht?t.createElement(T,{prefixCls:_t,className:Ut,style:cr}):t.createElement(E.default,{visible:dt,motionName:`${_t}-loading-icon-motion`,motionAppear:!Ze,motionEnter:!Ze,motionLeave:!Ze,removeOnLeave:!0,onAppearStart:D,onAppearActive:M,onEnterStart:D,onEnterActive:M,onLeaveStart:M,onLeaveActive:D},(kt,ar)=>{let{className:$t,style:pr}=kt;const Ir=Object.assign(Object.assign({},cr),pr);return t.createElement(T,{prefixCls:_t,className:n()(Ut,$t),style:Ir,ref:ar})})},V=e(36237),H=e(63356),Y=e(34998),F=e(51636),K=e(16931);const X=(ce,_t)=>({[`> span, > ${ce}`]:{"&:not(:last-child)":{[`&, & > ${ce}`]:{"&:not(:disabled)":{borderInlineEndColor:_t}}},"&:not(:first-child)":{[`&, & > ${ce}`]:{"&:not(:disabled)":{borderInlineStartColor:_t}}}}});var W=ce=>{const{componentCls:_t,fontSize:qt,lineWidth:Ht,groupBorderColor:Ut,colorErrorHover:cr}=ce;return{[`${_t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${_t}`]:{"&:not(:last-child)":{[`&, & > ${_t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:ce.calc(Ht).mul(-1).equal(),[`&, & > ${_t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[_t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${_t}-icon-only`]:{fontSize:qt}},X(`${_t}-primary`,Ut),X(`${_t}-danger`,cr)]}},N=e(6074),J=e(88911),k=e(45156),Z=e(28620);const G=ce=>{const{paddingInline:_t,onlyIconSize:qt}=ce;return(0,F.mergeToken)(ce,{buttonPaddingHorizontal:_t,buttonPaddingVertical:0,buttonIconOnlyFontSize:qt})},ee=ce=>{var _t,qt,Ht,Ut,cr,Ze;const dt=(_t=ce.contentFontSize)!==null&&_t!==void 0?_t:ce.fontSize,kt=(qt=ce.contentFontSizeSM)!==null&&qt!==void 0?qt:ce.fontSize,ar=(Ht=ce.contentFontSizeLG)!==null&&Ht!==void 0?Ht:ce.fontSizeLG,$t=(Ut=ce.contentLineHeight)!==null&&Ut!==void 0?Ut:(0,k.D)(dt),pr=(cr=ce.contentLineHeightSM)!==null&&cr!==void 0?cr:(0,k.D)(kt),Ir=(Ze=ce.contentLineHeightLG)!==null&&Ze!==void 0?Ze:(0,k.D)(ar),kr=(0,J.U)(new N.y9(ce.colorBgSolid),"#fff")?"#000":"#fff",er=Y.i.reduce((Nt,Kt)=>Object.assign(Object.assign({},Nt),{[`${Kt}ShadowColor`]:`0 ${(0,V.unit)(ce.controlOutlineWidth)} 0 ${(0,Z.Z)(ce[`${Kt}1`],ce.colorBgContainer)}`}),{});return Object.assign(Object.assign({},er),{fontWeight:400,defaultShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.controlTmpOutline}`,primaryShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.controlOutline}`,dangerShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.colorErrorOutline}`,primaryColor:ce.colorTextLightSolid,dangerColor:ce.colorTextLightSolid,borderColorDisabled:ce.colorBorder,defaultGhostColor:ce.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:ce.colorBgContainer,paddingInline:ce.paddingContentHorizontal-ce.lineWidth,paddingInlineLG:ce.paddingContentHorizontal-ce.lineWidth,paddingInlineSM:8-ce.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:ce.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:ce.colorText,textTextHoverColor:ce.colorText,textTextActiveColor:ce.colorText,textHoverBg:ce.colorFillTertiary,defaultColor:ce.colorText,defaultBg:ce.colorBgContainer,defaultBorderColor:ce.colorBorder,defaultBorderColorDisabled:ce.colorBorder,defaultHoverBg:ce.colorBgContainer,defaultHoverColor:ce.colorPrimaryHover,defaultHoverBorderColor:ce.colorPrimaryHover,defaultActiveBg:ce.colorBgContainer,defaultActiveColor:ce.colorPrimaryActive,defaultActiveBorderColor:ce.colorPrimaryActive,solidTextColor:kr,contentFontSize:dt,contentFontSizeSM:kt,contentFontSizeLG:ar,contentLineHeight:$t,contentLineHeightSM:pr,contentLineHeightLG:Ir,paddingBlock:Math.max((ce.controlHeight-dt*$t)/2-ce.lineWidth,0),paddingBlockSM:Math.max((ce.controlHeightSM-kt*pr)/2-ce.lineWidth,0),paddingBlockLG:Math.max((ce.controlHeightLG-ar*Ir)/2-ce.lineWidth,0)})},ie=ce=>{const{componentCls:_t,iconCls:qt,fontWeight:Ht,opacityLoading:Ut,motionDurationSlow:cr,motionEaseInOut:Ze,marginXS:dt,calc:kt}=ce;return{[_t]:{outline:"none",position:"relative",display:"inline-flex",gap:ce.marginXS,alignItems:"center",justifyContent:"center",fontWeight:Ht,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,V.unit)(ce.lineWidth)} ${ce.lineType} transparent`,cursor:"pointer",transition:`all ${ce.motionDurationMid} ${ce.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:ce.colorText,"&:disabled > *":{pointerEvents:"none"},[`${_t}-icon > svg`]:(0,H.Ro)(),"> a":{color:"currentColor"},"&:not(:disabled)":(0,H.Qy)(ce),[`&${_t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${_t}-two-chinese-chars > *:not(${qt})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${_t}-icon-only`]:{paddingInline:0,[`&${_t}-compact-item`]:{flex:"none"},[`&${_t}-round`]:{width:"auto"}},[`&${_t}-loading`]:{opacity:Ut,cursor:"default"},[`${_t}-loading-icon`]:{transition:["width","opacity","margin"].map(ar=>`${ar} ${cr} ${Ze}`).join(",")},[`&:not(${_t}-icon-end)`]:{[`${_t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:kt(dt).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:kt(dt).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${_t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:kt(dt).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:kt(dt).mul(-1).equal()}}}}}},se=(ce,_t,qt)=>({[`&:not(:disabled):not(${ce}-disabled)`]:{"&:hover":_t,"&:active":qt}}),le=ce=>({minWidth:ce.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),de=ce=>({borderRadius:ce.controlHeight,paddingInlineStart:ce.calc(ce.controlHeight).div(2).equal(),paddingInlineEnd:ce.calc(ce.controlHeight).div(2).equal()}),He=ce=>({cursor:"not-allowed",borderColor:ce.borderColorDisabled,color:ce.colorTextDisabled,background:ce.colorBgContainerDisabled,boxShadow:"none"}),ze=(ce,_t,qt,Ht,Ut,cr,Ze,dt)=>({[`&${ce}-background-ghost`]:Object.assign(Object.assign({color:qt||void 0,background:_t,borderColor:Ht||void 0,boxShadow:"none"},se(ce,Object.assign({background:_t},Ze),Object.assign({background:_t},dt))),{"&:disabled":{cursor:"not-allowed",color:Ut||void 0,borderColor:cr||void 0}})}),st=ce=>({[`&:disabled, &${ce.componentCls}-disabled`]:Object.assign({},He(ce))}),vt=ce=>({[`&:disabled, &${ce.componentCls}-disabled`]:{cursor:"not-allowed",color:ce.colorTextDisabled}}),Je=(ce,_t,qt,Ht)=>{const cr=Ht&&["link","text"].includes(Ht)?vt:st;return Object.assign(Object.assign({},cr(ce)),se(ce.componentCls,_t,qt))},Ke=(ce,_t,qt,Ht,Ut)=>({[`&${ce.componentCls}-variant-solid`]:Object.assign({color:_t,background:qt},Je(ce,Ht,Ut))}),Re=(ce,_t,qt,Ht,Ut)=>({[`&${ce.componentCls}-variant-outlined, &${ce.componentCls}-variant-dashed`]:Object.assign({borderColor:_t,background:qt},Je(ce,Ht,Ut))}),Ce=ce=>({[`&${ce.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),me=(ce,_t,qt,Ht)=>({[`&${ce.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:_t},Je(ce,qt,Ht))}),at=(ce,_t,qt,Ht,Ut)=>({[`&${ce.componentCls}-variant-${qt}`]:Object.assign({color:_t,boxShadow:"none"},Je(ce,Ht,Ut,qt))}),ct=ce=>{const{componentCls:_t}=ce;return Y.i.reduce((qt,Ht)=>{const Ut=ce[`${Ht}6`],cr=ce[`${Ht}1`],Ze=ce[`${Ht}5`],dt=ce[`${Ht}2`],kt=ce[`${Ht}3`],ar=ce[`${Ht}7`];return Object.assign(Object.assign({},qt),{[`&${_t}-color-${Ht}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:Ut,boxShadow:ce[`${Ht}ShadowColor`]},Ke(ce,ce.colorTextLightSolid,Ut,{background:Ze},{background:ar})),Re(ce,Ut,ce.colorBgContainer,{color:Ze,borderColor:Ze,background:ce.colorBgContainer},{color:ar,borderColor:ar,background:ce.colorBgContainer})),Ce(ce)),me(ce,cr,{background:dt},{background:kt})),at(ce,Ut,"link",{color:Ze},{color:ar})),at(ce,Ut,"text",{color:Ze,background:cr},{color:ar,background:kt}))})},{})},St=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ce.defaultColor,boxShadow:ce.defaultShadow},Ke(ce,ce.solidTextColor,ce.colorBgSolid,{color:ce.solidTextColor,background:ce.colorBgSolidHover},{color:ce.solidTextColor,background:ce.colorBgSolidActive})),Ce(ce)),me(ce,ce.colorFillTertiary,{background:ce.colorFillSecondary},{background:ce.colorFill})),ze(ce.componentCls,ce.ghostBg,ce.defaultGhostColor,ce.defaultGhostBorderColor,ce.colorTextDisabled,ce.colorBorder)),at(ce,ce.textTextColor,"link",{color:ce.colorLinkHover,background:ce.linkHoverBg},{color:ce.colorLinkActive})),bt=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ce.colorPrimary,boxShadow:ce.primaryShadow},Re(ce,ce.colorPrimary,ce.colorBgContainer,{color:ce.colorPrimaryTextHover,borderColor:ce.colorPrimaryHover,background:ce.colorBgContainer},{color:ce.colorPrimaryTextActive,borderColor:ce.colorPrimaryActive,background:ce.colorBgContainer})),Ce(ce)),me(ce,ce.colorPrimaryBg,{background:ce.colorPrimaryBgHover},{background:ce.colorPrimaryBorder})),at(ce,ce.colorPrimaryText,"text",{color:ce.colorPrimaryTextHover,background:ce.colorPrimaryBg},{color:ce.colorPrimaryTextActive,background:ce.colorPrimaryBorder})),at(ce,ce.colorPrimaryText,"link",{color:ce.colorPrimaryTextHover,background:ce.linkHoverBg},{color:ce.colorPrimaryTextActive})),ze(ce.componentCls,ce.ghostBg,ce.colorPrimary,ce.colorPrimary,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorPrimaryHover,borderColor:ce.colorPrimaryHover},{color:ce.colorPrimaryActive,borderColor:ce.colorPrimaryActive})),Ie=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:ce.colorError,boxShadow:ce.dangerShadow},Ke(ce,ce.dangerColor,ce.colorError,{background:ce.colorErrorHover},{background:ce.colorErrorActive})),Re(ce,ce.colorError,ce.colorBgContainer,{color:ce.colorErrorHover,borderColor:ce.colorErrorBorderHover},{color:ce.colorErrorActive,borderColor:ce.colorErrorActive})),Ce(ce)),me(ce,ce.colorErrorBg,{background:ce.colorErrorBgFilledHover},{background:ce.colorErrorBgActive})),at(ce,ce.colorError,"text",{color:ce.colorErrorHover,background:ce.colorErrorBg},{color:ce.colorErrorHover,background:ce.colorErrorBgActive})),at(ce,ce.colorError,"link",{color:ce.colorErrorHover},{color:ce.colorErrorActive})),ze(ce.componentCls,ce.ghostBg,ce.colorError,ce.colorError,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorErrorHover,borderColor:ce.colorErrorHover},{color:ce.colorErrorActive,borderColor:ce.colorErrorActive})),$e=ce=>Object.assign(Object.assign({},at(ce,ce.colorLink,"link",{color:ce.colorLinkHover},{color:ce.colorLinkActive})),ze(ce.componentCls,ce.ghostBg,ce.colorInfo,ce.colorInfo,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorInfoHover,borderColor:ce.colorInfoHover},{color:ce.colorInfoActive,borderColor:ce.colorInfoActive})),ft=ce=>{const{componentCls:_t}=ce;return Object.assign({[`${_t}-color-default`]:St(ce),[`${_t}-color-primary`]:bt(ce),[`${_t}-color-dangerous`]:Ie(ce),[`${_t}-color-link`]:$e(ce)},ct(ce))},ke=ce=>Object.assign(Object.assign(Object.assign(Object.assign({},Re(ce,ce.defaultBorderColor,ce.defaultBg,{color:ce.defaultHoverColor,borderColor:ce.defaultHoverBorderColor,background:ce.defaultHoverBg},{color:ce.defaultActiveColor,borderColor:ce.defaultActiveBorderColor,background:ce.defaultActiveBg})),at(ce,ce.textTextColor,"text",{color:ce.textTextHoverColor,background:ce.textHoverBg},{color:ce.textTextActiveColor,background:ce.colorBgTextActive})),Ke(ce,ce.primaryColor,ce.colorPrimary,{background:ce.colorPrimaryHover,color:ce.primaryColor},{background:ce.colorPrimaryActive,color:ce.primaryColor})),at(ce,ce.colorLink,"link",{color:ce.colorLinkHover,background:ce.linkHoverBg},{color:ce.colorLinkActive})),ye=function(ce){let _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:qt,controlHeight:Ht,fontSize:Ut,borderRadius:cr,buttonPaddingHorizontal:Ze,iconCls:dt,buttonPaddingVertical:kt,buttonIconOnlyFontSize:ar}=ce;return[{[_t]:{fontSize:Ut,height:Ht,padding:`${(0,V.unit)(kt)} ${(0,V.unit)(Ze)}`,borderRadius:cr,[`&${qt}-icon-only`]:{width:Ht,[dt]:{fontSize:ar}}}},{[`${qt}${qt}-circle${_t}`]:le(ce)},{[`${qt}${qt}-round${_t}`]:de(ce)}]},fe=ce=>{const _t=(0,F.mergeToken)(ce,{fontSize:ce.contentFontSize});return ye(_t,ce.componentCls)},Oe=ce=>{const _t=(0,F.mergeToken)(ce,{controlHeight:ce.controlHeightSM,fontSize:ce.contentFontSizeSM,padding:ce.paddingXS,buttonPaddingHorizontal:ce.paddingInlineSM,buttonPaddingVertical:0,borderRadius:ce.borderRadiusSM,buttonIconOnlyFontSize:ce.onlyIconSizeSM});return ye(_t,`${ce.componentCls}-sm`)},Ee=ce=>{const _t=(0,F.mergeToken)(ce,{controlHeight:ce.controlHeightLG,fontSize:ce.contentFontSizeLG,buttonPaddingHorizontal:ce.paddingInlineLG,buttonPaddingVertical:0,borderRadius:ce.borderRadiusLG,buttonIconOnlyFontSize:ce.onlyIconSizeLG});return ye(_t,`${ce.componentCls}-lg`)},et=ce=>{const{componentCls:_t}=ce;return{[_t]:{[`&${_t}-block`]:{width:"100%"}}}};var mt=(0,K.I$)("Button",ce=>{const _t=G(ce);return[ie(_t),fe(_t),Oe(_t),Ee(_t),et(_t),ft(_t),ke(_t),W(_t)]},ee,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}}),pe=e(56119);function ge(ce,_t){return{[`&-item:not(${_t}-last-item)`]:{marginBottom:ce.calc(ce.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function lt(ce,_t){return{[`&-item:not(${_t}-first-item):not(${_t}-last-item)`]:{borderRadius:0},[`&-item${_t}-first-item:not(${_t}-last-item)`]:{[`&, &${ce}-sm, &${ce}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${_t}-last-item:not(${_t}-first-item)`]:{[`&, &${ce}-sm, &${ce}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Qe(ce){const _t=`${ce.componentCls}-compact-vertical`;return{[_t]:Object.assign(Object.assign({},ge(ce,_t)),lt(ce.componentCls,_t))}}const Ve=ce=>{const{componentCls:_t,colorPrimaryHover:qt,lineWidth:Ht,calc:Ut}=ce,cr=Ut(Ht).mul(-1).equal(),Ze=dt=>{const kt=`${_t}-compact${dt?"-vertical":""}-item${_t}-primary:not([disabled])`;return{[`${kt} + ${kt}::before`]:{position:"absolute",top:dt?cr:0,insetInlineStart:dt?0:cr,backgroundColor:qt,content:'""',width:dt?"100%":Ht,height:dt?Ht:"100%"}}};return Object.assign(Object.assign({},Ze()),Ze(!0))};var it=(0,K.bk)(["Button","compact"],ce=>{const _t=G(ce);return[(0,pe.c)(_t),Qe(_t),Ve(_t)]},ee),Dt=function(ce,_t){var qt={};for(var Ht in ce)Object.prototype.hasOwnProperty.call(ce,Ht)&&_t.indexOf(Ht)<0&&(qt[Ht]=ce[Ht]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ut=0,Ht=Object.getOwnPropertySymbols(ce);Ut{var qt,Ht;const{loading:Ut=!1,prefixCls:cr,color:Ze,variant:dt,type:kt,danger:ar=!1,shape:$t="default",size:pr,styles:Ir,disabled:kr,className:er,rootClassName:Nt,children:Kt,icon:Qt,iconPosition:Cr="start",ghost:Er=!1,block:wt=!1,htmlType:qe="button",classNames:Ue,style:Le={},autoInsertSpace:rt,autoFocus:Tt}=ce,Lt=Dt(ce,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),gr=kt||"default",[yr,Ur]=(0,t.useMemo)(()=>{if(Ze&&dt)return[Ze,dt];const Gr=Se[gr]||[];return ar?["danger",Gr[1]]:Gr},[kt,Ze,dt,ar]),sr=yr==="danger"?"dangerous":yr,{getPrefixCls:_n,direction:on,autoInsertSpace:Fe,className:Ne,style:en,classNames:pn,styles:ha}=(0,c.dj)("button"),ma=(qt=rt!=null?rt:Fe)!==null&&qt!==void 0?qt:!0,On=_n("btn",cr),[za,ja,gn]=mt(On),Va=(0,t.useContext)(o.Z),va=kr!=null?kr:Va,_o=(0,t.useContext)(g),no=(0,t.useMemo)(()=>Yt(Ut),[Ut]),[Ja,Za]=(0,t.useState)(no.loading),[No,ya]=(0,t.useState)(!1),na=(0,t.useRef)(null),En=(0,s.x1)(_t,na),wa=t.Children.count(Kt)===1&&!Qt&&!(0,S.Dn)(Ur),Pe=(0,t.useRef)(!0);t.useEffect(()=>(Pe.current=!1,()=>{Pe.current=!0}),[]),(0,t.useEffect)(()=>{let Gr=null;no.delay>0?Gr=setTimeout(()=>{Gr=null,Za(!0)},no.delay):Za(no.loading);function ea(){Gr&&(clearTimeout(Gr),Gr=null)}return ea},[no]),(0,t.useEffect)(()=>{if(!na.current||!ma)return;const Gr=na.current.textContent||"";wa&&(0,S.aG)(Gr)?No||ya(!0):No&&ya(!1)}),(0,t.useEffect)(()=>{Tt&&na.current&&na.current.focus()},[]);const $n=t.useCallback(Gr=>{var ea;if(Ja||va){Gr.preventDefault();return}(ea=ce.onClick)===null||ea===void 0||ea.call(ce,("href"in ce,Gr))},[ce.onClick,Ja,va]),{compactSize:aa,compactItemClassnames:yo}=(0,_.ri)(On,on),ai={large:"lg",small:"sm",middle:void 0},Wa=(0,f.Z)(Gr=>{var ea,Mr;return(Mr=(ea=pr!=null?pr:aa)!==null&&ea!==void 0?ea:_o)!==null&&Mr!==void 0?Mr:Gr}),Ha=Wa&&(Ht=ai[Wa])!==null&&Ht!==void 0?Ht:"",De=Ja?"loading":Qt,xe=(0,a.Z)(Lt,["navigate"]),Xe=n()(On,ja,gn,{[`${On}-${$t}`]:$t!=="default"&&$t,[`${On}-${gr}`]:gr,[`${On}-dangerous`]:ar,[`${On}-color-${sr}`]:sr,[`${On}-variant-${Ur}`]:Ur,[`${On}-${Ha}`]:Ha,[`${On}-icon-only`]:!Kt&&Kt!==0&&!!De,[`${On}-background-ghost`]:Er&&!(0,S.Dn)(Ur),[`${On}-loading`]:Ja,[`${On}-two-chinese-chars`]:No&&ma&&!Ja,[`${On}-block`]:wt,[`${On}-rtl`]:on==="rtl",[`${On}-icon-end`]:Cr==="end"},yo,er,Nt,Ne),q=Object.assign(Object.assign({},en),Le),It=n()(Ue==null?void 0:Ue.icon,pn.icon),Jt=Object.assign(Object.assign({},(Ir==null?void 0:Ir.icon)||{}),ha.icon||{}),Pr=Qt&&!Ja?t.createElement(R,{prefixCls:On,className:It,style:Jt},Qt):Ut&&typeof Ut=="object"&&Ut.icon?t.createElement(R,{prefixCls:On,className:It,style:Jt},Ut.icon):t.createElement(j,{existIcon:!!Qt,prefixCls:On,loading:Ja,mount:Pe.current}),Rr=Kt||Kt===0?(0,S.hU)(Kt,wa&&ma):null;if(xe.href!==void 0)return za(t.createElement("a",Object.assign({},xe,{className:n()(Xe,{[`${On}-disabled`]:va}),href:va?void 0:xe.href,style:q,onClick:$n,ref:En,tabIndex:va?-1:0}),Pr,Rr));let Sr=t.createElement("button",Object.assign({},Lt,{type:qe,className:Xe,style:q,onClick:$n,disabled:va,ref:En}),Pr,Rr,yo&&t.createElement(it,{prefixCls:On}));return(0,S.Dn)(Ur)||(Sr=t.createElement(u.Z,{component:"Button",disabled:Ja},Sr)),za(Sr)});Be.Group=O,Be.__ANT_BUTTON=!0;var ht=Be,At=ht},5269:function(i,d,e){"use strict";var t=e(5472);d.Z=t.Z},8848:function(i,d,e){"use strict";e.d(d,{default:function(){return H}});var t=e(59301),r=e(38819),n=e(92310),a=e.n(n),s=e(98535),u=e(11592),c=e(2738),o=e(86641),f=e(22703),_=e(48755),p=e(31756),g=t.forwardRef((Y,F)=>{const{getPrefixCls:K}=t.useContext(_.E_),{prefixCls:X,className:Q,showArrow:W=!0}=Y,N=K("collapse",X),J=a()({[`${N}-no-arrow`]:!W},Q);return t.createElement(s.default.Panel,Object.assign({ref:F},Y,{prefixCls:N,className:J}))}),P=e(36237),O=e(63356),S=e(34961),I=e(16931),E=e(51636);const A=Y=>{const{componentCls:F,contentBg:K,padding:X,headerBg:Q,headerPadding:W,collapseHeaderPaddingSM:N,collapseHeaderPaddingLG:J,collapsePanelBorderRadius:k,lineWidth:Z,lineType:G,colorBorder:ee,colorText:ie,colorTextHeading:se,colorTextDisabled:le,fontSizeLG:de,lineHeight:He,lineHeightLG:ze,marginSM:st,paddingSM:vt,paddingLG:Je,paddingXS:Ke,motionDurationSlow:Re,fontSizeIcon:Ce,contentPadding:me,fontHeight:at,fontHeightLG:ct}=Y,St=`${(0,P.unit)(Z)} ${G} ${ee}`;return{[F]:Object.assign(Object.assign({},(0,O.Wf)(Y)),{backgroundColor:Q,border:St,borderRadius:k,"&-rtl":{direction:"rtl"},[`& > ${F}-item`]:{borderBottom:St,"&:first-child":{[` &, - & > ${F}-header`]:{borderRadius:`${(0,P.unit)(M)} ${(0,P.unit)(M)} 0 0`}},"&:last-child":{[` + & > ${F}-header`]:{borderRadius:`${(0,P.unit)(k)} ${(0,P.unit)(k)} 0 0`}},"&:last-child":{[` &, - & > ${F}-header`]:{borderRadius:`0 0 ${(0,P.unit)(M)} ${(0,P.unit)(M)}`}},[`> ${F}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:W,color:se,lineHeight:He,cursor:"pointer",transition:`all ${Re}, visibility 0s`},(0,O.Qy)(Y)),{[`> ${F}-header-text`]:{flex:"auto"},[`${F}-expand-icon`]:{height:at,display:"flex",alignItems:"center",paddingInlineEnd:st},[`${F}-arrow`]:Object.assign(Object.assign({},(0,O.Ro)()),{fontSize:Ce,transition:`transform ${Re}`,svg:{transition:`transform ${Re}`}}),[`${F}-header-text`]:{marginInlineEnd:"auto"}}),[`${F}-collapsible-header`]:{cursor:"default",[`${F}-header-text`]:{flex:"none",cursor:"pointer"}},[`${F}-collapsible-icon`]:{cursor:"unset",[`${F}-expand-icon`]:{cursor:"pointer"}}},[`${F}-content`]:{color:ie,backgroundColor:K,borderTop:St,[`& > ${F}-content-box`]:{padding:me},"&-hidden":{display:"none"}},"&-small":{[`> ${F}-item`]:{[`> ${F}-header`]:{padding:N,paddingInlineStart:Ke,[`> ${F}-expand-icon`]:{marginInlineStart:Y.calc(vt).sub(Ke).equal()}},[`> ${F}-content > ${F}-content-box`]:{padding:vt}}},"&-large":{[`> ${F}-item`]:{fontSize:de,lineHeight:ze,[`> ${F}-header`]:{padding:J,paddingInlineStart:X,[`> ${F}-expand-icon`]:{height:ct,marginInlineStart:Y.calc(Je).sub(X).equal()}},[`> ${F}-content > ${F}-content-box`]:{padding:Je}}},[`${F}-item:last-child`]:{borderBottom:0,[`> ${F}-content`]:{borderRadius:`0 0 ${(0,P.unit)(M)} ${(0,P.unit)(M)}`}},[`& ${F}-item-disabled > ${F}-header`]:{"\n &,\n & > .arrow\n ":{color:le,cursor:"not-allowed"}},[`&${F}-icon-position-end`]:{[`& > ${F}-item`]:{[`> ${F}-header`]:{[`${F}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:st}}}}})}},R=Y=>{const{componentCls:F}=Y,K=`> ${F}-item > ${F}-header ${F}-arrow`;return{[`${F}-rtl`]:{[K]:{transform:"rotate(180deg)"}}}},T=Y=>{const{componentCls:F,headerBg:K,paddingXXS:X,colorBorder:Q}=Y;return{[`${F}-borderless`]:{backgroundColor:K,border:0,[`> ${F}-item`]:{borderBottom:`1px solid ${Q}`},[` + & > ${F}-header`]:{borderRadius:`0 0 ${(0,P.unit)(k)} ${(0,P.unit)(k)}`}},[`> ${F}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:W,color:se,lineHeight:He,cursor:"pointer",transition:`all ${Re}, visibility 0s`},(0,O.Qy)(Y)),{[`> ${F}-header-text`]:{flex:"auto"},[`${F}-expand-icon`]:{height:at,display:"flex",alignItems:"center",paddingInlineEnd:st},[`${F}-arrow`]:Object.assign(Object.assign({},(0,O.Ro)()),{fontSize:Ce,transition:`transform ${Re}`,svg:{transition:`transform ${Re}`}}),[`${F}-header-text`]:{marginInlineEnd:"auto"}}),[`${F}-collapsible-header`]:{cursor:"default",[`${F}-header-text`]:{flex:"none",cursor:"pointer"}},[`${F}-collapsible-icon`]:{cursor:"unset",[`${F}-expand-icon`]:{cursor:"pointer"}}},[`${F}-content`]:{color:ie,backgroundColor:K,borderTop:St,[`& > ${F}-content-box`]:{padding:me},"&-hidden":{display:"none"}},"&-small":{[`> ${F}-item`]:{[`> ${F}-header`]:{padding:N,paddingInlineStart:Ke,[`> ${F}-expand-icon`]:{marginInlineStart:Y.calc(vt).sub(Ke).equal()}},[`> ${F}-content > ${F}-content-box`]:{padding:vt}}},"&-large":{[`> ${F}-item`]:{fontSize:de,lineHeight:ze,[`> ${F}-header`]:{padding:J,paddingInlineStart:X,[`> ${F}-expand-icon`]:{height:ct,marginInlineStart:Y.calc(Je).sub(X).equal()}},[`> ${F}-content > ${F}-content-box`]:{padding:Je}}},[`${F}-item:last-child`]:{borderBottom:0,[`> ${F}-content`]:{borderRadius:`0 0 ${(0,P.unit)(k)} ${(0,P.unit)(k)}`}},[`& ${F}-item-disabled > ${F}-header`]:{"\n &,\n & > .arrow\n ":{color:le,cursor:"not-allowed"}},[`&${F}-icon-position-end`]:{[`& > ${F}-item`]:{[`> ${F}-header`]:{[`${F}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:st}}}}})}},R=Y=>{const{componentCls:F}=Y,K=`> ${F}-item > ${F}-header ${F}-arrow`;return{[`${F}-rtl`]:{[K]:{transform:"rotate(180deg)"}}}},T=Y=>{const{componentCls:F,headerBg:K,paddingXXS:X,colorBorder:Q}=Y;return{[`${F}-borderless`]:{backgroundColor:K,border:0,[`> ${F}-item`]:{borderBottom:`1px solid ${Q}`},[` > ${F}-item:last-child, > ${F}-item:last-child ${F}-header - `]:{borderRadius:0},[`> ${F}-item:last-child`]:{borderBottom:0},[`> ${F}-item > ${F}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${F}-item > ${F}-content > ${F}-content-box`]:{paddingTop:X}}}},D=Y=>{const{componentCls:F,paddingSM:K}=Y;return{[`${F}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${F}-item`]:{borderBottom:0,[`> ${F}-content`]:{backgroundColor:"transparent",border:0,[`> ${F}-content-box`]:{paddingBlock:K}}}}}},k=Y=>({headerPadding:`${Y.paddingSM}px ${Y.padding}px`,headerBg:Y.colorFillAlter,contentPadding:`${Y.padding}px 16px`,contentBg:Y.colorBgContainer});var B=(0,I.I$)("Collapse",Y=>{const F=(0,E.mergeToken)(Y,{collapseHeaderPaddingSM:`${(0,P.unit)(Y.paddingXS)} ${(0,P.unit)(Y.paddingSM)}`,collapseHeaderPaddingLG:`${(0,P.unit)(Y.padding)} ${(0,P.unit)(Y.paddingLG)}`,collapsePanelBorderRadius:Y.borderRadiusLG});return[A(F),T(F),D(F),R(F),(0,S.Z)(F)]},k),V=Object.assign(t.forwardRef((Y,F)=>{const{getPrefixCls:K,direction:X,expandIcon:Q,className:W,style:N}=(0,_.dj)("collapse"),{prefixCls:J,className:M,rootClassName:Z,style:G,bordered:ee=!0,ghost:ie,size:se,expandIconPosition:le="start",children:de,expandIcon:He}=Y,ze=(0,p.Z)(Ie=>{var $e;return($e=se!=null?se:Ie)!==null&&$e!==void 0?$e:"middle"}),st=K("collapse",J),vt=K(),[Je,Ke,Re]=B(st),Ce=t.useMemo(()=>le==="left"?"start":le==="right"?"end":le,[le]),me=He!=null?He:Q,at=t.useCallback(function(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const $e=typeof me=="function"?me(Ie):t.createElement(r.Z,{rotate:Ie.isActive?X==="rtl"?-90:90:void 0,"aria-label":Ie.isActive?"expanded":"collapsed"});return(0,f.Tm)($e,()=>{var ft;return{className:a()((ft=$e==null?void 0:$e.props)===null||ft===void 0?void 0:ft.className,`${st}-arrow`)}})},[me,st]),ct=a()(`${st}-icon-position-${Ce}`,{[`${st}-borderless`]:!ee,[`${st}-rtl`]:X==="rtl",[`${st}-ghost`]:!!ie,[`${st}-${ze}`]:ze!=="middle"},W,M,Z,Ke,Re),St=Object.assign(Object.assign({},(0,o.Z)(vt)),{motionAppear:!1,leavedClassName:`${st}-content-hidden`}),bt=t.useMemo(()=>de?(0,u.Z)(de).map((Ie,$e)=>{var ft,Me;const ye=Ie.props;if(ye!=null&&ye.disabled){const fe=(ft=Ie.key)!==null&&ft!==void 0?ft:String($e),Oe=Object.assign(Object.assign({},(0,c.Z)(Ie.props,["disabled"])),{key:fe,collapsible:(Me=ye.collapsible)!==null&&Me!==void 0?Me:"disabled"});return(0,f.Tm)(Ie,Oe)}return Ie}):null,[de]);return Je(t.createElement(s.default,Object.assign({ref:F,openMotion:St},(0,c.Z)(Y,["rootClassName"]),{expandIcon:at,prefixCls:st,className:ct,style:Object.assign(Object.assign({},N),G)}),bt))}),{Panel:g}),H=V},6074:function(i,d,e){"use strict";e.d(d,{Ot:function(){return a},y9:function(){return u}});var t=e(38705),r=e(17212),n=e(76196);const a=(c,o)=>(c==null?void 0:c.replace(/[^\w/]/g,"").slice(0,o?8:6))||"",s=(c,o)=>c?a(c,o):"";let u=function(){function c(o){(0,t.Z)(this,c);var f;if(this.cleared=!1,o instanceof c){this.metaColor=o.metaColor.clone(),this.colors=(f=o.colors)===null||f===void 0?void 0:f.map(p=>({color:new c(p.color),percent:p.percent})),this.cleared=o.cleared;return}const _=Array.isArray(o);_&&o.length?(this.colors=o.map(p=>{let{color:x,percent:g}=p;return{color:new c(x),percent:g}}),this.metaColor=new n.Color(this.colors[0].color.metaColor)):this.metaColor=new n.Color(_?"":o),(!o||_&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return(0,r.Z)(c,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return s(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:f}=this;return f?`linear-gradient(90deg, ${f.map(p=>`${p.color.toRgbString()} ${p.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(f){return!f||this.isGradient()!==f.isGradient()?!1:this.isGradient()?this.colors.length===f.colors.length&&this.colors.every((_,p)=>{const x=f.colors[p];return _.percent===x.percent&&_.color.equals(x.color)}):this.toHexString()===f.toHexString()}}])}()},88911:function(i,d,e){"use strict";e.d(d,{U:function(){return p}});var t=e(59301),r=e(76196),n=e(92310),a=e.n(n),s=e(18929),u=e(8848),c=e(9017),o=e(57700),f=e(30761);const _=P=>P.map(O=>(O.colors=O.colors.map(f.vC),O)),p=(P,O)=>{const{r:S,g:I,b:E,a:A}=P.toRgb(),R=new r.Color(P.toRgbString()).onBackground(O).toHsv();return A<=.5?R.v>.5:S*.299+I*.587+E*.114>192},x=(P,O)=>{var S;return`panel-${(S=P.key)!==null&&S!==void 0?S:O}`},g=P=>{let{prefixCls:O,presets:S,value:I,onChange:E}=P;const[A]=(0,c.Z)("ColorPicker"),[,R]=(0,o.ZP)(),[T]=(0,s.Z)(_(S),{value:_(S),postState:_}),D=`${O}-presets`,k=(0,t.useMemo)(()=>T.reduce((V,H,Y)=>{const{defaultOpen:F=!0}=H;return F&&V.push(x(H,Y)),V},[]),[T]),B=V=>{E==null||E(V)},j=T.map((V,H)=>{var Y;return{key:x(V,H),label:t.createElement("div",{className:`${D}-label`},V==null?void 0:V.label),children:t.createElement("div",{className:`${D}-items`},Array.isArray(V==null?void 0:V.colors)&&((Y=V.colors)===null||Y===void 0?void 0:Y.length)>0?V.colors.map((F,K)=>t.createElement(r.ColorBlock,{key:`preset-${K}-${F.toHexString()}`,color:(0,f.vC)(F).toRgbString(),prefixCls:O,className:a()(`${D}-color`,{[`${D}-color-checked`]:F.toHexString()===(I==null?void 0:I.toHexString()),[`${D}-color-bright`]:p(F,R.colorBgElevated)}),onClick:()=>B(F)})):t.createElement("span",{className:`${D}-empty`},A.presetEmpty))}});return t.createElement("div",{className:D},t.createElement(u.default,{defaultActiveKey:k,ghost:!0,items:j}))};d.Z=g},30761:function(i,d,e){"use strict";e.d(d,{AO:function(){return o},T7:function(){return c},lx:function(){return s},uZ:function(){return u},vC:function(){return a}});var t=e(77654),r=e(76196),n=e(6074);const a=f=>f instanceof n.y9?f:new n.y9(f),s=f=>Math.round(Number(f||0)),u=f=>s(f.toHsb().a*100),c=(f,_)=>{const p=f.toRgb();if(!p.r&&!p.g&&!p.b){const x=f.toHsb();return x.a=_||1,a(x)}return p.a=_||1,a(p)},o=(f,_)=>{const p=[{percent:0,color:f[0].color}].concat((0,t.Z)(f),[{percent:100,color:f[f.length-1].color}]);for(let x=0;x{let{children:s,disabled:u}=a;const c=t.useContext(r);return t.createElement(r.Provider,{value:u!=null?u:c},s)};d.Z=r},23069:function(i,d,e){"use strict";e.d(d,{q:function(){return n}});var t=e(59301);const r=t.createContext(void 0),n=a=>{let{children:s,size:u}=a;const c=t.useContext(r);return t.createElement(r.Provider,{value:u||c},s)};d.Z=r},11774:function(i,d,e){"use strict";e.d(d,{x:function(){return F}});var t=e(59301),r=e(4676),n=e.t(r,2),a=e(73001),s=e(11576),u=e(43749),c=e(85899),o=(0,c.Z)({},n),f=o.version,_=o.render,p=o.unmountComponentAtNode,x;try{var g=Number((f||"").split(".")[0]);g>=18&&(x=o.createRoot)}catch(K){}function P(K){var X=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;X&&(0,u.Z)(X)==="object"&&(X.usingClientEntryPoint=K)}var O="__rc_react_root__";function S(K,X){P(!0);var Q=X[O]||x(X);P(!1),Q.render(K),X[O]=Q}function I(K,X){_==null||_(K,X)}function E(K,X){}function A(K,X){if(x){S(K,X);return}I(K,X)}function R(K){return T.apply(this,arguments)}function T(){return T=(0,s.Z)((0,a.Z)().mark(function K(X){return(0,a.Z)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.abrupt("return",Promise.resolve().then(function(){var N;(N=X[O])===null||N===void 0||N.unmount(),delete X[O]}));case 1:case"end":return W.stop()}},K)})),T.apply(this,arguments)}function D(K){p(K)}function k(K){}function B(K){return j.apply(this,arguments)}function j(){return j=(0,s.Z)((0,a.Z)().mark(function K(X){return(0,a.Z)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(x===void 0){W.next=2;break}return W.abrupt("return",R(X));case 2:D(X);case 3:case"end":return W.stop()}},K)})),j.apply(this,arguments)}let H=(K,X)=>(A(K,X),()=>B(X));function Y(K){H=K}function F(){return H}},48755:function(i,d,e){"use strict";e.d(d,{E_:function(){return u},Rf:function(){return r},dj:function(){return f},oR:function(){return n},tr:function(){return a}});var t=e(59301);const r="ant",n="anticon",a=["outlined","borderless","filled","underlined"],s=(_,p)=>p||(_?`${r}-${_}`:r),u=t.createContext({getPrefixCls:s,iconPrefixCls:n}),{Consumer:c}=u,o={};function f(_){const p=t.useContext(u),{getPrefixCls:x,direction:g,getPopupContainer:P}=p,O=p[_];return Object.assign(Object.assign({classNames:o,styles:o},O),{getPrefixCls:x,direction:g,getPopupContainer:P})}},83397:function(i,d,e){"use strict";var t=e(57700);const r=n=>{const[,,,,a]=(0,t.ZP)();return a?`${n}-css-var`:""};d.Z=r},31756:function(i,d,e){"use strict";var t=e(59301),r=e(23069);const n=a=>{const s=t.useContext(r.Z);return t.useMemo(()=>a?typeof a=="string"?a!=null?a:s:typeof a=="function"?a(s):s:s,[a,s])};d.Z=n},60840:function(i,d,e){"use strict";e.d(d,{ZP:function(){return ye},w6:function(){return $e}});var t=e(59301),r=e.t(t,2),n=e(36237),a=e(18418),s=e(80547),u=e(24434),c=e(32383),o=e(98350),f=e(25012),_=e(22200);const p="internalMark";var g=fe=>{const{locale:Oe={},children:Ee,_ANT_MARK__:et}=fe;t.useEffect(()=>(0,f.f)(Oe==null?void 0:Oe.Modal),[Oe]);const mt=t.useMemo(()=>Object.assign(Object.assign({},Oe),{exist:!0}),[Oe]);return t.createElement(_.Z.Provider,{value:mt},Ee)},P=e(85981),O=e(42146),S=e(29796),I=e(90820),E=e(48755),A=e(68361),R=e(17835),T=e(47273),D=e(810);const k=`-ant-${Date.now()}-${Math.random()}`;function B(fe,Oe){const Ee={},et=(ge,lt)=>{let Qe=ge.clone();return Qe=(lt==null?void 0:lt(Qe))||Qe,Qe.toRgbString()},mt=(ge,lt)=>{const Qe=new R.FastColor(ge),Ve=(0,A.generate)(Qe.toRgbString());Ee[`${lt}-color`]=et(Qe),Ee[`${lt}-color-disabled`]=Ve[1],Ee[`${lt}-color-hover`]=Ve[4],Ee[`${lt}-color-active`]=Ve[6],Ee[`${lt}-color-outline`]=Qe.clone().setA(.2).toRgbString(),Ee[`${lt}-color-deprecated-bg`]=Ve[0],Ee[`${lt}-color-deprecated-border`]=Ve[2]};if(Oe.primaryColor){mt(Oe.primaryColor,"primary");const ge=new R.FastColor(Oe.primaryColor),lt=(0,A.generate)(ge.toRgbString());lt.forEach((Ve,it)=>{Ee[`primary-${it+1}`]=Ve}),Ee["primary-color-deprecated-l-35"]=et(ge,Ve=>Ve.lighten(35)),Ee["primary-color-deprecated-l-20"]=et(ge,Ve=>Ve.lighten(20)),Ee["primary-color-deprecated-t-20"]=et(ge,Ve=>Ve.tint(20)),Ee["primary-color-deprecated-t-50"]=et(ge,Ve=>Ve.tint(50)),Ee["primary-color-deprecated-f-12"]=et(ge,Ve=>Ve.setA(Ve.a*.12));const Qe=new R.FastColor(lt[0]);Ee["primary-color-active-deprecated-f-30"]=et(Qe,Ve=>Ve.setA(Ve.a*.3)),Ee["primary-color-active-deprecated-d-02"]=et(Qe,Ve=>Ve.darken(2))}return Oe.successColor&&mt(Oe.successColor,"success"),Oe.warningColor&&mt(Oe.warningColor,"warning"),Oe.errorColor&&mt(Oe.errorColor,"error"),Oe.infoColor&&mt(Oe.infoColor,"info"),` + `]:{borderRadius:0},[`> ${F}-item:last-child`]:{borderBottom:0},[`> ${F}-item > ${F}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${F}-item > ${F}-content > ${F}-content-box`]:{paddingTop:X}}}},D=Y=>{const{componentCls:F,paddingSM:K}=Y;return{[`${F}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${F}-item`]:{borderBottom:0,[`> ${F}-content`]:{backgroundColor:"transparent",border:0,[`> ${F}-content-box`]:{paddingBlock:K}}}}}},M=Y=>({headerPadding:`${Y.paddingSM}px ${Y.padding}px`,headerBg:Y.colorFillAlter,contentPadding:`${Y.padding}px 16px`,contentBg:Y.colorBgContainer});var B=(0,I.I$)("Collapse",Y=>{const F=(0,E.mergeToken)(Y,{collapseHeaderPaddingSM:`${(0,P.unit)(Y.paddingXS)} ${(0,P.unit)(Y.paddingSM)}`,collapseHeaderPaddingLG:`${(0,P.unit)(Y.padding)} ${(0,P.unit)(Y.paddingLG)}`,collapsePanelBorderRadius:Y.borderRadiusLG});return[A(F),T(F),D(F),R(F),(0,S.Z)(F)]},M),V=Object.assign(t.forwardRef((Y,F)=>{const{getPrefixCls:K,direction:X,expandIcon:Q,className:W,style:N}=(0,_.dj)("collapse"),{prefixCls:J,className:k,rootClassName:Z,style:G,bordered:ee=!0,ghost:ie,size:se,expandIconPosition:le="start",children:de,expandIcon:He}=Y,ze=(0,p.Z)(Ie=>{var $e;return($e=se!=null?se:Ie)!==null&&$e!==void 0?$e:"middle"}),st=K("collapse",J),vt=K(),[Je,Ke,Re]=B(st),Ce=t.useMemo(()=>le==="left"?"start":le==="right"?"end":le,[le]),me=He!=null?He:Q,at=t.useCallback(function(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const $e=typeof me=="function"?me(Ie):t.createElement(r.Z,{rotate:Ie.isActive?X==="rtl"?-90:90:void 0,"aria-label":Ie.isActive?"expanded":"collapsed"});return(0,f.Tm)($e,()=>{var ft;return{className:a()((ft=$e==null?void 0:$e.props)===null||ft===void 0?void 0:ft.className,`${st}-arrow`)}})},[me,st]),ct=a()(`${st}-icon-position-${Ce}`,{[`${st}-borderless`]:!ee,[`${st}-rtl`]:X==="rtl",[`${st}-ghost`]:!!ie,[`${st}-${ze}`]:ze!=="middle"},W,k,Z,Ke,Re),St=Object.assign(Object.assign({},(0,o.Z)(vt)),{motionAppear:!1,leavedClassName:`${st}-content-hidden`}),bt=t.useMemo(()=>de?(0,u.Z)(de).map((Ie,$e)=>{var ft,ke;const ye=Ie.props;if(ye!=null&&ye.disabled){const fe=(ft=Ie.key)!==null&&ft!==void 0?ft:String($e),Oe=Object.assign(Object.assign({},(0,c.Z)(Ie.props,["disabled"])),{key:fe,collapsible:(ke=ye.collapsible)!==null&&ke!==void 0?ke:"disabled"});return(0,f.Tm)(Ie,Oe)}return Ie}):null,[de]);return Je(t.createElement(s.default,Object.assign({ref:F,openMotion:St},(0,c.Z)(Y,["rootClassName"]),{expandIcon:at,prefixCls:st,className:ct,style:Object.assign(Object.assign({},N),G)}),bt))}),{Panel:g}),H=V},6074:function(i,d,e){"use strict";e.d(d,{Ot:function(){return a},y9:function(){return u}});var t=e(38705),r=e(17212),n=e(76196);const a=(c,o)=>(c==null?void 0:c.replace(/[^\w/]/g,"").slice(0,o?8:6))||"",s=(c,o)=>c?a(c,o):"";let u=function(){function c(o){(0,t.Z)(this,c);var f;if(this.cleared=!1,o instanceof c){this.metaColor=o.metaColor.clone(),this.colors=(f=o.colors)===null||f===void 0?void 0:f.map(p=>({color:new c(p.color),percent:p.percent})),this.cleared=o.cleared;return}const _=Array.isArray(o);_&&o.length?(this.colors=o.map(p=>{let{color:x,percent:g}=p;return{color:new c(x),percent:g}}),this.metaColor=new n.Color(this.colors[0].color.metaColor)):this.metaColor=new n.Color(_?"":o),(!o||_&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return(0,r.Z)(c,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return s(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:f}=this;return f?`linear-gradient(90deg, ${f.map(p=>`${p.color.toRgbString()} ${p.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(f){return!f||this.isGradient()!==f.isGradient()?!1:this.isGradient()?this.colors.length===f.colors.length&&this.colors.every((_,p)=>{const x=f.colors[p];return _.percent===x.percent&&_.color.equals(x.color)}):this.toHexString()===f.toHexString()}}])}()},88911:function(i,d,e){"use strict";e.d(d,{U:function(){return p}});var t=e(59301),r=e(76196),n=e(92310),a=e.n(n),s=e(18929),u=e(8848),c=e(9017),o=e(57700),f=e(30761);const _=P=>P.map(O=>(O.colors=O.colors.map(f.vC),O)),p=(P,O)=>{const{r:S,g:I,b:E,a:A}=P.toRgb(),R=new r.Color(P.toRgbString()).onBackground(O).toHsv();return A<=.5?R.v>.5:S*.299+I*.587+E*.114>192},x=(P,O)=>{var S;return`panel-${(S=P.key)!==null&&S!==void 0?S:O}`},g=P=>{let{prefixCls:O,presets:S,value:I,onChange:E}=P;const[A]=(0,c.Z)("ColorPicker"),[,R]=(0,o.ZP)(),[T]=(0,s.Z)(_(S),{value:_(S),postState:_}),D=`${O}-presets`,M=(0,t.useMemo)(()=>T.reduce((V,H,Y)=>{const{defaultOpen:F=!0}=H;return F&&V.push(x(H,Y)),V},[]),[T]),B=V=>{E==null||E(V)},j=T.map((V,H)=>{var Y;return{key:x(V,H),label:t.createElement("div",{className:`${D}-label`},V==null?void 0:V.label),children:t.createElement("div",{className:`${D}-items`},Array.isArray(V==null?void 0:V.colors)&&((Y=V.colors)===null||Y===void 0?void 0:Y.length)>0?V.colors.map((F,K)=>t.createElement(r.ColorBlock,{key:`preset-${K}-${F.toHexString()}`,color:(0,f.vC)(F).toRgbString(),prefixCls:O,className:a()(`${D}-color`,{[`${D}-color-checked`]:F.toHexString()===(I==null?void 0:I.toHexString()),[`${D}-color-bright`]:p(F,R.colorBgElevated)}),onClick:()=>B(F)})):t.createElement("span",{className:`${D}-empty`},A.presetEmpty))}});return t.createElement("div",{className:D},t.createElement(u.default,{defaultActiveKey:M,ghost:!0,items:j}))};d.Z=g},30761:function(i,d,e){"use strict";e.d(d,{AO:function(){return o},T7:function(){return c},lx:function(){return s},uZ:function(){return u},vC:function(){return a}});var t=e(77654),r=e(76196),n=e(6074);const a=f=>f instanceof n.y9?f:new n.y9(f),s=f=>Math.round(Number(f||0)),u=f=>s(f.toHsb().a*100),c=(f,_)=>{const p=f.toRgb();if(!p.r&&!p.g&&!p.b){const x=f.toHsb();return x.a=_||1,a(x)}return p.a=_||1,a(p)},o=(f,_)=>{const p=[{percent:0,color:f[0].color}].concat((0,t.Z)(f),[{percent:100,color:f[f.length-1].color}]);for(let x=0;x{let{children:s,disabled:u}=a;const c=t.useContext(r);return t.createElement(r.Provider,{value:u!=null?u:c},s)};d.Z=r},23069:function(i,d,e){"use strict";e.d(d,{q:function(){return n}});var t=e(59301);const r=t.createContext(void 0),n=a=>{let{children:s,size:u}=a;const c=t.useContext(r);return t.createElement(r.Provider,{value:u||c},s)};d.Z=r},11774:function(i,d,e){"use strict";e.d(d,{x:function(){return F}});var t=e(59301),r=e(4676),n=e.t(r,2),a=e(73001),s=e(11576),u=e(43749),c=e(85899),o=(0,c.Z)({},n),f=o.version,_=o.render,p=o.unmountComponentAtNode,x;try{var g=Number((f||"").split(".")[0]);g>=18&&(x=o.createRoot)}catch(K){}function P(K){var X=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;X&&(0,u.Z)(X)==="object"&&(X.usingClientEntryPoint=K)}var O="__rc_react_root__";function S(K,X){P(!0);var Q=X[O]||x(X);P(!1),Q.render(K),X[O]=Q}function I(K,X){_==null||_(K,X)}function E(K,X){}function A(K,X){if(x){S(K,X);return}I(K,X)}function R(K){return T.apply(this,arguments)}function T(){return T=(0,s.Z)((0,a.Z)().mark(function K(X){return(0,a.Z)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.abrupt("return",Promise.resolve().then(function(){var N;(N=X[O])===null||N===void 0||N.unmount(),delete X[O]}));case 1:case"end":return W.stop()}},K)})),T.apply(this,arguments)}function D(K){p(K)}function M(K){}function B(K){return j.apply(this,arguments)}function j(){return j=(0,s.Z)((0,a.Z)().mark(function K(X){return(0,a.Z)().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(x===void 0){W.next=2;break}return W.abrupt("return",R(X));case 2:D(X);case 3:case"end":return W.stop()}},K)})),j.apply(this,arguments)}let H=(K,X)=>(A(K,X),()=>B(X));function Y(K){H=K}function F(){return H}},48755:function(i,d,e){"use strict";e.d(d,{E_:function(){return u},Rf:function(){return r},dj:function(){return f},oR:function(){return n},tr:function(){return a}});var t=e(59301);const r="ant",n="anticon",a=["outlined","borderless","filled","underlined"],s=(_,p)=>p||(_?`${r}-${_}`:r),u=t.createContext({getPrefixCls:s,iconPrefixCls:n}),{Consumer:c}=u,o={};function f(_){const p=t.useContext(u),{getPrefixCls:x,direction:g,getPopupContainer:P}=p,O=p[_];return Object.assign(Object.assign({classNames:o,styles:o},O),{getPrefixCls:x,direction:g,getPopupContainer:P})}},83397:function(i,d,e){"use strict";var t=e(57700);const r=n=>{const[,,,,a]=(0,t.ZP)();return a?`${n}-css-var`:""};d.Z=r},31756:function(i,d,e){"use strict";var t=e(59301),r=e(23069);const n=a=>{const s=t.useContext(r.Z);return t.useMemo(()=>a?typeof a=="string"?a!=null?a:s:typeof a=="function"?a(s):s:s,[a,s])};d.Z=n},60840:function(i,d,e){"use strict";e.d(d,{ZP:function(){return ye},w6:function(){return $e}});var t=e(59301),r=e.t(t,2),n=e(36237),a=e(18418),s=e(80547),u=e(24434),c=e(32383),o=e(98350),f=e(25012),_=e(22200);const p="internalMark";var g=fe=>{const{locale:Oe={},children:Ee,_ANT_MARK__:et}=fe;t.useEffect(()=>(0,f.f)(Oe==null?void 0:Oe.Modal),[Oe]);const mt=t.useMemo(()=>Object.assign(Object.assign({},Oe),{exist:!0}),[Oe]);return t.createElement(_.Z.Provider,{value:mt},Ee)},P=e(85981),O=e(42146),S=e(29796),I=e(90820),E=e(48755),A=e(68361),R=e(17835),T=e(47273),D=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(fe,Oe){const Ee={},et=(ge,lt)=>{let Qe=ge.clone();return Qe=(lt==null?void 0:lt(Qe))||Qe,Qe.toRgbString()},mt=(ge,lt)=>{const Qe=new R.FastColor(ge),Ve=(0,A.generate)(Qe.toRgbString());Ee[`${lt}-color`]=et(Qe),Ee[`${lt}-color-disabled`]=Ve[1],Ee[`${lt}-color-hover`]=Ve[4],Ee[`${lt}-color-active`]=Ve[6],Ee[`${lt}-color-outline`]=Qe.clone().setA(.2).toRgbString(),Ee[`${lt}-color-deprecated-bg`]=Ve[0],Ee[`${lt}-color-deprecated-border`]=Ve[2]};if(Oe.primaryColor){mt(Oe.primaryColor,"primary");const ge=new R.FastColor(Oe.primaryColor),lt=(0,A.generate)(ge.toRgbString());lt.forEach((Ve,it)=>{Ee[`primary-${it+1}`]=Ve}),Ee["primary-color-deprecated-l-35"]=et(ge,Ve=>Ve.lighten(35)),Ee["primary-color-deprecated-l-20"]=et(ge,Ve=>Ve.lighten(20)),Ee["primary-color-deprecated-t-20"]=et(ge,Ve=>Ve.tint(20)),Ee["primary-color-deprecated-t-50"]=et(ge,Ve=>Ve.tint(50)),Ee["primary-color-deprecated-f-12"]=et(ge,Ve=>Ve.setA(Ve.a*.12));const Qe=new R.FastColor(lt[0]);Ee["primary-color-active-deprecated-f-30"]=et(Qe,Ve=>Ve.setA(Ve.a*.3)),Ee["primary-color-active-deprecated-d-02"]=et(Qe,Ve=>Ve.darken(2))}return Oe.successColor&&mt(Oe.successColor,"success"),Oe.warningColor&&mt(Oe.warningColor,"warning"),Oe.errorColor&&mt(Oe.errorColor,"error"),Oe.infoColor&&mt(Oe.infoColor,"info"),` :root { ${Object.keys(Ee).map(ge=>`--${fe}-${ge}: ${Ee[ge]};`).join(` `)} } - `.trim()}function j(fe,Oe){const Ee=B(fe,Oe);(0,T.Z)()&&(0,D.hq)(Ee,`${k}-dynamic-theme`)}var V=e(2171),H=e(23069);function Y(){const fe=(0,t.useContext)(V.Z),Oe=(0,t.useContext)(H.Z);return{componentDisabled:fe,componentSize:Oe}}var F=Y,K=e(13697);const X=Object.assign({},r),{useId:Q}=X;var J=typeof Q=="undefined"?()=>"":Q;function M(fe,Oe,Ee){var et,mt;const pe=(0,c.ln)("ConfigProvider"),ge=fe||{},lt=ge.inherit===!1||!Oe?Object.assign(Object.assign({},S.u_),{hashed:(et=Oe==null?void 0:Oe.hashed)!==null&&et!==void 0?et:S.u_.hashed,cssVar:Oe==null?void 0:Oe.cssVar}):Oe,Qe=J();return(0,s.Z)(()=>{var Ve,it;if(!fe)return Oe;const Dt=Object.assign({},lt.components);Object.keys(fe.components||{}).forEach(je=>{Dt[je]=Object.assign(Object.assign({},Dt[je]),fe.components[je])});const Yt=`css-var-${Qe.replace(/:/g,"")}`,Se=((Ve=ge.cssVar)!==null&&Ve!==void 0?Ve:lt.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:Ee==null?void 0:Ee.prefixCls},typeof lt.cssVar=="object"?lt.cssVar:{}),typeof ge.cssVar=="object"?ge.cssVar:{}),{key:typeof ge.cssVar=="object"&&((it=ge.cssVar)===null||it===void 0?void 0:it.key)||Yt});return Object.assign(Object.assign(Object.assign({},lt),ge),{token:Object.assign(Object.assign({},lt.token),ge.token),components:Dt,cssVar:Se})},[ge,lt],(Ve,it)=>Ve.some((Dt,Yt)=>{const Se=it[Yt];return!(0,K.Z)(Dt,Se,!0)}))}var Z=e(77900),G=e(57700);function ee(fe){const{children:Oe}=fe,[,Ee]=(0,G.ZP)(),{motion:et}=Ee,mt=t.useRef(!1);return mt.current=mt.current||et===!1,mt.current?t.createElement(Z.Provider,{motion:et},Oe):Oe}const ie=null;var se=()=>null,le=e(63356),He=(fe,Oe)=>{const[Ee,et]=(0,G.ZP)();return(0,n.useStyleRegister)({theme:Ee,token:et,hashId:"",path:["ant-design-icons",fe],nonce:()=>Oe==null?void 0:Oe.nonce,layer:{name:"antd"}},()=>[(0,le.JT)(fe)])},ze=function(fe,Oe){var Ee={};for(var et in fe)Object.prototype.hasOwnProperty.call(fe,et)&&Oe.indexOf(et)<0&&(Ee[et]=fe[et]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,et=Object.getOwnPropertySymbols(fe);mtOe.endsWith("Color"))}const Ie=fe=>{const{prefixCls:Oe,iconPrefixCls:Ee,theme:et,holderRender:mt}=fe;Oe!==void 0&&(Re=Oe),Ee!==void 0&&(Ce=Ee),"holderRender"in fe&&(at=mt),et&&(bt(et)?j(ct(),et):me=et)},$e=()=>({getPrefixCls:(fe,Oe)=>Oe||(fe?`${ct()}-${fe}`:ct()),getIconPrefixCls:St,getRootPrefixCls:()=>Re||ct(),getTheme:()=>me,holderRender:at}),ft=fe=>{const{children:Oe,csp:Ee,autoInsertSpaceInButton:et,alert:mt,anchor:pe,form:ge,locale:lt,componentSize:Qe,direction:Ve,space:it,splitter:Dt,virtual:Yt,dropdownMatchSelectWidth:Se,popupMatchSelectWidth:je,popupOverflow:Be,legacyLocale:ht,parentContext:At,iconPrefixCls:ce,theme:_t,componentDisabled:qt,segmented:Ht,statistic:Ut,spin:cr,calendar:Ze,carousel:dt,cascader:Mt,collapse:ar,typography:$t,checkbox:pr,descriptions:Ir,divider:Mr,drawer:er,skeleton:Nt,steps:Kt,image:Qt,layout:Cr,list:Er,mentions:wt,modal:qe,progress:Ue,result:Le,slider:rt,breadcrumb:Tt,menu:Lt,pagination:gr,input:yr,textArea:Ur,empty:bn,badge:sr,radio:_n,rate:on,switch:Fe,transfer:Ne,avatar:en,message:pn,tag:ha,table:ma,card:On,tabs:za,timeline:ja,timePicker:gn,upload:Va,notification:va,tree:_o,colorPicker:no,datePicker:Ja,rangePicker:Za,flex:No,wave:ya,dropdown:na,warning:En,tour:wa,tooltip:Pe,popover:$n,popconfirm:aa,floatButtonGroup:yo,variant:ai,inputNumber:Wa,treeSelect:Ha}=fe,De=t.useCallback((sn,nt)=>{const{prefixCls:be}=fe;if(nt)return nt;const ue=be||At.getPrefixCls("");return sn?`${ue}-${sn}`:ue},[At.getPrefixCls,fe.prefixCls]),xe=ce||At.iconPrefixCls||E.oR,Xe=Ee||At.csp;He(xe,Xe);const q=M(_t,At.theme,{prefixCls:De("")}),It={csp:Xe,autoInsertSpaceInButton:et,alert:mt,anchor:pe,locale:lt||ht,direction:Ve,space:it,splitter:Dt,virtual:Yt,popupMatchSelectWidth:je!=null?je:Se,popupOverflow:Be,getPrefixCls:De,iconPrefixCls:xe,theme:q,segmented:Ht,statistic:Ut,spin:cr,calendar:Ze,carousel:dt,cascader:Mt,collapse:ar,typography:$t,checkbox:pr,descriptions:Ir,divider:Mr,drawer:er,skeleton:Nt,steps:Kt,image:Qt,input:yr,textArea:Ur,layout:Cr,list:Er,mentions:wt,modal:qe,progress:Ue,result:Le,slider:rt,breadcrumb:Tt,menu:Lt,pagination:gr,empty:bn,badge:sr,radio:_n,rate:on,switch:Fe,transfer:Ne,avatar:en,message:pn,tag:ha,table:ma,card:On,tabs:za,timeline:ja,timePicker:gn,upload:Va,notification:va,tree:_o,colorPicker:no,datePicker:Ja,rangePicker:Za,flex:No,wave:ya,dropdown:na,warning:En,tour:wa,tooltip:Pe,popover:$n,popconfirm:aa,floatButtonGroup:yo,variant:ai,inputNumber:Wa,treeSelect:Ha},Jt=Object.assign({},At);Object.keys(It).forEach(sn=>{It[sn]!==void 0&&(Jt[sn]=It[sn])}),Ke.forEach(sn=>{const nt=fe[sn];nt&&(Jt[sn]=nt)}),typeof et!="undefined"&&(Jt.button=Object.assign({autoInsertSpace:et},Jt.button));const Pr=(0,s.Z)(()=>Jt,Jt,(sn,nt)=>{const be=Object.keys(sn),ue=Object.keys(nt);return be.length!==ue.length||be.some(Ye=>sn[Ye]!==nt[Ye])}),{layer:Rr}=t.useContext(n.StyleContext),Sr=t.useMemo(()=>({prefixCls:xe,csp:Xe,layer:Rr?"antd":void 0}),[xe,Xe,Rr]);let Gr=t.createElement(t.Fragment,null,t.createElement(se,{dropdownMatchSelectWidth:Se}),Oe);const ea=t.useMemo(()=>{var sn,nt,be,ue;return(0,u.T)(((sn=P.Z.Form)===null||sn===void 0?void 0:sn.defaultValidateMessages)||{},((be=(nt=Pr.locale)===null||nt===void 0?void 0:nt.Form)===null||be===void 0?void 0:be.defaultValidateMessages)||{},((ue=Pr.form)===null||ue===void 0?void 0:ue.validateMessages)||{},(ge==null?void 0:ge.validateMessages)||{})},[Pr,ge==null?void 0:ge.validateMessages]);Object.keys(ea).length>0&&(Gr=t.createElement(o.Z.Provider,{value:ea},Gr)),lt&&(Gr=t.createElement(g,{locale:lt,_ANT_MARK__:p},Gr)),(xe||Xe)&&(Gr=t.createElement(a.Z.Provider,{value:Sr},Gr)),Qe&&(Gr=t.createElement(H.q,{size:Qe},Gr)),Gr=t.createElement(ee,null,Gr);const kr=t.useMemo(()=>{const sn=q||{},{algorithm:nt,token:be,components:ue,cssVar:Ye}=sn,ke=ze(sn,["algorithm","token","components","cssVar"]),yt=nt&&(!Array.isArray(nt)||nt.length>0)?(0,n.createTheme)(nt):O.Z,xt={};Object.entries(ue||{}).forEach(hr=>{let[xr,or]=hr;const wr=Object.assign({},or);"algorithm"in wr&&(wr.algorithm===!0?wr.theme=yt:(Array.isArray(wr.algorithm)||typeof wr.algorithm=="function")&&(wr.theme=(0,n.createTheme)(wr.algorithm)),delete wr.algorithm),xt[xr]=wr});const Zt=Object.assign(Object.assign({},I.Z),be);return Object.assign(Object.assign({},ke),{theme:yt,token:Zt,components:xt,override:Object.assign({override:Zt},xt),cssVar:Ye})},[q]);return _t&&(Gr=t.createElement(S.Mj.Provider,{value:kr},Gr)),Pr.warning&&(Gr=t.createElement(c.G8.Provider,{value:Pr.warning},Gr)),qt!==void 0&&(Gr=t.createElement(V.n,{disabled:qt},Gr)),t.createElement(E.E_.Provider,{value:Pr},Gr)},Me=fe=>{const Oe=t.useContext(E.E_),Ee=t.useContext(_.Z);return t.createElement(ft,Object.assign({parentContext:Oe,legacyLocale:Ee},fe))};Me.ConfigContext=E.E_,Me.SizeContext=H.Z,Me.config=Ie,Me.useConfig=F,Object.defineProperty(Me,"SizeContext",{get:()=>H.Z});var ye=Me},57428:function(i,d,e){"use strict";e.d(d,{Z:function(){return c}});var t=e(85899),r=e(75319),n=(0,t.Z)((0,t.Z)({},r.z),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),a=n,s=e(303),c={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},a),timePickerLocale:Object.assign({},s.Z)}},56553:function(i,d,e){"use strict";e.d(d,{RV:function(){return u},Rk:function(){return c},Ux:function(){return f},aM:function(){return o},pg:function(){return _},q3:function(){return a},qI:function(){return s}});var t=e(59301),r=e(69180),n=e(2738);const a=t.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=t.createContext(null),u=p=>{const x=(0,n.Z)(p,["prefixCls"]);return t.createElement(r.FormProvider,Object.assign({},x))},c=t.createContext({prefixCls:""}),o=t.createContext({}),f=p=>{let{children:x,status:g,override:P}=p;const O=t.useContext(o),S=t.useMemo(()=>{const I=Object.assign({},O);return P&&delete I.isFormItemInput,g&&(delete I.status,delete I.hasFeedback,delete I.feedbackIcon),I},[g,P,O]);return t.createElement(o.Provider,{value:S},x)},_=t.createContext(void 0)},98350:function(i,d,e){"use strict";var t=e(59301);d.Z=(0,t.createContext)(void 0)},98283:function(i,d,e){"use strict";var t=e(59301);const r=(0,t.createContext)({});d.Z=r},5472:function(i,d,e){"use strict";var t=e(59301),r=e(92310),n=e.n(r),a=e(48755),s=e(98283),u=e(26705),c=function(p,x){var g={};for(var P in p)Object.prototype.hasOwnProperty.call(p,P)&&x.indexOf(P)<0&&(g[P]=p[P]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,P=Object.getOwnPropertySymbols(p);O{const{getPrefixCls:g,direction:P}=t.useContext(a.E_),{gutter:O,wrap:S}=t.useContext(s.Z),{prefixCls:I,span:E,order:A,offset:R,push:T,pull:D,className:k,children:B,flex:j,style:V}=p,H=c(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Y=g("col",I),[F,K,X]=(0,u.cG)(Y),Q={};let W={};f.forEach(M=>{let Z={};const G=p[M];typeof G=="number"?Z.span=G:typeof G=="object"&&(Z=G||{}),delete H[M],W=Object.assign(Object.assign({},W),{[`${Y}-${M}-${Z.span}`]:Z.span!==void 0,[`${Y}-${M}-order-${Z.order}`]:Z.order||Z.order===0,[`${Y}-${M}-offset-${Z.offset}`]:Z.offset||Z.offset===0,[`${Y}-${M}-push-${Z.push}`]:Z.push||Z.push===0,[`${Y}-${M}-pull-${Z.pull}`]:Z.pull||Z.pull===0,[`${Y}-rtl`]:P==="rtl"}),Z.flex&&(W[`${Y}-${M}-flex`]=!0,Q[`--${Y}-${M}-flex`]=o(Z.flex))});const N=n()(Y,{[`${Y}-${E}`]:E!==void 0,[`${Y}-order-${A}`]:A,[`${Y}-offset-${R}`]:R,[`${Y}-push-${T}`]:T,[`${Y}-pull-${D}`]:D},k,W,K,X),J={};if(O&&O[0]>0){const M=O[0]/2;J.paddingLeft=M,J.paddingRight=M}return j&&(J.flex=o(j),S===!1&&!J.minWidth&&(J.minWidth=0)),F(t.createElement("div",Object.assign({},H,{style:Object.assign(Object.assign(Object.assign({},J),V),Q),className:N,ref:x}),B))});d.Z=_},13783:function(i,d,e){"use strict";var t=e(59301),r=e(34280),n=e(40192),a=e(47999);function s(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(0,t.useRef)(c),f=(0,n.Z)(),_=(0,a.ZP)();return(0,r.Z)(()=>{const p=_.subscribe(x=>{o.current=x,u&&f()});return()=>_.unsubscribe(p)},[]),o.current}d.Z=s},65970:function(i,d,e){"use strict";e.d(d,{Z:function(){return O}});var t=e(59301),r=e(92310),n=e.n(r),a=e(47999),s=e(48755),u=e(13783);function c(S,I){const E=[void 0,void 0],A=Array.isArray(S)?S:[S,void 0],R=I||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return A.forEach((T,D)=>{if(typeof T=="object"&&T!==null)for(let k=0;k{if(typeof S=="string"&&A(S),typeof S=="object")for(let T=0;T{R()},[JSON.stringify(S),I]),E}var O=t.forwardRef((S,I)=>{const{prefixCls:E,justify:A,align:R,className:T,style:D,children:k,gutter:B=0,wrap:j}=S,V=_(S,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:H,direction:Y}=t.useContext(s.E_),F=(0,u.Z)(!0,null),K=g(R,F),X=g(A,F),Q=H("row",E),[W,N,J]=(0,f.VM)(Q),M=c(B,F),Z=n()(Q,{[`${Q}-no-wrap`]:j===!1,[`${Q}-${X}`]:X,[`${Q}-${K}`]:K,[`${Q}-rtl`]:Y==="rtl"},T,N,J),G={},ee=M[0]!=null&&M[0]>0?M[0]/-2:void 0;ee&&(G.marginLeft=ee,G.marginRight=ee);const[ie,se]=M;G.rowGap=se;const le=t.useMemo(()=>({gutter:[ie,se],wrap:j}),[ie,se,j]);return W(t.createElement(o.Z.Provider,{value:le},t.createElement("div",Object.assign({},V,{className:Z,style:Object.assign(Object.assign({},G),D),ref:I}),k)))})},26705:function(i,d,e){"use strict";e.d(d,{VM:function(){return p},cG:function(){return g},hd:function(){return x}});var t=e(36237),r=e(16931),n=e(51636);const a=P=>{const{componentCls:O}=P;return{[O]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},s=P=>{const{componentCls:O}=P;return{[O]:{position:"relative",maxWidth:"100%",minHeight:1}}},u=(P,O)=>{const{prefixCls:S,componentCls:I,gridColumns:E}=P,A={};for(let R=E;R>=0;R--)R===0?(A[`${I}${O}-${R}`]={display:"none"},A[`${I}-push-${R}`]={insetInlineStart:"auto"},A[`${I}-pull-${R}`]={insetInlineEnd:"auto"},A[`${I}${O}-push-${R}`]={insetInlineStart:"auto"},A[`${I}${O}-pull-${R}`]={insetInlineEnd:"auto"},A[`${I}${O}-offset-${R}`]={marginInlineStart:0},A[`${I}${O}-order-${R}`]={order:0}):(A[`${I}${O}-${R}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${R/E*100}%`,maxWidth:`${R/E*100}%`}],A[`${I}${O}-push-${R}`]={insetInlineStart:`${R/E*100}%`},A[`${I}${O}-pull-${R}`]={insetInlineEnd:`${R/E*100}%`},A[`${I}${O}-offset-${R}`]={marginInlineStart:`${R/E*100}%`},A[`${I}${O}-order-${R}`]={order:R});return A[`${I}${O}-flex`]={flex:`var(--${S}${O}-flex)`},A},c=(P,O)=>u(P,O),o=(P,O,S)=>({[`@media (min-width: ${(0,t.unit)(O)})`]:Object.assign({},c(P,S))}),f=()=>({}),_=()=>({}),p=(0,r.I$)("Grid",a,f),x=P=>({xs:P.screenXSMin,sm:P.screenSMMin,md:P.screenMDMin,lg:P.screenLGMin,xl:P.screenXLMin,xxl:P.screenXXLMin}),g=(0,r.I$)("Grid",P=>{const O=(0,n.mergeToken)(P,{gridColumns:24}),S=x(O);return delete S.xs,[s(O),c(O,""),c(O,"-xs"),Object.keys(S).map(I=>o(O,S[I],`-${I}`)).reduce((I,E)=>Object.assign(Object.assign({},I),E),{})]},_)},22200:function(i,d,e){"use strict";var t=e(59301);const r=(0,t.createContext)(void 0);d.Z=r},85981:function(i,d,e){"use strict";e.d(d,{Z:function(){return c}});var t=e(61852),r=e(57428),n=r.Z,a=e(303);const s="${label} is not a valid ${type}";var c={locale:"en",Pagination:t.Z,DatePicker:r.Z,TimePicker:a.Z,Calendar:n,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},9017:function(i,d,e){"use strict";var t=e(59301),r=e(22200),n=e(85981);const a=(s,u)=>{const c=t.useContext(r.Z),o=t.useMemo(()=>{var _;const p=u||n.Z[s],x=(_=c==null?void 0:c[s])!==null&&_!==void 0?_:{};return Object.assign(Object.assign({},typeof p=="function"?p():p),x||{})},[s,u,c]),f=t.useMemo(()=>{const _=c==null?void 0:c.locale;return c!=null&&c.exist&&!_?n.Z.locale:_},[c]);return[o,f]};d.Z=a},27813:function(i,d,e){"use strict";e.d(d,{Z:function(){return g}});var t=e(17119),r=e(85899),n=e(75319),a=(0,r.Z)((0,r.Z)({},n.z),{},{locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",week:"\u5468",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA",yearFormat:"YYYY\u5E74",cellDateFormat:"D",monthBeforeYear:!1}),s=a,c={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const o={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},s),timePickerLocale:Object.assign({},c)};o.lang.ok="\u786E\u5B9A";var f=o,_=f;const p="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var g={locale:"zh-cn",Pagination:t.Z,DatePicker:f,TimePicker:c,Calendar:_,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckAll:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",emptyText:"\u6682\u65E0\u6570\u636E",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",deselectAll:"\u53D6\u6D88\u5168\u9009",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00",collapse:"\u6536\u8D77"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:p,method:p,array:p,object:p,number:p,date:p,boolean:p,integer:p,float:p,regexp:p,email:p,url:p,hex:p},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},ColorPicker:{presetEmpty:"\u6682\u65E0",transparent:"\u65E0\u8272",singleColor:"\u5355\u8272",gradientColor:"\u6E10\u53D8\u8272"}}},6767:function(i,d,e){"use strict";e.d(d,{ZP:function(){return Me}});var t=e(77654),r=e(59301),n=e(17004),a=e(48755),s=e(60840),u=e(11774),c=e(29679),o=e(19248),f=e(96512),_=e(78987),p=e(58617),x=e(92310),g=e.n(x),P=e(40271),O=e(83397),S=e(36237),I=e(75030),E=e(63356),A=e(16931),R=e(51636);const T=ye=>{const{componentCls:fe,iconCls:Oe,boxShadow:Ee,colorText:et,colorSuccess:mt,colorError:pe,colorWarning:ge,colorInfo:lt,fontSizeLG:Qe,motionEaseInOutCirc:Ve,motionDurationSlow:it,marginXS:Dt,paddingXS:Yt,borderRadiusLG:Se,zIndexPopup:je,contentPadding:Be,contentBg:ht}=ye,At=`${fe}-notice`,ce=new S.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Yt,transform:"translateY(0)",opacity:1}}),_t=new S.Keyframes("MessageMoveOut",{"0%":{maxHeight:ye.height,padding:Yt,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),qt={padding:Yt,textAlign:"center",[`${fe}-custom-content`]:{display:"flex",alignItems:"center"},[`${fe}-custom-content > ${Oe}`]:{marginInlineEnd:Dt,fontSize:Qe},[`${At}-content`]:{display:"inline-block",padding:Be,background:ht,borderRadius:Se,boxShadow:Ee,pointerEvents:"all"},[`${fe}-success > ${Oe}`]:{color:mt},[`${fe}-error > ${Oe}`]:{color:pe},[`${fe}-warning > ${Oe}`]:{color:ge},[`${fe}-info > ${Oe}, + `.trim()}function j(fe,Oe){const Ee=B(fe,Oe);(0,T.Z)()&&(0,D.hq)(Ee,`${M}-dynamic-theme`)}var V=e(2171),H=e(23069);function Y(){const fe=(0,t.useContext)(V.Z),Oe=(0,t.useContext)(H.Z);return{componentDisabled:fe,componentSize:Oe}}var F=Y,K=e(13697);const X=Object.assign({},r),{useId:Q}=X;var J=typeof Q=="undefined"?()=>"":Q;function k(fe,Oe,Ee){var et,mt;const pe=(0,c.ln)("ConfigProvider"),ge=fe||{},lt=ge.inherit===!1||!Oe?Object.assign(Object.assign({},S.u_),{hashed:(et=Oe==null?void 0:Oe.hashed)!==null&&et!==void 0?et:S.u_.hashed,cssVar:Oe==null?void 0:Oe.cssVar}):Oe,Qe=J();return(0,s.Z)(()=>{var Ve,it;if(!fe)return Oe;const Dt=Object.assign({},lt.components);Object.keys(fe.components||{}).forEach(je=>{Dt[je]=Object.assign(Object.assign({},Dt[je]),fe.components[je])});const Yt=`css-var-${Qe.replace(/:/g,"")}`,Se=((Ve=ge.cssVar)!==null&&Ve!==void 0?Ve:lt.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:Ee==null?void 0:Ee.prefixCls},typeof lt.cssVar=="object"?lt.cssVar:{}),typeof ge.cssVar=="object"?ge.cssVar:{}),{key:typeof ge.cssVar=="object"&&((it=ge.cssVar)===null||it===void 0?void 0:it.key)||Yt});return Object.assign(Object.assign(Object.assign({},lt),ge),{token:Object.assign(Object.assign({},lt.token),ge.token),components:Dt,cssVar:Se})},[ge,lt],(Ve,it)=>Ve.some((Dt,Yt)=>{const Se=it[Yt];return!(0,K.Z)(Dt,Se,!0)}))}var Z=e(77900),G=e(57700);function ee(fe){const{children:Oe}=fe,[,Ee]=(0,G.ZP)(),{motion:et}=Ee,mt=t.useRef(!1);return mt.current=mt.current||et===!1,mt.current?t.createElement(Z.Provider,{motion:et},Oe):Oe}const ie=null;var se=()=>null,le=e(63356),He=(fe,Oe)=>{const[Ee,et]=(0,G.ZP)();return(0,n.useStyleRegister)({theme:Ee,token:et,hashId:"",path:["ant-design-icons",fe],nonce:()=>Oe==null?void 0:Oe.nonce,layer:{name:"antd"}},()=>[(0,le.JT)(fe)])},ze=function(fe,Oe){var Ee={};for(var et in fe)Object.prototype.hasOwnProperty.call(fe,et)&&Oe.indexOf(et)<0&&(Ee[et]=fe[et]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var mt=0,et=Object.getOwnPropertySymbols(fe);mtOe.endsWith("Color"))}const Ie=fe=>{const{prefixCls:Oe,iconPrefixCls:Ee,theme:et,holderRender:mt}=fe;Oe!==void 0&&(Re=Oe),Ee!==void 0&&(Ce=Ee),"holderRender"in fe&&(at=mt),et&&(bt(et)?j(ct(),et):me=et)},$e=()=>({getPrefixCls:(fe,Oe)=>Oe||(fe?`${ct()}-${fe}`:ct()),getIconPrefixCls:St,getRootPrefixCls:()=>Re||ct(),getTheme:()=>me,holderRender:at}),ft=fe=>{const{children:Oe,csp:Ee,autoInsertSpaceInButton:et,alert:mt,anchor:pe,form:ge,locale:lt,componentSize:Qe,direction:Ve,space:it,splitter:Dt,virtual:Yt,dropdownMatchSelectWidth:Se,popupMatchSelectWidth:je,popupOverflow:Be,legacyLocale:ht,parentContext:At,iconPrefixCls:ce,theme:_t,componentDisabled:qt,segmented:Ht,statistic:Ut,spin:cr,calendar:Ze,carousel:dt,cascader:kt,collapse:ar,typography:$t,checkbox:pr,descriptions:Ir,divider:kr,drawer:er,skeleton:Nt,steps:Kt,image:Qt,layout:Cr,list:Er,mentions:wt,modal:qe,progress:Ue,result:Le,slider:rt,breadcrumb:Tt,menu:Lt,pagination:gr,input:yr,textArea:Ur,empty:bn,badge:sr,radio:_n,rate:on,switch:Fe,transfer:Ne,avatar:en,message:pn,tag:ha,table:ma,card:On,tabs:za,timeline:ja,timePicker:gn,upload:Va,notification:va,tree:_o,colorPicker:no,datePicker:Ja,rangePicker:Za,flex:No,wave:ya,dropdown:na,warning:En,tour:wa,tooltip:Pe,popover:$n,popconfirm:aa,floatButtonGroup:yo,variant:ai,inputNumber:Wa,treeSelect:Ha}=fe,De=t.useCallback((sn,nt)=>{const{prefixCls:be}=fe;if(nt)return nt;const ue=be||At.getPrefixCls("");return sn?`${ue}-${sn}`:ue},[At.getPrefixCls,fe.prefixCls]),xe=ce||At.iconPrefixCls||E.oR,Xe=Ee||At.csp;He(xe,Xe);const q=k(_t,At.theme,{prefixCls:De("")}),It={csp:Xe,autoInsertSpaceInButton:et,alert:mt,anchor:pe,locale:lt||ht,direction:Ve,space:it,splitter:Dt,virtual:Yt,popupMatchSelectWidth:je!=null?je:Se,popupOverflow:Be,getPrefixCls:De,iconPrefixCls:xe,theme:q,segmented:Ht,statistic:Ut,spin:cr,calendar:Ze,carousel:dt,cascader:kt,collapse:ar,typography:$t,checkbox:pr,descriptions:Ir,divider:kr,drawer:er,skeleton:Nt,steps:Kt,image:Qt,input:yr,textArea:Ur,layout:Cr,list:Er,mentions:wt,modal:qe,progress:Ue,result:Le,slider:rt,breadcrumb:Tt,menu:Lt,pagination:gr,empty:bn,badge:sr,radio:_n,rate:on,switch:Fe,transfer:Ne,avatar:en,message:pn,tag:ha,table:ma,card:On,tabs:za,timeline:ja,timePicker:gn,upload:Va,notification:va,tree:_o,colorPicker:no,datePicker:Ja,rangePicker:Za,flex:No,wave:ya,dropdown:na,warning:En,tour:wa,tooltip:Pe,popover:$n,popconfirm:aa,floatButtonGroup:yo,variant:ai,inputNumber:Wa,treeSelect:Ha},Jt=Object.assign({},At);Object.keys(It).forEach(sn=>{It[sn]!==void 0&&(Jt[sn]=It[sn])}),Ke.forEach(sn=>{const nt=fe[sn];nt&&(Jt[sn]=nt)}),typeof et!="undefined"&&(Jt.button=Object.assign({autoInsertSpace:et},Jt.button));const Pr=(0,s.Z)(()=>Jt,Jt,(sn,nt)=>{const be=Object.keys(sn),ue=Object.keys(nt);return be.length!==ue.length||be.some(Ye=>sn[Ye]!==nt[Ye])}),{layer:Rr}=t.useContext(n.StyleContext),Sr=t.useMemo(()=>({prefixCls:xe,csp:Xe,layer:Rr?"antd":void 0}),[xe,Xe,Rr]);let Gr=t.createElement(t.Fragment,null,t.createElement(se,{dropdownMatchSelectWidth:Se}),Oe);const ea=t.useMemo(()=>{var sn,nt,be,ue;return(0,u.T)(((sn=P.Z.Form)===null||sn===void 0?void 0:sn.defaultValidateMessages)||{},((be=(nt=Pr.locale)===null||nt===void 0?void 0:nt.Form)===null||be===void 0?void 0:be.defaultValidateMessages)||{},((ue=Pr.form)===null||ue===void 0?void 0:ue.validateMessages)||{},(ge==null?void 0:ge.validateMessages)||{})},[Pr,ge==null?void 0:ge.validateMessages]);Object.keys(ea).length>0&&(Gr=t.createElement(o.Z.Provider,{value:ea},Gr)),lt&&(Gr=t.createElement(g,{locale:lt,_ANT_MARK__:p},Gr)),(xe||Xe)&&(Gr=t.createElement(a.Z.Provider,{value:Sr},Gr)),Qe&&(Gr=t.createElement(H.q,{size:Qe},Gr)),Gr=t.createElement(ee,null,Gr);const Mr=t.useMemo(()=>{const sn=q||{},{algorithm:nt,token:be,components:ue,cssVar:Ye}=sn,Me=ze(sn,["algorithm","token","components","cssVar"]),yt=nt&&(!Array.isArray(nt)||nt.length>0)?(0,n.createTheme)(nt):O.Z,xt={};Object.entries(ue||{}).forEach(hr=>{let[xr,or]=hr;const wr=Object.assign({},or);"algorithm"in wr&&(wr.algorithm===!0?wr.theme=yt:(Array.isArray(wr.algorithm)||typeof wr.algorithm=="function")&&(wr.theme=(0,n.createTheme)(wr.algorithm)),delete wr.algorithm),xt[xr]=wr});const Zt=Object.assign(Object.assign({},I.Z),be);return Object.assign(Object.assign({},Me),{theme:yt,token:Zt,components:xt,override:Object.assign({override:Zt},xt),cssVar:Ye})},[q]);return _t&&(Gr=t.createElement(S.Mj.Provider,{value:Mr},Gr)),Pr.warning&&(Gr=t.createElement(c.G8.Provider,{value:Pr.warning},Gr)),qt!==void 0&&(Gr=t.createElement(V.n,{disabled:qt},Gr)),t.createElement(E.E_.Provider,{value:Pr},Gr)},ke=fe=>{const Oe=t.useContext(E.E_),Ee=t.useContext(_.Z);return t.createElement(ft,Object.assign({parentContext:Oe,legacyLocale:Ee},fe))};ke.ConfigContext=E.E_,ke.SizeContext=H.Z,ke.config=Ie,ke.useConfig=F,Object.defineProperty(ke,"SizeContext",{get:()=>H.Z});var ye=ke},57428:function(i,d,e){"use strict";e.d(d,{Z:function(){return c}});var t=e(85899),r=e(75319),n=(0,t.Z)((0,t.Z)({},r.z),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),a=n,s=e(303),c={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},a),timePickerLocale:Object.assign({},s.Z)}},56553:function(i,d,e){"use strict";e.d(d,{RV:function(){return u},Rk:function(){return c},Ux:function(){return f},aM:function(){return o},pg:function(){return _},q3:function(){return a},qI:function(){return s}});var t=e(59301),r=e(69180),n=e(2738);const a=t.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=t.createContext(null),u=p=>{const x=(0,n.Z)(p,["prefixCls"]);return t.createElement(r.FormProvider,Object.assign({},x))},c=t.createContext({prefixCls:""}),o=t.createContext({}),f=p=>{let{children:x,status:g,override:P}=p;const O=t.useContext(o),S=t.useMemo(()=>{const I=Object.assign({},O);return P&&delete I.isFormItemInput,g&&(delete I.status,delete I.hasFeedback,delete I.feedbackIcon),I},[g,P,O]);return t.createElement(o.Provider,{value:S},x)},_=t.createContext(void 0)},98350:function(i,d,e){"use strict";var t=e(59301);d.Z=(0,t.createContext)(void 0)},98283:function(i,d,e){"use strict";var t=e(59301);const r=(0,t.createContext)({});d.Z=r},5472:function(i,d,e){"use strict";var t=e(59301),r=e(92310),n=e.n(r),a=e(48755),s=e(98283),u=e(26705),c=function(p,x){var g={};for(var P in p)Object.prototype.hasOwnProperty.call(p,P)&&x.indexOf(P)<0&&(g[P]=p[P]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,P=Object.getOwnPropertySymbols(p);O{const{getPrefixCls:g,direction:P}=t.useContext(a.E_),{gutter:O,wrap:S}=t.useContext(s.Z),{prefixCls:I,span:E,order:A,offset:R,push:T,pull:D,className:M,children:B,flex:j,style:V}=p,H=c(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Y=g("col",I),[F,K,X]=(0,u.cG)(Y),Q={};let W={};f.forEach(k=>{let Z={};const G=p[k];typeof G=="number"?Z.span=G:typeof G=="object"&&(Z=G||{}),delete H[k],W=Object.assign(Object.assign({},W),{[`${Y}-${k}-${Z.span}`]:Z.span!==void 0,[`${Y}-${k}-order-${Z.order}`]:Z.order||Z.order===0,[`${Y}-${k}-offset-${Z.offset}`]:Z.offset||Z.offset===0,[`${Y}-${k}-push-${Z.push}`]:Z.push||Z.push===0,[`${Y}-${k}-pull-${Z.pull}`]:Z.pull||Z.pull===0,[`${Y}-rtl`]:P==="rtl"}),Z.flex&&(W[`${Y}-${k}-flex`]=!0,Q[`--${Y}-${k}-flex`]=o(Z.flex))});const N=n()(Y,{[`${Y}-${E}`]:E!==void 0,[`${Y}-order-${A}`]:A,[`${Y}-offset-${R}`]:R,[`${Y}-push-${T}`]:T,[`${Y}-pull-${D}`]:D},M,W,K,X),J={};if(O&&O[0]>0){const k=O[0]/2;J.paddingLeft=k,J.paddingRight=k}return j&&(J.flex=o(j),S===!1&&!J.minWidth&&(J.minWidth=0)),F(t.createElement("div",Object.assign({},H,{style:Object.assign(Object.assign(Object.assign({},J),V),Q),className:N,ref:x}),B))});d.Z=_},13783:function(i,d,e){"use strict";var t=e(59301),r=e(34280),n=e(40192),a=e(47999);function s(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=(0,t.useRef)(c),f=(0,n.Z)(),_=(0,a.ZP)();return(0,r.Z)(()=>{const p=_.subscribe(x=>{o.current=x,u&&f()});return()=>_.unsubscribe(p)},[]),o.current}d.Z=s},65970:function(i,d,e){"use strict";e.d(d,{Z:function(){return O}});var t=e(59301),r=e(92310),n=e.n(r),a=e(47999),s=e(48755),u=e(13783);function c(S,I){const E=[void 0,void 0],A=Array.isArray(S)?S:[S,void 0],R=I||{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0};return A.forEach((T,D)=>{if(typeof T=="object"&&T!==null)for(let M=0;M{if(typeof S=="string"&&A(S),typeof S=="object")for(let T=0;T{R()},[JSON.stringify(S),I]),E}var O=t.forwardRef((S,I)=>{const{prefixCls:E,justify:A,align:R,className:T,style:D,children:M,gutter:B=0,wrap:j}=S,V=_(S,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:H,direction:Y}=t.useContext(s.E_),F=(0,u.Z)(!0,null),K=g(R,F),X=g(A,F),Q=H("row",E),[W,N,J]=(0,f.VM)(Q),k=c(B,F),Z=n()(Q,{[`${Q}-no-wrap`]:j===!1,[`${Q}-${X}`]:X,[`${Q}-${K}`]:K,[`${Q}-rtl`]:Y==="rtl"},T,N,J),G={},ee=k[0]!=null&&k[0]>0?k[0]/-2:void 0;ee&&(G.marginLeft=ee,G.marginRight=ee);const[ie,se]=k;G.rowGap=se;const le=t.useMemo(()=>({gutter:[ie,se],wrap:j}),[ie,se,j]);return W(t.createElement(o.Z.Provider,{value:le},t.createElement("div",Object.assign({},V,{className:Z,style:Object.assign(Object.assign({},G),D),ref:I}),M)))})},26705:function(i,d,e){"use strict";e.d(d,{VM:function(){return p},cG:function(){return g},hd:function(){return x}});var t=e(36237),r=e(16931),n=e(51636);const a=P=>{const{componentCls:O}=P;return{[O]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},s=P=>{const{componentCls:O}=P;return{[O]:{position:"relative",maxWidth:"100%",minHeight:1}}},u=(P,O)=>{const{prefixCls:S,componentCls:I,gridColumns:E}=P,A={};for(let R=E;R>=0;R--)R===0?(A[`${I}${O}-${R}`]={display:"none"},A[`${I}-push-${R}`]={insetInlineStart:"auto"},A[`${I}-pull-${R}`]={insetInlineEnd:"auto"},A[`${I}${O}-push-${R}`]={insetInlineStart:"auto"},A[`${I}${O}-pull-${R}`]={insetInlineEnd:"auto"},A[`${I}${O}-offset-${R}`]={marginInlineStart:0},A[`${I}${O}-order-${R}`]={order:0}):(A[`${I}${O}-${R}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${R/E*100}%`,maxWidth:`${R/E*100}%`}],A[`${I}${O}-push-${R}`]={insetInlineStart:`${R/E*100}%`},A[`${I}${O}-pull-${R}`]={insetInlineEnd:`${R/E*100}%`},A[`${I}${O}-offset-${R}`]={marginInlineStart:`${R/E*100}%`},A[`${I}${O}-order-${R}`]={order:R});return A[`${I}${O}-flex`]={flex:`var(--${S}${O}-flex)`},A},c=(P,O)=>u(P,O),o=(P,O,S)=>({[`@media (min-width: ${(0,t.unit)(O)})`]:Object.assign({},c(P,S))}),f=()=>({}),_=()=>({}),p=(0,r.I$)("Grid",a,f),x=P=>({xs:P.screenXSMin,sm:P.screenSMMin,md:P.screenMDMin,lg:P.screenLGMin,xl:P.screenXLMin,xxl:P.screenXXLMin}),g=(0,r.I$)("Grid",P=>{const O=(0,n.mergeToken)(P,{gridColumns:24}),S=x(O);return delete S.xs,[s(O),c(O,""),c(O,"-xs"),Object.keys(S).map(I=>o(O,S[I],`-${I}`)).reduce((I,E)=>Object.assign(Object.assign({},I),E),{})]},_)},22200:function(i,d,e){"use strict";var t=e(59301);const r=(0,t.createContext)(void 0);d.Z=r},85981:function(i,d,e){"use strict";e.d(d,{Z:function(){return c}});var t=e(61852),r=e(57428),n=r.Z,a=e(303);const s="${label} is not a valid ${type}";var c={locale:"en",Pagination:t.Z,DatePicker:r.Z,TimePicker:a.Z,Calendar:n,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},9017:function(i,d,e){"use strict";var t=e(59301),r=e(22200),n=e(85981);const a=(s,u)=>{const c=t.useContext(r.Z),o=t.useMemo(()=>{var _;const p=u||n.Z[s],x=(_=c==null?void 0:c[s])!==null&&_!==void 0?_:{};return Object.assign(Object.assign({},typeof p=="function"?p():p),x||{})},[s,u,c]),f=t.useMemo(()=>{const _=c==null?void 0:c.locale;return c!=null&&c.exist&&!_?n.Z.locale:_},[c]);return[o,f]};d.Z=a},27813:function(i,d,e){"use strict";e.d(d,{Z:function(){return g}});var t=e(17119),r=e(85899),n=e(75319),a=(0,r.Z)((0,r.Z)({},n.z),{},{locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",week:"\u5468",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA",yearFormat:"YYYY\u5E74",cellDateFormat:"D",monthBeforeYear:!1}),s=a,c={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const o={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},s),timePickerLocale:Object.assign({},c)};o.lang.ok="\u786E\u5B9A";var f=o,_=f;const p="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var g={locale:"zh-cn",Pagination:t.Z,DatePicker:f,TimePicker:c,Calendar:_,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckAll:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",emptyText:"\u6682\u65E0\u6570\u636E",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",deselectAll:"\u53D6\u6D88\u5168\u9009",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00",collapse:"\u6536\u8D77"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:p,method:p,array:p,object:p,number:p,date:p,boolean:p,integer:p,float:p,regexp:p,email:p,url:p,hex:p},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0",scanned:"\u5DF2\u626B\u63CF"},ColorPicker:{presetEmpty:"\u6682\u65E0",transparent:"\u65E0\u8272",singleColor:"\u5355\u8272",gradientColor:"\u6E10\u53D8\u8272"}}},6767:function(i,d,e){"use strict";e.d(d,{ZP:function(){return ke}});var t=e(77654),r=e(59301),n=e(17004),a=e(48755),s=e(60840),u=e(11774),c=e(29679),o=e(19248),f=e(96512),_=e(78987),p=e(58617),x=e(92310),g=e.n(x),P=e(40271),O=e(83397),S=e(36237),I=e(75030),E=e(63356),A=e(16931),R=e(51636);const T=ye=>{const{componentCls:fe,iconCls:Oe,boxShadow:Ee,colorText:et,colorSuccess:mt,colorError:pe,colorWarning:ge,colorInfo:lt,fontSizeLG:Qe,motionEaseInOutCirc:Ve,motionDurationSlow:it,marginXS:Dt,paddingXS:Yt,borderRadiusLG:Se,zIndexPopup:je,contentPadding:Be,contentBg:ht}=ye,At=`${fe}-notice`,ce=new S.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Yt,transform:"translateY(0)",opacity:1}}),_t=new S.Keyframes("MessageMoveOut",{"0%":{maxHeight:ye.height,padding:Yt,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),qt={padding:Yt,textAlign:"center",[`${fe}-custom-content`]:{display:"flex",alignItems:"center"},[`${fe}-custom-content > ${Oe}`]:{marginInlineEnd:Dt,fontSize:Qe},[`${At}-content`]:{display:"inline-block",padding:Be,background:ht,borderRadius:Se,boxShadow:Ee,pointerEvents:"all"},[`${fe}-success > ${Oe}`]:{color:mt},[`${fe}-error > ${Oe}`]:{color:pe},[`${fe}-warning > ${Oe}`]:{color:ge},[`${fe}-info > ${Oe}, ${fe}-loading > ${Oe}`]:{color:lt}};return[{[fe]:Object.assign(Object.assign({},(0,E.Wf)(ye)),{color:et,position:"fixed",top:Dt,width:"100%",pointerEvents:"none",zIndex:je,[`${fe}-move-up`]:{animationFillMode:"forwards"},[` ${fe}-move-up-appear, ${fe}-move-up-enter `]:{animationName:ce,animationDuration:it,animationPlayState:"paused",animationTimingFunction:Ve},[` ${fe}-move-up-appear${fe}-move-up-appear-active, ${fe}-move-up-enter${fe}-move-up-enter-active - `]:{animationPlayState:"running"},[`${fe}-move-up-leave`]:{animationName:_t,animationDuration:it,animationPlayState:"paused",animationTimingFunction:Ve},[`${fe}-move-up-leave${fe}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[fe]:{[`${At}-wrapper`]:Object.assign({},qt)}},{[`${fe}-notice-pure-panel`]:Object.assign(Object.assign({},qt),{padding:0,textAlign:"start"})}]},D=ye=>({zIndexPopup:ye.zIndexPopupBase+I.u6+10,contentBg:ye.colorBgElevated,contentPadding:`${(ye.controlHeightLG-ye.fontSize*ye.lineHeight)/2}px ${ye.paddingSM}px`});var k=(0,A.I$)("Message",ye=>{const fe=(0,R.mergeToken)(ye,{height:150});return[T(fe)]},D),B=function(ye,fe){var Oe={};for(var Ee in ye)Object.prototype.hasOwnProperty.call(ye,Ee)&&fe.indexOf(Ee)<0&&(Oe[Ee]=ye[Ee]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ee=Object.getOwnPropertySymbols(ye);et{let{prefixCls:fe,type:Oe,icon:Ee,children:et}=ye;return r.createElement("div",{className:g()(`${fe}-custom-content`,`${fe}-${Oe}`)},Ee||j[Oe],r.createElement("span",null,et))};var Y=ye=>{const{prefixCls:fe,className:Oe,type:Ee,icon:et,content:mt}=ye,pe=B(ye,["prefixCls","className","type","icon","content"]),{getPrefixCls:ge}=r.useContext(a.E_),lt=fe||ge("message"),Qe=(0,O.Z)(lt),[Ve,it,Dt]=k(lt,Qe);return Ve(r.createElement(P.qX,Object.assign({},pe,{prefixCls:lt,className:g()(Oe,it,`${lt}-notice-pure-panel`,Dt,Qe),eventKey:"pure",duration:null,content:r.createElement(V,{prefixCls:lt,type:Ee,icon:et},mt)})))},F=e(99267),K=e(32383);function X(ye,fe){return{motionName:fe!=null?fe:`${ye}-move-up`}}function Q(ye){let fe;const Oe=new Promise(et=>{fe=ye(()=>{et(!0)})}),Ee=()=>{fe==null||fe()};return Ee.then=(et,mt)=>Oe.then(et,mt),Ee.promise=Oe,Ee}var W=function(ye,fe){var Oe={};for(var Ee in ye)Object.prototype.hasOwnProperty.call(ye,Ee)&&fe.indexOf(Ee)<0&&(Oe[Ee]=ye[Ee]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ee=Object.getOwnPropertySymbols(ye);et{let{children:fe,prefixCls:Oe}=ye;const Ee=(0,O.Z)(Oe),[et,mt,pe]=k(Oe,Ee);return et(r.createElement(P.JB,{classNames:{list:g()(mt,pe,Ee)}},fe))},Z=(ye,fe)=>{let{prefixCls:Oe,key:Ee}=fe;return r.createElement(M,{prefixCls:Oe,key:Ee},ye)},G=r.forwardRef((ye,fe)=>{const{top:Oe,prefixCls:Ee,getContainer:et,maxCount:mt,duration:pe=J,rtl:ge,transitionName:lt,onAllRemoved:Qe}=ye,{getPrefixCls:Ve,getPopupContainer:it,message:Dt,direction:Yt}=r.useContext(a.E_),Se=Ee||Ve("message"),je=()=>({left:"50%",transform:"translateX(-50%)",top:Oe!=null?Oe:N}),Be=()=>g()({[`${Se}-rtl`]:ge!=null?ge:Yt==="rtl"}),ht=()=>X(Se,lt),At=r.createElement("span",{className:`${Se}-close-x`},r.createElement(F.Z,{className:`${Se}-close-icon`})),[ce,_t]=(0,P.lm)({prefixCls:Se,style:je,className:Be,motion:ht,closable:!1,closeIcon:At,duration:pe,getContainer:()=>(et==null?void 0:et())||(it==null?void 0:it())||document.body,maxCount:mt,onAllRemoved:Qe,renderNotifications:Z});return r.useImperativeHandle(fe,()=>Object.assign(Object.assign({},ce),{prefixCls:Se,message:Dt})),_t});let ee=0;function ie(ye){const fe=r.useRef(null),Oe=(0,K.ln)("Message");return[r.useMemo(()=>{const et=Qe=>{var Ve;(Ve=fe.current)===null||Ve===void 0||Ve.close(Qe)},mt=Qe=>{if(!fe.current){const Ut=()=>{};return Ut.then=()=>{},Ut}const{open:Ve,prefixCls:it,message:Dt}=fe.current,Yt=`${it}-notice`,{content:Se,icon:je,type:Be,key:ht,className:At,style:ce,onClose:_t}=Qe,qt=W(Qe,["content","icon","type","key","className","style","onClose"]);let Ht=ht;return Ht==null&&(ee+=1,Ht=`antd-message-${ee}`),Q(Ut=>(Ve(Object.assign(Object.assign({},qt),{key:Ht,content:r.createElement(V,{prefixCls:it,type:Be,icon:je},Se),placement:"top",className:g()(Be&&`${Yt}-${Be}`,At,Dt==null?void 0:Dt.className),style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),ce),onClose:()=>{_t==null||_t(),Ut()}})),()=>{et(Ht)}))},ge={open:mt,destroy:Qe=>{var Ve;Qe!==void 0?et(Qe):(Ve=fe.current)===null||Ve===void 0||Ve.destroy()}};return["info","success","warning","error","loading"].forEach(Qe=>{const Ve=(it,Dt,Yt)=>{let Se;it&&typeof it=="object"&&"content"in it?Se=it:Se={content:it};let je,Be;typeof Dt=="function"?Be=Dt:(je=Dt,Be=Yt);const ht=Object.assign(Object.assign({onClose:Be,duration:je},Se),{type:Qe});return mt(ht)};ge[Qe]=Ve}),ge},[]),r.createElement(G,Object.assign({key:"message-holder"},ye,{ref:fe}))]}function se(ye){return ie(ye)}let le=null,de=ye=>ye(),He=[],ze={};function st(){const{getContainer:ye,duration:fe,rtl:Oe,maxCount:Ee,top:et}=ze,mt=(ye==null?void 0:ye())||document.body;return{getContainer:()=>mt,duration:fe,rtl:Oe,maxCount:Ee,top:et}}const vt=r.forwardRef((ye,fe)=>{const{messageConfig:Oe,sync:Ee}=ye,{getPrefixCls:et}=(0,r.useContext)(a.E_),mt=ze.prefixCls||et("message"),pe=(0,r.useContext)(n.J),[ge,lt]=ie(Object.assign(Object.assign(Object.assign({},Oe),{prefixCls:mt}),pe.message));return r.useImperativeHandle(fe,()=>{const Qe=Object.assign({},ge);return Object.keys(Qe).forEach(Ve=>{Qe[Ve]=function(){return Ee(),ge[Ve].apply(ge,arguments)}}),{instance:Qe,sync:Ee}}),lt}),Je=r.forwardRef((ye,fe)=>{const[Oe,Ee]=r.useState(st),et=()=>{Ee(st)};r.useEffect(et,[]);const mt=(0,s.w6)(),pe=mt.getRootPrefixCls(),ge=mt.getIconPrefixCls(),lt=mt.getTheme(),Qe=r.createElement(vt,{ref:fe,sync:et,messageConfig:Oe});return r.createElement(s.ZP,{prefixCls:pe,iconPrefixCls:ge,theme:lt},mt.holderRender?mt.holderRender(Qe):Qe)});function Ke(){if(!le){const ye=document.createDocumentFragment(),fe={fragment:ye};le=fe,de(()=>{(0,u.x)()(r.createElement(Je,{ref:Ee=>{const{instance:et,sync:mt}=Ee||{};Promise.resolve().then(()=>{!fe.instance&&et&&(fe.instance=et,fe.sync=mt,Ke())})}}),ye)});return}le.instance&&(He.forEach(ye=>{const{type:fe,skipped:Oe}=ye;if(!Oe)switch(fe){case"open":{de(()=>{const Ee=le.instance.open(Object.assign(Object.assign({},ze),ye.config));Ee==null||Ee.then(ye.resolve),ye.setCloseFn(Ee)});break}case"destroy":de(()=>{le==null||le.instance.destroy(ye.key)});break;default:de(()=>{var Ee;const et=(Ee=le.instance)[fe].apply(Ee,(0,t.Z)(ye.args));et==null||et.then(ye.resolve),ye.setCloseFn(et)})}}),He=[])}function Re(ye){ze=Object.assign(Object.assign({},ze),ye),de(()=>{var fe;(fe=le==null?void 0:le.sync)===null||fe===void 0||fe.call(le)})}function Ce(ye){const fe=Q(Oe=>{let Ee;const et={type:"open",config:ye,resolve:Oe,setCloseFn:mt=>{Ee=mt}};return He.push(et),()=>{Ee?de(()=>{Ee()}):et.skipped=!0}});return Ke(),fe}function me(ye,fe){const Oe=(0,s.w6)(),Ee=Q(et=>{let mt;const pe={type:ye,args:fe,resolve:et,setCloseFn:ge=>{mt=ge}};return He.push(pe),()=>{mt?de(()=>{mt()}):pe.skipped=!0}});return Ke(),Ee}const at=ye=>{He.push({type:"destroy",key:ye}),Ke()},ct=["success","info","warning","error","loading"],bt={open:Ce,destroy:at,config:Re,useMessage:se,_InternalPanelDoNotUseOrYouWillBeFired:Y};ct.forEach(ye=>{bt[ye]=function(){for(var fe=arguments.length,Oe=new Array(fe),Ee=0;Ee{};let $e=null,ft=null;var Me=bt},62957:function(i,d,e){"use strict";e.d(d,{default:function(){return Ze}});var t=e(77654),r=e(59301),n=e(48755),a=e(60840),s=e(11774),u=e(29679),c=e(19248),o=e(96512),f=e(78987),_=e(92310),p=e.n(_),x=e(75030),g=e(86641),P=e(9017),O=e(57700),S=e(15565);const I=r.createContext({}),{Provider:E}=I;var R=()=>{const{autoFocusButton:dt,cancelButtonProps:Mt,cancelTextLocale:ar,isSilent:$t,mergedOkCancel:pr,rootPrefixCls:Ir,close:Mr,onCancel:er,onConfirm:Nt}=(0,r.useContext)(I);return pr?r.createElement(S.Z,{isSilent:$t,actionFn:er,close:function(){Mr==null||Mr.apply(void 0,arguments),Nt==null||Nt(!1)},autoFocus:dt==="cancel",buttonProps:Mt,prefixCls:`${Ir}-btn`},ar):null},D=()=>{const{autoFocusButton:dt,close:Mt,isSilent:ar,okButtonProps:$t,rootPrefixCls:pr,okTextLocale:Ir,okType:Mr,onConfirm:er,onOk:Nt}=(0,r.useContext)(I);return r.createElement(S.Z,{isSilent:ar,type:Mr||"primary",actionFn:Nt,close:function(){Mt==null||Mt.apply(void 0,arguments),er==null||er(!0)},autoFocus:dt==="ok",buttonProps:$t,prefixCls:`${pr}-btn`},Ir)},k=e(99267),B=e(55311),j=e(62487),V=e(78776),H=e(47273);const Y=()=>(0,H.Z)()&&window.document.documentElement;var F=e(55743),K=e(83397),X=e(458),Q=e(91190),W=e(2171),N=e(7939),M=()=>{const{cancelButtonProps:dt,cancelTextLocale:Mt,onCancel:ar}=(0,r.useContext)(I);return r.createElement(N.ZP,Object.assign({onClick:ar},dt),Mt)},Z=e(61670),ee=()=>{const{confirmLoading:dt,okButtonProps:Mt,okType:ar,okTextLocale:$t,onOk:pr}=(0,r.useContext)(I);return r.createElement(N.ZP,Object.assign({},(0,Z.nx)(ar),{loading:dt,onClick:pr},Mt),$t)},ie=e(25012);function se(dt,Mt){return r.createElement("span",{className:`${dt}-close-x`},Mt||r.createElement(k.Z,{className:`${dt}-close-icon`}))}const le=dt=>{const{okText:Mt,okType:ar="primary",cancelText:$t,confirmLoading:pr,onOk:Ir,onCancel:Mr,okButtonProps:er,cancelButtonProps:Nt,footer:Kt}=dt,[Qt]=(0,P.Z)("Modal",(0,ie.A)()),Cr=Mt||(Qt==null?void 0:Qt.okText),Er=$t||(Qt==null?void 0:Qt.cancelText),wt={confirmLoading:pr,okButtonProps:er,cancelButtonProps:Nt,okTextLocale:Cr,cancelTextLocale:Er,okType:ar,onOk:Ir,onCancel:Mr},qe=r.useMemo(()=>wt,(0,t.Z)(Object.values(wt)));let Ue;return typeof Kt=="function"||typeof Kt=="undefined"?(Ue=r.createElement(r.Fragment,null,r.createElement(M,null),r.createElement(ee,null)),typeof Kt=="function"&&(Ue=Kt(Ue,{OkBtn:ee,CancelBtn:M})),Ue=r.createElement(E,{value:qe},Ue)):Ue=Kt,r.createElement(W.n,{disabled:!1},Ue)};var de=e(64427),He=function(dt,Mt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&Mt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)Mt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};let ze;const st=dt=>{ze={x:dt.pageX,y:dt.pageY},setTimeout(()=>{ze=null},100)};Y()&&document.documentElement.addEventListener("click",st,!0);var Je=dt=>{const{prefixCls:Mt,className:ar,rootClassName:$t,open:pr,wrapClassName:Ir,centered:Mr,getContainer:er,focusTriggerAfterClose:Nt=!0,style:Kt,visible:Qt,width:Cr=520,footer:Er,classNames:wt,styles:qe,children:Ue,loading:Le,confirmLoading:rt,zIndex:Tt,mousePosition:Lt,onOk:gr,onCancel:yr}=dt,Ur=He(dt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel"]),{getPopupContainer:bn,getPrefixCls:sr,direction:_n,modal:on}=r.useContext(n.E_),Fe=En=>{rt||yr==null||yr(En)},Ne=En=>{gr==null||gr(En)},en=sr("modal",Mt),pn=sr(),ha=(0,K.Z)(en),[ma,On,za]=(0,de.ZP)(en,ha),ja=p()(Ir,{[`${en}-centered`]:Mr!=null?Mr:on==null?void 0:on.centered,[`${en}-wrap-rtl`]:_n==="rtl"}),gn=Er!==null&&!Le?r.createElement(le,Object.assign({},dt,{onOk:Ne,onCancel:Fe})):null,[Va,va,_o]=(0,V.Z)((0,V.w)(dt),(0,V.w)(on),{closable:!0,closeIcon:r.createElement(k.Z,{className:`${en}-close-icon`}),closeIconRender:En=>se(en,En)}),no=(0,Q.H)(`.${en}-content`),[Ja,Za]=(0,x.Cn)("Modal",Tt),[No,ya]=r.useMemo(()=>Cr&&typeof Cr=="object"?[void 0,Cr]:[Cr,void 0],[Cr]),na=r.useMemo(()=>{const En={};return ya&&Object.keys(ya).forEach(wa=>{const Pe=ya[wa];Pe!==void 0&&(En[`--${en}-${wa}-width`]=typeof Pe=="number"?`${Pe}px`:Pe)}),En},[ya]);return ma(r.createElement(j.Z,{form:!0,space:!0},r.createElement(F.Z.Provider,{value:Za},r.createElement(B.Z,Object.assign({width:No},Ur,{zIndex:Ja,getContainer:er===void 0?bn:er,prefixCls:en,rootClassName:p()(On,$t,za,ha),footer:gn,visible:pr!=null?pr:Qt,mousePosition:Lt!=null?Lt:ze,onClose:Fe,closable:Va&&{disabled:_o,closeIcon:va},closeIcon:va,focusTriggerAfterClose:Nt,transitionName:(0,g.m)(pn,"zoom",dt.transitionName),maskTransitionName:(0,g.m)(pn,"fade",dt.maskTransitionName),className:p()(On,ar,on==null?void 0:on.className),style:Object.assign(Object.assign(Object.assign({},on==null?void 0:on.style),Kt),na),classNames:Object.assign(Object.assign(Object.assign({},on==null?void 0:on.classNames),wt),{wrapper:p()(ja,wt==null?void 0:wt.wrapper)}),styles:Object.assign(Object.assign({},on==null?void 0:on.styles),qe),panelRef:no}),Le?r.createElement(X.Z,{active:!0,title:!1,paragraph:{rows:4},className:`${en}-body-skeleton`}):Ue))))},Ke=e(36237),Re=e(63356),Ce=e(16931);const me=dt=>{const{componentCls:Mt,titleFontSize:ar,titleLineHeight:$t,modalConfirmIconSize:pr,fontSize:Ir,lineHeight:Mr,modalTitleHeight:er,fontHeight:Nt,confirmBodyPadding:Kt}=dt,Qt=`${Mt}-confirm`;return{[Qt]:{"&-rtl":{direction:"rtl"},[`${dt.antCls}-modal-header`]:{display:"none"},[`${Qt}-body-wrapper`]:Object.assign({},(0,Re.dF)()),[`&${Mt} ${Mt}-body`]:{padding:Kt},[`${Qt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${dt.iconCls}`]:{flex:"none",fontSize:pr,marginInlineEnd:dt.confirmIconMarginInlineEnd,marginTop:dt.calc(dt.calc(Nt).sub(pr).equal()).div(2).equal()},[`&-has-title > ${dt.iconCls}`]:{marginTop:dt.calc(dt.calc(er).sub(pr).equal()).div(2).equal()}},[`${Qt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:dt.marginXS,maxWidth:`calc(100% - ${(0,Ke.unit)(dt.marginSM)})`},[`${dt.iconCls} + ${Qt}-paragraph`]:{maxWidth:`calc(100% - ${(0,Ke.unit)(dt.calc(dt.modalConfirmIconSize).add(dt.marginSM).equal())})`},[`${Qt}-title`]:{color:dt.colorTextHeading,fontWeight:dt.fontWeightStrong,fontSize:ar,lineHeight:$t},[`${Qt}-content`]:{color:dt.colorText,fontSize:Ir,lineHeight:Mr},[`${Qt}-btns`]:{textAlign:"end",marginTop:dt.confirmBtnsMarginTop,[`${dt.antCls}-btn + ${dt.antCls}-btn`]:{marginBottom:0,marginInlineStart:dt.marginXS}}},[`${Qt}-error ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorError},[`${Qt}-warning ${Qt}-body > ${dt.iconCls}, - ${Qt}-confirm ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorWarning},[`${Qt}-info ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorInfo},[`${Qt}-success ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorSuccess}}};var at=(0,Ce.bk)(["Modal","confirm"],dt=>{const Mt=(0,de.B4)(dt);return[me(Mt)]},de.eh,{order:-1e3}),ct=function(dt,Mt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&Mt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)Mt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};function St(dt){const{prefixCls:Mt,icon:ar,okText:$t,cancelText:pr,confirmPrefixCls:Ir,type:Mr,okCancel:er,footer:Nt,locale:Kt}=dt,Qt=ct(dt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Cr=ar;if(!ar&&ar!==null)switch(Mr){case"info":Cr=r.createElement(f.Z,null);break;case"success":Cr=r.createElement(u.Z,null);break;case"error":Cr=r.createElement(c.Z,null);break;default:Cr=r.createElement(o.Z,null)}const Er=er!=null?er:Mr==="confirm",wt=dt.autoFocusButton===null?!1:dt.autoFocusButton||"ok",[qe]=(0,P.Z)("Modal"),Ue=Kt||qe,Le=$t||(Er?Ue==null?void 0:Ue.okText:Ue==null?void 0:Ue.justOkText),rt=pr||(Ue==null?void 0:Ue.cancelText),Tt=Object.assign({autoFocusButton:wt,cancelTextLocale:rt,okTextLocale:Le,mergedOkCancel:Er},Qt),Lt=r.useMemo(()=>Tt,(0,t.Z)(Object.values(Tt))),gr=r.createElement(r.Fragment,null,r.createElement(R,null),r.createElement(D,null)),yr=dt.title!==void 0&&dt.title!==null,Ur=`${Ir}-body`;return r.createElement("div",{className:`${Ir}-body-wrapper`},r.createElement("div",{className:p()(Ur,{[`${Ur}-has-title`]:yr})},Cr,r.createElement("div",{className:`${Ir}-paragraph`},yr&&r.createElement("span",{className:`${Ir}-title`},dt.title),r.createElement("div",{className:`${Ir}-content`},dt.content))),Nt===void 0||typeof Nt=="function"?r.createElement(E,{value:Lt},r.createElement("div",{className:`${Ir}-btns`},typeof Nt=="function"?Nt(gr,{OkBtn:D,CancelBtn:R}):gr)):Nt,r.createElement(at,{prefixCls:Mt}))}const bt=dt=>{const{close:Mt,zIndex:ar,maskStyle:$t,direction:pr,prefixCls:Ir,wrapClassName:Mr,rootPrefixCls:er,bodyStyle:Nt,closable:Kt=!1,onConfirm:Qt,styles:Cr}=dt,Er=`${Ir}-confirm`,wt=dt.width||416,qe=dt.style||{},Ue=dt.mask===void 0?!0:dt.mask,Le=dt.maskClosable===void 0?!1:dt.maskClosable,rt=p()(Er,`${Er}-${dt.type}`,{[`${Er}-rtl`]:pr==="rtl"},dt.className),[,Tt]=(0,O.ZP)(),Lt=r.useMemo(()=>ar!==void 0?ar:Tt.zIndexPopupBase+x.u6,[ar,Tt]);return r.createElement(Je,Object.assign({},dt,{className:rt,wrapClassName:p()({[`${Er}-centered`]:!!dt.centered},Mr),onCancel:()=>{Mt==null||Mt({triggerCancel:!0}),Qt==null||Qt(!1)},title:"",footer:null,transitionName:(0,g.m)(er||"","zoom",dt.transitionName),maskTransitionName:(0,g.m)(er||"","fade",dt.maskTransitionName),mask:Ue,maskClosable:Le,style:qe,styles:Object.assign({body:Nt,mask:$t},Cr),width:wt,zIndex:Lt,closable:Kt}),r.createElement(St,Object.assign({},dt,{confirmPrefixCls:Er})))};var $e=dt=>{const{rootPrefixCls:Mt,iconPrefixCls:ar,direction:$t,theme:pr}=dt;return r.createElement(a.ZP,{prefixCls:Mt,iconPrefixCls:ar,direction:$t,theme:pr},r.createElement(bt,Object.assign({},dt)))},Me=[];let ye="";function fe(){return ye}const Oe=dt=>{var Mt,ar;const{prefixCls:$t,getContainer:pr,direction:Ir}=dt,Mr=(0,ie.A)(),er=(0,r.useContext)(n.E_),Nt=fe()||er.getPrefixCls(),Kt=$t||`${Nt}-modal`;let Qt=pr;return Qt===!1&&(Qt=void 0),r.createElement($e,Object.assign({},dt,{rootPrefixCls:Nt,prefixCls:Kt,iconPrefixCls:er.iconPrefixCls,theme:er.theme,direction:Ir!=null?Ir:er.direction,locale:(ar=(Mt=er.locale)===null||Mt===void 0?void 0:Mt.Modal)!==null&&ar!==void 0?ar:Mr,getContainer:Qt}))};function Ee(dt){const Mt=(0,a.w6)(),ar=document.createDocumentFragment();let $t=Object.assign(Object.assign({},dt),{close:Nt,open:!0}),pr,Ir;function Mr(){for(var Qt,Cr=arguments.length,Er=new Array(Cr),wt=0;wtLe==null?void 0:Le.triggerCancel)){var Ue;(Qt=dt.onCancel)===null||Qt===void 0||(Ue=Qt).call.apply(Ue,[dt,()=>{}].concat((0,t.Z)(Er.slice(1))))}for(let Le=0;Le{const Cr=Mt.getPrefixCls(void 0,fe()),Er=Mt.getIconPrefixCls(),wt=Mt.getTheme(),qe=r.createElement(Oe,Object.assign({},Qt));Ir=(0,s.x)()(r.createElement(a.ZP,{prefixCls:Cr,iconPrefixCls:Er,theme:wt},Mt.holderRender?Mt.holderRender(qe):qe),ar)})}function Nt(){for(var Qt=arguments.length,Cr=new Array(Qt),Er=0;Er{typeof dt.afterClose=="function"&&dt.afterClose(),Mr.apply(this,Cr)}}),$t.visible&&delete $t.visible,er($t)}function Kt(Qt){typeof Qt=="function"?$t=Qt($t):$t=Object.assign(Object.assign({},$t),Qt),er($t)}return er($t),Me.push(Nt),{destroy:Nt,update:Kt}}function et(dt){return Object.assign(Object.assign({},dt),{type:"warning"})}function mt(dt){return Object.assign(Object.assign({},dt),{type:"info"})}function pe(dt){return Object.assign(Object.assign({},dt),{type:"success"})}function ge(dt){return Object.assign(Object.assign({},dt),{type:"error"})}function lt(dt){return Object.assign(Object.assign({},dt),{type:"confirm"})}function Qe(dt){let{rootPrefixCls:Mt}=dt;ye=Mt}var Ve=e(45915),it=function(dt,Mt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&Mt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)Mt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};const Dt=dt=>{const{prefixCls:Mt,className:ar,closeIcon:$t,closable:pr,type:Ir,title:Mr,children:er,footer:Nt}=dt,Kt=it(dt,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:Qt}=r.useContext(n.E_),Cr=Qt(),Er=Mt||Qt("modal"),wt=(0,K.Z)(Cr),[qe,Ue,Le]=(0,de.ZP)(Er,wt),rt=`${Er}-confirm`;let Tt={};return Ir?Tt={closable:pr!=null?pr:!1,title:"",footer:"",children:r.createElement(St,Object.assign({},dt,{prefixCls:Er,confirmPrefixCls:rt,rootPrefixCls:Cr,content:er}))}:Tt={closable:pr!=null?pr:!0,title:Mr,footer:Nt!==null&&r.createElement(le,Object.assign({},dt)),children:er},qe(r.createElement(B.s,Object.assign({prefixCls:Er,className:p()(Ue,`${Er}-pure-panel`,Ir&&rt,Ir&&`${rt}-${Ir}`,ar,Le,wt)},Kt,{closeIcon:se(Er,$t),closable:pr},Tt)))};var Yt=(0,Ve.i)(Dt);function Se(){const[dt,Mt]=r.useState([]),ar=r.useCallback($t=>(Mt(pr=>[].concat((0,t.Z)(pr),[$t])),()=>{Mt(pr=>pr.filter(Ir=>Ir!==$t))}),[]);return[dt,ar]}var je=e(85981),Be=function(dt,Mt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&Mt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)Mt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};const ht=(dt,Mt)=>{var ar,{afterClose:$t,config:pr}=dt,Ir=Be(dt,["afterClose","config"]);const[Mr,er]=r.useState(!0),[Nt,Kt]=r.useState(pr),{direction:Qt,getPrefixCls:Cr}=r.useContext(n.E_),Er=Cr("modal"),wt=Cr(),qe=()=>{var Tt;$t(),(Tt=Nt.afterClose)===null||Tt===void 0||Tt.call(Nt)},Ue=function(){var Tt;er(!1);for(var Lt=arguments.length,gr=new Array(Lt),yr=0;yrsr==null?void 0:sr.triggerCancel)){var bn;(Tt=Nt.onCancel)===null||Tt===void 0||(bn=Tt).call.apply(bn,[Nt,()=>{}].concat((0,t.Z)(gr.slice(1))))}};r.useImperativeHandle(Mt,()=>({destroy:Ue,update:Tt=>{Kt(Lt=>Object.assign(Object.assign({},Lt),Tt))}}));const Le=(ar=Nt.okCancel)!==null&&ar!==void 0?ar:Nt.type==="confirm",[rt]=(0,P.Z)("Modal",je.Z.Modal);return r.createElement($e,Object.assign({prefixCls:Er,rootPrefixCls:wt},Nt,{close:Ue,open:Mr,afterClose:qe,okText:Nt.okText||(Le?rt==null?void 0:rt.okText:rt==null?void 0:rt.justOkText),direction:Nt.direction||Qt,cancelText:Nt.cancelText||(rt==null?void 0:rt.cancelText)},Ir))};var At=r.forwardRef(ht);let ce=0;const _t=r.memo(r.forwardRef((dt,Mt)=>{const[ar,$t]=Se();return r.useImperativeHandle(Mt,()=>({patchElement:$t}),[]),r.createElement(r.Fragment,null,ar)}));function qt(){const dt=r.useRef(null),[Mt,ar]=r.useState([]);r.useEffect(()=>{Mt.length&&((0,t.Z)(Mt).forEach(Mr=>{Mr()}),ar([]))},[Mt]);const $t=r.useCallback(Ir=>function(er){var Nt;ce+=1;const Kt=r.createRef();let Qt;const Cr=new Promise(Le=>{Qt=Le});let Er=!1,wt;const qe=r.createElement(At,{key:`modal-${ce}`,config:Ir(er),ref:Kt,afterClose:()=>{wt==null||wt()},isSilent:()=>Er,onConfirm:Le=>{Qt(Le)}});return wt=(Nt=dt.current)===null||Nt===void 0?void 0:Nt.patchElement(qe),wt&&Me.push(wt),{destroy:()=>{function Le(){var rt;(rt=Kt.current)===null||rt===void 0||rt.destroy()}Kt.current?Le():ar(rt=>[].concat((0,t.Z)(rt),[Le]))},update:Le=>{function rt(){var Tt;(Tt=Kt.current)===null||Tt===void 0||Tt.update(Le)}Kt.current?rt():ar(Tt=>[].concat((0,t.Z)(Tt),[rt]))},then:Le=>(Er=!0,Cr.then(Le))}},[]);return[r.useMemo(()=>({info:$t(mt),success:$t(pe),error:$t(ge),warning:$t(et),confirm:$t(lt)}),[]),r.createElement(_t,{key:"modal-holder",ref:dt})]}var Ht=qt;function Ut(dt){return Ee(et(dt))}const cr=Je;cr.useModal=Ht,cr.info=function(Mt){return Ee(mt(Mt))},cr.success=function(Mt){return Ee(pe(Mt))},cr.error=function(Mt){return Ee(ge(Mt))},cr.warning=Ut,cr.warn=Ut,cr.confirm=function(Mt){return Ee(lt(Mt))},cr.destroyAll=function(){for(;Me.length;){const Mt=Me.pop();Mt&&Mt()}},cr.config=Qe,cr._InternalPanelDoNotUseOrYouWillBeFired=Yt;var Ze=cr},25012:function(i,d,e){"use strict";e.d(d,{A:function(){return u},f:function(){return s}});var t=e(85981);let r=Object.assign({},t.Z.Modal),n=[];const a=()=>n.reduce((c,o)=>Object.assign(Object.assign({},c),o),t.Z.Modal);function s(c){if(c){const o=Object.assign({},c);return n.push(o),r=a(),()=>{n=n.filter(f=>f!==o),r=a()}}r=Object.assign({},t.Z.Modal)}function u(){return r}},64427:function(i,d,e){"use strict";e.d(d,{B4:function(){return P},QA:function(){return _},eh:function(){return O}});var t=e(77654),r=e(36237),n=e(26705),a=e(63356),s=e(99495),u=e(34925),c=e(51636),o=e(16931);function f(S){return{position:S,inset:0}}const _=S=>{const{componentCls:I,antCls:E}=S;return[{[`${I}-root`]:{[`${I}${E}-zoom-enter, ${I}${E}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:S.motionDurationSlow,userSelect:"none"},[`${I}${E}-zoom-leave ${I}-content`]:{pointerEvents:"none"},[`${I}-mask`]:Object.assign(Object.assign({},f("fixed")),{zIndex:S.zIndexPopupBase,height:"100%",backgroundColor:S.colorBgMask,pointerEvents:"none",[`${I}-hidden`]:{display:"none"}}),[`${I}-wrap`]:Object.assign(Object.assign({},f("fixed")),{zIndex:S.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${I}-root`]:(0,s.J$)(S)}]},p=S=>{const{componentCls:I}=S;return[{[`${I}-root`]:{[`${I}-wrap-rtl`]:{direction:"rtl"},[`${I}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[I]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${S.screenSMMax}px)`]:{[I]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,r.unit)(S.marginXS)} auto`},[`${I}-centered`]:{[I]:{flex:1}}}}},{[I]:Object.assign(Object.assign({},(0,a.Wf)(S)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,r.unit)(S.calc(S.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:S.paddingLG,[`${I}-title`]:{margin:0,color:S.titleColor,fontWeight:S.fontWeightStrong,fontSize:S.titleFontSize,lineHeight:S.titleLineHeight,wordWrap:"break-word"},[`${I}-content`]:{position:"relative",backgroundColor:S.contentBg,backgroundClip:"padding-box",border:0,borderRadius:S.borderRadiusLG,boxShadow:S.boxShadow,pointerEvents:"auto",padding:S.contentPadding},[`${I}-close`]:Object.assign({position:"absolute",top:S.calc(S.modalHeaderHeight).sub(S.modalCloseBtnSize).div(2).equal(),insetInlineEnd:S.calc(S.modalHeaderHeight).sub(S.modalCloseBtnSize).div(2).equal(),zIndex:S.calc(S.zIndexPopupBase).add(10).equal(),padding:0,color:S.modalCloseIconColor,fontWeight:S.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:S.borderRadiusSM,width:S.modalCloseBtnSize,height:S.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${S.motionDurationMid}, background-color ${S.motionDurationMid}`,"&-x":{display:"flex",fontSize:S.fontSizeLG,fontStyle:"normal",lineHeight:(0,r.unit)(S.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:S.modalCloseIconHoverColor,backgroundColor:S.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:S.colorBgTextActive}},(0,a.Qy)(S)),[`${I}-header`]:{color:S.colorText,background:S.headerBg,borderRadius:`${(0,r.unit)(S.borderRadiusLG)} ${(0,r.unit)(S.borderRadiusLG)} 0 0`,marginBottom:S.headerMarginBottom,padding:S.headerPadding,borderBottom:S.headerBorderBottom},[`${I}-body`]:{fontSize:S.fontSize,lineHeight:S.lineHeight,wordWrap:"break-word",padding:S.bodyPadding,[`${I}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,r.unit)(S.margin)} auto`}},[`${I}-footer`]:{textAlign:"end",background:S.footerBg,marginTop:S.footerMarginTop,padding:S.footerPadding,borderTop:S.footerBorderTop,borderRadius:S.footerBorderRadius,[`> ${S.antCls}-btn + ${S.antCls}-btn`]:{marginInlineStart:S.marginXS}},[`${I}-open`]:{overflow:"hidden"}})},{[`${I}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${I}-content, + `]:{animationPlayState:"running"},[`${fe}-move-up-leave`]:{animationName:_t,animationDuration:it,animationPlayState:"paused",animationTimingFunction:Ve},[`${fe}-move-up-leave${fe}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[fe]:{[`${At}-wrapper`]:Object.assign({},qt)}},{[`${fe}-notice-pure-panel`]:Object.assign(Object.assign({},qt),{padding:0,textAlign:"start"})}]},D=ye=>({zIndexPopup:ye.zIndexPopupBase+I.u6+10,contentBg:ye.colorBgElevated,contentPadding:`${(ye.controlHeightLG-ye.fontSize*ye.lineHeight)/2}px ${ye.paddingSM}px`});var M=(0,A.I$)("Message",ye=>{const fe=(0,R.mergeToken)(ye,{height:150});return[T(fe)]},D),B=function(ye,fe){var Oe={};for(var Ee in ye)Object.prototype.hasOwnProperty.call(ye,Ee)&&fe.indexOf(Ee)<0&&(Oe[Ee]=ye[Ee]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ee=Object.getOwnPropertySymbols(ye);et{let{prefixCls:fe,type:Oe,icon:Ee,children:et}=ye;return r.createElement("div",{className:g()(`${fe}-custom-content`,`${fe}-${Oe}`)},Ee||j[Oe],r.createElement("span",null,et))};var Y=ye=>{const{prefixCls:fe,className:Oe,type:Ee,icon:et,content:mt}=ye,pe=B(ye,["prefixCls","className","type","icon","content"]),{getPrefixCls:ge}=r.useContext(a.E_),lt=fe||ge("message"),Qe=(0,O.Z)(lt),[Ve,it,Dt]=M(lt,Qe);return Ve(r.createElement(P.qX,Object.assign({},pe,{prefixCls:lt,className:g()(Oe,it,`${lt}-notice-pure-panel`,Dt,Qe),eventKey:"pure",duration:null,content:r.createElement(V,{prefixCls:lt,type:Ee,icon:et},mt)})))},F=e(99267),K=e(32383);function X(ye,fe){return{motionName:fe!=null?fe:`${ye}-move-up`}}function Q(ye){let fe;const Oe=new Promise(et=>{fe=ye(()=>{et(!0)})}),Ee=()=>{fe==null||fe()};return Ee.then=(et,mt)=>Oe.then(et,mt),Ee.promise=Oe,Ee}var W=function(ye,fe){var Oe={};for(var Ee in ye)Object.prototype.hasOwnProperty.call(ye,Ee)&&fe.indexOf(Ee)<0&&(Oe[Ee]=ye[Ee]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Ee=Object.getOwnPropertySymbols(ye);et{let{children:fe,prefixCls:Oe}=ye;const Ee=(0,O.Z)(Oe),[et,mt,pe]=M(Oe,Ee);return et(r.createElement(P.JB,{classNames:{list:g()(mt,pe,Ee)}},fe))},Z=(ye,fe)=>{let{prefixCls:Oe,key:Ee}=fe;return r.createElement(k,{prefixCls:Oe,key:Ee},ye)},G=r.forwardRef((ye,fe)=>{const{top:Oe,prefixCls:Ee,getContainer:et,maxCount:mt,duration:pe=J,rtl:ge,transitionName:lt,onAllRemoved:Qe}=ye,{getPrefixCls:Ve,getPopupContainer:it,message:Dt,direction:Yt}=r.useContext(a.E_),Se=Ee||Ve("message"),je=()=>({left:"50%",transform:"translateX(-50%)",top:Oe!=null?Oe:N}),Be=()=>g()({[`${Se}-rtl`]:ge!=null?ge:Yt==="rtl"}),ht=()=>X(Se,lt),At=r.createElement("span",{className:`${Se}-close-x`},r.createElement(F.Z,{className:`${Se}-close-icon`})),[ce,_t]=(0,P.lm)({prefixCls:Se,style:je,className:Be,motion:ht,closable:!1,closeIcon:At,duration:pe,getContainer:()=>(et==null?void 0:et())||(it==null?void 0:it())||document.body,maxCount:mt,onAllRemoved:Qe,renderNotifications:Z});return r.useImperativeHandle(fe,()=>Object.assign(Object.assign({},ce),{prefixCls:Se,message:Dt})),_t});let ee=0;function ie(ye){const fe=r.useRef(null),Oe=(0,K.ln)("Message");return[r.useMemo(()=>{const et=Qe=>{var Ve;(Ve=fe.current)===null||Ve===void 0||Ve.close(Qe)},mt=Qe=>{if(!fe.current){const Ut=()=>{};return Ut.then=()=>{},Ut}const{open:Ve,prefixCls:it,message:Dt}=fe.current,Yt=`${it}-notice`,{content:Se,icon:je,type:Be,key:ht,className:At,style:ce,onClose:_t}=Qe,qt=W(Qe,["content","icon","type","key","className","style","onClose"]);let Ht=ht;return Ht==null&&(ee+=1,Ht=`antd-message-${ee}`),Q(Ut=>(Ve(Object.assign(Object.assign({},qt),{key:Ht,content:r.createElement(V,{prefixCls:it,type:Be,icon:je},Se),placement:"top",className:g()(Be&&`${Yt}-${Be}`,At,Dt==null?void 0:Dt.className),style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),ce),onClose:()=>{_t==null||_t(),Ut()}})),()=>{et(Ht)}))},ge={open:mt,destroy:Qe=>{var Ve;Qe!==void 0?et(Qe):(Ve=fe.current)===null||Ve===void 0||Ve.destroy()}};return["info","success","warning","error","loading"].forEach(Qe=>{const Ve=(it,Dt,Yt)=>{let Se;it&&typeof it=="object"&&"content"in it?Se=it:Se={content:it};let je,Be;typeof Dt=="function"?Be=Dt:(je=Dt,Be=Yt);const ht=Object.assign(Object.assign({onClose:Be,duration:je},Se),{type:Qe});return mt(ht)};ge[Qe]=Ve}),ge},[]),r.createElement(G,Object.assign({key:"message-holder"},ye,{ref:fe}))]}function se(ye){return ie(ye)}let le=null,de=ye=>ye(),He=[],ze={};function st(){const{getContainer:ye,duration:fe,rtl:Oe,maxCount:Ee,top:et}=ze,mt=(ye==null?void 0:ye())||document.body;return{getContainer:()=>mt,duration:fe,rtl:Oe,maxCount:Ee,top:et}}const vt=r.forwardRef((ye,fe)=>{const{messageConfig:Oe,sync:Ee}=ye,{getPrefixCls:et}=(0,r.useContext)(a.E_),mt=ze.prefixCls||et("message"),pe=(0,r.useContext)(n.J),[ge,lt]=ie(Object.assign(Object.assign(Object.assign({},Oe),{prefixCls:mt}),pe.message));return r.useImperativeHandle(fe,()=>{const Qe=Object.assign({},ge);return Object.keys(Qe).forEach(Ve=>{Qe[Ve]=function(){return Ee(),ge[Ve].apply(ge,arguments)}}),{instance:Qe,sync:Ee}}),lt}),Je=r.forwardRef((ye,fe)=>{const[Oe,Ee]=r.useState(st),et=()=>{Ee(st)};r.useEffect(et,[]);const mt=(0,s.w6)(),pe=mt.getRootPrefixCls(),ge=mt.getIconPrefixCls(),lt=mt.getTheme(),Qe=r.createElement(vt,{ref:fe,sync:et,messageConfig:Oe});return r.createElement(s.ZP,{prefixCls:pe,iconPrefixCls:ge,theme:lt},mt.holderRender?mt.holderRender(Qe):Qe)});function Ke(){if(!le){const ye=document.createDocumentFragment(),fe={fragment:ye};le=fe,de(()=>{(0,u.x)()(r.createElement(Je,{ref:Ee=>{const{instance:et,sync:mt}=Ee||{};Promise.resolve().then(()=>{!fe.instance&&et&&(fe.instance=et,fe.sync=mt,Ke())})}}),ye)});return}le.instance&&(He.forEach(ye=>{const{type:fe,skipped:Oe}=ye;if(!Oe)switch(fe){case"open":{de(()=>{const Ee=le.instance.open(Object.assign(Object.assign({},ze),ye.config));Ee==null||Ee.then(ye.resolve),ye.setCloseFn(Ee)});break}case"destroy":de(()=>{le==null||le.instance.destroy(ye.key)});break;default:de(()=>{var Ee;const et=(Ee=le.instance)[fe].apply(Ee,(0,t.Z)(ye.args));et==null||et.then(ye.resolve),ye.setCloseFn(et)})}}),He=[])}function Re(ye){ze=Object.assign(Object.assign({},ze),ye),de(()=>{var fe;(fe=le==null?void 0:le.sync)===null||fe===void 0||fe.call(le)})}function Ce(ye){const fe=Q(Oe=>{let Ee;const et={type:"open",config:ye,resolve:Oe,setCloseFn:mt=>{Ee=mt}};return He.push(et),()=>{Ee?de(()=>{Ee()}):et.skipped=!0}});return Ke(),fe}function me(ye,fe){const Oe=(0,s.w6)(),Ee=Q(et=>{let mt;const pe={type:ye,args:fe,resolve:et,setCloseFn:ge=>{mt=ge}};return He.push(pe),()=>{mt?de(()=>{mt()}):pe.skipped=!0}});return Ke(),Ee}const at=ye=>{He.push({type:"destroy",key:ye}),Ke()},ct=["success","info","warning","error","loading"],bt={open:Ce,destroy:at,config:Re,useMessage:se,_InternalPanelDoNotUseOrYouWillBeFired:Y};ct.forEach(ye=>{bt[ye]=function(){for(var fe=arguments.length,Oe=new Array(fe),Ee=0;Ee{};let $e=null,ft=null;var ke=bt},62957:function(i,d,e){"use strict";e.d(d,{default:function(){return Ze}});var t=e(77654),r=e(59301),n=e(48755),a=e(60840),s=e(11774),u=e(29679),c=e(19248),o=e(96512),f=e(78987),_=e(92310),p=e.n(_),x=e(75030),g=e(86641),P=e(9017),O=e(57700),S=e(15565);const I=r.createContext({}),{Provider:E}=I;var R=()=>{const{autoFocusButton:dt,cancelButtonProps:kt,cancelTextLocale:ar,isSilent:$t,mergedOkCancel:pr,rootPrefixCls:Ir,close:kr,onCancel:er,onConfirm:Nt}=(0,r.useContext)(I);return pr?r.createElement(S.Z,{isSilent:$t,actionFn:er,close:function(){kr==null||kr.apply(void 0,arguments),Nt==null||Nt(!1)},autoFocus:dt==="cancel",buttonProps:kt,prefixCls:`${Ir}-btn`},ar):null},D=()=>{const{autoFocusButton:dt,close:kt,isSilent:ar,okButtonProps:$t,rootPrefixCls:pr,okTextLocale:Ir,okType:kr,onConfirm:er,onOk:Nt}=(0,r.useContext)(I);return r.createElement(S.Z,{isSilent:ar,type:kr||"primary",actionFn:Nt,close:function(){kt==null||kt.apply(void 0,arguments),er==null||er(!0)},autoFocus:dt==="ok",buttonProps:$t,prefixCls:`${pr}-btn`},Ir)},M=e(99267),B=e(55311),j=e(62487),V=e(78776),H=e(47273);const Y=()=>(0,H.Z)()&&window.document.documentElement;var F=e(55743),K=e(83397),X=e(458),Q=e(91190),W=e(2171),N=e(7939),k=()=>{const{cancelButtonProps:dt,cancelTextLocale:kt,onCancel:ar}=(0,r.useContext)(I);return r.createElement(N.ZP,Object.assign({onClick:ar},dt),kt)},Z=e(61670),ee=()=>{const{confirmLoading:dt,okButtonProps:kt,okType:ar,okTextLocale:$t,onOk:pr}=(0,r.useContext)(I);return r.createElement(N.ZP,Object.assign({},(0,Z.nx)(ar),{loading:dt,onClick:pr},kt),$t)},ie=e(25012);function se(dt,kt){return r.createElement("span",{className:`${dt}-close-x`},kt||r.createElement(M.Z,{className:`${dt}-close-icon`}))}const le=dt=>{const{okText:kt,okType:ar="primary",cancelText:$t,confirmLoading:pr,onOk:Ir,onCancel:kr,okButtonProps:er,cancelButtonProps:Nt,footer:Kt}=dt,[Qt]=(0,P.Z)("Modal",(0,ie.A)()),Cr=kt||(Qt==null?void 0:Qt.okText),Er=$t||(Qt==null?void 0:Qt.cancelText),wt={confirmLoading:pr,okButtonProps:er,cancelButtonProps:Nt,okTextLocale:Cr,cancelTextLocale:Er,okType:ar,onOk:Ir,onCancel:kr},qe=r.useMemo(()=>wt,(0,t.Z)(Object.values(wt)));let Ue;return typeof Kt=="function"||typeof Kt=="undefined"?(Ue=r.createElement(r.Fragment,null,r.createElement(k,null),r.createElement(ee,null)),typeof Kt=="function"&&(Ue=Kt(Ue,{OkBtn:ee,CancelBtn:k})),Ue=r.createElement(E,{value:qe},Ue)):Ue=Kt,r.createElement(W.n,{disabled:!1},Ue)};var de=e(64427),He=function(dt,kt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&kt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)kt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};let ze;const st=dt=>{ze={x:dt.pageX,y:dt.pageY},setTimeout(()=>{ze=null},100)};Y()&&document.documentElement.addEventListener("click",st,!0);var Je=dt=>{const{prefixCls:kt,className:ar,rootClassName:$t,open:pr,wrapClassName:Ir,centered:kr,getContainer:er,focusTriggerAfterClose:Nt=!0,style:Kt,visible:Qt,width:Cr=520,footer:Er,classNames:wt,styles:qe,children:Ue,loading:Le,confirmLoading:rt,zIndex:Tt,mousePosition:Lt,onOk:gr,onCancel:yr}=dt,Ur=He(dt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading","confirmLoading","zIndex","mousePosition","onOk","onCancel"]),{getPopupContainer:bn,getPrefixCls:sr,direction:_n,modal:on}=r.useContext(n.E_),Fe=En=>{rt||yr==null||yr(En)},Ne=En=>{gr==null||gr(En)},en=sr("modal",kt),pn=sr(),ha=(0,K.Z)(en),[ma,On,za]=(0,de.ZP)(en,ha),ja=p()(Ir,{[`${en}-centered`]:kr!=null?kr:on==null?void 0:on.centered,[`${en}-wrap-rtl`]:_n==="rtl"}),gn=Er!==null&&!Le?r.createElement(le,Object.assign({},dt,{onOk:Ne,onCancel:Fe})):null,[Va,va,_o]=(0,V.Z)((0,V.w)(dt),(0,V.w)(on),{closable:!0,closeIcon:r.createElement(M.Z,{className:`${en}-close-icon`}),closeIconRender:En=>se(en,En)}),no=(0,Q.H)(`.${en}-content`),[Ja,Za]=(0,x.Cn)("Modal",Tt),[No,ya]=r.useMemo(()=>Cr&&typeof Cr=="object"?[void 0,Cr]:[Cr,void 0],[Cr]),na=r.useMemo(()=>{const En={};return ya&&Object.keys(ya).forEach(wa=>{const Pe=ya[wa];Pe!==void 0&&(En[`--${en}-${wa}-width`]=typeof Pe=="number"?`${Pe}px`:Pe)}),En},[ya]);return ma(r.createElement(j.Z,{form:!0,space:!0},r.createElement(F.Z.Provider,{value:Za},r.createElement(B.Z,Object.assign({width:No},Ur,{zIndex:Ja,getContainer:er===void 0?bn:er,prefixCls:en,rootClassName:p()(On,$t,za,ha),footer:gn,visible:pr!=null?pr:Qt,mousePosition:Lt!=null?Lt:ze,onClose:Fe,closable:Va&&{disabled:_o,closeIcon:va},closeIcon:va,focusTriggerAfterClose:Nt,transitionName:(0,g.m)(pn,"zoom",dt.transitionName),maskTransitionName:(0,g.m)(pn,"fade",dt.maskTransitionName),className:p()(On,ar,on==null?void 0:on.className),style:Object.assign(Object.assign(Object.assign({},on==null?void 0:on.style),Kt),na),classNames:Object.assign(Object.assign(Object.assign({},on==null?void 0:on.classNames),wt),{wrapper:p()(ja,wt==null?void 0:wt.wrapper)}),styles:Object.assign(Object.assign({},on==null?void 0:on.styles),qe),panelRef:no}),Le?r.createElement(X.Z,{active:!0,title:!1,paragraph:{rows:4},className:`${en}-body-skeleton`}):Ue))))},Ke=e(36237),Re=e(63356),Ce=e(16931);const me=dt=>{const{componentCls:kt,titleFontSize:ar,titleLineHeight:$t,modalConfirmIconSize:pr,fontSize:Ir,lineHeight:kr,modalTitleHeight:er,fontHeight:Nt,confirmBodyPadding:Kt}=dt,Qt=`${kt}-confirm`;return{[Qt]:{"&-rtl":{direction:"rtl"},[`${dt.antCls}-modal-header`]:{display:"none"},[`${Qt}-body-wrapper`]:Object.assign({},(0,Re.dF)()),[`&${kt} ${kt}-body`]:{padding:Kt},[`${Qt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${dt.iconCls}`]:{flex:"none",fontSize:pr,marginInlineEnd:dt.confirmIconMarginInlineEnd,marginTop:dt.calc(dt.calc(Nt).sub(pr).equal()).div(2).equal()},[`&-has-title > ${dt.iconCls}`]:{marginTop:dt.calc(dt.calc(er).sub(pr).equal()).div(2).equal()}},[`${Qt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:dt.marginXS,maxWidth:`calc(100% - ${(0,Ke.unit)(dt.marginSM)})`},[`${dt.iconCls} + ${Qt}-paragraph`]:{maxWidth:`calc(100% - ${(0,Ke.unit)(dt.calc(dt.modalConfirmIconSize).add(dt.marginSM).equal())})`},[`${Qt}-title`]:{color:dt.colorTextHeading,fontWeight:dt.fontWeightStrong,fontSize:ar,lineHeight:$t},[`${Qt}-content`]:{color:dt.colorText,fontSize:Ir,lineHeight:kr},[`${Qt}-btns`]:{textAlign:"end",marginTop:dt.confirmBtnsMarginTop,[`${dt.antCls}-btn + ${dt.antCls}-btn`]:{marginBottom:0,marginInlineStart:dt.marginXS}}},[`${Qt}-error ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorError},[`${Qt}-warning ${Qt}-body > ${dt.iconCls}, + ${Qt}-confirm ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorWarning},[`${Qt}-info ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorInfo},[`${Qt}-success ${Qt}-body > ${dt.iconCls}`]:{color:dt.colorSuccess}}};var at=(0,Ce.bk)(["Modal","confirm"],dt=>{const kt=(0,de.B4)(dt);return[me(kt)]},de.eh,{order:-1e3}),ct=function(dt,kt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&kt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)kt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};function St(dt){const{prefixCls:kt,icon:ar,okText:$t,cancelText:pr,confirmPrefixCls:Ir,type:kr,okCancel:er,footer:Nt,locale:Kt}=dt,Qt=ct(dt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Cr=ar;if(!ar&&ar!==null)switch(kr){case"info":Cr=r.createElement(f.Z,null);break;case"success":Cr=r.createElement(u.Z,null);break;case"error":Cr=r.createElement(c.Z,null);break;default:Cr=r.createElement(o.Z,null)}const Er=er!=null?er:kr==="confirm",wt=dt.autoFocusButton===null?!1:dt.autoFocusButton||"ok",[qe]=(0,P.Z)("Modal"),Ue=Kt||qe,Le=$t||(Er?Ue==null?void 0:Ue.okText:Ue==null?void 0:Ue.justOkText),rt=pr||(Ue==null?void 0:Ue.cancelText),Tt=Object.assign({autoFocusButton:wt,cancelTextLocale:rt,okTextLocale:Le,mergedOkCancel:Er},Qt),Lt=r.useMemo(()=>Tt,(0,t.Z)(Object.values(Tt))),gr=r.createElement(r.Fragment,null,r.createElement(R,null),r.createElement(D,null)),yr=dt.title!==void 0&&dt.title!==null,Ur=`${Ir}-body`;return r.createElement("div",{className:`${Ir}-body-wrapper`},r.createElement("div",{className:p()(Ur,{[`${Ur}-has-title`]:yr})},Cr,r.createElement("div",{className:`${Ir}-paragraph`},yr&&r.createElement("span",{className:`${Ir}-title`},dt.title),r.createElement("div",{className:`${Ir}-content`},dt.content))),Nt===void 0||typeof Nt=="function"?r.createElement(E,{value:Lt},r.createElement("div",{className:`${Ir}-btns`},typeof Nt=="function"?Nt(gr,{OkBtn:D,CancelBtn:R}):gr)):Nt,r.createElement(at,{prefixCls:kt}))}const bt=dt=>{const{close:kt,zIndex:ar,maskStyle:$t,direction:pr,prefixCls:Ir,wrapClassName:kr,rootPrefixCls:er,bodyStyle:Nt,closable:Kt=!1,onConfirm:Qt,styles:Cr}=dt,Er=`${Ir}-confirm`,wt=dt.width||416,qe=dt.style||{},Ue=dt.mask===void 0?!0:dt.mask,Le=dt.maskClosable===void 0?!1:dt.maskClosable,rt=p()(Er,`${Er}-${dt.type}`,{[`${Er}-rtl`]:pr==="rtl"},dt.className),[,Tt]=(0,O.ZP)(),Lt=r.useMemo(()=>ar!==void 0?ar:Tt.zIndexPopupBase+x.u6,[ar,Tt]);return r.createElement(Je,Object.assign({},dt,{className:rt,wrapClassName:p()({[`${Er}-centered`]:!!dt.centered},kr),onCancel:()=>{kt==null||kt({triggerCancel:!0}),Qt==null||Qt(!1)},title:"",footer:null,transitionName:(0,g.m)(er||"","zoom",dt.transitionName),maskTransitionName:(0,g.m)(er||"","fade",dt.maskTransitionName),mask:Ue,maskClosable:Le,style:qe,styles:Object.assign({body:Nt,mask:$t},Cr),width:wt,zIndex:Lt,closable:Kt}),r.createElement(St,Object.assign({},dt,{confirmPrefixCls:Er})))};var $e=dt=>{const{rootPrefixCls:kt,iconPrefixCls:ar,direction:$t,theme:pr}=dt;return r.createElement(a.ZP,{prefixCls:kt,iconPrefixCls:ar,direction:$t,theme:pr},r.createElement(bt,Object.assign({},dt)))},ke=[];let ye="";function fe(){return ye}const Oe=dt=>{var kt,ar;const{prefixCls:$t,getContainer:pr,direction:Ir}=dt,kr=(0,ie.A)(),er=(0,r.useContext)(n.E_),Nt=fe()||er.getPrefixCls(),Kt=$t||`${Nt}-modal`;let Qt=pr;return Qt===!1&&(Qt=void 0),r.createElement($e,Object.assign({},dt,{rootPrefixCls:Nt,prefixCls:Kt,iconPrefixCls:er.iconPrefixCls,theme:er.theme,direction:Ir!=null?Ir:er.direction,locale:(ar=(kt=er.locale)===null||kt===void 0?void 0:kt.Modal)!==null&&ar!==void 0?ar:kr,getContainer:Qt}))};function Ee(dt){const kt=(0,a.w6)(),ar=document.createDocumentFragment();let $t=Object.assign(Object.assign({},dt),{close:Nt,open:!0}),pr,Ir;function kr(){for(var Qt,Cr=arguments.length,Er=new Array(Cr),wt=0;wtLe==null?void 0:Le.triggerCancel)){var Ue;(Qt=dt.onCancel)===null||Qt===void 0||(Ue=Qt).call.apply(Ue,[dt,()=>{}].concat((0,t.Z)(Er.slice(1))))}for(let Le=0;Le{const Cr=kt.getPrefixCls(void 0,fe()),Er=kt.getIconPrefixCls(),wt=kt.getTheme(),qe=r.createElement(Oe,Object.assign({},Qt));Ir=(0,s.x)()(r.createElement(a.ZP,{prefixCls:Cr,iconPrefixCls:Er,theme:wt},kt.holderRender?kt.holderRender(qe):qe),ar)})}function Nt(){for(var Qt=arguments.length,Cr=new Array(Qt),Er=0;Er{typeof dt.afterClose=="function"&&dt.afterClose(),kr.apply(this,Cr)}}),$t.visible&&delete $t.visible,er($t)}function Kt(Qt){typeof Qt=="function"?$t=Qt($t):$t=Object.assign(Object.assign({},$t),Qt),er($t)}return er($t),ke.push(Nt),{destroy:Nt,update:Kt}}function et(dt){return Object.assign(Object.assign({},dt),{type:"warning"})}function mt(dt){return Object.assign(Object.assign({},dt),{type:"info"})}function pe(dt){return Object.assign(Object.assign({},dt),{type:"success"})}function ge(dt){return Object.assign(Object.assign({},dt),{type:"error"})}function lt(dt){return Object.assign(Object.assign({},dt),{type:"confirm"})}function Qe(dt){let{rootPrefixCls:kt}=dt;ye=kt}var Ve=e(45915),it=function(dt,kt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&kt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)kt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};const Dt=dt=>{const{prefixCls:kt,className:ar,closeIcon:$t,closable:pr,type:Ir,title:kr,children:er,footer:Nt}=dt,Kt=it(dt,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:Qt}=r.useContext(n.E_),Cr=Qt(),Er=kt||Qt("modal"),wt=(0,K.Z)(Cr),[qe,Ue,Le]=(0,de.ZP)(Er,wt),rt=`${Er}-confirm`;let Tt={};return Ir?Tt={closable:pr!=null?pr:!1,title:"",footer:"",children:r.createElement(St,Object.assign({},dt,{prefixCls:Er,confirmPrefixCls:rt,rootPrefixCls:Cr,content:er}))}:Tt={closable:pr!=null?pr:!0,title:kr,footer:Nt!==null&&r.createElement(le,Object.assign({},dt)),children:er},qe(r.createElement(B.s,Object.assign({prefixCls:Er,className:p()(Ue,`${Er}-pure-panel`,Ir&&rt,Ir&&`${rt}-${Ir}`,ar,Le,wt)},Kt,{closeIcon:se(Er,$t),closable:pr},Tt)))};var Yt=(0,Ve.i)(Dt);function Se(){const[dt,kt]=r.useState([]),ar=r.useCallback($t=>(kt(pr=>[].concat((0,t.Z)(pr),[$t])),()=>{kt(pr=>pr.filter(Ir=>Ir!==$t))}),[]);return[dt,ar]}var je=e(85981),Be=function(dt,kt){var ar={};for(var $t in dt)Object.prototype.hasOwnProperty.call(dt,$t)&&kt.indexOf($t)<0&&(ar[$t]=dt[$t]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,$t=Object.getOwnPropertySymbols(dt);pr<$t.length;pr++)kt.indexOf($t[pr])<0&&Object.prototype.propertyIsEnumerable.call(dt,$t[pr])&&(ar[$t[pr]]=dt[$t[pr]]);return ar};const ht=(dt,kt)=>{var ar,{afterClose:$t,config:pr}=dt,Ir=Be(dt,["afterClose","config"]);const[kr,er]=r.useState(!0),[Nt,Kt]=r.useState(pr),{direction:Qt,getPrefixCls:Cr}=r.useContext(n.E_),Er=Cr("modal"),wt=Cr(),qe=()=>{var Tt;$t(),(Tt=Nt.afterClose)===null||Tt===void 0||Tt.call(Nt)},Ue=function(){var Tt;er(!1);for(var Lt=arguments.length,gr=new Array(Lt),yr=0;yrsr==null?void 0:sr.triggerCancel)){var bn;(Tt=Nt.onCancel)===null||Tt===void 0||(bn=Tt).call.apply(bn,[Nt,()=>{}].concat((0,t.Z)(gr.slice(1))))}};r.useImperativeHandle(kt,()=>({destroy:Ue,update:Tt=>{Kt(Lt=>Object.assign(Object.assign({},Lt),Tt))}}));const Le=(ar=Nt.okCancel)!==null&&ar!==void 0?ar:Nt.type==="confirm",[rt]=(0,P.Z)("Modal",je.Z.Modal);return r.createElement($e,Object.assign({prefixCls:Er,rootPrefixCls:wt},Nt,{close:Ue,open:kr,afterClose:qe,okText:Nt.okText||(Le?rt==null?void 0:rt.okText:rt==null?void 0:rt.justOkText),direction:Nt.direction||Qt,cancelText:Nt.cancelText||(rt==null?void 0:rt.cancelText)},Ir))};var At=r.forwardRef(ht);let ce=0;const _t=r.memo(r.forwardRef((dt,kt)=>{const[ar,$t]=Se();return r.useImperativeHandle(kt,()=>({patchElement:$t}),[]),r.createElement(r.Fragment,null,ar)}));function qt(){const dt=r.useRef(null),[kt,ar]=r.useState([]);r.useEffect(()=>{kt.length&&((0,t.Z)(kt).forEach(kr=>{kr()}),ar([]))},[kt]);const $t=r.useCallback(Ir=>function(er){var Nt;ce+=1;const Kt=r.createRef();let Qt;const Cr=new Promise(Le=>{Qt=Le});let Er=!1,wt;const qe=r.createElement(At,{key:`modal-${ce}`,config:Ir(er),ref:Kt,afterClose:()=>{wt==null||wt()},isSilent:()=>Er,onConfirm:Le=>{Qt(Le)}});return wt=(Nt=dt.current)===null||Nt===void 0?void 0:Nt.patchElement(qe),wt&&ke.push(wt),{destroy:()=>{function Le(){var rt;(rt=Kt.current)===null||rt===void 0||rt.destroy()}Kt.current?Le():ar(rt=>[].concat((0,t.Z)(rt),[Le]))},update:Le=>{function rt(){var Tt;(Tt=Kt.current)===null||Tt===void 0||Tt.update(Le)}Kt.current?rt():ar(Tt=>[].concat((0,t.Z)(Tt),[rt]))},then:Le=>(Er=!0,Cr.then(Le))}},[]);return[r.useMemo(()=>({info:$t(mt),success:$t(pe),error:$t(ge),warning:$t(et),confirm:$t(lt)}),[]),r.createElement(_t,{key:"modal-holder",ref:dt})]}var Ht=qt;function Ut(dt){return Ee(et(dt))}const cr=Je;cr.useModal=Ht,cr.info=function(kt){return Ee(mt(kt))},cr.success=function(kt){return Ee(pe(kt))},cr.error=function(kt){return Ee(ge(kt))},cr.warning=Ut,cr.warn=Ut,cr.confirm=function(kt){return Ee(lt(kt))},cr.destroyAll=function(){for(;ke.length;){const kt=ke.pop();kt&&kt()}},cr.config=Qe,cr._InternalPanelDoNotUseOrYouWillBeFired=Yt;var Ze=cr},25012:function(i,d,e){"use strict";e.d(d,{A:function(){return u},f:function(){return s}});var t=e(85981);let r=Object.assign({},t.Z.Modal),n=[];const a=()=>n.reduce((c,o)=>Object.assign(Object.assign({},c),o),t.Z.Modal);function s(c){if(c){const o=Object.assign({},c);return n.push(o),r=a(),()=>{n=n.filter(f=>f!==o),r=a()}}r=Object.assign({},t.Z.Modal)}function u(){return r}},64427:function(i,d,e){"use strict";e.d(d,{B4:function(){return P},QA:function(){return _},eh:function(){return O}});var t=e(77654),r=e(36237),n=e(26705),a=e(63356),s=e(99495),u=e(34925),c=e(51636),o=e(16931);function f(S){return{position:S,inset:0}}const _=S=>{const{componentCls:I,antCls:E}=S;return[{[`${I}-root`]:{[`${I}${E}-zoom-enter, ${I}${E}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:S.motionDurationSlow,userSelect:"none"},[`${I}${E}-zoom-leave ${I}-content`]:{pointerEvents:"none"},[`${I}-mask`]:Object.assign(Object.assign({},f("fixed")),{zIndex:S.zIndexPopupBase,height:"100%",backgroundColor:S.colorBgMask,pointerEvents:"none",[`${I}-hidden`]:{display:"none"}}),[`${I}-wrap`]:Object.assign(Object.assign({},f("fixed")),{zIndex:S.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${I}-root`]:(0,s.J$)(S)}]},p=S=>{const{componentCls:I}=S;return[{[`${I}-root`]:{[`${I}-wrap-rtl`]:{direction:"rtl"},[`${I}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[I]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${S.screenSMMax}px)`]:{[I]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,r.unit)(S.marginXS)} auto`},[`${I}-centered`]:{[I]:{flex:1}}}}},{[I]:Object.assign(Object.assign({},(0,a.Wf)(S)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,r.unit)(S.calc(S.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:S.paddingLG,[`${I}-title`]:{margin:0,color:S.titleColor,fontWeight:S.fontWeightStrong,fontSize:S.titleFontSize,lineHeight:S.titleLineHeight,wordWrap:"break-word"},[`${I}-content`]:{position:"relative",backgroundColor:S.contentBg,backgroundClip:"padding-box",border:0,borderRadius:S.borderRadiusLG,boxShadow:S.boxShadow,pointerEvents:"auto",padding:S.contentPadding},[`${I}-close`]:Object.assign({position:"absolute",top:S.calc(S.modalHeaderHeight).sub(S.modalCloseBtnSize).div(2).equal(),insetInlineEnd:S.calc(S.modalHeaderHeight).sub(S.modalCloseBtnSize).div(2).equal(),zIndex:S.calc(S.zIndexPopupBase).add(10).equal(),padding:0,color:S.modalCloseIconColor,fontWeight:S.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:S.borderRadiusSM,width:S.modalCloseBtnSize,height:S.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${S.motionDurationMid}, background-color ${S.motionDurationMid}`,"&-x":{display:"flex",fontSize:S.fontSizeLG,fontStyle:"normal",lineHeight:(0,r.unit)(S.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:S.modalCloseIconHoverColor,backgroundColor:S.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:S.colorBgTextActive}},(0,a.Qy)(S)),[`${I}-header`]:{color:S.colorText,background:S.headerBg,borderRadius:`${(0,r.unit)(S.borderRadiusLG)} ${(0,r.unit)(S.borderRadiusLG)} 0 0`,marginBottom:S.headerMarginBottom,padding:S.headerPadding,borderBottom:S.headerBorderBottom},[`${I}-body`]:{fontSize:S.fontSize,lineHeight:S.lineHeight,wordWrap:"break-word",padding:S.bodyPadding,[`${I}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${(0,r.unit)(S.margin)} auto`}},[`${I}-footer`]:{textAlign:"end",background:S.footerBg,marginTop:S.footerMarginTop,padding:S.footerPadding,borderTop:S.footerBorderTop,borderRadius:S.footerBorderRadius,[`> ${S.antCls}-btn + ${S.antCls}-btn`]:{marginInlineStart:S.marginXS}},[`${I}-open`]:{overflow:"hidden"}})},{[`${I}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${I}-content, ${I}-body, - ${I}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${I}-confirm-body`]:{marginBottom:"auto"}}}]},x=S=>{const{componentCls:I}=S;return{[`${I}-root`]:{[`${I}-wrap-rtl`]:{direction:"rtl",[`${I}-confirm-body`]:{direction:"rtl"}}}}},g=S=>{const{componentCls:I}=S,E=(0,n.hd)(S);delete E.xs;const A=Object.keys(E).map(R=>({[`@media (min-width: ${(0,r.unit)(E[R])})`]:{width:`var(--${I.replace(".","")}-${R}-width)`}}));return{[`${I}-root`]:{[I]:[{width:`var(--${I.replace(".","")}-xs-width)`}].concat((0,t.Z)(A))}}},P=S=>{const I=S.padding,E=S.fontSizeHeading5,A=S.lineHeightHeading5;return(0,c.mergeToken)(S,{modalHeaderHeight:S.calc(S.calc(A).mul(E).equal()).add(S.calc(I).mul(2).equal()).equal(),modalFooterBorderColorSplit:S.colorSplit,modalFooterBorderStyle:S.lineType,modalFooterBorderWidth:S.lineWidth,modalCloseIconColor:S.colorIcon,modalCloseIconHoverColor:S.colorIconHover,modalCloseBtnSize:S.controlHeight,modalConfirmIconSize:S.fontHeight,modalTitleHeight:S.calc(S.titleFontSize).mul(S.titleLineHeight).equal()})},O=S=>({footerBg:"transparent",headerBg:S.colorBgElevated,titleLineHeight:S.lineHeightHeading5,titleFontSize:S.fontSizeHeading5,contentBg:S.colorBgElevated,titleColor:S.colorTextHeading,contentPadding:S.wireframe?0:`${(0,r.unit)(S.paddingMD)} ${(0,r.unit)(S.paddingContentHorizontalLG)}`,headerPadding:S.wireframe?`${(0,r.unit)(S.padding)} ${(0,r.unit)(S.paddingLG)}`:0,headerBorderBottom:S.wireframe?`${(0,r.unit)(S.lineWidth)} ${S.lineType} ${S.colorSplit}`:"none",headerMarginBottom:S.wireframe?0:S.marginXS,bodyPadding:S.wireframe?S.paddingLG:0,footerPadding:S.wireframe?`${(0,r.unit)(S.paddingXS)} ${(0,r.unit)(S.padding)}`:0,footerBorderTop:S.wireframe?`${(0,r.unit)(S.lineWidth)} ${S.lineType} ${S.colorSplit}`:"none",footerBorderRadius:S.wireframe?`0 0 ${(0,r.unit)(S.borderRadiusLG)} ${(0,r.unit)(S.borderRadiusLG)}`:0,footerMarginTop:S.wireframe?0:S.marginSM,confirmBodyPadding:S.wireframe?`${(0,r.unit)(S.padding*2)} ${(0,r.unit)(S.padding*2)} ${(0,r.unit)(S.paddingLG)}`:0,confirmIconMarginInlineEnd:S.wireframe?S.margin:S.marginSM,confirmBtnsMarginTop:S.wireframe?S.marginLG:S.marginSM});d.ZP=(0,o.I$)("Modal",S=>{const I=P(S);return[p(I),x(I),_(I),(0,u._y)(I,"zoom"),g(I)]},O,{unitless:{titleLineHeight:!0}})},97915:function(i,d,e){"use strict";e.d(d,{ZP:function(){return Yt}});var t=e(59301),r=e(17004),n=e(48755),a=e(60840),s=e(11774),u=e(29679),c=e(19248),o=e(99267),f=e(96512),_=e(78987),p=e(58617),x=e(92310),g=e.n(x),P=e(40271),O=e(83397),S=e(36237),I=e(75030),E=e(63356),A=e(51636),R=e(16931),D=Se=>{const{componentCls:je,notificationMarginEdge:Be,animationMaxHeight:ht}=Se,At=`${je}-notice`,ce=new S.Keyframes("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),_t=new S.Keyframes("antNotificationTopFadeIn",{"0%":{top:-ht,opacity:0},"100%":{top:0,opacity:1}}),qt=new S.Keyframes("antNotificationBottomFadeIn",{"0%":{bottom:Se.calc(ht).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),Ht=new S.Keyframes("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[je]:{[`&${je}-top, &${je}-bottom`]:{marginInline:0,[At]:{marginInline:"auto auto"}},[`&${je}-top`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:_t}},[`&${je}-bottom`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:qt}},[`&${je}-topRight, &${je}-bottomRight`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:ce}},[`&${je}-topLeft, &${je}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:Be,_skip_check_:!0},[At]:{marginInlineEnd:"auto",marginInlineStart:0},[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:Ht}}}}};const k=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],B={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},j=(Se,je)=>{const{componentCls:Be}=Se;return{[`${Be}-${je}`]:{[`&${Be}-stack > ${Be}-notice-wrapper`]:{[je.startsWith("top")?"top":"bottom"]:0,[B[je]]:{value:0,_skip_check_:!0}}}}},V=Se=>{const je={};for(let Be=1;Be ${Se.componentCls}-notice`]:{opacity:0,transition:`opacity ${Se.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${Se.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},je)},H=Se=>{const je={};for(let Be=1;Be{const{componentCls:je}=Se;return Object.assign({[`${je}-stack`]:{[`& > ${je}-notice-wrapper`]:Object.assign({transition:`transform ${Se.motionDurationSlow}, backdrop-filter 0s`,willChange:"transform, opacity",position:"absolute"},V(Se))},[`${je}-stack:not(${je}-stack-expanded)`]:{[`& > ${je}-notice-wrapper`]:Object.assign({},H(Se))},[`${je}-stack${je}-stack-expanded`]:{[`& > ${je}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${Se.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:Se.margin,width:"100%",insetInline:0,bottom:Se.calc(Se.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},k.map(Be=>j(Se,Be)).reduce((Be,ht)=>Object.assign(Object.assign({},Be),ht),{}))};const K=Se=>{const{iconCls:je,componentCls:Be,boxShadow:ht,fontSizeLG:At,notificationMarginBottom:ce,borderRadiusLG:_t,colorSuccess:qt,colorInfo:Ht,colorWarning:Ut,colorError:cr,colorTextHeading:Ze,notificationBg:dt,notificationPadding:Mt,notificationMarginEdge:ar,notificationProgressBg:$t,notificationProgressHeight:pr,fontSize:Ir,lineHeight:Mr,width:er,notificationIconSize:Nt,colorText:Kt}=Se,Qt=`${Be}-notice`;return{position:"relative",marginBottom:ce,marginInlineStart:"auto",background:dt,borderRadius:_t,boxShadow:ht,[Qt]:{padding:Mt,width:er,maxWidth:`calc(100vw - ${(0,S.unit)(Se.calc(ar).mul(2).equal())})`,overflow:"hidden",lineHeight:Mr,wordWrap:"break-word"},[`${Qt}-message`]:{marginBottom:Se.marginXS,color:Ze,fontSize:At,lineHeight:Se.lineHeightLG},[`${Qt}-description`]:{fontSize:Ir,color:Kt},[`${Qt}-closable ${Qt}-message`]:{paddingInlineEnd:Se.paddingLG},[`${Qt}-with-icon ${Qt}-message`]:{marginBottom:Se.marginXS,marginInlineStart:Se.calc(Se.marginSM).add(Nt).equal(),fontSize:At},[`${Qt}-with-icon ${Qt}-description`]:{marginInlineStart:Se.calc(Se.marginSM).add(Nt).equal(),fontSize:Ir},[`${Qt}-icon`]:{position:"absolute",fontSize:Nt,lineHeight:1,[`&-success${je}`]:{color:qt},[`&-info${je}`]:{color:Ht},[`&-warning${je}`]:{color:Ut},[`&-error${je}`]:{color:cr}},[`${Qt}-close`]:Object.assign({position:"absolute",top:Se.notificationPaddingVertical,insetInlineEnd:Se.notificationPaddingHorizontal,color:Se.colorIcon,outline:"none",width:Se.notificationCloseButtonSize,height:Se.notificationCloseButtonSize,borderRadius:Se.borderRadiusSM,transition:`background-color ${Se.motionDurationMid}, color ${Se.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:Se.colorIconHover,backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},(0,E.Qy)(Se)),[`${Qt}-progress`]:{position:"absolute",display:"block",appearance:"none",inlineSize:`calc(100% - ${(0,S.unit)(_t)} * 2)`,left:{_skip_check_:!0,value:_t},right:{_skip_check_:!0,value:_t},bottom:0,blockSize:pr,border:0,"&, &::-webkit-progress-bar":{borderRadius:_t,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:$t},"&::-webkit-progress-value":{borderRadius:_t,background:$t}},[`${Qt}-actions`]:{float:"right",marginTop:Se.marginSM}}},X=Se=>{const{componentCls:je,notificationMarginBottom:Be,notificationMarginEdge:ht,motionDurationMid:At,motionEaseInOut:ce}=Se,_t=`${je}-notice`,qt=new S.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Se.animationMaxHeight,marginBottom:Be},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[je]:Object.assign(Object.assign({},(0,E.Wf)(Se)),{position:"fixed",zIndex:Se.zIndexPopup,marginRight:{value:ht,_skip_check_:!0},[`${je}-hook-holder`]:{position:"relative"},[`${je}-fade-appear-prepare`]:{opacity:"0 !important"},[`${je}-fade-enter, ${je}-fade-appear`]:{animationDuration:Se.motionDurationMid,animationTimingFunction:ce,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${je}-fade-leave`]:{animationTimingFunction:ce,animationFillMode:"both",animationDuration:At,animationPlayState:"paused"},[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationPlayState:"running"},[`${je}-fade-leave${je}-fade-leave-active`]:{animationName:qt,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${_t}-actions`]:{float:"left"}}})},{[je]:{[`${_t}-wrapper`]:Object.assign({},K(Se))}}]},Q=Se=>({zIndexPopup:Se.zIndexPopupBase+I.u6+50,width:384}),W=Se=>{const je=Se.paddingMD,Be=Se.paddingLG;return(0,A.mergeToken)(Se,{notificationBg:Se.colorBgElevated,notificationPaddingVertical:je,notificationPaddingHorizontal:Be,notificationIconSize:Se.calc(Se.fontSizeLG).mul(Se.lineHeightLG).equal(),notificationCloseButtonSize:Se.calc(Se.controlHeightLG).mul(.55).equal(),notificationMarginBottom:Se.margin,notificationPadding:`${(0,S.unit)(Se.paddingMD)} ${(0,S.unit)(Se.paddingContentHorizontalLG)}`,notificationMarginEdge:Se.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${Se.colorPrimaryBorderHover}, ${Se.colorPrimary})`})};var N=(0,R.I$)("Notification",Se=>{const je=W(Se);return[X(je),D(je),F(je)]},Q),J=(0,R.bk)(["Notification","PurePanel"],Se=>{const je=`${Se.componentCls}-notice`,Be=W(Se);return{[`${je}-pure-panel`]:Object.assign(Object.assign({},K(Be)),{width:Be.width,maxWidth:`calc(100vw - ${(0,S.unit)(Se.calc(Be.notificationMarginEdge).mul(2).equal())})`,margin:0})}},Q),M=function(Se,je){var Be={};for(var ht in Se)Object.prototype.hasOwnProperty.call(Se,ht)&&je.indexOf(ht)<0&&(Be[ht]=Se[ht]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ht=Object.getOwnPropertySymbols(Se);At{const{prefixCls:je,icon:Be,type:ht,message:At,description:ce,actions:_t,role:qt="alert"}=Se;let Ht=null;return Be?Ht=t.createElement("span",{className:`${je}-icon`},Be):ht&&(Ht=t.createElement(ee[ht]||null,{className:g()(`${je}-icon`,`${je}-icon-${ht}`)})),t.createElement("div",{className:g()({[`${je}-with-icon`]:Ht}),role:qt},Ht,t.createElement("div",{className:`${je}-message`},At),t.createElement("div",{className:`${je}-description`},ce),_t&&t.createElement("div",{className:`${je}-actions`},_t))};var le=Se=>{const{prefixCls:je,className:Be,icon:ht,type:At,message:ce,description:_t,btn:qt,actions:Ht,closable:Ut=!0,closeIcon:cr,className:Ze}=Se,dt=M(Se,["prefixCls","className","icon","type","message","description","btn","actions","closable","closeIcon","className"]),{getPrefixCls:Mt}=t.useContext(n.E_),ar=Ht!=null?Ht:qt,$t=je||Mt("notification"),pr=`${$t}-notice`,Ir=(0,O.Z)($t),[Mr,er,Nt]=N($t,Ir);return Mr(t.createElement("div",{className:g()(`${pr}-pure-panel`,er,Be,Nt,Ir)},t.createElement(J,{prefixCls:$t}),t.createElement(P.qX,Object.assign({},dt,{prefixCls:$t,eventKey:"pure",duration:null,closable:Ut,className:g()({notificationClassName:Ze}),closeIcon:G($t,cr),content:t.createElement(ie,{prefixCls:pr,icon:ht,type:At,message:ce,description:_t,actions:ar})}))))},de=e(32383),He=e(57700);function ze(Se,je,Be){let ht;switch(Se){case"top":ht={left:"50%",transform:"translateX(-50%)",right:"auto",top:je,bottom:"auto"};break;case"topLeft":ht={left:0,top:je,bottom:"auto"};break;case"topRight":ht={right:0,top:je,bottom:"auto"};break;case"bottom":ht={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:Be};break;case"bottomLeft":ht={left:0,top:"auto",bottom:Be};break;default:ht={right:0,top:"auto",bottom:Be};break}return ht}function st(Se){return{motionName:`${Se}-fade`}}function vt(Se,je,Be){return typeof Se!="undefined"?Se:typeof(je==null?void 0:je.closeIcon)!="undefined"?je.closeIcon:Be==null?void 0:Be.closeIcon}var Je=function(Se,je){var Be={};for(var ht in Se)Object.prototype.hasOwnProperty.call(Se,ht)&&je.indexOf(ht)<0&&(Be[ht]=Se[ht]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ht=Object.getOwnPropertySymbols(Se);At{let{children:je,prefixCls:Be}=Se;const ht=(0,O.Z)(Be),[At,ce,_t]=N(Be,ht);return At(t.createElement(P.JB,{classNames:{list:g()(ce,_t,ht)}},je))},at=(Se,je)=>{let{prefixCls:Be,key:ht}=je;return t.createElement(me,{prefixCls:Be,key:ht},Se)},ct=t.forwardRef((Se,je)=>{const{top:Be,bottom:ht,prefixCls:At,getContainer:ce,maxCount:_t,rtl:qt,onAllRemoved:Ht,stack:Ut,duration:cr,pauseOnHover:Ze=!0,showProgress:dt}=Se,{getPrefixCls:Mt,getPopupContainer:ar,notification:$t,direction:pr}=(0,t.useContext)(n.E_),[,Ir]=(0,He.ZP)(),Mr=At||Mt("notification"),er=Er=>ze(Er,Be!=null?Be:Ke,ht!=null?ht:Ke),Nt=()=>g()({[`${Mr}-rtl`]:qt!=null?qt:pr==="rtl"}),Kt=()=>st(Mr),[Qt,Cr]=(0,P.lm)({prefixCls:Mr,style:er,className:Nt,motion:Kt,closable:!0,closeIcon:G(Mr),duration:cr!=null?cr:Re,getContainer:()=>(ce==null?void 0:ce())||(ar==null?void 0:ar())||document.body,maxCount:_t,pauseOnHover:Ze,showProgress:dt,onAllRemoved:Ht,renderNotifications:at,stack:Ut===!1?!1:{threshold:typeof Ut=="object"?Ut==null?void 0:Ut.threshold:void 0,offset:8,gap:Ir.margin}});return t.useImperativeHandle(je,()=>Object.assign(Object.assign({},Qt),{prefixCls:Mr,notification:$t})),Cr});function St(Se){const je=t.useRef(null),Be=(0,de.ln)("Notification");return[t.useMemo(()=>{const At=Ht=>{var Ut;if(!je.current)return;const{open:cr,prefixCls:Ze,notification:dt}=je.current,Mt=`${Ze}-notice`,{message:ar,description:$t,icon:pr,type:Ir,btn:Mr,actions:er,className:Nt,style:Kt,role:Qt="alert",closeIcon:Cr,closable:Er}=Ht,wt=Je(Ht,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),qe=er!=null?er:Mr,Ue=G(Mt,vt(Cr,Se,dt));return cr(Object.assign(Object.assign({placement:(Ut=Se==null?void 0:Se.placement)!==null&&Ut!==void 0?Ut:Ce},wt),{content:t.createElement(ie,{prefixCls:Mt,icon:pr,type:Ir,message:ar,description:$t,actions:qe,role:Qt}),className:g()(Ir&&`${Mt}-${Ir}`,Nt,dt==null?void 0:dt.className),style:Object.assign(Object.assign({},dt==null?void 0:dt.style),Kt),closeIcon:Ue,closable:Er!=null?Er:!!Ue}))},_t={open:At,destroy:Ht=>{var Ut,cr;Ht!==void 0?(Ut=je.current)===null||Ut===void 0||Ut.close(Ht):(cr=je.current)===null||cr===void 0||cr.destroy()}};return["success","info","warning","error"].forEach(Ht=>{_t[Ht]=Ut=>At(Object.assign(Object.assign({},Ut),{type:Ht}))}),_t},[]),t.createElement(ct,Object.assign({key:"notification-holder"},Se,{ref:je}))]}function bt(Se){return St(Se)}let Ie=null,$e=Se=>Se(),ft=[],Me={};function ye(){const{getContainer:Se,rtl:je,maxCount:Be,top:ht,bottom:At,showProgress:ce,pauseOnHover:_t}=Me,qt=(Se==null?void 0:Se())||document.body;return{getContainer:()=>qt,rtl:je,maxCount:Be,top:ht,bottom:At,showProgress:ce,pauseOnHover:_t}}const fe=t.forwardRef((Se,je)=>{const{notificationConfig:Be,sync:ht}=Se,{getPrefixCls:At}=(0,t.useContext)(n.E_),ce=Me.prefixCls||At("notification"),_t=(0,t.useContext)(r.J),[qt,Ht]=St(Object.assign(Object.assign(Object.assign({},Be),{prefixCls:ce}),_t.notification));return t.useEffect(ht,[]),t.useImperativeHandle(je,()=>{const Ut=Object.assign({},qt);return Object.keys(Ut).forEach(cr=>{Ut[cr]=function(){return ht(),qt[cr].apply(qt,arguments)}}),{instance:Ut,sync:ht}}),Ht}),Oe=t.forwardRef((Se,je)=>{const[Be,ht]=t.useState(ye),At=()=>{ht(ye)};t.useEffect(At,[]);const ce=(0,a.w6)(),_t=ce.getRootPrefixCls(),qt=ce.getIconPrefixCls(),Ht=ce.getTheme(),Ut=t.createElement(fe,{ref:je,sync:At,notificationConfig:Be});return t.createElement(a.ZP,{prefixCls:_t,iconPrefixCls:qt,theme:Ht},ce.holderRender?ce.holderRender(Ut):Ut)});function Ee(){if(!Ie){const Se=document.createDocumentFragment(),je={fragment:Se};Ie=je,$e(()=>{(0,s.x)()(t.createElement(Oe,{ref:ht=>{const{instance:At,sync:ce}=ht||{};Promise.resolve().then(()=>{!je.instance&&At&&(je.instance=At,je.sync=ce,Ee())})}}),Se)});return}Ie.instance&&(ft.forEach(Se=>{switch(Se.type){case"open":{$e(()=>{Ie.instance.open(Object.assign(Object.assign({},Me),Se.config))});break}case"destroy":$e(()=>{Ie==null||Ie.instance.destroy(Se.key)});break}}),ft=[])}function et(Se){Me=Object.assign(Object.assign({},Me),Se),$e(()=>{var je;(je=Ie==null?void 0:Ie.sync)===null||je===void 0||je.call(Ie)})}function mt(Se){const je=(0,a.w6)();ft.push({type:"open",config:Se}),Ee()}const pe=Se=>{ft.push({type:"destroy",key:Se}),Ee()},ge=["success","info","warning","error"],Qe={open:mt,destroy:pe,config:et,useNotification:bt,_InternalPanelDoNotUseOrYouWillBeFired:le};ge.forEach(Se=>{Qe[Se]=je=>mt(Object.assign(Object.assign({},je),{type:Se}))});const Ve=()=>{};let it=null,Dt=null;var Yt=Qe},77019:function(i,d,e){"use strict";var t=e(65970);d.Z=t.Z},458:function(i,d,e){"use strict";e.d(d,{Z:function(){return Je}});var t=e(59301),r=e(92310),n=e.n(r),a=e(48755),s=e(2738),c=Ke=>{const{prefixCls:Re,className:Ce,style:me,size:at,shape:ct}=Ke,St=n()({[`${Re}-lg`]:at==="large",[`${Re}-sm`]:at==="small"}),bt=n()({[`${Re}-circle`]:ct==="circle",[`${Re}-square`]:ct==="square",[`${Re}-round`]:ct==="round"}),Ie=t.useMemo(()=>typeof at=="number"?{width:at,height:at,lineHeight:`${at}px`}:{},[at]);return t.createElement("span",{className:n()(Re,St,bt,Ce),style:Object.assign(Object.assign({},Ie),me)})},o=e(36237),f=e(16931),_=e(51636);const p=new o.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),x=Ke=>({height:Ke,lineHeight:(0,o.unit)(Ke)}),g=Ke=>Object.assign({width:Ke},x(Ke)),P=Ke=>({background:Ke.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:Ke.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),O=(Ke,Re)=>Object.assign({width:Re(Ke).mul(5).equal(),minWidth:Re(Ke).mul(5).equal()},x(Ke)),S=Ke=>{const{skeletonAvatarCls:Re,gradientFromColor:Ce,controlHeight:me,controlHeightLG:at,controlHeightSM:ct}=Ke;return{[Re]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ce},g(me)),[`${Re}${Re}-circle`]:{borderRadius:"50%"},[`${Re}${Re}-lg`]:Object.assign({},g(at)),[`${Re}${Re}-sm`]:Object.assign({},g(ct))}},I=Ke=>{const{controlHeight:Re,borderRadiusSM:Ce,skeletonInputCls:me,controlHeightLG:at,controlHeightSM:ct,gradientFromColor:St,calc:bt}=Ke;return{[me]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Ce},O(Re,bt)),[`${me}-lg`]:Object.assign({},O(at,bt)),[`${me}-sm`]:Object.assign({},O(ct,bt))}},E=Ke=>Object.assign({width:Ke},x(Ke)),A=Ke=>{const{skeletonImageCls:Re,imageSizeBase:Ce,gradientFromColor:me,borderRadiusSM:at,calc:ct}=Ke;return{[Re]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:me,borderRadius:at},E(ct(Ce).mul(2).equal())),{[`${Re}-path`]:{fill:"#bfbfbf"},[`${Re}-svg`]:Object.assign(Object.assign({},E(Ce)),{maxWidth:ct(Ce).mul(4).equal(),maxHeight:ct(Ce).mul(4).equal()}),[`${Re}-svg${Re}-svg-circle`]:{borderRadius:"50%"}}),[`${Re}${Re}-circle`]:{borderRadius:"50%"}}},R=(Ke,Re,Ce)=>{const{skeletonButtonCls:me}=Ke;return{[`${Ce}${me}-circle`]:{width:Re,minWidth:Re,borderRadius:"50%"},[`${Ce}${me}-round`]:{borderRadius:Re}}},T=(Ke,Re)=>Object.assign({width:Re(Ke).mul(2).equal(),minWidth:Re(Ke).mul(2).equal()},x(Ke)),D=Ke=>{const{borderRadiusSM:Re,skeletonButtonCls:Ce,controlHeight:me,controlHeightLG:at,controlHeightSM:ct,gradientFromColor:St,calc:bt}=Ke;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[Ce]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Re,width:bt(me).mul(2).equal(),minWidth:bt(me).mul(2).equal()},T(me,bt))},R(Ke,me,Ce)),{[`${Ce}-lg`]:Object.assign({},T(at,bt))}),R(Ke,at,`${Ce}-lg`)),{[`${Ce}-sm`]:Object.assign({},T(ct,bt))}),R(Ke,ct,`${Ce}-sm`))},k=Ke=>{const{componentCls:Re,skeletonAvatarCls:Ce,skeletonTitleCls:me,skeletonParagraphCls:at,skeletonButtonCls:ct,skeletonInputCls:St,skeletonImageCls:bt,controlHeight:Ie,controlHeightLG:$e,controlHeightSM:ft,gradientFromColor:Me,padding:ye,marginSM:fe,borderRadius:Oe,titleHeight:Ee,blockRadius:et,paragraphLiHeight:mt,controlHeightXS:pe,paragraphMarginTop:ge}=Ke;return{[Re]:{display:"table",width:"100%",[`${Re}-header`]:{display:"table-cell",paddingInlineEnd:ye,verticalAlign:"top",[Ce]:Object.assign({display:"inline-block",verticalAlign:"top",background:Me},g(Ie)),[`${Ce}-circle`]:{borderRadius:"50%"},[`${Ce}-lg`]:Object.assign({},g($e)),[`${Ce}-sm`]:Object.assign({},g(ft))},[`${Re}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[me]:{width:"100%",height:Ee,background:Me,borderRadius:et,[`+ ${at}`]:{marginBlockStart:ft}},[at]:{padding:0,"> li":{width:"100%",height:mt,listStyle:"none",background:Me,borderRadius:et,"+ li":{marginBlockStart:pe}}},[`${at}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Re}-content`]:{[`${me}, ${at} > li`]:{borderRadius:Oe}}},[`${Re}-with-avatar ${Re}-content`]:{[me]:{marginBlockStart:fe,[`+ ${at}`]:{marginBlockStart:ge}}},[`${Re}${Re}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},D(Ke)),S(Ke)),I(Ke)),A(Ke)),[`${Re}${Re}-block`]:{width:"100%",[ct]:{width:"100%"},[St]:{width:"100%"}},[`${Re}${Re}-active`]:{[` + ${I}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${I}-confirm-body`]:{marginBottom:"auto"}}}]},x=S=>{const{componentCls:I}=S;return{[`${I}-root`]:{[`${I}-wrap-rtl`]:{direction:"rtl",[`${I}-confirm-body`]:{direction:"rtl"}}}}},g=S=>{const{componentCls:I}=S,E=(0,n.hd)(S);delete E.xs;const A=Object.keys(E).map(R=>({[`@media (min-width: ${(0,r.unit)(E[R])})`]:{width:`var(--${I.replace(".","")}-${R}-width)`}}));return{[`${I}-root`]:{[I]:[{width:`var(--${I.replace(".","")}-xs-width)`}].concat((0,t.Z)(A))}}},P=S=>{const I=S.padding,E=S.fontSizeHeading5,A=S.lineHeightHeading5;return(0,c.mergeToken)(S,{modalHeaderHeight:S.calc(S.calc(A).mul(E).equal()).add(S.calc(I).mul(2).equal()).equal(),modalFooterBorderColorSplit:S.colorSplit,modalFooterBorderStyle:S.lineType,modalFooterBorderWidth:S.lineWidth,modalCloseIconColor:S.colorIcon,modalCloseIconHoverColor:S.colorIconHover,modalCloseBtnSize:S.controlHeight,modalConfirmIconSize:S.fontHeight,modalTitleHeight:S.calc(S.titleFontSize).mul(S.titleLineHeight).equal()})},O=S=>({footerBg:"transparent",headerBg:S.colorBgElevated,titleLineHeight:S.lineHeightHeading5,titleFontSize:S.fontSizeHeading5,contentBg:S.colorBgElevated,titleColor:S.colorTextHeading,contentPadding:S.wireframe?0:`${(0,r.unit)(S.paddingMD)} ${(0,r.unit)(S.paddingContentHorizontalLG)}`,headerPadding:S.wireframe?`${(0,r.unit)(S.padding)} ${(0,r.unit)(S.paddingLG)}`:0,headerBorderBottom:S.wireframe?`${(0,r.unit)(S.lineWidth)} ${S.lineType} ${S.colorSplit}`:"none",headerMarginBottom:S.wireframe?0:S.marginXS,bodyPadding:S.wireframe?S.paddingLG:0,footerPadding:S.wireframe?`${(0,r.unit)(S.paddingXS)} ${(0,r.unit)(S.padding)}`:0,footerBorderTop:S.wireframe?`${(0,r.unit)(S.lineWidth)} ${S.lineType} ${S.colorSplit}`:"none",footerBorderRadius:S.wireframe?`0 0 ${(0,r.unit)(S.borderRadiusLG)} ${(0,r.unit)(S.borderRadiusLG)}`:0,footerMarginTop:S.wireframe?0:S.marginSM,confirmBodyPadding:S.wireframe?`${(0,r.unit)(S.padding*2)} ${(0,r.unit)(S.padding*2)} ${(0,r.unit)(S.paddingLG)}`:0,confirmIconMarginInlineEnd:S.wireframe?S.margin:S.marginSM,confirmBtnsMarginTop:S.wireframe?S.marginLG:S.marginSM});d.ZP=(0,o.I$)("Modal",S=>{const I=P(S);return[p(I),x(I),_(I),(0,u._y)(I,"zoom"),g(I)]},O,{unitless:{titleLineHeight:!0}})},97915:function(i,d,e){"use strict";e.d(d,{ZP:function(){return Yt}});var t=e(59301),r=e(17004),n=e(48755),a=e(60840),s=e(11774),u=e(29679),c=e(19248),o=e(99267),f=e(96512),_=e(78987),p=e(58617),x=e(92310),g=e.n(x),P=e(40271),O=e(83397),S=e(36237),I=e(75030),E=e(63356),A=e(51636),R=e(16931),D=Se=>{const{componentCls:je,notificationMarginEdge:Be,animationMaxHeight:ht}=Se,At=`${je}-notice`,ce=new S.Keyframes("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),_t=new S.Keyframes("antNotificationTopFadeIn",{"0%":{top:-ht,opacity:0},"100%":{top:0,opacity:1}}),qt=new S.Keyframes("antNotificationBottomFadeIn",{"0%":{bottom:Se.calc(ht).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),Ht=new S.Keyframes("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[je]:{[`&${je}-top, &${je}-bottom`]:{marginInline:0,[At]:{marginInline:"auto auto"}},[`&${je}-top`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:_t}},[`&${je}-bottom`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:qt}},[`&${je}-topRight, &${je}-bottomRight`]:{[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:ce}},[`&${je}-topLeft, &${je}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:Be,_skip_check_:!0},[At]:{marginInlineEnd:"auto",marginInlineStart:0},[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationName:Ht}}}}};const M=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],B={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},j=(Se,je)=>{const{componentCls:Be}=Se;return{[`${Be}-${je}`]:{[`&${Be}-stack > ${Be}-notice-wrapper`]:{[je.startsWith("top")?"top":"bottom"]:0,[B[je]]:{value:0,_skip_check_:!0}}}}},V=Se=>{const je={};for(let Be=1;Be ${Se.componentCls}-notice`]:{opacity:0,transition:`opacity ${Se.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${Se.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},je)},H=Se=>{const je={};for(let Be=1;Be{const{componentCls:je}=Se;return Object.assign({[`${je}-stack`]:{[`& > ${je}-notice-wrapper`]:Object.assign({transition:`transform ${Se.motionDurationSlow}, backdrop-filter 0s`,willChange:"transform, opacity",position:"absolute"},V(Se))},[`${je}-stack:not(${je}-stack-expanded)`]:{[`& > ${je}-notice-wrapper`]:Object.assign({},H(Se))},[`${je}-stack${je}-stack-expanded`]:{[`& > ${je}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${Se.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:Se.margin,width:"100%",insetInline:0,bottom:Se.calc(Se.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},M.map(Be=>j(Se,Be)).reduce((Be,ht)=>Object.assign(Object.assign({},Be),ht),{}))};const K=Se=>{const{iconCls:je,componentCls:Be,boxShadow:ht,fontSizeLG:At,notificationMarginBottom:ce,borderRadiusLG:_t,colorSuccess:qt,colorInfo:Ht,colorWarning:Ut,colorError:cr,colorTextHeading:Ze,notificationBg:dt,notificationPadding:kt,notificationMarginEdge:ar,notificationProgressBg:$t,notificationProgressHeight:pr,fontSize:Ir,lineHeight:kr,width:er,notificationIconSize:Nt,colorText:Kt}=Se,Qt=`${Be}-notice`;return{position:"relative",marginBottom:ce,marginInlineStart:"auto",background:dt,borderRadius:_t,boxShadow:ht,[Qt]:{padding:kt,width:er,maxWidth:`calc(100vw - ${(0,S.unit)(Se.calc(ar).mul(2).equal())})`,overflow:"hidden",lineHeight:kr,wordWrap:"break-word"},[`${Qt}-message`]:{marginBottom:Se.marginXS,color:Ze,fontSize:At,lineHeight:Se.lineHeightLG},[`${Qt}-description`]:{fontSize:Ir,color:Kt},[`${Qt}-closable ${Qt}-message`]:{paddingInlineEnd:Se.paddingLG},[`${Qt}-with-icon ${Qt}-message`]:{marginBottom:Se.marginXS,marginInlineStart:Se.calc(Se.marginSM).add(Nt).equal(),fontSize:At},[`${Qt}-with-icon ${Qt}-description`]:{marginInlineStart:Se.calc(Se.marginSM).add(Nt).equal(),fontSize:Ir},[`${Qt}-icon`]:{position:"absolute",fontSize:Nt,lineHeight:1,[`&-success${je}`]:{color:qt},[`&-info${je}`]:{color:Ht},[`&-warning${je}`]:{color:Ut},[`&-error${je}`]:{color:cr}},[`${Qt}-close`]:Object.assign({position:"absolute",top:Se.notificationPaddingVertical,insetInlineEnd:Se.notificationPaddingHorizontal,color:Se.colorIcon,outline:"none",width:Se.notificationCloseButtonSize,height:Se.notificationCloseButtonSize,borderRadius:Se.borderRadiusSM,transition:`background-color ${Se.motionDurationMid}, color ${Se.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",background:"none",border:"none","&:hover":{color:Se.colorIconHover,backgroundColor:Se.colorBgTextHover},"&:active":{backgroundColor:Se.colorBgTextActive}},(0,E.Qy)(Se)),[`${Qt}-progress`]:{position:"absolute",display:"block",appearance:"none",inlineSize:`calc(100% - ${(0,S.unit)(_t)} * 2)`,left:{_skip_check_:!0,value:_t},right:{_skip_check_:!0,value:_t},bottom:0,blockSize:pr,border:0,"&, &::-webkit-progress-bar":{borderRadius:_t,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:$t},"&::-webkit-progress-value":{borderRadius:_t,background:$t}},[`${Qt}-actions`]:{float:"right",marginTop:Se.marginSM}}},X=Se=>{const{componentCls:je,notificationMarginBottom:Be,notificationMarginEdge:ht,motionDurationMid:At,motionEaseInOut:ce}=Se,_t=`${je}-notice`,qt=new S.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Se.animationMaxHeight,marginBottom:Be},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[je]:Object.assign(Object.assign({},(0,E.Wf)(Se)),{position:"fixed",zIndex:Se.zIndexPopup,marginRight:{value:ht,_skip_check_:!0},[`${je}-hook-holder`]:{position:"relative"},[`${je}-fade-appear-prepare`]:{opacity:"0 !important"},[`${je}-fade-enter, ${je}-fade-appear`]:{animationDuration:Se.motionDurationMid,animationTimingFunction:ce,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${je}-fade-leave`]:{animationTimingFunction:ce,animationFillMode:"both",animationDuration:At,animationPlayState:"paused"},[`${je}-fade-enter${je}-fade-enter-active, ${je}-fade-appear${je}-fade-appear-active`]:{animationPlayState:"running"},[`${je}-fade-leave${je}-fade-leave-active`]:{animationName:qt,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${_t}-actions`]:{float:"left"}}})},{[je]:{[`${_t}-wrapper`]:Object.assign({},K(Se))}}]},Q=Se=>({zIndexPopup:Se.zIndexPopupBase+I.u6+50,width:384}),W=Se=>{const je=Se.paddingMD,Be=Se.paddingLG;return(0,A.mergeToken)(Se,{notificationBg:Se.colorBgElevated,notificationPaddingVertical:je,notificationPaddingHorizontal:Be,notificationIconSize:Se.calc(Se.fontSizeLG).mul(Se.lineHeightLG).equal(),notificationCloseButtonSize:Se.calc(Se.controlHeightLG).mul(.55).equal(),notificationMarginBottom:Se.margin,notificationPadding:`${(0,S.unit)(Se.paddingMD)} ${(0,S.unit)(Se.paddingContentHorizontalLG)}`,notificationMarginEdge:Se.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${Se.colorPrimaryBorderHover}, ${Se.colorPrimary})`})};var N=(0,R.I$)("Notification",Se=>{const je=W(Se);return[X(je),D(je),F(je)]},Q),J=(0,R.bk)(["Notification","PurePanel"],Se=>{const je=`${Se.componentCls}-notice`,Be=W(Se);return{[`${je}-pure-panel`]:Object.assign(Object.assign({},K(Be)),{width:Be.width,maxWidth:`calc(100vw - ${(0,S.unit)(Se.calc(Be.notificationMarginEdge).mul(2).equal())})`,margin:0})}},Q),k=function(Se,je){var Be={};for(var ht in Se)Object.prototype.hasOwnProperty.call(Se,ht)&&je.indexOf(ht)<0&&(Be[ht]=Se[ht]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ht=Object.getOwnPropertySymbols(Se);At{const{prefixCls:je,icon:Be,type:ht,message:At,description:ce,actions:_t,role:qt="alert"}=Se;let Ht=null;return Be?Ht=t.createElement("span",{className:`${je}-icon`},Be):ht&&(Ht=t.createElement(ee[ht]||null,{className:g()(`${je}-icon`,`${je}-icon-${ht}`)})),t.createElement("div",{className:g()({[`${je}-with-icon`]:Ht}),role:qt},Ht,t.createElement("div",{className:`${je}-message`},At),t.createElement("div",{className:`${je}-description`},ce),_t&&t.createElement("div",{className:`${je}-actions`},_t))};var le=Se=>{const{prefixCls:je,className:Be,icon:ht,type:At,message:ce,description:_t,btn:qt,actions:Ht,closable:Ut=!0,closeIcon:cr,className:Ze}=Se,dt=k(Se,["prefixCls","className","icon","type","message","description","btn","actions","closable","closeIcon","className"]),{getPrefixCls:kt}=t.useContext(n.E_),ar=Ht!=null?Ht:qt,$t=je||kt("notification"),pr=`${$t}-notice`,Ir=(0,O.Z)($t),[kr,er,Nt]=N($t,Ir);return kr(t.createElement("div",{className:g()(`${pr}-pure-panel`,er,Be,Nt,Ir)},t.createElement(J,{prefixCls:$t}),t.createElement(P.qX,Object.assign({},dt,{prefixCls:$t,eventKey:"pure",duration:null,closable:Ut,className:g()({notificationClassName:Ze}),closeIcon:G($t,cr),content:t.createElement(ie,{prefixCls:pr,icon:ht,type:At,message:ce,description:_t,actions:ar})}))))},de=e(32383),He=e(57700);function ze(Se,je,Be){let ht;switch(Se){case"top":ht={left:"50%",transform:"translateX(-50%)",right:"auto",top:je,bottom:"auto"};break;case"topLeft":ht={left:0,top:je,bottom:"auto"};break;case"topRight":ht={right:0,top:je,bottom:"auto"};break;case"bottom":ht={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:Be};break;case"bottomLeft":ht={left:0,top:"auto",bottom:Be};break;default:ht={right:0,top:"auto",bottom:Be};break}return ht}function st(Se){return{motionName:`${Se}-fade`}}function vt(Se,je,Be){return typeof Se!="undefined"?Se:typeof(je==null?void 0:je.closeIcon)!="undefined"?je.closeIcon:Be==null?void 0:Be.closeIcon}var Je=function(Se,je){var Be={};for(var ht in Se)Object.prototype.hasOwnProperty.call(Se,ht)&&je.indexOf(ht)<0&&(Be[ht]=Se[ht]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var At=0,ht=Object.getOwnPropertySymbols(Se);At{let{children:je,prefixCls:Be}=Se;const ht=(0,O.Z)(Be),[At,ce,_t]=N(Be,ht);return At(t.createElement(P.JB,{classNames:{list:g()(ce,_t,ht)}},je))},at=(Se,je)=>{let{prefixCls:Be,key:ht}=je;return t.createElement(me,{prefixCls:Be,key:ht},Se)},ct=t.forwardRef((Se,je)=>{const{top:Be,bottom:ht,prefixCls:At,getContainer:ce,maxCount:_t,rtl:qt,onAllRemoved:Ht,stack:Ut,duration:cr,pauseOnHover:Ze=!0,showProgress:dt}=Se,{getPrefixCls:kt,getPopupContainer:ar,notification:$t,direction:pr}=(0,t.useContext)(n.E_),[,Ir]=(0,He.ZP)(),kr=At||kt("notification"),er=Er=>ze(Er,Be!=null?Be:Ke,ht!=null?ht:Ke),Nt=()=>g()({[`${kr}-rtl`]:qt!=null?qt:pr==="rtl"}),Kt=()=>st(kr),[Qt,Cr]=(0,P.lm)({prefixCls:kr,style:er,className:Nt,motion:Kt,closable:!0,closeIcon:G(kr),duration:cr!=null?cr:Re,getContainer:()=>(ce==null?void 0:ce())||(ar==null?void 0:ar())||document.body,maxCount:_t,pauseOnHover:Ze,showProgress:dt,onAllRemoved:Ht,renderNotifications:at,stack:Ut===!1?!1:{threshold:typeof Ut=="object"?Ut==null?void 0:Ut.threshold:void 0,offset:8,gap:Ir.margin}});return t.useImperativeHandle(je,()=>Object.assign(Object.assign({},Qt),{prefixCls:kr,notification:$t})),Cr});function St(Se){const je=t.useRef(null),Be=(0,de.ln)("Notification");return[t.useMemo(()=>{const At=Ht=>{var Ut;if(!je.current)return;const{open:cr,prefixCls:Ze,notification:dt}=je.current,kt=`${Ze}-notice`,{message:ar,description:$t,icon:pr,type:Ir,btn:kr,actions:er,className:Nt,style:Kt,role:Qt="alert",closeIcon:Cr,closable:Er}=Ht,wt=Je(Ht,["message","description","icon","type","btn","actions","className","style","role","closeIcon","closable"]),qe=er!=null?er:kr,Ue=G(kt,vt(Cr,Se,dt));return cr(Object.assign(Object.assign({placement:(Ut=Se==null?void 0:Se.placement)!==null&&Ut!==void 0?Ut:Ce},wt),{content:t.createElement(ie,{prefixCls:kt,icon:pr,type:Ir,message:ar,description:$t,actions:qe,role:Qt}),className:g()(Ir&&`${kt}-${Ir}`,Nt,dt==null?void 0:dt.className),style:Object.assign(Object.assign({},dt==null?void 0:dt.style),Kt),closeIcon:Ue,closable:Er!=null?Er:!!Ue}))},_t={open:At,destroy:Ht=>{var Ut,cr;Ht!==void 0?(Ut=je.current)===null||Ut===void 0||Ut.close(Ht):(cr=je.current)===null||cr===void 0||cr.destroy()}};return["success","info","warning","error"].forEach(Ht=>{_t[Ht]=Ut=>At(Object.assign(Object.assign({},Ut),{type:Ht}))}),_t},[]),t.createElement(ct,Object.assign({key:"notification-holder"},Se,{ref:je}))]}function bt(Se){return St(Se)}let Ie=null,$e=Se=>Se(),ft=[],ke={};function ye(){const{getContainer:Se,rtl:je,maxCount:Be,top:ht,bottom:At,showProgress:ce,pauseOnHover:_t}=ke,qt=(Se==null?void 0:Se())||document.body;return{getContainer:()=>qt,rtl:je,maxCount:Be,top:ht,bottom:At,showProgress:ce,pauseOnHover:_t}}const fe=t.forwardRef((Se,je)=>{const{notificationConfig:Be,sync:ht}=Se,{getPrefixCls:At}=(0,t.useContext)(n.E_),ce=ke.prefixCls||At("notification"),_t=(0,t.useContext)(r.J),[qt,Ht]=St(Object.assign(Object.assign(Object.assign({},Be),{prefixCls:ce}),_t.notification));return t.useEffect(ht,[]),t.useImperativeHandle(je,()=>{const Ut=Object.assign({},qt);return Object.keys(Ut).forEach(cr=>{Ut[cr]=function(){return ht(),qt[cr].apply(qt,arguments)}}),{instance:Ut,sync:ht}}),Ht}),Oe=t.forwardRef((Se,je)=>{const[Be,ht]=t.useState(ye),At=()=>{ht(ye)};t.useEffect(At,[]);const ce=(0,a.w6)(),_t=ce.getRootPrefixCls(),qt=ce.getIconPrefixCls(),Ht=ce.getTheme(),Ut=t.createElement(fe,{ref:je,sync:At,notificationConfig:Be});return t.createElement(a.ZP,{prefixCls:_t,iconPrefixCls:qt,theme:Ht},ce.holderRender?ce.holderRender(Ut):Ut)});function Ee(){if(!Ie){const Se=document.createDocumentFragment(),je={fragment:Se};Ie=je,$e(()=>{(0,s.x)()(t.createElement(Oe,{ref:ht=>{const{instance:At,sync:ce}=ht||{};Promise.resolve().then(()=>{!je.instance&&At&&(je.instance=At,je.sync=ce,Ee())})}}),Se)});return}Ie.instance&&(ft.forEach(Se=>{switch(Se.type){case"open":{$e(()=>{Ie.instance.open(Object.assign(Object.assign({},ke),Se.config))});break}case"destroy":$e(()=>{Ie==null||Ie.instance.destroy(Se.key)});break}}),ft=[])}function et(Se){ke=Object.assign(Object.assign({},ke),Se),$e(()=>{var je;(je=Ie==null?void 0:Ie.sync)===null||je===void 0||je.call(Ie)})}function mt(Se){const je=(0,a.w6)();ft.push({type:"open",config:Se}),Ee()}const pe=Se=>{ft.push({type:"destroy",key:Se}),Ee()},ge=["success","info","warning","error"],Qe={open:mt,destroy:pe,config:et,useNotification:bt,_InternalPanelDoNotUseOrYouWillBeFired:le};ge.forEach(Se=>{Qe[Se]=je=>mt(Object.assign(Object.assign({},je),{type:Se}))});const Ve=()=>{};let it=null,Dt=null;var Yt=Qe},77019:function(i,d,e){"use strict";var t=e(65970);d.Z=t.Z},458:function(i,d,e){"use strict";e.d(d,{Z:function(){return Je}});var t=e(59301),r=e(92310),n=e.n(r),a=e(48755),s=e(2738),c=Ke=>{const{prefixCls:Re,className:Ce,style:me,size:at,shape:ct}=Ke,St=n()({[`${Re}-lg`]:at==="large",[`${Re}-sm`]:at==="small"}),bt=n()({[`${Re}-circle`]:ct==="circle",[`${Re}-square`]:ct==="square",[`${Re}-round`]:ct==="round"}),Ie=t.useMemo(()=>typeof at=="number"?{width:at,height:at,lineHeight:`${at}px`}:{},[at]);return t.createElement("span",{className:n()(Re,St,bt,Ce),style:Object.assign(Object.assign({},Ie),me)})},o=e(36237),f=e(16931),_=e(51636);const p=new o.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),x=Ke=>({height:Ke,lineHeight:(0,o.unit)(Ke)}),g=Ke=>Object.assign({width:Ke},x(Ke)),P=Ke=>({background:Ke.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:p,animationDuration:Ke.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),O=(Ke,Re)=>Object.assign({width:Re(Ke).mul(5).equal(),minWidth:Re(Ke).mul(5).equal()},x(Ke)),S=Ke=>{const{skeletonAvatarCls:Re,gradientFromColor:Ce,controlHeight:me,controlHeightLG:at,controlHeightSM:ct}=Ke;return{[Re]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ce},g(me)),[`${Re}${Re}-circle`]:{borderRadius:"50%"},[`${Re}${Re}-lg`]:Object.assign({},g(at)),[`${Re}${Re}-sm`]:Object.assign({},g(ct))}},I=Ke=>{const{controlHeight:Re,borderRadiusSM:Ce,skeletonInputCls:me,controlHeightLG:at,controlHeightSM:ct,gradientFromColor:St,calc:bt}=Ke;return{[me]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Ce},O(Re,bt)),[`${me}-lg`]:Object.assign({},O(at,bt)),[`${me}-sm`]:Object.assign({},O(ct,bt))}},E=Ke=>Object.assign({width:Ke},x(Ke)),A=Ke=>{const{skeletonImageCls:Re,imageSizeBase:Ce,gradientFromColor:me,borderRadiusSM:at,calc:ct}=Ke;return{[Re]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:me,borderRadius:at},E(ct(Ce).mul(2).equal())),{[`${Re}-path`]:{fill:"#bfbfbf"},[`${Re}-svg`]:Object.assign(Object.assign({},E(Ce)),{maxWidth:ct(Ce).mul(4).equal(),maxHeight:ct(Ce).mul(4).equal()}),[`${Re}-svg${Re}-svg-circle`]:{borderRadius:"50%"}}),[`${Re}${Re}-circle`]:{borderRadius:"50%"}}},R=(Ke,Re,Ce)=>{const{skeletonButtonCls:me}=Ke;return{[`${Ce}${me}-circle`]:{width:Re,minWidth:Re,borderRadius:"50%"},[`${Ce}${me}-round`]:{borderRadius:Re}}},T=(Ke,Re)=>Object.assign({width:Re(Ke).mul(2).equal(),minWidth:Re(Ke).mul(2).equal()},x(Ke)),D=Ke=>{const{borderRadiusSM:Re,skeletonButtonCls:Ce,controlHeight:me,controlHeightLG:at,controlHeightSM:ct,gradientFromColor:St,calc:bt}=Ke;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[Ce]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Re,width:bt(me).mul(2).equal(),minWidth:bt(me).mul(2).equal()},T(me,bt))},R(Ke,me,Ce)),{[`${Ce}-lg`]:Object.assign({},T(at,bt))}),R(Ke,at,`${Ce}-lg`)),{[`${Ce}-sm`]:Object.assign({},T(ct,bt))}),R(Ke,ct,`${Ce}-sm`))},M=Ke=>{const{componentCls:Re,skeletonAvatarCls:Ce,skeletonTitleCls:me,skeletonParagraphCls:at,skeletonButtonCls:ct,skeletonInputCls:St,skeletonImageCls:bt,controlHeight:Ie,controlHeightLG:$e,controlHeightSM:ft,gradientFromColor:ke,padding:ye,marginSM:fe,borderRadius:Oe,titleHeight:Ee,blockRadius:et,paragraphLiHeight:mt,controlHeightXS:pe,paragraphMarginTop:ge}=Ke;return{[Re]:{display:"table",width:"100%",[`${Re}-header`]:{display:"table-cell",paddingInlineEnd:ye,verticalAlign:"top",[Ce]:Object.assign({display:"inline-block",verticalAlign:"top",background:ke},g(Ie)),[`${Ce}-circle`]:{borderRadius:"50%"},[`${Ce}-lg`]:Object.assign({},g($e)),[`${Ce}-sm`]:Object.assign({},g(ft))},[`${Re}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[me]:{width:"100%",height:Ee,background:ke,borderRadius:et,[`+ ${at}`]:{marginBlockStart:ft}},[at]:{padding:0,"> li":{width:"100%",height:mt,listStyle:"none",background:ke,borderRadius:et,"+ li":{marginBlockStart:pe}}},[`${at}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Re}-content`]:{[`${me}, ${at} > li`]:{borderRadius:Oe}}},[`${Re}-with-avatar ${Re}-content`]:{[me]:{marginBlockStart:fe,[`+ ${at}`]:{marginBlockStart:ge}}},[`${Re}${Re}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},D(Ke)),S(Ke)),I(Ke)),A(Ke)),[`${Re}${Re}-block`]:{width:"100%",[ct]:{width:"100%"},[St]:{width:"100%"}},[`${Re}${Re}-active`]:{[` ${me}, ${at} > li, ${Ce}, ${ct}, ${St}, ${bt} - `]:Object.assign({},P(Ke))}}},B=Ke=>{const{colorFillContent:Re,colorFill:Ce}=Ke,me=Re,at=Ce;return{color:me,colorGradientEnd:at,gradientFromColor:me,gradientToColor:at,titleHeight:Ke.controlHeight/2,blockRadius:Ke.borderRadiusSM,paragraphMarginTop:Ke.marginLG+Ke.marginXXS,paragraphLiHeight:Ke.controlHeight/2}};var j=(0,f.I$)("Skeleton",Ke=>{const{componentCls:Re,calc:Ce}=Ke,me=(0,_.mergeToken)(Ke,{skeletonAvatarCls:`${Re}-avatar`,skeletonTitleCls:`${Re}-title`,skeletonParagraphCls:`${Re}-paragraph`,skeletonButtonCls:`${Re}-button`,skeletonInputCls:`${Re}-input`,skeletonImageCls:`${Re}-image`,imageSizeBase:Ce(Ke.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ke.gradientFromColor} 25%, ${Ke.gradientToColor} 37%, ${Ke.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[k(me)]},B,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),H=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,active:at,shape:ct="circle",size:St="default"}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,Me]=j(Ie),ye=(0,s.Z)(Ke,["prefixCls","className"]),fe=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:at},Ce,me,ft,Me);return $e(t.createElement("div",{className:fe},t.createElement(c,Object.assign({prefixCls:`${Ie}-avatar`,shape:ct,size:St},ye))))},F=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,active:at,block:ct=!1,size:St="default"}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,Me]=j(Ie),ye=(0,s.Z)(Ke,["prefixCls"]),fe=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:at,[`${Ie}-block`]:ct},Ce,me,ft,Me);return $e(t.createElement("div",{className:fe},t.createElement(c,Object.assign({prefixCls:`${Ie}-button`,size:St},ye))))};const K="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Q=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,style:at,active:ct}=Ke,{getPrefixCls:St}=t.useContext(a.E_),bt=St("skeleton",Re),[Ie,$e,ft]=j(bt),Me=n()(bt,`${bt}-element`,{[`${bt}-active`]:ct},Ce,me,$e,ft);return Ie(t.createElement("div",{className:Me},t.createElement("div",{className:n()(`${bt}-image`,Ce),style:at},t.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${bt}-image-svg`},t.createElement("title",null,"Image placeholder"),t.createElement("path",{d:K,className:`${bt}-image-path`})))))},N=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,active:at,block:ct,size:St="default"}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,Me]=j(Ie),ye=(0,s.Z)(Ke,["prefixCls"]),fe=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:at,[`${Ie}-block`]:ct},Ce,me,ft,Me);return $e(t.createElement("div",{className:fe},t.createElement(c,Object.assign({prefixCls:`${Ie}-input`,size:St},ye))))},M=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,style:at,active:ct,children:St}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,Me]=j(Ie),ye=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:ct},ft,Ce,me,Me);return $e(t.createElement("div",{className:ye},t.createElement("div",{className:n()(`${Ie}-image`,Ce),style:at},St)))};const Z=(Ke,Re)=>{const{width:Ce,rows:me=2}=Re;if(Array.isArray(Ce))return Ce[Ke];if(me-1===Ke)return Ce};var ee=Ke=>{const{prefixCls:Re,className:Ce,style:me,rows:at=0}=Ke,ct=Array.from({length:at}).map((St,bt)=>t.createElement("li",{key:bt,style:{width:Z(bt,Ke)}}));return t.createElement("ul",{className:n()(Re,Ce),style:me},ct)},se=Ke=>{let{prefixCls:Re,className:Ce,width:me,style:at}=Ke;return t.createElement("h3",{className:n()(Re,Ce),style:Object.assign({width:me},at)})};function le(Ke){return Ke&&typeof Ke=="object"?Ke:{}}function de(Ke,Re){return Ke&&!Re?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function He(Ke,Re){return!Ke&&Re?{width:"38%"}:Ke&&Re?{width:"50%"}:{}}function ze(Ke,Re){const Ce={};return(!Ke||!Re)&&(Ce.width="61%"),!Ke&&Re?Ce.rows=3:Ce.rows=2,Ce}const st=Ke=>{const{prefixCls:Re,loading:Ce,className:me,rootClassName:at,style:ct,children:St,avatar:bt=!1,title:Ie=!0,paragraph:$e=!0,active:ft,round:Me}=Ke,{getPrefixCls:ye,direction:fe,className:Oe,style:Ee}=(0,a.dj)("skeleton"),et=ye("skeleton",Re),[mt,pe,ge]=j(et);if(Ce||!("loading"in Ke)){const lt=!!bt,Qe=!!Ie,Ve=!!$e;let it;if(lt){const Se=Object.assign(Object.assign({prefixCls:`${et}-avatar`},de(Qe,Ve)),le(bt));it=t.createElement("div",{className:`${et}-header`},t.createElement(c,Object.assign({},Se)))}let Dt;if(Qe||Ve){let Se;if(Qe){const Be=Object.assign(Object.assign({prefixCls:`${et}-title`},He(lt,Ve)),le(Ie));Se=t.createElement(se,Object.assign({},Be))}let je;if(Ve){const Be=Object.assign(Object.assign({prefixCls:`${et}-paragraph`},ze(lt,Qe)),le($e));je=t.createElement(ee,Object.assign({},Be))}Dt=t.createElement("div",{className:`${et}-content`},Se,je)}const Yt=n()(et,{[`${et}-with-avatar`]:lt,[`${et}-active`]:ft,[`${et}-rtl`]:fe==="rtl",[`${et}-round`]:Me},Oe,me,at,pe,ge);return mt(t.createElement("div",{className:Yt,style:Object.assign(Object.assign({},Ee),ct)},it,Dt))}return St!=null?St:null};st.Button=F,st.Avatar=H,st.Input=N,st.Image=Q,st.Node=M;var vt=st,Je=vt},70045:function(i,d,e){"use strict";e.d(d,{BR:function(){return p},ri:function(){return _}});var t=e(59301),r=e(92310),n=e.n(r),a=e(11592),s=e(48755),u=e(31756),c=e(31547),o=function(P,O){var S={};for(var I in P)Object.prototype.hasOwnProperty.call(P,I)&&O.indexOf(I)<0&&(S[I]=P[I]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,I=Object.getOwnPropertySymbols(P);E{const S=t.useContext(f),I=t.useMemo(()=>{if(!S)return"";const{compactDirection:E,isFirstItem:A,isLastItem:R}=S,T=E==="vertical"?"-vertical-":"-";return n()(`${P}-compact${T}item`,{[`${P}-compact${T}first-item`]:A,[`${P}-compact${T}last-item`]:R,[`${P}-compact${T}item-rtl`]:O==="rtl"})},[P,O,S]);return{compactSize:S==null?void 0:S.compactSize,compactDirection:S==null?void 0:S.compactDirection,compactItemClassnames:I}},p=P=>{const{children:O}=P;return t.createElement(f.Provider,{value:null},O)},x=P=>{const{children:O}=P,S=o(P,["children"]);return t.createElement(f.Provider,{value:t.useMemo(()=>S,[S])},O)},g=P=>{const{getPrefixCls:O,direction:S}=t.useContext(s.E_),{size:I,direction:E,block:A,prefixCls:R,className:T,rootClassName:D,children:k}=P,B=o(P,["size","direction","block","prefixCls","className","rootClassName","children"]),j=(0,u.Z)(W=>I!=null?I:W),V=O("space-compact",R),[H,Y]=(0,c.Z)(V),F=n()(V,Y,{[`${V}-rtl`]:S==="rtl",[`${V}-block`]:A,[`${V}-vertical`]:E==="vertical"},T,D),K=t.useContext(f),X=(0,a.Z)(k),Q=t.useMemo(()=>X.map((W,N)=>{const J=(W==null?void 0:W.key)||`${V}-item-${N}`;return t.createElement(x,{key:J,compactSize:j,compactDirection:E,isFirstItem:N===0&&(!K||(K==null?void 0:K.isFirstItem)),isLastItem:N===X.length-1&&(!K||(K==null?void 0:K.isLastItem))},W)}),[I,X,K]);return X.length===0?null:H(t.createElement("div",Object.assign({className:F},B),Q))};d.ZP=g},31547:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(16931),r=e(51636),a=f=>{const{componentCls:_}=f;return{[_]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const s=f=>{const{componentCls:_,antCls:p}=f;return{[_]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${_}-item:empty`]:{display:"none"},[`${_}-item > ${p}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},u=f=>{const{componentCls:_}=f;return{[_]:{"&-gap-row-small":{rowGap:f.spaceGapSmallSize},"&-gap-row-middle":{rowGap:f.spaceGapMiddleSize},"&-gap-row-large":{rowGap:f.spaceGapLargeSize},"&-gap-col-small":{columnGap:f.spaceGapSmallSize},"&-gap-col-middle":{columnGap:f.spaceGapMiddleSize},"&-gap-col-large":{columnGap:f.spaceGapLargeSize}}}},c=()=>({});var o=(0,t.I$)("Space",f=>{const _=(0,r.mergeToken)(f,{spaceGapSmallSize:f.paddingXS,spaceGapMiddleSize:f.padding,spaceGapLargeSize:f.paddingLG});return[s(_),u(_),a(_)]},()=>({}),{resetStyle:!1})},29787:function(i,d,e){"use strict";e.d(d,{Z:function(){return J}});var t=e(59301),r=e(92310),n=e.n(r),a=e(53280),s=e(48755),u=e(22703),c=e(34280);const o=100,f=o/5,_=o/2-f/2,p=_*2*Math.PI,x=50,g=M=>{const{dotClassName:Z,style:G,hasCircleCls:ee}=M;return t.createElement("circle",{className:n()(`${Z}-circle`,{[`${Z}-circle-bg`]:ee}),r:_,cx:x,cy:x,strokeWidth:f,style:G})};var O=M=>{let{percent:Z,prefixCls:G}=M;const ee=`${G}-dot`,ie=`${ee}-holder`,se=`${ie}-hidden`,[le,de]=t.useState(!1);(0,c.Z)(()=>{Z!==0&&de(!0)},[Z!==0]);const He=Math.max(Math.min(Z,100),0);if(!le)return null;const ze={strokeDashoffset:`${p/4}`,strokeDasharray:`${p*He/100} ${p*(100-He)/100}`};return t.createElement("span",{className:n()(ie,`${ee}-progress`,He<=0&&se)},t.createElement("svg",{viewBox:`0 0 ${o} ${o}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":He},t.createElement(g,{dotClassName:ee,hasCircleCls:!0}),t.createElement(g,{dotClassName:ee,style:ze})))};function S(M){const{prefixCls:Z,percent:G=0}=M,ee=`${Z}-dot`,ie=`${ee}-holder`,se=`${ie}-hidden`;return t.createElement(t.Fragment,null,t.createElement("span",{className:n()(ie,G>0&&se)},t.createElement("span",{className:n()(ee,`${Z}-dot-spin`)},[1,2,3,4].map(le=>t.createElement("i",{className:`${Z}-dot-item`,key:le})))),t.createElement(O,{prefixCls:Z,percent:G}))}function I(M){const{prefixCls:Z,indicator:G,percent:ee}=M,ie=`${Z}-dot`;return G&&t.isValidElement(G)?(0,u.Tm)(G,{className:n()(G.props.className,ie),percent:ee}):t.createElement(S,{prefixCls:Z,percent:ee})}var E=e(36237),A=e(63356),R=e(16931),T=e(51636);const D=new E.Keyframes("antSpinMove",{to:{opacity:1}}),k=new E.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),B=M=>{const{componentCls:Z,calc:G}=M;return{[Z]:Object.assign(Object.assign({},(0,A.Wf)(M)),{position:"absolute",display:"none",color:M.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${M.motionDurationSlow} ${M.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${Z}-text`]:{fontSize:M.fontSize,paddingTop:G(G(M.dotSize).sub(M.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:M.colorBgMask,zIndex:M.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${M.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[Z]:{[`${Z}-dot-holder`]:{color:M.colorWhite},[`${Z}-text`]:{color:M.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${Z}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:M.contentHeight,[`${Z}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:G(M.dotSize).mul(-1).div(2).equal()},[`${Z}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${M.colorBgContainer}`},[`&${Z}-show-text ${Z}-dot`]:{marginTop:G(M.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${Z}-dot`]:{margin:G(M.dotSizeSM).mul(-1).div(2).equal()},[`${Z}-text`]:{paddingTop:G(G(M.dotSizeSM).sub(M.fontSize)).div(2).add(2).equal()},[`&${Z}-show-text ${Z}-dot`]:{marginTop:G(M.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${Z}-dot`]:{margin:G(M.dotSizeLG).mul(-1).div(2).equal()},[`${Z}-text`]:{paddingTop:G(G(M.dotSizeLG).sub(M.fontSize)).div(2).add(2).equal()},[`&${Z}-show-text ${Z}-dot`]:{marginTop:G(M.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${Z}-container`]:{position:"relative",transition:`opacity ${M.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:M.colorBgContainer,opacity:0,transition:`all ${M.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${Z}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:M.spinDotDefault},[`${Z}-dot-holder`]:{width:"1em",height:"1em",fontSize:M.dotSize,display:"inline-block",transition:`transform ${M.motionDurationSlow} ease, opacity ${M.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:M.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${Z}-dot-progress`]:{position:"absolute",inset:0},[`${Z}-dot`]:{position:"relative",display:"inline-block",fontSize:M.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:G(M.dotSize).sub(G(M.marginXXS).div(2)).div(2).equal(),height:G(M.dotSize).sub(G(M.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:D,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:k,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(ee=>`${ee} ${M.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:M.colorFillSecondary}},[`&-sm ${Z}-dot`]:{"&, &-holder":{fontSize:M.dotSizeSM}},[`&-sm ${Z}-dot-holder`]:{i:{width:G(G(M.dotSizeSM).sub(G(M.marginXXS).div(2))).div(2).equal(),height:G(G(M.dotSizeSM).sub(G(M.marginXXS).div(2))).div(2).equal()}},[`&-lg ${Z}-dot`]:{"&, &-holder":{fontSize:M.dotSizeLG}},[`&-lg ${Z}-dot-holder`]:{i:{width:G(G(M.dotSizeLG).sub(M.marginXXS)).div(2).equal(),height:G(G(M.dotSizeLG).sub(M.marginXXS)).div(2).equal()}},[`&${Z}-show-text ${Z}-text`]:{display:"block"}})}},j=M=>{const{controlHeightLG:Z,controlHeight:G}=M;return{contentHeight:400,dotSize:Z/2,dotSizeSM:Z*.35,dotSizeLG:G}};var V=(0,R.I$)("Spin",M=>{const Z=(0,T.mergeToken)(M,{spinDotDefault:M.colorTextDescription});return[B(Z)]},j);const H=200,Y=[[30,.05],[70,.03],[96,.01]];function F(M,Z){const[G,ee]=t.useState(0),ie=t.useRef(null),se=Z==="auto";return t.useEffect(()=>(se&&M&&(ee(0),ie.current=setInterval(()=>{ee(le=>{const de=100-le;for(let He=0;He{clearInterval(ie.current)}),[se,M]),se?G:Z}var K=function(M,Z){var G={};for(var ee in M)Object.prototype.hasOwnProperty.call(M,ee)&&Z.indexOf(ee)<0&&(G[ee]=M[ee]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ee=Object.getOwnPropertySymbols(M);ie{var Z;const{prefixCls:G,spinning:ee=!0,delay:ie=0,className:se,rootClassName:le,size:de="default",tip:He,wrapperClassName:ze,style:st,children:vt,fullscreen:Je=!1,indicator:Ke,percent:Re}=M,Ce=K(M,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:me,direction:at,className:ct,style:St,indicator:bt}=(0,s.dj)("spin"),Ie=me("spin",G),[$e,ft,Me]=V(Ie),[ye,fe]=t.useState(()=>ee&&!W(ee,ie)),Oe=F(ye,Re);t.useEffect(()=>{if(ee){const Qe=(0,a.D)(ie,()=>{fe(!0)});return Qe(),()=>{var Ve;(Ve=Qe==null?void 0:Qe.cancel)===null||Ve===void 0||Ve.call(Qe)}}fe(!1)},[ie,ee]);const Ee=t.useMemo(()=>typeof vt!="undefined"&&!Je,[vt,Je]),et=n()(Ie,ct,{[`${Ie}-sm`]:de==="small",[`${Ie}-lg`]:de==="large",[`${Ie}-spinning`]:ye,[`${Ie}-show-text`]:!!He,[`${Ie}-rtl`]:at==="rtl"},se,!Je&&le,ft,Me),mt=n()(`${Ie}-container`,{[`${Ie}-blur`]:ye}),pe=(Z=Ke!=null?Ke:bt)!==null&&Z!==void 0?Z:Q,ge=Object.assign(Object.assign({},St),st),lt=t.createElement("div",Object.assign({},Ce,{style:ge,className:et,"aria-live":"polite","aria-busy":ye}),t.createElement(I,{prefixCls:Ie,indicator:pe,percent:Oe}),He&&(Ee||Je)?t.createElement("div",{className:`${Ie}-text`},He):null);return $e(Ee?t.createElement("div",Object.assign({},Ce,{className:n()(`${Ie}-nested-loading`,ze,ft,Me)}),ye&&t.createElement("div",{key:"loading"},lt),t.createElement("div",{className:mt,key:"container"},vt)):Je?t.createElement("div",{className:n()(`${Ie}-fullscreen`,{[`${Ie}-fullscreen-show`]:ye},le,ft,Me)},lt):lt)};N.setDefaultIndicator=M=>{Q=M};var J=N},56119:function(i,d,e){"use strict";e.d(d,{c:function(){return n}});function t(a,s,u){const{focusElCls:c,focus:o,borderElCls:f}=u,_=f?"> *":"",p=["hover",o?"focus":null,"active"].filter(Boolean).map(x=>`&:${x} ${_}`).join(",");return{[`&-item:not(${s}-last-item)`]:{marginInlineEnd:a.calc(a.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[p]:{zIndex:2}},c?{[`&${c}`]:{zIndex:2}}:{}),{[`&[disabled] ${_}`]:{zIndex:0}})}}function r(a,s,u){const{borderElCls:c}=u,o=c?`> ${c}`:"";return{[`&-item:not(${s}-first-item):not(${s}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${s}-last-item)${s}-first-item`]:{[`& ${o}, &${a}-sm ${o}, &${a}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${s}-first-item)${s}-last-item`]:{[`& ${o}, &${a}-sm ${o}, &${a}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function n(a){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:u}=a,c=`${u}-compact`;return{[c]:Object.assign(Object.assign({},t(a,c,s)),r(u,c,s))}}},63356:function(i,d,e){"use strict";e.d(d,{JT:function(){return _},Lx:function(){return u},Nd:function(){return p},Qy:function(){return f},Ro:function(){return a},Wf:function(){return n},dF:function(){return s},du:function(){return c},oN:function(){return o},vS:function(){return r}});var t=e(36237);const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},n=function(x){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:x.colorText,fontSize:x.fontSize,lineHeight:x.lineHeight,listStyle:"none",fontFamily:g?"inherit":x.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),u=x=>({a:{color:x.colorLink,textDecoration:x.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${x.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:x.colorLinkHover},"&:active":{color:x.colorLinkActive},"&:active, &:hover":{textDecoration:x.linkHoverDecoration,outline:0},"&:focus":{textDecoration:x.linkFocusDecoration,outline:0},"&[disabled]":{color:x.colorTextDisabled,cursor:"not-allowed"}}}),c=(x,g,P,O)=>{const S=`[class^="${g}"], [class*=" ${g}"]`,I=P?`.${P}`:S,E={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let A={};return O!==!1&&(A={fontFamily:x.fontFamily,fontSize:x.fontSize}),{[I]:Object.assign(Object.assign(Object.assign({},A),E),{[S]:E})}},o=(x,g)=>({outline:`${(0,t.unit)(x.lineWidthFocus)} solid ${x.colorPrimaryBorder}`,outlineOffset:g!=null?g:1,transition:"outline-offset 0s, outline 0s"}),f=(x,g)=>({"&:focus-visible":Object.assign({},o(x,g))}),_=x=>({[`.${x}`]:Object.assign(Object.assign({},a()),{[`.${x} .${x}-icon`]:{display:"block"}})}),p=x=>Object.assign(Object.assign({color:x.colorLink,textDecoration:x.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${x.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},f(x)),{"&:focus, &:hover":{color:x.colorLinkHover},"&:active":{color:x.colorLinkActive}})},34961:function(i,d){"use strict";const e=t=>({[t.componentCls]:{[`${t.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${t.motionDurationMid} ${t.motionEaseInOut}, + `]:Object.assign({},P(Ke))}}},B=Ke=>{const{colorFillContent:Re,colorFill:Ce}=Ke,me=Re,at=Ce;return{color:me,colorGradientEnd:at,gradientFromColor:me,gradientToColor:at,titleHeight:Ke.controlHeight/2,blockRadius:Ke.borderRadiusSM,paragraphMarginTop:Ke.marginLG+Ke.marginXXS,paragraphLiHeight:Ke.controlHeight/2}};var j=(0,f.I$)("Skeleton",Ke=>{const{componentCls:Re,calc:Ce}=Ke,me=(0,_.mergeToken)(Ke,{skeletonAvatarCls:`${Re}-avatar`,skeletonTitleCls:`${Re}-title`,skeletonParagraphCls:`${Re}-paragraph`,skeletonButtonCls:`${Re}-button`,skeletonInputCls:`${Re}-input`,skeletonImageCls:`${Re}-image`,imageSizeBase:Ce(Ke.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ke.gradientFromColor} 25%, ${Ke.gradientToColor} 37%, ${Ke.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[M(me)]},B,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),H=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,active:at,shape:ct="circle",size:St="default"}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,ke]=j(Ie),ye=(0,s.Z)(Ke,["prefixCls","className"]),fe=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:at},Ce,me,ft,ke);return $e(t.createElement("div",{className:fe},t.createElement(c,Object.assign({prefixCls:`${Ie}-avatar`,shape:ct,size:St},ye))))},F=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,active:at,block:ct=!1,size:St="default"}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,ke]=j(Ie),ye=(0,s.Z)(Ke,["prefixCls"]),fe=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:at,[`${Ie}-block`]:ct},Ce,me,ft,ke);return $e(t.createElement("div",{className:fe},t.createElement(c,Object.assign({prefixCls:`${Ie}-button`,size:St},ye))))};const K="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Q=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,style:at,active:ct}=Ke,{getPrefixCls:St}=t.useContext(a.E_),bt=St("skeleton",Re),[Ie,$e,ft]=j(bt),ke=n()(bt,`${bt}-element`,{[`${bt}-active`]:ct},Ce,me,$e,ft);return Ie(t.createElement("div",{className:ke},t.createElement("div",{className:n()(`${bt}-image`,Ce),style:at},t.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${bt}-image-svg`},t.createElement("title",null,"Image placeholder"),t.createElement("path",{d:K,className:`${bt}-image-path`})))))},N=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,active:at,block:ct,size:St="default"}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,ke]=j(Ie),ye=(0,s.Z)(Ke,["prefixCls"]),fe=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:at,[`${Ie}-block`]:ct},Ce,me,ft,ke);return $e(t.createElement("div",{className:fe},t.createElement(c,Object.assign({prefixCls:`${Ie}-input`,size:St},ye))))},k=Ke=>{const{prefixCls:Re,className:Ce,rootClassName:me,style:at,active:ct,children:St}=Ke,{getPrefixCls:bt}=t.useContext(a.E_),Ie=bt("skeleton",Re),[$e,ft,ke]=j(Ie),ye=n()(Ie,`${Ie}-element`,{[`${Ie}-active`]:ct},ft,Ce,me,ke);return $e(t.createElement("div",{className:ye},t.createElement("div",{className:n()(`${Ie}-image`,Ce),style:at},St)))};const Z=(Ke,Re)=>{const{width:Ce,rows:me=2}=Re;if(Array.isArray(Ce))return Ce[Ke];if(me-1===Ke)return Ce};var ee=Ke=>{const{prefixCls:Re,className:Ce,style:me,rows:at=0}=Ke,ct=Array.from({length:at}).map((St,bt)=>t.createElement("li",{key:bt,style:{width:Z(bt,Ke)}}));return t.createElement("ul",{className:n()(Re,Ce),style:me},ct)},se=Ke=>{let{prefixCls:Re,className:Ce,width:me,style:at}=Ke;return t.createElement("h3",{className:n()(Re,Ce),style:Object.assign({width:me},at)})};function le(Ke){return Ke&&typeof Ke=="object"?Ke:{}}function de(Ke,Re){return Ke&&!Re?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function He(Ke,Re){return!Ke&&Re?{width:"38%"}:Ke&&Re?{width:"50%"}:{}}function ze(Ke,Re){const Ce={};return(!Ke||!Re)&&(Ce.width="61%"),!Ke&&Re?Ce.rows=3:Ce.rows=2,Ce}const st=Ke=>{const{prefixCls:Re,loading:Ce,className:me,rootClassName:at,style:ct,children:St,avatar:bt=!1,title:Ie=!0,paragraph:$e=!0,active:ft,round:ke}=Ke,{getPrefixCls:ye,direction:fe,className:Oe,style:Ee}=(0,a.dj)("skeleton"),et=ye("skeleton",Re),[mt,pe,ge]=j(et);if(Ce||!("loading"in Ke)){const lt=!!bt,Qe=!!Ie,Ve=!!$e;let it;if(lt){const Se=Object.assign(Object.assign({prefixCls:`${et}-avatar`},de(Qe,Ve)),le(bt));it=t.createElement("div",{className:`${et}-header`},t.createElement(c,Object.assign({},Se)))}let Dt;if(Qe||Ve){let Se;if(Qe){const Be=Object.assign(Object.assign({prefixCls:`${et}-title`},He(lt,Ve)),le(Ie));Se=t.createElement(se,Object.assign({},Be))}let je;if(Ve){const Be=Object.assign(Object.assign({prefixCls:`${et}-paragraph`},ze(lt,Qe)),le($e));je=t.createElement(ee,Object.assign({},Be))}Dt=t.createElement("div",{className:`${et}-content`},Se,je)}const Yt=n()(et,{[`${et}-with-avatar`]:lt,[`${et}-active`]:ft,[`${et}-rtl`]:fe==="rtl",[`${et}-round`]:ke},Oe,me,at,pe,ge);return mt(t.createElement("div",{className:Yt,style:Object.assign(Object.assign({},Ee),ct)},it,Dt))}return St!=null?St:null};st.Button=F,st.Avatar=H,st.Input=N,st.Image=Q,st.Node=k;var vt=st,Je=vt},70045:function(i,d,e){"use strict";e.d(d,{BR:function(){return p},ri:function(){return _}});var t=e(59301),r=e(92310),n=e.n(r),a=e(11592),s=e(48755),u=e(31756),c=e(31547),o=function(P,O){var S={};for(var I in P)Object.prototype.hasOwnProperty.call(P,I)&&O.indexOf(I)<0&&(S[I]=P[I]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,I=Object.getOwnPropertySymbols(P);E{const S=t.useContext(f),I=t.useMemo(()=>{if(!S)return"";const{compactDirection:E,isFirstItem:A,isLastItem:R}=S,T=E==="vertical"?"-vertical-":"-";return n()(`${P}-compact${T}item`,{[`${P}-compact${T}first-item`]:A,[`${P}-compact${T}last-item`]:R,[`${P}-compact${T}item-rtl`]:O==="rtl"})},[P,O,S]);return{compactSize:S==null?void 0:S.compactSize,compactDirection:S==null?void 0:S.compactDirection,compactItemClassnames:I}},p=P=>{const{children:O}=P;return t.createElement(f.Provider,{value:null},O)},x=P=>{const{children:O}=P,S=o(P,["children"]);return t.createElement(f.Provider,{value:t.useMemo(()=>S,[S])},O)},g=P=>{const{getPrefixCls:O,direction:S}=t.useContext(s.E_),{size:I,direction:E,block:A,prefixCls:R,className:T,rootClassName:D,children:M}=P,B=o(P,["size","direction","block","prefixCls","className","rootClassName","children"]),j=(0,u.Z)(W=>I!=null?I:W),V=O("space-compact",R),[H,Y]=(0,c.Z)(V),F=n()(V,Y,{[`${V}-rtl`]:S==="rtl",[`${V}-block`]:A,[`${V}-vertical`]:E==="vertical"},T,D),K=t.useContext(f),X=(0,a.Z)(M),Q=t.useMemo(()=>X.map((W,N)=>{const J=(W==null?void 0:W.key)||`${V}-item-${N}`;return t.createElement(x,{key:J,compactSize:j,compactDirection:E,isFirstItem:N===0&&(!K||(K==null?void 0:K.isFirstItem)),isLastItem:N===X.length-1&&(!K||(K==null?void 0:K.isLastItem))},W)}),[I,X,K]);return X.length===0?null:H(t.createElement("div",Object.assign({className:F},B),Q))};d.ZP=g},31547:function(i,d,e){"use strict";e.d(d,{Z:function(){return o}});var t=e(16931),r=e(51636),a=f=>{const{componentCls:_}=f;return{[_]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const s=f=>{const{componentCls:_,antCls:p}=f;return{[_]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${_}-item:empty`]:{display:"none"},[`${_}-item > ${p}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},u=f=>{const{componentCls:_}=f;return{[_]:{"&-gap-row-small":{rowGap:f.spaceGapSmallSize},"&-gap-row-middle":{rowGap:f.spaceGapMiddleSize},"&-gap-row-large":{rowGap:f.spaceGapLargeSize},"&-gap-col-small":{columnGap:f.spaceGapSmallSize},"&-gap-col-middle":{columnGap:f.spaceGapMiddleSize},"&-gap-col-large":{columnGap:f.spaceGapLargeSize}}}},c=()=>({});var o=(0,t.I$)("Space",f=>{const _=(0,r.mergeToken)(f,{spaceGapSmallSize:f.paddingXS,spaceGapMiddleSize:f.padding,spaceGapLargeSize:f.paddingLG});return[s(_),u(_),a(_)]},()=>({}),{resetStyle:!1})},29787:function(i,d,e){"use strict";e.d(d,{Z:function(){return J}});var t=e(59301),r=e(92310),n=e.n(r),a=e(53280),s=e(48755),u=e(22703),c=e(34280);const o=100,f=o/5,_=o/2-f/2,p=_*2*Math.PI,x=50,g=k=>{const{dotClassName:Z,style:G,hasCircleCls:ee}=k;return t.createElement("circle",{className:n()(`${Z}-circle`,{[`${Z}-circle-bg`]:ee}),r:_,cx:x,cy:x,strokeWidth:f,style:G})};var O=k=>{let{percent:Z,prefixCls:G}=k;const ee=`${G}-dot`,ie=`${ee}-holder`,se=`${ie}-hidden`,[le,de]=t.useState(!1);(0,c.Z)(()=>{Z!==0&&de(!0)},[Z!==0]);const He=Math.max(Math.min(Z,100),0);if(!le)return null;const ze={strokeDashoffset:`${p/4}`,strokeDasharray:`${p*He/100} ${p*(100-He)/100}`};return t.createElement("span",{className:n()(ie,`${ee}-progress`,He<=0&&se)},t.createElement("svg",{viewBox:`0 0 ${o} ${o}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":He},t.createElement(g,{dotClassName:ee,hasCircleCls:!0}),t.createElement(g,{dotClassName:ee,style:ze})))};function S(k){const{prefixCls:Z,percent:G=0}=k,ee=`${Z}-dot`,ie=`${ee}-holder`,se=`${ie}-hidden`;return t.createElement(t.Fragment,null,t.createElement("span",{className:n()(ie,G>0&&se)},t.createElement("span",{className:n()(ee,`${Z}-dot-spin`)},[1,2,3,4].map(le=>t.createElement("i",{className:`${Z}-dot-item`,key:le})))),t.createElement(O,{prefixCls:Z,percent:G}))}function I(k){const{prefixCls:Z,indicator:G,percent:ee}=k,ie=`${Z}-dot`;return G&&t.isValidElement(G)?(0,u.Tm)(G,{className:n()(G.props.className,ie),percent:ee}):t.createElement(S,{prefixCls:Z,percent:ee})}var E=e(36237),A=e(63356),R=e(16931),T=e(51636);const D=new E.Keyframes("antSpinMove",{to:{opacity:1}}),M=new E.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),B=k=>{const{componentCls:Z,calc:G}=k;return{[Z]:Object.assign(Object.assign({},(0,A.Wf)(k)),{position:"absolute",display:"none",color:k.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${k.motionDurationSlow} ${k.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${Z}-text`]:{fontSize:k.fontSize,paddingTop:G(G(k.dotSize).sub(k.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:k.colorBgMask,zIndex:k.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${k.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[Z]:{[`${Z}-dot-holder`]:{color:k.colorWhite},[`${Z}-text`]:{color:k.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${Z}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:k.contentHeight,[`${Z}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:G(k.dotSize).mul(-1).div(2).equal()},[`${Z}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${k.colorBgContainer}`},[`&${Z}-show-text ${Z}-dot`]:{marginTop:G(k.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${Z}-dot`]:{margin:G(k.dotSizeSM).mul(-1).div(2).equal()},[`${Z}-text`]:{paddingTop:G(G(k.dotSizeSM).sub(k.fontSize)).div(2).add(2).equal()},[`&${Z}-show-text ${Z}-dot`]:{marginTop:G(k.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${Z}-dot`]:{margin:G(k.dotSizeLG).mul(-1).div(2).equal()},[`${Z}-text`]:{paddingTop:G(G(k.dotSizeLG).sub(k.fontSize)).div(2).add(2).equal()},[`&${Z}-show-text ${Z}-dot`]:{marginTop:G(k.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${Z}-container`]:{position:"relative",transition:`opacity ${k.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:k.colorBgContainer,opacity:0,transition:`all ${k.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${Z}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:k.spinDotDefault},[`${Z}-dot-holder`]:{width:"1em",height:"1em",fontSize:k.dotSize,display:"inline-block",transition:`transform ${k.motionDurationSlow} ease, opacity ${k.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:k.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${Z}-dot-progress`]:{position:"absolute",inset:0},[`${Z}-dot`]:{position:"relative",display:"inline-block",fontSize:k.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:G(k.dotSize).sub(G(k.marginXXS).div(2)).div(2).equal(),height:G(k.dotSize).sub(G(k.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:D,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:M,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(ee=>`${ee} ${k.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:k.colorFillSecondary}},[`&-sm ${Z}-dot`]:{"&, &-holder":{fontSize:k.dotSizeSM}},[`&-sm ${Z}-dot-holder`]:{i:{width:G(G(k.dotSizeSM).sub(G(k.marginXXS).div(2))).div(2).equal(),height:G(G(k.dotSizeSM).sub(G(k.marginXXS).div(2))).div(2).equal()}},[`&-lg ${Z}-dot`]:{"&, &-holder":{fontSize:k.dotSizeLG}},[`&-lg ${Z}-dot-holder`]:{i:{width:G(G(k.dotSizeLG).sub(k.marginXXS)).div(2).equal(),height:G(G(k.dotSizeLG).sub(k.marginXXS)).div(2).equal()}},[`&${Z}-show-text ${Z}-text`]:{display:"block"}})}},j=k=>{const{controlHeightLG:Z,controlHeight:G}=k;return{contentHeight:400,dotSize:Z/2,dotSizeSM:Z*.35,dotSizeLG:G}};var V=(0,R.I$)("Spin",k=>{const Z=(0,T.mergeToken)(k,{spinDotDefault:k.colorTextDescription});return[B(Z)]},j);const H=200,Y=[[30,.05],[70,.03],[96,.01]];function F(k,Z){const[G,ee]=t.useState(0),ie=t.useRef(null),se=Z==="auto";return t.useEffect(()=>(se&&k&&(ee(0),ie.current=setInterval(()=>{ee(le=>{const de=100-le;for(let He=0;He{clearInterval(ie.current)}),[se,k]),se?G:Z}var K=function(k,Z){var G={};for(var ee in k)Object.prototype.hasOwnProperty.call(k,ee)&&Z.indexOf(ee)<0&&(G[ee]=k[ee]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ee=Object.getOwnPropertySymbols(k);ie{var Z;const{prefixCls:G,spinning:ee=!0,delay:ie=0,className:se,rootClassName:le,size:de="default",tip:He,wrapperClassName:ze,style:st,children:vt,fullscreen:Je=!1,indicator:Ke,percent:Re}=k,Ce=K(k,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:me,direction:at,className:ct,style:St,indicator:bt}=(0,s.dj)("spin"),Ie=me("spin",G),[$e,ft,ke]=V(Ie),[ye,fe]=t.useState(()=>ee&&!W(ee,ie)),Oe=F(ye,Re);t.useEffect(()=>{if(ee){const Qe=(0,a.D)(ie,()=>{fe(!0)});return Qe(),()=>{var Ve;(Ve=Qe==null?void 0:Qe.cancel)===null||Ve===void 0||Ve.call(Qe)}}fe(!1)},[ie,ee]);const Ee=t.useMemo(()=>typeof vt!="undefined"&&!Je,[vt,Je]),et=n()(Ie,ct,{[`${Ie}-sm`]:de==="small",[`${Ie}-lg`]:de==="large",[`${Ie}-spinning`]:ye,[`${Ie}-show-text`]:!!He,[`${Ie}-rtl`]:at==="rtl"},se,!Je&&le,ft,ke),mt=n()(`${Ie}-container`,{[`${Ie}-blur`]:ye}),pe=(Z=Ke!=null?Ke:bt)!==null&&Z!==void 0?Z:Q,ge=Object.assign(Object.assign({},St),st),lt=t.createElement("div",Object.assign({},Ce,{style:ge,className:et,"aria-live":"polite","aria-busy":ye}),t.createElement(I,{prefixCls:Ie,indicator:pe,percent:Oe}),He&&(Ee||Je)?t.createElement("div",{className:`${Ie}-text`},He):null);return $e(Ee?t.createElement("div",Object.assign({},Ce,{className:n()(`${Ie}-nested-loading`,ze,ft,ke)}),ye&&t.createElement("div",{key:"loading"},lt),t.createElement("div",{className:mt,key:"container"},vt)):Je?t.createElement("div",{className:n()(`${Ie}-fullscreen`,{[`${Ie}-fullscreen-show`]:ye},le,ft,ke)},lt):lt)};N.setDefaultIndicator=k=>{Q=k};var J=N},56119:function(i,d,e){"use strict";e.d(d,{c:function(){return n}});function t(a,s,u){const{focusElCls:c,focus:o,borderElCls:f}=u,_=f?"> *":"",p=["hover",o?"focus":null,"active"].filter(Boolean).map(x=>`&:${x} ${_}`).join(",");return{[`&-item:not(${s}-last-item)`]:{marginInlineEnd:a.calc(a.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[p]:{zIndex:2}},c?{[`&${c}`]:{zIndex:2}}:{}),{[`&[disabled] ${_}`]:{zIndex:0}})}}function r(a,s,u){const{borderElCls:c}=u,o=c?`> ${c}`:"";return{[`&-item:not(${s}-first-item):not(${s}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${s}-last-item)${s}-first-item`]:{[`& ${o}, &${a}-sm ${o}, &${a}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${s}-first-item)${s}-last-item`]:{[`& ${o}, &${a}-sm ${o}, &${a}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function n(a){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:u}=a,c=`${u}-compact`;return{[c]:Object.assign(Object.assign({},t(a,c,s)),r(u,c,s))}}},63356:function(i,d,e){"use strict";e.d(d,{JT:function(){return _},Lx:function(){return u},Nd:function(){return p},Qy:function(){return f},Ro:function(){return a},Wf:function(){return n},dF:function(){return s},du:function(){return c},oN:function(){return o},vS:function(){return r}});var t=e(36237);const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},n=function(x){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:x.colorText,fontSize:x.fontSize,lineHeight:x.lineHeight,listStyle:"none",fontFamily:g?"inherit":x.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),u=x=>({a:{color:x.colorLink,textDecoration:x.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${x.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:x.colorLinkHover},"&:active":{color:x.colorLinkActive},"&:active, &:hover":{textDecoration:x.linkHoverDecoration,outline:0},"&:focus":{textDecoration:x.linkFocusDecoration,outline:0},"&[disabled]":{color:x.colorTextDisabled,cursor:"not-allowed"}}}),c=(x,g,P,O)=>{const S=`[class^="${g}"], [class*=" ${g}"]`,I=P?`.${P}`:S,E={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let A={};return O!==!1&&(A={fontFamily:x.fontFamily,fontSize:x.fontSize}),{[I]:Object.assign(Object.assign(Object.assign({},A),E),{[S]:E})}},o=(x,g)=>({outline:`${(0,t.unit)(x.lineWidthFocus)} solid ${x.colorPrimaryBorder}`,outlineOffset:g!=null?g:1,transition:"outline-offset 0s, outline 0s"}),f=(x,g)=>({"&:focus-visible":Object.assign({},o(x,g))}),_=x=>({[`.${x}`]:Object.assign(Object.assign({},a()),{[`.${x} .${x}-icon`]:{display:"block"}})}),p=x=>Object.assign(Object.assign({color:x.colorLink,textDecoration:x.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${x.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},f(x)),{"&:focus, &:hover":{color:x.colorLinkHover},"&:active":{color:x.colorLinkActive}})},34961:function(i,d){"use strict";const e=t=>({[t.componentCls]:{[`${t.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${t.motionDurationMid} ${t.motionEaseInOut}, opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}},[`${t.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${t.motionDurationMid} ${t.motionEaseInOut}, opacity ${t.motionDurationMid} ${t.motionEaseInOut} !important`}}});d.Z=e},99495:function(i,d,e){"use strict";e.d(d,{J$:function(){return s}});var t=e(36237),r=e(48746);const n=new t.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new t.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),s=function(u){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:o}=u,f=`${o}-fade`,_=c?"&":"";return[(0,r.R)(f,n,a,u.motionDurationMid,c),{[` ${_}${f}-enter, @@ -147,9 +147,9 @@ http://j.mp/37Fkd5Q `]:{animationName:s,animationPlayState:"running"},[`${f}${a}-leave${a}-leave-active`]:{animationName:u,animationPlayState:"running",pointerEvents:"none"}}}},34925:function(i,d,e){"use strict";e.d(d,{_y:function(){return S},kr:function(){return n}});var t=e(36237),r=e(48746);const n=new t.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new t.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),s=new t.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),u=new t.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new t.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),o=new t.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),f=new t.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),_=new t.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new t.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),x=new t.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),g=new t.Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),P=new t.Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),O={zoom:{inKeyframes:n,outKeyframes:a},"zoom-big":{inKeyframes:s,outKeyframes:u},"zoom-big-fast":{inKeyframes:s,outKeyframes:u},"zoom-left":{inKeyframes:f,outKeyframes:_},"zoom-right":{inKeyframes:p,outKeyframes:x},"zoom-up":{inKeyframes:c,outKeyframes:o},"zoom-down":{inKeyframes:g,outKeyframes:P}},S=(I,E)=>{const{antCls:A}=I,R=`${A}-${E}`,{inKeyframes:T,outKeyframes:D}=O[E];return[(0,r.R)(R,T,D,E==="zoom-big-fast"?I.motionDurationFast:I.motionDurationMid),{[` ${R}-enter, ${R}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:I.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${R}-leave`]:{animationTimingFunction:I.motionEaseInOutCirc}}]}},29796:function(i,d,e){"use strict";e.d(d,{Mj:function(){return a},u_:function(){return n}});var t=e(59301),r=e(90820);const n={token:r.Z,override:{override:r.Z},hashed:!0},a=t.createContext(n)},34998:function(i,d,e){"use strict";e.d(d,{i:function(){return t}});const t=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},42146:function(i,d,e){"use strict";e.d(d,{Z:function(){return T}});var t=e(36237),r=e(68361),n=e(90820),a=e(17835);function s(D,k){let{generateColorPalettes:B,generateNeutralColorPalettes:j}=k;const{colorSuccess:V,colorWarning:H,colorError:Y,colorInfo:F,colorPrimary:K,colorBgBase:X,colorTextBase:Q}=D,W=B(K),N=B(V),J=B(H),M=B(Y),Z=B(F),G=j(X,Q),ee=D.colorLink||D.colorInfo,ie=B(ee),se=new a.FastColor(M[1]).mix(new a.FastColor(M[3]),50).toHexString();return Object.assign(Object.assign({},G),{colorPrimaryBg:W[1],colorPrimaryBgHover:W[2],colorPrimaryBorder:W[3],colorPrimaryBorderHover:W[4],colorPrimaryHover:W[5],colorPrimary:W[6],colorPrimaryActive:W[7],colorPrimaryTextHover:W[8],colorPrimaryText:W[9],colorPrimaryTextActive:W[10],colorSuccessBg:N[1],colorSuccessBgHover:N[2],colorSuccessBorder:N[3],colorSuccessBorderHover:N[4],colorSuccessHover:N[4],colorSuccess:N[6],colorSuccessActive:N[7],colorSuccessTextHover:N[8],colorSuccessText:N[9],colorSuccessTextActive:N[10],colorErrorBg:M[1],colorErrorBgHover:M[2],colorErrorBgFilledHover:se,colorErrorBgActive:M[3],colorErrorBorder:M[3],colorErrorBorderHover:M[4],colorErrorHover:M[5],colorError:M[6],colorErrorActive:M[7],colorErrorTextHover:M[8],colorErrorText:M[9],colorErrorTextActive:M[10],colorWarningBg:J[1],colorWarningBgHover:J[2],colorWarningBorder:J[3],colorWarningBorderHover:J[4],colorWarningHover:J[4],colorWarning:J[6],colorWarningActive:J[7],colorWarningTextHover:J[8],colorWarningText:J[9],colorWarningTextActive:J[10],colorInfoBg:Z[1],colorInfoBgHover:Z[2],colorInfoBorder:Z[3],colorInfoBorderHover:Z[4],colorInfoHover:Z[4],colorInfo:Z[6],colorInfoActive:Z[7],colorInfoTextHover:Z[8],colorInfoText:Z[9],colorInfoTextActive:Z[10],colorLinkHover:ie[4],colorLink:ie[6],colorLinkActive:ie[7],colorBgMask:new a.FastColor("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}var c=D=>{let k=D,B=D,j=D,V=D;return D<6&&D>=5?k=D+1:D<16&&D>=6?k=D+2:D>=16&&(k=16),D<7&&D>=5?B=4:D<8&&D>=7?B=5:D<14&&D>=8?B=6:D<16&&D>=14?B=7:D>=16&&(B=8),D<6&&D>=2?j=1:D>=6&&(j=2),D>4&&D<8?V=4:D>=8&&(V=6),{borderRadius:D,borderRadiusXS:j,borderRadiusSM:B,borderRadiusLG:k,borderRadiusOuter:V}};function o(D){const{motionUnit:k,motionBase:B,borderRadius:j,lineWidth:V}=D;return Object.assign({motionDurationFast:`${(B+k).toFixed(1)}s`,motionDurationMid:`${(B+k*2).toFixed(1)}s`,motionDurationSlow:`${(B+k*3).toFixed(1)}s`,lineWidthBold:V+1},c(j))}var _=D=>{const{controlHeight:k}=D;return{controlHeightSM:k*.75,controlHeightXS:k*.5,controlHeightLG:k*1.25}},p=e(45156),g=D=>{const k=(0,p.Z)(D),B=k.map(Q=>Q.size),j=k.map(Q=>Q.lineHeight),V=B[1],H=B[0],Y=B[2],F=j[1],K=j[0],X=j[2];return{fontSizeSM:H,fontSize:V,fontSizeLG:Y,fontSizeXL:B[3],fontSizeHeading1:B[6],fontSizeHeading2:B[5],fontSizeHeading3:B[4],fontSizeHeading4:B[3],fontSizeHeading5:B[2],lineHeight:F,lineHeightLG:X,lineHeightSM:K,fontHeight:Math.round(F*V),fontHeightLG:Math.round(X*Y),fontHeightSM:Math.round(K*H),lineHeightHeading1:j[6],lineHeightHeading2:j[5],lineHeightHeading3:j[4],lineHeightHeading4:j[3],lineHeightHeading5:j[2]}};function P(D){const{sizeUnit:k,sizeStep:B}=D;return{sizeXXL:k*(B+8),sizeXL:k*(B+4),sizeLG:k*(B+2),sizeMD:k*(B+1),sizeMS:k*B,size:k*B,sizeSM:k*(B-1),sizeXS:k*(B-2),sizeXXS:k*(B-3)}}const O=(D,k)=>new a.FastColor(D).setA(k).toRgbString(),S=(D,k)=>new a.FastColor(D).darken(k).toHexString(),I=D=>{const k=(0,r.generate)(D);return{1:k[0],2:k[1],3:k[2],4:k[3],5:k[4],6:k[5],7:k[6],8:k[4],9:k[5],10:k[6]}},E=(D,k)=>{const B=D||"#fff",j=k||"#000";return{colorBgBase:B,colorTextBase:j,colorText:O(j,.88),colorTextSecondary:O(j,.65),colorTextTertiary:O(j,.45),colorTextQuaternary:O(j,.25),colorFill:O(j,.15),colorFillSecondary:O(j,.06),colorFillTertiary:O(j,.04),colorFillQuaternary:O(j,.02),colorBgSolid:O(j,1),colorBgSolidHover:O(j,.75),colorBgSolidActive:O(j,.95),colorBgLayout:S(B,4),colorBgContainer:S(B,0),colorBgElevated:S(B,0),colorBgSpotlight:O(j,.85),colorBgBlur:"transparent",colorBorder:S(B,15),colorBorderSecondary:S(B,6)}};function A(D){r.presetPrimaryColors.pink=r.presetPrimaryColors.magenta,r.presetPalettes.pink=r.presetPalettes.magenta;const k=Object.keys(n.M).map(B=>{const j=D[B]===r.presetPrimaryColors[B]?r.presetPalettes[B]:(0,r.generate)(D[B]);return Array.from({length:10},()=>1).reduce((V,H,Y)=>(V[`${B}-${Y+1}`]=j[Y],V[`${B}${Y+1}`]=j[Y],V),{})}).reduce((B,j)=>(B=Object.assign(Object.assign({},B),j),B),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},D),k),s(D,{generateColorPalettes:I,generateNeutralColorPalettes:E})),g(D.fontSize)),P(D)),_(D)),o(D))}var T=(0,t.createTheme)(A)},90820:function(i,d,e){"use strict";e.d(d,{M:function(){return t}});const t={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},r=Object.assign(Object.assign({},t),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:I.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${R}-leave`]:{animationTimingFunction:I.motionEaseInOutCirc}}]}},29796:function(i,d,e){"use strict";e.d(d,{Mj:function(){return a},u_:function(){return n}});var t=e(59301),r=e(90820);const n={token:r.Z,override:{override:r.Z},hashed:!0},a=t.createContext(n)},34998:function(i,d,e){"use strict";e.d(d,{i:function(){return t}});const t=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},42146:function(i,d,e){"use strict";e.d(d,{Z:function(){return T}});var t=e(36237),r=e(68361),n=e(90820),a=e(17835);function s(D,M){let{generateColorPalettes:B,generateNeutralColorPalettes:j}=M;const{colorSuccess:V,colorWarning:H,colorError:Y,colorInfo:F,colorPrimary:K,colorBgBase:X,colorTextBase:Q}=D,W=B(K),N=B(V),J=B(H),k=B(Y),Z=B(F),G=j(X,Q),ee=D.colorLink||D.colorInfo,ie=B(ee),se=new a.FastColor(k[1]).mix(new a.FastColor(k[3]),50).toHexString();return Object.assign(Object.assign({},G),{colorPrimaryBg:W[1],colorPrimaryBgHover:W[2],colorPrimaryBorder:W[3],colorPrimaryBorderHover:W[4],colorPrimaryHover:W[5],colorPrimary:W[6],colorPrimaryActive:W[7],colorPrimaryTextHover:W[8],colorPrimaryText:W[9],colorPrimaryTextActive:W[10],colorSuccessBg:N[1],colorSuccessBgHover:N[2],colorSuccessBorder:N[3],colorSuccessBorderHover:N[4],colorSuccessHover:N[4],colorSuccess:N[6],colorSuccessActive:N[7],colorSuccessTextHover:N[8],colorSuccessText:N[9],colorSuccessTextActive:N[10],colorErrorBg:k[1],colorErrorBgHover:k[2],colorErrorBgFilledHover:se,colorErrorBgActive:k[3],colorErrorBorder:k[3],colorErrorBorderHover:k[4],colorErrorHover:k[5],colorError:k[6],colorErrorActive:k[7],colorErrorTextHover:k[8],colorErrorText:k[9],colorErrorTextActive:k[10],colorWarningBg:J[1],colorWarningBgHover:J[2],colorWarningBorder:J[3],colorWarningBorderHover:J[4],colorWarningHover:J[4],colorWarning:J[6],colorWarningActive:J[7],colorWarningTextHover:J[8],colorWarningText:J[9],colorWarningTextActive:J[10],colorInfoBg:Z[1],colorInfoBgHover:Z[2],colorInfoBorder:Z[3],colorInfoBorderHover:Z[4],colorInfoHover:Z[4],colorInfo:Z[6],colorInfoActive:Z[7],colorInfoTextHover:Z[8],colorInfoText:Z[9],colorInfoTextActive:Z[10],colorLinkHover:ie[4],colorLink:ie[6],colorLinkActive:ie[7],colorBgMask:new a.FastColor("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}var c=D=>{let M=D,B=D,j=D,V=D;return D<6&&D>=5?M=D+1:D<16&&D>=6?M=D+2:D>=16&&(M=16),D<7&&D>=5?B=4:D<8&&D>=7?B=5:D<14&&D>=8?B=6:D<16&&D>=14?B=7:D>=16&&(B=8),D<6&&D>=2?j=1:D>=6&&(j=2),D>4&&D<8?V=4:D>=8&&(V=6),{borderRadius:D,borderRadiusXS:j,borderRadiusSM:B,borderRadiusLG:M,borderRadiusOuter:V}};function o(D){const{motionUnit:M,motionBase:B,borderRadius:j,lineWidth:V}=D;return Object.assign({motionDurationFast:`${(B+M).toFixed(1)}s`,motionDurationMid:`${(B+M*2).toFixed(1)}s`,motionDurationSlow:`${(B+M*3).toFixed(1)}s`,lineWidthBold:V+1},c(j))}var _=D=>{const{controlHeight:M}=D;return{controlHeightSM:M*.75,controlHeightXS:M*.5,controlHeightLG:M*1.25}},p=e(45156),g=D=>{const M=(0,p.Z)(D),B=M.map(Q=>Q.size),j=M.map(Q=>Q.lineHeight),V=B[1],H=B[0],Y=B[2],F=j[1],K=j[0],X=j[2];return{fontSizeSM:H,fontSize:V,fontSizeLG:Y,fontSizeXL:B[3],fontSizeHeading1:B[6],fontSizeHeading2:B[5],fontSizeHeading3:B[4],fontSizeHeading4:B[3],fontSizeHeading5:B[2],lineHeight:F,lineHeightLG:X,lineHeightSM:K,fontHeight:Math.round(F*V),fontHeightLG:Math.round(X*Y),fontHeightSM:Math.round(K*H),lineHeightHeading1:j[6],lineHeightHeading2:j[5],lineHeightHeading3:j[4],lineHeightHeading4:j[3],lineHeightHeading5:j[2]}};function P(D){const{sizeUnit:M,sizeStep:B}=D;return{sizeXXL:M*(B+8),sizeXL:M*(B+4),sizeLG:M*(B+2),sizeMD:M*(B+1),sizeMS:M*B,size:M*B,sizeSM:M*(B-1),sizeXS:M*(B-2),sizeXXS:M*(B-3)}}const O=(D,M)=>new a.FastColor(D).setA(M).toRgbString(),S=(D,M)=>new a.FastColor(D).darken(M).toHexString(),I=D=>{const M=(0,r.generate)(D);return{1:M[0],2:M[1],3:M[2],4:M[3],5:M[4],6:M[5],7:M[6],8:M[4],9:M[5],10:M[6]}},E=(D,M)=>{const B=D||"#fff",j=M||"#000";return{colorBgBase:B,colorTextBase:j,colorText:O(j,.88),colorTextSecondary:O(j,.65),colorTextTertiary:O(j,.45),colorTextQuaternary:O(j,.25),colorFill:O(j,.15),colorFillSecondary:O(j,.06),colorFillTertiary:O(j,.04),colorFillQuaternary:O(j,.02),colorBgSolid:O(j,1),colorBgSolidHover:O(j,.75),colorBgSolidActive:O(j,.95),colorBgLayout:S(B,4),colorBgContainer:S(B,0),colorBgElevated:S(B,0),colorBgSpotlight:O(j,.85),colorBgBlur:"transparent",colorBorder:S(B,15),colorBorderSecondary:S(B,6)}};function A(D){r.presetPrimaryColors.pink=r.presetPrimaryColors.magenta,r.presetPalettes.pink=r.presetPalettes.magenta;const M=Object.keys(n.M).map(B=>{const j=D[B]===r.presetPrimaryColors[B]?r.presetPalettes[B]:(0,r.generate)(D[B]);return Array.from({length:10},()=>1).reduce((V,H,Y)=>(V[`${B}-${Y+1}`]=j[Y],V[`${B}${Y+1}`]=j[Y],V),{})}).reduce((B,j)=>(B=Object.assign(Object.assign({},B),j),B),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},D),M),s(D,{generateColorPalettes:I,generateNeutralColorPalettes:E})),g(D.fontSize)),P(D)),_(D)),o(D))}var T=(0,t.createTheme)(A)},90820:function(i,d,e){"use strict";e.d(d,{M:function(){return t}});const t={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},r=Object.assign(Object.assign({},t),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});d.Z=r},45156:function(i,d,e){"use strict";e.d(d,{D:function(){return t},Z:function(){return r}});function t(n){return(n+8)/n}function r(n){const a=Array.from({length:10}).map((s,u)=>{const c=u-1,o=n*Math.pow(Math.E,c/5),f=u>1?Math.floor(o):Math.ceil(o);return Math.floor(f/2)*2});return a[1]=n,a.map(s=>({size:s,lineHeight:t(s)}))}},57700:function(i,d,e){"use strict";e.d(d,{ZP:function(){return I},NJ:function(){return g}});var t=e(59301),r=e(36237),n="5.24.6",a=n,s=e(29796),u=e(42146),c=e(90820),o=e(17835),f=e(28620),_=function(E,A){var R={};for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&A.indexOf(T)<0&&(R[T]=E[T]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,T=Object.getOwnPropertySymbols(E);D{delete T[K]});const D=Object.assign(Object.assign({},R),T),k=480,B=576,j=768,V=992,H=1200,Y=1600;if(D.motion===!1){const K="0s";D.motionDurationFast=K,D.motionDurationMid=K,D.motionDurationSlow=K}return Object.assign(Object.assign(Object.assign({},D),{colorFillContent:D.colorFillSecondary,colorFillContentHover:D.colorFill,colorFillAlter:D.colorFillQuaternary,colorBgContainerDisabled:D.colorFillTertiary,colorBorderBg:D.colorBgContainer,colorSplit:(0,f.Z)(D.colorBorderSecondary,D.colorBgContainer),colorTextPlaceholder:D.colorTextQuaternary,colorTextDisabled:D.colorTextQuaternary,colorTextHeading:D.colorText,colorTextLabel:D.colorTextSecondary,colorTextDescription:D.colorTextTertiary,colorTextLightSolid:D.colorWhite,colorHighlight:D.colorError,colorBgTextHover:D.colorFillSecondary,colorBgTextActive:D.colorFill,colorIcon:D.colorTextTertiary,colorIconHover:D.colorText,colorErrorOutline:(0,f.Z)(D.colorErrorBg,D.colorBgContainer),colorWarningOutline:(0,f.Z)(D.colorWarningBg,D.colorBgContainer),fontSizeIcon:D.fontSizeSM,lineWidthFocus:D.lineWidth*3,lineWidth:D.lineWidth,controlOutlineWidth:D.lineWidth*2,controlInteractiveSize:D.controlHeight/2,controlItemBgHover:D.colorFillTertiary,controlItemBgActive:D.colorPrimaryBg,controlItemBgActiveHover:D.colorPrimaryBgHover,controlItemBgActiveDisabled:D.colorFill,controlTmpOutline:D.colorFillQuaternary,controlOutline:(0,f.Z)(D.colorPrimaryBg,D.colorBgContainer),lineType:D.lineType,borderRadius:D.borderRadius,borderRadiusXS:D.borderRadiusXS,borderRadiusSM:D.borderRadiusSM,borderRadiusLG:D.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:D.sizeXXS,paddingXS:D.sizeXS,paddingSM:D.sizeSM,padding:D.size,paddingMD:D.sizeMD,paddingLG:D.sizeLG,paddingXL:D.sizeXL,paddingContentHorizontalLG:D.sizeLG,paddingContentVerticalLG:D.sizeMS,paddingContentHorizontal:D.sizeMS,paddingContentVertical:D.sizeSM,paddingContentHorizontalSM:D.size,paddingContentVerticalSM:D.sizeXS,marginXXS:D.sizeXXS,marginXS:D.sizeXS,marginSM:D.sizeSM,margin:D.size,marginMD:D.sizeMD,marginLG:D.sizeLG,marginXL:D.sizeXL,marginXXL:D.sizeXXL,boxShadow:` +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});d.Z=r},45156:function(i,d,e){"use strict";e.d(d,{D:function(){return t},Z:function(){return r}});function t(n){return(n+8)/n}function r(n){const a=Array.from({length:10}).map((s,u)=>{const c=u-1,o=n*Math.pow(Math.E,c/5),f=u>1?Math.floor(o):Math.ceil(o);return Math.floor(f/2)*2});return a[1]=n,a.map(s=>({size:s,lineHeight:t(s)}))}},57700:function(i,d,e){"use strict";e.d(d,{ZP:function(){return I},NJ:function(){return g}});var t=e(59301),r=e(36237),n="5.24.6",a=n,s=e(29796),u=e(42146),c=e(90820),o=e(17835),f=e(28620),_=function(E,A){var R={};for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&A.indexOf(T)<0&&(R[T]=E[T]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,T=Object.getOwnPropertySymbols(E);D{delete T[K]});const D=Object.assign(Object.assign({},R),T),M=480,B=576,j=768,V=992,H=1200,Y=1600;if(D.motion===!1){const K="0s";D.motionDurationFast=K,D.motionDurationMid=K,D.motionDurationSlow=K}return Object.assign(Object.assign(Object.assign({},D),{colorFillContent:D.colorFillSecondary,colorFillContentHover:D.colorFill,colorFillAlter:D.colorFillQuaternary,colorBgContainerDisabled:D.colorFillTertiary,colorBorderBg:D.colorBgContainer,colorSplit:(0,f.Z)(D.colorBorderSecondary,D.colorBgContainer),colorTextPlaceholder:D.colorTextQuaternary,colorTextDisabled:D.colorTextQuaternary,colorTextHeading:D.colorText,colorTextLabel:D.colorTextSecondary,colorTextDescription:D.colorTextTertiary,colorTextLightSolid:D.colorWhite,colorHighlight:D.colorError,colorBgTextHover:D.colorFillSecondary,colorBgTextActive:D.colorFill,colorIcon:D.colorTextTertiary,colorIconHover:D.colorText,colorErrorOutline:(0,f.Z)(D.colorErrorBg,D.colorBgContainer),colorWarningOutline:(0,f.Z)(D.colorWarningBg,D.colorBgContainer),fontSizeIcon:D.fontSizeSM,lineWidthFocus:D.lineWidth*3,lineWidth:D.lineWidth,controlOutlineWidth:D.lineWidth*2,controlInteractiveSize:D.controlHeight/2,controlItemBgHover:D.colorFillTertiary,controlItemBgActive:D.colorPrimaryBg,controlItemBgActiveHover:D.colorPrimaryBgHover,controlItemBgActiveDisabled:D.colorFill,controlTmpOutline:D.colorFillQuaternary,controlOutline:(0,f.Z)(D.colorPrimaryBg,D.colorBgContainer),lineType:D.lineType,borderRadius:D.borderRadius,borderRadiusXS:D.borderRadiusXS,borderRadiusSM:D.borderRadiusSM,borderRadiusLG:D.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:D.sizeXXS,paddingXS:D.sizeXS,paddingSM:D.sizeSM,padding:D.size,paddingMD:D.sizeMD,paddingLG:D.sizeLG,paddingXL:D.sizeXL,paddingContentHorizontalLG:D.sizeLG,paddingContentVerticalLG:D.sizeMS,paddingContentHorizontal:D.sizeMS,paddingContentVertical:D.sizeSM,paddingContentHorizontalSM:D.size,paddingContentVerticalSM:D.sizeXS,marginXXS:D.sizeXXS,marginXS:D.sizeXS,marginSM:D.sizeSM,margin:D.size,marginMD:D.sizeMD,marginLG:D.sizeLG,marginXL:D.sizeXL,marginXXL:D.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -161,7 +161,7 @@ http://j.mp/37Fkd5Q 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:k,screenXSMin:k,screenXSMax:B-1,screenSM:B,screenSMMin:B,screenSMMax:j-1,screenMD:j,screenMDMin:j,screenMDMax:V-1,screenLG:V,screenLGMin:V,screenLGMax:H-1,screenXL:H,screenXLMin:H,screenXLMax:Y-1,screenXXL:Y,screenXXLMin:Y,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + `,screenXS:M,screenXSMin:M,screenXSMax:B-1,screenSM:B,screenSMMin:B,screenSMMax:j-1,screenMD:j,screenMDMin:j,screenMDMax:V-1,screenLG:V,screenLGMin:V,screenLGMax:H-1,screenXL:H,screenXLMin:H,screenXLMax:Y-1,screenXXL:Y,screenXXLMin:Y,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` 0 1px 2px -2px ${new o.FastColor("rgba(0, 0, 0, 0.16)").toRgbString()}, 0 3px 6px 0 ${new o.FastColor("rgba(0, 0, 0, 0.12)").toRgbString()}, 0 5px 12px 4px ${new o.FastColor("rgba(0, 0, 0, 0.09)").toRgbString()} @@ -181,9 +181,9 @@ http://j.mp/37Fkd5Q 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),T)}var x=function(E,A){var R={};for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&A.indexOf(T)<0&&(R[T]=E[T]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,T=Object.getOwnPropertySymbols(E);D{const T=R.getDerivativeToken(E),{override:D}=A,k=x(A,["override"]);let B=Object.assign(Object.assign({},T),{override:D});return B=p(B),k&&Object.entries(k).forEach(j=>{let[V,H]=j;const{theme:Y}=H,F=x(H,["theme"]);let K=F;Y&&(K=S(Object.assign(Object.assign({},B),F),{override:F},Y)),B[V]=K}),B};function I(){const{token:E,hashed:A,theme:R,override:T,cssVar:D}=t.useContext(s.Mj),k=`${a}-${A||""}`,B=R||u.Z,[j,V,H]=(0,r.useCacheToken)(B,[c.Z,E],{salt:k,override:T,getComputedToken:S,formatToken:p,cssVar:D&&{prefix:D.prefix,key:D.key,unitless:g,ignore:P,preserve:O}});return[B,H,A?V:"",j,D]}},16931:function(i,d,e){"use strict";e.d(d,{A1:function(){return c},I$:function(){return u},bk:function(){return o}});var t=e(59301),r=e(51636),n=e(48755),a=e(63356),s=e(57700);const{genStyleHooks:u,genComponentStyleHook:c,genSubStyleComponent:o}=(0,r.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:f,iconPrefixCls:_}=(0,t.useContext)(n.E_);return{rootPrefixCls:f(),iconPrefixCls:_}},useToken:()=>{const[f,_,p,x,g]=(0,s.ZP)();return{theme:f,realToken:_,hashId:p,token:x,cssVar:g}},useCSP:()=>{const{csp:f}=(0,t.useContext)(n.E_);return f!=null?f:{}},getResetStyles:(f,_)=>{var p;const x=(0,a.Lx)(f);return[x,{"&":x},(0,a.JT)((p=_==null?void 0:_.prefix.iconPrefixCls)!==null&&p!==void 0?p:n.oR)]},getCommonStyle:a.du,getCompUnitless:()=>s.NJ})},28620:function(i,d,e){"use strict";var t=e(17835);function r(a){return a>=0&&a<=255}function n(a,s){const{r:u,g:c,b:o,a:f}=new t.FastColor(a).toRgb();if(f<1)return a;const{r:_,g:p,b:x}=new t.FastColor(s).toRgb();for(let g=.01;g<=1;g+=.01){const P=Math.round((u-_*(1-g))/g),O=Math.round((c-p*(1-g))/g),S=Math.round((o-x*(1-g))/g);if(r(P)&&r(O)&&r(S))return new t.FastColor({r:P,g:O,b:S,a:Math.round(g*100)/100}).toRgbString()}return new t.FastColor({r:u,g:c,b:o,a:1}).toRgbString()}d.Z=n},303:function(i,d){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};d.Z=e},91190:function(i,d,e){"use strict";e.d(d,{H:function(){return s}});var t=e(59301),r=e(6089);function n(){}const a=t.createContext({add:n,remove:n});function s(c){const o=t.useContext(a),f=t.useRef(null);return(0,r.Z)(p=>{if(p){const x=c?p.querySelector(c):p;o.add(x),f.current=x}else o.remove(f.current)})}var u=null},67751:function(i){var d={utf8:{stringToBytes:function(e){return d.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(d.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r>>32-r},rotr:function(t,r){return t<<32-r|t>>>r},endian:function(t){if(t.constructor==Number)return e.rotl(t,8)&16711935|e.rotl(t,24)&4278255360;for(var r=0;r0;t--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(t){for(var r=[],n=0,a=0;n>>5]|=t[n]<<24-a%32;return r},wordsToBytes:function(t){for(var r=[],n=0;n>>5]>>>24-n%32&255);return r},bytesToHex:function(t){for(var r=[],n=0;n>>4).toString(16)),r.push((t[n]&15).toString(16));return r.join("")},hexToBytes:function(t){for(var r=[],n=0;n>>6*(3-s)&63)):r.push("=");return r.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],n=0,a=0;n>>6-a*2);return r}};i.exports=e})()},84452:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.BlockCipher,s=r.algo,u=[],c=[],o=[],f=[],_=[],p=[],x=[],g=[],P=[],O=[];(function(){for(var E=[],A=0;A<256;A++)A<128?E[A]=A<<1:E[A]=A<<1^283;for(var R=0,T=0,A=0;A<256;A++){var D=T^T<<1^T<<2^T<<3^T<<4;D=D>>>8^D&255^99,u[R]=D,c[D]=R;var k=E[R],B=E[k],j=E[B],V=E[D]*257^D*16843008;o[R]=V<<24|V>>>8,f[R]=V<<16|V>>>16,_[R]=V<<8|V>>>24,p[R]=V;var V=j*16843009^B*65537^k*257^R*16843008;x[D]=V<<24|V>>>8,g[D]=V<<16|V>>>16,P[D]=V<<8|V>>>24,O[D]=V,R?(R=k^E[E[E[j^k]]],T^=E[E[T]]):R=T=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],I=s.AES=a.extend({_doReset:function(){var E;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var A=this._keyPriorReset=this._key,R=A.words,T=A.sigBytes/4,D=this._nRounds=T+6,k=(D+1)*4,B=this._keySchedule=[],j=0;j6&&j%T==4&&(E=u[E>>>24]<<24|u[E>>>16&255]<<16|u[E>>>8&255]<<8|u[E&255]):(E=E<<8|E>>>24,E=u[E>>>24]<<24|u[E>>>16&255]<<16|u[E>>>8&255]<<8|u[E&255],E^=S[j/T|0]<<24),B[j]=B[j-T]^E);for(var V=this._invKeySchedule=[],H=0;H>>24]]^g[u[E>>>16&255]]^P[u[E>>>8&255]]^O[u[E&255]]}}},encryptBlock:function(E,A){this._doCryptBlock(E,A,this._keySchedule,o,f,_,p,u)},decryptBlock:function(E,A){var R=E[A+1];E[A+1]=E[A+3],E[A+3]=R,this._doCryptBlock(E,A,this._invKeySchedule,x,g,P,O,c);var R=E[A+1];E[A+1]=E[A+3],E[A+3]=R},_doCryptBlock:function(E,A,R,T,D,k,B,j){for(var V=this._nRounds,H=E[A]^R[0],Y=E[A+1]^R[1],F=E[A+2]^R[2],K=E[A+3]^R[3],X=4,Q=1;Q>>24]^D[Y>>>16&255]^k[F>>>8&255]^B[K&255]^R[X++],N=T[Y>>>24]^D[F>>>16&255]^k[K>>>8&255]^B[H&255]^R[X++],J=T[F>>>24]^D[K>>>16&255]^k[H>>>8&255]^B[Y&255]^R[X++],M=T[K>>>24]^D[H>>>16&255]^k[Y>>>8&255]^B[F&255]^R[X++];H=W,Y=N,F=J,K=M}var W=(j[H>>>24]<<24|j[Y>>>16&255]<<16|j[F>>>8&255]<<8|j[K&255])^R[X++],N=(j[Y>>>24]<<24|j[F>>>16&255]<<16|j[K>>>8&255]<<8|j[H&255])^R[X++],J=(j[F>>>24]<<24|j[K>>>16&255]<<16|j[H>>>8&255]<<8|j[Y&255])^R[X++],M=(j[K>>>24]<<24|j[H>>>16&255]<<16|j[Y>>>8&255]<<8|j[F&255])^R[X++];E[A]=W,E[A+1]=N,E[A+2]=J,E[A+3]=M},keySize:256/32});r.AES=a._createHelper(I)}(),t.AES})},93617:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(28492))})(this,function(t){t.lib.Cipher||function(r){var n=t,a=n.lib,s=a.Base,u=a.WordArray,c=a.BufferedBlockAlgorithm,o=n.enc,f=o.Utf8,_=o.Base64,p=n.algo,x=p.EvpKDF,g=a.Cipher=c.extend({cfg:s.extend(),createEncryptor:function(Y,F){return this.create(this._ENC_XFORM_MODE,Y,F)},createDecryptor:function(Y,F){return this.create(this._DEC_XFORM_MODE,Y,F)},init:function(Y,F,K){this.cfg=this.cfg.extend(K),this._xformMode=Y,this._key=F,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(Y){return this._append(Y),this._process()},finalize:function(Y){Y&&this._append(Y);var F=this._doFinalize();return F},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function Y(F){return typeof F=="string"?H:B}return function(F){return{encrypt:function(K,X,Q){return Y(X).encrypt(F,K,X,Q)},decrypt:function(K,X,Q){return Y(X).decrypt(F,K,X,Q)}}}}()}),P=a.StreamCipher=g.extend({_doFinalize:function(){var Y=this._process(!0);return Y},blockSize:1}),O=n.mode={},S=a.BlockCipherMode=s.extend({createEncryptor:function(Y,F){return this.Encryptor.create(Y,F)},createDecryptor:function(Y,F){return this.Decryptor.create(Y,F)},init:function(Y,F){this._cipher=Y,this._iv=F}}),I=O.CBC=function(){var Y=S.extend();Y.Encryptor=Y.extend({processBlock:function(K,X){var Q=this._cipher,W=Q.blockSize;F.call(this,K,X,W),Q.encryptBlock(K,X),this._prevBlock=K.slice(X,X+W)}}),Y.Decryptor=Y.extend({processBlock:function(K,X){var Q=this._cipher,W=Q.blockSize,N=K.slice(X,X+W);Q.decryptBlock(K,X),F.call(this,K,X,W),this._prevBlock=N}});function F(K,X,Q){var W,N=this._iv;N?(W=N,this._iv=r):W=this._prevBlock;for(var J=0;J>>2]&255;Y.sigBytes-=F}},R=a.BlockCipher=g.extend({cfg:g.cfg.extend({mode:I,padding:A}),reset:function(){var Y;g.reset.call(this);var F=this.cfg,K=F.iv,X=F.mode;this._xformMode==this._ENC_XFORM_MODE?Y=X.createEncryptor:(Y=X.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Y?this._mode.init(this,K&&K.words):(this._mode=Y.call(X,this,K&&K.words),this._mode.__creator=Y)},_doProcessBlock:function(Y,F){this._mode.processBlock(Y,F)},_doFinalize:function(){var Y,F=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(F.pad(this._data,this.blockSize),Y=this._process(!0)):(Y=this._process(!0),F.unpad(Y)),Y},blockSize:128/32}),T=a.CipherParams=s.extend({init:function(Y){this.mixIn(Y)},toString:function(Y){return(Y||this.formatter).stringify(this)}}),D=n.format={},k=D.OpenSSL={stringify:function(Y){var F,K=Y.ciphertext,X=Y.salt;return X?F=u.create([1398893684,1701076831]).concat(X).concat(K):F=K,F.toString(_)},parse:function(Y){var F,K=_.parse(Y),X=K.words;return X[0]==1398893684&&X[1]==1701076831&&(F=u.create(X.slice(2,4)),X.splice(0,4),K.sigBytes-=16),T.create({ciphertext:K,salt:F})}},B=a.SerializableCipher=s.extend({cfg:s.extend({format:k}),encrypt:function(Y,F,K,X){X=this.cfg.extend(X);var Q=Y.createEncryptor(K,X),W=Q.finalize(F),N=Q.cfg;return T.create({ciphertext:W,key:K,iv:N.iv,algorithm:Y,mode:N.mode,padding:N.padding,blockSize:Y.blockSize,formatter:X.format})},decrypt:function(Y,F,K,X){X=this.cfg.extend(X),F=this._parse(F,X.format);var Q=Y.createDecryptor(K,X).finalize(F.ciphertext);return Q},_parse:function(Y,F){return typeof Y=="string"?F.parse(Y,this):Y}}),j=n.kdf={},V=j.OpenSSL={execute:function(Y,F,K,X){X||(X=u.random(64/8));var Q=x.create({keySize:F+K}).compute(Y,X),W=u.create(Q.words.slice(F),K*4);return Q.sigBytes=F*4,T.create({key:Q,iv:W,salt:X})}},H=a.PasswordBasedCipher=B.extend({cfg:B.cfg.extend({kdf:V}),encrypt:function(Y,F,K,X){X=this.cfg.extend(X);var Q=X.kdf.execute(K,Y.keySize,Y.ivSize);X.iv=Q.iv;var W=B.encrypt.call(this,Y,F,Q.key,X);return W.mixIn(Q),W},decrypt:function(Y,F,K,X){X=this.cfg.extend(X),F=this._parse(F,X.format);var Q=X.kdf.execute(K,Y.keySize,Y.ivSize,F.salt);X.iv=Q.iv;var W=B.decrypt.call(this,Y,F,Q.key,X);return W}})}()})},52952:function(i,d,e){(function(t,r){i.exports=d=r()})(this,function(){var t=t||function(r,n){var a;if(typeof window!="undefined"&&window.crypto&&(a=window.crypto),typeof self!="undefined"&&self.crypto&&(a=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window!="undefined"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof e.g!="undefined"&&e.g.crypto&&(a=e.g.crypto),!a)try{a=e(3828)}catch(E){}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch(E){}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch(E){}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function E(){}return function(A){var R;return E.prototype=A,R=new E,E.prototype=null,R}}(),c={},o=c.lib={},f=o.Base=function(){return{extend:function(E){var A=u(this);return E&&A.mixIn(E),(!A.hasOwnProperty("init")||this.init===A.init)&&(A.init=function(){A.$super.init.apply(this,arguments)}),A.init.prototype=A,A.$super=this,A},create:function(){var E=this.extend();return E.init.apply(E,arguments),E},init:function(){},mixIn:function(E){for(var A in E)E.hasOwnProperty(A)&&(this[A]=E[A]);E.hasOwnProperty("toString")&&(this.toString=E.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),_=o.WordArray=f.extend({init:function(E,A){E=this.words=E||[],A!=n?this.sigBytes=A:this.sigBytes=E.length*4},toString:function(E){return(E||x).stringify(this)},concat:function(E){var A=this.words,R=E.words,T=this.sigBytes,D=E.sigBytes;if(this.clamp(),T%4)for(var k=0;k>>2]>>>24-k%4*8&255;A[T+k>>>2]|=B<<24-(T+k)%4*8}else for(var j=0;j>>2]=R[j>>>2];return this.sigBytes+=D,this},clamp:function(){var E=this.words,A=this.sigBytes;E[A>>>2]&=4294967295<<32-A%4*8,E.length=r.ceil(A/4)},clone:function(){var E=f.clone.call(this);return E.words=this.words.slice(0),E},random:function(E){for(var A=[],R=0;R>>2]>>>24-D%4*8&255;T.push((k>>>4).toString(16)),T.push((k&15).toString(16))}return T.join("")},parse:function(E){for(var A=E.length,R=[],T=0;T>>3]|=parseInt(E.substr(T,2),16)<<24-T%8*4;return new _.init(R,A/2)}},g=p.Latin1={stringify:function(E){for(var A=E.words,R=E.sigBytes,T=[],D=0;D>>2]>>>24-D%4*8&255;T.push(String.fromCharCode(k))}return T.join("")},parse:function(E){for(var A=E.length,R=[],T=0;T>>2]|=(E.charCodeAt(T)&255)<<24-T%4*8;return new _.init(R,A)}},P=p.Utf8={stringify:function(E){try{return decodeURIComponent(escape(g.stringify(E)))}catch(A){throw new Error("Malformed UTF-8 data")}},parse:function(E){return g.parse(unescape(encodeURIComponent(E)))}},O=o.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new _.init,this._nDataBytes=0},_append:function(E){typeof E=="string"&&(E=P.parse(E)),this._data.concat(E),this._nDataBytes+=E.sigBytes},_process:function(E){var A,R=this._data,T=R.words,D=R.sigBytes,k=this.blockSize,B=k*4,j=D/B;E?j=r.ceil(j):j=r.max((j|0)-this._minBufferSize,0);var V=j*k,H=r.min(V*4,D);if(V){for(var Y=0;Y>>2]>>>24-g%4*8&255,O=f[g+1>>>2]>>>24-(g+1)%4*8&255,S=f[g+2>>>2]>>>24-(g+2)%4*8&255,I=P<<16|O<<8|S,E=0;E<4&&g+E*.75<_;E++)x.push(p.charAt(I>>>6*(3-E)&63));var A=p.charAt(64);if(A)for(;x.length%4;)x.push(A);return x.join("")},parse:function(o){var f=o.length,_=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var x=0;x<_.length;x++)p[_.charCodeAt(x)]=x}var g=_.charAt(64);if(g){var P=o.indexOf(g);P!==-1&&(f=P)}return c(o,f,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(o,f,_){for(var p=[],x=0,g=0;g>>6-g%4*2,S=P|O;p[x>>>2]|=S<<24-x%4*8,x++}return a.create(p,x)}}(),t.enc.Base64})},52695:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=r.enc,u=s.Base64url={stringify:function(o,f=!0){var _=o.words,p=o.sigBytes,x=f?this._safe_map:this._map;o.clamp();for(var g=[],P=0;P>>2]>>>24-P%4*8&255,S=_[P+1>>>2]>>>24-(P+1)%4*8&255,I=_[P+2>>>2]>>>24-(P+2)%4*8&255,E=O<<16|S<<8|I,A=0;A<4&&P+A*.75>>6*(3-A)&63));var R=x.charAt(64);if(R)for(;g.length%4;)g.push(R);return g.join("")},parse:function(o,f=!0){var _=o.length,p=f?this._safe_map:this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var g=0;g>>6-g%4*2,S=P|O;p[x>>>2]|=S<<24-x%4*8,x++}return a.create(p,x)}}(),t.enc.Base64url})},73323:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=r.enc,u=s.Utf16=s.Utf16BE={stringify:function(o){for(var f=o.words,_=o.sigBytes,p=[],x=0;x<_;x+=2){var g=f[x>>>2]>>>16-x%4*8&65535;p.push(String.fromCharCode(g))}return p.join("")},parse:function(o){for(var f=o.length,_=[],p=0;p>>1]|=o.charCodeAt(p)<<16-p%2*16;return a.create(_,f*2)}};s.Utf16LE={stringify:function(o){for(var f=o.words,_=o.sigBytes,p=[],x=0;x<_;x+=2){var g=c(f[x>>>2]>>>16-x%4*8&65535);p.push(String.fromCharCode(g))}return p.join("")},parse:function(o){for(var f=o.length,_=[],p=0;p>>1]|=c(o.charCodeAt(p)<<16-p%2*16);return a.create(_,f*2)}};function c(o){return o<<8&4278255360|o>>>8&16711935}}(),t.enc.Utf16})},28492:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(49479),e(83760))})(this,function(t){return function(){var r=t,n=r.lib,a=n.Base,s=n.WordArray,u=r.algo,c=u.MD5,o=u.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:c,iterations:1}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,_){for(var p,x=this.cfg,g=x.hasher.create(),P=s.create(),O=P.words,S=x.keySize,I=x.iterations;O.lengthx&&(_=f.finalize(_)),_.clamp();for(var g=this._oKey=_.clone(),P=this._iKey=_.clone(),O=g.words,S=P.words,I=0;I>>2]|=c[_]<<24-_%4*8;s.call(this,f,o)}else s.apply(this,arguments)};u.prototype=a}}(),t.lib.WordArray})},34905:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=[];(function(){for(var P=0;P<64;P++)o[P]=r.abs(r.sin(P+1))*4294967296|0})();var f=c.MD5=u.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(P,O){for(var S=0;S<16;S++){var I=O+S,E=P[I];P[I]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}var A=this._hash.words,R=P[O+0],T=P[O+1],D=P[O+2],k=P[O+3],B=P[O+4],j=P[O+5],V=P[O+6],H=P[O+7],Y=P[O+8],F=P[O+9],K=P[O+10],X=P[O+11],Q=P[O+12],W=P[O+13],N=P[O+14],J=P[O+15],M=A[0],Z=A[1],G=A[2],ee=A[3];M=_(M,Z,G,ee,R,7,o[0]),ee=_(ee,M,Z,G,T,12,o[1]),G=_(G,ee,M,Z,D,17,o[2]),Z=_(Z,G,ee,M,k,22,o[3]),M=_(M,Z,G,ee,B,7,o[4]),ee=_(ee,M,Z,G,j,12,o[5]),G=_(G,ee,M,Z,V,17,o[6]),Z=_(Z,G,ee,M,H,22,o[7]),M=_(M,Z,G,ee,Y,7,o[8]),ee=_(ee,M,Z,G,F,12,o[9]),G=_(G,ee,M,Z,K,17,o[10]),Z=_(Z,G,ee,M,X,22,o[11]),M=_(M,Z,G,ee,Q,7,o[12]),ee=_(ee,M,Z,G,W,12,o[13]),G=_(G,ee,M,Z,N,17,o[14]),Z=_(Z,G,ee,M,J,22,o[15]),M=p(M,Z,G,ee,T,5,o[16]),ee=p(ee,M,Z,G,V,9,o[17]),G=p(G,ee,M,Z,X,14,o[18]),Z=p(Z,G,ee,M,R,20,o[19]),M=p(M,Z,G,ee,j,5,o[20]),ee=p(ee,M,Z,G,K,9,o[21]),G=p(G,ee,M,Z,J,14,o[22]),Z=p(Z,G,ee,M,B,20,o[23]),M=p(M,Z,G,ee,F,5,o[24]),ee=p(ee,M,Z,G,N,9,o[25]),G=p(G,ee,M,Z,k,14,o[26]),Z=p(Z,G,ee,M,Y,20,o[27]),M=p(M,Z,G,ee,W,5,o[28]),ee=p(ee,M,Z,G,D,9,o[29]),G=p(G,ee,M,Z,H,14,o[30]),Z=p(Z,G,ee,M,Q,20,o[31]),M=x(M,Z,G,ee,j,4,o[32]),ee=x(ee,M,Z,G,Y,11,o[33]),G=x(G,ee,M,Z,X,16,o[34]),Z=x(Z,G,ee,M,N,23,o[35]),M=x(M,Z,G,ee,T,4,o[36]),ee=x(ee,M,Z,G,B,11,o[37]),G=x(G,ee,M,Z,H,16,o[38]),Z=x(Z,G,ee,M,K,23,o[39]),M=x(M,Z,G,ee,W,4,o[40]),ee=x(ee,M,Z,G,R,11,o[41]),G=x(G,ee,M,Z,k,16,o[42]),Z=x(Z,G,ee,M,V,23,o[43]),M=x(M,Z,G,ee,F,4,o[44]),ee=x(ee,M,Z,G,Q,11,o[45]),G=x(G,ee,M,Z,J,16,o[46]),Z=x(Z,G,ee,M,D,23,o[47]),M=g(M,Z,G,ee,R,6,o[48]),ee=g(ee,M,Z,G,H,10,o[49]),G=g(G,ee,M,Z,N,15,o[50]),Z=g(Z,G,ee,M,j,21,o[51]),M=g(M,Z,G,ee,Q,6,o[52]),ee=g(ee,M,Z,G,k,10,o[53]),G=g(G,ee,M,Z,K,15,o[54]),Z=g(Z,G,ee,M,T,21,o[55]),M=g(M,Z,G,ee,Y,6,o[56]),ee=g(ee,M,Z,G,J,10,o[57]),G=g(G,ee,M,Z,V,15,o[58]),Z=g(Z,G,ee,M,W,21,o[59]),M=g(M,Z,G,ee,B,6,o[60]),ee=g(ee,M,Z,G,X,10,o[61]),G=g(G,ee,M,Z,D,15,o[62]),Z=g(Z,G,ee,M,F,21,o[63]),A[0]=A[0]+M|0,A[1]=A[1]+Z|0,A[2]=A[2]+G|0,A[3]=A[3]+ee|0},_doFinalize:function(){var P=this._data,O=P.words,S=this._nDataBytes*8,I=P.sigBytes*8;O[I>>>5]|=128<<24-I%32;var E=r.floor(S/4294967296),A=S;O[(I+64>>>9<<4)+15]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,O[(I+64>>>9<<4)+14]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,P.sigBytes=(O.length+1)*4,this._process();for(var R=this._hash,T=R.words,D=0;D<4;D++){var k=T[D];T[D]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}return R},clone:function(){var P=u.clone.call(this);return P._hash=this._hash.clone(),P}});function _(P,O,S,I,E,A,R){var T=P+(O&S|~O&I)+E+R;return(T<>>32-A)+O}function p(P,O,S,I,E,A,R){var T=P+(O&I|S&~I)+E+R;return(T<>>32-A)+O}function x(P,O,S,I,E,A,R){var T=P+(O^S^I)+E+R;return(T<>>32-A)+O}function g(P,O,S,I,E,A,R){var T=P+(S^(O|~I))+E+R;return(T<>>32-A)+O}n.MD5=u._createHelper(f),n.HmacMD5=u._createHmacHelper(f)}(Math),t.MD5})},2882:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.mode.CFB=function(){var r=t.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize;n.call(this,a,s,c,u),this._prevBlock=a.slice(s,s+c)}}),r.Decryptor=r.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize,o=a.slice(s,s+c);n.call(this,a,s,c,u),this._prevBlock=o}});function n(a,s,u,c){var o,f=this._iv;f?(o=f.slice(0),this._iv=void 0):o=this._prevBlock,c.encryptBlock(o,0);for(var _=0;_>24&255)===255){var c=u>>16&255,o=u>>8&255,f=u&255;c===255?(c=0,o===255?(o=0,f===255?f=0:++f):++o):++c,u=0,u+=c<<16,u+=o<<8,u+=f}else u+=16777216;return u}function a(u){return(u[0]=n(u[0]))===0&&(u[1]=n(u[1])),u}var s=r.Encryptor=r.extend({processBlock:function(u,c){var o=this._cipher,f=o.blockSize,_=this._iv,p=this._counter;_&&(p=this._counter=_.slice(0),this._iv=void 0),a(p);var x=p.slice(0);o.encryptBlock(x,0);for(var g=0;g>>2]|=u<<24-c%4*8,r.sigBytes+=u},unpad:function(r){var n=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=n}},t.pad.Ansix923})},2593:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.Iso10126={pad:function(r,n){var a=n*4,s=a-r.sigBytes%a;r.concat(t.lib.WordArray.random(s-1)).concat(t.lib.WordArray.create([s<<24],1))},unpad:function(r){var n=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=n}},t.pad.Iso10126})},10829:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.Iso97971={pad:function(r,n){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,n)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}},t.pad.Iso97971})},18846:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})},10265:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.ZeroPadding={pad:function(r,n){var a=n*4;r.clamp(),r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){for(var n=r.words,a=r.sigBytes-1,a=r.sigBytes-1;a>=0;a--)if(n[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}},t.pad.ZeroPadding})},37248:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(49479),e(83760))})(this,function(t){return function(){var r=t,n=r.lib,a=n.Base,s=n.WordArray,u=r.algo,c=u.SHA1,o=u.HMAC,f=u.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:c,iterations:1}),init:function(_){this.cfg=this.cfg.extend(_)},compute:function(_,p){for(var x=this.cfg,g=o.create(x.hasher,_),P=s.create(),O=s.create([1]),S=P.words,I=O.words,E=x.keySize,A=x.iterations;S.length>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],P=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var O=0;O<4;O++)_.call(this);for(var O=0;O<8;O++)P[O]^=g[O+4&7];if(x){var S=x.words,I=S[0],E=S[1],A=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,R=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=A>>>16|R&4294901760,D=R<<16|A&65535;P[0]^=A,P[1]^=T,P[2]^=R,P[3]^=D,P[4]^=A,P[5]^=T,P[6]^=R,P[7]^=D;for(var O=0;O<4;O++)_.call(this)}},_doProcessBlock:function(p,x){var g=this._X;_.call(this),u[0]=g[0]^g[5]>>>16^g[3]<<16,u[1]=g[2]^g[7]>>>16^g[5]<<16,u[2]=g[4]^g[1]>>>16^g[7]<<16,u[3]=g[6]^g[3]>>>16^g[1]<<16;for(var P=0;P<4;P++)u[P]=(u[P]<<8|u[P]>>>24)&16711935|(u[P]<<24|u[P]>>>8)&4278255360,p[x+P]^=u[P]},blockSize:128/32,ivSize:64/32});function _(){for(var p=this._X,x=this._C,g=0;g<8;g++)c[g]=x[g];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0;for(var g=0;g<8;g++){var P=p[g]+x[g],O=P&65535,S=P>>>16,I=((O*O>>>17)+O*S>>>15)+S*S,E=((P&4294901760)*P|0)+((P&65535)*P|0);o[g]=I^E}p[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,p[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,p[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,p[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,p[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,p[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,p[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,p[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}r.RabbitLegacy=a._createHelper(f)}(),t.RabbitLegacy})},21865:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.StreamCipher,s=r.algo,u=[],c=[],o=[],f=s.Rabbit=a.extend({_doReset:function(){for(var p=this._key.words,x=this.cfg.iv,g=0;g<4;g++)p[g]=(p[g]<<8|p[g]>>>24)&16711935|(p[g]<<24|p[g]>>>8)&4278255360;var P=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],O=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var g=0;g<4;g++)_.call(this);for(var g=0;g<8;g++)O[g]^=P[g+4&7];if(x){var S=x.words,I=S[0],E=S[1],A=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,R=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=A>>>16|R&4294901760,D=R<<16|A&65535;O[0]^=A,O[1]^=T,O[2]^=R,O[3]^=D,O[4]^=A,O[5]^=T,O[6]^=R,O[7]^=D;for(var g=0;g<4;g++)_.call(this)}},_doProcessBlock:function(p,x){var g=this._X;_.call(this),u[0]=g[0]^g[5]>>>16^g[3]<<16,u[1]=g[2]^g[7]>>>16^g[5]<<16,u[2]=g[4]^g[1]>>>16^g[7]<<16,u[3]=g[6]^g[3]>>>16^g[1]<<16;for(var P=0;P<4;P++)u[P]=(u[P]<<8|u[P]>>>24)&16711935|(u[P]<<24|u[P]>>>8)&4278255360,p[x+P]^=u[P]},blockSize:128/32,ivSize:64/32});function _(){for(var p=this._X,x=this._C,g=0;g<8;g++)c[g]=x[g];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0;for(var g=0;g<8;g++){var P=p[g]+x[g],O=P&65535,S=P>>>16,I=((O*O>>>17)+O*S>>>15)+S*S,E=((P&4294901760)*P|0)+((P&65535)*P|0);o[g]=I^E}p[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,p[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,p[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,p[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,p[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,p[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,p[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,p[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}r.Rabbit=a._createHelper(f)}(),t.Rabbit})},22528:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.StreamCipher,s=r.algo,u=s.RC4=a.extend({_doReset:function(){for(var f=this._key,_=f.words,p=f.sigBytes,x=this._S=[],g=0;g<256;g++)x[g]=g;for(var g=0,P=0;g<256;g++){var O=g%p,S=_[O>>>2]>>>24-O%4*8&255;P=(P+x[g]+S)%256;var I=x[g];x[g]=x[P],x[P]=I}this._i=this._j=0},_doProcessBlock:function(f,_){f[_]^=c.call(this)},keySize:256/32,ivSize:0});function c(){for(var f=this._S,_=this._i,p=this._j,x=0,g=0;g<4;g++){_=(_+1)%256,p=(p+f[_])%256;var P=f[_];f[_]=f[p],f[p]=P,x|=f[(f[_]+f[p])%256]<<24-g*8}return this._i=_,this._j=p,x}r.RC4=a._createHelper(u);var o=s.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var f=this.cfg.drop;f>0;f--)c.call(this)}});r.RC4Drop=a._createHelper(o)}(),t.RC4})},25824:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),f=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),_=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),x=s.create([0,1518500249,1859775393,2400959708,2840853838]),g=s.create([1352829926,1548603684,1836072691,2053994217,0]),P=c.RIPEMD160=u.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,D){for(var k=0;k<16;k++){var B=D+k,j=T[B];T[B]=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360}var V=this._hash.words,H=x.words,Y=g.words,F=o.words,K=f.words,X=_.words,Q=p.words,W,N,J,M,Z,G,ee,ie,se,le;G=W=V[0],ee=N=V[1],ie=J=V[2],se=M=V[3],le=Z=V[4];for(var de,k=0;k<80;k+=1)de=W+T[D+F[k]]|0,k<16?de+=O(N,J,M)+H[0]:k<32?de+=S(N,J,M)+H[1]:k<48?de+=I(N,J,M)+H[2]:k<64?de+=E(N,J,M)+H[3]:de+=A(N,J,M)+H[4],de=de|0,de=R(de,X[k]),de=de+Z|0,W=Z,Z=M,M=R(J,10),J=N,N=de,de=G+T[D+K[k]]|0,k<16?de+=A(ee,ie,se)+Y[0]:k<32?de+=E(ee,ie,se)+Y[1]:k<48?de+=I(ee,ie,se)+Y[2]:k<64?de+=S(ee,ie,se)+Y[3]:de+=O(ee,ie,se)+Y[4],de=de|0,de=R(de,Q[k]),de=de+le|0,G=le,le=se,se=R(ie,10),ie=ee,ee=de;de=V[1]+J+se|0,V[1]=V[2]+M+le|0,V[2]=V[3]+Z+G|0,V[3]=V[4]+W+ee|0,V[4]=V[0]+N+ie|0,V[0]=de},_doFinalize:function(){var T=this._data,D=T.words,k=this._nDataBytes*8,B=T.sigBytes*8;D[B>>>5]|=128<<24-B%32,D[(B+64>>>9<<4)+14]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,T.sigBytes=(D.length+1)*4,this._process();for(var j=this._hash,V=j.words,H=0;H<5;H++){var Y=V[H];V[H]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360}return j},clone:function(){var T=u.clone.call(this);return T._hash=this._hash.clone(),T}});function O(T,D,k){return T^D^k}function S(T,D,k){return T&D|~T&k}function I(T,D,k){return(T|~D)^k}function E(T,D,k){return T&k|D&~k}function A(T,D,k){return T^(D|~k)}function R(T,D){return T<>>32-D}n.RIPEMD160=u._createHelper(P),n.HmacRIPEMD160=u._createHmacHelper(P)}(Math),t.RIPEMD160})},49479:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=n.Hasher,u=r.algo,c=[],o=u.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(f,_){for(var p=this._hash.words,x=p[0],g=p[1],P=p[2],O=p[3],S=p[4],I=0;I<80;I++){if(I<16)c[I]=f[_+I]|0;else{var E=c[I-3]^c[I-8]^c[I-14]^c[I-16];c[I]=E<<1|E>>>31}var A=(x<<5|x>>>27)+S+c[I];I<20?A+=(g&P|~g&O)+1518500249:I<40?A+=(g^P^O)+1859775393:I<60?A+=(g&P|g&O|P&O)-1894007588:A+=(g^P^O)-899497514,S=O,O=P,P=g<<30|g>>>2,g=x,x=A}p[0]=p[0]+x|0,p[1]=p[1]+g|0,p[2]=p[2]+P|0,p[3]=p[3]+O|0,p[4]=p[4]+S|0},_doFinalize:function(){var f=this._data,_=f.words,p=this._nDataBytes*8,x=f.sigBytes*8;return _[x>>>5]|=128<<24-x%32,_[(x+64>>>9<<4)+14]=Math.floor(p/4294967296),_[(x+64>>>9<<4)+15]=p,f.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var f=s.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA1=s._createHelper(o),r.HmacSHA1=s._createHmacHelper(o)}(),t.SHA1})},93653:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(2481))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=r.algo,u=s.SHA256,c=s.SHA224=u.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=u._doFinalize.call(this);return o.sigBytes-=4,o}});r.SHA224=u._createHelper(c),r.HmacSHA224=u._createHmacHelper(c)}(),t.SHA224})},2481:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=[],f=[];(function(){function x(S){for(var I=r.sqrt(S),E=2;E<=I;E++)if(!(S%E))return!1;return!0}function g(S){return(S-(S|0))*4294967296|0}for(var P=2,O=0;O<64;)x(P)&&(O<8&&(o[O]=g(r.pow(P,.5))),f[O]=g(r.pow(P,.3333333333333333)),O++),P++})();var _=[],p=c.SHA256=u.extend({_doReset:function(){this._hash=new s.init(o.slice(0))},_doProcessBlock:function(x,g){for(var P=this._hash.words,O=P[0],S=P[1],I=P[2],E=P[3],A=P[4],R=P[5],T=P[6],D=P[7],k=0;k<64;k++){if(k<16)_[k]=x[g+k]|0;else{var B=_[k-15],j=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,V=_[k-2],H=(V<<15|V>>>17)^(V<<13|V>>>19)^V>>>10;_[k]=j+_[k-7]+H+_[k-16]}var Y=A&R^~A&T,F=O&S^O&I^S&I,K=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),X=(A<<26|A>>>6)^(A<<21|A>>>11)^(A<<7|A>>>25),Q=D+X+Y+f[k]+_[k],W=K+F;D=T,T=R,R=A,A=E+Q|0,E=I,I=S,S=O,O=Q+W|0}P[0]=P[0]+O|0,P[1]=P[1]+S|0,P[2]=P[2]+I|0,P[3]=P[3]+E|0,P[4]=P[4]+A|0,P[5]=P[5]+R|0,P[6]=P[6]+T|0,P[7]=P[7]+D|0},_doFinalize:function(){var x=this._data,g=x.words,P=this._nDataBytes*8,O=x.sigBytes*8;return g[O>>>5]|=128<<24-O%32,g[(O+64>>>9<<4)+14]=r.floor(P/4294967296),g[(O+64>>>9<<4)+15]=P,x.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var x=u.clone.call(this);return x._hash=this._hash.clone(),x}});n.SHA256=u._createHelper(p),n.HmacSHA256=u._createHmacHelper(p)}(Math),t.SHA256})},79421:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(41988))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.x64,o=c.Word,f=n.algo,_=[],p=[],x=[];(function(){for(var O=1,S=0,I=0;I<24;I++){_[O+5*S]=(I+1)*(I+2)/2%64;var E=S%5,A=(2*O+3*S)%5;O=E,S=A}for(var O=0;O<5;O++)for(var S=0;S<5;S++)p[O+5*S]=S+(2*O+3*S)%5*5;for(var R=1,T=0;T<24;T++){for(var D=0,k=0,B=0;B<7;B++){if(R&1){var j=(1<>>24)&16711935|(R<<24|R>>>8)&4278255360,T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360;var D=I[A];D.high^=T,D.low^=R}for(var k=0;k<24;k++){for(var B=0;B<5;B++){for(var j=0,V=0,H=0;H<5;H++){var D=I[B+5*H];j^=D.high,V^=D.low}var Y=g[B];Y.high=j,Y.low=V}for(var B=0;B<5;B++)for(var F=g[(B+4)%5],K=g[(B+1)%5],X=K.high,Q=K.low,j=F.high^(X<<1|Q>>>31),V=F.low^(Q<<1|X>>>31),H=0;H<5;H++){var D=I[B+5*H];D.high^=j,D.low^=V}for(var W=1;W<25;W++){var j,V,D=I[W],N=D.high,J=D.low,M=_[W];M<32?(j=N<>>32-M,V=J<>>32-M):(j=J<>>64-M,V=N<>>64-M);var Z=g[p[W]];Z.high=j,Z.low=V}var G=g[0],ee=I[0];G.high=ee.high,G.low=ee.low;for(var B=0;B<5;B++)for(var H=0;H<5;H++){var W=B+5*H,D=I[W],ie=g[W],se=g[(B+1)%5+5*H],le=g[(B+2)%5+5*H];D.high=ie.high^~se.high&le.high,D.low=ie.low^~se.low&le.low}var D=I[0],de=x[k];D.high^=de.high,D.low^=de.low}},_doFinalize:function(){var O=this._data,S=O.words,I=this._nDataBytes*8,E=O.sigBytes*8,A=this.blockSize*32;S[E>>>5]|=1<<24-E%32,S[(r.ceil((E+1)/A)*A>>>5)-1]|=128,O.sigBytes=S.length*4,this._process();for(var R=this._state,T=this.cfg.outputLength/8,D=T/8,k=[],B=0;B>>24)&16711935|(V<<24|V>>>8)&4278255360,H=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,k.push(H),k.push(V)}return new s.init(k,T)},clone:function(){for(var O=u.clone.call(this),S=O._state=this._state.slice(0),I=0;I<25;I++)S[I]=S[I].clone();return O}});n.SHA3=u._createHelper(P),n.HmacSHA3=u._createHmacHelper(P)}(Math),t.SHA3})},82307:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(41988),e(12133))})(this,function(t){return function(){var r=t,n=r.x64,a=n.Word,s=n.WordArray,u=r.algo,c=u.SHA512,o=u.SHA384=c.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var f=c._doFinalize.call(this);return f.sigBytes-=16,f}});r.SHA384=c._createHelper(o),r.HmacSHA384=c._createHmacHelper(o)}(),t.SHA384})},12133:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(41988))})(this,function(t){return function(){var r=t,n=r.lib,a=n.Hasher,s=r.x64,u=s.Word,c=s.WordArray,o=r.algo;function f(){return u.create.apply(u,arguments)}var _=[f(1116352408,3609767458),f(1899447441,602891725),f(3049323471,3964484399),f(3921009573,2173295548),f(961987163,4081628472),f(1508970993,3053834265),f(2453635748,2937671579),f(2870763221,3664609560),f(3624381080,2734883394),f(310598401,1164996542),f(607225278,1323610764),f(1426881987,3590304994),f(1925078388,4068182383),f(2162078206,991336113),f(2614888103,633803317),f(3248222580,3479774868),f(3835390401,2666613458),f(4022224774,944711139),f(264347078,2341262773),f(604807628,2007800933),f(770255983,1495990901),f(1249150122,1856431235),f(1555081692,3175218132),f(1996064986,2198950837),f(2554220882,3999719339),f(2821834349,766784016),f(2952996808,2566594879),f(3210313671,3203337956),f(3336571891,1034457026),f(3584528711,2466948901),f(113926993,3758326383),f(338241895,168717936),f(666307205,1188179964),f(773529912,1546045734),f(1294757372,1522805485),f(1396182291,2643833823),f(1695183700,2343527390),f(1986661051,1014477480),f(2177026350,1206759142),f(2456956037,344077627),f(2730485921,1290863460),f(2820302411,3158454273),f(3259730800,3505952657),f(3345764771,106217008),f(3516065817,3606008344),f(3600352804,1432725776),f(4094571909,1467031594),f(275423344,851169720),f(430227734,3100823752),f(506948616,1363258195),f(659060556,3750685593),f(883997877,3785050280),f(958139571,3318307427),f(1322822218,3812723403),f(1537002063,2003034995),f(1747873779,3602036899),f(1955562222,1575990012),f(2024104815,1125592928),f(2227730452,2716904306),f(2361852424,442776044),f(2428436474,593698344),f(2756734187,3733110249),f(3204031479,2999351573),f(3329325298,3815920427),f(3391569614,3928383900),f(3515267271,566280711),f(3940187606,3454069534),f(4118630271,4000239992),f(116418474,1914138554),f(174292421,2731055270),f(289380356,3203993006),f(460393269,320620315),f(685471733,587496836),f(852142971,1086792851),f(1017036298,365543100),f(1126000580,2618297676),f(1288033470,3409855158),f(1501505948,4234509866),f(1607167915,987167468),f(1816402316,1246189591)],p=[];(function(){for(var g=0;g<80;g++)p[g]=f()})();var x=o.SHA512=a.extend({_doReset:function(){this._hash=new c.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(g,P){for(var O=this._hash.words,S=O[0],I=O[1],E=O[2],A=O[3],R=O[4],T=O[5],D=O[6],k=O[7],B=S.high,j=S.low,V=I.high,H=I.low,Y=E.high,F=E.low,K=A.high,X=A.low,Q=R.high,W=R.low,N=T.high,J=T.low,M=D.high,Z=D.low,G=k.high,ee=k.low,ie=B,se=j,le=V,de=H,He=Y,ze=F,st=K,vt=X,Je=Q,Ke=W,Re=N,Ce=J,me=M,at=Z,ct=G,St=ee,bt=0;bt<80;bt++){var Ie,$e,ft=p[bt];if(bt<16)$e=ft.high=g[P+bt*2]|0,Ie=ft.low=g[P+bt*2+1]|0;else{var Me=p[bt-15],ye=Me.high,fe=Me.low,Oe=(ye>>>1|fe<<31)^(ye>>>8|fe<<24)^ye>>>7,Ee=(fe>>>1|ye<<31)^(fe>>>8|ye<<24)^(fe>>>7|ye<<25),et=p[bt-2],mt=et.high,pe=et.low,ge=(mt>>>19|pe<<13)^(mt<<3|pe>>>29)^mt>>>6,lt=(pe>>>19|mt<<13)^(pe<<3|mt>>>29)^(pe>>>6|mt<<26),Qe=p[bt-7],Ve=Qe.high,it=Qe.low,Dt=p[bt-16],Yt=Dt.high,Se=Dt.low;Ie=Ee+it,$e=Oe+Ve+(Ie>>>0>>0?1:0),Ie=Ie+lt,$e=$e+ge+(Ie>>>0>>0?1:0),Ie=Ie+Se,$e=$e+Yt+(Ie>>>0>>0?1:0),ft.high=$e,ft.low=Ie}var je=Je&Re^~Je&me,Be=Ke&Ce^~Ke&at,ht=ie&le^ie&He^le&He,At=se&de^se&ze^de&ze,ce=(ie>>>28|se<<4)^(ie<<30|se>>>2)^(ie<<25|se>>>7),_t=(se>>>28|ie<<4)^(se<<30|ie>>>2)^(se<<25|ie>>>7),qt=(Je>>>14|Ke<<18)^(Je>>>18|Ke<<14)^(Je<<23|Ke>>>9),Ht=(Ke>>>14|Je<<18)^(Ke>>>18|Je<<14)^(Ke<<23|Je>>>9),Ut=_[bt],cr=Ut.high,Ze=Ut.low,dt=St+Ht,Mt=ct+qt+(dt>>>0>>0?1:0),dt=dt+Be,Mt=Mt+je+(dt>>>0>>0?1:0),dt=dt+Ze,Mt=Mt+cr+(dt>>>0>>0?1:0),dt=dt+Ie,Mt=Mt+$e+(dt>>>0>>0?1:0),ar=_t+At,$t=ce+ht+(ar>>>0<_t>>>0?1:0);ct=me,St=at,me=Re,at=Ce,Re=Je,Ce=Ke,Ke=vt+dt|0,Je=st+Mt+(Ke>>>0>>0?1:0)|0,st=He,vt=ze,He=le,ze=de,le=ie,de=se,se=dt+ar|0,ie=Mt+$t+(se>>>0
        >>0?1:0)|0}j=S.low=j+se,S.high=B+ie+(j>>>0>>0?1:0),H=I.low=H+de,I.high=V+le+(H>>>0>>0?1:0),F=E.low=F+ze,E.high=Y+He+(F>>>0>>0?1:0),X=A.low=X+vt,A.high=K+st+(X>>>0>>0?1:0),W=R.low=W+Ke,R.high=Q+Je+(W>>>0>>0?1:0),J=T.low=J+Ce,T.high=N+Re+(J>>>0>>0?1:0),Z=D.low=Z+at,D.high=M+me+(Z>>>0>>0?1:0),ee=k.low=ee+St,k.high=G+ct+(ee>>>0>>0?1:0)},_doFinalize:function(){var g=this._data,P=g.words,O=this._nDataBytes*8,S=g.sigBytes*8;P[S>>>5]|=128<<24-S%32,P[(S+128>>>10<<5)+30]=Math.floor(O/4294967296),P[(S+128>>>10<<5)+31]=O,g.sigBytes=P.length*4,this._process();var I=this._hash.toX32();return I},clone:function(){var g=a.clone.call(this);return g._hash=this._hash.clone(),g},blockSize:1024/32});r.SHA512=a._createHelper(x),r.HmacSHA512=a._createHmacHelper(x)}(),t.SHA512})},61945:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=n.BlockCipher,u=r.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],_=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],x=u.DES=s.extend({_doReset:function(){for(var S=this._key,I=S.words,E=[],A=0;A<56;A++){var R=c[A]-1;E[A]=I[R>>>5]>>>31-R%32&1}for(var T=this._subKeys=[],D=0;D<16;D++){for(var k=T[D]=[],B=f[D],A=0;A<24;A++)k[A/6|0]|=E[(o[A]-1+B)%28]<<31-A%6,k[4+(A/6|0)]|=E[28+(o[A+24]-1+B)%28]<<31-A%6;k[0]=k[0]<<1|k[0]>>>31;for(var A=1;A<7;A++)k[A]=k[A]>>>(A-1)*4+3;k[7]=k[7]<<5|k[7]>>>27}for(var j=this._invSubKeys=[],A=0;A<16;A++)j[A]=T[15-A]},encryptBlock:function(S,I){this._doCryptBlock(S,I,this._subKeys)},decryptBlock:function(S,I){this._doCryptBlock(S,I,this._invSubKeys)},_doCryptBlock:function(S,I,E){this._lBlock=S[I],this._rBlock=S[I+1],g.call(this,4,252645135),g.call(this,16,65535),P.call(this,2,858993459),P.call(this,8,16711935),g.call(this,1,1431655765);for(var A=0;A<16;A++){for(var R=E[A],T=this._lBlock,D=this._rBlock,k=0,B=0;B<8;B++)k|=_[B][((D^R[B])&p[B])>>>0];this._lBlock=D,this._rBlock=T^k}var j=this._lBlock;this._lBlock=this._rBlock,this._rBlock=j,g.call(this,1,1431655765),P.call(this,8,16711935),P.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),S[I]=this._lBlock,S[I+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(S,I){var E=(this._lBlock>>>S^this._rBlock)&I;this._rBlock^=E,this._lBlock^=E<>>S^this._lBlock)&I;this._lBlock^=E,this._rBlock^=E<192.");var E=I.slice(0,2),A=I.length<4?I.slice(0,2):I.slice(2,4),R=I.length<6?I.slice(0,2):I.slice(4,6);this._des1=x.createEncryptor(a.create(E)),this._des2=x.createEncryptor(a.create(A)),this._des3=x.createEncryptor(a.create(R))},encryptBlock:function(S,I){this._des1.encryptBlock(S,I),this._des2.decryptBlock(S,I),this._des3.encryptBlock(S,I)},decryptBlock:function(S,I){this._des3.decryptBlock(S,I),this._des2.encryptBlock(S,I),this._des1.decryptBlock(S,I)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(O)}(),t.TripleDES})},41988:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.Base,u=a.WordArray,c=n.x64={},o=c.Word=s.extend({init:function(_,p){this.high=_,this.low=p}}),f=c.WordArray=s.extend({init:function(_,p){_=this.words=_||[],p!=r?this.sigBytes=p:this.sigBytes=_.length*8},toX32:function(){for(var _=this.words,p=_.length,x=[],g=0;g=Y?H:""+Array(Y+1-K.length).join(F)+H},I={s:S,z:function(H){var Y=-H.utcOffset(),F=Math.abs(Y),K=Math.floor(F/60),X=F%60;return(Y<=0?"+":"-")+S(K,2,"0")+":"+S(X,2,"0")},m:function H(Y,F){if(Y.date()1)return H(W[0])}else{var N=Y.name;A[N]=Y,X=N}return!K&&X&&(E=X),X||!K&&E},k=function(H,Y){if(T(H))return H.clone();var F=typeof Y=="object"?Y:{};return F.date=H,F.args=arguments,new j(F)},B=I;B.l=D,B.i=T,B.w=function(H,Y){return k(H,{locale:Y.$L,utc:Y.$u,x:Y.$x,$offset:Y.$offset})};var j=function(){function H(F){this.$L=D(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[R]=!0}var Y=H.prototype;return Y.parse=function(F){this.$d=function(K){var X=K.date,Q=K.utc;if(X===null)return new Date(NaN);if(B.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var W=X.match(g);if(W){var N=W[2]-1||0,J=(W[7]||"0").substring(0,3);return Q?new Date(Date.UTC(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)):new Date(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)}}return new Date(X)}(F),this.init()},Y.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},Y.$utils=function(){return B},Y.isValid=function(){return this.$d.toString()!==x},Y.isSame=function(F,K){var X=k(F);return this.startOf(K)<=X&&X<=this.endOf(K)},Y.isAfter=function(F,K){return k(F)68?1900:2e3)},c=function(g){return function(P){this[g]=+P}},o=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(P){if(!P||P==="Z")return 0;var O=P.match(/([+-]|\d\d)/g),S=60*O[1]+(+O[2]||0);return S===0?0:O[0]==="+"?-S:S}(g)}],f=function(g){var P=s[g];return P&&(P.indexOf?P:P.s.concat(P.f))},_=function(g,P){var O,S=s.meridiem;if(S){for(var I=1;I<=24;I+=1)if(g.indexOf(S(I,0,P))>-1){O=I>12;break}}else O=g===(P?"pm":"PM");return O},p={A:[a,function(g){this.afternoon=_(g,!1)}],a:[a,function(g){this.afternoon=_(g,!0)}],Q:[t,function(g){this.month=3*(g-1)+1}],S:[t,function(g){this.milliseconds=100*+g}],SS:[r,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[n,c("seconds")],ss:[n,c("seconds")],m:[n,c("minutes")],mm:[n,c("minutes")],H:[n,c("hours")],h:[n,c("hours")],HH:[n,c("hours")],hh:[n,c("hours")],D:[n,c("day")],DD:[r,c("day")],Do:[a,function(g){var P=s.ordinal,O=g.match(/\d+/);if(this.day=O[0],P)for(var S=1;S<=31;S+=1)P(S).replace(/\[|\]/g,"")===g&&(this.day=S)}],w:[n,c("week")],ww:[r,c("week")],M:[n,c("month")],MM:[r,c("month")],MMM:[a,function(g){var P=f("months"),O=(f("monthsShort")||P.map(function(S){return S.slice(0,3)})).indexOf(g)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[a,function(g){var P=f("months").indexOf(g)+1;if(P<1)throw new Error;this.month=P%12||P}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(g){this.year=u(g)}],YYYY:[/\d{4}/,c("year")],Z:o,ZZ:o};function x(g){var P,O;P=g,O=s&&s.formats;for(var S=(g=P.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(k,B,j){var V=j&&j.toUpperCase();return B||O[j]||d[j]||O[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(H,Y,F){return Y||F.slice(1)})})).match(e),I=S.length,E=0;E-1)return new Date((X==="X"?1e3:1)*K);var N=x(X)(K),J=N.year,M=N.month,Z=N.day,G=N.hours,ee=N.minutes,ie=N.seconds,se=N.milliseconds,le=N.zone,de=N.week,He=new Date,ze=Z||(J||M?1:He.getDate()),st=J||He.getFullYear(),vt=0;J&&!M||(vt=M>0?M-1:He.getMonth());var Je,Ke=G||0,Re=ee||0,Ce=ie||0,me=se||0;return le?new Date(Date.UTC(st,vt,ze,Ke,Re,Ce,me+60*le.offset*1e3)):Q?new Date(Date.UTC(st,vt,ze,Ke,Re,Ce,me)):(Je=new Date(st,vt,ze,Ke,Re,Ce,me),de&&(Je=W(Je).week(de).toDate()),Je)}catch(at){return new Date("")}}(A,D,R,O),this.init(),V&&V!==!0&&(this.$L=this.locale(V).$L),j&&A!=this.format(D)&&(this.$d=new Date("")),s={}}else if(D instanceof Array)for(var H=D.length,Y=1;Y<=H;Y+=1){T[1]=D[Y-1];var F=O.apply(this,T);if(F.isValid()){this.$d=F.$d,this.$L=F.$L,this.init();break}Y===H&&(this.$d=new Date(""))}else I.call(this,E)}}})},1554:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";var d,e,t=1e3,r=6e4,n=36e5,a=864e5,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,c=2628e6,o=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:u,months:c,days:a,hours:n,minutes:r,seconds:t,milliseconds:1,weeks:6048e5},_=function(A){return A instanceof I},p=function(A,R,T){return new I(A,T,R.$l)},x=function(A){return e.p(A)+"s"},g=function(A){return A<0},P=function(A){return g(A)?Math.ceil(A):Math.floor(A)},O=function(A){return Math.abs(A)},S=function(A,R){return A?g(A)?{negative:!0,format:""+O(A)+R}:{negative:!1,format:""+A+R}:{negative:!1,format:""}},I=function(){function A(T,D,k){var B=this;if(this.$d={},this.$l=k,T===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return p(T*f[x(D)],this);if(typeof T=="number")return this.$ms=T,this.parseFromMilliseconds(),this;if(typeof T=="object")return Object.keys(T).forEach(function(H){B.$d[x(H)]=T[H]}),this.calMilliseconds(),this;if(typeof T=="string"){var j=T.match(o);if(j){var V=j.slice(2).map(function(H){return H!=null?Number(H):0});return this.$d.years=V[0],this.$d.months=V[1],this.$d.weeks=V[2],this.$d.days=V[3],this.$d.hours=V[4],this.$d.minutes=V[5],this.$d.seconds=V[6],this.calMilliseconds(),this}}return this}var R=A.prototype;return R.calMilliseconds=function(){var T=this;this.$ms=Object.keys(this.$d).reduce(function(D,k){return D+(T.$d[k]||0)*f[k]},0)},R.parseFromMilliseconds=function(){var T=this.$ms;this.$d.years=P(T/u),T%=u,this.$d.months=P(T/c),T%=c,this.$d.days=P(T/a),T%=a,this.$d.hours=P(T/n),T%=n,this.$d.minutes=P(T/r),T%=r,this.$d.seconds=P(T/t),T%=t,this.$d.milliseconds=T},R.toISOString=function(){var T=S(this.$d.years,"Y"),D=S(this.$d.months,"M"),k=+this.$d.days||0;this.$d.weeks&&(k+=7*this.$d.weeks);var B=S(k,"D"),j=S(this.$d.hours,"H"),V=S(this.$d.minutes,"M"),H=this.$d.seconds||0;this.$d.milliseconds&&(H+=this.$d.milliseconds/1e3,H=Math.round(1e3*H)/1e3);var Y=S(H,"S"),F=T.negative||D.negative||B.negative||j.negative||V.negative||Y.negative,K=j.format||V.format||Y.format?"T":"",X=(F?"-":"")+"P"+T.format+D.format+B.format+K+j.format+V.format+Y.format;return X==="P"||X==="-P"?"P0D":X},R.toJSON=function(){return this.toISOString()},R.format=function(T){var D=T||"YYYY-MM-DDTHH:mm:ss",k={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return D.replace(s,function(B,j){return j||String(k[B])})},R.as=function(T){return this.$ms/f[x(T)]},R.get=function(T){var D=this.$ms,k=x(T);return k==="milliseconds"?D%=1e3:D=k==="weeks"?P(D/f[k]):this.$d[k],D||0},R.add=function(T,D,k){var B;return B=D?T*f[x(D)]:_(T)?T.$ms:p(T,this).$ms,p(this.$ms+B*(k?-1:1),this)},R.subtract=function(T,D){return this.add(T,D,!0)},R.locale=function(T){var D=this.clone();return D.$l=T,D},R.clone=function(){return p(this.$ms,this)},R.humanize=function(T){return d().add(this.$ms,"ms").locale(this.$l).fromNow(!T)},R.valueOf=function(){return this.asMilliseconds()},R.milliseconds=function(){return this.get("milliseconds")},R.asMilliseconds=function(){return this.as("milliseconds")},R.seconds=function(){return this.get("seconds")},R.asSeconds=function(){return this.as("seconds")},R.minutes=function(){return this.get("minutes")},R.asMinutes=function(){return this.as("minutes")},R.hours=function(){return this.get("hours")},R.asHours=function(){return this.as("hours")},R.days=function(){return this.get("days")},R.asDays=function(){return this.as("days")},R.weeks=function(){return this.get("weeks")},R.asWeeks=function(){return this.as("weeks")},R.months=function(){return this.get("months")},R.asMonths=function(){return this.as("months")},R.years=function(){return this.get("years")},R.asYears=function(){return this.as("years")},A}(),E=function(A,R,T){return A.add(R.years()*T,"y").add(R.months()*T,"M").add(R.days()*T,"d").add(R.hours()*T,"h").add(R.minutes()*T,"m").add(R.seconds()*T,"s").add(R.milliseconds()*T,"ms")};return function(A,R,T){d=T,e=T().$utils(),T.duration=function(B,j){var V=T.locale();return p(B,{$l:V},j)},T.isDuration=_;var D=R.prototype.add,k=R.prototype.subtract;R.prototype.add=function(B,j){return _(B)?E(this,B,1):D.bind(this)(B,j)},R.prototype.subtract=function(B,j){return _(B)?E(this,B,-1):k.bind(this)(B,j)}}})},5116:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e,t){t.isMoment=function(r){return t.isDayjs(r)}}})},14805:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.isSameOrAfter=function(t,r){return this.isSame(t,r)||this.isAfter(t,r)}}})},73100:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.isSameOrBefore=function(t,r){return this.isSame(t,r)||this.isBefore(t,r)}}})},50991:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e,t){var r=e.prototype,n=function(o){return o&&(o.indexOf?o:o.s)},a=function(o,f,_,p,x){var g=o.name?o:o.$locale(),P=n(g[f]),O=n(g[_]),S=P||O.map(function(E){return E.slice(0,p)});if(!x)return S;var I=g.weekStart;return S.map(function(E,A){return S[(A+(I||0))%7]})},s=function(){return t.Ls[t.locale()]},u=function(o,f){return o.formats[f]||function(_){return _.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,x,g){return x||g.slice(1)})}(o.formats[f.toUpperCase()])},c=function(){var o=this;return{months:function(f){return f?f.format("MMMM"):a(o,"months")},monthsShort:function(f){return f?f.format("MMM"):a(o,"monthsShort","months",3)},firstDayOfWeek:function(){return o.$locale().weekStart||0},weekdays:function(f){return f?f.format("dddd"):a(o,"weekdays")},weekdaysMin:function(f){return f?f.format("dd"):a(o,"weekdaysMin","weekdays",2)},weekdaysShort:function(f){return f?f.format("ddd"):a(o,"weekdaysShort","weekdays",3)},longDateFormat:function(f){return u(o.$locale(),f)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},t.localeData=function(){var o=s();return{firstDayOfWeek:function(){return o.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(f){return u(o,f)},meridiem:o.meridiem,ordinal:o.ordinal}},t.months=function(){return a(s(),"months")},t.monthsShort=function(){return a(s(),"monthsShort","months",3)},t.weekdays=function(o){return a(s(),"weekdays",null,null,o)},t.weekdaysShort=function(o){return a(s(),"weekdaysShort","weekdays",3,o)},t.weekdaysMin=function(o){return a(s(),"weekdaysMin","weekdays",2,o)}}})},39050:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";var d={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,t,r){var n=t.prototype,a=n.format;r.en.formats=d,n.format=function(s){s===void 0&&(s="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,c=function(o,f){return o.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,p,x){var g=x&&x.toUpperCase();return p||f[x]||d[x]||f[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,O,S){return O||S.slice(1)})})}(s,u===void 0?{}:u);return a.call(this,c)}}})},59697:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e,t){d=d||{};var r=e.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(u,c,o,f){return r.fromToBase(u,c,o,f)}t.en.relativeTime=n,r.fromToBase=function(u,c,o,f,_){for(var p,x,g,P=o.$locale().relativeTime||n,O=d.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],S=O.length,I=0;I0,A<=E.r||!E.r){A<=1&&I>0&&(E=O[I-1]);var R=P[E.l];_&&(A=_(""+A)),x=typeof R=="string"?R.replace("%d",A):R(A,c,E.l,g);break}}if(c)return x;var T=g?P.future:P.past;return typeof T=="function"?T(x):T.replace("%s",x)},r.to=function(u,c){return a(u,c,this,!0)},r.from=function(u,c){return a(u,c,this)};var s=function(u){return u.$u?t.utc():t()};r.toNow=function(u){return this.to(s(this),u)},r.fromNow=function(u){return this.from(s(this),u)}}})},9084:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";var d="week",e="year";return function(t,r,n){var a=r.prototype;a.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=n(this).startOf(e).add(1,e).date(u),o=n(this).endOf(d);if(c.isBefore(o))return 1}var f=n(this).startOf(e).date(u).startOf(d).subtract(1,"millisecond"),_=this.diff(f,d,!0);return _<0?n(this).startOf("week").week():Math.ceil(_)},a.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})},58626:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.weekYear=function(){var t=this.month(),r=this.week(),n=this.year();return r===1&&t===11?n+1:t===0&&r>=52?n-1:n}}})},9007:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.weekday=function(t){var r=this.$locale().weekStart||0,n=this.$W,a=(n0&&arguments[0]!==void 0?arguments[0]:{},c=u.namespace||a,o=u.only,f=o===void 0?[]:o,_=u.except,p=_===void 0?[]:_;if(f.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var x={global:!1,models:{},effects:{}},g=d({},c,function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x,S=arguments.length>1?arguments[1]:void 0,I=S.type,E=S.payload,A=E||{},R=A.namespace,T=A.actionType,D;switch(I){case r:D=t(t({},O),{},{global:!0,models:t(t({},O.models),{},d({},R,!0)),effects:t(t({},O.effects),{},d({},T,!0))});break;case n:{var k=t(t({},O.effects),{},d({},T,!1)),B=t(t({},O.models),{},d({},R,Object.keys(k).some(function(V){var H=V.split("/")[0];return H!==R?!1:k[V]}))),j=Object.keys(B).some(function(V){return B[V]});D=t(t({},O),{},{global:j,models:B,effects:k});break}default:D=O;break}return D});function P(O,S,I,E){var A=S.put,R=I.namespace;return f.length===0&&p.length===0||f.length>0&&f.indexOf(E)!==-1||p.length>0&&p.indexOf(E)===-1?regeneratorRuntime.mark(function T(){var D=arguments;return regeneratorRuntime.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,A({type:r,payload:{namespace:R,actionType:E}});case 2:return B.next=4,O.apply(void 0,D);case 4:return B.next=6,A({type:n,payload:{namespace:R,actionType:E}});case 6:case"end":return B.stop()}},T)}):O}return{extraReducers:g,onEffect:P}}i.exports=s},68192:function(i){"use strict";i.exports=function(){}},63474:function(i,d,e){"use strict";i.exports=e(71111)()?Object.assign:e(47597)},71111:function(i){"use strict";i.exports=function(){var d=Object.assign,e;return typeof d!="function"?!1:(e={foo:"raz"},d(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(i,d,e){"use strict";var t=e(90721),r=e(58883),n=Math.max;i.exports=function(a,s){var u,c,o=n(arguments.length,2),f;for(a=Object(r(a)),f=function(_){try{a[_]=s[_]}catch(p){u||(u=p)}},c=1;c-1}},3424:function(i,d,e){"use strict";var t=e(35413),r=e(15895),n=Function.prototype.apply,a=Function.prototype.call,s=Object.create,u=Object.defineProperty,c=Object.defineProperties,o=Object.prototype.hasOwnProperty,f={configurable:!0,enumerable:!1,writable:!0},_,p,x,g,P,O,S;_=function(I,E){var A;return r(E),o.call(this,"__ee__")?A=this.__ee__:(A=f.value=s(null),u(this,"__ee__",f),f.value=null),A[I]?typeof A[I]=="object"?A[I].push(E):A[I]=[A[I],E]:A[I]=E,this},p=function(I,E){var A,R;return r(E),R=this,_.call(this,I,A=function(){x.call(R,I,A),n.call(E,this,arguments)}),A.__eeOnceListener__=E,this},x=function(I,E){var A,R,T,D;if(r(E),!o.call(this,"__ee__"))return this;if(A=this.__ee__,!A[I])return this;if(R=A[I],typeof R=="object")for(D=0;T=R[D];++D)(T===E||T.__eeOnceListener__===E)&&(R.length===2?A[I]=R[D?0:1]:R.splice(D,1));else(R===E||R.__eeOnceListener__===E)&&delete A[I];return this},g=function(I){var E,A,R,T,D;if(o.call(this,"__ee__")&&(T=this.__ee__[I],!!T))if(typeof T=="object"){for(A=arguments.length,D=new Array(A-1),E=1;E=this._delta8){s=this.pending;var c=s.length%this._delta8;this.pending=s.slice(s.length-c,s.length),this.pending.length===0&&(this.pending=null),s=t.join32(s,0,s.length-c,this.endian);for(var o=0;o>>24&255,o[f++]=s>>>16&255,o[f++]=s>>>8&255,o[f++]=s&255}else for(o[f++]=s&255,o[f++]=s>>>8&255,o[f++]=s>>>16&255,o[f++]=s>>>24&255,o[f++]=0,o[f++]=0,o[f++]=0,o[f++]=0,_=8;_this.blockSize&&(s=new this.Hash().update(s).digest()),r(s.length<=this.blockSize);for(var u=s.length;u>>3}d.g0_256=f;function _(p){return r(p,17)^r(p,19)^p>>>10}d.g1_256=_},8631:function(i,d,e){"use strict";var t=e(61339),r=e(4603);d.inherits=r;function n(F,K){return(F.charCodeAt(K)&64512)!==55296||K<0||K+1>=F.length?!1:(F.charCodeAt(K+1)&64512)===56320}function a(F,K){if(Array.isArray(F))return F.slice();if(!F)return[];var X=[];if(typeof F=="string")if(K){if(K==="hex")for(F=F.replace(/[^a-z0-9]+/ig,""),F.length%2!==0&&(F="0"+F),W=0;W>6|192,X[Q++]=N&63|128):n(F,W)?(N=65536+((N&1023)<<10)+(F.charCodeAt(++W)&1023),X[Q++]=N>>18|240,X[Q++]=N>>12&63|128,X[Q++]=N>>6&63|128,X[Q++]=N&63|128):(X[Q++]=N>>12|224,X[Q++]=N>>6&63|128,X[Q++]=N&63|128)}else for(W=0;W>>24|F>>>8&65280|F<<8&16711680|(F&255)<<24;return K>>>0}d.htonl=u;function c(F,K){for(var X="",Q=0;Q>>0}return N}d.join32=_;function p(F,K){for(var X=new Array(F.length*4),Q=0,W=0;Q>>24,X[W+1]=N>>>16&255,X[W+2]=N>>>8&255,X[W+3]=N&255):(X[W+3]=N>>>24,X[W+2]=N>>>16&255,X[W+1]=N>>>8&255,X[W]=N&255)}return X}d.split32=p;function x(F,K){return F>>>K|F<<32-K}d.rotr32=x;function g(F,K){return F<>>32-K}d.rotl32=g;function P(F,K){return F+K>>>0}d.sum32=P;function O(F,K,X){return F+K+X>>>0}d.sum32_3=O;function S(F,K,X,Q){return F+K+X+Q>>>0}d.sum32_4=S;function I(F,K,X,Q,W){return F+K+X+Q+W>>>0}d.sum32_5=I;function E(F,K,X,Q){var W=F[K],N=F[K+1],J=Q+N>>>0,M=(J>>0,F[K+1]=J}d.sum64=E;function A(F,K,X,Q){var W=K+Q>>>0,N=(W>>0}d.sum64_hi=A;function R(F,K,X,Q){var W=K+Q;return W>>>0}d.sum64_lo=R;function T(F,K,X,Q,W,N,J,M){var Z=0,G=K;G=G+Q>>>0,Z+=G>>0,Z+=G>>0,Z+=G>>0}d.sum64_4_hi=T;function D(F,K,X,Q,W,N,J,M){var Z=K+Q+N+M;return Z>>>0}d.sum64_4_lo=D;function k(F,K,X,Q,W,N,J,M,Z,G){var ee=0,ie=K;ie=ie+Q>>>0,ee+=ie>>0,ee+=ie>>0,ee+=ie>>0,ee+=ie>>0}d.sum64_5_hi=k;function B(F,K,X,Q,W,N,J,M,Z,G){var ee=K+Q+N+M+G;return ee>>>0}d.sum64_5_lo=B;function j(F,K,X){var Q=K<<32-X|F>>>X;return Q>>>0}d.rotr64_hi=j;function V(F,K,X){var Q=F<<32-X|K>>>X;return Q>>>0}d.rotr64_lo=V;function H(F,K,X){return F>>>X}d.shr64_hi=H;function Y(F,K,X){var Q=F<<32-X|K>>>X;return Q>>>0}d.shr64_lo=Y},19340:function(i,d,e){"use strict";e.d(d,{Ep:function(){return O},PP:function(){return _},aU:function(){return r},cP:function(){return S},lX:function(){return o},q_:function(){return f}});var t=e(60499),r;(function(I){I.Pop="POP",I.Push="PUSH",I.Replace="REPLACE"})(r||(r={}));var n=function(I){return I};function a(I,E){if(!I){typeof console!="undefined"&&console.warn(E);try{throw new Error(E)}catch(A){}}}var s="beforeunload",u="hashchange",c="popstate";function o(I){I===void 0&&(I={});var E=I,A=E.window,R=A===void 0?document.defaultView:A,T=R.history;function D(){var ie=R.location,se=ie.pathname,le=ie.search,de=ie.hash,He=T.state||{};return[He.idx,n({pathname:se,search:le,hash:de,state:He.usr||null,key:He.key||"default"})]}var k=null;function B(){if(k)K.call(k),k=null;else{var ie=r.Pop,se=D(),le=se[0],de=se[1];if(K.length){if(le!=null){var He=H-le;He&&(k={action:ie,location:de,retry:function(){G(He*-1)}},G(He))}}else J(ie)}}R.addEventListener(c,B);var j=r.Pop,V=D(),H=V[0],Y=V[1],F=g(),K=g();H==null&&(H=0,T.replaceState((0,t.Z)({},T.state,{idx:H}),""));function X(ie){return typeof ie=="string"?ie:O(ie)}function Q(ie,se){return se===void 0&&(se=null),n((0,t.Z)({pathname:Y.pathname,hash:"",search:""},typeof ie=="string"?S(ie):ie,{state:se,key:P()}))}function W(ie,se){return[{usr:ie.state,key:ie.key,idx:se},X(ie)]}function N(ie,se,le){return!K.length||(K.call({action:ie,location:se,retry:le}),!1)}function J(ie){j=ie;var se=D();H=se[0],Y=se[1],F.call({action:j,location:Y})}function M(ie,se){var le=r.Push,de=Q(ie,se);function He(){M(ie,se)}if(N(le,de,He)){var ze=W(de,H+1),st=ze[0],vt=ze[1];try{T.pushState(st,"",vt)}catch(Je){R.location.assign(vt)}J(le)}}function Z(ie,se){var le=r.Replace,de=Q(ie,se);function He(){Z(ie,se)}if(N(le,de,He)){var ze=W(de,H),st=ze[0],vt=ze[1];T.replaceState(st,"",vt),J(le)}}function G(ie){T.go(ie)}var ee={get action(){return j},get location(){return Y},createHref:X,push:M,replace:Z,go:G,back:function(){G(-1)},forward:function(){G(1)},listen:function(se){return F.push(se)},block:function(se){var le=K.push(se);return K.length===1&&R.addEventListener(s,x),function(){le(),K.length||R.removeEventListener(s,x)}}};return ee}function f(I){I===void 0&&(I={});var E=I,A=E.window,R=A===void 0?document.defaultView:A,T=R.history;function D(){var se=S(R.location.hash.substr(1)),le=se.pathname,de=le===void 0?"/":le,He=se.search,ze=He===void 0?"":He,st=se.hash,vt=st===void 0?"":st,Je=T.state||{};return[Je.idx,n({pathname:de,search:ze,hash:vt,state:Je.usr||null,key:Je.key||"default"})]}var k=null;function B(){if(k)K.call(k),k=null;else{var se=r.Pop,le=D(),de=le[0],He=le[1];if(K.length){if(de!=null){var ze=H-de;ze&&(k={action:se,location:He,retry:function(){ee(ze*-1)}},ee(ze))}}else M(se)}}R.addEventListener(c,B),R.addEventListener(u,function(){var se=D(),le=se[1];O(le)!==O(Y)&&B()});var j=r.Pop,V=D(),H=V[0],Y=V[1],F=g(),K=g();H==null&&(H=0,T.replaceState((0,t.Z)({},T.state,{idx:H}),""));function X(){var se=document.querySelector("base"),le="";if(se&&se.getAttribute("href")){var de=R.location.href,He=de.indexOf("#");le=He===-1?de:de.slice(0,He)}return le}function Q(se){return X()+"#"+(typeof se=="string"?se:O(se))}function W(se,le){return le===void 0&&(le=null),n((0,t.Z)({pathname:Y.pathname,hash:"",search:""},typeof se=="string"?S(se):se,{state:le,key:P()}))}function N(se,le){return[{usr:se.state,key:se.key,idx:le},Q(se)]}function J(se,le,de){return!K.length||(K.call({action:se,location:le,retry:de}),!1)}function M(se){j=se;var le=D();H=le[0],Y=le[1],F.call({action:j,location:Y})}function Z(se,le){var de=r.Push,He=W(se,le);function ze(){Z(se,le)}if(J(de,He,ze)){var st=N(He,H+1),vt=st[0],Je=st[1];try{T.pushState(vt,"",Je)}catch(Ke){R.location.assign(Je)}M(de)}}function G(se,le){var de=r.Replace,He=W(se,le);function ze(){G(se,le)}if(J(de,He,ze)){var st=N(He,H),vt=st[0],Je=st[1];T.replaceState(vt,"",Je),M(de)}}function ee(se){T.go(se)}var ie={get action(){return j},get location(){return Y},createHref:Q,push:Z,replace:G,go:ee,back:function(){ee(-1)},forward:function(){ee(1)},listen:function(le){return F.push(le)},block:function(le){var de=K.push(le);return K.length===1&&R.addEventListener(s,x),function(){de(),K.length||R.removeEventListener(s,x)}}};return ie}function _(I){I===void 0&&(I={});var E=I,A=E.initialEntries,R=A===void 0?["/"]:A,T=E.initialIndex,D=R.map(function(M){var Z=n((0,t.Z)({pathname:"/",search:"",hash:"",state:null,key:P()},typeof M=="string"?S(M):M));return Z}),k=p(T==null?D.length-1:T,0,D.length-1),B=r.Pop,j=D[k],V=g(),H=g();function Y(M){return typeof M=="string"?M:O(M)}function F(M,Z){return Z===void 0&&(Z=null),n((0,t.Z)({pathname:j.pathname,search:"",hash:""},typeof M=="string"?S(M):M,{state:Z,key:P()}))}function K(M,Z,G){return!H.length||(H.call({action:M,location:Z,retry:G}),!1)}function X(M,Z){B=M,j=Z,V.call({action:B,location:j})}function Q(M,Z){var G=r.Push,ee=F(M,Z);function ie(){Q(M,Z)}K(G,ee,ie)&&(k+=1,D.splice(k,D.length,ee),X(G,ee))}function W(M,Z){var G=r.Replace,ee=F(M,Z);function ie(){W(M,Z)}K(G,ee,ie)&&(D[k]=ee,X(G,ee))}function N(M){var Z=p(k+M,0,D.length-1),G=r.Pop,ee=D[Z];function ie(){N(M)}K(G,ee,ie)&&(k=Z,X(G,ee))}var J={get index(){return k},get action(){return B},get location(){return j},createHref:Y,push:Q,replace:W,go:N,back:function(){N(-1)},forward:function(){N(1)},listen:function(Z){return V.push(Z)},block:function(Z){return H.push(Z)}};return J}function p(I,E,A){return Math.min(Math.max(I,E),A)}function x(I){I.preventDefault(),I.returnValue=""}function g(){var I=[];return{get length(){return I.length},push:function(A){return I.push(A),function(){I=I.filter(function(R){return R!==A})}},call:function(A){I.forEach(function(R){return R&&R(A)})}}}function P(){return Math.random().toString(36).substr(2,8)}function O(I){var E=I.pathname,A=E===void 0?"/":E,R=I.search,T=R===void 0?"":R,D=I.hash,k=D===void 0?"":D;return T&&T!=="?"&&(A+=T.charAt(0)==="?"?T:"?"+T),k&&k!=="#"&&(A+=k.charAt(0)==="#"?k:"#"+k),A}function S(I){var E={};if(I){var A=I.indexOf("#");A>=0&&(E.hash=I.substr(A),I=I.substr(0,A));var R=I.indexOf("?");R>=0&&(E.search=I.substr(R),I=I.substr(0,R)),I&&(E.pathname=I)}return E}},94266:function(i,d,e){"use strict";var t=e(99234),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[t.ForwardRef]=a,u[t.Memo]=s;function c(O){return t.isMemo(O)?s:u[O.$$typeof]||r}var o=Object.defineProperty,f=Object.getOwnPropertyNames,_=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,g=Object.prototype;function P(O,S,I){if(typeof S!="string"){if(g){var E=x(S);E&&E!==g&&P(O,E,I)}var A=f(S);_&&(A=A.concat(_(S)));for(var R=c(O),T=c(S),D=0;D1?u[o-1]:void 0,_=o>2?u[2]:void 0;for(f=a.length>3&&typeof f=="function"?(o--,f):void 0,_&&r(u[0],u[1],_)&&(f=o<3?void 0:f,o=1),s=Object(s);++c-1&&r%1==0&&r-1}i.exports=r},43475:function(i,d,e){var t=e(82249);function r(n,a){var s=this.__data__,u=t(s,n);return u<0?(++this.size,s.push([n,a])):s[u][1]=a,this}i.exports=r},91642:function(i,d,e){var t=e(79955),r=e(53110),n=e(25281);function a(){this.size=0,this.__data__={hash:new t,map:new(n||r),string:new t}}i.exports=a},71646:function(i,d,e){var t=e(27856);function r(n){var a=t(this,n).delete(n);return this.size-=a?1:0,a}i.exports=r},70200:function(i,d,e){var t=e(27856);function r(n){return t(this,n).get(n)}i.exports=r},85304:function(i,d,e){var t=e(27856);function r(n){return t(this,n).has(n)}i.exports=r},57862:function(i,d,e){var t=e(27856);function r(n,a){var s=t(this,n),u=s.size;return s.set(n,a),this.size+=s.size==u?0:1,this}i.exports=r},60865:function(i,d,e){var t=e(93454),r=t(Object,"create");i.exports=r},54229:function(i){function d(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}i.exports=d},37340:function(i,d,e){i=e.nmd(i);var t=e(89413),r=d&&!d.nodeType&&d,n=r&&!0&&i&&!i.nodeType&&i,a=n&&n.exports===r,s=a&&t.process,u=function(){try{var c=n&&n.require&&n.require("util").types;return c||s&&s.binding&&s.binding("util")}catch(o){}}();i.exports=u},92631:function(i){var d=Object.prototype,e=d.toString;function t(r){return e.call(r)}i.exports=t},1276:function(i){function d(e,t){return function(r){return e(t(r))}}i.exports=d},9291:function(i,d,e){var t=e(33546),r=Math.max;function n(a,s,u){return s=r(s===void 0?a.length-1:s,0),function(){for(var c=arguments,o=-1,f=r(c.length-s,0),_=Array(f);++o0){if(++a>=d)return arguments[0]}else a=0;return n.apply(void 0,arguments)}}i.exports=r},83214:function(i,d,e){var t=e(53110);function r(){this.__data__=new t,this.size=0}i.exports=r},52806:function(i){function d(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}i.exports=d},52032:function(i){function d(e){return this.__data__.get(e)}i.exports=d},51118:function(i){function d(e){return this.__data__.has(e)}i.exports=d},36321:function(i,d,e){var t=e(53110),r=e(25281),n=e(97800),a=200;function s(u,c){var o=this.__data__;if(o instanceof t){var f=o.__data__;if(!r||f.length-1&&t%1==0&&t<=d}i.exports=e},71721:function(i){function d(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}i.exports=d},71161:function(i){function d(e){return e!=null&&typeof e=="object"}i.exports=d},29538:function(i,d,e){var t=e(17325),r=e(13530),n=e(71161),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,o=u.hasOwnProperty,f=c.call(Object);function _(p){if(!n(p)||t(p)!=a)return!1;var x=r(p);if(x===null)return!0;var g=o.call(x,"constructor")&&x.constructor;return typeof g=="function"&&g instanceof g&&c.call(g)==f}i.exports=_},53745:function(i,d,e){var t=e(61651),r=e(82230),n=e(37340),a=n&&n.isTypedArray,s=a?r(a):t;i.exports=s},331:function(i,d,e){var t=e(91762),r=e(54193),n=e(9015);function a(s){return n(s)?t(s,!0):r(s)}i.exports=a},78267:function(i,d,e){i=e.nmd(i);var t;(function(){var r,n="4.17.23",a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",f=500,_="__lodash_placeholder__",p=1,x=2,g=4,P=1,O=2,S=1,I=2,E=4,A=8,R=16,T=32,D=64,k=128,B=256,j=512,V=30,H="...",Y=800,F=16,K=1,X=2,Q=3,W=1/0,N=9007199254740991,J=17976931348623157e292,M=NaN,Z=4294967295,G=Z-1,ee=Z>>>1,ie=[["ary",k],["bind",S],["bindKey",I],["curry",A],["curryRight",R],["flip",j],["partial",T],["partialRight",D],["rearg",B]],se="[object Arguments]",le="[object Array]",de="[object AsyncFunction]",He="[object Boolean]",ze="[object Date]",st="[object DOMException]",vt="[object Error]",Je="[object Function]",Ke="[object GeneratorFunction]",Re="[object Map]",Ce="[object Number]",me="[object Null]",at="[object Object]",ct="[object Promise]",St="[object Proxy]",bt="[object RegExp]",Ie="[object Set]",$e="[object String]",ft="[object Symbol]",Me="[object Undefined]",ye="[object WeakMap]",fe="[object WeakSet]",Oe="[object ArrayBuffer]",Ee="[object DataView]",et="[object Float32Array]",mt="[object Float64Array]",pe="[object Int8Array]",ge="[object Int16Array]",lt="[object Int32Array]",Qe="[object Uint8Array]",Ve="[object Uint8ClampedArray]",it="[object Uint16Array]",Dt="[object Uint32Array]",Yt=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,je=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Be=/&(?:amp|lt|gt|quot|#39);/g,ht=/[&<>"']/g,At=RegExp(Be.source),ce=RegExp(ht.source),_t=/<%-([\s\S]+?)%>/g,qt=/<%([\s\S]+?)%>/g,Ht=/<%=([\s\S]+?)%>/g,Ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cr=/^\w*$/,Ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dt=/[\\^$.*+?()[\]{}|]/g,Mt=RegExp(dt.source),ar=/^\s+/,$t=/\s/,pr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ir=/\{\n\/\* \[wrapped with (.+)\] \*/,Mr=/,? & /,er=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nt=/[()=,{}\[\]\/\s]/,Kt=/\\(\\)?/g,Qt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cr=/\w*$/,Er=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,qe=/^\[object .+?Constructor\]$/,Ue=/^0o[0-7]+$/i,Le=/^(?:0|[1-9]\d*)$/,rt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Tt=/($^)/,Lt=/['\n\r\u2028\u2029\\]/g,gr="\\ud800-\\udfff",yr="\\u0300-\\u036f",Ur="\\ufe20-\\ufe2f",bn="\\u20d0-\\u20ff",sr=yr+Ur+bn,_n="\\u2700-\\u27bf",on="a-z\\xdf-\\xf6\\xf8-\\xff",Fe="\\xac\\xb1\\xd7\\xf7",Ne="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",pn=" \\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",ha="A-Z\\xc0-\\xd6\\xd8-\\xde",ma="\\ufe0e\\ufe0f",On=Fe+Ne+en+pn,za="['\u2019]",ja="["+gr+"]",gn="["+On+"]",Va="["+sr+"]",va="\\d+",_o="["+_n+"]",no="["+on+"]",Ja="[^"+gr+On+va+_n+on+ha+"]",Za="\\ud83c[\\udffb-\\udfff]",No="(?:"+Va+"|"+Za+")",ya="[^"+gr+"]",na="(?:\\ud83c[\\udde6-\\uddff]){2}",En="[\\ud800-\\udbff][\\udc00-\\udfff]",wa="["+ha+"]",Pe="\\u200d",$n="(?:"+no+"|"+Ja+")",aa="(?:"+wa+"|"+Ja+")",yo="(?:"+za+"(?:d|ll|m|re|s|t|ve))?",ai="(?:"+za+"(?:D|LL|M|RE|S|T|VE))?",Wa=No+"?",Ha="["+ma+"]?",De="(?:"+Pe+"(?:"+[ya,na,En].join("|")+")"+Ha+Wa+")*",xe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",q=Ha+Wa+De,It="(?:"+[_o,na,En].join("|")+")"+q,Jt="(?:"+[ya+Va+"?",Va,na,En,ja].join("|")+")",Pr=RegExp(za,"g"),Rr=RegExp(Va,"g"),Sr=RegExp(Za+"(?="+Za+")|"+Jt+q,"g"),Gr=RegExp([wa+"?"+no+"+"+yo+"(?="+[gn,wa,"$"].join("|")+")",aa+"+"+ai+"(?="+[gn,wa+$n,"$"].join("|")+")",wa+"?"+$n+"+"+yo,wa+"+"+ai,Xe,xe,va,It].join("|"),"g"),ea=RegExp("["+Pe+gr+sr+ma+"]"),kr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,sn=["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"],nt=-1,be={};be[et]=be[mt]=be[pe]=be[ge]=be[lt]=be[Qe]=be[Ve]=be[it]=be[Dt]=!0,be[se]=be[le]=be[Oe]=be[He]=be[Ee]=be[ze]=be[vt]=be[Je]=be[Re]=be[Ce]=be[at]=be[bt]=be[Ie]=be[$e]=be[ye]=!1;var ue={};ue[se]=ue[le]=ue[Oe]=ue[Ee]=ue[He]=ue[ze]=ue[et]=ue[mt]=ue[pe]=ue[ge]=ue[lt]=ue[Re]=ue[Ce]=ue[at]=ue[bt]=ue[Ie]=ue[$e]=ue[ft]=ue[Qe]=ue[Ve]=ue[it]=ue[Dt]=!0,ue[vt]=ue[Je]=ue[ye]=!1;var Ye={\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"},ke={"&":"&","<":"<",">":">",'"':""","'":"'"},yt={"&":"&","<":"<",">":">",""":'"',"'":"'"},xt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zt=parseFloat,hr=parseInt,xr=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,or=typeof self=="object"&&self&&self.Object===Object&&self,wr=xr||or||Function("return this")(),an=d&&!d.nodeType&&d,zn=an&&!0&&i&&!i.nodeType&&i,un=zn&&zn.exports===an,tn=un&&xr.process,vr=function(){try{var Pt=zn&&zn.require&&zn.require("util").types;return Pt||tn&&tn.binding&&tn.binding("util")}catch(Gt){}}(),mn=vr&&vr.isArrayBuffer,Wr=vr&&vr.isDate,Sn=vr&&vr.isMap,jn=vr&&vr.isRegExp,wn=vr&&vr.isSet,Ea=vr&&vr.isTypedArray;function Pn(Pt,Gt,Vt){switch(Vt.length){case 0:return Pt.call(Gt);case 1:return Pt.call(Gt,Vt[0]);case 2:return Pt.call(Gt,Vt[0],Vt[1]);case 3:return Pt.call(Gt,Vt[0],Vt[1],Vt[2])}return Pt.apply(Gt,Vt)}function la(Pt,Gt,Vt,Tr){for(var Hr=-1,Ae=Pt==null?0:Pt.length;++Hr-1}function ia(Pt,Gt,Vt){for(var Tr=-1,Hr=Pt==null?0:Pt.length;++Tr-1;);return Vt}function vs(Pt,Gt){for(var Vt=Pt.length;Vt--&&zo(Gt,Pt[Vt],0)>-1;);return Vt}function $i(Pt,Gt){for(var Vt=Pt.length,Tr=0;Vt--;)Pt[Vt]===Gt&&++Tr;return Tr}var qi=$o(Ye),hs=$o(ke);function Hi(Pt){return"\\"+xt[Pt]}function Ks(Pt,Gt){return Pt==null?r:Pt[Gt]}function Eo(Pt){return ea.test(Pt)}function Xs(Pt){return kr.test(Pt)}function es(Pt){for(var Gt,Vt=[];!(Gt=Pt.next()).done;)Vt.push(Gt.value);return Vt}function Di(Pt){var Gt=-1,Vt=Array(Pt.size);return Pt.forEach(function(Tr,Hr){Vt[++Gt]=[Hr,Tr]}),Vt}function Ii(Pt,Gt){return function(Vt){return Pt(Gt(Vt))}}function Ro(Pt,Gt){for(var Vt=-1,Tr=Pt.length,Hr=0,Ae=[];++Vt-1}function Yc(v,w){var L=this.__data__,ne=hu(L,v);return ne<0?(++this.size,L.push([v,w])):L[ne][1]=w,this}ti.prototype.clear=Ui,ti.prototype.delete=Zu,ti.prototype.get=Wi,ti.prototype.has=Xc,ti.prototype.set=Yc;function As(v){var w=-1,L=v==null?0:v.length;for(this.clear();++w=w?v:w)),v}function Ti(v,w,L,ne,Te,ot){var Ct,zt=w&p,nr=w&x,Lr=w&g;if(L&&(Ct=Te?L(v,ne,Te,ot):L(v)),Ct!==r)return Ct;if(!ci(v))return v;var Nr=Ga(v);if(Nr){if(Ct=Bc(v),!zt)return vi(v,Ct)}else{var qr=Ya(v),Cn=qr==Je||qr==Ke;if(bl(v))return nu(v,zt);if(qr==at||qr==se||Cn&&!Te){if(Ct=nr||Cn?{}:iu(v),!zt)return nr?ku(v,_u(Ct,v)):tc(v,qc(Ct,v))}else{if(!ue[qr])return Te?v:{};Ct=Mn(v,qr,zt)}}ot||(ot=new fi);var ta=ot.get(v);if(ta)return ta;ot.set(v,Ct),Nd(v)?v.forEach(function(Ca){Ct.add(Ti(Ca,w,L,Ca,v,ot))}):Ld(v)&&v.forEach(function(Ca,lo){Ct.set(lo,Ti(Ca,w,L,lo,v,ot))});var Sa=Lr?nr?b:y:nr?Ws:Ni,to=Nr?r:Sa(v);return dn(to||v,function(Ca,lo){to&&(lo=Ca,Ca=v[lo]),Js(Ct,lo,Ti(Ca,w,L,lo,v,ot))}),Ct}function Xa(v){var w=Ni(v);return function(L){return Ts(L,v,w)}}function Ts(v,w,L){var ne=L.length;if(v==null)return!ne;for(v=Qr(v);ne--;){var Te=L[ne],ot=w[Te],Ct=v[Te];if(Ct===r&&!(Te in v)||!ot(Ct))return!1}return!0}function xc(v,w,L){if(typeof v!="function")throw new rr(u);return pc(function(){v.apply(r,L)},w)}function Rs(v,w,L,ne){var Te=-1,ot=oa,Ct=!0,zt=v.length,nr=[],Lr=w.length;if(!zt)return nr;L&&(w=sa(w,qo(L))),ne?(ot=ia,Ct=!1):w.length>=a&&(ot=Qi,Ct=!1,w=new _s(w));e:for(;++TeTe?0:Te+L),ne=ne===r||ne>Te?Te:Qa(ne),ne<0&&(ne+=Te),ne=L>ne?0:zd(ne);L0&&L(zt)?w>1?ri(zt,w-1,L,ne,Te):fo(Te,zt):ne||(Te[Te.length]=zt)}return Te}var Wu=kc(),Gu=kc(!0);function bi(v,w){return v&&Wu(v,w,Ni)}function Ms(v,w){return v&&Gu(v,w,Ni)}function wc(v,w){return Ra(w,function(L){return Gc(v[L])})}function ys(v,w){w=Ls(w,v);for(var L=0,ne=w.length;v!=null&&Lw}function Vu(v,w){return v!=null&&Zn.call(v,w)}function Ku(v,w){return v!=null&&w in Qr(v)}function qs(v,w,L){return v>=Ia(w,L)&&v=120&&Nr.length>=120)?new _s(Ct&&Nr):r}Nr=v[0];var qr=-1,Cn=zt[0];e:for(;++qr-1;)zt!==v&&Rt.call(zt,nr,1),Rt.call(v,nr,1);return v}function Li(v,w){for(var L=v?w.length:0,ne=L-1;L--;){var Te=w[L];if(L==ne||Te!==ot){var ot=Te;Qo(Te)?Rt.call(v,Te,1):Ac(v,Te)}}return v}function ns(v,w){return v+In($a()*(w-v+1))}function Ju(v,w,L,ne){for(var Te=-1,ot=An(Rn((w-v)/(L||1)),0),Ct=Vt(ot);ot--;)Ct[ne?ot:++Te]=v,v+=L;return Ct}function mu(v,w){var L="";if(!v||w<1||w>N)return L;do w%2&&(L+=v),w=In(w/2),w&&(v+=v);while(w);return L}function La(v,w){return Pu(Fi(v,w,Gs),v+"")}function Cl(v){return ts(Kl(v))}function Ol(v,w){var L=Kl(v);return Gn(L,$s(w,0,L.length))}function bs(v,w,L,ne){if(!ci(v))return v;w=Ls(w,v);for(var Te=-1,ot=w.length,Ct=ot-1,zt=v;zt!=null&&++TeTe?0:Te+w),L=L>Te?Te:L,L<0&&(L+=Te),Te=w>L?0:L-w>>>0,w>>>=0;for(var ot=Vt(Te);++ne>>1,Ct=v[ot];Ct!==null&&!fu(Ct)&&(L?Ct<=w:Ct=a){var Lr=w?null:Al(v);if(Lr)return Ai(Lr);Ct=!1,Te=Qi,nr=new _s}else nr=w?[]:zt;e:for(;++ne=ne?v:Pi(v,w,L)}var Rc=Dr||function(v){return wr.clearTimeout(v)};function nu(v,w){if(w)return v.slice();var L=v.length,ne=ve?ve(L):new v.constructor(L);return v.copy(ne),ne}function cl(v){var w=new v.constructor(v.byteLength);return new ko(w).set(new ko(v)),w}function ll(v,w){var L=w?cl(v.buffer):v.buffer;return new v.constructor(L,v.byteOffset,v.byteLength)}function ec(v){var w=new v.constructor(v.source,Cr.exec(v));return w.lastIndex=v.lastIndex,w}function Ko(v){return Da?Qr(Da.call(v)):{}}function gu(v,w){var L=w?cl(v.buffer):v.buffer;return new v.constructor(L,v.byteOffset,v.length)}function ae(v,w){if(v!==w){var L=v!==r,ne=v===null,Te=v===v,ot=fu(v),Ct=w!==r,zt=w===null,nr=w===w,Lr=fu(w);if(!zt&&!Lr&&!ot&&v>w||ot&&Ct&&nr&&!zt&&!Lr||ne&&Ct&&nr||!L&&nr||!Te)return 1;if(!ne&&!ot&&!Lr&&v=zt)return nr;var Lr=L[ne];return nr*(Lr=="desc"?-1:1)}}return v.index-w.index}function Wo(v,w,L,ne){for(var Te=-1,ot=v.length,Ct=L.length,zt=-1,nr=w.length,Lr=An(ot-Ct,0),Nr=Vt(nr+Lr),qr=!ne;++zt1?L[Te-1]:r,Ct=Te>2?L[2]:r;for(ot=v.length>3&&typeof ot=="function"?(Te--,ot):r,Ct&&Fo(L[0],L[1],Ct)&&(ot=Te<3?r:ot,Te=1),w=Qr(w);++ne-1?Te[ot?w[Ct]:Ct]:r}}function nc(v){return m(function(w){var L=w.length,ne=L,Te=kt.prototype.thru;for(v&&w.reverse();ne--;){var ot=w[ne];if(typeof ot!="function")throw new rr(u);if(Te&&!Ct&&oe(ot)=="wrapper")var Ct=new kt([],!0)}for(ne=Ct?ne:L;++ne1&&mo.reverse(),Nr&&nrzt))return!1;var Lr=ot.get(v),Nr=ot.get(w);if(Lr&&Nr)return Lr==w&&Nr==v;var qr=-1,Cn=!0,ta=L&O?new _s:r;for(ot.set(v,w),ot.set(w,v);++qr1?"& ":"")+w[ne],w=w.join(L>2?", ":" "),v.replace(pr,`{ + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),T)}var x=function(E,A){var R={};for(var T in E)Object.prototype.hasOwnProperty.call(E,T)&&A.indexOf(T)<0&&(R[T]=E[T]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,T=Object.getOwnPropertySymbols(E);D{const T=R.getDerivativeToken(E),{override:D}=A,M=x(A,["override"]);let B=Object.assign(Object.assign({},T),{override:D});return B=p(B),M&&Object.entries(M).forEach(j=>{let[V,H]=j;const{theme:Y}=H,F=x(H,["theme"]);let K=F;Y&&(K=S(Object.assign(Object.assign({},B),F),{override:F},Y)),B[V]=K}),B};function I(){const{token:E,hashed:A,theme:R,override:T,cssVar:D}=t.useContext(s.Mj),M=`${a}-${A||""}`,B=R||u.Z,[j,V,H]=(0,r.useCacheToken)(B,[c.Z,E],{salt:M,override:T,getComputedToken:S,formatToken:p,cssVar:D&&{prefix:D.prefix,key:D.key,unitless:g,ignore:P,preserve:O}});return[B,H,A?V:"",j,D]}},16931:function(i,d,e){"use strict";e.d(d,{A1:function(){return c},I$:function(){return u},bk:function(){return o}});var t=e(59301),r=e(51636),n=e(48755),a=e(63356),s=e(57700);const{genStyleHooks:u,genComponentStyleHook:c,genSubStyleComponent:o}=(0,r.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:f,iconPrefixCls:_}=(0,t.useContext)(n.E_);return{rootPrefixCls:f(),iconPrefixCls:_}},useToken:()=>{const[f,_,p,x,g]=(0,s.ZP)();return{theme:f,realToken:_,hashId:p,token:x,cssVar:g}},useCSP:()=>{const{csp:f}=(0,t.useContext)(n.E_);return f!=null?f:{}},getResetStyles:(f,_)=>{var p;const x=(0,a.Lx)(f);return[x,{"&":x},(0,a.JT)((p=_==null?void 0:_.prefix.iconPrefixCls)!==null&&p!==void 0?p:n.oR)]},getCommonStyle:a.du,getCompUnitless:()=>s.NJ})},28620:function(i,d,e){"use strict";var t=e(17835);function r(a){return a>=0&&a<=255}function n(a,s){const{r:u,g:c,b:o,a:f}=new t.FastColor(a).toRgb();if(f<1)return a;const{r:_,g:p,b:x}=new t.FastColor(s).toRgb();for(let g=.01;g<=1;g+=.01){const P=Math.round((u-_*(1-g))/g),O=Math.round((c-p*(1-g))/g),S=Math.round((o-x*(1-g))/g);if(r(P)&&r(O)&&r(S))return new t.FastColor({r:P,g:O,b:S,a:Math.round(g*100)/100}).toRgbString()}return new t.FastColor({r:u,g:c,b:o,a:1}).toRgbString()}d.Z=n},303:function(i,d){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};d.Z=e},91190:function(i,d,e){"use strict";e.d(d,{H:function(){return s}});var t=e(59301),r=e(6089);function n(){}const a=t.createContext({add:n,remove:n});function s(c){const o=t.useContext(a),f=t.useRef(null);return(0,r.Z)(p=>{if(p){const x=c?p.querySelector(c):p;o.add(x),f.current=x}else o.remove(f.current)})}var u=null},67751:function(i){var d={utf8:{stringToBytes:function(e){return d.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(d.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r>>32-r},rotr:function(t,r){return t<<32-r|t>>>r},endian:function(t){if(t.constructor==Number)return e.rotl(t,8)&16711935|e.rotl(t,24)&4278255360;for(var r=0;r0;t--)r.push(Math.floor(Math.random()*256));return r},bytesToWords:function(t){for(var r=[],n=0,a=0;n>>5]|=t[n]<<24-a%32;return r},wordsToBytes:function(t){for(var r=[],n=0;n>>5]>>>24-n%32&255);return r},bytesToHex:function(t){for(var r=[],n=0;n>>4).toString(16)),r.push((t[n]&15).toString(16));return r.join("")},hexToBytes:function(t){for(var r=[],n=0;n>>6*(3-s)&63)):r.push("=");return r.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/ig,"");for(var r=[],n=0,a=0;n>>6-a*2);return r}};i.exports=e})()},84452:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.BlockCipher,s=r.algo,u=[],c=[],o=[],f=[],_=[],p=[],x=[],g=[],P=[],O=[];(function(){for(var E=[],A=0;A<256;A++)A<128?E[A]=A<<1:E[A]=A<<1^283;for(var R=0,T=0,A=0;A<256;A++){var D=T^T<<1^T<<2^T<<3^T<<4;D=D>>>8^D&255^99,u[R]=D,c[D]=R;var M=E[R],B=E[M],j=E[B],V=E[D]*257^D*16843008;o[R]=V<<24|V>>>8,f[R]=V<<16|V>>>16,_[R]=V<<8|V>>>24,p[R]=V;var V=j*16843009^B*65537^M*257^R*16843008;x[D]=V<<24|V>>>8,g[D]=V<<16|V>>>16,P[D]=V<<8|V>>>24,O[D]=V,R?(R=M^E[E[E[j^M]]],T^=E[E[T]]):R=T=1}})();var S=[0,1,2,4,8,16,32,64,128,27,54],I=s.AES=a.extend({_doReset:function(){var E;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var A=this._keyPriorReset=this._key,R=A.words,T=A.sigBytes/4,D=this._nRounds=T+6,M=(D+1)*4,B=this._keySchedule=[],j=0;j6&&j%T==4&&(E=u[E>>>24]<<24|u[E>>>16&255]<<16|u[E>>>8&255]<<8|u[E&255]):(E=E<<8|E>>>24,E=u[E>>>24]<<24|u[E>>>16&255]<<16|u[E>>>8&255]<<8|u[E&255],E^=S[j/T|0]<<24),B[j]=B[j-T]^E);for(var V=this._invKeySchedule=[],H=0;H>>24]]^g[u[E>>>16&255]]^P[u[E>>>8&255]]^O[u[E&255]]}}},encryptBlock:function(E,A){this._doCryptBlock(E,A,this._keySchedule,o,f,_,p,u)},decryptBlock:function(E,A){var R=E[A+1];E[A+1]=E[A+3],E[A+3]=R,this._doCryptBlock(E,A,this._invKeySchedule,x,g,P,O,c);var R=E[A+1];E[A+1]=E[A+3],E[A+3]=R},_doCryptBlock:function(E,A,R,T,D,M,B,j){for(var V=this._nRounds,H=E[A]^R[0],Y=E[A+1]^R[1],F=E[A+2]^R[2],K=E[A+3]^R[3],X=4,Q=1;Q>>24]^D[Y>>>16&255]^M[F>>>8&255]^B[K&255]^R[X++],N=T[Y>>>24]^D[F>>>16&255]^M[K>>>8&255]^B[H&255]^R[X++],J=T[F>>>24]^D[K>>>16&255]^M[H>>>8&255]^B[Y&255]^R[X++],k=T[K>>>24]^D[H>>>16&255]^M[Y>>>8&255]^B[F&255]^R[X++];H=W,Y=N,F=J,K=k}var W=(j[H>>>24]<<24|j[Y>>>16&255]<<16|j[F>>>8&255]<<8|j[K&255])^R[X++],N=(j[Y>>>24]<<24|j[F>>>16&255]<<16|j[K>>>8&255]<<8|j[H&255])^R[X++],J=(j[F>>>24]<<24|j[K>>>16&255]<<16|j[H>>>8&255]<<8|j[Y&255])^R[X++],k=(j[K>>>24]<<24|j[H>>>16&255]<<16|j[Y>>>8&255]<<8|j[F&255])^R[X++];E[A]=W,E[A+1]=N,E[A+2]=J,E[A+3]=k},keySize:256/32});r.AES=a._createHelper(I)}(),t.AES})},93617:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(28492))})(this,function(t){t.lib.Cipher||function(r){var n=t,a=n.lib,s=a.Base,u=a.WordArray,c=a.BufferedBlockAlgorithm,o=n.enc,f=o.Utf8,_=o.Base64,p=n.algo,x=p.EvpKDF,g=a.Cipher=c.extend({cfg:s.extend(),createEncryptor:function(Y,F){return this.create(this._ENC_XFORM_MODE,Y,F)},createDecryptor:function(Y,F){return this.create(this._DEC_XFORM_MODE,Y,F)},init:function(Y,F,K){this.cfg=this.cfg.extend(K),this._xformMode=Y,this._key=F,this.reset()},reset:function(){c.reset.call(this),this._doReset()},process:function(Y){return this._append(Y),this._process()},finalize:function(Y){Y&&this._append(Y);var F=this._doFinalize();return F},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function Y(F){return typeof F=="string"?H:B}return function(F){return{encrypt:function(K,X,Q){return Y(X).encrypt(F,K,X,Q)},decrypt:function(K,X,Q){return Y(X).decrypt(F,K,X,Q)}}}}()}),P=a.StreamCipher=g.extend({_doFinalize:function(){var Y=this._process(!0);return Y},blockSize:1}),O=n.mode={},S=a.BlockCipherMode=s.extend({createEncryptor:function(Y,F){return this.Encryptor.create(Y,F)},createDecryptor:function(Y,F){return this.Decryptor.create(Y,F)},init:function(Y,F){this._cipher=Y,this._iv=F}}),I=O.CBC=function(){var Y=S.extend();Y.Encryptor=Y.extend({processBlock:function(K,X){var Q=this._cipher,W=Q.blockSize;F.call(this,K,X,W),Q.encryptBlock(K,X),this._prevBlock=K.slice(X,X+W)}}),Y.Decryptor=Y.extend({processBlock:function(K,X){var Q=this._cipher,W=Q.blockSize,N=K.slice(X,X+W);Q.decryptBlock(K,X),F.call(this,K,X,W),this._prevBlock=N}});function F(K,X,Q){var W,N=this._iv;N?(W=N,this._iv=r):W=this._prevBlock;for(var J=0;J>>2]&255;Y.sigBytes-=F}},R=a.BlockCipher=g.extend({cfg:g.cfg.extend({mode:I,padding:A}),reset:function(){var Y;g.reset.call(this);var F=this.cfg,K=F.iv,X=F.mode;this._xformMode==this._ENC_XFORM_MODE?Y=X.createEncryptor:(Y=X.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Y?this._mode.init(this,K&&K.words):(this._mode=Y.call(X,this,K&&K.words),this._mode.__creator=Y)},_doProcessBlock:function(Y,F){this._mode.processBlock(Y,F)},_doFinalize:function(){var Y,F=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(F.pad(this._data,this.blockSize),Y=this._process(!0)):(Y=this._process(!0),F.unpad(Y)),Y},blockSize:128/32}),T=a.CipherParams=s.extend({init:function(Y){this.mixIn(Y)},toString:function(Y){return(Y||this.formatter).stringify(this)}}),D=n.format={},M=D.OpenSSL={stringify:function(Y){var F,K=Y.ciphertext,X=Y.salt;return X?F=u.create([1398893684,1701076831]).concat(X).concat(K):F=K,F.toString(_)},parse:function(Y){var F,K=_.parse(Y),X=K.words;return X[0]==1398893684&&X[1]==1701076831&&(F=u.create(X.slice(2,4)),X.splice(0,4),K.sigBytes-=16),T.create({ciphertext:K,salt:F})}},B=a.SerializableCipher=s.extend({cfg:s.extend({format:M}),encrypt:function(Y,F,K,X){X=this.cfg.extend(X);var Q=Y.createEncryptor(K,X),W=Q.finalize(F),N=Q.cfg;return T.create({ciphertext:W,key:K,iv:N.iv,algorithm:Y,mode:N.mode,padding:N.padding,blockSize:Y.blockSize,formatter:X.format})},decrypt:function(Y,F,K,X){X=this.cfg.extend(X),F=this._parse(F,X.format);var Q=Y.createDecryptor(K,X).finalize(F.ciphertext);return Q},_parse:function(Y,F){return typeof Y=="string"?F.parse(Y,this):Y}}),j=n.kdf={},V=j.OpenSSL={execute:function(Y,F,K,X){X||(X=u.random(64/8));var Q=x.create({keySize:F+K}).compute(Y,X),W=u.create(Q.words.slice(F),K*4);return Q.sigBytes=F*4,T.create({key:Q,iv:W,salt:X})}},H=a.PasswordBasedCipher=B.extend({cfg:B.cfg.extend({kdf:V}),encrypt:function(Y,F,K,X){X=this.cfg.extend(X);var Q=X.kdf.execute(K,Y.keySize,Y.ivSize);X.iv=Q.iv;var W=B.encrypt.call(this,Y,F,Q.key,X);return W.mixIn(Q),W},decrypt:function(Y,F,K,X){X=this.cfg.extend(X),F=this._parse(F,X.format);var Q=X.kdf.execute(K,Y.keySize,Y.ivSize,F.salt);X.iv=Q.iv;var W=B.decrypt.call(this,Y,F,Q.key,X);return W}})}()})},52952:function(i,d,e){(function(t,r){i.exports=d=r()})(this,function(){var t=t||function(r,n){var a;if(typeof window!="undefined"&&window.crypto&&(a=window.crypto),typeof self!="undefined"&&self.crypto&&(a=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window!="undefined"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof e.g!="undefined"&&e.g.crypto&&(a=e.g.crypto),!a)try{a=e(3828)}catch(E){}var s=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch(E){}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch(E){}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||function(){function E(){}return function(A){var R;return E.prototype=A,R=new E,E.prototype=null,R}}(),c={},o=c.lib={},f=o.Base=function(){return{extend:function(E){var A=u(this);return E&&A.mixIn(E),(!A.hasOwnProperty("init")||this.init===A.init)&&(A.init=function(){A.$super.init.apply(this,arguments)}),A.init.prototype=A,A.$super=this,A},create:function(){var E=this.extend();return E.init.apply(E,arguments),E},init:function(){},mixIn:function(E){for(var A in E)E.hasOwnProperty(A)&&(this[A]=E[A]);E.hasOwnProperty("toString")&&(this.toString=E.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),_=o.WordArray=f.extend({init:function(E,A){E=this.words=E||[],A!=n?this.sigBytes=A:this.sigBytes=E.length*4},toString:function(E){return(E||x).stringify(this)},concat:function(E){var A=this.words,R=E.words,T=this.sigBytes,D=E.sigBytes;if(this.clamp(),T%4)for(var M=0;M>>2]>>>24-M%4*8&255;A[T+M>>>2]|=B<<24-(T+M)%4*8}else for(var j=0;j>>2]=R[j>>>2];return this.sigBytes+=D,this},clamp:function(){var E=this.words,A=this.sigBytes;E[A>>>2]&=4294967295<<32-A%4*8,E.length=r.ceil(A/4)},clone:function(){var E=f.clone.call(this);return E.words=this.words.slice(0),E},random:function(E){for(var A=[],R=0;R>>2]>>>24-D%4*8&255;T.push((M>>>4).toString(16)),T.push((M&15).toString(16))}return T.join("")},parse:function(E){for(var A=E.length,R=[],T=0;T>>3]|=parseInt(E.substr(T,2),16)<<24-T%8*4;return new _.init(R,A/2)}},g=p.Latin1={stringify:function(E){for(var A=E.words,R=E.sigBytes,T=[],D=0;D>>2]>>>24-D%4*8&255;T.push(String.fromCharCode(M))}return T.join("")},parse:function(E){for(var A=E.length,R=[],T=0;T>>2]|=(E.charCodeAt(T)&255)<<24-T%4*8;return new _.init(R,A)}},P=p.Utf8={stringify:function(E){try{return decodeURIComponent(escape(g.stringify(E)))}catch(A){throw new Error("Malformed UTF-8 data")}},parse:function(E){return g.parse(unescape(encodeURIComponent(E)))}},O=o.BufferedBlockAlgorithm=f.extend({reset:function(){this._data=new _.init,this._nDataBytes=0},_append:function(E){typeof E=="string"&&(E=P.parse(E)),this._data.concat(E),this._nDataBytes+=E.sigBytes},_process:function(E){var A,R=this._data,T=R.words,D=R.sigBytes,M=this.blockSize,B=M*4,j=D/B;E?j=r.ceil(j):j=r.max((j|0)-this._minBufferSize,0);var V=j*M,H=r.min(V*4,D);if(V){for(var Y=0;Y>>2]>>>24-g%4*8&255,O=f[g+1>>>2]>>>24-(g+1)%4*8&255,S=f[g+2>>>2]>>>24-(g+2)%4*8&255,I=P<<16|O<<8|S,E=0;E<4&&g+E*.75<_;E++)x.push(p.charAt(I>>>6*(3-E)&63));var A=p.charAt(64);if(A)for(;x.length%4;)x.push(A);return x.join("")},parse:function(o){var f=o.length,_=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var x=0;x<_.length;x++)p[_.charCodeAt(x)]=x}var g=_.charAt(64);if(g){var P=o.indexOf(g);P!==-1&&(f=P)}return c(o,f,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(o,f,_){for(var p=[],x=0,g=0;g>>6-g%4*2,S=P|O;p[x>>>2]|=S<<24-x%4*8,x++}return a.create(p,x)}}(),t.enc.Base64})},52695:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=r.enc,u=s.Base64url={stringify:function(o,f=!0){var _=o.words,p=o.sigBytes,x=f?this._safe_map:this._map;o.clamp();for(var g=[],P=0;P>>2]>>>24-P%4*8&255,S=_[P+1>>>2]>>>24-(P+1)%4*8&255,I=_[P+2>>>2]>>>24-(P+2)%4*8&255,E=O<<16|S<<8|I,A=0;A<4&&P+A*.75>>6*(3-A)&63));var R=x.charAt(64);if(R)for(;g.length%4;)g.push(R);return g.join("")},parse:function(o,f=!0){var _=o.length,p=f?this._safe_map:this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var g=0;g>>6-g%4*2,S=P|O;p[x>>>2]|=S<<24-x%4*8,x++}return a.create(p,x)}}(),t.enc.Base64url})},73323:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=r.enc,u=s.Utf16=s.Utf16BE={stringify:function(o){for(var f=o.words,_=o.sigBytes,p=[],x=0;x<_;x+=2){var g=f[x>>>2]>>>16-x%4*8&65535;p.push(String.fromCharCode(g))}return p.join("")},parse:function(o){for(var f=o.length,_=[],p=0;p>>1]|=o.charCodeAt(p)<<16-p%2*16;return a.create(_,f*2)}};s.Utf16LE={stringify:function(o){for(var f=o.words,_=o.sigBytes,p=[],x=0;x<_;x+=2){var g=c(f[x>>>2]>>>16-x%4*8&65535);p.push(String.fromCharCode(g))}return p.join("")},parse:function(o){for(var f=o.length,_=[],p=0;p>>1]|=c(o.charCodeAt(p)<<16-p%2*16);return a.create(_,f*2)}};function c(o){return o<<8&4278255360|o>>>8&16711935}}(),t.enc.Utf16})},28492:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(49479),e(83760))})(this,function(t){return function(){var r=t,n=r.lib,a=n.Base,s=n.WordArray,u=r.algo,c=u.MD5,o=u.EvpKDF=a.extend({cfg:a.extend({keySize:128/32,hasher:c,iterations:1}),init:function(f){this.cfg=this.cfg.extend(f)},compute:function(f,_){for(var p,x=this.cfg,g=x.hasher.create(),P=s.create(),O=P.words,S=x.keySize,I=x.iterations;O.lengthx&&(_=f.finalize(_)),_.clamp();for(var g=this._oKey=_.clone(),P=this._iKey=_.clone(),O=g.words,S=P.words,I=0;I>>2]|=c[_]<<24-_%4*8;s.call(this,f,o)}else s.apply(this,arguments)};u.prototype=a}}(),t.lib.WordArray})},34905:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=[];(function(){for(var P=0;P<64;P++)o[P]=r.abs(r.sin(P+1))*4294967296|0})();var f=c.MD5=u.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(P,O){for(var S=0;S<16;S++){var I=O+S,E=P[I];P[I]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}var A=this._hash.words,R=P[O+0],T=P[O+1],D=P[O+2],M=P[O+3],B=P[O+4],j=P[O+5],V=P[O+6],H=P[O+7],Y=P[O+8],F=P[O+9],K=P[O+10],X=P[O+11],Q=P[O+12],W=P[O+13],N=P[O+14],J=P[O+15],k=A[0],Z=A[1],G=A[2],ee=A[3];k=_(k,Z,G,ee,R,7,o[0]),ee=_(ee,k,Z,G,T,12,o[1]),G=_(G,ee,k,Z,D,17,o[2]),Z=_(Z,G,ee,k,M,22,o[3]),k=_(k,Z,G,ee,B,7,o[4]),ee=_(ee,k,Z,G,j,12,o[5]),G=_(G,ee,k,Z,V,17,o[6]),Z=_(Z,G,ee,k,H,22,o[7]),k=_(k,Z,G,ee,Y,7,o[8]),ee=_(ee,k,Z,G,F,12,o[9]),G=_(G,ee,k,Z,K,17,o[10]),Z=_(Z,G,ee,k,X,22,o[11]),k=_(k,Z,G,ee,Q,7,o[12]),ee=_(ee,k,Z,G,W,12,o[13]),G=_(G,ee,k,Z,N,17,o[14]),Z=_(Z,G,ee,k,J,22,o[15]),k=p(k,Z,G,ee,T,5,o[16]),ee=p(ee,k,Z,G,V,9,o[17]),G=p(G,ee,k,Z,X,14,o[18]),Z=p(Z,G,ee,k,R,20,o[19]),k=p(k,Z,G,ee,j,5,o[20]),ee=p(ee,k,Z,G,K,9,o[21]),G=p(G,ee,k,Z,J,14,o[22]),Z=p(Z,G,ee,k,B,20,o[23]),k=p(k,Z,G,ee,F,5,o[24]),ee=p(ee,k,Z,G,N,9,o[25]),G=p(G,ee,k,Z,M,14,o[26]),Z=p(Z,G,ee,k,Y,20,o[27]),k=p(k,Z,G,ee,W,5,o[28]),ee=p(ee,k,Z,G,D,9,o[29]),G=p(G,ee,k,Z,H,14,o[30]),Z=p(Z,G,ee,k,Q,20,o[31]),k=x(k,Z,G,ee,j,4,o[32]),ee=x(ee,k,Z,G,Y,11,o[33]),G=x(G,ee,k,Z,X,16,o[34]),Z=x(Z,G,ee,k,N,23,o[35]),k=x(k,Z,G,ee,T,4,o[36]),ee=x(ee,k,Z,G,B,11,o[37]),G=x(G,ee,k,Z,H,16,o[38]),Z=x(Z,G,ee,k,K,23,o[39]),k=x(k,Z,G,ee,W,4,o[40]),ee=x(ee,k,Z,G,R,11,o[41]),G=x(G,ee,k,Z,M,16,o[42]),Z=x(Z,G,ee,k,V,23,o[43]),k=x(k,Z,G,ee,F,4,o[44]),ee=x(ee,k,Z,G,Q,11,o[45]),G=x(G,ee,k,Z,J,16,o[46]),Z=x(Z,G,ee,k,D,23,o[47]),k=g(k,Z,G,ee,R,6,o[48]),ee=g(ee,k,Z,G,H,10,o[49]),G=g(G,ee,k,Z,N,15,o[50]),Z=g(Z,G,ee,k,j,21,o[51]),k=g(k,Z,G,ee,Q,6,o[52]),ee=g(ee,k,Z,G,M,10,o[53]),G=g(G,ee,k,Z,K,15,o[54]),Z=g(Z,G,ee,k,T,21,o[55]),k=g(k,Z,G,ee,Y,6,o[56]),ee=g(ee,k,Z,G,J,10,o[57]),G=g(G,ee,k,Z,V,15,o[58]),Z=g(Z,G,ee,k,W,21,o[59]),k=g(k,Z,G,ee,B,6,o[60]),ee=g(ee,k,Z,G,X,10,o[61]),G=g(G,ee,k,Z,D,15,o[62]),Z=g(Z,G,ee,k,F,21,o[63]),A[0]=A[0]+k|0,A[1]=A[1]+Z|0,A[2]=A[2]+G|0,A[3]=A[3]+ee|0},_doFinalize:function(){var P=this._data,O=P.words,S=this._nDataBytes*8,I=P.sigBytes*8;O[I>>>5]|=128<<24-I%32;var E=r.floor(S/4294967296),A=S;O[(I+64>>>9<<4)+15]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,O[(I+64>>>9<<4)+14]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,P.sigBytes=(O.length+1)*4,this._process();for(var R=this._hash,T=R.words,D=0;D<4;D++){var M=T[D];T[D]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360}return R},clone:function(){var P=u.clone.call(this);return P._hash=this._hash.clone(),P}});function _(P,O,S,I,E,A,R){var T=P+(O&S|~O&I)+E+R;return(T<>>32-A)+O}function p(P,O,S,I,E,A,R){var T=P+(O&I|S&~I)+E+R;return(T<>>32-A)+O}function x(P,O,S,I,E,A,R){var T=P+(O^S^I)+E+R;return(T<>>32-A)+O}function g(P,O,S,I,E,A,R){var T=P+(S^(O|~I))+E+R;return(T<>>32-A)+O}n.MD5=u._createHelper(f),n.HmacMD5=u._createHmacHelper(f)}(Math),t.MD5})},2882:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.mode.CFB=function(){var r=t.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize;n.call(this,a,s,c,u),this._prevBlock=a.slice(s,s+c)}}),r.Decryptor=r.extend({processBlock:function(a,s){var u=this._cipher,c=u.blockSize,o=a.slice(s,s+c);n.call(this,a,s,c,u),this._prevBlock=o}});function n(a,s,u,c){var o,f=this._iv;f?(o=f.slice(0),this._iv=void 0):o=this._prevBlock,c.encryptBlock(o,0);for(var _=0;_>24&255)===255){var c=u>>16&255,o=u>>8&255,f=u&255;c===255?(c=0,o===255?(o=0,f===255?f=0:++f):++o):++c,u=0,u+=c<<16,u+=o<<8,u+=f}else u+=16777216;return u}function a(u){return(u[0]=n(u[0]))===0&&(u[1]=n(u[1])),u}var s=r.Encryptor=r.extend({processBlock:function(u,c){var o=this._cipher,f=o.blockSize,_=this._iv,p=this._counter;_&&(p=this._counter=_.slice(0),this._iv=void 0),a(p);var x=p.slice(0);o.encryptBlock(x,0);for(var g=0;g>>2]|=u<<24-c%4*8,r.sigBytes+=u},unpad:function(r){var n=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=n}},t.pad.Ansix923})},2593:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.Iso10126={pad:function(r,n){var a=n*4,s=a-r.sigBytes%a;r.concat(t.lib.WordArray.random(s-1)).concat(t.lib.WordArray.create([s<<24],1))},unpad:function(r){var n=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=n}},t.pad.Iso10126})},10829:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.Iso97971={pad:function(r,n){r.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(r,n)},unpad:function(r){t.pad.ZeroPadding.unpad(r),r.sigBytes--}},t.pad.Iso97971})},18846:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})},10265:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(93617))})(this,function(t){return t.pad.ZeroPadding={pad:function(r,n){var a=n*4;r.clamp(),r.sigBytes+=a-(r.sigBytes%a||a)},unpad:function(r){for(var n=r.words,a=r.sigBytes-1,a=r.sigBytes-1;a>=0;a--)if(n[a>>>2]>>>24-a%4*8&255){r.sigBytes=a+1;break}}},t.pad.ZeroPadding})},37248:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(49479),e(83760))})(this,function(t){return function(){var r=t,n=r.lib,a=n.Base,s=n.WordArray,u=r.algo,c=u.SHA1,o=u.HMAC,f=u.PBKDF2=a.extend({cfg:a.extend({keySize:128/32,hasher:c,iterations:1}),init:function(_){this.cfg=this.cfg.extend(_)},compute:function(_,p){for(var x=this.cfg,g=o.create(x.hasher,_),P=s.create(),O=s.create([1]),S=P.words,I=O.words,E=x.keySize,A=x.iterations;S.length>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],P=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var O=0;O<4;O++)_.call(this);for(var O=0;O<8;O++)P[O]^=g[O+4&7];if(x){var S=x.words,I=S[0],E=S[1],A=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,R=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=A>>>16|R&4294901760,D=R<<16|A&65535;P[0]^=A,P[1]^=T,P[2]^=R,P[3]^=D,P[4]^=A,P[5]^=T,P[6]^=R,P[7]^=D;for(var O=0;O<4;O++)_.call(this)}},_doProcessBlock:function(p,x){var g=this._X;_.call(this),u[0]=g[0]^g[5]>>>16^g[3]<<16,u[1]=g[2]^g[7]>>>16^g[5]<<16,u[2]=g[4]^g[1]>>>16^g[7]<<16,u[3]=g[6]^g[3]>>>16^g[1]<<16;for(var P=0;P<4;P++)u[P]=(u[P]<<8|u[P]>>>24)&16711935|(u[P]<<24|u[P]>>>8)&4278255360,p[x+P]^=u[P]},blockSize:128/32,ivSize:64/32});function _(){for(var p=this._X,x=this._C,g=0;g<8;g++)c[g]=x[g];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0;for(var g=0;g<8;g++){var P=p[g]+x[g],O=P&65535,S=P>>>16,I=((O*O>>>17)+O*S>>>15)+S*S,E=((P&4294901760)*P|0)+((P&65535)*P|0);o[g]=I^E}p[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,p[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,p[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,p[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,p[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,p[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,p[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,p[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}r.RabbitLegacy=a._createHelper(f)}(),t.RabbitLegacy})},21865:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.StreamCipher,s=r.algo,u=[],c=[],o=[],f=s.Rabbit=a.extend({_doReset:function(){for(var p=this._key.words,x=this.cfg.iv,g=0;g<4;g++)p[g]=(p[g]<<8|p[g]>>>24)&16711935|(p[g]<<24|p[g]>>>8)&4278255360;var P=this._X=[p[0],p[3]<<16|p[2]>>>16,p[1],p[0]<<16|p[3]>>>16,p[2],p[1]<<16|p[0]>>>16,p[3],p[2]<<16|p[1]>>>16],O=this._C=[p[2]<<16|p[2]>>>16,p[0]&4294901760|p[1]&65535,p[3]<<16|p[3]>>>16,p[1]&4294901760|p[2]&65535,p[0]<<16|p[0]>>>16,p[2]&4294901760|p[3]&65535,p[1]<<16|p[1]>>>16,p[3]&4294901760|p[0]&65535];this._b=0;for(var g=0;g<4;g++)_.call(this);for(var g=0;g<8;g++)O[g]^=P[g+4&7];if(x){var S=x.words,I=S[0],E=S[1],A=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,R=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=A>>>16|R&4294901760,D=R<<16|A&65535;O[0]^=A,O[1]^=T,O[2]^=R,O[3]^=D,O[4]^=A,O[5]^=T,O[6]^=R,O[7]^=D;for(var g=0;g<4;g++)_.call(this)}},_doProcessBlock:function(p,x){var g=this._X;_.call(this),u[0]=g[0]^g[5]>>>16^g[3]<<16,u[1]=g[2]^g[7]>>>16^g[5]<<16,u[2]=g[4]^g[1]>>>16^g[7]<<16,u[3]=g[6]^g[3]>>>16^g[1]<<16;for(var P=0;P<4;P++)u[P]=(u[P]<<8|u[P]>>>24)&16711935|(u[P]<<24|u[P]>>>8)&4278255360,p[x+P]^=u[P]},blockSize:128/32,ivSize:64/32});function _(){for(var p=this._X,x=this._C,g=0;g<8;g++)c[g]=x[g];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0;for(var g=0;g<8;g++){var P=p[g]+x[g],O=P&65535,S=P>>>16,I=((O*O>>>17)+O*S>>>15)+S*S,E=((P&4294901760)*P|0)+((P&65535)*P|0);o[g]=I^E}p[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,p[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,p[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,p[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,p[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,p[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,p[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,p[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}r.Rabbit=a._createHelper(f)}(),t.Rabbit})},22528:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.StreamCipher,s=r.algo,u=s.RC4=a.extend({_doReset:function(){for(var f=this._key,_=f.words,p=f.sigBytes,x=this._S=[],g=0;g<256;g++)x[g]=g;for(var g=0,P=0;g<256;g++){var O=g%p,S=_[O>>>2]>>>24-O%4*8&255;P=(P+x[g]+S)%256;var I=x[g];x[g]=x[P],x[P]=I}this._i=this._j=0},_doProcessBlock:function(f,_){f[_]^=c.call(this)},keySize:256/32,ivSize:0});function c(){for(var f=this._S,_=this._i,p=this._j,x=0,g=0;g<4;g++){_=(_+1)%256,p=(p+f[_])%256;var P=f[_];f[_]=f[p],f[p]=P,x|=f[(f[_]+f[p])%256]<<24-g*8}return this._i=_,this._j=p,x}r.RC4=a._createHelper(u);var o=s.RC4Drop=u.extend({cfg:u.cfg.extend({drop:192}),_doReset:function(){u._doReset.call(this);for(var f=this.cfg.drop;f>0;f--)c.call(this)}});r.RC4Drop=a._createHelper(o)}(),t.RC4})},25824:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),f=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),_=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),p=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),x=s.create([0,1518500249,1859775393,2400959708,2840853838]),g=s.create([1352829926,1548603684,1836072691,2053994217,0]),P=c.RIPEMD160=u.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,D){for(var M=0;M<16;M++){var B=D+M,j=T[B];T[B]=(j<<8|j>>>24)&16711935|(j<<24|j>>>8)&4278255360}var V=this._hash.words,H=x.words,Y=g.words,F=o.words,K=f.words,X=_.words,Q=p.words,W,N,J,k,Z,G,ee,ie,se,le;G=W=V[0],ee=N=V[1],ie=J=V[2],se=k=V[3],le=Z=V[4];for(var de,M=0;M<80;M+=1)de=W+T[D+F[M]]|0,M<16?de+=O(N,J,k)+H[0]:M<32?de+=S(N,J,k)+H[1]:M<48?de+=I(N,J,k)+H[2]:M<64?de+=E(N,J,k)+H[3]:de+=A(N,J,k)+H[4],de=de|0,de=R(de,X[M]),de=de+Z|0,W=Z,Z=k,k=R(J,10),J=N,N=de,de=G+T[D+K[M]]|0,M<16?de+=A(ee,ie,se)+Y[0]:M<32?de+=E(ee,ie,se)+Y[1]:M<48?de+=I(ee,ie,se)+Y[2]:M<64?de+=S(ee,ie,se)+Y[3]:de+=O(ee,ie,se)+Y[4],de=de|0,de=R(de,Q[M]),de=de+le|0,G=le,le=se,se=R(ie,10),ie=ee,ee=de;de=V[1]+J+se|0,V[1]=V[2]+k+le|0,V[2]=V[3]+Z+G|0,V[3]=V[4]+W+ee|0,V[4]=V[0]+N+ie|0,V[0]=de},_doFinalize:function(){var T=this._data,D=T.words,M=this._nDataBytes*8,B=T.sigBytes*8;D[B>>>5]|=128<<24-B%32,D[(B+64>>>9<<4)+14]=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,T.sigBytes=(D.length+1)*4,this._process();for(var j=this._hash,V=j.words,H=0;H<5;H++){var Y=V[H];V[H]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360}return j},clone:function(){var T=u.clone.call(this);return T._hash=this._hash.clone(),T}});function O(T,D,M){return T^D^M}function S(T,D,M){return T&D|~T&M}function I(T,D,M){return(T|~D)^M}function E(T,D,M){return T&M|D&~M}function A(T,D,M){return T^(D|~M)}function R(T,D){return T<>>32-D}n.RIPEMD160=u._createHelper(P),n.HmacRIPEMD160=u._createHmacHelper(P)}(Math),t.RIPEMD160})},49479:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=n.Hasher,u=r.algo,c=[],o=u.SHA1=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(f,_){for(var p=this._hash.words,x=p[0],g=p[1],P=p[2],O=p[3],S=p[4],I=0;I<80;I++){if(I<16)c[I]=f[_+I]|0;else{var E=c[I-3]^c[I-8]^c[I-14]^c[I-16];c[I]=E<<1|E>>>31}var A=(x<<5|x>>>27)+S+c[I];I<20?A+=(g&P|~g&O)+1518500249:I<40?A+=(g^P^O)+1859775393:I<60?A+=(g&P|g&O|P&O)-1894007588:A+=(g^P^O)-899497514,S=O,O=P,P=g<<30|g>>>2,g=x,x=A}p[0]=p[0]+x|0,p[1]=p[1]+g|0,p[2]=p[2]+P|0,p[3]=p[3]+O|0,p[4]=p[4]+S|0},_doFinalize:function(){var f=this._data,_=f.words,p=this._nDataBytes*8,x=f.sigBytes*8;return _[x>>>5]|=128<<24-x%32,_[(x+64>>>9<<4)+14]=Math.floor(p/4294967296),_[(x+64>>>9<<4)+15]=p,f.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var f=s.clone.call(this);return f._hash=this._hash.clone(),f}});r.SHA1=s._createHelper(o),r.HmacSHA1=s._createHmacHelper(o)}(),t.SHA1})},93653:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(2481))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=r.algo,u=s.SHA256,c=s.SHA224=u.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var o=u._doFinalize.call(this);return o.sigBytes-=4,o}});r.SHA224=u._createHelper(c),r.HmacSHA224=u._createHmacHelper(c)}(),t.SHA224})},2481:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.algo,o=[],f=[];(function(){function x(S){for(var I=r.sqrt(S),E=2;E<=I;E++)if(!(S%E))return!1;return!0}function g(S){return(S-(S|0))*4294967296|0}for(var P=2,O=0;O<64;)x(P)&&(O<8&&(o[O]=g(r.pow(P,.5))),f[O]=g(r.pow(P,.3333333333333333)),O++),P++})();var _=[],p=c.SHA256=u.extend({_doReset:function(){this._hash=new s.init(o.slice(0))},_doProcessBlock:function(x,g){for(var P=this._hash.words,O=P[0],S=P[1],I=P[2],E=P[3],A=P[4],R=P[5],T=P[6],D=P[7],M=0;M<64;M++){if(M<16)_[M]=x[g+M]|0;else{var B=_[M-15],j=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,V=_[M-2],H=(V<<15|V>>>17)^(V<<13|V>>>19)^V>>>10;_[M]=j+_[M-7]+H+_[M-16]}var Y=A&R^~A&T,F=O&S^O&I^S&I,K=(O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22),X=(A<<26|A>>>6)^(A<<21|A>>>11)^(A<<7|A>>>25),Q=D+X+Y+f[M]+_[M],W=K+F;D=T,T=R,R=A,A=E+Q|0,E=I,I=S,S=O,O=Q+W|0}P[0]=P[0]+O|0,P[1]=P[1]+S|0,P[2]=P[2]+I|0,P[3]=P[3]+E|0,P[4]=P[4]+A|0,P[5]=P[5]+R|0,P[6]=P[6]+T|0,P[7]=P[7]+D|0},_doFinalize:function(){var x=this._data,g=x.words,P=this._nDataBytes*8,O=x.sigBytes*8;return g[O>>>5]|=128<<24-O%32,g[(O+64>>>9<<4)+14]=r.floor(P/4294967296),g[(O+64>>>9<<4)+15]=P,x.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var x=u.clone.call(this);return x._hash=this._hash.clone(),x}});n.SHA256=u._createHelper(p),n.HmacSHA256=u._createHmacHelper(p)}(Math),t.SHA256})},79421:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(41988))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.WordArray,u=a.Hasher,c=n.x64,o=c.Word,f=n.algo,_=[],p=[],x=[];(function(){for(var O=1,S=0,I=0;I<24;I++){_[O+5*S]=(I+1)*(I+2)/2%64;var E=S%5,A=(2*O+3*S)%5;O=E,S=A}for(var O=0;O<5;O++)for(var S=0;S<5;S++)p[O+5*S]=S+(2*O+3*S)%5*5;for(var R=1,T=0;T<24;T++){for(var D=0,M=0,B=0;B<7;B++){if(R&1){var j=(1<>>24)&16711935|(R<<24|R>>>8)&4278255360,T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360;var D=I[A];D.high^=T,D.low^=R}for(var M=0;M<24;M++){for(var B=0;B<5;B++){for(var j=0,V=0,H=0;H<5;H++){var D=I[B+5*H];j^=D.high,V^=D.low}var Y=g[B];Y.high=j,Y.low=V}for(var B=0;B<5;B++)for(var F=g[(B+4)%5],K=g[(B+1)%5],X=K.high,Q=K.low,j=F.high^(X<<1|Q>>>31),V=F.low^(Q<<1|X>>>31),H=0;H<5;H++){var D=I[B+5*H];D.high^=j,D.low^=V}for(var W=1;W<25;W++){var j,V,D=I[W],N=D.high,J=D.low,k=_[W];k<32?(j=N<>>32-k,V=J<>>32-k):(j=J<>>64-k,V=N<>>64-k);var Z=g[p[W]];Z.high=j,Z.low=V}var G=g[0],ee=I[0];G.high=ee.high,G.low=ee.low;for(var B=0;B<5;B++)for(var H=0;H<5;H++){var W=B+5*H,D=I[W],ie=g[W],se=g[(B+1)%5+5*H],le=g[(B+2)%5+5*H];D.high=ie.high^~se.high&le.high,D.low=ie.low^~se.low&le.low}var D=I[0],de=x[M];D.high^=de.high,D.low^=de.low}},_doFinalize:function(){var O=this._data,S=O.words,I=this._nDataBytes*8,E=O.sigBytes*8,A=this.blockSize*32;S[E>>>5]|=1<<24-E%32,S[(r.ceil((E+1)/A)*A>>>5)-1]|=128,O.sigBytes=S.length*4,this._process();for(var R=this._state,T=this.cfg.outputLength/8,D=T/8,M=[],B=0;B>>24)&16711935|(V<<24|V>>>8)&4278255360,H=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360,M.push(H),M.push(V)}return new s.init(M,T)},clone:function(){for(var O=u.clone.call(this),S=O._state=this._state.slice(0),I=0;I<25;I++)S[I]=S[I].clone();return O}});n.SHA3=u._createHelper(P),n.HmacSHA3=u._createHmacHelper(P)}(Math),t.SHA3})},82307:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(41988),e(12133))})(this,function(t){return function(){var r=t,n=r.x64,a=n.Word,s=n.WordArray,u=r.algo,c=u.SHA512,o=u.SHA384=c.extend({_doReset:function(){this._hash=new s.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var f=c._doFinalize.call(this);return f.sigBytes-=16,f}});r.SHA384=c._createHelper(o),r.HmacSHA384=c._createHmacHelper(o)}(),t.SHA384})},12133:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(41988))})(this,function(t){return function(){var r=t,n=r.lib,a=n.Hasher,s=r.x64,u=s.Word,c=s.WordArray,o=r.algo;function f(){return u.create.apply(u,arguments)}var _=[f(1116352408,3609767458),f(1899447441,602891725),f(3049323471,3964484399),f(3921009573,2173295548),f(961987163,4081628472),f(1508970993,3053834265),f(2453635748,2937671579),f(2870763221,3664609560),f(3624381080,2734883394),f(310598401,1164996542),f(607225278,1323610764),f(1426881987,3590304994),f(1925078388,4068182383),f(2162078206,991336113),f(2614888103,633803317),f(3248222580,3479774868),f(3835390401,2666613458),f(4022224774,944711139),f(264347078,2341262773),f(604807628,2007800933),f(770255983,1495990901),f(1249150122,1856431235),f(1555081692,3175218132),f(1996064986,2198950837),f(2554220882,3999719339),f(2821834349,766784016),f(2952996808,2566594879),f(3210313671,3203337956),f(3336571891,1034457026),f(3584528711,2466948901),f(113926993,3758326383),f(338241895,168717936),f(666307205,1188179964),f(773529912,1546045734),f(1294757372,1522805485),f(1396182291,2643833823),f(1695183700,2343527390),f(1986661051,1014477480),f(2177026350,1206759142),f(2456956037,344077627),f(2730485921,1290863460),f(2820302411,3158454273),f(3259730800,3505952657),f(3345764771,106217008),f(3516065817,3606008344),f(3600352804,1432725776),f(4094571909,1467031594),f(275423344,851169720),f(430227734,3100823752),f(506948616,1363258195),f(659060556,3750685593),f(883997877,3785050280),f(958139571,3318307427),f(1322822218,3812723403),f(1537002063,2003034995),f(1747873779,3602036899),f(1955562222,1575990012),f(2024104815,1125592928),f(2227730452,2716904306),f(2361852424,442776044),f(2428436474,593698344),f(2756734187,3733110249),f(3204031479,2999351573),f(3329325298,3815920427),f(3391569614,3928383900),f(3515267271,566280711),f(3940187606,3454069534),f(4118630271,4000239992),f(116418474,1914138554),f(174292421,2731055270),f(289380356,3203993006),f(460393269,320620315),f(685471733,587496836),f(852142971,1086792851),f(1017036298,365543100),f(1126000580,2618297676),f(1288033470,3409855158),f(1501505948,4234509866),f(1607167915,987167468),f(1816402316,1246189591)],p=[];(function(){for(var g=0;g<80;g++)p[g]=f()})();var x=o.SHA512=a.extend({_doReset:function(){this._hash=new c.init([new u.init(1779033703,4089235720),new u.init(3144134277,2227873595),new u.init(1013904242,4271175723),new u.init(2773480762,1595750129),new u.init(1359893119,2917565137),new u.init(2600822924,725511199),new u.init(528734635,4215389547),new u.init(1541459225,327033209)])},_doProcessBlock:function(g,P){for(var O=this._hash.words,S=O[0],I=O[1],E=O[2],A=O[3],R=O[4],T=O[5],D=O[6],M=O[7],B=S.high,j=S.low,V=I.high,H=I.low,Y=E.high,F=E.low,K=A.high,X=A.low,Q=R.high,W=R.low,N=T.high,J=T.low,k=D.high,Z=D.low,G=M.high,ee=M.low,ie=B,se=j,le=V,de=H,He=Y,ze=F,st=K,vt=X,Je=Q,Ke=W,Re=N,Ce=J,me=k,at=Z,ct=G,St=ee,bt=0;bt<80;bt++){var Ie,$e,ft=p[bt];if(bt<16)$e=ft.high=g[P+bt*2]|0,Ie=ft.low=g[P+bt*2+1]|0;else{var ke=p[bt-15],ye=ke.high,fe=ke.low,Oe=(ye>>>1|fe<<31)^(ye>>>8|fe<<24)^ye>>>7,Ee=(fe>>>1|ye<<31)^(fe>>>8|ye<<24)^(fe>>>7|ye<<25),et=p[bt-2],mt=et.high,pe=et.low,ge=(mt>>>19|pe<<13)^(mt<<3|pe>>>29)^mt>>>6,lt=(pe>>>19|mt<<13)^(pe<<3|mt>>>29)^(pe>>>6|mt<<26),Qe=p[bt-7],Ve=Qe.high,it=Qe.low,Dt=p[bt-16],Yt=Dt.high,Se=Dt.low;Ie=Ee+it,$e=Oe+Ve+(Ie>>>0>>0?1:0),Ie=Ie+lt,$e=$e+ge+(Ie>>>0>>0?1:0),Ie=Ie+Se,$e=$e+Yt+(Ie>>>0>>0?1:0),ft.high=$e,ft.low=Ie}var je=Je&Re^~Je&me,Be=Ke&Ce^~Ke&at,ht=ie&le^ie&He^le&He,At=se&de^se&ze^de&ze,ce=(ie>>>28|se<<4)^(ie<<30|se>>>2)^(ie<<25|se>>>7),_t=(se>>>28|ie<<4)^(se<<30|ie>>>2)^(se<<25|ie>>>7),qt=(Je>>>14|Ke<<18)^(Je>>>18|Ke<<14)^(Je<<23|Ke>>>9),Ht=(Ke>>>14|Je<<18)^(Ke>>>18|Je<<14)^(Ke<<23|Je>>>9),Ut=_[bt],cr=Ut.high,Ze=Ut.low,dt=St+Ht,kt=ct+qt+(dt>>>0>>0?1:0),dt=dt+Be,kt=kt+je+(dt>>>0>>0?1:0),dt=dt+Ze,kt=kt+cr+(dt>>>0>>0?1:0),dt=dt+Ie,kt=kt+$e+(dt>>>0>>0?1:0),ar=_t+At,$t=ce+ht+(ar>>>0<_t>>>0?1:0);ct=me,St=at,me=Re,at=Ce,Re=Je,Ce=Ke,Ke=vt+dt|0,Je=st+kt+(Ke>>>0>>0?1:0)|0,st=He,vt=ze,He=le,ze=de,le=ie,de=se,se=dt+ar|0,ie=kt+$t+(se>>>0
        >>0?1:0)|0}j=S.low=j+se,S.high=B+ie+(j>>>0>>0?1:0),H=I.low=H+de,I.high=V+le+(H>>>0>>0?1:0),F=E.low=F+ze,E.high=Y+He+(F>>>0>>0?1:0),X=A.low=X+vt,A.high=K+st+(X>>>0>>0?1:0),W=R.low=W+Ke,R.high=Q+Je+(W>>>0>>0?1:0),J=T.low=J+Ce,T.high=N+Re+(J>>>0>>0?1:0),Z=D.low=Z+at,D.high=k+me+(Z>>>0>>0?1:0),ee=M.low=ee+St,M.high=G+ct+(ee>>>0>>0?1:0)},_doFinalize:function(){var g=this._data,P=g.words,O=this._nDataBytes*8,S=g.sigBytes*8;P[S>>>5]|=128<<24-S%32,P[(S+128>>>10<<5)+30]=Math.floor(O/4294967296),P[(S+128>>>10<<5)+31]=O,g.sigBytes=P.length*4,this._process();var I=this._hash.toX32();return I},clone:function(){var g=a.clone.call(this);return g._hash=this._hash.clone(),g},blockSize:1024/32});r.SHA512=a._createHelper(x),r.HmacSHA512=a._createHmacHelper(x)}(),t.SHA512})},61945:function(i,d,e){(function(t,r,n){i.exports=d=r(e(52952),e(35909),e(34905),e(28492),e(93617))})(this,function(t){return function(){var r=t,n=r.lib,a=n.WordArray,s=n.BlockCipher,u=r.algo,c=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],f=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],_=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],p=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],x=u.DES=s.extend({_doReset:function(){for(var S=this._key,I=S.words,E=[],A=0;A<56;A++){var R=c[A]-1;E[A]=I[R>>>5]>>>31-R%32&1}for(var T=this._subKeys=[],D=0;D<16;D++){for(var M=T[D]=[],B=f[D],A=0;A<24;A++)M[A/6|0]|=E[(o[A]-1+B)%28]<<31-A%6,M[4+(A/6|0)]|=E[28+(o[A+24]-1+B)%28]<<31-A%6;M[0]=M[0]<<1|M[0]>>>31;for(var A=1;A<7;A++)M[A]=M[A]>>>(A-1)*4+3;M[7]=M[7]<<5|M[7]>>>27}for(var j=this._invSubKeys=[],A=0;A<16;A++)j[A]=T[15-A]},encryptBlock:function(S,I){this._doCryptBlock(S,I,this._subKeys)},decryptBlock:function(S,I){this._doCryptBlock(S,I,this._invSubKeys)},_doCryptBlock:function(S,I,E){this._lBlock=S[I],this._rBlock=S[I+1],g.call(this,4,252645135),g.call(this,16,65535),P.call(this,2,858993459),P.call(this,8,16711935),g.call(this,1,1431655765);for(var A=0;A<16;A++){for(var R=E[A],T=this._lBlock,D=this._rBlock,M=0,B=0;B<8;B++)M|=_[B][((D^R[B])&p[B])>>>0];this._lBlock=D,this._rBlock=T^M}var j=this._lBlock;this._lBlock=this._rBlock,this._rBlock=j,g.call(this,1,1431655765),P.call(this,8,16711935),P.call(this,2,858993459),g.call(this,16,65535),g.call(this,4,252645135),S[I]=this._lBlock,S[I+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function g(S,I){var E=(this._lBlock>>>S^this._rBlock)&I;this._rBlock^=E,this._lBlock^=E<>>S^this._lBlock)&I;this._lBlock^=E,this._rBlock^=E<192.");var E=I.slice(0,2),A=I.length<4?I.slice(0,2):I.slice(2,4),R=I.length<6?I.slice(0,2):I.slice(4,6);this._des1=x.createEncryptor(a.create(E)),this._des2=x.createEncryptor(a.create(A)),this._des3=x.createEncryptor(a.create(R))},encryptBlock:function(S,I){this._des1.encryptBlock(S,I),this._des2.decryptBlock(S,I),this._des3.encryptBlock(S,I)},decryptBlock:function(S,I){this._des3.decryptBlock(S,I),this._des2.encryptBlock(S,I),this._des1.decryptBlock(S,I)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=s._createHelper(O)}(),t.TripleDES})},41988:function(i,d,e){(function(t,r){i.exports=d=r(e(52952))})(this,function(t){return function(r){var n=t,a=n.lib,s=a.Base,u=a.WordArray,c=n.x64={},o=c.Word=s.extend({init:function(_,p){this.high=_,this.low=p}}),f=c.WordArray=s.extend({init:function(_,p){_=this.words=_||[],p!=r?this.sigBytes=p:this.sigBytes=_.length*8},toX32:function(){for(var _=this.words,p=_.length,x=[],g=0;g=Y?H:""+Array(Y+1-K.length).join(F)+H},I={s:S,z:function(H){var Y=-H.utcOffset(),F=Math.abs(Y),K=Math.floor(F/60),X=F%60;return(Y<=0?"+":"-")+S(K,2,"0")+":"+S(X,2,"0")},m:function H(Y,F){if(Y.date()1)return H(W[0])}else{var N=Y.name;A[N]=Y,X=N}return!K&&X&&(E=X),X||!K&&E},M=function(H,Y){if(T(H))return H.clone();var F=typeof Y=="object"?Y:{};return F.date=H,F.args=arguments,new j(F)},B=I;B.l=D,B.i=T,B.w=function(H,Y){return M(H,{locale:Y.$L,utc:Y.$u,x:Y.$x,$offset:Y.$offset})};var j=function(){function H(F){this.$L=D(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[R]=!0}var Y=H.prototype;return Y.parse=function(F){this.$d=function(K){var X=K.date,Q=K.utc;if(X===null)return new Date(NaN);if(B.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var W=X.match(g);if(W){var N=W[2]-1||0,J=(W[7]||"0").substring(0,3);return Q?new Date(Date.UTC(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)):new Date(W[1],N,W[3]||1,W[4]||0,W[5]||0,W[6]||0,J)}}return new Date(X)}(F),this.init()},Y.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},Y.$utils=function(){return B},Y.isValid=function(){return this.$d.toString()!==x},Y.isSame=function(F,K){var X=M(F);return this.startOf(K)<=X&&X<=this.endOf(K)},Y.isAfter=function(F,K){return M(F)68?1900:2e3)},c=function(g){return function(P){this[g]=+P}},o=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(P){if(!P||P==="Z")return 0;var O=P.match(/([+-]|\d\d)/g),S=60*O[1]+(+O[2]||0);return S===0?0:O[0]==="+"?-S:S}(g)}],f=function(g){var P=s[g];return P&&(P.indexOf?P:P.s.concat(P.f))},_=function(g,P){var O,S=s.meridiem;if(S){for(var I=1;I<=24;I+=1)if(g.indexOf(S(I,0,P))>-1){O=I>12;break}}else O=g===(P?"pm":"PM");return O},p={A:[a,function(g){this.afternoon=_(g,!1)}],a:[a,function(g){this.afternoon=_(g,!0)}],Q:[t,function(g){this.month=3*(g-1)+1}],S:[t,function(g){this.milliseconds=100*+g}],SS:[r,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[n,c("seconds")],ss:[n,c("seconds")],m:[n,c("minutes")],mm:[n,c("minutes")],H:[n,c("hours")],h:[n,c("hours")],HH:[n,c("hours")],hh:[n,c("hours")],D:[n,c("day")],DD:[r,c("day")],Do:[a,function(g){var P=s.ordinal,O=g.match(/\d+/);if(this.day=O[0],P)for(var S=1;S<=31;S+=1)P(S).replace(/\[|\]/g,"")===g&&(this.day=S)}],w:[n,c("week")],ww:[r,c("week")],M:[n,c("month")],MM:[r,c("month")],MMM:[a,function(g){var P=f("months"),O=(f("monthsShort")||P.map(function(S){return S.slice(0,3)})).indexOf(g)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[a,function(g){var P=f("months").indexOf(g)+1;if(P<1)throw new Error;this.month=P%12||P}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(g){this.year=u(g)}],YYYY:[/\d{4}/,c("year")],Z:o,ZZ:o};function x(g){var P,O;P=g,O=s&&s.formats;for(var S=(g=P.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,B,j){var V=j&&j.toUpperCase();return B||O[j]||d[j]||O[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(H,Y,F){return Y||F.slice(1)})})).match(e),I=S.length,E=0;E-1)return new Date((X==="X"?1e3:1)*K);var N=x(X)(K),J=N.year,k=N.month,Z=N.day,G=N.hours,ee=N.minutes,ie=N.seconds,se=N.milliseconds,le=N.zone,de=N.week,He=new Date,ze=Z||(J||k?1:He.getDate()),st=J||He.getFullYear(),vt=0;J&&!k||(vt=k>0?k-1:He.getMonth());var Je,Ke=G||0,Re=ee||0,Ce=ie||0,me=se||0;return le?new Date(Date.UTC(st,vt,ze,Ke,Re,Ce,me+60*le.offset*1e3)):Q?new Date(Date.UTC(st,vt,ze,Ke,Re,Ce,me)):(Je=new Date(st,vt,ze,Ke,Re,Ce,me),de&&(Je=W(Je).week(de).toDate()),Je)}catch(at){return new Date("")}}(A,D,R,O),this.init(),V&&V!==!0&&(this.$L=this.locale(V).$L),j&&A!=this.format(D)&&(this.$d=new Date("")),s={}}else if(D instanceof Array)for(var H=D.length,Y=1;Y<=H;Y+=1){T[1]=D[Y-1];var F=O.apply(this,T);if(F.isValid()){this.$d=F.$d,this.$L=F.$L,this.init();break}Y===H&&(this.$d=new Date(""))}else I.call(this,E)}}})},1554:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";var d,e,t=1e3,r=6e4,n=36e5,a=864e5,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,u=31536e6,c=2628e6,o=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:u,months:c,days:a,hours:n,minutes:r,seconds:t,milliseconds:1,weeks:6048e5},_=function(A){return A instanceof I},p=function(A,R,T){return new I(A,T,R.$l)},x=function(A){return e.p(A)+"s"},g=function(A){return A<0},P=function(A){return g(A)?Math.ceil(A):Math.floor(A)},O=function(A){return Math.abs(A)},S=function(A,R){return A?g(A)?{negative:!0,format:""+O(A)+R}:{negative:!1,format:""+A+R}:{negative:!1,format:""}},I=function(){function A(T,D,M){var B=this;if(this.$d={},this.$l=M,T===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return p(T*f[x(D)],this);if(typeof T=="number")return this.$ms=T,this.parseFromMilliseconds(),this;if(typeof T=="object")return Object.keys(T).forEach(function(H){B.$d[x(H)]=T[H]}),this.calMilliseconds(),this;if(typeof T=="string"){var j=T.match(o);if(j){var V=j.slice(2).map(function(H){return H!=null?Number(H):0});return this.$d.years=V[0],this.$d.months=V[1],this.$d.weeks=V[2],this.$d.days=V[3],this.$d.hours=V[4],this.$d.minutes=V[5],this.$d.seconds=V[6],this.calMilliseconds(),this}}return this}var R=A.prototype;return R.calMilliseconds=function(){var T=this;this.$ms=Object.keys(this.$d).reduce(function(D,M){return D+(T.$d[M]||0)*f[M]},0)},R.parseFromMilliseconds=function(){var T=this.$ms;this.$d.years=P(T/u),T%=u,this.$d.months=P(T/c),T%=c,this.$d.days=P(T/a),T%=a,this.$d.hours=P(T/n),T%=n,this.$d.minutes=P(T/r),T%=r,this.$d.seconds=P(T/t),T%=t,this.$d.milliseconds=T},R.toISOString=function(){var T=S(this.$d.years,"Y"),D=S(this.$d.months,"M"),M=+this.$d.days||0;this.$d.weeks&&(M+=7*this.$d.weeks);var B=S(M,"D"),j=S(this.$d.hours,"H"),V=S(this.$d.minutes,"M"),H=this.$d.seconds||0;this.$d.milliseconds&&(H+=this.$d.milliseconds/1e3,H=Math.round(1e3*H)/1e3);var Y=S(H,"S"),F=T.negative||D.negative||B.negative||j.negative||V.negative||Y.negative,K=j.format||V.format||Y.format?"T":"",X=(F?"-":"")+"P"+T.format+D.format+B.format+K+j.format+V.format+Y.format;return X==="P"||X==="-P"?"P0D":X},R.toJSON=function(){return this.toISOString()},R.format=function(T){var D=T||"YYYY-MM-DDTHH:mm:ss",M={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return D.replace(s,function(B,j){return j||String(M[B])})},R.as=function(T){return this.$ms/f[x(T)]},R.get=function(T){var D=this.$ms,M=x(T);return M==="milliseconds"?D%=1e3:D=M==="weeks"?P(D/f[M]):this.$d[M],D||0},R.add=function(T,D,M){var B;return B=D?T*f[x(D)]:_(T)?T.$ms:p(T,this).$ms,p(this.$ms+B*(M?-1:1),this)},R.subtract=function(T,D){return this.add(T,D,!0)},R.locale=function(T){var D=this.clone();return D.$l=T,D},R.clone=function(){return p(this.$ms,this)},R.humanize=function(T){return d().add(this.$ms,"ms").locale(this.$l).fromNow(!T)},R.valueOf=function(){return this.asMilliseconds()},R.milliseconds=function(){return this.get("milliseconds")},R.asMilliseconds=function(){return this.as("milliseconds")},R.seconds=function(){return this.get("seconds")},R.asSeconds=function(){return this.as("seconds")},R.minutes=function(){return this.get("minutes")},R.asMinutes=function(){return this.as("minutes")},R.hours=function(){return this.get("hours")},R.asHours=function(){return this.as("hours")},R.days=function(){return this.get("days")},R.asDays=function(){return this.as("days")},R.weeks=function(){return this.get("weeks")},R.asWeeks=function(){return this.as("weeks")},R.months=function(){return this.get("months")},R.asMonths=function(){return this.as("months")},R.years=function(){return this.get("years")},R.asYears=function(){return this.as("years")},A}(),E=function(A,R,T){return A.add(R.years()*T,"y").add(R.months()*T,"M").add(R.days()*T,"d").add(R.hours()*T,"h").add(R.minutes()*T,"m").add(R.seconds()*T,"s").add(R.milliseconds()*T,"ms")};return function(A,R,T){d=T,e=T().$utils(),T.duration=function(B,j){var V=T.locale();return p(B,{$l:V},j)},T.isDuration=_;var D=R.prototype.add,M=R.prototype.subtract;R.prototype.add=function(B,j){return _(B)?E(this,B,1):D.bind(this)(B,j)},R.prototype.subtract=function(B,j){return _(B)?E(this,B,-1):M.bind(this)(B,j)}}})},5116:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e,t){t.isMoment=function(r){return t.isDayjs(r)}}})},14805:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.isSameOrAfter=function(t,r){return this.isSame(t,r)||this.isAfter(t,r)}}})},73100:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.isSameOrBefore=function(t,r){return this.isSame(t,r)||this.isBefore(t,r)}}})},50991:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e,t){var r=e.prototype,n=function(o){return o&&(o.indexOf?o:o.s)},a=function(o,f,_,p,x){var g=o.name?o:o.$locale(),P=n(g[f]),O=n(g[_]),S=P||O.map(function(E){return E.slice(0,p)});if(!x)return S;var I=g.weekStart;return S.map(function(E,A){return S[(A+(I||0))%7]})},s=function(){return t.Ls[t.locale()]},u=function(o,f){return o.formats[f]||function(_){return _.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(p,x,g){return x||g.slice(1)})}(o.formats[f.toUpperCase()])},c=function(){var o=this;return{months:function(f){return f?f.format("MMMM"):a(o,"months")},monthsShort:function(f){return f?f.format("MMM"):a(o,"monthsShort","months",3)},firstDayOfWeek:function(){return o.$locale().weekStart||0},weekdays:function(f){return f?f.format("dddd"):a(o,"weekdays")},weekdaysMin:function(f){return f?f.format("dd"):a(o,"weekdaysMin","weekdays",2)},weekdaysShort:function(f){return f?f.format("ddd"):a(o,"weekdaysShort","weekdays",3)},longDateFormat:function(f){return u(o.$locale(),f)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},t.localeData=function(){var o=s();return{firstDayOfWeek:function(){return o.weekStart||0},weekdays:function(){return t.weekdays()},weekdaysShort:function(){return t.weekdaysShort()},weekdaysMin:function(){return t.weekdaysMin()},months:function(){return t.months()},monthsShort:function(){return t.monthsShort()},longDateFormat:function(f){return u(o,f)},meridiem:o.meridiem,ordinal:o.ordinal}},t.months=function(){return a(s(),"months")},t.monthsShort=function(){return a(s(),"monthsShort","months",3)},t.weekdays=function(o){return a(s(),"weekdays",null,null,o)},t.weekdaysShort=function(o){return a(s(),"weekdaysShort","weekdays",3,o)},t.weekdaysMin=function(o){return a(s(),"weekdaysMin","weekdays",2,o)}}})},39050:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";var d={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,t,r){var n=t.prototype,a=n.format;r.en.formats=d,n.format=function(s){s===void 0&&(s="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,c=function(o,f){return o.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,p,x){var g=x&&x.toUpperCase();return p||f[x]||d[x]||f[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,O,S){return O||S.slice(1)})})}(s,u===void 0?{}:u);return a.call(this,c)}}})},59697:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e,t){d=d||{};var r=e.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function a(u,c,o,f){return r.fromToBase(u,c,o,f)}t.en.relativeTime=n,r.fromToBase=function(u,c,o,f,_){for(var p,x,g,P=o.$locale().relativeTime||n,O=d.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],S=O.length,I=0;I0,A<=E.r||!E.r){A<=1&&I>0&&(E=O[I-1]);var R=P[E.l];_&&(A=_(""+A)),x=typeof R=="string"?R.replace("%d",A):R(A,c,E.l,g);break}}if(c)return x;var T=g?P.future:P.past;return typeof T=="function"?T(x):T.replace("%s",x)},r.to=function(u,c){return a(u,c,this,!0)},r.from=function(u,c){return a(u,c,this)};var s=function(u){return u.$u?t.utc():t()};r.toNow=function(u){return this.to(s(this),u)},r.fromNow=function(u){return this.from(s(this),u)}}})},9084:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";var d="week",e="year";return function(t,r,n){var a=r.prototype;a.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=n(this).startOf(e).add(1,e).date(u),o=n(this).endOf(d);if(c.isBefore(o))return 1}var f=n(this).startOf(e).date(u).startOf(d).subtract(1,"millisecond"),_=this.diff(f,d,!0);return _<0?n(this).startOf("week").week():Math.ceil(_)},a.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})},58626:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.weekYear=function(){var t=this.month(),r=this.week(),n=this.year();return r===1&&t===11?n+1:t===0&&r>=52?n-1:n}}})},9007:function(i){(function(d,e){i.exports=e()})(this,function(){"use strict";return function(d,e){e.prototype.weekday=function(t){var r=this.$locale().weekStart||0,n=this.$W,a=(n0&&arguments[0]!==void 0?arguments[0]:{},c=u.namespace||a,o=u.only,f=o===void 0?[]:o,_=u.except,p=_===void 0?[]:_;if(f.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var x={global:!1,models:{},effects:{}},g=d({},c,function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x,S=arguments.length>1?arguments[1]:void 0,I=S.type,E=S.payload,A=E||{},R=A.namespace,T=A.actionType,D;switch(I){case r:D=t(t({},O),{},{global:!0,models:t(t({},O.models),{},d({},R,!0)),effects:t(t({},O.effects),{},d({},T,!0))});break;case n:{var M=t(t({},O.effects),{},d({},T,!1)),B=t(t({},O.models),{},d({},R,Object.keys(M).some(function(V){var H=V.split("/")[0];return H!==R?!1:M[V]}))),j=Object.keys(B).some(function(V){return B[V]});D=t(t({},O),{},{global:j,models:B,effects:M});break}default:D=O;break}return D});function P(O,S,I,E){var A=S.put,R=I.namespace;return f.length===0&&p.length===0||f.length>0&&f.indexOf(E)!==-1||p.length>0&&p.indexOf(E)===-1?regeneratorRuntime.mark(function T(){var D=arguments;return regeneratorRuntime.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,A({type:r,payload:{namespace:R,actionType:E}});case 2:return B.next=4,O.apply(void 0,D);case 4:return B.next=6,A({type:n,payload:{namespace:R,actionType:E}});case 6:case"end":return B.stop()}},T)}):O}return{extraReducers:g,onEffect:P}}i.exports=s},68192:function(i){"use strict";i.exports=function(){}},63474:function(i,d,e){"use strict";i.exports=e(71111)()?Object.assign:e(47597)},71111:function(i){"use strict";i.exports=function(){var d=Object.assign,e;return typeof d!="function"?!1:(e={foo:"raz"},d(e,{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},47597:function(i,d,e){"use strict";var t=e(90721),r=e(58883),n=Math.max;i.exports=function(a,s){var u,c,o=n(arguments.length,2),f;for(a=Object(r(a)),f=function(_){try{a[_]=s[_]}catch(p){u||(u=p)}},c=1;c-1}},3424:function(i,d,e){"use strict";var t=e(35413),r=e(15895),n=Function.prototype.apply,a=Function.prototype.call,s=Object.create,u=Object.defineProperty,c=Object.defineProperties,o=Object.prototype.hasOwnProperty,f={configurable:!0,enumerable:!1,writable:!0},_,p,x,g,P,O,S;_=function(I,E){var A;return r(E),o.call(this,"__ee__")?A=this.__ee__:(A=f.value=s(null),u(this,"__ee__",f),f.value=null),A[I]?typeof A[I]=="object"?A[I].push(E):A[I]=[A[I],E]:A[I]=E,this},p=function(I,E){var A,R;return r(E),R=this,_.call(this,I,A=function(){x.call(R,I,A),n.call(E,this,arguments)}),A.__eeOnceListener__=E,this},x=function(I,E){var A,R,T,D;if(r(E),!o.call(this,"__ee__"))return this;if(A=this.__ee__,!A[I])return this;if(R=A[I],typeof R=="object")for(D=0;T=R[D];++D)(T===E||T.__eeOnceListener__===E)&&(R.length===2?A[I]=R[D?0:1]:R.splice(D,1));else(R===E||R.__eeOnceListener__===E)&&delete A[I];return this},g=function(I){var E,A,R,T,D;if(o.call(this,"__ee__")&&(T=this.__ee__[I],!!T))if(typeof T=="object"){for(A=arguments.length,D=new Array(A-1),E=1;E=this._delta8){s=this.pending;var c=s.length%this._delta8;this.pending=s.slice(s.length-c,s.length),this.pending.length===0&&(this.pending=null),s=t.join32(s,0,s.length-c,this.endian);for(var o=0;o>>24&255,o[f++]=s>>>16&255,o[f++]=s>>>8&255,o[f++]=s&255}else for(o[f++]=s&255,o[f++]=s>>>8&255,o[f++]=s>>>16&255,o[f++]=s>>>24&255,o[f++]=0,o[f++]=0,o[f++]=0,o[f++]=0,_=8;_this.blockSize&&(s=new this.Hash().update(s).digest()),r(s.length<=this.blockSize);for(var u=s.length;u>>3}d.g0_256=f;function _(p){return r(p,17)^r(p,19)^p>>>10}d.g1_256=_},8631:function(i,d,e){"use strict";var t=e(61339),r=e(4603);d.inherits=r;function n(F,K){return(F.charCodeAt(K)&64512)!==55296||K<0||K+1>=F.length?!1:(F.charCodeAt(K+1)&64512)===56320}function a(F,K){if(Array.isArray(F))return F.slice();if(!F)return[];var X=[];if(typeof F=="string")if(K){if(K==="hex")for(F=F.replace(/[^a-z0-9]+/ig,""),F.length%2!==0&&(F="0"+F),W=0;W>6|192,X[Q++]=N&63|128):n(F,W)?(N=65536+((N&1023)<<10)+(F.charCodeAt(++W)&1023),X[Q++]=N>>18|240,X[Q++]=N>>12&63|128,X[Q++]=N>>6&63|128,X[Q++]=N&63|128):(X[Q++]=N>>12|224,X[Q++]=N>>6&63|128,X[Q++]=N&63|128)}else for(W=0;W>>24|F>>>8&65280|F<<8&16711680|(F&255)<<24;return K>>>0}d.htonl=u;function c(F,K){for(var X="",Q=0;Q>>0}return N}d.join32=_;function p(F,K){for(var X=new Array(F.length*4),Q=0,W=0;Q>>24,X[W+1]=N>>>16&255,X[W+2]=N>>>8&255,X[W+3]=N&255):(X[W+3]=N>>>24,X[W+2]=N>>>16&255,X[W+1]=N>>>8&255,X[W]=N&255)}return X}d.split32=p;function x(F,K){return F>>>K|F<<32-K}d.rotr32=x;function g(F,K){return F<>>32-K}d.rotl32=g;function P(F,K){return F+K>>>0}d.sum32=P;function O(F,K,X){return F+K+X>>>0}d.sum32_3=O;function S(F,K,X,Q){return F+K+X+Q>>>0}d.sum32_4=S;function I(F,K,X,Q,W){return F+K+X+Q+W>>>0}d.sum32_5=I;function E(F,K,X,Q){var W=F[K],N=F[K+1],J=Q+N>>>0,k=(J>>0,F[K+1]=J}d.sum64=E;function A(F,K,X,Q){var W=K+Q>>>0,N=(W>>0}d.sum64_hi=A;function R(F,K,X,Q){var W=K+Q;return W>>>0}d.sum64_lo=R;function T(F,K,X,Q,W,N,J,k){var Z=0,G=K;G=G+Q>>>0,Z+=G>>0,Z+=G>>0,Z+=G>>0}d.sum64_4_hi=T;function D(F,K,X,Q,W,N,J,k){var Z=K+Q+N+k;return Z>>>0}d.sum64_4_lo=D;function M(F,K,X,Q,W,N,J,k,Z,G){var ee=0,ie=K;ie=ie+Q>>>0,ee+=ie>>0,ee+=ie>>0,ee+=ie>>0,ee+=ie>>0}d.sum64_5_hi=M;function B(F,K,X,Q,W,N,J,k,Z,G){var ee=K+Q+N+k+G;return ee>>>0}d.sum64_5_lo=B;function j(F,K,X){var Q=K<<32-X|F>>>X;return Q>>>0}d.rotr64_hi=j;function V(F,K,X){var Q=F<<32-X|K>>>X;return Q>>>0}d.rotr64_lo=V;function H(F,K,X){return F>>>X}d.shr64_hi=H;function Y(F,K,X){var Q=F<<32-X|K>>>X;return Q>>>0}d.shr64_lo=Y},19340:function(i,d,e){"use strict";e.d(d,{Ep:function(){return O},PP:function(){return _},aU:function(){return r},cP:function(){return S},lX:function(){return o},q_:function(){return f}});var t=e(60499),r;(function(I){I.Pop="POP",I.Push="PUSH",I.Replace="REPLACE"})(r||(r={}));var n=function(I){return I};function a(I,E){if(!I){typeof console!="undefined"&&console.warn(E);try{throw new Error(E)}catch(A){}}}var s="beforeunload",u="hashchange",c="popstate";function o(I){I===void 0&&(I={});var E=I,A=E.window,R=A===void 0?document.defaultView:A,T=R.history;function D(){var ie=R.location,se=ie.pathname,le=ie.search,de=ie.hash,He=T.state||{};return[He.idx,n({pathname:se,search:le,hash:de,state:He.usr||null,key:He.key||"default"})]}var M=null;function B(){if(M)K.call(M),M=null;else{var ie=r.Pop,se=D(),le=se[0],de=se[1];if(K.length){if(le!=null){var He=H-le;He&&(M={action:ie,location:de,retry:function(){G(He*-1)}},G(He))}}else J(ie)}}R.addEventListener(c,B);var j=r.Pop,V=D(),H=V[0],Y=V[1],F=g(),K=g();H==null&&(H=0,T.replaceState((0,t.Z)({},T.state,{idx:H}),""));function X(ie){return typeof ie=="string"?ie:O(ie)}function Q(ie,se){return se===void 0&&(se=null),n((0,t.Z)({pathname:Y.pathname,hash:"",search:""},typeof ie=="string"?S(ie):ie,{state:se,key:P()}))}function W(ie,se){return[{usr:ie.state,key:ie.key,idx:se},X(ie)]}function N(ie,se,le){return!K.length||(K.call({action:ie,location:se,retry:le}),!1)}function J(ie){j=ie;var se=D();H=se[0],Y=se[1],F.call({action:j,location:Y})}function k(ie,se){var le=r.Push,de=Q(ie,se);function He(){k(ie,se)}if(N(le,de,He)){var ze=W(de,H+1),st=ze[0],vt=ze[1];try{T.pushState(st,"",vt)}catch(Je){R.location.assign(vt)}J(le)}}function Z(ie,se){var le=r.Replace,de=Q(ie,se);function He(){Z(ie,se)}if(N(le,de,He)){var ze=W(de,H),st=ze[0],vt=ze[1];T.replaceState(st,"",vt),J(le)}}function G(ie){T.go(ie)}var ee={get action(){return j},get location(){return Y},createHref:X,push:k,replace:Z,go:G,back:function(){G(-1)},forward:function(){G(1)},listen:function(se){return F.push(se)},block:function(se){var le=K.push(se);return K.length===1&&R.addEventListener(s,x),function(){le(),K.length||R.removeEventListener(s,x)}}};return ee}function f(I){I===void 0&&(I={});var E=I,A=E.window,R=A===void 0?document.defaultView:A,T=R.history;function D(){var se=S(R.location.hash.substr(1)),le=se.pathname,de=le===void 0?"/":le,He=se.search,ze=He===void 0?"":He,st=se.hash,vt=st===void 0?"":st,Je=T.state||{};return[Je.idx,n({pathname:de,search:ze,hash:vt,state:Je.usr||null,key:Je.key||"default"})]}var M=null;function B(){if(M)K.call(M),M=null;else{var se=r.Pop,le=D(),de=le[0],He=le[1];if(K.length){if(de!=null){var ze=H-de;ze&&(M={action:se,location:He,retry:function(){ee(ze*-1)}},ee(ze))}}else k(se)}}R.addEventListener(c,B),R.addEventListener(u,function(){var se=D(),le=se[1];O(le)!==O(Y)&&B()});var j=r.Pop,V=D(),H=V[0],Y=V[1],F=g(),K=g();H==null&&(H=0,T.replaceState((0,t.Z)({},T.state,{idx:H}),""));function X(){var se=document.querySelector("base"),le="";if(se&&se.getAttribute("href")){var de=R.location.href,He=de.indexOf("#");le=He===-1?de:de.slice(0,He)}return le}function Q(se){return X()+"#"+(typeof se=="string"?se:O(se))}function W(se,le){return le===void 0&&(le=null),n((0,t.Z)({pathname:Y.pathname,hash:"",search:""},typeof se=="string"?S(se):se,{state:le,key:P()}))}function N(se,le){return[{usr:se.state,key:se.key,idx:le},Q(se)]}function J(se,le,de){return!K.length||(K.call({action:se,location:le,retry:de}),!1)}function k(se){j=se;var le=D();H=le[0],Y=le[1],F.call({action:j,location:Y})}function Z(se,le){var de=r.Push,He=W(se,le);function ze(){Z(se,le)}if(J(de,He,ze)){var st=N(He,H+1),vt=st[0],Je=st[1];try{T.pushState(vt,"",Je)}catch(Ke){R.location.assign(Je)}k(de)}}function G(se,le){var de=r.Replace,He=W(se,le);function ze(){G(se,le)}if(J(de,He,ze)){var st=N(He,H),vt=st[0],Je=st[1];T.replaceState(vt,"",Je),k(de)}}function ee(se){T.go(se)}var ie={get action(){return j},get location(){return Y},createHref:Q,push:Z,replace:G,go:ee,back:function(){ee(-1)},forward:function(){ee(1)},listen:function(le){return F.push(le)},block:function(le){var de=K.push(le);return K.length===1&&R.addEventListener(s,x),function(){de(),K.length||R.removeEventListener(s,x)}}};return ie}function _(I){I===void 0&&(I={});var E=I,A=E.initialEntries,R=A===void 0?["/"]:A,T=E.initialIndex,D=R.map(function(k){var Z=n((0,t.Z)({pathname:"/",search:"",hash:"",state:null,key:P()},typeof k=="string"?S(k):k));return Z}),M=p(T==null?D.length-1:T,0,D.length-1),B=r.Pop,j=D[M],V=g(),H=g();function Y(k){return typeof k=="string"?k:O(k)}function F(k,Z){return Z===void 0&&(Z=null),n((0,t.Z)({pathname:j.pathname,search:"",hash:""},typeof k=="string"?S(k):k,{state:Z,key:P()}))}function K(k,Z,G){return!H.length||(H.call({action:k,location:Z,retry:G}),!1)}function X(k,Z){B=k,j=Z,V.call({action:B,location:j})}function Q(k,Z){var G=r.Push,ee=F(k,Z);function ie(){Q(k,Z)}K(G,ee,ie)&&(M+=1,D.splice(M,D.length,ee),X(G,ee))}function W(k,Z){var G=r.Replace,ee=F(k,Z);function ie(){W(k,Z)}K(G,ee,ie)&&(D[M]=ee,X(G,ee))}function N(k){var Z=p(M+k,0,D.length-1),G=r.Pop,ee=D[Z];function ie(){N(k)}K(G,ee,ie)&&(M=Z,X(G,ee))}var J={get index(){return M},get action(){return B},get location(){return j},createHref:Y,push:Q,replace:W,go:N,back:function(){N(-1)},forward:function(){N(1)},listen:function(Z){return V.push(Z)},block:function(Z){return H.push(Z)}};return J}function p(I,E,A){return Math.min(Math.max(I,E),A)}function x(I){I.preventDefault(),I.returnValue=""}function g(){var I=[];return{get length(){return I.length},push:function(A){return I.push(A),function(){I=I.filter(function(R){return R!==A})}},call:function(A){I.forEach(function(R){return R&&R(A)})}}}function P(){return Math.random().toString(36).substr(2,8)}function O(I){var E=I.pathname,A=E===void 0?"/":E,R=I.search,T=R===void 0?"":R,D=I.hash,M=D===void 0?"":D;return T&&T!=="?"&&(A+=T.charAt(0)==="?"?T:"?"+T),M&&M!=="#"&&(A+=M.charAt(0)==="#"?M:"#"+M),A}function S(I){var E={};if(I){var A=I.indexOf("#");A>=0&&(E.hash=I.substr(A),I=I.substr(0,A));var R=I.indexOf("?");R>=0&&(E.search=I.substr(R),I=I.substr(0,R)),I&&(E.pathname=I)}return E}},94266:function(i,d,e){"use strict";var t=e(99234),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[t.ForwardRef]=a,u[t.Memo]=s;function c(O){return t.isMemo(O)?s:u[O.$$typeof]||r}var o=Object.defineProperty,f=Object.getOwnPropertyNames,_=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,x=Object.getPrototypeOf,g=Object.prototype;function P(O,S,I){if(typeof S!="string"){if(g){var E=x(S);E&&E!==g&&P(O,E,I)}var A=f(S);_&&(A=A.concat(_(S)));for(var R=c(O),T=c(S),D=0;D1?u[o-1]:void 0,_=o>2?u[2]:void 0;for(f=a.length>3&&typeof f=="function"?(o--,f):void 0,_&&r(u[0],u[1],_)&&(f=o<3?void 0:f,o=1),s=Object(s);++c-1&&r%1==0&&r-1}i.exports=r},43475:function(i,d,e){var t=e(82249);function r(n,a){var s=this.__data__,u=t(s,n);return u<0?(++this.size,s.push([n,a])):s[u][1]=a,this}i.exports=r},91642:function(i,d,e){var t=e(79955),r=e(53110),n=e(25281);function a(){this.size=0,this.__data__={hash:new t,map:new(n||r),string:new t}}i.exports=a},71646:function(i,d,e){var t=e(27856);function r(n){var a=t(this,n).delete(n);return this.size-=a?1:0,a}i.exports=r},70200:function(i,d,e){var t=e(27856);function r(n){return t(this,n).get(n)}i.exports=r},85304:function(i,d,e){var t=e(27856);function r(n){return t(this,n).has(n)}i.exports=r},57862:function(i,d,e){var t=e(27856);function r(n,a){var s=t(this,n),u=s.size;return s.set(n,a),this.size+=s.size==u?0:1,this}i.exports=r},60865:function(i,d,e){var t=e(93454),r=t(Object,"create");i.exports=r},54229:function(i){function d(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}i.exports=d},37340:function(i,d,e){i=e.nmd(i);var t=e(89413),r=d&&!d.nodeType&&d,n=r&&!0&&i&&!i.nodeType&&i,a=n&&n.exports===r,s=a&&t.process,u=function(){try{var c=n&&n.require&&n.require("util").types;return c||s&&s.binding&&s.binding("util")}catch(o){}}();i.exports=u},92631:function(i){var d=Object.prototype,e=d.toString;function t(r){return e.call(r)}i.exports=t},1276:function(i){function d(e,t){return function(r){return e(t(r))}}i.exports=d},9291:function(i,d,e){var t=e(33546),r=Math.max;function n(a,s,u){return s=r(s===void 0?a.length-1:s,0),function(){for(var c=arguments,o=-1,f=r(c.length-s,0),_=Array(f);++o0){if(++a>=d)return arguments[0]}else a=0;return n.apply(void 0,arguments)}}i.exports=r},83214:function(i,d,e){var t=e(53110);function r(){this.__data__=new t,this.size=0}i.exports=r},52806:function(i){function d(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}i.exports=d},52032:function(i){function d(e){return this.__data__.get(e)}i.exports=d},51118:function(i){function d(e){return this.__data__.has(e)}i.exports=d},36321:function(i,d,e){var t=e(53110),r=e(25281),n=e(97800),a=200;function s(u,c){var o=this.__data__;if(o instanceof t){var f=o.__data__;if(!r||f.length-1&&t%1==0&&t<=d}i.exports=e},71721:function(i){function d(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}i.exports=d},71161:function(i){function d(e){return e!=null&&typeof e=="object"}i.exports=d},29538:function(i,d,e){var t=e(17325),r=e(13530),n=e(71161),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,o=u.hasOwnProperty,f=c.call(Object);function _(p){if(!n(p)||t(p)!=a)return!1;var x=r(p);if(x===null)return!0;var g=o.call(x,"constructor")&&x.constructor;return typeof g=="function"&&g instanceof g&&c.call(g)==f}i.exports=_},53745:function(i,d,e){var t=e(61651),r=e(82230),n=e(37340),a=n&&n.isTypedArray,s=a?r(a):t;i.exports=s},331:function(i,d,e){var t=e(91762),r=e(54193),n=e(9015);function a(s){return n(s)?t(s,!0):r(s)}i.exports=a},78267:function(i,d,e){i=e.nmd(i);var t;(function(){var r,n="4.17.23",a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",o="__lodash_hash_undefined__",f=500,_="__lodash_placeholder__",p=1,x=2,g=4,P=1,O=2,S=1,I=2,E=4,A=8,R=16,T=32,D=64,M=128,B=256,j=512,V=30,H="...",Y=800,F=16,K=1,X=2,Q=3,W=1/0,N=9007199254740991,J=17976931348623157e292,k=NaN,Z=4294967295,G=Z-1,ee=Z>>>1,ie=[["ary",M],["bind",S],["bindKey",I],["curry",A],["curryRight",R],["flip",j],["partial",T],["partialRight",D],["rearg",B]],se="[object Arguments]",le="[object Array]",de="[object AsyncFunction]",He="[object Boolean]",ze="[object Date]",st="[object DOMException]",vt="[object Error]",Je="[object Function]",Ke="[object GeneratorFunction]",Re="[object Map]",Ce="[object Number]",me="[object Null]",at="[object Object]",ct="[object Promise]",St="[object Proxy]",bt="[object RegExp]",Ie="[object Set]",$e="[object String]",ft="[object Symbol]",ke="[object Undefined]",ye="[object WeakMap]",fe="[object WeakSet]",Oe="[object ArrayBuffer]",Ee="[object DataView]",et="[object Float32Array]",mt="[object Float64Array]",pe="[object Int8Array]",ge="[object Int16Array]",lt="[object Int32Array]",Qe="[object Uint8Array]",Ve="[object Uint8ClampedArray]",it="[object Uint16Array]",Dt="[object Uint32Array]",Yt=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,je=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Be=/&(?:amp|lt|gt|quot|#39);/g,ht=/[&<>"']/g,At=RegExp(Be.source),ce=RegExp(ht.source),_t=/<%-([\s\S]+?)%>/g,qt=/<%([\s\S]+?)%>/g,Ht=/<%=([\s\S]+?)%>/g,Ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cr=/^\w*$/,Ze=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dt=/[\\^$.*+?()[\]{}|]/g,kt=RegExp(dt.source),ar=/^\s+/,$t=/\s/,pr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ir=/\{\n\/\* \[wrapped with (.+)\] \*/,kr=/,? & /,er=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nt=/[()=,{}\[\]\/\s]/,Kt=/\\(\\)?/g,Qt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cr=/\w*$/,Er=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,qe=/^\[object .+?Constructor\]$/,Ue=/^0o[0-7]+$/i,Le=/^(?:0|[1-9]\d*)$/,rt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Tt=/($^)/,Lt=/['\n\r\u2028\u2029\\]/g,gr="\\ud800-\\udfff",yr="\\u0300-\\u036f",Ur="\\ufe20-\\ufe2f",bn="\\u20d0-\\u20ff",sr=yr+Ur+bn,_n="\\u2700-\\u27bf",on="a-z\\xdf-\\xf6\\xf8-\\xff",Fe="\\xac\\xb1\\xd7\\xf7",Ne="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",en="\\u2000-\\u206f",pn=" \\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",ha="A-Z\\xc0-\\xd6\\xd8-\\xde",ma="\\ufe0e\\ufe0f",On=Fe+Ne+en+pn,za="['\u2019]",ja="["+gr+"]",gn="["+On+"]",Va="["+sr+"]",va="\\d+",_o="["+_n+"]",no="["+on+"]",Ja="[^"+gr+On+va+_n+on+ha+"]",Za="\\ud83c[\\udffb-\\udfff]",No="(?:"+Va+"|"+Za+")",ya="[^"+gr+"]",na="(?:\\ud83c[\\udde6-\\uddff]){2}",En="[\\ud800-\\udbff][\\udc00-\\udfff]",wa="["+ha+"]",Pe="\\u200d",$n="(?:"+no+"|"+Ja+")",aa="(?:"+wa+"|"+Ja+")",yo="(?:"+za+"(?:d|ll|m|re|s|t|ve))?",ai="(?:"+za+"(?:D|LL|M|RE|S|T|VE))?",Wa=No+"?",Ha="["+ma+"]?",De="(?:"+Pe+"(?:"+[ya,na,En].join("|")+")"+Ha+Wa+")*",xe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",q=Ha+Wa+De,It="(?:"+[_o,na,En].join("|")+")"+q,Jt="(?:"+[ya+Va+"?",Va,na,En,ja].join("|")+")",Pr=RegExp(za,"g"),Rr=RegExp(Va,"g"),Sr=RegExp(Za+"(?="+Za+")|"+Jt+q,"g"),Gr=RegExp([wa+"?"+no+"+"+yo+"(?="+[gn,wa,"$"].join("|")+")",aa+"+"+ai+"(?="+[gn,wa+$n,"$"].join("|")+")",wa+"?"+$n+"+"+yo,wa+"+"+ai,Xe,xe,va,It].join("|"),"g"),ea=RegExp("["+Pe+gr+sr+ma+"]"),Mr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,sn=["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"],nt=-1,be={};be[et]=be[mt]=be[pe]=be[ge]=be[lt]=be[Qe]=be[Ve]=be[it]=be[Dt]=!0,be[se]=be[le]=be[Oe]=be[He]=be[Ee]=be[ze]=be[vt]=be[Je]=be[Re]=be[Ce]=be[at]=be[bt]=be[Ie]=be[$e]=be[ye]=!1;var ue={};ue[se]=ue[le]=ue[Oe]=ue[Ee]=ue[He]=ue[ze]=ue[et]=ue[mt]=ue[pe]=ue[ge]=ue[lt]=ue[Re]=ue[Ce]=ue[at]=ue[bt]=ue[Ie]=ue[$e]=ue[ft]=ue[Qe]=ue[Ve]=ue[it]=ue[Dt]=!0,ue[vt]=ue[Je]=ue[ye]=!1;var Ye={\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"},Me={"&":"&","<":"<",">":">",'"':""","'":"'"},yt={"&":"&","<":"<",">":">",""":'"',"'":"'"},xt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zt=parseFloat,hr=parseInt,xr=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,or=typeof self=="object"&&self&&self.Object===Object&&self,wr=xr||or||Function("return this")(),an=d&&!d.nodeType&&d,zn=an&&!0&&i&&!i.nodeType&&i,un=zn&&zn.exports===an,tn=un&&xr.process,vr=function(){try{var Pt=zn&&zn.require&&zn.require("util").types;return Pt||tn&&tn.binding&&tn.binding("util")}catch(Gt){}}(),mn=vr&&vr.isArrayBuffer,Wr=vr&&vr.isDate,Sn=vr&&vr.isMap,jn=vr&&vr.isRegExp,wn=vr&&vr.isSet,Ea=vr&&vr.isTypedArray;function Pn(Pt,Gt,Vt){switch(Vt.length){case 0:return Pt.call(Gt);case 1:return Pt.call(Gt,Vt[0]);case 2:return Pt.call(Gt,Vt[0],Vt[1]);case 3:return Pt.call(Gt,Vt[0],Vt[1],Vt[2])}return Pt.apply(Gt,Vt)}function la(Pt,Gt,Vt,Tr){for(var Hr=-1,Ae=Pt==null?0:Pt.length;++Hr-1}function ia(Pt,Gt,Vt){for(var Tr=-1,Hr=Pt==null?0:Pt.length;++Tr-1;);return Vt}function vs(Pt,Gt){for(var Vt=Pt.length;Vt--&&zo(Gt,Pt[Vt],0)>-1;);return Vt}function $i(Pt,Gt){for(var Vt=Pt.length,Tr=0;Vt--;)Pt[Vt]===Gt&&++Tr;return Tr}var qi=$o(Ye),hs=$o(Me);function Hi(Pt){return"\\"+xt[Pt]}function Ks(Pt,Gt){return Pt==null?r:Pt[Gt]}function Eo(Pt){return ea.test(Pt)}function Xs(Pt){return Mr.test(Pt)}function es(Pt){for(var Gt,Vt=[];!(Gt=Pt.next()).done;)Vt.push(Gt.value);return Vt}function Di(Pt){var Gt=-1,Vt=Array(Pt.size);return Pt.forEach(function(Tr,Hr){Vt[++Gt]=[Hr,Tr]}),Vt}function Ii(Pt,Gt){return function(Vt){return Pt(Gt(Vt))}}function Ro(Pt,Gt){for(var Vt=-1,Tr=Pt.length,Hr=0,Ae=[];++Vt-1}function Yc(v,w){var L=this.__data__,ne=hu(L,v);return ne<0?(++this.size,L.push([v,w])):L[ne][1]=w,this}ti.prototype.clear=Ui,ti.prototype.delete=Zu,ti.prototype.get=Wi,ti.prototype.has=Xc,ti.prototype.set=Yc;function As(v){var w=-1,L=v==null?0:v.length;for(this.clear();++w=w?v:w)),v}function Ti(v,w,L,ne,Te,ot){var Ct,zt=w&p,nr=w&x,Lr=w&g;if(L&&(Ct=Te?L(v,ne,Te,ot):L(v)),Ct!==r)return Ct;if(!ci(v))return v;var Nr=Ga(v);if(Nr){if(Ct=Bc(v),!zt)return vi(v,Ct)}else{var qr=Ya(v),Cn=qr==Je||qr==Ke;if(bl(v))return nu(v,zt);if(qr==at||qr==se||Cn&&!Te){if(Ct=nr||Cn?{}:iu(v),!zt)return nr?Mu(v,_u(Ct,v)):tc(v,qc(Ct,v))}else{if(!ue[qr])return Te?v:{};Ct=kn(v,qr,zt)}}ot||(ot=new fi);var ta=ot.get(v);if(ta)return ta;ot.set(v,Ct),Nd(v)?v.forEach(function(Ca){Ct.add(Ti(Ca,w,L,Ca,v,ot))}):Ld(v)&&v.forEach(function(Ca,lo){Ct.set(lo,Ti(Ca,w,L,lo,v,ot))});var Sa=Lr?nr?b:y:nr?Ws:Ni,to=Nr?r:Sa(v);return dn(to||v,function(Ca,lo){to&&(lo=Ca,Ca=v[lo]),Js(Ct,lo,Ti(Ca,w,L,lo,v,ot))}),Ct}function Xa(v){var w=Ni(v);return function(L){return Ts(L,v,w)}}function Ts(v,w,L){var ne=L.length;if(v==null)return!ne;for(v=Qr(v);ne--;){var Te=L[ne],ot=w[Te],Ct=v[Te];if(Ct===r&&!(Te in v)||!ot(Ct))return!1}return!0}function xc(v,w,L){if(typeof v!="function")throw new rr(u);return pc(function(){v.apply(r,L)},w)}function Rs(v,w,L,ne){var Te=-1,ot=oa,Ct=!0,zt=v.length,nr=[],Lr=w.length;if(!zt)return nr;L&&(w=sa(w,qo(L))),ne?(ot=ia,Ct=!1):w.length>=a&&(ot=Qi,Ct=!1,w=new _s(w));e:for(;++TeTe?0:Te+L),ne=ne===r||ne>Te?Te:Qa(ne),ne<0&&(ne+=Te),ne=L>ne?0:zd(ne);L0&&L(zt)?w>1?ri(zt,w-1,L,ne,Te):fo(Te,zt):ne||(Te[Te.length]=zt)}return Te}var Wu=Mc(),Gu=Mc(!0);function bi(v,w){return v&&Wu(v,w,Ni)}function ks(v,w){return v&&Gu(v,w,Ni)}function wc(v,w){return Ra(w,function(L){return Gc(v[L])})}function ys(v,w){w=Ls(w,v);for(var L=0,ne=w.length;v!=null&&Lw}function Vu(v,w){return v!=null&&Zn.call(v,w)}function Ku(v,w){return v!=null&&w in Qr(v)}function qs(v,w,L){return v>=Ia(w,L)&&v=120&&Nr.length>=120)?new _s(Ct&&Nr):r}Nr=v[0];var qr=-1,Cn=zt[0];e:for(;++qr-1;)zt!==v&&Rt.call(zt,nr,1),Rt.call(v,nr,1);return v}function Li(v,w){for(var L=v?w.length:0,ne=L-1;L--;){var Te=w[L];if(L==ne||Te!==ot){var ot=Te;Qo(Te)?Rt.call(v,Te,1):Ac(v,Te)}}return v}function ns(v,w){return v+In($a()*(w-v+1))}function Ju(v,w,L,ne){for(var Te=-1,ot=An(Rn((w-v)/(L||1)),0),Ct=Vt(ot);ot--;)Ct[ne?ot:++Te]=v,v+=L;return Ct}function mu(v,w){var L="";if(!v||w<1||w>N)return L;do w%2&&(L+=v),w=In(w/2),w&&(v+=v);while(w);return L}function La(v,w){return Pu(Fi(v,w,Gs),v+"")}function Cl(v){return ts(Kl(v))}function Ol(v,w){var L=Kl(v);return Gn(L,$s(w,0,L.length))}function bs(v,w,L,ne){if(!ci(v))return v;w=Ls(w,v);for(var Te=-1,ot=w.length,Ct=ot-1,zt=v;zt!=null&&++TeTe?0:Te+w),L=L>Te?Te:L,L<0&&(L+=Te),Te=w>L?0:L-w>>>0,w>>>=0;for(var ot=Vt(Te);++ne>>1,Ct=v[ot];Ct!==null&&!fu(Ct)&&(L?Ct<=w:Ct=a){var Lr=w?null:Al(v);if(Lr)return Ai(Lr);Ct=!1,Te=Qi,nr=new _s}else nr=w?[]:zt;e:for(;++ne=ne?v:Pi(v,w,L)}var Rc=Dr||function(v){return wr.clearTimeout(v)};function nu(v,w){if(w)return v.slice();var L=v.length,ne=ve?ve(L):new v.constructor(L);return v.copy(ne),ne}function cl(v){var w=new v.constructor(v.byteLength);return new Mo(w).set(new Mo(v)),w}function ll(v,w){var L=w?cl(v.buffer):v.buffer;return new v.constructor(L,v.byteOffset,v.byteLength)}function ec(v){var w=new v.constructor(v.source,Cr.exec(v));return w.lastIndex=v.lastIndex,w}function Ko(v){return Da?Qr(Da.call(v)):{}}function gu(v,w){var L=w?cl(v.buffer):v.buffer;return new v.constructor(L,v.byteOffset,v.length)}function ae(v,w){if(v!==w){var L=v!==r,ne=v===null,Te=v===v,ot=fu(v),Ct=w!==r,zt=w===null,nr=w===w,Lr=fu(w);if(!zt&&!Lr&&!ot&&v>w||ot&&Ct&&nr&&!zt&&!Lr||ne&&Ct&&nr||!L&&nr||!Te)return 1;if(!ne&&!ot&&!Lr&&v=zt)return nr;var Lr=L[ne];return nr*(Lr=="desc"?-1:1)}}return v.index-w.index}function Wo(v,w,L,ne){for(var Te=-1,ot=v.length,Ct=L.length,zt=-1,nr=w.length,Lr=An(ot-Ct,0),Nr=Vt(nr+Lr),qr=!ne;++zt1?L[Te-1]:r,Ct=Te>2?L[2]:r;for(ot=v.length>3&&typeof ot=="function"?(Te--,ot):r,Ct&&Fo(L[0],L[1],Ct)&&(ot=Te<3?r:ot,Te=1),w=Qr(w);++ne-1?Te[ot?w[Ct]:Ct]:r}}function nc(v){return m(function(w){var L=w.length,ne=L,Te=Mt.prototype.thru;for(v&&w.reverse();ne--;){var ot=w[ne];if(typeof ot!="function")throw new rr(u);if(Te&&!Ct&&oe(ot)=="wrapper")var Ct=new Mt([],!0)}for(ne=Ct?ne:L;++ne1&&mo.reverse(),Nr&&nrzt))return!1;var Lr=ot.get(v),Nr=ot.get(w);if(Lr&&Nr)return Lr==w&&Nr==v;var qr=-1,Cn=!0,ta=L&O?new _s:r;for(ot.set(v,w),ot.set(w,v);++qr1?"& ":"")+w[ne],w=w.join(L>2?", ":" "),v.replace(pr,`{ /* [wrapped with `+w+`] */ -`)}function cc(v){return Ga(v)||zl(v)||!!(Wt&&v&&v[Wt])}function Qo(v,w){var L=typeof v;return w=w==null?N:w,!!w&&(L=="number"||L!="symbol"&&Le.test(v))&&v>-1&&v%1==0&&v0){if(++w>=Y)return arguments[0]}else w=0;return v.apply(r,arguments)}}function Gn(v,w){var L=-1,ne=v.length,Te=ne-1;for(w=w===r?ne:w;++L1?v[w-1]:r;return L=typeof L=="function"?(v.pop(),L):r,ka(v,L)});function Zr(v){var w=$(v);return w.__chain__=!0,w}function Fa(v,w){return w(v),v}function Bn(v,w){return w(v)}var Na=m(function(v){var w=v.length,L=w?v[0]:0,ne=this.__wrapped__,Te=function(ot){return gs(ot,v)};return w>1||this.__actions__.length||!(ne instanceof lr)||!Qo(L)?this.thru(Te):(ne=ne.slice(L,+L+(w?1:0)),ne.__actions__.push({func:Bn,args:[Te],thisArg:r}),new kt(ne,this.__chain__).thru(function(ot){return w&&!ot.length&&ot.push(r),ot}))});function eo(){return Zr(this)}function Ua(){return new kt(this.value(),this.__chain__)}function hc(){this.__values__===r&&(this.__values__=Bd(this.value()));var v=this.__index__>=this.__values__.length,w=v?r:this.__values__[this.__index__++];return{done:v,value:w}}function fd(){return this}function qd(v){for(var w,L=this;L instanceof fr;){var ne=ho(L);ne.__index__=0,ne.__values__=r,w?Te.__wrapped__=ne:w=ne;var Te=ne;L=L.__wrapped__}return Te.__wrapped__=v,w}function ef(){var v=this.__wrapped__;if(v instanceof lr){var w=v;return this.__actions__.length&&(w=new lr(this)),w=w.reverse(),w.__actions__.push({func:Bn,args:[Fl],thisArg:r}),new kt(w,this.__chain__)}return this.thru(Fl)}function tf(){return Tc(this.__wrapped__,this.__actions__)}var rf=au(function(v,w,L){Zn.call(v,L)?++v[L]:Mo(v,L,1)});function nf(v,w,L){var ne=Ga(v)?xa:Ri;return L&&Fo(v,w,L)&&(w=r),ne(v,dr(w,3))}function af(v,w){var L=Ga(v)?Ra:el;return L(v,dr(w,3))}var of=fl(Zc),sf=fl(gl);function uf(v,w){return ri(td(v,w),1)}function cf(v,w){return ri(td(v,w),W)}function lf(v,w,L){return L=L===r?1:Qa(L),ri(td(v,w),L)}function Cd(v,w){var L=Ga(v)?dn:ks;return L(v,dr(w,3))}function Od(v,w){var L=Ga(v)?Fn:bc;return L(v,dr(w,3))}var df=au(function(v,w,L){Zn.call(v,L)?v[L].push(w):Mo(v,L,[w])});function ff(v,w,L,ne){v=Us(v)?v:Kl(v),L=L&&!ne?Qa(L):0;var Te=v.length;return L<0&&(L=An(Te+L,0)),id(v)?L<=Te&&v.indexOf(w,L)>-1:!!Te&&zo(v,w,L)>-1}var pf=La(function(v,w,L){var ne=-1,Te=typeof w=="function",ot=Us(v)?Vt(v.length):[];return ks(v,function(Ct){ot[++ne]=Te?Pn(w,Ct,L):Iu(Ct,w,L)}),ot}),vf=au(function(v,w,L){Mo(v,L,w)});function td(v,w){var L=Ga(v)?sa:ji;return L(v,dr(w,3))}function hf(v,w,L,ne){return v==null?[]:(Ga(w)||(w=w==null?[]:[w]),L=ne?r:L,Ga(L)||(L=L==null?[]:[L]),Du(v,w,L))}var _f=au(function(v,w,L){v[L?0:1].push(w)},function(){return[[],[]]});function mf(v,w,L){var ne=Ga(v)?Bo:ds,Te=arguments.length<3;return ne(v,dr(w,4),L,Te,ks)}function gf(v,w,L){var ne=Ga(v)?Jo:ds,Te=arguments.length<3;return ne(v,dr(w,4),L,Te,bc)}function yf(v,w){var L=Ga(v)?Ra:el;return L(v,ad(dr(w,3)))}function xf(v){var w=Ga(v)?ts:Cl;return w(v)}function bf(v,w,L){(L?Fo(v,w,L):w===r)?w=1:w=Qa(w);var ne=Ga(v)?gc:Ol;return ne(v,w)}function wf(v){var w=Ga(v)?yc:Ic;return w(v)}function Pf(v){if(v==null)return 0;if(Us(v))return id(v)?gt(v):v.length;var w=Ya(v);return w==Re||w==Ie?v.size:tu(v).length}function Ef(v,w,L){var ne=Ga(v)?Si:ol;return L&&Fo(v,w,L)&&(w=r),ne(v,dr(w,3))}var Sf=La(function(v,w){if(v==null)return[];var L=w.length;return L>1&&Fo(v,w[0],w[1])?w=[]:L>2&&Fo(w[0],w[1],w[2])&&(w=[w[0]]),Du(v,ri(w,1),[])}),rd=ln||function(){return wr.Date.now()};function Cf(v,w){if(typeof w!="function")throw new rr(u);return v=Qa(v),function(){if(--v<1)return w.apply(this,arguments)}}function Id(v,w,L){return w=L?r:w,w=v&&w==null?v.length:w,ss(v,k,r,r,r,r,w)}function Ad(v,w){var L;if(typeof w!="function")throw new rr(u);return v=Qa(v),function(){return--v>0&&(L=w.apply(this,arguments)),v<=1&&(w=r),L}}var pd=La(function(v,w,L){var ne=S;if(L.length){var Te=Ro(L,mr(pd));ne|=T}return ss(v,ne,w,L,Te)}),Dd=La(function(v,w,L){var ne=S|I;if(L.length){var Te=Ro(L,mr(Dd));ne|=T}return ss(w,ne,v,L,Te)});function Td(v,w,L){w=L?r:w;var ne=ss(v,A,r,r,r,r,r,w);return ne.placeholder=Td.placeholder,ne}function Rd(v,w,L){w=L?r:w;var ne=ss(v,R,r,r,r,r,r,w);return ne.placeholder=Rd.placeholder,ne}function kd(v,w,L){var ne,Te,ot,Ct,zt,nr,Lr=0,Nr=!1,qr=!1,Cn=!0;if(typeof v!="function")throw new rr(u);w=Su(w)||0,ci(L)&&(Nr=!!L.leading,qr="maxWait"in L,ot=qr?An(Su(L.maxWait)||0,w):ot,Cn="trailing"in L?!!L.trailing:Cn);function ta(gi){var zu=ne,Kc=Te;return ne=Te=r,Lr=gi,Ct=v.apply(Kc,zu),Ct}function Sa(gi){return Lr=gi,zt=pc(lo,w),Nr?ta(gi):Ct}function to(gi){var zu=gi-nr,Kc=gi-Lr,$d=w-zu;return qr?Ia($d,ot-Kc):$d}function Ca(gi){var zu=gi-nr,Kc=gi-Lr;return nr===r||zu>=w||zu<0||qr&&Kc>=ot}function lo(){var gi=rd();if(Ca(gi))return mo(gi);zt=pc(lo,to(gi))}function mo(gi){return zt=r,Cn&&ne?ta(gi):(ne=Te=r,Ct)}function pu(){zt!==r&&Rc(zt),Lr=0,ne=nr=Te=zt=r}function Cs(){return zt===r?Ct:mo(rd())}function vu(){var gi=rd(),zu=Ca(gi);if(ne=arguments,Te=this,nr=gi,zu){if(zt===r)return Sa(nr);if(qr)return Rc(zt),zt=pc(lo,w),ta(nr)}return zt===r&&(zt=pc(lo,w)),Ct}return vu.cancel=pu,vu.flush=Cs,vu}var Of=La(function(v,w){return xc(v,1,w)}),If=La(function(v,w,L){return xc(v,Su(w)||0,L)});function Af(v){return ss(v,j)}function nd(v,w){if(typeof v!="function"||w!=null&&typeof w!="function")throw new rr(u);var L=function(){var ne=arguments,Te=w?w.apply(this,ne):ne[0],ot=L.cache;if(ot.has(Te))return ot.get(Te);var Ct=v.apply(this,ne);return L.cache=ot.set(Te,Ct)||ot,Ct};return L.cache=new(nd.Cache||As),L}nd.Cache=As;function ad(v){if(typeof v!="function")throw new rr(u);return function(){var w=arguments;switch(w.length){case 0:return!v.call(this);case 1:return!v.call(this,w[0]);case 2:return!v.call(this,w[0],w[1]);case 3:return!v.call(this,w[0],w[1],w[2])}return!v.apply(this,w)}}function Df(v){return Ad(2,v)}var Tf=os(function(v,w){w=w.length==1&&Ga(w[0])?sa(w[0],qo(dr())):sa(ri(w,1),qo(dr()));var L=w.length;return La(function(ne){for(var Te=-1,ot=Ia(ne.length,L);++Te=w}),zl=yn(function(){return arguments}())?yn:function(v){return di(v)&&Zn.call(v,"callee")&&!tt.call(v,"callee")},Ga=Vt.isArray,Vf=mn?qo(mn):jo;function Us(v){return v!=null&&od(v.length)&&!Gc(v)}function mi(v){return di(v)&&Us(v)}function Kf(v){return v===!0||v===!1||di(v)&&ni(v)==He}var bl=Kn||Sd,Xf=Wr?qo(Wr):Ec;function Yf(v){return di(v)&&v.nodeType===1&&!$l(v)}function Qf(v){if(v==null)return!0;if(Us(v)&&(Ga(v)||typeof v=="string"||typeof v.splice=="function"||bl(v)||Vl(v)||zl(v)))return!v.length;var w=Ya(v);if(w==Re||w==Ie)return!v.size;if(cu(v))return!tu(v).length;for(var L in v)if(Zn.call(v,L))return!1;return!0}function Jf(v,w){return Mi(v,w)}function $f(v,w,L){L=typeof L=="function"?L:r;var ne=L?L(v,w):r;return ne===r?Mi(v,w,r,L):!!ne}function hd(v){if(!di(v))return!1;var w=ni(v);return w==vt||w==st||typeof v.message=="string"&&typeof v.name=="string"&&!$l(v)}function qf(v){return typeof v=="number"&&kn(v)}function Gc(v){if(!ci(v))return!1;var w=ni(v);return w==Je||w==Ke||w==de||w==St}function jd(v){return typeof v=="number"&&v==Qa(v)}function od(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=N}function ci(v){var w=typeof v;return v!=null&&(w=="object"||w=="function")}function di(v){return v!=null&&typeof v=="object"}var Ld=Sn?qo(Sn):rs;function ep(v,w){return v===w||Sc(v,w,Xn(w))}function tp(v,w,L){return L=typeof L=="function"?L:r,Sc(v,w,Xn(w),L)}function rp(v){return Fd(v)&&v!=+v}function np(v){if(us(v))throw new Hr(s);return tl(v)}function ap(v){return v===null}function op(v){return v==null}function Fd(v){return typeof v=="number"||di(v)&&ni(v)==Ce}function $l(v){if(!di(v)||ni(v)!=at)return!1;var w=he(v);if(w===null)return!0;var L=Zn.call(w,"constructor")&&w.constructor;return typeof L=="function"&&L instanceof L&&bo.call(L)==Ka}var _d=jn?qo(jn):Cc;function ip(v){return jd(v)&&v>=-N&&v<=N}var Nd=wn?qo(wn):si;function id(v){return typeof v=="string"||!Ga(v)&&di(v)&&ni(v)==$e}function fu(v){return typeof v=="symbol"||di(v)&&ni(v)==ft}var Vl=Ea?qo(Ea):Yu;function sp(v){return v===r}function up(v){return di(v)&&Ya(v)==ye}function cp(v){return di(v)&&ni(v)==fe}var lp=jc(ru),dp=jc(function(v,w){return v<=w});function Bd(v){if(!v)return[];if(Us(v))return id(v)?Ot(v):vi(v);if(tr&&v[tr])return es(v[tr]());var w=Ya(v),L=w==Re?Di:w==Ie?Ai:Kl;return L(v)}function Vc(v){if(!v)return v===0?v:0;if(v=Su(v),v===W||v===-W){var w=v<0?-1:1;return w*J}return v===v?v:0}function Qa(v){var w=Vc(v),L=w%1;return w===w?L?w-L:w:0}function zd(v){return v?$s(Qa(v),0,Z):0}function Su(v){if(typeof v=="number")return v;if(fu(v))return M;if(ci(v)){var w=typeof v.valueOf=="function"?v.valueOf():v;v=ci(w)?w+"":w}if(typeof v!="string")return v===0?v:+v;v=Vs(v);var L=wt.test(v);return L||Ue.test(v)?hr(v.slice(2),L?2:8):Er.test(v)?M:+v}function Zd(v){return Gi(v,Ws(v))}function fp(v){return v?$s(Qa(v),-N,N):v===0?v:0}function Po(v){return v==null?"":Ei(v)}var pp=ou(function(v,w){if(cu(w)||Us(w)){Gi(w,Ni(w),v);return}for(var L in w)Zn.call(w,L)&&Js(v,L,w[L])}),Hd=ou(function(v,w){Gi(w,Ws(w),v)}),sd=ou(function(v,w,L,ne){Gi(w,Ws(w),v,ne)}),vp=ou(function(v,w,L,ne){Gi(w,Ni(w),v,ne)}),hp=m(gs);function _p(v,w){var L=Ft(v);return w==null?L:qc(L,w)}var mp=La(function(v,w){v=Qr(v);var L=-1,ne=w.length,Te=ne>2?w[2]:r;for(Te&&Fo(w[0],w[1],Te)&&(ne=1);++L1),ot}),Gi(v,b(v),L),ne&&(L=Ti(L,p|x|g,Fc));for(var Te=w.length;Te--;)Ac(L,w[Te]);return L});function jp(v,w){return Wd(v,ad(dr(w)))}var Lp=m(function(v,w){return v==null?{}:wi(v,w)});function Wd(v,w){if(v==null)return{};var L=sa(b(v),function(ne){return[ne]});return w=dr(w),Oc(v,L,function(ne,Te){return w(ne,Te[0])})}function Fp(v,w,L){w=Ls(w,v);var ne=-1,Te=w.length;for(Te||(Te=1,v=r);++new){var ne=v;v=w,w=ne}if(L||v%1||w%1){var Te=$a();return Ia(v+Te*(w-v+Zt("1e-"+((Te+"").length-1))),w)}return ns(v,w)}var Xp=ui(function(v,w,L){return w=w.toLowerCase(),v+(L?Kd(w):w)});function Kd(v){return yd(Po(v).toLowerCase())}function Xd(v){return v=Po(v),v&&v.replace(rt,qi).replace(Rr,"")}function Yp(v,w,L){v=Po(v),w=Ei(w);var ne=v.length;L=L===r?ne:$s(Qa(L),0,ne);var Te=L;return L-=w.length,L>=0&&v.slice(L,Te)==w}function Qp(v){return v=Po(v),v&&ce.test(v)?v.replace(ht,hs):v}function Jp(v){return v=Po(v),v&&Mt.test(v)?v.replace(dt,"\\$&"):v}var $p=ui(function(v,w,L){return v+(L?"-":"")+w.toLowerCase()}),qp=ui(function(v,w,L){return v+(L?" ":"")+w.toLowerCase()}),e0=Mu("toLowerCase");function t0(v,w,L){v=Po(v),w=Qa(w);var ne=w?gt(v):0;if(!w||ne>=w)return v;var Te=(w-ne)/2;return ac(In(Te),L)+v+ac(Rn(Te),L)}function r0(v,w,L){v=Po(v),w=Qa(w);var ne=w?gt(v):0;return w&&ne>>0,L?(v=Po(v),v&&(typeof w=="string"||w!=null&&!_d(w))&&(w=Ei(w),!w&&Eo(v))?Uo(Ot(v),0,L):v.split(w,L)):[]}var c0=ui(function(v,w,L){return v+(L?" ":"")+yd(w)});function l0(v,w,L){return v=Po(v),L=L==null?0:$s(Qa(L),0,v.length),w=Ei(w),v.slice(L,L+w.length)==w}function d0(v,w,L){var ne=$.templateSettings;L&&Fo(v,w,L)&&(w=r),v=Po(v),w=sd({},w,ne,ic);var Te=sd({},w.imports,ne.imports,ic),ot=Ni(Te),Ct=ps(Te,ot),zt,nr,Lr=0,Nr=w.interpolate||Tt,qr="__p += '",Cn=Yn((w.escape||Tt).source+"|"+Nr.source+"|"+(Nr===Ht?Qt:Tt).source+"|"+(w.evaluate||Tt).source+"|$","g"),ta="//# sourceURL="+(Zn.call(w,"sourceURL")?(w.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+` +`)}function cc(v){return Ga(v)||zl(v)||!!(Wt&&v&&v[Wt])}function Qo(v,w){var L=typeof v;return w=w==null?N:w,!!w&&(L=="number"||L!="symbol"&&Le.test(v))&&v>-1&&v%1==0&&v0){if(++w>=Y)return arguments[0]}else w=0;return v.apply(r,arguments)}}function Gn(v,w){var L=-1,ne=v.length,Te=ne-1;for(w=w===r?ne:w;++L1?v[w-1]:r;return L=typeof L=="function"?(v.pop(),L):r,Ma(v,L)});function Zr(v){var w=$(v);return w.__chain__=!0,w}function Fa(v,w){return w(v),v}function Bn(v,w){return w(v)}var Na=m(function(v){var w=v.length,L=w?v[0]:0,ne=this.__wrapped__,Te=function(ot){return gs(ot,v)};return w>1||this.__actions__.length||!(ne instanceof lr)||!Qo(L)?this.thru(Te):(ne=ne.slice(L,+L+(w?1:0)),ne.__actions__.push({func:Bn,args:[Te],thisArg:r}),new Mt(ne,this.__chain__).thru(function(ot){return w&&!ot.length&&ot.push(r),ot}))});function eo(){return Zr(this)}function Ua(){return new Mt(this.value(),this.__chain__)}function hc(){this.__values__===r&&(this.__values__=Bd(this.value()));var v=this.__index__>=this.__values__.length,w=v?r:this.__values__[this.__index__++];return{done:v,value:w}}function fd(){return this}function qd(v){for(var w,L=this;L instanceof fr;){var ne=ho(L);ne.__index__=0,ne.__values__=r,w?Te.__wrapped__=ne:w=ne;var Te=ne;L=L.__wrapped__}return Te.__wrapped__=v,w}function ef(){var v=this.__wrapped__;if(v instanceof lr){var w=v;return this.__actions__.length&&(w=new lr(this)),w=w.reverse(),w.__actions__.push({func:Bn,args:[Fl],thisArg:r}),new Mt(w,this.__chain__)}return this.thru(Fl)}function tf(){return Tc(this.__wrapped__,this.__actions__)}var rf=au(function(v,w,L){Zn.call(v,L)?++v[L]:ko(v,L,1)});function nf(v,w,L){var ne=Ga(v)?xa:Ri;return L&&Fo(v,w,L)&&(w=r),ne(v,dr(w,3))}function af(v,w){var L=Ga(v)?Ra:el;return L(v,dr(w,3))}var of=fl(Zc),sf=fl(gl);function uf(v,w){return ri(td(v,w),1)}function cf(v,w){return ri(td(v,w),W)}function lf(v,w,L){return L=L===r?1:Qa(L),ri(td(v,w),L)}function Cd(v,w){var L=Ga(v)?dn:Ms;return L(v,dr(w,3))}function Od(v,w){var L=Ga(v)?Fn:bc;return L(v,dr(w,3))}var df=au(function(v,w,L){Zn.call(v,L)?v[L].push(w):ko(v,L,[w])});function ff(v,w,L,ne){v=Us(v)?v:Kl(v),L=L&&!ne?Qa(L):0;var Te=v.length;return L<0&&(L=An(Te+L,0)),id(v)?L<=Te&&v.indexOf(w,L)>-1:!!Te&&zo(v,w,L)>-1}var pf=La(function(v,w,L){var ne=-1,Te=typeof w=="function",ot=Us(v)?Vt(v.length):[];return Ms(v,function(Ct){ot[++ne]=Te?Pn(w,Ct,L):Iu(Ct,w,L)}),ot}),vf=au(function(v,w,L){ko(v,L,w)});function td(v,w){var L=Ga(v)?sa:ji;return L(v,dr(w,3))}function hf(v,w,L,ne){return v==null?[]:(Ga(w)||(w=w==null?[]:[w]),L=ne?r:L,Ga(L)||(L=L==null?[]:[L]),Du(v,w,L))}var _f=au(function(v,w,L){v[L?0:1].push(w)},function(){return[[],[]]});function mf(v,w,L){var ne=Ga(v)?Bo:ds,Te=arguments.length<3;return ne(v,dr(w,4),L,Te,Ms)}function gf(v,w,L){var ne=Ga(v)?Jo:ds,Te=arguments.length<3;return ne(v,dr(w,4),L,Te,bc)}function yf(v,w){var L=Ga(v)?Ra:el;return L(v,ad(dr(w,3)))}function xf(v){var w=Ga(v)?ts:Cl;return w(v)}function bf(v,w,L){(L?Fo(v,w,L):w===r)?w=1:w=Qa(w);var ne=Ga(v)?gc:Ol;return ne(v,w)}function wf(v){var w=Ga(v)?yc:Ic;return w(v)}function Pf(v){if(v==null)return 0;if(Us(v))return id(v)?gt(v):v.length;var w=Ya(v);return w==Re||w==Ie?v.size:tu(v).length}function Ef(v,w,L){var ne=Ga(v)?Si:ol;return L&&Fo(v,w,L)&&(w=r),ne(v,dr(w,3))}var Sf=La(function(v,w){if(v==null)return[];var L=w.length;return L>1&&Fo(v,w[0],w[1])?w=[]:L>2&&Fo(w[0],w[1],w[2])&&(w=[w[0]]),Du(v,ri(w,1),[])}),rd=ln||function(){return wr.Date.now()};function Cf(v,w){if(typeof w!="function")throw new rr(u);return v=Qa(v),function(){if(--v<1)return w.apply(this,arguments)}}function Id(v,w,L){return w=L?r:w,w=v&&w==null?v.length:w,ss(v,M,r,r,r,r,w)}function Ad(v,w){var L;if(typeof w!="function")throw new rr(u);return v=Qa(v),function(){return--v>0&&(L=w.apply(this,arguments)),v<=1&&(w=r),L}}var pd=La(function(v,w,L){var ne=S;if(L.length){var Te=Ro(L,mr(pd));ne|=T}return ss(v,ne,w,L,Te)}),Dd=La(function(v,w,L){var ne=S|I;if(L.length){var Te=Ro(L,mr(Dd));ne|=T}return ss(w,ne,v,L,Te)});function Td(v,w,L){w=L?r:w;var ne=ss(v,A,r,r,r,r,r,w);return ne.placeholder=Td.placeholder,ne}function Rd(v,w,L){w=L?r:w;var ne=ss(v,R,r,r,r,r,r,w);return ne.placeholder=Rd.placeholder,ne}function Md(v,w,L){var ne,Te,ot,Ct,zt,nr,Lr=0,Nr=!1,qr=!1,Cn=!0;if(typeof v!="function")throw new rr(u);w=Su(w)||0,ci(L)&&(Nr=!!L.leading,qr="maxWait"in L,ot=qr?An(Su(L.maxWait)||0,w):ot,Cn="trailing"in L?!!L.trailing:Cn);function ta(gi){var zu=ne,Kc=Te;return ne=Te=r,Lr=gi,Ct=v.apply(Kc,zu),Ct}function Sa(gi){return Lr=gi,zt=pc(lo,w),Nr?ta(gi):Ct}function to(gi){var zu=gi-nr,Kc=gi-Lr,$d=w-zu;return qr?Ia($d,ot-Kc):$d}function Ca(gi){var zu=gi-nr,Kc=gi-Lr;return nr===r||zu>=w||zu<0||qr&&Kc>=ot}function lo(){var gi=rd();if(Ca(gi))return mo(gi);zt=pc(lo,to(gi))}function mo(gi){return zt=r,Cn&&ne?ta(gi):(ne=Te=r,Ct)}function pu(){zt!==r&&Rc(zt),Lr=0,ne=nr=Te=zt=r}function Cs(){return zt===r?Ct:mo(rd())}function vu(){var gi=rd(),zu=Ca(gi);if(ne=arguments,Te=this,nr=gi,zu){if(zt===r)return Sa(nr);if(qr)return Rc(zt),zt=pc(lo,w),ta(nr)}return zt===r&&(zt=pc(lo,w)),Ct}return vu.cancel=pu,vu.flush=Cs,vu}var Of=La(function(v,w){return xc(v,1,w)}),If=La(function(v,w,L){return xc(v,Su(w)||0,L)});function Af(v){return ss(v,j)}function nd(v,w){if(typeof v!="function"||w!=null&&typeof w!="function")throw new rr(u);var L=function(){var ne=arguments,Te=w?w.apply(this,ne):ne[0],ot=L.cache;if(ot.has(Te))return ot.get(Te);var Ct=v.apply(this,ne);return L.cache=ot.set(Te,Ct)||ot,Ct};return L.cache=new(nd.Cache||As),L}nd.Cache=As;function ad(v){if(typeof v!="function")throw new rr(u);return function(){var w=arguments;switch(w.length){case 0:return!v.call(this);case 1:return!v.call(this,w[0]);case 2:return!v.call(this,w[0],w[1]);case 3:return!v.call(this,w[0],w[1],w[2])}return!v.apply(this,w)}}function Df(v){return Ad(2,v)}var Tf=os(function(v,w){w=w.length==1&&Ga(w[0])?sa(w[0],qo(dr())):sa(ri(w,1),qo(dr()));var L=w.length;return La(function(ne){for(var Te=-1,ot=Ia(ne.length,L);++Te=w}),zl=yn(function(){return arguments}())?yn:function(v){return di(v)&&Zn.call(v,"callee")&&!tt.call(v,"callee")},Ga=Vt.isArray,Vf=mn?qo(mn):jo;function Us(v){return v!=null&&od(v.length)&&!Gc(v)}function mi(v){return di(v)&&Us(v)}function Kf(v){return v===!0||v===!1||di(v)&&ni(v)==He}var bl=Kn||Sd,Xf=Wr?qo(Wr):Ec;function Yf(v){return di(v)&&v.nodeType===1&&!$l(v)}function Qf(v){if(v==null)return!0;if(Us(v)&&(Ga(v)||typeof v=="string"||typeof v.splice=="function"||bl(v)||Vl(v)||zl(v)))return!v.length;var w=Ya(v);if(w==Re||w==Ie)return!v.size;if(cu(v))return!tu(v).length;for(var L in v)if(Zn.call(v,L))return!1;return!0}function Jf(v,w){return ki(v,w)}function $f(v,w,L){L=typeof L=="function"?L:r;var ne=L?L(v,w):r;return ne===r?ki(v,w,r,L):!!ne}function hd(v){if(!di(v))return!1;var w=ni(v);return w==vt||w==st||typeof v.message=="string"&&typeof v.name=="string"&&!$l(v)}function qf(v){return typeof v=="number"&&Mn(v)}function Gc(v){if(!ci(v))return!1;var w=ni(v);return w==Je||w==Ke||w==de||w==St}function jd(v){return typeof v=="number"&&v==Qa(v)}function od(v){return typeof v=="number"&&v>-1&&v%1==0&&v<=N}function ci(v){var w=typeof v;return v!=null&&(w=="object"||w=="function")}function di(v){return v!=null&&typeof v=="object"}var Ld=Sn?qo(Sn):rs;function ep(v,w){return v===w||Sc(v,w,Xn(w))}function tp(v,w,L){return L=typeof L=="function"?L:r,Sc(v,w,Xn(w),L)}function rp(v){return Fd(v)&&v!=+v}function np(v){if(us(v))throw new Hr(s);return tl(v)}function ap(v){return v===null}function op(v){return v==null}function Fd(v){return typeof v=="number"||di(v)&&ni(v)==Ce}function $l(v){if(!di(v)||ni(v)!=at)return!1;var w=he(v);if(w===null)return!0;var L=Zn.call(w,"constructor")&&w.constructor;return typeof L=="function"&&L instanceof L&&bo.call(L)==Ka}var _d=jn?qo(jn):Cc;function ip(v){return jd(v)&&v>=-N&&v<=N}var Nd=wn?qo(wn):si;function id(v){return typeof v=="string"||!Ga(v)&&di(v)&&ni(v)==$e}function fu(v){return typeof v=="symbol"||di(v)&&ni(v)==ft}var Vl=Ea?qo(Ea):Yu;function sp(v){return v===r}function up(v){return di(v)&&Ya(v)==ye}function cp(v){return di(v)&&ni(v)==fe}var lp=jc(ru),dp=jc(function(v,w){return v<=w});function Bd(v){if(!v)return[];if(Us(v))return id(v)?Ot(v):vi(v);if(tr&&v[tr])return es(v[tr]());var w=Ya(v),L=w==Re?Di:w==Ie?Ai:Kl;return L(v)}function Vc(v){if(!v)return v===0?v:0;if(v=Su(v),v===W||v===-W){var w=v<0?-1:1;return w*J}return v===v?v:0}function Qa(v){var w=Vc(v),L=w%1;return w===w?L?w-L:w:0}function zd(v){return v?$s(Qa(v),0,Z):0}function Su(v){if(typeof v=="number")return v;if(fu(v))return k;if(ci(v)){var w=typeof v.valueOf=="function"?v.valueOf():v;v=ci(w)?w+"":w}if(typeof v!="string")return v===0?v:+v;v=Vs(v);var L=wt.test(v);return L||Ue.test(v)?hr(v.slice(2),L?2:8):Er.test(v)?k:+v}function Zd(v){return Gi(v,Ws(v))}function fp(v){return v?$s(Qa(v),-N,N):v===0?v:0}function Po(v){return v==null?"":Ei(v)}var pp=ou(function(v,w){if(cu(w)||Us(w)){Gi(w,Ni(w),v);return}for(var L in w)Zn.call(w,L)&&Js(v,L,w[L])}),Hd=ou(function(v,w){Gi(w,Ws(w),v)}),sd=ou(function(v,w,L,ne){Gi(w,Ws(w),v,ne)}),vp=ou(function(v,w,L,ne){Gi(w,Ni(w),v,ne)}),hp=m(gs);function _p(v,w){var L=Ft(v);return w==null?L:qc(L,w)}var mp=La(function(v,w){v=Qr(v);var L=-1,ne=w.length,Te=ne>2?w[2]:r;for(Te&&Fo(w[0],w[1],Te)&&(ne=1);++L1),ot}),Gi(v,b(v),L),ne&&(L=Ti(L,p|x|g,Fc));for(var Te=w.length;Te--;)Ac(L,w[Te]);return L});function jp(v,w){return Wd(v,ad(dr(w)))}var Lp=m(function(v,w){return v==null?{}:wi(v,w)});function Wd(v,w){if(v==null)return{};var L=sa(b(v),function(ne){return[ne]});return w=dr(w),Oc(v,L,function(ne,Te){return w(ne,Te[0])})}function Fp(v,w,L){w=Ls(w,v);var ne=-1,Te=w.length;for(Te||(Te=1,v=r);++new){var ne=v;v=w,w=ne}if(L||v%1||w%1){var Te=$a();return Ia(v+Te*(w-v+Zt("1e-"+((Te+"").length-1))),w)}return ns(v,w)}var Xp=ui(function(v,w,L){return w=w.toLowerCase(),v+(L?Kd(w):w)});function Kd(v){return yd(Po(v).toLowerCase())}function Xd(v){return v=Po(v),v&&v.replace(rt,qi).replace(Rr,"")}function Yp(v,w,L){v=Po(v),w=Ei(w);var ne=v.length;L=L===r?ne:$s(Qa(L),0,ne);var Te=L;return L-=w.length,L>=0&&v.slice(L,Te)==w}function Qp(v){return v=Po(v),v&&ce.test(v)?v.replace(ht,hs):v}function Jp(v){return v=Po(v),v&&kt.test(v)?v.replace(dt,"\\$&"):v}var $p=ui(function(v,w,L){return v+(L?"-":"")+w.toLowerCase()}),qp=ui(function(v,w,L){return v+(L?" ":"")+w.toLowerCase()}),e0=ku("toLowerCase");function t0(v,w,L){v=Po(v),w=Qa(w);var ne=w?gt(v):0;if(!w||ne>=w)return v;var Te=(w-ne)/2;return ac(In(Te),L)+v+ac(Rn(Te),L)}function r0(v,w,L){v=Po(v),w=Qa(w);var ne=w?gt(v):0;return w&&ne>>0,L?(v=Po(v),v&&(typeof w=="string"||w!=null&&!_d(w))&&(w=Ei(w),!w&&Eo(v))?Uo(Ot(v),0,L):v.split(w,L)):[]}var c0=ui(function(v,w,L){return v+(L?" ":"")+yd(w)});function l0(v,w,L){return v=Po(v),L=L==null?0:$s(Qa(L),0,v.length),w=Ei(w),v.slice(L,L+w.length)==w}function d0(v,w,L){var ne=$.templateSettings;L&&Fo(v,w,L)&&(w=r),v=Po(v),w=sd({},w,ne,ic);var Te=sd({},w.imports,ne.imports,ic),ot=Ni(Te),Ct=ps(Te,ot),zt,nr,Lr=0,Nr=w.interpolate||Tt,qr="__p += '",Cn=Yn((w.escape||Tt).source+"|"+Nr.source+"|"+(Nr===Ht?Qt:Tt).source+"|"+(w.evaluate||Tt).source+"|$","g"),ta="//# sourceURL="+(Zn.call(w,"sourceURL")?(w.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+` `;v.replace(Cn,function(Ca,lo,mo,pu,Cs,vu){return mo||(mo=pu),qr+=v.slice(Lr,vu).replace(Lt,Hi),lo&&(zt=!0,qr+=`' + __e(`+lo+`) + '`),Cs&&(nr=!0,qr+=`'; @@ -200,11 +200,11 @@ __p += '`),mo&&(qr+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+qr+`return __p -}`;var to=Qd(function(){return Ae(ot,ta+"return "+qr).apply(r,Ct)});if(to.source=qr,hd(to))throw to;return to}function f0(v){return Po(v).toLowerCase()}function p0(v){return Po(v).toUpperCase()}function v0(v,w,L){if(v=Po(v),v&&(L||w===r))return Vs(v);if(!v||!(w=Ei(w)))return v;var ne=Ot(v),Te=Ot(w),ot=Ji(ne,Te),Ct=vs(ne,Te)+1;return Uo(ne,ot,Ct).join("")}function h0(v,w,L){if(v=Po(v),v&&(L||w===r))return v.slice(0,jt(v)+1);if(!v||!(w=Ei(w)))return v;var ne=Ot(v),Te=vs(ne,Ot(w))+1;return Uo(ne,0,Te).join("")}function _0(v,w,L){if(v=Po(v),v&&(L||w===r))return v.replace(ar,"");if(!v||!(w=Ei(w)))return v;var ne=Ot(v),Te=Ji(ne,Ot(w));return Uo(ne,Te).join("")}function m0(v,w){var L=V,ne=H;if(ci(w)){var Te="separator"in w?w.separator:Te;L="length"in w?Qa(w.length):L,ne="omission"in w?Ei(w.omission):ne}v=Po(v);var ot=v.length;if(Eo(v)){var Ct=Ot(v);ot=Ct.length}if(L>=ot)return v;var zt=L-gt(ne);if(zt<1)return ne;var nr=Ct?Uo(Ct,0,zt).join(""):v.slice(0,zt);if(Te===r)return nr+ne;if(Ct&&(zt+=nr.length-zt),_d(Te)){if(v.slice(zt).search(Te)){var Lr,Nr=nr;for(Te.global||(Te=Yn(Te.source,Po(Cr.exec(Te))+"g")),Te.lastIndex=0;Lr=Te.exec(Nr);)var qr=Lr.index;nr=nr.slice(0,qr===r?zt:qr)}}else if(v.indexOf(Ei(Te),zt)!=zt){var Cn=nr.lastIndexOf(Te);Cn>-1&&(nr=nr.slice(0,Cn))}return nr+ne}function g0(v){return v=Po(v),v&&At.test(v)?v.replace(Be,Or):v}var y0=ui(function(v,w,L){return v+(L?" ":"")+w.toUpperCase()}),yd=Mu("toUpperCase");function Yd(v,w,L){return v=Po(v),w=L?r:w,w===r?Xs(v)?Xr(v):ls(v):v.match(w)||[]}var Qd=La(function(v,w){try{return Pn(v,r,w)}catch(L){return hd(L)?L:new Hr(L)}}),x0=m(function(v,w){return dn(w,function(L){L=Qn(L),Mo(v,L,pd(v[L],v))}),v});function b0(v){var w=v==null?0:v.length,L=dr();return v=w?sa(v,function(ne){if(typeof ne[1]!="function")throw new rr(u);return[L(ne[0]),ne[1]]}):[],La(function(ne){for(var Te=-1;++TeN)return[];var L=Z,ne=Ia(v,Z);w=dr(w),v-=Z;for(var Te=fs(ne,w);++L0||w<0)?new lr(L):(v<0?L=L.takeRight(-v):v&&(L=L.drop(v)),w!==r&&(w=Qa(w),L=w<0?L.dropRight(-w):L.take(w-v)),L)},lr.prototype.takeRightWhile=function(v){return this.reverse().takeWhile(v).reverse()},lr.prototype.toArray=function(){return this.take(Z)},bi(lr.prototype,function(v,w){var L=/^(?:filter|find|map|reject)|While$/.test(w),ne=/^(?:head|last)$/.test(w),Te=$[ne?"take"+(w=="last"?"Right":""):w],ot=ne||/^find/.test(w);Te&&($.prototype[w]=function(){var Ct=this.__wrapped__,zt=ne?[1]:arguments,nr=Ct instanceof lr,Lr=zt[0],Nr=nr||Ga(Ct),qr=function(lo){var mo=Te.apply($,fo([lo],zt));return ne&&Cn?mo[0]:mo};Nr&&L&&typeof Lr=="function"&&Lr.length!=1&&(nr=Nr=!1);var Cn=this.__chain__,ta=!!this.__actions__.length,Sa=ot&&!Cn,to=nr&&!ta;if(!ot&&Nr){Ct=to?Ct:new lr(this);var Ca=v.apply(Ct,zt);return Ca.__actions__.push({func:Bn,args:[qr],thisArg:r}),new kt(Ca,Cn)}return Sa&&to?v.apply(this,zt):(Ca=this.thru(qr),Sa?ne?Ca.value()[0]:Ca.value():Ca)})}),dn(["pop","push","shift","sort","splice","unshift"],function(v){var w=ga[v],L=/^(?:push|sort|unshift)$/.test(v)?"tap":"thru",ne=/^(?:pop|shift)$/.test(v);$.prototype[v]=function(){var Te=arguments;if(ne&&!this.__chain__){var ot=this.value();return w.apply(Ga(ot)?ot:[],Te)}return this[L](function(Ct){return w.apply(Ga(Ct)?Ct:[],Te)})}}),bi(lr.prototype,function(v,w){var L=$[w];if(L){var ne=L.name+"";Zn.call(go,ne)||(go[ne]=[]),go[ne].push({name:w,func:L})}}),go[Xo(r,I).name]=[{name:"wrapper",func:r}],lr.prototype.clone=Br,lr.prototype.reverse=fn,lr.prototype.value=Wn,$.prototype.at=Na,$.prototype.chain=eo,$.prototype.commit=Ua,$.prototype.next=hc,$.prototype.plant=qd,$.prototype.reverse=ef,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=tf,$.prototype.first=$.prototype.head,tr&&($.prototype[tr]=fd),$},xn=vn();wr._=xn,t=function(){return xn}.call(d,e,d,i),t!==r&&(i.exports=t)}).call(this)},55056:function(i,d,e){var t=e(37111),r=e(94792),n=r(function(a,s,u){t(a,s,u)});i.exports=n},75374:function(i){function d(){return!1}i.exports=d},8416:function(i,d,e){var t=e(39408),r=e(331);function n(a){return t(a,r(a))}i.exports=n},93735:function(i,d,e){(function(){var t=e(75041),r=e(67751).utf8,n=e(78034),a=e(67751).bin,s=function(u,c){u.constructor==String?c&&c.encoding==="binary"?u=a.stringToBytes(u):u=r.stringToBytes(u):n(u)?u=Array.prototype.slice.call(u,0):!Array.isArray(u)&&u.constructor!==Uint8Array&&(u=u.toString());for(var o=t.bytesToWords(u),f=u.length*8,_=1732584193,p=-271733879,x=-1732584194,g=271733878,P=0;P>>24)&16711935|(o[P]<<24|o[P]>>>8)&4278255360;o[f>>>5]|=128<>>9<<4)+14]=f;for(var O=s._ff,S=s._gg,I=s._hh,E=s._ii,P=0;P>>0,p=p+R>>>0,x=x+T>>>0,g=g+D>>>0}return t.endian([_,p,x,g])};s._ff=function(u,c,o,f,_,p,x){var g=u+(c&o|~c&f)+(_>>>0)+x;return(g<>>32-p)+c},s._gg=function(u,c,o,f,_,p,x){var g=u+(c&f|o&~f)+(_>>>0)+x;return(g<>>32-p)+c},s._hh=function(u,c,o,f,_,p,x){var g=u+(c^o^f)+(_>>>0)+x;return(g<>>32-p)+c},s._ii=function(u,c,o,f,_,p,x){var g=u+(o^(c|~f))+(_>>>0)+x;return(g<>>32-p)+c},s._blocksize=16,s._digestsize=16,i.exports=function(u,c){if(u==null)throw new Error("Illegal argument "+u);var o=t.wordsToBytes(s(u,c));return c&&c.asBytes?o:c&&c.asString?a.bytesToString(o):t.bytesToHex(o)}})()},61339:function(i){i.exports=d;function d(e,t){if(!e)throw new Error(t||"Assertion failed")}d.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)}},84126:function(i){"use strict";var d=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function n(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(s).map(function(f){return s[f]});if(c.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(f){o[f]=f}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}i.exports=n()?Object.assign:function(a,s){for(var u,c=r(a),o,f=1;f1)for(var S=1;S-1,f.createElement(R,(0,t.Z)({},Ce,{prefixCls:J,key:me,panelKey:me,isActive:bt,accordion:M,openMotion:se,expandIcon:le,header:st,collapsible:at,onItemClick:St,destroyInactivePanel:ct}),ze)})},k=function(W,N,J){if(!W)return null;var M=J.prefixCls,Z=J.accordion,G=J.collapsible,ee=J.destroyInactivePanel,ie=J.onItemClick,se=J.activeKey,le=J.openMotion,de=J.expandIcon,He=W.key||String(N),ze=W.props,st=ze.header,vt=ze.headerClass,Je=ze.destroyInactivePanel,Ke=ze.collapsible,Re=ze.onItemClick,Ce=!1;Z?Ce=se[0]===He:Ce=se.indexOf(He)>-1;var me=Ke!=null?Ke:G,at=function(bt){me!=="disabled"&&(ie(bt),Re==null||Re(bt))},ct={key:He,panelKey:He,header:st,headerClass:vt,isActive:Ce,prefixCls:M,destroyInactivePanel:Je!=null?Je:ee,openMotion:le,accordion:Z,children:W.props.children,onItemClick:at,expandIcon:de,collapsible:me};return typeof W.type=="string"?W:(Object.keys(ct).forEach(function(St){typeof ct[St]=="undefined"&&delete ct[St]}),f.cloneElement(W,ct))};function B(Q,W,N){return Array.isArray(Q)?D(Q,N):(0,p.Z)(W).map(function(J,M){return k(J,M,N)})}var j=B,V=e(26112);function H(Q){var W=Q;if(!Array.isArray(W)){var N=(0,a.Z)(W);W=N==="number"||N==="string"?[W]:[]}return W.map(function(J){return String(J)})}var Y=f.forwardRef(function(Q,W){var N=Q.prefixCls,J=N===void 0?"rc-collapse":N,M=Q.destroyInactivePanel,Z=M===void 0?!1:M,G=Q.style,ee=Q.accordion,ie=Q.className,se=Q.children,le=Q.collapsible,de=Q.openMotion,He=Q.expandIcon,ze=Q.activeKey,st=Q.defaultActiveKey,vt=Q.onChange,Je=Q.items,Ke=u()(J,ie),Re=(0,c.Z)([],{value:ze,onChange:function(Ie){return vt==null?void 0:vt(Ie)},defaultValue:st,postState:H}),Ce=(0,n.Z)(Re,2),me=Ce[0],at=Ce[1],ct=function(Ie){return at(function(){if(ee)return me[0]===Ie?[]:[Ie];var $e=me.indexOf(Ie),ft=$e>-1;return ft?me.filter(function(Me){return Me!==Ie}):[].concat((0,r.Z)(me),[Ie])})};(0,o.ZP)(!se,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var St=j(Je,se,{prefixCls:J,accordion:ee,openMotion:de,expandIcon:He,collapsible:le,destroyInactivePanel:Z,onItemClick:ct,activeKey:me});return f.createElement("div",(0,t.Z)({ref:W,className:Ke,style:G,role:ee?"tablist":void 0},(0,V.Z)(Q,{aria:!0,data:!0})),St)}),F=Object.assign(Y,{Panel:R}),K=F,X=F.Panel},55311:function(i,d,e){"use strict";e.d(d,{s:function(){return k},Z:function(){return W}});var t=e(60499),r=e(72190),n=e(43403),a=e(59301),s=a.createContext({}),u=e(85899),c=e(92310),o=e.n(c),f=e(48519),_=e(80402),p=e(10228),x=e(26112);function g(N,J,M){var Z=J;return!Z&&M&&(Z="".concat(N,"-").concat(M)),Z}function P(N,J){var M=N["page".concat(J?"Y":"X","Offset")],Z="scroll".concat(J?"Top":"Left");if(typeof M!="number"){var G=N.document;M=G.documentElement[Z],typeof M!="number"&&(M=G.body[Z])}return M}function O(N){var J=N.getBoundingClientRect(),M={left:J.left,top:J.top},Z=N.ownerDocument,G=Z.defaultView||Z.parentWindow;return M.left+=P(G),M.top+=P(G,!0),M}var S=e(77900),I=e(43749),E=e(8654),A=a.memo(function(N){var J=N.children;return J},function(N,J){var M=J.shouldUpdate;return!M}),R={width:0,height:0,overflow:"hidden",outline:"none"},T={outline:"none"},D=a.forwardRef(function(N,J){var M=N.prefixCls,Z=N.className,G=N.style,ee=N.title,ie=N.ariaId,se=N.footer,le=N.closable,de=N.closeIcon,He=N.onClose,ze=N.children,st=N.bodyStyle,vt=N.bodyProps,Je=N.modalRender,Ke=N.onMouseDown,Re=N.onMouseUp,Ce=N.holderRef,me=N.visible,at=N.forceRender,ct=N.width,St=N.height,bt=N.classNames,Ie=N.styles,$e=a.useContext(s),ft=$e.panel,Me=(0,E.x1)(Ce,ft),ye=(0,a.useRef)(),fe=(0,a.useRef)();a.useImperativeHandle(J,function(){return{focus:function(){var it;(it=ye.current)===null||it===void 0||it.focus({preventScroll:!0})},changeActive:function(it){var Dt=document,Yt=Dt.activeElement;it&&Yt===fe.current?ye.current.focus({preventScroll:!0}):!it&&Yt===ye.current&&fe.current.focus({preventScroll:!0})}}});var Oe={};ct!==void 0&&(Oe.width=ct),St!==void 0&&(Oe.height=St);var Ee=se?a.createElement("div",{className:o()("".concat(M,"-footer"),bt==null?void 0:bt.footer),style:(0,u.Z)({},Ie==null?void 0:Ie.footer)},se):null,et=ee?a.createElement("div",{className:o()("".concat(M,"-header"),bt==null?void 0:bt.header),style:(0,u.Z)({},Ie==null?void 0:Ie.header)},a.createElement("div",{className:"".concat(M,"-title"),id:ie},ee)):null,mt=(0,a.useMemo)(function(){return(0,I.Z)(le)==="object"&&le!==null?le:le?{closeIcon:de!=null?de:a.createElement("span",{className:"".concat(M,"-close-x")})}:{}},[le,de,M]),pe=(0,x.Z)(mt,!0),ge=(0,I.Z)(le)==="object"&&le.disabled,lt=le?a.createElement("button",(0,t.Z)({type:"button",onClick:He,"aria-label":"Close"},pe,{className:"".concat(M,"-close"),disabled:ge}),mt.closeIcon):null,Qe=a.createElement("div",{className:o()("".concat(M,"-content"),bt==null?void 0:bt.content),style:Ie==null?void 0:Ie.content},lt,et,a.createElement("div",(0,t.Z)({className:o()("".concat(M,"-body"),bt==null?void 0:bt.body),style:(0,u.Z)((0,u.Z)({},st),Ie==null?void 0:Ie.body)},vt),ze),Ee);return a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":ee?ie:null,"aria-modal":"true",ref:Me,style:(0,u.Z)((0,u.Z)({},G),Oe),className:o()(M,Z),onMouseDown:Ke,onMouseUp:Re},a.createElement("div",{ref:ye,tabIndex:0,style:T},a.createElement(A,{shouldUpdate:me||at},Je?Je(Qe):Qe)),a.createElement("div",{tabIndex:0,ref:fe,style:R}))}),k=D,B=a.forwardRef(function(N,J){var M=N.prefixCls,Z=N.title,G=N.style,ee=N.className,ie=N.visible,se=N.forceRender,le=N.destroyOnClose,de=N.motionName,He=N.ariaId,ze=N.onVisibleChanged,st=N.mousePosition,vt=(0,a.useRef)(),Je=a.useState(),Ke=(0,r.Z)(Je,2),Re=Ke[0],Ce=Ke[1],me={};Re&&(me.transformOrigin=Re);function at(){var ct=O(vt.current);Ce(st&&(st.x||st.y)?"".concat(st.x-ct.left,"px ").concat(st.y-ct.top,"px"):"")}return a.createElement(S.default,{visible:ie,onVisibleChanged:ze,onAppearPrepare:at,onEnterPrepare:at,forceRender:se,motionName:de,removeOnLeave:le,ref:vt},function(ct,St){var bt=ct.className,Ie=ct.style;return a.createElement(k,(0,t.Z)({},N,{ref:J,title:Z,ariaId:He,prefixCls:M,holderRef:St,style:(0,u.Z)((0,u.Z)((0,u.Z)({},Ie),G),me),className:o()(ee,bt)}))})});B.displayName="Content";var j=B,V=function(J){var M=J.prefixCls,Z=J.style,G=J.visible,ee=J.maskProps,ie=J.motionName,se=J.className;return a.createElement(S.default,{key:"mask",visible:G,motionName:ie,leavedClassName:"".concat(M,"-mask-hidden")},function(le,de){var He=le.className,ze=le.style;return a.createElement("div",(0,t.Z)({ref:de,style:(0,u.Z)((0,u.Z)({},ze),Z),className:o()("".concat(M,"-mask"),He,se)},ee))})},H=V,Y=e(48736),F=function(J){var M=J.prefixCls,Z=M===void 0?"rc-dialog":M,G=J.zIndex,ee=J.visible,ie=ee===void 0?!1:ee,se=J.keyboard,le=se===void 0?!0:se,de=J.focusTriggerAfterClose,He=de===void 0?!0:de,ze=J.wrapStyle,st=J.wrapClassName,vt=J.wrapProps,Je=J.onClose,Ke=J.afterOpenChange,Re=J.afterClose,Ce=J.transitionName,me=J.animation,at=J.closable,ct=at===void 0?!0:at,St=J.mask,bt=St===void 0?!0:St,Ie=J.maskTransitionName,$e=J.maskAnimation,ft=J.maskClosable,Me=ft===void 0?!0:ft,ye=J.maskStyle,fe=J.maskProps,Oe=J.rootClassName,Ee=J.classNames,et=J.styles,mt=(0,a.useRef)(),pe=(0,a.useRef)(),ge=(0,a.useRef)(),lt=a.useState(ie),Qe=(0,r.Z)(lt,2),Ve=Qe[0],it=Qe[1],Dt=(0,_.Z)();function Yt(){(0,f.Z)(pe.current,document.activeElement)||(mt.current=document.activeElement)}function Se(){if(!(0,f.Z)(pe.current,document.activeElement)){var cr;(cr=ge.current)===null||cr===void 0||cr.focus()}}function je(cr){if(cr)Se();else{if(it(!1),bt&&mt.current&&He){try{mt.current.focus({preventScroll:!0})}catch(Ze){}mt.current=null}Ve&&(Re==null||Re())}Ke==null||Ke(cr)}function Be(cr){Je==null||Je(cr)}var ht=(0,a.useRef)(!1),At=(0,a.useRef)(),ce=function(){clearTimeout(At.current),ht.current=!0},_t=function(){At.current=setTimeout(function(){ht.current=!1})},qt=null;Me&&(qt=function(Ze){ht.current?ht.current=!1:pe.current===Ze.target&&Be(Ze)});function Ht(cr){if(le&&cr.keyCode===p.Z.ESC){cr.stopPropagation(),Be(cr);return}ie&&cr.keyCode===p.Z.TAB&&ge.current.changeActive(!cr.shiftKey)}(0,a.useEffect)(function(){ie&&(it(!0),Yt())},[ie]),(0,a.useEffect)(function(){return function(){clearTimeout(At.current)}},[]);var Ut=(0,u.Z)((0,u.Z)((0,u.Z)({zIndex:G},ze),et==null?void 0:et.wrapper),{},{display:Ve?null:"none"});return a.createElement("div",(0,t.Z)({className:o()("".concat(Z,"-root"),Oe)},(0,x.Z)(J,{data:!0})),a.createElement(H,{prefixCls:Z,visible:bt&&ie,motionName:g(Z,Ie,$e),style:(0,u.Z)((0,u.Z)({zIndex:G},ye),et==null?void 0:et.mask),maskProps:fe,className:Ee==null?void 0:Ee.mask}),a.createElement("div",(0,t.Z)({tabIndex:-1,onKeyDown:Ht,className:o()("".concat(Z,"-wrap"),st,Ee==null?void 0:Ee.wrapper),ref:pe,onClick:qt,style:Ut},vt),a.createElement(j,(0,t.Z)({},J,{onMouseDown:ce,onMouseUp:_t,ref:ge,closable:ct,ariaId:Dt,prefixCls:Z,visible:ie&&Ve,onClose:Be,onVisibleChanged:je,motionName:g(Z,Ce,me)}))))},K=F,X=function(J){var M=J.visible,Z=J.getContainer,G=J.forceRender,ee=J.destroyOnClose,ie=ee===void 0?!1:ee,se=J.afterClose,le=J.panelRef,de=a.useState(M),He=(0,r.Z)(de,2),ze=He[0],st=He[1],vt=a.useMemo(function(){return{panel:le}},[le]);return a.useEffect(function(){M&&st(!0)},[M]),!G&&ie&&!ze?null:a.createElement(s.Provider,{value:vt},a.createElement(n.Z,{open:M||G||ze,autoDestroy:!1,getContainer:Z,autoLock:M||ze},a.createElement(K,(0,t.Z)({},J,{destroyOnClose:ie,afterClose:function(){se==null||se(),st(!1)}}))))};X.displayName="Dialog";var Q=X,W=Q},69180:function(i,d,e){"use strict";e.r(d),e.d(d,{Field:function(){return Za},FieldContext:function(){return R},FormProvider:function(){return xe},List:function(){return ya},ListContext:function(){return D},default:function(){return sn},useForm:function(){return Ha},useWatch:function(){return Gr}});var t=e(59301),r=e(60499),n=e(42244),a=e(73001),s=e(11576),u=e(85899),c=e(77654),o=e(38705),f=e(17212),_=e(15793),p=e(39153),x=e(55401),g=e(18642),P=e(11592),O=e(13697),S=e(48736),I="RC_FORM_INTERNAL_HOOKS",E=function(){(0,S.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},A=t.createContext({getFieldValue:E,getFieldsValue:E,getFieldError:E,getFieldWarning:E,getFieldsError:E,isFieldsTouched:E,isFieldTouched:E,isFieldValidating:E,isFieldsValidating:E,resetFields:E,setFields:E,setFieldValue:E,setFieldsValue:E,validateFields:E,submit:E,getInternalHooks:function(){return E(),{dispatch:E,initEntityValue:E,registerField:E,useSubscribe:E,setInitialValues:E,destroyForm:E,setCallbacks:E,registerWatch:E,getFields:E,setValidateMessages:E,setPreserve:E,getInitialValue:E}}}),R=A,T=t.createContext(null),D=T;function k(nt){return nt==null?[]:Array.isArray(nt)?nt:[nt]}function B(nt){return nt&&!!nt._init}var j=e(43749);function V(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",tel:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var be=JSON.parse(JSON.stringify(this));return be.clone=this.clone,be}}}var H=V(),Y=e(38882),F=e(29658);function K(nt){try{return Function.toString.call(nt).indexOf("[native code]")!==-1}catch(be){return typeof nt=="function"}}var X=e(54628);function Q(nt,be,ue){if((0,X.Z)())return Reflect.construct.apply(null,arguments);var Ye=[null];Ye.push.apply(Ye,be);var ke=new(nt.bind.apply(nt,Ye));return ue&&(0,F.Z)(ke,ue.prototype),ke}function W(nt){var be=typeof Map=="function"?new Map:void 0;return W=function(Ye){if(Ye===null||!K(Ye))return Ye;if(typeof Ye!="function")throw new TypeError("Super expression must either be null or a function");if(be!==void 0){if(be.has(Ye))return be.get(Ye);be.set(Ye,ke)}function ke(){return Q(Ye,arguments,(0,Y.Z)(this).constructor)}return ke.prototype=Object.create(Ye.prototype,{constructor:{value:ke,enumerable:!1,writable:!0,configurable:!0}}),(0,F.Z)(ke,Ye)},W(nt)}var N=e(97671),J=/%[sdj%]/g,M=function(){};function Z(nt){if(!nt||!nt.length)return null;var be={};return nt.forEach(function(ue){var Ye=ue.field;be[Ye]=be[Ye]||[],be[Ye].push(ue)}),be}function G(nt){for(var be=arguments.length,ue=new Array(be>1?be-1:0),Ye=1;Ye=yt)return Zt;switch(Zt){case"%s":return String(ue[ke++]);case"%d":return Number(ue[ke++]);case"%j":try{return JSON.stringify(ue[ke++])}catch(hr){return"[Circular]"}break;default:return Zt}});return xt}return nt}function ee(nt){return nt==="string"||nt==="url"||nt==="hex"||nt==="email"||nt==="date"||nt==="pattern"||nt==="tel"}function ie(nt,be){return!!(nt==null||be==="array"&&Array.isArray(nt)&&!nt.length||ee(be)&&typeof nt=="string"&&!nt)}function se(nt){return Object.keys(nt).length===0}function le(nt,be,ue){var Ye=[],ke=0,yt=nt.length;function xt(Zt){Ye.push.apply(Ye,(0,c.Z)(Zt||[])),ke++,ke===yt&&ue(Ye)}nt.forEach(function(Zt){be(Zt,xt)})}function de(nt,be,ue){var Ye=0,ke=nt.length;function yt(xt){if(xt&&xt.length){ue(xt);return}var Zt=Ye;Ye=Ye+1,Ztbe.max?ke.push(G(yt.messages[wr].max,be.fullField,be.max)):Zt&&hr&&(orbe.max)&&ke.push(G(yt.messages[wr].range,be.fullField,be.min,be.max))},Ie=bt,$e=function(be,ue,Ye,ke,yt,xt){be.required&&(!Ye.hasOwnProperty(be.field)||ie(ue,xt||be.type))&&ke.push(G(yt.messages.required,be.fullField))},ft=$e,Me,ye=function(){if(Me)return Me;var nt="[a-fA-F\\d:]",be=function(Ea){return Ea&&Ea.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(nt,")|(?<=").concat(nt,")(?=\\s|$))"):""},ue="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Ye="[a-fA-F\\d]{1,4}",ke=["(?:".concat(Ye,":){7}(?:").concat(Ye,"|:)"),"(?:".concat(Ye,":){6}(?:").concat(ue,"|:").concat(Ye,"|:)"),"(?:".concat(Ye,":){5}(?::").concat(ue,"|(?::").concat(Ye,"){1,2}|:)"),"(?:".concat(Ye,":){4}(?:(?::").concat(Ye,"){0,1}:").concat(ue,"|(?::").concat(Ye,"){1,3}|:)"),"(?:".concat(Ye,":){3}(?:(?::").concat(Ye,"){0,2}:").concat(ue,"|(?::").concat(Ye,"){1,4}|:)"),"(?:".concat(Ye,":){2}(?:(?::").concat(Ye,"){0,3}:").concat(ue,"|(?::").concat(Ye,"){1,5}|:)"),"(?:".concat(Ye,":){1}(?:(?::").concat(Ye,"){0,4}:").concat(ue,"|(?::").concat(Ye,"){1,6}|:)"),"(?::(?:(?::".concat(Ye,"){0,5}:").concat(ue,"|(?::").concat(Ye,"){1,7}|:))")],yt="(?:%[0-9a-zA-Z]{1,})?",xt="(?:".concat(ke.join("|"),")").concat(yt),Zt=new RegExp("(?:^".concat(ue,"$)|(?:^").concat(xt,"$)")),hr=new RegExp("^".concat(ue,"$")),xr=new RegExp("^".concat(xt,"$")),or=function(Ea){return Ea&&Ea.exact?Zt:new RegExp("(?:".concat(be(Ea)).concat(ue).concat(be(Ea),")|(?:").concat(be(Ea)).concat(xt).concat(be(Ea),")"),"g")};or.v4=function(wn){return wn&&wn.exact?hr:new RegExp("".concat(be(wn)).concat(ue).concat(be(wn)),"g")},or.v6=function(wn){return wn&&wn.exact?xr:new RegExp("".concat(be(wn)).concat(xt).concat(be(wn)),"g")};var wr="(?:(?:[a-z]+:)?//)",an="(?:\\S+(?::\\S*)?@)?",zn=or.v4().source,un=or.v6().source,tn="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",vr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",mn="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Wr="(?::\\d{2,5})?",Sn='(?:[/?#][^\\s"]*)?',jn="(?:".concat(wr,"|www\\.)").concat(an,"(?:localhost|").concat(zn,"|").concat(un,"|").concat(tn).concat(vr).concat(mn,")").concat(Wr).concat(Sn);return Me=new RegExp("(?:^".concat(jn,"$)"),"i"),Me},fe={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Oe={integer:function(be){return Oe.number(be)&&parseInt(be,10)===be},float:function(be){return Oe.number(be)&&!Oe.integer(be)},array:function(be){return Array.isArray(be)},regexp:function(be){if(be instanceof RegExp)return!0;try{return!!new RegExp(be)}catch(ue){return!1}},date:function(be){return typeof be.getTime=="function"&&typeof be.getMonth=="function"&&typeof be.getYear=="function"&&!isNaN(be.getTime())},number:function(be){return isNaN(be)?!1:typeof be=="number"},object:function(be){return(0,j.Z)(be)==="object"&&!Oe.array(be)},method:function(be){return typeof be=="function"},email:function(be){return typeof be=="string"&&be.length<=320&&!!be.match(fe.email)},tel:function(be){return typeof be=="string"&&be.length<=32&&!!be.match(fe.tel)},url:function(be){return typeof be=="string"&&be.length<=2048&&!!be.match(ye())},hex:function(be){return typeof be=="string"&&!!be.match(fe.hex)}},Ee=function(be,ue,Ye,ke,yt){if(be.required&&ue===void 0){ft(be,ue,Ye,ke,yt);return}var xt=["integer","float","array","regexp","object","method","email","tel","number","date","url","hex"],Zt=be.type;xt.indexOf(Zt)>-1?Oe[Zt](ue)||ke.push(G(yt.messages.types[Zt],be.fullField,be.type)):Zt&&(0,j.Z)(ue)!==be.type&&ke.push(G(yt.messages.types[Zt],be.fullField,be.type))},et=Ee,mt=function(be,ue,Ye,ke,yt){(/^\s+$/.test(ue)||ue==="")&&ke.push(G(yt.messages.whitespace,be.fullField))},pe=mt,ge={required:ft,whitespace:pe,type:et,range:Ie,enum:at,pattern:St},lt=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt)}Ye(xt)},Qe=lt,Ve=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ue==null&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt,"array"),ue!=null&&(ge.type(be,ue,ke,xt,yt),ge.range(be,ue,ke,xt,yt))}Ye(xt)},it=Ve,Dt=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ue!==void 0&&ge.type(be,ue,ke,xt,yt)}Ye(xt)},Yt=Dt,Se=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue,"date")&&!be.required)return Ye();if(ge.required(be,ue,ke,xt,yt),!ie(ue,"date")){var hr;ue instanceof Date?hr=ue:hr=new Date(ue),ge.type(be,hr,ke,xt,yt),hr&&ge.range(be,hr.getTime(),ke,xt,yt)}}Ye(xt)},je=Se,Be="enum",ht=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ue!==void 0&&ge[Be](be,ue,ke,xt,yt)}Ye(xt)},At=ht,ce=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ue!==void 0&&(ge.type(be,ue,ke,xt,yt),ge.range(be,ue,ke,xt,yt))}Ye(xt)},_t=ce,qt=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ue!==void 0&&(ge.type(be,ue,ke,xt,yt),ge.range(be,ue,ke,xt,yt))}Ye(xt)},Ht=qt,Ut=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ue!==void 0&&ge.type(be,ue,ke,xt,yt)}Ye(xt)},cr=Ut,Ze=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ue===""&&(ue=void 0),ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ue!==void 0&&(ge.type(be,ue,ke,xt,yt),ge.range(be,ue,ke,xt,yt))}Ye(xt)},dt=Ze,Mt=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ue!==void 0&&ge.type(be,ue,ke,xt,yt)}Ye(xt)},ar=Mt,$t=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue,"string")&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ie(ue,"string")||ge.pattern(be,ue,ke,xt,yt)}Ye(xt)},pr=$t,Ir=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt),ie(ue)||ge.type(be,ue,ke,xt,yt)}Ye(xt)},Mr=Ir,er=function(be,ue,Ye,ke,yt){var xt=[],Zt=Array.isArray(ue)?"array":(0,j.Z)(ue);ge.required(be,ue,ke,xt,yt,Zt),Ye(xt)},Nt=er,Kt=function(be,ue,Ye,ke,yt){var xt=[],Zt=be.required||!be.required&&ke.hasOwnProperty(be.field);if(Zt){if(ie(ue,"string")&&!be.required)return Ye();ge.required(be,ue,ke,xt,yt,"string"),ie(ue,"string")||(ge.type(be,ue,ke,xt,yt),ge.range(be,ue,ke,xt,yt),ge.pattern(be,ue,ke,xt,yt),be.whitespace===!0&&ge.whitespace(be,ue,ke,xt,yt))}Ye(xt)},Qt=Kt,Cr=function(be,ue,Ye,ke,yt){var xt=be.type,Zt=[],hr=be.required||!be.required&&ke.hasOwnProperty(be.field);if(hr){if(ie(ue,xt)&&!be.required)return Ye();ge.required(be,ue,ke,Zt,yt,xt),ie(ue,xt)||ge.type(be,ue,ke,Zt,yt)}Ye(Zt)},Er=Cr,wt={string:Qt,method:cr,number:dt,boolean:Yt,regexp:Mr,integer:Ht,float:_t,array:it,object:ar,enum:At,pattern:pr,date:je,url:Er,hex:Er,email:Er,tel:Er,required:Nt,any:Qe},qe=function(){function nt(be){(0,o.Z)(this,nt),(0,g.Z)(this,"rules",null),(0,g.Z)(this,"_messages",H),this.define(be)}return(0,f.Z)(nt,[{key:"define",value:function(ue){var Ye=this;if(!ue)throw new Error("Cannot configure a schema with no rules");if((0,j.Z)(ue)!=="object"||Array.isArray(ue))throw new Error("Rules must be an object");this.rules={},Object.keys(ue).forEach(function(ke){var yt=ue[ke];Ye.rules[ke]=Array.isArray(yt)?yt:[yt]})}},{key:"messages",value:function(ue){return ue&&(this._messages=Re(V(),ue)),this._messages}},{key:"validate",value:function(ue){var Ye=this,ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},xt=ue,Zt=ke,hr=yt;if(typeof Zt=="function"&&(hr=Zt,Zt={}),!this.rules||Object.keys(this.rules).length===0)return hr&&hr(null,xt),Promise.resolve(xt);function xr(un){var tn=[],vr={};function mn(Sn){if(Array.isArray(Sn)){var jn;tn=(jn=tn).concat.apply(jn,(0,c.Z)(Sn))}else tn.push(Sn)}for(var Wr=0;Wr0&&arguments[0]!==void 0?arguments[0]:[],la=Array.isArray(Pn)?Pn:[Pn];!Zt.suppressWarning&&la.length&&nt.warning("async-validator:",la),la.length&&vr.message!==void 0&&vr.message!==null&&(la=[].concat(vr.message));var dn=la.map(Ke(vr,xt));if(Zt.first&&dn.length)return zn[vr.field]=1,tn(dn);if(!mn)tn(dn);else{if(vr.required&&!un.value)return vr.message!==void 0?dn=[].concat(vr.message).map(Ke(vr,xt)):Zt.error&&(dn=[Zt.error(vr,G(Zt.messages.required,vr.field))]),tn(dn);var Fn={};vr.defaultField&&Object.keys(un.value).map(function(oa){Fn[oa]=vr.defaultField}),Fn=(0,u.Z)((0,u.Z)({},Fn),un.rule.fields);var xa={};Object.keys(Fn).forEach(function(oa){var ia=Fn[oa],sa=Array.isArray(ia)?ia:[ia];xa[oa]=sa.map(Wr.bind(null,oa))});var Ra=new nt(xa);Ra.messages(Zt.messages),un.rule.options&&(un.rule.options.messages=Zt.messages,un.rule.options.error=Zt.error),Ra.validate(un.value,un.rule.options||Zt,function(oa){var ia=[];dn&&dn.length&&ia.push.apply(ia,(0,c.Z)(dn)),oa&&oa.length&&ia.push.apply(ia,(0,c.Z)(oa)),tn(ia.length?ia:null)})}}var jn;if(vr.asyncValidator)jn=vr.asyncValidator(vr,un.value,Sn,un.source,Zt);else if(vr.validator){try{jn=vr.validator(vr,un.value,Sn,un.source,Zt)}catch(Pn){var wn,Ea;(wn=(Ea=console).error)===null||wn===void 0||wn.call(Ea,Pn),Zt.suppressValidatorError||setTimeout(function(){throw Pn},0),Sn(Pn.message)}jn===!0?Sn():jn===!1?Sn(typeof vr.message=="function"?vr.message(vr.fullField||vr.field):vr.message||"".concat(vr.fullField||vr.field," fails")):jn instanceof Array?Sn(jn):jn instanceof Error&&Sn(jn.message)}jn&&jn.then&&jn.then(function(){return Sn()},function(Pn){return Sn(Pn)})},function(un){xr(un)},xt)}},{key:"getType",value:function(ue){if(ue.type===void 0&&ue.pattern instanceof RegExp&&(ue.type="pattern"),typeof ue.validator!="function"&&ue.type&&!wt.hasOwnProperty(ue.type))throw new Error(G("Unknown rule type %s",ue.type));return ue.type||"string"}},{key:"getValidationMethod",value:function(ue){if(typeof ue.validator=="function")return ue.validator;var Ye=Object.keys(ue),ke=Ye.indexOf("message");return ke!==-1&&Ye.splice(ke,1),Ye.length===1&&Ye[0]==="required"?wt.required:wt[this.getType(ue)]||void 0}}]),nt}();(0,g.Z)(qe,"register",function(be,ue){if(typeof ue!="function")throw new Error("Cannot register a validator by type, validator is not a function");wt[be]=ue}),(0,g.Z)(qe,"warning",M),(0,g.Z)(qe,"messages",H),(0,g.Z)(qe,"validators",wt);var Ue=qe,Le="'${name}' is not a valid ${type}",rt={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Le,method:Le,array:Le,object:Le,number:Le,date:Le,boolean:Le,integer:Le,float:Le,regexp:Le,email:Le,url:Le,hex:Le},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Tt=e(24434),Lt=Ue;function gr(nt,be){return nt.replace(/\\?\$\{\w+\}/g,function(ue){if(ue.startsWith("\\"))return ue.slice(1);var Ye=ue.slice(2,-1);return be[Ye]})}var yr="CODE_LOGIC_ERROR";function Ur(nt,be,ue,Ye,ke){return bn.apply(this,arguments)}function bn(){return bn=(0,s.Z)((0,a.Z)().mark(function nt(be,ue,Ye,ke,yt){var xt,Zt,hr,xr,or,wr,an,zn,un;return(0,a.Z)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:return xt=(0,u.Z)({},Ye),delete xt.ruleIndex,Lt.warning=function(){},xt.validator&&(Zt=xt.validator,xt.validator=function(){try{return Zt.apply(void 0,arguments)}catch(mn){return console.error(mn),Promise.reject(yr)}}),hr=null,xt&&xt.type==="array"&&xt.defaultField&&(hr=xt.defaultField,delete xt.defaultField),xr=new Lt((0,g.Z)({},be,[xt])),or=(0,Tt.T)(rt,ke.validateMessages),xr.messages(or),wr=[],vr.prev=10,vr.next=13,Promise.resolve(xr.validate((0,g.Z)({},be,ue),(0,u.Z)({},ke)));case 13:vr.next=18;break;case 15:vr.prev=15,vr.t0=vr.catch(10),vr.t0.errors&&(wr=vr.t0.errors.map(function(mn,Wr){var Sn=mn.message,jn=Sn===yr?or.default:Sn;return t.isValidElement(jn)?t.cloneElement(jn,{key:"error_".concat(Wr)}):jn}));case 18:if(!(!wr.length&&hr&&Array.isArray(ue)&&ue.length>0)){vr.next=23;break}return vr.next=21,Promise.all(ue.map(function(mn,Wr){return Ur("".concat(be,".").concat(Wr),mn,hr,ke,yt)}));case 21:return an=vr.sent,vr.abrupt("return",an.reduce(function(mn,Wr){return[].concat((0,c.Z)(mn),(0,c.Z)(Wr))},[]));case 23:return zn=(0,u.Z)((0,u.Z)({},Ye),{},{name:be,enum:(Ye.enum||[]).join(", ")},yt),un=wr.map(function(mn){return typeof mn=="string"?gr(mn,zn):mn}),vr.abrupt("return",un);case 26:case"end":return vr.stop()}},nt,null,[[10,15]])})),bn.apply(this,arguments)}function sr(nt,be,ue,Ye,ke,yt){var xt=nt.join("."),Zt=ue.map(function(or,wr){var an=or.validator,zn=(0,u.Z)((0,u.Z)({},or),{},{ruleIndex:wr});return an&&(zn.validator=function(un,tn,vr){var mn=!1,Wr=function(){for(var wn=arguments.length,Ea=new Array(wn),Pn=0;Pn2&&arguments[2]!==void 0?arguments[2]:!1;return nt&&nt.some(function(Ye){return On(be,Ye,ue)})}function On(nt,be){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!nt||!be||!ue&&nt.length!==be.length?!1:be.every(function(Ye,ke){return nt[ke]===Ye})}function za(nt,be){if(nt===be)return!0;if(!nt&&be||nt&&!be||!nt||!be||(0,j.Z)(nt)!=="object"||(0,j.Z)(be)!=="object")return!1;var ue=Object.keys(nt),Ye=Object.keys(be),ke=new Set([].concat(ue,Ye));return(0,c.Z)(ke).every(function(yt){var xt=nt[yt],Zt=be[yt];return typeof xt=="function"&&typeof Zt=="function"?!0:xt===Zt})}function ja(nt){var be=arguments.length<=1?void 0:arguments[1];return be&&be.target&&(0,j.Z)(be.target)==="object"&&nt in be.target?be.target[nt]:be}function gn(nt,be,ue){var Ye=nt.length;if(be<0||be>=Ye||ue<0||ue>=Ye)return nt;var ke=nt[be],yt=be-ue;return yt>0?[].concat((0,c.Z)(nt.slice(0,ue)),[ke],(0,c.Z)(nt.slice(ue,be)),(0,c.Z)(nt.slice(be+1,Ye))):yt<0?[].concat((0,c.Z)(nt.slice(0,be)),(0,c.Z)(nt.slice(be+1,ue+1)),[ke],(0,c.Z)(nt.slice(ue+1,Ye))):nt}var Va=["name"],va=[];function _o(nt,be,ue,Ye,ke,yt){return typeof nt=="function"?nt(be,ue,"source"in yt?{source:yt.source}:{}):Ye!==ke}var no=function(nt){(0,p.Z)(ue,nt);var be=(0,x.Z)(ue);function ue(Ye){var ke;if((0,o.Z)(this,ue),ke=be.call(this,Ye),(0,g.Z)((0,_.Z)(ke),"state",{resetCount:0}),(0,g.Z)((0,_.Z)(ke),"cancelRegisterFunc",null),(0,g.Z)((0,_.Z)(ke),"mounted",!1),(0,g.Z)((0,_.Z)(ke),"touched",!1),(0,g.Z)((0,_.Z)(ke),"dirty",!1),(0,g.Z)((0,_.Z)(ke),"validatePromise",void 0),(0,g.Z)((0,_.Z)(ke),"prevValidating",void 0),(0,g.Z)((0,_.Z)(ke),"errors",va),(0,g.Z)((0,_.Z)(ke),"warnings",va),(0,g.Z)((0,_.Z)(ke),"cancelRegister",function(){var hr=ke.props,xr=hr.preserve,or=hr.isListField,wr=hr.name;ke.cancelRegisterFunc&&ke.cancelRegisterFunc(or,xr,pn(wr)),ke.cancelRegisterFunc=null}),(0,g.Z)((0,_.Z)(ke),"getNamePath",function(){var hr=ke.props,xr=hr.name,or=hr.fieldContext,wr=or.prefixName,an=wr===void 0?[]:wr;return xr!==void 0?[].concat((0,c.Z)(an),(0,c.Z)(xr)):[]}),(0,g.Z)((0,_.Z)(ke),"getRules",function(){var hr=ke.props,xr=hr.rules,or=xr===void 0?[]:xr,wr=hr.fieldContext;return or.map(function(an){return typeof an=="function"?an(wr):an})}),(0,g.Z)((0,_.Z)(ke),"refresh",function(){ke.mounted&&ke.setState(function(hr){var xr=hr.resetCount;return{resetCount:xr+1}})}),(0,g.Z)((0,_.Z)(ke),"metaCache",null),(0,g.Z)((0,_.Z)(ke),"triggerMetaEvent",function(hr){var xr=ke.props.onMetaChange;if(xr){var or=(0,u.Z)((0,u.Z)({},ke.getMeta()),{},{destroy:hr});(0,O.Z)(ke.metaCache,or)||xr(or),ke.metaCache=or}else ke.metaCache=null}),(0,g.Z)((0,_.Z)(ke),"onStoreChange",function(hr,xr,or){var wr=ke.props,an=wr.shouldUpdate,zn=wr.dependencies,un=zn===void 0?[]:zn,tn=wr.onReset,vr=or.store,mn=ke.getNamePath(),Wr=ke.getValue(hr),Sn=ke.getValue(vr),jn=xr&&ma(xr,mn);switch(or.type==="valueUpdate"&&or.source==="external"&&!(0,O.Z)(Wr,Sn)&&(ke.touched=!0,ke.dirty=!0,ke.validatePromise=null,ke.errors=va,ke.warnings=va,ke.triggerMetaEvent()),or.type){case"reset":if(!xr||jn){ke.touched=!1,ke.dirty=!1,ke.validatePromise=void 0,ke.errors=va,ke.warnings=va,ke.triggerMetaEvent(),tn==null||tn(),ke.refresh();return}break;case"remove":{if(an&&_o(an,hr,vr,Wr,Sn,or)){ke.reRender();return}break}case"setField":{var wn=or.data;if(jn){"touched"in wn&&(ke.touched=wn.touched),"validating"in wn&&!("originRCField"in wn)&&(ke.validatePromise=wn.validating?Promise.resolve([]):null),"errors"in wn&&(ke.errors=wn.errors||va),"warnings"in wn&&(ke.warnings=wn.warnings||va),ke.dirty=!0,ke.triggerMetaEvent(),ke.reRender();return}else if("value"in wn&&ma(xr,mn,!0)){ke.reRender();return}if(an&&!mn.length&&_o(an,hr,vr,Wr,Sn,or)){ke.reRender();return}break}case"dependenciesUpdate":{var Ea=un.map(pn);if(Ea.some(function(Pn){return ma(or.relatedFields,Pn)})){ke.reRender();return}break}default:if(jn||(!un.length||mn.length||an)&&_o(an,hr,vr,Wr,Sn,or)){ke.reRender();return}break}an===!0&&ke.reRender()}),(0,g.Z)((0,_.Z)(ke),"validateRules",function(hr){var xr=ke.getNamePath(),or=ke.getValue(),wr=hr||{},an=wr.triggerName,zn=wr.validateOnly,un=zn===void 0?!1:zn,tn=Promise.resolve().then((0,s.Z)((0,a.Z)().mark(function vr(){var mn,Wr,Sn,jn,wn,Ea,Pn;return(0,a.Z)().wrap(function(dn){for(;;)switch(dn.prev=dn.next){case 0:if(ke.mounted){dn.next=2;break}return dn.abrupt("return",[]);case 2:if(mn=ke.props,Wr=mn.validateFirst,Sn=Wr===void 0?!1:Wr,jn=mn.messageVariables,wn=mn.validateDebounce,Ea=ke.getRules(),an&&(Ea=Ea.filter(function(Fn){return Fn}).filter(function(Fn){var xa=Fn.validateTrigger;if(!xa)return!0;var Ra=k(xa);return Ra.includes(an)})),!(wn&&an)){dn.next=10;break}return dn.next=8,new Promise(function(Fn){setTimeout(Fn,wn)});case 8:if(ke.validatePromise===tn){dn.next=10;break}return dn.abrupt("return",[]);case 10:return Pn=sr(xr,or,Ea,hr,Sn,jn),Pn.catch(function(Fn){return Fn}).then(function(){var Fn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:va;if(ke.validatePromise===tn){var xa;ke.validatePromise=null;var Ra=[],oa=[];(xa=Fn.forEach)===null||xa===void 0||xa.call(Fn,function(ia){var sa=ia.rule.warningOnly,fo=ia.errors,Bo=fo===void 0?va:fo;sa?oa.push.apply(oa,(0,c.Z)(Bo)):Ra.push.apply(Ra,(0,c.Z)(Bo))}),ke.errors=Ra,ke.warnings=oa,ke.triggerMetaEvent(),ke.reRender()}}),dn.abrupt("return",Pn);case 13:case"end":return dn.stop()}},vr)})));return un||(ke.validatePromise=tn,ke.dirty=!0,ke.errors=va,ke.warnings=va,ke.triggerMetaEvent(),ke.reRender()),tn}),(0,g.Z)((0,_.Z)(ke),"isFieldValidating",function(){return!!ke.validatePromise}),(0,g.Z)((0,_.Z)(ke),"isFieldTouched",function(){return ke.touched}),(0,g.Z)((0,_.Z)(ke),"isFieldDirty",function(){if(ke.dirty||ke.props.initialValue!==void 0)return!0;var hr=ke.props.fieldContext,xr=hr.getInternalHooks(I),or=xr.getInitialValue;return or(ke.getNamePath())!==void 0}),(0,g.Z)((0,_.Z)(ke),"getErrors",function(){return ke.errors}),(0,g.Z)((0,_.Z)(ke),"getWarnings",function(){return ke.warnings}),(0,g.Z)((0,_.Z)(ke),"isListField",function(){return ke.props.isListField}),(0,g.Z)((0,_.Z)(ke),"isList",function(){return ke.props.isList}),(0,g.Z)((0,_.Z)(ke),"isPreserve",function(){return ke.props.preserve}),(0,g.Z)((0,_.Z)(ke),"getMeta",function(){ke.prevValidating=ke.isFieldValidating();var hr={touched:ke.isFieldTouched(),validating:ke.prevValidating,errors:ke.errors,warnings:ke.warnings,name:ke.getNamePath(),validated:ke.validatePromise===null};return hr}),(0,g.Z)((0,_.Z)(ke),"getOnlyChild",function(hr){if(typeof hr=="function"){var xr=ke.getMeta();return(0,u.Z)((0,u.Z)({},ke.getOnlyChild(hr(ke.getControlled(),xr,ke.props.fieldContext))),{},{isFunction:!0})}var or=(0,P.Z)(hr);return or.length!==1||!t.isValidElement(or[0])?{child:or,isFunction:!1}:{child:or[0],isFunction:!1}}),(0,g.Z)((0,_.Z)(ke),"getValue",function(hr){var xr=ke.props.fieldContext.getFieldsValue,or=ke.getNamePath();return(0,en.Z)(hr||xr(!0),or)}),(0,g.Z)((0,_.Z)(ke),"getControlled",function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},xr=ke.props,or=xr.name,wr=xr.trigger,an=xr.validateTrigger,zn=xr.getValueFromEvent,un=xr.normalize,tn=xr.valuePropName,vr=xr.getValueProps,mn=xr.fieldContext,Wr=an!==void 0?an:mn.validateTrigger,Sn=ke.getNamePath(),jn=mn.getInternalHooks,wn=mn.getFieldsValue,Ea=jn(I),Pn=Ea.dispatch,la=ke.getValue(),dn=vr||function(ia){return(0,g.Z)({},tn,ia)},Fn=hr[wr],xa=or!==void 0?dn(la):{},Ra=(0,u.Z)((0,u.Z)({},hr),xa);Ra[wr]=function(){ke.touched=!0,ke.dirty=!0,ke.triggerMetaEvent();for(var ia,sa=arguments.length,fo=new Array(sa),Bo=0;Bo=0&&Fn<=xa.length?(or.keys=[].concat((0,c.Z)(or.keys.slice(0,Fn)),[or.id],(0,c.Z)(or.keys.slice(Fn))),Sn([].concat((0,c.Z)(xa.slice(0,Fn)),[dn],(0,c.Z)(xa.slice(Fn))))):(or.keys=[].concat((0,c.Z)(or.keys),[or.id]),Sn([].concat((0,c.Z)(xa),[dn]))),or.id+=1},remove:function(dn){var Fn=wn(),xa=new Set(Array.isArray(dn)?dn:[dn]);xa.size<=0||(or.keys=or.keys.filter(function(Ra,oa){return!xa.has(oa)}),Sn(Fn.filter(function(Ra,oa){return!xa.has(oa)})))},move:function(dn,Fn){if(dn!==Fn){var xa=wn();dn<0||dn>=xa.length||Fn<0||Fn>=xa.length||(or.keys=gn(or.keys,dn,Fn),Sn(gn(xa,dn,Fn)))}}},Pn=Wr||[];return Array.isArray(Pn)||(Pn=[]),Ye(Pn.map(function(la,dn){var Fn=or.keys[dn];return Fn===void 0&&(or.keys[dn]=or.id,Fn=or.keys[dn],or.id+=1),{name:dn,key:Fn,isListField:!0}}),Ea,vr)})))}var ya=No,na=e(72190);function En(nt){var be=!1,ue=nt.length,Ye=[];return nt.length?new Promise(function(ke,yt){nt.forEach(function(xt,Zt){xt.catch(function(hr){return be=!0,hr}).then(function(hr){ue-=1,Ye[Zt]=hr,!(ue>0)&&(be&&yt(Ye),ke(Ye))})})}):Promise.resolve([])}var wa="__@field_split__";function Pe(nt){return nt.map(function(be){return"".concat((0,j.Z)(be),":").concat(be)}).join(wa)}var $n=function(){function nt(){(0,o.Z)(this,nt),(0,g.Z)(this,"kvs",new Map)}return(0,f.Z)(nt,[{key:"set",value:function(ue,Ye){this.kvs.set(Pe(ue),Ye)}},{key:"get",value:function(ue){return this.kvs.get(Pe(ue))}},{key:"update",value:function(ue,Ye){var ke=this.get(ue),yt=Ye(ke);yt?this.set(ue,yt):this.delete(ue)}},{key:"delete",value:function(ue){this.kvs.delete(Pe(ue))}},{key:"map",value:function(ue){return(0,c.Z)(this.kvs.entries()).map(function(Ye){var ke=(0,na.Z)(Ye,2),yt=ke[0],xt=ke[1],Zt=yt.split(wa);return ue({key:Zt.map(function(hr){var xr=hr.match(/^([^:]*):(.*)$/),or=(0,na.Z)(xr,3),wr=or[1],an=or[2];return wr==="number"?Number(an):an}),value:xt})})}},{key:"toJSON",value:function(){var ue={};return this.map(function(Ye){var ke=Ye.key,yt=Ye.value;return ue[ke.join(".")]=yt,null}),ue}}]),nt}(),aa=$n,yo=["name"],ai=(0,f.Z)(function nt(be){var ue=this;(0,o.Z)(this,nt),(0,g.Z)(this,"formHooked",!1),(0,g.Z)(this,"forceRootUpdate",void 0),(0,g.Z)(this,"subscribable",!0),(0,g.Z)(this,"store",{}),(0,g.Z)(this,"fieldEntities",[]),(0,g.Z)(this,"initialValues",{}),(0,g.Z)(this,"callbacks",{}),(0,g.Z)(this,"validateMessages",null),(0,g.Z)(this,"preserve",null),(0,g.Z)(this,"lastValidatePromise",null),(0,g.Z)(this,"getForm",function(){return{getFieldValue:ue.getFieldValue,getFieldsValue:ue.getFieldsValue,getFieldError:ue.getFieldError,getFieldWarning:ue.getFieldWarning,getFieldsError:ue.getFieldsError,isFieldsTouched:ue.isFieldsTouched,isFieldTouched:ue.isFieldTouched,isFieldValidating:ue.isFieldValidating,isFieldsValidating:ue.isFieldsValidating,resetFields:ue.resetFields,setFields:ue.setFields,setFieldValue:ue.setFieldValue,setFieldsValue:ue.setFieldsValue,validateFields:ue.validateFields,submit:ue.submit,_init:!0,getInternalHooks:ue.getInternalHooks}}),(0,g.Z)(this,"getInternalHooks",function(Ye){return Ye===I?(ue.formHooked=!0,{dispatch:ue.dispatch,initEntityValue:ue.initEntityValue,registerField:ue.registerField,useSubscribe:ue.useSubscribe,setInitialValues:ue.setInitialValues,destroyForm:ue.destroyForm,setCallbacks:ue.setCallbacks,setValidateMessages:ue.setValidateMessages,getFields:ue.getFields,setPreserve:ue.setPreserve,getInitialValue:ue.getInitialValue,registerWatch:ue.registerWatch}):((0,S.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,g.Z)(this,"useSubscribe",function(Ye){ue.subscribable=Ye}),(0,g.Z)(this,"prevWithoutPreserves",null),(0,g.Z)(this,"setInitialValues",function(Ye,ke){if(ue.initialValues=Ye||{},ke){var yt,xt=(0,Tt.T)(Ye,ue.store);(yt=ue.prevWithoutPreserves)===null||yt===void 0||yt.map(function(Zt){var hr=Zt.key;xt=(0,Tt.Z)(xt,hr,(0,en.Z)(Ye,hr))}),ue.prevWithoutPreserves=null,ue.updateStore(xt)}}),(0,g.Z)(this,"destroyForm",function(Ye){if(Ye)ue.updateStore({});else{var ke=new aa;ue.getFieldEntities(!0).forEach(function(yt){ue.isMergedPreserve(yt.isPreserve())||ke.set(yt.getNamePath(),!0)}),ue.prevWithoutPreserves=ke}}),(0,g.Z)(this,"getInitialValue",function(Ye){var ke=(0,en.Z)(ue.initialValues,Ye);return Ye.length?(0,Tt.T)(ke):ke}),(0,g.Z)(this,"setCallbacks",function(Ye){ue.callbacks=Ye}),(0,g.Z)(this,"setValidateMessages",function(Ye){ue.validateMessages=Ye}),(0,g.Z)(this,"setPreserve",function(Ye){ue.preserve=Ye}),(0,g.Z)(this,"watchList",[]),(0,g.Z)(this,"registerWatch",function(Ye){return ue.watchList.push(Ye),function(){ue.watchList=ue.watchList.filter(function(ke){return ke!==Ye})}}),(0,g.Z)(this,"notifyWatch",function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(ue.watchList.length){var ke=ue.getFieldsValue(),yt=ue.getFieldsValue(!0);ue.watchList.forEach(function(xt){xt(ke,yt,Ye)})}}),(0,g.Z)(this,"timeoutId",null),(0,g.Z)(this,"warningUnhooked",function(){}),(0,g.Z)(this,"updateStore",function(Ye){ue.store=Ye}),(0,g.Z)(this,"getFieldEntities",function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Ye?ue.fieldEntities.filter(function(ke){return ke.getNamePath().length}):ue.fieldEntities}),(0,g.Z)(this,"getFieldsMap",function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ke=new aa;return ue.getFieldEntities(Ye).forEach(function(yt){var xt=yt.getNamePath();ke.set(xt,yt)}),ke}),(0,g.Z)(this,"getFieldEntitiesForNamePathList",function(Ye){if(!Ye)return ue.getFieldEntities(!0);var ke=ue.getFieldsMap(!0);return Ye.map(function(yt){var xt=pn(yt);return ke.get(xt)||{INVALIDATE_NAME_PATH:pn(yt)}})}),(0,g.Z)(this,"getFieldsValue",function(Ye,ke){ue.warningUnhooked();var yt,xt,Zt;if(Ye===!0||Array.isArray(Ye)?(yt=Ye,xt=ke):Ye&&(0,j.Z)(Ye)==="object"&&(Zt=Ye.strict,xt=Ye.filter),yt===!0&&!xt)return ue.store;var hr=ue.getFieldEntitiesForNamePathList(Array.isArray(yt)?yt:null),xr=[];return hr.forEach(function(or){var wr,an,zn="INVALIDATE_NAME_PATH"in or?or.INVALIDATE_NAME_PATH:or.getNamePath();if(Zt){var un,tn;if((un=(tn=or).isList)!==null&&un!==void 0&&un.call(tn))return}else if(!yt&&(wr=(an=or).isListField)!==null&&wr!==void 0&&wr.call(an))return;if(!xt)xr.push(zn);else{var vr="getMeta"in or?or.getMeta():null;xt(vr)&&xr.push(zn)}}),ha(ue.store,xr.map(pn))}),(0,g.Z)(this,"getFieldValue",function(Ye){ue.warningUnhooked();var ke=pn(Ye);return(0,en.Z)(ue.store,ke)}),(0,g.Z)(this,"getFieldsError",function(Ye){ue.warningUnhooked();var ke=ue.getFieldEntitiesForNamePathList(Ye);return ke.map(function(yt,xt){return yt&&!("INVALIDATE_NAME_PATH"in yt)?{name:yt.getNamePath(),errors:yt.getErrors(),warnings:yt.getWarnings()}:{name:pn(Ye[xt]),errors:[],warnings:[]}})}),(0,g.Z)(this,"getFieldError",function(Ye){ue.warningUnhooked();var ke=pn(Ye),yt=ue.getFieldsError([ke])[0];return yt.errors}),(0,g.Z)(this,"getFieldWarning",function(Ye){ue.warningUnhooked();var ke=pn(Ye),yt=ue.getFieldsError([ke])[0];return yt.warnings}),(0,g.Z)(this,"isFieldsTouched",function(){ue.warningUnhooked();for(var Ye=arguments.length,ke=new Array(Ye),yt=0;yt0&&arguments[0]!==void 0?arguments[0]:{},ke=new aa,yt=ue.getFieldEntities(!0);yt.forEach(function(hr){var xr=hr.props.initialValue,or=hr.getNamePath();if(xr!==void 0){var wr=ke.get(or)||new Set;wr.add({entity:hr,value:xr}),ke.set(or,wr)}});var xt=function(xr){xr.forEach(function(or){var wr=or.props.initialValue;if(wr!==void 0){var an=or.getNamePath(),zn=ue.getInitialValue(an);if(zn!==void 0)(0,S.ZP)(!1,"Form already set 'initialValues' with path '".concat(an.join("."),"'. Field can not overwrite it."));else{var un=ke.get(an);if(un&&un.size>1)(0,S.ZP)(!1,"Multiple Field with path '".concat(an.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(un){var tn=ue.getFieldValue(an),vr=or.isListField();!vr&&(!Ye.skipExist||tn===void 0)&&ue.updateStore((0,Tt.Z)(ue.store,an,(0,c.Z)(un)[0].value))}}}})},Zt;Ye.entities?Zt=Ye.entities:Ye.namePathList?(Zt=[],Ye.namePathList.forEach(function(hr){var xr=ke.get(hr);if(xr){var or;(or=Zt).push.apply(or,(0,c.Z)((0,c.Z)(xr).map(function(wr){return wr.entity})))}})):Zt=yt,xt(Zt)}),(0,g.Z)(this,"resetFields",function(Ye){ue.warningUnhooked();var ke=ue.store;if(!Ye){ue.updateStore((0,Tt.T)(ue.initialValues)),ue.resetWithFieldInitialValue(),ue.notifyObservers(ke,null,{type:"reset"}),ue.notifyWatch();return}var yt=Ye.map(pn);yt.forEach(function(xt){var Zt=ue.getInitialValue(xt);ue.updateStore((0,Tt.Z)(ue.store,xt,Zt))}),ue.resetWithFieldInitialValue({namePathList:yt}),ue.notifyObservers(ke,yt,{type:"reset"}),ue.notifyWatch(yt)}),(0,g.Z)(this,"setFields",function(Ye){ue.warningUnhooked();var ke=ue.store,yt=[];Ye.forEach(function(xt){var Zt=xt.name,hr=(0,n.Z)(xt,yo),xr=pn(Zt);yt.push(xr),"value"in hr&&ue.updateStore((0,Tt.Z)(ue.store,xr,hr.value)),ue.notifyObservers(ke,[xr],{type:"setField",data:xt})}),ue.notifyWatch(yt)}),(0,g.Z)(this,"getFields",function(){var Ye=ue.getFieldEntities(!0),ke=Ye.map(function(yt){var xt=yt.getNamePath(),Zt=yt.getMeta(),hr=(0,u.Z)((0,u.Z)({},Zt),{},{name:xt,value:ue.getFieldValue(xt)});return Object.defineProperty(hr,"originRCField",{value:!0}),hr});return ke}),(0,g.Z)(this,"initEntityValue",function(Ye){var ke=Ye.props.initialValue;if(ke!==void 0){var yt=Ye.getNamePath(),xt=(0,en.Z)(ue.store,yt);xt===void 0&&ue.updateStore((0,Tt.Z)(ue.store,yt,ke))}}),(0,g.Z)(this,"isMergedPreserve",function(Ye){var ke=Ye!==void 0?Ye:ue.preserve;return ke!=null?ke:!0}),(0,g.Z)(this,"registerField",function(Ye){ue.fieldEntities.push(Ye);var ke=Ye.getNamePath();if(ue.notifyWatch([ke]),Ye.props.initialValue!==void 0){var yt=ue.store;ue.resetWithFieldInitialValue({entities:[Ye],skipExist:!0}),ue.notifyObservers(yt,[Ye.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(xt,Zt){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(ue.fieldEntities=ue.fieldEntities.filter(function(wr){return wr!==Ye}),!ue.isMergedPreserve(Zt)&&(!xt||hr.length>1)){var xr=xt?void 0:ue.getInitialValue(ke);if(ke.length&&ue.getFieldValue(ke)!==xr&&ue.fieldEntities.every(function(wr){return!On(wr.getNamePath(),ke)})){var or=ue.store;ue.updateStore((0,Tt.Z)(or,ke,xr,!0)),ue.notifyObservers(or,[ke],{type:"remove"}),ue.triggerDependenciesUpdate(or,ke)}}ue.notifyWatch([ke])}}),(0,g.Z)(this,"dispatch",function(Ye){switch(Ye.type){case"updateValue":{var ke=Ye.namePath,yt=Ye.value;ue.updateValue(ke,yt);break}case"validateField":{var xt=Ye.namePath,Zt=Ye.triggerName;ue.validateFields([xt],{triggerName:Zt});break}default:}}),(0,g.Z)(this,"notifyObservers",function(Ye,ke,yt){if(ue.subscribable){var xt=(0,u.Z)((0,u.Z)({},yt),{},{store:ue.getFieldsValue(!0)});ue.getFieldEntities().forEach(function(Zt){var hr=Zt.onStoreChange;hr(Ye,ke,xt)})}else ue.forceRootUpdate()}),(0,g.Z)(this,"triggerDependenciesUpdate",function(Ye,ke){var yt=ue.getDependencyChildrenFields(ke);return yt.length&&ue.validateFields(yt),ue.notifyObservers(Ye,yt,{type:"dependenciesUpdate",relatedFields:[ke].concat((0,c.Z)(yt))}),yt}),(0,g.Z)(this,"updateValue",function(Ye,ke){var yt=pn(Ye),xt=ue.store;ue.updateStore((0,Tt.Z)(ue.store,yt,ke)),ue.notifyObservers(xt,[yt],{type:"valueUpdate",source:"internal"}),ue.notifyWatch([yt]);var Zt=ue.triggerDependenciesUpdate(xt,yt),hr=ue.callbacks.onValuesChange;if(hr){var xr=ha(ue.store,[yt]);hr(xr,ue.getFieldsValue())}ue.triggerOnFieldsChange([yt].concat((0,c.Z)(Zt)))}),(0,g.Z)(this,"setFieldsValue",function(Ye){ue.warningUnhooked();var ke=ue.store;if(Ye){var yt=(0,Tt.T)(ue.store,Ye);ue.updateStore(yt)}ue.notifyObservers(ke,null,{type:"valueUpdate",source:"external"}),ue.notifyWatch()}),(0,g.Z)(this,"setFieldValue",function(Ye,ke){ue.setFields([{name:Ye,value:ke,errors:[],warnings:[]}])}),(0,g.Z)(this,"getDependencyChildrenFields",function(Ye){var ke=new Set,yt=[],xt=new aa;ue.getFieldEntities().forEach(function(hr){var xr=hr.props.dependencies;(xr||[]).forEach(function(or){var wr=pn(or);xt.update(wr,function(){var an=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return an.add(hr),an})})});var Zt=function hr(xr){var or=xt.get(xr)||new Set;or.forEach(function(wr){if(!ke.has(wr)){ke.add(wr);var an=wr.getNamePath();wr.isFieldDirty()&&an.length&&(yt.push(an),hr(an))}})};return Zt(Ye),yt}),(0,g.Z)(this,"triggerOnFieldsChange",function(Ye,ke){var yt=ue.callbacks.onFieldsChange;if(yt){var xt=ue.getFields();if(ke){var Zt=new aa;ke.forEach(function(xr){var or=xr.name,wr=xr.errors;Zt.set(or,wr)}),xt.forEach(function(xr){xr.errors=Zt.get(xr.name)||xr.errors})}var hr=xt.filter(function(xr){var or=xr.name;return ma(Ye,or)});hr.length&&yt(hr,xt)}}),(0,g.Z)(this,"validateFields",function(Ye,ke){ue.warningUnhooked();var yt,xt;Array.isArray(Ye)||typeof Ye=="string"||typeof ke=="string"?(yt=Ye,xt=ke):xt=Ye;var Zt=!!yt,hr=Zt?yt.map(pn):[],xr=[],or=String(Date.now()),wr=new Set,an=xt||{},zn=an.recursive,un=an.dirty;ue.getFieldEntities(!0).forEach(function(Wr){if(Zt||hr.push(Wr.getNamePath()),!(!Wr.props.rules||!Wr.props.rules.length)&&!(un&&!Wr.isFieldDirty())){var Sn=Wr.getNamePath();if(wr.add(Sn.join(or)),!Zt||ma(hr,Sn,zn)){var jn=Wr.validateRules((0,u.Z)({validateMessages:(0,u.Z)((0,u.Z)({},rt),ue.validateMessages)},xt));xr.push(jn.then(function(){return{name:Sn,errors:[],warnings:[]}}).catch(function(wn){var Ea,Pn=[],la=[];return(Ea=wn.forEach)===null||Ea===void 0||Ea.call(wn,function(dn){var Fn=dn.rule.warningOnly,xa=dn.errors;Fn?la.push.apply(la,(0,c.Z)(xa)):Pn.push.apply(Pn,(0,c.Z)(xa))}),Pn.length?Promise.reject({name:Sn,errors:Pn,warnings:la}):{name:Sn,errors:Pn,warnings:la}}))}}});var tn=En(xr);ue.lastValidatePromise=tn,tn.catch(function(Wr){return Wr}).then(function(Wr){var Sn=Wr.map(function(jn){var wn=jn.name;return wn});ue.notifyObservers(ue.store,Sn,{type:"validateFinish"}),ue.triggerOnFieldsChange(Sn,Wr)});var vr=tn.then(function(){return ue.lastValidatePromise===tn?Promise.resolve(ue.getFieldsValue(hr)):Promise.reject([])}).catch(function(Wr){var Sn=Wr.filter(function(jn){return jn&&jn.errors.length});return Promise.reject({values:ue.getFieldsValue(hr),errorFields:Sn,outOfDate:ue.lastValidatePromise!==tn})});vr.catch(function(Wr){return Wr});var mn=hr.filter(function(Wr){return wr.has(Wr.join(or))});return ue.triggerOnFieldsChange(mn),vr}),(0,g.Z)(this,"submit",function(){ue.warningUnhooked(),ue.validateFields().then(function(Ye){var ke=ue.callbacks.onFinish;if(ke)try{ke(Ye)}catch(yt){console.error(yt)}}).catch(function(Ye){var ke=ue.callbacks.onFinishFailed;ke&&ke(Ye)})}),this.forceRootUpdate=be});function Wa(nt){var be=t.useRef(),ue=t.useState({}),Ye=(0,na.Z)(ue,2),ke=Ye[1];if(!be.current)if(nt)be.current=nt;else{var yt=function(){ke({})},xt=new ai(yt);be.current=xt.getForm()}return[be.current]}var Ha=Wa,De=t.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),xe=function(be){var ue=be.validateMessages,Ye=be.onFormChange,ke=be.onFormFinish,yt=be.children,xt=t.useContext(De),Zt=t.useRef({});return t.createElement(De.Provider,{value:(0,u.Z)((0,u.Z)({},xt),{},{validateMessages:(0,u.Z)((0,u.Z)({},xt.validateMessages),ue),triggerFormChange:function(xr,or){Ye&&Ye(xr,{changedFields:or,forms:Zt.current}),xt.triggerFormChange(xr,or)},triggerFormFinish:function(xr,or){ke&&ke(xr,{values:or,forms:Zt.current}),xt.triggerFormFinish(xr,or)},registerForm:function(xr,or){xr&&(Zt.current=(0,u.Z)((0,u.Z)({},Zt.current),{},(0,g.Z)({},xr,or))),xt.registerForm(xr,or)},unregisterForm:function(xr){var or=(0,u.Z)({},Zt.current);delete or[xr],Zt.current=or,xt.unregisterForm(xr)}})},yt)},Xe=De,q=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],It=function(be,ue){var Ye=be.name,ke=be.initialValues,yt=be.fields,xt=be.form,Zt=be.preserve,hr=be.children,xr=be.component,or=xr===void 0?"form":xr,wr=be.validateMessages,an=be.validateTrigger,zn=an===void 0?"onChange":an,un=be.onValuesChange,tn=be.onFieldsChange,vr=be.onFinish,mn=be.onFinishFailed,Wr=be.clearOnDestroy,Sn=(0,n.Z)(be,q),jn=t.useRef(null),wn=t.useContext(Xe),Ea=Ha(xt),Pn=(0,na.Z)(Ea,1),la=Pn[0],dn=la.getInternalHooks(I),Fn=dn.useSubscribe,xa=dn.setInitialValues,Ra=dn.setCallbacks,oa=dn.setValidateMessages,ia=dn.setPreserve,sa=dn.destroyForm;t.useImperativeHandle(ue,function(){return(0,u.Z)((0,u.Z)({},la),{},{nativeElement:jn.current})}),t.useEffect(function(){return wn.registerForm(Ye,la),function(){wn.unregisterForm(Ye)}},[wn,la,Ye]),oa((0,u.Z)((0,u.Z)({},wn.validateMessages),wr)),Ra({onValuesChange:un,onFieldsChange:function(xo){if(wn.triggerFormChange(Ye,xo),tn){for(var zo=arguments.length,Oi=new Array(zo>1?zo-1:0),yi=1;yi1&&arguments[1]!==void 0?arguments[1]:2;ht();var qt=(0,Ce.Z)(function(){_t<=1?ce({isCanceled:function(){return qt!==Be.current}}):At(ce,_t-1)});Be.current=qt}return f.useEffect(function(){return function(){ht()}},[]),[At,ht]},at=[F,K,X,Q],ct=[F,W],St=!1,bt=!0;function Ie(Be){return Be===X||Be===Q}var $e=function(Be,ht,At){var ce=(0,T.Z)(Y),_t=(0,n.Z)(ce,2),qt=_t[0],Ht=_t[1],Ut=me(),cr=(0,n.Z)(Ut,2),Ze=cr[0],dt=cr[1];function Mt(){Ht(F,!0)}var ar=ht?ct:at;return Re(function(){if(qt!==Y&&qt!==Q){var $t=ar.indexOf(qt),pr=ar[$t+1],Ir=At(qt);Ir===St?Ht(pr,!0):pr&&Ze(function(Mr){function er(){Mr.isCanceled()||Ht(pr,!0)}Ir===!0?er():Promise.resolve(Ir).then(er)})}},[Be,qt]),f.useEffect(function(){return function(){dt()}},[]),[Mt,qt]};function ft(Be,ht,At,ce){var _t=ce.motionEnter,qt=_t===void 0?!0:_t,Ht=ce.motionAppear,Ut=Ht===void 0?!0:Ht,cr=ce.motionLeave,Ze=cr===void 0?!0:cr,dt=ce.motionDeadline,Mt=ce.motionLeaveImmediately,ar=ce.onAppearPrepare,$t=ce.onEnterPrepare,pr=ce.onLeavePrepare,Ir=ce.onAppearStart,Mr=ce.onEnterStart,er=ce.onLeaveStart,Nt=ce.onAppearActive,Kt=ce.onEnterActive,Qt=ce.onLeaveActive,Cr=ce.onAppearEnd,Er=ce.onEnterEnd,wt=ce.onLeaveEnd,qe=ce.onVisibleChanged,Ue=(0,T.Z)(),Le=(0,n.Z)(Ue,2),rt=Le[0],Tt=Le[1],Lt=k(B),gr=(0,n.Z)(Lt,2),yr=gr[0],Ur=gr[1],bn=(0,T.Z)(null),sr=(0,n.Z)(bn,2),_n=sr[0],on=sr[1],Fe=yr(),Ne=(0,f.useRef)(!1),en=(0,f.useRef)(null);function pn(){return At()}var ha=(0,f.useRef)(!1);function ma(){Ur(B),on(null,!0)}var On=(0,R.zX)(function(wa){var Pe=yr();if(Pe!==B){var $n=pn();if(!(wa&&!wa.deadline&&wa.target!==$n)){var aa=ha.current,yo;Pe===j&&aa?yo=Cr==null?void 0:Cr($n,wa):Pe===V&&aa?yo=Er==null?void 0:Er($n,wa):Pe===H&&aa&&(yo=wt==null?void 0:wt($n,wa)),aa&&yo!==!1&&ma()}}}),za=Je(On),ja=(0,n.Z)(za,1),gn=ja[0],Va=function(Pe){switch(Pe){case j:return(0,t.Z)((0,t.Z)((0,t.Z)({},F,ar),K,Ir),X,Nt);case V:return(0,t.Z)((0,t.Z)((0,t.Z)({},F,$t),K,Mr),X,Kt);case H:return(0,t.Z)((0,t.Z)((0,t.Z)({},F,pr),K,er),X,Qt);default:return{}}},va=f.useMemo(function(){return Va(Fe)},[Fe]),_o=$e(Fe,!Be,function(wa){if(wa===F){var Pe=va[F];return Pe?Pe(pn()):St}if(Za in va){var $n;on((($n=va[Za])===null||$n===void 0?void 0:$n.call(va,pn(),null))||null)}return Za===X&&Fe!==B&&(gn(pn()),dt>0&&(clearTimeout(en.current),en.current=setTimeout(function(){On({deadline:!0})},dt))),Za===W&&ma(),bt}),no=(0,n.Z)(_o,2),Ja=no[0],Za=no[1],No=Ie(Za);ha.current=No;var ya=(0,f.useRef)(null);Re(function(){if(!(Ne.current&&ya.current===ht)){Tt(ht);var wa=Ne.current;Ne.current=!0;var Pe;!wa&&ht&&Ut&&(Pe=j),wa&&ht&&qt&&(Pe=V),(wa&&!ht&&Ze||!wa&&Mt&&!ht&&Ze)&&(Pe=H);var $n=Va(Pe);Pe&&(Be||$n[F])?(Ur(Pe),Ja()):Ur(B),ya.current=ht}},[ht]),(0,f.useEffect)(function(){(Fe===j&&!Ut||Fe===V&&!qt||Fe===H&&!Ze)&&Ur(B)},[Ut,qt,Ze]),(0,f.useEffect)(function(){return function(){Ne.current=!1,clearTimeout(en.current)}},[]);var na=f.useRef(!1);(0,f.useEffect)(function(){rt&&(na.current=!0),rt!==void 0&&Fe===B&&((na.current||rt)&&(qe==null||qe(rt)),na.current=!0)},[rt,Fe]);var En=_n;return va[F]&&Za===K&&(En=(0,r.Z)({transition:"none"},En)),[Fe,Za,En,rt!=null?rt:ht]}function Me(Be){var ht=Be;(0,a.Z)(Be)==="object"&&(ht=Be.transitionSupport);function At(_t,qt){return!!(_t.motionName&&ht&&qt!==!1)}var ce=f.forwardRef(function(_t,qt){var Ht=_t.visible,Ut=Ht===void 0?!0:Ht,cr=_t.removeOnLeave,Ze=cr===void 0?!0:cr,dt=_t.forceRender,Mt=_t.children,ar=_t.motionName,$t=_t.leavedClassName,pr=_t.eventProps,Ir=f.useContext(x),Mr=Ir.motion,er=At(_t,Mr),Nt=(0,f.useRef)(),Kt=(0,f.useRef)();function Qt(){try{return Nt.current instanceof HTMLElement?Nt.current:(0,c.ZP)(Kt.current)}catch(sr){return null}}var Cr=ft(er,Ut,Qt,_t),Er=(0,n.Z)(Cr,4),wt=Er[0],qe=Er[1],Ue=Er[2],Le=Er[3],rt=f.useRef(Le);Le&&(rt.current=!0);var Tt=f.useCallback(function(sr){Nt.current=sr,(0,o.mH)(qt,sr)},[qt]),Lt,gr=(0,r.Z)((0,r.Z)({},pr),{},{visible:Ut});if(!Mt)Lt=null;else if(wt===B)Le?Lt=Mt((0,r.Z)({},gr),Tt):!Ze&&rt.current&&$t?Lt=Mt((0,r.Z)((0,r.Z)({},gr),{},{className:$t}),Tt):dt||!Ze&&!$t?Lt=Mt((0,r.Z)((0,r.Z)({},gr),{},{style:{display:"none"}}),Tt):Lt=null;else{var yr;qe===F?yr="prepare":Ie(qe)?yr="active":qe===K&&(yr="start");var Ur=vt(ar,"".concat(wt,"-").concat(yr));Lt=Mt((0,r.Z)((0,r.Z)({},gr),{},{className:u()(vt(ar,wt),(0,t.Z)((0,t.Z)({},Ur,Ur&&yr),ar,typeof ar=="string")),style:Ue}),Tt)}if(f.isValidElement(Lt)&&(0,o.Yr)(Lt)){var bn=(0,o.C4)(Lt);bn||(Lt=f.cloneElement(Lt,{ref:Tt}))}return f.createElement(A,{ref:Kt},Lt)});return ce.displayName="CSSMotion",ce}var ye=Me(He),fe=e(60499),Oe=e(15793),Ee="add",et="keep",mt="remove",pe="removed";function ge(Be){var ht;return Be&&(0,a.Z)(Be)==="object"&&"key"in Be?ht=Be:ht={key:Be},(0,r.Z)((0,r.Z)({},ht),{},{key:String(ht.key)})}function lt(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Be.map(ge)}function Qe(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],At=[],ce=0,_t=ht.length,qt=lt(Be),Ht=lt(ht);qt.forEach(function(Ze){for(var dt=!1,Mt=ce;Mt<_t;Mt+=1){var ar=Ht[Mt];if(ar.key===Ze.key){ce1});return cr.forEach(function(Ze){At=At.filter(function(dt){var Mt=dt.key,ar=dt.status;return Mt!==Ze||ar!==mt}),At.forEach(function(dt){dt.key===Ze&&(dt.status=et)})}),At}var Ve=["component","children","onVisibleChanged","onAllRemoved"],it=["status"],Dt=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yt(Be){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye,At=function(ce){(0,S.Z)(qt,ce);var _t=(0,I.Z)(qt);function qt(){var Ht;(0,P.Z)(this,qt);for(var Ut=arguments.length,cr=new Array(Ut),Ze=0;Ze0&&de,Qe=function(){at(st)},Ve=function(Be){(Be.key==="Enter"||Be.code==="Enter"||Be.keyCode===g.Z.ENTER)&&Qe()};a.useEffect(function(){if(!ge&&le>0){var je=Date.now()-mt,Be=setTimeout(function(){Qe()},le*1e3-mt);return function(){ze&&clearTimeout(Be),pe(Date.now()-je)}}},[le,ge,ct]),a.useEffect(function(){if(!ge&<&&(ze||mt===0)){var je=performance.now(),Be,ht=function At(){cancelAnimationFrame(Be),Be=requestAnimationFrame(function(ce){var _t=ce+mt-je,qt=Math.min(_t/(le*1e3),1);Oe(qt*100),qt<1&&At()})};return ht(),function(){ze&&cancelAnimationFrame(Be)}}},[le,mt,ge,lt,ct]);var it=a.useMemo(function(){return(0,x.Z)(Je)==="object"&&Je!==null?Je:Je?{closeIcon:Re}:{}},[Je,Re]),Dt=(0,P.Z)(it,!0),Yt=100-(!fe||fe<0?0:fe>100?100:fe),Se="".concat(G,"-notice");return a.createElement("div",(0,c.Z)({},Ce,{ref:Z,className:_()(Se,ie,(0,o.Z)({},"".concat(Se,"-closable"),Je)),style:ee,onMouseEnter:function(Be){var ht;ft(!0),Ce==null||(ht=Ce.onMouseEnter)===null||ht===void 0||ht.call(Ce,Be)},onMouseLeave:function(Be){var ht;ft(!1),Ce==null||(ht=Ce.onMouseLeave)===null||ht===void 0||ht.call(Ce,Be)},onClick:me}),a.createElement("div",{className:"".concat(Se,"-content")},vt),Je&&a.createElement("a",(0,c.Z)({tabIndex:0,className:"".concat(Se,"-close"),onKeyDown:Ve,"aria-label":"Close"},Dt,{onClick:function(Be){Be.preventDefault(),Be.stopPropagation(),Qe()}}),it.closeIcon),lt&&a.createElement("progress",{className:"".concat(Se,"-progress"),max:"100",value:Yt},Yt+"%"))}),S=O,I=a.createContext({}),E=function(Z){var G=Z.children,ee=Z.classNames;return a.createElement(I.Provider,{value:{classNames:ee}},G)},A=E,R=8,T=3,D=16,k=function(Z){var G={offset:R,threshold:T,gap:D};if(Z&&(0,x.Z)(Z)==="object"){var ee,ie,se;G.offset=(ee=Z.offset)!==null&&ee!==void 0?ee:R,G.threshold=(ie=Z.threshold)!==null&&ie!==void 0?ie:T,G.gap=(se=Z.gap)!==null&&se!==void 0?se:D}return[!!Z,G]},B=k,j=["className","style","classNames","styles"],V=function(Z){var G=Z.configList,ee=Z.placement,ie=Z.prefixCls,se=Z.className,le=Z.style,de=Z.motion,He=Z.onAllNoticeRemoved,ze=Z.onNoticeClose,st=Z.stack,vt=(0,a.useContext)(I),Je=vt.classNames,Ke=(0,a.useRef)({}),Re=(0,a.useState)(null),Ce=(0,r.Z)(Re,2),me=Ce[0],at=Ce[1],ct=(0,a.useState)([]),St=(0,r.Z)(ct,2),bt=St[0],Ie=St[1],$e=G.map(function(ge){return{config:ge,key:String(ge.key)}}),ft=B(st),Me=(0,r.Z)(ft,2),ye=Me[0],fe=Me[1],Oe=fe.offset,Ee=fe.threshold,et=fe.gap,mt=ye&&(bt.length>0||$e.length<=Ee),pe=typeof de=="function"?de(ee):de;return(0,a.useEffect)(function(){ye&&bt.length>1&&Ie(function(ge){return ge.filter(function(lt){return $e.some(function(Qe){var Ve=Qe.key;return lt===Ve})})})},[bt,$e,ye]),(0,a.useEffect)(function(){var ge;if(ye&&Ke.current[(ge=$e[$e.length-1])===null||ge===void 0?void 0:ge.key]){var lt;at(Ke.current[(lt=$e[$e.length-1])===null||lt===void 0?void 0:lt.key])}},[$e,ye]),a.createElement(p.CSSMotionList,(0,c.Z)({key:ee,className:_()(ie,"".concat(ie,"-").concat(ee),Je==null?void 0:Je.list,se,(0,o.Z)((0,o.Z)({},"".concat(ie,"-stack"),!!ye),"".concat(ie,"-stack-expanded"),mt)),style:le,keys:$e,motionAppear:!0},pe,{onAllRemoved:function(){He(ee)}}),function(ge,lt){var Qe=ge.config,Ve=ge.className,it=ge.style,Dt=ge.index,Yt=Qe,Se=Yt.key,je=Yt.times,Be=String(Se),ht=Qe,At=ht.className,ce=ht.style,_t=ht.classNames,qt=ht.styles,Ht=(0,n.Z)(ht,j),Ut=$e.findIndex(function(Kt){return Kt.key===Be}),cr={};if(ye){var Ze=$e.length-1-(Ut>-1?Ut:Dt-1),dt=ee==="top"||ee==="bottom"?"-50%":"0";if(Ze>0){var Mt,ar,$t;cr.height=mt?(Mt=Ke.current[Be])===null||Mt===void 0?void 0:Mt.offsetHeight:me==null?void 0:me.offsetHeight;for(var pr=0,Ir=0;Ir-1?Ke.current[Be]=Qt:delete Ke.current[Be]},prefixCls:ie,classNames:_t,styles:qt,className:_()(At,Je==null?void 0:Je.notice),style:ce,times:je,key:Se,eventKey:Se,onNoticeClose:ze,hovering:ye&&bt.length>0})))})},H=V,Y=a.forwardRef(function(M,Z){var G=M.prefixCls,ee=G===void 0?"rc-notification":G,ie=M.container,se=M.motion,le=M.maxCount,de=M.className,He=M.style,ze=M.onAllRemoved,st=M.stack,vt=M.renderNotifications,Je=a.useState([]),Ke=(0,r.Z)(Je,2),Re=Ke[0],Ce=Ke[1],me=function(ye){var fe,Oe=Re.find(function(Ee){return Ee.key===ye});Oe==null||(fe=Oe.onClose)===null||fe===void 0||fe.call(Oe),Ce(function(Ee){return Ee.filter(function(et){return et.key!==ye})})};a.useImperativeHandle(Z,function(){return{open:function(ye){Ce(function(fe){var Oe=(0,t.Z)(fe),Ee=Oe.findIndex(function(pe){return pe.key===ye.key}),et=(0,s.Z)({},ye);if(Ee>=0){var mt;et.times=(((mt=fe[Ee])===null||mt===void 0?void 0:mt.times)||0)+1,Oe[Ee]=et}else et.times=0,Oe.push(et);return le>0&&Oe.length>le&&(Oe=Oe.slice(-le)),Oe})},close:function(ye){me(ye)},destroy:function(){Ce([])}}});var at=a.useState({}),ct=(0,r.Z)(at,2),St=ct[0],bt=ct[1];a.useEffect(function(){var Me={};Re.forEach(function(ye){var fe=ye.placement,Oe=fe===void 0?"topRight":fe;Oe&&(Me[Oe]=Me[Oe]||[],Me[Oe].push(ye))}),Object.keys(St).forEach(function(ye){Me[ye]=Me[ye]||[]}),bt(Me)},[Re]);var Ie=function(ye){bt(function(fe){var Oe=(0,s.Z)({},fe),Ee=Oe[ye]||[];return Ee.length||delete Oe[ye],Oe})},$e=a.useRef(!1);if(a.useEffect(function(){Object.keys(St).length>0?$e.current=!0:$e.current&&(ze==null||ze(),$e.current=!1)},[St]),!ie)return null;var ft=Object.keys(St);return(0,u.createPortal)(a.createElement(a.Fragment,null,ft.map(function(Me){var ye=St[Me],fe=a.createElement(H,{key:Me,configList:ye,placement:Me,prefixCls:ee,className:de==null?void 0:de(Me),style:He==null?void 0:He(Me),motion:se,onNoticeClose:me,onAllNoticeRemoved:Ie,stack:st});return vt?vt(fe,{prefixCls:ee,key:Me}):fe})),ie)}),F=Y,K=e(70425),X=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Q=function(){return document.body},W=0;function N(){for(var M={},Z=arguments.length,G=new Array(Z),ee=0;ee0&&arguments[0]!==void 0?arguments[0]:{},Z=M.getContainer,G=Z===void 0?Q:Z,ee=M.motion,ie=M.prefixCls,se=M.maxCount,le=M.className,de=M.style,He=M.onAllRemoved,ze=M.stack,st=M.renderNotifications,vt=(0,n.Z)(M,X),Je=a.useState(),Ke=(0,r.Z)(Je,2),Re=Ke[0],Ce=Ke[1],me=a.useRef(),at=a.createElement(F,{container:Re,ref:me,prefixCls:ie,motion:ee,maxCount:se,className:le,style:de,onAllRemoved:He,stack:ze,renderNotifications:st}),ct=a.useState([]),St=(0,r.Z)(ct,2),bt=St[0],Ie=St[1],$e=(0,K.zX)(function(Me){var ye=N(vt,Me);(ye.key===null||ye.key===void 0)&&(ye.key="rc-notification-".concat(W),W+=1),Ie(function(fe){return[].concat((0,t.Z)(fe),[{type:"open",config:ye}])})}),ft=a.useMemo(function(){return{open:$e,close:function(ye){Ie(function(fe){return[].concat((0,t.Z)(fe),[{type:"close",key:ye}])})},destroy:function(){Ie(function(ye){return[].concat((0,t.Z)(ye),[{type:"destroy"}])})}}},[]);return a.useEffect(function(){Ce(G())}),a.useEffect(function(){if(me.current&&bt.length){bt.forEach(function(fe){switch(fe.type){case"open":me.current.open(fe.config);break;case"close":me.current.close(fe.key);break;case"destroy":me.current.destroy();break}});var Me,ye;Ie(function(fe){return(Me!==fe||!ye)&&(Me=fe,ye=fe.filter(function(Oe){return!bt.includes(Oe)})),ye})}},[bt]),[ft,at]}},61852:function(i,d){"use strict";var e={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};d.Z=e},17119:function(i,d){"use strict";var e={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"};d.Z=e},75319:function(i,d,e){"use strict";e.d(d,{z:function(){return t}});var t={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},11592:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(34678),r=e(59301);function n(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=[];return r.Children.forEach(a,function(c){c==null&&!s.keepEmpty||(Array.isArray(c)?u=u.concat(n(c)):(0,t.Z)(c)&&c.props?u=u.concat(n(c.props.children,s)):u.push(c))}),u}},47273:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){if(!r)return!1;if(r.contains)return r.contains(n);for(var a=n;a;){if(a===r)return!0;a=a.parentNode}return!1}},810:function(i,d,e){"use strict";e.d(d,{hq:function(){return I},jL:function(){return P}});var t=e(85899),r=e(47273),n=e(48519),a="data-rc-order",s="data-rc-priority",u="rc-util-key",c=new Map;function o(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=E.mark;return A?A.startsWith("data-")?A:"data-".concat(A):u}function f(E){if(E.attachTo)return E.attachTo;var A=document.querySelector("head");return A||document.body}function _(E){return E==="queue"?"prependQueue":E?"prepend":"append"}function p(E){return Array.from((c.get(E)||E).children).filter(function(A){return A.tagName==="STYLE"})}function x(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,r.Z)())return null;var R=A.csp,T=A.prepend,D=A.priority,k=D===void 0?0:D,B=_(T),j=B==="prependQueue",V=document.createElement("style");V.setAttribute(a,B),j&&k&&V.setAttribute(s,"".concat(k)),R!=null&&R.nonce&&(V.nonce=R==null?void 0:R.nonce),V.innerHTML=E;var H=f(A),Y=H.firstChild;if(T){if(j){var F=(A.styles||p(H)).filter(function(K){if(!["prepend","prependQueue"].includes(K.getAttribute(a)))return!1;var X=Number(K.getAttribute(s)||0);return k>=X});if(F.length)return H.insertBefore(V,F[F.length-1].nextSibling),V}H.insertBefore(V,Y)}else H.appendChild(V);return V}function g(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=f(A);return(A.styles||p(R)).find(function(T){return T.getAttribute(o(A))===E})}function P(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=g(E,A);if(R){var T=f(A);T.removeChild(R)}}function O(E,A){var R=c.get(E);if(!R||!(0,n.Z)(document,R)){var T=x("",A),D=T.parentNode;c.set(E,D),E.removeChild(T)}}function S(){c.clear()}function I(E,A){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=f(R),D=p(T),k=(0,t.Z)((0,t.Z)({},R),{},{styles:D});O(T,k);var B=g(A,k);if(B){var j,V;if((j=k.csp)!==null&&j!==void 0&&j.nonce&&B.nonce!==((V=k.csp)===null||V===void 0?void 0:V.nonce)){var H;B.nonce=(H=k.csp)===null||H===void 0?void 0:H.nonce}return B.innerHTML!==E&&(B.innerHTML=E),B}var Y=x(E,k);return Y.setAttribute(o(k),A),Y}},76846:function(i,d,e){"use strict";e.d(d,{Sh:function(){return a},ZP:function(){return u},bn:function(){return s}});var t=e(43749),r=e(59301),n=e(4676);function a(c){return c instanceof HTMLElement||c instanceof SVGElement}function s(c){return c&&(0,t.Z)(c)==="object"&&a(c.nativeElement)?c.nativeElement:a(c)?c:null}function u(c){var o=s(c);if(o)return o;if(c instanceof r.Component){var f;return(f=n.findDOMNode)===null||f===void 0?void 0:f.call(n,c)}return null}},29194:function(i,d){"use strict";d.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),s=a.width,u=a.height;if(s||u)return!0}}return!1}},96452:function(i,d,e){"use strict";e.d(d,{A:function(){return n}});function t(a){var s;return a==null||(s=a.getRootNode)===null||s===void 0?void 0:s.call(a)}function r(a){return t(a)instanceof ShadowRoot}function n(a){return r(a)?t(a):null}},10228:function(i,d){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(r){var n=r.keyCode;if(r.altKey&&!r.ctrlKey||r.metaKey||n>=e.F1&&n<=e.F12)return!1;switch(n){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(r){if(r>=e.ZERO&&r<=e.NINE||r>=e.NUM_ZERO&&r<=e.NUM_MULTIPLY||r>=e.A&&r<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&r===0)return!0;switch(r){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};d.Z=e},34678:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(43749),r=Symbol.for("react.element"),n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(u){return u&&(0,t.Z)(u)==="object"&&(u.$$typeof===r||u.$$typeof===n)&&u.type===a}},75152:function(i,d,e){"use strict";e.d(d,{Z:function(){return a},o:function(){return s}});var t=e(810),r;function n(u){var c="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=c;var f=o.style;f.position="absolute",f.left="0",f.top="0",f.width="100px",f.height="100px",f.overflow="scroll";var _,p;if(u){var x=getComputedStyle(u);f.scrollbarColor=x.scrollbarColor,f.scrollbarWidth=x.scrollbarWidth;var g=getComputedStyle(u,"::-webkit-scrollbar"),P=parseInt(g.width,10),O=parseInt(g.height,10);try{var S=P?"width: ".concat(g.width,";"):"",I=O?"height: ".concat(g.height,";"):"";(0,t.hq)(` +}`;var to=Qd(function(){return Ae(ot,ta+"return "+qr).apply(r,Ct)});if(to.source=qr,hd(to))throw to;return to}function f0(v){return Po(v).toLowerCase()}function p0(v){return Po(v).toUpperCase()}function v0(v,w,L){if(v=Po(v),v&&(L||w===r))return Vs(v);if(!v||!(w=Ei(w)))return v;var ne=Ot(v),Te=Ot(w),ot=Ji(ne,Te),Ct=vs(ne,Te)+1;return Uo(ne,ot,Ct).join("")}function h0(v,w,L){if(v=Po(v),v&&(L||w===r))return v.slice(0,jt(v)+1);if(!v||!(w=Ei(w)))return v;var ne=Ot(v),Te=vs(ne,Ot(w))+1;return Uo(ne,0,Te).join("")}function _0(v,w,L){if(v=Po(v),v&&(L||w===r))return v.replace(ar,"");if(!v||!(w=Ei(w)))return v;var ne=Ot(v),Te=Ji(ne,Ot(w));return Uo(ne,Te).join("")}function m0(v,w){var L=V,ne=H;if(ci(w)){var Te="separator"in w?w.separator:Te;L="length"in w?Qa(w.length):L,ne="omission"in w?Ei(w.omission):ne}v=Po(v);var ot=v.length;if(Eo(v)){var Ct=Ot(v);ot=Ct.length}if(L>=ot)return v;var zt=L-gt(ne);if(zt<1)return ne;var nr=Ct?Uo(Ct,0,zt).join(""):v.slice(0,zt);if(Te===r)return nr+ne;if(Ct&&(zt+=nr.length-zt),_d(Te)){if(v.slice(zt).search(Te)){var Lr,Nr=nr;for(Te.global||(Te=Yn(Te.source,Po(Cr.exec(Te))+"g")),Te.lastIndex=0;Lr=Te.exec(Nr);)var qr=Lr.index;nr=nr.slice(0,qr===r?zt:qr)}}else if(v.indexOf(Ei(Te),zt)!=zt){var Cn=nr.lastIndexOf(Te);Cn>-1&&(nr=nr.slice(0,Cn))}return nr+ne}function g0(v){return v=Po(v),v&&At.test(v)?v.replace(Be,Or):v}var y0=ui(function(v,w,L){return v+(L?" ":"")+w.toUpperCase()}),yd=ku("toUpperCase");function Yd(v,w,L){return v=Po(v),w=L?r:w,w===r?Xs(v)?Xr(v):ls(v):v.match(w)||[]}var Qd=La(function(v,w){try{return Pn(v,r,w)}catch(L){return hd(L)?L:new Hr(L)}}),x0=m(function(v,w){return dn(w,function(L){L=Qn(L),ko(v,L,pd(v[L],v))}),v});function b0(v){var w=v==null?0:v.length,L=dr();return v=w?sa(v,function(ne){if(typeof ne[1]!="function")throw new rr(u);return[L(ne[0]),ne[1]]}):[],La(function(ne){for(var Te=-1;++TeN)return[];var L=Z,ne=Ia(v,Z);w=dr(w),v-=Z;for(var Te=fs(ne,w);++L0||w<0)?new lr(L):(v<0?L=L.takeRight(-v):v&&(L=L.drop(v)),w!==r&&(w=Qa(w),L=w<0?L.dropRight(-w):L.take(w-v)),L)},lr.prototype.takeRightWhile=function(v){return this.reverse().takeWhile(v).reverse()},lr.prototype.toArray=function(){return this.take(Z)},bi(lr.prototype,function(v,w){var L=/^(?:filter|find|map|reject)|While$/.test(w),ne=/^(?:head|last)$/.test(w),Te=$[ne?"take"+(w=="last"?"Right":""):w],ot=ne||/^find/.test(w);Te&&($.prototype[w]=function(){var Ct=this.__wrapped__,zt=ne?[1]:arguments,nr=Ct instanceof lr,Lr=zt[0],Nr=nr||Ga(Ct),qr=function(lo){var mo=Te.apply($,fo([lo],zt));return ne&&Cn?mo[0]:mo};Nr&&L&&typeof Lr=="function"&&Lr.length!=1&&(nr=Nr=!1);var Cn=this.__chain__,ta=!!this.__actions__.length,Sa=ot&&!Cn,to=nr&&!ta;if(!ot&&Nr){Ct=to?Ct:new lr(this);var Ca=v.apply(Ct,zt);return Ca.__actions__.push({func:Bn,args:[qr],thisArg:r}),new Mt(Ca,Cn)}return Sa&&to?v.apply(this,zt):(Ca=this.thru(qr),Sa?ne?Ca.value()[0]:Ca.value():Ca)})}),dn(["pop","push","shift","sort","splice","unshift"],function(v){var w=ga[v],L=/^(?:push|sort|unshift)$/.test(v)?"tap":"thru",ne=/^(?:pop|shift)$/.test(v);$.prototype[v]=function(){var Te=arguments;if(ne&&!this.__chain__){var ot=this.value();return w.apply(Ga(ot)?ot:[],Te)}return this[L](function(Ct){return w.apply(Ga(Ct)?Ct:[],Te)})}}),bi(lr.prototype,function(v,w){var L=$[w];if(L){var ne=L.name+"";Zn.call(go,ne)||(go[ne]=[]),go[ne].push({name:w,func:L})}}),go[Xo(r,I).name]=[{name:"wrapper",func:r}],lr.prototype.clone=Br,lr.prototype.reverse=fn,lr.prototype.value=Wn,$.prototype.at=Na,$.prototype.chain=eo,$.prototype.commit=Ua,$.prototype.next=hc,$.prototype.plant=qd,$.prototype.reverse=ef,$.prototype.toJSON=$.prototype.valueOf=$.prototype.value=tf,$.prototype.first=$.prototype.head,tr&&($.prototype[tr]=fd),$},xn=vn();wr._=xn,t=function(){return xn}.call(d,e,d,i),t!==r&&(i.exports=t)}).call(this)},55056:function(i,d,e){var t=e(37111),r=e(94792),n=r(function(a,s,u){t(a,s,u)});i.exports=n},75374:function(i){function d(){return!1}i.exports=d},8416:function(i,d,e){var t=e(39408),r=e(331);function n(a){return t(a,r(a))}i.exports=n},93735:function(i,d,e){(function(){var t=e(75041),r=e(67751).utf8,n=e(78034),a=e(67751).bin,s=function(u,c){u.constructor==String?c&&c.encoding==="binary"?u=a.stringToBytes(u):u=r.stringToBytes(u):n(u)?u=Array.prototype.slice.call(u,0):!Array.isArray(u)&&u.constructor!==Uint8Array&&(u=u.toString());for(var o=t.bytesToWords(u),f=u.length*8,_=1732584193,p=-271733879,x=-1732584194,g=271733878,P=0;P>>24)&16711935|(o[P]<<24|o[P]>>>8)&4278255360;o[f>>>5]|=128<>>9<<4)+14]=f;for(var O=s._ff,S=s._gg,I=s._hh,E=s._ii,P=0;P>>0,p=p+R>>>0,x=x+T>>>0,g=g+D>>>0}return t.endian([_,p,x,g])};s._ff=function(u,c,o,f,_,p,x){var g=u+(c&o|~c&f)+(_>>>0)+x;return(g<>>32-p)+c},s._gg=function(u,c,o,f,_,p,x){var g=u+(c&f|o&~f)+(_>>>0)+x;return(g<>>32-p)+c},s._hh=function(u,c,o,f,_,p,x){var g=u+(c^o^f)+(_>>>0)+x;return(g<>>32-p)+c},s._ii=function(u,c,o,f,_,p,x){var g=u+(o^(c|~f))+(_>>>0)+x;return(g<>>32-p)+c},s._blocksize=16,s._digestsize=16,i.exports=function(u,c){if(u==null)throw new Error("Illegal argument "+u);var o=t.wordsToBytes(s(u,c));return c&&c.asBytes?o:c&&c.asString?a.bytesToString(o):t.bytesToHex(o)}})()},61339:function(i){i.exports=d;function d(e,t){if(!e)throw new Error(t||"Assertion failed")}d.equal=function(t,r,n){if(t!=r)throw new Error(n||"Assertion failed: "+t+" != "+r)}},84126:function(i){"use strict";var d=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function n(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;var c=Object.getOwnPropertyNames(s).map(function(f){return s[f]});if(c.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(f){o[f]=f}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch(f){return!1}}i.exports=n()?Object.assign:function(a,s){for(var u,c=r(a),o,f=1;f1)for(var S=1;S-1,f.createElement(R,(0,t.Z)({},Ce,{prefixCls:J,key:me,panelKey:me,isActive:bt,accordion:k,openMotion:se,expandIcon:le,header:st,collapsible:at,onItemClick:St,destroyInactivePanel:ct}),ze)})},M=function(W,N,J){if(!W)return null;var k=J.prefixCls,Z=J.accordion,G=J.collapsible,ee=J.destroyInactivePanel,ie=J.onItemClick,se=J.activeKey,le=J.openMotion,de=J.expandIcon,He=W.key||String(N),ze=W.props,st=ze.header,vt=ze.headerClass,Je=ze.destroyInactivePanel,Ke=ze.collapsible,Re=ze.onItemClick,Ce=!1;Z?Ce=se[0]===He:Ce=se.indexOf(He)>-1;var me=Ke!=null?Ke:G,at=function(bt){me!=="disabled"&&(ie(bt),Re==null||Re(bt))},ct={key:He,panelKey:He,header:st,headerClass:vt,isActive:Ce,prefixCls:k,destroyInactivePanel:Je!=null?Je:ee,openMotion:le,accordion:Z,children:W.props.children,onItemClick:at,expandIcon:de,collapsible:me};return typeof W.type=="string"?W:(Object.keys(ct).forEach(function(St){typeof ct[St]=="undefined"&&delete ct[St]}),f.cloneElement(W,ct))};function B(Q,W,N){return Array.isArray(Q)?D(Q,N):(0,p.Z)(W).map(function(J,k){return M(J,k,N)})}var j=B,V=e(26112);function H(Q){var W=Q;if(!Array.isArray(W)){var N=(0,a.Z)(W);W=N==="number"||N==="string"?[W]:[]}return W.map(function(J){return String(J)})}var Y=f.forwardRef(function(Q,W){var N=Q.prefixCls,J=N===void 0?"rc-collapse":N,k=Q.destroyInactivePanel,Z=k===void 0?!1:k,G=Q.style,ee=Q.accordion,ie=Q.className,se=Q.children,le=Q.collapsible,de=Q.openMotion,He=Q.expandIcon,ze=Q.activeKey,st=Q.defaultActiveKey,vt=Q.onChange,Je=Q.items,Ke=u()(J,ie),Re=(0,c.Z)([],{value:ze,onChange:function(Ie){return vt==null?void 0:vt(Ie)},defaultValue:st,postState:H}),Ce=(0,n.Z)(Re,2),me=Ce[0],at=Ce[1],ct=function(Ie){return at(function(){if(ee)return me[0]===Ie?[]:[Ie];var $e=me.indexOf(Ie),ft=$e>-1;return ft?me.filter(function(ke){return ke!==Ie}):[].concat((0,r.Z)(me),[Ie])})};(0,o.ZP)(!se,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var St=j(Je,se,{prefixCls:J,accordion:ee,openMotion:de,expandIcon:He,collapsible:le,destroyInactivePanel:Z,onItemClick:ct,activeKey:me});return f.createElement("div",(0,t.Z)({ref:W,className:Ke,style:G,role:ee?"tablist":void 0},(0,V.Z)(Q,{aria:!0,data:!0})),St)}),F=Object.assign(Y,{Panel:R}),K=F,X=F.Panel},55311:function(i,d,e){"use strict";e.d(d,{s:function(){return M},Z:function(){return W}});var t=e(60499),r=e(72190),n=e(43403),a=e(59301),s=a.createContext({}),u=e(85899),c=e(92310),o=e.n(c),f=e(48519),_=e(80402),p=e(10228),x=e(26112);function g(N,J,k){var Z=J;return!Z&&k&&(Z="".concat(N,"-").concat(k)),Z}function P(N,J){var k=N["page".concat(J?"Y":"X","Offset")],Z="scroll".concat(J?"Top":"Left");if(typeof k!="number"){var G=N.document;k=G.documentElement[Z],typeof k!="number"&&(k=G.body[Z])}return k}function O(N){var J=N.getBoundingClientRect(),k={left:J.left,top:J.top},Z=N.ownerDocument,G=Z.defaultView||Z.parentWindow;return k.left+=P(G),k.top+=P(G,!0),k}var S=e(77900),I=e(43749),E=e(8654),A=a.memo(function(N){var J=N.children;return J},function(N,J){var k=J.shouldUpdate;return!k}),R={width:0,height:0,overflow:"hidden",outline:"none"},T={outline:"none"},D=a.forwardRef(function(N,J){var k=N.prefixCls,Z=N.className,G=N.style,ee=N.title,ie=N.ariaId,se=N.footer,le=N.closable,de=N.closeIcon,He=N.onClose,ze=N.children,st=N.bodyStyle,vt=N.bodyProps,Je=N.modalRender,Ke=N.onMouseDown,Re=N.onMouseUp,Ce=N.holderRef,me=N.visible,at=N.forceRender,ct=N.width,St=N.height,bt=N.classNames,Ie=N.styles,$e=a.useContext(s),ft=$e.panel,ke=(0,E.x1)(Ce,ft),ye=(0,a.useRef)(),fe=(0,a.useRef)();a.useImperativeHandle(J,function(){return{focus:function(){var it;(it=ye.current)===null||it===void 0||it.focus({preventScroll:!0})},changeActive:function(it){var Dt=document,Yt=Dt.activeElement;it&&Yt===fe.current?ye.current.focus({preventScroll:!0}):!it&&Yt===ye.current&&fe.current.focus({preventScroll:!0})}}});var Oe={};ct!==void 0&&(Oe.width=ct),St!==void 0&&(Oe.height=St);var Ee=se?a.createElement("div",{className:o()("".concat(k,"-footer"),bt==null?void 0:bt.footer),style:(0,u.Z)({},Ie==null?void 0:Ie.footer)},se):null,et=ee?a.createElement("div",{className:o()("".concat(k,"-header"),bt==null?void 0:bt.header),style:(0,u.Z)({},Ie==null?void 0:Ie.header)},a.createElement("div",{className:"".concat(k,"-title"),id:ie},ee)):null,mt=(0,a.useMemo)(function(){return(0,I.Z)(le)==="object"&&le!==null?le:le?{closeIcon:de!=null?de:a.createElement("span",{className:"".concat(k,"-close-x")})}:{}},[le,de,k]),pe=(0,x.Z)(mt,!0),ge=(0,I.Z)(le)==="object"&&le.disabled,lt=le?a.createElement("button",(0,t.Z)({type:"button",onClick:He,"aria-label":"Close"},pe,{className:"".concat(k,"-close"),disabled:ge}),mt.closeIcon):null,Qe=a.createElement("div",{className:o()("".concat(k,"-content"),bt==null?void 0:bt.content),style:Ie==null?void 0:Ie.content},lt,et,a.createElement("div",(0,t.Z)({className:o()("".concat(k,"-body"),bt==null?void 0:bt.body),style:(0,u.Z)((0,u.Z)({},st),Ie==null?void 0:Ie.body)},vt),ze),Ee);return a.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":ee?ie:null,"aria-modal":"true",ref:ke,style:(0,u.Z)((0,u.Z)({},G),Oe),className:o()(k,Z),onMouseDown:Ke,onMouseUp:Re},a.createElement("div",{ref:ye,tabIndex:0,style:T},a.createElement(A,{shouldUpdate:me||at},Je?Je(Qe):Qe)),a.createElement("div",{tabIndex:0,ref:fe,style:R}))}),M=D,B=a.forwardRef(function(N,J){var k=N.prefixCls,Z=N.title,G=N.style,ee=N.className,ie=N.visible,se=N.forceRender,le=N.destroyOnClose,de=N.motionName,He=N.ariaId,ze=N.onVisibleChanged,st=N.mousePosition,vt=(0,a.useRef)(),Je=a.useState(),Ke=(0,r.Z)(Je,2),Re=Ke[0],Ce=Ke[1],me={};Re&&(me.transformOrigin=Re);function at(){var ct=O(vt.current);Ce(st&&(st.x||st.y)?"".concat(st.x-ct.left,"px ").concat(st.y-ct.top,"px"):"")}return a.createElement(S.default,{visible:ie,onVisibleChanged:ze,onAppearPrepare:at,onEnterPrepare:at,forceRender:se,motionName:de,removeOnLeave:le,ref:vt},function(ct,St){var bt=ct.className,Ie=ct.style;return a.createElement(M,(0,t.Z)({},N,{ref:J,title:Z,ariaId:He,prefixCls:k,holderRef:St,style:(0,u.Z)((0,u.Z)((0,u.Z)({},Ie),G),me),className:o()(ee,bt)}))})});B.displayName="Content";var j=B,V=function(J){var k=J.prefixCls,Z=J.style,G=J.visible,ee=J.maskProps,ie=J.motionName,se=J.className;return a.createElement(S.default,{key:"mask",visible:G,motionName:ie,leavedClassName:"".concat(k,"-mask-hidden")},function(le,de){var He=le.className,ze=le.style;return a.createElement("div",(0,t.Z)({ref:de,style:(0,u.Z)((0,u.Z)({},ze),Z),className:o()("".concat(k,"-mask"),He,se)},ee))})},H=V,Y=e(48736),F=function(J){var k=J.prefixCls,Z=k===void 0?"rc-dialog":k,G=J.zIndex,ee=J.visible,ie=ee===void 0?!1:ee,se=J.keyboard,le=se===void 0?!0:se,de=J.focusTriggerAfterClose,He=de===void 0?!0:de,ze=J.wrapStyle,st=J.wrapClassName,vt=J.wrapProps,Je=J.onClose,Ke=J.afterOpenChange,Re=J.afterClose,Ce=J.transitionName,me=J.animation,at=J.closable,ct=at===void 0?!0:at,St=J.mask,bt=St===void 0?!0:St,Ie=J.maskTransitionName,$e=J.maskAnimation,ft=J.maskClosable,ke=ft===void 0?!0:ft,ye=J.maskStyle,fe=J.maskProps,Oe=J.rootClassName,Ee=J.classNames,et=J.styles,mt=(0,a.useRef)(),pe=(0,a.useRef)(),ge=(0,a.useRef)(),lt=a.useState(ie),Qe=(0,r.Z)(lt,2),Ve=Qe[0],it=Qe[1],Dt=(0,_.Z)();function Yt(){(0,f.Z)(pe.current,document.activeElement)||(mt.current=document.activeElement)}function Se(){if(!(0,f.Z)(pe.current,document.activeElement)){var cr;(cr=ge.current)===null||cr===void 0||cr.focus()}}function je(cr){if(cr)Se();else{if(it(!1),bt&&mt.current&&He){try{mt.current.focus({preventScroll:!0})}catch(Ze){}mt.current=null}Ve&&(Re==null||Re())}Ke==null||Ke(cr)}function Be(cr){Je==null||Je(cr)}var ht=(0,a.useRef)(!1),At=(0,a.useRef)(),ce=function(){clearTimeout(At.current),ht.current=!0},_t=function(){At.current=setTimeout(function(){ht.current=!1})},qt=null;ke&&(qt=function(Ze){ht.current?ht.current=!1:pe.current===Ze.target&&Be(Ze)});function Ht(cr){if(le&&cr.keyCode===p.Z.ESC){cr.stopPropagation(),Be(cr);return}ie&&cr.keyCode===p.Z.TAB&&ge.current.changeActive(!cr.shiftKey)}(0,a.useEffect)(function(){ie&&(it(!0),Yt())},[ie]),(0,a.useEffect)(function(){return function(){clearTimeout(At.current)}},[]);var Ut=(0,u.Z)((0,u.Z)((0,u.Z)({zIndex:G},ze),et==null?void 0:et.wrapper),{},{display:Ve?null:"none"});return a.createElement("div",(0,t.Z)({className:o()("".concat(Z,"-root"),Oe)},(0,x.Z)(J,{data:!0})),a.createElement(H,{prefixCls:Z,visible:bt&&ie,motionName:g(Z,Ie,$e),style:(0,u.Z)((0,u.Z)({zIndex:G},ye),et==null?void 0:et.mask),maskProps:fe,className:Ee==null?void 0:Ee.mask}),a.createElement("div",(0,t.Z)({tabIndex:-1,onKeyDown:Ht,className:o()("".concat(Z,"-wrap"),st,Ee==null?void 0:Ee.wrapper),ref:pe,onClick:qt,style:Ut},vt),a.createElement(j,(0,t.Z)({},J,{onMouseDown:ce,onMouseUp:_t,ref:ge,closable:ct,ariaId:Dt,prefixCls:Z,visible:ie&&Ve,onClose:Be,onVisibleChanged:je,motionName:g(Z,Ce,me)}))))},K=F,X=function(J){var k=J.visible,Z=J.getContainer,G=J.forceRender,ee=J.destroyOnClose,ie=ee===void 0?!1:ee,se=J.afterClose,le=J.panelRef,de=a.useState(k),He=(0,r.Z)(de,2),ze=He[0],st=He[1],vt=a.useMemo(function(){return{panel:le}},[le]);return a.useEffect(function(){k&&st(!0)},[k]),!G&&ie&&!ze?null:a.createElement(s.Provider,{value:vt},a.createElement(n.Z,{open:k||G||ze,autoDestroy:!1,getContainer:Z,autoLock:k||ze},a.createElement(K,(0,t.Z)({},J,{destroyOnClose:ie,afterClose:function(){se==null||se(),st(!1)}}))))};X.displayName="Dialog";var Q=X,W=Q},69180:function(i,d,e){"use strict";e.r(d),e.d(d,{Field:function(){return Za},FieldContext:function(){return R},FormProvider:function(){return xe},List:function(){return ya},ListContext:function(){return D},default:function(){return sn},useForm:function(){return Ha},useWatch:function(){return Gr}});var t=e(59301),r=e(60499),n=e(42244),a=e(73001),s=e(11576),u=e(85899),c=e(77654),o=e(38705),f=e(17212),_=e(15793),p=e(39153),x=e(55401),g=e(18642),P=e(11592),O=e(13697),S=e(48736),I="RC_FORM_INTERNAL_HOOKS",E=function(){(0,S.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},A=t.createContext({getFieldValue:E,getFieldsValue:E,getFieldError:E,getFieldWarning:E,getFieldsError:E,isFieldsTouched:E,isFieldTouched:E,isFieldValidating:E,isFieldsValidating:E,resetFields:E,setFields:E,setFieldValue:E,setFieldsValue:E,validateFields:E,submit:E,getInternalHooks:function(){return E(),{dispatch:E,initEntityValue:E,registerField:E,useSubscribe:E,setInitialValues:E,destroyForm:E,setCallbacks:E,registerWatch:E,getFields:E,setValidateMessages:E,setPreserve:E,getInitialValue:E}}}),R=A,T=t.createContext(null),D=T;function M(nt){return nt==null?[]:Array.isArray(nt)?nt:[nt]}function B(nt){return nt&&!!nt._init}var j=e(43749);function V(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",tel:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var be=JSON.parse(JSON.stringify(this));return be.clone=this.clone,be}}}var H=V(),Y=e(38882),F=e(29658);function K(nt){try{return Function.toString.call(nt).indexOf("[native code]")!==-1}catch(be){return typeof nt=="function"}}var X=e(54628);function Q(nt,be,ue){if((0,X.Z)())return Reflect.construct.apply(null,arguments);var Ye=[null];Ye.push.apply(Ye,be);var Me=new(nt.bind.apply(nt,Ye));return ue&&(0,F.Z)(Me,ue.prototype),Me}function W(nt){var be=typeof Map=="function"?new Map:void 0;return W=function(Ye){if(Ye===null||!K(Ye))return Ye;if(typeof Ye!="function")throw new TypeError("Super expression must either be null or a function");if(be!==void 0){if(be.has(Ye))return be.get(Ye);be.set(Ye,Me)}function Me(){return Q(Ye,arguments,(0,Y.Z)(this).constructor)}return Me.prototype=Object.create(Ye.prototype,{constructor:{value:Me,enumerable:!1,writable:!0,configurable:!0}}),(0,F.Z)(Me,Ye)},W(nt)}var N=e(97671),J=/%[sdj%]/g,k=function(){};function Z(nt){if(!nt||!nt.length)return null;var be={};return nt.forEach(function(ue){var Ye=ue.field;be[Ye]=be[Ye]||[],be[Ye].push(ue)}),be}function G(nt){for(var be=arguments.length,ue=new Array(be>1?be-1:0),Ye=1;Ye=yt)return Zt;switch(Zt){case"%s":return String(ue[Me++]);case"%d":return Number(ue[Me++]);case"%j":try{return JSON.stringify(ue[Me++])}catch(hr){return"[Circular]"}break;default:return Zt}});return xt}return nt}function ee(nt){return nt==="string"||nt==="url"||nt==="hex"||nt==="email"||nt==="date"||nt==="pattern"||nt==="tel"}function ie(nt,be){return!!(nt==null||be==="array"&&Array.isArray(nt)&&!nt.length||ee(be)&&typeof nt=="string"&&!nt)}function se(nt){return Object.keys(nt).length===0}function le(nt,be,ue){var Ye=[],Me=0,yt=nt.length;function xt(Zt){Ye.push.apply(Ye,(0,c.Z)(Zt||[])),Me++,Me===yt&&ue(Ye)}nt.forEach(function(Zt){be(Zt,xt)})}function de(nt,be,ue){var Ye=0,Me=nt.length;function yt(xt){if(xt&&xt.length){ue(xt);return}var Zt=Ye;Ye=Ye+1,Ztbe.max?Me.push(G(yt.messages[wr].max,be.fullField,be.max)):Zt&&hr&&(orbe.max)&&Me.push(G(yt.messages[wr].range,be.fullField,be.min,be.max))},Ie=bt,$e=function(be,ue,Ye,Me,yt,xt){be.required&&(!Ye.hasOwnProperty(be.field)||ie(ue,xt||be.type))&&Me.push(G(yt.messages.required,be.fullField))},ft=$e,ke,ye=function(){if(ke)return ke;var nt="[a-fA-F\\d:]",be=function(Ea){return Ea&&Ea.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(nt,")|(?<=").concat(nt,")(?=\\s|$))"):""},ue="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Ye="[a-fA-F\\d]{1,4}",Me=["(?:".concat(Ye,":){7}(?:").concat(Ye,"|:)"),"(?:".concat(Ye,":){6}(?:").concat(ue,"|:").concat(Ye,"|:)"),"(?:".concat(Ye,":){5}(?::").concat(ue,"|(?::").concat(Ye,"){1,2}|:)"),"(?:".concat(Ye,":){4}(?:(?::").concat(Ye,"){0,1}:").concat(ue,"|(?::").concat(Ye,"){1,3}|:)"),"(?:".concat(Ye,":){3}(?:(?::").concat(Ye,"){0,2}:").concat(ue,"|(?::").concat(Ye,"){1,4}|:)"),"(?:".concat(Ye,":){2}(?:(?::").concat(Ye,"){0,3}:").concat(ue,"|(?::").concat(Ye,"){1,5}|:)"),"(?:".concat(Ye,":){1}(?:(?::").concat(Ye,"){0,4}:").concat(ue,"|(?::").concat(Ye,"){1,6}|:)"),"(?::(?:(?::".concat(Ye,"){0,5}:").concat(ue,"|(?::").concat(Ye,"){1,7}|:))")],yt="(?:%[0-9a-zA-Z]{1,})?",xt="(?:".concat(Me.join("|"),")").concat(yt),Zt=new RegExp("(?:^".concat(ue,"$)|(?:^").concat(xt,"$)")),hr=new RegExp("^".concat(ue,"$")),xr=new RegExp("^".concat(xt,"$")),or=function(Ea){return Ea&&Ea.exact?Zt:new RegExp("(?:".concat(be(Ea)).concat(ue).concat(be(Ea),")|(?:").concat(be(Ea)).concat(xt).concat(be(Ea),")"),"g")};or.v4=function(wn){return wn&&wn.exact?hr:new RegExp("".concat(be(wn)).concat(ue).concat(be(wn)),"g")},or.v6=function(wn){return wn&&wn.exact?xr:new RegExp("".concat(be(wn)).concat(xt).concat(be(wn)),"g")};var wr="(?:(?:[a-z]+:)?//)",an="(?:\\S+(?::\\S*)?@)?",zn=or.v4().source,un=or.v6().source,tn="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",vr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",mn="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Wr="(?::\\d{2,5})?",Sn='(?:[/?#][^\\s"]*)?',jn="(?:".concat(wr,"|www\\.)").concat(an,"(?:localhost|").concat(zn,"|").concat(un,"|").concat(tn).concat(vr).concat(mn,")").concat(Wr).concat(Sn);return ke=new RegExp("(?:^".concat(jn,"$)"),"i"),ke},fe={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,tel:/^(\+[0-9]{1,3}[-\s\u2011]?)?(\([0-9]{1,4}\)[-\s\u2011]?)?([0-9]+[-\s\u2011]?)*[0-9]+$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Oe={integer:function(be){return Oe.number(be)&&parseInt(be,10)===be},float:function(be){return Oe.number(be)&&!Oe.integer(be)},array:function(be){return Array.isArray(be)},regexp:function(be){if(be instanceof RegExp)return!0;try{return!!new RegExp(be)}catch(ue){return!1}},date:function(be){return typeof be.getTime=="function"&&typeof be.getMonth=="function"&&typeof be.getYear=="function"&&!isNaN(be.getTime())},number:function(be){return isNaN(be)?!1:typeof be=="number"},object:function(be){return(0,j.Z)(be)==="object"&&!Oe.array(be)},method:function(be){return typeof be=="function"},email:function(be){return typeof be=="string"&&be.length<=320&&!!be.match(fe.email)},tel:function(be){return typeof be=="string"&&be.length<=32&&!!be.match(fe.tel)},url:function(be){return typeof be=="string"&&be.length<=2048&&!!be.match(ye())},hex:function(be){return typeof be=="string"&&!!be.match(fe.hex)}},Ee=function(be,ue,Ye,Me,yt){if(be.required&&ue===void 0){ft(be,ue,Ye,Me,yt);return}var xt=["integer","float","array","regexp","object","method","email","tel","number","date","url","hex"],Zt=be.type;xt.indexOf(Zt)>-1?Oe[Zt](ue)||Me.push(G(yt.messages.types[Zt],be.fullField,be.type)):Zt&&(0,j.Z)(ue)!==be.type&&Me.push(G(yt.messages.types[Zt],be.fullField,be.type))},et=Ee,mt=function(be,ue,Ye,Me,yt){(/^\s+$/.test(ue)||ue==="")&&Me.push(G(yt.messages.whitespace,be.fullField))},pe=mt,ge={required:ft,whitespace:pe,type:et,range:Ie,enum:at,pattern:St},lt=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt)}Ye(xt)},Qe=lt,Ve=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ue==null&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt,"array"),ue!=null&&(ge.type(be,ue,Me,xt,yt),ge.range(be,ue,Me,xt,yt))}Ye(xt)},it=Ve,Dt=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ue!==void 0&&ge.type(be,ue,Me,xt,yt)}Ye(xt)},Yt=Dt,Se=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue,"date")&&!be.required)return Ye();if(ge.required(be,ue,Me,xt,yt),!ie(ue,"date")){var hr;ue instanceof Date?hr=ue:hr=new Date(ue),ge.type(be,hr,Me,xt,yt),hr&&ge.range(be,hr.getTime(),Me,xt,yt)}}Ye(xt)},je=Se,Be="enum",ht=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ue!==void 0&&ge[Be](be,ue,Me,xt,yt)}Ye(xt)},At=ht,ce=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ue!==void 0&&(ge.type(be,ue,Me,xt,yt),ge.range(be,ue,Me,xt,yt))}Ye(xt)},_t=ce,qt=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ue!==void 0&&(ge.type(be,ue,Me,xt,yt),ge.range(be,ue,Me,xt,yt))}Ye(xt)},Ht=qt,Ut=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ue!==void 0&&ge.type(be,ue,Me,xt,yt)}Ye(xt)},cr=Ut,Ze=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ue===""&&(ue=void 0),ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ue!==void 0&&(ge.type(be,ue,Me,xt,yt),ge.range(be,ue,Me,xt,yt))}Ye(xt)},dt=Ze,kt=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ue!==void 0&&ge.type(be,ue,Me,xt,yt)}Ye(xt)},ar=kt,$t=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue,"string")&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ie(ue,"string")||ge.pattern(be,ue,Me,xt,yt)}Ye(xt)},pr=$t,Ir=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue)&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt),ie(ue)||ge.type(be,ue,Me,xt,yt)}Ye(xt)},kr=Ir,er=function(be,ue,Ye,Me,yt){var xt=[],Zt=Array.isArray(ue)?"array":(0,j.Z)(ue);ge.required(be,ue,Me,xt,yt,Zt),Ye(xt)},Nt=er,Kt=function(be,ue,Ye,Me,yt){var xt=[],Zt=be.required||!be.required&&Me.hasOwnProperty(be.field);if(Zt){if(ie(ue,"string")&&!be.required)return Ye();ge.required(be,ue,Me,xt,yt,"string"),ie(ue,"string")||(ge.type(be,ue,Me,xt,yt),ge.range(be,ue,Me,xt,yt),ge.pattern(be,ue,Me,xt,yt),be.whitespace===!0&&ge.whitespace(be,ue,Me,xt,yt))}Ye(xt)},Qt=Kt,Cr=function(be,ue,Ye,Me,yt){var xt=be.type,Zt=[],hr=be.required||!be.required&&Me.hasOwnProperty(be.field);if(hr){if(ie(ue,xt)&&!be.required)return Ye();ge.required(be,ue,Me,Zt,yt,xt),ie(ue,xt)||ge.type(be,ue,Me,Zt,yt)}Ye(Zt)},Er=Cr,wt={string:Qt,method:cr,number:dt,boolean:Yt,regexp:kr,integer:Ht,float:_t,array:it,object:ar,enum:At,pattern:pr,date:je,url:Er,hex:Er,email:Er,tel:Er,required:Nt,any:Qe},qe=function(){function nt(be){(0,o.Z)(this,nt),(0,g.Z)(this,"rules",null),(0,g.Z)(this,"_messages",H),this.define(be)}return(0,f.Z)(nt,[{key:"define",value:function(ue){var Ye=this;if(!ue)throw new Error("Cannot configure a schema with no rules");if((0,j.Z)(ue)!=="object"||Array.isArray(ue))throw new Error("Rules must be an object");this.rules={},Object.keys(ue).forEach(function(Me){var yt=ue[Me];Ye.rules[Me]=Array.isArray(yt)?yt:[yt]})}},{key:"messages",value:function(ue){return ue&&(this._messages=Re(V(),ue)),this._messages}},{key:"validate",value:function(ue){var Ye=this,Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},xt=ue,Zt=Me,hr=yt;if(typeof Zt=="function"&&(hr=Zt,Zt={}),!this.rules||Object.keys(this.rules).length===0)return hr&&hr(null,xt),Promise.resolve(xt);function xr(un){var tn=[],vr={};function mn(Sn){if(Array.isArray(Sn)){var jn;tn=(jn=tn).concat.apply(jn,(0,c.Z)(Sn))}else tn.push(Sn)}for(var Wr=0;Wr0&&arguments[0]!==void 0?arguments[0]:[],la=Array.isArray(Pn)?Pn:[Pn];!Zt.suppressWarning&&la.length&&nt.warning("async-validator:",la),la.length&&vr.message!==void 0&&vr.message!==null&&(la=[].concat(vr.message));var dn=la.map(Ke(vr,xt));if(Zt.first&&dn.length)return zn[vr.field]=1,tn(dn);if(!mn)tn(dn);else{if(vr.required&&!un.value)return vr.message!==void 0?dn=[].concat(vr.message).map(Ke(vr,xt)):Zt.error&&(dn=[Zt.error(vr,G(Zt.messages.required,vr.field))]),tn(dn);var Fn={};vr.defaultField&&Object.keys(un.value).map(function(oa){Fn[oa]=vr.defaultField}),Fn=(0,u.Z)((0,u.Z)({},Fn),un.rule.fields);var xa={};Object.keys(Fn).forEach(function(oa){var ia=Fn[oa],sa=Array.isArray(ia)?ia:[ia];xa[oa]=sa.map(Wr.bind(null,oa))});var Ra=new nt(xa);Ra.messages(Zt.messages),un.rule.options&&(un.rule.options.messages=Zt.messages,un.rule.options.error=Zt.error),Ra.validate(un.value,un.rule.options||Zt,function(oa){var ia=[];dn&&dn.length&&ia.push.apply(ia,(0,c.Z)(dn)),oa&&oa.length&&ia.push.apply(ia,(0,c.Z)(oa)),tn(ia.length?ia:null)})}}var jn;if(vr.asyncValidator)jn=vr.asyncValidator(vr,un.value,Sn,un.source,Zt);else if(vr.validator){try{jn=vr.validator(vr,un.value,Sn,un.source,Zt)}catch(Pn){var wn,Ea;(wn=(Ea=console).error)===null||wn===void 0||wn.call(Ea,Pn),Zt.suppressValidatorError||setTimeout(function(){throw Pn},0),Sn(Pn.message)}jn===!0?Sn():jn===!1?Sn(typeof vr.message=="function"?vr.message(vr.fullField||vr.field):vr.message||"".concat(vr.fullField||vr.field," fails")):jn instanceof Array?Sn(jn):jn instanceof Error&&Sn(jn.message)}jn&&jn.then&&jn.then(function(){return Sn()},function(Pn){return Sn(Pn)})},function(un){xr(un)},xt)}},{key:"getType",value:function(ue){if(ue.type===void 0&&ue.pattern instanceof RegExp&&(ue.type="pattern"),typeof ue.validator!="function"&&ue.type&&!wt.hasOwnProperty(ue.type))throw new Error(G("Unknown rule type %s",ue.type));return ue.type||"string"}},{key:"getValidationMethod",value:function(ue){if(typeof ue.validator=="function")return ue.validator;var Ye=Object.keys(ue),Me=Ye.indexOf("message");return Me!==-1&&Ye.splice(Me,1),Ye.length===1&&Ye[0]==="required"?wt.required:wt[this.getType(ue)]||void 0}}]),nt}();(0,g.Z)(qe,"register",function(be,ue){if(typeof ue!="function")throw new Error("Cannot register a validator by type, validator is not a function");wt[be]=ue}),(0,g.Z)(qe,"warning",k),(0,g.Z)(qe,"messages",H),(0,g.Z)(qe,"validators",wt);var Ue=qe,Le="'${name}' is not a valid ${type}",rt={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Le,method:Le,array:Le,object:Le,number:Le,date:Le,boolean:Le,integer:Le,float:Le,regexp:Le,email:Le,url:Le,hex:Le},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Tt=e(24434),Lt=Ue;function gr(nt,be){return nt.replace(/\\?\$\{\w+\}/g,function(ue){if(ue.startsWith("\\"))return ue.slice(1);var Ye=ue.slice(2,-1);return be[Ye]})}var yr="CODE_LOGIC_ERROR";function Ur(nt,be,ue,Ye,Me){return bn.apply(this,arguments)}function bn(){return bn=(0,s.Z)((0,a.Z)().mark(function nt(be,ue,Ye,Me,yt){var xt,Zt,hr,xr,or,wr,an,zn,un;return(0,a.Z)().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:return xt=(0,u.Z)({},Ye),delete xt.ruleIndex,Lt.warning=function(){},xt.validator&&(Zt=xt.validator,xt.validator=function(){try{return Zt.apply(void 0,arguments)}catch(mn){return console.error(mn),Promise.reject(yr)}}),hr=null,xt&&xt.type==="array"&&xt.defaultField&&(hr=xt.defaultField,delete xt.defaultField),xr=new Lt((0,g.Z)({},be,[xt])),or=(0,Tt.T)(rt,Me.validateMessages),xr.messages(or),wr=[],vr.prev=10,vr.next=13,Promise.resolve(xr.validate((0,g.Z)({},be,ue),(0,u.Z)({},Me)));case 13:vr.next=18;break;case 15:vr.prev=15,vr.t0=vr.catch(10),vr.t0.errors&&(wr=vr.t0.errors.map(function(mn,Wr){var Sn=mn.message,jn=Sn===yr?or.default:Sn;return t.isValidElement(jn)?t.cloneElement(jn,{key:"error_".concat(Wr)}):jn}));case 18:if(!(!wr.length&&hr&&Array.isArray(ue)&&ue.length>0)){vr.next=23;break}return vr.next=21,Promise.all(ue.map(function(mn,Wr){return Ur("".concat(be,".").concat(Wr),mn,hr,Me,yt)}));case 21:return an=vr.sent,vr.abrupt("return",an.reduce(function(mn,Wr){return[].concat((0,c.Z)(mn),(0,c.Z)(Wr))},[]));case 23:return zn=(0,u.Z)((0,u.Z)({},Ye),{},{name:be,enum:(Ye.enum||[]).join(", ")},yt),un=wr.map(function(mn){return typeof mn=="string"?gr(mn,zn):mn}),vr.abrupt("return",un);case 26:case"end":return vr.stop()}},nt,null,[[10,15]])})),bn.apply(this,arguments)}function sr(nt,be,ue,Ye,Me,yt){var xt=nt.join("."),Zt=ue.map(function(or,wr){var an=or.validator,zn=(0,u.Z)((0,u.Z)({},or),{},{ruleIndex:wr});return an&&(zn.validator=function(un,tn,vr){var mn=!1,Wr=function(){for(var wn=arguments.length,Ea=new Array(wn),Pn=0;Pn2&&arguments[2]!==void 0?arguments[2]:!1;return nt&&nt.some(function(Ye){return On(be,Ye,ue)})}function On(nt,be){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!nt||!be||!ue&&nt.length!==be.length?!1:be.every(function(Ye,Me){return nt[Me]===Ye})}function za(nt,be){if(nt===be)return!0;if(!nt&&be||nt&&!be||!nt||!be||(0,j.Z)(nt)!=="object"||(0,j.Z)(be)!=="object")return!1;var ue=Object.keys(nt),Ye=Object.keys(be),Me=new Set([].concat(ue,Ye));return(0,c.Z)(Me).every(function(yt){var xt=nt[yt],Zt=be[yt];return typeof xt=="function"&&typeof Zt=="function"?!0:xt===Zt})}function ja(nt){var be=arguments.length<=1?void 0:arguments[1];return be&&be.target&&(0,j.Z)(be.target)==="object"&&nt in be.target?be.target[nt]:be}function gn(nt,be,ue){var Ye=nt.length;if(be<0||be>=Ye||ue<0||ue>=Ye)return nt;var Me=nt[be],yt=be-ue;return yt>0?[].concat((0,c.Z)(nt.slice(0,ue)),[Me],(0,c.Z)(nt.slice(ue,be)),(0,c.Z)(nt.slice(be+1,Ye))):yt<0?[].concat((0,c.Z)(nt.slice(0,be)),(0,c.Z)(nt.slice(be+1,ue+1)),[Me],(0,c.Z)(nt.slice(ue+1,Ye))):nt}var Va=["name"],va=[];function _o(nt,be,ue,Ye,Me,yt){return typeof nt=="function"?nt(be,ue,"source"in yt?{source:yt.source}:{}):Ye!==Me}var no=function(nt){(0,p.Z)(ue,nt);var be=(0,x.Z)(ue);function ue(Ye){var Me;if((0,o.Z)(this,ue),Me=be.call(this,Ye),(0,g.Z)((0,_.Z)(Me),"state",{resetCount:0}),(0,g.Z)((0,_.Z)(Me),"cancelRegisterFunc",null),(0,g.Z)((0,_.Z)(Me),"mounted",!1),(0,g.Z)((0,_.Z)(Me),"touched",!1),(0,g.Z)((0,_.Z)(Me),"dirty",!1),(0,g.Z)((0,_.Z)(Me),"validatePromise",void 0),(0,g.Z)((0,_.Z)(Me),"prevValidating",void 0),(0,g.Z)((0,_.Z)(Me),"errors",va),(0,g.Z)((0,_.Z)(Me),"warnings",va),(0,g.Z)((0,_.Z)(Me),"cancelRegister",function(){var hr=Me.props,xr=hr.preserve,or=hr.isListField,wr=hr.name;Me.cancelRegisterFunc&&Me.cancelRegisterFunc(or,xr,pn(wr)),Me.cancelRegisterFunc=null}),(0,g.Z)((0,_.Z)(Me),"getNamePath",function(){var hr=Me.props,xr=hr.name,or=hr.fieldContext,wr=or.prefixName,an=wr===void 0?[]:wr;return xr!==void 0?[].concat((0,c.Z)(an),(0,c.Z)(xr)):[]}),(0,g.Z)((0,_.Z)(Me),"getRules",function(){var hr=Me.props,xr=hr.rules,or=xr===void 0?[]:xr,wr=hr.fieldContext;return or.map(function(an){return typeof an=="function"?an(wr):an})}),(0,g.Z)((0,_.Z)(Me),"refresh",function(){Me.mounted&&Me.setState(function(hr){var xr=hr.resetCount;return{resetCount:xr+1}})}),(0,g.Z)((0,_.Z)(Me),"metaCache",null),(0,g.Z)((0,_.Z)(Me),"triggerMetaEvent",function(hr){var xr=Me.props.onMetaChange;if(xr){var or=(0,u.Z)((0,u.Z)({},Me.getMeta()),{},{destroy:hr});(0,O.Z)(Me.metaCache,or)||xr(or),Me.metaCache=or}else Me.metaCache=null}),(0,g.Z)((0,_.Z)(Me),"onStoreChange",function(hr,xr,or){var wr=Me.props,an=wr.shouldUpdate,zn=wr.dependencies,un=zn===void 0?[]:zn,tn=wr.onReset,vr=or.store,mn=Me.getNamePath(),Wr=Me.getValue(hr),Sn=Me.getValue(vr),jn=xr&&ma(xr,mn);switch(or.type==="valueUpdate"&&or.source==="external"&&!(0,O.Z)(Wr,Sn)&&(Me.touched=!0,Me.dirty=!0,Me.validatePromise=null,Me.errors=va,Me.warnings=va,Me.triggerMetaEvent()),or.type){case"reset":if(!xr||jn){Me.touched=!1,Me.dirty=!1,Me.validatePromise=void 0,Me.errors=va,Me.warnings=va,Me.triggerMetaEvent(),tn==null||tn(),Me.refresh();return}break;case"remove":{if(an&&_o(an,hr,vr,Wr,Sn,or)){Me.reRender();return}break}case"setField":{var wn=or.data;if(jn){"touched"in wn&&(Me.touched=wn.touched),"validating"in wn&&!("originRCField"in wn)&&(Me.validatePromise=wn.validating?Promise.resolve([]):null),"errors"in wn&&(Me.errors=wn.errors||va),"warnings"in wn&&(Me.warnings=wn.warnings||va),Me.dirty=!0,Me.triggerMetaEvent(),Me.reRender();return}else if("value"in wn&&ma(xr,mn,!0)){Me.reRender();return}if(an&&!mn.length&&_o(an,hr,vr,Wr,Sn,or)){Me.reRender();return}break}case"dependenciesUpdate":{var Ea=un.map(pn);if(Ea.some(function(Pn){return ma(or.relatedFields,Pn)})){Me.reRender();return}break}default:if(jn||(!un.length||mn.length||an)&&_o(an,hr,vr,Wr,Sn,or)){Me.reRender();return}break}an===!0&&Me.reRender()}),(0,g.Z)((0,_.Z)(Me),"validateRules",function(hr){var xr=Me.getNamePath(),or=Me.getValue(),wr=hr||{},an=wr.triggerName,zn=wr.validateOnly,un=zn===void 0?!1:zn,tn=Promise.resolve().then((0,s.Z)((0,a.Z)().mark(function vr(){var mn,Wr,Sn,jn,wn,Ea,Pn;return(0,a.Z)().wrap(function(dn){for(;;)switch(dn.prev=dn.next){case 0:if(Me.mounted){dn.next=2;break}return dn.abrupt("return",[]);case 2:if(mn=Me.props,Wr=mn.validateFirst,Sn=Wr===void 0?!1:Wr,jn=mn.messageVariables,wn=mn.validateDebounce,Ea=Me.getRules(),an&&(Ea=Ea.filter(function(Fn){return Fn}).filter(function(Fn){var xa=Fn.validateTrigger;if(!xa)return!0;var Ra=M(xa);return Ra.includes(an)})),!(wn&&an)){dn.next=10;break}return dn.next=8,new Promise(function(Fn){setTimeout(Fn,wn)});case 8:if(Me.validatePromise===tn){dn.next=10;break}return dn.abrupt("return",[]);case 10:return Pn=sr(xr,or,Ea,hr,Sn,jn),Pn.catch(function(Fn){return Fn}).then(function(){var Fn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:va;if(Me.validatePromise===tn){var xa;Me.validatePromise=null;var Ra=[],oa=[];(xa=Fn.forEach)===null||xa===void 0||xa.call(Fn,function(ia){var sa=ia.rule.warningOnly,fo=ia.errors,Bo=fo===void 0?va:fo;sa?oa.push.apply(oa,(0,c.Z)(Bo)):Ra.push.apply(Ra,(0,c.Z)(Bo))}),Me.errors=Ra,Me.warnings=oa,Me.triggerMetaEvent(),Me.reRender()}}),dn.abrupt("return",Pn);case 13:case"end":return dn.stop()}},vr)})));return un||(Me.validatePromise=tn,Me.dirty=!0,Me.errors=va,Me.warnings=va,Me.triggerMetaEvent(),Me.reRender()),tn}),(0,g.Z)((0,_.Z)(Me),"isFieldValidating",function(){return!!Me.validatePromise}),(0,g.Z)((0,_.Z)(Me),"isFieldTouched",function(){return Me.touched}),(0,g.Z)((0,_.Z)(Me),"isFieldDirty",function(){if(Me.dirty||Me.props.initialValue!==void 0)return!0;var hr=Me.props.fieldContext,xr=hr.getInternalHooks(I),or=xr.getInitialValue;return or(Me.getNamePath())!==void 0}),(0,g.Z)((0,_.Z)(Me),"getErrors",function(){return Me.errors}),(0,g.Z)((0,_.Z)(Me),"getWarnings",function(){return Me.warnings}),(0,g.Z)((0,_.Z)(Me),"isListField",function(){return Me.props.isListField}),(0,g.Z)((0,_.Z)(Me),"isList",function(){return Me.props.isList}),(0,g.Z)((0,_.Z)(Me),"isPreserve",function(){return Me.props.preserve}),(0,g.Z)((0,_.Z)(Me),"getMeta",function(){Me.prevValidating=Me.isFieldValidating();var hr={touched:Me.isFieldTouched(),validating:Me.prevValidating,errors:Me.errors,warnings:Me.warnings,name:Me.getNamePath(),validated:Me.validatePromise===null};return hr}),(0,g.Z)((0,_.Z)(Me),"getOnlyChild",function(hr){if(typeof hr=="function"){var xr=Me.getMeta();return(0,u.Z)((0,u.Z)({},Me.getOnlyChild(hr(Me.getControlled(),xr,Me.props.fieldContext))),{},{isFunction:!0})}var or=(0,P.Z)(hr);return or.length!==1||!t.isValidElement(or[0])?{child:or,isFunction:!1}:{child:or[0],isFunction:!1}}),(0,g.Z)((0,_.Z)(Me),"getValue",function(hr){var xr=Me.props.fieldContext.getFieldsValue,or=Me.getNamePath();return(0,en.Z)(hr||xr(!0),or)}),(0,g.Z)((0,_.Z)(Me),"getControlled",function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},xr=Me.props,or=xr.name,wr=xr.trigger,an=xr.validateTrigger,zn=xr.getValueFromEvent,un=xr.normalize,tn=xr.valuePropName,vr=xr.getValueProps,mn=xr.fieldContext,Wr=an!==void 0?an:mn.validateTrigger,Sn=Me.getNamePath(),jn=mn.getInternalHooks,wn=mn.getFieldsValue,Ea=jn(I),Pn=Ea.dispatch,la=Me.getValue(),dn=vr||function(ia){return(0,g.Z)({},tn,ia)},Fn=hr[wr],xa=or!==void 0?dn(la):{},Ra=(0,u.Z)((0,u.Z)({},hr),xa);Ra[wr]=function(){Me.touched=!0,Me.dirty=!0,Me.triggerMetaEvent();for(var ia,sa=arguments.length,fo=new Array(sa),Bo=0;Bo=0&&Fn<=xa.length?(or.keys=[].concat((0,c.Z)(or.keys.slice(0,Fn)),[or.id],(0,c.Z)(or.keys.slice(Fn))),Sn([].concat((0,c.Z)(xa.slice(0,Fn)),[dn],(0,c.Z)(xa.slice(Fn))))):(or.keys=[].concat((0,c.Z)(or.keys),[or.id]),Sn([].concat((0,c.Z)(xa),[dn]))),or.id+=1},remove:function(dn){var Fn=wn(),xa=new Set(Array.isArray(dn)?dn:[dn]);xa.size<=0||(or.keys=or.keys.filter(function(Ra,oa){return!xa.has(oa)}),Sn(Fn.filter(function(Ra,oa){return!xa.has(oa)})))},move:function(dn,Fn){if(dn!==Fn){var xa=wn();dn<0||dn>=xa.length||Fn<0||Fn>=xa.length||(or.keys=gn(or.keys,dn,Fn),Sn(gn(xa,dn,Fn)))}}},Pn=Wr||[];return Array.isArray(Pn)||(Pn=[]),Ye(Pn.map(function(la,dn){var Fn=or.keys[dn];return Fn===void 0&&(or.keys[dn]=or.id,Fn=or.keys[dn],or.id+=1),{name:dn,key:Fn,isListField:!0}}),Ea,vr)})))}var ya=No,na=e(72190);function En(nt){var be=!1,ue=nt.length,Ye=[];return nt.length?new Promise(function(Me,yt){nt.forEach(function(xt,Zt){xt.catch(function(hr){return be=!0,hr}).then(function(hr){ue-=1,Ye[Zt]=hr,!(ue>0)&&(be&&yt(Ye),Me(Ye))})})}):Promise.resolve([])}var wa="__@field_split__";function Pe(nt){return nt.map(function(be){return"".concat((0,j.Z)(be),":").concat(be)}).join(wa)}var $n=function(){function nt(){(0,o.Z)(this,nt),(0,g.Z)(this,"kvs",new Map)}return(0,f.Z)(nt,[{key:"set",value:function(ue,Ye){this.kvs.set(Pe(ue),Ye)}},{key:"get",value:function(ue){return this.kvs.get(Pe(ue))}},{key:"update",value:function(ue,Ye){var Me=this.get(ue),yt=Ye(Me);yt?this.set(ue,yt):this.delete(ue)}},{key:"delete",value:function(ue){this.kvs.delete(Pe(ue))}},{key:"map",value:function(ue){return(0,c.Z)(this.kvs.entries()).map(function(Ye){var Me=(0,na.Z)(Ye,2),yt=Me[0],xt=Me[1],Zt=yt.split(wa);return ue({key:Zt.map(function(hr){var xr=hr.match(/^([^:]*):(.*)$/),or=(0,na.Z)(xr,3),wr=or[1],an=or[2];return wr==="number"?Number(an):an}),value:xt})})}},{key:"toJSON",value:function(){var ue={};return this.map(function(Ye){var Me=Ye.key,yt=Ye.value;return ue[Me.join(".")]=yt,null}),ue}}]),nt}(),aa=$n,yo=["name"],ai=(0,f.Z)(function nt(be){var ue=this;(0,o.Z)(this,nt),(0,g.Z)(this,"formHooked",!1),(0,g.Z)(this,"forceRootUpdate",void 0),(0,g.Z)(this,"subscribable",!0),(0,g.Z)(this,"store",{}),(0,g.Z)(this,"fieldEntities",[]),(0,g.Z)(this,"initialValues",{}),(0,g.Z)(this,"callbacks",{}),(0,g.Z)(this,"validateMessages",null),(0,g.Z)(this,"preserve",null),(0,g.Z)(this,"lastValidatePromise",null),(0,g.Z)(this,"getForm",function(){return{getFieldValue:ue.getFieldValue,getFieldsValue:ue.getFieldsValue,getFieldError:ue.getFieldError,getFieldWarning:ue.getFieldWarning,getFieldsError:ue.getFieldsError,isFieldsTouched:ue.isFieldsTouched,isFieldTouched:ue.isFieldTouched,isFieldValidating:ue.isFieldValidating,isFieldsValidating:ue.isFieldsValidating,resetFields:ue.resetFields,setFields:ue.setFields,setFieldValue:ue.setFieldValue,setFieldsValue:ue.setFieldsValue,validateFields:ue.validateFields,submit:ue.submit,_init:!0,getInternalHooks:ue.getInternalHooks}}),(0,g.Z)(this,"getInternalHooks",function(Ye){return Ye===I?(ue.formHooked=!0,{dispatch:ue.dispatch,initEntityValue:ue.initEntityValue,registerField:ue.registerField,useSubscribe:ue.useSubscribe,setInitialValues:ue.setInitialValues,destroyForm:ue.destroyForm,setCallbacks:ue.setCallbacks,setValidateMessages:ue.setValidateMessages,getFields:ue.getFields,setPreserve:ue.setPreserve,getInitialValue:ue.getInitialValue,registerWatch:ue.registerWatch}):((0,S.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,g.Z)(this,"useSubscribe",function(Ye){ue.subscribable=Ye}),(0,g.Z)(this,"prevWithoutPreserves",null),(0,g.Z)(this,"setInitialValues",function(Ye,Me){if(ue.initialValues=Ye||{},Me){var yt,xt=(0,Tt.T)(Ye,ue.store);(yt=ue.prevWithoutPreserves)===null||yt===void 0||yt.map(function(Zt){var hr=Zt.key;xt=(0,Tt.Z)(xt,hr,(0,en.Z)(Ye,hr))}),ue.prevWithoutPreserves=null,ue.updateStore(xt)}}),(0,g.Z)(this,"destroyForm",function(Ye){if(Ye)ue.updateStore({});else{var Me=new aa;ue.getFieldEntities(!0).forEach(function(yt){ue.isMergedPreserve(yt.isPreserve())||Me.set(yt.getNamePath(),!0)}),ue.prevWithoutPreserves=Me}}),(0,g.Z)(this,"getInitialValue",function(Ye){var Me=(0,en.Z)(ue.initialValues,Ye);return Ye.length?(0,Tt.T)(Me):Me}),(0,g.Z)(this,"setCallbacks",function(Ye){ue.callbacks=Ye}),(0,g.Z)(this,"setValidateMessages",function(Ye){ue.validateMessages=Ye}),(0,g.Z)(this,"setPreserve",function(Ye){ue.preserve=Ye}),(0,g.Z)(this,"watchList",[]),(0,g.Z)(this,"registerWatch",function(Ye){return ue.watchList.push(Ye),function(){ue.watchList=ue.watchList.filter(function(Me){return Me!==Ye})}}),(0,g.Z)(this,"notifyWatch",function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(ue.watchList.length){var Me=ue.getFieldsValue(),yt=ue.getFieldsValue(!0);ue.watchList.forEach(function(xt){xt(Me,yt,Ye)})}}),(0,g.Z)(this,"timeoutId",null),(0,g.Z)(this,"warningUnhooked",function(){}),(0,g.Z)(this,"updateStore",function(Ye){ue.store=Ye}),(0,g.Z)(this,"getFieldEntities",function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Ye?ue.fieldEntities.filter(function(Me){return Me.getNamePath().length}):ue.fieldEntities}),(0,g.Z)(this,"getFieldsMap",function(){var Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Me=new aa;return ue.getFieldEntities(Ye).forEach(function(yt){var xt=yt.getNamePath();Me.set(xt,yt)}),Me}),(0,g.Z)(this,"getFieldEntitiesForNamePathList",function(Ye){if(!Ye)return ue.getFieldEntities(!0);var Me=ue.getFieldsMap(!0);return Ye.map(function(yt){var xt=pn(yt);return Me.get(xt)||{INVALIDATE_NAME_PATH:pn(yt)}})}),(0,g.Z)(this,"getFieldsValue",function(Ye,Me){ue.warningUnhooked();var yt,xt,Zt;if(Ye===!0||Array.isArray(Ye)?(yt=Ye,xt=Me):Ye&&(0,j.Z)(Ye)==="object"&&(Zt=Ye.strict,xt=Ye.filter),yt===!0&&!xt)return ue.store;var hr=ue.getFieldEntitiesForNamePathList(Array.isArray(yt)?yt:null),xr=[];return hr.forEach(function(or){var wr,an,zn="INVALIDATE_NAME_PATH"in or?or.INVALIDATE_NAME_PATH:or.getNamePath();if(Zt){var un,tn;if((un=(tn=or).isList)!==null&&un!==void 0&&un.call(tn))return}else if(!yt&&(wr=(an=or).isListField)!==null&&wr!==void 0&&wr.call(an))return;if(!xt)xr.push(zn);else{var vr="getMeta"in or?or.getMeta():null;xt(vr)&&xr.push(zn)}}),ha(ue.store,xr.map(pn))}),(0,g.Z)(this,"getFieldValue",function(Ye){ue.warningUnhooked();var Me=pn(Ye);return(0,en.Z)(ue.store,Me)}),(0,g.Z)(this,"getFieldsError",function(Ye){ue.warningUnhooked();var Me=ue.getFieldEntitiesForNamePathList(Ye);return Me.map(function(yt,xt){return yt&&!("INVALIDATE_NAME_PATH"in yt)?{name:yt.getNamePath(),errors:yt.getErrors(),warnings:yt.getWarnings()}:{name:pn(Ye[xt]),errors:[],warnings:[]}})}),(0,g.Z)(this,"getFieldError",function(Ye){ue.warningUnhooked();var Me=pn(Ye),yt=ue.getFieldsError([Me])[0];return yt.errors}),(0,g.Z)(this,"getFieldWarning",function(Ye){ue.warningUnhooked();var Me=pn(Ye),yt=ue.getFieldsError([Me])[0];return yt.warnings}),(0,g.Z)(this,"isFieldsTouched",function(){ue.warningUnhooked();for(var Ye=arguments.length,Me=new Array(Ye),yt=0;yt0&&arguments[0]!==void 0?arguments[0]:{},Me=new aa,yt=ue.getFieldEntities(!0);yt.forEach(function(hr){var xr=hr.props.initialValue,or=hr.getNamePath();if(xr!==void 0){var wr=Me.get(or)||new Set;wr.add({entity:hr,value:xr}),Me.set(or,wr)}});var xt=function(xr){xr.forEach(function(or){var wr=or.props.initialValue;if(wr!==void 0){var an=or.getNamePath(),zn=ue.getInitialValue(an);if(zn!==void 0)(0,S.ZP)(!1,"Form already set 'initialValues' with path '".concat(an.join("."),"'. Field can not overwrite it."));else{var un=Me.get(an);if(un&&un.size>1)(0,S.ZP)(!1,"Multiple Field with path '".concat(an.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(un){var tn=ue.getFieldValue(an),vr=or.isListField();!vr&&(!Ye.skipExist||tn===void 0)&&ue.updateStore((0,Tt.Z)(ue.store,an,(0,c.Z)(un)[0].value))}}}})},Zt;Ye.entities?Zt=Ye.entities:Ye.namePathList?(Zt=[],Ye.namePathList.forEach(function(hr){var xr=Me.get(hr);if(xr){var or;(or=Zt).push.apply(or,(0,c.Z)((0,c.Z)(xr).map(function(wr){return wr.entity})))}})):Zt=yt,xt(Zt)}),(0,g.Z)(this,"resetFields",function(Ye){ue.warningUnhooked();var Me=ue.store;if(!Ye){ue.updateStore((0,Tt.T)(ue.initialValues)),ue.resetWithFieldInitialValue(),ue.notifyObservers(Me,null,{type:"reset"}),ue.notifyWatch();return}var yt=Ye.map(pn);yt.forEach(function(xt){var Zt=ue.getInitialValue(xt);ue.updateStore((0,Tt.Z)(ue.store,xt,Zt))}),ue.resetWithFieldInitialValue({namePathList:yt}),ue.notifyObservers(Me,yt,{type:"reset"}),ue.notifyWatch(yt)}),(0,g.Z)(this,"setFields",function(Ye){ue.warningUnhooked();var Me=ue.store,yt=[];Ye.forEach(function(xt){var Zt=xt.name,hr=(0,n.Z)(xt,yo),xr=pn(Zt);yt.push(xr),"value"in hr&&ue.updateStore((0,Tt.Z)(ue.store,xr,hr.value)),ue.notifyObservers(Me,[xr],{type:"setField",data:xt})}),ue.notifyWatch(yt)}),(0,g.Z)(this,"getFields",function(){var Ye=ue.getFieldEntities(!0),Me=Ye.map(function(yt){var xt=yt.getNamePath(),Zt=yt.getMeta(),hr=(0,u.Z)((0,u.Z)({},Zt),{},{name:xt,value:ue.getFieldValue(xt)});return Object.defineProperty(hr,"originRCField",{value:!0}),hr});return Me}),(0,g.Z)(this,"initEntityValue",function(Ye){var Me=Ye.props.initialValue;if(Me!==void 0){var yt=Ye.getNamePath(),xt=(0,en.Z)(ue.store,yt);xt===void 0&&ue.updateStore((0,Tt.Z)(ue.store,yt,Me))}}),(0,g.Z)(this,"isMergedPreserve",function(Ye){var Me=Ye!==void 0?Ye:ue.preserve;return Me!=null?Me:!0}),(0,g.Z)(this,"registerField",function(Ye){ue.fieldEntities.push(Ye);var Me=Ye.getNamePath();if(ue.notifyWatch([Me]),Ye.props.initialValue!==void 0){var yt=ue.store;ue.resetWithFieldInitialValue({entities:[Ye],skipExist:!0}),ue.notifyObservers(yt,[Ye.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(xt,Zt){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(ue.fieldEntities=ue.fieldEntities.filter(function(wr){return wr!==Ye}),!ue.isMergedPreserve(Zt)&&(!xt||hr.length>1)){var xr=xt?void 0:ue.getInitialValue(Me);if(Me.length&&ue.getFieldValue(Me)!==xr&&ue.fieldEntities.every(function(wr){return!On(wr.getNamePath(),Me)})){var or=ue.store;ue.updateStore((0,Tt.Z)(or,Me,xr,!0)),ue.notifyObservers(or,[Me],{type:"remove"}),ue.triggerDependenciesUpdate(or,Me)}}ue.notifyWatch([Me])}}),(0,g.Z)(this,"dispatch",function(Ye){switch(Ye.type){case"updateValue":{var Me=Ye.namePath,yt=Ye.value;ue.updateValue(Me,yt);break}case"validateField":{var xt=Ye.namePath,Zt=Ye.triggerName;ue.validateFields([xt],{triggerName:Zt});break}default:}}),(0,g.Z)(this,"notifyObservers",function(Ye,Me,yt){if(ue.subscribable){var xt=(0,u.Z)((0,u.Z)({},yt),{},{store:ue.getFieldsValue(!0)});ue.getFieldEntities().forEach(function(Zt){var hr=Zt.onStoreChange;hr(Ye,Me,xt)})}else ue.forceRootUpdate()}),(0,g.Z)(this,"triggerDependenciesUpdate",function(Ye,Me){var yt=ue.getDependencyChildrenFields(Me);return yt.length&&ue.validateFields(yt),ue.notifyObservers(Ye,yt,{type:"dependenciesUpdate",relatedFields:[Me].concat((0,c.Z)(yt))}),yt}),(0,g.Z)(this,"updateValue",function(Ye,Me){var yt=pn(Ye),xt=ue.store;ue.updateStore((0,Tt.Z)(ue.store,yt,Me)),ue.notifyObservers(xt,[yt],{type:"valueUpdate",source:"internal"}),ue.notifyWatch([yt]);var Zt=ue.triggerDependenciesUpdate(xt,yt),hr=ue.callbacks.onValuesChange;if(hr){var xr=ha(ue.store,[yt]);hr(xr,ue.getFieldsValue())}ue.triggerOnFieldsChange([yt].concat((0,c.Z)(Zt)))}),(0,g.Z)(this,"setFieldsValue",function(Ye){ue.warningUnhooked();var Me=ue.store;if(Ye){var yt=(0,Tt.T)(ue.store,Ye);ue.updateStore(yt)}ue.notifyObservers(Me,null,{type:"valueUpdate",source:"external"}),ue.notifyWatch()}),(0,g.Z)(this,"setFieldValue",function(Ye,Me){ue.setFields([{name:Ye,value:Me,errors:[],warnings:[]}])}),(0,g.Z)(this,"getDependencyChildrenFields",function(Ye){var Me=new Set,yt=[],xt=new aa;ue.getFieldEntities().forEach(function(hr){var xr=hr.props.dependencies;(xr||[]).forEach(function(or){var wr=pn(or);xt.update(wr,function(){var an=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return an.add(hr),an})})});var Zt=function hr(xr){var or=xt.get(xr)||new Set;or.forEach(function(wr){if(!Me.has(wr)){Me.add(wr);var an=wr.getNamePath();wr.isFieldDirty()&&an.length&&(yt.push(an),hr(an))}})};return Zt(Ye),yt}),(0,g.Z)(this,"triggerOnFieldsChange",function(Ye,Me){var yt=ue.callbacks.onFieldsChange;if(yt){var xt=ue.getFields();if(Me){var Zt=new aa;Me.forEach(function(xr){var or=xr.name,wr=xr.errors;Zt.set(or,wr)}),xt.forEach(function(xr){xr.errors=Zt.get(xr.name)||xr.errors})}var hr=xt.filter(function(xr){var or=xr.name;return ma(Ye,or)});hr.length&&yt(hr,xt)}}),(0,g.Z)(this,"validateFields",function(Ye,Me){ue.warningUnhooked();var yt,xt;Array.isArray(Ye)||typeof Ye=="string"||typeof Me=="string"?(yt=Ye,xt=Me):xt=Ye;var Zt=!!yt,hr=Zt?yt.map(pn):[],xr=[],or=String(Date.now()),wr=new Set,an=xt||{},zn=an.recursive,un=an.dirty;ue.getFieldEntities(!0).forEach(function(Wr){if(Zt||hr.push(Wr.getNamePath()),!(!Wr.props.rules||!Wr.props.rules.length)&&!(un&&!Wr.isFieldDirty())){var Sn=Wr.getNamePath();if(wr.add(Sn.join(or)),!Zt||ma(hr,Sn,zn)){var jn=Wr.validateRules((0,u.Z)({validateMessages:(0,u.Z)((0,u.Z)({},rt),ue.validateMessages)},xt));xr.push(jn.then(function(){return{name:Sn,errors:[],warnings:[]}}).catch(function(wn){var Ea,Pn=[],la=[];return(Ea=wn.forEach)===null||Ea===void 0||Ea.call(wn,function(dn){var Fn=dn.rule.warningOnly,xa=dn.errors;Fn?la.push.apply(la,(0,c.Z)(xa)):Pn.push.apply(Pn,(0,c.Z)(xa))}),Pn.length?Promise.reject({name:Sn,errors:Pn,warnings:la}):{name:Sn,errors:Pn,warnings:la}}))}}});var tn=En(xr);ue.lastValidatePromise=tn,tn.catch(function(Wr){return Wr}).then(function(Wr){var Sn=Wr.map(function(jn){var wn=jn.name;return wn});ue.notifyObservers(ue.store,Sn,{type:"validateFinish"}),ue.triggerOnFieldsChange(Sn,Wr)});var vr=tn.then(function(){return ue.lastValidatePromise===tn?Promise.resolve(ue.getFieldsValue(hr)):Promise.reject([])}).catch(function(Wr){var Sn=Wr.filter(function(jn){return jn&&jn.errors.length});return Promise.reject({values:ue.getFieldsValue(hr),errorFields:Sn,outOfDate:ue.lastValidatePromise!==tn})});vr.catch(function(Wr){return Wr});var mn=hr.filter(function(Wr){return wr.has(Wr.join(or))});return ue.triggerOnFieldsChange(mn),vr}),(0,g.Z)(this,"submit",function(){ue.warningUnhooked(),ue.validateFields().then(function(Ye){var Me=ue.callbacks.onFinish;if(Me)try{Me(Ye)}catch(yt){console.error(yt)}}).catch(function(Ye){var Me=ue.callbacks.onFinishFailed;Me&&Me(Ye)})}),this.forceRootUpdate=be});function Wa(nt){var be=t.useRef(),ue=t.useState({}),Ye=(0,na.Z)(ue,2),Me=Ye[1];if(!be.current)if(nt)be.current=nt;else{var yt=function(){Me({})},xt=new ai(yt);be.current=xt.getForm()}return[be.current]}var Ha=Wa,De=t.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),xe=function(be){var ue=be.validateMessages,Ye=be.onFormChange,Me=be.onFormFinish,yt=be.children,xt=t.useContext(De),Zt=t.useRef({});return t.createElement(De.Provider,{value:(0,u.Z)((0,u.Z)({},xt),{},{validateMessages:(0,u.Z)((0,u.Z)({},xt.validateMessages),ue),triggerFormChange:function(xr,or){Ye&&Ye(xr,{changedFields:or,forms:Zt.current}),xt.triggerFormChange(xr,or)},triggerFormFinish:function(xr,or){Me&&Me(xr,{values:or,forms:Zt.current}),xt.triggerFormFinish(xr,or)},registerForm:function(xr,or){xr&&(Zt.current=(0,u.Z)((0,u.Z)({},Zt.current),{},(0,g.Z)({},xr,or))),xt.registerForm(xr,or)},unregisterForm:function(xr){var or=(0,u.Z)({},Zt.current);delete or[xr],Zt.current=or,xt.unregisterForm(xr)}})},yt)},Xe=De,q=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],It=function(be,ue){var Ye=be.name,Me=be.initialValues,yt=be.fields,xt=be.form,Zt=be.preserve,hr=be.children,xr=be.component,or=xr===void 0?"form":xr,wr=be.validateMessages,an=be.validateTrigger,zn=an===void 0?"onChange":an,un=be.onValuesChange,tn=be.onFieldsChange,vr=be.onFinish,mn=be.onFinishFailed,Wr=be.clearOnDestroy,Sn=(0,n.Z)(be,q),jn=t.useRef(null),wn=t.useContext(Xe),Ea=Ha(xt),Pn=(0,na.Z)(Ea,1),la=Pn[0],dn=la.getInternalHooks(I),Fn=dn.useSubscribe,xa=dn.setInitialValues,Ra=dn.setCallbacks,oa=dn.setValidateMessages,ia=dn.setPreserve,sa=dn.destroyForm;t.useImperativeHandle(ue,function(){return(0,u.Z)((0,u.Z)({},la),{},{nativeElement:jn.current})}),t.useEffect(function(){return wn.registerForm(Ye,la),function(){wn.unregisterForm(Ye)}},[wn,la,Ye]),oa((0,u.Z)((0,u.Z)({},wn.validateMessages),wr)),Ra({onValuesChange:un,onFieldsChange:function(xo){if(wn.triggerFormChange(Ye,xo),tn){for(var zo=arguments.length,Oi=new Array(zo>1?zo-1:0),yi=1;yi1&&arguments[1]!==void 0?arguments[1]:2;ht();var qt=(0,Ce.Z)(function(){_t<=1?ce({isCanceled:function(){return qt!==Be.current}}):At(ce,_t-1)});Be.current=qt}return f.useEffect(function(){return function(){ht()}},[]),[At,ht]},at=[F,K,X,Q],ct=[F,W],St=!1,bt=!0;function Ie(Be){return Be===X||Be===Q}var $e=function(Be,ht,At){var ce=(0,T.Z)(Y),_t=(0,n.Z)(ce,2),qt=_t[0],Ht=_t[1],Ut=me(),cr=(0,n.Z)(Ut,2),Ze=cr[0],dt=cr[1];function kt(){Ht(F,!0)}var ar=ht?ct:at;return Re(function(){if(qt!==Y&&qt!==Q){var $t=ar.indexOf(qt),pr=ar[$t+1],Ir=At(qt);Ir===St?Ht(pr,!0):pr&&Ze(function(kr){function er(){kr.isCanceled()||Ht(pr,!0)}Ir===!0?er():Promise.resolve(Ir).then(er)})}},[Be,qt]),f.useEffect(function(){return function(){dt()}},[]),[kt,qt]};function ft(Be,ht,At,ce){var _t=ce.motionEnter,qt=_t===void 0?!0:_t,Ht=ce.motionAppear,Ut=Ht===void 0?!0:Ht,cr=ce.motionLeave,Ze=cr===void 0?!0:cr,dt=ce.motionDeadline,kt=ce.motionLeaveImmediately,ar=ce.onAppearPrepare,$t=ce.onEnterPrepare,pr=ce.onLeavePrepare,Ir=ce.onAppearStart,kr=ce.onEnterStart,er=ce.onLeaveStart,Nt=ce.onAppearActive,Kt=ce.onEnterActive,Qt=ce.onLeaveActive,Cr=ce.onAppearEnd,Er=ce.onEnterEnd,wt=ce.onLeaveEnd,qe=ce.onVisibleChanged,Ue=(0,T.Z)(),Le=(0,n.Z)(Ue,2),rt=Le[0],Tt=Le[1],Lt=M(B),gr=(0,n.Z)(Lt,2),yr=gr[0],Ur=gr[1],bn=(0,T.Z)(null),sr=(0,n.Z)(bn,2),_n=sr[0],on=sr[1],Fe=yr(),Ne=(0,f.useRef)(!1),en=(0,f.useRef)(null);function pn(){return At()}var ha=(0,f.useRef)(!1);function ma(){Ur(B),on(null,!0)}var On=(0,R.zX)(function(wa){var Pe=yr();if(Pe!==B){var $n=pn();if(!(wa&&!wa.deadline&&wa.target!==$n)){var aa=ha.current,yo;Pe===j&&aa?yo=Cr==null?void 0:Cr($n,wa):Pe===V&&aa?yo=Er==null?void 0:Er($n,wa):Pe===H&&aa&&(yo=wt==null?void 0:wt($n,wa)),aa&&yo!==!1&&ma()}}}),za=Je(On),ja=(0,n.Z)(za,1),gn=ja[0],Va=function(Pe){switch(Pe){case j:return(0,t.Z)((0,t.Z)((0,t.Z)({},F,ar),K,Ir),X,Nt);case V:return(0,t.Z)((0,t.Z)((0,t.Z)({},F,$t),K,kr),X,Kt);case H:return(0,t.Z)((0,t.Z)((0,t.Z)({},F,pr),K,er),X,Qt);default:return{}}},va=f.useMemo(function(){return Va(Fe)},[Fe]),_o=$e(Fe,!Be,function(wa){if(wa===F){var Pe=va[F];return Pe?Pe(pn()):St}if(Za in va){var $n;on((($n=va[Za])===null||$n===void 0?void 0:$n.call(va,pn(),null))||null)}return Za===X&&Fe!==B&&(gn(pn()),dt>0&&(clearTimeout(en.current),en.current=setTimeout(function(){On({deadline:!0})},dt))),Za===W&&ma(),bt}),no=(0,n.Z)(_o,2),Ja=no[0],Za=no[1],No=Ie(Za);ha.current=No;var ya=(0,f.useRef)(null);Re(function(){if(!(Ne.current&&ya.current===ht)){Tt(ht);var wa=Ne.current;Ne.current=!0;var Pe;!wa&&ht&&Ut&&(Pe=j),wa&&ht&&qt&&(Pe=V),(wa&&!ht&&Ze||!wa&&kt&&!ht&&Ze)&&(Pe=H);var $n=Va(Pe);Pe&&(Be||$n[F])?(Ur(Pe),Ja()):Ur(B),ya.current=ht}},[ht]),(0,f.useEffect)(function(){(Fe===j&&!Ut||Fe===V&&!qt||Fe===H&&!Ze)&&Ur(B)},[Ut,qt,Ze]),(0,f.useEffect)(function(){return function(){Ne.current=!1,clearTimeout(en.current)}},[]);var na=f.useRef(!1);(0,f.useEffect)(function(){rt&&(na.current=!0),rt!==void 0&&Fe===B&&((na.current||rt)&&(qe==null||qe(rt)),na.current=!0)},[rt,Fe]);var En=_n;return va[F]&&Za===K&&(En=(0,r.Z)({transition:"none"},En)),[Fe,Za,En,rt!=null?rt:ht]}function ke(Be){var ht=Be;(0,a.Z)(Be)==="object"&&(ht=Be.transitionSupport);function At(_t,qt){return!!(_t.motionName&&ht&&qt!==!1)}var ce=f.forwardRef(function(_t,qt){var Ht=_t.visible,Ut=Ht===void 0?!0:Ht,cr=_t.removeOnLeave,Ze=cr===void 0?!0:cr,dt=_t.forceRender,kt=_t.children,ar=_t.motionName,$t=_t.leavedClassName,pr=_t.eventProps,Ir=f.useContext(x),kr=Ir.motion,er=At(_t,kr),Nt=(0,f.useRef)(),Kt=(0,f.useRef)();function Qt(){try{return Nt.current instanceof HTMLElement?Nt.current:(0,c.ZP)(Kt.current)}catch(sr){return null}}var Cr=ft(er,Ut,Qt,_t),Er=(0,n.Z)(Cr,4),wt=Er[0],qe=Er[1],Ue=Er[2],Le=Er[3],rt=f.useRef(Le);Le&&(rt.current=!0);var Tt=f.useCallback(function(sr){Nt.current=sr,(0,o.mH)(qt,sr)},[qt]),Lt,gr=(0,r.Z)((0,r.Z)({},pr),{},{visible:Ut});if(!kt)Lt=null;else if(wt===B)Le?Lt=kt((0,r.Z)({},gr),Tt):!Ze&&rt.current&&$t?Lt=kt((0,r.Z)((0,r.Z)({},gr),{},{className:$t}),Tt):dt||!Ze&&!$t?Lt=kt((0,r.Z)((0,r.Z)({},gr),{},{style:{display:"none"}}),Tt):Lt=null;else{var yr;qe===F?yr="prepare":Ie(qe)?yr="active":qe===K&&(yr="start");var Ur=vt(ar,"".concat(wt,"-").concat(yr));Lt=kt((0,r.Z)((0,r.Z)({},gr),{},{className:u()(vt(ar,wt),(0,t.Z)((0,t.Z)({},Ur,Ur&&yr),ar,typeof ar=="string")),style:Ue}),Tt)}if(f.isValidElement(Lt)&&(0,o.Yr)(Lt)){var bn=(0,o.C4)(Lt);bn||(Lt=f.cloneElement(Lt,{ref:Tt}))}return f.createElement(A,{ref:Kt},Lt)});return ce.displayName="CSSMotion",ce}var ye=ke(He),fe=e(60499),Oe=e(15793),Ee="add",et="keep",mt="remove",pe="removed";function ge(Be){var ht;return Be&&(0,a.Z)(Be)==="object"&&"key"in Be?ht=Be:ht={key:Be},(0,r.Z)((0,r.Z)({},ht),{},{key:String(ht.key)})}function lt(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Be.map(ge)}function Qe(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],At=[],ce=0,_t=ht.length,qt=lt(Be),Ht=lt(ht);qt.forEach(function(Ze){for(var dt=!1,kt=ce;kt<_t;kt+=1){var ar=Ht[kt];if(ar.key===Ze.key){ce1});return cr.forEach(function(Ze){At=At.filter(function(dt){var kt=dt.key,ar=dt.status;return kt!==Ze||ar!==mt}),At.forEach(function(dt){dt.key===Ze&&(dt.status=et)})}),At}var Ve=["component","children","onVisibleChanged","onAllRemoved"],it=["status"],Dt=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yt(Be){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ye,At=function(ce){(0,S.Z)(qt,ce);var _t=(0,I.Z)(qt);function qt(){var Ht;(0,P.Z)(this,qt);for(var Ut=arguments.length,cr=new Array(Ut),Ze=0;Ze0&&de,Qe=function(){at(st)},Ve=function(Be){(Be.key==="Enter"||Be.code==="Enter"||Be.keyCode===g.Z.ENTER)&&Qe()};a.useEffect(function(){if(!ge&&le>0){var je=Date.now()-mt,Be=setTimeout(function(){Qe()},le*1e3-mt);return function(){ze&&clearTimeout(Be),pe(Date.now()-je)}}},[le,ge,ct]),a.useEffect(function(){if(!ge&<&&(ze||mt===0)){var je=performance.now(),Be,ht=function At(){cancelAnimationFrame(Be),Be=requestAnimationFrame(function(ce){var _t=ce+mt-je,qt=Math.min(_t/(le*1e3),1);Oe(qt*100),qt<1&&At()})};return ht(),function(){ze&&cancelAnimationFrame(Be)}}},[le,mt,ge,lt,ct]);var it=a.useMemo(function(){return(0,x.Z)(Je)==="object"&&Je!==null?Je:Je?{closeIcon:Re}:{}},[Je,Re]),Dt=(0,P.Z)(it,!0),Yt=100-(!fe||fe<0?0:fe>100?100:fe),Se="".concat(G,"-notice");return a.createElement("div",(0,c.Z)({},Ce,{ref:Z,className:_()(Se,ie,(0,o.Z)({},"".concat(Se,"-closable"),Je)),style:ee,onMouseEnter:function(Be){var ht;ft(!0),Ce==null||(ht=Ce.onMouseEnter)===null||ht===void 0||ht.call(Ce,Be)},onMouseLeave:function(Be){var ht;ft(!1),Ce==null||(ht=Ce.onMouseLeave)===null||ht===void 0||ht.call(Ce,Be)},onClick:me}),a.createElement("div",{className:"".concat(Se,"-content")},vt),Je&&a.createElement("a",(0,c.Z)({tabIndex:0,className:"".concat(Se,"-close"),onKeyDown:Ve,"aria-label":"Close"},Dt,{onClick:function(Be){Be.preventDefault(),Be.stopPropagation(),Qe()}}),it.closeIcon),lt&&a.createElement("progress",{className:"".concat(Se,"-progress"),max:"100",value:Yt},Yt+"%"))}),S=O,I=a.createContext({}),E=function(Z){var G=Z.children,ee=Z.classNames;return a.createElement(I.Provider,{value:{classNames:ee}},G)},A=E,R=8,T=3,D=16,M=function(Z){var G={offset:R,threshold:T,gap:D};if(Z&&(0,x.Z)(Z)==="object"){var ee,ie,se;G.offset=(ee=Z.offset)!==null&&ee!==void 0?ee:R,G.threshold=(ie=Z.threshold)!==null&&ie!==void 0?ie:T,G.gap=(se=Z.gap)!==null&&se!==void 0?se:D}return[!!Z,G]},B=M,j=["className","style","classNames","styles"],V=function(Z){var G=Z.configList,ee=Z.placement,ie=Z.prefixCls,se=Z.className,le=Z.style,de=Z.motion,He=Z.onAllNoticeRemoved,ze=Z.onNoticeClose,st=Z.stack,vt=(0,a.useContext)(I),Je=vt.classNames,Ke=(0,a.useRef)({}),Re=(0,a.useState)(null),Ce=(0,r.Z)(Re,2),me=Ce[0],at=Ce[1],ct=(0,a.useState)([]),St=(0,r.Z)(ct,2),bt=St[0],Ie=St[1],$e=G.map(function(ge){return{config:ge,key:String(ge.key)}}),ft=B(st),ke=(0,r.Z)(ft,2),ye=ke[0],fe=ke[1],Oe=fe.offset,Ee=fe.threshold,et=fe.gap,mt=ye&&(bt.length>0||$e.length<=Ee),pe=typeof de=="function"?de(ee):de;return(0,a.useEffect)(function(){ye&&bt.length>1&&Ie(function(ge){return ge.filter(function(lt){return $e.some(function(Qe){var Ve=Qe.key;return lt===Ve})})})},[bt,$e,ye]),(0,a.useEffect)(function(){var ge;if(ye&&Ke.current[(ge=$e[$e.length-1])===null||ge===void 0?void 0:ge.key]){var lt;at(Ke.current[(lt=$e[$e.length-1])===null||lt===void 0?void 0:lt.key])}},[$e,ye]),a.createElement(p.CSSMotionList,(0,c.Z)({key:ee,className:_()(ie,"".concat(ie,"-").concat(ee),Je==null?void 0:Je.list,se,(0,o.Z)((0,o.Z)({},"".concat(ie,"-stack"),!!ye),"".concat(ie,"-stack-expanded"),mt)),style:le,keys:$e,motionAppear:!0},pe,{onAllRemoved:function(){He(ee)}}),function(ge,lt){var Qe=ge.config,Ve=ge.className,it=ge.style,Dt=ge.index,Yt=Qe,Se=Yt.key,je=Yt.times,Be=String(Se),ht=Qe,At=ht.className,ce=ht.style,_t=ht.classNames,qt=ht.styles,Ht=(0,n.Z)(ht,j),Ut=$e.findIndex(function(Kt){return Kt.key===Be}),cr={};if(ye){var Ze=$e.length-1-(Ut>-1?Ut:Dt-1),dt=ee==="top"||ee==="bottom"?"-50%":"0";if(Ze>0){var kt,ar,$t;cr.height=mt?(kt=Ke.current[Be])===null||kt===void 0?void 0:kt.offsetHeight:me==null?void 0:me.offsetHeight;for(var pr=0,Ir=0;Ir-1?Ke.current[Be]=Qt:delete Ke.current[Be]},prefixCls:ie,classNames:_t,styles:qt,className:_()(At,Je==null?void 0:Je.notice),style:ce,times:je,key:Se,eventKey:Se,onNoticeClose:ze,hovering:ye&&bt.length>0})))})},H=V,Y=a.forwardRef(function(k,Z){var G=k.prefixCls,ee=G===void 0?"rc-notification":G,ie=k.container,se=k.motion,le=k.maxCount,de=k.className,He=k.style,ze=k.onAllRemoved,st=k.stack,vt=k.renderNotifications,Je=a.useState([]),Ke=(0,r.Z)(Je,2),Re=Ke[0],Ce=Ke[1],me=function(ye){var fe,Oe=Re.find(function(Ee){return Ee.key===ye});Oe==null||(fe=Oe.onClose)===null||fe===void 0||fe.call(Oe),Ce(function(Ee){return Ee.filter(function(et){return et.key!==ye})})};a.useImperativeHandle(Z,function(){return{open:function(ye){Ce(function(fe){var Oe=(0,t.Z)(fe),Ee=Oe.findIndex(function(pe){return pe.key===ye.key}),et=(0,s.Z)({},ye);if(Ee>=0){var mt;et.times=(((mt=fe[Ee])===null||mt===void 0?void 0:mt.times)||0)+1,Oe[Ee]=et}else et.times=0,Oe.push(et);return le>0&&Oe.length>le&&(Oe=Oe.slice(-le)),Oe})},close:function(ye){me(ye)},destroy:function(){Ce([])}}});var at=a.useState({}),ct=(0,r.Z)(at,2),St=ct[0],bt=ct[1];a.useEffect(function(){var ke={};Re.forEach(function(ye){var fe=ye.placement,Oe=fe===void 0?"topRight":fe;Oe&&(ke[Oe]=ke[Oe]||[],ke[Oe].push(ye))}),Object.keys(St).forEach(function(ye){ke[ye]=ke[ye]||[]}),bt(ke)},[Re]);var Ie=function(ye){bt(function(fe){var Oe=(0,s.Z)({},fe),Ee=Oe[ye]||[];return Ee.length||delete Oe[ye],Oe})},$e=a.useRef(!1);if(a.useEffect(function(){Object.keys(St).length>0?$e.current=!0:$e.current&&(ze==null||ze(),$e.current=!1)},[St]),!ie)return null;var ft=Object.keys(St);return(0,u.createPortal)(a.createElement(a.Fragment,null,ft.map(function(ke){var ye=St[ke],fe=a.createElement(H,{key:ke,configList:ye,placement:ke,prefixCls:ee,className:de==null?void 0:de(ke),style:He==null?void 0:He(ke),motion:se,onNoticeClose:me,onAllNoticeRemoved:Ie,stack:st});return vt?vt(fe,{prefixCls:ee,key:ke}):fe})),ie)}),F=Y,K=e(70425),X=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Q=function(){return document.body},W=0;function N(){for(var k={},Z=arguments.length,G=new Array(Z),ee=0;ee0&&arguments[0]!==void 0?arguments[0]:{},Z=k.getContainer,G=Z===void 0?Q:Z,ee=k.motion,ie=k.prefixCls,se=k.maxCount,le=k.className,de=k.style,He=k.onAllRemoved,ze=k.stack,st=k.renderNotifications,vt=(0,n.Z)(k,X),Je=a.useState(),Ke=(0,r.Z)(Je,2),Re=Ke[0],Ce=Ke[1],me=a.useRef(),at=a.createElement(F,{container:Re,ref:me,prefixCls:ie,motion:ee,maxCount:se,className:le,style:de,onAllRemoved:He,stack:ze,renderNotifications:st}),ct=a.useState([]),St=(0,r.Z)(ct,2),bt=St[0],Ie=St[1],$e=(0,K.zX)(function(ke){var ye=N(vt,ke);(ye.key===null||ye.key===void 0)&&(ye.key="rc-notification-".concat(W),W+=1),Ie(function(fe){return[].concat((0,t.Z)(fe),[{type:"open",config:ye}])})}),ft=a.useMemo(function(){return{open:$e,close:function(ye){Ie(function(fe){return[].concat((0,t.Z)(fe),[{type:"close",key:ye}])})},destroy:function(){Ie(function(ye){return[].concat((0,t.Z)(ye),[{type:"destroy"}])})}}},[]);return a.useEffect(function(){Ce(G())}),a.useEffect(function(){if(me.current&&bt.length){bt.forEach(function(fe){switch(fe.type){case"open":me.current.open(fe.config);break;case"close":me.current.close(fe.key);break;case"destroy":me.current.destroy();break}});var ke,ye;Ie(function(fe){return(ke!==fe||!ye)&&(ke=fe,ye=fe.filter(function(Oe){return!bt.includes(Oe)})),ye})}},[bt]),[ft,at]}},61852:function(i,d){"use strict";var e={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};d.Z=e},17119:function(i,d){"use strict";var e={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"};d.Z=e},75319:function(i,d,e){"use strict";e.d(d,{z:function(){return t}});var t={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},11592:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(34678),r=e(59301);function n(a){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u=[];return r.Children.forEach(a,function(c){c==null&&!s.keepEmpty||(Array.isArray(c)?u=u.concat(n(c)):(0,t.Z)(c)&&c.props?u=u.concat(n(c.props.children,s)):u.push(c))}),u}},47273:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){if(!r)return!1;if(r.contains)return r.contains(n);for(var a=n;a;){if(a===r)return!0;a=a.parentNode}return!1}},810:function(i,d,e){"use strict";e.d(d,{hq:function(){return I},jL:function(){return P}});var t=e(85899),r=e(47273),n=e(48519),a="data-rc-order",s="data-rc-priority",u="rc-util-key",c=new Map;function o(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=E.mark;return A?A.startsWith("data-")?A:"data-".concat(A):u}function f(E){if(E.attachTo)return E.attachTo;var A=document.querySelector("head");return A||document.body}function _(E){return E==="queue"?"prependQueue":E?"prepend":"append"}function p(E){return Array.from((c.get(E)||E).children).filter(function(A){return A.tagName==="STYLE"})}function x(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,r.Z)())return null;var R=A.csp,T=A.prepend,D=A.priority,M=D===void 0?0:D,B=_(T),j=B==="prependQueue",V=document.createElement("style");V.setAttribute(a,B),j&&M&&V.setAttribute(s,"".concat(M)),R!=null&&R.nonce&&(V.nonce=R==null?void 0:R.nonce),V.innerHTML=E;var H=f(A),Y=H.firstChild;if(T){if(j){var F=(A.styles||p(H)).filter(function(K){if(!["prepend","prependQueue"].includes(K.getAttribute(a)))return!1;var X=Number(K.getAttribute(s)||0);return M>=X});if(F.length)return H.insertBefore(V,F[F.length-1].nextSibling),V}H.insertBefore(V,Y)}else H.appendChild(V);return V}function g(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=f(A);return(A.styles||p(R)).find(function(T){return T.getAttribute(o(A))===E})}function P(E){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=g(E,A);if(R){var T=f(A);T.removeChild(R)}}function O(E,A){var R=c.get(E);if(!R||!(0,n.Z)(document,R)){var T=x("",A),D=T.parentNode;c.set(E,D),E.removeChild(T)}}function S(){c.clear()}function I(E,A){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=f(R),D=p(T),M=(0,t.Z)((0,t.Z)({},R),{},{styles:D});O(T,M);var B=g(A,M);if(B){var j,V;if((j=M.csp)!==null&&j!==void 0&&j.nonce&&B.nonce!==((V=M.csp)===null||V===void 0?void 0:V.nonce)){var H;B.nonce=(H=M.csp)===null||H===void 0?void 0:H.nonce}return B.innerHTML!==E&&(B.innerHTML=E),B}var Y=x(E,M);return Y.setAttribute(o(M),A),Y}},76846:function(i,d,e){"use strict";e.d(d,{Sh:function(){return a},ZP:function(){return u},bn:function(){return s}});var t=e(43749),r=e(59301),n=e(4676);function a(c){return c instanceof HTMLElement||c instanceof SVGElement}function s(c){return c&&(0,t.Z)(c)==="object"&&a(c.nativeElement)?c.nativeElement:a(c)?c:null}function u(c){var o=s(c);if(o)return o;if(c instanceof r.Component){var f;return(f=n.findDOMNode)===null||f===void 0?void 0:f.call(n,c)}return null}},29194:function(i,d){"use strict";d.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),s=a.width,u=a.height;if(s||u)return!0}}return!1}},96452:function(i,d,e){"use strict";e.d(d,{A:function(){return n}});function t(a){var s;return a==null||(s=a.getRootNode)===null||s===void 0?void 0:s.call(a)}function r(a){return t(a)instanceof ShadowRoot}function n(a){return r(a)?t(a):null}},10228:function(i,d){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(r){var n=r.keyCode;if(r.altKey&&!r.ctrlKey||r.metaKey||n>=e.F1&&n<=e.F12)return!1;switch(n){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(r){if(r>=e.ZERO&&r<=e.NINE||r>=e.NUM_ZERO&&r<=e.NUM_MULTIPLY||r>=e.A&&r<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&r===0)return!0;switch(r){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};d.Z=e},34678:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(43749),r=Symbol.for("react.element"),n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function s(u){return u&&(0,t.Z)(u)==="object"&&(u.$$typeof===r||u.$$typeof===n)&&u.type===a}},75152:function(i,d,e){"use strict";e.d(d,{Z:function(){return a},o:function(){return s}});var t=e(810),r;function n(u){var c="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),o=document.createElement("div");o.id=c;var f=o.style;f.position="absolute",f.left="0",f.top="0",f.width="100px",f.height="100px",f.overflow="scroll";var _,p;if(u){var x=getComputedStyle(u);f.scrollbarColor=x.scrollbarColor,f.scrollbarWidth=x.scrollbarWidth;var g=getComputedStyle(u,"::-webkit-scrollbar"),P=parseInt(g.width,10),O=parseInt(g.height,10);try{var S=P?"width: ".concat(g.width,";"):"",I=O?"height: ".concat(g.height,";"):"";(0,t.hq)(` #`.concat(c,`::-webkit-scrollbar { `).concat(S,` `).concat(I,` -}`),c)}catch(R){console.error(R),_=P,p=O}}document.body.appendChild(o);var E=u&&_&&!isNaN(_)?_:o.offsetWidth-o.clientWidth,A=u&&p&&!isNaN(p)?p:o.offsetHeight-o.clientHeight;return document.body.removeChild(o),(0,t.jL)(c),{width:E,height:A}}function a(u){return typeof document=="undefined"?0:((u||r===void 0)&&(r=n()),r.width)}function s(u){return typeof document=="undefined"||!u||!(u instanceof Element)?{width:0,height:0}:n(u)}},6089:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(59301);function r(n){var a=t.useRef();a.current=n;var s=t.useCallback(function(){for(var u,c=arguments.length,o=new Array(c),f=0;f2&&arguments[2]!==void 0?arguments[2]:!1,c=new Set;function o(f,_){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,x=c.has(f);if((0,r.ZP)(!x,"Warning: There may be circular references"),x)return!1;if(f===_)return!0;if(u&&p>1)return!1;c.add(f);var g=p+1;if(Array.isArray(f)){if(!Array.isArray(_)||f.length!==_.length)return!1;for(var P=0;P2&&arguments[2]!==void 0?arguments[2]:!1,c=new Set;function o(f,_){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,x=c.has(f);if((0,r.ZP)(!x,"Warning: There may be circular references"),x)return!1;if(f===_)return!0;if(u&&p>1)return!1;c.add(f);var g=p+1;if(Array.isArray(f)){if(!Array.isArray(_)||f.length!==_.length)return!1;for(var P=0;P1&&arguments[1]!==void 0?arguments[1]:!1,p;_===!1?p={aria:!0,data:!0,attr:!0}:_===!0?p={aria:!0}:p=(0,t.Z)({},_);var x={};return Object.keys(f).forEach(function(g){(p.aria&&(g==="role"||c(g,s))||p.data&&c(g,u)||p.attr&&a.includes(g))&&(x[g]=f[g])}),x}},16089:function(i,d){"use strict";var e=function(c){return+setTimeout(c,16)},t=function(c){return clearTimeout(c)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(c){return window.requestAnimationFrame(c)},t=function(c){return window.cancelAnimationFrame(c)});var r=0,n=new Map;function a(u){n.delete(u)}var s=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;r+=1;var f=r;function _(p){if(p===0)a(f),c();else{var x=e(function(){_(p-1)});n.set(f,x)}}return _(o),f};s.cancel=function(u){var c=n.get(u);return a(u),t(c)},d.Z=s},8654:function(i,d,e){"use strict";e.d(d,{C4:function(){return g},Yr:function(){return _},mH:function(){return c},sQ:function(){return o},t4:function(){return x},x1:function(){return f}});var t=e(43749),r=e(59301),n=e(23265),a=e(80547),s=e(34678),u=Number(r.version.split(".")[0]),c=function(O,S){typeof O=="function"?O(S):(0,t.Z)(O)==="object"&&O&&"current"in O&&(O.current=S)},o=function(){for(var O=arguments.length,S=new Array(O),I=0;I=19)return!0;var E=(0,n.isMemo)(O)?O.type.type:O.type;return!(typeof E=="function"&&!((S=E.prototype)!==null&&S!==void 0&&S.render)&&E.$$typeof!==n.ForwardRef||typeof O=="function"&&!((I=O.prototype)!==null&&I!==void 0&&I.render)&&O.$$typeof!==n.ForwardRef)};function p(P){return(0,r.isValidElement)(P)&&!(0,s.Z)(P)}var x=function(O){return p(O)&&_(O)},g=function(O){if(O&&p(O)){var S=O;return S.props.propertyIsEnumerable("ref")?S.props.ref:S.ref}return null}},97938:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){for(var a=r,s=0;s3&&arguments[3]!==void 0?arguments[3]:!1;return g.length&&O&&P===void 0&&!(0,s.Z)(x,g.slice(0,-1))?x:u(x,g,P,O)}function o(x){return(0,t.Z)(x)==="object"&&x!==null&&Object.getPrototypeOf(x)===Object.prototype}function f(x){return Array.isArray(x)?[]:{}}var _=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var x=arguments.length,g=new Array(x),P=0;Ph}return!1}function I(l,h,C,U,te,we,Ge){this.acceptsBooleans=h===2||h===3||h===4,this.attributeName=U,this.attributeNamespace=te,this.mustUseProperty=C,this.propertyName=l,this.type=h,this.sanitizeURL=we,this.removeEmptyString=Ge}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){E[l]=new I(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var h=l[0];E[h]=new I(h,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){E[l]=new I(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){E[l]=new I(l,2,!1,l,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(l){E[l]=new I(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){E[l]=new I(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){E[l]=new I(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){E[l]=new I(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){E[l]=new I(l,5,!1,l.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function R(l){return l[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(l){var h=l.replace(A,R);E[h]=new I(h,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var h=l.replace(A,R);E[h]=new I(h,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var h=l.replace(A,R);E[h]=new I(h,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){E[l]=new I(l,1,!1,l.toLowerCase(),null,!1,!1)}),E.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){E[l]=new I(l,1,!1,l.toLowerCase(),null,!0,!0)});function T(l,h,C,U){var te=E.hasOwnProperty(h)?E[h]:null,we=te!==null?te.type===0:U?!1:!(!(21&&arguments[1]!==void 0?arguments[1]:!1,p;_===!1?p={aria:!0,data:!0,attr:!0}:_===!0?p={aria:!0}:p=(0,t.Z)({},_);var x={};return Object.keys(f).forEach(function(g){(p.aria&&(g==="role"||c(g,s))||p.data&&c(g,u)||p.attr&&a.includes(g))&&(x[g]=f[g])}),x}},16089:function(i,d){"use strict";var e=function(c){return+setTimeout(c,16)},t=function(c){return clearTimeout(c)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(c){return window.requestAnimationFrame(c)},t=function(c){return window.cancelAnimationFrame(c)});var r=0,n=new Map;function a(u){n.delete(u)}var s=function(c){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;r+=1;var f=r;function _(p){if(p===0)a(f),c();else{var x=e(function(){_(p-1)});n.set(f,x)}}return _(o),f};s.cancel=function(u){var c=n.get(u);return a(u),t(c)},d.Z=s},8654:function(i,d,e){"use strict";e.d(d,{C4:function(){return g},Yr:function(){return _},mH:function(){return c},sQ:function(){return o},t4:function(){return x},x1:function(){return f}});var t=e(43749),r=e(59301),n=e(23265),a=e(80547),s=e(34678),u=Number(r.version.split(".")[0]),c=function(O,S){typeof O=="function"?O(S):(0,t.Z)(O)==="object"&&O&&"current"in O&&(O.current=S)},o=function(){for(var O=arguments.length,S=new Array(O),I=0;I=19)return!0;var E=(0,n.isMemo)(O)?O.type.type:O.type;return!(typeof E=="function"&&!((S=E.prototype)!==null&&S!==void 0&&S.render)&&E.$$typeof!==n.ForwardRef||typeof O=="function"&&!((I=O.prototype)!==null&&I!==void 0&&I.render)&&O.$$typeof!==n.ForwardRef)};function p(P){return(0,r.isValidElement)(P)&&!(0,s.Z)(P)}var x=function(O){return p(O)&&_(O)},g=function(O){if(O&&p(O)){var S=O;return S.props.propertyIsEnumerable("ref")?S.props.ref:S.ref}return null}},97938:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){for(var a=r,s=0;s3&&arguments[3]!==void 0?arguments[3]:!1;return g.length&&O&&P===void 0&&!(0,s.Z)(x,g.slice(0,-1))?x:u(x,g,P,O)}function o(x){return(0,t.Z)(x)==="object"&&x!==null&&Object.getPrototypeOf(x)===Object.prototype}function f(x){return Array.isArray(x)?[]:{}}var _=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function p(){for(var x=arguments.length,g=new Array(x),P=0;Ph}return!1}function I(l,h,C,U,te,we,Ge){this.acceptsBooleans=h===2||h===3||h===4,this.attributeName=U,this.attributeNamespace=te,this.mustUseProperty=C,this.propertyName=l,this.type=h,this.sanitizeURL=we,this.removeEmptyString=Ge}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){E[l]=new I(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var h=l[0];E[h]=new I(h,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){E[l]=new I(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){E[l]=new I(l,2,!1,l,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(l){E[l]=new I(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){E[l]=new I(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){E[l]=new I(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){E[l]=new I(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){E[l]=new I(l,5,!1,l.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function R(l){return l[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(l){var h=l.replace(A,R);E[h]=new I(h,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var h=l.replace(A,R);E[h]=new I(h,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var h=l.replace(A,R);E[h]=new I(h,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){E[l]=new I(l,1,!1,l.toLowerCase(),null,!1,!1)}),E.xlinkHref=new I("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){E[l]=new I(l,1,!1,l.toLowerCase(),null,!0,!0)});function T(l,h,C,U){var te=E.hasOwnProperty(h)?E[h]:null,we=te!==null?te.type===0:U?!1:!(!(2pt||te[Ge]!==we[pt])return` -`+te[Ge].replace(" at new "," at ");while(1<=Ge&&0<=pt);break}}}finally{ze=!1,Error.prepareStackTrace=C}return(l=l?l.displayName||l.name:"")?He(l):""}function vt(l){switch(l.tag){case 5:return He(l.type);case 16:return He("Lazy");case 13:return He("Suspense");case 19:return He("SuspenseList");case 0:case 2:case 15:return l=st(l.type,!1),l;case 11:return l=st(l.type.render,!1),l;case 22:return l=st(l.type._render,!1),l;case 1:return l=st(l.type,!0),l;default:return""}}function Je(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case j:return"Fragment";case B:return"Portal";case H:return"Profiler";case V:return"StrictMode";case X:return"Suspense";case Q:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case F:return(l.displayName||"Context")+".Consumer";case Y:return(l._context.displayName||"Context")+".Provider";case K:var h=l.render;return h=h.displayName||h.name||"",l.displayName||(h!==""?"ForwardRef("+h+")":"ForwardRef");case W:return Je(l.type);case J:return Je(l._render);case N:h=l._payload,l=l._init;try{return Je(l(h))}catch(C){}}return null}function Ke(l){switch(typeof l){case"boolean":case"number":case"object":case"string":case"undefined":return l;default:return""}}function Re(l){var h=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(h==="checkbox"||h==="radio")}function Ce(l){var h=Re(l)?"checked":"value",C=Object.getOwnPropertyDescriptor(l.constructor.prototype,h),U=""+l[h];if(!l.hasOwnProperty(h)&&typeof C!="undefined"&&typeof C.get=="function"&&typeof C.set=="function"){var te=C.get,we=C.set;return Object.defineProperty(l,h,{configurable:!0,get:function(){return te.call(this)},set:function(Ge){U=""+Ge,we.call(this,Ge)}}),Object.defineProperty(l,h,{enumerable:C.enumerable}),{getValue:function(){return U},setValue:function(Ge){U=""+Ge},stopTracking:function(){l._valueTracker=null,delete l[h]}}}}function me(l){l._valueTracker||(l._valueTracker=Ce(l))}function at(l){if(!l)return!1;var h=l._valueTracker;if(!h)return!0;var C=h.getValue(),U="";return l&&(U=Re(l)?l.checked?"true":"false":l.value),l=U,l!==C?(h.setValue(l),!0):!1}function ct(l){if(l=l||(typeof document!="undefined"?document:void 0),typeof l=="undefined")return null;try{return l.activeElement||l.body}catch(h){return l.body}}function St(l,h){var C=h.checked;return r({},h,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:C!=null?C:l._wrapperState.initialChecked})}function bt(l,h){var C=h.defaultValue==null?"":h.defaultValue,U=h.checked!=null?h.checked:h.defaultChecked;C=Ke(h.value!=null?h.value:C),l._wrapperState={initialChecked:U,initialValue:C,controlled:h.type==="checkbox"||h.type==="radio"?h.checked!=null:h.value!=null}}function Ie(l,h){h=h.checked,h!=null&&T(l,"checked",h,!1)}function $e(l,h){Ie(l,h);var C=Ke(h.value),U=h.type;if(C!=null)U==="number"?(C===0&&l.value===""||l.value!=C)&&(l.value=""+C):l.value!==""+C&&(l.value=""+C);else if(U==="submit"||U==="reset"){l.removeAttribute("value");return}h.hasOwnProperty("value")?Me(l,h.type,C):h.hasOwnProperty("defaultValue")&&Me(l,h.type,Ke(h.defaultValue)),h.checked==null&&h.defaultChecked!=null&&(l.defaultChecked=!!h.defaultChecked)}function ft(l,h,C){if(h.hasOwnProperty("value")||h.hasOwnProperty("defaultValue")){var U=h.type;if(!(U!=="submit"&&U!=="reset"||h.value!==void 0&&h.value!==null))return;h=""+l._wrapperState.initialValue,C||h===l.value||(l.value=h),l.defaultValue=h}C=l.name,C!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,C!==""&&(l.name=C)}function Me(l,h,C){(h!=="number"||ct(l.ownerDocument)!==l)&&(C==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+C&&(l.defaultValue=""+C))}function ye(l){var h="";return t.Children.forEach(l,function(C){C!=null&&(h+=C)}),h}function fe(l,h){return l=r({children:void 0},h),(h=ye(h.children))&&(l.children=h),l}function Oe(l,h,C,U){if(l=l.options,h){h={};for(var te=0;te=C.length))throw Error(a(93));C=C[0]}h=C}h==null&&(h=""),C=h}l._wrapperState={initialValue:Ke(C)}}function mt(l,h){var C=Ke(h.value),U=Ke(h.defaultValue);C!=null&&(C=""+C,C!==l.value&&(l.value=C),h.defaultValue==null&&l.defaultValue!==C&&(l.defaultValue=C)),U!=null&&(l.defaultValue=""+U)}function pe(l){var h=l.textContent;h===l._wrapperState.initialValue&&h!==""&&h!==null&&(l.value=h)}var ge={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function lt(l){switch(l){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 Qe(l,h){return l==null||l==="http://www.w3.org/1999/xhtml"?lt(h):l==="http://www.w3.org/2000/svg"&&h==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var Ve,it=function(l){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(h,C,U,te){MSApp.execUnsafeLocalFunction(function(){return l(h,C,U,te)})}:l}(function(l,h){if(l.namespaceURI!==ge.svg||"innerHTML"in l)l.innerHTML=h;else{for(Ve=Ve||document.createElement("div"),Ve.innerHTML=""+h.valueOf().toString()+"",h=Ve.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;h.firstChild;)l.appendChild(h.firstChild)}});function Dt(l,h){if(h){var C=l.firstChild;if(C&&C===l.lastChild&&C.nodeType===3){C.nodeValue=h;return}}l.textContent=h}var Yt={animationIterationCount:!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},Se=["Webkit","ms","Moz","O"];Object.keys(Yt).forEach(function(l){Se.forEach(function(h){h=h+l.charAt(0).toUpperCase()+l.substring(1),Yt[h]=Yt[l]})});function je(l,h,C){return h==null||typeof h=="boolean"||h===""?"":C||typeof h!="number"||h===0||Yt.hasOwnProperty(l)&&Yt[l]?(""+h).trim():h+"px"}function Be(l,h){l=l.style;for(var C in h)if(h.hasOwnProperty(C)){var U=C.indexOf("--")===0,te=je(C,h[C],U);C==="float"&&(C="cssFloat"),U?l.setProperty(C,te):l[C]=te}}var ht=r({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 At(l,h){if(h){if(ht[l]&&(h.children!=null||h.dangerouslySetInnerHTML!=null))throw Error(a(137,l));if(h.dangerouslySetInnerHTML!=null){if(h.children!=null)throw Error(a(60));if(!(typeof h.dangerouslySetInnerHTML=="object"&&"__html"in h.dangerouslySetInnerHTML))throw Error(a(61))}if(h.style!=null&&typeof h.style!="object")throw Error(a(62))}}function ce(l,h){if(l.indexOf("-")===-1)return typeof h.is=="string";switch(l){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}}function _t(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var qt=null,Ht=null,Ut=null;function cr(l){if(l=po(l)){if(typeof qt!="function")throw Error(a(280));var h=l.stateNode;h&&(h=io(h),qt(l.stateNode,l.type,h))}}function Ze(l){Ht?Ut?Ut.push(l):Ut=[l]:Ht=l}function dt(){if(Ht){var l=Ht,h=Ut;if(Ut=Ht=null,cr(l),h)for(l=0;lU?0:1<C;C++)h.push(l);return h}function ke(l,h,C){l.pendingLanes|=h;var U=h-1;l.suspendedLanes&=U,l.pingedLanes&=U,l=l.eventTimes,h=31-yt(h),l[h]=C}var yt=Math.clz32?Math.clz32:hr,xt=Math.log,Zt=Math.LN2;function hr(l){return l===0?32:31-(xt(l)/Zt|0)|0}var xr=n.unstable_UserBlockingPriority,or=n.unstable_runWithPriority,wr=!0;function an(l,h,C,U){Ir||$t();var te=un,we=Ir;Ir=!0;try{ar(te,l,h,C,U)}finally{(Ir=we)||er()}}function zn(l,h,C,U){or(xr,un.bind(null,l,h,C,U))}function un(l,h,C,U){if(wr){var te;if((te=(h&4)===0)&&0=hs),Eo=" ",Xs=!1;function es(l,h){switch(l){case"keyup":return $i.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Di(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ii=!1;function Ro(l,h){switch(l){case"compositionend":return Di(h);case"keypress":return h.which!==32?null:(Xs=!0,Eo);case"textInput":return l=h.data,l===Eo&&Xs?null:l;default:return null}}function Ai(l,h){if(Ii)return l==="compositionend"||!qi&&es(l,h)?(l=Sn(),Wr=mn=vr=null,Ii=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1=h)return{node:C,offset:h-l};l=U}e:{for(;C;){if(C.nextSibling){C=C.nextSibling;break e}C=C.parentNode}C=void 0}C=rr(C)}}function Vn(l,h){return l&&h?l===h?!0:l&&l.nodeType===3?!1:h&&h.nodeType===3?Vn(l,h.parentNode):"contains"in l?l.contains(h):l.compareDocumentPosition?!!(l.compareDocumentPosition(h)&16):!1:!1}function ra(){for(var l=window,h=ct();h instanceof l.HTMLIFrameElement;){try{var C=typeof h.contentWindow.location.href=="string"}catch(U){C=!1}if(C)l=h.contentWindow;else break;h=ct(l.document)}return h}function Co(l){var h=l&&l.nodeName&&l.nodeName.toLowerCase();return h&&(h==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||h==="textarea"||l.contentEditable==="true")}var bo=f&&"documentMode"in document&&11>=document.documentMode,Zn=null,oi=null,Oo=null,so=!1;function Ka(l,h,C){var U=C.window===C?C.document:C.nodeType===9?C:C.ownerDocument;so||Zn==null||Zn!==ct(U)||(U=Zn,"selectionStart"in U&&Co(U)?U={start:U.selectionStart,end:U.selectionEnd}:(U=(U.ownerDocument&&U.ownerDocument.defaultView||window).getSelection(),U={anchorNode:U.anchorNode,anchorOffset:U.anchorOffset,focusNode:U.focusNode,focusOffset:U.focusOffset}),Oo&&Un(Oo,U)||(Oo=U,U=_r(oi,"onSelect"),0Ho||(l.current=Vo[Ho],Vo[Ho]=null,Ho--)}function qa(l,h){Ho++,Vo[Ho]=l.current,l.current=h}var Io={},Da=So(Io),_e=So(!1),$=Io;function Ft(l,h){var C=l.type.contextTypes;if(!C)return Io;var U=l.stateNode;if(U&&U.__reactInternalMemoizedUnmaskedChildContext===h)return U.__reactInternalMemoizedMaskedChildContext;var te={},we;for(we in C)te[we]=h[we];return U&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=h,l.__reactInternalMemoizedMaskedChildContext=te),te}function fr(l){return l=l.childContextTypes,l!=null}function kt(){Aa(_e),Aa(Da)}function lr(l,h,C){if(Da.current!==Io)throw Error(a(168));qa(Da,h),qa(_e,C)}function Br(l,h,C){var U=l.stateNode;if(l=h.childContextTypes,typeof U.getChildContext!="function")return C;U=U.getChildContext();for(var te in U)if(!(te in l))throw Error(a(108,Je(h)||"Unknown",te));return r({},C,U)}function fn(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Io,$=Da.current,qa(Da,l),qa(_e,_e.current),!0}function Wn(l,h,C){var U=l.stateNode;if(!U)throw Error(a(169));C?(l=Br(l,h,$),U.__reactInternalMemoizedMergedChildContext=l,Aa(_e),Aa(Da),qa(Da,l)):Aa(_e),qa(_e,C)}var zr=null,Jr=null,$r=n.unstable_runWithPriority,Dn=n.unstable_scheduleCallback,ro=n.unstable_cancelCallback,ii=n.unstable_shouldYield,ti=n.unstable_requestPaint,Ui=n.unstable_now,Zu=n.unstable_getCurrentPriorityLevel,Wi=n.unstable_ImmediatePriority,Xc=n.unstable_UserBlockingPriority,Yc=n.unstable_NormalPriority,As=n.unstable_LowPriority,wl=n.unstable_IdlePriority,Qc={},Pl=ti!==void 0?ti:function(){},Ds=null,_c=null,_s=!1,Hu=Ui(),xi=1e4>Hu?Ui:function(){return Ui()-Hu};function fi(){switch(Zu()){case Wi:return 99;case Xc:return 98;case Yc:return 97;case As:return 96;case wl:return 95;default:throw Error(a(332))}}function El(l){switch(l){case 99:return Wi;case 98:return Xc;case 97:return Yc;case 96:return As;case 95:return wl;default:throw Error(a(332))}}function Ys(l,h){return l=El(l),$r(l,h)}function Uu(l,h,C){return l=El(l),Dn(l,h,C)}function ms(){if(_c!==null){var l=_c;_c=null,ro(l)}Jc()}function Jc(){if(!_s&&Ds!==null){_s=!0;var l=0;try{var h=Ds;Ys(99,function(){for(;lNa?(eo=Bn,Bn=null):eo=Bn.sibling;var Ua=nn(ur,Bn,ir[Na],jr);if(Ua===null){Bn===null&&(Bn=eo);break}l&&Bn&&Ua.alternate===null&&h(ur,Bn),Xt=we(Ua,Xt,Na),Fa===null?Zr=Ua:Fa.sibling=Ua,Fa=Ua,Bn=eo}if(Na===ir.length)return C(ur,Bn),Zr;if(Bn===null){for(;NaNa?(eo=Bn,Bn=null):eo=Bn.sibling;var hc=nn(ur,Bn,Ua.value,jr);if(hc===null){Bn===null&&(Bn=eo);break}l&&Bn&&hc.alternate===null&&h(ur,Bn),Xt=we(hc,Xt,Na),Fa===null?Zr=hc:Fa.sibling=hc,Fa=hc,Bn=eo}if(Ua.done)return C(ur,Bn),Zr;if(Bn===null){for(;!Ua.done;Na++,Ua=ir.next())Ua=ka(ur,Ua.value,jr),Ua!==null&&(Xt=we(Ua,Xt,Na),Fa===null?Zr=Ua:Fa.sibling=Ua,Fa=Ua);return Zr}for(Bn=U(ur,Bn);!Ua.done;Na++,Ua=ir.next())Ua=qn(Bn,ur,Na,Ua.value,jr),Ua!==null&&(l&&Ua.alternate!==null&&Bn.delete(Ua.key===null?Na:Ua.key),Xt=we(Ua,Xt,Na),Fa===null?Zr=Ua:Fa.sibling=Ua,Fa=Ua);return l&&Bn.forEach(function(fd){return h(ur,fd)}),Zr}return function(ur,Xt,ir,jr){var Zr=typeof ir=="object"&&ir!==null&&ir.type===j&&ir.key===null;Zr&&(ir=ir.props.children);var Fa=typeof ir=="object"&&ir!==null;if(Fa)switch(ir.$$typeof){case k:e:{for(Fa=ir.key,Zr=Xt;Zr!==null;){if(Zr.key===Fa){switch(Zr.tag){case 7:if(ir.type===j){C(ur,Zr.sibling),Xt=te(Zr,ir.props.children),Xt.return=ur,ur=Xt;break e}break;default:if(Zr.elementType===ir.type){C(ur,Zr.sibling),Xt=te(Zr,ir.props),Xt.ref=bi(ur,Zr,ir),Xt.return=ur,ur=Xt;break e}}C(ur,Zr);break}else h(ur,Zr);Zr=Zr.sibling}ir.type===j?(Xt=_i(ir.props.children,ur.mode,jr,ir.key),Xt.return=ur,ur=Xt):(jr=vc(ir.type,ir.key,ir.props,null,ur.mode,jr),jr.ref=bi(ur,Xt,ir),jr.return=ur,ur=jr)}return Ge(ur);case B:e:{for(Zr=ir.key;Xt!==null;){if(Xt.key===Zr)if(Xt.tag===4&&Xt.stateNode.containerInfo===ir.containerInfo&&Xt.stateNode.implementation===ir.implementation){C(ur,Xt.sibling),Xt=te(Xt,ir.children||[]),Xt.return=ur,ur=Xt;break e}else{C(ur,Xt);break}else h(ur,Xt);Xt=Xt.sibling}Xt=Uc(ir,ur.mode,jr),Xt.return=ur,ur=Xt}return Ge(ur)}if(typeof ir=="string"||typeof ir=="number")return ir=""+ir,Xt!==null&&Xt.tag===6?(C(ur,Xt.sibling),Xt=te(Xt,ir),Xt.return=ur,ur=Xt):(C(ur,Xt),Xt=jl(ir,ur.mode,jr),Xt.return=ur,ur=Xt),Ge(ur);if(Gu(ir))return Ma(ur,Xt,ir,jr);if(le(ir))return Pa(ur,Xt,ir,jr);if(Fa&&Ms(ur,ir),typeof ir=="undefined"&&!Zr)switch(ur.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Je(ur.type)||"Component"))}return C(ur,Xt)}}var ys=wc(!0),Pc=wc(!1),ni={},ki=So(ni),Vu=So(ni),Ku=So(ni);function qs(l){if(l===ni)throw Error(a(174));return l}function js(l,h){switch(qa(Ku,h),qa(Vu,l),qa(ki,ni),l=h.nodeType,l){case 9:case 11:h=(h=h.documentElement)?h.namespaceURI:Qe(null,"");break;default:l=l===8?h.parentNode:h,h=l.namespaceURI||null,l=l.tagName,h=Qe(h,l)}Aa(ki),qa(ki,h)}function Xu(){Aa(ki),Aa(Vu),Aa(Ku)}function Iu(l){qs(Ku.current);var h=qs(ki.current),C=Qe(h,l.type);h!==C&&(qa(Vu,l),qa(ki,C))}function yn(l){Vu.current===l&&(Aa(ki),Aa(Vu))}var jo=So(0);function Ec(l){for(var h=l;h!==null;){if(h.tag===13){var C=h.memoizedState;if(C!==null&&(C=C.dehydrated,C===null||C.data==="$?"||C.data==="$!"))return h}else if(h.tag===19&&h.memoizedProps.revealOrder!==void 0){if(h.flags&64)return h}else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===l)break;for(;h.sibling===null;){if(h.return===null||h.return===l)return null;h=h.return}h.sibling.return=h.return,h=h.sibling}return null}var Mi=null,eu=null,rs=!1;function Sc(l,h){var C=hi(5,null,null,0);C.elementType="DELETED",C.type="DELETED",C.stateNode=h,C.return=l,C.flags=8,l.lastEffect!==null?(l.lastEffect.nextEffect=C,l.lastEffect=C):l.firstEffect=l.lastEffect=C}function tl(l,h){switch(l.tag){case 5:var C=l.type;return h=h.nodeType!==1||C.toLowerCase()!==h.nodeName.toLowerCase()?null:h,h!==null?(l.stateNode=h,!0):!1;case 6:return h=l.pendingProps===""||h.nodeType!==3?null:h,h!==null?(l.stateNode=h,!0):!1;case 13:return!1;default:return!1}}function Cc(l){if(rs){var h=eu;if(h){var C=h;if(!tl(l,h)){if(h=An(C.nextSibling),!h||!tl(l,h)){l.flags=l.flags&-1025|2,rs=!1,Mi=l;return}Sc(Mi,C)}Mi=l,eu=An(h.firstChild)}else l.flags=l.flags&-1025|2,rs=!1,Mi=l}}function si(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;Mi=l}function Yu(l){if(l!==Mi)return!1;if(!rs)return si(l),rs=!0,!1;var h=l.type;if(l.tag!==5||h!=="head"&&h!=="body"&&!Kn(h,l.memoizedProps))for(h=eu;h;)Sc(l,h),h=An(h.nextSibling);if(si(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(a(317));e:{for(l=l.nextSibling,h=0;l;){if(l.nodeType===8){var C=l.data;if(C==="/$"){if(h===0){eu=An(l.nextSibling);break e}h--}else C!=="$"&&C!=="$!"&&C!=="$?"||h++}l=l.nextSibling}eu=null}}else eu=Mi?An(l.stateNode.nextSibling):null;return!0}function rl(){eu=Mi=null,rs=!1}var tu=[];function nl(){for(var l=0;lwe))throw Error(a(301));we+=1,pi=Lo=null,h.updateQueue=null,ru.current=ul,l=C(U,te)}while(Du)}if(ru.current=qu,h=Lo!==null&&Lo.next!==null,Au=0,pi=Lo=Ao=null,Qu=!1,h)throw Error(a(300));return l}function xs(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pi===null?Ao.memoizedState=pi=l:pi=pi.next=l,pi}function Li(){if(Lo===null){var l=Ao.alternate;l=l!==null?l.memoizedState:null}else l=Lo.next;var h=pi===null?Ao.memoizedState:pi.next;if(h!==null)pi=h,Lo=l;else{if(l===null)throw Error(a(310));Lo=l,l={memoizedState:Lo.memoizedState,baseState:Lo.baseState,baseQueue:Lo.baseQueue,queue:Lo.queue,next:null},pi===null?Ao.memoizedState=pi=l:pi=pi.next=l}return pi}function ns(l,h){return typeof h=="function"?h(l):h}function Ju(l){var h=Li(),C=h.queue;if(C===null)throw Error(a(311));C.lastRenderedReducer=l;var U=Lo,te=U.baseQueue,we=C.pending;if(we!==null){if(te!==null){var Ge=te.next;te.next=we.next,we.next=Ge}U.baseQueue=te=we,C.pending=null}if(te!==null){te=te.next,U=U.baseState;var pt=Ge=we=null,Bt=te;do{var br=Bt.lane;if((Au&br)===br)pt!==null&&(pt=pt.next={lane:0,action:Bt.action,eagerReducer:Bt.eagerReducer,eagerState:Bt.eagerState,next:null}),U=Bt.eagerReducer===l?Bt.eagerState:l(U,Bt.action);else{var Tn={lane:br,action:Bt.action,eagerReducer:Bt.eagerReducer,eagerState:Bt.eagerState,next:null};pt===null?(Ge=pt=Tn,we=U):pt=pt.next=Tn,Ao.lanes|=br,vo|=br}Bt=Bt.next}while(Bt!==null&&Bt!==te);pt===null?we=U:pt.next=Ge,Qr(U,h.memoizedState)||(os=!0),h.memoizedState=U,h.baseState=we,h.baseQueue=pt,C.lastRenderedState=U}return[h.memoizedState,C.dispatch]}function mu(l){var h=Li(),C=h.queue;if(C===null)throw Error(a(311));C.lastRenderedReducer=l;var U=C.dispatch,te=C.pending,we=h.memoizedState;if(te!==null){C.pending=null;var Ge=te=te.next;do we=l(we,Ge.action),Ge=Ge.next;while(Ge!==te);Qr(we,h.memoizedState)||(os=!0),h.memoizedState=we,h.baseQueue===null&&(h.baseState=we),C.lastRenderedState=we}return[we,U]}function La(l,h,C){var U=h._getVersion;U=U(h._source);var te=h._workInProgressVersionPrimary;if(te!==null?l=te===U:(l=l.mutableReadLanes,(l=(Au&l)===l)&&(h._workInProgressVersionPrimary=U,tu.push(h))),l)return C(h._source);throw tu.push(h),Error(a(350))}function Cl(l,h,C,U){var te=oe;if(te===null)throw Error(a(349));var we=h._getVersion,Ge=we(h._source),pt=ru.current,Bt=pt.useState(function(){return La(te,h,C)}),br=Bt[1],Tn=Bt[0];Bt=pi;var ka=l.memoizedState,nn=ka.refs,qn=nn.getSnapshot,Ma=ka.source;ka=ka.subscribe;var Pa=Ao;return l.memoizedState={refs:nn,source:h,subscribe:U},pt.useEffect(function(){nn.getSnapshot=C,nn.setSnapshot=br;var ur=we(h._source);if(!Qr(Ge,ur)){ur=C(h._source),Qr(Tn,ur)||(br(ur),ur=Ns(Pa),te.mutableReadLanes|=ur&te.pendingLanes),ur=te.mutableReadLanes,te.entangledLanes|=ur;for(var Xt=te.entanglements,ir=ur;0C?98:C,function(){l(!0)}),Ys(97<\/script>",l=l.removeChild(l.firstChild)):typeof U.is=="string"?l=Ge.createElement(C,{is:U.is}):(l=Ge.createElement(C),C==="select"&&(Ge=l,U.multiple?Ge.multiple=!0:U.size&&(Ge.size=U.size))):l=Ge.createElementNS(l,C),l[ua]=h,l[ao]=U,kc(l,h,!1,!1),h.stateNode=l,Ge=ce(C,U),C){case"dialog":he("cancel",l),he("close",l),te=U;break;case"iframe":case"object":case"embed":he("load",l),te=U;break;case"video":case"audio":for(te=0;teBc&&(h.flags|=64,we=!0,is(U,!1),h.lanes=33554432)}else{if(!we)if(l=Ec(Ge),l!==null){if(h.flags|=64,we=!0,C=l.updateQueue,C!==null&&(h.updateQueue=C,h.flags|=4),is(U,!0),U.tail===null&&U.tailMode==="hidden"&&!Ge.alternate&&!rs)return h=h.lastEffect=U.lastEffect,h!==null&&(h.nextEffect=null),null}else 2*xi()-U.renderingStartTime>Bc&&C!==1073741824&&(h.flags|=64,we=!0,is(U,!1),h.lanes=33554432);U.isBackwards?(Ge.sibling=h.child,h.child=Ge):(C=U.last,C!==null?C.sibling=Ge:h.child=Ge,U.last=Ge)}return U.tail!==null?(C=U.tail,U.rendering=C,U.tail=C.sibling,U.lastEffect=h.lastEffect,U.renderingStartTime=xi(),C.sibling=null,h=jo.current,qa(jo,we?h&1|2:h&1),C):null;case 23:case 24:return fa(),l!==null&&l.memoizedState!==null!=(h.memoizedState!==null)&&U.mode!=="unstable-defer-without-hiding"&&(h.flags|=4),null}throw Error(a(156,h.tag))}function fl(l){switch(l.tag){case 1:fr(l.type)&&kt();var h=l.flags;return h&4096?(l.flags=h&-4097|64,l):null;case 3:if(Xu(),Aa(_e),Aa(Da),nl(),h=l.flags,h&64)throw Error(a(285));return l.flags=h&-4097|64,l;case 5:return yn(l),null;case 13:return Aa(jo),h=l.flags,h&4096?(l.flags=h&-4097|64,l):null;case 19:return Aa(jo),null;case 4:return Xu(),null;case 10:return $c(l),null;case 23:case 24:return fa(),null;default:return null}}function nc(l,h){try{var C="",U=h;do C+=vt(U),U=U.return;while(U);var te=C}catch(we){te=` +`+te[Ge].replace(" at new "," at ");while(1<=Ge&&0<=pt);break}}}finally{ze=!1,Error.prepareStackTrace=C}return(l=l?l.displayName||l.name:"")?He(l):""}function vt(l){switch(l.tag){case 5:return He(l.type);case 16:return He("Lazy");case 13:return He("Suspense");case 19:return He("SuspenseList");case 0:case 2:case 15:return l=st(l.type,!1),l;case 11:return l=st(l.type.render,!1),l;case 22:return l=st(l.type._render,!1),l;case 1:return l=st(l.type,!0),l;default:return""}}function Je(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case j:return"Fragment";case B:return"Portal";case H:return"Profiler";case V:return"StrictMode";case X:return"Suspense";case Q:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case F:return(l.displayName||"Context")+".Consumer";case Y:return(l._context.displayName||"Context")+".Provider";case K:var h=l.render;return h=h.displayName||h.name||"",l.displayName||(h!==""?"ForwardRef("+h+")":"ForwardRef");case W:return Je(l.type);case J:return Je(l._render);case N:h=l._payload,l=l._init;try{return Je(l(h))}catch(C){}}return null}function Ke(l){switch(typeof l){case"boolean":case"number":case"object":case"string":case"undefined":return l;default:return""}}function Re(l){var h=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(h==="checkbox"||h==="radio")}function Ce(l){var h=Re(l)?"checked":"value",C=Object.getOwnPropertyDescriptor(l.constructor.prototype,h),U=""+l[h];if(!l.hasOwnProperty(h)&&typeof C!="undefined"&&typeof C.get=="function"&&typeof C.set=="function"){var te=C.get,we=C.set;return Object.defineProperty(l,h,{configurable:!0,get:function(){return te.call(this)},set:function(Ge){U=""+Ge,we.call(this,Ge)}}),Object.defineProperty(l,h,{enumerable:C.enumerable}),{getValue:function(){return U},setValue:function(Ge){U=""+Ge},stopTracking:function(){l._valueTracker=null,delete l[h]}}}}function me(l){l._valueTracker||(l._valueTracker=Ce(l))}function at(l){if(!l)return!1;var h=l._valueTracker;if(!h)return!0;var C=h.getValue(),U="";return l&&(U=Re(l)?l.checked?"true":"false":l.value),l=U,l!==C?(h.setValue(l),!0):!1}function ct(l){if(l=l||(typeof document!="undefined"?document:void 0),typeof l=="undefined")return null;try{return l.activeElement||l.body}catch(h){return l.body}}function St(l,h){var C=h.checked;return r({},h,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:C!=null?C:l._wrapperState.initialChecked})}function bt(l,h){var C=h.defaultValue==null?"":h.defaultValue,U=h.checked!=null?h.checked:h.defaultChecked;C=Ke(h.value!=null?h.value:C),l._wrapperState={initialChecked:U,initialValue:C,controlled:h.type==="checkbox"||h.type==="radio"?h.checked!=null:h.value!=null}}function Ie(l,h){h=h.checked,h!=null&&T(l,"checked",h,!1)}function $e(l,h){Ie(l,h);var C=Ke(h.value),U=h.type;if(C!=null)U==="number"?(C===0&&l.value===""||l.value!=C)&&(l.value=""+C):l.value!==""+C&&(l.value=""+C);else if(U==="submit"||U==="reset"){l.removeAttribute("value");return}h.hasOwnProperty("value")?ke(l,h.type,C):h.hasOwnProperty("defaultValue")&&ke(l,h.type,Ke(h.defaultValue)),h.checked==null&&h.defaultChecked!=null&&(l.defaultChecked=!!h.defaultChecked)}function ft(l,h,C){if(h.hasOwnProperty("value")||h.hasOwnProperty("defaultValue")){var U=h.type;if(!(U!=="submit"&&U!=="reset"||h.value!==void 0&&h.value!==null))return;h=""+l._wrapperState.initialValue,C||h===l.value||(l.value=h),l.defaultValue=h}C=l.name,C!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,C!==""&&(l.name=C)}function ke(l,h,C){(h!=="number"||ct(l.ownerDocument)!==l)&&(C==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+C&&(l.defaultValue=""+C))}function ye(l){var h="";return t.Children.forEach(l,function(C){C!=null&&(h+=C)}),h}function fe(l,h){return l=r({children:void 0},h),(h=ye(h.children))&&(l.children=h),l}function Oe(l,h,C,U){if(l=l.options,h){h={};for(var te=0;te=C.length))throw Error(a(93));C=C[0]}h=C}h==null&&(h=""),C=h}l._wrapperState={initialValue:Ke(C)}}function mt(l,h){var C=Ke(h.value),U=Ke(h.defaultValue);C!=null&&(C=""+C,C!==l.value&&(l.value=C),h.defaultValue==null&&l.defaultValue!==C&&(l.defaultValue=C)),U!=null&&(l.defaultValue=""+U)}function pe(l){var h=l.textContent;h===l._wrapperState.initialValue&&h!==""&&h!==null&&(l.value=h)}var ge={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function lt(l){switch(l){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 Qe(l,h){return l==null||l==="http://www.w3.org/1999/xhtml"?lt(h):l==="http://www.w3.org/2000/svg"&&h==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var Ve,it=function(l){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(h,C,U,te){MSApp.execUnsafeLocalFunction(function(){return l(h,C,U,te)})}:l}(function(l,h){if(l.namespaceURI!==ge.svg||"innerHTML"in l)l.innerHTML=h;else{for(Ve=Ve||document.createElement("div"),Ve.innerHTML=""+h.valueOf().toString()+"",h=Ve.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;h.firstChild;)l.appendChild(h.firstChild)}});function Dt(l,h){if(h){var C=l.firstChild;if(C&&C===l.lastChild&&C.nodeType===3){C.nodeValue=h;return}}l.textContent=h}var Yt={animationIterationCount:!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},Se=["Webkit","ms","Moz","O"];Object.keys(Yt).forEach(function(l){Se.forEach(function(h){h=h+l.charAt(0).toUpperCase()+l.substring(1),Yt[h]=Yt[l]})});function je(l,h,C){return h==null||typeof h=="boolean"||h===""?"":C||typeof h!="number"||h===0||Yt.hasOwnProperty(l)&&Yt[l]?(""+h).trim():h+"px"}function Be(l,h){l=l.style;for(var C in h)if(h.hasOwnProperty(C)){var U=C.indexOf("--")===0,te=je(C,h[C],U);C==="float"&&(C="cssFloat"),U?l.setProperty(C,te):l[C]=te}}var ht=r({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 At(l,h){if(h){if(ht[l]&&(h.children!=null||h.dangerouslySetInnerHTML!=null))throw Error(a(137,l));if(h.dangerouslySetInnerHTML!=null){if(h.children!=null)throw Error(a(60));if(!(typeof h.dangerouslySetInnerHTML=="object"&&"__html"in h.dangerouslySetInnerHTML))throw Error(a(61))}if(h.style!=null&&typeof h.style!="object")throw Error(a(62))}}function ce(l,h){if(l.indexOf("-")===-1)return typeof h.is=="string";switch(l){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}}function _t(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var qt=null,Ht=null,Ut=null;function cr(l){if(l=po(l)){if(typeof qt!="function")throw Error(a(280));var h=l.stateNode;h&&(h=io(h),qt(l.stateNode,l.type,h))}}function Ze(l){Ht?Ut?Ut.push(l):Ut=[l]:Ht=l}function dt(){if(Ht){var l=Ht,h=Ut;if(Ut=Ht=null,cr(l),h)for(l=0;lU?0:1<C;C++)h.push(l);return h}function Me(l,h,C){l.pendingLanes|=h;var U=h-1;l.suspendedLanes&=U,l.pingedLanes&=U,l=l.eventTimes,h=31-yt(h),l[h]=C}var yt=Math.clz32?Math.clz32:hr,xt=Math.log,Zt=Math.LN2;function hr(l){return l===0?32:31-(xt(l)/Zt|0)|0}var xr=n.unstable_UserBlockingPriority,or=n.unstable_runWithPriority,wr=!0;function an(l,h,C,U){Ir||$t();var te=un,we=Ir;Ir=!0;try{ar(te,l,h,C,U)}finally{(Ir=we)||er()}}function zn(l,h,C,U){or(xr,un.bind(null,l,h,C,U))}function un(l,h,C,U){if(wr){var te;if((te=(h&4)===0)&&0=hs),Eo=" ",Xs=!1;function es(l,h){switch(l){case"keyup":return $i.indexOf(h.keyCode)!==-1;case"keydown":return h.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Di(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ii=!1;function Ro(l,h){switch(l){case"compositionend":return Di(h);case"keypress":return h.which!==32?null:(Xs=!0,Eo);case"textInput":return l=h.data,l===Eo&&Xs?null:l;default:return null}}function Ai(l,h){if(Ii)return l==="compositionend"||!qi&&es(l,h)?(l=Sn(),Wr=mn=vr=null,Ii=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(h.ctrlKey||h.altKey||h.metaKey)||h.ctrlKey&&h.altKey){if(h.char&&1=h)return{node:C,offset:h-l};l=U}e:{for(;C;){if(C.nextSibling){C=C.nextSibling;break e}C=C.parentNode}C=void 0}C=rr(C)}}function Vn(l,h){return l&&h?l===h?!0:l&&l.nodeType===3?!1:h&&h.nodeType===3?Vn(l,h.parentNode):"contains"in l?l.contains(h):l.compareDocumentPosition?!!(l.compareDocumentPosition(h)&16):!1:!1}function ra(){for(var l=window,h=ct();h instanceof l.HTMLIFrameElement;){try{var C=typeof h.contentWindow.location.href=="string"}catch(U){C=!1}if(C)l=h.contentWindow;else break;h=ct(l.document)}return h}function Co(l){var h=l&&l.nodeName&&l.nodeName.toLowerCase();return h&&(h==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||h==="textarea"||l.contentEditable==="true")}var bo=f&&"documentMode"in document&&11>=document.documentMode,Zn=null,oi=null,Oo=null,so=!1;function Ka(l,h,C){var U=C.window===C?C.document:C.nodeType===9?C:C.ownerDocument;so||Zn==null||Zn!==ct(U)||(U=Zn,"selectionStart"in U&&Co(U)?U={start:U.selectionStart,end:U.selectionEnd}:(U=(U.ownerDocument&&U.ownerDocument.defaultView||window).getSelection(),U={anchorNode:U.anchorNode,anchorOffset:U.anchorOffset,focusNode:U.focusNode,focusOffset:U.focusOffset}),Oo&&Un(Oo,U)||(Oo=U,U=_r(oi,"onSelect"),0Ho||(l.current=Vo[Ho],Vo[Ho]=null,Ho--)}function qa(l,h){Ho++,Vo[Ho]=l.current,l.current=h}var Io={},Da=So(Io),_e=So(!1),$=Io;function Ft(l,h){var C=l.type.contextTypes;if(!C)return Io;var U=l.stateNode;if(U&&U.__reactInternalMemoizedUnmaskedChildContext===h)return U.__reactInternalMemoizedMaskedChildContext;var te={},we;for(we in C)te[we]=h[we];return U&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=h,l.__reactInternalMemoizedMaskedChildContext=te),te}function fr(l){return l=l.childContextTypes,l!=null}function Mt(){Aa(_e),Aa(Da)}function lr(l,h,C){if(Da.current!==Io)throw Error(a(168));qa(Da,h),qa(_e,C)}function Br(l,h,C){var U=l.stateNode;if(l=h.childContextTypes,typeof U.getChildContext!="function")return C;U=U.getChildContext();for(var te in U)if(!(te in l))throw Error(a(108,Je(h)||"Unknown",te));return r({},C,U)}function fn(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Io,$=Da.current,qa(Da,l),qa(_e,_e.current),!0}function Wn(l,h,C){var U=l.stateNode;if(!U)throw Error(a(169));C?(l=Br(l,h,$),U.__reactInternalMemoizedMergedChildContext=l,Aa(_e),Aa(Da),qa(Da,l)):Aa(_e),qa(_e,C)}var zr=null,Jr=null,$r=n.unstable_runWithPriority,Dn=n.unstable_scheduleCallback,ro=n.unstable_cancelCallback,ii=n.unstable_shouldYield,ti=n.unstable_requestPaint,Ui=n.unstable_now,Zu=n.unstable_getCurrentPriorityLevel,Wi=n.unstable_ImmediatePriority,Xc=n.unstable_UserBlockingPriority,Yc=n.unstable_NormalPriority,As=n.unstable_LowPriority,wl=n.unstable_IdlePriority,Qc={},Pl=ti!==void 0?ti:function(){},Ds=null,_c=null,_s=!1,Hu=Ui(),xi=1e4>Hu?Ui:function(){return Ui()-Hu};function fi(){switch(Zu()){case Wi:return 99;case Xc:return 98;case Yc:return 97;case As:return 96;case wl:return 95;default:throw Error(a(332))}}function El(l){switch(l){case 99:return Wi;case 98:return Xc;case 97:return Yc;case 96:return As;case 95:return wl;default:throw Error(a(332))}}function Ys(l,h){return l=El(l),$r(l,h)}function Uu(l,h,C){return l=El(l),Dn(l,h,C)}function ms(){if(_c!==null){var l=_c;_c=null,ro(l)}Jc()}function Jc(){if(!_s&&Ds!==null){_s=!0;var l=0;try{var h=Ds;Ys(99,function(){for(;lNa?(eo=Bn,Bn=null):eo=Bn.sibling;var Ua=nn(ur,Bn,ir[Na],jr);if(Ua===null){Bn===null&&(Bn=eo);break}l&&Bn&&Ua.alternate===null&&h(ur,Bn),Xt=we(Ua,Xt,Na),Fa===null?Zr=Ua:Fa.sibling=Ua,Fa=Ua,Bn=eo}if(Na===ir.length)return C(ur,Bn),Zr;if(Bn===null){for(;NaNa?(eo=Bn,Bn=null):eo=Bn.sibling;var hc=nn(ur,Bn,Ua.value,jr);if(hc===null){Bn===null&&(Bn=eo);break}l&&Bn&&hc.alternate===null&&h(ur,Bn),Xt=we(hc,Xt,Na),Fa===null?Zr=hc:Fa.sibling=hc,Fa=hc,Bn=eo}if(Ua.done)return C(ur,Bn),Zr;if(Bn===null){for(;!Ua.done;Na++,Ua=ir.next())Ua=Ma(ur,Ua.value,jr),Ua!==null&&(Xt=we(Ua,Xt,Na),Fa===null?Zr=Ua:Fa.sibling=Ua,Fa=Ua);return Zr}for(Bn=U(ur,Bn);!Ua.done;Na++,Ua=ir.next())Ua=qn(Bn,ur,Na,Ua.value,jr),Ua!==null&&(l&&Ua.alternate!==null&&Bn.delete(Ua.key===null?Na:Ua.key),Xt=we(Ua,Xt,Na),Fa===null?Zr=Ua:Fa.sibling=Ua,Fa=Ua);return l&&Bn.forEach(function(fd){return h(ur,fd)}),Zr}return function(ur,Xt,ir,jr){var Zr=typeof ir=="object"&&ir!==null&&ir.type===j&&ir.key===null;Zr&&(ir=ir.props.children);var Fa=typeof ir=="object"&&ir!==null;if(Fa)switch(ir.$$typeof){case M:e:{for(Fa=ir.key,Zr=Xt;Zr!==null;){if(Zr.key===Fa){switch(Zr.tag){case 7:if(ir.type===j){C(ur,Zr.sibling),Xt=te(Zr,ir.props.children),Xt.return=ur,ur=Xt;break e}break;default:if(Zr.elementType===ir.type){C(ur,Zr.sibling),Xt=te(Zr,ir.props),Xt.ref=bi(ur,Zr,ir),Xt.return=ur,ur=Xt;break e}}C(ur,Zr);break}else h(ur,Zr);Zr=Zr.sibling}ir.type===j?(Xt=_i(ir.props.children,ur.mode,jr,ir.key),Xt.return=ur,ur=Xt):(jr=vc(ir.type,ir.key,ir.props,null,ur.mode,jr),jr.ref=bi(ur,Xt,ir),jr.return=ur,ur=jr)}return Ge(ur);case B:e:{for(Zr=ir.key;Xt!==null;){if(Xt.key===Zr)if(Xt.tag===4&&Xt.stateNode.containerInfo===ir.containerInfo&&Xt.stateNode.implementation===ir.implementation){C(ur,Xt.sibling),Xt=te(Xt,ir.children||[]),Xt.return=ur,ur=Xt;break e}else{C(ur,Xt);break}else h(ur,Xt);Xt=Xt.sibling}Xt=Uc(ir,ur.mode,jr),Xt.return=ur,ur=Xt}return Ge(ur)}if(typeof ir=="string"||typeof ir=="number")return ir=""+ir,Xt!==null&&Xt.tag===6?(C(ur,Xt.sibling),Xt=te(Xt,ir),Xt.return=ur,ur=Xt):(C(ur,Xt),Xt=jl(ir,ur.mode,jr),Xt.return=ur,ur=Xt),Ge(ur);if(Gu(ir))return ka(ur,Xt,ir,jr);if(le(ir))return Pa(ur,Xt,ir,jr);if(Fa&&ks(ur,ir),typeof ir=="undefined"&&!Zr)switch(ur.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Je(ur.type)||"Component"))}return C(ur,Xt)}}var ys=wc(!0),Pc=wc(!1),ni={},Mi=So(ni),Vu=So(ni),Ku=So(ni);function qs(l){if(l===ni)throw Error(a(174));return l}function js(l,h){switch(qa(Ku,h),qa(Vu,l),qa(Mi,ni),l=h.nodeType,l){case 9:case 11:h=(h=h.documentElement)?h.namespaceURI:Qe(null,"");break;default:l=l===8?h.parentNode:h,h=l.namespaceURI||null,l=l.tagName,h=Qe(h,l)}Aa(Mi),qa(Mi,h)}function Xu(){Aa(Mi),Aa(Vu),Aa(Ku)}function Iu(l){qs(Ku.current);var h=qs(Mi.current),C=Qe(h,l.type);h!==C&&(qa(Vu,l),qa(Mi,C))}function yn(l){Vu.current===l&&(Aa(Mi),Aa(Vu))}var jo=So(0);function Ec(l){for(var h=l;h!==null;){if(h.tag===13){var C=h.memoizedState;if(C!==null&&(C=C.dehydrated,C===null||C.data==="$?"||C.data==="$!"))return h}else if(h.tag===19&&h.memoizedProps.revealOrder!==void 0){if(h.flags&64)return h}else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===l)break;for(;h.sibling===null;){if(h.return===null||h.return===l)return null;h=h.return}h.sibling.return=h.return,h=h.sibling}return null}var ki=null,eu=null,rs=!1;function Sc(l,h){var C=hi(5,null,null,0);C.elementType="DELETED",C.type="DELETED",C.stateNode=h,C.return=l,C.flags=8,l.lastEffect!==null?(l.lastEffect.nextEffect=C,l.lastEffect=C):l.firstEffect=l.lastEffect=C}function tl(l,h){switch(l.tag){case 5:var C=l.type;return h=h.nodeType!==1||C.toLowerCase()!==h.nodeName.toLowerCase()?null:h,h!==null?(l.stateNode=h,!0):!1;case 6:return h=l.pendingProps===""||h.nodeType!==3?null:h,h!==null?(l.stateNode=h,!0):!1;case 13:return!1;default:return!1}}function Cc(l){if(rs){var h=eu;if(h){var C=h;if(!tl(l,h)){if(h=An(C.nextSibling),!h||!tl(l,h)){l.flags=l.flags&-1025|2,rs=!1,ki=l;return}Sc(ki,C)}ki=l,eu=An(h.firstChild)}else l.flags=l.flags&-1025|2,rs=!1,ki=l}}function si(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;ki=l}function Yu(l){if(l!==ki)return!1;if(!rs)return si(l),rs=!0,!1;var h=l.type;if(l.tag!==5||h!=="head"&&h!=="body"&&!Kn(h,l.memoizedProps))for(h=eu;h;)Sc(l,h),h=An(h.nextSibling);if(si(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(a(317));e:{for(l=l.nextSibling,h=0;l;){if(l.nodeType===8){var C=l.data;if(C==="/$"){if(h===0){eu=An(l.nextSibling);break e}h--}else C!=="$"&&C!=="$!"&&C!=="$?"||h++}l=l.nextSibling}eu=null}}else eu=ki?An(l.stateNode.nextSibling):null;return!0}function rl(){eu=ki=null,rs=!1}var tu=[];function nl(){for(var l=0;lwe))throw Error(a(301));we+=1,pi=Lo=null,h.updateQueue=null,ru.current=ul,l=C(U,te)}while(Du)}if(ru.current=qu,h=Lo!==null&&Lo.next!==null,Au=0,pi=Lo=Ao=null,Qu=!1,h)throw Error(a(300));return l}function xs(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pi===null?Ao.memoizedState=pi=l:pi=pi.next=l,pi}function Li(){if(Lo===null){var l=Ao.alternate;l=l!==null?l.memoizedState:null}else l=Lo.next;var h=pi===null?Ao.memoizedState:pi.next;if(h!==null)pi=h,Lo=l;else{if(l===null)throw Error(a(310));Lo=l,l={memoizedState:Lo.memoizedState,baseState:Lo.baseState,baseQueue:Lo.baseQueue,queue:Lo.queue,next:null},pi===null?Ao.memoizedState=pi=l:pi=pi.next=l}return pi}function ns(l,h){return typeof h=="function"?h(l):h}function Ju(l){var h=Li(),C=h.queue;if(C===null)throw Error(a(311));C.lastRenderedReducer=l;var U=Lo,te=U.baseQueue,we=C.pending;if(we!==null){if(te!==null){var Ge=te.next;te.next=we.next,we.next=Ge}U.baseQueue=te=we,C.pending=null}if(te!==null){te=te.next,U=U.baseState;var pt=Ge=we=null,Bt=te;do{var br=Bt.lane;if((Au&br)===br)pt!==null&&(pt=pt.next={lane:0,action:Bt.action,eagerReducer:Bt.eagerReducer,eagerState:Bt.eagerState,next:null}),U=Bt.eagerReducer===l?Bt.eagerState:l(U,Bt.action);else{var Tn={lane:br,action:Bt.action,eagerReducer:Bt.eagerReducer,eagerState:Bt.eagerState,next:null};pt===null?(Ge=pt=Tn,we=U):pt=pt.next=Tn,Ao.lanes|=br,vo|=br}Bt=Bt.next}while(Bt!==null&&Bt!==te);pt===null?we=U:pt.next=Ge,Qr(U,h.memoizedState)||(os=!0),h.memoizedState=U,h.baseState=we,h.baseQueue=pt,C.lastRenderedState=U}return[h.memoizedState,C.dispatch]}function mu(l){var h=Li(),C=h.queue;if(C===null)throw Error(a(311));C.lastRenderedReducer=l;var U=C.dispatch,te=C.pending,we=h.memoizedState;if(te!==null){C.pending=null;var Ge=te=te.next;do we=l(we,Ge.action),Ge=Ge.next;while(Ge!==te);Qr(we,h.memoizedState)||(os=!0),h.memoizedState=we,h.baseQueue===null&&(h.baseState=we),C.lastRenderedState=we}return[we,U]}function La(l,h,C){var U=h._getVersion;U=U(h._source);var te=h._workInProgressVersionPrimary;if(te!==null?l=te===U:(l=l.mutableReadLanes,(l=(Au&l)===l)&&(h._workInProgressVersionPrimary=U,tu.push(h))),l)return C(h._source);throw tu.push(h),Error(a(350))}function Cl(l,h,C,U){var te=oe;if(te===null)throw Error(a(349));var we=h._getVersion,Ge=we(h._source),pt=ru.current,Bt=pt.useState(function(){return La(te,h,C)}),br=Bt[1],Tn=Bt[0];Bt=pi;var Ma=l.memoizedState,nn=Ma.refs,qn=nn.getSnapshot,ka=Ma.source;Ma=Ma.subscribe;var Pa=Ao;return l.memoizedState={refs:nn,source:h,subscribe:U},pt.useEffect(function(){nn.getSnapshot=C,nn.setSnapshot=br;var ur=we(h._source);if(!Qr(Ge,ur)){ur=C(h._source),Qr(Tn,ur)||(br(ur),ur=Ns(Pa),te.mutableReadLanes|=ur&te.pendingLanes),ur=te.mutableReadLanes,te.entangledLanes|=ur;for(var Xt=te.entanglements,ir=ur;0C?98:C,function(){l(!0)}),Ys(97<\/script>",l=l.removeChild(l.firstChild)):typeof U.is=="string"?l=Ge.createElement(C,{is:U.is}):(l=Ge.createElement(C),C==="select"&&(Ge=l,U.multiple?Ge.multiple=!0:U.size&&(Ge.size=U.size))):l=Ge.createElementNS(l,C),l[ua]=h,l[ao]=U,Mc(l,h,!1,!1),h.stateNode=l,Ge=ce(C,U),C){case"dialog":he("cancel",l),he("close",l),te=U;break;case"iframe":case"object":case"embed":he("load",l),te=U;break;case"video":case"audio":for(te=0;teBc&&(h.flags|=64,we=!0,is(U,!1),h.lanes=33554432)}else{if(!we)if(l=Ec(Ge),l!==null){if(h.flags|=64,we=!0,C=l.updateQueue,C!==null&&(h.updateQueue=C,h.flags|=4),is(U,!0),U.tail===null&&U.tailMode==="hidden"&&!Ge.alternate&&!rs)return h=h.lastEffect=U.lastEffect,h!==null&&(h.nextEffect=null),null}else 2*xi()-U.renderingStartTime>Bc&&C!==1073741824&&(h.flags|=64,we=!0,is(U,!1),h.lanes=33554432);U.isBackwards?(Ge.sibling=h.child,h.child=Ge):(C=U.last,C!==null?C.sibling=Ge:h.child=Ge,U.last=Ge)}return U.tail!==null?(C=U.tail,U.rendering=C,U.tail=C.sibling,U.lastEffect=h.lastEffect,U.renderingStartTime=xi(),C.sibling=null,h=jo.current,qa(jo,we?h&1|2:h&1),C):null;case 23:case 24:return fa(),l!==null&&l.memoizedState!==null!=(h.memoizedState!==null)&&U.mode!=="unstable-defer-without-hiding"&&(h.flags|=4),null}throw Error(a(156,h.tag))}function fl(l){switch(l.tag){case 1:fr(l.type)&&Mt();var h=l.flags;return h&4096?(l.flags=h&-4097|64,l):null;case 3:if(Xu(),Aa(_e),Aa(Da),nl(),h=l.flags,h&64)throw Error(a(285));return l.flags=h&-4097|64,l;case 5:return yn(l),null;case 13:return Aa(jo),h=l.flags,h&4096?(l.flags=h&-4097|64,l):null;case 19:return Aa(jo),null;case 4:return Xu(),null;case 10:return $c(l),null;case 23:case 24:return fa(),null;default:return null}}function nc(l,h){try{var C="",U=h;do C+=vt(U),U=U.return;while(U);var te=C}catch(we){te=` Error generating stack: `+we.message+` -`+we.stack}return{value:l,source:h,stack:te}}function Xo(l,h){try{console.error(h.value)}catch(C){setTimeout(function(){throw C})}}var pl=typeof WeakMap=="function"?WeakMap:Map;function bu(l,h,C){C=Xa(-1,C),C.tag=3,C.payload={element:null};var U=h.value;return C.callback=function(){uc||(uc=!0,cc=U),Xo(l,h)},C}function ju(l,h,C){C=Xa(-1,C),C.tag=3;var U=l.type.getDerivedStateFromError;if(typeof U=="function"){var te=h.value;C.payload=function(){return Xo(l,h),U(te)}}var we=l.stateNode;return we!==null&&typeof we.componentDidCatch=="function"&&(C.callback=function(){typeof U!="function"&&(Qo===null?Qo=new Set([this]):Qo.add(this),Xo(l,h));var Ge=h.stack;this.componentDidCatch(h.value,{componentStack:Ge!==null?Ge:""})}),C}var ac=typeof WeakSet=="function"?WeakSet:Set;function Mc(l){var h=l.ref;if(h!==null)if(typeof h=="function")try{h(null)}catch(C){Zs(l,C)}else h.current=null}function Lu(l,h){switch(h.tag){case 0:case 11:case 15:case 22:return;case 1:if(h.flags&256&&l!==null){var C=l.memoizedProps,U=l.memoizedState;l=h.stateNode,h=l.getSnapshotBeforeUpdate(h.elementType===h.type?C:ts(h.type,C),U),l.__reactInternalSnapshotBeforeUpdate=h}return;case 3:h.flags&256&&Ln(h.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(a(163))}function jc(l,h,C){switch(C.tag){case 0:case 11:case 15:case 22:if(h=C.updateQueue,h=h!==null?h.lastEffect:null,h!==null){l=h=h.next;do{if((l.tag&3)===3){var U=l.create;l.destroy=U()}l=l.next}while(l!==h)}if(h=C.updateQueue,h=h!==null?h.lastEffect:null,h!==null){l=h=h.next;do{var te=l;U=te.next,te=te.tag,te&4&&te&1&&(Zc(C,l),Ul(C,l)),l=U}while(l!==h)}return;case 1:l=C.stateNode,C.flags&4&&(h===null?l.componentDidMount():(U=C.elementType===C.type?h.memoizedProps:ts(C.type,h.memoizedProps),l.componentDidUpdate(U,h.memoizedState,l.__reactInternalSnapshotBeforeUpdate))),h=C.updateQueue,h!==null&&ks(C,h,l);return;case 3:if(h=C.updateQueue,h!==null){if(l=null,C.child!==null)switch(C.child.tag){case 5:l=C.child.stateNode;break;case 1:l=C.child.stateNode}ks(C,h,l)}return;case 5:l=C.stateNode,h===null&&C.flags&4&&da(C.type,C.memoizedProps)&&l.focus();return;case 6:return;case 4:return;case 12:return;case 13:C.memoizedState===null&&(C=C.alternate,C!==null&&(C=C.memoizedState,C!==null&&(C=C.dehydrated,C!==null&&Pe(C))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(a(163))}function Lc(l,h){for(var C=l;;){if(C.tag===5){var U=C.stateNode;if(h)U=U.style,typeof U.setProperty=="function"?U.setProperty("display","none","important"):U.display="none";else{U=C.stateNode;var te=C.memoizedProps.style;te=te!=null&&te.hasOwnProperty("display")?te.display:null,U.style.display=je("display",te)}}else if(C.tag===6)C.stateNode.nodeValue=h?"":C.memoizedProps;else if((C.tag!==23&&C.tag!==24||C.memoizedState===null||C===l)&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===l)break;for(;C.sibling===null;){if(C.return===null||C.return===l)return;C=C.return}C.sibling.return=C.return,C=C.sibling}}function Fs(l,h){if(Jr&&typeof Jr.onCommitFiberUnmount=="function")try{Jr.onCommitFiberUnmount(zr,h)}catch(we){}switch(h.tag){case 0:case 11:case 14:case 15:case 22:if(l=h.updateQueue,l!==null&&(l=l.lastEffect,l!==null)){var C=l=l.next;do{var U=C,te=U.destroy;if(U=U.tag,te!==void 0)if(U&4)Zc(h,C);else{U=h;try{te()}catch(we){Zs(U,we)}}C=C.next}while(C!==l)}break;case 1:if(Mc(h),l=h.stateNode,typeof l.componentWillUnmount=="function")try{l.props=h.memoizedProps,l.state=h.memoizedState,l.componentWillUnmount()}catch(we){Zs(h,we)}break;case 5:Mc(h);break;case 4:Fc(l,h)}}function Al(l){l.alternate=null,l.child=null,l.dependencies=null,l.firstEffect=null,l.lastEffect=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.return=null,l.updateQueue=null}function oc(l){return l.tag===5||l.tag===3||l.tag===4}function ss(l){e:{for(var h=l.return;h!==null;){if(oc(h))break e;h=h.return}throw Error(a(160))}var C=h;switch(h=C.stateNode,C.tag){case 5:var U=!1;break;case 3:h=h.containerInfo,U=!0;break;case 4:h=h.containerInfo,U=!0;break;default:throw Error(a(161))}C.flags&16&&(Dt(h,""),C.flags&=-17);e:t:for(C=l;;){for(;C.sibling===null;){if(C.return===null||oc(C.return)){C=null;break e}C=C.return}for(C.sibling.return=C.return,C=C.sibling;C.tag!==5&&C.tag!==6&&C.tag!==18;){if(C.flags&2||C.child===null||C.tag===4)continue t;C.child.return=C,C=C.child}if(!(C.flags&2)){C=C.stateNode;break e}}U?ic(l,C,h):Fu(l,C,h)}function ic(l,h,C){var U=l.tag,te=U===5||U===6;if(te)l=te?l.stateNode:l.stateNode.instance,h?C.nodeType===8?C.parentNode.insertBefore(l,h):C.insertBefore(l,h):(C.nodeType===8?(h=C.parentNode,h.insertBefore(l,C)):(h=C,h.appendChild(l)),C=C._reactRootContainer,C!=null||h.onclick!==null||(h.onclick=hn));else if(U!==4&&(l=l.child,l!==null))for(ic(l,h,C),l=l.sibling;l!==null;)ic(l,h,C),l=l.sibling}function Fu(l,h,C){var U=l.tag,te=U===5||U===6;if(te)l=te?l.stateNode:l.stateNode.instance,h?C.insertBefore(l,h):C.appendChild(l);else if(U!==4&&(l=l.child,l!==null))for(Fu(l,h,C),l=l.sibling;l!==null;)Fu(l,h,C),l=l.sibling}function Fc(l,h){for(var C=h,U=!1,te,we;;){if(!U){U=C.return;e:for(;;){if(U===null)throw Error(a(160));switch(te=U.stateNode,U.tag){case 5:we=!1;break e;case 3:te=te.containerInfo,we=!0;break e;case 4:te=te.containerInfo,we=!0;break e}U=U.return}U=!0}if(C.tag===5||C.tag===6){e:for(var Ge=l,pt=C,Bt=pt;;)if(Fs(Ge,Bt),Bt.child!==null&&Bt.tag!==4)Bt.child.return=Bt,Bt=Bt.child;else{if(Bt===pt)break e;for(;Bt.sibling===null;){if(Bt.return===null||Bt.return===pt)break e;Bt=Bt.return}Bt.sibling.return=Bt.return,Bt=Bt.sibling}we?(Ge=te,pt=C.stateNode,Ge.nodeType===8?Ge.parentNode.removeChild(pt):Ge.removeChild(pt)):te.removeChild(C.stateNode)}else if(C.tag===4){if(C.child!==null){te=C.stateNode.containerInfo,we=!0,C.child.return=C,C=C.child;continue}}else if(Fs(l,C),C.child!==null){C.child.return=C,C=C.child;continue}if(C===h)break;for(;C.sibling===null;){if(C.return===null||C.return===h)return;C=C.return,C.tag===4&&(U=!1)}C.sibling.return=C.return,C=C.sibling}}function Nu(l,h){switch(h.tag){case 0:case 11:case 14:case 15:case 22:var C=h.updateQueue;if(C=C!==null?C.lastEffect:null,C!==null){var U=C=C.next;do(U.tag&3)===3&&(l=U.destroy,U.destroy=void 0,l!==void 0&&l()),U=U.next;while(U!==C)}return;case 1:return;case 5:if(C=h.stateNode,C!=null){U=h.memoizedProps;var te=l!==null?l.memoizedProps:U;l=h.type;var we=h.updateQueue;if(h.updateQueue=null,we!==null){for(C[ao]=U,l==="input"&&U.type==="radio"&&U.name!=null&&Ie(C,U),ce(l,te),h=ce(l,U),te=0;tete&&(te=Ge),C&=~we}if(C=te,C=xi()-C,C=(120>C?120:480>C?480:1080>C?1080:1920>C?1920:3e3>C?3e3:4320>C?4320:1960*m(C/1960))-C,10te&&(te=Ge),C&=~we}if(C=te,C=xi()-C,C=(120>C?120:480>C?480:1080>C?1080:1920>C?1920:3e3>C?3e3:4320>C?4320:1960*m(C/1960))-C,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}ca!==5&&(ca=2),Bt=nc(Bt,pt),nn=Ge;do{switch(nn.tag){case 3:we=Bt,nn.flags|=4096,h&=-h,nn.lanes|=h;var Fa=bu(nn,we,h);xc(nn,Fa);break e;case 1:we=Bt;var Bn=nn.type,Na=nn.stateNode;if(!(nn.flags&64)&&(typeof Bn.getDerivedStateFromError=="function"||Na!==null&&typeof Na.componentDidCatch=="function"&&(Qo===null||!Qo.has(Na)))){nn.flags|=4096,h&=-h,nn.lanes|=h;var eo=ju(nn,we,h);xc(nn,eo);break e}}nn=nn.return}while(nn!==null)}zs(C)}catch(Ua){h=Ua,mr===C&&C!==null&&(mr=C=C.return);continue}break}while(!0)}function Jn(){var l=y.current;return y.current=qu,l===null?qu:l}function co(l,h){var C=z;z|=16;var U=Jn();oe===l&&dr===h||ba(l,h);do try{Ps();break}catch(te){ho(l,te)}while(!0);if(hu(),z=C,y.current=U,mr!==null)throw Error(a(261));return oe=null,dr=0,ca}function Ps(){for(;mr!==null;)Bs(mr)}function Es(){for(;mr!==null&&!ii();)Bs(mr)}function Bs(l){var h=Hc(l.alternate,l,Nn);l.memoizedProps=l.pendingProps,h===null?zs(l):mr=h,b.current=null}function zs(l){var h=l;do{var C=h.alternate;if(l=h.return,h.flags&2048){if(C=fl(h),C!==null){C.flags&=2047,mr=C;return}l!==null&&(l.firstEffect=l.lastEffect=null,l.flags|=2048)}else{if(C=dl(C,h,Nn),C!==null){mr=C;return}if(C=h,C.tag!==24&&C.tag!==23||C.memoizedState===null||Nn&1073741824||!(C.mode&4)){for(var U=0,te=C.child;te!==null;)U|=te.lanes|te.childLanes,te=te.sibling;C.childLanes=U}l!==null&&!(l.flags&2048)&&(l.firstEffect===null&&(l.firstEffect=h.firstEffect),h.lastEffect!==null&&(l.lastEffect!==null&&(l.lastEffect.nextEffect=h.firstEffect),l.lastEffect=h.lastEffect),1Ge&&(pt=Ge,Ge=Fa,Fa=pt),pt=ga(ir,Fa),we=ga(ir,Ge),pt&&we&&(Zr.rangeCount!==1||Zr.anchorNode!==pt.node||Zr.anchorOffset!==pt.offset||Zr.focusNode!==we.node||Zr.focusOffset!==we.offset)&&(jr=jr.createRange(),jr.setStart(pt.node,pt.offset),Zr.removeAllRanges(),Fa>Ge?(Zr.addRange(jr),Zr.extend(we.node,we.offset)):(jr.setEnd(we.node,we.offset),Zr.addRange(jr)))))),jr=[],Zr=ir;Zr=Zr.parentNode;)Zr.nodeType===1&&jr.push({element:Zr,left:Zr.scrollLeft,top:Zr.scrollTop});for(typeof ir.focus=="function"&&ir.focus(),ir=0;irxi()-sc?ba(l,0):Ki|=C),Xi(l,h)}function Ss(l,h){var C=l.stateNode;C!==null&&C.delete(h),h=0,h===0&&(h=l.mode,h&2?h&4?(lu===0&&(lu=To),h=ue(62914560&~lu),h===0&&(h=4194304)):h=fi()===99?1:2:h=1),C=Fi(),l=fc(l,h),l!==null&&(ke(l,h,C),Xi(l,C))}var Hc;Hc=function(l,h,C){var U=h.lanes;if(l!==null)if(l.memoizedProps!==h.pendingProps||_e.current)os=!0;else if(C&U)os=!!(l.flags&16384);else{switch(os=!1,h.tag){case 3:yu(h),rl();break;case 5:Iu(h);break;case 1:fr(h.type)&&fn(h);break;case 4:js(h,h.stateNode.containerInfo);break;case 10:U=h.memoizedProps.value;var te=h.type._context;qa(gc,te._currentValue),te._currentValue=U;break;case 13:if(h.memoizedState!==null)return C&h.child.childLanes?xu(l,h,C):(qa(jo,jo.current&1),h=Vi(l,h,C),h!==null?h.sibling:null);qa(jo,jo.current&1);break;case 19:if(U=(C&h.childLanes)!==0,l.flags&64){if(U)return ou(l,h,C);h.flags|=64}if(te=h.memoizedState,te!==null&&(te.rendering=null,te.tail=null,te.lastEffect=null),qa(jo,jo.current),U)break;return null;case 23:case 24:return h.lanes=0,ll(l,h,C)}return Vi(l,h,C)}else os=!1;switch(h.lanes=0,h.tag){case 2:if(U=h.type,l!==null&&(l.alternate=null,h.alternate=null,h.flags|=2),l=h.pendingProps,te=Ft(h,Da.current),_u(h,C),te=al(null,h,U,l,te,C),h.flags|=1,typeof te=="object"&&te!==null&&typeof te.render=="function"&&te.$$typeof===void 0){if(h.tag=1,h.memoizedState=null,h.updateQueue=null,fr(U)){var we=!0;fn(h)}else we=!1;h.memoizedState=te.state!==null&&te.state!==void 0?te.state:null,$s(h);var Ge=U.getDerivedStateFromProps;typeof Ge=="function"&&Ri(h,U,Ge,l),te.updater=Ou,h.stateNode=te,te._reactInternals=h,Wu(h,U,l,C),h=ae(null,h,U,!0,we,C)}else h.tag=0,Uo(null,h,te,C),h=h.child;return h;case 16:te=h.elementType;e:{switch(l!==null&&(l.alternate=null,h.alternate=null,h.flags|=2),l=h.pendingProps,we=te._init,te=we(te._payload),h.type=te,we=h.tag=kl(te),l=ts(te,l),we){case 0:h=Ko(null,h,te,l,C);break e;case 1:h=gu(null,h,te,l,C);break e;case 11:h=Rc(null,h,te,l,C);break e;case 14:h=nu(null,h,te,ts(te.type,l),U,C);break e}throw Error(a(306,te,""))}return h;case 0:return U=h.type,te=h.pendingProps,te=h.elementType===U?te:ts(U,te),Ko(l,h,U,te,C);case 1:return U=h.type,te=h.pendingProps,te=h.elementType===U?te:ts(U,te),gu(l,h,U,te,C);case 3:if(yu(h),U=h.updateQueue,l===null||U===null)throw Error(a(282));if(U=h.pendingProps,te=h.memoizedState,te=te!==null?te.element:null,Ti(l,h),Rs(h,U,null,C),U=h.memoizedState.element,U===te)rl(),h=Vi(l,h,C);else{if(te=h.stateNode,(we=te.hydrate)&&(eu=An(h.stateNode.containerInfo.firstChild),Mi=h,we=rs=!0),we){if(l=te.mutableSourceEagerHydrationData,l!=null)for(te=0;te=0)&&(R[D]=E[D]);return R}const u=["onClick","reloadDocument","replace","state","target","to"],c=null;function o(E,A){if(!E){typeof console!="undefined"&&console.warn(A);try{throw new Error(A)}catch(R){}}}function f(E){let{basename:A,children:R,window:T}=E,D=useRef();D.current==null&&(D.current=createBrowserHistory({window:T}));let k=D.current,[B,j]=useState({action:k.action,location:k.location});return useLayoutEffect(()=>k.listen(j),[k]),createElement(Router,{basename:A,children:R,location:B.location,navigationType:B.action,navigator:k})}function _(E){let{basename:A,children:R,window:T}=E,D=useRef();D.current==null&&(D.current=createHashHistory({window:T}));let k=D.current,[B,j]=useState({action:k.action,location:k.location});return useLayoutEffect(()=>k.listen(j),[k]),createElement(Router,{basename:A,children:R,location:B.location,navigationType:B.action,navigator:k})}function p(E){let{basename:A,children:R,history:T}=E;const[D,k]=useState({action:T.action,location:T.location});return useLayoutEffect(()=>T.listen(k),[T]),createElement(Router,{basename:A,children:R,location:D.location,navigationType:D.action,navigator:T})}function x(E){return!!(E.metaKey||E.altKey||E.ctrlKey||E.shiftKey)}const g=(0,t.forwardRef)(function(A,R){let{onClick:T,reloadDocument:D,replace:k=!1,state:B,target:j,to:V}=A,H=s(A,u),Y=(0,r.oQ)(V),F=O(V,{replace:k,state:B,target:j});function K(X){T&&T(X),!X.defaultPrevented&&!D&&F(X)}return(0,t.createElement)("a",a({},H,{href:Y,onClick:K,ref:R,target:j}))}),P=null;function O(E,A){let{target:R,replace:T,state:D}=A===void 0?{}:A,k=(0,r.s0)(),B=(0,r.TH)(),j=(0,r.WU)(E);return(0,t.useCallback)(V=>{if(V.button===0&&(!R||R==="_self")&&!x(V)){V.preventDefault();let H=!!T||(0,n.Ep)(B)===(0,n.Ep)(j);k(E,{replace:H,state:D})}},[B,k,j,T,D,R,E])}function S(E){let A=(0,t.useRef)(I(E)),R=(0,r.TH)(),T=(0,t.useMemo)(()=>{let B=I(R.search);for(let j of A.current.keys())B.has(j)||A.current.getAll(j).forEach(V=>{B.append(j,V)});return B},[R.search]),D=(0,r.s0)(),k=(0,t.useCallback)((B,j)=>{D("?"+I(B),j)},[D]);return[T,k]}function I(E){return E===void 0&&(E=""),new URLSearchParams(typeof E=="string"||Array.isArray(E)||E instanceof URLSearchParams?E:Object.keys(E).reduce((A,R)=>{let T=E[R];return A.concat(Array.isArray(T)?T.map(D=>[R,D]):[[R,T]])},[]))}},35338:function(i,d,e){"use strict";e.d(d,{F0:function(){return at},Fg:function(){return Re},Gn:function(){return _},TH:function(){return G},UO:function(){return ze},V$:function(){return vt},WU:function(){return st},bx:function(){return de},fp:function(){return p},j3:function(){return Ce},oQ:function(){return M},s0:function(){return se}});var t=e(19340),r=e(59301);const n=(0,r.createContext)(null),a=(0,r.createContext)(null),s=(0,r.createContext)({outlet:null,matches:[]});function u(Ie,$e){if(!Ie)throw new Error($e)}function c(Ie,$e){if(!Ie){typeof console!="undefined"&&console.warn($e);try{throw new Error($e)}catch(ft){}}}const o={};function f(Ie,$e,ft){!$e&&!o[Ie]&&(o[Ie]=!0)}function _(Ie,$e){return $e===void 0&&($e={}),Ie.replace(/:(\w+)/g,(ft,Me)=>($e[Me]==null&&u(!1),$e[Me])).replace(/\/*\*$/,ft=>$e["*"]==null?"":$e["*"].replace(/^\/*/,"/"))}function p(Ie,$e,ft){ft===void 0&&(ft="/");let Me=typeof $e=="string"?(0,t.cP)($e):$e,ye=X(Me.pathname||"/",ft);if(ye==null)return null;let fe=x(Ie);g(fe);let Oe=null;for(let Ee=0;Oe==null&&Ee{let Oe={relativePath:ye.path||"",caseSensitive:ye.caseSensitive===!0,childrenIndex:fe,route:ye};Oe.relativePath.startsWith("/")&&(Oe.relativePath.startsWith(Me)||u(!1),Oe.relativePath=Oe.relativePath.slice(Me.length));let Ee=Q([Me,Oe.relativePath]),et=ft.concat(Oe);ye.children&&ye.children.length>0&&(ye.index===!0&&u(!1),x(ye.children,$e,et,Ee)),!(ye.path==null&&!ye.index)&&$e.push({path:Ee,score:T(Ee,ye.index),routesMeta:et})}),$e}function g(Ie){Ie.sort(($e,ft)=>$e.score!==ft.score?ft.score-$e.score:D($e.routesMeta.map(Me=>Me.childrenIndex),ft.routesMeta.map(Me=>Me.childrenIndex)))}const P=/^:\w+$/,O=3,S=2,I=1,E=10,A=-2,R=Ie=>Ie==="*";function T(Ie,$e){let ft=Ie.split("/"),Me=ft.length;return ft.some(R)&&(Me+=A),$e&&(Me+=S),ft.filter(ye=>!R(ye)).reduce((ye,fe)=>ye+(P.test(fe)?O:fe===""?I:E),Me)}function D(Ie,$e){return Ie.length===$e.length&&Ie.slice(0,-1).every((Me,ye)=>Me===$e[ye])?Ie[Ie.length-1]-$e[$e.length-1]:0}function k(Ie,$e){let{routesMeta:ft}=Ie,Me={},ye="/",fe=[];for(let Oe=0;Oe{if(pe==="*"){let lt=Ee[ge]||"";Oe=fe.slice(0,fe.length-lt.length).replace(/(.)\/+$/,"$1")}return mt[pe]=V(Ee[ge]||"",pe),mt},{}),pathname:fe,pathnameBase:Oe,pattern:Ie}}function j(Ie,$e,ft){$e===void 0&&($e=!1),ft===void 0&&(ft=!0);let Me=[],ye="^"+Ie.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(Oe,Ee)=>(Me.push(Ee),"([^\\/]+)"));return Ie.endsWith("*")?(Me.push("*"),ye+=Ie==="*"||Ie==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):ye+=ft?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(ye,$e?void 0:"i"),Me]}function V(Ie,$e){try{return decodeURIComponent(Ie)}catch(ft){return Ie}}function H(Ie,$e){$e===void 0&&($e="/");let{pathname:ft,search:Me="",hash:ye=""}=typeof Ie=="string"?(0,t.cP)(Ie):Ie;return{pathname:ft?ft.startsWith("/")?ft:Y(ft,$e):$e,search:N(Me),hash:J(ye)}}function Y(Ie,$e){let ft=$e.replace(/\/+$/,"").split("/");return Ie.split("/").forEach(ye=>{ye===".."?ft.length>1&&ft.pop():ye!=="."&&ft.push(ye)}),ft.length>1?ft.join("/"):"/"}function F(Ie,$e,ft){let Me=typeof Ie=="string"?(0,t.cP)(Ie):Ie,ye=Ie===""||Me.pathname===""?"/":Me.pathname,fe;if(ye==null)fe=ft;else{let Ee=$e.length-1;if(ye.startsWith("..")){let et=ye.split("/");for(;et[0]==="..";)et.shift(),Ee-=1;Me.pathname=et.join("/")}fe=Ee>=0?$e[Ee]:"/"}let Oe=H(Me,fe);return ye&&ye!=="/"&&ye.endsWith("/")&&!Oe.pathname.endsWith("/")&&(Oe.pathname+="/"),Oe}function K(Ie){return Ie===""||Ie.pathname===""?"/":typeof Ie=="string"?(0,t.cP)(Ie).pathname:Ie.pathname}function X(Ie,$e){if($e==="/")return Ie;if(!Ie.toLowerCase().startsWith($e.toLowerCase()))return null;let ft=Ie.charAt($e.length);return ft&&ft!=="/"?null:Ie.slice($e.length)||"/"}const Q=Ie=>Ie.join("/").replace(/\/\/+/g,"/"),W=Ie=>Ie.replace(/\/+$/,"").replace(/^\/*/,"/"),N=Ie=>!Ie||Ie==="?"?"":Ie.startsWith("?")?Ie:"?"+Ie,J=Ie=>!Ie||Ie==="#"?"":Ie.startsWith("#")?Ie:"#"+Ie;function M(Ie){Z()||u(!1);let{basename:$e,navigator:ft}=(0,r.useContext)(n),{hash:Me,pathname:ye,search:fe}=st(Ie),Oe=ye;if($e!=="/"){let Ee=K(Ie),et=Ee!=null&&Ee.endsWith("/");Oe=ye==="/"?$e+(et?"/":""):Q([$e,ye])}return ft.createHref({pathname:Oe,search:fe,hash:Me})}function Z(){return(0,r.useContext)(a)!=null}function G(){return Z()||u(!1),(0,r.useContext)(a).location}function ee(){return useContext(a).navigationType}function ie(Ie){Z()||u(!1);let{pathname:$e}=G();return useMemo(()=>B(Ie,$e),[$e,Ie])}function se(){Z()||u(!1);let{basename:Ie,navigator:$e}=(0,r.useContext)(n),{matches:ft}=(0,r.useContext)(s),{pathname:Me}=G(),ye=JSON.stringify(ft.map(Ee=>Ee.pathnameBase)),fe=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{fe.current=!0}),(0,r.useCallback)(function(Ee,et){if(et===void 0&&(et={}),!fe.current)return;if(typeof Ee=="number"){$e.go(Ee);return}let mt=F(Ee,JSON.parse(ye),Me);Ie!=="/"&&(mt.pathname=Q([Ie,mt.pathname])),(et.replace?$e.replace:$e.push)(mt,et.state)},[Ie,$e,ye,Me])}const le=(0,r.createContext)(null);function de(){return(0,r.useContext)(le)}function He(Ie){let $e=(0,r.useContext)(s).outlet;return $e&&(0,r.createElement)(le.Provider,{value:Ie},$e)}function ze(){let{matches:Ie}=(0,r.useContext)(s),$e=Ie[Ie.length-1];return $e?$e.params:{}}function st(Ie){let{matches:$e}=(0,r.useContext)(s),{pathname:ft}=G(),Me=JSON.stringify($e.map(ye=>ye.pathnameBase));return(0,r.useMemo)(()=>F(Ie,JSON.parse(Me),ft),[Ie,Me,ft])}function vt(Ie,$e){Z()||u(!1);let{matches:ft}=(0,r.useContext)(s),Me=ft[ft.length-1],ye=Me?Me.params:{},fe=Me?Me.pathname:"/",Oe=Me?Me.pathnameBase:"/",Ee=Me&&Me.route,et=G(),mt;if($e){var pe;let Ve=typeof $e=="string"?(0,t.cP)($e):$e;Oe==="/"||(pe=Ve.pathname)!=null&&pe.startsWith(Oe)||u(!1),mt=Ve}else mt=et;let ge=mt.pathname||"/",lt=Oe==="/"?ge:ge.slice(Oe.length)||"/",Qe=p(Ie,{pathname:lt});return Je(Qe&&Qe.map(Ve=>Object.assign({},Ve,{params:Object.assign({},ye,Ve.params),pathname:Q([Oe,Ve.pathname]),pathnameBase:Ve.pathnameBase==="/"?Oe:Q([Oe,Ve.pathnameBase])})),ft)}function Je(Ie,$e){return $e===void 0&&($e=[]),Ie==null?null:Ie.reduceRight((ft,Me,ye)=>(0,r.createElement)(s.Provider,{children:Me.route.element!==void 0?Me.route.element:ft,value:{outlet:ft,matches:$e.concat(Ie.slice(0,ye+1))}}),null)}function Ke(Ie){let{basename:$e,children:ft,initialEntries:Me,initialIndex:ye}=Ie,fe=useRef();fe.current==null&&(fe.current=createMemoryHistory({initialEntries:Me,initialIndex:ye}));let Oe=fe.current,[Ee,et]=useState({action:Oe.action,location:Oe.location});return useLayoutEffect(()=>Oe.listen(et),[Oe]),createElement(at,{basename:$e,children:ft,location:Ee.location,navigationType:Ee.action,navigator:Oe})}function Re(Ie){let{to:$e,replace:ft,state:Me}=Ie;Z()||u(!1);let ye=se();return(0,r.useEffect)(()=>{ye($e,{replace:ft,state:Me})}),null}function Ce(Ie){return He(Ie.context)}function me(Ie){u(!1)}function at(Ie){let{basename:$e="/",children:ft=null,location:Me,navigationType:ye=t.aU.Pop,navigator:fe,static:Oe=!1}=Ie;Z()&&u(!1);let Ee=W($e),et=(0,r.useMemo)(()=>({basename:Ee,navigator:fe,static:Oe}),[Ee,fe,Oe]);typeof Me=="string"&&(Me=(0,t.cP)(Me));let{pathname:mt="/",search:pe="",hash:ge="",state:lt=null,key:Qe="default"}=Me,Ve=(0,r.useMemo)(()=>{let it=X(mt,Ee);return it==null?null:{pathname:it,search:pe,hash:ge,state:lt,key:Qe}},[Ee,mt,pe,ge,lt,Qe]);return Ve==null?null:(0,r.createElement)(n.Provider,{value:et},(0,r.createElement)(a.Provider,{children:ft,value:{location:Ve,navigationType:ye}}))}function ct(Ie){let{children:$e,location:ft}=Ie;return vt(St($e),ft)}function St(Ie){let $e=[];return Children.forEach(Ie,ft=>{if(!isValidElement(ft))return;if(ft.type===Fragment){$e.push.apply($e,St(ft.props.children));return}ft.type!==me&&u(!1);let Me={caseSensitive:ft.props.caseSensitive,element:ft.props.element,index:ft.props.index,path:ft.props.path};ft.props.children&&(Me.children=St(ft.props.children)),$e.push(Me)}),$e}function bt(Ie){return Je(Ie)}},76100:function(i,d,e){"use strict";var t=e(84126),r=60103,n=60106;d.Fragment=60107,d.StrictMode=60108,d.Profiler=60114;var a=60109,s=60110,u=60112;d.Suspense=60113;var c=60115,o=60116;if(typeof Symbol=="function"&&Symbol.for){var f=Symbol.for;r=f("react.element"),n=f("react.portal"),d.Fragment=f("react.fragment"),d.StrictMode=f("react.strict_mode"),d.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),d.Suspense=f("react.suspense"),c=f("react.memo"),o=f("react.lazy")}var _=typeof Symbol=="function"&&Symbol.iterator;function p(N){return N===null||typeof N!="object"?null:(N=_&&N[_]||N["@@iterator"],typeof N=="function"?N:null)}function x(N){for(var J="https://reactjs.org/docs/error-decoder.html?invariant="+N,M=1;M0)return"Unexpected "+(Y.length>1?"keys":"key")+" "+('"'+Y.join('", "')+'" found in '+H+". ")+"Expected to find one of the known reducer keys instead: "+('"'+V.join('", "')+'". Unexpected keys will be ignored.')}function S(D){Object.keys(D).forEach(function(k){var B=D[k],j=B(void 0,{type:s.INIT});if(typeof j=="undefined")throw new Error(r(12));if(typeof B(void 0,{type:s.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(r(13))})}function I(D){for(var k=Object.keys(D),B={},j=0;j=0;--M){var Z=this.tryEntries[M],G=Z.completion;if(Z.tryLoc==="root")return J("end");if(Z.tryLoc<=this.prev){var ee=r.call(Z,"catchLoc"),ie=r.call(Z,"finallyLoc");if(ee&&ie){if(this.prev=0;--J){var M=this.tryEntries[J];if(M.tryLoc<=this.prev&&r.call(M,"finallyLoc")&&this.prev=0;--N){var J=this.tryEntries[N];if(J.finallyLoc===W)return this.complete(J.completion,J.afterLoc),F(J),S}},catch:function(W){for(var N=this.tryEntries.length-1;N>=0;--N){var J=this.tryEntries[N];if(J.tryLoc===W){var M=J.completion;if(M.type==="throw"){var Z=M.arg;F(J)}return Z}}throw new Error("illegal catch attempt")},delegateYield:function(W,N,J){return this.delegate={iterator:X(W),resultName:N,nextLoc:J},this.method==="next"&&(this.arg=a),S}},e}(i.exports);try{regeneratorRuntime=d}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=d:Function("r","regeneratorRuntime = r")(d)}},74284:function(i,d){"use strict";var e,t,r,n;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;d.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();d.unstable_now=function(){return s.now()-u}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var c=null,o=null,f=function(){if(c!==null)try{var M=d.unstable_now();c(!0,M),c=null}catch(Z){throw setTimeout(f,0),Z}};e=function(M){c!==null?setTimeout(e,0,M):(c=M,setTimeout(f,0))},t=function(M,Z){o=setTimeout(M,Z)},r=function(){clearTimeout(o)},d.unstable_shouldYield=function(){return!1},n=d.unstable_forceFrameRate=function(){}}else{var _=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var x=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof x!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,P=null,O=-1,S=5,I=0;d.unstable_shouldYield=function(){return d.unstable_now()>=I},n=function(){},d.unstable_forceFrameRate=function(M){0>M||125>>1,ie=M[ee];if(ie!==void 0&&0k(le,G))He!==void 0&&0>k(He,le)?(M[ee]=He,M[de]=G,ee=de):(M[ee]=le,M[se]=G,ee=se);else if(He!==void 0&&0>k(He,G))M[ee]=He,M[de]=G,ee=de;else break e}}return Z}return null}function k(M,Z){var G=M.sortIndex-Z.sortIndex;return G!==0?G:M.id-Z.id}var B=[],j=[],V=1,H=null,Y=3,F=!1,K=!1,X=!1;function Q(M){for(var Z=T(j);Z!==null;){if(Z.callback===null)D(j);else if(Z.startTime<=M)D(j),Z.sortIndex=Z.expirationTime,R(B,Z);else break;Z=T(j)}}function W(M){if(X=!1,Q(M),!K)if(T(B)!==null)K=!0,e(N);else{var Z=T(j);Z!==null&&t(W,Z.startTime-M)}}function N(M,Z){K=!1,X&&(X=!1,r()),F=!0;var G=Y;try{for(Q(Z),H=T(B);H!==null&&(!(H.expirationTime>Z)||M&&!d.unstable_shouldYield());){var ee=H.callback;if(typeof ee=="function"){H.callback=null,Y=H.priorityLevel;var ie=ee(H.expirationTime<=Z);Z=d.unstable_now(),typeof ie=="function"?H.callback=ie:H===T(B)&&D(B),Q(Z)}else D(B);H=T(B)}if(H!==null)var se=!0;else{var le=T(j);le!==null&&t(W,le.startTime-Z),se=!1}return se}finally{H=null,Y=G,F=!1}}var J=n;d.unstable_IdlePriority=5,d.unstable_ImmediatePriority=1,d.unstable_LowPriority=4,d.unstable_NormalPriority=3,d.unstable_Profiling=null,d.unstable_UserBlockingPriority=2,d.unstable_cancelCallback=function(M){M.callback=null},d.unstable_continueExecution=function(){K||F||(K=!0,e(N))},d.unstable_getCurrentPriorityLevel=function(){return Y},d.unstable_getFirstCallbackNode=function(){return T(B)},d.unstable_next=function(M){switch(Y){case 1:case 2:case 3:var Z=3;break;default:Z=Y}var G=Y;Y=Z;try{return M()}finally{Y=G}},d.unstable_pauseExecution=function(){},d.unstable_requestPaint=J,d.unstable_runWithPriority=function(M,Z){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var G=Y;Y=M;try{return Z()}finally{Y=G}},d.unstable_scheduleCallback=function(M,Z,G){var ee=d.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0ee?(M.sortIndex=G,R(j,M),T(B)===null&&M===T(j)&&(X?r():X=!0,t(W,G-ee))):(M.sortIndex=ie,R(B,M),K||F||(K=!0,e(N))),M},d.unstable_wrapCallback=function(M){var Z=Y;return function(){var G=Y;Y=Z;try{return M.apply(this,arguments)}finally{Y=G}}}},43014:function(i,d,e){"use strict";i.exports=e(74284)},18947:function(i){"use strict";function d(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var s=0;s1&&arguments[1]!==void 0?arguments[1]:0,O=(c[g[P+0]]+c[g[P+1]]+c[g[P+2]]+c[g[P+3]]+"-"+c[g[P+4]]+c[g[P+5]]+"-"+c[g[P+6]]+c[g[P+7]]+"-"+c[g[P+8]]+c[g[P+9]]+"-"+c[g[P+10]]+c[g[P+11]]+c[g[P+12]]+c[g[P+13]]+c[g[P+14]]+c[g[P+15]]).toLowerCase();if(!u(O))throw TypeError("Stringified UUID is invalid");return O}var _=f;function p(g,P,O){g=g||{};var S=g.random||(g.rng||n)();if(S[6]=S[6]&15|64,S[8]=S[8]&63|128,P){O=O||0;for(var I=0;I<16;++I)P[O+I]=S[I];return P}return _(S)}var x=p},56754:function(i){"use strict";var d=function(){};i.exports=d},85239:function(i){"use strict";var d=!1,e=function(){};if(d){var t=function(n,a){var s=arguments.length;a=new Array(s>1?s-1:0);for(var u=1;u2?s-2:0);for(var u=2;u3?(J=G===N)&&(H=M[(V=M[4])?5:(V=3,3)],M[4]=M[5]=n):M[0]<=Z&&((J=W<2&&ZN||N>G)&&(M[4]=W,M[5]=N,X.n=G,V=0))}if(J||W>1)return f;throw K=!0,N}return function(W,N,J){if(Y>1)throw TypeError("Generator is already running");for(K&&N===1&&Q(N,J),V=N,H=J;(a=V<2?n:H)||!K;){j||(V?V<3?(V>1&&(X.n=-1),Q(V,H)):X.n=H:X.v=H);try{if(Y=2,j){if(V||(W="next"),a=j[W]){if(!(a=a.call(j,H)))throw TypeError("iterator result is not an object");if(!a.done)return a;H=a.value,V<2&&(V=0)}else V===1&&(a=j.return)&&a.call(j),V<2&&(H=TypeError("The iterator does not provide a '"+W+"' method"),V=1);j=n}else if((a=(K=X.n<0)?H:D.call(k,X))!==f)break}catch(M){j=n,V=1,H=M}finally{Y=1}}return{value:a,done:K}}}(S,E,A),!0),T}var f={};function _(){}function p(){}function x(){}a=Object.getPrototypeOf;var g=[][u]?a(a([][u]())):(t(a={},u,function(){return this}),a),P=x.prototype=_.prototype=Object.create(g);function O(S){return Object.setPrototypeOf?Object.setPrototypeOf(S,x):(S.__proto__=x,t(S,c,"GeneratorFunction")),S.prototype=Object.create(P),S}return p.prototype=x,t(P,"constructor",x),t(x,"constructor",p),p.displayName="GeneratorFunction",t(x,c,"GeneratorFunction"),t(P),t(P,c,"Generator"),t(P,u,function(){return this}),t(P,"toString",function(){return"[object Generator]"}),(i.exports=r=function(){return{w:o,m:O}},i.exports.__esModule=!0,i.exports.default=i.exports)()}i.exports=r,i.exports.__esModule=!0,i.exports.default=i.exports},41541:function(i,d,e){var t=e(43912);function r(n,a,s,u,c){var o=t(n,a,s,u,c);return o.next().then(function(f){return f.done?f.value:o.next()})}i.exports=r,i.exports.__esModule=!0,i.exports.default=i.exports},43912:function(i,d,e){var t=e(78280),r=e(42457);function n(a,s,u,c,o){return new r(t().w(a,s,u,c),o||Promise)}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports},42457:function(i,d,e){var t=e(60968),r=e(50718);function n(a,s){function u(o,f,_,p){try{var x=a[o](f),g=x.value;return g instanceof t?s.resolve(g.v).then(function(P){u("next",P,_,p)},function(P){u("throw",P,_,p)}):s.resolve(g).then(function(P){x.value=P,_(x)},function(P){return u("throw",P,_,p)})}catch(P){p(P)}}var c;this.next||(r(n.prototype),r(n.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(o,f,_){function p(){return new s(function(x,g){u(o,_,x,g)})}return c=c?c.then(p,p):p()},!0)}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports},50718:function(i){function d(e,t,r,n){var a=Object.defineProperty;try{a({},"",{})}catch(s){a=0}i.exports=d=function(u,c,o,f){function _(p,x){d(u,p,function(g){return this._invoke(p,x,g)})}c?a?a(u,c,{value:o,enumerable:!f,configurable:!f,writable:!f}):u[c]=o:(_("next",0),_("throw",1),_("return",2))},i.exports.__esModule=!0,i.exports.default=i.exports,d(e,t,r,n)}i.exports=d,i.exports.__esModule=!0,i.exports.default=i.exports},30278:function(i){function d(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function a(){for(;r.length;)if((n=r.pop())in t)return a.value=n,a.done=!1,a;return a.done=!0,a}}i.exports=d,i.exports.__esModule=!0,i.exports.default=i.exports},18725:function(i,d,e){var t=e(60968),r=e(78280),n=e(41541),a=e(43912),s=e(42457),u=e(30278),c=e(17933);function o(){"use strict";var f=r(),_=f.m(o),p=(Object.getPrototypeOf?Object.getPrototypeOf(_):_.__proto__).constructor;function x(O){var S=typeof O=="function"&&O.constructor;return!!S&&(S===p||(S.displayName||S.name)==="GeneratorFunction")}var g={throw:1,return:2,break:3,continue:3};function P(O){var S,I;return function(E){S||(S={stop:function(){return I(E.a,2)},catch:function(){return E.v},abrupt:function(R,T){return I(E.a,g[R],T)},delegateYield:function(R,T,D){return S.resultName=T,I(E.d,c(R),D)},finish:function(R){return I(E.f,R)}},I=function(R,T,D){E.p=S.prev,E.n=S.next;try{return R(T,D)}finally{S.next=E.n}}),S.resultName&&(S[S.resultName]=E.v,S.resultName=void 0),S.sent=E.v,S.next=E.n;try{return O.call(this,S)}finally{E.p=S.prev,E.n=S.next}}}return(i.exports=o=function(){return{wrap:function(I,E,A,R){return f.w(P(I),E,A,R&&R.reverse())},isGeneratorFunction:x,mark:f.m,awrap:function(I,E){return new t(I,E)},AsyncIterator:s,async:function(I,E,A,R,T){return(x(E)?a:n)(P(I),E,A,R,T)},keys:u,values:c}},i.exports.__esModule=!0,i.exports.default=i.exports)()}i.exports=o,i.exports.__esModule=!0,i.exports.default=i.exports},17933:function(i,d,e){var t=e(43690).default;function r(n){if(n!=null){var a=n[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],s=0;if(a)return a.call(n);if(typeof n.next=="function")return n;if(!isNaN(n.length))return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}}}throw new TypeError(t(n)+" is not iterable")}i.exports=r,i.exports.__esModule=!0,i.exports.default=i.exports},43690:function(i){function d(e){"@babel/helpers - typeof";return i.exports=d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i.exports.__esModule=!0,i.exports.default=i.exports,d(e)}i.exports=d,i.exports.__esModule=!0,i.exports.default=i.exports},46043:function(i,d,e){var t=e(18725)();i.exports=t;try{regeneratorRuntime=t}catch(r){typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},92310:function(i,d){var e,t;(function(){"use strict";var r={}.hasOwnProperty;function n(){for(var u="",c=0;c=j&&(!k||V))H=S(T,0,j);else{var Y=k&&!V&&E?{maxByteLength:E(T)}:void 0;H=new _(j,Y);for(var F=new p(T),K=new p(H),X=g(j,B),Q=0;Q>8&255]},vt=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},Je=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},Ke=function(Me){return de(P(Me),23,4)},Re=function(Me){return de(Me,52,8)},Ce=function(Me,ye,fe){c(Me[H],ye,{configurable:!0,get:function(){return fe(this)[ye]}})},me=function(Me,ye,fe,Oe){var Ee=X(Me),et=g(fe),mt=!!Oe;if(et+ye>Ee.byteLength)throw new ie(F);var pe=Ee.bytes,ge=et+Ee.byteOffset,lt=R(pe,ge,ge+ye);return mt?lt:le(lt)},at=function(Me,ye,fe,Oe,Ee,et){var mt=X(Me),pe=g(fe),ge=Oe(+Ee),lt=!!et;if(pe+ye>mt.byteLength)throw new ie(F);for(var Qe=mt.bytes,Ve=pe+mt.byteOffset,it=0;itet)throw new ie("Wrong offset");if(Oe=Oe===void 0?et-mt:x(Oe),mt+Oe>et)throw new ie(Y);Q(this,{type:V,buffer:ye,byteLength:Oe,byteOffset:mt,bytes:Ee.bytes}),n||(this.buffer=ye,this.byteLength=Oe,this.byteOffset=mt)},Z=M[H],n&&(Ce(N,"byteLength",K),Ce(M,"buffer",X),Ce(M,"byteLength",X),Ce(M,"byteOffset",X)),o(Z,{getInt8:function(ye){return me(this,1,ye)[0]<<24>>24},getUint8:function(ye){return me(this,1,ye)[0]},getInt16:function(ye){var fe=me(this,2,ye,arguments.length>1?arguments[1]:!1);return(fe[1]<<8|fe[0])<<16>>16},getUint16:function(ye){var fe=me(this,2,ye,arguments.length>1?arguments[1]:!1);return fe[1]<<8|fe[0]},getInt32:function(ye){return Je(me(this,4,ye,arguments.length>1?arguments[1]:!1))},getUint32:function(ye){return Je(me(this,4,ye,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ye){return He(me(this,4,ye,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ye){return He(me(this,8,ye,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ye,fe){at(this,1,ye,ze,fe)},setUint8:function(ye,fe){at(this,1,ye,ze,fe)},setInt16:function(ye,fe){at(this,2,ye,st,fe,arguments.length>2?arguments[2]:!1)},setUint16:function(ye,fe){at(this,2,ye,st,fe,arguments.length>2?arguments[2]:!1)},setInt32:function(ye,fe){at(this,4,ye,vt,fe,arguments.length>2?arguments[2]:!1)},setUint32:function(ye,fe){at(this,4,ye,vt,fe,arguments.length>2?arguments[2]:!1)},setFloat32:function(ye,fe){at(this,4,ye,Ke,fe,arguments.length>2?arguments[2]:!1)},setFloat64:function(ye,fe){at(this,8,ye,Re,fe,arguments.length>2?arguments[2]:!1)}});else{var ct=k&&W.name!==j;if(!f(function(){W(1)})||!f(function(){new W(-1)})||f(function(){return new W,new W(1.5),new W(NaN),W.length!==1||ct&&!B})){N=function(ye){return _(this,J),new W(g(ye))},N[H]=J;for(var St=E(W),bt=0,Ie;St.length>bt;)(Ie=St[bt++])in N||u(N,Ie,W[Ie]);J.constructor=N}else ct&&B&&u(W,"name",j);I&&S(Z)!==G&&I(Z,G);var $e=new M(new N(2)),ft=r(Z.setInt8);$e.setInt8(0,2147483648),$e.setInt8(1,2147483649),($e.getInt8(0)||!$e.getInt8(1))&&o(Z,{setInt8:function(ye,fe){ft(this,ye,fe<<24>>24)},setUint8:function(ye,fe){ft(this,ye,fe<<24>>24)}},{unsafe:!0})}T(N,j),T(M,V),i.exports={ArrayBuffer:N,DataView:M}},92670:function(i,d,e){"use strict";var t=e(94029),r=e(51981),n=e(82762),a=e(84233),s=Math.min;i.exports=[].copyWithin||function(c,o){var f=t(this),_=n(f),p=r(c,_),x=r(o,_),g=arguments.length>2?arguments[2]:void 0,P=s((g===void 0?_:r(g,_))-x,_-p),O=1;for(x0;)x in f?f[p]=f[x]:a(f,p),p+=O,x+=O;return f}},75202:function(i,d,e){"use strict";var t=e(94029),r=e(51981),n=e(82762);i.exports=function(s){for(var u=t(this),c=n(u),o=arguments.length,f=r(o>1?arguments[1]:void 0,c),_=o>2?arguments[2]:void 0,p=_===void 0?c:r(_,c);p>f;)u[f++]=s;return u}},59594:function(i,d,e){"use strict";var t=e(90560).forEach,r=e(45601),n=r("forEach");i.exports=n?[].forEach:function(s){return t(this,s,arguments.length>1?arguments[1]:void 0)}},32278:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(94029),a=e(39812),s=e(69034),u=e(85428),c=e(10731),o=e(26006),f=e(53776),_=e(65911),p=e(55174),x=e(59893),g=e(57975),P=e(55266).toArray,O=x("asyncIterator"),S=r(p("Array","values")),I=r(S([]).next),E=function(){return new A(this)},A=function(R){this.iterator=S(R)};A.prototype.next=function(){return I(this.iterator)},i.exports=function(T){var D=this,k=arguments.length,B=k>1?arguments[1]:void 0,j=k>2?arguments[2]:void 0;return new(_("Promise"))(function(V){var H=n(T);B!==void 0&&(B=t(B,j));var Y=f(H,O),F=Y?void 0:o(H)||E,K=a(D)?new D:[],X=Y?s(H,Y):new g(c(u(H,F)));V(P(X,B,K))})}},69478:function(i,d,e){"use strict";var t=e(82762);i.exports=function(r,n,a){for(var s=0,u=arguments.length>2?a:t(n),c=new r(u);u>s;)c[s]=n[s++];return c}},60255:function(i,d,e){"use strict";var t=e(80666),r=e(89945),n=e(94029),a=e(46319),s=e(345),u=e(39812),c=e(82762),o=e(69392),f=e(85428),_=e(26006),p=Array;i.exports=function(g){var P=n(g),O=u(this),S=arguments.length,I=S>1?arguments[1]:void 0,E=I!==void 0;E&&(I=t(I,S>2?arguments[2]:void 0));var A=_(P),R=0,T,D,k,B,j,V;if(A&&!(this===p&&s(A)))for(B=f(P,A),j=B.next,D=O?new this:[];!(k=r(j,B)).done;R++)V=E?a(B,I,[k.value,R],!0):k.value,o(D,R,V);else for(T=c(P),D=O?new this(T):p(T);T>R;R++)V=E?I(P[R],R):P[R],o(D,R,V);return D.length=R,D}},33940:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(1835),a=e(94029),s=e(82762),u=e(2786),c=u.Map,o=u.get,f=u.has,_=u.set,p=r([].push);i.exports=function(g){for(var P=a(this),O=n(P),S=t(g,arguments.length>1?arguments[1]:void 0),I=new c,E=s(O),A=0,R,T;E>A;A++)T=O[A],R=S(T,A,P),f(I,R)?p(o(I,R),T):_(I,R,[T]);return I}},36444:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(1835),a=e(94029),s=e(17818),u=e(82762),c=e(20132),o=e(69478),f=Array,_=r([].push);i.exports=function(p,x,g,P){for(var O=a(p),S=n(O),I=t(x,g),E=c(null),A=u(S),R=0,T,D,k;A>R;R++)k=S[R],D=s(I(k,R,O)),D in E?_(E[D],k):E[D]=[k];if(P&&(T=P(O),T!==f))for(D in E)E[D]=o(T,E[D]);return E}},22999:function(i,d,e){"use strict";var t=e(80524),r=e(51981),n=e(82762),a=function(s){return function(u,c,o){var f=t(u),_=n(f),p=r(o,_),x;if(s&&c!==c){for(;_>p;)if(x=f[p++],x!==x)return!0}else for(;_>p;p++)if((s||p in f)&&f[p]===c)return s||p||0;return!s&&-1}};i.exports={includes:a(!0),indexOf:a(!1)}},53279:function(i,d,e){"use strict";var t=e(80666),r=e(1835),n=e(94029),a=e(82762),s=function(u){var c=u===1;return function(o,f,_){for(var p=n(o),x=r(p),g=a(x),P=t(f,_),O,S;g-- >0;)if(O=x[g],S=P(O,g,p),S)switch(u){case 0:return O;case 1:return g}return c?-1:void 0}};i.exports={findLast:s(0),findLastIndex:s(1)}},90560:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(1835),a=e(94029),s=e(82762),u=e(81427),c=r([].push),o=function(f){var _=f===1,p=f===2,x=f===3,g=f===4,P=f===6,O=f===7,S=f===5||P;return function(I,E,A,R){for(var T=a(I),D=n(T),k=s(D),B=t(E,A),j=0,V=R||u,H=_?V(I,k):p||O?V(I,0):void 0,Y,F;k>j;j++)if((S||j in D)&&(Y=D[j],F=B(Y,j,T),f))if(_)H[j]=F;else if(F)switch(f){case 3:return!0;case 5:return Y;case 6:return j;case 2:c(H,Y)}else switch(f){case 4:return!1;case 7:c(H,Y)}return P?-1:x||g?g:H}};i.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6),filterReject:o(7)}},55009:function(i,d,e){"use strict";var t=e(13743),r=e(80524),n=e(56902),a=e(82762),s=e(45601),u=Math.min,c=[].lastIndexOf,o=!!c&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),_=o||!f;i.exports=_?function(x){if(o)return t(c,this,arguments)||0;var g=r(this),P=a(g),O=P-1;for(arguments.length>1&&(O=u(O,n(arguments[1]))),O<0&&(O=P+O);O>=0;O--)if(O in g&&g[O]===x)return O||0;return-1}:c},17480:function(i,d,e){"use strict";var t=e(3338),r=e(59893),n=e(46573),a=r("species");i.exports=function(s){return n>=51||!t(function(){var u=[],c=u.constructor={};return c[a]=function(){return{foo:1}},u[s](Boolean).foo!==1})}},45601:function(i,d,e){"use strict";var t=e(3338);i.exports=function(r,n){var a=[][r];return!!a&&t(function(){a.call(null,n||function(){return 1},1)})}},16370:function(i,d,e){"use strict";var t=e(63335),r=e(94029),n=e(1835),a=e(82762),s=TypeError,u=function(c){return function(o,f,_,p){var x=r(o),g=n(x),P=a(x);t(f);var O=c?P-1:0,S=c?-1:1;if(_<2)for(;;){if(O in g){p=g[O],O+=S;break}if(O+=S,c?O<0:P<=O)throw new s("Reduce of empty array with no initial value")}for(;c?O>=0:P>O;O+=S)O in g&&(p=f(p,g[O],O,x));return p}};i.exports={left:u(!1),right:u(!0)}},39428:function(i,d,e){"use strict";var t=e(35454),r=e(18589),n=TypeError,a=Object.getOwnPropertyDescriptor,s=t&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();i.exports=s?function(u,c){if(r(u)&&!a(u,"length").writable)throw new n("Cannot set read only .length");return u.length=c}:function(u,c){return u.length=c}},71698:function(i,d,e){"use strict";var t=e(51981),r=e(82762),n=e(69392),a=Array,s=Math.max;i.exports=function(u,c,o){for(var f=r(u),_=t(c,f),p=t(o===void 0?f:o,f),x=a(s(p-_,0)),g=0;_0;)u[p]=u[--p];p!==f++&&(u[p]=_)}return u},s=function(u,c,o,f){for(var _=c.length,p=o.length,x=0,g=0;x<_||g=o||_<0)throw new n("Incorrect index");for(var p=new s(o),x=0;x1?arguments[1]:void 0,x,g,P,O;return a(this),x=p!==void 0,x&&n(p),s(f)?new this:(g=[],x?(P=0,O=t(p,_>2?arguments[2]:void 0),u(f,function(S){r(c,g,O(S,P++))})):u(f,c,{that:g}),new this(g))}},48800:function(i,d,e){"use strict";var t=e(30867);i.exports=function(){return new this(t(arguments))}},40942:function(i,d,e){"use strict";var t=e(20132),r=e(64110),n=e(66477),a=e(80666),s=e(56472),u=e(4112),c=e(62003),o=e(24019),f=e(25587),_=e(51996),p=e(35454),x=e(2074).fastKey,g=e(94844),P=g.set,O=g.getterFor;i.exports={getConstructor:function(S,I,E,A){var R=S(function(j,V){s(j,T),P(j,{type:I,index:t(null),first:void 0,last:void 0,size:0}),p||(j.size=0),u(V)||c(V,j[A],{that:j,AS_ENTRIES:E})}),T=R.prototype,D=O(I),k=function(j,V,H){var Y=D(j),F=B(j,V),K,X;return F?F.value=H:(Y.last=F={index:X=x(V,!0),key:V,value:H,previous:K=Y.last,next:void 0,removed:!1},Y.first||(Y.first=F),K&&(K.next=F),p?Y.size++:j.size++,X!=="F"&&(Y.index[X]=F)),j},B=function(j,V){var H=D(j),Y=x(V),F;if(Y!=="F")return H.index[Y];for(F=H.first;F;F=F.next)if(F.key===V)return F};return n(T,{clear:function(){for(var V=this,H=D(V),Y=H.index,F=H.first;F;)F.removed=!0,F.previous&&(F.previous=F.previous.next=void 0),delete Y[F.index],F=F.next;H.first=H.last=void 0,p?H.size=0:V.size=0},delete:function(j){var V=this,H=D(V),Y=B(V,j);if(Y){var F=Y.next,K=Y.previous;delete H.index[Y.index],Y.removed=!0,K&&(K.next=F),F&&(F.previous=K),H.first===Y&&(H.first=F),H.last===Y&&(H.last=K),p?H.size--:V.size--}return!!Y},forEach:function(V){for(var H=D(this),Y=a(V,arguments.length>1?arguments[1]:void 0),F;F=F?F.next:H.first;)for(Y(F.value,F.key,this);F&&F.removed;)F=F.previous},has:function(V){return!!B(this,V)}}),n(T,E?{get:function(V){var H=B(this,V);return H&&H.value},set:function(V,H){return k(this,V===0?0:V,H)}}:{add:function(V){return k(this,V=V===0?0:V,V)}}),p&&r(T,"size",{configurable:!0,get:function(){return D(this).size}}),R},setStrong:function(S,I,E){var A=I+" Iterator",R=O(I),T=O(A);o(S,I,function(D,k){P(this,{type:A,target:D,state:R(D),kind:k,last:void 0})},function(){for(var D=T(this),k=D.kind,B=D.last;B&&B.removed;)B=B.previous;return!D.target||!(D.last=B=B?B.next:D.state.first)?(D.target=void 0,f(void 0,!0)):f(k==="keys"?B.key:k==="values"?B.value:[B.key,B.value],!1)},E?"entries":"values",!E,!0),_(I)}}},39656:function(i,d,e){"use strict";var t=e(94237),r=e(66477),n=e(2074).getWeakData,a=e(56472),s=e(80449),u=e(4112),c=e(31946),o=e(62003),f=e(90560),_=e(32621),p=e(94844),x=p.set,g=p.getterFor,P=f.find,O=f.findIndex,S=t([].splice),I=0,E=function(T){return T.frozen||(T.frozen=new A)},A=function(){this.entries=[]},R=function(T,D){return P(T.entries,function(k){return k[0]===D})};A.prototype={get:function(T){var D=R(this,T);if(D)return D[1]},has:function(T){return!!R(this,T)},set:function(T,D){var k=R(this,T);k?k[1]=D:this.entries.push([T,D])},delete:function(T){var D=O(this.entries,function(k){return k[0]===T});return~D&&S(this.entries,D,1),!!~D}},i.exports={getConstructor:function(T,D,k,B){var j=T(function(F,K){a(F,V),x(F,{type:D,id:I++,frozen:void 0}),u(K)||o(K,F[B],{that:F,AS_ENTRIES:k})}),V=j.prototype,H=g(D),Y=function(F,K,X){var Q=H(F),W=n(s(K),!0);return W===!0?E(Q).set(K,X):W[Q.id]=X,F};return r(V,{delete:function(F){var K=H(this);if(!c(F))return!1;var X=n(F);return X===!0?E(K).delete(F):X&&_(X,K.id)&&delete X[K.id]},has:function(K){var X=H(this);if(!c(K))return!1;var Q=n(K);return Q===!0?E(X).has(K):Q&&_(Q,X.id)}}),r(V,k?{get:function(K){var X=H(this);if(c(K)){var Q=n(K);return Q===!0?E(X).get(K):Q?Q[X.id]:void 0}},set:function(K,X){return Y(this,K,X)}}:{add:function(K){return Y(this,K,!0)}}),j}}},48059:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),a=e(20865),s=e(2291),u=e(2074),c=e(62003),o=e(56472),f=e(55327),_=e(4112),p=e(31946),x=e(3338),g=e(35221),P=e(94573),O=e(25576);i.exports=function(S,I,E){var A=S.indexOf("Map")!==-1,R=S.indexOf("Weak")!==-1,T=A?"set":"add",D=r[S],k=D&&D.prototype,B=D,j={},V=function(W){var N=n(k[W]);s(k,W,W==="add"?function(M){return N(this,M===0?0:M),this}:W==="delete"?function(J){return R&&!p(J)?!1:N(this,J===0?0:J)}:W==="get"?function(M){return R&&!p(M)?void 0:N(this,M===0?0:M)}:W==="has"?function(M){return R&&!p(M)?!1:N(this,M===0?0:M)}:function(M,Z){return N(this,M===0?0:M,Z),this})},H=a(S,!f(D)||!(R||k.forEach&&!x(function(){new D().entries().next()})));if(H)B=E.getConstructor(I,S,A,T),u.enable();else if(a(S,!0)){var Y=new B,F=Y[T](R?{}:-0,1)!==Y,K=x(function(){Y.has(1)}),X=g(function(W){new D(W)}),Q=!R&&x(function(){for(var W=new D,N=5;N--;)W[T](N,N);return!W.has(-0)});X||(B=I(function(W,N){o(W,k);var J=O(new D,W,B);return _(N)||c(N,J[T],{that:J,AS_ENTRIES:A}),J}),B.prototype=k,k.constructor=B),(K||Q)&&(V("delete"),V("has"),A&&V("get")),(Q||F)&&V(T),R&&k.clear&&delete k.clear}return j[S]=B,t({global:!0,constructor:!0,forced:B!==D},j),P(B,S),R||E.setStrong(B,S,A),B}},32754:function(i,d,e){"use strict";e(34941),e(55410);var t=e(65911),r=e(20132),n=e(31946),a=Object,s=TypeError,u=t("Map"),c=t("WeakMap"),o=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=r(null)};o.prototype.get=function(_,p){return this[_]||(this[_]=p())},o.prototype.next=function(_,p,x){var g=x?this.objectsByIndex[_]||(this.objectsByIndex[_]=new c):this.primitives||(this.primitives=new u),P=g.get(p);return P||g.set(p,P=new o),P};var f=new o;i.exports=function(){var _=f,p=arguments.length,x,g;for(x=0;x"+_+""}},25587:function(i){"use strict";i.exports=function(d,e){return{value:d,done:e}}},68151:function(i,d,e){"use strict";var t=e(35454),r=e(37691),n=e(35012);i.exports=t?function(a,s,u){return r.f(a,s,n(1,u))}:function(a,s,u){return a[s]=u,a}},35012:function(i){"use strict";i.exports=function(d,e){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:e}}},69392:function(i,d,e){"use strict";var t=e(17818),r=e(37691),n=e(35012);i.exports=function(a,s,u){var c=t(s);c in a?r.f(a,c,n(0,u)):a[c]=u}},32494:function(i,d,e){"use strict";var t=e(94237),r=e(3338),n=e(85571).start,a=RangeError,s=isFinite,u=Math.abs,c=Date.prototype,o=c.toISOString,f=t(c.getTime),_=t(c.getUTCDate),p=t(c.getUTCFullYear),x=t(c.getUTCHours),g=t(c.getUTCMilliseconds),P=t(c.getUTCMinutes),O=t(c.getUTCMonth),S=t(c.getUTCSeconds);i.exports=r(function(){return o.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!r(function(){o.call(new Date(NaN))})?function(){if(!s(f(this)))throw new a("Invalid time value");var E=this,A=p(E),R=g(E),T=A<0?"-":A>9999?"+":"";return T+n(u(A),T?6:4,0)+"-"+n(O(E)+1,2,0)+"-"+n(_(E),2,0)+"T"+n(x(E),2,0)+":"+n(P(E),2,0)+":"+n(S(E),2,0)+"."+n(R,3,0)+"Z"}:o},77119:function(i,d,e){"use strict";var t=e(80449),r=e(44759),n=TypeError;i.exports=function(a){if(t(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new n("Incorrect hint");return r(this,a)}},64110:function(i,d,e){"use strict";var t=e(86528),r=e(37691);i.exports=function(n,a,s){return s.get&&t(s.get,a,{getter:!0}),s.set&&t(s.set,a,{setter:!0}),r.f(n,a,s)}},2291:function(i,d,e){"use strict";var t=e(55327),r=e(37691),n=e(86528),a=e(29539);i.exports=function(s,u,c,o){o||(o={});var f=o.enumerable,_=o.name!==void 0?o.name:u;if(t(c)&&n(c,_,o),o.global)f?s[u]=c:a(u,c);else{try{o.unsafe?s[u]&&(f=!0):delete s[u]}catch(p){}f?s[u]=c:r.f(s,u,{value:c,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return s}},66477:function(i,d,e){"use strict";var t=e(2291);i.exports=function(r,n,a){for(var s in n)t(r,s,n[s],a);return r}},29539:function(i,d,e){"use strict";var t=e(92916),r=Object.defineProperty;i.exports=function(n,a){try{r(t,n,{value:a,configurable:!0,writable:!0})}catch(s){t[n]=a}return a}},84233:function(i,d,e){"use strict";var t=e(40593),r=TypeError;i.exports=function(n,a){if(!delete n[a])throw new r("Cannot delete property "+t(a)+" of "+t(n))}},35454:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(i,d,e){"use strict";var t=e(92916),r=e(11270),n=e(80426),a=t.structuredClone,s=t.ArrayBuffer,u=t.MessageChannel,c=!1,o,f,_,p;if(n)c=function(x){a(x,{transfer:[x]})};else if(s)try{u||(o=r("worker_threads"),o&&(u=o.MessageChannel)),u&&(f=new u,_=new s(2),p=function(x){f.port1.postMessage(null,[x])},_.byteLength===2&&(p(_),_.byteLength===0&&(c=p)))}catch(x){}i.exports=c},81766:function(i){"use strict";var d=typeof document=="object"&&document.all,e=typeof d=="undefined"&&d!==void 0;i.exports={all:d,IS_HTMLDDA:e}},86060:function(i,d,e){"use strict";var t=e(92916),r=e(31946),n=t.document,a=r(n)&&r(n.createElement);i.exports=function(s){return a?n.createElement(s):{}}},66434:function(i){"use strict";var d=TypeError,e=9007199254740991;i.exports=function(t){if(t>e)throw d("Maximum allowed index exceeded");return t}},52109:function(i){"use strict";i.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},66749:function(i){"use strict";i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9518:function(i,d,e){"use strict";var t=e(86060),r=t("span").classList,n=r&&r.constructor&&r.constructor.prototype;i.exports=n===Object.prototype?void 0:n},78177:function(i,d,e){"use strict";var t=e(66011),r=t.match(/firefox\/(\d+)/i);i.exports=!!r&&+r[1]},66994:function(i,d,e){"use strict";var t=e(91821),r=e(90946);i.exports=!t&&!r&&typeof window=="object"&&typeof document=="object"},90843:function(i){"use strict";i.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},91821:function(i){"use strict";i.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},17687:function(i,d,e){"use strict";var t=e(66011);i.exports=/MSIE|Trident/.test(t)},1908:function(i,d,e){"use strict";var t=e(66011);i.exports=/ipad|iphone|ipod/i.test(t)&&typeof Pebble!="undefined"},70695:function(i,d,e){"use strict";var t=e(66011);i.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)},90946:function(i,d,e){"use strict";var t=e(92916),r=e(29076);i.exports=r(t.process)==="process"},44914:function(i,d,e){"use strict";var t=e(66011);i.exports=/web0s(?!.*chrome)/i.test(t)},66011:function(i){"use strict";i.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},46573:function(i,d,e){"use strict";var t=e(92916),r=e(66011),n=t.process,a=t.Deno,s=n&&n.versions||a&&a.version,u=s&&s.v8,c,o;u&&(c=u.split("."),o=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!o&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(o=+c[1]))),i.exports=o},19684:function(i,d,e){"use strict";var t=e(66011),r=t.match(/AppleWebKit\/(\d+)\./);i.exports=!!r&&+r[1]},46678:function(i){"use strict";i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80739:function(i,d,e){"use strict";var t=e(94237),r=Error,n=t("".replace),a=function(c){return String(new r(c).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);i.exports=function(c,o){if(u&&typeof c=="string"&&!r.prepareStackTrace)for(;o--;)c=n(c,s,"");return c}},61888:function(i,d,e){"use strict";var t=e(68151),r=e(80739),n=e(25406),a=Error.captureStackTrace;i.exports=function(s,u,c,o){n&&(a?a(s,u):t(s,"stack",r(c,o)))}},25406:function(i,d,e){"use strict";var t=e(3338),r=e(35012);i.exports=!t(function(){var n=new Error("a");return"stack"in n?(Object.defineProperty(n,"stack",r(1,7)),n.stack!==7):!0})},13367:function(i,d,e){"use strict";var t=e(35454),r=e(3338),n=e(80449),a=e(7825),s=Error.prototype.toString,u=r(function(){if(t){var c=Object.create(Object.defineProperty({},"name",{get:function(){return this===c}}));if(s.call(c)!=="true")return!0}return s.call({message:1,name:2})!=="2: 1"||s.call({})!=="Error"});i.exports=u?function(){var o=n(this),f=a(o.name,"Error"),_=a(o.message);return f?_?f+": "+_:f:_}:s},94488:function(i,d,e){"use strict";var t=e(92916),r=e(71256).f,n=e(68151),a=e(2291),s=e(29539),u=e(24538),c=e(20865);i.exports=function(o,f){var _=o.target,p=o.global,x=o.stat,g,P,O,S,I,E;if(p?P=t:x?P=t[_]||s(_,{}):P=(t[_]||{}).prototype,P)for(O in f){if(I=f[O],o.dontCallGetSet?(E=r(P,O),S=E&&E.value):S=P[O],g=c(p?O:_+(x?".":"#")+O,o.forced),!g&&S!==void 0){if(typeof I==typeof S)continue;u(I,S)}(o.sham||S&&S.sham)&&n(I,"sham",!0),a(P,O,I,o)}}},3338:function(i){"use strict";i.exports=function(d){try{return!!d()}catch(e){return!0}}},8662:function(i,d,e){"use strict";e(44001);var t=e(34114),r=e(2291),n=e(88736),a=e(3338),s=e(59893),u=e(68151),c=s("species"),o=RegExp.prototype;i.exports=function(f,_,p,x){var g=s(f),P=!a(function(){var E={};return E[g]=function(){return 7},""[f](E)!==7}),O=P&&!a(function(){var E=!1,A=/a/;return f==="split"&&(A={},A.constructor={},A.constructor[c]=function(){return A},A.flags="",A[g]=/./[g]),A.exec=function(){return E=!0,null},A[g](""),!E});if(!P||!O||p){var S=t(/./[g]),I=_(g,""[f],function(E,A,R,T,D){var k=t(E),B=A.exec;return B===n||B===o.exec?P&&!D?{done:!0,value:S(A,R,T)}:{done:!0,value:k(R,A,T)}:{done:!1}});r(String.prototype,f,I[0]),r(o,g,I[1])}x&&u(o[g],"sham",!0)}},3372:function(i,d,e){"use strict";var t=e(18589),r=e(82762),n=e(66434),a=e(80666),s=function(u,c,o,f,_,p,x,g){for(var P=_,O=0,S=x?a(x,g):!1,I,E;O0&&t(I)?(E=r(I),P=s(u,c,I,E,P,p-1)-1):(n(P+1),u[P]=I),P++),O++;return P};i.exports=s},13247:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(i,d,e){"use strict";var t=e(40486),r=Function.prototype,n=r.apply,a=r.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(t?a.bind(n):function(){return a.apply(n,arguments)})},80666:function(i,d,e){"use strict";var t=e(34114),r=e(63335),n=e(40486),a=t(t.bind);i.exports=function(s,u){return r(s),u===void 0?s:n?a(s,u):function(){return s.apply(u,arguments)}}},40486:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")})},4645:function(i,d,e){"use strict";var t=e(94237),r=e(63335),n=e(31946),a=e(32621),s=e(30867),u=e(40486),c=Function,o=t([].concat),f=t([].join),_={},p=function(x,g,P){if(!a(_,g)){for(var O=[],S=0;S]*>)/g,o=/\$([$&'`]|\d{1,2})/g;i.exports=function(f,_,p,x,g,P){var O=p+f.length,S=x.length,I=o;return g!==void 0&&(g=r(g),I=c),s(P,I,function(E,A){var R;switch(a(A,0)){case"$":return"$";case"&":return f;case"`":return u(_,0,p);case"'":return u(_,O);case"<":R=g[u(A,1,-1)];break;default:var T=+A;if(T===0)return E;if(T>S){var D=n(T/10);return D===0?E:D<=S?x[D-1]===void 0?a(A,1):x[D-1]+a(A,1):E}R=x[T-1]}return R===void 0?"":R})}},92916:function(i,d,e){"use strict";var t=function(r){return r&&r.Math===Math&&r};i.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||t(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},32621:function(i,d,e){"use strict";var t=e(94237),r=e(94029),n=t({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return n(r(s),u)}},54406:function(i){"use strict";i.exports={}},61810:function(i){"use strict";i.exports=function(d,e){try{arguments.length===1?console.error(d):console.error(d,e)}catch(t){}}},75171:function(i,d,e){"use strict";var t=e(65911);i.exports=t("document","documentElement")},46796:function(i,d,e){"use strict";var t=e(35454),r=e(3338),n=e(86060);i.exports=!t&&!r(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7})},61618:function(i){"use strict";var d=Array,e=Math.abs,t=Math.pow,r=Math.floor,n=Math.log,a=Math.LN2,s=function(c,o,f){var _=d(f),p=f*8-o-1,x=(1<>1,P=o===23?t(2,-24)-t(2,-77):0,O=c<0||c===0&&1/c<0?1:0,S=0,I,E,A;for(c=e(c),c!==c||c===1/0?(E=c!==c?1:0,I=x):(I=r(n(c)/a),A=t(2,-I),c*A<1&&(I--,A*=2),I+g>=1?c+=P/A:c+=P*t(2,1-g),c*A>=2&&(I++,A/=2),I+g>=x?(E=0,I=x):I+g>=1?(E=(c*A-1)*t(2,o),I+=g):(E=c*t(2,g-1)*t(2,o),I=0));o>=8;)_[S++]=E&255,E/=256,o-=8;for(I=I<0;)_[S++]=I&255,I/=256,p-=8;return _[--S]|=O*128,_},u=function(c,o){var f=c.length,_=f*8-o-1,p=(1<<_)-1,x=p>>1,g=_-7,P=f-1,O=c[P--],S=O&127,I;for(O>>=7;g>0;)S=S*256+c[P--],g-=8;for(I=S&(1<<-g)-1,S>>=-g,g+=o;g>0;)I=I*256+c[P--],g-=8;if(S===0)S=1-x;else{if(S===p)return I?NaN:O?-1/0:1/0;I+=t(2,o),S-=x}return(O?-1:1)*I*t(2,S-o)};i.exports={pack:s,unpack:u}},1835:function(i,d,e){"use strict";var t=e(94237),r=e(3338),n=e(29076),a=Object,s=t("".split);i.exports=r(function(){return!a("z").propertyIsEnumerable(0)})?function(u){return n(u)==="String"?s(u,""):a(u)}:a},25576:function(i,d,e){"use strict";var t=e(55327),r=e(31946),n=e(58218);i.exports=function(a,s,u){var c,o;return n&&t(c=s.constructor)&&c!==u&&r(o=c.prototype)&&o!==u.prototype&&n(a,o),a}},15212:function(i,d,e){"use strict";var t=e(94237),r=e(55327),n=e(77398),a=t(Function.toString);r(n.inspectSource)||(n.inspectSource=function(s){return a(s)}),i.exports=n.inspectSource},73068:function(i,d,e){"use strict";var t=e(31946),r=e(68151);i.exports=function(n,a){t(a)&&"cause"in a&&r(n,"cause",a.cause)}},2074:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(54406),a=e(31946),s=e(32621),u=e(37691).f,c=e(80689),o=e(53393),f=e(12477),_=e(6145),p=e(13247),x=!1,g=_("meta"),P=0,O=function(T){u(T,g,{value:{objectID:"O"+P++,weakData:{}}})},S=function(T,D){if(!a(T))return typeof T=="symbol"?T:(typeof T=="string"?"S":"P")+T;if(!s(T,g)){if(!f(T))return"F";if(!D)return"E";O(T)}return T[g].objectID},I=function(T,D){if(!s(T,g)){if(!f(T))return!0;if(!D)return!1;O(T)}return T[g].weakData},E=function(T){return p&&x&&f(T)&&!s(T,g)&&O(T),T},A=function(){R.enable=function(){},x=!0;var T=c.f,D=r([].splice),k={};k[g]=1,T(k).length&&(c.f=function(B){for(var j=T(B),V=0,H=j.length;Vj;j++)if(H=X(P[j]),H&&c(g,H))return H;return new x(!1)}k=o(P,B)}for(Y=A?P.next:k.next;!(F=r(Y,k)).done;){try{H=X(F.value)}catch(Q){_(k,"throw",Q)}if(typeof H=="object"&&H&&c(g,H))return H}return new x(!1)}},67996:function(i,d,e){"use strict";var t=e(89945),r=e(80449),n=e(53776);i.exports=function(a,s,u){var c,o;r(a);try{if(c=n(a,"return"),!c){if(s==="throw")throw u;return u}c=t(c,a)}catch(f){o=!0,c=f}if(s==="throw")throw u;if(o)throw c;return r(c),u}},83126:function(i,d,e){"use strict";var t=e(46571).IteratorPrototype,r=e(20132),n=e(35012),a=e(94573),s=e(48074),u=function(){return this};i.exports=function(c,o,f,_){var p=o+" Iterator";return c.prototype=r(t,{next:n(+!_,f)}),a(c,p,!1,!0),s[p]=u,c}},20547:function(i,d,e){"use strict";var t=e(89945),r=e(20132),n=e(68151),a=e(66477),s=e(59893),u=e(94844),c=e(53776),o=e(46571).IteratorPrototype,f=e(25587),_=e(67996),p=s("toStringTag"),x="IteratorHelper",g="WrapForValidIterator",P=u.set,O=function(E){var A=u.getterFor(E?g:x);return a(r(o),{next:function(){var T=A(this);if(E)return T.nextHandler();try{var D=T.done?void 0:T.nextHandler();return f(D,T.done)}catch(k){throw T.done=!0,k}},return:function(){var R=A(this),T=R.iterator;if(R.done=!0,E){var D=c(T,"return");return D?t(D,T):f(void 0,!0)}if(R.inner)try{_(R.inner.iterator,"normal")}catch(k){return _(T,"throw",k)}return _(T,"normal"),f(void 0,!0)}})},S=O(!0),I=O(!1);n(I,p,"Iterator Helper"),i.exports=function(E,A){var R=function(D,k){k?(k.iterator=D.iterator,k.next=D.next):k=D,k.type=A?g:x,k.nextHandler=E,k.counter=0,k.done=!1,P(this,k)};return R.prototype=A?S:I,R}},24019:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(16697),a=e(8090),s=e(55327),u=e(83126),c=e(53456),o=e(58218),f=e(94573),_=e(68151),p=e(2291),x=e(59893),g=e(48074),P=e(46571),O=a.PROPER,S=a.CONFIGURABLE,I=P.IteratorPrototype,E=P.BUGGY_SAFARI_ITERATORS,A=x("iterator"),R="keys",T="values",D="entries",k=function(){return this};i.exports=function(B,j,V,H,Y,F,K){u(V,j,H);var X=function(se){if(se===Y&&M)return M;if(!E&&se&&se in N)return N[se];switch(se){case R:return function(){return new V(this,se)};case T:return function(){return new V(this,se)};case D:return function(){return new V(this,se)}}return function(){return new V(this)}},Q=j+" Iterator",W=!1,N=B.prototype,J=N[A]||N["@@iterator"]||Y&&N[Y],M=!E&&J||X(Y),Z=j==="Array"&&N.entries||J,G,ee,ie;if(Z&&(G=c(Z.call(new B)),G!==Object.prototype&&G.next&&(!n&&c(G)!==I&&(o?o(G,I):s(G[A])||p(G,A,k)),f(G,Q,!0,!0),n&&(g[Q]=k))),O&&Y===T&&J&&J.name!==T&&(!n&&S?_(N,"name",T):(W=!0,M=function(){return r(J,this)})),Y)if(ee={values:X(T),keys:F?M:X(R),entries:X(D)},K)for(ie in ee)(E||W||!(ie in N))&&p(N,ie,ee[ie]);else t({target:j,proto:!0,forced:E||W},ee);return(!n||K)&&N[A]!==M&&p(N,A,M,{name:Y}),g[j]=M,ee}},24771:function(i,d,e){"use strict";var t=e(89945),r=e(2155),n=function(a,s){return[s,a]};i.exports=function(){return t(r,this,n)}},2155:function(i,d,e){"use strict";var t=e(89945),r=e(63335),n=e(80449),a=e(10731),s=e(20547),u=e(46319),c=s(function(){var o=this.iterator,f=n(t(this.next,o)),_=this.done=!!f.done;if(!_)return u(o,this.mapper,[f.value,this.counter++],!0)});i.exports=function(f){return n(this),r(f),new c(a(this),{mapper:f})}},46571:function(i,d,e){"use strict";var t=e(3338),r=e(55327),n=e(31946),a=e(20132),s=e(53456),u=e(2291),c=e(59893),o=e(16697),f=c("iterator"),_=!1,p,x,g;[].keys&&(g=[].keys(),"next"in g?(x=s(s(g)),x!==Object.prototype&&(p=x)):_=!0);var P=!n(p)||t(function(){var O={};return p[f].call(O)!==O});P?p={}:o&&(p=a(p)),r(p[f])||u(p,f,function(){return this}),i.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:_}},48074:function(i){"use strict";i.exports={}},82762:function(i,d,e){"use strict";var t=e(61578);i.exports=function(r){return t(r.length)}},86528:function(i,d,e){"use strict";var t=e(94237),r=e(3338),n=e(55327),a=e(32621),s=e(35454),u=e(8090).CONFIGURABLE,c=e(15212),o=e(94844),f=o.enforce,_=o.get,p=String,x=Object.defineProperty,g=t("".slice),P=t("".replace),O=t([].join),S=s&&!r(function(){return x(function(){},"length",{value:8}).length!==8}),I=String(String).split("String"),E=i.exports=function(A,R,T){g(p(R),0,7)==="Symbol("&&(R="["+P(p(R),/^Symbol\(([^)]*)\)/,"$1")+"]"),T&&T.getter&&(R="get "+R),T&&T.setter&&(R="set "+R),(!a(A,"name")||u&&A.name!==R)&&(s?x(A,"name",{value:R,configurable:!0}):A.name=R),S&&T&&a(T,"arity")&&A.length!==T.arity&&x(A,"length",{value:T.arity});try{T&&a(T,"constructor")&&T.constructor?s&&x(A,"prototype",{writable:!1}):A.prototype&&(A.prototype=void 0)}catch(k){}var D=f(A);return a(D,"source")||(D.source=O(I,typeof R=="string"?R:"")),A};Function.prototype.toString=E(function(){return n(this)&&_(this).source||c(this)},"toString")},2786:function(i,d,e){"use strict";var t=e(94237),r=Map.prototype;i.exports={Map,set:t(r.set),get:t(r.get),has:t(r.has),remove:t(r.delete),proto:r}},95037:function(i,d,e){"use strict";var t=e(94237),r=e(43545),n=e(2786),a=n.Map,s=n.proto,u=t(s.forEach),c=t(s.entries),o=c(new a).next;i.exports=function(f,_,p){return p?r({iterator:c(f),next:o},function(x){return _(x[1],x[0])}):u(f,_)}},14615:function(i,d,e){"use strict";var t=e(89945),r=e(63335),n=e(55327),a=e(80449),s=TypeError;i.exports=function(c,o){var f=a(this),_=r(f.get),p=r(f.has),x=r(f.set),g=arguments.length>2?arguments[2]:void 0,P;if(!n(o)&&!n(g))throw new s("At least one callback required");return t(p,f,c)?(P=t(_,f,c),n(o)&&(P=o(P),t(x,f,c,P))):n(g)&&(P=g(),t(x,f,c,P)),P}},10014:function(i){"use strict";var d=Math.expm1,e=Math.exp;i.exports=!d||d(10)>22025.465794806718||d(10)<22025.465794806718||d(-2e-17)!==-2e-17?function(r){var n=+r;return n===0?n:n>-1e-6&&n<1e-6?n+n*n/2:e(n)-1}:d},35175:function(i,d,e){"use strict";var t=e(77056),r=.0009765625,n=65504,a=6103515625e-14;i.exports=Math.f16round||function(u){return t(u,r,n,a)}},77056:function(i,d,e){"use strict";var t=e(37666),r=Math.abs,n=2220446049250313e-31,a=1/n,s=function(u){return u+a-a};i.exports=function(u,c,o,f){var _=+u,p=r(_),x=t(_);if(po||P!==P?x*(1/0):x*P}},14894:function(i,d,e){"use strict";var t=e(77056),r=11920928955078125e-23,n=34028234663852886e22,a=11754943508222875e-54;i.exports=Math.fround||function(u){return t(u,r,n,a)}},53309:function(i){"use strict";var d=Math.log,e=Math.LOG10E;i.exports=Math.log10||function(r){return d(r)*e}},25726:function(i){"use strict";var d=Math.log;i.exports=Math.log1p||function(t){var r=+t;return r>-1e-8&&r<1e-8?r-r*r/2:d(1+r)}},24619:function(i){"use strict";i.exports=Math.scale||function(e,t,r,n,a){var s=+e,u=+t,c=+r,o=+n,f=+a;return s!==s||u!==u||c!==c||o!==o||f!==f?NaN:s===1/0||s===-1/0?s:(s-u)*(f-o)/(c-u)+o}},37666:function(i){"use strict";i.exports=Math.sign||function(e){var t=+e;return t===0||t!==t?t:t<0?-1:1}},3312:function(i){"use strict";var d=Math.ceil,e=Math.floor;i.exports=Math.trunc||function(r){var n=+r;return(n>0?e:d)(n)}},72933:function(i,d,e){"use strict";var t=e(92916),r=e(80666),n=e(71256).f,a=e(28887).set,s=e(66790),u=e(70695),c=e(1908),o=e(44914),f=e(90946),_=t.MutationObserver||t.WebKitMutationObserver,p=t.document,x=t.process,g=t.Promise,P=n(t,"queueMicrotask"),O=P&&P.value,S,I,E,A,R;if(!O){var T=new s,D=function(){var k,B;for(f&&(k=x.domain)&&k.exit();B=T.get();)try{B()}catch(j){throw T.head&&S(),j}k&&k.enter()};!u&&!f&&!o&&_&&p?(I=!0,E=p.createTextNode(""),new _(D).observe(E,{characterData:!0}),S=function(){E.data=I=!I}):!c&&g&&g.resolve?(A=g.resolve(void 0),A.constructor=g,R=r(A.then,A),S=function(){R(D)}):f?S=function(){x.nextTick(D)}:(a=r(a,t),S=function(){a(D)}),O=function(k){T.head||S(),T.add(k)}}i.exports=O},82778:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){var r="9007199254740993",n=JSON.rawJSON(r);return!JSON.isRawJSON(n)||JSON.stringify(n)!==r})},73446:function(i,d,e){"use strict";var t=e(63335),r=TypeError,n=function(a){var s,u;this.promise=new a(function(c,o){if(s!==void 0||u!==void 0)throw new r("Bad Promise constructor");s=c,u=o}),this.resolve=t(s),this.reject=t(u)};i.exports.f=function(a){return new n(a)}},7825:function(i,d,e){"use strict";var t=e(69905);i.exports=function(r,n){return r===void 0?arguments.length<2?"":n:t(r)}},2279:function(i){"use strict";var d=RangeError;i.exports=function(e){if(e===e)return e;throw new d("NaN is not allowed")}},41696:function(i,d,e){"use strict";var t=e(44639),r=TypeError;i.exports=function(n){if(t(n))throw new r("The method doesn't accept regular expressions");return n}},1222:function(i,d,e){"use strict";var t=e(92916),r=t.isFinite;i.exports=Number.isFinite||function(a){return typeof a=="number"&&r(a)}},31280:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),a=e(69905),s=e(52971).trim,u=e(19268),c=n("".charAt),o=t.parseFloat,f=t.Symbol,_=f&&f.iterator,p=1/o(u+"-0")!==-1/0||_&&!r(function(){o(Object(_))});i.exports=p?function(g){var P=s(a(g)),O=o(P);return O===0&&c(P,0)==="-"?-0:O}:o},52446:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),a=e(69905),s=e(52971).trim,u=e(19268),c=t.parseInt,o=t.Symbol,f=o&&o.iterator,_=/^[+-]?0x/i,p=n(_.exec),x=c(u+"08")!==8||c(u+"0x16")!==22||f&&!r(function(){c(Object(f))});i.exports=x?function(P,O){var S=s(a(P));return c(S,O>>>0||(p(_,S)?16:10))}:c},17243:function(i,d,e){"use strict";var t=e(94844),r=e(83126),n=e(25587),a=e(4112),s=e(31946),u=e(64110),c=e(35454),o="Incorrect Iterator.range arguments",f="NumericRangeIterator",_=t.set,p=t.getterFor(f),x=RangeError,g=TypeError,P=r(function(I,E,A,R,T,D){if(typeof I!=R||E!==1/0&&E!==-1/0&&typeof E!=R)throw new g(o);if(I===1/0||I===-1/0)throw new x(o);var k=E>I,B=!1,j;if(A===void 0)j=void 0;else if(s(A))j=A.step,B=!!A.inclusive;else if(typeof A==R)j=A;else throw new g(o);if(a(j)&&(j=k?D:-D),typeof j!=R)throw new g(o);if(j===1/0||j===-1/0||j===T&&I!==E)throw new x(o);var V=I!==I||E!==E||j!==j||E>I!=j>T;_(this,{type:f,start:I,end:E,step:j,inclusive:B,hitsEnd:V,currentCount:T,zero:T}),c||(this.start=I,this.end=E,this.step=j,this.inclusive=B)},f,function(){var I=p(this);if(I.hitsEnd)return n(void 0,!0);var E=I.start,A=I.end,R=I.step,T=E+R*I.currentCount++;T===A&&(I.hitsEnd=!0);var D=I.inclusive,k;return A>E?k=D?T>A:T>=A:k=D?A>T:A>=T,k?(I.hitsEnd=!0,n(void 0,!0)):n(T,!1)}),O=function(S){u(P.prototype,S,{get:function(){return p(this)[S]},set:function(){},configurable:!0,enumerable:!1})};c&&(O("start"),O("end"),O("inclusive"),O("step")),i.exports=P},80530:function(i,d,e){"use strict";var t=e(35454),r=e(94237),n=e(89945),a=e(3338),s=e(7733),u=e(92635),c=e(27597),o=e(94029),f=e(1835),_=Object.assign,p=Object.defineProperty,x=r([].concat);i.exports=!_||a(function(){if(t&&_({b:1},_(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},P={},O=Symbol("assign detection"),S="abcdefghijklmnopqrst";return g[O]=7,S.split("").forEach(function(I){P[I]=I}),_({},g)[O]!==7||s(_({},P)).join("")!==S})?function(P,O){for(var S=o(P),I=arguments.length,E=1,A=u.f,R=c.f;I>E;)for(var T=f(arguments[E++]),D=A?x(s(T),A(T)):s(T),k=D.length,B=0,j;k>B;)j=D[B++],(!t||n(R,T,j))&&(S[j]=T[j]);return S}:_},20132:function(i,d,e){"use strict";var t=e(80449),r=e(55666),n=e(46678),a=e(54406),s=e(75171),u=e(86060),c=e(11898),o=">",f="<",_="prototype",p="script",x=c("IE_PROTO"),g=function(){},P=function(A){return f+p+o+A+f+"/"+p+o},O=function(A){A.write(P("")),A.close();var R=A.parentWindow.Object;return A=null,R},S=function(){var A=u("iframe"),R="java"+p+":",T;return A.style.display="none",s.appendChild(A),A.src=String(R),T=A.contentWindow.document,T.open(),T.write(P("document.F=Object")),T.close(),T.F},I,E=function(){try{I=new ActiveXObject("htmlfile")}catch(R){}E=typeof document!="undefined"?document.domain&&I?O(I):S():O(I);for(var A=n.length;A--;)delete E[_][n[A]];return E()};a[x]=!0,i.exports=Object.create||function(R,T){var D;return R!==null?(g[_]=t(R),D=new g,g[_]=null,D[x]=R):D=E(),T===void 0?D:r.f(D,T)}},55666:function(i,d,e){"use strict";var t=e(35454),r=e(93199),n=e(37691),a=e(80449),s=e(80524),u=e(7733);d.f=t&&!r?Object.defineProperties:function(o,f){a(o);for(var _=s(f),p=u(f),x=p.length,g=0,P;x>g;)n.f(o,P=p[g++],_[P]);return o}},37691:function(i,d,e){"use strict";var t=e(35454),r=e(46796),n=e(93199),a=e(80449),s=e(17818),u=TypeError,c=Object.defineProperty,o=Object.getOwnPropertyDescriptor,f="enumerable",_="configurable",p="writable";d.f=t?n?function(g,P,O){if(a(g),P=s(P),a(O),typeof g=="function"&&P==="prototype"&&"value"in O&&p in O&&!O[p]){var S=o(g,P);S&&S[p]&&(g[P]=O.value,O={configurable:_ in O?O[_]:S[_],enumerable:f in O?O[f]:S[f],writable:!1})}return c(g,P,O)}:c:function(g,P,O){if(a(g),P=s(P),a(O),r)try{return c(g,P,O)}catch(S){}if("get"in O||"set"in O)throw new u("Accessors not supported");return"value"in O&&(g[P]=O.value),g}},71256:function(i,d,e){"use strict";var t=e(35454),r=e(89945),n=e(27597),a=e(35012),s=e(80524),u=e(17818),c=e(32621),o=e(46796),f=Object.getOwnPropertyDescriptor;d.f=t?f:function(p,x){if(p=s(p),x=u(x),o)try{return f(p,x)}catch(g){}if(c(p,x))return a(!r(n.f,p,x),p[x])}},53393:function(i,d,e){"use strict";var t=e(29076),r=e(80524),n=e(80689).f,a=e(71698),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(c){try{return n(c)}catch(o){return a(s)}};i.exports.f=function(o){return s&&t(o)==="Window"?u(o):n(r(o))}},80689:function(i,d,e){"use strict";var t=e(97486),r=e(46678),n=r.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(s){return t(s,n)}},92635:function(i,d){"use strict";d.f=Object.getOwnPropertySymbols},53456:function(i,d,e){"use strict";var t=e(32621),r=e(55327),n=e(94029),a=e(11898),s=e(4870),u=a("IE_PROTO"),c=Object,o=c.prototype;i.exports=s?c.getPrototypeOf:function(f){var _=n(f);if(t(_,u))return _[u];var p=_.constructor;return r(p)&&_ instanceof p?p.prototype:_ instanceof c?o:null}},12477:function(i,d,e){"use strict";var t=e(3338),r=e(31946),n=e(29076),a=e(51424),s=Object.isExtensible,u=t(function(){s(1)});i.exports=u||a?function(o){return!r(o)||a&&n(o)==="ArrayBuffer"?!1:s?s(o):!0}:s},16332:function(i,d,e){"use strict";var t=e(94237);i.exports=t({}.isPrototypeOf)},20574:function(i,d,e){"use strict";var t=e(94844),r=e(83126),n=e(25587),a=e(32621),s=e(7733),u=e(94029),c="Object Iterator",o=t.set,f=t.getterFor(c);i.exports=r(function(p,x){var g=u(p);o(this,{type:c,mode:x,object:g,keys:s(g),index:0})},"Object",function(){for(var p=f(this),x=p.keys;;){if(x===null||p.index>=x.length)return p.object=p.keys=null,n(void 0,!0);var g=x[p.index++],P=p.object;if(a(P,g)){switch(p.mode){case"keys":return n(g,!1);case"values":return n(P[g],!1)}return n([g,P[g]],!1)}}})},97486:function(i,d,e){"use strict";var t=e(94237),r=e(32621),n=e(80524),a=e(22999).indexOf,s=e(54406),u=t([].push);i.exports=function(c,o){var f=n(c),_=0,p=[],x;for(x in f)!r(s,x)&&r(f,x)&&u(p,x);for(;o.length>_;)r(f,x=o[_++])&&(~a(p,x)||u(p,x));return p}},7733:function(i,d,e){"use strict";var t=e(97486),r=e(46678);i.exports=Object.keys||function(a){return t(a,r)}},27597:function(i,d){"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);d.f=r?function(a){var s=t(this,a);return!!s&&s.enumerable}:e},25837:function(i,d,e){"use strict";var t=e(16697),r=e(92916),n=e(3338),a=e(19684);i.exports=t||!n(function(){if(!(a&&a<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete r[s]}})},58218:function(i,d,e){"use strict";var t=e(37758),r=e(80449),n=e(557);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a=!1,s={},u;try{u=t(Object.prototype,"__proto__","set"),u(s,[]),a=s instanceof Array}catch(c){}return function(o,f){return r(o),n(f),a?u(o,f):o.__proto__=f,o}}():void 0)},88698:function(i,d,e){"use strict";var t=e(35454),r=e(3338),n=e(94237),a=e(53456),s=e(7733),u=e(80524),c=e(27597).f,o=n(c),f=n([].push),_=t&&r(function(){var x=Object.create(null);return x[2]=2,!o(x,2)}),p=function(x){return function(g){for(var P=u(g),O=s(P),S=_&&a(P)===null,I=O.length,E=0,A=[],R;I>E;)R=O[E++],(!t||(S?R in P:o(P,R)))&&f(A,x?[R,P[R]]:P[R]);return A}};i.exports={entries:p(!0),values:p(!1)}},28488:function(i,d,e){"use strict";var t=e(68527),r=e(97607);i.exports=t?{}.toString:function(){return"[object "+r(this)+"]"}},44759:function(i,d,e){"use strict";var t=e(89945),r=e(55327),n=e(31946),a=TypeError;i.exports=function(s,u){var c,o;if(u==="string"&&r(c=s.toString)&&!n(o=t(c,s))||r(c=s.valueOf)&&!n(o=t(c,s))||u!=="string"&&r(c=s.toString)&&!n(o=t(c,s)))return o;throw new a("Can't convert object to primitive value")}},48662:function(i,d,e){"use strict";var t=e(65911),r=e(94237),n=e(80689),a=e(92635),s=e(80449),u=r([].concat);i.exports=t("Reflect","ownKeys")||function(o){var f=n.f(s(o)),_=a.f;return _?u(f,_(o)):f}},70913:function(i,d,e){"use strict";var t=e(94237),r=e(32621),n=SyntaxError,a=parseInt,s=String.fromCharCode,u=t("".charAt),c=t("".slice),o=t(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":` -`,"\\r":"\r","\\t":" "},_=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;i.exports=function(x,g){for(var P=!0,O="";g0&&(!B.multiline||B.multiline&&P(V,B.lastIndex-1)!==` -`)&&(G="(?: "+G+")",ie=" "+ie,ee++),F=new RegExp("^(?:"+G+")",Z)),R&&(F=new RegExp("^"+G+"$(?!\\s)",Z)),E&&(K=B.lastIndex),X=t(x,M?F:B,ie),M?X?(X.input=I(X.input,ee),X[0]=I(X[0],ee),X.index=B.lastIndex,B.lastIndex+=X[0].length):B.lastIndex=0:E&&X&&(B.lastIndex=B.global?X.index+X[0].length:K),R&&X&&X.length>1&&t(p,X[0],F,function(){for(Q=1;Qb)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$c")!=="bc"})},95955:function(i,d,e){"use strict";var t=e(4112),r=TypeError;i.exports=function(n){if(t(n))throw new r("Can't call method on "+n);return n}},88134:function(i){"use strict";i.exports=function(d,e){return d===e||d!==d&&e!==e}},5370:function(i){"use strict";i.exports=Object.is||function(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}},93222:function(i,d,e){"use strict";var t=e(92916),r=e(13743),n=e(55327),a=e(90843),s=e(66011),u=e(30867),c=e(57106),o=t.Function,f=/MSIE .\./.test(s)||a&&function(){var _=t.Bun.version.split(".");return _.length<3||_[0]==="0"&&(_[1]<3||_[1]==="3"&&_[2]==="0")}();i.exports=function(_,p){var x=p?2:1;return f?function(g,P){var O=c(arguments.length,1)>x,S=n(g)?g:o(g),I=O?u(arguments,x):[],E=O?function(){r(S,this,I)}:S;return p?_(E,P):_(E)}:_}},61838:function(i,d,e){"use strict";var t=e(19691),r=e(57002),n=t.Set,a=t.add;i.exports=function(s){var u=new n;return r(s,function(c){a(u,c)}),u}},10038:function(i,d,e){"use strict";var t=e(17442),r=e(19691),n=e(61838),a=e(108),s=e(88203),u=e(57002),c=e(43545),o=r.has,f=r.remove;i.exports=function(p){var x=t(this),g=s(p),P=n(x);return a(x)<=g.size?u(x,function(O){g.includes(O)&&f(P,O)}):c(g.getIterator(),function(O){o(x,O)&&f(P,O)}),P}},19691:function(i,d,e){"use strict";var t=e(94237),r=Set.prototype;i.exports={Set,add:t(r.add),has:t(r.has),remove:t(r.delete),proto:r}},16049:function(i,d,e){"use strict";var t=e(17442),r=e(19691),n=e(108),a=e(88203),s=e(57002),u=e(43545),c=r.Set,o=r.add,f=r.has;i.exports=function(p){var x=t(this),g=a(p),P=new c;return n(x)>g.size?u(g.getIterator(),function(O){f(x,O)&&o(P,O)}):s(x,function(O){g.includes(O)&&o(P,O)}),P}},17616:function(i,d,e){"use strict";var t=e(17442),r=e(19691).has,n=e(108),a=e(88203),s=e(57002),u=e(43545),c=e(67996);i.exports=function(f){var _=t(this),p=a(f);if(n(_)<=p.size)return s(_,function(g){if(p.includes(g))return!1},!0)!==!1;var x=p.getIterator();return u(x,function(g){if(r(_,g))return c(x,"normal",!1)})!==!1}},84833:function(i,d,e){"use strict";var t=e(17442),r=e(108),n=e(57002),a=e(88203);i.exports=function(u){var c=t(this),o=a(u);return r(c)>o.size?!1:n(c,function(f){if(!o.includes(f))return!1},!0)!==!1}},51135:function(i,d,e){"use strict";var t=e(17442),r=e(19691).has,n=e(108),a=e(88203),s=e(43545),u=e(67996);i.exports=function(o){var f=t(this),_=a(o);if(n(f)<_.size)return!1;var p=_.getIterator();return s(p,function(x){if(!r(f,x))return u(p,"normal",!1)})!==!1}},57002:function(i,d,e){"use strict";var t=e(94237),r=e(43545),n=e(19691),a=n.Set,s=n.proto,u=t(s.forEach),c=t(s.keys),o=c(new a).next;i.exports=function(f,_,p){return p?r({iterator:c(f),next:o},_):u(f,_)}},22627:function(i,d,e){"use strict";var t=e(65911),r=function(n){return{size:n,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};i.exports=function(n){var a=t("Set");try{new a()[n](r(0));try{return new a()[n](r(-1)),!1}catch(s){return!0}}catch(s){return!1}}},108:function(i,d,e){"use strict";var t=e(37758),r=e(19691);i.exports=t(r.proto,"size","get")||function(n){return n.size}},51996:function(i,d,e){"use strict";var t=e(65911),r=e(64110),n=e(59893),a=e(35454),s=n("species");i.exports=function(u){var c=t(u);a&&c&&!c[s]&&r(c,s,{configurable:!0,get:function(){return this}})}},36312:function(i,d,e){"use strict";var t=e(17442),r=e(19691),n=e(61838),a=e(88203),s=e(43545),u=r.add,c=r.has,o=r.remove;i.exports=function(_){var p=t(this),x=a(_).getIterator(),g=n(p);return s(x,function(P){c(p,P)?o(g,P):u(g,P)}),g}},94573:function(i,d,e){"use strict";var t=e(37691).f,r=e(32621),n=e(59893),a=n("toStringTag");i.exports=function(s,u,c){s&&!c&&(s=s.prototype),s&&!r(s,a)&&t(s,a,{configurable:!0,value:u})}},24667:function(i,d,e){"use strict";var t=e(17442),r=e(19691).add,n=e(61838),a=e(88203),s=e(43545);i.exports=function(c){var o=t(this),f=a(c).getIterator(),_=n(o);return s(f,function(p){r(_,p)}),_}},11898:function(i,d,e){"use strict";var t=e(77898),r=e(6145),n=t("keys");i.exports=function(a){return n[a]||(n[a]=r(a))}},77398:function(i,d,e){"use strict";var t=e(92916),r=e(29539),n="__core-js_shared__",a=t[n]||r(n,{});i.exports=a},77898:function(i,d,e){"use strict";var t=e(16697),r=e(77398);(i.exports=function(n,a){return r[n]||(r[n]=a!==void 0?a:{})})("versions",[]).push({version:"3.34.0",mode:t?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},60473:function(i,d,e){"use strict";var t=e(80449),r=e(6086),n=e(4112),a=e(59893),s=a("species");i.exports=function(u,c){var o=t(u).constructor,f;return o===void 0||n(f=t(o)[s])?c:r(f)}},67410:function(i,d,e){"use strict";var t=e(94237),r=e(80524),n=e(69905),a=e(82762),s=TypeError,u=t([].push),c=t([].join);i.exports=function(f){var _=r(f),p=a(_);if(!p)return"";for(var x=arguments.length,g=[],P=0;;){var O=_[P++];if(O===void 0)throw new s("Incorrect template");if(u(g,n(O)),P===p)return c(g,"");P3})}},13764:function(i,d,e){"use strict";var t=e(94237),r=e(56902),n=e(69905),a=e(95955),s=t("".charAt),u=t("".charCodeAt),c=t("".slice),o=function(f){return function(_,p){var x=n(a(_)),g=r(p),P=x.length,O,S;return g<0||g>=P?f?"":void 0:(O=u(x,g),O<55296||O>56319||g+1===P||(S=u(x,g+1))<56320||S>57343?f?s(x,g):O:f?c(x,g,g+2):(O-55296<<10)+(S-56320)+65536)}};i.exports={codeAt:o(!1),charAt:o(!0)}},98352:function(i,d,e){"use strict";var t=e(66011);i.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(t)},85571:function(i,d,e){"use strict";var t=e(94237),r=e(61578),n=e(69905),a=e(71049),s=e(95955),u=t(a),c=t("".slice),o=Math.ceil,f=function(_){return function(p,x,g){var P=n(s(p)),O=r(x),S=P.length,I=g===void 0?" ":n(g),E,A;return O<=S||I===""?P:(E=O-S,A=u(I,o(E/I.length)),A.length>E&&(A=c(A,0,E)),_?P+A:A+P)}};i.exports={start:f(!1),end:f(!0)}},79204:function(i,d,e){"use strict";var t=e(65911),r=e(94237),n=String.fromCharCode,a=t("String","fromCodePoint"),s=r("".charAt),u=r("".charCodeAt),c=r("".indexOf),o=r("".slice),f=48,_=57,p=97,x=102,g=65,P=70,O=function(E,A){var R=u(E,A);return R>=f&&R<=_},S=function(E,A,R){if(R>=E.length)return-1;for(var T=0;A=f&&E<=_?E-f:E>=p&&E<=x?E-p+10:E>=g&&E<=P?E-g+10:-1};i.exports=function(E){for(var A="",R=0,T=0,D;(T=c(E,"\\",T))>-1;){if(A+=o(E,R,T),++T===E.length)return;var k=s(E,T++);switch(k){case"b":A+="\b";break;case"t":A+=" ";break;case"n":A+=` +Add a component higher in the tree to provide a loading indicator or placeholder to display.`)}ca!==5&&(ca=2),Bt=nc(Bt,pt),nn=Ge;do{switch(nn.tag){case 3:we=Bt,nn.flags|=4096,h&=-h,nn.lanes|=h;var Fa=bu(nn,we,h);xc(nn,Fa);break e;case 1:we=Bt;var Bn=nn.type,Na=nn.stateNode;if(!(nn.flags&64)&&(typeof Bn.getDerivedStateFromError=="function"||Na!==null&&typeof Na.componentDidCatch=="function"&&(Qo===null||!Qo.has(Na)))){nn.flags|=4096,h&=-h,nn.lanes|=h;var eo=ju(nn,we,h);xc(nn,eo);break e}}nn=nn.return}while(nn!==null)}zs(C)}catch(Ua){h=Ua,mr===C&&C!==null&&(mr=C=C.return);continue}break}while(!0)}function Jn(){var l=y.current;return y.current=qu,l===null?qu:l}function co(l,h){var C=z;z|=16;var U=Jn();oe===l&&dr===h||ba(l,h);do try{Ps();break}catch(te){ho(l,te)}while(!0);if(hu(),z=C,y.current=U,mr!==null)throw Error(a(261));return oe=null,dr=0,ca}function Ps(){for(;mr!==null;)Bs(mr)}function Es(){for(;mr!==null&&!ii();)Bs(mr)}function Bs(l){var h=Hc(l.alternate,l,Nn);l.memoizedProps=l.pendingProps,h===null?zs(l):mr=h,b.current=null}function zs(l){var h=l;do{var C=h.alternate;if(l=h.return,h.flags&2048){if(C=fl(h),C!==null){C.flags&=2047,mr=C;return}l!==null&&(l.firstEffect=l.lastEffect=null,l.flags|=2048)}else{if(C=dl(C,h,Nn),C!==null){mr=C;return}if(C=h,C.tag!==24&&C.tag!==23||C.memoizedState===null||Nn&1073741824||!(C.mode&4)){for(var U=0,te=C.child;te!==null;)U|=te.lanes|te.childLanes,te=te.sibling;C.childLanes=U}l!==null&&!(l.flags&2048)&&(l.firstEffect===null&&(l.firstEffect=h.firstEffect),h.lastEffect!==null&&(l.lastEffect!==null&&(l.lastEffect.nextEffect=h.firstEffect),l.lastEffect=h.lastEffect),1Ge&&(pt=Ge,Ge=Fa,Fa=pt),pt=ga(ir,Fa),we=ga(ir,Ge),pt&&we&&(Zr.rangeCount!==1||Zr.anchorNode!==pt.node||Zr.anchorOffset!==pt.offset||Zr.focusNode!==we.node||Zr.focusOffset!==we.offset)&&(jr=jr.createRange(),jr.setStart(pt.node,pt.offset),Zr.removeAllRanges(),Fa>Ge?(Zr.addRange(jr),Zr.extend(we.node,we.offset)):(jr.setEnd(we.node,we.offset),Zr.addRange(jr)))))),jr=[],Zr=ir;Zr=Zr.parentNode;)Zr.nodeType===1&&jr.push({element:Zr,left:Zr.scrollLeft,top:Zr.scrollTop});for(typeof ir.focus=="function"&&ir.focus(),ir=0;irxi()-sc?ba(l,0):Ki|=C),Xi(l,h)}function Ss(l,h){var C=l.stateNode;C!==null&&C.delete(h),h=0,h===0&&(h=l.mode,h&2?h&4?(lu===0&&(lu=To),h=ue(62914560&~lu),h===0&&(h=4194304)):h=fi()===99?1:2:h=1),C=Fi(),l=fc(l,h),l!==null&&(Me(l,h,C),Xi(l,C))}var Hc;Hc=function(l,h,C){var U=h.lanes;if(l!==null)if(l.memoizedProps!==h.pendingProps||_e.current)os=!0;else if(C&U)os=!!(l.flags&16384);else{switch(os=!1,h.tag){case 3:yu(h),rl();break;case 5:Iu(h);break;case 1:fr(h.type)&&fn(h);break;case 4:js(h,h.stateNode.containerInfo);break;case 10:U=h.memoizedProps.value;var te=h.type._context;qa(gc,te._currentValue),te._currentValue=U;break;case 13:if(h.memoizedState!==null)return C&h.child.childLanes?xu(l,h,C):(qa(jo,jo.current&1),h=Vi(l,h,C),h!==null?h.sibling:null);qa(jo,jo.current&1);break;case 19:if(U=(C&h.childLanes)!==0,l.flags&64){if(U)return ou(l,h,C);h.flags|=64}if(te=h.memoizedState,te!==null&&(te.rendering=null,te.tail=null,te.lastEffect=null),qa(jo,jo.current),U)break;return null;case 23:case 24:return h.lanes=0,ll(l,h,C)}return Vi(l,h,C)}else os=!1;switch(h.lanes=0,h.tag){case 2:if(U=h.type,l!==null&&(l.alternate=null,h.alternate=null,h.flags|=2),l=h.pendingProps,te=Ft(h,Da.current),_u(h,C),te=al(null,h,U,l,te,C),h.flags|=1,typeof te=="object"&&te!==null&&typeof te.render=="function"&&te.$$typeof===void 0){if(h.tag=1,h.memoizedState=null,h.updateQueue=null,fr(U)){var we=!0;fn(h)}else we=!1;h.memoizedState=te.state!==null&&te.state!==void 0?te.state:null,$s(h);var Ge=U.getDerivedStateFromProps;typeof Ge=="function"&&Ri(h,U,Ge,l),te.updater=Ou,h.stateNode=te,te._reactInternals=h,Wu(h,U,l,C),h=ae(null,h,U,!0,we,C)}else h.tag=0,Uo(null,h,te,C),h=h.child;return h;case 16:te=h.elementType;e:{switch(l!==null&&(l.alternate=null,h.alternate=null,h.flags|=2),l=h.pendingProps,we=te._init,te=we(te._payload),h.type=te,we=h.tag=Ml(te),l=ts(te,l),we){case 0:h=Ko(null,h,te,l,C);break e;case 1:h=gu(null,h,te,l,C);break e;case 11:h=Rc(null,h,te,l,C);break e;case 14:h=nu(null,h,te,ts(te.type,l),U,C);break e}throw Error(a(306,te,""))}return h;case 0:return U=h.type,te=h.pendingProps,te=h.elementType===U?te:ts(U,te),Ko(l,h,U,te,C);case 1:return U=h.type,te=h.pendingProps,te=h.elementType===U?te:ts(U,te),gu(l,h,U,te,C);case 3:if(yu(h),U=h.updateQueue,l===null||U===null)throw Error(a(282));if(U=h.pendingProps,te=h.memoizedState,te=te!==null?te.element:null,Ti(l,h),Rs(h,U,null,C),U=h.memoizedState.element,U===te)rl(),h=Vi(l,h,C);else{if(te=h.stateNode,(we=te.hydrate)&&(eu=An(h.stateNode.containerInfo.firstChild),ki=h,we=rs=!0),we){if(l=te.mutableSourceEagerHydrationData,l!=null)for(te=0;te=0)&&(R[D]=E[D]);return R}const u=["onClick","reloadDocument","replace","state","target","to"],c=null;function o(E,A){if(!E){typeof console!="undefined"&&console.warn(A);try{throw new Error(A)}catch(R){}}}function f(E){let{basename:A,children:R,window:T}=E,D=useRef();D.current==null&&(D.current=createBrowserHistory({window:T}));let M=D.current,[B,j]=useState({action:M.action,location:M.location});return useLayoutEffect(()=>M.listen(j),[M]),createElement(Router,{basename:A,children:R,location:B.location,navigationType:B.action,navigator:M})}function _(E){let{basename:A,children:R,window:T}=E,D=useRef();D.current==null&&(D.current=createHashHistory({window:T}));let M=D.current,[B,j]=useState({action:M.action,location:M.location});return useLayoutEffect(()=>M.listen(j),[M]),createElement(Router,{basename:A,children:R,location:B.location,navigationType:B.action,navigator:M})}function p(E){let{basename:A,children:R,history:T}=E;const[D,M]=useState({action:T.action,location:T.location});return useLayoutEffect(()=>T.listen(M),[T]),createElement(Router,{basename:A,children:R,location:D.location,navigationType:D.action,navigator:T})}function x(E){return!!(E.metaKey||E.altKey||E.ctrlKey||E.shiftKey)}const g=(0,t.forwardRef)(function(A,R){let{onClick:T,reloadDocument:D,replace:M=!1,state:B,target:j,to:V}=A,H=s(A,u),Y=(0,r.oQ)(V),F=O(V,{replace:M,state:B,target:j});function K(X){T&&T(X),!X.defaultPrevented&&!D&&F(X)}return(0,t.createElement)("a",a({},H,{href:Y,onClick:K,ref:R,target:j}))}),P=null;function O(E,A){let{target:R,replace:T,state:D}=A===void 0?{}:A,M=(0,r.s0)(),B=(0,r.TH)(),j=(0,r.WU)(E);return(0,t.useCallback)(V=>{if(V.button===0&&(!R||R==="_self")&&!x(V)){V.preventDefault();let H=!!T||(0,n.Ep)(B)===(0,n.Ep)(j);M(E,{replace:H,state:D})}},[B,M,j,T,D,R,E])}function S(E){let A=(0,t.useRef)(I(E)),R=(0,r.TH)(),T=(0,t.useMemo)(()=>{let B=I(R.search);for(let j of A.current.keys())B.has(j)||A.current.getAll(j).forEach(V=>{B.append(j,V)});return B},[R.search]),D=(0,r.s0)(),M=(0,t.useCallback)((B,j)=>{D("?"+I(B),j)},[D]);return[T,M]}function I(E){return E===void 0&&(E=""),new URLSearchParams(typeof E=="string"||Array.isArray(E)||E instanceof URLSearchParams?E:Object.keys(E).reduce((A,R)=>{let T=E[R];return A.concat(Array.isArray(T)?T.map(D=>[R,D]):[[R,T]])},[]))}},35338:function(i,d,e){"use strict";e.d(d,{F0:function(){return at},Fg:function(){return Re},Gn:function(){return _},TH:function(){return G},UO:function(){return ze},V$:function(){return vt},WU:function(){return st},bx:function(){return de},fp:function(){return p},j3:function(){return Ce},oQ:function(){return k},s0:function(){return se}});var t=e(19340),r=e(59301);const n=(0,r.createContext)(null),a=(0,r.createContext)(null),s=(0,r.createContext)({outlet:null,matches:[]});function u(Ie,$e){if(!Ie)throw new Error($e)}function c(Ie,$e){if(!Ie){typeof console!="undefined"&&console.warn($e);try{throw new Error($e)}catch(ft){}}}const o={};function f(Ie,$e,ft){!$e&&!o[Ie]&&(o[Ie]=!0)}function _(Ie,$e){return $e===void 0&&($e={}),Ie.replace(/:(\w+)/g,(ft,ke)=>($e[ke]==null&&u(!1),$e[ke])).replace(/\/*\*$/,ft=>$e["*"]==null?"":$e["*"].replace(/^\/*/,"/"))}function p(Ie,$e,ft){ft===void 0&&(ft="/");let ke=typeof $e=="string"?(0,t.cP)($e):$e,ye=X(ke.pathname||"/",ft);if(ye==null)return null;let fe=x(Ie);g(fe);let Oe=null;for(let Ee=0;Oe==null&&Ee{let Oe={relativePath:ye.path||"",caseSensitive:ye.caseSensitive===!0,childrenIndex:fe,route:ye};Oe.relativePath.startsWith("/")&&(Oe.relativePath.startsWith(ke)||u(!1),Oe.relativePath=Oe.relativePath.slice(ke.length));let Ee=Q([ke,Oe.relativePath]),et=ft.concat(Oe);ye.children&&ye.children.length>0&&(ye.index===!0&&u(!1),x(ye.children,$e,et,Ee)),!(ye.path==null&&!ye.index)&&$e.push({path:Ee,score:T(Ee,ye.index),routesMeta:et})}),$e}function g(Ie){Ie.sort(($e,ft)=>$e.score!==ft.score?ft.score-$e.score:D($e.routesMeta.map(ke=>ke.childrenIndex),ft.routesMeta.map(ke=>ke.childrenIndex)))}const P=/^:\w+$/,O=3,S=2,I=1,E=10,A=-2,R=Ie=>Ie==="*";function T(Ie,$e){let ft=Ie.split("/"),ke=ft.length;return ft.some(R)&&(ke+=A),$e&&(ke+=S),ft.filter(ye=>!R(ye)).reduce((ye,fe)=>ye+(P.test(fe)?O:fe===""?I:E),ke)}function D(Ie,$e){return Ie.length===$e.length&&Ie.slice(0,-1).every((ke,ye)=>ke===$e[ye])?Ie[Ie.length-1]-$e[$e.length-1]:0}function M(Ie,$e){let{routesMeta:ft}=Ie,ke={},ye="/",fe=[];for(let Oe=0;Oe{if(pe==="*"){let lt=Ee[ge]||"";Oe=fe.slice(0,fe.length-lt.length).replace(/(.)\/+$/,"$1")}return mt[pe]=V(Ee[ge]||"",pe),mt},{}),pathname:fe,pathnameBase:Oe,pattern:Ie}}function j(Ie,$e,ft){$e===void 0&&($e=!1),ft===void 0&&(ft=!0);let ke=[],ye="^"+Ie.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(Oe,Ee)=>(ke.push(Ee),"([^\\/]+)"));return Ie.endsWith("*")?(ke.push("*"),ye+=Ie==="*"||Ie==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):ye+=ft?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(ye,$e?void 0:"i"),ke]}function V(Ie,$e){try{return decodeURIComponent(Ie)}catch(ft){return Ie}}function H(Ie,$e){$e===void 0&&($e="/");let{pathname:ft,search:ke="",hash:ye=""}=typeof Ie=="string"?(0,t.cP)(Ie):Ie;return{pathname:ft?ft.startsWith("/")?ft:Y(ft,$e):$e,search:N(ke),hash:J(ye)}}function Y(Ie,$e){let ft=$e.replace(/\/+$/,"").split("/");return Ie.split("/").forEach(ye=>{ye===".."?ft.length>1&&ft.pop():ye!=="."&&ft.push(ye)}),ft.length>1?ft.join("/"):"/"}function F(Ie,$e,ft){let ke=typeof Ie=="string"?(0,t.cP)(Ie):Ie,ye=Ie===""||ke.pathname===""?"/":ke.pathname,fe;if(ye==null)fe=ft;else{let Ee=$e.length-1;if(ye.startsWith("..")){let et=ye.split("/");for(;et[0]==="..";)et.shift(),Ee-=1;ke.pathname=et.join("/")}fe=Ee>=0?$e[Ee]:"/"}let Oe=H(ke,fe);return ye&&ye!=="/"&&ye.endsWith("/")&&!Oe.pathname.endsWith("/")&&(Oe.pathname+="/"),Oe}function K(Ie){return Ie===""||Ie.pathname===""?"/":typeof Ie=="string"?(0,t.cP)(Ie).pathname:Ie.pathname}function X(Ie,$e){if($e==="/")return Ie;if(!Ie.toLowerCase().startsWith($e.toLowerCase()))return null;let ft=Ie.charAt($e.length);return ft&&ft!=="/"?null:Ie.slice($e.length)||"/"}const Q=Ie=>Ie.join("/").replace(/\/\/+/g,"/"),W=Ie=>Ie.replace(/\/+$/,"").replace(/^\/*/,"/"),N=Ie=>!Ie||Ie==="?"?"":Ie.startsWith("?")?Ie:"?"+Ie,J=Ie=>!Ie||Ie==="#"?"":Ie.startsWith("#")?Ie:"#"+Ie;function k(Ie){Z()||u(!1);let{basename:$e,navigator:ft}=(0,r.useContext)(n),{hash:ke,pathname:ye,search:fe}=st(Ie),Oe=ye;if($e!=="/"){let Ee=K(Ie),et=Ee!=null&&Ee.endsWith("/");Oe=ye==="/"?$e+(et?"/":""):Q([$e,ye])}return ft.createHref({pathname:Oe,search:fe,hash:ke})}function Z(){return(0,r.useContext)(a)!=null}function G(){return Z()||u(!1),(0,r.useContext)(a).location}function ee(){return useContext(a).navigationType}function ie(Ie){Z()||u(!1);let{pathname:$e}=G();return useMemo(()=>B(Ie,$e),[$e,Ie])}function se(){Z()||u(!1);let{basename:Ie,navigator:$e}=(0,r.useContext)(n),{matches:ft}=(0,r.useContext)(s),{pathname:ke}=G(),ye=JSON.stringify(ft.map(Ee=>Ee.pathnameBase)),fe=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{fe.current=!0}),(0,r.useCallback)(function(Ee,et){if(et===void 0&&(et={}),!fe.current)return;if(typeof Ee=="number"){$e.go(Ee);return}let mt=F(Ee,JSON.parse(ye),ke);Ie!=="/"&&(mt.pathname=Q([Ie,mt.pathname])),(et.replace?$e.replace:$e.push)(mt,et.state)},[Ie,$e,ye,ke])}const le=(0,r.createContext)(null);function de(){return(0,r.useContext)(le)}function He(Ie){let $e=(0,r.useContext)(s).outlet;return $e&&(0,r.createElement)(le.Provider,{value:Ie},$e)}function ze(){let{matches:Ie}=(0,r.useContext)(s),$e=Ie[Ie.length-1];return $e?$e.params:{}}function st(Ie){let{matches:$e}=(0,r.useContext)(s),{pathname:ft}=G(),ke=JSON.stringify($e.map(ye=>ye.pathnameBase));return(0,r.useMemo)(()=>F(Ie,JSON.parse(ke),ft),[Ie,ke,ft])}function vt(Ie,$e){Z()||u(!1);let{matches:ft}=(0,r.useContext)(s),ke=ft[ft.length-1],ye=ke?ke.params:{},fe=ke?ke.pathname:"/",Oe=ke?ke.pathnameBase:"/",Ee=ke&&ke.route,et=G(),mt;if($e){var pe;let Ve=typeof $e=="string"?(0,t.cP)($e):$e;Oe==="/"||(pe=Ve.pathname)!=null&&pe.startsWith(Oe)||u(!1),mt=Ve}else mt=et;let ge=mt.pathname||"/",lt=Oe==="/"?ge:ge.slice(Oe.length)||"/",Qe=p(Ie,{pathname:lt});return Je(Qe&&Qe.map(Ve=>Object.assign({},Ve,{params:Object.assign({},ye,Ve.params),pathname:Q([Oe,Ve.pathname]),pathnameBase:Ve.pathnameBase==="/"?Oe:Q([Oe,Ve.pathnameBase])})),ft)}function Je(Ie,$e){return $e===void 0&&($e=[]),Ie==null?null:Ie.reduceRight((ft,ke,ye)=>(0,r.createElement)(s.Provider,{children:ke.route.element!==void 0?ke.route.element:ft,value:{outlet:ft,matches:$e.concat(Ie.slice(0,ye+1))}}),null)}function Ke(Ie){let{basename:$e,children:ft,initialEntries:ke,initialIndex:ye}=Ie,fe=useRef();fe.current==null&&(fe.current=createMemoryHistory({initialEntries:ke,initialIndex:ye}));let Oe=fe.current,[Ee,et]=useState({action:Oe.action,location:Oe.location});return useLayoutEffect(()=>Oe.listen(et),[Oe]),createElement(at,{basename:$e,children:ft,location:Ee.location,navigationType:Ee.action,navigator:Oe})}function Re(Ie){let{to:$e,replace:ft,state:ke}=Ie;Z()||u(!1);let ye=se();return(0,r.useEffect)(()=>{ye($e,{replace:ft,state:ke})}),null}function Ce(Ie){return He(Ie.context)}function me(Ie){u(!1)}function at(Ie){let{basename:$e="/",children:ft=null,location:ke,navigationType:ye=t.aU.Pop,navigator:fe,static:Oe=!1}=Ie;Z()&&u(!1);let Ee=W($e),et=(0,r.useMemo)(()=>({basename:Ee,navigator:fe,static:Oe}),[Ee,fe,Oe]);typeof ke=="string"&&(ke=(0,t.cP)(ke));let{pathname:mt="/",search:pe="",hash:ge="",state:lt=null,key:Qe="default"}=ke,Ve=(0,r.useMemo)(()=>{let it=X(mt,Ee);return it==null?null:{pathname:it,search:pe,hash:ge,state:lt,key:Qe}},[Ee,mt,pe,ge,lt,Qe]);return Ve==null?null:(0,r.createElement)(n.Provider,{value:et},(0,r.createElement)(a.Provider,{children:ft,value:{location:Ve,navigationType:ye}}))}function ct(Ie){let{children:$e,location:ft}=Ie;return vt(St($e),ft)}function St(Ie){let $e=[];return Children.forEach(Ie,ft=>{if(!isValidElement(ft))return;if(ft.type===Fragment){$e.push.apply($e,St(ft.props.children));return}ft.type!==me&&u(!1);let ke={caseSensitive:ft.props.caseSensitive,element:ft.props.element,index:ft.props.index,path:ft.props.path};ft.props.children&&(ke.children=St(ft.props.children)),$e.push(ke)}),$e}function bt(Ie){return Je(Ie)}},76100:function(i,d,e){"use strict";var t=e(84126),r=60103,n=60106;d.Fragment=60107,d.StrictMode=60108,d.Profiler=60114;var a=60109,s=60110,u=60112;d.Suspense=60113;var c=60115,o=60116;if(typeof Symbol=="function"&&Symbol.for){var f=Symbol.for;r=f("react.element"),n=f("react.portal"),d.Fragment=f("react.fragment"),d.StrictMode=f("react.strict_mode"),d.Profiler=f("react.profiler"),a=f("react.provider"),s=f("react.context"),u=f("react.forward_ref"),d.Suspense=f("react.suspense"),c=f("react.memo"),o=f("react.lazy")}var _=typeof Symbol=="function"&&Symbol.iterator;function p(N){return N===null||typeof N!="object"?null:(N=_&&N[_]||N["@@iterator"],typeof N=="function"?N:null)}function x(N){for(var J="https://reactjs.org/docs/error-decoder.html?invariant="+N,k=1;k0)return"Unexpected "+(Y.length>1?"keys":"key")+" "+('"'+Y.join('", "')+'" found in '+H+". ")+"Expected to find one of the known reducer keys instead: "+('"'+V.join('", "')+'". Unexpected keys will be ignored.')}function S(D){Object.keys(D).forEach(function(M){var B=D[M],j=B(void 0,{type:s.INIT});if(typeof j=="undefined")throw new Error(r(12));if(typeof B(void 0,{type:s.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(r(13))})}function I(D){for(var M=Object.keys(D),B={},j=0;j=0;--k){var Z=this.tryEntries[k],G=Z.completion;if(Z.tryLoc==="root")return J("end");if(Z.tryLoc<=this.prev){var ee=r.call(Z,"catchLoc"),ie=r.call(Z,"finallyLoc");if(ee&&ie){if(this.prev=0;--J){var k=this.tryEntries[J];if(k.tryLoc<=this.prev&&r.call(k,"finallyLoc")&&this.prev=0;--N){var J=this.tryEntries[N];if(J.finallyLoc===W)return this.complete(J.completion,J.afterLoc),F(J),S}},catch:function(W){for(var N=this.tryEntries.length-1;N>=0;--N){var J=this.tryEntries[N];if(J.tryLoc===W){var k=J.completion;if(k.type==="throw"){var Z=k.arg;F(J)}return Z}}throw new Error("illegal catch attempt")},delegateYield:function(W,N,J){return this.delegate={iterator:X(W),resultName:N,nextLoc:J},this.method==="next"&&(this.arg=a),S}},e}(i.exports);try{regeneratorRuntime=d}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=d:Function("r","regeneratorRuntime = r")(d)}},74284:function(i,d){"use strict";var e,t,r,n;if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;d.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();d.unstable_now=function(){return s.now()-u}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var c=null,o=null,f=function(){if(c!==null)try{var k=d.unstable_now();c(!0,k),c=null}catch(Z){throw setTimeout(f,0),Z}};e=function(k){c!==null?setTimeout(e,0,k):(c=k,setTimeout(f,0))},t=function(k,Z){o=setTimeout(k,Z)},r=function(){clearTimeout(o)},d.unstable_shouldYield=function(){return!1},n=d.unstable_forceFrameRate=function(){}}else{var _=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var x=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof x!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,P=null,O=-1,S=5,I=0;d.unstable_shouldYield=function(){return d.unstable_now()>=I},n=function(){},d.unstable_forceFrameRate=function(k){0>k||125>>1,ie=k[ee];if(ie!==void 0&&0M(le,G))He!==void 0&&0>M(He,le)?(k[ee]=He,k[de]=G,ee=de):(k[ee]=le,k[se]=G,ee=se);else if(He!==void 0&&0>M(He,G))k[ee]=He,k[de]=G,ee=de;else break e}}return Z}return null}function M(k,Z){var G=k.sortIndex-Z.sortIndex;return G!==0?G:k.id-Z.id}var B=[],j=[],V=1,H=null,Y=3,F=!1,K=!1,X=!1;function Q(k){for(var Z=T(j);Z!==null;){if(Z.callback===null)D(j);else if(Z.startTime<=k)D(j),Z.sortIndex=Z.expirationTime,R(B,Z);else break;Z=T(j)}}function W(k){if(X=!1,Q(k),!K)if(T(B)!==null)K=!0,e(N);else{var Z=T(j);Z!==null&&t(W,Z.startTime-k)}}function N(k,Z){K=!1,X&&(X=!1,r()),F=!0;var G=Y;try{for(Q(Z),H=T(B);H!==null&&(!(H.expirationTime>Z)||k&&!d.unstable_shouldYield());){var ee=H.callback;if(typeof ee=="function"){H.callback=null,Y=H.priorityLevel;var ie=ee(H.expirationTime<=Z);Z=d.unstable_now(),typeof ie=="function"?H.callback=ie:H===T(B)&&D(B),Q(Z)}else D(B);H=T(B)}if(H!==null)var se=!0;else{var le=T(j);le!==null&&t(W,le.startTime-Z),se=!1}return se}finally{H=null,Y=G,F=!1}}var J=n;d.unstable_IdlePriority=5,d.unstable_ImmediatePriority=1,d.unstable_LowPriority=4,d.unstable_NormalPriority=3,d.unstable_Profiling=null,d.unstable_UserBlockingPriority=2,d.unstable_cancelCallback=function(k){k.callback=null},d.unstable_continueExecution=function(){K||F||(K=!0,e(N))},d.unstable_getCurrentPriorityLevel=function(){return Y},d.unstable_getFirstCallbackNode=function(){return T(B)},d.unstable_next=function(k){switch(Y){case 1:case 2:case 3:var Z=3;break;default:Z=Y}var G=Y;Y=Z;try{return k()}finally{Y=G}},d.unstable_pauseExecution=function(){},d.unstable_requestPaint=J,d.unstable_runWithPriority=function(k,Z){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var G=Y;Y=k;try{return Z()}finally{Y=G}},d.unstable_scheduleCallback=function(k,Z,G){var ee=d.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0ee?(k.sortIndex=G,R(j,k),T(B)===null&&k===T(j)&&(X?r():X=!0,t(W,G-ee))):(k.sortIndex=ie,R(B,k),K||F||(K=!0,e(N))),k},d.unstable_wrapCallback=function(k){var Z=Y;return function(){var G=Y;Y=Z;try{return k.apply(this,arguments)}finally{Y=G}}}},43014:function(i,d,e){"use strict";i.exports=e(74284)},18947:function(i){"use strict";function d(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),a=r.length;if(n.length!==a)return!1;for(var s=0;s1&&arguments[1]!==void 0?arguments[1]:0,O=(c[g[P+0]]+c[g[P+1]]+c[g[P+2]]+c[g[P+3]]+"-"+c[g[P+4]]+c[g[P+5]]+"-"+c[g[P+6]]+c[g[P+7]]+"-"+c[g[P+8]]+c[g[P+9]]+"-"+c[g[P+10]]+c[g[P+11]]+c[g[P+12]]+c[g[P+13]]+c[g[P+14]]+c[g[P+15]]).toLowerCase();if(!u(O))throw TypeError("Stringified UUID is invalid");return O}var _=f;function p(g,P,O){g=g||{};var S=g.random||(g.rng||n)();if(S[6]=S[6]&15|64,S[8]=S[8]&63|128,P){O=O||0;for(var I=0;I<16;++I)P[O+I]=S[I];return P}return _(S)}var x=p},56754:function(i){"use strict";var d=function(){};i.exports=d},85239:function(i){"use strict";var d=!1,e=function(){};if(d){var t=function(n,a){var s=arguments.length;a=new Array(s>1?s-1:0);for(var u=1;u2?s-2:0);for(var u=2;u3?(J=G===N)&&(H=k[(V=k[4])?5:(V=3,3)],k[4]=k[5]=n):k[0]<=Z&&((J=W<2&&ZN||N>G)&&(k[4]=W,k[5]=N,X.n=G,V=0))}if(J||W>1)return f;throw K=!0,N}return function(W,N,J){if(Y>1)throw TypeError("Generator is already running");for(K&&N===1&&Q(N,J),V=N,H=J;(a=V<2?n:H)||!K;){j||(V?V<3?(V>1&&(X.n=-1),Q(V,H)):X.n=H:X.v=H);try{if(Y=2,j){if(V||(W="next"),a=j[W]){if(!(a=a.call(j,H)))throw TypeError("iterator result is not an object");if(!a.done)return a;H=a.value,V<2&&(V=0)}else V===1&&(a=j.return)&&a.call(j),V<2&&(H=TypeError("The iterator does not provide a '"+W+"' method"),V=1);j=n}else if((a=(K=X.n<0)?H:D.call(M,X))!==f)break}catch(k){j=n,V=1,H=k}finally{Y=1}}return{value:a,done:K}}}(S,E,A),!0),T}var f={};function _(){}function p(){}function x(){}a=Object.getPrototypeOf;var g=[][u]?a(a([][u]())):(t(a={},u,function(){return this}),a),P=x.prototype=_.prototype=Object.create(g);function O(S){return Object.setPrototypeOf?Object.setPrototypeOf(S,x):(S.__proto__=x,t(S,c,"GeneratorFunction")),S.prototype=Object.create(P),S}return p.prototype=x,t(P,"constructor",x),t(x,"constructor",p),p.displayName="GeneratorFunction",t(x,c,"GeneratorFunction"),t(P),t(P,c,"Generator"),t(P,u,function(){return this}),t(P,"toString",function(){return"[object Generator]"}),(i.exports=r=function(){return{w:o,m:O}},i.exports.__esModule=!0,i.exports.default=i.exports)()}i.exports=r,i.exports.__esModule=!0,i.exports.default=i.exports},41541:function(i,d,e){var t=e(43912);function r(n,a,s,u,c){var o=t(n,a,s,u,c);return o.next().then(function(f){return f.done?f.value:o.next()})}i.exports=r,i.exports.__esModule=!0,i.exports.default=i.exports},43912:function(i,d,e){var t=e(78280),r=e(42457);function n(a,s,u,c,o){return new r(t().w(a,s,u,c),o||Promise)}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports},42457:function(i,d,e){var t=e(60968),r=e(50718);function n(a,s){function u(o,f,_,p){try{var x=a[o](f),g=x.value;return g instanceof t?s.resolve(g.v).then(function(P){u("next",P,_,p)},function(P){u("throw",P,_,p)}):s.resolve(g).then(function(P){x.value=P,_(x)},function(P){return u("throw",P,_,p)})}catch(P){p(P)}}var c;this.next||(r(n.prototype),r(n.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(o,f,_){function p(){return new s(function(x,g){u(o,_,x,g)})}return c=c?c.then(p,p):p()},!0)}i.exports=n,i.exports.__esModule=!0,i.exports.default=i.exports},50718:function(i){function d(e,t,r,n){var a=Object.defineProperty;try{a({},"",{})}catch(s){a=0}i.exports=d=function(u,c,o,f){function _(p,x){d(u,p,function(g){return this._invoke(p,x,g)})}c?a?a(u,c,{value:o,enumerable:!f,configurable:!f,writable:!f}):u[c]=o:(_("next",0),_("throw",1),_("return",2))},i.exports.__esModule=!0,i.exports.default=i.exports,d(e,t,r,n)}i.exports=d,i.exports.__esModule=!0,i.exports.default=i.exports},30278:function(i){function d(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function a(){for(;r.length;)if((n=r.pop())in t)return a.value=n,a.done=!1,a;return a.done=!0,a}}i.exports=d,i.exports.__esModule=!0,i.exports.default=i.exports},18725:function(i,d,e){var t=e(60968),r=e(78280),n=e(41541),a=e(43912),s=e(42457),u=e(30278),c=e(17933);function o(){"use strict";var f=r(),_=f.m(o),p=(Object.getPrototypeOf?Object.getPrototypeOf(_):_.__proto__).constructor;function x(O){var S=typeof O=="function"&&O.constructor;return!!S&&(S===p||(S.displayName||S.name)==="GeneratorFunction")}var g={throw:1,return:2,break:3,continue:3};function P(O){var S,I;return function(E){S||(S={stop:function(){return I(E.a,2)},catch:function(){return E.v},abrupt:function(R,T){return I(E.a,g[R],T)},delegateYield:function(R,T,D){return S.resultName=T,I(E.d,c(R),D)},finish:function(R){return I(E.f,R)}},I=function(R,T,D){E.p=S.prev,E.n=S.next;try{return R(T,D)}finally{S.next=E.n}}),S.resultName&&(S[S.resultName]=E.v,S.resultName=void 0),S.sent=E.v,S.next=E.n;try{return O.call(this,S)}finally{E.p=S.prev,E.n=S.next}}}return(i.exports=o=function(){return{wrap:function(I,E,A,R){return f.w(P(I),E,A,R&&R.reverse())},isGeneratorFunction:x,mark:f.m,awrap:function(I,E){return new t(I,E)},AsyncIterator:s,async:function(I,E,A,R,T){return(x(E)?a:n)(P(I),E,A,R,T)},keys:u,values:c}},i.exports.__esModule=!0,i.exports.default=i.exports)()}i.exports=o,i.exports.__esModule=!0,i.exports.default=i.exports},17933:function(i,d,e){var t=e(43690).default;function r(n){if(n!=null){var a=n[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],s=0;if(a)return a.call(n);if(typeof n.next=="function")return n;if(!isNaN(n.length))return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}}}throw new TypeError(t(n)+" is not iterable")}i.exports=r,i.exports.__esModule=!0,i.exports.default=i.exports},43690:function(i){function d(e){"@babel/helpers - typeof";return i.exports=d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i.exports.__esModule=!0,i.exports.default=i.exports,d(e)}i.exports=d,i.exports.__esModule=!0,i.exports.default=i.exports},46043:function(i,d,e){var t=e(18725)();i.exports=t;try{regeneratorRuntime=t}catch(r){typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},92310:function(i,d){var e,t;(function(){"use strict";var r={}.hasOwnProperty;function n(){for(var u="",c=0;c=j&&(!M||V))H=S(T,0,j);else{var Y=M&&!V&&E?{maxByteLength:E(T)}:void 0;H=new _(j,Y);for(var F=new p(T),K=new p(H),X=g(j,B),Q=0;Q>8&255]},vt=function(ke){return[ke&255,ke>>8&255,ke>>16&255,ke>>24&255]},Je=function(ke){return ke[3]<<24|ke[2]<<16|ke[1]<<8|ke[0]},Ke=function(ke){return de(P(ke),23,4)},Re=function(ke){return de(ke,52,8)},Ce=function(ke,ye,fe){c(ke[H],ye,{configurable:!0,get:function(){return fe(this)[ye]}})},me=function(ke,ye,fe,Oe){var Ee=X(ke),et=g(fe),mt=!!Oe;if(et+ye>Ee.byteLength)throw new ie(F);var pe=Ee.bytes,ge=et+Ee.byteOffset,lt=R(pe,ge,ge+ye);return mt?lt:le(lt)},at=function(ke,ye,fe,Oe,Ee,et){var mt=X(ke),pe=g(fe),ge=Oe(+Ee),lt=!!et;if(pe+ye>mt.byteLength)throw new ie(F);for(var Qe=mt.bytes,Ve=pe+mt.byteOffset,it=0;itet)throw new ie("Wrong offset");if(Oe=Oe===void 0?et-mt:x(Oe),mt+Oe>et)throw new ie(Y);Q(this,{type:V,buffer:ye,byteLength:Oe,byteOffset:mt,bytes:Ee.bytes}),n||(this.buffer=ye,this.byteLength=Oe,this.byteOffset=mt)},Z=k[H],n&&(Ce(N,"byteLength",K),Ce(k,"buffer",X),Ce(k,"byteLength",X),Ce(k,"byteOffset",X)),o(Z,{getInt8:function(ye){return me(this,1,ye)[0]<<24>>24},getUint8:function(ye){return me(this,1,ye)[0]},getInt16:function(ye){var fe=me(this,2,ye,arguments.length>1?arguments[1]:!1);return(fe[1]<<8|fe[0])<<16>>16},getUint16:function(ye){var fe=me(this,2,ye,arguments.length>1?arguments[1]:!1);return fe[1]<<8|fe[0]},getInt32:function(ye){return Je(me(this,4,ye,arguments.length>1?arguments[1]:!1))},getUint32:function(ye){return Je(me(this,4,ye,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ye){return He(me(this,4,ye,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ye){return He(me(this,8,ye,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ye,fe){at(this,1,ye,ze,fe)},setUint8:function(ye,fe){at(this,1,ye,ze,fe)},setInt16:function(ye,fe){at(this,2,ye,st,fe,arguments.length>2?arguments[2]:!1)},setUint16:function(ye,fe){at(this,2,ye,st,fe,arguments.length>2?arguments[2]:!1)},setInt32:function(ye,fe){at(this,4,ye,vt,fe,arguments.length>2?arguments[2]:!1)},setUint32:function(ye,fe){at(this,4,ye,vt,fe,arguments.length>2?arguments[2]:!1)},setFloat32:function(ye,fe){at(this,4,ye,Ke,fe,arguments.length>2?arguments[2]:!1)},setFloat64:function(ye,fe){at(this,8,ye,Re,fe,arguments.length>2?arguments[2]:!1)}});else{var ct=M&&W.name!==j;if(!f(function(){W(1)})||!f(function(){new W(-1)})||f(function(){return new W,new W(1.5),new W(NaN),W.length!==1||ct&&!B})){N=function(ye){return _(this,J),new W(g(ye))},N[H]=J;for(var St=E(W),bt=0,Ie;St.length>bt;)(Ie=St[bt++])in N||u(N,Ie,W[Ie]);J.constructor=N}else ct&&B&&u(W,"name",j);I&&S(Z)!==G&&I(Z,G);var $e=new k(new N(2)),ft=r(Z.setInt8);$e.setInt8(0,2147483648),$e.setInt8(1,2147483649),($e.getInt8(0)||!$e.getInt8(1))&&o(Z,{setInt8:function(ye,fe){ft(this,ye,fe<<24>>24)},setUint8:function(ye,fe){ft(this,ye,fe<<24>>24)}},{unsafe:!0})}T(N,j),T(k,V),i.exports={ArrayBuffer:N,DataView:k}},92670:function(i,d,e){"use strict";var t=e(94029),r=e(51981),n=e(82762),a=e(84233),s=Math.min;i.exports=[].copyWithin||function(c,o){var f=t(this),_=n(f),p=r(c,_),x=r(o,_),g=arguments.length>2?arguments[2]:void 0,P=s((g===void 0?_:r(g,_))-x,_-p),O=1;for(x0;)x in f?f[p]=f[x]:a(f,p),p+=O,x+=O;return f}},75202:function(i,d,e){"use strict";var t=e(94029),r=e(51981),n=e(82762);i.exports=function(s){for(var u=t(this),c=n(u),o=arguments.length,f=r(o>1?arguments[1]:void 0,c),_=o>2?arguments[2]:void 0,p=_===void 0?c:r(_,c);p>f;)u[f++]=s;return u}},59594:function(i,d,e){"use strict";var t=e(90560).forEach,r=e(45601),n=r("forEach");i.exports=n?[].forEach:function(s){return t(this,s,arguments.length>1?arguments[1]:void 0)}},32278:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(94029),a=e(39812),s=e(69034),u=e(85428),c=e(10731),o=e(26006),f=e(53776),_=e(65911),p=e(55174),x=e(59893),g=e(57975),P=e(55266).toArray,O=x("asyncIterator"),S=r(p("Array","values")),I=r(S([]).next),E=function(){return new A(this)},A=function(R){this.iterator=S(R)};A.prototype.next=function(){return I(this.iterator)},i.exports=function(T){var D=this,M=arguments.length,B=M>1?arguments[1]:void 0,j=M>2?arguments[2]:void 0;return new(_("Promise"))(function(V){var H=n(T);B!==void 0&&(B=t(B,j));var Y=f(H,O),F=Y?void 0:o(H)||E,K=a(D)?new D:[],X=Y?s(H,Y):new g(c(u(H,F)));V(P(X,B,K))})}},69478:function(i,d,e){"use strict";var t=e(82762);i.exports=function(r,n,a){for(var s=0,u=arguments.length>2?a:t(n),c=new r(u);u>s;)c[s]=n[s++];return c}},60255:function(i,d,e){"use strict";var t=e(80666),r=e(89945),n=e(94029),a=e(46319),s=e(345),u=e(39812),c=e(82762),o=e(69392),f=e(85428),_=e(26006),p=Array;i.exports=function(g){var P=n(g),O=u(this),S=arguments.length,I=S>1?arguments[1]:void 0,E=I!==void 0;E&&(I=t(I,S>2?arguments[2]:void 0));var A=_(P),R=0,T,D,M,B,j,V;if(A&&!(this===p&&s(A)))for(B=f(P,A),j=B.next,D=O?new this:[];!(M=r(j,B)).done;R++)V=E?a(B,I,[M.value,R],!0):M.value,o(D,R,V);else for(T=c(P),D=O?new this(T):p(T);T>R;R++)V=E?I(P[R],R):P[R],o(D,R,V);return D.length=R,D}},33940:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(1835),a=e(94029),s=e(82762),u=e(2786),c=u.Map,o=u.get,f=u.has,_=u.set,p=r([].push);i.exports=function(g){for(var P=a(this),O=n(P),S=t(g,arguments.length>1?arguments[1]:void 0),I=new c,E=s(O),A=0,R,T;E>A;A++)T=O[A],R=S(T,A,P),f(I,R)?p(o(I,R),T):_(I,R,[T]);return I}},36444:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(1835),a=e(94029),s=e(17818),u=e(82762),c=e(20132),o=e(69478),f=Array,_=r([].push);i.exports=function(p,x,g,P){for(var O=a(p),S=n(O),I=t(x,g),E=c(null),A=u(S),R=0,T,D,M;A>R;R++)M=S[R],D=s(I(M,R,O)),D in E?_(E[D],M):E[D]=[M];if(P&&(T=P(O),T!==f))for(D in E)E[D]=o(T,E[D]);return E}},22999:function(i,d,e){"use strict";var t=e(80524),r=e(51981),n=e(82762),a=function(s){return function(u,c,o){var f=t(u),_=n(f),p=r(o,_),x;if(s&&c!==c){for(;_>p;)if(x=f[p++],x!==x)return!0}else for(;_>p;p++)if((s||p in f)&&f[p]===c)return s||p||0;return!s&&-1}};i.exports={includes:a(!0),indexOf:a(!1)}},53279:function(i,d,e){"use strict";var t=e(80666),r=e(1835),n=e(94029),a=e(82762),s=function(u){var c=u===1;return function(o,f,_){for(var p=n(o),x=r(p),g=a(x),P=t(f,_),O,S;g-- >0;)if(O=x[g],S=P(O,g,p),S)switch(u){case 0:return O;case 1:return g}return c?-1:void 0}};i.exports={findLast:s(0),findLastIndex:s(1)}},90560:function(i,d,e){"use strict";var t=e(80666),r=e(94237),n=e(1835),a=e(94029),s=e(82762),u=e(81427),c=r([].push),o=function(f){var _=f===1,p=f===2,x=f===3,g=f===4,P=f===6,O=f===7,S=f===5||P;return function(I,E,A,R){for(var T=a(I),D=n(T),M=s(D),B=t(E,A),j=0,V=R||u,H=_?V(I,M):p||O?V(I,0):void 0,Y,F;M>j;j++)if((S||j in D)&&(Y=D[j],F=B(Y,j,T),f))if(_)H[j]=F;else if(F)switch(f){case 3:return!0;case 5:return Y;case 6:return j;case 2:c(H,Y)}else switch(f){case 4:return!1;case 7:c(H,Y)}return P?-1:x||g?g:H}};i.exports={forEach:o(0),map:o(1),filter:o(2),some:o(3),every:o(4),find:o(5),findIndex:o(6),filterReject:o(7)}},55009:function(i,d,e){"use strict";var t=e(13743),r=e(80524),n=e(56902),a=e(82762),s=e(45601),u=Math.min,c=[].lastIndexOf,o=!!c&&1/[1].lastIndexOf(1,-0)<0,f=s("lastIndexOf"),_=o||!f;i.exports=_?function(x){if(o)return t(c,this,arguments)||0;var g=r(this),P=a(g),O=P-1;for(arguments.length>1&&(O=u(O,n(arguments[1]))),O<0&&(O=P+O);O>=0;O--)if(O in g&&g[O]===x)return O||0;return-1}:c},17480:function(i,d,e){"use strict";var t=e(3338),r=e(59893),n=e(46573),a=r("species");i.exports=function(s){return n>=51||!t(function(){var u=[],c=u.constructor={};return c[a]=function(){return{foo:1}},u[s](Boolean).foo!==1})}},45601:function(i,d,e){"use strict";var t=e(3338);i.exports=function(r,n){var a=[][r];return!!a&&t(function(){a.call(null,n||function(){return 1},1)})}},16370:function(i,d,e){"use strict";var t=e(63335),r=e(94029),n=e(1835),a=e(82762),s=TypeError,u=function(c){return function(o,f,_,p){var x=r(o),g=n(x),P=a(x);t(f);var O=c?P-1:0,S=c?-1:1;if(_<2)for(;;){if(O in g){p=g[O],O+=S;break}if(O+=S,c?O<0:P<=O)throw new s("Reduce of empty array with no initial value")}for(;c?O>=0:P>O;O+=S)O in g&&(p=f(p,g[O],O,x));return p}};i.exports={left:u(!1),right:u(!0)}},39428:function(i,d,e){"use strict";var t=e(35454),r=e(18589),n=TypeError,a=Object.getOwnPropertyDescriptor,s=t&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(u){return u instanceof TypeError}}();i.exports=s?function(u,c){if(r(u)&&!a(u,"length").writable)throw new n("Cannot set read only .length");return u.length=c}:function(u,c){return u.length=c}},71698:function(i,d,e){"use strict";var t=e(51981),r=e(82762),n=e(69392),a=Array,s=Math.max;i.exports=function(u,c,o){for(var f=r(u),_=t(c,f),p=t(o===void 0?f:o,f),x=a(s(p-_,0)),g=0;_0;)u[p]=u[--p];p!==f++&&(u[p]=_)}return u},s=function(u,c,o,f){for(var _=c.length,p=o.length,x=0,g=0;x<_||g=o||_<0)throw new n("Incorrect index");for(var p=new s(o),x=0;x1?arguments[1]:void 0,x,g,P,O;return a(this),x=p!==void 0,x&&n(p),s(f)?new this:(g=[],x?(P=0,O=t(p,_>2?arguments[2]:void 0),u(f,function(S){r(c,g,O(S,P++))})):u(f,c,{that:g}),new this(g))}},48800:function(i,d,e){"use strict";var t=e(30867);i.exports=function(){return new this(t(arguments))}},40942:function(i,d,e){"use strict";var t=e(20132),r=e(64110),n=e(66477),a=e(80666),s=e(56472),u=e(4112),c=e(62003),o=e(24019),f=e(25587),_=e(51996),p=e(35454),x=e(2074).fastKey,g=e(94844),P=g.set,O=g.getterFor;i.exports={getConstructor:function(S,I,E,A){var R=S(function(j,V){s(j,T),P(j,{type:I,index:t(null),first:void 0,last:void 0,size:0}),p||(j.size=0),u(V)||c(V,j[A],{that:j,AS_ENTRIES:E})}),T=R.prototype,D=O(I),M=function(j,V,H){var Y=D(j),F=B(j,V),K,X;return F?F.value=H:(Y.last=F={index:X=x(V,!0),key:V,value:H,previous:K=Y.last,next:void 0,removed:!1},Y.first||(Y.first=F),K&&(K.next=F),p?Y.size++:j.size++,X!=="F"&&(Y.index[X]=F)),j},B=function(j,V){var H=D(j),Y=x(V),F;if(Y!=="F")return H.index[Y];for(F=H.first;F;F=F.next)if(F.key===V)return F};return n(T,{clear:function(){for(var V=this,H=D(V),Y=H.index,F=H.first;F;)F.removed=!0,F.previous&&(F.previous=F.previous.next=void 0),delete Y[F.index],F=F.next;H.first=H.last=void 0,p?H.size=0:V.size=0},delete:function(j){var V=this,H=D(V),Y=B(V,j);if(Y){var F=Y.next,K=Y.previous;delete H.index[Y.index],Y.removed=!0,K&&(K.next=F),F&&(F.previous=K),H.first===Y&&(H.first=F),H.last===Y&&(H.last=K),p?H.size--:V.size--}return!!Y},forEach:function(V){for(var H=D(this),Y=a(V,arguments.length>1?arguments[1]:void 0),F;F=F?F.next:H.first;)for(Y(F.value,F.key,this);F&&F.removed;)F=F.previous},has:function(V){return!!B(this,V)}}),n(T,E?{get:function(V){var H=B(this,V);return H&&H.value},set:function(V,H){return M(this,V===0?0:V,H)}}:{add:function(V){return M(this,V=V===0?0:V,V)}}),p&&r(T,"size",{configurable:!0,get:function(){return D(this).size}}),R},setStrong:function(S,I,E){var A=I+" Iterator",R=O(I),T=O(A);o(S,I,function(D,M){P(this,{type:A,target:D,state:R(D),kind:M,last:void 0})},function(){for(var D=T(this),M=D.kind,B=D.last;B&&B.removed;)B=B.previous;return!D.target||!(D.last=B=B?B.next:D.state.first)?(D.target=void 0,f(void 0,!0)):f(M==="keys"?B.key:M==="values"?B.value:[B.key,B.value],!1)},E?"entries":"values",!E,!0),_(I)}}},39656:function(i,d,e){"use strict";var t=e(94237),r=e(66477),n=e(2074).getWeakData,a=e(56472),s=e(80449),u=e(4112),c=e(31946),o=e(62003),f=e(90560),_=e(32621),p=e(94844),x=p.set,g=p.getterFor,P=f.find,O=f.findIndex,S=t([].splice),I=0,E=function(T){return T.frozen||(T.frozen=new A)},A=function(){this.entries=[]},R=function(T,D){return P(T.entries,function(M){return M[0]===D})};A.prototype={get:function(T){var D=R(this,T);if(D)return D[1]},has:function(T){return!!R(this,T)},set:function(T,D){var M=R(this,T);M?M[1]=D:this.entries.push([T,D])},delete:function(T){var D=O(this.entries,function(M){return M[0]===T});return~D&&S(this.entries,D,1),!!~D}},i.exports={getConstructor:function(T,D,M,B){var j=T(function(F,K){a(F,V),x(F,{type:D,id:I++,frozen:void 0}),u(K)||o(K,F[B],{that:F,AS_ENTRIES:M})}),V=j.prototype,H=g(D),Y=function(F,K,X){var Q=H(F),W=n(s(K),!0);return W===!0?E(Q).set(K,X):W[Q.id]=X,F};return r(V,{delete:function(F){var K=H(this);if(!c(F))return!1;var X=n(F);return X===!0?E(K).delete(F):X&&_(X,K.id)&&delete X[K.id]},has:function(K){var X=H(this);if(!c(K))return!1;var Q=n(K);return Q===!0?E(X).has(K):Q&&_(Q,X.id)}}),r(V,M?{get:function(K){var X=H(this);if(c(K)){var Q=n(K);return Q===!0?E(X).get(K):Q?Q[X.id]:void 0}},set:function(K,X){return Y(this,K,X)}}:{add:function(K){return Y(this,K,!0)}}),j}}},48059:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),a=e(20865),s=e(2291),u=e(2074),c=e(62003),o=e(56472),f=e(55327),_=e(4112),p=e(31946),x=e(3338),g=e(35221),P=e(94573),O=e(25576);i.exports=function(S,I,E){var A=S.indexOf("Map")!==-1,R=S.indexOf("Weak")!==-1,T=A?"set":"add",D=r[S],M=D&&D.prototype,B=D,j={},V=function(W){var N=n(M[W]);s(M,W,W==="add"?function(k){return N(this,k===0?0:k),this}:W==="delete"?function(J){return R&&!p(J)?!1:N(this,J===0?0:J)}:W==="get"?function(k){return R&&!p(k)?void 0:N(this,k===0?0:k)}:W==="has"?function(k){return R&&!p(k)?!1:N(this,k===0?0:k)}:function(k,Z){return N(this,k===0?0:k,Z),this})},H=a(S,!f(D)||!(R||M.forEach&&!x(function(){new D().entries().next()})));if(H)B=E.getConstructor(I,S,A,T),u.enable();else if(a(S,!0)){var Y=new B,F=Y[T](R?{}:-0,1)!==Y,K=x(function(){Y.has(1)}),X=g(function(W){new D(W)}),Q=!R&&x(function(){for(var W=new D,N=5;N--;)W[T](N,N);return!W.has(-0)});X||(B=I(function(W,N){o(W,M);var J=O(new D,W,B);return _(N)||c(N,J[T],{that:J,AS_ENTRIES:A}),J}),B.prototype=M,M.constructor=B),(K||Q)&&(V("delete"),V("has"),A&&V("get")),(Q||F)&&V(T),R&&M.clear&&delete M.clear}return j[S]=B,t({global:!0,constructor:!0,forced:B!==D},j),P(B,S),R||E.setStrong(B,S,A),B}},32754:function(i,d,e){"use strict";e(34941),e(55410);var t=e(65911),r=e(20132),n=e(31946),a=Object,s=TypeError,u=t("Map"),c=t("WeakMap"),o=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=r(null)};o.prototype.get=function(_,p){return this[_]||(this[_]=p())},o.prototype.next=function(_,p,x){var g=x?this.objectsByIndex[_]||(this.objectsByIndex[_]=new c):this.primitives||(this.primitives=new u),P=g.get(p);return P||g.set(p,P=new o),P};var f=new o;i.exports=function(){var _=f,p=arguments.length,x,g;for(x=0;x"+_+""}},25587:function(i){"use strict";i.exports=function(d,e){return{value:d,done:e}}},68151:function(i,d,e){"use strict";var t=e(35454),r=e(37691),n=e(35012);i.exports=t?function(a,s,u){return r.f(a,s,n(1,u))}:function(a,s,u){return a[s]=u,a}},35012:function(i){"use strict";i.exports=function(d,e){return{enumerable:!(d&1),configurable:!(d&2),writable:!(d&4),value:e}}},69392:function(i,d,e){"use strict";var t=e(17818),r=e(37691),n=e(35012);i.exports=function(a,s,u){var c=t(s);c in a?r.f(a,c,n(0,u)):a[c]=u}},32494:function(i,d,e){"use strict";var t=e(94237),r=e(3338),n=e(85571).start,a=RangeError,s=isFinite,u=Math.abs,c=Date.prototype,o=c.toISOString,f=t(c.getTime),_=t(c.getUTCDate),p=t(c.getUTCFullYear),x=t(c.getUTCHours),g=t(c.getUTCMilliseconds),P=t(c.getUTCMinutes),O=t(c.getUTCMonth),S=t(c.getUTCSeconds);i.exports=r(function(){return o.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!r(function(){o.call(new Date(NaN))})?function(){if(!s(f(this)))throw new a("Invalid time value");var E=this,A=p(E),R=g(E),T=A<0?"-":A>9999?"+":"";return T+n(u(A),T?6:4,0)+"-"+n(O(E)+1,2,0)+"-"+n(_(E),2,0)+"T"+n(x(E),2,0)+":"+n(P(E),2,0)+":"+n(S(E),2,0)+"."+n(R,3,0)+"Z"}:o},77119:function(i,d,e){"use strict";var t=e(80449),r=e(44759),n=TypeError;i.exports=function(a){if(t(this),a==="string"||a==="default")a="string";else if(a!=="number")throw new n("Incorrect hint");return r(this,a)}},64110:function(i,d,e){"use strict";var t=e(86528),r=e(37691);i.exports=function(n,a,s){return s.get&&t(s.get,a,{getter:!0}),s.set&&t(s.set,a,{setter:!0}),r.f(n,a,s)}},2291:function(i,d,e){"use strict";var t=e(55327),r=e(37691),n=e(86528),a=e(29539);i.exports=function(s,u,c,o){o||(o={});var f=o.enumerable,_=o.name!==void 0?o.name:u;if(t(c)&&n(c,_,o),o.global)f?s[u]=c:a(u,c);else{try{o.unsafe?s[u]&&(f=!0):delete s[u]}catch(p){}f?s[u]=c:r.f(s,u,{value:c,enumerable:!1,configurable:!o.nonConfigurable,writable:!o.nonWritable})}return s}},66477:function(i,d,e){"use strict";var t=e(2291);i.exports=function(r,n,a){for(var s in n)t(r,s,n[s],a);return r}},29539:function(i,d,e){"use strict";var t=e(92916),r=Object.defineProperty;i.exports=function(n,a){try{r(t,n,{value:a,configurable:!0,writable:!0})}catch(s){t[n]=a}return a}},84233:function(i,d,e){"use strict";var t=e(40593),r=TypeError;i.exports=function(n,a){if(!delete n[a])throw new r("Cannot delete property "+t(a)+" of "+t(n))}},35454:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})},39311:function(i,d,e){"use strict";var t=e(92916),r=e(11270),n=e(80426),a=t.structuredClone,s=t.ArrayBuffer,u=t.MessageChannel,c=!1,o,f,_,p;if(n)c=function(x){a(x,{transfer:[x]})};else if(s)try{u||(o=r("worker_threads"),o&&(u=o.MessageChannel)),u&&(f=new u,_=new s(2),p=function(x){f.port1.postMessage(null,[x])},_.byteLength===2&&(p(_),_.byteLength===0&&(c=p)))}catch(x){}i.exports=c},81766:function(i){"use strict";var d=typeof document=="object"&&document.all,e=typeof d=="undefined"&&d!==void 0;i.exports={all:d,IS_HTMLDDA:e}},86060:function(i,d,e){"use strict";var t=e(92916),r=e(31946),n=t.document,a=r(n)&&r(n.createElement);i.exports=function(s){return a?n.createElement(s):{}}},66434:function(i){"use strict";var d=TypeError,e=9007199254740991;i.exports=function(t){if(t>e)throw d("Maximum allowed index exceeded");return t}},52109:function(i){"use strict";i.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},66749:function(i){"use strict";i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9518:function(i,d,e){"use strict";var t=e(86060),r=t("span").classList,n=r&&r.constructor&&r.constructor.prototype;i.exports=n===Object.prototype?void 0:n},78177:function(i,d,e){"use strict";var t=e(66011),r=t.match(/firefox\/(\d+)/i);i.exports=!!r&&+r[1]},66994:function(i,d,e){"use strict";var t=e(91821),r=e(90946);i.exports=!t&&!r&&typeof window=="object"&&typeof document=="object"},90843:function(i){"use strict";i.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},91821:function(i){"use strict";i.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},17687:function(i,d,e){"use strict";var t=e(66011);i.exports=/MSIE|Trident/.test(t)},1908:function(i,d,e){"use strict";var t=e(66011);i.exports=/ipad|iphone|ipod/i.test(t)&&typeof Pebble!="undefined"},70695:function(i,d,e){"use strict";var t=e(66011);i.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)},90946:function(i,d,e){"use strict";var t=e(92916),r=e(29076);i.exports=r(t.process)==="process"},44914:function(i,d,e){"use strict";var t=e(66011);i.exports=/web0s(?!.*chrome)/i.test(t)},66011:function(i){"use strict";i.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},46573:function(i,d,e){"use strict";var t=e(92916),r=e(66011),n=t.process,a=t.Deno,s=n&&n.versions||a&&a.version,u=s&&s.v8,c,o;u&&(c=u.split("."),o=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!o&&r&&(c=r.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=r.match(/Chrome\/(\d+)/),c&&(o=+c[1]))),i.exports=o},19684:function(i,d,e){"use strict";var t=e(66011),r=t.match(/AppleWebKit\/(\d+)\./);i.exports=!!r&&+r[1]},46678:function(i){"use strict";i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80739:function(i,d,e){"use strict";var t=e(94237),r=Error,n=t("".replace),a=function(c){return String(new r(c).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);i.exports=function(c,o){if(u&&typeof c=="string"&&!r.prepareStackTrace)for(;o--;)c=n(c,s,"");return c}},61888:function(i,d,e){"use strict";var t=e(68151),r=e(80739),n=e(25406),a=Error.captureStackTrace;i.exports=function(s,u,c,o){n&&(a?a(s,u):t(s,"stack",r(c,o)))}},25406:function(i,d,e){"use strict";var t=e(3338),r=e(35012);i.exports=!t(function(){var n=new Error("a");return"stack"in n?(Object.defineProperty(n,"stack",r(1,7)),n.stack!==7):!0})},13367:function(i,d,e){"use strict";var t=e(35454),r=e(3338),n=e(80449),a=e(7825),s=Error.prototype.toString,u=r(function(){if(t){var c=Object.create(Object.defineProperty({},"name",{get:function(){return this===c}}));if(s.call(c)!=="true")return!0}return s.call({message:1,name:2})!=="2: 1"||s.call({})!=="Error"});i.exports=u?function(){var o=n(this),f=a(o.name,"Error"),_=a(o.message);return f?_?f+": "+_:f:_}:s},94488:function(i,d,e){"use strict";var t=e(92916),r=e(71256).f,n=e(68151),a=e(2291),s=e(29539),u=e(24538),c=e(20865);i.exports=function(o,f){var _=o.target,p=o.global,x=o.stat,g,P,O,S,I,E;if(p?P=t:x?P=t[_]||s(_,{}):P=(t[_]||{}).prototype,P)for(O in f){if(I=f[O],o.dontCallGetSet?(E=r(P,O),S=E&&E.value):S=P[O],g=c(p?O:_+(x?".":"#")+O,o.forced),!g&&S!==void 0){if(typeof I==typeof S)continue;u(I,S)}(o.sham||S&&S.sham)&&n(I,"sham",!0),a(P,O,I,o)}}},3338:function(i){"use strict";i.exports=function(d){try{return!!d()}catch(e){return!0}}},8662:function(i,d,e){"use strict";e(44001);var t=e(34114),r=e(2291),n=e(88736),a=e(3338),s=e(59893),u=e(68151),c=s("species"),o=RegExp.prototype;i.exports=function(f,_,p,x){var g=s(f),P=!a(function(){var E={};return E[g]=function(){return 7},""[f](E)!==7}),O=P&&!a(function(){var E=!1,A=/a/;return f==="split"&&(A={},A.constructor={},A.constructor[c]=function(){return A},A.flags="",A[g]=/./[g]),A.exec=function(){return E=!0,null},A[g](""),!E});if(!P||!O||p){var S=t(/./[g]),I=_(g,""[f],function(E,A,R,T,D){var M=t(E),B=A.exec;return B===n||B===o.exec?P&&!D?{done:!0,value:S(A,R,T)}:{done:!0,value:M(R,A,T)}:{done:!1}});r(String.prototype,f,I[0]),r(o,g,I[1])}x&&u(o[g],"sham",!0)}},3372:function(i,d,e){"use strict";var t=e(18589),r=e(82762),n=e(66434),a=e(80666),s=function(u,c,o,f,_,p,x,g){for(var P=_,O=0,S=x?a(x,g):!1,I,E;O0&&t(I)?(E=r(I),P=s(u,c,I,E,P,p-1)-1):(n(P+1),u[P]=I),P++),O++;return P};i.exports=s},13247:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})},13743:function(i,d,e){"use strict";var t=e(40486),r=Function.prototype,n=r.apply,a=r.call;i.exports=typeof Reflect=="object"&&Reflect.apply||(t?a.bind(n):function(){return a.apply(n,arguments)})},80666:function(i,d,e){"use strict";var t=e(34114),r=e(63335),n=e(40486),a=t(t.bind);i.exports=function(s,u){return r(s),u===void 0?s:n?a(s,u):function(){return s.apply(u,arguments)}}},40486:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")})},4645:function(i,d,e){"use strict";var t=e(94237),r=e(63335),n=e(31946),a=e(32621),s=e(30867),u=e(40486),c=Function,o=t([].concat),f=t([].join),_={},p=function(x,g,P){if(!a(_,g)){for(var O=[],S=0;S]*>)/g,o=/\$([$&'`]|\d{1,2})/g;i.exports=function(f,_,p,x,g,P){var O=p+f.length,S=x.length,I=o;return g!==void 0&&(g=r(g),I=c),s(P,I,function(E,A){var R;switch(a(A,0)){case"$":return"$";case"&":return f;case"`":return u(_,0,p);case"'":return u(_,O);case"<":R=g[u(A,1,-1)];break;default:var T=+A;if(T===0)return E;if(T>S){var D=n(T/10);return D===0?E:D<=S?x[D-1]===void 0?a(A,1):x[D-1]+a(A,1):E}R=x[T-1]}return R===void 0?"":R})}},92916:function(i,d,e){"use strict";var t=function(r){return r&&r.Math===Math&&r};i.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof e.g=="object"&&e.g)||t(typeof this=="object"&&this)||function(){return this}()||Function("return this")()},32621:function(i,d,e){"use strict";var t=e(94237),r=e(94029),n=t({}.hasOwnProperty);i.exports=Object.hasOwn||function(s,u){return n(r(s),u)}},54406:function(i){"use strict";i.exports={}},61810:function(i){"use strict";i.exports=function(d,e){try{arguments.length===1?console.error(d):console.error(d,e)}catch(t){}}},75171:function(i,d,e){"use strict";var t=e(65911);i.exports=t("document","documentElement")},46796:function(i,d,e){"use strict";var t=e(35454),r=e(3338),n=e(86060);i.exports=!t&&!r(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7})},61618:function(i){"use strict";var d=Array,e=Math.abs,t=Math.pow,r=Math.floor,n=Math.log,a=Math.LN2,s=function(c,o,f){var _=d(f),p=f*8-o-1,x=(1<>1,P=o===23?t(2,-24)-t(2,-77):0,O=c<0||c===0&&1/c<0?1:0,S=0,I,E,A;for(c=e(c),c!==c||c===1/0?(E=c!==c?1:0,I=x):(I=r(n(c)/a),A=t(2,-I),c*A<1&&(I--,A*=2),I+g>=1?c+=P/A:c+=P*t(2,1-g),c*A>=2&&(I++,A/=2),I+g>=x?(E=0,I=x):I+g>=1?(E=(c*A-1)*t(2,o),I+=g):(E=c*t(2,g-1)*t(2,o),I=0));o>=8;)_[S++]=E&255,E/=256,o-=8;for(I=I<0;)_[S++]=I&255,I/=256,p-=8;return _[--S]|=O*128,_},u=function(c,o){var f=c.length,_=f*8-o-1,p=(1<<_)-1,x=p>>1,g=_-7,P=f-1,O=c[P--],S=O&127,I;for(O>>=7;g>0;)S=S*256+c[P--],g-=8;for(I=S&(1<<-g)-1,S>>=-g,g+=o;g>0;)I=I*256+c[P--],g-=8;if(S===0)S=1-x;else{if(S===p)return I?NaN:O?-1/0:1/0;I+=t(2,o),S-=x}return(O?-1:1)*I*t(2,S-o)};i.exports={pack:s,unpack:u}},1835:function(i,d,e){"use strict";var t=e(94237),r=e(3338),n=e(29076),a=Object,s=t("".split);i.exports=r(function(){return!a("z").propertyIsEnumerable(0)})?function(u){return n(u)==="String"?s(u,""):a(u)}:a},25576:function(i,d,e){"use strict";var t=e(55327),r=e(31946),n=e(58218);i.exports=function(a,s,u){var c,o;return n&&t(c=s.constructor)&&c!==u&&r(o=c.prototype)&&o!==u.prototype&&n(a,o),a}},15212:function(i,d,e){"use strict";var t=e(94237),r=e(55327),n=e(77398),a=t(Function.toString);r(n.inspectSource)||(n.inspectSource=function(s){return a(s)}),i.exports=n.inspectSource},73068:function(i,d,e){"use strict";var t=e(31946),r=e(68151);i.exports=function(n,a){t(a)&&"cause"in a&&r(n,"cause",a.cause)}},2074:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(54406),a=e(31946),s=e(32621),u=e(37691).f,c=e(80689),o=e(53393),f=e(12477),_=e(6145),p=e(13247),x=!1,g=_("meta"),P=0,O=function(T){u(T,g,{value:{objectID:"O"+P++,weakData:{}}})},S=function(T,D){if(!a(T))return typeof T=="symbol"?T:(typeof T=="string"?"S":"P")+T;if(!s(T,g)){if(!f(T))return"F";if(!D)return"E";O(T)}return T[g].objectID},I=function(T,D){if(!s(T,g)){if(!f(T))return!0;if(!D)return!1;O(T)}return T[g].weakData},E=function(T){return p&&x&&f(T)&&!s(T,g)&&O(T),T},A=function(){R.enable=function(){},x=!0;var T=c.f,D=r([].splice),M={};M[g]=1,T(M).length&&(c.f=function(B){for(var j=T(B),V=0,H=j.length;Vj;j++)if(H=X(P[j]),H&&c(g,H))return H;return new x(!1)}M=o(P,B)}for(Y=A?P.next:M.next;!(F=r(Y,M)).done;){try{H=X(F.value)}catch(Q){_(M,"throw",Q)}if(typeof H=="object"&&H&&c(g,H))return H}return new x(!1)}},67996:function(i,d,e){"use strict";var t=e(89945),r=e(80449),n=e(53776);i.exports=function(a,s,u){var c,o;r(a);try{if(c=n(a,"return"),!c){if(s==="throw")throw u;return u}c=t(c,a)}catch(f){o=!0,c=f}if(s==="throw")throw u;if(o)throw c;return r(c),u}},83126:function(i,d,e){"use strict";var t=e(46571).IteratorPrototype,r=e(20132),n=e(35012),a=e(94573),s=e(48074),u=function(){return this};i.exports=function(c,o,f,_){var p=o+" Iterator";return c.prototype=r(t,{next:n(+!_,f)}),a(c,p,!1,!0),s[p]=u,c}},20547:function(i,d,e){"use strict";var t=e(89945),r=e(20132),n=e(68151),a=e(66477),s=e(59893),u=e(94844),c=e(53776),o=e(46571).IteratorPrototype,f=e(25587),_=e(67996),p=s("toStringTag"),x="IteratorHelper",g="WrapForValidIterator",P=u.set,O=function(E){var A=u.getterFor(E?g:x);return a(r(o),{next:function(){var T=A(this);if(E)return T.nextHandler();try{var D=T.done?void 0:T.nextHandler();return f(D,T.done)}catch(M){throw T.done=!0,M}},return:function(){var R=A(this),T=R.iterator;if(R.done=!0,E){var D=c(T,"return");return D?t(D,T):f(void 0,!0)}if(R.inner)try{_(R.inner.iterator,"normal")}catch(M){return _(T,"throw",M)}return _(T,"normal"),f(void 0,!0)}})},S=O(!0),I=O(!1);n(I,p,"Iterator Helper"),i.exports=function(E,A){var R=function(D,M){M?(M.iterator=D.iterator,M.next=D.next):M=D,M.type=A?g:x,M.nextHandler=E,M.counter=0,M.done=!1,P(this,M)};return R.prototype=A?S:I,R}},24019:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(16697),a=e(8090),s=e(55327),u=e(83126),c=e(53456),o=e(58218),f=e(94573),_=e(68151),p=e(2291),x=e(59893),g=e(48074),P=e(46571),O=a.PROPER,S=a.CONFIGURABLE,I=P.IteratorPrototype,E=P.BUGGY_SAFARI_ITERATORS,A=x("iterator"),R="keys",T="values",D="entries",M=function(){return this};i.exports=function(B,j,V,H,Y,F,K){u(V,j,H);var X=function(se){if(se===Y&&k)return k;if(!E&&se&&se in N)return N[se];switch(se){case R:return function(){return new V(this,se)};case T:return function(){return new V(this,se)};case D:return function(){return new V(this,se)}}return function(){return new V(this)}},Q=j+" Iterator",W=!1,N=B.prototype,J=N[A]||N["@@iterator"]||Y&&N[Y],k=!E&&J||X(Y),Z=j==="Array"&&N.entries||J,G,ee,ie;if(Z&&(G=c(Z.call(new B)),G!==Object.prototype&&G.next&&(!n&&c(G)!==I&&(o?o(G,I):s(G[A])||p(G,A,M)),f(G,Q,!0,!0),n&&(g[Q]=M))),O&&Y===T&&J&&J.name!==T&&(!n&&S?_(N,"name",T):(W=!0,k=function(){return r(J,this)})),Y)if(ee={values:X(T),keys:F?k:X(R),entries:X(D)},K)for(ie in ee)(E||W||!(ie in N))&&p(N,ie,ee[ie]);else t({target:j,proto:!0,forced:E||W},ee);return(!n||K)&&N[A]!==k&&p(N,A,k,{name:Y}),g[j]=k,ee}},24771:function(i,d,e){"use strict";var t=e(89945),r=e(2155),n=function(a,s){return[s,a]};i.exports=function(){return t(r,this,n)}},2155:function(i,d,e){"use strict";var t=e(89945),r=e(63335),n=e(80449),a=e(10731),s=e(20547),u=e(46319),c=s(function(){var o=this.iterator,f=n(t(this.next,o)),_=this.done=!!f.done;if(!_)return u(o,this.mapper,[f.value,this.counter++],!0)});i.exports=function(f){return n(this),r(f),new c(a(this),{mapper:f})}},46571:function(i,d,e){"use strict";var t=e(3338),r=e(55327),n=e(31946),a=e(20132),s=e(53456),u=e(2291),c=e(59893),o=e(16697),f=c("iterator"),_=!1,p,x,g;[].keys&&(g=[].keys(),"next"in g?(x=s(s(g)),x!==Object.prototype&&(p=x)):_=!0);var P=!n(p)||t(function(){var O={};return p[f].call(O)!==O});P?p={}:o&&(p=a(p)),r(p[f])||u(p,f,function(){return this}),i.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:_}},48074:function(i){"use strict";i.exports={}},82762:function(i,d,e){"use strict";var t=e(61578);i.exports=function(r){return t(r.length)}},86528:function(i,d,e){"use strict";var t=e(94237),r=e(3338),n=e(55327),a=e(32621),s=e(35454),u=e(8090).CONFIGURABLE,c=e(15212),o=e(94844),f=o.enforce,_=o.get,p=String,x=Object.defineProperty,g=t("".slice),P=t("".replace),O=t([].join),S=s&&!r(function(){return x(function(){},"length",{value:8}).length!==8}),I=String(String).split("String"),E=i.exports=function(A,R,T){g(p(R),0,7)==="Symbol("&&(R="["+P(p(R),/^Symbol\(([^)]*)\)/,"$1")+"]"),T&&T.getter&&(R="get "+R),T&&T.setter&&(R="set "+R),(!a(A,"name")||u&&A.name!==R)&&(s?x(A,"name",{value:R,configurable:!0}):A.name=R),S&&T&&a(T,"arity")&&A.length!==T.arity&&x(A,"length",{value:T.arity});try{T&&a(T,"constructor")&&T.constructor?s&&x(A,"prototype",{writable:!1}):A.prototype&&(A.prototype=void 0)}catch(M){}var D=f(A);return a(D,"source")||(D.source=O(I,typeof R=="string"?R:"")),A};Function.prototype.toString=E(function(){return n(this)&&_(this).source||c(this)},"toString")},2786:function(i,d,e){"use strict";var t=e(94237),r=Map.prototype;i.exports={Map,set:t(r.set),get:t(r.get),has:t(r.has),remove:t(r.delete),proto:r}},95037:function(i,d,e){"use strict";var t=e(94237),r=e(43545),n=e(2786),a=n.Map,s=n.proto,u=t(s.forEach),c=t(s.entries),o=c(new a).next;i.exports=function(f,_,p){return p?r({iterator:c(f),next:o},function(x){return _(x[1],x[0])}):u(f,_)}},14615:function(i,d,e){"use strict";var t=e(89945),r=e(63335),n=e(55327),a=e(80449),s=TypeError;i.exports=function(c,o){var f=a(this),_=r(f.get),p=r(f.has),x=r(f.set),g=arguments.length>2?arguments[2]:void 0,P;if(!n(o)&&!n(g))throw new s("At least one callback required");return t(p,f,c)?(P=t(_,f,c),n(o)&&(P=o(P),t(x,f,c,P))):n(g)&&(P=g(),t(x,f,c,P)),P}},10014:function(i){"use strict";var d=Math.expm1,e=Math.exp;i.exports=!d||d(10)>22025.465794806718||d(10)<22025.465794806718||d(-2e-17)!==-2e-17?function(r){var n=+r;return n===0?n:n>-1e-6&&n<1e-6?n+n*n/2:e(n)-1}:d},35175:function(i,d,e){"use strict";var t=e(77056),r=.0009765625,n=65504,a=6103515625e-14;i.exports=Math.f16round||function(u){return t(u,r,n,a)}},77056:function(i,d,e){"use strict";var t=e(37666),r=Math.abs,n=2220446049250313e-31,a=1/n,s=function(u){return u+a-a};i.exports=function(u,c,o,f){var _=+u,p=r(_),x=t(_);if(po||P!==P?x*(1/0):x*P}},14894:function(i,d,e){"use strict";var t=e(77056),r=11920928955078125e-23,n=34028234663852886e22,a=11754943508222875e-54;i.exports=Math.fround||function(u){return t(u,r,n,a)}},53309:function(i){"use strict";var d=Math.log,e=Math.LOG10E;i.exports=Math.log10||function(r){return d(r)*e}},25726:function(i){"use strict";var d=Math.log;i.exports=Math.log1p||function(t){var r=+t;return r>-1e-8&&r<1e-8?r-r*r/2:d(1+r)}},24619:function(i){"use strict";i.exports=Math.scale||function(e,t,r,n,a){var s=+e,u=+t,c=+r,o=+n,f=+a;return s!==s||u!==u||c!==c||o!==o||f!==f?NaN:s===1/0||s===-1/0?s:(s-u)*(f-o)/(c-u)+o}},37666:function(i){"use strict";i.exports=Math.sign||function(e){var t=+e;return t===0||t!==t?t:t<0?-1:1}},3312:function(i){"use strict";var d=Math.ceil,e=Math.floor;i.exports=Math.trunc||function(r){var n=+r;return(n>0?e:d)(n)}},72933:function(i,d,e){"use strict";var t=e(92916),r=e(80666),n=e(71256).f,a=e(28887).set,s=e(66790),u=e(70695),c=e(1908),o=e(44914),f=e(90946),_=t.MutationObserver||t.WebKitMutationObserver,p=t.document,x=t.process,g=t.Promise,P=n(t,"queueMicrotask"),O=P&&P.value,S,I,E,A,R;if(!O){var T=new s,D=function(){var M,B;for(f&&(M=x.domain)&&M.exit();B=T.get();)try{B()}catch(j){throw T.head&&S(),j}M&&M.enter()};!u&&!f&&!o&&_&&p?(I=!0,E=p.createTextNode(""),new _(D).observe(E,{characterData:!0}),S=function(){E.data=I=!I}):!c&&g&&g.resolve?(A=g.resolve(void 0),A.constructor=g,R=r(A.then,A),S=function(){R(D)}):f?S=function(){x.nextTick(D)}:(a=r(a,t),S=function(){a(D)}),O=function(M){T.head||S(),T.add(M)}}i.exports=O},82778:function(i,d,e){"use strict";var t=e(3338);i.exports=!t(function(){var r="9007199254740993",n=JSON.rawJSON(r);return!JSON.isRawJSON(n)||JSON.stringify(n)!==r})},73446:function(i,d,e){"use strict";var t=e(63335),r=TypeError,n=function(a){var s,u;this.promise=new a(function(c,o){if(s!==void 0||u!==void 0)throw new r("Bad Promise constructor");s=c,u=o}),this.resolve=t(s),this.reject=t(u)};i.exports.f=function(a){return new n(a)}},7825:function(i,d,e){"use strict";var t=e(69905);i.exports=function(r,n){return r===void 0?arguments.length<2?"":n:t(r)}},2279:function(i){"use strict";var d=RangeError;i.exports=function(e){if(e===e)return e;throw new d("NaN is not allowed")}},41696:function(i,d,e){"use strict";var t=e(44639),r=TypeError;i.exports=function(n){if(t(n))throw new r("The method doesn't accept regular expressions");return n}},1222:function(i,d,e){"use strict";var t=e(92916),r=t.isFinite;i.exports=Number.isFinite||function(a){return typeof a=="number"&&r(a)}},31280:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),a=e(69905),s=e(52971).trim,u=e(19268),c=n("".charAt),o=t.parseFloat,f=t.Symbol,_=f&&f.iterator,p=1/o(u+"-0")!==-1/0||_&&!r(function(){o(Object(_))});i.exports=p?function(g){var P=s(a(g)),O=o(P);return O===0&&c(P,0)==="-"?-0:O}:o},52446:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),a=e(69905),s=e(52971).trim,u=e(19268),c=t.parseInt,o=t.Symbol,f=o&&o.iterator,_=/^[+-]?0x/i,p=n(_.exec),x=c(u+"08")!==8||c(u+"0x16")!==22||f&&!r(function(){c(Object(f))});i.exports=x?function(P,O){var S=s(a(P));return c(S,O>>>0||(p(_,S)?16:10))}:c},17243:function(i,d,e){"use strict";var t=e(94844),r=e(83126),n=e(25587),a=e(4112),s=e(31946),u=e(64110),c=e(35454),o="Incorrect Iterator.range arguments",f="NumericRangeIterator",_=t.set,p=t.getterFor(f),x=RangeError,g=TypeError,P=r(function(I,E,A,R,T,D){if(typeof I!=R||E!==1/0&&E!==-1/0&&typeof E!=R)throw new g(o);if(I===1/0||I===-1/0)throw new x(o);var M=E>I,B=!1,j;if(A===void 0)j=void 0;else if(s(A))j=A.step,B=!!A.inclusive;else if(typeof A==R)j=A;else throw new g(o);if(a(j)&&(j=M?D:-D),typeof j!=R)throw new g(o);if(j===1/0||j===-1/0||j===T&&I!==E)throw new x(o);var V=I!==I||E!==E||j!==j||E>I!=j>T;_(this,{type:f,start:I,end:E,step:j,inclusive:B,hitsEnd:V,currentCount:T,zero:T}),c||(this.start=I,this.end=E,this.step=j,this.inclusive=B)},f,function(){var I=p(this);if(I.hitsEnd)return n(void 0,!0);var E=I.start,A=I.end,R=I.step,T=E+R*I.currentCount++;T===A&&(I.hitsEnd=!0);var D=I.inclusive,M;return A>E?M=D?T>A:T>=A:M=D?A>T:A>=T,M?(I.hitsEnd=!0,n(void 0,!0)):n(T,!1)}),O=function(S){u(P.prototype,S,{get:function(){return p(this)[S]},set:function(){},configurable:!0,enumerable:!1})};c&&(O("start"),O("end"),O("inclusive"),O("step")),i.exports=P},80530:function(i,d,e){"use strict";var t=e(35454),r=e(94237),n=e(89945),a=e(3338),s=e(7733),u=e(92635),c=e(27597),o=e(94029),f=e(1835),_=Object.assign,p=Object.defineProperty,x=r([].concat);i.exports=!_||a(function(){if(t&&_({b:1},_(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},P={},O=Symbol("assign detection"),S="abcdefghijklmnopqrst";return g[O]=7,S.split("").forEach(function(I){P[I]=I}),_({},g)[O]!==7||s(_({},P)).join("")!==S})?function(P,O){for(var S=o(P),I=arguments.length,E=1,A=u.f,R=c.f;I>E;)for(var T=f(arguments[E++]),D=A?x(s(T),A(T)):s(T),M=D.length,B=0,j;M>B;)j=D[B++],(!t||n(R,T,j))&&(S[j]=T[j]);return S}:_},20132:function(i,d,e){"use strict";var t=e(80449),r=e(55666),n=e(46678),a=e(54406),s=e(75171),u=e(86060),c=e(11898),o=">",f="<",_="prototype",p="script",x=c("IE_PROTO"),g=function(){},P=function(A){return f+p+o+A+f+"/"+p+o},O=function(A){A.write(P("")),A.close();var R=A.parentWindow.Object;return A=null,R},S=function(){var A=u("iframe"),R="java"+p+":",T;return A.style.display="none",s.appendChild(A),A.src=String(R),T=A.contentWindow.document,T.open(),T.write(P("document.F=Object")),T.close(),T.F},I,E=function(){try{I=new ActiveXObject("htmlfile")}catch(R){}E=typeof document!="undefined"?document.domain&&I?O(I):S():O(I);for(var A=n.length;A--;)delete E[_][n[A]];return E()};a[x]=!0,i.exports=Object.create||function(R,T){var D;return R!==null?(g[_]=t(R),D=new g,g[_]=null,D[x]=R):D=E(),T===void 0?D:r.f(D,T)}},55666:function(i,d,e){"use strict";var t=e(35454),r=e(93199),n=e(37691),a=e(80449),s=e(80524),u=e(7733);d.f=t&&!r?Object.defineProperties:function(o,f){a(o);for(var _=s(f),p=u(f),x=p.length,g=0,P;x>g;)n.f(o,P=p[g++],_[P]);return o}},37691:function(i,d,e){"use strict";var t=e(35454),r=e(46796),n=e(93199),a=e(80449),s=e(17818),u=TypeError,c=Object.defineProperty,o=Object.getOwnPropertyDescriptor,f="enumerable",_="configurable",p="writable";d.f=t?n?function(g,P,O){if(a(g),P=s(P),a(O),typeof g=="function"&&P==="prototype"&&"value"in O&&p in O&&!O[p]){var S=o(g,P);S&&S[p]&&(g[P]=O.value,O={configurable:_ in O?O[_]:S[_],enumerable:f in O?O[f]:S[f],writable:!1})}return c(g,P,O)}:c:function(g,P,O){if(a(g),P=s(P),a(O),r)try{return c(g,P,O)}catch(S){}if("get"in O||"set"in O)throw new u("Accessors not supported");return"value"in O&&(g[P]=O.value),g}},71256:function(i,d,e){"use strict";var t=e(35454),r=e(89945),n=e(27597),a=e(35012),s=e(80524),u=e(17818),c=e(32621),o=e(46796),f=Object.getOwnPropertyDescriptor;d.f=t?f:function(p,x){if(p=s(p),x=u(x),o)try{return f(p,x)}catch(g){}if(c(p,x))return a(!r(n.f,p,x),p[x])}},53393:function(i,d,e){"use strict";var t=e(29076),r=e(80524),n=e(80689).f,a=e(71698),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(c){try{return n(c)}catch(o){return a(s)}};i.exports.f=function(o){return s&&t(o)==="Window"?u(o):n(r(o))}},80689:function(i,d,e){"use strict";var t=e(97486),r=e(46678),n=r.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(s){return t(s,n)}},92635:function(i,d){"use strict";d.f=Object.getOwnPropertySymbols},53456:function(i,d,e){"use strict";var t=e(32621),r=e(55327),n=e(94029),a=e(11898),s=e(4870),u=a("IE_PROTO"),c=Object,o=c.prototype;i.exports=s?c.getPrototypeOf:function(f){var _=n(f);if(t(_,u))return _[u];var p=_.constructor;return r(p)&&_ instanceof p?p.prototype:_ instanceof c?o:null}},12477:function(i,d,e){"use strict";var t=e(3338),r=e(31946),n=e(29076),a=e(51424),s=Object.isExtensible,u=t(function(){s(1)});i.exports=u||a?function(o){return!r(o)||a&&n(o)==="ArrayBuffer"?!1:s?s(o):!0}:s},16332:function(i,d,e){"use strict";var t=e(94237);i.exports=t({}.isPrototypeOf)},20574:function(i,d,e){"use strict";var t=e(94844),r=e(83126),n=e(25587),a=e(32621),s=e(7733),u=e(94029),c="Object Iterator",o=t.set,f=t.getterFor(c);i.exports=r(function(p,x){var g=u(p);o(this,{type:c,mode:x,object:g,keys:s(g),index:0})},"Object",function(){for(var p=f(this),x=p.keys;;){if(x===null||p.index>=x.length)return p.object=p.keys=null,n(void 0,!0);var g=x[p.index++],P=p.object;if(a(P,g)){switch(p.mode){case"keys":return n(g,!1);case"values":return n(P[g],!1)}return n([g,P[g]],!1)}}})},97486:function(i,d,e){"use strict";var t=e(94237),r=e(32621),n=e(80524),a=e(22999).indexOf,s=e(54406),u=t([].push);i.exports=function(c,o){var f=n(c),_=0,p=[],x;for(x in f)!r(s,x)&&r(f,x)&&u(p,x);for(;o.length>_;)r(f,x=o[_++])&&(~a(p,x)||u(p,x));return p}},7733:function(i,d,e){"use strict";var t=e(97486),r=e(46678);i.exports=Object.keys||function(a){return t(a,r)}},27597:function(i,d){"use strict";var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);d.f=r?function(a){var s=t(this,a);return!!s&&s.enumerable}:e},25837:function(i,d,e){"use strict";var t=e(16697),r=e(92916),n=e(3338),a=e(19684);i.exports=t||!n(function(){if(!(a&&a<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete r[s]}})},58218:function(i,d,e){"use strict";var t=e(37758),r=e(80449),n=e(557);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a=!1,s={},u;try{u=t(Object.prototype,"__proto__","set"),u(s,[]),a=s instanceof Array}catch(c){}return function(o,f){return r(o),n(f),a?u(o,f):o.__proto__=f,o}}():void 0)},88698:function(i,d,e){"use strict";var t=e(35454),r=e(3338),n=e(94237),a=e(53456),s=e(7733),u=e(80524),c=e(27597).f,o=n(c),f=n([].push),_=t&&r(function(){var x=Object.create(null);return x[2]=2,!o(x,2)}),p=function(x){return function(g){for(var P=u(g),O=s(P),S=_&&a(P)===null,I=O.length,E=0,A=[],R;I>E;)R=O[E++],(!t||(S?R in P:o(P,R)))&&f(A,x?[R,P[R]]:P[R]);return A}};i.exports={entries:p(!0),values:p(!1)}},28488:function(i,d,e){"use strict";var t=e(68527),r=e(97607);i.exports=t?{}.toString:function(){return"[object "+r(this)+"]"}},44759:function(i,d,e){"use strict";var t=e(89945),r=e(55327),n=e(31946),a=TypeError;i.exports=function(s,u){var c,o;if(u==="string"&&r(c=s.toString)&&!n(o=t(c,s))||r(c=s.valueOf)&&!n(o=t(c,s))||u!=="string"&&r(c=s.toString)&&!n(o=t(c,s)))return o;throw new a("Can't convert object to primitive value")}},48662:function(i,d,e){"use strict";var t=e(65911),r=e(94237),n=e(80689),a=e(92635),s=e(80449),u=r([].concat);i.exports=t("Reflect","ownKeys")||function(o){var f=n.f(s(o)),_=a.f;return _?u(f,_(o)):f}},70913:function(i,d,e){"use strict";var t=e(94237),r=e(32621),n=SyntaxError,a=parseInt,s=String.fromCharCode,u=t("".charAt),c=t("".slice),o=t(/./.exec),f={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":` +`,"\\r":"\r","\\t":" "},_=/^[\da-f]{4}$/i,p=/^[\u0000-\u001F]$/;i.exports=function(x,g){for(var P=!0,O="";g0&&(!B.multiline||B.multiline&&P(V,B.lastIndex-1)!==` +`)&&(G="(?: "+G+")",ie=" "+ie,ee++),F=new RegExp("^(?:"+G+")",Z)),R&&(F=new RegExp("^"+G+"$(?!\\s)",Z)),E&&(K=B.lastIndex),X=t(x,k?F:B,ie),k?X?(X.input=I(X.input,ee),X[0]=I(X[0],ee),X.index=B.lastIndex,B.lastIndex+=X[0].length):B.lastIndex=0:E&&X&&(B.lastIndex=B.global?X.index+X[0].length:K),R&&X&&X.length>1&&t(p,X[0],F,function(){for(Q=1;Qb)","g");return a.exec("b").groups.a!=="b"||"b".replace(a,"$c")!=="bc"})},95955:function(i,d,e){"use strict";var t=e(4112),r=TypeError;i.exports=function(n){if(t(n))throw new r("Can't call method on "+n);return n}},88134:function(i){"use strict";i.exports=function(d,e){return d===e||d!==d&&e!==e}},5370:function(i){"use strict";i.exports=Object.is||function(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}},93222:function(i,d,e){"use strict";var t=e(92916),r=e(13743),n=e(55327),a=e(90843),s=e(66011),u=e(30867),c=e(57106),o=t.Function,f=/MSIE .\./.test(s)||a&&function(){var _=t.Bun.version.split(".");return _.length<3||_[0]==="0"&&(_[1]<3||_[1]==="3"&&_[2]==="0")}();i.exports=function(_,p){var x=p?2:1;return f?function(g,P){var O=c(arguments.length,1)>x,S=n(g)?g:o(g),I=O?u(arguments,x):[],E=O?function(){r(S,this,I)}:S;return p?_(E,P):_(E)}:_}},61838:function(i,d,e){"use strict";var t=e(19691),r=e(57002),n=t.Set,a=t.add;i.exports=function(s){var u=new n;return r(s,function(c){a(u,c)}),u}},10038:function(i,d,e){"use strict";var t=e(17442),r=e(19691),n=e(61838),a=e(108),s=e(88203),u=e(57002),c=e(43545),o=r.has,f=r.remove;i.exports=function(p){var x=t(this),g=s(p),P=n(x);return a(x)<=g.size?u(x,function(O){g.includes(O)&&f(P,O)}):c(g.getIterator(),function(O){o(x,O)&&f(P,O)}),P}},19691:function(i,d,e){"use strict";var t=e(94237),r=Set.prototype;i.exports={Set,add:t(r.add),has:t(r.has),remove:t(r.delete),proto:r}},16049:function(i,d,e){"use strict";var t=e(17442),r=e(19691),n=e(108),a=e(88203),s=e(57002),u=e(43545),c=r.Set,o=r.add,f=r.has;i.exports=function(p){var x=t(this),g=a(p),P=new c;return n(x)>g.size?u(g.getIterator(),function(O){f(x,O)&&o(P,O)}):s(x,function(O){g.includes(O)&&o(P,O)}),P}},17616:function(i,d,e){"use strict";var t=e(17442),r=e(19691).has,n=e(108),a=e(88203),s=e(57002),u=e(43545),c=e(67996);i.exports=function(f){var _=t(this),p=a(f);if(n(_)<=p.size)return s(_,function(g){if(p.includes(g))return!1},!0)!==!1;var x=p.getIterator();return u(x,function(g){if(r(_,g))return c(x,"normal",!1)})!==!1}},84833:function(i,d,e){"use strict";var t=e(17442),r=e(108),n=e(57002),a=e(88203);i.exports=function(u){var c=t(this),o=a(u);return r(c)>o.size?!1:n(c,function(f){if(!o.includes(f))return!1},!0)!==!1}},51135:function(i,d,e){"use strict";var t=e(17442),r=e(19691).has,n=e(108),a=e(88203),s=e(43545),u=e(67996);i.exports=function(o){var f=t(this),_=a(o);if(n(f)<_.size)return!1;var p=_.getIterator();return s(p,function(x){if(!r(f,x))return u(p,"normal",!1)})!==!1}},57002:function(i,d,e){"use strict";var t=e(94237),r=e(43545),n=e(19691),a=n.Set,s=n.proto,u=t(s.forEach),c=t(s.keys),o=c(new a).next;i.exports=function(f,_,p){return p?r({iterator:c(f),next:o},_):u(f,_)}},22627:function(i,d,e){"use strict";var t=e(65911),r=function(n){return{size:n,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};i.exports=function(n){var a=t("Set");try{new a()[n](r(0));try{return new a()[n](r(-1)),!1}catch(s){return!0}}catch(s){return!1}}},108:function(i,d,e){"use strict";var t=e(37758),r=e(19691);i.exports=t(r.proto,"size","get")||function(n){return n.size}},51996:function(i,d,e){"use strict";var t=e(65911),r=e(64110),n=e(59893),a=e(35454),s=n("species");i.exports=function(u){var c=t(u);a&&c&&!c[s]&&r(c,s,{configurable:!0,get:function(){return this}})}},36312:function(i,d,e){"use strict";var t=e(17442),r=e(19691),n=e(61838),a=e(88203),s=e(43545),u=r.add,c=r.has,o=r.remove;i.exports=function(_){var p=t(this),x=a(_).getIterator(),g=n(p);return s(x,function(P){c(p,P)?o(g,P):u(g,P)}),g}},94573:function(i,d,e){"use strict";var t=e(37691).f,r=e(32621),n=e(59893),a=n("toStringTag");i.exports=function(s,u,c){s&&!c&&(s=s.prototype),s&&!r(s,a)&&t(s,a,{configurable:!0,value:u})}},24667:function(i,d,e){"use strict";var t=e(17442),r=e(19691).add,n=e(61838),a=e(88203),s=e(43545);i.exports=function(c){var o=t(this),f=a(c).getIterator(),_=n(o);return s(f,function(p){r(_,p)}),_}},11898:function(i,d,e){"use strict";var t=e(77898),r=e(6145),n=t("keys");i.exports=function(a){return n[a]||(n[a]=r(a))}},77398:function(i,d,e){"use strict";var t=e(92916),r=e(29539),n="__core-js_shared__",a=t[n]||r(n,{});i.exports=a},77898:function(i,d,e){"use strict";var t=e(16697),r=e(77398);(i.exports=function(n,a){return r[n]||(r[n]=a!==void 0?a:{})})("versions",[]).push({version:"3.34.0",mode:t?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},60473:function(i,d,e){"use strict";var t=e(80449),r=e(6086),n=e(4112),a=e(59893),s=a("species");i.exports=function(u,c){var o=t(u).constructor,f;return o===void 0||n(f=t(o)[s])?c:r(f)}},67410:function(i,d,e){"use strict";var t=e(94237),r=e(80524),n=e(69905),a=e(82762),s=TypeError,u=t([].push),c=t([].join);i.exports=function(f){var _=r(f),p=a(_);if(!p)return"";for(var x=arguments.length,g=[],P=0;;){var O=_[P++];if(O===void 0)throw new s("Incorrect template");if(u(g,n(O)),P===p)return c(g,"");P3})}},13764:function(i,d,e){"use strict";var t=e(94237),r=e(56902),n=e(69905),a=e(95955),s=t("".charAt),u=t("".charCodeAt),c=t("".slice),o=function(f){return function(_,p){var x=n(a(_)),g=r(p),P=x.length,O,S;return g<0||g>=P?f?"":void 0:(O=u(x,g),O<55296||O>56319||g+1===P||(S=u(x,g+1))<56320||S>57343?f?s(x,g):O:f?c(x,g,g+2):(O-55296<<10)+(S-56320)+65536)}};i.exports={codeAt:o(!1),charAt:o(!0)}},98352:function(i,d,e){"use strict";var t=e(66011);i.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(t)},85571:function(i,d,e){"use strict";var t=e(94237),r=e(61578),n=e(69905),a=e(71049),s=e(95955),u=t(a),c=t("".slice),o=Math.ceil,f=function(_){return function(p,x,g){var P=n(s(p)),O=r(x),S=P.length,I=g===void 0?" ":n(g),E,A;return O<=S||I===""?P:(E=O-S,A=u(I,o(E/I.length)),A.length>E&&(A=c(A,0,E)),_?P+A:A+P)}};i.exports={start:f(!1),end:f(!0)}},79204:function(i,d,e){"use strict";var t=e(65911),r=e(94237),n=String.fromCharCode,a=t("String","fromCodePoint"),s=r("".charAt),u=r("".charCodeAt),c=r("".indexOf),o=r("".slice),f=48,_=57,p=97,x=102,g=65,P=70,O=function(E,A){var R=u(E,A);return R>=f&&R<=_},S=function(E,A,R){if(R>=E.length)return-1;for(var T=0;A=f&&E<=_?E-f:E>=p&&E<=x?E-p+10:E>=g&&E<=P?E-g+10:-1};i.exports=function(E){for(var A="",R=0,T=0,D;(T=c(E,"\\",T))>-1;){if(A+=o(E,R,T),++T===E.length)return;var M=s(E,T++);switch(M){case"b":A+="\b";break;case"t":A+=" ";break;case"n":A+=` `;break;case"v":A+="\v";break;case"f":A+="\f";break;case"r":A+="\r";break;case"\r":T1114111)return;A+=a(D);break;default:if(O(k,0))return;A+=k}R=T}return A+o(E,R)}},93245:function(i,d,e){"use strict";var t=e(94237),r=2147483647,n=36,a=1,s=26,u=38,c=700,o=72,f=128,_="-",p=/[^\0-\u007E]/,x=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",P=n-a,O=RangeError,S=t(x.exec),I=Math.floor,E=String.fromCharCode,A=t("".charCodeAt),R=t([].join),T=t([].push),D=t("".replace),k=t("".split),B=t("".toLowerCase),j=function(F){for(var K=[],X=0,Q=F.length;X=55296&&W<=56319&&X>1,F+=I(F/K);F>P*s>>1;)F=I(F/P),Q+=n;return I(Q+(P+1)*F/(F+u))},Y=function(F){var K=[];F=j(F);var X=F.length,Q=f,W=0,N=o,J,M;for(J=0;J=Q&&MI((r-W)/ie))throw new O(g);for(W+=(ee-Q)*ie,Q=ee,J=0;Jr)throw new O(g);if(M===Q){for(var se=W,le=n;;){var de=le<=N?a:le>=N+s?s:le-N;if(se0;(f>>>=1)&&(c+=c))f&1&&(o+=c);return o}},9591:function(i,d,e){"use strict";var t=e(52971).end,r=e(18105);i.exports=r("trimEnd")?function(){return t(this)}:"".trimEnd},18105:function(i,d,e){"use strict";var t=e(8090).PROPER,r=e(3338),n=e(19268),a="\u200B\x85\u180E";i.exports=function(s){return r(function(){return!!n[s]()||a[s]()!==a||t&&n[s].name!==s})}},27374:function(i,d,e){"use strict";var t=e(52971).start,r=e(18105);i.exports=r("trimStart")?function(){return t(this)}:"".trimStart},52971:function(i,d,e){"use strict";var t=e(94237),r=e(95955),n=e(69905),a=e(19268),s=t("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),o=function(f){return function(_){var p=n(r(_));return f&1&&(p=s(p,u,"")),f&2&&(p=s(p,c,"$1")),p}};i.exports={start:o(1),end:o(2),trim:o(3)}},80426:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(46573),a=e(66994),s=e(91821),u=e(90946),c=t.structuredClone;i.exports=!!c&&!r(function(){if(s&&n>92||u&&n>94||a&&n>97)return!1;var o=new ArrayBuffer(8),f=c(o,{transfer:[o]});return o.byteLength!==0||f.byteLength!==8})},42820:function(i,d,e){"use strict";var t=e(46573),r=e(3338),n=e(92916),a=n.String;i.exports=!!Object.getOwnPropertySymbols&&!r(function(){var s=Symbol("symbol detection");return!a(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},14311:function(i,d,e){"use strict";var t=e(89945),r=e(65911),n=e(59893),a=e(2291);i.exports=function(){var s=r("Symbol"),u=s&&s.prototype,c=u&&u.valueOf,o=n("toPrimitive");u&&!u[o]&&a(u,o,function(f){return t(c,this)},{arity:1})}},69077:function(i,d,e){"use strict";var t=e(65911),r=e(94237),n=t("Symbol"),a=n.keyFor,s=r(n.prototype.valueOf);i.exports=n.isRegisteredSymbol||function(c){try{return a(s(c))!==void 0}catch(o){return!1}}},40443:function(i,d,e){"use strict";for(var t=e(77898),r=e(65911),n=e(94237),a=e(18446),s=e(59893),u=r("Symbol"),c=u.isWellKnownSymbol,o=r("Object","getOwnPropertyNames"),f=n(u.prototype.valueOf),_=t("wks"),p=0,x=o(u),g=x.length;p0?r(t(n),9007199254740991):0}},94029:function(i,d,e){"use strict";var t=e(95955),r=Object;i.exports=function(n){return r(t(n))}},64135:function(i,d,e){"use strict";var t=e(51358),r=RangeError;i.exports=function(n,a){var s=t(n);if(s%a)throw new r("Wrong offset");return s}},51358:function(i,d,e){"use strict";var t=e(56902),r=RangeError;i.exports=function(n){var a=t(n);if(a<0)throw new r("The argument can't be less than 0");return a}},97954:function(i,d,e){"use strict";var t=e(89945),r=e(31946),n=e(18446),a=e(53776),s=e(44759),u=e(59893),c=TypeError,o=u("toPrimitive");i.exports=function(f,_){if(!r(f)||n(f))return f;var p=a(f,o),x;if(p){if(_===void 0&&(_="default"),x=t(p,f,_),!r(x)||n(x))return x;throw new c("Can't convert object to primitive value")}return _===void 0&&(_="number"),s(f,_)}},17818:function(i,d,e){"use strict";var t=e(97954),r=e(18446);i.exports=function(n){var a=t(n,"string");return r(a)?a:a+""}},77999:function(i,d,e){"use strict";var t=e(65911),r=e(55327),n=e(30360),a=e(31946),s=t("Set"),u=function(c){return a(c)&&typeof c.size=="number"&&r(c.has)&&r(c.keys)};i.exports=function(c){return u(c)?c:n(c)?new s(c):c}},68527:function(i,d,e){"use strict";var t=e(59893),r=t("toStringTag"),n={};n[r]="z",i.exports=String(n)==="[object z]"},69905:function(i,d,e){"use strict";var t=e(97607),r=String;i.exports=function(n){if(t(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}},86350:function(i){"use strict";var d=Math.round;i.exports=function(e){var t=d(e);return t<0?0:t>255?255:t&255}},11270:function(i,d,e){"use strict";var t=e(90946);i.exports=function(r){try{if(t)return Function('return require("'+r+'")')()}catch(n){}}},40593:function(i){"use strict";var d=String;i.exports=function(e){try{return d(e)}catch(t){return"Object"}}},69733:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),a=e(35454),s=e(59627),u=e(58261),c=e(91669),o=e(56472),f=e(35012),_=e(68151),p=e(62896),x=e(61578),g=e(24225),P=e(64135),O=e(86350),S=e(17818),I=e(32621),E=e(97607),A=e(31946),R=e(18446),T=e(20132),D=e(16332),k=e(58218),B=e(80689).f,j=e(50706),V=e(90560).forEach,H=e(51996),Y=e(64110),F=e(37691),K=e(71256),X=e(94844),Q=e(25576),W=X.get,N=X.set,J=X.enforce,M=F.f,Z=K.f,G=r.RangeError,ee=c.ArrayBuffer,ie=ee.prototype,se=c.DataView,le=u.NATIVE_ARRAY_BUFFER_VIEWS,de=u.TYPED_ARRAY_TAG,He=u.TypedArray,ze=u.TypedArrayPrototype,st=u.aTypedArrayConstructor,vt=u.isTypedArray,Je="BYTES_PER_ELEMENT",Ke="Wrong length",Re=function(bt,Ie){st(bt);for(var $e=0,ft=Ie.length,Me=new bt(ft);ft>$e;)Me[$e]=Ie[$e++];return Me},Ce=function(bt,Ie){Y(bt,Ie,{configurable:!0,get:function(){return W(this)[Ie]}})},me=function(bt){var Ie;return D(ie,bt)||(Ie=E(bt))==="ArrayBuffer"||Ie==="SharedArrayBuffer"},at=function(bt,Ie){return vt(bt)&&!R(Ie)&&Ie in bt&&p(+Ie)&&Ie>=0},ct=function(Ie,$e){return $e=S($e),at(Ie,$e)?f(2,Ie[$e]):Z(Ie,$e)},St=function(Ie,$e,ft){return $e=S($e),at(Ie,$e)&&A(ft)&&I(ft,"value")&&!I(ft,"get")&&!I(ft,"set")&&!ft.configurable&&(!I(ft,"writable")||ft.writable)&&(!I(ft,"enumerable")||ft.enumerable)?(Ie[$e]=ft.value,Ie):M(Ie,$e,ft)};a?(le||(K.f=ct,F.f=St,Ce(ze,"buffer"),Ce(ze,"byteOffset"),Ce(ze,"byteLength"),Ce(ze,"length")),t({target:"Object",stat:!0,forced:!le},{getOwnPropertyDescriptor:ct,defineProperty:St}),i.exports=function(bt,Ie,$e){var ft=bt.match(/\d+/)[0]/8,Me=bt+($e?"Clamped":"")+"Array",ye="get"+bt,fe="set"+bt,Oe=r[Me],Ee=Oe,et=Ee&&Ee.prototype,mt={},pe=function(Ve,it){var Dt=W(Ve);return Dt.view[ye](it*ft+Dt.byteOffset,!0)},ge=function(Ve,it,Dt){var Yt=W(Ve);Yt.view[fe](it*ft+Yt.byteOffset,$e?O(Dt):Dt,!0)},lt=function(Ve,it){M(Ve,it,{get:function(){return pe(this,it)},set:function(Dt){return ge(this,it,Dt)},enumerable:!0})};le?s&&(Ee=Ie(function(Ve,it,Dt,Yt){return o(Ve,et),Q(function(){return A(it)?me(it)?Yt!==void 0?new Oe(it,P(Dt,ft),Yt):Dt!==void 0?new Oe(it,P(Dt,ft)):new Oe(it):vt(it)?Re(Ee,it):n(j,Ee,it):new Oe(g(it))}(),Ve,Ee)}),k&&k(Ee,He),V(B(Oe),function(Ve){Ve in Ee||_(Ee,Ve,Oe[Ve])}),Ee.prototype=et):(Ee=Ie(function(Ve,it,Dt,Yt){o(Ve,et);var Se=0,je=0,Be,ht,At;if(!A(it))At=g(it),ht=At*ft,Be=new ee(ht);else if(me(it)){Be=it,je=P(Dt,ft);var ce=it.byteLength;if(Yt===void 0){if(ce%ft)throw new G(Ke);if(ht=ce-je,ht<0)throw new G(Ke)}else if(ht=x(Yt)*ft,ht+je>ce)throw new G(Ke);At=ht/ft}else return vt(it)?Re(Ee,it):n(j,Ee,it);for(N(Ve,{buffer:Be,byteOffset:je,byteLength:ht,length:At,view:new se(Be)});Se1?arguments[1]:void 0,E=I!==void 0,A=c(O),R,T,D,k,B,j,V,H;if(A&&!o(A))for(V=u(O,A),H=V.next,O=[];!(j=r(H,V)).done;)O.push(j.value);for(E&&S>2&&(I=t(I,arguments[2])),T=s(O),D=new(_(P))(T),k=f(D),R=0;T>R;R++)B=E?I(O[R],R):O[R],D[R]=k?p(B):+B;return D}},31384:function(i,d,e){"use strict";var t=e(58261),r=e(60473),n=t.aTypedArrayConstructor,a=t.getTypedArrayConstructor;i.exports=function(s){return n(r(s,a(s)))}},6145:function(i,d,e){"use strict";var t=e(94237),r=0,n=Math.random(),a=t(1 .toString);i.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+a(++r+n,36)}},3299:function(i,d,e){"use strict";var t=e(3338),r=e(59893),n=e(35454),a=e(16697),s=r("iterator");i.exports=!t(function(){var u=new URL("b?a=1&b=2&c=3","http://a"),c=u.searchParams,o=new URLSearchParams("a=1&a=2&b=3"),f="";return u.pathname="c%20d",c.forEach(function(_,p){c.delete("b"),f+=p+_}),o.delete("a",2),o.delete("b",void 0),a&&(!u.toJSON||!o.has("a",1)||o.has("a",2)||!o.has("a",void 0)||o.has("b"))||!c.size&&(a||!n)||!c.sort||u.href!=="http://a/c%20d?a=1&c=3"||c.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!c[s]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||f!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(i,d,e){"use strict";var t=e(42820);i.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(i,d,e){"use strict";var t=e(35454),r=e(3338);i.exports=t&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(i){"use strict";var d=TypeError;i.exports=function(e,t){if(eA&&_(F,arguments[A]),F});if(j.prototype=k,T!=="Error"?s?s(j,B):u(j,B,{name:!0}):x&&E in D&&(c(j,D,E),c(j,D,"prepareStackTrace")),u(j,D),!g)try{k.name!==T&&n(k,"name",T),k.constructor=j}catch(V){}return j}}},93074:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),a=e(3338),s=e(78540),u="AggregateError",c=r(u),o=!a(function(){return c([1]).errors[0]!==1})&&a(function(){return c([1],u,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:o},{AggregateError:s(u,function(f){return function(p,x){return n(f,this,arguments)}},o,!0)})},6555:function(i,d,e){"use strict";var t=e(94488),r=e(16332),n=e(53456),a=e(58218),s=e(24538),u=e(20132),c=e(68151),o=e(35012),f=e(73068),_=e(61888),p=e(62003),x=e(7825),g=e(59893),P=g("toStringTag"),O=Error,S=[].push,I=function(R,T){var D=r(E,this),k;a?k=a(new O,D?n(this):E):(k=D?this:u(E),c(k,P,"Error")),T!==void 0&&c(k,"message",x(T)),_(k,I,k.stack,1),arguments.length>2&&f(k,arguments[2]);var B=[];return p(R,S,{that:B}),c(k,"errors",B),k};a?a(I,O):s(I,O,{name:!0});var E=I.prototype=u(O.prototype,{constructor:o(1,I),message:o(1,""),name:o(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:I})},86357:function(i,d,e){"use strict";e(6555)},89170:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(91669),a=e(51996),s="ArrayBuffer",u=n[s],c=r[s];t({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),a(s)},71012:function(i,d,e){"use strict";var t=e(94488),r=e(58261),n=r.NATIVE_ARRAY_BUFFER_VIEWS;t({target:"ArrayBuffer",stat:!0,forced:!n},{isView:r.isView})},84203:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(3338),a=e(91669),s=e(80449),u=e(51981),c=e(61578),o=e(60473),f=a.ArrayBuffer,_=a.DataView,p=_.prototype,x=r(f.prototype.slice),g=r(p.getUint8),P=r(p.setUint8),O=n(function(){return!new f(2).slice(1,void 0).byteLength});t({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:O},{slice:function(I,E){if(x&&E===void 0)return x(s(this),I);for(var A=s(this).byteLength,R=u(I,A),T=u(E===void 0?A:E,A),D=new(o(this,f))(c(T-R)),k=new _(this),B=new _(D),j=0;R=0?_:f+_;return p<0||p>=f?void 0:o[p]}}),s("at")},2924:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(18589),a=e(31946),s=e(94029),u=e(82762),c=e(66434),o=e(69392),f=e(81427),_=e(17480),p=e(59893),x=e(46573),g=p("isConcatSpreadable"),P=x>=51||!r(function(){var I=[];return I[g]=!1,I.concat()[0]!==I}),O=function(I){if(!a(I))return!1;var E=I[g];return E!==void 0?!!E:n(I)},S=!P||!_("concat");t({target:"Array",proto:!0,arity:1,forced:S},{concat:function(E){var A=s(this),R=f(A,0),T=0,D,k,B,j,V;for(D=-1,B=arguments.length;D1?arguments[1]:void 0)}})},16137:function(i,d,e){"use strict";var t=e(94488),r=e(75202),n=e(81181);t({target:"Array",proto:!0},{fill:r}),n("fill")},48435:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filter,n=e(17480),a=n("filter");t({target:"Array",proto:!0,forced:!a},{filter:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},70365:function(i,d,e){"use strict";var t=e(94488),r=e(90560).findIndex,n=e(81181),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{findIndex:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(a)},17482:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLastIndex,n=e(81181);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},33717:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLast,n=e(81181);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLast")},11553:function(i,d,e){"use strict";var t=e(94488),r=e(90560).find,n=e(81181),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{find:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(a)},65033:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(63335),a=e(94029),s=e(82762),u=e(81427);t({target:"Array",proto:!0},{flatMap:function(o){var f=a(this),_=s(f),p;return n(o),p=u(f,0),p.length=r(p,f,f,_,0,1,o,arguments.length>1?arguments[1]:void 0),p}})},23708:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(94029),a=e(82762),s=e(56902),u=e(81427);t({target:"Array",proto:!0},{flat:function(){var o=arguments.length?arguments[0]:void 0,f=n(this),_=a(f),p=u(f,0);return p.length=r(p,f,f,_,0,o===void 0?1:s(o)),p}})},52732:function(i,d,e){"use strict";var t=e(94488),r=e(59594);t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},99382:function(i,d,e){"use strict";var t=e(94488),r=e(60255),n=e(35221),a=!n(function(s){Array.from(s)});t({target:"Array",stat:!0,forced:a},{from:r})},88437:function(i,d,e){"use strict";var t=e(94488),r=e(22999).includes,n=e(3338),a=e(81181),s=n(function(){return!Array(1).includes()});t({target:"Array",proto:!0,forced:s},{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),a("includes")},68440:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(22999).indexOf,a=e(45601),s=r([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=u||!a("indexOf");t({target:"Array",proto:!0,forced:c},{indexOf:function(f){var _=arguments.length>1?arguments[1]:void 0;return u?s(this,f,_)||0:n(this,f,_)}})},13412:function(i,d,e){"use strict";var t=e(94488),r=e(18589);t({target:"Array",stat:!0},{isArray:r})},11005:function(i,d,e){"use strict";var t=e(80524),r=e(81181),n=e(48074),a=e(94844),s=e(37691).f,u=e(24019),c=e(25587),o=e(16697),f=e(35454),_="Array Iterator",p=a.set,x=a.getterFor(_);i.exports=u(Array,"Array",function(P,O){p(this,{type:_,target:t(P),index:0,kind:O})},function(){var P=x(this),O=P.target,S=P.index++;if(!O||S>=O.length)return P.target=void 0,c(void 0,!0);switch(P.kind){case"keys":return c(S,!1);case"values":return c(O[S],!1)}return c([S,O[S]],!1)},"values");var g=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!o&&f&&g.name!=="values")try{s(g,"name",{value:"values"})}catch(P){}},70348:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(1835),a=e(80524),s=e(45601),u=r([].join),c=n!==Object,o=c||!s("join",",");t({target:"Array",proto:!0,forced:o},{join:function(_){return u(a(this),_===void 0?",":_)}})},19801:function(i,d,e){"use strict";var t=e(94488),r=e(55009);t({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},91550:function(i,d,e){"use strict";var t=e(94488),r=e(90560).map,n=e(17480),a=n("map");t({target:"Array",proto:!0,forced:!a},{map:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},85223:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(39812),a=e(69392),s=Array,u=r(function(){function c(){}return!(s.of.call(c)instanceof c)});t({target:"Array",stat:!0,forced:u},{of:function(){for(var o=0,f=arguments.length,_=new(n(this)?this:s)(f);f>o;)a(_,o,arguments[o++]);return _.length=f,_}})},7154:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(82762),a=e(39428),s=e(66434),u=e(3338),c=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),o=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(_){return _ instanceof TypeError}},f=c||!o();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(p){var x=r(this),g=n(x),P=arguments.length;s(g+P);for(var O=0;O79&&a<83,c=u||!n("reduceRight");t({target:"Array",proto:!0,forced:c},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(i,d,e){"use strict";var t=e(94488),r=e(16370).left,n=e(45601),a=e(46573),s=e(90946),u=!s&&a>79&&a<83,c=u||!n("reduce");t({target:"Array",proto:!0,forced:c},{reduce:function(f){var _=arguments.length;return r(this,f,_,_>1?arguments[1]:void 0)}})},9402:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(18589),a=r([].reverse),s=[1,2];t({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),a(this)}})},62489:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=e(39812),a=e(31946),s=e(51981),u=e(82762),c=e(80524),o=e(69392),f=e(59893),_=e(17480),p=e(30867),x=_("slice"),g=f("species"),P=Array,O=Math.max;t({target:"Array",proto:!0,forced:!x},{slice:function(I,E){var A=c(this),R=u(A),T=s(I,R),D=s(E===void 0?R:E,R),k,B,j;if(r(A)&&(k=A.constructor,n(k)&&(k===P||r(k.prototype))?k=void 0:a(k)&&(k=k[g],k===null&&(k=void 0)),k===P||k===void 0))return p(A,T,D);for(B=new(k===void 0?P:k)(O(D-T,0)),j=0;T1?arguments[1]:void 0)}})},62837:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(63335),a=e(94029),s=e(82762),u=e(84233),c=e(69905),o=e(3338),f=e(63668),_=e(45601),p=e(78177),x=e(17687),g=e(46573),P=e(19684),O=[],S=r(O.sort),I=r(O.push),E=o(function(){O.sort(void 0)}),A=o(function(){O.sort(null)}),R=_("sort"),T=!o(function(){if(g)return g<70;if(!(p&&p>3)){if(x)return!0;if(P)return P<603;var B="",j,V,H,Y;for(j=65;j<76;j++){switch(V=String.fromCharCode(j),j){case 66:case 69:case 70:case 72:H=3;break;case 68:case 71:H=4;break;default:H=2}for(Y=0;Y<47;Y++)O.push({k:V+Y,v:H})}for(O.sort(function(F,K){return K.v-F.v}),Y=0;Yc(V)?1:-1}};t({target:"Array",proto:!0,forced:D},{sort:function(j){j!==void 0&&n(j);var V=a(this);if(T)return j===void 0?S(V):S(V,j);var H=[],Y=s(V),F,K;for(K=0;KA-k+D;j--)_(E,j-1)}else if(D>k)for(j=A-k;j>R;j--)V=j+k-1,H=j+D-1,V in E?E[H]=E[V]:_(E,H);for(j=0;j=0&&f<=99?f+1900:f;return u(this,_)}})},71390:function(i,d,e){"use strict";var t=e(94488);t({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(i,d,e){"use strict";var t=e(94488),r=e(32494);t({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},83578:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),a=e(97954),s=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});t({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(c){var o=n(this),f=a(o,"number");return typeof f=="number"&&!isFinite(f)?null:o.toISOString()}})},69762:function(i,d,e){"use strict";var t=e(32621),r=e(2291),n=e(77119),a=e(59893),s=a("toPrimitive"),u=Date.prototype;t(u,s)||r(u,s,n)},76880:function(i,d,e){"use strict";var t=e(94237),r=e(2291),n=Date.prototype,a="Invalid Date",s="toString",u=t(n[s]),c=t(n.getTime);String(new Date(NaN))!==a&&r(n,s,function(){var f=c(this);return f===f?u(this):a})},31808:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(13743),a=e(78540),s="WebAssembly",u=r[s],c=new Error("e",{cause:7}).cause!==7,o=function(_,p){var x={};x[_]=a(_,p,c),t({global:!0,constructor:!0,arity:1,forced:c},x)},f=function(_,p){if(u&&u[_]){var x={};x[_]=a(s+"."+_,p,c),t({target:s,stat:!0,constructor:!0,arity:1,forced:c},x)}};o("Error",function(_){return function(x){return n(_,this,arguments)}}),o("EvalError",function(_){return function(x){return n(_,this,arguments)}}),o("RangeError",function(_){return function(x){return n(_,this,arguments)}}),o("ReferenceError",function(_){return function(x){return n(_,this,arguments)}}),o("SyntaxError",function(_){return function(x){return n(_,this,arguments)}}),o("TypeError",function(_){return function(x){return n(_,this,arguments)}}),o("URIError",function(_){return function(x){return n(_,this,arguments)}}),f("CompileError",function(_){return function(x){return n(_,this,arguments)}}),f("LinkError",function(_){return function(x){return n(_,this,arguments)}}),f("RuntimeError",function(_){return function(x){return n(_,this,arguments)}})},99953:function(i,d,e){"use strict";var t=e(2291),r=e(13367),n=Error.prototype;n.toString!==r&&t(n,"toString",r)},65009:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),a=r("".charAt),s=r("".charCodeAt),u=r(/./.exec),c=r(1 .toString),o=r("".toUpperCase),f=/[\w*+\-./@]/,_=function(p,x){for(var g=c(p,16);g.length9490626562425156e-8?a(_)+u:r(_-1+s(_-1)*s(_+1))}})},85660:function(i,d,e){"use strict";var t=e(94488),r=Math.asinh,n=Math.log,a=Math.sqrt;function s(c){var o=+c;return!isFinite(o)||o===0?o:o<0?-s(-o):n(o+a(o*o+1))}var u=!(r&&1/r(0)>0);t({target:"Math",stat:!0,forced:u},{asinh:s})},80031:function(i,d,e){"use strict";var t=e(94488),r=Math.atanh,n=Math.log,a=!(r&&1/r(-0)<0);t({target:"Math",stat:!0,forced:a},{atanh:function(u){var c=+u;return c===0?c:n((1+c)/(1-c))/2}})},34434:function(i,d,e){"use strict";var t=e(94488),r=e(37666),n=Math.abs,a=Math.pow;t({target:"Math",stat:!0},{cbrt:function(u){var c=+u;return r(c)*a(n(c),.3333333333333333)}})},83579:function(i,d,e){"use strict";var t=e(94488),r=Math.floor,n=Math.log,a=Math.LOG2E;t({target:"Math",stat:!0},{clz32:function(u){var c=u>>>0;return c?31-r(n(c+.5)*a):32}})},74307:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.cosh,a=Math.abs,s=Math.E,u=!n||n(710)===1/0;t({target:"Math",stat:!0,forced:u},{cosh:function(o){var f=r(a(o)-1)+1;return(f+1/(f*s*s))*(s/2)}})},97423:function(i,d,e){"use strict";var t=e(94488),r=e(10014);t({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},93321:function(i,d,e){"use strict";var t=e(94488),r=e(14894);t({target:"Math",stat:!0},{fround:r})},82277:function(i,d,e){"use strict";var t=e(94488),r=Math.hypot,n=Math.abs,a=Math.sqrt,s=!!r&&r(1/0,NaN)!==1/0;t({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(c,o){for(var f=0,_=0,p=arguments.length,x=0,g,P;_0?(P=g/x,f+=P*P):f+=g;return x===1/0?1/0:x*a(f)}})},61425:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=Math.imul,a=r(function(){return n(4294967295,5)!==-5||n.length!==2});t({target:"Math",stat:!0,forced:a},{imul:function(u,c){var o=65535,f=+u,_=+c,p=o&f,x=o&_;return 0|p*x+((o&f>>>16)*x+p*(o&_>>>16)<<16>>>0)}})},61873:function(i,d,e){"use strict";var t=e(94488),r=e(53309);t({target:"Math",stat:!0},{log10:r})},9307:function(i,d,e){"use strict";var t=e(94488),r=e(25726);t({target:"Math",stat:!0},{log1p:r})},8821:function(i,d,e){"use strict";var t=e(94488),r=Math.log,n=Math.LN2;t({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},64385:function(i,d,e){"use strict";var t=e(94488),r=e(37666);t({target:"Math",stat:!0},{sign:r})},64099:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(10014),a=Math.abs,s=Math.exp,u=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});t({target:"Math",stat:!0,forced:c},{sinh:function(f){var _=+f;return a(_)<1?(n(_)-n(-_))/2:(s(_-1)-s(-_-1))*(u/2)}})},62455:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.exp;t({target:"Math",stat:!0},{tanh:function(s){var u=+s,c=r(u),o=r(-u);return c===1/0?1:o===1/0?-1:(c-o)/(n(u)+n(-u))}})},79965:function(i,d,e){"use strict";var t=e(94573);t(Math,"Math",!0)},59118:function(i,d,e){"use strict";var t=e(94488),r=e(3312);t({target:"Math",stat:!0},{trunc:r})},275:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(35454),a=e(92916),s=e(9699),u=e(94237),c=e(20865),o=e(32621),f=e(25576),_=e(16332),p=e(18446),x=e(97954),g=e(3338),P=e(80689).f,O=e(71256).f,S=e(37691).f,I=e(49228),E=e(52971).trim,A="Number",R=a[A],T=s[A],D=R.prototype,k=a.TypeError,B=u("".slice),j=u("".charCodeAt),V=function(Q){var W=x(Q,"number");return typeof W=="bigint"?W:H(W)},H=function(Q){var W=x(Q,"number"),N,J,M,Z,G,ee,ie,se;if(p(W))throw new k("Cannot convert a Symbol value to a number");if(typeof W=="string"&&W.length>2){if(W=E(W),N=j(W,0),N===43||N===45){if(J=j(W,2),J===88||J===120)return NaN}else if(N===48){switch(j(W,1)){case 66:case 98:M=2,Z=49;break;case 79:case 111:M=8,Z=55;break;default:return+W}for(G=B(W,2),ee=G.length,ie=0;ieZ)return NaN;return parseInt(G,M)}}return+W},Y=c(A,!R(" 0o1")||!R("0b1")||R("+0x1")),F=function(Q){return _(D,Q)&&g(function(){I(Q)})},K=function(W){var N=arguments.length<1?0:R(V(W));return F(this)?f(Object(N),this,K):N};K.prototype=D,Y&&!r&&(D.constructor=K),t({global:!0,constructor:!0,wrap:!0,forced:Y},{Number:K});var X=function(Q,W){for(var N=n?P(W):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),J=0,M;N.length>J;J++)o(W,M=N[J])&&!o(Q,M)&&S(Q,M,O(W,M))};r&&T&&X(s[A],T),(Y||r)&&X(s[A],R)},31919:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(i,d,e){"use strict";var t=e(94488),r=e(1222);t({target:"Number",stat:!0},{isFinite:r})},10177:function(i,d,e){"use strict";var t=e(94488),r=e(62896);t({target:"Number",stat:!0},{isInteger:r})},85690:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0},{isNaN:function(n){return n!==n}})},92114:function(i,d,e){"use strict";var t=e(94488),r=e(62896),n=Math.abs;t({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},1017:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},76345:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},7282:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a=e(49228),s=e(71049),u=e(53309),c=e(3338),o=RangeError,f=String,_=isFinite,p=Math.abs,x=Math.floor,g=Math.pow,P=Math.round,O=r(1 .toExponential),S=r(s),I=r("".slice),E=O(-69e-12,4)==="-6.9000e-11"&&O(1.255,2)==="1.25e+0"&&O(12345,3)==="1.235e+4"&&O(25,0)==="3e+1",A=function(){return c(function(){O(1,1/0)})&&c(function(){O(1,-1/0)})},R=function(){return!c(function(){O(1/0,1/0),O(NaN,1/0)})},T=!E||!A()||!R();t({target:"Number",proto:!0,forced:T},{toExponential:function(k){var B=a(this);if(k===void 0)return O(B);var j=n(k);if(!_(B))return String(B);if(j<0||j>20)throw new o("Incorrect fraction digits");if(E)return O(B,j);var V="",H="",Y=0,F="",K="";if(B<0&&(V="-",B=-B),B===0)Y=0,H=S("0",j+1);else{var X=u(B);Y=x(X);var Q=0,W=g(10,Y-j);Q=P(B/W),2*B>=(2*Q+1)*W&&(Q+=1),Q>=g(10,j+1)&&(Q/=10,Y+=1),H=f(Q)}return j!==0&&(H=I(H,0,1)+"."+I(H,1)),Y===0?(F="+",K="0"):(F=Y>0?"+":"-",K=f(p(Y))),H+="e"+F+K,V+H}})},58055:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a=e(49228),s=e(71049),u=e(3338),c=RangeError,o=String,f=Math.floor,_=r(s),p=r("".slice),x=r(1 .toFixed),g=function(A,R,T){return R===0?T:R%2===1?g(A,R-1,T*A):g(A*A,R/2,T)},P=function(A){for(var R=0,T=A;T>=4096;)R+=12,T/=4096;for(;T>=2;)R+=1,T/=2;return R},O=function(A,R,T){for(var D=-1,k=T;++D<6;)k+=R*A[D],A[D]=k%1e7,k=f(k/1e7)},S=function(A,R){for(var T=6,D=0;--T>=0;)D+=A[T],A[T]=f(D/R),D=D%R*1e7},I=function(A){for(var R=6,T="";--R>=0;)if(T!==""||R===0||A[R]!==0){var D=o(A[R]);T=T===""?D:T+_("0",7-D.length)+D}return T},E=u(function(){return x(8e-5,3)!=="0.000"||x(.9,0)!=="1"||x(1.255,2)!=="1.25"||x(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){x({})});t({target:"Number",proto:!0,forced:E},{toFixed:function(R){var T=a(this),D=n(R),k=[0,0,0,0,0,0],B="",j="0",V,H,Y,F;if(D<0||D>20)throw new c("Incorrect fraction digits");if(T!==T)return"NaN";if(T<=-1e21||T>=1e21)return o(T);if(T<0&&(B="-",T=-T),T>1e-21)if(V=P(T*g(2,69,1))-69,H=V<0?T*g(2,-V,1):T/g(2,V,1),H*=4503599627370496,V=52-V,V>0){for(O(k,0,H),Y=D;Y>=7;)O(k,1e7,0),Y-=7;for(O(k,g(10,Y,1),0),Y=V-1;Y>=23;)S(k,8388608),Y-=23;S(k,1<0?(F=j.length,j=B+(F<=D?"0."+_("0",D-F)+j:p(j,0,F-D)+"."+p(j,F-D))):j=B+j,j}})},93547:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(3338),a=e(49228),s=r(1 .toPrecision),u=n(function(){return s(1,void 0)!=="1"})||!n(function(){s({})});t({target:"Number",proto:!0,forced:u},{toPrecision:function(o){return o===void 0?s(a(this)):s(a(this),o)}})},31237:function(i,d,e){"use strict";var t=e(94488),r=e(80530);t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},17954:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(20132);t({target:"Object",stat:!0,sham:!r},{create:n})},58580:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineGetter__:function(o,f){u.f(s(this),o,{get:a(f),enumerable:!0,configurable:!0})}})},47146:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(55666).f;t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n})},40416:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(37691).f;t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n})},7615:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineSetter__:function(o,f){u.f(s(this),o,{set:a(f),enumerable:!0,configurable:!0})}})},72820:function(i,d,e){"use strict";var t=e(94488),r=e(88698).entries;t({target:"Object",stat:!0},{entries:function(a){return r(a)}})},86070:function(i,d,e){"use strict";var t=e(94488),r=e(13247),n=e(3338),a=e(31946),s=e(2074).onFreeze,u=Object.freeze,c=n(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(f){return u&&a(f)?u(s(f)):f}})},23569:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(69392);t({target:"Object",stat:!0},{fromEntries:function(s){var u={};return r(s,function(c,o){n(u,c,o)},{AS_ENTRIES:!0}),u}})},55639:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(80524),a=e(71256).f,s=e(35454),u=!s||r(function(){a(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(o,f){return a(n(o),f)}})},63046:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(48662),a=e(80524),s=e(71256),u=e(69392);t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(o){for(var f=a(o),_=s.f,p=n(f),x={},g=0,P,O;p.length>g;)O=_(f,P=p[g++]),O!==void 0&&u(x,P,O);return x}})},464:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(53393).f,a=r(function(){return!Object.getOwnPropertyNames(1)});t({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:n})},67936:function(i,d,e){"use strict";var t=e(94488),r=e(42820),n=e(3338),a=e(92635),s=e(94029),u=!r||n(function(){a.f(1)});t({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(o){var f=a.f;return f?f(s(o)):[]}})},51082:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),a=e(53456),s=e(4870),u=r(function(){a(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(o){return a(n(o))}})},83850:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(94237),a=e(63335),s=e(95955),u=e(17818),c=e(62003),o=r("Object","create"),f=n([].push);t({target:"Object",stat:!0},{groupBy:function(p,x){s(p),a(x);var g=o(null),P=0;return c(p,function(O){var S=u(x(O,P++));S in g?f(g[S],O):g[S]=[O]}),g}})},41990:function(i,d,e){"use strict";var t=e(94488),r=e(32621);t({target:"Object",stat:!0},{hasOwn:r})},55888:function(i,d,e){"use strict";var t=e(94488),r=e(12477);t({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},53827:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),a=e(29076),s=e(51424),u=Object.isFrozen,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isFrozen:function(f){return!n(f)||s&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},78143:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),a=e(29076),s=e(51424),u=Object.isSealed,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isSealed:function(f){return!n(f)||s&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},15787:function(i,d,e){"use strict";var t=e(94488),r=e(5370);t({target:"Object",stat:!0},{is:r})},66419:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(7733),a=e(3338),s=a(function(){n(1)});t({target:"Object",stat:!0,forced:s},{keys:function(c){return n(r(c))}})},75765:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupGetter__:function(f){var _=a(this),p=s(f),x;do if(x=c(_,p))return x.get;while(_=u(_))}})},14645:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupSetter__:function(f){var _=a(this),p=s(f),x;do if(x=c(_,p))return x.set;while(_=u(_))}})},71122:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,a=e(13247),s=e(3338),u=Object.preventExtensions,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(f){return u&&r(f)?u(n(f)):f}})},42084:function(i,d,e){"use strict";var t=e(35454),r=e(64110),n=e(31946),a=e(94029),s=e(95955),u=Object.getPrototypeOf,c=Object.setPrototypeOf,o=Object.prototype,f="__proto__";if(t&&u&&c&&!(f in o))try{r(o,f,{configurable:!0,get:function(){return u(a(this))},set:function(p){var x=s(this);!n(p)&&p!==null||!n(x)||c(x,p)}})}catch(_){}},25070:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,a=e(13247),s=e(3338),u=Object.seal,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(f){return u&&r(f)?u(n(f)):f}})},77140:function(i,d,e){"use strict";var t=e(94488),r=e(58218);t({target:"Object",stat:!0},{setPrototypeOf:r})},15954:function(i,d,e){"use strict";var t=e(68527),r=e(2291),n=e(28488);t||r(Object.prototype,"toString",n,{unsafe:!0})},4266:function(i,d,e){"use strict";var t=e(94488),r=e(88698).values;t({target:"Object",stat:!0},{values:function(a){return r(a)}})},49988:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({global:!0,forced:parseFloat!==r},{parseFloat:r})},38823:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({global:!0,forced:parseInt!==r},{parseInt:r})},4045:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{allSettled:function(f){var _=this,p=a.f(_),x=p.resolve,g=p.reject,P=s(function(){var O=n(_.resolve),S=[],I=0,E=1;u(f,function(A){var R=I++,T=!1;E++,r(O,_,A).then(function(D){T||(T=!0,S[R]={status:"fulfilled",value:D},--E||x(S))},function(D){T||(T=!0,S[R]={status:"rejected",reason:D},--E||x(S))})}),--E||x(S)});return P.error&&g(P.value),p.promise}})},12785:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{all:function(f){var _=this,p=a.f(_),x=p.resolve,g=p.reject,P=s(function(){var O=n(_.resolve),S=[],I=0,E=1;u(f,function(A){var R=I++,T=!1;E++,r(O,_,A).then(function(D){T||(T=!0,S[R]=D,--E||x(S))},g)}),--E||x(S)});return P.error&&g(P.value),p.promise}})},50747:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(65911),s=e(73446),u=e(80734),c=e(62003),o=e(22093),f="No one promise resolved";t({target:"Promise",stat:!0,forced:o},{any:function(p){var x=this,g=a("AggregateError"),P=s.f(x),O=P.resolve,S=P.reject,I=u(function(){var E=n(x.resolve),A=[],R=0,T=1,D=!1;c(p,function(k){var B=R++,j=!1;T++,r(E,x,k).then(function(V){j||D||(D=!0,O(V))},function(V){j||D||(j=!0,A[B]=V,--T||S(new g(A,f)))})}),--T||S(new g(A,f))});return I.error&&S(I.value),P.promise}})},41902:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(82830).CONSTRUCTOR,a=e(2451),s=e(65911),u=e(55327),c=e(2291),o=a&&a.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(_){return this.then(void 0,_)}}),!r&&u(a)){var f=s("Promise").prototype.catch;o.catch!==f&&c(o,"catch",f,{unsafe:!0})}},90366:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(90946),a=e(92916),s=e(89945),u=e(2291),c=e(58218),o=e(94573),f=e(51996),_=e(63335),p=e(55327),x=e(31946),g=e(56472),P=e(60473),O=e(28887).set,S=e(72933),I=e(61810),E=e(80734),A=e(66790),R=e(94844),T=e(2451),D=e(82830),k=e(73446),B="Promise",j=D.CONSTRUCTOR,V=D.REJECTION_EVENT,H=D.SUBCLASSING,Y=R.getterFor(B),F=R.set,K=T&&T.prototype,X=T,Q=K,W=a.TypeError,N=a.document,J=a.process,M=k.f,Z=M,G=!!(N&&N.createEvent&&a.dispatchEvent),ee="unhandledrejection",ie="rejectionhandled",se=0,le=1,de=2,He=1,ze=2,st,vt,Je,Ke,Re=function(Me){var ye;return x(Me)&&p(ye=Me.then)?ye:!1},Ce=function(Me,ye){var fe=ye.value,Oe=ye.state===le,Ee=Oe?Me.ok:Me.fail,et=Me.resolve,mt=Me.reject,pe=Me.domain,ge,lt,Qe;try{Ee?(Oe||(ye.rejection===ze&&bt(ye),ye.rejection=He),Ee===!0?ge=fe:(pe&&pe.enter(),ge=Ee(fe),pe&&(pe.exit(),Qe=!0)),ge===Me.promise?mt(new W("Promise-chain cycle")):(lt=Re(ge))?s(lt,ge,et,mt):et(ge)):mt(fe)}catch(Ve){pe&&!Qe&&pe.exit(),mt(Ve)}},me=function(Me,ye){Me.notified||(Me.notified=!0,S(function(){for(var fe=Me.reactions,Oe;Oe=fe.get();)Ce(Oe,Me);Me.notified=!1,ye&&!Me.rejection&&ct(Me)}))},at=function(Me,ye,fe){var Oe,Ee;G?(Oe=N.createEvent("Event"),Oe.promise=ye,Oe.reason=fe,Oe.initEvent(Me,!1,!0),a.dispatchEvent(Oe)):Oe={promise:ye,reason:fe},!V&&(Ee=a["on"+Me])?Ee(Oe):Me===ee&&I("Unhandled promise rejection",fe)},ct=function(Me){s(O,a,function(){var ye=Me.facade,fe=Me.value,Oe=St(Me),Ee;if(Oe&&(Ee=E(function(){n?J.emit("unhandledRejection",fe,ye):at(ee,ye,fe)}),Me.rejection=n||St(Me)?ze:He,Ee.error))throw Ee.value})},St=function(Me){return Me.rejection!==He&&!Me.parent},bt=function(Me){s(O,a,function(){var ye=Me.facade;n?J.emit("rejectionHandled",ye):at(ie,ye,Me.value)})},Ie=function(Me,ye,fe){return function(Oe){Me(ye,Oe,fe)}},$e=function(Me,ye,fe){Me.done||(Me.done=!0,fe&&(Me=fe),Me.value=ye,Me.state=de,me(Me,!0))},ft=function(Me,ye,fe){if(!Me.done){Me.done=!0,fe&&(Me=fe);try{if(Me.facade===ye)throw new W("Promise can't be resolved itself");var Oe=Re(ye);Oe?S(function(){var Ee={done:!1};try{s(Oe,ye,Ie(ft,Ee,Me),Ie($e,Ee,Me))}catch(et){$e(Ee,et,Me)}}):(Me.value=ye,Me.state=le,me(Me,!1))}catch(Ee){$e({done:!1},Ee,Me)}}};if(j&&(X=function(ye){g(this,Q),_(ye),s(st,this);var fe=Y(this);try{ye(Ie(ft,fe),Ie($e,fe))}catch(Oe){$e(fe,Oe)}},Q=X.prototype,st=function(ye){F(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:se,value:void 0})},st.prototype=u(Q,"then",function(ye,fe){var Oe=Y(this),Ee=M(P(this,X));return Oe.parent=!0,Ee.ok=p(ye)?ye:!0,Ee.fail=p(fe)&&fe,Ee.domain=n?J.domain:void 0,Oe.state===se?Oe.reactions.add(Ee):S(function(){Ce(Ee,Oe)}),Ee.promise}),vt=function(){var Me=new st,ye=Y(Me);this.promise=Me,this.resolve=Ie(ft,ye),this.reject=Ie($e,ye)},k.f=M=function(Me){return Me===X||Me===Je?new vt(Me):Z(Me)},!r&&p(T)&&K!==Object.prototype)){Ke=K.then,H||u(K,"then",function(ye,fe){var Oe=this;return new X(function(Ee,et){s(Ke,Oe,Ee,et)}).then(ye,fe)},{unsafe:!0});try{delete K.constructor}catch(Me){}c&&c(K,Q)}t({global:!0,constructor:!0,wrap:!0,forced:j},{Promise:X}),o(X,B,!1,!0),f(B)},43595:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(2451),a=e(3338),s=e(65911),u=e(55327),c=e(60473),o=e(15597),f=e(2291),_=n&&n.prototype,p=!!n&&a(function(){_.finally.call({then:function(){}},function(){})});if(t({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(g){var P=c(this,s("Promise")),O=u(g);return this.then(O?function(S){return o(P,g()).then(function(){return S})}:g,O?function(S){return o(P,g()).then(function(){throw S})}:g)}}),!r&&u(n)){var x=s("Promise").prototype.finally;_.finally!==x&&f(_,"finally",x,{unsafe:!0})}},24627:function(i,d,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{race:function(f){var _=this,p=a.f(_),x=p.reject,g=s(function(){var P=n(_.resolve);u(f,function(O){r(P,_,O).then(p.resolve,x)})});return g.error&&x(g.value),p.promise}})},95693:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(73446),a=e(82830).CONSTRUCTOR;t({target:"Promise",stat:!0,forced:a},{reject:function(u){var c=n.f(this);return r(c.reject,void 0,u),c.promise}})},81930:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(16697),a=e(2451),s=e(82830).CONSTRUCTOR,u=e(15597),c=r("Promise"),o=n&&!s;t({target:"Promise",stat:!0,forced:n||s},{resolve:function(_){return u(o&&this===c?a:this,_)}})},92324:function(i,d,e){"use strict";var t=e(94488),r=e(73446);t({target:"Promise",stat:!0},{withResolvers:function(){var a=r.f(this);return{promise:a.promise,resolve:a.resolve,reject:a.reject}}})},23551:function(i,d,e){"use strict";var t=e(94488),r=e(13743),n=e(63335),a=e(80449),s=e(3338),u=!s(function(){Reflect.apply(function(){})});t({target:"Reflect",stat:!0,forced:u},{apply:function(o,f,_){return r(n(o),f,a(_))}})},74521:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),a=e(4645),s=e(6086),u=e(80449),c=e(31946),o=e(20132),f=e(3338),_=r("Reflect","construct"),p=Object.prototype,x=[].push,g=f(function(){function S(){}return!(_(function(){},[],S)instanceof S)}),P=!f(function(){_(function(){})}),O=g||P;t({target:"Reflect",stat:!0,forced:O,sham:O},{construct:function(I,E){s(I),u(E);var A=arguments.length<3?I:s(arguments[2]);if(P&&!g)return _(I,E,A);if(I===A){switch(E.length){case 0:return new I;case 1:return new I(E[0]);case 2:return new I(E[0],E[1]);case 3:return new I(E[0],E[1],E[2]);case 4:return new I(E[0],E[1],E[2],E[3])}var R=[null];return n(x,R,E),new(n(a,I,R))}var T=A.prototype,D=o(c(T)?T:p),k=n(I,D,E);return c(k)?k:D}})},57891:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),a=e(17818),s=e(37691),u=e(3338),c=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});t({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(f,_,p){n(f);var x=a(_);n(p);try{return s.f(f,x,p),!0}catch(g){return!1}}})},84138:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(71256).f;t({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var c=n(r(s),u);return c&&!c.configurable?!1:delete s[u]}})},37135:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),a=e(71256);t({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(u,c){return a.f(n(u),c)}})},6474:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(53456),a=e(4870);t({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(u){return n(r(u))}})},51832:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(31946),a=e(80449),s=e(60516),u=e(71256),c=e(53456);function o(f,_){var p=arguments.length<3?f:arguments[2],x,g;if(a(f)===p)return f[_];if(x=u.f(f,_),x)return s(x)?x.value:x.get===void 0?void 0:r(x.get,p);if(n(g=c(f)))return o(g,_,p)}t({target:"Reflect",stat:!0},{get:o})},40135:function(i,d,e){"use strict";var t=e(94488);t({target:"Reflect",stat:!0},{has:function(n,a){return a in n}})},7982:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(12477);t({target:"Reflect",stat:!0},{isExtensible:function(s){return r(s),n(s)}})},14893:function(i,d,e){"use strict";var t=e(94488),r=e(48662);t({target:"Reflect",stat:!0},{ownKeys:r})},49233:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(80449),a=e(13247);t({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(u){n(u);try{var c=r("Object","preventExtensions");return c&&c(u),!0}catch(o){return!1}}})},42844:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(557),a=e(58218);a&&t({target:"Reflect",stat:!0},{setPrototypeOf:function(u,c){r(u),n(c);try{return a(u,c),!0}catch(o){return!1}}})},92130:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(31946),s=e(60516),u=e(3338),c=e(37691),o=e(71256),f=e(53456),_=e(35012);function p(g,P,O){var S=arguments.length<4?g:arguments[3],I=o.f(n(g),P),E,A,R;if(!I){if(a(A=f(g)))return p(A,P,O,S);I=_(0)}if(s(I)){if(I.writable===!1||!a(S))return!1;if(E=o.f(S,P)){if(E.get||E.set||E.writable===!1)return!1;E.value=O,c.f(S,P,E)}else c.f(S,P,_(0,O))}else{if(R=I.set,R===void 0)return!1;r(R,S,O)}return!0}var x=u(function(){var g=function(){},P=c.f(new g,"a",{configurable:!0});return Reflect.set(g.prototype,"a",1,P)!==!1});t({target:"Reflect",stat:!0,forced:x},{set:p})},6536:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94573);t({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},27228:function(i,d,e){"use strict";var t=e(35454),r=e(92916),n=e(94237),a=e(20865),s=e(25576),u=e(68151),c=e(20132),o=e(80689).f,f=e(16332),_=e(44639),p=e(69905),x=e(81644),g=e(19286),P=e(44166),O=e(2291),S=e(3338),I=e(32621),E=e(94844).enforce,A=e(51996),R=e(59893),T=e(6041),D=e(51224),k=R("match"),B=r.RegExp,j=B.prototype,V=r.SyntaxError,H=n(j.exec),Y=n("".charAt),F=n("".replace),K=n("".indexOf),X=n("".slice),Q=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,W=/a/g,N=/a/g,J=new B(W)!==W,M=g.MISSED_STICKY,Z=g.UNSUPPORTED_Y,G=t&&(!J||M||T||D||S(function(){return N[k]=!1,B(W)!==W||B(N)===N||String(B(W,"i"))!=="/a/i"})),ee=function(He){for(var ze=He.length,st=0,vt="",Je=!1,Ke;st<=ze;st++){if(Ke=Y(He,st),Ke==="\\"){vt+=Ke+Y(He,++st);continue}!Je&&Ke==="."?vt+="[\\s\\S]":(Ke==="["?Je=!0:Ke==="]"&&(Je=!1),vt+=Ke)}return vt},ie=function(He){for(var ze=He.length,st=0,vt="",Je=[],Ke=c(null),Re=!1,Ce=!1,me=0,at="",ct;st<=ze;st++){if(ct=Y(He,st),ct==="\\")ct+=Y(He,++st);else if(ct==="]")Re=!1;else if(!Re)switch(!0){case ct==="[":Re=!0;break;case ct==="(":H(Q,X(He,st+1))&&(st+=2,Ce=!0),vt+=ct,me++;continue;case(ct===">"&&Ce):if(at===""||I(Ke,at))throw new V("Invalid capture group name");Ke[at]=!0,Je[Je.length]=[at,me],Ce=!1,at="";continue}Ce?at+=ct:vt+=ct}return[vt,Je]};if(a("RegExp",G)){for(var se=function(ze,st){var vt=f(j,this),Je=_(ze),Ke=st===void 0,Re=[],Ce=ze,me,at,ct,St,bt,Ie;if(!vt&&Je&&Ke&&ze.constructor===se)return ze;if((Je||f(j,ze))&&(ze=ze.source,Ke&&(st=x(Ce))),ze=ze===void 0?"":p(ze),st=st===void 0?"":p(st),Ce=ze,T&&"dotAll"in W&&(at=!!st&&K(st,"s")>-1,at&&(st=F(st,/s/g,""))),me=st,M&&"sticky"in W&&(ct=!!st&&K(st,"y")>-1,ct&&Z&&(st=F(st,/y/g,""))),D&&(St=ie(ze),ze=St[0],Re=St[1]),bt=s(B(ze,st),vt?this:j,se),(at||ct||Re.length)&&(Ie=E(bt),at&&(Ie.dotAll=!0,Ie.raw=se(ee(ze),me)),ct&&(Ie.sticky=!0),Re.length&&(Ie.groups=Re)),ze!==Ce)try{u(bt,"source",Ce===""?"(?:)":Ce)}catch($e){}return bt},le=o(B),de=0;le.length>de;)P(se,B,le[de++]);j.constructor=se,se.prototype=j,O(r,"RegExp",se,{constructor:!0})}A("RegExp")},62921:function(i,d,e){"use strict";var t=e(35454),r=e(6041),n=e(29076),a=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},44001:function(i,d,e){"use strict";var t=e(94488),r=e(88736);t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92262:function(i,d,e){"use strict";var t=e(92916),r=e(35454),n=e(64110),a=e(82163),s=e(3338),u=t.RegExp,c=u.prototype,o=r&&s(function(){var f=!0;try{u(".","d")}catch(I){f=!1}var _={},p="",x=f?"dgimsy":"gimsy",g=function(I,E){Object.defineProperty(_,I,{get:function(){return p+=E,!0}})},P={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};f&&(P.hasIndices="d");for(var O in P)g(O,P[O]);var S=Object.getOwnPropertyDescriptor(c,"flags").get.call(_);return S!==x||p!==x});o&&n(c,"flags",{configurable:!0,get:a})},54744:function(i,d,e){"use strict";var t=e(35454),r=e(19286).MISSED_STICKY,n=e(29076),a=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},38214:function(i,d,e){"use strict";e(44001);var t=e(94488),r=e(89945),n=e(55327),a=e(80449),s=e(69905),u=function(){var o=!1,f=/[ac]/;return f.exec=function(){return o=!0,/./.exec.apply(this,arguments)},f.test("abc")===!0&&o}(),c=/./.test;t({target:"RegExp",proto:!0,forced:!u},{test:function(o){var f=a(this),_=s(o),p=f.exec;if(!n(p))return r(c,f,_);var x=r(p,f,_);return x===null?!1:(a(x),!0)}})},12756:function(i,d,e){"use strict";var t=e(8090).PROPER,r=e(2291),n=e(80449),a=e(69905),s=e(3338),u=e(81644),c="toString",o=RegExp.prototype,f=o[c],_=s(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),p=t&&f.name!==c;(_||p)&&r(RegExp.prototype,c,function(){var g=n(this),P=a(g.source),O=a(u(g));return"/"+P+"/"+O},{unsafe:!0})},69772:function(i,d,e){"use strict";var t=e(48059),r=e(40942);t("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},93379:function(i,d,e){"use strict";e(69772)},34932:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},62007:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(56902),s=e(69905),u=e(3338),c=r("".charAt),o=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});t({target:"String",proto:!0,forced:o},{at:function(_){var p=s(n(this)),x=p.length,g=a(_),P=g>=0?g:x+g;return P<0||P>=x?void 0:c(p,P)}})},81046:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("big")},{big:function(){return r(this,"big","","")}})},85744:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("blink")},{blink:function(){return r(this,"blink","","")}})},13494:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("bold")},{bold:function(){return r(this,"b","","")}})},90572:function(i,d,e){"use strict";var t=e(94488),r=e(13764).codeAt;t({target:"String",proto:!0},{codePointAt:function(a){return r(this,a)}})},37343:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(71256).f,a=e(61578),s=e(69905),u=e(41696),c=e(95955),o=e(86266),f=e(16697),_=r("".endsWith),p=r("".slice),x=Math.min,g=o("endsWith"),P=!f&&!g&&!!function(){var O=n(String.prototype,"endsWith");return O&&!O.writable}();t({target:"String",proto:!0,forced:!P&&!g},{endsWith:function(S){var I=s(c(this));u(S);var E=arguments.length>1?arguments[1]:void 0,A=I.length,R=E===void 0?A:x(a(E),A),T=s(S);return _?_(I,T,R):p(I,R-T.length,R)===T}})},56338:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fixed")},{fixed:function(){return r(this,"tt","","")}})},66755:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},68709:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},45945:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(51981),a=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=r([].join),o=!!u&&u.length!==1;t({target:"String",stat:!0,arity:1,forced:o},{fromCodePoint:function(_){for(var p=[],x=arguments.length,g=0,P;x>g;){if(P=+arguments[g++],n(P,1114111)!==P)throw new a(P+" is not a valid code point");p[g]=P<65536?s(P):s(((P-=65536)>>10)+55296,P%1024+56320)}return c(p,"")}})},75551:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(41696),a=e(95955),s=e(69905),u=e(86266),c=r("".indexOf);t({target:"String",proto:!0,forced:!u("includes")},{includes:function(f){return!!~c(s(a(this)),s(n(f)),arguments.length>1?arguments[1]:void 0)}})},32493:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(69905),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var c=a(n(this)),o=c.length,f=0;f=56320||++f>=o||(s(c,f)&64512)!==56320))return!1}return!0}})},4939:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("italics")},{italics:function(){return r(this,"i","","")}})},20852:function(i,d,e){"use strict";var t=e(13764).charAt,r=e(69905),n=e(94844),a=e(24019),s=e(25587),u="String Iterator",c=n.set,o=n.getterFor(u);a(String,"String",function(f){c(this,{type:u,string:r(f),index:0})},function(){var _=o(this),p=_.string,x=_.index,g;return x>=p.length?s(void 0,!0):(g=t(p,x),_.index+=g.length,s(g,!1))})},81927:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("link")},{link:function(s){return r(this,"a","href",s)}})},18827:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(34114),a=e(83126),s=e(25587),u=e(95955),c=e(61578),o=e(69905),f=e(80449),_=e(4112),p=e(29076),x=e(44639),g=e(81644),P=e(53776),O=e(2291),S=e(3338),I=e(59893),E=e(60473),A=e(52216),R=e(94338),T=e(94844),D=e(16697),k=I("matchAll"),B="RegExp String",j=B+" Iterator",V=T.set,H=T.getterFor(j),Y=RegExp.prototype,F=TypeError,K=n("".indexOf),X=n("".matchAll),Q=!!X&&!S(function(){X("a",/./)}),W=a(function(M,Z,G,ee){V(this,{type:j,regexp:M,string:Z,global:G,unicode:ee,done:!1})},B,function(){var M=H(this);if(M.done)return s(void 0,!0);var Z=M.regexp,G=M.string,ee=R(Z,G);return ee===null?(M.done=!0,s(void 0,!0)):M.global?(o(ee[0])===""&&(Z.lastIndex=A(G,c(Z.lastIndex),M.unicode)),s(ee,!1)):(M.done=!0,s(ee,!1))}),N=function(J){var M=f(this),Z=o(J),G=E(M,RegExp),ee=o(g(M)),ie,se,le;return ie=new G(G===RegExp?M.source:M,ee),se=!!~K(ee,"g"),le=!!~K(ee,"u"),ie.lastIndex=c(M.lastIndex),new W(ie,Z,se,le)};t({target:"String",proto:!0,forced:Q},{matchAll:function(M){var Z=u(this),G,ee,ie,se;if(_(M)){if(Q)return X(Z,M)}else{if(x(M)&&(G=o(u(g(M))),!~K(G,"g")))throw new F("`.matchAll` does not allow non-global regexes");if(Q)return X(Z,M);if(ie=P(M,k),ie===void 0&&D&&p(M)==="RegExp"&&(ie=N),ie)return r(ie,M,Z)}return ee=o(Z),se=new RegExp(M,"g"),D?r(N,se,ee):se[k](ee)}}),D||k in Y||O(Y,k,N)},46302:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),a=e(4112),s=e(61578),u=e(69905),c=e(95955),o=e(53776),f=e(52216),_=e(94338);r("match",function(p,x,g){return[function(O){var S=c(this),I=a(O)?void 0:o(O,p);return I?t(I,O,S):new RegExp(O)[p](u(S))},function(P){var O=n(this),S=u(P),I=g(x,O,S);if(I.done)return I.value;if(!O.global)return _(O,S);var E=O.unicode;O.lastIndex=0;for(var A=[],R=0,T;(T=_(O,S))!==null;){var D=u(T[0]);A[R]=D,D===""&&(O.lastIndex=f(S,s(O.lastIndex),E)),R++}return R===0?null:A}]})},76718:function(i,d,e){"use strict";var t=e(94488),r=e(85571).end,n=e(98352);t({target:"String",proto:!0,forced:n},{padEnd:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},79172:function(i,d,e){"use strict";var t=e(94488),r=e(85571).start,n=e(98352);t({target:"String",proto:!0,forced:n},{padStart:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},32192:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(80524),a=e(94029),s=e(69905),u=e(82762),c=r([].push),o=r([].join);t({target:"String",stat:!0},{raw:function(_){var p=n(a(_).raw),x=u(p);if(!x)return"";for(var g=arguments.length,P=[],O=0;;){if(c(P,s(p[O++])),O===x)return o(P,"");OT.length?-1:D===""?k:S(T,D,k)};t({target:"String",proto:!0},{replaceAll:function(D,k){var B=a(this),j,V,H,Y,F,K,X,Q,W,N=0,J=0,M="";if(!u(D)){if(j=c(D),j&&(V=o(a(_(D))),!~S(V,"g")))throw new O("`.replaceAll` does not allow non-global regexes");if(H=f(D,P),H)return r(H,D,B,k);if(g&&j)return I(o(B),D,k)}for(Y=o(B),F=o(D),K=s(k),K||(k=o(k)),X=F.length,Q=A(1,X),N=R(Y,F,0);N!==-1;)W=K?o(k(F,N,Y)):p(F,Y,N,[],void 0,k),M+=E(Y,J,N)+W,J=N+X,N=R(Y,F,N+Q);return J")!=="7"});a("replace",function(F,K,X){var Q=H?"$":"$0";return[function(N,J){var M=x(this),Z=o(N)?void 0:P(N,E);return Z?r(Z,N,M,J):r(K,p(M),N,J)},function(W,N){var J=u(this),M=p(W);if(typeof N=="string"&&k(N,Q)===-1&&k(N,"$<")===-1){var Z=X(K,J,M,N);if(Z.done)return Z.value}var G=c(N);G||(N=p(N));var ee=J.global,ie;ee&&(ie=J.unicode,J.lastIndex=0);for(var se=[],le;le=S(J,M),!(le===null||(D(se,le),!ee));){var de=p(le[0]);de===""&&(J.lastIndex=g(M,_(J.lastIndex),ie))}for(var He="",ze=0,st=0;st=ze&&(He+=B(M,ze,Je)+Re,ze=Je+vt.length)}return He+B(M,ze)}]},!Y||!V||H)},62925:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),a=e(4112),s=e(95955),u=e(5370),c=e(69905),o=e(53776),f=e(94338);r("search",function(_,p,x){return[function(P){var O=s(this),S=a(P)?void 0:o(P,_);return S?t(S,P,O):new RegExp(P)[_](c(O))},function(g){var P=n(this),O=c(g),S=x(p,P,O);if(S.done)return S.value;var I=P.lastIndex;u(I,0)||(P.lastIndex=0);var E=f(P,O);return u(P.lastIndex,I)||(P.lastIndex=I),E===null?-1:E.index}]})},60462:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("small")},{small:function(){return r(this,"small","","")}})},9595:function(i,d,e){"use strict";var t=e(13743),r=e(89945),n=e(94237),a=e(8662),s=e(80449),u=e(4112),c=e(44639),o=e(95955),f=e(60473),_=e(52216),p=e(61578),x=e(69905),g=e(53776),P=e(71698),O=e(94338),S=e(88736),I=e(19286),E=e(3338),A=I.UNSUPPORTED_Y,R=4294967295,T=Math.min,D=[].push,k=n(/./.exec),B=n(D),j=n("".slice),V=!E(function(){var H=/(?:)/,Y=H.exec;H.exec=function(){return Y.apply(this,arguments)};var F="ab".split(H);return F.length!==2||F[0]!=="a"||F[1]!=="b"});a("split",function(H,Y,F){var K;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?K=function(X,Q){var W=x(o(this)),N=Q===void 0?R:Q>>>0;if(N===0)return[];if(X===void 0)return[W];if(!c(X))return r(Y,W,X,N);for(var J=[],M=(X.ignoreCase?"i":"")+(X.multiline?"m":"")+(X.unicode?"u":"")+(X.sticky?"y":""),Z=0,G=new RegExp(X.source,M+"g"),ee,ie,se;(ee=r(S,G,W))&&(ie=G.lastIndex,!(ie>Z&&(B(J,j(W,Z,ee.index)),ee.length>1&&ee.index=N)));)G.lastIndex===ee.index&&G.lastIndex++;return Z===W.length?(se||!k(G,""))&&B(J,""):B(J,j(W,Z)),J.length>N?P(J,0,N):J}:"0".split(void 0,0).length?K=function(X,Q){return X===void 0&&Q===0?[]:r(Y,this,X,Q)}:K=Y,[function(Q,W){var N=o(this),J=u(Q)?void 0:g(Q,H);return J?r(J,Q,N,W):r(K,x(N),Q,W)},function(X,Q){var W=s(this),N=x(X),J=F(K,W,N,Q,K!==Y);if(J.done)return J.value;var M=f(W,RegExp),Z=W.unicode,G=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(A?"g":"y"),ee=new M(A?"^(?:"+W.source+")":W,G),ie=Q===void 0?R:Q>>>0;if(ie===0)return[];if(N.length===0)return O(ee,N)===null?[N]:[];for(var se=0,le=0,de=[];le1?arguments[1]:void 0,I.length)),A=s(S);return _?_(I,A,E):p(I,E,E+A.length)===A}})},72571:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("strike")},{strike:function(){return r(this,"strike","","")}})},71200:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sub")},{sub:function(){return r(this,"sub","","")}})},70917:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(56902),s=e(69905),u=r("".slice),c=Math.max,o=Math.min,f=!"".substr||"ab".substr(-1)!=="b";t({target:"String",proto:!0,forced:f},{substr:function(p,x){var g=s(n(this)),P=g.length,O=a(p),S,I;return O===1/0&&(O=0),O<0&&(O=c(P+O,0)),S=x===void 0?P:a(x),S<=0||S===1/0?"":(I=o(O+S,P),O>=I?"":u(g,O,I))}})},85767:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sup")},{sup:function(){return r(this,"sup","","")}})},53427:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94237),a=e(95955),s=e(69905),u=e(3338),c=Array,o=n("".charAt),f=n("".charCodeAt),_=n([].join),p="".toWellFormed,x="\uFFFD",g=p&&u(function(){return r(p,1)!=="1"});t({target:"String",proto:!0,forced:g},{toWellFormed:function(){var O=s(a(this));if(g)return r(p,O);for(var S=O.length,I=c(S),E=0;E=56320||E+1>=S||(f(O,E+1)&64512)!==56320?I[E]=x:(I[E]=o(O,E),I[++E]=o(O,E))}return _(I,"")}})},49257:function(i,d,e){"use strict";e(20189);var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},93980:function(i,d,e){"use strict";var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},20189:function(i,d,e){"use strict";var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},72910:function(i,d,e){"use strict";e(93980);var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},70878:function(i,d,e){"use strict";var t=e(94488),r=e(52971).trim,n=e(18105);t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return r(this)}})},64003:function(i,d,e){"use strict";var t=e(94674);t("asyncIterator")},39161:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),a=e(94237),s=e(16697),u=e(35454),c=e(42820),o=e(3338),f=e(32621),_=e(16332),p=e(80449),x=e(80524),g=e(17818),P=e(69905),O=e(35012),S=e(20132),I=e(7733),E=e(80689),A=e(53393),R=e(92635),T=e(71256),D=e(37691),k=e(55666),B=e(27597),j=e(2291),V=e(64110),H=e(77898),Y=e(11898),F=e(54406),K=e(6145),X=e(59893),Q=e(38282),W=e(94674),N=e(14311),J=e(94573),M=e(94844),Z=e(90560).forEach,G=Y("hidden"),ee="Symbol",ie="prototype",se=M.set,le=M.getterFor(ee),de=Object[ie],He=r.Symbol,ze=He&&He[ie],st=r.RangeError,vt=r.TypeError,Je=r.QObject,Ke=T.f,Re=D.f,Ce=A.f,me=B.f,at=a([].push),ct=H("symbols"),St=H("op-symbols"),bt=H("wks"),Ie=!Je||!Je[ie]||!Je[ie].findChild,$e=function(ge,lt,Qe){var Ve=Ke(de,lt);Ve&&delete de[lt],Re(ge,lt,Qe),Ve&&ge!==de&&Re(de,lt,Ve)},ft=u&&o(function(){return S(Re({},"a",{get:function(){return Re(this,"a",{value:7}).a}})).a!==7})?$e:Re,Me=function(ge,lt){var Qe=ct[ge]=S(ze);return se(Qe,{type:ee,tag:ge,description:lt}),u||(Qe.description=lt),Qe},ye=function(lt,Qe,Ve){lt===de&&ye(St,Qe,Ve),p(lt);var it=g(Qe);return p(Ve),f(ct,it)?(Ve.enumerable?(f(lt,G)&<[G][it]&&(lt[G][it]=!1),Ve=S(Ve,{enumerable:O(0,!1)})):(f(lt,G)||Re(lt,G,O(1,{})),lt[G][it]=!0),ft(lt,it,Ve)):Re(lt,it,Ve)},fe=function(lt,Qe){p(lt);var Ve=x(Qe),it=I(Ve).concat(pe(Ve));return Z(it,function(Dt){(!u||n(Ee,Ve,Dt))&&ye(lt,Dt,Ve[Dt])}),lt},Oe=function(lt,Qe){return Qe===void 0?S(lt):fe(S(lt),Qe)},Ee=function(lt){var Qe=g(lt),Ve=n(me,this,Qe);return this===de&&f(ct,Qe)&&!f(St,Qe)?!1:Ve||!f(this,Qe)||!f(ct,Qe)||f(this,G)&&this[G][Qe]?Ve:!0},et=function(lt,Qe){var Ve=x(lt),it=g(Qe);if(!(Ve===de&&f(ct,it)&&!f(St,it))){var Dt=Ke(Ve,it);return Dt&&f(ct,it)&&!(f(Ve,G)&&Ve[G][it])&&(Dt.enumerable=!0),Dt}},mt=function(lt){var Qe=Ce(x(lt)),Ve=[];return Z(Qe,function(it){!f(ct,it)&&!f(F,it)&&at(Ve,it)}),Ve},pe=function(ge){var lt=ge===de,Qe=Ce(lt?St:x(ge)),Ve=[];return Z(Qe,function(it){f(ct,it)&&(!lt||f(de,it))&&at(Ve,ct[it])}),Ve};c||(He=function(){if(_(ze,this))throw new vt("Symbol is not a constructor");var lt=!arguments.length||arguments[0]===void 0?void 0:P(arguments[0]),Qe=K(lt),Ve=function(it){var Dt=this===void 0?r:this;Dt===de&&n(Ve,St,it),f(Dt,G)&&f(Dt[G],Qe)&&(Dt[G][Qe]=!1);var Yt=O(1,it);try{ft(Dt,Qe,Yt)}catch(Se){if(!(Se instanceof st))throw Se;$e(Dt,Qe,Yt)}};return u&&Ie&&ft(de,Qe,{configurable:!0,set:Ve}),Me(Qe,lt)},ze=He[ie],j(ze,"toString",function(){return le(this).tag}),j(He,"withoutSetter",function(ge){return Me(K(ge),ge)}),B.f=Ee,D.f=ye,k.f=fe,T.f=et,E.f=A.f=mt,R.f=pe,Q.f=function(ge){return Me(X(ge),ge)},u&&(V(ze,"description",{configurable:!0,get:function(){return le(this).description}}),s||j(de,"propertyIsEnumerable",Ee,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:He}),Z(I(bt),function(ge){W(ge)}),t({target:ee,stat:!0,forced:!c},{useSetter:function(){Ie=!0},useSimple:function(){Ie=!1}}),t({target:"Object",stat:!0,forced:!c,sham:!u},{create:Oe,defineProperty:ye,defineProperties:fe,getOwnPropertyDescriptor:et}),t({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:mt}),N(),J(He,ee),F[G]=!0},44852:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),a=e(94237),s=e(32621),u=e(55327),c=e(16332),o=e(69905),f=e(64110),_=e(24538),p=n.Symbol,x=p&&p.prototype;if(r&&u(p)&&(!("description"in x)||p().description!==void 0)){var g={},P=function(){var D=arguments.length<1||arguments[0]===void 0?void 0:o(arguments[0]),k=c(x,this)?new p(D):D===void 0?p():p(D);return D===""&&(g[k]=!0),k};_(P,p),P.prototype=x,x.constructor=P;var O=String(p("description detection"))==="Symbol(description detection)",S=a(x.valueOf),I=a(x.toString),E=/^Symbol\((.*)\)[^)]+$/,A=a("".replace),R=a("".slice);f(x,"description",{configurable:!0,get:function(){var D=S(this);if(s(g,D))return"";var k=I(D),B=O?R(k,7,-1):A(k,E,"$1");return B===""?void 0:B}}),t({global:!0,constructor:!0,forced:!0},{Symbol:P})}},54524:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(32621),a=e(69905),s=e(77898),u=e(60798),c=s("string-to-symbol-registry"),o=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{for:function(f){var _=a(f);if(n(c,_))return c[_];var p=r("Symbol")(_);return c[_]=p,o[p]=_,p}})},17898:function(i,d,e){"use strict";var t=e(94674);t("hasInstance")},40902:function(i,d,e){"use strict";var t=e(94674);t("isConcatSpreadable")},2259:function(i,d,e){"use strict";var t=e(94674);t("iterator")},68557:function(i,d,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(i,d,e){"use strict";var t=e(94488),r=e(32621),n=e(18446),a=e(40593),s=e(77898),u=e(60798),c=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{keyFor:function(f){if(!n(f))throw new TypeError(a(f)+" is not a symbol");if(r(c,f))return c[f]}})},69811:function(i,d,e){"use strict";var t=e(94674);t("matchAll")},14589:function(i,d,e){"use strict";var t=e(94674);t("match")},18114:function(i,d,e){"use strict";var t=e(94674);t("replace")},23844:function(i,d,e){"use strict";var t=e(94674);t("search")},39581:function(i,d,e){"use strict";var t=e(94674);t("species")},40632:function(i,d,e){"use strict";var t=e(94674);t("split")},22690:function(i,d,e){"use strict";var t=e(94674),r=e(14311);t("toPrimitive"),r()},7786:function(i,d,e){"use strict";var t=e(65911),r=e(94674),n=e(94573);r("toStringTag"),n(t("Symbol"),"Symbol")},99062:function(i,d,e){"use strict";var t=e(94674);t("unscopables")},35246:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(56902),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(c){var o=a(this),f=r(o),_=n(c),p=_>=0?_:f+_;return p<0||p>=f?void 0:o[p]})},83470:function(i,d,e){"use strict";var t=e(94237),r=e(58261),n=e(92670),a=t(n),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("copyWithin",function(o,f){return a(s(this),o,f,arguments.length>2?arguments[2]:void 0)})},79641:function(i,d,e){"use strict";var t=e(58261),r=e(90560).every,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("every",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},72397:function(i,d,e){"use strict";var t=e(58261),r=e(75202),n=e(93303),a=e(97607),s=e(89945),u=e(94237),c=e(3338),o=t.aTypedArray,f=t.exportTypedArrayMethod,_=u("".slice),p=c(function(){var x=0;return new Int8Array(2).fill({valueOf:function(){return x++}}),x!==1});f("fill",function(g){var P=arguments.length;o(this);var O=_(a(this),0,3)==="Big"?n(g):+g;return s(r,this,O,P>1?arguments[1]:void 0,P>2?arguments[2]:void 0)},p)},24860:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filter,n=e(27607),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filter",function(c){var o=r(a(this),c,arguments.length>1?arguments[1]:void 0);return n(this,o)})},56233:function(i,d,e){"use strict";var t=e(58261),r=e(90560).findIndex,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},64344:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLastIndex,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},59419:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLast,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},19320:function(i,d,e){"use strict";var t=e(58261),r=e(90560).find,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("find",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},84432:function(i,d,e){"use strict";var t=e(69733);t("Float32",function(r){return function(a,s,u){return r(this,a,s,u)}})},59022:function(i,d,e){"use strict";var t=e(69733);t("Float64",function(r){return function(a,s,u){return r(this,a,s,u)}})},5316:function(i,d,e){"use strict";var t=e(58261),r=e(90560).forEach,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("forEach",function(u){r(n(this),u,arguments.length>1?arguments[1]:void 0)})},93744:function(i,d,e){"use strict";var t=e(59627),r=e(58261).exportTypedArrayStaticMethod,n=e(50706);r("from",n,t)},19299:function(i,d,e){"use strict";var t=e(58261),r=e(22999).includes,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("includes",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},15286:function(i,d,e){"use strict";var t=e(58261),r=e(22999).indexOf,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("indexOf",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},51054:function(i,d,e){"use strict";var t=e(69733);t("Int16",function(r){return function(a,s,u){return r(this,a,s,u)}})},60330:function(i,d,e){"use strict";var t=e(69733);t("Int32",function(r){return function(a,s,u){return r(this,a,s,u)}})},19363:function(i,d,e){"use strict";var t=e(69733);t("Int8",function(r){return function(a,s,u){return r(this,a,s,u)}})},91927:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),a=e(58261),s=e(11005),u=e(59893),c=u("iterator"),o=t.Uint8Array,f=n(s.values),_=n(s.keys),p=n(s.entries),x=a.aTypedArray,g=a.exportTypedArrayMethod,P=o&&o.prototype,O=!r(function(){P[c].call([1])}),S=!!P&&P.values&&P[c]===P.values&&P.values.name==="values",I=function(){return f(x(this))};g("entries",function(){return p(x(this))},O),g("keys",function(){return _(x(this))},O),g("values",I,O||!S,{name:"values"}),g(c,I,O||!S,{name:"values"})},27730:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=t.aTypedArray,a=t.exportTypedArrayMethod,s=r([].join);a("join",function(c){return s(n(this),c)})},58707:function(i,d,e){"use strict";var t=e(58261),r=e(13743),n=e(55009),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("lastIndexOf",function(c){var o=arguments.length;return r(n,a(this),o>1?[c,arguments[1]]:[c])})},41356:function(i,d,e){"use strict";var t=e(58261),r=e(90560).map,n=e(31384),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("map",function(c){return r(a(this),c,arguments.length>1?arguments[1]:void 0,function(o,f){return new(n(o))(f)})})},51606:function(i,d,e){"use strict";var t=e(58261),r=e(59627),n=t.aTypedArrayConstructor,a=t.exportTypedArrayStaticMethod;a("of",function(){for(var u=0,c=arguments.length,o=new(n(this))(c);c>u;)o[u]=arguments[u++];return o},r)},38458:function(i,d,e){"use strict";var t=e(58261),r=e(16370).right,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("reduceRight",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},8966:function(i,d,e){"use strict";var t=e(58261),r=e(16370).left,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("reduce",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},71957:function(i,d,e){"use strict";var t=e(58261),r=t.aTypedArray,n=t.exportTypedArrayMethod,a=Math.floor;n("reverse",function(){for(var u=this,c=r(u).length,o=a(c/2),f=0,_;f1?arguments[1]:void 0,1),A=u(I);if(P)return r(p,this,A,E);var R=this.length,T=a(A),D=0;if(T+E>R)throw new o("Wrong length");for(;Dg;)O[g]=p[g++];return O},c)},96519:function(i,d,e){"use strict";var t=e(58261),r=e(90560).some,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("some",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},95576:function(i,d,e){"use strict";var t=e(92916),r=e(34114),n=e(3338),a=e(63335),s=e(63668),u=e(58261),c=e(78177),o=e(17687),f=e(46573),_=e(19684),p=u.aTypedArray,x=u.exportTypedArrayMethod,g=t.Uint16Array,P=g&&r(g.prototype.sort),O=!!P&&!(n(function(){P(new g(2),null)})&&n(function(){P(new g(2),{})})),S=!!P&&!n(function(){if(f)return f<74;if(c)return c<67;if(o)return!0;if(_)return _<602;var E=new g(516),A=Array(516),R,T;for(R=0;R<516;R++)T=R%4,E[R]=515-R,A[R]=R-2*T+3;for(P(E,function(D,k){return(D/4|0)-(k/4|0)}),R=0;R<516;R++)if(E[R]!==A[R])return!0}),I=function(E){return function(A,R){return E!==void 0?+E(A,R)||0:R!==R?-1:A!==A?1:A===0&&R===0?1/A>0&&1/R<0?1:-1:A>R}};x("sort",function(A){return A!==void 0&&a(A),S?P(this,A):s(p(this),I(A))},!S||O)},63079:function(i,d,e){"use strict";var t=e(58261),r=e(61578),n=e(51981),a=e(31384),s=t.aTypedArray,u=t.exportTypedArrayMethod;u("subarray",function(o,f){var _=s(this),p=_.length,x=n(o,p),g=a(_);return new g(_.buffer,_.byteOffset+x*_.BYTES_PER_ELEMENT,r((f===void 0?p:n(f,p))-x))})},8995:function(i,d,e){"use strict";var t=e(92916),r=e(13743),n=e(58261),a=e(3338),s=e(30867),u=t.Int8Array,c=n.aTypedArray,o=n.exportTypedArrayMethod,f=[].toLocaleString,_=!!u&&a(function(){f.call(new u(1))}),p=a(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!a(function(){u.prototype.toLocaleString.call([1,2])});o("toLocaleString",function(){return r(f,_?s(c(this)):c(this),s(arguments))},p)},23080:function(i,d,e){"use strict";var t=e(85903),r=e(58261),n=r.aTypedArray,a=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;a("toReversed",function(){return t(n(this),s(this))})},74701:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=e(63335),a=e(69478),s=t.aTypedArray,u=t.getTypedArrayConstructor,c=t.exportTypedArrayMethod,o=r(t.TypedArrayPrototype.sort);c("toSorted",function(_){_!==void 0&&n(_);var p=s(this),x=a(u(p),p);return o(x,_)})},91809:function(i,d,e){"use strict";var t=e(58261).exportTypedArrayMethod,r=e(3338),n=e(92916),a=e(94237),s=n.Uint8Array,u=s&&s.prototype||{},c=[].toString,o=a([].join);r(function(){c.call({})})&&(c=function(){return o(this)});var f=u.toString!==c;t("toString",c,f)},64336:function(i,d,e){"use strict";var t=e(69733);t("Uint16",function(r){return function(a,s,u){return r(this,a,s,u)}})},63914:function(i,d,e){"use strict";var t=e(69733);t("Uint32",function(r){return function(a,s,u){return r(this,a,s,u)}})},55234:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(a,s,u){return r(this,a,s,u)}})},88104:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(a,s,u){return r(this,a,s,u)}},!0)},77517:function(i,d,e){"use strict";var t=e(82041),r=e(58261),n=e(75406),a=e(56902),s=e(93303),u=r.aTypedArray,c=r.getTypedArrayConstructor,o=r.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(_){return _===8}}();o("with",function(_,p){var x=u(this),g=a(_),P=n(x)?s(p):+p;return t(x,c(x),g,P)},!f)},30149:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),a=String.fromCharCode,s=r("".charAt),u=r(/./.exec),c=r("".slice),o=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;t({global:!0},{unescape:function(p){for(var x=n(p),g="",P=x.length,O=0,S,I;O1?arguments[1]:void 0)}}),n("filterOut")},55885:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filterReject,n=e(81181);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("filterReject")},91130:function(i,d,e){"use strict";var t=e(94488),r=e(32278);t({target:"Array",stat:!0},{fromAsync:r})},64963:function(i,d,e){"use strict";var t=e(94488),r=e(45601),n=e(81181),a=e(33940),s=e(16697);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),n("groupByToMap")},8604:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(45601),a=e(81181);t({target:"Array",proto:!0,forced:!n("groupBy")},{groupBy:function(u){var c=arguments.length>1?arguments[1]:void 0;return r(this,u,c)}}),a("groupBy")},25178:function(i,d,e){"use strict";var t=e(94488),r=e(81181),n=e(33940),a=e(16697);t({target:"Array",proto:!0,forced:a},{groupToMap:n}),r("groupToMap")},39034:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(81181);t({target:"Array",proto:!0},{group:function(s){var u=arguments.length>1?arguments[1]:void 0;return r(this,s,u)}}),n("group")},1905:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=Object.isFrozen,a=function(s,u){if(!n||!r(s)||!n(s))return!1;for(var c=0,o=s.length,f;c1?arguments[1]:!1);return n([c&255,c>>8&255],10)}})},93236:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return n(this,s)}})},42212:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),a=e(24225),s=e(61618).pack,u=e(35175),c=TypeError,o=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(_,p){if(n(this)!=="DataView")throw new c("Incorrect receiver");var x=a(_),g=s(u(p),10,2);return o(this,x,g[1]<<8|g[0],arguments.length>2?arguments[2]:!1)}})},63923:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),a=e(24225),s=e(86350),u=TypeError,c=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,_){if(n(this)!=="DataView")throw new u("Incorrect receiver");var p=a(f);return c(this,p,s(_))}})},2278:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(65911),a=e(63335),s=e(56472),u=e(2291),c=e(66477),o=e(64110),f=e(59893),_=e(94844),p=e(5978),x=n("SuppressedError"),g=ReferenceError,P=f("dispose"),O=f("toStringTag"),S="DisposableStack",I=_.set,E=_.getterFor(S),A="sync-dispose",R="disposed",T="pending",D=function(j){var V=E(j);if(V.state===R)throw new g(S+" already disposed");return V},k=function(){I(s(this,B),{type:S,state:T,stack:[]}),r||(this.disposed=!1)},B=k.prototype;c(B,{dispose:function(){var V=E(this);if(V.state!==R){V.state=R,r||(this.disposed=!0);for(var H=V.stack,Y=H.length,F=!1,K;Y;){var X=H[--Y];H[Y]=null;try{X()}catch(Q){F?K=new x(Q,K):(F=!0,K=Q)}}if(V.stack=null,F)throw K}},use:function(V){return p(D(this),V,A),V},adopt:function(V,H){var Y=D(this);return a(H),p(Y,void 0,A,function(){H(V)}),V},defer:function(V){var H=D(this);a(V),p(H,void 0,A,V)},move:function(){var V=D(this),H=new k;return E(H).stack=V.stack,V.stack=[],V.state=R,r||(this.disposed=!0),H}}),r&&o(B,"disposed",{configurable:!0,get:function(){return E(this).state===R}}),u(B,P,B.dispose,{name:"dispose"}),u(B,O,S,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:k})},36955:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},77326:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(55327),a=e(15212),s=e(32621),u=e(35454),c=Object.getOwnPropertyDescriptor,o=/^\s*class\b/,f=r(o.exec),_=function(p){try{if(!u||!f(o,a(p)))return!1}catch(g){}var x=c(p,"prototype");return!!x&&s(x,"writable")&&!x.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(x){return n(x)&&!_(x)}})},53571:function(i,d,e){"use strict";var t=e(94488),r=e(39812);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},28670:function(i,d,e){"use strict";var t=e(59893),r=e(37691).f,n=t("metadata"),a=Function.prototype;a[n]===void 0&&r(a,n,{value:null})},31050:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},96364:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},25321:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(56472),a=e(80449),s=e(55327),u=e(53456),c=e(64110),o=e(69392),f=e(3338),_=e(32621),p=e(59893),x=e(46571).IteratorPrototype,g=e(35454),P=e(16697),O="constructor",S="Iterator",I=p("toStringTag"),E=TypeError,A=r[S],R=P||!s(A)||A.prototype!==x||!f(function(){A({})}),T=function(){if(n(this,x),u(this)===x)throw new E("Abstract class Iterator not directly constructable")},D=function(k,B){g?c(x,k,{configurable:!0,get:function(){return B},set:function(j){if(a(this),this===x)throw new E("You can't redefine this property");_(this,k)?this[k]=j:o(this,k,j)}}):x[k]=B};_(x,I)||D(I,S),(R||!_(x,O)||x[O]===Object)&&D(O,T),T.prototype=x,t({global:!0,constructor:!0,forced:R},{Iterator:T})},46304:function(i,d,e){"use strict";var t=e(89945),r=e(2291),n=e(53776),a=e(32621),s=e(59893),u=e(46571).IteratorPrototype,c=s("dispose");a(u,c)||r(u,c,function(){var o=n(this,"return");o&&t(o,this)})},55163:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(10731),s=e(2279),u=e(51358),c=e(20547),o=e(16697),f=c(function(){for(var _=this.iterator,p=this.next,x,g;this.remaining;)if(this.remaining--,x=n(r(p,_)),g=this.done=!!x.done,g)return;if(x=n(r(p,_)),g=this.done=!!x.done,!g)return x.value});t({target:"Iterator",proto:!0,real:!0,forced:o},{drop:function(p){n(this);var x=u(s(+p));return new f(a(this),{remaining:x})}})},78722:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{every:function(c){a(this),n(c);var o=s(this),f=0;return!r(o,function(_,p){if(!c(_,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(80449),s=e(10731),u=e(20547),c=e(46319),o=e(16697),f=u(function(){for(var _=this.iterator,p=this.predicate,x=this.next,g,P,O;;){if(g=a(r(x,_)),P=this.done=!!g.done,P)return;if(O=g.value,c(_,p,[O,this.counter++],!0))return O}});t({target:"Iterator",proto:!0,real:!0,forced:o},{filter:function(p){return a(this),n(p),new f(s(this),{predicate:p})}})},81848:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{find:function(c){a(this),n(c);var o=s(this),f=0;return r(o,function(_,p){if(c(_,f++))return p(_)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(80449),s=e(10731),u=e(7157),c=e(20547),o=e(67996),f=e(16697),_=c(function(){for(var p=this.iterator,x=this.mapper,g,P;;){if(P=this.inner)try{if(g=a(r(P.next,P.iterator)),!g.done)return g.value;this.inner=null}catch(O){o(p,"throw",O)}if(g=a(r(this.next,p)),this.done=!!g.done)return;try{this.inner=u(x(g.value,this.counter++),!1)}catch(O){o(p,"throw",O)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(x){return a(this),n(x),new _(s(this),{mapper:x,inner:null})}})},72211:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{forEach:function(c){a(this),n(c);var o=s(this),f=0;r(o,function(_){c(_,f++)},{IS_RECORD:!0})}})},84862:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94029),a=e(16332),s=e(46571).IteratorPrototype,u=e(20547),c=e(7157),o=e(16697),f=u(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:o},{from:function(p){var x=c(typeof p=="string"?n(p):p,!0);return a(s,x.iterator)?x.iterator:new f(x)}})},92381:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},19517:function(i,d,e){"use strict";var t=e(94488),r=e(2155),n=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:n},{map:r})},69667:function(i,d,e){"use strict";var t=e(94488),r=e(17243),n=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,u,c){if(typeof s=="number")return new r(s,u,c,"number",0,1);if(typeof s=="bigint")return new r(s,u,c,"bigint",BigInt(0),BigInt(1));throw new n("Incorrect Iterator.range arguments")}})},80820:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731),u=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(o){a(this),n(o);var f=s(this),_=arguments.length<2,p=_?void 0:arguments[1],x=0;if(r(f,function(g){_?(_=!1,p=g):p=o(p,g,x),x++},{IS_RECORD:!0}),_)throw new u("Reduce of empty iterator with no initial value");return p}})},87873:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{some:function(c){a(this),n(c);var o=s(this),f=0;return r(o,function(_,p){if(c(_,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(10731),s=e(2279),u=e(51358),c=e(20547),o=e(67996),f=e(16697),_=c(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,o(p,"normal",void 0);var x=n(r(this.next,p)),g=this.done=!!x.done;if(!g)return x.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(x){n(this);var g=u(s(+x));return new _(a(this),{remaining:g})}})},28566:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(62003),a=e(10731),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var c=[];return n(a(r(this)),s,{that:c,IS_RECORD:!0}),c}})},51697:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(57975),a=e(80025),s=e(10731),u=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:u},{toAsync:function(){return new a(s(new n(s(r(this)))))}})},61872:function(i,d,e){"use strict";var t=e(94488),r=e(82778),n=e(83502);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:n})},76077:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),a=e(65911),s=e(94237),u=e(89945),c=e(55327),o=e(31946),f=e(18589),_=e(32621),p=e(69905),x=e(82762),g=e(69392),P=e(3338),O=e(70913),S=e(42820),I=n.JSON,E=n.Number,A=n.SyntaxError,R=I&&I.parse,T=a("Object","keys"),D=Object.getOwnPropertyDescriptor,k=s("".charAt),B=s("".slice),j=s(/./.exec),V=s([].push),H=/^\d$/,Y=/^[1-9]$/,F=/^(?:-|\d)$/,K=/^[\t\n\r ]$/,X=0,Q=1,W=function(ie,se){ie=p(ie);var le=new Z(ie,0,""),de=le.parse(),He=de.value,ze=le.skip(K,de.end);if(ze1?arguments[1]:void 0);return a(c,function(f,_){if(!o(f,_,c))return!1},!0)!==!1}})},28220:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g,P){p(g,P,_)&&c(x,P,g)}),x}})},49350:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),f=a(c,function(_,p){if(o(_,p,c))return{key:p}},!0);return f&&f.key}})},62060:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),f=a(c,function(_,p){if(o(_,p,c))return{value:_}},!0);return f&&f.value}})},20126:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Map",stat:!0,forced:!0},{from:r})},18090:function(i,d,e){"use strict";var t=e(94488),r=e(88134),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(u){return a(n(this),function(c){if(r(c,u))return!0},!0)===!0}})},14309:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(62003),a=e(55327),s=e(63335),u=e(2786).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(o,f){var _=a(this)?this:u,p=new _;s(f);var x=s(p.set);return n(o,function(g){r(x,p,f(g),g)}),p}})},17822:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var u=n(r(this),function(c,o){if(c===s)return{key:o}},!0);return u&&u.key}})},83543:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g,P){c(x,p(g,P,_),g)}),x}})},13853:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g,P){c(x,P,p(g,P,_))}),x}})},25188:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(62003),a=e(2786).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(u){for(var c=r(this),o=arguments.length,f=0;f1?arguments[1]:void 0);return a(c,function(f,_){if(o(f,_,c))return!0},!0)===!0}})},8774:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},6736:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(42683),a=e(2786),s=TypeError,u=a.get,c=a.has,o=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(_,p){var x=n(this),g=arguments.length;r(p);var P=c(x,_);if(!P&&g<3)throw new s("Updating absent value");var O=P?u(x,_):r(g>2?arguments[2]:void 0)(_,x);return o(x,_,p(O,_,x)),x}})},94065:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},93036:function(i,d,e){"use strict";var t=e(94488),r=Math.min,n=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,u,c){return r(c,n(u,s))}})},75708:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(i,d,e){"use strict";var t=e(94488),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},43710:function(i,d,e){"use strict";var t=e(94488),r=e(35175);t({target:"Math",stat:!0},{f16round:r})},66233:function(i,d,e){"use strict";var t=e(94488),r=e(24619),n=e(14894);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,u,c,o,f){return n(r(s,u,c,o,f))}})},92762:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{iaddh:function(n,a,s,u){var c=n>>>0,o=a>>>0,f=s>>>0;return o+(u>>>0)+((c&f|(c|f)&~(c+f>>>0))>>>31)|0}})},24467:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{imulh:function(n,a){var s=65535,u=+n,c=+a,o=u&s,f=c&s,_=u>>16,p=c>>16,x=(_*f>>>0)+(o*f>>>16);return _*p+(x>>16)+((o*p>>>0)+(x&s)>>16)}})},68465:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{isubh:function(n,a,s,u){var c=n>>>0,o=a>>>0,f=s>>>0;return o-(u>>>0)-((~c&f|~(c^f)&c-f>>>0)>>>31)|0}})},77004:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(i,d,e){"use strict";var t=e(94488),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},51117:function(i,d,e){"use strict";var t=e(94488),r=e(24619);t({target:"Math",stat:!0,forced:!0},{scale:r})},87236:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(1222),a=e(83126),s=e(25587),u=e(94844),c="Seeded Random",o=c+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',_=u.set,p=u.getterFor(o),x=TypeError,g=a(function(O){_(this,{type:o,seed:O%2147483647})},c,function(){var O=p(this),S=O.seed=(O.seed*1103515245+12345)%2147483647;return s((S&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(O){var S=r(O).seed;if(!n(S))throw new x(f);return new g(S)}})},83733:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{signbit:function(n){var a=+n;return a===a&&a===0?1/a===-1/0:a<0}})},92044:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{umulh:function(n,a){var s=65535,u=+n,c=+a,o=u&s,f=c&s,_=u>>>16,p=c>>>16,x=(_*f>>>0)+(o*f>>>16);return _*p+(x>>>16)+((o*p>>>0)+(x&s)>>>16)}})},29190:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a="Invalid number representation",s="Invalid radix",u=RangeError,c=SyntaxError,o=TypeError,f=parseInt,_=Math.pow,p=/^[\d.a-z]+$/,x=r("".charAt),g=r(p.exec),P=r(1 .toString),O=r("".slice),S=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(E,A){var R=1;if(typeof E!="string")throw new o(a);if(!E.length)throw new c(a);if(x(E,0)==="-"&&(R=-1,E=O(E,1),!E.length))throw new c(a);var T=A===void 0?10:n(A);if(T<2||T>36)throw new u(s);if(!g(p,E))throw new c(a);var D=S(E,"."),k=f(D[0],T);if(D.length>1&&(k+=f(D[1],T)/_(T,D[1].length)),T===10&&P(k,T)!==E)throw new c(a);return R*k}})},10775:function(i,d,e){"use strict";var t=e(94488),r=e(17243);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,u){return new r(a,s,u,"number",0,1)}})},19593:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},26502:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},10174:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},76867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(35454),a=e(51996),s=e(63335),u=e(80449),c=e(56472),o=e(55327),f=e(4112),_=e(31946),p=e(53776),x=e(2291),g=e(66477),P=e(64110),O=e(61810),S=e(59893),I=e(94844),E=S("observable"),A="Observable",R="Subscription",T="SubscriptionObserver",D=I.getterFor,k=I.set,B=D(A),j=D(R),V=D(T),H=function(Q){this.observer=u(Q),this.cleanup=void 0,this.subscriptionObserver=void 0};H.prototype={type:R,clean:function(){var Q=this.cleanup;if(Q){this.cleanup=void 0;try{Q()}catch(W){O(W)}}},close:function(){if(!n){var Q=this.facade,W=this.subscriptionObserver;Q.closed=!0,W&&(W.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var Y=function(Q,W){var N=k(this,new H(Q)),J;n||(this.closed=!1);try{(J=p(Q,"start"))&&r(J,Q,this)}catch(ee){O(ee)}if(!N.isClosed()){var M=N.subscriptionObserver=new F(N);try{var Z=W(M),G=Z;f(Z)||(N.cleanup=o(Z.unsubscribe)?function(){G.unsubscribe()}:s(Z))}catch(ee){M.error(ee);return}N.isClosed()&&N.clean()}};Y.prototype=g({},{unsubscribe:function(){var W=j(this);W.isClosed()||(W.close(),W.clean())}}),n&&P(Y.prototype,"closed",{configurable:!0,get:function(){return j(this).isClosed()}});var F=function(Q){k(this,{type:T,subscriptionState:Q}),n||(this.closed=!1)};F.prototype=g({},{next:function(W){var N=V(this).subscriptionState;if(!N.isClosed()){var J=N.observer;try{var M=p(J,"next");M&&r(M,J,W)}catch(Z){O(Z)}}},error:function(W){var N=V(this).subscriptionState;if(!N.isClosed()){var J=N.observer;N.close();try{var M=p(J,"error");M?r(M,J,W):O(W)}catch(Z){O(Z)}N.clean()}},complete:function(){var W=V(this).subscriptionState;if(!W.isClosed()){var N=W.observer;W.close();try{var J=p(N,"complete");J&&r(J,N)}catch(M){O(M)}W.clean()}}}),n&&P(F.prototype,"closed",{configurable:!0,get:function(){return V(this).subscriptionState.isClosed()}});var K=function(W){c(this,X),k(this,{type:A,subscriber:s(W)})},X=K.prototype;g(X,{subscribe:function(W){var N=arguments.length;return new Y(o(W)?{next:W,error:N>1?arguments[1]:void 0,complete:N>2?arguments[2]:void 0}:_(W)?W:{},B(this).subscriber)}}),x(X,E,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:K}),a(A)},14548:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(89945),a=e(80449),s=e(39812),u=e(85428),c=e(53776),o=e(62003),f=e(59893),_=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(x){var g=s(this)?this:r("Observable"),P=c(a(x),_);if(P){var O=a(n(P,x));return O.constructor===g?O:new g(function(I){return O.subscribe(I)})}var S=u(x);return new g(function(I){o(S,function(E,A){if(I.next(E),I.closed)return A()},{IS_ITERATOR:!0,INTERRUPTED:!0}),I.complete()})}})},96378:function(i,d,e){"use strict";e(76867),e(14548),e(6053)},6053:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(39812),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var u=n(this)?this:r("Observable"),c=arguments.length,o=a(c),f=0;f?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var _=n(f),p=s(_,0);return(p>47&&p<58?"\\x3":"")+u(_,c,"\\$&")}})},1220:function(i,d,e){"use strict";var t=e(94488),r=e(17442),n=e(19691).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),u=0,c=arguments.length;u1?arguments[1]:void 0);return a(c,function(f){if(!o(f,f,c))return!1},!0)!==!1}})},38487:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(19691),s=e(57002),u=a.Set,c=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g){p(g,g,_)&&c(x,g)}),x}})},29916:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),f=a(c,function(_){if(o(_,_,c))return{value:_}},!0);return f&&f.value}})},25541:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Set",stat:!0,forced:!0},{from:r})},34926:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(16049);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(u){return r(a,this,n(u))}})},45612:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(16049),a=e(22627),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:n})},68255:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(17616);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(u){return r(a,this,n(u))}})},98080:function(i,d,e){"use strict";var t=e(94488),r=e(17616),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isDisjointFrom")},{isDisjointFrom:r})},16450:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(84833);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(u){return r(a,this,n(u))}})},96351:function(i,d,e){"use strict";var t=e(94488),r=e(84833),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSubsetOf")},{isSubsetOf:r})},86921:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(51135);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(u){return r(a,this,n(u))}})},60244:function(i,d,e){"use strict";var t=e(94488),r=e(51135),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSupersetOf")},{isSupersetOf:r})},82928:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(17442),a=e(57002),s=e(69905),u=r([].join),c=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var _=n(this),p=f===void 0?",":s(f),x=[];return a(_,function(g){c(x,g)}),u(x,p)}})},42947:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(19691),s=e(57002),u=a.Set,c=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g){c(x,p(g,g,_))}),x}})},71568:function(i,d,e){"use strict";var t=e(94488),r=e(48800);t({target:"Set",stat:!0,forced:!0},{of:r})},94194:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(17442),a=e(57002),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(c){var o=n(this),f=arguments.length<2,_=f?void 0:arguments[1];if(r(c),a(o,function(p){f?(f=!1,_=p):_=c(_,p,p,o)}),f)throw new s("Reduce of empty set with no initial value");return _}})},30556:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0);return a(c,function(f){if(o(f,f,c))return!0},!0)===!0}})},93102:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(36312);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(u){return r(a,this,n(u))}})},32100:function(i,d,e){"use strict";var t=e(94488),r=e(36312),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:r})},82074:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(24667);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(u){return r(a,this,n(u))}})},1821:function(i,d,e){"use strict";var t=e(94488),r=e(24667),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:r})},13578:function(i,d,e){"use strict";var t=e(94488),r=e(13764).charAt,n=e(95955),a=e(56902),s=e(69905);t({target:"String",proto:!0,forced:!0},{at:function(c){var o=s(n(this)),f=o.length,_=a(c),p=_>=0?_:f+_;return p<0||p>=f?void 0:r(o,p)}})},62882:function(i,d,e){"use strict";var t=e(94488),r=e(83126),n=e(25587),a=e(95955),s=e(69905),u=e(94844),c=e(13764),o=c.codeAt,f=c.charAt,_="String Iterator",p=u.set,x=u.getterFor(_),g=r(function(O){p(this,{type:_,string:O,index:0})},"String",function(){var O=x(this),S=O.string,I=O.index,E;return I>=S.length?n(void 0,!0):(E=f(S,I),O.index+=E.length,n({codePoint:o(E,0),position:I},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new g(s(a(this)))}})},59348:function(i,d,e){"use strict";var t=e(94488),r=e(67410);t({target:"String",stat:!0,forced:!0},{cooked:r})},37457:function(i,d,e){"use strict";var t=e(13247),r=e(94488),n=e(86528),a=e(94237),s=e(13743),u=e(80449),c=e(94029),o=e(55327),f=e(82762),_=e(37691).f,p=e(71698),x=e(42530),g=e(67410),P=e(79204),O=e(19268),S=new x.WeakMap,I=x.get,E=x.has,A=x.set,R=Array,T=TypeError,D=Object.freeze||Object,k=Object.isFrozen,B=Math.min,j=a("".charAt),V=a("".slice),H=a("".split),Y=a(/./.exec),F=/([\n\u2028\u2029]|\r\n?)/g,K=RegExp("^["+O+"]*"),X=RegExp("[^"+O+"]"),Q="Invalid tag",W="Invalid opening line",N="Invalid closing line",J=function(se){var le=se.raw;if(t&&!k(le))throw new T("Raw template should be frozen");if(E(S,le))return I(S,le);var de=M(le),He=G(de);return _(He,"raw",{value:D(de)}),D(He),A(S,le,He),He},M=function(se){var le=c(se),de=f(le),He=R(de),ze=R(de),st=0,vt,Je,Ke,Re;if(!de)throw new T(Q);for(;st0)throw new T(W);vt[1]=""}if(me){if(vt.length===1||Y(X,vt[vt.length-1]))throw new T(N);vt[vt.length-2]="",vt[vt.length-1]=""}for(var at=2;at1?arguments[1]:void 0);return n(this,o)},!0)},16315:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filterReject,n=e(27607),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(c){var o=r(a(this),c,arguments.length>1?arguments[1]:void 0);return n(this,o)},!0)},56966:function(i,d,e){"use strict";var t=e(65911),r=e(6086),n=e(32278),a=e(58261),s=e(69478),u=a.aTypedArrayConstructor,c=a.exportTypedArrayStaticMethod;c("fromAsync",function(f){var _=this,p=arguments.length,x=p>1?arguments[1]:void 0,g=p>2?arguments[2]:void 0;return new(t("Promise"))(function(P){r(_),P(n(f,x,g))}).then(function(P){return s(u(_),P)})},!0)},60239:function(i,d,e){"use strict";var t=e(58261),r=e(36444),n=e(31384),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(c){var o=arguments.length>1?arguments[1]:void 0;return r(a(this),c,o,n)},!0)},49381:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(75406),a=e(51981),s=e(93303),u=e(56902),c=e(3338),o=t.aTypedArray,f=t.getTypedArrayConstructor,_=t.exportTypedArrayMethod,p=Math.max,x=Math.min,g=!c(function(){var P=new Int8Array([1]),O=P.toSpliced(1,0,{valueOf:function(){return P[0]=2,3}});return O[0]!==2||O[1]!==3});_("toSpliced",function(O,S){var I=o(this),E=f(I),A=r(I),R=a(O,A),T=arguments.length,D=0,k,B,j,V,H,Y,F;if(T===0)k=B=0;else if(T===1)k=0,B=A-R;else if(B=x(p(u(S),0),A-R),k=T-2,k){V=new E(k),j=n(V);for(var K=2;K1?a(arguments[1]):void 0,k=f(D)==="base64"?_:p,B=D?!!D.strict:!1,j=B?T:O(T,E,"");if(j.length%4===0)S(j,-2)==="=="?j=S(j,0,-2):S(j,-1)==="="&&(j=S(j,0,-1));else if(B)throw new g("Input is not correctly padded");var V=j.length%4;switch(V){case 1:throw new g("Bad input length");case 2:j+="AA";break;case 3:j+="A"}for(var H=[],Y=0,F=j.length,K=function(W){var N=P(j,Y+W);if(!u(k,N))throw new g('Bad char in input: "'+N+'"');return k[N]<<18-6*W};Y>16&255,X>>8&255,X&255)}var Q=H.length;if(V===2){if(B&&H[Q-2]!==0)throw new g(A);Q-=2}else if(V===3){if(B&&H[Q-1]!==0)throw new g(A);Q--}return c(x,H,Q)}})},57151:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),a=e(79606),s=r.Uint8Array,u=r.SyntaxError,c=r.parseInt,o=/[^\da-f]/i,f=n(o.exec),_=n("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(x){a(x);var g=x.length;if(g%2)throw new u("String should have an even number of characters");if(f(o,x))throw new u("String should only contain hex characters");for(var P=new s(g/2),O=0;O>6*T&63)};I+2>(-2*F&6)));return H}})},55182:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),a=e(94237),s=e(89945),u=e(3338),c=e(69905),o=e(57106),f=e(66244).i2c,_=n("btoa"),p=a("".charAt),x=a("".charCodeAt),g=!!_&&!u(function(){return _("hi")!=="aGk="}),P=g&&!u(function(){_()}),O=g&&u(function(){return _(null)!=="bnVsbA=="}),S=g&&_.length!==1;t({global:!0,bind:!0,enumerable:!0,forced:!g||P||O||S},{btoa:function(E){if(o(arguments.length,1),g)return s(_,r,c(E));for(var A=c(E),R="",T=0,D=f,k,B;p(A,T)||(D="=",T%1);){if(B=x(A,T+=.75),B>255)throw new(n("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");k=k<<8|B,R+=p(D,63&k>>8-T%1*8)}return R}})},91472:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).clear;t({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==n},{clearImmediate:n})},34366:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),a=e(59594),s=e(68151),u=function(o){if(o&&o.forEach!==a)try{s(o,"forEach",a)}catch(f){o.forEach=a}};for(var c in r)r[c]&&u(t[c]&&t[c].prototype);u(n)},85425:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),a=e(11005),s=e(68151),u=e(94573),c=e(59893),o=c("iterator"),f=a.values,_=function(x,g){if(x){if(x[o]!==f)try{s(x,o,f)}catch(O){x[o]=f}if(u(x,g,!0),r[g]){for(var P in a)if(x[P]!==a[P])try{s(x,P,a[P])}catch(O){x[P]=a[P]}}}};for(var p in r)_(t[p]&&t[p].prototype,p);_(n,"DOMTokenList")},64522:function(i,d,e){"use strict";var t=e(94488),r=e(11270),n=e(65911),a=e(3338),s=e(20132),u=e(35012),c=e(37691).f,o=e(2291),f=e(64110),_=e(32621),p=e(56472),x=e(80449),g=e(13367),P=e(7825),O=e(52109),S=e(80739),I=e(94844),E=e(35454),A=e(16697),R="DOMException",T="DATA_CLONE_ERR",D=n("Error"),k=n(R)||function(){try{var ze=n("MessageChannel")||r("worker_threads").MessageChannel;new ze().port1.postMessage(new WeakMap)}catch(st){if(st.name===T&&st.code===25)return st.constructor}}(),B=k&&k.prototype,j=D.prototype,V=I.set,H=I.getterFor(R),Y="stack"in new D(R),F=function(ze){return _(O,ze)&&O[ze].m?O[ze].c:0},K=function(){p(this,X);var st=arguments.length,vt=P(st<1?void 0:arguments[0]),Je=P(st<2?void 0:arguments[1],"Error"),Ke=F(Je);if(V(this,{type:R,name:Je,message:vt,code:Ke}),E||(this.name=Je,this.message=vt,this.code=Ke),Y){var Re=new D(vt);Re.name=R,c(this,"stack",u(1,S(Re.stack,1)))}},X=K.prototype=s(j),Q=function(ze){return{enumerable:!0,configurable:!0,get:ze}},W=function(ze){return Q(function(){return H(this)[ze]})};E&&(f(X,"code",W("code")),f(X,"message",W("message")),f(X,"name",W("name"))),c(X,"constructor",u(1,K));var N=a(function(){return!(new k instanceof D)}),J=N||a(function(){return j.toString!==g||String(new k(1,2))!=="2: 1"}),M=N||a(function(){return new k(1,"DataCloneError").code!==25}),Z=N||k[T]!==25||B[T]!==25,G=A?J||M||Z:N;t({global:!0,constructor:!0,forced:G},{DOMException:G?K:k});var ee=n(R),ie=ee.prototype;J&&(A||k===ee)&&o(ie,"toString",g),M&&E&&k===ee&&f(ie,"code",Q(function(){return F(x(this).name)}));for(var se in O)if(_(O,se)){var le=O[se],de=le.s,He=u(6,le.c);_(ee,de)||c(ee,de,He),_(ie,de)||c(ie,de,He)}},41599:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),a=e(35012),s=e(37691).f,u=e(32621),c=e(56472),o=e(25576),f=e(7825),_=e(52109),p=e(80739),x=e(35454),g=e(16697),P="DOMException",O=n("Error"),S=n(P),I=function(){c(this,E);var K=arguments.length,X=f(K<1?void 0:arguments[0]),Q=f(K<2?void 0:arguments[1],"Error"),W=new S(X,Q),N=new O(X);return N.name=P,s(W,"stack",a(1,p(N.stack,1))),o(W,this,I),W},E=I.prototype=S.prototype,A="stack"in new O(P),R="stack"in new S(1,2),T=S&&x&&Object.getOwnPropertyDescriptor(r,P),D=!!T&&!(T.writable&&T.configurable),k=A&&!D&&!R;t({global:!0,constructor:!0,forced:g||k},{DOMException:k?I:S});var B=n(P),j=B.prototype;if(j.constructor!==B){g||s(j,"constructor",a(1,B));for(var V in _)if(u(_,V)){var H=_[V],Y=H.s;u(B,Y)||s(B,Y,a(6,H.c))}}},86465:function(i,d,e){"use strict";var t=e(65911),r=e(94573),n="DOMException";r(t(n),n)},78437:function(i,d,e){"use strict";e(91472),e(91700)},73624:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(72933),a=e(63335),s=e(57106),u=e(90946),c=r.process;t({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(f){s(arguments.length,1),a(f);var _=u&&c.domain;n(_?_.bind(f):f)}})},62059:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(64110),a=e(35454),s=TypeError,u=Object.defineProperty,c=r.self!==r;try{if(a){var o=Object.getOwnPropertyDescriptor(r,"self");(c||!o||!o.get||!o.enumerable)&&n(r,"self",{get:function(){return r},set:function(_){if(this!==r)throw new s("Illegal invocation");u(r,"self",{value:_,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else t({global:!0,simple:!0,forced:c},{self:r})}catch(f){}},91700:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).set,a=e(93222),s=r.setImmediate?a(n,!1):n;t({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},88469:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),a=n(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==a},{setInterval:a})},91572:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),a=n(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==a},{setTimeout:a})},10305:function(i,d,e){"use strict";var t=e(16697),r=e(94488),n=e(92916),a=e(65911),s=e(94237),u=e(3338),c=e(6145),o=e(55327),f=e(39812),_=e(4112),p=e(31946),x=e(18446),g=e(62003),P=e(80449),O=e(97607),S=e(32621),I=e(69392),E=e(68151),A=e(82762),R=e(57106),T=e(81644),D=e(2786),k=e(19691),B=e(57002),j=e(39311),V=e(25406),H=e(80426),Y=n.Object,F=n.Array,K=n.Date,X=n.Error,Q=n.TypeError,W=n.PerformanceMark,N=a("DOMException"),J=D.Map,M=D.has,Z=D.get,G=D.set,ee=k.Set,ie=k.add,se=k.has,le=a("Object","keys"),de=s([].push),He=s((!0).valueOf),ze=s(1 .valueOf),st=s("".valueOf),vt=s(K.prototype.getTime),Je=c("structuredClone"),Ke="DataCloneError",Re="Transferring",Ce=function(pe){return!u(function(){var ge=new n.Set([7]),lt=pe(ge),Qe=pe(Y(7));return lt===ge||!lt.has(7)||!p(Qe)||+Qe!=7})&&pe},me=function(pe,ge){return!u(function(){var lt=new ge,Qe=pe({a:lt,b:lt});return!(Qe&&Qe.a===Qe.b&&Qe.a instanceof ge&&Qe.a.stack===lt.stack)})},at=function(pe){return!u(function(){var ge=pe(new n.AggregateError([1],Je,{cause:3}));return ge.name!=="AggregateError"||ge.errors[0]!==1||ge.message!==Je||ge.cause!==3})},ct=n.structuredClone,St=t||!me(ct,X)||!me(ct,N)||!at(ct),bt=!ct&&Ce(function(pe){return new W(Je,{detail:pe}).detail}),Ie=Ce(ct)||bt,$e=function(pe){throw new N("Uncloneable type: "+pe,Ke)},ft=function(pe,ge){throw new N((ge||"Cloning")+" of "+pe+" cannot be properly polyfilled in this engine",Ke)},Me=function(pe,ge){return Ie||ft(ge),Ie(pe)},ye=function(){var pe;try{pe=new n.DataTransfer}catch(ge){try{pe=new n.ClipboardEvent("").clipboardData}catch(lt){}}return pe&&pe.items&&pe.files?pe:null},fe=function(pe,ge,lt){if(M(ge,pe))return Z(ge,pe);var Qe=lt||O(pe),Ve,it,Dt,Yt,Se,je;if(Qe==="SharedArrayBuffer")Ie?Ve=Ie(pe):Ve=pe;else{var Be=n.DataView;!Be&&!o(pe.slice)&&ft("ArrayBuffer");try{if(o(pe.slice)&&!pe.resizable)Ve=pe.slice(0);else for(it=pe.byteLength,Dt=("maxByteLength"in pe)?{maxByteLength:pe.maxByteLength}:void 0,Ve=new ArrayBuffer(it,Dt),Yt=new Be(pe),Se=new Be(Ve),je=0;je1&&!_(arguments[1])?P(arguments[1]):void 0,Qe=lt?lt.transfer:void 0,Ve,it;Qe!==void 0&&(Ve=new J,it=et(Qe,Ve));var Dt=Ee(ge,Ve);return it&&mt(it),Dt}})},41208:function(i,d,e){"use strict";e(88469),e(91572)},91340:function(i,d,e){"use strict";e(11005);var t=e(94488),r=e(92916),n=e(89945),a=e(94237),s=e(35454),u=e(3299),c=e(2291),o=e(64110),f=e(66477),_=e(94573),p=e(83126),x=e(94844),g=e(56472),P=e(55327),O=e(32621),S=e(80666),I=e(97607),E=e(80449),A=e(31946),R=e(69905),T=e(20132),D=e(35012),k=e(85428),B=e(26006),j=e(25587),V=e(57106),H=e(59893),Y=e(63668),F=H("iterator"),K="URLSearchParams",X=K+"Iterator",Q=x.set,W=x.getterFor(K),N=x.getterFor(X),J=Object.getOwnPropertyDescriptor,M=function(Ve){if(!s)return r[Ve];var it=J(r,Ve);return it&&it.value},Z=M("fetch"),G=M("Request"),ee=M("Headers"),ie=G&&G.prototype,se=ee&&ee.prototype,le=r.RegExp,de=r.TypeError,He=r.decodeURIComponent,ze=r.encodeURIComponent,st=a("".charAt),vt=a([].join),Je=a([].push),Ke=a("".replace),Re=a([].shift),Ce=a([].splice),me=a("".split),at=a("".slice),ct=/\+/g,St=Array(4),bt=function(Ve){return St[Ve-1]||(St[Ve-1]=le("((?:%[\\da-f]{2}){"+Ve+"})","gi"))},Ie=function(Ve){try{return He(Ve)}catch(it){return Ve}},$e=function(Ve){var it=Ke(Ve,ct," "),Dt=4;try{return He(it)}catch(Yt){for(;Dt;)it=Ke(it,bt(Dt--),Ie);return it}},ft=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ye=function(Ve){return Me[Ve]},fe=function(Ve){return Ke(ze(Ve),ft,ye)},Oe=p(function(it,Dt){Q(this,{type:X,target:W(it).entries,index:0,kind:Dt})},K,function(){var it=N(this),Dt=it.target,Yt=it.index++;if(!Dt||Yt>=Dt.length)return it.target=void 0,j(void 0,!0);var Se=Dt[Yt];switch(it.kind){case"keys":return j(Se.key,!1);case"values":return j(Se.value,!1)}return j([Se.key,Se.value],!1)},!0),Ee=function(Ve){this.entries=[],this.url=null,Ve!==void 0&&(A(Ve)?this.parseObject(Ve):this.parseQuery(typeof Ve=="string"?st(Ve,0)==="?"?at(Ve,1):Ve:R(Ve)))};Ee.prototype={type:K,bindURL:function(Ve){this.url=Ve,this.update()},parseObject:function(Ve){var it=this.entries,Dt=B(Ve),Yt,Se,je,Be,ht,At,ce;if(Dt)for(Yt=k(Ve,Dt),Se=Yt.next;!(je=n(Se,Yt)).done;){if(Be=k(E(je.value)),ht=Be.next,(At=n(ht,Be)).done||(ce=n(ht,Be)).done||!n(ht,Be).done)throw new de("Expected sequence with length 2");Je(it,{key:R(At.value),value:R(ce.value)})}else for(var _t in Ve)O(Ve,_t)&&Je(it,{key:_t,value:R(Ve[_t])})},parseQuery:function(Ve){if(Ve)for(var it=this.entries,Dt=me(Ve,"&"),Yt=0,Se,je;Yt0?arguments[0]:void 0,Dt=Q(this,new Ee(it));s||(this.size=Dt.entries.length)},mt=et.prototype;if(f(mt,{append:function(it,Dt){var Yt=W(this);V(arguments.length,2),Je(Yt.entries,{key:R(it),value:R(Dt)}),s||this.length++,Yt.updateURL()},delete:function(Ve){for(var it=W(this),Dt=V(arguments.length,1),Yt=it.entries,Se=R(Ve),je=Dt<2?void 0:arguments[1],Be=je===void 0?je:R(je),ht=0;htYt.key?1:-1}),it.updateURL()},forEach:function(it){for(var Dt=W(this).entries,Yt=S(it,arguments.length>1?arguments[1]:void 0),Se=0,je;Se1?lt(arguments[1]):{})}}),P(G)){var Qe=function(it){return g(this,ie),new G(it,arguments.length>1?lt(arguments[1]):{})};ie.constructor=Qe,Qe.prototype=ie,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Qe})}}i.exports={URLSearchParams:et,getState:W}},4890:function(i,d,e){"use strict";var t=e(2291),r=e(94237),n=e(69905),a=e(57106),s=URLSearchParams,u=s.prototype,c=r(u.append),o=r(u.delete),f=r(u.forEach),_=r([].push),p=new s("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&t(u,"delete",function(x){var g=arguments.length,P=g<2?void 0:arguments[1];if(g&&P===void 0)return o(this,x);var O=[];f(this,function(k,B){_(O,{key:B,value:k})}),a(g,1);for(var S=n(x),I=n(P),E=0,A=0,R=!1,T=O.length,D;E?@[\\\]^|]/,ct=/[\0\t\n\r #/:<>?@[\\\]^|]/,St=/^[\u0000-\u0020]+/,bt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ie=/[\t\n\r]/g,$e,ft=function(wt){var qe=G(wt,"."),Ue,Le,rt,Tt,Lt,gr,yr;if(qe.length&&qe[qe.length-1]===""&&qe.length--,Ue=qe.length,Ue>4)return wt;for(Le=[],rt=0;rt1&&K(Tt,0)==="0"&&(Lt=X(Ke,Tt)?16:8,Tt=ee(Tt,Lt===8?1:2)),Tt==="")gr=0;else{if(!X(Lt===10?Ce:Lt===8?Re:me,Tt))return wt;gr=H(Tt,Lt)}J(Le,gr)}for(rt=0;rt=F(256,5-Ue))return null}else if(gr>255)return null;for(yr=N(Le),rt=0;rt6))return;for(gr=0;_n();){if(yr=null,gr>0)if(_n()==="."&&gr<4)rt++;else return;if(!X(Je,_n()))return;for(;X(Je,_n());){if(Ur=H(_n(),10),yr===null)yr=Ur;else{if(yr===0)return;yr=yr*10+Ur}if(yr>255)return;rt++}qe[Ue]=qe[Ue]*256+yr,gr++,(gr===2||gr===4)&&Ue++}if(gr!==4)return;break}else if(_n()===":"){if(rt++,!_n())return}else if(_n())return;qe[Ue++]=Tt}if(Le!==null)for(bn=Ue-Le,Ue=7;Ue!==0&&bn>0;)sr=qe[Ue],qe[Ue--]=qe[Le+bn-1],qe[Le+--bn]=sr;else if(Ue!==8)return;return qe},ye=function(wt){for(var qe=null,Ue=1,Le=null,rt=0,Tt=0;Tt<8;Tt++)wt[Tt]!==0?(rt>Ue&&(qe=Le,Ue=rt),Le=null,rt=0):(Le===null&&(Le=Tt),++rt);return rt>Ue&&(qe=Le,Ue=rt),qe},fe=function(wt){var qe,Ue,Le,rt;if(typeof wt=="number"){for(qe=[],Ue=0;Ue<4;Ue++)se(qe,wt%256),wt=Y(wt/256);return Q(qe,".")}else if(typeof wt=="object"){for(qe="",Le=ye(wt),Ue=0;Ue<8;Ue++)rt&&wt[Ue]===0||(rt&&(rt=!1),Le===Ue?(qe+=Ue?":":"::",rt=!0):(qe+=W(wt[Ue],16),Ue<7&&(qe+=":")));return"["+qe+"]"}return wt},Oe={},Ee=p({},Oe,{" ":1,'"':1,"<":1,">":1,"`":1}),et=p({},Ee,{"#":1,"?":1,"{":1,"}":1}),mt=p({},et,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(wt,qe){var Ue=P(wt,0);return Ue>32&&Ue<127&&!_(qe,wt)?wt:encodeURIComponent(wt)},ge={ftp:21,file:null,http:80,https:443,ws:80,wss:443},lt=function(wt,qe){var Ue;return wt.length===2&&X(st,K(wt,0))&&((Ue=K(wt,1))===":"||!qe&&Ue==="|")},Qe=function(wt){var qe;return wt.length>1&<(ee(wt,0,2))&&(wt.length===2||(qe=K(wt,2))==="/"||qe==="\\"||qe==="?"||qe==="#")},Ve=function(wt){return wt==="."||ie(wt)==="%2e"},it=function(wt){return wt=ie(wt),wt===".."||wt==="%2e."||wt===".%2e"||wt==="%2e%2e"},Dt={},Yt={},Se={},je={},Be={},ht={},At={},ce={},_t={},qt={},Ht={},Ut={},cr={},Ze={},dt={},Mt={},ar={},$t={},pr={},Ir={},Mr={},er=function(wt,qe,Ue){var Le=S(wt),rt,Tt,Lt;if(qe){if(Tt=this.parse(Le),Tt)throw new V(Tt);this.searchParams=null}else{if(Ue!==void 0&&(rt=new er(Ue,!0)),Tt=this.parse(Le,null,rt),Tt)throw new V(Tt);Lt=B(new k),Lt.bindURL(this),this.searchParams=Lt}};er.prototype={type:"URL",parse:function(wt,qe,Ue){var Le=this,rt=qe||Dt,Tt=0,Lt="",gr=!1,yr=!1,Ur=!1,bn,sr,_n,on;for(wt=S(wt),qe||(Le.scheme="",Le.username="",Le.password="",Le.host=null,Le.port=null,Le.path=[],Le.query=null,Le.fragment=null,Le.cannotBeABaseURL=!1,wt=M(wt,St,""),wt=M(wt,bt,"$1")),wt=M(wt,Ie,""),bn=x(wt);Tt<=bn.length;){switch(sr=bn[Tt],rt){case Dt:if(sr&&X(st,sr))Lt+=ie(sr),rt=Yt;else{if(qe)return de;rt=Se;continue}break;case Yt:if(sr&&(X(vt,sr)||sr==="+"||sr==="-"||sr==="."))Lt+=ie(sr);else if(sr===":"){if(qe&&(Le.isSpecial()!==_(ge,Lt)||Lt==="file"&&(Le.includesCredentials()||Le.port!==null)||Le.scheme==="file"&&!Le.host))return;if(Le.scheme=Lt,qe){Le.isSpecial()&&ge[Le.scheme]===Le.port&&(Le.port=null);return}Lt="",Le.scheme==="file"?rt=Ze:Le.isSpecial()&&Ue&&Ue.scheme===Le.scheme?rt=je:Le.isSpecial()?rt=ce:bn[Tt+1]==="/"?(rt=Be,Tt++):(Le.cannotBeABaseURL=!0,J(Le.path,""),rt=pr)}else{if(qe)return de;Lt="",rt=Se,Tt=0;continue}break;case Se:if(!Ue||Ue.cannotBeABaseURL&&sr!=="#")return de;if(Ue.cannotBeABaseURL&&sr==="#"){Le.scheme=Ue.scheme,Le.path=g(Ue.path),Le.query=Ue.query,Le.fragment="",Le.cannotBeABaseURL=!0,rt=Mr;break}rt=Ue.scheme==="file"?Ze:ht;continue;case je:if(sr==="/"&&bn[Tt+1]==="/")rt=_t,Tt++;else{rt=ht;continue}break;case Be:if(sr==="/"){rt=qt;break}else{rt=$t;continue}case ht:if(Le.scheme=Ue.scheme,sr===$e)Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.query=Ue.query;else if(sr==="/"||sr==="\\"&&Le.isSpecial())rt=At;else if(sr==="?")Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.query="",rt=Ir;else if(sr==="#")Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.query=Ue.query,Le.fragment="",rt=Mr;else{Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.path.length--,rt=$t;continue}break;case At:if(Le.isSpecial()&&(sr==="/"||sr==="\\"))rt=_t;else if(sr==="/")rt=qt;else{Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,rt=$t;continue}break;case ce:if(rt=_t,sr!=="/"||K(Lt,Tt+1)!=="/")continue;Tt++;break;case _t:if(sr!=="/"&&sr!=="\\"){rt=qt;continue}break;case qt:if(sr==="@"){gr&&(Lt="%40"+Lt),gr=!0,_n=x(Lt);for(var Fe=0;Fe<_n.length;Fe++){var Ne=_n[Fe];if(Ne===":"&&!Ur){Ur=!0;continue}var en=pe(Ne,mt);Ur?Le.password+=en:Le.username+=en}Lt=""}else if(sr===$e||sr==="/"||sr==="?"||sr==="#"||sr==="\\"&&Le.isSpecial()){if(gr&&Lt==="")return le;Tt-=x(Lt).length+1,Lt="",rt=Ht}else Lt+=sr;break;case Ht:case Ut:if(qe&&Le.scheme==="file"){rt=Mt;continue}else if(sr===":"&&!yr){if(Lt==="")return He;if(on=Le.parseHost(Lt),on)return on;if(Lt="",rt=cr,qe===Ut)return}else if(sr===$e||sr==="/"||sr==="?"||sr==="#"||sr==="\\"&&Le.isSpecial()){if(Le.isSpecial()&&Lt==="")return He;if(qe&&Lt===""&&(Le.includesCredentials()||Le.port!==null))return;if(on=Le.parseHost(Lt),on)return on;if(Lt="",rt=ar,qe)return;continue}else sr==="["?yr=!0:sr==="]"&&(yr=!1),Lt+=sr;break;case cr:if(X(Je,sr))Lt+=sr;else if(sr===$e||sr==="/"||sr==="?"||sr==="#"||sr==="\\"&&Le.isSpecial()||qe){if(Lt!==""){var pn=H(Lt,10);if(pn>65535)return ze;Le.port=Le.isSpecial()&&pn===ge[Le.scheme]?null:pn,Lt=""}if(qe)return;rt=ar;continue}else return ze;break;case Ze:if(Le.scheme="file",sr==="/"||sr==="\\")rt=dt;else if(Ue&&Ue.scheme==="file")switch(sr){case $e:Le.host=Ue.host,Le.path=g(Ue.path),Le.query=Ue.query;break;case"?":Le.host=Ue.host,Le.path=g(Ue.path),Le.query="",rt=Ir;break;case"#":Le.host=Ue.host,Le.path=g(Ue.path),Le.query=Ue.query,Le.fragment="",rt=Mr;break;default:Qe(Q(g(bn,Tt),""))||(Le.host=Ue.host,Le.path=g(Ue.path),Le.shortenPath()),rt=$t;continue}else{rt=$t;continue}break;case dt:if(sr==="/"||sr==="\\"){rt=Mt;break}Ue&&Ue.scheme==="file"&&!Qe(Q(g(bn,Tt),""))&&(lt(Ue.path[0],!0)?J(Le.path,Ue.path[0]):Le.host=Ue.host),rt=$t;continue;case Mt:if(sr===$e||sr==="/"||sr==="\\"||sr==="?"||sr==="#"){if(!qe&<(Lt))rt=$t;else if(Lt===""){if(Le.host="",qe)return;rt=ar}else{if(on=Le.parseHost(Lt),on)return on;if(Le.host==="localhost"&&(Le.host=""),qe)return;Lt="",rt=ar}continue}else Lt+=sr;break;case ar:if(Le.isSpecial()){if(rt=$t,sr!=="/"&&sr!=="\\")continue}else if(!qe&&sr==="?")Le.query="",rt=Ir;else if(!qe&&sr==="#")Le.fragment="",rt=Mr;else if(sr!==$e&&(rt=$t,sr!=="/"))continue;break;case $t:if(sr===$e||sr==="/"||sr==="\\"&&Le.isSpecial()||!qe&&(sr==="?"||sr==="#")){if(it(Lt)?(Le.shortenPath(),sr!=="/"&&!(sr==="\\"&&Le.isSpecial())&&J(Le.path,"")):Ve(Lt)?sr!=="/"&&!(sr==="\\"&&Le.isSpecial())&&J(Le.path,""):(Le.scheme==="file"&&!Le.path.length&<(Lt)&&(Le.host&&(Le.host=""),Lt=K(Lt,0)+":"),J(Le.path,Lt)),Lt="",Le.scheme==="file"&&(sr===$e||sr==="?"||sr==="#"))for(;Le.path.length>1&&Le.path[0]==="";)Z(Le.path);sr==="?"?(Le.query="",rt=Ir):sr==="#"&&(Le.fragment="",rt=Mr)}else Lt+=pe(sr,et);break;case pr:sr==="?"?(Le.query="",rt=Ir):sr==="#"?(Le.fragment="",rt=Mr):sr!==$e&&(Le.path[0]+=pe(sr,Oe));break;case Ir:!qe&&sr==="#"?(Le.fragment="",rt=Mr):sr!==$e&&(sr==="'"&&Le.isSpecial()?Le.query+="%27":sr==="#"?Le.query+="%23":Le.query+=pe(sr,Oe));break;case Mr:sr!==$e&&(Le.fragment+=pe(sr,Ee));break}Tt++}},parseHost:function(wt){var qe,Ue,Le;if(K(wt,0)==="["){if(K(wt,wt.length-1)!=="]"||(qe=Me(ee(wt,1,-1)),!qe))return He;this.host=qe}else if(this.isSpecial()){if(wt=O(wt),X(at,wt)||(qe=ft(wt),qe===null))return He;this.host=qe}else{if(X(ct,wt))return He;for(qe="",Ue=x(wt),Le=0;Le1?arguments[1]:void 0,rt=T(Ue,new er(qe,!1,Le));r||(Ue.href=rt.serialize(),Ue.origin=rt.getOrigin(),Ue.protocol=rt.getProtocol(),Ue.username=rt.getUsername(),Ue.password=rt.getPassword(),Ue.host=rt.getHost(),Ue.hostname=rt.getHostname(),Ue.port=rt.getPort(),Ue.pathname=rt.getPathname(),Ue.search=rt.getSearch(),Ue.searchParams=rt.getSearchParams(),Ue.hash=rt.getHash())},Kt=Nt.prototype,Qt=function(wt,qe){return{get:function(){return D(this)[wt]()},set:qe&&function(Ue){return D(this)[qe](Ue)},configurable:!0,enumerable:!0}};if(r&&(o(Kt,"href",Qt("serialize","setHref")),o(Kt,"origin",Qt("getOrigin")),o(Kt,"protocol",Qt("getProtocol","setProtocol")),o(Kt,"username",Qt("getUsername","setUsername")),o(Kt,"password",Qt("getPassword","setPassword")),o(Kt,"host",Qt("getHost","setHost")),o(Kt,"hostname",Qt("getHostname","setHostname")),o(Kt,"port",Qt("getPort","setPort")),o(Kt,"pathname",Qt("getPathname","setPathname")),o(Kt,"search",Qt("getSearch","setSearch")),o(Kt,"searchParams",Qt("getSearchParams")),o(Kt,"hash",Qt("getHash","setHash"))),c(Kt,"toJSON",function(){return D(this).serialize()},{enumerable:!0}),c(Kt,"toString",function(){return D(this).serialize()},{enumerable:!0}),j){var Cr=j.createObjectURL,Er=j.revokeObjectURL;Cr&&c(Nt,"createObjectURL",s(Cr,j)),Er&&c(Nt,"revokeObjectURL",s(Er,j))}I(Nt,"URL"),t({global:!0,constructor:!0,forced:!n,sham:!r},{URL:Nt})},25204:function(i,d,e){"use strict";e(13588)},47803:function(i,d,e){"use strict";var t=e(94488),r=e(89945);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},73825:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){if(Array.isArray(r))return r}},65873:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(89878);function r(n,a,s){return a=(0,t.Z)(a),a in n?Object.defineProperty(n,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[a]=s,n}},38329:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var n=1;n1114111)return;A+=a(D);break;default:if(O(M,0))return;A+=M}R=T}return A+o(E,R)}},93245:function(i,d,e){"use strict";var t=e(94237),r=2147483647,n=36,a=1,s=26,u=38,c=700,o=72,f=128,_="-",p=/[^\0-\u007E]/,x=/[.\u3002\uFF0E\uFF61]/g,g="Overflow: input needs wider integers to process",P=n-a,O=RangeError,S=t(x.exec),I=Math.floor,E=String.fromCharCode,A=t("".charCodeAt),R=t([].join),T=t([].push),D=t("".replace),M=t("".split),B=t("".toLowerCase),j=function(F){for(var K=[],X=0,Q=F.length;X=55296&&W<=56319&&X>1,F+=I(F/K);F>P*s>>1;)F=I(F/P),Q+=n;return I(Q+(P+1)*F/(F+u))},Y=function(F){var K=[];F=j(F);var X=F.length,Q=f,W=0,N=o,J,k;for(J=0;J=Q&&kI((r-W)/ie))throw new O(g);for(W+=(ee-Q)*ie,Q=ee,J=0;Jr)throw new O(g);if(k===Q){for(var se=W,le=n;;){var de=le<=N?a:le>=N+s?s:le-N;if(se0;(f>>>=1)&&(c+=c))f&1&&(o+=c);return o}},9591:function(i,d,e){"use strict";var t=e(52971).end,r=e(18105);i.exports=r("trimEnd")?function(){return t(this)}:"".trimEnd},18105:function(i,d,e){"use strict";var t=e(8090).PROPER,r=e(3338),n=e(19268),a="\u200B\x85\u180E";i.exports=function(s){return r(function(){return!!n[s]()||a[s]()!==a||t&&n[s].name!==s})}},27374:function(i,d,e){"use strict";var t=e(52971).start,r=e(18105);i.exports=r("trimStart")?function(){return t(this)}:"".trimStart},52971:function(i,d,e){"use strict";var t=e(94237),r=e(95955),n=e(69905),a=e(19268),s=t("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),o=function(f){return function(_){var p=n(r(_));return f&1&&(p=s(p,u,"")),f&2&&(p=s(p,c,"$1")),p}};i.exports={start:o(1),end:o(2),trim:o(3)}},80426:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(46573),a=e(66994),s=e(91821),u=e(90946),c=t.structuredClone;i.exports=!!c&&!r(function(){if(s&&n>92||u&&n>94||a&&n>97)return!1;var o=new ArrayBuffer(8),f=c(o,{transfer:[o]});return o.byteLength!==0||f.byteLength!==8})},42820:function(i,d,e){"use strict";var t=e(46573),r=e(3338),n=e(92916),a=n.String;i.exports=!!Object.getOwnPropertySymbols&&!r(function(){var s=Symbol("symbol detection");return!a(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41})},14311:function(i,d,e){"use strict";var t=e(89945),r=e(65911),n=e(59893),a=e(2291);i.exports=function(){var s=r("Symbol"),u=s&&s.prototype,c=u&&u.valueOf,o=n("toPrimitive");u&&!u[o]&&a(u,o,function(f){return t(c,this)},{arity:1})}},69077:function(i,d,e){"use strict";var t=e(65911),r=e(94237),n=t("Symbol"),a=n.keyFor,s=r(n.prototype.valueOf);i.exports=n.isRegisteredSymbol||function(c){try{return a(s(c))!==void 0}catch(o){return!1}}},40443:function(i,d,e){"use strict";for(var t=e(77898),r=e(65911),n=e(94237),a=e(18446),s=e(59893),u=r("Symbol"),c=u.isWellKnownSymbol,o=r("Object","getOwnPropertyNames"),f=n(u.prototype.valueOf),_=t("wks"),p=0,x=o(u),g=x.length;p0?r(t(n),9007199254740991):0}},94029:function(i,d,e){"use strict";var t=e(95955),r=Object;i.exports=function(n){return r(t(n))}},64135:function(i,d,e){"use strict";var t=e(51358),r=RangeError;i.exports=function(n,a){var s=t(n);if(s%a)throw new r("Wrong offset");return s}},51358:function(i,d,e){"use strict";var t=e(56902),r=RangeError;i.exports=function(n){var a=t(n);if(a<0)throw new r("The argument can't be less than 0");return a}},97954:function(i,d,e){"use strict";var t=e(89945),r=e(31946),n=e(18446),a=e(53776),s=e(44759),u=e(59893),c=TypeError,o=u("toPrimitive");i.exports=function(f,_){if(!r(f)||n(f))return f;var p=a(f,o),x;if(p){if(_===void 0&&(_="default"),x=t(p,f,_),!r(x)||n(x))return x;throw new c("Can't convert object to primitive value")}return _===void 0&&(_="number"),s(f,_)}},17818:function(i,d,e){"use strict";var t=e(97954),r=e(18446);i.exports=function(n){var a=t(n,"string");return r(a)?a:a+""}},77999:function(i,d,e){"use strict";var t=e(65911),r=e(55327),n=e(30360),a=e(31946),s=t("Set"),u=function(c){return a(c)&&typeof c.size=="number"&&r(c.has)&&r(c.keys)};i.exports=function(c){return u(c)?c:n(c)?new s(c):c}},68527:function(i,d,e){"use strict";var t=e(59893),r=t("toStringTag"),n={};n[r]="z",i.exports=String(n)==="[object z]"},69905:function(i,d,e){"use strict";var t=e(97607),r=String;i.exports=function(n){if(t(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(n)}},86350:function(i){"use strict";var d=Math.round;i.exports=function(e){var t=d(e);return t<0?0:t>255?255:t&255}},11270:function(i,d,e){"use strict";var t=e(90946);i.exports=function(r){try{if(t)return Function('return require("'+r+'")')()}catch(n){}}},40593:function(i){"use strict";var d=String;i.exports=function(e){try{return d(e)}catch(t){return"Object"}}},69733:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),a=e(35454),s=e(59627),u=e(58261),c=e(91669),o=e(56472),f=e(35012),_=e(68151),p=e(62896),x=e(61578),g=e(24225),P=e(64135),O=e(86350),S=e(17818),I=e(32621),E=e(97607),A=e(31946),R=e(18446),T=e(20132),D=e(16332),M=e(58218),B=e(80689).f,j=e(50706),V=e(90560).forEach,H=e(51996),Y=e(64110),F=e(37691),K=e(71256),X=e(94844),Q=e(25576),W=X.get,N=X.set,J=X.enforce,k=F.f,Z=K.f,G=r.RangeError,ee=c.ArrayBuffer,ie=ee.prototype,se=c.DataView,le=u.NATIVE_ARRAY_BUFFER_VIEWS,de=u.TYPED_ARRAY_TAG,He=u.TypedArray,ze=u.TypedArrayPrototype,st=u.aTypedArrayConstructor,vt=u.isTypedArray,Je="BYTES_PER_ELEMENT",Ke="Wrong length",Re=function(bt,Ie){st(bt);for(var $e=0,ft=Ie.length,ke=new bt(ft);ft>$e;)ke[$e]=Ie[$e++];return ke},Ce=function(bt,Ie){Y(bt,Ie,{configurable:!0,get:function(){return W(this)[Ie]}})},me=function(bt){var Ie;return D(ie,bt)||(Ie=E(bt))==="ArrayBuffer"||Ie==="SharedArrayBuffer"},at=function(bt,Ie){return vt(bt)&&!R(Ie)&&Ie in bt&&p(+Ie)&&Ie>=0},ct=function(Ie,$e){return $e=S($e),at(Ie,$e)?f(2,Ie[$e]):Z(Ie,$e)},St=function(Ie,$e,ft){return $e=S($e),at(Ie,$e)&&A(ft)&&I(ft,"value")&&!I(ft,"get")&&!I(ft,"set")&&!ft.configurable&&(!I(ft,"writable")||ft.writable)&&(!I(ft,"enumerable")||ft.enumerable)?(Ie[$e]=ft.value,Ie):k(Ie,$e,ft)};a?(le||(K.f=ct,F.f=St,Ce(ze,"buffer"),Ce(ze,"byteOffset"),Ce(ze,"byteLength"),Ce(ze,"length")),t({target:"Object",stat:!0,forced:!le},{getOwnPropertyDescriptor:ct,defineProperty:St}),i.exports=function(bt,Ie,$e){var ft=bt.match(/\d+/)[0]/8,ke=bt+($e?"Clamped":"")+"Array",ye="get"+bt,fe="set"+bt,Oe=r[ke],Ee=Oe,et=Ee&&Ee.prototype,mt={},pe=function(Ve,it){var Dt=W(Ve);return Dt.view[ye](it*ft+Dt.byteOffset,!0)},ge=function(Ve,it,Dt){var Yt=W(Ve);Yt.view[fe](it*ft+Yt.byteOffset,$e?O(Dt):Dt,!0)},lt=function(Ve,it){k(Ve,it,{get:function(){return pe(this,it)},set:function(Dt){return ge(this,it,Dt)},enumerable:!0})};le?s&&(Ee=Ie(function(Ve,it,Dt,Yt){return o(Ve,et),Q(function(){return A(it)?me(it)?Yt!==void 0?new Oe(it,P(Dt,ft),Yt):Dt!==void 0?new Oe(it,P(Dt,ft)):new Oe(it):vt(it)?Re(Ee,it):n(j,Ee,it):new Oe(g(it))}(),Ve,Ee)}),M&&M(Ee,He),V(B(Oe),function(Ve){Ve in Ee||_(Ee,Ve,Oe[Ve])}),Ee.prototype=et):(Ee=Ie(function(Ve,it,Dt,Yt){o(Ve,et);var Se=0,je=0,Be,ht,At;if(!A(it))At=g(it),ht=At*ft,Be=new ee(ht);else if(me(it)){Be=it,je=P(Dt,ft);var ce=it.byteLength;if(Yt===void 0){if(ce%ft)throw new G(Ke);if(ht=ce-je,ht<0)throw new G(Ke)}else if(ht=x(Yt)*ft,ht+je>ce)throw new G(Ke);At=ht/ft}else return vt(it)?Re(Ee,it):n(j,Ee,it);for(N(Ve,{buffer:Be,byteOffset:je,byteLength:ht,length:At,view:new se(Be)});Se1?arguments[1]:void 0,E=I!==void 0,A=c(O),R,T,D,M,B,j,V,H;if(A&&!o(A))for(V=u(O,A),H=V.next,O=[];!(j=r(H,V)).done;)O.push(j.value);for(E&&S>2&&(I=t(I,arguments[2])),T=s(O),D=new(_(P))(T),M=f(D),R=0;T>R;R++)B=E?I(O[R],R):O[R],D[R]=M?p(B):+B;return D}},31384:function(i,d,e){"use strict";var t=e(58261),r=e(60473),n=t.aTypedArrayConstructor,a=t.getTypedArrayConstructor;i.exports=function(s){return n(r(s,a(s)))}},6145:function(i,d,e){"use strict";var t=e(94237),r=0,n=Math.random(),a=t(1 .toString);i.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+a(++r+n,36)}},3299:function(i,d,e){"use strict";var t=e(3338),r=e(59893),n=e(35454),a=e(16697),s=r("iterator");i.exports=!t(function(){var u=new URL("b?a=1&b=2&c=3","http://a"),c=u.searchParams,o=new URLSearchParams("a=1&a=2&b=3"),f="";return u.pathname="c%20d",c.forEach(function(_,p){c.delete("b"),f+=p+_}),o.delete("a",2),o.delete("b",void 0),a&&(!u.toJSON||!o.has("a",1)||o.has("a",2)||!o.has("a",void 0)||o.has("b"))||!c.size&&(a||!n)||!c.sort||u.href!=="http://a/c%20d?a=1&c=3"||c.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!c[s]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||f!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(i,d,e){"use strict";var t=e(42820);i.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(i,d,e){"use strict";var t=e(35454),r=e(3338);i.exports=t&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(i){"use strict";var d=TypeError;i.exports=function(e,t){if(eA&&_(F,arguments[A]),F});if(j.prototype=M,T!=="Error"?s?s(j,B):u(j,B,{name:!0}):x&&E in D&&(c(j,D,E),c(j,D,"prepareStackTrace")),u(j,D),!g)try{M.name!==T&&n(M,"name",T),M.constructor=j}catch(V){}return j}}},93074:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),a=e(3338),s=e(78540),u="AggregateError",c=r(u),o=!a(function(){return c([1]).errors[0]!==1})&&a(function(){return c([1],u,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:o},{AggregateError:s(u,function(f){return function(p,x){return n(f,this,arguments)}},o,!0)})},6555:function(i,d,e){"use strict";var t=e(94488),r=e(16332),n=e(53456),a=e(58218),s=e(24538),u=e(20132),c=e(68151),o=e(35012),f=e(73068),_=e(61888),p=e(62003),x=e(7825),g=e(59893),P=g("toStringTag"),O=Error,S=[].push,I=function(R,T){var D=r(E,this),M;a?M=a(new O,D?n(this):E):(M=D?this:u(E),c(M,P,"Error")),T!==void 0&&c(M,"message",x(T)),_(M,I,M.stack,1),arguments.length>2&&f(M,arguments[2]);var B=[];return p(R,S,{that:B}),c(M,"errors",B),M};a?a(I,O):s(I,O,{name:!0});var E=I.prototype=u(O.prototype,{constructor:o(1,I),message:o(1,""),name:o(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:I})},86357:function(i,d,e){"use strict";e(6555)},89170:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(91669),a=e(51996),s="ArrayBuffer",u=n[s],c=r[s];t({global:!0,constructor:!0,forced:c!==u},{ArrayBuffer:u}),a(s)},71012:function(i,d,e){"use strict";var t=e(94488),r=e(58261),n=r.NATIVE_ARRAY_BUFFER_VIEWS;t({target:"ArrayBuffer",stat:!0,forced:!n},{isView:r.isView})},84203:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(3338),a=e(91669),s=e(80449),u=e(51981),c=e(61578),o=e(60473),f=a.ArrayBuffer,_=a.DataView,p=_.prototype,x=r(f.prototype.slice),g=r(p.getUint8),P=r(p.setUint8),O=n(function(){return!new f(2).slice(1,void 0).byteLength});t({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:O},{slice:function(I,E){if(x&&E===void 0)return x(s(this),I);for(var A=s(this).byteLength,R=u(I,A),T=u(E===void 0?A:E,A),D=new(o(this,f))(c(T-R)),M=new _(this),B=new _(D),j=0;R=0?_:f+_;return p<0||p>=f?void 0:o[p]}}),s("at")},2924:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(18589),a=e(31946),s=e(94029),u=e(82762),c=e(66434),o=e(69392),f=e(81427),_=e(17480),p=e(59893),x=e(46573),g=p("isConcatSpreadable"),P=x>=51||!r(function(){var I=[];return I[g]=!1,I.concat()[0]!==I}),O=function(I){if(!a(I))return!1;var E=I[g];return E!==void 0?!!E:n(I)},S=!P||!_("concat");t({target:"Array",proto:!0,arity:1,forced:S},{concat:function(E){var A=s(this),R=f(A,0),T=0,D,M,B,j,V;for(D=-1,B=arguments.length;D1?arguments[1]:void 0)}})},16137:function(i,d,e){"use strict";var t=e(94488),r=e(75202),n=e(81181);t({target:"Array",proto:!0},{fill:r}),n("fill")},48435:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filter,n=e(17480),a=n("filter");t({target:"Array",proto:!0,forced:!a},{filter:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},70365:function(i,d,e){"use strict";var t=e(94488),r=e(90560).findIndex,n=e(81181),a="findIndex",s=!0;a in[]&&Array(1)[a](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{findIndex:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(a)},17482:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLastIndex,n=e(81181);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLastIndex")},33717:function(i,d,e){"use strict";var t=e(94488),r=e(53279).findLast,n=e(81181);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("findLast")},11553:function(i,d,e){"use strict";var t=e(94488),r=e(90560).find,n=e(81181),a="find",s=!0;a in[]&&Array(1)[a](function(){s=!1}),t({target:"Array",proto:!0,forced:s},{find:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),n(a)},65033:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(63335),a=e(94029),s=e(82762),u=e(81427);t({target:"Array",proto:!0},{flatMap:function(o){var f=a(this),_=s(f),p;return n(o),p=u(f,0),p.length=r(p,f,f,_,0,1,o,arguments.length>1?arguments[1]:void 0),p}})},23708:function(i,d,e){"use strict";var t=e(94488),r=e(3372),n=e(94029),a=e(82762),s=e(56902),u=e(81427);t({target:"Array",proto:!0},{flat:function(){var o=arguments.length?arguments[0]:void 0,f=n(this),_=a(f),p=u(f,0);return p.length=r(p,f,f,_,0,o===void 0?1:s(o)),p}})},52732:function(i,d,e){"use strict";var t=e(94488),r=e(59594);t({target:"Array",proto:!0,forced:[].forEach!==r},{forEach:r})},99382:function(i,d,e){"use strict";var t=e(94488),r=e(60255),n=e(35221),a=!n(function(s){Array.from(s)});t({target:"Array",stat:!0,forced:a},{from:r})},88437:function(i,d,e){"use strict";var t=e(94488),r=e(22999).includes,n=e(3338),a=e(81181),s=n(function(){return!Array(1).includes()});t({target:"Array",proto:!0,forced:s},{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),a("includes")},68440:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(22999).indexOf,a=e(45601),s=r([].indexOf),u=!!s&&1/s([1],1,-0)<0,c=u||!a("indexOf");t({target:"Array",proto:!0,forced:c},{indexOf:function(f){var _=arguments.length>1?arguments[1]:void 0;return u?s(this,f,_)||0:n(this,f,_)}})},13412:function(i,d,e){"use strict";var t=e(94488),r=e(18589);t({target:"Array",stat:!0},{isArray:r})},11005:function(i,d,e){"use strict";var t=e(80524),r=e(81181),n=e(48074),a=e(94844),s=e(37691).f,u=e(24019),c=e(25587),o=e(16697),f=e(35454),_="Array Iterator",p=a.set,x=a.getterFor(_);i.exports=u(Array,"Array",function(P,O){p(this,{type:_,target:t(P),index:0,kind:O})},function(){var P=x(this),O=P.target,S=P.index++;if(!O||S>=O.length)return P.target=void 0,c(void 0,!0);switch(P.kind){case"keys":return c(S,!1);case"values":return c(O[S],!1)}return c([S,O[S]],!1)},"values");var g=n.Arguments=n.Array;if(r("keys"),r("values"),r("entries"),!o&&f&&g.name!=="values")try{s(g,"name",{value:"values"})}catch(P){}},70348:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(1835),a=e(80524),s=e(45601),u=r([].join),c=n!==Object,o=c||!s("join",",");t({target:"Array",proto:!0,forced:o},{join:function(_){return u(a(this),_===void 0?",":_)}})},19801:function(i,d,e){"use strict";var t=e(94488),r=e(55009);t({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},91550:function(i,d,e){"use strict";var t=e(94488),r=e(90560).map,n=e(17480),a=n("map");t({target:"Array",proto:!0,forced:!a},{map:function(u){return r(this,u,arguments.length>1?arguments[1]:void 0)}})},85223:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(39812),a=e(69392),s=Array,u=r(function(){function c(){}return!(s.of.call(c)instanceof c)});t({target:"Array",stat:!0,forced:u},{of:function(){for(var o=0,f=arguments.length,_=new(n(this)?this:s)(f);f>o;)a(_,o,arguments[o++]);return _.length=f,_}})},7154:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(82762),a=e(39428),s=e(66434),u=e(3338),c=u(function(){return[].push.call({length:4294967296},1)!==4294967297}),o=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(_){return _ instanceof TypeError}},f=c||!o();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(p){var x=r(this),g=n(x),P=arguments.length;s(g+P);for(var O=0;O79&&a<83,c=u||!n("reduceRight");t({target:"Array",proto:!0,forced:c},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},67788:function(i,d,e){"use strict";var t=e(94488),r=e(16370).left,n=e(45601),a=e(46573),s=e(90946),u=!s&&a>79&&a<83,c=u||!n("reduce");t({target:"Array",proto:!0,forced:c},{reduce:function(f){var _=arguments.length;return r(this,f,_,_>1?arguments[1]:void 0)}})},9402:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(18589),a=r([].reverse),s=[1,2];t({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return n(this)&&(this.length=this.length),a(this)}})},62489:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=e(39812),a=e(31946),s=e(51981),u=e(82762),c=e(80524),o=e(69392),f=e(59893),_=e(17480),p=e(30867),x=_("slice"),g=f("species"),P=Array,O=Math.max;t({target:"Array",proto:!0,forced:!x},{slice:function(I,E){var A=c(this),R=u(A),T=s(I,R),D=s(E===void 0?R:E,R),M,B,j;if(r(A)&&(M=A.constructor,n(M)&&(M===P||r(M.prototype))?M=void 0:a(M)&&(M=M[g],M===null&&(M=void 0)),M===P||M===void 0))return p(A,T,D);for(B=new(M===void 0?P:M)(O(D-T,0)),j=0;T1?arguments[1]:void 0)}})},62837:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(63335),a=e(94029),s=e(82762),u=e(84233),c=e(69905),o=e(3338),f=e(63668),_=e(45601),p=e(78177),x=e(17687),g=e(46573),P=e(19684),O=[],S=r(O.sort),I=r(O.push),E=o(function(){O.sort(void 0)}),A=o(function(){O.sort(null)}),R=_("sort"),T=!o(function(){if(g)return g<70;if(!(p&&p>3)){if(x)return!0;if(P)return P<603;var B="",j,V,H,Y;for(j=65;j<76;j++){switch(V=String.fromCharCode(j),j){case 66:case 69:case 70:case 72:H=3;break;case 68:case 71:H=4;break;default:H=2}for(Y=0;Y<47;Y++)O.push({k:V+Y,v:H})}for(O.sort(function(F,K){return K.v-F.v}),Y=0;Yc(V)?1:-1}};t({target:"Array",proto:!0,forced:D},{sort:function(j){j!==void 0&&n(j);var V=a(this);if(T)return j===void 0?S(V):S(V,j);var H=[],Y=s(V),F,K;for(K=0;KA-M+D;j--)_(E,j-1)}else if(D>M)for(j=A-M;j>R;j--)V=j+M-1,H=j+D-1,V in E?E[H]=E[V]:_(E,H);for(j=0;j=0&&f<=99?f+1900:f;return u(this,_)}})},71390:function(i,d,e){"use strict";var t=e(94488);t({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},96844:function(i,d,e){"use strict";var t=e(94488),r=e(32494);t({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},83578:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),a=e(97954),s=r(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});t({target:"Date",proto:!0,arity:1,forced:s},{toJSON:function(c){var o=n(this),f=a(o,"number");return typeof f=="number"&&!isFinite(f)?null:o.toISOString()}})},69762:function(i,d,e){"use strict";var t=e(32621),r=e(2291),n=e(77119),a=e(59893),s=a("toPrimitive"),u=Date.prototype;t(u,s)||r(u,s,n)},76880:function(i,d,e){"use strict";var t=e(94237),r=e(2291),n=Date.prototype,a="Invalid Date",s="toString",u=t(n[s]),c=t(n.getTime);String(new Date(NaN))!==a&&r(n,s,function(){var f=c(this);return f===f?u(this):a})},31808:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(13743),a=e(78540),s="WebAssembly",u=r[s],c=new Error("e",{cause:7}).cause!==7,o=function(_,p){var x={};x[_]=a(_,p,c),t({global:!0,constructor:!0,arity:1,forced:c},x)},f=function(_,p){if(u&&u[_]){var x={};x[_]=a(s+"."+_,p,c),t({target:s,stat:!0,constructor:!0,arity:1,forced:c},x)}};o("Error",function(_){return function(x){return n(_,this,arguments)}}),o("EvalError",function(_){return function(x){return n(_,this,arguments)}}),o("RangeError",function(_){return function(x){return n(_,this,arguments)}}),o("ReferenceError",function(_){return function(x){return n(_,this,arguments)}}),o("SyntaxError",function(_){return function(x){return n(_,this,arguments)}}),o("TypeError",function(_){return function(x){return n(_,this,arguments)}}),o("URIError",function(_){return function(x){return n(_,this,arguments)}}),f("CompileError",function(_){return function(x){return n(_,this,arguments)}}),f("LinkError",function(_){return function(x){return n(_,this,arguments)}}),f("RuntimeError",function(_){return function(x){return n(_,this,arguments)}})},99953:function(i,d,e){"use strict";var t=e(2291),r=e(13367),n=Error.prototype;n.toString!==r&&t(n,"toString",r)},65009:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),a=r("".charAt),s=r("".charCodeAt),u=r(/./.exec),c=r(1 .toString),o=r("".toUpperCase),f=/[\w*+\-./@]/,_=function(p,x){for(var g=c(p,16);g.length9490626562425156e-8?a(_)+u:r(_-1+s(_-1)*s(_+1))}})},85660:function(i,d,e){"use strict";var t=e(94488),r=Math.asinh,n=Math.log,a=Math.sqrt;function s(c){var o=+c;return!isFinite(o)||o===0?o:o<0?-s(-o):n(o+a(o*o+1))}var u=!(r&&1/r(0)>0);t({target:"Math",stat:!0,forced:u},{asinh:s})},80031:function(i,d,e){"use strict";var t=e(94488),r=Math.atanh,n=Math.log,a=!(r&&1/r(-0)<0);t({target:"Math",stat:!0,forced:a},{atanh:function(u){var c=+u;return c===0?c:n((1+c)/(1-c))/2}})},34434:function(i,d,e){"use strict";var t=e(94488),r=e(37666),n=Math.abs,a=Math.pow;t({target:"Math",stat:!0},{cbrt:function(u){var c=+u;return r(c)*a(n(c),.3333333333333333)}})},83579:function(i,d,e){"use strict";var t=e(94488),r=Math.floor,n=Math.log,a=Math.LOG2E;t({target:"Math",stat:!0},{clz32:function(u){var c=u>>>0;return c?31-r(n(c+.5)*a):32}})},74307:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.cosh,a=Math.abs,s=Math.E,u=!n||n(710)===1/0;t({target:"Math",stat:!0,forced:u},{cosh:function(o){var f=r(a(o)-1)+1;return(f+1/(f*s*s))*(s/2)}})},97423:function(i,d,e){"use strict";var t=e(94488),r=e(10014);t({target:"Math",stat:!0,forced:r!==Math.expm1},{expm1:r})},93321:function(i,d,e){"use strict";var t=e(94488),r=e(14894);t({target:"Math",stat:!0},{fround:r})},82277:function(i,d,e){"use strict";var t=e(94488),r=Math.hypot,n=Math.abs,a=Math.sqrt,s=!!r&&r(1/0,NaN)!==1/0;t({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(c,o){for(var f=0,_=0,p=arguments.length,x=0,g,P;_0?(P=g/x,f+=P*P):f+=g;return x===1/0?1/0:x*a(f)}})},61425:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=Math.imul,a=r(function(){return n(4294967295,5)!==-5||n.length!==2});t({target:"Math",stat:!0,forced:a},{imul:function(u,c){var o=65535,f=+u,_=+c,p=o&f,x=o&_;return 0|p*x+((o&f>>>16)*x+p*(o&_>>>16)<<16>>>0)}})},61873:function(i,d,e){"use strict";var t=e(94488),r=e(53309);t({target:"Math",stat:!0},{log10:r})},9307:function(i,d,e){"use strict";var t=e(94488),r=e(25726);t({target:"Math",stat:!0},{log1p:r})},8821:function(i,d,e){"use strict";var t=e(94488),r=Math.log,n=Math.LN2;t({target:"Math",stat:!0},{log2:function(s){return r(s)/n}})},64385:function(i,d,e){"use strict";var t=e(94488),r=e(37666);t({target:"Math",stat:!0},{sign:r})},64099:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(10014),a=Math.abs,s=Math.exp,u=Math.E,c=r(function(){return Math.sinh(-2e-17)!==-2e-17});t({target:"Math",stat:!0,forced:c},{sinh:function(f){var _=+f;return a(_)<1?(n(_)-n(-_))/2:(s(_-1)-s(-_-1))*(u/2)}})},62455:function(i,d,e){"use strict";var t=e(94488),r=e(10014),n=Math.exp;t({target:"Math",stat:!0},{tanh:function(s){var u=+s,c=r(u),o=r(-u);return c===1/0?1:o===1/0?-1:(c-o)/(n(u)+n(-u))}})},79965:function(i,d,e){"use strict";var t=e(94573);t(Math,"Math",!0)},59118:function(i,d,e){"use strict";var t=e(94488),r=e(3312);t({target:"Math",stat:!0},{trunc:r})},275:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(35454),a=e(92916),s=e(9699),u=e(94237),c=e(20865),o=e(32621),f=e(25576),_=e(16332),p=e(18446),x=e(97954),g=e(3338),P=e(80689).f,O=e(71256).f,S=e(37691).f,I=e(49228),E=e(52971).trim,A="Number",R=a[A],T=s[A],D=R.prototype,M=a.TypeError,B=u("".slice),j=u("".charCodeAt),V=function(Q){var W=x(Q,"number");return typeof W=="bigint"?W:H(W)},H=function(Q){var W=x(Q,"number"),N,J,k,Z,G,ee,ie,se;if(p(W))throw new M("Cannot convert a Symbol value to a number");if(typeof W=="string"&&W.length>2){if(W=E(W),N=j(W,0),N===43||N===45){if(J=j(W,2),J===88||J===120)return NaN}else if(N===48){switch(j(W,1)){case 66:case 98:k=2,Z=49;break;case 79:case 111:k=8,Z=55;break;default:return+W}for(G=B(W,2),ee=G.length,ie=0;ieZ)return NaN;return parseInt(G,k)}}return+W},Y=c(A,!R(" 0o1")||!R("0b1")||R("+0x1")),F=function(Q){return _(D,Q)&&g(function(){I(Q)})},K=function(W){var N=arguments.length<1?0:R(V(W));return F(this)?f(Object(N),this,K):N};K.prototype=D,Y&&!r&&(D.constructor=K),t({global:!0,constructor:!0,wrap:!0,forced:Y},{Number:K});var X=function(Q,W){for(var N=n?P(W):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),J=0,k;N.length>J;J++)o(W,k=N[J])&&!o(Q,k)&&S(Q,k,O(W,k))};r&&T&&X(s[A],T),(Y||r)&&X(s[A],R)},31919:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(i,d,e){"use strict";var t=e(94488),r=e(1222);t({target:"Number",stat:!0},{isFinite:r})},10177:function(i,d,e){"use strict";var t=e(94488),r=e(62896);t({target:"Number",stat:!0},{isInteger:r})},85690:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0},{isNaN:function(n){return n!==n}})},92114:function(i,d,e){"use strict";var t=e(94488),r=e(62896),n=Math.abs;t({target:"Number",stat:!0},{isSafeInteger:function(s){return r(s)&&n(s)<=9007199254740991}})},1017:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(i,d,e){"use strict";var t=e(94488);t({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({target:"Number",stat:!0,forced:Number.parseFloat!==r},{parseFloat:r})},76345:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({target:"Number",stat:!0,forced:Number.parseInt!==r},{parseInt:r})},7282:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a=e(49228),s=e(71049),u=e(53309),c=e(3338),o=RangeError,f=String,_=isFinite,p=Math.abs,x=Math.floor,g=Math.pow,P=Math.round,O=r(1 .toExponential),S=r(s),I=r("".slice),E=O(-69e-12,4)==="-6.9000e-11"&&O(1.255,2)==="1.25e+0"&&O(12345,3)==="1.235e+4"&&O(25,0)==="3e+1",A=function(){return c(function(){O(1,1/0)})&&c(function(){O(1,-1/0)})},R=function(){return!c(function(){O(1/0,1/0),O(NaN,1/0)})},T=!E||!A()||!R();t({target:"Number",proto:!0,forced:T},{toExponential:function(M){var B=a(this);if(M===void 0)return O(B);var j=n(M);if(!_(B))return String(B);if(j<0||j>20)throw new o("Incorrect fraction digits");if(E)return O(B,j);var V="",H="",Y=0,F="",K="";if(B<0&&(V="-",B=-B),B===0)Y=0,H=S("0",j+1);else{var X=u(B);Y=x(X);var Q=0,W=g(10,Y-j);Q=P(B/W),2*B>=(2*Q+1)*W&&(Q+=1),Q>=g(10,j+1)&&(Q/=10,Y+=1),H=f(Q)}return j!==0&&(H=I(H,0,1)+"."+I(H,1)),Y===0?(F="+",K="0"):(F=Y>0?"+":"-",K=f(p(Y))),H+="e"+F+K,V+H}})},58055:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a=e(49228),s=e(71049),u=e(3338),c=RangeError,o=String,f=Math.floor,_=r(s),p=r("".slice),x=r(1 .toFixed),g=function(A,R,T){return R===0?T:R%2===1?g(A,R-1,T*A):g(A*A,R/2,T)},P=function(A){for(var R=0,T=A;T>=4096;)R+=12,T/=4096;for(;T>=2;)R+=1,T/=2;return R},O=function(A,R,T){for(var D=-1,M=T;++D<6;)M+=R*A[D],A[D]=M%1e7,M=f(M/1e7)},S=function(A,R){for(var T=6,D=0;--T>=0;)D+=A[T],A[T]=f(D/R),D=D%R*1e7},I=function(A){for(var R=6,T="";--R>=0;)if(T!==""||R===0||A[R]!==0){var D=o(A[R]);T=T===""?D:T+_("0",7-D.length)+D}return T},E=u(function(){return x(8e-5,3)!=="0.000"||x(.9,0)!=="1"||x(1.255,2)!=="1.25"||x(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!u(function(){x({})});t({target:"Number",proto:!0,forced:E},{toFixed:function(R){var T=a(this),D=n(R),M=[0,0,0,0,0,0],B="",j="0",V,H,Y,F;if(D<0||D>20)throw new c("Incorrect fraction digits");if(T!==T)return"NaN";if(T<=-1e21||T>=1e21)return o(T);if(T<0&&(B="-",T=-T),T>1e-21)if(V=P(T*g(2,69,1))-69,H=V<0?T*g(2,-V,1):T/g(2,V,1),H*=4503599627370496,V=52-V,V>0){for(O(M,0,H),Y=D;Y>=7;)O(M,1e7,0),Y-=7;for(O(M,g(10,Y,1),0),Y=V-1;Y>=23;)S(M,8388608),Y-=23;S(M,1<0?(F=j.length,j=B+(F<=D?"0."+_("0",D-F)+j:p(j,0,F-D)+"."+p(j,F-D))):j=B+j,j}})},93547:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(3338),a=e(49228),s=r(1 .toPrecision),u=n(function(){return s(1,void 0)!=="1"})||!n(function(){s({})});t({target:"Number",proto:!0,forced:u},{toPrecision:function(o){return o===void 0?s(a(this)):s(a(this),o)}})},31237:function(i,d,e){"use strict";var t=e(94488),r=e(80530);t({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},17954:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(20132);t({target:"Object",stat:!0,sham:!r},{create:n})},58580:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineGetter__:function(o,f){u.f(s(this),o,{get:a(f),enumerable:!0,configurable:!0})}})},47146:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(55666).f;t({target:"Object",stat:!0,forced:Object.defineProperties!==n,sham:!r},{defineProperties:n})},40416:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(37691).f;t({target:"Object",stat:!0,forced:Object.defineProperty!==n,sham:!r},{defineProperty:n})},7615:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(63335),s=e(94029),u=e(37691);r&&t({target:"Object",proto:!0,forced:n},{__defineSetter__:function(o,f){u.f(s(this),o,{set:a(f),enumerable:!0,configurable:!0})}})},72820:function(i,d,e){"use strict";var t=e(94488),r=e(88698).entries;t({target:"Object",stat:!0},{entries:function(a){return r(a)}})},86070:function(i,d,e){"use strict";var t=e(94488),r=e(13247),n=e(3338),a=e(31946),s=e(2074).onFreeze,u=Object.freeze,c=n(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!r},{freeze:function(f){return u&&a(f)?u(s(f)):f}})},23569:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(69392);t({target:"Object",stat:!0},{fromEntries:function(s){var u={};return r(s,function(c,o){n(u,c,o)},{AS_ENTRIES:!0}),u}})},55639:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(80524),a=e(71256).f,s=e(35454),u=!s||r(function(){a(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(o,f){return a(n(o),f)}})},63046:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(48662),a=e(80524),s=e(71256),u=e(69392);t({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(o){for(var f=a(o),_=s.f,p=n(f),x={},g=0,P,O;p.length>g;)O=_(f,P=p[g++]),O!==void 0&&u(x,P,O);return x}})},464:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(53393).f,a=r(function(){return!Object.getOwnPropertyNames(1)});t({target:"Object",stat:!0,forced:a},{getOwnPropertyNames:n})},67936:function(i,d,e){"use strict";var t=e(94488),r=e(42820),n=e(3338),a=e(92635),s=e(94029),u=!r||n(function(){a.f(1)});t({target:"Object",stat:!0,forced:u},{getOwnPropertySymbols:function(o){var f=a.f;return f?f(s(o)):[]}})},51082:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(94029),a=e(53456),s=e(4870),u=r(function(){a(1)});t({target:"Object",stat:!0,forced:u,sham:!s},{getPrototypeOf:function(o){return a(n(o))}})},83850:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(94237),a=e(63335),s=e(95955),u=e(17818),c=e(62003),o=r("Object","create"),f=n([].push);t({target:"Object",stat:!0},{groupBy:function(p,x){s(p),a(x);var g=o(null),P=0;return c(p,function(O){var S=u(x(O,P++));S in g?f(g[S],O):g[S]=[O]}),g}})},41990:function(i,d,e){"use strict";var t=e(94488),r=e(32621);t({target:"Object",stat:!0},{hasOwn:r})},55888:function(i,d,e){"use strict";var t=e(94488),r=e(12477);t({target:"Object",stat:!0,forced:Object.isExtensible!==r},{isExtensible:r})},53827:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),a=e(29076),s=e(51424),u=Object.isFrozen,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isFrozen:function(f){return!n(f)||s&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},78143:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(31946),a=e(29076),s=e(51424),u=Object.isSealed,c=s||r(function(){u(1)});t({target:"Object",stat:!0,forced:c},{isSealed:function(f){return!n(f)||s&&a(f)==="ArrayBuffer"?!0:u?u(f):!1}})},15787:function(i,d,e){"use strict";var t=e(94488),r=e(5370);t({target:"Object",stat:!0},{is:r})},66419:function(i,d,e){"use strict";var t=e(94488),r=e(94029),n=e(7733),a=e(3338),s=a(function(){n(1)});t({target:"Object",stat:!0,forced:s},{keys:function(c){return n(r(c))}})},75765:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupGetter__:function(f){var _=a(this),p=s(f),x;do if(x=c(_,p))return x.get;while(_=u(_))}})},14645:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(25837),a=e(94029),s=e(17818),u=e(53456),c=e(71256).f;r&&t({target:"Object",proto:!0,forced:n},{__lookupSetter__:function(f){var _=a(this),p=s(f),x;do if(x=c(_,p))return x.set;while(_=u(_))}})},71122:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,a=e(13247),s=e(3338),u=Object.preventExtensions,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!a},{preventExtensions:function(f){return u&&r(f)?u(n(f)):f}})},42084:function(i,d,e){"use strict";var t=e(35454),r=e(64110),n=e(31946),a=e(94029),s=e(95955),u=Object.getPrototypeOf,c=Object.setPrototypeOf,o=Object.prototype,f="__proto__";if(t&&u&&c&&!(f in o))try{r(o,f,{configurable:!0,get:function(){return u(a(this))},set:function(p){var x=s(this);!n(p)&&p!==null||!n(x)||c(x,p)}})}catch(_){}},25070:function(i,d,e){"use strict";var t=e(94488),r=e(31946),n=e(2074).onFreeze,a=e(13247),s=e(3338),u=Object.seal,c=s(function(){u(1)});t({target:"Object",stat:!0,forced:c,sham:!a},{seal:function(f){return u&&r(f)?u(n(f)):f}})},77140:function(i,d,e){"use strict";var t=e(94488),r=e(58218);t({target:"Object",stat:!0},{setPrototypeOf:r})},15954:function(i,d,e){"use strict";var t=e(68527),r=e(2291),n=e(28488);t||r(Object.prototype,"toString",n,{unsafe:!0})},4266:function(i,d,e){"use strict";var t=e(94488),r=e(88698).values;t({target:"Object",stat:!0},{values:function(a){return r(a)}})},49988:function(i,d,e){"use strict";var t=e(94488),r=e(31280);t({global:!0,forced:parseFloat!==r},{parseFloat:r})},38823:function(i,d,e){"use strict";var t=e(94488),r=e(52446);t({global:!0,forced:parseInt!==r},{parseInt:r})},4045:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{allSettled:function(f){var _=this,p=a.f(_),x=p.resolve,g=p.reject,P=s(function(){var O=n(_.resolve),S=[],I=0,E=1;u(f,function(A){var R=I++,T=!1;E++,r(O,_,A).then(function(D){T||(T=!0,S[R]={status:"fulfilled",value:D},--E||x(S))},function(D){T||(T=!0,S[R]={status:"rejected",reason:D},--E||x(S))})}),--E||x(S)});return P.error&&g(P.value),p.promise}})},12785:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{all:function(f){var _=this,p=a.f(_),x=p.resolve,g=p.reject,P=s(function(){var O=n(_.resolve),S=[],I=0,E=1;u(f,function(A){var R=I++,T=!1;E++,r(O,_,A).then(function(D){T||(T=!0,S[R]=D,--E||x(S))},g)}),--E||x(S)});return P.error&&g(P.value),p.promise}})},50747:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(65911),s=e(73446),u=e(80734),c=e(62003),o=e(22093),f="No one promise resolved";t({target:"Promise",stat:!0,forced:o},{any:function(p){var x=this,g=a("AggregateError"),P=s.f(x),O=P.resolve,S=P.reject,I=u(function(){var E=n(x.resolve),A=[],R=0,T=1,D=!1;c(p,function(M){var B=R++,j=!1;T++,r(E,x,M).then(function(V){j||D||(D=!0,O(V))},function(V){j||D||(j=!0,A[B]=V,--T||S(new g(A,f)))})}),--T||S(new g(A,f))});return I.error&&S(I.value),P.promise}})},41902:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(82830).CONSTRUCTOR,a=e(2451),s=e(65911),u=e(55327),c=e(2291),o=a&&a.prototype;if(t({target:"Promise",proto:!0,forced:n,real:!0},{catch:function(_){return this.then(void 0,_)}}),!r&&u(a)){var f=s("Promise").prototype.catch;o.catch!==f&&c(o,"catch",f,{unsafe:!0})}},90366:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(90946),a=e(92916),s=e(89945),u=e(2291),c=e(58218),o=e(94573),f=e(51996),_=e(63335),p=e(55327),x=e(31946),g=e(56472),P=e(60473),O=e(28887).set,S=e(72933),I=e(61810),E=e(80734),A=e(66790),R=e(94844),T=e(2451),D=e(82830),M=e(73446),B="Promise",j=D.CONSTRUCTOR,V=D.REJECTION_EVENT,H=D.SUBCLASSING,Y=R.getterFor(B),F=R.set,K=T&&T.prototype,X=T,Q=K,W=a.TypeError,N=a.document,J=a.process,k=M.f,Z=k,G=!!(N&&N.createEvent&&a.dispatchEvent),ee="unhandledrejection",ie="rejectionhandled",se=0,le=1,de=2,He=1,ze=2,st,vt,Je,Ke,Re=function(ke){var ye;return x(ke)&&p(ye=ke.then)?ye:!1},Ce=function(ke,ye){var fe=ye.value,Oe=ye.state===le,Ee=Oe?ke.ok:ke.fail,et=ke.resolve,mt=ke.reject,pe=ke.domain,ge,lt,Qe;try{Ee?(Oe||(ye.rejection===ze&&bt(ye),ye.rejection=He),Ee===!0?ge=fe:(pe&&pe.enter(),ge=Ee(fe),pe&&(pe.exit(),Qe=!0)),ge===ke.promise?mt(new W("Promise-chain cycle")):(lt=Re(ge))?s(lt,ge,et,mt):et(ge)):mt(fe)}catch(Ve){pe&&!Qe&&pe.exit(),mt(Ve)}},me=function(ke,ye){ke.notified||(ke.notified=!0,S(function(){for(var fe=ke.reactions,Oe;Oe=fe.get();)Ce(Oe,ke);ke.notified=!1,ye&&!ke.rejection&&ct(ke)}))},at=function(ke,ye,fe){var Oe,Ee;G?(Oe=N.createEvent("Event"),Oe.promise=ye,Oe.reason=fe,Oe.initEvent(ke,!1,!0),a.dispatchEvent(Oe)):Oe={promise:ye,reason:fe},!V&&(Ee=a["on"+ke])?Ee(Oe):ke===ee&&I("Unhandled promise rejection",fe)},ct=function(ke){s(O,a,function(){var ye=ke.facade,fe=ke.value,Oe=St(ke),Ee;if(Oe&&(Ee=E(function(){n?J.emit("unhandledRejection",fe,ye):at(ee,ye,fe)}),ke.rejection=n||St(ke)?ze:He,Ee.error))throw Ee.value})},St=function(ke){return ke.rejection!==He&&!ke.parent},bt=function(ke){s(O,a,function(){var ye=ke.facade;n?J.emit("rejectionHandled",ye):at(ie,ye,ke.value)})},Ie=function(ke,ye,fe){return function(Oe){ke(ye,Oe,fe)}},$e=function(ke,ye,fe){ke.done||(ke.done=!0,fe&&(ke=fe),ke.value=ye,ke.state=de,me(ke,!0))},ft=function(ke,ye,fe){if(!ke.done){ke.done=!0,fe&&(ke=fe);try{if(ke.facade===ye)throw new W("Promise can't be resolved itself");var Oe=Re(ye);Oe?S(function(){var Ee={done:!1};try{s(Oe,ye,Ie(ft,Ee,ke),Ie($e,Ee,ke))}catch(et){$e(Ee,et,ke)}}):(ke.value=ye,ke.state=le,me(ke,!1))}catch(Ee){$e({done:!1},Ee,ke)}}};if(j&&(X=function(ye){g(this,Q),_(ye),s(st,this);var fe=Y(this);try{ye(Ie(ft,fe),Ie($e,fe))}catch(Oe){$e(fe,Oe)}},Q=X.prototype,st=function(ye){F(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:se,value:void 0})},st.prototype=u(Q,"then",function(ye,fe){var Oe=Y(this),Ee=k(P(this,X));return Oe.parent=!0,Ee.ok=p(ye)?ye:!0,Ee.fail=p(fe)&&fe,Ee.domain=n?J.domain:void 0,Oe.state===se?Oe.reactions.add(Ee):S(function(){Ce(Ee,Oe)}),Ee.promise}),vt=function(){var ke=new st,ye=Y(ke);this.promise=ke,this.resolve=Ie(ft,ye),this.reject=Ie($e,ye)},M.f=k=function(ke){return ke===X||ke===Je?new vt(ke):Z(ke)},!r&&p(T)&&K!==Object.prototype)){Ke=K.then,H||u(K,"then",function(ye,fe){var Oe=this;return new X(function(Ee,et){s(Ke,Oe,Ee,et)}).then(ye,fe)},{unsafe:!0});try{delete K.constructor}catch(ke){}c&&c(K,Q)}t({global:!0,constructor:!0,wrap:!0,forced:j},{Promise:X}),o(X,B,!1,!0),f(B)},43595:function(i,d,e){"use strict";var t=e(94488),r=e(16697),n=e(2451),a=e(3338),s=e(65911),u=e(55327),c=e(60473),o=e(15597),f=e(2291),_=n&&n.prototype,p=!!n&&a(function(){_.finally.call({then:function(){}},function(){})});if(t({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(g){var P=c(this,s("Promise")),O=u(g);return this.then(O?function(S){return o(P,g()).then(function(){return S})}:g,O?function(S){return o(P,g()).then(function(){throw S})}:g)}}),!r&&u(n)){var x=s("Promise").prototype.finally;_.finally!==x&&f(_,"finally",x,{unsafe:!0})}},24627:function(i,d,e){"use strict";e(90366),e(12785),e(41902),e(20733),e(95693),e(81930)},20733:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(73446),s=e(80734),u=e(62003),c=e(22093);t({target:"Promise",stat:!0,forced:c},{race:function(f){var _=this,p=a.f(_),x=p.reject,g=s(function(){var P=n(_.resolve);u(f,function(O){r(P,_,O).then(p.resolve,x)})});return g.error&&x(g.value),p.promise}})},95693:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(73446),a=e(82830).CONSTRUCTOR;t({target:"Promise",stat:!0,forced:a},{reject:function(u){var c=n.f(this);return r(c.reject,void 0,u),c.promise}})},81930:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(16697),a=e(2451),s=e(82830).CONSTRUCTOR,u=e(15597),c=r("Promise"),o=n&&!s;t({target:"Promise",stat:!0,forced:n||s},{resolve:function(_){return u(o&&this===c?a:this,_)}})},92324:function(i,d,e){"use strict";var t=e(94488),r=e(73446);t({target:"Promise",stat:!0},{withResolvers:function(){var a=r.f(this);return{promise:a.promise,resolve:a.resolve,reject:a.reject}}})},23551:function(i,d,e){"use strict";var t=e(94488),r=e(13743),n=e(63335),a=e(80449),s=e(3338),u=!s(function(){Reflect.apply(function(){})});t({target:"Reflect",stat:!0,forced:u},{apply:function(o,f,_){return r(n(o),f,a(_))}})},74521:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(13743),a=e(4645),s=e(6086),u=e(80449),c=e(31946),o=e(20132),f=e(3338),_=r("Reflect","construct"),p=Object.prototype,x=[].push,g=f(function(){function S(){}return!(_(function(){},[],S)instanceof S)}),P=!f(function(){_(function(){})}),O=g||P;t({target:"Reflect",stat:!0,forced:O,sham:O},{construct:function(I,E){s(I),u(E);var A=arguments.length<3?I:s(arguments[2]);if(P&&!g)return _(I,E,A);if(I===A){switch(E.length){case 0:return new I;case 1:return new I(E[0]);case 2:return new I(E[0],E[1]);case 3:return new I(E[0],E[1],E[2]);case 4:return new I(E[0],E[1],E[2],E[3])}var R=[null];return n(x,R,E),new(n(a,I,R))}var T=A.prototype,D=o(c(T)?T:p),M=n(I,D,E);return c(M)?M:D}})},57891:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),a=e(17818),s=e(37691),u=e(3338),c=u(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});t({target:"Reflect",stat:!0,forced:c,sham:!r},{defineProperty:function(f,_,p){n(f);var x=a(_);n(p);try{return s.f(f,x,p),!0}catch(g){return!1}}})},84138:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(71256).f;t({target:"Reflect",stat:!0},{deleteProperty:function(s,u){var c=n(r(s),u);return c&&!c.configurable?!1:delete s[u]}})},37135:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(80449),a=e(71256);t({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(u,c){return a.f(n(u),c)}})},6474:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(53456),a=e(4870);t({target:"Reflect",stat:!0,sham:!a},{getPrototypeOf:function(u){return n(r(u))}})},51832:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(31946),a=e(80449),s=e(60516),u=e(71256),c=e(53456);function o(f,_){var p=arguments.length<3?f:arguments[2],x,g;if(a(f)===p)return f[_];if(x=u.f(f,_),x)return s(x)?x.value:x.get===void 0?void 0:r(x.get,p);if(n(g=c(f)))return o(g,_,p)}t({target:"Reflect",stat:!0},{get:o})},40135:function(i,d,e){"use strict";var t=e(94488);t({target:"Reflect",stat:!0},{has:function(n,a){return a in n}})},7982:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(12477);t({target:"Reflect",stat:!0},{isExtensible:function(s){return r(s),n(s)}})},14893:function(i,d,e){"use strict";var t=e(94488),r=e(48662);t({target:"Reflect",stat:!0},{ownKeys:r})},49233:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(80449),a=e(13247);t({target:"Reflect",stat:!0,sham:!a},{preventExtensions:function(u){n(u);try{var c=r("Object","preventExtensions");return c&&c(u),!0}catch(o){return!1}}})},42844:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(557),a=e(58218);a&&t({target:"Reflect",stat:!0},{setPrototypeOf:function(u,c){r(u),n(c);try{return a(u,c),!0}catch(o){return!1}}})},92130:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(31946),s=e(60516),u=e(3338),c=e(37691),o=e(71256),f=e(53456),_=e(35012);function p(g,P,O){var S=arguments.length<4?g:arguments[3],I=o.f(n(g),P),E,A,R;if(!I){if(a(A=f(g)))return p(A,P,O,S);I=_(0)}if(s(I)){if(I.writable===!1||!a(S))return!1;if(E=o.f(S,P)){if(E.get||E.set||E.writable===!1)return!1;E.value=O,c.f(S,P,E)}else c.f(S,P,_(0,O))}else{if(R=I.set,R===void 0)return!1;r(R,S,O)}return!0}var x=u(function(){var g=function(){},P=c.f(new g,"a",{configurable:!0});return Reflect.set(g.prototype,"a",1,P)!==!1});t({target:"Reflect",stat:!0,forced:x},{set:p})},6536:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94573);t({global:!0},{Reflect:{}}),n(r.Reflect,"Reflect",!0)},27228:function(i,d,e){"use strict";var t=e(35454),r=e(92916),n=e(94237),a=e(20865),s=e(25576),u=e(68151),c=e(20132),o=e(80689).f,f=e(16332),_=e(44639),p=e(69905),x=e(81644),g=e(19286),P=e(44166),O=e(2291),S=e(3338),I=e(32621),E=e(94844).enforce,A=e(51996),R=e(59893),T=e(6041),D=e(51224),M=R("match"),B=r.RegExp,j=B.prototype,V=r.SyntaxError,H=n(j.exec),Y=n("".charAt),F=n("".replace),K=n("".indexOf),X=n("".slice),Q=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,W=/a/g,N=/a/g,J=new B(W)!==W,k=g.MISSED_STICKY,Z=g.UNSUPPORTED_Y,G=t&&(!J||k||T||D||S(function(){return N[M]=!1,B(W)!==W||B(N)===N||String(B(W,"i"))!=="/a/i"})),ee=function(He){for(var ze=He.length,st=0,vt="",Je=!1,Ke;st<=ze;st++){if(Ke=Y(He,st),Ke==="\\"){vt+=Ke+Y(He,++st);continue}!Je&&Ke==="."?vt+="[\\s\\S]":(Ke==="["?Je=!0:Ke==="]"&&(Je=!1),vt+=Ke)}return vt},ie=function(He){for(var ze=He.length,st=0,vt="",Je=[],Ke=c(null),Re=!1,Ce=!1,me=0,at="",ct;st<=ze;st++){if(ct=Y(He,st),ct==="\\")ct+=Y(He,++st);else if(ct==="]")Re=!1;else if(!Re)switch(!0){case ct==="[":Re=!0;break;case ct==="(":H(Q,X(He,st+1))&&(st+=2,Ce=!0),vt+=ct,me++;continue;case(ct===">"&&Ce):if(at===""||I(Ke,at))throw new V("Invalid capture group name");Ke[at]=!0,Je[Je.length]=[at,me],Ce=!1,at="";continue}Ce?at+=ct:vt+=ct}return[vt,Je]};if(a("RegExp",G)){for(var se=function(ze,st){var vt=f(j,this),Je=_(ze),Ke=st===void 0,Re=[],Ce=ze,me,at,ct,St,bt,Ie;if(!vt&&Je&&Ke&&ze.constructor===se)return ze;if((Je||f(j,ze))&&(ze=ze.source,Ke&&(st=x(Ce))),ze=ze===void 0?"":p(ze),st=st===void 0?"":p(st),Ce=ze,T&&"dotAll"in W&&(at=!!st&&K(st,"s")>-1,at&&(st=F(st,/s/g,""))),me=st,k&&"sticky"in W&&(ct=!!st&&K(st,"y")>-1,ct&&Z&&(st=F(st,/y/g,""))),D&&(St=ie(ze),ze=St[0],Re=St[1]),bt=s(B(ze,st),vt?this:j,se),(at||ct||Re.length)&&(Ie=E(bt),at&&(Ie.dotAll=!0,Ie.raw=se(ee(ze),me)),ct&&(Ie.sticky=!0),Re.length&&(Ie.groups=Re)),ze!==Ce)try{u(bt,"source",Ce===""?"(?:)":Ce)}catch($e){}return bt},le=o(B),de=0;le.length>de;)P(se,B,le[de++]);j.constructor=se,se.prototype=j,O(r,"RegExp",se,{constructor:!0})}A("RegExp")},62921:function(i,d,e){"use strict";var t=e(35454),r=e(6041),n=e(29076),a=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&a(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},44001:function(i,d,e){"use strict";var t=e(94488),r=e(88736);t({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92262:function(i,d,e){"use strict";var t=e(92916),r=e(35454),n=e(64110),a=e(82163),s=e(3338),u=t.RegExp,c=u.prototype,o=r&&s(function(){var f=!0;try{u(".","d")}catch(I){f=!1}var _={},p="",x=f?"dgimsy":"gimsy",g=function(I,E){Object.defineProperty(_,I,{get:function(){return p+=E,!0}})},P={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};f&&(P.hasIndices="d");for(var O in P)g(O,P[O]);var S=Object.getOwnPropertyDescriptor(c,"flags").get.call(_);return S!==x||p!==x});o&&n(c,"flags",{configurable:!0,get:a})},54744:function(i,d,e){"use strict";var t=e(35454),r=e(19286).MISSED_STICKY,n=e(29076),a=e(64110),s=e(94844).get,u=RegExp.prototype,c=TypeError;t&&r&&a(u,"sticky",{configurable:!0,get:function(){if(this!==u){if(n(this)==="RegExp")return!!s(this).sticky;throw new c("Incompatible receiver, RegExp required")}}})},38214:function(i,d,e){"use strict";e(44001);var t=e(94488),r=e(89945),n=e(55327),a=e(80449),s=e(69905),u=function(){var o=!1,f=/[ac]/;return f.exec=function(){return o=!0,/./.exec.apply(this,arguments)},f.test("abc")===!0&&o}(),c=/./.test;t({target:"RegExp",proto:!0,forced:!u},{test:function(o){var f=a(this),_=s(o),p=f.exec;if(!n(p))return r(c,f,_);var x=r(p,f,_);return x===null?!1:(a(x),!0)}})},12756:function(i,d,e){"use strict";var t=e(8090).PROPER,r=e(2291),n=e(80449),a=e(69905),s=e(3338),u=e(81644),c="toString",o=RegExp.prototype,f=o[c],_=s(function(){return f.call({source:"a",flags:"b"})!=="/a/b"}),p=t&&f.name!==c;(_||p)&&r(RegExp.prototype,c,function(){var g=n(this),P=a(g.source),O=a(u(g));return"/"+P+"/"+O},{unsafe:!0})},69772:function(i,d,e){"use strict";var t=e(48059),r=e(40942);t("Set",function(n){return function(){return n(this,arguments.length?arguments[0]:void 0)}},r)},93379:function(i,d,e){"use strict";e(69772)},34932:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("anchor")},{anchor:function(s){return r(this,"a","name",s)}})},62007:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(56902),s=e(69905),u=e(3338),c=r("".charAt),o=u(function(){return"\u{20BB7}".at(-2)!=="\uD842"});t({target:"String",proto:!0,forced:o},{at:function(_){var p=s(n(this)),x=p.length,g=a(_),P=g>=0?g:x+g;return P<0||P>=x?void 0:c(p,P)}})},81046:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("big")},{big:function(){return r(this,"big","","")}})},85744:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("blink")},{blink:function(){return r(this,"blink","","")}})},13494:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("bold")},{bold:function(){return r(this,"b","","")}})},90572:function(i,d,e){"use strict";var t=e(94488),r=e(13764).codeAt;t({target:"String",proto:!0},{codePointAt:function(a){return r(this,a)}})},37343:function(i,d,e){"use strict";var t=e(94488),r=e(34114),n=e(71256).f,a=e(61578),s=e(69905),u=e(41696),c=e(95955),o=e(86266),f=e(16697),_=r("".endsWith),p=r("".slice),x=Math.min,g=o("endsWith"),P=!f&&!g&&!!function(){var O=n(String.prototype,"endsWith");return O&&!O.writable}();t({target:"String",proto:!0,forced:!P&&!g},{endsWith:function(S){var I=s(c(this));u(S);var E=arguments.length>1?arguments[1]:void 0,A=I.length,R=E===void 0?A:x(a(E),A),T=s(S);return _?_(I,T,R):p(I,R-T.length,R)===T}})},56338:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fixed")},{fixed:function(){return r(this,"tt","","")}})},66755:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontcolor")},{fontcolor:function(s){return r(this,"font","color",s)}})},68709:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("fontsize")},{fontsize:function(s){return r(this,"font","size",s)}})},45945:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(51981),a=RangeError,s=String.fromCharCode,u=String.fromCodePoint,c=r([].join),o=!!u&&u.length!==1;t({target:"String",stat:!0,arity:1,forced:o},{fromCodePoint:function(_){for(var p=[],x=arguments.length,g=0,P;x>g;){if(P=+arguments[g++],n(P,1114111)!==P)throw new a(P+" is not a valid code point");p[g]=P<65536?s(P):s(((P-=65536)>>10)+55296,P%1024+56320)}return c(p,"")}})},75551:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(41696),a=e(95955),s=e(69905),u=e(86266),c=r("".indexOf);t({target:"String",proto:!0,forced:!u("includes")},{includes:function(f){return!!~c(s(a(this)),s(n(f)),arguments.length>1?arguments[1]:void 0)}})},32493:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(69905),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var c=a(n(this)),o=c.length,f=0;f=56320||++f>=o||(s(c,f)&64512)!==56320))return!1}return!0}})},4939:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("italics")},{italics:function(){return r(this,"i","","")}})},20852:function(i,d,e){"use strict";var t=e(13764).charAt,r=e(69905),n=e(94844),a=e(24019),s=e(25587),u="String Iterator",c=n.set,o=n.getterFor(u);a(String,"String",function(f){c(this,{type:u,string:r(f),index:0})},function(){var _=o(this),p=_.string,x=_.index,g;return x>=p.length?s(void 0,!0):(g=t(p,x),_.index+=g.length,s(g,!1))})},81927:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("link")},{link:function(s){return r(this,"a","href",s)}})},18827:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(34114),a=e(83126),s=e(25587),u=e(95955),c=e(61578),o=e(69905),f=e(80449),_=e(4112),p=e(29076),x=e(44639),g=e(81644),P=e(53776),O=e(2291),S=e(3338),I=e(59893),E=e(60473),A=e(52216),R=e(94338),T=e(94844),D=e(16697),M=I("matchAll"),B="RegExp String",j=B+" Iterator",V=T.set,H=T.getterFor(j),Y=RegExp.prototype,F=TypeError,K=n("".indexOf),X=n("".matchAll),Q=!!X&&!S(function(){X("a",/./)}),W=a(function(k,Z,G,ee){V(this,{type:j,regexp:k,string:Z,global:G,unicode:ee,done:!1})},B,function(){var k=H(this);if(k.done)return s(void 0,!0);var Z=k.regexp,G=k.string,ee=R(Z,G);return ee===null?(k.done=!0,s(void 0,!0)):k.global?(o(ee[0])===""&&(Z.lastIndex=A(G,c(Z.lastIndex),k.unicode)),s(ee,!1)):(k.done=!0,s(ee,!1))}),N=function(J){var k=f(this),Z=o(J),G=E(k,RegExp),ee=o(g(k)),ie,se,le;return ie=new G(G===RegExp?k.source:k,ee),se=!!~K(ee,"g"),le=!!~K(ee,"u"),ie.lastIndex=c(k.lastIndex),new W(ie,Z,se,le)};t({target:"String",proto:!0,forced:Q},{matchAll:function(k){var Z=u(this),G,ee,ie,se;if(_(k)){if(Q)return X(Z,k)}else{if(x(k)&&(G=o(u(g(k))),!~K(G,"g")))throw new F("`.matchAll` does not allow non-global regexes");if(Q)return X(Z,k);if(ie=P(k,M),ie===void 0&&D&&p(k)==="RegExp"&&(ie=N),ie)return r(ie,k,Z)}return ee=o(Z),se=new RegExp(k,"g"),D?r(N,se,ee):se[M](ee)}}),D||M in Y||O(Y,M,N)},46302:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),a=e(4112),s=e(61578),u=e(69905),c=e(95955),o=e(53776),f=e(52216),_=e(94338);r("match",function(p,x,g){return[function(O){var S=c(this),I=a(O)?void 0:o(O,p);return I?t(I,O,S):new RegExp(O)[p](u(S))},function(P){var O=n(this),S=u(P),I=g(x,O,S);if(I.done)return I.value;if(!O.global)return _(O,S);var E=O.unicode;O.lastIndex=0;for(var A=[],R=0,T;(T=_(O,S))!==null;){var D=u(T[0]);A[R]=D,D===""&&(O.lastIndex=f(S,s(O.lastIndex),E)),R++}return R===0?null:A}]})},76718:function(i,d,e){"use strict";var t=e(94488),r=e(85571).end,n=e(98352);t({target:"String",proto:!0,forced:n},{padEnd:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},79172:function(i,d,e){"use strict";var t=e(94488),r=e(85571).start,n=e(98352);t({target:"String",proto:!0,forced:n},{padStart:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}})},32192:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(80524),a=e(94029),s=e(69905),u=e(82762),c=r([].push),o=r([].join);t({target:"String",stat:!0},{raw:function(_){var p=n(a(_).raw),x=u(p);if(!x)return"";for(var g=arguments.length,P=[],O=0;;){if(c(P,s(p[O++])),O===x)return o(P,"");OT.length?-1:D===""?M:S(T,D,M)};t({target:"String",proto:!0},{replaceAll:function(D,M){var B=a(this),j,V,H,Y,F,K,X,Q,W,N=0,J=0,k="";if(!u(D)){if(j=c(D),j&&(V=o(a(_(D))),!~S(V,"g")))throw new O("`.replaceAll` does not allow non-global regexes");if(H=f(D,P),H)return r(H,D,B,M);if(g&&j)return I(o(B),D,M)}for(Y=o(B),F=o(D),K=s(M),K||(M=o(M)),X=F.length,Q=A(1,X),N=R(Y,F,0);N!==-1;)W=K?o(M(F,N,Y)):p(F,Y,N,[],void 0,M),k+=E(Y,J,N)+W,J=N+X,N=R(Y,F,N+Q);return J")!=="7"});a("replace",function(F,K,X){var Q=H?"$":"$0";return[function(N,J){var k=x(this),Z=o(N)?void 0:P(N,E);return Z?r(Z,N,k,J):r(K,p(k),N,J)},function(W,N){var J=u(this),k=p(W);if(typeof N=="string"&&M(N,Q)===-1&&M(N,"$<")===-1){var Z=X(K,J,k,N);if(Z.done)return Z.value}var G=c(N);G||(N=p(N));var ee=J.global,ie;ee&&(ie=J.unicode,J.lastIndex=0);for(var se=[],le;le=S(J,k),!(le===null||(D(se,le),!ee));){var de=p(le[0]);de===""&&(J.lastIndex=g(k,_(J.lastIndex),ie))}for(var He="",ze=0,st=0;st=ze&&(He+=B(k,ze,Je)+Re,ze=Je+vt.length)}return He+B(k,ze)}]},!Y||!V||H)},62925:function(i,d,e){"use strict";var t=e(89945),r=e(8662),n=e(80449),a=e(4112),s=e(95955),u=e(5370),c=e(69905),o=e(53776),f=e(94338);r("search",function(_,p,x){return[function(P){var O=s(this),S=a(P)?void 0:o(P,_);return S?t(S,P,O):new RegExp(P)[_](c(O))},function(g){var P=n(this),O=c(g),S=x(p,P,O);if(S.done)return S.value;var I=P.lastIndex;u(I,0)||(P.lastIndex=0);var E=f(P,O);return u(P.lastIndex,I)||(P.lastIndex=I),E===null?-1:E.index}]})},60462:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("small")},{small:function(){return r(this,"small","","")}})},9595:function(i,d,e){"use strict";var t=e(13743),r=e(89945),n=e(94237),a=e(8662),s=e(80449),u=e(4112),c=e(44639),o=e(95955),f=e(60473),_=e(52216),p=e(61578),x=e(69905),g=e(53776),P=e(71698),O=e(94338),S=e(88736),I=e(19286),E=e(3338),A=I.UNSUPPORTED_Y,R=4294967295,T=Math.min,D=[].push,M=n(/./.exec),B=n(D),j=n("".slice),V=!E(function(){var H=/(?:)/,Y=H.exec;H.exec=function(){return Y.apply(this,arguments)};var F="ab".split(H);return F.length!==2||F[0]!=="a"||F[1]!=="b"});a("split",function(H,Y,F){var K;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?K=function(X,Q){var W=x(o(this)),N=Q===void 0?R:Q>>>0;if(N===0)return[];if(X===void 0)return[W];if(!c(X))return r(Y,W,X,N);for(var J=[],k=(X.ignoreCase?"i":"")+(X.multiline?"m":"")+(X.unicode?"u":"")+(X.sticky?"y":""),Z=0,G=new RegExp(X.source,k+"g"),ee,ie,se;(ee=r(S,G,W))&&(ie=G.lastIndex,!(ie>Z&&(B(J,j(W,Z,ee.index)),ee.length>1&&ee.index=N)));)G.lastIndex===ee.index&&G.lastIndex++;return Z===W.length?(se||!M(G,""))&&B(J,""):B(J,j(W,Z)),J.length>N?P(J,0,N):J}:"0".split(void 0,0).length?K=function(X,Q){return X===void 0&&Q===0?[]:r(Y,this,X,Q)}:K=Y,[function(Q,W){var N=o(this),J=u(Q)?void 0:g(Q,H);return J?r(J,Q,N,W):r(K,x(N),Q,W)},function(X,Q){var W=s(this),N=x(X),J=F(K,W,N,Q,K!==Y);if(J.done)return J.value;var k=f(W,RegExp),Z=W.unicode,G=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(A?"g":"y"),ee=new k(A?"^(?:"+W.source+")":W,G),ie=Q===void 0?R:Q>>>0;if(ie===0)return[];if(N.length===0)return O(ee,N)===null?[N]:[];for(var se=0,le=0,de=[];le1?arguments[1]:void 0,I.length)),A=s(S);return _?_(I,A,E):p(I,E,E+A.length)===A}})},72571:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("strike")},{strike:function(){return r(this,"strike","","")}})},71200:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sub")},{sub:function(){return r(this,"sub","","")}})},70917:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(95955),a=e(56902),s=e(69905),u=r("".slice),c=Math.max,o=Math.min,f=!"".substr||"ab".substr(-1)!=="b";t({target:"String",proto:!0,forced:f},{substr:function(p,x){var g=s(n(this)),P=g.length,O=a(p),S,I;return O===1/0&&(O=0),O<0&&(O=c(P+O,0)),S=x===void 0?P:a(x),S<=0||S===1/0?"":(I=o(O+S,P),O>=I?"":u(g,O,I))}})},85767:function(i,d,e){"use strict";var t=e(94488),r=e(95994),n=e(17691);t({target:"String",proto:!0,forced:n("sup")},{sup:function(){return r(this,"sup","","")}})},53427:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94237),a=e(95955),s=e(69905),u=e(3338),c=Array,o=n("".charAt),f=n("".charCodeAt),_=n([].join),p="".toWellFormed,x="\uFFFD",g=p&&u(function(){return r(p,1)!=="1"});t({target:"String",proto:!0,forced:g},{toWellFormed:function(){var O=s(a(this));if(g)return r(p,O);for(var S=O.length,I=c(S),E=0;E=56320||E+1>=S||(f(O,E+1)&64512)!==56320?I[E]=x:(I[E]=o(O,E),I[++E]=o(O,E))}return _(I,"")}})},49257:function(i,d,e){"use strict";e(20189);var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},93980:function(i,d,e){"use strict";var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},20189:function(i,d,e){"use strict";var t=e(94488),r=e(9591);t({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==r},{trimRight:r})},72910:function(i,d,e){"use strict";e(93980);var t=e(94488),r=e(27374);t({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==r},{trimStart:r})},70878:function(i,d,e){"use strict";var t=e(94488),r=e(52971).trim,n=e(18105);t({target:"String",proto:!0,forced:n("trim")},{trim:function(){return r(this)}})},64003:function(i,d,e){"use strict";var t=e(94674);t("asyncIterator")},39161:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(89945),a=e(94237),s=e(16697),u=e(35454),c=e(42820),o=e(3338),f=e(32621),_=e(16332),p=e(80449),x=e(80524),g=e(17818),P=e(69905),O=e(35012),S=e(20132),I=e(7733),E=e(80689),A=e(53393),R=e(92635),T=e(71256),D=e(37691),M=e(55666),B=e(27597),j=e(2291),V=e(64110),H=e(77898),Y=e(11898),F=e(54406),K=e(6145),X=e(59893),Q=e(38282),W=e(94674),N=e(14311),J=e(94573),k=e(94844),Z=e(90560).forEach,G=Y("hidden"),ee="Symbol",ie="prototype",se=k.set,le=k.getterFor(ee),de=Object[ie],He=r.Symbol,ze=He&&He[ie],st=r.RangeError,vt=r.TypeError,Je=r.QObject,Ke=T.f,Re=D.f,Ce=A.f,me=B.f,at=a([].push),ct=H("symbols"),St=H("op-symbols"),bt=H("wks"),Ie=!Je||!Je[ie]||!Je[ie].findChild,$e=function(ge,lt,Qe){var Ve=Ke(de,lt);Ve&&delete de[lt],Re(ge,lt,Qe),Ve&&ge!==de&&Re(de,lt,Ve)},ft=u&&o(function(){return S(Re({},"a",{get:function(){return Re(this,"a",{value:7}).a}})).a!==7})?$e:Re,ke=function(ge,lt){var Qe=ct[ge]=S(ze);return se(Qe,{type:ee,tag:ge,description:lt}),u||(Qe.description=lt),Qe},ye=function(lt,Qe,Ve){lt===de&&ye(St,Qe,Ve),p(lt);var it=g(Qe);return p(Ve),f(ct,it)?(Ve.enumerable?(f(lt,G)&<[G][it]&&(lt[G][it]=!1),Ve=S(Ve,{enumerable:O(0,!1)})):(f(lt,G)||Re(lt,G,O(1,{})),lt[G][it]=!0),ft(lt,it,Ve)):Re(lt,it,Ve)},fe=function(lt,Qe){p(lt);var Ve=x(Qe),it=I(Ve).concat(pe(Ve));return Z(it,function(Dt){(!u||n(Ee,Ve,Dt))&&ye(lt,Dt,Ve[Dt])}),lt},Oe=function(lt,Qe){return Qe===void 0?S(lt):fe(S(lt),Qe)},Ee=function(lt){var Qe=g(lt),Ve=n(me,this,Qe);return this===de&&f(ct,Qe)&&!f(St,Qe)?!1:Ve||!f(this,Qe)||!f(ct,Qe)||f(this,G)&&this[G][Qe]?Ve:!0},et=function(lt,Qe){var Ve=x(lt),it=g(Qe);if(!(Ve===de&&f(ct,it)&&!f(St,it))){var Dt=Ke(Ve,it);return Dt&&f(ct,it)&&!(f(Ve,G)&&Ve[G][it])&&(Dt.enumerable=!0),Dt}},mt=function(lt){var Qe=Ce(x(lt)),Ve=[];return Z(Qe,function(it){!f(ct,it)&&!f(F,it)&&at(Ve,it)}),Ve},pe=function(ge){var lt=ge===de,Qe=Ce(lt?St:x(ge)),Ve=[];return Z(Qe,function(it){f(ct,it)&&(!lt||f(de,it))&&at(Ve,ct[it])}),Ve};c||(He=function(){if(_(ze,this))throw new vt("Symbol is not a constructor");var lt=!arguments.length||arguments[0]===void 0?void 0:P(arguments[0]),Qe=K(lt),Ve=function(it){var Dt=this===void 0?r:this;Dt===de&&n(Ve,St,it),f(Dt,G)&&f(Dt[G],Qe)&&(Dt[G][Qe]=!1);var Yt=O(1,it);try{ft(Dt,Qe,Yt)}catch(Se){if(!(Se instanceof st))throw Se;$e(Dt,Qe,Yt)}};return u&&Ie&&ft(de,Qe,{configurable:!0,set:Ve}),ke(Qe,lt)},ze=He[ie],j(ze,"toString",function(){return le(this).tag}),j(He,"withoutSetter",function(ge){return ke(K(ge),ge)}),B.f=Ee,D.f=ye,M.f=fe,T.f=et,E.f=A.f=mt,R.f=pe,Q.f=function(ge){return ke(X(ge),ge)},u&&(V(ze,"description",{configurable:!0,get:function(){return le(this).description}}),s||j(de,"propertyIsEnumerable",Ee,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:He}),Z(I(bt),function(ge){W(ge)}),t({target:ee,stat:!0,forced:!c},{useSetter:function(){Ie=!0},useSimple:function(){Ie=!1}}),t({target:"Object",stat:!0,forced:!c,sham:!u},{create:Oe,defineProperty:ye,defineProperties:fe,getOwnPropertyDescriptor:et}),t({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:mt}),N(),J(He,ee),F[G]=!0},44852:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),a=e(94237),s=e(32621),u=e(55327),c=e(16332),o=e(69905),f=e(64110),_=e(24538),p=n.Symbol,x=p&&p.prototype;if(r&&u(p)&&(!("description"in x)||p().description!==void 0)){var g={},P=function(){var D=arguments.length<1||arguments[0]===void 0?void 0:o(arguments[0]),M=c(x,this)?new p(D):D===void 0?p():p(D);return D===""&&(g[M]=!0),M};_(P,p),P.prototype=x,x.constructor=P;var O=String(p("description detection"))==="Symbol(description detection)",S=a(x.valueOf),I=a(x.toString),E=/^Symbol\((.*)\)[^)]+$/,A=a("".replace),R=a("".slice);f(x,"description",{configurable:!0,get:function(){var D=S(this);if(s(g,D))return"";var M=I(D),B=O?R(M,7,-1):A(M,E,"$1");return B===""?void 0:B}}),t({global:!0,constructor:!0,forced:!0},{Symbol:P})}},54524:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(32621),a=e(69905),s=e(77898),u=e(60798),c=s("string-to-symbol-registry"),o=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{for:function(f){var _=a(f);if(n(c,_))return c[_];var p=r("Symbol")(_);return c[_]=p,o[p]=_,p}})},17898:function(i,d,e){"use strict";var t=e(94674);t("hasInstance")},40902:function(i,d,e){"use strict";var t=e(94674);t("isConcatSpreadable")},2259:function(i,d,e){"use strict";var t=e(94674);t("iterator")},68557:function(i,d,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(i,d,e){"use strict";var t=e(94488),r=e(32621),n=e(18446),a=e(40593),s=e(77898),u=e(60798),c=s("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!u},{keyFor:function(f){if(!n(f))throw new TypeError(a(f)+" is not a symbol");if(r(c,f))return c[f]}})},69811:function(i,d,e){"use strict";var t=e(94674);t("matchAll")},14589:function(i,d,e){"use strict";var t=e(94674);t("match")},18114:function(i,d,e){"use strict";var t=e(94674);t("replace")},23844:function(i,d,e){"use strict";var t=e(94674);t("search")},39581:function(i,d,e){"use strict";var t=e(94674);t("species")},40632:function(i,d,e){"use strict";var t=e(94674);t("split")},22690:function(i,d,e){"use strict";var t=e(94674),r=e(14311);t("toPrimitive"),r()},7786:function(i,d,e){"use strict";var t=e(65911),r=e(94674),n=e(94573);r("toStringTag"),n(t("Symbol"),"Symbol")},99062:function(i,d,e){"use strict";var t=e(94674);t("unscopables")},35246:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(56902),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(c){var o=a(this),f=r(o),_=n(c),p=_>=0?_:f+_;return p<0||p>=f?void 0:o[p]})},83470:function(i,d,e){"use strict";var t=e(94237),r=e(58261),n=e(92670),a=t(n),s=r.aTypedArray,u=r.exportTypedArrayMethod;u("copyWithin",function(o,f){return a(s(this),o,f,arguments.length>2?arguments[2]:void 0)})},79641:function(i,d,e){"use strict";var t=e(58261),r=e(90560).every,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("every",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},72397:function(i,d,e){"use strict";var t=e(58261),r=e(75202),n=e(93303),a=e(97607),s=e(89945),u=e(94237),c=e(3338),o=t.aTypedArray,f=t.exportTypedArrayMethod,_=u("".slice),p=c(function(){var x=0;return new Int8Array(2).fill({valueOf:function(){return x++}}),x!==1});f("fill",function(g){var P=arguments.length;o(this);var O=_(a(this),0,3)==="Big"?n(g):+g;return s(r,this,O,P>1?arguments[1]:void 0,P>2?arguments[2]:void 0)},p)},24860:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filter,n=e(27607),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filter",function(c){var o=r(a(this),c,arguments.length>1?arguments[1]:void 0);return n(this,o)})},56233:function(i,d,e){"use strict";var t=e(58261),r=e(90560).findIndex,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},64344:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLastIndex,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},59419:function(i,d,e){"use strict";var t=e(58261),r=e(53279).findLast,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},19320:function(i,d,e){"use strict";var t=e(58261),r=e(90560).find,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("find",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},84432:function(i,d,e){"use strict";var t=e(69733);t("Float32",function(r){return function(a,s,u){return r(this,a,s,u)}})},59022:function(i,d,e){"use strict";var t=e(69733);t("Float64",function(r){return function(a,s,u){return r(this,a,s,u)}})},5316:function(i,d,e){"use strict";var t=e(58261),r=e(90560).forEach,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("forEach",function(u){r(n(this),u,arguments.length>1?arguments[1]:void 0)})},93744:function(i,d,e){"use strict";var t=e(59627),r=e(58261).exportTypedArrayStaticMethod,n=e(50706);r("from",n,t)},19299:function(i,d,e){"use strict";var t=e(58261),r=e(22999).includes,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("includes",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},15286:function(i,d,e){"use strict";var t=e(58261),r=e(22999).indexOf,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("indexOf",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},51054:function(i,d,e){"use strict";var t=e(69733);t("Int16",function(r){return function(a,s,u){return r(this,a,s,u)}})},60330:function(i,d,e){"use strict";var t=e(69733);t("Int32",function(r){return function(a,s,u){return r(this,a,s,u)}})},19363:function(i,d,e){"use strict";var t=e(69733);t("Int8",function(r){return function(a,s,u){return r(this,a,s,u)}})},91927:function(i,d,e){"use strict";var t=e(92916),r=e(3338),n=e(94237),a=e(58261),s=e(11005),u=e(59893),c=u("iterator"),o=t.Uint8Array,f=n(s.values),_=n(s.keys),p=n(s.entries),x=a.aTypedArray,g=a.exportTypedArrayMethod,P=o&&o.prototype,O=!r(function(){P[c].call([1])}),S=!!P&&P.values&&P[c]===P.values&&P.values.name==="values",I=function(){return f(x(this))};g("entries",function(){return p(x(this))},O),g("keys",function(){return _(x(this))},O),g("values",I,O||!S,{name:"values"}),g(c,I,O||!S,{name:"values"})},27730:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=t.aTypedArray,a=t.exportTypedArrayMethod,s=r([].join);a("join",function(c){return s(n(this),c)})},58707:function(i,d,e){"use strict";var t=e(58261),r=e(13743),n=e(55009),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("lastIndexOf",function(c){var o=arguments.length;return r(n,a(this),o>1?[c,arguments[1]]:[c])})},41356:function(i,d,e){"use strict";var t=e(58261),r=e(90560).map,n=e(31384),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("map",function(c){return r(a(this),c,arguments.length>1?arguments[1]:void 0,function(o,f){return new(n(o))(f)})})},51606:function(i,d,e){"use strict";var t=e(58261),r=e(59627),n=t.aTypedArrayConstructor,a=t.exportTypedArrayStaticMethod;a("of",function(){for(var u=0,c=arguments.length,o=new(n(this))(c);c>u;)o[u]=arguments[u++];return o},r)},38458:function(i,d,e){"use strict";var t=e(58261),r=e(16370).right,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("reduceRight",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},8966:function(i,d,e){"use strict";var t=e(58261),r=e(16370).left,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("reduce",function(u){var c=arguments.length;return r(n(this),u,c,c>1?arguments[1]:void 0)})},71957:function(i,d,e){"use strict";var t=e(58261),r=t.aTypedArray,n=t.exportTypedArrayMethod,a=Math.floor;n("reverse",function(){for(var u=this,c=r(u).length,o=a(c/2),f=0,_;f1?arguments[1]:void 0,1),A=u(I);if(P)return r(p,this,A,E);var R=this.length,T=a(A),D=0;if(T+E>R)throw new o("Wrong length");for(;Dg;)O[g]=p[g++];return O},c)},96519:function(i,d,e){"use strict";var t=e(58261),r=e(90560).some,n=t.aTypedArray,a=t.exportTypedArrayMethod;a("some",function(u){return r(n(this),u,arguments.length>1?arguments[1]:void 0)})},95576:function(i,d,e){"use strict";var t=e(92916),r=e(34114),n=e(3338),a=e(63335),s=e(63668),u=e(58261),c=e(78177),o=e(17687),f=e(46573),_=e(19684),p=u.aTypedArray,x=u.exportTypedArrayMethod,g=t.Uint16Array,P=g&&r(g.prototype.sort),O=!!P&&!(n(function(){P(new g(2),null)})&&n(function(){P(new g(2),{})})),S=!!P&&!n(function(){if(f)return f<74;if(c)return c<67;if(o)return!0;if(_)return _<602;var E=new g(516),A=Array(516),R,T;for(R=0;R<516;R++)T=R%4,E[R]=515-R,A[R]=R-2*T+3;for(P(E,function(D,M){return(D/4|0)-(M/4|0)}),R=0;R<516;R++)if(E[R]!==A[R])return!0}),I=function(E){return function(A,R){return E!==void 0?+E(A,R)||0:R!==R?-1:A!==A?1:A===0&&R===0?1/A>0&&1/R<0?1:-1:A>R}};x("sort",function(A){return A!==void 0&&a(A),S?P(this,A):s(p(this),I(A))},!S||O)},63079:function(i,d,e){"use strict";var t=e(58261),r=e(61578),n=e(51981),a=e(31384),s=t.aTypedArray,u=t.exportTypedArrayMethod;u("subarray",function(o,f){var _=s(this),p=_.length,x=n(o,p),g=a(_);return new g(_.buffer,_.byteOffset+x*_.BYTES_PER_ELEMENT,r((f===void 0?p:n(f,p))-x))})},8995:function(i,d,e){"use strict";var t=e(92916),r=e(13743),n=e(58261),a=e(3338),s=e(30867),u=t.Int8Array,c=n.aTypedArray,o=n.exportTypedArrayMethod,f=[].toLocaleString,_=!!u&&a(function(){f.call(new u(1))}),p=a(function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()})||!a(function(){u.prototype.toLocaleString.call([1,2])});o("toLocaleString",function(){return r(f,_?s(c(this)):c(this),s(arguments))},p)},23080:function(i,d,e){"use strict";var t=e(85903),r=e(58261),n=r.aTypedArray,a=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;a("toReversed",function(){return t(n(this),s(this))})},74701:function(i,d,e){"use strict";var t=e(58261),r=e(94237),n=e(63335),a=e(69478),s=t.aTypedArray,u=t.getTypedArrayConstructor,c=t.exportTypedArrayMethod,o=r(t.TypedArrayPrototype.sort);c("toSorted",function(_){_!==void 0&&n(_);var p=s(this),x=a(u(p),p);return o(x,_)})},91809:function(i,d,e){"use strict";var t=e(58261).exportTypedArrayMethod,r=e(3338),n=e(92916),a=e(94237),s=n.Uint8Array,u=s&&s.prototype||{},c=[].toString,o=a([].join);r(function(){c.call({})})&&(c=function(){return o(this)});var f=u.toString!==c;t("toString",c,f)},64336:function(i,d,e){"use strict";var t=e(69733);t("Uint16",function(r){return function(a,s,u){return r(this,a,s,u)}})},63914:function(i,d,e){"use strict";var t=e(69733);t("Uint32",function(r){return function(a,s,u){return r(this,a,s,u)}})},55234:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(a,s,u){return r(this,a,s,u)}})},88104:function(i,d,e){"use strict";var t=e(69733);t("Uint8",function(r){return function(a,s,u){return r(this,a,s,u)}},!0)},77517:function(i,d,e){"use strict";var t=e(82041),r=e(58261),n=e(75406),a=e(56902),s=e(93303),u=r.aTypedArray,c=r.getTypedArrayConstructor,o=r.exportTypedArrayMethod,f=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(_){return _===8}}();o("with",function(_,p){var x=u(this),g=a(_),P=n(x)?s(p):+p;return t(x,c(x),g,P)},!f)},30149:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(69905),a=String.fromCharCode,s=r("".charAt),u=r(/./.exec),c=r("".slice),o=/^[\da-f]{2}$/i,f=/^[\da-f]{4}$/i;t({global:!0},{unescape:function(p){for(var x=n(p),g="",P=x.length,O=0,S,I;O1?arguments[1]:void 0)}}),n("filterOut")},55885:function(i,d,e){"use strict";var t=e(94488),r=e(90560).filterReject,n=e(81181);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),n("filterReject")},91130:function(i,d,e){"use strict";var t=e(94488),r=e(32278);t({target:"Array",stat:!0},{fromAsync:r})},64963:function(i,d,e){"use strict";var t=e(94488),r=e(45601),n=e(81181),a=e(33940),s=e(16697);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),n("groupByToMap")},8604:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(45601),a=e(81181);t({target:"Array",proto:!0,forced:!n("groupBy")},{groupBy:function(u){var c=arguments.length>1?arguments[1]:void 0;return r(this,u,c)}}),a("groupBy")},25178:function(i,d,e){"use strict";var t=e(94488),r=e(81181),n=e(33940),a=e(16697);t({target:"Array",proto:!0,forced:a},{groupToMap:n}),r("groupToMap")},39034:function(i,d,e){"use strict";var t=e(94488),r=e(36444),n=e(81181);t({target:"Array",proto:!0},{group:function(s){var u=arguments.length>1?arguments[1]:void 0;return r(this,s,u)}}),n("group")},1905:function(i,d,e){"use strict";var t=e(94488),r=e(18589),n=Object.isFrozen,a=function(s,u){if(!n||!r(s)||!n(s))return!1;for(var c=0,o=s.length,f;c1?arguments[1]:!1);return n([c&255,c>>8&255],10)}})},93236:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return n(this,s)}})},42212:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),a=e(24225),s=e(61618).pack,u=e(35175),c=TypeError,o=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(_,p){if(n(this)!=="DataView")throw new c("Incorrect receiver");var x=a(_),g=s(u(p),10,2);return o(this,x,g[1]<<8|g[0],arguments.length>2?arguments[2]:!1)}})},63923:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(97607),a=e(24225),s=e(86350),u=TypeError,c=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,_){if(n(this)!=="DataView")throw new u("Incorrect receiver");var p=a(f);return c(this,p,s(_))}})},2278:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(65911),a=e(63335),s=e(56472),u=e(2291),c=e(66477),o=e(64110),f=e(59893),_=e(94844),p=e(5978),x=n("SuppressedError"),g=ReferenceError,P=f("dispose"),O=f("toStringTag"),S="DisposableStack",I=_.set,E=_.getterFor(S),A="sync-dispose",R="disposed",T="pending",D=function(j){var V=E(j);if(V.state===R)throw new g(S+" already disposed");return V},M=function(){I(s(this,B),{type:S,state:T,stack:[]}),r||(this.disposed=!1)},B=M.prototype;c(B,{dispose:function(){var V=E(this);if(V.state!==R){V.state=R,r||(this.disposed=!0);for(var H=V.stack,Y=H.length,F=!1,K;Y;){var X=H[--Y];H[Y]=null;try{X()}catch(Q){F?K=new x(Q,K):(F=!0,K=Q)}}if(V.stack=null,F)throw K}},use:function(V){return p(D(this),V,A),V},adopt:function(V,H){var Y=D(this);return a(H),p(Y,void 0,A,function(){H(V)}),V},defer:function(V){var H=D(this);a(V),p(H,void 0,A,V)},move:function(){var V=D(this),H=new M;return E(H).stack=V.stack,V.stack=[],V.state=R,r||(this.disposed=!0),H}}),r&&o(B,"disposed",{configurable:!0,get:function(){return E(this).state===R}}),u(B,P,B.dispose,{name:"dispose"}),u(B,O,S,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:M})},36955:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},77326:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(55327),a=e(15212),s=e(32621),u=e(35454),c=Object.getOwnPropertyDescriptor,o=/^\s*class\b/,f=r(o.exec),_=function(p){try{if(!u||!f(o,a(p)))return!1}catch(g){}var x=c(p,"prototype");return!!x&&s(x,"writable")&&!x.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(x){return n(x)&&!_(x)}})},53571:function(i,d,e){"use strict";var t=e(94488),r=e(39812);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},28670:function(i,d,e){"use strict";var t=e(59893),r=e(37691).f,n=t("metadata"),a=Function.prototype;a[n]===void 0&&r(a,n,{value:null})},31050:function(i,d,e){"use strict";var t=e(94488),r=e(47739);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},96364:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},25321:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(56472),a=e(80449),s=e(55327),u=e(53456),c=e(64110),o=e(69392),f=e(3338),_=e(32621),p=e(59893),x=e(46571).IteratorPrototype,g=e(35454),P=e(16697),O="constructor",S="Iterator",I=p("toStringTag"),E=TypeError,A=r[S],R=P||!s(A)||A.prototype!==x||!f(function(){A({})}),T=function(){if(n(this,x),u(this)===x)throw new E("Abstract class Iterator not directly constructable")},D=function(M,B){g?c(x,M,{configurable:!0,get:function(){return B},set:function(j){if(a(this),this===x)throw new E("You can't redefine this property");_(this,M)?this[M]=j:o(this,M,j)}}):x[M]=B};_(x,I)||D(I,S),(R||!_(x,O)||x[O]===Object)&&D(O,T),T.prototype=x,t({global:!0,constructor:!0,forced:R},{Iterator:T})},46304:function(i,d,e){"use strict";var t=e(89945),r=e(2291),n=e(53776),a=e(32621),s=e(59893),u=e(46571).IteratorPrototype,c=s("dispose");a(u,c)||r(u,c,function(){var o=n(this,"return");o&&t(o,this)})},55163:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(10731),s=e(2279),u=e(51358),c=e(20547),o=e(16697),f=c(function(){for(var _=this.iterator,p=this.next,x,g;this.remaining;)if(this.remaining--,x=n(r(p,_)),g=this.done=!!x.done,g)return;if(x=n(r(p,_)),g=this.done=!!x.done,!g)return x.value});t({target:"Iterator",proto:!0,real:!0,forced:o},{drop:function(p){n(this);var x=u(s(+p));return new f(a(this),{remaining:x})}})},78722:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{every:function(c){a(this),n(c);var o=s(this),f=0;return!r(o,function(_,p){if(!c(_,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},35977:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(80449),s=e(10731),u=e(20547),c=e(46319),o=e(16697),f=u(function(){for(var _=this.iterator,p=this.predicate,x=this.next,g,P,O;;){if(g=a(r(x,_)),P=this.done=!!g.done,P)return;if(O=g.value,c(_,p,[O,this.counter++],!0))return O}});t({target:"Iterator",proto:!0,real:!0,forced:o},{filter:function(p){return a(this),n(p),new f(s(this),{predicate:p})}})},81848:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{find:function(c){a(this),n(c);var o=s(this),f=0;return r(o,function(_,p){if(c(_,f++))return p(_)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},52867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(63335),a=e(80449),s=e(10731),u=e(7157),c=e(20547),o=e(67996),f=e(16697),_=c(function(){for(var p=this.iterator,x=this.mapper,g,P;;){if(P=this.inner)try{if(g=a(r(P.next,P.iterator)),!g.done)return g.value;this.inner=null}catch(O){o(p,"throw",O)}if(g=a(r(this.next,p)),this.done=!!g.done)return;try{this.inner=u(x(g.value,this.counter++),!1)}catch(O){o(p,"throw",O)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(x){return a(this),n(x),new _(s(this),{mapper:x,inner:null})}})},72211:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{forEach:function(c){a(this),n(c);var o=s(this),f=0;r(o,function(_){c(_,f++)},{IS_RECORD:!0})}})},84862:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(94029),a=e(16332),s=e(46571).IteratorPrototype,u=e(20547),c=e(7157),o=e(16697),f=u(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:o},{from:function(p){var x=c(typeof p=="string"?n(p):p,!0);return a(s,x.iterator)?x.iterator:new f(x)}})},92381:function(i,d,e){"use strict";var t=e(94488),r=e(24771);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},19517:function(i,d,e){"use strict";var t=e(94488),r=e(2155),n=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:n},{map:r})},69667:function(i,d,e){"use strict";var t=e(94488),r=e(17243),n=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,u,c){if(typeof s=="number")return new r(s,u,c,"number",0,1);if(typeof s=="bigint")return new r(s,u,c,"bigint",BigInt(0),BigInt(1));throw new n("Incorrect Iterator.range arguments")}})},80820:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731),u=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(o){a(this),n(o);var f=s(this),_=arguments.length<2,p=_?void 0:arguments[1],x=0;if(r(f,function(g){_?(_=!1,p=g):p=o(p,g,x),x++},{IS_RECORD:!0}),_)throw new u("Reduce of empty iterator with no initial value");return p}})},87873:function(i,d,e){"use strict";var t=e(94488),r=e(62003),n=e(63335),a=e(80449),s=e(10731);t({target:"Iterator",proto:!0,real:!0},{some:function(c){a(this),n(c);var o=s(this),f=0;return r(o,function(_,p){if(c(_,f++))return p()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},54609:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(80449),a=e(10731),s=e(2279),u=e(51358),c=e(20547),o=e(67996),f=e(16697),_=c(function(){var p=this.iterator;if(!this.remaining--)return this.done=!0,o(p,"normal",void 0);var x=n(r(this.next,p)),g=this.done=!!x.done;if(!g)return x.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(x){n(this);var g=u(s(+x));return new _(a(this),{remaining:g})}})},28566:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(62003),a=e(10731),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var c=[];return n(a(r(this)),s,{that:c,IS_RECORD:!0}),c}})},51697:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(57975),a=e(80025),s=e(10731),u=e(16697);t({target:"Iterator",proto:!0,real:!0,forced:u},{toAsync:function(){return new a(s(new n(s(r(this)))))}})},61872:function(i,d,e){"use strict";var t=e(94488),r=e(82778),n=e(83502);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:n})},76077:function(i,d,e){"use strict";var t=e(94488),r=e(35454),n=e(92916),a=e(65911),s=e(94237),u=e(89945),c=e(55327),o=e(31946),f=e(18589),_=e(32621),p=e(69905),x=e(82762),g=e(69392),P=e(3338),O=e(70913),S=e(42820),I=n.JSON,E=n.Number,A=n.SyntaxError,R=I&&I.parse,T=a("Object","keys"),D=Object.getOwnPropertyDescriptor,M=s("".charAt),B=s("".slice),j=s(/./.exec),V=s([].push),H=/^\d$/,Y=/^[1-9]$/,F=/^(?:-|\d)$/,K=/^[\t\n\r ]$/,X=0,Q=1,W=function(ie,se){ie=p(ie);var le=new Z(ie,0,""),de=le.parse(),He=de.value,ze=le.skip(K,de.end);if(ze1?arguments[1]:void 0);return a(c,function(f,_){if(!o(f,_,c))return!1},!0)!==!1}})},28220:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g,P){p(g,P,_)&&c(x,P,g)}),x}})},49350:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),f=a(c,function(_,p){if(o(_,p,c))return{key:p}},!0);return f&&f.key}})},62060:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),f=a(c,function(_,p){if(o(_,p,c))return{value:_}},!0);return f&&f.value}})},20126:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Map",stat:!0,forced:!0},{from:r})},18090:function(i,d,e){"use strict";var t=e(94488),r=e(88134),n=e(42683),a=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(u){return a(n(this),function(c){if(r(c,u))return!0},!0)===!0}})},14309:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(62003),a=e(55327),s=e(63335),u=e(2786).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(o,f){var _=a(this)?this:u,p=new _;s(f);var x=s(p.set);return n(o,function(g){r(x,p,f(g),g)}),p}})},17822:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(95037);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var u=n(r(this),function(c,o){if(c===s)return{key:o}},!0);return u&&u.key}})},83543:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g,P){c(x,p(g,P,_),g)}),x}})},13853:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(42683),a=e(2786),s=e(95037),u=a.Map,c=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g,P){c(x,P,p(g,P,_))}),x}})},25188:function(i,d,e){"use strict";var t=e(94488),r=e(42683),n=e(62003),a=e(2786).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(u){for(var c=r(this),o=arguments.length,f=0;f1?arguments[1]:void 0);return a(c,function(f,_){if(o(f,_,c))return!0},!0)===!0}})},8774:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},6736:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(42683),a=e(2786),s=TypeError,u=a.get,c=a.has,o=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(_,p){var x=n(this),g=arguments.length;r(p);var P=c(x,_);if(!P&&g<3)throw new s("Updating absent value");var O=P?u(x,_):r(g>2?arguments[2]:void 0)(_,x);return o(x,_,p(O,_,x)),x}})},94065:function(i,d,e){"use strict";var t=e(94488),r=e(14615);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},93036:function(i,d,e){"use strict";var t=e(94488),r=Math.min,n=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,u,c){return r(c,n(u,s))}})},75708:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},84624:function(i,d,e){"use strict";var t=e(94488),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},43710:function(i,d,e){"use strict";var t=e(94488),r=e(35175);t({target:"Math",stat:!0},{f16round:r})},66233:function(i,d,e){"use strict";var t=e(94488),r=e(24619),n=e(14894);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,u,c,o,f){return n(r(s,u,c,o,f))}})},92762:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{iaddh:function(n,a,s,u){var c=n>>>0,o=a>>>0,f=s>>>0;return o+(u>>>0)+((c&f|(c|f)&~(c+f>>>0))>>>31)|0}})},24467:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{imulh:function(n,a){var s=65535,u=+n,c=+a,o=u&s,f=c&s,_=u>>16,p=c>>16,x=(_*f>>>0)+(o*f>>>16);return _*p+(x>>16)+((o*p>>>0)+(x&s)>>16)}})},68465:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{isubh:function(n,a,s,u){var c=n>>>0,o=a>>>0,f=s>>>0;return o-(u>>>0)-((~c&f|~(c^f)&c-f>>>0)>>>31)|0}})},77004:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},83925:function(i,d,e){"use strict";var t=e(94488),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},51117:function(i,d,e){"use strict";var t=e(94488),r=e(24619);t({target:"Math",stat:!0,forced:!0},{scale:r})},87236:function(i,d,e){"use strict";var t=e(94488),r=e(80449),n=e(1222),a=e(83126),s=e(25587),u=e(94844),c="Seeded Random",o=c+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',_=u.set,p=u.getterFor(o),x=TypeError,g=a(function(O){_(this,{type:o,seed:O%2147483647})},c,function(){var O=p(this),S=O.seed=(O.seed*1103515245+12345)%2147483647;return s((S&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(O){var S=r(O).seed;if(!n(S))throw new x(f);return new g(S)}})},83733:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{signbit:function(n){var a=+n;return a===a&&a===0?1/a===-1/0:a<0}})},92044:function(i,d,e){"use strict";var t=e(94488);t({target:"Math",stat:!0,forced:!0},{umulh:function(n,a){var s=65535,u=+n,c=+a,o=u&s,f=c&s,_=u>>>16,p=c>>>16,x=(_*f>>>0)+(o*f>>>16);return _*p+(x>>>16)+((o*p>>>0)+(x&s)>>>16)}})},29190:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(56902),a="Invalid number representation",s="Invalid radix",u=RangeError,c=SyntaxError,o=TypeError,f=parseInt,_=Math.pow,p=/^[\d.a-z]+$/,x=r("".charAt),g=r(p.exec),P=r(1 .toString),O=r("".slice),S=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(E,A){var R=1;if(typeof E!="string")throw new o(a);if(!E.length)throw new c(a);if(x(E,0)==="-"&&(R=-1,E=O(E,1),!E.length))throw new c(a);var T=A===void 0?10:n(A);if(T<2||T>36)throw new u(s);if(!g(p,E))throw new c(a);var D=S(E,"."),M=f(D[0],T);if(D.length>1&&(M+=f(D[1],T)/_(T,D[1].length)),T===10&&P(M,T)!==E)throw new c(a);return R*M}})},10775:function(i,d,e){"use strict";var t=e(94488),r=e(17243);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,u){return new r(a,s,u,"number",0,1)}})},19593:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},26502:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},10174:function(i,d,e){"use strict";var t=e(94488),r=e(20574);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},76867:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(35454),a=e(51996),s=e(63335),u=e(80449),c=e(56472),o=e(55327),f=e(4112),_=e(31946),p=e(53776),x=e(2291),g=e(66477),P=e(64110),O=e(61810),S=e(59893),I=e(94844),E=S("observable"),A="Observable",R="Subscription",T="SubscriptionObserver",D=I.getterFor,M=I.set,B=D(A),j=D(R),V=D(T),H=function(Q){this.observer=u(Q),this.cleanup=void 0,this.subscriptionObserver=void 0};H.prototype={type:R,clean:function(){var Q=this.cleanup;if(Q){this.cleanup=void 0;try{Q()}catch(W){O(W)}}},close:function(){if(!n){var Q=this.facade,W=this.subscriptionObserver;Q.closed=!0,W&&(W.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var Y=function(Q,W){var N=M(this,new H(Q)),J;n||(this.closed=!1);try{(J=p(Q,"start"))&&r(J,Q,this)}catch(ee){O(ee)}if(!N.isClosed()){var k=N.subscriptionObserver=new F(N);try{var Z=W(k),G=Z;f(Z)||(N.cleanup=o(Z.unsubscribe)?function(){G.unsubscribe()}:s(Z))}catch(ee){k.error(ee);return}N.isClosed()&&N.clean()}};Y.prototype=g({},{unsubscribe:function(){var W=j(this);W.isClosed()||(W.close(),W.clean())}}),n&&P(Y.prototype,"closed",{configurable:!0,get:function(){return j(this).isClosed()}});var F=function(Q){M(this,{type:T,subscriptionState:Q}),n||(this.closed=!1)};F.prototype=g({},{next:function(W){var N=V(this).subscriptionState;if(!N.isClosed()){var J=N.observer;try{var k=p(J,"next");k&&r(k,J,W)}catch(Z){O(Z)}}},error:function(W){var N=V(this).subscriptionState;if(!N.isClosed()){var J=N.observer;N.close();try{var k=p(J,"error");k?r(k,J,W):O(W)}catch(Z){O(Z)}N.clean()}},complete:function(){var W=V(this).subscriptionState;if(!W.isClosed()){var N=W.observer;W.close();try{var J=p(N,"complete");J&&r(J,N)}catch(k){O(k)}W.clean()}}}),n&&P(F.prototype,"closed",{configurable:!0,get:function(){return V(this).subscriptionState.isClosed()}});var K=function(W){c(this,X),M(this,{type:A,subscriber:s(W)})},X=K.prototype;g(X,{subscribe:function(W){var N=arguments.length;return new Y(o(W)?{next:W,error:N>1?arguments[1]:void 0,complete:N>2?arguments[2]:void 0}:_(W)?W:{},B(this).subscriber)}}),x(X,E,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:K}),a(A)},14548:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(89945),a=e(80449),s=e(39812),u=e(85428),c=e(53776),o=e(62003),f=e(59893),_=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(x){var g=s(this)?this:r("Observable"),P=c(a(x),_);if(P){var O=a(n(P,x));return O.constructor===g?O:new g(function(I){return O.subscribe(I)})}var S=u(x);return new g(function(I){o(S,function(E,A){if(I.next(E),I.closed)return A()},{IS_ITERATOR:!0,INTERRUPTED:!0}),I.complete()})}})},96378:function(i,d,e){"use strict";e(76867),e(14548),e(6053)},6053:function(i,d,e){"use strict";var t=e(94488),r=e(65911),n=e(39812),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var u=n(this)?this:r("Observable"),c=arguments.length,o=a(c),f=0;f?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var _=n(f),p=s(_,0);return(p>47&&p<58?"\\x3":"")+u(_,c,"\\$&")}})},1220:function(i,d,e){"use strict";var t=e(94488),r=e(17442),n=e(19691).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),u=0,c=arguments.length;u1?arguments[1]:void 0);return a(c,function(f){if(!o(f,f,c))return!1},!0)!==!1}})},38487:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(19691),s=e(57002),u=a.Set,c=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g){p(g,g,_)&&c(x,g)}),x}})},29916:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0),f=a(c,function(_){if(o(_,_,c))return{value:_}},!0);return f&&f.value}})},25541:function(i,d,e){"use strict";var t=e(94488),r=e(72846);t({target:"Set",stat:!0,forced:!0},{from:r})},34926:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(16049);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(u){return r(a,this,n(u))}})},45612:function(i,d,e){"use strict";var t=e(94488),r=e(3338),n=e(16049),a=e(22627),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:n})},68255:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(17616);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(u){return r(a,this,n(u))}})},98080:function(i,d,e){"use strict";var t=e(94488),r=e(17616),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isDisjointFrom")},{isDisjointFrom:r})},16450:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(84833);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(u){return r(a,this,n(u))}})},96351:function(i,d,e){"use strict";var t=e(94488),r=e(84833),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSubsetOf")},{isSubsetOf:r})},86921:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(51135);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(u){return r(a,this,n(u))}})},60244:function(i,d,e){"use strict";var t=e(94488),r=e(51135),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("isSupersetOf")},{isSupersetOf:r})},82928:function(i,d,e){"use strict";var t=e(94488),r=e(94237),n=e(17442),a=e(57002),s=e(69905),u=r([].join),c=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var _=n(this),p=f===void 0?",":s(f),x=[];return a(_,function(g){c(x,g)}),u(x,p)}})},42947:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(19691),s=e(57002),u=a.Set,c=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var _=n(this),p=r(f,arguments.length>1?arguments[1]:void 0),x=new u;return s(_,function(g){c(x,p(g,g,_))}),x}})},71568:function(i,d,e){"use strict";var t=e(94488),r=e(48800);t({target:"Set",stat:!0,forced:!0},{of:r})},94194:function(i,d,e){"use strict";var t=e(94488),r=e(63335),n=e(17442),a=e(57002),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(c){var o=n(this),f=arguments.length<2,_=f?void 0:arguments[1];if(r(c),a(o,function(p){f?(f=!1,_=p):_=c(_,p,p,o)}),f)throw new s("Reduce of empty set with no initial value");return _}})},30556:function(i,d,e){"use strict";var t=e(94488),r=e(80666),n=e(17442),a=e(57002);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(u){var c=n(this),o=r(u,arguments.length>1?arguments[1]:void 0);return a(c,function(f){if(o(f,f,c))return!0},!0)===!0}})},93102:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(36312);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(u){return r(a,this,n(u))}})},32100:function(i,d,e){"use strict";var t=e(94488),r=e(36312),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("symmetricDifference")},{symmetricDifference:r})},82074:function(i,d,e){"use strict";var t=e(94488),r=e(89945),n=e(77999),a=e(24667);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(u){return r(a,this,n(u))}})},1821:function(i,d,e){"use strict";var t=e(94488),r=e(24667),n=e(22627);t({target:"Set",proto:!0,real:!0,forced:!n("union")},{union:r})},13578:function(i,d,e){"use strict";var t=e(94488),r=e(13764).charAt,n=e(95955),a=e(56902),s=e(69905);t({target:"String",proto:!0,forced:!0},{at:function(c){var o=s(n(this)),f=o.length,_=a(c),p=_>=0?_:f+_;return p<0||p>=f?void 0:r(o,p)}})},62882:function(i,d,e){"use strict";var t=e(94488),r=e(83126),n=e(25587),a=e(95955),s=e(69905),u=e(94844),c=e(13764),o=c.codeAt,f=c.charAt,_="String Iterator",p=u.set,x=u.getterFor(_),g=r(function(O){p(this,{type:_,string:O,index:0})},"String",function(){var O=x(this),S=O.string,I=O.index,E;return I>=S.length?n(void 0,!0):(E=f(S,I),O.index+=E.length,n({codePoint:o(E,0),position:I},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new g(s(a(this)))}})},59348:function(i,d,e){"use strict";var t=e(94488),r=e(67410);t({target:"String",stat:!0,forced:!0},{cooked:r})},37457:function(i,d,e){"use strict";var t=e(13247),r=e(94488),n=e(86528),a=e(94237),s=e(13743),u=e(80449),c=e(94029),o=e(55327),f=e(82762),_=e(37691).f,p=e(71698),x=e(42530),g=e(67410),P=e(79204),O=e(19268),S=new x.WeakMap,I=x.get,E=x.has,A=x.set,R=Array,T=TypeError,D=Object.freeze||Object,M=Object.isFrozen,B=Math.min,j=a("".charAt),V=a("".slice),H=a("".split),Y=a(/./.exec),F=/([\n\u2028\u2029]|\r\n?)/g,K=RegExp("^["+O+"]*"),X=RegExp("[^"+O+"]"),Q="Invalid tag",W="Invalid opening line",N="Invalid closing line",J=function(se){var le=se.raw;if(t&&!M(le))throw new T("Raw template should be frozen");if(E(S,le))return I(S,le);var de=k(le),He=G(de);return _(He,"raw",{value:D(de)}),D(He),A(S,le,He),He},k=function(se){var le=c(se),de=f(le),He=R(de),ze=R(de),st=0,vt,Je,Ke,Re;if(!de)throw new T(Q);for(;st0)throw new T(W);vt[1]=""}if(me){if(vt.length===1||Y(X,vt[vt.length-1]))throw new T(N);vt[vt.length-2]="",vt[vt.length-1]=""}for(var at=2;at1?arguments[1]:void 0);return n(this,o)},!0)},16315:function(i,d,e){"use strict";var t=e(58261),r=e(90560).filterReject,n=e(27607),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(c){var o=r(a(this),c,arguments.length>1?arguments[1]:void 0);return n(this,o)},!0)},56966:function(i,d,e){"use strict";var t=e(65911),r=e(6086),n=e(32278),a=e(58261),s=e(69478),u=a.aTypedArrayConstructor,c=a.exportTypedArrayStaticMethod;c("fromAsync",function(f){var _=this,p=arguments.length,x=p>1?arguments[1]:void 0,g=p>2?arguments[2]:void 0;return new(t("Promise"))(function(P){r(_),P(n(f,x,g))}).then(function(P){return s(u(_),P)})},!0)},60239:function(i,d,e){"use strict";var t=e(58261),r=e(36444),n=e(31384),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(c){var o=arguments.length>1?arguments[1]:void 0;return r(a(this),c,o,n)},!0)},49381:function(i,d,e){"use strict";var t=e(58261),r=e(82762),n=e(75406),a=e(51981),s=e(93303),u=e(56902),c=e(3338),o=t.aTypedArray,f=t.getTypedArrayConstructor,_=t.exportTypedArrayMethod,p=Math.max,x=Math.min,g=!c(function(){var P=new Int8Array([1]),O=P.toSpliced(1,0,{valueOf:function(){return P[0]=2,3}});return O[0]!==2||O[1]!==3});_("toSpliced",function(O,S){var I=o(this),E=f(I),A=r(I),R=a(O,A),T=arguments.length,D=0,M,B,j,V,H,Y,F;if(T===0)M=B=0;else if(T===1)M=0,B=A-R;else if(B=x(p(u(S),0),A-R),M=T-2,M){V=new E(M),j=n(V);for(var K=2;K1?a(arguments[1]):void 0,M=f(D)==="base64"?_:p,B=D?!!D.strict:!1,j=B?T:O(T,E,"");if(j.length%4===0)S(j,-2)==="=="?j=S(j,0,-2):S(j,-1)==="="&&(j=S(j,0,-1));else if(B)throw new g("Input is not correctly padded");var V=j.length%4;switch(V){case 1:throw new g("Bad input length");case 2:j+="AA";break;case 3:j+="A"}for(var H=[],Y=0,F=j.length,K=function(W){var N=P(j,Y+W);if(!u(M,N))throw new g('Bad char in input: "'+N+'"');return M[N]<<18-6*W};Y>16&255,X>>8&255,X&255)}var Q=H.length;if(V===2){if(B&&H[Q-2]!==0)throw new g(A);Q-=2}else if(V===3){if(B&&H[Q-1]!==0)throw new g(A);Q--}return c(x,H,Q)}})},57151:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(94237),a=e(79606),s=r.Uint8Array,u=r.SyntaxError,c=r.parseInt,o=/[^\da-f]/i,f=n(o.exec),_=n("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(x){a(x);var g=x.length;if(g%2)throw new u("String should have an even number of characters");if(f(o,x))throw new u("String should only contain hex characters");for(var P=new s(g/2),O=0;O>6*T&63)};I+2>(-2*F&6)));return H}})},55182:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),a=e(94237),s=e(89945),u=e(3338),c=e(69905),o=e(57106),f=e(66244).i2c,_=n("btoa"),p=a("".charAt),x=a("".charCodeAt),g=!!_&&!u(function(){return _("hi")!=="aGk="}),P=g&&!u(function(){_()}),O=g&&u(function(){return _(null)!=="bnVsbA=="}),S=g&&_.length!==1;t({global:!0,bind:!0,enumerable:!0,forced:!g||P||O||S},{btoa:function(E){if(o(arguments.length,1),g)return s(_,r,c(E));for(var A=c(E),R="",T=0,D=f,M,B;p(A,T)||(D="=",T%1);){if(B=x(A,T+=.75),B>255)throw new(n("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");M=M<<8|B,R+=p(D,63&M>>8-T%1*8)}return R}})},91472:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).clear;t({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==n},{clearImmediate:n})},34366:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),a=e(59594),s=e(68151),u=function(o){if(o&&o.forEach!==a)try{s(o,"forEach",a)}catch(f){o.forEach=a}};for(var c in r)r[c]&&u(t[c]&&t[c].prototype);u(n)},85425:function(i,d,e){"use strict";var t=e(92916),r=e(66749),n=e(9518),a=e(11005),s=e(68151),u=e(94573),c=e(59893),o=c("iterator"),f=a.values,_=function(x,g){if(x){if(x[o]!==f)try{s(x,o,f)}catch(O){x[o]=f}if(u(x,g,!0),r[g]){for(var P in a)if(x[P]!==a[P])try{s(x,P,a[P])}catch(O){x[P]=a[P]}}}};for(var p in r)_(t[p]&&t[p].prototype,p);_(n,"DOMTokenList")},64522:function(i,d,e){"use strict";var t=e(94488),r=e(11270),n=e(65911),a=e(3338),s=e(20132),u=e(35012),c=e(37691).f,o=e(2291),f=e(64110),_=e(32621),p=e(56472),x=e(80449),g=e(13367),P=e(7825),O=e(52109),S=e(80739),I=e(94844),E=e(35454),A=e(16697),R="DOMException",T="DATA_CLONE_ERR",D=n("Error"),M=n(R)||function(){try{var ze=n("MessageChannel")||r("worker_threads").MessageChannel;new ze().port1.postMessage(new WeakMap)}catch(st){if(st.name===T&&st.code===25)return st.constructor}}(),B=M&&M.prototype,j=D.prototype,V=I.set,H=I.getterFor(R),Y="stack"in new D(R),F=function(ze){return _(O,ze)&&O[ze].m?O[ze].c:0},K=function(){p(this,X);var st=arguments.length,vt=P(st<1?void 0:arguments[0]),Je=P(st<2?void 0:arguments[1],"Error"),Ke=F(Je);if(V(this,{type:R,name:Je,message:vt,code:Ke}),E||(this.name=Je,this.message=vt,this.code=Ke),Y){var Re=new D(vt);Re.name=R,c(this,"stack",u(1,S(Re.stack,1)))}},X=K.prototype=s(j),Q=function(ze){return{enumerable:!0,configurable:!0,get:ze}},W=function(ze){return Q(function(){return H(this)[ze]})};E&&(f(X,"code",W("code")),f(X,"message",W("message")),f(X,"name",W("name"))),c(X,"constructor",u(1,K));var N=a(function(){return!(new M instanceof D)}),J=N||a(function(){return j.toString!==g||String(new M(1,2))!=="2: 1"}),k=N||a(function(){return new M(1,"DataCloneError").code!==25}),Z=N||M[T]!==25||B[T]!==25,G=A?J||k||Z:N;t({global:!0,constructor:!0,forced:G},{DOMException:G?K:M});var ee=n(R),ie=ee.prototype;J&&(A||M===ee)&&o(ie,"toString",g),k&&E&&M===ee&&f(ie,"code",Q(function(){return F(x(this).name)}));for(var se in O)if(_(O,se)){var le=O[se],de=le.s,He=u(6,le.c);_(ee,de)||c(ee,de,He),_(ie,de)||c(ie,de,He)}},41599:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(65911),a=e(35012),s=e(37691).f,u=e(32621),c=e(56472),o=e(25576),f=e(7825),_=e(52109),p=e(80739),x=e(35454),g=e(16697),P="DOMException",O=n("Error"),S=n(P),I=function(){c(this,E);var K=arguments.length,X=f(K<1?void 0:arguments[0]),Q=f(K<2?void 0:arguments[1],"Error"),W=new S(X,Q),N=new O(X);return N.name=P,s(W,"stack",a(1,p(N.stack,1))),o(W,this,I),W},E=I.prototype=S.prototype,A="stack"in new O(P),R="stack"in new S(1,2),T=S&&x&&Object.getOwnPropertyDescriptor(r,P),D=!!T&&!(T.writable&&T.configurable),M=A&&!D&&!R;t({global:!0,constructor:!0,forced:g||M},{DOMException:M?I:S});var B=n(P),j=B.prototype;if(j.constructor!==B){g||s(j,"constructor",a(1,B));for(var V in _)if(u(_,V)){var H=_[V],Y=H.s;u(B,Y)||s(B,Y,a(6,H.c))}}},86465:function(i,d,e){"use strict";var t=e(65911),r=e(94573),n="DOMException";r(t(n),n)},78437:function(i,d,e){"use strict";e(91472),e(91700)},73624:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(72933),a=e(63335),s=e(57106),u=e(90946),c=r.process;t({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(f){s(arguments.length,1),a(f);var _=u&&c.domain;n(_?_.bind(f):f)}})},62059:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(64110),a=e(35454),s=TypeError,u=Object.defineProperty,c=r.self!==r;try{if(a){var o=Object.getOwnPropertyDescriptor(r,"self");(c||!o||!o.get||!o.enumerable)&&n(r,"self",{get:function(){return r},set:function(_){if(this!==r)throw new s("Illegal invocation");u(r,"self",{value:_,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else t({global:!0,simple:!0,forced:c},{self:r})}catch(f){}},91700:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(28887).set,a=e(93222),s=r.setImmediate?a(n,!1):n;t({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},88469:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),a=n(r.setInterval,!0);t({global:!0,bind:!0,forced:r.setInterval!==a},{setInterval:a})},91572:function(i,d,e){"use strict";var t=e(94488),r=e(92916),n=e(93222),a=n(r.setTimeout,!0);t({global:!0,bind:!0,forced:r.setTimeout!==a},{setTimeout:a})},10305:function(i,d,e){"use strict";var t=e(16697),r=e(94488),n=e(92916),a=e(65911),s=e(94237),u=e(3338),c=e(6145),o=e(55327),f=e(39812),_=e(4112),p=e(31946),x=e(18446),g=e(62003),P=e(80449),O=e(97607),S=e(32621),I=e(69392),E=e(68151),A=e(82762),R=e(57106),T=e(81644),D=e(2786),M=e(19691),B=e(57002),j=e(39311),V=e(25406),H=e(80426),Y=n.Object,F=n.Array,K=n.Date,X=n.Error,Q=n.TypeError,W=n.PerformanceMark,N=a("DOMException"),J=D.Map,k=D.has,Z=D.get,G=D.set,ee=M.Set,ie=M.add,se=M.has,le=a("Object","keys"),de=s([].push),He=s((!0).valueOf),ze=s(1 .valueOf),st=s("".valueOf),vt=s(K.prototype.getTime),Je=c("structuredClone"),Ke="DataCloneError",Re="Transferring",Ce=function(pe){return!u(function(){var ge=new n.Set([7]),lt=pe(ge),Qe=pe(Y(7));return lt===ge||!lt.has(7)||!p(Qe)||+Qe!=7})&&pe},me=function(pe,ge){return!u(function(){var lt=new ge,Qe=pe({a:lt,b:lt});return!(Qe&&Qe.a===Qe.b&&Qe.a instanceof ge&&Qe.a.stack===lt.stack)})},at=function(pe){return!u(function(){var ge=pe(new n.AggregateError([1],Je,{cause:3}));return ge.name!=="AggregateError"||ge.errors[0]!==1||ge.message!==Je||ge.cause!==3})},ct=n.structuredClone,St=t||!me(ct,X)||!me(ct,N)||!at(ct),bt=!ct&&Ce(function(pe){return new W(Je,{detail:pe}).detail}),Ie=Ce(ct)||bt,$e=function(pe){throw new N("Uncloneable type: "+pe,Ke)},ft=function(pe,ge){throw new N((ge||"Cloning")+" of "+pe+" cannot be properly polyfilled in this engine",Ke)},ke=function(pe,ge){return Ie||ft(ge),Ie(pe)},ye=function(){var pe;try{pe=new n.DataTransfer}catch(ge){try{pe=new n.ClipboardEvent("").clipboardData}catch(lt){}}return pe&&pe.items&&pe.files?pe:null},fe=function(pe,ge,lt){if(k(ge,pe))return Z(ge,pe);var Qe=lt||O(pe),Ve,it,Dt,Yt,Se,je;if(Qe==="SharedArrayBuffer")Ie?Ve=Ie(pe):Ve=pe;else{var Be=n.DataView;!Be&&!o(pe.slice)&&ft("ArrayBuffer");try{if(o(pe.slice)&&!pe.resizable)Ve=pe.slice(0);else for(it=pe.byteLength,Dt=("maxByteLength"in pe)?{maxByteLength:pe.maxByteLength}:void 0,Ve=new ArrayBuffer(it,Dt),Yt=new Be(pe),Se=new Be(Ve),je=0;je1&&!_(arguments[1])?P(arguments[1]):void 0,Qe=lt?lt.transfer:void 0,Ve,it;Qe!==void 0&&(Ve=new J,it=et(Qe,Ve));var Dt=Ee(ge,Ve);return it&&mt(it),Dt}})},41208:function(i,d,e){"use strict";e(88469),e(91572)},91340:function(i,d,e){"use strict";e(11005);var t=e(94488),r=e(92916),n=e(89945),a=e(94237),s=e(35454),u=e(3299),c=e(2291),o=e(64110),f=e(66477),_=e(94573),p=e(83126),x=e(94844),g=e(56472),P=e(55327),O=e(32621),S=e(80666),I=e(97607),E=e(80449),A=e(31946),R=e(69905),T=e(20132),D=e(35012),M=e(85428),B=e(26006),j=e(25587),V=e(57106),H=e(59893),Y=e(63668),F=H("iterator"),K="URLSearchParams",X=K+"Iterator",Q=x.set,W=x.getterFor(K),N=x.getterFor(X),J=Object.getOwnPropertyDescriptor,k=function(Ve){if(!s)return r[Ve];var it=J(r,Ve);return it&&it.value},Z=k("fetch"),G=k("Request"),ee=k("Headers"),ie=G&&G.prototype,se=ee&&ee.prototype,le=r.RegExp,de=r.TypeError,He=r.decodeURIComponent,ze=r.encodeURIComponent,st=a("".charAt),vt=a([].join),Je=a([].push),Ke=a("".replace),Re=a([].shift),Ce=a([].splice),me=a("".split),at=a("".slice),ct=/\+/g,St=Array(4),bt=function(Ve){return St[Ve-1]||(St[Ve-1]=le("((?:%[\\da-f]{2}){"+Ve+"})","gi"))},Ie=function(Ve){try{return He(Ve)}catch(it){return Ve}},$e=function(Ve){var it=Ke(Ve,ct," "),Dt=4;try{return He(it)}catch(Yt){for(;Dt;)it=Ke(it,bt(Dt--),Ie);return it}},ft=/[!'()~]|%20/g,ke={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ye=function(Ve){return ke[Ve]},fe=function(Ve){return Ke(ze(Ve),ft,ye)},Oe=p(function(it,Dt){Q(this,{type:X,target:W(it).entries,index:0,kind:Dt})},K,function(){var it=N(this),Dt=it.target,Yt=it.index++;if(!Dt||Yt>=Dt.length)return it.target=void 0,j(void 0,!0);var Se=Dt[Yt];switch(it.kind){case"keys":return j(Se.key,!1);case"values":return j(Se.value,!1)}return j([Se.key,Se.value],!1)},!0),Ee=function(Ve){this.entries=[],this.url=null,Ve!==void 0&&(A(Ve)?this.parseObject(Ve):this.parseQuery(typeof Ve=="string"?st(Ve,0)==="?"?at(Ve,1):Ve:R(Ve)))};Ee.prototype={type:K,bindURL:function(Ve){this.url=Ve,this.update()},parseObject:function(Ve){var it=this.entries,Dt=B(Ve),Yt,Se,je,Be,ht,At,ce;if(Dt)for(Yt=M(Ve,Dt),Se=Yt.next;!(je=n(Se,Yt)).done;){if(Be=M(E(je.value)),ht=Be.next,(At=n(ht,Be)).done||(ce=n(ht,Be)).done||!n(ht,Be).done)throw new de("Expected sequence with length 2");Je(it,{key:R(At.value),value:R(ce.value)})}else for(var _t in Ve)O(Ve,_t)&&Je(it,{key:_t,value:R(Ve[_t])})},parseQuery:function(Ve){if(Ve)for(var it=this.entries,Dt=me(Ve,"&"),Yt=0,Se,je;Yt0?arguments[0]:void 0,Dt=Q(this,new Ee(it));s||(this.size=Dt.entries.length)},mt=et.prototype;if(f(mt,{append:function(it,Dt){var Yt=W(this);V(arguments.length,2),Je(Yt.entries,{key:R(it),value:R(Dt)}),s||this.length++,Yt.updateURL()},delete:function(Ve){for(var it=W(this),Dt=V(arguments.length,1),Yt=it.entries,Se=R(Ve),je=Dt<2?void 0:arguments[1],Be=je===void 0?je:R(je),ht=0;htYt.key?1:-1}),it.updateURL()},forEach:function(it){for(var Dt=W(this).entries,Yt=S(it,arguments.length>1?arguments[1]:void 0),Se=0,je;Se1?lt(arguments[1]):{})}}),P(G)){var Qe=function(it){return g(this,ie),new G(it,arguments.length>1?lt(arguments[1]):{})};ie.constructor=Qe,Qe.prototype=ie,t({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Qe})}}i.exports={URLSearchParams:et,getState:W}},4890:function(i,d,e){"use strict";var t=e(2291),r=e(94237),n=e(69905),a=e(57106),s=URLSearchParams,u=s.prototype,c=r(u.append),o=r(u.delete),f=r(u.forEach),_=r([].push),p=new s("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&t(u,"delete",function(x){var g=arguments.length,P=g<2?void 0:arguments[1];if(g&&P===void 0)return o(this,x);var O=[];f(this,function(M,B){_(O,{key:B,value:M})}),a(g,1);for(var S=n(x),I=n(P),E=0,A=0,R=!1,T=O.length,D;E?@[\\\]^|]/,ct=/[\0\t\n\r #/:<>?@[\\\]^|]/,St=/^[\u0000-\u0020]+/,bt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ie=/[\t\n\r]/g,$e,ft=function(wt){var qe=G(wt,"."),Ue,Le,rt,Tt,Lt,gr,yr;if(qe.length&&qe[qe.length-1]===""&&qe.length--,Ue=qe.length,Ue>4)return wt;for(Le=[],rt=0;rt1&&K(Tt,0)==="0"&&(Lt=X(Ke,Tt)?16:8,Tt=ee(Tt,Lt===8?1:2)),Tt==="")gr=0;else{if(!X(Lt===10?Ce:Lt===8?Re:me,Tt))return wt;gr=H(Tt,Lt)}J(Le,gr)}for(rt=0;rt=F(256,5-Ue))return null}else if(gr>255)return null;for(yr=N(Le),rt=0;rt6))return;for(gr=0;_n();){if(yr=null,gr>0)if(_n()==="."&&gr<4)rt++;else return;if(!X(Je,_n()))return;for(;X(Je,_n());){if(Ur=H(_n(),10),yr===null)yr=Ur;else{if(yr===0)return;yr=yr*10+Ur}if(yr>255)return;rt++}qe[Ue]=qe[Ue]*256+yr,gr++,(gr===2||gr===4)&&Ue++}if(gr!==4)return;break}else if(_n()===":"){if(rt++,!_n())return}else if(_n())return;qe[Ue++]=Tt}if(Le!==null)for(bn=Ue-Le,Ue=7;Ue!==0&&bn>0;)sr=qe[Ue],qe[Ue--]=qe[Le+bn-1],qe[Le+--bn]=sr;else if(Ue!==8)return;return qe},ye=function(wt){for(var qe=null,Ue=1,Le=null,rt=0,Tt=0;Tt<8;Tt++)wt[Tt]!==0?(rt>Ue&&(qe=Le,Ue=rt),Le=null,rt=0):(Le===null&&(Le=Tt),++rt);return rt>Ue&&(qe=Le,Ue=rt),qe},fe=function(wt){var qe,Ue,Le,rt;if(typeof wt=="number"){for(qe=[],Ue=0;Ue<4;Ue++)se(qe,wt%256),wt=Y(wt/256);return Q(qe,".")}else if(typeof wt=="object"){for(qe="",Le=ye(wt),Ue=0;Ue<8;Ue++)rt&&wt[Ue]===0||(rt&&(rt=!1),Le===Ue?(qe+=Ue?":":"::",rt=!0):(qe+=W(wt[Ue],16),Ue<7&&(qe+=":")));return"["+qe+"]"}return wt},Oe={},Ee=p({},Oe,{" ":1,'"':1,"<":1,">":1,"`":1}),et=p({},Ee,{"#":1,"?":1,"{":1,"}":1}),mt=p({},et,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(wt,qe){var Ue=P(wt,0);return Ue>32&&Ue<127&&!_(qe,wt)?wt:encodeURIComponent(wt)},ge={ftp:21,file:null,http:80,https:443,ws:80,wss:443},lt=function(wt,qe){var Ue;return wt.length===2&&X(st,K(wt,0))&&((Ue=K(wt,1))===":"||!qe&&Ue==="|")},Qe=function(wt){var qe;return wt.length>1&<(ee(wt,0,2))&&(wt.length===2||(qe=K(wt,2))==="/"||qe==="\\"||qe==="?"||qe==="#")},Ve=function(wt){return wt==="."||ie(wt)==="%2e"},it=function(wt){return wt=ie(wt),wt===".."||wt==="%2e."||wt===".%2e"||wt==="%2e%2e"},Dt={},Yt={},Se={},je={},Be={},ht={},At={},ce={},_t={},qt={},Ht={},Ut={},cr={},Ze={},dt={},kt={},ar={},$t={},pr={},Ir={},kr={},er=function(wt,qe,Ue){var Le=S(wt),rt,Tt,Lt;if(qe){if(Tt=this.parse(Le),Tt)throw new V(Tt);this.searchParams=null}else{if(Ue!==void 0&&(rt=new er(Ue,!0)),Tt=this.parse(Le,null,rt),Tt)throw new V(Tt);Lt=B(new M),Lt.bindURL(this),this.searchParams=Lt}};er.prototype={type:"URL",parse:function(wt,qe,Ue){var Le=this,rt=qe||Dt,Tt=0,Lt="",gr=!1,yr=!1,Ur=!1,bn,sr,_n,on;for(wt=S(wt),qe||(Le.scheme="",Le.username="",Le.password="",Le.host=null,Le.port=null,Le.path=[],Le.query=null,Le.fragment=null,Le.cannotBeABaseURL=!1,wt=k(wt,St,""),wt=k(wt,bt,"$1")),wt=k(wt,Ie,""),bn=x(wt);Tt<=bn.length;){switch(sr=bn[Tt],rt){case Dt:if(sr&&X(st,sr))Lt+=ie(sr),rt=Yt;else{if(qe)return de;rt=Se;continue}break;case Yt:if(sr&&(X(vt,sr)||sr==="+"||sr==="-"||sr==="."))Lt+=ie(sr);else if(sr===":"){if(qe&&(Le.isSpecial()!==_(ge,Lt)||Lt==="file"&&(Le.includesCredentials()||Le.port!==null)||Le.scheme==="file"&&!Le.host))return;if(Le.scheme=Lt,qe){Le.isSpecial()&&ge[Le.scheme]===Le.port&&(Le.port=null);return}Lt="",Le.scheme==="file"?rt=Ze:Le.isSpecial()&&Ue&&Ue.scheme===Le.scheme?rt=je:Le.isSpecial()?rt=ce:bn[Tt+1]==="/"?(rt=Be,Tt++):(Le.cannotBeABaseURL=!0,J(Le.path,""),rt=pr)}else{if(qe)return de;Lt="",rt=Se,Tt=0;continue}break;case Se:if(!Ue||Ue.cannotBeABaseURL&&sr!=="#")return de;if(Ue.cannotBeABaseURL&&sr==="#"){Le.scheme=Ue.scheme,Le.path=g(Ue.path),Le.query=Ue.query,Le.fragment="",Le.cannotBeABaseURL=!0,rt=kr;break}rt=Ue.scheme==="file"?Ze:ht;continue;case je:if(sr==="/"&&bn[Tt+1]==="/")rt=_t,Tt++;else{rt=ht;continue}break;case Be:if(sr==="/"){rt=qt;break}else{rt=$t;continue}case ht:if(Le.scheme=Ue.scheme,sr===$e)Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.query=Ue.query;else if(sr==="/"||sr==="\\"&&Le.isSpecial())rt=At;else if(sr==="?")Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.query="",rt=Ir;else if(sr==="#")Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.query=Ue.query,Le.fragment="",rt=kr;else{Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,Le.path=g(Ue.path),Le.path.length--,rt=$t;continue}break;case At:if(Le.isSpecial()&&(sr==="/"||sr==="\\"))rt=_t;else if(sr==="/")rt=qt;else{Le.username=Ue.username,Le.password=Ue.password,Le.host=Ue.host,Le.port=Ue.port,rt=$t;continue}break;case ce:if(rt=_t,sr!=="/"||K(Lt,Tt+1)!=="/")continue;Tt++;break;case _t:if(sr!=="/"&&sr!=="\\"){rt=qt;continue}break;case qt:if(sr==="@"){gr&&(Lt="%40"+Lt),gr=!0,_n=x(Lt);for(var Fe=0;Fe<_n.length;Fe++){var Ne=_n[Fe];if(Ne===":"&&!Ur){Ur=!0;continue}var en=pe(Ne,mt);Ur?Le.password+=en:Le.username+=en}Lt=""}else if(sr===$e||sr==="/"||sr==="?"||sr==="#"||sr==="\\"&&Le.isSpecial()){if(gr&&Lt==="")return le;Tt-=x(Lt).length+1,Lt="",rt=Ht}else Lt+=sr;break;case Ht:case Ut:if(qe&&Le.scheme==="file"){rt=kt;continue}else if(sr===":"&&!yr){if(Lt==="")return He;if(on=Le.parseHost(Lt),on)return on;if(Lt="",rt=cr,qe===Ut)return}else if(sr===$e||sr==="/"||sr==="?"||sr==="#"||sr==="\\"&&Le.isSpecial()){if(Le.isSpecial()&&Lt==="")return He;if(qe&&Lt===""&&(Le.includesCredentials()||Le.port!==null))return;if(on=Le.parseHost(Lt),on)return on;if(Lt="",rt=ar,qe)return;continue}else sr==="["?yr=!0:sr==="]"&&(yr=!1),Lt+=sr;break;case cr:if(X(Je,sr))Lt+=sr;else if(sr===$e||sr==="/"||sr==="?"||sr==="#"||sr==="\\"&&Le.isSpecial()||qe){if(Lt!==""){var pn=H(Lt,10);if(pn>65535)return ze;Le.port=Le.isSpecial()&&pn===ge[Le.scheme]?null:pn,Lt=""}if(qe)return;rt=ar;continue}else return ze;break;case Ze:if(Le.scheme="file",sr==="/"||sr==="\\")rt=dt;else if(Ue&&Ue.scheme==="file")switch(sr){case $e:Le.host=Ue.host,Le.path=g(Ue.path),Le.query=Ue.query;break;case"?":Le.host=Ue.host,Le.path=g(Ue.path),Le.query="",rt=Ir;break;case"#":Le.host=Ue.host,Le.path=g(Ue.path),Le.query=Ue.query,Le.fragment="",rt=kr;break;default:Qe(Q(g(bn,Tt),""))||(Le.host=Ue.host,Le.path=g(Ue.path),Le.shortenPath()),rt=$t;continue}else{rt=$t;continue}break;case dt:if(sr==="/"||sr==="\\"){rt=kt;break}Ue&&Ue.scheme==="file"&&!Qe(Q(g(bn,Tt),""))&&(lt(Ue.path[0],!0)?J(Le.path,Ue.path[0]):Le.host=Ue.host),rt=$t;continue;case kt:if(sr===$e||sr==="/"||sr==="\\"||sr==="?"||sr==="#"){if(!qe&<(Lt))rt=$t;else if(Lt===""){if(Le.host="",qe)return;rt=ar}else{if(on=Le.parseHost(Lt),on)return on;if(Le.host==="localhost"&&(Le.host=""),qe)return;Lt="",rt=ar}continue}else Lt+=sr;break;case ar:if(Le.isSpecial()){if(rt=$t,sr!=="/"&&sr!=="\\")continue}else if(!qe&&sr==="?")Le.query="",rt=Ir;else if(!qe&&sr==="#")Le.fragment="",rt=kr;else if(sr!==$e&&(rt=$t,sr!=="/"))continue;break;case $t:if(sr===$e||sr==="/"||sr==="\\"&&Le.isSpecial()||!qe&&(sr==="?"||sr==="#")){if(it(Lt)?(Le.shortenPath(),sr!=="/"&&!(sr==="\\"&&Le.isSpecial())&&J(Le.path,"")):Ve(Lt)?sr!=="/"&&!(sr==="\\"&&Le.isSpecial())&&J(Le.path,""):(Le.scheme==="file"&&!Le.path.length&<(Lt)&&(Le.host&&(Le.host=""),Lt=K(Lt,0)+":"),J(Le.path,Lt)),Lt="",Le.scheme==="file"&&(sr===$e||sr==="?"||sr==="#"))for(;Le.path.length>1&&Le.path[0]==="";)Z(Le.path);sr==="?"?(Le.query="",rt=Ir):sr==="#"&&(Le.fragment="",rt=kr)}else Lt+=pe(sr,et);break;case pr:sr==="?"?(Le.query="",rt=Ir):sr==="#"?(Le.fragment="",rt=kr):sr!==$e&&(Le.path[0]+=pe(sr,Oe));break;case Ir:!qe&&sr==="#"?(Le.fragment="",rt=kr):sr!==$e&&(sr==="'"&&Le.isSpecial()?Le.query+="%27":sr==="#"?Le.query+="%23":Le.query+=pe(sr,Oe));break;case kr:sr!==$e&&(Le.fragment+=pe(sr,Ee));break}Tt++}},parseHost:function(wt){var qe,Ue,Le;if(K(wt,0)==="["){if(K(wt,wt.length-1)!=="]"||(qe=ke(ee(wt,1,-1)),!qe))return He;this.host=qe}else if(this.isSpecial()){if(wt=O(wt),X(at,wt)||(qe=ft(wt),qe===null))return He;this.host=qe}else{if(X(ct,wt))return He;for(qe="",Ue=x(wt),Le=0;Le1?arguments[1]:void 0,rt=T(Ue,new er(qe,!1,Le));r||(Ue.href=rt.serialize(),Ue.origin=rt.getOrigin(),Ue.protocol=rt.getProtocol(),Ue.username=rt.getUsername(),Ue.password=rt.getPassword(),Ue.host=rt.getHost(),Ue.hostname=rt.getHostname(),Ue.port=rt.getPort(),Ue.pathname=rt.getPathname(),Ue.search=rt.getSearch(),Ue.searchParams=rt.getSearchParams(),Ue.hash=rt.getHash())},Kt=Nt.prototype,Qt=function(wt,qe){return{get:function(){return D(this)[wt]()},set:qe&&function(Ue){return D(this)[qe](Ue)},configurable:!0,enumerable:!0}};if(r&&(o(Kt,"href",Qt("serialize","setHref")),o(Kt,"origin",Qt("getOrigin")),o(Kt,"protocol",Qt("getProtocol","setProtocol")),o(Kt,"username",Qt("getUsername","setUsername")),o(Kt,"password",Qt("getPassword","setPassword")),o(Kt,"host",Qt("getHost","setHost")),o(Kt,"hostname",Qt("getHostname","setHostname")),o(Kt,"port",Qt("getPort","setPort")),o(Kt,"pathname",Qt("getPathname","setPathname")),o(Kt,"search",Qt("getSearch","setSearch")),o(Kt,"searchParams",Qt("getSearchParams")),o(Kt,"hash",Qt("getHash","setHash"))),c(Kt,"toJSON",function(){return D(this).serialize()},{enumerable:!0}),c(Kt,"toString",function(){return D(this).serialize()},{enumerable:!0}),j){var Cr=j.createObjectURL,Er=j.revokeObjectURL;Cr&&c(Nt,"createObjectURL",s(Cr,j)),Er&&c(Nt,"revokeObjectURL",s(Er,j))}I(Nt,"URL"),t({global:!0,constructor:!0,forced:!n,sham:!r},{URL:Nt})},25204:function(i,d,e){"use strict";e(13588)},47803:function(i,d,e){"use strict";var t=e(94488),r=e(89945);t({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return r(URL.prototype.toString,this)}})},73825:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){if(Array.isArray(r))return r}},65873:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(89878);function r(n,a,s){return a=(0,t.Z)(a),a in n?Object.defineProperty(n,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[a]=s,n}},38329:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var n=1;n=0)&&(s[c]=n[c]);return s}function r(n,a){if(n==null)return{};var s=t(n,a),u,c;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(n,u)&&(s[u]=n[u])}return s}},87296:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(73825);function r(u,c){var o=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(o!=null){var f,_,p,x,g=[],P=!0,O=!1;try{if(p=(o=o.call(u)).next,c===0){if(Object(o)!==o)return;P=!1}else for(;!(P=(f=p.call(o)).done)&&(g.push(f.value),g.length!==c);P=!0);}catch(S){O=!0,_=S}finally{try{if(!P&&o.return!=null&&(x=o.return(),Object(x)!==x))return}finally{if(O)throw _}}return g}}var n=e(99227),a=e(66160);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,a.Z)()}},89878:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(8616);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var c=u.call(a,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function n(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:String(s)}},8616:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},99227:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});function t(n,a){(a==null||a>n.length)&&(a=n.length);for(var s=0,u=new Array(a);sr.length)&&(n=r.length);for(var a=0,s=Array(n);a3?(de=st===le)&&(J=He[(N=He[4])?5:(N=3,3)],He[4]=He[5]=p):He[0]<=ze&&((de=se<2&&zele||le>st)&&(He[4]=se,He[5]=le,ee.n=st,N=0))}if(de||se>1)return I;throw G=!0,le}return function(se,le,de){if(M>1)throw TypeError("Generator is already running");for(G&&le===1&&ie(le,de),N=le,J=de;(x=N<2?p:J)||!G;){W||(N?N<3?(N>1&&(ee.n=-1),ie(N,J)):ee.n=J:ee.v=J);try{if(M=2,W){if(N||(se="next"),x=W[se]){if(!(x=x.call(W,J)))throw TypeError("iterator result is not an object");if(!x.done)return x;J=x.value,N<2&&(N=0)}else N===1&&(x=W.return)&&x.call(W),N<2&&(J=TypeError("The iterator does not provide a '"+se+"' method"),N=1);W=p}else if((x=(G=ee.n<0)?J:K.call(X,ee))!==I)break}catch(He){W=p,N=1,J=He}finally{M=1}}return{value:x,done:G}}}(B,V,H),!0),F}var I={};function E(){}function A(){}function R(){}x=Object.getPrototypeOf;var T=[][P]?x(x([][P]())):(r(x={},P,function(){return this}),x),D=R.prototype=E.prototype=Object.create(T);function k(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,R):(B.__proto__=R,r(B,O,"GeneratorFunction")),B.prototype=Object.create(D),B}return A.prototype=R,r(D,"constructor",R),r(R,"constructor",A),A.displayName="GeneratorFunction",r(R,O,"GeneratorFunction"),r(D),r(D,O,"Generator"),r(D,P,function(){return this}),r(D,"toString",function(){return"[object Generator]"}),(n=function(){return{w:S,m:k}})()}function a(p,x){function g(O,S,I,E){try{var A=p[O](S),R=A.value;return R instanceof t?x.resolve(R.v).then(function(T){g("next",T,I,E)},function(T){g("throw",T,I,E)}):x.resolve(R).then(function(T){A.value=T,I(A)},function(T){return g("throw",T,I,E)})}catch(T){E(T)}}var P;this.next||(r(a.prototype),r(a.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(O,S,I){function E(){return new x(function(A,R){g(O,I,A,R)})}return P=P?P.then(E,E):E()},!0)}function s(p,x,g,P,O){return new a(n().w(p,x,g,P),O||Promise)}function u(p,x,g,P,O){var S=s(p,x,g,P,O);return S.next().then(function(I){return I.done?I.value:S.next()})}function c(p){var x=Object(p),g=[];for(var P in x)g.unshift(P);return function O(){for(;g.length;)if((P=g.pop())in x)return O.value=P,O.done=!1,O;return O.done=!0,O}}var o=e(43749);function f(p){if(p!=null){var x=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],g=0;if(x)return x.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&g>=p.length&&(p=void 0),{value:p&&p[g++],done:!p}}}}throw new TypeError((0,o.Z)(p)+" is not iterable")}function _(){"use strict";var p=n(),x=p.m(_),g=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function P(I){var E=typeof I=="function"&&I.constructor;return!!E&&(E===g||(E.displayName||E.name)==="GeneratorFunction")}var O={throw:1,return:2,break:3,continue:3};function S(I){var E,A;return function(R){E||(E={stop:function(){return A(R.a,2)},catch:function(){return R.v},abrupt:function(D,k){return A(R.a,O[D],k)},delegateYield:function(D,k,B){return E.resultName=k,A(R.d,f(D),B)},finish:function(D){return A(R.f,D)}},A=function(D,k,B){R.p=E.prev,R.n=E.next;try{return D(k,B)}finally{E.next=R.n}}),E.resultName&&(E[E.resultName]=R.v,E.resultName=void 0),E.sent=R.v,E.next=R.n;try{return I.call(this,E)}finally{R.p=E.prev,R.n=E.next}}}return(_=function(){return{wrap:function(A,R,T,D){return p.w(S(A),R,T,D&&D.reverse())},isGeneratorFunction:P,mark:p.m,awrap:function(A,R){return new t(A,R)},AsyncIterator:a,async:function(A,R,T,D,k){return(P(R)?s:u)(S(A),R,T,D,k)},keys:c,values:f}})()}},29658:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,s){return a.__proto__=s,a},t(r,n)}},72190:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(82430);function r(u,c){var o=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(o!=null){var f,_,p,x,g=[],P=!0,O=!1;try{if(p=(o=o.call(u)).next,c===0){if(Object(o)!==o)return;P=!1}else for(;!(P=(f=p.call(o)).done)&&(g.push(f.value),g.length!==c);P=!0);}catch(S){O=!0,_=S}finally{try{if(!P&&o.return!=null&&(x=o.return(),Object(x)!==x))return}finally{if(O)throw _}}return g}}var n=e(68688),a=e(42821);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,a.Z)()}},48745:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(82430),r=e(43835),n=e(68688),a=e(42821);function s(u){return(0,t.Z)(u)||(0,r.Z)(u)||(0,n.Z)(u)||(0,a.Z)()}},77654:function(i,d,e){"use strict";e.d(d,{Z:function(){return u}});var t=e(13750);function r(c){if(Array.isArray(c))return(0,t.Z)(c)}var n=e(43835),a=e(68688);function s(){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 u(c){return r(c)||(0,n.Z)(c)||(0,a.Z)(c)||s()}},73177:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(43749);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var c=u.call(a,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function n(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},43749:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},68688:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(13750);function r(n,a){if(n){if(typeof n=="string")return(0,t.Z)(n,a);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?(0,t.Z)(n,a):void 0}}},53280:function(i,d,e){"use strict";e.d(d,{D:function(){return r}});function t(n,a,s){var u=s||{},c=u.noTrailing,o=c===void 0?!1:c,f=u.noLeading,_=f===void 0?!1:f,p=u.debounceMode,x=p===void 0?void 0:p,g,P=!1,O=0;function S(){g&&clearTimeout(g)}function I(A){var R=A||{},T=R.upcomingOnly,D=T===void 0?!1:T;S(),P=!D}function E(){for(var A=arguments.length,R=new Array(A),T=0;Tn?_?(O=Date.now(),o||(g=setTimeout(x?j:B,n))):B():o!==!0&&(g=setTimeout(x?j:B,x===void 0?n-k:n))}return E.cancel=I,E}function r(n,a,s){var u=s||{},c=u.atBegin,o=c===void 0?!1:c;return t(n,a,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var a=t&2&&e;typeof a=="object"&&!~d.indexOf(a);a=i(a))Object.getOwnPropertyNames(a).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7071:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__WordInfo__index",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index",9967:"p__Problemset__PlagiarismCheck__index"}[i]||i)+"."+{26:"b89cd3b7",65:"d277967e",67:"f0629d02",109:"22016617",195:"21390cbc",264:"c217eb8f",265:"4ca4ad47",292:"f391b1db",310:"3c32b160",316:"1f60ada6",337:"fbe263a7",342:"fb6dfa88",354:"d4d139cf",479:"85eea5c8",485:"7f9afee3",508:"6bac70dc",532:"c6575aaa",533:"8322cec9",547:"a4cdd3d0",556:"08ea9fe0",559:"bc7ce4ea",576:"31262c96",603:"48044779",629:"44a1d9a5",643:"b94d3254",671:"4a609b8d",680:"755875a0",700:"740b177c",737:"8cf2d1b8",741:"ac5fd360",745:"81ff5122",799:"13a18988",869:"1690f890",887:"fed00e95",895:"0fddba0d",919:"663fc736",921:"a81301d7",928:"7e456701",981:"24da50c7",1006:"5bc38ba0",1009:"7ba7de92",1025:"002405d2",1043:"06a039ea",1045:"4c6fd60c",1048:"4ac00bfa",1070:"723fbb25",1144:"c90eccaf",1148:"7bc5335b",1150:"4d6d21e3",1154:"8cb80842",1211:"f3f32794",1253:"40677e24",1257:"34d3ab04",1265:"8ef36df2",1274:"5f6ea65a",1276:"f785b06b",1343:"f4e6644e",1344:"c4124739",1416:"d2d4926b",1423:"0b2e8de3",1427:"9b9240ea",1443:"25b184ad",1450:"e4a30ae7",1461:"cbbeac60",1462:"fcf08abc",1470:"96f9c2d9",1475:"78ffabbd",1482:"f47ce973",1512:"cab7e196",1520:"1f79bf07",1545:"f3a41b49",1548:"e9fd6849",1578:"10723a20",1581:"59ae80b4",1582:"aa55426a",1646:"e6e27b60",1657:"2f9dc17e",1660:"764eb2bd",1674:"0b9b4ff5",1702:"ec34f5e3",1713:"7943e6d7",1717:"728155a5",1727:"3c3baa7d",1783:"89898e4f",1791:"cda096fa",1799:"0a43e887",1831:"397eb45f",1836:"6e07761f",1855:"074b5aae",1880:"d4070229",1939:"1d20f348",1953:"2f44809e",1962:"25089749",1994:"ad8d6fb4",2011:"59d51f98",2045:"86c21a11",2076:"723daa2d",2102:"f700047d",2141:"a6644385",2216:"98766c5e",2240:"7658eaab",2249:"f4830452",2254:"8104e299",2300:"98cba9a2",2303:"ea50fc7c",2306:"b6caadab",2307:"01817871",2338:"9d080acc",2339:"5366ec72",2386:"192e235c",2396:"6131728e",2403:"a6a961de",2404:"cee2c82b",2412:"294e5f32",2425:"196a5600",2443:"06e31eef",2476:"bb4a73b6",2494:"68080a87",2501:"dd175936",2524:"4404f98e",2529:"1ba58bb3",2538:"b13419fc",2539:"330b15dc",2548:"e4f0d71b",2570:"35e59ee5",2594:"e87d3761",2603:"a0c4d81f",2659:"fa46c735",2707:"ac630eb6",2755:"a6274666",2806:"0838ee37",2819:"8e37b0da",2823:"73dda40f",2826:"fa8e4190",2829:"80d1cc35",2837:"54a82605",2865:"e8bd7a6c",2875:"add9ac52",2884:"2693b0f7",2969:"ab3357d7",2983:"b60ef798",3006:"24217561",3133:"9bf3f89c",3141:"d82c53d7",3157:"2c9b88c2",3183:"1abbfe7b",3198:"8e655451",3212:"d37e948c",3220:"bdfa8744",3247:"8108ab62",3260:"10ceb42b",3282:"a0e1cbcb",3317:"66c25cc8",3332:"9b5b73ec",3355:"c3d66869",3356:"2be7f73f",3363:"ad6b1627",3391:"16db7302",3433:"c334b905",3442:"a4398f34",3443:"d5c23953",3447:"2ed3c1cb",3451:"7a97aec8",3496:"9d39a6be",3504:"1ca07456",3509:"2e889a9f",3550:"3dc83156",3581:"94dacf86",3585:"4b647a13",3589:"946bcbf7",3665:"31e3212c",3668:"27dbb491",3673:"9b87a43c",3685:"4e37aa56",3697:"481a10d9",3747:"389d31de",3754:"802b23ca",3777:"d5b0f2f1",3784:"443550ea",3805:"9dbcb95e",3862:"412c4155",3873:"97f91874",3885:"f87f7f15",3897:"4452c4eb",3910:"ea665202",3935:"f02db7ec",3951:"7d3efe61",3987:"5cecd51b",4014:"27a8e97c",4017:"b4c7fc6c",4030:"736cef3d",4056:"399416eb",4058:"0acf0937",4078:"618b3002",4088:"6f7d1078",4093:"f43ca636",4105:"db0aa6f9",4144:"61f84719",4164:"d6070689",4216:"31053744",4217:"606f8ebd",4227:"e7f3a3cc",4259:"2f81d04b",4264:"a117e956",4339:"e689d160",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"0f7a3d9c",4492:"28e2556f",4496:"385bcd59",4498:"a6cef753",4504:"0b32ea61",4510:"2597fe4f",4514:"523061df",4520:"0dfb71b9",4546:"dcd74a80",4565:"36542a0b",4572:"2553761c",4599:"e67de77a",4601:"6e6f7bcc",4610:"3a8b24a1",4621:"a77eb159",4628:"ece2c60c",4662:"8d7eab2a",4685:"c33f1528",4715:"5abcae36",4736:"0c2b21af",4741:"c8bd920b",4757:"16e591cd",4766:"9f733b90",4770:"017284fa",4790:"619413e4",4795:"dd01d211",4797:"a24e92db",4800:"f9e26592",4849:"527e2bc7",4850:"1edda4b7",4862:"73a09028",4884:"222d4674",4889:"d5a7cbac",4928:"dfde02b5",4973:"42229873",4994:"fb09edb6",5022:"9dc94d61",5043:"5a950d82",5048:"893c1fbf",5060:"85dafcc6",5096:"1675b86e",5111:"d8b754e2",5125:"e4d709d9",5148:"f5787599",5176:"16230fa3",5179:"7202ad91",5186:"223b8fcf",5191:"dc8d58eb",5238:"9f479158",5290:"5dabcdc2",5297:"188595e4",5319:"ebeb4afd",5321:"1163c84e",5335:"b8f70655",5354:"7ae70604",5357:"43a7f2b7",5359:"f079ce1a",5382:"b6ba7cf1",5402:"e9aec0e8",5416:"454536b7",5434:"38b302a6",5470:"955a7815",5494:"d89549c4",5518:"d6e0c1f6",5549:"e1ab395e",5572:"d944a551",5573:"84d59845",5599:"41f4e6ad",5624:"2eaf38a6",5631:"e00d3d36",5650:"9b312a7a",5679:"4a090bef",5705:"bee4dbdc",5724:"d7619c24",5729:"a1ac4a5d",5741:"28af47d1",5764:"e0d7e586",5775:"e1497e9b",5786:"ae8beb66",5798:"c49aec4a",5816:"c270b8c0",5825:"ce53615d",5876:"5eded409",5888:"f03f52b7",5891:"ab5742d8",5895:"c82a8547",5902:"83fad75c",5911:"84a8d8dc",5915:"60431b29",5927:"52518a47",5977:"3ccfa3a0",5992:"b3f98b16",6029:"7b99fae8",6034:"c5dc95ba",6045:"d268f87f",6047:"3ce45acd",6052:"ca07066f",6063:"b205c7ee",6069:"a2b26da4",6126:"99519171",6127:"270ef356",6170:"dfb11dab",6265:"7c6f1c0d",6270:"5f18eaef",6274:"e16f53d9",6277:"cf771734",6328:"d186199d",6366:"f09e7f54",6378:"7f3a946a",6411:"f0fd2ecb",6434:"cbc30925",6444:"d1c71f93",6452:"207b879b",6531:"ce5fd4ef",6541:"5bcbeebd",6583:"a18f1386",6587:"fe1009e7",6634:"8ddb9879",6651:"87c894a8",6685:"0e970874",6729:"663ab41a",6741:"50bec1f5",6758:"b3711d57",6774:"59d4d618",6784:"504c5ad4",6788:"649bf9b8",6796:"7db3804b",6805:"bb25a231",6820:"99dc9550",6845:"a545a012",6882:"735c0203",6883:"9de45cba",6904:"bdd832e8",6913:"5cf47e4f",6963:"75faf07c",6982:"12a68ba9",7008:"504b70ca",7042:"dfa78e4c",7043:"dc00171a",7045:"e8655fc5",7046:"472b64f1",7058:"4fa72318",7062:"76a31bb5",7071:"2cff0443",7084:"46ccce72",7156:"e7466006",7172:"1cc41681",7178:"216c802e",7182:"557087a9",7242:"ac7eb2f6",7260:"6a98d42d",7331:"2e27a23b",7333:"3e739be4",7365:"1005464f",7395:"2930bcfc",7460:"04144919",7477:"4f543afd",7482:"c9abacbd",7527:"b58cad28",7545:"ee91c248",7560:"3acf8e97",7589:"41e3c391",7591:"c8233ce9",7614:"4dbed073",7622:"50f43241",7686:"4fcec9f9",7706:"c2a79e40",7806:"b11a1b44",7852:"5608e30f",7855:"33f48473",7857:"99700a2b",7878:"375e8be7",7883:"d84bf1b8",7884:"be0ba919",7922:"5920fc7b",7964:"29aed9a1",8014:"5fcb451e",8062:"6e28c4a9",8072:"81eec688",8077:"8e05c11f",8085:"852e592b",8089:"d536b13a",8137:"f2b32381",8143:"27a6a8e5",8155:"d6e9f05b",8161:"83c5fa9a",8237:"a4a9b296",8241:"75fe8b60",8302:"3beb5e73",8307:"73eed79d",8319:"daef91d3",8340:"fdd0efd4",8350:"07df8a75",8398:"ae50475b",8401:"ff7029a8",8431:"aa4e26b5",8435:"4f0ed2ec",8447:"f74f8e98",8517:"8cda84bc",8522:"fe8cc0ca",8561:"333e8ec9",8563:"28caa1a7",8634:"2af8b70f",8639:"834089ab",8665:"0eaab955",8688:"e1febe7c",8689:"8559c1e3",8723:"281b44cb",8737:"ce7dad23",8776:"0ad26240",8782:"12f67d20",8787:"8e2db822",8795:"d899e127",8797:"936b8bb5",8821:"d2f3096b",8823:"a998d897",8827:"734d3277",8842:"9f25a3e2",8866:"cbcce987",8882:"b9bbcf9c",8885:"33a22db0",8898:"d002bcd8",8909:"bbc6aa48",8920:"7f82440c",8963:"790aecdd",8982:"d34fad69",8999:"be40a255",9076:"a2d068cd",9104:"bbcb2345",9133:"99e2fc49",9205:"fd3c6bac",9215:"49934ae5",9252:"0d791a59",9260:"f163e60e",9332:"7a5b684a",9360:"00177a9c",9366:"9f0f3616",9391:"c0e307f6",9404:"9fcc3d3e",9408:"f55e87f2",9416:"4d3efe35",9472:"6f4d9e45",9487:"e5c39d35",9489:"08d56af8",9507:"465a9a93",9554:"ed358e7b",9559:"4ea33181",9590:"29617da7",9595:"8291e9a4",9647:"8f33869b",9649:"afa4dc96",9674:"c310dccd",9677:"50c2fc65",9695:"576683f0",9715:"01ff59d6",9716:"43740383",9785:"38ead8cb",9788:"d7463ab8",9890:"0ca56eba",9891:"1ce043c0",9895:"b8e31ff2",9921:"fa161863",9922:"12c1784e",9928:"5989f5e0",9944:"afb134de",9950:"74f6dfb2",9967:"2f784f7d",9968:"17466785"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7071:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__WordInfo__index",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index",9967:"p__Problemset__PlagiarismCheck__index"}[i]||i)+"."+{26:"02cef2a8",65:"7c280c82",67:"5a02da68",109:"b9c23c40",195:"a7827a3d",264:"5fd9b3fc",265:"136050a9",292:"73a52925",310:"506b2978",337:"5bf299c7",342:"72000c1e",479:"c45fa37d",485:"d63578fe",508:"d74c9eba",532:"bfce089b",533:"34622e39",547:"5581debc",556:"255ba81a",559:"c49aa5ba",576:"8bf77b42",643:"070a1c95",680:"e67e9e01",700:"5d02ed49",737:"72eaccaa",745:"e29412ae",799:"d5dabea9",869:"2837f333",895:"ce8634e8",919:"6eaf043d",921:"b09f4288",928:"8b36f093",1006:"8d6d38d4",1025:"2c1ecd26",1043:"e8c0878b",1045:"95a16ad2",1048:"b970259d",1070:"e67e9e01",1148:"754fff63",1150:"8e2ce819",1211:"bc3106de",1253:"b219dfa9",1257:"7b8c452c",1265:"716a077b",1276:"bbc6eeec",1343:"d0719cd2",1344:"677c8c71",1416:"505cd5e8",1423:"73551cc6",1427:"c8c3a439",1443:"5bd8b2ed",1450:"af800959",1461:"f2a60dbc",1470:"afcb0f79",1475:"770b3f88",1482:"c336290f",1512:"f3653a35",1520:"f7300d0e",1545:"caf81118",1578:"876fcdf1",1581:"2ba7a9a5",1582:"40e27fe1",1657:"6fc66ec7",1674:"fdbc1e05",1702:"f1ec115d",1713:"6dcf8790",1717:"99c0133f",1727:"c6f5247a",1783:"41ee0776",1831:"5fb6cf60",1836:"5f0d3f7f",1855:"f51f8074",1880:"96445ed0",1939:"b97d84a3",1953:"06ae00a6",1962:"84e145fa",1994:"aba61e18",2045:"dcfad42d",2076:"49fbd088",2102:"091a3f15",2141:"5eb2f330",2216:"e87f5f98",2240:"e7cce869",2254:"650b7c49",2303:"7832dd2d",2306:"9c2945de",2307:"b2c54321",2338:"816a2b03",2339:"3453d117",2396:"aa64ba70",2404:"64f0dfd6",2412:"8ae7501f",2425:"c7425255",2443:"747bc9f2",2476:"cf85a190",2501:"2441982c",2524:"f6dbb8a5",2529:"54f849b5",2539:"a245bc54",2548:"75182034",2570:"c2269d0c",2603:"8b36f093",2659:"f6071a36",2707:"cabcb16e",2806:"2adf5399",2819:"208a900b",2823:"a13b21fb",2826:"8166cd21",2829:"b21785ac",2865:"6ef3cf6b",2875:"a7f42891",2884:"e83b4167",2983:"f7cc6b51",3006:"7fce4e74",3141:"2b6ded6a",3157:"690533cd",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"e6148460",3260:"574f2f2a",3282:"12b702e2",3317:"2f074cf4",3332:"646b3049",3355:"d65d3433",3356:"750ef2fc",3391:"89554b70",3433:"5163662c",3442:"65491b2a",3443:"6eaf043d",3447:"1653d818",3451:"e3a31387",3496:"2983a7c2",3509:"70043ca5",3581:"5762609c",3585:"5f288e7b",3665:"4940114f",3668:"0a8f7fca",3673:"11f804fe",3685:"5356e3de",3747:"122b6558",3784:"05ecae20",3873:"80214c77",3897:"841fecaf",3910:"658d457f",3935:"c5705a64",3951:"4d7ff73e",4030:"2880f134",4056:"10eacfff",4078:"aa54548e",4093:"ddfb7467",4105:"4f357d5b",4144:"f10aa199",4164:"71b7b07e",4216:"8b36f093",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"f9cbf3dd",4339:"5a833b31",4449:"e68d8d58",4492:"a1cdbfda",4496:"ba3ebf0e",4498:"87217a34",4504:"789880c2",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"4337b611",4601:"3c8ac557",4610:"687005a6",4621:"b057ca01",4662:"321c7005",4715:"b3fe5b0e",4736:"2d0b3432",4741:"dd75bffc",4757:"73b754d2",4766:"b5df5a8e",4770:"6dfa8e98",4795:"186757af",4800:"f50302a4",4849:"4a470ce5",4862:"aba980fe",4884:"bd293d3b",4889:"da1fa698",4928:"3ec9e47f",4973:"129c56e8",4994:"e7027291",5022:"81b1b86b",5043:"3b95475c",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"807f6d58",5176:"9c49e7fa",5179:"21f01751",5186:"2cd2a661",5191:"21d431b2",5238:"809d298f",5297:"3a2685a1",5319:"8547392f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"958b88a6",5382:"743b15e7",5402:"2a0fd260",5470:"3a9d8bd2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"1b599344",5624:"da8b5beb",5650:"f8f63f4b",5705:"df6bf207",5729:"7f59bb24",5741:"0b859539",5775:"a10dc0db",5786:"37a81eaa",5798:"ce1cf7da",5816:"344ec5be",5825:"d03ee626",5888:"16b8b576",5891:"4623f678",5895:"8f26d3ab",5902:"e70e52fa",5915:"bc9c3e69",5927:"849dd0bc",5977:"03cdfb68",5992:"59f9d86d",6029:"231eedac",6052:"ea1fdd8d",6063:"874cf4da",6069:"e55efe00",6127:"66ea13ef",6265:"c461fa93",6270:"cfffd153",6277:"db3a2dbf",6328:"e80c15db",6366:"079fc2d8",6434:"4fd09df6",6444:"848d7a01",6452:"50a6d310",6541:"74b8a9a4",6583:"a83a7607",6587:"9c49e7fa",6634:"d85abf55",6651:"b07fe216",6685:"2692ba77",6729:"ee39dd11",6741:"b838eb14",6758:"3fd17537",6784:"1affe817",6788:"36df67a7",6796:"8c17b3d9",6805:"6a99ab0b",6820:"fe685125",6845:"9ec04f99",6882:"c2d2eada",6883:"175b6265",6904:"0d714487",6913:"ce443aa0",6963:"84e145fa",6982:"fc221b39",7008:"fa5517ed",7042:"6eaf043d",7043:"15de446f",7045:"066ced01",7046:"c7301ded",7058:"1cfa4eee",7062:"b25185fd",7071:"8655384b",7172:"3b787ec7",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"2367f6cf",7477:"292b10a3",7482:"10fe0968",7527:"ca5109ad",7545:"8cf8b49c",7560:"d82e43ca",7589:"6dbf29e0",7614:"1fb1fbe5",7622:"57c675fb",7806:"bd9accb9",7852:"cef7984c",7855:"c29f12c8",7857:"93bafb84",7878:"2b521fde",7883:"4a8cc232",7884:"3390dd88",7922:"02c65dd6",8014:"790e6a6e",8062:"8e384b9f",8072:"49abcba0",8077:"f8fc773d",8085:"281200b1",8137:"66f37f26",8143:"7a285535",8155:"d345abd7",8237:"70178e8a",8241:"20e17df7",8302:"cab164ba",8307:"62d2fb1a",8319:"df434dfe",8398:"10eac70e",8431:"6d48e1b3",8435:"4831c5e2",8447:"dc45b25a",8517:"5785bfb5",8522:"b4523f25",8563:"7169a89d",8634:"8466a07a",8665:"c52575bc",8688:"09221941",8689:"9298acc8",8723:"8bf228c9",8782:"56e11840",8787:"121de108",8795:"23231ec2",8797:"8a9f31fa",8821:"cc565404",8823:"ce242063",8827:"1340638e",8866:"231766ac",8882:"d735d28d",8885:"de905169",8982:"8eebc9f4",8999:"b6d7127f",9076:"6a501148",9133:"68b076e4",9205:"91080458",9215:"f737e7e7",9332:"4cf64377",9360:"a1b209c7",9366:"3f6c2582",9391:"9751a79f",9404:"d8cf04f7",9408:"d3565b1a",9416:"1dc2fd6b",9472:"c4181ed8",9487:"3be6b9d9",9489:"ee2bb5b7",9507:"10297ab2",9590:"3ac4e534",9595:"6eaf043d",9647:"4670ed6a",9649:"12c97e4a",9674:"d1caa2dc",9677:"c4e769c5",9695:"ab6abf3d",9715:"48d6c00d",9716:"1423f218",9785:"ab2c0b58",9788:"4459d92d",9890:"09017dcb",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055",9967:"29a0d7c7"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,a;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return Fr.endsWith("/")?Fr:"".concat(Fr,"/")}var tc=__webpack_require__(38127),ku=__webpack_require__(38329),au=__webpack_require__(8616),ou=["content"],Vi=["content"],kc=/^(http:|https:)?\/\//;function rc(Fr){return kc.test(Fr)||Fr.startsWith("/")&&!Fr.startsWith("/*")||Fr.startsWith("./")||Fr.startsWith("../")}var Mu=function(){return ae.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},ui=function(cn){var Gn,Ta=cn.loaderData,Qn=cn.htmlPageOpts,fa=cn.manifest,ba=(fa==null||(Gn=fa.assets)===null||Gn===void 0?void 0:Gn["umi.css"])||"";return ae.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ta||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Qn||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ba,"'")}})};function is(Fr){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Fr=="string")return rc(Fr)?(0,Ko.Z)({src:Fr},cn):{content:Fr};if((0,au.Z)(Fr)==="object")return(0,Ko.Z)((0,Ko.Z)({},Fr),cn);throw new Error("Invalid script type: ".concat((0,au.Z)(Fr)))}function dl(Fr){return rc(Fr)?{type:"link",href:Fr}:{type:"style",content:Fr}}var fl=function(cn){var Gn,Ta,Qn,fa,ba,ho,Jn=cn.htmlPageOpts;return ae.createElement(ae.Fragment,null,(Jn==null?void 0:Jn.title)&&ae.createElement("title",null,Jn.title),Jn==null||(Gn=Jn.favicons)===null||Gn===void 0?void 0:Gn.map(function(co,Ps){return ae.createElement("link",{key:Ps,rel:"shortcut icon",href:co})}),(Jn==null?void 0:Jn.description)&&ae.createElement("meta",{name:"description",content:Jn.description}),(Jn==null||(Ta=Jn.keywords)===null||Ta===void 0?void 0:Ta.length)&&ae.createElement("meta",{name:"keywords",content:Jn.keywords.join(",")}),Jn==null||(Qn=Jn.metas)===null||Qn===void 0?void 0:Qn.map(function(co){return ae.createElement("meta",{key:co.name,name:co.name,property:co.property,content:co.content})}),Jn==null||(fa=Jn.links)===null||fa===void 0?void 0:fa.map(function(co,Ps){return ae.createElement("link",(0,ku.Z)({key:Ps},co))}),Jn==null||(ba=Jn.styles)===null||ba===void 0?void 0:ba.map(function(co,Ps){var Es=dl(co),Bs=Es.type,zs=Es.href,du=Es.content;if(Bs==="link")return ae.createElement("link",{key:Ps,rel:"stylesheet",href:zs});if(Bs==="style")return ae.createElement("style",{key:Ps},du)}),Jn==null||(ho=Jn.headScripts)===null||ho===void 0?void 0:ho.map(function(co,Ps){var Es=is(co),Bs=Es.content,zs=(0,tc.Z)(Es,ou);return ae.createElement("script",(0,ku.Z)({dangerouslySetInnerHTML:{__html:Bs},key:Ps},zs))}))};function nc(Fr){var cn,Gn=Fr.children,Ta=Fr.loaderData,Qn=Fr.manifest,fa=Fr.htmlPageOpts,ba=Fr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ho=Fr.mountElementId;if(ba!=null&&ba.pureHtml)return ae.createElement("html",null,ae.createElement("head",null,ae.createElement(fl,{htmlPageOpts:fa})),ae.createElement("body",null,ae.createElement(Mu,null),ae.createElement("div",{id:ho},Gn),ae.createElement(ui,{manifest:Qn,loaderData:Ta,htmlPageOpts:fa})));if(ba!=null&&ba.pureApp)return ae.createElement(ae.Fragment,null,Gn);var Jn=typeof window=="undefined"?Qn==null?void 0:Qn.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ae.createElement("html",{suppressHydrationWarning:!0,lang:(fa==null?void 0:fa.lang)||"en"},ae.createElement("head",null,ae.createElement("meta",{charSet:"utf-8"}),ae.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Jn&&ae.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Jn}),ae.createElement(fl,{htmlPageOpts:fa})),ae.createElement("body",null,ae.createElement(Mu,null),ae.createElement("div",{id:ho},Gn),ae.createElement(ui,{manifest:Qn,loaderData:Ta,htmlPageOpts:fa}),fa==null||(cn=fa.scripts)===null||cn===void 0?void 0:cn.map(function(co,Ps){var Es=is(co),Bs=Es.content,zs=(0,tc.Z)(Es,Vi);return ae.createElement("script",(0,ku.Z)({dangerouslySetInnerHTML:{__html:Bs},key:Ps},zs))})))}var Xo=ae.createContext(void 0);function pl(){return ae.useContext(Xo)}var bu=["redirect"];function ju(Fr){var cn=Fr.routesById,Gn=Fr.parentId,Ta=Fr.routeComponents,Qn=Fr.useStream,fa=Qn===void 0?!0:Qn;return Object.keys(cn).filter(function(ba){return cn[ba].parentId===Gn}).map(function(ba){var ho=Mc((0,Ko.Z)((0,Ko.Z)({route:cn[ba],routeComponent:Ta[ba],loadingComponent:Fr.loadingComponent,reactRouter5Compat:Fr.reactRouter5Compat},Fr.reactRouter5Compat&&{hasChildren:Object.keys(cn).filter(function(co){return cn[co].parentId===ba}).length>0}),{},{useStream:fa})),Jn=ju({routesById:cn,routeComponents:Ta,parentId:ho.id,loadingComponent:Fr.loadingComponent,reactRouter5Compat:Fr.reactRouter5Compat,useStream:fa});return Jn.length>0&&(ho.children=Jn,ho.routes=Jn),ho})}function ac(Fr){var cn=(0,Wo.UO)(),Gn=(0,Wo.Gn)(Fr.to,cn),Ta=(0,xu.T$)(),Qn=(0,Wo.TH)();if(Ta!=null&&Ta.keepQuery){var fa=Qn.search+Qn.hash;Gn+=fa}var ba=(0,Ko.Z)((0,Ko.Z)({},Fr),{},{to:Gn});return ae.createElement(Wo.Fg,(0,ku.Z)({replace:!0},ba))}function Mc(Fr){var cn=Fr.route,Gn=Fr.useStream,Ta=Gn===void 0?!0:Gn,Qn=cn.redirect,fa=(0,tc.Z)(cn,bu),ba=Fr.reactRouter5Compat?jc:Lc;return(0,Ko.Z)({element:Qn?ae.createElement(ac,{to:Qn}):ae.createElement(Xo.Provider,{value:{route:Fr.route}},ae.createElement(ba,{loader:ae.memo(Fr.routeComponent),loadingComponent:Fr.loadingComponent||Lu,hasChildren:Fr.hasChildren,useStream:Ta}))},fa)}function Lu(){return ae.createElement("div",null)}function jc(Fr){var cn=pl(),Gn=cn.route,Ta=(0,xu.Ov)(),Qn=Ta.history,fa=Ta.clientRoutes,ba=(0,Wo.UO)(),ho={params:ba,isExact:!0,path:Gn.path,url:Qn.location.pathname},Jn=Fr.loader,co={location:Qn.location,match:ho,history:Qn,params:ba,route:Gn,routes:fa};return Fr.useStream?ae.createElement(ae.Suspense,{fallback:ae.createElement(Fr.loadingComponent,null)},ae.createElement(Jn,co,Fr.hasChildren&&ae.createElement(Wo.j3,null))):ae.createElement(Jn,co,Fr.hasChildren&&ae.createElement(Wo.j3,null))}function Lc(Fr){var cn=Fr.loader;return Fr.useStream?ae.createElement(ae.Suspense,{fallback:ae.createElement(Fr.loadingComponent,null)},ae.createElement(cn,null)):ae.createElement(cn,null)}var Fs=null;function Al(){return Fs}function oc(Fr){var cn=Fr.history,Gn=ae.useState({action:cn.action,location:cn.location}),Ta=(0,gu.Z)(Gn,2),Qn=Ta[0],fa=Ta[1];return(0,ae.useLayoutEffect)(function(){return cn.listen(fa)},[cn]),(0,ae.useLayoutEffect)(function(){function ba(ho){Fr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Fr.routes,clientRoutes:Fr.clientRoutes,location:ho.location,action:ho.action,basename:Fr.basename,isFirst:!!ho.isFirst}})}return ba({location:Qn.location,action:Qn.action,isFirst:!0}),cn.listen(ba)},[cn,Fr.routes,Fr.clientRoutes]),ae.createElement(Wo.F0,{navigator:cn,location:Qn.location,basename:Fr.basename},Fr.children)}function ss(){var Fr=(0,xu.Ov)(),cn=Fr.clientRoutes;return(0,Wo.V$)(cn)}var ic=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Fu=function(cn,Gn){var Ta=cn.basename||"/",Qn=ju({routesById:cn.routes,routeComponents:cn.routeComponents,loadingComponent:cn.loadingComponent,reactRouter5Compat:cn.reactRouter5Compat,useStream:cn.useStream});cn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Qn}});for(var fa=ae.createElement(oc,{basename:Ta,pluginManager:cn.pluginManager,routes:cn.routes,clientRoutes:Qn,history:cn.history},Gn),ba=0,ho=ic;banew Promise((Ta,Qn)=>{var fa=Jn=>{try{ho(Gn.next(Jn))}catch(co){Qn(co)}},ba=Jn=>{try{ho(Gn.throw(Jn))}catch(co){Qn(co)}},ho=Jn=>Jn.done?Ta(Jn.value):Promise.resolve(Jn.value).then(fa,ba);ho((Gn=Gn.apply(Fr,cn)).next())});function vl(){return Nu(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/WordInfo/:userid",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail/testresult",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/WordInfo/:userid",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId/combo",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"81"},82:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"82"},83:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"83"},84:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"85"},86:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"86"},87:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"87"},88:{path:"/classrooms/guidance",parentId:"19",id:"88"},89:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"99"},100:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"102"},103:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"103"},104:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"104"},105:{path:"/classrooms/",parentId:"19",id:"105"},106:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"105",id:"106"},107:{path:"/classrooms/:coursesId/shixun_homework",parentId:"105",id:"107"},108:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"105",id:"108"},109:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"105",id:"109"},110:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"105",id:"110"},111:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"105",id:"111"},112:{path:"/classrooms/:coursesId/exercise",parentId:"105",id:"112"},113:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"105",id:"113"},114:{path:"/classrooms/:coursesId/poll",parentId:"105",id:"114"},115:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"105",id:"115"},116:{path:"/classrooms/:coursesId/common_homework",parentId:"105",id:"116"},117:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"105",id:"117"},118:{path:"/classrooms/:coursesId/group_homework",parentId:"105",id:"118"},119:{path:"/classrooms/:coursesId/teachers",parentId:"105",id:"119"},120:{path:"/classrooms/:coursesId/students",parentId:"105",id:"120"},121:{path:"/classrooms/:coursesId/assistant",parentId:"105",id:"121"},122:{path:"/classrooms/:coursesId/program_homework",parentId:"105",id:"122"},123:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"105",id:"123"},124:{path:"/classrooms/:coursesId/engineering",parentId:"105",id:"124"},125:{path:"/classrooms/:coursesId/learning_path",parentId:"105",id:"125"},126:{path:"/classrooms/:coursesId/resource_recommend",parentId:"105",id:"126"},127:{path:"/classrooms/:coursesId/attendance",parentId:"105",id:"127"},128:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"105",id:"128"},129:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"105",id:"129"},130:{path:"/classrooms/:coursesId/announcement",parentId:"105",id:"130"},131:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"105",id:"131"},132:{path:"/classrooms/:coursesId/online_learning",parentId:"105",id:"132"},133:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"105",id:"133"},134:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"105",id:"134"},135:{path:"/classrooms/:coursesId/attachment",parentId:"105",id:"135"},136:{path:"/classrooms/:coursesId/video",parentId:"105",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"105",id:"137"},138:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"105",id:"138"},139:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"105",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"105",id:"140"},141:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"105",id:"141"},142:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"105",id:"142"},143:{path:"/classrooms/:coursesId/live_video",parentId:"105",id:"143"},144:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"105",id:"144"},145:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"105",id:"145"},146:{path:"/classrooms/:coursesId/board",parentId:"105",id:"146"},147:{path:"/classrooms/:coursesId/course_group",parentId:"105",id:"147"},148:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"105",id:"148"},149:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"105",id:"149"},150:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"105",id:"150"},151:{path:"/classrooms/:coursesId/not_course_group",parentId:"105",id:"151"},152:{path:"/classrooms/:coursesId/statistics/",parentId:"105",id:"152"},153:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"105",id:"153"},154:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"105",id:"154"},155:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"105",id:"155"},156:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"105",id:"156"},157:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"105",id:"157"},158:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"105",id:"158"},159:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"105",id:"159"},160:{path:"/classrooms/:coursesId",parentId:"105",id:"160"},161:{path:"/classrooms/:coursesId/template",parentId:"105",id:"161"},162:{path:"/classrooms/:coursesId/smart_plan",parentId:"105",id:"162"},163:{path:"/classrooms/:coursesId/ai_agent",parentId:"105",id:"163"},164:{path:"/classrooms/:coursesId/ai_knowledge",parentId:"105",id:"164"},165:{path:"/classrooms/:coursesId/smart_plan/:id/detail",parentId:"19",id:"165"},166:{path:"/competitions",parentId:"1",id:"166"},167:{path:"/competitions/index",parentId:"166",id:"167"},168:{path:"/competitions/:identifier/list",parentId:"166",id:"168"},169:{path:"/competitions/exports",parentId:"166",id:"169"},170:{path:"/competitions",parentId:"166",id:"170"},171:{path:"/competitions/:identifier",parentId:"166",id:"171"},172:{path:"/competitions/index/:identifier",parentId:"166",id:"172"},173:{path:"/competitions/:identifier/detail/enroll",parentId:"166",id:"173"},174:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"166",id:"174"},175:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"166",id:"175"},176:{path:"/competitions/detail/:identifier",parentId:"166",id:"176"},177:{path:"/forums",parentId:"1",id:"177"},178:{path:"/forums",parentId:"177",id:"178"},179:{path:"/forums/categories/:memoType",parentId:"177",id:"179"},180:{path:"/forums/new",parentId:"177",id:"180"},181:{path:"/forums/:memoId/edit",parentId:"177",id:"181"},182:{path:"/forums/:memoId",parentId:"177",id:"182"},183:{path:"/problemset",parentId:"1",id:"183"},184:{path:"/problemset",parentId:"183",id:"184"},185:{path:"/problemset/plagiarismcheck",parentId:"183",id:"185"},186:{path:"/problemset/newitem",parentId:"183",id:"186"},187:{path:"/problemset/:type/:id",parentId:"183",id:"187"},188:{path:"/problemset/preview",parentId:"183",id:"188"},189:{path:"/problemset/preview_new",parentId:"183",id:"189"},190:{path:"/problemset/preview_select",parentId:"183",id:"190"},191:{path:"/shixuns",parentId:"1",id:"191"},192:{path:"/shixuns",parentId:"191",id:"192"},193:{path:"/shixuns/exports",parentId:"191",id:"193"},194:{path:"/shixuns/new",parentId:"191",id:"194"},195:{path:"/shixuns/aiStreamIndex",parentId:"191",id:"195"},196:{path:"/shixuns/new/CreateImg",parentId:"191",id:"196"},197:{path:"/shixuns/new/:id/imagepreview",parentId:"191",id:"197"},198:{path:"/shixuns/:id/Merge",parentId:"191",id:"198"},199:{path:"/shixuns/:id/Split",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit",parentId:"191",id:"200"},201:{path:"shixuns/:id/edit/warehouse",parentId:"200",id:"201"},202:{path:"/shixuns/:id/edit/newquestion",parentId:"200",id:"202"},203:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"200",id:"203"},204:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"200",id:"204"},205:{path:"/shixuns/:id/edit/new",parentId:"200",id:"205"},206:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"200",id:"206"},207:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"200",id:"207"},208:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"200",id:"208"},209:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"200",id:"209"},210:{path:"/shixuns/:id",parentId:"191",id:"210"},211:{path:"/shixuns/:id/poll",parentId:"210",id:"211"},212:{path:"/shixuns/:id/challenges",parentId:"210",id:"212"},213:{path:"/shixuns/:id/repository",parentId:"210",id:"213"},214:{path:"/shixuns/:id/secret_repository",parentId:"210",id:"214"},215:{path:"/shixuns/:id/collaborators",parentId:"210",id:"215"},216:{path:"/shixuns/:id/dataset",parentId:"210",id:"216"},217:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"210",id:"217"},218:{path:"/shixuns/:id/shixun_discuss",parentId:"210",id:"218"},219:{path:"/shixuns/:id/ranking_list",parentId:"210",id:"219"},220:{path:"/shixuns/:id/settings",parentId:"210",id:"220"},221:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"210",id:"221"},222:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"210",id:"222"},223:{path:"/shixuns/:id/repository/upload_file",parentId:"210",id:"223"},224:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"210",id:"224"},225:{path:"/shixuns/:id/repository/add_file",parentId:"210",id:"225"},226:{path:"/shixuns/:id/secret_repository/add_file",parentId:"210",id:"226"},227:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"210",id:"227"},228:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"210",id:"228"},229:{path:"/shixuns/:id/audit_situation",parentId:"210",id:"229"},230:{path:"/shixuns/:id/fork_list",parentId:"210",id:"230"},231:{path:"/users",parentId:"1",id:"231"},232:{path:"/users/:username/membercenter",parentId:"231",id:"232"},233:{path:"/users/:username/videos/protocol",parentId:"231",id:"233"},234:{path:"/users/:username/videos/resourceProtocol",parentId:"231",id:"234"},235:{path:"/users/:username/videos/success",parentId:"231",id:"235"},236:{path:"/users/:username/topicbank/:topicstype",parentId:"231",id:"236"},237:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"231",id:"237"},238:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"231",id:"238"},239:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"231",id:"239"},240:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"231",id:"240"},241:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"231",id:"241"},242:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"231",id:"242"},243:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"231",id:"243"},244:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"231",id:"244"},245:{path:"/users/:username/experiment-img/add",parentId:"231",id:"245"},246:{path:"/users/:username",parentId:"231",id:"246"},247:{path:"/users/:username",parentId:"246",id:"247"},248:{path:"/users/:username/baseInfo/edit",parentId:"246",id:"248"},249:{path:"/users/:username/baseInfo",parentId:"246",id:"249"},250:{path:"/users/:username/realNameCertification",parentId:"246",id:"250"},251:{path:"/users/:username/careerCertification",parentId:"246",id:"251"},252:{path:"/users/:username/classrooms",parentId:"246",id:"252"},253:{path:"/users/:username/shixuns",parentId:"246",id:"253"},254:{path:"/users/:username/dataSet",parentId:"246",id:"254"},255:{path:"/users/:username/userPortrait",parentId:"246",id:"255"},256:{path:"/users/:username/learningPath",parentId:"246",id:"256"},257:{path:"/users/:username/teach-group",parentId:"246",id:"257"},258:{path:"/users/:username/competitions",parentId:"246",id:"258"},259:{path:"/users/:username/experiment-img",parentId:"246",id:"259"},260:{path:"/users/:username/experiment-img/:experid/detail",parentId:"246",id:"260"},261:{path:"/users/:username/certificate",parentId:"246",id:"261"},262:{path:"/users/:username/otherResources",parentId:"246",id:"262"},263:{path:"/users/:username/paths",parentId:"246",id:"263"},264:{path:"/users/:username/projects",parentId:"246",id:"264"},265:{path:"/users/:username/videos",parentId:"246",id:"265"},266:{path:"/users/:username/videos/upload",parentId:"246",id:"266"},267:{path:"/users/:username/topics/:topicstype",parentId:"246",id:"267"},268:{path:"/users/:username/vspaces",parentId:"246",id:"268"},269:{path:"/users/:username/resourcesCenter",parentId:"246",id:"269"},270:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"246",id:"270"},271:{path:"/users/:username/resourceGuarantee",parentId:"246",id:"271"},272:{path:"/users/:username/resourceAllocation",parentId:"246",id:"272"},273:{parentId:"1",id:"273"},274:{path:"/problems",parentId:"273",id:"274"},275:{path:"/problems",parentId:"274",id:"275"},276:{path:"/problems/batchAdd",parentId:"274",id:"276"},277:{path:"/problems/newcreate",parentId:"273",id:"277"},278:{path:"/problems/newedit/:id",exact:!0,parentId:"273",id:"278"},279:{path:"/problems/:id/edit",exact:!0,parentId:"273",id:"279"},280:{path:"/problems/new",exact:!0,parentId:"273",id:"280"},281:{path:"/problems/:id/oj/:save_identifier",parentId:"273",id:"281"},282:{path:"/problems/:id/record-detail/:submitId",parentId:"273",id:"282"},283:{path:"/problems/add",parentId:"273",id:"283"},284:{path:"/problems/:id/ojedit",parentId:"273",id:"284"},285:{path:"/engineering",parentId:"1",id:"285"},286:{path:"/engineering",parentId:"285",id:"286"},287:{path:"/engineering/teacherList",parentId:"286",id:"287"},288:{path:"/engineering/studentList",parentId:"286",id:"288"},289:{path:"/engineering/training/program",parentId:"286",id:"289"},290:{path:"/engineering/training/program/add",parentId:"286",id:"290"},291:{path:"/engineering/training/program/edit",parentId:"286",id:"291"},292:{path:"/engineering/training/objectives",parentId:"286",id:"292"},293:{path:"/engineering/graduated/index",parentId:"286",id:"293"},294:{path:"/engineering/graduated/matrix",parentId:"286",id:"294"},295:{path:"/engineering/course/list",parentId:"286",id:"295"},296:{path:"/engineering/course/setting",parentId:"286",id:"296"},297:{path:"/engineering/course/matrix",parentId:"286",id:"297"},298:{path:"/engineering/navigation",parentId:"286",id:"298"},299:{path:"/engineering/evaluate/course",parentId:"286",id:"299"},300:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"286",id:"300"},301:{path:"/engineering/evaluate/norm",parentId:"286",id:"301"},302:{path:"/engineering/evaluate/document",parentId:"286",id:"302"},303:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"286",id:"303"},304:{path:"/engineering/*",redirect:"/404",parentId:"286",id:"304"},305:{path:"/innovation",parentId:"1",id:"305"},306:{path:"/innovation/tasks/:taskId",parentId:"305",id:"306"},307:{path:"/innovation",parentId:"305",id:"307"},308:{path:"/innovation/project",parentId:"307",id:"308"},309:{path:"/innovation/dataset",parentId:"307",id:"309"},310:{path:"/innovation/mirror",parentId:"307",id:"310"},311:{path:"/innovation/my-project",parentId:"307",id:"311"},312:{path:"/innovation/my-dataset",parentId:"307",id:"312"},313:{path:"/innovation/my-mirror",parentId:"307",id:"313"},314:{path:"/innovation/project/create",parentId:"307",id:"314"},315:{path:"/innovation/project/edit/:id",parentId:"307",id:"315"},316:{path:"/innovation/project/detail/:taskId",parentId:"307",id:"316"},317:{path:"/tasks",parentId:"1",id:"317"},318:{path:"/tasks/:taskId",exact:!0,parentId:"317",id:"318"},319:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"317",id:"319"},320:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"317",id:"320"},321:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"317",id:"321"},322:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"317",id:"322"},323:{path:"/tasks/:taskId/result",exact:!0,parentId:"317",id:"323"},324:{path:"/myproblems",parentId:"1",id:"324"},325:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"324",id:"325"},326:{path:"/myproblems/:id",exact:!0,parentId:"324",id:"326"},327:{path:"/account",parentId:"1",id:"327"},328:{path:"/account",parentId:"327",id:"328"},329:{path:"/account/profile",parentId:"328",id:"329"},330:{path:"/account/profile/edit",parentId:"328",id:"330"},331:{path:"/account/certification",parentId:"328",id:"331"},332:{path:"/account/secure",parentId:"328",id:"332"},333:{path:"/account/binding",parentId:"328",id:"333"},334:{path:"/account/Results",parentId:"328",id:"334"},335:{path:"/ch",parentId:"1",id:"335"},336:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"335",id:"336"},337:{path:"/ch/rest/",exact:!0,parentId:"335",id:"337"},338:{path:"/ch/rest/:id",exact:!0,parentId:"335",id:"338"},339:{path:"/order",parentId:"1",id:"339"},340:{path:"/order",parentId:"339",id:"340"},341:{path:"/order/invoice",parentId:"339",id:"341"},342:{path:"/order/records",parentId:"339",id:"342"},343:{path:"/order/apply",parentId:"339",id:"343"},344:{path:"/order/view",parentId:"339",id:"344"},345:{path:"/order/:courseId/information",parentId:"339",id:"345"},346:{path:"/order/:courseId/pay",parentId:"339",id:"346"},347:{path:"/order/:orderNum/result",parentId:"339",id:"347"},348:{path:"/messages",parentId:"1",id:"348"},349:{path:"/messages/:userId/user_tidings",parentId:"348",id:"349"},350:{path:"/messages/:userId/private_messages",parentId:"348",id:"350"},351:{path:"/messages/:userId/message_detail",parentId:"348",id:"351"},352:{path:"/vtrs",parentId:"1",id:"352"},353:{path:"/vtrs/:virtual_spacesId",parentId:"352",id:"353"},354:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"353",id:"354"},355:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"353",id:"355"},356:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"353",id:"356"},357:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"353",id:"357"},358:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"353",id:"358"},359:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"353",id:"359"},360:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"353",id:"360"},361:{path:"/vtrs/:virtual_spacesId/survey",parentId:"353",id:"361"},362:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"353",id:"362"},363:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"353",id:"363"},364:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"353",id:"364"},365:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"353",id:"365"},366:{path:"/vtrs/:virtual_spacesId/material",parentId:"353",id:"366"},367:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"353",id:"367"},368:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"353",id:"368"},369:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"353",id:"369"},370:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"353",id:"370"},371:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"353",id:"371"},372:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"353",id:"372"},373:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"353",id:"373"},374:{path:"/vtrs/:virtual_spacesId/settings",parentId:"353",id:"374"},375:{path:"/vtrs/:virtual_spacesId/resources",parentId:"353",id:"375"},376:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"353",id:"376"},377:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"353",id:"377"},378:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"353",id:"378"},379:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"353",id:"379"},380:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"353",id:"380"},381:{path:"/vtrs/:virtual_spacesId/*",parentId:"353",id:"381"},382:{path:"/101",parentId:"1",id:"382"},383:{path:"/101/:virtual_spacesId",parentId:"382",id:"383"},384:{path:"/101/:virtual_spacesId",exact:!0,parentId:"383",id:"384"},385:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"383",id:"385"},386:{path:"/101/:virtual_spacesId/experiment",parentId:"383",id:"386"},387:{path:"/101/:virtual_spacesId/announcement",parentId:"383",id:"387"},388:{path:"/101/:virtual_spacesId/announcement/add",parentId:"383",id:"388"},389:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"383",id:"389"},390:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"383",id:"390"},391:{path:"/101/:virtual_spacesId/survey",parentId:"383",id:"391"},392:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"383",id:"392"},393:{path:"/101/:virtual_spacesId/knowledge",parentId:"383",id:"393"},394:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"383",id:"394"},395:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"383",id:"395"},396:{path:"/101/:virtual_spacesId/material",parentId:"383",id:"396"},397:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"383",id:"397"},398:{path:"/101/:virtual_spacesId/lesson",parentId:"383",id:"398"},399:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"383",id:"399"},400:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"383",id:"400"},401:{path:"/101/:virtual_spacesId/discussion",parentId:"383",id:"401"},402:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"383",id:"402"},403:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"383",id:"403"},404:{path:"/101/:virtual_spacesId/settings",parentId:"383",id:"404"},405:{path:"/101/:virtual_spacesId/resources",parentId:"383",id:"405"},406:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"383",id:"406"},407:{path:"/101/:virtual_spacesId/Plan",parentId:"383",id:"407"},408:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"383",id:"408"},409:{path:"/101/:virtual_spacesId/digtal",parentId:"383",id:"409"},410:{path:"/101/:virtual_spacesId/homepage",parentId:"383",id:"410"},411:{path:"/101/:virtual_spacesId/*",parentId:"383",id:"411"},412:{path:"/administration",parentId:"1",id:"412"},413:{path:"/administration",parentId:"412",id:"413"},414:{path:"/administration/college",parentId:"413",id:"414"},415:{path:"/administration/student",parentId:"413",id:"415"},416:{path:"/administration/student/:studentId/edit",parentId:"413",id:"416"},417:{path:"/administration/profession",parentId:"413",id:"417"},418:{path:"/administration/classroom",parentId:"413",id:"418"},419:{path:"/graduations",parentId:"1",id:"419"},420:{path:"/graduations",exact:!0,parentId:"419",id:"420"},421:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"419",id:"421"},422:{path:"/graduations/:id",parentId:"419",id:"422"},423:{path:"/graduations/:id/index",parentId:"422",id:"423"},424:{path:"/graduations/:id/topics",parentId:"422",id:"424"},425:{path:"/graduations/:id/student_selection",parentId:"422",id:"425"},426:{path:"/graduations/:id/tasks",parentId:"422",id:"426"},427:{path:"/graduations/:id/opening_report",parentId:"422",id:"427"},428:{path:"/graduations/:id/midterm_report",parentId:"422",id:"428"},429:{path:"/graduations/:id/thesis",parentId:"422",id:"429"},430:{path:"/graduations/:id/final_defense",parentId:"422",id:"430"},431:{path:"/graduations/:id/final_thesis",parentId:"422",id:"431"},432:{path:"/graduations/:id/settings",parentId:"422",id:"432"},433:{path:"/graduations/:id/teachers",parentId:"422",id:"433"},434:{path:"/graduations/:id/students",parentId:"422",id:"434"},435:{path:"/graduations/:id/archives",parentId:"422",id:"435"},436:{path:"/graduations/:id/grading_summary",parentId:"422",id:"436"},437:{path:"/dataset",parentId:"1",id:"437"},438:{path:"/dataset",exact:!0,parentId:"437",id:"438"},439:{path:"/dataset/:id/detail",exact:!0,parentId:"437",id:"439"},440:{path:"/knowledgegraph",parentId:"1",id:"440"},441:{path:"/knowledgegraph/:pathId",parentId:"440",id:"441"},442:{path:"/knowledgegraph/:pathId/abilityMap/edit/:abilityMapId",parentId:"440",id:"442"},443:{path:"/knowledgegraph/:pathId/abilityMap/detail/:abilityId",parentId:"440",id:"443"},444:{path:"/knowledgegraph/:pathId/statistics",parentId:"440",id:"444"},445:{parentId:"440",id:"445"},446:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId",parentId:"445",id:"446"},447:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId/detail/:detailId",parentId:"445",id:"447"},448:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId",parentId:"445",id:"448"},449:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId/detail",parentId:"445",id:"449"},450:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId",parentId:"445",id:"450"},451:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId/detail/:detailId",parentId:"445",id:"451"},452:{path:"/miniprogram",parentId:"1",id:"452"},453:{path:"/miniprogram/courseware/study",exact:!0,parentId:"452",id:"453"},454:{path:"/educoder-demo",exact:!0,parentId:"1",id:"454"},455:{path:"/classrooms/:coursesId/smart_plan/:id/ppt_info/info",exact:!0,parentId:"1",id:"455"},456:{path:"/classrooms/:coursesId/smart_plan/:id/users/:user_login/ppt_info/info",exact:!0,parentId:"1",id:"456"},457:{path:"/training",parentId:"1",id:"457"},458:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"457",id:"458"},459:{path:"/largeScreen",exact:!0,parentId:"1",id:"459"},460:{path:"/effectivenessAnalysis/:coursesId",exact:!0,parentId:"1",id:"460"},461:{path:"/studentEffectivenessAnalysis/:coursesId",exact:!0,parentId:"1",id:"461"},462:{path:"/quality",parentId:"1",id:"462"},463:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"462",id:"463"},464:{path:"/otherlogin",exact:!0,parentId:"1",id:"464"},465:{path:"/otherloginqq",exact:!0,parentId:"1",id:"465"},466:{path:"/otherloginstart",exact:!0,parentId:"1",id:"466"},467:{path:"/pathsoverview",exact:!0,parentId:"1",id:"467"},468:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"468"},469:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"469"},470:{path:"/login",parentId:"1",id:"470"},471:{path:"/login",parentId:"470",id:"471"},472:{path:"/user",parentId:"1",id:"472"},473:{path:"/user/login",parentId:"472",id:"473"},474:{path:"/user/register",parentId:"472",id:"474"},475:{path:"/user/reset-password",parentId:"472",id:"475"},476:{path:"/colleges",parentId:"1",id:"476"},477:{path:"/colleges/:id/statistics",parentId:"476",id:"477"},478:{path:"/help",parentId:"1",id:"478"},479:{path:"/help/:id",parentId:"478",id:"479"},480:{path:"/video",parentId:"1",id:"480"},481:{path:"/video/:videoId",parentId:"480",id:"481"},482:{path:"/terminal",parentId:"1",id:"482"},483:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"483"},484:{path:"/wrongAnswer",parentId:"1",id:"484"},485:{path:"/bwdemo",parentId:"1",id:"485"},486:{path:"/",parentId:"1",id:"486"},487:{path:"/",exact:!0,parentId:"486",id:"487"},488:{path:"/api/*",exact:!0,parentId:"486",id:"488"},489:{path:"/search",exact:!0,parentId:"486",id:"489"},490:{path:"/moop_cases",exact:!0,parentId:"486",id:"490"},491:{path:"/moop_cases/new",exact:!0,parentId:"486",id:"491"},492:{path:"/moop_cases/:caseId",exact:!0,parentId:"486",id:"492"},493:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"486",id:"493"},494:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"486",id:"494"},495:{path:"/randompaper",exact:!0,parentId:"486",id:"495"},496:{path:"/randompaper/edit/:id",exact:!0,parentId:"486",id:"496"},497:{path:"/randompaper/detail/:id",exact:!0,parentId:"486",id:"497"},498:{path:"/403",parentId:"486",id:"498"},499:{path:"/500",parentId:"486",id:"499"},500:{path:"/404",parentId:"486",id:"500"},501:{path:"/download",parentId:"486",id:"501"},502:{path:"/iwce",parentId:"486",id:"502"},503:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"486",id:"503"},504:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"486",id:"504"},505:{path:"/Activities",parentId:"486",id:"505"},506:{path:"/iwce/:itemname",parentId:"486",id:"506"},507:{path:"/knowledgeHub",parentId:"486",id:"507"},508:{path:"/admin/vgpu/:path*",parentId:"486",id:"508"},509:{path:"/hpc-course",parentId:"486",id:"509"},510:{path:"/user_agents",parentId:"486",id:"510"},511:{path:"/three",parentId:"486",id:"511"},512:{path:"/introduction",parentId:"486",id:"512"},513:{path:"/chatgpt",parentId:"486",id:"513"},514:{path:"/*",parentId:"486",id:"514"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),2:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),3:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,85207))),4:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,73910))),5:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,73910))),6:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3247)]).then(__webpack_require__.bind(__webpack_require__,80652))),7:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),8:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,84550))),9:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),10:ae.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,78416))),11:ae.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,59677))),12:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,71771))),13:ae.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,8589))),14:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,9319))),15:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,3286))),16:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,71771))),17:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),18:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),19:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),20:ae.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,17369))),21:ae.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,19609))),22:ae.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,28397))),23:ae.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,17369))),24:ae.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83414))),25:ae.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83414))),26:ae.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,15846))),27:ae.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,15846))),28:ae.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,13249))),29:ae.lazy(()=>__webpack_require__.e(7071).then(__webpack_require__.bind(__webpack_require__,96676))),30:ae.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,61328))),31:ae.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,96287))),32:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,27038))),33:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5927)]).then(__webpack_require__.bind(__webpack_require__,7957))),34:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,5062))),35:ae.lazy(()=>Promise.all([__webpack_require__.e(3363),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,45830))),36:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,58615))),37:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,98025))),38:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,3508))),39:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,40024))),40:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,74408))),41:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,58694))),42:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,29479))),43:ae.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,3975))),44:ae.lazy(()=>__webpack_require__.e(8795).then(__webpack_require__.bind(__webpack_require__,69696))),45:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,62536))),46:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),47:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,27197))),48:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,93812))),49:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,15943))),50:ae.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,94791))),51:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,74379))),52:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,20271))),53:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,28808))),54:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,28808))),55:ae.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,61802))),56:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,53229))),57:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,53229))),58:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,53229))),59:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8431)]).then(__webpack_require__.bind(__webpack_require__,92356))),60:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3504),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,37171))),61:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3504),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,9644))),62:ae.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,9906))),63:ae.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,9906))),64:ae.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,62475))),65:ae.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,62475))),66:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,98097))),67:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,54122))),68:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,73302))),69:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,38644))),70:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,16866))),71:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,29633))),72:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,74442))),73:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,65205))),74:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,75362))),75:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,42377))),76:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,4477))),77:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,420))),78:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,43747))),79:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,43539))),80:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,28147))),81:ae.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,58772))),82:ae.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,82117))),83:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,3778))),84:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,47290))),85:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,2342))),86:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,94665))),87:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,93785))),88:ae.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,8589))),89:ae.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,63686))),90:ae.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,56781))),91:ae.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,72675))),92:ae.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,23185))),93:ae.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,77171))),94:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,82534))),95:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,82534))),96:ae.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,55459))),97:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,67914))),98:ae.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,67757))),99:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,57287))),100:ae.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,9690))),101:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60211))),102:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,56003))),103:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,1950))),104:ae.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,95904))),105:ae.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,21733))),106:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,30038))),107:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,30038))),108:ae.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,62244))),109:ae.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,95260))),110:ae.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,95260))),111:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9388))),112:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9388))),113:ae.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,34587))),114:ae.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,34587))),115:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,86192))),116:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,86192))),117:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,83113))),118:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,83113))),119:ae.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,69061))),120:ae.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,16993))),121:ae.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,7913))),122:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,67782))),123:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,67782))),124:ae.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,48994))),125:ae.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,72047))),126:ae.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,44583))),127:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,79074))),128:ae.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,6019))),129:ae.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,6101))),130:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,58231))),131:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,58231))),132:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,23817))),133:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,23817))),134:ae.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,40204))),135:ae.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,40204))),136:ae.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,54838))),137:ae.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,54838))),138:ae.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,90842))),139:ae.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,51976))),140:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,98818))),141:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,3690))),142:ae.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,34079))),143:ae.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,34079))),144:ae.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,19900))),145:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,55124))),146:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,55124))),147:ae.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,59886))),148:ae.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,59886))),149:ae.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,77161))),150:ae.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,56184))),151:ae.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,56184))),152:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,58287))),153:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,58287))),154:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,7775))),155:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55354))),156:ae.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,7846))),157:ae.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,30233))),158:ae.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,54791))),159:ae.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,79265))),160:ae.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,44979))),161:ae.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,82730))),162:ae.lazy(()=>__webpack_require__.e(5741).then(__webpack_require__.bind(__webpack_require__,21643))),163:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2306)]).then(__webpack_require__.bind(__webpack_require__,60351))),164:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1994)]).then(__webpack_require__.bind(__webpack_require__,23170))),165:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(745)]).then(__webpack_require__.bind(__webpack_require__,28669))),166:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),167:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,18317))),168:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,18317))),169:ae.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,56881))),170:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,18317))),171:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2403),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,1152))),172:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2403),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,1152))),173:ae.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,17043))),174:ae.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,10350))),175:ae.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,26071))),176:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2403),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,58253))),177:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),178:ae.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,3268))),179:ae.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,53318))),180:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,44540))),181:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,44540))),182:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,90467))),183:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),184:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),185:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9967)]).then(__webpack_require__.bind(__webpack_require__,78523))),186:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,92109))),187:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,92109))),188:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1581)]).then(__webpack_require__.bind(__webpack_require__,72186))),189:ae.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,7240))),190:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),191:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),192:ae.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,93333))),193:ae.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,91039))),194:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,65728))),195:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8821)]).then(__webpack_require__.bind(__webpack_require__,436))),196:ae.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,64045))),197:ae.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,17177))),198:ae.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,56506))),199:ae.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,88499))),200:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(887),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,50434))),201:ae.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,31500))),202:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,33168))),203:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,14421))),204:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,14421))),205:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,9194))),206:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,9194))),207:ae.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,74599))),208:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,13326))),209:ae.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,76139))),210:ae.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,54330))),211:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(9472)]).then(__webpack_require__.bind(__webpack_require__,86167))),212:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,88306))),213:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),214:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),215:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,58666))),216:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,93995))),217:ae.lazy(()=>Promise.all([__webpack_require__.e(887),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,35142))),218:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,35561))),219:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,59596))),220:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,95333))),221:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,55022))),222:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,55022))),223:ae.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,24584))),224:ae.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,24584))),225:ae.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,42957))),226:ae.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,42957))),227:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),228:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),229:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,87924))),230:ae.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,405))),231:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),232:ae.lazy(()=>__webpack_require__.e(7172).then(__webpack_require__.bind(__webpack_require__,791))),233:ae.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,45432))),234:ae.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,17992))),235:ae.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,13022))),236:ae.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,54274))),237:ae.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,83792))),238:ae.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,83792))),239:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,43825))),240:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,68046))),241:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,9387))),242:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,6808))),243:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5043)]).then(__webpack_require__.bind(__webpack_require__,73567))),244:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(799)]).then(__webpack_require__.bind(__webpack_require__,35256))),245:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,17768))),246:ae.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,4494))),247:ae.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,1233))),248:ae.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,70140))),249:ae.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,17016))),250:ae.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,62086))),251:ae.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,8300))),252:ae.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,1233))),253:ae.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,85195))),254:ae.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,71485))),255:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,88623))),256:ae.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,56960))),257:ae.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,52148))),258:ae.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,96700))),259:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,50207))),260:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,86230))),261:ae.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,87025))),262:ae.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,21719))),263:ae.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,76007))),264:ae.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,4117))),265:ae.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,51897))),266:ae.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,34658))),267:ae.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,37367))),268:ae.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,69821))),269:ae.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,29441))),270:ae.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,9298))),271:ae.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,34683))),272:ae.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,45451))),273:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),274:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),275:ae.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,70285))),276:ae.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,86309))),277:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,49421))),278:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,49421))),279:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,24289))),280:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,24289))),281:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,16956))),282:ae.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,96598))),283:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,92863))),284:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,92863))),285:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),286:ae.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,60365))),287:ae.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,40739))),288:ae.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34554))),289:ae.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,81904))),290:ae.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,37450))),291:ae.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,23181))),292:ae.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,36558))),293:ae.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,21246))),294:ae.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21908))),295:ae.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,36860))),296:ae.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,42281))),297:ae.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,82198))),298:ae.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,50695))),299:ae.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,97503))),300:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,48397))),301:ae.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,46454))),302:ae.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,88979))),303:ae.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,41618))),304:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),305:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),306:ae.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,92466))),307:ae.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,73449))),308:ae.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,22565))),309:ae.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,2960))),310:ae.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,84249))),311:ae.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,14942))),312:ae.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,30344))),313:ae.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,22242))),314:ae.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,79269))),315:ae.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,79269))),316:ae.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,52164))),317:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),318:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,80175))),319:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,32984))),320:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,80175))),321:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,32984))),322:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,80175))),323:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8319)]).then(__webpack_require__.bind(__webpack_require__,54174))),324:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),325:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,44779))),326:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34748))),327:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),328:ae.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,73835))),329:ae.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,31502))),330:ae.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,54232))),331:ae.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,3626))),332:ae.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,58729))),333:ae.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,51567))),334:ae.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,16159))),335:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),336:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,1253))),337:ae.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,67840))),338:ae.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,67840))),339:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),340:ae.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,17866))),341:ae.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,18628))),342:ae.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,11867))),343:ae.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,88001))),344:ae.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,6047))),345:ae.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,75340))),346:ae.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,76850))),347:ae.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,63164))),348:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),349:ae.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,38875))),350:ae.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,8861))),351:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,12994))),352:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),353:ae.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,78644))),354:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),355:ae.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,41716))),356:ae.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,40304))),357:ae.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,27517))),358:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),359:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),360:ae.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,75907))),361:ae.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,76194))),362:ae.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,5656))),363:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,86275))),364:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),365:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),366:ae.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,89508))),367:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,73918))),368:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,10169))),369:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),370:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),371:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,40986))),372:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),373:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),374:ae.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,1147))),375:ae.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,82641))),376:ae.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,99516))),377:ae.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,97878))),378:ae.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,26911))),379:ae.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,16517))),380:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),381:ae.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,85992))),382:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),383:ae.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,78644))),384:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),385:ae.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,41716))),386:ae.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,40304))),387:ae.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,27517))),388:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),389:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),390:ae.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,75907))),391:ae.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,76194))),392:ae.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,5656))),393:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,86275))),394:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),395:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),396:ae.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,89508))),397:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,73918))),398:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,10169))),399:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),400:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),401:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,40986))),402:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),403:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),404:ae.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,1147))),405:ae.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,82641))),406:ae.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,99516))),407:ae.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,97878))),408:ae.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,26911))),409:ae.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,16517))),410:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),411:ae.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,85992))),412:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),413:ae.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,77455))),414:ae.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,4024))),415:ae.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,13810))),416:ae.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,4938))),417:ae.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,26438))),418:ae.lazy(()=>__webpack_require__.e(3673).then(__webpack_require__.bind(__webpack_require__,25370))),419:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),420:ae.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,41808))),421:ae.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,17762))),422:ae.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,78141))),423:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,59028))),424:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,27791))),425:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,73169))),426:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,13208))),427:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),428:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),429:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),430:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),431:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),432:ae.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,37549))),433:ae.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,20700))),434:ae.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,20700))),435:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,61858))),436:ae.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,31731))),437:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),438:ae.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,72197))),439:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,44095))),440:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),441:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(5724),__webpack_require__.e(1791),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,95206))),442:ae.lazy(()=>__webpack_require__.e(3685).then(__webpack_require__.bind(__webpack_require__,45868))),443:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1791),__webpack_require__.e(2524)]).then(__webpack_require__.bind(__webpack_require__,98691))),444:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,70736))),445:ae.lazy(()=>__webpack_require__.e(3589).then(__webpack_require__.bind(__webpack_require__,92657))),446:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(919)]).then(__webpack_require__.bind(__webpack_require__,70766))),447:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7042)]).then(__webpack_require__.bind(__webpack_require__,65643))),448:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8137)]).then(__webpack_require__.bind(__webpack_require__,12871))),449:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(5724),__webpack_require__.e(4339)]).then(__webpack_require__.bind(__webpack_require__,28513))),450:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9595)]).then(__webpack_require__.bind(__webpack_require__,35624))),451:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3443)]).then(__webpack_require__.bind(__webpack_require__,74844))),452:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),453:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3897)]).then(__webpack_require__.bind(__webpack_require__,70151))),454:ae.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,13922))),455:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8522)]).then(__webpack_require__.bind(__webpack_require__,8494))),456:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8522)]).then(__webpack_require__.bind(__webpack_require__,8494))),457:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),458:ae.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,72734))),459:ae.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,743))),460:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1443)]).then(__webpack_require__.bind(__webpack_require__,56372))),461:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(65)]).then(__webpack_require__.bind(__webpack_require__,74987))),462:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),463:ae.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,30895))),464:ae.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,51143))),465:ae.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,91544))),466:ae.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,46266))),467:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,78609))),468:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,63338))),469:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,32635))),470:ae.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,96657))),471:ae.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,55815))),472:ae.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,96657))),473:ae.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,55815))),474:ae.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,5921))),475:ae.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,58717))),476:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),477:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,12570))),478:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),479:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,41273))),480:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),481:ae.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,70157))),482:ae.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,19482))),483:ae.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,44167))),484:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,15943))),485:ae.lazy(()=>__webpack_require__.e(1150).then(__webpack_require__.bind(__webpack_require__,90571))),486:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),487:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,25401))),488:ae.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,95521))),489:ae.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,86930))),490:ae.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,28484))),491:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,48264))),492:ae.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,60810))),493:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,48264))),494:ae.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,80377))),495:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,74379))),496:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,74379))),497:ae.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,48897))),498:ae.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,65768))),499:ae.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,36452))),500:ae.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,61376))),501:ae.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,69544))),502:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,5258))),503:ae.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,43278))),504:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,79074))),505:ae.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,85077))),506:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,5258))),507:ae.lazy(()=>__webpack_require__.e(1025).then(__webpack_require__.bind(__webpack_require__,59542))),508:ae.lazy(()=>__webpack_require__.e(1344).then(__webpack_require__.bind(__webpack_require__,69977))),509:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,5258))),510:ae.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,53725))),511:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,85096))),512:ae.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,62222))),513:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,60498))),514:ae.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,61376))),"@@/global-layout":ae.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,80072)))}}})}var Dl=__webpack_require__(62510),m=__webpack_require__(48335),y=__webpack_require__(29787),b=__webpack_require__(91691),z=()=>ae.createElement(y.Z,{size:"middle",className:b.Z.loading}),oe=__webpack_require__(44283),mr=__webpack_require__(66649),dr=__webpack_require__.n(mr),Nn=__webpack_require__(91392),Xn=__webpack_require__.n(Nn),ca=__webpack_require__(73100),Yo=__webpack_require__.n(ca),To=__webpack_require__(14805),vo=__webpack_require__.n(To),Ya=__webpack_require__(13477),Ki=__webpack_require__.n(Ya),Nc=__webpack_require__(64796),sc=__webpack_require__.n(Nc),Bc=__webpack_require__(9007),iu=__webpack_require__.n(Bc),Mn=__webpack_require__(58626),uc=__webpack_require__.n(Mn),cc=__webpack_require__(9084),Qo=__webpack_require__.n(cc),Fo=__webpack_require__(5116),su=__webpack_require__.n(Fo),uo=__webpack_require__(50991),uu=__webpack_require__.n(uo),lc=__webpack_require__(39050),us=__webpack_require__.n(lc),cu=__webpack_require__(1554),hl=__webpack_require__.n(cu),zc=__webpack_require__(59697),lu=__webpack_require__.n(zc);dr().extend(Yo()),dr().extend(vo()),dr().extend(Ki()),dr().extend(sc()),dr().extend(iu()),dr().extend(uc()),dr().extend(Qo()),dr().extend(su()),dr().extend(uu()),dr().extend(us()),dr().extend(hl()),dr().extend(lu()),dr().extend(Xn());var _l=Object.defineProperty,dc=Object.getOwnPropertySymbols,ml=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,Ns=(Fr,cn,Gn)=>cn in Fr?_l(Fr,cn,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):Fr[cn]=Gn,wu=(Fr,cn)=>{for(var Gn in cn||(cn={}))ml.call(cn,Gn)&&Ns(Fr,Gn,cn[Gn]);if(dc)for(var Gn of dc(cn))Fi.call(cn,Gn)&&Ns(Fr,Gn,cn[Gn]);return Fr},fc=(Fr,cn,Gn)=>new Promise((Ta,Qn)=>{var fa=Jn=>{try{ho(Gn.next(Jn))}catch(co){Qn(co)}},ba=Jn=>{try{ho(Gn.throw(Jn))}catch(co){Qn(co)}},ho=Jn=>Jn.done?Ta(Jn.value):Promise.resolve(Jn.value).then(fa,ba);ho((Gn=Gn.apply(Fr,cn)).next())});const Xi="https://www-cdn.educoder.net/",pc=!1;function Pu(){return fc(this,null,function*(){const Fr=(0,Dl.gD)(),{routes:cn,routeComponents:Gn}=yield vl(Fr);yield Fr.applyPlugins({key:"patchRoutes",type:oe.ApplyPluginsType.event,args:{routes:cn,routeComponents:Gn}});const Ta=Fr.applyPlugins({key:"modifyContextOpts",type:oe.ApplyPluginsType.modify,initialValue:{}}),Qn=Ta.basename||"/",fa=Ta.historyType||"browser",ba=(0,m.fi)(wu({type:fa,basename:Qn},Ta.historyOpts));return Fr.applyPlugins({key:"render",type:oe.ApplyPluginsType.compose,initialValue(){const ho={useStream:!0,routes:cn,routeComponents:Gn,pluginManager:Fr,mountElementId:"root",rootElement:Ta.rootElement||document.getElementById("root"),loadingComponent:z,publicPath:Xi,runtimePublicPath:pc,history:ba,historyType:fa,basename:Qn,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ta.callback},Jn=Fr.applyPlugins({key:"modifyClientRenderOpts",type:oe.ApplyPluginsType.modify,initialValue:ho});return Fc(Jn)}})()})}Pu(),typeof window!="undefined"&&(window.g_umi={version:"4.6.31"})})()})(); +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},53885:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(18642);function r(n){for(var a=1;a3?(de=st===le)&&(J=He[(N=He[4])?5:(N=3,3)],He[4]=He[5]=p):He[0]<=ze&&((de=se<2&&zele||le>st)&&(He[4]=se,He[5]=le,ee.n=st,N=0))}if(de||se>1)return I;throw G=!0,le}return function(se,le,de){if(k>1)throw TypeError("Generator is already running");for(G&&le===1&&ie(le,de),N=le,J=de;(x=N<2?p:J)||!G;){W||(N?N<3?(N>1&&(ee.n=-1),ie(N,J)):ee.n=J:ee.v=J);try{if(k=2,W){if(N||(se="next"),x=W[se]){if(!(x=x.call(W,J)))throw TypeError("iterator result is not an object");if(!x.done)return x;J=x.value,N<2&&(N=0)}else N===1&&(x=W.return)&&x.call(W),N<2&&(J=TypeError("The iterator does not provide a '"+se+"' method"),N=1);W=p}else if((x=(G=ee.n<0)?J:K.call(X,ee))!==I)break}catch(He){W=p,N=1,J=He}finally{k=1}}return{value:x,done:G}}}(B,V,H),!0),F}var I={};function E(){}function A(){}function R(){}x=Object.getPrototypeOf;var T=[][P]?x(x([][P]())):(r(x={},P,function(){return this}),x),D=R.prototype=E.prototype=Object.create(T);function M(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,R):(B.__proto__=R,r(B,O,"GeneratorFunction")),B.prototype=Object.create(D),B}return A.prototype=R,r(D,"constructor",R),r(R,"constructor",A),A.displayName="GeneratorFunction",r(R,O,"GeneratorFunction"),r(D),r(D,O,"Generator"),r(D,P,function(){return this}),r(D,"toString",function(){return"[object Generator]"}),(n=function(){return{w:S,m:M}})()}function a(p,x){function g(O,S,I,E){try{var A=p[O](S),R=A.value;return R instanceof t?x.resolve(R.v).then(function(T){g("next",T,I,E)},function(T){g("throw",T,I,E)}):x.resolve(R).then(function(T){A.value=T,I(A)},function(T){return g("throw",T,I,E)})}catch(T){E(T)}}var P;this.next||(r(a.prototype),r(a.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(O,S,I){function E(){return new x(function(A,R){g(O,I,A,R)})}return P=P?P.then(E,E):E()},!0)}function s(p,x,g,P,O){return new a(n().w(p,x,g,P),O||Promise)}function u(p,x,g,P,O){var S=s(p,x,g,P,O);return S.next().then(function(I){return I.done?I.value:S.next()})}function c(p){var x=Object(p),g=[];for(var P in x)g.unshift(P);return function O(){for(;g.length;)if((P=g.pop())in x)return O.value=P,O.done=!1,O;return O.done=!0,O}}var o=e(43749);function f(p){if(p!=null){var x=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],g=0;if(x)return x.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&g>=p.length&&(p=void 0),{value:p&&p[g++],done:!p}}}}throw new TypeError((0,o.Z)(p)+" is not iterable")}function _(){"use strict";var p=n(),x=p.m(_),g=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function P(I){var E=typeof I=="function"&&I.constructor;return!!E&&(E===g||(E.displayName||E.name)==="GeneratorFunction")}var O={throw:1,return:2,break:3,continue:3};function S(I){var E,A;return function(R){E||(E={stop:function(){return A(R.a,2)},catch:function(){return R.v},abrupt:function(D,M){return A(R.a,O[D],M)},delegateYield:function(D,M,B){return E.resultName=M,A(R.d,f(D),B)},finish:function(D){return A(R.f,D)}},A=function(D,M,B){R.p=E.prev,R.n=E.next;try{return D(M,B)}finally{E.next=R.n}}),E.resultName&&(E[E.resultName]=R.v,E.resultName=void 0),E.sent=R.v,E.next=R.n;try{return I.call(this,E)}finally{R.p=E.prev,R.n=E.next}}}return(_=function(){return{wrap:function(A,R,T,D){return p.w(S(A),R,T,D&&D.reverse())},isGeneratorFunction:P,mark:p.m,awrap:function(A,R){return new t(A,R)},AsyncIterator:a,async:function(A,R,T,D,M){return(P(R)?s:u)(S(A),R,T,D,M)},keys:c,values:f}})()}},29658:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,s){return a.__proto__=s,a},t(r,n)}},72190:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(82430);function r(u,c){var o=u==null?null:typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(o!=null){var f,_,p,x,g=[],P=!0,O=!1;try{if(p=(o=o.call(u)).next,c===0){if(Object(o)!==o)return;P=!1}else for(;!(P=(f=p.call(o)).done)&&(g.push(f.value),g.length!==c);P=!0);}catch(S){O=!0,_=S}finally{try{if(!P&&o.return!=null&&(x=o.return(),Object(x)!==x))return}finally{if(O)throw _}}return g}}var n=e(68688),a=e(42821);function s(u,c){return(0,t.Z)(u)||r(u,c)||(0,n.Z)(u,c)||(0,a.Z)()}},48745:function(i,d,e){"use strict";e.d(d,{Z:function(){return s}});var t=e(82430),r=e(43835),n=e(68688),a=e(42821);function s(u){return(0,t.Z)(u)||(0,r.Z)(u)||(0,n.Z)(u)||(0,a.Z)()}},77654:function(i,d,e){"use strict";e.d(d,{Z:function(){return u}});var t=e(13750);function r(c){if(Array.isArray(c))return(0,t.Z)(c)}var n=e(43835),a=e(68688);function s(){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 u(c){return r(c)||(0,n.Z)(c)||(0,a.Z)(c)||s()}},73177:function(i,d,e){"use strict";e.d(d,{Z:function(){return n}});var t=e(43749);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var u=a[Symbol.toPrimitive];if(u!==void 0){var c=u.call(a,s||"default");if((0,t.Z)(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function n(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},43749:function(i,d,e){"use strict";e.d(d,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},t(r)}},68688:function(i,d,e){"use strict";e.d(d,{Z:function(){return r}});var t=e(13750);function r(n,a){if(n){if(typeof n=="string")return(0,t.Z)(n,a);var s={}.toString.call(n).slice(8,-1);return s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set"?Array.from(n):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?(0,t.Z)(n,a):void 0}}},53280:function(i,d,e){"use strict";e.d(d,{D:function(){return r}});function t(n,a,s){var u=s||{},c=u.noTrailing,o=c===void 0?!1:c,f=u.noLeading,_=f===void 0?!1:f,p=u.debounceMode,x=p===void 0?void 0:p,g,P=!1,O=0;function S(){g&&clearTimeout(g)}function I(A){var R=A||{},T=R.upcomingOnly,D=T===void 0?!1:T;S(),P=!D}function E(){for(var A=arguments.length,R=new Array(A),T=0;Tn?_?(O=Date.now(),o||(g=setTimeout(x?j:B,n))):B():o!==!0&&(g=setTimeout(x?j:B,x===void 0?n-M:n))}return E.cancel=I,E}function r(n,a,s){var u=s||{},c=u.atBegin,o=c===void 0?!1:c;return t(n,a,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(i){var d=__webpack_module_cache__[i];if(d!==void 0)return d.exports;var e=__webpack_module_cache__[i]={id:i,loaded:!1,exports:{}};return __webpack_modules__[i].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d}}(),function(){var i=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},d;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);__webpack_require__.r(r);var n={};d=d||[null,i({}),i([]),i(i)];for(var a=t&2&&e;typeof a=="object"&&!~d.indexOf(a);a=i(a))Object.getOwnPropertyNames(a).forEach(function(s){n[s]=function(){return e[s]}});return n.default=function(){return e},__webpack_require__.d(r,n),r}}(),function(){__webpack_require__.d=function(i,d){for(var e in d)__webpack_require__.o(d,e)&&!__webpack_require__.o(i,e)&&Object.defineProperty(i,e,{enumerable:!0,get:d[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(i){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(d,e){return __webpack_require__.f[e](i,d),d},[]))}}(),function(){__webpack_require__.u=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1306:"p__Paths__Detail__components__AddAndEdit__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3589:"p__knowledgegraph__Statistics__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7071:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__WordInfo__index",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index",9967:"p__Problemset__PlagiarismCheck__index"}[i]||i)+"."+{26:"b89cd3b7",65:"d277967e",67:"c1f4c5f7",109:"22016617",195:"21390cbc",264:"c217eb8f",265:"4ca4ad47",292:"f391b1db",310:"3c32b160",316:"1f60ada6",337:"fbe263a7",342:"8346f17a",354:"d4d139cf",479:"85eea5c8",485:"7f9afee3",508:"6bac70dc",532:"c6575aaa",533:"8322cec9",547:"a4cdd3d0",556:"08ea9fe0",559:"bc7ce4ea",576:"31262c96",603:"48044779",629:"44a1d9a5",643:"b94d3254",671:"4a609b8d",680:"755875a0",700:"740b177c",737:"8cf2d1b8",741:"ac5fd360",745:"81ff5122",799:"13a18988",869:"1690f890",887:"fed00e95",895:"0fddba0d",919:"663fc736",921:"a81301d7",928:"7e456701",981:"24da50c7",1006:"5bc38ba0",1009:"7ba7de92",1025:"002405d2",1043:"06a039ea",1045:"4c6fd60c",1048:"4ac00bfa",1070:"723fbb25",1144:"c90eccaf",1148:"7bc5335b",1150:"4d6d21e3",1154:"8cb80842",1211:"f3f32794",1253:"40677e24",1257:"34d3ab04",1265:"8ef36df2",1274:"5f6ea65a",1276:"f785b06b",1306:"cdc8805f",1343:"f4e6644e",1344:"c4124739",1416:"d2d4926b",1423:"0b2e8de3",1427:"9b9240ea",1443:"25b184ad",1450:"e4a30ae7",1461:"cbbeac60",1462:"fcf08abc",1470:"96f9c2d9",1475:"78ffabbd",1482:"f47ce973",1512:"cab7e196",1520:"1f79bf07",1545:"f3a41b49",1548:"e9fd6849",1578:"10723a20",1581:"59ae80b4",1582:"aa55426a",1646:"e6e27b60",1657:"2f9dc17e",1660:"764eb2bd",1674:"0b9b4ff5",1702:"ec34f5e3",1713:"7943e6d7",1717:"728155a5",1727:"3c3baa7d",1783:"89898e4f",1791:"cda096fa",1799:"0a43e887",1831:"397eb45f",1836:"6e07761f",1855:"074b5aae",1880:"d4070229",1939:"1d20f348",1953:"2f44809e",1962:"25089749",1994:"ad8d6fb4",2011:"59d51f98",2045:"86c21a11",2076:"723daa2d",2102:"f700047d",2141:"a6644385",2216:"98766c5e",2240:"7658eaab",2249:"f4830452",2254:"8104e299",2300:"98cba9a2",2303:"160d7c98",2306:"b6caadab",2307:"01817871",2338:"9d080acc",2339:"5366ec72",2386:"192e235c",2396:"6131728e",2403:"a6a961de",2404:"cee2c82b",2412:"294e5f32",2425:"196a5600",2443:"06e31eef",2476:"278cdf18",2494:"68080a87",2501:"dd175936",2524:"4404f98e",2529:"1ba58bb3",2538:"b13419fc",2539:"330b15dc",2548:"e4f0d71b",2570:"35e59ee5",2594:"e87d3761",2603:"a0c4d81f",2659:"fa46c735",2707:"ac630eb6",2755:"a6274666",2806:"0838ee37",2819:"0dd131fc",2823:"73dda40f",2826:"fa8e4190",2829:"80d1cc35",2837:"54a82605",2865:"e8bd7a6c",2875:"add9ac52",2884:"76f762c9",2969:"ab3357d7",2983:"b60ef798",3006:"24217561",3133:"9bf3f89c",3141:"d82c53d7",3157:"2c9b88c2",3183:"1abbfe7b",3198:"8e655451",3212:"d37e948c",3220:"bdfa8744",3247:"22abe635",3260:"10ceb42b",3282:"a0e1cbcb",3317:"66c25cc8",3332:"db09e90c",3355:"c3d66869",3356:"2be7f73f",3363:"ad6b1627",3391:"16db7302",3433:"c334b905",3442:"a4398f34",3443:"d5c23953",3447:"2ed3c1cb",3451:"7a97aec8",3496:"9d39a6be",3504:"1ca07456",3509:"2e889a9f",3550:"3dc83156",3581:"94dacf86",3585:"4b647a13",3589:"946bcbf7",3665:"31e3212c",3668:"27dbb491",3673:"9b87a43c",3685:"4e37aa56",3697:"481a10d9",3747:"389d31de",3754:"802b23ca",3777:"d5b0f2f1",3784:"443550ea",3805:"9dbcb95e",3862:"412c4155",3873:"97f91874",3885:"f87f7f15",3897:"4452c4eb",3910:"ea665202",3935:"f02db7ec",3951:"7d3efe61",3987:"5cecd51b",4014:"27a8e97c",4017:"b4c7fc6c",4030:"736cef3d",4056:"399416eb",4058:"0acf0937",4078:"618b3002",4088:"6f7d1078",4093:"f01bc7ef",4105:"db0aa6f9",4144:"61f84719",4164:"d6070689",4216:"31053744",4217:"606f8ebd",4227:"e7f3a3cc",4259:"2f81d04b",4264:"a117e956",4339:"e689d160",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"3cef892c",4492:"28e2556f",4496:"385bcd59",4498:"a6cef753",4504:"0b32ea61",4510:"2597fe4f",4514:"523061df",4520:"0dfb71b9",4546:"dcd74a80",4565:"36542a0b",4572:"2553761c",4599:"e67de77a",4601:"6e6f7bcc",4610:"3a8b24a1",4621:"a77eb159",4628:"ece2c60c",4662:"8d7eab2a",4685:"c33f1528",4715:"5abcae36",4736:"0c2b21af",4741:"c8bd920b",4757:"16e591cd",4766:"9f733b90",4770:"017284fa",4790:"619413e4",4795:"dd01d211",4797:"a24e92db",4800:"f9e26592",4849:"527e2bc7",4850:"1edda4b7",4862:"73a09028",4884:"222d4674",4889:"d5a7cbac",4928:"dfde02b5",4973:"42229873",4994:"fb09edb6",5022:"9dc94d61",5043:"5a950d82",5048:"893c1fbf",5060:"85dafcc6",5096:"1675b86e",5111:"d8b754e2",5125:"e4d709d9",5148:"f5787599",5176:"16230fa3",5179:"7202ad91",5186:"223b8fcf",5191:"07d0c636",5238:"9f479158",5290:"5dabcdc2",5297:"188595e4",5319:"ebeb4afd",5321:"1163c84e",5335:"b8f70655",5354:"7ae70604",5357:"43a7f2b7",5359:"f079ce1a",5382:"b6ba7cf1",5402:"e9aec0e8",5416:"454536b7",5434:"38b302a6",5470:"955a7815",5494:"d89549c4",5518:"d6e0c1f6",5549:"e1ab395e",5572:"d944a551",5573:"84d59845",5599:"41f4e6ad",5624:"2eaf38a6",5631:"e00d3d36",5650:"9b312a7a",5679:"4a090bef",5705:"bee4dbdc",5724:"d7619c24",5729:"a1ac4a5d",5741:"28af47d1",5764:"e0d7e586",5775:"e1497e9b",5786:"ae8beb66",5798:"c49aec4a",5816:"c270b8c0",5825:"ce53615d",5876:"5eded409",5888:"f03f52b7",5891:"ab5742d8",5895:"c82a8547",5902:"7a116bbe",5915:"60431b29",5927:"52518a47",5977:"3ccfa3a0",5992:"b3f98b16",6029:"7b99fae8",6034:"c5dc95ba",6045:"d268f87f",6047:"3ce45acd",6052:"ca07066f",6063:"b205c7ee",6069:"a2b26da4",6126:"99519171",6127:"270ef356",6170:"dfb11dab",6265:"7c6f1c0d",6270:"5f18eaef",6274:"e16f53d9",6277:"cf771734",6328:"d186199d",6366:"f09e7f54",6378:"7f3a946a",6411:"f0fd2ecb",6434:"cbc30925",6444:"d1c71f93",6452:"207b879b",6531:"ce5fd4ef",6541:"5bcbeebd",6583:"a18f1386",6587:"fe1009e7",6634:"8ddb9879",6651:"87c894a8",6685:"0e970874",6729:"663ab41a",6741:"50bec1f5",6758:"b3711d57",6774:"59d4d618",6784:"504c5ad4",6788:"649bf9b8",6796:"7db3804b",6805:"bb25a231",6820:"99dc9550",6845:"a545a012",6882:"735c0203",6883:"9de45cba",6904:"bdd832e8",6913:"5cf47e4f",6963:"75faf07c",6982:"12a68ba9",7008:"504b70ca",7042:"dfa78e4c",7043:"dc00171a",7045:"e8655fc5",7046:"472b64f1",7058:"4fa72318",7062:"76a31bb5",7071:"2cff0443",7084:"46ccce72",7156:"e7466006",7172:"1cc41681",7178:"216c802e",7182:"557087a9",7242:"ac7eb2f6",7260:"6a98d42d",7331:"2e27a23b",7333:"3e739be4",7365:"1005464f",7395:"2930bcfc",7460:"04144919",7477:"4f543afd",7482:"c9abacbd",7527:"b58cad28",7545:"ee91c248",7560:"3acf8e97",7589:"41e3c391",7591:"c8233ce9",7614:"4dbed073",7622:"d96711d2",7686:"4fcec9f9",7706:"c2a79e40",7806:"b11a1b44",7852:"5608e30f",7855:"33f48473",7857:"99700a2b",7878:"375e8be7",7883:"d84bf1b8",7884:"e21df49f",7922:"5920fc7b",7964:"29aed9a1",8014:"5fcb451e",8062:"6e28c4a9",8072:"81eec688",8077:"8e05c11f",8085:"95d41a24",8089:"d536b13a",8137:"f2b32381",8143:"27a6a8e5",8155:"d6e9f05b",8161:"83c5fa9a",8237:"a4a9b296",8241:"75fe8b60",8302:"3beb5e73",8307:"73eed79d",8319:"daef91d3",8340:"fdd0efd4",8350:"07df8a75",8384:"fd5ea828",8398:"ae50475b",8401:"ff7029a8",8431:"00c5cfc4",8435:"33563bde",8447:"f74f8e98",8517:"8cda84bc",8522:"fe8cc0ca",8561:"333e8ec9",8563:"28caa1a7",8634:"2af8b70f",8639:"834089ab",8665:"0eaab955",8688:"e1febe7c",8689:"8559c1e3",8723:"281b44cb",8737:"ce7dad23",8776:"0ad26240",8782:"12f67d20",8787:"8e2db822",8795:"d899e127",8797:"936b8bb5",8821:"2cd6754e",8823:"a998d897",8827:"734d3277",8842:"9f25a3e2",8866:"cbcce987",8882:"b9bbcf9c",8885:"33a22db0",8898:"d002bcd8",8909:"bbc6aa48",8920:"7f82440c",8963:"790aecdd",8982:"d34fad69",8999:"be40a255",9076:"a2d068cd",9104:"bbcb2345",9133:"99e2fc49",9205:"fd3c6bac",9215:"49934ae5",9252:"0d791a59",9260:"f163e60e",9332:"7a5b684a",9360:"00177a9c",9366:"9f0f3616",9391:"c0e307f6",9404:"9fcc3d3e",9408:"f55e87f2",9416:"4d3efe35",9472:"6f4d9e45",9487:"e5c39d35",9489:"08d56af8",9507:"465a9a93",9554:"ed358e7b",9559:"4ea33181",9590:"29617da7",9595:"8291e9a4",9647:"8f33869b",9649:"afa4dc96",9674:"c310dccd",9677:"50c2fc65",9695:"576683f0",9715:"01ff59d6",9716:"43740383",9785:"38ead8cb",9788:"d7463ab8",9890:"0ca56eba",9891:"1ce043c0",9895:"b8e31ff2",9921:"fa161863",9922:"12c1784e",9928:"5989f5e0",9944:"afb134de",9950:"74f6dfb2",9967:"2f784f7d",9968:"17466785"}[i]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(i){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",65:"p__StudentEffectivenessAnalysis__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",745:"p__Classrooms__Lists__SmartPlan__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",919:"p__knowledgegraph__Statistics__LearningPath__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1025:"p__KnowledgeHub__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1150:"p__BwDemo__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1306:"p__Paths__Detail__components__AddAndEdit__index",1343:"p__User__Detail__ResourceAllocation__index",1344:"p__Hami__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1443:"p__EffectivenessAnalysis__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1994:"p__Classrooms__Lists__AI__AIknowledge__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2306:"p__Classrooms__Lists__AI__AIagent__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2524:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Detail__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3443:"p__knowledgegraph__Statistics__AbilityMap__Detail",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3673:"p__Administration__Classroom__index",3685:"p__knowledgegraph__Detail__components__Content__components__AbilityMap__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3897:"p__WxMiniProgram__Courseware__Study__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4339:"p__knowledgegraph__Statistics__PathAtlas__Detail",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5741:"p__Classrooms__Lists__SmartPlan__index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5927:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__TestResult",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7042:"p__knowledgegraph__Statistics__LearningPath__Detail",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7071:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__WordInfo__index",7172:"p__User__Detail__MemberCenter__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8137:"p__knowledgegraph__Statistics__PathAtlas__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8319:"p__tasks__resylt__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8522:"p__Classrooms__Lists__SmartPlan__Info__PptInfo__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8795:"p__Classrooms__Lists__Exercise__Detail__components__WordInfo__index",8797:"p__Competitions__Edit__index",8821:"p__Shixuns__New__components__IntelligentProject__AiStreamIndex__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9472:"p__Shixuns__Detail__Poll__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9590:"p__User__Detail__TeachGroup__index",9595:"p__knowledgegraph__Statistics__AbilityMap__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index",9967:"p__Problemset__PlagiarismCheck__index"}[i]||i)+"."+{26:"02cef2a8",65:"7c280c82",67:"5a02da68",109:"b9c23c40",195:"a7827a3d",264:"5fd9b3fc",265:"136050a9",292:"73a52925",310:"506b2978",337:"5bf299c7",342:"72000c1e",479:"c45fa37d",485:"d63578fe",508:"d74c9eba",532:"bfce089b",533:"34622e39",547:"5581debc",556:"255ba81a",559:"c49aa5ba",576:"8bf77b42",643:"070a1c95",680:"e67e9e01",700:"5d02ed49",737:"72eaccaa",745:"e29412ae",799:"d5dabea9",869:"2837f333",895:"ce8634e8",919:"6eaf043d",921:"b09f4288",928:"8b36f093",1006:"8d6d38d4",1025:"2c1ecd26",1043:"e8c0878b",1045:"95a16ad2",1048:"b970259d",1070:"e67e9e01",1148:"754fff63",1150:"8e2ce819",1211:"bc3106de",1253:"b219dfa9",1257:"7b8c452c",1265:"716a077b",1276:"bbc6eeec",1306:"0d53a521",1343:"d0719cd2",1344:"677c8c71",1416:"505cd5e8",1423:"73551cc6",1427:"c8c3a439",1443:"5bd8b2ed",1450:"af800959",1461:"f2a60dbc",1470:"afcb0f79",1475:"770b3f88",1482:"c336290f",1512:"f3653a35",1520:"f7300d0e",1545:"caf81118",1578:"876fcdf1",1581:"2ba7a9a5",1582:"40e27fe1",1657:"6fc66ec7",1674:"fdbc1e05",1702:"f1ec115d",1713:"6dcf8790",1717:"99c0133f",1727:"c6f5247a",1783:"41ee0776",1831:"5fb6cf60",1836:"5f0d3f7f",1855:"f51f8074",1880:"96445ed0",1939:"b97d84a3",1953:"06ae00a6",1962:"84e145fa",1994:"aba61e18",2045:"dcfad42d",2076:"49fbd088",2102:"091a3f15",2141:"5eb2f330",2216:"e87f5f98",2240:"e7cce869",2254:"650b7c49",2303:"7832dd2d",2306:"9c2945de",2307:"b2c54321",2338:"816a2b03",2339:"3453d117",2396:"aa64ba70",2404:"64f0dfd6",2412:"8ae7501f",2425:"c7425255",2443:"747bc9f2",2476:"cf85a190",2501:"2441982c",2524:"f6dbb8a5",2529:"54f849b5",2539:"a245bc54",2548:"75182034",2570:"c2269d0c",2603:"8b36f093",2659:"f6071a36",2707:"cabcb16e",2806:"2adf5399",2819:"208a900b",2823:"a13b21fb",2826:"8166cd21",2829:"b21785ac",2865:"6ef3cf6b",2875:"a7f42891",2884:"e83b4167",2983:"f7cc6b51",3006:"7fce4e74",3141:"2b6ded6a",3157:"690533cd",3183:"b2253f40",3212:"ad1521c1",3220:"1a8a9f14",3247:"e6148460",3260:"574f2f2a",3282:"12b702e2",3317:"2f074cf4",3332:"646b3049",3355:"d65d3433",3356:"750ef2fc",3391:"89554b70",3433:"5163662c",3442:"65491b2a",3443:"6eaf043d",3447:"1653d818",3451:"e3a31387",3496:"2983a7c2",3509:"70043ca5",3581:"5762609c",3585:"5f288e7b",3665:"4940114f",3668:"0a8f7fca",3673:"11f804fe",3685:"5356e3de",3747:"122b6558",3784:"05ecae20",3873:"80214c77",3897:"841fecaf",3910:"658d457f",3935:"c5705a64",3951:"4d7ff73e",4030:"2880f134",4056:"10eacfff",4078:"aa54548e",4093:"ddfb7467",4105:"4f357d5b",4144:"f10aa199",4164:"71b7b07e",4216:"8b36f093",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"f9cbf3dd",4339:"5a833b31",4449:"e68d8d58",4492:"a1cdbfda",4496:"ba3ebf0e",4498:"87217a34",4504:"789880c2",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"4337b611",4601:"3c8ac557",4610:"687005a6",4621:"b057ca01",4662:"321c7005",4715:"b3fe5b0e",4736:"2d0b3432",4741:"dd75bffc",4757:"73b754d2",4766:"b5df5a8e",4770:"6dfa8e98",4795:"186757af",4800:"f50302a4",4849:"4a470ce5",4862:"aba980fe",4884:"bd293d3b",4889:"da1fa698",4928:"3ec9e47f",4973:"129c56e8",4994:"e7027291",5022:"81b1b86b",5043:"3b95475c",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"807f6d58",5176:"9c49e7fa",5179:"21f01751",5186:"2cd2a661",5191:"21d431b2",5238:"809d298f",5297:"3a2685a1",5319:"8547392f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"958b88a6",5382:"743b15e7",5402:"2a0fd260",5470:"3a9d8bd2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"1b599344",5624:"da8b5beb",5650:"f8f63f4b",5705:"df6bf207",5729:"7f59bb24",5741:"0b859539",5775:"a10dc0db",5786:"37a81eaa",5798:"ce1cf7da",5816:"344ec5be",5825:"d03ee626",5888:"16b8b576",5891:"4623f678",5895:"8f26d3ab",5902:"e70e52fa",5915:"bc9c3e69",5927:"849dd0bc",5977:"03cdfb68",5992:"59f9d86d",6029:"231eedac",6052:"ea1fdd8d",6063:"874cf4da",6069:"e55efe00",6127:"66ea13ef",6265:"c461fa93",6270:"cfffd153",6277:"db3a2dbf",6328:"e80c15db",6366:"079fc2d8",6434:"4fd09df6",6444:"848d7a01",6452:"50a6d310",6541:"74b8a9a4",6583:"a83a7607",6587:"9c49e7fa",6634:"d85abf55",6651:"b07fe216",6685:"2692ba77",6729:"ee39dd11",6741:"b838eb14",6758:"3fd17537",6784:"1affe817",6788:"36df67a7",6796:"8c17b3d9",6805:"6a99ab0b",6820:"fe685125",6845:"9ec04f99",6882:"c2d2eada",6883:"175b6265",6904:"0d714487",6913:"ce443aa0",6963:"84e145fa",6982:"fc221b39",7008:"fa5517ed",7042:"6eaf043d",7043:"15de446f",7045:"066ced01",7046:"c7301ded",7058:"1cfa4eee",7062:"b25185fd",7071:"8655384b",7172:"3b787ec7",7178:"6e47d75d",7182:"9c7ac543",7242:"4f353f61",7260:"928abc9d",7395:"5c10e8d8",7460:"2367f6cf",7477:"292b10a3",7482:"10fe0968",7527:"ca5109ad",7545:"8cf8b49c",7560:"d82e43ca",7589:"6dbf29e0",7614:"1fb1fbe5",7622:"57c675fb",7806:"bd9accb9",7852:"cef7984c",7855:"c29f12c8",7857:"93bafb84",7878:"2b521fde",7883:"4a8cc232",7884:"3390dd88",7922:"02c65dd6",8014:"790e6a6e",8062:"8e384b9f",8072:"49abcba0",8077:"f8fc773d",8085:"281200b1",8137:"66f37f26",8143:"7a285535",8155:"d345abd7",8237:"70178e8a",8241:"20e17df7",8302:"cab164ba",8307:"62d2fb1a",8319:"df434dfe",8398:"10eac70e",8431:"6d48e1b3",8435:"4831c5e2",8447:"dc45b25a",8517:"5785bfb5",8522:"b4523f25",8563:"7169a89d",8634:"8466a07a",8665:"c52575bc",8688:"09221941",8689:"9298acc8",8723:"8bf228c9",8782:"56e11840",8787:"121de108",8795:"23231ec2",8797:"8a9f31fa",8821:"cc565404",8823:"ce242063",8827:"1340638e",8866:"231766ac",8882:"d735d28d",8885:"de905169",8982:"8eebc9f4",8999:"b6d7127f",9076:"6a501148",9133:"68b076e4",9205:"91080458",9215:"f737e7e7",9332:"4cf64377",9360:"a1b209c7",9366:"3f6c2582",9391:"9751a79f",9404:"d8cf04f7",9408:"d3565b1a",9416:"1dc2fd6b",9472:"c4181ed8",9487:"3be6b9d9",9489:"ee2bb5b7",9507:"10297ab2",9590:"3ac4e534",9595:"6eaf043d",9647:"4670ed6a",9649:"12c97e4a",9674:"d1caa2dc",9677:"c4e769c5",9695:"ab6abf3d",9715:"48d6c00d",9716:"1423f218",9785:"ab2c0b58",9788:"4459d92d",9890:"09017dcb",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055",9967:"29a0d7c7"}[i]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(i){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(i){return i=Object.create(i),i.children||(i.children=[]),Object.defineProperty(i,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+i.id)}}),i}}(),function(){__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)}}(),function(){var i={};__webpack_require__.l=function(d,e,t,r){if(i[d]){i[d].push(e);return}var n,a;if(t!==void 0)for(var s=document.getElementsByTagName("script"),u=0;u0&&arguments[0]!==void 0?arguments[0]:"";return Fr.endsWith("/")?Fr:"".concat(Fr,"/")}var tc=__webpack_require__(38127),Mu=__webpack_require__(38329),au=__webpack_require__(8616),ou=["content"],Vi=["content"],Mc=/^(http:|https:)?\/\//;function rc(Fr){return Mc.test(Fr)||Fr.startsWith("/")&&!Fr.startsWith("/*")||Fr.startsWith("./")||Fr.startsWith("../")}var ku=function(){return ae.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},ui=function(cn){var Gn,Ta=cn.loaderData,Qn=cn.htmlPageOpts,fa=cn.manifest,ba=(fa==null||(Gn=fa.assets)===null||Gn===void 0?void 0:Gn["umi.css"])||"";return ae.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ta||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Qn||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ba,"'")}})};function is(Fr){var cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Fr=="string")return rc(Fr)?(0,Ko.Z)({src:Fr},cn):{content:Fr};if((0,au.Z)(Fr)==="object")return(0,Ko.Z)((0,Ko.Z)({},Fr),cn);throw new Error("Invalid script type: ".concat((0,au.Z)(Fr)))}function dl(Fr){return rc(Fr)?{type:"link",href:Fr}:{type:"style",content:Fr}}var fl=function(cn){var Gn,Ta,Qn,fa,ba,ho,Jn=cn.htmlPageOpts;return ae.createElement(ae.Fragment,null,(Jn==null?void 0:Jn.title)&&ae.createElement("title",null,Jn.title),Jn==null||(Gn=Jn.favicons)===null||Gn===void 0?void 0:Gn.map(function(co,Ps){return ae.createElement("link",{key:Ps,rel:"shortcut icon",href:co})}),(Jn==null?void 0:Jn.description)&&ae.createElement("meta",{name:"description",content:Jn.description}),(Jn==null||(Ta=Jn.keywords)===null||Ta===void 0?void 0:Ta.length)&&ae.createElement("meta",{name:"keywords",content:Jn.keywords.join(",")}),Jn==null||(Qn=Jn.metas)===null||Qn===void 0?void 0:Qn.map(function(co){return ae.createElement("meta",{key:co.name,name:co.name,property:co.property,content:co.content})}),Jn==null||(fa=Jn.links)===null||fa===void 0?void 0:fa.map(function(co,Ps){return ae.createElement("link",(0,Mu.Z)({key:Ps},co))}),Jn==null||(ba=Jn.styles)===null||ba===void 0?void 0:ba.map(function(co,Ps){var Es=dl(co),Bs=Es.type,zs=Es.href,du=Es.content;if(Bs==="link")return ae.createElement("link",{key:Ps,rel:"stylesheet",href:zs});if(Bs==="style")return ae.createElement("style",{key:Ps},du)}),Jn==null||(ho=Jn.headScripts)===null||ho===void 0?void 0:ho.map(function(co,Ps){var Es=is(co),Bs=Es.content,zs=(0,tc.Z)(Es,ou);return ae.createElement("script",(0,Mu.Z)({dangerouslySetInnerHTML:{__html:Bs},key:Ps},zs))}))};function nc(Fr){var cn,Gn=Fr.children,Ta=Fr.loaderData,Qn=Fr.manifest,fa=Fr.htmlPageOpts,ba=Fr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ho=Fr.mountElementId;if(ba!=null&&ba.pureHtml)return ae.createElement("html",null,ae.createElement("head",null,ae.createElement(fl,{htmlPageOpts:fa})),ae.createElement("body",null,ae.createElement(ku,null),ae.createElement("div",{id:ho},Gn),ae.createElement(ui,{manifest:Qn,loaderData:Ta,htmlPageOpts:fa})));if(ba!=null&&ba.pureApp)return ae.createElement(ae.Fragment,null,Gn);var Jn=typeof window=="undefined"?Qn==null?void 0:Qn.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ae.createElement("html",{suppressHydrationWarning:!0,lang:(fa==null?void 0:fa.lang)||"en"},ae.createElement("head",null,ae.createElement("meta",{charSet:"utf-8"}),ae.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Jn&&ae.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Jn}),ae.createElement(fl,{htmlPageOpts:fa})),ae.createElement("body",null,ae.createElement(ku,null),ae.createElement("div",{id:ho},Gn),ae.createElement(ui,{manifest:Qn,loaderData:Ta,htmlPageOpts:fa}),fa==null||(cn=fa.scripts)===null||cn===void 0?void 0:cn.map(function(co,Ps){var Es=is(co),Bs=Es.content,zs=(0,tc.Z)(Es,Vi);return ae.createElement("script",(0,Mu.Z)({dangerouslySetInnerHTML:{__html:Bs},key:Ps},zs))})))}var Xo=ae.createContext(void 0);function pl(){return ae.useContext(Xo)}var bu=["redirect"];function ju(Fr){var cn=Fr.routesById,Gn=Fr.parentId,Ta=Fr.routeComponents,Qn=Fr.useStream,fa=Qn===void 0?!0:Qn;return Object.keys(cn).filter(function(ba){return cn[ba].parentId===Gn}).map(function(ba){var ho=kc((0,Ko.Z)((0,Ko.Z)({route:cn[ba],routeComponent:Ta[ba],loadingComponent:Fr.loadingComponent,reactRouter5Compat:Fr.reactRouter5Compat},Fr.reactRouter5Compat&&{hasChildren:Object.keys(cn).filter(function(co){return cn[co].parentId===ba}).length>0}),{},{useStream:fa})),Jn=ju({routesById:cn,routeComponents:Ta,parentId:ho.id,loadingComponent:Fr.loadingComponent,reactRouter5Compat:Fr.reactRouter5Compat,useStream:fa});return Jn.length>0&&(ho.children=Jn,ho.routes=Jn),ho})}function ac(Fr){var cn=(0,Wo.UO)(),Gn=(0,Wo.Gn)(Fr.to,cn),Ta=(0,xu.T$)(),Qn=(0,Wo.TH)();if(Ta!=null&&Ta.keepQuery){var fa=Qn.search+Qn.hash;Gn+=fa}var ba=(0,Ko.Z)((0,Ko.Z)({},Fr),{},{to:Gn});return ae.createElement(Wo.Fg,(0,Mu.Z)({replace:!0},ba))}function kc(Fr){var cn=Fr.route,Gn=Fr.useStream,Ta=Gn===void 0?!0:Gn,Qn=cn.redirect,fa=(0,tc.Z)(cn,bu),ba=Fr.reactRouter5Compat?jc:Lc;return(0,Ko.Z)({element:Qn?ae.createElement(ac,{to:Qn}):ae.createElement(Xo.Provider,{value:{route:Fr.route}},ae.createElement(ba,{loader:ae.memo(Fr.routeComponent),loadingComponent:Fr.loadingComponent||Lu,hasChildren:Fr.hasChildren,useStream:Ta}))},fa)}function Lu(){return ae.createElement("div",null)}function jc(Fr){var cn=pl(),Gn=cn.route,Ta=(0,xu.Ov)(),Qn=Ta.history,fa=Ta.clientRoutes,ba=(0,Wo.UO)(),ho={params:ba,isExact:!0,path:Gn.path,url:Qn.location.pathname},Jn=Fr.loader,co={location:Qn.location,match:ho,history:Qn,params:ba,route:Gn,routes:fa};return Fr.useStream?ae.createElement(ae.Suspense,{fallback:ae.createElement(Fr.loadingComponent,null)},ae.createElement(Jn,co,Fr.hasChildren&&ae.createElement(Wo.j3,null))):ae.createElement(Jn,co,Fr.hasChildren&&ae.createElement(Wo.j3,null))}function Lc(Fr){var cn=Fr.loader;return Fr.useStream?ae.createElement(ae.Suspense,{fallback:ae.createElement(Fr.loadingComponent,null)},ae.createElement(cn,null)):ae.createElement(cn,null)}var Fs=null;function Al(){return Fs}function oc(Fr){var cn=Fr.history,Gn=ae.useState({action:cn.action,location:cn.location}),Ta=(0,gu.Z)(Gn,2),Qn=Ta[0],fa=Ta[1];return(0,ae.useLayoutEffect)(function(){return cn.listen(fa)},[cn]),(0,ae.useLayoutEffect)(function(){function ba(ho){Fr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Fr.routes,clientRoutes:Fr.clientRoutes,location:ho.location,action:ho.action,basename:Fr.basename,isFirst:!!ho.isFirst}})}return ba({location:Qn.location,action:Qn.action,isFirst:!0}),cn.listen(ba)},[cn,Fr.routes,Fr.clientRoutes]),ae.createElement(Wo.F0,{navigator:cn,location:Qn.location,basename:Fr.basename},Fr.children)}function ss(){var Fr=(0,xu.Ov)(),cn=Fr.clientRoutes;return(0,Wo.V$)(cn)}var ic=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Fu=function(cn,Gn){var Ta=cn.basename||"/",Qn=ju({routesById:cn.routes,routeComponents:cn.routeComponents,loadingComponent:cn.loadingComponent,reactRouter5Compat:cn.reactRouter5Compat,useStream:cn.useStream});cn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Qn}});for(var fa=ae.createElement(oc,{basename:Ta,pluginManager:cn.pluginManager,routes:cn.routes,clientRoutes:Qn,history:cn.history},Gn),ba=0,ho=ic;banew Promise((Ta,Qn)=>{var fa=Jn=>{try{ho(Gn.next(Jn))}catch(co){Qn(co)}},ba=Jn=>{try{ho(Gn.throw(Jn))}catch(co){Qn(co)}},ho=Jn=>Jn.done?Ta(Jn.value):Promise.resolve(Jn.value).then(fa,ba);ho((Gn=Gn.apply(Fr,cn)).next())});function vl(){return Nu(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/WordInfo/:userid",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail/testresult",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/WordInfo/:userid",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId/combo",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"81"},82:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"82"},83:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"83"},84:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"85"},86:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"86"},87:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"87"},88:{path:"/classrooms/guidance",parentId:"19",id:"88"},89:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"99"},100:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"102"},103:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"103"},104:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"104"},105:{path:"/classrooms/",parentId:"19",id:"105"},106:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"105",id:"106"},107:{path:"/classrooms/:coursesId/shixun_homework",parentId:"105",id:"107"},108:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"105",id:"108"},109:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"105",id:"109"},110:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"105",id:"110"},111:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"105",id:"111"},112:{path:"/classrooms/:coursesId/exercise",parentId:"105",id:"112"},113:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"105",id:"113"},114:{path:"/classrooms/:coursesId/poll",parentId:"105",id:"114"},115:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"105",id:"115"},116:{path:"/classrooms/:coursesId/common_homework",parentId:"105",id:"116"},117:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"105",id:"117"},118:{path:"/classrooms/:coursesId/group_homework",parentId:"105",id:"118"},119:{path:"/classrooms/:coursesId/teachers",parentId:"105",id:"119"},120:{path:"/classrooms/:coursesId/students",parentId:"105",id:"120"},121:{path:"/classrooms/:coursesId/assistant",parentId:"105",id:"121"},122:{path:"/classrooms/:coursesId/program_homework",parentId:"105",id:"122"},123:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"105",id:"123"},124:{path:"/classrooms/:coursesId/engineering",parentId:"105",id:"124"},125:{path:"/classrooms/:coursesId/learning_path",parentId:"105",id:"125"},126:{path:"/classrooms/:coursesId/resource_recommend",parentId:"105",id:"126"},127:{path:"/classrooms/:coursesId/attendance",parentId:"105",id:"127"},128:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"105",id:"128"},129:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"105",id:"129"},130:{path:"/classrooms/:coursesId/announcement",parentId:"105",id:"130"},131:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"105",id:"131"},132:{path:"/classrooms/:coursesId/online_learning",parentId:"105",id:"132"},133:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"105",id:"133"},134:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"105",id:"134"},135:{path:"/classrooms/:coursesId/attachment",parentId:"105",id:"135"},136:{path:"/classrooms/:coursesId/video",parentId:"105",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"105",id:"137"},138:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"105",id:"138"},139:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"105",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"105",id:"140"},141:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"105",id:"141"},142:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"105",id:"142"},143:{path:"/classrooms/:coursesId/live_video",parentId:"105",id:"143"},144:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"105",id:"144"},145:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"105",id:"145"},146:{path:"/classrooms/:coursesId/board",parentId:"105",id:"146"},147:{path:"/classrooms/:coursesId/course_group",parentId:"105",id:"147"},148:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"105",id:"148"},149:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"105",id:"149"},150:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"105",id:"150"},151:{path:"/classrooms/:coursesId/not_course_group",parentId:"105",id:"151"},152:{path:"/classrooms/:coursesId/statistics/",parentId:"105",id:"152"},153:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"105",id:"153"},154:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"105",id:"154"},155:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"105",id:"155"},156:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"105",id:"156"},157:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"105",id:"157"},158:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"105",id:"158"},159:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"105",id:"159"},160:{path:"/classrooms/:coursesId",parentId:"105",id:"160"},161:{path:"/classrooms/:coursesId/template",parentId:"105",id:"161"},162:{path:"/classrooms/:coursesId/smart_plan",parentId:"105",id:"162"},163:{path:"/classrooms/:coursesId/ai_agent",parentId:"105",id:"163"},164:{path:"/classrooms/:coursesId/ai_knowledge",parentId:"105",id:"164"},165:{path:"/classrooms/:coursesId/smart_plan/:id/detail",parentId:"19",id:"165"},166:{path:"/competitions",parentId:"1",id:"166"},167:{path:"/competitions/index",parentId:"166",id:"167"},168:{path:"/competitions/:identifier/list",parentId:"166",id:"168"},169:{path:"/competitions/exports",parentId:"166",id:"169"},170:{path:"/competitions",parentId:"166",id:"170"},171:{path:"/competitions/:identifier",parentId:"166",id:"171"},172:{path:"/competitions/index/:identifier",parentId:"166",id:"172"},173:{path:"/competitions/:identifier/detail/enroll",parentId:"166",id:"173"},174:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"166",id:"174"},175:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"166",id:"175"},176:{path:"/competitions/detail/:identifier",parentId:"166",id:"176"},177:{path:"/forums",parentId:"1",id:"177"},178:{path:"/forums",parentId:"177",id:"178"},179:{path:"/forums/categories/:memoType",parentId:"177",id:"179"},180:{path:"/forums/new",parentId:"177",id:"180"},181:{path:"/forums/:memoId/edit",parentId:"177",id:"181"},182:{path:"/forums/:memoId",parentId:"177",id:"182"},183:{path:"/problemset",parentId:"1",id:"183"},184:{path:"/problemset",parentId:"183",id:"184"},185:{path:"/problemset/plagiarismcheck",parentId:"183",id:"185"},186:{path:"/problemset/newitem",parentId:"183",id:"186"},187:{path:"/problemset/:type/:id",parentId:"183",id:"187"},188:{path:"/problemset/preview",parentId:"183",id:"188"},189:{path:"/problemset/preview_new",parentId:"183",id:"189"},190:{path:"/problemset/preview_select",parentId:"183",id:"190"},191:{path:"/shixuns",parentId:"1",id:"191"},192:{path:"/shixuns",parentId:"191",id:"192"},193:{path:"/shixuns/exports",parentId:"191",id:"193"},194:{path:"/shixuns/new",parentId:"191",id:"194"},195:{path:"/shixuns/aiStreamIndex",parentId:"191",id:"195"},196:{path:"/shixuns/new/CreateImg",parentId:"191",id:"196"},197:{path:"/shixuns/new/:id/imagepreview",parentId:"191",id:"197"},198:{path:"/shixuns/:id/Merge",parentId:"191",id:"198"},199:{path:"/shixuns/:id/Split",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit",parentId:"191",id:"200"},201:{path:"shixuns/:id/edit/warehouse",parentId:"200",id:"201"},202:{path:"/shixuns/:id/edit/newquestion",parentId:"200",id:"202"},203:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"200",id:"203"},204:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"200",id:"204"},205:{path:"/shixuns/:id/edit/new",parentId:"200",id:"205"},206:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"200",id:"206"},207:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"200",id:"207"},208:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"200",id:"208"},209:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"200",id:"209"},210:{path:"/shixuns/:id",parentId:"191",id:"210"},211:{path:"/shixuns/:id/poll",parentId:"210",id:"211"},212:{path:"/shixuns/:id/challenges",parentId:"210",id:"212"},213:{path:"/shixuns/:id/repository",parentId:"210",id:"213"},214:{path:"/shixuns/:id/secret_repository",parentId:"210",id:"214"},215:{path:"/shixuns/:id/collaborators",parentId:"210",id:"215"},216:{path:"/shixuns/:id/dataset",parentId:"210",id:"216"},217:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"210",id:"217"},218:{path:"/shixuns/:id/shixun_discuss",parentId:"210",id:"218"},219:{path:"/shixuns/:id/ranking_list",parentId:"210",id:"219"},220:{path:"/shixuns/:id/settings",parentId:"210",id:"220"},221:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"210",id:"221"},222:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"210",id:"222"},223:{path:"/shixuns/:id/repository/upload_file",parentId:"210",id:"223"},224:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"210",id:"224"},225:{path:"/shixuns/:id/repository/add_file",parentId:"210",id:"225"},226:{path:"/shixuns/:id/secret_repository/add_file",parentId:"210",id:"226"},227:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"210",id:"227"},228:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"210",id:"228"},229:{path:"/shixuns/:id/audit_situation",parentId:"210",id:"229"},230:{path:"/shixuns/:id/fork_list",parentId:"210",id:"230"},231:{path:"/users",parentId:"1",id:"231"},232:{path:"/users/:username/membercenter",parentId:"231",id:"232"},233:{path:"/users/:username/videos/protocol",parentId:"231",id:"233"},234:{path:"/users/:username/videos/resourceProtocol",parentId:"231",id:"234"},235:{path:"/users/:username/videos/success",parentId:"231",id:"235"},236:{path:"/users/:username/topicbank/:topicstype",parentId:"231",id:"236"},237:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"231",id:"237"},238:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"231",id:"238"},239:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"231",id:"239"},240:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"231",id:"240"},241:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"231",id:"241"},242:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"231",id:"242"},243:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"231",id:"243"},244:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"231",id:"244"},245:{path:"/users/:username/experiment-img/add",parentId:"231",id:"245"},246:{path:"/users/:username",parentId:"231",id:"246"},247:{path:"/users/:username",parentId:"246",id:"247"},248:{path:"/users/:username/baseInfo/edit",parentId:"246",id:"248"},249:{path:"/users/:username/baseInfo",parentId:"246",id:"249"},250:{path:"/users/:username/realNameCertification",parentId:"246",id:"250"},251:{path:"/users/:username/careerCertification",parentId:"246",id:"251"},252:{path:"/users/:username/classrooms",parentId:"246",id:"252"},253:{path:"/users/:username/shixuns",parentId:"246",id:"253"},254:{path:"/users/:username/dataSet",parentId:"246",id:"254"},255:{path:"/users/:username/userPortrait",parentId:"246",id:"255"},256:{path:"/users/:username/learningPath",parentId:"246",id:"256"},257:{path:"/users/:username/teach-group",parentId:"246",id:"257"},258:{path:"/users/:username/competitions",parentId:"246",id:"258"},259:{path:"/users/:username/experiment-img",parentId:"246",id:"259"},260:{path:"/users/:username/experiment-img/:experid/detail",parentId:"246",id:"260"},261:{path:"/users/:username/certificate",parentId:"246",id:"261"},262:{path:"/users/:username/otherResources",parentId:"246",id:"262"},263:{path:"/users/:username/paths",parentId:"246",id:"263"},264:{path:"/users/:username/projects",parentId:"246",id:"264"},265:{path:"/users/:username/videos",parentId:"246",id:"265"},266:{path:"/users/:username/videos/upload",parentId:"246",id:"266"},267:{path:"/users/:username/topics/:topicstype",parentId:"246",id:"267"},268:{path:"/users/:username/vspaces",parentId:"246",id:"268"},269:{path:"/users/:username/resourcesCenter",parentId:"246",id:"269"},270:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"246",id:"270"},271:{path:"/users/:username/resourceGuarantee",parentId:"246",id:"271"},272:{path:"/users/:username/resourceAllocation",parentId:"246",id:"272"},273:{parentId:"1",id:"273"},274:{path:"/problems",parentId:"273",id:"274"},275:{path:"/problems",parentId:"274",id:"275"},276:{path:"/problems/batchAdd",parentId:"274",id:"276"},277:{path:"/problems/newcreate",parentId:"273",id:"277"},278:{path:"/problems/newedit/:id",exact:!0,parentId:"273",id:"278"},279:{path:"/problems/:id/edit",exact:!0,parentId:"273",id:"279"},280:{path:"/problems/new",exact:!0,parentId:"273",id:"280"},281:{path:"/problems/:id/oj/:save_identifier",parentId:"273",id:"281"},282:{path:"/problems/:id/record-detail/:submitId",parentId:"273",id:"282"},283:{path:"/problems/add",parentId:"273",id:"283"},284:{path:"/problems/:id/ojedit",parentId:"273",id:"284"},285:{path:"/engineering",parentId:"1",id:"285"},286:{path:"/engineering",parentId:"285",id:"286"},287:{path:"/engineering/teacherList",parentId:"286",id:"287"},288:{path:"/engineering/studentList",parentId:"286",id:"288"},289:{path:"/engineering/training/program",parentId:"286",id:"289"},290:{path:"/engineering/training/program/add",parentId:"286",id:"290"},291:{path:"/engineering/training/program/edit",parentId:"286",id:"291"},292:{path:"/engineering/training/objectives",parentId:"286",id:"292"},293:{path:"/engineering/graduated/index",parentId:"286",id:"293"},294:{path:"/engineering/graduated/matrix",parentId:"286",id:"294"},295:{path:"/engineering/course/list",parentId:"286",id:"295"},296:{path:"/engineering/course/setting",parentId:"286",id:"296"},297:{path:"/engineering/course/matrix",parentId:"286",id:"297"},298:{path:"/engineering/navigation",parentId:"286",id:"298"},299:{path:"/engineering/evaluate/course",parentId:"286",id:"299"},300:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"286",id:"300"},301:{path:"/engineering/evaluate/norm",parentId:"286",id:"301"},302:{path:"/engineering/evaluate/document",parentId:"286",id:"302"},303:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"286",id:"303"},304:{path:"/engineering/*",redirect:"/404",parentId:"286",id:"304"},305:{path:"/innovation",parentId:"1",id:"305"},306:{path:"/innovation/tasks/:taskId",parentId:"305",id:"306"},307:{path:"/innovation",parentId:"305",id:"307"},308:{path:"/innovation/project",parentId:"307",id:"308"},309:{path:"/innovation/dataset",parentId:"307",id:"309"},310:{path:"/innovation/mirror",parentId:"307",id:"310"},311:{path:"/innovation/my-project",parentId:"307",id:"311"},312:{path:"/innovation/my-dataset",parentId:"307",id:"312"},313:{path:"/innovation/my-mirror",parentId:"307",id:"313"},314:{path:"/innovation/project/create",parentId:"307",id:"314"},315:{path:"/innovation/project/edit/:id",parentId:"307",id:"315"},316:{path:"/innovation/project/detail/:taskId",parentId:"307",id:"316"},317:{path:"/tasks",parentId:"1",id:"317"},318:{path:"/tasks/:taskId",exact:!0,parentId:"317",id:"318"},319:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"317",id:"319"},320:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"317",id:"320"},321:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"317",id:"321"},322:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"317",id:"322"},323:{path:"/tasks/:taskId/result",exact:!0,parentId:"317",id:"323"},324:{path:"/myproblems",parentId:"1",id:"324"},325:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"324",id:"325"},326:{path:"/myproblems/:id",exact:!0,parentId:"324",id:"326"},327:{path:"/account",parentId:"1",id:"327"},328:{path:"/account",parentId:"327",id:"328"},329:{path:"/account/profile",parentId:"328",id:"329"},330:{path:"/account/profile/edit",parentId:"328",id:"330"},331:{path:"/account/certification",parentId:"328",id:"331"},332:{path:"/account/secure",parentId:"328",id:"332"},333:{path:"/account/binding",parentId:"328",id:"333"},334:{path:"/account/Results",parentId:"328",id:"334"},335:{path:"/ch",parentId:"1",id:"335"},336:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"335",id:"336"},337:{path:"/ch/rest/",exact:!0,parentId:"335",id:"337"},338:{path:"/ch/rest/:id",exact:!0,parentId:"335",id:"338"},339:{path:"/order",parentId:"1",id:"339"},340:{path:"/order",parentId:"339",id:"340"},341:{path:"/order/invoice",parentId:"339",id:"341"},342:{path:"/order/records",parentId:"339",id:"342"},343:{path:"/order/apply",parentId:"339",id:"343"},344:{path:"/order/view",parentId:"339",id:"344"},345:{path:"/order/:courseId/information",parentId:"339",id:"345"},346:{path:"/order/:courseId/pay",parentId:"339",id:"346"},347:{path:"/order/:orderNum/result",parentId:"339",id:"347"},348:{path:"/messages",parentId:"1",id:"348"},349:{path:"/messages/:userId/user_tidings",parentId:"348",id:"349"},350:{path:"/messages/:userId/private_messages",parentId:"348",id:"350"},351:{path:"/messages/:userId/message_detail",parentId:"348",id:"351"},352:{path:"/vtrs",parentId:"1",id:"352"},353:{path:"/vtrs/:virtual_spacesId",parentId:"352",id:"353"},354:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"353",id:"354"},355:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"353",id:"355"},356:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"353",id:"356"},357:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"353",id:"357"},358:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"353",id:"358"},359:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"353",id:"359"},360:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"353",id:"360"},361:{path:"/vtrs/:virtual_spacesId/survey",parentId:"353",id:"361"},362:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"353",id:"362"},363:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"353",id:"363"},364:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"353",id:"364"},365:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"353",id:"365"},366:{path:"/vtrs/:virtual_spacesId/material",parentId:"353",id:"366"},367:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"353",id:"367"},368:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"353",id:"368"},369:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"353",id:"369"},370:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"353",id:"370"},371:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"353",id:"371"},372:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"353",id:"372"},373:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"353",id:"373"},374:{path:"/vtrs/:virtual_spacesId/settings",parentId:"353",id:"374"},375:{path:"/vtrs/:virtual_spacesId/resources",parentId:"353",id:"375"},376:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"353",id:"376"},377:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"353",id:"377"},378:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"353",id:"378"},379:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"353",id:"379"},380:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"353",id:"380"},381:{path:"/vtrs/:virtual_spacesId/*",parentId:"353",id:"381"},382:{path:"/101",parentId:"1",id:"382"},383:{path:"/101/:virtual_spacesId",parentId:"382",id:"383"},384:{path:"/101/:virtual_spacesId",exact:!0,parentId:"383",id:"384"},385:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"383",id:"385"},386:{path:"/101/:virtual_spacesId/experiment",parentId:"383",id:"386"},387:{path:"/101/:virtual_spacesId/announcement",parentId:"383",id:"387"},388:{path:"/101/:virtual_spacesId/announcement/add",parentId:"383",id:"388"},389:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"383",id:"389"},390:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"383",id:"390"},391:{path:"/101/:virtual_spacesId/survey",parentId:"383",id:"391"},392:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"383",id:"392"},393:{path:"/101/:virtual_spacesId/knowledge",parentId:"383",id:"393"},394:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"383",id:"394"},395:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"383",id:"395"},396:{path:"/101/:virtual_spacesId/material",parentId:"383",id:"396"},397:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"383",id:"397"},398:{path:"/101/:virtual_spacesId/lesson",parentId:"383",id:"398"},399:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"383",id:"399"},400:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"383",id:"400"},401:{path:"/101/:virtual_spacesId/discussion",parentId:"383",id:"401"},402:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"383",id:"402"},403:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"383",id:"403"},404:{path:"/101/:virtual_spacesId/settings",parentId:"383",id:"404"},405:{path:"/101/:virtual_spacesId/resources",parentId:"383",id:"405"},406:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"383",id:"406"},407:{path:"/101/:virtual_spacesId/Plan",parentId:"383",id:"407"},408:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"383",id:"408"},409:{path:"/101/:virtual_spacesId/digtal",parentId:"383",id:"409"},410:{path:"/101/:virtual_spacesId/homepage",parentId:"383",id:"410"},411:{path:"/101/:virtual_spacesId/*",parentId:"383",id:"411"},412:{path:"/administration",parentId:"1",id:"412"},413:{path:"/administration",parentId:"412",id:"413"},414:{path:"/administration/college",parentId:"413",id:"414"},415:{path:"/administration/student",parentId:"413",id:"415"},416:{path:"/administration/student/:studentId/edit",parentId:"413",id:"416"},417:{path:"/administration/profession",parentId:"413",id:"417"},418:{path:"/administration/classroom",parentId:"413",id:"418"},419:{path:"/graduations",parentId:"1",id:"419"},420:{path:"/graduations",exact:!0,parentId:"419",id:"420"},421:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"419",id:"421"},422:{path:"/graduations/:id",parentId:"419",id:"422"},423:{path:"/graduations/:id/index",parentId:"422",id:"423"},424:{path:"/graduations/:id/topics",parentId:"422",id:"424"},425:{path:"/graduations/:id/student_selection",parentId:"422",id:"425"},426:{path:"/graduations/:id/tasks",parentId:"422",id:"426"},427:{path:"/graduations/:id/opening_report",parentId:"422",id:"427"},428:{path:"/graduations/:id/midterm_report",parentId:"422",id:"428"},429:{path:"/graduations/:id/thesis",parentId:"422",id:"429"},430:{path:"/graduations/:id/final_defense",parentId:"422",id:"430"},431:{path:"/graduations/:id/final_thesis",parentId:"422",id:"431"},432:{path:"/graduations/:id/settings",parentId:"422",id:"432"},433:{path:"/graduations/:id/teachers",parentId:"422",id:"433"},434:{path:"/graduations/:id/students",parentId:"422",id:"434"},435:{path:"/graduations/:id/archives",parentId:"422",id:"435"},436:{path:"/graduations/:id/grading_summary",parentId:"422",id:"436"},437:{path:"/dataset",parentId:"1",id:"437"},438:{path:"/dataset",exact:!0,parentId:"437",id:"438"},439:{path:"/dataset/:id/detail",exact:!0,parentId:"437",id:"439"},440:{path:"/knowledgegraph",parentId:"1",id:"440"},441:{path:"/knowledgegraph/:pathId",parentId:"440",id:"441"},442:{path:"/knowledgegraph/:pathId/abilityMap/edit/:abilityMapId",parentId:"440",id:"442"},443:{path:"/knowledgegraph/:pathId/abilityMap/detail/:abilityId",parentId:"440",id:"443"},444:{path:"/knowledgegraph/:pathId/statistics",parentId:"440",id:"444"},445:{parentId:"440",id:"445"},446:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId",parentId:"445",id:"446"},447:{path:"/knowledgegraph/:pathId/statistics/learningpath/:learningpathId/detail/:detailId",parentId:"445",id:"447"},448:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId",parentId:"445",id:"448"},449:{path:"/knowledgegraph/:pathId/statistics/pathatlas/:learningpathId/detail",parentId:"445",id:"449"},450:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId",parentId:"445",id:"450"},451:{path:"/knowledgegraph/:pathId/statistics/abilitymap/:learningpathId/detail/:detailId",parentId:"445",id:"451"},452:{path:"/miniprogram",parentId:"1",id:"452"},453:{path:"/miniprogram/courseware/study",exact:!0,parentId:"452",id:"453"},454:{path:"/educoder-demo",exact:!0,parentId:"1",id:"454"},455:{path:"/classrooms/:coursesId/smart_plan/:id/ppt_info/info",exact:!0,parentId:"1",id:"455"},456:{path:"/classrooms/:coursesId/smart_plan/:id/users/:user_login/ppt_info/info",exact:!0,parentId:"1",id:"456"},457:{path:"/training",parentId:"1",id:"457"},458:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"457",id:"458"},459:{path:"/largeScreen",exact:!0,parentId:"1",id:"459"},460:{path:"/effectivenessAnalysis/:coursesId",exact:!0,parentId:"1",id:"460"},461:{path:"/studentEffectivenessAnalysis/:coursesId",exact:!0,parentId:"1",id:"461"},462:{path:"/quality",parentId:"1",id:"462"},463:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"462",id:"463"},464:{path:"/otherlogin",exact:!0,parentId:"1",id:"464"},465:{path:"/otherloginqq",exact:!0,parentId:"1",id:"465"},466:{path:"/otherloginstart",exact:!0,parentId:"1",id:"466"},467:{path:"/pathsoverview",exact:!0,parentId:"1",id:"467"},468:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"468"},469:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"469"},470:{path:"/login",parentId:"1",id:"470"},471:{path:"/login",parentId:"470",id:"471"},472:{path:"/user",parentId:"1",id:"472"},473:{path:"/user/login",parentId:"472",id:"473"},474:{path:"/user/register",parentId:"472",id:"474"},475:{path:"/user/reset-password",parentId:"472",id:"475"},476:{path:"/colleges",parentId:"1",id:"476"},477:{path:"/colleges/:id/statistics",parentId:"476",id:"477"},478:{path:"/help",parentId:"1",id:"478"},479:{path:"/help/:id",parentId:"478",id:"479"},480:{path:"/video",parentId:"1",id:"480"},481:{path:"/video/:videoId",parentId:"480",id:"481"},482:{path:"/terminal",parentId:"1",id:"482"},483:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"483"},484:{path:"/wrongAnswer",parentId:"1",id:"484"},485:{path:"/bwdemo",parentId:"1",id:"485"},486:{path:"/",parentId:"1",id:"486"},487:{path:"/",exact:!0,parentId:"486",id:"487"},488:{path:"/api/*",exact:!0,parentId:"486",id:"488"},489:{path:"/search",exact:!0,parentId:"486",id:"489"},490:{path:"/moop_cases",exact:!0,parentId:"486",id:"490"},491:{path:"/moop_cases/new",exact:!0,parentId:"486",id:"491"},492:{path:"/moop_cases/:caseId",exact:!0,parentId:"486",id:"492"},493:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"486",id:"493"},494:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"486",id:"494"},495:{path:"/randompaper",exact:!0,parentId:"486",id:"495"},496:{path:"/randompaper/edit/:id",exact:!0,parentId:"486",id:"496"},497:{path:"/randompaper/detail/:id",exact:!0,parentId:"486",id:"497"},498:{path:"/403",parentId:"486",id:"498"},499:{path:"/500",parentId:"486",id:"499"},500:{path:"/404",parentId:"486",id:"500"},501:{path:"/download",parentId:"486",id:"501"},502:{path:"/iwce",parentId:"486",id:"502"},503:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"486",id:"503"},504:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"486",id:"504"},505:{path:"/Activities",parentId:"486",id:"505"},506:{path:"/iwce/:itemname",parentId:"486",id:"506"},507:{path:"/knowledgeHub",parentId:"486",id:"507"},508:{path:"/admin/vgpu/:path*",parentId:"486",id:"508"},509:{path:"/hpc-course",parentId:"486",id:"509"},510:{path:"/user_agents",parentId:"486",id:"510"},511:{path:"/three",parentId:"486",id:"511"},512:{path:"/introduction",parentId:"486",id:"512"},513:{path:"/chatgpt",parentId:"486",id:"513"},514:{path:"/*",parentId:"486",id:"514"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),2:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),3:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(4862)]).then(__webpack_require__.bind(__webpack_require__,85207))),4:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,73910))),5:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,73910))),6:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3247)]).then(__webpack_require__.bind(__webpack_require__,80652))),7:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),8:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,84550))),9:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),10:ae.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,78416))),11:ae.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,59677))),12:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,71771))),13:ae.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,8589))),14:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,9319))),15:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,3286))),16:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,71771))),17:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1306)]).then(__webpack_require__.bind(__webpack_require__,1073))),18:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1306)]).then(__webpack_require__.bind(__webpack_require__,1073))),19:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),20:ae.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,17369))),21:ae.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,19609))),22:ae.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,28397))),23:ae.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,17369))),24:ae.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83414))),25:ae.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83414))),26:ae.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,15846))),27:ae.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,15846))),28:ae.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,13249))),29:ae.lazy(()=>__webpack_require__.e(7071).then(__webpack_require__.bind(__webpack_require__,96676))),30:ae.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,61328))),31:ae.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,96287))),32:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,27038))),33:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5927)]).then(__webpack_require__.bind(__webpack_require__,7957))),34:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,5062))),35:ae.lazy(()=>Promise.all([__webpack_require__.e(3363),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,45830))),36:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,58615))),37:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,98025))),38:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,3508))),39:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,40024))),40:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,74408))),41:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,58694))),42:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,29479))),43:ae.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,3975))),44:ae.lazy(()=>__webpack_require__.e(8795).then(__webpack_require__.bind(__webpack_require__,69696))),45:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,62536))),46:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),47:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,27197))),48:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,93812))),49:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,15943))),50:ae.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,94791))),51:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,74379))),52:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,20271))),53:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,28808))),54:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,28808))),55:ae.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,61802))),56:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,53229))),57:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,53229))),58:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,53229))),59:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8431)]).then(__webpack_require__.bind(__webpack_require__,92356))),60:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3504),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,37171))),61:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3504),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,9644))),62:ae.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,9906))),63:ae.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,9906))),64:ae.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,62475))),65:ae.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,62475))),66:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,98097))),67:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,54122))),68:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,73302))),69:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,38644))),70:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,16866))),71:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,29633))),72:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,74442))),73:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,65205))),74:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,75362))),75:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,42377))),76:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,4477))),77:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,420))),78:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,43747))),79:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,43539))),80:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,28147))),81:ae.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,58772))),82:ae.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,82117))),83:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,3778))),84:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,47290))),85:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,2342))),86:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,94665))),87:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,93785))),88:ae.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,8589))),89:ae.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,63686))),90:ae.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,56781))),91:ae.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,72675))),92:ae.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,23185))),93:ae.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,77171))),94:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,82534))),95:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,82534))),96:ae.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,55459))),97:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,67914))),98:ae.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,67757))),99:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,57287))),100:ae.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,9690))),101:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60211))),102:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,56003))),103:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,1950))),104:ae.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,95904))),105:ae.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,21733))),106:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,30038))),107:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,30038))),108:ae.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,62244))),109:ae.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,95260))),110:ae.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,95260))),111:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9388))),112:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,9388))),113:ae.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,34587))),114:ae.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,34587))),115:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,86192))),116:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,86192))),117:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,83113))),118:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,83113))),119:ae.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,69061))),120:ae.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,16993))),121:ae.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,7913))),122:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,67782))),123:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2755),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,67782))),124:ae.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,48994))),125:ae.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,72047))),126:ae.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,44583))),127:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,79074))),128:ae.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,6019))),129:ae.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,6101))),130:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,58231))),131:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,58231))),132:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,23817))),133:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,23817))),134:ae.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,40204))),135:ae.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,40204))),136:ae.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,54838))),137:ae.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,54838))),138:ae.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,90842))),139:ae.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,51976))),140:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,98818))),141:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,3690))),142:ae.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,34079))),143:ae.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,34079))),144:ae.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,19900))),145:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,55124))),146:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8302)]).then(__webpack_require__.bind(__webpack_require__,55124))),147:ae.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,59886))),148:ae.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,59886))),149:ae.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,77161))),150:ae.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,56184))),151:ae.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,56184))),152:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,58287))),153:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,58287))),154:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,7775))),155:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55354))),156:ae.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,7846))),157:ae.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,30233))),158:ae.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,54791))),159:ae.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,79265))),160:ae.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,44979))),161:ae.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,82730))),162:ae.lazy(()=>__webpack_require__.e(5741).then(__webpack_require__.bind(__webpack_require__,21643))),163:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2306)]).then(__webpack_require__.bind(__webpack_require__,60351))),164:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1994)]).then(__webpack_require__.bind(__webpack_require__,23170))),165:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(745)]).then(__webpack_require__.bind(__webpack_require__,28669))),166:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),167:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,18317))),168:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,18317))),169:ae.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,56881))),170:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,18317))),171:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2403),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,1152))),172:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2403),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,1152))),173:ae.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,17043))),174:ae.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,10350))),175:ae.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,26071))),176:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2403),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,58253))),177:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),178:ae.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,3268))),179:ae.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,53318))),180:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,44540))),181:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,44540))),182:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,90467))),183:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),184:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),185:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9967)]).then(__webpack_require__.bind(__webpack_require__,78523))),186:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,92109))),187:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,92109))),188:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1581)]).then(__webpack_require__.bind(__webpack_require__,72186))),189:ae.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,7240))),190:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,51659))),191:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),192:ae.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,93333))),193:ae.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,91039))),194:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,65728))),195:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8821)]).then(__webpack_require__.bind(__webpack_require__,25549))),196:ae.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,64045))),197:ae.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,17177))),198:ae.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,56506))),199:ae.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,88499))),200:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(887),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,50434))),201:ae.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,31500))),202:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,33168))),203:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,14421))),204:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,14421))),205:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,9194))),206:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,9194))),207:ae.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,74599))),208:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,13326))),209:ae.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,76139))),210:ae.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,54330))),211:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(9472)]).then(__webpack_require__.bind(__webpack_require__,86167))),212:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,88306))),213:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),214:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),215:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,58666))),216:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,93995))),217:ae.lazy(()=>Promise.all([__webpack_require__.e(887),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,35142))),218:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,35561))),219:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,59596))),220:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,95333))),221:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,55022))),222:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,55022))),223:ae.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,24584))),224:ae.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,24584))),225:ae.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,42957))),226:ae.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,42957))),227:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),228:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,28636))),229:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,87924))),230:ae.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,405))),231:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),232:ae.lazy(()=>__webpack_require__.e(7172).then(__webpack_require__.bind(__webpack_require__,791))),233:ae.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,45432))),234:ae.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,17992))),235:ae.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,13022))),236:ae.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,54274))),237:ae.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,83792))),238:ae.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,83792))),239:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,43825))),240:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,68046))),241:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,9387))),242:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,6808))),243:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5043)]).then(__webpack_require__.bind(__webpack_require__,73567))),244:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(799)]).then(__webpack_require__.bind(__webpack_require__,35256))),245:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,17768))),246:ae.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,4494))),247:ae.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,1233))),248:ae.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,70140))),249:ae.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,17016))),250:ae.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,62086))),251:ae.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,8300))),252:ae.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,1233))),253:ae.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,85195))),254:ae.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,71485))),255:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,88623))),256:ae.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,56960))),257:ae.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,52148))),258:ae.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,96700))),259:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,50207))),260:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,86230))),261:ae.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,87025))),262:ae.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,21719))),263:ae.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,76007))),264:ae.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,4117))),265:ae.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,51897))),266:ae.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,34658))),267:ae.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,37367))),268:ae.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,69821))),269:ae.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,29441))),270:ae.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,9298))),271:ae.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,34683))),272:ae.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,45451))),273:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),274:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),275:ae.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,70285))),276:ae.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,86309))),277:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,49421))),278:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,49421))),279:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,24289))),280:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(603),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,24289))),281:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,16956))),282:ae.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,96598))),283:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,92863))),284:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,92863))),285:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),286:ae.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,60365))),287:ae.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,40739))),288:ae.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34554))),289:ae.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,81904))),290:ae.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,37450))),291:ae.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,23181))),292:ae.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,36558))),293:ae.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,21246))),294:ae.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21908))),295:ae.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,36860))),296:ae.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,42281))),297:ae.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,82198))),298:ae.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,50695))),299:ae.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,97503))),300:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,48397))),301:ae.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,46454))),302:ae.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,88979))),303:ae.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,41618))),304:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),305:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),306:ae.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,92466))),307:ae.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,73449))),308:ae.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,22565))),309:ae.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,2960))),310:ae.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,84249))),311:ae.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,14942))),312:ae.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,30344))),313:ae.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,22242))),314:ae.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,79269))),315:ae.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,79269))),316:ae.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,52164))),317:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),318:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,80175))),319:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,32984))),320:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,80175))),321:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,32984))),322:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,80175))),323:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8319)]).then(__webpack_require__.bind(__webpack_require__,54174))),324:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),325:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,44779))),326:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34748))),327:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),328:ae.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,73835))),329:ae.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,31502))),330:ae.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,54232))),331:ae.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,3626))),332:ae.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,58729))),333:ae.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,51567))),334:ae.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,16159))),335:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),336:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,1253))),337:ae.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,67840))),338:ae.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,67840))),339:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),340:ae.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,17866))),341:ae.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,18628))),342:ae.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,11867))),343:ae.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,88001))),344:ae.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,6047))),345:ae.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,75340))),346:ae.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,76850))),347:ae.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,63164))),348:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),349:ae.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,38875))),350:ae.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,8861))),351:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,12994))),352:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),353:ae.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,78644))),354:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),355:ae.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,41716))),356:ae.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,40304))),357:ae.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,27517))),358:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),359:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),360:ae.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,75907))),361:ae.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,76194))),362:ae.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,5656))),363:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,86275))),364:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),365:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),366:ae.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,89508))),367:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,73918))),368:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,10169))),369:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),370:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),371:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,40986))),372:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),373:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),374:ae.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,1147))),375:ae.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,82641))),376:ae.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,99516))),377:ae.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,97878))),378:ae.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,26911))),379:ae.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,16517))),380:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),381:ae.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,85992))),382:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),383:ae.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,78644))),384:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),385:ae.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,41716))),386:ae.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,40304))),387:ae.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,27517))),388:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),389:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,79550))),390:ae.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,75907))),391:ae.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,76194))),392:ae.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,5656))),393:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,86275))),394:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),395:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,80800))),396:ae.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,89508))),397:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,73918))),398:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,10169))),399:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),400:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,13699))),401:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,40986))),402:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),403:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,99336))),404:ae.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,1147))),405:ae.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,82641))),406:ae.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,99516))),407:ae.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,97878))),408:ae.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,26911))),409:ae.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,16517))),410:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,79350))),411:ae.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,85992))),412:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),413:ae.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,77455))),414:ae.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,4024))),415:ae.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,13810))),416:ae.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,4938))),417:ae.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,26438))),418:ae.lazy(()=>__webpack_require__.e(3673).then(__webpack_require__.bind(__webpack_require__,25370))),419:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),420:ae.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,41808))),421:ae.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,17762))),422:ae.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,78141))),423:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,59028))),424:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,27791))),425:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,73169))),426:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,13208))),427:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),428:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),429:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),430:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),431:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,34208))),432:ae.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,37549))),433:ae.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,20700))),434:ae.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,20700))),435:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,61858))),436:ae.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,31731))),437:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),438:ae.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,72197))),439:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,44095))),440:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),441:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(5724),__webpack_require__.e(1791),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,95206))),442:ae.lazy(()=>__webpack_require__.e(3685).then(__webpack_require__.bind(__webpack_require__,45868))),443:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1791),__webpack_require__.e(2524)]).then(__webpack_require__.bind(__webpack_require__,98691))),444:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,70736))),445:ae.lazy(()=>__webpack_require__.e(3589).then(__webpack_require__.bind(__webpack_require__,92657))),446:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(919)]).then(__webpack_require__.bind(__webpack_require__,70766))),447:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7042)]).then(__webpack_require__.bind(__webpack_require__,65643))),448:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8137)]).then(__webpack_require__.bind(__webpack_require__,12871))),449:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(5724),__webpack_require__.e(4339)]).then(__webpack_require__.bind(__webpack_require__,28513))),450:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9595)]).then(__webpack_require__.bind(__webpack_require__,35624))),451:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3443)]).then(__webpack_require__.bind(__webpack_require__,74844))),452:ae.lazy(()=>__webpack_require__.e(1548).then(__webpack_require__.bind(__webpack_require__,81548))),453:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(3897)]).then(__webpack_require__.bind(__webpack_require__,70151))),454:ae.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,13922))),455:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8522)]).then(__webpack_require__.bind(__webpack_require__,8494))),456:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6411),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(8522)]).then(__webpack_require__.bind(__webpack_require__,8494))),457:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),458:ae.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,72734))),459:ae.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,743))),460:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1443)]).then(__webpack_require__.bind(__webpack_require__,56372))),461:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(65)]).then(__webpack_require__.bind(__webpack_require__,74987))),462:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),463:ae.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,30895))),464:ae.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,51143))),465:ae.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,91544))),466:ae.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,46266))),467:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,78609))),468:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,63338))),469:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,32635))),470:ae.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,96657))),471:ae.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,55815))),472:ae.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,96657))),473:ae.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,55815))),474:ae.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,5921))),475:ae.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,58717))),476:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),477:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,12570))),478:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),479:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,41273))),480:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),481:ae.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,70157))),482:ae.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,19482))),483:ae.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,44167))),484:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(8401),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,15943))),485:ae.lazy(()=>__webpack_require__.e(1150).then(__webpack_require__.bind(__webpack_require__,90571))),486:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(3363),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,23198))),487:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,25401))),488:ae.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,95521))),489:ae.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,86930))),490:ae.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,28484))),491:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,48264))),492:ae.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,60810))),493:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,48264))),494:ae.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,80377))),495:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,74379))),496:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,74379))),497:ae.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,48897))),498:ae.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,65768))),499:ae.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,36452))),500:ae.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,61376))),501:ae.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,69544))),502:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,5258))),503:ae.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,43278))),504:ae.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,79074))),505:ae.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,85077))),506:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,5258))),507:ae.lazy(()=>__webpack_require__.e(1025).then(__webpack_require__.bind(__webpack_require__,59542))),508:ae.lazy(()=>__webpack_require__.e(1344).then(__webpack_require__.bind(__webpack_require__,69977))),509:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,5258))),510:ae.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,53725))),511:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,85096))),512:ae.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,62222))),513:ae.lazy(()=>Promise.all([__webpack_require__.e(6274),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,60498))),514:ae.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,61376))),"@@/global-layout":ae.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,80072)))}}})}var Dl=__webpack_require__(62510),m=__webpack_require__(48335),y=__webpack_require__(29787),b=__webpack_require__(91691),z=()=>ae.createElement(y.Z,{size:"middle",className:b.Z.loading}),oe=__webpack_require__(44283),mr=__webpack_require__(66649),dr=__webpack_require__.n(mr),Nn=__webpack_require__(91392),Xn=__webpack_require__.n(Nn),ca=__webpack_require__(73100),Yo=__webpack_require__.n(ca),To=__webpack_require__(14805),vo=__webpack_require__.n(To),Ya=__webpack_require__(13477),Ki=__webpack_require__.n(Ya),Nc=__webpack_require__(64796),sc=__webpack_require__.n(Nc),Bc=__webpack_require__(9007),iu=__webpack_require__.n(Bc),kn=__webpack_require__(58626),uc=__webpack_require__.n(kn),cc=__webpack_require__(9084),Qo=__webpack_require__.n(cc),Fo=__webpack_require__(5116),su=__webpack_require__.n(Fo),uo=__webpack_require__(50991),uu=__webpack_require__.n(uo),lc=__webpack_require__(39050),us=__webpack_require__.n(lc),cu=__webpack_require__(1554),hl=__webpack_require__.n(cu),zc=__webpack_require__(59697),lu=__webpack_require__.n(zc);dr().extend(Yo()),dr().extend(vo()),dr().extend(Ki()),dr().extend(sc()),dr().extend(iu()),dr().extend(uc()),dr().extend(Qo()),dr().extend(su()),dr().extend(uu()),dr().extend(us()),dr().extend(hl()),dr().extend(lu()),dr().extend(Xn());var _l=Object.defineProperty,dc=Object.getOwnPropertySymbols,ml=Object.prototype.hasOwnProperty,Fi=Object.prototype.propertyIsEnumerable,Ns=(Fr,cn,Gn)=>cn in Fr?_l(Fr,cn,{enumerable:!0,configurable:!0,writable:!0,value:Gn}):Fr[cn]=Gn,wu=(Fr,cn)=>{for(var Gn in cn||(cn={}))ml.call(cn,Gn)&&Ns(Fr,Gn,cn[Gn]);if(dc)for(var Gn of dc(cn))Fi.call(cn,Gn)&&Ns(Fr,Gn,cn[Gn]);return Fr},fc=(Fr,cn,Gn)=>new Promise((Ta,Qn)=>{var fa=Jn=>{try{ho(Gn.next(Jn))}catch(co){Qn(co)}},ba=Jn=>{try{ho(Gn.throw(Jn))}catch(co){Qn(co)}},ho=Jn=>Jn.done?Ta(Jn.value):Promise.resolve(Jn.value).then(fa,ba);ho((Gn=Gn.apply(Fr,cn)).next())});const Xi="https://www-cdn.educoder.net/",pc=!1;function Pu(){return fc(this,null,function*(){const Fr=(0,Dl.gD)(),{routes:cn,routeComponents:Gn}=yield vl(Fr);yield Fr.applyPlugins({key:"patchRoutes",type:oe.ApplyPluginsType.event,args:{routes:cn,routeComponents:Gn}});const Ta=Fr.applyPlugins({key:"modifyContextOpts",type:oe.ApplyPluginsType.modify,initialValue:{}}),Qn=Ta.basename||"/",fa=Ta.historyType||"browser",ba=(0,m.fi)(wu({type:fa,basename:Qn},Ta.historyOpts));return Fr.applyPlugins({key:"render",type:oe.ApplyPluginsType.compose,initialValue(){const ho={useStream:!0,routes:cn,routeComponents:Gn,pluginManager:Fr,mountElementId:"root",rootElement:Ta.rootElement||document.getElementById("root"),loadingComponent:z,publicPath:Xi,runtimePublicPath:pc,history:ba,historyType:fa,basename:Qn,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ta.callback},Jn=Fr.applyPlugins({key:"modifyClientRenderOpts",type:oe.ApplyPluginsType.modify,initialValue:ho});return Fc(Jn)}})()})}Pu(),typeof window!="undefined"&&(window.g_umi={version:"4.6.31"})})()})();